moreShopAdmin/dist/admin/assets/fflate.0418c72f.js

2 lines
8.8 KiB
JavaScript
Raw Normal View History

2024-11-08 12:27:11 +08:00
var B=Uint8Array,Q=Uint16Array,kr=Int32Array,or=new B([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,0,0,0]),ur=new B([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,0,0]),gr=new B([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Sr=function(r,a){for(var n=new Q(31),e=0;e<31;++e)n[e]=a+=1<<r[e-1];for(var v=new kr(n[30]),e=1;e<30;++e)for(var f=n[e];f<n[e+1];++f)v[f]=f-n[e]<<5|e;return{b:n,r:v}},Tr=Sr(or,2),Cr=Tr.b,Mr=Tr.r;Cr[28]=258,Mr[258]=28;var Er=Sr(ur,0),Dr=Er.b,yr=Er.r,xr=new Q(32768);for(var g=0;g<32768;++g){var L=(g&43690)>>1|(g&21845)<<1;L=(L&52428)>>2|(L&13107)<<2,L=(L&61680)>>4|(L&3855)<<4,xr[g]=((L&65280)>>8|(L&255)<<8)>>1}var Z=function(r,a,n){for(var e=r.length,v=0,f=new Q(a);v<e;++v)r[v]&&++f[r[v]-1];var o=new Q(a);for(v=1;v<a;++v)o[v]=o[v-1]+f[v-1]<<1;var w;if(n){w=new Q(1<<a);var t=15-a;for(v=0;v<e;++v)if(r[v])for(var F=v<<4|r[v],i=a-r[v],l=o[r[v]-1]++<<i,c=l|(1<<i)-1;l<=c;++l)w[xr[l]>>t]=F}else for(w=new Q(e),v=0;v<e;++v)r[v]&&(w[v]=xr[o[r[v]-1]++]>>15-r[v]);return w},m=new B(288);for(var g=0;g<144;++g)m[g]=8;for(var g=144;g<256;++g)m[g]=9;for(var g=256;g<280;++g)m[g]=7;for(var g=280;g<288;++g)m[g]=8;var fr=new B(32);for(var g=0;g<32;++g)fr[g]=5;var Gr=Z(m,9,0),Hr=Z(m,9,1),Jr=Z(fr,5,0),Kr=Z(fr,5,1),hr=function(r){for(var a=r[0],n=1;n<r.length;++n)r[n]>a&&(a=r[n]);return a},W=function(r,a,n){var e=a/8|0;return(r[e]|r[e+1]<<8)>>(a&7)&n},wr=function(r,a){var n=a/8|0;return(r[n]|r[n+1]<<8|r[n+2]<<16)>>(a&7)},Fr=function(r){return(r+7)/8|0},Ur=function(r,a,n){return(a==null||a<0)&&(a=0),(n==null||n>r.length)&&(n=r.length),new B(r.subarray(a,n))},Nr=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],X=function(r,a,n){var e=new Error(a||Nr[r]);if(e.code=r,Error.captureStackTrace&&Error.captureStackTrace(e,X),!n)throw e;return e},Pr=function(r,a,n,e){var v=r.length,f=e?e.length:0;if(!v||a.f&&!a.l)return n||new B(0);var o=!n,w=o||a.i!=2,t=a.i;o&&(n=new B(v*3));var F=function(ar){var nr=n.length;if(ar>nr){var d=new B(Math.max(nr*2,ar));d.set(n),n=d}},i=a.f||0,l=a.p||0,c=a.b||0,M=a.l,E=a.d,x=a.m,D=a.n,V=v*8;do{if(!M){i=W(r,l,1);var J=W(r,l+1,3);if(l+=3,J)if(J==1)M=Hr,E=Kr,x=9,D=5;else if(J==2){var O=W(r,l,31)+257,A=W(r,l+10,15)+4,h=O+W(r,l+5,31)+1;l+=14;for(var u=new B(h),S=new B(19),y=0;y<A;++y)S[gr[y]]=W(r,l+y*3,7);l+=A*3;for(var q=hr(S),j=(1<<q)-1,K=Z(S,q,1),y=0;y<h;){var G=K[W(r,l,j)];l+=G&15;var z=G>>4;if(z<16)u[y++]=z;else{var T=0,b=0;for(z==16?(b=3+W(r,l,3),l+=2,T=u[y-1]):z==17?(b=3+W(r,l,7),l+=3):z==18&&(b=11+W(r,l,127),l+=7);b--;)u[y++]=T}}var H=u.subarray(0,O),C=u.subarray(O);x=hr(H),D=hr(C),M=Z(H,x,1),E=Z(C,D,1)}else X(1);else{var z=Fr(l)+4,I=r[z-4]|r[z-3]<<8,U=z+I;if(U>v){t&&X(0);break}w&&F(c+I),n.set(r.subarray(z,U),c),a.b=c+=I,a.p=l=U*8,a.f=i;continue}if(l>V){t&&X(0);break}}w&&F(c+131072);for(var rr=(1<<x)-1,R=(1<<D)-1,$=l;;$=l){var T=M[wr(r,l)&rr],N=T>>4;if(l+=T&15,l>V){t&&X(0);break}if(T||X(2),N<256)n[c++]=N;else if(N==256){$=l,M=null;break}else{var P=N-254;if(N>264){var y=N-257,k=or[y];P=W(r,l,(1<<k)-1)+Cr[y],l+=k}var Y=E[wr(r,l)&R],s=Y>>4;Y||X(3),l+=Y&15;var C=Dr[s];if(s>3){var k=ur[s];C+=wr(r,l)&(1<<k)-1,l+=k}if(l>V){t&&X(0);break}w&&F(c+131072);var p=c+P;if(c<C){var ir=f-C,lr=Math.min(C,p);for(ir+c<0&&X(3);c<lr;++c)n[c]=e[ir+c]}for(;c<p;++c)n[c]=n[c-C]}}a.l=M,a.p=$,a.b=c,a.f=i,M&&(i=1,a.m=x,a.d=E,a.n=D)}while(!i);return c!=n.length&&o?Ur(n,0,c):n.subarray(0,c)},_=function(r,a,n){n<<=a&7;var e=a/8|0;r[e]|=n,r[e+1]|=n>>8},er=function(r,a,n){n<<=a&7;var e=a/8|0;r[e]|=n,r[e+1]|=n>>8,r[e+2]|=n>>16},tr=function(r,a){for(var n=[],e=0;e<r.length;++e)r[e]&&n.push({s:e,f:r[e]});var v=n.length,f=n.slice();if(!v)return{t:Br,l:0};if(v==1){var o=new B(n[0].s+1);return o[n[0].s]=1,{t:o,l:1}}n.sort(function(U,O){return U.f-O.f}),n.push({s:-1,f:25001});var w=n[0],t=n[1],F=0,i=1,l=2;for(n[0]={s:-1,f:w.f+t.f,l:w,r:t};i!=v-1;)w=n[n[F].f<n[l].f?F++:l++],t=n[F!=i&&n[F]