├── README.md ├── index.html ├── filesaver.min.js └── zip.min.js /README.md: -------------------------------------------------------------------------------- 1 | # browser-bookmarks-to-url-files 2 | 3 | Convert .html bookmark export to an archive of .url files 4 | 5 | Works with Chrome and Firefox ig 6 | 7 |  8 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |>>16-Q,Q+=i-16):(N|=t<=8&&(Z(255&N),N>>>=8,Q-=8);}function at(e,n){let i,a,r;if(t.pending_buf[G+2*K]=e>>>8&255,t.pending_buf[G+2*K+1]=255&e,t.pending_buf[O+K]=255&n,K++,0===e?M[2*n]++:(T++,e--,M[2*(W._length_code[n]+256+1)]++,B[2*W.d_code(e)]++),0==(8191&K)&&z>2){for(i=8*K,a=m-p,r=0;r<30;r++)i+=B[2*r]*(5+W.extra_dbits[r]);if(i>>>=3,T8?$(N):Q>0&&Z(255&N),N=0,Q=0;}function ot(e,n,i){tt(0+(i?1:0),3),function(e,n,i){st(),J=8,i&&($(n),$(~n)),t.pending_buf.set(l.subarray(e,e+n),t.pending),t.pending+=n;}(e,n,!0);}function lt(e,n,i){let a,r,s=0;z>0?(V.build_tree(t),D.build_tree(t),s=function(){let e;for(Y(M,V.max_code),Y(B,D.max_code),j.build_tree(t),e=18;e>=3&&0===H[2*W.bl_order[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(),a=t.opt_len+3+7>>>3,r=t.static_len+3+7>>>3,r<=a&&(a=r)):a=r=n+5,n+4<=a&&-1!=e?ot(e,n,i):r==a?(tt(2+(i?1:0),3),rt(L.static_ltree,L.static_dtree)):(tt(4+(i?1:0),3),function(t,e,n){let i;for(tt(t-257,5),tt(e-1,5),tt(n-4,4),i=0;i =0?p:-1,m-p,t),p=m,e.flush_pending();}function dt(){let t,n,i,a;do{if(a=_-v-m,0===a&&0===m&&0===v)a=r;else if(-1==a)a--;else if(m>=r+r-262){l.set(l.subarray(r,r+r),0),k-=r,m-=r,p-=r,t=u,i=t;do{n=65535&c[--i],c[i]=n>=r?n-r:0;}while(0!=--t);t=r,i=t;do{n=65535&d[--i],d[i]=n>=r?n-r:0;}while(0!=--t);a+=r;}if(0===e.avail_in)return;t=e.read_buf(l,m+v,a),v+=t,v>=3&&(f=255&l[m],f=(f< r-262?m-(r-262):0;let c=C;const f=o,u=m+258;let h=l[a+s-1],b=l[a+s];A>=E&&(i>>=2),c>v&&(c=v);do{if(e=t,l[e+s]==b&&l[e+s-1]==h&&l[e]==l[a]&&l[++e]==l[a+1]){a+=2,e++;do{}while(l[++a]==l[++e]&&l[++a]==l[++e]&&l[++a]==l[++e]&&l[++a]==l[++e]&&l[++a]==l[++e]&&l[++a]==l[++e]&&l[++a]==l[++e]&&l[++a]==l[++e]&&as){if(k=t,s=n,n>=c)break;h=l[a+s-1],b=l[a+s];}}}while((t=65535&d[t&f])>_&&0!=--i);return s<=v?s:v}function ft(e){return e.total_in=e.total_out=0,e.msg=null,t.pending=0,t.pending_out=0,n=113,a=0,V.dyn_tree=M,V.stat_desc=L.static_l_desc,D.dyn_tree=B,D.stat_desc=L.static_d_desc,j.dyn_tree=H,j.stat_desc=L.static_bl_desc,N=0,Q=0,J=8,X(),function(){_=2*r,c[u-1]=0;for(let t=0;t 9||8!=_||a<9||a>15||n<0||n>9||p<0||p>2?-2:(e.dstate=t,s=a,r=1< 9||n<0||n>2?-2:(q[z].func!=q[e].func&&0!==t.total_in&&(i=t.deflate(1)),z!=e&&(z=e,S=q[z].max_lazy,E=q[z].good_length,C=q[z].nice_length,U=q[z].max_chain),I=n,i)},t.deflateSetDictionary=function(t,e,i){let a,s=i,_=0;if(!e||42!=n)return -2;if(s<3)return 0;for(s>r-262&&(s=r-262,_=i-s),l.set(e.subarray(_,_+s),0),m=s,p=s,f=255&l[0],f=(f<4||h<0)return -2;if(!_.next_out||!_.next_in&&0!==_.avail_in||666==n&&4!=h)return _.msg=R[4],-2;if(0===_.avail_out)return _.msg=R[7],-5;var H;if(e=_,M=a,a=h,42==n&&(E=8+(s-8<<4)<<8,C=(z-1&255)>>1,C>3&&(C=3),E|=C<<6,0!==m&&(E|=32),E+=31-E%31,n=113,Z((H=E)>>8&255),Z(255&H)),0!==t.pending){if(e.flush_pending(),0===e.avail_out)return a=-1,0}else if(0===e.avail_in&&h<=M&&4!=h)return e.msg=R[7],-5;if(666==n&&0!==e.avail_in)return _.msg=R[7],-5;if(0!==e.avail_in||0!==v||0!=h&&666!=n){switch(B=-1,q[z].func){case 0:B=function(t){let n,a=65535;for(a>i-5&&(a=i-5);;){if(v<=1){if(dt(),0===v&&0==t)return 0;if(0===v)break}if(m+=v,v=0,n=p+a,(0===m||m>=n)&&(v=m-n,m=n,_t(!1),0===e.avail_out))return 0;if(m-p>=r-262&&(_t(!1),0===e.avail_out))return 0}return _t(4==t),0===e.avail_out?4==t?2:0:4==t?3:1}(h);break;case 1:B=function(t){let n,i=0;for(;;){if(v<262){if(dt(),v<262&&0==t)return 0;if(0===v)break}if(v>=3&&(f=(f< =3)if(n=at(m-k,x-3),v-=x,x<=S&&v>=3){x--;do{m++,f=(f< =3&&(f=(f< 4096)&&(x=2)),A>=3&&x<=A){i=m+v-3,n=at(m-1-g,A-3),v-=A-1,A-=2;do{++m<=i&&(f=(f< 0&&e.next_in_index!=o&&(i(e.next_in_index),o=e.next_in_index);}while(e.avail_in>0||0===e.avail_out);return d.length>1?(s=new Uint8Array(_),d.forEach((function(t){s.set(t,l),l+=t.length;}))):s=d[0]||new Uint8Array(0),s}},this.flush=function(){let t,i,r=0,s=0;const o=[];do{if(e.next_out_index=0,e.avail_out=n,t=e.deflate(4),1!=t&&0!=t)throw new Error("deflating: "+e.msg);n-e.avail_out>0&&o.push(a.slice(0,e.next_out_index)),s+=e.next_out_index;}while(e.avail_in>0||0===e.avail_out);return e.deflateEnd(),i=new Uint8Array(s),o.forEach((function(t){i.set(t,r),r+=t.length;})),i};}N.prototype={deflateInit:function(t,e){const n=this;return n.dstate=new J,e||(e=15),n.dstate.deflateInit(n,t,e)},deflate:function(t){const e=this;return e.dstate?e.dstate.deflate(e,t):-2},deflateEnd:function(){const t=this;if(!t.dstate)return -2;const e=t.dstate.deflateEnd();return t.dstate=null,e},deflateParams:function(t,e){const n=this;return n.dstate?n.dstate.deflateParams(n,t,e):-2},deflateSetDictionary:function(t,e){const n=this;return n.dstate?n.dstate.deflateSetDictionary(n,t,e):-2},read_buf:function(t,e,n){const i=this;let a=i.avail_in;return a>n&&(a=n),0===a?0:(i.avail_in-=a,t.set(i.next_in.subarray(i.next_in_index,i.next_in_index+a),e),i.next_in_index+=a,i.total_in+=a,a)},flush_pending:function(){const t=this;let e=t.dstate.pending;e>t.avail_out&&(e=t.avail_out),0!==e&&(t.next_out.set(t.dstate.pending_buf.subarray(t.dstate.pending_out,t.dstate.pending_out+e),t.next_out_index),t.next_out_index+=e,t.dstate.pending_out+=e,t.total_out+=e,t.avail_out-=e,t.dstate.pending-=e,0===t.dstate.pending&&(t.dstate.pending_out=0));}};const X=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535],Y=[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],Z=[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],$=[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],tt=[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],et=[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],nt=[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 it(){let t,e,n,i,a,r;function s(t,e,s,o,l,_,d,c,f,u,h){let b,w,p,x,g,y,m,k,v,A,U,S,z,I,E;A=0,g=s;do{n[t[e+A]]++,A++,g--;}while(0!==g);if(n[0]==s)return d[0]=-1,c[0]=0,0;for(k=c[0],y=1;y<=15&&0===n[y];y++);for(m=y,k g&&(k=g),c[0]=k,I=1< S+k;){if(x++,S+=k,E=p-S,E=E>k?k:E,(w=1<<(y=m-S))>b+1&&(w-=b+1,z=m,y 1440)return -3;a[x]=U=u[0],u[0]+=E,0!==x?(r[x]=g,i[0]=y,i[1]=k,y=g>>>S-k,i[2]=U-a[x-1]-y,f.set(i,3*(a[x-1]+y))):d[0]=U;}for(i[1]=m-S,A>=s?i[0]=192:h[A] >>S;y >>=1)g^=y;for(g^=y,v=(1< 257?(-3==u?f.msg="oversubscribed distance tree":-5==u?(f.msg="incomplete distance tree",u=-3):-4!=u&&(f.msg="empty distance tree with lengths",u=-3),u):0)};}it.inflate_trees_fixed=function(t,e,n,i){return t[0]=9,e[0]=5,n[0]=Y,i[0]=Z,0};function at(){const t=this;let e,n,i,a,r=0,s=0,o=0,l=0,_=0,d=0,c=0,f=0,u=0,h=0;function b(t,e,n,i,a,r,s,o){let l,_,d,c,f,u,h,b,w,p,x,g,y,m,k,v;h=o.next_in_index,b=o.avail_in,f=s.bitb,u=s.bitk,w=s.write,p=w>=_[v+1],u-=_[v+1],0!=(16&c)){for(c&=15,y=_[v+2]+(f&X[c]),f>>=c,u-=c;u<15;)b--,f|=(255&o.read_byte(h++))<>=_[v+1],u-=_[v+1],0!=(16&c)){for(c&=15;u >=c,u-=c,p-=y,w>=m)k=w-m,w-k>0&&2>w-k?(s.window[w++]=s.window[k++],s.window[w++]=s.window[k++],y-=2):(s.window.set(s.window.subarray(k,k+2),w),w+=2,k+=2,y-=2);else {k=w-m;do{k+=s.end;}while(k<0);if(c=s.end-k,y>c){if(y-=c,w-k>0&&c>w-k)do{s.window[w++]=s.window[k++];}while(0!=--c);else s.window.set(s.window.subarray(k,k+c),w),w+=c,k+=c,c=0;k=0;}}if(w-k>0&&y>w-k)do{s.window[w++]=s.window[k++];}while(0!=--y);else s.window.set(s.window.subarray(k,k+y),w),w+=y,k+=y,y=0;break}if(0!=(64&c))return o.msg="invalid distance code",y=o.avail_in-b,y=u>>3 >3:y,b+=y,h-=y,u-=y<<3,s.bitb=f,s.bitk=u,o.avail_in=b,o.total_in+=h-o.next_in_index,o.next_in_index=h,s.write=w,-3;l+=_[v+2],l+=f&X[c],v=3*(d+l),c=_[v];}break}if(0!=(64&c))return 0!=(32&c)?(y=o.avail_in-b,y=u>>3 >3:y,b+=y,h-=y,u-=y<<3,s.bitb=f,s.bitk=u,o.avail_in=b,o.total_in+=h-o.next_in_index,o.next_in_index=h,s.write=w,1):(o.msg="invalid literal/length code",y=o.avail_in-b,y=u>>3 >3:y,b+=y,h-=y,u-=y<<3,s.bitb=f,s.bitk=u,o.avail_in=b,o.total_in+=h-o.next_in_index,o.next_in_index=h,s.write=w,-3);if(l+=_[v+2],l+=f&X[c],v=3*(d+l),0===(c=_[v])){f>>=_[v+1],u-=_[v+1],s.window[w++]=_[v+2],p--;break}}else f>>=_[v+1],u-=_[v+1],s.window[w++]=_[v+2],p--;}while(p>=258&&b>=10);return y=o.avail_in-b,y=u>>3 >3:y,b+=y,h-=y,u-=y<<3,s.bitb=f,s.bitk=u,o.avail_in=b,o.total_in+=h-o.next_in_index,o.next_in_index=h,s.write=w,0}t.init=function(t,r,s,o,l,_){e=0,c=t,f=r,i=s,u=o,a=l,h=_,n=null;},t.proc=function(t,w,p){let x,g,y,m,k,v,A,U=0,S=0,z=0;for(z=w.next_in_index,m=w.avail_in,U=t.bitb,S=t.bitk,k=t.write,v=k =258&&m>=10&&(t.bitb=U,t.bitk=S,w.avail_in=m,w.total_in+=z-w.next_in_index,w.next_in_index=z,t.write=k,p=b(c,f,i,u,a,h,t,w),z=w.next_in_index,m=w.avail_in,U=t.bitb,S=t.bitk,k=t.write,v=k >>=n[g+1],S-=n[g+1],y=n[g],0===y){l=n[g+2],e=6;break}if(0!=(16&y)){_=15&y,r=n[g+2],e=2;break}if(0==(64&y)){o=y,s=g/3+n[g+2];break}if(0!=(32&y)){e=7;break}return e=9,w.msg="invalid literal/length code",p=-3,t.bitb=U,t.bitk=S,w.avail_in=m,w.total_in+=z-w.next_in_index,w.next_in_index=z,t.write=k,t.inflate_flush(w,p);case 2:for(x=_;S >=x,S-=x,o=f,n=a,s=h,e=3;case 3:for(x=o;S >=n[g+1],S-=n[g+1],y=n[g],0!=(16&y)){_=15&y,d=n[g+2],e=4;break}if(0==(64&y)){o=y,s=g/3+n[g+2];break}return e=9,w.msg="invalid distance code",p=-3,t.bitb=U,t.bitk=S,w.avail_in=m,w.total_in+=z-w.next_in_index,w.next_in_index=z,t.write=k,t.inflate_flush(w,p);case 4:for(x=_;S >=x,S-=x,e=5;case 5:for(A=k-d;A<0;)A+=t.end;for(;0!==r;){if(0===v&&(k==t.end&&0!==t.read&&(k=0,v=k 7&&(S-=8,m++,z--),t.write=k,p=t.inflate_flush(w,p),k=t.write,v=k t.avail_out&&(i=t.avail_out),0!==i&&-5==e&&(e=0),t.avail_out-=i,t.total_out+=i,t.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>t.avail_out&&(i=t.avail_out),0!==i&&-5==e&&(e=0),t.avail_out-=i,t.total_out+=i,t.next_out.set(n.window.subarray(r,r+i),a),a+=i,r+=i),t.next_out_index=a,n.read=r,e},n.proc=function(t,e){let h,b,w,p,x,g,y,m;for(p=t.next_in_index,x=t.avail_in,b=n.bitb,w=n.bitk,g=n.write,y=g >>1){case 0:b>>>=3,w-=3,h=7&w,b>>>=h,w-=h,a=1;break;case 1:k=[],v=[],A=[[]],U=[[]],it.inflate_trees_fixed(k,v,A,U),d.init(k[0],v[0],A[0],0,U[0],0),b>>>=3,w-=3,a=6;break;case 2:b>>>=3,w-=3,a=3;break;case 3:return b>>>=3,w-=3,a=9,t.msg="invalid block type",e=-3,n.bitb=b,n.bitk=w,t.avail_in=x,t.total_in+=p-t.next_in_index,t.next_in_index=p,n.write=g,n.inflate_flush(t,e)}break;case 1:for(;w<32;){if(0===x)return n.bitb=b,n.bitk=w,t.avail_in=x,t.total_in+=p-t.next_in_index,t.next_in_index=p,n.write=g,n.inflate_flush(t,e);e=0,x--,b|=(255&t.read_byte(p++))< >>16&65535)!=(65535&b))return a=9,t.msg="invalid stored block lengths",e=-3,n.bitb=b,n.bitk=w,t.avail_in=x,t.total_in+=p-t.next_in_index,t.next_in_index=p,n.write=g,n.inflate_flush(t,e);r=65535&b,b=w=0,a=0!==r?2:0!==c?7:0;break;case 2:if(0===x)return n.bitb=b,n.bitk=w,t.avail_in=x,t.total_in+=p-t.next_in_index,t.next_in_index=p,n.write=g,n.inflate_flush(t,e);if(0===y&&(g==n.end&&0!==n.read&&(g=0,y=g x&&(h=x),h>y&&(h=y),n.window.set(t.read_buf(p,h),g),p+=h,x-=h,g+=h,y-=h,0!=(r-=h))break;a=0!==c?7:0;break;case 3:for(;w<14;){if(0===x)return n.bitb=b,n.bitk=w,t.avail_in=x,t.total_in+=p-t.next_in_index,t.next_in_index=p,n.write=g,n.inflate_flush(t,e);e=0,x--,b|=(255&t.read_byte(p++))< 29||(h>>5&31)>29)return a=9,t.msg="too many length or distance symbols",e=-3,n.bitb=b,n.bitk=w,t.avail_in=x,t.total_in+=p-t.next_in_index,t.next_in_index=p,n.write=g,n.inflate_flush(t,e);if(h=258+(31&h)+(h>>5&31),!i||i.length >>=14,w-=14,o=0,a=4;case 4:for(;o<4+(s>>>10);){for(;w<3;){if(0===x)return n.bitb=b,n.bitk=w,t.avail_in=x,t.total_in+=p-t.next_in_index,t.next_in_index=p,n.write=g,n.inflate_flush(t,e);e=0,x--,b|=(255&t.read_byte(p++))< >>=3,w-=3;}for(;o<19;)i[rt[o++]]=0;if(l[0]=7,h=u.inflate_trees_bits(i,l,_,f,t),0!=h)return -3==(e=h)&&(i=null,a=9),n.bitb=b,n.bitk=w,t.avail_in=x,t.total_in+=p-t.next_in_index,t.next_in_index=p,n.write=g,n.inflate_flush(t,e);o=0,a=5;case 5:for(;h=s,!(o>=258+(31&h)+(h>>5&31));){let r,d;for(h=l[0];w >>=h,w-=h,i[o++]=d;else {for(m=18==d?7:d-14,r=18==d?11:3;w >>=h,w-=h,r+=b&X[m],b>>>=m,w-=m,m=o,h=s,m+r>258+(31&h)+(h>>5&31)||16==d&&m<1)return i=null,a=9,t.msg="invalid bit length repeat",e=-3,n.bitb=b,n.bitk=w,t.avail_in=x,t.total_in+=p-t.next_in_index,t.next_in_index=p,n.write=g,n.inflate_flush(t,e);d=16==d?i[m-1]:0;do{i[m++]=d;}while(0!=--r);o=m;}}if(_[0]=-1,S=[],z=[],I=[],E=[],S[0]=9,z[0]=6,h=s,h=u.inflate_trees_dynamic(257+(31&h),1+(h>>5&31),i,S,z,I,E,f,t),0!=h)return -3==h&&(i=null,a=9),e=h,n.bitb=b,n.bitk=w,t.avail_in=x,t.total_in+=p-t.next_in_index,t.next_in_index=p,n.write=g,n.inflate_flush(t,e);d.init(S[0],z[0],f,I[0],f,E[0]),a=6;case 6:if(n.bitb=b,n.bitk=w,t.avail_in=x,t.total_in+=p-t.next_in_index,t.next_in_index=p,n.write=g,1!=(e=d.proc(n,t,e)))return n.inflate_flush(t,e);if(e=0,d.free(t),p=t.next_in_index,x=t.avail_in,b=n.bitb,w=n.bitk,g=n.write,y=g 15?(t.inflateEnd(n),-2):(t.wbits=i,n.istate.blocks=new st(n,1<>4)>a.wbits){a.mode=13,t.msg="invalid window size",a.marker=5;break}a.mode=1;case 1:if(0===t.avail_in)return n;if(n=e,t.avail_in--,t.total_in++,i=255&t.read_byte(t.next_in_index++),((a.method<<8)+i)%31!=0){a.mode=13,t.msg="incorrect header check",a.marker=5;break}if(0==(32&i)){a.mode=7;break}a.mode=2;case 2:if(0===t.avail_in)return n;n=e,t.avail_in--,t.total_in++,a.need=(255&t.read_byte(t.next_in_index++))<<24&4278190080,a.mode=3;case 3:if(0===t.avail_in)return n;n=e,t.avail_in--,t.total_in++,a.need+=(255&t.read_byte(t.next_in_index++))<<16&16711680,a.mode=4;case 4:if(0===t.avail_in)return n;n=e,t.avail_in--,t.total_in++,a.need+=(255&t.read_byte(t.next_in_index++))<<8&65280,a.mode=5;case 5:return 0===t.avail_in?n:(n=e,t.avail_in--,t.total_in++,a.need+=255&t.read_byte(t.next_in_index++),a.mode=6,2);case 6:return a.mode=13,t.msg="need dictionary",a.marker=0,-2;case 7:if(n=a.blocks.proc(t,n),-3==n){a.mode=13,a.marker=0;break}if(0==n&&(n=e),1!=n)return n;n=e,a.blocks.reset(t,a.was),a.mode=12;case 12:return 1;case 13:return -3;default:return -2}},t.inflateSetDictionary=function(t,e,n){let i=0,a=n;if(!t||!t.istate||6!=t.istate.mode)return -2;const r=t.istate;return a>=1< 0&&e.next_in_index!=_&&(r(e.next_in_index),_=e.next_in_index);}while(e.avail_in>0||0===e.avail_out);return s.length>1?(l=new Uint8Array(c),s.forEach((function(t){l.set(t,d),d+=t.length;}))):l=s[0]||new Uint8Array(0),l}},this.flush=function(){e.inflateEnd();};}_t.prototype={inflateInit:function(t){const e=this;return e.istate=new lt,t||(t=15),e.istate.inflateInit(e,t)},inflate:function(t){const e=this;return e.istate?e.istate.inflate(e,t):-2},inflateEnd:function(){const t=this;if(!t.istate)return -2;const e=t.istate.inflateEnd(t);return t.istate=null,e},inflateSync:function(){const t=this;return t.istate?t.istate.inflateSync(t):-2},inflateSetDictionary:function(t,e){const n=this;return n.istate?n.istate.inflateSetDictionary(n,t,e):-2},read_byte:function(t){return this.next_in[t]},read_buf:function(t,e){return this.next_in.subarray(t,t+e)}},self.initCodec=()=>{self.Deflate=Q,self.Inflate=dt;};\n\n\t\t',e=URL.createObjectURL(new Blob([t],{type:"text/javascript"}));r({workerScripts:{inflate:[e],deflate:[e]}})}})(),t.BlobReader=xt,t.BlobWriter=kt,t.Data64URIReader=class extends bt{constructor(t){super(),this.dataURI=t;let e=t.length;for(;"="==t.charAt(e-1);)e--;this.dataStart=t.indexOf(",")+1,this.size=Math.floor(.75*(e-this.dataStart))}async readUint8Array(t,e){const n=new Uint8Array(e),i=4*Math.floor(t/3),r=atob(this.dataURI.substring(i+this.dataStart,4*Math.ceil((t+e)/3)+this.dataStart)),a=t-3*Math.floor(i/4);for(let t=a;t2?this.data+=btoa(n):this.pending=n}getData(){return this.data+btoa(this.pending)}},t.ERR_ABORT=at,t.ERR_BAD_FORMAT=Zt,t.ERR_CENTRAL_DIRECTORY_NOT_FOUND=Jt,t.ERR_DUPLICATED_NAME=me,t.ERR_ENCRYPTED=ee,t.ERR_EOCDR_LOCATOR_ZIP64_NOT_FOUND=Yt,t.ERR_EOCDR_NOT_FOUND=Xt,t.ERR_EOCDR_ZIP64_NOT_FOUND=Qt,t.ERR_EXTRAFIELD_ZIP64_NOT_FOUND=te,t.ERR_HTTP_RANGE=dt,t.ERR_INVALID_COMMENT=xe,t.ERR_INVALID_ENCRYPTION_STRENGTH=Ue,t.ERR_INVALID_ENTRY_COMMENT=ke,t.ERR_INVALID_ENTRY_NAME=ve,t.ERR_INVALID_EXTRAFIELD_DATA=ze,t.ERR_INVALID_EXTRAFIELD_TYPE=Ee,t.ERR_INVALID_PASSWORD=p,t.ERR_INVALID_SIGNATURE=q,t.ERR_INVALID_VERSION=Ae,t.ERR_LOCAL_FILE_HEADER_NOT_FOUND=$t,t.ERR_UNSUPPORTED_COMPRESSION=ie,t.ERR_UNSUPPORTED_ENCRYPTION=ne,t.ERR_UNSUPPORTED_FORMAT=Se,t.HttpRangeReader=class extends Dt{constructor(t,e={}){e.useRangeHeader=!0,super(t,e)}},t.HttpReader=Dt,t.Reader=bt,t.TextReader=class extends bt{constructor(t){super(),this.blobReader=new xt(new Blob([t],{type:ut}))}async init(){super.init(),this.blobReader.init(),this.size=this.blobReader.size}async readUint8Array(t,e){return this.blobReader.readUint8Array(t,e)}},t.TextWriter=class extends mt{constructor(t){super(),this.encoding=t,this.blob=new Blob([],{type:ut})}async writeUint8Array(t){super.writeUint8Array(t),this.blob=new Blob([this.blob,t.buffer],{type:ut})}getData(){if(this.blob.text)return this.blob.text();{const t=new FileReader;return new Promise(((e,n)=>{t.onload=t=>e(t.target.result),t.onerror=()=>n(t.error),t.readAsText(this.blob,this.encoding)}))}}},t.Uint8ArrayReader=class extends bt{constructor(t){super(),this.array=t,this.size=t.length}async readUint8Array(t,e){return this.array.slice(t,t+e)}},t.Uint8ArrayWriter=class extends mt{constructor(){super(),this.array=new Uint8Array(0)}async writeUint8Array(t){super.writeUint8Array(t);const e=this.array;this.array=new Uint8Array(e.length+t.length),this.array.set(e),this.array.set(t,e.length)}getData(){return this.array}},t.Writer=mt,t.ZipReader=class{constructor(t,e={}){Object.assign(this,{reader:t,options:e,config:i()})}async getEntries(t={}){const e=this,n=e.reader;if(n.initialized||await n.init(),n.size<22)throw new Error(Zt);const i=await async function(t,e,n,i,r){const a=new Uint8Array(4);!function(t,e,n){t.setUint32(e,n,!0)}(ye(a),0,e);const s=i+r;return await o(i)||await o(Math.min(s,n));async function o(e){const r=n-e,s=await be(t,r,e);for(let t=s.length-i;t>=0;t--)if(s[t]==a[0]&&s[t+1]==a[1]&&s[t+2]==a[2]&&s[t+3]==a[3])return{offset:r+t,buffer:s.slice(t,t+i).buffer}}}(n,Mt,n.size,22,1048560);if(!i)throw new Error(Xt);const r=ye(i);let a=_e(r,12),s=_e(r,16),o=we(r,8),l=0;if(s==Tt||a==Tt||o==Ft){const t=ye(await be(n,i.offset-20,20));if(_e(t,0)!=Ot)throw new Error(Qt);s=ge(t,8);let e=await be(n,s,56),r=ye(e);const c=i.offset-20-56;if(_e(r,0)!=Wt&&s!=c){const t=s;s=c,l=s-t,e=await be(n,s,56),r=ye(e)}if(_e(r,0)!=Wt)throw new Error(Yt);o=ge(r,32),a=ge(r,40),s-=a}if(s<0||s>=n.size)throw new Error(Zt);let c=0,d=await be(n,s,a),u=ye(d);const f=i.offset-a;if(_e(u,c)!=Ct&&s!=f){const t=s;s=f,l=s-t,d=await be(n,s,a),u=ye(d)}if(s<0||s>=n.size)throw new Error(Zt);const h=[];for(let i=0;i r.getData(t,y,e),h.push(y),c=g,t.onprogress)try{t.onprogress(i+1,o,new Gt(r))}catch(t){}}return h}async close(){}},t.ZipWriter=class{constructor(t,e={}){Object.assign(this,{writer:t,options:e,config:i(),files:new Map,offset:t.size,pendingCompressedSize:0,pendingEntries:[]})}async add(t="",e,n={}){const i=this;if(!(Re i.pendingEntries.push({name:t,reader:e,options:n,resolve:r,reject:a})));Re++;try{return await async function(t,e,n,i){e=e.trim(),i.directory&&!e.endsWith(Pt)?e+=Pt:i.directory=e.endsWith(Pt);if(t.files.has(e))throw new Error(me);const r=(new TextEncoder).encode(e);if(r.length>Ft)throw new Error(ve);const a=i.comment||"",s=(new TextEncoder).encode(a);if(s.length>Ft)throw new Error(ke);const o=t.options.version||i.version||0;if(o>Ft)throw new Error(Ae);const l=t.options.versionMadeBy||i.versionMadeBy||20;if(l>Ft)throw new Error(Ae);const c=Ie(t,i,"lastModDate")||new Date,d=Ie(t,i,"lastAccessDate"),u=Ie(t,i,"creationDate"),f=Ie(t,i,"password"),h=Ie(t,i,"encryptionStrength")||3,p=Ie(t,i,"zipCrypto");if(void 0!==f&&void 0!==h&&(h<1||h>3))throw new Error(Ue);let w=new Uint8Array(0);const _=i.extraField;if(_){let t=0,e=0;_.forEach((e=>t+=4+e.length)),w=new Uint8Array(t),_.forEach(((t,n)=>{if(n>Ft)throw new Error(Ee);if(t.length>Ft)throw new Error(ze);Oe(w,new Uint16Array([n]),e),Oe(w,new Uint16Array([t.length]),e+2),Oe(w,t,e+4),e+=4+t.length}))}let g=Ie(t,i,"extendedTimestamp");void 0===g&&(g=!0);let y=0,b=Ie(t,i,"keepOrder");void 0===b&&(b=!0);let m=0,x=Ie(t,i,"msDosCompatible");void 0===x&&(x=!0);const k=Ie(t,i,"internalFileAttribute")||0,v=Ie(t,i,"externalFileAttribute")||0;n&&(n.initialized||await n.init(),m=n.size,y=function(t){return t+5*(Math.floor(t/16383)+1)}(m));let A=i.zip64||t.options.zip64||!1;if(t.offset+t.pendingCompressedSize>=Tt||m>=Tt||y>=Tt){if(!1===i.zip64||!1===t.options.zip64||!b)throw new Error(Se);A=!0}t.pendingCompressedSize+=y,await Promise.resolve();const U=Ie(t,i,"level"),E=Ie(t,i,"useWebWorkers"),z=Ie(t,i,"bufferedWrite");let S=Ie(t,i,"dataDescriptor"),D=Ie(t,i,"dataDescriptorSignature");const R=Ie(t,i,"signal");void 0===S&&(S=!0);S&&void 0===D&&(D=!0);const T=await async function(t,e,n,i){const r=t.files,a=t.writer,s=Array.from(r.values()).pop();let o,l,c,d={};r.set(e,d);try{let u,f,h;if(i.keepOrder&&(u=s&&s.lock),d.lock=h=new Promise((t=>c=t)),i.bufferedWrite||t.lockWrite||!i.dataDescriptor?(f=new kt,f.init(),o=!0):(t.lockWrite=new Promise((t=>l=t)),a.initialized||await a.init(),f=a),d=await async function(t,e,n,i){const{rawFilename:r,lastAccessDate:a,creationDate:s,password:o,level:l,zip64:c,zipCrypto:d,dataDescriptor:u,dataDescriptorSignature:f,directory:h,version:p,versionMadeBy:w,rawComment:_,rawExtraField:g,useWebWorkers:y,onprogress:b,signal:m,encryptionStrength:x,extendedTimestamp:k,msDosCompatible:v,internalFileAttribute:A,externalFileAttribute:U}=i,E=Boolean(o&&o.length),z=0!==l&&!h;let S,D,R;if(E&&!d){S=new Uint8Array(De.length+2);const t=He(S);Ce(t,0,Ht),Oe(S,De,2),Be(t,8,x)}else S=new Uint8Array(0);if(k){R=new Uint8Array(9+(a?4:0)+(s?4:0));const t=He(R);Ce(t,0,Lt),Ce(t,2,R.length-4);Be(t,4,1+(a?2:0)+(s?4:0)),Me(t,5,Math.floor(i.lastModDate.getTime()/1e3)),a&&Me(t,9,Math.floor(a.getTime()/1e3)),s&&Me(t,13,Math.floor(s.getTime()/1e3));try{D=new Uint8Array(36);const t=He(D),e=Fe(i.lastModDate);Ce(t,0,10),Ce(t,2,32),Ce(t,8,1),Ce(t,10,24),We(t,12,e),We(t,20,Fe(a)||e),We(t,28,Fe(s)||e)}catch(t){D=new Uint8Array(0)}}else D=R=new Uint8Array(0);const T={version:p||20,versionMadeBy:w,zip64:c,directory:Boolean(h),filenameUTF8:!0,rawFilename:r,commentUTF8:!0,rawComment:_,rawExtraFieldZip64:c?new Uint8Array(28):new Uint8Array(0),rawExtraFieldExtendedTimestamp:R,rawExtraFieldNTFS:D,rawExtraFieldAES:S,rawExtraField:g,extendedTimestamp:k,msDosCompatible:v,internalFileAttribute:A,externalFileAttribute:U};let F=T.uncompressedSize=0,I=Nt;u&&(I|=8);let B=0;z&&(B=8);c&&(T.version=T.version>45?T.version:45);E&&(I|=1,d||(T.version=T.version>51?T.version:51,B=99,z&&(T.rawExtraFieldAES[9]=8)));T.compressionMethod=B;const C=T.headerArray=new Uint8Array(26),M=He(C);Ce(M,0,T.version),Ce(M,2,I),Ce(M,4,B);const W=new Uint32Array(1),O=He(W);let H;H=i.lastModDate jt?jt:i.lastModDate;Ce(O,0,(H.getHours()<<6|H.getMinutes())<<5|H.getSeconds()/2),Ce(O,2,(H.getFullYear()-1980<<4|H.getMonth()+1)<<5|H.getDate());const L=W[0];Me(M,6,L),Ce(M,22,r.length);const N=S.length+R.length+D.length+T.rawExtraField.length;Ce(M,24,N);const P=new Uint8Array(30+r.length+N);let j;Me(He(P),0,It),Oe(P,C,4),Oe(P,r,30),Oe(P,S,30+r.length),Oe(P,R,30+r.length+S.length),Oe(P,D,30+r.length+S.length+R.length),Oe(P,T.rawExtraField,30+r.length+S.length+R.length+D.length);let K=0;if(t){F=T.uncompressedSize=t.size;const i=await it(n.Deflate,{codecType:V,level:l,password:o,encryptionStrength:x,zipCrypto:E&&d,passwordVerification:E&&d&&L>>8&255,signed:!0,compressed:z,encrypted:E,useWebWorkers:y},n);await e.writeUint8Array(P),T.dataWritten=!0,j=await st(i,t,e,0,F,n,{onprogress:b,signal:m}),K=j.length}else await e.writeUint8Array(P),T.dataWritten=!0;let q,G=new Uint8Array(0),Z=0;u&&(G=new Uint8Array(c?f?24:20:f?16:12),q=He(G),f&&(Z=4,Me(q,0,Bt)));if(t){const t=j.signature;if(E&&!d||void 0===t||(Me(M,10,t),T.signature=t,u&&Me(q,Z,t)),c){const t=He(T.rawExtraFieldZip64);Ce(t,0,1),Ce(t,2,24),Me(M,14,Tt),We(t,12,BigInt(K)),Me(M,18,Tt),We(t,4,BigInt(F)),u&&(We(q,Z+4,BigInt(K)),We(q,Z+12,BigInt(F)))}else Me(M,14,K),Me(M,18,F),u&&(Me(q,Z+4,K),Me(q,Z+8,F))}u&&await e.writeUint8Array(G);const X=P.length+K+G.length;return Object.assign(T,{compressedSize:K,lastModDate:H,rawLastModDate:L,creationDate:s,lastAccessDate:a,encrypted:E,length:X}),T}(n,f,t.config,i),d.lock=h,r.set(e,d),d.filename=e,o){let e=0;const n=f.getData();let s;await Promise.all([t.lockWrite,u]);do{s=Array.from(r.values()).find((t=>t.writingBufferedData)),s&&await s.lock}while(s&&s.lock);if(d.writingBufferedData=!0,!i.dataDescriptor){const t=26,r=await Te(n,0,t),s=new DataView(r);d.encrypted&&!i.zipCrypto||Me(s,14,d.signature),d.zip64?(Me(s,18,Tt),Me(s,22,Tt)):(Me(s,18,d.compressedSize),Me(s,22,d.uncompressedSize)),await a.writeUint8Array(new Uint8Array(r)),e=t}await async function(t,e,n=0){const i=536870912;async function r(){if(n =Tt)throw new Error(Se);return t.offset+=d.length,d}catch(n){throw(o&&d.writingBufferedData||!o&&d.dataWritten)&&(n.corruptedEntry=t.hasCorruptedEntries=!0,d.uncompressedSize&&(t.offset+=d.uncompressedSize)),r.delete(e),n}finally{c(),l&&l()}}(t,e,n,Object.assign({},i,{rawFilename:r,rawComment:s,version:o,versionMadeBy:l,lastModDate:c,lastAccessDate:d,creationDate:u,rawExtraField:w,zip64:A,password:f,level:U,useWebWorkers:E,encryptionStrength:h,extendedTimestamp:g,zipCrypto:p,bufferedWrite:z,keepOrder:b,dataDescriptor:S,dataDescriptorSignature:D,signal:R,msDosCompatible:x,internalFileAttribute:k,externalFileAttribute:v}));y&&(t.pendingCompressedSize-=y);return Object.assign(T,{name:e,comment:a,extraField:_}),new Gt(T)}(i,t,e,n)}finally{Re--;const t=i.pendingEntries.shift();t&&i.add(t.name,t.reader,t.options).then(t.resolve).catch(t.reject)}}async close(t=new Uint8Array(0),e={}){return await async function(t,e,n){const i=t.writer,r=t.files;let a=0,s=0,o=t.offset,l=r.size;for(const[,t]of r)s+=46+t.rawFilename.length+t.rawComment.length+t.rawExtraFieldZip64.length+t.rawExtraFieldAES.length+t.rawExtraFieldExtendedTimestamp.length+t.rawExtraFieldNTFS.length+t.rawExtraField.length;let c=n.zip64||t.options.zip64||!1;if(o>=Tt||s>=Tt||l>=Ft){if(!1===n.zip64||!1===t.options.zip64)throw new Error(Se);c=!0}const d=new Uint8Array(s+(c?98:22)),u=He(d);if(e&&e.length){if(!(e.length<=Ft))throw new Error(xe);Ce(u,a+20,e.length)}for(const[t,e]of Array.from(r.values()).entries()){const{rawFilename:i,rawExtraFieldZip64:s,rawExtraFieldAES:o,rawExtraField:l,rawComment:c,versionMadeBy:f,headerArray:h,directory:p,zip64:w,msDosCompatible:_,internalFileAttribute:g,externalFileAttribute:y}=e;let b,m;if(e.extendedTimestamp){m=e.rawExtraFieldNTFS,b=new Uint8Array(9);const t=He(b);Ce(t,0,Lt),Ce(t,2,b.length-4),Be(t,4,1),Me(t,5,Math.floor(e.lastModDate.getTime()/1e3))}else m=b=new Uint8Array(0);const x=s.length+o.length+b.length+m.length+l.length;if(Me(u,a,Ct),Ce(u,a+4,f),Oe(d,h,a+6),Ce(u,a+30,x),Ce(u,a+32,c.length),Me(u,a+34,g),y?Me(u,a+38,y):p&&_&&Be(u,a+38,16),Me(u,a+42,w?Tt:e.offset),Oe(d,i,a+46),Oe(d,s,a+46+i.length),Oe(d,o,a+46+i.length+s.length),Oe(d,b,a+46+i.length+s.length+o.length),Oe(d,m,a+46+i.length+s.length+o.length+b.length),Oe(d,l,a+46+i.length+s.length+o.length+b.length+m.length),Oe(d,c,a+46+i.length+x),a+=46+i.length+x+c.length,n.onprogress)try{n.onprogress(t+1,r.size,new Gt(e))}catch(t){}}c&&(Me(u,a,Wt),We(u,a+4,BigInt(44)),Ce(u,a+12,45),Ce(u,a+14,45),We(u,a+24,BigInt(l)),We(u,a+32,BigInt(l)),We(u,a+40,BigInt(s)),We(u,a+48,BigInt(o)),Me(u,a+56,Ot),We(u,a+64,BigInt(o)+BigInt(s)),Me(u,a+72,1),l=Ft,o=Tt,s=Tt,a+=76);Me(u,a,Mt),Ce(u,a+8,l),Ce(u,a+10,l),Me(u,a+12,s),Me(u,a+16,o),await i.writeUint8Array(d),e&&e.length&&await i.writeUint8Array(e)}(this,t,e),this.writer.getData()}},t.configure=r,t.getMimeType=function(){return"application/octet-stream"},t.initShimAsyncCodec=(t,e={},n)=>({Deflate:a(t.Deflate,e.deflate,n),Inflate:a(t.Inflate,e.inflate,n)}),t.terminateWorkers=function(){et.forEach((t=>{rt(t),t.terminate()}))},Object.defineProperty(t,"__esModule",{value:!0})})); 2 | --------------------------------------------------------------------------------