月球大数据地理空间分析展示平台-【中台】
WX
2023-07-19 e815dad728f0aba7b2bb2b2087dad4c36e68652f
1
(function(Q){var i2=15,M2=30,I2=19,v1=29,p2=256,R2=p2+1+v1,X2=2*R2+1,f2=256,s1=7,Y2=16,G2=17,V2=18,L2=8*2,O2=-1,c1=1,b2=2,h1=0,e2=0,W2=1,x1=3,O=4,C=0,J2=1,g2=2,B=-2,p1=-3,a2=-5,Q2=[0,1,2,3,4,4,5,5,6,6,6,6,7,7,7,7,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,0,0,16,17,18,18,19,19,20,20,20,20,21,21,21,21,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29];function m(){var a=this;function o(i){var v=a.dyn_tree,c=a.stat_desc.static_tree,y=a.stat_desc.extra_bits,x=a.stat_desc.extra_base,f=a.stat_desc.max_length,E,h,g,u,Z,j,k=0;for(u=0;u<=i2;u++)i.bl_count[u]=0;for(v[i.heap[i.heap_max]*2+1]=0,E=i.heap_max+1;E<X2;E++)h=i.heap[E],u=v[v[h*2+1]*2+1]+1,u>f&&(u=f,k++),v[h*2+1]=u,!(h>a.max_code)&&(i.bl_count[u]++,Z=0,h>=x&&(Z=y[h-x]),j=v[h*2],i.opt_len+=j*(u+Z),c&&(i.static_len+=j*(c[h*2+1]+Z)));if(k!==0){do{for(u=f-1;i.bl_count[u]===0;)u--;i.bl_count[u]--,i.bl_count[u+1]+=2,i.bl_count[f]--,k-=2}while(k>0);for(u=f;u!==0;u--)for(h=i.bl_count[u];h!==0;)g=i.heap[--E],!(g>a.max_code)&&(v[g*2+1]!=u&&(i.opt_len+=(u-v[g*2+1])*v[g*2],v[g*2+1]=u),h--)}}function l(i,v){var c=0;do c|=i&1,i>>>=1,c<<=1;while(--v>0);return c>>>1}function w(i,v,c){var y=[],x=0,f,E,h;for(f=1;f<=i2;f++)y[f]=x=x+c[f-1]<<1;for(E=0;E<=v;E++)h=i[E*2+1],h!==0&&(i[E*2]=l(y[h]++,h))}a.build_tree=function(i){var v=a.dyn_tree,c=a.stat_desc.static_tree,y=a.stat_desc.elems,x,f,E=-1,h;for(i.heap_len=0,i.heap_max=X2,x=0;x<y;x++)v[x*2]!==0?(i.heap[++i.heap_len]=E=x,i.depth[x]=0):v[x*2+1]=0;for(;i.heap_len<2;)h=i.heap[++i.heap_len]=E<2?++E:0,v[h*2]=1,i.depth[h]=0,i.opt_len--,c&&(i.static_len-=c[h*2+1]);for(a.max_code=E,x=Math.floor(i.heap_len/2);x>=1;x--)i.pqdownheap(v,x);h=y;do x=i.heap[1],i.heap[1]=i.heap[i.heap_len--],i.pqdownheap(v,1),f=i.heap[1],i.heap[--i.heap_max]=x,i.heap[--i.heap_max]=f,v[h*2]=v[x*2]+v[f*2],i.depth[h]=Math.max(i.depth[x],i.depth[f])+1,v[x*2+1]=v[f*2+1]=h,i.heap[1]=h++,i.pqdownheap(v,1);while(i.heap_len>=2);i.heap[--i.heap_max]=i.heap[1],o(i),w(v,a.max_code,i.bl_count)}}m._length_code=[0,1,2,3,4,5,6,7,8,8,9,9,10,10,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,16,16,16,16,17,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28],m.base_length=[0,1,2,3,4,5,6,7,8,10,12,14,16,20,24,28,32,40,48,56,64,80,96,112,128,160,192,224,0],m.base_dist=[0,1,2,3,4,6,8,12,16,24,32,48,64,96,128,192,256,384,512,768,1024,1536,2048,3072,4096,6144,8192,12288,16384,24576],m.d_code=function(a){return a<256?Q2[a]:Q2[256+(a>>>7)]},m.extra_lbits=[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],m.extra_dbits=[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],m.extra_blbits=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],m.bl_order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];function A(a,o,l,w,i){var v=this;v.static_tree=a,v.extra_bits=o,v.extra_base=l,v.elems=w,v.max_length=i}A.static_ltree=[12,8,140,8,76,8,204,8,44,8,172,8,108,8,236,8,28,8,156,8,92,8,220,8,60,8,188,8,124,8,252,8,2,8,130,8,66,8,194,8,34,8,162,8,98,8,226,8,18,8,146,8,82,8,210,8,50,8,178,8,114,8,242,8,10,8,138,8,74,8,202,8,42,8,170,8,106,8,234,8,26,8,154,8,90,8,218,8,58,8,186,8,122,8,250,8,6,8,134,8,70,8,198,8,38,8,166,8,102,8,230,8,22,8,150,8,86,8,214,8,54,8,182,8,118,8,246,8,14,8,142,8,78,8,206,8,46,8,174,8,110,8,238,8,30,8,158,8,94,8,222,8,62,8,190,8,126,8,254,8,1,8,129,8,65,8,193,8,33,8,161,8,97,8,225,8,17,8,145,8,81,8,209,8,49,8,177,8,113,8,241,8,9,8,137,8,73,8,201,8,41,8,169,8,105,8,233,8,25,8,153,8,89,8,217,8,57,8,185,8,121,8,249,8,5,8,133,8,69,8,197,8,37,8,165,8,101,8,229,8,21,8,149,8,85,8,213,8,53,8,181,8,117,8,245,8,13,8,141,8,77,8,205,8,45,8,173,8,109,8,237,8,29,8,157,8,93,8,221,8,61,8,189,8,125,8,253,8,19,9,275,9,147,9,403,9,83,9,339,9,211,9,467,9,51,9,307,9,179,9,435,9,115,9,371,9,243,9,499,9,11,9,267,9,139,9,395,9,75,9,331,9,203,9,459,9,43,9,299,9,171,9,427,9,107,9,363,9,235,9,491,9,27,9,283,9,155,9,411,9,91,9,347,9,219,9,475,9,59,9,315,9,187,9,443,9,123,9,379,9,251,9,507,9,7,9,263,9,135,9,391,9,71,9,327,9,199,9,455,9,39,9,295,9,167,9,423,9,103,9,359,9,231,9,487,9,23,9,279,9,151,9,407,9,87,9,343,9,215,9,471,9,55,9,311,9,183,9,439,9,119,9,375,9,247,9,503,9,15,9,271,9,143,9,399,9,79,9,335,9,207,9,463,9,47,9,303,9,175,9,431,9,111,9,367,9,239,9,495,9,31,9,287,9,159,9,415,9,95,9,351,9,223,9,479,9,63,9,319,9,191,9,447,9,127,9,383,9,255,9,511,9,0,7,64,7,32,7,96,7,16,7,80,7,48,7,112,7,8,7,72,7,40,7,104,7,24,7,88,7,56,7,120,7,4,7,68,7,36,7,100,7,20,7,84,7,52,7,116,7,3,8,131,8,67,8,195,8,35,8,163,8,99,8,227,8],A.static_dtree=[0,5,16,5,8,5,24,5,4,5,20,5,12,5,28,5,2,5,18,5,10,5,26,5,6,5,22,5,14,5,30,5,1,5,17,5,9,5,25,5,5,5,21,5,13,5,29,5,3,5,19,5,11,5,27,5,7,5,23,5],A.static_l_desc=new A(A.static_ltree,m.extra_lbits,p2+1,R2,i2),A.static_d_desc=new A(A.static_dtree,m.extra_dbits,0,M2,i2),A.static_bl_desc=new A(null,m.extra_blbits,0,I2,s1);var b1=9,g1=8;function X(a,o,l,w,i){var v=this;v.good_length=a,v.max_lazy=o,v.nice_length=l,v.max_chain=w,v.func=i}var $2=0,w2=1,$=2,H=[new X(0,0,0,0,$2),new X(4,4,8,4,w2),new X(4,5,16,8,w2),new X(4,6,32,32,w2),new X(4,4,16,16,$),new X(8,16,32,32,$),new X(8,16,128,128,$),new X(8,32,128,256,$),new X(32,128,258,1024,$),new X(32,258,258,4096,$)],E2=["need dictionary","stream end","","","stream error","data error","","buffer error","",""],U=0,m2=1,_2=2,S2=3,w1=32,Z2=42,T2=113,l2=666,k2=8,E1=0,z2=1,m1=2,S=3,A2=258,z=A2+S+1;function j2(a,o,l,w){var i=a[o*2],v=a[l*2];return i<v||i==v&&w[o]<=w[l]}function S1(){var a=this,o,l,w,i,v,c,y,x,f,E,h,g,u,Z,j,k,G,Y,T,a1,t2,d,o2,b,P,U2,D2,D,u2,N2,C2,V,W,M,d2=new m,v2=new m,B2=new m;a.depth=[];var H2,n2,q,s2,P2,c2,N,I;a.bl_count=[],a.heap=[],V=[],W=[],M=[];function T1(){var e;for(E=2*c,g[Z-1]=0,e=0;e<Z-1;e++)g[e]=0;D2=H[D].max_lazy,N2=H[D].good_length,C2=H[D].nice_length,U2=H[D].max_chain,d=0,Y=0,b=0,T=P=S-1,t2=0,u=0}function t1(){var e;for(e=0;e<R2;e++)V[e*2]=0;for(e=0;e<M2;e++)W[e*2]=0;for(e=0;e<I2;e++)M[e*2]=0;V[f2*2]=1,a.opt_len=a.static_len=0,q=P2=0}function A1(){d2.dyn_tree=V,d2.stat_desc=A.static_l_desc,v2.dyn_tree=W,v2.stat_desc=A.static_d_desc,B2.dyn_tree=M,B2.stat_desc=A.static_bl_desc,N=0,I=0,c2=8,t1()}a.pqdownheap=function(e,n){for(var t=a.heap,r=t[n],_=n<<1;_<=a.heap_len&&(_<a.heap_len&&j2(e,t[_+1],t[_],a.depth)&&_++,!j2(e,r,t[_],a.depth));)t[n]=t[_],n=_,_<<=1;t[n]=r};function n1(e,n){var t,r=-1,_,s=e[0*2+1],p=0,L=7,F=4;for(s===0&&(L=138,F=3),e[(n+1)*2+1]=65535,t=0;t<=n;t++)_=s,s=e[(t+1)*2+1],!(++p<L&&_==s)&&(p<F?M[_*2]+=p:_!==0?(_!=r&&M[_*2]++,M[Y2*2]++):p<=10?M[G2*2]++:M[V2*2]++,p=0,r=_,s===0?(L=138,F=3):_==s?(L=6,F=3):(L=7,F=4))}function y1(){var e;for(n1(V,d2.max_code),n1(W,v2.max_code),B2.build_tree(a),e=I2-1;e>=3&&M[m.bl_order[e]*2+1]===0;e--);return a.opt_len+=3*(e+1)+5+5+4,e}function r2(e){a.pending_buf[a.pending++]=e}function h2(e){r2(e&255),r2(e>>>8&255)}function D1(e){r2(e>>8&255),r2(e&255&255)}function R(e,n){var t,r=n;I>L2-r?(t=e,N|=t<<I&65535,h2(N),N=t>>>L2-I,I+=r-L2):(N|=e<<I&65535,I+=r)}function K(e,n){var t=e*2;R(n[t]&65535,n[t+1]&65535)}function r1(e,n){var t,r=-1,_,s=e[0*2+1],p=0,L=7,F=4;for(s===0&&(L=138,F=3),t=0;t<=n;t++)if(_=s,s=e[(t+1)*2+1],!(++p<L&&_==s)){if(p<F)do K(_,M);while(--p!==0);else _!==0?(_!=r&&(K(_,M),p--),K(Y2,M),R(p-3,2)):p<=10?(K(G2,M),R(p-3,3)):(K(V2,M),R(p-11,7));p=0,r=_,s===0?(L=138,F=3):_==s?(L=6,F=3):(L=7,F=4)}}function M1(e,n,t){var r;for(R(e-257,5),R(n-1,5),R(t-4,4),r=0;r<t;r++)R(M[m.bl_order[r]*2+1],3);r1(V,e-1),r1(W,n-1)}function i1(){I==16?(h2(N),N=0,I=0):I>=8&&(r2(N&255),N>>>=8,I-=8)}function I1(){R(z2<<1,3),K(f2,A.static_ltree),i1(),1+c2+10-I<9&&(R(z2<<1,3),K(f2,A.static_ltree),i1()),c2=7}function x2(e,n){var t,r,_;if(a.pending_buf[s2+q*2]=e>>>8&255,a.pending_buf[s2+q*2+1]=e&255,a.pending_buf[H2+q]=n&255,q++,e===0?V[n*2]++:(P2++,e--,V[(m._length_code[n]+p2+1)*2]++,W[m.d_code(e)*2]++),(q&8191)===0&&D>2){for(t=q*8,r=d-Y,_=0;_<M2;_++)t+=W[_*2]*(5+m.extra_dbits[_]);if(t>>>=3,P2<Math.floor(q/2)&&t<Math.floor(r/2))return!0}return q==n2-1}function f1(e,n){var t,r,_=0,s,p;if(q!==0)do t=a.pending_buf[s2+_*2]<<8&65280|a.pending_buf[s2+_*2+1]&255,r=a.pending_buf[H2+_]&255,_++,t===0?K(r,e):(s=m._length_code[r],K(s+p2+1,e),p=m.extra_lbits[s],p!==0&&(r-=m.base_length[s],R(r,p)),t--,s=m.d_code(t),K(s,n),p=m.extra_dbits[s],p!==0&&(t-=m.base_dist[s],R(t,p)));while(_<q);K(f2,e),c2=e[f2*2+1]}function _1(){I>8?h2(N):I>0&&r2(N&255),N=0,I=0}function R1(e,n,t){_1(),c2=8,t&&(h2(n),h2(~n)),a.pending_buf.set(f.subarray(e,e+n),a.pending),a.pending+=n}function l1(e,n,t){R((E1<<1)+(t?1:0),3),R1(e,n,!0)}function L1(e,n,t){var r,_,s=0;D>0?(d2.build_tree(a),v2.build_tree(a),s=y1(),r=a.opt_len+3+7>>>3,_=a.static_len+3+7>>>3,_<=r&&(r=_)):r=_=n+5,n+4<=r&&e!=-1?l1(e,n,t):_==r?(R((z2<<1)+(t?1:0),3),f1(A.static_ltree,A.static_dtree)):(R((m1<<1)+(t?1:0),3),M1(d2.max_code+1,v2.max_code+1,s+1),f1(V,W)),t1(),t&&_1()}function J(e){L1(Y>=0?Y:-1,d-Y,e),Y=d,o.flush_pending()}function q2(){var e,n,t,r;do{if(r=E-b-d,r===0&&d===0&&b===0)r=c;else if(r==-1)r--;else if(d>=c+c-z){f.set(f.subarray(c,c+c),0),o2-=c,d-=c,Y-=c,e=Z,t=e;do n=g[--t]&65535,g[t]=n>=c?n-c:0;while(--e!==0);e=c,t=e;do n=h[--t]&65535,h[t]=n>=c?n-c:0;while(--e!==0);r+=c}if(o.avail_in===0)return;e=o.read_buf(f,d+b,r),b+=e,b>=S&&(u=f[d]&255,u=(u<<G^f[d+1]&255)&k)}while(b<z&&o.avail_in!==0)}function O1(e){var n=65535,t;for(n>w-5&&(n=w-5);;){if(b<=1){if(q2(),b===0&&e==e2)return U;if(b===0)break}if(d+=b,b=0,t=Y+n,(d===0||d>=t)&&(b=d-t,d=t,J(!1),o.avail_out===0)||d-Y>=c-z&&(J(!1),o.avail_out===0))return U}return J(e==O),o.avail_out===0?e==O?_2:U:e==O?S2:m2}function o1(e){var n=U2,t=d,r,_,s=P,p=d>c-z?d-(c-z):0,L=C2,F=x,K2=d+A2,u1=f[t+s-1],d1=f[t+s];P>=N2&&(n>>=2),L>b&&(L=b);do if(r=e,!(f[r+s]!=d1||f[r+s-1]!=u1||f[r]!=f[t]||f[++r]!=f[t+1])){t+=2,r++;do;while(f[++t]==f[++r]&&f[++t]==f[++r]&&f[++t]==f[++r]&&f[++t]==f[++r]&&f[++t]==f[++r]&&f[++t]==f[++r]&&f[++t]==f[++r]&&f[++t]==f[++r]&&t<K2);if(_=A2-(K2-t),t=K2-A2,_>s){if(o2=e,s=_,_>=L)break;u1=f[t+s-1],d1=f[t+s]}}while((e=h[e&F]&65535)>p&&--n!==0);return s<=b?s:b}function Z1(e){for(var n=0,t;;){if(b<z){if(q2(),b<z&&e==e2)return U;if(b===0)break}if(b>=S&&(u=(u<<G^f[d+(S-1)]&255)&k,n=g[u]&65535,h[d&x]=g[u],g[u]=d),n!==0&&(d-n&65535)<=c-z&&u2!=b2&&(T=o1(n)),T>=S)if(t=x2(d-o2,T-S),b-=T,T<=D2&&b>=S){T--;do d++,u=(u<<G^f[d+(S-1)]&255)&k,n=g[u]&65535,h[d&x]=g[u],g[u]=d;while(--T!==0);d++}else d+=T,T=0,u=f[d]&255,u=(u<<G^f[d+1]&255)&k;else t=x2(0,f[d]&255),b--,d++;if(t&&(J(!1),o.avail_out===0))return U}return J(e==O),o.avail_out===0?e==O?_2:U:e==O?S2:m2}function k1(e){for(var n=0,t,r;;){if(b<z){if(q2(),b<z&&e==e2)return U;if(b===0)break}if(b>=S&&(u=(u<<G^f[d+(S-1)]&255)&k,n=g[u]&65535,h[d&x]=g[u],g[u]=d),P=T,a1=o2,T=S-1,n!==0&&P<D2&&(d-n&65535)<=c-z&&(u2!=b2&&(T=o1(n)),T<=5&&(u2==c1||T==S&&d-o2>4096)&&(T=S-1)),P>=S&&T<=P){r=d+b-S,t=x2(d-1-a1,P-S),b-=P-1,P-=2;do++d<=r&&(u=(u<<G^f[d+(S-1)]&255)&k,n=g[u]&65535,h[d&x]=g[u],g[u]=d);while(--P!==0);if(t2=0,T=S-1,d++,t&&(J(!1),o.avail_out===0))return U}else if(t2!==0){if(t=x2(0,f[d-1]&255),t&&J(!1),d++,b--,o.avail_out===0)return U}else t2=1,d++,b--}return t2!==0&&(t=x2(0,f[d-1]&255),t2=0),J(e==O),o.avail_out===0?e==O?_2:U:e==O?S2:m2}function z1(e){return e.total_in=e.total_out=0,e.msg=null,a.pending=0,a.pending_out=0,l=T2,v=e2,A1(),T1(),C}a.deflateInit=function(e,n,t,r,_,s){return r||(r=k2),_||(_=g1),s||(s=h1),e.msg=null,n==O2&&(n=6),_<1||_>b1||r!=k2||t<9||t>15||n<0||n>9||s<0||s>b2?B:(e.dstate=a,y=t,c=1<<y,x=c-1,j=_+7,Z=1<<j,k=Z-1,G=Math.floor((j+S-1)/S),f=new Uint8Array(c*2),h=[],g=[],n2=1<<_+6,a.pending_buf=new Uint8Array(n2*4),w=n2*4,s2=Math.floor(n2/2),H2=(1+2)*n2,D=n,u2=s,i=r&255,z1(e))},a.deflateEnd=function(){return l!=Z2&&l!=T2&&l!=l2?B:(a.pending_buf=null,g=null,h=null,f=null,a.dstate=null,l==T2?p1:C)},a.deflateParams=function(e,n,t){var r=C;return n==O2&&(n=6),n<0||n>9||t<0||t>b2?B:(H[D].func!=H[n].func&&e.total_in!==0&&(r=e.deflate(W2)),D!=n&&(D=n,D2=H[D].max_lazy,N2=H[D].good_length,C2=H[D].nice_length,U2=H[D].max_chain),u2=t,r)},a.deflateSetDictionary=function(e,n,t){var r=t,_,s=0;if(!n||l!=Z2)return B;if(r<S)return C;for(r>c-z&&(r=c-z,s=t-r),f.set(n.subarray(s,s+r),0),d=r,Y=r,u=f[0]&255,u=(u<<G^f[1]&255)&k,_=0;_<=r-S;_++)u=(u<<G^f[_+(S-1)]&255)&k,h[_&x]=g[u],g[u]=_;return C},a.deflate=function(e,n){var t,r,_,s,p;if(n>O||n<0)return B;if(!e.next_out||!e.next_in&&e.avail_in!==0||l==l2&&n!=O)return e.msg=E2[g2-B],B;if(e.avail_out===0)return e.msg=E2[g2-a2],a2;if(o=e,s=v,v=n,l==Z2&&(r=k2+(y-8<<4)<<8,_=(D-1&255)>>1,_>3&&(_=3),r|=_<<6,d!==0&&(r|=w1),r+=31-r%31,l=T2,D1(r)),a.pending!==0){if(o.flush_pending(),o.avail_out===0)return v=-1,C}else if(o.avail_in===0&&n<=s&&n!=O)return o.msg=E2[g2-a2],a2;if(l==l2&&o.avail_in!==0)return e.msg=E2[g2-a2],a2;if(o.avail_in!==0||b!==0||n!=e2&&l!=l2){switch(p=-1,H[D].func){case $2:p=O1(n);break;case w2:p=Z1(n);break;case $:p=k1(n);break;default:}if((p==_2||p==S2)&&(l=l2),p==U||p==_2)return o.avail_out===0&&(v=-1),C;if(p==m2){if(n==W2)I1();else if(l1(0,0,!1),n==x1)for(t=0;t<Z;t++)g[t]=0;if(o.flush_pending(),o.avail_out===0)return v=-1,C}}return n!=O?C:J2}}function e1(){var a=this;a.next_in_index=0,a.next_out_index=0,a.avail_in=0,a.total_in=0,a.avail_out=0,a.total_out=0}e1.prototype={deflateInit:function(a,o){var l=this;return l.dstate=new S1,o||(o=i2),l.dstate.deflateInit(l,a,o)},deflate:function(a){var o=this;return o.dstate?o.dstate.deflate(o,a):B},deflateEnd:function(){var a=this;if(!a.dstate)return B;var o=a.dstate.deflateEnd();return a.dstate=null,o},deflateParams:function(a,o){var l=this;return l.dstate?l.dstate.deflateParams(l,a,o):B},deflateSetDictionary:function(a,o){var l=this;return l.dstate?l.dstate.deflateSetDictionary(l,a,o):B},read_buf:function(a,o,l){var w=this,i=w.avail_in;return i>l&&(i=l),i===0?0:(w.avail_in-=i,a.set(w.next_in.subarray(w.next_in_index,w.next_in_index+i),o),w.next_in_index+=i,w.total_in+=i,i)},flush_pending:function(){var a=this,o=a.dstate.pending;o>a.avail_out&&(o=a.avail_out),o!==0&&(a.next_out.set(a.dstate.pending_buf.subarray(a.dstate.pending_out,a.dstate.pending_out+o),a.next_out_index),a.next_out_index+=o,a.dstate.pending_out+=o,a.total_out+=o,a.avail_out-=o,a.dstate.pending-=o,a.dstate.pending===0&&(a.dstate.pending_out=0))}};function F2(a){var o=this,l=new e1,w=512,i=e2,v=new Uint8Array(w);typeof a>"u"&&(a=O2),l.deflateInit(a),l.next_out=v,o.append=function(c,y){var x,f=[],E=0,h=0,g=0,u;if(!!c.length){l.next_in_index=0,l.next_in=c,l.avail_in=c.length;do{if(l.next_out_index=0,l.avail_out=w,x=l.deflate(i),x!=C)throw"deflating: "+l.msg;l.next_out_index&&(l.next_out_index==w?f.push(new Uint8Array(v)):f.push(new Uint8Array(v.subarray(0,l.next_out_index)))),g+=l.next_out_index,y&&l.next_in_index>0&&l.next_in_index!=E&&(y(l.next_in_index),E=l.next_in_index)}while(l.avail_in>0||l.avail_out===0);return u=new Uint8Array(g),f.forEach(function(Z){u.set(Z,h),h+=Z.length}),u}},o.flush=function(){var c,y=[],x=0,f=0,E;do{if(l.next_out_index=0,l.avail_out=w,c=l.deflate(O),c!=J2&&c!=C)throw"deflating: "+l.msg;w-l.avail_out>0&&y.push(new Uint8Array(v.subarray(0,l.next_out_index))),f+=l.next_out_index}while(l.avail_in>0||l.avail_out===0);return l.deflateEnd(),E=new Uint8Array(f),y.forEach(function(h){E.set(h,x),x+=h.length}),E}}var y2;Q.zip?Q.zip.Deflater=F2:(y2=new F2,Q.addEventListener("message",function(a){var o=a.data;o.init&&(y2=new F2(o.level),Q.postMessage({oninit:!0})),o.append&&Q.postMessage({onappend:!0,data:y2.append(o.data,function(l){Q.postMessage({progress:!0,current:l})})}),o.flush&&Q.postMessage({onflush:!0,data:y2.flush()})},!1))})(void 0);