mirror of
https://github.com/claradex/nativegallery.git
synced 2024-11-15 03:31:10 +03:00
6 lines
623 KiB
JavaScript
6 lines
623 KiB
JavaScript
// Playerjs.com 19.2.2
|
||
// 26.10.2023 18:48:51
|
||
// API - https://playerjs.com/docs/q=api
|
||
|
||
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('if(!1O.5a){B 5a=[];B ej}if(1O[\'DQ\']){1B(DQ,1)};E Cm(2U){B o={1y:L,p8:[],sq:[],jm:\'Mt\',Mw:yN,Mx:yR,7X:\'19.2.2\',gT:[\'8k\',\'\'],jn:\'\',2a:L,8s:L,9I:L,My:L,d8:L,5W:L,9i:L,9h:L,u:\'#MA#MC#MD#MP#kT#MU#kT#MT#MS#MQ#MJ#LS#LU#M0#M1#M3#LR#M6#Mg#kT#Mm#Mk#Mh#Mf#Mc#Ma#M9#kT#MW#NS#Nw#N1#N4#Nc#Np#Nv#Nu#kT#Ns==\',u2:\'\',u3:\'\',u4:\'\',u5:\'\',u6:\'\',u7:\'\',u8:\'\',u9:\'\',Nr:\'\',y:\'xx???x=xx??x?=\',p:\'\',Nj:-1,yu:"Aa",gK:"//Aa.8M",7A:[],dt:H,pr:H,ga:L,ab:L,iX:[],Ni:L,d5:\'//.9l//\',va:0,2y:[],7e:[],8Q:[],3d:[],pu:[],a9:0,8K:[],lc:0,tl:L,6s:L,1z:L,xE:L,8J:L,ni:\'<Ac>\',hG:\'</Ac>\',9c:1O.bx.X<2h&&1O.bx.1c<2h,tK:[],LO:[],5F:{\'1K\':1,\'z4\':1,\'cX\':1,\'f8\':1,\'pF\':0},9Q:[],vo:0,eY:0,5v:L,5C:L,eN:L,ma:L,Kt:[],bh:L,cz:0,iA:L,sZ:1J,jg:1J,ux:L,Ab:E(x){B a;J a},KB:0,mL:4n,4I:L,dx:L,um:1V.um,d:7Y.wE,h7:7Y.wE,9g:7Y.9g,jW:7Y.9g.I("jW")==0,Ky:{},ut:\'Kw-Ah.8M/Ah.js\',fd:["Ab","zQ"],6c:[],Kj:[],Km:[],jL:1,mX:[],zQ:E(x){B a;J a},17:0,pE:0,5m:L,dk:-1,9Z:3,KD:0,qU:0,aj:0,3E:{x:1,y:1,x0:1,y0:1},d1:["f0","f1","f3","hM","hY","hP","oE","hO","cs","bL","oB"],o4:["Kg","Kx","KC","Kr"],dv:0,Kh:0,tP:0,Cj:0,dA:0,D5:[],cQ:[\'7B\',\'et\',\'ph\',\'6B\'],Ki:[],nr:H,r3:[],od:0,ws:"w"+"s",lH:L,o6:[L,L,L]};B g8={S:{w:20,h:20,1e:"-",Kf:"-",a:1,7p:-1,1p:"3F",1H:"",1K:1,fe:-1,aH:0,2w:1,1r:"",1C:"",3W:"Kl",e4:12,jp:0,1m:"Q",2E:"0 3 0 3",a0:"0 0 0 0",2q:1,jR:"0 0 0 0",Kp:0,k8:1,bg:0,nV:0,Gl:0,4g:1,8d:-1,4p:"41",am:-1,fU:"0 0 0 0",kH:-1,l2:"3F",aV:-1,oU:-1,5Z:"1U",3Y:"ya",2w:0,kI:"41",kJ:0.7,wf:0,wb:"3F",l0:"3 5 3 5",KG:"0 0 0 0",Lf:1,wc:"nz-o5",wd:11,we:0,2O:"",Im:5,Il:0,2Z:0,Lu:2,Lt:2,H7:0.2,Hn:0,Ht:0.1,eO:0,Ls:"Lr",Ln:1,Lg:5,Es:"41",H6:"3F",Hs:"3F",Hb:1,GQ:1,wW:1,6Z:0,3B:0,fK:20,dg:"<2n X=\'20\' 1c=\'20\'><g><d6 ry=\'5\' rx=\'5\' cy=\'10\' cx=\'10\' 6i=\'#gN\'/></g></2n>",wO:1,lS:-1,kO:0,lD:1,wx:-1,Lm:0.1,gl:0,3h:"",G6:0,Gf:"ya",2S:"",Ec:zZ,FG:zZ,H4:0,5G:0,5R:"3F",Gt:0,Gr:"41",Hp:9,wF:"0 0 10 0",wG:"0 0 0 0",Gu:0}};E I1(){J H;o.I2=H}E c6(s){if(s.I(\'.\')==-1){s=s.1n(1);s2=\'\';U(i=0;i<s.R;i+=3){s2+=\'%u0\'+s.6O(i,i+3)}s=Ll(s2)}J s};E HC(){if(o.u!=\'\'){v=a6(v,5f.6U(dq(o.u)))}if(2U.I("#"+v.ah)==0){3p{2U=5f.6U(o[o.fd[0]](2U))}2V(e){}}F{if(2U.I("#"+v.bt)==0){3p{2U=5f.6U(o[o.fd[1]](2U))}2V(e){}}}}E 7I(x,y){}E ox(y,1d){}B ta=E(){B 9v=1P("22");o.1N.1M(9v);O(9v,{\'1m\':\'2r\',\'18\':0,\'1f\':0,\'X\':\'100%\',\'1c\':30,\'2f-1p\':v.AG,\'1E\':v.AF,\'2i\':\'1U\'});B x=1P("22");o.1N.1M(x);O(x,{\'1m\':\'2r\',\'18\':0,\'1f\':0,\'X\':\'100%\',\'1p\':v.Au,\'3W-3J\':v.yU,\'2M\':(v.Av+\'px \'+v.AA+\'px\'),\'2i\':\'1U\'});G.9l=E(1C,n){x.1R=1C;5T(x);O(9v,{\'1c\':x.2P,\'2i\':\'4t\'});9v.C.5k="Lk";U(B i=0;i<x.a8(\'a\').R;i++){x.a8(\'a\')[i].C.1p=\'#gN\'}if(n){1B(G.lU,2h*n)}x.C.5k="Lj"};G.lU=E(){3g(x);3g(9v)}};2l(E(w,i,s,e){B 9F=0;B 9z=0;B gW=0;B e9=[];B dp=[];nt(H){if(9F<5)dp.2F(w.6F(9F));F if(9F<w.R)e9.2F(w.6F(9F));9F++;if(9z<5)dp.2F(i.6F(9z));F if(9z<i.R)e9.2F(i.6F(9z));9z++;if(gW<5)dp.2F(s.6F(gW));F if(gW<s.R)e9.2F(s.6F(gW));gW++;if(w.R+i.R+s.R+e.R==e9.R+dp.R+e.R)1h}B zH=e9.qN(\'\');B zM=dp.qN(\'\');9z=0;B qO=[];U(9F=0;9F<e9.R;9F+=2){B qV=-1;if(zM.b4(9z)%2)qV=1;qO.2F(7q.yr(2H(zH.1n(9F,2),36)-qV));9z++;if(9z>=dp.R)9z=0}J qO.qN(\'\')}(\'LK\',\'LJ\',\'LF\',\'Ly\'));B v={1t:0,uY:0,pQ:"#41",2Q:0,EI:1,8W:"#41",4p:"#3F",6Z:0,dV:1,pI:1,3j:0,rC:1,e1:0,ak:1,1q:{LE:0,1p:"41",a:"0.4",h:34,kq:1,1j:1,iB:1,d7:0,iQ:3,9u:0,qo:3,5Z:"1U",1m:"2J",2E:"0 0 0 0",6Z:0,k6:0,8R:\'\'},1T:{on:1,f:1,r:1,m:1,4d:5,xy:"4d",9b:1,xW:"1I",pt:0,EH:0,qF:1,iU:0.2},W:{4p:"41",am:"p5",4g:0.9,8d:-1,1m:"18",2E:"0 0 0 0",2M:"7 15 7 15",1p:"3F",3W:"Am, AI, nz-o5",e4:12,5p:10,jp:0,5R:"AN",wP:1,8W:"LD",a:1,7p:-1,LC:0,LB:100,LA:Lz,Le:1,jY:1,wY:"KX",pz:"41",km:-1,Ld:-1,x5:0,7b:3,eB:16,BM:"KJ",6Z:0,iO:1,pe:1,pd:"3F",qs:0,qB:"41",CA:1,Cy:0,D1:"p5",mo:0,iC:4n,de:0,7F:0,FV:0,FT:0,eR:1,3u:0,jM:50,xH:0,m8:1,dC:KM,oJ:0,rT:"p5",rD:"0 0 0 0",iW:30,8W:"AR"},1g:{4p:"41",am:"KO",4g:0.7,8d:-1,3W:"Am, AI, nz-o5",1m:"2J-2g",2E:"0 0 0 0",2M:"7 10 7 15",1p:"3F",e4:12,eB:16,5p:10,jp:0,KT:"3F",5R:"AN",a:1,1K:5,7p:-1,uU:1,7b:3,iO:1,pe:1,pd:"3F",mo:0,iC:4n,6Z:0,KV:1,L6:"59",4G:1,Lc:"7i",KY:1,L3:"1X",L2:0,O7:"6H",Qp:0,QZ:"54",iW:30,8W:"AR"},IR:{1m:"2J-2g",2E:"0 10 50 0"},1I:0.8,sW:1,mi:1,9k:0,5Q:0,AZ:1,5g:0,4J:0,K1:0,Jy:0,3i:0,rq:1,lv:0,uZ:0,v9:0,iI:\',\',k5:\';\',bA:\'//\',Kb:1,iH:\'[\',ec:\']\',gk:\'6i\',nh:1,nf:-1,t9:0,R4:\'20 0 0 20\',R6:\'1f-18\',R7:100,Rc:100,QY:-1,rA:0,CT:1,AG:"ny",Au:"3F",Av:5,AA:10,AF:1,yU:10,lc:0,xf:1,uO:1,eS:1,51:\'QG\',qP:0,jj:\'6C\',i9:1,Ji:0,K8:0,IY:0,9o:1,cV:1,IT:5,8j:0,AC:1,sn:0,rN:5,QV:0,Qt:0,QA:0,lb:1,AB:1,IX:0,CK:0,QE:0,xC:1,pj:0,3c:"Bs",QJ:Gm,mn:\'100%\',ga:0,Da:{8e:1,2k:0,nM:0,4u:0,1y:1,yp:0,yk:0,yc:0,QK:0,QR:0,QU:0},Db:{8e:1,2k:0,nM:0,4u:0,1y:1,yp:0,yk:0,yc:0},Ru:100,B5:1,gv:1,nb:14,f0:\'100%\',zP:1,n8:20,AM:1,hY:0.7,zX:2,vC:3,cs:10,f1:"3F",f3:"Bp",hM:"41",hP:0,oE:0,hO:cN,sY:1,bL:0,wL:1,8O:1,S3:1,S6:0.3,Sb:3,Sc:4,Sd:5,Sf:0,Sg:Sh,Si:Gp,zt:0,zs:1,qR:1,gH:1,En:1,vy:0,k0:St,w4:90,w1:0,IG:1,IF:"p5",IH:0,IB:1,ah:\'2\',bt:\'3\',Sy:10,Sw:1,Sv:1,Su:-1,Ss:1,Sq:1,Sp:-1,Sn:0,Sm:1,S2:0,S1:1,Rx:0,Ry:1,RH:0,RJ:1,RK:0,Rw:1,RL:0,RR:1,RS:0,rt:1,RT:0,RU:0,RW:1,RX:0,RZ:1,S0:"#3F",Qn:"#41",OL:"#41",ON:"#3F",OO:"#41",OP:"#3F",OQ:"#41",OU:"#3F",OV:"#41",OX:"#3F",OZ:"#41",OJ:"#3F",P5:1,P7:0,P8:1,Pc:0.5,Pd:"#3F",Pe:"#41",OH:1,Of:1,Oh:1,Oi:1,Ok:1,Ol:10,Om:-1,Oo:1,Oq:1,Os:0,lV:0,Ov:"or",Ow:"or",Ox:"or",Oy:"or",OA:"50%",OC:-1,OF:0,PR:-1,PV:0,PX:0,E5:1,E6:0,z9:30,PY:2,z6:10,AH:0,PZ:30,JQ:1,K2:1,6p:0,2b:{on:0,4p:"41",2Q:0,bB:2,8W:"41",1m:"18",2E:"20 0 0 20",X:uL,1j:0}};v.nB="ru";B 7H=E(is){B i;B C=[];B f=[];B ar=[];B Q0=[];B 5V=[];B 8I=[];B 1Q=[];B f2=[];B gD=[];B Q1=[];B 53=[];B 5E=[];B 5O=[];B eo=[];B dZ=L;B 2v;B cm=-1;B 4V=H;B 1a=is;B 6j=is=="1g";B W;B 5Q=[];B dE=[];B 3b=\'\';B dO=\'\';B 6d=-1;B jz=L;B Q2=L;B nq=L;B l9=L;B gL=L;B ht=L;B nc;B rY;B mk;B iQ;B xD;B iK=[];B 6Q=[];B nZ=0;B bp=0;B 6m;B 6l="2q";B bj=(o.1i.2j?"gV":"gh");B b5=(o.1i.2j?"gP":"gj");C=a6(C,v[is]);C=4q(v[is],\'2E\',\'2E\');C=4q(v[is],\'a0\',\'a0\');C=4q(v[is],\'aT\',\'aT\');if(C.oJ==0){C.rD="0 0 0 0"}C=4q(v[is],\'fU\',\'rD\');C=4q(v[is],\'2M\',\'2M\');C.pb=0;B hj="<2n C=\'2E-1f:eA\' X=\'"+C.7b*2+"\' 1c=\'"+(C.7b*2>C.5p?(C.7b*2):C.5p)+"\' 4c:4a=\'3G://46.w3.3S/7k/4a\' 4c=\'3G://46.w3.3S/4k/2n\'><g><d6 ry=\'"+(C.7b)+"\' rx=\'"+C.7b+"\' cy=\'"+(C.7b*2>C.5p?(C.7b):(C.5p/2))+"\' cx=\'"+C.7b+"\' 6i=\'#"+C.5R+"\'/></g></2n>";B Dp="<2n X=\'"+C.7b*2+"\' 1c=\'"+C.5p+"\' 4c:4a=\'3G://46.w3.3S/7k/4a\' 4c=\'3G://46.w3.3S/4k/2n\' ><g><d6 ry=\'"+(C.7b-1)+"\' rx=\'"+(C.7b-1)+"\' cy=\'"+(C.5p/2+2)+"\' cx=\'"+C.7b+"\' 3K=\'#"+C.5R+"\' 3K=\'1\' 6i-1E=\'0\'/></g></2n>";B xx=4;B Bu="<4Z C=\'2i:bF-4t;\'><2n X=\'"+(xx+2)+"\' 1c=\'"+(C.5p)+"\' 4c:4a=\'3G://46.w3.3S/7k/4a\' 4c=\'3G://46.w3.3S/4k/2n\'><g><2B x1=\'1\' y1=\'"+(C.5p/2-xx)+"\' x2=\'"+xx+"\' y2=\'"+(C.5p/2)+"\' 3K=\'#"+C.1p+"\' 3K-X=\'1\' 3K-cw=\'3R\'/><2B x1=\'"+xx+"\' y1=\'"+(C.5p/2)+"\' x2=\'1\' y2=\'"+(C.5p/2+xx)+"\' 3K=\'#"+C.1p+"\' 3K-X=\'1\' 3K-cw=\'3R\'/></g></2n></4Z>";B ji="<4Z C=\'2i:bF-4t;\'><2n X=\'"+(xx+10)+"\' 1c=\'"+(C.5p+1)+"\' 4c:4a=\'3G://46.w3.3S/7k/4a\' 4c=\'3G://46.w3.3S/4k/2n\' C=\'iv:18\'><g><2B x1=\'1\' y1=\'"+(C.5p/2+2)+"\' x2=\'"+xx+"\' y2=\'"+(C.5p/2-xx+2)+"\' 3K=\'#"+C.1p+"\' 3K-X=\'1\' 3K-cw=\'3R\' /><2B x1=\'1\' y1=\'"+(C.5p/2+2)+"\' x2=\'"+xx+"\' y2=\'"+(C.5p/2+xx+2)+"\' 3K=\'#"+C.1p+"\' 3K-X=\'1\' 3K-cw=\'3R\'/></g></2n></4Z>";B 8W=4L(2G(C.8W,\'3F\'),2G(C.Cn,1));B 1G=1P("22");o.1N.1M(1G);O(1G,{\'5r\':\'2Z\',\'2i\':\'4t\',\'1E\':0,\'2Q-6A\':C.6Z});if(C.kH==1){O(1G,{"2Q":"43 6u "+3x(2G(C.l2,\'3F\'))})}B ij={};U(B i in o.5F){if(o.5F.2o(i)){ij[o.5F[i]]=-1}}if(6j){1G.C.5k=Q3}F{1G.C.5k=99}B Z=1P("22");if(o.9c){C.zr>0?C.e4=C.zr:\'\';C.zl>0?C.dC=C.zl:\'\';C.zw>0?C.jM=C.zw:\'\'}O(Z,{\'1m\':\'e7\',\'1f\':0,\'18\':0,\'2i\':\'4t\',\'X\':\'100%\',\'2M-1f\':C.a7,\'2M-2g\':C.7j+(6j&&C.3u==1?0:20),\'2M-2J\':C.a3,\'2M-18\':C.7g,\'1p\':C.1p,\'3W-3J\':C.e4*2G(v.7x,1),\'3W-h0\':dG(C.3W),\'jK-gg\':C.jp+\'px\'});if(o.1i.7n){O(Z,{\'96-X\':zC})}if(is!=="W"){O(Z,{\'5r-y\':(6j&&C.3u==1?\'2Z\':\'6N\')})}1G.1M(Z);if(C.3u!=1){B 6P=1P("22");O(6P,{\'2i\':\'4t\',\'5r\':\'2Z\',\'2Q-6A\':C.6Z});if(C.3u!=1){if(o.1i.7n){O(6P,{\'96-X\':zC})}}Z.1M(6P)}4e(Z,{id:(v.id+"4D"+is)});if(is=="W"){if(C.3u==1){O(Z,{\'X\':\'100%\',\'2M-2g\':C.7j,\'2M-2J\':C.a3+20,\'5r-x\':\'6N\',\'5r-y\':\'2Z\',\'bb-9b\':\'dX\'});O(1G,{\'X\':o.2R-C.4f-C.4i,\'1c\':C.jM+C.a7+C.a3})}F{O(Z,{\'5r-y\':\'6N\',\'5r-x\':\'2Z\'});if(C.Dm==1){mB()}}if(C.oJ==1){O(1G,{\'2f-1p\':C.rT})}if(v.W.2W==1){3g(1G)}}if(C.iO==1){B 5J=1P("22");B bn=4L(C.oJ==1?C.rT:C.4p);if(C.3u==1){iu(5J,\'to 2g, 5d(\'+bn+\',\'+(C.4g*1+0.3)+\'), 5d(\'+bn+\',0)\',\'18\',12,5,7,10,7,10,12,15);5J.1u(6l,Az)}F{iu(5J,\'to 2J, 5d(\'+bn+\',\'+(C.4g*1+0.3)+\'), 5d(\'+bn+\',0)\',\'1f\',5,12,10,7,10,7,15,12);5J.1u(6l,Ae)}B 5I=1P("22");if(C.3u==1){iu(5I,\'to 18, 5d(\'+bn+\',\'+(C.4g*1+0.3)+\'), 5d(\'+bn+\',0)\',\'2g\',8,5,13,10,13,10,8,15);5I.1u(6l,B0)}F{iu(5I,\'to 2J, 5d(\'+bn+\',0), 5d(\'+bn+\',\'+(C.4g*1+0.3)+\')\',\'2J\',5,8,10,13,10,13,15,8);5I.1u(6l,A5)}5J.1u("gh",iT);5J.1u("gj",iT);5I.1u("gh",iT);5I.1u("gj",iT);Z.1u("iY",B3);5J.1u("9G",ba);5I.1u("9G",ba);1G.1M(5J);1G.1M(5I);3L(rY);rY=6R(AL,2h)}Z.1u(bj,CP);Z.1u(b5,tH);if(v.W.6m>0&&!6m&&is=="W"){if(1L pi!=="1J"){6m=1v pi()}}if(6j){U(B i=1;i<11;i++){if(K(v["9T"+is][is+i])){v.1g[is+i]=v["9T"+is][is+i];if(K(v["9T"+is][is+i+"1F"])){v.1g[is+i+"1F"]=v["9T"+is][is+i+"1F"]}if(K(v["9T"+is][is+i+"1e"])){v.1g[is+i+"1e"]=v["9T"+is][is+i+"1e"]}}if(K(v.1g[is+i])){if(v.1g[is+i]==1){d4(\'f\',i);bE(f[i],ar[i],5V[i],8I[i],i);if(!K(v.1g[is+i+"1e"])){v.1g[is+i+"1e"]="54"}5V[i].1R=2L(v.1g[is+i+"1e"]);if(K(v.1g[is+i+"1F"])){if(v.1g[is+i+"1F"]!=\'\'){5V[i].1R=v.1g[is+i+"1F"]}}if(v.1g[is+i+"1e"]=="2X"){o.gG=H}1Q[i]=v.1g[is+i+"1e"];8a(i);if(1Q[i]==\'oH\'){!o.gF?o.gF=1v PS():\'\';if(K(1O.vQ)){5V[i].1R=o.gF.Q9();o.gF.Ch()}}if(1Q[i]in o.5F){ij[1Q[i]]=i}f[i].1u(bj,5B);f[i].1u(b5,5l);f[i].1u(6l,8G);f[i].1u("9G",ba);if(v.1g[is+i+"1j"]==1){O(f[i],{"1c":0})}}}}}E B3(x){if(is=="W"&&C.3u==1&&x){if(x.qe==0&&x.bP!=0){Z.aF-=x.bP;x.9O()}}3L(mk);mk=6R(tH,hI);b0()}E CP(){o.3D=H}E tH(){if(C.fT==1){2K(o.fS);o.fS=1B(E(){if(!o.3D&&!o.oj){av()}},(v.1g.fG>0?v.1g.fG*2h:(o.1i.tv?4k:2h)))}o.3D=L}E 5B(1d){if(o.2a){o.5u?o.V.5u(L):\'\'}B i=1d.3Y.6r(\'lG\');B x;if(i){x=\'f\'}F{if(1d.3Y.6r(\'bq\')){i=1d.3Y.6r(\'bq\');x=\'f2\'}}if(i){i=2H(i);B gE=L;if(K(2l(x)[i])){if(C.8d>-1){O(2l(x+\'bg\')[i],{\'1E\':C.8d})}if(2z(C.9K)){O(2l(x+\'bg\')[i],{\'6t\':\'cX(\'+C.9K+\')\'})}if(C.7p>-1){O(2l(x+\'1F\')[i],{\'1E\':C.7p});O(2l(x+\'5G\')[i],{\'1E\':C.7p})}if(is=="W"){if(1Q[i].I("W")==0){B id=1Q[i].1n(8);if(3b==id||dO==id){O(2l(x+\'1F\')[i],{\'1p\':C.5R});O(2l(x+\'5G\')[i],{\'1p\':C.5R});gE=H}F{O(2l(x+\'1F\')[i],{\'1p\':C.1p})}}}if(C.fF==1&&K(C.cM)&&gE){}F{O(2l(x+\'bg\')[i],{\'7m\':C.am})}}}};E 5l(1d){if(o.2a){o.5u?o.V.5u(H):\'\'}B i=1d.3Y.6r(\'lG\');B x;B gE=L;3L(hq);b0();if(i){x=\'f\'}F{if(1d.3Y.6r(\'bq\')){i=1d.3Y.6r(\'bq\');x=\'f2\'}}if(i){if(K(2l(x)[i])){if(C.8d>-1){O(2l(x+\'bg\')[i],{\'1E\':C.4g})}if(2z(C.9K)){O(2l(x+\'bg\')[i],{\'6t\':\'cX(1)\'})}if(C.7p>-1){O(2l(x+\'1F\')[i],{\'1E\':C.a});O(2l(x+\'5G\')[i],{\'1E\':C.a})}if(is=="W"){if(1Q[i].I("W")==0){B id=1Q[i].1n(8);if(3b==id||dO==id){O(2l(x+\'1F\')[i],{\'1p\':C.5R});O(2l(x+\'5G\')[i],{\'1p\':C.5R});gE=H}F{if(K(o.8K[id])){j3(i)}F{O(2l(x+\'1F\')[i],{\'1p\':C.1p})}}}}if(C.fF==1&&K(C.cM)&&gE){}F{O(2l(x+\'bg\')[i],{\'7m\':o.8K[id]?C.pz:C.4p})}}}}E 8G(1d){if(!gL){B d=1v 6V();o.9D=d.9C();B i=1d.3Y.6r(\'lG\');if(i){if(K(f[i])){if(K(1Q[i])){if(is=="W"){o.2c=1J}56(i,0)}}}hk()}}B rZ;B hq;E Bd(1d){if(!gL){B i=1d.3Y.6r(\'bq\');if(i){if(K(5O[i])){if(2v in o.5F){rZ=i;hq=6R(D2,4n)}}}}}E D2(){xd(rZ)}E ba(1d){3L(hq);1d.6L=H;b0()}E rv(1d){3L(hq);if(!gL){B d=1v 6V();o.9D=d.9C();B i=1d.3Y.6r(\'bq\');if(i){if(i==0){if(5O[0]==\'1p\'){cU();56(nZ)}F{dT()}}F{if(K(5O[i])){xd(i)}}}}}E pS(1d){B x=1d.3Y.6r(\'Cq\');if(x){tw(x)}}E BQ(1d){b0();B i=1d.3Y.6r(\'bq\');if(K(5O[i])){if(7W("=",i)>0){B x=5O[i].1n(0,7W("=",i));B y=5O[i].1n(7W("=",i)+1);B z=2v+\'Bi\';if(!v[z]){v[z]=[]}if(!K(v[z][x])){v[z][x]=v[x]+\'\'}tq(x,y)}}};E tq(x,y){v[x]=y;if(o.5L&&v.sY==1&&x!="bL"){3U.9q("na"+x,y)}if(o.5m&&o.4m){o.4m.ag()}o.V.j1();tw(x)}E C4(1d){B i=1d.3Y.6r(\'bq\');B x=5O[i];if(K(x)){if(x.I("=")>0){B z=x.1n(0,x.I("="));B y=x.1n(x.I("=")+1);v[z]=y;xO();8a(o[2v+\'rr\']);if(2v=="hU"){7I("zD")}}}}E 8a(i){if(K(1Q[i])){B bs=L;B 8E=L;B 5K=\'\';if(6j){if(1Q[i]=="59"){5K=o.P.tR()}if(1Q[i]=="7i"){5K=o.P.tG()}if(1Q[i]=="2X"){5K=\' \';8E=H}if(1Q[i]=="cY"){if(o.7U){5K=o.pu[o.Qi]}}if(1Q[i]=="7i"||1Q[i]=="cY"||1Q[i]=="59"){if(o[\'du\'+1Q[i]].R==0){bs=H}F{if(o[\'du\'+1Q[i]].R==1&&(C.Bm!=1||o[\'du\'+1Q[i]][0]==1)){bs=H}F{8E=H}}}if(1Q[i]=="5W"){if(!o.5W){bs=H}F{8E=H}}if(1Q[i]=="6H"){if(o.2m!=\'cW\'&&!v.6H){bs=H}F{8E=H}}if(1Q[i]=="1X"){if(K(o.1W)){8E=H;if(o.5C||v.8O==1){if(o.3X){5K=o.3d[!o.5C?o.3X.8N():o.3r]}}F{5K=\'\'}B hv=0;U(B s=0;s<o.1W.R;s++){if(o.1W[s]!=\'\'){hv++}}if(hv==1&&o.kd==1){hv=0}if(v.mK==1&&v.sR==1){}F{if(hv==0){bs=H;8E=L}}}F{bs=H}}if(1Q[i]=="54"){5K=o.6c[o.9Z];5K==1&&C.dw!=1?5K=2L(\'ez\'):\'\';8E=H;if(o.2m=="9N"||(o.P.62()&&C.Qm!=1)){bs=H;8E=L}}if(1Q[i]in o.5F){5K=jh(1Q[i]);8E=H}if(1Q[i].I("8u")>0){B x=\' \';B y=[\'wq\',\'wr\',\'wt\'];U(B z=0;z<y.R;z++){if(K(v[1Q[i]+y[z]])){if(v[1Q[i]+y[z]]!==\' \'){x+=(x!==\' \'?\':\':\'\')+v[1Q[i]+y[z]]}}}5K=x!=\' 0:0\'&&x.I(":")>-1?x:\' \';o[1Q[i]+\'7K\']=5K;8E=H}}8I[i].1R=5K+(5K!=\'\'&&C.Q8!=1?\' &gi;<2n X="jN" 1c="GY" vV="-1 -1 5 8" 7X="1.1" 4c="3G://46.w3.3S/4k/2n" 4c:4a="3G://46.w3.3S/7k/4a"><o3 3K="#\'+C.5R+\'" 3K-X="1" 6i="1U" 8x="0 0 3 3 0 6"></o3></2n>\':\'\');B Ct=6j&&cm!=-1;if(bs){1j(f[i]);if(6j){eo[i]?2K(eo[i]):\'\';if(o.Q){o.Q.jt(i,L,5K)}F{eo[i]=1B(E(){o.Q.jt(i,L,5K)},4n)}}O(f[i],{\'1m\':\'2r\',\'2g\':0,\'1f\':-100})}if(8E){if(Ct){}F{if(C.3u==1){O(f[i],{\'2i\':\'bF-4t\'})}F{1o(f[i])}}if(6j){eo[i]?2K(eo[i]):\'\';if(o.Q){o.Q.jt(i,H,5K)}F{eo[i]=1B(E(){o.Q.jt(i,H,5K)},3Z)}}O(f[i],{\'1m\':\'e7\',\'2g\':0,\'1f\':0})}2x()}U(B j=1;j<f.R;j++){if(f[j]){if(5w(f[j])){B 4F=L;4V?4F=H:\'\';4V=L;4F&&o.Q?o.Q.4F():\'\'}}}};B sh=0;E 56(i,Dy,fa){fa?1Q[i]=fa:\'\';if(K(1Q[i])){o.oj=H;b0();B x=xR();if(6j){cm==-1?sh=x[0]:x[0]=sh}if(2v!=1Q[i]){2v=1Q[i];if(2v==\'59\'||2v==\'7i\'||2v==\'1X\'||2v==\'54\'||2v==\'cY\'||2v in o.5F||2v.I("8u")>0||2v==\'2X\'||2v==\'1p\'){cm=i;B z=nu(o[\'du\'+2v]);if(2v=="op"){if(C.xp==1){z=7I("PD")}F{z=7I("PE")}}if(2v=="hU"){z=7I("PF")}if(2v=="2X"&&o.2X){z=[];U(B j=1;j<=16;j++){if(K(v["2X"+j])){z.2F(2L(v["2X"+j]));iK[z.R]=v["2X"+j]}}}if(2v=="1p"&&o.4I){z=[];nZ=i;U(B j=0;j<o.o4.R;j++){B co=o.o4[j].1n(4);z.2F(2L(co));6Q[z.R]=co}}B g7=o[\'PG\'+2v];B Df=o[\'PI\'+2v];U(B j=1;j<f.R;j++){if(f[j]){f[j].C.2i="1U"}}f2=[];d4(\'f2\',0);bE(f2[0],gD[0],53[0],5E[0],0);O(f2[0],{"2Q-2J":"43 6u "+(C.tm==1?8W:"5d(100,100,100,0.7)")});bp=Dy;B nP=L;53[0].1R=(x[0]<2||bp==1||C.sG==1?\'\':ji)+(v.1g[is+i+"1F"]&&v.1g[is+i+"1F"]!=\'\'?v.1g[is+i+"1F"]:2L(v.1g[is+i+"1e"]))+(o[1Q[i]+\'7K\']?o[1Q[i]+\'7K\']:\'\');if(2v==\'1X\'&&!o.vJ){B hD=1P("22");hD.1R=2L("2U");O(hD,{\'1p\':C.1p,\'a4\':\'2t\',\'6M\':\'4s\'});5E[0].1M(hD);hD.1u(6l,Bq);nP=H}if(2v==\'1X\'&&v.mK==1&&!o.1i.tv&&K(1O.vQ)){B uf=1P("22");!o.3X?o.3X=1v j2():\'\';uf.1R="<qv 1H=\'3w\' id=\'"+v.id+"Dw\' PM=\'.wV,.wS,.kf\' C=\'2i:1U\'/>"+2L(\'oH\');O(uf,{\'1p\':C.1p,\'a4\':\'2t\',\'6M\':\'4s\',\'2E-18\':(nP?\'eg\':0)});5E[0].1M(uf);o.gJ=1V.8A(v.id+"Dw");o.gJ.KF=o.3X.vS;uf.1u(6l,o.3X.vS)}if(nP){if(jz){if(bp==2){z=[];3g(f2[0])}U(j=0;j<o.d1.R;j++){if(v.mh==0&&o.d1[j]=="f3"){}F{z.2F("PO"+o.d1[j])}}}}O(53[0],{\'3W-3J\':C.eB*2G(v.7x,1)});5O[0]="PN";if(2v in o.5F){yl(2v);if(nZ>0&&o.o4.I(\'PL\'+2v)>-1){53[0].1R=ji+2L(2v);5O[0]="1p";5E[0].1R=jh(2v)}O(5E[0],{\'X\':C.5p*2.5,\'1C-8w\':\'2g\'})}if(bp!=1&&x[0]>1){f2[0].1u(bj,5B);f2[0].1u(b5,5l);f2[0].1u(6l,rv);f2[0].1u("9G",ba)}F{O(f2[0],{"6M":\'7v\'})}if(C.xX==1){3g(f2[0])}if(K(z)){B zz=\'\';U(j=0;j<z.R;j++){B y=j+1;B ds=0;B 6X=L;if(z[j]&&4N(z[j])!=\'\'){if(2v==\'59\'){if(z[j]==2L("2t")){ds=1}if(o.2m=="1D"&&v.PK==1){B iz=5h(z[j]);if(iz&&iz<zz){ds=2}zz=5h(z[j])}}d4(\'f2\',y,ds);bE(f2[y],gD[y],53[y],5E[y],1Q[i],i);if(2v==\'54\'){z[j]==1&&C.dw!=1?z[j]=2L(\'ez\'):\'\'}if(1L(z[j])==\'5i\'){if(z[j].I("<<<")==0){z[j]=z[j].1S(\'<<<\',\'\');6X=H}if(z[j].I(\'8u\')>0){o[2v+\'rr\']=i}if(z[j].I("r7")==0){B 1A=z[j];if(1A.I("8u")>0){53[y].1R=2L(z[j].1n(1A.I("8u")+5))}F{53[y].1R=2L(z[j].1n(7))}if(z[j]==\'PJ\'){O(f2[y],{"2Q-1f":"43 6u "+(C.tm==1?8W:"5d(100,100,100,0.7)")})}}F{53[y].1R=z[j]}}F{53[y].1R=z[j]}5O[y]=2v+j;if(g7==j||Df==j){5E[y].1R=g7==j?hj:Dp;if(g7==j){lh(y)}}if(1L(z[j])==\'5i\'){if(z[j].I("r7")==0){B t=z[j].1n(7);if(t.I("1p")>0){5E[y].1R="<22 C=\'"+(v[t]=="41"?\'2Q:43 6u #kE;1c:az;X:az;\':\'1c:eg;X:eg;\')+";2f-1p:"+(v[t].I("#")==-1?\'#\':\'\')+v[t]+";2Q-6A:eg;\'></22>"}F{if(K(v[z[j].1n(7)])){5E[y].1R=v[z[j].1n(7)]}}}if(2v=="2X"){if(K(iK[y])&&o.2X){5E[y].1R=o.2X.1r(iK[y],0.7,3x(C.5R))}}if(2v=="1p"){if(K(6Q[y])&&o.4I){5E[y].1R=jh(6Q[y])}}if(2v==\'59\'){if(z[j]==2L("2t")&&o.P.kY()){lh(y)}if(2z(v.bD)){B fq=v.bD.2A(",");U(B k=0;k<fq.R;k++){if(z[j].I(fq[k])>-1){3g(f2[y])}}}}}B rf="";if(1L(z[j])==\'5i\'){if(z[j].I("r7")==0){4e(f2[y],{\'PH\':i,\'Cq\':z[j].1n(7)});rf="pS"}}if(!6X){f2[y].1u(bj,5B);f2[y].1u(b5,5l);if(rf=="pS"){f2[y].1u(6l,pS)}F{f2[y].1u(6l,rv)}f2[y].1u("9G",ba);f2[y].1u("FP",Bd)}F{O(f2[y],{"6M":"7v"})}}}}2x()}if(1Q[i]==\'6H\'){o.V.iM();2v=-1}if(1Q[i]==\'oH\'&&K(o.gF)){o.gF.3e();2v=-1}if(1Q[i].I(\'W\')>-1){B id=1Q[i].1n(8);if(K(o.1w[id])){B fl=o.1w[id][\'3w\'];if(K(fl)){if(fl.I(\'4d:\')==0){if(id.I(\'x\'+dO)!=0){o.2c=fl.1n(5);bv(id.1n(0,id.pD(\'-\'))+\'-0\');J}if(!o.1z){o.2c=fl.1n(5)}if(!o.1y){o.V.2D()}3v(\'4d\',fl.1n(5));av();J}dM(i);sL(id);7I("Cr");if(K(o.1w[id][\'7r\'])&&v.7r==1&&v.Pz==1){7r(o.1w[id][\'7r\'])}F{nk(id);o.V.dy(fl,(v.W.hn==1?1:1J));v.W.7F==0&&v.W.eR==1?1B(av,4n):\'\';nq=L;l9=L;nm(id);js("Pk")}}F{if(K(o.1w[id][\'4W\'])){6h(id);if(nq){6d==-1?56(0,0):\'\'}F if(l9){6d==-1?56(2H(f.R)-2,0):\'\'}}}}if(o.2W){o.2W.aD()}}if(1Q[i]==\'5W\'){o.P.f4()}}}};G.Ey=E(x){8a(o[x+\'rr\'])};E tw(x){if(x=="oB"){B z=2v+\'Bi\';if(v[z]){U(B y in v[z]){if(v[z].2o(y)){tq(y,v[z][y])}}jB()}J}b0();U(B i=0;i<f2.R;i++){if(f2[i]){f2[i].C.2i="1U"}}f2=[];d4(\'f2\',0);bE(f2[0],gD[0],53[0],5E[0],0);O(f2[0],{"2Q-2J":"43 6u "+(C.tm==1?8W:"5d(100,100,100,0.7)")});if(x.I("8u")>0){f2[0].1u(6l,xO);53[0].1R=2L(x.1n(x.I("8u")+5))}F{f2[0].1u(6l,jB);53[0].1R=(C.sG!=1?ji:\'\')+2L(x)}O(53[0],{\'3W-3J\':C.eB*2G(v.7x,1)});f2[0].1u(bj,5B);f2[0].1u(b5,5l);f2[0].1u("9G",ba);B 4w=[];B lJ=L;if(x.I("3J")>0){4w=[\'50%\',\'75%\',\'100%\',\'Pu%\',\'uL%\',\'CV%\',\'4n%\',\'Pt%\',\'dH%\',\'cN%\']}if(x.I("4g")>0){4w=[\'0\',\'0.2\',\'0.3\',\'0.4\',\'0.5\',\'0.6\',\'0.7\',\'0.8\',\'0.9\',\'1\']}if(x.I("hE")>0){U(B i=-5;i<5.5;i+=0.5){4w.2F(2C.3R(i*100)/100)}}if(x.I("j7")>0){4w=[4n,cN,g9]}if(x.I("2J")>0){U(i=0;i<21;i++){4w[i]=i*10}}if(x.I("wq")>0){U(i=0;i<24;i++){4w[i]=i}}if(x.I("wr")>0||x.I("wt")>0){U(i=0;i<60;i++){4w[i]=i}}if(x.I("bB")>0){lJ=H;4w=[0,1]}if(x.I("3K")>0){lJ=H;4w=[0,1]}if(x.I("1p")>0){4w=[\'3F\',\'Bp\',\'Pr\',\'Pq\',\'Pp\',\'Po\',\'Pn\',\'Pm\',\'Pl\',\'PP\',\'PA\',\'PQ\',\'Ql\',\'Qk\',\'Qh\',\'Qg\',\'Qf\',\'41\'];B vx=v[x].1S("#","");if(4w.I(vx)==-1){4w[8]=vx}}U(y=1;y<=4w.R;y++){d4(\'f2\',y,0);bE(f2[y],gD[y],53[y],5E[y],y);O(5E[y],{\'2M-18\':0});if(x.I("1p")>0||x.I("2J")>0||x.I("8u")>0||x.I("hE")>0){y%3!=0?O(f2[y],{\'iv\':\'18\'}):\'\';O(f2[y],{\'X\':\'33.3%\'});if(x.I("1p")>0){4w[y-1]=2G(v["Qe"+(y-1)],4w[y-1]);53[y].1R="<22 C=\'"+(4w[y-1]=="41"?\'2Q:43 6u #kE;1c:Ck;X:Ck;\':\'1c:gO;X:gO;\')+";2f-1p:"+3x(4w[y-1])+";2Q-6A:gO;\'></22>";O(f2[y],{\'2B-1c\':1})}F{53[y].1R=4w[y-1]}}F{if(x.I("j7")>0){53[y].1R=4w[y-1]}F{y%2!=0?O(f2[y],{\'iv\':\'18\'}):\'\';O(f2[y],{\'X\':\'50%\'});if(lJ){53[y].1R=2L(4w[y-1]+\'7K\')}F{53[y].1R=4w[y-1]}}}5O[y]=x+\'=\'+4w[y-1];if((4w[y-1]==v[x]&&7q(v[x])!=" ")||v[x]==\'#\'+4w[y-1]){5E[y].1R=hj;lh(y)}f2[y].1u(bj,5B);f2[y].1u(b5,5l);if(x.I("8u")>0){f2[y].1u(6l,C4)}F{f2[y].1u(6l,BQ)}f2[y].1u("9G",ba)}2x()}E lh(x){f2[x].eJ.8p(\'6I-\'+v.id+\'-cF-C8\');O(53[x],{\'1p\':C.5R});my(gD[x])}E nk(id){if(K(o.1w[id][\'2e\'])){v.2e=o.1w[id][\'2e\'];K(v.2e)?o.P.9M(v.2e):\'\'}if(K(o.1w[id][\'1F\'])){o.cj=o.1w[id][\'1F\']}y7()}E nm(id){B t=o.1w[id][\'1F\'];if(K(t)){if(v.lv==1){if(o.V.oe(o.1w[id])){}F{v.1F=(v.v9==1&&K(o.sl)?o.sl+(v.uZ==1?\'<br>\':\' \'):\'\')+t}o.V.a2(\'1F\')}}if(v.eO==1){if(K(o.1w[id][\'8x\'])){v.8x=o.1w[id][\'8x\']}F{v.8x=[]}o.Q.jV()}B xv=[\'6g\',\'mx\',\'6H\',\'7o\',\'Y\',\'iL\',\'Dr\',\'mH\',\'mG\',\'4u\',\'4A\',\'hF\',\'Dg\',\'7E\',\'c9\',\'8V\',\'iy\'];U(B i=0;i<xv.R;i++){B n7=o.1w[id][xv[i]];if(K(n7)){v[xv[i]]=n7;if(i==16){v.W.de=n7}}F{i<4?v[xv[i]]=1J:\'\'}}sL(id);B 9w=o.1w[id];if(K(9w[\'2u\'])){9w[\'1X\']=9w[\'2u\']}if(K(9w[\'1X\'])){o.V.fM(9w[\'1X\'])}if(K(9w[\'8V\'])){o.Q.qG()}o.V.ix(o.1w[id]);if(o.i7){o.Q.qg(o.i7)}if(K(9w[\'ep\'])){3v(\'ep\',9w[\'ep\'])}if(K(9w.1I)){o.V.42(9w.1I)}}E sL(id){B x=o.1w[id][\'1z\'];if(K(x)){if(x=="3o"){if(2U.1X&&!o.1w[id][\'1X\']){o.1w[id][\'1X\']=2U.1X}if(o.P.17()>0){v.1z=o.2c=o.P.17()}F{2U.1z&&!o.2c?o.2c=2U.1z:v.1z=0}}F{v.1z=o.2c=x}}F{v.1z=0}}E dM(x){if(6d==0&&!o.1z){O(5V[6d],{\'1p\':C.1p});O(ar[6d],{\'7m\':C.4p});8I[6d].1R=\'\';f[6d].eJ.6g(\'6I-\'+v.id+\'-cF-pl\')}F{o.a5=x;if(6d>-1){j3(6d)}if(3b!=\'\'){if(!o.8K[3b]&&K(o.1w[3b])){o.va+=2G(o.1w[3b].1l,0)}o.8K[3b]=H;5Q=yd(5Q,3b)}}if(1Q[x]){B id=1Q[x].1n(8);8I[x].1R=hj;f[x].eJ.8p(\'6I-\'+v.id+\'-cF-pl\');O(5V[x],{\'1p\':C.5R,\'1C-p0\':\'1U\',\'1E\':C.a});my(ar[x]);if(C.fF==1&&K(C.cM)){O(ar[x],{\'7m\':C.cM})}6d=x;3b=id;o.3b=3b;v.4R=3b;o.lF=5V[x].1R;o.a5=3b;dO=o.1w[id][\'7d\'];if(o.Q){o.Q.jA()}if(6m){6m.Q7()}}}E 6h(id){B x=id==0?o.W:o.1w[id];o.a5=id;U(B i=0;i<f.R;i++){if(f[i]){if(C.3u==1){Z.3k(f[i])}F{6P.3k(f[i])}f[i]=26}}f=[];6d=-1;if(K(x[\'4W\'])){B y=7M.6v(x[\'4W\']).R;d4(\'f\',y);1Q[y]="Ci";bE(f[y],ar[y],5V[y],8I[y],y);if(C.3u==1){O(f[y],{"X":(C.m8==1?C.dC:"2t"),"1c":C.jM})}if(C.wP==1){B sy="43 6u "+4L(C.BM,2G(C.Cn,1));if(C.3u==1){O(f[y],{"Q6":sy})}F{O(f[y],{"Q5":sy})}}B 1A=x.1F;if(C.sG!=1){1A=ji+1A}5V[y].1R=1A;O(5V[y],{\'3W-3J\':C.eB*2G(v.7x,1)});B p=x[\'7d\'];f[y].1u(bj,5B);f[y].1u(b5,5l);f[y].1u(6l,E(){yM(p)});x=x[\'4W\']}B y=7M.6v(x).R;5Q=[];dE=[];if(6m&&C.3u!=1){6m.6g(6P);if(y>v.W.6m){6m.8p(C,6P)}}U(B i=0;i<y;i++){d4(\'f\',i);1Q[i]="W"+x[i].id;if(!K(o.8K[x[i].id])&&!K(x[i].4W)){5Q[x[i].id]=i;dE[x[i].id]=i}bE(f[i],ar[i],5V[i],8I[i],i);if(C.3u==1){if(C.7b==0){O(5V[i],{\'X\':C.dC-C.xV-C.kL});3g(8I[i])}O(f[i],{"X":(C.m8==1?C.dC:"2t"),"1c":C.jM})}5V[i].1R=x[i].1F?x[i].1F:\'&gi;\';if(v.d3==1&&v.Ax==1&&x[i].id){if(o.Bn){if(o.Bn.I(x[i].id)>-1){x[i].dU=1}}}if(K(x[i].dU)){if(x[i].dU==1){o.8K[x[i].id]=H;j3(i)}}if(K(x[i].4W)){8I[i].1R=Bu;O(8I[i],{"1p":C.1p})}f[i].1u(bj,5B);f[i].1u(b5,5l);f[i].1u(6l,8G);f[i].1u("9G",ba);if(K(o.8K[x[i].id])){j3(i)}if(3b==x[i].id){dM(i)}if(dO==x[i].id){O(5V[i],{\'1p\':C.5R});O(8I[i],{\'1p\':C.5R});my(ar[i])}}2x();4V=L;o.Q?o.Q.4F():\'\'}E my(x){if(2z(C.m7)&&x){O(x,{"2f-8R":"3a-4C(5d(0, 0, 0, "+(1-C.m7*1)+") 0 0)"})}}E iu(x,y,z,x1,y1,x2,y2,x3,y3,x4,y4){B ww=(C.3u==1?\'CB\':\'100%\');B hh=(C.3u==1?\'100%\':\'CB\');O(x,{\'1m\':\'2r\',\'2i\':\'bF-4t\',\'X\':ww,\'1c\':hh,\'1C-8w\':\'8t\'});if(C.CA==1){O(x,{\'2f\':\'-n4-3a-4C(\'+y+\')\',\'2f\':\'-3H-3a-4C(\'+y+\')\',\'2f\':\'-ms-3a-4C(\'+y+\')\',\'2f\':\'-o-3a-4C(\'+y+\')\',\'2f\':\'3a-4C(\'+y+\')\',})}if(C.3u==1||o.1i.2j){O(x,{\'6M\':\'4s\'})}F{O(x,{\'4s-3c\':\'1U\'})}if(C.mo==1){O(x,{\'5A-X\':C.iC+\'px!5Y\'})}if(z=="1f"){O(x,{\'1f\':-1,\'18\':0})}if(z=="2J"){O(x,{\'2J\':-1,\'18\':0})}if(z=="18"){O(x,{\'1f\':0,\'18\':0})}if(z=="2g"){O(x,{\'1f\':0,\'2g\':0})}if(z=="2g"||z=="18"){O(x,{\'1C-8w\':\'18\',\'2M-1f\':1G.2P/2-10})}x.1R="<8t><22 "+(C.Cy==1?"OE=\'G.C.7m=\\"#"+C.D1+"\\"\' OD=\'"+(C.qs==1?"G.C.7m=\\"#"+C.qB:"G.C.2f=\\"1U")+"\\"\'":"")+" C=\'4s-3c:2t;6M:4s;X:gO;1c:gO;2Q-6A:gO;"+(C.qs==1?"2f-1p:#"+C.qB+";":"")+(z=="1f"?"2E-1f:eg;":"")+(z=="2J"?"2E-1f:eg;":"")+(z=="2g"?"2E-18:vY;":"")+(z=="18"?"2E-2g:vY;":"")+"\'><2n X=\'20\' 1c=\'20\' 4c:4a=\'3G://46.w3.3S/7k/4a\' 4c=\'3G://46.w3.3S/4k/2n\'><g><2B x1=\'"+x1+"\' y1=\'"+y1+"\' x2=\'"+x2+"\' y2=\'"+y2+"\' 3K=\'#"+C.pd+"\' 3K-X=\'"+C.pe+"\' 3K-cw=\'3R\'/><2B x1=\'"+x3+"\' y1=\'"+y3+"\' x2=\'"+x4+"\' y2=\'"+y4+"\' 3K=\'#"+C.pd+"\' 3K-X=\'"+C.pe+"\' 3K-cw=\'3R\'/></g></2n></22></8t>"}G.9R=E(){if(C.iO==1){9R()}};E AL(){if(dZ){9R()}}E 9R(e){if(C.iO==1&&!ht){if(C.3u==1){B h=Z.Ou;B m=1G.28+C.7g+C.7j+20;B t=Z.aF}F{B h=Z.nv;B m=1G.2P;B t=Z.d9}if(h>m){if(t>0){if(!5w(5J)){1o(5J);B m1=1v 5z({"mc":5J,"1H":"8b","to":1,"17":0.3,"me":"5J"})}}F{if(5w(5J)){B m2=1v 5z({"mc":5J,"1H":"8b","to":0,"17":0.3,"me":"5J","1j":H})}if(e){e.bP<0?e.9O():\'\'}}if(t<h-m-10){if(!5w(5I)){1o(5I);B m3=1v 5z({"mc":5I,"1H":"8b","to":1,"17":0.3,"me":"5I"})}}F{if(5w(5I)){B m4=1v 5z({"mc":5I,"1H":"8b","to":0,"17":0.3,"me":"5I","1j":H})}if(e){e.bP>0?e.9O():\'\'}}}F{1j(5J);1j(5I)}}}E A5(){B x=Z.d9+1G.2P-60;B m=1v 5z({"mc":Z,"1H":"6N","to":x,"17":0.3,"me":"BT","5x":"cg"});1B(9R,2h)}E Ae(){B x=Z.d9-1G.2P+60;B m=1v 5z({"mc":Z,"1H":"6N","to":x,"17":0.3,"me":"Oa","5x":"cg"});1B(9R,2h)}E iT(1d){2K(o.fS);1d.aw()}E B0(){B x=Z.aF+(1G.28+C.7g+C.7j)-60;B m=1v 5z({"mc":Z,"1H":"l1","to":x,"17":0.3,"me":"Oj","5x":"cg"});1B(9R,2h)}E Az(){B x=Z.aF-(1G.28+C.7g+C.7j)+60;B m=1v 5z({"mc":Z,"1H":"l1","to":x,"17":0.3,"me":"BU","5x":"cg"});1B(9R,2h)}E yM(x){if(x==\'\'){6h(0)}F{if(K(o.1w[x])){6h(x)}}2v=\'\'}E j3(x){8I[x].1R=\'\';O(5V[x],{\'1p\':C.wY});if(C.x5==1){O(5V[x],{\'1C-p0\':\'2B-yY\'})}if(C.jY>-1){O(5V[x],{\'1E\':C.jY})}f[x].eJ.6g(\'6I-\'+v.id+\'-cF-pl\');O(ar[x],{\'7m\':C.pz});if(C.km>-1){O(ar[x],{\'1E\':C.km})}}E xd(i){if(K(5O[i])){b0();if(7W("59",i)==0){o.V.6a(5O[i].1n(7))}if(7W("7i",i)==0){o.V.dn(5O[i].1n(10))}if(7W("1X",i)==0){!o.3X?o.3X=1v j2():\'\';o.3X.ap(5O[i].1n(8))}if(7W("cY",i)==0&&v.7U==1){o.7U.Bx(5O[i].1n(7))}if(7W("2X",i)==0){o.2X?o.2X.3q(iK[i]):\'\';av()}if(7W("1p",i)==0){cU();56(0,0,6Q[i])}U(B p in o.5F){if(o.5F.2o(p)){if(7W(p,i)==0){o.P.JG(p,i)}}}if(7W("8u",i)>0){if(53[i].1R==2L(\'6X\')){7I(2v+\'0\');8a(cm);if(2v=="hU"){7I("zD")}dT()}F{if(2v=="op"&&C.xp==1){7I(\'xp\',i);8a(cm);dT()}}}if(7W("54",i)==0){o.V.8P(5O[i].1n(5));ju();1B(av,4n)}}};G.ju=E(){ju()};G.Ez=E(x){U(B i=0;i<1Q.R;i++){if(1Q[i]==x){J H}}J L};E ju(){U(B i=0;i<1Q.R;i++){if(1Q[i]=="54"){8a(i);if(2v==\'54\'){cU();56(i,0)}}}}E d4(x,i,ds){if(K(2l(x))){2l(x)[i]=1P("22");if(i<2||x=="f"||2v!=\'59\'||ds==1){if(C.3u==1){Z.1M(2l(x)[i])}F{6P.1M(2l(x)[i])}}F{if(C.3u==1){Z.v6(2l(x)[i],2l(x)[i-1])}F{6P.v6(2l(x)[i],2l(x)[ds==2?i-2:i-1])}}if(x==\'f\'){4e(2l(x)[i],{\'lG\':i})}if(x==\'f2\'){4e(2l(x)[i],{\'bq\':i})}2l(x+\'bg\')[i]=1P("22");B lW=1P("22");2l(x)[i].1M(lW);lW.1M(2l(x+\'bg\')[i]);f9(lW);2l(x+\'4h\')[i]=1P("22");2l(x)[i].1M(2l(x+\'4h\')[i]);fJ(2l(x+\'4h\')[i]);f9(2l(x+\'4h\')[i]);2l(x+\'1F\')[i]=1P("22");2l(x)[i].1M(2l(x+\'1F\')[i]);2l(x+\'5G\')[i]=1P("22");2l(x)[i].1M(2l(x+\'5G\')[i]);if(i>0&&x=="f2"&&6j&&C.uU==0){3g(2l(x+\'5G\')[i])}}};E bE(x,9v,iF,y5,Pb,ii){O(x,{\'1m\':\'e7\',\'2g\':0,\'1f\':0,\'6M\':\'4s\',\'1c\':\'2t\',\'X\':\'100%\',\'5r\':\'2Z\',\'2i\':\'4t\',\'2B-1c\':\'1.Pa\'});if(6j){if(C.3u==1){O(x,{\'X\':\'2t\'})}}if(C.xH&&C.3u==1){O(x,{\'P9\':C.xH})}if(C.3u==1&&(!6j||ii>0||C.xX==1)){O(x,{\'2i\':\'bF-4t\',\'aI-8w\':\'1f\',\'bb-9b\':\'ez\'})}O(9v,{\'2f\':(C.vq==1?"3a-4C(to 18,"+3x(C.vK)+", "+3x(C.4p)+")":3x(C.4p)),\'1E\':C.4g,\'a4\':\'1U\',\'4M\':\'1E 0.2s 5x-4E,2f .2s 5x-4E,6t .2s 5x-4E\'});fJ(9v);fJ(9v.3O);if(C.aq==1){O(9v.3O,{\'jU-6t\':\'aq(az)\'})}if(C.P4==1){x.C[C.3u==1?"2Q-2g":"2Q-2J"]="43 6u "+4L(2G(C.P3,\'3F\'),2G(C.P1,0.2))}O(iF,{\'1m\':\'e7\',\'2g\':0,\'1f\':0,\'iv\':(C.8w?C.8w:\'18\'),\'1p\':C.1p,\'2M-1f\':C.jX,\'2M-2g\':C.kL,\'2M-2J\':C.P0,\'2M-18\':C.xV,\'a4\':\'1U\',\'1E\':C.a,\'4M\':\'1E 0.2s 3a,1p 0.2s 3a\',});O(y5,{\'1m\':\'e7\',\'2g\':0,\'1f\':0,\'iv\':(C.Dz?C.Dz:\'2g\'),\'2M-1f\':C.jX,\'2M-2g\':C.kL,\'2M-18\':C.xV,\'a4\':\'1U\',\'3W-3J\':C.5p*2G(v.7x,1),\'1E\':C.a,\'1p\':C.5R,\'4M\':\'1E 0.2s 3a,1p 0.2s 3a\'});if(C.mo==1){O(x,{\'5A-X\':C.iC+\'px!5Y\'});O(iF,{\'5A-X\':(C.iC-70)+\'px!5Y\'})}F{if(C.3u==1){if(C.m8==1){O(x,{\'X\':C.dC});O(iF,{\'X\':C.dC-70})}}F{O(iF,{\'bb-9b\':\'dX\'});O(y5,{\'bb-9b\':\'dX\'})}}}E dT(){U(B i=1;i<f.R;i++){if(K(f[i])){if(C.3u==1){f[i].C.2i="bF-4t"}F{f[i].C.2i="4t"}}}b0();cU();2x();2v=\'\';cm=-1};E cU(){U(B j=0;j<f2.R;j++){if(f2[j]){if(C.3u==1){Z.3k(f2[j])}F{6P.3k(f2[j])}f2[j]=26}}f2=[];2v=\'\'}E Cf(){J Z.28};G.jQ=E(){mB()};E mB(){if(is=="W"){if(C.3u==1||C.Dm==1){B x=o.2R-C.4f-C.4i;O(1G,{\'X\':x});O(Z,{\'X\':x});6P?O(6P,{\'X\':x}):\'\'}o.2W?o.2W.2x():\'\'}}E 2x(){if(!ht){if(6j){o.Q?o.Q.pC():\'\';B x=C.xX==1&&f.R>1?f[1]:f[0]}if(is=="W"){mB();o.Q?o.Q.jQ():\'\';B x=f[0];if(v.r6==1){nR()}}f.R>1&&!x?(f[1]?x=f[1]:\'\'):\'\';f.R>2&&!x?(f[2]?x=f[2]:\'\'):\'\';if(x){x.28==0&&f2.R>0?x=f2[0]:\'\'}if(Z.28-Z.xq>0&&x&&C.3u!=1){if(K(5J)){O(5J,{"X":6P.28})}if(K(5I)){O(5I,{"X":6P.28})}C.pb=(Z.28-x.28)-(Z.xq-x.xq)}F{C.pb=0}}};E xR(){B x=0;B y=0;B z=\'\';U(B i=1;i<f.R;i++){if(K(f[i])){if(f[i].C.5H!="2Z"&&f[i].C.2i!="1U"){x++;y=i;z=1Q[i]}}}J[x,y,z]}G.xT=E(){jz=H;G.1o();bp=2;jB()};E Bq(x){jz=!jz;jB(x)}E jB(){dT();U(B i=0;i<1Q.R;i++){if(1Q[i]=="1X"){56(i,bp)}}}E b0(){2K(xD);xD=1B(E(){o.oj=L},4k)}E xO(){B x=2v;dT();U(B i=0;i<1Q.R;i++){if(1Q[i]==x){56(i,0)}}}G.tb=E(){J v.1g.7F==1&&v.1g.1q==1};E av(x){if((!6j&&v.W.Fw==1)||(6j&&v.1g.7F==1&&x!=2)){J}if(is==\'W\'&&v.W.2W==1&&v.W.Qo!=1){if(v.W.7F==1&&x==1){J}o.2W?o.2W.yg():\'\';dZ=L}F{if((x!=1||(C.Rv==1&&C.7F==1))&&!o.1i.tv){B m=1v 5z({"mc":1G,"1H":"8b","to":0,"17":0.1,"me":is,"5x":"CS"});iQ=1B(E(){O(1G,{"5H":"2Z","1E":0,"1f":-4k});dZ=L},4n)}F{O(1G,{"5H":"2Z","1E":0,"1f":-4k});dZ=L}}if(is==\'W\'){if(v.W.B4==1&&o.Q){o.Q.qD("1e","W",H)}}3L(mk)};G.c=E(){J 1G};G.co=E(){if(1G.RY(Z)){J Z}};G.s=E(1a){if(1a=="4i"||1a=="4f"){B k2=1a.1S("2E","a0");B k3=1a.1S("2E","aT");if(2z(C[k3])&&o.9c){J o.2R*C[k3]/100}if(2z(C[k2])){J o.2R*C[k2]/100}}J C[1a]};G.ss=E(1a){J C};G.1o=E(){dT();2K(iQ);dZ=H;if(is==\'W\'&&v.W.2W==1){o.2W?o.2W.iS():\'\'}F{O(1G,{"5H":"4B","1E":1,"4M":"1E 0.2s 3a"});B x=xR();if(x[0]==1){if(x[2]=="59"||x[2]=="7i"||x[2]=="1X"||x[2]=="54"||x[2]in o.5F||x[2].I("8u")>0){56(x[1],0)}}}if(o.Q){is==\'1g\'?o.Q.pC():\'\';if(is==\'W\'){o.Q.jQ();if(v.W.B4==1){o.Q.qD("1e","W",L)}}}if(o.1i.7n){O(Z,{\'96-X\':\'2t\'});if(C.3u!=1){O(6P,{\'96-X\':\'2t\'})}}gL=H;3L(nc);nc=6R(Bk,100)};E Bk(){3L(nc);gL=L}G.3e=E(i){56(i,1)};G.1j=E(x){av(x)};G.FY=E(){if(o.2W){o.2W.c4()}};G.6a=E(){U(B i=0;i<1Q.R;i++){if(1Q[i]=="59"){8a(i);if(o.2y.R>1){1o(f[i])}if(2v==\'59\'){cU();56(i,bp)}}}};G.f4=E(){U(B i=0;i<1Q.R;i++){if(1Q[i]=="5W"){8a(i)}}};G.jr=E(x){U(B i=0;i<1Q.R;i++){if(1Q[i]==x){8a(i);if(o[\'du\'+x]){if(o[\'du\'+x].R>1){1o(f[i])}}if(2v==x){cU();56(i,bp)}}}};G.ap=E(){U(B i=0;i<1Q.R;i++){if(1Q[i]=="1X"){8a(i);if(o.3d){if(o.3d.R>0){B x=L;if(o.1W){U(B y=0;y<o.1W.R;y++){if(o.1W[y]!=\'\'){x=H;1h}}}F{x=H}x?1o(f[i]):\'\'}}if(2v==\'1X\'){cU();56(i,0)}}}};G.xM=E(x){o.W=x;6h(0);if(K(v.4R)){if(v.4R.I("x-")!=0){U(B y in o.1w){if(o.1w.2o(y)){if(o.1w[y].dL==v.4R){v.4R=y}}}}if(K(o.1w[v.4R])){gy(o.1w[v.4R]);B y=o.1w[v.4R][\'cD\'];dM(y);if(v.W.uQ==1&&C.2W!=1){6h(0);1B(E(){2x()},3Z)}F{1B(E(){e5(y);2x()},3Z)}v.4R=1J}F{dM(0)}}F{dM(0)}if(C.2W==1){if(!K(o.2W)){o.2W=1v Aj()}}};G.bv=E(x){bv(x)};E bv(x){if(K(o.1w[x])){gy(o.1w[x]);56(o.1w[x][\'cD\'],0);e5(o.1w[x][\'cD\'])}};G.mb=E(x){if(K(o.1w[x])){gy(o.1w[x]);if(o.1w[x]["3w"]){o.2c=1J;dM(o.1w[x][\'cD\']);nk(x);o.V.dy(o.1w[x]["3w"],1);nm(x);e5(o.1w[x][\'cD\']);if(o.2W){o.2W.aD()}}F if(o.1w[x]["4W"]){6h(x)}}};E BR(x){if(K(o.1w[x])){dO=\'\';6h(0);gy(o.1w[x]);nk(x);56(o.1w[x][\'cD\'],0);nm(x)}};G.bf=E(){nq=H;B x=2H(6d)+1;if(3b!=\'\'){o.8K[3b]=H;5Q=yd(5Q,3b)}if(v.5Q==1){x=ye(5Q);if(x==26){if(v.RQ==1||v.W.de==1){dE.FB(E(a,b){J 2C.5S()-0.5});U(B x in dE){if(dE.2o(x)){5Q[x]=dE[x]}}x=ye(5Q)}F{o.V.Du()}}}F{if((1Q[x]=="Ci"||6d==-1)&&3b!=\'\'){B y=7y().I(3b);if(y<7y().R){B z=o.1w[7y()[y+1]];if(z){if(K(z.4W)){z=o.1w[7y()[y+2]]}G.mb(z.id);x=-1;o.V.2D()}}}}if(x>-1){o.2c=1J;56(x,0);e5(x)}};E e5(x){if(f[x]&&!ht){if(C.3u==1){B to=f[x].iJ-20;B m=1v 5z({"mc":Z,"1H":"l1","to":to,"17":0.3,"me":"BU","5x":"cg"})}F{B to=f[x].CG-1G.2P/2+20;B m=1v 5z({"mc":Z,"1H":"6N","to":to,"17":0.3,"me":"BT","5x":"cg"})}1B(9R,2h)}}E ye(4x){B 6v=7M.6v(4x);B x;U(B i=0;i<6v.R;i++){x=4x[6v[6v.R*2C.5S()<<0]];if(x){1h}}J x};G.5F=E(x){yl(x)};E yl(x){ij[x]>-1?8a(ij[x]):\'\';if(5E[0]){if(2v==\'1K\'){5E[0].1R=2C.3R(o.3E.x*100)+\'%\'}F{5E[0].1R=jh(2v)}}};E jh(x){if(x=="1K"){J 2C.3R(o.3E.x*100)+\'%\'}F{J 2C.3R(2G(o.9Q[x],o.5F[x])*100)+\'%\'}}G.cd=E(){J uS()};E uS(){if(v.5Q==1){J 7M.6v(5Q).R>0}B x=L;if(o.1w){x=7y().I(3b)<7y().R-1}J x};G.m9=E(){if(K(o.hV)){BR(o.hV)}};G.fE=E(){B x=6d>0;if(o.1w){B z=7y().I(3b);x=z>0;if(z==1){if(K(o.1w[7y()[0]].4W)){x=L}}}J x};G.eZ=E(){J K(o.1w)};G.dS=E(){l9=H;if(G.fE()){B x=2H(6d)-1;if(x<0){B y=7y().I(3b);if(y>0){B z=o.1w[7y()[y-1]];if(z){if(K(z.4W)){z=o.1w[7y()[y-2]]}if(z){G.mb(z.id);o.V.2D()}}}}F{o.2c=1J;56(x,0);e5(x)}}};G.mE=E(){if(6d>0){e5(6d)}};E 7W(x,i){J 5O[i].I(x)};E gy(x){if(x[\'rn\']!=-1){gy(o.1w[x[\'7d\']]);6h(x[\'7d\'])}F{6h(0)}};G.g=E(x){aM(x){1k"X":J Cf();1h;1k"1c":J 1G.2P;1h;1k"1f":J C.7Z;1h;1k"Fq":J Z.nv;1h;1k"Fp":J C.es;1h;1k"x":J 5h(1G.C.18);1h;1k"y":J 5h(1G.C.1f);1h;1k"1E":J 1G.C.1E;1h;1k"1o":J dZ;1h;1k"3e":J cm;1h;1k"1a":J 1a;1h;1k"aK":J 1a+aK;1h;1k"4V":J 4V;1h;1k"W":J is=="W";1h;1k"dU":J o.8K[3b];1h;1k"uU":J hj;1h;1k"c8":J o.1w[o.c8]?o.1w[o.c8].1F:\'\';1k"c9":J v.c9?v.c9:\'\';1k"H5":J uS()?o.1w[7y()[7y().I(3b)+1]].1F:\'\'}};E 7y(){J 7M.6v(o.1w)};G.EA=E(){3b=\'\';v.4R=\'\'};G.4V=E(){if(6j){B x=0;U(B i=1;i<11;i++){if(1Q[i]=="59"){B y=o.2y.R;if(K(v.bD)){B z=v.bD.2A(",");U(B j=0;j<z.R;j++){if(o.2y.I(z[j])>-1){y--}}}if(y>0){if(y>1||(y==1&&o.2y!=1&&C.Bm==1)){x++}}}if(1Q[i]=="5W"){if(o.5W){x++}}if(1Q[i]=="6H"){if(o.2m==\'cW\'||v.6H){x++}}if(1Q[i]=="7i"){if(o.7e.R>1){x++}}if(1Q[i]=="cY"&&v.7U==1){if(o.pu.R>0){x++}}if(1Q[i]=="1X"){if(K(o.1W)){U(B s=0;s<o.1W.R;s++){if(o.1W[s]!=\'\'){x++;1h}}}if(x==1&&o.kd==1){x=0}if(v.mK==1&&v.sR==1){x++}}if(1Q[i]=="54"){if(o.2m!="9N"){x++}}if(1Q[i]in o.5F||1Q[i]=="2X"||1Q[i]=="1p"){x++}if(1Q[i]){if(1Q[i].I("8u")>0){x++}}if(v.1g[is+i+\'1j\']==1){x--}}J x<=0}F if(is=="W"){J f.R==0}F{J 4V}};G.4r=E(){if(1G.3O==o.1N){1G.3k(Z);o.1N.3k(1G);o.2W?o.2W.4r():\'\';1G=26;Z=26;ht=H}}};B qj=E(Y,kS){B 7a=L;if(Y.I(\'7a\')==0){7a=H;Y=Y.1n(5)}B og=ne(Y);B 2k;B 3j;B hW=L;B 47=L;B po=L;B py=L;B 2t=H;B uw=[];B bN=1;B ih=L;B uH;B ea=0;B pw=0;B pq=L;B oS=\'Bl\'+v.id+(7a?\'7a\':\'\');gB("#Bl"+v.id+"{X:100%!5Y;1c:100%!5Y;5A-X:1U!5Y;5A-1c:1U!5Y}");B 1G=1P(\'22\');B ow=0;1G.5U(\'id\',oS);kS.1M(1G);o.5W=L;!7a?o.V.jJ():\'\';if(o.1i.2j){v.4J=1}if(v.B6!=1){B 8c=1P(\'22\');kS.1M(8c);O(8c,{1m:"2r",1f:0,18:0,"2f-1p":"#ny",1c:"100%",X:"100%","1E":0});8c.1u("G5",E(1d){1d.6L=H});if(o.1i.2j){8c.1u("gV",E(1d){1d.6L=H});8c.1u("2q",E(1d){1d.6L=H});8c.1u("gP",E(1d){1d.6L=H;gI(1d);if(v.dV==1){1B(Bf,100);1B(nT,2h)}})}F{8c.1u("qT",E(1d){B x=H;if(v.1Z==1){if(K(v.7B)&&!po){x=L}if(K(v.pk)&&aN()=="8l"&&17()>0){x=L}}if(x&&v.dV==1&&v.Be!=1){3g(G);1B(nT,4k)}})}v.dV==1&&v.Sx!=1?3g(8c):\'\'}E nT(){5T(8c)}E Bf(){if(v.Be!=1){3g(8c)}}if(v.4J==1&&v.3i==0){8U()}if(!1O[\'YT\']){1O.Sz=E(){ol();U(B i=0;i<5a.R;i++){if(5a[i]){if(5a[i].3q("id")!=v.id){if(5a[i].3q(\'Ba\')){5a[i].3q(\'Bb\')}}}}};B vl=uB("4H.8M/Bc","4H.8M/Bc","Sj");if(vl){vl.rP=E(e){o.V.er();if(v.DB!=1){2k=\'A1 Se ic\';o.P.5X()}}}}F{ol()}E ol(){if(v.4J==1||7a){!hW?i1():\'\'}F{o.V.er()}}E i1(){if("YT"in 1O){if(K(YT.oK)&&!hW){1t("BD gs");B uM=0;if(v.B6==1){uM=1}o.2c>0?ea=2H(o.2c):\'\';3j=1v YT.oK(oS,{1c:o.91,X:o.8T,S9:og,S8:{S7:1,S5:oS,QX:1,Rt:1,eR:1,kM:((v.B5==0||(v.QT!=1&&o.1i.7R))&&o.1i.2j?0:1),QS:3,Q:uM,QP:0,QO:1,Cg:0,3i:7a||v.3i==1?1:0,9k:0},3c:{\'QN\':uc,\'QM\':Dq,\'5X\':5X,\'QL\':Dv}});if(o.2c>0){o.2c=1J}2x();hW=H}F{1B(i1,3Z)}}F{1B(i1,3Z)}}B i4;E uc(){if(o.P){1t("BD gw");47=H;2K(uH);o.V.7P();if(7a){if(o.1i.vz){o.V.5e()}3j.oG();o.1Z.QI()}F{if(v.3i==1&&o.1i.vz&&!o.lH){o.V.5e();if(o.1i.2j){3L(i4);i4=6R(Ds,dH)}}if(v.4J==0){3j.oG()}F{o.V.er()}ow=3j.uu();o.P.9H();if(bN!=1){8P(bN)}bX();2x();if(v.QH==1){3p{if(3j.un()){if(K(3j.un().1F)){v.1F=3j.un().1F;o.V.a2(\'1F\')}}}2V(e){}}}}}E Ds(){B x=3j.D7();if(x==2||x==-1){o.Q.3f();o.Q.7P();3L(i4)}if(x==1){3L(i4)}}E Dq(1d){if(v.QD==1){1t(\'YT\',1d.29)}if(7a){if(1d.29==YT.ey.Dh){o.1Z.QC()}if(1d.29==YT.ey.Dn){}}F{if(1d.29==YT.ey.Dn){if(pw==1){pw=0;uc()}if(!o.1y){o.V.2D()}if(ea>0){3j.Cv(ea,H);ea=0;o.2c=1J}nT();po=H;47=H;if(py){3j.uy()}F{o.P.ai();o.P.bM()}D8();if(K(v.4S)){U(B i=0;i<o.2y.R;i++){if(v.4S==o.2y[i]){6a(i)}}v.4S=26}F{if(K(o.4S)){U(B i=0;i<o.2y.R;i++){if(o.4S==o.2y[i]){6a(i)}}o.4S=26}}ih=L}if(1d.29==-1&&ih&&o.1y){o.V.7P();ih=L;eh()}if(1d.29==YT.ey.Qz){}if(1d.29==YT.ey.Dh){8D()}if(1d.29==YT.ey.Qy){if(!o.1y){}if(o.1y){ih=H;8U()}}if(1d.29==YT.ey.Qv){}}}E 5X(1d){if(7a){o.1Z.Qu()}F{if(1d.29==2){2k="GI 4H id"}if(1d.29==5){2k="s5 4V"}if(1d.29==101||1d.29==uL||1d.29==100){2k="G h5 is Qs"}if(v.Qr==1){K(v.DD)?2k=v.DD:\'\'}if(v.DB!=1){o.P.5X()}F{1j(o.2e)}}}E 8D(){v.1z>0?ea=v.1z:\'\';o.P.8D();o.P.9H()}E eh(){if(!o.JS&&o.1y){o.V.3f()}}E bM(){o.P.bM()}E bX(){o.P.bX();o.V.rI()}E 9H(){o.P.9H()}E ef(){o.P.ef()}E 8U(){if(o.P){o.P.8U()}F{uH=1B(8U,100)}}E Dv(1d){uF(1d.29)}E D8(){if(!pq){B x=3j.Re()+\'\';if(x!=\'\'&&x!=1J){o.2y=x.2A(\',\');o.2y=o.2y.DL();if(v.uO==0){B y=o.2y.I(\'2t\');if(y>-1){o.2y.t8(y,1)}}U(B i=0;i<o.2y.R;i++){o.2y[i]=kW(o.2y[i])}pq=H;uF(3j.Rs())}}}E uF(x){o.3l=o.2y.I(kW(x+\'\'));o.Q.xJ(o.3l)}G.3J=E(){J{"X":0,"1c":0}};G.2S=E(x){og=ne(x);if(o.2c>0){ea=2H(o.2c)}bv(og)};E aN(){B 7w=-1;if(47){7w=3j.D7()}B x=\'\';if(7w==-1){x="8l"}if(7w==1||7w==3){x="7Q"}if(7w==2){x="8l";if(o.1y){o.V.3f()}}if(7w==5){x="8l"}if(7w==0){x="7V"}J x}E 2x(){3p{if(K(3j)){3j.Ro(o.2R,o.4j)}}2V(e){1t(e)}}E kW(x){B y=x;if(x=="Rn"){y="oY"}if(x=="9c"){y="jZ"}if(x=="Rm"){y="kF"}if(x=="O8"){y="kz"}if(x=="Rk"){y="lB"}if(x=="Rj"){y="lz"}if(v.CK==1){y=2L(y)}if(x=="2t"){y=2L("2t")}uw[y]=x;J y}E 17(){B x=47?3j.Rh():0;if(x>0&&v.iZ>0){v.4A=x-v.iZ;v.iZ=-1}J x};E 8P(x){3j?3j.Rg(x):\'\';bN=x};G.p4=E(){ol()};G.2D=E(){if(47){3j.oG()}F{if(!hW){i1()}F{}}};G.3f=E(){if(47){3j.uy()}};G.8y=E(){if(47){aN()==\'7Q\'?3j.uy():3j.oG()}};G.3Q=E(x){if(47){3j.Cv(x,H);js("4d",x)}};G.9X=E(){J L};G.5e=E(){47?3j.5g():\'\'};G.6k=E(){47?3j.Rb():\'\'};G.42=E(x){47?3j.BH(x*100):\'\'};G.pc=E(){J aN()==\'7Q\'};G.62=E(){J L};G.tL=E(x){6a(x)};E 6a(x){if(47){if(K(o.2y[x])){B y=uw[o.2y[x]];2t=y==\'2t\';B z=17();3j.Ra(y)}}}G.fB=E(x){8P(x)};G.47=E(){J 47};G.6S=E(){J aN()};G.17=E(){J 17()};G.1l=E(){B x=47?3j.uu():0;if(x!=ow){ow=x;o.P.9H()}if(K(v.4u)){if(6Y([v.4u],\'-\')){x=x+v.4u*1}F{x=v.4u}}J x};G.9J=E(){B x=0;if(47){x=3j.R9()*3j.uu()}J x};G.4X=E(){2x()};G.j9=E(){J 2k};G.2t=E(){J v.uO==1?2t:L};G.zm=E(x){bv(x)};E bv(x){Y=x;if(3j){pw=1;3j.R5(x,0)}}G.pY=E(){if(o.1i.2j&&o.1i.aA){G.2D();py=H}F{if(aN()=="7Q"){G.3f()}}};G.fX=E(){py=L};G.tu=E(){J H};G.4r=E(){47?3j.9L():\'\';47=L;pq=L;3p{if(1G){kS.3k(1G)}kS.3k(8c)}2V(e){}}};B j2=E(){B 2u=[];B aJ=[];B 4V=H;B 8N;B 94=-1;B vD;B bc;B oF=[];B oh;B kb=[];G.1z=E(x){if(!x&&bc){bd(bc);bc=1J}F{x?bd(x):\'\'}};G.yJ=E(x){bd(x)};G.Jo=E(){kb=[]};E bd(x){!x?x=\'\':\'\';if(x!=\'11\'){B 1z=0;B wJ=H;B ke=\'\';o.1W=x.2A(",");o.3d=[];o.3r=-1;if(xQ()&&v.wL==1){if(3U.6G("wk")!=26){ke=3U.6G("wk")}}F{if(o.pf){ke=o.pf}}U(B i=0;i<o.1W.R;i++){if(o.1W[i].I("#0")==0){o.1W[i]=c6(o.1W[i])}if(o.1W[i].I("#"+v.ah)==0){o.1W[i]=o[o.fd[0]](o.1W[i])}if(o.1W[i].I("#"+v.bt)==0&&o.1W[i].I(v.bA)>0){o.1W[i]=o[o.fd[1]](o.1W[i])}if(o.1W[i].I("[")==0&&o.1W[i].I("]")>1){o.3d[i]=o.1W[i].1n(o.1W[i].I("[")+1,o.1W[i].I("]")-1);o.1W[i]=o.1W[i].1n(o.1W[i].I("]")+1);wJ=L}F{o.3d[i]=o.1W[i].1n(o.1W[i].pD("/")+1);o.3d[i]=o.3d[i].1n(0,o.3d[i].pD("."))}if(o.1W[i].I("#0")==0){o.1W[i]=c6(o.1W[i])}if(o.1W[i].I("#"+v.ah)==0){o.1W[i]=o[o.fd[0]](o.1W[i])}if(o.1W[i].I("#"+v.bt)==0&&o.1W[i].I(v.bA)>0){o.1W[i]=o[o.fd[1]](o.1W[i])}}if(o.3d.R>1&&v.mh==1){o.3d.2F(mU(\'R1\',(v.R0==1&&K(v.zc)?v.zc:2L(\'uz\'))));o.1W.2F("9V")}if(o.3d.R>0&&v.8O==1){if(v.Ar==1){8N=0;1z++;o.3d.kQ(mU(\'za\',2L(\'6X\')));o.1W.kQ("")}F{o.3d.2F(mU(\'za\',2L(\'6X\')));o.1W.2F("");8N=o.3d.R-1}}U(B i=0;i<o.1W.R;i++){if(K(v.zj)){if(v.zj==o.3d[i]){1z=i;o.3r=i;v.gv=1}}if(ke!=\'\'){if(ke==o.3d[i]){1z=i;o.3r=i}}}if(v.8O==1&&v.gv==0){o.3r=8N}K(o.Q)?o.Q.b8():\'\';if(v.gv==1){o.3r=1z;if(o.1z){if(v.mh==1&&o.1W[1z]=="9V"){vT(o.3r)}F{k7(o.3r)}}F{bc=x;o.5C=o.1W[1z]!=\'6X\';1B(kk,3Z)}}F{if(wJ&&o.1W.R<3){k7(8N==0?1:0)}v.8O!=1?o.3r=-1:\'\'}}F{4r()}};G.sJ=E(x){jT(x,\'1D\')};E k7(x){if(K(o.1W[x])){if(o.1W[x].I(".")>-1){o.o8=o.1W[x].2A(" or ");o.gq=0;jT(x)}F{if(o.1W[x].I(\'aJ\')==0){if(aJ[o.1W[x].1n(4)]){x8(o.3d[x],aJ[o.1W[x].1n(4)])}}if(o.1W[x].I(\'1D\')==0){o.P.fm(x,"JR");o.5C=H;o.3r=x;o.Q.b8()}}}}E vT(x){o.5C=H;kk()}E jT(x,y){B Y=y==\'1D\'?x:4N(o.o8[o.gq]);B iL=Y;B gn;if(oF[Y]){if(o.1W[x]!=\'9V\'){o.5C=H;kk()}}F{if(Y.I(\'cJ\')>0&&Y.I(\'cJ\')<4){gn=Y.1n(0,Y.I(\'cJ\'));iL=Y.1n(Y.I(\'cJ\')+3)}B 4Y=eK(iL);94=x;o.kd=1;4Y.cv=E(){o.kd=0;if(G.fN==4&&G.6S==4n){o.5C=H;x8(Y,G.dl,x,y)}F{if(o.gq+1<o.o8.R){o.gq++;jT(94)}F{lK("dR")}}};4Y.rP=E(e){o.kd=0;if(o.gq+1<o.o8.R){o.gq++;jT(94)}F{lK("dR")}};4Y.ce()}};E lK(x){1t("1X gr nQ or Cu CL");if(o.3d[o.3r]){if(o.3d[o.3r].I(2L("dR"))==-1){o.3d[o.3r]=o.3d[o.3r]+\' (\'+2L(x)+\')\'}}if(v.L0==1&&94>-1){o.1W[94]=\'\';o.3d[94]=\'\'}o.3r=-1;o.5C=L;if(o.L1){o.Q.b8();o.Q.4F()}F{1B(E(){if(o.Q){o.Q.b8();o.Q.4F()}},100)}if(K(o.1X)){o.1N.3k(o.1X);o.1X=26}}E x8(Y,x,y,z){B gn;if(x.I("#"+v.ah)==0){x=o[o.fd[0]](x)}if(x.I("#"+v.bt)==0&&x.I(v.bA)>0){x=o[o.fd[1]](x)}if(Y.I(\'cJ\')>0&&Y.I(\'cJ\')<4){gn=Y.1n(0,Y.I(\'cJ\'))}if(Y.I(\'.kf\')>-1||Y.I(\'.wS\')>-1||Y.I(\'.lR\')>-1||Y.I(\'.wV\')>-1){B l=gn?gn:o.3r;if(o.1W[l]=="9V"){l=y}if(z!=\'1D\'||!2u[l]){2u[l]=7M();2u[l][0]=[];2u[l][1]=[]}B 3y=cL();3y=x.2A(/\\r|\\n/);B wT=1;B t1=0;B t2=0;B gz=(K(v.yS)?v.yS:0);if(Y.I(\'hE=\')>0){gz=Y.1n(Y.I(\'hE=\')+6)*1}U(B i=0;i<3y.R;i++){if(Y.I(\'.kf\')>-1||Y.I(\'.wV\')>-1){if(3y[i].I(\'-->\')>-1&&3y[i].I(\':\')>-1){if(z==\'1D\'){if(kb.I(3y[i])>-1){1h}kb.2F(3y[i])}t1=kj(3y[i].1n(0,3y[i].I(\'-->\')))*1+gz;t1==0?t1=1:\'\';t2=kj(3y[i].1n(3y[i].I(\'-->\')+4,12))*1+gz;K(2u[l][0][t1])?\'\':2u[l][0][t1]=\'\';U(B j=t1;j<t2;j++){2u[l][1][j]=t1}wT++}F{3y[i]=4N(3y[i]);if(3y[i]!=\'\'&&3y[i].R>0&&3y[i]!=wT&&3y[i]!=\'L9\'){if(2z(2u[l][0][t1])){2u[l][0][t1]=2u[l][0][t1]+\'<br>\'+3y[i]}F{2u[l][0][t1]=3y[i]}}}}if(Y.I(\'.wS\')>-1||Y.I(\'.lR\')>-1){if(3y[i].I(\'La:\')>-1){t1=kj(3y[i].1n((Y.I(\'.lR\')>-1?3y[i].I(\'=0\')+3:12),12))*1+gz;t2=kj(3y[i].1n((Y.I(\'.lR\')>-1?3y[i].I(\'=0\')+14:23),10))*1+gz;B p=\'\';if(3y[i].I(\'0,,\')>0){p=3y[i].1n(3y[i].I(\'0,,\')+3)}F{if(3y[i].I(\'An,\')>0){p=3y[i].1n(3y[i].I(\'An,\')+6)}if(3y[i].I(\')}\')>0){p=3y[i].1n(3y[i].I(\')}\')+2)}}if(p!=\'\'){if(2u[l][0][t1]!=1J){2u[l][0][t1]+=\'<br>\'+p}F{2u[l][0][t1]=p}2u[l][0][t1]=2u[l][0][t1].1S(/{.*?}/,\'\');2u[l][0][t1]=2u[l][0][t1].1S(/\\\\\\\\N/,\'<br>\');2u[l][0][t1]=2u[l][0][t1].1S(/\\\\N/,\'<br>\');U(B j=t1;j<t2;j++){2u[l][1][j]=t1}}}}}oF[Y]=H;if(o.1W[y]!=\'9V\'){z!=\'1D\'?kk():\'\'}}F{if(x!=\'\'){if(x.I(\'[\')==0){bd(x)}F{lK("2k")}}F{4r();o.Q.4F()}}}E kk(){o.Q.b8();o.V.j1();o.Q.4F()}E kj(kf){B 1A=kf.2A(\':\');B 4E=0;1A.R==2?1A.kQ("bH"):\'\';1A[0]!=\'bH\'?4E+=1A[0]*v1:\'\';1A[1]!=\'bH\'?4E+=1A[1]*60:\'\';4E+=1A[2].1n(0,2)*1;4E=4E*10+1A[2].1n(3,1)*1;J 4E};E ap(x){if(K(o.3r)){if(o.3r!=x){kb=[];if(x==-1||(v.8O==1&&x==8N)){nn()}F{v.bL=0;o.3r=x;o.5C=H;v.gv=1;vI(x);js("1X",o.3d[x]);o.Q.b8()}}F{if(v.8O!=1){nn()}}}}E vB(){if(K(o.3d[o.3r])){if(o.5L&&v.wL==1){3U.9q("wk",o.3d[o.3r])}F{o.pf=o.3d[o.3r]}}}E vI(x){if(K(o.1W[x])){1t("fM",x);o.3r=x;vB();if(o.2m=="1D"&&o.au==H){o.P.fm(x,"1D")}F{if(o.2m=="3N"&&o.vJ==H){o.P.fm(x,"3N")}F{if(o.1W[x]=="9V"){vT(o.3r)}F{k7(o.3r)}}}}};G.vS=E(){if(o.gJ){B x=o.gJ.4l;if(x[0]){B y=1v vQ();y.cv=E(e){B z=e.3Y.jG;aJ.2F(z);o.3r=-1;B z=x[0].6x;if(z.R>40){z=x[0].6x.1n(0,15)+\'...\'+x[0].6x.1n(-15)}if(v.8O==1&&v.Ar==1){o.1W.2F(\'aJ\'+(aJ.R-1));o.3d.2F(z+\'\');ap(o.1W.R-1)}F{o.1W.kQ(\'aJ\'+(aJ.R-1));o.3d.kQ(z+\'\');v.8O==1?8N++:\'\';ap(0)}o.gJ.5G=""};y.KQ(x[0])}F{o.gJ.2q()}}};G.ap=E(x){ap(x)};G.8N=E(){J 8N};G.KP=E(x){8N=x};G.1o=E(x){iS(x)};G.C=E(){yj()};G.6g=E(){4r()};G.6X=E(){nn()};E nn(){js("1X","6X");o.3r=v.8O==1?8N:-1;v.gv=0;o.5C=L;o.Q.b8();vB();o.vJ?vI(o.3r):\'\';K(o.1X)?o.1N.3k(o.1X):\'\';o.1X=26}E iS(17){if(o.9I){J}B t=2H(17*10);if(v.bL){17=17-v.bL*1}if(o.5C&&K(o.1W)){if(2u){B x=o.3r;B t=2H(17*10);if(v.xL==1&&!o.1y){J}if(o.1W[x]=="9V"){if(!oh){U(B i=0;i<o.1W.R;i++){1B(k7,i*3Z,i)}if(!2u[x]){2u[x]=7M();2u[x][0]=cL();2u[x][1]=cL()}oh=H}F{if(2u[x][1][t]){}F{U(B i=0;i<o.1W.R;i++){if(2u[i]){if(K(2u[i][1])){if(K(2u[i][1][t])){if(!2u[x][0][t]){2u[x][0][t]=\'\'}2u[x][0][t]+=(2u[x][0][t]!=\'\'?\'<br>[mJ]\':\'\')+2u[i][0][2u[i][1][t]]+(2u[x][0][t]!=\'\'?\'[/mJ]\':\'\')}}}}if(K(2u[x][0])){if(K(2u[x][0][t])){2u[x][1][t]=t}}}}}if(K(2u[x])){if(K(2u[x][1])){if(K(2u[x][1][t])){B y=\'\';y=2u[x][0][2u[x][1][t]];if(!K(o.1X)){o.1X=1P(\'22\');4e(o.1X,{id:\'hJ\'+v.id+\'4D\'+\'1X\'});o.1N.1M(o.1X);yj();js("sE",o.3d[x])}if(4V){5T(o.1X)}A2();if(v.A8==1){y=KI(y)}if(v.mh==1){y=y.1S(/\\[mJ\\]/gm,\'<7t C="1p:\'+3x(v.f3)+\'">\');y=y.1S(/\\[\\/mJ\\]/gm,\'</7t>\')}if(y.I(\'<c.\')>-1){y=y.1S(/\\<c./gm,\'<7t C=1p:\');y=y.1S(/\\<\\/c\\>/gm,\'</7t>\')}if(v.9t){if(v.9t.2u==1&&vD!=y){js("2u",y);vD=y}}o.1X.1R=\'<7t C="\'+(v.AM==1?\'2f-1p:\'+4L(v.hM,v.hY)+\';\':\'\')+\'-3H-6q-p0-1h: Lx;1p:\'+3x(v.f1)+\';2M:\'+v.vC+\'px \'+v.vC*2+\'px;2Q-6A:\'+v.zX+\'px;2E:0 0;2B-1c:\'+(v.zT?v.zT:1.8)+\';3W-j7:\'+v.hO+\'">\'+4N(y)+\'</7t>\';O(o.1X,{"3W-3J":((2H(v.nb)+((2H(v.f0)-100)*2H(v.nb)/100))+"px")});if(v.zP==1){if(o.2a){O(o.1X,{"3W-3J":((v.n8+((2H(v.f0)-100)*v.n8/100))+"px")})}}4V=L}F{if(!4V&&K(o.1X)){w7()}}}}F{w7()}}}}E w7(){if(!4V){o.1X?o.1X.1R=\'\':\'\';4V=H;3g(o.1X)}}E yj(){if(o.1X){O(o.1X,{"1m":"2r","X":"100%","2M-18":"10%","2M-2g":"10%","18":0,"1p":v.f1,"1C-8w":"8t","6q-hm":"2Q-6q"});if(v.LI==1&&K(v.vZ)){v.vZ!=\'\'?O(o.1X,{"3W-h0":v.vZ}):\'\'}if(v.oE==1){O(o.1X,{"1C-bB":"-43 -43 0 #kw,43 -43 0 #kw,-43 43 0 #kw,43 43 0 #kw"})}F{if(v.hP==1){O(o.1X,{"1C-bB":"43 43 LN LH"})}F{O(o.1X,{"1C-bB":"1U"})}}if(v.Lo==1){qC(o.1X,\'o.nU\')}F{v.A8!=1?f9(o.1X):\'\'}}}E A2(){if(!o.nU){if(o.Q.lp()||v.cs>v.1q.h){O(o.1X,{"1m":"2r","1f":"2t","18":0,"2J":(v.cs*1)})}F{O(o.1X,{"1m":"2r","1f":"2t","18":0,"2J":(v.cs*1+v.1q.h*1)})}}}E 4r(){o.3r=-1;o.5C=L;o.ma=L;v.1X=26;v.mx=26;o.2u=26;o.1W=26;oh=L;oF=[];2u=[];if(K(o.Q)){o.Q.b8()}o.3d=26;if(K(o.1X)){o.1N.3k(o.1X);o.1X=26}o.3r=26;o.5C=L}};E Aj(){B 3e=-1;B pl=[];B 3z=[];B ex=[];B 1F=[];B 3I=[];B dF=[];B h=[];B j=0;B 6z=4;B aO=0;B 6m;B wK;B C=v.W;!C.dD?C.dD=\'3F\':\'\';!C.as?C.as=\'41\':\'\';B dD=(C.A0==1?C.dD:C.1p);B as=(C.A0==1?C.as:C.4p);if(v.W.6m>0&&!6m){if(1L pi!=="1J"){6m=1v pi(H)}}gB(".mO"+v.id+"6N::-3H-wa {X: "+3P(0.3*2G(C.Lp,1))+"Lq;}.mO"+v.id+"6N::-3H-wa-8S {2f:"+4L(C.4p,C.4g)+"}.mO"+v.id+"6N::-3H-wa-aX {2f:#"+C.5R+"}");C.9E=4;B lM="<2n X=\'"+(C.9E*2+2)+"\' 1c=\'"+(C.9E*1.2+1)+"\' 4c:4a=\'3G://46.w3.3S/7k/4a\' 4c=\'3G://46.w3.3S/4k/2n\' C=\'4s-3c:1U;4M:2N 0.2s 5x-4E;1m: 2r;2J: 50%;2E-2J:-"+((C.9E*1.2+2)/2)+"px;2g:"+(C.kL/2+C.9E/2)+"px\'><g><2B x1=\'1\' y1=\'1\' x2=\'"+(C.9E+1)+"\' y2=\'"+(C.9E*1.2)+"\' 3K=\'#"+dD+"\' 3K-X=\'1\' 3K-cw=\'3R\'/><2B x1=\'"+(C.9E+1)+"\' y1=\'"+(C.9E*1.2)+"\' x2=\'"+(C.9E*2+1)+"\' y2=\'1\' 3K=\'#"+dD+"\' 3K-X=\'1\' 3K-cw=\'3R\'/></g></2n>";if(o.1w){U(B i=0;i<6z;i++){3z[i]=1P("22");B Z=1P("22");O(3z[i],{"1m":"2r","1f":C.7Z,"1p":C.1p,"5r":"2Z","3W-h0":dG(C.3W),"2Q-6A":C.6Z+\'px\',"5k":2h});if(2z(C.kH)){O(3z[i],{"2Q":"43 6u "+3x(2G(C.l2,\'3F\'))})}o.1N.1M(3z[i]);1F[i]=1P("22");B fs=C.eB;if(C.zJ>0){fs=C.zJ;if(C.zN>0&&o.9c){fs=C.zN}}O(1F[i],{"2i":"4t","3W-3J":fs*2G(v.7x,1)});3z[i].1M(1F[i]);3I[i]=1P("22");O(3I[i],{"2i":"4t","4M":"1c 0.1s 5x-4E","3W-3J":C.e4*2G(v.7x,1),"5r-x":"2Z"});3I[i].eJ.8p("mO"+v.id+"6N");3I[i].1u("iY",wn,{dQ:L});3z[i].1M(3I[i])}o.a5==0?o.a5=o.3b:\'\';aD();8y(0)}E aD(){U(B i=0;i<6z;i++){3I[i].1R=\'\';1F[i].1R=\'\'}B kC=o.1w[o.a5];kR(kV(kC,0),0);kR(kV(kC,1),1);kR(kV(kC,2),2);kR(kV(kC,3),3);2x()}E kV(x,n){U(B i=0;i<n;i++){if(x){if(x.7d==\'\'){x=-1;1h}F if(o.1w[x.7d].7d!=-1){x=o.1w[x.7d]}}}J x}E kR(x,n){if(x){if(x==-1){ex[n]=L;3g(3z[n])}F{ex[n]=H;5T(3z[n]);B pl=[];pl.2F(x);U(B y in o.1w){if(o.1w.2o(y)){if(o.1w[y].7d==x.7d){pl.2F(o.1w[y])}}}B z=np(o.3b);if(6m){if(pl.R>v.W.6m+1){6m.8p(C,3I[n])}}U(B i=0;i<pl.R;i++){B 1A=1P("22");O(1A,{"2i":"4t","1m":"e7","6M":"4s","2M":BL(C.2M),"4M":"1p .1s 5x-4E","2M-2g":C.kL+(o.2R>cN?C.9E*3:0)});B ka=1P("22");O(ka,{"1m":"2r","1f":0,"18":0,"5k":-1,"X":"100%","1c":"100%","4M":"6t .2s 5x-4E,2f .2s 5x-4E"});fI(ka,i,C.4p,C.4g);if(i==0){O(1A,{\'1p\':dD})}F{O(1A,{"1p":C.1p})}if(z.I(pl[i].id)>-1&&i>0){O(1A,{"1p":C.5R});C.fF==1&&K(C.cM)?O(ka,{"7m":C.cM}):\'\';if(2z(C.m7)){O(1A,{"2f-8R":"3a-4C(5d(0, 0, 0, "+(1-C.m7*1)+") 0 0)"})}1A.eJ.8p(\'6I-\'+v.id+\'-cF-pl\')}1A.1R=pl[i].1F+(i==0&&o.2R>cN?lM:\'\');1A.5U("me",(i==0?\'vP\':\'\')+pl[i].id);if(i==0){if(z.I(pl[i].id)>-1||n>0){dF[n]=pl[i].id}F{1A.1R=(C.Kq!=1?\'...\':(C.AY?C.AY:\'\'))+lM}1F[n].1M(1A)}F{if(o.8K[pl[i].id]&&pl[i].id!=o.3b){wX(1A)}3I[n].1M(1A)}1A.1M(ka)}O(3I[n],{"1c":"2t"});h[n]=3I[n].2P;O(3I[n],{"1c":0});3z[n].1u("2q",8G);3z[n].1u("gh",5B);3z[n].1u("gj",5l)}}F{}}E fI(x,i,y,z){B ok;if(x){if(C.vq==1&&C.vK){O(x,{"2f":"3a-4C(to 18,"+4L(C.vK,z)+", "+4L((i==0?as:y),z)+")"});ok=H}if(!ok){O(x,{"2f-1p":4L((i==0?as:y),z)})}}}E np(id){B x=o.1w[id];B z=[];if(x){U(B i=0;i<6z;i++){z.2F(x.id);if(x.7d!=\'\'){x=o.1w[x.7d]}}}J z}E 8G(x){B z=x.3Y;B d=1v 6V();o.9D=d.9C();z.gY!=\'vA\'?z=z.3O:\'\';z.gY!=\'vA\'?z=z.3O:\'\';B y=z.3O.3O;B me=z.6r("me");if(me){if(me.I("vP")==0){B i=-1;y==3z[0]?i=0:\'\';y==3z[1]?i=1:\'\';y==3z[2]?i=2:\'\';df();if(i>-1){if(3e!=i){ki(i)}F{3e=-1}}}F{5T(1F[3e]);if(dF[3e]==me){df();if(3e>0){ki(3e-1);J}F{3e=-1}}F{dF[3e]=me}if(o.1w[me].4W){o.Q.xu(me);df();3e=-1;vM()}F{df();o.2c=1J;3e=-1;3v("1y","id:"+me)}}}hk()}E vM(){U(B y in o.1w){if(o.1w.2o(y)){if(o.1w[o.a5]){if(o.1w[y].7d==o.1w[o.a5].id){o.a5=o.1w[y].id;aD();if(o.1w[y].4W){if(3I[0].jd.R<2){vM()}F{ki(0)}}F{if(C.KE==1){B me=3I[0].jd[0].6r(\'me\');me?3v("1y","id:"+me):\'\'}F{ki(0)}}1h}}}}}E ki(i){O(3I[i],{"1c":"2t"});O(Bg(1F[i].jd[0]),{"2f-1p":4L(as,1)});O(1F[i].a8("2n")[0],{"2N":"1K(-1, -1)"});o.Q.aZ();3e=i}E df(){if(3e>-1){O(3I[3e],{"1c":0});O(3I[3e],{"2Q-1f":"1U"});O(Bg(1F[3e].jd[0]),{"2f-1p":4L(as,C.4g)});O(1F[3e].a8("2n")[0],{"2N":"1K(1, 1)"})}}E 5B(x){B y=x.3Y;B me=y.6r("me");B z=np(o.3b);B bg=Bg(y);if(me){if(2z(C.9K)){O(bg,{"6t":"cX("+(C.9K)+")"})}if(3e==-1||me.I("C3")==0){fI(bg,-1,as,1)}F{if(C.fF==1&&K(C.cM)&&me==dF[3e]){}F{if(2z(C.am)){fI(bg,-1,C.am,(C.8d>-1?C.8d:C.4g))}}}}}E 5l(x){B y=x.3Y;B me=y.6r("me");B z=np(o.3b);B bg=Bg(y);if(me){if(2z(C.9K)){O(bg,{"6t":"cX(1)"})}if(3e==-1||me.I("vP")==0){B yy=x.3Y.3O.3O;B i=-1;yy==3z[0]?i=0:\'\';yy==3z[1]?i=1:\'\';yy==3z[2]?i=2:\'\';fI(bg,-1,as,(3e==i?1:C.4g))}F{if(o.8K[me]&&me!=o.3b){wX(y)}if(C.fF==1&&K(C.cM)&&me==dF[3e]){}F{fI(bg,-1,C.4p,C.4g)}}}};E wn(e){}E 2x(){if(5w(3z[0])){B cT=0;U(B i=0;i<1F.R;i++){1F[i].2P>cT?cT=1F[i].2P:\'\'}aO=o.4j-cT-(o.4j>4n?v.1q.h+(o.4j>cN?60:30):0);if(cT>0){aO=2C.3R(aO/cT)*cT+(C.wP==1?2C.3R(aO/cT):0)-(o.4j<=4n?5:0)}if(aO>0){U(B i=0;i<6z;i++){if(3I[i].nv>aO){O(3I[i],{"5r-y":"6N","2E-2g":0,"5A-1c":aO})}F{O(3I[i],{"5r":"2Z","5A-1c":"1U"})}if(v.W.1m.I("2g")>-1){O(3z[i],{"2g":C.4f+yP(i)})}F{O(3z[i],{"18":C.4i});if(i>0){O(3z[i-1],{"18":C.4i+zE(i)})}}}}}}E zE(x){B y=0;U(B i=6z-1;i>=x;i--){y+=3z[i].28+(3z[i].28>0?C.4f:0)}J y}E yP(x){B y=0;U(B i=0;i<x;i++){y+=3z[i].28+(3z[i].28>0?C.4f:0)}J y}E 8y(x){U(B i=0;i<6z;i++){x==1&&ex[i]?5T(3z[i]):3g(3z[i])}}E oz(x){if(x>-1){if(3I[x].nv>aO){J H}}J L}E wX(x){O(x,{\'1p\':C.wY});if(C.x5==1){O(x,{\'1C-p0\':\'2B-yY\'})}if(C.jY>-1){O(x,{\'1E\':C.jY})}O(Bg(x),{\'2f-1p\':4L(C.pz,C.km>-1?C.km:C.4g)})}E Bg(x){if(x){J x.a8(\'4Z\')[0]}}G.oz=E(){J oz(3e)};G.yg=E(){8y(0);df();3e=-1};G.iS=E(){8y(1)};G.yA=E(){J 3e>-1};G.aD=E(){if(o.a5!=0){B hd=0;!5w(3z[0])?hd=1:\'\';aD();hd?8y(0):\'\'}};G.2x=E(){2K(wK);wK=1B(2x,3Z)};G.c4=E(){df();3e=-1};G.4r=E(){U(B i=0;i<6z;i++){3z[i].5M("2q",8G);3z[i].5M("gh",5B);3z[i].5M("gj",5l);3I[i].5M("iY",wn);o.1N.3k(3z[i]);o.2W=1J}}};o.LQ={"2t":"Авто","1y":"Пуск","4o":"Пауза","2I":"Стоп","2a":"Во весь экран","qr":"Выйти из полноэкранного режима","1g":"Настройки","2U":"Параметры","1I":"Громкость","5g":"Выключить звук","ac":"Включить звук","5v":"В ЭФИРЕ","W":"Плейлист","59":"Качество","6H":"Скачать","1X":"Субтитры","54":"Скорость","ez":"Обычная","2k":"ошибка","MY":"Включите звук","7i":"Аудио","dR":"ошибка загрузки","oY":"Очень низкое","jZ":"Низкое","kF":"Среднее","kz":"Высокое","td":"Высокое","6C":"Следующий","c7":"Предыдущий","2X":"Поделиться","DF":"Скопировано в буфер обмена","DK":"Реклама","7o":"Пропустить","Nh":"Пропустить через ","DG":"Перейти на сайт рекламодателя","f0":"Размер текста","bL":"Сдвиг по времени","f1":"Цвет текста","f3":"Цвет текста 2","hM":"Цвет фона","hY":"Прозрачность фона","hP":"Тень","oE":"Контур","hO":"Толщина текста","cs":"Отступ снизу","oB":"Сбросить","oH":"Загрузить","op":"Сон","hU":"Пропуск","wq":"Час","wr":"Минута","wt":"Секунда","CJ":"Да","CE":"Нет","of":"из","7C":"Пароль","Cw":"Ошибка воспроизведения на устройстве","AO":"Играет на устройстве","cY":"Канал","1K":"Масштаб","on":"Вкл.","6X":"Выкл.","uz":"Все сразу","fb":"кбит/с","mG":"Код","Y":"Ссылка","1p":"Цвет","z4":"Контраст","cX":"Яркость","f8":"Насыщенность","pF":"Сепия"};B 5z=E(x){B g1;B Nm;B 2Y;B 4U;B 4v;B q8;B g3=0;B bN;B wB=L;B wC;if(x.me!=1J&&x.mc!=1J&&x.1H!=1J&&x.to!=1J){if(x.17==26){if(x.1H.I("fO")>-1){x.to==0?x.17=0.5:x.17=0.2}F{x.17=0.20}}g1=Aq(x.5x);if(x.1H.I("1K")==-1){if(K(o.7A[x.me])){o.7A[x.me].uv()}o.7A[x.me]=G}if(x.1o==1){x.mc.1Y("2i",H)}2Y=x.1H.2A(\'|\');4v=7q(x.to).2A(\'|\');4U=1v cL();U(B i=0;i<2Y.R;i++){if(!4v[i]){4v[i]=4v[0]}if(2Y[i]=="fO"){4U[i]=x.mc.g("1E")}if(2Y[i]=="8b"){4U[i]=x.mc.C.1E}if(2Y[i]=="y"){4U[i]=x.mc.g("y")}if(2Y[i]=="x"){4U[i]=x.mc.g("x")}if(2Y[i]=="18"){4U[i]=2H(x.mc.C.18)}if(2Y[i]=="1f"){4U[i]=2H(x.mc.C.1f)}if(2Y[i]=="1K"){4U[i]=x.mc.g("3n")}if(2Y[i]=="6N"){4U[i]=x.mc.d9}if(2Y[i]=="l1"){4U[i]=x.mc.aF}if(2Y[i]=="3t"){4U[i]=x.mc.g("3t")}if(2Y[i]=="3n"){4U[i]=x.mc.g("3n")}if(2Y[i]=="X"){4U[i]=x.mc.g("X")}if(2Y[i]=="zd"){4U[i]=x.mc.28;4v[i]=2C.8H(4v[i]);x.me=="Ng"?1t("X",x.me,4U[i],4v[i],x.mc.28):\'\'}if(2Y[i]=="1c"){4U[i]=x.mc.g("1c")}if(2Y[i]=="ze"){4U[i]=x.mc.2P}4v[i]=z8(4v[i]);4U[i]=z8(4U[i])}bN=x.17*2h/g1.R;q8=g1.R;if(2Y.R==1&&4U[0]==4v[0]){af()}F{1B(oZ,2C.3R(bN))}}E oZ(){U(B i=0;i<2Y.R;i++){B 1A=4U[i]+(4v[i]-4U[i])*(g1[g3]?g1[g3]:0);wD(2Y[i],1A);if(2Y[i]=="y"){x.mc.1Y("1f",1A)}if(2Y[i]=="x"){x.mc.1Y("18",1A)}if(2Y[i]=="18"){x.mc.C.18=1A+"px"}if(2Y[i]=="1f"){x.mc.C.1f=1A+"px"}if(2Y[i]=="1K"){x.mc.1Y("1K",1A)}if(2Y[i]=="3t"){x.mc.1Y("3t",1A)}if(2Y[i]=="3n"){x.mc.1Y("3n",1A)}if(2Y[i]=="6N"){x.mc.d9=1A}if(2Y[i]=="l1"){x.mc.aF=1A}if(2Y[i]=="X"){x.mc.1Y("X",1A)}if(2Y[i]=="zd"){O(x.mc,{"X":1A})}if(2Y[i]=="1c"){x.mc.1Y("1c",1A)}if(2Y[i]=="ze"){O(x.mc,{"1c":1A})}}g3++;if(!wB){if(g3==q8){af()}F{wC=1B(oZ,2C.3R(bN))}}}E af(){wB=H;if(x.1j){if(2Y[0]=="8b"||2Y[0]=="18"){1j(x.mc)}F{x.mc.1Y("2i",L)}}if(x.1H.I("1K")==-1){o.7A[x.me]=26;4A o.7A[x.me]}U(B i=0;i<2Y.R;i++){wD(2Y[i],4v[i])}2K(wC)};E wD(y,z){if(y=="fO"){x.mc.1Y("1E",z)}if(y=="8b"){x.mc.C.1E=z}}G.uv=E(){af()};G.zR=E(){g3=q8-1;oZ();af()};G.XY=E(x0,x1,y0,y1){B e=L;U(B i=0;i<2Y.R;i++){if(2Y[i]==\'x\'&&x0!=x1){e=H}if(2Y[i]==\'y\'&&y0!=y1){e=H}}e?af():\'\'};E Aq(CQ){aM(CQ){1k"CS":J[0,0.Na,0.N9,1.N8,1.N7,1.N6,1.102,0.N5,0.N3,0.87,0.N2,0.N0,1.Nf,1.Nx,1.NQ,1.NU,0.NV,0.NW,0.NX,0.NY,1.NR,1.CU,1.NZ,1.CU,1.O2,0.kE,0.pg,0.pg,0.pg,0.pg,1];1h;1k"cg":J[0,0.O4,0.O5,0.O6,0.O0,0.NP,0.NH,0.NO,0.NA,0.NB,0.NC,0.ND,0.NE,0.NF,0.Nz,0.NG,0.NI,0.NJ,0.CW,0.95,0.NK,0.NL,0.NM,0.NN,0.99,0.Ny,0.MX,0.kE,1];1h;7v:J[0,0.CV,0.32,0.44,0.52,0.6,0.67,0.73,0.Mb,0.82,0.85,0.Md,0.Me,0.CW,0.95,0.97,0.Mi,0.Mj,1];1h}}};B Eo=E(){B N=8h.Ml,ua=8h.M5,wI;B M=ua.wH(/(nX|hx|7n|CO|D0)\\/?\\s*(\\.?\\d+(\\.\\d+)*)/i);B M=ua.wH(/(nX|hx|7n|CO|D0|M4|ns)\\/?\\s*(\\.?\\d+(\\.\\d+)*)/i);if(M&&(wI=ua.wH(/7X\\/([\\.\\d]+)/i))!=26)M[2]=wI[1];B nE=8h.D6;G.bS=M?M[1]:N;G.7X=M?M[2]:8h.M2;G.h1=8h.D6>1;G.nX=G.bS=="LZ";G.sN=G.bS=="CY 9.0";G.ie=G.bS=="CY"||G.bS=="LX"||G.bS=="LW";G.ns=ua.bT(/(ns)\\/?\\s*/i)>-1;G.ff=G.bS=="LV";G.7n=G.bS=="LT";G.hx=1O.hx;G.oo=ua.bT("Mn NT")>-1;G.5b=(ua.bT(/(7R|j5|M7)\\/?\\s*/i)>-1)||(8h.Mo===\'MG\'&&nE>1);G.tv=v.CM!=1&&ua.bT(/(TV|MI|MK|ML|MM|MN|MH|MO)\\/?\\s*/i)>-1;G.lg=v.CM!=1&&ua.bT(/(LG)\\/?\\s*/i)>-1;G.7R=ua.bT(/(7R)\\/?\\s*/i)>-1;G.j5=G.5b&&!G.7R;G.3H=\'MV\'in 1V.mt.C;if(ua.bT(/(aA)\\/?\\s*/i)>-1){nE>0?G.aA=H:G.tv=H;if(MF(\'(4s:Mq)\').ME){G.tv=H}}G.2j=(G.5b||G.aA||(ua.bT(/(MB|Mz|nX ls)\\/?\\s*/i)>-1))&&!G.tv;G.vz=G.7n||G.hx;G.2a=L;if(G.5b){G.Mu=3P(ua.1n(ua.I(\'OS \')+3,4).1S(\'4D\',\'.\'));if(G.j5&&(!\'II\'in 1O||nE<2)){G.2j=G.5b=L;G.tv=H}}G.cK=!G.2j;G.Ed=G.2j||G.tv;G.Mr=G.3H&&G.cK;if(o.1N.yB||o.1N.yv||o.1N.yE||o.1N.yI||o.1N.yF){G.2a=H}};E a6(4x,7f){U(B s in 7f){if(1L(7f[s])==\'3M\'){if(s=="3c"||s=="3w"){4x[s]=7f[s]}F{U(B s2 in 7f[s]){if(1L(4x[s])!=\'3M\'){4x[s]={}}if(1L(7f[s][s2])==\'3M\'){U(B s3 in 7f[s][s2]){if(1L(4x[s][s2])!=\'3M\'){4x[s][s2]={}}if(1L(7f[s][s2][s3])==\'3M\'){U(B s4 in 7f[s][s2][s3]){if(1L(4x[s][s2][s3])!=\'3M\'){4x[s][s2][s3]={}}4x[s][s2][s3][s4]=7f[s][s2][s3][s4];if(s3==\'2M\'||s3==\'2E\'){4x[s][s2][s3][s4]=2H(4x[s][s2][s3][s4])}}}F{4x[s][s2][s3]=7f[s][s2][s3];if(s2==\'2M\'||s2==\'2E\'){4x[s][s2][s3]=2H(4x[s][s2][s3])}}}}F{4x[s][s2]=7f[s][s2];if(s==\'2M\'||s==\'2E\'){4x[s][s2]=2H(4x[s][s2])}}}}}F{if(s.I("SA")>0&&4N(7f[s])===""){}F{4x[s]=w0(s,7f[s])}}}J 4x};B w0=E(1a,5G){if(1L(5G)==\'5i\'){5G=4N(5G);if(1a.I("1p")>-1&&5G!=-1){5G=3x(5G)}}J 5G};E xQ(){3p{B 5L=1O[\'3U\'],x=\'SC\';5L.9q(x,x);5L.qm(x);J H}2V(e){J L}};E yz(aK){if(aK){if(K(o.7A[aK])){o.7A[aK].uv()}}};B 2L=E(x){B y=x;if(y){y=x.6F(0).ZY()+x.6O(1);if(y.I("4D")>-1){y=y.1S(/4D/ig," ")}}B en={"of":"of","fb":"fb","AO":"Cx on Cz","Cw":"Cx 2k on Cz","uz":"10k at 10l","7C":"l6","CE":"No","op":"10m","hU":"10n","CJ":"10o","cs":"10p 2E","hO":"10r j7","hP":"10i","hY":"aR 1E","hM":"aR 1p","f0":"uI 3J","f1":"uI 1p","f3":"uI 1p 2","bL":"4z hE","oB":"ZF","c7":"ZG","DF":"ZO to UJ","oY":"ZR","jZ":"ZT","kF":"10W","kz":"DI","td":"DI","lB":"HD","lz":"10Z HD","10w":"10x HD","tk":"10y HD","tj":"10z HD 4K","DK":"Ad","DG":"Go to 10U 10D\'s 10E","7i":"10v","5v":"10T","2a":"11a 2a","qr":"CZ 2a"};if(K(en[x])){y=en[x]}if(K(o[\'tW\'+v.nB])){if(K(o[\'tW\'+v.nB][x])){y=o[\'tW\'+v.nB][x]}}if(v.tY){if(v.tY[x]){y=v.tY[x]}}J y};B b6=E(x,y,z){if(!K(o.iX[y])&&v.t6!=1){B t=o.cj?o.cj:(v.1F?v.1F:\'\');K(v.7E)?t=v.7E:\'\';if(v.Db[x]==1&&v.zA==1&&K(v.i0)){if(x=="8e"){6R(D9,10V)}if(K(1O["pN"+v.i0])){1O["pN"+v.i0].BK(\'ub\'+x,{1F:t});1t("Dc",\'ub\'+x)}F{1t("Dc 10N 2k")}}if(v.Da[x]==1){if(v.ga==1){B bz;if(v.HT==1){if(1O.Dk){bz={\'7E\':t};if(v.ia){if(1L(v.ia)=="3M"){U(B g in v.ia){if(v.ia.2o(g)){bz[g]=v.ia[g]}}}}Dk(\'1d\',\'ub\'+x,bz)}}F{if(1O.ga){bz={HW:\'oK\',HV:y};if(t!=\'\'){bz.HU=t}if(v.Zz==1&&!o.9D){bz.Yq=1}ga(\'ue.ce\',\'1d\',bz)}}}}}z?o.iX[y]=H:\'\'};E D9(){if(K(1O["pN"+v.i0])){1O["pN"+v.i0].BK(\'Yu\')}};B ne=E(Y){B x=\'\';Y=Y.1S("v=","{=");if(Y){if(Y.I(\'mI.be/\')>-1){x=Y.1n(Y.I(".be/")+4);x.1S("/","")}F{x=Y.2A(/(mI.be\\/|v\\/|mG\\/|Yv\\?|4H.Yw\\/ue\\/[^#]*#([^\\/]*?\\/)*)\\??{?=?([^#\\&\\?]*)/)[3]}if(x!=\'\'){if(x.I("?t=")>0){v.1z=x.1n(x.I("?t=")+3);B h=0;B m=0;B s=0;if(v.1z.I("h")>0){h=v.1z.1n(0,v.1z.I("h"));v.1z=v.1z.1n(v.1z.I("h")+1)}if(v.1z.I("m")>0){m=v.1z.1n(0,v.1z.I("m"));v.1z=v.1z.1n(v.1z.I("m")+1)}if(v.1z.I("s")>0){s=v.1z.1n(0,v.1z.I("s"));v.1z=v.1z.1n(v.1z.I("s")+1)}if(h>0||m>0||s>0){v.1z=h*v1+m*60+s*1}}if(x.I("?")>0){x=x.1n(0,x.I("?"))}}}J x};B js=E(x,y,li,ev){if(x=="8e"){o.8e=H}if(ev==1){U(B yi in y){if(y.2o(yi)){if(1L(y[yi])=="3M"){y[yi]=\'\'}}}}if(v.pj==1&&o.8e){if(v.Yx==1||li==1){qS(x,y)}F{if(y!=1J){if(1L(y)==\'3M\'){3p{y=5f.xI(y)}2V(e){}}F{if(1L(y)==\'5i\'){y=y.1S(/\'/ig,\'′\')}}}if(1L(v.3c)==\'5i\'){if(v.3c.I("{")==0){3p{v.3c=v.3c.1S(/\\\'/ig,\'"\');v.3c=5f.6U(v.3c)}2V(e){dY.1t(e)}}}if(1L(v.3c)==\'3M\'){if(K(v.3c[x])||K(v.3c[\'uj\'])){B z=x;if(!K(v.3c[x])&&K(v.3c[\'uj\'])){z=\'uj\'}if(x.I("6f")==0){if(K(v.3c[\'1Z\'])){z=\'1Z\'}}3p{if(y!==1J){2l(v.3c[z]+"(\'"+x+"\',\'"+v.id+"\',\'"+y+"\')")}F{2l(v.3c[z]+"(\'"+x+"\',\'"+v.id+"\')")}}2V(e){1t("3c",e,x)}}}F{if(v.3c==\'\'){v.3c="Bs"}3p{if(y!==1J){2l(v.3c+"(\'"+x+"\',\'"+v.id+"\',\'"+y+"\')")}F{2l(v.3c+"(\'"+x+"\',\'"+v.id+"\')")}}2V(e){1t("3c",e,x,y)}}}}if(o.8e&&v.Al==1){if(o.Bt){3p{o.Bt.iE.oc({1d:x,92:y},"*")}2V(e){}}}if(v.I0==1&&li!==1){B zv={1d:x,17:o.P?(x=="4d"?o.yW:o.P.17()):0};if(y!=1J){zv["29"]=y}if(x=="1l"||x=="17"){zv["1l"]=o.P.1l()}if(x=="1I"||x=="ac"){zv["1I"]=v.1I}if(x=="1v"){zv["id"]=3v("C7")}1O.9S.oc(zv,\'*\');B z=x;x=="8e"||x=="1z"||x=="4u"?z=x+"ed":\'\';x=="1y"?z="YH":\'\';x=="4o"?z="8l":\'\';x=="5g"?z="3A":\'\';x=="ac"?z="YI":\'\';x=="4d"?z="YJ":\'\';x=="YA"?z="Yn":\'\';zv["1d"]=z;if(z!=\'\'&&z!=x){zv=5f.6U(5f.xI(zv));1O.9S.oc(zv,\'*\')}}};B qS=E(x,y){B ev=1V.Ym(\'7c\');if(y!==1J){ev.92=y}ev.Y3(x,H,H);o.1G.Y4(ev)};G.1d=E(x,y){o.3c[x]=y};G.3q=E(x,y,S){v.Y7==1?1t(\'3q\',x,y):\'\';J 3v(x,y,S)};E 3v(x,y,S){if(K(o.V)&&1L(x)==\'5i\'){if(o.uT==1){J}if(S){if(1L(S)==\'5i\'){if(S.I("id:")==0){S=o.Q.xe(S.1n(3),"4Q");if(S){if(x=="mw"&&y=="Y8"){S.Gy()}}}}}if(x=="1y"||x=="3w"){if(K(y)){B bh=L;if(1L(y)==\'5i\'){y=y.1S(/(\\r\\n|\\n|\\r)/gm,"");B 2c=-1;if(y.I("[4d:")>-1&&y.pD("]")==y.R-1){2c=y.1n(y.I("[4d:")+6,y.R-1);2c=2c.1n(0,2c.R-1);if(2c=="17"){2c=o.P.17()}F{2c=2H(2c)}y=y.1n(0,y.I("[4d:"));if(y==\'\'){o.V.3Q(2c);o.V.2D();J}F{o.2c=2c}}if(y.I("[Bv]")>-1){bh=H;y=y.1S(\'[Bv]\',\'\')}if(y.I("#"+v.ah)==0){y=o[o.fd[0]](y)}if(y.I("#"+v.bt)==0&&y.I(v.bA)>0){y=o[o.fd[1]](y)}if(y.I("#0")==0){y=c6(y)}if(v.bR==1){y=bR(y)}if(y.I(".9l")==y.R-4){B 4Y=eK(y);4Y.cv=E(){if(G.fN==4&&G.6S==4n){3p{3v(\'1y\',5f.6U(G.dl))}2V(e){}}};4Y.ce();J}if(y.I("id:")==0&&K(o.1w)){B z=Ca(y);if(K(o.1w[z])){o.Q.xu(z);2c>-1?o.2c=2c:\'\';J H}F{J L}}if(y.I("Y2:")==0){B z=y.1n(10);if(o.2m=="4H"){o.P.zo(z);J H}F{y=\'//mI.be/\'+z}}}if(x=="1y"){o.Q.Et();o.V.dy(y,1J,1J,(bh?1:0))}if(x=="3w"){o.q6=H;v.3i=0;o.V.dy(y,1,1J,(bh?1:0));o.Q.4b(0,0);o.1z=L}}F{if(x=="1y"){o.V.2D()}if(x=="3w"){1L Bw==\'E\'?Bw():\'\'}}}if(x=="dK"){y?o.P.zk(y):\'\'}if(x=="4J"){if(K(y)){o.q6=H;o.V.dy(y,1,1)}F{o.P.qY()}}if(x=="4o"){if(o.1y){o.V.3f();o.V.j1()}}if(x=="cY"&&K(y)){o.1z&&o.7U?o.7U.Bx(y):\'\'}if(x.I("Yf")==0){if(o.1Z){o.1Z.Yg(x.1n(6),y)}}if(x=="9U"){o.9U.lU();o.9U=1v ta();if(K(y)){o.9U.9l(y)}F{if(v.CR==1){o.9U.9l(v.Cs)}F{o.9U.9l("Yi a1")}if(v.zh==1&&K(v.zg)){o.e2=1v zf()}}}if(x=="7S"){!o.1z?o.Q.xl():\'\';o.Q.9a();o.Q.Ev("vg")}if(x=="hT"){o.1y?o.V.3f():o.V.2D()}if(x=="2I"){v.4J=0;v.3i=0;o.P.oa();o.V.aS()}if(x=="8j"){o.17=o.P.17();o.V.gb()}if(x=="6H"){if(v.9t){if(v.9t.on==1&&v.9t.Yj==1){o.V.iM()}}}if(x=="qH"&&K(y)){if(o.6o){o.6o.3q(y)}}if(x=="2X"){o.Q.FI()}if(x=="Yl"&&K(y)){if(v.1Z==1){if(y.I(\'js:\')==0){v.6B=y;v.h9=H;o.V.qy("6B")}F{if(o.p!=\'\'){B sv=5f.6U(dq(o.p));U(B l in sv){if(sv.2o(l)){if(K(sv[l].id)){if(y==sv[l].id){v.6B=\'YK\'+(K(sv[l][\'xc\'])?\'xc\'+sv[l][\'xc\']:\'\')+y+\'4D\'+sv[l].7B;v.h9=H;o.V.qy("6B")}}}}}}}}if(x=="Zd"){1L By=="E"?By(y):\'\'}if(x=="BC"&&y){v.BC=y;o.3o?o.3o.Zf():\'\'}if(x=="5g"){o.V.5e()}if(x=="54"){if(K(y)){o.V.8P(y)}F{J o.6c[o.9Z]}}if(x=="dU"){if(v.9t&&o.bu){if(v.9t.bu==1){J 2C.3R((o.bu.6t(Zg).R-1)/2C.3R(o.P.1l())*100)}}}if(x=="iG"){J o.6c}if(x=="ac"){o.V.6k()}if(x=="mx"){if(K(y)){v[x]=y;o.V.ir()}}if(x=="bO"){J o.2y}if(x=="z3"){J o.ab?H:L}if(x=="5v"){J o.P?o.P.62():L}if(x=="sE"){J v.8O==1?o.3d.6O(0,-1):o.3d}if(x=="cW"){J o.9I}if(x.I("1X:")==0&&y){v[x.1S(\'1F:\',\'4D\')]=y;o.V.j1()}if(x=="Zh"){J o.i8}if(x=="aP"){J o.7e}if(x=="1I"||x=="BH"){if(K(y)){if(1L y=="5i"){if(y.I("+")==0){y=v.1I+3P(y.1n(1))}F{if(y.I("-")==0){y=v.1I-3P(y.1n(1))}}}if(y>=0&&y<=1){o.V.42(y)}}J o.3A?0:v.1I}if(x=="3A"){J K(o.3A)?o.3A:L}if(x=="Zj"){o.Q?o.Q.EE(y):\'\'}if(x=="ep"){y<2?y=\'\':\'\';if(2z(o[\'u\'+y])){B x2=5f.6U(dq(o[\'u\'+y]));B v2=[];U(B l in v){if(v.2o(l)){if(l.I("9T")==0){v[l]=26}}}if(1L x2=="3M"){U(B k in x2){if(x2.2o(k)){if(k.I("9T")==0){v[k]=x2[k]}if(k=="1q"){v2[k]=x2[k]}}}}v=a6(v,v2);B ve=L;if(o.Q.ci()){o.Q.7H();ve=H}B vh=L;if(o.Q.jy()){o.Q.c0();vh=H}o.Q.4r();o.Q=26;o.Q=1v su();if(o.P.6S()=="7Q"){o.Q.2D()}o.Q.42(v.1I);if(K(v.1F)){a2(v.1F)}if(ve){o.Q.7H()}if(vh){o.Q.c0()}if(o.2a){o.Q.9f()}if(1a!=\'Hi\'){o.Q.4b(o.P.17(),o.P.1l())}aW()}}if(x=="mH"){J v.mH}if(x=="4X"){o.Q.4X(H)}if(x=="Zk"){o.Q.pC()}if(x=="FL"){aW()}if(x=="4d"){if(K(y)){if(1L y=="5i"){if(y.I("%")>-1){y=2H(y.1n(0,y.I("%")));y=o.P.1l()*y/100}F{B oQ=o.P.17();if(o.3o&&!o.1z){if(!o.3o.md){B f=o.3o.bo();if(f.t&&f.d){oQ=f.t;o.3o.md=H}}}if(y.I("+")==0){y=oQ+3P(y.1n(1))}F{if(y.I("-")==0){y=oQ-3P(y.1n(1))}}}}y=y*1;y<0?y=0:\'\';if(o.P.1l()>0){y>o.P.1l()?y=0:\'\'}if(!K(o.1Z)&&!K(o.5y)&&o.P.1l()>0){o.2c=1J;o.V.3Q(y,H);o.V.sz()}F{o.2c=y}}}if(x=="2a"){!o.2a?o.V.9f():\'\'}if(x=="qk"){o.2a?o.V.8F():\'\'}if(x=="Zc"){J o.2a}if(x=="3J"){J o.2R+\'/\'+o.4j}if(x=="Zm"){if(K(o.gQ)){o.gQ.Do()}}if(x=="E2"||x=="Zq"){if(K(o.gQ)){o.gQ.Un()}}if(x=="17"||x=="B8"){B h8=o.P?o.P.17():0;if(o.3o&&v.d3==1&&!o.1z&&h8==0){B f=o.3o.bo();if(f.t){h8=f.t}}J x=="B8"?eC(h8):h8}if(x=="Zt"){if(o.c8){3v("1y","id:"+o.c8)}if(o.B9){3v("4d",o.B9);3v("1y")}}if(x=="1l"){J o.P?o.P.1l():0}if(x=="8g"){J o.P?o.P.9J():0}if(x=="8x"){if(y){v.8x=y;o.Q.jV()}}if(x=="59"){if(K(y)){if(S){v.hd=ay(v.hd,y,S);if(o.2y.R==2){o.V.6a(v.hd)}}F{o.V.6a(y)}}F{J o.P?xN(o.P.tR()):0}}if(x=="7i"){if(K(y)){if(S){v.vm=ay(v.vm,y,S);if(o.7e.R==2){o.V.dn(v.vm)}}F{o.V.dn(y)}}F{J o.P?o.P.tG():0}}if(x=="Ba"){J o.2m=="4H"}if(x=="w5"){if(o.7h>0){o.oD=o.7h}o.V.dy(o.4l[o.mA])}if(x=="7Q"){J o.1y}if(x=="po"){J o.1z}if(x=="1i"){J o.1i[y]}if(x=="Bb"){o.uT!=1?o.P.ro():\'\'}if(x=="id"){J v.id}if(x=="1t"){v.1t=y}if(x=="pj"){v.pj=y}if(x=="2b"){o.P.DR()}if(x=="Z2"){o.P.A6();if(S){o.vo=ay(o.vo,y,S)}}if(x=="5W"){o.P.f4()}if(x=="9i"){o.P.eb()}if(x=="2U"&&v.t6!=1){dY.1t(2U)}if(x=="Z8"&&o.4m){o.4m.8e()}if(x=="1X"){if(K(y)){if(y==\'0/1\'){if(o.5C){o.vp=o.3r;y=-1}F{y=o.vp?o.vp:0}}v.1X=y;if(y.6n().R<3&&o.3X){o.3X.ap(y*1)}F{o.V.fM(y)}}F{J o.3d?o.3d[o.3r]:\'\'}}if(x=="+1X"&&v.1X){if(K(y)){v.1X+=\',\'+y;o.V.fM(v.1X)}}if(x=="bG"){if(K(o.bG)){if(K(y)){o.bG.3q(y)}F{J o.bG.Zs()}}}if(x=="y8"){if(o.Bh){J o.Bh}F{J L}}if(x=="9j"){J o.P.9j()}if(x=="6q"){B 6q=1P("22");6q.id=y;6q.C.5k=YL;o.1N.1M(6q)}if(x=="G0"){if(o.4I){B 5t=1P("5t");B 3J=o.P.3J();5t.X=3J.X>0?3J.X:o.b3;5t.1c=3J.1c>0?3J.1c:o.ca;O(5t,{"1m":"2r","1f":-5t.1c,"18":-5t.X,"2i":"1U"});1V.3I.1M(5t);B 9s=5t.Bj(\'2d\');9s.vv(o.P.9X(),0,0,5t.X,5t.1c);B 59=2;B hw=1V.1P("5t");hw.X=5t.X*59;hw.1c=5t.1c*59;B hf=hw.Bj("2d");hf.vv(o.P.9X(),0,0,5t.X*59,5t.1c*59);if(v.Y5==1&&K(v.vs)){!K(v.hg)?v.hg=20:\'\';!K(v.vr)?v.vr="3F":\'\';hf.3W=v.hg+"px YC, YB";hf.SB=3x(v.vr);hf.10X((v.vs=="h7"?o.h7:v.vs),v.hg,5t.1c*59-v.hg-5)}9s.vv(hw,0,0,5t.X,5t.1c);B 4h;3p{4h=5t.10F("8R/10A")}2V(e){dY.1t(e.a1);J L}J 4h}F{J L}}if(x=="3N"){J o.2m==x?o.P.lZ():1J}if(x=="1D"){J o.2m==x?o.P.l4():1J}if(x=="2e"){if(!o.1y||v.eS===0){o.P.9M(y);J H}F{J L}}if(x=="K3"){if(K(y)){y==\'1/0\'?y=1-2G(v.mP,0):\'\';v.mP=y;o.P.kG()}F{J 2G(v.mP,0)}}if(x=="1K"){if(K(y)){if(y==0){o.P.kG()}F{o.P.1K(y)}}F{J[o.3E.x,o.3E.y,o.3C.C.18,o.3C.C.1f]}}if(x=="1F"){if(K(y)){K(y)?v.1F=y:\'\';o.V.a2(\'1F\');J H}F{J v.1F}}if(x=="10K"){o.V.DO()}if(x=="2F"){if(y){!o.iw?o.iw=[]:\'\';if(1L(y)==\'3M\'){y=o.iw.an(y);x="W"}}}if(x=="W"){if(y){if(1L(y)==\'3M\'){3p{o.V.6h(y);J H}2V(e){J L}}F{if(y.I(".9l")==y.R-4||y.I(".9l?")>0){B 4Y=eK(y);4Y.cv=E(){if(G.fN==4&&G.6S==4n){3p{3v(\'W\',5f.6U(G.dl))}2V(e){}}};4Y.ce();J H}F{if(y==\'\'){o.V.6h([])}F{if(y==\'dU\'&&o.i8>0){B 1A=2C.3R(((o.va+(!o.Q.bI("dU")?o.P.17():0))/o.i8)*100);if(1A<o.uR||1A>100){J o.uR}F{o.uR=1A;J 1A}}}}}}}if(x=="6C"){o.Q?o.Q.bf():\'\'}if(x=="c7"){o.Q?o.Q.dS():\'\'}if(x=="6w"){o.Q?o.Q.kn(y):\'\'}if(x=="6w?"){J o.9W?[o.10Y,o.10t]:0}if(x=="eV"){o.P?o.P.eV():\'\'}if(x=="mm"){if(K(y)&&K(o.1w)){!o.1y?v.3i=0:\'\';U(B j in o.1w){if(o.1w.2o(j)){if(o.1w[j].dL==y){y=j}}}if(K(o.1w[y])){o.Q.EC(y);J H}F{J L}}}if(x=="ZP"){B 1A=[];if(K(o.1w)){U(B j in o.1w){if(o.1w[j].4W&&o.1w[j].rn==-1){1A.2F({1F:o.1w[j].1F,id:o.1w[j].id})}}}J 1A}if(x=="C7"){if(o.3b){J o.1w[o.3b].dL?o.1w[o.3b].dL:o.3b}}if(x=="ZI"){if(o.1w){J 7M.6v(o.1w).R}F{J-1}}if(x=="lF"){if(K(o.lF)){J o.lF}}if(x=="10b"){o.Q.jx(y)}if(x=="Yh"){o.P.kU()}if(x=="1q"){if(y=="on"){v.1q.1j=0}F if(y=="6X"){v.1q.1j=1;o.Q.fv()}F{o.Q.j8()}}if(x=="C8"){o.Q.7H()}if(x=="6s"){o[x]=H}if(x=="10d"){if(o.1Z){J H}F{J L}}if(x=="10e"){if(o.1Z){J Cc()}F{J L}}if(x=="10f"){if(o.1Z){J o.1Z.4o()}F{J L}}if(x=="10g"){if(o.1Z){J o.1Z.z2()}F{J L}}if(x=="10h"){if(o.1Z){o.1Z.ZV()}F{J L}}if(x=="ZU"){if(o.1Z){o.1Z.5g()}F{J L}}if(x=="6p"){if(S){v.6p=ay(v.6p,y,S);o.P.6p()}F{J v.6p}}if(x=="9k"){if(K(S)){v.9k=ay(v.9k,y,S)}F{if(K(y)){y==\'0/1\'?y=1-v.9k:\'\';v.9k=y}F{J v.9k}}}if(x=="5Q"){if(K(S)){v.5Q=ay(v.5Q,y,S)}F{if(K(y)){v.5Q=y}F{J v.5Q}}}if(x=="iy"||x=="nj"){B z="de";x=="nj"?z="ng":"";if(K(S)){v.W[z]=ay(v.W[z],y,S)}F{if(K(y)){y==\'0/1\'?y=1-v.W[z]:\'\';v.W[z]=y}}J v.W[z]}if(x=="hd"){if(o.2y.R==2){v.hd=o.2y[o.3l];v.hd=ay(v.hd,y,S);if(o.2y[0]==v.hd){o.V.6a(0)}F{o.V.6a(1)}}}if(x=="v"&&y){if(y.I(\'3w\')==0||y.I(\'bk\')==0){J}J v[y]}if(x.I("dr:")==0){B xx=x.1n(7);if(1L(y)==\'3M\'&&1L(v[xx])==\'3M\'){U(B yy in y){if(y.2o(yy)){v[xx][yy]=y[yy]}}}F{if(x.I(\'Hz\')==-1){v[xx]=y}}J H}if(x.I("1C:")==0){o.Q.FJ(x.1n(5),y)}if(v.EY==1&&x.I("1p")==0&&y){gB(\'4Z, 4Z > *{--6I\'+x+\':\'+3x(y)+\'}\')}if(x=="ZB"){J o.P?o.P.bY():\'\'}if(x=="ZC"){J o.7X+\' \'+o.jm}if(x=="jm"){J o.jm}if(x=="r4"){J o.r4}if(x=="C9"){J o.C9}if(x=="5H"){J o.5H}if(x=="10P"){J o.1Z?o.Ce:1J}if(x=="9L"){o.V.q0();v.1T.on=0;if(v.rC==1){U(B i=0;i<5a.R;i++){if(5a[i]){if(5a[i].3q("id")==v.id){5a[i]=26}}}}U(B w in 1O){if(1O[w]==o.G){1O[w]=26}}if(ej==v.id){ej=\'\'}o.uT=1;o.1G.1R=\'\';o.G=26}}F{J L}};E ay(x,y,S){B z=4N(y)+\'\';if(y){if(y.I("/")>0){B y2=y.2A("/");if(y2.R==2){if(x==4N(y2[0])){z=4N(y2[1]);if(S){S.bZ(1)}}F{z=4N(y2[0]);if(S){S.bZ(0)}}}}}J z}E eK(x){B 4Y=1v C1();4Y.3e(\'C2\',x,H);J 4Y}E Ca(y){B z=y.1n(3);if(o.1w){U(B j in o.1w){if(o.1w.2o(j)){if(o.1w[j].dL==z){z=j}}}}J z}E Cc(){B x;if(o.1Z){if(o.1Z.cF()){x=o.1Z}}if(!x&&o.5y){x=o.5y}if(x){B y={is:o.3V,1i:x.92("10C"),7X:x.92("7X"),10I:x.92("CN"),Y:o.CC+(x.92("Cd")?x.92("10J")+x.92("Cd"):\'\'),1H:x.92("10M"),1l:x.92("cr"),3w:x.92("3w"),17:(o.P?o.P.17():\'\'),1I:x.10S(),id:o.Ce};if(o.3V=="6B"){y.10O=o.YM}J y}}E y7(){if(\'fw\'in 8h){8h.fw.8J=1v Zx({1F:BV(2G(o.cj,v.1F)),Yr:[{2S:2G(v.2e,\'\')}]});if(!o.Cl){8h.fw.ll(\'1y\',E(){3v("1y")});8h.fw.ll(\'4o\',E(){3v("4o")});if(o.Q.eZ()){8h.fw.ll(\'Ys\',E(){3v("c7")});8h.fw.ll(\'Yp\',E(){3v("6C")})}o.Cl=H}}}B 1P=E(x){B y=x;x==\'22\'||x==\'v8\'?y=\'4Z\':\'\';B z=1V.1P(y);if(x==\'v8\'){O(z,{"6M":"4s","2i":"4t"})}J z};B 1t=E(a,b,c,d,e,f,g){if(v.1t==1||v.uY==1){B x=a+(b!=1J?" "+b:"")+(c!=1J?" "+c:"")+(d!=1J?" "+d:"")+(e!=1J?" "+e:"")+(f!=1J?" "+f:"")+(g!=1J?" "+g:"");dY.1t("Cm"+(v.wm==1?"2":"")+": "+x);if(v.uY==1&&K(1V.8A("Cp"))){1V.8A("Cp").1R+=x+\'<br/>\'}}};B HS=E(){if(v.v5==1&&K(v.v0)&&v.v0!=\'\'){B x=1V.1P(\'gl\');x.Cg=\'Yc\';x.9g=\'jW://v5.Y6.8M/O?h0=\'+v.v0.1S(/,/ig,"|").1S(/ /ig,"+");1V.C3.1M(x)}};B H8=E(22,6Q){B x=["wz","gp","o3","k1","d6","Ze"];U(B y=0;y<x.R;y++){B z=22.wy("2n "+x[y]);if(z.R>0){U(B y2=0;y2<z.R;y2++){z[y2].C.6i=6Q}}}};B hk=E(){if(v.9t){if(v.9t.Zi==1){js("2q")}}};B 4z=E(17){17<0?17=0:\'\';B BO=o.P.1l>=g9?H:L;B BN=o.P.1l>=v1?H:L;B 6D=2C.8H(17/60);B 7O=2C.8H(17-6D*60);B 8m=2C.8H(6D/60);B jq=2C.8H(8m/24);6D=6D-8m*60;if(jq>0){8m=8m-jq*24}if(v.lk==1&&o.P.62()){B d=1v 6V();J 7q(1v 6V(d.9C()+17*2h).BS())}F{J 7q((jq>0?jq+\':\':\'\')+(8m>0||BN?8m+\':\':\'\')+((8m>0||BO)&&6D<10?\'0\':\'\')+6D+\':\'+(7O<10?\'0\':\'\')+7O)}};B eC=E(x){B 7O=2C.8H(x);B 6D=2C.8H(7O/60);B 8m=2C.8H(6D/60);6D=2C.8H(6D%60);7O=2C.8H(7O%60);8m>0&&6D<10?6D="0"+6D:"";7O=7O>=0?((7O>=10)?7O:"0"+7O):"bH";B 4E=(8m>0?8m+":":"")+(6D>=0?6D:"0")+":"+7O;if(v.lk==1&&o.P.62()){B d=1v 6V();J 7q(1v 6V(d.9C()+x*2h).BS())}F{J 4E}};B DX=E(){J DV((1O.7Y!=1O.9S.7Y)?1V.mu:1V.7Y.9g)};B xN=E(x){if(x){x=x.6n();B v4=x.I(" <7t C=\'1E");if(v4>-1){x=x.1n(0,v4)}}J x};B uB=E(x,y,z){B t;if(!BW(x)&&y){t=1V.1P(\'m6\');y=="Z1"?y=x:\'\';t.2S=y.I(\'//\')==-1?\'jW://\'+y:y;t.Z3=1;if(z){t.6x=z}B s=1V.a8(\'m6\')[0];s.3O.v6(t,s)}J t};B BV=E(x){if(x){x=x.1S(/<[^>]*>?/gm,\'\')}J x};B BW=E(y){B x=L;B lA=1V.a8(\'m6\');U(B i=0;i<lA.R;i++){if(lA[i].2S.I(y)>-1){x=H}}J x};B 4L=E(x,y){if(x){if(x.I(\'1p\')>-1||x.I(\'B\')>-1){J 3x(x)}F{x=x.1S(\'#\',\'\');B r=2H(x.R==3?x.6O(0,1).gt(2):x.6O(0,2),16);B g=2H(x.R==3?x.6O(1,2).gt(2):x.6O(2,4),16);B b=2H(x.R==3?x.6O(2,3).gt(2):x.6O(4,6),16);if(K(y)){J\'5d(\'+r+\', \'+g+\', \'+b+\', \'+y+\')\'}F{J\'BX(\'+r+\', \'+g+\', \'+b+\')\'}}}};B O=E(e,o){if(K(e)){U(B 1a in o){if(o.2o(1a)){if(o[1a]!=\'Z7\'&&o[1a]!=1J){if(1L o[1a]==\'Z6\'&&1a!=\'1E\'&&1a!=\'5k\'){o[1a]+=\'px\'}if(1a.I("Z5")>-1&&1a.I("F4")==-1){o[1a]=3x(o[1a])}if(1a=="2N"||1a.I("jU")>-1){e.C[\'-ms-\'+1a]=o[1a];e.C[\'-n4-\'+1a]=o[1a];e.C[\'-3H-\'+1a]=o[1a];e.C[\'-o-\'+1a]=o[1a]}if(1a=="uq"){if(o[1a].I(" ")>-1){o[1a]=\'"\'+o[1a]+\'"\'}}if(1a=="6q-hm"){e.C.Z4(1a,o[1a],\'5Y\')}F{e.C[1a]=o[1a]}}}}}};B x6=E(x,6Q,b1,b2){6Q=3x(6Q);B y=2G(b1,1)*1;B z=2G(b2,1)*1;O(x,{"2f":"Z0-3a-4C(-YZ,"+6Q+","+6Q+" "+y+"px,5d(0,0,0,0),"+y+"px,5d(0,0,0,0) "+(y+z)+"px)"})};B 3x=E(c){if(c){c.I("1p")==0?c=\'B(--6I\'+c+\')\':\'\';J c.1n(0,1)!=\'#\'&&c.I("B")==-1&&c.I("BX")==-1?c="#"+c:c}F{J\'#gN\'}};B H3=E(x,1p,y){!1p?1p=\'#gN\':\'\';1p=3x(1p);B r=5S(mf,YN);x=x.1S(/\\(At\\)/g,r);x=x.1S(/\\(1p\\)/g,1p);x=x.1S(/\\(iq\\)/g,1+(v.YV.1K-1)/2);B BZ=x.1n(0,x.I(\'|||\'));B xb=x.1n(x.I(\'|||\')+3);B bm=\'\';if(o.1i.3H){bm=xb.1S(/5Z:/g,"-3H-5Z:");bm=bm.1S(/5Z-/g,"-3H-5Z-");bm=bm.1S(/@BY/g,"@-3H-BY");bm=bm.1S(/2N/g,"-3H-2N")}y?y.1R=BZ:\'\';gB(bm+xb)};B 6Y=E(x,y,f){B z=L;if(x){U(B i=0;i<x.R;i++){if(x[i]){if(f){if(3P(y)==3P(x[i])){z=i;1h}}F{if(7q(x[i]).I(y)>-1){z=H}}}}}J z};B gB=E(x){if(o.O){if(o.O.C0){o.O.C0.YY=x}F{o.O.1M(1V.Ee(x))}}};B fJ=E(x){O(x,{"1m":"2r","1f":0,"18":0,"X":"100%","1c":"100%"})};B f9=E(x){O(x,{"a4":"1U"})};B 4Y=E(y,z){B x=1v C1();x.3e(\'C2\',y,H);x.cv=z;x.ce()};B Zu=E(x){if(x){U(B i=0;i<5;i++){if(x.Zo=="vA"){1h}F{if(x.yX){x=x.yX}}}}J x};B 9x=E(z){B 9x=1V.1P("4h");if(o.mX.I(z)>-1){o.mX.2F(z);if(z.I("?")>0){z=z+\'&\'+2C.5S()}F{z=z+\'?\'+2C.5S()}}F{o.mX.2F(z)}9x.5U(\'2S\',z);9x.5U(\'1c\',\'43\');9x.5U(\'X\',\'43\')};B 4e=E(e,o){U(B 1a in o){if(o.2o(1a)){e.5U(1a,o[1a])}}};B 9L=E(e){if(e){3p{e.3O.3k(e);e=26}2V(e){}}};B 5S=E(96,5A){J 2C.8H(Yk.R>1?(5A-96+1)*2C.5S()+96:(96+1)*2C.5S())};B mV=E(){J 2C.5S().6n(36).Y1(2,12)};B yd=E(x,y){x=7M.6v(x).Ye(E(4x,1a){if(1a!=y){4x[1a]=x[1a]}J 4x},{});J x};B 4N=E(x){if(1L x=="5i"){J x.1S(/^\\s+|\\s+$/gm,\'\')}F{J x}};B 6w=E(x,y,z){B r=L;if(x){if(x.I(y)>-1){B r=x.1n(x.I(y)+y.R);if(z){if(r.I(z)>-1){r=r.1n(0,r.I(z))}}}}J r};B Y9=E(x,n){if(n==0){J"#0"+d2.e(x)}if(n==-1){J d2.e(x)}if(n==1){J"#1"+xr(d2.e(x),1)}};B tD=E(x){if(v[x]!=""){if(1L v[x]!="5i"){o[x+\'o\']=v[x]}F{if(v[x].I("[{")==0){3p{v[x]=v[x].1S(/6I\'qt/ig,\'"\');o[x+\'o\']=2l(v[x])}2V(e){}}}}};B 6b=E(x){J 7q.yr(x)};B dq=E(x){if(x.1n(0,2)=="#1"){J d2.d(xr(x.1n(2),-1))}F if(x.1n(0,2)=="#0"){J d2.d(x.1n(2))}F{J x}};B rb=E(x){if(x){if(x.I(\'3G\')==-1&&x.I(\'.\')==-1&&x.R>100&&x.I(\'29:\')==-1){x=\'29:8R/vO;kx,\'+x}}J x};B 1j=E(x){x?x.C.5H="2Z":\'\'};B 1o=E(x){x?x.C.5H="4B":\'\'};B 3g=E(x){x?x.C.2i="1U":\'\'};B 5T=E(x){x?x.C.2i="4t":\'\'};B 5w=E(x){J x?x.C.5H!="2Z"&&x.C.2i!="1U":L};B 5h=E(s){if(1L s=="5i"){if(s.I("px")>0){s=s.1n(0,s.I("px"))}}J 2H(s)};B 2Z=E(x){J x.C.2i=="1U"};B 4q=E(o,x,y){o[x+\'1f\']=0;o[x+\'2g\']=0;o[x+\'2J\']=0;o[x+\'18\']=0;if(K(o[y])){B z=o[y].2A(" ");if(z.R==4){o[x+\'1f\']=z[0]?3P(z[0]):0;o[x+\'2g\']=z[1]?3P(z[1]):0;o[x+\'2J\']=z[2]?3P(z[2]):0;o[x+\'18\']=z[3]?3P(z[3]):0}}J o};B BL=E(x){if(x){x=x.1S(/ /ig,\'px \')}J x+\'px\'};B mU=E(x,y){J v[x]&&v[x]!=\'\'?v[x]:y};B fg=7q.yr(65,66,67,68,69,70,71,72,73,74,75,76,77,97,98,99,100,101,102,103,104,105,106,107,108,109,78,79,80,81,82,83,84,85,86,87,88,89,90,110,111,112,113,114,115,116,117,118,119,tA,10R,10Q);B d2={b7:fg+"ZW+/=",e:E(e){B t="";B n,r,i,s,o,u,a;B f=0;e=d2.C6(e);nt(f<e.R){n=e.b4(f++);r=e.b4(f++);i=e.b4(f++);s=n>>2;o=(n&3)<<4|r>>4;u=(r&15)<<2|i>>6;a=i&63;if(rB(r)){u=a=64}F if(rB(i)){a=64}t=t+G.b7.6F(s)+G.b7.6F(o)+G.b7.6F(u)+G.b7.6F(a)}J t},d:E(e){B t="";B n,r,i;B s,o,u,a;B f=0;e=e.1S(/[^A-Za-z0-9\\+\\/\\=]/g,"");nt(f<e.R){s=G.b7.I(e.6F(f++));o=G.b7.I(e.6F(f++));u=G.b7.I(e.6F(f++));a=G.b7.I(e.6F(f++));n=s<<2|o>>4;r=(o&15)<<4|u>>2;i=(u&3)<<6|a;t=t+6b(n);if(u!=64){t=t+6b(r)}if(a!=64){t=t+6b(i)}}t=d2.Cb(t);J t},C6:E(e){e=e.1S(/\\r\\n/g,"\\n");B t="";U(B n=0;n<e.R;n++){B r=e.b4(n);if(r<jc){t+=6b(r)}F if(r>ZM&&r<ZL){t+=6b(r>>6|ZJ);t+=6b(r&63|jc)}F{t+=6b(r>>12|BJ);t+=6b(r>>6&63|jc);t+=6b(r&63|jc)}}J t},Cb:E(e){B t="";B n=0;B r=0;B c1=0;B c2=0;nt(n<e.R){r=e.b4(n);if(r<jc){t+=6b(r);n++}F if(r>ZH&&r<BJ){c2=e.b4(n+1);t+=6b((r&31)<<6|c2&63);n+=2}F{c2=e.b4(n+1);c3=e.b4(n+2);t+=6b((r&15)<<12|(c2&63)<<6|c3&63);n+=3}}J t}};B xr=E(s,n){s=s.1S(/\\+/g,"#");s=s.1S(/#/g,"+");B a=BI(o.y)*n;if(n<0)a+=fg.R/2;B r=fg.1n(a*2)+fg.1n(0,a*2);J s.1S(/[A-Za-z]/g,E(c){J r.6F(fg.I(c))})};B BI=E(x){x=x.2A(6b(61));B jG=\'\';B c1=6b(tA);B xg;U(B i in x){if(x.2o(i)){B xn=\'\';U(B j in x[i]){if(x[i].2o(j)){xn+=(x[i][j]==c1)?6b(49):6b(48)}}xg=2H(xn,2);jG+=6b(xg.6n(10))}}J jG.1n(0,jG.R-1)};B K=E(x){J x!=26&&1L(x)!=\'1J\'&&x!=\'1J\'};B 2G=E(x,y){J K(x)?x:y};B 2z=E(x){J K(x)&&x!=-1&&x!=\'\'};B vc=E(x,y){J 2z(x)?x:y};B nu=E(x){if(1L x=="3M"){x=5f.6U(5f.xI(x))}J x};B gd=E(el){B x=el.BF().18+(1O.Bz?1O.Bz:1O.XZ);J x};B dG=E(x){v.Uj==1&&2z(v.BG)?x=v.BG:\'\';J x};B jl=E(el){Uk k1=el.BF();J k1.1f+1O.Ul};B 7r=E(x,y){if(x!=\'\'){if(v.Um==1){1O.3e(x)}F{if(v.Uo==1){1O.9S.7Y.9g=x}F{1O.7Y.9g=x}}x=\'\'}};B xm=E(){if(v.4P==1){o.4P?o.1N.3k(o.4P):\'\';o.4P=26}};B F3=E(){B oO=L;if(o.1i.tv){1t("tv")}G.a2=E(x){o.Q?o.Q.1F(x):\'\'};G.6W=E(x){if(x){if(1L(x)==\'5i\'){x=x.1S(/(\\r\\n|\\n|\\r)/gm,"");if(x.I("[{")==0){3p{x=x.1S(/6I\'qt/ig,\'"\');x=5f.6U(x)}2V(e){x="DA 5f"}}}if(1L(x)==\'3M\'){o.1w=[];o.iw=nu(x);o.W=rE(x);if(o.W.R>0){if(v.W.Up==1&&!v.4R){B 6v=7M.6v(o.1w);B xF=6v.6O(-1)[0];xF?v.4R=xF:\'\'}B y=Di();if(y){x=y.3w;o.cj=y.1F;o.Q?o.Q.FX(y.1F):\'\';if(K(y.2e)){if(o.P){o.P.9M(y.2e)}F{v.2e=y.2e}}if(K(y.2u)){y.1X=y.2u}if(K(y.1z)){if(y.1z=="3o"&&!o.1z){}F{v.1z=o.2c=y.1z}}7I("Cr");if(K(y.id)){o.3b=y.id}B sx=["1X","mH","mG","Y","iL","Dr","hF","mx","7E","6H","8x","6g","4u","4A","Dg","c9","7o","8V","1I"];if(K(v.bW)){if(v.bW.Ui==1&&v.bW.lv==1){sx.2F("1F");sx.2F("t1");sx.2F("t2");sx.2F("t3");sx.2F("t4");sx.2F("t5")}}U(B i=0;i<sx.R;i++){if(K(y[sx[i]])){v[sx[i]]=y[sx[i]]}}ix(y);if(sx.I(\'1F\')>0){if(v.bW.G2==1){o.mF=v.bW.G1;o.V.oe(y)}o.V.a2(\'1F\')}if(K(y.1I)){1B(E(){o.V.42(y.1I)},4n)}if(o.Q){o.Q.6h(o.W);if(v.8V){o.Q.qG()}}if(o.2W){o.2W.aD()}}F{}}}if(1L(x)==\'5i\'){x=s6(x);if(x){if(x.I("#"+v.ah)==0){x=o[o.fd[0]](x)}if(x){if(x.I("#"+v.bt)==0&&x.I(v.bA)>0){x=o[o.fd[1]](x)}if(x.I("#0")==0){x=c6(x)}x=s6(x)}}if(v.bR==1){x=bR(x)}if(x==\'\'){1t("4V 3w");o.aE=H;js("2k","4V")}o.2y=[];o.8Q=[];o.7e=[];o.mA=0;o.3l=0;o.7h=0;o.a9=0;v.iI==\'\'?v.iI=\',\':\'\';if((x.I(v.iH)>-1&&x.I(v.ec)>-1)||K(v.bO)){o.4l=x.2A(v.iI)}F{o.4l=[x]}o.aP=[];if(K(v.bO)){B bO=v.bO.2A(v.iI)}if(o.4l.R>0){B q=-1;U(B i=0;i<o.4l.R;i++){o.4l[i]=4N(o.4l[i]);if(o.4l[i]!=\'\'){if(o.4l[i].I(v.iH)==0&&o.4l[i].I(v.ec)>1){o.2y[i]=o.4l[i].1n(o.4l[i].I(v.iH)+v.iH.R,o.4l[i].I(v.ec)-v.ec.R);o.4l[i]=o.4l[i].1n(o.4l[i].I(v.ec)+v.ec.R)}F{if(K(v.bO)){o.2y[i]=K(bO[i])?bO[i]:\'\'}F{o.2y[i]=i+1}}B is=0;if(K(v.4S)&&q==-1){if(7q(v.4S).I("mN:")==0){if(v.4S.1n(4)*1==i){is=1}}if(v.4S==o.2y[i]){is=1}if(v.4S=="5A"&&i==o.4l.R-1){is=1}}if(K(o.4S)){if(o.4S==o.2y[i]){is=1;q=i}}if(is==1){o.mA=i;o.3l=i}o.4l[i]=yb(o.4l[i])}}}F{o.4l[0]=yb(o.4l[0])}J o.4l[o.mA]}}F{J x}};E yb(x){if(K(v.nl)&&x.I("//")==-1){x=v.nl+x}J x};G.DO=E(){if(o.W){B x=o.W.DL();U(B i=0;i<x.R;i++){x[i].cD=i}o.W=x;o.Q.6h(o.W)}};E ix(y){B xA;U(B i=1;i<6;i++){B t="1C"+i;if(K(y[t])){v[t]=y[t];xA=H}}if(xA&&o.Q){o.Q.FK()}}G.ix=E(x){ix(x)};G.6h=E(x){if(1L(x)==\'3M\'){o.1w=[];o.iw=nu(x);o.W=rE(x);if(o.Q){o.Q.6h(o.W)}}};G.dy=E(x,y,z,no){!K(y)?o.3i=H:\'\';!K(z)?v.4J=0:\'\';v.1l=1J;v.4u=1J;!2U.4A?v.4A=1J:\'\';o.aE!=2?o.aE=L:\'\';o.8J=L;o.9i=L;o.aj=0;o.iX=[];o.sj=L;o.tx=L;o.JB=L;o.aa=1J;o.o6=[L,L,L];o.Ux=mV();o.FU=0;o.eY=0;o.bu?o.bu=[]:\'\';o.2m!=\'6I\'&&o.3X?o.3X.6g():\'\';o.CF?o.CF=[]:\'\';if(o.e2){o.e2.6g()}if(o.P.6S()=="7Q"){G.aS()}if(o.6w&&o.9W){o.Q.kn()}if(K(o.2X)){o.2X.4r()}if(K(o.cO)){2K(o.cO)}js("1v");if(v.1Z==1&&no!=1){o.V.fH();o.V.fH(\'6B\')}x=G.6W(x);if(y==1){o.2m=\'\'}o.P.6W(x);if((o.1i.2j||o.1i.7n)&&!K(y)){o.V.2D()}if(K(o.hS)){o.3E={x:1,y:1,x0:1,y0:1};o.P.kG()}b6("1y","2D");o.P.jS();o.Q.jI();o.Q.mj();o.Q.4F();o.gR?o.gR.JW():\'\'};G.oe=E(x){B y=L;if(x&&o.mF){v.1F=o.mF;U(B i=1;i<6;i++){if(K(x[\'t\'+i])){v.1F=v.1F.1S("{"+i+"}",x[\'t\'+i]);y=H}}}J y};G.er=E(){if(v.3i==1&&!v.B2||o.3i){if(v.ky==1){1B(E(){o.V.2D()},3Z)}F{G.2D()}v.B2=1;o.3i=L}ir()};G.ir=E(){ir()};E ir(){if(v.vy==1){if(1L D3!=="1J"){o.th=1v D3()}}}G.jS=E(){B x=L;if(o.1i.2j){x=H;if(v.Ej==1&&o.1i.7R){x=L}if(v.Eh==1&&o.1i.j5){x=L}if(v.El==1&&o.1i.5b){x=L}if(v.Uy==1&&o.1i.aA){x=L}}if(v.Uz==1&&o.1i.tv){x=H}J x};G.s7=E(){o.P.42(v.1I);if(o.3A){o.P.5e()}o.8J=H;o.Q?o.Q.4F():\'\';if(!o.1y&&!o.1z){v.6o==1?o.6o.3q("4o"):\'\'}if(o.5m&&o.4I){o.4m.CZ();o.4m.Go()}if(v.1Z==1){if(v.Ay!=1&&v.h9==1){!K(o.1Z)?lT("6B","8J"):\'\'}}};G.z7=E(){!o.ja?ai(H):\'\'};E ai(x){o.ja=H;if(o.Q){if(o.Q.ci()){o.Q.7H()}}if(o.2W){o.2W.c4()}!x?o.P.2D():\'\';if(!o.sj){1B(E(){o.P.jS()},3Z)}!o.1y?o.Q.2D():\'\';v.6o==1?o.6o.3q("1y"):\'\';v.1Z==1?o.V.fH(\'et\'):\'\';if(o.1i.2j){o.Q.fA()}if(K(o.2X)){o.2X.UB()?o.2X.yg():\'\'}if(v.Us==1&&K(v.hF)&&o.dt){if(v.hF!=\'\'&&!K(o.j0)){o.j0=6R(sa,v.z9*2h);sa()}}}G.2D=E(bh){if(!o.1y&&o.P){o.fL=H;o.lY=L;o.7V=L;2K(o.Dt);B 2I=L;if(o.2m=="4H"){if(!o.P.p4()&&v.3i!=1&&v.4J==1){2I=H;if(1O[\'YT\']){v.3i=1;o.3i=H;o.P.ro()}}}if(v.7C==1&&v.Aw==0){o.V.l6();2I=H}if(o.aE||2I){if(o.aE){8r("7B")?pV(2):\'\'}}F{o.q6=L;BA(!o.1z);o.9U.lU();if(!o.1z){js("1z");o.1z=H;if(v.1q.yq==1){1B(E(){o.Q.qM()},100)}if(v.1q.9u>0&&v.3i==1){o.eN=H;1B(xG,v.1q.9u*2h)}if(v.U7==1&&v.Uf){TZ()}U(B i=0;i<o.cQ.R;i++){if(v[\'FR\'+o.cQ[i]]==1){3U.9q("FQ"+o.cQ[i],6V.iP())}}if(v.U0==1&&v.U1){U2("1z")}if(o.3X){o.3X.1z()}js("1v");o.i7?o.Q.qg(o.i7):\'\';o.Q.xl();o.Q.4F();b6("1y","2D");o.1i.2j?y7():\'\';o.ab?b6("z3","U4",1):\'\'}F{b6("z2","U5")}if(v.zt==1&&!o.2a){B dd=1v 6V();B tt=dd.9C();if(tt-o.9D<dH){if(!o.1i.5b&&(v.zs!=1||o.1i.2j)){G.9f()}}}if(o.5C){if(v.xL==1){5T(o.1X)}}if(o.e2){o.e2.6g()}if(bh!=1&&8r("7B")||8r("7a")){pV(2)}F{if(v.7r==1&&K(v.zp)&&!K(2U.7r)){7r(v.zp);2I=H}if(!2I){1t("2D");o.P.1l()>0?o.Q.4b(o.P.17(),o.P.1l()):\'\';if(!o.xE){o.xE=H;if(v.1q.9u>0&&v.3i==1){o.eN=H;1B(xG,v.1q.9u*2h)}}B pk=L;if(o.P.17()>1&&v.lV==1&&bh!=1&&!8i()&&!K(o.1Z)&&!K(o.5y)){pk=8r("et")}if(pk){8i()?ai(L):\'\'}F{ai(L)}}}}}F{o.P?o.P.2D():\'\'}};E xG(){o.eN=L;o.Q.4F()}G.3f=E(){if(o.1y){o.fL=L;1t("3f");o.P.3f();o.Q.3f();js("4o");v.rA==1?8f():\'\';v.sP==1?pZ():\'\';v.6o==1?o.6o.3q("4o"):\'\';if(o.5C){if(v.xL==1){3g(o.1X)}}if(!K(o.1Z)&&!K(o.5y)&&v.lV==0){8r("et")}if(8i()){o.lY=H}o.ja=L}};G.5e=E(){o.P.5e();o.Q.5e();o.3A=H;js("5g")};G.6k=E(){o.P.6k();o.3A=L;o.Q.6k();o.P.42(v.1I);js("ac")};G.42=E(x,y){if(o.Q){x<0.Uc?x=0:\'\';x>1?x=1:\'\';if(x<=0){G.5e();v.1I=0;x=0}F{if(o.3A){G.6k()}v.1I=x}js("1I",x);o.Q.42(x,y);o.P.42(x)}};G.9a=E(){o.Q.9a()};G.7P=E(){o.Q?o.Q.7P():\'\'};G.Ud=E(){G.7P()};G.se=E(){o.V.6y();G.7P()};G.4b=E(17,1l){if(o.3o&&!o.1z){B f=o.3o.bo();if(f.t&&f.d){17=f.t}}o.Q?o.Q.4b(17,1l):\'\'};G.rI=E(17,1l){if(o.2c>0&&o.2m!="4H"&&!o.P.62()){o.V.3Q(o.2c,L);o.2c=1J}};G.gI=E(){B d=1v 6V();o.9D=d.9C();B x=L;if(o.Q.ci()&&v.1g.7F!=1){o.Q.aZ();x=H}if(o.2W){if(o.2W.yA()){o.2W.c4();x=H}}if(v.W.7F==0){if(o.Q.jy()&&v.W.eR==1){o.Q.c0();x=H}}if(v.7r==1&&K(v.yO)&&!K(2U.7r)){7r(v.yO);x=H}if(o.3A&&v.ln==1){o.V.6k();v.ln=0;x=H}if(!x){if(v.1T.on==1&&v.1T.2T==1&&v.1T.qx==1){7L(\'1y\',(o.1y?0:1))}G.8y()}};G.FD=E(){if(o.Q.ci()){o.Q.7H()}};G.8y=E(){if(o.P.6S()=="7Q"){js("FF");v.UC==1?G.q0():G.3f()}F{js("Fn");G.2D()}ag()};G.3Q=E(cG,k8){if(cG<o.P.1l()){if(v.fR.Uh==1){if(cG>o.P.17()){J}}if(v.4A>0){cG<v.4A?cG=v.4A:\'\'}1t("3Q");o.yW=cG;o.P.3Q(cG);if(k8){o.Q.3Q(cG,o.P.1l())}o.jH=H;o.fn=o.P.17();ag(o.fn)}};G.UZ=E(Y,3Y,yQ){if(o.P.6S()=="7Q"&&o.jb!=\'IQ\'){3f();if(o.2a&&yQ){o.V.8F()}}1O.3e(Y,3Y)};G.iM=E(){if(v.1Z==1&&!o.1z){if(8r("7B")){o.tz=H;J}}B x=o.P.bY();if(K(v.6H)){x=v.6H}if(x!=\'\'){js("6H");B oo=1O.3e(x,(v.V2==1?\'V3\':\'ya\'));oo.6s()}};G.6y=E(x){B 17=o.P.17();B 1l=o.P.1l();if(!o.1z&&o.2c>0){17=o.2c}o.Q.jf(17,1l,x)};G.sz=E(){B 17=o.P.17();B 1l=o.P.1l();B aQ=1l>0?17/1l:0;if(!o.jH){o.Q?o.Q.jf((o.2c>0?o.2c:17),1l):\'\'}F{17!=o.fn&&o.fn!=-9?o.jH=L:\'\'}if((v.ga==1||v.zA==1)&&1l>0){nH("yp","2D 25%",aQ,0.25);nH("yk","2D 50%",aQ,0.50);nH("yc","2D 75%",aQ,0.75)}U(B i=0;i<3;i++){if(!o.o6[i]){if(aQ>=i*0.25+0.25){zF(i)}}}v.ys==1?1t(1,17,1l):\'\';if(v.8j==1||v.yG>0){if(o.1y){B z=L;B pG=L;if(v.AC==1&&v.8j==1){if(!o.P.62()){z=H}}if(17>0){if(17==o.17&&!z){pG=H}F{o.aj=0}o.17=17}F{if(v.V8==1){B ld=o.P.9J();v.ys==1?1t(2,ld,o.pE):\'\';if(!z){if(ld==o.pE){pG=H}F{o.aj=0}}o.pE=ld}}if(pG){o.aj++;if(v.8j==1){v.ys==1?1t(3,o.aj):\'\';if(o.aj==v.rN*(2h/o.mL)){o.V.gb()}}F if(v.yG>0&&o.P.IV()>1){if(o.aj==v.yG*(2h/o.mL)){o.P.5X(\'OR qK\')}}}}}if(v.9t){if(v.9t.bu==1&&1l>0){!o.bu?o.bu=[]:\'\';o.bu[2C.3R(17)]=1}}if(v.1Z==1){if(v.Ay!=1&&v.h9==1){!K(o.1Z)?lT("6B",17,1l):\'\'}if(v.Vc!=1&&v.r3==1){!K(o.1Z)?lT("gC",17,1l):\'\'}}if(v.AX==1&&v.xY>0){if(17>=v.xY){if(!K(o.1Z)){if(8r("7a")){o.P.3f();o.Q.3f()}v.xY=0}}}7I("1y");if(v.7C==1&&v.Aw>-1){Vd(17,1l)}if(o.5C){ag(17)}if(o.5L&&v.d3==1){if(o.3o){!o.2c?o.3o.qq(17,1l):\'\'}}if(o.9W){o.6w?o.6w.1y(17):\'\'}if(K(v.4u)){B ed=v.4u;if(6Y([v.4u],\'-\')){ed=1l}if(ed>0&&17>ed){if(o.2m=="4H"){o.P.3f();o.P.3Q(v.1z>0?v.1z:0)}F{o.P.oa();o.V.aS()}v.1z>0?o.2c=v.1z:\'\';o.V.os()}}if(K(v.6g)){B r1=v.6g.2A(",");U(B i=0;i<r1.R;i++){B r2=r1[i].2A("-");if(r2.R==2){if(17>r2[0]&&17<r2[1]){o.P.3Q(r2[1]*1+(o.1i.7n?1:0))}}}}if(v.Ve==1){if(1L Ao!=="1J"){Ao(17,aQ)}}};E zF(x){o.o6[x]=H;if(v.d3==1&&v.Ax==1&&v.AH==x){if(o.5L&&o.3b){o.3o?o.3o.V9(o.3b):\'\'}}}E nH(x,y,t,p){if(!K(o.iX[y])){if(t>p){b6(x,y,1)}}};G.gb=E(){o.aj=0;K(o.cO)?2K(o.cO):\'\';if(v.UO==1){js("8j")}F{o.2c>0||o.P.62()?\'\':o.2c=o.P.17()+(v.UX>0?1:0);B AS=o.Q.jy();js("8j");o.P.8j();AS&&v.W.eR==1?o.Q.jx():\'\'}};G.yV=E(){o.Q.jf(0,0);o.Q.xZ(0,0);o.V.4b(0,0);o.Q.7P()};G.tS=E(){if(o.P){B 17=o.P.9J();if(v.UG==1){js("9J",17)}B 1l=o.P.1l();o.Q?o.Q.xZ(17,1l):\'\'}};G.os=E(){js("UH");o.7V=H;if(v.9k==1){if(o.2m=="4H"){G.aS()}v.1Z==1?o.V.fH(\'7B\'):\'\';if(v.1z>0){o.V.3Q(v.1z)}G.2D()}F{if(o.P.62()||o.2m=="4H"){G.aS()}F{if(v.AZ==1){o.V.3Q((v.1z>0?v.1z:0),H);if(o.1i.ie){o.P.3f()}}}o.Q.8D();v.AX==1?v.UI=1:\'\';if(8r("ph")||8r("rK")){}F{af()}}};G.9f=E(){B 2I=L;B 2k=L;o.A9=L;o.b9=H;1B(E(){o.b9=L},hI);U(B x in o.7A){if(o.7A.2o(x)){if(K(o.7A[x])){3p{o.7A[x].zR()}2V(e){}}}}3p{o.d8=H;if(((o.1i.5b&&v.gH==1)||(o.1i.aA&&v.FC==1))&&o.4I&&!o.9I){B x=o.P.9X();if(x){if(x.UK){g4();2I=H}}}if(!2I){B oM;B y=o.1N;if((o.2m=="dm"||o.2m=="9N")&&o.1i.7R&&v.gH==1){o.P.i6();J}if(y.yv){o.8s=H;oM=y.yv({oq:"1j"});if(oM!==1J){oM.cq(E(){}).2V(E(2k){})}}F if(y.yB){y.yB({oq:"1j"});o.8s=H}F if(o.1N.yE){y.yE({oq:"1j"});o.8s=H}F if(y.yI){y.yI({oq:"1j"});o.8s=H}F if(y.yF){y.yF();o.8s=H}}}2V(e){2k=H;1t(e)}if(!o.8s&&!2I){if(o.1i.3H&&o.o7){g4()}F{G.tJ()}}if(!2k){1B(Ak,4n)}};E g4(){B x=o.P.9X();if(x){o.hr=H;o.P.AE();x.UQ();x.1u("UR",zL)}}E mW(){B x=o.P.9X();if(x){x.US()}};G.g4=E(){g4()};G.mW=E(){mW()};E Ak(){if(o.A9!=H){if(o.9h){o.P.eb()}if(v.1T.qF==1){pP(H);o.5u=H}v.6o==1?o.6o.3q("nM"):\'\';js("2a");b6("nM","9f",1)}};B d0;B 8v={x:0,y:0};E qp(e){if(o.2W){if(o.2W.oz()){J}}if(e.UV!=0){e.qe!=0?8v.x++:8v.x--;e.bP!=0?8v.y++:8v.y--;if((v.1T.zK==1||v.1T.zI==1)&&o.2a&&8v.y>8v.x){3L(d0);d0=6R(E(){8v={x:0,y:0};3L(d0)},2h)}F{o.9n=H;3L(d0);d0=6R(E(){o.9n=L;o.Q.4X();8v={x:0,y:0};3L(d0)},4k);o.Q.4X()}if(8v.x>8v.y){if(e.qe>0){o.V.42(3P(v.1I)-v.1T.iU/10,"no")}F{o.V.42(3P(v.1I)+v.1T.iU/10,"no")}}F{B st=(o.1i.oo?-v.1T.iU/10:v.1T.iU/10);if(v.1T.zI==1&&o.2a){o.P.1K((e.bP>0?st:-st))}F if(v.1T.zK==1&&o.2a){3v("4d",(e.bP>0?"+"+st*10:"-"+st*10))}F{o.V.42(3P(v.1I)+(e.bP>0?st:-st),"no");o.Q.j6()}}}}E zL(){if(o.1i.5b){o.P.AD();js("qk")}o.hr=L}G.tJ=E(){if(o.d8){o.2a=H;o.Q.9f();if(!o.8s){if(K(o.8q)){3p{O(o.8q,{\'X\':\'100%\',\'1c\':\'100%\',\'1m\':\'qW\',\'18\':0,\'1f\':0,\'5k\':"mf"})}2V(eq){}}O(o.1N,{\'X\':\'100%\',\'1c\':\'100%\',\'1m\':\'qW\',\'18\':0,\'1f\':0,\'5k\':"mf"});o.2R=o.1N.28;o.4j=o.1N.2P;3p{1V.3I.C.5r=\'2Z\';if(!K(o.W)){1V.uP=E(e){e.9O()}}}2V(eq){}}if(v.qR==1){O(o.1N,{\'7m\':\'#41\'})}if(v.ak==1&&o.1i.3H==1&&!o.1i.ff){B sw=1O.bx.X;B fz=1;U(B i=1;i<6;i++){if(sw>2h*i){fz=2G(v[\'ak\'+(2h*i)],i)}}if(fz>1){o.1N.C.As=fz;o.ak=fz;aW()}}if(o.2W){o.2W.c4()}ag();o.d8=L}};G.8F=E(){oO=H;if(1V.zO){1V.zO()}F if(1V.zS){1V.zS()}F if(1V.DP){1V.DP()}F if(1V.AP){1V.AP()}F if(1V.AQ){1V.AQ()}F if(1V.AT){1V.AT()}if(!o.8s){G.sr(L)}};G.JY=E(x,y){tn(x,y)};E tn(x,AV){if(K(o.1Z)&&!AV){o.lx=x}F{B 2I=L;B eu=o.8T/x;B ew=0;B nN={\'1c\':eu};if(v.TU==1){if(eu>o.91){eu=o.91;ew=o.8T/x;o.8T=nN[\'X\']=ew}}if(K(o.8q)&&v.I4!=1){3p{O(o.8q,nN)}2V(eq){2I=H;1t("e1 SY SZ")}}if(!2I){o.51=x;o.91=eu;if(o.51>0){O(o.1G,nN)}if(ew>0){js("X",ew)}js("1c",eu)}if(o.1Z&&!o.2a){o.4j=eu;if(ew>0){o.2R=ew}o.1Z.2x()}}};G.sr=E(x){if(oO||x){o.2a=L;o.hr=L;if(!o.8s){if(K(o.8q)){3p{O(o.8q,{\'1m\':\'lo\',\'18\':0,\'1f\':0,\'5k\':\'Ap\'});O(o.8q,o.I3);O(o.8q,{\'X\':o.b3,\'1c\':o.ca})}2V(eq){}}O(o.1N,{\'X\':o.b3,\'1c\':o.ca,\'1m\':\'2r\',\'18\':0,\'1f\':0,\'5k\':\'Ap\'});3p{1V.3I.C.5r=\'2t\';1V.uP=E(e){J H}}2V(eq){}}o.Q.8F();if(v.qR==1){O(o.1N,{\'7m\':v.pQ});if(v.e3==1){o.1N.C.7m=\'e3\'}F{O(o.1N,{\'7m\':v.pQ})}}if(o.ak>1){o.1N.C.As=1;o.ak=1;aW()}if(v.1T.qF==1){pP(L);o.5u=L}if(o.2W){o.2W.c4()}ag();o.nU?o.nU=L:\'\';o.Q.mE();oO=L;js("qk");o.8s=L;o.b9=L}};G.5u=E(x){v.1T.T7!=0?pP(x):\'\'};E pP(x){8v={x:0,y:0};if(x){1O.1u("iY",qp)}F{3L(d0);1O.5M("iY",qp)}}G.aS=E(x){v.4J=0;if(x!=1){o.Q.3f();o.V.yV()}F{}o.P.42(v.1I);if(o.Q.ci()){o.Q.7H()}if(o.3A){G.5e()}if(K(o.j0)){3L(o.j0);o.j0=26}ag(0);1t("2I");js("2I")};G.q0=E(){v.4J=0;v.3i=0;o.P.oa();o.V.aS()};G.6a=E(x){if(K(o.3l)){if(o.3l!=x){o.3l=x;if(v.xC==1){o.4S=o.2y[x];if(o.5L){3U.9q("yw",o.4S)}}o.P.6a(x);js("59",o.2y[x]);o.Q.xJ(x)}}};G.jJ=E(){o.Q?o.Q.jJ():\'\'};G.dn=E(x){if(K(o.7h)){if(o.7h!=x){o.7h=x;if(v.FS==1){o.bi=v.bi=o.7e[x];if(o.5L){3U.9q("y6",o.bi)}}o.P.dn(x);js("7i",x);o.Q.mg("7i")}}};G.8P=E(x,z){x==\'0.0\'?x=0.1:\'\';B y=x;7q(y).I(\'.\')>0?z=1:\'\';y=y*1;if(!z){y=x==o.dw?1:o.6c[x];o.9Z=x}y=3P(y);if(o.jF||z){o.jL=y;U(B i=0;i<o.6c.R;i++){if(y<=o.6c[i]*1){o.9Z=i;1h}}}if(o.5L&&v.Fk==1){3U.9q("Fj",y)}js("54",y);o.P.8P(y);o.Q.mg("54")};E ag(x){o.3X?o.3X.1o(K(x)?x:o.P.17()):\'\'};G.j1=E(){if(o.3X){ag();o.3X.C()}};G.fM=E(x){if(1L(j2)==\'E\'){!o.3X?o.3X=1v j2():\'\';o.3X.yJ(x)}};B 7l;B 9r;B lP;B 2p;E 8r(x){if(v["6f"+x+"zy"]>0&&o.5L){B tb=3U.6G("na"+x+"4D"+o.d);if(tb){B ct=1v 6V();o.9D=ct.9C();B zn=(ct.9C()-tb)/T9;if(zn<v["6f"+x+"zy"]){J L}}}if(v["6f"+x+"zu"]>0){if(o.P.1l()>0){if(o.P.1l()<v["6f"+x+"zu"]*60){if(v["6f"+x+"zi"]>0){v["6f"+x+"4D"+"Br"]=v["6f"+x+"zi"]}F{J L}}}}if(o.jn.I("8o")!=-1&&v.1Z==1&&!o.bh&&v[x+\'s\']==1){if(1L qZ=="1J"){J L}if(x=="7a"||x=="rK"){if(1L z5!=="1J"){2p=[];J z5(x)}}if(K(o.1Z)||K(o.5y)){if(!5w(o.qu)||8i(o.3V)){1t(\'ad bg\');J L}F{1t(\'ad iP\');J H}}F{if(K(v[x])){if(v[x].6n().I(".")>-1||v[x].6n().I(":")>-1||v[x].6n().I("[Tc]")>-1){js("Td",x);if(!8i(x)&&x!="gC"){1B(E(){o.1y||(o.5y==26&&o.1Z==26)?\'\':o.V.9a()},10);fx()}7l=0;9r=0;lP=x;2p=v[x].2A(" gX ");o.5D=[];o.sX=2p.R;n2();o.BP=1;o.nr=H;U(B i=0;i<2p.R;i++){2p[i]=2p[i].2A(" or ")}v[x.an("4D","jO")]=v[x];v[x]=26;o.3V=x;if(x!=\'gC\'){o.1Z=1v qZ()}o.5y=1v l7();U(B i=0;i<2p.R;i++){U(B j=0;j<2p[i].R;j++){B 7N=4N(2p[i][j]);if(7N.I("[50%]")>0){B 1A=5S(1,2);2p[i][j]=2p[i][j].1S("[50%]","");if(1A==2){2p[i][j]=\'\'}}}}if(v.sI==1){U(B i=0;i<2p.R;i++){B n=i==0?1:0;if(2p[i].R>n){U(B j=n;j<2p[i].R;j++){B 7N=4N(2p[i][j]);if(o.1i.sN){fy(7N)}F{1B(fy,i*100,7N)}}}}}if(2p[0][0]==\'\'){jD()}F{o.5y.l3(4N(2p[0][0]),x)}J H}F{J L}}F{J L}}}F{J L}};G.qy=E(x){8r(x)};E lT(w,x,d){if(K(o[w+\'o\'])&&v[w+\'s\']==1){B y;U(B i in o[w+\'o\']){if(o[w+\'o\'].2o(i)){if(!K(o[w+\'o\'][i].p1)&&K(o[w+\'o\'][i].17)&&K(o[w+\'o\'][i].1Z)){B z=o[w+\'o\'][i].17.6n();B ok=L;if(z){if(x=="8J"){if(z==x){ok=H}}F{if(z.I("%")>0){if(d>0){z=2H(z.1n(0,z.I("%")))*d/100}F{z=-1}}F{z=2H(z)}if(x>=z){if(v[\'6f\'+w+\'B1\']>0&&z>-1){if(x-z>=v[\'6f\'+w+\'B1\']){z=-1}}if(z>-1){ok=H}}}if(o[w+\'o\'][i].CX&&o.P.1l()>0){if(o.P.1l()<o[w+\'o\'][i].CX*1){o[w+\'o\'][i].p1=H;ok=L}}if(ok){y=o[w+\'o\'][i].1Z;v[w]=o[w+\'o\'][i].1Z;o[w+\'Te\']=o[w+\'o\'][i].17;o[w+\'T6\']=o[w+\'o\'][i].SV;if(8r(w)){o[w+\'o\'][i].p1=H;1h}}}}}}}};E le(){if(8i()){if(o.dv==0||v[\'6f\'+o.3V+\'SU\']==1){O(o.qu,{"1E":0,"5H":"2Z","1f":4k});1t(o.3V+" 1j");o.3V==\'6B\'?o.P.2D():\'\'}}}E 8i(z){B y=L;B x=[\'6B\',\'et\'];U(B i=0;i<x.R;i++){if(o.3V==x[i]||z==x[i]){if(v[\'6f\'+x[i]+\'SE\']==1){y=H}}}J y};G.8i=E(x){J 8i(x)};G.SF=E(x){x?\'\':lf();o.3V=="6B"?o.D5.2F(o.CC):\'\'};G.SG=E(){lf()};G.SH=E(){lf()};E lf(){if(8i()){if(o.1y){o.P.3f();o.Q.3f()}1t(o.3V+" 1o");O(o.qu,{"1E":1,"5H":"4B","1f":0});o.oI=1}if(o.hr&&!o.8s){mW()}F{if(v["6f"+o.3V+"ez"]==1&&o.2a){o.V.8F()}}};G.SJ=E(x){o.5y=26;o.oI=0;1t("8o 47",o.3V);js("SK",o.3V);if(x.1H=="gC"){B CI=1v SD(x);o.r3.2F(CI)}F{if(K(o.1Z)){if(v.4J==0&&v.SN==1&&o.P.17()==0&&o.P.1l()==0){v.4J=1;o.P.qY()}if((!o.1Z.SO()||x.CN)&&o.qU>0){1t("8o SQ");o.1Z.4r();o.1Z=26;o.1Z=1v qZ()}if(8i()){le()}F{if(o.1y){o.P.3f();o.Q.3f()}}o.qU++;if(o.nr&&v.dA>0){2K(o.dA);o.dA=1B(Dd,v.dA*2h*60);if(K(v.DC)){if(v.DC!=\'\'){o.hl?o.hl.6g():\'\';o.hl=1v ST()}}}o.nr=L;if(v.DH>0){1t("8o Tf");js("SW");1B(qf,v.DH*2h,x)}F{qf(x)}}F{1t("8o Tg")}}};E qf(x){o.1Z.Go(x)}E Dd(){if(K(o.1Z)){if(o.1Z.cF()&&o.dv==0){o.1Z.tE();1t("8o qK "+v.dA);2p=[];ch()}}}G.TE=E(){js(\'TF\',o.3V);1t("8o 2k");r5()};G.jD=E(){r5()};E r5(){B n=n2();1t("8o 6C "+!n);!n?jD():ch()};G.TG=E(x){if(v[o.3V+"sU"]){U(B i=0;i<3;i++){v[o.3V+"sU"]=v[o.3V+"sU"].1S(x+(i==0?\' gX \':(i==1?\' or \':\'\')),\'\')}}};E n2(){B x=L;if(o.3V){B 7K=v[\'6f\'+o.3V+\'4D\'+\'Br\'];B jw=v[\'6f\'+o.3V+\'4D\'+\'TH\'];if(jw||7K){if(jw>0&&o.tP>0){o.sX=jw;if(o.dv>=jw){x=H}}F{if(7K>0){o.sX=7K;if(o.dv>=7K){x=H}}}}}J x}E jD(){if(2p.R>0&&2p[7l]){if(9r<2p[7l].R-1){1t("8o TI");o.1Z?o.1Z.tE():\'\';le();9r++;B 7N=4N(2p[7l][9r]);B fQ=tB(7N);if(fQ==\'7o\'){o.5y=1v l7();o.5y.l3(7N,o.3V)}if(fQ==\'2k\'){jD()}}F{ch()}}F{ch()}}E tB(7N){B x=\'7o\';if(v.sI==1&&o.5D){B mm=L;B n=0;U(B i=0;i<o.5D.R;i++){if(o.5D[i].mR==0){if(o.5D[i].cI.Bo(7N)){o.5D[i].mR=1;B y=o.5D[i].cI.aN();if(y==\'47\'){o.5y=o.5D[i].cI;1t("8o Bo");o.5D[i].cI.gw();x=y}F{if(y==\'\'){x=\'ok\';1t("8o TJ");o.5y=o.5D[i].cI;o.5D[i].cI.TC()}if(y==\'2k\'){x=\'2k\'}}mm=H}if(mm&&o.5D[i].fC==0){n++;if(n<6){sK(o.5D[i])}F{1h}}}}}J x}G.TK=E(x,y){if(x!=\'\'){B z=7l;B sD=L;if(y){U(B j=0;j<2p.R;j++){2p[j]==y?z=j:\'\'}}if(2p.R==1){if(2p[0].R>1&&9r<2p[0].R-1&&2p[9r]){B C5=2p[9r].6O(1,99);2p[0].t8(9r+1,99);sD=H}}if(1L(x)=="3M"){U(B i=0;i<x.R;i++){2p.t8(z+i+1,0,[x[i]]);if(o.1i.sN){fy(x[i])}F{1B(fy,i*100,x[i])}}}F{if(1L(x)=="5i"){2p.2F([x]);fy(x)}}if(sD){2p[2p.R-1]=2p[2p.R-1].an(C5)}}};G.TP=E(x,y){if(x!=\'\'){B z=7l;if(y){U(B j=0;j<2p.R;j++){2p[j]==y?z=j:\'\'}}if(2p[z]){if(1L(x)=="3M"){U(B i=0;i<x.R;i++){2p[z].2F(x[i])}}F{if(1L(x)=="5i"){2p[z].2F(x)}}}}};G.ch=E(x){ch(x)};E fy(x){if(v.sI==1&&o.5D){B i=0;U(B i=0;i<2p.R;i++){if(2p[i]==x){if(7l>=i){J}F{}}}if(2p.R==1&&2p[0].R>1){}F{B n=0;U(i=0;i<o.5D.R;i++){o.5D[i].mR==0?n++:\'\'}o.5D.2F({fC:0,mR:0,x:4N(x),t:o.3V,cI:1v l7(H)});n<5?sK(o.5D[o.5D.R-1]):\'\'}}}E sK(x){if(x){x.fC=1;x.cI.l3(x.x,x.t)}}E ch(hn){B 2I=n2();1t("8o 6g ("+o.dv+")");if(2p.R>0&&7l==2p.R-1){if(2p[0][0].I("js:")==0){7l=-1;2p=[[2p[0][0]]]}}if(o.TL==2){2I=H}if(2p.R>7l+1&&!2I){o.1Z.tE();le();7l++;o.BP++;9r=0;B 7N=4N(2p[7l][0]);B fQ=tB(7N);if(fQ==\'7o\'){o.5y=1v l7();o.5y.l3(7N,lP)}if(fQ==\'2k\'){ch(hn)}}F{eL();o.Q.7P();if(K(o.1Z)){o.1Z.4r();o.1Z=26}o.5y=26;2p=[];9r=0;7l=0;o.oI=0;o.Co!=1?js("Tn",o.3V):\'\';o.Co=0;if(v.Tp==1){if(o.lO){3p{o.lO.qh()}2V(e){1t(o.lO,e)}o.lO=1J}}lP=\'\';o.dv=0;o.Cj=0;2K(o.dA);3L(o.Tu);o.hl?o.hl.6g():\'\';o.bw?o.bw.1j():\'\';o.tP++;if(o.3V=="7B"||(o.3V=="et"&&v.lV==1&&o.fL)||o.3V=="6B"){if(v.3w!=\'?\'){o.P.fX();B re;if(o.tz){o.V.iM();o.tz=L;re=H}if(o.2m=="4H"&&!o.tl&&o.1i.5b){re=H;o.3V=="7B"?o.P.A3():\'\'}if(re||hn==\'hn\'||v.Vi==1||o.lY){o.lY=L}F{o.V.2D(1)}}}if(o.lx>0){tn(o.lx);o.lx=0}if(o.3V=="ph"){af()}o.tl=L;o.3V=26}};G.X1=E(){2p=[[\'\']]};G.fH=E(y){B x=[\'7B\',\'et\',\'ph\',\'7a\',\'rK\'];B z;U(B i=0;i<x.R;i++){z=L;if(y){y!=x[i]?z=H:\'\'}if(!z&&K(v[x[i].an("4D","jO")])){v[\'6f\'+x[i].an("4D","B7")]--;if(v[\'6f\'+x[i].an("4D","B7")]>0){v[x[i]]=v[x[i].an("4D","jO")];v[x[i].an("4D","jO")]=26}}}if(y=="7B"||y=="6B"){if(v.rt>1){if(K(o.rs)&&v.h9==1){U(B i in o.rs){o.rs[i].p1=1J}v.rt--}}}};G.l6=E(){fx();if(K(o.7C)){o.7C.4r();o.7C=26}o.7C=1v X7()};G.X0=E(){eL();o.7C.4r();o.7C=26};G.fx=E(){fx()};G.eL=E(){eL()};E fx(){if(o.9P){}F{o.9P=1P("22");o.1N.1M(o.9P);fJ(o.9P);O(o.9P,{"2f":"#41","1E":0.1});o.9P.C.5k=Gc}};E eL(){if(o.9P){o.1N.3k(o.9P);o.9P=26}};E 8f(){if(K(o.2e)){B p=o.2a?2G(v.X8,v.2e):v.2e;if(p!=o.sd){9M(p,o.2e,v.gk)}1o(o.2e);O(o.2e,{"1E":v.nh});o.Q.4F();o.gU?o.gU.1y():\'\'}};G.g6=E(){if(K(o.2e)){if(5w(o.2e)){3L(o.rW);B t=o.P.17();if(t==0&&v.zB==1){}F{if(v.BE>0){2K(o.rz);o.rz=1B(pZ,v.BE*2h)}F{pZ()}}}}};E pZ(){2K(o.rz);if(v.rA==1&&!o.1y){}F{O(o.2e,{"1E":0});1B(BB,3Z)}}E BB(){if(!o.1y&&v.eS==1){}F{1j(o.2e);o.gU?o.gU.4o():\'\';o.Q.4F()}}G.8f=E(){8f()};E BA(x){if(v.rC==1){U(B i=0;i<5a.R;i++){if(5a[i]){if(5a[i].3q("id")!=v.id){5a[i].3q(\'4o\')}}}}ej=v.id}E rE(x){B y=7M.6v(x).R;o.i8=0;if(y>0){x=rc(x,y,\'\',-1)}J x}E rc(x,y,p,j){B x2=[];B 2I;if(K(x[\'W\'])){x=x[\'W\'];y=x.R}B ii=0;U(B i=0;i<y;i++){2I=L;if(K(x[i][\'id\'])){x[i][\'dL\']=x[i][\'id\']}x[i][\'id\']="x"+p+\'-\'+i+(K(x[i][\'id\'])?\'-\'+x[i][\'id\']:\'\');j==-1&&i==0&&!K(x[i][\'4W\'])?o.hV=x[i][\'id\']:\'\';if(!K(o.hV)){j==0&&!K(x[i][\'4W\'])?o.hV=x[i][\'id\']:\'\'}x[i][\'7d\']=p;x[i][\'rn\']=j;x[i][\'cD\']=ii;if(K(x[i][\'1l\'])){o.i8+=x[i][\'1l\']}if(K(x[i][\'Dl\'])){x[i][\'1F\']=x[i][\'Dl\'];B q1=x[i][\'3w\']?x[i][\'3w\'].I(\'[\'):0;B q2=x[i][\'3w\']?x[i][\'3w\'].I(\']\'):0;if(q1>0&&q2>0){B s1=x[i][\'3w\'].1n(q1+1,q2-q1-1);B s2=s1.2A(",");B s3=\'\';U(B k=0;k<s2.R;k++){s3+="["+s2[k]+"]"+x[i][\'3w\'].1S("["+s1+"]",s2[k])+(k<s2.R-1?",":\'\')}x[i][\'3w\']=s3}}if(K(x[i][\'W\'])){x[i][\'4W\']=x[i][\'W\']}if(!K(x[i][\'4W\'])){if(K(x[i][\'3w\'])){if(x[i][\'3w\']==\'\'&&!K(x[i][\'7r\'])){2I=H}}F{2I=H}}if(!2I){o.1w[x[i][\'id\']]=x[i];ii+=1}if(K(x[i][\'4W\'])){B z=7M.6v(x[i][\'4W\']).R;if(z>0){x[i][\'4W\']=rc(x[i][\'4W\'],z,x[i][\'id\'],i)}}if(!2I){x2.2F(x[i])}}J x2}E Di(){B x=[];if(K(v.4R)){if(v.4R.I("x-")!=0){U(B y in o.1w){if(o.1w.2o(y)){if(o.1w[y].dL==v.4R){v.4R=y}}}}if(K(o.1w[v.4R])){v.W.WP==1?v.W.uQ=0:\'\';x=o.1w[v.4R]}F{x=o.W[0];if(v.4R==o.De){o.2c=1J}}}F{x=o.W[0]}if(x){U(B i=0;i<10;i++){if(K(x[\'4W\'])){x=x[\'4W\'][0]}F{1h}}v.4R=x.id;if(v.4R==o.De&&x.1z!=\'3o\'){x.1z=1J}}J x}G.eM=E(){J eM()};E eM(){B x=L;if(o.Q){if(o.Q.eZ()){if((v.W.de==1||v.iy==1)&&o.Q.cd()){x=H}}}J x};E af(){b6("4u","af",1);o.V.fH();if(o.5L&&v.d3==1){o.3o.qq(0,o.P.1l())}if(o.Q.eZ()){if(eM()){if(K(v.W.Dj)){o.Dt=1B(E(){o.Q.bf()},v.W.Dj*2h)}F{o.Q.bf()}}F{ri()}}F{if(v.WH==1&&o.2a){o.V.8F()}rj()}}G.Du=E(){ri()};E ri(){if(v.W.ng==1&&!o.Q.cd()){o.Q.m9();J}if(v.W.GD==1){!o.Q.jy()?o.Q.c0():\'\'}rj()}E rj(){8f();js("WK");if(v.7r==1&&v.WL==1&&2z(v.DN)){7r(v.DN)}if(v.WN){if(1L DJ!=="1J"){!o.DM?o.DM=1v DJ():\'\'}}}E s6(x){if(x.I(\'js:\')==0){3p{x=2l(x.1n(3))}2V(e){dY.1t(e.a1)}}J x?x:\'\'}E sa(){B sb=2C.8H(6V.iP()/2h);B sc=(K(v.DE)?v.DE:0)+2H(o.P.17());B 1H=0;o.1i.cK?1H=1:\'\';o.1i.5b?1H=2:\'\';o.1i.aA?1H=3:\'\';o.1i.WQ?1H=4:\'\';o.1i.tv?1H=5:\'\';B Y=v.hF.1S("[sb]",sb);Y=Y.1S("[sc]",sc);Y=Y.1S("[WS]",1H);B 9x=1V.1P("4h");9x.5U(\'2S\',Y);9x.5U(\'1c\',\'43\');9x.5U(\'X\',\'43\');o.1N.1M(9x)}};B FH=E(Y){B Y;B 3T;B mQ;B 8n;B eI="";B ek=0;B ko=L;B ot=L;B sg;B P;B 3m;o.3E={x:1,y:1,x0:1,y0:1};B bc;B oL;B oA=0;B fk=0;B k4;if(1L(Y)==\'5i\'){Y=4N(Y);if(Y.I("[{")==0){3p{Y=Y.1S(/6I\'qt/ig,\'"\');Y=5f.6U(Y);bc?Y=o.V.6W(Y):\'\'}2V(e){dY.1t(e);Y="DA 5f"}}if(Y.I("#"+v.ah)==0){Y=o[o.fd[0]](Y)}if(Y){if(Y.I("#"+v.bt)==0&&Y.I(v.bA)>0){Y=o[o.fd[1]](Y)}}if(Y){if(Y.I("#0")==0){if(Y.I(o.d5)>0){Y=c6(Y.1S(o.d5,\'\'))+o.d5}F{Y=c6(Y)}}}if(v.bR==1){Y=bR(Y)}if(1L(Y)==\'5i\'){if(Y.I(".aY")==Y.R-4||Y.I(".9l")>0){oL=Y.2A(" or ");rR()}}}o.3C=1P("22");fJ(o.3C);O(o.3C,{"4M":"2N 0.2s 3a","1C-8w":"8t"});o.1N.1M(o.3C);if(v.1T.Dx==1){if(!o.rO){qC(o.3C,\'o.Dx\',v.1T.i3!=1,v.1T.i3==1,CH);o.rO=H}}if(!bc){bd()}E CH(){B p=o.3C.iJ;B p2=o.2R;if(v.1T.i3==1){p=o.3C.CG;p2=o.4j}B x;if(p>p2*2G(v.1T.CD,0.5)){if(o.Q.fE()){x=H;o.Q.dS()}}F{if(p<-p2*2G(v.1T.CD,0.5)){if(o.Q.cd()){x=H;o.Q.bf()}}}if(x){if(v.1T.i3==1){O(o.3C,{"1f":0})}F{O(o.3C,{"18":0})}}F{1v 5z({mc:o.3C,1H:(v.1T.i3==1?"1f":"18"),to:0,17:0.1,5x:"FZ",me:"rO"})}}E rR(){Y=oL[oA];if(Y.I(o.d5)>0){Y=Y.1S(o.d5,\'\');v.3w=Y}B 4Y=eK(Y);4Y.cv=E(){if(G.fN==4&&G.6S==4n){c0(G);o.Q.Fm()}F{qa(1)}};4Y.rP=E(e){qa(1)};4Y.ce();bc=H}E qa(x){if(oA+1<oL.R){oA++;rR();x=0}if(x==1){5X("W gr nQ or Cu CL")}if(x==2){5X("XI 5f")}}E c0(x){if(x.dl){B y=x.dl;if(y.I("#"+v.ah)==0){y=o[o.fd[0]](y)}if(y.I("#"+v.bt)==0&&y.I(v.bA)>0){y=o[o.fd[1]](y)}if(Y.I(".aY")==Y.R-4){B aY=y.2A(/(\\r\\n\\t|\\n|\\r\\t)/gm);Y=[];B rX=1;B hu=\'\';U(B i=0;i<aY.R;i++){if(aY[i].I("#XJ")>-1){if(aY[i].I(" - ")>-1){B 1A=aY[i].2A(" - ");hu=1A[1A.R-1]}}if(aY[i].I("3G")>-1){Y.2F({1F:""+(hu!=\'\'?hu:rX),3w:aY[i]});rX++;hu=\'\'}}}F{y=y.1S(/(\\r\\n\\t|\\n|\\r\\t)/gm,"");3p{Y=5f.6U(y)}2V(e){qa(2)}}if(o.Q){if(v.W.lq==1){o.Q.jx(2)}}bd();aW();1B(E(){js("W")},1)}}E bd(){Y=o.V.6W(Y);Y&&Y!=\'?\'?6W(Y):\'\'}E 5X(x,D4){B y=H;B yy=H;js("XM",x);if(D4!=1&&v.8j==1&&v.rM==1){rV();J}if(3T){if(o.1y||o.fL||(v.3i==1&&!o.1z)){if(3T.R>0){8n++;y=8n>3T.R-1;if(y&&3T.R>1&&v.eY>0){if(o.eY<v.eY){8n=0;y=L}o.eY++}if(y&&v.XG==1){if(o.4l.R>1){if(o.2y[o.3l].I(2L("dR"))==-1){o.2y[o.3l]=o.2y[o.3l]+\' (\'+2L("dR")+\')\'}if(o.3l>0){yy=L;o.V.6a(o.3l-1);kX()}F{if(o.2y[o.3l+1].I(2L("dR"))==-1){yy=L;o.V.6a(o.3l+1);kX()}}}}if(!y){B z=L;o.2c>0||!o.1z||P.62()?\'\':o.2c=4z();if(o.2m!=lm(3T[8n])||o.2m!=\'cW\'){if(o.1y){o.V.aS(1);z=H}}if(v.pn>0){2K(o.kZ);o.kZ=1B(p3,v.pn*2h)}F{p3()}}F{if(v.8j==1&&yy&&v.rM!=1){y=L;rV()}}}}F{y=L}}if(y&&yy&&x){s0(x,H)}};E p3(){if(o.1y||o.fL||(v.3i==1&&!o.1z)){1t("XQ bU",o.2c);6W(\'or\');o.1z&&!o.1Z?P.2D():\'\';kX()}F{2K(o.kZ);o.kZ=1B(p3,(v.pn>0?v.pn:5)*2h)}}E s0(x,mr){b6("2k","ic",H);if(v.CT==1&&!o.aE){if(v.CR==1){o.9U.9l(v.Cs)}F{o.9U.9l(x)}if(v.zh==1&&K(v.zg)){o.e2=1v zf();o.V.g6()}}mr?o.aE=H:\'\';if(o.1y){o.V.7P();o.Q.3f()}K(o.2e)&&!K(o.e2)?o.V.8f():\'\';js("2k",x)}E rV(){fk++;1t("ic gb A7 "+fk);o.1y?o.oT=1:\'\';K(o.cO)?2K(o.cO):\'\';o.cO=1B(zb,v.rN*2h)}E zb(){B x=2G(v.Xm,10);if(o.1y||o.oT==1){o.oT=0;if(fk<x){o.V.gb()}F{if(v.rM==1){5X(P.j9(),1)}F{s0(\'gb ic \'+P.j9())}}}}G.5X=E(x){5X(x?x:P.j9())};G.8D=E(y){1t("os");ko=H;2K(k4);B x=L;if(4b()>0&&!o.5m&&!y){B 17=o.JA;if(17+10<4b()){1t(\'Xq (yZ)\');js("yZ");P.2D();P.3Q(17);x=H}}if(!x){o.V.os();js("4u")}};G.ai=E(){if(v.sP==1){K(o.2e)?o.V.8f():\'\'}v.eS==1?o.V.g6():\'\';o.Q.2D();o.V.z7();if(v.Xl==1&&K(v.r0)){if(v.r0.R>5){qn();3L(sg);sg=6R(qn,v.z6*2h)}}js("1y")};G.jS=E(){if(v.pL==1&&o.4I){if(o.V.jS()){o.9I=P.tu();o.Q.4F();tM()}}o.sj=H};G.eh=E(){4z()>0&&4z()==4b()&&o.V.eM()?\'\':o.V.3f()};G.jE=E(){1t("Xw")};G.jv=E(){1t("se");o.V.se();K(o.fn)?js("4d",o.fn):\'\'};G.bX=E(){1t("s7");fk=0;o.V.s7();o.2m=="1D"?qc(1):\'\'};G.9H=E(){if(P){1t("4b",4b());o.V.4b(4z(),4b());js("1l",4b());fk=0;2K(o.cO);if(K(o.oD)){o.V.dn(o.oD);o.oD=26}}};E 4z(){B x=P.17();J x}E 4b(){B x=P.1l();J x}G.ef=E(){};G.8U=E(){1t("9a");o.V.9a();js("7S")};G.bM=E(){if(ek!=4z()){if(!o.9P){o.V.7P();if(ek==0){if(v.eS==1&&v.zB==1){o.V.g6()}}}}ek=4z();B cr=4b();js("17",ek);if(v.2b.on==1){if(1L(zx)==\'E\'){!v.dK&&v.2b.dK?v.dK=v.2b.dK:\'\';if(!3m&&v.2b.4T!=1&&v.dK&&v.dK!=\'\'&&ek>0){o.e0=1v zx();3m=o.e0.gS()}}}if(o.2m=="1D"&&o.1i.7n&&cr>0){if(o.1y&&ek>cr-1){2K(k4);k4=1B(zq,4k)}}};E zq(){if(!ko){o.V.3f();o.P.8D()}}G.ro=E(){if(o.2m=="4H"){P?P.p4():\'\'}};G.zo=E(x){o.V.aS();P.zm(x)};G.G3=E(x){if(K(x)){if(3m){3m.42(x)}v.2b.1I=x}};G.zk=E(x){if(K(x)){if(3m){3m.2S(x);3m.2D()}}};G.p4=E(){if(o.2m=="4H"&&P){J P.47()}F{J H}};G.l4=E(){J o.2m=="1D"?P.l4():1J};G.lZ=E(){J P.lZ()};G.6a=E(x){1t("VK",x);if((o.2m=="cW"||o.2m==o.ws||(o.2m=="1D"&&(v.9o==0||al()<2))||(o.2m=="3N"&&(v.lb==0||cB()<2)))&&K(o.4l[x])){B 17=G.17();o.2c>0?\'\':o.2c=17;o.V.3Q(17,L);6W(o.4l[x],H);B y=H;if(v.1g){if((v.1g.VL==1&&!o.1y)||!o.1z){y=L}}if(o.a9>0){P.eW(o.a9)}if(y){o.V.2D()}}if(o.2m=="1D"&&v.9o==1&&al()>1){P.JI(x)}F if(o.2m=="3N"&&v.lb==1&&cB()>1){P.JX(x)}F if(o.2m=="4H"||o.2m=="dm"){P.tL(x)}};G.IZ=E(x,y){J kW(x,y)};G.r9=E(x,y){J zG(x,y)};E kW(x,y){B r=x.1c+\'p\';if(x.1c<4n){r=\'oY\'}F if(x.1c>=4n&&x.1c<=dH){r=\'jZ\'}F if(x.1c>dH&&x.1c<=cN){r=\'kF\'}F if(x.1c>cN&&x.1c<=3Z){r=\'kz\'}F if(x.1c>3Z&&x.1c<=g9){r=\'td\'}F if(x.1c>g9&&x.1c<=yK){r=\'lB\'}F if(x.1c>yK&&x.1c<=yT){r=\'lz\'}F if(x.1c>yT&&x.1c<=yL){r=\'tk\'}F if(x.1c>yL){r=\'tj\'}if(x.X==VT&&x.1c<=VU){r=\'jZ\'}F if(x.X==yN&&x.1c<=yR){r=\'kF\'}F if(x.X==VV&&x.1c<=VW){r=\'kz\'}F if(x.X==VD&&x.1c<=Vu){r=\'lB\'}F if(x.X==Vm&&x.1c<=Vn){r=\'lz\'}F if(x.X==Vp&&x.1c<=Vq){r=\'tk\'}F if(x.X==Vr&&x.1c<=Vs){r=\'tj\'}if(v.1g.Vl==1&&K(v.1g[\'6x\'+r])){r=v.1g[\'6x\'+r]}F{if(y==1){r=2L(r)}if(y==2&&K(x.aa)){r=2H(x.aa/2h)+\' \'+2L(\'fb\')}}J r};E zG(x,y){B r=x.lr();if(r=="Vv"||r=="en"){x="Vw"}F if(r=="Vx"||r=="ru"){x="Русский"}if(1L(v.lX)=="3M"){if(K(v.lX[x])){x=v.lX[x]}F{x=2G(v.lX[y.6n()],x)}}J x};E tM(){if(o.4I&&o.1W&&!o.sF){P.sH();U(B i=0;i<o.1W.R;i++){if(o.1W[i]!=\'9V\'){P.Gi(o.1W[i],o.3d[i],(i==o.3r))}}o.sF=H}}G.8P=E(x){1t("Vz",x);x=3P(x);P?P.fB(x):\'\';if(v.2b.on==1){if(3m){3m.fB(x)}}};G.AE=E(){tM()};G.AD=E(){P.sH()};G.dn=E(x){1t("VB",x);if(o.aP.R>0){if(o.aP[x]){B 17=G.17();o.2c>0?\'\':o.2c=17;o.V.3Q(17,L);6W(o.aP[x],H);o.V.2D()}}F{if(o.2m=="1D"&&v.cV==1){P.JN(x)}F if(o.2m=="3N"&&v.AB==1){P.JD(x)}F if(o.4I){P.eW(x)}}};G.tR=E(){B x=o.2y[o.3l];x==1J?x=\'\':\'\';B y=kY()&&v.i9==1&&v.9o==1&&x!=2L("2t");J(y?\'\'+2L("2t")+\' \':\'\')+x};G.tG=E(){B x=o.7e[o.7h];x==1J?x=\'\':\'\';J x};G.kY=E(){J kY()};E kY(){B x=L;if(P){if(o.2m=="4H"){x=P.2t()}if(o.2m=="1D"&&v.9o==1&&al()>1&&v.i9==1){x=P.2t()}if(o.2m=="3N"&&v.lb==1&&cB()>1){x=P.2t()}}J x}E al(){if(o.2m=="1D"){J P.al()}F{J 0}}E cB(){if(o.2m=="3N"){J P.cB()}F{J 0}};G.9j=E(){J o.4I?P.9j():o.51};G.4X=E(x){if(P&&(o.2m=="4H"||o.2m=="9N"||K(v.9j))){P.4X()}if(v.rk>0){O(o.3C,{"1c":(o.2a?"100%":o.ca-v.rk)})}if(o.3m&&v.2b.A4==1){o.e0.4X()}if(v.t9==1){VE()}if(o.tQ){o.tQ.4X()}};G.3J=E(){J P?P.3J():{}};G.i6=E(){P.i6()};G.8j=E(){1t(\'8j\');o.aj=0;o.1z?v.3i=1:\'\';o.V.9a();if(Y&&v.Wm!=1){if(Y.I(\'(5S)\')==-1){Y=Y+(Y.I(\'?\')==-1?\'?\':\'&\')+\'At=(5S)\'}}if(Y){if(o.4I){P.2S(Y);G.2D()}F{6W(Y)}}};if(!K(o.2e)){qX()}if(K(v.2e)){if(v.2e!=\'\'){9M(v.2e,o.2e,v.gk);if(v.sP==1&&!o.1z){1j(o.2e)}}F{v.2e=26}}E aN(){eI=P?P.6S():\'\'}E AW(Y){3T=Y.2A(" or ");U(B i=0;i<3T.R;i++){if(3T[i].I(" gX ")>-1){mQ=3T[i].2A(" gX ");3T[i]=mQ[5S(0,mQ.R-1)]}if(K(v.nl)&&3T[i].I("//")==-1){3T[i]=v.nl+3T[i]}}8n=0}E AJ(){aN();if(eI=="7Q"||o.5m){o.V.sz()}if(eI!=""){o.V.tS()}}E qX(){if(o.2e){o.1N.3k(o.2e)}o.2e=1P("22");O(o.2e,{"4s-3c":"1U","1E":v.nh,4M:"1E 0.5s"});if(v.t9==1){Wq()}F{O(o.2e,{\'1m\':\'2r\',\'18\':0,\'1f\':0,\'X\':\'100%\',\'1c\':\'100%\'})}o.1N.1M(o.2e)}E 6W(x,y,AU){2K(k4);v.k5==\'\'?v.k5=\';\':\'\';if(x.I(\'{\')>-1&&x.I(\'}\')>-1&&x.I(v.k5)>-1){B z=x.2A(v.k5);o.aP=[];U(B i=0;i<z.R;i++){o.7e[i]=z[i].1n(z[i].I("{")+1,z[i].I("}")-1);o.aP[i]=z[i].1n(z[i].I("}")+1);if(K(v.bi)){if(v.bi==o.7e[i]){o.7h=i}}}x=o.aP[o.7h]}!K(3T)?3T=[]:\'\';o.oN?2K(o.oN):\'\';x&&x!=\'or\'&&x!=\'x\'?AW(x):\'\';B ft=o.2m;if(3T.R>0){o.2m=lm(3T[8n]);B gS=L;if(AU){gS=H}Y=3T[8n];if(Y){Y=Y.1S(/\\(5S\\)/g,2C.5S())}F{Y=3T[0]}if(!gS&&x!=\'x\'&&P&&o.2m==ft&&(ft=="cW"||(ft=="9N"&&!o.1i.2j)||(ft=="4H"&&o.1z&&!ot)||ft=="dm"||ft=="1D"||ft=="3N")){P.2S(Y);1t("2S")}F{1t("Ws");lC();zU(Y)}qc()}if(!y){3L(o.sZ);o.sZ=6R(AJ,o.mL);if(!K(v.1X)&&v.mK==1&&v.sR==1){v.1X=\'\'}if(K(v.1X)){o.V.fM(v.1X)}if(v.gx==1){if(v.pL==1&&o.1i.2j){}F{if(o.2m=="4H"){O(o.3C,{"1f":-hI,"18":-hI})}F{3g(o.3C)}v.1q.1j=0}}}}E qc(x){if(o.dw||x){if(o.jF){P.fB(o.jL)}F{if(o.9Z!=o.dw){P.fB(o.6c[o.9Z])}}}}E lm(x){B 1H="cW";if(x){if(x.I(".JE")>0){1H="1D"}F if(x.I(".JM")>0){1H="3N"}F if(x.I("w")==0&&x.I("s")==1){1H=o.ws}F if(x.I(\'4H.8M/\')>-1||x.I(\'mI.be/\')>-1){if(1L(qj)==\'E\'){1H="4H";if(v.xf==1){B y=\'jW://4h.4H.8M/vi/\'+ne(x)+\'/\';zW(y+\'AK.jo\',E(z){z>100?v.2e=y+\'AK.jo\':v.2e=y+\'WC.jo\';if(o.1w){o.1w[o.3b][\'2e\']=v.2e}v.3i==1||o.1z?\'\':9M(v.2e,o.2e,v.gk)})}}F{1t("No A1")}}F if(v.9N==1&&x.I(\'9N.8M/\')>-1){1H="9N"}F if(v.dm==1&&x.I(\'Wi.8M\')>-1){1H="dm"}F if(v.Al==1){if(1L(zY)==\'E\'){zY(x)?1H="6I":\'\'}}}o.4I=1H=="cW"||1H=="1D"||1H=="3N"||1H==o.ws;J 1H}E zW(Y,zV){B 4h=1v W5();4h.cv=E(){zV(G.1c)};4h.2S=Y}E zU(x){o.2m=lm(x);if(o.4I){P=1v IS(x,o.3C,L)}if(o.2m=="4H"){P=1v qj(x,o.3C)}if(v.9N==1&&o.2m=="9N"){P=1v W0(x,o.3C)}if(o.2m=="6I"){P=1v W8(x)}if(o.2m=="dm"){P=1v Wa(x,o.3C)}o.Q?o.Q.EG():\'\';B t=0;if(K(v.1l)){if(o.3o&&v.d3==1&&!o.1z){t=o.3o.bo().t}1B(E(){o.V.4b(t,v.1l)},100)}}E lC(){if(P){P.4r();P=26;eI="7V"}if(3m){3m.4r();3m=26;3m=1J;o.e0.6g();o.3m=26;o.e0=26}};G.4r=E(){lC()};G.Wb=E(){3T=[];lC()};G.6W=E(x,y,z){6W(x,y,z)};G.9M=E(x){9M(x,o.2e,v.gk)};G.2D=E(){if(P){ko=L;ot=L;if(o.5m){o.4m.2D()}F{P.2D();v.eS==1?o.V.g6():\'\'}if(K(3m)){3m.2D()}if(o.7U){if(o.4I){if(o.9D>0&&!o.7U.Wd()){o.7U.aD()}}F{o.pu=[];o.Q.mg("cY")}}if(o.4I&&v.Ju>-1&&!o.tx&&!o.1i.5b){if(o.9D>0){P.Jl()}}kX()}F{1B(G.2D,3Z)}};E kX(){if(v.Ai>0&&3T.R>1){if(4b()==0||v.Af==1){2K(o.oN);o.oN=1B(Ag,v.Ai*2h)}}}E Ag(){if(o.1y&&(4b()==0||v.Af==1)&&4z()==0&&!o.kZ){if(P){if(P.9J()==0&&8n!=3T.R-1){5X(\'6W A7\')}}}}G.A6=E(1d){if(o.3m){if(v.2b.A4==1){if(o.tK[o.3m]>2){J}}if(1d){1d.aw();1O.1d?1O.1d.6L=H:\'\'}B 1A=P;P.ts(H,o.3m);3m.ts(L,o.3C);P=3m;3m=1A;P.2D();3m.2D();js("2b")}};G.A3=E(){P.2S(Y)};G.xS=E(){v.6o==1?o.6o.3q("1j"):\'\';o.ux=H};G.iD=E(){if(v.1q.xk){v.1q.xk=L;if(o.Q){o.Q.uK(1);o.Q.qM()}}o.ux=L};G.DR=E(){if(o.3m&&o.e0){o.e0.hT()}};G.f4=E(){if(o.4I&&o.5W){o.iA=H;P.5W()}};G.eb=E(){if(o.4I&&o.9i){P.9i()}};G.pY=E(){if(v.eE==1&&K(v.ZQ)){if(K(o.eE)){o.eE.1o()}F{if(1L(JT)==\'E\'){o.eE=1v JT()}}}kU();if(P){pV(0);P.pY()}};G.fX=E(){o.eE?o.eE.1j():\'\';P?P.fX():\'\'};G.kU=E(x){kU(x)};E kU(x){if(v.Wh==1&&2z(v.bw)){if(K(o.bw)){o.bw.1o(x)}F{if(1L(JO)==\'E\'){o.bw=1v JO()}}}}G.3f=E(){if(o.5m){o.4m.3f()}F{P?P.3f():1t("Wg")}if(K(o.3m)){3m.3f()}};G.oa=E(){ot=H;o.V.3Q(0,L);K(o.2e)?o.V.8f():\'\';6W(\'x\')};G.8y=E(){P?P.8y():\'\'};G.3Q=E(x){if(P){if(o.5m){o.4m.3Q(x)}F{P.3Q(x);if(v.2b.on==1){if(3m){3m.3Q(x)}}}}};G.5e=E(){if(P){P.5e();o.5m?o.4m.5e():\'\';1t("5g")}if(v.2b.on==1&&v.2b.eG==1){if(3m){3m.5e()}}};G.6k=E(){if(P){P.6k();o.5m?o.4m.6k():\'\';1t("ac")}if(v.2b.on==1&&v.2b.eG==1){if(3m){3m.6k()}}};G.42=E(x){P?P.42(x):\'\';if(v.2b.on==1){if(v.2b.eG==1&&3m&&!o.HM){3m.42(x)}}if(o.5m){o.4m.42(x)}};G.pc=E(){J P?P.pc():L};G.62=E(){J P?P.62():L};G.6S=E(){J eI};G.7V=E(){J ko};G.17=E(){B x=0;if(P){x=4z();if(o.5m){B y=o.4m.4z();y?x=y:\'\'}F{if(4b()>0&&x!=4b()){o.JA=x+0.Wf}}J x}F{J 0}};G.1l=E(){B x=0;if(P){x=4b();x==0&&K(v.1l)?x=v.1l*1:\'\';if(o.5m){B y=o.4m.4b();y?x=y:\'\'}}J x};G.9J=E(){J P?P.9J():0};G.eV=E(){o.3E.eV=o.3E.eV?L:H;O(o.3C,{"2N":(o.3E.eV?"3n(-1)":"3n(1)")})};G.We=E(){qX()};G.qY=E(){if(o.4I){P.4J()}};G.JG=E(x,y){if(x==\'1K\'){if(y==1){dN(v.1g.1K/100)}if(y==2){dN(-v.1g.1K/100)}if(y==3){o.P.kG()}}F{if(o.4I){if(!o.9Q[x]){if(x==\'pF\'){o.9Q[x]=0}F{o.9Q[x]=1}}if(y==1){o.9Q[x]+=v.1g[x]/100}if(y==2){o.9Q[x]-=v.1g[x]/100}if(y==3){if(x==\'pF\'){o.9Q[x]=0}F{o.9Q[x]=1}}!o.kh?o.kh=[]:\'\';o.kh[x]=x+\'(\'+2H(o.9Q[x]*100)+\'%) \';B cf=\'\';U(B i in o.kh){cf+=o.kh[i]}O(P.9X(),{\'6t\':cf});o.Q.mD(x)}}};G.1K=E(x){dN(x)};E dN(x){if(7q(x).I(":")>0){B y=x.2A(":");B z0=o.2R/o.4j;B z1=o.P.3J();if(z1.X>0){z0=z1.X/z1.1c}B z=y[0]/y[1];if(z0!=z){if(o.4I){P.fh()}B w2=o.4j*z;B x2=w2/o.2R;B h2=o.2R/z;B y2=h2/o.4j;if(x2<1){o.3E.x0=o.3E.x=3P(x2);o.3E.y=1}F{o.3E.x=1;o.3E.y0=o.3E.y=3P(y2)}O(o.3C,{"2N":"3n("+o.3E.x+") 3t("+o.3E.y+")"});o.hS=x}}F{o.3E.x+=3P(x);o.3E.y+=3P(x);O(o.3C,{"2N":"3n("+o.3E.x+") 3t("+o.3E.y+")"})}if(v.1T.Wc==1){if(!o.qz){if(o.3E.x>0||o.3E.y>1){qC(o.3C,\'o.W7\');o.qz=H}}qA()}o.Q.mD(\'1K\')};G.kG=E(){if(o.4I){P.fh()}o.3E.x=o.3E.x0;o.3E.y=o.3E.y0;O(o.3C,{"2N":"3n("+o.3E.x+") 3t("+o.3E.y+")"});o.Q.mD(\'1K\');o.hS=26;qA()};E qA(){if(o.qz&&v.1T.W6!=1){if(o.3E.x==1&&o.3E.y==1){O(o.3C,{"1f":0,"18":0})}}};G.fm=E(x,y){P.fm(x,y)};G.bY=E(){J bY()};E bY(){J 3T?(3T.R>0?(3T[8n]?3T[8n]:\'\'):\'\'):\'\'};G.IV=E(){J 3T.R};G.9X=E(){J P?P.9X():L};G.6p=E(){if(o.4I){P.6p()}};G.tc=E(){P.tc()};E qn(){B 4Y=eK(v.r0+\'?Y=\'+3T[8n]);4Y.cv=E(){if(G.fN==4&&G.6S==4n){if(G.dl){v.1F=G.dl;o.V.a2(\'1F\')}}};4Y.ce()}};B IS=E(Y,1G,2b){B 1b=1P(v.gx==1?"IQ":"h5");B bC;B s9=0;B 1D;B 4O=L;B so=L;B rH=L;B 9Y=L;B fW=-1;B 3N;B 6J=L;B ws;B rG=L;B 6K=L;o.5v=L;B 8L=0;B 8X=L;B 2k;B W4;B p9=L;B hz=-1;B bV=-1;B rL;B sM;B au;B he;B W3;B J7=\'h5/J0; W2="W1.W9, Wj.40.2"\';B oV=L;O(1b,{\'1m\':\'lo\',\'X\':\'100%\',\'1c\':\'100%\',\'3M-n6\':\'rQ\',\'4M\':"6t 0.2s 3a",\'96-1c\':\'2t\',\'5A-1c\':\'1U\',\'96-X\':\'2t\',\'5A-X\':\'1U\'});fh();if(o.1i.7R&&v.3i==1&&v.rq==1){if(!o.1z&&v.7B){4e(1b,{\'kM\':1})}F{o.3A=H;o.Q?o.Q.5e():\'\';4e(1b,{\'3A\':1,\'kM\':1,\'3i\':1})}}F{if(o.1i.2j){4e(1b,{\'kM\':1})}if(!o.1i.tv){4e(1b,{\'4J\':(v.4J==1&&v.3i==0?\'8J\':\'1U\')})}}if(v.Wu==1){4e(1b,{"WB":"Jm","WA":"Jm"})}4e(1b,{\'2S\':Y,\'x-3H-5W\':\'EZ\',\'Jx\':\'H\'});if(v.Wz!=1){4e(1b,{\'Jx\':\'H\'})}if(v.Wy==1){4e(1b,{\'2b\':\'L\'})}if(2b){1b.3i=H;if(v.2b.eG!=1||v.3i==1){1b.3A=H}F{1b.1I=2z(v.2b.1I)?v.2b.1I:v.1I}}if(v.Wx==1){4e(1b,{\'Ww\':\'Wv\'})}tg();if(v.Wt==1){B db=1P("e1");4e(db,{"EJ":"no","EK":"H","F0":"H","2S":""});O(db,{"1m":"2r","X":"100%","1c":"100%","2Q":0});1G.1M(db);B JP=1O.6R(E(){if(db.iE.1V.fN==="Wl"){1O.3L(JP);O(db.sS.3I,{"2M":0,"2E":0});db.sS.3I.1M(1b)}},100)}F{1G.1M(1b)}if(!K(Y)){Y=\'\'}B sO=L;if(o.1i.tv){if(Y.I("Wr")>0){sO=H}}if(Y.I(".JM")>0){6K=H;if(!o.3N){if(1L JK!=="1J"){o.3N=1v JK()}}if(K(o.3N)){if(!K(1O.J8)){o.3N.m6()}F{tC()}}}F if(((2U.1D==1&&v.t6!=1)||Y.I(".JE")>0)&&!sO&&(o.gT.I("8k")!=-1||K(1O.5j))){4O=H;so=H;3p{if(K(1O.5j)){if(!5j.K4()||(o.1i.7n&&v.Wp==1&&!o.1i.5b)||(o.1i.7n&&o.1i.5b&&v.Kb==1)||(o.1i.ns&&v.Wo==1)){1t(\'8k Wn \',5j.K4());4O=L}F{if(v.4J==1||v.3i==1||v.K1==1||2b){dB(L)}}}F{4O=L}}2V(2k){4O=L}}F if(Y.I("w")==0&&Y.I("s")==1&&v.Wk==1){8X=H;rF()}if(o.1i.tv&&v.3i==1&&!4O&&!6K&&!8X){1B(E(){o.V.er()},100)}if(v.7U==1){K(o.7U)?o.7U.c4():\'\';o.7U=1v VY()};G.tc=E(){tC()};E tC(){6K=H;if(rl()){if(v.4J==1||v.3i==1||v.Jy==1){nC(L)}}F{6K=L;1t("VX gr Js")}}E nC(x){if(o.3N&&!6J){o.3N.gS(x,1b,Y,2b);K(1O.J8)?6J=H:\'\'}}E dB(x){1t("8k");if(o.4l.R>1){v.9o=0;v.Jt=H}F{v.Jt?v.9o=1:\'\'}if(o.aP.R>1){v.cV=0;v.Jr=H}F{v.Jr?v.cV=1:\'\'}o.au=L;fW=-1;au=[];o.3X?o.3X.Jo():\'\';B tO=L;if(v.7B&&v.Jj==1){tO=H;v.Jj=0}bC={Jp:(v.Ji==1&&!2b),VA:(v.4J==1||v.3i==1||2b||x)&&!tO,f5:60,rg:60,Vy:(v.Je>0?v.Je*2h:Jf),Vt:(v.Jd>0?v.Jd*2h:Jf),Vo:L};if(v.VC==1){bC.VO=H}if(v.g0==1){B ks=[\'fp\',\'wv\',\'pr\',\'ck\'];B oW=[\'8M.VS.VR\',\'8M.VQ.fO\',\'8M.VP.VN\',\'3S.w3.VF\'];B dj={};U(B i=0;i<ks.R;i++){if(v[\'g0\'+ks[i]]==1){dj[oW[i]]={};if(2z(v[\'g0\'+ks[i]+\'l\'])){dj[oW[i]].VM=v[\'g0\'+ks[i]+\'l\']}if(2z(v[\'g0\'+ks[i]+\'s\'])){dj[oW[i]].VJ=v[\'g0\'+ks[i]+\'s\']}}}bC.VI=H;bC.VH=dj}if(v.K8==1){bC[\'VG\']=E(4Y,Y){4Y.WD=H}}if(K(v.6E)){if(K(v.6E.f5)){if(v.6E.f5>g9){v.6E.f5=g9}v.6E.rg=v.6E.f5}if(K(v.6E.JV)){v.6E.rg=v.6E.f5=v.6E.JV}if(1L v.6E=="3M"){U(B 1a in v.6E){if(v.6E[1a].6n().I(\'2l:\')==0){v.6E[1a]=2l(v.6E[1a].1n(5))}bC[1a]=v.6E[1a]}}}1D=1v 5j(bC);js("1D",1D,1);1D.J6(Y);1D.VZ(1b);1D.on(5j.7c.WE,E(){1t("8k Xk")});1D.on(5j.7c.XC,E(1d,29){!2b?o.V.er():\'\'});1D.on(5j.7c.XB,E(1d,29){if(!2b&&v.9o==1&&al()>1){J1();q5();o.Q?o.Q.jI(o.3l):\'\'}});1D.on(5j.7c.XA,E(1d,29){q5()});1D.on(5j.7c.Xz,E(1d,29){q5()});1D.on(5j.7c.Xy,E(1d,29){if(!2b){if(29.ho.5v!=o.5v){o.5v=29.ho.5v;o.Q.4F()}o.5v=29.ho.5v;if(o.5v){1t("Xx");o.JB=Y.I("?vH")>-1;if(1b.1l>0&&1b.c5>0){if(1b.1l-1b.c5<10){if(o.kr>0){if(o.kr==1b.c5&&o.JL==1b.1l){o.od++;if(o.od>2){o.od=0;o.kr=-1;1D.9L();dB(H);8D()}}F{o.kr=-1}}F{o.kr=1b.c5;o.JL=1b.1l}}}}}if(v.9o==1){o.3l=1D.l8;o.Q?o.Q.jI(o.3l):\'\'}l5()});1D.on(5j.7c.Xv,E(1d,29){if(K(29.kP)){!2b?js("Xt",29.kP.Xs):\'\';if(v.Xr==1){1L J5!=="1J"?J5(29.kP):\'\'}}if(fW>-1){1D.Jk=fW;fW=-1}rH=H;Jv()});1D.on(5j.7c.Xp,E(1d,29){js("Xo",29,1)});1D.on(5j.7c.Xn,E(1d,29){if(!2b&&v.cV==1){1B(ra,3Z)}});1D.on(5j.7c.XD,E(1d,29){if(!2b&&v.cV==1){r8()}});1D.Xu=L;if(v.XE==1){1D.on(5j.7c.XP,E(1d,29){if(1L(29)=="3M"){if(29.kP.1H==\'1X\'){B fu=29.kP.Y;if(fu){B st=1D.JU;if(o.5C){o.3X.sJ(st+\'cJ\'+fu)}F{!au[st]?au[st]=[]:\'\';au[st].2F(fu)}}}}});1D.on(5j.7c.XX,E(1d,29){B x=1D.XW;B y=\'\';U(B i=0;i<x.R;i++){y+=(y!=\'\'?\',\':\'\')+\'[\'+x[i].6x+\']1D\'+i;x[i].7v?o.pf=x[i].6x:\'\'}3v("1X",y)})}1D.on(5j.7c.XV,E(1d,29){v.1t==1?dY.1t(29):\'\';js(29.1H+\'5j\',29,0,H);o.r4=29;if(29.oX){aM(29.1H){1k 5j.K9.XU:1t("8k oX s5 2k");if(v.sn==1){sm()}F{2k=29.ho+\' (\'+29.1H+\')\';o.2c>0||2b||v.5v==1||8X?\'\':o.2c=4z();1D.9L();if(!2b){o.P.5X()}}1h;1k 5j.K9.XT:1t("8k oX P 2k, jO");1D.XS();1h;7v:2k="8k oX 2k, 9L";1D.9L();!2b?o.P.5X():\'\';1h}}F{1t("8k ",29.1H,29.ho,(29.pX?29.pX.pT:\'\'));js("XR",(29.pX?29.pX.pT:\'\'));if(8L>0){8L=2;rS()}}});9Y=H}E q5(){if(!2b&&v.9o==1&&al()>1){if(o.3l!=1D.l8){o.3l=1D.l8;o.Q?o.Q.jI(o.3l):\'\';1t("8k XO "+o.3l)}if(2z(v.bD)&&o.3l>0){B fq=v.bD.2A(",");U(B k=0;k<fq.R;k++){if(o.2y[o.3l].I(fq[k])>-1){1t(\'XN 59\');1D.jk=o.3l-1;o.3l--;1h}}}}}E rF(){if(K(1O.Jn)){if(rl()){if(!K(o.ws)){o.ws=1v XL()}ws=1v Jn(1b,Y,2G(v.XK,{Jp:H}));rG=H}F{8X=L;1t("gr Js")}}}E Jv(){rU()};G.6p=E(){rU()};E rU(){if(v.HI&&o.Q){if(1b.eX.R>0){if(v.6p==1){1b.eX[1b.eX.R-1].jb="IK"}F{1b.eX[1b.eX.R-1].jb="2Z"}if(!o.6p){o.6p=H;o.Q.4F()}}F{if(o.6p){o.6p=L;o.Q.4F()}}}}E sm(){1t("XH");!2b&&o.1y?o.V.3f():\'\';o.V.8f();8L=1;rS(o.1y)}E rS(x){if(8L>0){2K(rL);rL=1B(IW,v.IT*2h)}}E IW(){if(8L>0){1t("XF");if(4O){if(8L==1){1D.J6(Y)}if(8L==2){1D.9L();dB(H);1b.1y()}}F{4e(1b,{\'2S\':Y})}}}1b.1u(\'Xj\',JC);1b.1u(\'2k\',t7);1b.1u(\'7V\',8D);1b.1u(\'1y\',ai);1b.1u(\'4o\',eh);1b.1u(\'Fs\',bM);1b.1u(\'jH\',jE);1b.1u(\'md\',jv);1b.1u(\'Ft\',bX);1b.1u(\'Fo\',ef);1b.1u(\'7S\',8U);1b.1u(\'Fv\',9H);1b.1u(\'WZ\',K6);1b.1u(\'Fy\',sV);1b.1u(\'Fz\',sT);if(o.1i.7R){1b.1u(\'Xi\',i6)}E JC(){if(!4O&&!6K){!2b?o.V.er():\'\'}}E i6(){if(1b.WW){o.V.g4()}}E t7(){if(!4O&&!6K){if(1b.2k){1t(1b.2k,1b.2k.pT,1b.2k.a1);B x=1b.2k.pT;2k=1b.2k.a1;if(2k==\'\'){if(x==1){2k="WV"}if(x==2){2k="s5"}if(x==3){2k="dq"}if(x==4){2k="gr nQ"}}1t("WU ic: ",2k)}if(so&&v.sn==1){2k=1J;sm()}if(2k!=1J||o.1i.5b){5X()}}}E 5X(){!2b?o.P.5X():\'\'}E 8D(){if(!2b){o.P.8D()}F{if(v.2b.9k==1){1b.c5=0;1b.1y()}}}E ai(){if(!o.1z&&v.7B){1t(\'GI 1y\');4o();o.V.2D();J}if(4O&&8L>0){}F{if(!2b){B aL=o.V.8i()&&o.oI!=1;if(aL||bV==-1){B x=L;if(4O){if(K(o.1Z)||K(o.5y)){if(aL){}F{1t(\'4o ja\');4o();x=H}}}if(!x){o.P.ai()}}}}}E eh(){if(!oV){1t("WT");if(o.1y&&o.fL&&!1b.7V&&v.Jb==1&&!o.9I){1t("Jb");hb()}F{!2b&&!o.JS&&1b.8l?o.P.eh():\'\'}}}E bM(){!2b?o.P.bM():\'\';if(bV>-1){if(4z()>bV){4o();bV=-1}}}E jE(){!2b?o.P.jE():\'\'}E jv(){!2b?o.P.jv():\'\'}E bX(){if(2b){lE()}F{o.P.bX();tr();if(4O&&8L>0){8L=0;1t("WR up");1D.J3();hb();o.Q.2D()}if(K(v.9j)){2x()}1B(JJ,3Z)}}E JJ(){if(1b.cH&&o.7e.R==0&&v.WO!=0){B at=1b.cH;U(i=0;i<at.R;i++){B x=o.P.r9((at[i].7E?at[i].7E+\' (\':\'\')+at[i].WG+(at[i].7E?\')\':\'\'),i);if(x==v.bi){o.7h=o.a9=i}o.7e[i]=x}o.Q.mj(o.a9)}if(o.a9>0){eW(o.a9,1)}};G.9j=E(){J(1b.ly/1b.eT)};E lE(){if(1b.eT>0){O(1G,{"1c":1G.28/(1b.ly/1b.eT)-2H(v.2b.2Q)})}F{if(s9<20){1B(lE,100);s9++}}}E tr(){if(v.nJ==1){3L(o.rJ);o.rJ=6R(s8,100);s8()}}E s8(){if(1b){if(1b.eT>0){o.V.JY(1b.ly/1b.eT);3L(o.rJ)}}}E 9H(){!2b&&!8X?o.P.9H():\'\'}E ef(){!2b?o.P.ef():\'\'}E 8U(){if(4O&&8L>0){}F{!2b?o.P.8U():\'\'}}E K6(){o.V.rI()}E rl(){B nF=1O.K5=1O.K5||1O.WM;B i5=1O.JZ=1O.JZ||1O.WJ;B nO=nF&&1L nF.nO===\'E\'&&nF.nO(J7);B J2=!i5||i5.rh&&1L i5.rh.WI===\'E\'&&1L i5.rh.6g===\'E\';J nO&&J2}B rd="<7t C=\'1E:0.5\'>";E J1(){if(!2b&&v.9o==1){B x=1D.6z;B q=-1;o.2y=[];if(x.R>1){U(B i=0;i<x.R;i++){if(K(x[i].1c)){B y=o.P.IZ(x[i],v.IX);if(o.2y.I(y)>-1||v.WX==1){if(K(x[i].aa)){B yi=o.2y.I(y);yi>-1?o.2y[yi]+=" "+rd+" &gi;"+2H(x[yi].aa/2h)+\' \'+2L(\'fb\')+\'</7t>\':\'\';o.2y[i]=y+" "+rd+" &gi;"+2H(x[i].aa/2h)+\' \'+2L(\'fb\')+\'</7t>\'}}F{o.2y[i]=y}if(K(x[i].IP)){o.8Q[i]=x[i].IP[0]}}F if(K(x[i].6x)){o.2y[i]=x[i].6x}F{o.2y[i]=i}if(K(v.4S)&&q==-1){if(v.4S==o.2y[i]){q=i}}if(K(o.4S)){if(o.4S==o.2y[i]){q=i}}}if(v.i9==1){o.2y[x.R]=2L("2t")}F{1D.IO=0;1D.g5=0}if(v.IY==1||q>-1){1D.g5=0;if(v.jj=="6C"||(!o.1z&&v.4J==0)){1D.tF=q}F{if(v.jj=="g7"){1D.jk=q}}o.3l=q}F{if(v.i9==1){o.3l=1D.6z.R-1}F{o.3l=1D.WY}}if(v.Jc>0){1D.g5=x.R-v.Jc*1-1}l5()}o.aa=2G(1D.6z[o.3l].aa,0);o.Q?o.Q.4F():\'\'}}E l5(){if(o.8Q.R>0&&v.cV==1){ra();r8()}}E ra(){if(!2b&&v.cV==1){B x=1D.cH;o.7e=[];B 2I;B 1Y=-1;if(x.R>1){U(B i=0;i<x.R;i++){2I=L;if(K(x[i].fo)&&o.8Q.R>0){if(x[i].fo!=o.8Q[o.3l]){U(B j=0;j<o.8Q.R;j++){if(o.8Q[j]==x[i].fo){2I=H}}}}if(!2I){o.7e[i]=K(x[i].6x)?o.P.r9(x[i].6x,i):i;if(K(v.bi)){if(v.bi==o.7e[i]){1Y=i}}}}}}if(1Y>-1){o.7h=1Y;1D.n0=1Y}}E r8(){if(!2b){B x=1D.cH;B y=1D.n0;if(y>-1){if(K(x[y].fo)){if(o.8Q.R>0){if(o.8Q[o.3l]!=x[y].fo){U(B i=0;i<x.R;i++){if(x[i].6x==x[y].6x&&x[i].fo==o.8Q[o.3l]){1D.n0=i;y=i;1h}}}}}o.7h=y;1t("8k X9",o.7h);o.Q.mj(o.7h)}}};G.eW=E(x,y){eW(x,y)};E eW(x,y){if(1b.cH.R>1){1b.cH[x].ty=H;1b.cH[y==1?0:o.a9].ty=L;o.a9=x;y!=1?1b.c5=o.P.17():\'\'}}E 4z(){if(6K){J 6J?o.3N.17():0}F{J 1b.c5}};E 4b(){B x=1b.1l;if(x==Xh){v.5v=1;x=4z()+10;if(o.cr){x<o.cr?x=o.cr:\'\'}o.cr=x}if(6K&&6J){x=o.3N.1l()}if(K(v.4u)){if(6Y([v.4u],\'-\')){x=x+v.4u*1}F{x=v.4u}}J!rB(x)?x:0}G.2D=E(){B p=H;if(4O&&!rH){if(!9Y){dB(H)}1D.J3()}if(6K&&!6J){nC(H);p=L}if(8X){if(!rG){rF()}ws.1y();p=L}if(1b.C.1f=="-Xg"){G.fX()}p?hb():\'\'};B Xf;E hb(){if(Y!="1U"){B pp=1b.1y();if(pp!==1J){pp.cq(E(){}).2V(E(2k){1t("Xe",2k.a1);if(2k.a1.I(\'bU\')==-1&&2k.a1.I(\'Xd by\')==-1){if(v.rq==1){1t(\'Xc\');o.V.5e();1b.1I=0;B rw=1b.1y();if(rw){rw.cq(E(){}).2V(E(e){1t("Xb",e.a1);if(o.1i.tv&&(4O||6K)){}F{o.Q.3f();o.V.8f();js("Xa")}})}}F{o.Q.3f();o.V.8f()}}})}}}G.pY=E(){if(o.5y||o.1Z){if(o.9h){eb()}if(!o.iA&&o.1i.2j&&o.1i.3H){if(!1b.3A){1b.3A=H;p9=H}O(1b,{"1m":"2r","18":-4k,"1f":-4k});bV=4z();if(!8X){1b.1y()}if(bV==0&&o.2c>0){he=o.2c}}}};G.fX=E(){if(!o.iA&&(o.1i.2j||o.1i.3H)){O(1b,{"1m":"lo","18":0,"1f":0});if(K(v.9j)){2x()}if(p9){!o.3A?1b.3A=L:\'\';p9=L}if(he>0){o.2c=he;he=0}bV=-1}};G.3f=E(){1t(\'8l\');4o()};E 4o(){if(8X){ws.4o()}F{1b.4o()}};G.8y=E(){!1b.8l?3f():hb()};G.3Q=E(x){if(6K&&6J){o.3N.4d(x)}F{if(4O){if(v.X6==1&&x>0&&te()){fW=1D.jk;1D.Jk=0}}1b.c5=x}};G.5e=E(){1b.3A=H};G.6k=E(){1b.3A=L;if(o.2m=="1D"&&o.1i.5b&&v.1Z==1){if(!K(o.IM)){oV=H;1b.4o();1B(E(){1b.1y();oV=L},10);o.IM=H}}};G.42=E(x){1b.1I=x};G.Jl=E(){if(o.J9!=1b){B bU;B 9s;if(o.p8[1b]){bU=o.p8[1b];9s=o.sq[1b]}F{1O.oR=1O.oR||1O.X5;if(K(1O.oR)){3p{9s=1v oR();bU=9s.X4(1b);o.p8[1b]=bU;o.sq[1b]=9s}2V(e){1t(e)}}}if(9s){B h6=9s.X3();h6.h6.5G=v.Ju;bU.Jw(h6);h6.Jw(9s.X2);o.tx=H;o.J9=1b}}};G.pc=E(){J!1b.8l};G.62=E(){J v.5v==1||8X?H:o.5v};G.9X=E(){J 1b};G.tu=E(){4e(1b,{\'Q\':\'1\'});J H};G.4J=E(){4e(1b,{\'4J\':\'8J\'});if(4O&&!9Y){dB(L)}if(6K&&!6J){nC(L)}};G.6S=E(){B 7w="7Q";if(1b.8l){7w="8l"}if(1b.7V){7w="7V"}J 7w};G.ts=E(x,y){2b=x;y.1M(1b);1G=y;if(x){if(v.2b.eG!=1){1b.3A=H}F{if(!o.3A){1b.3A=L}}lE();if(o.2y.R>0){if(4O){hz=o.3l;1D.g5=0;1D.jk=0}}}F{if(!o.3A&&v.2b.eG!=1){1b.3A=L}1b.1I=2z(v.2b.1I)?v.2b.1I:v.1I;tr();if(o.2y.R>0){if(4O){1D.g5=-1;if(hz>-1){hz<1D.6z.R?1D.tF=hz:\'\'}}}}};G.17=E(){J 4z()};G.1l=E(){J 4b()};G.9J=E(){B x=0;if(1b.8g){if(1b.8g.R>0){B y=4z();U(B i=0;i<1b.8g.R;i++){if((y>=1b.8g.1z(i)||y>=1b.8g.1z(i)-100)&&y<=1b.8g.4u(i)){x=1b.8g.4u(i)}}x==0?x=1b.8g.4u(1b.8g.R-1):\'\'}}if(K(v.4u)){B ed=v.4u;if(6Y([ed],\'-\')){ed=4b()}x>ed?x=ed:\'\'}J x};G.2t=E(){J te()};E te(){B x=L;if(4O){if(9Y){x=1D.IO}}F if(6K){if(6J){x=o.3N.2t()}}J x}G.3J=E(){J{"X":1b.ly,"1c":1b.eT}};G.2S=E(x){if(x){x=x.1S(/\\(5S\\)/g,2C.5S());Y=x;o.aE!=2?o.aE=L:\'\';if(6K){if(6J){o.3N.bU(x)}}F if(4O){4O&&1D?1D.9L():\'\';dB(H);tN()}F{4e(1b,{\'2S\':x,\'3i\':0});tg();4o()}}};E tg(){if(o.1i.7n){B y=1b.eX;if(y){U(B i=0;i<y.R;i++){y[i].jb="WF"}}y=1b.cH;if(y){U(i=0;i<y.R;i++){y[i].ty=(i==0?1:0)}}if(1O.Vj){1b.1u(\'TX\',E(1d){o.5W=1d.Ty=="Tx";!2b?o.V.jJ():\'\'});1b.1u(\'Tw\',E(1d){})}}tN();if(v.tQ==1){1L IN!=="1J"?IN(Y,1b,1G):\'\'}}G.5W=E(){1b.Tv()};G.9i=E(){eb()};E tN(){if(o.1i.3H){if(K(1b.Tt)&&!o.1i.7R){o.9i=H}if(1V.Ts&&!1b.Tq){o.9i=H}}}E eb(){if(o.1i.7n){if(1b.Ti==="lN-in-lN"){1b.Jz("bF");o.9h=L}F{1b.Jz("lN-in-lN");o.9h=H}}F{if(!1V.To){2l(\'1b.Tm().cq(p => {o.9h = H;}).2V(2k => {o.9h = L;});\')}F{2l(\'1V.Tl().cq(ok =>{o.9h = L;}).2V(2k => {});\')}}};E sV(){o.9h=H};E sT(){o.9h=L};G.JX=E(x){if(6J){o.3N.tL(x)}};G.JD=E(x){if(6J){if(1b.8g.R>0){o.3N.Tk(x)}}};G.Tj=E(x){if(o.ws){o.ws.JH(ws,x,-1)}};G.Tz=E(x){if(o.ws){o.ws.JH(ws,-1,x)}};G.JI=E(x){if(9Y){B y=2H(x);if(x==1D.6z.R){y=-1;1D.g5=-1}if(v.jj=="g7"){1B(8U,3Z);1D.jk=y}if(v.jj=="6C"){1t("8k 6C Tr "+y);1D.tF=y}if(y==-1){o.3l=1D.l8}l5()}};G.l4=E(){J 1D};G.lZ=E(){J 6J?o.3N.TA():L};G.al=E(){J al()};E al(){B x=0;if(9Y){if(1D.6z){x=1D.6z.R}}J x}G.cB=E(){J cB()};G.fh=E(){fh()};E fh(){if(1b){if(v.mP==1||v.6i==1){if(v.TT==1||v.6i==1){O(1b,{\'3M-n6\':\'6i\'})}F{O(1b,{\'3M-n6\':\'Kc\'})}}F{O(1b,{\'3M-n6\':\'rQ\'})}}}G.4X=E(){2x()};E 2x(){if(v.9j){3v(\'1K\',7q(v.9j).1S(\'/\',\':\'))}}E cB(){B x=0;if(6J){x=o.3N.6z()}J x}G.JN=E(x){if(9Y){1D.n0=2H(x)}};G.fm=E(x,y){if(y=="1D"&&9Y&&sM){sM.TS(x)}if(y=="JR"&&9Y){if(au[x]&&o.3X){U(B i=0;i<au[x].R;i++){o.3X.sJ(au[x][i])}}1B(E(){1D.JU=x},3Z)}if(y=="3N"&&6J){o.3N.TR(x)}};G.fB=E(x){if(x){1b.TQ=x}};G.sH=E(){B x=1b.jd;B y=[];U(B i=0;i<x.R;i++){if(x[i].gY.lr()==\'8S\'){x[i].5M("fC",sC);y.2F(x[i])}}U(B i=0;i<y.R;i++){1b.3k(y[i])}o.sF=L};G.Gi=E(x,y,z){if(x!=\'\'){if(x.I(\' or \')>0){B xx=x.2A(\' or \');x=xx[0]}B 8S=1V.1P(\'8S\');8S.5U(\'2S\',x);8S.5U(\'7E\',y);8S.5U(\'TO\',\'sE\');8S.5U(\'jb\',\'IK\');if(z){8S.5U(\'7v\',\'\')}1b.1M(8S);8S.1u("fC",sC)}};E sC(e){if(e.3Y.7E&&o.3X){U(B i=0;i<o.3d.R;i++){if(o.3d[i]==e.3Y.7E){o.3X.ap(i)}}}};G.j9=E(){J 2k?2k:\'\'};G.4r=E(){3L(o.TN);4O&&1D?1D.9L():\'\';6K&&6J?o.3N.TM():\'\';8X&&ws?ws.2I():\'\';1b.5M(\'2k\',t7);1b.5M(\'7V\',8D);1b.5M(\'1y\',ai);1b.5M(\'4o\',eh);1b.5M(\'Fs\',bM);1b.5M(\'jH\',jE);1b.5M(\'md\',jv);1b.5M(\'Ft\',bX);1b.5M(\'Fo\',ef);1b.5M(\'7S\',8U);1b.5M(\'Fv\',9H);1b.5M(\'Fy\',sV);1b.5M(\'Fz\',sT);1b.2S=\'\';if(1G.gY=="I5"){1G.sS.3I.3k(1b)}F{1G.3k(1b)}1b=26}};B su=E(){B b=[];B fr=[];B 5o=[];B 7S=L;B mz;B 7D=L;B 1g;B W;if(o.4G){o.4G.1j();o.4G=26}B mY;o.6c=[0.25,0.5,0.75,1,1.25,1.5,2];if(v.1g.TD==1&&K(v.1g.iG)){v.1g.iG=v.1g.iG.1S(/\\n/ig,\'\');o.6c=v.1g.iG.2A(",")}o.dw=6Y(o.6c,1,H);o.9Z==3?o.9Z=o.dw:\'\';U(B i in o.5F){if(o.5F.2o(i)){!K(v.1g[i])?v.1g[i]=5:\'\';o[\'du\'+i]=[\'+ \'+v.1g[i]+\'%\',\'&TB; \'+v.1g[i]+\'%\',(o.5F[i]*100+\'%\')]}}if(v.1q.d7==1&&o.1i.5b&&v.gH==1){v.1q.1j=0}B oi=L;B 9A=0;B oy=0;B eF=L;B xU=H;B iV;B bg=1v HL();B 1g;B 5c=[];B qd=L;B qI=L;B im=0;B cE=[];if(v.fR.1m=="Q-2g"){v.fR.1m="Q"}U(B y in v){if(v.2o(y)){if(y.I("9T")==0&&v[y]){!K(v[y].qb)?v[y].qb=v[y].5c:v[y].5c=v[y].qb;if(5c[v[y].5c]){v[y].5c+=v[y].5c}5c[v[y].5c]=y;if(v.fR.1m!="Q"){if(v[y].1m=="Q-2g"){cE.2F([y,v[y].5c]);qd=H}F{if(v[y].1m=="Q"||v[y].1m==1J){qd?qI=H:\'\'}}}im<v[y].5c?im=v[y].5c:\'\'}}}if(qI){cE.FB(E(a,b){J a[1]-b[1]});U(B i=0;i<cE.R;i++){5c[v[cE[i][0]].5c]=26;v[cE[i][0]].5c=im+1;im++;5c[v[cE[i][0]].5c]=cE[i][0]}}if(v.1q.1j==1&&v.1q.ee==1){o.1q=1P("22");o.1N.1M(o.1q);O(o.1q,{\'1m\':\'2r\',\'18\':0,\'1f\':0,\'X\':\'100%\',\'1c\':\'100%\',\'4M\':\'1f 0.3s 5x-4E\',\'4s-3c\':\'1U\'})}B 7G=1P("22");if(v.1q.1j==1&&v.1q.ee==1){o.1q.1M(7G)}F{o.1N.1M(7G)}O(7G,{\'1m\':\'2r\',\'18\':0,\'2J\':0,\'X\':\'100%\',\'1c\':v.1q.h});7G.gf=E(){!o.1i.2j?o.V.FD():\'\'};if(v.wQ==1){3g(bg.c());3g(7G)}U(B i=1;i<5c.R;i++){if(5c[i]){B y=5c[i];if(y){B 1e=v[y].1e;B SS=v[y].1j;if(o.1i.2j){if(1e=="1I"&&v[y].7J=="54"){}F{if(1e=="1I"&&v.SR==1&&o.1i.2j){v[y].ku=0}F{if(1e=="1I"||(1e=="2a"&&v.SP)){v[y].on=0}}}}if(v[y].1j==1){if(v[y].Ek==1&&K(v[y].pB)){2U[v[y].pB]?v[y].on=0:\'\'}if(v[y].Em==1&&K(v[y].q9)){!2U[v[y].q9]?v[y].on=0:\'\'}}if(v.wQ==1){v[y].on=0}if(v[y].on==1){if(1e=="2B"||1e=="1I"){b[y]=1v H9(y,1e);b[y].2x(b[y].s("w"))}F{b[y]=1v HB(y)}fr.2F(y);if(b[y].g("1e")=="1F"){if(b[y].s("1C")==\'\'){if(b[y].s("B")!=\'\'){if(!K(v[b[y].s("B")])){b[y].1Y("2i",L)}}F{b[y].1Y("2i",L)}}}if(b[y].g("1e")=="4T"){B lu=b[y].s("3h");if(lu){if(lu.I("3q:")==0&&lu.I(",0/1")>0){B z=lu.2A(",");3v(z[0].1n(4))==0?b[y].bZ(0):\'\'}if(6Y([lu],"2X")){o.gG=H}}}b[y].1Y("1K",b[y].s("1K"))}}}}if(K(v.1g)){if(1L(7H)==\'E\'){1g=1v 7H("1g");v.1g.7F==1?1g.1o():1g.1j()}F{o.SL=H}}if(K(v.W)){if(1L(7H)==\'E\'){W=1v 7H("W");if(K(o.W)){W.xM(o.W);if(v.W.lq==0||!K(v.W.lq)){v.W.7F==0?W.1j():\'\'}F{W.1o()}if(v.W.Fw==1){W.1o()}}F{W.1j(1)}jA()}}n5();qi();2x(H);4y();xK();xU=L;E F7(S){B x=0;B SI=L;if(S){if(S.g("1e")==\'2B\'){x=5o.18+S.s("4i")+S.g("X")/2;if(5o.eD!=26){}F{5o.eD=[]}}F{if(5o.eD!=26){B cZ=S.g("X")+S.s("4f")+S.s("4i");if(fY(S)){cZ=0}if(S.s("2Z")==1&&!S.g("1o")){cZ=0}if(S.s("aI")>0){cZ=0}x=bg.g("w")-v.1q.ip*1-cZ+S.g("X")/2+S.s("4i");B i=0;5o.2g-=cZ;U(i=0;i<5o.eD.R;i++){B bQ=b[5o.eD[i]];if(bQ.s("aI")>0){O(bQ.c(),{"18":(bQ.g("x0")-cZ)})}F{O(bQ.c(),{"18":(bQ.g("x")-cZ)})}bQ.1Y("x0",bQ.g("x"))}5o.eD.2F(S.g("1a"));S.1Y(\'f7\',1)}F{if(S.s("2Z")==1&&!S.g("1o")&&!S.g("eH")){if(S.g("1e")=="1I"){if(S.s("1j")==1&&S.s("ku")==1&&eF){9A+=S.g("X")+S.s("4i")+S.s("4f");eF=L}}}F{if(S.s("aI")>0){x=5o.18+S.s("4i")+S.s("4f")}F{B 2I=L;if(S.g("1e")=="1I"){if(S.s("1j")==1&&S.s("ku")==1&&!S.g("eH")){if(!o.ei&&!o.9n){2I=H;eF=L}F{if(!eF){9A-=S.g("X")+S.s("4i")+S.s("4f");eF=H}}}}if(fY(S)){2I=H}if(!2I){5o.18+=S.g("X")/2+S.s("4i");x=5o.18;5o.18+=S.g("X")/2+S.s("4f")}F{x=5o.18}}}}}}J x};G.Fm=E(){n5();if(W&&v.W.7F&&!o.1z){W.1o()}};G.E3=E(){n5()};E n5(){if(o.gG){1L Fd==\'E\'?o.2X=1v Fd():\'\'}}E xs(S){B X=o.2a&&v.1q.kq==0?o.b3:o.2R;B 1c=o.4j;B ax=0;if(S!=bg){ax=X/2+S.s("4i")-S.s("4f")}B e6=1c/2;B qE=S.g("X");B m5=S.g("1c");B p=S.s("1m");if(p.I("8t")>-1){ax=o.2R/2+S.s("4i")-S.s("4f")}if(p.I("1f")==0){e6=m5/2+(S.s("F6")*o.4j/100)}if(p.I("2J")==0){e6=o.4j-(S==bg?m5:m5/2)-(S.s("Fl")*o.4j/100)}if(p.I("2g")>-1){ax=o.2R-qE/2+S.s("4i")-S.s("4f")-(S.s("F5")*o.2R/100)}if(p.I("18")>-1){ax=qE/2+S.s("4i")-S.s("4f")+(S.s("hi")*o.2R/100)}if(p=="ae"){ax=-o.wZ/2+(S.s("hi")*o.wZ/100)+S.s("4i")-S.s("4f");e6=-o.nY/2-(S.s("Fl")*o.nY/100)+(S.s("F6")*o.nY/100)}if(p.I("Q")>-1){B cx=F7(S);ax=(bg?(bg.c()?5h(bg.c().iJ):0):0)+cx;if(p=="Q-2g"){ax+=9A}if(v.1q.1m=="1f"){e6=v.1q.h/2-(v.di<0?v.di:0)}F{e6=1c-v.1q.h/2}}J{x:ax,y:e6+S.s("7Z")-S.s("es")}}E 2x(9V){B w=o.2a&&v.1q.kq==0?o.b3:o.2R;B h=o.4j;if(v.1q.SM==1){v.1q.Fa=2z(v.1q.F9)&&o.9c?v.1q.F9:v.1q.qo;v.1q.ip=o.2R*v.1q.Fa/100}F{v.1q.ip=v.1q.qo}O(bg.c(),{\'1f\':(v.1q.1m=="1f"?0:o.4j-v.1q.h)-v.di});bg.1Y("y0",(o.4j-v.1q.h-v.di));if(v.1q.kq==0&&bg){O(bg.c(),{\'X\':w,\'18\':0,\'2E-18\':0});bg.1Y("w",w);if(o.2a){O(bg.c(),{\'18\':\'50%\',\'2E-18\':-w/2})}}5o={"18":v.1q.ip*1,"2g":(bg.g("w")-v.1q.ip*1)};B qw=L;if(!bg.g("1o")){bg.1Y("2i",H);qw=H}B 1a;U(B i=0;i<fr.R;i++){1a=fr[i];if(b[1a]){B cc=xs(b[1a]);if(cc){if(b[1a].s("5Z")=="1m"){if(K(o.7A[1a])){if(b[1a].g("x0")==cc.x&&b[1a].g("y0")==cc.y){3o}F{o.7A[1a].XY(b[1a].g("x0"),cc.x,b[1a].g("y0"),cc.y)}}}b[1a].1Y("x0",cc.x);b[1a].1Y("y0",cc.y);if(b[1a].s("2Z")==1&&!b[1a].g("1o")&&!9V){yh(b[1a])}F{O(b[1a].c(),{"1m":"2r","18":b[1a].g("x0"),"1f":b[1a].g("y0")})}}}}if(qw){bg.1Y("2i",L)}9A=0;U(1a in b){if(b.2o(1a)){if(b[1a].s("1m")=="Q-2g"&&b[1a].g("1e")!="2B"&&9A>-1){9A=5o.2g-5o.18}if(b[1a].g("1e")=="2B"&&bg){B cA;B ml=b[1a].s("4i")+b[1a].s("hi")*o.2R/100;B mr=b[1a].s("4f")+b[1a].s("F5")*o.2R/100;if(b[1a].s("Tb")==1){if(b[1a].s("Ta")==1){cA=(o.2R*b[1a].s("w")/100)-ml-mr}F{cA=b[1a].s("w")}}F{if(b[1a].s("1m").I("Q")>-1){cA=5o.2g-5o.18-ml-mr;O(b[1a].c(),{"18":(5h(bg.c().iJ)+5o.18+ml+cA/2)});9A=-1}F{cA=bg.g("w")-ml-mr;O(b[1a].c(),{"18":(5h(bg.c().iJ)+ml+cA/2)})}}b[1a].1Y("x0",b[1a].g("x"));b[1a].2x(cA)}}}if(1g){hA(1g)}if(W){hA(W)}if(oi||o.2a||oy!=9A){4y()}}E yh(b){B 18=0;B 1f=0;if(b.s("1m").I("2g")>-1&&b.s("1m").I("Q")==-1){18=o.2R+b.g("X")+10}if(b.s("1m").I("18")>-1){18=-b.g("X")-10}if(b.s("1m").I("1f")>-1){1f=-b.g("1c")*2}if(b.s("1m").I("2J")>-1||b.s("1m").I("Q")>-1){1f=o.4j+b.g("1c")+b.g("X")+10}if(18>0){O(b.c(),{"18":18})}if(1f>0){O(b.c(),{"1f":1f})}}E hA(x){B 1f=-4k;x.jQ();B y=o.4j-v.1q.h*(x.s("1m").I("1f")>-1?1:2);if(x==W&&v.r6==1){y=o.4j}B j4=y-(o.2a&&!o.1i.2j?(100+x.s("iW")*1):x.s("iW"))-(x==W&&x.s("iW")*1==0?x.s("7Z"):0);j4<100?j4=100:\'\';O(x.c(),{\'5A-1c\':j4});x.co()?O(x.co(),{\'5A-1c\':j4}):\'\';if(x.g("1o")){1f=o.4j/2-x.g("1c")/2+x.s("7Z")-x.s("es");if(x.s("1m").I("1f")>-1){1f=x.s("7Z")-x.s("es")}if(x.s("1m").I("2J")>-1){1f=o.4j-(v.1q.1m!=\'1f\'?v.1q.h:0)-x.g("1c")+x.s("7Z")-x.s("es")}1f<0?1f=0:\'\'}if(x.g("1a")=="1g"&&o.cR){B Fh=o.2R-x.g("X")-x.s("4f");if(o.cR>Fh){O(x.c(),{"1m":"2r","2g":x.s("4f"),"18":"2t","1f":1f})}F{O(x.c(),{"1m":"2r","18":o.cR,"2g":"2t","1f":(o.iN<1f?o.iN:1f)})}}F{if(x.s("1m").I("2g")>-1){O(x.c(),{"1m":"2r","2g":x.s("4f")-x.s("pb"),"18":"2t","1f":1f})}F if(x.s("1m").I("18")>-1){O(x.c(),{"1m":"2r","18":x.s("4i"),"2g":"2t","1f":1f})}F{if(x.g("1a")=="W"&&x.s("3u")==1){O(x.c(),{"1m":"2r","18":o.2R/2-x.g("X")/2+x.s("4i")/2-x.s("4f")/2,"1f":1f})}F{B l=o.2R/2-x.g("X")/2+x.s("4i")-x.s("4f");O(x.c(),{"1m":"2r","18":(l>0?l:0),"1f":1f})}}}x.9R()};G.eP=E(1a){B S=b[1a];B a=S.g("1e");if(a){B d=1v 6V();o.9D=d.9C();if(a&&a!=""){56(S);a=="4o"?o.Fi=1:\'\';a=="1y"?o.Fi=0:\'\'}}hk()};G.qD=E(z,x,y){U(B 1a in b){if(b.2o(1a)){if(b[1a].s(z)==x){b[1a].1Y(y?"5T":"3g")}}}};G.xe=E(x,s){B y=7u(s,x);J y};E 56(S,1H){o.lH=H;mY=S;B a=S.g("1e");if(a=="1y"){o.V.2D();if(o.3A&&v.FE==1){o.V.6k();v.FE=0}if(v.1T.on==1&&v.1T.2T==1&&v.1T.qx==1){7L(\'1y\',1)}js("Fn")}F{if(a=="4o"){o.oT=0;o.V.3f();if(v.1T.on==1&&v.1T.2T==1&&v.1T.qx==1){7L(\'1y\',0)}js("FF")}if(a=="2I"){o.V.q0()}}if(a=="FZ"){o.V.3Q(0,L)}if(a=="2a"){!o.5m?o.V.9f():\'\'}F{if(a=="qr"){o.V.8F()}}if(a=="2B"){B ld=o.P.1l();B lt=S.g("2q")*ld;if(v.4A>0){ld-=v.4A*1;lt=S.g("2q")*ld+v.4A*1}if(v.iZ>0){if(v.iZ/ld<=1-S.g("2q")){J}}js(a,lt);o.V.3Q(lt,H);if(o.3o){o.3o.qq(lt,ld);o.2c>0?o.2c=1J:\'\'}js("mS",lt)}if(a=="1I"){B x=S.g("2q");x<0.T8?x=0:\'\';x>1?x=1:\'\';if(S.s("7J")=="54"){x=3P(x*o.6c.6O(-1)[0]).vF(1);o.V.8P(x,1)}F if(S.s("7J")=="vG"){o.P.G3(x)}F{if(o.5L&&v.sW==1){3U.9q("sQ",x);if(S.g("2q")>0||o.1i.7R||v.mi==0){3U.qm("jC")}F{3U.9q("jC",1)}}o.V.42(x)}}if(a=="5g"){if(o.5L&&!o.1i.7R&&v.mi==1){3U.9q("jC",1)}o.V.5e();if(v.1T.2T==1&&v.1T.G4==1){7L(\'5g\',0)}}F{if(a=="ac"){if(o.5L){3U.qm("jC")}o.V.6k();if(v.1T.2T==1&&v.1T.G4==1){7L(\'5g\',1)}}}if(a.I("17")==0){S.T5()?S.hN():S.On()}if(a=="om"){o.P.tZ()}if(a=="1K+"){o.P.dN(0.1)}if(a=="1K-"){o.P.dN(-0.1)}if(a=="1K"){o.P.dN(0)}if(a=="5v"){3v("w5");S.1Y("ud",1);S.1Y("f8",1)}if(a=="2X"){js("2X");qJ()}if(a=="1g"){o.cR=1J;if(1g){if(!1g.g("1o")){1g.1o()}F{1g.1j()}}}if(a=="W"){if(o.fP==a){J}o.Q.jx()}if(a=="6C"){o.Q.bf()}if(a=="c7"){o.Q.dS()}if(a=="4T"){if(S.s("gl")==1&&S.s("3h")!=""){B x=4N(S.s("3h"));if(o.fP==a+x){J}if(x.I(\'{17}\')>-1){x=x.1S(\'{17}\',(K(o.3o)?o.3o.bo().t:o.P.17()))}if(x.I(\'{3w}\')>-1){x=x.1S(\'{3w}\',o.P.bY())}if(x.I(\'{1F}\')>-1){x=x.1S(\'{1F}\',v.1F.1S(/,/ig," "))}if(x=="5W"){o.P.f4()}if(x.I(\'7o\')==0){if(S.s("7o")>0){o.V.3Q(o.cP?o.cP.SX():S.s("7o"))}}if(x.I(\'T4\')==0){if(o.cP){o.cP.T3()}}if(x=="T2"){o.V.3Q(S.s("hi")*o.P.1l()/100);!o.1y?o.V.2D():\'\'}S.s("G6")==1?o.V.3f():\'\';B y=x.2A(",");if(x.I("3q:")==0){B z=x.1n(4).2A(";");U(B i=0;i<z.R;i++){y=z[i].2A(",");if(y.R>1){if(y[0]==\'4d\'){if(v.1T.2T==1&&v.1T.T1==1){7L(\'4d\',y[1]>0?1:0)}}3v(y[0],y[1],S);js("mS",y[1]);y[1]==\'0/1\'||y[1]==\'1/0\'?xm():\'\'}F{if(y[0]=="G0"){B ss=3v(y[0]);if(ss){if(ss.I("29")>-1){if(v.T0==1){B 4h=1V.1P(\'4h\');4h.5U(\'2S\',ss);O(4h,{1m:"qW",2g:(K(v.nL)?v.nL:20),2J:(K(v.nL)?v.nL:20),X:0,4M:"X 0.5s cg-Th(.75,-0.5,0,1.75)"});4h.C.5k=Gc;1V.3I.1M(4h);1B(E(){O(4h,{X:(K(v.Gd)?v.Gd:4n)})},1);4h.gf=E(){G.3O.3k(G)}}if(v.TW==1){B a=1P("a");a.9g=ss;a.6H=y[0]+".jo";a.2q()}}}F{1t(y[0]+" 2k")}}F{3v(y[0])}}}}F{if(x.I("js:")==0){if(x.I("(")>0&&x.I(")")>0){2l(x.1n(3))}F{2l(y[0].1n(3)+\'(\'+(K(y[1])?\'"\'+y[1]+\'"\':\'\')+(K(y[2])?\',"\'+y[2]+\'"\':\'\')+\')\')}}if(x.I("1d:")==0){qS(x.1n(6),o.P.17())}if(x.I("2X:")==0&&o.2X){o.2X.3q(x.1n(6))}if(x.I("qH:")==0&&o.6o){3v("qH",x.1n(7))}if(x.I("3G")==0||x.I("/")==0||x.I("?")==0||x.I("Y:")==0){x.I("Y:")==0?x=x.1n(4):\'\';1O.3e(x,S.s("Gf"))}if(x.I("6H")==0){o.V.iM()}if(x=="3q:9i"){o.P.eb()}}if(x.I("1g#")>-1){if(1g){B si=x.1n(9).2A(",");if(1g.g("1o")&&1g.g("3e")==si[0]){o.cR=1J;o.iN=1J;1g.1j()}F{o.cR=S.g("x")-S.g("X")/2;o.iN=S.g("y")+S.g("h");U(B i=0;i<si.R;i++){i==0?1g.1o():\'\';1g.3e(si[i])}W?W.FY():\'\'}}}if(x.I("1g:")>-1&&v.1g.UE==1){if(!o.4G){o.4G=1v UW()}if(v.1g.fT==1){if(1H=="6T"){o.4G.1o(x)}F{o.4G.hT(x)}}F{if(!1H){o.4G.hT(x)}}}if(x=="Ij"){o.V.eL();o.uW=0;S.1Y("3g");B bl=7u("3h","4t");if(bl){bl.1Y("3g")}}if(x=="4t"){S.6e("OK");S.s("p6")?1O.7Y.9g=4N(S.s("p6")):\'\'}}}};G.1F=E(t){B y=L;U(B x in b){if(b.2o(x)){if(b[x].g("1e")=="1F"){if(b[x].s("B")==t||t=="1F"){if(b[x].s("1j")==1&&b[x].s("vf")==1&&o.1y){y=H}if(v[t]==\'\'||y){b[x].1Y("2i",L)}F{b[x].1Y("2i",H)}b[x].6e(v[t])}}}}qL()};G.FX=E(){qL()};G.qM=E(){U(B x in b){if(b.2o(x)){if(b[x].g("1e")=="4T"){if(b[x].s("1H")=="1C"){b[x].8Y()}}}}};E qL(){U(B x in b){if(b.2o(x)){if(b[x].g("1e")=="4T"){if(b[x].s("1H")=="1C"){b[x].Hl(H)}}}}}E qJ(){if(K(o.2X)){o.2X.iS()}}G.FI=E(){qJ()};G.JF=E(){if(v.1F!=\'\'){U(B x in b){if(b.2o(x)){if(b[x].g("1e")=="1F"){B y=L;if(!b[x].g("1o")){y=H;b[x].1Y("2i",H)}b[x].6e(v.1F);if(y){b[x].1Y("2i",L)}}}}}};G.qG=E(){qi()};E qi(){if(v.8V){if(1L(v.8V)=="3M"){U(B x in v.8V){if(v.8V.2o(x)){jP(x,v.8V[x])}}}}};G.FJ=E(y,z){jP(y,z)};G.qg=E(x){if(b[x]){b[x].uA()}};G.FK=E(){U(B x in b){if(b.2o(x)){if(b[x].g("uh")){b[x].uA()}}}};E jP(y,z){if(y){U(B x in b){if(b.2o(x)){if(b[x].g("uh")){if(b[x].s("4Q")==y){if((!b[x].g("1o")||b[x].s("2Z")==1)&&!fY(b[x])){b[x].1Y("He");b[x].1Y("2i",H)}b[x].jP(z)}}}}}};G.4X=E(){2x()};G.FL=E(){2x(H)};G.pC=E(){hA(1g)};G.jQ=E(){hA(W)};G.2D=E(){U(B x in b){if(b.2o(x)){if(b[x].g("1e")=="1y"){b[x].On()}}}o.bw?o.bw.1j():\'\';yn();o.1y=H;4y()};G.3f=E(){U(B x in b){if(b.2o(x)){if(b[x].g("1e")=="4o"||b[x].g("1e")=="2I"){b[x].hN()}}}if(W){if(v.W.GO==1&&!W.4V()){W.1o()}}o.1y=L;G.7P();4y();if(v.1q.1j==1&&v.1q.g2==1){fv(H)}};G.5e=E(){U(B x in b){if(b.2o(x)){if(b[x].g("1e")=="5g"){b[x].On()}G.42(0)}}4y()};G.6k=E(){U(B x in b){if(b.2o(x)){if(b[x].g("1e")=="ac"){b[x].hN()}}}if(v.1I<0.1){v.1I=0.5;o.V.42(v.1I)}F{G.42(v.1I)}4y()};G.42=E(1I,y){U(B x in b){if(b.2o(x)){if(b[x].g("1e")=="1I"){if(!b[x].s("7J")||b[x].s("7J")=="1I"){b[x].6y(1I,1,(y=="no"?y:H))}}if(b[x].g("1e")=="5g"){b[x].uJ(1I)}}}4y()};G.9f=E(){B bl=7u("1e","2a");if(bl){bl.On();bl.1Y("1K",bl.s("1K"))}4y();oi?1B(4y,3Z):\'\';fA();ul()};G.8F=E(){B bl=7u("1e","2a");if(bl){bl.hN()}2x();3L(o.jg);4y();ul()};E ul(){if(o.cR){o.cR=1J;o.iN=1J;1g.1j()}}G.8D=E(){U(B x in b){if(b.2o(x)){if(b[x].g("1e")=="1y"){b[x].uG()}}}};G.yC=E(){4y()};G.Ge=E(){yn()};E yn(){if(W){if(W.g("1o")&&v.W.eR==1){o.Q.c0()}}}E 4y(){U(B x in b){if(b.2o(x)){if(b[x].g("1e")!="dW"){cl(b[x])}}}cl(bg);if(oy!=9A){oy=9A;2x()}if(v.1q.1j==1&&v.1q.ee==1){fZ(!o.eN&&!o.5n&&!o.2a&&o.1y&&v.1q.d7!=1&&!o.5m)}};E j8(){B 1o=7D&&v.1q.iB==1;if(!o.1y&&v.1q.1j==1&&v.1q.g2==1){1o=L}if(1o){U(B x in b){if(b.2o(x)){if(b[x].g("1e")!="dW"){cl(b[x],L)}}}O(o.1N,{"6M":"7v"});o.iR=H;cl(bg,L);if(bg.g("1o")){iD()}fZ(L)}}E fv(){B 1j=o.1y&&v.1q.iB==1&&!o.3D;if(o.dx&&v.1q.UU==1){1j=L}if(!o.1y&&v.1q.1j==1&&v.1q.g2==1){1j=H}if(1g){if(1g.g("1o")&&o.oj){1j=L}}if(o.5m){1j=L}if(1j){U(B x in b){if(b.2o(x)){if(b[x].g("1e")!="dW"){cl(b[x],H)}}}cl(bg,H);if(!bg.g("1o")){7D=H;o.P.xS();if(o.1y){O(o.1N,{"6M":"1U"});o.iR=L}}fZ(H)}}E fA(){if(v.1q.iB==1){if(v.1q.d7==1&&!o.2a&&!o.b9){}F{3L(o.jg);o.jg=6R(fv,((v.1q.9u>0?v.1q.9u:v.1q.iQ)*2h))}}}E cl(S,bK){B 1j=L;B 1o=L;B cu=L;if(v.1q.1j==1){if((!o.eN&&!o.5n&&!o.2a&&o.1y&&v.1q.d7!=1&&!o.5m)||(o.2a&&7D&&!o.iR)||(o.V.eM()&&o.7V&&!o.5n)){1j=H;1o=L;cu=H}F{1j=L;1o=H}if(K(bK)&&!o.5m){1j=bK;1o=!1j}if(v.1q.1j==1&&v.1q.ee==1&&(S.s("1m").I("Q")==0||S.s("1e")=="2B")){1j=L;1o=H}if(v.1q.g2==1&&!o.1y){1j=H;1o=L;cu=L}if(v.1q.UT==1&&!o.8J&&o.1y){1j=L;1o=H}}F{if(S.s("1j")!=1){1o=H}}if(1o&&!o.iR){O(o.1N,{"6M":"7v"});o.iR=H}B a=S.g("1e");if(a=="4T"&&S.s("1m").I("Q")==-1){1j=L;1o=H}if(o.5m){if(a=="2B"){if(o.P.1l()==-1){1j=H;1o=L}}}B yf=L;B hp=fY(S);if(S.s("1j")==1){if(S.s("UP")==1){if(cu||bK||(o.1y&&!o.5n)){!cu&&!bK?\'\':hp=H}}if(S.s("UN")==1){if(!cu&&!bK){hp=H}}if(S.s("UF")==1){if(o.1y&&!o.5n){hp=H}}if(S.s("Eb")==1||S.s("FW")==1||S.s("E0")==1){oi=H}}if(hp){1j=H;1o=L}F{!1j?1o=H:\'\'}if(S.s("1e")=="1I"){if(S.s("1j")==1&&S.s("ku")==1&&!S.g("eH")){1j=H;1o=L;if(!cu&&(o.9n||o.ei)&&!bK&&S.s("dI")!=1){1j=L;1o=H}F{yf=H}}}if(o.9I||(!o.1z&&v.1q.1j==1&&v.1q.yq==1)||(!o.8J&&v.1q.1j==1&&v.1q.DW==1)){if(S.s("1m").I("Q")>-1||S.s("1m").I("2J")>-1){1j=H;1o=L}if(v.1q.d7==1&&!o.2a){1j=L;1o=H}}if(1g){if(1g.g("1o")&&v.1g.7F!=1){cu=L;bK=L}}if(W&&o.2W){if(v.W.UM==1){if(o.2W.yA()){J}}}if(a=="2X"){if(K(o.2X)){if(o.2X.4V()){1j=H;1o=L;S.1Y("5Z","1U")}}}if(a=="W"||a=="6C"||a=="c7"||S.s("FO")==1){if(W){if(W.4V()&&S.s("FO")!=0){1j=H;1o=L;S.1Y("5Z","1U")}}F{1j=H;1o=L}}if(o.UL==1){1j=H;1o=L}if(yf){B cc=xs(S);if(cc){cc.y>0?S.1Y("y0",cc.y):\'\';O(S.c(),{"1m":"2r","1f":S.g("y0")})}}if(1j){av(S,(xU?H:L))}if(1o){E9(S)}if(S==bg){if(!1j&&1o){iD();5T(7G);7D=L;iV==0?js("ui",1):\'\';iV=1;o.6w&&o.9W?o.6w.1o():\'\'}if(1j&&!1o&&!o.5m){o.P.xS();aZ();3g(7G);7D=H;iV==1?js("ui",0):\'\';iV=0;o.6w&&o.9W?o.6w.1j():\'\'}if(1g){if(1g.tb()){if(!1g.g("1o")){1o&&!1j?1g.1o():\'\'}F{!1o&&1j?1g.1j(2):\'\'}}}if(W){if(v.W.7F==1&&!W.4V()){if(1o||o.9I){if(v.W.FT==1&&o.2a){}F{if(!W.g("1o")){if(v.W.FV==1){!o.1y?W.1o():\'\'}F{W.1o()}}}}F{if(1j&&W.g("1o")){W.1j()}}}}}};E fY(S){B x=L;B a=S.g("1e");if(S.s("1j")==1){if(S.s("vf")==1){o.1y?x=H:\'\'}if(S.s("g2")==1){!o.1y?x=H:\'\'}if(S.s("f6")==1){x=H}F{if(S.s("UY")==1){if(o.1i.cK){S.1Y("f6",1);x=H}}if(S.s("Vh")==1){if(o.1i.2j){S.1Y("f6",1);x=H}}}if(S.s("FW")==1){if(o.2R>S.s("FG")){S.1Y("dI",1);x=H}F{S.1Y("dI",0)}}if(S.s("Vg")==1&&!7S){x=H;o.mC=1}if(S.s("Vf")==1&&7S){x=H;o.mC=1}if(S.s("Eb")==1){if(o.2R<=S.s("Ec")){S.1Y("dI",1);x=H}F{S.1Y("dI",0)}}if(S.s("Y0")==1){o.1z?x=H:\'\'}B t=o.P.17();B d=o.P.1l();if(S.s("Ic")==1&&S.s("Ef")>0){if(t>=S.s("Ef")){x=H}}if(S.s("Ig")==1&&S.s("Eg")>0){if(t<S.s("Eg")){x=H}}if(S.s("Ib")==1&&S.s("Ea")>0){if(t<d-S.s("Ea")||d==0){x=H}}if(S.s("Vb")==1){if(W){if(!W.cd()){x=H}}}if(S.s("Va")==1){if(o.1z||!o.3o||o.P.62()){x=H}if(o.3o){if(o.3o.bo().t==0){x=H}}}if(S.s("yq")==1){!o.1z?x=H:\'\'}if(S.s("lw")>0){x=H}if(S.s("Ek")==1){if(K(S.s("pB"))){2U[S.s("pB")]?x=H:\'\'}}if(S.s("V0")==1){if(!K(S.s("8V"))){x=H}}if(S.s("Em")==1){if(K(S.s("q9"))){!2U[S.s("q9")]?x=H:\'\'}}if(S.s("V7")==1&&o.1i.5b){!o.1z||o.q6?x=H:\'\'}if(S.s("V6")==1){!o.P.7V()?x=H:\'\'}if(S.s("V5")==1){!o.P.62()?x=H:\'\'}if(S.s("V4")==1){!o.5n?x=H:\'\'}if(S.s("V1")==1){!o.2a?x=H:\'\'}if(S.s("E0")==1){o.2a?x=H:\'\'}if(S.s("UD")==1){!o.3A?x=H:\'\'}if(S.s("Ue")==1){o.P.62()&&o.P.bY().I("?vH")==-1?x=H:\'\'}if(S.s("H0")==1){5w(o.2e)?x=H:\'\'}if(S.s("DW")==1){!o.8J?x=H:\'\'}if(S.s("Ub")==1){o.8J?x=H:\'\'}if(S.s("Ua")==1){o.ls?x=H:\'\'}if(S.s("U9")==1){!o.ls?x=H:\'\'}if(S.s("Gx")==1){if(S.g("hZ")){x=H}}if(S.s("U8")==1){!o.ab?x=H:\'\'}if(S.s("U6")==1){o.ab?x=H:\'\'}if(S.s("TY")==1){if(v.4J==1&&v.dV==1){if(o.2m=="4H"&&!K(v.2e)&&v.xf==0){if(!o.1z||o.P.6S()=="7V"){if(v.2e==\'\'){}F{x=H}}}}}}if(a=="4T"){B lu=S.s("3h");if(lu){if(lu=="3q:5W"||lu=="5W"){if(!o.5W&&!o.iA){x=H}}if(lu=="3q:9i"){if(!o.9i||(!o.1z&&v.4J==0)){x=H}}if(lu=="3q:E2"){if(!o.ls){x=H}}if(lu.I("6p")>-1){if(!o.6p){x=H}}if(6Y([lu],"7o")&&!6Y([lu],"js:")&&S.s("f6")!=1){B sk=L;if(K(v.7o)){if(!o.cP){1L E4==\'E\'?o.cP=1v E4():\'\'}if(o.cP){sk=o.cP.yJ(S)}}!sk?x=H:\'\'}}}if(a=="W"||a=="6C"||a=="c7"){if(W){if(W.4V()){x=H}}F{x=H}}if(a=="1g"){if(1g){if(1g.4V()){x=H;o.2m!=\'1D\'?S.1Y("5Z","1U"):\'\'}}F{x=H}}if(S.g("1H")=="1C"){if(S.g("R")==0){x=H}}if(S.g("1g#")){if(!S.g("1Y#4B")){x=H}}if(S.s("4m")==1){B cb=1V.8A("U3"+v.id);if((o.P.1l()==0&&o.P.17()==0)||!o.4I||!5w(cb)||!o.Ug){x=H}}if(S.s("ug")==1){!x?S.1Y("ug",1):\'\'}if(a=="1l"){if(o.P.62()){x=H}}if(S.g("1a")=="vg"&&o.1i.2j){if(o.9I&&o.1i.aA){x=H}}J x}E av(S,xt){if(S.g("1o")){if(o.b9||S.s("5Z")=="1U"||xt){S.1Y("2i",L)}F{EL(S)}S.1Y("1o",L)}};E E9(S){if(!S.g("1o")){if(S.s("5Z")=="1U"||o.b9){S.1Y("2i",H);if(o.b9){S.1Y("1E",1)}if(S.g("1e")=="1I"){if(o.kt){yh(S)}}}F{EO(S)}if(S.s("1e")=="1I"){o.Q.42(o.3A?0:v.1I)}if(S.s("1e")=="2B"){o.V.tS()}S.1Y("1o",H)}};E EL(S){yz(S.g("1a"));B 5N="fO|";B 5q="0|";B 1j=1;B a=S.s("5Z");if(S.s("EP")==1){5N=\'\';5q=\'\'}B p=S.s("1m");B iq=S.g("3n");2z(S.s("lj"))?p=S.s("lj"):\'\';if(a=="1K"){5N+="1K|";5q+="0|"}if(a=="1m"){if(p.I("2g")>-1&&p.I("Q")==-1){5N+="x|";5q+=5h(o.2R+S.g("X")/2*iq)+"|"}if(p.I("18")>-1){5N+="x|";5q+=5h(-S.g("X")/2)*iq+"|"}if(p.I("1f")>-1){5N+="y|";5q+=(-S.g("1c")/2)*iq+"|"}if(p.I("2J")>-1||p.I("Q")>-1||p=="ae"){5N+="y|";if(S.g("1e")=="2B"||S.g("1e")=="1I"){5q+=5h(o.4j+S.s("h")+(S.s("h")<20?20-S.s("h"):0))+"|"}F{5q+=5h(o.4j+S.g("1c")/2)+"|"}}if(p=="8t"){5N+="1K|";5q+="0|"}}B m=1v 5z({"mc":S,"me":S.g("1a"),"1H":5N.1n(0,5N.R-1),"to":5q.1n(0,5q.R-1),"1j":1j})};E EO(S){yz(S.g("1a"));B 5N="";B 5q="";B a=S.s("5Z");B p=S.s("1m");2z(S.s("lj"))?p=S.s("lj"):\'\';if(S.g("1E")!=1&&S.s("EP")!=1){5N="fO|";5q=(S.g("1a")==\'bg\'?v.1q.a:"1")+"|"}if(a=="1K"){if(S.g("3n")!=S.s("1K")){5N+="1K|";5q+=S.s("1K")+"|"}}if(a=="1m"){if(p=="8t"){if(S.g("3n")!=S.s("1K")){5N+="1K|";5q+=S.s("1K")+"|"}}F{if(p.I("Q")>-1){if(S.g("y")!=S.g("y0")){5N+="y|";5q+=S.g("y0")+"|"}}F{5N+="x|y|";5q+=S.g("x0")+"|"+S.g("y0")+"|"}}}if(5N!=""&&5q!=""){B m=1v 5z({mc:S,me:S.g("1a"),1H:5N.1n(0,5N.R-1),to:5q.1n(0,5q.R-1),1o:1})}F{S.1Y("2i",H)}};G.kv=E(1a,1H,xt){B 4X=L;B 2I=L;B S=b[1a];B 1e=S.g("1e");B 3h=S.s("3h");if(1H=="6T"){if(o.kt){if(1e=="1I"||1e=="5g"||1e=="ac"){if(!S.g("eH")){o.9n=H;o.ei=H;4X=H;4y();if(v.fR.ES==1){B bl=7u("1e","2B");if(bl){3g(bl.c())}}}}}if(1g&&v.1g.fT==1&&((1e=="1g"||3h.I("EM")==0)||3h.I("1g:")==0)){2K(o.fS);if(!1g.g("1o")||mY!=S){56(S,1H);o.fP=1e+3h;1B(E(){o.fP=26},3Z)}}if(W&&v.W.fT==1&&1e=="W"){2K(o.xo);if(!W.g("1o")||mY!=S){56(S,1H);o.fP=1e;1B(E(){o.fP=26},3Z)}}}if(1H=="4E"){if(o.kt){if(1e=="1I"||1e=="5g"||1e=="ac"){o.9n=L;o.ei=H;1B(E(){if(!o.9n){o.ei=L;U(B x in b){if(b.2o(x)){if(!7D){if(b[x].g("1e")=="1I"&&!b[x].g("eH")){av(b[x]);2x()}}if(b[x].g("1e")=="2B"){if(v.fR.ES==1){5T(b[x].c())}}}}}},3Z)}}if(1e=="2B"){o.V.6y(1)}if(v.1g.fT==1&&((1e=="1g"||3h.I("EM")==0)||3h.I("1g:")==0)){2K(o.fS);o.fS=1B(E(){if(!o.3D){aZ(1)}},(v.1g.fG>0?v.1g.fG*2h:2h))}if(W&&v.W.fT==1&&1e=="W"){2K(o.xo);o.xo=1B(E(){if(!o.3D){W.g("1o")?W.1j(1):\'\'}},(v.W.fG>0?v.W.fG*2h:2h))}}if(4X){1B(2x,10)}};G.oC=E(){if(o.5u&&!o.2a&&!o.b9){o.V.5u(L);o.5u=L}if(o.2e){if(v.nf>-1&&5w(o.2e)){O(o.2e,{1E:v.nh})}}if(o.1y&&v.EV==1&&v.Uw!=0){o.V.3f()}if(v.1q.9u>0){2K(o.ET);o.ET=1B(4y,v.1q.9u*2h)}F{4y()}};G.FN=E(){if(o.2e){if(v.nf>-1&&5w(o.2e)){O(o.2e,{1E:v.nf})}}if(!o.1y&&v.EV==1){o.V.2D()}4y();fZ(L)};G.gZ=E(aC,aB){B y;U(B x in b){if(b.2o(x)){y=b[x].g("1e");if(y=="2B"||y=="1I"){b[x].gZ(aC,aB)}}}};G.ti=E(){if(v.1q.1j==1){if(v.1q.d7==1&&!o.2a){J}if((!o.5n||o.1i.2j)&&o.P.6S()=="7Q"){o.5n=H;4y();o.1i.2j?1B(E(){o.5n=L},3Z):\'\'}if(v.1q.iB==1){j8();fA()}fZ(L)}};G.h4=E(aC,aB){U(B x in b){if(b.2o(x)){if(b[x].g("1e")=="2B"||b[x].g("1e")=="1I"){b[x].h4(aC,aB)}}}};G.jf=E(17,1l,EW){U(B x in b){if(b.2o(x)){if(b[x].g("1e")=="2B"){b[x].6y(17,1l,EW)}if(b[x].g("1e")=="17"){mv(b[x],17,1l)}if(b[x].s("Iz")==1){b[x].tZ()}if(b[x].s("Iy")==1){b[x].Hc(17,1l)}if(b[x].s("In")==1){if(b[x].s("3h")=="Ik"||b[x].s("3h")=="aa"){1L EX==\'E\'?EX(b[x]):\'\'}if(b[x].s("Io")==1&&!b[x].g("1o")&&7D){}F{if(b[x].g("1o")==fY(b[x])){4y();2x()}}}}}};E fZ(x){if(v.1q.1j==1){x?aZ():\'\';if(v.1q.ee==1){if(!o.1y&&v.1q.g2==1){x=H}if(x&&!o.y9){O(o.1q,{"1f":bg.h()})}if(!x&&o.y9){O(o.1q,{"1f":0})}o.y9=x}}}E iD(){7D=L;o.P.iD();if(o.xj){o.xj=L;2x();1B(2x,dH)}}E mv(x,17,1l){if(v.4A>0){17-=v.4A*1;1l-=v.4A*1}B y=4z(17);if(x.s("I8")=="1"){y=4z(1l-17)}if(x.s("Uv")=="1"){if(x.s("Uu")=="1"){y=y+(1l>0?\' \'+2L(x.s("Ut"))+\' \'+4z(1l):\'\')}F{17==0?y=4z(1l):\'\'}}x.6e(y)}G.xZ=E(17,1l){B x=7u("1e","2B");if(x){x.Id(17,1l)}};G.kn=E(y){if(o.P.1l()>0){B x=7u("1e","2B");if(x){x.kn(y)}}};G.9a=E(){if(!7S){if(v.gx==1){2K(mz);mz=1B(9a,3Z)}F{9a()}}};E 9a(){if(!7S){js("Ur");7S=H;B x=7u("1e","dW");if(x){x.GZ();if(v.Ew==1&&o.1y){2K(o.F1);o.F1=1B(Eu,(v.EU>0?v.EU:1)*2h)}}o.mC?4y():\'\'}}E Eu(){if(o.1y&&7S){o.V.8f()}}G.Ev=E(y){U(B x in b){if(x==y){b[x].1Y("3g")}}};G.7P=E(){2K(mz);if(7S){js("8g");B x=7u("1e","dW");if(x){x.hK();if(v.Ew==1&&o.1y){o.V.g6()}}7S=L;o.mC?4y():\'\'}};G.j6=E(){B x=7u("3h","1I 6N");if(x){x.1Y("5T");x.6e(2L(\'1I\')+\' \'+(o.3A?0:2C.x7(v.1I*100))+\'%\');2K(o.j6);o.j6=1B(Ex,2h)}};E Ex(){B x=7u("3h","1I 6N");if(x){x.6e(\'\');x.1Y("3g");2K(o.j6)}}G.3Q=E(17,1l){if(v.4A>0){17-=v.4A*1;1l-=v.4A*1}U(B x in b){if(b.2o(x)){if(b[x].s("on")==1){if(b[x].g("1e")=="2B"){1l>0?b[x].1Y("2q",17/1l):\'\';b[x].Ie()}if(b[x].g("1e")=="17"){mv(b[x],17,1l)}if(b[x].g("1e")=="5v"){b[x].1Y("ud",0.5);b[x].1Y("f8",0)}}}}};G.4b=E(17,1l){U(B x in b){if(b.2o(x)){if(b[x].g("1e")=="1l"){if(v.4A>0){1l-=v.4A*1}b[x].6e(4z(1l))}if(b[x].g("1e")=="2B"){b[x].6y(17,1l);b[x].Ia(1l)}if(b[x].g("1e")=="17"){mv(b[x],17,1l)}}}};G.7H=E(){if(!o.4G){1g.g("1o")?1g.1j():1g.1o()}};G.ci=E(){if(1g){if(o.4G){J o.4G.5w()||1g.g("1o")}F{J 1g.g("1o")?H:L}}F{J L}};G.mD=E(x){if(1g){1g.5F(x)}};G.aZ=E(){aZ()};G.Uq=E(x){if(1g){1g.Ey(x)}};G.Ff=E(){if(1g){1g.ju()}};G.Fg=E(x){if(1g){J 1g.Ez(x)}};E aZ(x){if(1g){1g.g("1o")?1g.1j(x):\'\'}o.4G?o.4G.1j():\'\'};G.c0=E(){if(W){if(W.g("1o")){W.1j(1)}F{W.1o()}}};G.jx=E(x){if(W){if(W.g("1o")&&x!=1){x!=2?W.1j():\'\'}F{1B(E(){W.1o()},100)}}};G.jy=E(){if(W){J W.g("1o")?H:L}F{J L}};G.bI=E(x){J W?W.g(x):\'\'};G.6h=E(x){if(W){W.xM(x)}};G.Et=E(x){if(W){W.EA(x)}};G.bf=E(){if(W){W.bf()}};G.mE=E(){if(W){W.mE()}};G.jA=E(){jA()};E jA(){U(B x in b){if(b.2o(x)){if(b[x].g("1e")=="6C"){O(b[x].c(),{"1E":(!W.cd()?0.5:1)})}if(b[x].g("1e")=="c7"){O(b[x].c(),{"1E":(!W.fE()?0.5:1)})}}}}G.cd=E(){if(W){J W.cd()}F{J L}};G.fE=E(){if(W){J W.fE()}F{J L}};G.eZ=E(){if(W){J W.eZ()}F{J L}};G.m9=E(){if(W){W.m9()}};G.dS=E(){if(W){W.dS()}};G.xu=E(x){if(x&&W){W.bv(x)}};G.EC=E(x){if(x&&W){W.mb(x)}};G.EE=E(x){if(x&&W){O(W.co(),{"Vk":"1U","2M-2g":W.s("7j")});1V.8A(x).1M(W.co());3g(W.c())}};G.10B=E(){};G.xJ=E(x){if(1g){1g.6a();1g.g("1o")?1B(E(){1g.1j()},4n):\'\'}};G.jI=E(){if(1g){1g.6a()}if(o.4G){o.4G.dr()}};G.jJ=E(x){if(1g){1g.f4()}2x();4y()};G.mg=E(x){if(1g){1g.jr(x);1g.g("1o")?1g.1j():\'\'}if(o.4G){o.4G.dr()}x=="54"?xK():\'\'};E xK(){if(o.jF){B x=3P(o.jL/o.6c.6O(-1)[0],1).vF(2);U(B i in b){if(b.2o(i)){if(b[i].s("7J")=="54"&&o.jL){b[i].6y(x,1)}if(b[i].s("3h")=="3q:54,1.0"){b[i].uJ(x)}}}}}G.mj=E(x){if(1g){1g.jr("7i")}if(o.4G){o.4G.dr()}};G.b8=E(){if(1g){1g.ap();1g.g("1o")?1B(E(){1g.1j()},4n):\'\'}if(o.4G){o.4G.dr()}if(o.5m&&o.4I){o.4m.ag()}};G.xT=E(){o.4G?o.4G.1j():\'\';if(1g){1g.xT()}};G.jt=E(mN,2i,7K){U(B x in b){if(b.2o(x)){if(b[x].g("1e")=="1g"){if(b[x].s("fV")==1){b[x].H2()}}if(b[x].g("GU")=="1g#"+mN){b[x].1Y("1Y#4B",2i);if(b[x].g("1H")=="1C"){if(7K){b[x].6e(xN(7K))}}F{if(v.1g[\'1g\'+mN+\'1e\']=="1X"){if(7K==2L("6X")){b[x].bZ(0)}F{b[x].bZ(1)}}2x()}cl(b[x])}}}};G.EG=E(){if(1g){1g.6a();1g.jr("7i");1g.jr("6H")}};G.jV=E(){B x=7u("1e","2B");if(x){x.jV()}};G.4X=E(){2x();if(7D){o.xj=H}};G.uK=E(x){if(!7D||x==1){2x();4y()}F{v.1q.xk=H}};G.xl=E(){B b=7u("1H","O");if(b){b.GW()}};G.4F=E(){4y();2x();4y();if(o.9I){3g(7G)}F{!7D?5T(7G):\'\'}};G.G7=E(1d){if(ej==v.id&&v.1T.on==1){B x=1d.HH;B y=L;if(x==1J){x=1d.HP}if(K(o.1Z)||K(o.7C)||o.uW==1){J L}if(o.1y&&v.1T.ja==1){y=H}if(((v.1T.9b==1&&x==32)||(v.1T.ZZ==1&&x==13))&&(o.6s||o.5n||y)){if(v.1T.2T==1){7L(\'1y\',o.1y?0:1)}o.V.8y();1d.9O();J L}!v.1T.mT?v.1T.mT=0.2:\'\';!v.1T.1K?v.1T.1K=5:\'\';if(v.1T.EH==1&&(o.6s||y)){if(o.P.1l()>0){U(B i=48;i<58;i++){if(x==i){o.V.3Q((o.P.1l()*(x-48)*10)/100,H)}}}}if(x==39&&(o.6s||y)){mZ(v.1T.xy)}if(x==37&&(o.6s||y)){m0(v.1T.xy)}if(x==38&&(o.6s||y)){mZ(v.1T.xW)}if(x==40&&(o.6s||y)){m0(v.1T.xW)}if(x==ZA&&(o.6s||y)){mZ(v.1T.Hx)}if(x==ZN&&(o.6s||y)){m0(v.1T.Hx)}}};E 7u(y,z){U(B x in b){if(b.2o(x)){if(b[x].s(y)==z){J b[x]}}}}E mZ(x){if(x=="6C"){if(o.W){o.Q.bf()}F{x="4d"}}if(x=="4d"){if(o.P.1l()>0){B sk=o.P.17()+3P(v.1T.4d);if(sk<o.P.1l()){o.V.3Q(sk,H);js("mS",sk)}}}if(x=="1I"){o.V.42(3P(v.1I)+3P(v.1T.mT));1d.9O()}if(x=="1K"){o.P.1K(v.1T.1K/100);1d.9O()}if(v.1T.2T==1){7L(x,1)}}E m0(x){if(x=="6C"){if(o.W){o.Q.dS()}F{x="4d"}}if(x=="4d"){if(o.P.1l()>0&&o.1z){B sk=o.P.17()-v.1T.4d>=0?o.P.17()-v.1T.4d:0;o.V.3Q(sk,H);js("mS",sk)}}if(x=="1I"){o.V.42(3P(v.1I)-3P(v.1T.mT));1d.9O()}if(x=="1K"){o.P.1K(-v.1T.1K/100);1d.9O()}if(v.1T.2T==1){7L(x,0)}};G.Gb=E(1d){if(ej==v.id){B x=1d.HH;if(x==1J){x=1d.HP}if(x==57){if(v.1t==1){}}if(o.2a&&x==27){o.V.8F()}if(K(o.1Z)||K(o.7C)){J L}if(v.1T.f==1&&x==70&&v.gx!=1&&(o.6s||o.5n)){if(v.1T.2T==1){7L(\'2a\',o.2a?0:1)}o.2a?o.V.8F():o.V.9f()}if(v.1T.m==1&&x==77&&(o.6s||o.5n)){if(v.1T.2T==1){7L(\'5g\',o.3A?1:0)}o.3A?o.V.6k():o.V.5e()}}};G.4r=E(){3L(o.jg);U(B x in o){if(x.I("Z")==0&&x.I("K7")>-1){3L(o[x])}}U(B i=0;i<fr.R;i++){1a=fr[i];if(b[1a]){b[1a].4r()}}if(1g){1g.4r()}if(W){W.4r()}bg.4r();if(7G.3O==o.1N){o.1N.3k(7G)}F{o.1q?o.1q.3k(7G):\'\'}};G.j8=E(){j8()};G.fv=E(){fv();4y()};G.fA=E(){fA()};G.lp=E(){J 7D}};B HB=E(1a){B i;B C=[];B w;B h;B uD=0;B bg;B nw;B 8Z;B n1=0;B 4B=H;B Gv=L;B 3n=1;B 3t=1;B 2w;B hB;B 2O;B 8z;B 1e;B ao=\'\';B x0;B y0;B on;B 6T=L;B cS=L;B ha=0;B Zb;B Zv=0;B f7=0;B Hw=0;B hX=0;B nW=L;B Hk=L;B hZ=L;B 2Z=L;B i2;B fV;B pU;B tU=L;C=a6(C,g8.S);C=a6(C,v[1a]);B V=[C.1e];1e=V[0];K(C.HF)?V[1]=C.HF:\'\';K(C.Hy)?V[1]=C.Hy:\'\';K(C.1F)?C.1C=C.1F:\'\';if(2z(C.HG)){o.9c?C.1K=C.HG:\'\'}if(1e=="2X"){o.gG=H}if(K(C.3h)){if(C.1H=="1C"&&C.3h!=\'\'){if(K(v[C.3h+\'1C\'])){C.1C=v[C.3h+\'1C\']}}if(C.3h.I("1g#")==0){ao=C.3h;if(C.2O==\'\'&&ao.I(",")==-1){C.2O=2L(v.1g[\'1g\'+ao.1n(9)+\'1e\'])}}if(C.3h.I("6p")>-1){v.HI=H}if(C.3h.I("2X:")>-1){o.gG=H}if(C.3h=="YS"){C.YU=1v YX(C)}}B 7s=C.2O?C.2O.2A("///"):[];if(C.HR==1){C.1H="1C";C.1C=hQ(0)+(V.R>1?\'///\'+hQ(1):\'\');if(2z(C.aV)){C.1p=C.aV}}C.it=[];C.il=[];B vu=0;B 2T=1v cL();B 1r=1v cL();B dP=1v cL();B 10u=1v cL();B hR=0;B aU;if(C.1H=="1C"){if(C.4Q){if(K(v[C.4Q+\'1C\'])){C.1C=v[C.4Q+\'1C\']}}if(K(C.1C)){2T[0]=4N(C.1C);C.nD=C.1C.R;B v7=[\'/\',\'|\',\'-\'];v7.I(C.1C.1n(-1))>-1?C.tV=C.1C.1n(-1):\'\';v7.I(C.1C.1n(0,1))>-1?C.tX=C.1C.1n(0,1):\'\';if(1e=="17"||1e=="1l"){if(C.1C.I(\'0:\')==0){C.nA=H}if(C.1C.2A(":").R==3){C.Hf=H}F{if(C.1C.I(\'bH:bH\')>-1){C.Hm=H}}if(C.lk==1){v.lk=1}}if(C.I8==1&&C.1C.I("-")==0){C.Ho=H}if(C.1C.I("///")>0&&(1e=="4T"||C.HR==1)){C.fc=C.1C.2A("///");C.1C=2T[0]=C.fc[0]}}if(v.v5==1){1B(8Y,100);1B(8Y,3Z);1B(8Y,2h)}}F{if(K(C.1r)){2T[0]=C.1r;if(2T[0].I("///")>0&&2T[0].I("kx")==-1){2T=C.1r.2A("///")}if(K(C.p7)){2T[1]=C.p7}if(C.ou==1){if(2z(C.Iv)){2T.2F(C.Iv);hR=2T.R-1}}}}if(1e=="4T"){if(C.Zn==1&&K(C.p6)){C.vd=C.3h}}B Z=1P("22");if(C.1m==\'ae\'){o.ae?o.ae.1M(Z):1B(E(){o.ae.1M(Z)},100)}F{if(6Y([C.1m],"Z")&&v.1q.1j==1&&v.1q.ee==1){o.1q.1M(Z)}F{o.1N.1M(Z)}if(1e=="dW"&&C.Zw==1){Z.C.5k=Ir}}if(C.Iy==1){C.hH=1v Zr(C,Z)}B nw=1P("22");Z.1M(nw);B e8=1P("22");O(e8,{"1m":"2r","18":0,"1f":0});Z.1M(e8);O(Z,{"1m":"2r","18":0,"1f":0,"1E":1,"dJ":"pK","nd":"hC"});if(2z(C.4Q)){4e(Z,{"id":(v.id+"4D"+"9T"+C.4Q)})}if(C.Iz==1||C.Gw==1){O(e8,{"4M":"2N 0.2s 3a"})}if(2T.R>0){U(i=0;i<2T.R;i++){1r[i]=1P("22");O(1r[i],{"1m":"2r","1f":0,"18":0,"a4":"1U","1E":C.a,"4M":"1E 0.1s 3a"});if(C.fe>C.1K){O(1r[i],{"4M":"1E 0.1s 3a,2N 0.1s 3a"})}if(C.1H=="fi"&&C.2S!=\'\'){if(2z(C.4Q)){4e(1r[i],{"id":(v.id+"4D"+"Z"+"4D"+C.4Q+"4D"+"1r")});if(v[C.4Q+\'2S\']){C.2S=v[C.4Q+\'2S\']}}if(C.2S.I(".vO")>-1||C.2S.I(".jo")>-1||C.2S.I(".9x")>-1||C.2S.I("kx")>-1){C.2S.I("//")==-1&&C.2S.I("kx")==-1?C.2S=\'//\'+C.2S:\'\';B z=1P("4h");C.94=1;z.1u("fC",us);z.2S=C.2S;1r[i].1M(z);C.w=1r[i].28;C.h=1r[i].2P;if(C.IA>0){O(z,{1c:C.IA})}}}if(C.1H=="1C"){O(1r[i],{"1p":(C.1p),"dJ":C.e4*2G(v.7x,1),"uq":dG(C.3W),"jK-gg":C.jp+\'px\',"2M":"0 eA 0 eA","bb-9b":"dX"});if(o.9c){if(2z(C.Iu)){O(1r[i],{"dJ":C.Iu*2G(v.7x,1),})}}if(C.2q==1){if(C.1C.I("<a ")>-1||1a=="bW"){O(1r[i],{"a4":"2t"})}}if(C.ID==1){O(1r[i],{"3W-j7":"ID"})}if(C.IE){O(1r[i],{"nd":C.IE+"em"})}2T[i]==\'5v\'?2T[i]=2L("5v"):\'\';1r[i].1R=uC(2T[i]);1B(ur,100);C.w=1r[i].28;C.h=1r[i].2P;if(2z(C.4Q)){4e(1r[i],{"id":(v.id+"nK"+C.4Q+"YG")})}}if(C.1H=="O"){o.1z?1B(uE,4n):\'\'}B 9e=2T[i].6n();if(9e.I(\'B:\')==0){9e=2G(1O[9e.1n(4)],\'\')}B lL=9e.I(\'<2n\')>-1||9e.I(\'<YF\')>-1;if(C.1H=="2n"&&(9e.I(\'<g>\')>-1||lL)){if(1e=="5g"||1e=="4T"){9e=9e.1S(/hJ/g,\'hJ\'+v.id+1a)}if(9e.I(\'4s\')>-1){bJ(1r[i])}1r[i].1R=(!lL?"<2n X=\'20\' 1c=\'20\' 4c:4a=\'3G://46.w3.3S/7k/4a\' 4c=\'3G://46.w3.3S/4k/2n\'>":\'\')+9e+(!lL?"</2n>":\'\');1r[i].28>20?C.w=1r[i].28:\'\';1r[i].2P>20?C.h=1r[i].2P:\'\';O(1r[i],{"X":C.w,"1c":C.h});if(C.aV!=-1){nS(1r,C.aV)}if(2z(C.4Q)){4e(1r[i],{"id":(v.id+"nK"+C.4Q+"lM"+i)})}}e8.1M(1r[i]);i>0?1j(1r[i]):\'\'}aR();pU?us():\'\';if(C.3h=="4m"){C.4m=1;C.1j=1;o.4m?1r[0].1R=o.4m.mw(C.aV!=-1?C.aV:\'#3F\'):\'\';if(o.1i.2j){1r[0].II=vw;1r[0].YD=5l;1r[0].uP=vn}F{1r[0].kc=5B;1r[0].k9=5l;1r[0].je=dz}}F{if((bg.28*C.1K<35||bg.2P*C.1K<35)&&C.1H!=\'1C\'){uo();bJ(8Z)}F{bJ(bg)}}if(1e=="4T"){B lu=\'\';if(C.gl==1&&K(C.3h)){lu=C.3h;if(lu.I("3q:")==0){B 1A=lu.1n(4).2A(",");if(1A.R==2){B uX=1A[1].2A("/");if(uX.R==2){1A[0]==\'hd\'?1A[0]="4S":\'\';if(v[1A[0]]==uX[1]){C.a=1;O(1r[0],{"1E":C.a})}}}}if(lu=="Ij"||lu=="4t"){o.V.fx();Z.C.5k=Ir;o.uW=1}}if((C.1j==1&&(C.Ic==1||C.Ig==1||C.Ib==1))||lu.I("7o")==0||lu=="Ik"||lu=="aa"){C.In=1;if(6Y([C.1m],"Z")){C.Io=1}}}U(B sf in C){if(2z(C[sf+\'4D\'+\'B\'])){if(2z(2U[C[sf+\'4D\'+\'B\']])){C[sf]=2U[C[sf+\'4D\'+\'B\']]}}}if(1e=="1g"&&C.fV==1){fV=1v ZS(Z,bg,C)}if(C.2q==0){f9(Z)}if(C.94==1){1j(bg)}if(C.2w==1){o0()}if(C.1m.I("2g")>-1){f7=1}if(C.1m.I("1f")>-1){Hw=1}if(C.1m.I("2J")>-1||C.1m.I("Z")>-1){hX=1}2x();B t=\'\';if(C.aH!=0){t+="om("+C.aH+"wu)"}if(C.10a==1){t+=" 3n(-1)"}if(C.10c==1){t+=" 3t(-1)"}if(t!=\'\'){O(e8,{"2N":t})}if(1e=="dW"){hK()}B 1A=[];B i;if(1e=="W"){1A=[\'de\',\'GD\',\'lq\',\'GO\',\'uQ\',\'ng\'];U(i=0;i<1A.R;i++){if(K(C[1A[i]])&&!K(v.W[1A[i]])){v.W[1A[i]]=C[1A[i]]}}}if(1e=="1F"){1A=[\'lv\',\'v9\',\'uZ\'];U(i=0;i<1A.R;i++){if(K(C[1A[i]])&&!K(2U[1A[i]])){v[1A[i]]=C[1A[i]]}}}C.q7==1?9m():\'\';if(1e=="4T"&&C.on==0){3g(Z)}if(C.1j==1&&C.lw>0){1B(GP,C.lw*2h)}}E GP(){C.lw=-1;o.Q.4F()}E uo(){if(8Z){8Z.3O.3k(8Z)}8Z=1P("22");O(8Z,{"1m":"2r","1f":0,"18":0,"X":C.1H=="fi"?bg.28:(bg.28>35?bg.28:35)*C.GQ,"1c":C.1H=="fi"?bg.2P:(bg.2P>35?bg.2P:35)*C.wW});C=4q(C,\'jR\',\'jR\');Z.1M(8Z)}E bJ(x){if(1e.I("17")==0&&V.R==1){C.2q=0}if(1e=="4T"&&C.gl==0){C.2q=0}if(C.2q==1){if(C.k8==1){O(x,{"6M":"4s"})}O(x,{"a4":"2t"});if(o.1i.2j){x.1u("cS",E(e){vn(e)});x.1u("gV",E(e){vw(e)});x.1u("gP",E(e){GL(e)})}if(v.cK==1||!o.1i.2j){x.gf=8G}if(v.1q.k6==1||C.k6==1){O(x,{"2f-1p":"#ny","1E":0.5})}}F{O(x,{"6M":"7v"})}if(!o.1i.2j){x.kc=5B;x.k9=5l}if(C.2Z==1||C.2w==1){x.je=dz}}E vn(e){js("10G"+1a);e.aw();cS=H}E vw(e){C.GB==1?5B():\'\';e.aw()}E GL(e){e.aw();e.9O();C.GB==1?5l():\'\';if(!cS){8G(e)}cS=L}E aR(){if(bg){bg.3O.3k(bg)}bg=1P("22");O(bg,{"1m":"2r","1f":0,"18":0});if(2z(C.4Q)){4e(bg,{"id":(v.id+"nK"+C.4Q+"10L")})}w=C.w;h=C.h;C.fj=-1;C.aL=-1;C=4q(C,\'2E\',\'2E\');C=4q(C,\'a0\',\'a0\');if(C.aT&&o.9c){if(C.aT!=\'0 0 0 0\'){C=4q(C,\'a0\',\'aT\')}}if(C.1H=="1C"){w=1r[vu].28;h=1r[vu].2P;if(C.vt>0){w<C.vt?w=C.vt:\'\'}}C=4q(C,\'fU\',\'fU\');C=4q(C,\'GA\',\'GA\');if(2z(C.4Q)&&K(v.4T)&&C.1e=="4T"){if(1L(v.4T)==\'3M\'){U(B i=0;i<7M.6v(v.4T).R;i++){if(v.4T[i][C.4Q]){if(v.4T[i][C.4Q]=="6X"){C.on=0}F{B 1A=v.4T[i][C.4Q].2A(":");if(1A[0]=="2E-18"){if(1A[1].I("%")>0){C.hi=2H(1A[1])}F{C.4i=2H(1A[1])}}}}}}}C.h=h;C.w=w;if(C.bg==1){h=h+C.a7+C.a3;w=w+C.7g+C.7j;C.h=h;C.w=w;if(C.1H=="1C"){C.kD=1r[0].2P}}F{C.4g=0}O(bg,{"X":(C.Gl==1?Gm:w),"1c":h,"xa":(C.nV*h)/2,"2f":(C.vq==1?"3a-4C("+(C.Yb==1?"to 2g,":\'\')+4L(C.4p,C.4g)+","+4L(C.Zp,C.4g)+")":4L(C.4p,C.4g)),"4M":"2f .1s 3a, 2N .1s 3a"+(2z(C.9K)?\', 6t .1s 3a\':\'\')});if(C.1H=="fi"){O(bg,{"X":w,"1c":h,"xa":(C.nV*h/C.1K)/2,})}if(C.GM==1){x6(bg,C.4p,C.GK,C.GJ)}if(C.kH==1){O(bg,{"2Q":"43 6u "+C.l2})}if(C.aq==1){O(bg,{\'jU-6t\':\'aq(az)\'})}nw.1M(bg)}E 2x(){B fj=(-bg.2P/2);B aL=(-bg.28/2);if(fj!=C.fj||aL!=C.aL){O(bg,{"1f":(-bg.2P/2),"18":(-bg.28/2)});C.fj=fj;C.aL=aL}if(8Z){B x=C.1H=="fi"?bg.28:(bg.28>35?bg.28:35);B y=C.1H=="fi"?bg.2P:(bg.2P>35?bg.2P:35);O(8Z,{"1f":(-y/2)+C.GR-C.GN,"18":(-x/2)+C.Z9-C.YQ})}U(B i=0;i<2T.R;i++){B it=C.1H=="2n"?2C.3R(2H(1r[i].C.1c))/2:2C.3R(1r[i].2P)/2;B il=C.1H=="2n"?2H(1r[i].C.X)/2:1r[i].28/2;if(it!=C.it[i]||il!=C.il[i]){O(1r[i],{"1f":-it,"18":-il});if(bg){O(1r[i],{"1f":(5h(1r[i].C.1f)+C.a7/2-C.a3/2+C.YW/2+C.YR/2),"18":(5h(1r[i].C.18)+C.7g/2-C.7j/2+C.YP/2+C.YO/2)})}C.it[i]=it;C.il[i]=il}}}E 5B(){B i;6T=H;if(C.dP==1){if(on&&K(C.p7)){i=1}F{i=0}if(aU&&dP.R>2){i=2}if(dP[i]){ob();1o(1r[dP[i]])}}if(C.bg==1){O(bg,{"2f":4L(vc(C.am,C.4p),vc(C.8d,C.4g))});if(2z(C.9K)){O(bg,{"6t":"cX("+C.9K+")"})}}if(C.7p>-1&&!Gv){U(i=0;i<2T.R;i++){if(1r[i].C.5H!="2Z"){O(1r[i],{"1E":C.7p})}}}if(C.oU!=-1){nS(1r,C.oU)}if(C.Gw==1){ha+=45;ib(1r[0],ha)}if(C.fe>C.1K&&C.fe>-1){1K(C.fe)}if(1e=="1g"&&o.Q.ci()){}F{if(C.2w==1&&C.q7!=1){B x=7s.R>1&&!on?7s[1]:7s[0];if(x){if(x.I(\'B:\')==0){2O.1R=1O[x.1n(4)];9m()}}1o(2w);O(2w,{"1E":1})}}if(1e=="5g"){o.V.5u(H);o.5u=H}o.dx=H;o.Q.kv(1a,"6T")}E 5l(){6T=L;B i;if(C.dP==1){if(on&&K(C.p7)){i=1}F{i=0}if(aU&&dP.R>2){i=2}ob();1o(1r[i])}if(C.bg==1){O(bg,{"2f":4L(C.4p,C.4g)});if(2z(C.9K)){O(bg,{"6t":"cX(1)"})}}if(C.7p>-1){U(i=0;i<2T.R;i++){if(1r[i].C.5H!="2Z"){O(1r[i],{"1E":C.a})}}}if(C.fe>-1){1K(C.1K)}if(C.oU!=-1){nS(1r,(C.aV==-1?\'#3F\':C.aV))}if(1e=="5g"&&!o.2a){o.V.5u(L);o.5u=L}vj();o.dx=L;o.Q?o.Q.kv(1a,"4E"):\'\'}E vj(){if(C.2w==1&&C.q7!=1){1j(2w);O(2w,{"1E":0})}}E 8G(e){e?e.6L=H:\'\';if(!nW){o.Q.eP(1a);if(1e=="4T"){nG()}vj();if(C.Zl==1){ha+=45;ib(1r[0],ha)}hZ=H;if(C.Gx==1||(1a=="vg"&&C.1j==1&&C.vf==1)){o.Q.4F()}}};G.Gy=E(){8G()};E nG(){if(2T){if(2T.R>1){if(on==H){1o(1r[0]);1j(1r[1])}F{1o(1r[1]);1j(1r[0])}}if(C.2w==1&&7s.R>1){2O.1R=o.ni+(on==H?7s[0]:7s[1])+o.hG;9m()}}if(K(C.vd)){if(on==H){C.3h=C.vd}F{C.3h=C.p6}}ov();on=on!=H;if(C.3h){if(C.3h.I(",0/1")>-1){js(C.3h,on?1:0)}}if(C.bg==1&&K(C.vb)){if(C.vb!=-1){if(on){C.Gz=C.4p;C.4p=C.vb}F{C.4p=C.Gz}aR();bJ(bg);2x();if(C.1H=="1C"){8Y()}F{1K(C.1K)}}}}E ov(){if(K(C.fc)){if(C.fc.R>1){if(on==H){6e(C.fc[0])}F{6e(C.fc[1])}}}}E uG(1d){1d.6L=H;o.Q.eP(1a)}E ob(){U(B i=0;i<2T.R;i++){if(1r[i].C.5H!="2Z"){O(1r[i],{"1E":C.a});1j(1r[i])}}}E ur(1C){if(1r[0]){if(1r[0].28>o.2R-C.4i-C.4f-C.7g-C.7j){if(C.uN==1){if(!1C){1C=1r[0].1R}1r[0].1R=\'<uN>\'+1C+\'</uN>\'}F{O(1r[0],{"bb-9b":"ez"})}O(1r[0],{"X":o.2R-C.4i-C.4f-C.7g-C.7j})}}}E us(){if(bg){pU=L;C.94=0;1j(bg);if(1r[0]){C.w=1r[0].28*C.1K;C.h=1r[0].2P*C.1K;1K(C.1K)}C.9J=0;aR();uo();bJ(8Z);1o(bg);2x();o.Q.4X();if(!5w(Z)){3g(Z)}}F{pU=H}}E GF(1d){1d.6L=H}E dz(){if(!o.1i.2j&&!o.dx){5B()}9m()}E 1K(x){if(x>0){O(bg,{"2N":"1K("+x+")"});U(i=0;i<2T.R;i++){O(1r[i],{"2N":"1K("+x+")"})}if(C.hH){C.hH.1K(x)}3n=x;3t=x}}E o0(){2w=1P("22");O(2w,{\'1m\':\'2r\',\'18\':0,\'1f\':0,\'1c\':\'2t\',"1E":0,"4M":"1E 0.1s 3a"});hB=1P("22");C=4q(C,\'l0\',\'l0\');C=4q(C,\'GT\',\'GT\');O(hB,{\'1m\':\'2r\',\'18\':0,\'1f\':0,\'X\':\'100%\',\'1c\':30,\'2f-1p\':C.kI,\'1E\':C.kJ,\'2Q-6A\':C.wf});2O=1P("22");O(2O,{\'1m\':\'2r\',\'18\':C.w6,\'1f\':C.pW,\'1p\':C.wb,\'3W-h0\':dG(C.wc),\'3W-3J\':C.wd*2G(v.7x,1),"jK-gg":C.we+\'px\',"2B-1c":"1"});if(C.2O){if(C.2O.I("B:")==0){C.GC=H}}if(!C.GC){O(2O,{\'bb-9b\':\'dX\'})}if(C.go==1){8z=1P("22");8z.1R=\'<2n X="az" 1c="w9" vV="0 0 8 6" 7X="1.1" 4c="3G://46.w3.3S/4k/2n" 4c:4a="3G://46.w3.3S/7k/4a"><gp id="It" 3K="1U" 6i="#\'+C.kI.1S("#","")+\'" 6i-I9="HO" 8x="0 0 8 0 4 6"></gp></2n>\'}if(C.q7==1){O(2w,{"1E":1});bJ(2w)}F{f9(2w)}Z.1M(2w);2O.1R=o.ni+(C.2O==\'\'?2L(1e):7s[0])+o.hG;2w.1M(hB);2w.1M(2O);if(C.go==1){2w.1M(8z);B uk=o.um?\'-az\':\'-w9\';B ps=C.Yo;if(!K(ps)){ps=\'\'}B tp=ps.I("1f")>-1;if(tp){ib(8z,\'-Yd\')}O(8z,{\'1m\':\'2r\',\'2g\':(ps.I("2g")>-1?10*C.1K:\'2t\'),\'18\':(ps.I("18")>-1?10*C.1K:(ps==\'\'||ps==\'1f\'?\'50%\':\'2t\')),\'2E-18\':(ps==\'\'||ps==\'1f\'?\'-E7\':0),\'2J\':(tp?\'2t\':uk),\'1f\':(tp?uk:\'2t\'),\'1E\':C.kJ})}9m()}E 9m(){if(C.2w==1){O(2w,{"1f":(hX==1?-h-2w.2P+3:-2w.2P/2)+C.Ya-C.YE,"18":(f7==1?-2O.28:(hX==1?-w/2:+2O.28))-(hX==1?0:2O.28/2+5)+C.Yz-C.Yy,"1c":C.pW+2O.2P+C.w8,"X":C.w6+2O.28+C.Ix});O(hB,{\'1c\':2w.2P});2w.C.5k="2h"}}G.c=E(){J Z};G.s=E(x){J C[x]};G.ss=E(x,x2){J K(C[x])?C[x][x2]:L};G.g=E(x){aM(x){1k"X":J w;1h;1k"1c":J h;1h;1k"h":J 2G(C.kD,h);1h;1k"x":J 5h(Z.C.18);1h;1k"y":J 5h(Z.C.1f);1h;1k"1E":J Z.C.1E?Z.C.1E:1;1h;1k"1o":J 4B;1h;1k"3n":J 3n;1h;1k"3t":J 3t;1h;1k"1e":J 1e;1h;1k"GU":J ao;1h;1k"hZ":J hZ;1h;1k"1H":J C.1H;1h;1k"R":J C.nD?C.nD:0;1h;1k"1a":J 1a;1h;1k"x0":J x0;1h;1k"y0":J y0;1h;1k"6T":J 6T;1h;1k"1g#":J ao.I("1g#")==0;1h;1k"1g:":J ao.I("1g:")==0;1h;1k"uh":J 1e=="4T"&&C.1H=="1C";1h;1k"1Y#4B":J tU;1h;7v:J L}};G.1Y=E(k,x){aM(k){1k"1o":6T?5l():\'\';4B=x;1h;1k"2i":Hh(x);1h;1k"5T":5T(Z);1h;1k"3g":3g(Z);1h;1k"He":C.2Z=0;1h;1k"ug":if(C.Hg>0&&C.2Z!=1&&!i2){2K(i2);i2=1B(E(){3g(Z);C.2Z=1;i2=1J},C.Hg*2h)}1h;1k"1K":1K(x);1h;1k"Zy":O(Z,{"2N":"1K(0)"});1h;1k"3n":O(Z,{"2N":"3n("+x+")"});3n=x;1h;1k"3t":O(Z,{"2N":"3t("+x+")"});3t=x;1h;1k"1E":O(Z,{"1E":x});1h;1k"ud":O(1r[0],{"1E":x});1h;1k"f8":O(1r[0],{"6t":"f8("+x+")"});1h;1k"18":O(Z,{"18":x});1h;1k"1f":O(Z,{"1f":x});1h;1k"X":O(Z,{"X":x});1h;1k"1c":O(Z,{"1c":x});1h;1k"vU":C.vU=x;1h;1k"f7":f7=x;1h;1k"1Y#4B":tU=x;1h;1k"x":O(Z,{"18":x});1h;1k"y":O(Z,{"1f":x});1h;1k"5Z":C.5Z=x;1h;1k"7o":C.7o=x;1h;1k"x0":x0=x;1h;1k"y0":y0=x;1h;1k"f6":C.f6=x;1h;7v:J L}};E Hh(x){if(x&&o.1i.2j){nW=H;1B(Hj,dH)}if(!x){if(C.ou==1&&aU){1j(1r[hR]);1o(1r[0]);aU=L}}if(C.94==1){x?1o(Z):1j(Z)}F{if(1a=="10s"||1a=="Hi"){x?1o(Z):1j(Z)}F{O(Z,{"2i":(x?"4t":"1U")})}4B=x;x?1o(Z):\'\'}if(x&&C.o2){C.o2=L;1B(8Y,100)}}E Hj(){nW=L}G.6e=E(x,y){if(ao!=\'\'&&(C.1C==\'x\'||C.1C==\'1x\')){x=x+\'x\'}if(y){x=C.1C+x}6e(x);!5w(Z)?C.o2=H:\'\'};B u1;G.jP=E(x){if(u1!=x){C.8V=x;6e(x);!5w(Z)?C.o2=H:\'\';o.Q?o.Q.4X():\'\'}u1=x};G.tZ=E(){ib(e8,n1);n1+=20};E ib(x,y){O(x,{"2N":"om("+y+"wu)"+(x==1r[0]&&!Hk&&3n!=1?\' 1K(\'+3n+\')\':\'\')})};G.Hl=E(x){if(C.1C.I("{1F")>-1){6e(C.1C)}};G.nG=E(){nG()};E 6e(1C){if(C.1H=="1C"){if(K(1C)){if(C.Hf){if(1C.R==4){1C=(C.nA?\'0:0\':\'bH:0\')+1C}if(1C.R==5){1C=(C.nA?\'0:\':\'bH:\')+1C}if(1C.R==7){1C=(C.nA?\'\':\'0\')+1C}}if(C.Hm){if(1C.R==4){1C=\'0\'+1C}}C.nD=1C.R}1C=(C.tX?C.tX+(C.Ho?\'\':\' \'):\'\')+1C+(C.tV?\' \'+C.tV:\'\');B Hu=1r[0].28+(C.bg==1?C.a7+C.a3:0);B Hd=1r[0].2P+(C.bg==1?C.a7+C.a3:0);1r[0].1R=o.ni+(1e=="4T"?uC(1C):1C)+o.hG;if(C.10H==1){1r[0].1R+=\'<7t C="2i:bF-4t;X:eg"></7t><7t C="2Q-1f: eA 6u \'+3x(C.1p)+\';2Q-18: eA 6u e3;2Q-2g: eA 6u e3;1m: 2r;2g:eA;1f: 50%;2E-1f: -43;"></7t>\'}if(1e=="1F"){O(1r[0],{"X":"2t","bb-9b":"dX"});ur(1C)}C.w=1r[0].28+(C.bg==1?C.a7+C.a3:0);C.h=1r[0].2P+(C.bg==1?C.a7+C.a3:0);if(Hu!=C.w||Hd!=C.h||(C.w>0&&uD==0)){8Y()}if(1r[0].28>0){uD=C.w}F{ao!=\'\'?1j(1r[0]):\'\';if(1C!=\'\'){1B(8Y,10)}}}}G.8Y=E(){8Y()};E 8Y(){if(C.1H=="1C"){if(1r[0]){if(1r[0].28>0){ao!=\'\'?1o(1r[0]):\'\';w=C.w=1r[0].28;h=C.h=1r[0].2P;aR();bJ(bg);2x();if(o.Q){if(6Y([C.1m],"Z")){o.Q.uK()}F{o.Q.4X()}}}}}}G.uJ=E(x){if(C.H4==1){B n=4;if(1a=="ZE"){if(o.1i.2j){J}}F{n=8}B y=\'hJ\';B z=[];U(B i=1;i<n;i++){z[i]=1V.8A(y.an(v.id,1a,\'ZD\',i))}if(z[1]){U(B i=1;i<n;i++){z[i]?1j(z[i]):\'\'}if(n==4){U(B i=1;i<n;i++){x>(i/n)&&z[i]?1o(z[i]):\'\'}}F{U(B i=n;i>0;i--){if(x*1+(1/n)>=(i/n)&&z[i]){1o(z[i]);1h}}}}}};G.On=E(){if(!on){if(2T){if(2T.R>1&&V.R>1){1j(1r[0]);1o(1r[1])}}if(V.R>1){1e=V[1];if(C.2w==1){2O.1R=hQ(1);9m()}}if(C.ou==1&&aU){1j(1r[hR]);aU=L}ov();on=H}};E hQ(x){J o.ni+(C.2O==\'\'?2L(V[x]):(7s.R>1?7s[x]:7s[0]))+o.hG}G.bZ=E(x){bZ(x)};G.Hc=E(x,y){if(C.hH){C.hH.dr(x,y)}};E bZ(x){B y=\'hJ\';B z=1V.8A(y.an(v.id,1a,\'ZK\'));if(z){O(z,{"4M":"2N 0.1s 5x-4E"});if(x==1){z.C.2N=\'GX(0, 0)\'}F{z.C.2N=\'GX(-GY, 0)\'}}F{if(x==1){C.a=1}F{C.a=0.5}}on=x==1;if(C.2w==1&&7s.R>1){2O.1R=(on?7s[0]:7s[1])}O(1r[0],{"1E":C.a})};G.hN=E(){if(on){if(2T){if(2T.R>1&&V.R>1){1o(1r[0]);1j(1r[1]);O(1r[0],{"1E":C.a})}}1e=V[0];if(V.R>1){if(C.2w==1){2O.1R=hQ(0);9m()}}ov();on=L;aU=L}};G.uG=E(){if(C.ou==1){ob();1o(1r[hR]);aU=H}};G.GZ=E(){B 2I=L;if(C.1j==1&&C.H0==1){if(5w(o.2e)){2I=H}}if(!2I){5T(Z);B fD=Z.a8("*");U(B i=fD.R;i--;){O(fD[i],{"5Z-1y-7w":"10q"})}4B=H}};G.hK=E(){hK()};E hK(){3g(Z);B fD=Z.a8("*");U(B i=fD.R;i--;){O(fD[i],{"5Z-1y-7w":"8l"})}4B=L}G.4r=E(){if(2T.R>0){U(i=0;i<2T.R;i++){if(1r[i].3O==Z){Z.3k(1r[i])}1r[i]=26}}if(bg){bg.gu("gf");bg.gu("kc");bg.gu("k9");bg.3O.3k(bg);bg=26}if(C.1m==\'ae\'){if(Z.3O==o.ae){o.ae.3k(Z)}}F{if(Z.3O==o.1N){o.1N.3k(Z)}F{if(o.1q){if(Z.3O==o.1q){o.1q.3k(Z)}}}}if(2w){if(2w.3O==Z){Z.3k(2w)}}Z=26};G.H2=E(){fV?fV.hT():\'\'};G.GW=E(){uE()};E uE(){H3(2T[0],C.1p,1r[0])}E uC(x){B z=x+\'\';if(x.I(\'{\')>-1){if(x.I(\'{17}\')>-1&&K(o.3o)){x=x.1S(\'{17}\',eC(o.3o.bo().t))}if(x.I(\'{1F\')>-1){B y=o.cj?o.cj:(v.1F?v.1F:\'\');if(x.I(\'{c9}\')>-1&&o.Q){x=x.1S(\'{c9}\',o.Q.bI(\'c9\'))}if(o.c8&&o.Q){y=o.Q.bI(\'c8\')}x=x.1S(\'{1F}\',y);if(o.c8&&!o.Q){1B(6e,100,z)}}if(x.I(\'{1C\')>-1){U(B i=1;i<6;i++){if(x.I(\'{1C\'+i+\'}\')>-1){if(K(v[\'1C\'+i])){x=x.1S(\'{1C\'+i+\'}\',v[\'1C\'+i])}F{x=x.1S(\'{1C\'+i+\'}\',\'\')}}}}if(x.I(\'{6C}\')>-1){o.i7=1a;if(o.Q){x=x.1S(\'{6C}\',o.Q.bI(\'H5\'))}}}J x}G.uA=E(){6e(C.1C)};E nS(1r,6Q){U(B i=0;i<1r.R;i++){H8(1r[i],6Q)}if(C.3h=="4m"){if(o.4m){o.4m.10j(1r[0],6Q)}}}};B H9=E(1a,1e){B i;B C=[];B w;B h;B bg;B 4B=H;B x0;B y0;B 3n=1;B 3t=1;B eU=0;B 8B=0;B ZX;B 3D;B la;B 6T;B 2q;B 3B;B Is;B Ih;B vX;B If;B 2w;B 2O;B 8z;o.GG=-1;B q3;B 6T;B wj;U(i in g8.S){C[i]=g8.S[i]}B 1e=v[1a].1e;B 1H=v[1a].1H;U(i in g8[1e]){C[i]=g8[1e][i]}U(i in v[1a]){C[i]=v[1a][i]}C.w=2H(C.w);C.h=2H(C.h);C=4q(C,\'2E\',\'2E\');C=4q(C,\'a0\',\'a0\');if(o.9c){if(C.Ha>0){C.w=2H(C.Ha)}if(C.aT){if(C.aT!=\'0 0 0 0\'){C=4q(C,\'a0\',\'aT\')}}}B Z=1P("22");if(v.1q.ee==1&&v.1q.1j==1){o.1q.1M(Z)}F{o.1N.1M(Z)}1e=="2B"?o.ae=Z:\'\';B 8C=L;if(C.7J){if(C.7J!=\'1I\'){8C=H}}O(Z,{"1m":"2r","1f":0,"18":0,"1E":1,"dJ":"pK","nd":"hC"});if(C.Hb==1){Z.C.5k=C.5c}aR();B 9y=1P("22");O(9y,{"1m":"2r","2J":2C.3R(-C.h/2),"18":2C.3R(-C.w/2)});if(C.6Z>0&&C.Gk==1){O(9y,{"2Q-6A":C.6Z*C.h/2,"1c":C.h,"5r":"2Z","4s-3c":"1U"})}if(2z(C.4Q)){4e(Z,{"id":(v.id+"nK"+C.4Q)})}Z.1M(9y);if(1e==\'2B\'&&v.vy==1){IJ()}if(C.2w==1){o0()}B 9d=1P("22");kg(0,9d,0.3,(C.4C==1?"3a-4C("+(C.wl==1?"to 18,":\'\')+3x(C.Es)+", "+3x(C.o1)+")":3x(C.o1)),C.w,C.Ms);if(C.Hr==1&&K(C.q4)){B hy=1P("22");hy.1R=C.q4.1S(/\\#Hq/g,3x(C.o1));9d.1M(hy);O(hy,{"1m":"2r","2J":-2C.3R(C.h/2),"18":0,"4s-3c":"1U"});O(9d,{"5r":"2Z","2f":"1U"});B x=["wz","gp","o3","k1","d6"];U(B y=0;y<x.R;y++){B z=hy.wy("2n "+x[y]);if(z.R>0){U(B y2=0;y2<z.R;y2++){z[y2].C.6i=3x(C.o1)}}}}9y.1M(9d);B Mv=[];B cC=1P("22");kg(1,cC,C.H7,(C.4C==1?"3a-4C("+(C.wl==1?"to 18,":\'\')+3x(C.H6)+", "+3x(C.H1)+")":C.H1),0,C.MR);9y.1M(cC);if(C.7p>0){B do=1P("22");kg(2,do,C.Hn,C.LY,0,C.7p);9y.1M(do)}B 7z=1P("22");kg(3,7z,C.Ht,(C.4C==1?"3a-4C("+(C.wl==1?"to 18,":\'\')+3x(C.Hs)+", "+3x(C.1p)+")":C.1p),0,C.a);if(C.Hr==1&&K(C.q4)){B pR=1P("22");pR.1R=C.q4.1S(/\\#Hq/g,3x(C.1p));O(pR,{"1m":"2r","2J":-2C.3R(C.h/2),"18":0,"4s-3c":"1U"});O(7z,{"5r":"2Z","2f":"1U"});7z.1M(pR)}if(C.5G==1){B cn=1P("22");C=4q(C,\'wG\',\'wG\');C=4q(C,\'wF\',\'wF\');O(cn,{"1m":"2r","2J":C.h/2,"18":0,"4s-3c":"1U","3W-3J":C.Hp*2G(v.7x,1),"1p":C.5R,"2B-1c":"100%","2M-1f":C.M8,"2M-2J":C.Mp,"2M-18":C.O3,"2M-2g":C.O1,"2E-1f":C.Nb,"2E-2J":C.Nd,"2E-18":C.LP,"2E-2g":C.Ne,"2Q-6A":(C.Gu+"px"),"2i":"1U"});if(C.Gt==1){O(cn,{"2f":3x(C.Gr)})}7z.1M(cn);B kK=L;B Nt=L}o.nY=C.h;9y.1M(7z);if(C.eO==1){B 8x=[];if(1L Gj!=="1J"){B 9B=1v Gj(Z,8x,w,C)}}if(C.3B==1){if(C.dg.6n().I(\'<2n\')==-1){C.dg==\'\'?C.dg="<2n X=\'20\' 1c=\'20\'><g><d6 ry=\'5\' rx=\'5\' cy=\'10\' cx=\'10\' 6i=\'#gN\'/></g></2n>":\'\'}3B=1P("22");3B.1R=C.dg.6n();C=4q(C,\'Gq\',\'Gq\');O(3B,{"1m":"2r","1f":-10+C.Nq-C.Nn,"18":-2h,"4s-3c":"1U","1c":20,"X":C.fK,"1E":C.wO,"4M":"2N 0.1s 3a, 1E 0.1s 3a"});if(C.kO==1||C.wi==1){O(3B,{"2N":"1K(0)"})}F{if(C.lD!=1){O(3B,{"2N":"1K("+C.lD+")"})}}Z.1M(3B);if(C.wx!=-1){B x=["wz","k1","d6"];U(B y=0;y<x.R;y++){B z=3B.wy("2n "+x[y]);if(z.R>0){U(B y2=0;y2<z.R;y2++){z[y2].C.6i=3x(C.wx)}}}}C.gc=3B.28}if(C.aH!=0){O(Z,{"2N":"om("+C.aH+"wu)"})}if(C.2Z==1){1j(Z);4B=L}if(1e=="1I"&&!8C){if(C.1j==1&&C.ku==1){o.kt=H;C.2Z=H}F{o.kt=L}}C.aI=0;if(C.aH!=0){C.kp=2C.Ka(C.aH);if(C.kp>45&&C.kp<Nl){C.aI=90}if(C.kp>Nk&&C.kp<Gp){C.aI=GV}}if(8C){C.7J?o[\'2B\'+\'4D\'+C.7J]=C.7J:\'\';w=C.w;C.7J=="54"?6y(1,o.6c.6O(-1)[0],"no"):\'\';if(C.7J=="vG"){B pv=v.1I;v.2b?(v.2b.1I?pv=v.2b.1I:\'\'):\'\';6y(pv,1,"no")}}E kg(n,x,y,z,Gn,Gs){O(x,{"1m":"2r","2J":0,"18":0,"X":Gn,"1c":(C[\'h\'+n]>0?C[\'h\'+n]:C.h),"2f":z?(z.I("3a")>-1?z:3x(z)):\'\',"2Q-6A":(C.Gk==1?1:C.6Z*C.h/2),"1E":Gs,"4s-3c":"1U","4M":"2N 0.2s 5x-in-4E"})}E aR(){bg=1P("22");C=4q(C,\'fU\',\'fU\');B kD=C.h+C.a7+C.a3;B GS=C.w+C.7g+C.7j;if(C.bg==1){}F{C.4g=0}C=4q(C,\'jR\',\'jR\');if(v.1q.k6==1||C.k6==1){C.4p=\'#ny\';C.bg=1;C.4g=0.5}O(bg,{"1m":"2r","1f":0,"18":0,"X":GS,"1c":kD*C.wW,"xa":(C.nV*kD)/2,"2f":4L(C.4p,C.4g),"a4":"2t","4M":"1E .1s 3a, 2f .1s 3a"});if(C.aq==1){O(bg,{\'jU-6t\':\'aq(az)\'})}if(C.kH==1){O(bg,{"2Q":"43 6u #"+C.l2})}if(C.2q==1){if(C.k8==1){O(bg,{"6M":"4s"})}if(!o.1i.2j||v.cK==1){bg.gf=8G;bg.Kv=vW;bg.Kk=mq;bg.je=dz}}F{O(bg,{"6M":"7v"})}if(!o.1i.2j){bg.kc=5B;bg.je=dz;bg.k9=5l}if(o.1i.2j&&C.2q==1){bg.1u("gV",E(1d){1d.6L=H;if(!K(1d.5P)&&1d.7T.R>0){1d.5P=1d.7T[0].hc;1d.9p=1d.7T[0].pJ}q3=1d;5B(1d);mq(1d)});bg.1u("gP",E(1d){1d.6L=H;o.3D=L;5l(1d);vW(q3)});bg.1u("2q",E(1d){1d.6L=H});bg.1u("cS",E(1d){if(!K(1d.5P)&&1d.7T.R>0){1d.5P=1d.7T[0].hc;1d.9p=1d.7T[0].pJ}q3=1d;o.3D=H;dz(1d)})}O(bg,{"18":2C.x7(-C.w/2-C.7g)});O(bg,{"1f":2C.x7(-C.h/2-C.a7+C.GR-C.GN)});if(C.GM==1){x6(bg,C.4p,C.GK,C.GJ)}Z.1M(bg)}E 2x(X){if(X!=w){w=X;o.wZ=w;B aQ=w/9d.28;O(bg,{"X":(w+C.7g+C.7j),"18":-w/2-C.7g,});O(9y,{"18":-w/2});O(9d,{"X":w});O(9y,{"X":w});B xx=cC.28*aQ;if(xx>9d.28){xx=9d.28}O(cC,{"X":xx});B wp=7z.28*aQ;O(7z,{"X":wp});kN(wp);if(1e=="2B"){HN()}if(C.eO==1){9B?9B.Iq(w):\'\'}if(o.6w){o.6w.2x()}}}E kN(x){if(C.3B==1){if(x<C.gc/2&&C.fK!=20){x=C.gc/2}if(x>w-C.gc/2&&C.fK!=20){x=w-C.gc/2}B y=x-w/2-C.gc/2+C.Ke-C.KA;O(3B,{"18":y})}}E wh(){O(3B,{"2N":"1K("+C.lD+")"})}E 5B(1d){o.Q.kv(1a,"6T");if(C.bg==1){if(C.8d!=-1){B m=1v 5z({"mc":bg,"1H":"8b","to":C.8d,"17":0.1,"me":(1a+"bg")})}if(2z(C.am)){O(bg,{"2f-1p":C.am})}}if(2z(C.wU)){O(7z,{"2f-1p":C.wU})}if(C.3B==1){if(C.GH==1&&K(C.wR)){if(C.n3==1&&3D){}F{3B.1R="<2n X=\'"+C.fK+"\' 1c=\'20\' 4c:4a=\'3G://46.w3.3S/7k/4a\' 4c=\'3G://46.w3.3S/4k/2n\'>"+C.wR.6n()+"</2n>"}}if(C.kO==1){if(C.wi==1&&!o.1z){}F{wh()}}F{if(C.lS!=-1){B m2=1v 5z({"mc":3B,"1H":"8b","to":C.lS,"17":0.1,"me":(1a+"3B")})}}}if(C.2w==1&&(o.P.1l()>0||1e=="1I"||8C)){kA()}if(C.eQ>0){O(bg,{"2N":"3t("+((C.eQ-1)/5+1)+")"});wN(C.eQ)}if(C.3B==1&&C.wg==1){kN(aG(1d.5P)-8B)}if(1e=="1I"){o.V.5u(H);o.5u=H}6T=H;o.dx=H}E wN(x){O(9d,{"2N":"3t("+x+")"});O(cC,{"2N":"3t("+x+")"});do?O(do,{"2N":"3t("+x+")"}):\'\';O(7z,{"2N":"3t("+x+")"})}E 5l(){if(!la){if(C.7p>0){O(do,{"X":0})}if(2z(C.wU)){O(7z,{"2f-1p":C.1p})}if(C.bg==1){if(C.8d!=-1){B m=1v 5z({"mc":bg,"1H":"8b","to":C.4g,"17":0.1,"me":(1a+"bg")})}if(2z(C.am)){O(bg,{"2f-1p":C.4p})}}if(C.3B==1){if(C.GH==1&&K(C.wR)){if(C.n3==1&&3D){}F{3B.1R="<2n X=\'"+C.fK+"\' 1c=\'20\' 4c:4a=\'3G://46.w3.3S/7k/4a\' 4c=\'3G://46.w3.3S/4k/2n\'>"+C.dg.6n()+"</2n>"}}if(C.kO==1){O(3B,{"2N":"1K(0)"})}F{if(C.lS!=-1){B m2=1v 5z({"mc":3B,"1H":"8b","to":C.wO,"17":0.1,"me":(1a+"3B")})}}}if(C.eQ>0){O(bg,{"2N":"3t(1)"});wN(1)}if(1e=="1I"&&!o.2a){o.V.5u(L);o.5u=L}o.Q.kv(1a,"4E")}if(C.eO==1&&9B){9B.4E()}if(C.2w==1&&(o.P.1l()>0||1e=="1I")){nx()}if(o.ma&&1e=="2B"){o.th.1j();o.GG=-1}6T=L;o.dx=L}E 8G(1d){1d.6L=H}E GF(1d){1d.6L=H}E vW(1d){if(1e=="1I"){if(o.9n){la=H;2K(wj);wj=1B(E(){la=L;5l()},2h)}}vL();o.3D=L;if(C.3B==1){if(C.n3==1&&K(C.vR)){3B.1R="<2n X=\'20\' 1c=\'20\' 4c:4a=\'3G://46.w3.3S/7k/4a\' 4c=\'3G://46.w3.3S/4k/2n\'>"+C.dg.6n()+"</2n>"}}cp(1d.5P,1d.9p);o.Q.eP(1a);o.Q.h4(1d.5P,1d.9p);1d.6L=H}E mq(1d){3D=H;if(C.3B==1){if(C.n3==1&&K(C.vR)){3B.1R="<2n X=\'20\' 1c=\'20\' 4c:4a=\'3G://46.w3.3S/7k/4a\' 4c=\'3G://46.w3.3S/4k/2n\'>"+C.vR.6n()+"</2n>"}}eU=jl(bg);8B=gd(bg);cp(1d.5P,1d.9p);6y(2q,1,"no")}E cp(dh,dc){B x;dh=aG(dh);dc=aG(dc);B Hv=2C.5A(1V.mt.aF,1V.3I.aF);B GE=2C.5A(1V.mt.d9,1V.3I.d9);if(o.1i.2j){}F{dc=dc+GE;dh=dh+Hv}if(C.aI>0){x=dc-eU-C.7j;2q=x/w;if(C.aI==GV){x=dc-eU-C.7g;2q=x/w;2q=(2q-1)*-1}}F{x=dh-8B-C.7g;2q=x/w;if(C.aH>Kz&&C.aH<Ku){x=dh-8B-C.7j;2q=x/w;2q=(2q-1)*-1}}2q>1?2q=1:\'\';2q<0?2q=0:\'\'}E aG(x){if(o.ak>1){x=x/o.ak}J x}G.Ia=E(){9B?9B.Iq(w):\'\'};G.jV=E(){9B?9B.dr(w):\'\'};E vL(){3D=L}E dz(1d){8B=gd(bg);if(C.7p>0){if(o.1z||1e!=\'2B\'){O(do,{"X":aG(1d.5P)-8B})}}if(C.2w==1&&(o.P.1l()>0||1e=="1I"||8C)){kA();eU=jl(bg);cp(1d.5P,1d.9p);if(1e=="2B"){if(v.Ks==1){if(o.P.62()&&o.P.bY().I("?vH")>0){2O.1R=\'- \'+eC((1-2q)*o.P.1l(H))}F{2O.1R=eC(2q*o.P.1l())}}F{B d=o.P.1l();if(v.4A>0){d=d-v.4A*1}B 8p=\'\';if(C.eO==1&&9B){8p=9B.2w(2q*d);8p!=\'\'?8p=8p+\'<br>\':\'\'}2O.1R=8p+eC(2q*d)}}if(1e=="1I"||8C){2O.1R=vE(2q)}9m(1d)}if(o.ma&&1e=="2B"&&o.th){if(o.P.1l()>0){if(C.2w==0){eU=jl(bg);8B=gd(bg);cp(1d.5P,1d.9p)}B 18=(-w/2+(aG(1d.5P)-8B)-v.k0/2);18>w/2-v.k0?18=w/2-v.k0:\'\';O(o.aX,{"1f":(-v.w4-(v.Ip>0?v.Ip*1:5)-v.w1),"18":(18<-w/2?-w/2:18)});o.th.17(2q*o.P.1l(),aG(1d.5P),8B,w)}}if(C.3B==1&&C.wg==1){kN(aG(1d.5P)-8B)}if(o.1i.2j){mq(1d)}}E 9m(1d,t,l){B 18=(-w/2+(aG(1d.5P)+1V.mt.aF-8B)-2O.28/2)+(l?l:0);B kB=0;if(v.yt!=1){if(18+w/2+2O.28+10>o.2R){kB=18;18=o.2R-w/2-2O.28-10}if(18+o.2R/2<0){kB=18;18=-o.2R/2}}B x={"1f":(-2O.2P-C.Im*1-C.pW-C.w8)-(C.Il==1?(C.h/2)*(C.eQ>0?C.eQ:1):0)+(t?t:0),"18":18};O(2w,x);if(C.go==1){O(8z,{\'1m\':\'2r\',\'18\':2O.28/2-4+(kB!=0?kB-18:0),\'1f\':2O.2P-6})}}G.kA=E(e,x,t,l){kA();2O.1R=x;9m(e,t,l)};E kA(){if(!5w(2w)||2w.C.1E==0){1o(2w);O(2w,{"1E":1})}}G.nx=E(){nx()};E nx(){1j(2w);O(2w,{"1E":0})}G.c=E(){J Z};G.s=E(1a){J C[1a]};G.ss=E(x,x2){J C[x][x2]};G.g=E(x){aM(x){1k"X":J w;1h;1k"Kn":J 9d.28;1h;1k"1c":J C.h;1h;1k"x":J 5h(Z.C.18);1h;1k"y":J 5h(Z.C.1f);1h;1k"1E":J Z.C.1E?Z.C.1E:1;1h;1k"1o":J 4B;1h;1k"3n":J 3n;1h;1k"3t":J 3t;1h;1k"1e":J 1e;1h;1k"1a":J 1a;1h;1k"x0":J x0;1h;1k"y0":J y0;1h;1k"2q":J 2q;1h;1k"eH":J 8C;1h;7v:J L}};G.1Y=E(1a,x){aM(1a){1k"1o":4B=x;1h;1k"3D":3D=x;1h;1k"2i":1e=="2B"||C.1j==1?O(Z,{"5H":(x?"4B":"2Z")}):O(Z,{"2i":(x?"4t":"1U")});4B=x;1h;1k"3n":O(Z,{"2N":"3n("+x+")"});3n=x;1h;1k"3t":O(Z,{"2N":"3t("+x+")"});3t=x;1h;1k"1E":O(Z,{"1E":x});1h;1k"18":O(Z,{"18":x});1h;1k"1f":O(Z,{"1f":x});1h;1k"2q":2q=x;1h;1k"dI":C.dI=x;1h;1k"X":O(Z,{"X":x});1h;1k"1c":O(Z,{"1c":x});1h;1k"vU":C.Ko=x;1h;1k"x":O(Z,{"18":x});1h;1k"y":O(Z,{"1f":x});1h;1k"x0":x0=x;1h;1k"y0":y0=x;1h}};G.2x=E(x){2x(x)};G.oC=E(x){};G.gZ=E(aC,aB){if(3D){if(1e=="1I"||8C){cp(aC,aB);o.Q.eP(1a)}if(1e=="1I"){o.9n=H}cp(aC,aB);6y(2q,1,"no")}};G.h4=E(aC,aB){if(3D){vL();3D=L;cp(aC,aB);o.Q.eP(1a);6y(2q,1,"no")}};E 6y(17,1l,x){17<0?17=0:\'\';if(v.4A>0&&1l>1){1l=1l-v.4A;17=17-v.4A}if(C.3B==1&&C.wi==1&&C.kO!=1){if(!C.Ii&&17>0){wh();C.Ii=H}}if(3D&&1l!=1){}F{B 4v;if(1l>0&&17>0){if(17>1l){17=1l}4v=w*(17/1l);if(4v==7z.28){4v=-1}}F{4v=0}if(4v>=0){O(7z,{"X":4v});if(C.wg==1&&6T&&!x){}F{kN(4v)}}if(K(cn)){if(1l<2&&1e=="2B"){if(kK){3g(cn);kK=L}}F{if(!kK){5T(cn);kK=H}cn.1R=1e=="2B"?4z(17==0?1l:17):vE(17)}}}};G.6y=E(17,1l,x){if(1l!=Ih||17!=If||x){6y(17,1l,x)}};G.Ie=E(){2q>1?2q=1:\'\';2q<0?2q=0:\'\';O(7z,{"X":(2q*w)})};G.Id=E(17,1l){if(1l>0&&17>0){B 4v=w*(17/1l);4v>w?4v=w:\'\';O(cC,{"X":5h(4v)});Is=1l;vX=17}F{vX=0;O(cC,{"X":0})}};G.kn=E(x){if(C.6w==1){if(!o.6w){if(x!=0){if(1L IC!=="1J"){o.6w=1v IC(Z,C,x);o.9W=H}}}F{if((!K(x)||x==0)&&o.9W){o.6w.1j();o.9W=L}F{if(!o.9W||(K(x)&&x!=1&&x!=0)){o.6w.w5(x);o.9W=H}}}}};E IJ(){o.aX=1P("22");O(o.aX,{\'1m\':\'2r\',\'18\':0,\'1f\':0,\'X\':v.k0,\'1c\':v.w4,\'5r\':\'2Z\',"4s-3c":"1U","2f-1p":"#kw","2Q-6A":v.IH+\'px\',"2i":"1U"});o.aX.id="Li"+v.id;if(v.w1==1){O(o.aX,{"2Q":v.IG+"px 6u "+w0(\'1p\',v.IF)})}if(v.IB==1){O(o.aX,{"6q-bB":"vY 43 jN 5d(0,0,0,0.5)"})}o.aX.C.5k="kE";Z.1M(o.aX)}E o0(){2w=1P("22");O(2w,{\'1m\':\'2r\',\'18\':0,\'1f\':0,\'1c\':\'2t\',"4s-3c":"1U","1E":0,"4M":"1E 0.1s 3a"});C=4q(C,\'l0\',\'l0\');2O=1P("22");O(2O,{\'1m\':\'2r\',\'2M-18\':C.w6,\'2M-2g\':C.Ix,\'2M-1f\':C.pW,\'2M-2J\':C.w8-1,\'1C-8w\':\'8t\',\'1p\':C.wb,\'3W-h0\':dG(C.wc),\'3W-3J\':C.wd*2G(v.7x,1),\'jK-gg\':C.we+\'px\',\'2B-1c\':"1",\'2f-1p\':4L(C.kI,C.kJ),\'2Q-6A\':C.wf});C.Iw?C.go=C.Iw:\'\';if(C.go==1){8z=1P("22");8z.1R=\'<2n X="az" 1c="w9" vV="0 0 8 6" 7X="1.1" 4c="3G://46.w3.3S/4k/2n" 4c:4a="3G://46.w3.3S/7k/4a"><gp id="It" 3K="1U" 6i="\'+3x(C.kI)+\'" 6i-I9="HO" 8x="0 0 8 0 4 6"></gp></2n>\'}Z.1M(2w);2w.1M(2O);if(C.go==1){2w.1M(8z);O(8z,{\'1E\':C.kJ})}2w.C.5k="2h"};E HN(){if(o.3o&&v.d3==1&&!o.1z){B f=o.3o.bo();if(f.t&&f.d){6y(f.t,f.d)}}};E vE(x){B y=2C.3R(x*100);if(8C){if(o.jF){J(8C&&2z(C.2O)?C.2O+\'&gi;\':\'\')+3P(x*o.6c.6O(-1)[0]).vF(1)}if(o.HM){J(8C&&2z(C.2O)?C.2O+\'&gi;\':\'\')+o.vG}}J y};G.4r=E(){Z.3k(9y);if(bg){bg.gu("gf");bg.gu("kc");bg.gu("k9");bg.3O.3k(bg);bg=26}if(3B){Z.3k(3B)}if(Z.3O==o.1N){o.1N.3k(Z)}F{if(o.1q){if(Z.3O==o.1q){o.1q.3k(Z)}}}Z=26}};B HL=E(){B i;B C=[];B w;B h;B 4B=H;B 3n=1;B 3t=1;B x0=0;B y0=0;B aK=5S(mf,KK);B 1e,1a="bg";B 1H="KL";C["1m"]=v.1q.1m;U(B k in v.1q){if(v.1q.2o(k)){C[k]=v.1q[k]}}if(C.1o==0){v.1q.h=C.h=0;C.2M=C.2E="0 0 0 0";C.4C=0}C["1K"]=1;C=4q(C,\'2E\',\'2E\');if(K(C.jX)){if(C.jX!=20&&C.2E=="-20 0 0 0"){C.7Z=C.jX}}if(2z(C.HK)&&o.9c){C=4q(C,\'2E\',\'HK\')}if(C.KN==1){C.4i+=\'%\';C.4f+=\'%\'}B Z=1P("22");if(C.aq==1&&C.4C==0){C.HE=C.a;v.1q.a=C.a=1}F{C.aq=0}O(Z,{\'1m\':\'2r\',\'18\':0,\'1f\':0,\'X\':(C.kq==1?\'100%\':o.b3),\'1E\':C.a,\'4s-3c\':\'1U\',\'dJ\':\'pK\',\'nd\':\'hC\'});o.1N.1M(Z);B bg=1P("22");O(bg,{\'1c\':C.h-(C.1m!=\'1f\'?C.es+C.7Z:0),\'2i\':\'4t\',\'2E-18\':C.4i,\'2E-2g\':C.4f,\'2Q-6A\':C.6Z});if(C.HJ>0){O(bg,{\'2Q\':\'43 6u 5d(vN,vN,vN,\'+C.HJ+\')\'})}Z.1M(bg);w=Z.28;v.di=-C.7Z;if(C.4C==1){if(C.1p==\'41\'||v.1q.8R!=\'\'){if(C.1m!=\'1f\'){v.di=98-C.h}B 4h=\'29:8R/vO;kx,KR+KS/T/D+KU/KH/KW==\';if(v.1q.8R.I("29:8R")>-1){4h=v.1q.8R}O(bg,{\'1c\':C.h+(C.1m!=\'1f\'?v.di:0),\'2f\':\'Y(\'+4h+\') gt-x 50% 100%\',\'2f-3J\':\'2t\'})}F{B gA=\'to 2J, \'+4L(C.1p,0)+\', \'+4L(C.1p,1);O(bg,{\'2f\':\'-n4-3a-4C(\'+gA+\')\',\'2f\':\'-3H-3a-4C(\'+gA+\')\',\'2f\':\'-ms-3a-4C(\'+gA+\')\',\'2f\':\'-o-3a-4C(\'+gA+\')\',\'2f\':\'3a-4C(\'+gA+\')\'})}}F{if(C.aq==1){O(Z,{\'jU-6t\':\'aq(az)\'});O(bg,{\'1E\':C.HE})}O(bg,{\'2f-1p\':C.1p})}G.h=E(){J C.h-(C.1m!=\'1f\'?C.7Z:0)};G.c=E(){J Z};G.s=E(1a){J C[1a]};G.g=E(x){if(Z){aM(x){1k"w":Z.28>0?w=Z.28:\'\';J w;1h;1k"X":J Z.28;1h;1k"1c":J Z.2P;1h;1k"x":J 5h(Z.C.18);1h;1k"y":J 5h(Z.C.1f);1h;1k"1E":J Z.C.1E?Z.C.1E:1;1h;1k"1o":J 4B;1h;1k"3n":J 3n;1h;1k"3t":J 3t;1h;1k"1a":J 1a;1h;1k"x0":J x0;1h;1k"y0":J y0;1h;1k"aK":J 1a+aK;1h;7v:J L}}F{J L}};G.1Y=E(1a,x){aM(1a){1k"1o":4B=x;1h;1k"w":w=x;1h;1k"2i":O(Z,{"2i":(x&&v.wQ!=1?"4t":"1U")});4B=x;1h;1k"1K":O(Z,{"2N":"1K("+x+")"});3n=x;3t=x;1h;1k"3n":O(Z,{"2N":"3n("+x+")"});3n=x;1h;1k"3t":O(Z,{"2N":"3t("+x+")"});3t=x;1h;1k"1E":O(Z,{"1E":x});1h;1k"18":O(Z,{"18":x});1h;1k"1f":O(Z,{"1f":x});1h;1k"X":O(Z,{"X":x});1h;1k"1c":O(Z,{"1c":x});1h;1k"x":O(Z,{"18":x});1h;1k"y":O(Z,{"1f":x});1h;1k"x0":x0=x;1h;1k"y0":y0=x;1h}};G.4r=E(){o.1N.3k(Z);Z=26}};if(1L(2U)=="5i"){HC()}o.G=G;if(2U.id){if(1V.8A(2U.id)){wM()}F{1V.1u(\'Lb\',gs)}}F{1L HA==\'E\'?HA():\'\'}E wM(){if(K(2U.id)){if(1V.8A(2U.id)){if(!Jh(1V.8A(2U.id))||2U.4B==1){2U.L8==1?1B(gs,50):gs()}F{1B(wM,50)}}}}E gs(){U(B i=0;i<5a.R;i++){if(K(5a[i])){if(5a[i].3q("id")==2U.id){if(5a[i].3q("7Q")){5a[i].3q(\'2I\')}}F{if(v.L7==1&&5a[i].3q("v","3i")==1){2U.3i=0}}}}5a.2F(o.G);B 2I=L;if(K(2U.3j)){U(B i=2;i<10;i++){if(2U.3j==i&&o[\'u\'+i]!=\'\'){v=a6(v,5f.6U(dq(o[\'u\'+i])));2I=H}}}if(o.u!=\'\'&&!2I){v=a6(v,(1L o.u!="3M"?5f.6U(dq(o.u)):o.u))}if(1L(L5)!="E"){U(B 1a in 2U){if(2U.2o(1a)){if(1a.I("Hz")==0){2U[1a]=26}}}}v=a6(v,2U);o.1G=1V.8A(v.id);if(v.ky==1&&v.L4==1&&1L(x9)=="E"){tI(o.1G,"KZ");if(!x9()){1O.1V.1u("6N",x9)}}F{HQ()}}E HQ(){B wA=v.2e;if(v.MZ==1&&K(v.2e)&&K(wA)){v.2e!=\'\'?v.2e=wA:\'\'}if((!K(v.3w)||v.3w==\'\')&&v.O9==1){1t(\'6g\');J}if(v.I0==1||v.wm==1){1O.1u(\'a1\',E(1d){B x=1J;B y;K(1d.29.17)?x=1d.29.17:\'\';K(1d.29.1I)?x=1d.29.1I:\'\';K(1d.29.I7)?y=1d.29.I7:\'\';K(1d.29.3q)?y=1d.29.3q:\'\';if(y&&v.wo){if(v.wo!=\'\'){B pm=v.wo.1S(/\\s+/ig,\'\').2A(\',\');if(pm.I(y)==-1){J}}}if(v.wm==1){if(1L(I6)=="E"){I6(1d)}}if(y&&o.8e){if(K(1d.29.1Y)){x=1d.29.1Y}B z=3v(y,x);1O.9S.oc({1d:y,R2:z},\'*\')}})}U(B 1a in o.gT){if(o.gT.2o(1a)){o.gT[1a]!=\'\'?o.jn+=o.gT[1a]+\' \':\'\'}}1t(o.7X+\' \'+o.jn);ej=v.id;o.d=7Y.wE;o.hs=7Y.R3;if(!v.4R&&6Y([o.hs],\'#1y-\')){v.4R=o.hs.1n(o.hs.I(\'#1y-\')+6)}if(9S){B nI=L;3p{if(9S){if(9S.1V){B pH=9S.1V.a8("I5");U(B i=0;i<pH.R;i++){if(pH[i].iE===1O){o.8q=pH[i];o.o7=H;v.I4!=1?O(o.8q,{"2Q":"1U"}):\'\';o.I3=o.8q.C;1t("e1")}}}F{nI=H}}}2V(eq){nI=H}if(nI){o.o7=H;1t("R8-h7")}}o.o7&&1V.mu?o.h7=1V.mu.2A(\'/\')[2]:\'\';!o.I2?I1():\'\';if(1L(HZ)=="E"){if(HZ()){J}}o.8e=H;HS();B HY=1v 6V();if(HY.Rd()==20){if(5S(1,20)==10&&v.Rf!=0){uB(o.ut,o.ut);1B(E(){if(1O.ga){ga(\'gS\',\'UA-Ri-6\',\'2t\',{\'6x\':\'6I\',\'Rp\':H});ga(\'Rq\',\'HX\');ga(\'HX:Rr\',[o.d]);ga(\'6I.ce\',\'1d\',{HW:\'oK\',HV:\'gs\',HU:o.d})}},hI)}}if(v.ga==1&&v.HT!=1){if(1L Gh==\'E\'){o.ga=1v Gh()}}if(!o.1G){v.1t=1;1t(\'id "\'+v.id+\'" gr nQ\');J L}o.1G.1R=\'\';O(o.1G,{\'2M\':0,\'Qw-gg\':\'ez\'});o.91=o.1G.2P;o.8T=o.1G.28;if(K(v.hL)&&!K(v.51)){if(K(v.hL.51)){v.51=v.hL.51}if(K(v.hL.nJ)){v.nJ=v.hL.nJ}}if(o.1G.C.X.I("%")>-1){o.Qx=o.1G.C.X}if(v.51=="6X"||o.1G.C.1c.I("%")>-1){v.51="%";o.mn=o.1G.C.1c;o.91=0}if(o.8T==0){if(o.1G.C.X.I("px")>0){o.8T=2H(o.1G.C.X)}F{if(o.1G.3O.C.X.I("px")>0){o.8T=2H(o.1G.3O.C.X)}F{if(o.1G.3O.3O.C.X.I("px")>0){o.8T=2H(o.1G.3O.3O.C.X)}}}}if(7q(v.51).I("x")>0){o.51=v.51.2A("x")[0]/v.51.2A("x")[1];if(o.91==0){o.91=o.8T/o.51}}F{o.51=0}O(o.1G,{\'1m\':\'e7\',\'6q-hm\':\'uV-6q\',\'1C-8w\':\'18\',\'-3H-ue-dF\':\'1U\',\'uq\':dG(\'nz-o5\'),\'96-1c\':15,\'dJ\':14*2G(v.7x,1),\'2B-1c\':\'hC\',\'ER\':\'EQ\',\'1p-F4\':\'1U\'});if(v.bB==1){O(o.1G,{\'6q-bB\':\' 0 Gg QB 5d(50,50,93,.1), 0 jN Gg 5d(0,0,0,.Qq)\'})}if(o.51>0){O(o.1G,{\'1c\':o.91})}F{O(o.1G,{\'1c\':o.91==0?o.mn:o.91})}if(o.8T==0){O(o.1G,{\'X\':\'100%\'})}o.1N=1P("22");O(o.1N,{\'1m\':\'2r\',\'6q-hm\':\'uV-6q\',\'7m\':v.pQ,\'1p\':\'#3F\',\'X\':\'100%\',\'1c\':\'100%\',\'18\':0,\'1f\':0,\'dJ\':\'pK\',\'2B-1c\':\'hC\'});if(v.yt!=1){o.1N.C.5r=\'2Z\'}if(v.QF==1){o.1N.C.7m=\'e3\'}if(v.2Q==1){O(o.1G,{\'2Q\':v.EI+\'px 6u \'+v.8W})}o.O=1V.1P(\'C\');o.O.1H=\'1C/O\';o.1N.1M(o.O);o.1N.5U("id",\'QQ\'+v.id);pV(1);if(1O.EF){B ED=1v EF(E(e){if(e[0].vk.R>0){U(B i=0;i<e[0].vk.R;i++){if(e[0].vk[i]==o.1N){qh()}}}});ED.Sa(o.1G,{S4:H})}o.gM=1P(\'e1\');4e(o.gM,{"id":"EB"+v.id,"EJ":"no","1F":"EB"+v.id,"EK":"H","F0":"H","EZ-lA":"H"});O(o.gM,{\'1m\':\'2r\',\'X\':\'100%\',\'1c\':\'100%\',\'2Q\':0,\'4s-3c\':\'1U\'});if(!1V.Sl(\'.v3\')){B 1A="";if(v.EY==1){U(B i=1;i<4;i++){if(2z(v[\'1p\'+i])){1A+=\'--Sr\'+i+\':\'+3x(v[\'1p\'+i])+\';\'}}}gB("4Z, 4Z > *{-3H-So-5H: 2Z;1m: lo;1f: 2t;18: 2t;5r:4B;ER:EQ!5Y;5A-X:1U!5Y;h1-1e: Sk;2N-RM: 8t 8t;6q-hm:uV-6q!5Y;-3H-EN-Er-1p: 5d(0,0,0,0);-3H-EN-Er-1p: e3;1C-Rz:0!5Y;"+1A+"} 4Z 4h{5A-X:1U} 4Z > *:6s{RA: 1U} 4Z,4Z a,4Z a:RB,4Z a:RC,4Z a:gl,4Z a:cF,4Z a:6s{1p:#gN;3W-3J:100%;}4Z e1{2Q:0}4Z e1{2i:4t!5Y;5A-1c:1U!5Y;2f:e3}.v3{}4Z 2n{2E:0}");o.1N.5U(\'RD\',\'v3\')}o.1N.1M(o.gM);o.1G.RE=E RF(e){o.lc++;if(o.lc==5){v.1t=1;1t(o.7X+\' \'+o.jn+\' \'+o.jm)}if(!e)B e=1O.1d;e.6L=H;if(e.aw)e.aw();B x=e.hc-gd(o.1N);B y=e.pJ-jl(o.1N);if(v.RG==1){if(K(v.lQ)){if(4N(v.lQ)!=\'\'){o.yu=v.lQ;K(v.Eq)?o.gK=v.Eq:\'\';v.lQ==\'1U\'?o.gK=o.d:\'\'}}}xi(x,y);J L};E xi(x,y){if(o.gK.I(o.d)==-1||v.E6==1||v.4P==1){if(!K(o.4P)){!v.mM?v.mM="41":\'\';!v.yD?v.yD="3F":\'\';o.4P=1P(\'22\');B 1A;B n=0;U(B i=0;i<10;i++){if((v[\'rm\'+i]==1&&v.4P==1)||i==9){if((K(v[\'rm\'+i+\'t\'])&&K(v[\'rm\'+i+\'a\'])||i==9)){1A=1P("v8");if(i==9){if(v.RI!=1){1A.ym=o.yu+(v.E5==1?" "+o.7X:\'\')}F{1h}}F{1A.ym=v[\'rm\'+i+\'t\']}if(i!=9){if(v[\'rm\'+i+\'a\'].I(",0/1")>-1||v[\'rm\'+i+\'a\'].I(",1/0")>-1){B z=v[\'rm\'+i+\'a\'].2A(\',\');1A.ym+=\' (\'+(3v(z[0].1n(4))==1?2L(\'on\'):2L(\'6X\'))+\')\'}if(v[\'rm\'+i+\'a\'].I("2X")==0){o.gG=H;!o.2X?o.Q.E3():\'\'}}1A.5U("i",i);DT(1A);1A.1u("2q",DZ);o.4P.1M(1A);n++}}}O(o.4P,{"1C-2N":"RN","2B-1c":"1","bb-9b":"dX","2f":4L(v.mM,0.7)});if(n>1){O(o.4P,{"2M":"jN"})}o.4P.C.5k="RO";o.4P.je=E1;o.1N.1M(o.4P)}F{5T(o.4P)}O(o.4P,{"1m":"2r","1f":y,"18":x,"1C-8w":"18"});B yx=L;if(o.2R-x<o.4P.28-20&&v.yt!=1){O(o.4P,{"18":x-o.4P.28});yx=H}if(v.RP==1||yx){O(o.4P,{"1C-8w":"2g"})}o.DS=x;o.DY=y;2K(o.n9);o.n9=1B(E(){3g(o.4P)},4k)}}E E1(){2K(o.n9);o.n9=1B(E(){3g(o.4P)},4k)}E DZ(e){B i=e.3Y.6r("i");B y;B xP=L;if(i>0){if(i==9){o.gK!=\'\'?1O.3e(o.gK):\'\'}F{B x=v[\'rm\'+i+\'a\'];if(x){if(x.I("3q:")==0){if(x.I(",0/1")>-1||x.I(",1/0")>-1){B z=x.2A(\',\');B b=o.Q.xe(x,"3h");B u=3v(z[0].1n(4),z[1],b);js(z,u);xm();xi(o.DS,o.DY);xP=H}F{y=x.2A(",");3v(y[0].1n(4),(K(y[1])?y[1]:26))}}if(x.I("2X:")==0&&o.2X){o.2X.3q(x.1n(6))}if(x.I("js:")==0){y=x.2A(",");2l(y[0].1n(3)+\'(\'+(K(y[1])?\'"\'+y[1]+\'"\':\'\')+(K(y[2])?\',"\'+y[2]+\'"\':\'\')+\')\')}if(x.I("Y:")==0){x=x.1S(/\\(Y\\)/g,DX());x=x.1S(/\\(RV\\)/g,DV(K(v.DU)?v.DU:1V.mu));x=x.1S(/\\(1F\\)/g,o.cj);x=x.1S(/\\(7E\\)/g,v.7E);1O.3e(x.1n(4))}}}!xP?3g(o.4P):\'\'}}E DT(x){O(x,{"2M":"E7 jN","3W-3J":(v.E8?v.E8:"55")*2G(v.7x,1)+"%","jK-gg":"0.Pj","1E":0.9,"1p":v.yD});x.1u("gh",Ei);x.1u("gj",Ep)}E Ei(e){O(e.3Y,{"1E":1});O(e.3Y,{"2f":4L(v.mM,0.5)})}E Ep(e){O(e.3Y,{"1E":0.9});O(e.3Y,{"2f":"1U"})}o.1i=1v Eo();if(o.1i.5b){B yH=(v.En==1?\'*::-3H-P-Q-1z-OM-mw {2i: 1U!5Y;-3H-yo: 1U;}\':\'\');if(v.pL==1&&v.El!=1&&(v.Ej!=1||!o.1i.7R)&&(v.Eh!=1||!o.1i.j5)){}F{if(o.1i.5b&&v.gH==1){}F{yH+=\'h5::-3H-P-Q {2i:1U !5Y;}*::-3H-P-Q-OT {2i: 1U!5Y;-3H-yo: 1U;}*::--3H-P-Q-1y-mw {2i: 1U!5Y;-3H-yo: 1U;}\'}}B 1A=1V.1P(\'C\');1A.1H=\'1C/O\';1A.1M(1V.Ee(yH));o.1N.1M(1A)}if(o.1i.Ed){v.3i==1&&v.OW==1?v.3i=0:\'\'}if(o.51==0){if(o.1N.2P==15&&!o.mn&&v.F2>0){O(o.1G,{"1c":v.F2})}}if(K(v.iy)){v.W.de=v.iy}if(K(v.nj)){v.W.ng=v.nj}if(K(v.1z)){o.2c=v.1z}if(K(1O.IL)&&v.OY==1){1O.IL(gw)}F{gw()}}E gw(){1t("gw");o.V=1v F3();if(!v.3w){v.3w="?"}if(v.pl){v.3w=v.pl+o.d5}o.P6=mV();o.FU=0;o.5L=xQ();if(o.5L){if(3U.6G("xB")!=26){o.xz=3U.6G("xB")}F{o.xz=mV();3U.9q("xB",o.xz)}if(v.xC==1){if(3U.6G("yw")!=26){o.4S=3U.6G("yw");if(2z(v.bD)){if(v.bD.I(o.4S)>-1){o.4S=26}}}}if(v.FS==1){if(3U.6G("y6")!=26){v.bi=3U.6G("y6")}}U(B i=0;i<o.cQ.R;i++){if(v[\'FR\'+o.cQ[i]]==1){if(3U.6G("FQ"+o.cQ[i])!=26){}F{v[o.cQ[i]+\'s\']=0}}}7I("Pf");7I("Pg")}o.io=o.9g.1n(o.9g.I("://")+3);if(o.io.I("#")>0){o.io=o.io.1n(0,o.io.I("#"))}if(o.5L&&v.d3==1){o.3o=1v P2()}if(v.ky==1){o.5H=v.Or;tI(o.1G,"5H",H)}v.gQ==1&&v.ky==1?o.gQ=1v OG():\'\';v.ab==1?Ob():\'\';if(v.Oc==1){o.bG=1v Od();o.bG.bd()}o.P=1v FH(v.3w);if(!o.1i.2j||v.cK==1){o.1N.1u("Oe",E(){o.5n=H;o.o9=H;o.Q?o.Q.FN():\'\'});o.1N.1u("Og",E(e){if(!o.3D){if(v.1q.9u>0){2K(o.FM);o.FM=1B(E(){if(o.5n!=o.o9){o.5n=o.o9;o.Q.yC()}},v.1q.9u*2h)}F{o.5n=L}o.o9=L;if(o.Q){o.Q.oC()}}})}if(!o.1i.2j){o.1N.1u("FP",E(e){o.3D=H});o.1N.1u("9G",E(e){o.3D=L;if(!o.5u){o.9n=L;o.ei=L}if(o.1i.h1&&o.1i.cK&&o.2a){1B(E(){o.5n=L;o.Q.yC()},3Z)}1B(E(){o.6s=H},3Z);if(o.1i.2j&&o.Q.lp()){}F{o.Q?o.Q.h4(e.5P,e.9p):\'\'}if(v.gx==1){if(o.Q.ci()){o.Q.7H()}}});o.1N.1u("qT",E(e){if(K(o.Q)){if(o.3D){o.Q.gZ(e.5P,e.9p)}F{o.Q.ti()}}})}if(o.1i.2j){1O.1u("Op",Ja,L)}v.y8==1&&1L G8==\'E\'?o.y8=1v G8():\'\';o.3C.1u("gV",E(e){if(e.7T){o.h3=e.7T.R}o.3D=H;o.5n=H;o.pA=L;ox("1z",e)},{dQ:H});o.3C.1u("cS",E(e){if(e.7T){o.h3=e.7T.R;if(o.h3>1){o.tT=1}}if(o.3D){o.pA=H;ox("Ot",e)}},{dQ:H});o.3C.1u("gP",E(e){o.3D=L;1B(E(){o.5n=L},3Z);if(v.lI==1){B iP=1v 6V().9C();if(iP-o.9D<(v.ik?v.ik:0.3)*2h){pa(e)}}!o.pA&&o.h3<2&&o.tT!=1?gI(e):\'\';o.pA=L;o.h3=0;if(e.7T.R==0){o.h3=0;o.tT=0}ox("4u",e)},{dQ:H});3p{1O.1V.1u("9G",E(e){o.6s=L;if(!o.5u){o.9n=L;o.ei=L}if(o.3D&&o.Q){o.3D=L;o.Q.h4(e.5P,e.9p);o.Q.oC()}if(!o.5n&&!o.1i.2j&&!o.1i.tv){o.Q.aZ();if(o.2W){o.2W.c4()}o.Q.Ge()}})}2V(eq){}1O.1V.1u("qT",E(e){o.Q&&o.3D?o.Q.gZ(e.5P,e.9p):\'\'});o.1N.1u("gV",E(e){o.h1=H;o.3D=H},{dQ:H});o.1N.1u("gP",E(e){o.h1=L;o.3D=L},{dQ:H});1O.1V.1u("cS",E(e){if(o.Q&&o.h1){o.Q.gZ(e.7T[0].hc,e.7T[0].pJ)}},{dQ:H});1O.1V.1u("Oz",E(e){B x=e.3Y.gY.lr();if(x==\'qv\'||x==\'Ga\'||x==\'G9\'){J}F{o.Q?o.Q.Gb(e):\'\'}});1O.1V.1u("OB",E(e){B x=e.3Y.gY.lr();if(x==\'qv\'||x==\'Ga\'||x==\'22\'||x==\'G9\'){J}F{o.Q?o.Q.G7(e):\'\'}});if(o.8q){ql(9S.1V,J4)}ql(1V,Jg);E ql(x,z){B y=[\'\',\'n4\',\'3H\',\'ms\',\'Ph\'];if(x){U(B i=0;i<y.R;i++){x.1u(y[i]+(i<y.R-1?"OI":\'\'),z,L)}}}if(!K(o.gM.iE)){1t("Pi");J}F{o.gM.iE.1u(\'4X\',oP,H)}if(!o.1i.2j){o.3C.1u("2q",gI,L);if(v.pI==1&&v.lI==1){o.3C.1u("G5",pa,L)}}nR();if(v.4m){v.4m.on==1?o.4m=1v PT():\'\'}v.6o==1?o.6o=1v PU():\'\';v.gR==1?o.gR=1v PW():\'\';o.Q=1v su();if(v.bW.G2){o.mF=v.bW.G1}a2();aW();if(o.5L){if(v.sW==1&&v.1I!=0&&!o.1i.2j){if(3U.6G("sQ")!=26){v.1I=3U.6G("sQ")}if(3U.6G("jC")==1&&v.mi==1){v.5g=1}}if(v.Fk==1){B sp=3U.6G("Fj");if(K(sp)){if(sp.I(\'.\')>0&&o.jF){o.V.8P(sp,1)}F{if(o.6c){B mp=6Y(o.6c,sp,H);if(mp!=-1&&o.Q.Fg(\'54\')){o.9Z=mp;o.P.8P(o.6c[mp])}o.Q.Ff()}}}}B sA=L;if(v.sY==1){U(B j=0;j<o.d1.R;j++){if(3U.6G("na"+o.d1[j])!=26){v[o.d1[j]]=3U.6G("na"+o.d1[j]);sA=H}}}if(o.1i.2j){if(!sA){v.sB&&v.sB>-1?v.cs=v.sB:\'\'}if(K(v.Fe)){v.nb=v.Fe;2z(v.Fc)?v.n8=v.Fc:\'\'}}}if(o.3o){B f=o.3o.bo();if(f.t&&f.d){o.Q.jf(f.t,f.d);o.Q.4b(f.t,f.d);v.1l=f.d}}o.V.42(v.1I);if(v.5g==1){o.V.5e();o.Q.4F()}if(K(v.Fb)){3v("54",v.Fb)}o.9U=1v ta();if(v.6Z>0){if(v.gx==1||o.ca<tA){O(o.1G,{"2Q-6A":(v.6Z+"px")});O(o.1N,{"2Q-6A":(v.6Z+"px")})}F{Qb()}}if(K(v.6B)){tD("6B")}if(K(v.gC)){tD("gC")}if(K(o.W)){js("W")}if(v.7C==1&&v.Qc==1){o.V.l6()}U(B i=2;i<10;i++){if(K(v["ep"+i])){if(v["ep"+i]=="2j"&&o.1i.2j){3v("ep",i)}}}1B(oP,3Z,H);1B(E(){js("8e");if(v.47){if(1L v.47==\'E\'){v.47=v.47.6x};2l(v.47+(v.47.I(\'()\')==-1?\'("\'+v.id+\'")\':\'\'))}},1)}E gI(e){if(o.tK[o.3C]>2){J}o.lH=H;v.ik==0?v.lI=1:\'\';if(o.pO&&v.dV==1&&!o.1i.tv){pa(e)}F{B t=(v.ik?v.ik:0.35)*2h;pM();2K(o.F8);o.F8=1B(E(){o.cz=0},t+4n);if(v.lI==1||(v.pI==0&&v.1T.pt!=1)){tf()}F{o.pO=1B(tf,t)}}o.cz++;hk()}E tf(){pM();if(o.1i.2j){if(o.Q.lp()){o.Q.ti();if(o.3A&&v.ln==1){o.V.6k();v.ln=0}if(v.Ps!=1){J}}if(o.hr){if(v.FC==1&&v.Pv==1&&o.1i.aA){J}if(v.gH==1&&v.Pw==1&&o.1i.5b){J}}}if(o.cz>1&&v.1T.pt==1){o.cz=0;J}o.cz=0;if(v.dV==1){o.1i.2j&&v.Px==1?\'\':o.V.gI()}}E pa(e){pM();B y=L;if(v.1T.pt==1){if(e){if(v.1T.Py==1&&!o.1i.2j){}F{B x;if(o.1i.2j){x=e.PB;if(!x){if(e.FA){x=e.FA[0].hc-gd(o.1N)}}}F{x=e.PC}if(o.ak>1){x=x/o.ak}if(x){if(x<o.2R/2){if(x<o.2R*20/100){3v("4d","-"+2G(v.1T.Fx,10)*o.cz);v.1T.2T==1&&v.1T.Fu==1?7L(\'4d\',0):\'\';y=H}}F{if(x>o.2R-o.2R*20/100){3v("4d","+"+2G(v.1T.Fx,10)*o.cz);v.1T.2T==1&&v.1T.Fu==1?7L(\'4d\',1):\'\';y=H}}if(y){if(e.aw)e.aw()}}}}}if(!y){if(v.pI==1){if(v.pL==1&&o.1i.2j){}F{o.2a?o.V.8F():o.V.9f()}}}}E pM(){2K(o.pO);o.pO=1J}E oP(x){if(o.Fr!=o.1N.28){x?o.Fr=o.1N.28:\'\';oP()}F{aW()}}E aW(){B y=L;if(o.b3!=o.1N.28||o.ca!=o.1N.2P){y=H}nR();o.Q?o.Q.4X():\'\';o.P.4X();y&&!o.2a?js("4X",o.b3+\',\'+o.ca):\'\'}E nR(){B xw=o.1N.28;B xh=o.1N.2P;if(o.Q){if(v.r6==1){if(v.W.1m!="2J"){B x=o.Q.bI("Fq")+o.Q.bI("1f")+5+o.Q.bI("Fp")+2G(v.Rl,0);O(o.1G,{"1c":x})}}}if(o.51>0&&!o.2a&&!o.d8){xh=xw/o.51+2G(v.rk,0);O(o.1G,{"1c":xh})}if(!o.2a&&!o.d8&&!o.b9){o.b3=2C.3R(xw);o.ca=2C.3R(xh)}if(o.1i.2j&&o.2a&&v.qP==1&&bx.da){if(o.51>0){if(o.51<1||o.P.9j()<1){B sp=bx.da.rp(\'K0\');if(sp!==1J){sp.cq(E(){}).2V(E(e){})}}F{B sp=bx.da.rp(\'t0\');if(sp!==1J){sp.cq(E(){}).2V(E(e){})}}}F{B sp=bx.da.rp(\'t0\');if(sp!==1J){sp.cq(E(){}).2V(E(e){})}}}o.2R=xw;o.4j=xh;if(K(v.1F)&&o.Q){v.1F!=\'\'?o.Q.JF():\'\'}if(K(o.hS)){o.P.1K(o.hS)}if(o.1Z&&!o.2a){o.1Z.2x()}o.2W?o.2W.2x():\'\';o.bG?o.bG.2x():\'\';o.6o?o.6o.3q(\'4X\'):\'\'}E a2(){o.V.oe(v);U(B x in v){if(v.2o(x)){if(x.I("1F")==0){if(v[x]!=\'\'){o.sl=v[x];o.V.a2(x)}}}}o.gR?o.gR.JW():\'\'}E 9M(Y,1G,1K){if(Y){if(Y!=\'\'){if(v.bR==1){Y=bR(Y)}if(1G==o.2e&&Y==o.sd){}F{if(Y.I("#"+v.ah)==0){Y=o[o.fd[0]](Y)}if(Y.I("#0")==0){Y=c6(Y)}Y=rb(Y);if(K(v.Kd)&&Y.I("//")==-1){Y=v.Kd+Y}B s="rQ";if(1K=="6i"){s="Kc"}if(1K=="1U"){s="2t"}if(1K=="K3"){s="100% 100%"}if(Y.I(\' gX \')>0&&1G==o.2e){o.kl=Y.2A(\' gX \');3L(o.rW);o.rW=6R(IU,2G(v.Qj,2)*2h);o.ge=0;Y=o.kl[0]}Y=Y.1S(/ or /g,\'"),Y("\');Y=Y.1S(/\\s/g,\'%20\');if(v.Qd==1&&6Y([Y],\'.J0\')){B 1A=\'6I\'+v.id+\'Qa\';1G.1R=\'<h5 id="\'+1A+\'" 2S="\'+Y+\'" 9k=1 kM=1 3i=1 3A=1 C="X:100%"></h5>\';o.gU=1V.8A(1A)}F{o.gU=1J;1G.1R=\'\';O(1G,{\'2f-8R\':\'Y("\'+Y+\'")\',\'2f-gt\':\'no-gt\',\'2f-1m\':\'8t\',\'2f-3J\':s})}1o(1G);1G==o.2e?o.sd=Y:\'\'}}}};E IU(){if(K(o.kl)&&K(o.ge)){o.ge++;if(o.ge>=o.kl.R){o.ge=0}9M(o.kl[o.ge],o.2e,v.gk)}}E Q4(x){if(x.on==1&&K(x.2S)){x.2S=rb(x.2S);B y=1P("22");if(x.2S.I("3G")>-1||x.2S.I("//")==0){B z=1P("4h");z.2S=x.2S;y.1M(z)}x=a6(x,v.IR);x=4q(x,\'2E\',\'2E\');O(y,{\'1m\':\'2r\'});if(x.1m.I("2J")>-1){O(y,{\'2J\':x.es})}if(x.1m.I("2g")>-1){O(y,{\'2g\':x.4f})}if(x.1m.I("1f")>-1){O(y,{\'1f\':x.7Z})}if(x.1m.I("18")>-1){O(y,{\'18\':x.4i})}o.1G.1M(y)}};E Jg(){if(o.2a&&!qQ()){o.V.sr(H);o.1i.ff?aW():\'\'}F{if(o.d8||o.5n){qQ()?o.2a=H:\'\';o.V.tJ()}}1t("2a",o.2a)}E J4(){if(v.ky==1){tI(o.1G,"5H",H)}}E QW(){1t("da "+bx.da.n1)}E Ja(){if(2C.Ka(1O.da)===90){1t("t0");if(v.Jq==1){B ok=H;if(v.JQ==1&&!o.1z){ok=L}if(v.K2==1&&!o.1y){ok=L}if(o.9h){ok=L}if(o.1Z){ok=H}!o.2a&&ok?o.V.9f():\'\'}}F{1t("K0");if(v.Jq==1){o.2a&&v.qP!=1?o.V.8F():\'\'}}}E qQ(x){!x?x=1V:\'\';B y=L;3p{y=!!(x.LL||x.LM||x.Lw||x.Lv||(x.Lh!=1J))}2V(e){y=L}J y}E Jh(x){J x.28==0&&x.2P==0};E qh(){U(B x in o){if(x.I("K7")>-1){3L(o[x])}if(x.I("qK")>-1){2K(o[x])}}1t("Yt")}}',62,3917,'|||||||||||||||||||||||||||||||||||||var|style||function|else|this|true|indexOf|return|exist|false|||css|media|controls|length|but||for|actions|playlist|width|url|control||||||||time|left||key|pjstg|height|event|action|top|settings|break|system|hide|case|duration|position|substr|show|color|toolbar|icon||log|addEventListener|new|playlist_dic||play|start|tmp|setTimeout|text|hls|opacity|title|container|type|volume|undefined|scale|typeof|appendChild|frame|window|createElement|faction|innerHTML|replace|hotkey|none|document|subs|subtitle|set|vast|||div||||null||offsetWidth|data|fullscreen|pip|seekto||poster|background|right|1000|display|mobile|error|eval|file_type|svg|hasOwnProperty|vasturl|click|absolute||auto|sub|open_action|tip|Resize|files_quality|exist2|split|line|Math|Play|margin|push|existv|parseInt|stop|bottom|clearTimeout|Lang|padding|transform|tiptext|offsetHeight|border|screen_w|src|icons|options|catch|droplist|share|_type|hidden|||||||||||linear|plid|events|files_subtitle|open|Pause|hide2|linkurl|autoplay|player|removeChild|current_quality|media2|scaleX|continue|try|api|current_subtitle||scaleY|floatleft|apiProcessor|file|CheckColor|rows|list|muted|handle|mediacontainer|mouseDown|mediascale|ffffff|http|webkit|body|size|stroke|clearInterval|object|dash|parentNode|parseFloat|Seek|round|org|urls|localStorage|vasttype|font|sbt|target|500||000000|Volume|1px|||www|ready|||xlink|Duration|xmlns|seek|attr|marginright|bga|img|marginleft|screen_h|2000|files|chromecast|200|pause|bgcolor|MarginPadding|Remove|pointer|block|end|_to|values|obj|ShowOrHide|Time|delete|visible|gradient|_|out|refresh|settings2|youtube|tagvideo|preload||hex2rgb|transition|trim|is_hls|rightmenu|dom|plstart|default_quality|custom|_from|empty|folder|resize|xhr|pjsdiv||aspect||f2title|speed||Action|||quality|pljssglobal|ios|order|rgba|Mute|JSON|mute|int|string|Hls|zIndex|onOut|casting|mouseHere|butPosition|valuefontsize|m_to|overflow||canvas|volumewheel|live|isVisible|ease|vastloader|Motion|max|onOver|subtitle_on|vast_loaders|f2value|menuproc|value|visibility|arr_down|arr_up|_value|storage|removeEventListener|m_type|f2action|clientX|shuffle|valuecolor|random|show2|setAttribute|ftitle|airplay|onError|important|animation|||isLive||||||||SetQuality|dechar|files_speed|plx|UpdateText|vast_|remove|UpdatePlaylist|fill|iset|Unmute|evntclk|srch|toString|effects|captions|box|getAttribute|focus|filter|solid|keys|cut|name|UpdatePlay|levels|radius|midroll|next|minutes|hlsconfig|charAt|getItem|download|pjs|dash_created|is_dash|cancelBubble|cursor|scroll|slice|control2|clr|setInterval|status|over|parse|Date|File|off|indOf|rounding|||||||||||intro|activeiconsize|Events|pjs_parent|files_audiotrack|obj2|bgpaddingleft|current_audiotrack|audiotrack|bgpaddingright|1999|vast_and|backgroundColor|safari|skip|aover|String|redirect|tips|span|FindBut|default|state|globalfs|okpd|line3|motions|preroll|pass|toolbarHidden|label|always|bg2|Settings|SettingsTimers|customline|val|PluginHotIcon|Object|_url|seconds|StopWaiting|playing|iphone|waiting|touches|channels|ended|f2i|version|location|margintop|||||||||||Value|alpha_div|layer|bgaover|init|ShowPoster|buffered|navigator|isVastBgLoad|reload|HLS|paused|hours|current_url|VAST|add|parentIframe|Advertising|realfullscreen|center|timer|lastwheel|align|points|Toggle|tipcrn|getElementById|leftBg|_cul|onEnded|_show|Normalscreen|onClick|floor|fvalue|metadata|plhistory|is_sleep|com|ioff|sub_off|SetSpeed|files_quality_ag|image|track|container_w|onWaiting|customtext|bordercolor|is_ws|ResizeText|area||container_h|info||loading||min||||Waiting|space|small|line0|icn|Fullscreen|href|ispipkit|pipwebkit|ratio|loop|txt|Tip|hidden_volume_over|hlsquality|clientY|setItem|vast_or|ctx|apiprm|hideleavetimeout|xbg|opid|gif|lines|ll1I|stretch_width|pnt|getTime|clicktime|arrowsize|lIll|mouseup|onDuration|nativecontrols|loaded|bgbrovr|destroy|Poster|vimeo|preventDefault|curtain|fltrs|Arrows|parent|control_|alert|all|cutted|tag|hls_created|current_speed|marginproc|message|Title|bgpaddingbottom|pointerEvents|plopenid|UpdateObject|bgpaddingtop|getElementsByTagName|ncrtat|bitrate||unmute||timeline|End|Sub|enc2|onPlay|reloadTimer|fzoom|HlsLevelsLength|bgcolorover|concat|actionstt|SetSubtitle|blur|fbg|dropbgcolor||hls_subs|HideControl|stopPropagation|but_x|Switcher|8px|android|stage_y|stage_x|Update|media_error|scrollLeft|Zoomed|rotation|vertical|upld|motion_id|bgl|switch|Status|max_h|audiotracks|delta|Background|Stop|mrgnprs|replay|iconscolor|MainResize|thumb|m3u|SettingsClose|Retimer|||normal_w|charCodeAt|evntout|gaTracker|_keyStr|SubtitleChanged|fullscreen_process|onMouseUp|white|wait|Start||PlaylistNext||noads|default_audio|evntovr|||_css2|scrollbgcolor|flag|_cstm|f2id||_hide|enc3|pld|playById|vast_loadtxt|screen||gao|file3_separator|shadow|hls_config|forbidden_quality|StyleItem|inline|quiz|00|PlaylistG|Clickable|forcehide|sub_shift|onTimeupdate|_speed|qualities|deltaY|but2|fplace|browser|search|source|pause_before_vast|control_title|onMeta|currentFile|CustomSwitch|Playlist||||Close|currentTime|fd0|prev|butplstart|title2|normal_h|||PlaylistNextExist|send||cubic|VastRemoveAndPlay|SettingsVisible|titlestore||ShowOrHideProcessor|open_settings|line3value||CalculateClick|then|dur|sub_bottom||toolbar_hide|onload|linecap|||clicks|line_width|DashLevelsLength|line1|pjs_i|_rb|active|sec|audioTracks|ldr|id_|desktop|Array|playbgcolor|400|reloadto|skpbt|vsts|sttx|touchmove|min_h|Remove2|hlsaudio|native|brightness|channel|but_space|volumewheelin|sub_options|salt|timestore|CreateItem|pltxt|ellipse|hidejustfull|fullscreen_start|scrollTop|orientation|tagframe|event_y||autoplaylist|CloseOpenList|handleicon|event_x|toolbar_margintop|||responseText||SetAudioTrack|line2|l1lI|decode|update|toend||files_|vast_impressions|speed1|controlover|NewFile|onMove|vast_longtimeout|CreateHLS|floatwidth|dropcolor|shuffle_|select|checkFont|300|hiddenwidth|fontSize|file2|pjs_id|ActionPlaylist|Scale|plfolder|iconsover|passive|loading_error|PlaylistPrev|Home|played|screenclick|buffer|nowrap|console|is_visible|mediapip|iframe|err404v|transparent|fontsize|ScrollTo|but_y|relative|icns|ll1l|_start|PipWebkit|qbr2||hidedown|onVolume|10px|onPause|hidden_volume_over_process|pljssglobalid|_lastime||||stout|design|err|MediaReady|marginbottom|pauseroll|coh||cow||PlayerState|normal|3px|headfontsize|timeFormat|rightbs|vast_poster|stretch_with_volume|nomute|cul|_status|classList|XHR|RemoveCurtain|plNxtExst|starttimeout|pointed|ControlClick|expand|autohide|posterhide|videoHeight|topBg|flip|nativeAudioTrack|textTracks|or0|PlaylistExist|sub_sizeproc|sub_color||sub_color2|Airplay|maxBufferLength|hdnn|rightside|saturate|Pnt0||kbps|texts||scaleover||abc|ObjectFit|pic|bgt|rldcnt||hlsDashSub|seeking_time|groupId|||butNames||||HideForce|mediaSession|Curtain|VastAddPreload||HideInterval|setSpeed|load|items|PlaylistPrevExist|playbgcolored|showoverto|VastRecover|BgClr|Pos0|handle_width|actplay|Subtitle|readyState|alpha|overopentimeout|_preloaded|control_line|settingsovertimer|showovercontrol|bgpadding|hdicon|hls_force|AfterVast|HideProof|ToolbarDown|hlsdrm|_ease|hideonpause|_step|NativeEnterFs|autoLevelCapping|HidePoster|current|default_style|600||Reload|handlewidth|findLeft|pstrsi|onclick|spacing|mouseover|nbsp|mouseout|poster_scale|link||_id|tippointer|polygon|sub_or|not|Init|repeat|removeAttribute|subtitle_start|Ready|hidevideo|FindPlStart|url_shift|bgg|pushCSS|overlay|f2bg|opn|upldfl|shareme|nativefullios|ScreenClick|subupld|brandurl|justshow|frameresize|fff|20px|touchend|minify|mediatags|create|compilation|pstrv|touchstart|Il1l|and|tagName|StageMove|family|touch||tchs|StageMouseUp|video|gain|domain|_t|midrolls|iconangle|TagPlay|pageX||_seekaftervast|ctx2|ssfontsize||marginprocleft|_activeIcon|JsClk|vast_longtomsg|sizing|dontplay|details||downin|nativefull||removed|m3ut|sxs|canvas2|chrome|svg0|pip_quality|ResizeSettings|tipbg|1em|prm|shift|heartbeat|ni2|tmln|3000|pjs_|BufferStop|playersize|sub_bgcolor|Off|sub_weight|sub_shadow|TipText|iconreplay|custom_aspect|toggle|offsettimer|pl_first_id|created|bottomside|sub_bga|clicked|yamtrid|YtInit|htto|swipev|_play_i|sourceBuffer|iosfull|ctxtnk|pldur|hlsautoquality|galabels|Rot|Error|||||_wait||mpi|dclckto||_max_order||href2|lrpd|scl|Thumbs|||StyleArrow|float|playlist_source|Ctxt|autonext||airplayed|hidewithoutmoving|limitmaxwidth|ToolbarShow|contentWindow|xtitle|speeds|qbr1|file_separator|offsetLeft|shr|url2|Download|stty|scrollarrows|now|hidetimeout|fcdef|Show|ScrollOverOut|wheelstep|uijs|hmaxk|gatracked|wheel|seekwindow|heartbeatInterval|RenewSubtitle|PluginSub|HistoryPlaylist|ymax|ipad|volumescroll|weight|ShowForce|errorMessage|onplay|mode|128|childNodes|onmousemove|Played|toolbarInterval|FltrVal|_prevIcon|hlschangequality|currentLevel|findTop|playerid|compilations|jpg|letterspacing|days|SetSetting||SettingsN|UpdateSpeed|onSeeked|va2l|PlaylistShow|PlaylistVisible|sub_settings_on|PlaylistControls|SubtitleSettingsMenu|pljsmute|VastNext|onSeeking|line_speed|result|seeking|QualityChangedNoHand|AirplayChanged|letter|custom_speed|floatheight|5px|recover|CustomText|resizePlaylist|clickmargin|NativeControls|SubtitleLoad2|backdrop|RenewPoints|https|paddingtop|historytitlea|240p|thumb_width|rect|||hlsend_to|file2_separator|clickarea|SubtitleLoad|hand|onmouseout|tmpbg|hlsrows|onmouseover|subload|memory|srt|StyleLine|cftlr|OpenList|TimeSub|Parsed|pstrs|historybga|Cut|_ended|rotation2|stretchonfullscreen|hls_stuck_time||hidden_volume|hideoutmute|Mouse|000|base64|observer|480p|ShowTip|left0|open_pl|bgh|999|360p|normalscale|bgborder|tipbgcolor|tipbga|l3v_show|paddingright|playsinline|HandleWidth|handlehide|frag|unshift|Drop|parentcontainer|nQhgxk48vN9kBKA|VstLdTxt|FindDrop|RenameQualities|FileTo|autoQuality|errorto|tippadding|scrollleft|bgbordercolor|Load|getHLS|HlsUpdateAudio|Password|VastLoader|loadLevel|autoprevopenfolder|mouseUp|dashquality|rightclick||VastBgLoad|VastVisible||StyleActive||apdr|dvrtime|setActionHandler|FileType|unmuteonclick|static|ToolbarHidden|openplaylistbefore|toLowerCase|mini|||showtitleplaylist|hideuntilto|resizeonplay|videoWidth|1080p|scripts|720p|RemoveMedia|handlescale|PipSize|playlist_title|fid|acted|click0timeout|valuefromlang|SubtitleError|isvg|_icon|picture|ima|vast_type|rc_label|ssa|handleaover|MidrollOverlay|close|pauserollonplay|bgtmp|rename_audio|vstpause|getDASH|KeyPlusDown|||||but_h|script|bgbract|floatlimitwidth|PlaylistRewind|thumbs_on|openById||seeked||100000|SettingChanged|sub_all|mutestore|AudioTrackChangedNoHand|wheelinterval||find|container_h_procent|limitwidth|spd|onDown|||documentElement|referrer|UpdateTime|button|thumbnails|BgBrAct|wait_to|current_file|ResizePlaylist|wtcntrl|MenuProc|PlaylistHere|title_template|embed|vars|youtu|sub2|sub_upload|timerTime|rmbgcolor|num|pjspl|covervideo|urls_and|done|userseek|vol|StringVar|randomstr|NativeExitFs|gifed|_lastactbut|KeyPlusUp|audioTrack|angle|VastAndLimit|handleiconspress|moz|CreateShare|fit|tpp|sub_size_fullscreen|rightout|pljs|sub_size|showinterval|lineHeight|YoutubeID|poster_aover|playlistrewind|poster_a||playlistloop|UpdateVars0|prefile|UpdateVars|SubtitleOff||FindOpenIds|autonextopenfolder|adsfirst|edge|while|copyObject|scrollHeight|bgcontainer|HideTip|ff0000|sans|timeshort|lang|CreateDASH|lngth|mtp|mediaSource|CustomToogle|gaTrackPlay|exception|changeheight|_control_|ssflyp|full|nhs|isTypeSupported|suboptns|found|MainUpdateSize|IconsColor|ShowLayer|subdrag|bgo|noclick|opera|timeline_h|iclr|CreateTip|colorbg|resizetxt|polyline|clr_options|serif|quartile|iniframe|subsor|mouseHere2|Recover|hideAllIcons|postMessage|stuck|TitleTemplate||youtube_id|alldd|resizeonwidth|setaction||YouTubeIframeAPIReady|rotate||win|sleeptimer|navigationUI||Ended|_stopped|iconsreplay|SwitchText|drtn|Touch|stretch_width_last|OpenScroll|current_plurl|sub_reset|StageLeave|restart_audio|sub_stroke|parsed|playVideo|upload|vastfrombg|marginbg|Player|plurls|fspr|fileTimeout|_fullscreen_end|FrameResizer|omt|AudioContext|container_id|rldplay|iconscolorover|nops|ksu|fatal|160p|onStep|decoration|worked||ErrorOr|YoutubeReady|333333|linkurl2|icon2|audiosrc|unmuteplease|DoubleClick|scrollwidth|isPlaying|scrollarrowcolor|scrollarrowsize|remember_sub|998|postroll|PluginPlSrch|eventstracker|playroll|||filerorto|started||quality_received|||seeksides|files_channel||_readyonplay||vastonmobile|historybgcolor|mouseMove|hidevar|resizeSettings|lastIndexOf|timeld|sepia|rld|frames|doubleclick|pageY|14px|nativecontrolsmobile|ClearClick|yaCounter|click_t|VolumeWheelX|screencolor|svg3|onClickSubtitle|code|imgldd|datetime|tippaddingtop|response|BeforeVast|HidePoster2|StopMedia|||lastTouch|customdesignsvg|HlsLevel|newfile|tipalways|_steps|hidevar2|PlaylistError|order0|StartSpeed|_rights|deltaX|VastGo|upText|Destroy|CustomTextButs|MediaYoutube|exitfullscreen|FSL|removeItem|RadioTags|leftandrightpadding|VolumeWheel|write|normalscreen|scrollarrowbg||vastcontainer|input|bg_hide|playiconbut|advertising|mediadrag|xy00|scrollarrowbgcolor|PluginMovable|toggleControl|but_w|volumewheelfull|customTextPl|effect|_move_rights|ShowShare|timeout|TitlePl|resizetext|join|l1ll|landfullmobile|isFullscreen|fullblack|JsEvent|mousemove|vastgo|ll11|fixed|CreatePoster|Preload|VastVideo|tagsurl|||overlays|hlserror|VastCheckNext|change2playlist|pjslng|HlsAudioTrack|renameTracks|HlsAudioTracks|checkBase64|IndexPlaylistProcessor|span05||clck|maxMaxBufferLength|prototype|End2|End3|screenmarginbottom|MseIsSupported||pjs_parent_i|onYoutubeReady|lock|autoplaymute|_i|midrollo|vast_midroll_limit||onClick2|pp2|||pstr_to|posteronpause|isNaN|stopotherplayers|marginbgpadding|IndexPlaylist|CreateWS|ws_created|hls_started|LoadedData|heightInterval|outro|sleep_timeout|reloadfirst|reloadtimeout|mdswp|onerror|contain|PlaylistLoad|HlsSleep|marginbgcolor|Captions|ErrorReload|pstrsin|m3ui|arrinterval|downi|ErrorMsg|||||network|fjs|Metadata|WaitSize|pipto|Heartbeat|vts|fts|currentposter|Seeked||_tags|stvs||checknative||maintitle|HlsSleep0|livewakeup|is_hls2||audioctx|NormalscreenUI|||Controls||||hdbrdclr|Playing|substore|sub_bottommob|iOSTrackLoaded|moveOr2end|subtitles|nativesub|noprevicon|removeTracks|vast_preload|hlsSub|VastPreloadLoad|UpdateStart|_hlssubtracks|ie9|nohls|posterhidepause|pljsvolume|sub_upload0|contentDocument|onPipLeave|_recover|onPipEnter|volumestore|adsinchain|sub_designstore|timerInterval|landscape||||||playerjscom|onTagError|splice|poster_float|Alert||onDash|540p|isAuto|ScreenClick2|tagSrc||StageMove2|2160p|1440p|vastclick|bordercolored|NewAspect|||StyleSubtitle|PlayerSize|ChangePip||nativeControls||ActionOptions|gained|enabled|vstdwn|120|VastPreloaded|CheckDash|str2obj|RemoveForNextAd|nextLevel|getAudioTrack|ControlOut|Visibility|FullscreenUI|moving|setQuality|NativeSubtitle|CheckPip|dontload|vast_starts|v360|getQuality|Loading|tchs2|settingsNumberVisible|postsmbl|lang_|presmbl|rename|Rotate||lastt||||||||||playerjs_|onYtPlayerReady|iconopacity|user||hidetime|ctxt||other|btm|CloseSttx|doctype|getVideoData|ClickArea||fontFamily|Marquee|imageLoaded|gaurl|getDuration|TheEnd|_set_quality|toolbarhidden|pauseVideo|together|UpText|Script|Places|last_text_w|SetCSS|SetCurrentQuality|ReplayIcon|startwait_t|Text|UpdateVolume|resizeFromText|150|cntrls|marquee|ytautoquality|ontouchmove|openplaylistroot|pldur3|NxtExt|destroyed|activeicon|content|stopkeys|tmp2|logout|addtitleplaylistbr|fontnames|3600||pjscssed|spn|fonts|insertBefore|smbls|div2|addtitleplaylist|pldur2|bgcolorlink2|exist2v|linkurl0|show_settings|hideonplay|control_start|show_playlist||TipHide|removedNodes|scrpt|ahd|onMobMove|piped|submm|bggr|ssfontcolor|sstext|minw|_currentIcon|drawImage|onMobOver||thumbs|mutedautoplay|PJSDIV|SubRem|sub_bgpadding|lastsub|TipVol|toFixed|volume2|DVR|SetSubtitle2|dash_subs|bggrclr|EndMove|ShowNextList|255|png|head_|FileReader|handleiconpress|SubUpload|SubtitleLoadAll|over_final|viewBox|onUp|_time_load|0px|sub_font|SettingsParser|thumb_border|||thumb_height|restart|tippaddingleft|Empty|tippaddingbottom|6px|scrollbar|tipcolor|tipfont|tipfontsize|tipletterspacing|tipbgrounding|handlemove|ShowHandle|handlehideinit|onup_to|pljssubtitle|grdlft|pjsframed|onWheel|postmessages||hour|minute||second|deg|||handlecolor|querySelectorAll|path|pstr|_stop|_timeout|Alpha|hostname|valuemargin|valuepadding|match|tem|urlcnfg|resizetimeout|sub_store|VisibleCheck|LineScale|handlea|borderbottom|nocontrols|handleiconover|ass|cnt|coloroverplay|vtt|clickscaley|History|historycolor|timeline_w||||||historytitlestrike|Bglines|ceil|SubtitleParse|InitVisible|borderRadius|_css|cpm|Action2|butByS|youtubeposter|chr||RightMenu|resizeonmouse|resizeme|startcss|reRightMenu|encoded|playlistovertimer|sleep2|clientWidth|pepper|ControlCoordinate|quick|PlaylistPlayId||||leftright|userid|utx|pljsuserid|qualitystore|settimer|start2|last|StartTimeout|floatmarginright|stringify|QualityChanged|SpeedChanged|subpausehide|updatePlaylist|NoSpan|SubtitleTimerMenu|dont|StorageSupport|VisibleItems|ToolbarHide|SubOpt|firstly|paddingleft|updown|nohead|introstart|Loaded||||||xvalue|pljstrack|MediaSess|geo|toolbarisdown|_blank|Prefile|play75|removebykey|Shuffle|re_y|Hide|HidePositionControl||Style|play50|Menuproc|innerText|ClosePl|appearance|play25|hideuntilstarted|fromCharCode|reloadlog|notofh|brand|requestFullscreen|pljsquality|tmpr||killMotion|Visible|requestFullScreen|Review|rmcolor|mozRequestFullScreen|msRequestFullscreen|fileorto|ioscss|webkitRequestFullScreen|check|900|1800|PlaylistBack|640|redirectonclick|ListsWidthRight|endfull|360|subshift|1200|alertsfontsize|Stopped|seeked_time|parentElement|through|recovery|||resume|adblock|contrast|PluginIntro|tagsinterval|onPlayTag|Number|heartbeatinterval|sub_off_title|ReloadTimeout|sub_allmyt|width_div|height_div|PluginErrorVideo|alert404video|alert404v|timelimited|default_subtitle|pipSrc|floatwidthsmall|playId|ct2|playByYoutubeId|redirectonplay|ChkHlsEnd|smallfontsize|fullonplaymobile|fullonplay|timelimit||floatheightsmall|PluginPip|timebreak||yamtr|posterhidestart|220|offsetwrite|ListsWidth|Quartile|RenameTracks|lI1l|scrollwheelfull|dropfontsize|whlskfll|iosExitFullscreen|I1lI|dropsmallfontsize|cancelFullScreen|sub_big_fullscreen|RTnSfYKh|TheEnd2|exitFullscreen|sub_lineheight|CreateMedia|callback|imageExists|sub_bgo|PjsFramed|700|dropclrs|YouTube|SubtitleBottom|reYT|movable|ScrollDown|PipSwitch|Timeout|sub_split2words|fs_error|playerjs|iBddRhit|noindex||ScrollUp|filetod|FileTimeout|analytics|fileto|PluginDroplist|PostFullscreen|pjsframe|arial|ffect|PluginTrack|unset|Ease|sub_off0|zoom|rand|alertscolor|alertspaddingv|passontime|playedstore|nomidroll|ScrollLeft|alertspaddingh|dashaudio|reloadlive|removeNativeSubtitle|nativeSubtitle|alertsbga|alertsbgcolor|playedquartile|helvetica|Timer|maxresdefault|ArrowsInterval|sub_bg|ffdd1f|castdevice|mozCancelFullScreen|webkitCancelFullScreen|666666|openpl|msExitFullscreen|crt|frmvst|ParseUrl|intros|my3|finishrewind|ScrollRight|rest|autoplayed|Wheel|hidecontrol|playsinlineonmobile|youtubecontrols|limit|time2|butseekto|isyoutube|youtubeready|iframe_api|onMouseDown|ytcl|HideLayer||geobj|_reset|getContext|ShowTimeout|pljs_yt_|show1value|playedstored|preloaded|ffeeab|SubtitleSettings|andlimit|PlayerjsEvents|pjsfrm|_nextIcon|skipads|Papi41|SetChannel|VastBreak|scrollX|StopOtherPlayer|HidePoster3|cuid|Youtube|posterhidetime|getBoundingClientRect|globalfontname|setVolume|sugar|224|reachGoal|MarPad|headbordercolor|full_hours|full_minutes|adscounter|onClickSubtitle2|showById|toLocaleTimeString|scroll_down|scroll_left|notag|Scripted|rgb|keyframes|_html|styleSheet|XMLHttpRequest|GET|head|onClickTimer2|last_ors|_ue|playlist_id|menu|dasherror|FindIdPl|_ud|VastInfo|wrapper|vast_adid|Width|rel||playlistfolder|vpaid_starts|18px|mss|Playerjs|brda|shwvstfnsh|pjslog|setupx|offset|alert404text|iset2|access|seekTo|casterror|Playback|scrollarrowbgover|device|scrollarrowgradient|40px|current_vast_url|swipep|0val|trcka|offsetTop|Swiping|ovr|1val|nameofyoutubequality|denied|notv|isVpaid|firefox|ControlOver|str|alert404|elastic|alerts|006|175|935|minduration|MSIE|Exit|msie|scrollarrowbgovercolor|DownIn|PluginThumbs|norld|midrollimprsd|maxTouchPoints|getPlayerState|Qualities|yaHit|ga_event|yamtr_event|Yandex|VastLongTimeout|plcontinue|pressed|outside|ENDED|FindFileInPlaylist|apto|gtag|comment|width100|PLAYING||_xIcon|onYtPlayerStateChange|url3|PlayingChecker|plapto|ShuffleEnd|onQualityChanged|_subfile|swiping|cstm|valuealign|incorrect|yterrors|vast_longtimemsg|customyterror|livets|copied|adsinvitation|vast_prestarttimeout|High|PluginSug|ads|reverse|sug|after|InvertPlaylist|cancelFullscreen|PlayerjsAsync|PipToggle|right_x|RightCSS|parent_domain|encodeURIComponent|hideuntilmeta|Href|right_y|RightClick|hideonfullscreen|RightMove|unfixing|CrShr|PluginSkip|rc_version|rc_anyway|4px|rmsize|ShowControl|hidebeforesec2|hideonwidth|hideonwidthlimit|mobiletv|createTextNode|hideaftersec|hidebeforesec|nativenotipad|RightOver|nativenotiphone|hideonvar|nativenotios|hidewovar|hidestartbutios|System|RightOut|rc_labelurl|highlight|gradientcolorbg|PreNewPl|WaitPoster|HideElement|posteronwait|Volumescrolled|UpdateTimer|Exist|prenewpl|pjsfrrs|PlaylistOpenId|obsrvr|PlaylistMove|MutationObserver|UpdateSettings|nums|bordersize|scrolling|allowfullscreen|HideAnimate|setting|tap|ShowAnimate|apdra|ltr|direction|hideonvolume|leavetimeout|pstrwt|playonhover|upd|PluginMbps|clrs|allow|allowtransparency|wtpstr_to|playerheight|Actions|scheme|marginprocright|marginproctop|ControlX|click_t2|lrpps|lrppp|default_speed|sub_sizemobfull|PluginShare|sub_sizemob|SettingsSpeed|SettingsExist|sttr|actpause|pljsspeed|speedstore|marginprocbottom|NewPl|userplay|volumechange|margin_bottom|scroll_height|screen_lw|timeupdate|loadedmetadata|seekicon|durationchange|always2|seeksidesec|enterpictureinpicture|leavepictureinpicture|changedTouches|sort|nativefulldroid|ControlsBgClick|unmuteonplay|userpause|hideoverwidthlimit|Media|showShare|customText|upTexts|resize2|leavetimeout2|StageOver|hidewithoutplaylist|mousedown|pljsfirst|vast_nofirst|trackstore|alwaysnotfullscreen|sesstime|alwaysjustpause|hideoverwidth|titlepl|plclose|back|screenshot|template|templated|pipVol|muteiconbut|dblclick|linkpause|KeyDown|PluginGeo|pjsin|textarea|KeyUp|1001|ssflyw|closePl|linktarget|15px|PluginOldGA|addTrack|PluginPoints|roundout|bgstretch|5000|_w||315|handlemargin|valuebgcolor|_a|valuebg|valuerounding|selectOpen|rotateonhover|hideafterclick|Click|bgcolorlink0|iconmargin|mobileover|tipvar|openplaylistafter|yOffset|CancelBubble|current_thumb|handleiconsover|wrong|bgline2|bgline1|onMobOut|bglines|clickmarginbottom|openplaylistpause|Hideuntilto|clickscalex|clickmargintop|bgw|tipmargin|action_settings|270|setcss|translate|7px|Buffer|hidewithposter|colorload|HdIcon|controlCSS|displayvolume|nxtttl|gradientcolorload|linespeed1|SvgColor|ControlLine|wps|ontop|Tmln|prevorius_default_h|unhidden|with_hours|hidesec|DisplayControl|control_duration|noClickTimeout|zoomed|RenewFromTitle|with_min|linespeed2|minus4back|valuesize|FFFFFF|customdesign|gradientcolor|linespeed3|prevorius_default_w|xOffset|topside|plusminus|opposite|rc_|PluginReplace|Control|optStr||blra|action2|scalesmall|which|hlscaptions|brd|mrgnsmll|ControlsBg|line_volume2|Continue|evenodd|keyCode|Init2|liketext|CustomFonts|ga4|eventLabel|eventAction|eventCategory|linker|today|PjsFr|postmessage|prtObj|prted|parentIframe_style|notframe|IFRAME|PjsFrMsg|method|inversetime|rule|PlacePoints|hidebefore2|hideafter|UpdateLoad|UpdatePlaySeek|_time_play|hidebefore|_duration_play|handleinit|unblock|bandwidth|toptip|linetipmarginbottom|often|often2|thumb_bottom|place|2001|_duration_load|Rectangle|fontsizesmall|icon3|linetippointer|tippaddingright|svgtmln|rotateplaying|picheight|thumb_shadow|PluginCut|bold|lineh|thumb_bordercolor|thumb_borderwidth|thumb_radius|ontouchstart|CreateThumb|showing|requestAnimationFrame|um1|PjsCheck360|autoLevelEnabled|audioGroupIds|audio|logo|MediaVideo|livewakeuptime|Posters|urlsl|HlsLiveWaiting|nameofhlsquality|hlslowquality|renameQualities|mp4|HlsQualityLevels|sourceBufferValidAPI|startLoad|ParentFS|PlgHlsFdt|loadSource|mimeCodec|dashjs|gainedsource|OrientationChange|unpause|hlsmaxlvl|hlsfto|hlsmto|40000|FullscreenChange|isHidden|hlsdebug|hlsvastwait|nextAutoLevel|Gain|anonymous|FlussonicMsePlayer|reHls|debug|landscapefull|hlsaudio_off|supported|hlsquality_off|volumegain|hlsTextTracks|connect|disableRemotePlayback|preloaddash|webkitSetPresentationMode|current_time|dvr|onLoadStart|setDashAudioTrack|m3u8|updateTitle|menufltr|setTracks|setHlsQuality|MetaAudio|PluginDash|hls_stuck_duration|mpd|setHlsAudioTrack|PlgnVstLdtx|framei|lsfullstart|hls2|nopause|PlgnVstPstr|subtitleTrack|customBuffer|read|setDashQuality|changeAspect|SourceBuffer|portrait|preloadhls|lsfullplay|stretch|isSupported|MediaSource|onLoadedData|Interval|hlscookies|ErrorTypes|abs|nativehlsios|cover|preposter|handlemarginleft|action_back|clr_contrast|vast_impressions_all|vast_remove|files_scale|onmousedown|Verdana|files_sleep|offsetwidth|roundingver_final|normalonclick|no3|clr_sepia|hlsdvrtime|thumbs_img|235|onmouseup|google|clr_brightness|logos|134|handlemarginright|reloaderTimer|clr_saturate|current_sleep|dropautoplay|onchange|tippmargin|RWAlnQyyazA4aoAB4FsBSA|PluginSubword|888888|200000|shape|170|mrgnp|222222|setioff|readAsText|iVBORw0KGgoAAAANSUhEUgAAAAEAAADGCAYAAAAT|OqFAAAAdklEQVQoz42QQQ7AIAgEF|titlecolor|kbq|settings1|bFjuF1EOL7VbrIrBuusmrt4ZZORfb6ehbWdnRHEIiITaEUKa5EJqUakRSaEYBJSCY2dEstQY7AuxahwXFrvZmWl2rh4JZ07z9dLtesfNj5q0FU3A5ObbwAAAABJRU5ErkJggg|999999|settings3|intvsbl|subtitle_errdel|constrols|settings4|settings3action|viewinit|pljscom|settings1action|unatpl|fast|WEBVTT|Dialogue|DOMContentLoaded|settings2action|historybgaover|postertitleonhover|tipa|pointw|fullscreenElement|pjs_thumbnail_|1006|1005|unescape|slidespeed|pointa|sub_drag|dropscrlw|rem|ffce00|pointcolor|stripsspace|stripsw|msFullscreenElement|mozFullScreen|clone|09470dcbda93892465e2222f77c4e42f|177|posterwidth|posterheight|posters|444444|customimage|d69762933333y331w371g27203o193x3e1b3o00111o253z3o2o272c2o2m2y25381e23211i2c29361c2x3s1z3z1o380w1z3z3b233v3z39381c2v3s1z211o2z162t212p1z3038251s25333c16212v233c1y3u271z1z3a251q25332e162z261w1211141z133x3b2o172z261u3s2t2z2p113u243c153x392o172136101z1m25113u261z3w281z3u26113w2o3z39233x2c29213x2b213v25203b3v2c1z112433143o02322c293w141o2c1b3o01312k221z211o2z1z1z2u291z3z1d3b3x2c181w12322v3u2s353e101z1c1o11133v27231v302o12252720332c1828332z1d1g1a2c143z281y1z101z223u271z101o3u350z3z243514331g2t3f1o1e1i1f1h1c1o3d1j2g1q3d1d3g1a3e1i2e1i1e1h2d1c3e1u3d1i2c1t3e1z2c1s2g102c1r2c1y2e1s3d1i2e1u2c162c1s3e1r2c1s2e1s2c1r1c1g2e1u3c122e1w2c1x2c1s2e1b2c1s2g1g2c1r3e1j2e1s2c1s2e1u1e122c1u2g1r2c1q2e112c1s2c1g2e1u3c1r2e1w2e1u2c1t2e1t2c1s2g1i2c1r2c1x2e1u2d1w2e1w2c162c1s2g1x2c1s2g1d2c1q1d162e1u3e1t2e1u2d172c1s3f192c1q1f1a2c1q3d1z2e1s3d172e1u3c1g2c1s2f172c1s3f162c1q2d172e1t3d1j2e1u2d172c1u3f142c1q3f1b2c1s3c1c2e1s3d152e1w3d1b2c1s3f172c1r3f1e2c1q1d172e1s3e192e1u2d152c1t3f1z2c1q3f182c1s3e1a2e1s2d162e1w3e1t2c1s3f172c1q3f1b2c1q3d1u2e1s2c1s2e1h1c1f3d1g1g1g3e1s1f161e1q2e1d3e1i1d101f163d1e2c1g3e1s2e1o3g1e3c1h3c1f1f1b1d1h2f1a3d101c193f1c1e1e3f1i2c1d3d1s3g1k1c1j1e1k1d1f1d1c1e1h1c191f1m3d163d1f3e1a1d1e3g161d1f1c121e1a1c181e1c1c183d1m1g1s2d191f1d1d1k3d1f3f1g1e1b1f1r3c102c143g101c1d3f1e3d1i1d1t1g1s2c1b1f1c3e1q1c1s3e1g3d1c3g161d1g1e1s1f1g1c1s1f1j3d1a1c1f1g1k1c103g1e3d1e1e173f1u2c1s1g1w2c1r2c1f2e1s2e1y2e1v2c1f2c1s2g1v2c1s3e1s2c1s3e1t2e1s2c1r2e1v2c1u2c1f3e1s2c1q1e1j2c1r2c1v2e1u2d1f2e1v2e1s2c1f2e172c1u2e182d10122q123c141c1m3g1e2e1d3f142c1g3d1c1g1e1d1o1g1j1c103e1e1e1p3e122e1u2e1p2c1u2e1x2c1s2e1g2c1s3c1v2e1s2e1u2e1t2c1r2c1w2g1e2c1r2e1x2c1s2d102e1s2c162e1s2e1v2c1w2g192c1q1f162c1q2c112e1q1e1e2e1u1c1s2c1v2e1i2c1s2e162c1q2e1r2e1q1d172e1u2e1k2c1w1g1v2c1q2g1y2c1q3d122e1q2c1u2e1s1d1i2c1t2g1t2c1r3g1g2c1q1d1b2e1s3e162e1s3d172c1v3f142c1q3f172c1s3d1e2e1q2d152e1u3e1e2c1u3f172c1s3f1d2c1q3d1a2e1s3e1c2e1s3d152c1u3f152c1q2f172c1s3c1c2e1q3d162e1s3d182c1u3f162c1q3f1a2c1q1d192e1r3d192e1s3d172c1u3f132c1q2f172c1s3e1y2e1q1d152e1s3d1c2c1u3f152c1q3e1z2c1q2c1y2e1i1c103f1l1e1i1d163f101e121g1s2e1d3d163f1y3e1g1f1d3c1b1d181g1d1d191f1q3d1d3e1i3f1e3c1b1e1f1c1d1e1r3e1d1c163g131e1f2c1d1f1i3d1d1e1g2c1q1e1l3g1b3c1h3e1f2d193d1l1f161c102e192d191d1d1f191d193e181c1b3d1a3f133c1g1g1s3d1d1e1e3f1d1c1d3e1b1c171d1t1f1q3e103e1u1d123d1e3f151e1f1g1s2d1h2e1r1e183e161g1m3e1b1c1j3e1d1c1e2e1f1e1f2c1k1g1d3d1d2e1v3c1f2c1u1e132c1q2g1h2c1q1e1m2e1q2d1r2e181e1g2c1u3e1w2c1s1e1f2c1q2e1l2e1s2c1d2e162c1k2c1u2e1j2c1q2g172c1q3e1v2e1s1e1i2e102d1y3c1v2e163c172j1t2d1c3e1e1e1i3c1k1g1j1d1i1c1f3e1g1d1e1f1g2c1f1e1d2e152c1s1e1l2c1r2c172e1s1c1j2e1s3e1d2c1w1e1e2c1q3g1g2c1s2d1z2e1t2e1h2e1u2e1r2c1w3g1z2c1q2e1c2c1s1c1z2e1u2c1f2e1s1c1s2c1u2e1w2c1r2e102c1s2c112e1t2d1s2e1s1c132c1v2g1y2c1s2e152c1r3e1w2e1u1c1i2e1u1c1x2c1w1e1x2c1q2f1w2c1r3c1v2e1s2d152e1t3c1x2c1u3f182c1q3e1e2c1q3d1b2e1u3d1b2e1s3d162c1u3f1d2c1q2f172c1r3d112e1s3d152e1s3c1i2c1u3f172c1q3f162c1q1d1b2e1s3d132e1s3d162c1u3f1v2c1q2f192c1q3e1i2e1s2d172e1s3d1c2c1u3f172c1q3e1q2c1q1d1b2e1u3d1r2e1s3d162c1w3g1y2c1q3f172c1q3d1b2e1s3d152e1s2c1s2c1u2g1f1c103g193d1o1c1r3f1r3b1b3f1f3c192c1r3e1y2d1i3g1f1c1d1e1r3e1d1c163g131e1f2c1d1f1k1d1d3e1g2c1q2e1e3g1c1c1h3e1d2d191d1l3f183c102e191d1d1e1i3f1g2c1d3f1s1d1i1c1q1e1i1d1f3g1c2d1i3d1m1g1k3d1i3g1f3d1d1e1l3g1h3d123e1f2e1d3d1u3e1d1c1d1e1i2d101d163g1c1d191g1h3b1q2d1u1f1f3c1b2g141d1j1e1c1g1i3c1h1e1f2e1d1c1z3e122c173f1s2d191d1y1g1s1e1d3e102c1r3e1j2e1u2e1u2e1s2d162c1v3g1x2c1r1e142c1p1c192e1t2c1g2e1u2c1d2c1w1g1f2c1r1g1y2c1s3e1c2e1u1e1q2e1s3c1f2c1u2g172c1q2f1r2d123c1a2f1v2c121d1k2q2o1j1h1u1d2i2f1f161||black|sub_fonted|7ab30m3o1t3s221a271s3b3v2z1b3o01101m252z3q193v2c1i1b3v1z1i1a21173s3w1z31141z133v3b2o1720241u3s2t202n113u242c133x392o1720361z2z1m233e1g2c29361y2v3s1z101o360w1z102b213v2z29381w2v3s1z121m2c162t213n1z2038251q25332c162z2v232c183s271z1z3a231q25333e142z261w1c3s271w2s29162s271s3u271o2c1z3w261z1z3u281z3u243s3o3o0z1z2z3b3w121m252e2o1z1x21141z101m253e3o2m35203q1z2z2z29233v2026143q0z1c1c2t2e292o122s11101d2z1o113z3823353w253u253r1536211z1z3a371z2z141j1z1c1m2c182t2z2p2c2b213v2z2o1i27312c293y121m121t2e1d2d1c1c1j1c102d1k1e1a2e1k1c1c3e161e151g1i1c1i1d1h2c1q1d1r2e1r2e1r2c1u3c1u2c1s2g1c2c1s1c112c1q3c1r2e1s2c122c1u2e1k2c1u1e1i2c1s3c1j2c1s2d1z2e1q3c1x2c1v1d1s2c1s1f1s2c1q2c1w2c1r3e1v2e1s2c1t2c1w3e172c1u1f1w2c1r2e1s2c1q2d1y2e1r2e1j2c1v1c1s2c1t2e1q2c1q2c102c1q3c192e1s2e1y2c1u3c152c1t3g1r2c1q2d192c1q3d1x2e1q3d152c1u3d1c2c1s2f172c1q3d1c2c1q1d192e1r3e142c1u3d162c1s3f1t2c1q1d192c1r3d1c2e1q3d162c1u3d122c1s3f172c1s3d1c2c1q3d182e1q3d1f2c1u1d172c1s3f1b2c1q3d192c1q3d1t2e1q2d172c1u3d142c1s3f152c1r3c1k2c1q2d172e1q3d172c1u3d152c1u2e1s2c1q2c1g1c1d1c1p1g1a1c1i2d1f3c192c141e101d123d1u3d1a1e1u1f1u2d1h2d1a1d101b1c3g1c3d1k1c1d3c1d3d1j3f111d1j1c1k1d1f3d1g2e161c1d1d181e1q1d1j3e1d1c1e3e161d1f3e193f1d3d1q1e1r3c1d1c1c3f1d3d1d3d1e3d1d3d1c1f192d1c3d1g3d1c1e1s3e1d1c121e1u2e1d3d1r3d1d3d1d3c1e1c161c1c2g192c1a1e1d3d1e2c1c2e1d1e1i1c1f3c1e1d1g2e1h1d1r2c1u1d1h3c1d3f161c1b3e1k1d1d1c1g3e1r2e1j2c1w2d1g2c1s1g132c1r2e1r2c1s1e1f2f1s2e1p2c1w2c1q2c1t2g1y2c1r2e1q2c1q2e1d1f1s2e1q2c1v1e1h2c1u2f1y2c1r1c1r2c1q2e1c1e153c1r2c1b3d1d321b2g3e173d1o1e171c133e123c121e1g3f151e1e2e1k1c1v3e1g3g132c1t3e1v2c1s2c1t2e1s2e192c1u1d1w2c1r2g1o2c1s2d1y2c1r2e1j2e1r1c1u2c1t2c1q2c1q3e1w2c1s3c192c1s2e1y2e1q3c172c1t3e1x2c1q3e1u2c1u1c1l2c1r2c132e1q1c1o2c1s3e1d2c1s2e1c2c1s3e1g2c1s1d1v2e1r2e1j2c1u2e1r2c1s3g1x2c1s2c1c2c1s1c1v2e1s2c1h2c1s1d162c1s3f182c1s3d192c1q3d182e1q3d192c1u3d1j2c1q3f172c1t3c1d2c1q1d162e1s3d152c1s3d152c1r3f1b2c1s3d182c1s3e1y2e1q3d182c1s3d172c1q3f162c1s3c172c1q3d152e1q3c1d2c1s3d152c1q3f1j2c1s3d192c1s3e1d2e1q3d172c1s3d1h2c1q2f162c1u3d1e2c1q3d152e1q3d1b2c1s2c1x2c1q2e1i1c1h3c1f1d1c1c1f3d1d3d1c3c1b2c123c1y3d1b2e181d191e1d1e1e3f1e3c1c3d1f2e1i3c1j1e1g1d1h1d1c3c1f3c192f1i3d183d1f3c181e1e3f121d1h3c121e1u2d1h1f161c121b1d3e1c3e1k1e193c1c3d1j3e1c3d1c3g1c3d1e3c1f3d1d1e1i3f1i3d1w1d142c1c1c191e1b1e1h3d1m3c1w3e1d2f112c1a3d142d1d3c1e1e1g3c1c1c1s2e1k1c1a2g193d143e1d1e1g1e1i1f1f3c121d143c181e1p1g193c1e1c172c1s1c1v2e1r3c1s2c1s1c1w2c1s1f1j2c1u2e1f3c1r1e132e1r2c1p2c1s1c1v2c1q1g1u2c1u1e1k3c1s1c1u2e1s1e1q2c1s3d1d2c1r2g1r2c1s1c1k3c132c1v2e1w3c1h121f2d1e1e1e3g1s1e1j1d1d1c1h1d171f1d1d1d1c1l1c1s1e1j3e1q3d1e2c1u1c1g2c1q3e1x2c1u1c1x2c1s1d1p2e1r1c1g2c1u1d1v2c1r2e1k2c1u1e1x2c1r2c132e1s2c1y2c1u3c1c2c1s2e1p2c1s1d182c1q2c1s2e1q2e1k2c1v3c1x2c1s3g1w2c1t2c102c1q3d1i2e1q2c182c1u3c1p2c1s2e1o2c1t1c1i2c1s2c122e1s2c1z2c1u2c192c1s2g1c2c1t3e1l2c1q2d162e1q3c1c2c1u3d172c1q3g1c2c1s3d1a2c1r3c172e1q3d172c1u3c1f2c1q3f162c1u3c1f2c1q1d172e1q3c1h2c1u3d162c1s3f172c1s3d1b2c1q3c1x2e1q2d192c1u3d1c2c1q1f172c1s3e1e2c1q3d152e1r3e1b2c1u2d162c1q3f162c1s2d192c1r3c1h2e1q2d182c1u3d172c1q3f152c1s3d1v2c1q2c1s2e1d1c1f3b163e1d2d162g1d2e1c1c1k3d1k3e1w2g1d2c1c1e1e3d1f3c192f1i1d183d1f3c181e1e3g121d1h3e141d1u2d1h3f161c121b1e1d1c3e1k1e193c1d3e1l3d113e1j1e1g1d1h3d1i2c161c1d2f141e1s1d1l3c161c161e161c181c1u3e1h3c181e181e123b1e3d1a1c1g2f1d3d1f3c141d123e1b3e1d1d1e3e1l1e1d2c172f121d1c1c1e3c1d1d1g3f181e1g1d1e3e1i3e1f2e1q3d1j3e172d1c3e122f1c2d1c1c1h3d1y2c1s1g1y2c1t2e1e2c1s3c1f2e1s2c152c1m3c1f2c1q3f1q2c1s1d1x2c1r1c1o2e1s1c1v2c1h2d1s2c1r3g1t2c1t2c1l2c1s1c1g2e1r3c1f2c1h2c143c1t3e1w2c1h171m1b2p2k1k1j2d1d1i1s1v14|064701u212829313918243q0z211o25312o1b3x2c1d3o01112k3q0z222m3v3u35262v203p1z223a231s25352114212v25211a3u27111138251q27352z1620281y1z121411153v2b2o1921241u3s2v212n113u262e133x292q192z261z121o233e1g2e2b36182v3u121z1o260y121z3b213x212938162x3u10111m2e182t3b213x2b213x39233x29233v11112s291z222u271u2s291r2o1i25222q2c1z21141b3v111z222433162z2q1b3v111i1v352z1d202p2e1z3w2m211q1e272z1q1o23111q273t173124162e1c3e29381c3w2b321x3w2s3q3s3922293r35222917162z1611101o232e1q1z113u262e1b37383x111x23121i1h2p183d1m1g1h1f1h3e1a1c1t3c1e1g193f123g1r3e1k1c1y1g101f152e1v2c102c1w2e1x2e1r2f1w2c1s1c172e1r3g1w2e1w2c152c1v3g1s2e1s1e1m2c1u1c112e1s1e1v2e1u2d1w2c1v2e1r2e1q2f192c1t2c1w2e1q2e1c2e1w2e1t2c1w2f1p2e1q3g1z2c1s2e162e1s2g1w2e1v2e1z2c1u1e1q2e1q2g1x2c1t2c1x2e1r3e1t2e1u3d1w2c1w2e1o2e1q3g1j2c1s2d1b2e1q3f1y2e1u2d182c1u3f1f2e1q3f192c1s3e122e1q3f152e1w3d1u2c1u3f172e1q3f1v2c1s2d192e1s3f1t2e1u3d192c1v3e1a2e1q3f1a2c1u3d102e1q3f172e1w3d182c1u1f172e1s3f1d2c1s3d192e1q3g1p2e1u2d192c1u3f1a2e1q3f1b2c1s3e1y2e1q1f152e1u3d192c1u3f152e1q3f1d2c1s2c1w2e1q1e1d1e1d2d1e3e1e1e1g1f1k3g1t3b1f3d1e3f1g2f103f1q2d1f2d1r1e193e1d3g1e1d1m1e1e1g1o3g1d3e1e1d1f3c1f1f141g1q1f1d1d1c3d1e3g1e3f1e2e1e1c1d3c1e1g1k3e1d1e1a3d133e1j2e192f1i3g1f1c1g3e1l3g1h1g1h3g161d1e3d1r1g1k1g1g3g1d2c1f1e1j3d1b2f1a1e1u2e1f3d1h3f101e1d3f1e1c1m3d1q3e1b3g161g1f1c123c1d1f171f1d1f1f1d1j1e1e2e1j2e1d1e1e1c1d3d1e1e161d1d1g1j1d152c1v1e1h2e1s1g1r2c1s3c1x2e1r2g1v2e1v1c1y2c1w2f142e1r2g172c1s2c1u2e1r2e1s2e1w1c152c1v2e1d2e1q1g1x2c1s2e1w2e1r2e1y2e1v3c1v3d1w2e1r3e1t1e191r1l143g1f2d183e1r3e183e1u3g1a1e1i3c1j1e1j1e1h2e181b1g3d142e1s2g1t2e1u2d1r2c1s3g1v2e1s2g142c1u2e1y2e1r2g1z2e1s1c1s2c1s2g1t2e1t2e1v2c1t2c1v2e1q3f1w2e1u2c1q2c1s3g1f2e1s2e1z2c1s2c1e2e1q1e1i2e1s3c1z2c1u2e1t2e1u1f1r2c1t1c1g2e1q1f1x2e1t2c1m2c1u1g1t2e1t2e152c1u2c1y2e1q3e1e2e1u2c1r2c1s1f142e1u3e1g2c1s3d192e1s3f162e1s3d172c1s3f1c2e1s1f192c1s3d1v2e1q3f192e1s3c182c1s3f172e1u3g1b2c1s3d182e1q3f182e1s2d192c1u3f1t2e1s3f182c1s3c1c2e1q3f192e1t3e1d2c1s3f172e1s3f1k2c1s1d172e1s3g1c2e1s3d192c1u3e1o2e1s1f172c1t3c1i2e1q3f172e1s3d1e2c1s3f152e1s2e1z2c1s1c1k1e163f1k1g1j1e1f3c1i1f1k3f1r3d1f2e1f1d1b3g1f3f133f1l1c1i1d1h1f1e3e181e1f1d161e1f1f1h3e1d1e1g3d141e1h3g173f1c3f1s1e1m3c1f1e1b3f1s2f1m1c1b3c1f3f1a1e1p1g1f1e1j3e1d1e1q1f1p1g1m1e1m1e1m1g1d3f1k3f181c181c142f1b3f1d1e1m3c1f1d1g1f121g1c2e1g3c1d3e1f3f1d3e1i3e121c161e1k1f1f2e1s1g1q3d1f3e183g1i1f151f1k1c1f1c1d3f1q3e1c3f1s2e1l3c1d1e1u3e142e1u2e1h2c1u2e1r2e1s2f1l2c1t1c1v2e1q1f1k2e1t3d102c1t2g1d2e1u2g1t2c1s2e1t2e1s1e1s2e1u2d1t2c1u2e1u2e1s1g152c1s2d1e2e1q1e1r3f102d1t2c19141s1g1p1g1e1c1k2e141g1c3g1h1f1g3e141d1i1g1h1g1t2e1k1e1w2c1r1g1e2e1u1e1w2c1t2c1k2e1s2e162e1u2e1m2c1s1f172e1u2g1r2c1u1e1x2e1q2g1y2e1u3d102c1s2e1u2e1s1f1m2c1r2e1v2e1r3g1g2e1u2c1u2c1s1f1p2e1t2g1v2c1s2c1w2e1q3g1e2e1w1c1z2c1s3e1p2e1u2e162c1s2e1m2e1s1e1k2e1w3c1h2c1u2f1x2e1s3e112c1t1d1u2e1q1f172e1v3c162c1s1f162e1u3f1a2c1s3d172e1q3e1b2e1u3d172c1u3g1r2e1s1f1b2c1s3d1e2e1q3f172e1u3e162c1s1f172e1s3f1i2c1s3d172e1s3f142e1u2d192c1s3f1x2e1s3f1b2c1s3e1w2e1q3f192e1v3d1e2c1s3f152e1s3e1d2c1s3d182e1r3f192e1u1d172c1t3e172e1s3f192c1s3d192e1q2e1u2e1u2c1w1c1f1e103e161e1m3e1b3c141e101f141g1u2c1b3c1q1e163e1c1e1i3e141e1h3g171f1c3f1u1e1m3c1d1e1d3f1s2g1r1c1b3c1d3f1a1e1p1g1e1e1c3e1f1e1q1f1c3e1f1d161e1s1f191f1j3f1e3e1g3d1g2e1d1e1q3f1e3d1j3d183f122e1a1e1e3d1f3d183g1d1f1p3e141d143c1e1e1b3f1s3f1k1d1f3e1m1g1b1e143e1u3d1m3c181e1r1e1c3g1i1e1i3d171g1c1e1o1e1e1c1f2c1s1f1d3f1p1g1e3c1k1e1m3e101f1t2e102c1s2c1w2e1r1g1u2e1w1c152c1s3g1d1e1v1e1l2c1u2e1u2e1s2e1u2e1u2c1f2c1s2e1h1e1r2g102c1s2e1f2e1r1e192e1w1e1s2c1s1e1x1e1y3f112c1t2d1t1e121h1r2t1g1d1i1d1v1s2f241m|webkitFullscreenElement|webkitIsFullScreen|2px|moved|valuemarginleft|lang_ru|nRAExKJdzN1jBuiJnqBfz256xvUgUjmKyuidnqAHXOlhXOlhUjm0AKQfA2xgAK09U3pjwu5kzRQ0xqEjWNlkVqA|vR4ETNlEnSmgzSJLz24EA3pjz2eJnqBfz25JUjmKyuidnqAHpIxRpIxRUjmKyuidWvU1zRs9U25gzLaJAK8LTSmgyu50Ak0LXNlhTOlEZqljTOIEXGlhUk48vN9hz2i5x29fnJifnQhgA3xLnGTdTKFFzKpdxu1FAKBazGT6THTEXNlhTOEGDqhGw29fBSUgzQ90yu1JTHa7TK9jxRtjTHM3WNUgzGT6XqhGwuY0yu9fTHMGBRJexqTdTLp5ARsGZGU0xvF0TGhGBRt4BNT6THl6XOlGWNUKz250A2J6xqT6XrPdTK1FAKBazGT6THlEXNl0YGliXGTdTKYdyuYcTHMhWNUkxvmFAKQ0z3TGZGUAWjTdTLmgA2J0yu9fTHMGwK90BR9eWuiJxLoGWNUewvULyu5hAK9HTHMGXNlhTOlEXHlGWNUkyR93xStjwvpaz24GZHPdTLYMz3BGz3pMTHMiWNUdxvp0xvUkARQHyu5LTHMGXN4jTGhGwqT6THlfYGTdTKQfyu1FBRJgzGT6TLmgA2J0yu9fTGhGwvmIAGT6TKUgBSpgzqTdTKxgzLoGZGUmAKYMyvxgTP5FALUgBjTdTK1jx25hALXGZGThTOlEXNl1TL0dTKYgzLpjz2iDxStjwvpaz24GZLdGz3UIxvTGZHEdTK9fTHMhWNUFw3paz24GZGUIBvUFBRJgzGTdTLp5ARsGZGU0xvF0TGhGBRt4BNT6TJhgTOl6XOlGWNUKz250A2J6xqT6XrldTK1FAKBazGT6THlEXNlhTOlGWNUHzRJHyjT6XS0dTKYgzLpjz2iDwLtKxKtjTHa7TK9jxRtjTHM5WNUgzGT6XqhGyuYgzGT6THiIyvwEw2iFA3X9U2igwupJALTMAKQfxNILnHikBKAEw2iFA3X9U2YaAKY1zRQjVSUFzKoaUjm2yut3oK94nqAjYqljYql1XNl1XNA|Safari|nRYaAKYdxqmHzRQkAk0LARQ0yNFjwu5IVqAEA3pjz2eJnqAMw29dz3TaUjmHCO0LYrlLTRY5nqA1XNAEAH0LXHlLTRxazRh9U25gzKsLTSY0AK9cxq13yup0yO0LXGAEA3pjz2eJWu1aBRtjzRJeyvo9UkPhU1hgnHiAW3Y2xk48vN9Iyvw|Firefox|Edge|Trident|colorover|Opera|DSi8WKigwupJALTMAKQfxNIEC3mgA2J0yu9fZGmjxuiFBRJ2xreewvULyu46TN0jYvm4TOlEXNleXHthCOe3yup0yOMEYrmhCOe9WKigwupJALTMAKQfxNI6wKtKz3UJTSeHz250xu50ZGlLUkeIyvYhzRQ5ZGmGzR9HykehwupIyu5LWvpgAOMEXrlhUre9WKYaAKY1zRQjVSUFzKoaTSeFzKJewvpaz246TSUgBRQ0xqFjwu5IVqljAjmdyu5JwvTEyu5Kyu5aBRs7yRtax2F0ZGliXOlJZ3pjwu5kxK9jzq1gAKJLyu46TRYJzLpJAGmHxu50xvT7B2JIBRE6TOPhXNs7AR9kyvpaz246TRQGA29dBvpJZ3pgAOMEXOeGz3p0z206TOl7zRtKBOMEXOejyuBMBOMEXOeewvULyu46TRQ1BR87Dq5hwvpMVSUFzKoaTSekBSUgy2sexRQkyRQjAKQ5ZGliWNljXOl7A3pjz2eJWupFA2FgxKxkxvo6TOl7wu5azuQ0yu9fZGmIwvYMVSUFzKoaTOPfYvXExuQkxq1azG1gBvoEyu5Kyu5aBRs7DsmcxvJKAKQexvXEAK90wvpJVSUFzKoaTSdiXOlJTSe0AKQfA2xgAK06TSUgBRQ0xqEkYHmIxuAaZ319oReJCuxjwu1JAjmIwvYMVSUFzKoaTSdhUqm7A3pjz2eJWupFA2FFALUFCrMEXqhEXHlhZ3Y0AK9cxq1IwvYMz2xKA2t0ZGlhZ301XNsEC3Y0AK9cxq1IwvYMwvUjwvI6TOE5WNljXOl7A3pjz2eJWupFA2FgxKxkxvo6TN0kYvm4Z30iXOlJTSekBSUgy2sexRQkyRQjAKQ5ZGl4ZqhEXHlhZ3Y0AK9cxq1IwvYMz2xKA2t0ZGleXrT0ASE7Dv0GWNUFw3paz24GZGUGBuxKxvTGWNU0CvmJTHMGw3YkTGhGAR9kyvpaz24GZGUHxu50xvTGWNUkw2QdxqT6XqhGw2iaw2dGZHldTKFaxRsGZHQ9WNUHz250AK9dv3YJBSpazKBkTHa7TK9jxRtjTHMiXqhGz24GZHPdTKJHz24GZGT8A3xLTSBaxSpMnqAjXNAEyRtax2F0nqAjXNA|nRAExKJdzN1jBuiJnqBfz256xvUgUjm0AKQfA2xgAK09U3pjwu5kzRQ0xqE4WNliVqA|appVersion|nSmFBREExO0LrrPfZrEdXrPfXrwEoklfZOE2YOA2XrI1WOPiWHP2TOldXrlfXHAkYrTkZNlhWOIfXrEEokldZN4hZOw0YkwjTOlfZOE2YOA2XrI1WOAfXGliWHI4WOAfXGmOXj4hYkX1XHX4WOAfXGlkWHI2WOEfXOE2YOA2XGlkWHI2WOIfXrEEokXfZrwdXrlfXHAkYrTkZNlkWHl3XksjXkEdXrPfXrwEXq45ZNhiXq4iYGmyTP0iWHI4WOXfZrwEoklfZOE2YOA2XrI1WOXfZrwEXNhkWHl3XksjXkEEXNhiWHI4TPXhWOlfZOE2YOA2XrI1TOlfZOE2YOA2XrI1WOlEXq45ZNhhTPXkWHl3XksjXkEdXNlkWHI2WOlfZOE2YOA2XrI1TOXfZrwdXq45ZNmOXj45YGhkWHl3XksjXkEEXj4hYkX1XHX4WOXfZrwEXq45ZNhkWHI2TQMErrPfZrEdXrEEoklfZOE2YOA2XrI1WOP4TOldXrAfXrPkYrTkZNlhWOP2WHljTPXhWOP0WHIjYHo3YHTEXN44ZOw0YkwiZrsdXrofXOoEXq45ZNhiYN4hYNmOXj4hYkX1XHX4WOP0WHl0TOXfZrwdXrofZrT2YOA2XGlkWHI2WOP2WHljTPXkWHI2WOP3WHPiXksjXkEEXj4hYkX1XHX4WOP4TOPfZrEdXrEEuGAExKJdzO0LT2xKxKxKxGBAWk48vN9LnHiAW3Y2xk4GWNUFw3paz24GZGUkxvp0yu5LAjTdTLmgA2J0yu9fTHMGw29fBSUgzSXeAKJLySoGWNUewvULyu4GZGThTOEEXklEXNTdTLp5ARsGZGUkBKAGWNUkw2QdxqT6THlfZNU9WNUHz250AK9dv3mdwvJdyvY0THa7TK9jxRtjTHMiXGhGz24GZHldTKJHz24GZGT8A3xLTSBaxSpMnqAjXNAEyRtax2F0nqAjXNA|trident|userAgent|nSmFBREExO0LrrldXNmXXrwdXNmXXrwdXGmXXNhjTPhhWOlEuGmYXNh2TPhiYGh2TPhiYGh4TPhhWOEErOldYGmyTP0hWOPjTPhiYGhiXGmXXrwdXroErOldXroErOldXrTEuGAExKJdzO0LT2xKxKxKxGBAWk48vN9LnHiAW3Y2xk4GWNUFw3paz24GZGUhzRQ5zRJkBNTdTLmgA2J0yu9fTHMGw29fBSUgzSXeAKJLySoGWNUewvULyu4GZGThTOPjTOXhTOlGWNUGxjT6XNhGA2YFzRsGZGTiTGhGBSJhxqT6TLY2xjTdTKQfyu1FBRJgzGT6TLmgA2J0yu9fTGhGwKBhwupIyu5LTHMGXjlkTOXEXjTdTKULwqT6XN40WNUGx2QgBKtjTHMhWHEdTLpaANT6XS0dTKYgzLpjz2iDxLtdzNT6CjUgAKpJAGT6XrldTK9fTHMiWNUaw29fTHMGnSY2xjm3yup0yO0LXHlLTRFJyuBMBO0LXHlLnHiLTRxazRheALtdxr0LzK9fCKtjzjAEBSUFzLYKz3UenqB0AKQfA2iFBRsMXqhEXqILnHihwvpMTRo9U00iYG44ZrT4YrAiWOlfYqmXXrwfZrIdXN41YOlhYkP0XHIErOP3WHPjXrP0XHIdXN41YOo5XHE1YkPErOP3WHXjXHAiYOXdXN42YkE1TPXiYj40YkEiYOT5WOlfZrPjZOs3XrokTOP3WHo1Yrl3XrodXN43ZrE3XrojZOwEXrAfYOs1XOAiYNhhWHI5Zrl3XrojZqmXXrAfYqhiWHPhYkP0XHE2TPhiYj41WOAfXrA4YrAiYOXEokP3WHsdYj41XrX3XrojZqliYj4jXHEdYj43ZOs3XrojZqliYG44ZrT4YrAiWOAfYkE1YkP0XHIEokP2WHs1YkAiYOXdYj43ZOs3XrojZqliYG4jZOs3XrokWOAfYrPkYkP0XHIEXrwfXHE1YkP0Xjh3WHP3ZOs3XrokTPhiYG4jZOs3XrokWOTfYrAjYkE1YkPErOPhWHlkYjh4WHEjXHAiYOT5TPX5WHA5Zqh5WHl1ZrsEZq40XrsjZOs3Xqh5WHl1ZrsEZq4iYkAjZOs3Xqh4WHEjXHAiYOT5TPX4WHI0XOsdZN41ZOo3XrojZql4WHI0XOsdZN4jXOPEZq4iYkAjZOs3Xqh3WHI2YOTiYOT5TPhiYq40XHAjXrokWOPfYkP0XHE1YkPErOPhWHEjXrojZOwdXq43XrojZOs3XqmOXrlfYOE2XHE1YjhiWHAiYOT4YrAiTOPhWHTiYOT4YrAdXq40YOTjZOs3XqliXN4jXrojZOs3WOPfXrl3XrojZOwEokPhWHTiYOT4YrAdXN43YkTEXrlfYOE2XHE1YjhhWHsEXrlfZOTiYOT4YGhhWHsErOP2WHE5XHE1YkPdXN41TQMErrPfXrl3XrojZOwdXrAfYqmXXq4hXqhiYj40YrI5XHE2TPhhWHE3ZOE1YkP0XjhiYj40YrshYkP0TPhhWHw3YkT4YrAiYNhiYj4kXHT3XrokTPXhWHsjXrE1YkP0XjhiYj4hZOEkYrAiTOlfYro0ZrT4YrAiWOP3WHThXrT4YrAEXN41YOo5XHE1YkPdXrAfXOlhZrT4YGmXXN41WOP2WHE5XHE1YkPErOlfYqhiXN44XHP0XHE2TPXhWHsdXrlfYOE2XHE1YjlhWHA3XGhiXN4jXrojZOs3TOPfXrl3XrojZOwdXrlfXHP0XHE1YjmOXq40YOTjZOs3XqhiXN4jXrojZOs3TOPfYkP0XHE1YkPdXrlfYOE2XHE1YjliWHAiYOT4YrAiWOPhWHEjXrojZOwErOPfYkP0XHE1YkPdXrsfYOT3XHP0XjmXYj45YHXdZq4iYkAjZOs3XqmOZN4jXOPdZN45YOl1TOEfYrE0YkP0XHIdZN45YOl1TOEfZOTjYkP0XHIdZq4iYkAjZOs3XqmOZq4hYrI1WOIfYOP1XHE1YkPEZq4hYrI1WOIfYkI5TOEfZOTjYkP0XHIdXrlfXOX3TPhjWHs3XHA4YrAiWOP2WHT4YrAiYOXErOAfXrA4YrAiYOXdXrwfXHE1YkP0XjmOYj41XrX3XrojZqhiYG4jZOs3XrokTOAfYkE1YkP0XHIdXrwfYrs3YkP0Xjl3WHA4YrAiYOT5WOP2WHE5XHE1YkPEokAfYkE1YkP0XHIdXrAfXHT4TOAfYrPkYkP0XHIdXrAfYql3WHP3ZOs3XrokWOP3WHsErOPfXrl3XrojZOwdXrAfYqmyUjmKyuidnqAHxKxKxKxKU1hgnHiAW2A|ipod|valuepaddingtop|nQhgA3xLnGTdTKQHBRJgzGT6TLmjxvwGWNU0CvmJTHMGA3xLTGhGA2YFzRsGZHPfXGhGAR9kyvpaz24GZGUHz250AK9dAjTdTK1FAKBazGT6THlEXNlhTOP1TL0dTKYgzLpjz2iDzKt4BNT6CjUgAKpJAGT6XrAdTK9fTHMhWNUaw29fTHMGnSY2xjm3yup0yO0LXHlLTRFJyuBMBO0LXHlLnHiLTSpjwu5kxK9jzr0LBSUFzLYdwvpJVOsdTOsaUk48ARQ0yNmInqBYXN40YHI0ZNhixq0hYqmXXN40YHI0ZNhixq0hYqmXXN40YHI0ZNhhTPh3WHo2Zro3WOsfXHP4YksErOlfYOw5YOEdXrlfYOX3YqmXXN40YHI0ZNhixq0hYqmyTP03WHskXOsjWOlErOIfYrXhYrTdXNmXZq41Xkl1XGhiXN42XHo4XGmXYj41Xkl1XGhiXN42XHo4XGmXYj41Xkl1XGhhTQMLTRxazRh9UjYKxKxKxKwLvN8|nSmFBREExO0LrrEfZrI5ZrIdXrlfYOX3YOIErOEfZrI5ZrIdXrlfYOX3YqmXXGh1WHTiZOA1TPh4WHI5ZrI5WOlErOEfZrI5ZrIdXrlfYOX3YOIEuGmYXNhhTPhjWOlErOTdXrlfXHo5ZOXErOldXrlfXHo5ZOXErOldXNmyUjmKyuidnqAHxKxKxKxKU1hgnHiAW2A|775|nRAEBSUFzLYKz3UenqB0AKQfA2iFBRsMYq41WNl1VqA|885|915|nRAEBSUFzLYKz3UenqB0AKQfA2iFBRsMYNhEYNILnHijxuY0TSE9UklLTSI9UklLTSBaxSpMnqAiXGAEyRtax2F0nqAiXGAExKJdzO0LT2xKxKxKxGBAWk48vN9LnHiAW3Y2xk4GWNUFw3paz24GZGUkBR9hTGhGBSJhxqT6TLY2xjTdTKULTHMhDqhGw29fBSUgzQ9hAKt2THa7TK9jxRtjTHMiYGhGz24GZHldTKJHz24GZGT8A3xLTSBaxSpMnqAjXNAEyRtax2F0nqAjXNA|nQhgA3xLnGTdTKJHz24jTHMGnSY2xjm3yup0yO0LXHlLTRFJyuBMBO0LXHlLnHiLTRxazRheALtdxr0LzK9fCKtjzjAExKJdzO0LTklhXOlhXNAEBSUFzLYKz3UenqB0AKQfA2iFBRsMXqhEXqILnHihwvpMTRo9U005WHs1XkP5ZOX3WOIfXOl5XHw4YHIErOIfYOs1XkI1XksdZN45YHIiYrsErOIfXkTkXkwiXHwdZN45YHojZrT3YNmXZq4iXHl0XrI5ZNh4WHEkXOs4XOokTPX4WHI2XkIkYrPkWOEfYrI1ZrA2XrTEZN45ZOAiYHXkYqh4WHAiXOTkZrX2TOEfZrE3XrwkXksdZN41XOI2Ykl5TPh4WHI0XrIjZro1WOEfYOliYOE1YOIErOEfZroiZrT5YOsdXG4kXHX2YrX0ZqmOZN45YOP5XHI0YqhiWHI4ZOP1YkP3TOIfXHP1YkA3ZrXdXq43Xrs4YkljZql5WHs1XkP5ZOX3WOPfYkP1ZOAhXHIEokIfZOIhYHP4ZOTdXq43Xrs4YkljZqliXN4iYHo0YHAkWOPfZrE4Xrs3XrAEXrlfXrw0YOw3XjhjWHXjXkw1Xko5TPhiXN4iYHo0YHAkWOwfZrX0XHI2ZOsErOP2WHo1Yrw0YjhhWHw3YkA3YHs4YGmOXrwfYHI1XHw0YqhhWHo0XOA0XrPkZNliYj4hZOP1ZOw0WOlfYOohYkoiXrX4TOP3WHXjXrThXkEdXN42YkA3Ykw1ZOwEokP3WHs1Zrs5ZOAdXN45XrwhXHA2XOPEXrAfYrs5YrI4YjhiWHXhXOP0YHs4TOP3WHXjXrThXkEdXq41XkAiZOThXjmXXrPfXOT4ZOliYGh3WHA5XkAhXHT5TPhiYq42YHs4ZOA2WOAfYkIkYkljXHIEokP2WHlhXkXhZNh3WHA5XkAhXHT5TOP2WHT3YkP1YHsdZN4hYHs5ZOIiYjliYG4jYkAiYrw1WOEfYOliYOE1YOIEokP2WHT3YkP1YHsdZN43Xkw5ZOP4XGliYG4hXOXkXOEdZq4hXOIjYHE2ZqliYq42YHs4ZOA2WOIfXOl5XHw4YHIErOIfYrskXrI4XkAdZq4hXOIjYHE2ZqmyTP04WHo0YHEhXrwkWOEfZrIiXOX1XGmXZN41YOXkZOTiXqh5WHlkXrP0ZOE5TPh4WHw3YHwkZOA0WOIfXOX0YkI1YrIErOEfZOA4Xks3YOEdZq4iYHE1XOA4ZqmOZq4hXko4YOTkXjh5WHohXkPiXHTiTOIfXOPjZOX2YHsdZq4jZOE4YOE5Yjl5WHliXHEkYHw1WOIfYOIhYHXjZrIErOIfXOs4XOAhYrsdZq41ZrE4XrE0TPh5WHl1ZOl3XOs1WOP1WHw3YHw1XOoEokIfXOs4XOAhYrsdXrwfXOPjXro2Yjl4WHA4YOTjXHl3WOP2WHT4YOokXkwEZN40YOw4XOP2XjhiYG4jZOo0XkX2TPX4WHPhZOP1ZOw0WOP2WHT4YOokXkwEYj44Xks1XkT3WOP2WHliXHP0YHAEYj44Xks1XkT3WOP1WHw3YHw1XOoErOAfZOX1YrXjYjhiXq4hYHwhXOAErOPfYrokXrXhYOTdXrAfXkTiXkPiYjmOXq4kXOo3Xks1YNhiYj41YrI1YHT4TOlfZrP3XrIiXOodXrAfYrs5YrwjZNlhWHw3ZOA5YHP2WOP3WHXjXrXiXrAEoklfYOohYOliXHEdXrAfXOE0XHA2XjlhWHo0XOohXrT4WOP2WHAhXOP1YkXEXN42YkE3ZrwiYGhiYG40YHP5XOwkTPh2WHI3XrP5ZOo1WOPhWHThYHwhXrwErOTfXkX0XrPjYNhiXN4jXOw2XOP2TPXiWHI5Yro2ZrojWOPhWHThYHwhXrwEXq43XHT4YOX0ZNh5WHIkYOXiYOAjTOPfYkTjZOokYOEdZq41ZrE4XrE0TPXiWHAjXHE0Xko4WOIfXHwkXkTjXOAEXq45Zrs0YHI0XGh4WHI5XrlkYrTEXG4kXkoiXrT0WOEfZrIiXOX1XGmXZN40YOw4XOP2Xjh4WHI5XrlkYrTEuGAExKJdzO0LT2xKxKxKxGBAWk48vN9LnHiAW3Y2xk4GWNUFw3paz24GZGUKBuidA2YjxutfTGhGwuY0yu9fXGT6TK5gAK1FzSYHAKtJzGTdTLp5ARsGZGUkBKAGWNUhz3YaBRJgzGT6TKYgzLpjz2ikWvUax2F0TGhGzuQjx2JfTHMGXNliXNlkXNlhTGhGA2YFzRsGZGThWHEGDqhGw29fBSUgzQ9kBRQjBNT6CjUgAKpJAGT6XrXdTLmgA2J0yu9fTHMGw2tfBRtjTGhGA2YFzRsGZHTdTK9fTHMhWNUaw29fTHMGnSY2xjm3yup0yO0LXHlLTRFJyuBMBO0LXHlLnHiLTSpjwu5kxK9jzr0LBSUFzLYdwvpJVOsdTOXaUk48AR9dCuiazKsEAR9azLpknqAhWHs5XkA1TOlfYOE0XkEEXN41YHT1TOPkWHsiYrwkTOPiWHokYksEYjlhWHs5XkA1TOlfYOE0XkELTRxazRh9UjYKxKxKxKwLvN8|nQhgA3xLnGTdTKQHBRJgzGT6TLmdwvIGWNU0CvmJTHMGA3xLTGhGwKAGZHPdTKULw29dz3TGZGThXOlhXOlGWNUGx28GZHPdTKULARQIxRJfxjT6THAEYjl3TOAGWNUaw29fzuQjx2JfTHMGXNlhTOlEYNTdTKULwqT6XN4kWNUGx2QgBKtjTHMhWHwdTLYHwuiJz3xJAGT6XG4iWNUMyupJTHMiWNUMyupJz25hzRQ5THMiWNUMyupJz255z3t0BuUJTHMiDqhGw29fBSUgzQ9dyvxJTHa7TK9jxRtjTHMiYNhGz24GZHPdTLpJCSoGZGUdyvxJTGhGzRt0BRtjA3mFw2JfxjT6THPGWNUFw3paz24GZGUdyvxJTGhGBSJhxqT6TLpJCSoGWNUMwu5ITHMhWNUHzRJHyjT6XNhGxK9fBSYaCKsGZHIdTK1FAKBazGT6THlEXNliXOsEYqTdTKPGZHlfYqhGyRJIxqT6XqhGyRJIxu9fBK9ITHMiWNUhz3YaBRJgzGT6TKUgBSpgzq1dxux0TGhGzuQjx2JfASUgwjT6THlEXNlhTOThTGhGzvULzLmjAjT6THlEXNlhTOsGDqhGw29fBSUgzQ9kBR9hTHa7TK9jxRtjTHMiYqhGz24GZHldTKJHz24GZGT8A3xLTSBaxSpMnqAjXNAEyRtax2F0nqAjXNA|983|993|nRAEBSUFzLYKz3UenqB0AKQfA2iFBRsMXGhEXjILnHihwvpMTRo9U00iYGh3WHPkYHwiXrXjTPhiYGh3WHPhZrP2Zro1TPhiYq4jXOEiYkE1WOAfXrl5Xrw5YOsErOP0WHT3Yrl5Xjh3WHPhZrP2Zro1TPXiYN4jYkshZrXdXj4iZrIiXHwjYqliXq4hYHXiZrAdXNl3WHPkYks0YHo1WOlEokXfXHPiZOI1ZrPdXNlhWOXfXrI5XrT2XHsEXNh3WHPhZrP2Zro1TPXhWOPiWHliZrTiXHwEXj4jXrP4Zrs5XqhiYN4jXrEkXkE5TOAfXrX3Yro2YOsdXrofXHP4XkX4ZqmXYj4iXkA1YOw0YqhiXG40YOPhYOw1TPX0WHP5XkXhZOs1WOPjWHo0Xrl0YHsEXq43ZOokZOw2XGhiXN4hYOP3XOP4TOPfYkE0XkE2YHTdYj4iXOIiYHI0YqmOXq43ZOokZOw2XGh0WHP3YHwkYkl1TOofXrIkXkl4YrsdXq43YkAjZrTkYGl3WHPkYks0YHo1WOPfYkA3XHIjXkwEokPhWHl4XrA4YOodXq43YkAjZrTkYGliXG40Zrl3XOwkWOofXrA2YHX3XOsEXrTfYOIhYkl2Xjh3WHPhZrP2Zro1TPhiXN42YOo1Xrw3WOAfXrl5Xrw5YOsErOPkWHX4XHE5ZrwdXrPfYrsjYOlhYNmXXrwdYj4iXkw2XrPkXGmyUjmKyuidnqAHxKxKxKxKUk48vN9hwvpMnHiAW2A|appName|TGhGyuYgzHXGZGT8A3xLTSBaxSpMnqAjXNAEyRtax2F0nqAjXNA|Windows|platform|valuepaddingbottom|fine|wkdt|abg|u5i7q05whr2k|iosv|lines1|default_w|default_h|fullwheel|iemobile|1CjUkw3UJxu5Hz2igAGT6THlhXOlhXNTdTLpgz2iGwvTGZLdGw29dz3TGZGThXOlhXOlGWNUMyupJTHMiWNUewvULyu4GZGThTOThTOThTOThTGhGx3UFxRJJzLoGZHldTKQfyu1FBRJgzGT6TKQdARFFTGhGwqT6THlfYjTdTKEGZHPhXNhGzRtKBRQfxSUax2F0ARQIxRJfxjT6XHldTKijASlGZHPdTKijASmkTHM1WNUeAKBfANT6XqhGzvULzLYezRhGZGThTOsEXHlEYqTdTLUgBu5Iyu5LTHM5WNUMyupJxR93zGT6XqhGwLUITHMGXN41TL0dTKYgzLpjz2iDBRJ0zRsGZLdGz3UIxvTGZHPdTK9fTHMiWNUFw3paz24GZGU0yvpdxqTdTLp5ARsGZGU0xvF0TGhGAR9kyvpaz24GZGU0z3lezRtKBNTdTKYdyuYcTHMhWNUMwu5ITHMhWNU0xvF0THMGTGhGBKQjTHMGBRJ0zRsGWNUMyupJTHMiWNUMyupJz25hzRQ5THMiWNUFzKJewvpaz24GZGUhz3YaBRJgzGTdTKULTHMiWNUGx2PGZHlfYNhGwKBhwupIyu5LTHMGYGl2TOwEYGU9WNUHz250AK9dv2iazKsGZLdGz3UIxvTGZHXdTK9fTHMiWNU0CvmJTHMGA2FFARsGWNUFw3paz24GZGUdyu5JTGhGyNT6XjhGAK91zKpazKAGZHldTLAGZHwhWNUFTHMiWNUFwKAGZGThWHXGWNUFzR9FxNT6THlfYNTdTKQgBKtjTHMGXNTdTKYgzR9jTHMGxKxKxKxKTGhGw29dz3UGxjT6TKxKxKxKxGTdTKYgzR9jzR9FxNT6TKxKxKxKxGTdTKYgzR9jz3xJAGT6TKxKxKxKxGTdTKU1xKxJAGT6CjUgzGT6XNhGw29dz3TGZGUKxKxKxKwGWNUFTHMhWHt9WNUhz3YaBRJgzGT6TKUgBSpgzqTdTK1FAKBazGT6THlEXrsEXksEXrsGWNUMwu5IzRsGZHPdTKULARQIxRJfxjT6THsEXNl1TOlGWNU0yvlGZHPdTKFaxRsGZHPdTKFaxRtgzKiaBKsGZHPdTKY1A3pgzvBaxSpMTHMiWNU3ASUgwjT6XqhGyRQfxRiJzuQjx2JfTHMGXGlhTOlEZNTdTKFFzKpdxuJHz24GZGT8A3xLTSBaxSpMnqAkASELTRFJyuBMBO0LZvm4Ujm2yut3oK94nqAhTOlEXGl5Ujm2xvUkyu9fnqAiWHPLTSFezR5knqBMBSphZJhgvN93B3AfBkXfz3ULvN8jXOlhvN9kBKALTSFezR5kZLFdyu5cnqBMBSphZJhgvN93B3AfBkXfz3ULvN8iZrI5vN94zRJfyjA|blackberry|vR4ETNlEnSmgzSJLz24EA3pjz2eJnqBfz25JUjmKyuidnqAHpIxRpIxRUjmKyuidWvU1zRs9U25gzLaJAK8LTSmgyu50Ak0LXNlhTOlEZqljTOIEXGlhUk48vN9hz2i5x29fnJifnQhgA3xLnGTdTLBhAjT6ZrldTKFFzKpdxuFaxRtazKJ0THMiDqhGw29fBSUgzQ9hzRQ5THa7TK9jxRtjTHMjWNUgzGT6XqhGyuYgzGT6THikBKAEB2JIBRE9UkThUjmMxuJLySo9UkThUk48xjmKyuidWvU1zRs9U25gzLaJAK8LTSpjwu5kxK9jzr0LBSUFzLYdwvpJVOsdTOXaUk48ARQ0yNmInqBYXrPfYOo2Xko2XGh2WHP1YkEiXHsErOPfXrohXrIjXkPdXN4iXrw2YHw2YjmOXq4hXrokXHw5XGhhWHl0XkA1TOlfZOE0Yks5YHTdXNlhWHAkYHw4XHw5WOlEoklfXkXkXrAkXOEdXNlhWHlhXkAhXrIjWOlfXkT4XrT1TOlfXOlkYkliZrTdXN43XHIiYHw2YjmXXNhhWHAjZrP2YHw3TPhhWOPkWHT3XOEkXkXErOlfXOlkYkliZrTdXrXfXHAhZOXkXjmOXN4hXOX3XOP5XGhiXj42YkP4YksEXN4kXkXiYkXhZNhiYNlhWHAkYHw4XHw5WOP0TPXhWHE4ZOo2Xrs0WOP0TOPfXOP0XkT2ZrTdXrXfZro4Zrs4XjliWHP1XrT5ZOl4WOPkWHE3YHl0XrAErOPiWHo0YHX0YHTdYj44YOTiZOA1TPXiXq42Zrl2YkXiWOAfYHoiYHw2YjliXq44YOwiYrX4WOAfXkX5XOwjYqliXq44YOwiYrX4WOAEokPiWHE0YHP1XkEdYG42YHl5XkA1TOPiWHw5XOw3XkPdYG4kYHP5YkIiYjliXq40YOwkYOwjWOwfXrs3ZOPjYqmXXrPfYOo2Xko2XGh2WHP1YkEiXHsEuGAExKJdzO0LT2xKxKxKxGBAWk48vN9LnHiAW3Y2xk4GWNUaw29fXGT6THikBKAEB2JIBRE9UkThUjmMxuJLySo9UkThUk48xjmKyuidnqAHXOlhXOlhUjm0AKQfA2xgAK09U3pjwu5kzRQ0xqE0WNlkVqA|nSmFBREExO0LrrAfYkl3YHIjXHEdXN43YkA3YkEhYHAErOAfYkl3YHIjXHEdXrXfXHTjXHTjXGmOYj43XOA2ZrTjZNhiXj42YrP3YkAEZN4hZrPiXHljXqhiYNl4WHs2YOPhXHskWOP0TPhiXq4iXkXkXkXkWOP0TPXiXq42XOwkXrs2WOP0TOPiWHI4ZrA0XksdXrXfYHsiYkA3TOPiWHI4ZrA0XksdXrXfXHTjXHTjXGmXXrPfZrE5YkokYqhhWHA3YkA3YkA3ZNmOXrPfZrE5YkokYqhhWHX0ZOTjXHI3XGliXq42XOwkXrs2WOlEXrPfXrXkXkXkXjhhTPh4WHs2YOPhXHskWOlEokEfXOIiXrThXHPdXNl3WHAhYkw5XHT4WOlfXko4XHTjZrAjTOAfYkl3YHIjXHEdXN43YkA3YkA3YkEEuGmYXj40XHs2YOPhXqhiYNmXXN44Yrw0XrljYrXdXroEoklfXkEkYOT3ZrXiWOP0TOldXrXfYHsiYkA3TOldXrXfXHTjXHTjXGmXXNhhWHA3YkA3YkIiXjmOXNhhWHX0ZOTjXHI3XGlhWHX4XkojYkIkXqhhTOlfZOs2YOPhXHskWOlErOXfYOT1YHoiXOPdXNmOXj44ZrE2XHXkYNhhTOofXHEjXOsiXHAdXN4kYOEjXHT5YkTEYN4jZOThYrPjYjhhWHA3YkA3YkA3ZNmXYN4jZOThYrPjYjhiXj4jXHTjXHTjTPX0WHT4XHl1XrT3WOPkWHw1XrA3YjlkWHE5ZOwjXkX0WOP0TOXfYOT1YHoiXOPdXroEuGAExKJdzO0LT2xKxKxKxGBAWk48vN9LnHiAW3Y2xk4GWNUaw29fXjT6THikBKAEB2JIBRE9UkThUjmMxuJLySo9UkThUk48xjm0AKQfA2xgAK09U3pjwu5kzRQ0xqEjWNlkVqA|matches|matchMedia|MacIntel|Tizen|tvOS|nQhgA3xLnGTdTKQHBRJgzGT6TK11BRsGWNUFw3paz24jTHMGBu5eBvpJTGhGBSJhxqT6TLY2xjTdTLmgA2J0yu9fTHMGw29fBSUgzSXGWNUewvULyu4GZGThTOlEXklEXrTGWNUewvULyu5hAK9HTHMGXNlhTOlEXHlGWNUIyvYhzRQ5BK9dBu1JTHMiDqhGw29fBSUgzQ92z2i1zusGZLdGz3UIxvTGZHwdTK9fTHMiWNU0CvmJTHMGA2FFARsGWNUFw3paz24GZGU2z2i1zusGWNUMTHMkWNUjz3tfxRJfxjT6XNhGw3tkBR9eB2JIBREGZHPdTLAGZHwhWNUFTHMiWNUFwKAGZGThWHXGWNUFz3xJAGT6THlGWNUHz2igAGT6TKxKxKxKxGTdTKYgzR9jwKAGZGUKxKxKxKwGWNUHz2igAK92xvTGZGUKxKxKxKwGWNUMyupJTHMhWNUMyupJz3t0zvt0xqT6XqhGAK90wvpaz24GZHldTKULARQIxRJfxjT6THsEXNl1TOlGWNUGxjT6XNhGyRQfxRiJTHMiWNUewvULyu4GZGThTOlEXklEYqTdTKFFzKpdxuJHz24GZGT8A3xLTSBaxSpMnqAkASELTRFJyuBMBO0LZvm4Ujm2yut3oK94nqAhTOlEXGl5Ujm2xvUkyu9fnqAiWHPLTSFezR5knqBMBSphZJhgvN93B3AfBkXfz3ULvN8jXOlhvN9kBKALTSFezR5kZLFdyu5cnqBMBSphZJhgvN93B3AfBkXfz3ULvN8iZrI5vN94zRJfyjA|webOS|armv|BRAVIA|Roku|Philips|nSmFBREExO0LrrP2WOAfXrX2YHPiXkTErOP2WOAfXrl5Xrw5YOsErOP1WHThZOP3ZOsdYj4iXOIiYHI0YqmXXrofXHA1XOIkWOAfXrl5Xrw5YOsEokP0WHT3Yrl5XjhkWHP5ZrPjYHT1TOPiWHl2XkP5YjhhTOAfXrX3Yro2YOsdXNmOXj4jXrP4Zrs5XqhhTOldXj4iZrIiXHwjYqlhWOAfXrl5Xrw5YOsEokldXrPfXOP5XHPjYGlkWHTiXrE5YrIiWOP0WHTiZOXkZOIEYj4iXkA1YOw0YqhiYN4jXrEkXkE5TPh3WHPkYks0YHo1WOPjWHo0Xrl0YHsEokofXrIkXkl4YrsdXrTfYOoiXOo2YqliWHA4YOX4YHwjWOPhWHl0XrAhXrEEXq43ZOokZOw2XGh3WHPhZrP2Zro1TPXiWHA4YOX4YHwjWOofXrA2YHX3XOsEYN4iZrXkXOE1YqhiWHA3YkT5XHX2TOAfXrX3Yro2YOsdXq43YkAjZrTkYGmOXrlfXOEiYkE0YNhiWHA3YkT5XHX2TOPjWHo5XOAhYHXdYN4iYkw2XkAhYqliXG40Zrl3XOwkWOAfXrl5Xrw5YOsErOPhWHw0YOsiYHAdYj4iXOIiYHI0YqmXXrXfXkEjZOI5YGhiXq41YrT0XOl0TPhiYGh3WHPkYHwiXrXjTQMLTRxazRh9UjYKxKxKxKwLnHiAW3mFBRE|nSUJw3oECO0LXNAECr0LXNAEB2JIBRE9UkP0UjmMxuJLySo9UkP0UjmKyuidnqAHxKxKxKxKUk48vN9jxuY0nHiAW2A|aload|nRAExKJdzN1gARQHyvp5nqAhUjmKyuidnqAHpOFPZPo4Ujm0AKQfA2xgAK09U3pjwu5kzRQ0xqEkWNlkVqA|TGhGyuYgzHTGZGT8A3xLTSBaxSpMnqAjXNAEyRtax2F0nqAjXNA|TGhGwuY0yu9fTHMGARiFCqTdTKQHBRJgzHTGZGUhwvtkxqTdTLp5ARsGZGUkBKAGWNUkw2QdxqT6THTGWNUkw2Qdxu92xvTGZGTeXqTdTK1FAKBazGT6THlEXNl2XNlhTGhGAR9kyvpaz24GZGUGz3p0z20GWNUFzKJewvpaz24GZGUkw2QdxqU9WNUHz250AK9dv211BRsGZLdGz3UIxvTGZHodTK9fTHMiWNUaw29fTHMGnSY2xjm3yup0yO0LXHlLTRFJyuBMBO0LXHlLnHiLTRxazRheALtdxr0LzK9fCKtjzjAExKJdzO0LT2xKxKxKxGAEBSUFzLYKz3UenqB0AKQfA2iFBRsMYqhEXjILnHihz2i5x29fTRJInqBhyLYDBK9dBu1Jv2tdxu1JzLoiUjmhz2JfBSX9UklEYNlhTOPhTOTEXrlEXGl0UjmKyuidnqAHxKxKxKxKUk48vN9hz2i5x29fnHihz2i5x29fTRJInqBhyLYDBK9dBu1Jv2tdxu1JzLojUjmhz2JfBSX9UkoEXGl0TOPjTOwEXrTEYGljUjmKyuidnqAHxKxKxKxKUk48vN9hz2i5x29fnHihz2i5x29fTRJInqBhyLYDBK9dBu1Jv2tdxu1JzLokUjmhz2JfBSX9UkEEXNl4TOP0TOPhTOP0TOPhTOlLTRxazRh9UjYKxKxKxKwLnHiAW3mgzSJLz24|WebkitAppearance|TGhGwuY0yu9fTHMGzKt4BNTdTLp5ARsGZGUkBKAGWNUkw2QdxqT6Xq4jWNUhz3YaBRJgzGT6TKYgzLpjz2ikTGhGzuQjx2JfTHMGXNlhTOlEXrsGDqhGw29fBSUgzQ9kyRQjxqT6CjUgAKpJAGT6XrEdTK9fTHMhWNUaw29fTHMGnSY2xjm3yup0yO0LXHlLTRFJyuBMBO0LXHlLnHiLTSpjwu5kxK9jzr0LBSUFzLYdwvpJVOPdTOXaUk48ARQ0yNmInqBYXrlfYrTjYkshXjhiXG4kYOE0XrT4TPhiXN41XHT3YrlkWOIfXklkXkI0XOPEoksfYrX2YrE2YOEdZq4iXrI1XOE5ZNljWHskYOEhZrE5WOPiWHX4Zrw5ZOPEXNhiXj45XrT1Xkl1TPXhWOAfZrP1ZrT1XrIEYq4jXHw5YHE3YjhkWHP5XHAiYrX2TOPhWHsjXHA1XOXdXj4iXkI4YHliTPhiXN41XHT3YrlkWOlfXrP3YHo3XOs5TPhiZN4hXOX1ZOP4WOwfXHXkXOT5ZrXErOPhWHsjXHA1XOXdXrTfXko4YOPjZNmyUjmKyuidnqAHxKxKxKxKU1hgnHiAW2A|997|unmute_video|pstrcnfg|992|nSmgzSJLz24Eyuo9U3mbA192z2i1zutDxuiJzutfBOPLTSmgyu50Ak0LXNl0TOlEXrlEXGliXNljTOoLTRxazRh9UjYKxKxKxKwLnHiAW3mgzSJLz24|914|883|nSmgzSJLz24Eyuo9U3mbA192z2i1zutDxuiJzutfBOTLTSmgyu50Ak0LYNljTOoEXrTEYGliXGl2TOTLTRxazRh9UjYKxKxKxKwLnHiAW3mgzSJLz24|957|296|372|275|857|432|valuemargintop|nSmgzSJLz24Eyuo9U3mbA192z2i1zutDxuiJzutfBOXLTSmgyu50Ak0LZNlhTOEEXroEXrlEXroEXrlEXNAExKJdzO0LT2xKxKxKxGA|valuemarginbottom|valuemarginright|029|line_play|skip_after_|pjsga|isflash|225|135|_timer|handlemarginbottom||nQhgAR9dCuBgzH48vN9LnHiAW3Y2xk4GWNU0CvmJTHMGA3xLTGhGAR9kyvpaz24GZGUHz250AK9dAjTdTK1FAKBazGT6THlEXNlkXNleXHlGWNUewvULyu5hAK9HTHMGXNlhTOlEXNTdTKPGZGThWHoGDqhGxK9fBSXGZHPdTKxgzLpfwu1JAjT6TIQjw2FaBK8ErKQjAK93TGhGx2igwKQdxK9fBNT6XNhGx2igwKQdxK9fBR5FzusGZGTGWNUhzRQ5zRJkBNT6CjUIAK9hzRJkBNT6XqhGzuQjx2JfTHMGXrlEXrlEXNliXNTdTLxFzStJw29dz3TGZGUKxKX4XOlGWNUMxuQIxK9fBSYaCKsGZHP0DqhGA2t0BRJfx3XGZLdGA2t0BRJfx3X0THMiWNUkxvp0yu5LAkpFw3paz24GZGUkARtJxNTdTKYgzuUazKtITHMhWNUhz3YaBRJgzGT6TKUgBSpgzq1jyuBMBNTdTKFewvFcTHMhWNUewvULyu4GZGThTOlEYqlhTGhGAK91zKpazKAGZHsdTLmFxRpazKAGZGT1TOPjTOsEXrTGWNUKz250A2J6xqT6XrTdTKFJwupKz250A2J6xqT6XrodTK1FAKBazLmjz2XGZGThTOThTOlEXNTdTK1jx25hALXGZGThTOsEXNlhTL0dTKYgzLpjz2iDz0YqxJPGZLdGz24GZHPdTK9jxRtjTHMiZqhGwuY0yu9fTHMGw3tkBR9eTGhGyuYgzGT6THikBKAEB2JIBRE9UkThUjmMxuJLySo9UkThUk48xjmKyuidWvU1zRs9U25gzLaJAK8LTRxazRh9UjYKxKxKxKwLTSpjwu5kxK9jzr0LBSUFzLYdwvpJVOTfZrXjYHIjWNlkVqA|handlemargintop|u10|TGhGBSJhxqT6TLY2xjTdTLmgA2J0yu9fTHMGwK90BR9eWvUax2F0TGhGzuQjx2JfTHMGXNliYqliYqlhTGhGzRJfyjT6XqhGzRJfy3tjzNT6TKQhyrahyvm3xuUcyvoGWNUFTHMGXN42TGhGwu92xvTGZGTiTGhGyRJIxqT6XqhGyRJIxuiFANT6XNhGyRJIxu9fzRtFBKtFzKphzRQ5THMiWNUFzKJewvpaz24GZGUhz3YaBRJgzGTdTKQhxSTGZGUjyuBMBNTdTKFaxRtgzKx1zRikw3UJxu4GZHQ9Do|l3v_left|nSmgzSJLz24EAR9azLpknqAiXG45ZOEjYjliXG44XkAkXHw1TOsfYOPhZOEkXHEEXrTfZOX3XkT2Yql1WHoiXOE4XkT4TOP0WHEkYkXjYHsEXrofZrE4XHAEXrofZOX3XkT2YqliYN45ZOEjYjl1TOPjWHI4ZOT3TOsLTRxazRh9UjYKxKxKxKwLnHiAW3mgzSJLz24|nSmgzSJLz24EAR9azLpknqAhWHP1Xkl5YOPkZqliWHo5ZrEkYHw1TOPkWHs2ZOXiZNliYN45XrEiYGliYN45ZOT2Zro5TOPkWHshYOPhZrEEXq41YHA0YkPhYNlhWHl4YrA4YHo0YkPLTRxazRh9UjYKxKxKxKwLnHiAW3mgzSJLz24|nRAExKJdzN1jBuiJnqBfz256xvUgUjmKyuidnqAHxKxKxKxKUjm0AKQfA2xgAK09U3pjwu5kzRQ0xqE1WNlkVqA|041|994|848|606|659|705|747|785|818|874|483|897|918|962|971|979|985|547|416|036|001|nQhgA3xLnGTdTKQHBRJgzGT6TLYMwvUJTGhGBSJhxqT6TLY2xjTdTLmgA2J0yu9fTHMGBR9hWvUax2F0TGhGzuQjx2JfTHMGXrsEXrsEXNlhTGhGwKAGZHPdTKULzjT6XqhGA2YFzRsGZHPdTKULARQIxRJfxjT6THwEYGl2TOwGWNUGx2PGZHlfXjhGwKBFz3xJAGT6XN42WNUFzKJewvpaz24GZGUhz3YaBRJgzGTdTKtFA2sGZGUJzRQkBRJHTL0dTKiFzKAGZGUjBqTdTLmdwvJJALBaxSpMTHMeXqhGw29fBSUgzQ8hqrFdXqT6CjUgzGT6XqhGz3UIxvTGZHsdTKQHBRJgzGT6TKY1A3pgzqTdTKJHz24GZGT8A3xLTSBaxSpMnqAjXNAEyRtax2F0nqAjXNA||019|996|984|981|988|007|344|valuepaddingright|003|valuepaddingleft|096|185|267|settings4action|large|emptyremove|scroll_up|PluginBlock|quizes|PluginQuiz|mouseenter|vast_preroll_vmap|mouseleave|vast_pauseroll_vmap|vast_postroll_vmap|scroll_right|vast_midroll_vmap|vpaid_timeout|vpaid_timeout2||vast_resound|orientationchange|vpaid_slotinframe|startvisibility|eventstrackervast|move|scrollWidth|partnerprerollor|partnerpauserollor|partnerpostrollor|partnermidrollor|keyup|midrollpoint|keydown|introskiptime|onMouseOut|onMouseOver|introclickable|PluginMini|vast_openclick|fullscreenchange|vast_volumecolor||vast_skipbgcolor|playback|vast_skipcolor|vast_titlebgcolor|vast_titlecolor|vast_xbgcolor|||panel|vast_xcolor|vast_progressbgcolor|autoplaynomobiletv|vast_progresscolor|rafinit|vast_volumebgcolor|paddingbottom|brdla|TimeStore|brdlc|brdl|vast_linktxtonmobile|sessid|vast_unmutehover|vast_unmutebutonce|marginRight|5em|actn|vast_default_volume|vast_unmutebutbgcolor|vast_unmutebutcolor|sleeptimer0|offsettimerinit|MSFullscreenChange|Local|15em|usernew|aaaaaa|ffc7d1|e8bbff|feba54|faed54|62de50|72ccf8|mobtch1|250|125|nfscldr|nfsclios|nombclck|seeksidesmob|redirectplaylist|b3fee8|layerX|offsetX|sleep2options|sleepoptions|offsetoptions|current_|f2parent|pressed_|pjslng_sub_sizeproc|hlsqhsort|clr_|accept|home|pjslng_|d9bb8c|4bd9ac|introclosetime|PluginUpload|ChromeCast|PluginEffects|introtitle|PluginMediaTags|introtxt|default_channel|minivis|fimg|f2img|sub_settings|1100|Logo|borderBottom|borderRight|clear|hidearrow|Input|_vdpsrt|PluginRounding|passonstart|pstrvd|subclr|644082|409829|073DA0|current_channel|posterstime|D90000|ffff00|speed4live|vast_linktxtcolor|dropnohide|settings5|07|customyterrors|unavailable|dashcookies|ytError|CUED|word|container_w_procent|BUFFERING|PAUSED|dashlowquality|35px|ytEnded|ytlog|nameofdashquality|transbg|16x9|yttitle|ytReady|errortimeout|vast_skip|onPlaybackQualityChange|onStateChange|onReady|modestbranding|showinfo|oframe|vast_click|iv_load_policy|playsinlineonmobileiphone|vast_impression|dashdebug|Orientation|html5|poster_floatbgcolor|settings5action|sub_allmy|sub_all_title|answer|hash|poster_floatmargin|loadVideoById|poster_floatposition|poster_floatwidth|Cross|getVideoLoadedFraction|setPlaybackQuality|unMute|poster_floatheight|getDate|getAvailableQualityLevels|srvsga|setPlaybackRate|getCurrentTime|88484718|hd1080|hd720|change2playlist_bottom|medium|tiny|setSize|allowLinker|require|autoLink|getPlaybackQuality|disablekb|ga_proc|hidesmoothly|vast_postrolltbimp|vast_pauserolltimebreak|vast_pauserolltbimp|indent|outline|visited|hover|class|oncontextmenu|ContextMenu|rc_custom|vast_pauseroll_counter|rc_nobrand|vast_postroll_limit|vast_postrolltimebreak|vast_postroll_counter|origin|uppercase|99999|rmright|shuffle8|vast_playroll_limit|vast_playroll_counter|vast_midroll_counter|vast_midrolltimebreak|ref|vast_midrolltbimp|vast_introtimebreak|contains|vast_introtbimp|vast_linktxtbgcolor|vast_pauseroll_limit|vast_preroll_counter|sharetitle|childList|playerapiid|sharetop|enablejsapi|playerVars|videoId|observe|shareiconscale|shareiconscaleover|shareiconmargin|API|embedsize|embedwidth|560|embedheight|youtube_iframe_api|manipulation|querySelector|vast_prerolltbimp|vast_prerolltimebreak|backface|vast_preroll_andlimit|vast_preroll_limit|pjscolor|vast_title|160|vast_volume|vast_closeonclick|vast_pauseonclick|ytcl1|vast_timeout|onYouTubeIframeAPIReady|roll|fillStyle|__storage_test__|VastOverlay|bgload|VastImpression|VpaidStarted|VastShow|to_right|VastReady|vast_ready|noset|lrpp|vastbgpreload|tagLive|nativemobile|renew|showvolmobile|hdn|PluginVastTimeMsg|bgload2|skipimpessed|vast_startdelay|tskp|crossdomain|issue|ssfly|seekiconbut|seektome|cancel|cancelskip|isOn|skipimprsd|vlscrl|02|3600000|wproc|customwidth|yandex|vast_init|crtm|startdelay|alarm|bezier|webkitPresentationMode|setWsQuality|setAudio|exitPictureInPicture|requestPictureInPicture|vast_finish|pictureInPictureElement|vast_ima|disablePictureInPicture|level|pictureInPictureEnabled|webkitSupportsPresentationMode|vldcntrInterval|webkitShowPlaybackTargetPicker|webkitcurrentplaybacktargetiswirelesschanged|available|availability|setWsAudioTrack|getDash|ndash|disablePreload|customspeeds|VastError|vast_error|VastRemoveUrl|and2limit|Next|preloading|VastInsertAnd|vast_stop|reset|dashInterval|kind|VastInsertOr|playbackRate|subtrack|HlsSubTrack|fillvideo|chngwd||ssdown|webkitplaybacktargetavailabilitychanged|hideonyoutube|PluginWater|pjsstat|pjsstatid|PluginStat|pjs_cast_button_|AdBlock|Resume|hideab|water|hidenoab|hidenomini|hidemini|hideonmeta|01|Progress|hideonlive|wid|cast_available|dontseekforward|showfrom1file|globalfont|const|scrollY|redirectblank||redirectparent|openlast|SettingsTimer|buffering|heartbeats|separator|showboth|showduration|pauseonhover|sess|nativenotandroid|nativeontv||isOpen|scrnstp|hideonunmute|combined|hidelap|pjsiframed|fileend|outros|clipboard|webkitSupportsFullscreen|hideall|dropopen|hideonbar|reloadjustevent|hideonleaveandplay|webkitEnterFullScreen|webkitendfullscreen|webkitExitFullscreen|showuntilmeta|showovr|wheelDelta|PluginSettings2|reloadplus|hideondesktop|Open|hideuntiltext|hidenormscreen|downself|_self|hideonleave|hideonvod|hideuntilended|hideuntilstartedios|reloadstart|writePl|hide0timestore|hidelastpl|nooverlay|PasswordTime|tracking|hidewait|hideunwait|hideonmobile|vast_dontplay|WebKitPlaybackTargetAvailabilityEvent|maxHeight|customqualities|1920|1080|enableWorker|2560|1440|3840|2160|fragLoadingTimeOut|720|eng|English|rus|manifestLoadingTimeOut|Speed|autoStartLoad|Audiotrack|hlscltps|1280|FloatPosterScale|clearkey|xhrSetup|drmSystems|emeEnabled|serverCertificateUrl|Quality|qualitypause|licenseUrl|playready|capLevelToPlayerSize|microsoft|widevine|fps|apple|426|240|854|480|DASH|PlugMediaChannels|attachMedia|MediaVimeo|avc1|codecs|urlmse|error_time|Image|scaledrag0|dragging|MediaPjs|42E01E|MediaDaily|RemoveAll|scaledrag|Created|createposter|0001|nomedia|vast_loadtxtd|dailymotion|mp4a|flussonic|complete|rldnornd|support|nativehlsinedge|nativehlsinsafari|PluginFloatPoster|nativehlstv|New|taginframe|tagcors|nodownload|controlsList|nativenodownload|ynxnopip|drunchr|crossOrigin|crossorigin|hqdefault|withCredentials|MEDIA_ATTACHED|disabled|language|finishnormal|appendBuffer|WebKitSourceBuffer|finish|redirectafter|WebKitMediaSource|suggestions|nativeaudio|norootplstart|winmob|wake|dvtp|onpause|Video|aborted|webkitDisplayingFullscreen|hlsaddbitrate|firstLevel|loadeddata|RemovePassword|EmptyVastUrl|destination|createGain|createMediaElementSource|webkitAudioContext|hlsforce|Pass|posterfull|AudioTrack|autoplay_denied|playError2|automute|interrupted|playError|playtry|2000px|Infinity|webkitfullscreenchange|loadstart|attached|tags|reloadtimes|AUDIO_TRACKS_UPDATED|fragdata|FRAG_PARSING_METADATA|Break|hlsfdt|relurl|fragment|subtitleDisplay|FRAG_CHANGED|Seeking|Live|LEVEL_LOADED|LEVEL_SWITCHED|LEVEL_SWITCH|MANIFEST_PARSED|MANIFEST_LOADED|AUDIO_TRACK_SWITCHING|hlssubtracks|watching|tryotherquality|sleep|playlists|EXTINF|wsconfig|PluginWS|loaderror|regress|Level|FRAG_LOADED|Alternative|hls_error|recoverMediaError|MEDIA_ERROR|NETWORK_ERROR|ERROR|subtitleTracks|SUBTITLE_TRACKS_UPDATED||pageXOffset|hideafterstart|substring|youtubeid|initEvent|dispatchEvent|sscopyright|googleapis|logapi|toogle|encode|tipmargintop|bggrl|stylesheet|180|reduce|vpaid_|VpaidSet|showvlt|Test|dwn|arguments|startvast|createEvent|adShown|tippointeralign|nexttrack|nonInteraction|artwork|previoustrack|Destroyed|playerjs_hit|watch|capiom|eventlisteners|tipmarginright|tipmarginleft|vast_Impression|Arial|Courier|ontouchend|tipmarginbottom|SVG|_text|resumed|unmuted|rewound|prt|10000|midrollcrtm|1000000|iconmarginright|iconmarginleft|clickmarginright|iconmarginbottom|countdown||counter|control_buffer|iconmargintop|PluginCountdown|cssText|45deg|repeating|same|switchpip|async|setProperty|olor|number|NaNpx|castinit|clickmarginleft||bufferInterval|isfullscreen|vastbreak|circle|updateCuid|Boolean|plduration|clk|moveplaylist|mainresize|rotateonclick|fix|link2|nodeName|bggrc|unfix|PlgnCntrlTmln|Active|timeplay|FindPjsDiv|bufferDeg|ontop2|MediaMetadata|scale0|gainact|187|currentfile|vrsn|volume_element|control_mute|Reset|Previous|191|playlist_length|192|slider|2048|127|189|Copied|playlist_folders|vast_posterurl|Tiny|PluginHdIcon|Small|vastmute|startAd|0123456789|alphas|toUpperCase|enter|||||||||||flipx|showplaylist|flipy|vastnow|vastinfo|vastpause|vastresume|vaststart|Shadow|Color|All|once|Sleep|Skip|Yes|Bottom|running|Font|control_time|cut2|iconspress|Audio|1296p|Super|Quad|Ultra|jpeg|ShowSettingsBut|adsystem|advertiser|website|toDataURL|touch_|triangle|vpaid|wrapper0|invert|_bg|filetype|Metric|midroll_time|vastids|122|121|getVolume|LIVE|the|300000|Medium|fillText|cut1|Full|||||||||||Enter'.split('|'),0,{}))
|
||
!function t(e){var r,i;r=this,i=function(){"use strict";function r(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,i)}return r}function i(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?r(Object(i),!0).forEach((function(e){s(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):r(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function n(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,m(i.key),i)}}function a(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function s(t,e,r){return(e=m(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function o(){return o=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},o.apply(this,arguments)}function l(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,h(t,e)}function u(t){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},u(t)}function h(t,e){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},h(t,e)}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function c(t,e,r){return c=d()?Reflect.construct.bind():function(t,e,r){var i=[null];i.push.apply(i,e);var n=new(Function.bind.apply(t,i));return r&&h(n,r.prototype),n},c.apply(null,arguments)}function f(t){var e="function"==typeof Map?new Map:void 0;return f=function(t){if(null===t||(r=t,-1===Function.toString.call(r).indexOf("[native code]")))return t;var r;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,i)}function i(){return c(t,arguments,u(this).constructor)}return i.prototype=Object.create(t.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),h(i,t)},f(t)}function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}function v(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return g(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?g(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function m(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}function p(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var y={exports:{}};!function(t,e){var r,i,n,a,s;r=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,i=/^(?=([^\/?#]*))\1([^]*)$/,n=/(?:\/|^)\.(?=\/)/g,a=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,s={buildAbsoluteURL:function(t,e,r){if(r=r||{},t=t.trim(),!(e=e.trim())){if(!r.alwaysNormalize)return t;var n=s.parseURL(t);if(!n)throw new Error("Error trying to parse base URL.");return n.path=s.normalizePath(n.path),s.buildURLFromParts(n)}var a=s.parseURL(e);if(!a)throw new Error("Error trying to parse relative URL.");if(a.scheme)return r.alwaysNormalize?(a.path=s.normalizePath(a.path),s.buildURLFromParts(a)):e;var o=s.parseURL(t);if(!o)throw new Error("Error trying to parse base URL.");if(!o.netLoc&&o.path&&"/"!==o.path[0]){var l=i.exec(o.path);o.netLoc=l[1],o.path=l[2]}o.netLoc&&!o.path&&(o.path="/");var u={scheme:o.scheme,netLoc:a.netLoc,path:null,params:a.params,query:a.query,fragment:a.fragment};if(!a.netLoc&&(u.netLoc=o.netLoc,"/"!==a.path[0]))if(a.path){var h=o.path,d=h.substring(0,h.lastIndexOf("/")+1)+a.path;u.path=s.normalizePath(d)}else u.path=o.path,a.params||(u.params=o.params,a.query||(u.query=o.query));return null===u.path&&(u.path=r.alwaysNormalize?s.normalizePath(a.path):a.path),s.buildURLFromParts(u)},parseURL:function(t){var e=r.exec(t);return e?{scheme:e[1]||"",netLoc:e[2]||"",path:e[3]||"",params:e[4]||"",query:e[5]||"",fragment:e[6]||""}:null},normalizePath:function(t){for(t=t.split("").reverse().join("").replace(n,"");t.length!==(t=t.replace(a,"")).length;);return t.split("").reverse().join("")},buildURLFromParts:function(t){return t.scheme+t.netLoc+t.path+t.params+t.query+t.fragment}},t.exports=s}(y);var T=y.exports,E=Number.isFinite||function(t){return"number"==typeof t&&isFinite(t)},S=function(t){return t.MEDIA_ATTACHING="hlsMediaAttaching",t.MEDIA_ATTACHED="hlsMediaAttached",t.MEDIA_DETACHING="hlsMediaDetaching",t.MEDIA_DETACHED="hlsMediaDetached",t.BUFFER_RESET="hlsBufferReset",t.BUFFER_CODECS="hlsBufferCodecs",t.BUFFER_CREATED="hlsBufferCreated",t.BUFFER_APPENDING="hlsBufferAppending",t.BUFFER_APPENDED="hlsBufferAppended",t.BUFFER_EOS="hlsBufferEos",t.BUFFER_FLUSHING="hlsBufferFlushing",t.BUFFER_FLUSHED="hlsBufferFlushed",t.MANIFEST_LOADING="hlsManifestLoading",t.MANIFEST_LOADED="hlsManifestLoaded",t.MANIFEST_PARSED="hlsManifestParsed",t.LEVEL_SWITCHING="hlsLevelSwitching",t.LEVEL_SWITCHED="hlsLevelSwitched",t.LEVEL_LOADING="hlsLevelLoading",t.LEVEL_LOADED="hlsLevelLoaded",t.LEVEL_UPDATED="hlsLevelUpdated",t.LEVEL_PTS_UPDATED="hlsLevelPtsUpdated",t.LEVELS_UPDATED="hlsLevelsUpdated",t.AUDIO_TRACKS_UPDATED="hlsAudioTracksUpdated",t.AUDIO_TRACK_SWITCHING="hlsAudioTrackSwitching",t.AUDIO_TRACK_SWITCHED="hlsAudioTrackSwitched",t.AUDIO_TRACK_LOADING="hlsAudioTrackLoading",t.AUDIO_TRACK_LOADED="hlsAudioTrackLoaded",t.SUBTITLE_TRACKS_UPDATED="hlsSubtitleTracksUpdated",t.SUBTITLE_TRACKS_CLEARED="hlsSubtitleTracksCleared",t.SUBTITLE_TRACK_SWITCH="hlsSubtitleTrackSwitch",t.SUBTITLE_TRACK_LOADING="hlsSubtitleTrackLoading",t.SUBTITLE_TRACK_LOADED="hlsSubtitleTrackLoaded",t.SUBTITLE_FRAG_PROCESSED="hlsSubtitleFragProcessed",t.CUES_PARSED="hlsCuesParsed",t.NON_NATIVE_TEXT_TRACKS_FOUND="hlsNonNativeTextTracksFound",t.INIT_PTS_FOUND="hlsInitPtsFound",t.FRAG_LOADING="hlsFragLoading",t.FRAG_LOAD_EMERGENCY_ABORTED="hlsFragLoadEmergencyAborted",t.FRAG_LOADED="hlsFragLoaded",t.FRAG_DECRYPTED="hlsFragDecrypted",t.FRAG_PARSING_INIT_SEGMENT="hlsFragParsingInitSegment",t.FRAG_PARSING_USERDATA="hlsFragParsingUserdata",t.FRAG_PARSING_METADATA="hlsFragParsingMetadata",t.FRAG_PARSED="hlsFragParsed",t.FRAG_BUFFERED="hlsFragBuffered",t.FRAG_CHANGED="hlsFragChanged",t.FPS_DROP="hlsFpsDrop",t.FPS_DROP_LEVEL_CAPPING="hlsFpsDropLevelCapping",t.ERROR="hlsError",t.DESTROYING="hlsDestroying",t.KEY_LOADING="hlsKeyLoading",t.KEY_LOADED="hlsKeyLoaded",t.LIVE_BACK_BUFFER_REACHED="hlsLiveBackBufferReached",t.BACK_BUFFER_REACHED="hlsBackBufferReached",t}({}),L=function(t){return t.NETWORK_ERROR="networkError",t.MEDIA_ERROR="mediaError",t.KEY_SYSTEM_ERROR="keySystemError",t.MUX_ERROR="muxError",t.OTHER_ERROR="otherError",t}({}),R=function(t){return t.KEY_SYSTEM_NO_KEYS="keySystemNoKeys",t.KEY_SYSTEM_NO_ACCESS="keySystemNoAccess",t.KEY_SYSTEM_NO_SESSION="keySystemNoSession",t.KEY_SYSTEM_NO_CONFIGURED_LICENSE="keySystemNoConfiguredLicense",t.KEY_SYSTEM_LICENSE_REQUEST_FAILED="keySystemLicenseRequestFailed",t.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED="keySystemServerCertificateRequestFailed",t.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED="keySystemServerCertificateUpdateFailed",t.KEY_SYSTEM_SESSION_UPDATE_FAILED="keySystemSessionUpdateFailed",t.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED="keySystemStatusOutputRestricted",t.KEY_SYSTEM_STATUS_INTERNAL_ERROR="keySystemStatusInternalError",t.MANIFEST_LOAD_ERROR="manifestLoadError",t.MANIFEST_LOAD_TIMEOUT="manifestLoadTimeOut",t.MANIFEST_PARSING_ERROR="manifestParsingError",t.MANIFEST_INCOMPATIBLE_CODECS_ERROR="manifestIncompatibleCodecsError",t.LEVEL_EMPTY_ERROR="levelEmptyError",t.LEVEL_LOAD_ERROR="levelLoadError",t.LEVEL_LOAD_TIMEOUT="levelLoadTimeOut",t.LEVEL_PARSING_ERROR="levelParsingError",t.LEVEL_SWITCH_ERROR="levelSwitchError",t.AUDIO_TRACK_LOAD_ERROR="audioTrackLoadError",t.AUDIO_TRACK_LOAD_TIMEOUT="audioTrackLoadTimeOut",t.SUBTITLE_LOAD_ERROR="subtitleTrackLoadError",t.SUBTITLE_TRACK_LOAD_TIMEOUT="subtitleTrackLoadTimeOut",t.FRAG_LOAD_ERROR="fragLoadError",t.FRAG_LOAD_TIMEOUT="fragLoadTimeOut",t.FRAG_DECRYPT_ERROR="fragDecryptError",t.FRAG_PARSING_ERROR="fragParsingError",t.FRAG_GAP="fragGap",t.REMUX_ALLOC_ERROR="remuxAllocError",t.KEY_LOAD_ERROR="keyLoadError",t.KEY_LOAD_TIMEOUT="keyLoadTimeOut",t.BUFFER_ADD_CODEC_ERROR="bufferAddCodecError",t.BUFFER_INCOMPATIBLE_CODECS_ERROR="bufferIncompatibleCodecsError",t.BUFFER_APPEND_ERROR="bufferAppendError",t.BUFFER_APPENDING_ERROR="bufferAppendingError",t.BUFFER_STALLED_ERROR="bufferStalledError",t.BUFFER_FULL_ERROR="bufferFullError",t.BUFFER_SEEK_OVER_HOLE="bufferSeekOverHole",t.BUFFER_NUDGE_ON_STALL="bufferNudgeOnStall",t.INTERNAL_EXCEPTION="internalException",t.INTERNAL_ABORTED="aborted",t.UNKNOWN="unknown",t}({}),A=function(){},k={trace:A,debug:A,log:A,warn:A,info:A,error:A},b=k;function D(t){var e=self.console[t];return e?e.bind(self.console,"["+t+"] >"):A}function I(t,e){if(self.console&&!0===t||"object"==typeof t){!function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];r.forEach((function(e){b[e]=t[e]?t[e].bind(t):D(e)}))}(t,"debug","log","info","warn","error");try{b.log('Debug logs enabled for "'+e+'" in hls.js version 1.4.10')}catch(t){b=k}}else b=k}var w=b,C=/^(\d+)x(\d+)$/,_=/(.+?)=(".*?"|.*?)(?:,|$)/g,P=function(){function t(e){for(var r in"string"==typeof e&&(e=t.parseAttrList(e)),e)e.hasOwnProperty(r)&&("X-"===r.substring(0,2)&&(this.clientAttrs=this.clientAttrs||[],this.clientAttrs.push(r)),this[r]=e[r])}var e=t.prototype;return e.decimalInteger=function(t){var e=parseInt(this[t],10);return e>Number.MAX_SAFE_INTEGER?1/0:e},e.hexadecimalInteger=function(t){if(this[t]){var e=(this[t]||"0x").slice(2);e=(1&e.length?"0":"")+e;for(var r=new Uint8Array(e.length/2),i=0;i<e.length/2;i++)r[i]=parseInt(e.slice(2*i,2*i+2),16);return r}return null},e.hexadecimalIntegerAsNumber=function(t){var e=parseInt(this[t],16);return e>Number.MAX_SAFE_INTEGER?1/0:e},e.decimalFloatingPoint=function(t){return parseFloat(this[t])},e.optionalFloat=function(t,e){var r=this[t];return r?parseFloat(r):e},e.enumeratedString=function(t){return this[t]},e.bool=function(t){return"YES"===this[t]},e.decimalResolution=function(t){var e=C.exec(this[t]);if(null!==e)return{width:parseInt(e[1],10),height:parseInt(e[2],10)}},t.parseAttrList=function(t){var e,r={};for(_.lastIndex=0;null!==(e=_.exec(t));){var i=e[2];0===i.indexOf('"')&&i.lastIndexOf('"')===i.length-1&&(i=i.slice(1,-1)),r[e[1].trim()]=i}return r},t}();function x(t){return"SCTE35-OUT"===t||"SCTE35-IN"===t}var F=function(){function t(t,e){if(this.attr=void 0,this._startDate=void 0,this._endDate=void 0,this._badValueForSameId=void 0,e){var r=e.attr;for(var i in r)if(Object.prototype.hasOwnProperty.call(t,i)&&t[i]!==r[i]){w.warn('DATERANGE tag attribute: "'+i+'" does not match for tags with ID: "'+t.ID+'"'),this._badValueForSameId=i;break}t=o(new P({}),r,t)}if(this.attr=t,this._startDate=new Date(t["START-DATE"]),"END-DATE"in this.attr){var n=new Date(this.attr["END-DATE"]);E(n.getTime())&&(this._endDate=n)}}return a(t,[{key:"id",get:function(){return this.attr.ID}},{key:"class",get:function(){return this.attr.CLASS}},{key:"startDate",get:function(){return this._startDate}},{key:"endDate",get:function(){if(this._endDate)return this._endDate;var t=this.duration;return null!==t?new Date(this._startDate.getTime()+1e3*t):null}},{key:"duration",get:function(){if("DURATION"in this.attr){var t=this.attr.decimalFloatingPoint("DURATION");if(E(t))return t}else if(this._endDate)return(this._endDate.getTime()-this._startDate.getTime())/1e3;return null}},{key:"plannedDuration",get:function(){return"PLANNED-DURATION"in this.attr?this.attr.decimalFloatingPoint("PLANNED-DURATION"):null}},{key:"endOnNext",get:function(){return this.attr.bool("END-ON-NEXT")}},{key:"isValid",get:function(){return!!this.id&&!this._badValueForSameId&&E(this.startDate.getTime())&&(null===this.duration||this.duration>=0)&&(!this.endOnNext||!!this.class)}}]),t}(),M=function(){this.aborted=!1,this.loaded=0,this.retry=0,this.total=0,this.chunkCount=0,this.bwEstimate=0,this.loading={start:0,first:0,end:0},this.parsing={start:0,end:0},this.buffering={start:0,first:0,end:0}},O="audio",N="video",U="audiovideo",B=function(){function t(t){var e;this._byteRange=null,this._url=null,this.baseurl=void 0,this.relurl=void 0,this.elementaryStreams=((e={})[O]=null,e[N]=null,e[U]=null,e),this.baseurl=t}return t.prototype.setByteRange=function(t,e){var r=t.split("@",2),i=[];1===r.length?i[0]=e?e.byteRangeEndOffset:0:i[0]=parseInt(r[1]),i[1]=parseInt(r[0])+i[0],this._byteRange=i},a(t,[{key:"byteRange",get:function(){return this._byteRange?this._byteRange:[]}},{key:"byteRangeStartOffset",get:function(){return this.byteRange[0]}},{key:"byteRangeEndOffset",get:function(){return this.byteRange[1]}},{key:"url",get:function(){return!this._url&&this.baseurl&&this.relurl&&(this._url=T.buildAbsoluteURL(this.baseurl,this.relurl,{alwaysNormalize:!0})),this._url||""},set:function(t){this._url=t}}]),t}(),G=function(t){function e(e,r){var i;return(i=t.call(this,r)||this)._decryptdata=null,i.rawProgramDateTime=null,i.programDateTime=null,i.tagList=[],i.duration=0,i.sn=0,i.levelkeys=void 0,i.type=void 0,i.loader=null,i.keyLoader=null,i.level=-1,i.cc=0,i.startPTS=void 0,i.endPTS=void 0,i.startDTS=void 0,i.endDTS=void 0,i.start=0,i.deltaPTS=void 0,i.maxStartPTS=void 0,i.minEndPTS=void 0,i.stats=new M,i.urlId=0,i.data=void 0,i.bitrateTest=!1,i.title=null,i.initSegment=null,i.endList=void 0,i.gap=void 0,i.type=e,i}l(e,t);var r=e.prototype;return r.setKeyFormat=function(t){if(this.levelkeys){var e=this.levelkeys[t];e&&!this._decryptdata&&(this._decryptdata=e.getDecryptData(this.sn))}},r.abortRequests=function(){var t,e;null==(t=this.loader)||t.abort(),null==(e=this.keyLoader)||e.abort()},r.setElementaryStreamInfo=function(t,e,r,i,n,a){void 0===a&&(a=!1);var s=this.elementaryStreams,o=s[t];o?(o.startPTS=Math.min(o.startPTS,e),o.endPTS=Math.max(o.endPTS,r),o.startDTS=Math.min(o.startDTS,i),o.endDTS=Math.max(o.endDTS,n)):s[t]={startPTS:e,endPTS:r,startDTS:i,endDTS:n,partial:a}},r.clearElementaryStreamInfo=function(){var t=this.elementaryStreams;t[O]=null,t[N]=null,t[U]=null},a(e,[{key:"decryptdata",get:function(){if(!this.levelkeys&&!this._decryptdata)return null;if(!this._decryptdata&&this.levelkeys&&!this.levelkeys.NONE){var t=this.levelkeys.identity;if(t)this._decryptdata=t.getDecryptData(this.sn);else{var e=Object.keys(this.levelkeys);if(1===e.length)return this._decryptdata=this.levelkeys[e[0]].getDecryptData(this.sn)}}return this._decryptdata}},{key:"end",get:function(){return this.start+this.duration}},{key:"endProgramDateTime",get:function(){if(null===this.programDateTime)return null;if(!E(this.programDateTime))return null;var t=E(this.duration)?this.duration:0;return this.programDateTime+1e3*t}},{key:"encrypted",get:function(){var t;if(null!=(t=this._decryptdata)&&t.encrypted)return!0;if(this.levelkeys){var e=Object.keys(this.levelkeys),r=e.length;if(r>1||1===r&&this.levelkeys[e[0]].encrypted)return!0}return!1}}]),e}(B),K=function(t){function e(e,r,i,n,a){var s;(s=t.call(this,i)||this).fragOffset=0,s.duration=0,s.gap=!1,s.independent=!1,s.relurl=void 0,s.fragment=void 0,s.index=void 0,s.stats=new M,s.duration=e.decimalFloatingPoint("DURATION"),s.gap=e.bool("GAP"),s.independent=e.bool("INDEPENDENT"),s.relurl=e.enumeratedString("URI"),s.fragment=r,s.index=n;var o=e.enumeratedString("BYTERANGE");return o&&s.setByteRange(o,a),a&&(s.fragOffset=a.fragOffset+a.duration),s}return l(e,t),a(e,[{key:"start",get:function(){return this.fragment.start+this.fragOffset}},{key:"end",get:function(){return this.start+this.duration}},{key:"loaded",get:function(){var t=this.elementaryStreams;return!!(t.audio||t.video||t.audiovideo)}}]),e}(B),H=function(){function t(t){this.PTSKnown=!1,this.alignedSliding=!1,this.averagetargetduration=void 0,this.endCC=0,this.endSN=0,this.fragments=void 0,this.fragmentHint=void 0,this.partList=null,this.dateRanges=void 0,this.live=!0,this.ageHeader=0,this.advancedDateTime=void 0,this.updated=!0,this.advanced=!0,this.availabilityDelay=void 0,this.misses=0,this.startCC=0,this.startSN=0,this.startTimeOffset=null,this.targetduration=0,this.totalduration=0,this.type=null,this.url=void 0,this.m3u8="",this.version=null,this.canBlockReload=!1,this.canSkipUntil=0,this.canSkipDateRanges=!1,this.skippedSegments=0,this.recentlyRemovedDateranges=void 0,this.partHoldBack=0,this.holdBack=0,this.partTarget=0,this.preloadHint=void 0,this.renditionReports=void 0,this.tuneInGoal=0,this.deltaUpdateFailed=void 0,this.driftStartTime=0,this.driftEndTime=0,this.driftStart=0,this.driftEnd=0,this.encryptedFragments=void 0,this.playlistParsingError=null,this.variableList=null,this.hasVariableRefs=!1,this.fragments=[],this.encryptedFragments=[],this.dateRanges={},this.url=t}return t.prototype.reloaded=function(t){if(!t)return this.advanced=!0,void(this.updated=!0);var e=this.lastPartSn-t.lastPartSn,r=this.lastPartIndex-t.lastPartIndex;this.updated=this.endSN!==t.endSN||!!r||!!e,this.advanced=this.endSN>t.endSN||e>0||0===e&&r>0,this.updated||this.advanced?this.misses=Math.floor(.6*t.misses):this.misses=t.misses+1,this.availabilityDelay=t.availabilityDelay},a(t,[{key:"hasProgramDateTime",get:function(){return!!this.fragments.length&&E(this.fragments[this.fragments.length-1].programDateTime)}},{key:"levelTargetDuration",get:function(){return this.averagetargetduration||this.targetduration||10}},{key:"drift",get:function(){var t=this.driftEndTime-this.driftStartTime;return t>0?1e3*(this.driftEnd-this.driftStart)/t:1}},{key:"edge",get:function(){return this.partEnd||this.fragmentEnd}},{key:"partEnd",get:function(){var t;return null!=(t=this.partList)&&t.length?this.partList[this.partList.length-1].end:this.fragmentEnd}},{key:"fragmentEnd",get:function(){var t;return null!=(t=this.fragments)&&t.length?this.fragments[this.fragments.length-1].end:0}},{key:"age",get:function(){return this.advancedDateTime?Math.max(Date.now()-this.advancedDateTime,0)/1e3:0}},{key:"lastPartIndex",get:function(){var t;return null!=(t=this.partList)&&t.length?this.partList[this.partList.length-1].index:-1}},{key:"lastPartSn",get:function(){var t;return null!=(t=this.partList)&&t.length?this.partList[this.partList.length-1].fragment.sn:this.endSN}}]),t}();function V(t){return Uint8Array.from(atob(t),(function(t){return t.charCodeAt(0)}))}function Y(t){var e,r,i=t.split(":"),n=null;if("data"===i[0]&&2===i.length){var a=i[1].split(";"),s=a[a.length-1].split(",");if(2===s.length){var o="base64"===s[0],l=s[1];o?(a.splice(-1,1),n=V(l)):(e=W(l).subarray(0,16),(r=new Uint8Array(16)).set(e,16-e.length),n=r)}}return n}function W(t){return Uint8Array.from(unescape(encodeURIComponent(t)),(function(t){return t.charCodeAt(0)}))}var j={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.fps",PLAYREADY:"com.microsoft.playready",WIDEVINE:"com.widevine.alpha"},q="org.w3.clearkey",X="com.apple.streamingkeydelivery",z="com.microsoft.playready",Q="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed";function $(t){switch(t){case X:return j.FAIRPLAY;case z:return j.PLAYREADY;case Q:return j.WIDEVINE;case q:return j.CLEARKEY}}var J="edef8ba979d64acea3c827dcd51d21ed";function Z(t){switch(t){case j.FAIRPLAY:return X;case j.PLAYREADY:return z;case j.WIDEVINE:return Q;case j.CLEARKEY:return q}}function tt(t){var e=t.drmSystems,r=t.widevineLicenseUrl,i=e?[j.FAIRPLAY,j.WIDEVINE,j.PLAYREADY,j.CLEARKEY].filter((function(t){return!!e[t]})):[];return!i[j.WIDEVINE]&&r&&i.push(j.WIDEVINE),i}var et="undefined"!=typeof self&&self.navigator&&self.navigator.requestMediaKeySystemAccess?self.navigator.requestMediaKeySystemAccess.bind(self.navigator):null;function rt(t,e,r){return Uint8Array.prototype.slice?t.slice(e,r):new Uint8Array(Array.prototype.slice.call(t,e,r))}var it,nt=function(t,e){return e+10<=t.length&&73===t[e]&&68===t[e+1]&&51===t[e+2]&&t[e+3]<255&&t[e+4]<255&&t[e+6]<128&&t[e+7]<128&&t[e+8]<128&&t[e+9]<128},at=function(t,e){return e+10<=t.length&&51===t[e]&&68===t[e+1]&&73===t[e+2]&&t[e+3]<255&&t[e+4]<255&&t[e+6]<128&&t[e+7]<128&&t[e+8]<128&&t[e+9]<128},st=function(t,e){for(var r=e,i=0;nt(t,e);)i+=10,i+=ot(t,e+6),at(t,e+10)&&(i+=10),e+=i;if(i>0)return t.subarray(r,r+i)},ot=function(t,e){var r=0;return r=(127&t[e])<<21,r|=(127&t[e+1])<<14,r|=(127&t[e+2])<<7,r|=127&t[e+3]},lt=function(t,e){return nt(t,e)&&ot(t,e+6)+10<=t.length-e},ut=function(t){return t&&"PRIV"===t.key&&"com.apple.streaming.transportStreamTimestamp"===t.info},ht=function(t){var e=String.fromCharCode(t[0],t[1],t[2],t[3]),r=ot(t,4);return{type:e,size:r,data:t.subarray(10,10+r)}},dt=function(t){for(var e=0,r=[];nt(t,e);){for(var i=ot(t,e+6),n=(e+=10)+i;e+8<n;){var a=ht(t.subarray(e)),s=ct(a);s&&r.push(s),e+=a.size+10}at(t,e)&&(e+=10)}return r},ct=function(t){return"PRIV"===t.type?ft(t):"W"===t.type[0]?vt(t):gt(t)},ft=function(t){if(!(t.size<2)){var e=pt(t.data,!0),r=new Uint8Array(t.data.subarray(e.length+1));return{key:t.type,info:e,data:r.buffer}}},gt=function(t){if(!(t.size<2)){if("TXXX"===t.type){var e=1,r=pt(t.data.subarray(e),!0);e+=r.length+1;var i=pt(t.data.subarray(e));return{key:t.type,info:r,data:i}}var n=pt(t.data.subarray(1));return{key:t.type,data:n}}},vt=function(t){if("WXXX"===t.type){if(t.size<2)return;var e=1,r=pt(t.data.subarray(e),!0);e+=r.length+1;var i=pt(t.data.subarray(e));return{key:t.type,info:r,data:i}}var n=pt(t.data);return{key:t.type,data:n}},mt=function(t){if(8===t.data.byteLength){var e=new Uint8Array(t.data),r=1&e[3],i=(e[4]<<23)+(e[5]<<15)+(e[6]<<7)+e[7];return i/=45,r&&(i+=47721858.84),Math.round(i)}},pt=function(t,e){void 0===e&&(e=!1);var r=yt();if(r){var i=r.decode(t);if(e){var n=i.indexOf("\0");return-1!==n?i.substring(0,n):i}return i.replace(/\0/g,"")}for(var a,s,o,l=t.length,u="",h=0;h<l;){if(0===(a=t[h++])&&e)return u;if(0!==a&&3!==a)switch(a>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:u+=String.fromCharCode(a);break;case 12:case 13:s=t[h++],u+=String.fromCharCode((31&a)<<6|63&s);break;case 14:s=t[h++],o=t[h++],u+=String.fromCharCode((15&a)<<12|(63&s)<<6|(63&o)<<0)}}return u};function yt(){return it||void 0===self.TextDecoder||(it=new self.TextDecoder("utf-8")),it}var Tt=function(t){for(var e="",r=0;r<t.length;r++){var i=t[r].toString(16);i.length<2&&(i="0"+i),e+=i}return e},Et=Math.pow(2,32)-1,St=[].push,Lt={video:1,audio:2,id3:3,text:4};function Rt(t){return String.fromCharCode.apply(null,t)}function At(t,e){var r=t[e]<<8|t[e+1];return r<0?65536+r:r}function kt(t,e){var r=bt(t,e);return r<0?4294967296+r:r}function bt(t,e){return t[e]<<24|t[e+1]<<16|t[e+2]<<8|t[e+3]}function Dt(t,e,r){t[e]=r>>24,t[e+1]=r>>16&255,t[e+2]=r>>8&255,t[e+3]=255&r}function It(t,e){var r=[];if(!e.length)return r;for(var i=t.byteLength,n=0;n<i;){var a=kt(t,n),s=a>1?n+a:i;if(Rt(t.subarray(n+4,n+8))===e[0])if(1===e.length)r.push(t.subarray(n+8,s));else{var o=It(t.subarray(n+8,s),e.slice(1));o.length&&St.apply(r,o)}n=s}return r}function wt(t){var e=[],r=t[0],i=8,n=kt(t,i);i+=4,i+=0===r?8:16,i+=2;var a=t.length+0,s=At(t,i);i+=2;for(var o=0;o<s;o++){var l=i,u=kt(t,l);l+=4;var h=2147483647&u;if(1==(2147483648&u)>>>31)return w.warn("SIDX has hierarchical references (not supported)"),null;var d=kt(t,l);l+=4,e.push({referenceSize:h,subsegmentDuration:d,info:{duration:d/n,start:a,end:a+h-1}}),a+=h,i=l+=4}return{earliestPresentationTime:0,timescale:n,version:r,referencesCount:s,references:e}}function Ct(t){for(var e=[],r=It(t,["moov","trak"]),i=0;i<r.length;i++){var n=r[i],a=It(n,["tkhd"])[0];if(a){var s=a[0],o=0===s?12:20,l=kt(a,o),u=It(n,["mdia","mdhd"])[0];if(u){var h=kt(u,o=0===(s=u[0])?12:20),d=It(n,["mdia","hdlr"])[0];if(d){var c=Rt(d.subarray(8,12)),f={soun:O,vide:N}[c];if(f){var g=It(n,["mdia","minf","stbl","stsd"])[0],v=void 0;g&&(v=Rt(g.subarray(12,16))),e[l]={timescale:h,type:f},e[f]={timescale:h,id:l,codec:v}}}}}}return It(t,["moov","mvex","trex"]).forEach((function(t){var r=kt(t,4),i=e[r];i&&(i.default={duration:kt(t,12),flags:kt(t,20)})})),e}function _t(t){var e=It(t,["schm"])[0];if(e){var r=Rt(e.subarray(4,8));if("cbcs"===r||"cenc"===r)return It(t,["schi","tenc"])[0]}return w.error("[eme] missing 'schm' box"),null}function Pt(t){var e=kt(t,0),r=8;1&e&&(r+=4),4&e&&(r+=4);for(var i=0,n=kt(t,4),a=0;a<n;a++)256&e&&(i+=kt(t,r),r+=4),512&e&&(r+=4),1024&e&&(r+=4),2048&e&&(r+=4);return i}function xt(t,e){var r=new Uint8Array(t.length+e.length);return r.set(t),r.set(e,t.length),r}function Ft(t,e){var r=[],i=e.samples,n=e.timescale,a=e.id,s=!1;return It(i,["moof"]).map((function(o){var l=o.byteOffset-8;It(o,["traf"]).map((function(o){var u=It(o,["tfdt"]).map((function(t){var e=t[0],r=kt(t,4);return 1===e&&(r*=Math.pow(2,32),r+=kt(t,8)),r/n}))[0];return void 0!==u&&(t=u),It(o,["tfhd"]).map((function(u){var h=kt(u,4),d=16777215&kt(u,0),c=0,f=0!=(16&d),g=0,v=0!=(32&d),m=8;h===a&&(0!=(1&d)&&(m+=8),0!=(2&d)&&(m+=4),0!=(8&d)&&(c=kt(u,m),m+=4),f&&(g=kt(u,m),m+=4),v&&(m+=4),"video"===e.type&&(s=function(t){if(!t)return!1;var e=t.indexOf("."),r=e<0?t:t.substring(0,e);return"hvc1"===r||"hev1"===r||"dvh1"===r||"dvhe"===r}(e.codec)),It(o,["trun"]).map((function(a){var o=a[0],u=16777215&kt(a,0),h=0!=(1&u),d=0,f=0!=(4&u),v=0!=(256&u),m=0,p=0!=(512&u),y=0,T=0!=(1024&u),E=0!=(2048&u),S=0,L=kt(a,4),R=8;h&&(d=kt(a,R),R+=4),f&&(R+=4);for(var A=d+l,k=0;k<L;k++){if(v?(m=kt(a,R),R+=4):m=c,p?(y=kt(a,R),R+=4):y=g,T&&(R+=4),E&&(S=0===o?kt(a,R):bt(a,R),R+=4),e.type===N)for(var b=0;b<y;){var D=kt(i,A);Mt(s,i[A+=4])&&Ot(i.subarray(A,A+D),s?2:1,t+S/n,r),A+=D,b+=D+4}t+=m/n}})))}))}))})),r}function Mt(t,e){if(t){var r=e>>1&63;return 39===r||40===r}return 6==(31&e)}function Ot(t,e,r,i){var n=Nt(t),a=0;a+=e;for(var s=0,o=0,l=!1,u=0;a<n.length;){s=0;do{if(a>=n.length)break;s+=u=n[a++]}while(255===u);o=0;do{if(a>=n.length)break;o+=u=n[a++]}while(255===u);var h=n.length-a;if(!l&&4===s&&a<n.length){if(l=!0,181===n[a++]){var d=At(n,a);if(a+=2,49===d){var c=kt(n,a);if(a+=4,1195456820===c){var f=n[a++];if(3===f){var g=n[a++],v=64&g,m=v?2+3*(31&g):0,p=new Uint8Array(m);if(v){p[0]=g;for(var y=1;y<m;y++)p[y]=n[a++]}i.push({type:f,payloadType:s,pts:r,bytes:p})}}}}}else if(5===s&&o<h){if(l=!0,o>16){for(var T=[],E=0;E<16;E++){var S=n[a++].toString(16);T.push(1==S.length?"0"+S:S),3!==E&&5!==E&&7!==E&&9!==E||T.push("-")}for(var L=o-16,R=new Uint8Array(L),A=0;A<L;A++)R[A]=n[a++];i.push({payloadType:s,pts:r,uuid:T.join(""),userData:pt(R),userDataBytes:R})}}else if(o<h)a+=o;else if(o>h)break}}function Nt(t){for(var e=t.byteLength,r=[],i=1;i<e-2;)0===t[i]&&0===t[i+1]&&3===t[i+2]?(r.push(i+2),i+=2):i++;if(0===r.length)return t;var n=e-r.length,a=new Uint8Array(n),s=0;for(i=0;i<n;s++,i++)s===r[0]&&(s++,r.shift()),a[i]=t[s];return a}function Ut(t,e,r){if(16!==t.byteLength)throw new RangeError("Invalid system id");var i,n,a;if(e){i=1,n=new Uint8Array(16*e.length);for(var s=0;s<e.length;s++){var o=e[s];if(16!==o.byteLength)throw new RangeError("Invalid key");n.set(o,16*s)}}else i=0,n=new Uint8Array;i>0?(a=new Uint8Array(4),e.length>0&&new DataView(a.buffer).setUint32(0,e.length,!1)):a=new Uint8Array;var l=new Uint8Array(4);return r&&r.byteLength>0&&new DataView(l.buffer).setUint32(0,r.byteLength,!1),function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];for(var n=r.length,a=8,s=n;s--;)a+=r[s].byteLength;var o=new Uint8Array(a);for(o[0]=a>>24&255,o[1]=a>>16&255,o[2]=a>>8&255,o[3]=255&a,o.set(t,4),s=0,a=8;s<n;s++)o.set(r[s],a),a+=r[s].byteLength;return o}([112,115,115,104],new Uint8Array([i,0,0,0]),t,a,n,l,r||new Uint8Array)}var Bt={},Gt=function(){function t(t,e,r,i,n){void 0===i&&(i=[1]),void 0===n&&(n=null),this.uri=void 0,this.method=void 0,this.keyFormat=void 0,this.keyFormatVersions=void 0,this.encrypted=void 0,this.isCommonEncryption=void 0,this.iv=null,this.key=null,this.keyId=null,this.pssh=null,this.method=t,this.uri=e,this.keyFormat=r,this.keyFormatVersions=i,this.iv=n,this.encrypted=!!t&&"NONE"!==t,this.isCommonEncryption=this.encrypted&&"AES-128"!==t}t.clearKeyUriToKeyIdMap=function(){Bt={}};var e=t.prototype;return e.isSupported=function(){if(this.method){if("AES-128"===this.method||"NONE"===this.method)return!0;if("identity"===this.keyFormat)return"SAMPLE-AES"===this.method;switch(this.keyFormat){case X:case Q:case z:case q:return-1!==["ISO-23001-7","SAMPLE-AES","SAMPLE-AES-CENC","SAMPLE-AES-CTR"].indexOf(this.method)}}return!1},e.getDecryptData=function(e){if(!this.encrypted||!this.uri)return null;if("AES-128"===this.method&&this.uri&&!this.iv){"number"!=typeof e&&("AES-128"!==this.method||this.iv||w.warn('missing IV for initialization segment with method="'+this.method+'" - compliance issue'),e=0);var r=function(t){for(var e=new Uint8Array(16),r=12;r<16;r++)e[r]=t>>8*(15-r)&255;return e}(e);return new t(this.method,this.uri,"identity",this.keyFormatVersions,r)}var i=Y(this.uri);if(i)switch(this.keyFormat){case Q:this.pssh=i,i.length>=22&&(this.keyId=i.subarray(i.length-22,i.length-6));break;case z:var n=new Uint8Array([154,4,240,121,152,64,66,134,171,146,230,91,224,136,95,149]);this.pssh=Ut(n,null,i);var a=new Uint16Array(i.buffer,i.byteOffset,i.byteLength/2),s=String.fromCharCode.apply(null,Array.from(a)),o=s.substring(s.indexOf("<"),s.length),l=(new DOMParser).parseFromString(o,"text/xml").getElementsByTagName("KID")[0];if(l){var u=l.childNodes[0]?l.childNodes[0].nodeValue:l.getAttribute("VALUE");if(u){var h=V(u).subarray(0,16);!function(t){var e=function(t,e,r){var i=t[e];t[e]=t[r],t[r]=i};e(t,0,3),e(t,1,2),e(t,4,5),e(t,6,7)}(h),this.keyId=h}}break;default:var d=i.subarray(0,16);if(16!==d.length){var c=new Uint8Array(16);c.set(d,16-d.length),d=c}this.keyId=d}if(!this.keyId||16!==this.keyId.byteLength){var f=Bt[this.uri];if(!f){var g=Object.keys(Bt).length%Number.MAX_SAFE_INTEGER;f=new Uint8Array(16),new DataView(f.buffer,12,4).setUint32(0,g),Bt[this.uri]=f}this.keyId=f}return this},t}(),Kt=/\{\$([a-zA-Z0-9-_]+)\}/g;function Ht(t){return Kt.test(t)}function Vt(t,e,r){if(null!==t.variableList||t.hasVariableRefs)for(var i=r.length;i--;){var n=r[i],a=e[n];a&&(e[n]=Yt(t,a))}}function Yt(t,e){if(null!==t.variableList||t.hasVariableRefs){var r=t.variableList;return e.replace(Kt,(function(e){var i=e.substring(2,e.length-1),n=null==r?void 0:r[i];return void 0===n?(t.playlistParsingError||(t.playlistParsingError=new Error('Missing preceding EXT-X-DEFINE tag for Variable Reference: "'+i+'"')),e):n}))}return e}function Wt(t,e,r){var i,n,a=t.variableList;if(a||(t.variableList=a={}),"QUERYPARAM"in e){i=e.QUERYPARAM;try{var s=new self.URL(r).searchParams;if(!s.has(i))throw new Error('"'+i+'" does not match any query parameter in URI: "'+r+'"');n=s.get(i)}catch(e){t.playlistParsingError||(t.playlistParsingError=new Error("EXT-X-DEFINE QUERYPARAM: "+e.message))}}else i=e.NAME,n=e.VALUE;i in a?t.playlistParsingError||(t.playlistParsingError=new Error('EXT-X-DEFINE duplicate Variable Name declarations: "'+i+'"')):a[i]=n||""}function jt(t,e,r){var i=e.IMPORT;if(r&&i in r){var n=t.variableList;n||(t.variableList=n={}),n[i]=r[i]}else t.playlistParsingError||(t.playlistParsingError=new Error('EXT-X-DEFINE IMPORT attribute not found in Multivariant Playlist: "'+i+'"'))}function qt(){if("undefined"!=typeof self)return self.MediaSource||self.WebKitMediaSource}var Xt={audio:{a3ds:!0,"ac-3":!0,"ac-4":!0,alac:!0,alaw:!0,dra1:!0,"dts+":!0,"dts-":!0,dtsc:!0,dtse:!0,dtsh:!0,"ec-3":!0,enca:!0,g719:!0,g726:!0,m4ae:!0,mha1:!0,mha2:!0,mhm1:!0,mhm2:!0,mlpa:!0,mp4a:!0,"raw ":!0,Opus:!0,opus:!0,samr:!0,sawb:!0,sawp:!0,sevc:!0,sqcp:!0,ssmv:!0,twos:!0,ulaw:!0},video:{avc1:!0,avc2:!0,avc3:!0,avc4:!0,avcp:!0,av01:!0,drac:!0,dva1:!0,dvav:!0,dvh1:!0,dvhe:!0,encv:!0,hev1:!0,hvc1:!0,mjp2:!0,mp4v:!0,mvc1:!0,mvc2:!0,mvc3:!0,mvc4:!0,resv:!0,rv60:!0,s263:!0,svc1:!0,svc2:!0,"vc-1":!0,vp08:!0,vp09:!0},text:{stpp:!0,wvtt:!0}},zt=qt();function Qt(t,e){var r;return null!=(r=null==zt?void 0:zt.isTypeSupported((e||"video")+'/mp4;codecs="'+t+'"'))&&r}var $t=/#EXT-X-STREAM-INF:([^\r\n]*)(?:[\r\n](?:#[^\r\n]*)?)*([^\r\n]+)|#EXT-X-(SESSION-DATA|SESSION-KEY|DEFINE|CONTENT-STEERING|START):([^\r\n]*)[\r\n]+/g,Jt=/#EXT-X-MEDIA:(.*)/g,Zt=/^#EXT(?:INF|-X-TARGETDURATION):/m,te=new RegExp([/#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,/(?!#) *(\S[\S ]*)/.source,/#EXT-X-BYTERANGE:*(.+)/.source,/#EXT-X-PROGRAM-DATE-TIME:(.+)/.source,/#.*/.source].join("|"),"g"),ee=new RegExp([/#(EXTM3U)/.source,/#EXT-X-(DATERANGE|DEFINE|KEY|MAP|PART|PART-INF|PLAYLIST-TYPE|PRELOAD-HINT|RENDITION-REPORT|SERVER-CONTROL|SKIP|START):(.+)/.source,/#EXT-X-(BITRATE|DISCONTINUITY-SEQUENCE|MEDIA-SEQUENCE|TARGETDURATION|VERSION): *(\d+)/.source,/#EXT-X-(DISCONTINUITY|ENDLIST|GAP)/.source,/(#)([^:]*):(.*)/.source,/(#)(.*)(?:.*)\r?\n?/.source].join("|")),re=function(){function t(){}return t.findGroup=function(t,e){for(var r=0;r<t.length;r++){var i=t[r];if(i.id===e)return i}},t.convertAVC1ToAVCOTI=function(t){var e=t.split(".");if(e.length>2){var r=e.shift()+".";return r+=parseInt(e.shift()).toString(16),r+=("000"+parseInt(e.shift()).toString(16)).slice(-4)}return t},t.resolve=function(t,e){return T.buildAbsoluteURL(e,t,{alwaysNormalize:!0})},t.isMediaPlaylist=function(t){return Zt.test(t)},t.parseMasterPlaylist=function(e,r){var i,n={contentSteering:null,levels:[],playlistParsingError:null,sessionData:null,sessionKeys:null,startTimeOffset:null,variableList:null,hasVariableRefs:Ht(e)},a=[];for($t.lastIndex=0;null!=(i=$t.exec(e));)if(i[1]){var s,o=new P(i[1]);Vt(n,o,["CODECS","SUPPLEMENTAL-CODECS","ALLOWED-CPC","PATHWAY-ID","STABLE-VARIANT-ID","AUDIO","VIDEO","SUBTITLES","CLOSED-CAPTIONS","NAME"]);var l=Yt(n,i[2]),u={attrs:o,bitrate:o.decimalInteger("AVERAGE-BANDWIDTH")||o.decimalInteger("BANDWIDTH"),name:o.NAME,url:t.resolve(l,r)},h=o.decimalResolution("RESOLUTION");h&&(u.width=h.width,u.height=h.height),ae((o.CODECS||"").split(/[ ,]+/).filter((function(t){return t})),u),u.videoCodec&&-1!==u.videoCodec.indexOf("avc1")&&(u.videoCodec=t.convertAVC1ToAVCOTI(u.videoCodec)),null!=(s=u.unknownCodecs)&&s.length||a.push(u),n.levels.push(u)}else if(i[3]){var d=i[3],c=i[4];switch(d){case"SESSION-DATA":var f=new P(c);Vt(n,f,["DATA-ID","LANGUAGE","VALUE","URI"]);var g=f["DATA-ID"];g&&(null===n.sessionData&&(n.sessionData={}),n.sessionData[g]=f);break;case"SESSION-KEY":var v=ie(c,r,n);v.encrypted&&v.isSupported()?(null===n.sessionKeys&&(n.sessionKeys=[]),n.sessionKeys.push(v)):w.warn('[Keys] Ignoring invalid EXT-X-SESSION-KEY tag: "'+c+'"');break;case"DEFINE":var m=new P(c);Vt(n,m,["NAME","VALUE","QUERYPARAM"]),Wt(n,m,r);break;case"CONTENT-STEERING":var p=new P(c);Vt(n,p,["SERVER-URI","PATHWAY-ID"]),n.contentSteering={uri:t.resolve(p["SERVER-URI"],r),pathwayId:p["PATHWAY-ID"]||"."};break;case"START":n.startTimeOffset=ne(c)}}var y=a.length>0&&a.length<n.levels.length;return n.levels=y?a:n.levels,0===n.levels.length&&(n.playlistParsingError=new Error("no levels found in manifest")),n},t.parseMasterPlaylistMedia=function(e,r,i){var n,a={},s=i.levels,o={AUDIO:s.map((function(t){return{id:t.attrs.AUDIO,audioCodec:t.audioCodec}})),SUBTITLES:s.map((function(t){return{id:t.attrs.SUBTITLES,textCodec:t.textCodec}})),"CLOSED-CAPTIONS":[]},l=0;for(Jt.lastIndex=0;null!==(n=Jt.exec(e));){var u=new P(n[1]),h=u.TYPE;if(h){var d=o[h],c=a[h]||[];a[h]=c,Vt(i,u,["URI","GROUP-ID","LANGUAGE","ASSOC-LANGUAGE","STABLE-RENDITION-ID","NAME","INSTREAM-ID","CHARACTERISTICS","CHANNELS"]);var f={attrs:u,bitrate:0,id:l++,groupId:u["GROUP-ID"]||"",instreamId:u["INSTREAM-ID"],name:u.NAME||u.LANGUAGE||"",type:h,default:u.bool("DEFAULT"),autoselect:u.bool("AUTOSELECT"),forced:u.bool("FORCED"),lang:u.LANGUAGE,url:u.URI?t.resolve(u.URI,r):""};if(null!=d&&d.length){var g=t.findGroup(d,f.groupId)||d[0];se(f,g,"audioCodec"),se(f,g,"textCodec")}c.push(f)}}return a},t.parseLevelPlaylist=function(t,e,r,i,n,a){var s,l,u,h=new H(e),d=h.fragments,c=null,f=0,g=0,v=0,m=0,p=null,y=new G(i,e),T=-1,S=!1;for(te.lastIndex=0,h.m3u8=t,h.hasVariableRefs=Ht(t);null!==(s=te.exec(t));){S&&(S=!1,(y=new G(i,e)).start=v,y.sn=f,y.cc=m,y.level=r,c&&(y.initSegment=c,y.rawProgramDateTime=c.rawProgramDateTime,c.rawProgramDateTime=null));var L=s[1];if(L){y.duration=parseFloat(L);var R=(" "+s[2]).slice(1);y.title=R||null,y.tagList.push(R?["INF",L,R]:["INF",L])}else if(s[3]){if(E(y.duration)){y.start=v,u&&ue(y,u,h),y.sn=f,y.level=r,y.cc=m,y.urlId=n,d.push(y);var A=(" "+s[3]).slice(1);y.relurl=Yt(h,A),oe(y,p),p=y,v+=y.duration,f++,g=0,S=!0}}else if(s[4]){var k=(" "+s[4]).slice(1);p?y.setByteRange(k,p):y.setByteRange(k)}else if(s[5])y.rawProgramDateTime=(" "+s[5]).slice(1),y.tagList.push(["PROGRAM-DATE-TIME",y.rawProgramDateTime]),-1===T&&(T=d.length);else{if(!(s=s[0].match(ee))){w.warn("No matches on slow regex match for level playlist!");continue}for(l=1;l<s.length&&void 0===s[l];l++);var b=(" "+s[l]).slice(1),D=(" "+s[l+1]).slice(1),I=s[l+2]?(" "+s[l+2]).slice(1):"";switch(b){case"PLAYLIST-TYPE":h.type=D.toUpperCase();break;case"MEDIA-SEQUENCE":f=h.startSN=parseInt(D);break;case"SKIP":var C=new P(D);Vt(h,C,["RECENTLY-REMOVED-DATERANGES"]);var _=C.decimalInteger("SKIPPED-SEGMENTS");if(E(_)){h.skippedSegments=_;for(var x=_;x--;)d.unshift(null);f+=_}var M=C.enumeratedString("RECENTLY-REMOVED-DATERANGES");M&&(h.recentlyRemovedDateranges=M.split("\t"));break;case"TARGETDURATION":h.targetduration=Math.max(parseInt(D),1);break;case"VERSION":h.version=parseInt(D);break;case"EXTM3U":break;case"ENDLIST":h.live=!1;break;case"#":(D||I)&&y.tagList.push(I?[D,I]:[D]);break;case"DISCONTINUITY":m++,y.tagList.push(["DIS"]);break;case"GAP":y.gap=!0,y.tagList.push([b]);break;case"BITRATE":y.tagList.push([b,D]);break;case"DATERANGE":var O=new P(D);Vt(h,O,["ID","CLASS","START-DATE","END-DATE","SCTE35-CMD","SCTE35-OUT","SCTE35-IN"]),Vt(h,O,O.clientAttrs);var N=new F(O,h.dateRanges[O.ID]);N.isValid||h.skippedSegments?h.dateRanges[N.id]=N:w.warn('Ignoring invalid DATERANGE tag: "'+D+'"'),y.tagList.push(["EXT-X-DATERANGE",D]);break;case"DEFINE":var U=new P(D);Vt(h,U,["NAME","VALUE","IMPORT","QUERYPARAM"]),"IMPORT"in U?jt(h,U,a):Wt(h,U,e);break;case"DISCONTINUITY-SEQUENCE":m=parseInt(D);break;case"KEY":var B=ie(D,e,h);if(B.isSupported()){if("NONE"===B.method){u=void 0;break}u||(u={}),u[B.keyFormat]&&(u=o({},u)),u[B.keyFormat]=B}else w.warn('[Keys] Ignoring invalid EXT-X-KEY tag: "'+D+'"');break;case"START":h.startTimeOffset=ne(D);break;case"MAP":var V=new P(D);if(Vt(h,V,["BYTERANGE","URI"]),y.duration){var Y=new G(i,e);le(Y,V,r,u),c=Y,y.initSegment=c,c.rawProgramDateTime&&!y.rawProgramDateTime&&(y.rawProgramDateTime=c.rawProgramDateTime)}else le(y,V,r,u),c=y,S=!0;break;case"SERVER-CONTROL":var W=new P(D);h.canBlockReload=W.bool("CAN-BLOCK-RELOAD"),h.canSkipUntil=W.optionalFloat("CAN-SKIP-UNTIL",0),h.canSkipDateRanges=h.canSkipUntil>0&&W.bool("CAN-SKIP-DATERANGES"),h.partHoldBack=W.optionalFloat("PART-HOLD-BACK",0),h.holdBack=W.optionalFloat("HOLD-BACK",0);break;case"PART-INF":var j=new P(D);h.partTarget=j.decimalFloatingPoint("PART-TARGET");break;case"PART":var q=h.partList;q||(q=h.partList=[]);var X=g>0?q[q.length-1]:void 0,z=g++,Q=new P(D);Vt(h,Q,["BYTERANGE","URI"]);var $=new K(Q,y,e,z,X);q.push($),y.duration+=$.duration;break;case"PRELOAD-HINT":var J=new P(D);Vt(h,J,["URI"]),h.preloadHint=J;break;case"RENDITION-REPORT":var Z=new P(D);Vt(h,Z,["URI"]),h.renditionReports=h.renditionReports||[],h.renditionReports.push(Z);break;default:w.warn("line parsed but not handled: "+s)}}}p&&!p.relurl?(d.pop(),v-=p.duration,h.partList&&(h.fragmentHint=p)):h.partList&&(oe(y,p),y.cc=m,h.fragmentHint=y,u&&ue(y,u,h));var tt=d.length,et=d[0],rt=d[tt-1];if((v+=h.skippedSegments*h.targetduration)>0&&tt&&rt){h.averagetargetduration=v/tt;var it=rt.sn;h.endSN="initSegment"!==it?it:0,h.live||(rt.endList=!0),et&&(h.startCC=et.cc)}else h.endSN=0,h.startCC=0;return h.fragmentHint&&(v+=h.fragmentHint.duration),h.totalduration=v,h.endCC=m,T>0&&function(t,e){for(var r=t[e],i=e;i--;){var n=t[i];if(!n)return;n.programDateTime=r.programDateTime-1e3*n.duration,r=n}}(d,T),h},t}();function ie(t,e,r){var i,n,a=new P(t);Vt(r,a,["KEYFORMAT","KEYFORMATVERSIONS","URI","IV","URI"]);var s=null!=(i=a.METHOD)?i:"",o=a.URI,l=a.hexadecimalInteger("IV"),u=a.KEYFORMATVERSIONS,h=null!=(n=a.KEYFORMAT)?n:"identity";o&&a.IV&&!l&&w.error("Invalid IV: "+a.IV);var d=o?re.resolve(o,e):"",c=(u||"1").split("/").map(Number).filter(Number.isFinite);return new Gt(s,d,h,c,l)}function ne(t){var e=new P(t).decimalFloatingPoint("TIME-OFFSET");return E(e)?e:null}function ae(t,e){["video","audio","text"].forEach((function(r){var i=t.filter((function(t){return function(t,e){var r=Xt[e];return!!r&&!0===r[t.slice(0,4)]}(t,r)}));if(i.length){var n=i.filter((function(t){return 0===t.lastIndexOf("avc1",0)||0===t.lastIndexOf("mp4a",0)}));e[r+"Codec"]=n.length>0?n[0]:i[0],t=t.filter((function(t){return-1===i.indexOf(t)}))}})),e.unknownCodecs=t}function se(t,e,r){var i=e[r];i&&(t[r]=i)}function oe(t,e){t.rawProgramDateTime?t.programDateTime=Date.parse(t.rawProgramDateTime):null!=e&&e.programDateTime&&(t.programDateTime=e.endProgramDateTime),E(t.programDateTime)||(t.programDateTime=null,t.rawProgramDateTime=null)}function le(t,e,r,i){t.relurl=e.URI,e.BYTERANGE&&t.setByteRange(e.BYTERANGE),t.level=r,t.sn="initSegment",i&&(t.levelkeys=i),t.initSegment=null}function ue(t,e,r){t.levelkeys=e;var i=r.encryptedFragments;i.length&&i[i.length-1].levelkeys===e||!Object.keys(e).some((function(t){return e[t].isCommonEncryption}))||i.push(t)}var he="manifest",de="level",ce="audioTrack",fe="subtitleTrack",ge="main",ve="audio",me="subtitle";function pe(t){switch(t.type){case ce:return ve;case fe:return me;default:return ge}}function ye(t,e){var r=t.url;return void 0!==r&&0!==r.indexOf("data:")||(r=e.url),r}var Te=function(){function t(t){this.hls=void 0,this.loaders=Object.create(null),this.variableList=null,this.hls=t,this.registerListeners()}var e=t.prototype;return e.startLoad=function(t){},e.stopLoad=function(){this.destroyInternalLoaders()},e.registerListeners=function(){var t=this.hls;t.on(S.MANIFEST_LOADING,this.onManifestLoading,this),t.on(S.LEVEL_LOADING,this.onLevelLoading,this),t.on(S.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.on(S.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this)},e.unregisterListeners=function(){var t=this.hls;t.off(S.MANIFEST_LOADING,this.onManifestLoading,this),t.off(S.LEVEL_LOADING,this.onLevelLoading,this),t.off(S.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.off(S.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this)},e.createInternalLoader=function(t){var e=this.hls.config,r=e.pLoader,i=e.loader,n=new(r||i)(e);return this.loaders[t.type]=n,n},e.getInternalLoader=function(t){return this.loaders[t.type]},e.resetInternalLoader=function(t){this.loaders[t]&&delete this.loaders[t]},e.destroyInternalLoaders=function(){for(var t in this.loaders){var e=this.loaders[t];e&&e.destroy(),this.resetInternalLoader(t)}},e.destroy=function(){this.variableList=null,this.unregisterListeners(),this.destroyInternalLoaders()},e.onManifestLoading=function(t,e){var r=e.url;this.variableList=null,this.load({id:null,level:0,responseType:"text",type:he,url:r,deliveryDirectives:null})},e.onLevelLoading=function(t,e){var r=e.id,i=e.level,n=e.url,a=e.deliveryDirectives;this.load({id:r,level:i,responseType:"text",type:de,url:n,deliveryDirectives:a})},e.onAudioTrackLoading=function(t,e){var r=e.id,i=e.groupId,n=e.url,a=e.deliveryDirectives;this.load({id:r,groupId:i,level:null,responseType:"text",type:ce,url:n,deliveryDirectives:a})},e.onSubtitleTrackLoading=function(t,e){var r=e.id,i=e.groupId,n=e.url,a=e.deliveryDirectives;this.load({id:r,groupId:i,level:null,responseType:"text",type:fe,url:n,deliveryDirectives:a})},e.load=function(t){var e,r,i,n=this,a=this.hls.config,s=this.getInternalLoader(t);if(s){var l=s.context;if(l&&l.url===t.url)return void w.trace("[playlist-loader]: playlist request ongoing");w.log("[playlist-loader]: aborting previous loader for type: "+t.type),s.abort()}if(r=t.type===he?a.manifestLoadPolicy.default:o({},a.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),s=this.createInternalLoader(t),null!=(e=t.deliveryDirectives)&&e.part&&(t.type===de&&null!==t.level?i=this.hls.levels[t.level].details:t.type===ce&&null!==t.id?i=this.hls.audioTracks[t.id].details:t.type===fe&&null!==t.id&&(i=this.hls.subtitleTracks[t.id].details),i)){var u=i.partTarget,h=i.targetduration;if(u&&h){var d=1e3*Math.max(3*u,.8*h);r=o({},r,{maxTimeToFirstByteMs:Math.min(d,r.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(d,r.maxTimeToFirstByteMs)})}}var c=r.errorRetry||r.timeoutRetry||{},f={loadPolicy:r,timeout:r.maxLoadTimeMs,maxRetry:c.maxNumRetry||0,retryDelay:c.retryDelayMs||0,maxRetryDelay:c.maxRetryDelayMs||0},g={onSuccess:function(t,e,r,i){var a=n.getInternalLoader(r);n.resetInternalLoader(r.type);var s=t.data;0===s.indexOf("#EXTM3U")?(e.parsing.start=performance.now(),re.isMediaPlaylist(s)?n.handleTrackOrLevelPlaylist(t,e,r,i||null,a):n.handleMasterPlaylist(t,e,r,i)):n.handleManifestParsingError(t,r,new Error("no EXTM3U delimiter"),i||null,e)},onError:function(t,e,r,i){n.handleNetworkError(e,r,!1,t,i)},onTimeout:function(t,e,r){n.handleNetworkError(e,r,!0,void 0,t)}};s.load(t,f,g)},e.handleMasterPlaylist=function(t,e,r,i){var n=this.hls,a=t.data,s=ye(t,r),o=re.parseMasterPlaylist(a,s);if(o.playlistParsingError)this.handleManifestParsingError(t,r,o.playlistParsingError,i,e);else{var l=o.contentSteering,u=o.levels,h=o.sessionData,d=o.sessionKeys,c=o.startTimeOffset,f=o.variableList;this.variableList=f;var g=re.parseMasterPlaylistMedia(a,s,o),v=g.AUDIO,m=void 0===v?[]:v,p=g.SUBTITLES,y=g["CLOSED-CAPTIONS"];m.length&&(m.some((function(t){return!t.url}))||!u[0].audioCodec||u[0].attrs.AUDIO||(w.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),m.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new P({}),bitrate:0,url:""}))),n.trigger(S.MANIFEST_LOADED,{levels:u,audioTracks:m,subtitles:p,captions:y,contentSteering:l,url:s,stats:e,networkDetails:i,sessionData:h,sessionKeys:d,startTimeOffset:c,variableList:f})}},e.handleTrackOrLevelPlaylist=function(t,e,r,i,n){var a=this.hls,s=r.id,o=r.level,l=r.type,u=ye(t,r),h=E(s)?s:0,d=E(o)?o:h,c=pe(r),f=re.parseLevelPlaylist(t.data,u,d,c,h,this.variableList);if(l===he){var g={attrs:new P({}),bitrate:0,details:f,name:"",url:u};a.trigger(S.MANIFEST_LOADED,{levels:[g],audioTracks:[],url:u,stats:e,networkDetails:i,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}e.parsing.end=performance.now(),r.levelDetails=f,this.handlePlaylistLoaded(f,t,e,r,i,n)},e.handleManifestParsingError=function(t,e,r,i,n){this.hls.trigger(S.ERROR,{type:L.NETWORK_ERROR,details:R.MANIFEST_PARSING_ERROR,fatal:e.type===he,url:t.url,err:r,error:r,reason:r.message,response:t,context:e,networkDetails:i,stats:n})},e.handleNetworkError=function(t,e,r,n,a){void 0===r&&(r=!1);var s="A network "+(r?"timeout":"error"+(n?" (status "+n.code+")":""))+" occurred while loading "+t.type;t.type===de?s+=": "+t.level+" id: "+t.id:t.type!==ce&&t.type!==fe||(s+=" id: "+t.id+' group-id: "'+t.groupId+'"');var o=new Error(s);w.warn("[playlist-loader]: "+s);var l=R.UNKNOWN,u=!1,h=this.getInternalLoader(t);switch(t.type){case he:l=r?R.MANIFEST_LOAD_TIMEOUT:R.MANIFEST_LOAD_ERROR,u=!0;break;case de:l=r?R.LEVEL_LOAD_TIMEOUT:R.LEVEL_LOAD_ERROR,u=!1;break;case ce:l=r?R.AUDIO_TRACK_LOAD_TIMEOUT:R.AUDIO_TRACK_LOAD_ERROR,u=!1;break;case fe:l=r?R.SUBTITLE_TRACK_LOAD_TIMEOUT:R.SUBTITLE_LOAD_ERROR,u=!1}h&&this.resetInternalLoader(t.type);var d={type:L.NETWORK_ERROR,details:l,fatal:u,url:t.url,loader:h,context:t,error:o,networkDetails:e,stats:a};if(n){var c=(null==e?void 0:e.url)||t.url;d.response=i({url:c,data:void 0},n)}this.hls.trigger(S.ERROR,d)},e.handlePlaylistLoaded=function(t,e,r,i,n,a){var s=this.hls,o=i.type,l=i.level,u=i.id,h=i.groupId,d=i.deliveryDirectives,c=ye(e,i),f=pe(i),g="number"==typeof i.level&&f===ge?l:void 0;if(t.fragments.length){t.targetduration||(t.playlistParsingError=new Error("Missing Target Duration"));var v=t.playlistParsingError;if(v)s.trigger(S.ERROR,{type:L.NETWORK_ERROR,details:R.LEVEL_PARSING_ERROR,fatal:!1,url:c,error:v,reason:v.message,response:e,context:i,level:g,parent:f,networkDetails:n,stats:r});else switch(t.live&&a&&(a.getCacheAge&&(t.ageHeader=a.getCacheAge()||0),a.getCacheAge&&!isNaN(t.ageHeader)||(t.ageHeader=0)),o){case he:case de:s.trigger(S.LEVEL_LOADED,{details:t,level:g||0,id:u||0,stats:r,networkDetails:n,deliveryDirectives:d});break;case ce:s.trigger(S.AUDIO_TRACK_LOADED,{details:t,id:u||0,groupId:h||"",stats:r,networkDetails:n,deliveryDirectives:d});break;case fe:s.trigger(S.SUBTITLE_TRACK_LOADED,{details:t,id:u||0,groupId:h||"",stats:r,networkDetails:n,deliveryDirectives:d})}}else{var m=new Error("No Segments found in Playlist");s.trigger(S.ERROR,{type:L.NETWORK_ERROR,details:R.LEVEL_EMPTY_ERROR,fatal:!1,url:c,error:m,reason:m.message,response:e,context:i,level:g,parent:f,networkDetails:n,stats:r})}},t}();function Ee(t,e){var r;try{r=new Event("addtrack")}catch(t){(r=document.createEvent("Event")).initEvent("addtrack",!1,!1)}r.track=t,e.dispatchEvent(r)}function Se(t,e){var r=t.mode;if("disabled"===r&&(t.mode="hidden"),t.cues&&!t.cues.getCueById(e.id))try{if(t.addCue(e),!t.cues.getCueById(e.id))throw new Error("addCue is failed for: "+e)}catch(r){w.debug("[texttrack-utils]: "+r);try{var i=new self.TextTrackCue(e.startTime,e.endTime,e.text);i.id=e.id,t.addCue(i)}catch(t){w.debug("[texttrack-utils]: Legacy TextTrackCue fallback failed: "+t)}}"disabled"===r&&(t.mode=r)}function Le(t){var e=t.mode;if("disabled"===e&&(t.mode="hidden"),t.cues)for(var r=t.cues.length;r--;)t.removeCue(t.cues[r]);"disabled"===e&&(t.mode=e)}function Re(t,e,r,i){var n=t.mode;if("disabled"===n&&(t.mode="hidden"),t.cues&&t.cues.length>0)for(var a=function(t,e,r){var i=[],n=function(t,e){if(e<t[0].startTime)return 0;var r=t.length-1;if(e>t[r].endTime)return-1;for(var i=0,n=r;i<=n;){var a=Math.floor((n+i)/2);if(e<t[a].startTime)n=a-1;else{if(!(e>t[a].startTime&&i<r))return a;i=a+1}}return t[i].startTime-e<e-t[n].startTime?i:n}(t,e);if(n>-1)for(var a=n,s=t.length;a<s;a++){var o=t[a];if(o.startTime>=e&&o.endTime<=r)i.push(o);else if(o.startTime>r)return i}return i}(t.cues,e,r),s=0;s<a.length;s++)i&&!i(a[s])||t.removeCue(a[s]);"disabled"===n&&(t.mode=n)}var Ae="org.id3",ke="com.apple.quicktime.HLS",be="https://aomedia.org/emsg/ID3";function De(){if("undefined"!=typeof self)return self.WebKitDataCue||self.VTTCue||self.TextTrackCue}var Ie=function(){var t=De();try{new t(0,Number.POSITIVE_INFINITY,"")}catch(t){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY}();function we(t,e){return t.getTime()/1e3-e}var Ce=function(){function t(t){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=t,this._registerListeners()}var e=t.prototype;return e.destroy=function(){this._unregisterListeners(),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=null},e._registerListeners=function(){var t=this.hls;t.on(S.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(S.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(S.MANIFEST_LOADING,this.onManifestLoading,this),t.on(S.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.on(S.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(S.LEVEL_UPDATED,this.onLevelUpdated,this)},e._unregisterListeners=function(){var t=this.hls;t.off(S.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(S.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(S.MANIFEST_LOADING,this.onManifestLoading,this),t.off(S.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.off(S.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(S.LEVEL_UPDATED,this.onLevelUpdated,this)},e.onMediaAttached=function(t,e){this.media=e.media},e.onMediaDetaching=function(){this.id3Track&&(Le(this.id3Track),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={})},e.onManifestLoading=function(){this.dateRangeCuesAppended={}},e.createTrack=function(t){var e=this.getID3Track(t.textTracks);return e.mode="hidden",e},e.getID3Track=function(t){if(this.media){for(var e=0;e<t.length;e++){var r=t[e];if("metadata"===r.kind&&"id3"===r.label)return Ee(r,this.media),r}return this.media.addTextTrack("metadata","id3")}},e.onFragParsingMetadata=function(t,e){if(this.media){var r=this.hls.config,i=r.enableEmsgMetadataCues,n=r.enableID3MetadataCues;if(i||n){var a=e.samples;this.id3Track||(this.id3Track=this.createTrack(this.media));for(var s=De(),o=0;o<a.length;o++){var l=a[o].type;if((l!==be||i)&&n){var u=dt(a[o].data);if(u){var h=a[o].pts,d=h+a[o].duration;d>Ie&&(d=Ie),d-h<=0&&(d=h+.25);for(var c=0;c<u.length;c++){var f=u[c];if(!ut(f)){this.updateId3CueEnds(h,l);var g=new s(h,d,"");g.value=f,l&&(g.type=l),this.id3Track.addCue(g)}}}}}}}},e.updateId3CueEnds=function(t,e){var r,i=null==(r=this.id3Track)?void 0:r.cues;if(i)for(var n=i.length;n--;){var a=i[n];a.type===e&&a.startTime<t&&a.endTime===Ie&&(a.endTime=t)}},e.onBufferFlushing=function(t,e){var r=e.startOffset,i=e.endOffset,n=e.type,a=this.id3Track,s=this.hls;if(s){var o=s.config,l=o.enableEmsgMetadataCues,u=o.enableID3MetadataCues;a&&(l||u)&&Re(a,r,i,"audio"===n?function(t){return t.type===Ae&&u}:"video"===n?function(t){return t.type===be&&l}:function(t){return t.type===Ae&&u||t.type===be&&l})}},e.onLevelUpdated=function(t,e){var r=this,i=e.details;if(this.media&&i.hasProgramDateTime&&this.hls.config.enableDateRangeMetadataCues){var n=this.dateRangeCuesAppended,a=this.id3Track,s=i.dateRanges,o=Object.keys(s);if(a)for(var l=Object.keys(n).filter((function(t){return!o.includes(t)})),u=function(){var t=l[h];Object.keys(n[t].cues).forEach((function(e){a.removeCue(n[t].cues[e])})),delete n[t]},h=l.length;h--;)u();var d=i.fragments[i.fragments.length-1];if(0!==o.length&&E(null==d?void 0:d.programDateTime)){this.id3Track||(this.id3Track=this.createTrack(this.media));for(var c=d.programDateTime/1e3-d.start,f=De(),g=function(){var t=o[v],e=s[t],i=n[t],a=(null==i?void 0:i.cues)||{},l=(null==i?void 0:i.durationKnown)||!1,u=we(e.startDate,c),h=Ie,d=e.endDate;if(d)h=we(d,c),l=!0;else if(e.endOnNext&&!l){var g=o.reduce((function(t,r){var i=s[r];return i.class===e.class&&i.id!==r&&i.startDate>e.startDate&&t.push(i),t}),[]).sort((function(t,e){return t.startDate.getTime()-e.startDate.getTime()}))[0];g&&(h=we(g.startDate,c),l=!0)}for(var m,p,y=Object.keys(e.attr),T=0;T<y.length;T++){var E=y[T];if("ID"!==(p=E)&&"CLASS"!==p&&"START-DATE"!==p&&"DURATION"!==p&&"END-DATE"!==p&&"END-ON-NEXT"!==p){var S=a[E];if(S)l&&!i.durationKnown&&(S.endTime=h);else{var L=e.attr[E];S=new f(u,h,""),x(E)&&(m=L,L=Uint8Array.from(m.replace(/^0x/,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ")).buffer),S.value={key:E,data:L},S.type=ke,S.id=t,r.id3Track.addCue(S),a[E]=S}}}n[t]={cues:a,dateRange:e,durationKnown:l}},v=0;v<o.length;v++)g()}}},t}(),_e=function(){function t(t){var e=this;this.hls=void 0,this.config=void 0,this.media=null,this.levelDetails=null,this.currentTime=0,this.stallCount=0,this._latency=null,this.timeupdateHandler=function(){return e.timeupdate()},this.hls=t,this.config=t.config,this.registerListeners()}var e=t.prototype;return e.destroy=function(){this.unregisterListeners(),this.onMediaDetaching(),this.levelDetails=null,this.hls=this.timeupdateHandler=null},e.registerListeners=function(){this.hls.on(S.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.on(S.MEDIA_DETACHING,this.onMediaDetaching,this),this.hls.on(S.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.on(S.LEVEL_UPDATED,this.onLevelUpdated,this),this.hls.on(S.ERROR,this.onError,this)},e.unregisterListeners=function(){this.hls.off(S.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.off(S.MEDIA_DETACHING,this.onMediaDetaching,this),this.hls.off(S.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.off(S.LEVEL_UPDATED,this.onLevelUpdated,this),this.hls.off(S.ERROR,this.onError,this)},e.onMediaAttached=function(t,e){this.media=e.media,this.media.addEventListener("timeupdate",this.timeupdateHandler)},e.onMediaDetaching=function(){this.media&&(this.media.removeEventListener("timeupdate",this.timeupdateHandler),this.media=null)},e.onManifestLoading=function(){this.levelDetails=null,this._latency=null,this.stallCount=0},e.onLevelUpdated=function(t,e){var r=e.details;this.levelDetails=r,r.advanced&&this.timeupdate(),!r.live&&this.media&&this.media.removeEventListener("timeupdate",this.timeupdateHandler)},e.onError=function(t,e){var r;e.details===R.BUFFER_STALLED_ERROR&&(this.stallCount++,null!=(r=this.levelDetails)&&r.live&&w.warn("[playback-rate-controller]: Stall detected, adjusting target latency"))},e.timeupdate=function(){var t=this.media,e=this.levelDetails;if(t&&e){this.currentTime=t.currentTime;var r=this.computeLatency();if(null!==r){this._latency=r;var i=this.config,n=i.lowLatencyMode,a=i.maxLiveSyncPlaybackRate;if(n&&1!==a){var s=this.targetLatency;if(null!==s){var o=r-s,l=o<Math.min(this.maxLatency,s+e.targetduration);if(e.live&&l&&o>.05&&this.forwardBufferLength>1){var u=Math.min(2,Math.max(1,a)),h=Math.round(2/(1+Math.exp(-.75*o-this.edgeStalled))*20)/20;t.playbackRate=Math.min(u,Math.max(1,h))}else 1!==t.playbackRate&&0!==t.playbackRate&&(t.playbackRate=1)}}}}},e.estimateLiveEdge=function(){var t=this.levelDetails;return null===t?null:t.edge+t.age},e.computeLatency=function(){var t=this.estimateLiveEdge();return null===t?null:t-this.currentTime},a(t,[{key:"latency",get:function(){return this._latency||0}},{key:"maxLatency",get:function(){var t=this.config,e=this.levelDetails;return void 0!==t.liveMaxLatencyDuration?t.liveMaxLatencyDuration:e?t.liveMaxLatencyDurationCount*e.targetduration:0}},{key:"targetLatency",get:function(){var t=this.levelDetails;if(null===t)return null;var e=t.holdBack,r=t.partHoldBack,i=t.targetduration,n=this.config,a=n.liveSyncDuration,s=n.liveSyncDurationCount,o=n.lowLatencyMode,l=this.hls.userConfig,u=o&&r||e;(l.liveSyncDuration||l.liveSyncDurationCount||0===u)&&(u=void 0!==a?a:s*i);var h=i;return u+Math.min(1*this.stallCount,h)}},{key:"liveSyncPosition",get:function(){var t=this.estimateLiveEdge(),e=this.targetLatency,r=this.levelDetails;if(null===t||null===e||null===r)return null;var i=r.edge,n=t-e-this.edgeStalled,a=i-r.totalduration,s=i-(this.config.lowLatencyMode&&r.partTarget||r.targetduration);return Math.min(Math.max(a,n),s)}},{key:"drift",get:function(){var t=this.levelDetails;return null===t?1:t.drift}},{key:"edgeStalled",get:function(){var t=this.levelDetails;if(null===t)return 0;var e=3*(this.config.lowLatencyMode&&t.partTarget||t.targetduration);return Math.max(t.age-e,0)}},{key:"forwardBufferLength",get:function(){var t=this.media,e=this.levelDetails;if(!t||!e)return 0;var r=t.buffered.length;return(r?t.buffered.end(r-1):e.edge)-this.currentTime}}]),t}(),Pe=["NONE","TYPE-0","TYPE-1",null],xe="",Fe="YES",Me="v2",Oe=function(){function t(t,e,r){this.msn=void 0,this.part=void 0,this.skip=void 0,this.msn=t,this.part=e,this.skip=r}return t.prototype.addDirectives=function(t){var e=new self.URL(t);return void 0!==this.msn&&e.searchParams.set("_HLS_msn",this.msn.toString()),void 0!==this.part&&e.searchParams.set("_HLS_part",this.part.toString()),this.skip&&e.searchParams.set("_HLS_skip",this.skip),e.href},t}(),Ne=function(){function t(t){this._attrs=void 0,this.audioCodec=void 0,this.bitrate=void 0,this.codecSet=void 0,this.height=void 0,this.id=void 0,this.name=void 0,this.videoCodec=void 0,this.width=void 0,this.unknownCodecs=void 0,this.audioGroupIds=void 0,this.details=void 0,this.fragmentError=0,this.loadError=0,this.loaded=void 0,this.realBitrate=0,this.textGroupIds=void 0,this.url=void 0,this._urlId=0,this.url=[t.url],this._attrs=[t.attrs],this.bitrate=t.bitrate,t.details&&(this.details=t.details),this.id=t.id||0,this.name=t.name,this.width=t.width||0,this.height=t.height||0,this.audioCodec=t.audioCodec,this.videoCodec=t.videoCodec,this.unknownCodecs=t.unknownCodecs,this.codecSet=[t.videoCodec,t.audioCodec].filter((function(t){return t})).join(",").replace(/\.[^.,]+/g,"")}return t.prototype.addFallback=function(t){this.url.push(t.url),this._attrs.push(t.attrs)},a(t,[{key:"maxBitrate",get:function(){return Math.max(this.realBitrate,this.bitrate)}},{key:"attrs",get:function(){return this._attrs[this._urlId]}},{key:"pathwayId",get:function(){return this.attrs["PATHWAY-ID"]||"."}},{key:"uri",get:function(){return this.url[this._urlId]||""}},{key:"urlId",get:function(){return this._urlId},set:function(t){var e=t%this.url.length;this._urlId!==e&&(this.fragmentError=0,this.loadError=0,this.details=void 0,this._urlId=e)}},{key:"audioGroupId",get:function(){var t;return null==(t=this.audioGroupIds)?void 0:t[this.urlId]}},{key:"textGroupId",get:function(){var t;return null==(t=this.textGroupIds)?void 0:t[this.urlId]}}]),t}();function Ue(t,e){var r=e.startPTS;if(E(r)){var i,n=0;e.sn>t.sn?(n=r-t.start,i=t):(n=t.start-r,i=e),i.duration!==n&&(i.duration=n)}else e.sn>t.sn?t.cc===e.cc&&t.minEndPTS?e.start=t.start+(t.minEndPTS-t.start):e.start=t.start+t.duration:e.start=Math.max(t.start-e.duration,0)}function Be(t,e,r,i,n,a){i-r<=0&&(w.warn("Fragment should have a positive duration",e),i=r+e.duration,a=n+e.duration);var s=r,o=i,l=e.startPTS,u=e.endPTS;if(E(l)){var h=Math.abs(l-r);E(e.deltaPTS)?e.deltaPTS=Math.max(h,e.deltaPTS):e.deltaPTS=h,s=Math.max(r,l),r=Math.min(r,l),n=Math.min(n,e.startDTS),o=Math.min(i,u),i=Math.max(i,u),a=Math.max(a,e.endDTS)}var d=r-e.start;0!==e.start&&(e.start=r),e.duration=i-e.start,e.startPTS=r,e.maxStartPTS=s,e.startDTS=n,e.endPTS=i,e.minEndPTS=o,e.endDTS=a;var c,f=e.sn;if(!t||f<t.startSN||f>t.endSN)return 0;var g=f-t.startSN,v=t.fragments;for(v[g]=e,c=g;c>0;c--)Ue(v[c],v[c-1]);for(c=g;c<v.length-1;c++)Ue(v[c],v[c+1]);return t.fragmentHint&&Ue(v[v.length-1],t.fragmentHint),t.PTSKnown=t.alignedSliding=!0,d}function Ge(t,e){for(var r=null,i=t.fragments,n=i.length-1;n>=0;n--){var a=i[n].initSegment;if(a){r=a;break}}t.fragmentHint&&delete t.fragmentHint.endPTS;var s,l,u,h,d,c=0;if(function(t,e,r){for(var i=e.skippedSegments,n=Math.max(t.startSN,e.startSN)-e.startSN,a=(t.fragmentHint?1:0)+(i?e.endSN:Math.min(t.endSN,e.endSN))-e.startSN,s=e.startSN-t.startSN,o=e.fragmentHint?e.fragments.concat(e.fragmentHint):e.fragments,l=t.fragmentHint?t.fragments.concat(t.fragmentHint):t.fragments,u=n;u<=a;u++){var h=l[s+u],d=o[u];i&&!d&&u<i&&(d=e.fragments[u]=h),h&&d&&r(h,d)}}(t,e,(function(t,i){t.relurl&&(c=t.cc-i.cc),E(t.startPTS)&&E(t.endPTS)&&(i.start=i.startPTS=t.startPTS,i.startDTS=t.startDTS,i.maxStartPTS=t.maxStartPTS,i.endPTS=t.endPTS,i.endDTS=t.endDTS,i.minEndPTS=t.minEndPTS,i.duration=t.endPTS-t.startPTS,i.duration&&(s=i),e.PTSKnown=e.alignedSliding=!0),i.elementaryStreams=t.elementaryStreams,i.loader=t.loader,i.stats=t.stats,i.urlId=t.urlId,t.initSegment&&(i.initSegment=t.initSegment,r=t.initSegment)})),r&&(e.fragmentHint?e.fragments.concat(e.fragmentHint):e.fragments).forEach((function(t){var e;t.initSegment&&t.initSegment.relurl!==(null==(e=r)?void 0:e.relurl)||(t.initSegment=r)})),e.skippedSegments)if(e.deltaUpdateFailed=e.fragments.some((function(t){return!t})),e.deltaUpdateFailed){w.warn("[level-helper] Previous playlist missing segments skipped in delta playlist");for(var f=e.skippedSegments;f--;)e.fragments.shift();e.startSN=e.fragments[0].sn,e.startCC=e.fragments[0].cc}else e.canSkipDateRanges&&(e.dateRanges=(l=t.dateRanges,u=e.dateRanges,h=e.recentlyRemovedDateranges,d=o({},l),h&&h.forEach((function(t){delete d[t]})),Object.keys(u).forEach((function(t){var e=new F(u[t].attr,d[t]);e.isValid?d[t]=e:w.warn('Ignoring invalid Playlist Delta Update DATERANGE tag: "'+JSON.stringify(u[t].attr)+'"')})),d));var g=e.fragments;if(c){w.warn("discontinuity sliding from playlist, take drift into account");for(var v=0;v<g.length;v++)g[v].cc+=c}e.skippedSegments&&(e.startCC=e.fragments[0].cc),function(t,e,r){if(t&&e)for(var i=0,n=0,a=t.length;n<=a;n++){var s=t[n],o=e[n+i];s&&o&&s.index===o.index&&s.fragment.sn===o.fragment.sn?r(s,o):i--}}(t.partList,e.partList,(function(t,e){e.elementaryStreams=t.elementaryStreams,e.stats=t.stats})),s?Be(e,s,s.startPTS,s.endPTS,s.startDTS,s.endDTS):Ke(t,e),g.length&&(e.totalduration=e.edge-g[0].start),e.driftStartTime=t.driftStartTime,e.driftStart=t.driftStart;var m=e.advancedDateTime;if(e.advanced&&m){var p=e.edge;e.driftStart||(e.driftStartTime=m,e.driftStart=p),e.driftEndTime=m,e.driftEnd=p}else e.driftEndTime=t.driftEndTime,e.driftEnd=t.driftEnd,e.advancedDateTime=t.advancedDateTime}function Ke(t,e){var r=e.startSN+e.skippedSegments-t.startSN,i=t.fragments;r<0||r>=i.length||He(e,i[r].start)}function He(t,e){if(e){for(var r=t.fragments,i=t.skippedSegments;i<r.length;i++)r[i].start+=e;t.fragmentHint&&(t.fragmentHint.start+=e)}}function Ve(t,e,r){var i;return null!=t&&t.details?Ye(null==(i=t.details)?void 0:i.partList,e,r):null}function Ye(t,e,r){if(t)for(var i=t.length;i--;){var n=t[i];if(n.index===r&&n.fragment.sn===e)return n}return null}function We(t){switch(t.details){case R.FRAG_LOAD_TIMEOUT:case R.KEY_LOAD_TIMEOUT:case R.LEVEL_LOAD_TIMEOUT:case R.MANIFEST_LOAD_TIMEOUT:return!0}return!1}function je(t,e){var r=We(e);return t.default[(r?"timeout":"error")+"Retry"]}function qe(t,e){var r="linear"===t.backoff?1:Math.pow(2,e);return Math.min(r*t.retryDelayMs,t.maxRetryDelayMs)}function Xe(t){return i(i({},t),{errorRetry:null,timeoutRetry:null})}function ze(t,e,r,i){return!!t&&e<t.maxNumRetry&&(function(t){return 0===t&&!1===navigator.onLine||!!t&&(t<400||t>499)}(i)||!!r)}var Qe=function(t,e){for(var r=0,i=t.length-1,n=null,a=null;r<=i;){var s=e(a=t[n=(r+i)/2|0]);if(s>0)r=n+1;else{if(!(s<0))return a;i=n-1}}return null};function $e(t,e,r,i){void 0===r&&(r=0),void 0===i&&(i=0);var n=null;if(t?n=e[t.sn-e[0].sn+1]||null:0===r&&0===e[0].start&&(n=e[0]),n&&0===Je(r,i,n))return n;var a=Qe(e,Je.bind(null,r,i));return!a||a===t&&n?n:a}function Je(t,e,r){if(void 0===t&&(t=0),void 0===e&&(e=0),r.start<=t&&r.start+r.duration>t)return 0;var i=Math.min(e,r.duration+(r.deltaPTS?r.deltaPTS:0));return r.start+r.duration-i<=t?1:r.start-i>t&&r.start?-1:0}function Ze(t,e,r){var i=1e3*Math.min(e,r.duration+(r.deltaPTS?r.deltaPTS:0));return(r.endProgramDateTime||0)-i>t}var tr,er=3e5,rr=0,ir=2,nr=5,ar=0,sr=1,or=2,lr=function(){function t(t){this.hls=void 0,this.playlistError=0,this.penalizedRenditions={},this.log=void 0,this.warn=void 0,this.error=void 0,this.hls=t,this.log=w.log.bind(w,"[info]:"),this.warn=w.warn.bind(w,"[warning]:"),this.error=w.error.bind(w,"[error]:"),this.registerListeners()}var e=t.prototype;return e.registerListeners=function(){var t=this.hls;t.on(S.ERROR,this.onError,this),t.on(S.MANIFEST_LOADING,this.onManifestLoading,this),t.on(S.LEVEL_UPDATED,this.onLevelUpdated,this)},e.unregisterListeners=function(){var t=this.hls;t&&(t.off(S.ERROR,this.onError,this),t.off(S.ERROR,this.onErrorOut,this),t.off(S.MANIFEST_LOADING,this.onManifestLoading,this),t.off(S.LEVEL_UPDATED,this.onLevelUpdated,this))},e.destroy=function(){this.unregisterListeners(),this.hls=null,this.penalizedRenditions={}},e.startLoad=function(t){this.playlistError=0},e.stopLoad=function(){},e.getVariantLevelIndex=function(t){return(null==t?void 0:t.type)===ge?t.level:this.hls.loadLevel},e.onManifestLoading=function(){this.playlistError=0,this.penalizedRenditions={}},e.onLevelUpdated=function(){this.playlistError=0},e.onError=function(t,e){var r,i;if(!e.fatal){var n=this.hls,a=e.context;switch(e.details){case R.FRAG_LOAD_ERROR:case R.FRAG_LOAD_TIMEOUT:case R.KEY_LOAD_ERROR:case R.KEY_LOAD_TIMEOUT:return void(e.errorAction=this.getFragRetryOrSwitchAction(e));case R.FRAG_PARSING_ERROR:if(null!=(r=e.frag)&&r.gap)return void(e.errorAction={action:rr,flags:ar});case R.FRAG_GAP:case R.FRAG_DECRYPT_ERROR:return e.errorAction=this.getFragRetryOrSwitchAction(e),void(e.errorAction.action=ir);case R.LEVEL_EMPTY_ERROR:case R.LEVEL_PARSING_ERROR:var s,o,l=e.parent===ge?e.level:n.loadLevel;return void(e.details===R.LEVEL_EMPTY_ERROR&&null!=(s=e.context)&&null!=(o=s.levelDetails)&&o.live?e.errorAction=this.getPlaylistRetryOrSwitchAction(e,l):(e.levelRetry=!1,e.errorAction=this.getLevelSwitchAction(e,l)));case R.LEVEL_LOAD_ERROR:case R.LEVEL_LOAD_TIMEOUT:return void("number"==typeof(null==a?void 0:a.level)&&(e.errorAction=this.getPlaylistRetryOrSwitchAction(e,a.level)));case R.AUDIO_TRACK_LOAD_ERROR:case R.AUDIO_TRACK_LOAD_TIMEOUT:case R.SUBTITLE_LOAD_ERROR:case R.SUBTITLE_TRACK_LOAD_TIMEOUT:if(a){var u=n.levels[n.loadLevel];if(u&&(a.type===ce&&a.groupId===u.audioGroupId||a.type===fe&&a.groupId===u.textGroupId))return e.errorAction=this.getPlaylistRetryOrSwitchAction(e,n.loadLevel),e.errorAction.action=ir,void(e.errorAction.flags=sr)}return;case R.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED:var h=n.levels[n.loadLevel],d=null==h?void 0:h.attrs["HDCP-LEVEL"];return void(d&&(e.errorAction={action:ir,flags:or,hdcpLevel:d}));case R.BUFFER_ADD_CODEC_ERROR:case R.REMUX_ALLOC_ERROR:return void(e.errorAction=this.getLevelSwitchAction(e,null!=(i=e.level)?i:n.loadLevel));case R.INTERNAL_EXCEPTION:case R.BUFFER_APPENDING_ERROR:case R.BUFFER_APPEND_ERROR:case R.BUFFER_FULL_ERROR:case R.LEVEL_SWITCH_ERROR:case R.BUFFER_STALLED_ERROR:case R.BUFFER_SEEK_OVER_HOLE:case R.BUFFER_NUDGE_ON_STALL:return void(e.errorAction={action:rr,flags:ar})}if(e.type===L.KEY_SYSTEM_ERROR){var c=this.getVariantLevelIndex(e.frag);return e.levelRetry=!1,void(e.errorAction=this.getLevelSwitchAction(e,c))}}},e.getPlaylistRetryOrSwitchAction=function(t,e){var r,i=je(this.hls.config.playlistLoadPolicy,t),n=this.playlistError++,a=null==(r=t.response)?void 0:r.code;if(ze(i,n,We(t),a))return{action:nr,flags:ar,retryConfig:i,retryCount:n};var s=this.getLevelSwitchAction(t,e);return i&&(s.retryConfig=i,s.retryCount=n),s},e.getFragRetryOrSwitchAction=function(t){var e=this.hls,r=this.getVariantLevelIndex(t.frag),i=e.levels[r],n=e.config,a=n.fragLoadPolicy,s=n.keyLoadPolicy,o=je(t.details.startsWith("key")?s:a,t),l=e.levels.reduce((function(t,e){return t+e.fragmentError}),0);if(i){var u;t.details!==R.FRAG_GAP&&i.fragmentError++;var h=null==(u=t.response)?void 0:u.code;if(ze(o,l,We(t),h))return{action:nr,flags:ar,retryConfig:o,retryCount:l}}var d=this.getLevelSwitchAction(t,r);return o&&(d.retryConfig=o,d.retryCount=l),d},e.getLevelSwitchAction=function(t,e){var r=this.hls;null==e&&(e=r.loadLevel);var i=this.hls.levels[e];if(i&&(i.loadError++,r.autoLevelEnabled)){for(var n,a,s=-1,o=r.levels,l=r.loadLevel,u=r.minAutoLevel,h=r.maxAutoLevel,d=null==(n=t.frag)?void 0:n.type,c=null!=(a=t.context)?a:{},f=c.type,g=c.groupId,v=o.length;v--;){var m=(v+l)%o.length;if(m!==l&&m>=u&&m<=h&&0===o[m].loadError){var p=o[m];if(t.details===R.FRAG_GAP&&t.frag){var y=o[m].details;if(y){var T=$e(t.frag,y.fragments,t.frag.start);if(null!=T&&T.gap)continue}}else{if(f===ce&&g===p.audioGroupId||f===fe&&g===p.textGroupId)continue;if(d===ve&&i.audioGroupId===p.audioGroupId||d===me&&i.textGroupId===p.textGroupId)continue}s=m;break}}if(s>-1&&r.loadLevel!==s)return t.levelRetry=!0,this.playlistError=0,{action:ir,flags:ar,nextAutoLevel:s}}return{action:ir,flags:sr}},e.onErrorOut=function(t,e){var r;switch(null==(r=e.errorAction)?void 0:r.action){case rr:break;case ir:this.sendAlternateToPenaltyBox(e),e.errorAction.resolved||e.details===R.FRAG_GAP||(e.fatal=!0)}e.fatal&&this.hls.stopLoad()},e.sendAlternateToPenaltyBox=function(t){var e=this.hls,r=t.errorAction;if(r){var i=r.flags,n=r.hdcpLevel,a=r.nextAutoLevel;switch(i){case ar:this.switchLevel(t,a);break;case sr:r.resolved||(r.resolved=this.redundantFailover(t));break;case or:n&&(e.maxHdcpLevel=Pe[Pe.indexOf(n)-1],r.resolved=!0),this.warn('Restricting playback to HDCP-LEVEL of "'+e.maxHdcpLevel+'" or lower')}r.resolved||this.switchLevel(t,a)}},e.switchLevel=function(t,e){void 0!==e&&t.errorAction&&(this.warn("switching to level "+e+" after "+t.details),this.hls.nextAutoLevel=e,t.errorAction.resolved=!0,this.hls.nextLoadLevel=this.hls.nextAutoLevel)},e.redundantFailover=function(t){var e=this,r=this.hls,i=this.penalizedRenditions,n=t.parent===ge?t.level:r.loadLevel,a=r.levels[n],s=a.url.length,o=t.frag?t.frag.urlId:a.urlId;a.urlId!==o||t.frag&&!a.details||this.penalizeRendition(a,t);for(var l=function(){var l=(o+u)%s,h=i[l];if(!h||function(t,e,r){if(performance.now()-t.lastErrorPerfMs>er)return!0;var i=t.details;if(e.details===R.FRAG_GAP&&i&&e.frag){var n=e.frag.start,a=$e(null,i.fragments,n);if(a&&!a.gap)return!0}if(r&&t.errors.length<r.errors.length){var s=t.errors[t.errors.length-1];if(i&&s.frag&&e.frag&&Math.abs(s.frag.start-e.frag.start)>3*i.targetduration)return!0}return!1}(h,t,i[o]))return e.warn("Switching to Redundant Stream "+(l+1)+"/"+s+': "'+a.url[l]+'" after '+t.details),e.playlistError=0,r.levels.forEach((function(t){t.urlId=l})),r.nextLoadLevel=n,{v:!0}},u=1;u<s;u++){var h=l();if("object"==typeof h)return h.v}return!1},e.penalizeRendition=function(t,e){var r=this.penalizedRenditions,i=r[t.urlId]||{lastErrorPerfMs:0,errors:[],details:void 0};i.lastErrorPerfMs=performance.now(),i.errors.push(e),i.details=t.details,r[t.urlId]=i},t}(),ur=function(){function t(t,e){this.hls=void 0,this.timer=-1,this.requestScheduled=-1,this.canLoad=!1,this.log=void 0,this.warn=void 0,this.log=w.log.bind(w,e+":"),this.warn=w.warn.bind(w,e+":"),this.hls=t}var e=t.prototype;return e.destroy=function(){this.clearTimer(),this.hls=this.log=this.warn=null},e.clearTimer=function(){clearTimeout(this.timer),this.timer=-1},e.startLoad=function(){this.canLoad=!0,this.requestScheduled=-1,this.loadPlaylist()},e.stopLoad=function(){this.canLoad=!1,this.clearTimer()},e.switchParams=function(t,e){var r=null==e?void 0:e.renditionReports;if(r){for(var i=-1,n=0;n<r.length;n++){var a=r[n],s=void 0;try{s=new self.URL(a.URI,e.url).href}catch(t){w.warn("Could not construct new URL for Rendition Report: "+t),s=a.URI||""}if(s===t){i=n;break}s===t.substring(0,s.length)&&(i=n)}if(-1!==i){var o=r[i],l=parseInt(o["LAST-MSN"])||(null==e?void 0:e.lastPartSn),u=parseInt(o["LAST-PART"])||(null==e?void 0:e.lastPartIndex);if(this.hls.config.lowLatencyMode){var h=Math.min(e.age-e.partTarget,e.targetduration);u>=0&&h>e.partTarget&&(u+=1)}return new Oe(l,u>=0?u:void 0,xe)}}},e.loadPlaylist=function(t){-1===this.requestScheduled&&(this.requestScheduled=self.performance.now())},e.shouldLoadPlaylist=function(t){return this.canLoad&&!!t&&!!t.url&&(!t.details||t.details.live)},e.shouldReloadPlaylist=function(t){return-1===this.timer&&-1===this.requestScheduled&&this.shouldLoadPlaylist(t)},e.playlistLoaded=function(t,e,r){var i=this,n=e.details,a=e.stats,s=self.performance.now(),o=a.loading.first?Math.max(0,s-a.loading.first):0;if(n.advancedDateTime=Date.now()-o,n.live||null!=r&&r.live){if(n.reloaded(r),r&&this.log("live playlist "+t+" "+(n.advanced?"REFRESHED "+n.lastPartSn+"-"+n.lastPartIndex:"MISSED")),r&&n.fragments.length>0&&Ge(r,n),!this.canLoad||!n.live)return;var l,u=void 0,h=void 0;if(n.canBlockReload&&n.endSN&&n.advanced){var d=this.hls.config.lowLatencyMode,c=n.lastPartSn,f=n.endSN,g=n.lastPartIndex,v=c===f;-1!==g?(u=v?f+1:c,h=v?d?0:g:g+1):u=f+1;var m=n.age,p=m+n.ageHeader,y=Math.min(p-n.partTarget,1.5*n.targetduration);if(y>0){if(r&&y>r.tuneInGoal)this.warn("CDN Tune-in goal increased from: "+r.tuneInGoal+" to: "+y+" with playlist age: "+n.age),y=0;else{var T=Math.floor(y/n.targetduration);u+=T,void 0!==h&&(h+=Math.round(y%n.targetduration/n.partTarget)),this.log("CDN Tune-in age: "+n.ageHeader+"s last advanced "+m.toFixed(2)+"s goal: "+y+" skip sn "+T+" to part "+h)}n.tuneInGoal=y}if(l=this.getDeliveryDirectives(n,e.deliveryDirectives,u,h),d||!v)return void this.loadPlaylist(l)}else n.canBlockReload&&(l=this.getDeliveryDirectives(n,e.deliveryDirectives,u,h));var E=this.hls.mainForwardBufferInfo,S=E?E.end-E.len:0,L=function(t,e){void 0===e&&(e=1/0);var r=1e3*t.targetduration;if(t.updated){var i=t.fragments;if(i.length&&4*r>e){var n=1e3*i[i.length-1].duration;n<r&&(r=n)}}else r/=2;return Math.round(r)}(n,1e3*(n.edge-S));n.updated&&s>this.requestScheduled+L&&(this.requestScheduled=a.loading.start),void 0!==u&&n.canBlockReload?this.requestScheduled=a.loading.first+L-(1e3*n.partTarget||1e3):-1===this.requestScheduled||this.requestScheduled+L<s?this.requestScheduled=s:this.requestScheduled-s<=0&&(this.requestScheduled+=L);var R=this.requestScheduled-s;R=Math.max(0,R),this.log("reload live playlist "+t+" in "+Math.round(R)+" ms"),this.timer=self.setTimeout((function(){return i.loadPlaylist(l)}),R)}else this.clearTimer()},e.getDeliveryDirectives=function(t,e,r,i){var n=function(t,e){var r=t.canSkipUntil,i=t.canSkipDateRanges,n=t.endSN;return r&&(void 0!==e?e-n:0)<r?i?Me:Fe:xe}(t,r);return null!=e&&e.skip&&t.deltaUpdateFailed&&(r=e.msn,i=e.part,n=xe),new Oe(r,i,n)},e.checkRetry=function(t){var e=this,r=t.details,i=We(t),n=t.errorAction,a=n||{},s=a.action,o=a.retryCount,l=void 0===o?0:o,u=a.retryConfig,h=!!n&&!!u&&(s===nr||!n.resolved&&s===ir);if(h){var d;if(this.requestScheduled=-1,l>=u.maxNumRetry)return!1;if(i&&null!=(d=t.context)&&d.deliveryDirectives)this.warn("Retrying playlist loading "+(l+1)+"/"+u.maxNumRetry+' after "'+r+'" without delivery-directives'),this.loadPlaylist();else{var c=qe(u,l);this.timer=self.setTimeout((function(){return e.loadPlaylist()}),c),this.warn("Retrying playlist loading "+(l+1)+"/"+u.maxNumRetry+' after "'+r+'" in '+c+"ms")}t.levelRetry=!0,n.resolved=!0}return h},t}(),hr=function(t){function e(e,r){var i;return(i=t.call(this,e,"[level-controller]")||this)._levels=[],i._firstLevel=-1,i._startLevel=void 0,i.currentLevel=null,i.currentLevelIndex=-1,i.manualLevelIndex=-1,i.steering=void 0,i.onParsedComplete=void 0,i.steering=r,i._registerListeners(),i}l(e,t);var r=e.prototype;return r._registerListeners=function(){var t=this.hls;t.on(S.MANIFEST_LOADING,this.onManifestLoading,this),t.on(S.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(S.LEVEL_LOADED,this.onLevelLoaded,this),t.on(S.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(S.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.on(S.FRAG_LOADED,this.onFragLoaded,this),t.on(S.ERROR,this.onError,this)},r._unregisterListeners=function(){var t=this.hls;t.off(S.MANIFEST_LOADING,this.onManifestLoading,this),t.off(S.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(S.LEVEL_LOADED,this.onLevelLoaded,this),t.off(S.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(S.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.off(S.FRAG_LOADED,this.onFragLoaded,this),t.off(S.ERROR,this.onError,this)},r.destroy=function(){this._unregisterListeners(),this.steering=null,this.resetLevels(),t.prototype.destroy.call(this)},r.startLoad=function(){this._levels.forEach((function(t){t.loadError=0,t.fragmentError=0})),t.prototype.startLoad.call(this)},r.resetLevels=function(){this._startLevel=void 0,this.manualLevelIndex=-1,this.currentLevelIndex=-1,this.currentLevel=null,this._levels=[]},r.onManifestLoading=function(t,e){this.resetLevels()},r.onManifestLoaded=function(t,e){var r,i=[],n={};e.levels.forEach((function(t){var e,a=t.attrs;-1!==(null==(e=t.audioCodec)?void 0:e.indexOf("mp4a.40.34"))&&(tr||(tr=/chrome|firefox/i.test(navigator.userAgent)),tr&&(t.audioCodec=void 0));var s=a.AUDIO,o=a.CODECS,l=a["FRAME-RATE"],u=a["PATHWAY-ID"],h=a.RESOLUTION,d=a.SUBTITLES,c=(u||".")+"-"+t.bitrate+"-"+h+"-"+l+"-"+o;(r=n[c])?r.addFallback(t):(r=new Ne(t),n[c]=r,i.push(r)),dr(r,"audio",s),dr(r,"text",d)})),this.filterAndSortMediaOptions(i,e)},r.filterAndSortMediaOptions=function(t,e){var r=this,i=[],n=[],a=!1,s=!1,o=!1,l=t.filter((function(t){var e=t.audioCodec,r=t.videoCodec,i=t.width,n=t.height,l=t.unknownCodecs;return a||(a=!(!i||!n)),s||(s=!!r),o||(o=!!e),!(null!=l&&l.length)&&(!e||Qt(e,"audio"))&&(!r||Qt(r,"video"))}));if((a||s)&&o&&(l=l.filter((function(t){var e=t.videoCodec,r=t.width,i=t.height;return!!e||!(!r||!i)}))),0!==l.length){e.audioTracks&&cr(i=e.audioTracks.filter((function(t){return!t.audioCodec||Qt(t.audioCodec,"audio")}))),e.subtitles&&cr(n=e.subtitles);var u=l.slice(0);l.sort((function(t,e){return t.attrs["HDCP-LEVEL"]!==e.attrs["HDCP-LEVEL"]?(t.attrs["HDCP-LEVEL"]||"")>(e.attrs["HDCP-LEVEL"]||"")?1:-1:t.bitrate!==e.bitrate?t.bitrate-e.bitrate:t.attrs["FRAME-RATE"]!==e.attrs["FRAME-RATE"]?t.attrs.decimalFloatingPoint("FRAME-RATE")-e.attrs.decimalFloatingPoint("FRAME-RATE"):t.attrs.SCORE!==e.attrs.SCORE?t.attrs.decimalFloatingPoint("SCORE")-e.attrs.decimalFloatingPoint("SCORE"):a&&t.height!==e.height?t.height-e.height:0}));var h=u[0];if(this.steering&&(l=this.steering.filterParsedLevels(l)).length!==u.length)for(var d=0;d<u.length;d++)if(u[d].pathwayId===l[0].pathwayId){h=u[d];break}this._levels=l;for(var c=0;c<l.length;c++)if(l[c]===h){this._firstLevel=c,this.log("manifest loaded, "+l.length+" level(s) found, first bitrate: "+h.bitrate);break}var f=o&&!s,g={levels:l,audioTracks:i,subtitleTracks:n,sessionData:e.sessionData,sessionKeys:e.sessionKeys,firstLevel:this._firstLevel,stats:e.stats,audio:o,video:s,altAudio:!f&&i.some((function(t){return!!t.url}))};this.hls.trigger(S.MANIFEST_PARSED,g),(this.hls.config.autoStartLoad||this.hls.forceStartLoad)&&this.hls.startLoad(this.hls.config.startPosition)}else Promise.resolve().then((function(){if(r.hls){var t=new Error("no level with compatible codecs found in manifest");r.hls.trigger(S.ERROR,{type:L.MEDIA_ERROR,details:R.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:e.url,error:t,reason:t.message})}}))},r.onError=function(t,e){!e.fatal&&e.context&&e.context.type===de&&e.context.level===this.level&&this.checkRetry(e)},r.onFragLoaded=function(t,e){var r=e.frag;if(void 0!==r&&r.type===ge){var i=this._levels[r.level];void 0!==i&&(i.loadError=0)}},r.onLevelLoaded=function(t,e){var r,i,n=e.level,a=e.details,s=this._levels[n];if(!s)return this.warn("Invalid level index "+n),void(null!=(i=e.deliveryDirectives)&&i.skip&&(a.deltaUpdateFailed=!0));n===this.currentLevelIndex?(0===s.fragmentError&&(s.loadError=0),this.playlistLoaded(n,e,s.details)):null!=(r=e.deliveryDirectives)&&r.skip&&(a.deltaUpdateFailed=!0)},r.onAudioTrackSwitched=function(t,e){var r=this.currentLevel;if(r){var i=this.hls.audioTracks[e.id].groupId;if(r.audioGroupIds&&r.audioGroupId!==i){for(var n=-1,a=0;a<r.audioGroupIds.length;a++)if(r.audioGroupIds[a]===i){n=a;break}-1!==n&&n!==r.urlId&&(r.urlId=n,this.canLoad&&this.startLoad())}}},r.loadPlaylist=function(e){t.prototype.loadPlaylist.call(this);var r=this.currentLevelIndex,i=this.currentLevel;if(i&&this.shouldLoadPlaylist(i)){var n=i.urlId,a=i.uri;if(e)try{a=e.addDirectives(a)}catch(t){this.warn("Could not construct new URL with HLS Delivery Directives: "+t)}var s=i.attrs["PATHWAY-ID"];this.log("Loading level index "+r+(void 0!==(null==e?void 0:e.msn)?" at sn "+e.msn+" part "+e.part:"")+" with"+(s?" Pathway "+s:"")+" URI "+(n+1)+"/"+i.url.length+" "+a),this.clearTimer(),this.hls.trigger(S.LEVEL_LOADING,{url:a,level:r,id:n,deliveryDirectives:e||null})}},r.removeLevel=function(t,e){var r=this,i=function(t,r){return r!==e},n=this._levels.filter((function(n,a){return a!==t||(n.url.length>1&&void 0!==e?(n.url=n.url.filter(i),n.audioGroupIds&&(n.audioGroupIds=n.audioGroupIds.filter(i)),n.textGroupIds&&(n.textGroupIds=n.textGroupIds.filter(i)),n.urlId=0,!0):(r.steering&&r.steering.removeLevel(n),!1))}));this.hls.trigger(S.LEVELS_UPDATED,{levels:n})},r.onLevelsUpdated=function(t,e){var r=e.levels;r.forEach((function(t,e){var r=t.details;null!=r&&r.fragments&&r.fragments.forEach((function(t){t.level=e}))})),this._levels=r},a(e,[{key:"levels",get:function(){return 0===this._levels.length?null:this._levels}},{key:"level",get:function(){return this.currentLevelIndex},set:function(t){var e=this._levels;if(0!==e.length){if(t<0||t>=e.length){var r=new Error("invalid level idx"),i=t<0;if(this.hls.trigger(S.ERROR,{type:L.OTHER_ERROR,details:R.LEVEL_SWITCH_ERROR,level:t,fatal:i,error:r,reason:r.message}),i)return;t=Math.min(t,e.length-1)}var n=this.currentLevelIndex,a=this.currentLevel,s=a?a.attrs["PATHWAY-ID"]:void 0,l=e[t],u=l.attrs["PATHWAY-ID"];if(this.currentLevelIndex=t,this.currentLevel=l,n!==t||!l.details||!a||s!==u){this.log("Switching to level "+t+(u?" with Pathway "+u:"")+" from level "+n+(s?" with Pathway "+s:""));var h=o({},l,{level:t,maxBitrate:l.maxBitrate,attrs:l.attrs,uri:l.uri,urlId:l.urlId});delete h._attrs,delete h._urlId,this.hls.trigger(S.LEVEL_SWITCHING,h);var d=l.details;if(!d||d.live){var c=this.switchParams(l.uri,null==a?void 0:a.details);this.loadPlaylist(c)}}}}},{key:"manualLevel",get:function(){return this.manualLevelIndex},set:function(t){this.manualLevelIndex=t,void 0===this._startLevel&&(this._startLevel=t),-1!==t&&(this.level=t)}},{key:"firstLevel",get:function(){return this._firstLevel},set:function(t){this._firstLevel=t}},{key:"startLevel",get:function(){if(void 0===this._startLevel){var t=this.hls.config.startLevel;return void 0!==t?t:this._firstLevel}return this._startLevel},set:function(t){this._startLevel=t}},{key:"nextLoadLevel",get:function(){return-1!==this.manualLevelIndex?this.manualLevelIndex:this.hls.nextAutoLevel},set:function(t){this.level=t,-1===this.manualLevelIndex&&(this.hls.nextAutoLevel=t)}}]),e}(ur);function dr(t,e,r){r&&("audio"===e?(t.audioGroupIds||(t.audioGroupIds=[]),t.audioGroupIds[t.url.length-1]=r):"text"===e&&(t.textGroupIds||(t.textGroupIds=[]),t.textGroupIds[t.url.length-1]=r))}function cr(t){var e={};t.forEach((function(t){var r=t.groupId||"";t.id=e[r]=e[r]||0,e[r]++}))}var fr="NOT_LOADED",gr="APPENDING",vr="PARTIAL",mr="OK",pr=function(){function t(t){this.activePartLists=Object.create(null),this.endListFragments=Object.create(null),this.fragments=Object.create(null),this.timeRanges=Object.create(null),this.bufferPadding=.2,this.hls=void 0,this.hasGaps=!1,this.hls=t,this._registerListeners()}var e=t.prototype;return e._registerListeners=function(){var t=this.hls;t.on(S.BUFFER_APPENDED,this.onBufferAppended,this),t.on(S.FRAG_BUFFERED,this.onFragBuffered,this),t.on(S.FRAG_LOADED,this.onFragLoaded,this)},e._unregisterListeners=function(){var t=this.hls;t.off(S.BUFFER_APPENDED,this.onBufferAppended,this),t.off(S.FRAG_BUFFERED,this.onFragBuffered,this),t.off(S.FRAG_LOADED,this.onFragLoaded,this)},e.destroy=function(){this._unregisterListeners(),this.fragments=this.activePartLists=this.endListFragments=this.timeRanges=null},e.getAppendedFrag=function(t,e){var r=this.activePartLists[e];if(r)for(var i=r.length;i--;){var n=r[i];if(!n)break;var a=n.end;if(n.start<=t&&null!==a&&t<=a)return n}return this.getBufferedFrag(t,e)},e.getBufferedFrag=function(t,e){for(var r=this.fragments,i=Object.keys(r),n=i.length;n--;){var a=r[i[n]];if((null==a?void 0:a.body.type)===e&&a.buffered){var s=a.body;if(s.start<=t&&t<=s.end)return s}}return null},e.detectEvictedFragments=function(t,e,r,i){var n=this;this.timeRanges&&(this.timeRanges[t]=e);var a=(null==i?void 0:i.fragment.sn)||-1;Object.keys(this.fragments).forEach((function(i){var s=n.fragments[i];if(s&&!(a>=s.body.sn))if(s.buffered||s.loaded){var o=s.range[t];o&&o.time.some((function(t){var r=!n.isTimeBuffered(t.startPTS,t.endPTS,e);return r&&n.removeFragment(s.body),r}))}else s.body.type===r&&n.removeFragment(s.body)}))},e.detectPartialFragments=function(t){var e=this,r=this.timeRanges,i=t.frag,n=t.part;if(r&&"initSegment"!==i.sn){var a=Tr(i),s=this.fragments[a];if(!(!s||s.buffered&&i.gap)){var o=!i.relurl;Object.keys(r).forEach((function(t){var a=i.elementaryStreams[t];if(a){var l=r[t],u=o||!0===a.partial;s.range[t]=e.getBufferedTimes(i,n,u,l)}})),s.loaded=null,Object.keys(s.range).length?(s.buffered=!0,s.body.endList&&(this.endListFragments[s.body.type]=s),yr(s)||this.removeParts(i.sn-1,i.type)):this.removeFragment(s.body)}}},e.removeParts=function(t,e){var r=this.activePartLists[e];r&&(this.activePartLists[e]=r.filter((function(e){return e.fragment.sn>=t})))},e.fragBuffered=function(t,e){var r=Tr(t),i=this.fragments[r];!i&&e&&(i=this.fragments[r]={body:t,appendedPTS:null,loaded:null,buffered:!1,range:Object.create(null)},t.gap&&(this.hasGaps=!0)),i&&(i.loaded=null,i.buffered=!0)},e.getBufferedTimes=function(t,e,r,i){for(var n={time:[],partial:r},a=t.start,s=t.end,o=t.minEndPTS||s,l=t.maxStartPTS||a,u=0;u<i.length;u++){var h=i.start(u)-this.bufferPadding,d=i.end(u)+this.bufferPadding;if(l>=h&&o<=d){n.time.push({startPTS:Math.max(a,i.start(u)),endPTS:Math.min(s,i.end(u))});break}if(a<d&&s>h)n.partial=!0,n.time.push({startPTS:Math.max(a,i.start(u)),endPTS:Math.min(s,i.end(u))});else if(s<=h)break}return n},e.getPartialFragment=function(t){var e,r,i,n=null,a=0,s=this.bufferPadding,o=this.fragments;return Object.keys(o).forEach((function(l){var u=o[l];u&&yr(u)&&(r=u.body.start-s,i=u.body.end+s,t>=r&&t<=i&&(e=Math.min(t-r,i-t),a<=e&&(n=u.body,a=e)))})),n},e.isEndListAppended=function(t){var e=this.endListFragments[t];return void 0!==e&&(e.buffered||yr(e))},e.getState=function(t){var e=Tr(t),r=this.fragments[e];return r?r.buffered?yr(r)?vr:mr:gr:fr},e.isTimeBuffered=function(t,e,r){for(var i,n,a=0;a<r.length;a++){if(i=r.start(a)-this.bufferPadding,n=r.end(a)+this.bufferPadding,t>=i&&e<=n)return!0;if(e<=i)return!1}return!1},e.onFragLoaded=function(t,e){var r=e.frag,i=e.part;if("initSegment"!==r.sn&&!r.bitrateTest){var n=i?null:e,a=Tr(r);this.fragments[a]={body:r,appendedPTS:null,loaded:n,buffered:!1,range:Object.create(null)}}},e.onBufferAppended=function(t,e){var r=this,i=e.frag,n=e.part,a=e.timeRanges;if("initSegment"!==i.sn){var s=i.type;if(n){var o=this.activePartLists[s];o||(this.activePartLists[s]=o=[]),o.push(n)}this.timeRanges=a,Object.keys(a).forEach((function(t){var e=a[t];r.detectEvictedFragments(t,e,s,n)}))}},e.onFragBuffered=function(t,e){this.detectPartialFragments(e)},e.hasFragment=function(t){var e=Tr(t);return!!this.fragments[e]},e.hasParts=function(t){var e;return!(null==(e=this.activePartLists[t])||!e.length)},e.removeFragmentsInRange=function(t,e,r,i,n){var a=this;i&&!this.hasGaps||Object.keys(this.fragments).forEach((function(s){var o=a.fragments[s];if(o){var l=o.body;l.type!==r||i&&!l.gap||l.start<e&&l.end>t&&(o.buffered||n)&&a.removeFragment(l)}}))},e.removeFragment=function(t){var e=Tr(t);t.stats.loaded=0,t.clearElementaryStreamInfo();var r=this.activePartLists[t.type];if(r){var i=t.sn;this.activePartLists[t.type]=r.filter((function(t){return t.fragment.sn!==i}))}delete this.fragments[e],t.endList&&delete this.endListFragments[t.type]},e.removeAllFragments=function(){this.fragments=Object.create(null),this.endListFragments=Object.create(null),this.activePartLists=Object.create(null),this.hasGaps=!1},t}();function yr(t){var e,r,i;return t.buffered&&(t.body.gap||(null==(e=t.range.video)?void 0:e.partial)||(null==(r=t.range.audio)?void 0:r.partial)||(null==(i=t.range.audiovideo)?void 0:i.partial))}function Tr(t){return t.type+"_"+t.level+"_"+t.urlId+"_"+t.sn}var Er=Math.pow(2,17),Sr=function(){function t(t){this.config=void 0,this.loader=null,this.partLoadTimeout=-1,this.config=t}var e=t.prototype;return e.destroy=function(){this.loader&&(this.loader.destroy(),this.loader=null)},e.abort=function(){this.loader&&this.loader.abort()},e.load=function(t,e){var r=this,n=t.url;if(!n)return Promise.reject(new Ar({type:L.NETWORK_ERROR,details:R.FRAG_LOAD_ERROR,fatal:!1,frag:t,error:new Error("Fragment does not have a "+(n?"part list":"url")),networkDetails:null}));this.abort();var a=this.config,s=a.fLoader,o=a.loader;return new Promise((function(l,u){if(r.loader&&r.loader.destroy(),t.gap){if(t.tagList.some((function(t){return"GAP"===t[0]})))return void u(Rr(t));t.gap=!1}var h=r.loader=t.loader=s?new s(a):new o(a),d=Lr(t),c=Xe(a.fragLoadPolicy.default),f={loadPolicy:c,timeout:c.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:"initSegment"===t.sn?1/0:Er};t.stats=h.stats,h.load(d,f,{onSuccess:function(e,i,n,a){r.resetLoader(t,h);var s=e.data;n.resetIV&&t.decryptdata&&(t.decryptdata.iv=new Uint8Array(s.slice(0,16)),s=s.slice(16)),l({frag:t,part:null,payload:s,networkDetails:a})},onError:function(e,a,s,o){r.resetLoader(t,h),u(new Ar({type:L.NETWORK_ERROR,details:R.FRAG_LOAD_ERROR,fatal:!1,frag:t,response:i({url:n,data:void 0},e),error:new Error("HTTP Error "+e.code+" "+e.text),networkDetails:s,stats:o}))},onAbort:function(e,i,n){r.resetLoader(t,h),u(new Ar({type:L.NETWORK_ERROR,details:R.INTERNAL_ABORTED,fatal:!1,frag:t,error:new Error("Aborted"),networkDetails:n,stats:e}))},onTimeout:function(e,i,n){r.resetLoader(t,h),u(new Ar({type:L.NETWORK_ERROR,details:R.FRAG_LOAD_TIMEOUT,fatal:!1,frag:t,error:new Error("Timeout after "+f.timeout+"ms"),networkDetails:n,stats:e}))},onProgress:function(r,i,n,a){e&&e({frag:t,part:null,payload:n,networkDetails:a})}})}))},e.loadPart=function(t,e,r){var n=this;this.abort();var a=this.config,s=a.fLoader,o=a.loader;return new Promise((function(l,u){if(n.loader&&n.loader.destroy(),t.gap||e.gap)u(Rr(t,e));else{var h=n.loader=t.loader=s?new s(a):new o(a),d=Lr(t,e),c=Xe(a.fragLoadPolicy.default),f={loadPolicy:c,timeout:c.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:Er};e.stats=h.stats,h.load(d,f,{onSuccess:function(i,a,s,o){n.resetLoader(t,h),n.updateStatsFromPart(t,e);var u={frag:t,part:e,payload:i.data,networkDetails:o};r(u),l(u)},onError:function(r,a,s,o){n.resetLoader(t,h),u(new Ar({type:L.NETWORK_ERROR,details:R.FRAG_LOAD_ERROR,fatal:!1,frag:t,part:e,response:i({url:d.url,data:void 0},r),error:new Error("HTTP Error "+r.code+" "+r.text),networkDetails:s,stats:o}))},onAbort:function(r,i,a){t.stats.aborted=e.stats.aborted,n.resetLoader(t,h),u(new Ar({type:L.NETWORK_ERROR,details:R.INTERNAL_ABORTED,fatal:!1,frag:t,part:e,error:new Error("Aborted"),networkDetails:a,stats:r}))},onTimeout:function(r,i,a){n.resetLoader(t,h),u(new Ar({type:L.NETWORK_ERROR,details:R.FRAG_LOAD_TIMEOUT,fatal:!1,frag:t,part:e,error:new Error("Timeout after "+f.timeout+"ms"),networkDetails:a,stats:r}))}})}}))},e.updateStatsFromPart=function(t,e){var r=t.stats,i=e.stats,n=i.total;if(r.loaded+=i.loaded,n){var a=Math.round(t.duration/e.duration),s=Math.min(Math.round(r.loaded/n),a),o=(a-s)*Math.round(r.loaded/s);r.total=r.loaded+o}else r.total=Math.max(r.loaded,r.total);var l=r.loading,u=i.loading;l.start?l.first+=u.first-u.start:(l.start=u.start,l.first=u.first),l.end=u.end},e.resetLoader=function(t,e){t.loader=null,this.loader===e&&(self.clearTimeout(this.partLoadTimeout),this.loader=null),e.destroy()},t}();function Lr(t,e){void 0===e&&(e=null);var r=e||t,i={frag:t,part:e,responseType:"arraybuffer",url:r.url,headers:{},rangeStart:0,rangeEnd:0},n=r.byteRangeStartOffset,a=r.byteRangeEndOffset;if(E(n)&&E(a)){var s,o=n,l=a;if("initSegment"===t.sn&&"AES-128"===(null==(s=t.decryptdata)?void 0:s.method)){var u=a-n;u%16&&(l=a+(16-u%16)),0!==n&&(i.resetIV=!0,o=n-16)}i.rangeStart=o,i.rangeEnd=l}return i}function Rr(t,e){var r=new Error("GAP "+(t.gap?"tag":"attribute")+" found"),i={type:L.MEDIA_ERROR,details:R.FRAG_GAP,fatal:!1,frag:t,error:r,networkDetails:null};return e&&(i.part=e),(e||t).stats.aborted=!0,new Ar(i)}var Ar=function(t){function e(e){var r;return(r=t.call(this,e.error.message)||this).data=void 0,r.data=e,r}return l(e,t),e}(f(Error)),kr=function(){function t(t){this.config=void 0,this.keyUriToKeyInfo={},this.emeController=null,this.config=t}var e=t.prototype;return e.abort=function(t){for(var e in this.keyUriToKeyInfo){var r=this.keyUriToKeyInfo[e].loader;if(r){if(t&&t!==r.context.frag.type)return;r.abort()}}},e.detach=function(){for(var t in this.keyUriToKeyInfo){var e=this.keyUriToKeyInfo[t];(e.mediaKeySessionContext||e.decryptdata.isCommonEncryption)&&delete this.keyUriToKeyInfo[t]}},e.destroy=function(){for(var t in this.detach(),this.keyUriToKeyInfo){var e=this.keyUriToKeyInfo[t].loader;e&&e.destroy()}this.keyUriToKeyInfo={}},e.createKeyLoadError=function(t,e,r,i,n){return void 0===e&&(e=R.KEY_LOAD_ERROR),new Ar({type:L.NETWORK_ERROR,details:e,fatal:!1,frag:t,response:n,error:r,networkDetails:i})},e.loadClear=function(t,e){var r=this;if(this.emeController&&this.config.emeEnabled)for(var i=t.sn,n=t.cc,a=function(){var t=e[s];if(n<=t.cc&&("initSegment"===i||"initSegment"===t.sn||i<t.sn))return r.emeController.selectKeySystemFormat(t).then((function(e){t.setKeyFormat(e)})),"break"},s=0;s<e.length&&"break"!==a();s++);},e.load=function(t){var e=this;return!t.decryptdata&&t.encrypted&&this.emeController?this.emeController.selectKeySystemFormat(t).then((function(r){return e.loadInternal(t,r)})):this.loadInternal(t)},e.loadInternal=function(t,e){var r,i;e&&t.setKeyFormat(e);var n=t.decryptdata;if(!n){var a=new Error(e?"Expected frag.decryptdata to be defined after setting format "+e:"Missing decryption data on fragment in onKeyLoading");return Promise.reject(this.createKeyLoadError(t,R.KEY_LOAD_ERROR,a))}var s=n.uri;if(!s)return Promise.reject(this.createKeyLoadError(t,R.KEY_LOAD_ERROR,new Error('Invalid key URI: "'+s+'"')));var o,l=this.keyUriToKeyInfo[s];if(null!=(r=l)&&r.decryptdata.key)return n.key=l.decryptdata.key,Promise.resolve({frag:t,keyInfo:l});if(null!=(i=l)&&i.keyLoadPromise)switch(null==(o=l.mediaKeySessionContext)?void 0:o.keyStatus){case void 0:case"status-pending":case"usable":case"usable-in-future":return l.keyLoadPromise.then((function(e){return n.key=e.keyInfo.decryptdata.key,{frag:t,keyInfo:l}}))}switch(l=this.keyUriToKeyInfo[s]={decryptdata:n,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},n.method){case"ISO-23001-7":case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return"identity"===n.keyFormat?this.loadKeyHTTP(l,t):this.loadKeyEME(l,t);case"AES-128":return this.loadKeyHTTP(l,t);default:return Promise.reject(this.createKeyLoadError(t,R.KEY_LOAD_ERROR,new Error('Key supplied with unsupported METHOD: "'+n.method+'"')))}},e.loadKeyEME=function(t,e){var r={frag:e,keyInfo:t};if(this.emeController&&this.config.emeEnabled){var i=this.emeController.loadKey(r);if(i)return(t.keyLoadPromise=i.then((function(e){return t.mediaKeySessionContext=e,r}))).catch((function(e){throw t.keyLoadPromise=null,e}))}return Promise.resolve(r)},e.loadKeyHTTP=function(t,e){var r=this,n=this.config,a=new(0,n.loader)(n);return e.keyLoader=t.loader=a,t.keyLoadPromise=new Promise((function(s,o){var l={keyInfo:t,frag:e,responseType:"arraybuffer",url:t.decryptdata.uri},u=n.keyLoadPolicy.default,h={loadPolicy:u,timeout:u.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},d={onSuccess:function(t,e,i,n){var a=i.frag,l=i.keyInfo,u=i.url;if(!a.decryptdata||l!==r.keyUriToKeyInfo[u])return o(r.createKeyLoadError(a,R.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),n));l.decryptdata.key=a.decryptdata.key=new Uint8Array(t.data),a.keyLoader=null,l.loader=null,s({frag:a,keyInfo:l})},onError:function(t,n,a,s){r.resetLoader(n),o(r.createKeyLoadError(e,R.KEY_LOAD_ERROR,new Error("HTTP Error "+t.code+" loading key "+t.text),a,i({url:l.url,data:void 0},t)))},onTimeout:function(t,i,n){r.resetLoader(i),o(r.createKeyLoadError(e,R.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),n))},onAbort:function(t,i,n){r.resetLoader(i),o(r.createKeyLoadError(e,R.INTERNAL_ABORTED,new Error("key loading aborted"),n))}};a.load(l,h,d)}))},e.resetLoader=function(t){var e=t.frag,r=t.keyInfo,i=t.url,n=r.loader;e.keyLoader===n&&(e.keyLoader=null,r.loader=null),delete this.keyUriToKeyInfo[i],n&&n.destroy()},t}(),br=function(){function t(){this._boundTick=void 0,this._tickTimer=null,this._tickInterval=null,this._tickCallCount=0,this._boundTick=this.tick.bind(this)}var e=t.prototype;return e.destroy=function(){this.onHandlerDestroying(),this.onHandlerDestroyed()},e.onHandlerDestroying=function(){this.clearNextTick(),this.clearInterval()},e.onHandlerDestroyed=function(){},e.hasInterval=function(){return!!this._tickInterval},e.hasNextTick=function(){return!!this._tickTimer},e.setInterval=function(t){return!this._tickInterval&&(this._tickCallCount=0,this._tickInterval=self.setInterval(this._boundTick,t),!0)},e.clearInterval=function(){return!!this._tickInterval&&(self.clearInterval(this._tickInterval),this._tickInterval=null,!0)},e.clearNextTick=function(){return!!this._tickTimer&&(self.clearTimeout(this._tickTimer),this._tickTimer=null,!0)},e.tick=function(){this._tickCallCount++,1===this._tickCallCount&&(this.doTick(),this._tickCallCount>1&&this.tickImmediate(),this._tickCallCount=0)},e.tickImmediate=function(){this.clearNextTick(),this._tickTimer=self.setTimeout(this._boundTick,0)},e.doTick=function(){},t}(),Dr={length:0,start:function(){return 0},end:function(){return 0}},Ir=function(){function t(){}return t.isBuffered=function(e,r){try{if(e)for(var i=t.getBuffered(e),n=0;n<i.length;n++)if(r>=i.start(n)&&r<=i.end(n))return!0}catch(t){}return!1},t.bufferInfo=function(e,r,i){try{if(e){var n,a=t.getBuffered(e),s=[];for(n=0;n<a.length;n++)s.push({start:a.start(n),end:a.end(n)});return this.bufferedInfo(s,r,i)}}catch(t){}return{len:0,start:r,end:r,nextStart:void 0}},t.bufferedInfo=function(t,e,r){e=Math.max(0,e),t.sort((function(t,e){var r=t.start-e.start;return r||e.end-t.end}));var i=[];if(r)for(var n=0;n<t.length;n++){var a=i.length;if(a){var s=i[a-1].end;t[n].start-s<r?t[n].end>s&&(i[a-1].end=t[n].end):i.push(t[n])}else i.push(t[n])}else i=t;for(var o,l=0,u=e,h=e,d=0;d<i.length;d++){var c=i[d].start,f=i[d].end;if(e+r>=c&&e<f)u=c,l=(h=f)-e;else if(e+r<c){o=c;break}}return{len:l,start:u||0,end:h||0,nextStart:o}},t.getBuffered=function(t){try{return t.buffered}catch(t){return w.log("failed to get media.buffered",t),Dr}},t}(),wr=function(t,e,r,i,n,a){void 0===i&&(i=0),void 0===n&&(n=-1),void 0===a&&(a=!1),this.level=void 0,this.sn=void 0,this.part=void 0,this.id=void 0,this.size=void 0,this.partial=void 0,this.transmuxing={start:0,executeStart:0,executeEnd:0,end:0},this.buffering={audio:{start:0,executeStart:0,executeEnd:0,end:0},video:{start:0,executeStart:0,executeEnd:0,end:0},audiovideo:{start:0,executeStart:0,executeEnd:0,end:0}},this.level=t,this.sn=e,this.id=r,this.size=i,this.part=n,this.partial=a};function Cr(t,e){for(var r=null,i=0,n=t.length;i<n;i++){var a=t[i];if(a&&a.cc===e){r=a;break}}return r}function _r(t,e){if(t){var r=t.start+e;t.start=t.startPTS=r,t.endPTS=r+t.duration}}function Pr(t,e){for(var r=e.fragments,i=0,n=r.length;i<n;i++)_r(r[i],t);e.fragmentHint&&_r(e.fragmentHint,t),e.alignedSliding=!0}function xr(t,e,r){e&&(function(t,e,r){if(function(t,e,r){return!(!e.details||!(r.endCC>r.startCC||t&&t.cc<r.startCC))}(t,r,e)){var i=function(t,e,r){var i=t.fragments,n=e.fragments;if(n.length&&i.length){var a=Cr(i,n[0].cc);if(a&&(!a||a.startPTS))return a;w.log("No frag in previous level to align on")}else w.log("No fragments to align")}(r.details,e);i&&E(i.start)&&(w.log("Adjusting PTS using last level due to CC increase within current level "+e.url),Pr(i.start,e))}}(t,r,e),!r.alignedSliding&&e.details&&function(t,e){if(e.fragments.length&&t.hasProgramDateTime&&e.hasProgramDateTime){var r=e.fragments[0].programDateTime,i=t.fragments[0].programDateTime,n=(i-r)/1e3+e.fragments[0].start;n&&E(n)&&(w.log("Adjusting PTS using programDateTime delta "+(i-r)+"ms, sliding:"+n.toFixed(3)+" "+t.url+" "),Pr(n,t))}}(r,e.details),r.alignedSliding||!e.details||r.skippedSegments||Ke(e.details,r))}function Fr(t,e){if(t.hasProgramDateTime&&e.hasProgramDateTime){var r=t.fragments,i=e.fragments;if(r.length&&i.length){var n=i[Math.round(i.length/2)-1],a=Cr(r,n.cc)||r[Math.round(r.length/2)-1],s=n.programDateTime,o=a.programDateTime;null!==s&&null!==o&&Pr((o-s)/1e3-(a.start-n.start),t)}}}var Mr=function(){function t(t,e){this.subtle=void 0,this.aesIV=void 0,this.subtle=t,this.aesIV=e}return t.prototype.decrypt=function(t,e){return this.subtle.decrypt({name:"AES-CBC",iv:this.aesIV},e,t)},t}(),Or=function(){function t(t,e){this.subtle=void 0,this.key=void 0,this.subtle=t,this.key=e}return t.prototype.expandKey=function(){return this.subtle.importKey("raw",this.key,{name:"AES-CBC"},!1,["encrypt","decrypt"])},t}(),Nr=function(){function t(){this.rcon=[0,1,2,4,8,16,32,64,128,27,54],this.subMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.invSubMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.sBox=new Uint32Array(256),this.invSBox=new Uint32Array(256),this.key=new Uint32Array(0),this.ksRows=0,this.keySize=0,this.keySchedule=void 0,this.invKeySchedule=void 0,this.initTable()}var e=t.prototype;return e.uint8ArrayToUint32Array_=function(t){for(var e=new DataView(t),r=new Uint32Array(4),i=0;i<4;i++)r[i]=e.getUint32(4*i);return r},e.initTable=function(){var t=this.sBox,e=this.invSBox,r=this.subMix,i=r[0],n=r[1],a=r[2],s=r[3],o=this.invSubMix,l=o[0],u=o[1],h=o[2],d=o[3],c=new Uint32Array(256),f=0,g=0,v=0;for(v=0;v<256;v++)c[v]=v<128?v<<1:v<<1^283;for(v=0;v<256;v++){var m=g^g<<1^g<<2^g<<3^g<<4;m=m>>>8^255&m^99,t[f]=m,e[m]=f;var p=c[f],y=c[p],T=c[y],E=257*c[m]^16843008*m;i[f]=E<<24|E>>>8,n[f]=E<<16|E>>>16,a[f]=E<<8|E>>>24,s[f]=E,E=16843009*T^65537*y^257*p^16843008*f,l[m]=E<<24|E>>>8,u[m]=E<<16|E>>>16,h[m]=E<<8|E>>>24,d[m]=E,f?(f=p^c[c[c[T^p]]],g^=c[c[g]]):f=g=1}},e.expandKey=function(t){for(var e=this.uint8ArrayToUint32Array_(t),r=!0,i=0;i<e.length&&r;)r=e[i]===this.key[i],i++;if(!r){this.key=e;var n=this.keySize=e.length;if(4!==n&&6!==n&&8!==n)throw new Error("Invalid aes key size="+n);var a,s,o,l,u=this.ksRows=4*(n+6+1),h=this.keySchedule=new Uint32Array(u),d=this.invKeySchedule=new Uint32Array(u),c=this.sBox,f=this.rcon,g=this.invSubMix,v=g[0],m=g[1],p=g[2],y=g[3];for(a=0;a<u;a++)a<n?o=h[a]=e[a]:(l=o,a%n==0?(l=c[(l=l<<8|l>>>24)>>>24]<<24|c[l>>>16&255]<<16|c[l>>>8&255]<<8|c[255&l],l^=f[a/n|0]<<24):n>6&&a%n==4&&(l=c[l>>>24]<<24|c[l>>>16&255]<<16|c[l>>>8&255]<<8|c[255&l]),h[a]=o=(h[a-n]^l)>>>0);for(s=0;s<u;s++)a=u-s,l=3&s?h[a]:h[a-4],d[s]=s<4||a<=4?l:v[c[l>>>24]]^m[c[l>>>16&255]]^p[c[l>>>8&255]]^y[c[255&l]],d[s]=d[s]>>>0}},e.networkToHostOrderSwap=function(t){return t<<24|(65280&t)<<8|(16711680&t)>>8|t>>>24},e.decrypt=function(t,e,r){for(var i,n,a,s,o,l,u,h,d,c,f,g,v,m,p=this.keySize+6,y=this.invKeySchedule,T=this.invSBox,E=this.invSubMix,S=E[0],L=E[1],R=E[2],A=E[3],k=this.uint8ArrayToUint32Array_(r),b=k[0],D=k[1],I=k[2],w=k[3],C=new Int32Array(t),_=new Int32Array(C.length),P=this.networkToHostOrderSwap;e<C.length;){for(d=P(C[e]),c=P(C[e+1]),f=P(C[e+2]),g=P(C[e+3]),o=d^y[0],l=g^y[1],u=f^y[2],h=c^y[3],v=4,m=1;m<p;m++)i=S[o>>>24]^L[l>>16&255]^R[u>>8&255]^A[255&h]^y[v],n=S[l>>>24]^L[u>>16&255]^R[h>>8&255]^A[255&o]^y[v+1],a=S[u>>>24]^L[h>>16&255]^R[o>>8&255]^A[255&l]^y[v+2],s=S[h>>>24]^L[o>>16&255]^R[l>>8&255]^A[255&u]^y[v+3],o=i,l=n,u=a,h=s,v+=4;i=T[o>>>24]<<24^T[l>>16&255]<<16^T[u>>8&255]<<8^T[255&h]^y[v],n=T[l>>>24]<<24^T[u>>16&255]<<16^T[h>>8&255]<<8^T[255&o]^y[v+1],a=T[u>>>24]<<24^T[h>>16&255]<<16^T[o>>8&255]<<8^T[255&l]^y[v+2],s=T[h>>>24]<<24^T[o>>16&255]<<16^T[l>>8&255]<<8^T[255&u]^y[v+3],_[e]=P(i^b),_[e+1]=P(s^D),_[e+2]=P(a^I),_[e+3]=P(n^w),b=d,D=c,I=f,w=g,e+=4}return _.buffer},t}(),Ur=function(){function t(t,e){var r=(void 0===e?{}:e).removePKCS7Padding,i=void 0===r||r;if(this.logEnabled=!0,this.removePKCS7Padding=void 0,this.subtle=null,this.softwareDecrypter=null,this.key=null,this.fastAesKey=null,this.remainderData=null,this.currentIV=null,this.currentResult=null,this.useSoftware=void 0,this.useSoftware=t.enableSoftwareAES,this.removePKCS7Padding=i,i)try{var n=self.crypto;n&&(this.subtle=n.subtle||n.webkitSubtle)}catch(t){}null===this.subtle&&(this.useSoftware=!0)}var e=t.prototype;return e.destroy=function(){this.subtle=null,this.softwareDecrypter=null,this.key=null,this.fastAesKey=null,this.remainderData=null,this.currentIV=null,this.currentResult=null},e.isSync=function(){return this.useSoftware},e.flush=function(){var t=this.currentResult,e=this.remainderData;if(!t||e)return this.reset(),null;var r,i,n,a=new Uint8Array(t);return this.reset(),this.removePKCS7Padding?(i=(r=a).byteLength,(n=i&&new DataView(r.buffer).getUint8(i-1))?rt(r,0,i-n):r):a},e.reset=function(){this.currentResult=null,this.currentIV=null,this.remainderData=null,this.softwareDecrypter&&(this.softwareDecrypter=null)},e.decrypt=function(t,e,r){var i=this;return this.useSoftware?new Promise((function(n,a){i.softwareDecrypt(new Uint8Array(t),e,r);var s=i.flush();s?n(s.buffer):a(new Error("[softwareDecrypt] Failed to decrypt data"))})):this.webCryptoDecrypt(new Uint8Array(t),e,r)},e.softwareDecrypt=function(t,e,r){var i=this.currentIV,n=this.currentResult,a=this.remainderData;this.logOnce("JS AES decrypt"),a&&(t=xt(a,t),this.remainderData=null);var s=this.getValidChunk(t);if(!s.length)return null;i&&(r=i);var o=this.softwareDecrypter;o||(o=this.softwareDecrypter=new Nr),o.expandKey(e);var l=n;return this.currentResult=o.decrypt(s.buffer,0,r),this.currentIV=rt(s,-16).buffer,l||null},e.webCryptoDecrypt=function(t,e,r){var i=this,n=this.subtle;return this.key===e&&this.fastAesKey||(this.key=e,this.fastAesKey=new Or(n,e)),this.fastAesKey.expandKey().then((function(e){return n?(i.logOnce("WebCrypto AES decrypt"),new Mr(n,new Uint8Array(r)).decrypt(t.buffer,e)):Promise.reject(new Error("web crypto not initialized"))})).catch((function(n){return w.warn("[decrypter]: WebCrypto Error, disable WebCrypto API, "+n.name+": "+n.message),i.onWebCryptoError(t,e,r)}))},e.onWebCryptoError=function(t,e,r){this.useSoftware=!0,this.logEnabled=!0,this.softwareDecrypt(t,e,r);var i=this.flush();if(i)return i.buffer;throw new Error("WebCrypto and softwareDecrypt: failed to decrypt data")},e.getValidChunk=function(t){var e=t,r=t.length-t.length%16;return r!==t.length&&(e=rt(t,0,r),this.remainderData=rt(t,r)),e},e.logOnce=function(t){this.logEnabled&&(w.log("[decrypter]: "+t),this.logEnabled=!1)},t}(),Br=function(t){for(var e="",r=t.length,i=0;i<r;i++)e+="["+t.start(i).toFixed(3)+"-"+t.end(i).toFixed(3)+"]";return e},Gr="STOPPED",Kr="IDLE",Hr="KEY_LOADING",Vr="FRAG_LOADING",Yr="FRAG_LOADING_WAITING_RETRY",Wr="WAITING_TRACK",jr="PARSING",qr="PARSED",Xr="ENDED",zr="ERROR",Qr="WAITING_INIT_PTS",$r="WAITING_LEVEL",Jr=function(t){function e(e,r,i,n,a){var s;return(s=t.call(this)||this).hls=void 0,s.fragPrevious=null,s.fragCurrent=null,s.fragmentTracker=void 0,s.transmuxer=null,s._state=Gr,s.playlistType=void 0,s.media=null,s.mediaBuffer=null,s.config=void 0,s.bitrateTest=!1,s.lastCurrentTime=0,s.nextLoadPosition=0,s.startPosition=0,s.startTimeOffset=null,s.loadedmetadata=!1,s.retryDate=0,s.levels=null,s.fragmentLoader=void 0,s.keyLoader=void 0,s.levelLastLoaded=null,s.startFragRequested=!1,s.decrypter=void 0,s.initPTS=[],s.onvseeking=null,s.onvended=null,s.logPrefix="",s.log=void 0,s.warn=void 0,s.playlistType=a,s.logPrefix=n,s.log=w.log.bind(w,n+":"),s.warn=w.warn.bind(w,n+":"),s.hls=e,s.fragmentLoader=new Sr(e.config),s.keyLoader=i,s.fragmentTracker=r,s.config=e.config,s.decrypter=new Ur(e.config),e.on(S.MANIFEST_LOADED,s.onManifestLoaded,function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(s)),s}l(e,t);var r=e.prototype;return r.doTick=function(){this.onTickEnd()},r.onTickEnd=function(){},r.startLoad=function(t){},r.stopLoad=function(){this.fragmentLoader.abort(),this.keyLoader.abort(this.playlistType);var t=this.fragCurrent;null!=t&&t.loader&&(t.abortRequests(),this.fragmentTracker.removeFragment(t)),this.resetTransmuxer(),this.fragCurrent=null,this.fragPrevious=null,this.clearInterval(),this.clearNextTick(),this.state=Gr},r._streamEnded=function(t,e){if(e.live||t.nextStart||!t.end||!this.media)return!1;var r=e.partList;if(null!=r&&r.length){var i=r[r.length-1];return Ir.isBuffered(this.media,i.start+i.duration/2)}var n=e.fragments[e.fragments.length-1].type;return this.fragmentTracker.isEndListAppended(n)},r.getLevelDetails=function(){var t;if(this.levels&&null!==this.levelLastLoaded)return null==(t=this.levels[this.levelLastLoaded])?void 0:t.details},r.onMediaAttached=function(t,e){var r=this.media=this.mediaBuffer=e.media;this.onvseeking=this.onMediaSeeking.bind(this),this.onvended=this.onMediaEnded.bind(this),r.addEventListener("seeking",this.onvseeking),r.addEventListener("ended",this.onvended);var i=this.config;this.levels&&i.autoStartLoad&&this.state===Gr&&this.startLoad(i.startPosition)},r.onMediaDetaching=function(){var t=this.media;null!=t&&t.ended&&(this.log("MSE detaching and video ended, reset startPosition"),this.startPosition=this.lastCurrentTime=0),t&&this.onvseeking&&this.onvended&&(t.removeEventListener("seeking",this.onvseeking),t.removeEventListener("ended",this.onvended),this.onvseeking=this.onvended=null),this.keyLoader&&this.keyLoader.detach(),this.media=this.mediaBuffer=null,this.loadedmetadata=!1,this.fragmentTracker.removeAllFragments(),this.stopLoad()},r.onMediaSeeking=function(){var t=this.config,e=this.fragCurrent,r=this.media,i=this.mediaBuffer,n=this.state,a=r?r.currentTime:0,s=Ir.bufferInfo(i||r,a,t.maxBufferHole);if(this.log("media seeking to "+(E(a)?a.toFixed(3):a)+", state: "+n),this.state===Xr)this.resetLoadingState();else if(e){var o=t.maxFragLookUpTolerance,l=e.start-o,u=e.start+e.duration+o;if(!s.len||u<s.start||l>s.end){var h=a>u;(a<l||h)&&(h&&e.loader&&(this.log("seeking outside of buffer while fragment load in progress, cancel fragment load"),e.abortRequests(),this.resetLoadingState()),this.fragPrevious=null)}}r&&(this.fragmentTracker.removeFragmentsInRange(a,1/0,this.playlistType,!0),this.lastCurrentTime=a),this.loadedmetadata||s.len||(this.nextLoadPosition=this.startPosition=a),this.tickImmediate()},r.onMediaEnded=function(){this.startPosition=this.lastCurrentTime=0},r.onManifestLoaded=function(t,e){this.startTimeOffset=e.startTimeOffset,this.initPTS=[]},r.onHandlerDestroying=function(){this.stopLoad(),t.prototype.onHandlerDestroying.call(this)},r.onHandlerDestroyed=function(){this.state=Gr,this.fragmentLoader&&this.fragmentLoader.destroy(),this.keyLoader&&this.keyLoader.destroy(),this.decrypter&&this.decrypter.destroy(),this.hls=this.log=this.warn=this.decrypter=this.keyLoader=this.fragmentLoader=this.fragmentTracker=null,t.prototype.onHandlerDestroyed.call(this)},r.loadFragment=function(t,e,r){this._loadFragForPlayback(t,e,r)},r._loadFragForPlayback=function(t,e,r){var i=this;this._doFragLoad(t,e,r,(function(e){if(i.fragContextChanged(t))return i.warn("Fragment "+t.sn+(e.part?" p: "+e.part.index:"")+" of level "+t.level+" was dropped during download."),void i.fragmentTracker.removeFragment(t);t.stats.chunkCount++,i._handleFragmentLoadProgress(e)})).then((function(e){if(e){var r=i.state;i.fragContextChanged(t)?(r===Vr||!i.fragCurrent&&r===jr)&&(i.fragmentTracker.removeFragment(t),i.state=Kr):("payload"in e&&(i.log("Loaded fragment "+t.sn+" of level "+t.level),i.hls.trigger(S.FRAG_LOADED,e)),i._handleFragmentLoadComplete(e))}})).catch((function(e){i.state!==Gr&&i.state!==zr&&(i.warn(e),i.resetFragmentLoading(t))}))},r.clearTrackerIfNeeded=function(t){var e,r=this.fragmentTracker;if(r.getState(t)===gr){var i=t.type,n=this.getFwdBufferInfo(this.mediaBuffer,i),a=Math.max(t.duration,n?n.len:this.config.maxBufferLength);this.reduceMaxBufferLength(a)&&r.removeFragment(t)}else 0===(null==(e=this.mediaBuffer)?void 0:e.buffered.length)?r.removeAllFragments():r.hasParts(t.type)&&(r.detectPartialFragments({frag:t,part:null,stats:t.stats,id:t.type}),r.getState(t)===vr&&r.removeFragment(t))},r.flushMainBuffer=function(t,e,r){if(void 0===r&&(r=null),t-e){var i={startOffset:t,endOffset:e,type:r};this.hls.trigger(S.BUFFER_FLUSHING,i)}},r._loadInitSegment=function(t,e){var r=this;this._doFragLoad(t,e).then((function(e){if(!e||r.fragContextChanged(t)||!r.levels)throw new Error("init load aborted");return e})).then((function(e){var i=r.hls,n=e.payload,a=t.decryptdata;if(n&&n.byteLength>0&&a&&a.key&&a.iv&&"AES-128"===a.method){var s=self.performance.now();return r.decrypter.decrypt(new Uint8Array(n),a.key.buffer,a.iv.buffer).catch((function(e){throw i.trigger(S.ERROR,{type:L.MEDIA_ERROR,details:R.FRAG_DECRYPT_ERROR,fatal:!1,error:e,reason:e.message,frag:t}),e})).then((function(r){var n=self.performance.now();return i.trigger(S.FRAG_DECRYPTED,{frag:t,payload:r,stats:{tstart:s,tdecrypt:n}}),e.payload=r,e}))}return e})).then((function(i){var n=r.fragCurrent,a=r.hls;if(!r.levels)throw new Error("init load aborted, missing levels");var s=t.stats;r.state=Kr,e.fragmentError=0,t.data=new Uint8Array(i.payload),s.parsing.start=s.buffering.start=self.performance.now(),s.parsing.end=s.buffering.end=self.performance.now(),i.frag===n&&a.trigger(S.FRAG_BUFFERED,{stats:s,frag:n,part:null,id:t.type}),r.tick()})).catch((function(e){r.state!==Gr&&r.state!==zr&&(r.warn(e),r.resetFragmentLoading(t))}))},r.fragContextChanged=function(t){var e=this.fragCurrent;return!t||!e||t.level!==e.level||t.sn!==e.sn||t.urlId!==e.urlId},r.fragBufferedComplete=function(t,e){var r,i,n,a,s=this.mediaBuffer?this.mediaBuffer:this.media;this.log("Buffered "+t.type+" sn: "+t.sn+(e?" part: "+e.index:"")+" of "+(this.playlistType===ge?"level":"track")+" "+t.level+" (frag:["+(null!=(r=t.startPTS)?r:NaN).toFixed(3)+"-"+(null!=(i=t.endPTS)?i:NaN).toFixed(3)+"] > buffer:"+(s?Br(Ir.getBuffered(s)):"(detached)")+")"),this.state=Kr,s&&(!this.loadedmetadata&&t.type==ge&&s.buffered.length&&(null==(n=this.fragCurrent)?void 0:n.sn)===(null==(a=this.fragPrevious)?void 0:a.sn)&&(this.loadedmetadata=!0,this.seekToStartPos()),this.tick())},r.seekToStartPos=function(){},r._handleFragmentLoadComplete=function(t){var e=this.transmuxer;if(e){var r=t.frag,i=t.part,n=t.partsLoaded,a=!n||0===n.length||n.some((function(t){return!t})),s=new wr(r.level,r.sn,r.stats.chunkCount+1,0,i?i.index:-1,!a);e.flush(s)}},r._handleFragmentLoadProgress=function(t){},r._doFragLoad=function(t,e,r,i){var n,a=this;void 0===r&&(r=null);var s=null==e?void 0:e.details;if(!this.levels||!s)throw new Error("frag load aborted, missing level"+(s?"":" detail")+"s");var o=null;if(!t.encrypted||null!=(n=t.decryptdata)&&n.key?!t.encrypted&&s.encryptedFragments.length&&this.keyLoader.loadClear(t,s.encryptedFragments):(this.log("Loading key for "+t.sn+" of ["+s.startSN+"-"+s.endSN+"], "+("[stream-controller]"===this.logPrefix?"level":"track")+" "+t.level),this.state=Hr,this.fragCurrent=t,o=this.keyLoader.load(t).then((function(t){if(!a.fragContextChanged(t.frag))return a.hls.trigger(S.KEY_LOADED,t),a.state===Hr&&(a.state=Kr),t})),this.hls.trigger(S.KEY_LOADING,{frag:t}),null===this.fragCurrent&&(o=Promise.reject(new Error("frag load aborted, context changed in KEY_LOADING")))),r=Math.max(t.start,r||0),this.config.lowLatencyMode&&"initSegment"!==t.sn){var l=s.partList;if(l&&i){r>t.end&&s.fragmentHint&&(t=s.fragmentHint);var u=this.getNextPart(l,t,r);if(u>-1){var h,d=l[u];return this.log("Loading part sn: "+t.sn+" p: "+d.index+" cc: "+t.cc+" of playlist ["+s.startSN+"-"+s.endSN+"] parts [0-"+u+"-"+(l.length-1)+"] "+("[stream-controller]"===this.logPrefix?"level":"track")+": "+t.level+", target: "+parseFloat(r.toFixed(3))),this.nextLoadPosition=d.start+d.duration,this.state=Vr,h=o?o.then((function(r){return!r||a.fragContextChanged(r.frag)?null:a.doFragPartsLoad(t,d,e,i)})).catch((function(t){return a.handleFragLoadError(t)})):this.doFragPartsLoad(t,d,e,i).catch((function(t){return a.handleFragLoadError(t)})),this.hls.trigger(S.FRAG_LOADING,{frag:t,part:d,targetBufferTime:r}),null===this.fragCurrent?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING parts")):h}if(!t.url||this.loadedEndOfParts(l,r))return Promise.resolve(null)}}this.log("Loading fragment "+t.sn+" cc: "+t.cc+" "+(s?"of ["+s.startSN+"-"+s.endSN+"] ":"")+("[stream-controller]"===this.logPrefix?"level":"track")+": "+t.level+", target: "+parseFloat(r.toFixed(3))),E(t.sn)&&!this.bitrateTest&&(this.nextLoadPosition=t.start+t.duration),this.state=Vr;var c,f=this.config.progressive;return c=f&&o?o.then((function(e){return!e||a.fragContextChanged(null==e?void 0:e.frag)?null:a.fragmentLoader.load(t,i)})).catch((function(t){return a.handleFragLoadError(t)})):Promise.all([this.fragmentLoader.load(t,f?i:void 0),o]).then((function(t){var e=t[0];return!f&&e&&i&&i(e),e})).catch((function(t){return a.handleFragLoadError(t)})),this.hls.trigger(S.FRAG_LOADING,{frag:t,targetBufferTime:r}),null===this.fragCurrent?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING")):c},r.doFragPartsLoad=function(t,e,r,i){var n=this;return new Promise((function(a,s){var o,l=[],u=null==(o=r.details)?void 0:o.partList;!function e(o){n.fragmentLoader.loadPart(t,o,i).then((function(i){l[o.index]=i;var s=i.part;n.hls.trigger(S.FRAG_LOADED,i);var h=Ve(r,t.sn,o.index+1)||Ye(u,t.sn,o.index+1);if(!h)return a({frag:t,part:s,partsLoaded:l});e(h)})).catch(s)}(e)}))},r.handleFragLoadError=function(t){if("data"in t){var e=t.data;t.data&&e.details===R.INTERNAL_ABORTED?this.handleFragLoadAborted(e.frag,e.part):this.hls.trigger(S.ERROR,e)}else this.hls.trigger(S.ERROR,{type:L.OTHER_ERROR,details:R.INTERNAL_EXCEPTION,err:t,error:t,fatal:!0});return null},r._handleTransmuxerFlush=function(t){var e=this.getCurrentContext(t);if(e&&this.state===jr){var r=e.frag,i=e.part,n=e.level,a=self.performance.now();r.stats.parsing.end=a,i&&(i.stats.parsing.end=a),this.updateLevelTiming(r,i,n,t.partial)}else this.fragCurrent||this.state===Gr||this.state===zr||(this.state=Kr)},r.getCurrentContext=function(t){var e=this.levels,r=this.fragCurrent,i=t.level,n=t.sn,a=t.part;if(null==e||!e[i])return this.warn("Levels object was unset while buffering fragment "+n+" of level "+i+". The current chunk will not be buffered."),null;var s=e[i],o=a>-1?Ve(s,n,a):null,l=o?o.fragment:function(t,e,r){if(null==t||!t.details)return null;var i=t.details,n=i.fragments[e-i.startSN];return n||((n=i.fragmentHint)&&n.sn===e?n:e<i.startSN&&r&&r.sn===e?r:null)}(s,n,r);return l?(r&&r!==l&&(l.stats=r.stats),{frag:l,part:o,level:s}):null},r.bufferFragmentData=function(t,e,r,i,n){var a;if(t&&this.state===jr){var s=t.data1,o=t.data2,l=s;if(s&&o&&(l=xt(s,o)),null!=(a=l)&&a.length){var u={type:t.type,frag:e,part:r,chunkMeta:i,parent:e.type,data:l};if(this.hls.trigger(S.BUFFER_APPENDING,u),t.dropped&&t.independent&&!r){if(n)return;this.flushBufferGap(e)}}}},r.flushBufferGap=function(t){var e=this.media;if(e)if(Ir.isBuffered(e,e.currentTime)){var r=e.currentTime,i=Ir.bufferInfo(e,r,0),n=t.duration,a=Math.min(2*this.config.maxFragLookUpTolerance,.25*n),s=Math.max(Math.min(t.start-a,i.end-a),r+a);t.start-s>a&&this.flushMainBuffer(s,t.start)}else this.flushMainBuffer(0,t.start)},r.getFwdBufferInfo=function(t,e){var r=this.getLoadPosition();return E(r)?this.getFwdBufferInfoAtPos(t,r,e):null},r.getFwdBufferInfoAtPos=function(t,e,r){var i=this.config.maxBufferHole,n=Ir.bufferInfo(t,e,i);if(0===n.len&&void 0!==n.nextStart){var a=this.fragmentTracker.getBufferedFrag(e,r);if(a&&n.nextStart<a.end)return Ir.bufferInfo(t,e,Math.max(n.nextStart,i))}return n},r.getMaxBufferLength=function(t){var e,r=this.config;return e=t?Math.max(8*r.maxBufferSize/t,r.maxBufferLength):r.maxBufferLength,Math.min(e,r.maxMaxBufferLength)},r.reduceMaxBufferLength=function(t){var e=this.config,r=t||e.maxBufferLength;return e.maxMaxBufferLength>=r&&(e.maxMaxBufferLength/=2,this.warn("Reduce max buffer length to "+e.maxMaxBufferLength+"s"),!0)},r.getAppendedFrag=function(t,e){var r=this.fragmentTracker.getAppendedFrag(t,ge);return r&&"fragment"in r?r.fragment:r},r.getNextFragment=function(t,e){var r=e.fragments,i=r.length;if(!i)return null;var n,a=this.config,s=r[0].start;if(e.live){var o=a.initialLiveManifestSize;if(i<o)return this.warn("Not enough fragments to start playback (have: "+i+", need: "+o+")"),null;e.PTSKnown||this.startFragRequested||-1!==this.startPosition||(n=this.getInitialLiveFragment(e,r),this.startPosition=n?this.hls.liveSyncPosition||n.start:t)}else t<=s&&(n=r[0]);if(!n){var l=a.lowLatencyMode?e.partEnd:e.fragmentEnd;n=this.getFragmentAtPosition(t,l,e)}return this.mapToInitFragWhenRequired(n)},r.isLoopLoading=function(t,e){var r=this.fragmentTracker.getState(t);return(r===mr||r===vr&&!!t.gap)&&this.nextLoadPosition>e},r.getNextFragmentLoopLoading=function(t,e,r,i,n){var a=t.gap,s=this.getNextFragment(this.nextLoadPosition,e);if(null===s)return s;if(t=s,a&&t&&!t.gap&&r.nextStart){var o=this.getFwdBufferInfoAtPos(this.mediaBuffer?this.mediaBuffer:this.media,r.nextStart,i);if(null!==o&&r.len+o.len>=n)return this.log('buffer full after gaps in "'+i+'" playlist starting at sn: '+t.sn),null}return t},r.mapToInitFragWhenRequired=function(t){return null==t||!t.initSegment||null!=t&&t.initSegment.data||this.bitrateTest?t:t.initSegment},r.getNextPart=function(t,e,r){for(var i=-1,n=!1,a=!0,s=0,o=t.length;s<o;s++){var l=t[s];if(a=a&&!l.independent,i>-1&&r<l.start)break;var u=l.loaded;u?i=-1:(n||l.independent||a)&&l.fragment===e&&(i=s),n=u}return i},r.loadedEndOfParts=function(t,e){var r=t[t.length-1];return r&&e>r.start&&r.loaded},r.getInitialLiveFragment=function(t,e){var r=this.fragPrevious,i=null;if(r){if(t.hasProgramDateTime&&(this.log("Live playlist, switching playlist, load frag with same PDT: "+r.programDateTime),i=function(t,e,r){if(null===e||!Array.isArray(t)||!t.length||!E(e))return null;if(e<(t[0].programDateTime||0))return null;if(e>=(t[t.length-1].endProgramDateTime||0))return null;r=r||0;for(var i=0;i<t.length;++i){var n=t[i];if(Ze(e,r,n))return n}return null}(e,r.endProgramDateTime,this.config.maxFragLookUpTolerance)),!i){var n=r.sn+1;if(n>=t.startSN&&n<=t.endSN){var a=e[n-t.startSN];r.cc===a.cc&&(i=a,this.log("Live playlist, switching playlist, load frag with next SN: "+i.sn))}i||(i=function(t,e){return Qe(t,(function(t){return t.cc<e?1:t.cc>e?-1:0}))}(e,r.cc),i&&this.log("Live playlist, switching playlist, load frag with same CC: "+i.sn))}}else{var s=this.hls.liveSyncPosition;null!==s&&(i=this.getFragmentAtPosition(s,this.bitrateTest?t.fragmentEnd:t.edge,t))}return i},r.getFragmentAtPosition=function(t,e,r){var i,n=this.config,a=this.fragPrevious,s=r.fragments,o=r.endSN,l=r.fragmentHint,u=n.maxFragLookUpTolerance,h=r.partList,d=!!(n.lowLatencyMode&&null!=h&&h.length&&l);if(d&&l&&!this.bitrateTest&&(s=s.concat(l),o=l.sn),i=t<e?$e(a,s,t,t>e-u?0:u):s[s.length-1]){var c=i.sn-r.startSN,f=this.fragmentTracker.getState(i);if((f===mr||f===vr&&i.gap)&&(a=i),a&&i.sn===a.sn&&(!d||h[0].fragment.sn>i.sn)&&a&&i.level===a.level){var g=s[c+1];i=i.sn<o&&this.fragmentTracker.getState(g)!==mr?g:null}}return i},r.synchronizeToLiveEdge=function(t){var e=this.config,r=this.media;if(r){var i=this.hls.liveSyncPosition,n=r.currentTime,a=t.fragments[0].start,s=t.edge,o=n>=a-e.maxFragLookUpTolerance&&n<=s;if(null!==i&&r.duration>i&&(n<i||!o)){var l=void 0!==e.liveMaxLatencyDuration?e.liveMaxLatencyDuration:e.liveMaxLatencyDurationCount*t.targetduration;(!o&&r.readyState<4||n<s-l)&&(this.loadedmetadata||(this.nextLoadPosition=i),r.readyState&&(this.warn("Playback: "+n.toFixed(3)+" is located too far from the end of live sliding playlist: "+s+", reset currentTime to : "+i.toFixed(3)),r.currentTime=i))}}},r.alignPlaylists=function(t,e){var r=this.levels,i=this.levelLastLoaded,n=this.fragPrevious,a=null!==i?r[i]:null,s=t.fragments.length;if(!s)return this.warn("No fragments in live playlist"),0;var o=t.fragments[0].start,l=!e,u=t.alignedSliding&&E(o);if(l||!u&&!o){xr(n,a,t);var h=t.fragments[0].start;return this.log("Live playlist sliding: "+h.toFixed(2)+" start-sn: "+(e?e.startSN:"na")+"->"+t.startSN+" prev-sn: "+(n?n.sn:"na")+" fragments: "+s),h}return o},r.waitForCdnTuneIn=function(t){return t.live&&t.canBlockReload&&t.partTarget&&t.tuneInGoal>Math.max(t.partHoldBack,3*t.partTarget)},r.setStartPosition=function(t,e){var r=this.startPosition;if(r<e&&(r=-1),-1===r||-1===this.lastCurrentTime){var i=null!==this.startTimeOffset,n=i?this.startTimeOffset:t.startTimeOffset;null!==n&&E(n)?(r=e+n,n<0&&(r+=t.totalduration),r=Math.min(Math.max(e,r),e+t.totalduration),this.log("Start time offset "+n+" found in "+(i?"multivariant":"media")+" playlist, adjust startPosition to "+r),this.startPosition=r):t.live?r=this.hls.liveSyncPosition||e:this.startPosition=r=0,this.lastCurrentTime=r}this.nextLoadPosition=r},r.getLoadPosition=function(){var t=this.media,e=0;return this.loadedmetadata&&t?e=t.currentTime:this.nextLoadPosition&&(e=this.nextLoadPosition),e},r.handleFragLoadAborted=function(t,e){this.transmuxer&&"initSegment"!==t.sn&&t.stats.aborted&&(this.warn("Fragment "+t.sn+(e?" part "+e.index:"")+" of level "+t.level+" was aborted"),this.resetFragmentLoading(t))},r.resetFragmentLoading=function(t){this.fragCurrent&&(this.fragContextChanged(t)||this.state===Yr)||(this.state=Kr)},r.onFragmentOrKeyLoadError=function(t,e){if(e.chunkMeta&&!e.frag){var r=this.getCurrentContext(e.chunkMeta);r&&(e.frag=r.frag)}var i=e.frag;if(i&&i.type===t&&this.levels)if(this.fragContextChanged(i)){var n;this.warn("Frag load error must match current frag to retry "+i.url+" > "+(null==(n=this.fragCurrent)?void 0:n.url))}else{var a=e.details===R.FRAG_GAP;a&&this.fragmentTracker.fragBuffered(i,!0);var s=e.errorAction,o=s||{},l=o.action,u=o.retryCount,h=void 0===u?0:u,d=o.retryConfig;if(s&&l===nr&&d){var c;this.resetStartWhenNotLoaded(null!=(c=this.levelLastLoaded)?c:i.level);var f=qe(d,h);this.warn("Fragment "+i.sn+" of "+t+" "+i.level+" errored with "+e.details+", retrying loading "+(h+1)+"/"+d.maxNumRetry+" in "+f+"ms"),s.resolved=!0,this.retryDate=self.performance.now()+f,this.state=Yr}else d&&s?(this.resetFragmentErrors(t),h<d.maxNumRetry?a||(s.resolved=!0):w.warn(e.details+" reached or exceeded max retry ("+h+")")):(null==s?void 0:s.action)===ir?this.state=$r:this.state=zr;this.tickImmediate()}},r.reduceLengthAndFlushBuffer=function(t){if(this.state===jr||this.state===qr){var e=t.parent,r=this.getFwdBufferInfo(this.mediaBuffer,e),i=r&&r.len>.5;i&&this.reduceMaxBufferLength(r.len);var n=!i;return n&&this.warn("Buffer full error while media.currentTime is not buffered, flush "+e+" buffer"),t.frag&&(this.fragmentTracker.removeFragment(t.frag),this.nextLoadPosition=t.frag.start),this.resetLoadingState(),n}return!1},r.resetFragmentErrors=function(t){t===ve&&(this.fragCurrent=null),this.loadedmetadata||(this.startFragRequested=!1),this.state!==Gr&&(this.state=Kr)},r.afterBufferFlushed=function(t,e,r){if(t){var i=Ir.getBuffered(t);this.fragmentTracker.detectEvictedFragments(e,i,r),this.state===Xr&&this.resetLoadingState()}},r.resetLoadingState=function(){this.log("Reset loading state"),this.fragCurrent=null,this.fragPrevious=null,this.state=Kr},r.resetStartWhenNotLoaded=function(t){if(!this.loadedmetadata){this.startFragRequested=!1;var e=this.levels?this.levels[t].details:null;null!=e&&e.live?(this.startPosition=-1,this.setStartPosition(e,0),this.resetLoadingState()):this.nextLoadPosition=this.startPosition}},r.resetWhenMissingContext=function(t){var e;this.warn("The loading context changed while buffering fragment "+t.sn+" of level "+t.level+". This chunk will not be buffered."),this.removeUnbufferedFrags(),this.resetStartWhenNotLoaded(null!=(e=this.levelLastLoaded)?e:t.level),this.resetLoadingState()},r.removeUnbufferedFrags=function(t){void 0===t&&(t=0),this.fragmentTracker.removeFragmentsInRange(t,1/0,this.playlistType,!1,!0)},r.updateLevelTiming=function(t,e,r,i){var n,a=this,s=r.details;if(s){if(Object.keys(t.elementaryStreams).reduce((function(e,n){var o=t.elementaryStreams[n];if(o){var l=o.endPTS-o.startPTS;if(l<=0)return a.warn("Could not parse fragment "+t.sn+" "+n+" duration reliably ("+l+")"),e||!1;var u=i?0:Be(s,t,o.startPTS,o.endPTS,o.startDTS,o.endDTS);return a.hls.trigger(S.LEVEL_PTS_UPDATED,{details:s,level:r,drift:u,type:n,frag:t,start:o.startPTS,end:o.endPTS}),!0}return e}),!1))r.fragmentError=0;else if(null===(null==(n=this.transmuxer)?void 0:n.error)){var o=new Error("Found no media in fragment "+t.sn+" of level "+t.level+" resetting transmuxer to fallback to playlist timing");if(0===r.fragmentError&&(r.fragmentError++,t.gap=!0,this.fragmentTracker.removeFragment(t),this.fragmentTracker.fragBuffered(t,!0)),this.warn(o.message),this.hls.trigger(S.ERROR,{type:L.MEDIA_ERROR,details:R.FRAG_PARSING_ERROR,fatal:!1,error:o,frag:t,reason:"Found no media in msn "+t.sn+' of level "'+r.url+'"'}),!this.hls)return;this.resetTransmuxer()}this.state=qr,this.hls.trigger(S.FRAG_PARSED,{frag:t,part:e})}else this.warn("level.details undefined")},r.resetTransmuxer=function(){this.transmuxer&&(this.transmuxer.destroy(),this.transmuxer=null)},r.recoverWorkerError=function(t){var e,r,i;"demuxerWorker"===t.event&&(this.fragmentTracker.removeAllFragments(),this.resetTransmuxer(),this.resetStartWhenNotLoaded(null!=(e=null!=(r=this.levelLastLoaded)?r:null==(i=this.fragCurrent)?void 0:i.level)?e:0),this.resetLoadingState())},a(e,[{key:"state",get:function(){return this._state},set:function(t){var e=this._state;e!==t&&(this._state=t,this.log(e+"->"+t))}}]),e}(br);function Zr(){return self.SourceBuffer||self.WebKitSourceBuffer}function ti(t,e){return void 0===t&&(t=""),void 0===e&&(e=9e4),{type:t,id:-1,pid:-1,inputTimeScale:e,sequenceNumber:-1,samples:[],dropped:0}}var ei=function(){function t(){this._audioTrack=void 0,this._id3Track=void 0,this.frameIndex=0,this.cachedData=null,this.basePTS=null,this.initPTS=null,this.lastPTS=null}var e=t.prototype;return e.resetInitSegment=function(t,e,r,i){this._id3Track={type:"id3",id:3,pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],dropped:0}},e.resetTimeStamp=function(t){this.initPTS=t,this.resetContiguity()},e.resetContiguity=function(){this.basePTS=null,this.lastPTS=null,this.frameIndex=0},e.canParse=function(t,e){return!1},e.appendFrame=function(t,e,r){},e.demux=function(t,e){this.cachedData&&(t=xt(this.cachedData,t),this.cachedData=null);var r,i=st(t,0),n=i?i.length:0,a=this._audioTrack,s=this._id3Track,o=i?function(t){for(var e=dt(t),r=0;r<e.length;r++){var i=e[r];if(ut(i))return mt(i)}}(i):void 0,l=t.length;for((null===this.basePTS||0===this.frameIndex&&E(o))&&(this.basePTS=ri(o,e,this.initPTS),this.lastPTS=this.basePTS),null===this.lastPTS&&(this.lastPTS=this.basePTS),i&&i.length>0&&s.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:i,type:Ae,duration:Number.POSITIVE_INFINITY});n<l;){if(this.canParse(t,n)){var u=this.appendFrame(a,t,n);u?(this.frameIndex++,this.lastPTS=u.sample.pts,r=n+=u.length):n=l}else lt(t,n)?(i=st(t,n),s.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:i,type:Ae,duration:Number.POSITIVE_INFINITY}),r=n+=i.length):n++;if(n===l&&r!==l){var h=rt(t,r);this.cachedData?this.cachedData=xt(this.cachedData,h):this.cachedData=h}}return{audioTrack:a,videoTrack:ti(),id3Track:s,textTrack:ti()}},e.demuxSampleAes=function(t,e,r){return Promise.reject(new Error("["+this+"] This demuxer does not support Sample-AES decryption"))},e.flush=function(t){var e=this.cachedData;return e&&(this.cachedData=null,this.demux(e,0)),{audioTrack:this._audioTrack,videoTrack:ti(),id3Track:this._id3Track,textTrack:ti()}},e.destroy=function(){},t}(),ri=function(t,e,r){return E(t)?90*t:9e4*e+(r?9e4*r.baseTime/r.timescale:0)};function ii(t,e){return 255===t[e]&&240==(246&t[e+1])}function ni(t,e){return 1&t[e+1]?7:9}function ai(t,e){return(3&t[e+3])<<11|t[e+4]<<3|(224&t[e+5])>>>5}function si(t,e){return e+1<t.length&&ii(t,e)}function oi(t,e){if(si(t,e)){var r=ni(t,e);if(e+r>=t.length)return!1;var i=ai(t,e);if(i<=r)return!1;var n=e+i;return n===t.length||si(t,n)}return!1}function li(t,e,r,i,n){if(!t.samplerate){var a=function(t,e,r,i){var n,a,s,o,l=navigator.userAgent.toLowerCase(),u=i,h=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];n=1+((192&e[r+2])>>>6);var d=(60&e[r+2])>>>2;if(!(d>h.length-1))return s=(1&e[r+2])<<2,s|=(192&e[r+3])>>>6,w.log("manifest codec:"+i+", ADTS type:"+n+", samplingIndex:"+d),/firefox/i.test(l)?d>=6?(n=5,o=new Array(4),a=d-3):(n=2,o=new Array(2),a=d):-1!==l.indexOf("android")?(n=2,o=new Array(2),a=d):(n=5,o=new Array(4),i&&(-1!==i.indexOf("mp4a.40.29")||-1!==i.indexOf("mp4a.40.5"))||!i&&d>=6?a=d-3:((i&&-1!==i.indexOf("mp4a.40.2")&&(d>=6&&1===s||/vivaldi/i.test(l))||!i&&1===s)&&(n=2,o=new Array(2)),a=d)),o[0]=n<<3,o[0]|=(14&d)>>1,o[1]|=(1&d)<<7,o[1]|=s<<3,5===n&&(o[1]|=(14&a)>>1,o[2]=(1&a)<<7,o[2]|=8,o[3]=0),{config:o,samplerate:h[d],channelCount:s,codec:"mp4a.40."+n,manifestCodec:u};t.trigger(S.ERROR,{type:L.MEDIA_ERROR,details:R.FRAG_PARSING_ERROR,fatal:!0,reason:"invalid ADTS sampling index:"+d})}(e,r,i,n);if(!a)return;t.config=a.config,t.samplerate=a.samplerate,t.channelCount=a.channelCount,t.codec=a.codec,t.manifestCodec=a.manifestCodec,w.log("parsed codec:"+t.codec+", rate:"+a.samplerate+", channels:"+a.channelCount)}}function ui(t){return 9216e4/t}function hi(t,e,r,i,n){var a,s=i+n*ui(t.samplerate),o=function(t,e){var r=ni(t,e);if(e+r<=t.length){var i=ai(t,e)-r;if(i>0)return{headerLength:r,frameLength:i}}}(e,r);if(o){var l=o.frameLength,u=o.headerLength,h=u+l,d=Math.max(0,r+h-e.length);d?(a=new Uint8Array(h-u)).set(e.subarray(r+u,e.length),0):a=e.subarray(r+u,r+h);var c={unit:a,pts:s};return d||t.samples.push(c),{sample:c,length:h,missing:d}}var f=e.length-r;return(a=new Uint8Array(f)).set(e.subarray(r,e.length),0),{sample:{unit:a,pts:s},length:f,missing:-1}}var di=function(t){function e(e,r){var i;return(i=t.call(this)||this).observer=void 0,i.config=void 0,i.observer=e,i.config=r,i}l(e,t);var r=e.prototype;return r.resetInitSegment=function(e,r,i,n){t.prototype.resetInitSegment.call(this,e,r,i,n),this._audioTrack={container:"audio/adts",type:"audio",id:2,pid:-1,sequenceNumber:0,segmentCodec:"aac",samples:[],manifestCodec:r,duration:n,inputTimeScale:9e4,dropped:0}},e.probe=function(t){if(!t)return!1;for(var e=(st(t,0)||[]).length,r=t.length;e<r;e++)if(oi(t,e))return w.log("ADTS sync word found !"),!0;return!1},r.canParse=function(t,e){return function(t,e){return function(t,e){return e+5<t.length}(t,e)&&ii(t,e)&&ai(t,e)<=t.length-e}(t,e)},r.appendFrame=function(t,e,r){li(t,this.observer,e,r,t.manifestCodec);var i=hi(t,e,r,this.basePTS,this.frameIndex);if(i&&0===i.missing)return i},e}(ei),ci=/\/emsg[-/]ID3/i,fi=function(){function t(t,e){this.remainderData=null,this.timeOffset=0,this.config=void 0,this.videoTrack=void 0,this.audioTrack=void 0,this.id3Track=void 0,this.txtTrack=void 0,this.config=e}var e=t.prototype;return e.resetTimeStamp=function(){},e.resetInitSegment=function(t,e,r,i){var n=this.videoTrack=ti("video",1),a=this.audioTrack=ti("audio",1),s=this.txtTrack=ti("text",1);if(this.id3Track=ti("id3",1),this.timeOffset=0,null!=t&&t.byteLength){var o=Ct(t);if(o.video){var l=o.video,u=l.id,h=l.timescale,d=l.codec;n.id=u,n.timescale=s.timescale=h,n.codec=d}if(o.audio){var c=o.audio,f=c.id,g=c.timescale,v=c.codec;a.id=f,a.timescale=g,a.codec=v}s.id=Lt.text,n.sampleDuration=0,n.duration=a.duration=i}},e.resetContiguity=function(){this.remainderData=null},t.probe=function(t){return It(t=t.length>16384?t.subarray(0,16384):t,["moof"]).length>0},e.demux=function(t,e){this.timeOffset=e;var r=t,i=this.videoTrack,n=this.txtTrack;if(this.config.progressive){this.remainderData&&(r=xt(this.remainderData,t));var a=function(t){var e={valid:null,remainder:null},r=It(t,["moof"]);if(!r)return e;if(r.length<2)return e.remainder=t,e;var i=r[r.length-1];return e.valid=rt(t,0,i.byteOffset-8),e.remainder=rt(t,i.byteOffset-8),e}(r);this.remainderData=a.remainder,i.samples=a.valid||new Uint8Array}else i.samples=r;var s=this.extractID3Track(i,e);return n.samples=Ft(e,i),{videoTrack:i,audioTrack:this.audioTrack,id3Track:s,textTrack:this.txtTrack}},e.flush=function(){var t=this.timeOffset,e=this.videoTrack,r=this.txtTrack;e.samples=this.remainderData||new Uint8Array,this.remainderData=null;var i=this.extractID3Track(e,this.timeOffset);return r.samples=Ft(t,e),{videoTrack:e,audioTrack:ti(),id3Track:i,textTrack:ti()}},e.extractID3Track=function(t,e){var r=this.id3Track;if(t.samples.length){var i=It(t.samples,["emsg"]);i&&i.forEach((function(t){var i=function(t){var e=t[0],r="",i="",n=0,a=0,s=0,o=0,l=0,u=0;if(0===e){for(;"\0"!==Rt(t.subarray(u,u+1));)r+=Rt(t.subarray(u,u+1)),u+=1;for(r+=Rt(t.subarray(u,u+1)),u+=1;"\0"!==Rt(t.subarray(u,u+1));)i+=Rt(t.subarray(u,u+1)),u+=1;i+=Rt(t.subarray(u,u+1)),u+=1,n=kt(t,12),a=kt(t,16),o=kt(t,20),l=kt(t,24),u=28}else if(1===e){n=kt(t,u+=4);var h=kt(t,u+=4),d=kt(t,u+=4);for(u+=4,s=Math.pow(2,32)*h+d,Number.isSafeInteger(s)||(s=Number.MAX_SAFE_INTEGER,w.warn("Presentation time exceeds safe integer limit and wrapped to max safe integer in parsing emsg box")),o=kt(t,u),l=kt(t,u+=4),u+=4;"\0"!==Rt(t.subarray(u,u+1));)r+=Rt(t.subarray(u,u+1)),u+=1;for(r+=Rt(t.subarray(u,u+1)),u+=1;"\0"!==Rt(t.subarray(u,u+1));)i+=Rt(t.subarray(u,u+1)),u+=1;i+=Rt(t.subarray(u,u+1)),u+=1}return{schemeIdUri:r,value:i,timeScale:n,presentationTime:s,presentationTimeDelta:a,eventDuration:o,id:l,payload:t.subarray(u,t.byteLength)}}(t);if(ci.test(i.schemeIdUri)){var n=E(i.presentationTime)?i.presentationTime/i.timeScale:e+i.presentationTimeDelta/i.timeScale,a=4294967295===i.eventDuration?Number.POSITIVE_INFINITY:i.eventDuration/i.timeScale;a<=.001&&(a=Number.POSITIVE_INFINITY);var s=i.payload;r.samples.push({data:s,len:s.byteLength,dts:n,pts:n,type:be,duration:a})}}))}return r},e.demuxSampleAes=function(t,e,r){return Promise.reject(new Error("The MP4 demuxer does not support SAMPLE-AES decryption"))},e.destroy=function(){},t}(),gi=null,vi=[32,64,96,128,160,192,224,256,288,320,352,384,416,448,32,48,56,64,80,96,112,128,160,192,224,256,320,384,32,40,48,56,64,80,96,112,128,160,192,224,256,320,32,48,56,64,80,96,112,128,144,160,176,192,224,256,8,16,24,32,40,48,56,64,80,96,112,128,144,160],mi=[44100,48e3,32e3,22050,24e3,16e3,11025,12e3,8e3],pi=[[0,72,144,12],[0,0,0,0],[0,72,144,12],[0,144,144,12]],yi=[0,1,1,4];function Ti(t,e,r,i,n){if(!(r+24>e.length)){var a=Ei(e,r);if(a&&r+a.frameLength<=e.length){var s=i+n*(9e4*a.samplesPerFrame/a.sampleRate),o={unit:e.subarray(r,r+a.frameLength),pts:s,dts:s};return t.config=[],t.channelCount=a.channelCount,t.samplerate=a.sampleRate,t.samples.push(o),{sample:o,length:a.frameLength,missing:0}}}}function Ei(t,e){var r=t[e+1]>>3&3,i=t[e+1]>>1&3,n=t[e+2]>>4&15,a=t[e+2]>>2&3;if(1!==r&&0!==n&&15!==n&&3!==a){var s=t[e+2]>>1&1,o=t[e+3]>>6,l=1e3*vi[14*(3===r?3-i:3===i?3:4)+n-1],u=mi[3*(3===r?0:2===r?1:2)+a],h=3===o?1:2,d=pi[r][i],c=yi[i],f=8*d*c,g=Math.floor(d*l/u+s)*c;if(null===gi){var v=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);gi=v?parseInt(v[1]):0}return!!gi&&gi<=87&&2===i&&l>=224e3&&0===o&&(t[e+3]=128|t[e+3]),{sampleRate:u,channelCount:h,frameLength:g,samplesPerFrame:f}}}function Si(t,e){return 255===t[e]&&224==(224&t[e+1])&&0!=(6&t[e+1])}function Li(t,e){return e+1<t.length&&Si(t,e)}function Ri(t,e){if(e+1<t.length&&Si(t,e)){var r=Ei(t,e),i=4;null!=r&&r.frameLength&&(i=r.frameLength);var n=e+i;return n===t.length||Li(t,n)}return!1}var Ai=function(){function t(t){this.data=void 0,this.bytesAvailable=void 0,this.word=void 0,this.bitsAvailable=void 0,this.data=t,this.bytesAvailable=t.byteLength,this.word=0,this.bitsAvailable=0}var e=t.prototype;return e.loadWord=function(){var t=this.data,e=this.bytesAvailable,r=t.byteLength-e,i=new Uint8Array(4),n=Math.min(4,e);if(0===n)throw new Error("no bytes available");i.set(t.subarray(r,r+n)),this.word=new DataView(i.buffer).getUint32(0),this.bitsAvailable=8*n,this.bytesAvailable-=n},e.skipBits=function(t){var e;t=Math.min(t,8*this.bytesAvailable+this.bitsAvailable),this.bitsAvailable>t?(this.word<<=t,this.bitsAvailable-=t):(t-=this.bitsAvailable,t-=(e=t>>3)<<3,this.bytesAvailable-=e,this.loadWord(),this.word<<=t,this.bitsAvailable-=t)},e.readBits=function(t){var e=Math.min(this.bitsAvailable,t),r=this.word>>>32-e;if(t>32&&w.error("Cannot read more than 32 bits at a time"),this.bitsAvailable-=e,this.bitsAvailable>0)this.word<<=e;else{if(!(this.bytesAvailable>0))throw new Error("no bits available");this.loadWord()}return(e=t-e)>0&&this.bitsAvailable?r<<e|this.readBits(e):r},e.skipLZ=function(){var t;for(t=0;t<this.bitsAvailable;++t)if(0!=(this.word&2147483648>>>t))return this.word<<=t,this.bitsAvailable-=t,t;return this.loadWord(),t+this.skipLZ()},e.skipUEG=function(){this.skipBits(1+this.skipLZ())},e.skipEG=function(){this.skipBits(1+this.skipLZ())},e.readUEG=function(){var t=this.skipLZ();return this.readBits(t+1)-1},e.readEG=function(){var t=this.readUEG();return 1&t?1+t>>>1:-1*(t>>>1)},e.readBoolean=function(){return 1===this.readBits(1)},e.readUByte=function(){return this.readBits(8)},e.readUShort=function(){return this.readBits(16)},e.readUInt=function(){return this.readBits(32)},e.skipScalingList=function(t){for(var e=8,r=8,i=0;i<t;i++)0!==r&&(r=(e+this.readEG()+256)%256),e=0===r?e:r},e.readSPS=function(){var t,e,r,i=0,n=0,a=0,s=0,o=this.readUByte.bind(this),l=this.readBits.bind(this),u=this.readUEG.bind(this),h=this.readBoolean.bind(this),d=this.skipBits.bind(this),c=this.skipEG.bind(this),f=this.skipUEG.bind(this),g=this.skipScalingList.bind(this);o();var v=o();if(l(5),d(3),o(),f(),100===v||110===v||122===v||244===v||44===v||83===v||86===v||118===v||128===v){var m=u();if(3===m&&d(1),f(),f(),d(1),h())for(e=3!==m?8:12,r=0;r<e;r++)h()&&g(r<6?16:64)}f();var p=u();if(0===p)u();else if(1===p)for(d(1),c(),c(),t=u(),r=0;r<t;r++)c();f(),d(1);var y=u(),T=u(),E=l(1);0===E&&d(1),d(1),h()&&(i=u(),n=u(),a=u(),s=u());var S=[1,1];if(h()&&h())switch(o()){case 1:S=[1,1];break;case 2:S=[12,11];break;case 3:S=[10,11];break;case 4:S=[16,11];break;case 5:S=[40,33];break;case 6:S=[24,11];break;case 7:S=[20,11];break;case 8:S=[32,11];break;case 9:S=[80,33];break;case 10:S=[18,11];break;case 11:S=[15,11];break;case 12:S=[64,33];break;case 13:S=[160,99];break;case 14:S=[4,3];break;case 15:S=[3,2];break;case 16:S=[2,1];break;case 255:S=[o()<<8|o(),o()<<8|o()]}return{width:Math.ceil(16*(y+1)-2*i-2*n),height:(2-E)*(T+1)*16-(E?2:4)*(a+s),pixelRatio:S}},e.readSliceType=function(){return this.readUByte(),this.readUEG(),this.readUEG()},t}(),ki=function(){function t(t,e,r){this.keyData=void 0,this.decrypter=void 0,this.keyData=r,this.decrypter=new Ur(e,{removePKCS7Padding:!1})}var e=t.prototype;return e.decryptBuffer=function(t){return this.decrypter.decrypt(t,this.keyData.key.buffer,this.keyData.iv.buffer)},e.decryptAacSample=function(t,e,r){var i=this,n=t[e].unit;if(!(n.length<=16)){var a=n.subarray(16,n.length-n.length%16),s=a.buffer.slice(a.byteOffset,a.byteOffset+a.length);this.decryptBuffer(s).then((function(a){var s=new Uint8Array(a);n.set(s,16),i.decrypter.isSync()||i.decryptAacSamples(t,e+1,r)}))}},e.decryptAacSamples=function(t,e,r){for(;;e++){if(e>=t.length)return void r();if(!(t[e].unit.length<32||(this.decryptAacSample(t,e,r),this.decrypter.isSync())))return}},e.getAvcEncryptedData=function(t){for(var e=16*Math.floor((t.length-48)/160)+16,r=new Int8Array(e),i=0,n=32;n<t.length-16;n+=160,i+=16)r.set(t.subarray(n,n+16),i);return r},e.getAvcDecryptedUnit=function(t,e){for(var r=new Uint8Array(e),i=0,n=32;n<t.length-16;n+=160,i+=16)t.set(r.subarray(i,i+16),n);return t},e.decryptAvcSample=function(t,e,r,i,n){var a=this,s=Nt(n.data),o=this.getAvcEncryptedData(s);this.decryptBuffer(o.buffer).then((function(o){n.data=a.getAvcDecryptedUnit(s,o),a.decrypter.isSync()||a.decryptAvcSamples(t,e,r+1,i)}))},e.decryptAvcSamples=function(t,e,r,i){if(t instanceof Uint8Array)throw new Error("Cannot decrypt samples of type Uint8Array");for(;;e++,r=0){if(e>=t.length)return void i();for(var n=t[e].units;!(r>=n.length);r++){var a=n[r];if(!(a.data.length<=48||1!==a.type&&5!==a.type||(this.decryptAvcSample(t,e,r,i,a),this.decrypter.isSync())))return}}},t}(),bi=188,Di=function(){function t(t,e,r){this.observer=void 0,this.config=void 0,this.typeSupported=void 0,this.sampleAes=null,this.pmtParsed=!1,this.audioCodec=void 0,this.videoCodec=void 0,this._duration=0,this._pmtId=-1,this._avcTrack=void 0,this._audioTrack=void 0,this._id3Track=void 0,this._txtTrack=void 0,this.aacOverFlow=null,this.avcSample=null,this.remainderData=null,this.observer=t,this.config=e,this.typeSupported=r}t.probe=function(e){var r=t.syncOffset(e);return r>0&&w.warn("MPEG2-TS detected but first sync word found @ offset "+r),-1!==r},t.syncOffset=function(t){for(var e=t.length,r=Math.min(940,t.length-bi)+1,i=0;i<r;){for(var n=!1,a=-1,s=0,o=i;o<e;o+=bi){if(71!==t[o]){if(s)return-1;break}if(s++,-1===a&&0!==(a=o)&&(r=Math.min(a+18612,t.length-bi)+1),n||(n=0===wi(t,o)),n&&s>1&&(0===a&&s>2||o+bi>r))return a}i++}return-1},t.createTrack=function(t,e){return{container:"video"===t||"audio"===t?"video/mp2t":void 0,type:t,id:Lt[t],pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],dropped:0,duration:"audio"===t?e:void 0}};var e=t.prototype;return e.resetInitSegment=function(e,r,i,n){this.pmtParsed=!1,this._pmtId=-1,this._avcTrack=t.createTrack("video"),this._audioTrack=t.createTrack("audio",n),this._id3Track=t.createTrack("id3"),this._txtTrack=t.createTrack("text"),this._audioTrack.segmentCodec="aac",this.aacOverFlow=null,this.avcSample=null,this.remainderData=null,this.audioCodec=r,this.videoCodec=i,this._duration=n},e.resetTimeStamp=function(){},e.resetContiguity=function(){var t=this._audioTrack,e=this._avcTrack,r=this._id3Track;t&&(t.pesData=null),e&&(e.pesData=null),r&&(r.pesData=null),this.aacOverFlow=null,this.avcSample=null,this.remainderData=null},e.demux=function(e,r,i,n){var a;void 0===i&&(i=!1),void 0===n&&(n=!1),i||(this.sampleAes=null);var s=this._avcTrack,o=this._audioTrack,l=this._id3Track,u=this._txtTrack,h=s.pid,d=s.pesData,c=o.pid,f=l.pid,g=o.pesData,v=l.pesData,m=null,p=this.pmtParsed,y=this._pmtId,T=e.length;if(this.remainderData&&(T=(e=xt(this.remainderData,e)).length,this.remainderData=null),T<bi&&!n)return this.remainderData=e,{audioTrack:o,videoTrack:s,id3Track:l,textTrack:u};var E=Math.max(0,t.syncOffset(e));(T-=(T-E)%bi)<e.byteLength&&!n&&(this.remainderData=new Uint8Array(e.buffer,T,e.buffer.byteLength-T));for(var A=0,k=E;k<T;k+=bi)if(71===e[k]){var b=!!(64&e[k+1]),D=wi(e,k),I=void 0;if((48&e[k+3])>>4>1){if((I=k+5+e[k+4])===k+bi)continue}else I=k+4;switch(D){case h:b&&(d&&(a=Pi(d))&&this.parseAVCPES(s,u,a,!1),d={data:[],size:0}),d&&(d.data.push(e.subarray(I,k+bi)),d.size+=k+bi-I);break;case c:if(b){if(g&&(a=Pi(g)))switch(o.segmentCodec){case"aac":this.parseAACPES(o,a);break;case"mp3":this.parseMPEGPES(o,a)}g={data:[],size:0}}g&&(g.data.push(e.subarray(I,k+bi)),g.size+=k+bi-I);break;case f:b&&(v&&(a=Pi(v))&&this.parseID3PES(l,a),v={data:[],size:0}),v&&(v.data.push(e.subarray(I,k+bi)),v.size+=k+bi-I);break;case 0:b&&(I+=e[I]+1),y=this._pmtId=Ci(e,I);break;case y:b&&(I+=e[I]+1);var C=_i(e,I,this.typeSupported,i);(h=C.avc)>0&&(s.pid=h),(c=C.audio)>0&&(o.pid=c,o.segmentCodec=C.segmentCodec),(f=C.id3)>0&&(l.pid=f),null===m||p||(w.warn("MPEG-TS PMT found at "+k+" after unknown PID '"+m+"'. Backtracking to sync byte @"+E+" to parse all TS packets."),m=null,k=E-188),p=this.pmtParsed=!0;break;case 17:case 8191:break;default:m=D}}else A++;if(A>0){var _=new Error("Found "+A+" TS packet/s that do not start with 0x47");this.observer.emit(S.ERROR,S.ERROR,{type:L.MEDIA_ERROR,details:R.FRAG_PARSING_ERROR,fatal:!1,error:_,reason:_.message})}s.pesData=d,o.pesData=g,l.pesData=v;var P={audioTrack:o,videoTrack:s,id3Track:l,textTrack:u};return n&&this.extractRemainingSamples(P),P},e.flush=function(){var t,e=this.remainderData;return this.remainderData=null,t=e?this.demux(e,-1,!1,!0):{videoTrack:this._avcTrack,audioTrack:this._audioTrack,id3Track:this._id3Track,textTrack:this._txtTrack},this.extractRemainingSamples(t),this.sampleAes?this.decrypt(t,this.sampleAes):t},e.extractRemainingSamples=function(t){var e,r=t.audioTrack,i=t.videoTrack,n=t.id3Track,a=t.textTrack,s=i.pesData,o=r.pesData,l=n.pesData;if(s&&(e=Pi(s))?(this.parseAVCPES(i,a,e,!0),i.pesData=null):i.pesData=s,o&&(e=Pi(o))){switch(r.segmentCodec){case"aac":this.parseAACPES(r,e);break;case"mp3":this.parseMPEGPES(r,e)}r.pesData=null}else null!=o&&o.size&&w.log("last AAC PES packet truncated,might overlap between fragments"),r.pesData=o;l&&(e=Pi(l))?(this.parseID3PES(n,e),n.pesData=null):n.pesData=l},e.demuxSampleAes=function(t,e,r){var i=this.demux(t,r,!0,!this.config.progressive),n=this.sampleAes=new ki(this.observer,this.config,e);return this.decrypt(i,n)},e.decrypt=function(t,e){return new Promise((function(r){var i=t.audioTrack,n=t.videoTrack;i.samples&&"aac"===i.segmentCodec?e.decryptAacSamples(i.samples,0,(function(){n.samples?e.decryptAvcSamples(n.samples,0,0,(function(){r(t)})):r(t)})):n.samples&&e.decryptAvcSamples(n.samples,0,0,(function(){r(t)}))}))},e.destroy=function(){this._duration=0},e.parseAVCPES=function(t,e,r,i){var n,a=this,s=this.parseAVCNALu(t,r.data),o=this.avcSample,l=!1;r.data=null,o&&s.length&&!t.audFound&&(xi(o,t),o=this.avcSample=Ii(!1,r.pts,r.dts,"")),s.forEach((function(i){var s;switch(i.type){case 1:var u=!1;n=!0;var h,d=i.data;if(l&&d.length>4){var c=new Ai(d).readSliceType();2!==c&&4!==c&&7!==c&&9!==c||(u=!0)}u&&null!=(h=o)&&h.frame&&!o.key&&(xi(o,t),o=a.avcSample=null),o||(o=a.avcSample=Ii(!0,r.pts,r.dts,"")),o.frame=!0,o.key=u;break;case 5:n=!0,null!=(s=o)&&s.frame&&!o.key&&(xi(o,t),o=a.avcSample=null),o||(o=a.avcSample=Ii(!0,r.pts,r.dts,"")),o.key=!0,o.frame=!0;break;case 6:n=!0,Ot(i.data,1,r.pts,e.samples);break;case 7:if(n=!0,l=!0,!t.sps){var f=i.data,g=new Ai(f).readSPS();t.width=g.width,t.height=g.height,t.pixelRatio=g.pixelRatio,t.sps=[f],t.duration=a._duration;for(var v=f.subarray(1,4),m="avc1.",p=0;p<3;p++){var y=v[p].toString(16);y.length<2&&(y="0"+y),m+=y}t.codec=m}break;case 8:n=!0,t.pps||(t.pps=[i.data]);break;case 9:n=!1,t.audFound=!0,o&&xi(o,t),o=a.avcSample=Ii(!1,r.pts,r.dts,"");break;case 12:n=!0;break;default:n=!1,o&&(o.debug+="unknown NAL "+i.type+" ")}o&&n&&o.units.push(i)})),i&&o&&(xi(o,t),this.avcSample=null)},e.getLastNalUnit=function(t){var e,r,i=this.avcSample;if(i&&0!==i.units.length||(i=t[t.length-1]),null!=(e=i)&&e.units){var n=i.units;r=n[n.length-1]}return r},e.parseAVCNALu=function(t,e){var r,i,n=e.byteLength,a=t.naluState||0,s=a,o=[],l=0,u=-1,h=0;for(-1===a&&(u=0,h=31&e[0],a=0,l=1);l<n;)if(r=e[l++],a)if(1!==a)if(r)if(1===r){if(u>=0){var d={data:e.subarray(u,l-a-1),type:h};o.push(d)}else{var c=this.getLastNalUnit(t.samples);if(c&&(s&&l<=4-s&&c.state&&(c.data=c.data.subarray(0,c.data.byteLength-s)),(i=l-a-1)>0)){var f=new Uint8Array(c.data.byteLength+i);f.set(c.data,0),f.set(e.subarray(0,i),c.data.byteLength),c.data=f,c.state=0}}l<n?(u=l,h=31&e[l],a=0):a=-1}else a=0;else a=3;else a=r?0:2;else a=r?0:1;if(u>=0&&a>=0){var g={data:e.subarray(u,n),type:h,state:a};o.push(g)}if(0===o.length){var v=this.getLastNalUnit(t.samples);if(v){var m=new Uint8Array(v.data.byteLength+e.byteLength);m.set(v.data,0),m.set(e,v.data.byteLength),v.data=m}}return t.naluState=a,o},e.parseAACPES=function(t,e){var r,i,n,a=0,s=this.aacOverFlow,o=e.data;if(s){this.aacOverFlow=null;var l=s.missing,u=s.sample.unit.byteLength;if(-1===l){var h=new Uint8Array(u+o.byteLength);h.set(s.sample.unit,0),h.set(o,u),o=h}else{var d=u-l;s.sample.unit.set(o.subarray(0,l),d),t.samples.push(s.sample),a=s.missing}}for(r=a,i=o.length;r<i-1&&!si(o,r);r++);if(r!==a){var c,f=r<i-1;c=f?"AAC PES did not start with ADTS header,offset:"+r:"No ADTS header found in AAC PES";var g=new Error(c);if(w.warn("parsing error: "+c),this.observer.emit(S.ERROR,S.ERROR,{type:L.MEDIA_ERROR,details:R.FRAG_PARSING_ERROR,fatal:!1,levelRetry:f,error:g,reason:c}),!f)return}if(li(t,this.observer,o,r,this.audioCodec),void 0!==e.pts)n=e.pts;else{if(!s)return void w.warn("[tsdemuxer]: AAC PES unknown PTS");var v=ui(t.samplerate);n=s.sample.pts+v}for(var m,p=0;r<i;){if(r+=(m=hi(t,o,r,n,p)).length,m.missing){this.aacOverFlow=m;break}for(p++;r<i-1&&!si(o,r);r++);}},e.parseMPEGPES=function(t,e){var r=e.data,i=r.length,n=0,a=0,s=e.pts;if(void 0!==s)for(;a<i;)if(Li(r,a)){var o=Ti(t,r,a,s,n);if(!o)break;a+=o.length,n++}else a++;else w.warn("[tsdemuxer]: MPEG PES unknown PTS")},e.parseID3PES=function(t,e){if(void 0!==e.pts){var r=o({},e,{type:this._avcTrack?be:Ae,duration:Number.POSITIVE_INFINITY});t.samples.push(r)}else w.warn("[tsdemuxer]: ID3 PES unknown PTS")},t}();function Ii(t,e,r,i){return{key:t,frame:!1,pts:e,dts:r,units:[],debug:i,length:0}}function wi(t,e){return((31&t[e+1])<<8)+t[e+2]}function Ci(t,e){return(31&t[e+10])<<8|t[e+11]}function _i(t,e,r,i){var n={audio:-1,avc:-1,id3:-1,segmentCodec:"aac"},a=e+3+((15&t[e+1])<<8|t[e+2])-4;for(e+=12+((15&t[e+10])<<8|t[e+11]);e<a;){var s=wi(t,e);switch(t[e]){case 207:if(!i){w.log("ADTS AAC with AES-128-CBC frame encryption found in unencrypted stream");break}case 15:-1===n.audio&&(n.audio=s);break;case 21:-1===n.id3&&(n.id3=s);break;case 219:if(!i){w.log("H.264 with AES-128-CBC slice encryption found in unencrypted stream");break}case 27:-1===n.avc&&(n.avc=s);break;case 3:case 4:!0!==r.mpeg&&!0!==r.mp3?w.log("MPEG audio found, not supported in this browser"):-1===n.audio&&(n.audio=s,n.segmentCodec="mp3");break;case 36:w.warn("Unsupported HEVC stream type found")}e+=5+((15&t[e+3])<<8|t[e+4])}return n}function Pi(t){var e,r,i,n,a,s=0,o=t.data;if(!t||0===t.size)return null;for(;o[0].length<19&&o.length>1;){var l=new Uint8Array(o[0].length+o[1].length);l.set(o[0]),l.set(o[1],o[0].length),o[0]=l,o.splice(1,1)}if(1===((e=o[0])[0]<<16)+(e[1]<<8)+e[2]){if((r=(e[4]<<8)+e[5])&&r>t.size-6)return null;var u=e[7];192&u&&(n=536870912*(14&e[9])+4194304*(255&e[10])+16384*(254&e[11])+128*(255&e[12])+(254&e[13])/2,64&u?n-(a=536870912*(14&e[14])+4194304*(255&e[15])+16384*(254&e[16])+128*(255&e[17])+(254&e[18])/2)>54e5&&(w.warn(Math.round((n-a)/9e4)+"s delta between PTS and DTS, align them"),n=a):a=n);var h=(i=e[8])+9;if(t.size<=h)return null;t.size-=h;for(var d=new Uint8Array(t.size),c=0,f=o.length;c<f;c++){var g=(e=o[c]).byteLength;if(h){if(h>g){h-=g;continue}e=e.subarray(h),g-=h,h=0}d.set(e,s),s+=g}return r&&(r-=i+3),{data:d,pts:n,dts:a,len:r}}return null}function xi(t,e){if(t.units.length&&t.frame){if(void 0===t.pts){var r=e.samples,i=r.length;if(!i)return void e.dropped++;var n=r[i-1];t.pts=n.pts,t.dts=n.dts}e.samples.push(t)}t.debug.length&&w.log(t.pts+"/"+t.dts+":"+t.debug)}var Fi=function(t){function e(){return t.apply(this,arguments)||this}l(e,t);var r=e.prototype;return r.resetInitSegment=function(e,r,i,n){t.prototype.resetInitSegment.call(this,e,r,i,n),this._audioTrack={container:"audio/mpeg",type:"audio",id:2,pid:-1,sequenceNumber:0,segmentCodec:"mp3",samples:[],manifestCodec:r,duration:n,inputTimeScale:9e4,dropped:0}},e.probe=function(t){if(!t)return!1;for(var e=(st(t,0)||[]).length,r=t.length;e<r;e++)if(Ri(t,e))return w.log("MPEG Audio sync word found !"),!0;return!1},r.canParse=function(t,e){return function(t,e){return Si(t,e)&&4<=t.length-e}(t,e)},r.appendFrame=function(t,e,r){if(null!==this.basePTS)return Ti(t,e,r,this.basePTS,this.frameIndex)},e}(ei),Mi=function(){function t(){}return t.getSilentFrame=function(t,e){if("mp4a.40.2"===t){if(1===e)return new Uint8Array([0,200,0,128,35,128]);if(2===e)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(3===e)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(4===e)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(5===e)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(6===e)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if(1===e)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(2===e)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(3===e)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}},t}(),Oi=Math.pow(2,32)-1,Ni=function(){function t(){}return t.init=function(){var e;for(e in t.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],".mp3":[],mvex:[],mvhd:[],pasp:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[]},t.types)t.types.hasOwnProperty(e)&&(t.types[e]=[e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2),e.charCodeAt(3)]);var r=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),i=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]);t.HDLR_TYPES={video:r,audio:i};var n=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),a=new Uint8Array([0,0,0,0,0,0,0,0]);t.STTS=t.STSC=t.STCO=a,t.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),t.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0]),t.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),t.STSD=new Uint8Array([0,0,0,0,0,0,0,1]);var s=new Uint8Array([105,115,111,109]),o=new Uint8Array([97,118,99,49]),l=new Uint8Array([0,0,0,1]);t.FTYP=t.box(t.types.ftyp,s,l,s,o),t.DINF=t.box(t.types.dinf,t.box(t.types.dref,n))},t.box=function(t){for(var e=8,r=arguments.length,i=new Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];for(var a=i.length,s=a;a--;)e+=i[a].byteLength;var o=new Uint8Array(e);for(o[0]=e>>24&255,o[1]=e>>16&255,o[2]=e>>8&255,o[3]=255&e,o.set(t,4),a=0,e=8;a<s;a++)o.set(i[a],e),e+=i[a].byteLength;return o},t.hdlr=function(e){return t.box(t.types.hdlr,t.HDLR_TYPES[e])},t.mdat=function(e){return t.box(t.types.mdat,e)},t.mdhd=function(e,r){r*=e;var i=Math.floor(r/(Oi+1)),n=Math.floor(r%(Oi+1));return t.box(t.types.mdhd,new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,e>>24&255,e>>16&255,e>>8&255,255&e,i>>24,i>>16&255,i>>8&255,255&i,n>>24,n>>16&255,n>>8&255,255&n,85,196,0,0]))},t.mdia=function(e){return t.box(t.types.mdia,t.mdhd(e.timescale,e.duration),t.hdlr(e.type),t.minf(e))},t.mfhd=function(e){return t.box(t.types.mfhd,new Uint8Array([0,0,0,0,e>>24,e>>16&255,e>>8&255,255&e]))},t.minf=function(e){return"audio"===e.type?t.box(t.types.minf,t.box(t.types.smhd,t.SMHD),t.DINF,t.stbl(e)):t.box(t.types.minf,t.box(t.types.vmhd,t.VMHD),t.DINF,t.stbl(e))},t.moof=function(e,r,i){return t.box(t.types.moof,t.mfhd(e),t.traf(i,r))},t.moov=function(e){for(var r=e.length,i=[];r--;)i[r]=t.trak(e[r]);return t.box.apply(null,[t.types.moov,t.mvhd(e[0].timescale,e[0].duration)].concat(i).concat(t.mvex(e)))},t.mvex=function(e){for(var r=e.length,i=[];r--;)i[r]=t.trex(e[r]);return t.box.apply(null,[t.types.mvex].concat(i))},t.mvhd=function(e,r){r*=e;var i=Math.floor(r/(Oi+1)),n=Math.floor(r%(Oi+1)),a=new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,e>>24&255,e>>16&255,e>>8&255,255&e,i>>24,i>>16&255,i>>8&255,255&i,n>>24,n>>16&255,n>>8&255,255&n,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return t.box(t.types.mvhd,a)},t.sdtp=function(e){var r,i,n=e.samples||[],a=new Uint8Array(4+n.length);for(r=0;r<n.length;r++)i=n[r].flags,a[r+4]=i.dependsOn<<4|i.isDependedOn<<2|i.hasRedundancy;return t.box(t.types.sdtp,a)},t.stbl=function(e){return t.box(t.types.stbl,t.stsd(e),t.box(t.types.stts,t.STTS),t.box(t.types.stsc,t.STSC),t.box(t.types.stsz,t.STSZ),t.box(t.types.stco,t.STCO))},t.avc1=function(e){var r,i,n,a=[],s=[];for(r=0;r<e.sps.length;r++)n=(i=e.sps[r]).byteLength,a.push(n>>>8&255),a.push(255&n),a=a.concat(Array.prototype.slice.call(i));for(r=0;r<e.pps.length;r++)n=(i=e.pps[r]).byteLength,s.push(n>>>8&255),s.push(255&n),s=s.concat(Array.prototype.slice.call(i));var o=t.box(t.types.avcC,new Uint8Array([1,a[3],a[4],a[5],255,224|e.sps.length].concat(a).concat([e.pps.length]).concat(s))),l=e.width,u=e.height,h=e.pixelRatio[0],d=e.pixelRatio[1];return t.box(t.types.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,l>>8&255,255&l,u>>8&255,255&u,0,72,0,0,0,72,0,0,0,0,0,0,0,1,18,100,97,105,108,121,109,111,116,105,111,110,47,104,108,115,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),o,t.box(t.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),t.box(t.types.pasp,new Uint8Array([h>>24,h>>16&255,h>>8&255,255&h,d>>24,d>>16&255,d>>8&255,255&d])))},t.esds=function(t){var e=t.config.length;return new Uint8Array([0,0,0,0,3,23+e,0,1,0,4,15+e,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([e]).concat(t.config).concat([6,1,2]))},t.mp4a=function(e){var r=e.samplerate;return t.box(t.types.mp4a,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,e.channelCount,0,16,0,0,0,0,r>>8&255,255&r,0,0]),t.box(t.types.esds,t.esds(e)))},t.mp3=function(e){var r=e.samplerate;return t.box(t.types[".mp3"],new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,e.channelCount,0,16,0,0,0,0,r>>8&255,255&r,0,0]))},t.stsd=function(e){return"audio"===e.type?"mp3"===e.segmentCodec&&"mp3"===e.codec?t.box(t.types.stsd,t.STSD,t.mp3(e)):t.box(t.types.stsd,t.STSD,t.mp4a(e)):t.box(t.types.stsd,t.STSD,t.avc1(e))},t.tkhd=function(e){var r=e.id,i=e.duration*e.timescale,n=e.width,a=e.height,s=Math.floor(i/(Oi+1)),o=Math.floor(i%(Oi+1));return t.box(t.types.tkhd,new Uint8Array([1,0,0,7,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,r>>24&255,r>>16&255,r>>8&255,255&r,0,0,0,0,s>>24,s>>16&255,s>>8&255,255&s,o>>24,o>>16&255,o>>8&255,255&o,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,n>>8&255,255&n,0,0,a>>8&255,255&a,0,0]))},t.traf=function(e,r){var i=t.sdtp(e),n=e.id,a=Math.floor(r/(Oi+1)),s=Math.floor(r%(Oi+1));return t.box(t.types.traf,t.box(t.types.tfhd,new Uint8Array([0,0,0,0,n>>24,n>>16&255,n>>8&255,255&n])),t.box(t.types.tfdt,new Uint8Array([1,0,0,0,a>>24,a>>16&255,a>>8&255,255&a,s>>24,s>>16&255,s>>8&255,255&s])),t.trun(e,i.length+16+20+8+16+8+8),i)},t.trak=function(e){return e.duration=e.duration||4294967295,t.box(t.types.trak,t.tkhd(e),t.mdia(e))},t.trex=function(e){var r=e.id;return t.box(t.types.trex,new Uint8Array([0,0,0,0,r>>24,r>>16&255,r>>8&255,255&r,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]))},t.trun=function(e,r){var i,n,a,s,o,l,u=e.samples||[],h=u.length,d=12+16*h,c=new Uint8Array(d);for(r+=8+d,c.set(["video"===e.type?1:0,0,15,1,h>>>24&255,h>>>16&255,h>>>8&255,255&h,r>>>24&255,r>>>16&255,r>>>8&255,255&r],0),i=0;i<h;i++)a=(n=u[i]).duration,s=n.size,o=n.flags,l=n.cts,c.set([a>>>24&255,a>>>16&255,a>>>8&255,255&a,s>>>24&255,s>>>16&255,s>>>8&255,255&s,o.isLeading<<2|o.dependsOn,o.isDependedOn<<6|o.hasRedundancy<<4|o.paddingValue<<1|o.isNonSync,61440&o.degradPrio,15&o.degradPrio,l>>>24&255,l>>>16&255,l>>>8&255,255&l],12+16*i);return t.box(t.types.trun,c)},t.initSegment=function(e){t.types||t.init();var r=t.moov(e),i=new Uint8Array(t.FTYP.byteLength+r.byteLength);return i.set(t.FTYP),i.set(r,t.FTYP.byteLength),i},t}();function Ui(t,e,r,i){void 0===r&&(r=1),void 0===i&&(i=!1);var n=t*e*r;return i?Math.round(n):n}function Bi(t,e){return void 0===e&&(e=!1),Ui(t,1e3,1/9e4,e)}Ni.types=void 0,Ni.HDLR_TYPES=void 0,Ni.STTS=void 0,Ni.STSC=void 0,Ni.STCO=void 0,Ni.STSZ=void 0,Ni.VMHD=void 0,Ni.SMHD=void 0,Ni.STSD=void 0,Ni.FTYP=void 0,Ni.DINF=void 0;var Gi=null,Ki=null,Hi=function(){function t(t,e,r,i){if(this.observer=void 0,this.config=void 0,this.typeSupported=void 0,this.ISGenerated=!1,this._initPTS=null,this._initDTS=null,this.nextAvcDts=null,this.nextAudioPts=null,this.videoSampleDuration=null,this.isAudioContiguous=!1,this.isVideoContiguous=!1,this.observer=t,this.config=e,this.typeSupported=r,this.ISGenerated=!1,null===Gi){var n=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);Gi=n?parseInt(n[1]):0}if(null===Ki){var a=navigator.userAgent.match(/Safari\/(\d+)/i);Ki=a?parseInt(a[1]):0}}var e=t.prototype;return e.destroy=function(){},e.resetTimeStamp=function(t){w.log("[mp4-remuxer]: initPTS & initDTS reset"),this._initPTS=this._initDTS=t},e.resetNextTimestamp=function(){w.log("[mp4-remuxer]: reset next timestamp"),this.isVideoContiguous=!1,this.isAudioContiguous=!1},e.resetInitSegment=function(){w.log("[mp4-remuxer]: ISGenerated flag reset"),this.ISGenerated=!1},e.getVideoStartPts=function(t){var e=!1,r=t.reduce((function(t,r){var i=r.pts-t;return i<-4294967296?(e=!0,Vi(t,r.pts)):i>0?t:r.pts}),t[0].pts);return e&&w.debug("PTS rollover detected"),r},e.remux=function(t,e,r,i,n,a,s,o){var l,u,h,d,c,f,g=n,v=n,m=t.pid>-1,p=e.pid>-1,y=e.samples.length,T=t.samples.length>0,E=s&&y>0||y>1;if((!m||T)&&(!p||E)||this.ISGenerated||s){this.ISGenerated||(h=this.generateIS(t,e,n,a));var S,L=this.isVideoContiguous,R=-1;if(E&&(R=function(t){for(var e=0;e<t.length;e++)if(t[e].key)return e;return-1}(e.samples),!L&&this.config.forceKeyFrameOnDiscontinuity))if(f=!0,R>0){w.warn("[mp4-remuxer]: Dropped "+R+" out of "+y+" video samples due to a missing keyframe");var A=this.getVideoStartPts(e.samples);e.samples=e.samples.slice(R),e.dropped+=R,S=v+=(e.samples[0].pts-A)/e.inputTimeScale}else-1===R&&(w.warn("[mp4-remuxer]: No keyframe found out of "+y+" video samples"),f=!1);if(this.ISGenerated){if(T&&E){var k=this.getVideoStartPts(e.samples),b=(Vi(t.samples[0].pts,k)-k)/e.inputTimeScale;g+=Math.max(0,b),v+=Math.max(0,-b)}if(T){if(t.samplerate||(w.warn("[mp4-remuxer]: regenerate InitSegment as audio detected"),h=this.generateIS(t,e,n,a)),u=this.remuxAudio(t,g,this.isAudioContiguous,a,p||E||o===ve?v:void 0),E){var D=u?u.endPTS-u.startPTS:0;e.inputTimeScale||(w.warn("[mp4-remuxer]: regenerate InitSegment as video detected"),h=this.generateIS(t,e,n,a)),l=this.remuxVideo(e,v,L,D)}}else E&&(l=this.remuxVideo(e,v,L,0));l&&(l.firstKeyFrame=R,l.independent=-1!==R,l.firstKeyFramePTS=S)}}return this.ISGenerated&&this._initPTS&&this._initDTS&&(r.samples.length&&(c=Yi(r,n,this._initPTS,this._initDTS)),i.samples.length&&(d=Wi(i,n,this._initPTS))),{audio:u,video:l,initSegment:h,independent:f,text:d,id3:c}},e.generateIS=function(t,e,r,i){var n,a,s,o=t.samples,l=e.samples,u=this.typeSupported,h={},d=this._initPTS,c=!d||i,f="audio/mp4";if(c&&(n=a=1/0),t.config&&o.length&&(t.timescale=t.samplerate,"mp3"===t.segmentCodec&&(u.mpeg?(f="audio/mpeg",t.codec=""):u.mp3&&(t.codec="mp3")),h.audio={id:"audio",container:f,codec:t.codec,initSegment:"mp3"===t.segmentCodec&&u.mpeg?new Uint8Array(0):Ni.initSegment([t]),metadata:{channelCount:t.channelCount}},c&&(s=t.inputTimeScale,d&&s===d.timescale?c=!1:n=a=o[0].pts-Math.round(s*r))),e.sps&&e.pps&&l.length&&(e.timescale=e.inputTimeScale,h.video={id:"main",container:"video/mp4",codec:e.codec,initSegment:Ni.initSegment([e]),metadata:{width:e.width,height:e.height}},c))if(s=e.inputTimeScale,d&&s===d.timescale)c=!1;else{var g=this.getVideoStartPts(l),v=Math.round(s*r);a=Math.min(a,Vi(l[0].dts,g)-v),n=Math.min(n,g-v)}if(Object.keys(h).length)return this.ISGenerated=!0,c?(this._initPTS={baseTime:n,timescale:s},this._initDTS={baseTime:a,timescale:s}):n=s=void 0,{tracks:h,initPTS:n,timescale:s}},e.remuxVideo=function(t,e,r,i){var n,a,s=t.inputTimeScale,l=t.samples,u=[],h=l.length,d=this._initPTS,c=this.nextAvcDts,f=8,g=this.videoSampleDuration,v=Number.POSITIVE_INFINITY,m=Number.NEGATIVE_INFINITY,p=!1;r&&null!==c||(c=e*s-(l[0].pts-Vi(l[0].dts,l[0].pts)));for(var y=d.baseTime*s/d.timescale,T=0;T<h;T++){var E=l[T];E.pts=Vi(E.pts-y,c),E.dts=Vi(E.dts-y,c),E.dts<l[T>0?T-1:T].dts&&(p=!0)}p&&l.sort((function(t,e){var r=t.dts-e.dts,i=t.pts-e.pts;return r||i})),n=l[0].dts;var A=(a=l[l.length-1].dts)-n,k=A?Math.round(A/(h-1)):g||t.inputTimeScale/30;if(r){var b=n-c,D=b>k,I=b<-1;if((D||I)&&(D?w.warn("AVC: "+Bi(b,!0)+" ms ("+b+"dts) hole between fragments detected, filling it"):w.warn("AVC: "+Bi(-b,!0)+" ms ("+b+"dts) overlapping between fragments detected"),!I||c>=l[0].pts)){n=c;var C=l[0].pts-b;l[0].dts=n,l[0].pts=C,w.log("Video: First PTS/DTS adjusted: "+Bi(C,!0)+"/"+Bi(n,!0)+", delta: "+Bi(b,!0)+" ms")}}n=Math.max(0,n);for(var _=0,P=0,x=0;x<h;x++){for(var F=l[x],M=F.units,O=M.length,N=0,U=0;U<O;U++)N+=M[U].data.length;P+=N,_+=O,F.length=N,F.dts=Math.max(F.dts,n),v=Math.min(F.pts,v),m=Math.max(F.pts,m)}a=l[h-1].dts;var B,G=P+4*_+8;try{B=new Uint8Array(G)}catch(t){return void this.observer.emit(S.ERROR,S.ERROR,{type:L.MUX_ERROR,details:R.REMUX_ALLOC_ERROR,fatal:!1,error:t,bytes:G,reason:"fail allocating video mdat "+G})}var K=new DataView(B.buffer);K.setUint32(0,G),B.set(Ni.types.mdat,4);for(var H=!1,V=Number.POSITIVE_INFINITY,Y=Number.POSITIVE_INFINITY,W=Number.NEGATIVE_INFINITY,j=Number.NEGATIVE_INFINITY,q=0;q<h;q++){for(var X=l[q],z=X.units,Q=0,$=0,J=z.length;$<J;$++){var Z=z[$],tt=Z.data,et=Z.data.byteLength;K.setUint32(f,et),f+=4,B.set(tt,f),f+=et,Q+=4+et}var rt=void 0;if(q<h-1)g=l[q+1].dts-X.dts,rt=l[q+1].pts-X.pts;else{var it=this.config,nt=q>0?X.dts-l[q-1].dts:k;if(rt=q>0?X.pts-l[q-1].pts:k,it.stretchShortVideoTrack&&null!==this.nextAudioPts){var at=Math.floor(it.maxBufferHole*s),st=(i?v+i*s:this.nextAudioPts)-X.pts;st>at?((g=st-nt)<0?g=nt:H=!0,w.log("[mp4-remuxer]: It is approximately "+st/90+" ms to the next segment; using duration "+g/90+" ms for the last video frame.")):g=nt}else g=nt}var ot=Math.round(X.pts-X.dts);V=Math.min(V,g),W=Math.max(W,g),Y=Math.min(Y,rt),j=Math.max(j,rt),u.push(new qi(X.key,g,Q,ot))}if(u.length)if(Gi){if(Gi<70){var lt=u[0].flags;lt.dependsOn=2,lt.isNonSync=0}}else if(Ki&&j-Y<W-V&&k/W<.025&&0===u[0].cts){w.warn("Found irregular gaps in sample duration. Using PTS instead of DTS to determine MP4 sample duration.");for(var ut=n,ht=0,dt=u.length;ht<dt;ht++){var ct=ut+u[ht].duration,ft=ut+u[ht].cts;if(ht<dt-1){var gt=ct+u[ht+1].cts;u[ht].duration=gt-ft}else u[ht].duration=ht?u[ht-1].duration:k;u[ht].cts=0,ut=ct}}g=H||!g?k:g,this.nextAvcDts=c=a+g,this.videoSampleDuration=g,this.isVideoContiguous=!0;var vt={data1:Ni.moof(t.sequenceNumber++,n,o({},t,{samples:u})),data2:B,startPTS:v/s,endPTS:(m+g)/s,startDTS:n/s,endDTS:c/s,type:"video",hasAudio:!1,hasVideo:!0,nb:u.length,dropped:t.dropped};return t.samples=[],t.dropped=0,vt},e.remuxAudio=function(t,e,r,i,n){var a=t.inputTimeScale,s=a/(t.samplerate?t.samplerate:a),l="aac"===t.segmentCodec?1024:1152,u=l*s,h=this._initPTS,d="mp3"===t.segmentCodec&&this.typeSupported.mpeg,c=[],f=void 0!==n,g=t.samples,v=d?0:8,m=this.nextAudioPts||-1,p=e*a,y=h.baseTime*a/h.timescale;if(this.isAudioContiguous=r=r||g.length&&m>0&&(i&&Math.abs(p-m)<9e3||Math.abs(Vi(g[0].pts-y,p)-m)<20*u),g.forEach((function(t){t.pts=Vi(t.pts-y,p)})),!r||m<0){if(g=g.filter((function(t){return t.pts>=0})),!g.length)return;m=0===n?0:i&&!f?Math.max(0,p):g[0].pts}if("aac"===t.segmentCodec)for(var T=this.config.maxAudioFramesDrift,E=0,A=m;E<g.length;E++){var k=g[E],b=k.pts,D=b-A,I=Math.abs(1e3*D/a);if(D<=-T*u&&f)0===E&&(w.warn("Audio frame @ "+(b/a).toFixed(3)+"s overlaps nextAudioPts by "+Math.round(1e3*D/a)+" ms."),this.nextAudioPts=m=A=b);else if(D>=T*u&&I<1e4&&f){var C=Math.round(D/u);(A=b-C*u)<0&&(C--,A+=u),0===E&&(this.nextAudioPts=m=A),w.warn("[mp4-remuxer]: Injecting "+C+" audio frame @ "+(A/a).toFixed(3)+"s due to "+Math.round(1e3*D/a)+" ms gap.");for(var _=0;_<C;_++){var P=Math.max(A,0),x=Mi.getSilentFrame(t.manifestCodec||t.codec,t.channelCount);x||(w.log("[mp4-remuxer]: Unable to get silent frame for given audio codec; duplicating last frame instead."),x=k.unit.subarray()),g.splice(E,0,{unit:x,pts:P}),A+=u,E++}}k.pts=A,A+=u}for(var F,M=null,O=null,N=0,U=g.length;U--;)N+=g[U].unit.byteLength;for(var B=0,G=g.length;B<G;B++){var K=g[B],H=K.unit,V=K.pts;if(null!==O)c[B-1].duration=Math.round((V-O)/s);else{if(r&&"aac"===t.segmentCodec&&(V=m),M=V,!(N>0))return;N+=v;try{F=new Uint8Array(N)}catch(t){return void this.observer.emit(S.ERROR,S.ERROR,{type:L.MUX_ERROR,details:R.REMUX_ALLOC_ERROR,fatal:!1,error:t,bytes:N,reason:"fail allocating audio mdat "+N})}d||(new DataView(F.buffer).setUint32(0,N),F.set(Ni.types.mdat,4))}F.set(H,v);var Y=H.byteLength;v+=Y,c.push(new qi(!0,l,Y,0)),O=V}var W=c.length;if(W){var j=c[c.length-1];this.nextAudioPts=m=O+s*j.duration;var q=d?new Uint8Array(0):Ni.moof(t.sequenceNumber++,M/s,o({},t,{samples:c}));t.samples=[];var X=M/a,z=m/a,Q={data1:q,data2:F,startPTS:X,endPTS:z,startDTS:X,endDTS:z,type:"audio",hasAudio:!0,hasVideo:!1,nb:W};return this.isAudioContiguous=!0,Q}},e.remuxEmptyAudio=function(t,e,r,i){var n=t.inputTimeScale,a=n/(t.samplerate?t.samplerate:n),s=this.nextAudioPts,o=this._initDTS,l=9e4*o.baseTime/o.timescale,u=(null!==s?s:i.startDTS*n)+l,h=i.endDTS*n+l,d=1024*a,c=Math.ceil((h-u)/d),f=Mi.getSilentFrame(t.manifestCodec||t.codec,t.channelCount);if(w.warn("[mp4-remuxer]: remux empty Audio"),f){for(var g=[],v=0;v<c;v++){var m=u+v*d;g.push({unit:f,pts:m,dts:m})}return t.samples=g,this.remuxAudio(t,e,r,!1)}w.trace("[mp4-remuxer]: Unable to remuxEmptyAudio since we were unable to get a silent frame for given audio codec")},t}();function Vi(t,e){var r;if(null===e)return t;for(r=e<t?-8589934592:8589934592;Math.abs(t-e)>4294967296;)t+=r;return t}function Yi(t,e,r,i){var n=t.samples.length;if(n){for(var a=t.inputTimeScale,s=0;s<n;s++){var o=t.samples[s];o.pts=Vi(o.pts-r.baseTime*a/r.timescale,e*a)/a,o.dts=Vi(o.dts-i.baseTime*a/i.timescale,e*a)/a}var l=t.samples;return t.samples=[],{samples:l}}}function Wi(t,e,r){var i=t.samples.length;if(i){for(var n=t.inputTimeScale,a=0;a<i;a++){var s=t.samples[a];s.pts=Vi(s.pts-r.baseTime*n/r.timescale,e*n)/n}t.samples.sort((function(t,e){return t.pts-e.pts}));var o=t.samples;return t.samples=[],{samples:o}}}var ji,qi=function(t,e,r,i){this.size=void 0,this.duration=void 0,this.cts=void 0,this.flags=void 0,this.duration=e,this.size=r,this.cts=i,this.flags=new Xi(t)},Xi=function(t){this.isLeading=0,this.isDependedOn=0,this.hasRedundancy=0,this.degradPrio=0,this.dependsOn=1,this.isNonSync=1,this.dependsOn=t?2:1,this.isNonSync=t?0:1},zi=function(){function t(){this.emitInitSegment=!1,this.audioCodec=void 0,this.videoCodec=void 0,this.initData=void 0,this.initPTS=null,this.initTracks=void 0,this.lastEndTime=null}var e=t.prototype;return e.destroy=function(){},e.resetTimeStamp=function(t){this.initPTS=t,this.lastEndTime=null},e.resetNextTimestamp=function(){this.lastEndTime=null},e.resetInitSegment=function(t,e,r,i){this.audioCodec=e,this.videoCodec=r,this.generateInitSegment(function(t,e){if(!t||!e)return t;var r=e.keyId;return r&&e.isCommonEncryption&&It(t,["moov","trak"]).forEach((function(t){var e=It(t,["mdia","minf","stbl","stsd"])[0].subarray(8),i=It(e,["enca"]),n=i.length>0;n||(i=It(e,["encv"])),i.forEach((function(t){It(n?t.subarray(28):t.subarray(78),["sinf"]).forEach((function(t){var e=_t(t);if(e){var i=e.subarray(8,24);i.some((function(t){return 0!==t}))||(w.log("[eme] Patching keyId in 'enc"+(n?"a":"v")+">sinf>>tenc' box: "+Tt(i)+" -> "+Tt(r)),e.set(r,8))}}))}))})),t}(t,i)),this.emitInitSegment=!0},e.generateInitSegment=function(t){var e=this.audioCodec,r=this.videoCodec;if(null==t||!t.byteLength)return this.initTracks=void 0,void(this.initData=void 0);var i=this.initData=Ct(t);e||(e=Qi(i.audio,O)),r||(r=Qi(i.video,N));var n={};i.audio&&i.video?n.audiovideo={container:"video/mp4",codec:e+","+r,initSegment:t,id:"main"}:i.audio?n.audio={container:"audio/mp4",codec:e,initSegment:t,id:"audio"}:i.video?n.video={container:"video/mp4",codec:r,initSegment:t,id:"main"}:w.warn("[passthrough-remuxer.ts]: initSegment does not contain moov or trak boxes."),this.initTracks=n},e.remux=function(t,e,r,i,n,a){var s,o,l=this.initPTS,u=this.lastEndTime,h={audio:void 0,video:void 0,text:i,id3:r,initSegment:void 0};E(u)||(u=this.lastEndTime=n||0);var d=e.samples;if(null==d||!d.length)return h;var c={initPTS:void 0,timescale:1},f=this.initData;if(null!=(s=f)&&s.length||(this.generateInitSegment(d),f=this.initData),null==(o=f)||!o.length)return w.warn("[passthrough-remuxer.ts]: Failed to generate initSegment."),h;this.emitInitSegment&&(c.tracks=this.initTracks,this.emitInitSegment=!1);var g=function(t,e){for(var r=0,i=0,n=0,a=It(t,["moof","traf"]),s=0;s<a.length;s++){var o=a[s],l=It(o,["tfhd"])[0],u=e[kt(l,4)];if(u){var h=u.default,d=kt(l,0)|(null==h?void 0:h.flags),c=null==h?void 0:h.duration;8&d&&(c=kt(l,2&d?12:8));for(var f=u.timescale||9e4,g=It(o,["trun"]),v=0;v<g.length;v++)!(r=Pt(g[v]))&&c&&(r=c*kt(g[v],4)),u.type===N?i+=r/f:u.type===O&&(n+=r/f)}}if(0===i&&0===n){for(var m=0,p=It(t,["sidx"]),y=0;y<p.length;y++){var T=wt(p[y]);null!=T&&T.references&&(m+=T.references.reduce((function(t,e){return t+e.info.duration||0}),0))}return m}return i||n}(d,f),v=function(t,e){return It(e,["moof","traf"]).reduce((function(e,r){var i=It(r,["tfdt"])[0],n=i[0],a=It(r,["tfhd"]).reduce((function(e,r){var a=kt(r,4),s=t[a];if(s){var o=kt(i,4);if(1===n){if(o===Et)return w.warn("[mp4-demuxer]: Ignoring assumed invalid signed 64-bit track fragment decode time"),e;o*=Et+1,o+=kt(i,8)}var l=o/(s.timescale||9e4);if(isFinite(l)&&(null===e||l<e))return l}return e}),null);return null!==a&&isFinite(a)&&(null===e||a<e)?a:e}),null)}(f,d),m=null===v?n:v;(function(t,e,r,i){if(null===t)return!0;var n=Math.max(i,1),a=e-t.baseTime/t.timescale;return Math.abs(a-r)>n}(l,m,n,g)||c.timescale!==l.timescale&&a)&&(c.initPTS=m-n,l&&1===l.timescale&&w.warn("Adjusting initPTS by "+(c.initPTS-l.baseTime)),this.initPTS=l={baseTime:c.initPTS,timescale:1});var p=t?m-l.baseTime/l.timescale:u,y=p+g;!function(t,e,r){It(e,["moof","traf"]).forEach((function(e){It(e,["tfhd"]).forEach((function(i){var n=kt(i,4),a=t[n];if(a){var s=a.timescale||9e4;It(e,["tfdt"]).forEach((function(t){var e=t[0],i=kt(t,4);if(0===e)i-=r*s,Dt(t,4,i=Math.max(i,0));else{i*=Math.pow(2,32),i+=kt(t,8),i-=r*s,i=Math.max(i,0);var n=Math.floor(i/(Et+1)),a=Math.floor(i%(Et+1));Dt(t,4,n),Dt(t,8,a)}}))}}))}))}(f,d,l.baseTime/l.timescale),g>0?this.lastEndTime=y:(w.warn("Duration parsed from mp4 should be greater than zero"),this.resetNextTimestamp());var T=!!f.audio,S=!!f.video,L="";T&&(L+="audio"),S&&(L+="video");var R={data1:d,startPTS:p,startDTS:p,endPTS:y,endDTS:y,type:L,hasAudio:T,hasVideo:S,nb:1,dropped:0};return h.audio="audio"===R.type?R:void 0,h.video="audio"!==R.type?R:void 0,h.initSegment=c,h.id3=Yi(r,n,l,l),i.samples.length&&(h.text=Wi(i,n,l)),h},t}();function Qi(t,e){var r=null==t?void 0:t.codec;return r&&r.length>4?r:"hvc1"===r||"hev1"===r?"hvc1.1.6.L120.90":"av01"===r?"av01.0.04M.08":"avc1"===r||e===N?"avc1.42e01e":"mp4a.40.5"}try{ji=self.performance.now.bind(self.performance)}catch(t){w.debug("Unable to use Performance API on this environment"),ji="undefined"!=typeof self&&self.Date.now}var $i=[{demux:fi,remux:zi},{demux:Di,remux:Hi},{demux:di,remux:Hi},{demux:Fi,remux:Hi}],Ji=function(){function t(t,e,r,i,n){this.async=!1,this.observer=void 0,this.typeSupported=void 0,this.config=void 0,this.vendor=void 0,this.id=void 0,this.demuxer=void 0,this.remuxer=void 0,this.decrypter=void 0,this.probe=void 0,this.decryptionPromise=null,this.transmuxConfig=void 0,this.currentTransmuxState=void 0,this.observer=t,this.typeSupported=e,this.config=r,this.vendor=i,this.id=n}var e=t.prototype;return e.configure=function(t){this.transmuxConfig=t,this.decrypter&&this.decrypter.reset()},e.push=function(t,e,r,i){var n=this,a=r.transmuxing;a.executeStart=ji();var s=new Uint8Array(t),o=this.currentTransmuxState,l=this.transmuxConfig;i&&(this.currentTransmuxState=i);var u=i||o,h=u.contiguous,d=u.discontinuity,c=u.trackSwitch,f=u.accurateTimeOffset,g=u.timeOffset,v=u.initSegmentChange,m=l.audioCodec,p=l.videoCodec,y=l.defaultInitPts,T=l.duration,E=l.initSegmentData,A=function(t,e){var r=null;return t.byteLength>0&&null!=e&&null!=e.key&&null!==e.iv&&null!=e.method&&(r=e),r}(s,e);if(A&&"AES-128"===A.method){var k=this.getDecrypter();if(!k.isSync())return this.decryptionPromise=k.webCryptoDecrypt(s,A.key.buffer,A.iv.buffer).then((function(t){var e=n.push(t,null,r);return n.decryptionPromise=null,e})),this.decryptionPromise;var b=k.softwareDecrypt(s,A.key.buffer,A.iv.buffer);if(r.part>-1&&(b=k.flush()),!b)return a.executeEnd=ji(),Zi(r);s=new Uint8Array(b)}var D=this.needsProbing(d,c);if(D){var I=this.configureTransmuxer(s);if(I)return w.warn("[transmuxer] "+I.message),this.observer.emit(S.ERROR,S.ERROR,{type:L.MEDIA_ERROR,details:R.FRAG_PARSING_ERROR,fatal:!1,error:I,reason:I.message}),a.executeEnd=ji(),Zi(r)}(d||c||v||D)&&this.resetInitSegment(E,m,p,T,e),(d||v||D)&&this.resetInitialTimestamp(y),h||this.resetContiguity();var C=this.transmux(s,A,g,f,r),_=this.currentTransmuxState;return _.contiguous=!0,_.discontinuity=!1,_.trackSwitch=!1,a.executeEnd=ji(),C},e.flush=function(t){var e=this,r=t.transmuxing;r.executeStart=ji();var i=this.decrypter,n=this.currentTransmuxState,a=this.decryptionPromise;if(a)return a.then((function(){return e.flush(t)}));var s=[],o=n.timeOffset;if(i){var l=i.flush();l&&s.push(this.push(l,null,t))}var u=this.demuxer,h=this.remuxer;if(!u||!h)return r.executeEnd=ji(),[Zi(t)];var d=u.flush(o);return tn(d)?d.then((function(r){return e.flushRemux(s,r,t),s})):(this.flushRemux(s,d,t),s)},e.flushRemux=function(t,e,r){var i=e.audioTrack,n=e.videoTrack,a=e.id3Track,s=e.textTrack,o=this.currentTransmuxState,l=o.accurateTimeOffset,u=o.timeOffset;w.log("[transmuxer.ts]: Flushed fragment "+r.sn+(r.part>-1?" p: "+r.part:"")+" of level "+r.level);var h=this.remuxer.remux(i,n,a,s,u,l,!0,this.id);t.push({remuxResult:h,chunkMeta:r}),r.transmuxing.executeEnd=ji()},e.resetInitialTimestamp=function(t){var e=this.demuxer,r=this.remuxer;e&&r&&(e.resetTimeStamp(t),r.resetTimeStamp(t))},e.resetContiguity=function(){var t=this.demuxer,e=this.remuxer;t&&e&&(t.resetContiguity(),e.resetNextTimestamp())},e.resetInitSegment=function(t,e,r,i,n){var a=this.demuxer,s=this.remuxer;a&&s&&(a.resetInitSegment(t,e,r,i),s.resetInitSegment(t,e,r,n))},e.destroy=function(){this.demuxer&&(this.demuxer.destroy(),this.demuxer=void 0),this.remuxer&&(this.remuxer.destroy(),this.remuxer=void 0)},e.transmux=function(t,e,r,i,n){return e&&"SAMPLE-AES"===e.method?this.transmuxSampleAes(t,e,r,i,n):this.transmuxUnencrypted(t,r,i,n)},e.transmuxUnencrypted=function(t,e,r,i){var n=this.demuxer.demux(t,e,!1,!this.config.progressive),a=n.audioTrack,s=n.videoTrack,o=n.id3Track,l=n.textTrack;return{remuxResult:this.remuxer.remux(a,s,o,l,e,r,!1,this.id),chunkMeta:i}},e.transmuxSampleAes=function(t,e,r,i,n){var a=this;return this.demuxer.demuxSampleAes(t,e,r).then((function(t){return{remuxResult:a.remuxer.remux(t.audioTrack,t.videoTrack,t.id3Track,t.textTrack,r,i,!1,a.id),chunkMeta:n}}))},e.configureTransmuxer=function(t){for(var e,r=this.config,i=this.observer,n=this.typeSupported,a=this.vendor,s=0,o=$i.length;s<o;s++)if($i[s].demux.probe(t)){e=$i[s];break}if(!e)return new Error("Failed to find demuxer by probing fragment data");var l=this.demuxer,u=this.remuxer,h=e.remux,d=e.demux;u&&u instanceof h||(this.remuxer=new h(i,r,n,a)),l&&l instanceof d||(this.demuxer=new d(i,r,n),this.probe=d.probe)},e.needsProbing=function(t,e){return!this.demuxer||!this.remuxer||t||e},e.getDecrypter=function(){var t=this.decrypter;return t||(t=this.decrypter=new Ur(this.config)),t},t}(),Zi=function(t){return{remuxResult:{},chunkMeta:t}};function tn(t){return"then"in t&&t.then instanceof Function}var en=function(t,e,r,i,n){this.audioCodec=void 0,this.videoCodec=void 0,this.initSegmentData=void 0,this.duration=void 0,this.defaultInitPts=void 0,this.audioCodec=t,this.videoCodec=e,this.initSegmentData=r,this.duration=i,this.defaultInitPts=n||null},rn=function(t,e,r,i,n,a){this.discontinuity=void 0,this.contiguous=void 0,this.accurateTimeOffset=void 0,this.trackSwitch=void 0,this.timeOffset=void 0,this.initSegmentChange=void 0,this.discontinuity=t,this.contiguous=e,this.accurateTimeOffset=r,this.trackSwitch=i,this.timeOffset=n,this.initSegmentChange=a},nn={exports:{}};!function(t){var e=Object.prototype.hasOwnProperty,r="~";function i(){}function n(t,e,r){this.fn=t,this.context=e,this.once=r||!1}function a(t,e,i,a,s){if("function"!=typeof i)throw new TypeError("The listener must be a function");var o=new n(i,a||t,s),l=r?r+e:e;return t._events[l]?t._events[l].fn?t._events[l]=[t._events[l],o]:t._events[l].push(o):(t._events[l]=o,t._eventsCount++),t}function s(t,e){0==--t._eventsCount?t._events=new i:delete t._events[e]}function o(){this._events=new i,this._eventsCount=0}Object.create&&(i.prototype=Object.create(null),(new i).__proto__||(r=!1)),o.prototype.eventNames=function(){var t,i,n=[];if(0===this._eventsCount)return n;for(i in t=this._events)e.call(t,i)&&n.push(r?i.slice(1):i);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(t)):n},o.prototype.listeners=function(t){var e=r?r+t:t,i=this._events[e];if(!i)return[];if(i.fn)return[i.fn];for(var n=0,a=i.length,s=new Array(a);n<a;n++)s[n]=i[n].fn;return s},o.prototype.listenerCount=function(t){var e=r?r+t:t,i=this._events[e];return i?i.fn?1:i.length:0},o.prototype.emit=function(t,e,i,n,a,s){var o=r?r+t:t;if(!this._events[o])return!1;var l,u,h=this._events[o],d=arguments.length;if(h.fn){switch(h.once&&this.removeListener(t,h.fn,void 0,!0),d){case 1:return h.fn.call(h.context),!0;case 2:return h.fn.call(h.context,e),!0;case 3:return h.fn.call(h.context,e,i),!0;case 4:return h.fn.call(h.context,e,i,n),!0;case 5:return h.fn.call(h.context,e,i,n,a),!0;case 6:return h.fn.call(h.context,e,i,n,a,s),!0}for(u=1,l=new Array(d-1);u<d;u++)l[u-1]=arguments[u];h.fn.apply(h.context,l)}else{var c,f=h.length;for(u=0;u<f;u++)switch(h[u].once&&this.removeListener(t,h[u].fn,void 0,!0),d){case 1:h[u].fn.call(h[u].context);break;case 2:h[u].fn.call(h[u].context,e);break;case 3:h[u].fn.call(h[u].context,e,i);break;case 4:h[u].fn.call(h[u].context,e,i,n);break;default:if(!l)for(c=1,l=new Array(d-1);c<d;c++)l[c-1]=arguments[c];h[u].fn.apply(h[u].context,l)}}return!0},o.prototype.on=function(t,e,r){return a(this,t,e,r,!1)},o.prototype.once=function(t,e,r){return a(this,t,e,r,!0)},o.prototype.removeListener=function(t,e,i,n){var a=r?r+t:t;if(!this._events[a])return this;if(!e)return s(this,a),this;var o=this._events[a];if(o.fn)o.fn!==e||n&&!o.once||i&&o.context!==i||s(this,a);else{for(var l=0,u=[],h=o.length;l<h;l++)(o[l].fn!==e||n&&!o[l].once||i&&o[l].context!==i)&&u.push(o[l]);u.length?this._events[a]=1===u.length?u[0]:u:s(this,a)}return this},o.prototype.removeAllListeners=function(t){var e;return t?(e=r?r+t:t,this._events[e]&&s(this,e)):(this._events=new i,this._eventsCount=0),this},o.prototype.off=o.prototype.removeListener,o.prototype.addListener=o.prototype.on,o.prefixed=r,o.EventEmitter=o,t.exports=o}(nn);var an=p(nn.exports);function sn(t,e){if(!((r=e.remuxResult).audio||r.video||r.text||r.id3||r.initSegment))return!1;var r,i=[],n=e.remuxResult,a=n.audio,s=n.video;return a&&on(i,a),s&&on(i,s),t.postMessage({event:"transmuxComplete",data:e},i),!0}function on(t,e){e.data1&&t.push(e.data1.buffer),e.data2&&t.push(e.data2.buffer)}function ln(t,e,r){e.reduce((function(e,r){return sn(t,r)||e}),!1)||t.postMessage({event:"transmuxComplete",data:e[0]}),t.postMessage({event:"flush",data:r})}void 0!==e&&e&&function(t){var e=new an,r=function(e,r){t.postMessage({event:e,data:r})};e.on(S.FRAG_DECRYPTED,r),e.on(S.ERROR,r);var i=function(){var t=function(t){var e=function(e){r("workerLog",{logType:t,message:e})};w[t]=e};for(var e in w)t(e)};t.addEventListener("message",(function(n){var a=n.data;switch(a.cmd){case"init":var s=JSON.parse(a.config);t.transmuxer=new Ji(e,a.typeSupported,s,a.vendor,a.id),I(s.debug,a.id),i(),r("init",null);break;case"configure":t.transmuxer.configure(a.config);break;case"demux":var o=t.transmuxer.push(a.data,a.decryptdata,a.chunkMeta,a.state);tn(o)?(t.transmuxer.async=!0,o.then((function(e){sn(t,e)})).catch((function(t){r(S.ERROR,{type:L.MEDIA_ERROR,details:R.FRAG_PARSING_ERROR,chunkMeta:a.chunkMeta,fatal:!1,error:t,err:t,reason:"transmuxer-worker push error"})}))):(t.transmuxer.async=!1,sn(t,o));break;case"flush":var l=a.chunkMeta,u=t.transmuxer.flush(l);tn(u)||t.transmuxer.async?(tn(u)||(u=Promise.resolve(u)),u.then((function(e){ln(t,e,l)})).catch((function(t){r(S.ERROR,{type:L.MEDIA_ERROR,details:R.FRAG_PARSING_ERROR,chunkMeta:a.chunkMeta,fatal:!1,error:t,err:t,reason:"transmuxer-worker flush error"})}))):ln(t,u,l)}}))}(self);var un=qt()||{isTypeSupported:function(){return!1}},hn=function(){function e(e,r,i,n){var a=this;this.error=null,this.hls=void 0,this.id=void 0,this.observer=void 0,this.frag=null,this.part=null,this.useWorker=void 0,this.workerContext=null,this.onwmsg=void 0,this.transmuxer=null,this.onTransmuxComplete=void 0,this.onFlush=void 0;var s=e.config;this.hls=e,this.id=r,this.useWorker=!!s.enableWorker,this.onTransmuxComplete=i,this.onFlush=n;var o=function(t,e){(e=e||{}).frag=a.frag,e.id=a.id,t===S.ERROR&&(a.error=e.error),a.hls.trigger(t,e)};this.observer=new an,this.observer.on(S.FRAG_DECRYPTED,o),this.observer.on(S.ERROR,o);var l,u,h,d,c={mp4:un.isTypeSupported("video/mp4"),mpeg:un.isTypeSupported("audio/mpeg"),mp3:un.isTypeSupported('audio/mp4; codecs="mp3"')},f=navigator.vendor;if(!this.useWorker||"undefined"==typeof Worker||(s.workerPath,0))this.transmuxer=new Ji(this.observer,c,s,f,r);else try{s.workerPath?(w.log("loading Web Worker "+s.workerPath+' for "'+r+'"'),this.workerContext=(h=s.workerPath,d=new self.URL(h,self.location.href).href,{worker:new self.Worker(d),scriptURL:d})):(w.log('injecting Web Worker for "'+r+'"'),this.workerContext=(l=new self.Blob(["var exports={};var module={exports:exports};function define(f){f()};define.amd=true;("+t.toString()+")(true);"],{type:"text/javascript"}),u=self.URL.createObjectURL(l),{worker:new self.Worker(u),objectURL:u})),this.onwmsg=function(t){return a.onWorkerMessage(t)};var g=this.workerContext.worker;g.addEventListener("message",this.onwmsg),g.onerror=function(t){var e=new Error(t.message+" ("+t.filename+":"+t.lineno+")");s.enableWorker=!1,w.warn('Error in "'+r+'" Web Worker, fallback to inline'),a.hls.trigger(S.ERROR,{type:L.OTHER_ERROR,details:R.INTERNAL_EXCEPTION,fatal:!1,event:"demuxerWorker",error:e})},g.postMessage({cmd:"init",typeSupported:c,vendor:f,id:r,config:JSON.stringify(s)})}catch(t){w.warn('Error setting up "'+r+'" Web Worker, fallback to inline',t),this.resetWorker(),this.error=null,this.transmuxer=new Ji(this.observer,c,s,f,r)}}var r=e.prototype;return r.resetWorker=function(){if(this.workerContext){var t=this.workerContext,e=t.worker,r=t.objectURL;r&&self.URL.revokeObjectURL(r),e.removeEventListener("message",this.onwmsg),e.onerror=null,e.terminate(),this.workerContext=null}},r.destroy=function(){if(this.workerContext)this.resetWorker(),this.onwmsg=void 0;else{var t=this.transmuxer;t&&(t.destroy(),this.transmuxer=null)}var e=this.observer;e&&e.removeAllListeners(),this.frag=null,this.observer=null,this.hls=null},r.push=function(t,e,r,i,n,a,s,o,l,u){var h,d,c=this;l.transmuxing.start=self.performance.now();var f=this.transmuxer,g=a?a.start:n.start,v=n.decryptdata,m=this.frag,p=!(m&&n.cc===m.cc),y=!(m&&l.level===m.level),T=m?l.sn-m.sn:-1,E=this.part?l.part-this.part.index:-1,S=0===T&&l.id>1&&l.id===(null==m?void 0:m.stats.chunkCount),L=!y&&(1===T||0===T&&(1===E||S&&E<=0)),R=self.performance.now();(y||T||0===n.stats.parsing.start)&&(n.stats.parsing.start=R),!a||!E&&L||(a.stats.parsing.start=R);var A=!(m&&(null==(h=n.initSegment)?void 0:h.url)===(null==(d=m.initSegment)?void 0:d.url)),k=new rn(p,L,o,y,g,A);if(!L||p||A){w.log("[transmuxer-interface, "+n.type+"]: Starting new transmux session for sn: "+l.sn+" p: "+l.part+" level: "+l.level+" id: "+l.id+"\n discontinuity: "+p+"\n trackSwitch: "+y+"\n contiguous: "+L+"\n accurateTimeOffset: "+o+"\n timeOffset: "+g+"\n initSegmentChange: "+A);var b=new en(r,i,e,s,u);this.configureTransmuxer(b)}if(this.frag=n,this.part=a,this.workerContext)this.workerContext.worker.postMessage({cmd:"demux",data:t,decryptdata:v,chunkMeta:l,state:k},t instanceof ArrayBuffer?[t]:[]);else if(f){var D=f.push(t,v,l,k);tn(D)?(f.async=!0,D.then((function(t){c.handleTransmuxComplete(t)})).catch((function(t){c.transmuxerError(t,l,"transmuxer-interface push error")}))):(f.async=!1,this.handleTransmuxComplete(D))}},r.flush=function(t){var e=this;t.transmuxing.start=self.performance.now();var r=this.transmuxer;if(this.workerContext)this.workerContext.worker.postMessage({cmd:"flush",chunkMeta:t});else if(r){var i=r.flush(t);tn(i)||r.async?(tn(i)||(i=Promise.resolve(i)),i.then((function(r){e.handleFlushResult(r,t)})).catch((function(r){e.transmuxerError(r,t,"transmuxer-interface flush error")}))):this.handleFlushResult(i,t)}},r.transmuxerError=function(t,e,r){this.hls&&(this.error=t,this.hls.trigger(S.ERROR,{type:L.MEDIA_ERROR,details:R.FRAG_PARSING_ERROR,chunkMeta:e,fatal:!1,error:t,err:t,reason:r}))},r.handleFlushResult=function(t,e){var r=this;t.forEach((function(t){r.handleTransmuxComplete(t)})),this.onFlush(e)},r.onWorkerMessage=function(t){var e=t.data,r=this.hls;switch(e.event){case"init":var i,n=null==(i=this.workerContext)?void 0:i.objectURL;n&&self.URL.revokeObjectURL(n);break;case"transmuxComplete":this.handleTransmuxComplete(e.data);break;case"flush":this.onFlush(e.data);break;case"workerLog":w[e.data.logType]&&w[e.data.logType](e.data.message);break;default:e.data=e.data||{},e.data.frag=this.frag,e.data.id=this.id,r.trigger(e.event,e.data)}},r.configureTransmuxer=function(t){var e=this.transmuxer;this.workerContext?this.workerContext.worker.postMessage({cmd:"configure",config:t}):e&&e.configure(t)},r.handleTransmuxComplete=function(t){t.chunkMeta.transmuxing.end=self.performance.now(),this.onTransmuxComplete(t)},e}(),dn=function(){function t(t,e,r,i){this.config=void 0,this.media=null,this.fragmentTracker=void 0,this.hls=void 0,this.nudgeRetry=0,this.stallReported=!1,this.stalled=null,this.moved=!1,this.seeking=!1,this.config=t,this.media=e,this.fragmentTracker=r,this.hls=i}var e=t.prototype;return e.destroy=function(){this.media=null,this.hls=this.fragmentTracker=null},e.poll=function(t,e){var r=this.config,i=this.media,n=this.stalled;if(null!==i){var a=i.currentTime,s=i.seeking,o=this.seeking&&!s,l=!this.seeking&&s;if(this.seeking=s,a===t){if(l||o)this.stalled=null;else if(!(i.paused&&!s||i.ended||0===i.playbackRate)&&Ir.getBuffered(i).length){var u=Ir.bufferInfo(i,a,0),h=u.len>0,d=u.nextStart||0;if(h||d){if(s){var c=u.len>2,f=!d||e&&e.start<=a||d-a>2&&!this.fragmentTracker.getPartialFragment(a);if(c||f)return;this.moved=!1}if(!this.moved&&null!==this.stalled){var g,v=Math.max(d,u.start||0)-a,m=this.hls.levels?this.hls.levels[this.hls.currentLevel]:null,p=(null==m||null==(g=m.details)?void 0:g.live)?2*m.details.targetduration:2,y=this.fragmentTracker.getPartialFragment(a);if(v>0&&(v<=p||y))return void this._trySkipBufferHole(y)}var T=self.performance.now();if(null!==n){var E=T-n;if(s||!(E>=250)||(this._reportStall(u),this.media)){var S=Ir.bufferInfo(i,a,r.maxBufferHole);this._tryFixBufferStall(S,E)}}else this.stalled=T}}}else if(this.moved=!0,null!==n){if(this.stallReported){var L=self.performance.now()-n;w.warn("playback not stuck anymore @"+a+", after "+Math.round(L)+"ms"),this.stallReported=!1}this.stalled=null,this.nudgeRetry=0}}},e._tryFixBufferStall=function(t,e){var r=this.config,i=this.fragmentTracker,n=this.media;if(null!==n){var a=n.currentTime,s=i.getPartialFragment(a);if(s&&(this._trySkipBufferHole(s)||!this.media))return;(t.len>r.maxBufferHole||t.nextStart&&t.nextStart-a<r.maxBufferHole)&&e>1e3*r.highBufferWatchdogPeriod&&(w.warn("Trying to nudge playhead over buffer-hole"),this.stalled=null,this._tryNudgeBuffer())}},e._reportStall=function(t){var e=this.hls,r=this.media;if(!this.stallReported&&r){this.stallReported=!0;var i=new Error("Playback stalling at @"+r.currentTime+" due to low buffer ("+JSON.stringify(t)+")");w.warn(i.message),e.trigger(S.ERROR,{type:L.MEDIA_ERROR,details:R.BUFFER_STALLED_ERROR,fatal:!1,error:i,buffer:t.len})}},e._trySkipBufferHole=function(t){var e=this.config,r=this.hls,i=this.media;if(null===i)return 0;var n=i.currentTime,a=Ir.bufferInfo(i,n,0),s=n<a.start?a.start:a.nextStart;if(s){var o=a.len<=e.maxBufferHole,l=a.len>0&&a.len<1&&i.readyState<3,u=s-n;if(u>0&&(o||l)){if(u>e.maxBufferHole){var h=this.fragmentTracker,d=!1;if(0===n){var c=h.getAppendedFrag(0,ge);c&&s<c.end&&(d=!0)}if(!d){var f=t||h.getAppendedFrag(n,ge);if(f){for(var g=!1,v=f.end;v<s;){var m=h.getPartialFragment(v);if(!m){g=!0;break}v+=m.duration}if(g)return 0}}}var p=Math.max(s+.05,n+.1);if(w.warn("skipping hole, adjusting currentTime from "+n+" to "+p),this.moved=!0,this.stalled=null,i.currentTime=p,t&&!t.gap){var y=new Error("fragment loaded with buffer holes, seeking from "+n+" to "+p);r.trigger(S.ERROR,{type:L.MEDIA_ERROR,details:R.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:y,reason:y.message,frag:t})}return p}}return 0},e._tryNudgeBuffer=function(){var t=this.config,e=this.hls,r=this.media,i=this.nudgeRetry;if(null!==r){var n=r.currentTime;if(this.nudgeRetry++,i<t.nudgeMaxRetry){var a=n+(i+1)*t.nudgeOffset,s=new Error("Nudging 'currentTime' from "+n+" to "+a);w.warn(s.message),r.currentTime=a,e.trigger(S.ERROR,{type:L.MEDIA_ERROR,details:R.BUFFER_NUDGE_ON_STALL,error:s,fatal:!1})}else{var o=new Error("Playhead still not moving while enough data buffered @"+n+" after "+t.nudgeMaxRetry+" nudges");w.error(o.message),e.trigger(S.ERROR,{type:L.MEDIA_ERROR,details:R.BUFFER_STALLED_ERROR,error:o,fatal:!0})}}},t}(),cn=function(t){function e(e,r,i){var n;return(n=t.call(this,e,r,i,"[stream-controller]",ge)||this).audioCodecSwap=!1,n.gapController=null,n.level=-1,n._forceStartLoad=!1,n.altAudio=!1,n.audioOnly=!1,n.fragPlaying=null,n.onvplaying=null,n.onvseeked=null,n.fragLastKbps=0,n.couldBacktrack=!1,n.backtrackFragment=null,n.audioCodecSwitch=!1,n.videoBuffer=null,n._registerListeners(),n}l(e,t);var r=e.prototype;return r._registerListeners=function(){var t=this.hls;t.on(S.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(S.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(S.MANIFEST_LOADING,this.onManifestLoading,this),t.on(S.MANIFEST_PARSED,this.onManifestParsed,this),t.on(S.LEVEL_LOADING,this.onLevelLoading,this),t.on(S.LEVEL_LOADED,this.onLevelLoaded,this),t.on(S.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.on(S.ERROR,this.onError,this),t.on(S.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(S.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.on(S.BUFFER_CREATED,this.onBufferCreated,this),t.on(S.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(S.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(S.FRAG_BUFFERED,this.onFragBuffered,this)},r._unregisterListeners=function(){var t=this.hls;t.off(S.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(S.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(S.MANIFEST_LOADING,this.onManifestLoading,this),t.off(S.MANIFEST_PARSED,this.onManifestParsed,this),t.off(S.LEVEL_LOADED,this.onLevelLoaded,this),t.off(S.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.off(S.ERROR,this.onError,this),t.off(S.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(S.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.off(S.BUFFER_CREATED,this.onBufferCreated,this),t.off(S.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(S.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(S.FRAG_BUFFERED,this.onFragBuffered,this)},r.onHandlerDestroying=function(){this._unregisterListeners(),this.onMediaDetaching()},r.startLoad=function(t){if(this.levels){var e=this.lastCurrentTime,r=this.hls;if(this.stopLoad(),this.setInterval(100),this.level=-1,!this.startFragRequested){var i=r.startLevel;-1===i&&(r.config.testBandwidth&&this.levels.length>1?(i=0,this.bitrateTest=!0):i=r.nextAutoLevel),this.level=r.nextLoadLevel=i,this.loadedmetadata=!1}e>0&&-1===t&&(this.log("Override startPosition with lastCurrentTime @"+e.toFixed(3)),t=e),this.state=Kr,this.nextLoadPosition=this.startPosition=this.lastCurrentTime=t,this.tick()}else this._forceStartLoad=!0,this.state=Gr},r.stopLoad=function(){this._forceStartLoad=!1,t.prototype.stopLoad.call(this)},r.doTick=function(){switch(this.state){case $r:var t,e=this.levels,r=this.level,i=null==e||null==(t=e[r])?void 0:t.details;if(i&&(!i.live||this.levelLastLoaded===this.level)){if(this.waitForCdnTuneIn(i))break;this.state=Kr;break}if(this.hls.nextLoadLevel!==this.level){this.state=Kr;break}break;case Yr:var n,a=self.performance.now(),s=this.retryDate;(!s||a>=s||null!=(n=this.media)&&n.seeking)&&(this.resetStartWhenNotLoaded(this.level),this.state=Kr)}this.state===Kr&&this.doTickIdle(),this.onTickEnd()},r.onTickEnd=function(){t.prototype.onTickEnd.call(this),this.checkBuffer(),this.checkFragmentChanged()},r.doTickIdle=function(){var t=this.hls,e=this.levelLastLoaded,r=this.levels,i=this.media,n=t.config,a=t.nextLoadLevel;if(null!==e&&(i||!this.startFragRequested&&n.startFragPrefetch)&&(!this.altAudio||!this.audioOnly)&&null!=r&&r[a]){var s=r[a],o=this.getMainFwdBufferInfo();if(null!==o){var l=this.getLevelDetails();if(l&&this._streamEnded(o,l)){var u={};return this.altAudio&&(u.type="video"),this.hls.trigger(S.BUFFER_EOS,u),void(this.state=Xr)}t.loadLevel!==a&&-1===t.manualLevel&&this.log("Adapting to level "+a+" from level "+this.level),this.level=t.nextLoadLevel=a;var h=s.details;if(!h||this.state===$r||h.live&&this.levelLastLoaded!==a)return this.level=a,void(this.state=$r);var d=o.len,c=this.getMaxBufferLength(s.maxBitrate);if(!(d>=c)){this.backtrackFragment&&this.backtrackFragment.start>o.end&&(this.backtrackFragment=null);var f=this.backtrackFragment?this.backtrackFragment.start:o.end,g=this.getNextFragment(f,h);if(this.couldBacktrack&&!this.fragPrevious&&g&&"initSegment"!==g.sn&&this.fragmentTracker.getState(g)!==mr){var v,m=(null!=(v=this.backtrackFragment)?v:g).sn-h.startSN,p=h.fragments[m-1];p&&g.cc===p.cc&&(g=p,this.fragmentTracker.removeFragment(p))}else this.backtrackFragment&&o.len&&(this.backtrackFragment=null);if(g&&this.isLoopLoading(g,f)){if(!g.gap){var y=this.audioOnly&&!this.altAudio?O:N,T=(y===N?this.videoBuffer:this.mediaBuffer)||this.media;T&&this.afterBufferFlushed(T,y,ge)}g=this.getNextFragmentLoopLoading(g,h,o,ge,c)}g&&(!g.initSegment||g.initSegment.data||this.bitrateTest||(g=g.initSegment),this.loadFragment(g,s,f))}}}},r.loadFragment=function(e,r,i){var n=this.fragmentTracker.getState(e);this.fragCurrent=e,n===fr||n===vr?"initSegment"===e.sn?this._loadInitSegment(e,r):this.bitrateTest?(this.log("Fragment "+e.sn+" of level "+e.level+" is being downloaded to test bitrate and will not be buffered"),this._loadBitrateTestFrag(e,r)):(this.startFragRequested=!0,t.prototype.loadFragment.call(this,e,r,i)):this.clearTrackerIfNeeded(e)},r.getBufferedFrag=function(t){return this.fragmentTracker.getBufferedFrag(t,ge)},r.followingBufferedFrag=function(t){return t?this.getBufferedFrag(t.end+.5):null},r.immediateLevelSwitch=function(){this.abortCurrentFrag(),this.flushMainBuffer(0,Number.POSITIVE_INFINITY)},r.nextLevelSwitch=function(){var t=this.levels,e=this.media;if(null!=e&&e.readyState){var r,i=this.getAppendedFrag(e.currentTime);i&&i.start>1&&this.flushMainBuffer(0,i.start-1);var n=this.getLevelDetails();if(null!=n&&n.live){var a=this.getMainFwdBufferInfo();if(!a||a.len<2*n.targetduration)return}if(!e.paused&&t){var s=t[this.hls.nextLoadLevel],o=this.fragLastKbps;r=o&&this.fragCurrent?this.fragCurrent.duration*s.maxBitrate/(1e3*o)+1:0}else r=0;var l=this.getBufferedFrag(e.currentTime+r);if(l){var u=this.followingBufferedFrag(l);if(u){this.abortCurrentFrag();var h=u.maxStartPTS?u.maxStartPTS:u.start,d=u.duration,c=Math.max(l.end,h+Math.min(Math.max(d-this.config.maxFragLookUpTolerance,.5*d),.75*d));this.flushMainBuffer(c,Number.POSITIVE_INFINITY)}}}},r.abortCurrentFrag=function(){var t=this.fragCurrent;switch(this.fragCurrent=null,this.backtrackFragment=null,t&&(t.abortRequests(),this.fragmentTracker.removeFragment(t)),this.state){case Hr:case Vr:case Yr:case jr:case qr:this.state=Kr}this.nextLoadPosition=this.getLoadPosition()},r.flushMainBuffer=function(e,r){t.prototype.flushMainBuffer.call(this,e,r,this.altAudio?"video":null)},r.onMediaAttached=function(e,r){t.prototype.onMediaAttached.call(this,e,r);var i=r.media;this.onvplaying=this.onMediaPlaying.bind(this),this.onvseeked=this.onMediaSeeked.bind(this),i.addEventListener("playing",this.onvplaying),i.addEventListener("seeked",this.onvseeked),this.gapController=new dn(this.config,i,this.fragmentTracker,this.hls)},r.onMediaDetaching=function(){var e=this.media;e&&this.onvplaying&&this.onvseeked&&(e.removeEventListener("playing",this.onvplaying),e.removeEventListener("seeked",this.onvseeked),this.onvplaying=this.onvseeked=null,this.videoBuffer=null),this.fragPlaying=null,this.gapController&&(this.gapController.destroy(),this.gapController=null),t.prototype.onMediaDetaching.call(this)},r.onMediaPlaying=function(){this.tick()},r.onMediaSeeked=function(){var t=this.media,e=t?t.currentTime:null;E(e)&&this.log("Media seeked to "+e.toFixed(3));var r=this.getMainFwdBufferInfo();null!==r&&0!==r.len?this.tick():this.warn('Main forward buffer length on "seeked" event '+(r?r.len:"empty")+")")},r.onManifestLoading=function(){this.log("Trigger BUFFER_RESET"),this.hls.trigger(S.BUFFER_RESET,void 0),this.fragmentTracker.removeAllFragments(),this.couldBacktrack=!1,this.startPosition=this.lastCurrentTime=0,this.levels=this.fragPlaying=this.backtrackFragment=null,this.altAudio=this.audioOnly=!1},r.onManifestParsed=function(t,e){var r,i,n,a=!1,s=!1;e.levels.forEach((function(t){(r=t.audioCodec)&&(-1!==r.indexOf("mp4a.40.2")&&(a=!0),-1!==r.indexOf("mp4a.40.5")&&(s=!0))})),this.audioCodecSwitch=a&&s&&!("function"==typeof(null==(n=Zr())||null==(i=n.prototype)?void 0:i.changeType)),this.audioCodecSwitch&&this.log("Both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC"),this.levels=e.levels,this.startFragRequested=!1},r.onLevelLoading=function(t,e){var r=this.levels;if(r&&this.state===Kr){var i=r[e.level];(!i.details||i.details.live&&this.levelLastLoaded!==e.level||this.waitForCdnTuneIn(i.details))&&(this.state=$r)}},r.onLevelLoaded=function(t,e){var r,i=this.levels,n=e.level,a=e.details,s=a.totalduration;if(i){this.log("Level "+n+" loaded ["+a.startSN+","+a.endSN+"]"+(a.lastPartSn?"[part-"+a.lastPartSn+"-"+a.lastPartIndex+"]":"")+", cc ["+a.startCC+", "+a.endCC+"] duration:"+s);var o=i[n],l=this.fragCurrent;!l||this.state!==Vr&&this.state!==Yr||l.level===e.level&&l.urlId===o.urlId||!l.loader||this.abortCurrentFrag();var u=0;if(a.live||null!=(r=o.details)&&r.live){if(a.fragments[0]||(a.deltaUpdateFailed=!0),a.deltaUpdateFailed)return;u=this.alignPlaylists(a,o.details)}if(o.details=a,this.levelLastLoaded=n,this.hls.trigger(S.LEVEL_UPDATED,{details:a,level:n}),this.state===$r){if(this.waitForCdnTuneIn(a))return;this.state=Kr}this.startFragRequested?a.live&&this.synchronizeToLiveEdge(a):this.setStartPosition(a,u),this.tick()}else this.warn("Levels were reset while loading level "+n)},r._handleFragmentLoadProgress=function(t){var e,r=t.frag,i=t.part,n=t.payload,a=this.levels;if(a){var s=a[r.level],o=s.details;if(!o)return this.warn("Dropping fragment "+r.sn+" of level "+r.level+" after level details were reset"),void this.fragmentTracker.removeFragment(r);var l=s.videoCodec,u=o.PTSKnown||!o.live,h=null==(e=r.initSegment)?void 0:e.data,d=this._getAudioCodec(s),c=this.transmuxer=this.transmuxer||new hn(this.hls,ge,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)),f=i?i.index:-1,g=-1!==f,v=new wr(r.level,r.sn,r.stats.chunkCount,n.byteLength,f,g),m=this.initPTS[r.cc];c.push(n,h,d,l,r,i,o.totalduration,u,v,m)}else this.warn("Levels were reset while fragment load was in progress. Fragment "+r.sn+" of level "+r.level+" will not be buffered")},r.onAudioTrackSwitching=function(t,e){var r=this.altAudio;if(!e.url){if(this.mediaBuffer!==this.media){this.log("Switching on main audio, use media.buffered to schedule main fragment loading"),this.mediaBuffer=this.media;var i=this.fragCurrent;i&&(this.log("Switching to main audio track, cancel main fragment load"),i.abortRequests(),this.fragmentTracker.removeFragment(i)),this.resetTransmuxer(),this.resetLoadingState()}else this.audioOnly&&this.resetTransmuxer();var n=this.hls;r&&(n.trigger(S.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null}),this.fragmentTracker.removeAllFragments()),n.trigger(S.AUDIO_TRACK_SWITCHED,e)}},r.onAudioTrackSwitched=function(t,e){var r=e.id,i=!!this.hls.audioTracks[r].url;if(i){var n=this.videoBuffer;n&&this.mediaBuffer!==n&&(this.log("Switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=n)}this.altAudio=i,this.tick()},r.onBufferCreated=function(t,e){var r,i,n=e.tracks,a=!1;for(var s in n){var o=n[s];if("main"===o.id){if(i=s,r=o,"video"===s){var l=n[s];l&&(this.videoBuffer=l.buffer)}}else a=!0}a&&r?(this.log("Alternate track found, use "+i+".buffered to schedule main fragment loading"),this.mediaBuffer=r.buffer):this.mediaBuffer=this.media},r.onFragBuffered=function(t,e){var r=e.frag,i=e.part;if(!r||r.type===ge){if(this.fragContextChanged(r))return this.warn("Fragment "+r.sn+(i?" p: "+i.index:"")+" of level "+r.level+" finished buffering, but was aborted. state: "+this.state),void(this.state===qr&&(this.state=Kr));var n=i?i.stats:r.stats;this.fragLastKbps=Math.round(8*n.total/(n.buffering.end-n.loading.first)),"initSegment"!==r.sn&&(this.fragPrevious=r),this.fragBufferedComplete(r,i)}},r.onError=function(t,e){var r;if(e.fatal)this.state=zr;else switch(e.details){case R.FRAG_GAP:case R.FRAG_PARSING_ERROR:case R.FRAG_DECRYPT_ERROR:case R.FRAG_LOAD_ERROR:case R.FRAG_LOAD_TIMEOUT:case R.KEY_LOAD_ERROR:case R.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(ge,e);break;case R.LEVEL_LOAD_ERROR:case R.LEVEL_LOAD_TIMEOUT:case R.LEVEL_PARSING_ERROR:e.levelRetry||this.state!==$r||(null==(r=e.context)?void 0:r.type)!==de||(this.state=Kr);break;case R.BUFFER_FULL_ERROR:if(!e.parent||"main"!==e.parent)return;this.reduceLengthAndFlushBuffer(e)&&this.flushMainBuffer(0,Number.POSITIVE_INFINITY);break;case R.INTERNAL_EXCEPTION:this.recoverWorkerError(e)}},r.checkBuffer=function(){var t=this.media,e=this.gapController;if(t&&e&&t.readyState){if(this.loadedmetadata||!Ir.getBuffered(t).length){var r=this.state!==Kr?this.fragCurrent:null;e.poll(this.lastCurrentTime,r)}this.lastCurrentTime=t.currentTime}},r.onFragLoadEmergencyAborted=function(){this.state=Kr,this.loadedmetadata||(this.startFragRequested=!1,this.nextLoadPosition=this.startPosition),this.tickImmediate()},r.onBufferFlushed=function(t,e){var r=e.type;if(r!==O||this.audioOnly&&!this.altAudio){var i=(r===N?this.videoBuffer:this.mediaBuffer)||this.media;this.afterBufferFlushed(i,r,ge)}},r.onLevelsUpdated=function(t,e){this.levels=e.levels},r.swapAudioCodec=function(){this.audioCodecSwap=!this.audioCodecSwap},r.seekToStartPos=function(){var t=this.media;if(t){var e=t.currentTime,r=this.startPosition;if(r>=0&&e<r){if(t.seeking)return void this.log("could not seek to "+r+", already seeking at "+e);var i=Ir.getBuffered(t),n=(i.length?i.start(0):0)-r;n>0&&(n<this.config.maxBufferHole||n<this.config.maxFragLookUpTolerance)&&(this.log("adjusting start position by "+n+" to match buffer start"),r+=n,this.startPosition=r),this.log("seek to target start position "+r+" from current time "+e),t.currentTime=r}}},r._getAudioCodec=function(t){var e=this.config.defaultAudioCodec||t.audioCodec;return this.audioCodecSwap&&e&&(this.log("Swapping audio codec"),e=-1!==e.indexOf("mp4a.40.5")?"mp4a.40.2":"mp4a.40.5"),e},r._loadBitrateTestFrag=function(t,e){var r=this;t.bitrateTest=!0,this._doFragLoad(t,e).then((function(i){var n=r.hls;if(i&&!r.fragContextChanged(t)){e.fragmentError=0,r.state=Kr,r.startFragRequested=!1,r.bitrateTest=!1;var a=t.stats;a.parsing.start=a.parsing.end=a.buffering.start=a.buffering.end=self.performance.now(),n.trigger(S.FRAG_LOADED,i),t.bitrateTest=!1}}))},r._handleTransmuxComplete=function(t){var e,r="main",i=this.hls,n=t.remuxResult,a=t.chunkMeta,s=this.getCurrentContext(a);if(s){var o=s.frag,l=s.part,u=s.level,h=n.video,d=n.text,c=n.id3,f=n.initSegment,g=u.details,v=this.altAudio?void 0:n.audio;if(this.fragContextChanged(o))this.fragmentTracker.removeFragment(o);else{if(this.state=jr,f){if(null!=f&&f.tracks){var m=o.initSegment||o;this._bufferInitSegment(u,f.tracks,m,a),i.trigger(S.FRAG_PARSING_INIT_SEGMENT,{frag:m,id:r,tracks:f.tracks})}var p=f.initPTS,y=f.timescale;E(p)&&(this.initPTS[o.cc]={baseTime:p,timescale:y},i.trigger(S.INIT_PTS_FOUND,{frag:o,id:r,initPTS:p,timescale:y}))}if(h&&g&&"initSegment"!==o.sn){var T=g.fragments[o.sn-1-g.startSN],L=o.sn===g.startSN,R=!T||o.cc>T.cc;if(!1!==n.independent){var A=h.startPTS,k=h.endPTS,b=h.startDTS,D=h.endDTS;if(l)l.elementaryStreams[h.type]={startPTS:A,endPTS:k,startDTS:b,endDTS:D};else if(h.firstKeyFrame&&h.independent&&1===a.id&&!R&&(this.couldBacktrack=!0),h.dropped&&h.independent){var I=this.getMainFwdBufferInfo(),w=(I?I.end:this.getLoadPosition())+this.config.maxBufferHole,C=h.firstKeyFramePTS?h.firstKeyFramePTS:A;if(!L&&w<C-this.config.maxBufferHole&&!R)return void this.backtrack(o);R&&(o.gap=!0),o.setElementaryStreamInfo(h.type,o.start,k,o.start,D,!0)}o.setElementaryStreamInfo(h.type,A,k,b,D),this.backtrackFragment&&(this.backtrackFragment=o),this.bufferFragmentData(h,o,l,a,L||R)}else{if(!L&&!R)return void this.backtrack(o);o.gap=!0}}if(v){var _=v.startPTS,P=v.endPTS,x=v.startDTS,F=v.endDTS;l&&(l.elementaryStreams[O]={startPTS:_,endPTS:P,startDTS:x,endDTS:F}),o.setElementaryStreamInfo(O,_,P,x,F),this.bufferFragmentData(v,o,l,a)}if(g&&null!=c&&null!=(e=c.samples)&&e.length){var M={id:r,frag:o,details:g,samples:c.samples};i.trigger(S.FRAG_PARSING_METADATA,M)}if(g&&d){var N={id:r,frag:o,details:g,samples:d.samples};i.trigger(S.FRAG_PARSING_USERDATA,N)}}}else this.resetWhenMissingContext(a)},r._bufferInitSegment=function(t,e,r,i){var n=this;if(this.state===jr){this.audioOnly=!!e.audio&&!e.video,this.altAudio&&!this.audioOnly&&delete e.audio;var a=e.audio,s=e.video,o=e.audiovideo;if(a){var l=t.audioCodec,u=navigator.userAgent.toLowerCase();this.audioCodecSwitch&&(l&&(l=-1!==l.indexOf("mp4a.40.5")?"mp4a.40.2":"mp4a.40.5"),1!==a.metadata.channelCount&&-1===u.indexOf("firefox")&&(l="mp4a.40.5")),-1!==u.indexOf("android")&&"audio/mpeg"!==a.container&&(l="mp4a.40.2",this.log("Android: force audio codec to "+l)),t.audioCodec&&t.audioCodec!==l&&this.log('Swapping manifest audio codec "'+t.audioCodec+'" for "'+l+'"'),a.levelCodec=l,a.id="main",this.log("Init audio buffer, container:"+a.container+", codecs[selected/level/parsed]=["+(l||"")+"/"+(t.audioCodec||"")+"/"+a.codec+"]")}s&&(s.levelCodec=t.videoCodec,s.id="main",this.log("Init video buffer, container:"+s.container+", codecs[level/parsed]=["+(t.videoCodec||"")+"/"+s.codec+"]")),o&&this.log("Init audiovideo buffer, container:"+o.container+", codecs[level/parsed]=["+(t.attrs.CODECS||"")+"/"+o.codec+"]"),this.hls.trigger(S.BUFFER_CODECS,e),Object.keys(e).forEach((function(t){var a=e[t].initSegment;null!=a&&a.byteLength&&n.hls.trigger(S.BUFFER_APPENDING,{type:t,data:a,frag:r,part:null,chunkMeta:i,parent:r.type})})),this.tick()}},r.getMainFwdBufferInfo=function(){return this.getFwdBufferInfo(this.mediaBuffer?this.mediaBuffer:this.media,ge)},r.backtrack=function(t){this.couldBacktrack=!0,this.backtrackFragment=t,this.resetTransmuxer(),this.flushBufferGap(t),this.fragmentTracker.removeFragment(t),this.fragPrevious=null,this.nextLoadPosition=t.start,this.state=Kr},r.checkFragmentChanged=function(){var t=this.media,e=null;if(t&&t.readyState>1&&!1===t.seeking){var r=t.currentTime;if(Ir.isBuffered(t,r)?e=this.getAppendedFrag(r):Ir.isBuffered(t,r+.1)&&(e=this.getAppendedFrag(r+.1)),e){this.backtrackFragment=null;var i=this.fragPlaying,n=e.level;i&&e.sn===i.sn&&i.level===n&&e.urlId===i.urlId||(this.fragPlaying=e,this.hls.trigger(S.FRAG_CHANGED,{frag:e}),i&&i.level===n||this.hls.trigger(S.LEVEL_SWITCHED,{level:n}))}}},a(e,[{key:"nextLevel",get:function(){var t=this.nextBufferedFrag;return t?t.level:-1}},{key:"currentFrag",get:function(){var t=this.media;return t?this.fragPlaying||this.getAppendedFrag(t.currentTime):null}},{key:"currentProgramDateTime",get:function(){var t=this.media;if(t){var e=t.currentTime,r=this.currentFrag;if(r&&E(e)&&E(r.programDateTime)){var i=r.programDateTime+1e3*(e-r.start);return new Date(i)}}return null}},{key:"currentLevel",get:function(){var t=this.currentFrag;return t?t.level:-1}},{key:"nextBufferedFrag",get:function(){var t=this.currentFrag;return t?this.followingBufferedFrag(t):null}},{key:"forceStartLoad",get:function(){return this._forceStartLoad}}]),e}(Jr),fn=function(){function t(t,e,r){void 0===e&&(e=0),void 0===r&&(r=0),this.halfLife=void 0,this.alpha_=void 0,this.estimate_=void 0,this.totalWeight_=void 0,this.halfLife=t,this.alpha_=t?Math.exp(Math.log(.5)/t):0,this.estimate_=e,this.totalWeight_=r}var e=t.prototype;return e.sample=function(t,e){var r=Math.pow(this.alpha_,t);this.estimate_=e*(1-r)+r*this.estimate_,this.totalWeight_+=t},e.getTotalWeight=function(){return this.totalWeight_},e.getEstimate=function(){if(this.alpha_){var t=1-Math.pow(this.alpha_,this.totalWeight_);if(t)return this.estimate_/t}return this.estimate_},t}(),gn=function(){function t(t,e,r,i){void 0===i&&(i=100),this.defaultEstimate_=void 0,this.minWeight_=void 0,this.minDelayMs_=void 0,this.slow_=void 0,this.fast_=void 0,this.defaultTTFB_=void 0,this.ttfb_=void 0,this.defaultEstimate_=r,this.minWeight_=.001,this.minDelayMs_=50,this.slow_=new fn(t),this.fast_=new fn(e),this.defaultTTFB_=i,this.ttfb_=new fn(t)}var e=t.prototype;return e.update=function(t,e){var r=this.slow_,i=this.fast_,n=this.ttfb_;r.halfLife!==t&&(this.slow_=new fn(t,r.getEstimate(),r.getTotalWeight())),i.halfLife!==e&&(this.fast_=new fn(e,i.getEstimate(),i.getTotalWeight())),n.halfLife!==t&&(this.ttfb_=new fn(t,n.getEstimate(),n.getTotalWeight()))},e.sample=function(t,e){var r=(t=Math.max(t,this.minDelayMs_))/1e3,i=8*e/r;this.fast_.sample(r,i),this.slow_.sample(r,i)},e.sampleTTFB=function(t){var e=t/1e3,r=Math.sqrt(2)*Math.exp(-Math.pow(e,2)/2);this.ttfb_.sample(r,Math.max(t,5))},e.canEstimate=function(){return this.fast_.getTotalWeight()>=this.minWeight_},e.getEstimate=function(){return this.canEstimate()?Math.min(this.fast_.getEstimate(),this.slow_.getEstimate()):this.defaultEstimate_},e.getEstimateTTFB=function(){return this.ttfb_.getTotalWeight()>=this.minWeight_?this.ttfb_.getEstimate():this.defaultTTFB_},e.destroy=function(){},t}(),vn=function(){function t(t){this.hls=void 0,this.lastLevelLoadSec=0,this.lastLoadedFragLevel=0,this._nextAutoLevel=-1,this.timer=-1,this.onCheck=this._abandonRulesCheck.bind(this),this.fragCurrent=null,this.partCurrent=null,this.bitrateTestDelay=0,this.bwEstimator=void 0,this.hls=t;var e=t.config;this.bwEstimator=new gn(e.abrEwmaSlowVoD,e.abrEwmaFastVoD,e.abrEwmaDefaultEstimate),this.registerListeners()}var e=t.prototype;return e.registerListeners=function(){var t=this.hls;t.on(S.FRAG_LOADING,this.onFragLoading,this),t.on(S.FRAG_LOADED,this.onFragLoaded,this),t.on(S.FRAG_BUFFERED,this.onFragBuffered,this),t.on(S.LEVEL_SWITCHING,this.onLevelSwitching,this),t.on(S.LEVEL_LOADED,this.onLevelLoaded,this)},e.unregisterListeners=function(){var t=this.hls;t.off(S.FRAG_LOADING,this.onFragLoading,this),t.off(S.FRAG_LOADED,this.onFragLoaded,this),t.off(S.FRAG_BUFFERED,this.onFragBuffered,this),t.off(S.LEVEL_SWITCHING,this.onLevelSwitching,this),t.off(S.LEVEL_LOADED,this.onLevelLoaded,this)},e.destroy=function(){this.unregisterListeners(),this.clearTimer(),this.hls=this.onCheck=null,this.fragCurrent=this.partCurrent=null},e.onFragLoading=function(t,e){var r,i=e.frag;this.ignoreFragment(i)||(this.fragCurrent=i,this.partCurrent=null!=(r=e.part)?r:null,this.clearTimer(),this.timer=self.setInterval(this.onCheck,100))},e.onLevelSwitching=function(t,e){this.clearTimer()},e.getTimeToLoadFrag=function(t,e,r,i){return t+r/e+(i?this.lastLevelLoadSec:0)},e.onLevelLoaded=function(t,e){var r=this.hls.config,i=e.stats,n=i.total,a=i.bwEstimate;E(n)&&E(a)&&(this.lastLevelLoadSec=8*n/a),e.details.live?this.bwEstimator.update(r.abrEwmaSlowLive,r.abrEwmaFastLive):this.bwEstimator.update(r.abrEwmaSlowVoD,r.abrEwmaFastVoD)},e._abandonRulesCheck=function(){var t=this.fragCurrent,e=this.partCurrent,r=this.hls,i=r.autoLevelEnabled,n=r.media;if(t&&n){var a=performance.now(),s=e?e.stats:t.stats,o=e?e.duration:t.duration,l=a-s.loading.start;if(s.aborted||s.loaded&&s.loaded===s.total||0===t.level)return this.clearTimer(),void(this._nextAutoLevel=-1);if(i&&!n.paused&&n.playbackRate&&n.readyState){var u=r.mainForwardBufferInfo;if(null!==u){var h=this.bwEstimator.getEstimateTTFB(),d=Math.abs(n.playbackRate);if(!(l<=Math.max(h,o/(2*d)*1e3))){var c=u.len/d;if(!(c>=2*o/d)){var f=s.loading.first?s.loading.first-s.loading.start:-1,g=s.loaded&&f>-1,v=this.bwEstimator.getEstimate(),m=r.levels,p=r.minAutoLevel,y=m[t.level],T=s.total||Math.max(s.loaded,Math.round(o*y.maxBitrate/8)),L=l-f;L<1&&g&&(L=Math.min(l,8*s.loaded/v));var R=g?1e3*s.loaded/L:0,A=R?(T-s.loaded)/R:8*T/v+h/1e3;if(!(A<=c)){var k,b=R?8*R:v,D=Number.POSITIVE_INFINITY;for(k=t.level-1;k>p;k--){var I=m[k].maxBitrate;if((D=this.getTimeToLoadFrag(h/1e3,b,o*I,!m[k].details))<c)break}D>=A||D>10*o||(r.nextLoadLevel=k,g?this.bwEstimator.sample(l-Math.min(h,f),s.loaded):this.bwEstimator.sampleTTFB(l),this.clearTimer(),w.warn("[abr] Fragment "+t.sn+(e?" part "+e.index:"")+" of level "+t.level+" is loading too slowly;\n Time to underbuffer: "+c.toFixed(3)+" s\n Estimated load time for current fragment: "+A.toFixed(3)+" s\n Estimated load time for down switch fragment: "+D.toFixed(3)+" s\n TTFB estimate: "+f+"\n Current BW estimate: "+(E(v)?(v/1024).toFixed(3):"Unknown")+" Kb/s\n New BW estimate: "+(this.bwEstimator.getEstimate()/1024).toFixed(3)+" Kb/s\n Aborting and switching to level "+k),t.loader&&(this.fragCurrent=this.partCurrent=null,t.abortRequests()),r.trigger(S.FRAG_LOAD_EMERGENCY_ABORTED,{frag:t,part:e,stats:s}))}}}}}}},e.onFragLoaded=function(t,e){var r=e.frag,i=e.part,n=i?i.stats:r.stats;if(r.type===ge&&this.bwEstimator.sampleTTFB(n.loading.first-n.loading.start),!this.ignoreFragment(r)){if(this.clearTimer(),this.lastLoadedFragLevel=r.level,this._nextAutoLevel=-1,this.hls.config.abrMaxWithRealBitrate){var a=i?i.duration:r.duration,s=this.hls.levels[r.level],o=(s.loaded?s.loaded.bytes:0)+n.loaded,l=(s.loaded?s.loaded.duration:0)+a;s.loaded={bytes:o,duration:l},s.realBitrate=Math.round(8*o/l)}if(r.bitrateTest){var u={stats:n,frag:r,part:i,id:r.type};this.onFragBuffered(S.FRAG_BUFFERED,u),r.bitrateTest=!1}}},e.onFragBuffered=function(t,e){var r=e.frag,i=e.part,n=null!=i&&i.stats.loaded?i.stats:r.stats;if(!n.aborted&&!this.ignoreFragment(r)){var a=n.parsing.end-n.loading.start-Math.min(n.loading.first-n.loading.start,this.bwEstimator.getEstimateTTFB());this.bwEstimator.sample(a,n.loaded),n.bwEstimate=this.bwEstimator.getEstimate(),r.bitrateTest?this.bitrateTestDelay=a/1e3:this.bitrateTestDelay=0}},e.ignoreFragment=function(t){return t.type!==ge||"initSegment"===t.sn},e.clearTimer=function(){self.clearInterval(this.timer)},e.getNextABRAutoLevel=function(){var t=this.fragCurrent,e=this.partCurrent,r=this.hls,i=r.maxAutoLevel,n=r.config,a=r.minAutoLevel,s=r.media,o=e?e.duration:t?t.duration:0,l=s&&0!==s.playbackRate?Math.abs(s.playbackRate):1,u=this.bwEstimator?this.bwEstimator.getEstimate():n.abrEwmaDefaultEstimate,h=r.mainForwardBufferInfo,d=(h?h.len:0)/l,c=this.findBestLevel(u,a,i,d,n.abrBandWidthFactor,n.abrBandWidthUpFactor);if(c>=0)return c;w.trace("[abr] "+(d?"rebuffering expected":"buffer is empty")+", finding optimal quality level");var f=o?Math.min(o,n.maxStarvationDelay):n.maxStarvationDelay,g=n.abrBandWidthFactor,v=n.abrBandWidthUpFactor;if(!d){var m=this.bitrateTestDelay;m&&(f=(o?Math.min(o,n.maxLoadingDelay):n.maxLoadingDelay)-m,w.trace("[abr] bitrate test took "+Math.round(1e3*m)+"ms, set first fragment max fetchDuration to "+Math.round(1e3*f)+" ms"),g=v=1)}return c=this.findBestLevel(u,a,i,d+f,g,v),Math.max(c,0)},e.findBestLevel=function(t,e,r,i,n,a){for(var s,o=this.fragCurrent,l=this.partCurrent,u=this.lastLoadedFragLevel,h=this.hls.levels,d=h[u],c=!(null==d||null==(s=d.details)||!s.live),f=null==d?void 0:d.codecSet,g=l?l.duration:o?o.duration:0,v=this.bwEstimator.getEstimateTTFB()/1e3,m=e,p=-1,y=r;y>=e;y--){var T=h[y];if(!T||f&&T.codecSet!==f)T&&(m=Math.min(y,m),p=Math.max(y,p));else{-1!==p&&w.trace("[abr] Skipped level(s) "+m+"-"+p+' with CODECS:"'+h[p].attrs.CODECS+'"; not compatible with "'+d.attrs.CODECS+'"');var S=T.details,L=(l?null==S?void 0:S.partTarget:null==S?void 0:S.averagetargetduration)||g,R=void 0;R=y<=u?n*t:a*t;var A=h[y].maxBitrate,k=this.getTimeToLoadFrag(v,R,A*L,void 0===S);if(w.trace("[abr] level:"+y+" adjustedbw-bitrate:"+Math.round(R-A)+" avgDuration:"+L.toFixed(1)+" maxFetchDuration:"+i.toFixed(1)+" fetchDuration:"+k.toFixed(1)),R>A&&(0===k||!E(k)||c&&!this.bitrateTestDelay||k<i))return y}}return-1},a(t,[{key:"nextAutoLevel",get:function(){var t=this._nextAutoLevel,e=this.bwEstimator;if(-1!==t&&!e.canEstimate())return t;var r=this.getNextABRAutoLevel();if(-1!==t){var i=this.hls.levels;if(i.length>Math.max(t,r)&&i[t].loadError<=i[r].loadError)return t}return-1!==t&&(r=Math.min(t,r)),r},set:function(t){this._nextAutoLevel=t}}]),t}(),mn=function(){function t(){this.chunks=[],this.dataLength=0}var e=t.prototype;return e.push=function(t){this.chunks.push(t),this.dataLength+=t.length},e.flush=function(){var t,e=this.chunks,r=this.dataLength;return e.length?(t=1===e.length?e[0]:function(t,e){for(var r=new Uint8Array(e),i=0,n=0;n<t.length;n++){var a=t[n];r.set(a,i),i+=a.length}return r}(e,r),this.reset(),t):new Uint8Array(0)},e.reset=function(){this.chunks.length=0,this.dataLength=0},t}(),pn=function(t){function e(e,r,i){var n;return(n=t.call(this,e,r,i,"[audio-stream-controller]",ve)||this).videoBuffer=null,n.videoTrackCC=-1,n.waitingVideoCC=-1,n.bufferedTrack=null,n.switchingTrack=null,n.trackId=-1,n.waitingData=null,n.mainDetails=null,n.bufferFlushed=!1,n.cachedTrackLoadedData=null,n._registerListeners(),n}l(e,t);var r=e.prototype;return r.onHandlerDestroying=function(){this._unregisterListeners(),this.mainDetails=null,this.bufferedTrack=null,this.switchingTrack=null},r._registerListeners=function(){var t=this.hls;t.on(S.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(S.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(S.MANIFEST_LOADING,this.onManifestLoading,this),t.on(S.LEVEL_LOADED,this.onLevelLoaded,this),t.on(S.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),t.on(S.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(S.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.on(S.ERROR,this.onError,this),t.on(S.BUFFER_RESET,this.onBufferReset,this),t.on(S.BUFFER_CREATED,this.onBufferCreated,this),t.on(S.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(S.INIT_PTS_FOUND,this.onInitPtsFound,this),t.on(S.FRAG_BUFFERED,this.onFragBuffered,this)},r._unregisterListeners=function(){var t=this.hls;t.off(S.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(S.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(S.MANIFEST_LOADING,this.onManifestLoading,this),t.off(S.LEVEL_LOADED,this.onLevelLoaded,this),t.off(S.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),t.off(S.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(S.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.off(S.ERROR,this.onError,this),t.off(S.BUFFER_RESET,this.onBufferReset,this),t.off(S.BUFFER_CREATED,this.onBufferCreated,this),t.off(S.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(S.INIT_PTS_FOUND,this.onInitPtsFound,this),t.off(S.FRAG_BUFFERED,this.onFragBuffered,this)},r.onInitPtsFound=function(t,e){var r=e.frag,i=e.id,n=e.initPTS,a=e.timescale;if("main"===i){var s=r.cc;this.initPTS[r.cc]={baseTime:n,timescale:a},this.log("InitPTS for cc: "+s+" found from main: "+n),this.videoTrackCC=s,this.state===Qr&&this.tick()}},r.startLoad=function(t){if(!this.levels)return this.startPosition=t,void(this.state=Gr);var e=this.lastCurrentTime;this.stopLoad(),this.setInterval(100),e>0&&-1===t?(this.log("Override startPosition with lastCurrentTime @"+e.toFixed(3)),t=e,this.state=Kr):(this.loadedmetadata=!1,this.state=Wr),this.nextLoadPosition=this.startPosition=this.lastCurrentTime=t,this.tick()},r.doTick=function(){switch(this.state){case Kr:this.doTickIdle();break;case Wr:var e,r=this.levels,i=this.trackId,n=null==r||null==(e=r[i])?void 0:e.details;if(n){if(this.waitForCdnTuneIn(n))break;this.state=Qr}break;case Yr:var a,s=performance.now(),o=this.retryDate;(!o||s>=o||null!=(a=this.media)&&a.seeking)&&(this.log("RetryDate reached, switch back to IDLE state"),this.resetStartWhenNotLoaded(this.trackId),this.state=Kr);break;case Qr:var l=this.waitingData;if(l){var u=l.frag,h=l.part,d=l.cache,c=l.complete;if(void 0!==this.initPTS[u.cc]){this.waitingData=null,this.waitingVideoCC=-1,this.state=Vr;var f={frag:u,part:h,payload:d.flush(),networkDetails:null};this._handleFragmentLoadProgress(f),c&&t.prototype._handleFragmentLoadComplete.call(this,f)}else if(this.videoTrackCC!==this.waitingVideoCC)this.log("Waiting fragment cc ("+u.cc+") cancelled because video is at cc "+this.videoTrackCC),this.clearWaitingFragment();else{var g=this.getLoadPosition(),v=Ir.bufferInfo(this.mediaBuffer,g,this.config.maxBufferHole);Je(v.end,this.config.maxFragLookUpTolerance,u)<0&&(this.log("Waiting fragment cc ("+u.cc+") @ "+u.start+" cancelled because another fragment at "+v.end+" is needed"),this.clearWaitingFragment())}}else this.state=Kr}this.onTickEnd()},r.clearWaitingFragment=function(){var t=this.waitingData;t&&(this.fragmentTracker.removeFragment(t.frag),this.waitingData=null,this.waitingVideoCC=-1,this.state=Kr)},r.resetLoadingState=function(){this.clearWaitingFragment(),t.prototype.resetLoadingState.call(this)},r.onTickEnd=function(){var t=this.media;null!=t&&t.readyState&&(this.lastCurrentTime=t.currentTime)},r.doTickIdle=function(){var t=this.hls,e=this.levels,r=this.media,i=this.trackId,n=t.config;if(null!=e&&e[i]&&(r||!this.startFragRequested&&n.startFragPrefetch)){var a=e[i],s=a.details;if(!s||s.live&&this.levelLastLoaded!==i||this.waitForCdnTuneIn(s))this.state=Wr;else{var o=this.mediaBuffer?this.mediaBuffer:this.media;this.bufferFlushed&&o&&(this.bufferFlushed=!1,this.afterBufferFlushed(o,O,ve));var l=this.getFwdBufferInfo(o,ve);if(null!==l){var u=this.bufferedTrack,h=this.switchingTrack;if(!h&&this._streamEnded(l,s))return t.trigger(S.BUFFER_EOS,{type:"audio"}),void(this.state=Xr);var d=this.getFwdBufferInfo(this.videoBuffer?this.videoBuffer:this.media,ge),c=l.len,f=this.getMaxBufferLength(null==d?void 0:d.len);if(!(c>=f)||h){var g=s.fragments[0].start,v=l.end;if(h&&r){var m=this.getLoadPosition();u&&h.attrs!==u.attrs&&(v=m),s.PTSKnown&&m<g&&(l.end>g||l.nextStart)&&(this.log("Alt audio track ahead of main track, seek to start of alt audio track"),r.currentTime=g+.05)}var p=this.getNextFragment(v,s),y=!1;if(p&&this.isLoopLoading(p,v)&&(y=!!p.gap,p=this.getNextFragmentLoopLoading(p,s,l,ge,f)),p){var T=d&&p.start>d.end+s.targetduration;if(T||(null==d||!d.len)&&l.len){var E=this.getAppendedFrag(p.start,ge);if(null===E)return;if(y||(y=!!E.gap||!!T&&0===d.len),T&&!y||y&&l.nextStart&&l.nextStart<E.end)return}this.loadFragment(p,a,v)}else this.bufferFlushed=!0}}}}},r.getMaxBufferLength=function(e){var r=t.prototype.getMaxBufferLength.call(this);return e?Math.min(Math.max(r,e),this.config.maxMaxBufferLength):r},r.onMediaDetaching=function(){this.videoBuffer=null,t.prototype.onMediaDetaching.call(this)},r.onAudioTracksUpdated=function(t,e){var r=e.audioTracks;this.resetTransmuxer(),this.levels=r.map((function(t){return new Ne(t)}))},r.onAudioTrackSwitching=function(t,e){var r=!!e.url;this.trackId=e.id;var i=this.fragCurrent;i&&(i.abortRequests(),this.removeUnbufferedFrags(i.start)),this.resetLoadingState(),r?this.setInterval(100):this.resetTransmuxer(),r?(this.switchingTrack=e,this.state=Kr):(this.switchingTrack=null,this.bufferedTrack=e,this.state=Gr),this.tick()},r.onManifestLoading=function(){this.fragmentTracker.removeAllFragments(),this.startPosition=this.lastCurrentTime=0,this.bufferFlushed=!1,this.levels=this.mainDetails=this.waitingData=this.bufferedTrack=this.cachedTrackLoadedData=this.switchingTrack=null,this.startFragRequested=!1,this.trackId=this.videoTrackCC=this.waitingVideoCC=-1},r.onLevelLoaded=function(t,e){this.mainDetails=e.details,null!==this.cachedTrackLoadedData&&(this.hls.trigger(S.AUDIO_TRACK_LOADED,this.cachedTrackLoadedData),this.cachedTrackLoadedData=null)},r.onAudioTrackLoaded=function(t,e){var r;if(null!=this.mainDetails){var i=this.levels,n=e.details,a=e.id;if(i){this.log("Track "+a+" loaded ["+n.startSN+","+n.endSN+"]"+(n.lastPartSn?"[part-"+n.lastPartSn+"-"+n.lastPartIndex+"]":"")+",duration:"+n.totalduration);var s=i[a],o=0;if(n.live||null!=(r=s.details)&&r.live){var l=this.mainDetails;if(n.fragments[0]||(n.deltaUpdateFailed=!0),n.deltaUpdateFailed||!l)return;!s.details&&n.hasProgramDateTime&&l.hasProgramDateTime?(Fr(n,l),o=n.fragments[0].start):o=this.alignPlaylists(n,s.details)}s.details=n,this.levelLastLoaded=a,this.startFragRequested||!this.mainDetails&&n.live||this.setStartPosition(s.details,o),this.state!==Wr||this.waitForCdnTuneIn(n)||(this.state=Kr),this.tick()}else this.warn("Audio tracks were reset while loading level "+a)}else this.cachedTrackLoadedData=e},r._handleFragmentLoadProgress=function(t){var e,r=t.frag,i=t.part,n=t.payload,a=this.config,s=this.trackId,o=this.levels;if(o){var l=o[s];if(l){var u=l.details;if(!u)return this.warn("Audio track details undefined on fragment load progress"),void this.removeUnbufferedFrags(r.start);var h=a.defaultAudioCodec||l.audioCodec||"mp4a.40.2",d=this.transmuxer;d||(d=this.transmuxer=new hn(this.hls,ve,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)));var c=this.initPTS[r.cc],f=null==(e=r.initSegment)?void 0:e.data;if(void 0!==c){var g=i?i.index:-1,v=-1!==g,m=new wr(r.level,r.sn,r.stats.chunkCount,n.byteLength,g,v);d.push(n,f,h,"",r,i,u.totalduration,!1,m,c)}else this.log("Unknown video PTS for cc "+r.cc+", waiting for video PTS before demuxing audio frag "+r.sn+" of ["+u.startSN+" ,"+u.endSN+"],track "+s),(this.waitingData=this.waitingData||{frag:r,part:i,cache:new mn,complete:!1}).cache.push(new Uint8Array(n)),this.waitingVideoCC=this.videoTrackCC,this.state=Qr}else this.warn("Audio track is undefined on fragment load progress")}else this.warn("Audio tracks were reset while fragment load was in progress. Fragment "+r.sn+" of level "+r.level+" will not be buffered")},r._handleFragmentLoadComplete=function(e){this.waitingData?this.waitingData.complete=!0:t.prototype._handleFragmentLoadComplete.call(this,e)},r.onBufferReset=function(){this.mediaBuffer=this.videoBuffer=null,this.loadedmetadata=!1},r.onBufferCreated=function(t,e){var r=e.tracks.audio;r&&(this.mediaBuffer=r.buffer||null),e.tracks.video&&(this.videoBuffer=e.tracks.video.buffer||null)},r.onFragBuffered=function(t,e){var r=e.frag,n=e.part;if(r.type===ve)if(this.fragContextChanged(r))this.warn("Fragment "+r.sn+(n?" p: "+n.index:"")+" of level "+r.level+" finished buffering, but was aborted. state: "+this.state+", audioSwitch: "+(this.switchingTrack?this.switchingTrack.name:"false"));else{if("initSegment"!==r.sn){this.fragPrevious=r;var a=this.switchingTrack;a&&(this.bufferedTrack=a,this.switchingTrack=null,this.hls.trigger(S.AUDIO_TRACK_SWITCHED,i({},a)))}this.fragBufferedComplete(r,n)}else if(!this.loadedmetadata&&r.type===ge){var s=this.videoBuffer||this.media;s&&Ir.getBuffered(s).length&&(this.loadedmetadata=!0)}},r.onError=function(e,r){var i;if(r.fatal)this.state=zr;else switch(r.details){case R.FRAG_GAP:case R.FRAG_PARSING_ERROR:case R.FRAG_DECRYPT_ERROR:case R.FRAG_LOAD_ERROR:case R.FRAG_LOAD_TIMEOUT:case R.KEY_LOAD_ERROR:case R.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(ve,r);break;case R.AUDIO_TRACK_LOAD_ERROR:case R.AUDIO_TRACK_LOAD_TIMEOUT:case R.LEVEL_PARSING_ERROR:r.levelRetry||this.state!==Wr||(null==(i=r.context)?void 0:i.type)!==ce||(this.state=Kr);break;case R.BUFFER_FULL_ERROR:if(!r.parent||"audio"!==r.parent)return;this.reduceLengthAndFlushBuffer(r)&&(this.bufferedTrack=null,t.prototype.flushMainBuffer.call(this,0,Number.POSITIVE_INFINITY,"audio"));break;case R.INTERNAL_EXCEPTION:this.recoverWorkerError(r)}},r.onBufferFlushed=function(t,e){e.type===O&&(this.bufferFlushed=!0,this.state===Xr&&(this.state=Kr))},r._handleTransmuxComplete=function(t){var e,r="audio",i=this.hls,n=t.remuxResult,a=t.chunkMeta,s=this.getCurrentContext(a);if(s){var l=s.frag,u=s.part,h=s.level.details,d=n.audio,c=n.text,f=n.id3,g=n.initSegment;if(!this.fragContextChanged(l)&&h){if(this.state=jr,this.switchingTrack&&d&&this.completeAudioSwitch(this.switchingTrack),null!=g&&g.tracks){var v=l.initSegment||l;this._bufferInitSegment(g.tracks,v,a),i.trigger(S.FRAG_PARSING_INIT_SEGMENT,{frag:v,id:r,tracks:g.tracks})}if(d){var m=d.startPTS,p=d.endPTS,y=d.startDTS,T=d.endDTS;u&&(u.elementaryStreams[O]={startPTS:m,endPTS:p,startDTS:y,endDTS:T}),l.setElementaryStreamInfo(O,m,p,y,T),this.bufferFragmentData(d,l,u,a)}if(null!=f&&null!=(e=f.samples)&&e.length){var E=o({id:r,frag:l,details:h},f);i.trigger(S.FRAG_PARSING_METADATA,E)}if(c){var L=o({id:r,frag:l,details:h},c);i.trigger(S.FRAG_PARSING_USERDATA,L)}}else this.fragmentTracker.removeFragment(l)}else this.resetWhenMissingContext(a)},r._bufferInitSegment=function(t,e,r){if(this.state===jr){t.video&&delete t.video;var i=t.audio;if(i){i.levelCodec=i.codec,i.id="audio",this.log("Init audio buffer, container:"+i.container+", codecs[parsed]=["+i.codec+"]"),this.hls.trigger(S.BUFFER_CODECS,t);var n=i.initSegment;if(null!=n&&n.byteLength){var a={type:"audio",frag:e,part:null,chunkMeta:r,parent:e.type,data:n};this.hls.trigger(S.BUFFER_APPENDING,a)}this.tick()}}},r.loadFragment=function(e,r,i){var n,a=this.fragmentTracker.getState(e);this.fragCurrent=e,this.switchingTrack||a===fr||a===vr?"initSegment"===e.sn?this._loadInitSegment(e,r):null!=(n=r.details)&&n.live&&!this.initPTS[e.cc]?(this.log("Waiting for video PTS in continuity counter "+e.cc+" of live stream before loading audio fragment "+e.sn+" of level "+this.trackId),this.state=Qr):(this.startFragRequested=!0,t.prototype.loadFragment.call(this,e,r,i)):this.clearTrackerIfNeeded(e)},r.completeAudioSwitch=function(e){var r=this.hls,n=this.media,a=this.bufferedTrack,s=null==a?void 0:a.attrs,o=e.attrs;n&&s&&(s.CHANNELS!==o.CHANNELS||s.NAME!==o.NAME||s.LANGUAGE!==o.LANGUAGE)&&(this.log("Switching audio track : flushing all audio"),t.prototype.flushMainBuffer.call(this,0,Number.POSITIVE_INFINITY,"audio")),this.bufferedTrack=e,this.switchingTrack=null,r.trigger(S.AUDIO_TRACK_SWITCHED,i({},e))},e}(Jr),yn=function(t){function e(e){var r;return(r=t.call(this,e,"[audio-track-controller]")||this).tracks=[],r.groupId=null,r.tracksInGroup=[],r.trackId=-1,r.currentTrack=null,r.selectDefaultTrack=!0,r.registerListeners(),r}l(e,t);var r=e.prototype;return r.registerListeners=function(){var t=this.hls;t.on(S.MANIFEST_LOADING,this.onManifestLoading,this),t.on(S.MANIFEST_PARSED,this.onManifestParsed,this),t.on(S.LEVEL_LOADING,this.onLevelLoading,this),t.on(S.LEVEL_SWITCHING,this.onLevelSwitching,this),t.on(S.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.on(S.ERROR,this.onError,this)},r.unregisterListeners=function(){var t=this.hls;t.off(S.MANIFEST_LOADING,this.onManifestLoading,this),t.off(S.MANIFEST_PARSED,this.onManifestParsed,this),t.off(S.LEVEL_LOADING,this.onLevelLoading,this),t.off(S.LEVEL_SWITCHING,this.onLevelSwitching,this),t.off(S.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.off(S.ERROR,this.onError,this)},r.destroy=function(){this.unregisterListeners(),this.tracks.length=0,this.tracksInGroup.length=0,this.currentTrack=null,t.prototype.destroy.call(this)},r.onManifestLoading=function(){this.tracks=[],this.groupId=null,this.tracksInGroup=[],this.trackId=-1,this.currentTrack=null,this.selectDefaultTrack=!0},r.onManifestParsed=function(t,e){this.tracks=e.audioTracks||[]},r.onAudioTrackLoaded=function(t,e){var r=e.id,i=e.groupId,n=e.details,a=this.tracksInGroup[r];if(a&&a.groupId===i){var s=a.details;a.details=e.details,this.log("audio-track "+r+' "'+a.name+'" lang:'+a.lang+" group:"+i+" loaded ["+n.startSN+"-"+n.endSN+"]"),r===this.trackId&&this.playlistLoaded(r,e,s)}else this.warn("Track with id:"+r+" and group:"+i+" not found in active group "+a.groupId)},r.onLevelLoading=function(t,e){this.switchLevel(e.level)},r.onLevelSwitching=function(t,e){this.switchLevel(e.level)},r.switchLevel=function(t){var e=this.hls.levels[t];if(null!=e&&e.audioGroupIds){var r=e.audioGroupIds[e.urlId];if(this.groupId!==r){this.groupId=r||null;var i=this.tracks.filter((function(t){return!r||t.groupId===r}));this.selectDefaultTrack&&!i.some((function(t){return t.default}))&&(this.selectDefaultTrack=!1),this.tracksInGroup=i;var n={audioTracks:i};this.log("Updating audio tracks, "+i.length+" track(s) found in group:"+r),this.hls.trigger(S.AUDIO_TRACKS_UPDATED,n),this.selectInitialTrack()}else this.shouldReloadPlaylist(this.currentTrack)&&this.setAudioTrack(this.trackId)}},r.onError=function(t,e){!e.fatal&&e.context&&e.context.type===ce&&e.context.id===this.trackId&&e.context.groupId===this.groupId&&(this.requestScheduled=-1,this.checkRetry(e))},r.setAudioTrack=function(t){var e=this.tracksInGroup;if(t<0||t>=e.length)this.warn("Invalid id passed to audio-track controller");else{this.clearTimer();var r=this.currentTrack;e[this.trackId];var n=e[t],a=n.groupId,s=n.name;if(this.log("Switching to audio-track "+t+' "'+s+'" lang:'+n.lang+" group:"+a),this.trackId=t,this.currentTrack=n,this.selectDefaultTrack=!1,this.hls.trigger(S.AUDIO_TRACK_SWITCHING,i({},n)),!n.details||n.details.live){var o=this.switchParams(n.url,null==r?void 0:r.details);this.loadPlaylist(o)}}},r.selectInitialTrack=function(){var t=this.tracksInGroup,e=this.findTrackId(this.currentTrack)|this.findTrackId(null);if(-1!==e)this.setAudioTrack(e);else{var r=new Error("No track found for running audio group-ID: "+this.groupId+" track count: "+t.length);this.warn(r.message),this.hls.trigger(S.ERROR,{type:L.MEDIA_ERROR,details:R.AUDIO_TRACK_LOAD_ERROR,fatal:!0,error:r})}},r.findTrackId=function(t){for(var e=this.tracksInGroup,r=0;r<e.length;r++){var i=e[r];if(!this.selectDefaultTrack||i.default){if(!t||void 0!==t.attrs["STABLE-RENDITION-ID"]&&t.attrs["STABLE-RENDITION-ID"]===i.attrs["STABLE-RENDITION-ID"])return i.id;if(t.name===i.name&&t.lang===i.lang)return i.id}}return-1},r.loadPlaylist=function(e){t.prototype.loadPlaylist.call(this);var r=this.tracksInGroup[this.trackId];if(this.shouldLoadPlaylist(r)){var i=r.id,n=r.groupId,a=r.url;if(e)try{a=e.addDirectives(a)}catch(t){this.warn("Could not construct new URL with HLS Delivery Directives: "+t)}this.log("loading audio-track playlist "+i+' "'+r.name+'" lang:'+r.lang+" group:"+n),this.clearTimer(),this.hls.trigger(S.AUDIO_TRACK_LOADING,{url:a,id:i,groupId:n,deliveryDirectives:e||null})}},a(e,[{key:"audioTracks",get:function(){return this.tracksInGroup}},{key:"audioTrack",get:function(){return this.trackId},set:function(t){this.selectDefaultTrack=!1,this.setAudioTrack(t)}}]),e}(ur);function Tn(t,e){if(t.length!==e.length)return!1;for(var r=0;r<t.length;r++)if(!En(t[r].attrs,e[r].attrs))return!1;return!0}function En(t,e){var r=t["STABLE-RENDITION-ID"];return r?r===e["STABLE-RENDITION-ID"]:!["LANGUAGE","NAME","CHARACTERISTICS","AUTOSELECT","DEFAULT","FORCED"].some((function(r){return t[r]!==e[r]}))}var Sn=function(t){function e(e,r,i){var n;return(n=t.call(this,e,r,i,"[subtitle-stream-controller]",me)||this).levels=[],n.currentTrackId=-1,n.tracksBuffered=[],n.mainDetails=null,n._registerListeners(),n}l(e,t);var r=e.prototype;return r.onHandlerDestroying=function(){this._unregisterListeners(),this.mainDetails=null},r._registerListeners=function(){var t=this.hls;t.on(S.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(S.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(S.MANIFEST_LOADING,this.onManifestLoading,this),t.on(S.LEVEL_LOADED,this.onLevelLoaded,this),t.on(S.ERROR,this.onError,this),t.on(S.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.on(S.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),t.on(S.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),t.on(S.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),t.on(S.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(S.FRAG_BUFFERED,this.onFragBuffered,this)},r._unregisterListeners=function(){var t=this.hls;t.off(S.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(S.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(S.MANIFEST_LOADING,this.onManifestLoading,this),t.off(S.LEVEL_LOADED,this.onLevelLoaded,this),t.off(S.ERROR,this.onError,this),t.off(S.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.off(S.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),t.off(S.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),t.off(S.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),t.off(S.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(S.FRAG_BUFFERED,this.onFragBuffered,this)},r.startLoad=function(t){this.stopLoad(),this.state=Kr,this.setInterval(500),this.nextLoadPosition=this.startPosition=this.lastCurrentTime=t,this.tick()},r.onManifestLoading=function(){this.mainDetails=null,this.fragmentTracker.removeAllFragments()},r.onMediaDetaching=function(){this.tracksBuffered=[],t.prototype.onMediaDetaching.call(this)},r.onLevelLoaded=function(t,e){this.mainDetails=e.details},r.onSubtitleFragProcessed=function(t,e){var r=e.frag,i=e.success;if(this.fragPrevious=r,this.state=Kr,i){var n=this.tracksBuffered[this.currentTrackId];if(n){for(var a,s=r.start,o=0;o<n.length;o++)if(s>=n[o].start&&s<=n[o].end){a=n[o];break}var l=r.start+r.duration;a?a.end=l:(a={start:s,end:l},n.push(a)),this.fragmentTracker.fragBuffered(r)}}},r.onBufferFlushing=function(t,e){var r=e.startOffset,i=e.endOffset;if(0===r&&i!==Number.POSITIVE_INFINITY){var n=i-1;if(n<=0)return;e.endOffsetSubtitles=Math.max(0,n),this.tracksBuffered.forEach((function(t){for(var e=0;e<t.length;)if(t[e].end<=n)t.shift();else{if(!(t[e].start<n))break;t[e].start=n,e++}})),this.fragmentTracker.removeFragmentsInRange(r,n,me)}},r.onFragBuffered=function(t,e){var r;this.loadedmetadata||e.frag.type!==ge||null!=(r=this.media)&&r.buffered.length&&(this.loadedmetadata=!0)},r.onError=function(t,e){var r=e.frag;(null==r?void 0:r.type)===me&&(this.fragCurrent&&this.fragCurrent.abortRequests(),this.state!==Gr&&(this.state=Kr))},r.onSubtitleTracksUpdated=function(t,e){var r=this,i=e.subtitleTracks;Tn(this.levels,i)?this.levels=i.map((function(t){return new Ne(t)})):(this.tracksBuffered=[],this.levels=i.map((function(t){var e=new Ne(t);return r.tracksBuffered[e.id]=[],e})),this.fragmentTracker.removeFragmentsInRange(0,Number.POSITIVE_INFINITY,me),this.fragPrevious=null,this.mediaBuffer=null)},r.onSubtitleTrackSwitch=function(t,e){if(this.currentTrackId=e.id,this.levels.length&&-1!==this.currentTrackId){var r=this.levels[this.currentTrackId];null!=r&&r.details?this.mediaBuffer=this.mediaBufferTimeRanges:this.mediaBuffer=null,r&&this.setInterval(500)}else this.clearInterval()},r.onSubtitleTrackLoaded=function(t,e){var r,i=e.details,n=e.id,a=this.currentTrackId,s=this.levels;if(s.length){var o=s[a];if(!(n>=s.length||n!==a)&&o){this.mediaBuffer=this.mediaBufferTimeRanges;var l=0;if(i.live||null!=(r=o.details)&&r.live){var u=this.mainDetails;if(i.deltaUpdateFailed||!u)return;var h=u.fragments[0];o.details?0===(l=this.alignPlaylists(i,o.details))&&h&&He(i,l=h.start):i.hasProgramDateTime&&u.hasProgramDateTime?(Fr(i,u),l=i.fragments[0].start):h&&He(i,l=h.start)}o.details=i,this.levelLastLoaded=n,this.startFragRequested||!this.mainDetails&&i.live||this.setStartPosition(o.details,l),this.tick(),i.live&&!this.fragCurrent&&this.media&&this.state===Kr&&($e(null,i.fragments,this.media.currentTime,0)||(this.warn("Subtitle playlist not aligned with playback"),o.details=void 0))}}},r._handleFragmentLoadComplete=function(t){var e=this,r=t.frag,i=t.payload,n=r.decryptdata,a=this.hls;if(!this.fragContextChanged(r)&&i&&i.byteLength>0&&n&&n.key&&n.iv&&"AES-128"===n.method){var s=performance.now();this.decrypter.decrypt(new Uint8Array(i),n.key.buffer,n.iv.buffer).catch((function(t){throw a.trigger(S.ERROR,{type:L.MEDIA_ERROR,details:R.FRAG_DECRYPT_ERROR,fatal:!1,error:t,reason:t.message,frag:r}),t})).then((function(t){var e=performance.now();a.trigger(S.FRAG_DECRYPTED,{frag:r,payload:t,stats:{tstart:s,tdecrypt:e}})})).catch((function(t){e.warn(t.name+": "+t.message),e.state=Kr}))}},r.doTick=function(){if(this.media){if(this.state===Kr){var t=this.currentTrackId,e=this.levels,r=e[t];if(!e.length||!r||!r.details)return;var i=this.config,n=this.getLoadPosition(),a=Ir.bufferedInfo(this.tracksBuffered[this.currentTrackId]||[],n,i.maxBufferHole),s=a.end,o=a.len,l=this.getFwdBufferInfo(this.media,ge),u=r.details;if(o>this.getMaxBufferLength(null==l?void 0:l.len)+u.levelTargetDuration)return;var h=u.fragments,d=h.length,c=u.edge,f=null,g=this.fragPrevious;if(s<c){var v=i.maxFragLookUpTolerance,m=s>c-v?0:v;!(f=$e(g,h,Math.max(h[0].start,s),m))&&g&&g.start<h[0].start&&(f=h[0])}else f=h[d-1];if(!f)return;if("initSegment"!==(f=this.mapToInitFragWhenRequired(f)).sn){var p=h[f.sn-u.startSN-1];p&&p.cc===f.cc&&this.fragmentTracker.getState(p)===fr&&(f=p)}this.fragmentTracker.getState(f)===fr&&this.loadFragment(f,r,s)}}else this.state=Kr},r.getMaxBufferLength=function(e){var r=t.prototype.getMaxBufferLength.call(this);return e?Math.max(r,e):r},r.loadFragment=function(e,r,i){this.fragCurrent=e,"initSegment"===e.sn?this._loadInitSegment(e,r):(this.startFragRequested=!0,t.prototype.loadFragment.call(this,e,r,i))},a(e,[{key:"mediaBufferTimeRanges",get:function(){return new Ln(this.tracksBuffered[this.currentTrackId]||[])}}]),e}(Jr),Ln=function(t){this.buffered=void 0;var e=function(e,r,i){if((r>>>=0)>i-1)throw new DOMException("Failed to execute '"+e+"' on 'TimeRanges': The index provided ("+r+") is greater than the maximum bound ("+i+")");return t[r][e]};this.buffered={get length(){return t.length},end:function(r){return e("end",r,t.length)},start:function(r){return e("start",r,t.length)}}},Rn=function(t){function e(e){var r;return(r=t.call(this,e,"[subtitle-track-controller]")||this).media=null,r.tracks=[],r.groupId=null,r.tracksInGroup=[],r.trackId=-1,r.selectDefaultTrack=!0,r.queuedDefaultTrack=-1,r.trackChangeListener=function(){return r.onTextTracksChanged()},r.asyncPollTrackChange=function(){return r.pollTrackChange(0)},r.useTextTrackPolling=!1,r.subtitlePollingInterval=-1,r._subtitleDisplay=!0,r.registerListeners(),r}l(e,t);var r=e.prototype;return r.destroy=function(){this.unregisterListeners(),this.tracks.length=0,this.tracksInGroup.length=0,this.trackChangeListener=this.asyncPollTrackChange=null,t.prototype.destroy.call(this)},r.registerListeners=function(){var t=this.hls;t.on(S.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(S.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(S.MANIFEST_LOADING,this.onManifestLoading,this),t.on(S.MANIFEST_PARSED,this.onManifestParsed,this),t.on(S.LEVEL_LOADING,this.onLevelLoading,this),t.on(S.LEVEL_SWITCHING,this.onLevelSwitching,this),t.on(S.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),t.on(S.ERROR,this.onError,this)},r.unregisterListeners=function(){var t=this.hls;t.off(S.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(S.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(S.MANIFEST_LOADING,this.onManifestLoading,this),t.off(S.MANIFEST_PARSED,this.onManifestParsed,this),t.off(S.LEVEL_LOADING,this.onLevelLoading,this),t.off(S.LEVEL_SWITCHING,this.onLevelSwitching,this),t.off(S.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),t.off(S.ERROR,this.onError,this)},r.onMediaAttached=function(t,e){this.media=e.media,this.media&&(this.queuedDefaultTrack>-1&&(this.subtitleTrack=this.queuedDefaultTrack,this.queuedDefaultTrack=-1),this.useTextTrackPolling=!(this.media.textTracks&&"onchange"in this.media.textTracks),this.useTextTrackPolling?this.pollTrackChange(500):this.media.textTracks.addEventListener("change",this.asyncPollTrackChange))},r.pollTrackChange=function(t){self.clearInterval(this.subtitlePollingInterval),this.subtitlePollingInterval=self.setInterval(this.trackChangeListener,t)},r.onMediaDetaching=function(){this.media&&(self.clearInterval(this.subtitlePollingInterval),this.useTextTrackPolling||this.media.textTracks.removeEventListener("change",this.asyncPollTrackChange),this.trackId>-1&&(this.queuedDefaultTrack=this.trackId),An(this.media.textTracks).forEach((function(t){Le(t)})),this.subtitleTrack=-1,this.media=null)},r.onManifestLoading=function(){this.tracks=[],this.groupId=null,this.tracksInGroup=[],this.trackId=-1,this.selectDefaultTrack=!0},r.onManifestParsed=function(t,e){this.tracks=e.subtitleTracks},r.onSubtitleTrackLoaded=function(t,e){var r=e.id,i=e.details,n=this.trackId,a=this.tracksInGroup[n];if(a){var s=a.details;a.details=e.details,this.log("subtitle track "+r+" loaded ["+i.startSN+"-"+i.endSN+"]"),r===this.trackId&&this.playlistLoaded(r,e,s)}else this.warn("Invalid subtitle track id "+r)},r.onLevelLoading=function(t,e){this.switchLevel(e.level)},r.onLevelSwitching=function(t,e){this.switchLevel(e.level)},r.switchLevel=function(t){var e=this.hls.levels[t];if(null!=e&&e.textGroupIds){var r=e.textGroupIds[e.urlId],i=this.tracksInGroup?this.tracksInGroup[this.trackId]:void 0;if(this.groupId!==r){var n=this.tracks.filter((function(t){return!r||t.groupId===r}));this.tracksInGroup=n;var a=this.findTrackId(null==i?void 0:i.name)||this.findTrackId();this.groupId=r||null;var s={subtitleTracks:n};this.log("Updating subtitle tracks, "+n.length+' track(s) found in "'+r+'" group-id'),this.hls.trigger(S.SUBTITLE_TRACKS_UPDATED,s),-1!==a&&this.setSubtitleTrack(a,i)}else this.shouldReloadPlaylist(i)&&this.setSubtitleTrack(this.trackId,i)}},r.findTrackId=function(t){for(var e=this.tracksInGroup,r=0;r<e.length;r++){var i=e[r];if((!this.selectDefaultTrack||i.default)&&(!t||t===i.name))return i.id}return-1},r.onError=function(t,e){!e.fatal&&e.context&&e.context.type===fe&&e.context.id===this.trackId&&e.context.groupId===this.groupId&&this.checkRetry(e)},r.loadPlaylist=function(e){t.prototype.loadPlaylist.call(this);var r=this.tracksInGroup[this.trackId];if(this.shouldLoadPlaylist(r)){var i=r.id,n=r.groupId,a=r.url;if(e)try{a=e.addDirectives(a)}catch(t){this.warn("Could not construct new URL with HLS Delivery Directives: "+t)}this.log("Loading subtitle playlist for id "+i),this.hls.trigger(S.SUBTITLE_TRACK_LOADING,{url:a,id:i,groupId:n,deliveryDirectives:e||null})}},r.toggleTrackModes=function(t){var e=this,r=this.media,i=this.trackId;if(r){var n=An(r.textTracks),a=n.filter((function(t){return t.groupId===e.groupId}));if(-1===t)[].slice.call(n).forEach((function(t){t.mode="disabled"}));else{var s=a[i];s&&(s.mode="disabled")}var o=a[t];o&&(o.mode=this.subtitleDisplay?"showing":"hidden")}},r.setSubtitleTrack=function(t,e){var r,i=this.tracksInGroup;if(this.media){if(this.trackId!==t&&this.toggleTrackModes(t),!(this.trackId===t&&(-1===t||null!=(r=i[t])&&r.details)||t<-1||t>=i.length)){this.clearTimer();var n=i[t];if(this.log("Switching to subtitle-track "+t+(n?' "'+n.name+'" lang:'+n.lang+" group:"+n.groupId:"")),this.trackId=t,n){var a=n.id,s=n.groupId,o=void 0===s?"":s,l=n.name,u=n.type,h=n.url;this.hls.trigger(S.SUBTITLE_TRACK_SWITCH,{id:a,groupId:o,name:l,type:u,url:h});var d=this.switchParams(n.url,null==e?void 0:e.details);this.loadPlaylist(d)}else this.hls.trigger(S.SUBTITLE_TRACK_SWITCH,{id:t})}}else this.queuedDefaultTrack=t},r.onTextTracksChanged=function(){if(this.useTextTrackPolling||self.clearInterval(this.subtitlePollingInterval),this.media&&this.hls.config.renderTextTracksNatively){for(var t=-1,e=An(this.media.textTracks),r=0;r<e.length;r++)if("hidden"===e[r].mode)t=r;else if("showing"===e[r].mode){t=r;break}this.subtitleTrack!==t&&(this.subtitleTrack=t)}},a(e,[{key:"subtitleDisplay",get:function(){return this._subtitleDisplay},set:function(t){this._subtitleDisplay=t,this.trackId>-1&&this.toggleTrackModes(this.trackId)}},{key:"subtitleTracks",get:function(){return this.tracksInGroup}},{key:"subtitleTrack",get:function(){return this.trackId},set:function(t){this.selectDefaultTrack=!1;var e=this.tracksInGroup?this.tracksInGroup[this.trackId]:void 0;this.setSubtitleTrack(t,e)}}]),e}(ur);function An(t){for(var e=[],r=0;r<t.length;r++){var i=t[r];"subtitles"!==i.kind&&"captions"!==i.kind||!i.label||e.push(t[r])}return e}var kn=function(){function t(t){this.buffers=void 0,this.queues={video:[],audio:[],audiovideo:[]},this.buffers=t}var e=t.prototype;return e.append=function(t,e){var r=this.queues[e];r.push(t),1===r.length&&this.buffers[e]&&this.executeNext(e)},e.insertAbort=function(t,e){this.queues[e].unshift(t),this.executeNext(e)},e.appendBlocker=function(t){var e,r=new Promise((function(t){e=t})),i={execute:e,onStart:function(){},onComplete:function(){},onError:function(){}};return this.append(i,t),r},e.executeNext=function(t){var e=this.buffers,r=this.queues,i=e[t],n=r[t];if(n.length){var a=n[0];try{a.execute()}catch(e){w.warn("[buffer-operation-queue]: Unhandled exception executing the current operation"),a.onError(e),null!=i&&i.updating||(n.shift(),this.executeNext(t))}}},e.shiftAndExecuteNext=function(t){this.queues[t].shift(),this.executeNext(t)},e.current=function(t){return this.queues[t][0]},t}(),bn=qt(),Dn=/([ha]vc.)(?:\.[^.,]+)+/,In=function(){function t(t){var e=this;this.details=null,this._objectUrl=null,this.operationQueue=void 0,this.listeners=void 0,this.hls=void 0,this.bufferCodecEventsExpected=0,this._bufferCodecEventsTotal=0,this.media=null,this.mediaSource=null,this.lastMpegAudioChunk=null,this.appendError=0,this.tracks={},this.pendingTracks={},this.sourceBuffer=void 0,this._onMediaSourceOpen=function(){var t=e.media,r=e.mediaSource;w.log("[buffer-controller]: Media source opened"),t&&(t.removeEventListener("emptied",e._onMediaEmptied),e.updateMediaElementDuration(),e.hls.trigger(S.MEDIA_ATTACHED,{media:t})),r&&r.removeEventListener("sourceopen",e._onMediaSourceOpen),e.checkPendingTracks()},this._onMediaSourceClose=function(){w.log("[buffer-controller]: Media source closed")},this._onMediaSourceEnded=function(){w.log("[buffer-controller]: Media source ended")},this._onMediaEmptied=function(){var t=e.media,r=e._objectUrl;t&&t.src!==r&&w.error("Media element src was set while attaching MediaSource ("+r+" > "+t.src+")")},this.hls=t,this._initSourceBuffer(),this.registerListeners()}var e=t.prototype;return e.hasSourceTypes=function(){return this.getSourceBufferTypes().length>0||Object.keys(this.pendingTracks).length>0},e.destroy=function(){this.unregisterListeners(),this.details=null,this.lastMpegAudioChunk=null},e.registerListeners=function(){var t=this.hls;t.on(S.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(S.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(S.MANIFEST_LOADING,this.onManifestLoading,this),t.on(S.MANIFEST_PARSED,this.onManifestParsed,this),t.on(S.BUFFER_RESET,this.onBufferReset,this),t.on(S.BUFFER_APPENDING,this.onBufferAppending,this),t.on(S.BUFFER_CODECS,this.onBufferCodecs,this),t.on(S.BUFFER_EOS,this.onBufferEos,this),t.on(S.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(S.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(S.FRAG_PARSED,this.onFragParsed,this),t.on(S.FRAG_CHANGED,this.onFragChanged,this)},e.unregisterListeners=function(){var t=this.hls;t.off(S.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(S.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(S.MANIFEST_LOADING,this.onManifestLoading,this),t.off(S.MANIFEST_PARSED,this.onManifestParsed,this),t.off(S.BUFFER_RESET,this.onBufferReset,this),t.off(S.BUFFER_APPENDING,this.onBufferAppending,this),t.off(S.BUFFER_CODECS,this.onBufferCodecs,this),t.off(S.BUFFER_EOS,this.onBufferEos,this),t.off(S.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(S.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(S.FRAG_PARSED,this.onFragParsed,this),t.off(S.FRAG_CHANGED,this.onFragChanged,this)},e._initSourceBuffer=function(){this.sourceBuffer={},this.operationQueue=new kn(this.sourceBuffer),this.listeners={audio:[],video:[],audiovideo:[]},this.lastMpegAudioChunk=null},e.onManifestLoading=function(){this.bufferCodecEventsExpected=this._bufferCodecEventsTotal=0,this.details=null},e.onManifestParsed=function(t,e){var r=2;(e.audio&&!e.video||!e.altAudio)&&(r=1),this.bufferCodecEventsExpected=this._bufferCodecEventsTotal=r,w.log(this.bufferCodecEventsExpected+" bufferCodec event(s) expected")},e.onMediaAttaching=function(t,e){var r=this.media=e.media;if(r&&bn){var i=this.mediaSource=new bn;i.addEventListener("sourceopen",this._onMediaSourceOpen),i.addEventListener("sourceended",this._onMediaSourceEnded),i.addEventListener("sourceclose",this._onMediaSourceClose),r.src=self.URL.createObjectURL(i),this._objectUrl=r.src,r.addEventListener("emptied",this._onMediaEmptied)}},e.onMediaDetaching=function(){var t=this.media,e=this.mediaSource,r=this._objectUrl;if(e){if(w.log("[buffer-controller]: media source detaching"),"open"===e.readyState)try{e.endOfStream()}catch(t){w.warn("[buffer-controller]: onMediaDetaching: "+t.message+" while calling endOfStream")}this.onBufferReset(),e.removeEventListener("sourceopen",this._onMediaSourceOpen),e.removeEventListener("sourceended",this._onMediaSourceEnded),e.removeEventListener("sourceclose",this._onMediaSourceClose),t&&(t.removeEventListener("emptied",this._onMediaEmptied),r&&self.URL.revokeObjectURL(r),t.src===r?(t.removeAttribute("src"),t.load()):w.warn("[buffer-controller]: media.src was changed by a third party - skip cleanup")),this.mediaSource=null,this.media=null,this._objectUrl=null,this.bufferCodecEventsExpected=this._bufferCodecEventsTotal,this.pendingTracks={},this.tracks={}}this.hls.trigger(S.MEDIA_DETACHED,void 0)},e.onBufferReset=function(){var t=this;this.getSourceBufferTypes().forEach((function(e){var r=t.sourceBuffer[e];try{r&&(t.removeBufferListeners(e),t.mediaSource&&t.mediaSource.removeSourceBuffer(r),t.sourceBuffer[e]=void 0)}catch(t){w.warn("[buffer-controller]: Failed to reset the "+e+" buffer",t)}})),this._initSourceBuffer()},e.onBufferCodecs=function(t,e){var r=this,i=this.getSourceBufferTypes().length;Object.keys(e).forEach((function(t){if(i){var n=r.tracks[t];if(n&&"function"==typeof n.buffer.changeType){var a=e[t],s=a.id,o=a.codec,l=a.levelCodec,u=a.container,h=a.metadata,d=(n.levelCodec||n.codec).replace(Dn,"$1"),c=(l||o).replace(Dn,"$1");if(d!==c){var f=u+";codecs="+(l||o);r.appendChangeType(t,f),w.log("[buffer-controller]: switching codec "+d+" to "+c),r.tracks[t]={buffer:n.buffer,codec:o,container:u,levelCodec:l,metadata:h,id:s}}}}else r.pendingTracks[t]=e[t]})),i||(this.bufferCodecEventsExpected=Math.max(this.bufferCodecEventsExpected-1,0),this.mediaSource&&"open"===this.mediaSource.readyState&&this.checkPendingTracks())},e.appendChangeType=function(t,e){var r=this,i=this.operationQueue,n={execute:function(){var n=r.sourceBuffer[t];n&&(w.log("[buffer-controller]: changing "+t+" sourceBuffer type to "+e),n.changeType(e)),i.shiftAndExecuteNext(t)},onStart:function(){},onComplete:function(){},onError:function(e){w.warn("[buffer-controller]: Failed to change "+t+" SourceBuffer type",e)}};i.append(n,t)},e.onBufferAppending=function(t,e){var r=this,i=this.hls,n=this.operationQueue,a=this.tracks,s=e.data,o=e.type,l=e.frag,u=e.part,h=e.chunkMeta,d=h.buffering[o],c=self.performance.now();d.start=c;var f=l.stats.buffering,g=u?u.stats.buffering:null;0===f.start&&(f.start=c),g&&0===g.start&&(g.start=c);var v=a.audio,m=!1;"audio"===o&&"audio/mpeg"===(null==v?void 0:v.container)&&(m=!this.lastMpegAudioChunk||1===h.id||this.lastMpegAudioChunk.sn!==h.sn,this.lastMpegAudioChunk=h);var p=l.start,y={execute:function(){if(d.executeStart=self.performance.now(),m){var t=r.sourceBuffer[o];if(t){var e=p-t.timestampOffset;Math.abs(e)>=.1&&(w.log("[buffer-controller]: Updating audio SourceBuffer timestampOffset to "+p+" (delta: "+e+") sn: "+l.sn+")"),t.timestampOffset=p)}}r.appendExecutor(s,o)},onStart:function(){},onComplete:function(){var t=self.performance.now();d.executeEnd=d.end=t,0===f.first&&(f.first=t),g&&0===g.first&&(g.first=t);var e=r.sourceBuffer,i={};for(var n in e)i[n]=Ir.getBuffered(e[n]);r.appendError=0,r.hls.trigger(S.BUFFER_APPENDED,{type:o,frag:l,part:u,chunkMeta:h,parent:l.type,timeRanges:i})},onError:function(t){w.error("[buffer-controller]: Error encountered while trying to append to the "+o+" SourceBuffer",t);var e={type:L.MEDIA_ERROR,parent:l.type,details:R.BUFFER_APPEND_ERROR,frag:l,part:u,chunkMeta:h,error:t,err:t,fatal:!1};t.code===DOMException.QUOTA_EXCEEDED_ERR?e.details=R.BUFFER_FULL_ERROR:(r.appendError++,e.details=R.BUFFER_APPEND_ERROR,r.appendError>i.config.appendErrorMaxRetry&&(w.error("[buffer-controller]: Failed "+i.config.appendErrorMaxRetry+" times to append segment in sourceBuffer"),e.fatal=!0)),i.trigger(S.ERROR,e)}};n.append(y,o)},e.onBufferFlushing=function(t,e){var r=this,i=this.operationQueue,n=function(t){return{execute:r.removeExecutor.bind(r,t,e.startOffset,e.endOffset),onStart:function(){},onComplete:function(){r.hls.trigger(S.BUFFER_FLUSHED,{type:t})},onError:function(e){w.warn("[buffer-controller]: Failed to remove from "+t+" SourceBuffer",e)}}};e.type?i.append(n(e.type),e.type):this.getSourceBufferTypes().forEach((function(t){i.append(n(t),t)}))},e.onFragParsed=function(t,e){var r=this,i=e.frag,n=e.part,a=[],s=n?n.elementaryStreams:i.elementaryStreams;s[U]?a.push("audiovideo"):(s[O]&&a.push("audio"),s[N]&&a.push("video")),0===a.length&&w.warn("Fragments must have at least one ElementaryStreamType set. type: "+i.type+" level: "+i.level+" sn: "+i.sn),this.blockBuffers((function(){var t=self.performance.now();i.stats.buffering.end=t,n&&(n.stats.buffering.end=t);var e=n?n.stats:i.stats;r.hls.trigger(S.FRAG_BUFFERED,{frag:i,part:n,stats:e,id:i.type})}),a)},e.onFragChanged=function(t,e){this.flushBackBuffer()},e.onBufferEos=function(t,e){var r=this;this.getSourceBufferTypes().reduce((function(t,i){var n=r.sourceBuffer[i];return!n||e.type&&e.type!==i||(n.ending=!0,n.ended||(n.ended=!0,w.log("[buffer-controller]: "+i+" sourceBuffer now EOS"))),t&&!(n&&!n.ended)}),!0)&&(w.log("[buffer-controller]: Queueing mediaSource.endOfStream()"),this.blockBuffers((function(){r.getSourceBufferTypes().forEach((function(t){var e=r.sourceBuffer[t];e&&(e.ending=!1)}));var t=r.mediaSource;t&&"open"===t.readyState?(w.log("[buffer-controller]: Calling mediaSource.endOfStream()"),t.endOfStream()):t&&w.info("[buffer-controller]: Could not call mediaSource.endOfStream(). mediaSource.readyState: "+t.readyState)})))},e.onLevelUpdated=function(t,e){var r=e.details;r.fragments.length&&(this.details=r,this.getSourceBufferTypes().length?this.blockBuffers(this.updateMediaElementDuration.bind(this)):this.updateMediaElementDuration())},e.flushBackBuffer=function(){var t=this.hls,e=this.details,r=this.media,i=this.sourceBuffer;if(r&&null!==e){var n=this.getSourceBufferTypes();if(n.length){var a=e.live&&null!==t.config.liveBackBufferLength?t.config.liveBackBufferLength:t.config.backBufferLength;if(E(a)&&!(a<0)){var s=r.currentTime,o=e.levelTargetDuration,l=Math.max(a,o),u=Math.floor(s/o)*o-l;n.forEach((function(r){var n=i[r];if(n){var a=Ir.getBuffered(n);if(a.length>0&&u>a.start(0)){if(t.trigger(S.BACK_BUFFER_REACHED,{bufferEnd:u}),e.live)t.trigger(S.LIVE_BACK_BUFFER_REACHED,{bufferEnd:u});else if(n.ended&&a.end(a.length-1)-s<2*o)return void w.info("[buffer-controller]: Cannot flush "+r+" back buffer while SourceBuffer is in ended state");t.trigger(S.BUFFER_FLUSHING,{startOffset:0,endOffset:u,type:r})}}}))}}}},e.updateMediaElementDuration=function(){if(this.details&&this.media&&this.mediaSource&&"open"===this.mediaSource.readyState){var t=this.details,e=this.hls,r=this.media,i=this.mediaSource,n=t.fragments[0].start+t.totalduration,a=r.duration,s=E(i.duration)?i.duration:0;t.live&&e.config.liveDurationInfinity?(w.log("[buffer-controller]: Media Source duration is set to Infinity"),i.duration=1/0,this.updateSeekableRange(t)):(n>s&&n>a||!E(a))&&(w.log("[buffer-controller]: Updating Media Source duration to "+n.toFixed(3)),i.duration=n)}},e.updateSeekableRange=function(t){var e=this.mediaSource,r=t.fragments;if(r.length&&t.live&&null!=e&&e.setLiveSeekableRange){var i=Math.max(0,r[0].start),n=Math.max(i,i+t.totalduration);e.setLiveSeekableRange(i,n)}},e.checkPendingTracks=function(){var t=this.bufferCodecEventsExpected,e=this.operationQueue,r=this.pendingTracks,i=Object.keys(r).length;if(i&&!t||2===i){this.createSourceBuffers(r),this.pendingTracks={};var n=this.getSourceBufferTypes();if(n.length)this.hls.trigger(S.BUFFER_CREATED,{tracks:this.tracks}),n.forEach((function(t){e.executeNext(t)}));else{var a=new Error("could not create source buffer for media codec(s)");this.hls.trigger(S.ERROR,{type:L.MEDIA_ERROR,details:R.BUFFER_INCOMPATIBLE_CODECS_ERROR,fatal:!0,error:a,reason:a.message})}}},e.createSourceBuffers=function(t){var e=this.sourceBuffer,r=this.mediaSource;if(!r)throw Error("createSourceBuffers called when mediaSource was null");for(var i in t)if(!e[i]){var n=t[i];if(!n)throw Error("source buffer exists for track "+i+", however track does not");var a=n.levelCodec||n.codec,s=n.container+";codecs="+a;w.log("[buffer-controller]: creating sourceBuffer("+s+")");try{var o=e[i]=r.addSourceBuffer(s),l=i;this.addBufferListener(l,"updatestart",this._onSBUpdateStart),this.addBufferListener(l,"updateend",this._onSBUpdateEnd),this.addBufferListener(l,"error",this._onSBUpdateError),this.tracks[i]={buffer:o,codec:a,container:n.container,levelCodec:n.levelCodec,metadata:n.metadata,id:n.id}}catch(t){w.error("[buffer-controller]: error while trying to add sourceBuffer: "+t.message),this.hls.trigger(S.ERROR,{type:L.MEDIA_ERROR,details:R.BUFFER_ADD_CODEC_ERROR,fatal:!1,error:t,mimeType:s})}}},e._onSBUpdateStart=function(t){this.operationQueue.current(t).onStart()},e._onSBUpdateEnd=function(t){var e=this.operationQueue;e.current(t).onComplete(),e.shiftAndExecuteNext(t)},e._onSBUpdateError=function(t,e){var r=new Error(t+" SourceBuffer error");w.error("[buffer-controller]: "+r,e),this.hls.trigger(S.ERROR,{type:L.MEDIA_ERROR,details:R.BUFFER_APPENDING_ERROR,error:r,fatal:!1});var i=this.operationQueue.current(t);i&&i.onError(e)},e.removeExecutor=function(t,e,r){var i=this.media,n=this.mediaSource,a=this.operationQueue,s=this.sourceBuffer[t];if(!i||!n||!s)return w.warn("[buffer-controller]: Attempting to remove from the "+t+" SourceBuffer, but it does not exist"),void a.shiftAndExecuteNext(t);var o=E(i.duration)?i.duration:1/0,l=E(n.duration)?n.duration:1/0,u=Math.max(0,e),h=Math.min(r,o,l);h>u&&!s.ending?(s.ended=!1,w.log("[buffer-controller]: Removing ["+u+","+h+"] from the "+t+" SourceBuffer"),s.remove(u,h)):a.shiftAndExecuteNext(t)},e.appendExecutor=function(t,e){var r=this.operationQueue,i=this.sourceBuffer[e];if(!i)return w.warn("[buffer-controller]: Attempting to append to the "+e+" SourceBuffer, but it does not exist"),void r.shiftAndExecuteNext(e);i.ended=!1,i.appendBuffer(t)},e.blockBuffers=function(t,e){var r=this;if(void 0===e&&(e=this.getSourceBufferTypes()),!e.length)return w.log("[buffer-controller]: Blocking operation requested, but no SourceBuffers exist"),void Promise.resolve().then(t);var i=this.operationQueue,n=e.map((function(t){return i.appendBlocker(t)}));Promise.all(n).then((function(){t(),e.forEach((function(t){var e=r.sourceBuffer[t];null!=e&&e.updating||i.shiftAndExecuteNext(t)}))}))},e.getSourceBufferTypes=function(){return Object.keys(this.sourceBuffer)},e.addBufferListener=function(t,e,r){var i=this.sourceBuffer[t];if(i){var n=r.bind(this,t);this.listeners[t].push({event:e,listener:n}),i.addEventListener(e,n)}},e.removeBufferListeners=function(t){var e=this.sourceBuffer[t];e&&this.listeners[t].forEach((function(t){e.removeEventListener(t.event,t.listener)}))},t}(),wn={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,128:174,129:176,130:189,131:191,132:8482,133:162,134:163,135:9834,136:224,137:32,138:232,139:226,140:234,141:238,142:244,143:251,144:193,145:201,146:211,147:218,148:220,149:252,150:8216,151:161,152:42,153:8217,154:9473,155:169,156:8480,157:8226,158:8220,159:8221,160:192,161:194,162:199,163:200,164:202,165:203,166:235,167:206,168:207,169:239,170:212,171:217,172:249,173:219,174:171,175:187,176:195,177:227,178:205,179:204,180:236,181:210,182:242,183:213,184:245,185:123,186:125,187:92,188:94,189:95,190:124,191:8764,192:196,193:228,194:214,195:246,196:223,197:165,198:164,199:9475,200:197,201:229,202:216,203:248,204:9487,205:9491,206:9495,207:9499},Cn=function(t){var e=t;return wn.hasOwnProperty(t)&&(e=wn[t]),String.fromCharCode(e)},_n=15,Pn=100,xn={17:1,18:3,21:5,22:7,23:9,16:11,19:12,20:14},Fn={17:2,18:4,21:6,22:8,23:10,19:13,20:15},Mn={25:1,26:3,29:5,30:7,31:9,24:11,27:12,28:14},On={25:2,26:4,29:6,30:8,31:10,27:13,28:15},Nn=["white","green","blue","cyan","red","yellow","magenta","black","transparent"],Un=function(){function t(){this.time=null,this.verboseLevel=0}return t.prototype.log=function(t,e){if(this.verboseLevel>=t){var r="function"==typeof e?e():e;w.log(this.time+" ["+t+"] "+r)}},t}(),Bn=function(t){for(var e=[],r=0;r<t.length;r++)e.push(t[r].toString(16));return e},Gn=function(){function t(t,e,r,i,n){this.foreground=void 0,this.underline=void 0,this.italics=void 0,this.background=void 0,this.flash=void 0,this.foreground=t||"white",this.underline=e||!1,this.italics=r||!1,this.background=i||"black",this.flash=n||!1}var e=t.prototype;return e.reset=function(){this.foreground="white",this.underline=!1,this.italics=!1,this.background="black",this.flash=!1},e.setStyles=function(t){for(var e=["foreground","underline","italics","background","flash"],r=0;r<e.length;r++){var i=e[r];t.hasOwnProperty(i)&&(this[i]=t[i])}},e.isDefault=function(){return"white"===this.foreground&&!this.underline&&!this.italics&&"black"===this.background&&!this.flash},e.equals=function(t){return this.foreground===t.foreground&&this.underline===t.underline&&this.italics===t.italics&&this.background===t.background&&this.flash===t.flash},e.copy=function(t){this.foreground=t.foreground,this.underline=t.underline,this.italics=t.italics,this.background=t.background,this.flash=t.flash},e.toString=function(){return"color="+this.foreground+", underline="+this.underline+", italics="+this.italics+", background="+this.background+", flash="+this.flash},t}(),Kn=function(){function t(t,e,r,i,n,a){this.uchar=void 0,this.penState=void 0,this.uchar=t||" ",this.penState=new Gn(e,r,i,n,a)}var e=t.prototype;return e.reset=function(){this.uchar=" ",this.penState.reset()},e.setChar=function(t,e){this.uchar=t,this.penState.copy(e)},e.setPenState=function(t){this.penState.copy(t)},e.equals=function(t){return this.uchar===t.uchar&&this.penState.equals(t.penState)},e.copy=function(t){this.uchar=t.uchar,this.penState.copy(t.penState)},e.isEmpty=function(){return" "===this.uchar&&this.penState.isDefault()},t}(),Hn=function(){function t(t){this.chars=void 0,this.pos=void 0,this.currPenState=void 0,this.cueStartTime=void 0,this.logger=void 0,this.chars=[];for(var e=0;e<Pn;e++)this.chars.push(new Kn);this.logger=t,this.pos=0,this.currPenState=new Gn}var e=t.prototype;return e.equals=function(t){for(var e=!0,r=0;r<Pn;r++)if(!this.chars[r].equals(t.chars[r])){e=!1;break}return e},e.copy=function(t){for(var e=0;e<Pn;e++)this.chars[e].copy(t.chars[e])},e.isEmpty=function(){for(var t=!0,e=0;e<Pn;e++)if(!this.chars[e].isEmpty()){t=!1;break}return t},e.setCursor=function(t){this.pos!==t&&(this.pos=t),this.pos<0?(this.logger.log(3,"Negative cursor position "+this.pos),this.pos=0):this.pos>Pn&&(this.logger.log(3,"Too large cursor position "+this.pos),this.pos=Pn)},e.moveCursor=function(t){var e=this.pos+t;if(t>1)for(var r=this.pos+1;r<e+1;r++)this.chars[r].setPenState(this.currPenState);this.setCursor(e)},e.backSpace=function(){this.moveCursor(-1),this.chars[this.pos].setChar(" ",this.currPenState)},e.insertChar=function(t){var e=this;t>=144&&this.backSpace();var r=Cn(t);this.pos>=Pn?this.logger.log(0,(function(){return"Cannot insert "+t.toString(16)+" ("+r+") at position "+e.pos+". Skipping it!"})):(this.chars[this.pos].setChar(r,this.currPenState),this.moveCursor(1))},e.clearFromPos=function(t){var e;for(e=t;e<Pn;e++)this.chars[e].reset()},e.clear=function(){this.clearFromPos(0),this.pos=0,this.currPenState.reset()},e.clearToEndOfRow=function(){this.clearFromPos(this.pos)},e.getTextString=function(){for(var t=[],e=!0,r=0;r<Pn;r++){var i=this.chars[r].uchar;" "!==i&&(e=!1),t.push(i)}return e?"":t.join("")},e.setPenStyles=function(t){this.currPenState.setStyles(t),this.chars[this.pos].setPenState(this.currPenState)},t}(),Vn=function(){function t(t){this.rows=void 0,this.currRow=void 0,this.nrRollUpRows=void 0,this.lastOutputScreen=void 0,this.logger=void 0,this.rows=[];for(var e=0;e<_n;e++)this.rows.push(new Hn(t));this.logger=t,this.currRow=14,this.nrRollUpRows=null,this.lastOutputScreen=null,this.reset()}var e=t.prototype;return e.reset=function(){for(var t=0;t<_n;t++)this.rows[t].clear();this.currRow=14},e.equals=function(t){for(var e=!0,r=0;r<_n;r++)if(!this.rows[r].equals(t.rows[r])){e=!1;break}return e},e.copy=function(t){for(var e=0;e<_n;e++)this.rows[e].copy(t.rows[e])},e.isEmpty=function(){for(var t=!0,e=0;e<_n;e++)if(!this.rows[e].isEmpty()){t=!1;break}return t},e.backSpace=function(){this.rows[this.currRow].backSpace()},e.clearToEndOfRow=function(){this.rows[this.currRow].clearToEndOfRow()},e.insertChar=function(t){this.rows[this.currRow].insertChar(t)},e.setPen=function(t){this.rows[this.currRow].setPenStyles(t)},e.moveCursor=function(t){this.rows[this.currRow].moveCursor(t)},e.setCursor=function(t){this.logger.log(2,"setCursor: "+t),this.rows[this.currRow].setCursor(t)},e.setPAC=function(t){this.logger.log(2,(function(){return"pacData = "+JSON.stringify(t)}));var e=t.row-1;if(this.nrRollUpRows&&e<this.nrRollUpRows-1&&(e=this.nrRollUpRows-1),this.nrRollUpRows&&this.currRow!==e){for(var r=0;r<_n;r++)this.rows[r].clear();var i=this.currRow+1-this.nrRollUpRows,n=this.lastOutputScreen;if(n){var a=n.rows[i].cueStartTime,s=this.logger.time;if(a&&null!==s&&a<s)for(var o=0;o<this.nrRollUpRows;o++)this.rows[e-this.nrRollUpRows+o+1].copy(n.rows[i+o])}}this.currRow=e;var l=this.rows[this.currRow];if(null!==t.indent){var u=t.indent,h=Math.max(u-1,0);l.setCursor(t.indent),t.color=l.chars[h].penState.foreground}var d={foreground:t.color,underline:t.underline,italics:t.italics,background:"black",flash:!1};this.setPen(d)},e.setBkgData=function(t){this.logger.log(2,(function(){return"bkgData = "+JSON.stringify(t)})),this.backSpace(),this.setPen(t),this.insertChar(32)},e.setRollUpRows=function(t){this.nrRollUpRows=t},e.rollUp=function(){var t=this;if(null!==this.nrRollUpRows){this.logger.log(1,(function(){return t.getDisplayText()}));var e=this.currRow+1-this.nrRollUpRows,r=this.rows.splice(e,1)[0];r.clear(),this.rows.splice(this.currRow,0,r),this.logger.log(2,"Rolling up")}else this.logger.log(3,"roll_up but nrRollUpRows not set yet")},e.getDisplayText=function(t){t=t||!1;for(var e=[],r="",i=-1,n=0;n<_n;n++){var a=this.rows[n].getTextString();a&&(i=n+1,t?e.push("Row "+i+": '"+a+"'"):e.push(a.trim()))}return e.length>0&&(r=t?"["+e.join(" | ")+"]":e.join("\n")),r},e.getTextAndFormat=function(){return this.rows},t}(),Yn=function(){function t(t,e,r){this.chNr=void 0,this.outputFilter=void 0,this.mode=void 0,this.verbose=void 0,this.displayedMemory=void 0,this.nonDisplayedMemory=void 0,this.lastOutputScreen=void 0,this.currRollUpRow=void 0,this.writeScreen=void 0,this.cueStartTime=void 0,this.logger=void 0,this.chNr=t,this.outputFilter=e,this.mode=null,this.verbose=0,this.displayedMemory=new Vn(r),this.nonDisplayedMemory=new Vn(r),this.lastOutputScreen=new Vn(r),this.currRollUpRow=this.displayedMemory.rows[14],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null,this.logger=r}var e=t.prototype;return e.reset=function(){this.mode=null,this.displayedMemory.reset(),this.nonDisplayedMemory.reset(),this.lastOutputScreen.reset(),this.outputFilter.reset(),this.currRollUpRow=this.displayedMemory.rows[14],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null},e.getHandler=function(){return this.outputFilter},e.setHandler=function(t){this.outputFilter=t},e.setPAC=function(t){this.writeScreen.setPAC(t)},e.setBkgData=function(t){this.writeScreen.setBkgData(t)},e.setMode=function(t){t!==this.mode&&(this.mode=t,this.logger.log(2,(function(){return"MODE="+t})),"MODE_POP-ON"===this.mode?this.writeScreen=this.nonDisplayedMemory:(this.writeScreen=this.displayedMemory,this.writeScreen.reset()),"MODE_ROLL-UP"!==this.mode&&(this.displayedMemory.nrRollUpRows=null,this.nonDisplayedMemory.nrRollUpRows=null),this.mode=t)},e.insertChars=function(t){for(var e=this,r=0;r<t.length;r++)this.writeScreen.insertChar(t[r]);var i=this.writeScreen===this.displayedMemory?"DISP":"NON_DISP";this.logger.log(2,(function(){return i+": "+e.writeScreen.getDisplayText(!0)})),"MODE_PAINT-ON"!==this.mode&&"MODE_ROLL-UP"!==this.mode||(this.logger.log(1,(function(){return"DISPLAYED: "+e.displayedMemory.getDisplayText(!0)})),this.outputDataUpdate())},e.ccRCL=function(){this.logger.log(2,"RCL - Resume Caption Loading"),this.setMode("MODE_POP-ON")},e.ccBS=function(){this.logger.log(2,"BS - BackSpace"),"MODE_TEXT"!==this.mode&&(this.writeScreen.backSpace(),this.writeScreen===this.displayedMemory&&this.outputDataUpdate())},e.ccAOF=function(){},e.ccAON=function(){},e.ccDER=function(){this.logger.log(2,"DER- Delete to End of Row"),this.writeScreen.clearToEndOfRow(),this.outputDataUpdate()},e.ccRU=function(t){this.logger.log(2,"RU("+t+") - Roll Up"),this.writeScreen=this.displayedMemory,this.setMode("MODE_ROLL-UP"),this.writeScreen.setRollUpRows(t)},e.ccFON=function(){this.logger.log(2,"FON - Flash On"),this.writeScreen.setPen({flash:!0})},e.ccRDC=function(){this.logger.log(2,"RDC - Resume Direct Captioning"),this.setMode("MODE_PAINT-ON")},e.ccTR=function(){this.logger.log(2,"TR"),this.setMode("MODE_TEXT")},e.ccRTD=function(){this.logger.log(2,"RTD"),this.setMode("MODE_TEXT")},e.ccEDM=function(){this.logger.log(2,"EDM - Erase Displayed Memory"),this.displayedMemory.reset(),this.outputDataUpdate(!0)},e.ccCR=function(){this.logger.log(2,"CR - Carriage Return"),this.writeScreen.rollUp(),this.outputDataUpdate(!0)},e.ccENM=function(){this.logger.log(2,"ENM - Erase Non-displayed Memory"),this.nonDisplayedMemory.reset()},e.ccEOC=function(){var t=this;if(this.logger.log(2,"EOC - End Of Caption"),"MODE_POP-ON"===this.mode){var e=this.displayedMemory;this.displayedMemory=this.nonDisplayedMemory,this.nonDisplayedMemory=e,this.writeScreen=this.nonDisplayedMemory,this.logger.log(1,(function(){return"DISP: "+t.displayedMemory.getDisplayText()}))}this.outputDataUpdate(!0)},e.ccTO=function(t){this.logger.log(2,"TO("+t+") - Tab Offset"),this.writeScreen.moveCursor(t)},e.ccMIDROW=function(t){var e={flash:!1};if(e.underline=t%2==1,e.italics=t>=46,e.italics)e.foreground="white";else{var r=Math.floor(t/2)-16;e.foreground=["white","green","blue","cyan","red","yellow","magenta"][r]}this.logger.log(2,"MIDROW: "+JSON.stringify(e)),this.writeScreen.setPen(e)},e.outputDataUpdate=function(t){void 0===t&&(t=!1);var e=this.logger.time;null!==e&&this.outputFilter&&(null!==this.cueStartTime||this.displayedMemory.isEmpty()?this.displayedMemory.equals(this.lastOutputScreen)||(this.outputFilter.newCue(this.cueStartTime,e,this.lastOutputScreen),t&&this.outputFilter.dispatchCue&&this.outputFilter.dispatchCue(),this.cueStartTime=this.displayedMemory.isEmpty()?null:e):this.cueStartTime=e,this.lastOutputScreen.copy(this.displayedMemory))},e.cueSplitAtTime=function(t){this.outputFilter&&(this.displayedMemory.isEmpty()||(this.outputFilter.newCue&&this.outputFilter.newCue(this.cueStartTime,t,this.displayedMemory),this.cueStartTime=t))},t}(),Wn=function(){function t(t,e,r){this.channels=void 0,this.currentChannel=0,this.cmdHistory=void 0,this.logger=void 0;var i=new Un;this.channels=[null,new Yn(t,e,i),new Yn(t+1,r,i)],this.cmdHistory={a:null,b:null},this.logger=i}var e=t.prototype;return e.getHandler=function(t){return this.channels[t].getHandler()},e.setHandler=function(t,e){this.channels[t].setHandler(e)},e.addData=function(t,e){var r,i,n,a=!1;this.logger.time=t;for(var s=0;s<e.length;s+=2)if(i=127&e[s],n=127&e[s+1],0!==i||0!==n){if(this.logger.log(3,"["+Bn([e[s],e[s+1]])+"] -> ("+Bn([i,n])+")"),(r=this.parseCmd(i,n))||(r=this.parseMidrow(i,n)),r||(r=this.parsePAC(i,n)),r||(r=this.parseBackgroundAttributes(i,n)),!r&&(a=this.parseChars(i,n))){var o=this.currentChannel;o&&o>0?this.channels[o].insertChars(a):this.logger.log(2,"No channel found yet. TEXT-MODE?")}r||a||this.logger.log(2,"Couldn't parse cleaned data "+Bn([i,n])+" orig: "+Bn([e[s],e[s+1]]))}},e.parseCmd=function(t,e){var r=this.cmdHistory;if(!((20===t||28===t||21===t||29===t)&&e>=32&&e<=47||(23===t||31===t)&&e>=33&&e<=35))return!1;if(qn(t,e,r))return jn(null,null,r),this.logger.log(3,"Repeated command ("+Bn([t,e])+") is dropped"),!0;var i=20===t||21===t||23===t?1:2,n=this.channels[i];return 20===t||21===t||28===t||29===t?32===e?n.ccRCL():33===e?n.ccBS():34===e?n.ccAOF():35===e?n.ccAON():36===e?n.ccDER():37===e?n.ccRU(2):38===e?n.ccRU(3):39===e?n.ccRU(4):40===e?n.ccFON():41===e?n.ccRDC():42===e?n.ccTR():43===e?n.ccRTD():44===e?n.ccEDM():45===e?n.ccCR():46===e?n.ccENM():47===e&&n.ccEOC():n.ccTO(e-32),jn(t,e,r),this.currentChannel=i,!0},e.parseMidrow=function(t,e){var r=0;if((17===t||25===t)&&e>=32&&e<=47){if((r=17===t?1:2)!==this.currentChannel)return this.logger.log(0,"Mismatch channel in midrow parsing"),!1;var i=this.channels[r];return!!i&&(i.ccMIDROW(e),this.logger.log(3,"MIDROW ("+Bn([t,e])+")"),!0)}return!1},e.parsePAC=function(t,e){var r,i=this.cmdHistory;if(!((t>=17&&t<=23||t>=25&&t<=31)&&e>=64&&e<=127||(16===t||24===t)&&e>=64&&e<=95))return!1;if(qn(t,e,i))return jn(null,null,i),!0;var n=t<=23?1:2;r=e>=64&&e<=95?1===n?xn[t]:Mn[t]:1===n?Fn[t]:On[t];var a=this.channels[n];return!!a&&(a.setPAC(this.interpretPAC(r,e)),jn(t,e,i),this.currentChannel=n,!0)},e.interpretPAC=function(t,e){var r,i={color:null,italics:!1,indent:null,underline:!1,row:t};return r=e>95?e-96:e-64,i.underline=1==(1&r),r<=13?i.color=["white","green","blue","cyan","red","yellow","magenta","white"][Math.floor(r/2)]:r<=15?(i.italics=!0,i.color="white"):i.indent=4*Math.floor((r-16)/2),i},e.parseChars=function(t,e){var r,i,n=null,a=null;if(t>=25?(r=2,a=t-8):(r=1,a=t),a>=17&&a<=19?(i=17===a?e+80:18===a?e+112:e+144,this.logger.log(2,"Special char '"+Cn(i)+"' in channel "+r),n=[i]):t>=32&&t<=127&&(n=0===e?[t]:[t,e]),n){var s=Bn(n);this.logger.log(3,"Char codes = "+s.join(",")),jn(t,e,this.cmdHistory)}return n},e.parseBackgroundAttributes=function(t,e){var r;if(!((16===t||24===t)&&e>=32&&e<=47||(23===t||31===t)&&e>=45&&e<=47))return!1;var i={};16===t||24===t?(r=Math.floor((e-32)/2),i.background=Nn[r],e%2==1&&(i.background=i.background+"_semi")):45===e?i.background="transparent":(i.foreground="black",47===e&&(i.underline=!0));var n=t<=23?1:2;return this.channels[n].setBkgData(i),jn(t,e,this.cmdHistory),!0},e.reset=function(){for(var t=0;t<Object.keys(this.channels).length;t++){var e=this.channels[t];e&&e.reset()}this.cmdHistory={a:null,b:null}},e.cueSplitAtTime=function(t){for(var e=0;e<this.channels.length;e++){var r=this.channels[e];r&&r.cueSplitAtTime(t)}},t}();function jn(t,e,r){r.a=t,r.b=e}function qn(t,e,r){return r.a===t&&r.b===e}var Xn=function(){function t(t,e){this.timelineController=void 0,this.cueRanges=[],this.trackName=void 0,this.startTime=null,this.endTime=null,this.screen=null,this.timelineController=t,this.trackName=e}var e=t.prototype;return e.dispatchCue=function(){null!==this.startTime&&(this.timelineController.addCues(this.trackName,this.startTime,this.endTime,this.screen,this.cueRanges),this.startTime=null)},e.newCue=function(t,e,r){(null===this.startTime||this.startTime>t)&&(this.startTime=t),this.endTime=e,this.screen=r,this.timelineController.createCaptionsTrack(this.trackName)},e.reset=function(){this.cueRanges=[],this.startTime=null},t}(),zn=function(){if("undefined"!=typeof self&&self.VTTCue)return self.VTTCue;var t=["","lr","rl"],e=["start","middle","end","left","right"];function r(t,e){if("string"!=typeof e)return!1;if(!Array.isArray(t))return!1;var r=e.toLowerCase();return!!~t.indexOf(r)&&r}function i(t){return r(e,t)}function n(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];for(var n=1;n<arguments.length;n++){var a=arguments[n];for(var s in a)t[s]=a[s]}return t}function a(e,a,s){var o=this,l={enumerable:!0};o.hasBeenReset=!1;var u="",h=!1,d=e,c=a,f=s,g=null,v="",m=!0,p="auto",y="start",T=50,E="middle",S=50,L="middle";Object.defineProperty(o,"id",n({},l,{get:function(){return u},set:function(t){u=""+t}})),Object.defineProperty(o,"pauseOnExit",n({},l,{get:function(){return h},set:function(t){h=!!t}})),Object.defineProperty(o,"startTime",n({},l,{get:function(){return d},set:function(t){if("number"!=typeof t)throw new TypeError("Start time must be set to a number.");d=t,this.hasBeenReset=!0}})),Object.defineProperty(o,"endTime",n({},l,{get:function(){return c},set:function(t){if("number"!=typeof t)throw new TypeError("End time must be set to a number.");c=t,this.hasBeenReset=!0}})),Object.defineProperty(o,"text",n({},l,{get:function(){return f},set:function(t){f=""+t,this.hasBeenReset=!0}})),Object.defineProperty(o,"region",n({},l,{get:function(){return g},set:function(t){g=t,this.hasBeenReset=!0}})),Object.defineProperty(o,"vertical",n({},l,{get:function(){return v},set:function(e){var i=function(e){return r(t,e)}(e);if(!1===i)throw new SyntaxError("An invalid or illegal string was specified.");v=i,this.hasBeenReset=!0}})),Object.defineProperty(o,"snapToLines",n({},l,{get:function(){return m},set:function(t){m=!!t,this.hasBeenReset=!0}})),Object.defineProperty(o,"line",n({},l,{get:function(){return p},set:function(t){if("number"!=typeof t&&"auto"!==t)throw new SyntaxError("An invalid number or illegal string was specified.");p=t,this.hasBeenReset=!0}})),Object.defineProperty(o,"lineAlign",n({},l,{get:function(){return y},set:function(t){var e=i(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");y=e,this.hasBeenReset=!0}})),Object.defineProperty(o,"position",n({},l,{get:function(){return T},set:function(t){if(t<0||t>100)throw new Error("Position must be between 0 and 100.");T=t,this.hasBeenReset=!0}})),Object.defineProperty(o,"positionAlign",n({},l,{get:function(){return E},set:function(t){var e=i(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");E=e,this.hasBeenReset=!0}})),Object.defineProperty(o,"size",n({},l,{get:function(){return S},set:function(t){if(t<0||t>100)throw new Error("Size must be between 0 and 100.");S=t,this.hasBeenReset=!0}})),Object.defineProperty(o,"align",n({},l,{get:function(){return L},set:function(t){var e=i(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");L=e,this.hasBeenReset=!0}})),o.displayState=void 0}return a.prototype.getCueAsHTML=function(){return self.WebVTT.convertCueToDOMTree(self,this.text)},a}(),Qn=function(){function t(){}return t.prototype.decode=function(t,e){if(!t)return"";if("string"!=typeof t)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))},t}();function $n(t){function e(t,e,r,i){return 3600*(0|t)+60*(0|e)+(0|r)+parseFloat(i||0)}var r=t.match(/^(?:(\d+):)?(\d{2}):(\d{2})(\.\d+)?/);return r?parseFloat(r[2])>59?e(r[2],r[3],0,r[4]):e(r[1],r[2],r[3],r[4]):null}var Jn=function(){function t(){this.values=Object.create(null)}var e=t.prototype;return e.set=function(t,e){this.get(t)||""===e||(this.values[t]=e)},e.get=function(t,e,r){return r?this.has(t)?this.values[t]:e[r]:this.has(t)?this.values[t]:e},e.has=function(t){return t in this.values},e.alt=function(t,e,r){for(var i=0;i<r.length;++i)if(e===r[i]){this.set(t,e);break}},e.integer=function(t,e){/^-?\d+$/.test(e)&&this.set(t,parseInt(e,10))},e.percent=function(t,e){if(/^([\d]{1,3})(\.[\d]*)?%$/.test(e)){var r=parseFloat(e);if(r>=0&&r<=100)return this.set(t,r),!0}return!1},t}();function Zn(t,e,r,i){var n=i?t.split(i):[t];for(var a in n)if("string"==typeof n[a]){var s=n[a].split(r);2===s.length&&e(s[0],s[1])}}var ta=new zn(0,0,""),ea="middle"===ta.align?"middle":"center";function ra(t,e,r){var i=t;function n(){var e=$n(t);if(null===e)throw new Error("Malformed timestamp: "+i);return t=t.replace(/^[^\sa-zA-Z-]+/,""),e}function a(){t=t.replace(/^\s+/,"")}if(a(),e.startTime=n(),a(),"--\x3e"!==t.slice(0,3))throw new Error("Malformed time stamp (time stamps must be separated by '--\x3e'): "+i);t=t.slice(3),a(),e.endTime=n(),a(),function(t,e){var i=new Jn;Zn(t,(function(t,e){var n;switch(t){case"region":for(var a=r.length-1;a>=0;a--)if(r[a].id===e){i.set(t,r[a].region);break}break;case"vertical":i.alt(t,e,["rl","lr"]);break;case"line":n=e.split(","),i.integer(t,n[0]),i.percent(t,n[0])&&i.set("snapToLines",!1),i.alt(t,n[0],["auto"]),2===n.length&&i.alt("lineAlign",n[1],["start",ea,"end"]);break;case"position":n=e.split(","),i.percent(t,n[0]),2===n.length&&i.alt("positionAlign",n[1],["start",ea,"end","line-left","line-right","auto"]);break;case"size":i.percent(t,e);break;case"align":i.alt(t,e,["start",ea,"end","left","right"])}}),/:/,/\s/),e.region=i.get("region",null),e.vertical=i.get("vertical","");var n=i.get("line","auto");"auto"===n&&-1===ta.line&&(n=-1),e.line=n,e.lineAlign=i.get("lineAlign","start"),e.snapToLines=i.get("snapToLines",!0),e.size=i.get("size",100),e.align=i.get("align",ea);var a=i.get("position","auto");"auto"===a&&50===ta.position&&(a="start"===e.align||"left"===e.align?0:"end"===e.align||"right"===e.align?100:50),e.position=a}(t,e)}function ia(t){return t.replace(/<br(?: \/)?>/gi,"\n")}var na=function(){function t(){this.state="INITIAL",this.buffer="",this.decoder=new Qn,this.regionList=[],this.cue=null,this.oncue=void 0,this.onparsingerror=void 0,this.onflush=void 0}var e=t.prototype;return e.parse=function(t){var e=this;function r(){var t=e.buffer,r=0;for(t=ia(t);r<t.length&&"\r"!==t[r]&&"\n"!==t[r];)++r;var i=t.slice(0,r);return"\r"===t[r]&&++r,"\n"===t[r]&&++r,e.buffer=t.slice(r),i}t&&(e.buffer+=e.decoder.decode(t,{stream:!0}));try{var i="";if("INITIAL"===e.state){if(!/\r\n|\n/.test(e.buffer))return this;var n=(i=r()).match(/^()?WEBVTT([ \t].*)?$/);if(null==n||!n[0])throw new Error("Malformed WebVTT signature.");e.state="HEADER"}for(var a=!1;e.buffer;){if(!/\r\n|\n/.test(e.buffer))return this;switch(a?a=!1:i=r(),e.state){case"HEADER":/:/.test(i)?Zn(i,(function(t,e){}),/:/):i||(e.state="ID");continue;case"NOTE":i||(e.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(i)){e.state="NOTE";break}if(!i)continue;if(e.cue=new zn(0,0,""),e.state="CUE",-1===i.indexOf("--\x3e")){e.cue.id=i;continue}case"CUE":if(!e.cue){e.state="BADCUE";continue}try{ra(i,e.cue,e.regionList)}catch(t){e.cue=null,e.state="BADCUE";continue}e.state="CUETEXT";continue;case"CUETEXT":var s=-1!==i.indexOf("--\x3e");if(!i||s&&(a=!0)){e.oncue&&e.cue&&e.oncue(e.cue),e.cue=null,e.state="ID";continue}if(null===e.cue)continue;e.cue.text&&(e.cue.text+="\n"),e.cue.text+=i;continue;case"BADCUE":i||(e.state="ID")}}}catch(t){"CUETEXT"===e.state&&e.cue&&e.oncue&&e.oncue(e.cue),e.cue=null,e.state="INITIAL"===e.state?"BADWEBVTT":"BADCUE"}return this},e.flush=function(){var t=this;try{if((t.cue||"HEADER"===t.state)&&(t.buffer+="\n\n",t.parse()),"INITIAL"===t.state||"BADWEBVTT"===t.state)throw new Error("Malformed WebVTT signature.")}catch(e){t.onparsingerror&&t.onparsingerror(e)}return t.onflush&&t.onflush(),this},t}(),aa=/\r\n|\n\r|\n|\r/g,sa=function(t,e,r){return void 0===r&&(r=0),t.slice(r,r+e.length)===e},oa=function(t){for(var e=5381,r=t.length;r;)e=33*e^t.charCodeAt(--r);return(e>>>0).toString()};function la(t,e,r){return oa(t.toString())+oa(e.toString())+oa(r)}function ua(t,e,r,i,n,a,s){var o,l,u,h=new na,d=pt(new Uint8Array(t)).trim().replace(aa,"\n").split("\n"),c=[],f=e?(o=e.baseTime,void 0===(l=e.timescale)&&(l=1),Ui(o,9e4,1/l)):0,g="00:00.000",v=0,m=0,p=!0;h.oncue=function(t){var a=r[i],s=r.ccOffset,o=(v-f)/9e4;if(null!=a&&a.new&&(void 0!==m?s=r.ccOffset=a.start:function(t,e,r){var i=t[e],n=t[i.prevCC];if(!n||!n.new&&i.new)return t.ccOffset=t.presentationOffset=i.start,void(i.new=!1);for(;null!=(a=n)&&a.new;){var a;t.ccOffset+=i.start-n.start,i.new=!1,n=t[(i=n).prevCC]}t.presentationOffset=r}(r,i,o)),o){if(!e)return void(u=new Error("Missing initPTS for VTT MPEGTS"));s=o-r.presentationOffset}var l=t.endTime-t.startTime,h=Vi(9e4*(t.startTime+s-m),9e4*n)/9e4;t.startTime=Math.max(h,0),t.endTime=Math.max(h+l,0);var d=t.text.trim();t.text=decodeURIComponent(encodeURIComponent(d)),t.id||(t.id=la(t.startTime,t.endTime,d)),t.endTime>0&&c.push(t)},h.onparsingerror=function(t){u=t},h.onflush=function(){u?s(u):a(c)},d.forEach((function(t){if(p){if(sa(t,"X-TIMESTAMP-MAP=")){p=!1,t.slice(16).split(",").forEach((function(t){sa(t,"LOCAL:")?g=t.slice(6):sa(t,"MPEGTS:")&&(v=parseInt(t.slice(7)))}));try{m=function(t){var e=parseInt(t.slice(-3)),r=parseInt(t.slice(-6,-4)),i=parseInt(t.slice(-9,-7)),n=t.length>9?parseInt(t.substring(0,t.indexOf(":"))):0;if(!(E(e)&&E(r)&&E(i)&&E(n)))throw Error("Malformed X-TIMESTAMP-MAP: Local:"+t);return e+=1e3*r,(e+=6e4*i)+36e5*n}(g)/1e3}catch(t){u=t}return}""===t&&(p=!1)}h.parse(t+"\n")})),h.flush()}var ha="stpp.ttml.im1t",da=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,ca=/^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/,fa={left:"start",center:"center",right:"end",start:"start",end:"end"};function ga(t,e,r,i){var n=It(new Uint8Array(t),["mdat"]);if(0!==n.length){var a,s,l,u,h=n.map((function(t){return pt(t)})),d=(a=e.baseTime,s=1,void 0===(l=e.timescale)&&(l=1),void 0===u&&(u=!1),Ui(a,s,1/l,u));try{h.forEach((function(t){return r(function(t,e){var r=(new DOMParser).parseFromString(t,"text/xml").getElementsByTagName("tt")[0];if(!r)throw new Error("Invalid ttml");var i={frameRate:30,subFrameRate:1,frameRateMultiplier:0,tickRate:0},n=Object.keys(i).reduce((function(t,e){return t[e]=r.getAttribute("ttp:"+e)||i[e],t}),{}),a="preserve"!==r.getAttribute("xml:space"),s=ma(va(r,"styling","style")),l=ma(va(r,"layout","region")),u=va(r,"body","[begin]");return[].map.call(u,(function(t){var r=pa(t,a);if(!r||!t.hasAttribute("begin"))return null;var i=Ea(t.getAttribute("begin"),n),u=Ea(t.getAttribute("dur"),n),h=Ea(t.getAttribute("end"),n);if(null===i)throw Ta(t);if(null===h){if(null===u)throw Ta(t);h=i+u}var d=new zn(i-e,h-e,r);d.id=la(d.startTime,d.endTime,d.text);var c=function(t,e,r){var i="http://www.w3.org/ns/ttml#styling",n=null,a=["displayAlign","textAlign","color","backgroundColor","fontSize","fontFamily"],s=null!=t&&t.hasAttribute("style")?t.getAttribute("style"):null;return s&&r.hasOwnProperty(s)&&(n=r[s]),a.reduce((function(r,a){var s=ya(e,i,a)||ya(t,i,a)||ya(n,i,a);return s&&(r[a]=s),r}),{})}(l[t.getAttribute("region")],s[t.getAttribute("style")],s),f=c.textAlign;if(f){var g=fa[f];g&&(d.lineAlign=g),d.align=f}return o(d,c),d})).filter((function(t){return null!==t}))}(t,d))}))}catch(t){i(t)}}else i(new Error("Could not parse IMSC1 mdat"))}function va(t,e,r){var i=t.getElementsByTagName(e)[0];return i?[].slice.call(i.querySelectorAll(r)):[]}function ma(t){return t.reduce((function(t,e){var r=e.getAttribute("xml:id");return r&&(t[r]=e),t}),{})}function pa(t,e){return[].slice.call(t.childNodes).reduce((function(t,r,i){var n;return"br"===r.nodeName&&i?t+"\n":null!=(n=r.childNodes)&&n.length?pa(r,e):e?t+r.textContent.trim().replace(/\s+/g," "):t+r.textContent}),"")}function ya(t,e,r){return t&&t.hasAttributeNS(e,r)?t.getAttributeNS(e,r):null}function Ta(t){return new Error("Could not parse ttml timestamp "+t)}function Ea(t,e){if(!t)return null;var r=$n(t);return null===r&&(da.test(t)?r=function(t,e){var r=da.exec(t),i=(0|r[4])+(0|r[5])/e.subFrameRate;return 3600*(0|r[1])+60*(0|r[2])+(0|r[3])+i/e.frameRate}(t,e):ca.test(t)&&(r=function(t,e){var r=ca.exec(t),i=Number(r[1]);switch(r[2]){case"h":return 3600*i;case"m":return 60*i;case"ms":return 1e3*i;case"f":return i/e.frameRate;case"t":return i/e.tickRate}return i}(t,e))),r}var Sa=function(){function t(t){if(this.hls=void 0,this.media=null,this.config=void 0,this.enabled=!0,this.Cues=void 0,this.textTracks=[],this.tracks=[],this.initPTS=[],this.unparsedVttFrags=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.cea608Parser1=void 0,this.cea608Parser2=void 0,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs={ccOffset:0,presentationOffset:0,0:{start:0,prevCC:-1,new:!0}},this.captionsProperties=void 0,this.hls=t,this.config=t.config,this.Cues=t.config.cueHandler,this.captionsProperties={textTrack1:{label:this.config.captionsTextTrack1Label,languageCode:this.config.captionsTextTrack1LanguageCode},textTrack2:{label:this.config.captionsTextTrack2Label,languageCode:this.config.captionsTextTrack2LanguageCode},textTrack3:{label:this.config.captionsTextTrack3Label,languageCode:this.config.captionsTextTrack3LanguageCode},textTrack4:{label:this.config.captionsTextTrack4Label,languageCode:this.config.captionsTextTrack4LanguageCode}},this.config.enableCEA708Captions){var e=new Xn(this,"textTrack1"),r=new Xn(this,"textTrack2"),i=new Xn(this,"textTrack3"),n=new Xn(this,"textTrack4");this.cea608Parser1=new Wn(1,e,r),this.cea608Parser2=new Wn(3,i,n)}t.on(S.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(S.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(S.MANIFEST_LOADING,this.onManifestLoading,this),t.on(S.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(S.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.on(S.FRAG_LOADING,this.onFragLoading,this),t.on(S.FRAG_LOADED,this.onFragLoaded,this),t.on(S.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.on(S.FRAG_DECRYPTED,this.onFragDecrypted,this),t.on(S.INIT_PTS_FOUND,this.onInitPtsFound,this),t.on(S.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.on(S.BUFFER_FLUSHING,this.onBufferFlushing,this)}var e=t.prototype;return e.destroy=function(){var t=this.hls;t.off(S.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(S.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(S.MANIFEST_LOADING,this.onManifestLoading,this),t.off(S.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(S.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.off(S.FRAG_LOADING,this.onFragLoading,this),t.off(S.FRAG_LOADED,this.onFragLoaded,this),t.off(S.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.off(S.FRAG_DECRYPTED,this.onFragDecrypted,this),t.off(S.INIT_PTS_FOUND,this.onInitPtsFound,this),t.off(S.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.off(S.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=this.cea608Parser1=this.cea608Parser2=null},e.addCues=function(t,e,r,i,n){for(var a,s,o,l,u=!1,h=n.length;h--;){var d=n[h],c=(a=d[0],s=d[1],o=e,l=r,Math.min(s,l)-Math.max(a,o));if(c>=0&&(d[0]=Math.min(d[0],e),d[1]=Math.max(d[1],r),u=!0,c/(r-e)>.5))return}if(u||n.push([e,r]),this.config.renderTextTracksNatively){var f=this.captionsTracks[t];this.Cues.newCue(f,e,r,i)}else{var g=this.Cues.newCue(null,e,r,i);this.hls.trigger(S.CUES_PARSED,{type:"captions",cues:g,track:t})}},e.onInitPtsFound=function(t,e){var r=this,i=e.frag,n=e.id,a=e.initPTS,s=e.timescale,o=this.unparsedVttFrags;"main"===n&&(this.initPTS[i.cc]={baseTime:a,timescale:s}),o.length&&(this.unparsedVttFrags=[],o.forEach((function(t){r.onFragLoaded(S.FRAG_LOADED,t)})))},e.getExistingTrack=function(t){var e=this.media;if(e)for(var r=0;r<e.textTracks.length;r++){var i=e.textTracks[r];if(i[t])return i}return null},e.createCaptionsTrack=function(t){this.config.renderTextTracksNatively?this.createNativeTrack(t):this.createNonNativeTrack(t)},e.createNativeTrack=function(t){if(!this.captionsTracks[t]){var e=this.captionsProperties,r=this.captionsTracks,i=this.media,n=e[t],a=n.label,s=n.languageCode,o=this.getExistingTrack(t);if(o)r[t]=o,Le(r[t]),Ee(r[t],i);else{var l=this.createTextTrack("captions",a,s);l&&(l[t]=!0,r[t]=l)}}},e.createNonNativeTrack=function(t){if(!this.nonNativeCaptionsTracks[t]){var e=this.captionsProperties[t];if(e){var r={_id:t,label:e.label,kind:"captions",default:!!e.media&&!!e.media.default,closedCaptions:e.media};this.nonNativeCaptionsTracks[t]=r,this.hls.trigger(S.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:[r]})}}},e.createTextTrack=function(t,e,r){var i=this.media;if(i)return i.addTextTrack(t,e,r)},e.onMediaAttaching=function(t,e){this.media=e.media,this._cleanTracks()},e.onMediaDetaching=function(){var t=this.captionsTracks;Object.keys(t).forEach((function(e){Le(t[e]),delete t[e]})),this.nonNativeCaptionsTracks={}},e.onManifestLoading=function(){this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs={ccOffset:0,presentationOffset:0,0:{start:0,prevCC:-1,new:!0}},this._cleanTracks(),this.tracks=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.textTracks=[],this.unparsedVttFrags=[],this.initPTS=[],this.cea608Parser1&&this.cea608Parser2&&(this.cea608Parser1.reset(),this.cea608Parser2.reset())},e._cleanTracks=function(){var t=this.media;if(t){var e=t.textTracks;if(e)for(var r=0;r<e.length;r++)Le(e[r])}},e.onSubtitleTracksUpdated=function(t,e){var r=this,i=e.subtitleTracks||[],n=i.some((function(t){return t.textCodec===ha}));if(this.config.enableWebVTT||n&&this.config.enableIMSC1){if(Tn(this.tracks,i))return void(this.tracks=i);if(this.textTracks=[],this.tracks=i,this.config.renderTextTracksNatively){var a=this.media?this.media.textTracks:null;this.tracks.forEach((function(t,e){var i;if(a&&e<a.length){for(var n=null,s=0;s<a.length;s++)if(La(a[s],t)){n=a[s];break}n&&(i=n)}if(i)Le(i);else{var o=r._captionsOrSubtitlesFromCharacteristics(t);(i=r.createTextTrack(o,t.name,t.lang))&&(i.mode="disabled")}i&&(i.groupId=t.groupId,r.textTracks.push(i))}))}else if(this.tracks.length){var s=this.tracks.map((function(t){return{label:t.name,kind:t.type.toLowerCase(),default:t.default,subtitleTrack:t}}));this.hls.trigger(S.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:s})}}},e._captionsOrSubtitlesFromCharacteristics=function(t){if(t.attrs.CHARACTERISTICS){var e=/transcribes-spoken-dialog/gi.test(t.attrs.CHARACTERISTICS),r=/describes-music-and-sound/gi.test(t.attrs.CHARACTERISTICS);if(e&&r)return"captions"}return"subtitles"},e.onManifestLoaded=function(t,e){var r=this;this.config.enableCEA708Captions&&e.captions&&e.captions.forEach((function(t){var e=/(?:CC|SERVICE)([1-4])/.exec(t.instreamId);if(e){var i="textTrack"+e[1],n=r.captionsProperties[i];n&&(n.label=t.name,t.lang&&(n.languageCode=t.lang),n.media=t)}}))},e.closedCaptionsForLevel=function(t){var e=this.hls.levels[t.level];return null==e?void 0:e.attrs["CLOSED-CAPTIONS"]},e.onFragLoading=function(t,e){var r=this.cea608Parser1,i=this.cea608Parser2,n=this.lastSn,a=this.lastPartIndex;if(this.enabled&&r&&i&&e.frag.type===ge){var s,o,l=e.frag.sn,u=null!=(s=null==e||null==(o=e.part)?void 0:o.index)?s:-1;l===n+1||l===n&&u===a+1||(r.reset(),i.reset()),this.lastSn=l,this.lastPartIndex=u}},e.onFragLoaded=function(t,e){var r=e.frag,i=e.payload;if(r.type===me)if(i.byteLength){var n=r.decryptdata,a="stats"in e;if(null==n||!n.encrypted||a){var s=this.tracks[r.level],o=this.vttCCs;o[r.cc]||(o[r.cc]={start:r.start,prevCC:this.prevCC,new:!0},this.prevCC=r.cc),s&&s.textCodec===ha?this._parseIMSC1(r,i):this._parseVTTs(e)}}else this.hls.trigger(S.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:r,error:new Error("Empty subtitle payload")})},e._parseIMSC1=function(t,e){var r=this,i=this.hls;ga(e,this.initPTS[t.cc],(function(e){r._appendCues(e,t.level),i.trigger(S.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:t})}),(function(e){w.log("Failed to parse IMSC1: "+e),i.trigger(S.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:t,error:e})}))},e._parseVTTs=function(t){var e,r=this,i=t.frag,n=t.payload,a=this.initPTS,s=this.unparsedVttFrags,o=a.length-1;if(a[i.cc]||-1!==o){var l=this.hls;ua(null!=(e=i.initSegment)&&e.data?xt(i.initSegment.data,new Uint8Array(n)):n,this.initPTS[i.cc],this.vttCCs,i.cc,i.start,(function(t){r._appendCues(t,i.level),l.trigger(S.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:i})}),(function(e){var a="Missing initPTS for VTT MPEGTS"===e.message;a?s.push(t):r._fallbackToIMSC1(i,n),w.log("Failed to parse VTT cue: "+e),a&&o>i.cc||l.trigger(S.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:i,error:e})}))}else s.push(t)},e._fallbackToIMSC1=function(t,e){var r=this,i=this.tracks[t.level];i.textCodec||ga(e,this.initPTS[t.cc],(function(){i.textCodec=ha,r._parseIMSC1(t,e)}),(function(){i.textCodec="wvtt"}))},e._appendCues=function(t,e){var r=this.hls;if(this.config.renderTextTracksNatively){var i=this.textTracks[e];if(!i||"disabled"===i.mode)return;t.forEach((function(t){return Se(i,t)}))}else{var n=this.tracks[e];if(!n)return;var a=n.default?"default":"subtitles"+e;r.trigger(S.CUES_PARSED,{type:"subtitles",cues:t,track:a})}},e.onFragDecrypted=function(t,e){e.frag.type===me&&this.onFragLoaded(S.FRAG_LOADED,e)},e.onSubtitleTracksCleared=function(){this.tracks=[],this.captionsTracks={}},e.onFragParsingUserdata=function(t,e){var r=this.cea608Parser1,i=this.cea608Parser2;if(this.enabled&&r&&i){var n=e.frag,a=e.samples;if(n.type!==ge||"NONE"!==this.closedCaptionsForLevel(n))for(var s=0;s<a.length;s++){var o=a[s].bytes;if(o){var l=this.extractCea608Data(o);r.addData(a[s].pts,l[0]),i.addData(a[s].pts,l[1])}}}},e.onBufferFlushing=function(t,e){var r=e.startOffset,i=e.endOffset,n=e.endOffsetSubtitles,a=e.type,s=this.media;if(s&&!(s.currentTime<i)){if(!a||"video"===a){var o=this.captionsTracks;Object.keys(o).forEach((function(t){return Re(o[t],r,i)}))}if(this.config.renderTextTracksNatively&&0===r&&void 0!==n){var l=this.textTracks;Object.keys(l).forEach((function(t){return Re(l[t],r,n)}))}}},e.extractCea608Data=function(t){for(var e=[[],[]],r=31&t[0],i=2,n=0;n<r;n++){var a=t[i++],s=127&t[i++],o=127&t[i++];if((0!==s||0!==o)&&0!=(4&a)){var l=3&a;0!==l&&1!==l||(e[l].push(s),e[l].push(o))}}return e},t}();function La(t,e){return!!t&&t.label===e.name&&!(t.textTrack1||t.textTrack2)}var Ra=function(){function t(t){this.hls=void 0,this.autoLevelCapping=void 0,this.firstLevel=void 0,this.media=void 0,this.restrictedLevels=void 0,this.timer=void 0,this.clientRect=void 0,this.streamController=void 0,this.hls=t,this.autoLevelCapping=Number.POSITIVE_INFINITY,this.firstLevel=-1,this.media=null,this.restrictedLevels=[],this.timer=void 0,this.clientRect=null,this.registerListeners()}var e=t.prototype;return e.setStreamController=function(t){this.streamController=t},e.destroy=function(){this.unregisterListener(),this.hls.config.capLevelToPlayerSize&&this.stopCapping(),this.media=null,this.clientRect=null,this.hls=this.streamController=null},e.registerListeners=function(){var t=this.hls;t.on(S.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),t.on(S.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(S.MANIFEST_PARSED,this.onManifestParsed,this),t.on(S.BUFFER_CODECS,this.onBufferCodecs,this),t.on(S.MEDIA_DETACHING,this.onMediaDetaching,this)},e.unregisterListener=function(){var t=this.hls;t.off(S.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),t.off(S.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(S.MANIFEST_PARSED,this.onManifestParsed,this),t.off(S.BUFFER_CODECS,this.onBufferCodecs,this),t.off(S.MEDIA_DETACHING,this.onMediaDetaching,this)},e.onFpsDropLevelCapping=function(t,e){var r=this.hls.levels[e.droppedLevel];this.isLevelAllowed(r)&&this.restrictedLevels.push({bitrate:r.bitrate,height:r.height,width:r.width})},e.onMediaAttaching=function(t,e){this.media=e.media instanceof HTMLVideoElement?e.media:null,this.clientRect=null},e.onManifestParsed=function(t,e){var r=this.hls;this.restrictedLevels=[],this.firstLevel=e.firstLevel,r.config.capLevelToPlayerSize&&e.video&&this.startCapping()},e.onBufferCodecs=function(t,e){this.hls.config.capLevelToPlayerSize&&e.video&&this.startCapping()},e.onMediaDetaching=function(){this.stopCapping()},e.detectPlayerSize=function(){if(this.media&&this.mediaHeight>0&&this.mediaWidth>0){var t=this.hls.levels;if(t.length){var e=this.hls;e.autoLevelCapping=this.getMaxLevel(t.length-1),e.autoLevelCapping>this.autoLevelCapping&&this.streamController&&this.streamController.nextLevelSwitch(),this.autoLevelCapping=e.autoLevelCapping}}},e.getMaxLevel=function(e){var r=this,i=this.hls.levels;if(!i.length)return-1;var n=i.filter((function(t,i){return r.isLevelAllowed(t)&&i<=e}));return this.clientRect=null,t.getMaxLevelByMediaSize(n,this.mediaWidth,this.mediaHeight)},e.startCapping=function(){this.timer||(this.autoLevelCapping=Number.POSITIVE_INFINITY,this.hls.firstLevel=this.getMaxLevel(this.firstLevel),self.clearInterval(this.timer),this.timer=self.setInterval(this.detectPlayerSize.bind(this),1e3),this.detectPlayerSize())},e.stopCapping=function(){this.restrictedLevels=[],this.firstLevel=-1,this.autoLevelCapping=Number.POSITIVE_INFINITY,this.timer&&(self.clearInterval(this.timer),this.timer=void 0)},e.getDimensions=function(){if(this.clientRect)return this.clientRect;var t=this.media,e={width:0,height:0};if(t){var r=t.getBoundingClientRect();e.width=r.width,e.height=r.height,e.width||e.height||(e.width=r.right-r.left||t.width||0,e.height=r.bottom-r.top||t.height||0)}return this.clientRect=e,e},e.isLevelAllowed=function(t){return!this.restrictedLevels.some((function(e){return t.bitrate===e.bitrate&&t.width===e.width&&t.height===e.height}))},t.getMaxLevelByMediaSize=function(t,e,r){if(null==t||!t.length)return-1;for(var i,n,a=t.length-1,s=0;s<t.length;s+=1){var o=t[s];if((o.width>=e||o.height>=r)&&(i=o,!(n=t[s+1])||i.width!==n.width||i.height!==n.height)){a=s;break}}return a},a(t,[{key:"mediaWidth",get:function(){return this.getDimensions().width*this.contentScaleFactor}},{key:"mediaHeight",get:function(){return this.getDimensions().height*this.contentScaleFactor}},{key:"contentScaleFactor",get:function(){var t=1;if(!this.hls.config.ignoreDevicePixelRatio)try{t=self.devicePixelRatio}catch(t){}return t}}]),t}(),Aa=function(){function t(t){this.hls=void 0,this.isVideoPlaybackQualityAvailable=!1,this.timer=void 0,this.media=null,this.lastTime=void 0,this.lastDroppedFrames=0,this.lastDecodedFrames=0,this.streamController=void 0,this.hls=t,this.registerListeners()}var e=t.prototype;return e.setStreamController=function(t){this.streamController=t},e.registerListeners=function(){this.hls.on(S.MEDIA_ATTACHING,this.onMediaAttaching,this)},e.unregisterListeners=function(){this.hls.off(S.MEDIA_ATTACHING,this.onMediaAttaching,this)},e.destroy=function(){this.timer&&clearInterval(this.timer),this.unregisterListeners(),this.isVideoPlaybackQualityAvailable=!1,this.media=null},e.onMediaAttaching=function(t,e){var r=this.hls.config;if(r.capLevelOnFPSDrop){var i=e.media instanceof self.HTMLVideoElement?e.media:null;this.media=i,i&&"function"==typeof i.getVideoPlaybackQuality&&(this.isVideoPlaybackQualityAvailable=!0),self.clearInterval(this.timer),this.timer=self.setInterval(this.checkFPSInterval.bind(this),r.fpsDroppedMonitoringPeriod)}},e.checkFPS=function(t,e,r){var i=performance.now();if(e){if(this.lastTime){var n=i-this.lastTime,a=r-this.lastDroppedFrames,s=e-this.lastDecodedFrames,o=1e3*a/n,l=this.hls;if(l.trigger(S.FPS_DROP,{currentDropped:a,currentDecoded:s,totalDroppedFrames:r}),o>0&&a>l.config.fpsDroppedMonitoringThreshold*s){var u=l.currentLevel;w.warn("drop FPS ratio greater than max allowed value for currentLevel: "+u),u>0&&(-1===l.autoLevelCapping||l.autoLevelCapping>=u)&&(u-=1,l.trigger(S.FPS_DROP_LEVEL_CAPPING,{level:u,droppedLevel:l.currentLevel}),l.autoLevelCapping=u,this.streamController.nextLevelSwitch())}}this.lastTime=i,this.lastDroppedFrames=r,this.lastDecodedFrames=e}},e.checkFPSInterval=function(){var t=this.media;if(t)if(this.isVideoPlaybackQualityAvailable){var e=t.getVideoPlaybackQuality();this.checkFPS(t,e.totalVideoFrames,e.droppedVideoFrames)}else this.checkFPS(t,t.webkitDecodedFrameCount,t.webkitDroppedFrameCount)},t}(),ka="[eme]",ba=function(){function t(e){this.hls=void 0,this.config=void 0,this.media=null,this.keyFormatPromise=null,this.keySystemAccessPromises={},this._requestLicenseFailureCount=0,this.mediaKeySessions=[],this.keyIdToKeySessionPromise={},this.setMediaKeysQueue=t.CDMCleanupPromise?[t.CDMCleanupPromise]:[],this.onMediaEncrypted=this._onMediaEncrypted.bind(this),this.onWaitingForKey=this._onWaitingForKey.bind(this),this.debug=w.debug.bind(w,ka),this.log=w.log.bind(w,ka),this.warn=w.warn.bind(w,ka),this.error=w.error.bind(w,ka),this.hls=e,this.config=e.config,this.registerListeners()}var e=t.prototype;return e.destroy=function(){this.unregisterListeners(),this.onMediaDetached();var t=this.config;t.requestMediaKeySystemAccessFunc=null,t.licenseXhrSetup=t.licenseResponseCallback=void 0,t.drmSystems=t.drmSystemOptions={},this.hls=this.onMediaEncrypted=this.onWaitingForKey=this.keyIdToKeySessionPromise=null,this.config=null},e.registerListeners=function(){this.hls.on(S.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.on(S.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.on(S.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.on(S.MANIFEST_LOADED,this.onManifestLoaded,this)},e.unregisterListeners=function(){this.hls.off(S.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.off(S.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.off(S.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.off(S.MANIFEST_LOADED,this.onManifestLoaded,this)},e.getLicenseServerUrl=function(t){var e=this.config,r=e.drmSystems,i=e.widevineLicenseUrl,n=r[t];if(n)return n.licenseUrl;if(t===j.WIDEVINE&&i)return i;throw new Error('no license server URL configured for key-system "'+t+'"')},e.getServerCertificateUrl=function(t){var e=this.config.drmSystems[t];if(e)return e.serverCertificateUrl;this.log('No Server Certificate in config.drmSystems["'+t+'"]')},e.attemptKeySystemAccess=function(t){var e=this,r=this.hls.levels,i=function(t,e,r){return!!t&&r.indexOf(t)===e},n=r.map((function(t){return t.audioCodec})).filter(i),a=r.map((function(t){return t.videoCodec})).filter(i);return n.length+a.length===0&&a.push("avc1.42e01e"),new Promise((function(r,i){!function t(s){var o=s.shift();e.getMediaKeysPromise(o,n,a).then((function(t){return r({keySystem:o,mediaKeys:t})})).catch((function(e){s.length?t(s):i(e instanceof Da?e:new Da({type:L.KEY_SYSTEM_ERROR,details:R.KEY_SYSTEM_NO_ACCESS,error:e,fatal:!0},e.message))}))}(t)}))},e.requestMediaKeySystemAccess=function(t,e){var r=this.config.requestMediaKeySystemAccessFunc;if("function"!=typeof r){var i="Configured requestMediaKeySystemAccess is not a function "+r;return null===et&&"http:"===self.location.protocol&&(i="navigator.requestMediaKeySystemAccess is not available over insecure protocol "+location.protocol),Promise.reject(new Error(i))}return r(t,e)},e.getMediaKeysPromise=function(t,e,r){var i=this,n=function(t,e,r,i){var n;switch(t){case j.FAIRPLAY:n=["cenc","sinf"];break;case j.WIDEVINE:case j.PLAYREADY:n=["cenc"];break;case j.CLEARKEY:n=["cenc","keyids"];break;default:throw new Error("Unknown key-system: "+t)}return function(t,e,r,i){return[{initDataTypes:t,persistentState:i.persistentState||"not-allowed",distinctiveIdentifier:i.distinctiveIdentifier||"not-allowed",sessionTypes:i.sessionTypes||[i.sessionType||"temporary"],audioCapabilities:e.map((function(t){return{contentType:'audio/mp4; codecs="'+t+'"',robustness:i.audioRobustness||"",encryptionScheme:i.audioEncryptionScheme||null}})),videoCapabilities:r.map((function(t){return{contentType:'video/mp4; codecs="'+t+'"',robustness:i.videoRobustness||"",encryptionScheme:i.videoEncryptionScheme||null}}))}]}(n,e,r,i)}(t,e,r,this.config.drmSystemOptions),a=this.keySystemAccessPromises[t],s=null==a?void 0:a.keySystemAccess;if(!s){this.log('Requesting encrypted media "'+t+'" key-system access with config: '+JSON.stringify(n)),s=this.requestMediaKeySystemAccess(t,n);var o=this.keySystemAccessPromises[t]={keySystemAccess:s};return s.catch((function(e){i.log('Failed to obtain access to key-system "'+t+'": '+e)})),s.then((function(e){i.log('Access for key-system "'+e.keySystem+'" obtained');var r=i.fetchServerCertificate(t);return i.log('Create media-keys for "'+t+'"'),o.mediaKeys=e.createMediaKeys().then((function(e){return i.log('Media-keys created for "'+t+'"'),r.then((function(r){return r?i.setMediaKeysServerCertificate(e,t,r):e}))})),o.mediaKeys.catch((function(e){i.error('Failed to create media-keys for "'+t+'"}: '+e)})),o.mediaKeys}))}return s.then((function(){return a.mediaKeys}))},e.createMediaKeySessionContext=function(t){var e=t.decryptdata,r=t.keySystem,i=t.mediaKeys;this.log('Creating key-system session "'+r+'" keyId: '+Tt(e.keyId||[]));var n=i.createSession(),a={decryptdata:e,keySystem:r,mediaKeys:i,mediaKeysSession:n,keyStatus:"status-pending"};return this.mediaKeySessions.push(a),a},e.renewKeySession=function(t){var e=t.decryptdata;if(e.pssh){var r=this.createMediaKeySessionContext(t),i=this.getKeyIdString(e);this.keyIdToKeySessionPromise[i]=this.generateRequestWithPreferredKeySession(r,"cenc",e.pssh,"expired")}else this.warn("Could not renew expired session. Missing pssh initData.");this.removeSession(t)},e.getKeyIdString=function(t){if(!t)throw new Error("Could not read keyId of undefined decryptdata");if(null===t.keyId)throw new Error("keyId is null");return Tt(t.keyId)},e.updateKeySession=function(t,e){var r,i=t.mediaKeysSession;return this.log('Updating key-session "'+i.sessionId+'" for keyID '+Tt((null==(r=t.decryptdata)?void 0:r.keyId)||[])+"\n } (data length: "+(e?e.byteLength:e)+")"),i.update(e)},e.selectKeySystemFormat=function(t){var e=Object.keys(t.levelkeys||{});return this.keyFormatPromise||(this.log("Selecting key-system from fragment (sn: "+t.sn+" "+t.type+": "+t.level+") key formats "+e.join(", ")),this.keyFormatPromise=this.getKeyFormatPromise(e)),this.keyFormatPromise},e.getKeyFormatPromise=function(t){var e=this;return new Promise((function(r,i){var n=tt(e.config),a=t.map($).filter((function(t){return!!t&&-1!==n.indexOf(t)}));return e.getKeySystemSelectionPromise(a).then((function(t){var e=t.keySystem,n=Z(e);n?r(n):i(new Error('Unable to find format for key-system "'+e+'"'))})).catch(i)}))},e.loadKey=function(t){var e=this,r=t.keyInfo.decryptdata,i=this.getKeyIdString(r),n="(keyId: "+i+' format: "'+r.keyFormat+'" method: '+r.method+" uri: "+r.uri+")";this.log("Starting session for key "+n);var a=this.keyIdToKeySessionPromise[i];return a||(a=this.keyIdToKeySessionPromise[i]=this.getKeySystemForKeyPromise(r).then((function(i){var a=i.keySystem,s=i.mediaKeys;return e.throwIfDestroyed(),e.log("Handle encrypted media sn: "+t.frag.sn+" "+t.frag.type+": "+t.frag.level+" using key "+n),e.attemptSetMediaKeys(a,s).then((function(){e.throwIfDestroyed();var t=e.createMediaKeySessionContext({keySystem:a,mediaKeys:s,decryptdata:r});return e.generateRequestWithPreferredKeySession(t,"cenc",r.pssh,"playlist-key")}))}))).catch((function(t){return e.handleError(t)})),a},e.throwIfDestroyed=function(t){if(!this.hls)throw new Error("invalid state")},e.handleError=function(t){this.hls&&(this.error(t.message),t instanceof Da?this.hls.trigger(S.ERROR,t.data):this.hls.trigger(S.ERROR,{type:L.KEY_SYSTEM_ERROR,details:R.KEY_SYSTEM_NO_KEYS,error:t,fatal:!0}))},e.getKeySystemForKeyPromise=function(t){var e=this.getKeyIdString(t),r=this.keyIdToKeySessionPromise[e];if(!r){var i=$(t.keyFormat),n=i?[i]:tt(this.config);return this.attemptKeySystemAccess(n)}return r},e.getKeySystemSelectionPromise=function(t){if(t.length||(t=tt(this.config)),0===t.length)throw new Da({type:L.KEY_SYSTEM_ERROR,details:R.KEY_SYSTEM_NO_CONFIGURED_LICENSE,fatal:!0},"Missing key-system license configuration options "+JSON.stringify({drmSystems:this.config.drmSystems}));return this.attemptKeySystemAccess(t)},e._onMediaEncrypted=function(t){var e=this,r=t.initDataType,i=t.initData;if(this.debug('"'+t.type+'" event: init data type: "'+r+'"'),null!==i){var n,a;if("sinf"===r&&this.config.drmSystems[j.FAIRPLAY]){var s=Rt(new Uint8Array(i));try{var o=V(JSON.parse(s).sinf),l=_t(new Uint8Array(o));if(!l)return;n=l.subarray(8,24),a=j.FAIRPLAY}catch(t){return void this.warn('Failed to parse sinf "encrypted" event message initData')}}else{var u=function(t){if(!(t instanceof ArrayBuffer)||t.byteLength<32)return null;var e={version:0,systemId:"",kids:null,data:null},r=new DataView(t),i=r.getUint32(0);if(t.byteLength!==i&&i>44)return null;if(1886614376!==r.getUint32(4))return null;if(e.version=r.getUint32(8)>>>24,e.version>1)return null;e.systemId=Tt(new Uint8Array(t,12,16));var n=r.getUint32(28);if(0===e.version){if(i-32<n)return null;e.data=new Uint8Array(t,32,n)}else if(1===e.version){e.kids=[];for(var a=0;a<n;a++)e.kids.push(new Uint8Array(t,32+16*a,16))}return e}(i);if(null===u)return;0===u.version&&u.systemId===J&&u.data&&(n=u.data.subarray(8,24)),a=function(t){if(t===J)return j.WIDEVINE}(u.systemId)}if(a&&n){for(var h=Tt(n),d=this.keyIdToKeySessionPromise,c=this.mediaKeySessions,f=d[h],g=function(){var t=c[v],a=t.decryptdata;if(a.pssh||!a.keyId)return"continue";var s=Tt(a.keyId);return h===s||-1!==a.uri.replace(/-/g,"").indexOf(h)?(f=d[s],delete d[s],a.pssh=new Uint8Array(i),a.keyId=n,f=d[h]=f.then((function(){return e.generateRequestWithPreferredKeySession(t,r,i,"encrypted-event-key-match")})),"break"):void 0},v=0;v<c.length;v++){var m=g();if("continue"!==m&&"break"===m)break}f||(f=d[h]=this.getKeySystemSelectionPromise([a]).then((function(t){var a,s=t.keySystem,o=t.mediaKeys;e.throwIfDestroyed();var l=new Gt("ISO-23001-7",h,null!=(a=Z(s))?a:"");return l.pssh=new Uint8Array(i),l.keyId=n,e.attemptSetMediaKeys(s,o).then((function(){e.throwIfDestroyed();var t=e.createMediaKeySessionContext({decryptdata:l,keySystem:s,mediaKeys:o});return e.generateRequestWithPreferredKeySession(t,r,i,"encrypted-event-no-match")}))}))),f.catch((function(t){return e.handleError(t)}))}}},e._onWaitingForKey=function(t){this.log('"'+t.type+'" event')},e.attemptSetMediaKeys=function(t,e){var r=this,i=this.setMediaKeysQueue.slice();this.log('Setting media-keys for "'+t+'"');var n=Promise.all(i).then((function(){if(!r.media)throw new Error("Attempted to set mediaKeys without media element attached");return r.media.setMediaKeys(e)}));return this.setMediaKeysQueue.push(n),n.then((function(){r.log('Media-keys set for "'+t+'"'),i.push(n),r.setMediaKeysQueue=r.setMediaKeysQueue.filter((function(t){return-1===i.indexOf(t)}))}))},e.generateRequestWithPreferredKeySession=function(t,e,r,i){var n,a,s=this,o=null==(n=this.config.drmSystems)||null==(a=n[t.keySystem])?void 0:a.generateRequest;if(o)try{var l=o.call(this.hls,e,r,t);if(!l)throw new Error("Invalid response from configured generateRequest filter");e=l.initDataType,r=t.decryptdata.pssh=l.initData?new Uint8Array(l.initData):null}catch(t){var u;if(this.warn(t.message),null!=(u=this.hls)&&u.config.debug)throw t}if(null===r)return this.log('Skipping key-session request for "'+i+'" (no initData)'),Promise.resolve(t);var h=this.getKeyIdString(t.decryptdata);this.log('Generating key-session request for "'+i+'": '+h+" (init data type: "+e+" length: "+(r?r.byteLength:null)+")");var d=new an;t.mediaKeysSession.onmessage=function(e){var r=t.mediaKeysSession;if(r){var i=e.messageType,n=e.message;s.log('"'+i+'" message event for session "'+r.sessionId+'" message size: '+n.byteLength),"license-request"===i||"license-renewal"===i?s.renewLicense(t,n).catch((function(t){s.handleError(t),d.emit("error",t)})):"license-release"===i?t.keySystem===j.FAIRPLAY&&(s.updateKeySession(t,W("acknowledged")),s.removeSession(t)):s.warn('unhandled media key message type "'+i+'"')}else d.emit("error",new Error("invalid state"))},t.mediaKeysSession.onkeystatuseschange=function(e){if(t.mediaKeysSession){s.onKeyStatusChange(t);var r=t.keyStatus;d.emit("keyStatus",r),"expired"===r&&(s.warn(t.keySystem+" expired for key "+h),s.renewKeySession(t))}else d.emit("error",new Error("invalid state"))};var c=new Promise((function(t,e){d.on("error",e),d.on("keyStatus",(function(r){r.startsWith("usable")?t():"output-restricted"===r?e(new Da({type:L.KEY_SYSTEM_ERROR,details:R.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED,fatal:!1},"HDCP level output restricted")):"internal-error"===r?e(new Da({type:L.KEY_SYSTEM_ERROR,details:R.KEY_SYSTEM_STATUS_INTERNAL_ERROR,fatal:!0},'key status changed to "'+r+'"')):"expired"===r?e(new Error("key expired while generating request")):s.warn('unhandled key status change "'+r+'"')}))}));return t.mediaKeysSession.generateRequest(e,r).then((function(){var e;s.log('Request generated for key-session "'+(null==(e=t.mediaKeysSession)?void 0:e.sessionId)+'" keyId: '+h)})).catch((function(t){throw new Da({type:L.KEY_SYSTEM_ERROR,details:R.KEY_SYSTEM_NO_SESSION,error:t,fatal:!1},"Error generating key-session request: "+t)})).then((function(){return c})).catch((function(e){throw d.removeAllListeners(),s.removeSession(t),e})).then((function(){return d.removeAllListeners(),t}))},e.onKeyStatusChange=function(t){var e=this;t.mediaKeysSession.keyStatuses.forEach((function(r,i){e.log('key status change "'+r+'" for keyStatuses keyId: '+Tt("buffer"in i?new Uint8Array(i.buffer,i.byteOffset,i.byteLength):new Uint8Array(i))+" session keyId: "+Tt(new Uint8Array(t.decryptdata.keyId||[]))+" uri: "+t.decryptdata.uri),t.keyStatus=r}))},e.fetchServerCertificate=function(t){var e=this.config,r=new(0,e.loader)(e),n=this.getServerCertificateUrl(t);return n?(this.log('Fetching serverCertificate for "'+t+'"'),new Promise((function(a,s){var o={responseType:"arraybuffer",url:n},l=e.certLoadPolicy.default,u={loadPolicy:l,timeout:l.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},h={onSuccess:function(t,e,r,i){a(t.data)},onError:function(e,r,a,l){s(new Da({type:L.KEY_SYSTEM_ERROR,details:R.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:a,response:i({url:o.url,data:void 0},e)},'"'+t+'" certificate request failed ('+n+"). Status: "+e.code+" ("+e.text+")"))},onTimeout:function(e,r,i){s(new Da({type:L.KEY_SYSTEM_ERROR,details:R.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:i,response:{url:o.url,data:void 0}},'"'+t+'" certificate request timed out ('+n+")"))},onAbort:function(t,e,r){s(new Error("aborted"))}};r.load(o,u,h)}))):Promise.resolve()},e.setMediaKeysServerCertificate=function(t,e,r){var i=this;return new Promise((function(n,a){t.setServerCertificate(r).then((function(a){i.log("setServerCertificate "+(a?"success":"not supported by CDM")+" ("+(null==r?void 0:r.byteLength)+') on "'+e+'"'),n(t)})).catch((function(t){a(new Da({type:L.KEY_SYSTEM_ERROR,details:R.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED,error:t,fatal:!0},t.message))}))}))},e.renewLicense=function(t,e){var r=this;return this.requestLicense(t,new Uint8Array(e)).then((function(e){return r.updateKeySession(t,new Uint8Array(e)).catch((function(t){throw new Da({type:L.KEY_SYSTEM_ERROR,details:R.KEY_SYSTEM_SESSION_UPDATE_FAILED,error:t,fatal:!0},t.message)}))}))},e.setupLicenseXHR=function(t,e,r,i){var n=this,a=this.config.licenseXhrSetup;return a?Promise.resolve().then((function(){if(!r.decryptdata)throw new Error("Key removed");return a.call(n.hls,t,e,r,i)})).catch((function(s){if(!r.decryptdata)throw s;return t.open("POST",e,!0),a.call(n.hls,t,e,r,i)})).then((function(r){return t.readyState||t.open("POST",e,!0),{xhr:t,licenseChallenge:r||i}})):(t.open("POST",e,!0),Promise.resolve({xhr:t,licenseChallenge:i}))},e.requestLicense=function(t,e){var r=this,i=this.config.keyLoadPolicy.default;return new Promise((function(n,a){var s=r.getLicenseServerUrl(t.keySystem);r.log("Sending license request to URL: "+s);var o=new XMLHttpRequest;o.responseType="arraybuffer",o.onreadystatechange=function(){if(!r.hls||!t.mediaKeysSession)return a(new Error("invalid state"));if(4===o.readyState)if(200===o.status){r._requestLicenseFailureCount=0;var l=o.response;r.log("License received "+(l instanceof ArrayBuffer?l.byteLength:l));var u=r.config.licenseResponseCallback;if(u)try{l=u.call(r.hls,o,s,t)}catch(t){r.error(t)}n(l)}else{var h=i.errorRetry,d=h?h.maxNumRetry:0;if(r._requestLicenseFailureCount++,r._requestLicenseFailureCount>d||o.status>=400&&o.status<500)a(new Da({type:L.KEY_SYSTEM_ERROR,details:R.KEY_SYSTEM_LICENSE_REQUEST_FAILED,fatal:!0,networkDetails:o,response:{url:s,data:void 0,code:o.status,text:o.statusText}},"License Request XHR failed ("+s+"). Status: "+o.status+" ("+o.statusText+")"));else{var c=d-r._requestLicenseFailureCount+1;r.warn("Retrying license request, "+c+" attempts left"),r.requestLicense(t,e).then(n,a)}}},t.licenseXhr&&t.licenseXhr.readyState!==XMLHttpRequest.DONE&&t.licenseXhr.abort(),t.licenseXhr=o,r.setupLicenseXHR(o,s,t,e).then((function(t){var e=t.xhr,r=t.licenseChallenge;e.send(r)}))}))},e.onMediaAttached=function(t,e){if(this.config.emeEnabled){var r=e.media;this.media=r,r.addEventListener("encrypted",this.onMediaEncrypted),r.addEventListener("waitingforkey",this.onWaitingForKey)}},e.onMediaDetached=function(){var e=this,r=this.media,i=this.mediaKeySessions;r&&(r.removeEventListener("encrypted",this.onMediaEncrypted),r.removeEventListener("waitingforkey",this.onWaitingForKey),this.media=null),this._requestLicenseFailureCount=0,this.setMediaKeysQueue=[],this.mediaKeySessions=[],this.keyIdToKeySessionPromise={},Gt.clearKeyUriToKeyIdMap();var n=i.length;t.CDMCleanupPromise=Promise.all(i.map((function(t){return e.removeSession(t)})).concat(null==r?void 0:r.setMediaKeys(null).catch((function(t){e.log("Could not clear media keys: "+t+". media.src: "+(null==r?void 0:r.src))})))).then((function(){n&&(e.log("finished closing key sessions and clearing media keys"),i.length=0)})).catch((function(t){e.log("Could not close sessions and clear media keys: "+t+". media.src: "+(null==r?void 0:r.src))}))},e.onManifestLoading=function(){this.keyFormatPromise=null},e.onManifestLoaded=function(t,e){var r=e.sessionKeys;if(r&&this.config.emeEnabled&&!this.keyFormatPromise){var i=r.reduce((function(t,e){return-1===t.indexOf(e.keyFormat)&&t.push(e.keyFormat),t}),[]);this.log("Selecting key-system from session-keys "+i.join(", ")),this.keyFormatPromise=this.getKeyFormatPromise(i)}},e.removeSession=function(t){var e=this,r=t.mediaKeysSession,i=t.licenseXhr;if(r){this.log("Remove licenses and keys and close session "+r.sessionId),r.onmessage=null,r.onkeystatuseschange=null,i&&i.readyState!==XMLHttpRequest.DONE&&i.abort(),t.mediaKeysSession=t.decryptdata=t.licenseXhr=void 0;var n=this.mediaKeySessions.indexOf(t);return n>-1&&this.mediaKeySessions.splice(n,1),r.remove().catch((function(t){e.log("Could not remove session: "+t)})).then((function(){return r.close()})).catch((function(t){e.log("Could not close session: "+t)}))}},t}();ba.CDMCleanupPromise=void 0;var Da=function(t){function e(e,r){var i;return(i=t.call(this,r)||this).data=void 0,e.error||(e.error=new Error(r)),i.data=e,e.err=e.error,i}return l(e,t),e}(f(Error)),Ia="m",wa="a",Ca="v",_a="av",Pa="i",xa="tt",Fa=function(){function t(e){var r=this;this.hls=void 0,this.config=void 0,this.media=void 0,this.sid=void 0,this.cid=void 0,this.useHeaders=!1,this.initialized=!1,this.starved=!1,this.buffering=!0,this.audioBuffer=void 0,this.videoBuffer=void 0,this.onWaiting=function(){r.initialized&&(r.starved=!0),r.buffering=!0},this.onPlaying=function(){r.initialized||(r.initialized=!0),r.buffering=!1},this.applyPlaylistData=function(t){try{r.apply(t,{ot:Ia,su:!r.initialized})}catch(t){w.warn("Could not generate manifest CMCD data.",t)}},this.applyFragmentData=function(t){try{var e=t.frag,i=r.hls.levels[e.level],n=r.getObjectType(e),a={d:1e3*e.duration,ot:n};n!==Ca&&n!==wa&&n!=_a||(a.br=i.bitrate/1e3,a.tb=r.getTopBandwidth(n)/1e3,a.bl=r.getBufferLength(n)),r.apply(t,a)}catch(t){w.warn("Could not generate segment CMCD data.",t)}},this.hls=e;var i=this.config=e.config,n=i.cmcd;null!=n&&(i.pLoader=this.createPlaylistLoader(),i.fLoader=this.createFragmentLoader(),this.sid=n.sessionId||t.uuid(),this.cid=n.contentId,this.useHeaders=!0===n.useHeaders,this.registerListeners())}var e=t.prototype;return e.registerListeners=function(){var t=this.hls;t.on(S.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(S.MEDIA_DETACHED,this.onMediaDetached,this),t.on(S.BUFFER_CREATED,this.onBufferCreated,this)},e.unregisterListeners=function(){var t=this.hls;t.off(S.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(S.MEDIA_DETACHED,this.onMediaDetached,this),t.off(S.BUFFER_CREATED,this.onBufferCreated,this)},e.destroy=function(){this.unregisterListeners(),this.onMediaDetached(),this.hls=this.config=this.audioBuffer=this.videoBuffer=null},e.onMediaAttached=function(t,e){this.media=e.media,this.media.addEventListener("waiting",this.onWaiting),this.media.addEventListener("playing",this.onPlaying)},e.onMediaDetached=function(){this.media&&(this.media.removeEventListener("waiting",this.onWaiting),this.media.removeEventListener("playing",this.onPlaying),this.media=null)},e.onBufferCreated=function(t,e){var r,i;this.audioBuffer=null==(r=e.tracks.audio)?void 0:r.buffer,this.videoBuffer=null==(i=e.tracks.video)?void 0:i.buffer},e.createData=function(){var t;return{v:1,sf:"h",sid:this.sid,cid:this.cid,pr:null==(t=this.media)?void 0:t.playbackRate,mtp:this.hls.bandwidthEstimate/1e3}},e.apply=function(e,r){void 0===r&&(r={}),o(r,this.createData());var i=r.ot===Pa||r.ot===Ca||r.ot===_a;if(this.starved&&i&&(r.bs=!0,r.su=!0,this.starved=!1),null==r.su&&(r.su=this.buffering),this.useHeaders){var n=t.toHeaders(r);if(!Object.keys(n).length)return;e.headers||(e.headers={}),o(e.headers,n)}else{var a=t.toQuery(r);if(!a)return;e.url=t.appendQueryToUri(e.url,a)}},e.getObjectType=function(t){var e=t.type;return"subtitle"===e?xa:"initSegment"===t.sn?Pa:"audio"===e?wa:"main"===e?this.hls.audioTracks.length?Ca:_a:void 0},e.getTopBandwidth=function(t){var e,r=0,i=this.hls;if(t===wa)e=i.audioTracks;else{var n=i.maxAutoLevel,a=n>-1?n+1:i.levels.length;e=i.levels.slice(0,a)}for(var s,o=v(e);!(s=o()).done;){var l=s.value;l.bitrate>r&&(r=l.bitrate)}return r>0?r:NaN},e.getBufferLength=function(t){var e=this.hls.media,r=t===wa?this.audioBuffer:this.videoBuffer;return r&&e?1e3*Ir.bufferInfo(r,e.currentTime,this.config.maxBufferHole).len:NaN},e.createPlaylistLoader=function(){var t=this.config.pLoader,e=this.applyPlaylistData,r=t||this.config.loader;return function(){function t(t){this.loader=void 0,this.loader=new r(t)}var i=t.prototype;return i.destroy=function(){this.loader.destroy()},i.abort=function(){this.loader.abort()},i.load=function(t,r,i){e(t),this.loader.load(t,r,i)},a(t,[{key:"stats",get:function(){return this.loader.stats}},{key:"context",get:function(){return this.loader.context}}]),t}()},e.createFragmentLoader=function(){var t=this.config.fLoader,e=this.applyFragmentData,r=t||this.config.loader;return function(){function t(t){this.loader=void 0,this.loader=new r(t)}var i=t.prototype;return i.destroy=function(){this.loader.destroy()},i.abort=function(){this.loader.abort()},i.load=function(t,r,i){e(t),this.loader.load(t,r,i)},a(t,[{key:"stats",get:function(){return this.loader.stats}},{key:"context",get:function(){return this.loader.context}}]),t}()},t.uuid=function(){var t=URL.createObjectURL(new Blob),e=t.toString();return URL.revokeObjectURL(t),e.slice(e.lastIndexOf("/")+1)},t.serialize=function(t){for(var e,r=[],i=function(t){return!Number.isNaN(t)&&null!=t&&""!==t&&!1!==t},n=function(t){return Math.round(t)},a=function(t){return 100*n(t/100)},s={br:n,d:n,bl:a,dl:a,mtp:a,nor:function(t){return encodeURIComponent(t)},rtp:a,tb:n},o=v(Object.keys(t||{}).sort());!(e=o()).done;){var l=e.value,u=t[l];if(i(u)&&!("v"===l&&1===u||"pr"==l&&1===u)){var h=s[l];h&&(u=h(u));var d=typeof u,c=void 0;c="ot"===l||"sf"===l||"st"===l?l+"="+u:"boolean"===d?l:"number"===d?l+"="+u:l+"="+JSON.stringify(u),r.push(c)}}return r.join(",")},t.toHeaders=function(e){for(var r={},i=["Object","Request","Session","Status"],n=[{},{},{},{}],a={br:0,d:0,ot:0,tb:0,bl:1,dl:1,mtp:1,nor:1,nrr:1,su:1,cid:2,pr:2,sf:2,sid:2,st:2,v:2,bs:3,rtp:3},s=0,o=Object.keys(e);s<o.length;s++){var l=o[s];n[null!=a[l]?a[l]:1][l]=e[l]}for(var u=0;u<n.length;u++){var h=t.serialize(n[u]);h&&(r["CMCD-"+i[u]]=h)}return r},t.toQuery=function(e){return"CMCD="+encodeURIComponent(t.serialize(e))},t.appendQueryToUri=function(t,e){if(!e)return t;var r=t.includes("?")?"&":"?";return""+t+r+e},t}(),Ma=function(){function t(t){this.hls=void 0,this.log=void 0,this.loader=null,this.uri=null,this.pathwayId=".",this.pathwayPriority=null,this.timeToLoad=300,this.reloadTimer=-1,this.updated=0,this.started=!1,this.enabled=!0,this.levels=null,this.audioTracks=null,this.subtitleTracks=null,this.penalizedPathways={},this.hls=t,this.log=w.log.bind(w,"[content-steering]:"),this.registerListeners()}var e=t.prototype;return e.registerListeners=function(){var t=this.hls;t.on(S.MANIFEST_LOADING,this.onManifestLoading,this),t.on(S.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(S.MANIFEST_PARSED,this.onManifestParsed,this),t.on(S.ERROR,this.onError,this)},e.unregisterListeners=function(){var t=this.hls;t&&(t.off(S.MANIFEST_LOADING,this.onManifestLoading,this),t.off(S.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(S.MANIFEST_PARSED,this.onManifestParsed,this),t.off(S.ERROR,this.onError,this))},e.startLoad=function(){if(this.started=!0,self.clearTimeout(this.reloadTimer),this.enabled&&this.uri)if(this.updated){var t=Math.max(1e3*this.timeToLoad-(performance.now()-this.updated),0);this.scheduleRefresh(this.uri,t)}else this.loadSteeringManifest(this.uri)},e.stopLoad=function(){this.started=!1,this.loader&&(this.loader.destroy(),this.loader=null),self.clearTimeout(this.reloadTimer)},e.destroy=function(){this.unregisterListeners(),this.stopLoad(),this.hls=null,this.levels=this.audioTracks=this.subtitleTracks=null},e.removeLevel=function(t){var e=this.levels;e&&(this.levels=e.filter((function(e){return e!==t})))},e.onManifestLoading=function(){this.stopLoad(),this.enabled=!0,this.timeToLoad=300,this.updated=0,this.uri=null,this.pathwayId=".",this.levels=this.audioTracks=this.subtitleTracks=null},e.onManifestLoaded=function(t,e){var r=e.contentSteering;null!==r&&(this.pathwayId=r.pathwayId,this.uri=r.uri,this.started&&this.startLoad())},e.onManifestParsed=function(t,e){this.audioTracks=e.audioTracks,this.subtitleTracks=e.subtitleTracks},e.onError=function(t,e){var r=e.errorAction;if((null==r?void 0:r.action)===ir&&r.flags===sr){var i=this.pathwayPriority,n=this.pathwayId;this.penalizedPathways[n]||(this.penalizedPathways[n]=performance.now()),!i&&this.levels&&(i=this.levels.reduce((function(t,e){return-1===t.indexOf(e.pathwayId)&&t.push(e.pathwayId),t}),[])),i&&i.length>1&&(this.updatePathwayPriority(i),r.resolved=this.pathwayId!==n)}},e.filterParsedLevels=function(t){this.levels=t;var e=this.getLevelsForPathway(this.pathwayId);if(0===e.length){var r=t[0].pathwayId;this.log("No levels found in Pathway "+this.pathwayId+'. Setting initial Pathway to "'+r+'"'),e=this.getLevelsForPathway(r),this.pathwayId=r}return e.length!==t.length?(this.log("Found "+e.length+"/"+t.length+' levels in Pathway "'+this.pathwayId+'"'),e):t},e.getLevelsForPathway=function(t){return null===this.levels?[]:this.levels.filter((function(e){return t===e.pathwayId}))},e.updatePathwayPriority=function(t){var e;this.pathwayPriority=t;var r=this.penalizedPathways,i=performance.now();Object.keys(r).forEach((function(t){i-r[t]>3e5&&delete r[t]}));for(var n=0;n<t.length;n++){var a=t[n];if(!r[a]){if(a===this.pathwayId)return;var s=this.hls.nextLoadLevel,o=this.hls.levels[s];if((e=this.getLevelsForPathway(a)).length>0){this.log('Setting Pathway to "'+a+'"'),this.pathwayId=a,this.hls.trigger(S.LEVELS_UPDATED,{levels:e});var l=this.hls.levels[s];o&&l&&this.levels&&(l.attrs["STABLE-VARIANT-ID"]!==o.attrs["STABLE-VARIANT-ID"]&&l.bitrate!==o.bitrate&&this.log("Unstable Pathways change from bitrate "+o.bitrate+" to "+l.bitrate),this.hls.nextLoadLevel=s);break}}}},e.clonePathways=function(t){var e=this,r=this.levels;if(r){var i={},n={};t.forEach((function(t){var a=t.ID,s=t["BASE-ID"],l=t["URI-REPLACEMENT"];if(!r.some((function(t){return t.pathwayId===a}))){var u=e.getLevelsForPathway(s).map((function(t){var e=o({},t);e.details=void 0,e.url=Na(t.uri,t.attrs["STABLE-VARIANT-ID"],"PER-VARIANT-URIS",l);var r=new P(t.attrs);r["PATHWAY-ID"]=a;var s=r.AUDIO&&r.AUDIO+"_clone_"+a,u=r.SUBTITLES&&r.SUBTITLES+"_clone_"+a;s&&(i[r.AUDIO]=s,r.AUDIO=s),u&&(n[r.SUBTITLES]=u,r.SUBTITLES=u),e.attrs=r;var h=new Ne(e);return dr(h,"audio",s),dr(h,"text",u),h}));r.push.apply(r,u),Oa(e.audioTracks,i,l,a),Oa(e.subtitleTracks,n,l,a)}}))}},e.loadSteeringManifest=function(t){var e,r=this,i=this.hls.config,n=i.loader;this.loader&&this.loader.destroy(),this.loader=new n(i);try{e=new self.URL(t)}catch(e){return this.enabled=!1,void this.log("Failed to parse Steering Manifest URI: "+t)}if("data:"!==e.protocol){var a=0|(this.hls.bandwidthEstimate||i.abrEwmaDefaultEstimate);e.searchParams.set("_HLS_pathway",this.pathwayId),e.searchParams.set("_HLS_throughput",""+a)}var s={responseType:"json",url:e.href},o=i.steeringManifestLoadPolicy.default,l=o.errorRetry||o.timeoutRetry||{},u={loadPolicy:o,timeout:o.maxLoadTimeMs,maxRetry:l.maxNumRetry||0,retryDelay:l.retryDelayMs||0,maxRetryDelay:l.maxRetryDelayMs||0},h={onSuccess:function(t,i,n,a){r.log('Loaded steering manifest: "'+e+'"');var s=t.data;if(1===s.VERSION){r.updated=performance.now(),r.timeToLoad=s.TTL;var o=s["RELOAD-URI"],l=s["PATHWAY-CLONES"],u=s["PATHWAY-PRIORITY"];if(o)try{r.uri=new self.URL(o,e).href}catch(t){return r.enabled=!1,void r.log("Failed to parse Steering Manifest RELOAD-URI: "+o)}r.scheduleRefresh(r.uri||n.url),l&&r.clonePathways(l),u&&r.updatePathwayPriority(u)}else r.log("Steering VERSION "+s.VERSION+" not supported!")},onError:function(t,e,i,n){if(r.log("Error loading steering manifest: "+t.code+" "+t.text+" ("+e.url+")"),r.stopLoad(),410===t.code)return r.enabled=!1,void r.log("Steering manifest "+e.url+" no longer available");var a=1e3*r.timeToLoad;if(429!==t.code)r.scheduleRefresh(r.uri||e.url,a);else{var s=r.loader;if("function"==typeof(null==s?void 0:s.getResponseHeader)){var o=s.getResponseHeader("Retry-After");o&&(a=1e3*parseFloat(o))}r.log("Steering manifest "+e.url+" rate limited")}},onTimeout:function(t,e,i){r.log("Timeout loading steering manifest ("+e.url+")"),r.scheduleRefresh(r.uri||e.url)}};this.log("Requesting steering manifest: "+e),this.loader.load(s,u,h)},e.scheduleRefresh=function(t,e){var r=this;void 0===e&&(e=1e3*this.timeToLoad),self.clearTimeout(this.reloadTimer),this.reloadTimer=self.setTimeout((function(){r.loadSteeringManifest(t)}),e)},t}();function Oa(t,e,r,i){t&&Object.keys(e).forEach((function(n){var a=t.filter((function(t){return t.groupId===n})).map((function(t){var a=o({},t);return a.details=void 0,a.attrs=new P(a.attrs),a.url=a.attrs.URI=Na(t.url,t.attrs["STABLE-RENDITION-ID"],"PER-RENDITION-URIS",r),a.groupId=a.attrs["GROUP-ID"]=e[n],a.attrs["PATHWAY-ID"]=i,a}));t.push.apply(t,a)}))}function Na(t,e,r,i){var n,a=i.HOST,s=i.PARAMS,o=i[r];e&&(n=null==o?void 0:o[e])&&(t=n);var l=new self.URL(t);return a&&!n&&(l.host=a),s&&Object.keys(s).sort().forEach((function(t){t&&l.searchParams.set(t,s[t])})),l.href}var Ua=/^age:\s*[\d.]+\s*$/im,Ba=function(){function t(t){this.xhrSetup=void 0,this.requestTimeout=void 0,this.retryTimeout=void 0,this.retryDelay=void 0,this.config=null,this.callbacks=null,this.context=void 0,this.loader=null,this.stats=void 0,this.xhrSetup=t&&t.xhrSetup||null,this.stats=new M,this.retryDelay=0}var e=t.prototype;return e.destroy=function(){this.callbacks=null,this.abortInternal(),this.loader=null,this.config=null},e.abortInternal=function(){var t=this.loader;self.clearTimeout(this.requestTimeout),self.clearTimeout(this.retryTimeout),t&&(t.onreadystatechange=null,t.onprogress=null,4!==t.readyState&&(this.stats.aborted=!0,t.abort()))},e.abort=function(){var t;this.abortInternal(),null!=(t=this.callbacks)&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.loader)},e.load=function(t,e,r){if(this.stats.loading.start)throw new Error("Loader can only be used once.");this.stats.loading.start=self.performance.now(),this.context=t,this.config=e,this.callbacks=r,this.loadInternal()},e.loadInternal=function(){var t=this,e=this.config,r=this.context;if(e){var i=this.loader=new self.XMLHttpRequest,n=this.stats;n.loading.first=0,n.loaded=0,n.aborted=!1;var a=this.xhrSetup;a?Promise.resolve().then((function(){if(!t.stats.aborted)return a(i,r.url)})).catch((function(t){return i.open("GET",r.url,!0),a(i,r.url)})).then((function(){t.stats.aborted||t.openAndSendXhr(i,r,e)})).catch((function(e){t.callbacks.onError({code:i.status,text:e.message},r,i,n)})):this.openAndSendXhr(i,r,e)}},e.openAndSendXhr=function(t,e,r){t.readyState||t.open("GET",e.url,!0);var i=this.context.headers,n=r.loadPolicy,a=n.maxTimeToFirstByteMs,s=n.maxLoadTimeMs;if(i)for(var o in i)t.setRequestHeader(o,i[o]);e.rangeEnd&&t.setRequestHeader("Range","bytes="+e.rangeStart+"-"+(e.rangeEnd-1)),t.onreadystatechange=this.readystatechange.bind(this),t.onprogress=this.loadprogress.bind(this),t.responseType=e.responseType,self.clearTimeout(this.requestTimeout),r.timeout=a&&E(a)?a:s,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),r.timeout),t.send()},e.readystatechange=function(){var t=this.context,e=this.loader,r=this.stats;if(t&&e){var i=e.readyState,n=this.config;if(!r.aborted&&i>=2&&(0===r.loading.first&&(r.loading.first=Math.max(self.performance.now(),r.loading.start),n.timeout!==n.loadPolicy.maxLoadTimeMs&&(self.clearTimeout(this.requestTimeout),n.timeout=n.loadPolicy.maxLoadTimeMs,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),n.loadPolicy.maxLoadTimeMs-(r.loading.first-r.loading.start)))),4===i)){self.clearTimeout(this.requestTimeout),e.onreadystatechange=null,e.onprogress=null;var a=e.status,s="text"!==e.responseType;if(a>=200&&a<300&&(s&&e.response||null!==e.responseText)){r.loading.end=Math.max(self.performance.now(),r.loading.first);var o=s?e.response:e.responseText,l="arraybuffer"===e.responseType?o.byteLength:o.length;if(r.loaded=r.total=l,r.bwEstimate=8e3*r.total/(r.loading.end-r.loading.first),!this.callbacks)return;var u=this.callbacks.onProgress;if(u&&u(r,t,o,e),!this.callbacks)return;var h={url:e.responseURL,data:o,code:a};this.callbacks.onSuccess(h,r,t,e)}else{var d=n.loadPolicy.errorRetry;ze(d,r.retry,!1,a)?this.retry(d):(w.error(a+" while loading "+t.url),this.callbacks.onError({code:a,text:e.statusText},t,e,r))}}}},e.loadtimeout=function(){var t,e=null==(t=this.config)?void 0:t.loadPolicy.timeoutRetry;if(ze(e,this.stats.retry,!0))this.retry(e);else{w.warn("timeout while loading "+this.context.url);var r=this.callbacks;r&&(this.abortInternal(),r.onTimeout(this.stats,this.context,this.loader))}},e.retry=function(t){var e=this.context,r=this.stats;this.retryDelay=qe(t,r.retry),r.retry++,w.warn((status?"HTTP Status "+status:"Timeout")+" while loading "+e.url+", retrying "+r.retry+"/"+t.maxNumRetry+" in "+this.retryDelay+"ms"),this.abortInternal(),this.loader=null,self.clearTimeout(this.retryTimeout),this.retryTimeout=self.setTimeout(this.loadInternal.bind(this),this.retryDelay)},e.loadprogress=function(t){var e=this.stats;e.loaded=t.loaded,t.lengthComputable&&(e.total=t.total)},e.getCacheAge=function(){var t=null;if(this.loader&&Ua.test(this.loader.getAllResponseHeaders())){var e=this.loader.getResponseHeader("age");t=e?parseFloat(e):null}return t},e.getResponseHeader=function(t){return this.loader&&new RegExp("^"+t+":\\s*[\\d.]+\\s*$","im").test(this.loader.getAllResponseHeaders())?this.loader.getResponseHeader(t):null},t}(),Ga=/(\d+)-(\d+)\/(\d+)/,Ka=function(){function t(t){this.fetchSetup=void 0,this.requestTimeout=void 0,this.request=void 0,this.response=void 0,this.controller=void 0,this.context=void 0,this.config=null,this.callbacks=null,this.stats=void 0,this.loader=null,this.fetchSetup=t.fetchSetup||Ha,this.controller=new self.AbortController,this.stats=new M}var e=t.prototype;return e.destroy=function(){this.loader=this.callbacks=null,this.abortInternal()},e.abortInternal=function(){var t=this.response;null!=t&&t.ok||(this.stats.aborted=!0,this.controller.abort())},e.abort=function(){var t;this.abortInternal(),null!=(t=this.callbacks)&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.response)},e.load=function(t,e,r){var i=this,n=this.stats;if(n.loading.start)throw new Error("Loader can only be used once.");n.loading.start=self.performance.now();var a=function(t,e){var r={method:"GET",mode:"cors",credentials:"same-origin",signal:e,headers:new self.Headers(o({},t.headers))};return t.rangeEnd&&r.headers.set("Range","bytes="+t.rangeStart+"-"+String(t.rangeEnd-1)),r}(t,this.controller.signal),s=r.onProgress,l="arraybuffer"===t.responseType,u=l?"byteLength":"length",h=e.loadPolicy,d=h.maxTimeToFirstByteMs,c=h.maxLoadTimeMs;this.context=t,this.config=e,this.callbacks=r,this.request=this.fetchSetup(t,a),self.clearTimeout(this.requestTimeout),e.timeout=d&&E(d)?d:c,this.requestTimeout=self.setTimeout((function(){i.abortInternal(),r.onTimeout(n,t,i.response)}),e.timeout),self.fetch(this.request).then((function(a){i.response=i.loader=a;var o=Math.max(self.performance.now(),n.loading.start);if(self.clearTimeout(i.requestTimeout),e.timeout=c,i.requestTimeout=self.setTimeout((function(){i.abortInternal(),r.onTimeout(n,t,i.response)}),c-(o-n.loading.start)),!a.ok){var u=a.status,h=a.statusText;throw new Va(h||"fetch, bad network response",u,a)}return n.loading.first=o,n.total=function(t){var e=t.get("Content-Range");if(e){var r=function(t){var e=Ga.exec(t);if(e)return parseInt(e[2])-parseInt(e[1])+1}(e);if(E(r))return r}var i=t.get("Content-Length");if(i)return parseInt(i)}(a.headers)||n.total,s&&E(e.highWaterMark)?i.loadProgressively(a,n,t,e.highWaterMark,s):l?a.arrayBuffer():"json"===t.responseType?a.json():a.text()})).then((function(a){var o=i.response;self.clearTimeout(i.requestTimeout),n.loading.end=Math.max(self.performance.now(),n.loading.first);var l=a[u];l&&(n.loaded=n.total=l);var h={url:o.url,data:a,code:o.status};s&&!E(e.highWaterMark)&&s(n,t,a,o),r.onSuccess(h,n,t,o)})).catch((function(e){if(self.clearTimeout(i.requestTimeout),!n.aborted){var a=e&&e.code||0,s=e?e.message:null;r.onError({code:a,text:s},t,e?e.details:null,n)}}))},e.getCacheAge=function(){var t=null;if(this.response){var e=this.response.headers.get("age");t=e?parseFloat(e):null}return t},e.getResponseHeader=function(t){return this.response?this.response.headers.get(t):null},e.loadProgressively=function(t,e,r,i,n){void 0===i&&(i=0);var a=new mn,s=t.body.getReader();return function o(){return s.read().then((function(s){if(s.done)return a.dataLength&&n(e,r,a.flush(),t),Promise.resolve(new ArrayBuffer(0));var l=s.value,u=l.length;return e.loaded+=u,u<i||a.dataLength?(a.push(l),a.dataLength>=i&&n(e,r,a.flush(),t)):n(e,r,l,t),o()})).catch((function(){return Promise.reject()}))}()},t}();function Ha(t,e){return new self.Request(t.url,e)}var Va=function(t){function e(e,r,i){var n;return(n=t.call(this,e)||this).code=void 0,n.details=void 0,n.code=r,n.details=i,n}return l(e,t),e}(f(Error)),Ya=/\s/,Wa=i(i({autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,ignoreDevicePixelRatio:!1,initialLiveManifestSize:1,maxBufferLength:30,backBufferLength:1/0,maxBufferSize:6e7,maxBufferHole:.1,highBufferWatchdogPeriod:2,nudgeOffset:.1,nudgeMaxRetry:3,maxFragLookUpTolerance:.25,liveSyncDurationCount:3,liveMaxLatencyDurationCount:1/0,liveSyncDuration:void 0,liveMaxLatencyDuration:void 0,maxLiveSyncPlaybackRate:1,liveDurationInfinity:!1,liveBackBufferLength:null,maxMaxBufferLength:600,enableWorker:!0,workerPath:null,enableSoftwareAES:!0,startLevel:void 0,startFragPrefetch:!1,fpsDroppedMonitoringPeriod:5e3,fpsDroppedMonitoringThreshold:.2,appendErrorMaxRetry:3,loader:Ba,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:vn,bufferController:In,capLevelController:Ra,errorController:lr,fpsController:Aa,stretchShortVideoTrack:!1,maxAudioFramesDrift:1,forceKeyFrameOnDiscontinuity:!0,abrEwmaFastLive:3,abrEwmaSlowLive:9,abrEwmaFastVoD:3,abrEwmaSlowVoD:9,abrEwmaDefaultEstimate:5e5,abrBandWidthFactor:.95,abrBandWidthUpFactor:.7,abrMaxWithRealBitrate:!1,maxStarvationDelay:4,maxLoadingDelay:4,minAutoBitrate:0,emeEnabled:!1,widevineLicenseUrl:void 0,drmSystems:{},drmSystemOptions:{},requestMediaKeySystemAccessFunc:et,testBandwidth:!0,progressive:!1,lowLatencyMode:!0,cmcd:void 0,enableDateRangeMetadataCues:!0,enableEmsgMetadataCues:!0,enableID3MetadataCues:!0,certLoadPolicy:{default:{maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null}},keyLoadPolicy:{default:{maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"},errorRetry:{maxNumRetry:8,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"}}},manifestLoadPolicy:{default:{maxTimeToFirstByteMs:1/0,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},playlistLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:2,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},fragLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:12e4,timeoutRetry:{maxNumRetry:4,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:6,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},steeringManifestLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},manifestLoadingTimeOut:1e4,manifestLoadingMaxRetry:1,manifestLoadingRetryDelay:1e3,manifestLoadingMaxRetryTimeout:64e3,levelLoadingTimeOut:1e4,levelLoadingMaxRetry:4,levelLoadingRetryDelay:1e3,levelLoadingMaxRetryTimeout:64e3,fragLoadingTimeOut:2e4,fragLoadingMaxRetry:6,fragLoadingRetryDelay:1e3,fragLoadingMaxRetryTimeout:64e3},{cueHandler:{newCue:function(t,e,r,i){for(var n,a,s,o,l,u=[],h=self.VTTCue||self.TextTrackCue,d=0;d<i.rows.length;d++)if(s=!0,o=0,l="",!(n=i.rows[d]).isEmpty()){for(var c,f=0;f<n.chars.length;f++)Ya.test(n.chars[f].uchar)&&s?o++:(l+=n.chars[f].uchar,s=!1);n.cueStartTime=e,e===r&&(r+=1e-4),o>=16?o--:o++;var g=ia(l.trim()),v=la(e,r,g);null!=t&&null!=(c=t.cues)&&c.getCueById(v)||((a=new h(e,r,g)).id=v,a.line=d+1,a.align="left",a.position=10+Math.min(80,10*Math.floor(8*o/32)),u.push(a))}return t&&u.length&&(u.sort((function(t,e){return"auto"===t.line||"auto"===e.line?0:t.line>8&&e.line>8?e.line-t.line:t.line-e.line})),u.forEach((function(e){return Se(t,e)}))),u}},enableWebVTT:!0,enableIMSC1:!0,enableCEA708Captions:!0,captionsTextTrack1Label:"English",captionsTextTrack1LanguageCode:"en",captionsTextTrack2Label:"Spanish",captionsTextTrack2LanguageCode:"es",captionsTextTrack3Label:"Unknown CC",captionsTextTrack3LanguageCode:"",captionsTextTrack4Label:"Unknown CC",captionsTextTrack4LanguageCode:"",renderTextTracksNatively:!0}),{},{subtitleStreamController:Sn,subtitleTrackController:Rn,timelineController:Sa,audioStreamController:pn,audioTrackController:yn,emeController:ba,cmcdController:Fa,contentSteeringController:Ma});function ja(t){return t&&"object"==typeof t?Array.isArray(t)?t.map(ja):Object.keys(t).reduce((function(e,r){return e[r]=ja(t[r]),e}),{}):t}function qa(t){var e=t.loader;e!==Ka&&e!==Ba?(w.log("[config]: Custom loader detected, cannot enable progressive streaming"),t.progressive=!1):function(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(t){}return!1}()&&(t.loader=Ka,t.progressive=!0,t.enableSoftwareAES=!0,w.log("[config]: Progressive streaming enabled, using FetchLoader"))}var Xa=function(){function t(e){void 0===e&&(e={}),this.config=void 0,this.userConfig=void 0,this.coreComponents=void 0,this.networkControllers=void 0,this._emitter=new an,this._autoLevelCapping=void 0,this._maxHdcpLevel=null,this.abrController=void 0,this.bufferController=void 0,this.capLevelController=void 0,this.latencyController=void 0,this.levelController=void 0,this.streamController=void 0,this.audioTrackController=void 0,this.subtitleTrackController=void 0,this.emeController=void 0,this.cmcdController=void 0,this._media=null,this.url=null,I(e.debug||!1,"Hls instance");var r=this.config=function(t,e){if((e.liveSyncDurationCount||e.liveMaxLatencyDurationCount)&&(e.liveSyncDuration||e.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");if(void 0!==e.liveMaxLatencyDurationCount&&(void 0===e.liveSyncDurationCount||e.liveMaxLatencyDurationCount<=e.liveSyncDurationCount))throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be greater than "liveSyncDurationCount"');if(void 0!==e.liveMaxLatencyDuration&&(void 0===e.liveSyncDuration||e.liveMaxLatencyDuration<=e.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be greater than "liveSyncDuration"');var r=ja(t),n=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return["manifest","level","frag"].forEach((function(t){var i=("level"===t?"playlist":t)+"LoadPolicy",a=void 0===e[i],s=[];n.forEach((function(n){var o=t+"Loading"+n,l=e[o];if(void 0!==l&&a){s.push(o);var u=r[i].default;switch(e[i]={default:u},n){case"TimeOut":u.maxLoadTimeMs=l,u.maxTimeToFirstByteMs=l;break;case"MaxRetry":u.errorRetry.maxNumRetry=l,u.timeoutRetry.maxNumRetry=l;break;case"RetryDelay":u.errorRetry.retryDelayMs=l,u.timeoutRetry.retryDelayMs=l;break;case"MaxRetryTimeout":u.errorRetry.maxRetryDelayMs=l,u.timeoutRetry.maxRetryDelayMs=l}}})),s.length&&w.warn('hls.js config: "'+s.join('", "')+'" setting(s) are deprecated, use "'+i+'": '+JSON.stringify(e[i]))})),i(i({},r),e)}(t.DefaultConfig,e);this.userConfig=e,this._autoLevelCapping=-1,r.progressive&&qa(r);var n=r.abrController,a=r.bufferController,s=r.capLevelController,o=r.errorController,l=r.fpsController,u=new o(this),h=this.abrController=new n(this),d=this.bufferController=new a(this),c=this.capLevelController=new s(this),f=new l(this),g=new Te(this),v=new Ce(this),m=r.contentSteeringController,p=m?new m(this):null,y=this.levelController=new hr(this,p),T=new pr(this),E=new kr(this.config),L=this.streamController=new cn(this,T,E);c.setStreamController(L),f.setStreamController(L);var R=[g,y,L];p&&R.splice(1,0,p),this.networkControllers=R;var A=[h,d,c,f,v,T];this.audioTrackController=this.createController(r.audioTrackController,R);var k=r.audioStreamController;k&&R.push(new k(this,T,E)),this.subtitleTrackController=this.createController(r.subtitleTrackController,R);var b=r.subtitleStreamController;b&&R.push(new b(this,T,E)),this.createController(r.timelineController,A),E.emeController=this.emeController=this.createController(r.emeController,A),this.cmcdController=this.createController(r.cmcdController,A),this.latencyController=this.createController(_e,A),this.coreComponents=A,R.push(u);var D=u.onErrorOut;"function"==typeof D&&this.on(S.ERROR,D,u)}t.isSupported=function(){return function(){var t=qt();if(!t)return!1;var e=Zr(),r=t&&"function"==typeof t.isTypeSupported&&t.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"'),i=!e||e.prototype&&"function"==typeof e.prototype.appendBuffer&&"function"==typeof e.prototype.remove;return!!r&&!!i}()};var e=t.prototype;return e.createController=function(t,e){if(t){var r=new t(this);return e&&e.push(r),r}return null},e.on=function(t,e,r){void 0===r&&(r=this),this._emitter.on(t,e,r)},e.once=function(t,e,r){void 0===r&&(r=this),this._emitter.once(t,e,r)},e.removeAllListeners=function(t){this._emitter.removeAllListeners(t)},e.off=function(t,e,r,i){void 0===r&&(r=this),this._emitter.off(t,e,r,i)},e.listeners=function(t){return this._emitter.listeners(t)},e.emit=function(t,e,r){return this._emitter.emit(t,e,r)},e.trigger=function(t,e){if(this.config.debug)return this.emit(t,t,e);try{return this.emit(t,t,e)}catch(e){w.error("An internal error happened while handling event "+t+'. Error message: "'+e.message+'". Here is a stacktrace:',e),this.trigger(S.ERROR,{type:L.OTHER_ERROR,details:R.INTERNAL_EXCEPTION,fatal:!1,event:t,error:e})}return!1},e.listenerCount=function(t){return this._emitter.listenerCount(t)},e.destroy=function(){w.log("destroy"),this.trigger(S.DESTROYING,void 0),this.detachMedia(),this.removeAllListeners(),this._autoLevelCapping=-1,this.url=null,this.networkControllers.forEach((function(t){return t.destroy()})),this.networkControllers.length=0,this.coreComponents.forEach((function(t){return t.destroy()})),this.coreComponents.length=0;var t=this.config;t.xhrSetup=t.fetchSetup=void 0,this.userConfig=null},e.attachMedia=function(t){w.log("attachMedia"),this._media=t,this.trigger(S.MEDIA_ATTACHING,{media:t})},e.detachMedia=function(){w.log("detachMedia"),this.trigger(S.MEDIA_DETACHING,void 0),this._media=null},e.loadSource=function(t){this.stopLoad();var e=this.media,r=this.url,i=this.url=T.buildAbsoluteURL(self.location.href,t,{alwaysNormalize:!0});w.log("loadSource:"+i),e&&r&&(r!==i||this.bufferController.hasSourceTypes())&&(this.detachMedia(),this.attachMedia(e)),this.trigger(S.MANIFEST_LOADING,{url:t})},e.startLoad=function(t){void 0===t&&(t=-1),w.log("startLoad("+t+")"),this.networkControllers.forEach((function(e){e.startLoad(t)}))},e.stopLoad=function(){w.log("stopLoad"),this.networkControllers.forEach((function(t){t.stopLoad()}))},e.swapAudioCodec=function(){w.log("swapAudioCodec"),this.streamController.swapAudioCodec()},e.recoverMediaError=function(){w.log("recoverMediaError");var t=this._media;this.detachMedia(),t&&this.attachMedia(t)},e.removeLevel=function(t,e){void 0===e&&(e=0),this.levelController.removeLevel(t,e)},a(t,[{key:"levels",get:function(){var t=this.levelController.levels;return t||[]}},{key:"currentLevel",get:function(){return this.streamController.currentLevel},set:function(t){w.log("set currentLevel:"+t),this.loadLevel=t,this.abrController.clearTimer(),this.streamController.immediateLevelSwitch()}},{key:"nextLevel",get:function(){return this.streamController.nextLevel},set:function(t){w.log("set nextLevel:"+t),this.levelController.manualLevel=t,this.streamController.nextLevelSwitch()}},{key:"loadLevel",get:function(){return this.levelController.level},set:function(t){w.log("set loadLevel:"+t),this.levelController.manualLevel=t}},{key:"nextLoadLevel",get:function(){return this.levelController.nextLoadLevel},set:function(t){this.levelController.nextLoadLevel=t}},{key:"firstLevel",get:function(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)},set:function(t){w.log("set firstLevel:"+t),this.levelController.firstLevel=t}},{key:"startLevel",get:function(){return this.levelController.startLevel},set:function(t){w.log("set startLevel:"+t),-1!==t&&(t=Math.max(t,this.minAutoLevel)),this.levelController.startLevel=t}},{key:"capLevelToPlayerSize",get:function(){return this.config.capLevelToPlayerSize},set:function(t){var e=!!t;e!==this.config.capLevelToPlayerSize&&(e?this.capLevelController.startCapping():(this.capLevelController.stopCapping(),this.autoLevelCapping=-1,this.streamController.nextLevelSwitch()),this.config.capLevelToPlayerSize=e)}},{key:"autoLevelCapping",get:function(){return this._autoLevelCapping},set:function(t){this._autoLevelCapping!==t&&(w.log("set autoLevelCapping:"+t),this._autoLevelCapping=t)}},{key:"bandwidthEstimate",get:function(){var t=this.abrController.bwEstimator;return t?t.getEstimate():NaN}},{key:"ttfbEstimate",get:function(){var t=this.abrController.bwEstimator;return t?t.getEstimateTTFB():NaN}},{key:"maxHdcpLevel",get:function(){return this._maxHdcpLevel},set:function(t){Pe.indexOf(t)>-1&&(this._maxHdcpLevel=t)}},{key:"autoLevelEnabled",get:function(){return-1===this.levelController.manualLevel}},{key:"manualLevel",get:function(){return this.levelController.manualLevel}},{key:"minAutoLevel",get:function(){var t=this.levels,e=this.config.minAutoBitrate;if(!t)return 0;for(var r=t.length,i=0;i<r;i++)if(t[i].maxBitrate>=e)return i;return 0}},{key:"maxAutoLevel",get:function(){var t,e=this.levels,r=this.autoLevelCapping,i=this.maxHdcpLevel;if(t=-1===r&&e&&e.length?e.length-1:r,i)for(var n=t;n--;){var a=e[n].attrs["HDCP-LEVEL"];if(a&&a<=i)return n}return t}},{key:"nextAutoLevel",get:function(){return Math.min(Math.max(this.abrController.nextAutoLevel,this.minAutoLevel),this.maxAutoLevel)},set:function(t){this.abrController.nextAutoLevel=Math.max(this.minAutoLevel,t)}},{key:"playingDate",get:function(){return this.streamController.currentProgramDateTime}},{key:"mainForwardBufferInfo",get:function(){return this.streamController.getMainFwdBufferInfo()}},{key:"audioTracks",get:function(){var t=this.audioTrackController;return t?t.audioTracks:[]}},{key:"audioTrack",get:function(){var t=this.audioTrackController;return t?t.audioTrack:-1},set:function(t){var e=this.audioTrackController;e&&(e.audioTrack=t)}},{key:"subtitleTracks",get:function(){var t=this.subtitleTrackController;return t?t.subtitleTracks:[]}},{key:"subtitleTrack",get:function(){var t=this.subtitleTrackController;return t?t.subtitleTrack:-1},set:function(t){var e=this.subtitleTrackController;e&&(e.subtitleTrack=t)}},{key:"media",get:function(){return this._media}},{key:"subtitleDisplay",get:function(){var t=this.subtitleTrackController;return!!t&&t.subtitleDisplay},set:function(t){var e=this.subtitleTrackController;e&&(e.subtitleDisplay=t)}},{key:"lowLatencyMode",get:function(){return this.config.lowLatencyMode},set:function(t){this.config.lowLatencyMode=t}},{key:"liveSyncPosition",get:function(){return this.latencyController.liveSyncPosition}},{key:"latency",get:function(){return this.latencyController.latency}},{key:"maxLatency",get:function(){return this.latencyController.maxLatency}},{key:"targetLatency",get:function(){return this.latencyController.targetLatency}},{key:"drift",get:function(){return this.latencyController.drift}},{key:"forceStartLoad",get:function(){return this.streamController.forceStartLoad}}],[{key:"version",get:function(){return"1.4.10"}},{key:"Events",get:function(){return S}},{key:"ErrorTypes",get:function(){return L}},{key:"ErrorDetails",get:function(){return R}},{key:"DefaultConfig",get:function(){return t.defaultConfig?t.defaultConfig:Wa},set:function(e){t.defaultConfig=e}}]),t}();return Xa.defaultConfig=void 0,Xa},"object"==typeof exports&&"undefined"!=typeof module?module.exports=i():"function"==typeof define&&define.amd?define(i):(r="undefined"!=typeof globalThis?globalThis:r||self).Hls=i()}(!1);
|