r-262?A-(r-262):0;let f=q;const u=o,p=A+258;let m=l[a+s-1],_=l[a+s];E>=B&&(i>>=2),f>j&&(f=j);do{if(t=e,l[t+s]==_&&l[t+s-1]==m&&l[t]==l[a]&&l[++t]==l[a+1]){a+=2,t++;do{}while(l[++a]==l[++t]&&l[++a]==l[++t]&&l[++a]==l[++t]&&l[++a]==l[++t]&&l[++a]==l[++t]&&l[++a]==l[++t]&&l[++a]==l[++t]&&l[++a]==l[++t]&&as){if(S=e,s=n,n>=f)break;m=l[a+s-1],_=l[a+s]}}}while((e=65535&c[e&u])>d&&0!=--i);return s<=j?s:j}function ue(t){return t.total_in=t.total_out=0,t.msg=null,e.pending=0,e.pending_out=0,n=113,a=0,R.dyn_tree=L,R.stat_desc=w.static_l_desc,V.dyn_tree=D,V.stat_desc=w.static_d_desc,W.dyn_tree=M,W.stat_desc=w.static_bl_desc,Z=0,N=0,G=8,Y(),function(){d=2*r,f[p-1]=0;for(let e=0;e9||8!=d||a<9||a>15||n<0||n>9||x<0||x>2?-2:(t.dstate=e,s=a,r=1<9||n<0||n>2?-2:(v[F].func!=v[t].func&&0!==e.total_in&&(i=e.deflate(1)),F!=t&&(F=t,I=v[F].max_lazy,B=v[F].good_length,q=v[F].nice_length,C=v[F].max_chain),$=n,i)},e.deflateSetDictionary=function(e,t,i){let a,s=i,d=0;if(!t||42!=n)return-2;if(s<3)return 0;for(s>r-262&&(s=r-262,d=i-s),l.set(t.subarray(d,d+s),0),A=s,b=s,u=255&l[0],u=(u<4||m<0)return-2;if(!d.next_out||!d.next_in&&0!==d.avail_in||666==n&&4!=m)return d.msg=g[4],-2;if(0===d.avail_out)return d.msg=g[7],-5;var L;if(t=d,B=a,a=m,42==n&&(y=8+(s-8<<4)<<8,C=(F-1&255)>>1,C>3&&(C=3),y|=C<<6,0!==A&&(y|=32),y+=31-y%31,n=113,Q((L=y)>>8&255),Q(255&L)),0!==e.pending){if(t.flush_pending(),0===t.avail_out)return a=-1,0}else if(0===t.avail_in&&m<=B&&4!=m)return t.msg=g[7],-5;if(666==n&&0!==t.avail_in)return d.msg=g[7],-5;if(0!==t.avail_in||0!==j||0!=m&&666!=n){switch(q=-1,v[F].func){case 0:q=function(e){let n,a=65535;for(a>i-5&&(a=i-5);;){if(j<=1){if(ce(),0===j&&0==e)return 0;if(0===j)break}if(A+=j,j=0,n=b+a,(0===A||A>=n)&&(j=A-n,A=n,de(!1),0===t.avail_out))return 0;if(A-b>=r-262&&(de(!1),0===t.avail_out))return 0}return de(4==e),0===t.avail_out?4==e?2:0:4==e?3:1}(m);break;case 1:q=function(e){let n,i=0;for(;;){if(j<262){if(ce(),j<262&&0==e)return 0;if(0===j)break}if(j>=3&&(u=(u<=3)if(n=ae(A-S,k-3),j-=k,k<=I&&j>=3){k--;do{A++,u=(u<=3&&(u=(u<4096)&&(k=2)),E>=3&&k<=E){i=A+j-3,n=ae(A-1-z,E-3),j-=E-1,E-=2;do{++A<=i&&(u=(u<n&&(a=n),0===a?0:(i.avail_in-=a,e.set(i.next_in.subarray(i.next_in_index,i.next_in_index+a),t),i.next_in_index+=a,i.total_in+=a,a)},flush_pending:function(){const e=this;let t=e.dstate.pending;t>e.avail_out&&(t=e.avail_out),0!==t&&(e.next_out.set(e.dstate.pending_buf.subarray(e.dstate.pending_out,e.dstate.pending_out+t),e.next_out_index),e.next_out_index+=t,e.dstate.pending_out+=t,e.total_out+=t,e.avail_out-=t,e.dstate.pending-=t,0===e.dstate.pending&&(e.dstate.pending_out=0))}};const U=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535],A=[96,7,256,0,8,80,0,8,16,84,8,115,82,7,31,0,8,112,0,8,48,0,9,192,80,7,10,0,8,96,0,8,32,0,9,160,0,8,0,0,8,128,0,8,64,0,9,224,80,7,6,0,8,88,0,8,24,0,9,144,83,7,59,0,8,120,0,8,56,0,9,208,81,7,17,0,8,104,0,8,40,0,9,176,0,8,8,0,8,136,0,8,72,0,9,240,80,7,4,0,8,84,0,8,20,85,8,227,83,7,43,0,8,116,0,8,52,0,9,200,81,7,13,0,8,100,0,8,36,0,9,168,0,8,4,0,8,132,0,8,68,0,9,232,80,7,8,0,8,92,0,8,28,0,9,152,84,7,83,0,8,124,0,8,60,0,9,216,82,7,23,0,8,108,0,8,44,0,9,184,0,8,12,0,8,140,0,8,76,0,9,248,80,7,3,0,8,82,0,8,18,85,8,163,83,7,35,0,8,114,0,8,50,0,9,196,81,7,11,0,8,98,0,8,34,0,9,164,0,8,2,0,8,130,0,8,66,0,9,228,80,7,7,0,8,90,0,8,26,0,9,148,84,7,67,0,8,122,0,8,58,0,9,212,82,7,19,0,8,106,0,8,42,0,9,180,0,8,10,0,8,138,0,8,74,0,9,244,80,7,5,0,8,86,0,8,22,192,8,0,83,7,51,0,8,118,0,8,54,0,9,204,81,7,15,0,8,102,0,8,38,0,9,172,0,8,6,0,8,134,0,8,70,0,9,236,80,7,9,0,8,94,0,8,30,0,9,156,84,7,99,0,8,126,0,8,62,0,9,220,82,7,27,0,8,110,0,8,46,0,9,188,0,8,14,0,8,142,0,8,78,0,9,252,96,7,256,0,8,81,0,8,17,85,8,131,82,7,31,0,8,113,0,8,49,0,9,194,80,7,10,0,8,97,0,8,33,0,9,162,0,8,1,0,8,129,0,8,65,0,9,226,80,7,6,0,8,89,0,8,25,0,9,146,83,7,59,0,8,121,0,8,57,0,9,210,81,7,17,0,8,105,0,8,41,0,9,178,0,8,9,0,8,137,0,8,73,0,9,242,80,7,4,0,8,85,0,8,21,80,8,258,83,7,43,0,8,117,0,8,53,0,9,202,81,7,13,0,8,101,0,8,37,0,9,170,0,8,5,0,8,133,0,8,69,0,9,234,80,7,8,0,8,93,0,8,29,0,9,154,84,7,83,0,8,125,0,8,61,0,9,218,82,7,23,0,8,109,0,8,45,0,9,186,0,8,13,0,8,141,0,8,77,0,9,250,80,7,3,0,8,83,0,8,19,85,8,195,83,7,35,0,8,115,0,8,51,0,9,198,81,7,11,0,8,99,0,8,35,0,9,166,0,8,3,0,8,131,0,8,67,0,9,230,80,7,7,0,8,91,0,8,27,0,9,150,84,7,67,0,8,123,0,8,59,0,9,214,82,7,19,0,8,107,0,8,43,0,9,182,0,8,11,0,8,139,0,8,75,0,9,246,80,7,5,0,8,87,0,8,23,192,8,0,83,7,51,0,8,119,0,8,55,0,9,206,81,7,15,0,8,103,0,8,39,0,9,174,0,8,7,0,8,135,0,8,71,0,9,238,80,7,9,0,8,95,0,8,31,0,9,158,84,7,99,0,8,127,0,8,63,0,9,222,82,7,27,0,8,111,0,8,47,0,9,190,0,8,15,0,8,143,0,8,79,0,9,254,96,7,256,0,8,80,0,8,16,84,8,115,82,7,31,0,8,112,0,8,48,0,9,193,80,7,10,0,8,96,0,8,32,0,9,161,0,8,0,0,8,128,0,8,64,0,9,225,80,7,6,0,8,88,0,8,24,0,9,145,83,7,59,0,8,120,0,8,56,0,9,209,81,7,17,0,8,104,0,8,40,0,9,177,0,8,8,0,8,136,0,8,72,0,9,241,80,7,4,0,8,84,0,8,20,85,8,227,83,7,43,0,8,116,0,8,52,0,9,201,81,7,13,0,8,100,0,8,36,0,9,169,0,8,4,0,8,132,0,8,68,0,9,233,80,7,8,0,8,92,0,8,28,0,9,153,84,7,83,0,8,124,0,8,60,0,9,217,82,7,23,0,8,108,0,8,44,0,9,185,0,8,12,0,8,140,0,8,76,0,9,249,80,7,3,0,8,82,0,8,18,85,8,163,83,7,35,0,8,114,0,8,50,0,9,197,81,7,11,0,8,98,0,8,34,0,9,165,0,8,2,0,8,130,0,8,66,0,9,229,80,7,7,0,8,90,0,8,26,0,9,149,84,7,67,0,8,122,0,8,58,0,9,213,82,7,19,0,8,106,0,8,42,0,9,181,0,8,10,0,8,138,0,8,74,0,9,245,80,7,5,0,8,86,0,8,22,192,8,0,83,7,51,0,8,118,0,8,54,0,9,205,81,7,15,0,8,102,0,8,38,0,9,173,0,8,6,0,8,134,0,8,70,0,9,237,80,7,9,0,8,94,0,8,30,0,9,157,84,7,99,0,8,126,0,8,62,0,9,221,82,7,27,0,8,110,0,8,46,0,9,189,0,8,14,0,8,142,0,8,78,0,9,253,96,7,256,0,8,81,0,8,17,85,8,131,82,7,31,0,8,113,0,8,49,0,9,195,80,7,10,0,8,97,0,8,33,0,9,163,0,8,1,0,8,129,0,8,65,0,9,227,80,7,6,0,8,89,0,8,25,0,9,147,83,7,59,0,8,121,0,8,57,0,9,211,81,7,17,0,8,105,0,8,41,0,9,179,0,8,9,0,8,137,0,8,73,0,9,243,80,7,4,0,8,85,0,8,21,80,8,258,83,7,43,0,8,117,0,8,53,0,9,203,81,7,13,0,8,101,0,8,37,0,9,171,0,8,5,0,8,133,0,8,69,0,9,235,80,7,8,0,8,93,0,8,29,0,9,155,84,7,83,0,8,125,0,8,61,0,9,219,82,7,23,0,8,109,0,8,45,0,9,187,0,8,13,0,8,141,0,8,77,0,9,251,80,7,3,0,8,83,0,8,19,85,8,195,83,7,35,0,8,115,0,8,51,0,9,199,81,7,11,0,8,99,0,8,35,0,9,167,0,8,3,0,8,131,0,8,67,0,9,231,80,7,7,0,8,91,0,8,27,0,9,151,84,7,67,0,8,123,0,8,59,0,9,215,82,7,19,0,8,107,0,8,43,0,9,183,0,8,11,0,8,139,0,8,75,0,9,247,80,7,5,0,8,87,0,8,23,192,8,0,83,7,51,0,8,119,0,8,55,0,9,207,81,7,15,0,8,103,0,8,39,0,9,175,0,8,7,0,8,135,0,8,71,0,9,239,80,7,9,0,8,95,0,8,31,0,9,159,84,7,99,0,8,127,0,8,63,0,9,223,82,7,27,0,8,111,0,8,47,0,9,191,0,8,15,0,8,143,0,8,79,0,9,255],S=[80,5,1,87,5,257,83,5,17,91,5,4097,81,5,5,89,5,1025,85,5,65,93,5,16385,80,5,3,88,5,513,84,5,33,92,5,8193,82,5,9,90,5,2049,86,5,129,192,5,24577,80,5,2,87,5,385,83,5,25,91,5,6145,81,5,7,89,5,1537,85,5,97,93,5,24577,80,5,4,88,5,769,84,5,49,92,5,12289,82,5,13,90,5,3073,86,5,193,192,5,24577],j=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],E=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,112,112],C=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577],I=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13];function F(){let e,t,n,i,a,r;function s(e,t,s,o,l,d,c,f,u,p,m){let _,h,x,w,b,v,g,y,k,z,U,A,S,j,E;z=0,b=s;do{n[e[t+z]]++,z++,b--}while(0!==b);if(n[0]==s)return c[0]=-1,f[0]=0,0;for(y=f[0],v=1;v<=15&&0===n[v];v++);for(g=v,yb&&(y=b),f[0]=y,j=1<A+y;){if(w++,A+=y,E=x-A,E=E>y?y:E,(h=1<<(v=g-A))>_+1&&(h-=_+1,S=g,v1440)return-3;a[w]=U=p[0],p[0]+=E,0!==w?(r[w]=b,i[0]=v,i[1]=y,v=b>>>A-y,i[2]=U-a[w-1]-v,u.set(i,3*(a[w-1]+v))):c[0]=U}for(i[1]=g-A,z>=s?i[0]=192:m[z]>>A;v>>=1)b^=v;for(b^=v,k=(1<257?(-3==p?u.msg="oversubscribed distance tree":-5==p?(u.msg="incomplete distance tree",p=-3):-4!=p&&(u.msg="empty distance tree with lengths",p=-3),p):0)}}F.inflate_trees_fixed=function(e,t,n,i){return e[0]=9,t[0]=5,n[0]=A,i[0]=S,0};function $(){const e=this;let t,n,i,a,r=0,s=0,o=0,l=0,d=0,c=0,f=0,u=0,p=0,m=0;function _(e,t,n,i,a,r,s,o){let l,d,c,f,u,p,m,_,h,x,w,b,v,g,y,k;m=o.next_in_index,_=o.avail_in,u=s.bitb,p=s.bitk,h=s.write,x=h>=d[k+1],p-=d[k+1],0!=(16&f)){for(f&=15,v=d[k+2]+(u&U[f]),u>>=f,p-=f;p<15;)_--,u|=(255&o.read_byte(m++))<>=d[k+1],p-=d[k+1],0!=(16&f)){for(f&=15;p>=f,p-=f,x-=v,h>=g)y=h-g,h-y>0&&2>h-y?(s.window[h++]=s.window[y++],s.window[h++]=s.window[y++],v-=2):(s.window.set(s.window.subarray(y,y+2),h),h+=2,y+=2,v-=2);else{y=h-g;do{y+=s.end}while(y<0);if(f=s.end-y,v>f){if(v-=f,h-y>0&&f>h-y)do{s.window[h++]=s.window[y++]}while(0!=--f);else s.window.set(s.window.subarray(y,y+f),h),h+=f,y+=f,f=0;y=0}}if(h-y>0&&v>h-y)do{s.window[h++]=s.window[y++]}while(0!=--v);else s.window.set(s.window.subarray(y,y+v),h),h+=v,y+=v,v=0;break}if(0!=(64&f))return o.msg="invalid distance code",v=o.avail_in-_,v=p>>3>3:v,_+=v,m-=v,p-=v<<3,s.bitb=u,s.bitk=p,o.avail_in=_,o.total_in+=m-o.next_in_index,o.next_in_index=m,s.write=h,-3;l+=d[k+2],l+=u&U[f],k=3*(c+l),f=d[k]}break}if(0!=(64&f))return 0!=(32&f)?(v=o.avail_in-_,v=p>>3>3:v,_+=v,m-=v,p-=v<<3,s.bitb=u,s.bitk=p,o.avail_in=_,o.total_in+=m-o.next_in_index,o.next_in_index=m,s.write=h,1):(o.msg="invalid literal/length code",v=o.avail_in-_,v=p>>3>3:v,_+=v,m-=v,p-=v<<3,s.bitb=u,s.bitk=p,o.avail_in=_,o.total_in+=m-o.next_in_index,o.next_in_index=m,s.write=h,-3);if(l+=d[k+2],l+=u&U[f],k=3*(c+l),0===(f=d[k])){u>>=d[k+1],p-=d[k+1],s.window[h++]=d[k+2],x--;break}}else u>>=d[k+1],p-=d[k+1],s.window[h++]=d[k+2],x--}while(x>=258&&_>=10);return v=o.avail_in-_,v=p>>3>3:v,_+=v,m-=v,p-=v<<3,s.bitb=u,s.bitk=p,o.avail_in=_,o.total_in+=m-o.next_in_index,o.next_in_index=m,s.write=h,0}e.init=function(e,r,s,o,l,d){t=0,f=e,u=r,i=s,p=o,a=l,m=d,n=null},e.proc=function(e,h,x){let w,b,v,g,y,k,z,A=0,S=0,j=0;for(j=h.next_in_index,g=h.avail_in,A=e.bitb,S=e.bitk,y=e.write,k=y=258&&g>=10&&(e.bitb=A,e.bitk=S,h.avail_in=g,h.total_in+=j-h.next_in_index,h.next_in_index=j,e.write=y,x=_(f,u,i,p,a,m,e,h),j=h.next_in_index,g=h.avail_in,A=e.bitb,S=e.bitk,y=e.write,k=y>>=n[b+1],S-=n[b+1],v=n[b],0===v){l=n[b+2],t=6;break}if(0!=(16&v)){d=15&v,r=n[b+2],t=2;break}if(0==(64&v)){o=v,s=b/3+n[b+2];break}if(0!=(32&v)){t=7;break}return t=9,h.msg="invalid literal/length code",x=-3,e.bitb=A,e.bitk=S,h.avail_in=g,h.total_in+=j-h.next_in_index,h.next_in_index=j,e.write=y,e.inflate_flush(h,x);case 2:for(w=d;S>=w,S-=w,o=u,n=a,s=m,t=3;case 3:for(w=o;S>=n[b+1],S-=n[b+1],v=n[b],0!=(16&v)){d=15&v,c=n[b+2],t=4;break}if(0==(64&v)){o=v,s=b/3+n[b+2];break}return t=9,h.msg="invalid distance code",x=-3,e.bitb=A,e.bitk=S,h.avail_in=g,h.total_in+=j-h.next_in_index,h.next_in_index=j,e.write=y,e.inflate_flush(h,x);case 4:for(w=d;S>=w,S-=w,t=5;case 5:for(z=y-c;z<0;)z+=e.end;for(;0!==r;){if(0===k&&(y==e.end&&0!==e.read&&(y=0,k=y7&&(S-=8,g++,j--),e.write=y,x=e.inflate_flush(h,x),y=e.write,k=ye.avail_out&&(i=e.avail_out),0!==i&&-5==t&&(t=0),e.avail_out-=i,e.total_out+=i,e.next_out.set(n.window.subarray(r,r+i),a),a+=i,r+=i,r==n.end&&(r=0,n.write==n.end&&(n.write=0),i=n.write-r,i>e.avail_out&&(i=e.avail_out),0!==i&&-5==t&&(t=0),e.avail_out-=i,e.total_out+=i,e.next_out.set(n.window.subarray(r,r+i),a),a+=i,r+=i),e.next_out_index=a,n.read=r,t},n.proc=function(e,t){let m,_,h,x,w,b,v,g;for(x=e.next_in_index,w=e.avail_in,_=n.bitb,h=n.bitk,b=n.write,v=b>>1){case 0:_>>>=3,h-=3,m=7&h,_>>>=m,h-=m,a=1;break;case 1:y=[],k=[],z=[[]],A=[[]],F.inflate_trees_fixed(y,k,z,A),c.init(y[0],k[0],z[0],0,A[0],0),_>>>=3,h-=3,a=6;break;case 2:_>>>=3,h-=3,a=3;break;case 3:return _>>>=3,h-=3,a=9,e.msg="invalid block type",t=-3,n.bitb=_,n.bitk=h,e.avail_in=w,e.total_in+=x-e.next_in_index,e.next_in_index=x,n.write=b,n.inflate_flush(e,t)}break;case 1:for(;h<32;){if(0===w)return n.bitb=_,n.bitk=h,e.avail_in=w,e.total_in+=x-e.next_in_index,e.next_in_index=x,n.write=b,n.inflate_flush(e,t);t=0,w--,_|=(255&e.read_byte(x++))<>>16&65535)!=(65535&_))return a=9,e.msg="invalid stored block lengths",t=-3,n.bitb=_,n.bitk=h,e.avail_in=w,e.total_in+=x-e.next_in_index,e.next_in_index=x,n.write=b,n.inflate_flush(e,t);r=65535&_,_=h=0,a=0!==r?2:0!==f?7:0;break;case 2:if(0===w)return n.bitb=_,n.bitk=h,e.avail_in=w,e.total_in+=x-e.next_in_index,e.next_in_index=x,n.write=b,n.inflate_flush(e,t);if(0===v&&(b==n.end&&0!==n.read&&(b=0,v=bw&&(m=w),m>v&&(m=v),n.window.set(e.read_buf(x,m),b),x+=m,w-=m,b+=m,v-=m,0!=(r-=m))break;a=0!==f?7:0;break;case 3:for(;h<14;){if(0===w)return n.bitb=_,n.bitk=h,e.avail_in=w,e.total_in+=x-e.next_in_index,e.next_in_index=x,n.write=b,n.inflate_flush(e,t);t=0,w--,_|=(255&e.read_byte(x++))<29||(m>>5&31)>29)return a=9,e.msg="too many length or distance symbols",t=-3,n.bitb=_,n.bitk=h,e.avail_in=w,e.total_in+=x-e.next_in_index,e.next_in_index=x,n.write=b,n.inflate_flush(e,t);if(m=258+(31&m)+(m>>5&31),!i||i.length>>=14,h-=14,o=0,a=4;case 4:for(;o<4+(s>>>10);){for(;h<3;){if(0===w)return n.bitb=_,n.bitk=h,e.avail_in=w,e.total_in+=x-e.next_in_index,e.next_in_index=x,n.write=b,n.inflate_flush(e,t);t=0,w--,_|=(255&e.read_byte(x++))<>>=3,h-=3}for(;o<19;)i[B[o++]]=0;if(l[0]=7,m=p.inflate_trees_bits(i,l,d,u,e),0!=m)return-3==(t=m)&&(i=null,a=9),n.bitb=_,n.bitk=h,e.avail_in=w,e.total_in+=x-e.next_in_index,e.next_in_index=x,n.write=b,n.inflate_flush(e,t);o=0,a=5;case 5:for(;m=s,!(o>=258+(31&m)+(m>>5&31));){let r,c;for(m=l[0];h>>=m,h-=m,i[o++]=c;else{for(g=18==c?7:c-14,r=18==c?11:3;h>>=m,h-=m,r+=_&U[g],_>>>=g,h-=g,g=o,m=s,g+r>258+(31&m)+(m>>5&31)||16==c&&g<1)return i=null,a=9,e.msg="invalid bit length repeat",t=-3,n.bitb=_,n.bitk=h,e.avail_in=w,e.total_in+=x-e.next_in_index,e.next_in_index=x,n.write=b,n.inflate_flush(e,t);c=16==c?i[g-1]:0;do{i[g++]=c}while(0!=--r);o=g}}if(d[0]=-1,S=[],j=[],E=[],C=[],S[0]=9,j[0]=6,m=s,m=p.inflate_trees_dynamic(257+(31&m),1+(m>>5&31),i,S,j,E,C,u,e),0!=m)return-3==m&&(i=null,a=9),t=m,n.bitb=_,n.bitk=h,e.avail_in=w,e.total_in+=x-e.next_in_index,e.next_in_index=x,n.write=b,n.inflate_flush(e,t);c.init(S[0],j[0],u,E[0],u,C[0]),a=6;case 6:if(n.bitb=_,n.bitk=h,e.avail_in=w,e.total_in+=x-e.next_in_index,e.next_in_index=x,n.write=b,1!=(t=c.proc(n,e,t)))return n.inflate_flush(e,t);if(t=0,c.free(e),x=e.next_in_index,w=e.avail_in,_=n.bitb,h=n.bitk,b=n.write,v=b15?(e.inflateEnd(n),-2):(e.wbits=i,n.istate.blocks=new q(n,1<>4)>a.wbits){a.mode=13,e.msg="invalid window size",a.marker=5;break}a.mode=1;case 1:if(0===e.avail_in)return n;if(n=t,e.avail_in--,e.total_in++,i=255&e.read_byte(e.next_in_index++),((a.method<<8)+i)%31!=0){a.mode=13,e.msg="incorrect header check",a.marker=5;break}if(0==(32&i)){a.mode=7;break}a.mode=2;case 2:if(0===e.avail_in)return n;n=t,e.avail_in--,e.total_in++,a.need=(255&e.read_byte(e.next_in_index++))<<24&4278190080,a.mode=3;case 3:if(0===e.avail_in)return n;n=t,e.avail_in--,e.total_in++,a.need+=(255&e.read_byte(e.next_in_index++))<<16&16711680,a.mode=4;case 4:if(0===e.avail_in)return n;n=t,e.avail_in--,e.total_in++,a.need+=(255&e.read_byte(e.next_in_index++))<<8&65280,a.mode=5;case 5:return 0===e.avail_in?n:(n=t,e.avail_in--,e.total_in++,a.need+=255&e.read_byte(e.next_in_index++),a.mode=6,2);case 6:return a.mode=13,e.msg="need dictionary",a.marker=0,-2;case 7:if(n=a.blocks.proc(e,n),-3==n){a.mode=13,a.marker=0;break}if(0==n&&(n=t),1!=n)return n;n=t,a.blocks.reset(e,a.was),a.mode=12;case 12:return 1;case 13:return-3;default:return-2}},e.inflateSetDictionary=function(e,t,n){let i=0,a=n;if(!e||!e.istate||6!=e.istate.mode)return-2;const r=e.istate;return a>=1<{const e={};for(let t in O)if(O.hasOwnProperty(t))for(let n in O[t])if(O[t].hasOwnProperty(n)){const i=O[t][n];if("string"==typeof i)e[i]=t+"/"+n;else for(let a=0;a{e.onload=e=>t(e.target.result),e.onerror=n,e.readAsText(this.blob,this.encoding)}))}}class G extends P{constructor(e){super(),this.blob=e,this.size=e.size}async readUint8Array(e,t){const n=new FileReader;return new Promise(((i,a)=>{n.onload=e=>i(new Uint8Array(e.target.result)),n.onerror=a,n.readAsArrayBuffer(this.blob.slice(e,e+t))}))}}class Z extends H{constructor(e){super(),this.offset=0,this.contentType=e,this.blob=new Blob([],{type:e})}async writeUint8Array(e){super.writeUint8Array(e),this.blob=new Blob([this.blob,e.buffer],{type:this.contentType}),this.offset=this.blob.size}getData(){return this.blob}}const N="\0☺☻♥♦♣♠•◘○◙♂♀♪♫☼►◄↕‼¶§▬↨↑↓→←∟↔▲▼ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~⌂ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ ".split("");const Y=[];for(let e=0;e<256;e++){let t=e;for(let e=0;e<8;e++)1&t?t=t>>>1^3988292384:t>>>=1;Y[e]=t}class J{constructor(e){this.crc=e||-1}append(e){let t=0|this.crc;for(let n=0,i=0|e.length;n>>8^Y[255&(t^e[n])];this.crc=t}get(){return~this.crc}}const Q={concat(e,t){if(0===e.length||0===t.length)return e.concat(t);const n=e[e.length-1],i=Q.getPartial(n);return 32===i?e.concat(t):Q._shiftRight(t,i,0|n,e.slice(0,e.length-1))},bitLength(e){const t=e.length;if(0===t)return 0;const n=e[t-1];return 32*(t-1)+Q.getPartial(n)},clamp(e,t){if(32*e.length