Module 687813

7,561 characters · in dfb1bc413531d5fb.js
Dependencies
Required by (1)
Lazily required by (0)none
Requires (0)none
Lazily requires (0)none
Source Raw
function(e,t,r){"use strict";r.d(t,{$1:()=>Q,he:()=>Y});var a={},n=function(e,t,r,n,o){var s=new Worker(a[t]||(a[t]=URL.createObjectURL(new Blob([e+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return s.onmessage=function(e){var t=e.data,r=t.$e$;if(r){var a=Error(r[0]);a.code=r[1],a.stack=r[2],o(a,null)}else o(null,t)},s.postMessage(r,n),s},o=Uint8Array,s=Uint16Array,i=Int32Array,l=new o([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]),c=new o([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]),u=new o([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),f=function(e,t){for(var r=new s(31),a=0;a<31;++a)r[a]=t+=1<<e[a-1];for(var n=new i(r[30]),a=1;a<30;++a)for(var o=r[a];o<r[a+1];++o)n[o]=o-r[a]<<5|a;return{b:r,r:n}},b=f(l,2),h=b.b,d=b.r;h[28]=258,d[258]=28;var p=f(c,0),m=p.b;p.r;for(var g=new s(32768),y=0;y<32768;++y){var v=(43690&y)>>1|(21845&y)<<1;v=(61680&(v=(52428&v)>>2|(13107&v)<<2))>>4|(3855&v)<<4,g[y]=((65280&v)>>8|(255&v)<<8)>>1}for(var w=function(e,t,r){for(var a,n=e.length,o=0,i=new s(t);o<n;++o)e[o]&&++i[e[o]-1];var l=new s(t);for(o=1;o<t;++o)l[o]=l[o-1]+i[o-1]<<1;if(r){a=new s(1<<t);var c=15-t;for(o=0;o<n;++o)if(e[o])for(var u=o<<4|e[o],f=t-e[o],b=l[e[o]-1]++<<f,h=b|(1<<f)-1;b<=h;++b)a[g[b]>>c]=u}else for(o=0,a=new s(n);o<n;++o)e[o]&&(a[o]=g[l[e[o]-1]++]>>15-e[o]);return a},M=new o(288),y=0;y<144;++y)M[y]=8;for(var y=144;y<256;++y)M[y]=9;for(var y=256;y<280;++y)M[y]=7;for(var y=280;y<288;++y)M[y]=8;for(var k=new o(32),y=0;y<32;++y)k[y]=5;var O=w(M,9,1),C=w(k,5,1),x=function(e){for(var t=e[0],r=1;r<e.length;++r)e[r]>t&&(t=e[r]);return t},A=function(e,t,r){var a=t/8|0;return(e[a]|e[a+1]<<8)>>(7&t)&r},E=function(e,t){var r=t/8|0;return(e[r]|e[r+1]<<8|e[r+2]<<16)>>(7&t)},j=function(e){return(e+7)/8|0},_=function(e,t,r){(null==t||t<0)&&(t=0),(null==r||r>e.length)&&(r=e.length);var a=new o(r-t);return a.set(e.subarray(t,r)),a},R=["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"],S=function(e,t,r){var a=Error(t||R[e]);if(a.code=e,Error.captureStackTrace&&Error.captureStackTrace(a,S),!r)throw a;return a},B=function(e,t,r,a){var n=e.length,s=a?a.length:0;if(!n||t.f&&!t.l)return r||new o(0);var i=!r||2!=t.i,f=t.i;r||(r=new o(3*n));var b=function(e){var t=r.length;if(e>t){var a=new o(Math.max(2*t,e));a.set(r),r=a}},d=t.f||0,p=t.p||0,g=t.b||0,y=t.l,v=t.d,M=t.m,k=t.n,R=8*n;do{if(!y){d=A(e,p,1);var B=A(e,p+1,3);if(p+=3,B)if(1==B)y=O,v=C,M=9,k=5;else if(2==B){var N=A(e,p,31)+257,P=A(e,p+10,15)+4,D=N+A(e,p+5,31)+1;p+=14;for(var I=new o(D),L=new o(19),T=0;T<P;++T)L[u[T]]=A(e,p+3*T,7);p+=3*P;for(var F=x(L),z=(1<<F)-1,q=w(L,F,1),T=0;T<D;){var $=q[A(e,p,z)];p+=15&$;var U=$>>4;if(U<16)I[T++]=U;else{var G=0,W=0;for(16==U?(W=3+A(e,p,3),p+=2,G=I[T-1]):17==U?(W=3+A(e,p,7),p+=3):18==U&&(W=11+A(e,p,127),p+=7);W--;)I[T++]=G}}var H=I.subarray(0,N),Z=I.subarray(N);M=x(H),k=x(Z),y=w(H,M,1),v=w(Z,k,1)}else S(1);else{var U=j(p)+4,X=e[U-4]|e[U-3]<<8,Y=U+X;if(Y>n){f&&S(0);break}i&&b(g+X),r.set(e.subarray(U,Y),g),t.b=g+=X,t.p=p=8*Y,t.f=d;continue}if(p>R){f&&S(0);break}}i&&b(g+131072);for(var J=(1<<M)-1,V=(1<<k)-1,K=p;;K=p){var G=y[E(e,p)&J],Q=G>>4;if((p+=15&G)>R){f&&S(0);break}if(G||S(2),Q<256)r[g++]=Q;else if(256==Q){K=p,y=null;break}else{var ee=Q-254;if(Q>264){var T=Q-257,et=l[T];ee=A(e,p,(1<<et)-1)+h[T],p+=et}var er=v[E(e,p)&V],ea=er>>4;er||S(3),p+=15&er;var Z=m[ea];if(ea>3){var et=c[ea];Z+=E(e,p)&(1<<et)-1,p+=et}if(p>R){f&&S(0);break}i&&b(g+131072);var en=g+ee;if(g<Z){var eo=s-Z,es=Math.min(Z,en);for(eo+g<0&&S(3);g<es;++g)r[g]=a[eo+g]}for(;g<en;g+=4)r[g]=r[g-Z],r[g+1]=r[g+1-Z],r[g+2]=r[g+2-Z],r[g+3]=r[g+3-Z];g=en}}t.l=y,t.p=K,t.b=g,t.f=d,y&&(d=1,t.m=M,t.d=v,t.n=k)}while(!d);return g==r.length?r:_(r,0,g)},N=new o(0),P=function(e,t){var r={};for(var a in e)r[a]=e[a];for(var a in t)r[a]=t[a];return r},D=function(e,t,r){for(var a=e(),n=e.toString(),o=n.slice(n.indexOf("[")+1,n.lastIndexOf("]")).replace(/\s+/g,"").split(","),s=0;s<a.length;++s){var i=a[s],l=o[s];if("function"==typeof i){t+=";"+l+"=";var c=i.toString();if(i.prototype)if(-1!=c.indexOf("[native code]")){var u=c.indexOf(" ",8)+1;t+=c.slice(u,c.indexOf("(",u))}else for(var f in t+=c,i.prototype)t+=";"+l+".prototype."+f+"="+i.prototype[f].toString();else t+=c}else r[l]=i}return t},I=[],L=function(e){var t=[];for(var r in e)e[r].buffer&&t.push((e[r]=new e[r].constructor(e[r])).buffer);return t},T=function(e,t,r,a){if(!I[r]){for(var o="",s={},i=e.length-1,l=0;l<i;++l)o=D(e[l],o,s);I[r]={c:D(e[i],o,s),e:s}}var c=P({},I[r].e);return n(I[r].c+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+t.toString()+"}",r,c,L(c),a)},F=function(){return[o,s,i,l,c,u,h,m,O,C,g,R,w,x,A,E,j,_,S,B,H,z,q]},z=function(e){return postMessage(e,[e.buffer])},q=function(e){return e&&{out:e.size&&new o(e.size),dictionary:e.dictionary}},$=function(e,t,r,a,n,o){var s=T(r,a,n,function(e,t){s.terminate(),o(e,t)});return s.postMessage([e,t],t.consume?[e.buffer]:[]),function(){s.terminate()}},U=function(e,t){return e[t]|e[t+1]<<8},G=function(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0},W=function(e,t){return G(e,t)+0x100000000*G(e,t+4)};function H(e,t){return B(e,{i:2},t&&t.out,t&&t.dictionary)}var Z="u">typeof TextDecoder&&new TextDecoder;try{Z.decode(N,{stream:!0})}catch(e){}var X=function(e){for(var t="",r=0;;){var a=e[r++],n=(a>127)+(a>223)+(a>239);if(r+n>e.length)return{s:t,r:_(e,r-1)};n?3==n?t+=String.fromCharCode(55296|(a=((15&a)<<18|(63&e[r++])<<12|(63&e[r++])<<6|63&e[r++])-65536)>>10,56320|1023&a):1&n?t+=String.fromCharCode((31&a)<<6|63&e[r++]):t+=String.fromCharCode((15&a)<<12|(63&e[r++])<<6|63&e[r++]):t+=String.fromCharCode(a)}};function Y(e,t){if(t){for(var r="",a=0;a<e.length;a+=16384)r+=String.fromCharCode.apply(null,e.subarray(a,a+16384));return r}if(Z)return Z.decode(e);var n=X(e),o=n.s,r=n.r;return r.length&&S(8),o}var J=function(e,t,r){var a=U(e,t+28),n=Y(e.subarray(t+46,t+46+a),!(2048&U(e,t+8))),o=t+46+a,s=G(e,t+20),i=r&&0xffffffff==s?V(e,o):[s,G(e,t+24),G(e,t+42)],l=i[0],c=i[1],u=i[2];return[U(e,t+10),l,c,n,o+U(e,t+30)+U(e,t+32),u]},V=function(e,t){for(;1!=U(e,t);t+=4+U(e,t+2));return[W(e,t+12),W(e,t+4),W(e,t+20)]},K="function"==typeof queueMicrotask?queueMicrotask:"function"==typeof setTimeout?setTimeout:function(e){e()};function Q(e,t,r){r||(r=t,t={}),"function"!=typeof r&&S(7);var a=[],n=function(){for(var e=0;e<a.length;++e)a[e]()},s={},i=function(e,t){K(function(){r(e,t)})};K(function(){i=r});for(var l=e.length-22;0x6054b50!=G(e,l);--l)if(!l||e.length-l>65558)return i(S(13,0,1),null),n;var c=U(e,l+8);if(c){var u=c,f=G(e,l+16),b=0xffffffff==f||65535==u;if(b){var h=G(e,l-12);(b=0x6064b50==G(e,h))&&(u=c=G(e,h+32),f=G(e,h+48))}for(var d=t&&t.filter,p=0;p<u;++p)!function(){var t=J(e,f,b),r=t[0],l=t[1],u=t[2],h=t[3],p=t[4],m=t[5],g=m+30+U(e,m+26)+U(e,m+28);f=p;var y=function(e,t){e?(n(),i(e,null)):(t&&(s[h]=t),--c||i(null,s))};if(!d||d({name:h,size:l,originalSize:u,compression:r}))if(r)if(8==r){var v,w,M=e.subarray(g,g+l);if(l<32e4)try{y(null,H(M,{out:new o(u)}))}catch(e){y(e,null)}else a.push((v={size:u},(w=y)||(w=v,v={}),"function"!=typeof w&&S(7),$(M,v,[F],function(e){return z(H(e.data[0],q(e.data[1])))},1,w)))}else y(S(14,"unknown compression type "+r,1),null);else y(null,_(e,g,g+l));else y(null,null)}()}else i(null,{});return n}}