@umoteam/editor-external 7.0.0 → 8.1.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.
Files changed (34) hide show
  1. package/build.js +3 -1
  2. package/edgeone.json +17 -0
  3. package/libs/flowchart/flowchart.js +2767 -0
  4. package/libs/flowchart/raphael.min.js +6058 -0
  5. package/libs/mammoth/mammoth.browser.min.js +21 -21
  6. package/libs/plantuml/plantuml-encoder.min.js +1904 -0
  7. package/package.json +3 -2
  8. package/imgly/background-removal-data/12086412521285f855c2921ae13d3370ab243c9a250ebe340430075780f4624b +0 -0
  9. package/imgly/background-removal-data/26a663c5a768f39155009f52e0f66815f36983ae275eec676365f7d09ef97edd +0 -0
  10. package/imgly/background-removal-data/378cd0ab154b324c0b1fe3136a605a8618865d4ce38824a30c938cc1e6312ce4 +0 -0
  11. package/imgly/background-removal-data/391ce9664d3a506e4333adb82581fc2dc6fbef0354f497ab417c050cb6eba6c4 +0 -0
  12. package/imgly/background-removal-data/417316220b16ddd1c2a4730a315206ec0405aac7b64a878bdbe514e687b07b6f +0 -0
  13. package/imgly/background-removal-data/7b64520a3747dd5dcf6ac48f612504bb3b1e273a08b42b5a7efd614b9e4a397c +0 -0
  14. package/imgly/background-removal-data/7b95dd2733643f999b985105afb755122ca36de12decadc7855ebfbdab6920e6 +0 -0
  15. package/imgly/background-removal-data/8b993f75a6dc28aab79d1f216e62b59aaa6b3a15e62159bcad4a2ac197c4db0a +0 -0
  16. package/imgly/background-removal-data/90741e8ae8b47de7666ae4163ba26087500d534973a853bbd02cea715f24b5ee +0 -0
  17. package/imgly/background-removal-data/9f0512f9be98be0f44ad2f9ec9fe706ae626f2037aca910df6d1396a06a30d41 +0 -0
  18. package/imgly/background-removal-data/a2a1f2d68cd58b5a6262755e434dee496fc0f27c0ba8fcbb5d57c56ffa1bb15f +0 -0
  19. package/imgly/background-removal-data/a984abd436e7a8119dc170730260a37436ce0d0542984b71c5a1a386777ab7fd +0 -0
  20. package/imgly/background-removal-data/af8fb2b72ffb03ed999778c4de73fd4ade196890be6e0253230b198dd11e9db0 +0 -0
  21. package/imgly/background-removal-data/b53229786ebfbaabcfec4955c248135ba47a13972bf700116a2ff85b86507d2e +0 -0
  22. package/imgly/background-removal-data/bbf8e366b8f11bb64e60c8532fc2ffed21535fa1cf981464ac45485972107855 +0 -0
  23. package/imgly/background-removal-data/c1eba9d5d2ee58ba832bf98b50624ea8813f2279505643401c23674c6b326d0b +0 -0
  24. package/imgly/background-removal-data/c9f954707cb992edf62319d9aed365b4fc9ec3f08693a020db30040c0f953198 +0 -0
  25. package/imgly/background-removal-data/cad6b95099faeba3ea1299d717990453208cc075b53332db9123a4e2bdaf160c +0 -0
  26. package/imgly/background-removal-data/dd4fad06953738263bc4d5f94974376467fc74081cba665cef18af8223894ed4 +0 -0
  27. package/imgly/background-removal-data/e9445ca5ac21e04579658183cd886440f3524caafe6a8947dd20a73b34fba5b0 +0 -0
  28. package/imgly/background-removal-data/ea46f83f60203065638f183fc8a5446dfc28a163d7ba1922fc3bc6cf40347fa2 +0 -0
  29. package/imgly/background-removal-data/ef7fb517ae63534f48efa657702b3821fb5d59e4fd372016793edc0389341cc0 +0 -0
  30. package/imgly/background-removal-data/f69890cf74d0a687904dd088c0aaadce598c8bc217366ebee6993eadd4d56208 +0 -0
  31. package/imgly/background-removal-data/f6e7e01556358ed875f260bdfb22fb6f7213ac6fd4098ed72c0e7af081f0c23c +0 -0
  32. package/imgly/background-removal-data/fa3e4102c796fb6d1dab5417c5c0b4b5d219e6b9624d045d7361a033e7db183f +0 -0
  33. package/imgly/background-removal-data/resources.json +0 -462
  34. package/mammoth/mammoth.browser.min.js +0 -21
@@ -0,0 +1,1904 @@
1
+ !(function (t) {
2
+ if ('object' == typeof exports && 'undefined' != typeof module)
3
+ module.exports = t()
4
+ else if ('function' == typeof define && define.amd) define([], t)
5
+ else {
6
+ ;('undefined' != typeof window
7
+ ? window
8
+ : 'undefined' != typeof global
9
+ ? global
10
+ : 'undefined' != typeof self
11
+ ? self
12
+ : this
13
+ ).plantumlEncoder = t()
14
+ }
15
+ })(function () {
16
+ return (function i(s, h, o) {
17
+ function l(e, t) {
18
+ if (!h[e]) {
19
+ if (!s[e]) {
20
+ var a = 'function' == typeof require && require
21
+ if (!t && a) return a(e, !0)
22
+ if (_) return _(e, !0)
23
+ var n = new Error("Cannot find module '" + e + "'")
24
+ throw ((n.code = 'MODULE_NOT_FOUND'), n)
25
+ }
26
+ var r = (h[e] = { exports: {} })
27
+ s[e][0].call(
28
+ r.exports,
29
+ function (t) {
30
+ return l(s[e][1][t] || t)
31
+ },
32
+ r,
33
+ r.exports,
34
+ i,
35
+ s,
36
+ h,
37
+ o,
38
+ )
39
+ }
40
+ return h[e].exports
41
+ }
42
+ for (
43
+ var _ = 'function' == typeof require && require, t = 0;
44
+ t < o.length;
45
+ t++
46
+ )
47
+ l(o[t])
48
+ return l
49
+ })(
50
+ {
51
+ 1: [
52
+ function (t, e, a) {
53
+ 'use strict'
54
+ var n = t('pako/lib/deflate.js')
55
+ e.exports = function (t) {
56
+ return n.deflateRaw(t, { level: 9, to: 'string' })
57
+ }
58
+ },
59
+ { 'pako/lib/deflate.js': 4 },
60
+ ],
61
+ 2: [
62
+ function (t, e, a) {
63
+ 'use strict'
64
+ function h(t) {
65
+ return t < 10
66
+ ? String.fromCharCode(48 + t)
67
+ : (t -= 10) < 26
68
+ ? String.fromCharCode(65 + t)
69
+ : (t -= 26) < 26
70
+ ? String.fromCharCode(97 + t)
71
+ : 0 === (t -= 26)
72
+ ? '-'
73
+ : 1 === t
74
+ ? '_'
75
+ : '?'
76
+ }
77
+ function n(t, e, a) {
78
+ var n = ((3 & t) << 4) | (e >> 4),
79
+ r = ((15 & e) << 2) | (a >> 6),
80
+ i = 63 & a,
81
+ s = ''
82
+ return (
83
+ (s += h(63 & (t >> 2))),
84
+ (s += h(63 & n)),
85
+ (s += h(63 & r)),
86
+ (s += h(63 & i))
87
+ )
88
+ }
89
+ e.exports = function (t) {
90
+ for (var e = '', a = 0; a < t.length; a += 3)
91
+ a + 2 === t.length
92
+ ? (e += n(t.charCodeAt(a), t.charCodeAt(a + 1), 0))
93
+ : a + 1 === t.length
94
+ ? (e += n(t.charCodeAt(a), 0, 0))
95
+ : (e += n(
96
+ t.charCodeAt(a),
97
+ t.charCodeAt(a + 1),
98
+ t.charCodeAt(a + 2),
99
+ ))
100
+ return e
101
+ }
102
+ },
103
+ {},
104
+ ],
105
+ 3: [
106
+ function (t, e, a) {
107
+ 'use strict'
108
+ var n = t('./deflate'),
109
+ r = t('./encode64')
110
+ e.exports.encode = function (t) {
111
+ var e = n(t)
112
+ return r(e)
113
+ }
114
+ },
115
+ { './deflate': 1, './encode64': 2 },
116
+ ],
117
+ 4: [
118
+ function (t, e, a) {
119
+ 'use strict'
120
+ var s = t('./zlib/deflate'),
121
+ h = t('./utils/common'),
122
+ o = t('./utils/strings'),
123
+ r = t('./zlib/messages'),
124
+ i = t('./zlib/zstream'),
125
+ l = Object.prototype.toString,
126
+ _ = 0,
127
+ d = -1,
128
+ u = 0,
129
+ f = 8
130
+ function c(t) {
131
+ if (!(this instanceof c)) return new c(t)
132
+ this.options = h.assign(
133
+ {
134
+ level: d,
135
+ method: f,
136
+ chunkSize: 16384,
137
+ windowBits: 15,
138
+ memLevel: 8,
139
+ strategy: u,
140
+ to: '',
141
+ },
142
+ t || {},
143
+ )
144
+ var e = this.options
145
+ e.raw && 0 < e.windowBits
146
+ ? (e.windowBits = -e.windowBits)
147
+ : e.gzip &&
148
+ 0 < e.windowBits &&
149
+ e.windowBits < 16 &&
150
+ (e.windowBits += 16),
151
+ (this.err = 0),
152
+ (this.msg = ''),
153
+ (this.ended = !1),
154
+ (this.chunks = []),
155
+ (this.strm = new i()),
156
+ (this.strm.avail_out = 0)
157
+ var a = s.deflateInit2(
158
+ this.strm,
159
+ e.level,
160
+ e.method,
161
+ e.windowBits,
162
+ e.memLevel,
163
+ e.strategy,
164
+ )
165
+ if (a !== _) throw new Error(r[a])
166
+ if (
167
+ (e.header && s.deflateSetHeader(this.strm, e.header),
168
+ e.dictionary)
169
+ ) {
170
+ var n
171
+ if (
172
+ ((n =
173
+ 'string' == typeof e.dictionary
174
+ ? o.string2buf(e.dictionary)
175
+ : '[object ArrayBuffer]' === l.call(e.dictionary)
176
+ ? new Uint8Array(e.dictionary)
177
+ : e.dictionary),
178
+ (a = s.deflateSetDictionary(this.strm, n)) !== _)
179
+ )
180
+ throw new Error(r[a])
181
+ this._dict_set = !0
182
+ }
183
+ }
184
+ function n(t, e) {
185
+ var a = new c(e)
186
+ if ((a.push(t, !0), a.err)) throw a.msg || r[a.err]
187
+ return a.result
188
+ }
189
+ ;(c.prototype.push = function (t, e) {
190
+ var a,
191
+ n,
192
+ r = this.strm,
193
+ i = this.options.chunkSize
194
+ if (this.ended) return !1
195
+ ;(n = e === ~~e ? e : !0 === e ? 4 : 0),
196
+ 'string' == typeof t
197
+ ? (r.input = o.string2buf(t))
198
+ : '[object ArrayBuffer]' === l.call(t)
199
+ ? (r.input = new Uint8Array(t))
200
+ : (r.input = t),
201
+ (r.next_in = 0),
202
+ (r.avail_in = r.input.length)
203
+ do {
204
+ if (
205
+ (0 === r.avail_out &&
206
+ ((r.output = new h.Buf8(i)),
207
+ (r.next_out = 0),
208
+ (r.avail_out = i)),
209
+ 1 !== (a = s.deflate(r, n)) && a !== _)
210
+ )
211
+ return this.onEnd(a), !(this.ended = !0)
212
+ ;(0 !== r.avail_out &&
213
+ (0 !== r.avail_in || (4 !== n && 2 !== n))) ||
214
+ ('string' === this.options.to
215
+ ? this.onData(
216
+ o.buf2binstring(h.shrinkBuf(r.output, r.next_out)),
217
+ )
218
+ : this.onData(h.shrinkBuf(r.output, r.next_out)))
219
+ } while ((0 < r.avail_in || 0 === r.avail_out) && 1 !== a)
220
+ return 4 === n
221
+ ? ((a = s.deflateEnd(this.strm)),
222
+ this.onEnd(a),
223
+ (this.ended = !0),
224
+ a === _)
225
+ : 2 !== n || (this.onEnd(_), !(r.avail_out = 0))
226
+ }),
227
+ (c.prototype.onData = function (t) {
228
+ this.chunks.push(t)
229
+ }),
230
+ (c.prototype.onEnd = function (t) {
231
+ t === _ &&
232
+ ('string' === this.options.to
233
+ ? (this.result = this.chunks.join(''))
234
+ : (this.result = h.flattenChunks(this.chunks))),
235
+ (this.chunks = []),
236
+ (this.err = t),
237
+ (this.msg = this.strm.msg)
238
+ }),
239
+ (a.Deflate = c),
240
+ (a.deflate = n),
241
+ (a.deflateRaw = function (t, e) {
242
+ return ((e = e || {}).raw = !0), n(t, e)
243
+ }),
244
+ (a.gzip = function (t, e) {
245
+ return ((e = e || {}).gzip = !0), n(t, e)
246
+ })
247
+ },
248
+ {
249
+ './utils/common': 5,
250
+ './utils/strings': 6,
251
+ './zlib/deflate': 9,
252
+ './zlib/messages': 10,
253
+ './zlib/zstream': 12,
254
+ },
255
+ ],
256
+ 5: [
257
+ function (t, e, a) {
258
+ 'use strict'
259
+ var n =
260
+ 'undefined' != typeof Uint8Array &&
261
+ 'undefined' != typeof Uint16Array &&
262
+ 'undefined' != typeof Int32Array
263
+ ;(a.assign = function (t) {
264
+ for (
265
+ var e, a, n = Array.prototype.slice.call(arguments, 1);
266
+ n.length;
267
+
268
+ ) {
269
+ var r = n.shift()
270
+ if (r) {
271
+ if ('object' != typeof r)
272
+ throw new TypeError(r + 'must be non-object')
273
+ for (var i in r)
274
+ (e = r),
275
+ (a = i),
276
+ Object.prototype.hasOwnProperty.call(e, a) && (t[i] = r[i])
277
+ }
278
+ }
279
+ return t
280
+ }),
281
+ (a.shrinkBuf = function (t, e) {
282
+ return t.length === e
283
+ ? t
284
+ : t.subarray
285
+ ? t.subarray(0, e)
286
+ : ((t.length = e), t)
287
+ })
288
+ var r = {
289
+ arraySet: function (t, e, a, n, r) {
290
+ if (e.subarray && t.subarray) t.set(e.subarray(a, a + n), r)
291
+ else for (var i = 0; i < n; i++) t[r + i] = e[a + i]
292
+ },
293
+ flattenChunks: function (t) {
294
+ var e, a, n, r, i, s
295
+ for (e = n = 0, a = t.length; e < a; e++) n += t[e].length
296
+ for (s = new Uint8Array(n), e = r = 0, a = t.length; e < a; e++)
297
+ (i = t[e]), s.set(i, r), (r += i.length)
298
+ return s
299
+ },
300
+ },
301
+ i = {
302
+ arraySet: function (t, e, a, n, r) {
303
+ for (var i = 0; i < n; i++) t[r + i] = e[a + i]
304
+ },
305
+ flattenChunks: function (t) {
306
+ return [].concat.apply([], t)
307
+ },
308
+ }
309
+ ;(a.setTyped = function (t) {
310
+ t
311
+ ? ((a.Buf8 = Uint8Array),
312
+ (a.Buf16 = Uint16Array),
313
+ (a.Buf32 = Int32Array),
314
+ a.assign(a, r))
315
+ : ((a.Buf8 = Array),
316
+ (a.Buf16 = Array),
317
+ (a.Buf32 = Array),
318
+ a.assign(a, i))
319
+ }),
320
+ a.setTyped(n)
321
+ },
322
+ {},
323
+ ],
324
+ 6: [
325
+ function (t, e, a) {
326
+ 'use strict'
327
+ var o = t('./common'),
328
+ r = !0,
329
+ i = !0
330
+ try {
331
+ String.fromCharCode.apply(null, [0])
332
+ } catch (t) {
333
+ r = !1
334
+ }
335
+ try {
336
+ String.fromCharCode.apply(null, new Uint8Array(1))
337
+ } catch (t) {
338
+ i = !1
339
+ }
340
+ for (var l = new o.Buf8(256), n = 0; n < 256; n++)
341
+ l[n] =
342
+ 252 <= n
343
+ ? 6
344
+ : 248 <= n
345
+ ? 5
346
+ : 240 <= n
347
+ ? 4
348
+ : 224 <= n
349
+ ? 3
350
+ : 192 <= n
351
+ ? 2
352
+ : 1
353
+ function _(t, e) {
354
+ if (e < 65534 && ((t.subarray && i) || (!t.subarray && r)))
355
+ return String.fromCharCode.apply(null, o.shrinkBuf(t, e))
356
+ for (var a = '', n = 0; n < e; n++) a += String.fromCharCode(t[n])
357
+ return a
358
+ }
359
+ ;(l[254] = l[254] = 1),
360
+ (a.string2buf = function (t) {
361
+ var e,
362
+ a,
363
+ n,
364
+ r,
365
+ i,
366
+ s = t.length,
367
+ h = 0
368
+ for (r = 0; r < s; r++)
369
+ 55296 == (64512 & (a = t.charCodeAt(r))) &&
370
+ r + 1 < s &&
371
+ 56320 == (64512 & (n = t.charCodeAt(r + 1))) &&
372
+ ((a = 65536 + ((a - 55296) << 10) + (n - 56320)), r++),
373
+ (h += a < 128 ? 1 : a < 2048 ? 2 : a < 65536 ? 3 : 4)
374
+ for (e = new o.Buf8(h), r = i = 0; i < h; r++)
375
+ 55296 == (64512 & (a = t.charCodeAt(r))) &&
376
+ r + 1 < s &&
377
+ 56320 == (64512 & (n = t.charCodeAt(r + 1))) &&
378
+ ((a = 65536 + ((a - 55296) << 10) + (n - 56320)), r++),
379
+ a < 128
380
+ ? (e[i++] = a)
381
+ : (a < 2048
382
+ ? (e[i++] = 192 | (a >>> 6))
383
+ : (a < 65536
384
+ ? (e[i++] = 224 | (a >>> 12))
385
+ : ((e[i++] = 240 | (a >>> 18)),
386
+ (e[i++] = 128 | ((a >>> 12) & 63))),
387
+ (e[i++] = 128 | ((a >>> 6) & 63))),
388
+ (e[i++] = 128 | (63 & a)))
389
+ return e
390
+ }),
391
+ (a.buf2binstring = function (t) {
392
+ return _(t, t.length)
393
+ }),
394
+ (a.binstring2buf = function (t) {
395
+ for (
396
+ var e = new o.Buf8(t.length), a = 0, n = e.length;
397
+ a < n;
398
+ a++
399
+ )
400
+ e[a] = t.charCodeAt(a)
401
+ return e
402
+ }),
403
+ (a.buf2string = function (t, e) {
404
+ var a,
405
+ n,
406
+ r,
407
+ i,
408
+ s = e || t.length,
409
+ h = new Array(2 * s)
410
+ for (a = n = 0; a < s; )
411
+ if ((r = t[a++]) < 128) h[n++] = r
412
+ else if (4 < (i = l[r])) (h[n++] = 65533), (a += i - 1)
413
+ else {
414
+ for (r &= 2 === i ? 31 : 3 === i ? 15 : 7; 1 < i && a < s; )
415
+ (r = (r << 6) | (63 & t[a++])), i--
416
+ 1 < i
417
+ ? (h[n++] = 65533)
418
+ : r < 65536
419
+ ? (h[n++] = r)
420
+ : ((r -= 65536),
421
+ (h[n++] = 55296 | ((r >> 10) & 1023)),
422
+ (h[n++] = 56320 | (1023 & r)))
423
+ }
424
+ return _(h, n)
425
+ }),
426
+ (a.utf8border = function (t, e) {
427
+ var a
428
+ for (
429
+ (e = e || t.length) > t.length && (e = t.length), a = e - 1;
430
+ 0 <= a && 128 == (192 & t[a]);
431
+
432
+ )
433
+ a--
434
+ return a < 0 ? e : 0 === a ? e : a + l[t[a]] > e ? a : e
435
+ })
436
+ },
437
+ { './common': 5 },
438
+ ],
439
+ 7: [
440
+ function (t, e, a) {
441
+ 'use strict'
442
+ e.exports = function (t, e, a, n) {
443
+ for (
444
+ var r = (65535 & t) | 0, i = ((t >>> 16) & 65535) | 0, s = 0;
445
+ 0 !== a;
446
+
447
+ ) {
448
+ for (
449
+ a -= s = 2e3 < a ? 2e3 : a;
450
+ (i = (i + (r = (r + e[n++]) | 0)) | 0), --s;
451
+
452
+ );
453
+ ;(r %= 65521), (i %= 65521)
454
+ }
455
+ return r | (i << 16) | 0
456
+ }
457
+ },
458
+ {},
459
+ ],
460
+ 8: [
461
+ function (t, e, a) {
462
+ 'use strict'
463
+ var h = (function () {
464
+ for (var t, e = [], a = 0; a < 256; a++) {
465
+ t = a
466
+ for (var n = 0; n < 8; n++)
467
+ t = 1 & t ? 3988292384 ^ (t >>> 1) : t >>> 1
468
+ e[a] = t
469
+ }
470
+ return e
471
+ })()
472
+ e.exports = function (t, e, a, n) {
473
+ var r = h,
474
+ i = n + a
475
+ t ^= -1
476
+ for (var s = n; s < i; s++) t = (t >>> 8) ^ r[255 & (t ^ e[s])]
477
+ return -1 ^ t
478
+ }
479
+ },
480
+ {},
481
+ ],
482
+ 9: [
483
+ function (t, e, a) {
484
+ 'use strict'
485
+ var o,
486
+ u = t('../utils/common'),
487
+ l = t('./trees'),
488
+ f = t('./adler32'),
489
+ c = t('./crc32'),
490
+ n = t('./messages'),
491
+ _ = 0,
492
+ d = 4,
493
+ p = 0,
494
+ g = -2,
495
+ m = -1,
496
+ b = 4,
497
+ r = 2,
498
+ v = 8,
499
+ w = 9,
500
+ i = 286,
501
+ s = 30,
502
+ h = 19,
503
+ y = 2 * i + 1,
504
+ k = 15,
505
+ z = 3,
506
+ x = 258,
507
+ A = x + z + 1,
508
+ B = 42,
509
+ C = 113,
510
+ S = 1,
511
+ E = 2,
512
+ j = 3,
513
+ U = 4
514
+ function D(t, e) {
515
+ return (t.msg = n[e]), e
516
+ }
517
+ function I(t) {
518
+ return (t << 1) - (4 < t ? 9 : 0)
519
+ }
520
+ function O(t) {
521
+ for (var e = t.length; 0 <= --e; ) t[e] = 0
522
+ }
523
+ function q(t) {
524
+ var e = t.state,
525
+ a = e.pending
526
+ a > t.avail_out && (a = t.avail_out),
527
+ 0 !== a &&
528
+ (u.arraySet(
529
+ t.output,
530
+ e.pending_buf,
531
+ e.pending_out,
532
+ a,
533
+ t.next_out,
534
+ ),
535
+ (t.next_out += a),
536
+ (e.pending_out += a),
537
+ (t.total_out += a),
538
+ (t.avail_out -= a),
539
+ (e.pending -= a),
540
+ 0 === e.pending && (e.pending_out = 0))
541
+ }
542
+ function R(t, e) {
543
+ l._tr_flush_block(
544
+ t,
545
+ 0 <= t.block_start ? t.block_start : -1,
546
+ t.strstart - t.block_start,
547
+ e,
548
+ ),
549
+ (t.block_start = t.strstart),
550
+ q(t.strm)
551
+ }
552
+ function T(t, e) {
553
+ t.pending_buf[t.pending++] = e
554
+ }
555
+ function L(t, e) {
556
+ ;(t.pending_buf[t.pending++] = (e >>> 8) & 255),
557
+ (t.pending_buf[t.pending++] = 255 & e)
558
+ }
559
+ function N(t, e) {
560
+ var a,
561
+ n,
562
+ r = t.max_chain_length,
563
+ i = t.strstart,
564
+ s = t.prev_length,
565
+ h = t.nice_match,
566
+ o = t.strstart > t.w_size - A ? t.strstart - (t.w_size - A) : 0,
567
+ l = t.window,
568
+ _ = t.w_mask,
569
+ d = t.prev,
570
+ u = t.strstart + x,
571
+ f = l[i + s - 1],
572
+ c = l[i + s]
573
+ t.prev_length >= t.good_match && (r >>= 2),
574
+ h > t.lookahead && (h = t.lookahead)
575
+ do {
576
+ if (
577
+ l[(a = e) + s] === c &&
578
+ l[a + s - 1] === f &&
579
+ l[a] === l[i] &&
580
+ l[++a] === l[i + 1]
581
+ ) {
582
+ ;(i += 2), a++
583
+ do {} while (
584
+ l[++i] === l[++a] &&
585
+ l[++i] === l[++a] &&
586
+ l[++i] === l[++a] &&
587
+ l[++i] === l[++a] &&
588
+ l[++i] === l[++a] &&
589
+ l[++i] === l[++a] &&
590
+ l[++i] === l[++a] &&
591
+ l[++i] === l[++a] &&
592
+ i < u
593
+ )
594
+ if (((n = x - (u - i)), (i = u - x), s < n)) {
595
+ if (((t.match_start = e), h <= (s = n))) break
596
+ ;(f = l[i + s - 1]), (c = l[i + s])
597
+ }
598
+ }
599
+ } while ((e = d[e & _]) > o && 0 != --r)
600
+ return s <= t.lookahead ? s : t.lookahead
601
+ }
602
+ function H(t) {
603
+ var e,
604
+ a,
605
+ n,
606
+ r,
607
+ i,
608
+ s,
609
+ h,
610
+ o,
611
+ l,
612
+ _,
613
+ d = t.w_size
614
+ do {
615
+ if (
616
+ ((r = t.window_size - t.lookahead - t.strstart),
617
+ t.strstart >= d + (d - A))
618
+ ) {
619
+ for (
620
+ u.arraySet(t.window, t.window, d, d, 0),
621
+ t.match_start -= d,
622
+ t.strstart -= d,
623
+ t.block_start -= d,
624
+ e = a = t.hash_size;
625
+ (n = t.head[--e]), (t.head[e] = d <= n ? n - d : 0), --a;
626
+
627
+ );
628
+ for (
629
+ e = a = d;
630
+ (n = t.prev[--e]), (t.prev[e] = d <= n ? n - d : 0), --a;
631
+
632
+ );
633
+ r += d
634
+ }
635
+ if (0 === t.strm.avail_in) break
636
+ if (
637
+ ((s = t.strm),
638
+ (h = t.window),
639
+ (o = t.strstart + t.lookahead),
640
+ (l = r),
641
+ (_ = void 0),
642
+ (_ = s.avail_in),
643
+ l < _ && (_ = l),
644
+ (a =
645
+ 0 === _
646
+ ? 0
647
+ : ((s.avail_in -= _),
648
+ u.arraySet(h, s.input, s.next_in, _, o),
649
+ 1 === s.state.wrap
650
+ ? (s.adler = f(s.adler, h, _, o))
651
+ : 2 === s.state.wrap && (s.adler = c(s.adler, h, _, o)),
652
+ (s.next_in += _),
653
+ (s.total_in += _),
654
+ _)),
655
+ (t.lookahead += a),
656
+ t.lookahead + t.insert >= z)
657
+ )
658
+ for (
659
+ i = t.strstart - t.insert,
660
+ t.ins_h = t.window[i],
661
+ t.ins_h =
662
+ ((t.ins_h << t.hash_shift) ^ t.window[i + 1]) &
663
+ t.hash_mask;
664
+ t.insert &&
665
+ ((t.ins_h =
666
+ ((t.ins_h << t.hash_shift) ^ t.window[i + z - 1]) &
667
+ t.hash_mask),
668
+ (t.prev[i & t.w_mask] = t.head[t.ins_h]),
669
+ (t.head[t.ins_h] = i),
670
+ i++,
671
+ t.insert--,
672
+ !(t.lookahead + t.insert < z));
673
+
674
+ );
675
+ } while (t.lookahead < A && 0 !== t.strm.avail_in)
676
+ }
677
+ function F(t, e) {
678
+ for (var a, n; ; ) {
679
+ if (t.lookahead < A) {
680
+ if ((H(t), t.lookahead < A && e === _)) return S
681
+ if (0 === t.lookahead) break
682
+ }
683
+ if (
684
+ ((a = 0),
685
+ t.lookahead >= z &&
686
+ ((t.ins_h =
687
+ ((t.ins_h << t.hash_shift) ^ t.window[t.strstart + z - 1]) &
688
+ t.hash_mask),
689
+ (a = t.prev[t.strstart & t.w_mask] = t.head[t.ins_h]),
690
+ (t.head[t.ins_h] = t.strstart)),
691
+ 0 !== a &&
692
+ t.strstart - a <= t.w_size - A &&
693
+ (t.match_length = N(t, a)),
694
+ t.match_length >= z)
695
+ )
696
+ if (
697
+ ((n = l._tr_tally(
698
+ t,
699
+ t.strstart - t.match_start,
700
+ t.match_length - z,
701
+ )),
702
+ (t.lookahead -= t.match_length),
703
+ t.match_length <= t.max_lazy_match && t.lookahead >= z)
704
+ ) {
705
+ for (
706
+ t.match_length--;
707
+ t.strstart++,
708
+ (t.ins_h =
709
+ ((t.ins_h << t.hash_shift) ^
710
+ t.window[t.strstart + z - 1]) &
711
+ t.hash_mask),
712
+ (a = t.prev[t.strstart & t.w_mask] = t.head[t.ins_h]),
713
+ (t.head[t.ins_h] = t.strstart),
714
+ 0 != --t.match_length;
715
+
716
+ );
717
+ t.strstart++
718
+ } else
719
+ (t.strstart += t.match_length),
720
+ (t.match_length = 0),
721
+ (t.ins_h = t.window[t.strstart]),
722
+ (t.ins_h =
723
+ ((t.ins_h << t.hash_shift) ^ t.window[t.strstart + 1]) &
724
+ t.hash_mask)
725
+ else
726
+ (n = l._tr_tally(t, 0, t.window[t.strstart])),
727
+ t.lookahead--,
728
+ t.strstart++
729
+ if (n && (R(t, !1), 0 === t.strm.avail_out)) return S
730
+ }
731
+ return (
732
+ (t.insert = t.strstart < z - 1 ? t.strstart : z - 1),
733
+ e === d
734
+ ? (R(t, !0), 0 === t.strm.avail_out ? j : U)
735
+ : t.last_lit && (R(t, !1), 0 === t.strm.avail_out)
736
+ ? S
737
+ : E
738
+ )
739
+ }
740
+ function K(t, e) {
741
+ for (var a, n, r; ; ) {
742
+ if (t.lookahead < A) {
743
+ if ((H(t), t.lookahead < A && e === _)) return S
744
+ if (0 === t.lookahead) break
745
+ }
746
+ if (
747
+ ((a = 0),
748
+ t.lookahead >= z &&
749
+ ((t.ins_h =
750
+ ((t.ins_h << t.hash_shift) ^ t.window[t.strstart + z - 1]) &
751
+ t.hash_mask),
752
+ (a = t.prev[t.strstart & t.w_mask] = t.head[t.ins_h]),
753
+ (t.head[t.ins_h] = t.strstart)),
754
+ (t.prev_length = t.match_length),
755
+ (t.prev_match = t.match_start),
756
+ (t.match_length = z - 1),
757
+ 0 !== a &&
758
+ t.prev_length < t.max_lazy_match &&
759
+ t.strstart - a <= t.w_size - A &&
760
+ ((t.match_length = N(t, a)),
761
+ t.match_length <= 5 &&
762
+ (1 === t.strategy ||
763
+ (t.match_length === z &&
764
+ 4096 < t.strstart - t.match_start)) &&
765
+ (t.match_length = z - 1)),
766
+ t.prev_length >= z && t.match_length <= t.prev_length)
767
+ ) {
768
+ for (
769
+ r = t.strstart + t.lookahead - z,
770
+ n = l._tr_tally(
771
+ t,
772
+ t.strstart - 1 - t.prev_match,
773
+ t.prev_length - z,
774
+ ),
775
+ t.lookahead -= t.prev_length - 1,
776
+ t.prev_length -= 2;
777
+ ++t.strstart <= r &&
778
+ ((t.ins_h =
779
+ ((t.ins_h << t.hash_shift) ^
780
+ t.window[t.strstart + z - 1]) &
781
+ t.hash_mask),
782
+ (a = t.prev[t.strstart & t.w_mask] = t.head[t.ins_h]),
783
+ (t.head[t.ins_h] = t.strstart)),
784
+ 0 != --t.prev_length;
785
+
786
+ );
787
+ if (
788
+ ((t.match_available = 0),
789
+ (t.match_length = z - 1),
790
+ t.strstart++,
791
+ n && (R(t, !1), 0 === t.strm.avail_out))
792
+ )
793
+ return S
794
+ } else if (t.match_available) {
795
+ if (
796
+ ((n = l._tr_tally(t, 0, t.window[t.strstart - 1])) &&
797
+ R(t, !1),
798
+ t.strstart++,
799
+ t.lookahead--,
800
+ 0 === t.strm.avail_out)
801
+ )
802
+ return S
803
+ } else (t.match_available = 1), t.strstart++, t.lookahead--
804
+ }
805
+ return (
806
+ t.match_available &&
807
+ ((n = l._tr_tally(t, 0, t.window[t.strstart - 1])),
808
+ (t.match_available = 0)),
809
+ (t.insert = t.strstart < z - 1 ? t.strstart : z - 1),
810
+ e === d
811
+ ? (R(t, !0), 0 === t.strm.avail_out ? j : U)
812
+ : t.last_lit && (R(t, !1), 0 === t.strm.avail_out)
813
+ ? S
814
+ : E
815
+ )
816
+ }
817
+ function M(t, e, a, n, r) {
818
+ ;(this.good_length = t),
819
+ (this.max_lazy = e),
820
+ (this.nice_length = a),
821
+ (this.max_chain = n),
822
+ (this.func = r)
823
+ }
824
+ function P() {
825
+ ;(this.strm = null),
826
+ (this.status = 0),
827
+ (this.pending_buf = null),
828
+ (this.pending_buf_size = 0),
829
+ (this.pending_out = 0),
830
+ (this.pending = 0),
831
+ (this.wrap = 0),
832
+ (this.gzhead = null),
833
+ (this.gzindex = 0),
834
+ (this.method = v),
835
+ (this.last_flush = -1),
836
+ (this.w_size = 0),
837
+ (this.w_bits = 0),
838
+ (this.w_mask = 0),
839
+ (this.window = null),
840
+ (this.window_size = 0),
841
+ (this.prev = null),
842
+ (this.head = null),
843
+ (this.ins_h = 0),
844
+ (this.hash_size = 0),
845
+ (this.hash_bits = 0),
846
+ (this.hash_mask = 0),
847
+ (this.hash_shift = 0),
848
+ (this.block_start = 0),
849
+ (this.match_length = 0),
850
+ (this.prev_match = 0),
851
+ (this.match_available = 0),
852
+ (this.strstart = 0),
853
+ (this.match_start = 0),
854
+ (this.lookahead = 0),
855
+ (this.prev_length = 0),
856
+ (this.max_chain_length = 0),
857
+ (this.max_lazy_match = 0),
858
+ (this.level = 0),
859
+ (this.strategy = 0),
860
+ (this.good_match = 0),
861
+ (this.nice_match = 0),
862
+ (this.dyn_ltree = new u.Buf16(2 * y)),
863
+ (this.dyn_dtree = new u.Buf16(2 * (2 * s + 1))),
864
+ (this.bl_tree = new u.Buf16(2 * (2 * h + 1))),
865
+ O(this.dyn_ltree),
866
+ O(this.dyn_dtree),
867
+ O(this.bl_tree),
868
+ (this.l_desc = null),
869
+ (this.d_desc = null),
870
+ (this.bl_desc = null),
871
+ (this.bl_count = new u.Buf16(k + 1)),
872
+ (this.heap = new u.Buf16(2 * i + 1)),
873
+ O(this.heap),
874
+ (this.heap_len = 0),
875
+ (this.heap_max = 0),
876
+ (this.depth = new u.Buf16(2 * i + 1)),
877
+ O(this.depth),
878
+ (this.l_buf = 0),
879
+ (this.lit_bufsize = 0),
880
+ (this.last_lit = 0),
881
+ (this.d_buf = 0),
882
+ (this.opt_len = 0),
883
+ (this.static_len = 0),
884
+ (this.matches = 0),
885
+ (this.insert = 0),
886
+ (this.bi_buf = 0),
887
+ (this.bi_valid = 0)
888
+ }
889
+ function G(t) {
890
+ var e
891
+ return t && t.state
892
+ ? ((t.total_in = t.total_out = 0),
893
+ (t.data_type = r),
894
+ ((e = t.state).pending = 0),
895
+ (e.pending_out = 0),
896
+ e.wrap < 0 && (e.wrap = -e.wrap),
897
+ (e.status = e.wrap ? B : C),
898
+ (t.adler = 2 === e.wrap ? 0 : 1),
899
+ (e.last_flush = _),
900
+ l._tr_init(e),
901
+ p)
902
+ : D(t, g)
903
+ }
904
+ function J(t) {
905
+ var e = G(t)
906
+ return (
907
+ e === p &&
908
+ (function (t) {
909
+ ;(t.window_size = 2 * t.w_size),
910
+ O(t.head),
911
+ (t.max_lazy_match = o[t.level].max_lazy),
912
+ (t.good_match = o[t.level].good_length),
913
+ (t.nice_match = o[t.level].nice_length),
914
+ (t.max_chain_length = o[t.level].max_chain),
915
+ (t.strstart = 0),
916
+ (t.block_start = 0),
917
+ (t.lookahead = 0),
918
+ (t.insert = 0),
919
+ (t.match_length = t.prev_length = z - 1),
920
+ (t.match_available = 0),
921
+ (t.ins_h = 0)
922
+ })(t.state),
923
+ e
924
+ )
925
+ }
926
+ function Q(t, e, a, n, r, i) {
927
+ if (!t) return g
928
+ var s = 1
929
+ if (
930
+ (e === m && (e = 6),
931
+ n < 0 ? ((s = 0), (n = -n)) : 15 < n && ((s = 2), (n -= 16)),
932
+ r < 1 ||
933
+ w < r ||
934
+ a !== v ||
935
+ n < 8 ||
936
+ 15 < n ||
937
+ e < 0 ||
938
+ 9 < e ||
939
+ i < 0 ||
940
+ b < i)
941
+ )
942
+ return D(t, g)
943
+ 8 === n && (n = 9)
944
+ var h = new P()
945
+ return (
946
+ ((t.state = h).strm = t),
947
+ (h.wrap = s),
948
+ (h.gzhead = null),
949
+ (h.w_bits = n),
950
+ (h.w_size = 1 << h.w_bits),
951
+ (h.w_mask = h.w_size - 1),
952
+ (h.hash_bits = r + 7),
953
+ (h.hash_size = 1 << h.hash_bits),
954
+ (h.hash_mask = h.hash_size - 1),
955
+ (h.hash_shift = ~~((h.hash_bits + z - 1) / z)),
956
+ (h.window = new u.Buf8(2 * h.w_size)),
957
+ (h.head = new u.Buf16(h.hash_size)),
958
+ (h.prev = new u.Buf16(h.w_size)),
959
+ (h.lit_bufsize = 1 << (r + 6)),
960
+ (h.pending_buf_size = 4 * h.lit_bufsize),
961
+ (h.pending_buf = new u.Buf8(h.pending_buf_size)),
962
+ (h.d_buf = 1 * h.lit_bufsize),
963
+ (h.l_buf = 3 * h.lit_bufsize),
964
+ (h.level = e),
965
+ (h.strategy = i),
966
+ (h.method = a),
967
+ J(t)
968
+ )
969
+ }
970
+ ;(o = [
971
+ new M(0, 0, 0, 0, function (t, e) {
972
+ var a = 65535
973
+ for (
974
+ a > t.pending_buf_size - 5 && (a = t.pending_buf_size - 5);
975
+ ;
976
+
977
+ ) {
978
+ if (t.lookahead <= 1) {
979
+ if ((H(t), 0 === t.lookahead && e === _)) return S
980
+ if (0 === t.lookahead) break
981
+ }
982
+ ;(t.strstart += t.lookahead), (t.lookahead = 0)
983
+ var n = t.block_start + a
984
+ if (
985
+ (0 === t.strstart || t.strstart >= n) &&
986
+ ((t.lookahead = t.strstart - n),
987
+ (t.strstart = n),
988
+ R(t, !1),
989
+ 0 === t.strm.avail_out)
990
+ )
991
+ return S
992
+ if (
993
+ t.strstart - t.block_start >= t.w_size - A &&
994
+ (R(t, !1), 0 === t.strm.avail_out)
995
+ )
996
+ return S
997
+ }
998
+ return (
999
+ (t.insert = 0),
1000
+ e === d
1001
+ ? (R(t, !0), 0 === t.strm.avail_out ? j : U)
1002
+ : (t.strstart > t.block_start && (R(t, !1), t.strm.avail_out),
1003
+ S)
1004
+ )
1005
+ }),
1006
+ new M(4, 4, 8, 4, F),
1007
+ new M(4, 5, 16, 8, F),
1008
+ new M(4, 6, 32, 32, F),
1009
+ new M(4, 4, 16, 16, K),
1010
+ new M(8, 16, 32, 32, K),
1011
+ new M(8, 16, 128, 128, K),
1012
+ new M(8, 32, 128, 256, K),
1013
+ new M(32, 128, 258, 1024, K),
1014
+ new M(32, 258, 258, 4096, K),
1015
+ ]),
1016
+ (a.deflateInit = function (t, e) {
1017
+ return Q(t, e, v, 15, 8, 0)
1018
+ }),
1019
+ (a.deflateInit2 = Q),
1020
+ (a.deflateReset = J),
1021
+ (a.deflateResetKeep = G),
1022
+ (a.deflateSetHeader = function (t, e) {
1023
+ return t && t.state
1024
+ ? 2 !== t.state.wrap
1025
+ ? g
1026
+ : ((t.state.gzhead = e), p)
1027
+ : g
1028
+ }),
1029
+ (a.deflate = function (t, e) {
1030
+ var a, n, r, i
1031
+ if (!t || !t.state || 5 < e || e < 0) return t ? D(t, g) : g
1032
+ if (
1033
+ ((n = t.state),
1034
+ !t.output ||
1035
+ (!t.input && 0 !== t.avail_in) ||
1036
+ (666 === n.status && e !== d))
1037
+ )
1038
+ return D(t, 0 === t.avail_out ? -5 : g)
1039
+ if (
1040
+ ((n.strm = t),
1041
+ (a = n.last_flush),
1042
+ (n.last_flush = e),
1043
+ n.status === B)
1044
+ )
1045
+ if (2 === n.wrap)
1046
+ (t.adler = 0),
1047
+ T(n, 31),
1048
+ T(n, 139),
1049
+ T(n, 8),
1050
+ n.gzhead
1051
+ ? (T(
1052
+ n,
1053
+ (n.gzhead.text ? 1 : 0) +
1054
+ (n.gzhead.hcrc ? 2 : 0) +
1055
+ (n.gzhead.extra ? 4 : 0) +
1056
+ (n.gzhead.name ? 8 : 0) +
1057
+ (n.gzhead.comment ? 16 : 0),
1058
+ ),
1059
+ T(n, 255 & n.gzhead.time),
1060
+ T(n, (n.gzhead.time >> 8) & 255),
1061
+ T(n, (n.gzhead.time >> 16) & 255),
1062
+ T(n, (n.gzhead.time >> 24) & 255),
1063
+ T(
1064
+ n,
1065
+ 9 === n.level
1066
+ ? 2
1067
+ : 2 <= n.strategy || n.level < 2
1068
+ ? 4
1069
+ : 0,
1070
+ ),
1071
+ T(n, 255 & n.gzhead.os),
1072
+ n.gzhead.extra &&
1073
+ n.gzhead.extra.length &&
1074
+ (T(n, 255 & n.gzhead.extra.length),
1075
+ T(n, (n.gzhead.extra.length >> 8) & 255)),
1076
+ n.gzhead.hcrc &&
1077
+ (t.adler = c(t.adler, n.pending_buf, n.pending, 0)),
1078
+ (n.gzindex = 0),
1079
+ (n.status = 69))
1080
+ : (T(n, 0),
1081
+ T(n, 0),
1082
+ T(n, 0),
1083
+ T(n, 0),
1084
+ T(n, 0),
1085
+ T(
1086
+ n,
1087
+ 9 === n.level
1088
+ ? 2
1089
+ : 2 <= n.strategy || n.level < 2
1090
+ ? 4
1091
+ : 0,
1092
+ ),
1093
+ T(n, 3),
1094
+ (n.status = C))
1095
+ else {
1096
+ var s = (v + ((n.w_bits - 8) << 4)) << 8
1097
+ ;(s |=
1098
+ (2 <= n.strategy || n.level < 2
1099
+ ? 0
1100
+ : n.level < 6
1101
+ ? 1
1102
+ : 6 === n.level
1103
+ ? 2
1104
+ : 3) << 6),
1105
+ 0 !== n.strstart && (s |= 32),
1106
+ (s += 31 - (s % 31)),
1107
+ (n.status = C),
1108
+ L(n, s),
1109
+ 0 !== n.strstart &&
1110
+ (L(n, t.adler >>> 16), L(n, 65535 & t.adler)),
1111
+ (t.adler = 1)
1112
+ }
1113
+ if (69 === n.status)
1114
+ if (n.gzhead.extra) {
1115
+ for (
1116
+ r = n.pending;
1117
+ n.gzindex < (65535 & n.gzhead.extra.length) &&
1118
+ (n.pending !== n.pending_buf_size ||
1119
+ (n.gzhead.hcrc &&
1120
+ n.pending > r &&
1121
+ (t.adler = c(t.adler, n.pending_buf, n.pending - r, r)),
1122
+ q(t),
1123
+ (r = n.pending),
1124
+ n.pending !== n.pending_buf_size));
1125
+
1126
+ )
1127
+ T(n, 255 & n.gzhead.extra[n.gzindex]), n.gzindex++
1128
+ n.gzhead.hcrc &&
1129
+ n.pending > r &&
1130
+ (t.adler = c(t.adler, n.pending_buf, n.pending - r, r)),
1131
+ n.gzindex === n.gzhead.extra.length &&
1132
+ ((n.gzindex = 0), (n.status = 73))
1133
+ } else n.status = 73
1134
+ if (73 === n.status)
1135
+ if (n.gzhead.name) {
1136
+ r = n.pending
1137
+ do {
1138
+ if (
1139
+ n.pending === n.pending_buf_size &&
1140
+ (n.gzhead.hcrc &&
1141
+ n.pending > r &&
1142
+ (t.adler = c(t.adler, n.pending_buf, n.pending - r, r)),
1143
+ q(t),
1144
+ (r = n.pending),
1145
+ n.pending === n.pending_buf_size)
1146
+ ) {
1147
+ i = 1
1148
+ break
1149
+ }
1150
+ ;(i =
1151
+ n.gzindex < n.gzhead.name.length
1152
+ ? 255 & n.gzhead.name.charCodeAt(n.gzindex++)
1153
+ : 0),
1154
+ T(n, i)
1155
+ } while (0 !== i)
1156
+ n.gzhead.hcrc &&
1157
+ n.pending > r &&
1158
+ (t.adler = c(t.adler, n.pending_buf, n.pending - r, r)),
1159
+ 0 === i && ((n.gzindex = 0), (n.status = 91))
1160
+ } else n.status = 91
1161
+ if (91 === n.status)
1162
+ if (n.gzhead.comment) {
1163
+ r = n.pending
1164
+ do {
1165
+ if (
1166
+ n.pending === n.pending_buf_size &&
1167
+ (n.gzhead.hcrc &&
1168
+ n.pending > r &&
1169
+ (t.adler = c(t.adler, n.pending_buf, n.pending - r, r)),
1170
+ q(t),
1171
+ (r = n.pending),
1172
+ n.pending === n.pending_buf_size)
1173
+ ) {
1174
+ i = 1
1175
+ break
1176
+ }
1177
+ ;(i =
1178
+ n.gzindex < n.gzhead.comment.length
1179
+ ? 255 & n.gzhead.comment.charCodeAt(n.gzindex++)
1180
+ : 0),
1181
+ T(n, i)
1182
+ } while (0 !== i)
1183
+ n.gzhead.hcrc &&
1184
+ n.pending > r &&
1185
+ (t.adler = c(t.adler, n.pending_buf, n.pending - r, r)),
1186
+ 0 === i && (n.status = 103)
1187
+ } else n.status = 103
1188
+ if (
1189
+ (103 === n.status &&
1190
+ (n.gzhead.hcrc
1191
+ ? (n.pending + 2 > n.pending_buf_size && q(t),
1192
+ n.pending + 2 <= n.pending_buf_size &&
1193
+ (T(n, 255 & t.adler),
1194
+ T(n, (t.adler >> 8) & 255),
1195
+ (t.adler = 0),
1196
+ (n.status = C)))
1197
+ : (n.status = C)),
1198
+ 0 !== n.pending)
1199
+ ) {
1200
+ if ((q(t), 0 === t.avail_out)) return (n.last_flush = -1), p
1201
+ } else if (0 === t.avail_in && I(e) <= I(a) && e !== d)
1202
+ return D(t, -5)
1203
+ if (666 === n.status && 0 !== t.avail_in) return D(t, -5)
1204
+ if (
1205
+ 0 !== t.avail_in ||
1206
+ 0 !== n.lookahead ||
1207
+ (e !== _ && 666 !== n.status)
1208
+ ) {
1209
+ var h =
1210
+ 2 === n.strategy
1211
+ ? (function (t, e) {
1212
+ for (var a; ; ) {
1213
+ if (0 === t.lookahead && (H(t), 0 === t.lookahead)) {
1214
+ if (e === _) return S
1215
+ break
1216
+ }
1217
+ if (
1218
+ ((t.match_length = 0),
1219
+ (a = l._tr_tally(t, 0, t.window[t.strstart])),
1220
+ t.lookahead--,
1221
+ t.strstart++,
1222
+ a && (R(t, !1), 0 === t.strm.avail_out))
1223
+ )
1224
+ return S
1225
+ }
1226
+ return (
1227
+ (t.insert = 0),
1228
+ e === d
1229
+ ? (R(t, !0), 0 === t.strm.avail_out ? j : U)
1230
+ : t.last_lit && (R(t, !1), 0 === t.strm.avail_out)
1231
+ ? S
1232
+ : E
1233
+ )
1234
+ })(n, e)
1235
+ : 3 === n.strategy
1236
+ ? (function (t, e) {
1237
+ for (var a, n, r, i, s = t.window; ; ) {
1238
+ if (t.lookahead <= x) {
1239
+ if ((H(t), t.lookahead <= x && e === _)) return S
1240
+ if (0 === t.lookahead) break
1241
+ }
1242
+ if (
1243
+ ((t.match_length = 0),
1244
+ t.lookahead >= z &&
1245
+ 0 < t.strstart &&
1246
+ (n = s[(r = t.strstart - 1)]) === s[++r] &&
1247
+ n === s[++r] &&
1248
+ n === s[++r])
1249
+ ) {
1250
+ i = t.strstart + x
1251
+ do {} while (
1252
+ n === s[++r] &&
1253
+ n === s[++r] &&
1254
+ n === s[++r] &&
1255
+ n === s[++r] &&
1256
+ n === s[++r] &&
1257
+ n === s[++r] &&
1258
+ n === s[++r] &&
1259
+ n === s[++r] &&
1260
+ r < i
1261
+ )
1262
+ ;(t.match_length = x - (i - r)),
1263
+ t.match_length > t.lookahead &&
1264
+ (t.match_length = t.lookahead)
1265
+ }
1266
+ if (
1267
+ (t.match_length >= z
1268
+ ? ((a = l._tr_tally(t, 1, t.match_length - z)),
1269
+ (t.lookahead -= t.match_length),
1270
+ (t.strstart += t.match_length),
1271
+ (t.match_length = 0))
1272
+ : ((a = l._tr_tally(
1273
+ t,
1274
+ 0,
1275
+ t.window[t.strstart],
1276
+ )),
1277
+ t.lookahead--,
1278
+ t.strstart++),
1279
+ a && (R(t, !1), 0 === t.strm.avail_out))
1280
+ )
1281
+ return S
1282
+ }
1283
+ return (
1284
+ (t.insert = 0),
1285
+ e === d
1286
+ ? (R(t, !0), 0 === t.strm.avail_out ? j : U)
1287
+ : t.last_lit && (R(t, !1), 0 === t.strm.avail_out)
1288
+ ? S
1289
+ : E
1290
+ )
1291
+ })(n, e)
1292
+ : o[n.level].func(n, e)
1293
+ if (
1294
+ ((h !== j && h !== U) || (n.status = 666), h === S || h === j)
1295
+ )
1296
+ return 0 === t.avail_out && (n.last_flush = -1), p
1297
+ if (
1298
+ h === E &&
1299
+ (1 === e
1300
+ ? l._tr_align(n)
1301
+ : 5 !== e &&
1302
+ (l._tr_stored_block(n, 0, 0, !1),
1303
+ 3 === e &&
1304
+ (O(n.head),
1305
+ 0 === n.lookahead &&
1306
+ ((n.strstart = 0),
1307
+ (n.block_start = 0),
1308
+ (n.insert = 0)))),
1309
+ q(t),
1310
+ 0 === t.avail_out)
1311
+ )
1312
+ return (n.last_flush = -1), p
1313
+ }
1314
+ return e !== d
1315
+ ? p
1316
+ : n.wrap <= 0
1317
+ ? 1
1318
+ : (2 === n.wrap
1319
+ ? (T(n, 255 & t.adler),
1320
+ T(n, (t.adler >> 8) & 255),
1321
+ T(n, (t.adler >> 16) & 255),
1322
+ T(n, (t.adler >> 24) & 255),
1323
+ T(n, 255 & t.total_in),
1324
+ T(n, (t.total_in >> 8) & 255),
1325
+ T(n, (t.total_in >> 16) & 255),
1326
+ T(n, (t.total_in >> 24) & 255))
1327
+ : (L(n, t.adler >>> 16), L(n, 65535 & t.adler)),
1328
+ q(t),
1329
+ 0 < n.wrap && (n.wrap = -n.wrap),
1330
+ 0 !== n.pending ? p : 1)
1331
+ }),
1332
+ (a.deflateEnd = function (t) {
1333
+ var e
1334
+ return t && t.state
1335
+ ? (e = t.state.status) !== B &&
1336
+ 69 !== e &&
1337
+ 73 !== e &&
1338
+ 91 !== e &&
1339
+ 103 !== e &&
1340
+ e !== C &&
1341
+ 666 !== e
1342
+ ? D(t, g)
1343
+ : ((t.state = null), e === C ? D(t, -3) : p)
1344
+ : g
1345
+ }),
1346
+ (a.deflateSetDictionary = function (t, e) {
1347
+ var a,
1348
+ n,
1349
+ r,
1350
+ i,
1351
+ s,
1352
+ h,
1353
+ o,
1354
+ l,
1355
+ _ = e.length
1356
+ if (!t || !t.state) return g
1357
+ if (
1358
+ 2 === (i = (a = t.state).wrap) ||
1359
+ (1 === i && a.status !== B) ||
1360
+ a.lookahead
1361
+ )
1362
+ return g
1363
+ for (
1364
+ 1 === i && (t.adler = f(t.adler, e, _, 0)),
1365
+ a.wrap = 0,
1366
+ _ >= a.w_size &&
1367
+ (0 === i &&
1368
+ (O(a.head),
1369
+ (a.strstart = 0),
1370
+ (a.block_start = 0),
1371
+ (a.insert = 0)),
1372
+ (l = new u.Buf8(a.w_size)),
1373
+ u.arraySet(l, e, _ - a.w_size, a.w_size, 0),
1374
+ (e = l),
1375
+ (_ = a.w_size)),
1376
+ s = t.avail_in,
1377
+ h = t.next_in,
1378
+ o = t.input,
1379
+ t.avail_in = _,
1380
+ t.next_in = 0,
1381
+ t.input = e,
1382
+ H(a);
1383
+ a.lookahead >= z;
1384
+
1385
+ ) {
1386
+ for (
1387
+ n = a.strstart, r = a.lookahead - (z - 1);
1388
+ (a.ins_h =
1389
+ ((a.ins_h << a.hash_shift) ^ a.window[n + z - 1]) &
1390
+ a.hash_mask),
1391
+ (a.prev[n & a.w_mask] = a.head[a.ins_h]),
1392
+ (a.head[a.ins_h] = n),
1393
+ n++,
1394
+ --r;
1395
+
1396
+ );
1397
+ ;(a.strstart = n), (a.lookahead = z - 1), H(a)
1398
+ }
1399
+ return (
1400
+ (a.strstart += a.lookahead),
1401
+ (a.block_start = a.strstart),
1402
+ (a.insert = a.lookahead),
1403
+ (a.lookahead = 0),
1404
+ (a.match_length = a.prev_length = z - 1),
1405
+ (a.match_available = 0),
1406
+ (t.next_in = h),
1407
+ (t.input = o),
1408
+ (t.avail_in = s),
1409
+ (a.wrap = i),
1410
+ p
1411
+ )
1412
+ }),
1413
+ (a.deflateInfo = 'pako deflate (from Nodeca project)')
1414
+ },
1415
+ {
1416
+ '../utils/common': 5,
1417
+ './adler32': 7,
1418
+ './crc32': 8,
1419
+ './messages': 10,
1420
+ './trees': 11,
1421
+ },
1422
+ ],
1423
+ 10: [
1424
+ function (t, e, a) {
1425
+ 'use strict'
1426
+ e.exports = {
1427
+ 2: 'need dictionary',
1428
+ 1: 'stream end',
1429
+ 0: '',
1430
+ '-1': 'file error',
1431
+ '-2': 'stream error',
1432
+ '-3': 'data error',
1433
+ '-4': 'insufficient memory',
1434
+ '-5': 'buffer error',
1435
+ '-6': 'incompatible version',
1436
+ }
1437
+ },
1438
+ {},
1439
+ ],
1440
+ 11: [
1441
+ function (t, e, a) {
1442
+ 'use strict'
1443
+ var r = t('../utils/common'),
1444
+ h = 0,
1445
+ o = 1
1446
+ function n(t) {
1447
+ for (var e = t.length; 0 <= --e; ) t[e] = 0
1448
+ }
1449
+ var i = 0,
1450
+ s = 29,
1451
+ l = 256,
1452
+ _ = l + 1 + s,
1453
+ d = 30,
1454
+ u = 19,
1455
+ g = 2 * _ + 1,
1456
+ m = 15,
1457
+ f = 16,
1458
+ c = 7,
1459
+ p = 256,
1460
+ b = 16,
1461
+ v = 17,
1462
+ w = 18,
1463
+ y = [
1464
+ 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4,
1465
+ 4, 4, 5, 5, 5, 5, 0,
1466
+ ],
1467
+ k = [
1468
+ 0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9,
1469
+ 10, 10, 11, 11, 12, 12, 13, 13,
1470
+ ],
1471
+ z = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7],
1472
+ x = [
1473
+ 16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15,
1474
+ ],
1475
+ A = new Array(2 * (_ + 2))
1476
+ n(A)
1477
+ var B = new Array(2 * d)
1478
+ n(B)
1479
+ var C = new Array(512)
1480
+ n(C)
1481
+ var S = new Array(256)
1482
+ n(S)
1483
+ var E = new Array(s)
1484
+ n(E)
1485
+ var j,
1486
+ U,
1487
+ D,
1488
+ I = new Array(d)
1489
+ function O(t, e, a, n, r) {
1490
+ ;(this.static_tree = t),
1491
+ (this.extra_bits = e),
1492
+ (this.extra_base = a),
1493
+ (this.elems = n),
1494
+ (this.max_length = r),
1495
+ (this.has_stree = t && t.length)
1496
+ }
1497
+ function q(t, e) {
1498
+ ;(this.dyn_tree = t), (this.max_code = 0), (this.stat_desc = e)
1499
+ }
1500
+ function R(t) {
1501
+ return t < 256 ? C[t] : C[256 + (t >>> 7)]
1502
+ }
1503
+ function T(t, e) {
1504
+ ;(t.pending_buf[t.pending++] = 255 & e),
1505
+ (t.pending_buf[t.pending++] = (e >>> 8) & 255)
1506
+ }
1507
+ function L(t, e, a) {
1508
+ t.bi_valid > f - a
1509
+ ? ((t.bi_buf |= (e << t.bi_valid) & 65535),
1510
+ T(t, t.bi_buf),
1511
+ (t.bi_buf = e >> (f - t.bi_valid)),
1512
+ (t.bi_valid += a - f))
1513
+ : ((t.bi_buf |= (e << t.bi_valid) & 65535), (t.bi_valid += a))
1514
+ }
1515
+ function N(t, e, a) {
1516
+ L(t, a[2 * e], a[2 * e + 1])
1517
+ }
1518
+ function H(t, e) {
1519
+ for (var a = 0; (a |= 1 & t), (t >>>= 1), (a <<= 1), 0 < --e; );
1520
+ return a >>> 1
1521
+ }
1522
+ function F(t, e, a) {
1523
+ var n,
1524
+ r,
1525
+ i = new Array(m + 1),
1526
+ s = 0
1527
+ for (n = 1; n <= m; n++) i[n] = s = (s + a[n - 1]) << 1
1528
+ for (r = 0; r <= e; r++) {
1529
+ var h = t[2 * r + 1]
1530
+ 0 !== h && (t[2 * r] = H(i[h]++, h))
1531
+ }
1532
+ }
1533
+ function K(t) {
1534
+ var e
1535
+ for (e = 0; e < _; e++) t.dyn_ltree[2 * e] = 0
1536
+ for (e = 0; e < d; e++) t.dyn_dtree[2 * e] = 0
1537
+ for (e = 0; e < u; e++) t.bl_tree[2 * e] = 0
1538
+ ;(t.dyn_ltree[2 * p] = 1),
1539
+ (t.opt_len = t.static_len = 0),
1540
+ (t.last_lit = t.matches = 0)
1541
+ }
1542
+ function M(t) {
1543
+ 8 < t.bi_valid
1544
+ ? T(t, t.bi_buf)
1545
+ : 0 < t.bi_valid && (t.pending_buf[t.pending++] = t.bi_buf),
1546
+ (t.bi_buf = 0),
1547
+ (t.bi_valid = 0)
1548
+ }
1549
+ function P(t, e, a, n) {
1550
+ var r = 2 * e,
1551
+ i = 2 * a
1552
+ return t[r] < t[i] || (t[r] === t[i] && n[e] <= n[a])
1553
+ }
1554
+ function G(t, e, a) {
1555
+ for (
1556
+ var n = t.heap[a], r = a << 1;
1557
+ r <= t.heap_len &&
1558
+ (r < t.heap_len && P(e, t.heap[r + 1], t.heap[r], t.depth) && r++,
1559
+ !P(e, n, t.heap[r], t.depth));
1560
+
1561
+ )
1562
+ (t.heap[a] = t.heap[r]), (a = r), (r <<= 1)
1563
+ t.heap[a] = n
1564
+ }
1565
+ function J(t, e, a) {
1566
+ var n,
1567
+ r,
1568
+ i,
1569
+ s,
1570
+ h = 0
1571
+ if (0 !== t.last_lit)
1572
+ for (
1573
+ ;
1574
+ (n =
1575
+ (t.pending_buf[t.d_buf + 2 * h] << 8) |
1576
+ t.pending_buf[t.d_buf + 2 * h + 1]),
1577
+ (r = t.pending_buf[t.l_buf + h]),
1578
+ h++,
1579
+ 0 === n
1580
+ ? N(t, r, e)
1581
+ : (N(t, (i = S[r]) + l + 1, e),
1582
+ 0 !== (s = y[i]) && L(t, (r -= E[i]), s),
1583
+ N(t, (i = R(--n)), a),
1584
+ 0 !== (s = k[i]) && L(t, (n -= I[i]), s)),
1585
+ h < t.last_lit;
1586
+
1587
+ );
1588
+ N(t, p, e)
1589
+ }
1590
+ function Q(t, e) {
1591
+ var a,
1592
+ n,
1593
+ r,
1594
+ i = e.dyn_tree,
1595
+ s = e.stat_desc.static_tree,
1596
+ h = e.stat_desc.has_stree,
1597
+ o = e.stat_desc.elems,
1598
+ l = -1
1599
+ for (t.heap_len = 0, t.heap_max = g, a = 0; a < o; a++)
1600
+ 0 !== i[2 * a]
1601
+ ? ((t.heap[++t.heap_len] = l = a), (t.depth[a] = 0))
1602
+ : (i[2 * a + 1] = 0)
1603
+ for (; t.heap_len < 2; )
1604
+ (i[2 * (r = t.heap[++t.heap_len] = l < 2 ? ++l : 0)] = 1),
1605
+ (t.depth[r] = 0),
1606
+ t.opt_len--,
1607
+ h && (t.static_len -= s[2 * r + 1])
1608
+ for (e.max_code = l, a = t.heap_len >> 1; 1 <= a; a--) G(t, i, a)
1609
+ for (
1610
+ r = o;
1611
+ (a = t.heap[1]),
1612
+ (t.heap[1] = t.heap[t.heap_len--]),
1613
+ G(t, i, 1),
1614
+ (n = t.heap[1]),
1615
+ (t.heap[--t.heap_max] = a),
1616
+ (t.heap[--t.heap_max] = n),
1617
+ (i[2 * r] = i[2 * a] + i[2 * n]),
1618
+ (t.depth[r] =
1619
+ (t.depth[a] >= t.depth[n] ? t.depth[a] : t.depth[n]) + 1),
1620
+ (i[2 * a + 1] = i[2 * n + 1] = r),
1621
+ (t.heap[1] = r++),
1622
+ G(t, i, 1),
1623
+ 2 <= t.heap_len;
1624
+
1625
+ );
1626
+ ;(t.heap[--t.heap_max] = t.heap[1]),
1627
+ (function (t, e) {
1628
+ var a,
1629
+ n,
1630
+ r,
1631
+ i,
1632
+ s,
1633
+ h,
1634
+ o = e.dyn_tree,
1635
+ l = e.max_code,
1636
+ _ = e.stat_desc.static_tree,
1637
+ d = e.stat_desc.has_stree,
1638
+ u = e.stat_desc.extra_bits,
1639
+ f = e.stat_desc.extra_base,
1640
+ c = e.stat_desc.max_length,
1641
+ p = 0
1642
+ for (i = 0; i <= m; i++) t.bl_count[i] = 0
1643
+ for (
1644
+ o[2 * t.heap[t.heap_max] + 1] = 0, a = t.heap_max + 1;
1645
+ a < g;
1646
+ a++
1647
+ )
1648
+ c < (i = o[2 * o[2 * (n = t.heap[a]) + 1] + 1] + 1) &&
1649
+ ((i = c), p++),
1650
+ (o[2 * n + 1] = i),
1651
+ l < n ||
1652
+ (t.bl_count[i]++,
1653
+ (s = 0),
1654
+ f <= n && (s = u[n - f]),
1655
+ (h = o[2 * n]),
1656
+ (t.opt_len += h * (i + s)),
1657
+ d && (t.static_len += h * (_[2 * n + 1] + s)))
1658
+ if (0 !== p) {
1659
+ do {
1660
+ for (i = c - 1; 0 === t.bl_count[i]; ) i--
1661
+ t.bl_count[i]--,
1662
+ (t.bl_count[i + 1] += 2),
1663
+ t.bl_count[c]--,
1664
+ (p -= 2)
1665
+ } while (0 < p)
1666
+ for (i = c; 0 !== i; i--)
1667
+ for (n = t.bl_count[i]; 0 !== n; )
1668
+ l < (r = t.heap[--a]) ||
1669
+ (o[2 * r + 1] !== i &&
1670
+ ((t.opt_len += (i - o[2 * r + 1]) * o[2 * r]),
1671
+ (o[2 * r + 1] = i)),
1672
+ n--)
1673
+ }
1674
+ })(t, e),
1675
+ F(i, l, t.bl_count)
1676
+ }
1677
+ function V(t, e, a) {
1678
+ var n,
1679
+ r,
1680
+ i = -1,
1681
+ s = e[1],
1682
+ h = 0,
1683
+ o = 7,
1684
+ l = 4
1685
+ for (
1686
+ 0 === s && ((o = 138), (l = 3)),
1687
+ e[2 * (a + 1) + 1] = 65535,
1688
+ n = 0;
1689
+ n <= a;
1690
+ n++
1691
+ )
1692
+ (r = s),
1693
+ (s = e[2 * (n + 1) + 1]),
1694
+ (++h < o && r === s) ||
1695
+ (h < l
1696
+ ? (t.bl_tree[2 * r] += h)
1697
+ : 0 !== r
1698
+ ? (r !== i && t.bl_tree[2 * r]++, t.bl_tree[2 * b]++)
1699
+ : h <= 10
1700
+ ? t.bl_tree[2 * v]++
1701
+ : t.bl_tree[2 * w]++,
1702
+ (i = r),
1703
+ (l =
1704
+ (h = 0) === s
1705
+ ? ((o = 138), 3)
1706
+ : r === s
1707
+ ? ((o = 6), 3)
1708
+ : ((o = 7), 4)))
1709
+ }
1710
+ function W(t, e, a) {
1711
+ var n,
1712
+ r,
1713
+ i = -1,
1714
+ s = e[1],
1715
+ h = 0,
1716
+ o = 7,
1717
+ l = 4
1718
+ for (0 === s && ((o = 138), (l = 3)), n = 0; n <= a; n++)
1719
+ if (((r = s), (s = e[2 * (n + 1) + 1]), !(++h < o && r === s))) {
1720
+ if (h < l) for (; N(t, r, t.bl_tree), 0 != --h; );
1721
+ else
1722
+ 0 !== r
1723
+ ? (r !== i && (N(t, r, t.bl_tree), h--),
1724
+ N(t, b, t.bl_tree),
1725
+ L(t, h - 3, 2))
1726
+ : h <= 10
1727
+ ? (N(t, v, t.bl_tree), L(t, h - 3, 3))
1728
+ : (N(t, w, t.bl_tree), L(t, h - 11, 7))
1729
+ ;(i = r),
1730
+ (l =
1731
+ (h = 0) === s
1732
+ ? ((o = 138), 3)
1733
+ : r === s
1734
+ ? ((o = 6), 3)
1735
+ : ((o = 7), 4))
1736
+ }
1737
+ }
1738
+ n(I)
1739
+ var X = !1
1740
+ function Y(t, e, a, n) {
1741
+ L(t, (i << 1) + (n ? 1 : 0), 3),
1742
+ (function (t, e, a, n) {
1743
+ M(t),
1744
+ n && (T(t, a), T(t, ~a)),
1745
+ r.arraySet(t.pending_buf, t.window, e, a, t.pending),
1746
+ (t.pending += a)
1747
+ })(t, e, a, !0)
1748
+ }
1749
+ ;(a._tr_init = function (t) {
1750
+ X ||
1751
+ ((function () {
1752
+ var t,
1753
+ e,
1754
+ a,
1755
+ n,
1756
+ r,
1757
+ i = new Array(m + 1)
1758
+ for (n = a = 0; n < s - 1; n++)
1759
+ for (E[n] = a, t = 0; t < 1 << y[n]; t++) S[a++] = n
1760
+ for (S[a - 1] = n, n = r = 0; n < 16; n++)
1761
+ for (I[n] = r, t = 0; t < 1 << k[n]; t++) C[r++] = n
1762
+ for (r >>= 7; n < d; n++)
1763
+ for (I[n] = r << 7, t = 0; t < 1 << (k[n] - 7); t++)
1764
+ C[256 + r++] = n
1765
+ for (e = 0; e <= m; e++) i[e] = 0
1766
+ for (t = 0; t <= 143; ) (A[2 * t + 1] = 8), t++, i[8]++
1767
+ for (; t <= 255; ) (A[2 * t + 1] = 9), t++, i[9]++
1768
+ for (; t <= 279; ) (A[2 * t + 1] = 7), t++, i[7]++
1769
+ for (; t <= 287; ) (A[2 * t + 1] = 8), t++, i[8]++
1770
+ for (F(A, _ + 1, i), t = 0; t < d; t++)
1771
+ (B[2 * t + 1] = 5), (B[2 * t] = H(t, 5))
1772
+ ;(j = new O(A, y, l + 1, _, m)),
1773
+ (U = new O(B, k, 0, d, m)),
1774
+ (D = new O(new Array(0), z, 0, u, c))
1775
+ })(),
1776
+ (X = !0)),
1777
+ (t.l_desc = new q(t.dyn_ltree, j)),
1778
+ (t.d_desc = new q(t.dyn_dtree, U)),
1779
+ (t.bl_desc = new q(t.bl_tree, D)),
1780
+ (t.bi_buf = 0),
1781
+ (t.bi_valid = 0),
1782
+ K(t)
1783
+ }),
1784
+ (a._tr_stored_block = Y),
1785
+ (a._tr_flush_block = function (t, e, a, n) {
1786
+ var r,
1787
+ i,
1788
+ s = 0
1789
+ 0 < t.level
1790
+ ? (2 === t.strm.data_type &&
1791
+ (t.strm.data_type = (function (t) {
1792
+ var e,
1793
+ a = 4093624447
1794
+ for (e = 0; e <= 31; e++, a >>>= 1)
1795
+ if (1 & a && 0 !== t.dyn_ltree[2 * e]) return h
1796
+ if (
1797
+ 0 !== t.dyn_ltree[18] ||
1798
+ 0 !== t.dyn_ltree[20] ||
1799
+ 0 !== t.dyn_ltree[26]
1800
+ )
1801
+ return o
1802
+ for (e = 32; e < l; e++)
1803
+ if (0 !== t.dyn_ltree[2 * e]) return o
1804
+ return h
1805
+ })(t)),
1806
+ Q(t, t.l_desc),
1807
+ Q(t, t.d_desc),
1808
+ (s = (function (t) {
1809
+ var e
1810
+ for (
1811
+ V(t, t.dyn_ltree, t.l_desc.max_code),
1812
+ V(t, t.dyn_dtree, t.d_desc.max_code),
1813
+ Q(t, t.bl_desc),
1814
+ e = u - 1;
1815
+ 3 <= e && 0 === t.bl_tree[2 * x[e] + 1];
1816
+ e--
1817
+ );
1818
+ return (t.opt_len += 3 * (e + 1) + 5 + 5 + 4), e
1819
+ })(t)),
1820
+ (r = (t.opt_len + 3 + 7) >>> 3),
1821
+ (i = (t.static_len + 3 + 7) >>> 3) <= r && (r = i))
1822
+ : (r = i = a + 5),
1823
+ a + 4 <= r && -1 !== e
1824
+ ? Y(t, e, a, n)
1825
+ : 4 === t.strategy || i === r
1826
+ ? (L(t, 2 + (n ? 1 : 0), 3), J(t, A, B))
1827
+ : (L(t, 4 + (n ? 1 : 0), 3),
1828
+ (function (t, e, a, n) {
1829
+ var r
1830
+ for (
1831
+ L(t, e - 257, 5),
1832
+ L(t, a - 1, 5),
1833
+ L(t, n - 4, 4),
1834
+ r = 0;
1835
+ r < n;
1836
+ r++
1837
+ )
1838
+ L(t, t.bl_tree[2 * x[r] + 1], 3)
1839
+ W(t, t.dyn_ltree, e - 1), W(t, t.dyn_dtree, a - 1)
1840
+ })(
1841
+ t,
1842
+ t.l_desc.max_code + 1,
1843
+ t.d_desc.max_code + 1,
1844
+ s + 1,
1845
+ ),
1846
+ J(t, t.dyn_ltree, t.dyn_dtree)),
1847
+ K(t),
1848
+ n && M(t)
1849
+ }),
1850
+ (a._tr_tally = function (t, e, a) {
1851
+ return (
1852
+ (t.pending_buf[t.d_buf + 2 * t.last_lit] = (e >>> 8) & 255),
1853
+ (t.pending_buf[t.d_buf + 2 * t.last_lit + 1] = 255 & e),
1854
+ (t.pending_buf[t.l_buf + t.last_lit] = 255 & a),
1855
+ t.last_lit++,
1856
+ 0 === e
1857
+ ? t.dyn_ltree[2 * a]++
1858
+ : (t.matches++,
1859
+ e--,
1860
+ t.dyn_ltree[2 * (S[a] + l + 1)]++,
1861
+ t.dyn_dtree[2 * R(e)]++),
1862
+ t.last_lit === t.lit_bufsize - 1
1863
+ )
1864
+ }),
1865
+ (a._tr_align = function (t) {
1866
+ L(t, 2, 3),
1867
+ N(t, p, A),
1868
+ (function (t) {
1869
+ 16 === t.bi_valid
1870
+ ? (T(t, t.bi_buf), (t.bi_buf = 0), (t.bi_valid = 0))
1871
+ : 8 <= t.bi_valid &&
1872
+ ((t.pending_buf[t.pending++] = 255 & t.bi_buf),
1873
+ (t.bi_buf >>= 8),
1874
+ (t.bi_valid -= 8))
1875
+ })(t)
1876
+ })
1877
+ },
1878
+ { '../utils/common': 5 },
1879
+ ],
1880
+ 12: [
1881
+ function (t, e, a) {
1882
+ 'use strict'
1883
+ e.exports = function () {
1884
+ ;(this.input = null),
1885
+ (this.next_in = 0),
1886
+ (this.avail_in = 0),
1887
+ (this.total_in = 0),
1888
+ (this.output = null),
1889
+ (this.next_out = 0),
1890
+ (this.avail_out = 0),
1891
+ (this.total_out = 0),
1892
+ (this.msg = ''),
1893
+ (this.state = null),
1894
+ (this.data_type = 2),
1895
+ (this.adler = 0)
1896
+ }
1897
+ },
1898
+ {},
1899
+ ],
1900
+ },
1901
+ {},
1902
+ [3],
1903
+ )(3)
1904
+ })