@loaders.gl/compression
Version:
Decompression and compression plugins for loaders.gl
7 lines • 230 kB
JavaScript
(function webpackUniversalModuleDefinition(root, factory) {
if (typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if (typeof define === 'function' && define.amd) define([], factory);
else if (typeof exports === 'object') exports['loaders'] = factory();
else root['loaders'] = factory();})(globalThis, function () {
"use strict";var __exports__=(()=>{var on=Object.create;var Il=Object.defineProperty;var bn=Object.getOwnPropertyDescriptor;var nn=Object.getOwnPropertyNames;var mn=Object.getPrototypeOf,jn=Object.prototype.hasOwnProperty;var pn=(f,l,e)=>l in f?Il(f,l,{enumerable:!0,configurable:!0,writable:!0,value:e}):f[l]=e;var N=(f,l)=>()=>(l||f((l={exports:{}}).exports,l),l.exports),qn=(f,l)=>{for(var e in l)Il(f,e,{get:l[e],enumerable:!0})},te=(f,l,e,t)=>{if(l&&typeof l=="object"||typeof l=="function")for(let o of nn(l))!jn.call(f,o)&&o!==e&&Il(f,o,{get:()=>l[o],enumerable:!(t=bn(l,o))||t.enumerable});return f},oe=(f,l,e)=>(te(f,l,"default"),e&&te(e,l,"default")),Tl=(f,l,e)=>(e=f!=null?on(mn(f)):{},te(l||!f||!f.__esModule?Il(e,"default",{value:f,enumerable:!0}):e,f)),rn=f=>te(Il({},"__esModule",{value:!0}),f);var lt=(f,l,e)=>(pn(f,typeof l!="symbol"?l+"":l,e),e);var wt=N((Nj,et)=>{et.exports=globalThis.loaders});var Sf=N(lf=>{"use strict";var Fn=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function Dn(f,l){return Object.prototype.hasOwnProperty.call(f,l)}lf.assign=function(f){for(var l=Array.prototype.slice.call(arguments,1);l.length;){var e=l.shift();if(e){if(typeof e!="object")throw new TypeError(e+"must be non-object");for(var t in e)Dn(e,t)&&(f[t]=e[t])}}return f};lf.shrinkBuf=function(f,l){return f.length===l?f:f.subarray?f.subarray(0,l):(f.length=l,f)};var Cn={arraySet:function(f,l,e,t,o){if(l.subarray&&f.subarray){f.set(l.subarray(e,e+t),o);return}for(var b=0;b<t;b++)f[o+b]=l[e+b]},flattenChunks:function(f){var l,e,t,o,b,m;for(t=0,l=0,e=f.length;l<e;l++)t+=f[l].length;for(m=new Uint8Array(t),o=0,l=0,e=f.length;l<e;l++)b=f[l],m.set(b,o),o+=b.length;return m}},Wn={arraySet:function(f,l,e,t,o){for(var b=0;b<t;b++)f[o+b]=l[e+b]},flattenChunks:function(f){return[].concat.apply([],f)}};lf.setTyped=function(f){f?(lf.Buf8=Uint8Array,lf.Buf16=Uint16Array,lf.Buf32=Int32Array,lf.assign(lf,Cn)):(lf.Buf8=Array,lf.Buf16=Array,lf.Buf32=Array,lf.assign(lf,Wn))};lf.setTyped(Fn)});var Nt=N(dl=>{"use strict";var On=Sf(),Un=4,_t=0,Bt=1,Pn=2;function kl(f){for(var l=f.length;--l>=0;)f[l]=0}var Ln=0,Et=1,Mn=2,Yn=3,Vn=258,nw=29,Ol=256,Fl=Ol+1+nw,gl=30,mw=19,At=2*Fl+1,ll=15,lw=16,Qn=7,jw=256,Kt=16,Ft=17,Dt=18,ow=[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],re=[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],Nn=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Ct=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Zn=512,Ef=new Array((Fl+2)*2);kl(Ef);var Kl=new Array(gl*2);kl(Kl);var Dl=new Array(Zn);kl(Dl);var Cl=new Array(Vn-Yn+1);kl(Cl);var pw=new Array(nw);kl(pw);var ae=new Array(gl);kl(ae);function ew(f,l,e,t,o){this.static_tree=f,this.extra_bits=l,this.extra_base=e,this.elems=t,this.max_length=o,this.has_stree=f&&f.length}var Wt,Ot,Ut;function ww(f,l){this.dyn_tree=f,this.max_code=0,this.stat_desc=l}function Pt(f){return f<256?Dl[f]:Dl[256+(f>>>7)]}function Wl(f,l){f.pending_buf[f.pending++]=l&255,f.pending_buf[f.pending++]=l>>>8&255}function tf(f,l,e){f.bi_valid>lw-e?(f.bi_buf|=l<<f.bi_valid&65535,Wl(f,f.bi_buf),f.bi_buf=l>>lw-f.bi_valid,f.bi_valid+=e-lw):(f.bi_buf|=l<<f.bi_valid&65535,f.bi_valid+=e)}function xf(f,l,e){tf(f,e[l*2],e[l*2+1])}function Lt(f,l){var e=0;do e|=f&1,f>>>=1,e<<=1;while(--l>0);return e>>>1}function Jn(f){f.bi_valid===16?(Wl(f,f.bi_buf),f.bi_buf=0,f.bi_valid=0):f.bi_valid>=8&&(f.pending_buf[f.pending++]=f.bi_buf&255,f.bi_buf>>=8,f.bi_valid-=8)}function Xn(f,l){var e=l.dyn_tree,t=l.max_code,o=l.stat_desc.static_tree,b=l.stat_desc.has_stree,m=l.stat_desc.extra_bits,j=l.stat_desc.extra_base,k=l.stat_desc.max_length,r,s,y,u,d,z,x=0;for(u=0;u<=ll;u++)f.bl_count[u]=0;for(e[f.heap[f.heap_max]*2+1]=0,r=f.heap_max+1;r<At;r++)s=f.heap[r],u=e[e[s*2+1]*2+1]+1,u>k&&(u=k,x++),e[s*2+1]=u,!(s>t)&&(f.bl_count[u]++,d=0,s>=j&&(d=m[s-j]),z=e[s*2],f.opt_len+=z*(u+d),b&&(f.static_len+=z*(o[s*2+1]+d)));if(x!==0){do{for(u=k-1;f.bl_count[u]===0;)u--;f.bl_count[u]--,f.bl_count[u+1]+=2,f.bl_count[k]--,x-=2}while(x>0);for(u=k;u!==0;u--)for(s=f.bl_count[u];s!==0;)y=f.heap[--r],!(y>t)&&(e[y*2+1]!==u&&(f.opt_len+=(u-e[y*2+1])*e[y*2],e[y*2+1]=u),s--)}}function Mt(f,l,e){var t=new Array(ll+1),o=0,b,m;for(b=1;b<=ll;b++)t[b]=o=o+e[b-1]<<1;for(m=0;m<=l;m++){var j=f[m*2+1];j!==0&&(f[m*2]=Lt(t[j]++,j))}}function Gn(){var f,l,e,t,o,b=new Array(ll+1);for(e=0,t=0;t<nw-1;t++)for(pw[t]=e,f=0;f<1<<ow[t];f++)Cl[e++]=t;for(Cl[e-1]=t,o=0,t=0;t<16;t++)for(ae[t]=o,f=0;f<1<<re[t];f++)Dl[o++]=t;for(o>>=7;t<gl;t++)for(ae[t]=o<<7,f=0;f<1<<re[t]-7;f++)Dl[256+o++]=t;for(l=0;l<=ll;l++)b[l]=0;for(f=0;f<=143;)Ef[f*2+1]=8,f++,b[8]++;for(;f<=255;)Ef[f*2+1]=9,f++,b[9]++;for(;f<=279;)Ef[f*2+1]=7,f++,b[7]++;for(;f<=287;)Ef[f*2+1]=8,f++,b[8]++;for(Mt(Ef,Fl+1,b),f=0;f<gl;f++)Kl[f*2+1]=5,Kl[f*2]=Lt(f,5);Wt=new ew(Ef,ow,Ol+1,Fl,ll),Ot=new ew(Kl,re,0,gl,ll),Ut=new ew(new Array(0),Nn,0,mw,Qn)}function Yt(f){var l;for(l=0;l<Fl;l++)f.dyn_ltree[l*2]=0;for(l=0;l<gl;l++)f.dyn_dtree[l*2]=0;for(l=0;l<mw;l++)f.bl_tree[l*2]=0;f.dyn_ltree[jw*2]=1,f.opt_len=f.static_len=0,f.last_lit=f.matches=0}function Vt(f){f.bi_valid>8?Wl(f,f.bi_buf):f.bi_valid>0&&(f.pending_buf[f.pending++]=f.bi_buf),f.bi_buf=0,f.bi_valid=0}function $n(f,l,e,t){Vt(f),t&&(Wl(f,e),Wl(f,~e)),On.arraySet(f.pending_buf,f.window,l,e,f.pending),f.pending+=e}function yt(f,l,e,t){var o=l*2,b=e*2;return f[o]<f[b]||f[o]===f[b]&&t[l]<=t[e]}function tw(f,l,e){for(var t=f.heap[e],o=e<<1;o<=f.heap_len&&(o<f.heap_len&&yt(l,f.heap[o+1],f.heap[o],f.depth)&&o++,!yt(l,t,f.heap[o],f.depth));)f.heap[e]=f.heap[o],e=o,o<<=1;f.heap[e]=t}function It(f,l,e){var t,o,b=0,m,j;if(f.last_lit!==0)do t=f.pending_buf[f.d_buf+b*2]<<8|f.pending_buf[f.d_buf+b*2+1],o=f.pending_buf[f.l_buf+b],b++,t===0?xf(f,o,l):(m=Cl[o],xf(f,m+Ol+1,l),j=ow[m],j!==0&&(o-=pw[m],tf(f,o,j)),t--,m=Pt(t),xf(f,m,e),j=re[m],j!==0&&(t-=ae[m],tf(f,t,j)));while(b<f.last_lit);xf(f,jw,l)}function bw(f,l){var e=l.dyn_tree,t=l.stat_desc.static_tree,o=l.stat_desc.has_stree,b=l.stat_desc.elems,m,j,k=-1,r;for(f.heap_len=0,f.heap_max=At,m=0;m<b;m++)e[m*2]!==0?(f.heap[++f.heap_len]=k=m,f.depth[m]=0):e[m*2+1]=0;for(;f.heap_len<2;)r=f.heap[++f.heap_len]=k<2?++k:0,e[r*2]=1,f.depth[r]=0,f.opt_len--,o&&(f.static_len-=t[r*2+1]);for(l.max_code=k,m=f.heap_len>>1;m>=1;m--)tw(f,e,m);r=b;do m=f.heap[1],f.heap[1]=f.heap[f.heap_len--],tw(f,e,1),j=f.heap[1],f.heap[--f.heap_max]=m,f.heap[--f.heap_max]=j,e[r*2]=e[m*2]+e[j*2],f.depth[r]=(f.depth[m]>=f.depth[j]?f.depth[m]:f.depth[j])+1,e[m*2+1]=e[j*2+1]=r,f.heap[1]=r++,tw(f,e,1);while(f.heap_len>=2);f.heap[--f.heap_max]=f.heap[1],Xn(f,l),Mt(e,k,f.bl_count)}function Tt(f,l,e){var t,o=-1,b,m=l[0*2+1],j=0,k=7,r=4;for(m===0&&(k=138,r=3),l[(e+1)*2+1]=65535,t=0;t<=e;t++)b=m,m=l[(t+1)*2+1],!(++j<k&&b===m)&&(j<r?f.bl_tree[b*2]+=j:b!==0?(b!==o&&f.bl_tree[b*2]++,f.bl_tree[Kt*2]++):j<=10?f.bl_tree[Ft*2]++:f.bl_tree[Dt*2]++,j=0,o=b,m===0?(k=138,r=3):b===m?(k=6,r=3):(k=7,r=4))}function Rt(f,l,e){var t,o=-1,b,m=l[0*2+1],j=0,k=7,r=4;for(m===0&&(k=138,r=3),t=0;t<=e;t++)if(b=m,m=l[(t+1)*2+1],!(++j<k&&b===m)){if(j<r)do xf(f,b,f.bl_tree);while(--j!==0);else b!==0?(b!==o&&(xf(f,b,f.bl_tree),j--),xf(f,Kt,f.bl_tree),tf(f,j-3,2)):j<=10?(xf(f,Ft,f.bl_tree),tf(f,j-3,3)):(xf(f,Dt,f.bl_tree),tf(f,j-11,7));j=0,o=b,m===0?(k=138,r=3):b===m?(k=6,r=3):(k=7,r=4)}}function fm(f){var l;for(Tt(f,f.dyn_ltree,f.l_desc.max_code),Tt(f,f.dyn_dtree,f.d_desc.max_code),bw(f,f.bl_desc),l=mw-1;l>=3&&f.bl_tree[Ct[l]*2+1]===0;l--);return f.opt_len+=3*(l+1)+5+5+4,l}function lm(f,l,e,t){var o;for(tf(f,l-257,5),tf(f,e-1,5),tf(f,t-4,4),o=0;o<t;o++)tf(f,f.bl_tree[Ct[o]*2+1],3);Rt(f,f.dyn_ltree,l-1),Rt(f,f.dyn_dtree,e-1)}function em(f){var l=4093624447,e;for(e=0;e<=31;e++,l>>>=1)if(l&1&&f.dyn_ltree[e*2]!==0)return _t;if(f.dyn_ltree[9*2]!==0||f.dyn_ltree[10*2]!==0||f.dyn_ltree[13*2]!==0)return Bt;for(e=32;e<Ol;e++)if(f.dyn_ltree[e*2]!==0)return Bt;return _t}var St=!1;function wm(f){St||(Gn(),St=!0),f.l_desc=new ww(f.dyn_ltree,Wt),f.d_desc=new ww(f.dyn_dtree,Ot),f.bl_desc=new ww(f.bl_tree,Ut),f.bi_buf=0,f.bi_valid=0,Yt(f)}function Qt(f,l,e,t){tf(f,(Ln<<1)+(t?1:0),3),$n(f,l,e,!0)}function tm(f){tf(f,Et<<1,3),xf(f,jw,Ef),Jn(f)}function om(f,l,e,t){var o,b,m=0;f.level>0?(f.strm.data_type===Pn&&(f.strm.data_type=em(f)),bw(f,f.l_desc),bw(f,f.d_desc),m=fm(f),o=f.opt_len+3+7>>>3,b=f.static_len+3+7>>>3,b<=o&&(o=b)):o=b=e+5,e+4<=o&&l!==-1?Qt(f,l,e,t):f.strategy===Un||b===o?(tf(f,(Et<<1)+(t?1:0),3),It(f,Ef,Kl)):(tf(f,(Mn<<1)+(t?1:0),3),lm(f,f.l_desc.max_code+1,f.d_desc.max_code+1,m+1),It(f,f.dyn_ltree,f.dyn_dtree)),Yt(f),t&&Vt(f)}function bm(f,l,e){return f.pending_buf[f.d_buf+f.last_lit*2]=l>>>8&255,f.pending_buf[f.d_buf+f.last_lit*2+1]=l&255,f.pending_buf[f.l_buf+f.last_lit]=e&255,f.last_lit++,l===0?f.dyn_ltree[e*2]++:(f.matches++,l--,f.dyn_ltree[(Cl[e]+Ol+1)*2]++,f.dyn_dtree[Pt(l)*2]++),f.last_lit===f.lit_bufsize-1}dl._tr_init=wm;dl._tr_stored_block=Qt;dl._tr_flush_block=om;dl._tr_tally=bm;dl._tr_align=tm});var qw=N((Fq,Zt)=>{"use strict";function nm(f,l,e,t){for(var o=f&65535|0,b=f>>>16&65535|0,m=0;e!==0;){m=e>2e3?2e3:e,e-=m;do o=o+l[t++]|0,b=b+o|0;while(--m);o%=65521,b%=65521}return o|b<<16|0}Zt.exports=nm});var rw=N((Dq,Jt)=>{"use strict";function mm(){for(var f,l=[],e=0;e<256;e++){f=e;for(var t=0;t<8;t++)f=f&1?3988292384^f>>>1:f>>>1;l[e]=f}return l}var jm=mm();function pm(f,l,e,t){var o=jm,b=t+e;f^=-1;for(var m=t;m<b;m++)f=f>>>8^o[(f^l[m])&255];return f^-1}Jt.exports=pm});var se=N((Cq,Xt)=>{"use strict";Xt.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}});var bo=N(_f=>{"use strict";var ef=Sf(),af=Nt(),lo=qw(),Lf=rw(),qm=se(),ol=0,rm=1,am=3,Nf=4,Gt=5,zf=0,$t=1,sf=-2,sm=-3,aw=-5,im=-1,gm=1,ie=2,km=3,dm=4,um=0,vm=2,ue=8,hm=9,cm=15,xm=8,Hm=29,zm=256,iw=zm+1+Hm,_m=30,Bm=19,ym=2*iw+1,Im=15,O=3,Vf=258,df=Vf+O+1,Tm=32,ve=42,gw=69,ge=73,ke=91,de=103,el=113,Pl=666,X=1,Ll=2,wl=3,hl=4,Rm=3;function Qf(f,l){return f.msg=qm[l],l}function fo(f){return(f<<1)-(f>4?9:0)}function Yf(f){for(var l=f.length;--l>=0;)f[l]=0}function Mf(f){var l=f.state,e=l.pending;e>f.avail_out&&(e=f.avail_out),e!==0&&(ef.arraySet(f.output,l.pending_buf,l.pending_out,e,f.next_out),f.next_out+=e,l.pending_out+=e,f.total_out+=e,f.avail_out-=e,l.pending-=e,l.pending===0&&(l.pending_out=0))}function $(f,l){af._tr_flush_block(f,f.block_start>=0?f.block_start:-1,f.strstart-f.block_start,l),f.block_start=f.strstart,Mf(f.strm)}function L(f,l){f.pending_buf[f.pending++]=l}function Ul(f,l){f.pending_buf[f.pending++]=l>>>8&255,f.pending_buf[f.pending++]=l&255}function Sm(f,l,e,t){var o=f.avail_in;return o>t&&(o=t),o===0?0:(f.avail_in-=o,ef.arraySet(l,f.input,f.next_in,o,e),f.state.wrap===1?f.adler=lo(f.adler,l,o,e):f.state.wrap===2&&(f.adler=Lf(f.adler,l,o,e)),f.next_in+=o,f.total_in+=o,o)}function eo(f,l){var e=f.max_chain_length,t=f.strstart,o,b,m=f.prev_length,j=f.nice_match,k=f.strstart>f.w_size-df?f.strstart-(f.w_size-df):0,r=f.window,s=f.w_mask,y=f.prev,u=f.strstart+Vf,d=r[t+m-1],z=r[t+m];f.prev_length>=f.good_match&&(e>>=2),j>f.lookahead&&(j=f.lookahead);do if(o=l,!(r[o+m]!==z||r[o+m-1]!==d||r[o]!==r[t]||r[++o]!==r[t+1])){t+=2,o++;do;while(r[++t]===r[++o]&&r[++t]===r[++o]&&r[++t]===r[++o]&&r[++t]===r[++o]&&r[++t]===r[++o]&&r[++t]===r[++o]&&r[++t]===r[++o]&&r[++t]===r[++o]&&t<u);if(b=Vf-(u-t),t=u-Vf,b>m){if(f.match_start=l,m=b,b>=j)break;d=r[t+m-1],z=r[t+m]}}while((l=y[l&s])>k&&--e!==0);return m<=f.lookahead?m:f.lookahead}function tl(f){var l=f.w_size,e,t,o,b,m;do{if(b=f.window_size-f.lookahead-f.strstart,f.strstart>=l+(l-df)){ef.arraySet(f.window,f.window,l,l,0),f.match_start-=l,f.strstart-=l,f.block_start-=l,t=f.hash_size,e=t;do o=f.head[--e],f.head[e]=o>=l?o-l:0;while(--t);t=l,e=t;do o=f.prev[--e],f.prev[e]=o>=l?o-l:0;while(--t);b+=l}if(f.strm.avail_in===0)break;if(t=Sm(f.strm,f.window,f.strstart+f.lookahead,b),f.lookahead+=t,f.lookahead+f.insert>=O)for(m=f.strstart-f.insert,f.ins_h=f.window[m],f.ins_h=(f.ins_h<<f.hash_shift^f.window[m+1])&f.hash_mask;f.insert&&(f.ins_h=(f.ins_h<<f.hash_shift^f.window[m+O-1])&f.hash_mask,f.prev[m&f.w_mask]=f.head[f.ins_h],f.head[f.ins_h]=m,m++,f.insert--,!(f.lookahead+f.insert<O)););}while(f.lookahead<df&&f.strm.avail_in!==0)}function Em(f,l){var e=65535;for(e>f.pending_buf_size-5&&(e=f.pending_buf_size-5);;){if(f.lookahead<=1){if(tl(f),f.lookahead===0&&l===ol)return X;if(f.lookahead===0)break}f.strstart+=f.lookahead,f.lookahead=0;var t=f.block_start+e;if((f.strstart===0||f.strstart>=t)&&(f.lookahead=f.strstart-t,f.strstart=t,$(f,!1),f.strm.avail_out===0)||f.strstart-f.block_start>=f.w_size-df&&($(f,!1),f.strm.avail_out===0))return X}return f.insert=0,l===Nf?($(f,!0),f.strm.avail_out===0?wl:hl):(f.strstart>f.block_start&&($(f,!1),f.strm.avail_out===0),X)}function sw(f,l){for(var e,t;;){if(f.lookahead<df){if(tl(f),f.lookahead<df&&l===ol)return X;if(f.lookahead===0)break}if(e=0,f.lookahead>=O&&(f.ins_h=(f.ins_h<<f.hash_shift^f.window[f.strstart+O-1])&f.hash_mask,e=f.prev[f.strstart&f.w_mask]=f.head[f.ins_h],f.head[f.ins_h]=f.strstart),e!==0&&f.strstart-e<=f.w_size-df&&(f.match_length=eo(f,e)),f.match_length>=O)if(t=af._tr_tally(f,f.strstart-f.match_start,f.match_length-O),f.lookahead-=f.match_length,f.match_length<=f.max_lazy_match&&f.lookahead>=O){f.match_length--;do f.strstart++,f.ins_h=(f.ins_h<<f.hash_shift^f.window[f.strstart+O-1])&f.hash_mask,e=f.prev[f.strstart&f.w_mask]=f.head[f.ins_h],f.head[f.ins_h]=f.strstart;while(--f.match_length!==0);f.strstart++}else f.strstart+=f.match_length,f.match_length=0,f.ins_h=f.window[f.strstart],f.ins_h=(f.ins_h<<f.hash_shift^f.window[f.strstart+1])&f.hash_mask;else t=af._tr_tally(f,0,f.window[f.strstart]),f.lookahead--,f.strstart++;if(t&&($(f,!1),f.strm.avail_out===0))return X}return f.insert=f.strstart<O-1?f.strstart:O-1,l===Nf?($(f,!0),f.strm.avail_out===0?wl:hl):f.last_lit&&($(f,!1),f.strm.avail_out===0)?X:Ll}function ul(f,l){for(var e,t,o;;){if(f.lookahead<df){if(tl(f),f.lookahead<df&&l===ol)return X;if(f.lookahead===0)break}if(e=0,f.lookahead>=O&&(f.ins_h=(f.ins_h<<f.hash_shift^f.window[f.strstart+O-1])&f.hash_mask,e=f.prev[f.strstart&f.w_mask]=f.head[f.ins_h],f.head[f.ins_h]=f.strstart),f.prev_length=f.match_length,f.prev_match=f.match_start,f.match_length=O-1,e!==0&&f.prev_length<f.max_lazy_match&&f.strstart-e<=f.w_size-df&&(f.match_length=eo(f,e),f.match_length<=5&&(f.strategy===gm||f.match_length===O&&f.strstart-f.match_start>4096)&&(f.match_length=O-1)),f.prev_length>=O&&f.match_length<=f.prev_length){o=f.strstart+f.lookahead-O,t=af._tr_tally(f,f.strstart-1-f.prev_match,f.prev_length-O),f.lookahead-=f.prev_length-1,f.prev_length-=2;do++f.strstart<=o&&(f.ins_h=(f.ins_h<<f.hash_shift^f.window[f.strstart+O-1])&f.hash_mask,e=f.prev[f.strstart&f.w_mask]=f.head[f.ins_h],f.head[f.ins_h]=f.strstart);while(--f.prev_length!==0);if(f.match_available=0,f.match_length=O-1,f.strstart++,t&&($(f,!1),f.strm.avail_out===0))return X}else if(f.match_available){if(t=af._tr_tally(f,0,f.window[f.strstart-1]),t&&$(f,!1),f.strstart++,f.lookahead--,f.strm.avail_out===0)return X}else f.match_available=1,f.strstart++,f.lookahead--}return f.match_available&&(t=af._tr_tally(f,0,f.window[f.strstart-1]),f.match_available=0),f.insert=f.strstart<O-1?f.strstart:O-1,l===Nf?($(f,!0),f.strm.avail_out===0?wl:hl):f.last_lit&&($(f,!1),f.strm.avail_out===0)?X:Ll}function Am(f,l){for(var e,t,o,b,m=f.window;;){if(f.lookahead<=Vf){if(tl(f),f.lookahead<=Vf&&l===ol)return X;if(f.lookahead===0)break}if(f.match_length=0,f.lookahead>=O&&f.strstart>0&&(o=f.strstart-1,t=m[o],t===m[++o]&&t===m[++o]&&t===m[++o])){b=f.strstart+Vf;do;while(t===m[++o]&&t===m[++o]&&t===m[++o]&&t===m[++o]&&t===m[++o]&&t===m[++o]&&t===m[++o]&&t===m[++o]&&o<b);f.match_length=Vf-(b-o),f.match_length>f.lookahead&&(f.match_length=f.lookahead)}if(f.match_length>=O?(e=af._tr_tally(f,1,f.match_length-O),f.lookahead-=f.match_length,f.strstart+=f.match_length,f.match_length=0):(e=af._tr_tally(f,0,f.window[f.strstart]),f.lookahead--,f.strstart++),e&&($(f,!1),f.strm.avail_out===0))return X}return f.insert=0,l===Nf?($(f,!0),f.strm.avail_out===0?wl:hl):f.last_lit&&($(f,!1),f.strm.avail_out===0)?X:Ll}function Km(f,l){for(var e;;){if(f.lookahead===0&&(tl(f),f.lookahead===0)){if(l===ol)return X;break}if(f.match_length=0,e=af._tr_tally(f,0,f.window[f.strstart]),f.lookahead--,f.strstart++,e&&($(f,!1),f.strm.avail_out===0))return X}return f.insert=0,l===Nf?($(f,!0),f.strm.avail_out===0?wl:hl):f.last_lit&&($(f,!1),f.strm.avail_out===0)?X:Ll}function Hf(f,l,e,t,o){this.good_length=f,this.max_lazy=l,this.nice_length=e,this.max_chain=t,this.func=o}var vl;vl=[new Hf(0,0,0,0,Em),new Hf(4,4,8,4,sw),new Hf(4,5,16,8,sw),new Hf(4,6,32,32,sw),new Hf(4,4,16,16,ul),new Hf(8,16,32,32,ul),new Hf(8,16,128,128,ul),new Hf(8,32,128,256,ul),new Hf(32,128,258,1024,ul),new Hf(32,258,258,4096,ul)];function Fm(f){f.window_size=2*f.w_size,Yf(f.head),f.max_lazy_match=vl[f.level].max_lazy,f.good_match=vl[f.level].good_length,f.nice_match=vl[f.level].nice_length,f.max_chain_length=vl[f.level].max_chain,f.strstart=0,f.block_start=0,f.lookahead=0,f.insert=0,f.match_length=f.prev_length=O-1,f.match_available=0,f.ins_h=0}function Dm(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=ue,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new ef.Buf16(ym*2),this.dyn_dtree=new ef.Buf16((2*_m+1)*2),this.bl_tree=new ef.Buf16((2*Bm+1)*2),Yf(this.dyn_ltree),Yf(this.dyn_dtree),Yf(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new ef.Buf16(Im+1),this.heap=new ef.Buf16(2*iw+1),Yf(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new ef.Buf16(2*iw+1),Yf(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function wo(f){var l;return!f||!f.state?Qf(f,sf):(f.total_in=f.total_out=0,f.data_type=vm,l=f.state,l.pending=0,l.pending_out=0,l.wrap<0&&(l.wrap=-l.wrap),l.status=l.wrap?ve:el,f.adler=l.wrap===2?0:1,l.last_flush=ol,af._tr_init(l),zf)}function to(f){var l=wo(f);return l===zf&&Fm(f.state),l}function Cm(f,l){return!f||!f.state||f.state.wrap!==2?sf:(f.state.gzhead=l,zf)}function oo(f,l,e,t,o,b){if(!f)return sf;var m=1;if(l===im&&(l=6),t<0?(m=0,t=-t):t>15&&(m=2,t-=16),o<1||o>hm||e!==ue||t<8||t>15||l<0||l>9||b<0||b>dm)return Qf(f,sf);t===8&&(t=9);var j=new Dm;return f.state=j,j.strm=f,j.wrap=m,j.gzhead=null,j.w_bits=t,j.w_size=1<<j.w_bits,j.w_mask=j.w_size-1,j.hash_bits=o+7,j.hash_size=1<<j.hash_bits,j.hash_mask=j.hash_size-1,j.hash_shift=~~((j.hash_bits+O-1)/O),j.window=new ef.Buf8(j.w_size*2),j.head=new ef.Buf16(j.hash_size),j.prev=new ef.Buf16(j.w_size),j.lit_bufsize=1<<o+6,j.pending_buf_size=j.lit_bufsize*4,j.pending_buf=new ef.Buf8(j.pending_buf_size),j.d_buf=1*j.lit_bufsize,j.l_buf=(1+2)*j.lit_bufsize,j.level=l,j.strategy=b,j.method=e,to(f)}function Wm(f,l){return oo(f,l,ue,cm,xm,um)}function Om(f,l){var e,t,o,b;if(!f||!f.state||l>Gt||l<0)return f?Qf(f,sf):sf;if(t=f.state,!f.output||!f.input&&f.avail_in!==0||t.status===Pl&&l!==Nf)return Qf(f,f.avail_out===0?aw:sf);if(t.strm=f,e=t.last_flush,t.last_flush=l,t.status===ve)if(t.wrap===2)f.adler=0,L(t,31),L(t,139),L(t,8),t.gzhead?(L(t,(t.gzhead.text?1:0)+(t.gzhead.hcrc?2:0)+(t.gzhead.extra?4:0)+(t.gzhead.name?8:0)+(t.gzhead.comment?16:0)),L(t,t.gzhead.time&255),L(t,t.gzhead.time>>8&255),L(t,t.gzhead.time>>16&255),L(t,t.gzhead.time>>24&255),L(t,t.level===9?2:t.strategy>=ie||t.level<2?4:0),L(t,t.gzhead.os&255),t.gzhead.extra&&t.gzhead.extra.length&&(L(t,t.gzhead.extra.length&255),L(t,t.gzhead.extra.length>>8&255)),t.gzhead.hcrc&&(f.adler=Lf(f.adler,t.pending_buf,t.pending,0)),t.gzindex=0,t.status=gw):(L(t,0),L(t,0),L(t,0),L(t,0),L(t,0),L(t,t.level===9?2:t.strategy>=ie||t.level<2?4:0),L(t,Rm),t.status=el);else{var m=ue+(t.w_bits-8<<4)<<8,j=-1;t.strategy>=ie||t.level<2?j=0:t.level<6?j=1:t.level===6?j=2:j=3,m|=j<<6,t.strstart!==0&&(m|=Tm),m+=31-m%31,t.status=el,Ul(t,m),t.strstart!==0&&(Ul(t,f.adler>>>16),Ul(t,f.adler&65535)),f.adler=1}if(t.status===gw)if(t.gzhead.extra){for(o=t.pending;t.gzindex<(t.gzhead.extra.length&65535)&&!(t.pending===t.pending_buf_size&&(t.gzhead.hcrc&&t.pending>o&&(f.adler=Lf(f.adler,t.pending_buf,t.pending-o,o)),Mf(f),o=t.pending,t.pending===t.pending_buf_size));)L(t,t.gzhead.extra[t.gzindex]&255),t.gzindex++;t.gzhead.hcrc&&t.pending>o&&(f.adler=Lf(f.adler,t.pending_buf,t.pending-o,o)),t.gzindex===t.gzhead.extra.length&&(t.gzindex=0,t.status=ge)}else t.status=ge;if(t.status===ge)if(t.gzhead.name){o=t.pending;do{if(t.pending===t.pending_buf_size&&(t.gzhead.hcrc&&t.pending>o&&(f.adler=Lf(f.adler,t.pending_buf,t.pending-o,o)),Mf(f),o=t.pending,t.pending===t.pending_buf_size)){b=1;break}t.gzindex<t.gzhead.name.length?b=t.gzhead.name.charCodeAt(t.gzindex++)&255:b=0,L(t,b)}while(b!==0);t.gzhead.hcrc&&t.pending>o&&(f.adler=Lf(f.adler,t.pending_buf,t.pending-o,o)),b===0&&(t.gzindex=0,t.status=ke)}else t.status=ke;if(t.status===ke)if(t.gzhead.comment){o=t.pending;do{if(t.pending===t.pending_buf_size&&(t.gzhead.hcrc&&t.pending>o&&(f.adler=Lf(f.adler,t.pending_buf,t.pending-o,o)),Mf(f),o=t.pending,t.pending===t.pending_buf_size)){b=1;break}t.gzindex<t.gzhead.comment.length?b=t.gzhead.comment.charCodeAt(t.gzindex++)&255:b=0,L(t,b)}while(b!==0);t.gzhead.hcrc&&t.pending>o&&(f.adler=Lf(f.adler,t.pending_buf,t.pending-o,o)),b===0&&(t.status=de)}else t.status=de;if(t.status===de&&(t.gzhead.hcrc?(t.pending+2>t.pending_buf_size&&Mf(f),t.pending+2<=t.pending_buf_size&&(L(t,f.adler&255),L(t,f.adler>>8&255),f.adler=0,t.status=el)):t.status=el),t.pending!==0){if(Mf(f),f.avail_out===0)return t.last_flush=-1,zf}else if(f.avail_in===0&&fo(l)<=fo(e)&&l!==Nf)return Qf(f,aw);if(t.status===Pl&&f.avail_in!==0)return Qf(f,aw);if(f.avail_in!==0||t.lookahead!==0||l!==ol&&t.status!==Pl){var k=t.strategy===ie?Km(t,l):t.strategy===km?Am(t,l):vl[t.level].func(t,l);if((k===wl||k===hl)&&(t.status=Pl),k===X||k===wl)return f.avail_out===0&&(t.last_flush=-1),zf;if(k===Ll&&(l===rm?af._tr_align(t):l!==Gt&&(af._tr_stored_block(t,0,0,!1),l===am&&(Yf(t.head),t.lookahead===0&&(t.strstart=0,t.block_start=0,t.insert=0))),Mf(f),f.avail_out===0))return t.last_flush=-1,zf}return l!==Nf?zf:t.wrap<=0?$t:(t.wrap===2?(L(t,f.adler&255),L(t,f.adler>>8&255),L(t,f.adler>>16&255),L(t,f.adler>>24&255),L(t,f.total_in&255),L(t,f.total_in>>8&255),L(t,f.total_in>>16&255),L(t,f.total_in>>24&255)):(Ul(t,f.adler>>>16),Ul(t,f.adler&65535)),Mf(f),t.wrap>0&&(t.wrap=-t.wrap),t.pending!==0?zf:$t)}function Um(f){var l;return!f||!f.state?sf:(l=f.state.status,l!==ve&&l!==gw&&l!==ge&&l!==ke&&l!==de&&l!==el&&l!==Pl?Qf(f,sf):(f.state=null,l===el?Qf(f,sm):zf))}function Pm(f,l){var e=l.length,t,o,b,m,j,k,r,s;if(!f||!f.state||(t=f.state,m=t.wrap,m===2||m===1&&t.status!==ve||t.lookahead))return sf;for(m===1&&(f.adler=lo(f.adler,l,e,0)),t.wrap=0,e>=t.w_size&&(m===0&&(Yf(t.head),t.strstart=0,t.block_start=0,t.insert=0),s=new ef.Buf8(t.w_size),ef.arraySet(s,l,e-t.w_size,t.w_size,0),l=s,e=t.w_size),j=f.avail_in,k=f.next_in,r=f.input,f.avail_in=e,f.next_in=0,f.input=l,tl(t);t.lookahead>=O;){o=t.strstart,b=t.lookahead-(O-1);do t.ins_h=(t.ins_h<<t.hash_shift^t.window[o+O-1])&t.hash_mask,t.prev[o&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=o,o++;while(--b);t.strstart=o,t.lookahead=O-1,tl(t)}return t.strstart+=t.lookahead,t.block_start=t.strstart,t.insert=t.lookahead,t.lookahead=0,t.match_length=t.prev_length=O-1,t.match_available=0,f.next_in=k,f.input=r,f.avail_in=j,t.wrap=m,zf}_f.deflateInit=Wm;_f.deflateInit2=oo;_f.deflateReset=to;_f.deflateResetKeep=wo;_f.deflateSetHeader=Cm;_f.deflate=Om;_f.deflateEnd=Um;_f.deflateSetDictionary=Pm;_f.deflateInfo="pako deflate (from Nodeca project)"});var kw=N(cl=>{"use strict";var he=Sf(),no=!0,mo=!0;try{String.fromCharCode.apply(null,[0])}catch{no=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{mo=!1}var Ml=new he.Buf8(256);for(Af=0;Af<256;Af++)Ml[Af]=Af>=252?6:Af>=248?5:Af>=240?4:Af>=224?3:Af>=192?2:1;var Af;Ml[254]=Ml[254]=1;cl.string2buf=function(f){var l,e,t,o,b,m=f.length,j=0;for(o=0;o<m;o++)e=f.charCodeAt(o),(e&64512)===55296&&o+1<m&&(t=f.charCodeAt(o+1),(t&64512)===56320&&(e=65536+(e-55296<<10)+(t-56320),o++)),j+=e<128?1:e<2048?2:e<65536?3:4;for(l=new he.Buf8(j),b=0,o=0;b<j;o++)e=f.charCodeAt(o),(e&64512)===55296&&o+1<m&&(t=f.charCodeAt(o+1),(t&64512)===56320&&(e=65536+(e-55296<<10)+(t-56320),o++)),e<128?l[b++]=e:e<2048?(l[b++]=192|e>>>6,l[b++]=128|e&63):e<65536?(l[b++]=224|e>>>12,l[b++]=128|e>>>6&63,l[b++]=128|e&63):(l[b++]=240|e>>>18,l[b++]=128|e>>>12&63,l[b++]=128|e>>>6&63,l[b++]=128|e&63);return l};function jo(f,l){if(l<65534&&(f.subarray&&mo||!f.subarray&&no))return String.fromCharCode.apply(null,he.shrinkBuf(f,l));for(var e="",t=0;t<l;t++)e+=String.fromCharCode(f[t]);return e}cl.buf2binstring=function(f){return jo(f,f.length)};cl.binstring2buf=function(f){for(var l=new he.Buf8(f.length),e=0,t=l.length;e<t;e++)l[e]=f.charCodeAt(e);return l};cl.buf2string=function(f,l){var e,t,o,b,m=l||f.length,j=new Array(m*2);for(t=0,e=0;e<m;){if(o=f[e++],o<128){j[t++]=o;continue}if(b=Ml[o],b>4){j[t++]=65533,e+=b-1;continue}for(o&=b===2?31:b===3?15:7;b>1&&e<m;)o=o<<6|f[e++]&63,b--;if(b>1){j[t++]=65533;continue}o<65536?j[t++]=o:(o-=65536,j[t++]=55296|o>>10&1023,j[t++]=56320|o&1023)}return jo(j,t)};cl.utf8border=function(f,l){var e;for(l=l||f.length,l>f.length&&(l=f.length),e=l-1;e>=0&&(f[e]&192)===128;)e--;return e<0||e===0?l:e+Ml[f[e]]>l?e:l}});var dw=N((Uq,po)=>{"use strict";function Lm(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}po.exports=Lm});var so=N(Ql=>{"use strict";var Yl=bo(),Vl=Sf(),vw=kw(),hw=se(),Mm=dw(),ao=Object.prototype.toString,Ym=0,uw=4,xl=0,qo=1,ro=2,Vm=-1,Qm=0,Nm=8;function bl(f){if(!(this instanceof bl))return new bl(f);this.options=Vl.assign({level:Vm,method:Nm,chunkSize:16384,windowBits:15,memLevel:8,strategy:Qm,to:""},f||{});var l=this.options;l.raw&&l.windowBits>0?l.windowBits=-l.windowBits:l.gzip&&l.windowBits>0&&l.windowBits<16&&(l.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Mm,this.strm.avail_out=0;var e=Yl.deflateInit2(this.strm,l.level,l.method,l.windowBits,l.memLevel,l.strategy);if(e!==xl)throw new Error(hw[e]);if(l.header&&Yl.deflateSetHeader(this.strm,l.header),l.dictionary){var t;if(typeof l.dictionary=="string"?t=vw.string2buf(l.dictionary):ao.call(l.dictionary)==="[object ArrayBuffer]"?t=new Uint8Array(l.dictionary):t=l.dictionary,e=Yl.deflateSetDictionary(this.strm,t),e!==xl)throw new Error(hw[e]);this._dict_set=!0}}bl.prototype.push=function(f,l){var e=this.strm,t=this.options.chunkSize,o,b;if(this.ended)return!1;b=l===~~l?l:l===!0?uw:Ym,typeof f=="string"?e.input=vw.string2buf(f):ao.call(f)==="[object ArrayBuffer]"?e.input=new Uint8Array(f):e.input=f,e.next_in=0,e.avail_in=e.input.length;do{if(e.avail_out===0&&(e.output=new Vl.Buf8(t),e.next_out=0,e.avail_out=t),o=Yl.deflate(e,b),o!==qo&&o!==xl)return this.onEnd(o),this.ended=!0,!1;(e.avail_out===0||e.avail_in===0&&(b===uw||b===ro))&&(this.options.to==="string"?this.onData(vw.buf2binstring(Vl.shrinkBuf(e.output,e.next_out))):this.onData(Vl.shrinkBuf(e.output,e.next_out)))}while((e.avail_in>0||e.avail_out===0)&&o!==qo);return b===uw?(o=Yl.deflateEnd(this.strm),this.onEnd(o),this.ended=!0,o===xl):(b===ro&&(this.onEnd(xl),e.avail_out=0),!0)};bl.prototype.onData=function(f){this.chunks.push(f)};bl.prototype.onEnd=function(f){f===xl&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Vl.flattenChunks(this.chunks)),this.chunks=[],this.err=f,this.msg=this.strm.msg};function cw(f,l){var e=new bl(l);if(e.push(f,!0),e.err)throw e.msg||hw[e.err];return e.result}function Zm(f,l){return l=l||{},l.raw=!0,cw(f,l)}function Jm(f,l){return l=l||{},l.gzip=!0,cw(f,l)}Ql.Deflate=bl;Ql.deflate=cw;Ql.deflateRaw=Zm;Ql.gzip=Jm});var go=N((Lq,io)=>{"use strict";var ce=30,Xm=12;io.exports=function(l,e){var t,o,b,m,j,k,r,s,y,u,d,z,x,S,I,U,P,T,h,W,R,B,F,Q,E;t=l.state,o=l.next_in,Q=l.input,b=o+(l.avail_in-5),m=l.next_out,E=l.output,j=m-(e-l.avail_out),k=m+(l.avail_out-257),r=t.dmax,s=t.wsize,y=t.whave,u=t.wnext,d=t.window,z=t.hold,x=t.bits,S=t.lencode,I=t.distcode,U=(1<<t.lenbits)-1,P=(1<<t.distbits)-1;f:do{x<15&&(z+=Q[o++]<<x,x+=8,z+=Q[o++]<<x,x+=8),T=S[z&U];l:for(;;){if(h=T>>>24,z>>>=h,x-=h,h=T>>>16&255,h===0)E[m++]=T&65535;else if(h&16){W=T&65535,h&=15,h&&(x<h&&(z+=Q[o++]<<x,x+=8),W+=z&(1<<h)-1,z>>>=h,x-=h),x<15&&(z+=Q[o++]<<x,x+=8,z+=Q[o++]<<x,x+=8),T=I[z&P];e:for(;;){if(h=T>>>24,z>>>=h,x-=h,h=T>>>16&255,h&16){if(R=T&65535,h&=15,x<h&&(z+=Q[o++]<<x,x+=8,x<h&&(z+=Q[o++]<<x,x+=8)),R+=z&(1<<h)-1,R>r){l.msg="invalid distance too far back",t.mode=ce;break f}if(z>>>=h,x-=h,h=m-j,R>h){if(h=R-h,h>y&&t.sane){l.msg="invalid distance too far back",t.mode=ce;break f}if(B=0,F=d,u===0){if(B+=s-h,h<W){W-=h;do E[m++]=d[B++];while(--h);B=m-R,F=E}}else if(u<h){if(B+=s+u-h,h-=u,h<W){W-=h;do E[m++]=d[B++];while(--h);if(B=0,u<W){h=u,W-=h;do E[m++]=d[B++];while(--h);B=m-R,F=E}}}else if(B+=u-h,h<W){W-=h;do E[m++]=d[B++];while(--h);B=m-R,F=E}for(;W>2;)E[m++]=F[B++],E[m++]=F[B++],E[m++]=F[B++],W-=3;W&&(E[m++]=F[B++],W>1&&(E[m++]=F[B++]))}else{B=m-R;do E[m++]=E[B++],E[m++]=E[B++],E[m++]=E[B++],W-=3;while(W>2);W&&(E[m++]=E[B++],W>1&&(E[m++]=E[B++]))}}else if(h&64){l.msg="invalid distance code",t.mode=ce;break f}else{T=I[(T&65535)+(z&(1<<h)-1)];continue e}break}}else if(h&64)if(h&32){t.mode=Xm;break f}else{l.msg="invalid literal/length code",t.mode=ce;break f}else{T=S[(T&65535)+(z&(1<<h)-1)];continue l}break}}while(o<b&&m<k);W=x>>3,o-=W,x-=W<<3,z&=(1<<x)-1,l.next_in=o,l.next_out=m,l.avail_in=o<b?5+(b-o):5-(o-b),l.avail_out=m<k?257+(k-m):257-(m-k),t.hold=z,t.bits=x}});var Ho=N((Mq,xo)=>{"use strict";var ko=Sf(),Hl=15,uo=852,vo=592,ho=0,xw=1,co=2,Gm=[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],$m=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],fj=[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,0,0],lj=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];xo.exports=function(l,e,t,o,b,m,j,k){var r=k.bits,s=0,y=0,u=0,d=0,z=0,x=0,S=0,I=0,U=0,P=0,T,h,W,R,B,F=null,Q=0,E,of=new ko.Buf16(Hl+1),pl=new ko.Buf16(Hl+1),ql=null,Zf=0,Bl,Df,Jf;for(s=0;s<=Hl;s++)of[s]=0;for(y=0;y<o;y++)of[e[t+y]]++;for(z=r,d=Hl;d>=1&&of[d]===0;d--);if(z>d&&(z=d),d===0)return b[m++]=1<<24|64<<16|0,b[m++]=1<<24|64<<16|0,k.bits=1,0;for(u=1;u<d&&of[u]===0;u++);for(z<u&&(z=u),I=1,s=1;s<=Hl;s++)if(I<<=1,I-=of[s],I<0)return-1;if(I>0&&(l===ho||d!==1))return-1;for(pl[1]=0,s=1;s<Hl;s++)pl[s+1]=pl[s]+of[s];for(y=0;y<o;y++)e[t+y]!==0&&(j[pl[e[t+y]]++]=y);if(l===ho?(F=ql=j,E=19):l===xw?(F=Gm,Q-=257,ql=$m,Zf-=257,E=256):(F=fj,ql=lj,E=-1),P=0,y=0,s=u,B=m,x=z,S=0,W=-1,U=1<<z,R=U-1,l===xw&&U>uo||l===co&&U>vo)return 1;for(;;){Bl=s-S,j[y]<E?(Df=0,Jf=j[y]):j[y]>E?(Df=ql[Zf+j[y]],Jf=F[Q+j[y]]):(Df=32+64,Jf=0),T=1<<s-S,h=1<<x,u=h;do h-=T,b[B+(P>>S)+h]=Bl<<24|Df<<16|Jf|0;while(h!==0);for(T=1<<s-1;P&T;)T>>=1;if(T!==0?(P&=T-1,P+=T):P=0,y++,--of[s]===0){if(s===d)break;s=e[t+j[y]]}if(s>z&&(P&R)!==W){for(S===0&&(S=z),B+=u,x=s-S,I=1<<x;x+S<d&&(I-=of[x+S],!(I<=0));)x++,I<<=1;if(U+=1<<x,l===xw&&U>uo||l===co&&U>vo)return 1;W=P&R,b[W]=z<<24|x<<16|B-m|0}}return P!==0&&(b[B+P]=s-S<<24|64<<16|0),k.bits=z,0}});var ob=N(uf=>{"use strict";var pf=Sf(),Iw=qw(),Bf=rw(),ej=go(),Nl=Ho(),wj=0,Jo=1,Xo=2,zo=4,tj=5,xe=6,nl=0,oj=1,bj=2,gf=-2,Go=-3,Tw=-4,nj=-5,_o=8,$o=1,Bo=2,yo=3,Io=4,To=5,Ro=6,So=7,Eo=8,Ao=9,Ko=10,_e=11,Kf=12,Hw=13,Fo=14,zw=15,Do=16,Co=17,Wo=18,Oo=19,He=20,ze=21,Uo=22,Po=23,Lo=24,Mo=25,Yo=26,_w=27,Vo=28,Qo=29,V=30,Rw=31,mj=32,jj=852,pj=592,qj=15,rj=qj;function No(f){return(f>>>24&255)+(f>>>8&65280)+((f&65280)<<8)+((f&255)<<24)}function aj(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new pf.Buf16(320),this.work=new pf.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function fb(f){var l;return!f||!f.state?gf:(l=f.state,f.total_in=f.total_out=l.total=0,f.msg="",l.wrap&&(f.adler=l.wrap&1),l.mode=$o,l.last=0,l.havedict=0,l.dmax=32768,l.head=null,l.hold=0,l.bits=0,l.lencode=l.lendyn=new pf.Buf32(jj),l.distcode=l.distdyn=new pf.Buf32(pj),l.sane=1,l.back=-1,nl)}function lb(f){var l;return!f||!f.state?gf:(l=f.state,l.wsize=0,l.whave=0,l.wnext=0,fb(f))}function eb(f,l){var e,t;return!f||!f.state||(t=f.state,l<0?(e=0,l=-l):(e=(l>>4)+1,l<48&&(l&=15)),l&&(l<8||l>15))?gf:(t.window!==null&&t.wbits!==l&&(t.window=null),t.wrap=e,t.wbits=l,lb(f))}function wb(f,l){var e,t;return f?(t=new aj,f.state=t,t.window=null,e=eb(f,l),e!==nl&&(f.state=null),e):gf}function sj(f){return wb(f,rj)}var Zo=!0,Bw,yw;function ij(f){if(Zo){var l;for(Bw=new pf.Buf32(512),yw=new pf.Buf32(32),l=0;l<144;)f.lens[l++]=8;for(;l<256;)f.lens[l++]=9;for(;l<280;)f.lens[l++]=7;for(;l<288;)f.lens[l++]=8;for(Nl(Jo,f.lens,0,288,Bw,0,f.work,{bits:9}),l=0;l<32;)f.lens[l++]=5;Nl(Xo,f.lens,0,32,yw,0,f.work,{bits:5}),Zo=!1}f.lencode=Bw,f.lenbits=9,f.distcode=yw,f.distbits=5}function tb(f,l,e,t){var o,b=f.state;return b.window===null&&(b.wsize=1<<b.wbits,b.wnext=0,b.whave=0,b.window=new pf.Buf8(b.wsize)),t>=b.wsize?(pf.arraySet(b.window,l,e-b.wsize,b.wsize,0),b.wnext=0,b.whave=b.wsize):(o=b.wsize-b.wnext,o>t&&(o=t),pf.arraySet(b.window,l,e-t,o,b.wnext),t-=o,t?(pf.arraySet(b.window,l,e-t,t,0),b.wnext=t,b.whave=b.wsize):(b.wnext+=o,b.wnext===b.wsize&&(b.wnext=0),b.whave<b.wsize&&(b.whave+=o))),0}function gj(f,l){var e,t,o,b,m,j,k,r,s,y,u,d,z,x,S=0,I,U,P,T,h,W,R,B,F=new pf.Buf8(4),Q,E,of=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!f||!f.state||!f.output||!f.input&&f.avail_in!==0)return gf;e=f.state,e.mode===Kf&&(e.mode=Hw),m=f.next_out,o=f.output,k=f.avail_out,b=f.next_in,t=f.input,j=f.avail_in,r=e.hold,s=e.bits,y=j,u=k,B=nl;f:for(;;)switch(e.mode){case $o:if(e.wrap===0){e.mode=Hw;break}for(;s<16;){if(j===0)break f;j--,r+=t[b++]<<s,s+=8}if(e.wrap&2&&r===35615){e.check=0,F[0]=r&255,F[1]=r>>>8&255,e.check=Bf(e.check,F,2,0),r=0,s=0,e.mode=Bo;break}if(e.flags=0,e.head&&(e.head.done=!1),!(e.wrap&1)||(((r&255)<<8)+(r>>8))%31){f.msg="incorrect header check",e.mode=V;break}if((r&15)!==_o){f.msg="unknown compression method",e.mode=V;break}if(r>>>=4,s-=4,R=(r&15)+8,e.wbits===0)e.wbits=R;else if(R>e.wbits){f.msg="invalid window size",e.mode=V;break}e.dmax=1<<R,f.adler=e.check=1,e.mode=r&512?Ko:Kf,r=0,s=0;break;case Bo:for(;s<16;){if(j===0)break f;j--,r+=t[b++]<<s,s+=8}if(e.flags=r,(e.flags&255)!==_o){f.msg="unknown compression method",e.mode=V;break}if(e.flags&57344){f.msg="unknown header flags set",e.mode=V;break}e.head&&(e.head.text=r>>8&1),e.flags&512&&(F[0]=r&255,F[1]=r>>>8&255,e.check=Bf(e.check,F,2,0)),r=0,s=0,e.mode=yo;case yo:for(;s<32;){if(j===0)break f;j--,r+=t[b++]<<s,s+=8}e.head&&(e.head.time=r),e.flags&512&&(F[0]=r&255,F[1]=r>>>8&255,F[2]=r>>>16&255,F[3]=r>>>24&255,e.check=Bf(e.check,F,4,0)),r=0,s=0,e.mode=Io;case Io:for(;s<16;){if(j===0)break f;j--,r+=t[b++]<<s,s+=8}e.head&&(e.head.xflags=r&255,e.head.os=r>>8),e.flags&512&&(F[0]=r&255,F[1]=r>>>8&255,e.check=Bf(e.check,F,2,0)),r=0,s=0,e.mode=To;case To:if(e.flags&1024){for(;s<16;){if(j===0)break f;j--,r+=t[b++]<<s,s+=8}e.length=r,e.head&&(e.head.extra_len=r),e.flags&512&&(F[0]=r&255,F[1]=r>>>8&255,e.check=Bf(e.check,F,2,0)),r=0,s=0}else e.head&&(e.head.extra=null);e.mode=Ro;case Ro:if(e.flags&1024&&(d=e.length,d>j&&(d=j),d&&(e.head&&(R=e.head.extra_len-e.length,e.head.extra||(e.head.extra=new Array(e.head.extra_len)),pf.arraySet(e.head.extra,t,b,d,R)),e.flags&512&&(e.check=Bf(e.check,t,d,b)),j-=d,b+=d,e.length-=d),e.length))break f;e.length=0,e.mode=So;case So:if(e.flags&2048){if(j===0)break f;d=0;do R=t[b+d++],e.head&&R&&e.length<65536&&(e.head.name+=String.fromCharCode(R));while(R&&d<j);if(e.flags&512&&(e.check=Bf(e.check,t,d,b)),j-=d,b+=d,R)break f}else e.head&&(e.head.name=null);e.length=0,e.mode=Eo;case Eo:if(e.flags&4096){if(j===0)break f;d=0;do R=t[b+d++],e.head&&R&&e.length<65536&&(e.head.comment+=String.fromCharCode(R));while(R&&d<j);if(e.flags&512&&(e.check=Bf(e.check,t,d,b)),j-=d,b+=d,R)break f}else e.head&&(e.head.comment=null);e.mode=Ao;case Ao:if(e.flags&512){for(;s<16;){if(j===0)break f;j--,r+=t[b++]<<s,s+=8}if(r!==(e.check&65535)){f.msg="header crc mismatch",e.mode=V;break}r=0,s=0}e.head&&(e.head.hcrc=e.flags>>9&1,e.head.done=!0),f.adler=e.check=0,e.mode=Kf;break;case Ko:for(;s<32;){if(j===0)break f;j--,r+=t[b++]<<s,s+=8}f.adler=e.check=No(r),r=0,s=0,e.mode=_e;case _e:if(e.havedict===0)return f.next_out=m,f.avail_out=k,f.next_in=b,f.avail_in=j,e.hold=r,e.bits=s,bj;f.adler=e.check=1,e.mode=Kf;case Kf:if(l===tj||l===xe)break f;case Hw:if(e.last){r>>>=s&7,s-=s&7,e.mode=_w;break}for(;s<3;){if(j===0)break f;j--,r+=t[b++]<<s,s+=8}switch(e.last=r&1,r>>>=1,s-=1,r&3){case 0:e.mode=Fo;break;case 1:if(ij(e),e.mode=He,l===xe){r>>>=2,s-=2;break f}break;case 2:e.mode=Co;break;case 3:f.msg="invalid block type",e.mode=V}r>>>=2,s-=2;break;case Fo:for(r>>>=s&7,s-=s&7;s<32;){if(j===0)break f;j--,r+=t[b++]<<s,s+=8}if((r&65535)!==(r>>>16^65535)){f.msg="invalid stored block lengths",e.mode=V;break}if(e.length=r&65535,r=0,s=0,e.mode=zw,l===xe)break f;case zw:e.mode=Do;case Do:if(d=e.length,d){if(d>j&&(d=j),d>k&&(d=k),d===0)break f;pf.arraySet(o,t,b,d,m),j-=d,b+=d,k-=d,m+=d,e.length-=d;break}e.mode=Kf;break;case Co:for(;s<14;){if(j===0)break f;j--,r+=t[b++]<<s,s+=8}if(e.nlen=(r&31)+257,r>>>=5,s-=5,e.ndist=(r&31)+1,r>>>=5,s-=5,e.ncode=(r&15)+4,r>>>=4,s-=4,e.nlen>286||e.ndist>30){f.msg="too many length or distance symbols",e.mode=V;break}e.have=0,e.mode=Wo;case Wo:for(;e.have<e.ncode;){for(;s<3;){if(j===0)break f;j--,r+=t[b++]<<s,s+=8}e.lens[of[e.have++]]=r&7,r>>>=3,s-=3}for(;e.have<19;)e.lens[of[e.have++]]=0;if(e.lencode=e.lendyn,e.lenbits=7,Q={bits:e.lenbits},B=Nl(wj,e.lens,0,19,e.lencode,0,e.work,Q),e.lenbits=Q.bits,B){f.msg="invalid code lengths set",e.mode=V;break}e.have=0,e.mode=Oo;case Oo:for(;e.have<e.nlen+e.ndist;){for(;S=e.lencode[r&(1<<e.lenbits)-1],I=S>>>24,U=S>>>16&255,P=S&65535,!(I<=s);){if(j===0)break f;j--,r+=t[b++]<<s,s+=8}if(P<16)r>>>=I,s-=I,e.lens[e.have++]=P;else{if(P===16){for(E=I+2;s<E;){if(j===0)break f;j--,r+=t[b++]<<s,s+=8}if(r>>>=I,s-=I,e.have===0){f.msg="invalid bit length repeat",e.mode=V;break}R=e.lens[e.have-1],d=3+(r&3),r>>>=2,s-=2}else if(P===17){for(E=I+3;s<E;){if(j===0)break f;j--,r+=t[b++]<<s,s+=8}r>>>=I,s-=I,R=0,d=3+(r&7),r>>>=3,s-=3}else{for(E=I+7;s<E;){if(j===0)break f;j--,r+=t[b++]<<s,s+=8}r>>>=I,s-=I,R=0,d=11+(r&127),r>>>=7,s-=7}if(e.have+d>e.nlen+e.ndist){f.msg="invalid bit length repeat",e.mode=V;break}for(;d--;)e.lens[e.have++]=R}}if(e.mode===V)break;if(e.lens[256]===0){f.msg="invalid code -- missing end-of-block",e.mode=V;break}if(e.lenbits=9,Q={bits:e.lenbits},B=Nl(Jo,e.lens,0,e.nlen,e.lencode,0,e.work,Q),e.lenbits=Q.bits,B){f.msg="invalid literal/lengths set",e.mode=V;break}if(e.distbits=6,e.distcode=e.distdyn,Q={bits:e.distbits},B=Nl(Xo,e.lens,e.nlen,e.ndist,e.distcode,0,e.work,Q),e.distbits=Q.bits,B){f.msg="invalid distances set",e.mode=V;break}if(e.mode=He,l===xe)break f;case He:e.mode=ze;case ze:if(j>=6&&k>=258){f.next_out=m,f.avail_out=k,f.next_in=b,f.avail_in=j,e.hold=r,e.bits=s,ej(f,u),m=f.next_out,o=f.output,k=f.avail_out,b=f.next_in,t=f.input,j=f.avail_in,r=e.hold,s=e.bits,e.mode===Kf&&(e.back=-1);break}for(e.back=0;S=e.lencode[r&(1<<e.lenbits)-1],I=S>>>24,U=S>>>16&255,P=S&65535,!(I<=s);){if(j===0)break f;j--,r+=t[b++]<<s,s+=8}if(U&&!(U&240)){for(T=I,h=U,W=P;S=e.lencode[W+((r&(1<<T+h)-1)>>T)],I=S>>>24,U=S>>>16&255,P=S&65535,!(T+I<=s);){if(j===0)break f;j--,r+=t[b++]<<s,s+=8}r>>>=T,s-=T,e.back+=T}if(r>>>=I,s-=I,e.back+=I,e.length=P,U===0){e.mode=Yo;break}if(U&32){e.back=-1,e.mode=Kf;break}if(U&64){f.msg="invalid literal/length code",e.mode=V;break}e.extra=U&15,e.mode=Uo;case Uo:if(e.extra){for(E=e.extra;s<E;){if(j===0)break f;j--,r+=t[b++]<<s,s+=8}e.length+=r&(1<<e.extra)-1,r>>>=e.extra,s-=e.extra,e.back+=e.extra}e.was=e.length,e.mode=Po;case Po:for(;S=e.distcode[r&(1<<e.distbits)-1],I=S>>>24,U=S>>>16&255,P=S&65535,!(I<=s);){if(j===0)break f;j--,r+=t[b++]<<s,s+=8}if(!(U&240)){for(T=I,h=U,W=P;S=e.distcode[W+((r&(1<<T+h)-1)>>T)],I=S>>>24,U=S>>>16&255,P=S&65535,!(T+I<=s);){if(j===0)break f;j--,r+=t[b++]<<s,s+=8}r>>>=T,s-=T,e.back+=T}if(r>>>=I,s-=I,e.back+=I,U&64){f.msg="invalid distance code",e.mode=V;break}e.offset=P,e.extra=U&15,e.mode=Lo;case Lo:if(e.extra){for(E=e.extra;s<E;){if(j===0)break f;j--,r+=t[b++]<<s,s+=8}e.offset+=r&(1<<e.extra)-1,r>>>=e.extra,s-=e.extra,e.back+=e.extra}if(e.offset>e.dmax){f.msg="invalid distance too far back",e.mode=V;break}e.mode=Mo;case Mo:if(k===0)break f;if(d=u-k,e.offset>d){if(d=e.offset-d,d>e.whave&&e.sane){f.msg="invalid distance too far back",e.mode=V;break}d>e.wnext?(d-=e.wnext,z=e.wsize-d):z=e.wnext-d,d>e.length&&(d=e.length),x=e.window}else x=o,z=m-e.offset,d=e.length;d>k&&(d=k),k-=d,e.length-=d;do o[m++]=x[z++];while(--d);e.length===0&&(e.mode=ze);break;case Yo:if(k===0)break f;o[m++]=e.length,k--,e.mode=ze;break;case _w:if(e.wrap){for(;s<32;){if(j===0)break f;j--,r|=t[b++]<<s,s+=8}if(u-=k,f.total_out+=u,e.total+=u,u&&(f.adler=e.check=e.flags?Bf(e.check,o,u,m-u):Iw(e.check,o,u,m-u)),u=k,(e.flags?r:No(r))!==e.check){f.msg="incorrect data check",e.mode=V;break}r=0,s=0}e.mode=Vo;case Vo:if(e.wrap&&e.flags){for(;s<32;){if(j===0)break f;j--,r+=t[b++]<<s,s+=8}if(r!==(e.total&4294967295)){f.msg="incorrect length check",e.mode=V;break}r=0,s=0}e.mode=Qo;case Qo:B=oj;break f;case V:B=Go;break f;case Rw:return Tw;case mj:default:return gf}return f.next_out=m,f.avail_out=k,f.next_in=b,f.avail_in=j,e.hold=r,e.bits=s,(e.wsize||u!==f.avail_out&&e.mode<V&&(e.mode<_w||l!==zo))&&tb(f,f.output,f.next_out,u-f.avail_out)?(e.mode=Rw,Tw):(y-=f.avail_in,u-=f.avail_out,f.total_in+=y,f.total_out+=u,e.total+=u,e.wrap&&u&&(f.adler=e.check=e.flags?Bf(e.check,o,u,f.next_out-u):Iw(e.check,o,u,f.next_out-u)),f.data_type=e.bits+(e.last?64:0)+(e.mode===Kf?128:0)+(e.mode===He||e.mode===zw?256:0),(y===0&&u===0||l===zo)&&B===nl&&(B=nj),B)}function kj(f){if(!f||!f.state)return gf;var l=f.state;return l.window&&(l.window=null),f.state=null,nl}function dj(f,l){var e;return!f||!f.state||(e=f.state,!(e.wrap&2))?gf:(e.head=l,l.done=!1,nl)}function uj(f,l){var e=l.length,t,o,b;return!f||!f.state||(t=f.state,t.wrap!==0&&t.mode!==_e)?gf:t.mode===_e&&(o=1,o=Iw(o,l,e,0),o!==t.check)?Go:(b=tb(f,l,e,e),b?(t.mode=Rw,Tw):(t.havedict=1,nl))}uf.inflateReset=lb;uf.inflateReset2=eb;uf.inflateResetKeep=fb;uf.inflateInit=sj;uf.inflateInit2=wb;uf.inflate=gj;uf.inflateEnd=kj;uf.inflateGetHeader=dj;uf.inflateSetDictionary=uj;uf.inflateInfo="pako inflate (from Nodeca project)"});var Sw=N((Vq,bb)=>{"use strict";bb.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}});var mb=N((Qq,nb)=>{"use strict";function vj(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}nb.exports=vj});var pb=N(Jl=>{"use strict";var zl=ob(),Zl=Sf(),Be=kw(),Z=Sw(),Ew=se(),hj=dw(),cj=mb(),jb=Object.prototype.toString;function ml(f){if(!(this instanceof ml))return new ml(f);this.options=Zl.assign({chunkSize:16384,windowBits:0,to:""},f||{});var l=this.options;l.raw&&l.windowBits>=0&&l.windowBits<16&&(l.windowBits=-l.windowBits,l.windowBits===0&&(l.windowBits=-15)),l.windowBits>=0&&l.windowBits<16&&!(f&&f.windowBits)&&(l.windowBits+=32),l.windowBits>15&&l.windowBits<48&&(l.windowBits&15||(l.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new hj,this.strm.avail_out=0;var e=zl.inflateInit2(this.strm,l.windowBits);if(e!==Z.Z_OK)throw new Error(Ew[e]);if(this.header=new cj,zl.inflateGetHeader(this.strm,this.header),l.dictionary&&(typeof l.dictionary=="string"?l.dictionary=Be.string2buf(l.dictionary):jb.call(l.dictionary)==="[object ArrayBuffer]"&&(l.dictionary=new Uint8Array(l.dictionary)),l.raw&&(e=zl.inflateSetDictionary(this.strm,l.dictionary),e!==Z.Z_OK)))throw new Error(Ew[e])}ml.prototype.push=function(f,l){var e=this.strm,t=this.options.chunkSize,o=this.options.dictionary,b,m,j,k,r,s=!1;if(this.ended)return!1;m=l===~~l?l:l===!0?Z.Z_FINISH:Z.Z_NO_FLUSH,typeof f=="string"?e.input=Be.binstring2buf(f):jb.call(f)==="[object ArrayBuffer]"?e.input=new Uint8Array(f):e.input=f,e.next_in=0,e.avail_in=e.input.length;do{if(e.avail_out===0&&(e.output=new Zl.Buf8(t),e.next_out=0,e.avail_out=t),b=zl.inflate(e,Z.Z_NO_FLUSH),b===Z.Z_NEED_DICT&&o&&(b=zl.inflateSetDictionary(this.strm,o)),b===Z.Z_BUF_ERROR&&s===!0&&(b=Z.Z_OK,s=!1),b!==Z.Z_STREAM_END&&b!==Z.Z_OK)return this.onEnd(b),this.ended=!0,!1;e.next_out&&(e.avail_out===0||b===Z.Z_STREAM_END||e.avail_in===0&&(m===Z.Z_FINISH||m===Z.Z_SYNC_FLUSH))&&(this.options.to==="string"?(j=Be.utf8border(e.output,e.next_out),k=e.next_out-j,r=Be.buf2string(e.output,j),e.next_out=k,e.avail_out=t-k,k&&Zl.arraySet(e.output,e.output,j,k,0),this.onData(r)):this.onData(Zl.shrinkBuf(e.output,e.next_out))),e.avail_in===0&&e.avail_out===0&&(s=!0)}while((e.avail_in>0||e.avail_out===0)&&b!==Z.Z_STREAM_END);return b===Z.Z_STREAM_END&&(m=Z.Z_FINISH),m===Z.Z_FINISH?(b=zl.inflateEnd(this.strm),this.onEnd(b),this.ended=!0,b===Z.Z_OK):(m===Z.Z_SYNC_FLUSH&&(this.onEnd(Z.Z_OK),e.avail_out=0),!0)};ml.prototype.onData=function(f){this.chunks.push(f)};ml.prototype.onEnd=function(f){f===Z.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Zl.flattenChunks(this.chunks)),this.chunks=[],this.err=f,this.msg=this.strm.msg};function Aw(f,l){var e=new ml(l);if(e.push(f,!0),e.err)throw e.msg||Ew[e.err];return e.result}function xj(f,l){return l=l||{},l.raw=!0,Aw(f,l)}Jl.Inflate=ml;Jl.inflate=Aw;Jl.inflateRaw=xj;Jl.ungzip=Aw});var ab=N((Zq,rb)=>{"use strict";var Hj=Sf().assign,zj=so(),_j=pb(),Bj=Sw(),qb={};Hj(qb,zj,_j,Bj);rb.exports=qb});var Kw=N(()=>{});var kb=N(gb=>{"use strict";var Ij=[0,255,65535,16777215,4294967295];function Tj(f,l,e,t,o){var b;for(b=0;b<o;b++)e[t+b]=f[l+b]}function Rj(f,l,e,t){var o;for(o=0;o<t;o++)f[l+o]=f[l-e+o]}function Fw(f){this.array=f,this.pos=0}Fw.prototype.readUncompressedLength=function(){for(var f=0,l=0,e,t;l<32&&this.pos<this.array.length;){if(e=this.array[this.pos],this.pos+=1,t=e&127,t<<l>>>l!==t)return-1;if(f|=t<<l,e<128)return f;l+=7}return-1};Fw.prototype.uncompressToBuffer=function(f){for(var l=this.array,e=l.length,t=this.pos,o=0,b,m,j,k;t<l.length;)if(b=l[t],t+=1,b&3){switch(b&3){case 1:m=(b>>>2&7)+4,k=l[t]+(b>>>5<<8),t+=1;break;case 2:if(t+1>=e)return!1;m=(b>>>2)+1,k=l[t]+(l[t+1]<<8),t+=2;break;case 3:if(t+3>=e)return!1;m=(b>>>2)+1,k=l[t]+(l[t+1]<<8)+(l[t+2]<<16)+(l[t+3]<<24),t+=4;break;default:break}if(k===0||k>o)return!1;Rj(f,o,k,m),o+=m}else{if(m=(b>>>2)+1,m>60){if(t+3>=e)return!1;j=m-60,m=l[t]+(l[t+1]<<8)+(l[t+2]<<16)+(l[t+3]<<24),m=(m&Ij[j])+1,t+=j}if(t+m>e)return!1;Tj(l,t,f,o,m),t+=m,o+=m}return!0};gb.SnappyDecompressor=Fw});var cb=N(hb=>{"use strict";var Sj=16,Ej=1<<Sj,vb=14,Dw=new Array(vb+1);function Gl(f,l){return f*506832829>>>l}function $l(f,l){return f[l]+(f[l+1]<<8)+(f[l+2]<<16)+(f[l+3]<<24)}function db(f,l,e){return f[l]===f[e]&&f[l+1]===f[e+1]&&f[l+2]===f[e+2]&&f[l+3]===f[e+3]}function Aj(f,l,e,t,o){var b;for(b=0;b<o;b++)e[t+b]=f[l+b]}function ub(f,l,e,t,o){return e<=60?(t[o]=e-1<<2,o+=1):e<256?(t[o]=60<<2,t[o+1]=e-1,o+=2):(t[o]=61<<2,t[o+1]=e-1&255,t[o+2]=e-1>>>8,o+=3),Aj(f,l,t,o,e),o+e}function Cw(f,l,e,t){return t<12&&e<2048?(f[l]=1+(t-4<<2)+(e>>>8<<5),f[l+1]=e&255,l+2):(f[l]=2+(t-1<<2),f[l+1]=e&255,f[l+2]=e>>>8,l+3)}function Kj(f,l,e,t){for(;t>=68;)l=Cw(f,l,e,64),t-=64;return t>64&&(l=Cw(f,l,e,60),t-=60),Cw(f,l,e,t)}function Fj(f,l,e,t,o){for(var b=1;1<<b<=e&&b<=vb;)b+=1;b-=1;var m=32-b;typeof Dw[b]>"u"&&(Dw[b]=new Uint16Array(1<<b));var j=Dw[b],k;for(k=0;k<j.length;k++)j[k]=0;var r=l+e,s,y=l,u=l,d,z,x,S,I,U,P,T,h,W,R,B=!0,F=15;if(e>=F)for(s=r-F,l+=1,z=Gl($l(f,l),m);B;){I=32,x=l;do{if(l=x,d=z,U=I>>>5,I+=1,x=l+U,l>s){B=!1;break}z=Gl($l(f,x),m),S=y+j[d],j[d]=l-y}while(!db(f,l,S));if(!B)break;o=ub(f,u,l-u,t,o);do{for(P=l,T=4;l+T<r&&f[l+T]===f[S+T];)T+=1;if(l+=T,h=P-S,o=Kj(t,o,h,T),u=l,l>=s){B=!1;break}W=Gl($l(f,l-1),m),j[W]=l-1-y,R=Gl($l(f,l),m),S=y+j[R],j[R]=l-y}while(db(f,l,S));if(!B)break;l+=1,z=Gl($l(f,l),m)}return u<r&&(o=ub(f,u,r-u,t,o)),o}function Dj(f,l,e){do l[e]=f&127,f=f>>>7,f>0&&(l[e]+=128),e+=1;while(f>0);return e}function Ww(f){this.array=f}Ww.prototype.maxCompressedLength=function(){var f=this.