@mha/scan-edit-lib 1.3.1 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{UTIF-Cn1X0YdD.js → UTIF-D8ieGAS3.js} +129 -126
- package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
- package/dist/components/documentViewer/DocumentViewer.d.ts +11 -0
- package/dist/components/documentViewer/DocumentViewer.d.ts.map +1 -1
- package/dist/components/wrapped/WrappedComponents.d.ts +15 -4
- package/dist/components/wrapped/WrappedComponents.d.ts.map +1 -1
- package/dist/hooks/useBridgeDocumentOps.d.ts +112 -0
- package/dist/hooks/useBridgeDocumentOps.d.ts.map +1 -0
- package/dist/hooks/useImageProcessing.d.ts.map +1 -1
- package/dist/{index.es-R5n8ZWt3.js → index.es-Xt2A3ZNU.js} +2 -2
- package/dist/{jspdf.es.min--d75u2wp.js → jspdf.es.min-DCkEMHjy.js} +1 -1
- package/dist/scan-edit-lib.js +40426 -14
- package/dist/scan-edit-lib.umd.cjs +109 -108
- package/package.json +2 -2
- package/dist/index-aSQgDQaI.js +0 -40665
|
@@ -1,28 +1,31 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function
|
|
1
|
+
import { g as C0 } from "./_commonjsHelpers-DaMA6jEr.js";
|
|
2
|
+
function m0(K, ae) {
|
|
3
3
|
for (var ne = 0; ne < ae.length; ne++) {
|
|
4
4
|
const G = ae[ne];
|
|
5
5
|
if (typeof G != "string" && !Array.isArray(G)) {
|
|
6
6
|
for (const y in G)
|
|
7
|
-
if (y !== "default" && !(y in
|
|
7
|
+
if (y !== "default" && !(y in K)) {
|
|
8
8
|
const J = Object.getOwnPropertyDescriptor(G, y);
|
|
9
|
-
J && Object.defineProperty(
|
|
9
|
+
J && Object.defineProperty(K, y, J.get ? J : {
|
|
10
10
|
enumerable: !0,
|
|
11
11
|
get: () => G[y]
|
|
12
12
|
});
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
return Object.freeze(Object.defineProperty(
|
|
16
|
+
return Object.freeze(Object.defineProperty(K, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
+
}
|
|
18
|
+
function Z0(K) {
|
|
19
|
+
throw new Error('Could not dynamically require "' + K + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
17
20
|
}
|
|
18
21
|
var qe = { exports: {} }, Fe = {}, d0;
|
|
19
22
|
function Je() {
|
|
20
|
-
return d0 || (d0 = 1, (function(
|
|
23
|
+
return d0 || (d0 = 1, (function(K) {
|
|
21
24
|
var ae = typeof Uint8Array < "u" && typeof Uint16Array < "u" && typeof Int32Array < "u";
|
|
22
25
|
function ne(J, t) {
|
|
23
26
|
return Object.prototype.hasOwnProperty.call(J, t);
|
|
24
27
|
}
|
|
25
|
-
|
|
28
|
+
K.assign = function(J) {
|
|
26
29
|
for (var t = Array.prototype.slice.call(arguments, 1); t.length; ) {
|
|
27
30
|
var r = t.shift();
|
|
28
31
|
if (r) {
|
|
@@ -33,7 +36,7 @@ function Je() {
|
|
|
33
36
|
}
|
|
34
37
|
}
|
|
35
38
|
return J;
|
|
36
|
-
},
|
|
39
|
+
}, K.shrinkBuf = function(J, t) {
|
|
37
40
|
return J.length === t ? J : J.subarray ? J.subarray(0, t) : (J.length = t, J);
|
|
38
41
|
};
|
|
39
42
|
var G = {
|
|
@@ -64,16 +67,16 @@ function Je() {
|
|
|
64
67
|
return [].concat.apply([], J);
|
|
65
68
|
}
|
|
66
69
|
};
|
|
67
|
-
|
|
68
|
-
J ? (
|
|
69
|
-
},
|
|
70
|
+
K.setTyped = function(J) {
|
|
71
|
+
J ? (K.Buf8 = Uint8Array, K.Buf16 = Uint16Array, K.Buf32 = Int32Array, K.assign(K, G)) : (K.Buf8 = Array, K.Buf16 = Array, K.Buf32 = Array, K.assign(K, y));
|
|
72
|
+
}, K.setTyped(ae);
|
|
70
73
|
})(Fe)), Fe;
|
|
71
74
|
}
|
|
72
75
|
var $e = {}, Ce = {}, Ke = {}, u0;
|
|
73
76
|
function P0() {
|
|
74
77
|
if (u0) return Ke;
|
|
75
78
|
u0 = 1;
|
|
76
|
-
var
|
|
79
|
+
var K = Je(), ae = 4, ne = 0, G = 1, y = 2;
|
|
77
80
|
function J(h) {
|
|
78
81
|
for (var j = h.length; --j >= 0; )
|
|
79
82
|
h[j] = 0;
|
|
@@ -99,8 +102,8 @@ function P0() {
|
|
|
99
102
|
J(W);
|
|
100
103
|
var C = new Array(k);
|
|
101
104
|
J(C);
|
|
102
|
-
function m(h, j,
|
|
103
|
-
this.static_tree = h, this.extra_bits = j, this.extra_base =
|
|
105
|
+
function m(h, j, Y, q, S) {
|
|
106
|
+
this.static_tree = h, this.extra_bits = j, this.extra_base = Y, this.elems = q, this.max_length = S, this.has_stree = h && h.length;
|
|
104
107
|
}
|
|
105
108
|
var ie, T, F;
|
|
106
109
|
function $(h, j) {
|
|
@@ -112,33 +115,33 @@ function P0() {
|
|
|
112
115
|
function fe(h, j) {
|
|
113
116
|
h.pending_buf[h.pending++] = j & 255, h.pending_buf[h.pending++] = j >>> 8 & 255;
|
|
114
117
|
}
|
|
115
|
-
function le(h, j,
|
|
116
|
-
h.bi_valid > o -
|
|
118
|
+
function le(h, j, Y) {
|
|
119
|
+
h.bi_valid > o - Y ? (h.bi_buf |= j << h.bi_valid & 65535, fe(h, h.bi_buf), h.bi_buf = j >> o - h.bi_valid, h.bi_valid += Y - o) : (h.bi_buf |= j << h.bi_valid & 65535, h.bi_valid += Y);
|
|
117
120
|
}
|
|
118
|
-
function he(h, j,
|
|
121
|
+
function he(h, j, Y) {
|
|
119
122
|
le(
|
|
120
123
|
h,
|
|
121
|
-
|
|
122
|
-
|
|
124
|
+
Y[j * 2],
|
|
125
|
+
Y[j * 2 + 1]
|
|
123
126
|
/*.Len*/
|
|
124
127
|
);
|
|
125
128
|
}
|
|
126
129
|
function de(h, j) {
|
|
127
|
-
var
|
|
130
|
+
var Y = 0;
|
|
128
131
|
do
|
|
129
|
-
|
|
132
|
+
Y |= h & 1, h >>>= 1, Y <<= 1;
|
|
130
133
|
while (--j > 0);
|
|
131
|
-
return
|
|
134
|
+
return Y >>> 1;
|
|
132
135
|
}
|
|
133
136
|
function ge(h) {
|
|
134
137
|
h.bi_valid === 16 ? (fe(h, h.bi_buf), h.bi_buf = 0, h.bi_valid = 0) : h.bi_valid >= 8 && (h.pending_buf[h.pending++] = h.bi_buf & 255, h.bi_buf >>= 8, h.bi_valid -= 8);
|
|
135
138
|
}
|
|
136
139
|
function ze(h, j) {
|
|
137
|
-
var
|
|
140
|
+
var Y = j.dyn_tree, q = j.max_code, S = j.stat_desc.static_tree, L = j.stat_desc.has_stree, a = j.stat_desc.extra_bits, I = j.stat_desc.extra_base, te = j.stat_desc.max_length, e, N, O, f, x, z, re = 0;
|
|
138
141
|
for (f = 0; f <= c; f++)
|
|
139
142
|
h.bl_count[f] = 0;
|
|
140
|
-
for (
|
|
141
|
-
N = h.heap[e], f =
|
|
143
|
+
for (Y[h.heap[h.heap_max] * 2 + 1] = 0, e = h.heap_max + 1; e < u; e++)
|
|
144
|
+
N = h.heap[e], f = Y[Y[N * 2 + 1] * 2 + 1] + 1, f > te && (f = te, re++), Y[N * 2 + 1] = f, !(N > q) && (h.bl_count[f]++, x = 0, N >= I && (x = a[N - I]), z = Y[N * 2], h.opt_len += z * (f + x), L && (h.static_len += z * (S[N * 2 + 1] + x)));
|
|
142
145
|
if (re !== 0) {
|
|
143
146
|
do {
|
|
144
147
|
for (f = te - 1; h.bl_count[f] === 0; )
|
|
@@ -147,24 +150,24 @@ function P0() {
|
|
|
147
150
|
} while (re > 0);
|
|
148
151
|
for (f = te; f !== 0; f--)
|
|
149
152
|
for (N = h.bl_count[f]; N !== 0; )
|
|
150
|
-
O = h.heap[--e], !(O > q) && (
|
|
153
|
+
O = h.heap[--e], !(O > q) && (Y[O * 2 + 1] !== f && (h.opt_len += (f - Y[O * 2 + 1]) * Y[O * 2], Y[O * 2 + 1] = f), N--);
|
|
151
154
|
}
|
|
152
155
|
}
|
|
153
|
-
function xe(h, j,
|
|
156
|
+
function xe(h, j, Y) {
|
|
154
157
|
var q = new Array(c + 1), S = 0, L, a;
|
|
155
158
|
for (L = 1; L <= c; L++)
|
|
156
|
-
q[L] = S = S +
|
|
159
|
+
q[L] = S = S + Y[L - 1] << 1;
|
|
157
160
|
for (a = 0; a <= j; a++) {
|
|
158
161
|
var I = h[a * 2 + 1];
|
|
159
162
|
I !== 0 && (h[a * 2] = de(q[I]++, I));
|
|
160
163
|
}
|
|
161
164
|
}
|
|
162
165
|
function ce() {
|
|
163
|
-
var h, j,
|
|
164
|
-
for (
|
|
165
|
-
for (W[q] =
|
|
166
|
-
X[
|
|
167
|
-
for (X[
|
|
166
|
+
var h, j, Y, q, S, L = new Array(c + 1);
|
|
167
|
+
for (Y = 0, q = 0; q < d - 1; q++)
|
|
168
|
+
for (W[q] = Y, h = 0; h < 1 << A[q]; h++)
|
|
169
|
+
X[Y++] = q;
|
|
170
|
+
for (X[Y - 1] = q, S = 0, q = 0; q < 16; q++)
|
|
168
171
|
for (C[q] = S, h = 0; h < 1 << R[q]; h++)
|
|
169
172
|
H[S++] = q;
|
|
170
173
|
for (S >>= 7; q < k; q++)
|
|
@@ -197,34 +200,34 @@ function P0() {
|
|
|
197
200
|
function me(h) {
|
|
198
201
|
h.bi_valid > 8 ? fe(h, h.bi_buf) : h.bi_valid > 0 && (h.pending_buf[h.pending++] = h.bi_buf), h.bi_buf = 0, h.bi_valid = 0;
|
|
199
202
|
}
|
|
200
|
-
function Ne(h, j,
|
|
201
|
-
me(h), fe(h,
|
|
203
|
+
function Ne(h, j, Y, q) {
|
|
204
|
+
me(h), fe(h, Y), fe(h, ~Y), K.arraySet(h.pending_buf, h.window, j, Y, h.pending), h.pending += Y;
|
|
202
205
|
}
|
|
203
|
-
function oe(h, j,
|
|
204
|
-
var S = j * 2, L =
|
|
205
|
-
return h[S] < h[L] || h[S] === h[L] && q[j] <= q[
|
|
206
|
+
function oe(h, j, Y, q) {
|
|
207
|
+
var S = j * 2, L = Y * 2;
|
|
208
|
+
return h[S] < h[L] || h[S] === h[L] && q[j] <= q[Y];
|
|
206
209
|
}
|
|
207
|
-
function V(h, j,
|
|
208
|
-
for (var q = h.heap[
|
|
209
|
-
h.heap[
|
|
210
|
-
h.heap[
|
|
210
|
+
function V(h, j, Y) {
|
|
211
|
+
for (var q = h.heap[Y], S = Y << 1; S <= h.heap_len && (S < h.heap_len && oe(j, h.heap[S + 1], h.heap[S], h.depth) && S++, !oe(j, q, h.heap[S], h.depth)); )
|
|
212
|
+
h.heap[Y] = h.heap[S], Y = S, S <<= 1;
|
|
213
|
+
h.heap[Y] = q;
|
|
211
214
|
}
|
|
212
|
-
function ee(h, j,
|
|
215
|
+
function ee(h, j, Y) {
|
|
213
216
|
var q, S, L = 0, a, I;
|
|
214
217
|
if (h.last_lit !== 0)
|
|
215
218
|
do
|
|
216
|
-
q = h.pending_buf[h.d_buf + L * 2] << 8 | h.pending_buf[h.d_buf + L * 2 + 1], S = h.pending_buf[h.l_buf + L], L++, q === 0 ? he(h, S, j) : (a = X[S], he(h, a + l + 1, j), I = A[a], I !== 0 && (S -= W[a], le(h, S, I)), q--, a = ve(q), he(h, a,
|
|
219
|
+
q = h.pending_buf[h.d_buf + L * 2] << 8 | h.pending_buf[h.d_buf + L * 2 + 1], S = h.pending_buf[h.l_buf + L], L++, q === 0 ? he(h, S, j) : (a = X[S], he(h, a + l + 1, j), I = A[a], I !== 0 && (S -= W[a], le(h, S, I)), q--, a = ve(q), he(h, a, Y), I = R[a], I !== 0 && (q -= C[a], le(h, q, I)));
|
|
217
220
|
while (L < h.last_lit);
|
|
218
221
|
he(h, w, j);
|
|
219
222
|
}
|
|
220
223
|
function _e(h, j) {
|
|
221
|
-
var
|
|
224
|
+
var Y = j.dyn_tree, q = j.stat_desc.static_tree, S = j.stat_desc.has_stree, L = j.stat_desc.elems, a, I, te = -1, e;
|
|
222
225
|
for (h.heap_len = 0, h.heap_max = u, a = 0; a < L; a++)
|
|
223
|
-
|
|
226
|
+
Y[a * 2] !== 0 ? (h.heap[++h.heap_len] = te = a, h.depth[a] = 0) : Y[a * 2 + 1] = 0;
|
|
224
227
|
for (; h.heap_len < 2; )
|
|
225
|
-
e = h.heap[++h.heap_len] = te < 2 ? ++te : 0,
|
|
228
|
+
e = h.heap[++h.heap_len] = te < 2 ? ++te : 0, Y[e * 2] = 1, h.depth[e] = 0, h.opt_len--, S && (h.static_len -= q[e * 2 + 1]);
|
|
226
229
|
for (j.max_code = te, a = h.heap_len >> 1; a >= 1; a--)
|
|
227
|
-
V(h,
|
|
230
|
+
V(h, Y, a);
|
|
228
231
|
e = L;
|
|
229
232
|
do
|
|
230
233
|
a = h.heap[
|
|
@@ -235,18 +238,18 @@ function P0() {
|
|
|
235
238
|
/*SMALLEST*/
|
|
236
239
|
] = h.heap[h.heap_len--], V(
|
|
237
240
|
h,
|
|
238
|
-
|
|
241
|
+
Y,
|
|
239
242
|
1
|
|
240
243
|
/*SMALLEST*/
|
|
241
244
|
), I = h.heap[
|
|
242
245
|
1
|
|
243
246
|
/*SMALLEST*/
|
|
244
|
-
], h.heap[--h.heap_max] = a, h.heap[--h.heap_max] = I,
|
|
247
|
+
], h.heap[--h.heap_max] = a, h.heap[--h.heap_max] = I, Y[e * 2] = Y[a * 2] + Y[I * 2], h.depth[e] = (h.depth[a] >= h.depth[I] ? h.depth[a] : h.depth[I]) + 1, Y[a * 2 + 1] = Y[I * 2 + 1] = e, h.heap[
|
|
245
248
|
1
|
|
246
249
|
/*SMALLEST*/
|
|
247
250
|
] = e++, V(
|
|
248
251
|
h,
|
|
249
|
-
|
|
252
|
+
Y,
|
|
250
253
|
1
|
|
251
254
|
/*SMALLEST*/
|
|
252
255
|
);
|
|
@@ -254,16 +257,16 @@ function P0() {
|
|
|
254
257
|
h.heap[--h.heap_max] = h.heap[
|
|
255
258
|
1
|
|
256
259
|
/*SMALLEST*/
|
|
257
|
-
], ze(h, j), xe(
|
|
260
|
+
], ze(h, j), xe(Y, te, h.bl_count);
|
|
258
261
|
}
|
|
259
|
-
function we(h, j,
|
|
262
|
+
function we(h, j, Y) {
|
|
260
263
|
var q, S = -1, L, a = j[1], I = 0, te = 7, e = 4;
|
|
261
|
-
for (a === 0 && (te = 138, e = 3), j[(
|
|
264
|
+
for (a === 0 && (te = 138, e = 3), j[(Y + 1) * 2 + 1] = 65535, q = 0; q <= Y; q++)
|
|
262
265
|
L = a, a = j[(q + 1) * 2 + 1], !(++I < te && L === a) && (I < e ? h.bl_tree[L * 2] += I : L !== 0 ? (L !== S && h.bl_tree[L * 2]++, h.bl_tree[g * 2]++) : I <= 10 ? h.bl_tree[p * 2]++ : h.bl_tree[E * 2]++, I = 0, S = L, a === 0 ? (te = 138, e = 3) : L === a ? (te = 6, e = 3) : (te = 7, e = 4));
|
|
263
266
|
}
|
|
264
|
-
function be(h, j,
|
|
267
|
+
function be(h, j, Y) {
|
|
265
268
|
var q, S = -1, L, a = j[1], I = 0, te = 7, e = 4;
|
|
266
|
-
for (a === 0 && (te = 138, e = 3), q = 0; q <=
|
|
269
|
+
for (a === 0 && (te = 138, e = 3), q = 0; q <= Y; q++)
|
|
267
270
|
if (L = a, a = j[(q + 1) * 2 + 1], !(++I < te && L === a)) {
|
|
268
271
|
if (I < e)
|
|
269
272
|
do
|
|
@@ -279,21 +282,21 @@ function P0() {
|
|
|
279
282
|
;
|
|
280
283
|
return h.opt_len += 3 * (j + 1) + 5 + 5 + 4, j;
|
|
281
284
|
}
|
|
282
|
-
function We(h, j,
|
|
285
|
+
function We(h, j, Y, q) {
|
|
283
286
|
var S;
|
|
284
|
-
for (le(h, j - 257, 5), le(h,
|
|
287
|
+
for (le(h, j - 257, 5), le(h, Y - 1, 5), le(h, q - 4, 4), S = 0; S < q; S++)
|
|
285
288
|
le(h, h.bl_tree[B[S] * 2 + 1], 3);
|
|
286
|
-
be(h, h.dyn_ltree, j - 1), be(h, h.dyn_dtree,
|
|
289
|
+
be(h, h.dyn_ltree, j - 1), be(h, h.dyn_dtree, Y - 1);
|
|
287
290
|
}
|
|
288
291
|
function je(h) {
|
|
289
|
-
var j = 4093624447,
|
|
290
|
-
for (
|
|
291
|
-
if (j & 1 && h.dyn_ltree[
|
|
292
|
+
var j = 4093624447, Y;
|
|
293
|
+
for (Y = 0; Y <= 31; Y++, j >>>= 1)
|
|
294
|
+
if (j & 1 && h.dyn_ltree[Y * 2] !== 0)
|
|
292
295
|
return ne;
|
|
293
296
|
if (h.dyn_ltree[18] !== 0 || h.dyn_ltree[20] !== 0 || h.dyn_ltree[26] !== 0)
|
|
294
297
|
return G;
|
|
295
|
-
for (
|
|
296
|
-
if (h.dyn_ltree[
|
|
298
|
+
for (Y = 32; Y < l; Y++)
|
|
299
|
+
if (h.dyn_ltree[Y * 2] !== 0)
|
|
297
300
|
return G;
|
|
298
301
|
return ne;
|
|
299
302
|
}
|
|
@@ -301,18 +304,18 @@ function P0() {
|
|
|
301
304
|
function Te(h) {
|
|
302
305
|
Me || (ce(), Me = !0), h.l_desc = new $(h.dyn_ltree, ie), h.d_desc = new $(h.dyn_dtree, T), h.bl_desc = new $(h.bl_tree, F), h.bi_buf = 0, h.bi_valid = 0, Se(h);
|
|
303
306
|
}
|
|
304
|
-
function Ie(h, j,
|
|
305
|
-
le(h, (t << 1) + (q ? 1 : 0), 3), Ne(h, j,
|
|
307
|
+
function Ie(h, j, Y, q) {
|
|
308
|
+
le(h, (t << 1) + (q ? 1 : 0), 3), Ne(h, j, Y);
|
|
306
309
|
}
|
|
307
310
|
function De(h) {
|
|
308
311
|
le(h, r << 1, 3), he(h, w, M), ge(h);
|
|
309
312
|
}
|
|
310
|
-
function Ze(h, j,
|
|
313
|
+
function Ze(h, j, Y, q) {
|
|
311
314
|
var S, L, a = 0;
|
|
312
|
-
h.level > 0 ? (h.strm.data_type === y && (h.strm.data_type = je(h)), _e(h, h.l_desc), _e(h, h.d_desc), a = Ae(h), S = h.opt_len + 3 + 7 >>> 3, L = h.static_len + 3 + 7 >>> 3, L <= S && (S = L)) : S = L =
|
|
315
|
+
h.level > 0 ? (h.strm.data_type === y && (h.strm.data_type = je(h)), _e(h, h.l_desc), _e(h, h.d_desc), a = Ae(h), S = h.opt_len + 3 + 7 >>> 3, L = h.static_len + 3 + 7 >>> 3, L <= S && (S = L)) : S = L = Y + 5, Y + 4 <= S && j !== -1 ? Ie(h, j, Y, q) : h.strategy === ae || L === S ? (le(h, (r << 1) + (q ? 1 : 0), 3), ee(h, M, Z)) : (le(h, (i << 1) + (q ? 1 : 0), 3), We(h, h.l_desc.max_code + 1, h.d_desc.max_code + 1, a + 1), ee(h, h.dyn_ltree, h.dyn_dtree)), Se(h), q && me(h);
|
|
313
316
|
}
|
|
314
|
-
function Xe(h, j,
|
|
315
|
-
return h.pending_buf[h.d_buf + h.last_lit * 2] = j >>> 8 & 255, h.pending_buf[h.d_buf + h.last_lit * 2 + 1] = j & 255, h.pending_buf[h.l_buf + h.last_lit] =
|
|
317
|
+
function Xe(h, j, Y) {
|
|
318
|
+
return h.pending_buf[h.d_buf + h.last_lit * 2] = j >>> 8 & 255, h.pending_buf[h.d_buf + h.last_lit * 2 + 1] = j & 255, h.pending_buf[h.l_buf + h.last_lit] = Y & 255, h.last_lit++, j === 0 ? h.dyn_ltree[Y * 2]++ : (h.matches++, j--, h.dyn_ltree[(X[Y] + l + 1) * 2]++, h.dyn_dtree[ve(j) * 2]++), h.last_lit === h.lit_bufsize - 1;
|
|
316
319
|
}
|
|
317
320
|
return Ke._tr_init = Te, Ke._tr_stored_block = Ie, Ke._tr_flush_block = Ze, Ke._tr_tally = Xe, Ke._tr_align = De, Ke;
|
|
318
321
|
}
|
|
@@ -320,7 +323,7 @@ var e0, v0;
|
|
|
320
323
|
function z0() {
|
|
321
324
|
if (v0) return e0;
|
|
322
325
|
v0 = 1;
|
|
323
|
-
function
|
|
326
|
+
function K(ae, ne, G, y) {
|
|
324
327
|
for (var J = ae & 65535 | 0, t = ae >>> 16 & 65535 | 0, r = 0; G !== 0; ) {
|
|
325
328
|
r = G > 2e3 ? 2e3 : G, G -= r;
|
|
326
329
|
do
|
|
@@ -330,13 +333,13 @@ function z0() {
|
|
|
330
333
|
}
|
|
331
334
|
return J | t << 16 | 0;
|
|
332
335
|
}
|
|
333
|
-
return e0 =
|
|
336
|
+
return e0 = K, e0;
|
|
334
337
|
}
|
|
335
338
|
var r0, s0;
|
|
336
339
|
function N0() {
|
|
337
340
|
if (s0) return r0;
|
|
338
341
|
s0 = 1;
|
|
339
|
-
function
|
|
342
|
+
function K() {
|
|
340
343
|
for (var G, y = [], J = 0; J < 256; J++) {
|
|
341
344
|
G = J;
|
|
342
345
|
for (var t = 0; t < 8; t++)
|
|
@@ -345,7 +348,7 @@ function N0() {
|
|
|
345
348
|
}
|
|
346
349
|
return y;
|
|
347
350
|
}
|
|
348
|
-
var ae =
|
|
351
|
+
var ae = K();
|
|
349
352
|
function ne(G, y, J, t) {
|
|
350
353
|
var r = ae, i = t + J;
|
|
351
354
|
G ^= -1;
|
|
@@ -382,7 +385,7 @@ var w0;
|
|
|
382
385
|
function G0() {
|
|
383
386
|
if (w0) return Ce;
|
|
384
387
|
w0 = 1;
|
|
385
|
-
var
|
|
388
|
+
var K = Je(), ae = P0(), ne = z0(), G = N0(), y = o0(), J = 0, t = 1, r = 3, i = 4, b = 5, v = 0, d = 1, l = -2, s = -3, k = -5, _ = -1, u = 1, c = 2, o = 3, n = 4, w = 0, g = 2, p = 8, E = 9, A = 15, R = 8, D = 29, B = 256, P = B + 1 + D, M = 30, Z = 19, H = 2 * P + 1, X = 15, W = 3, C = 258, m = C + W + 1, ie = 32, T = 42, F = 69, $ = 73, ve = 91, fe = 103, le = 113, he = 666, de = 1, ge = 2, ze = 3, xe = 4, ce = 3;
|
|
386
389
|
function Se(e, N) {
|
|
387
390
|
return e.msg = y[N], N;
|
|
388
391
|
}
|
|
@@ -395,7 +398,7 @@ function G0() {
|
|
|
395
398
|
}
|
|
396
399
|
function oe(e) {
|
|
397
400
|
var N = e.state, O = N.pending;
|
|
398
|
-
O > e.avail_out && (O = e.avail_out), O !== 0 && (
|
|
401
|
+
O > e.avail_out && (O = e.avail_out), O !== 0 && (K.arraySet(e.output, N.pending_buf, N.pending_out, O, e.next_out), e.next_out += O, N.pending_out += O, e.total_out += O, e.avail_out -= O, N.pending -= O, N.pending === 0 && (N.pending_out = 0));
|
|
399
402
|
}
|
|
400
403
|
function V(e, N) {
|
|
401
404
|
ae._tr_flush_block(e, e.block_start >= 0 ? e.block_start : -1, e.strstart - e.block_start, N), e.block_start = e.strstart, oe(e.strm);
|
|
@@ -408,7 +411,7 @@ function G0() {
|
|
|
408
411
|
}
|
|
409
412
|
function we(e, N, O, f) {
|
|
410
413
|
var x = e.avail_in;
|
|
411
|
-
return x > f && (x = f), x === 0 ? 0 : (e.avail_in -= x,
|
|
414
|
+
return x > f && (x = f), x === 0 ? 0 : (e.avail_in -= x, K.arraySet(N, e.input, e.next_in, x, O), e.state.wrap === 1 ? e.adler = ne(e.adler, N, x, O) : e.state.wrap === 2 && (e.adler = G(e.adler, N, x, O)), e.next_in += x, e.total_in += x, x);
|
|
412
415
|
}
|
|
413
416
|
function be(e, N) {
|
|
414
417
|
var O = e.max_chain_length, f = e.strstart, x, z, re = e.prev_length, Q = e.nice_match, U = e.strstart > e.w_size - m ? e.strstart - (e.w_size - m) : 0, ue = e.window, Ge = e.w_mask, pe = e.prev, se = e.strstart + C, Ee = ue[f + re - 1], Be = ue[f + re];
|
|
@@ -432,7 +435,7 @@ function G0() {
|
|
|
432
435
|
var N = e.w_size, O, f, x, z, re;
|
|
433
436
|
do {
|
|
434
437
|
if (z = e.window_size - e.lookahead - e.strstart, e.strstart >= N + (N - m)) {
|
|
435
|
-
|
|
438
|
+
K.arraySet(e.window, e.window, N, N, 0), e.match_start -= N, e.strstart -= N, e.block_start -= N, f = e.hash_size, O = f;
|
|
436
439
|
do
|
|
437
440
|
x = e.head[--O], e.head[O] = x >= N ? x - N : 0;
|
|
438
441
|
while (--f);
|
|
@@ -575,13 +578,13 @@ function G0() {
|
|
|
575
578
|
e.window_size = 2 * e.w_size, Ne(e.head), e.max_lazy_match = Ze[e.level].max_lazy, e.good_match = Ze[e.level].good_length, e.nice_match = Ze[e.level].nice_length, e.max_chain_length = Ze[e.level].max_chain, e.strstart = 0, e.block_start = 0, e.lookahead = 0, e.insert = 0, e.match_length = e.prev_length = W - 1, e.match_available = 0, e.ins_h = 0;
|
|
576
579
|
}
|
|
577
580
|
function h() {
|
|
578
|
-
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 = p, 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
|
|
581
|
+
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 = p, 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 K.Buf16(H * 2), this.dyn_dtree = new K.Buf16((2 * M + 1) * 2), this.bl_tree = new K.Buf16((2 * Z + 1) * 2), Ne(this.dyn_ltree), Ne(this.dyn_dtree), Ne(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new K.Buf16(X + 1), this.heap = new K.Buf16(2 * P + 1), Ne(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new K.Buf16(2 * P + 1), Ne(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;
|
|
579
582
|
}
|
|
580
583
|
function j(e) {
|
|
581
584
|
var N;
|
|
582
585
|
return !e || !e.state ? Se(e, l) : (e.total_in = e.total_out = 0, e.data_type = g, N = e.state, N.pending = 0, N.pending_out = 0, N.wrap < 0 && (N.wrap = -N.wrap), N.status = N.wrap ? T : le, e.adler = N.wrap === 2 ? 0 : 1, N.last_flush = J, ae._tr_init(N), v);
|
|
583
586
|
}
|
|
584
|
-
function
|
|
587
|
+
function Y(e) {
|
|
585
588
|
var N = j(e);
|
|
586
589
|
return N === v && Xe(e.state), N;
|
|
587
590
|
}
|
|
@@ -596,7 +599,7 @@ function G0() {
|
|
|
596
599
|
return Se(e, l);
|
|
597
600
|
f === 8 && (f = 9);
|
|
598
601
|
var Q = new h();
|
|
599
|
-
return e.state = Q, Q.strm = e, Q.wrap = re, Q.gzhead = null, Q.w_bits = f, Q.w_size = 1 << Q.w_bits, Q.w_mask = Q.w_size - 1, Q.hash_bits = x + 7, Q.hash_size = 1 << Q.hash_bits, Q.hash_mask = Q.hash_size - 1, Q.hash_shift = ~~((Q.hash_bits + W - 1) / W), Q.window = new
|
|
602
|
+
return e.state = Q, Q.strm = e, Q.wrap = re, Q.gzhead = null, Q.w_bits = f, Q.w_size = 1 << Q.w_bits, Q.w_mask = Q.w_size - 1, Q.hash_bits = x + 7, Q.hash_size = 1 << Q.hash_bits, Q.hash_mask = Q.hash_size - 1, Q.hash_shift = ~~((Q.hash_bits + W - 1) / W), Q.window = new K.Buf8(Q.w_size * 2), Q.head = new K.Buf16(Q.hash_size), Q.prev = new K.Buf16(Q.w_size), Q.lit_bufsize = 1 << x + 6, Q.pending_buf_size = Q.lit_bufsize * 4, Q.pending_buf = new K.Buf8(Q.pending_buf_size), Q.d_buf = 1 * Q.lit_bufsize, Q.l_buf = 3 * Q.lit_bufsize, Q.level = N, Q.strategy = z, Q.method = O, Y(e);
|
|
600
603
|
}
|
|
601
604
|
function L(e, N) {
|
|
602
605
|
return S(e, N, p, A, R, w);
|
|
@@ -674,7 +677,7 @@ function G0() {
|
|
|
674
677
|
var O = N.length, f, x, z, re, Q, U, ue, Ge;
|
|
675
678
|
if (!e || !e.state || (f = e.state, re = f.wrap, re === 2 || re === 1 && f.status !== T || f.lookahead))
|
|
676
679
|
return l;
|
|
677
|
-
for (re === 1 && (e.adler = ne(e.adler, N, O, 0)), f.wrap = 0, O >= f.w_size && (re === 0 && (Ne(f.head), f.strstart = 0, f.block_start = 0, f.insert = 0), Ge = new
|
|
680
|
+
for (re === 1 && (e.adler = ne(e.adler, N, O, 0)), f.wrap = 0, O >= f.w_size && (re === 0 && (Ne(f.head), f.strstart = 0, f.block_start = 0, f.insert = 0), Ge = new K.Buf8(f.w_size), K.arraySet(Ge, N, O - f.w_size, f.w_size, 0), N = Ge, O = f.w_size), Q = e.avail_in, U = e.next_in, ue = e.input, e.avail_in = O, e.next_in = 0, e.input = N, Ae(f); f.lookahead >= W; ) {
|
|
678
681
|
x = f.strstart, z = f.lookahead - (W - 1);
|
|
679
682
|
do
|
|
680
683
|
f.ins_h = (f.ins_h << f.hash_shift ^ f.window[x + W - 1]) & f.hash_mask, f.prev[x & f.w_mask] = f.head[f.ins_h], f.head[f.ins_h] = x, x++;
|
|
@@ -683,13 +686,13 @@ function G0() {
|
|
|
683
686
|
}
|
|
684
687
|
return f.strstart += f.lookahead, f.block_start = f.strstart, f.insert = f.lookahead, f.lookahead = 0, f.match_length = f.prev_length = W - 1, f.match_available = 0, e.next_in = U, e.input = ue, e.avail_in = Q, f.wrap = re, v;
|
|
685
688
|
}
|
|
686
|
-
return Ce.deflateInit = L, Ce.deflateInit2 = S, Ce.deflateReset =
|
|
689
|
+
return Ce.deflateInit = L, Ce.deflateInit2 = S, Ce.deflateReset = Y, Ce.deflateResetKeep = j, Ce.deflateSetHeader = q, Ce.deflate = a, Ce.deflateEnd = I, Ce.deflateSetDictionary = te, Ce.deflateInfo = "pako deflate (from Nodeca project)", Ce;
|
|
687
690
|
}
|
|
688
691
|
var Ye = {}, b0;
|
|
689
692
|
function R0() {
|
|
690
693
|
if (b0) return Ye;
|
|
691
694
|
b0 = 1;
|
|
692
|
-
var
|
|
695
|
+
var K = Je(), ae = !0, ne = !0;
|
|
693
696
|
try {
|
|
694
697
|
String.fromCharCode.apply(null, [0]);
|
|
695
698
|
} catch {
|
|
@@ -700,19 +703,19 @@ function R0() {
|
|
|
700
703
|
} catch {
|
|
701
704
|
ne = !1;
|
|
702
705
|
}
|
|
703
|
-
for (var G = new
|
|
706
|
+
for (var G = new K.Buf8(256), y = 0; y < 256; y++)
|
|
704
707
|
G[y] = y >= 252 ? 6 : y >= 248 ? 5 : y >= 240 ? 4 : y >= 224 ? 3 : y >= 192 ? 2 : 1;
|
|
705
708
|
G[254] = G[254] = 1, Ye.string2buf = function(t) {
|
|
706
709
|
var r, i, b, v, d, l = t.length, s = 0;
|
|
707
710
|
for (v = 0; v < l; v++)
|
|
708
711
|
i = t.charCodeAt(v), (i & 64512) === 55296 && v + 1 < l && (b = t.charCodeAt(v + 1), (b & 64512) === 56320 && (i = 65536 + (i - 55296 << 10) + (b - 56320), v++)), s += i < 128 ? 1 : i < 2048 ? 2 : i < 65536 ? 3 : 4;
|
|
709
|
-
for (r = new
|
|
712
|
+
for (r = new K.Buf8(s), d = 0, v = 0; d < s; v++)
|
|
710
713
|
i = t.charCodeAt(v), (i & 64512) === 55296 && v + 1 < l && (b = t.charCodeAt(v + 1), (b & 64512) === 56320 && (i = 65536 + (i - 55296 << 10) + (b - 56320), v++)), i < 128 ? r[d++] = i : i < 2048 ? (r[d++] = 192 | i >>> 6, r[d++] = 128 | i & 63) : i < 65536 ? (r[d++] = 224 | i >>> 12, r[d++] = 128 | i >>> 6 & 63, r[d++] = 128 | i & 63) : (r[d++] = 240 | i >>> 18, r[d++] = 128 | i >>> 12 & 63, r[d++] = 128 | i >>> 6 & 63, r[d++] = 128 | i & 63);
|
|
711
714
|
return r;
|
|
712
715
|
};
|
|
713
716
|
function J(t, r) {
|
|
714
717
|
if (r < 65534 && (t.subarray && ne || !t.subarray && ae))
|
|
715
|
-
return String.fromCharCode.apply(null,
|
|
718
|
+
return String.fromCharCode.apply(null, K.shrinkBuf(t, r));
|
|
716
719
|
for (var i = "", b = 0; b < r; b++)
|
|
717
720
|
i += String.fromCharCode(t[b]);
|
|
718
721
|
return i;
|
|
@@ -720,7 +723,7 @@ function R0() {
|
|
|
720
723
|
return Ye.buf2binstring = function(t) {
|
|
721
724
|
return J(t, t.length);
|
|
722
725
|
}, Ye.binstring2buf = function(t) {
|
|
723
|
-
for (var r = new
|
|
726
|
+
for (var r = new K.Buf8(t.length), i = 0, b = r.length; i < b; i++)
|
|
724
727
|
r[i] = t.charCodeAt(i);
|
|
725
728
|
return r;
|
|
726
729
|
}, Ye.buf2string = function(t, r) {
|
|
@@ -754,16 +757,16 @@ var i0, g0;
|
|
|
754
757
|
function O0() {
|
|
755
758
|
if (g0) return i0;
|
|
756
759
|
g0 = 1;
|
|
757
|
-
function
|
|
760
|
+
function K() {
|
|
758
761
|
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;
|
|
759
762
|
}
|
|
760
|
-
return i0 =
|
|
763
|
+
return i0 = K, i0;
|
|
761
764
|
}
|
|
762
765
|
var p0;
|
|
763
766
|
function H0() {
|
|
764
767
|
if (p0) return $e;
|
|
765
768
|
p0 = 1;
|
|
766
|
-
var
|
|
769
|
+
var K = G0(), ae = Je(), ne = R0(), G = o0(), y = O0(), J = Object.prototype.toString, t = 0, r = 4, i = 0, b = 1, v = 2, d = -1, l = 0, s = 8;
|
|
767
770
|
function k(o) {
|
|
768
771
|
if (!(this instanceof k)) return new k(o);
|
|
769
772
|
this.options = ae.assign({
|
|
@@ -777,7 +780,7 @@ function H0() {
|
|
|
777
780
|
}, o || {});
|
|
778
781
|
var n = this.options;
|
|
779
782
|
n.raw && n.windowBits > 0 ? n.windowBits = -n.windowBits : n.gzip && n.windowBits > 0 && n.windowBits < 16 && (n.windowBits += 16), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new y(), this.strm.avail_out = 0;
|
|
780
|
-
var w =
|
|
783
|
+
var w = K.deflateInit2(
|
|
781
784
|
this.strm,
|
|
782
785
|
n.level,
|
|
783
786
|
n.method,
|
|
@@ -787,9 +790,9 @@ function H0() {
|
|
|
787
790
|
);
|
|
788
791
|
if (w !== i)
|
|
789
792
|
throw new Error(G[w]);
|
|
790
|
-
if (n.header &&
|
|
793
|
+
if (n.header && K.deflateSetHeader(this.strm, n.header), n.dictionary) {
|
|
791
794
|
var g;
|
|
792
|
-
if (typeof n.dictionary == "string" ? g = ne.string2buf(n.dictionary) : J.call(n.dictionary) === "[object ArrayBuffer]" ? g = new Uint8Array(n.dictionary) : g = n.dictionary, w =
|
|
795
|
+
if (typeof n.dictionary == "string" ? g = ne.string2buf(n.dictionary) : J.call(n.dictionary) === "[object ArrayBuffer]" ? g = new Uint8Array(n.dictionary) : g = n.dictionary, w = K.deflateSetDictionary(this.strm, g), w !== i)
|
|
793
796
|
throw new Error(G[w]);
|
|
794
797
|
this._dict_set = !0;
|
|
795
798
|
}
|
|
@@ -800,11 +803,11 @@ function H0() {
|
|
|
800
803
|
return !1;
|
|
801
804
|
E = n === ~~n ? n : n === !0 ? r : t, typeof o == "string" ? w.input = ne.string2buf(o) : J.call(o) === "[object ArrayBuffer]" ? w.input = new Uint8Array(o) : w.input = o, w.next_in = 0, w.avail_in = w.input.length;
|
|
802
805
|
do {
|
|
803
|
-
if (w.avail_out === 0 && (w.output = new ae.Buf8(g), w.next_out = 0, w.avail_out = g), p =
|
|
806
|
+
if (w.avail_out === 0 && (w.output = new ae.Buf8(g), w.next_out = 0, w.avail_out = g), p = K.deflate(w, E), p !== b && p !== i)
|
|
804
807
|
return this.onEnd(p), this.ended = !0, !1;
|
|
805
808
|
(w.avail_out === 0 || w.avail_in === 0 && (E === r || E === v)) && (this.options.to === "string" ? this.onData(ne.buf2binstring(ae.shrinkBuf(w.output, w.next_out))) : this.onData(ae.shrinkBuf(w.output, w.next_out)));
|
|
806
809
|
} while ((w.avail_in > 0 || w.avail_out === 0) && p !== b);
|
|
807
|
-
return E === r ? (p =
|
|
810
|
+
return E === r ? (p = K.deflateEnd(this.strm), this.onEnd(p), this.ended = !0, p === i) : (E === v && (this.onEnd(i), w.avail_out = 0), !0);
|
|
808
811
|
}, k.prototype.onData = function(o) {
|
|
809
812
|
this.chunks.push(o);
|
|
810
813
|
}, k.prototype.onEnd = function(o) {
|
|
@@ -828,7 +831,7 @@ var Qe = {}, Le = {}, t0, x0;
|
|
|
828
831
|
function j0() {
|
|
829
832
|
if (x0) return t0;
|
|
830
833
|
x0 = 1;
|
|
831
|
-
var
|
|
834
|
+
var K = 30, ae = 12;
|
|
832
835
|
return t0 = function(G, y) {
|
|
833
836
|
var J, t, r, i, b, v, d, l, s, k, _, u, c, o, n, w, g, p, E, A, R, D, B, P, M;
|
|
834
837
|
J = G.state, t = G.next_in, P = G.input, r = t + (G.avail_in - 5), i = G.next_out, M = G.output, b = i - (y - G.avail_out), v = i + (G.avail_out - 257), d = J.dmax, l = J.wsize, s = J.whave, k = J.wnext, _ = J.window, u = J.hold, c = J.bits, o = J.lencode, n = J.distcode, w = (1 << J.lenbits) - 1, g = (1 << J.distbits) - 1;
|
|
@@ -845,12 +848,12 @@ function j0() {
|
|
|
845
848
|
for (; ; ) {
|
|
846
849
|
if (E = p >>> 24, u >>>= E, c -= E, E = p >>> 16 & 255, E & 16) {
|
|
847
850
|
if (R = p & 65535, E &= 15, c < E && (u += P[t++] << c, c += 8, c < E && (u += P[t++] << c, c += 8)), R += u & (1 << E) - 1, R > d) {
|
|
848
|
-
G.msg = "invalid distance too far back", J.mode =
|
|
851
|
+
G.msg = "invalid distance too far back", J.mode = K;
|
|
849
852
|
break e;
|
|
850
853
|
}
|
|
851
854
|
if (u >>>= E, c -= E, E = i - b, R > E) {
|
|
852
855
|
if (E = R - E, E > s && J.sane) {
|
|
853
|
-
G.msg = "invalid distance too far back", J.mode =
|
|
856
|
+
G.msg = "invalid distance too far back", J.mode = K;
|
|
854
857
|
break e;
|
|
855
858
|
}
|
|
856
859
|
if (D = 0, B = _, k === 0) {
|
|
@@ -896,7 +899,7 @@ function j0() {
|
|
|
896
899
|
p = n[(p & 65535) + (u & (1 << E) - 1)];
|
|
897
900
|
continue a;
|
|
898
901
|
} else {
|
|
899
|
-
G.msg = "invalid distance code", J.mode =
|
|
902
|
+
G.msg = "invalid distance code", J.mode = K;
|
|
900
903
|
break e;
|
|
901
904
|
}
|
|
902
905
|
break;
|
|
@@ -908,7 +911,7 @@ function j0() {
|
|
|
908
911
|
J.mode = ae;
|
|
909
912
|
break e;
|
|
910
913
|
} else {
|
|
911
|
-
G.msg = "invalid literal/length code", J.mode =
|
|
914
|
+
G.msg = "invalid literal/length code", J.mode = K;
|
|
912
915
|
break e;
|
|
913
916
|
}
|
|
914
917
|
break;
|
|
@@ -921,7 +924,7 @@ var n0, k0;
|
|
|
921
924
|
function I0() {
|
|
922
925
|
if (k0) return n0;
|
|
923
926
|
k0 = 1;
|
|
924
|
-
var
|
|
927
|
+
var K = Je(), ae = 15, ne = 852, G = 592, y = 0, J = 1, t = 2, r = [
|
|
925
928
|
/* Length codes 257..285 base */
|
|
926
929
|
3,
|
|
927
930
|
4,
|
|
@@ -1057,7 +1060,7 @@ function I0() {
|
|
|
1057
1060
|
64
|
|
1058
1061
|
];
|
|
1059
1062
|
return n0 = function(l, s, k, _, u, c, o, n) {
|
|
1060
|
-
var w = n.bits, g = 0, p = 0, E = 0, A = 0, R = 0, D = 0, B = 0, P = 0, M = 0, Z = 0, H, X, W, C, m, ie = null, T = 0, F, $ = new
|
|
1063
|
+
var w = n.bits, g = 0, p = 0, E = 0, A = 0, R = 0, D = 0, B = 0, P = 0, M = 0, Z = 0, H, X, W, C, m, ie = null, T = 0, F, $ = new K.Buf16(ae + 1), ve = new K.Buf16(ae + 1), fe = null, le = 0, he, de, ge;
|
|
1061
1064
|
for (g = 0; g <= ae; g++)
|
|
1062
1065
|
$[g] = 0;
|
|
1063
1066
|
for (p = 0; p < _; p++)
|
|
@@ -1106,16 +1109,16 @@ var E0;
|
|
|
1106
1109
|
function J0() {
|
|
1107
1110
|
if (E0) return Le;
|
|
1108
1111
|
E0 = 1;
|
|
1109
|
-
var
|
|
1112
|
+
var K = Je(), ae = z0(), ne = N0(), G = j0(), y = I0(), J = 0, t = 1, r = 2, i = 4, b = 5, v = 6, d = 0, l = 1, s = 2, k = -2, _ = -3, u = -4, c = -5, o = 8, n = 1, w = 2, g = 3, p = 4, E = 5, A = 6, R = 7, D = 8, B = 9, P = 10, M = 11, Z = 12, H = 13, X = 14, W = 15, C = 16, m = 17, ie = 18, T = 19, F = 20, $ = 21, ve = 22, fe = 23, le = 24, he = 25, de = 26, ge = 27, ze = 28, xe = 29, ce = 30, Se = 31, me = 32, Ne = 852, oe = 592, V = 15, ee = V;
|
|
1110
1113
|
function _e(S) {
|
|
1111
1114
|
return (S >>> 24 & 255) + (S >>> 8 & 65280) + ((S & 65280) << 8) + ((S & 255) << 24);
|
|
1112
1115
|
}
|
|
1113
1116
|
function we() {
|
|
1114
|
-
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
|
|
1117
|
+
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 K.Buf16(320), this.work = new K.Buf16(288), this.lendyn = null, this.distdyn = null, this.sane = 0, this.back = 0, this.was = 0;
|
|
1115
1118
|
}
|
|
1116
1119
|
function be(S) {
|
|
1117
1120
|
var L;
|
|
1118
|
-
return !S || !S.state ? k : (L = S.state, S.total_in = S.total_out = L.total = 0, S.msg = "", L.wrap && (S.adler = L.wrap & 1), L.mode = n, L.last = 0, L.havedict = 0, L.dmax = 32768, L.head = null, L.hold = 0, L.bits = 0, L.lencode = L.lendyn = new
|
|
1121
|
+
return !S || !S.state ? k : (L = S.state, S.total_in = S.total_out = L.total = 0, S.msg = "", L.wrap && (S.adler = L.wrap & 1), L.mode = n, L.last = 0, L.havedict = 0, L.dmax = 32768, L.head = null, L.hold = 0, L.bits = 0, L.lencode = L.lendyn = new K.Buf32(Ne), L.distcode = L.distdyn = new K.Buf32(oe), L.sane = 1, L.back = -1, d);
|
|
1119
1122
|
}
|
|
1120
1123
|
function Ae(S) {
|
|
1121
1124
|
var L;
|
|
@@ -1136,7 +1139,7 @@ function J0() {
|
|
|
1136
1139
|
function Ze(S) {
|
|
1137
1140
|
if (Te) {
|
|
1138
1141
|
var L;
|
|
1139
|
-
for (Ie = new
|
|
1142
|
+
for (Ie = new K.Buf32(512), De = new K.Buf32(32), L = 0; L < 144; )
|
|
1140
1143
|
S.lens[L++] = 8;
|
|
1141
1144
|
for (; L < 256; )
|
|
1142
1145
|
S.lens[L++] = 9;
|
|
@@ -1152,10 +1155,10 @@ function J0() {
|
|
|
1152
1155
|
}
|
|
1153
1156
|
function Xe(S, L, a, I) {
|
|
1154
1157
|
var te, e = S.state;
|
|
1155
|
-
return e.window === null && (e.wsize = 1 << e.wbits, e.wnext = 0, e.whave = 0, e.window = new
|
|
1158
|
+
return e.window === null && (e.wsize = 1 << e.wbits, e.wnext = 0, e.whave = 0, e.window = new K.Buf8(e.wsize)), I >= e.wsize ? (K.arraySet(e.window, L, a - e.wsize, e.wsize, 0), e.wnext = 0, e.whave = e.wsize) : (te = e.wsize - e.wnext, te > I && (te = I), K.arraySet(e.window, L, a - I, te, e.wnext), I -= te, I ? (K.arraySet(e.window, L, a - I, I, 0), e.wnext = I, e.whave = e.wsize) : (e.wnext += te, e.wnext === e.wsize && (e.wnext = 0), e.whave < e.wsize && (e.whave += te))), 0;
|
|
1156
1159
|
}
|
|
1157
1160
|
function h(S, L) {
|
|
1158
|
-
var a, I, te, e, N, O, f, x, z, re, Q, U, ue, Ge, pe = 0, se, Ee, Be, Re, Ve, Ue, ke, Oe, ye = new
|
|
1161
|
+
var a, I, te, e, N, O, f, x, z, re, Q, U, ue, Ge, pe = 0, se, Ee, Be, Re, Ve, Ue, ke, Oe, ye = new K.Buf8(4), He, Pe, _0 = (
|
|
1159
1162
|
/* permutation of code lengths */
|
|
1160
1163
|
[16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]
|
|
1161
1164
|
);
|
|
@@ -1240,7 +1243,7 @@ function J0() {
|
|
|
1240
1243
|
a.mode = A;
|
|
1241
1244
|
/* falls through */
|
|
1242
1245
|
case A:
|
|
1243
|
-
if (a.flags & 1024 && (U = a.length, U > O && (U = O), U && (a.head && (ke = a.head.extra_len - a.length, a.head.extra || (a.head.extra = new Array(a.head.extra_len)),
|
|
1246
|
+
if (a.flags & 1024 && (U = a.length, U > O && (U = O), U && (a.head && (ke = a.head.extra_len - a.length, a.head.extra || (a.head.extra = new Array(a.head.extra_len)), K.arraySet(
|
|
1244
1247
|
a.head.extra,
|
|
1245
1248
|
I,
|
|
1246
1249
|
e,
|
|
@@ -1359,7 +1362,7 @@ function J0() {
|
|
|
1359
1362
|
if (U = a.length, U) {
|
|
1360
1363
|
if (U > O && (U = O), U > f && (U = f), U === 0)
|
|
1361
1364
|
break e;
|
|
1362
|
-
|
|
1365
|
+
K.arraySet(te, I, e, U, N), O -= U, e += U, f -= U, N += U, a.length -= U;
|
|
1363
1366
|
break;
|
|
1364
1367
|
}
|
|
1365
1368
|
a.mode = Z;
|
|
@@ -1610,7 +1613,7 @@ function J0() {
|
|
|
1610
1613
|
var L = S.state;
|
|
1611
1614
|
return L.window && (L.window = null), S.state = null, d;
|
|
1612
1615
|
}
|
|
1613
|
-
function
|
|
1616
|
+
function Y(S, L) {
|
|
1614
1617
|
var a;
|
|
1615
1618
|
return !S || !S.state || (a = S.state, (a.wrap & 2) === 0) ? k : (a.head = L, L.done = !1, d);
|
|
1616
1619
|
}
|
|
@@ -1618,7 +1621,7 @@ function J0() {
|
|
|
1618
1621
|
var a = L.length, I, te, e;
|
|
1619
1622
|
return !S || !S.state || (I = S.state, I.wrap !== 0 && I.mode !== M) ? k : I.mode === M && (te = 1, te = ae(te, L, a, 0), te !== I.check) ? _ : (e = Xe(S, L, a, a), e ? (I.mode = Se, u) : (I.havedict = 1, d));
|
|
1620
1623
|
}
|
|
1621
|
-
return Le.inflateReset = Ae, Le.inflateReset2 = We, Le.inflateResetKeep = be, Le.inflateInit = Me, Le.inflateInit2 = je, Le.inflate = h, Le.inflateEnd = j, Le.inflateGetHeader =
|
|
1624
|
+
return Le.inflateReset = Ae, Le.inflateReset2 = We, Le.inflateResetKeep = be, Le.inflateInit = Me, Le.inflateInit2 = je, Le.inflate = h, Le.inflateEnd = j, Le.inflateGetHeader = Y, Le.inflateSetDictionary = q, Le.inflateInfo = "pako inflate (from Nodeca project)", Le;
|
|
1622
1625
|
}
|
|
1623
1626
|
var f0, S0;
|
|
1624
1627
|
function L0() {
|
|
@@ -1667,16 +1670,16 @@ var l0, y0;
|
|
|
1667
1670
|
function K0() {
|
|
1668
1671
|
if (y0) return l0;
|
|
1669
1672
|
y0 = 1;
|
|
1670
|
-
function
|
|
1673
|
+
function K() {
|
|
1671
1674
|
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;
|
|
1672
1675
|
}
|
|
1673
|
-
return l0 =
|
|
1676
|
+
return l0 = K, l0;
|
|
1674
1677
|
}
|
|
1675
1678
|
var A0;
|
|
1676
1679
|
function Y0() {
|
|
1677
1680
|
if (A0) return Qe;
|
|
1678
1681
|
A0 = 1;
|
|
1679
|
-
var
|
|
1682
|
+
var K = J0(), ae = Je(), ne = R0(), G = L0(), y = o0(), J = O0(), t = K0(), r = Object.prototype.toString;
|
|
1680
1683
|
function i(d) {
|
|
1681
1684
|
if (!(this instanceof i)) return new i(d);
|
|
1682
1685
|
this.options = ae.assign({
|
|
@@ -1686,13 +1689,13 @@ function Y0() {
|
|
|
1686
1689
|
}, d || {});
|
|
1687
1690
|
var l = this.options;
|
|
1688
1691
|
l.raw && l.windowBits >= 0 && l.windowBits < 16 && (l.windowBits = -l.windowBits, l.windowBits === 0 && (l.windowBits = -15)), l.windowBits >= 0 && l.windowBits < 16 && !(d && d.windowBits) && (l.windowBits += 32), l.windowBits > 15 && l.windowBits < 48 && (l.windowBits & 15) === 0 && (l.windowBits |= 15), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new J(), this.strm.avail_out = 0;
|
|
1689
|
-
var s =
|
|
1692
|
+
var s = K.inflateInit2(
|
|
1690
1693
|
this.strm,
|
|
1691
1694
|
l.windowBits
|
|
1692
1695
|
);
|
|
1693
1696
|
if (s !== G.Z_OK)
|
|
1694
1697
|
throw new Error(y[s]);
|
|
1695
|
-
if (this.header = new t(),
|
|
1698
|
+
if (this.header = new t(), K.inflateGetHeader(this.strm, this.header), l.dictionary && (typeof l.dictionary == "string" ? l.dictionary = ne.string2buf(l.dictionary) : r.call(l.dictionary) === "[object ArrayBuffer]" && (l.dictionary = new Uint8Array(l.dictionary)), l.raw && (s = K.inflateSetDictionary(this.strm, l.dictionary), s !== G.Z_OK)))
|
|
1696
1699
|
throw new Error(y[s]);
|
|
1697
1700
|
}
|
|
1698
1701
|
i.prototype.push = function(d, l) {
|
|
@@ -1701,11 +1704,11 @@ function Y0() {
|
|
|
1701
1704
|
return !1;
|
|
1702
1705
|
c = l === ~~l ? l : l === !0 ? G.Z_FINISH : G.Z_NO_FLUSH, typeof d == "string" ? s.input = ne.binstring2buf(d) : r.call(d) === "[object ArrayBuffer]" ? s.input = new Uint8Array(d) : s.input = d, s.next_in = 0, s.avail_in = s.input.length;
|
|
1703
1706
|
do {
|
|
1704
|
-
if (s.avail_out === 0 && (s.output = new ae.Buf8(k), s.next_out = 0, s.avail_out = k), u =
|
|
1707
|
+
if (s.avail_out === 0 && (s.output = new ae.Buf8(k), s.next_out = 0, s.avail_out = k), u = K.inflate(s, G.Z_NO_FLUSH), u === G.Z_NEED_DICT && _ && (u = K.inflateSetDictionary(this.strm, _)), u === G.Z_BUF_ERROR && g === !0 && (u = G.Z_OK, g = !1), u !== G.Z_STREAM_END && u !== G.Z_OK)
|
|
1705
1708
|
return this.onEnd(u), this.ended = !0, !1;
|
|
1706
1709
|
s.next_out && (s.avail_out === 0 || u === G.Z_STREAM_END || s.avail_in === 0 && (c === G.Z_FINISH || c === G.Z_SYNC_FLUSH)) && (this.options.to === "string" ? (o = ne.utf8border(s.output, s.next_out), n = s.next_out - o, w = ne.buf2string(s.output, o), s.next_out = n, s.avail_out = k - n, n && ae.arraySet(s.output, s.output, o, n, 0), this.onData(w)) : this.onData(ae.shrinkBuf(s.output, s.next_out))), s.avail_in === 0 && s.avail_out === 0 && (g = !0);
|
|
1707
1710
|
} while ((s.avail_in > 0 || s.avail_out === 0) && u !== G.Z_STREAM_END);
|
|
1708
|
-
return u === G.Z_STREAM_END && (c = G.Z_FINISH), c === G.Z_FINISH ? (u =
|
|
1711
|
+
return u === G.Z_STREAM_END && (c = G.Z_FINISH), c === G.Z_FINISH ? (u = K.inflateEnd(this.strm), this.onEnd(u), this.ended = !0, u === G.Z_OK) : (c === G.Z_SYNC_FLUSH && (this.onEnd(G.Z_OK), s.avail_out = 0), !0);
|
|
1709
1712
|
}, i.prototype.onData = function(d) {
|
|
1710
1713
|
this.chunks.push(d);
|
|
1711
1714
|
}, i.prototype.onEnd = function(d) {
|
|
@@ -1726,17 +1729,17 @@ var h0, D0;
|
|
|
1726
1729
|
function W0() {
|
|
1727
1730
|
if (D0) return h0;
|
|
1728
1731
|
D0 = 1;
|
|
1729
|
-
var
|
|
1730
|
-
return
|
|
1732
|
+
var K = Je().assign, ae = H0(), ne = Y0(), G = L0(), y = {};
|
|
1733
|
+
return K(y, ae, ne, G), h0 = y, h0;
|
|
1731
1734
|
}
|
|
1732
1735
|
var B0;
|
|
1733
1736
|
function T0() {
|
|
1734
|
-
return B0 || (B0 = 1, (function(
|
|
1737
|
+
return B0 || (B0 = 1, (function(K) {
|
|
1735
1738
|
(function() {
|
|
1736
1739
|
var ae = {};
|
|
1737
|
-
|
|
1740
|
+
K.exports = ae;
|
|
1738
1741
|
var ne;
|
|
1739
|
-
typeof
|
|
1742
|
+
typeof Z0 == "function" ? ne = W0() : ne = self.pako;
|
|
1740
1743
|
function G() {
|
|
1741
1744
|
typeof process > "u" || process.env.NODE_ENV == "development";
|
|
1742
1745
|
}
|
|
@@ -3115,7 +3118,7 @@ function T0() {
|
|
|
3115
3118
|
})(qe)), qe.exports;
|
|
3116
3119
|
}
|
|
3117
3120
|
var M0 = T0();
|
|
3118
|
-
const X0 = /* @__PURE__ */
|
|
3121
|
+
const X0 = /* @__PURE__ */ C0(M0), Q0 = /* @__PURE__ */ m0({
|
|
3119
3122
|
__proto__: null,
|
|
3120
3123
|
default: X0
|
|
3121
3124
|
}, [M0]);
|