@work-zhanguo/light-file-preview 0.0.5 → 0.0.7

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 (39) hide show
  1. package/README.md +3 -1
  2. package/dist/{DocxRenderer-B8Ed3qFw.js → DocxRenderer-DogNhBLd.js} +2 -2
  3. package/dist/PdfRenderer-Due2M5cA.js +57 -0
  4. package/dist/{SheetRenderer-C9AKQiKN.js → SheetRenderer-D4Y1dYZX.js} +2 -2
  5. package/dist/{TextRenderer-W4uPsa5O.js → TextRenderer-KUhpnf63.js} +14 -14
  6. package/dist/{UnsupportedRenderer-BpyBTIIE.js → UnsupportedRenderer-8vWx7yB8.js} +1 -1
  7. package/dist/_commonjs-dynamic-modules-C74YT1gS.js +32 -0
  8. package/dist/{docx-preview-B2OPGnfm.js → docx-preview-BV-bQyiM.js} +729 -721
  9. package/dist/{index-BlBE9ZR-.js → index-BNN8UXSN.js} +86 -85
  10. package/dist/light-file-preview.js +1 -1
  11. package/dist/light-file-preview.umd.cjs +158 -161
  12. package/dist/{marked.esm-toXckLRC.js → marked.esm-CRmQbSOC.js} +15 -15
  13. package/dist/pdf-BiKi76Et.js +15320 -0
  14. package/dist/{purify.es-D5dazAgD.js → purify.es-CCmmh-Lt.js} +10 -10
  15. package/dist/standalone/light-file-preview.iife.js +160 -163
  16. package/dist/standalone/style.css +1 -1
  17. package/dist/style.css +1 -1
  18. package/dist/{text-CcxmtFce.js → text-Bqxn_tMI.js} +5 -5
  19. package/dist/vue2/{DocxRenderer-IkLQeCjg.js → DocxRenderer-B9neMid7.js} +3 -3
  20. package/dist/vue2/PdfRenderer-iEictZ1C.js +57 -0
  21. package/dist/vue2/{SheetRenderer-CuAyFgj9.js → SheetRenderer-KITfWM9E.js} +3 -3
  22. package/dist/vue2/{TextRenderer-Bxqs7APd.js → TextRenderer-B8_BjhwJ.js} +14 -14
  23. package/dist/vue2/{UnsupportedRenderer-Cs2uPl_6.js → UnsupportedRenderer-WZYKdRc9.js} +1 -1
  24. package/dist/vue2/_commonjs-dynamic-modules-C74YT1gS.js +32 -0
  25. package/dist/vue2/{docx-preview-B2OPGnfm.js → docx-preview-BV-bQyiM.js} +729 -721
  26. package/dist/vue2/light-file-preview-vue2.js +1 -1
  27. package/dist/vue2/light-file-preview-vue2.umd.cjs +160 -163
  28. package/dist/vue2/{marked.esm-toXckLRC.js → marked.esm-CRmQbSOC.js} +15 -15
  29. package/dist/vue2/pdf-BiKi76Et.js +15320 -0
  30. package/dist/vue2/{purify.es-D5dazAgD.js → purify.es-CCmmh-Lt.js} +10 -10
  31. package/dist/vue2/{text-CcxmtFce.js → text-Bqxn_tMI.js} +5 -5
  32. package/dist/vue2/{vue2-CzAkhodr.js → vue2-C2dNeAAJ.js} +119 -118
  33. package/dist/vue2/{xlsx-CZNBZqms.js → xlsx-j9Zzywas.js} +82 -82
  34. package/dist/{xlsx-CZNBZqms.js → xlsx-j9Zzywas.js} +82 -82
  35. package/package.json +2 -2
  36. package/dist/PdfRenderer-CYtwJLrP.js +0 -57
  37. package/dist/pdf-B2JYpzlX.js +0 -14597
  38. package/dist/vue2/PdfRenderer-DmgMRpqS.js +0 -57
  39. package/dist/vue2/pdf-B2JYpzlX.js +0 -14597
@@ -1,10 +1,4 @@
1
- var Mt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2
- function _e(c) {
3
- return c && c.__esModule && Object.prototype.hasOwnProperty.call(c, "default") ? c.default : c;
4
- }
5
- function Rt(c) {
6
- throw new Error('Could not dynamically require "' + c + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
7
- }
1
+ import { c as Mt, a as Rt, b as _e } from "./_commonjs-dynamic-modules-C74YT1gS.js";
8
2
  var Lt = { exports: {} };
9
3
  /*!
10
4
 
@@ -17,60 +11,60 @@ Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/js
17
11
  JSZip uses the library pako released under the MIT license :
18
12
  https://github.com/nodeca/pako/blob/main/LICENSE
19
13
  */
20
- var qt;
14
+ var Kt;
21
15
  function we() {
22
- return qt || (qt = 1, (function(c, e) {
16
+ return Kt || (Kt = 1, (function(c, e) {
23
17
  (function(t) {
24
18
  c.exports = t();
25
19
  })(function() {
26
20
  return (function t(r, n, a) {
27
- function o(y, w) {
28
- if (!n[y]) {
29
- if (!r[y]) {
30
- var _ = typeof Rt == "function" && Rt;
31
- if (!w && _) return _(y, !0);
32
- if (i) return i(y, !0);
33
- var k = new Error("Cannot find module '" + y + "'");
34
- throw k.code = "MODULE_NOT_FOUND", k;
21
+ function o(b, y) {
22
+ if (!n[b]) {
23
+ if (!r[b]) {
24
+ var _ = typeof Mt == "function" && Mt;
25
+ if (!y && _) return _(b, !0);
26
+ if (i) return i(b, !0);
27
+ var w = new Error("Cannot find module '" + b + "'");
28
+ throw w.code = "MODULE_NOT_FOUND", w;
35
29
  }
36
- var d = n[y] = { exports: {} };
37
- r[y][0].call(d.exports, function(v) {
38
- var u = r[y][1][v];
39
- return o(u || v);
30
+ var d = n[b] = { exports: {} };
31
+ r[b][0].call(d.exports, function(k) {
32
+ var u = r[b][1][k];
33
+ return o(u || k);
40
34
  }, d, d.exports, t, r, n, a);
41
35
  }
42
- return n[y].exports;
36
+ return n[b].exports;
43
37
  }
44
- for (var i = typeof Rt == "function" && Rt, h = 0; h < a.length; h++) o(a[h]);
38
+ for (var i = typeof Mt == "function" && Mt, h = 0; h < a.length; h++) o(a[h]);
45
39
  return o;
46
40
  })({ 1: [function(t, r, n) {
47
41
  var a = t("./utils"), o = t("./support"), i = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
48
42
  n.encode = function(h) {
49
- for (var y, w, _, k, d, v, u, m = [], f = 0, b = h.length, x = b, A = a.getTypeOf(h) !== "string"; f < h.length; ) x = b - f, _ = A ? (y = h[f++], w = f < b ? h[f++] : 0, f < b ? h[f++] : 0) : (y = h.charCodeAt(f++), w = f < b ? h.charCodeAt(f++) : 0, f < b ? h.charCodeAt(f++) : 0), k = y >> 2, d = (3 & y) << 4 | w >> 4, v = 1 < x ? (15 & w) << 2 | _ >> 6 : 64, u = 2 < x ? 63 & _ : 64, m.push(i.charAt(k) + i.charAt(d) + i.charAt(v) + i.charAt(u));
43
+ for (var b, y, _, w, d, k, u, m = [], f = 0, v = h.length, x = v, A = a.getTypeOf(h) !== "string"; f < h.length; ) x = v - f, _ = A ? (b = h[f++], y = f < v ? h[f++] : 0, f < v ? h[f++] : 0) : (b = h.charCodeAt(f++), y = f < v ? h.charCodeAt(f++) : 0, f < v ? h.charCodeAt(f++) : 0), w = b >> 2, d = (3 & b) << 4 | y >> 4, k = 1 < x ? (15 & y) << 2 | _ >> 6 : 64, u = 2 < x ? 63 & _ : 64, m.push(i.charAt(w) + i.charAt(d) + i.charAt(k) + i.charAt(u));
50
44
  return m.join("");
51
45
  }, n.decode = function(h) {
52
- var y, w, _, k, d, v, u = 0, m = 0, f = "data:";
46
+ var b, y, _, w, d, k, u = 0, m = 0, f = "data:";
53
47
  if (h.substr(0, f.length) === f) throw new Error("Invalid base64 input, it looks like a data url.");
54
- var b, x = 3 * (h = h.replace(/[^A-Za-z0-9+/=]/g, "")).length / 4;
48
+ var v, x = 3 * (h = h.replace(/[^A-Za-z0-9+/=]/g, "")).length / 4;
55
49
  if (h.charAt(h.length - 1) === i.charAt(64) && x--, h.charAt(h.length - 2) === i.charAt(64) && x--, x % 1 != 0) throw new Error("Invalid base64 input, bad content length.");
56
- for (b = o.uint8array ? new Uint8Array(0 | x) : new Array(0 | x); u < h.length; ) y = i.indexOf(h.charAt(u++)) << 2 | (k = i.indexOf(h.charAt(u++))) >> 4, w = (15 & k) << 4 | (d = i.indexOf(h.charAt(u++))) >> 2, _ = (3 & d) << 6 | (v = i.indexOf(h.charAt(u++))), b[m++] = y, d !== 64 && (b[m++] = w), v !== 64 && (b[m++] = _);
57
- return b;
50
+ for (v = o.uint8array ? new Uint8Array(0 | x) : new Array(0 | x); u < h.length; ) b = i.indexOf(h.charAt(u++)) << 2 | (w = i.indexOf(h.charAt(u++))) >> 4, y = (15 & w) << 4 | (d = i.indexOf(h.charAt(u++))) >> 2, _ = (3 & d) << 6 | (k = i.indexOf(h.charAt(u++))), v[m++] = b, d !== 64 && (v[m++] = y), k !== 64 && (v[m++] = _);
51
+ return v;
58
52
  };
59
53
  }, { "./support": 30, "./utils": 32 }], 2: [function(t, r, n) {
60
54
  var a = t("./external"), o = t("./stream/DataWorker"), i = t("./stream/Crc32Probe"), h = t("./stream/DataLengthProbe");
61
- function y(w, _, k, d, v) {
62
- this.compressedSize = w, this.uncompressedSize = _, this.crc32 = k, this.compression = d, this.compressedContent = v;
55
+ function b(y, _, w, d, k) {
56
+ this.compressedSize = y, this.uncompressedSize = _, this.crc32 = w, this.compression = d, this.compressedContent = k;
63
57
  }
64
- y.prototype = { getContentWorker: function() {
65
- var w = new o(a.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new h("data_length")), _ = this;
66
- return w.on("end", function() {
58
+ b.prototype = { getContentWorker: function() {
59
+ var y = new o(a.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new h("data_length")), _ = this;
60
+ return y.on("end", function() {
67
61
  if (this.streamInfo.data_length !== _.uncompressedSize) throw new Error("Bug : uncompressed data size mismatch");
68
- }), w;
62
+ }), y;
69
63
  }, getCompressedWorker: function() {
70
64
  return new o(a.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize", this.compressedSize).withStreamInfo("uncompressedSize", this.uncompressedSize).withStreamInfo("crc32", this.crc32).withStreamInfo("compression", this.compression);
71
- } }, y.createWorkerFrom = function(w, _, k) {
72
- return w.pipe(new i()).pipe(new h("uncompressedSize")).pipe(_.compressWorker(k)).pipe(new h("compressedSize")).withStreamInfo("compression", _);
73
- }, r.exports = y;
65
+ } }, b.createWorkerFrom = function(y, _, w) {
66
+ return y.pipe(new i()).pipe(new h("uncompressedSize")).pipe(_.compressWorker(w)).pipe(new h("compressedSize")).withStreamInfo("compression", _);
67
+ }, r.exports = b;
74
68
  }, { "./external": 6, "./stream/Crc32Probe": 25, "./stream/DataLengthProbe": 26, "./stream/DataWorker": 27 }], 3: [function(t, r, n) {
75
69
  var a = t("./stream/GenericWorker");
76
70
  n.STORE = { magic: "\0\0", compressWorker: function() {
@@ -80,148 +74,148 @@ function we() {
80
74
  } }, n.DEFLATE = t("./flate");
81
75
  }, { "./flate": 7, "./stream/GenericWorker": 28 }], 4: [function(t, r, n) {
82
76
  var a = t("./utils"), o = (function() {
83
- for (var i, h = [], y = 0; y < 256; y++) {
84
- i = y;
85
- for (var w = 0; w < 8; w++) i = 1 & i ? 3988292384 ^ i >>> 1 : i >>> 1;
86
- h[y] = i;
77
+ for (var i, h = [], b = 0; b < 256; b++) {
78
+ i = b;
79
+ for (var y = 0; y < 8; y++) i = 1 & i ? 3988292384 ^ i >>> 1 : i >>> 1;
80
+ h[b] = i;
87
81
  }
88
82
  return h;
89
83
  })();
90
84
  r.exports = function(i, h) {
91
- return i !== void 0 && i.length ? a.getTypeOf(i) !== "string" ? (function(y, w, _, k) {
92
- var d = o, v = k + _;
93
- y ^= -1;
94
- for (var u = k; u < v; u++) y = y >>> 8 ^ d[255 & (y ^ w[u])];
95
- return -1 ^ y;
96
- })(0 | h, i, i.length, 0) : (function(y, w, _, k) {
97
- var d = o, v = k + _;
98
- y ^= -1;
99
- for (var u = k; u < v; u++) y = y >>> 8 ^ d[255 & (y ^ w.charCodeAt(u))];
100
- return -1 ^ y;
85
+ return i !== void 0 && i.length ? a.getTypeOf(i) !== "string" ? (function(b, y, _, w) {
86
+ var d = o, k = w + _;
87
+ b ^= -1;
88
+ for (var u = w; u < k; u++) b = b >>> 8 ^ d[255 & (b ^ y[u])];
89
+ return -1 ^ b;
90
+ })(0 | h, i, i.length, 0) : (function(b, y, _, w) {
91
+ var d = o, k = w + _;
92
+ b ^= -1;
93
+ for (var u = w; u < k; u++) b = b >>> 8 ^ d[255 & (b ^ y.charCodeAt(u))];
94
+ return -1 ^ b;
101
95
  })(0 | h, i, i.length, 0) : 0;
102
96
  };
103
97
  }, { "./utils": 32 }], 5: [function(t, r, n) {
104
98
  n.base64 = !1, n.binary = !1, n.dir = !1, n.createFolders = !0, n.date = null, n.compression = null, n.compressionOptions = null, n.comment = null, n.unixPermissions = null, n.dosPermissions = null;
105
99
  }, {}], 6: [function(t, r, n) {
106
100
  var a = null;
107
- a = typeof Promise < "u" ? Promise : t("lie"), r.exports = { Promise: a };
101
+ a = typeof Promise != "undefined" ? Promise : t("lie"), r.exports = { Promise: a };
108
102
  }, { lie: 37 }], 7: [function(t, r, n) {
109
- var a = typeof Uint8Array < "u" && typeof Uint16Array < "u" && typeof Uint32Array < "u", o = t("pako"), i = t("./utils"), h = t("./stream/GenericWorker"), y = a ? "uint8array" : "array";
110
- function w(_, k) {
111
- h.call(this, "FlateWorker/" + _), this._pako = null, this._pakoAction = _, this._pakoOptions = k, this.meta = {};
103
+ var a = typeof Uint8Array != "undefined" && typeof Uint16Array != "undefined" && typeof Uint32Array != "undefined", o = t("pako"), i = t("./utils"), h = t("./stream/GenericWorker"), b = a ? "uint8array" : "array";
104
+ function y(_, w) {
105
+ h.call(this, "FlateWorker/" + _), this._pako = null, this._pakoAction = _, this._pakoOptions = w, this.meta = {};
112
106
  }
113
- n.magic = "\b\0", i.inherits(w, h), w.prototype.processChunk = function(_) {
114
- this.meta = _.meta, this._pako === null && this._createPako(), this._pako.push(i.transformTo(y, _.data), !1);
115
- }, w.prototype.flush = function() {
107
+ n.magic = "\b\0", i.inherits(y, h), y.prototype.processChunk = function(_) {
108
+ this.meta = _.meta, this._pako === null && this._createPako(), this._pako.push(i.transformTo(b, _.data), !1);
109
+ }, y.prototype.flush = function() {
116
110
  h.prototype.flush.call(this), this._pako === null && this._createPako(), this._pako.push([], !0);
117
- }, w.prototype.cleanUp = function() {
111
+ }, y.prototype.cleanUp = function() {
118
112
  h.prototype.cleanUp.call(this), this._pako = null;
119
- }, w.prototype._createPako = function() {
113
+ }, y.prototype._createPako = function() {
120
114
  this._pako = new o[this._pakoAction]({ raw: !0, level: this._pakoOptions.level || -1 });
121
115
  var _ = this;
122
- this._pako.onData = function(k) {
123
- _.push({ data: k, meta: _.meta });
116
+ this._pako.onData = function(w) {
117
+ _.push({ data: w, meta: _.meta });
124
118
  };
125
119
  }, n.compressWorker = function(_) {
126
- return new w("Deflate", _);
120
+ return new y("Deflate", _);
127
121
  }, n.uncompressWorker = function() {
128
- return new w("Inflate", {});
122
+ return new y("Inflate", {});
129
123
  };
130
124
  }, { "./stream/GenericWorker": 28, "./utils": 32, pako: 38 }], 8: [function(t, r, n) {
131
- function a(d, v) {
125
+ function a(d, k) {
132
126
  var u, m = "";
133
- for (u = 0; u < v; u++) m += String.fromCharCode(255 & d), d >>>= 8;
127
+ for (u = 0; u < k; u++) m += String.fromCharCode(255 & d), d >>>= 8;
134
128
  return m;
135
129
  }
136
- function o(d, v, u, m, f, b) {
137
- var x, A, P = d.file, D = d.compression, F = b !== y.utf8encode, W = i.transformTo("string", b(P.name)), T = i.transformTo("string", y.utf8encode(P.name)), V = P.comment, Q = i.transformTo("string", b(V)), S = i.transformTo("string", y.utf8encode(V)), I = T.length !== P.name.length, l = S.length !== V.length, L = "", et = "", $ = "", rt = P.dir, H = P.date, tt = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
138
- v && !u || (tt.crc32 = d.crc32, tt.compressedSize = d.compressedSize, tt.uncompressedSize = d.uncompressedSize);
130
+ function o(d, k, u, m, f, v) {
131
+ var x, A, P = d.file, D = d.compression, F = v !== b.utf8encode, W = i.transformTo("string", v(P.name)), T = i.transformTo("string", b.utf8encode(P.name)), V = P.comment, Q = i.transformTo("string", v(V)), S = i.transformTo("string", b.utf8encode(V)), I = T.length !== P.name.length, l = S.length !== V.length, L = "", et = "", $ = "", rt = P.dir, H = P.date, tt = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
132
+ k && !u || (tt.crc32 = d.crc32, tt.compressedSize = d.compressedSize, tt.uncompressedSize = d.uncompressedSize);
139
133
  var M = 0;
140
- v && (M |= 8), F || !I && !l || (M |= 2048);
134
+ k && (M |= 8), F || !I && !l || (M |= 2048);
141
135
  var z = 0, J = 0;
142
136
  rt && (z |= 16), f === "UNIX" ? (J = 798, z |= (function(X, ct) {
143
137
  var mt = X;
144
138
  return X || (mt = ct ? 16893 : 33204), (65535 & mt) << 16;
145
139
  })(P.unixPermissions, rt)) : (J = 20, z |= (function(X) {
146
140
  return 63 & (X || 0);
147
- })(P.dosPermissions)), x = H.getUTCHours(), x <<= 6, x |= H.getUTCMinutes(), x <<= 5, x |= H.getUTCSeconds() / 2, A = H.getUTCFullYear() - 1980, A <<= 4, A |= H.getUTCMonth() + 1, A <<= 5, A |= H.getUTCDate(), I && (et = a(1, 1) + a(w(W), 4) + T, L += "up" + a(et.length, 2) + et), l && ($ = a(1, 1) + a(w(Q), 4) + S, L += "uc" + a($.length, 2) + $);
148
- var q = "";
149
- return q += `
150
- \0`, q += a(M, 2), q += D.magic, q += a(x, 2), q += a(A, 2), q += a(tt.crc32, 4), q += a(tt.compressedSize, 4), q += a(tt.uncompressedSize, 4), q += a(W.length, 2), q += a(L.length, 2), { fileRecord: _.LOCAL_FILE_HEADER + q + W + L, dirRecord: _.CENTRAL_FILE_HEADER + a(J, 2) + q + a(Q.length, 2) + "\0\0\0\0" + a(z, 4) + a(m, 4) + W + L + Q };
141
+ })(P.dosPermissions)), x = H.getUTCHours(), x <<= 6, x |= H.getUTCMinutes(), x <<= 5, x |= H.getUTCSeconds() / 2, A = H.getUTCFullYear() - 1980, A <<= 4, A |= H.getUTCMonth() + 1, A <<= 5, A |= H.getUTCDate(), I && (et = a(1, 1) + a(y(W), 4) + T, L += "up" + a(et.length, 2) + et), l && ($ = a(1, 1) + a(y(Q), 4) + S, L += "uc" + a($.length, 2) + $);
142
+ var K = "";
143
+ return K += `
144
+ \0`, K += a(M, 2), K += D.magic, K += a(x, 2), K += a(A, 2), K += a(tt.crc32, 4), K += a(tt.compressedSize, 4), K += a(tt.uncompressedSize, 4), K += a(W.length, 2), K += a(L.length, 2), { fileRecord: _.LOCAL_FILE_HEADER + K + W + L, dirRecord: _.CENTRAL_FILE_HEADER + a(J, 2) + K + a(Q.length, 2) + "\0\0\0\0" + a(z, 4) + a(m, 4) + W + L + Q };
151
145
  }
152
- var i = t("../utils"), h = t("../stream/GenericWorker"), y = t("../utf8"), w = t("../crc32"), _ = t("../signature");
153
- function k(d, v, u, m) {
154
- h.call(this, "ZipFileWorker"), this.bytesWritten = 0, this.zipComment = v, this.zipPlatform = u, this.encodeFileName = m, this.streamFiles = d, this.accumulate = !1, this.contentBuffer = [], this.dirRecords = [], this.currentSourceOffset = 0, this.entriesCount = 0, this.currentFile = null, this._sources = [];
146
+ var i = t("../utils"), h = t("../stream/GenericWorker"), b = t("../utf8"), y = t("../crc32"), _ = t("../signature");
147
+ function w(d, k, u, m) {
148
+ h.call(this, "ZipFileWorker"), this.bytesWritten = 0, this.zipComment = k, this.zipPlatform = u, this.encodeFileName = m, this.streamFiles = d, this.accumulate = !1, this.contentBuffer = [], this.dirRecords = [], this.currentSourceOffset = 0, this.entriesCount = 0, this.currentFile = null, this._sources = [];
155
149
  }
156
- i.inherits(k, h), k.prototype.push = function(d) {
157
- var v = d.meta.percent || 0, u = this.entriesCount, m = this._sources.length;
158
- this.accumulate ? this.contentBuffer.push(d) : (this.bytesWritten += d.data.length, h.prototype.push.call(this, { data: d.data, meta: { currentFile: this.currentFile, percent: u ? (v + 100 * (u - m - 1)) / u : 100 } }));
159
- }, k.prototype.openedSource = function(d) {
150
+ i.inherits(w, h), w.prototype.push = function(d) {
151
+ var k = d.meta.percent || 0, u = this.entriesCount, m = this._sources.length;
152
+ this.accumulate ? this.contentBuffer.push(d) : (this.bytesWritten += d.data.length, h.prototype.push.call(this, { data: d.data, meta: { currentFile: this.currentFile, percent: u ? (k + 100 * (u - m - 1)) / u : 100 } }));
153
+ }, w.prototype.openedSource = function(d) {
160
154
  this.currentSourceOffset = this.bytesWritten, this.currentFile = d.file.name;
161
- var v = this.streamFiles && !d.file.dir;
162
- if (v) {
163
- var u = o(d, v, !1, this.currentSourceOffset, this.zipPlatform, this.encodeFileName);
155
+ var k = this.streamFiles && !d.file.dir;
156
+ if (k) {
157
+ var u = o(d, k, !1, this.currentSourceOffset, this.zipPlatform, this.encodeFileName);
164
158
  this.push({ data: u.fileRecord, meta: { percent: 0 } });
165
159
  } else this.accumulate = !0;
166
- }, k.prototype.closedSource = function(d) {
160
+ }, w.prototype.closedSource = function(d) {
167
161
  this.accumulate = !1;
168
- var v = this.streamFiles && !d.file.dir, u = o(d, v, !0, this.currentSourceOffset, this.zipPlatform, this.encodeFileName);
169
- if (this.dirRecords.push(u.dirRecord), v) this.push({ data: (function(m) {
162
+ var k = this.streamFiles && !d.file.dir, u = o(d, k, !0, this.currentSourceOffset, this.zipPlatform, this.encodeFileName);
163
+ if (this.dirRecords.push(u.dirRecord), k) this.push({ data: (function(m) {
170
164
  return _.DATA_DESCRIPTOR + a(m.crc32, 4) + a(m.compressedSize, 4) + a(m.uncompressedSize, 4);
171
165
  })(d), meta: { percent: 100 } });
172
166
  else for (this.push({ data: u.fileRecord, meta: { percent: 0 } }); this.contentBuffer.length; ) this.push(this.contentBuffer.shift());
173
167
  this.currentFile = null;
174
- }, k.prototype.flush = function() {
175
- for (var d = this.bytesWritten, v = 0; v < this.dirRecords.length; v++) this.push({ data: this.dirRecords[v], meta: { percent: 100 } });
176
- var u = this.bytesWritten - d, m = (function(f, b, x, A, P) {
168
+ }, w.prototype.flush = function() {
169
+ for (var d = this.bytesWritten, k = 0; k < this.dirRecords.length; k++) this.push({ data: this.dirRecords[k], meta: { percent: 100 } });
170
+ var u = this.bytesWritten - d, m = (function(f, v, x, A, P) {
177
171
  var D = i.transformTo("string", P(A));
178
- return _.CENTRAL_DIRECTORY_END + "\0\0\0\0" + a(f, 2) + a(f, 2) + a(b, 4) + a(x, 4) + a(D.length, 2) + D;
172
+ return _.CENTRAL_DIRECTORY_END + "\0\0\0\0" + a(f, 2) + a(f, 2) + a(v, 4) + a(x, 4) + a(D.length, 2) + D;
179
173
  })(this.dirRecords.length, u, d, this.zipComment, this.encodeFileName);
180
174
  this.push({ data: m, meta: { percent: 100 } });
181
- }, k.prototype.prepareNextSource = function() {
175
+ }, w.prototype.prepareNextSource = function() {
182
176
  this.previous = this._sources.shift(), this.openedSource(this.previous.streamInfo), this.isPaused ? this.previous.pause() : this.previous.resume();
183
- }, k.prototype.registerPrevious = function(d) {
177
+ }, w.prototype.registerPrevious = function(d) {
184
178
  this._sources.push(d);
185
- var v = this;
179
+ var k = this;
186
180
  return d.on("data", function(u) {
187
- v.processChunk(u);
181
+ k.processChunk(u);
188
182
  }), d.on("end", function() {
189
- v.closedSource(v.previous.streamInfo), v._sources.length ? v.prepareNextSource() : v.end();
183
+ k.closedSource(k.previous.streamInfo), k._sources.length ? k.prepareNextSource() : k.end();
190
184
  }), d.on("error", function(u) {
191
- v.error(u);
185
+ k.error(u);
192
186
  }), this;
193
- }, k.prototype.resume = function() {
187
+ }, w.prototype.resume = function() {
194
188
  return !!h.prototype.resume.call(this) && (!this.previous && this._sources.length ? (this.prepareNextSource(), !0) : this.previous || this._sources.length || this.generatedError ? void 0 : (this.end(), !0));
195
- }, k.prototype.error = function(d) {
196
- var v = this._sources;
189
+ }, w.prototype.error = function(d) {
190
+ var k = this._sources;
197
191
  if (!h.prototype.error.call(this, d)) return !1;
198
- for (var u = 0; u < v.length; u++) try {
199
- v[u].error(d);
200
- } catch {
192
+ for (var u = 0; u < k.length; u++) try {
193
+ k[u].error(d);
194
+ } catch (m) {
201
195
  }
202
196
  return !0;
203
- }, k.prototype.lock = function() {
197
+ }, w.prototype.lock = function() {
204
198
  h.prototype.lock.call(this);
205
- for (var d = this._sources, v = 0; v < d.length; v++) d[v].lock();
206
- }, r.exports = k;
199
+ for (var d = this._sources, k = 0; k < d.length; k++) d[k].lock();
200
+ }, r.exports = w;
207
201
  }, { "../crc32": 4, "../signature": 23, "../stream/GenericWorker": 28, "../utf8": 31, "../utils": 32 }], 9: [function(t, r, n) {
208
202
  var a = t("../compressions"), o = t("./ZipFileWorker");
209
- n.generateWorker = function(i, h, y) {
210
- var w = new o(h.streamFiles, y, h.platform, h.encodeFileName), _ = 0;
203
+ n.generateWorker = function(i, h, b) {
204
+ var y = new o(h.streamFiles, b, h.platform, h.encodeFileName), _ = 0;
211
205
  try {
212
- i.forEach(function(k, d) {
206
+ i.forEach(function(w, d) {
213
207
  _++;
214
- var v = (function(b, x) {
215
- var A = b || x, P = a[A];
208
+ var k = (function(v, x) {
209
+ var A = v || x, P = a[A];
216
210
  if (!P) throw new Error(A + " is not a valid compression method !");
217
211
  return P;
218
212
  })(d.options.compression, h.compression), u = d.options.compressionOptions || h.compressionOptions || {}, m = d.dir, f = d.date;
219
- d._compressWorker(v, u).withStreamInfo("file", { name: k, dir: m, date: f, comment: d.comment || "", unixPermissions: d.unixPermissions, dosPermissions: d.dosPermissions }).pipe(w);
220
- }), w.entriesCount = _;
221
- } catch (k) {
222
- w.error(k);
213
+ d._compressWorker(k, u).withStreamInfo("file", { name: w, dir: m, date: f, comment: d.comment || "", unixPermissions: d.unixPermissions, dosPermissions: d.dosPermissions }).pipe(y);
214
+ }), y.entriesCount = _;
215
+ } catch (w) {
216
+ y.error(w);
223
217
  }
224
- return w;
218
+ return y;
225
219
  };
226
220
  }, { "../compressions": 3, "./ZipFileWorker": 8 }], 10: [function(t, r, n) {
227
221
  function a() {
@@ -237,47 +231,47 @@ function we() {
237
231
  return new a().loadAsync(o, i);
238
232
  }, a.external = t("./external"), r.exports = a;
239
233
  }, { "./defaults": 5, "./external": 6, "./load": 11, "./object": 15, "./support": 30 }], 11: [function(t, r, n) {
240
- var a = t("./utils"), o = t("./external"), i = t("./utf8"), h = t("./zipEntries"), y = t("./stream/Crc32Probe"), w = t("./nodejsUtils");
241
- function _(k) {
242
- return new o.Promise(function(d, v) {
243
- var u = k.decompressed.getContentWorker().pipe(new y());
234
+ var a = t("./utils"), o = t("./external"), i = t("./utf8"), h = t("./zipEntries"), b = t("./stream/Crc32Probe"), y = t("./nodejsUtils");
235
+ function _(w) {
236
+ return new o.Promise(function(d, k) {
237
+ var u = w.decompressed.getContentWorker().pipe(new b());
244
238
  u.on("error", function(m) {
245
- v(m);
239
+ k(m);
246
240
  }).on("end", function() {
247
- u.streamInfo.crc32 !== k.decompressed.crc32 ? v(new Error("Corrupted zip : CRC32 mismatch")) : d();
241
+ u.streamInfo.crc32 !== w.decompressed.crc32 ? k(new Error("Corrupted zip : CRC32 mismatch")) : d();
248
242
  }).resume();
249
243
  });
250
244
  }
251
- r.exports = function(k, d) {
252
- var v = this;
253
- return d = a.extend(d || {}, { base64: !1, checkCRC32: !1, optimizedBinaryString: !1, createFolders: !1, decodeFileName: i.utf8decode }), w.isNode && w.isStream(k) ? o.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")) : a.prepareContent("the loaded zip file", k, !0, d.optimizedBinaryString, d.base64).then(function(u) {
245
+ r.exports = function(w, d) {
246
+ var k = this;
247
+ return d = a.extend(d || {}, { base64: !1, checkCRC32: !1, optimizedBinaryString: !1, createFolders: !1, decodeFileName: i.utf8decode }), y.isNode && y.isStream(w) ? o.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")) : a.prepareContent("the loaded zip file", w, !0, d.optimizedBinaryString, d.base64).then(function(u) {
254
248
  var m = new h(d);
255
249
  return m.load(u), m;
256
250
  }).then(function(u) {
257
251
  var m = [o.Promise.resolve(u)], f = u.files;
258
- if (d.checkCRC32) for (var b = 0; b < f.length; b++) m.push(_(f[b]));
252
+ if (d.checkCRC32) for (var v = 0; v < f.length; v++) m.push(_(f[v]));
259
253
  return o.Promise.all(m);
260
254
  }).then(function(u) {
261
- for (var m = u.shift(), f = m.files, b = 0; b < f.length; b++) {
262
- var x = f[b], A = x.fileNameStr, P = a.resolve(x.fileNameStr);
263
- v.file(P, x.decompressed, { binary: !0, optimizedBinaryString: !0, date: x.date, dir: x.dir, comment: x.fileCommentStr.length ? x.fileCommentStr : null, unixPermissions: x.unixPermissions, dosPermissions: x.dosPermissions, createFolders: d.createFolders }), x.dir || (v.file(P).unsafeOriginalName = A);
255
+ for (var m = u.shift(), f = m.files, v = 0; v < f.length; v++) {
256
+ var x = f[v], A = x.fileNameStr, P = a.resolve(x.fileNameStr);
257
+ k.file(P, x.decompressed, { binary: !0, optimizedBinaryString: !0, date: x.date, dir: x.dir, comment: x.fileCommentStr.length ? x.fileCommentStr : null, unixPermissions: x.unixPermissions, dosPermissions: x.dosPermissions, createFolders: d.createFolders }), x.dir || (k.file(P).unsafeOriginalName = A);
264
258
  }
265
- return m.zipComment.length && (v.comment = m.zipComment), v;
259
+ return m.zipComment.length && (k.comment = m.zipComment), k;
266
260
  });
267
261
  };
268
262
  }, { "./external": 6, "./nodejsUtils": 14, "./stream/Crc32Probe": 25, "./utf8": 31, "./utils": 32, "./zipEntries": 33 }], 12: [function(t, r, n) {
269
263
  var a = t("../utils"), o = t("../stream/GenericWorker");
270
- function i(h, y) {
271
- o.call(this, "Nodejs stream input adapter for " + h), this._upstreamEnded = !1, this._bindStream(y);
264
+ function i(h, b) {
265
+ o.call(this, "Nodejs stream input adapter for " + h), this._upstreamEnded = !1, this._bindStream(b);
272
266
  }
273
267
  a.inherits(i, o), i.prototype._bindStream = function(h) {
274
- var y = this;
275
- (this._stream = h).pause(), h.on("data", function(w) {
276
- y.push({ data: w, meta: { percent: 0 } });
277
- }).on("error", function(w) {
278
- y.isPaused ? this.generatedError = w : y.error(w);
268
+ var b = this;
269
+ (this._stream = h).pause(), h.on("data", function(y) {
270
+ b.push({ data: y, meta: { percent: 0 } });
271
+ }).on("error", function(y) {
272
+ b.isPaused ? this.generatedError = y : b.error(y);
279
273
  }).on("end", function() {
280
- y.isPaused ? y._upstreamEnded = !0 : y.end();
274
+ b.isPaused ? b._upstreamEnded = !0 : b.end();
281
275
  });
282
276
  }, i.prototype.pause = function() {
283
277
  return !!o.prototype.pause.call(this) && (this._stream.pause(), !0);
@@ -286,22 +280,22 @@ function we() {
286
280
  }, r.exports = i;
287
281
  }, { "../stream/GenericWorker": 28, "../utils": 32 }], 13: [function(t, r, n) {
288
282
  var a = t("readable-stream").Readable;
289
- function o(i, h, y) {
283
+ function o(i, h, b) {
290
284
  a.call(this, h), this._helper = i;
291
- var w = this;
292
- i.on("data", function(_, k) {
293
- w.push(_) || w._helper.pause(), y && y(k);
285
+ var y = this;
286
+ i.on("data", function(_, w) {
287
+ y.push(_) || y._helper.pause(), b && b(w);
294
288
  }).on("error", function(_) {
295
- w.emit("error", _);
289
+ y.emit("error", _);
296
290
  }).on("end", function() {
297
- w.push(null);
291
+ y.push(null);
298
292
  });
299
293
  }
300
294
  t("../utils").inherits(o, a), o.prototype._read = function() {
301
295
  this._helper.resume();
302
296
  }, r.exports = o;
303
297
  }, { "../utils": 32, "readable-stream": 16 }], 14: [function(t, r, n) {
304
- r.exports = { isNode: typeof Buffer < "u", newBufferFrom: function(a, o) {
298
+ r.exports = { isNode: typeof Buffer != "undefined", newBufferFrom: function(a, o) {
305
299
  if (Buffer.from && Buffer.from !== Uint8Array.from) return Buffer.from(a, o);
306
300
  if (typeof a == "number") throw new Error('The "data" argument must not be a number');
307
301
  return new Buffer(a, o);
@@ -316,23 +310,23 @@ function we() {
316
310
  } };
317
311
  }, {}], 15: [function(t, r, n) {
318
312
  function a(P, D, F) {
319
- var W, T = i.getTypeOf(D), V = i.extend(F || {}, w);
320
- V.date = V.date || /* @__PURE__ */ new Date(), V.compression !== null && (V.compression = V.compression.toUpperCase()), typeof V.unixPermissions == "string" && (V.unixPermissions = parseInt(V.unixPermissions, 8)), V.unixPermissions && 16384 & V.unixPermissions && (V.dir = !0), V.dosPermissions && 16 & V.dosPermissions && (V.dir = !0), V.dir && (P = f(P)), V.createFolders && (W = m(P)) && b.call(this, W, !0);
313
+ var W, T = i.getTypeOf(D), V = i.extend(F || {}, y);
314
+ V.date = V.date || /* @__PURE__ */ new Date(), V.compression !== null && (V.compression = V.compression.toUpperCase()), typeof V.unixPermissions == "string" && (V.unixPermissions = parseInt(V.unixPermissions, 8)), V.unixPermissions && 16384 & V.unixPermissions && (V.dir = !0), V.dosPermissions && 16 & V.dosPermissions && (V.dir = !0), V.dir && (P = f(P)), V.createFolders && (W = m(P)) && v.call(this, W, !0);
321
315
  var Q = T === "string" && V.binary === !1 && V.base64 === !1;
322
316
  F && F.binary !== void 0 || (V.binary = !Q), (D instanceof _ && D.uncompressedSize === 0 || V.dir || !D || D.length === 0) && (V.base64 = !1, V.binary = !0, D = "", V.compression = "STORE", T = "string");
323
317
  var S = null;
324
- S = D instanceof _ || D instanceof h ? D : v.isNode && v.isStream(D) ? new u(P, D) : i.prepareContent(P, D, V.binary, V.optimizedBinaryString, V.base64);
325
- var I = new k(P, S, V);
318
+ S = D instanceof _ || D instanceof h ? D : k.isNode && k.isStream(D) ? new u(P, D) : i.prepareContent(P, D, V.binary, V.optimizedBinaryString, V.base64);
319
+ var I = new w(P, S, V);
326
320
  this.files[P] = I;
327
321
  }
328
- var o = t("./utf8"), i = t("./utils"), h = t("./stream/GenericWorker"), y = t("./stream/StreamHelper"), w = t("./defaults"), _ = t("./compressedObject"), k = t("./zipObject"), d = t("./generate"), v = t("./nodejsUtils"), u = t("./nodejs/NodejsStreamInputAdapter"), m = function(P) {
322
+ var o = t("./utf8"), i = t("./utils"), h = t("./stream/GenericWorker"), b = t("./stream/StreamHelper"), y = t("./defaults"), _ = t("./compressedObject"), w = t("./zipObject"), d = t("./generate"), k = t("./nodejsUtils"), u = t("./nodejs/NodejsStreamInputAdapter"), m = function(P) {
329
323
  P.slice(-1) === "/" && (P = P.substring(0, P.length - 1));
330
324
  var D = P.lastIndexOf("/");
331
325
  return 0 < D ? P.substring(0, D) : "";
332
326
  }, f = function(P) {
333
327
  return P.slice(-1) !== "/" && (P += "/"), P;
334
- }, b = function(P, D) {
335
- return D = D !== void 0 ? D : w.createFolders, P = f(P), this.files[P] || a.call(this, P, null, { dir: !0, createFolders: D }), this.files[P];
328
+ }, v = function(P, D) {
329
+ return D = D !== void 0 ? D : y.createFolders, P = f(P), this.files[P] || a.call(this, P, null, { dir: !0, createFolders: D }), this.files[P];
336
330
  };
337
331
  function x(P) {
338
332
  return Object.prototype.toString.call(P) === "[object RegExp]";
@@ -362,7 +356,7 @@ function we() {
362
356
  if (x(P)) return this.filter(function(T, V) {
363
357
  return V.dir && P.test(T);
364
358
  });
365
- var D = this.root + P, F = b.call(this, D), W = this.clone();
359
+ var D = this.root + P, F = v.call(this, D), W = this.clone();
366
360
  return W.root = F.name, W;
367
361
  }, remove: function(P) {
368
362
  P = this.root + P;
@@ -384,7 +378,7 @@ function we() {
384
378
  } catch (T) {
385
379
  (D = new h("error")).error(T);
386
380
  }
387
- return new y(D, F.type || "string", F.mimeType);
381
+ return new b(D, F.type || "string", F.mimeType);
388
382
  }, generateAsync: function(P, D) {
389
383
  return this.generateInternalStream(P).accumulate(D);
390
384
  }, generateNodeStream: function(P, D) {
@@ -402,11 +396,11 @@ function we() {
402
396
  t("../utils").inherits(o, a), o.prototype.byteAt = function(i) {
403
397
  return this.data[this.zero + i];
404
398
  }, o.prototype.lastIndexOfSignature = function(i) {
405
- for (var h = i.charCodeAt(0), y = i.charCodeAt(1), w = i.charCodeAt(2), _ = i.charCodeAt(3), k = this.length - 4; 0 <= k; --k) if (this.data[k] === h && this.data[k + 1] === y && this.data[k + 2] === w && this.data[k + 3] === _) return k - this.zero;
399
+ for (var h = i.charCodeAt(0), b = i.charCodeAt(1), y = i.charCodeAt(2), _ = i.charCodeAt(3), w = this.length - 4; 0 <= w; --w) if (this.data[w] === h && this.data[w + 1] === b && this.data[w + 2] === y && this.data[w + 3] === _) return w - this.zero;
406
400
  return -1;
407
401
  }, o.prototype.readAndCheckSignature = function(i) {
408
- var h = i.charCodeAt(0), y = i.charCodeAt(1), w = i.charCodeAt(2), _ = i.charCodeAt(3), k = this.readData(4);
409
- return h === k[0] && y === k[1] && w === k[2] && _ === k[3];
402
+ var h = i.charCodeAt(0), b = i.charCodeAt(1), y = i.charCodeAt(2), _ = i.charCodeAt(3), w = this.readData(4);
403
+ return h === w[0] && b === w[1] && y === w[2] && _ === w[3];
410
404
  }, o.prototype.readData = function(i) {
411
405
  if (this.checkOffset(i), i === 0) return [];
412
406
  var h = this.data.slice(this.zero + this.index, this.zero + this.index + i);
@@ -427,9 +421,9 @@ function we() {
427
421
  this.setIndex(this.index + i);
428
422
  }, byteAt: function() {
429
423
  }, readInt: function(i) {
430
- var h, y = 0;
431
- for (this.checkOffset(i), h = this.index + i - 1; h >= this.index; h--) y = (y << 8) + this.byteAt(h);
432
- return this.index += i, y;
424
+ var h, b = 0;
425
+ for (this.checkOffset(i), h = this.index + i - 1; h >= this.index; h--) b = (b << 8) + this.byteAt(h);
426
+ return this.index += i, b;
433
427
  }, readString: function(i) {
434
428
  return a.transformTo("string", this.readData(i));
435
429
  }, readData: function() {
@@ -476,10 +470,10 @@ function we() {
476
470
  return this.index += i, h;
477
471
  }, r.exports = o;
478
472
  }, { "../utils": 32, "./ArrayReader": 17 }], 22: [function(t, r, n) {
479
- var a = t("../utils"), o = t("../support"), i = t("./ArrayReader"), h = t("./StringReader"), y = t("./NodeBufferReader"), w = t("./Uint8ArrayReader");
473
+ var a = t("../utils"), o = t("../support"), i = t("./ArrayReader"), h = t("./StringReader"), b = t("./NodeBufferReader"), y = t("./Uint8ArrayReader");
480
474
  r.exports = function(_) {
481
- var k = a.getTypeOf(_);
482
- return a.checkSupport(k), k !== "string" || o.uint8array ? k === "nodebuffer" ? new y(_) : o.uint8array ? new w(a.transformTo("uint8array", _)) : new i(a.transformTo("array", _)) : new h(_);
475
+ var w = a.getTypeOf(_);
476
+ return a.checkSupport(w), w !== "string" || o.uint8array ? w === "nodebuffer" ? new b(_) : o.uint8array ? new y(a.transformTo("uint8array", _)) : new i(a.transformTo("array", _)) : new h(_);
483
477
  };
484
478
  }, { "../support": 30, "../utils": 32, "./ArrayReader": 17, "./NodeBufferReader": 19, "./StringReader": 20, "./Uint8ArrayReader": 21 }], 23: [function(t, r, n) {
485
479
  n.LOCAL_FILE_HEADER = "PK", n.CENTRAL_FILE_HEADER = "PK", n.CENTRAL_DIRECTORY_END = "PK", n.ZIP64_CENTRAL_DIRECTORY_LOCATOR = "PK\x07", n.ZIP64_CENTRAL_DIRECTORY_END = "PK", n.DATA_DESCRIPTOR = "PK\x07\b";
@@ -506,8 +500,8 @@ function we() {
506
500
  }
507
501
  a.inherits(i, o), i.prototype.processChunk = function(h) {
508
502
  if (h) {
509
- var y = this.streamInfo[this.propName] || 0;
510
- this.streamInfo[this.propName] = y + h.data.length;
503
+ var b = this.streamInfo[this.propName] || 0;
504
+ this.streamInfo[this.propName] = b + h.data.length;
511
505
  }
512
506
  o.prototype.processChunk.call(this, h);
513
507
  }, r.exports = i;
@@ -515,11 +509,11 @@ function we() {
515
509
  var a = t("../utils"), o = t("./GenericWorker");
516
510
  function i(h) {
517
511
  o.call(this, "DataWorker");
518
- var y = this;
519
- this.dataIsReady = !1, this.index = 0, this.max = 0, this.data = null, this.type = "", this._tickScheduled = !1, h.then(function(w) {
520
- y.dataIsReady = !0, y.data = w, y.max = w && w.length || 0, y.type = a.getTypeOf(w), y.isPaused || y._tickAndRepeat();
521
- }, function(w) {
522
- y.error(w);
512
+ var b = this;
513
+ this.dataIsReady = !1, this.index = 0, this.max = 0, this.data = null, this.type = "", this._tickScheduled = !1, h.then(function(y) {
514
+ b.dataIsReady = !0, b.data = y, b.max = y && y.length || 0, b.type = a.getTypeOf(y), b.isPaused || b._tickAndRepeat();
515
+ }, function(y) {
516
+ b.error(y);
523
517
  });
524
518
  }
525
519
  a.inherits(i, o), i.prototype.cleanUp = function() {
@@ -530,20 +524,20 @@ function we() {
530
524
  this._tickScheduled = !1, this.isPaused || this.isFinished || (this._tick(), this.isFinished || (a.delay(this._tickAndRepeat, [], this), this._tickScheduled = !0));
531
525
  }, i.prototype._tick = function() {
532
526
  if (this.isPaused || this.isFinished) return !1;
533
- var h = null, y = Math.min(this.max, this.index + 16384);
527
+ var h = null, b = Math.min(this.max, this.index + 16384);
534
528
  if (this.index >= this.max) return this.end();
535
529
  switch (this.type) {
536
530
  case "string":
537
- h = this.data.substring(this.index, y);
531
+ h = this.data.substring(this.index, b);
538
532
  break;
539
533
  case "uint8array":
540
- h = this.data.subarray(this.index, y);
534
+ h = this.data.subarray(this.index, b);
541
535
  break;
542
536
  case "array":
543
537
  case "nodebuffer":
544
- h = this.data.slice(this.index, y);
538
+ h = this.data.slice(this.index, b);
545
539
  }
546
- return this.index = y, this.push({ data: h, meta: { percent: this.max ? this.index / this.max * 100 : 0 } });
540
+ return this.index = b, this.push({ data: h, meta: { percent: this.max ? this.index / this.max * 100 : 0 } });
547
541
  }, r.exports = i;
548
542
  }, { "../utils": 32, "./GenericWorker": 28 }], 28: [function(t, r, n) {
549
543
  function a(o) {
@@ -602,18 +596,18 @@ function we() {
602
596
  return this.previous ? this.previous + " -> " + o : o;
603
597
  } }, r.exports = a;
604
598
  }, {}], 29: [function(t, r, n) {
605
- var a = t("../utils"), o = t("./ConvertWorker"), i = t("./GenericWorker"), h = t("../base64"), y = t("../support"), w = t("../external"), _ = null;
606
- if (y.nodestream) try {
599
+ var a = t("../utils"), o = t("./ConvertWorker"), i = t("./GenericWorker"), h = t("../base64"), b = t("../support"), y = t("../external"), _ = null;
600
+ if (b.nodestream) try {
607
601
  _ = t("../nodejs/NodejsStreamOutputAdapter");
608
- } catch {
602
+ } catch (k) {
609
603
  }
610
- function k(v, u) {
611
- return new w.Promise(function(m, f) {
612
- var b = [], x = v._internalType, A = v._outputType, P = v._mimeType;
613
- v.on("data", function(D, F) {
614
- b.push(D), u && u(F);
604
+ function w(k, u) {
605
+ return new y.Promise(function(m, f) {
606
+ var v = [], x = k._internalType, A = k._outputType, P = k._mimeType;
607
+ k.on("data", function(D, F) {
608
+ v.push(D), u && u(F);
615
609
  }).on("error", function(D) {
616
- b = [], f(D);
610
+ v = [], f(D);
617
611
  }).on("end", function() {
618
612
  try {
619
613
  var D = (function(F, W, T) {
@@ -641,16 +635,16 @@ function we() {
641
635
  default:
642
636
  throw new Error("concat : unsupported type '" + F + "'");
643
637
  }
644
- })(x, b), P);
638
+ })(x, v), P);
645
639
  m(D);
646
640
  } catch (F) {
647
641
  f(F);
648
642
  }
649
- b = [];
643
+ v = [];
650
644
  }).resume();
651
645
  });
652
646
  }
653
- function d(v, u, m) {
647
+ function d(k, u, m) {
654
648
  var f = u;
655
649
  switch (u) {
656
650
  case "blob":
@@ -661,101 +655,101 @@ function we() {
661
655
  f = "string";
662
656
  }
663
657
  try {
664
- this._internalType = f, this._outputType = u, this._mimeType = m, a.checkSupport(f), this._worker = v.pipe(new o(f)), v.lock();
665
- } catch (b) {
666
- this._worker = new i("error"), this._worker.error(b);
658
+ this._internalType = f, this._outputType = u, this._mimeType = m, a.checkSupport(f), this._worker = k.pipe(new o(f)), k.lock();
659
+ } catch (v) {
660
+ this._worker = new i("error"), this._worker.error(v);
667
661
  }
668
662
  }
669
- d.prototype = { accumulate: function(v) {
670
- return k(this, v);
671
- }, on: function(v, u) {
663
+ d.prototype = { accumulate: function(k) {
664
+ return w(this, k);
665
+ }, on: function(k, u) {
672
666
  var m = this;
673
- return v === "data" ? this._worker.on(v, function(f) {
667
+ return k === "data" ? this._worker.on(k, function(f) {
674
668
  u.call(m, f.data, f.meta);
675
- }) : this._worker.on(v, function() {
669
+ }) : this._worker.on(k, function() {
676
670
  a.delay(u, arguments, m);
677
671
  }), this;
678
672
  }, resume: function() {
679
673
  return a.delay(this._worker.resume, [], this._worker), this;
680
674
  }, pause: function() {
681
675
  return this._worker.pause(), this;
682
- }, toNodejsStream: function(v) {
676
+ }, toNodejsStream: function(k) {
683
677
  if (a.checkSupport("nodestream"), this._outputType !== "nodebuffer") throw new Error(this._outputType + " is not supported by this method");
684
- return new _(this, { objectMode: this._outputType !== "nodebuffer" }, v);
678
+ return new _(this, { objectMode: this._outputType !== "nodebuffer" }, k);
685
679
  } }, r.exports = d;
686
680
  }, { "../base64": 1, "../external": 6, "../nodejs/NodejsStreamOutputAdapter": 13, "../support": 30, "../utils": 32, "./ConvertWorker": 24, "./GenericWorker": 28 }], 30: [function(t, r, n) {
687
- if (n.base64 = !0, n.array = !0, n.string = !0, n.arraybuffer = typeof ArrayBuffer < "u" && typeof Uint8Array < "u", n.nodebuffer = typeof Buffer < "u", n.uint8array = typeof Uint8Array < "u", typeof ArrayBuffer > "u") n.blob = !1;
681
+ if (n.base64 = !0, n.array = !0, n.string = !0, n.arraybuffer = typeof ArrayBuffer != "undefined" && typeof Uint8Array != "undefined", n.nodebuffer = typeof Buffer != "undefined", n.uint8array = typeof Uint8Array != "undefined", typeof ArrayBuffer == "undefined") n.blob = !1;
688
682
  else {
689
683
  var a = new ArrayBuffer(0);
690
684
  try {
691
685
  n.blob = new Blob([a], { type: "application/zip" }).size === 0;
692
- } catch {
686
+ } catch (i) {
693
687
  try {
694
688
  var o = new (self.BlobBuilder || self.WebKitBlobBuilder || self.MozBlobBuilder || self.MSBlobBuilder)();
695
689
  o.append(a), n.blob = o.getBlob("application/zip").size === 0;
696
- } catch {
690
+ } catch (h) {
697
691
  n.blob = !1;
698
692
  }
699
693
  }
700
694
  }
701
695
  try {
702
696
  n.nodestream = !!t("readable-stream").Readable;
703
- } catch {
697
+ } catch (i) {
704
698
  n.nodestream = !1;
705
699
  }
706
700
  }, { "readable-stream": 16 }], 31: [function(t, r, n) {
707
- for (var a = t("./utils"), o = t("./support"), i = t("./nodejsUtils"), h = t("./stream/GenericWorker"), y = new Array(256), w = 0; w < 256; w++) y[w] = 252 <= w ? 6 : 248 <= w ? 5 : 240 <= w ? 4 : 224 <= w ? 3 : 192 <= w ? 2 : 1;
708
- y[254] = y[254] = 1;
701
+ for (var a = t("./utils"), o = t("./support"), i = t("./nodejsUtils"), h = t("./stream/GenericWorker"), b = new Array(256), y = 0; y < 256; y++) b[y] = 252 <= y ? 6 : 248 <= y ? 5 : 240 <= y ? 4 : 224 <= y ? 3 : 192 <= y ? 2 : 1;
702
+ b[254] = b[254] = 1;
709
703
  function _() {
710
704
  h.call(this, "utf-8 decode"), this.leftOver = null;
711
705
  }
712
- function k() {
706
+ function w() {
713
707
  h.call(this, "utf-8 encode");
714
708
  }
715
709
  n.utf8encode = function(d) {
716
- return o.nodebuffer ? i.newBufferFrom(d, "utf-8") : (function(v) {
717
- var u, m, f, b, x, A = v.length, P = 0;
718
- for (b = 0; b < A; b++) (64512 & (m = v.charCodeAt(b))) == 55296 && b + 1 < A && (64512 & (f = v.charCodeAt(b + 1))) == 56320 && (m = 65536 + (m - 55296 << 10) + (f - 56320), b++), P += m < 128 ? 1 : m < 2048 ? 2 : m < 65536 ? 3 : 4;
719
- for (u = o.uint8array ? new Uint8Array(P) : new Array(P), b = x = 0; x < P; b++) (64512 & (m = v.charCodeAt(b))) == 55296 && b + 1 < A && (64512 & (f = v.charCodeAt(b + 1))) == 56320 && (m = 65536 + (m - 55296 << 10) + (f - 56320), b++), m < 128 ? u[x++] = m : (m < 2048 ? u[x++] = 192 | m >>> 6 : (m < 65536 ? u[x++] = 224 | m >>> 12 : (u[x++] = 240 | m >>> 18, u[x++] = 128 | m >>> 12 & 63), u[x++] = 128 | m >>> 6 & 63), u[x++] = 128 | 63 & m);
710
+ return o.nodebuffer ? i.newBufferFrom(d, "utf-8") : (function(k) {
711
+ var u, m, f, v, x, A = k.length, P = 0;
712
+ for (v = 0; v < A; v++) (64512 & (m = k.charCodeAt(v))) == 55296 && v + 1 < A && (64512 & (f = k.charCodeAt(v + 1))) == 56320 && (m = 65536 + (m - 55296 << 10) + (f - 56320), v++), P += m < 128 ? 1 : m < 2048 ? 2 : m < 65536 ? 3 : 4;
713
+ for (u = o.uint8array ? new Uint8Array(P) : new Array(P), v = x = 0; x < P; v++) (64512 & (m = k.charCodeAt(v))) == 55296 && v + 1 < A && (64512 & (f = k.charCodeAt(v + 1))) == 56320 && (m = 65536 + (m - 55296 << 10) + (f - 56320), v++), m < 128 ? u[x++] = m : (m < 2048 ? u[x++] = 192 | m >>> 6 : (m < 65536 ? u[x++] = 224 | m >>> 12 : (u[x++] = 240 | m >>> 18, u[x++] = 128 | m >>> 12 & 63), u[x++] = 128 | m >>> 6 & 63), u[x++] = 128 | 63 & m);
720
714
  return u;
721
715
  })(d);
722
716
  }, n.utf8decode = function(d) {
723
- return o.nodebuffer ? a.transformTo("nodebuffer", d).toString("utf-8") : (function(v) {
724
- var u, m, f, b, x = v.length, A = new Array(2 * x);
725
- for (u = m = 0; u < x; ) if ((f = v[u++]) < 128) A[m++] = f;
726
- else if (4 < (b = y[f])) A[m++] = 65533, u += b - 1;
717
+ return o.nodebuffer ? a.transformTo("nodebuffer", d).toString("utf-8") : (function(k) {
718
+ var u, m, f, v, x = k.length, A = new Array(2 * x);
719
+ for (u = m = 0; u < x; ) if ((f = k[u++]) < 128) A[m++] = f;
720
+ else if (4 < (v = b[f])) A[m++] = 65533, u += v - 1;
727
721
  else {
728
- for (f &= b === 2 ? 31 : b === 3 ? 15 : 7; 1 < b && u < x; ) f = f << 6 | 63 & v[u++], b--;
729
- 1 < b ? A[m++] = 65533 : f < 65536 ? A[m++] = f : (f -= 65536, A[m++] = 55296 | f >> 10 & 1023, A[m++] = 56320 | 1023 & f);
722
+ for (f &= v === 2 ? 31 : v === 3 ? 15 : 7; 1 < v && u < x; ) f = f << 6 | 63 & k[u++], v--;
723
+ 1 < v ? A[m++] = 65533 : f < 65536 ? A[m++] = f : (f -= 65536, A[m++] = 55296 | f >> 10 & 1023, A[m++] = 56320 | 1023 & f);
730
724
  }
731
725
  return A.length !== m && (A.subarray ? A = A.subarray(0, m) : A.length = m), a.applyFromCharCode(A);
732
726
  })(d = a.transformTo(o.uint8array ? "uint8array" : "array", d));
733
727
  }, a.inherits(_, h), _.prototype.processChunk = function(d) {
734
- var v = a.transformTo(o.uint8array ? "uint8array" : "array", d.data);
728
+ var k = a.transformTo(o.uint8array ? "uint8array" : "array", d.data);
735
729
  if (this.leftOver && this.leftOver.length) {
736
730
  if (o.uint8array) {
737
- var u = v;
738
- (v = new Uint8Array(u.length + this.leftOver.length)).set(this.leftOver, 0), v.set(u, this.leftOver.length);
739
- } else v = this.leftOver.concat(v);
731
+ var u = k;
732
+ (k = new Uint8Array(u.length + this.leftOver.length)).set(this.leftOver, 0), k.set(u, this.leftOver.length);
733
+ } else k = this.leftOver.concat(k);
740
734
  this.leftOver = null;
741
735
  }
742
- var m = (function(b, x) {
736
+ var m = (function(v, x) {
743
737
  var A;
744
- for ((x = x || b.length) > b.length && (x = b.length), A = x - 1; 0 <= A && (192 & b[A]) == 128; ) A--;
745
- return A < 0 || A === 0 ? x : A + y[b[A]] > x ? A : x;
746
- })(v), f = v;
747
- m !== v.length && (o.uint8array ? (f = v.subarray(0, m), this.leftOver = v.subarray(m, v.length)) : (f = v.slice(0, m), this.leftOver = v.slice(m, v.length))), this.push({ data: n.utf8decode(f), meta: d.meta });
738
+ for ((x = x || v.length) > v.length && (x = v.length), A = x - 1; 0 <= A && (192 & v[A]) == 128; ) A--;
739
+ return A < 0 || A === 0 ? x : A + b[v[A]] > x ? A : x;
740
+ })(k), f = k;
741
+ m !== k.length && (o.uint8array ? (f = k.subarray(0, m), this.leftOver = k.subarray(m, k.length)) : (f = k.slice(0, m), this.leftOver = k.slice(m, k.length))), this.push({ data: n.utf8decode(f), meta: d.meta });
748
742
  }, _.prototype.flush = function() {
749
743
  this.leftOver && this.leftOver.length && (this.push({ data: n.utf8decode(this.leftOver), meta: {} }), this.leftOver = null);
750
- }, n.Utf8DecodeWorker = _, a.inherits(k, h), k.prototype.processChunk = function(d) {
744
+ }, n.Utf8DecodeWorker = _, a.inherits(w, h), w.prototype.processChunk = function(d) {
751
745
  this.push({ data: n.utf8encode(d.data), meta: d.meta });
752
- }, n.Utf8EncodeWorker = k;
746
+ }, n.Utf8EncodeWorker = w;
753
747
  }, { "./nodejsUtils": 14, "./stream/GenericWorker": 28, "./support": 30, "./utils": 32 }], 32: [function(t, r, n) {
754
748
  var a = t("./support"), o = t("./base64"), i = t("./nodejsUtils"), h = t("./external");
755
- function y(u) {
749
+ function b(u) {
756
750
  return u;
757
751
  }
758
- function w(u, m) {
752
+ function y(u, m) {
759
753
  for (var f = 0; f < u.length; ++f) m[f] = 255 & u.charCodeAt(f);
760
754
  return m;
761
755
  }
@@ -763,41 +757,41 @@ function we() {
763
757
  n.checkSupport("blob");
764
758
  try {
765
759
  return new Blob([u], { type: m });
766
- } catch {
760
+ } catch (v) {
767
761
  try {
768
762
  var f = new (self.BlobBuilder || self.WebKitBlobBuilder || self.MozBlobBuilder || self.MSBlobBuilder)();
769
763
  return f.append(u), f.getBlob(m);
770
- } catch {
764
+ } catch (x) {
771
765
  throw new Error("Bug : can't construct the Blob.");
772
766
  }
773
767
  }
774
768
  };
775
769
  var _ = { stringifyByChunk: function(u, m, f) {
776
- var b = [], x = 0, A = u.length;
770
+ var v = [], x = 0, A = u.length;
777
771
  if (A <= f) return String.fromCharCode.apply(null, u);
778
- for (; x < A; ) m === "array" || m === "nodebuffer" ? b.push(String.fromCharCode.apply(null, u.slice(x, Math.min(x + f, A)))) : b.push(String.fromCharCode.apply(null, u.subarray(x, Math.min(x + f, A)))), x += f;
779
- return b.join("");
772
+ for (; x < A; ) m === "array" || m === "nodebuffer" ? v.push(String.fromCharCode.apply(null, u.slice(x, Math.min(x + f, A)))) : v.push(String.fromCharCode.apply(null, u.subarray(x, Math.min(x + f, A)))), x += f;
773
+ return v.join("");
780
774
  }, stringifyByChar: function(u) {
781
775
  for (var m = "", f = 0; f < u.length; f++) m += String.fromCharCode(u[f]);
782
776
  return m;
783
777
  }, applyCanBeUsed: { uint8array: (function() {
784
778
  try {
785
779
  return a.uint8array && String.fromCharCode.apply(null, new Uint8Array(1)).length === 1;
786
- } catch {
780
+ } catch (u) {
787
781
  return !1;
788
782
  }
789
783
  })(), nodebuffer: (function() {
790
784
  try {
791
785
  return a.nodebuffer && String.fromCharCode.apply(null, i.allocBuffer(1)).length === 1;
792
- } catch {
786
+ } catch (u) {
793
787
  return !1;
794
788
  }
795
789
  })() } };
796
- function k(u) {
797
- var m = 65536, f = n.getTypeOf(u), b = !0;
798
- if (f === "uint8array" ? b = _.applyCanBeUsed.uint8array : f === "nodebuffer" && (b = _.applyCanBeUsed.nodebuffer), b) for (; 1 < m; ) try {
790
+ function w(u) {
791
+ var m = 65536, f = n.getTypeOf(u), v = !0;
792
+ if (f === "uint8array" ? v = _.applyCanBeUsed.uint8array : f === "nodebuffer" && (v = _.applyCanBeUsed.nodebuffer), v) for (; 1 < m; ) try {
799
793
  return _.stringifyByChunk(u, f, m);
800
- } catch {
794
+ } catch (x) {
801
795
  m = Math.floor(m / 2);
802
796
  }
803
797
  return _.stringifyByChar(u);
@@ -806,51 +800,51 @@ function we() {
806
800
  for (var f = 0; f < u.length; f++) m[f] = u[f];
807
801
  return m;
808
802
  }
809
- n.applyFromCharCode = k;
810
- var v = {};
811
- v.string = { string: y, array: function(u) {
812
- return w(u, new Array(u.length));
803
+ n.applyFromCharCode = w;
804
+ var k = {};
805
+ k.string = { string: b, array: function(u) {
806
+ return y(u, new Array(u.length));
813
807
  }, arraybuffer: function(u) {
814
- return v.string.uint8array(u).buffer;
808
+ return k.string.uint8array(u).buffer;
815
809
  }, uint8array: function(u) {
816
- return w(u, new Uint8Array(u.length));
810
+ return y(u, new Uint8Array(u.length));
817
811
  }, nodebuffer: function(u) {
818
- return w(u, i.allocBuffer(u.length));
819
- } }, v.array = { string: k, array: y, arraybuffer: function(u) {
812
+ return y(u, i.allocBuffer(u.length));
813
+ } }, k.array = { string: w, array: b, arraybuffer: function(u) {
820
814
  return new Uint8Array(u).buffer;
821
815
  }, uint8array: function(u) {
822
816
  return new Uint8Array(u);
823
817
  }, nodebuffer: function(u) {
824
818
  return i.newBufferFrom(u);
825
- } }, v.arraybuffer = { string: function(u) {
826
- return k(new Uint8Array(u));
819
+ } }, k.arraybuffer = { string: function(u) {
820
+ return w(new Uint8Array(u));
827
821
  }, array: function(u) {
828
822
  return d(new Uint8Array(u), new Array(u.byteLength));
829
- }, arraybuffer: y, uint8array: function(u) {
823
+ }, arraybuffer: b, uint8array: function(u) {
830
824
  return new Uint8Array(u);
831
825
  }, nodebuffer: function(u) {
832
826
  return i.newBufferFrom(new Uint8Array(u));
833
- } }, v.uint8array = { string: k, array: function(u) {
827
+ } }, k.uint8array = { string: w, array: function(u) {
834
828
  return d(u, new Array(u.length));
835
829
  }, arraybuffer: function(u) {
836
830
  return u.buffer;
837
- }, uint8array: y, nodebuffer: function(u) {
831
+ }, uint8array: b, nodebuffer: function(u) {
838
832
  return i.newBufferFrom(u);
839
- } }, v.nodebuffer = { string: k, array: function(u) {
833
+ } }, k.nodebuffer = { string: w, array: function(u) {
840
834
  return d(u, new Array(u.length));
841
835
  }, arraybuffer: function(u) {
842
- return v.nodebuffer.uint8array(u).buffer;
836
+ return k.nodebuffer.uint8array(u).buffer;
843
837
  }, uint8array: function(u) {
844
838
  return d(u, new Uint8Array(u.length));
845
- }, nodebuffer: y }, n.transformTo = function(u, m) {
839
+ }, nodebuffer: b }, n.transformTo = function(u, m) {
846
840
  if (m = m || "", !u) return m;
847
841
  n.checkSupport(u);
848
842
  var f = n.getTypeOf(m);
849
- return v[f][u](m);
843
+ return k[f][u](m);
850
844
  }, n.resolve = function(u) {
851
- for (var m = u.split("/"), f = [], b = 0; b < m.length; b++) {
852
- var x = m[b];
853
- x === "." || x === "" && b !== 0 && b !== m.length - 1 || (x === ".." ? f.pop() : f.push(x));
845
+ for (var m = u.split("/"), f = [], v = 0; v < m.length; v++) {
846
+ var x = m[v];
847
+ x === "." || x === "" && v !== 0 && v !== m.length - 1 || (x === ".." ? f.pop() : f.push(x));
854
848
  }
855
849
  return f.join("/");
856
850
  }, n.getTypeOf = function(u) {
@@ -858,9 +852,9 @@ function we() {
858
852
  }, n.checkSupport = function(u) {
859
853
  if (!a[u.toLowerCase()]) throw new Error(u + " is not supported by this platform");
860
854
  }, n.MAX_VALUE_16BITS = 65535, n.MAX_VALUE_32BITS = -1, n.pretty = function(u) {
861
- var m, f, b = "";
862
- for (f = 0; f < (u || "").length; f++) b += "\\x" + ((m = u.charCodeAt(f)) < 16 ? "0" : "") + m.toString(16).toUpperCase();
863
- return b;
855
+ var m, f, v = "";
856
+ for (f = 0; f < (u || "").length; f++) v += "\\x" + ((m = u.charCodeAt(f)) < 16 ? "0" : "") + m.toString(16).toUpperCase();
857
+ return v;
864
858
  }, n.delay = function(u, m, f) {
865
859
  setImmediate(function() {
866
860
  u.apply(f || null, m || []);
@@ -873,9 +867,9 @@ function we() {
873
867
  var u, m, f = {};
874
868
  for (u = 0; u < arguments.length; u++) for (m in arguments[u]) Object.prototype.hasOwnProperty.call(arguments[u], m) && f[m] === void 0 && (f[m] = arguments[u][m]);
875
869
  return f;
876
- }, n.prepareContent = function(u, m, f, b, x) {
870
+ }, n.prepareContent = function(u, m, f, v, x) {
877
871
  return h.Promise.resolve(m).then(function(A) {
878
- return a.blob && (A instanceof Blob || ["[object File]", "[object Blob]"].indexOf(Object.prototype.toString.call(A)) !== -1) && typeof FileReader < "u" ? new h.Promise(function(P, D) {
872
+ return a.blob && (A instanceof Blob || ["[object File]", "[object Blob]"].indexOf(Object.prototype.toString.call(A)) !== -1) && typeof FileReader != "undefined" ? new h.Promise(function(P, D) {
879
873
  var F = new FileReader();
880
874
  F.onload = function(W) {
881
875
  P(W.target.result);
@@ -885,39 +879,39 @@ function we() {
885
879
  }) : A;
886
880
  }).then(function(A) {
887
881
  var P = n.getTypeOf(A);
888
- return P ? (P === "arraybuffer" ? A = n.transformTo("uint8array", A) : P === "string" && (x ? A = o.decode(A) : f && b !== !0 && (A = (function(D) {
889
- return w(D, a.uint8array ? new Uint8Array(D.length) : new Array(D.length));
882
+ return P ? (P === "arraybuffer" ? A = n.transformTo("uint8array", A) : P === "string" && (x ? A = o.decode(A) : f && v !== !0 && (A = (function(D) {
883
+ return y(D, a.uint8array ? new Uint8Array(D.length) : new Array(D.length));
890
884
  })(A))), A) : h.Promise.reject(new Error("Can't read the data of '" + u + "'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"));
891
885
  });
892
886
  };
893
887
  }, { "./base64": 1, "./external": 6, "./nodejsUtils": 14, "./support": 30, setimmediate: 54 }], 33: [function(t, r, n) {
894
- var a = t("./reader/readerFor"), o = t("./utils"), i = t("./signature"), h = t("./zipEntry"), y = t("./support");
895
- function w(_) {
888
+ var a = t("./reader/readerFor"), o = t("./utils"), i = t("./signature"), h = t("./zipEntry"), b = t("./support");
889
+ function y(_) {
896
890
  this.files = [], this.loadOptions = _;
897
891
  }
898
- w.prototype = { checkSignature: function(_) {
892
+ y.prototype = { checkSignature: function(_) {
899
893
  if (!this.reader.readAndCheckSignature(_)) {
900
894
  this.reader.index -= 4;
901
- var k = this.reader.readString(4);
902
- throw new Error("Corrupted zip or bug: unexpected signature (" + o.pretty(k) + ", expected " + o.pretty(_) + ")");
895
+ var w = this.reader.readString(4);
896
+ throw new Error("Corrupted zip or bug: unexpected signature (" + o.pretty(w) + ", expected " + o.pretty(_) + ")");
903
897
  }
904
- }, isSignature: function(_, k) {
898
+ }, isSignature: function(_, w) {
905
899
  var d = this.reader.index;
906
900
  this.reader.setIndex(_);
907
- var v = this.reader.readString(4) === k;
908
- return this.reader.setIndex(d), v;
901
+ var k = this.reader.readString(4) === w;
902
+ return this.reader.setIndex(d), k;
909
903
  }, readBlockEndOfCentral: function() {
910
904
  this.diskNumber = this.reader.readInt(2), this.diskWithCentralDirStart = this.reader.readInt(2), this.centralDirRecordsOnThisDisk = this.reader.readInt(2), this.centralDirRecords = this.reader.readInt(2), this.centralDirSize = this.reader.readInt(4), this.centralDirOffset = this.reader.readInt(4), this.zipCommentLength = this.reader.readInt(2);
911
- var _ = this.reader.readData(this.zipCommentLength), k = y.uint8array ? "uint8array" : "array", d = o.transformTo(k, _);
905
+ var _ = this.reader.readData(this.zipCommentLength), w = b.uint8array ? "uint8array" : "array", d = o.transformTo(w, _);
912
906
  this.zipComment = this.loadOptions.decodeFileName(d);
913
907
  }, readBlockZip64EndOfCentral: function() {
914
908
  this.zip64EndOfCentralSize = this.reader.readInt(8), this.reader.skip(4), this.diskNumber = this.reader.readInt(4), this.diskWithCentralDirStart = this.reader.readInt(4), this.centralDirRecordsOnThisDisk = this.reader.readInt(8), this.centralDirRecords = this.reader.readInt(8), this.centralDirSize = this.reader.readInt(8), this.centralDirOffset = this.reader.readInt(8), this.zip64ExtensibleData = {};
915
- for (var _, k, d, v = this.zip64EndOfCentralSize - 44; 0 < v; ) _ = this.reader.readInt(2), k = this.reader.readInt(4), d = this.reader.readData(k), this.zip64ExtensibleData[_] = { id: _, length: k, value: d };
909
+ for (var _, w, d, k = this.zip64EndOfCentralSize - 44; 0 < k; ) _ = this.reader.readInt(2), w = this.reader.readInt(4), d = this.reader.readData(w), this.zip64ExtensibleData[_] = { id: _, length: w, value: d };
916
910
  }, readBlockZip64EndOfCentralLocator: function() {
917
911
  if (this.diskWithZip64CentralDirStart = this.reader.readInt(4), this.relativeOffsetEndOfZip64CentralDir = this.reader.readInt(8), this.disksCount = this.reader.readInt(4), 1 < this.disksCount) throw new Error("Multi-volumes zip are not supported");
918
912
  }, readLocalFiles: function() {
919
- var _, k;
920
- for (_ = 0; _ < this.files.length; _++) k = this.files[_], this.reader.setIndex(k.localHeaderOffset), this.checkSignature(i.LOCAL_FILE_HEADER), k.readLocalPart(this.reader), k.handleUTF8(), k.processAttributes();
913
+ var _, w;
914
+ for (_ = 0; _ < this.files.length; _++) w = this.files[_], this.reader.setIndex(w.localHeaderOffset), this.checkSignature(i.LOCAL_FILE_HEADER), w.readLocalPart(this.reader), w.handleUTF8(), w.processAttributes();
921
915
  }, readCentralDir: function() {
922
916
  var _;
923
917
  for (this.reader.setIndex(this.centralDirOffset); this.reader.readAndCheckSignature(i.CENTRAL_FILE_HEADER); ) (_ = new h({ zip64: this.zip64 }, this.loadOptions)).readCentralPart(this.reader), this.files.push(_);
@@ -926,7 +920,7 @@ function we() {
926
920
  var _ = this.reader.lastIndexOfSignature(i.CENTRAL_DIRECTORY_END);
927
921
  if (_ < 0) throw this.isSignature(0, i.LOCAL_FILE_HEADER) ? new Error("Corrupted zip: can't find end of central directory") : new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");
928
922
  this.reader.setIndex(_);
929
- var k = _;
923
+ var w = _;
930
924
  if (this.checkSignature(i.CENTRAL_DIRECTORY_END), this.readBlockEndOfCentral(), this.diskNumber === o.MAX_VALUE_16BITS || this.diskWithCentralDirStart === o.MAX_VALUE_16BITS || this.centralDirRecordsOnThisDisk === o.MAX_VALUE_16BITS || this.centralDirRecords === o.MAX_VALUE_16BITS || this.centralDirSize === o.MAX_VALUE_32BITS || this.centralDirOffset === o.MAX_VALUE_32BITS) {
931
925
  if (this.zip64 = !0, (_ = this.reader.lastIndexOfSignature(i.ZIP64_CENTRAL_DIRECTORY_LOCATOR)) < 0) throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");
932
926
  if (this.reader.setIndex(_), this.checkSignature(i.ZIP64_CENTRAL_DIRECTORY_LOCATOR), this.readBlockZip64EndOfCentralLocator(), !this.isSignature(this.relativeOffsetEndOfZip64CentralDir, i.ZIP64_CENTRAL_DIRECTORY_END) && (this.relativeOffsetEndOfZip64CentralDir = this.reader.lastIndexOfSignature(i.ZIP64_CENTRAL_DIRECTORY_END), this.relativeOffsetEndOfZip64CentralDir < 0)) throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");
@@ -934,36 +928,36 @@ function we() {
934
928
  }
935
929
  var d = this.centralDirOffset + this.centralDirSize;
936
930
  this.zip64 && (d += 20, d += 12 + this.zip64EndOfCentralSize);
937
- var v = k - d;
938
- if (0 < v) this.isSignature(k, i.CENTRAL_FILE_HEADER) || (this.reader.zero = v);
939
- else if (v < 0) throw new Error("Corrupted zip: missing " + Math.abs(v) + " bytes.");
931
+ var k = w - d;
932
+ if (0 < k) this.isSignature(w, i.CENTRAL_FILE_HEADER) || (this.reader.zero = k);
933
+ else if (k < 0) throw new Error("Corrupted zip: missing " + Math.abs(k) + " bytes.");
940
934
  }, prepareReader: function(_) {
941
935
  this.reader = a(_);
942
936
  }, load: function(_) {
943
937
  this.prepareReader(_), this.readEndOfCentral(), this.readCentralDir(), this.readLocalFiles();
944
- } }, r.exports = w;
938
+ } }, r.exports = y;
945
939
  }, { "./reader/readerFor": 22, "./signature": 23, "./support": 30, "./utils": 32, "./zipEntry": 34 }], 34: [function(t, r, n) {
946
- var a = t("./reader/readerFor"), o = t("./utils"), i = t("./compressedObject"), h = t("./crc32"), y = t("./utf8"), w = t("./compressions"), _ = t("./support");
947
- function k(d, v) {
948
- this.options = d, this.loadOptions = v;
940
+ var a = t("./reader/readerFor"), o = t("./utils"), i = t("./compressedObject"), h = t("./crc32"), b = t("./utf8"), y = t("./compressions"), _ = t("./support");
941
+ function w(d, k) {
942
+ this.options = d, this.loadOptions = k;
949
943
  }
950
- k.prototype = { isEncrypted: function() {
944
+ w.prototype = { isEncrypted: function() {
951
945
  return (1 & this.bitFlag) == 1;
952
946
  }, useUTF8: function() {
953
947
  return (2048 & this.bitFlag) == 2048;
954
948
  }, readLocalPart: function(d) {
955
- var v, u;
949
+ var k, u;
956
950
  if (d.skip(22), this.fileNameLength = d.readInt(2), u = d.readInt(2), this.fileName = d.readData(this.fileNameLength), d.skip(u), this.compressedSize === -1 || this.uncompressedSize === -1) throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");
957
- if ((v = (function(m) {
958
- for (var f in w) if (Object.prototype.hasOwnProperty.call(w, f) && w[f].magic === m) return w[f];
951
+ if ((k = (function(m) {
952
+ for (var f in y) if (Object.prototype.hasOwnProperty.call(y, f) && y[f].magic === m) return y[f];
959
953
  return null;
960
954
  })(this.compressionMethod)) === null) throw new Error("Corrupted zip : compression " + o.pretty(this.compressionMethod) + " unknown (inner file : " + o.transformTo("string", this.fileName) + ")");
961
- this.decompressed = new i(this.compressedSize, this.uncompressedSize, this.crc32, v, d.readData(this.compressedSize));
955
+ this.decompressed = new i(this.compressedSize, this.uncompressedSize, this.crc32, k, d.readData(this.compressedSize));
962
956
  }, readCentralPart: function(d) {
963
957
  this.versionMadeBy = d.readInt(2), d.skip(2), this.bitFlag = d.readInt(2), this.compressionMethod = d.readString(2), this.date = d.readDate(), this.crc32 = d.readInt(4), this.compressedSize = d.readInt(4), this.uncompressedSize = d.readInt(4);
964
- var v = d.readInt(2);
958
+ var k = d.readInt(2);
965
959
  if (this.extraFieldsLength = d.readInt(2), this.fileCommentLength = d.readInt(2), this.diskNumberStart = d.readInt(2), this.internalFileAttributes = d.readInt(2), this.externalFileAttributes = d.readInt(4), this.localHeaderOffset = d.readInt(4), this.isEncrypted()) throw new Error("Encrypted zip are not supported");
966
- d.skip(v), this.readExtraFields(d), this.parseZIP64ExtraField(d), this.fileComment = d.readData(this.fileCommentLength);
960
+ d.skip(k), this.readExtraFields(d), this.parseZIP64ExtraField(d), this.fileComment = d.readData(this.fileCommentLength);
967
961
  }, processAttributes: function() {
968
962
  this.unixPermissions = null, this.dosPermissions = null;
969
963
  var d = this.versionMadeBy >> 8;
@@ -974,15 +968,15 @@ function we() {
974
968
  this.uncompressedSize === o.MAX_VALUE_32BITS && (this.uncompressedSize = d.readInt(8)), this.compressedSize === o.MAX_VALUE_32BITS && (this.compressedSize = d.readInt(8)), this.localHeaderOffset === o.MAX_VALUE_32BITS && (this.localHeaderOffset = d.readInt(8)), this.diskNumberStart === o.MAX_VALUE_32BITS && (this.diskNumberStart = d.readInt(4));
975
969
  }
976
970
  }, readExtraFields: function(d) {
977
- var v, u, m, f = d.index + this.extraFieldsLength;
978
- for (this.extraFields || (this.extraFields = {}); d.index + 4 < f; ) v = d.readInt(2), u = d.readInt(2), m = d.readData(u), this.extraFields[v] = { id: v, length: u, value: m };
971
+ var k, u, m, f = d.index + this.extraFieldsLength;
972
+ for (this.extraFields || (this.extraFields = {}); d.index + 4 < f; ) k = d.readInt(2), u = d.readInt(2), m = d.readData(u), this.extraFields[k] = { id: k, length: u, value: m };
979
973
  d.setIndex(f);
980
974
  }, handleUTF8: function() {
981
975
  var d = _.uint8array ? "uint8array" : "array";
982
- if (this.useUTF8()) this.fileNameStr = y.utf8decode(this.fileName), this.fileCommentStr = y.utf8decode(this.fileComment);
976
+ if (this.useUTF8()) this.fileNameStr = b.utf8decode(this.fileName), this.fileCommentStr = b.utf8decode(this.fileComment);
983
977
  else {
984
- var v = this.findExtraFieldUnicodePath();
985
- if (v !== null) this.fileNameStr = v;
978
+ var k = this.findExtraFieldUnicodePath();
979
+ if (k !== null) this.fileNameStr = k;
986
980
  else {
987
981
  var u = o.transformTo(d, this.fileName);
988
982
  this.fileNameStr = this.loadOptions.decodeFileName(u);
@@ -997,74 +991,74 @@ function we() {
997
991
  }, findExtraFieldUnicodePath: function() {
998
992
  var d = this.extraFields[28789];
999
993
  if (d) {
1000
- var v = a(d.value);
1001
- return v.readInt(1) !== 1 || h(this.fileName) !== v.readInt(4) ? null : y.utf8decode(v.readData(d.length - 5));
994
+ var k = a(d.value);
995
+ return k.readInt(1) !== 1 || h(this.fileName) !== k.readInt(4) ? null : b.utf8decode(k.readData(d.length - 5));
1002
996
  }
1003
997
  return null;
1004
998
  }, findExtraFieldUnicodeComment: function() {
1005
999
  var d = this.extraFields[25461];
1006
1000
  if (d) {
1007
- var v = a(d.value);
1008
- return v.readInt(1) !== 1 || h(this.fileComment) !== v.readInt(4) ? null : y.utf8decode(v.readData(d.length - 5));
1001
+ var k = a(d.value);
1002
+ return k.readInt(1) !== 1 || h(this.fileComment) !== k.readInt(4) ? null : b.utf8decode(k.readData(d.length - 5));
1009
1003
  }
1010
1004
  return null;
1011
- } }, r.exports = k;
1005
+ } }, r.exports = w;
1012
1006
  }, { "./compressedObject": 2, "./compressions": 3, "./crc32": 4, "./reader/readerFor": 22, "./support": 30, "./utf8": 31, "./utils": 32 }], 35: [function(t, r, n) {
1013
- function a(v, u, m) {
1014
- this.name = v, this.dir = m.dir, this.date = m.date, this.comment = m.comment, this.unixPermissions = m.unixPermissions, this.dosPermissions = m.dosPermissions, this._data = u, this._dataBinary = m.binary, this.options = { compression: m.compression, compressionOptions: m.compressionOptions };
1007
+ function a(k, u, m) {
1008
+ this.name = k, this.dir = m.dir, this.date = m.date, this.comment = m.comment, this.unixPermissions = m.unixPermissions, this.dosPermissions = m.dosPermissions, this._data = u, this._dataBinary = m.binary, this.options = { compression: m.compression, compressionOptions: m.compressionOptions };
1015
1009
  }
1016
- var o = t("./stream/StreamHelper"), i = t("./stream/DataWorker"), h = t("./utf8"), y = t("./compressedObject"), w = t("./stream/GenericWorker");
1017
- a.prototype = { internalStream: function(v) {
1010
+ var o = t("./stream/StreamHelper"), i = t("./stream/DataWorker"), h = t("./utf8"), b = t("./compressedObject"), y = t("./stream/GenericWorker");
1011
+ a.prototype = { internalStream: function(k) {
1018
1012
  var u = null, m = "string";
1019
1013
  try {
1020
- if (!v) throw new Error("No output type specified.");
1021
- var f = (m = v.toLowerCase()) === "string" || m === "text";
1014
+ if (!k) throw new Error("No output type specified.");
1015
+ var f = (m = k.toLowerCase()) === "string" || m === "text";
1022
1016
  m !== "binarystring" && m !== "text" || (m = "string"), u = this._decompressWorker();
1023
- var b = !this._dataBinary;
1024
- b && !f && (u = u.pipe(new h.Utf8EncodeWorker())), !b && f && (u = u.pipe(new h.Utf8DecodeWorker()));
1017
+ var v = !this._dataBinary;
1018
+ v && !f && (u = u.pipe(new h.Utf8EncodeWorker())), !v && f && (u = u.pipe(new h.Utf8DecodeWorker()));
1025
1019
  } catch (x) {
1026
- (u = new w("error")).error(x);
1020
+ (u = new y("error")).error(x);
1027
1021
  }
1028
1022
  return new o(u, m, "");
1029
- }, async: function(v, u) {
1030
- return this.internalStream(v).accumulate(u);
1031
- }, nodeStream: function(v, u) {
1032
- return this.internalStream(v || "nodebuffer").toNodejsStream(u);
1033
- }, _compressWorker: function(v, u) {
1034
- if (this._data instanceof y && this._data.compression.magic === v.magic) return this._data.getCompressedWorker();
1023
+ }, async: function(k, u) {
1024
+ return this.internalStream(k).accumulate(u);
1025
+ }, nodeStream: function(k, u) {
1026
+ return this.internalStream(k || "nodebuffer").toNodejsStream(u);
1027
+ }, _compressWorker: function(k, u) {
1028
+ if (this._data instanceof b && this._data.compression.magic === k.magic) return this._data.getCompressedWorker();
1035
1029
  var m = this._decompressWorker();
1036
- return this._dataBinary || (m = m.pipe(new h.Utf8EncodeWorker())), y.createWorkerFrom(m, v, u);
1030
+ return this._dataBinary || (m = m.pipe(new h.Utf8EncodeWorker())), b.createWorkerFrom(m, k, u);
1037
1031
  }, _decompressWorker: function() {
1038
- return this._data instanceof y ? this._data.getContentWorker() : this._data instanceof w ? this._data : new i(this._data);
1032
+ return this._data instanceof b ? this._data.getContentWorker() : this._data instanceof y ? this._data : new i(this._data);
1039
1033
  } };
1040
- for (var _ = ["asText", "asBinary", "asNodeBuffer", "asUint8Array", "asArrayBuffer"], k = function() {
1034
+ for (var _ = ["asText", "asBinary", "asNodeBuffer", "asUint8Array", "asArrayBuffer"], w = function() {
1041
1035
  throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.");
1042
- }, d = 0; d < _.length; d++) a.prototype[_[d]] = k;
1036
+ }, d = 0; d < _.length; d++) a.prototype[_[d]] = w;
1043
1037
  r.exports = a;
1044
1038
  }, { "./compressedObject": 2, "./stream/DataWorker": 27, "./stream/GenericWorker": 28, "./stream/StreamHelper": 29, "./utf8": 31 }], 36: [function(t, r, n) {
1045
1039
  (function(a) {
1046
1040
  var o, i, h = a.MutationObserver || a.WebKitMutationObserver;
1047
1041
  if (h) {
1048
- var y = 0, w = new h(v), _ = a.document.createTextNode("");
1049
- w.observe(_, { characterData: !0 }), o = function() {
1050
- _.data = y = ++y % 2;
1042
+ var b = 0, y = new h(k), _ = a.document.createTextNode("");
1043
+ y.observe(_, { characterData: !0 }), o = function() {
1044
+ _.data = b = ++b % 2;
1051
1045
  };
1052
1046
  } else if (a.setImmediate || a.MessageChannel === void 0) o = "document" in a && "onreadystatechange" in a.document.createElement("script") ? function() {
1053
1047
  var u = a.document.createElement("script");
1054
1048
  u.onreadystatechange = function() {
1055
- v(), u.onreadystatechange = null, u.parentNode.removeChild(u), u = null;
1049
+ k(), u.onreadystatechange = null, u.parentNode.removeChild(u), u = null;
1056
1050
  }, a.document.documentElement.appendChild(u);
1057
1051
  } : function() {
1058
- setTimeout(v, 0);
1052
+ setTimeout(k, 0);
1059
1053
  };
1060
1054
  else {
1061
- var k = new a.MessageChannel();
1062
- k.port1.onmessage = v, o = function() {
1063
- k.port2.postMessage(0);
1055
+ var w = new a.MessageChannel();
1056
+ w.port1.onmessage = k, o = function() {
1057
+ w.port2.postMessage(0);
1064
1058
  };
1065
1059
  }
1066
1060
  var d = [];
1067
- function v() {
1061
+ function k() {
1068
1062
  var u, m;
1069
1063
  i = !0;
1070
1064
  for (var f = d.length; f; ) {
@@ -1076,37 +1070,37 @@ function we() {
1076
1070
  r.exports = function(u) {
1077
1071
  d.push(u) !== 1 || i || o();
1078
1072
  };
1079
- }).call(this, typeof Mt < "u" ? Mt : typeof self < "u" ? self : typeof window < "u" ? window : {});
1073
+ }).call(this, typeof Rt != "undefined" ? Rt : typeof self != "undefined" ? self : typeof window != "undefined" ? window : {});
1080
1074
  }, {}], 37: [function(t, r, n) {
1081
1075
  var a = t("immediate");
1082
1076
  function o() {
1083
1077
  }
1084
- var i = {}, h = ["REJECTED"], y = ["FULFILLED"], w = ["PENDING"];
1078
+ var i = {}, h = ["REJECTED"], b = ["FULFILLED"], y = ["PENDING"];
1085
1079
  function _(f) {
1086
1080
  if (typeof f != "function") throw new TypeError("resolver must be a function");
1087
- this.state = w, this.queue = [], this.outcome = void 0, f !== o && u(this, f);
1081
+ this.state = y, this.queue = [], this.outcome = void 0, f !== o && u(this, f);
1088
1082
  }
1089
- function k(f, b, x) {
1090
- this.promise = f, typeof b == "function" && (this.onFulfilled = b, this.callFulfilled = this.otherCallFulfilled), typeof x == "function" && (this.onRejected = x, this.callRejected = this.otherCallRejected);
1083
+ function w(f, v, x) {
1084
+ this.promise = f, typeof v == "function" && (this.onFulfilled = v, this.callFulfilled = this.otherCallFulfilled), typeof x == "function" && (this.onRejected = x, this.callRejected = this.otherCallRejected);
1091
1085
  }
1092
- function d(f, b, x) {
1086
+ function d(f, v, x) {
1093
1087
  a(function() {
1094
1088
  var A;
1095
1089
  try {
1096
- A = b(x);
1090
+ A = v(x);
1097
1091
  } catch (P) {
1098
1092
  return i.reject(f, P);
1099
1093
  }
1100
1094
  A === f ? i.reject(f, new TypeError("Cannot resolve promise with itself")) : i.resolve(f, A);
1101
1095
  });
1102
1096
  }
1103
- function v(f) {
1104
- var b = f && f.then;
1105
- if (f && (typeof f == "object" || typeof f == "function") && typeof b == "function") return function() {
1106
- b.apply(f, arguments);
1097
+ function k(f) {
1098
+ var v = f && f.then;
1099
+ if (f && (typeof f == "object" || typeof f == "function") && typeof v == "function") return function() {
1100
+ v.apply(f, arguments);
1107
1101
  };
1108
1102
  }
1109
- function u(f, b) {
1103
+ function u(f, v) {
1110
1104
  var x = !1;
1111
1105
  function A(F) {
1112
1106
  x || (x = !0, i.reject(f, F));
@@ -1115,14 +1109,14 @@ function we() {
1115
1109
  x || (x = !0, i.resolve(f, F));
1116
1110
  }
1117
1111
  var D = m(function() {
1118
- b(P, A);
1112
+ v(P, A);
1119
1113
  });
1120
1114
  D.status === "error" && A(D.value);
1121
1115
  }
1122
- function m(f, b) {
1116
+ function m(f, v) {
1123
1117
  var x = {};
1124
1118
  try {
1125
- x.value = f(b), x.status = "success";
1119
+ x.value = f(v), x.status = "success";
1126
1120
  } catch (A) {
1127
1121
  x.status = "error", x.value = A;
1128
1122
  }
@@ -1130,69 +1124,69 @@ function we() {
1130
1124
  }
1131
1125
  (r.exports = _).prototype.finally = function(f) {
1132
1126
  if (typeof f != "function") return this;
1133
- var b = this.constructor;
1127
+ var v = this.constructor;
1134
1128
  return this.then(function(x) {
1135
- return b.resolve(f()).then(function() {
1129
+ return v.resolve(f()).then(function() {
1136
1130
  return x;
1137
1131
  });
1138
1132
  }, function(x) {
1139
- return b.resolve(f()).then(function() {
1133
+ return v.resolve(f()).then(function() {
1140
1134
  throw x;
1141
1135
  });
1142
1136
  });
1143
1137
  }, _.prototype.catch = function(f) {
1144
1138
  return this.then(null, f);
1145
- }, _.prototype.then = function(f, b) {
1146
- if (typeof f != "function" && this.state === y || typeof b != "function" && this.state === h) return this;
1139
+ }, _.prototype.then = function(f, v) {
1140
+ if (typeof f != "function" && this.state === b || typeof v != "function" && this.state === h) return this;
1147
1141
  var x = new this.constructor(o);
1148
- return this.state !== w ? d(x, this.state === y ? f : b, this.outcome) : this.queue.push(new k(x, f, b)), x;
1149
- }, k.prototype.callFulfilled = function(f) {
1142
+ return this.state !== y ? d(x, this.state === b ? f : v, this.outcome) : this.queue.push(new w(x, f, v)), x;
1143
+ }, w.prototype.callFulfilled = function(f) {
1150
1144
  i.resolve(this.promise, f);
1151
- }, k.prototype.otherCallFulfilled = function(f) {
1145
+ }, w.prototype.otherCallFulfilled = function(f) {
1152
1146
  d(this.promise, this.onFulfilled, f);
1153
- }, k.prototype.callRejected = function(f) {
1147
+ }, w.prototype.callRejected = function(f) {
1154
1148
  i.reject(this.promise, f);
1155
- }, k.prototype.otherCallRejected = function(f) {
1149
+ }, w.prototype.otherCallRejected = function(f) {
1156
1150
  d(this.promise, this.onRejected, f);
1157
- }, i.resolve = function(f, b) {
1158
- var x = m(v, b);
1151
+ }, i.resolve = function(f, v) {
1152
+ var x = m(k, v);
1159
1153
  if (x.status === "error") return i.reject(f, x.value);
1160
1154
  var A = x.value;
1161
1155
  if (A) u(f, A);
1162
1156
  else {
1163
- f.state = y, f.outcome = b;
1164
- for (var P = -1, D = f.queue.length; ++P < D; ) f.queue[P].callFulfilled(b);
1157
+ f.state = b, f.outcome = v;
1158
+ for (var P = -1, D = f.queue.length; ++P < D; ) f.queue[P].callFulfilled(v);
1165
1159
  }
1166
1160
  return f;
1167
- }, i.reject = function(f, b) {
1168
- f.state = h, f.outcome = b;
1169
- for (var x = -1, A = f.queue.length; ++x < A; ) f.queue[x].callRejected(b);
1161
+ }, i.reject = function(f, v) {
1162
+ f.state = h, f.outcome = v;
1163
+ for (var x = -1, A = f.queue.length; ++x < A; ) f.queue[x].callRejected(v);
1170
1164
  return f;
1171
1165
  }, _.resolve = function(f) {
1172
1166
  return f instanceof this ? f : i.resolve(new this(o), f);
1173
1167
  }, _.reject = function(f) {
1174
- var b = new this(o);
1175
- return i.reject(b, f);
1168
+ var v = new this(o);
1169
+ return i.reject(v, f);
1176
1170
  }, _.all = function(f) {
1177
- var b = this;
1171
+ var v = this;
1178
1172
  if (Object.prototype.toString.call(f) !== "[object Array]") return this.reject(new TypeError("must be an array"));
1179
1173
  var x = f.length, A = !1;
1180
1174
  if (!x) return this.resolve([]);
1181
1175
  for (var P = new Array(x), D = 0, F = -1, W = new this(o); ++F < x; ) T(f[F], F);
1182
1176
  return W;
1183
1177
  function T(V, Q) {
1184
- b.resolve(V).then(function(S) {
1178
+ v.resolve(V).then(function(S) {
1185
1179
  P[Q] = S, ++D !== x || A || (A = !0, i.resolve(W, P));
1186
1180
  }, function(S) {
1187
1181
  A || (A = !0, i.reject(W, S));
1188
1182
  });
1189
1183
  }
1190
1184
  }, _.race = function(f) {
1191
- var b = this;
1185
+ var v = this;
1192
1186
  if (Object.prototype.toString.call(f) !== "[object Array]") return this.reject(new TypeError("must be an array"));
1193
1187
  var x = f.length, A = !1;
1194
1188
  if (!x) return this.resolve([]);
1195
- for (var P = -1, D = new this(o); ++P < x; ) F = f[P], b.resolve(F).then(function(W) {
1189
+ for (var P = -1, D = new this(o); ++P < x; ) F = f[P], v.resolve(F).then(function(W) {
1196
1190
  A || (A = !0, i.resolve(D, W));
1197
1191
  }, function(W) {
1198
1192
  A || (A = !0, i.reject(D, W));
@@ -1204,29 +1198,29 @@ function we() {
1204
1198
  var a = {};
1205
1199
  (0, t("./lib/utils/common").assign)(a, t("./lib/deflate"), t("./lib/inflate"), t("./lib/zlib/constants")), r.exports = a;
1206
1200
  }, { "./lib/deflate": 39, "./lib/inflate": 40, "./lib/utils/common": 41, "./lib/zlib/constants": 44 }], 39: [function(t, r, n) {
1207
- var a = t("./zlib/deflate"), o = t("./utils/common"), i = t("./utils/strings"), h = t("./zlib/messages"), y = t("./zlib/zstream"), w = Object.prototype.toString, _ = 0, k = -1, d = 0, v = 8;
1201
+ var a = t("./zlib/deflate"), o = t("./utils/common"), i = t("./utils/strings"), h = t("./zlib/messages"), b = t("./zlib/zstream"), y = Object.prototype.toString, _ = 0, w = -1, d = 0, k = 8;
1208
1202
  function u(f) {
1209
1203
  if (!(this instanceof u)) return new u(f);
1210
- this.options = o.assign({ level: k, method: v, chunkSize: 16384, windowBits: 15, memLevel: 8, strategy: d, to: "" }, f || {});
1211
- var b = this.options;
1212
- b.raw && 0 < b.windowBits ? b.windowBits = -b.windowBits : b.gzip && 0 < b.windowBits && b.windowBits < 16 && (b.windowBits += 16), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new y(), this.strm.avail_out = 0;
1213
- var x = a.deflateInit2(this.strm, b.level, b.method, b.windowBits, b.memLevel, b.strategy);
1204
+ this.options = o.assign({ level: w, method: k, chunkSize: 16384, windowBits: 15, memLevel: 8, strategy: d, to: "" }, f || {});
1205
+ var v = this.options;
1206
+ v.raw && 0 < v.windowBits ? v.windowBits = -v.windowBits : v.gzip && 0 < v.windowBits && v.windowBits < 16 && (v.windowBits += 16), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new b(), this.strm.avail_out = 0;
1207
+ var x = a.deflateInit2(this.strm, v.level, v.method, v.windowBits, v.memLevel, v.strategy);
1214
1208
  if (x !== _) throw new Error(h[x]);
1215
- if (b.header && a.deflateSetHeader(this.strm, b.header), b.dictionary) {
1209
+ if (v.header && a.deflateSetHeader(this.strm, v.header), v.dictionary) {
1216
1210
  var A;
1217
- if (A = typeof b.dictionary == "string" ? i.string2buf(b.dictionary) : w.call(b.dictionary) === "[object ArrayBuffer]" ? new Uint8Array(b.dictionary) : b.dictionary, (x = a.deflateSetDictionary(this.strm, A)) !== _) throw new Error(h[x]);
1211
+ if (A = typeof v.dictionary == "string" ? i.string2buf(v.dictionary) : y.call(v.dictionary) === "[object ArrayBuffer]" ? new Uint8Array(v.dictionary) : v.dictionary, (x = a.deflateSetDictionary(this.strm, A)) !== _) throw new Error(h[x]);
1218
1212
  this._dict_set = !0;
1219
1213
  }
1220
1214
  }
1221
- function m(f, b) {
1222
- var x = new u(b);
1215
+ function m(f, v) {
1216
+ var x = new u(v);
1223
1217
  if (x.push(f, !0), x.err) throw x.msg || h[x.err];
1224
1218
  return x.result;
1225
1219
  }
1226
- u.prototype.push = function(f, b) {
1220
+ u.prototype.push = function(f, v) {
1227
1221
  var x, A, P = this.strm, D = this.options.chunkSize;
1228
1222
  if (this.ended) return !1;
1229
- A = b === ~~b ? b : b === !0 ? 4 : 0, typeof f == "string" ? P.input = i.string2buf(f) : w.call(f) === "[object ArrayBuffer]" ? P.input = new Uint8Array(f) : P.input = f, P.next_in = 0, P.avail_in = P.input.length;
1223
+ A = v === ~~v ? v : v === !0 ? 4 : 0, typeof f == "string" ? P.input = i.string2buf(f) : y.call(f) === "[object ArrayBuffer]" ? P.input = new Uint8Array(f) : P.input = f, P.next_in = 0, P.avail_in = P.input.length;
1230
1224
  do {
1231
1225
  if (P.avail_out === 0 && (P.output = new o.Buf8(D), P.next_out = 0, P.avail_out = D), (x = a.deflate(P, A)) !== 1 && x !== _) return this.onEnd(x), !(this.ended = !0);
1232
1226
  P.avail_out !== 0 && (P.avail_in !== 0 || A !== 4 && A !== 2) || (this.options.to === "string" ? this.onData(i.buf2binstring(o.shrinkBuf(P.output, P.next_out))) : this.onData(o.shrinkBuf(P.output, P.next_out)));
@@ -1236,67 +1230,67 @@ function we() {
1236
1230
  this.chunks.push(f);
1237
1231
  }, u.prototype.onEnd = function(f) {
1238
1232
  f === _ && (this.options.to === "string" ? this.result = this.chunks.join("") : this.result = o.flattenChunks(this.chunks)), this.chunks = [], this.err = f, this.msg = this.strm.msg;
1239
- }, n.Deflate = u, n.deflate = m, n.deflateRaw = function(f, b) {
1240
- return (b = b || {}).raw = !0, m(f, b);
1241
- }, n.gzip = function(f, b) {
1242
- return (b = b || {}).gzip = !0, m(f, b);
1233
+ }, n.Deflate = u, n.deflate = m, n.deflateRaw = function(f, v) {
1234
+ return (v = v || {}).raw = !0, m(f, v);
1235
+ }, n.gzip = function(f, v) {
1236
+ return (v = v || {}).gzip = !0, m(f, v);
1243
1237
  };
1244
1238
  }, { "./utils/common": 41, "./utils/strings": 42, "./zlib/deflate": 46, "./zlib/messages": 51, "./zlib/zstream": 53 }], 40: [function(t, r, n) {
1245
- var a = t("./zlib/inflate"), o = t("./utils/common"), i = t("./utils/strings"), h = t("./zlib/constants"), y = t("./zlib/messages"), w = t("./zlib/zstream"), _ = t("./zlib/gzheader"), k = Object.prototype.toString;
1239
+ var a = t("./zlib/inflate"), o = t("./utils/common"), i = t("./utils/strings"), h = t("./zlib/constants"), b = t("./zlib/messages"), y = t("./zlib/zstream"), _ = t("./zlib/gzheader"), w = Object.prototype.toString;
1246
1240
  function d(u) {
1247
1241
  if (!(this instanceof d)) return new d(u);
1248
1242
  this.options = o.assign({ chunkSize: 16384, windowBits: 0, to: "" }, u || {});
1249
1243
  var m = this.options;
1250
- m.raw && 0 <= m.windowBits && m.windowBits < 16 && (m.windowBits = -m.windowBits, m.windowBits === 0 && (m.windowBits = -15)), !(0 <= m.windowBits && m.windowBits < 16) || u && u.windowBits || (m.windowBits += 32), 15 < m.windowBits && m.windowBits < 48 && (15 & m.windowBits) == 0 && (m.windowBits |= 15), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new w(), this.strm.avail_out = 0;
1244
+ m.raw && 0 <= m.windowBits && m.windowBits < 16 && (m.windowBits = -m.windowBits, m.windowBits === 0 && (m.windowBits = -15)), !(0 <= m.windowBits && m.windowBits < 16) || u && u.windowBits || (m.windowBits += 32), 15 < m.windowBits && m.windowBits < 48 && (15 & m.windowBits) == 0 && (m.windowBits |= 15), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new y(), this.strm.avail_out = 0;
1251
1245
  var f = a.inflateInit2(this.strm, m.windowBits);
1252
- if (f !== h.Z_OK) throw new Error(y[f]);
1246
+ if (f !== h.Z_OK) throw new Error(b[f]);
1253
1247
  this.header = new _(), a.inflateGetHeader(this.strm, this.header);
1254
1248
  }
1255
- function v(u, m) {
1249
+ function k(u, m) {
1256
1250
  var f = new d(m);
1257
- if (f.push(u, !0), f.err) throw f.msg || y[f.err];
1251
+ if (f.push(u, !0), f.err) throw f.msg || b[f.err];
1258
1252
  return f.result;
1259
1253
  }
1260
1254
  d.prototype.push = function(u, m) {
1261
- var f, b, x, A, P, D, F = this.strm, W = this.options.chunkSize, T = this.options.dictionary, V = !1;
1255
+ var f, v, x, A, P, D, F = this.strm, W = this.options.chunkSize, T = this.options.dictionary, V = !1;
1262
1256
  if (this.ended) return !1;
1263
- b = m === ~~m ? m : m === !0 ? h.Z_FINISH : h.Z_NO_FLUSH, typeof u == "string" ? F.input = i.binstring2buf(u) : k.call(u) === "[object ArrayBuffer]" ? F.input = new Uint8Array(u) : F.input = u, F.next_in = 0, F.avail_in = F.input.length;
1257
+ v = m === ~~m ? m : m === !0 ? h.Z_FINISH : h.Z_NO_FLUSH, typeof u == "string" ? F.input = i.binstring2buf(u) : w.call(u) === "[object ArrayBuffer]" ? F.input = new Uint8Array(u) : F.input = u, F.next_in = 0, F.avail_in = F.input.length;
1264
1258
  do {
1265
- if (F.avail_out === 0 && (F.output = new o.Buf8(W), F.next_out = 0, F.avail_out = W), (f = a.inflate(F, h.Z_NO_FLUSH)) === h.Z_NEED_DICT && T && (D = typeof T == "string" ? i.string2buf(T) : k.call(T) === "[object ArrayBuffer]" ? new Uint8Array(T) : T, f = a.inflateSetDictionary(this.strm, D)), f === h.Z_BUF_ERROR && V === !0 && (f = h.Z_OK, V = !1), f !== h.Z_STREAM_END && f !== h.Z_OK) return this.onEnd(f), !(this.ended = !0);
1266
- F.next_out && (F.avail_out !== 0 && f !== h.Z_STREAM_END && (F.avail_in !== 0 || b !== h.Z_FINISH && b !== h.Z_SYNC_FLUSH) || (this.options.to === "string" ? (x = i.utf8border(F.output, F.next_out), A = F.next_out - x, P = i.buf2string(F.output, x), F.next_out = A, F.avail_out = W - A, A && o.arraySet(F.output, F.output, x, A, 0), this.onData(P)) : this.onData(o.shrinkBuf(F.output, F.next_out)))), F.avail_in === 0 && F.avail_out === 0 && (V = !0);
1259
+ if (F.avail_out === 0 && (F.output = new o.Buf8(W), F.next_out = 0, F.avail_out = W), (f = a.inflate(F, h.Z_NO_FLUSH)) === h.Z_NEED_DICT && T && (D = typeof T == "string" ? i.string2buf(T) : w.call(T) === "[object ArrayBuffer]" ? new Uint8Array(T) : T, f = a.inflateSetDictionary(this.strm, D)), f === h.Z_BUF_ERROR && V === !0 && (f = h.Z_OK, V = !1), f !== h.Z_STREAM_END && f !== h.Z_OK) return this.onEnd(f), !(this.ended = !0);
1260
+ F.next_out && (F.avail_out !== 0 && f !== h.Z_STREAM_END && (F.avail_in !== 0 || v !== h.Z_FINISH && v !== h.Z_SYNC_FLUSH) || (this.options.to === "string" ? (x = i.utf8border(F.output, F.next_out), A = F.next_out - x, P = i.buf2string(F.output, x), F.next_out = A, F.avail_out = W - A, A && o.arraySet(F.output, F.output, x, A, 0), this.onData(P)) : this.onData(o.shrinkBuf(F.output, F.next_out)))), F.avail_in === 0 && F.avail_out === 0 && (V = !0);
1267
1261
  } while ((0 < F.avail_in || F.avail_out === 0) && f !== h.Z_STREAM_END);
1268
- return f === h.Z_STREAM_END && (b = h.Z_FINISH), b === h.Z_FINISH ? (f = a.inflateEnd(this.strm), this.onEnd(f), this.ended = !0, f === h.Z_OK) : b !== h.Z_SYNC_FLUSH || (this.onEnd(h.Z_OK), !(F.avail_out = 0));
1262
+ return f === h.Z_STREAM_END && (v = h.Z_FINISH), v === h.Z_FINISH ? (f = a.inflateEnd(this.strm), this.onEnd(f), this.ended = !0, f === h.Z_OK) : v !== h.Z_SYNC_FLUSH || (this.onEnd(h.Z_OK), !(F.avail_out = 0));
1269
1263
  }, d.prototype.onData = function(u) {
1270
1264
  this.chunks.push(u);
1271
1265
  }, d.prototype.onEnd = function(u) {
1272
1266
  u === h.Z_OK && (this.options.to === "string" ? this.result = this.chunks.join("") : this.result = o.flattenChunks(this.chunks)), this.chunks = [], this.err = u, this.msg = this.strm.msg;
1273
- }, n.Inflate = d, n.inflate = v, n.inflateRaw = function(u, m) {
1274
- return (m = m || {}).raw = !0, v(u, m);
1275
- }, n.ungzip = v;
1267
+ }, n.Inflate = d, n.inflate = k, n.inflateRaw = function(u, m) {
1268
+ return (m = m || {}).raw = !0, k(u, m);
1269
+ }, n.ungzip = k;
1276
1270
  }, { "./utils/common": 41, "./utils/strings": 42, "./zlib/constants": 44, "./zlib/gzheader": 47, "./zlib/inflate": 49, "./zlib/messages": 51, "./zlib/zstream": 53 }], 41: [function(t, r, n) {
1277
- var a = typeof Uint8Array < "u" && typeof Uint16Array < "u" && typeof Int32Array < "u";
1271
+ var a = typeof Uint8Array != "undefined" && typeof Uint16Array != "undefined" && typeof Int32Array != "undefined";
1278
1272
  n.assign = function(h) {
1279
- for (var y = Array.prototype.slice.call(arguments, 1); y.length; ) {
1280
- var w = y.shift();
1281
- if (w) {
1282
- if (typeof w != "object") throw new TypeError(w + "must be non-object");
1283
- for (var _ in w) w.hasOwnProperty(_) && (h[_] = w[_]);
1273
+ for (var b = Array.prototype.slice.call(arguments, 1); b.length; ) {
1274
+ var y = b.shift();
1275
+ if (y) {
1276
+ if (typeof y != "object") throw new TypeError(y + "must be non-object");
1277
+ for (var _ in y) y.hasOwnProperty(_) && (h[_] = y[_]);
1284
1278
  }
1285
1279
  }
1286
1280
  return h;
1287
- }, n.shrinkBuf = function(h, y) {
1288
- return h.length === y ? h : h.subarray ? h.subarray(0, y) : (h.length = y, h);
1281
+ }, n.shrinkBuf = function(h, b) {
1282
+ return h.length === b ? h : h.subarray ? h.subarray(0, b) : (h.length = b, h);
1289
1283
  };
1290
- var o = { arraySet: function(h, y, w, _, k) {
1291
- if (y.subarray && h.subarray) h.set(y.subarray(w, w + _), k);
1292
- else for (var d = 0; d < _; d++) h[k + d] = y[w + d];
1284
+ var o = { arraySet: function(h, b, y, _, w) {
1285
+ if (b.subarray && h.subarray) h.set(b.subarray(y, y + _), w);
1286
+ else for (var d = 0; d < _; d++) h[w + d] = b[y + d];
1293
1287
  }, flattenChunks: function(h) {
1294
- var y, w, _, k, d, v;
1295
- for (y = _ = 0, w = h.length; y < w; y++) _ += h[y].length;
1296
- for (v = new Uint8Array(_), y = k = 0, w = h.length; y < w; y++) d = h[y], v.set(d, k), k += d.length;
1297
- return v;
1298
- } }, i = { arraySet: function(h, y, w, _, k) {
1299
- for (var d = 0; d < _; d++) h[k + d] = y[w + d];
1288
+ var b, y, _, w, d, k;
1289
+ for (b = _ = 0, y = h.length; b < y; b++) _ += h[b].length;
1290
+ for (k = new Uint8Array(_), b = w = 0, y = h.length; b < y; b++) d = h[b], k.set(d, w), w += d.length;
1291
+ return k;
1292
+ } }, i = { arraySet: function(h, b, y, _, w) {
1293
+ for (var d = 0; d < _; d++) h[w + d] = b[y + d];
1300
1294
  }, flattenChunks: function(h) {
1301
1295
  return [].concat.apply([], h);
1302
1296
  } };
@@ -1307,51 +1301,51 @@ function we() {
1307
1301
  var a = t("./common"), o = !0, i = !0;
1308
1302
  try {
1309
1303
  String.fromCharCode.apply(null, [0]);
1310
- } catch {
1304
+ } catch (_) {
1311
1305
  o = !1;
1312
1306
  }
1313
1307
  try {
1314
1308
  String.fromCharCode.apply(null, new Uint8Array(1));
1315
- } catch {
1309
+ } catch (_) {
1316
1310
  i = !1;
1317
1311
  }
1318
- for (var h = new a.Buf8(256), y = 0; y < 256; y++) h[y] = 252 <= y ? 6 : 248 <= y ? 5 : 240 <= y ? 4 : 224 <= y ? 3 : 192 <= y ? 2 : 1;
1319
- function w(_, k) {
1320
- if (k < 65537 && (_.subarray && i || !_.subarray && o)) return String.fromCharCode.apply(null, a.shrinkBuf(_, k));
1321
- for (var d = "", v = 0; v < k; v++) d += String.fromCharCode(_[v]);
1312
+ for (var h = new a.Buf8(256), b = 0; b < 256; b++) h[b] = 252 <= b ? 6 : 248 <= b ? 5 : 240 <= b ? 4 : 224 <= b ? 3 : 192 <= b ? 2 : 1;
1313
+ function y(_, w) {
1314
+ if (w < 65537 && (_.subarray && i || !_.subarray && o)) return String.fromCharCode.apply(null, a.shrinkBuf(_, w));
1315
+ for (var d = "", k = 0; k < w; k++) d += String.fromCharCode(_[k]);
1322
1316
  return d;
1323
1317
  }
1324
1318
  h[254] = h[254] = 1, n.string2buf = function(_) {
1325
- var k, d, v, u, m, f = _.length, b = 0;
1326
- for (u = 0; u < f; u++) (64512 & (d = _.charCodeAt(u))) == 55296 && u + 1 < f && (64512 & (v = _.charCodeAt(u + 1))) == 56320 && (d = 65536 + (d - 55296 << 10) + (v - 56320), u++), b += d < 128 ? 1 : d < 2048 ? 2 : d < 65536 ? 3 : 4;
1327
- for (k = new a.Buf8(b), u = m = 0; m < b; u++) (64512 & (d = _.charCodeAt(u))) == 55296 && u + 1 < f && (64512 & (v = _.charCodeAt(u + 1))) == 56320 && (d = 65536 + (d - 55296 << 10) + (v - 56320), u++), d < 128 ? k[m++] = d : (d < 2048 ? k[m++] = 192 | d >>> 6 : (d < 65536 ? k[m++] = 224 | d >>> 12 : (k[m++] = 240 | d >>> 18, k[m++] = 128 | d >>> 12 & 63), k[m++] = 128 | d >>> 6 & 63), k[m++] = 128 | 63 & d);
1328
- return k;
1319
+ var w, d, k, u, m, f = _.length, v = 0;
1320
+ for (u = 0; u < f; u++) (64512 & (d = _.charCodeAt(u))) == 55296 && u + 1 < f && (64512 & (k = _.charCodeAt(u + 1))) == 56320 && (d = 65536 + (d - 55296 << 10) + (k - 56320), u++), v += d < 128 ? 1 : d < 2048 ? 2 : d < 65536 ? 3 : 4;
1321
+ for (w = new a.Buf8(v), u = m = 0; m < v; u++) (64512 & (d = _.charCodeAt(u))) == 55296 && u + 1 < f && (64512 & (k = _.charCodeAt(u + 1))) == 56320 && (d = 65536 + (d - 55296 << 10) + (k - 56320), u++), d < 128 ? w[m++] = d : (d < 2048 ? w[m++] = 192 | d >>> 6 : (d < 65536 ? w[m++] = 224 | d >>> 12 : (w[m++] = 240 | d >>> 18, w[m++] = 128 | d >>> 12 & 63), w[m++] = 128 | d >>> 6 & 63), w[m++] = 128 | 63 & d);
1322
+ return w;
1329
1323
  }, n.buf2binstring = function(_) {
1330
- return w(_, _.length);
1324
+ return y(_, _.length);
1331
1325
  }, n.binstring2buf = function(_) {
1332
- for (var k = new a.Buf8(_.length), d = 0, v = k.length; d < v; d++) k[d] = _.charCodeAt(d);
1333
- return k;
1334
- }, n.buf2string = function(_, k) {
1335
- var d, v, u, m, f = k || _.length, b = new Array(2 * f);
1336
- for (d = v = 0; d < f; ) if ((u = _[d++]) < 128) b[v++] = u;
1337
- else if (4 < (m = h[u])) b[v++] = 65533, d += m - 1;
1326
+ for (var w = new a.Buf8(_.length), d = 0, k = w.length; d < k; d++) w[d] = _.charCodeAt(d);
1327
+ return w;
1328
+ }, n.buf2string = function(_, w) {
1329
+ var d, k, u, m, f = w || _.length, v = new Array(2 * f);
1330
+ for (d = k = 0; d < f; ) if ((u = _[d++]) < 128) v[k++] = u;
1331
+ else if (4 < (m = h[u])) v[k++] = 65533, d += m - 1;
1338
1332
  else {
1339
1333
  for (u &= m === 2 ? 31 : m === 3 ? 15 : 7; 1 < m && d < f; ) u = u << 6 | 63 & _[d++], m--;
1340
- 1 < m ? b[v++] = 65533 : u < 65536 ? b[v++] = u : (u -= 65536, b[v++] = 55296 | u >> 10 & 1023, b[v++] = 56320 | 1023 & u);
1334
+ 1 < m ? v[k++] = 65533 : u < 65536 ? v[k++] = u : (u -= 65536, v[k++] = 55296 | u >> 10 & 1023, v[k++] = 56320 | 1023 & u);
1341
1335
  }
1342
- return w(b, v);
1343
- }, n.utf8border = function(_, k) {
1336
+ return y(v, k);
1337
+ }, n.utf8border = function(_, w) {
1344
1338
  var d;
1345
- for ((k = k || _.length) > _.length && (k = _.length), d = k - 1; 0 <= d && (192 & _[d]) == 128; ) d--;
1346
- return d < 0 || d === 0 ? k : d + h[_[d]] > k ? d : k;
1339
+ for ((w = w || _.length) > _.length && (w = _.length), d = w - 1; 0 <= d && (192 & _[d]) == 128; ) d--;
1340
+ return d < 0 || d === 0 ? w : d + h[_[d]] > w ? d : w;
1347
1341
  };
1348
1342
  }, { "./common": 41 }], 43: [function(t, r, n) {
1349
1343
  r.exports = function(a, o, i, h) {
1350
- for (var y = 65535 & a | 0, w = a >>> 16 & 65535 | 0, _ = 0; i !== 0; ) {
1351
- for (i -= _ = 2e3 < i ? 2e3 : i; w = w + (y = y + o[h++] | 0) | 0, --_; ) ;
1352
- y %= 65521, w %= 65521;
1344
+ for (var b = 65535 & a | 0, y = a >>> 16 & 65535 | 0, _ = 0; i !== 0; ) {
1345
+ for (i -= _ = 2e3 < i ? 2e3 : i; y = y + (b = b + o[h++] | 0) | 0, --_; ) ;
1346
+ b %= 65521, y %= 65521;
1353
1347
  }
1354
- return y | w << 16 | 0;
1348
+ return b | y << 16 | 0;
1355
1349
  };
1356
1350
  }, {}], 44: [function(t, r, n) {
1357
1351
  r.exports = { Z_NO_FLUSH: 0, Z_PARTIAL_FLUSH: 1, Z_SYNC_FLUSH: 2, Z_FULL_FLUSH: 3, Z_FINISH: 4, Z_BLOCK: 5, Z_TREES: 6, Z_OK: 0, Z_STREAM_END: 1, Z_NEED_DICT: 2, Z_ERRNO: -1, Z_STREAM_ERROR: -2, Z_DATA_ERROR: -3, Z_BUF_ERROR: -5, Z_NO_COMPRESSION: 0, Z_BEST_SPEED: 1, Z_BEST_COMPRESSION: 9, Z_DEFAULT_COMPRESSION: -1, Z_FILTERED: 1, Z_HUFFMAN_ONLY: 2, Z_RLE: 3, Z_FIXED: 4, Z_DEFAULT_STRATEGY: 0, Z_BINARY: 0, Z_TEXT: 1, Z_UNKNOWN: 2, Z_DEFLATED: 8 };
@@ -1359,21 +1353,21 @@ function we() {
1359
1353
  var a = (function() {
1360
1354
  for (var o, i = [], h = 0; h < 256; h++) {
1361
1355
  o = h;
1362
- for (var y = 0; y < 8; y++) o = 1 & o ? 3988292384 ^ o >>> 1 : o >>> 1;
1356
+ for (var b = 0; b < 8; b++) o = 1 & o ? 3988292384 ^ o >>> 1 : o >>> 1;
1363
1357
  i[h] = o;
1364
1358
  }
1365
1359
  return i;
1366
1360
  })();
1367
- r.exports = function(o, i, h, y) {
1368
- var w = a, _ = y + h;
1361
+ r.exports = function(o, i, h, b) {
1362
+ var y = a, _ = b + h;
1369
1363
  o ^= -1;
1370
- for (var k = y; k < _; k++) o = o >>> 8 ^ w[255 & (o ^ i[k])];
1364
+ for (var w = b; w < _; w++) o = o >>> 8 ^ y[255 & (o ^ i[w])];
1371
1365
  return -1 ^ o;
1372
1366
  };
1373
1367
  }, {}], 46: [function(t, r, n) {
1374
- var a, o = t("../utils/common"), i = t("./trees"), h = t("./adler32"), y = t("./crc32"), w = t("./messages"), _ = 0, k = 4, d = 0, v = -2, u = -1, m = 4, f = 2, b = 8, x = 9, A = 286, P = 30, D = 19, F = 2 * A + 1, W = 15, T = 3, V = 258, Q = V + T + 1, S = 42, I = 113, l = 1, L = 2, et = 3, $ = 4;
1368
+ var a, o = t("../utils/common"), i = t("./trees"), h = t("./adler32"), b = t("./crc32"), y = t("./messages"), _ = 0, w = 4, d = 0, k = -2, u = -1, m = 4, f = 2, v = 8, x = 9, A = 286, P = 30, D = 19, F = 2 * A + 1, W = 15, T = 3, V = 258, Q = V + T + 1, S = 42, I = 113, l = 1, L = 2, et = 3, $ = 4;
1375
1369
  function rt(s, O) {
1376
- return s.msg = w[O], O;
1370
+ return s.msg = y[O], O;
1377
1371
  }
1378
1372
  function H(s) {
1379
1373
  return (s << 1) - (4 < s ? 9 : 0);
@@ -1391,11 +1385,11 @@ function we() {
1391
1385
  function J(s, O) {
1392
1386
  s.pending_buf[s.pending++] = O;
1393
1387
  }
1394
- function q(s, O) {
1388
+ function K(s, O) {
1395
1389
  s.pending_buf[s.pending++] = O >>> 8 & 255, s.pending_buf[s.pending++] = 255 & O;
1396
1390
  }
1397
1391
  function X(s, O) {
1398
- var R, g, p = s.max_chain_length, E = s.strstart, j = s.prev_length, U = s.nice_match, N = s.strstart > s.w_size - Q ? s.strstart - (s.w_size - Q) : 0, Z = s.window, K = s.w_mask, G = s.prev, Y = s.strstart + V, lt = Z[E + j - 1], st = Z[E + j];
1392
+ var R, g, p = s.max_chain_length, E = s.strstart, j = s.prev_length, U = s.nice_match, N = s.strstart > s.w_size - Q ? s.strstart - (s.w_size - Q) : 0, Z = s.window, q = s.w_mask, G = s.prev, Y = s.strstart + V, lt = Z[E + j - 1], st = Z[E + j];
1399
1393
  s.prev_length >= s.good_match && (p >>= 2), U > s.lookahead && (U = s.lookahead);
1400
1394
  do
1401
1395
  if (Z[(R = O) + j] === st && Z[R + j - 1] === lt && Z[R] === Z[E] && Z[++R] === Z[E + 1]) {
@@ -1408,11 +1402,11 @@ function we() {
1408
1402
  lt = Z[E + j - 1], st = Z[E + j];
1409
1403
  }
1410
1404
  }
1411
- while ((O = G[O & K]) > N && --p != 0);
1405
+ while ((O = G[O & q]) > N && --p != 0);
1412
1406
  return j <= s.lookahead ? j : s.lookahead;
1413
1407
  }
1414
1408
  function ct(s) {
1415
- var O, R, g, p, E, j, U, N, Z, K, G = s.w_size;
1409
+ var O, R, g, p, E, j, U, N, Z, q, G = s.w_size;
1416
1410
  do {
1417
1411
  if (p = s.window_size - s.lookahead - s.strstart, s.strstart >= G + (G - Q)) {
1418
1412
  for (o.arraySet(s.window, s.window, G, G, 0), s.match_start -= G, s.strstart -= G, s.block_start -= G, O = R = s.hash_size; g = s.head[--O], s.head[O] = G <= g ? g - G : 0, --R; ) ;
@@ -1420,7 +1414,7 @@ function we() {
1420
1414
  p += G;
1421
1415
  }
1422
1416
  if (s.strm.avail_in === 0) break;
1423
- if (j = s.strm, U = s.window, N = s.strstart + s.lookahead, Z = p, K = void 0, K = j.avail_in, Z < K && (K = Z), R = K === 0 ? 0 : (j.avail_in -= K, o.arraySet(U, j.input, j.next_in, K, N), j.state.wrap === 1 ? j.adler = h(j.adler, U, K, N) : j.state.wrap === 2 && (j.adler = y(j.adler, U, K, N)), j.next_in += K, j.total_in += K, K), s.lookahead += R, s.lookahead + s.insert >= T) for (E = s.strstart - s.insert, s.ins_h = s.window[E], s.ins_h = (s.ins_h << s.hash_shift ^ s.window[E + 1]) & s.hash_mask; s.insert && (s.ins_h = (s.ins_h << s.hash_shift ^ s.window[E + T - 1]) & s.hash_mask, s.prev[E & s.w_mask] = s.head[s.ins_h], s.head[s.ins_h] = E, E++, s.insert--, !(s.lookahead + s.insert < T)); ) ;
1417
+ if (j = s.strm, U = s.window, N = s.strstart + s.lookahead, Z = p, q = void 0, q = j.avail_in, Z < q && (q = Z), R = q === 0 ? 0 : (j.avail_in -= q, o.arraySet(U, j.input, j.next_in, q, N), j.state.wrap === 1 ? j.adler = h(j.adler, U, q, N) : j.state.wrap === 2 && (j.adler = b(j.adler, U, q, N)), j.next_in += q, j.total_in += q, q), s.lookahead += R, s.lookahead + s.insert >= T) for (E = s.strstart - s.insert, s.ins_h = s.window[E], s.ins_h = (s.ins_h << s.hash_shift ^ s.window[E + 1]) & s.hash_mask; s.insert && (s.ins_h = (s.ins_h << s.hash_shift ^ s.window[E + T - 1]) & s.hash_mask, s.prev[E & s.w_mask] = s.head[s.ins_h], s.head[s.ins_h] = E, E++, s.insert--, !(s.lookahead + s.insert < T)); ) ;
1424
1418
  } while (s.lookahead < Q && s.strm.avail_in !== 0);
1425
1419
  }
1426
1420
  function mt(s, O) {
@@ -1436,7 +1430,7 @@ function we() {
1436
1430
  else g = i._tr_tally(s, 0, s.window[s.strstart]), s.lookahead--, s.strstart++;
1437
1431
  if (g && (z(s, !1), s.strm.avail_out === 0)) return l;
1438
1432
  }
1439
- return s.insert = s.strstart < T - 1 ? s.strstart : T - 1, O === k ? (z(s, !0), s.strm.avail_out === 0 ? et : $) : s.last_lit && (z(s, !1), s.strm.avail_out === 0) ? l : L;
1433
+ return s.insert = s.strstart < T - 1 ? s.strstart : T - 1, O === w ? (z(s, !0), s.strm.avail_out === 0 ? et : $) : s.last_lit && (z(s, !1), s.strm.avail_out === 0) ? l : L;
1440
1434
  }
1441
1435
  function at(s, O) {
1442
1436
  for (var R, g, p; ; ) {
@@ -1451,17 +1445,17 @@ function we() {
1451
1445
  if ((g = i._tr_tally(s, 0, s.window[s.strstart - 1])) && z(s, !1), s.strstart++, s.lookahead--, s.strm.avail_out === 0) return l;
1452
1446
  } else s.match_available = 1, s.strstart++, s.lookahead--;
1453
1447
  }
1454
- return s.match_available && (g = i._tr_tally(s, 0, s.window[s.strstart - 1]), s.match_available = 0), s.insert = s.strstart < T - 1 ? s.strstart : T - 1, O === k ? (z(s, !0), s.strm.avail_out === 0 ? et : $) : s.last_lit && (z(s, !1), s.strm.avail_out === 0) ? l : L;
1448
+ return s.match_available && (g = i._tr_tally(s, 0, s.window[s.strstart - 1]), s.match_available = 0), s.insert = s.strstart < T - 1 ? s.strstart : T - 1, O === w ? (z(s, !0), s.strm.avail_out === 0 ? et : $) : s.last_lit && (z(s, !1), s.strm.avail_out === 0) ? l : L;
1455
1449
  }
1456
1450
  function it(s, O, R, g, p) {
1457
1451
  this.good_length = s, this.max_lazy = O, this.nice_length = R, this.max_chain = g, this.func = p;
1458
1452
  }
1459
1453
  function pt() {
1460
- 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 = b, 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 o.Buf16(2 * F), this.dyn_dtree = new o.Buf16(2 * (2 * P + 1)), this.bl_tree = new o.Buf16(2 * (2 * D + 1)), tt(this.dyn_ltree), tt(this.dyn_dtree), tt(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new o.Buf16(W + 1), this.heap = new o.Buf16(2 * A + 1), tt(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new o.Buf16(2 * A + 1), tt(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;
1454
+ 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 = v, 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 o.Buf16(2 * F), this.dyn_dtree = new o.Buf16(2 * (2 * P + 1)), this.bl_tree = new o.Buf16(2 * (2 * D + 1)), tt(this.dyn_ltree), tt(this.dyn_dtree), tt(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new o.Buf16(W + 1), this.heap = new o.Buf16(2 * A + 1), tt(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new o.Buf16(2 * A + 1), tt(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;
1461
1455
  }
1462
1456
  function ht(s) {
1463
1457
  var O;
1464
- return s && s.state ? (s.total_in = s.total_out = 0, s.data_type = f, (O = s.state).pending = 0, O.pending_out = 0, O.wrap < 0 && (O.wrap = -O.wrap), O.status = O.wrap ? S : I, s.adler = O.wrap === 2 ? 0 : 1, O.last_flush = _, i._tr_init(O), d) : rt(s, v);
1458
+ return s && s.state ? (s.total_in = s.total_out = 0, s.data_type = f, (O = s.state).pending = 0, O.pending_out = 0, O.wrap < 0 && (O.wrap = -O.wrap), O.status = O.wrap ? S : I, s.adler = O.wrap === 2 ? 0 : 1, O.last_flush = _, i._tr_init(O), d) : rt(s, k);
1465
1459
  }
1466
1460
  function kt(s) {
1467
1461
  var O = ht(s);
@@ -1470,9 +1464,9 @@ function we() {
1470
1464
  })(s.state), O;
1471
1465
  }
1472
1466
  function vt(s, O, R, g, p, E) {
1473
- if (!s) return v;
1467
+ if (!s) return k;
1474
1468
  var j = 1;
1475
- if (O === u && (O = 6), g < 0 ? (j = 0, g = -g) : 15 < g && (j = 2, g -= 16), p < 1 || x < p || R !== b || g < 8 || 15 < g || O < 0 || 9 < O || E < 0 || m < E) return rt(s, v);
1469
+ if (O === u && (O = 6), g < 0 ? (j = 0, g = -g) : 15 < g && (j = 2, g -= 16), p < 1 || x < p || R !== v || g < 8 || 15 < g || O < 0 || 9 < O || E < 0 || m < E) return rt(s, k);
1476
1470
  g === 8 && (g = 9);
1477
1471
  var U = new pt();
1478
1472
  return (s.state = U).strm = s, U.wrap = j, U.gzhead = null, U.w_bits = g, U.w_size = 1 << U.w_bits, U.w_mask = U.w_size - 1, U.hash_bits = p + 7, U.hash_size = 1 << U.hash_bits, U.hash_mask = U.hash_size - 1, U.hash_shift = ~~((U.hash_bits + T - 1) / T), U.window = new o.Buf8(2 * U.w_size), U.head = new o.Buf16(U.hash_size), U.prev = new o.Buf16(U.w_size), U.lit_bufsize = 1 << p + 6, U.pending_buf_size = 4 * U.lit_bufsize, U.pending_buf = new o.Buf8(U.pending_buf_size), U.d_buf = 1 * U.lit_bufsize, U.l_buf = 3 * U.lit_bufsize, U.level = O, U.strategy = E, U.method = R, kt(s);
@@ -1488,62 +1482,62 @@ function we() {
1488
1482
  var g = s.block_start + R;
1489
1483
  if ((s.strstart === 0 || s.strstart >= g) && (s.lookahead = s.strstart - g, s.strstart = g, z(s, !1), s.strm.avail_out === 0) || s.strstart - s.block_start >= s.w_size - Q && (z(s, !1), s.strm.avail_out === 0)) return l;
1490
1484
  }
1491
- return s.insert = 0, O === k ? (z(s, !0), s.strm.avail_out === 0 ? et : $) : (s.strstart > s.block_start && (z(s, !1), s.strm.avail_out), l);
1485
+ return s.insert = 0, O === w ? (z(s, !0), s.strm.avail_out === 0 ? et : $) : (s.strstart > s.block_start && (z(s, !1), s.strm.avail_out), l);
1492
1486
  }), new it(4, 4, 8, 4, mt), new it(4, 5, 16, 8, mt), new it(4, 6, 32, 32, mt), new it(4, 4, 16, 16, at), new it(8, 16, 32, 32, at), new it(8, 16, 128, 128, at), new it(8, 32, 128, 256, at), new it(32, 128, 258, 1024, at), new it(32, 258, 258, 4096, at)], n.deflateInit = function(s, O) {
1493
- return vt(s, O, b, 15, 8, 0);
1487
+ return vt(s, O, v, 15, 8, 0);
1494
1488
  }, n.deflateInit2 = vt, n.deflateReset = kt, n.deflateResetKeep = ht, n.deflateSetHeader = function(s, O) {
1495
- return s && s.state ? s.state.wrap !== 2 ? v : (s.state.gzhead = O, d) : v;
1489
+ return s && s.state ? s.state.wrap !== 2 ? k : (s.state.gzhead = O, d) : k;
1496
1490
  }, n.deflate = function(s, O) {
1497
1491
  var R, g, p, E;
1498
- if (!s || !s.state || 5 < O || O < 0) return s ? rt(s, v) : v;
1499
- if (g = s.state, !s.output || !s.input && s.avail_in !== 0 || g.status === 666 && O !== k) return rt(s, s.avail_out === 0 ? -5 : v);
1500
- if (g.strm = s, R = g.last_flush, g.last_flush = O, g.status === S) if (g.wrap === 2) s.adler = 0, J(g, 31), J(g, 139), J(g, 8), g.gzhead ? (J(g, (g.gzhead.text ? 1 : 0) + (g.gzhead.hcrc ? 2 : 0) + (g.gzhead.extra ? 4 : 0) + (g.gzhead.name ? 8 : 0) + (g.gzhead.comment ? 16 : 0)), J(g, 255 & g.gzhead.time), J(g, g.gzhead.time >> 8 & 255), J(g, g.gzhead.time >> 16 & 255), J(g, g.gzhead.time >> 24 & 255), J(g, g.level === 9 ? 2 : 2 <= g.strategy || g.level < 2 ? 4 : 0), J(g, 255 & g.gzhead.os), g.gzhead.extra && g.gzhead.extra.length && (J(g, 255 & g.gzhead.extra.length), J(g, g.gzhead.extra.length >> 8 & 255)), g.gzhead.hcrc && (s.adler = y(s.adler, g.pending_buf, g.pending, 0)), g.gzindex = 0, g.status = 69) : (J(g, 0), J(g, 0), J(g, 0), J(g, 0), J(g, 0), J(g, g.level === 9 ? 2 : 2 <= g.strategy || g.level < 2 ? 4 : 0), J(g, 3), g.status = I);
1492
+ if (!s || !s.state || 5 < O || O < 0) return s ? rt(s, k) : k;
1493
+ if (g = s.state, !s.output || !s.input && s.avail_in !== 0 || g.status === 666 && O !== w) return rt(s, s.avail_out === 0 ? -5 : k);
1494
+ if (g.strm = s, R = g.last_flush, g.last_flush = O, g.status === S) if (g.wrap === 2) s.adler = 0, J(g, 31), J(g, 139), J(g, 8), g.gzhead ? (J(g, (g.gzhead.text ? 1 : 0) + (g.gzhead.hcrc ? 2 : 0) + (g.gzhead.extra ? 4 : 0) + (g.gzhead.name ? 8 : 0) + (g.gzhead.comment ? 16 : 0)), J(g, 255 & g.gzhead.time), J(g, g.gzhead.time >> 8 & 255), J(g, g.gzhead.time >> 16 & 255), J(g, g.gzhead.time >> 24 & 255), J(g, g.level === 9 ? 2 : 2 <= g.strategy || g.level < 2 ? 4 : 0), J(g, 255 & g.gzhead.os), g.gzhead.extra && g.gzhead.extra.length && (J(g, 255 & g.gzhead.extra.length), J(g, g.gzhead.extra.length >> 8 & 255)), g.gzhead.hcrc && (s.adler = b(s.adler, g.pending_buf, g.pending, 0)), g.gzindex = 0, g.status = 69) : (J(g, 0), J(g, 0), J(g, 0), J(g, 0), J(g, 0), J(g, g.level === 9 ? 2 : 2 <= g.strategy || g.level < 2 ? 4 : 0), J(g, 3), g.status = I);
1501
1495
  else {
1502
- var j = b + (g.w_bits - 8 << 4) << 8;
1503
- j |= (2 <= g.strategy || g.level < 2 ? 0 : g.level < 6 ? 1 : g.level === 6 ? 2 : 3) << 6, g.strstart !== 0 && (j |= 32), j += 31 - j % 31, g.status = I, q(g, j), g.strstart !== 0 && (q(g, s.adler >>> 16), q(g, 65535 & s.adler)), s.adler = 1;
1496
+ var j = v + (g.w_bits - 8 << 4) << 8;
1497
+ j |= (2 <= g.strategy || g.level < 2 ? 0 : g.level < 6 ? 1 : g.level === 6 ? 2 : 3) << 6, g.strstart !== 0 && (j |= 32), j += 31 - j % 31, g.status = I, K(g, j), g.strstart !== 0 && (K(g, s.adler >>> 16), K(g, 65535 & s.adler)), s.adler = 1;
1504
1498
  }
1505
1499
  if (g.status === 69) if (g.gzhead.extra) {
1506
- for (p = g.pending; g.gzindex < (65535 & g.gzhead.extra.length) && (g.pending !== g.pending_buf_size || (g.gzhead.hcrc && g.pending > p && (s.adler = y(s.adler, g.pending_buf, g.pending - p, p)), M(s), p = g.pending, g.pending !== g.pending_buf_size)); ) J(g, 255 & g.gzhead.extra[g.gzindex]), g.gzindex++;
1507
- g.gzhead.hcrc && g.pending > p && (s.adler = y(s.adler, g.pending_buf, g.pending - p, p)), g.gzindex === g.gzhead.extra.length && (g.gzindex = 0, g.status = 73);
1500
+ for (p = g.pending; g.gzindex < (65535 & g.gzhead.extra.length) && (g.pending !== g.pending_buf_size || (g.gzhead.hcrc && g.pending > p && (s.adler = b(s.adler, g.pending_buf, g.pending - p, p)), M(s), p = g.pending, g.pending !== g.pending_buf_size)); ) J(g, 255 & g.gzhead.extra[g.gzindex]), g.gzindex++;
1501
+ g.gzhead.hcrc && g.pending > p && (s.adler = b(s.adler, g.pending_buf, g.pending - p, p)), g.gzindex === g.gzhead.extra.length && (g.gzindex = 0, g.status = 73);
1508
1502
  } else g.status = 73;
1509
1503
  if (g.status === 73) if (g.gzhead.name) {
1510
1504
  p = g.pending;
1511
1505
  do {
1512
- if (g.pending === g.pending_buf_size && (g.gzhead.hcrc && g.pending > p && (s.adler = y(s.adler, g.pending_buf, g.pending - p, p)), M(s), p = g.pending, g.pending === g.pending_buf_size)) {
1506
+ if (g.pending === g.pending_buf_size && (g.gzhead.hcrc && g.pending > p && (s.adler = b(s.adler, g.pending_buf, g.pending - p, p)), M(s), p = g.pending, g.pending === g.pending_buf_size)) {
1513
1507
  E = 1;
1514
1508
  break;
1515
1509
  }
1516
1510
  E = g.gzindex < g.gzhead.name.length ? 255 & g.gzhead.name.charCodeAt(g.gzindex++) : 0, J(g, E);
1517
1511
  } while (E !== 0);
1518
- g.gzhead.hcrc && g.pending > p && (s.adler = y(s.adler, g.pending_buf, g.pending - p, p)), E === 0 && (g.gzindex = 0, g.status = 91);
1512
+ g.gzhead.hcrc && g.pending > p && (s.adler = b(s.adler, g.pending_buf, g.pending - p, p)), E === 0 && (g.gzindex = 0, g.status = 91);
1519
1513
  } else g.status = 91;
1520
1514
  if (g.status === 91) if (g.gzhead.comment) {
1521
1515
  p = g.pending;
1522
1516
  do {
1523
- if (g.pending === g.pending_buf_size && (g.gzhead.hcrc && g.pending > p && (s.adler = y(s.adler, g.pending_buf, g.pending - p, p)), M(s), p = g.pending, g.pending === g.pending_buf_size)) {
1517
+ if (g.pending === g.pending_buf_size && (g.gzhead.hcrc && g.pending > p && (s.adler = b(s.adler, g.pending_buf, g.pending - p, p)), M(s), p = g.pending, g.pending === g.pending_buf_size)) {
1524
1518
  E = 1;
1525
1519
  break;
1526
1520
  }
1527
1521
  E = g.gzindex < g.gzhead.comment.length ? 255 & g.gzhead.comment.charCodeAt(g.gzindex++) : 0, J(g, E);
1528
1522
  } while (E !== 0);
1529
- g.gzhead.hcrc && g.pending > p && (s.adler = y(s.adler, g.pending_buf, g.pending - p, p)), E === 0 && (g.status = 103);
1523
+ g.gzhead.hcrc && g.pending > p && (s.adler = b(s.adler, g.pending_buf, g.pending - p, p)), E === 0 && (g.status = 103);
1530
1524
  } else g.status = 103;
1531
1525
  if (g.status === 103 && (g.gzhead.hcrc ? (g.pending + 2 > g.pending_buf_size && M(s), g.pending + 2 <= g.pending_buf_size && (J(g, 255 & s.adler), J(g, s.adler >> 8 & 255), s.adler = 0, g.status = I)) : g.status = I), g.pending !== 0) {
1532
1526
  if (M(s), s.avail_out === 0) return g.last_flush = -1, d;
1533
- } else if (s.avail_in === 0 && H(O) <= H(R) && O !== k) return rt(s, -5);
1527
+ } else if (s.avail_in === 0 && H(O) <= H(R) && O !== w) return rt(s, -5);
1534
1528
  if (g.status === 666 && s.avail_in !== 0) return rt(s, -5);
1535
1529
  if (s.avail_in !== 0 || g.lookahead !== 0 || O !== _ && g.status !== 666) {
1536
1530
  var U = g.strategy === 2 ? (function(N, Z) {
1537
- for (var K; ; ) {
1531
+ for (var q; ; ) {
1538
1532
  if (N.lookahead === 0 && (ct(N), N.lookahead === 0)) {
1539
1533
  if (Z === _) return l;
1540
1534
  break;
1541
1535
  }
1542
- if (N.match_length = 0, K = i._tr_tally(N, 0, N.window[N.strstart]), N.lookahead--, N.strstart++, K && (z(N, !1), N.strm.avail_out === 0)) return l;
1536
+ if (N.match_length = 0, q = i._tr_tally(N, 0, N.window[N.strstart]), N.lookahead--, N.strstart++, q && (z(N, !1), N.strm.avail_out === 0)) return l;
1543
1537
  }
1544
- return N.insert = 0, Z === k ? (z(N, !0), N.strm.avail_out === 0 ? et : $) : N.last_lit && (z(N, !1), N.strm.avail_out === 0) ? l : L;
1538
+ return N.insert = 0, Z === w ? (z(N, !0), N.strm.avail_out === 0 ? et : $) : N.last_lit && (z(N, !1), N.strm.avail_out === 0) ? l : L;
1545
1539
  })(g, O) : g.strategy === 3 ? (function(N, Z) {
1546
- for (var K, G, Y, lt, st = N.window; ; ) {
1540
+ for (var q, G, Y, lt, st = N.window; ; ) {
1547
1541
  if (N.lookahead <= V) {
1548
1542
  if (ct(N), N.lookahead <= V && Z === _) return l;
1549
1543
  if (N.lookahead === 0) break;
@@ -1555,21 +1549,21 @@ function we() {
1555
1549
  while (G === st[++Y] && G === st[++Y] && G === st[++Y] && G === st[++Y] && G === st[++Y] && G === st[++Y] && G === st[++Y] && G === st[++Y] && Y < lt);
1556
1550
  N.match_length = V - (lt - Y), N.match_length > N.lookahead && (N.match_length = N.lookahead);
1557
1551
  }
1558
- if (N.match_length >= T ? (K = i._tr_tally(N, 1, N.match_length - T), N.lookahead -= N.match_length, N.strstart += N.match_length, N.match_length = 0) : (K = i._tr_tally(N, 0, N.window[N.strstart]), N.lookahead--, N.strstart++), K && (z(N, !1), N.strm.avail_out === 0)) return l;
1552
+ if (N.match_length >= T ? (q = i._tr_tally(N, 1, N.match_length - T), N.lookahead -= N.match_length, N.strstart += N.match_length, N.match_length = 0) : (q = i._tr_tally(N, 0, N.window[N.strstart]), N.lookahead--, N.strstart++), q && (z(N, !1), N.strm.avail_out === 0)) return l;
1559
1553
  }
1560
- return N.insert = 0, Z === k ? (z(N, !0), N.strm.avail_out === 0 ? et : $) : N.last_lit && (z(N, !1), N.strm.avail_out === 0) ? l : L;
1554
+ return N.insert = 0, Z === w ? (z(N, !0), N.strm.avail_out === 0 ? et : $) : N.last_lit && (z(N, !1), N.strm.avail_out === 0) ? l : L;
1561
1555
  })(g, O) : a[g.level].func(g, O);
1562
1556
  if (U !== et && U !== $ || (g.status = 666), U === l || U === et) return s.avail_out === 0 && (g.last_flush = -1), d;
1563
1557
  if (U === L && (O === 1 ? i._tr_align(g) : O !== 5 && (i._tr_stored_block(g, 0, 0, !1), O === 3 && (tt(g.head), g.lookahead === 0 && (g.strstart = 0, g.block_start = 0, g.insert = 0))), M(s), s.avail_out === 0)) return g.last_flush = -1, d;
1564
1558
  }
1565
- return O !== k ? d : g.wrap <= 0 ? 1 : (g.wrap === 2 ? (J(g, 255 & s.adler), J(g, s.adler >> 8 & 255), J(g, s.adler >> 16 & 255), J(g, s.adler >> 24 & 255), J(g, 255 & s.total_in), J(g, s.total_in >> 8 & 255), J(g, s.total_in >> 16 & 255), J(g, s.total_in >> 24 & 255)) : (q(g, s.adler >>> 16), q(g, 65535 & s.adler)), M(s), 0 < g.wrap && (g.wrap = -g.wrap), g.pending !== 0 ? d : 1);
1559
+ return O !== w ? d : g.wrap <= 0 ? 1 : (g.wrap === 2 ? (J(g, 255 & s.adler), J(g, s.adler >> 8 & 255), J(g, s.adler >> 16 & 255), J(g, s.adler >> 24 & 255), J(g, 255 & s.total_in), J(g, s.total_in >> 8 & 255), J(g, s.total_in >> 16 & 255), J(g, s.total_in >> 24 & 255)) : (K(g, s.adler >>> 16), K(g, 65535 & s.adler)), M(s), 0 < g.wrap && (g.wrap = -g.wrap), g.pending !== 0 ? d : 1);
1566
1560
  }, n.deflateEnd = function(s) {
1567
1561
  var O;
1568
- return s && s.state ? (O = s.state.status) !== S && O !== 69 && O !== 73 && O !== 91 && O !== 103 && O !== I && O !== 666 ? rt(s, v) : (s.state = null, O === I ? rt(s, -3) : d) : v;
1562
+ return s && s.state ? (O = s.state.status) !== S && O !== 69 && O !== 73 && O !== 91 && O !== 103 && O !== I && O !== 666 ? rt(s, k) : (s.state = null, O === I ? rt(s, -3) : d) : k;
1569
1563
  }, n.deflateSetDictionary = function(s, O) {
1570
- var R, g, p, E, j, U, N, Z, K = O.length;
1571
- if (!s || !s.state || (E = (R = s.state).wrap) === 2 || E === 1 && R.status !== S || R.lookahead) return v;
1572
- for (E === 1 && (s.adler = h(s.adler, O, K, 0)), R.wrap = 0, K >= R.w_size && (E === 0 && (tt(R.head), R.strstart = 0, R.block_start = 0, R.insert = 0), Z = new o.Buf8(R.w_size), o.arraySet(Z, O, K - R.w_size, R.w_size, 0), O = Z, K = R.w_size), j = s.avail_in, U = s.next_in, N = s.input, s.avail_in = K, s.next_in = 0, s.input = O, ct(R); R.lookahead >= T; ) {
1564
+ var R, g, p, E, j, U, N, Z, q = O.length;
1565
+ if (!s || !s.state || (E = (R = s.state).wrap) === 2 || E === 1 && R.status !== S || R.lookahead) return k;
1566
+ for (E === 1 && (s.adler = h(s.adler, O, q, 0)), R.wrap = 0, q >= R.w_size && (E === 0 && (tt(R.head), R.strstart = 0, R.block_start = 0, R.insert = 0), Z = new o.Buf8(R.w_size), o.arraySet(Z, O, q - R.w_size, R.w_size, 0), O = Z, q = R.w_size), j = s.avail_in, U = s.next_in, N = s.input, s.avail_in = q, s.next_in = 0, s.input = O, ct(R); R.lookahead >= T; ) {
1573
1567
  for (g = R.strstart, p = R.lookahead - (T - 1); R.ins_h = (R.ins_h << R.hash_shift ^ R.window[g + T - 1]) & R.hash_mask, R.prev[g & R.w_mask] = R.head[R.ins_h], R.head[R.ins_h] = g, g++, --p; ) ;
1574
1568
  R.strstart = g, R.lookahead = T - 1, ct(R);
1575
1569
  }
@@ -1581,16 +1575,16 @@ function we() {
1581
1575
  };
1582
1576
  }, {}], 48: [function(t, r, n) {
1583
1577
  r.exports = function(a, o) {
1584
- var i, h, y, w, _, k, d, v, u, m, f, b, x, A, P, D, F, W, T, V, Q, S, I, l, L;
1585
- i = a.state, h = a.next_in, l = a.input, y = h + (a.avail_in - 5), w = a.next_out, L = a.output, _ = w - (o - a.avail_out), k = w + (a.avail_out - 257), d = i.dmax, v = i.wsize, u = i.whave, m = i.wnext, f = i.window, b = i.hold, x = i.bits, A = i.lencode, P = i.distcode, D = (1 << i.lenbits) - 1, F = (1 << i.distbits) - 1;
1578
+ var i, h, b, y, _, w, d, k, u, m, f, v, x, A, P, D, F, W, T, V, Q, S, I, l, L;
1579
+ i = a.state, h = a.next_in, l = a.input, b = h + (a.avail_in - 5), y = a.next_out, L = a.output, _ = y - (o - a.avail_out), w = y + (a.avail_out - 257), d = i.dmax, k = i.wsize, u = i.whave, m = i.wnext, f = i.window, v = i.hold, x = i.bits, A = i.lencode, P = i.distcode, D = (1 << i.lenbits) - 1, F = (1 << i.distbits) - 1;
1586
1580
  t: do {
1587
- x < 15 && (b += l[h++] << x, x += 8, b += l[h++] << x, x += 8), W = A[b & D];
1581
+ x < 15 && (v += l[h++] << x, x += 8, v += l[h++] << x, x += 8), W = A[v & D];
1588
1582
  e: for (; ; ) {
1589
- if (b >>>= T = W >>> 24, x -= T, (T = W >>> 16 & 255) === 0) L[w++] = 65535 & W;
1583
+ if (v >>>= T = W >>> 24, x -= T, (T = W >>> 16 & 255) === 0) L[y++] = 65535 & W;
1590
1584
  else {
1591
1585
  if (!(16 & T)) {
1592
1586
  if ((64 & T) == 0) {
1593
- W = A[(65535 & W) + (b & (1 << T) - 1)];
1587
+ W = A[(65535 & W) + (v & (1 << T) - 1)];
1594
1588
  continue e;
1595
1589
  }
1596
1590
  if (32 & T) {
@@ -1600,67 +1594,67 @@ function we() {
1600
1594
  a.msg = "invalid literal/length code", i.mode = 30;
1601
1595
  break t;
1602
1596
  }
1603
- V = 65535 & W, (T &= 15) && (x < T && (b += l[h++] << x, x += 8), V += b & (1 << T) - 1, b >>>= T, x -= T), x < 15 && (b += l[h++] << x, x += 8, b += l[h++] << x, x += 8), W = P[b & F];
1597
+ V = 65535 & W, (T &= 15) && (x < T && (v += l[h++] << x, x += 8), V += v & (1 << T) - 1, v >>>= T, x -= T), x < 15 && (v += l[h++] << x, x += 8, v += l[h++] << x, x += 8), W = P[v & F];
1604
1598
  r: for (; ; ) {
1605
- if (b >>>= T = W >>> 24, x -= T, !(16 & (T = W >>> 16 & 255))) {
1599
+ if (v >>>= T = W >>> 24, x -= T, !(16 & (T = W >>> 16 & 255))) {
1606
1600
  if ((64 & T) == 0) {
1607
- W = P[(65535 & W) + (b & (1 << T) - 1)];
1601
+ W = P[(65535 & W) + (v & (1 << T) - 1)];
1608
1602
  continue r;
1609
1603
  }
1610
1604
  a.msg = "invalid distance code", i.mode = 30;
1611
1605
  break t;
1612
1606
  }
1613
- if (Q = 65535 & W, x < (T &= 15) && (b += l[h++] << x, (x += 8) < T && (b += l[h++] << x, x += 8)), d < (Q += b & (1 << T) - 1)) {
1607
+ if (Q = 65535 & W, x < (T &= 15) && (v += l[h++] << x, (x += 8) < T && (v += l[h++] << x, x += 8)), d < (Q += v & (1 << T) - 1)) {
1614
1608
  a.msg = "invalid distance too far back", i.mode = 30;
1615
1609
  break t;
1616
1610
  }
1617
- if (b >>>= T, x -= T, (T = w - _) < Q) {
1611
+ if (v >>>= T, x -= T, (T = y - _) < Q) {
1618
1612
  if (u < (T = Q - T) && i.sane) {
1619
1613
  a.msg = "invalid distance too far back", i.mode = 30;
1620
1614
  break t;
1621
1615
  }
1622
1616
  if (I = f, (S = 0) === m) {
1623
- if (S += v - T, T < V) {
1624
- for (V -= T; L[w++] = f[S++], --T; ) ;
1625
- S = w - Q, I = L;
1617
+ if (S += k - T, T < V) {
1618
+ for (V -= T; L[y++] = f[S++], --T; ) ;
1619
+ S = y - Q, I = L;
1626
1620
  }
1627
1621
  } else if (m < T) {
1628
- if (S += v + m - T, (T -= m) < V) {
1629
- for (V -= T; L[w++] = f[S++], --T; ) ;
1622
+ if (S += k + m - T, (T -= m) < V) {
1623
+ for (V -= T; L[y++] = f[S++], --T; ) ;
1630
1624
  if (S = 0, m < V) {
1631
- for (V -= T = m; L[w++] = f[S++], --T; ) ;
1632
- S = w - Q, I = L;
1625
+ for (V -= T = m; L[y++] = f[S++], --T; ) ;
1626
+ S = y - Q, I = L;
1633
1627
  }
1634
1628
  }
1635
1629
  } else if (S += m - T, T < V) {
1636
- for (V -= T; L[w++] = f[S++], --T; ) ;
1637
- S = w - Q, I = L;
1630
+ for (V -= T; L[y++] = f[S++], --T; ) ;
1631
+ S = y - Q, I = L;
1638
1632
  }
1639
- for (; 2 < V; ) L[w++] = I[S++], L[w++] = I[S++], L[w++] = I[S++], V -= 3;
1640
- V && (L[w++] = I[S++], 1 < V && (L[w++] = I[S++]));
1633
+ for (; 2 < V; ) L[y++] = I[S++], L[y++] = I[S++], L[y++] = I[S++], V -= 3;
1634
+ V && (L[y++] = I[S++], 1 < V && (L[y++] = I[S++]));
1641
1635
  } else {
1642
- for (S = w - Q; L[w++] = L[S++], L[w++] = L[S++], L[w++] = L[S++], 2 < (V -= 3); ) ;
1643
- V && (L[w++] = L[S++], 1 < V && (L[w++] = L[S++]));
1636
+ for (S = y - Q; L[y++] = L[S++], L[y++] = L[S++], L[y++] = L[S++], 2 < (V -= 3); ) ;
1637
+ V && (L[y++] = L[S++], 1 < V && (L[y++] = L[S++]));
1644
1638
  }
1645
1639
  break;
1646
1640
  }
1647
1641
  }
1648
1642
  break;
1649
1643
  }
1650
- } while (h < y && w < k);
1651
- h -= V = x >> 3, b &= (1 << (x -= V << 3)) - 1, a.next_in = h, a.next_out = w, a.avail_in = h < y ? y - h + 5 : 5 - (h - y), a.avail_out = w < k ? k - w + 257 : 257 - (w - k), i.hold = b, i.bits = x;
1644
+ } while (h < b && y < w);
1645
+ h -= V = x >> 3, v &= (1 << (x -= V << 3)) - 1, a.next_in = h, a.next_out = y, a.avail_in = h < b ? b - h + 5 : 5 - (h - b), a.avail_out = y < w ? w - y + 257 : 257 - (y - w), i.hold = v, i.bits = x;
1652
1646
  };
1653
1647
  }, {}], 49: [function(t, r, n) {
1654
- var a = t("../utils/common"), o = t("./adler32"), i = t("./crc32"), h = t("./inffast"), y = t("./inftrees"), w = 1, _ = 2, k = 0, d = -2, v = 1, u = 852, m = 592;
1648
+ var a = t("../utils/common"), o = t("./adler32"), i = t("./crc32"), h = t("./inffast"), b = t("./inftrees"), y = 1, _ = 2, w = 0, d = -2, k = 1, u = 852, m = 592;
1655
1649
  function f(S) {
1656
1650
  return (S >>> 24 & 255) + (S >>> 8 & 65280) + ((65280 & S) << 8) + ((255 & S) << 24);
1657
1651
  }
1658
- function b() {
1652
+ function v() {
1659
1653
  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 a.Buf16(320), this.work = new a.Buf16(288), this.lendyn = null, this.distdyn = null, this.sane = 0, this.back = 0, this.was = 0;
1660
1654
  }
1661
1655
  function x(S) {
1662
1656
  var I;
1663
- return S && S.state ? (I = S.state, S.total_in = S.total_out = I.total = 0, S.msg = "", I.wrap && (S.adler = 1 & I.wrap), I.mode = v, I.last = 0, I.havedict = 0, I.dmax = 32768, I.head = null, I.hold = 0, I.bits = 0, I.lencode = I.lendyn = new a.Buf32(u), I.distcode = I.distdyn = new a.Buf32(m), I.sane = 1, I.back = -1, k) : d;
1657
+ return S && S.state ? (I = S.state, S.total_in = S.total_out = I.total = 0, S.msg = "", I.wrap && (S.adler = 1 & I.wrap), I.mode = k, I.last = 0, I.havedict = 0, I.dmax = 32768, I.head = null, I.hold = 0, I.bits = 0, I.lencode = I.lendyn = new a.Buf32(u), I.distcode = I.distdyn = new a.Buf32(m), I.sane = 1, I.back = -1, w) : d;
1664
1658
  }
1665
1659
  function A(S) {
1666
1660
  var I;
@@ -1672,7 +1666,7 @@ function we() {
1672
1666
  }
1673
1667
  function D(S, I) {
1674
1668
  var l, L;
1675
- return S ? (L = new b(), (S.state = L).window = null, (l = P(S, I)) !== k && (S.state = null), l) : d;
1669
+ return S ? (L = new v(), (S.state = L).window = null, (l = P(S, I)) !== w && (S.state = null), l) : d;
1676
1670
  }
1677
1671
  var F, W, T = !0;
1678
1672
  function V(S) {
@@ -1682,8 +1676,8 @@ function we() {
1682
1676
  for (; I < 256; ) S.lens[I++] = 9;
1683
1677
  for (; I < 280; ) S.lens[I++] = 7;
1684
1678
  for (; I < 288; ) S.lens[I++] = 8;
1685
- for (y(w, S.lens, 0, 288, F, 0, S.work, { bits: 9 }), I = 0; I < 32; ) S.lens[I++] = 5;
1686
- y(_, S.lens, 0, 32, W, 0, S.work, { bits: 5 }), T = !1;
1679
+ for (b(y, S.lens, 0, 288, F, 0, S.work, { bits: 9 }), I = 0; I < 32; ) S.lens[I++] = 5;
1680
+ b(_, S.lens, 0, 32, W, 0, S.work, { bits: 5 }), T = !1;
1687
1681
  }
1688
1682
  S.lencode = F, S.lenbits = 9, S.distcode = W, S.distbits = 5;
1689
1683
  }
@@ -1694,11 +1688,11 @@ function we() {
1694
1688
  n.inflateReset = A, n.inflateReset2 = P, n.inflateResetKeep = x, n.inflateInit = function(S) {
1695
1689
  return D(S, 15);
1696
1690
  }, n.inflateInit2 = D, n.inflate = function(S, I) {
1697
- var l, L, et, $, rt, H, tt, M, z, J, q, X, ct, mt, at, it, pt, ht, kt, vt, s, O, R, g, p = 0, E = new a.Buf8(4), j = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
1691
+ var l, L, et, $, rt, H, tt, M, z, J, K, X, ct, mt, at, it, pt, ht, kt, vt, s, O, R, g, p = 0, E = new a.Buf8(4), j = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
1698
1692
  if (!S || !S.state || !S.output || !S.input && S.avail_in !== 0) return d;
1699
- (l = S.state).mode === 12 && (l.mode = 13), rt = S.next_out, et = S.output, tt = S.avail_out, $ = S.next_in, L = S.input, H = S.avail_in, M = l.hold, z = l.bits, J = H, q = tt, O = k;
1693
+ (l = S.state).mode === 12 && (l.mode = 13), rt = S.next_out, et = S.output, tt = S.avail_out, $ = S.next_in, L = S.input, H = S.avail_in, M = l.hold, z = l.bits, J = H, K = tt, O = w;
1700
1694
  t: for (; ; ) switch (l.mode) {
1701
- case v:
1695
+ case k:
1702
1696
  if (l.wrap === 0) {
1703
1697
  l.mode = 13;
1704
1698
  break;
@@ -1867,7 +1861,7 @@ function we() {
1867
1861
  l.lens[j[l.have++]] = 7 & M, M >>>= 3, z -= 3;
1868
1862
  }
1869
1863
  for (; l.have < 19; ) l.lens[j[l.have++]] = 0;
1870
- if (l.lencode = l.lendyn, l.lenbits = 7, R = { bits: l.lenbits }, O = y(0, l.lens, 0, 19, l.lencode, 0, l.work, R), l.lenbits = R.bits, O) {
1864
+ if (l.lencode = l.lendyn, l.lenbits = 7, R = { bits: l.lenbits }, O = b(0, l.lens, 0, 19, l.lencode, 0, l.work, R), l.lenbits = R.bits, O) {
1871
1865
  S.msg = "invalid code lengths set", l.mode = 30;
1872
1866
  break;
1873
1867
  }
@@ -1915,11 +1909,11 @@ function we() {
1915
1909
  S.msg = "invalid code -- missing end-of-block", l.mode = 30;
1916
1910
  break;
1917
1911
  }
1918
- if (l.lenbits = 9, R = { bits: l.lenbits }, O = y(w, l.lens, 0, l.nlen, l.lencode, 0, l.work, R), l.lenbits = R.bits, O) {
1912
+ if (l.lenbits = 9, R = { bits: l.lenbits }, O = b(y, l.lens, 0, l.nlen, l.lencode, 0, l.work, R), l.lenbits = R.bits, O) {
1919
1913
  S.msg = "invalid literal/lengths set", l.mode = 30;
1920
1914
  break;
1921
1915
  }
1922
- if (l.distbits = 6, l.distcode = l.distdyn, R = { bits: l.distbits }, O = y(_, l.lens, l.nlen, l.ndist, l.distcode, 0, l.work, R), l.distbits = R.bits, O) {
1916
+ if (l.distbits = 6, l.distcode = l.distdyn, R = { bits: l.distbits }, O = b(_, l.lens, l.nlen, l.ndist, l.distcode, 0, l.work, R), l.distbits = R.bits, O) {
1923
1917
  S.msg = "invalid distances set", l.mode = 30;
1924
1918
  break;
1925
1919
  }
@@ -1928,7 +1922,7 @@ function we() {
1928
1922
  l.mode = 21;
1929
1923
  case 21:
1930
1924
  if (6 <= H && 258 <= tt) {
1931
- S.next_out = rt, S.avail_out = tt, S.next_in = $, S.avail_in = H, l.hold = M, l.bits = z, h(S, q), rt = S.next_out, et = S.output, tt = S.avail_out, $ = S.next_in, L = S.input, H = S.avail_in, M = l.hold, z = l.bits, l.mode === 12 && (l.back = -1);
1925
+ S.next_out = rt, S.avail_out = tt, S.next_in = $, S.avail_in = H, l.hold = M, l.bits = z, h(S, K), rt = S.next_out, et = S.output, tt = S.avail_out, $ = S.next_in, L = S.input, H = S.avail_in, M = l.hold, z = l.bits, l.mode === 12 && (l.back = -1);
1932
1926
  break;
1933
1927
  }
1934
1928
  for (l.back = 0; it = (p = l.lencode[M & (1 << l.lenbits) - 1]) >>> 16 & 255, pt = 65535 & p, !((at = p >>> 24) <= z); ) {
@@ -1996,7 +1990,7 @@ function we() {
1996
1990
  l.mode = 25;
1997
1991
  case 25:
1998
1992
  if (tt === 0) break t;
1999
- if (X = q - tt, l.offset > X) {
1993
+ if (X = K - tt, l.offset > X) {
2000
1994
  if ((X = l.offset - X) > l.whave && l.sane) {
2001
1995
  S.msg = "invalid distance too far back", l.mode = 30;
2002
1996
  break;
@@ -2016,7 +2010,7 @@ function we() {
2016
2010
  if (H === 0) break t;
2017
2011
  H--, M |= L[$++] << z, z += 8;
2018
2012
  }
2019
- if (q -= tt, S.total_out += q, l.total += q, q && (S.adler = l.check = l.flags ? i(l.check, et, q, rt - q) : o(l.check, et, q, rt - q)), q = tt, (l.flags ? M : f(M)) !== l.check) {
2013
+ if (K -= tt, S.total_out += K, l.total += K, K && (S.adler = l.check = l.flags ? i(l.check, et, K, rt - K) : o(l.check, et, K, rt - K)), K = tt, (l.flags ? M : f(M)) !== l.check) {
2020
2014
  S.msg = "incorrect data check", l.mode = 30;
2021
2015
  break;
2022
2016
  }
@@ -2048,46 +2042,46 @@ function we() {
2048
2042
  default:
2049
2043
  return d;
2050
2044
  }
2051
- return S.next_out = rt, S.avail_out = tt, S.next_in = $, S.avail_in = H, l.hold = M, l.bits = z, (l.wsize || q !== S.avail_out && l.mode < 30 && (l.mode < 27 || I !== 4)) && Q(S, S.output, S.next_out, q - S.avail_out) ? (l.mode = 31, -4) : (J -= S.avail_in, q -= S.avail_out, S.total_in += J, S.total_out += q, l.total += q, l.wrap && q && (S.adler = l.check = l.flags ? i(l.check, et, q, S.next_out - q) : o(l.check, et, q, S.next_out - q)), S.data_type = l.bits + (l.last ? 64 : 0) + (l.mode === 12 ? 128 : 0) + (l.mode === 20 || l.mode === 15 ? 256 : 0), (J == 0 && q === 0 || I === 4) && O === k && (O = -5), O);
2045
+ return S.next_out = rt, S.avail_out = tt, S.next_in = $, S.avail_in = H, l.hold = M, l.bits = z, (l.wsize || K !== S.avail_out && l.mode < 30 && (l.mode < 27 || I !== 4)) && Q(S, S.output, S.next_out, K - S.avail_out) ? (l.mode = 31, -4) : (J -= S.avail_in, K -= S.avail_out, S.total_in += J, S.total_out += K, l.total += K, l.wrap && K && (S.adler = l.check = l.flags ? i(l.check, et, K, S.next_out - K) : o(l.check, et, K, S.next_out - K)), S.data_type = l.bits + (l.last ? 64 : 0) + (l.mode === 12 ? 128 : 0) + (l.mode === 20 || l.mode === 15 ? 256 : 0), (J == 0 && K === 0 || I === 4) && O === w && (O = -5), O);
2052
2046
  }, n.inflateEnd = function(S) {
2053
2047
  if (!S || !S.state) return d;
2054
2048
  var I = S.state;
2055
- return I.window && (I.window = null), S.state = null, k;
2049
+ return I.window && (I.window = null), S.state = null, w;
2056
2050
  }, n.inflateGetHeader = function(S, I) {
2057
2051
  var l;
2058
- return S && S.state ? (2 & (l = S.state).wrap) == 0 ? d : ((l.head = I).done = !1, k) : d;
2052
+ return S && S.state ? (2 & (l = S.state).wrap) == 0 ? d : ((l.head = I).done = !1, w) : d;
2059
2053
  }, n.inflateSetDictionary = function(S, I) {
2060
2054
  var l, L = I.length;
2061
- return S && S.state ? (l = S.state).wrap !== 0 && l.mode !== 11 ? d : l.mode === 11 && o(1, I, L, 0) !== l.check ? -3 : Q(S, I, L, L) ? (l.mode = 31, -4) : (l.havedict = 1, k) : d;
2055
+ return S && S.state ? (l = S.state).wrap !== 0 && l.mode !== 11 ? d : l.mode === 11 && o(1, I, L, 0) !== l.check ? -3 : Q(S, I, L, L) ? (l.mode = 31, -4) : (l.havedict = 1, w) : d;
2062
2056
  }, n.inflateInfo = "pako inflate (from Nodeca project)";
2063
2057
  }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./inffast": 48, "./inftrees": 50 }], 50: [function(t, r, n) {
2064
- var a = t("../utils/common"), o = [3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0], i = [16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, 78], h = [1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577, 0, 0], y = [16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 25, 26, 26, 27, 27, 28, 28, 29, 29, 64, 64];
2065
- r.exports = function(w, _, k, d, v, u, m, f) {
2066
- var b, x, A, P, D, F, W, T, V, Q = f.bits, S = 0, I = 0, l = 0, L = 0, et = 0, $ = 0, rt = 0, H = 0, tt = 0, M = 0, z = null, J = 0, q = new a.Buf16(16), X = new a.Buf16(16), ct = null, mt = 0;
2067
- for (S = 0; S <= 15; S++) q[S] = 0;
2068
- for (I = 0; I < d; I++) q[_[k + I]]++;
2069
- for (et = Q, L = 15; 1 <= L && q[L] === 0; L--) ;
2070
- if (L < et && (et = L), L === 0) return v[u++] = 20971520, v[u++] = 20971520, f.bits = 1, 0;
2071
- for (l = 1; l < L && q[l] === 0; l++) ;
2072
- for (et < l && (et = l), S = H = 1; S <= 15; S++) if (H <<= 1, (H -= q[S]) < 0) return -1;
2073
- if (0 < H && (w === 0 || L !== 1)) return -1;
2074
- for (X[1] = 0, S = 1; S < 15; S++) X[S + 1] = X[S] + q[S];
2075
- for (I = 0; I < d; I++) _[k + I] !== 0 && (m[X[_[k + I]]++] = I);
2076
- if (F = w === 0 ? (z = ct = m, 19) : w === 1 ? (z = o, J -= 257, ct = i, mt -= 257, 256) : (z = h, ct = y, -1), S = l, D = u, rt = I = M = 0, A = -1, P = (tt = 1 << ($ = et)) - 1, w === 1 && 852 < tt || w === 2 && 592 < tt) return 1;
2058
+ var a = t("../utils/common"), o = [3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0], i = [16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, 78], h = [1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577, 0, 0], b = [16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 25, 26, 26, 27, 27, 28, 28, 29, 29, 64, 64];
2059
+ r.exports = function(y, _, w, d, k, u, m, f) {
2060
+ var v, x, A, P, D, F, W, T, V, Q = f.bits, S = 0, I = 0, l = 0, L = 0, et = 0, $ = 0, rt = 0, H = 0, tt = 0, M = 0, z = null, J = 0, K = new a.Buf16(16), X = new a.Buf16(16), ct = null, mt = 0;
2061
+ for (S = 0; S <= 15; S++) K[S] = 0;
2062
+ for (I = 0; I < d; I++) K[_[w + I]]++;
2063
+ for (et = Q, L = 15; 1 <= L && K[L] === 0; L--) ;
2064
+ if (L < et && (et = L), L === 0) return k[u++] = 20971520, k[u++] = 20971520, f.bits = 1, 0;
2065
+ for (l = 1; l < L && K[l] === 0; l++) ;
2066
+ for (et < l && (et = l), S = H = 1; S <= 15; S++) if (H <<= 1, (H -= K[S]) < 0) return -1;
2067
+ if (0 < H && (y === 0 || L !== 1)) return -1;
2068
+ for (X[1] = 0, S = 1; S < 15; S++) X[S + 1] = X[S] + K[S];
2069
+ for (I = 0; I < d; I++) _[w + I] !== 0 && (m[X[_[w + I]]++] = I);
2070
+ if (F = y === 0 ? (z = ct = m, 19) : y === 1 ? (z = o, J -= 257, ct = i, mt -= 257, 256) : (z = h, ct = b, -1), S = l, D = u, rt = I = M = 0, A = -1, P = (tt = 1 << ($ = et)) - 1, y === 1 && 852 < tt || y === 2 && 592 < tt) return 1;
2077
2071
  for (; ; ) {
2078
- for (W = S - rt, V = m[I] < F ? (T = 0, m[I]) : m[I] > F ? (T = ct[mt + m[I]], z[J + m[I]]) : (T = 96, 0), b = 1 << S - rt, l = x = 1 << $; v[D + (M >> rt) + (x -= b)] = W << 24 | T << 16 | V | 0, x !== 0; ) ;
2079
- for (b = 1 << S - 1; M & b; ) b >>= 1;
2080
- if (b !== 0 ? (M &= b - 1, M += b) : M = 0, I++, --q[S] == 0) {
2072
+ for (W = S - rt, V = m[I] < F ? (T = 0, m[I]) : m[I] > F ? (T = ct[mt + m[I]], z[J + m[I]]) : (T = 96, 0), v = 1 << S - rt, l = x = 1 << $; k[D + (M >> rt) + (x -= v)] = W << 24 | T << 16 | V | 0, x !== 0; ) ;
2073
+ for (v = 1 << S - 1; M & v; ) v >>= 1;
2074
+ if (v !== 0 ? (M &= v - 1, M += v) : M = 0, I++, --K[S] == 0) {
2081
2075
  if (S === L) break;
2082
- S = _[k + m[I]];
2076
+ S = _[w + m[I]];
2083
2077
  }
2084
2078
  if (et < S && (M & P) !== A) {
2085
- for (rt === 0 && (rt = et), D += l, H = 1 << ($ = S - rt); $ + rt < L && !((H -= q[$ + rt]) <= 0); ) $++, H <<= 1;
2086
- if (tt += 1 << $, w === 1 && 852 < tt || w === 2 && 592 < tt) return 1;
2087
- v[A = M & P] = et << 24 | $ << 16 | D - u | 0;
2079
+ for (rt === 0 && (rt = et), D += l, H = 1 << ($ = S - rt); $ + rt < L && !((H -= K[$ + rt]) <= 0); ) $++, H <<= 1;
2080
+ if (tt += 1 << $, y === 1 && 852 < tt || y === 2 && 592 < tt) return 1;
2081
+ k[A = M & P] = et << 24 | $ << 16 | D - u | 0;
2088
2082
  }
2089
2083
  }
2090
- return M !== 0 && (v[D + M] = S - rt << 24 | 64 << 16 | 0), f.bits = et, 0;
2084
+ return M !== 0 && (k[D + M] = S - rt << 24 | 64 << 16 | 0), f.bits = et, 0;
2091
2085
  };
2092
2086
  }, { "../utils/common": 41 }], 51: [function(t, r, n) {
2093
2087
  r.exports = { 2: "need dictionary", 1: "stream end", 0: "", "-1": "file error", "-2": "stream error", "-3": "data error", "-4": "insufficient memory", "-5": "buffer error", "-6": "incompatible version" };
@@ -2096,7 +2090,7 @@ function we() {
2096
2090
  function h(p) {
2097
2091
  for (var E = p.length; 0 <= --E; ) p[E] = 0;
2098
2092
  }
2099
- var y = 0, w = 29, _ = 256, k = _ + 1 + w, d = 30, v = 19, u = 2 * k + 1, m = 15, f = 16, b = 7, x = 256, A = 16, P = 17, D = 18, F = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0], W = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], T = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], V = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], Q = new Array(2 * (k + 2));
2093
+ var b = 0, y = 29, _ = 256, w = _ + 1 + y, d = 30, k = 19, u = 2 * w + 1, m = 15, f = 16, v = 7, x = 256, A = 16, P = 17, D = 18, F = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0], W = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], T = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], V = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], Q = new Array(2 * (w + 2));
2100
2094
  h(Q);
2101
2095
  var S = new Array(2 * d);
2102
2096
  h(S);
@@ -2104,7 +2098,7 @@ function we() {
2104
2098
  h(I);
2105
2099
  var l = new Array(256);
2106
2100
  h(l);
2107
- var L = new Array(w);
2101
+ var L = new Array(y);
2108
2102
  h(L);
2109
2103
  var et, $, rt, H = new Array(d);
2110
2104
  function tt(p, E, j, U, N) {
@@ -2119,19 +2113,19 @@ function we() {
2119
2113
  function J(p, E) {
2120
2114
  p.pending_buf[p.pending++] = 255 & E, p.pending_buf[p.pending++] = E >>> 8 & 255;
2121
2115
  }
2122
- function q(p, E, j) {
2116
+ function K(p, E, j) {
2123
2117
  p.bi_valid > f - j ? (p.bi_buf |= E << p.bi_valid & 65535, J(p, p.bi_buf), p.bi_buf = E >> f - p.bi_valid, p.bi_valid += j - f) : (p.bi_buf |= E << p.bi_valid & 65535, p.bi_valid += j);
2124
2118
  }
2125
2119
  function X(p, E, j) {
2126
- q(p, j[2 * E], j[2 * E + 1]);
2120
+ K(p, j[2 * E], j[2 * E + 1]);
2127
2121
  }
2128
2122
  function ct(p, E) {
2129
2123
  for (var j = 0; j |= 1 & p, p >>>= 1, j <<= 1, 0 < --E; ) ;
2130
2124
  return j >>> 1;
2131
2125
  }
2132
2126
  function mt(p, E, j) {
2133
- var U, N, Z = new Array(m + 1), K = 0;
2134
- for (U = 1; U <= m; U++) Z[U] = K = K + j[U - 1] << 1;
2127
+ var U, N, Z = new Array(m + 1), q = 0;
2128
+ for (U = 1; U <= m; U++) Z[U] = q = q + j[U - 1] << 1;
2135
2129
  for (N = 0; N <= E; N++) {
2136
2130
  var G = p[2 * N + 1];
2137
2131
  G !== 0 && (p[2 * N] = ct(Z[G]++, G));
@@ -2139,9 +2133,9 @@ function we() {
2139
2133
  }
2140
2134
  function at(p) {
2141
2135
  var E;
2142
- for (E = 0; E < k; E++) p.dyn_ltree[2 * E] = 0;
2136
+ for (E = 0; E < w; E++) p.dyn_ltree[2 * E] = 0;
2143
2137
  for (E = 0; E < d; E++) p.dyn_dtree[2 * E] = 0;
2144
- for (E = 0; E < v; E++) p.bl_tree[2 * E] = 0;
2138
+ for (E = 0; E < k; E++) p.bl_tree[2 * E] = 0;
2145
2139
  p.dyn_ltree[2 * x] = 1, p.opt_len = p.static_len = 0, p.last_lit = p.matches = 0;
2146
2140
  }
2147
2141
  function it(p) {
@@ -2156,14 +2150,14 @@ function we() {
2156
2150
  p.heap[j] = U;
2157
2151
  }
2158
2152
  function kt(p, E, j) {
2159
- var U, N, Z, K, G = 0;
2160
- if (p.last_lit !== 0) for (; U = p.pending_buf[p.d_buf + 2 * G] << 8 | p.pending_buf[p.d_buf + 2 * G + 1], N = p.pending_buf[p.l_buf + G], G++, U === 0 ? X(p, N, E) : (X(p, (Z = l[N]) + _ + 1, E), (K = F[Z]) !== 0 && q(p, N -= L[Z], K), X(p, Z = z(--U), j), (K = W[Z]) !== 0 && q(p, U -= H[Z], K)), G < p.last_lit; ) ;
2153
+ var U, N, Z, q, G = 0;
2154
+ if (p.last_lit !== 0) for (; U = p.pending_buf[p.d_buf + 2 * G] << 8 | p.pending_buf[p.d_buf + 2 * G + 1], N = p.pending_buf[p.l_buf + G], G++, U === 0 ? X(p, N, E) : (X(p, (Z = l[N]) + _ + 1, E), (q = F[Z]) !== 0 && K(p, N -= L[Z], q), X(p, Z = z(--U), j), (q = W[Z]) !== 0 && K(p, U -= H[Z], q)), G < p.last_lit; ) ;
2161
2155
  X(p, x, E);
2162
2156
  }
2163
2157
  function vt(p, E) {
2164
- var j, U, N, Z = E.dyn_tree, K = E.stat_desc.static_tree, G = E.stat_desc.has_stree, Y = E.stat_desc.elems, lt = -1;
2158
+ var j, U, N, Z = E.dyn_tree, q = E.stat_desc.static_tree, G = E.stat_desc.has_stree, Y = E.stat_desc.elems, lt = -1;
2165
2159
  for (p.heap_len = 0, p.heap_max = u, j = 0; j < Y; j++) Z[2 * j] !== 0 ? (p.heap[++p.heap_len] = lt = j, p.depth[j] = 0) : Z[2 * j + 1] = 0;
2166
- for (; p.heap_len < 2; ) Z[2 * (N = p.heap[++p.heap_len] = lt < 2 ? ++lt : 0)] = 1, p.depth[N] = 0, p.opt_len--, G && (p.static_len -= K[2 * N + 1]);
2160
+ for (; p.heap_len < 2; ) Z[2 * (N = p.heap[++p.heap_len] = lt < 2 ? ++lt : 0)] = 1, p.depth[N] = 0, p.opt_len--, G && (p.static_len -= q[2 * N + 1]);
2167
2161
  for (E.max_code = lt, j = p.heap_len >> 1; 1 <= j; j--) ht(p, Z, j);
2168
2162
  for (N = Y; j = p.heap[1], p.heap[1] = p.heap[p.heap_len--], ht(p, Z, 1), U = p.heap[1], p.heap[--p.heap_max] = j, p.heap[--p.heap_max] = U, Z[2 * N] = Z[2 * j] + Z[2 * U], p.depth[N] = (p.depth[j] >= p.depth[U] ? p.depth[j] : p.depth[U]) + 1, Z[2 * j + 1] = Z[2 * U + 1] = N, p.heap[1] = N++, ht(p, Z, 1), 2 <= p.heap_len; ) ;
2169
2163
  p.heap[--p.heap_max] = p.heap[1], (function(st, bt) {
@@ -2180,59 +2174,59 @@ function we() {
2180
2174
  })(p, E), mt(Z, lt, p.bl_count);
2181
2175
  }
2182
2176
  function s(p, E, j) {
2183
- var U, N, Z = -1, K = E[1], G = 0, Y = 7, lt = 4;
2184
- for (K === 0 && (Y = 138, lt = 3), E[2 * (j + 1) + 1] = 65535, U = 0; U <= j; U++) N = K, K = E[2 * (U + 1) + 1], ++G < Y && N === K || (G < lt ? p.bl_tree[2 * N] += G : N !== 0 ? (N !== Z && p.bl_tree[2 * N]++, p.bl_tree[2 * A]++) : G <= 10 ? p.bl_tree[2 * P]++ : p.bl_tree[2 * D]++, Z = N, lt = (G = 0) === K ? (Y = 138, 3) : N === K ? (Y = 6, 3) : (Y = 7, 4));
2177
+ var U, N, Z = -1, q = E[1], G = 0, Y = 7, lt = 4;
2178
+ for (q === 0 && (Y = 138, lt = 3), E[2 * (j + 1) + 1] = 65535, U = 0; U <= j; U++) N = q, q = E[2 * (U + 1) + 1], ++G < Y && N === q || (G < lt ? p.bl_tree[2 * N] += G : N !== 0 ? (N !== Z && p.bl_tree[2 * N]++, p.bl_tree[2 * A]++) : G <= 10 ? p.bl_tree[2 * P]++ : p.bl_tree[2 * D]++, Z = N, lt = (G = 0) === q ? (Y = 138, 3) : N === q ? (Y = 6, 3) : (Y = 7, 4));
2185
2179
  }
2186
2180
  function O(p, E, j) {
2187
- var U, N, Z = -1, K = E[1], G = 0, Y = 7, lt = 4;
2188
- for (K === 0 && (Y = 138, lt = 3), U = 0; U <= j; U++) if (N = K, K = E[2 * (U + 1) + 1], !(++G < Y && N === K)) {
2181
+ var U, N, Z = -1, q = E[1], G = 0, Y = 7, lt = 4;
2182
+ for (q === 0 && (Y = 138, lt = 3), U = 0; U <= j; U++) if (N = q, q = E[2 * (U + 1) + 1], !(++G < Y && N === q)) {
2189
2183
  if (G < lt) for (; X(p, N, p.bl_tree), --G != 0; ) ;
2190
- else N !== 0 ? (N !== Z && (X(p, N, p.bl_tree), G--), X(p, A, p.bl_tree), q(p, G - 3, 2)) : G <= 10 ? (X(p, P, p.bl_tree), q(p, G - 3, 3)) : (X(p, D, p.bl_tree), q(p, G - 11, 7));
2191
- Z = N, lt = (G = 0) === K ? (Y = 138, 3) : N === K ? (Y = 6, 3) : (Y = 7, 4);
2184
+ else N !== 0 ? (N !== Z && (X(p, N, p.bl_tree), G--), X(p, A, p.bl_tree), K(p, G - 3, 2)) : G <= 10 ? (X(p, P, p.bl_tree), K(p, G - 3, 3)) : (X(p, D, p.bl_tree), K(p, G - 11, 7));
2185
+ Z = N, lt = (G = 0) === q ? (Y = 138, 3) : N === q ? (Y = 6, 3) : (Y = 7, 4);
2192
2186
  }
2193
2187
  }
2194
2188
  h(H);
2195
2189
  var R = !1;
2196
2190
  function g(p, E, j, U) {
2197
- q(p, (y << 1) + (U ? 1 : 0), 3), (function(N, Z, K, G) {
2198
- it(N), J(N, K), J(N, ~K), a.arraySet(N.pending_buf, N.window, Z, K, N.pending), N.pending += K;
2191
+ K(p, (b << 1) + (U ? 1 : 0), 3), (function(N, Z, q, G) {
2192
+ it(N), J(N, q), J(N, ~q), a.arraySet(N.pending_buf, N.window, Z, q, N.pending), N.pending += q;
2199
2193
  })(p, E, j);
2200
2194
  }
2201
2195
  n._tr_init = function(p) {
2202
2196
  R || ((function() {
2203
- var E, j, U, N, Z, K = new Array(m + 1);
2204
- for (N = U = 0; N < w - 1; N++) for (L[N] = U, E = 0; E < 1 << F[N]; E++) l[U++] = N;
2197
+ var E, j, U, N, Z, q = new Array(m + 1);
2198
+ for (N = U = 0; N < y - 1; N++) for (L[N] = U, E = 0; E < 1 << F[N]; E++) l[U++] = N;
2205
2199
  for (l[U - 1] = N, N = Z = 0; N < 16; N++) for (H[N] = Z, E = 0; E < 1 << W[N]; E++) I[Z++] = N;
2206
2200
  for (Z >>= 7; N < d; N++) for (H[N] = Z << 7, E = 0; E < 1 << W[N] - 7; E++) I[256 + Z++] = N;
2207
- for (j = 0; j <= m; j++) K[j] = 0;
2208
- for (E = 0; E <= 143; ) Q[2 * E + 1] = 8, E++, K[8]++;
2209
- for (; E <= 255; ) Q[2 * E + 1] = 9, E++, K[9]++;
2210
- for (; E <= 279; ) Q[2 * E + 1] = 7, E++, K[7]++;
2211
- for (; E <= 287; ) Q[2 * E + 1] = 8, E++, K[8]++;
2212
- for (mt(Q, k + 1, K), E = 0; E < d; E++) S[2 * E + 1] = 5, S[2 * E] = ct(E, 5);
2213
- et = new tt(Q, F, _ + 1, k, m), $ = new tt(S, W, 0, d, m), rt = new tt(new Array(0), T, 0, v, b);
2201
+ for (j = 0; j <= m; j++) q[j] = 0;
2202
+ for (E = 0; E <= 143; ) Q[2 * E + 1] = 8, E++, q[8]++;
2203
+ for (; E <= 255; ) Q[2 * E + 1] = 9, E++, q[9]++;
2204
+ for (; E <= 279; ) Q[2 * E + 1] = 7, E++, q[7]++;
2205
+ for (; E <= 287; ) Q[2 * E + 1] = 8, E++, q[8]++;
2206
+ for (mt(Q, w + 1, q), E = 0; E < d; E++) S[2 * E + 1] = 5, S[2 * E] = ct(E, 5);
2207
+ et = new tt(Q, F, _ + 1, w, m), $ = new tt(S, W, 0, d, m), rt = new tt(new Array(0), T, 0, k, v);
2214
2208
  })(), R = !0), p.l_desc = new M(p.dyn_ltree, et), p.d_desc = new M(p.dyn_dtree, $), p.bl_desc = new M(p.bl_tree, rt), p.bi_buf = 0, p.bi_valid = 0, at(p);
2215
2209
  }, n._tr_stored_block = g, n._tr_flush_block = function(p, E, j, U) {
2216
- var N, Z, K = 0;
2210
+ var N, Z, q = 0;
2217
2211
  0 < p.level ? (p.strm.data_type === 2 && (p.strm.data_type = (function(G) {
2218
2212
  var Y, lt = 4093624447;
2219
2213
  for (Y = 0; Y <= 31; Y++, lt >>>= 1) if (1 & lt && G.dyn_ltree[2 * Y] !== 0) return o;
2220
2214
  if (G.dyn_ltree[18] !== 0 || G.dyn_ltree[20] !== 0 || G.dyn_ltree[26] !== 0) return i;
2221
2215
  for (Y = 32; Y < _; Y++) if (G.dyn_ltree[2 * Y] !== 0) return i;
2222
2216
  return o;
2223
- })(p)), vt(p, p.l_desc), vt(p, p.d_desc), K = (function(G) {
2217
+ })(p)), vt(p, p.l_desc), vt(p, p.d_desc), q = (function(G) {
2224
2218
  var Y;
2225
- for (s(G, G.dyn_ltree, G.l_desc.max_code), s(G, G.dyn_dtree, G.d_desc.max_code), vt(G, G.bl_desc), Y = v - 1; 3 <= Y && G.bl_tree[2 * V[Y] + 1] === 0; Y--) ;
2219
+ for (s(G, G.dyn_ltree, G.l_desc.max_code), s(G, G.dyn_dtree, G.d_desc.max_code), vt(G, G.bl_desc), Y = k - 1; 3 <= Y && G.bl_tree[2 * V[Y] + 1] === 0; Y--) ;
2226
2220
  return G.opt_len += 3 * (Y + 1) + 5 + 5 + 4, Y;
2227
- })(p), N = p.opt_len + 3 + 7 >>> 3, (Z = p.static_len + 3 + 7 >>> 3) <= N && (N = Z)) : N = Z = j + 5, j + 4 <= N && E !== -1 ? g(p, E, j, U) : p.strategy === 4 || Z === N ? (q(p, 2 + (U ? 1 : 0), 3), kt(p, Q, S)) : (q(p, 4 + (U ? 1 : 0), 3), (function(G, Y, lt, st) {
2221
+ })(p), N = p.opt_len + 3 + 7 >>> 3, (Z = p.static_len + 3 + 7 >>> 3) <= N && (N = Z)) : N = Z = j + 5, j + 4 <= N && E !== -1 ? g(p, E, j, U) : p.strategy === 4 || Z === N ? (K(p, 2 + (U ? 1 : 0), 3), kt(p, Q, S)) : (K(p, 4 + (U ? 1 : 0), 3), (function(G, Y, lt, st) {
2228
2222
  var bt;
2229
- for (q(G, Y - 257, 5), q(G, lt - 1, 5), q(G, st - 4, 4), bt = 0; bt < st; bt++) q(G, G.bl_tree[2 * V[bt] + 1], 3);
2223
+ for (K(G, Y - 257, 5), K(G, lt - 1, 5), K(G, st - 4, 4), bt = 0; bt < st; bt++) K(G, G.bl_tree[2 * V[bt] + 1], 3);
2230
2224
  O(G, G.dyn_ltree, Y - 1), O(G, G.dyn_dtree, lt - 1);
2231
- })(p, p.l_desc.max_code + 1, p.d_desc.max_code + 1, K + 1), kt(p, p.dyn_ltree, p.dyn_dtree)), at(p), U && it(p);
2225
+ })(p, p.l_desc.max_code + 1, p.d_desc.max_code + 1, q + 1), kt(p, p.dyn_ltree, p.dyn_dtree)), at(p), U && it(p);
2232
2226
  }, n._tr_tally = function(p, E, j) {
2233
2227
  return p.pending_buf[p.d_buf + 2 * p.last_lit] = E >>> 8 & 255, p.pending_buf[p.d_buf + 2 * p.last_lit + 1] = 255 & E, p.pending_buf[p.l_buf + p.last_lit] = 255 & j, p.last_lit++, E === 0 ? p.dyn_ltree[2 * j]++ : (p.matches++, E--, p.dyn_ltree[2 * (l[j] + _ + 1)]++, p.dyn_dtree[2 * z(E)]++), p.last_lit === p.lit_bufsize - 1;
2234
2228
  }, n._tr_align = function(p) {
2235
- q(p, 2, 3), X(p, x, Q), (function(E) {
2229
+ K(p, 2, 3), X(p, x, Q), (function(E) {
2236
2230
  E.bi_valid === 16 ? (J(E, E.bi_buf), E.bi_buf = 0, E.bi_valid = 0) : 8 <= E.bi_valid && (E.pending_buf[E.pending++] = 255 & E.bi_buf, E.bi_buf >>= 8, E.bi_valid -= 8);
2237
2231
  })(p);
2238
2232
  };
@@ -2244,10 +2238,10 @@ function we() {
2244
2238
  (function(a) {
2245
2239
  (function(o, i) {
2246
2240
  if (!o.setImmediate) {
2247
- var h, y, w, _, k = 1, d = {}, v = !1, u = o.document, m = Object.getPrototypeOf && Object.getPrototypeOf(o);
2241
+ var h, b, y, _, w = 1, d = {}, k = !1, u = o.document, m = Object.getPrototypeOf && Object.getPrototypeOf(o);
2248
2242
  m = m && m.setTimeout ? m : o, h = {}.toString.call(o.process) === "[object process]" ? function(A) {
2249
2243
  process.nextTick(function() {
2250
- b(A);
2244
+ v(A);
2251
2245
  });
2252
2246
  } : (function() {
2253
2247
  if (o.postMessage && !o.importScripts) {
@@ -2258,33 +2252,33 @@ function we() {
2258
2252
  }
2259
2253
  })() ? (_ = "setImmediate$" + Math.random() + "$", o.addEventListener ? o.addEventListener("message", x, !1) : o.attachEvent("onmessage", x), function(A) {
2260
2254
  o.postMessage(_ + A, "*");
2261
- }) : o.MessageChannel ? ((w = new MessageChannel()).port1.onmessage = function(A) {
2262
- b(A.data);
2255
+ }) : o.MessageChannel ? ((y = new MessageChannel()).port1.onmessage = function(A) {
2256
+ v(A.data);
2263
2257
  }, function(A) {
2264
- w.port2.postMessage(A);
2265
- }) : u && "onreadystatechange" in u.createElement("script") ? (y = u.documentElement, function(A) {
2258
+ y.port2.postMessage(A);
2259
+ }) : u && "onreadystatechange" in u.createElement("script") ? (b = u.documentElement, function(A) {
2266
2260
  var P = u.createElement("script");
2267
2261
  P.onreadystatechange = function() {
2268
- b(A), P.onreadystatechange = null, y.removeChild(P), P = null;
2269
- }, y.appendChild(P);
2262
+ v(A), P.onreadystatechange = null, b.removeChild(P), P = null;
2263
+ }, b.appendChild(P);
2270
2264
  }) : function(A) {
2271
- setTimeout(b, 0, A);
2265
+ setTimeout(v, 0, A);
2272
2266
  }, m.setImmediate = function(A) {
2273
2267
  typeof A != "function" && (A = new Function("" + A));
2274
2268
  for (var P = new Array(arguments.length - 1), D = 0; D < P.length; D++) P[D] = arguments[D + 1];
2275
2269
  var F = { callback: A, args: P };
2276
- return d[k] = F, h(k), k++;
2270
+ return d[w] = F, h(w), w++;
2277
2271
  }, m.clearImmediate = f;
2278
2272
  }
2279
2273
  function f(A) {
2280
2274
  delete d[A];
2281
2275
  }
2282
- function b(A) {
2283
- if (v) setTimeout(b, 0, A);
2276
+ function v(A) {
2277
+ if (k) setTimeout(v, 0, A);
2284
2278
  else {
2285
2279
  var P = d[A];
2286
2280
  if (P) {
2287
- v = !0;
2281
+ k = !0;
2288
2282
  try {
2289
2283
  (function(D) {
2290
2284
  var F = D.callback, W = D.args;
@@ -2306,16 +2300,16 @@ function we() {
2306
2300
  }
2307
2301
  })(P);
2308
2302
  } finally {
2309
- f(A), v = !1;
2303
+ f(A), k = !1;
2310
2304
  }
2311
2305
  }
2312
2306
  }
2313
2307
  }
2314
2308
  function x(A) {
2315
- A.source === o && typeof A.data == "string" && A.data.indexOf(_) === 0 && b(+A.data.slice(_.length));
2309
+ A.source === o && typeof A.data == "string" && A.data.indexOf(_) === 0 && v(+A.data.slice(_.length));
2316
2310
  }
2317
- })(typeof self > "u" ? a === void 0 ? this : a : self);
2318
- }).call(this, typeof Mt < "u" ? Mt : typeof self < "u" ? self : typeof window < "u" ? window : {});
2311
+ })(typeof self == "undefined" ? a === void 0 ? this : a : self);
2312
+ }).call(this, typeof Rt != "undefined" ? Rt : typeof self != "undefined" ? self : typeof window != "undefined" ? window : {});
2319
2313
  }, {}] }, {}, [10])(10);
2320
2314
  });
2321
2315
  })(Lt)), Lt.exports;
@@ -2354,7 +2348,7 @@ function jt(c, e) {
2354
2348
  try {
2355
2349
  const t = "http://docx/";
2356
2350
  return new URL(c, t + e).toString().substring(t.length);
2357
- } catch {
2351
+ } catch (t) {
2358
2352
  return `${e}${c}`;
2359
2353
  }
2360
2354
  }
@@ -2374,16 +2368,17 @@ function Ae(c) {
2374
2368
  return typeof c == "string" || c instanceof String;
2375
2369
  }
2376
2370
  function Ot(c, ...e) {
2371
+ var r;
2377
2372
  if (!e.length)
2378
2373
  return c;
2379
2374
  const t = e.shift();
2380
2375
  if (Ut(c) && Ut(t))
2381
- for (const r in t)
2382
- if (Ut(t[r])) {
2383
- const n = c[r] ?? (c[r] = {});
2384
- Ot(n, t[r]);
2376
+ for (const n in t)
2377
+ if (Ut(t[n])) {
2378
+ const a = (r = c[n]) != null ? r : c[n] = {};
2379
+ Ot(a, t[n]);
2385
2380
  } else
2386
- c[r] = t[r];
2381
+ c[n] = t[n];
2387
2382
  return Ot(c, ...e);
2388
2383
  }
2389
2384
  function At(c) {
@@ -2573,8 +2568,9 @@ class Ht {
2573
2568
  this._zip = e, this.options = t, this.xmlParser = new le();
2574
2569
  }
2575
2570
  get(e) {
2571
+ var r;
2576
2572
  const t = je(e);
2577
- return this._zip.files[t] ?? this._zip.files[t.replace(/\//g, "\\")];
2573
+ return (r = this._zip.files[t]) != null ? r : this._zip.files[t.replace(/\//g, "\\")];
2578
2574
  }
2579
2575
  update(e, t) {
2580
2576
  this._zip.file(e, t);
@@ -2587,8 +2583,8 @@ class Ht {
2587
2583
  return this._zip.generateAsync({ type: e });
2588
2584
  }
2589
2585
  load(e, t = "string") {
2590
- var r;
2591
- return ((r = this.get(e)) == null ? void 0 : r.async(t)) ?? Promise.resolve(null);
2586
+ var r, n;
2587
+ return (n = (r = this.get(e)) == null ? void 0 : r.async(t)) != null ? n : Promise.resolve(null);
2592
2588
  }
2593
2589
  async loadRelationships(e = null) {
2594
2590
  let t = "_rels/.rels";
@@ -2643,52 +2639,53 @@ function $e(c, e) {
2643
2639
  }
2644
2640
  return t;
2645
2641
  }
2646
- var Kt;
2642
+ var qt;
2647
2643
  (function(c) {
2648
2644
  c.Continuous = "continuous", c.NextPage = "nextPage", c.NextColumn = "nextColumn", c.EvenPage = "evenPage", c.OddPage = "oddPage";
2649
- })(Kt || (Kt = {}));
2645
+ })(qt || (qt = {}));
2650
2646
  function ce(c, e = C) {
2647
+ var r, n;
2651
2648
  var t = {};
2652
- for (let r of e.elements(c))
2653
- switch (r.localName) {
2649
+ for (let a of e.elements(c))
2650
+ switch (a.localName) {
2654
2651
  case "pgSz":
2655
2652
  t.pageSize = {
2656
- width: e.lengthAttr(r, "w"),
2657
- height: e.lengthAttr(r, "h"),
2658
- orientation: e.attr(r, "orient")
2653
+ width: e.lengthAttr(a, "w"),
2654
+ height: e.lengthAttr(a, "h"),
2655
+ orientation: e.attr(a, "orient")
2659
2656
  };
2660
2657
  break;
2661
2658
  case "type":
2662
- t.type = e.attr(r, "val");
2659
+ t.type = e.attr(a, "val");
2663
2660
  break;
2664
2661
  case "pgMar":
2665
2662
  t.pageMargins = {
2666
- left: e.lengthAttr(r, "left"),
2667
- right: e.lengthAttr(r, "right"),
2668
- top: e.lengthAttr(r, "top"),
2669
- bottom: e.lengthAttr(r, "bottom"),
2670
- header: e.lengthAttr(r, "header"),
2671
- footer: e.lengthAttr(r, "footer"),
2672
- gutter: e.lengthAttr(r, "gutter")
2663
+ left: e.lengthAttr(a, "left"),
2664
+ right: e.lengthAttr(a, "right"),
2665
+ top: e.lengthAttr(a, "top"),
2666
+ bottom: e.lengthAttr(a, "bottom"),
2667
+ header: e.lengthAttr(a, "header"),
2668
+ footer: e.lengthAttr(a, "footer"),
2669
+ gutter: e.lengthAttr(a, "gutter")
2673
2670
  };
2674
2671
  break;
2675
2672
  case "cols":
2676
- t.columns = We(r, e);
2673
+ t.columns = We(a, e);
2677
2674
  break;
2678
2675
  case "headerReference":
2679
- (t.headerRefs ?? (t.headerRefs = [])).push(Yt(r, e));
2676
+ ((r = t.headerRefs) != null ? r : t.headerRefs = []).push(Yt(a, e));
2680
2677
  break;
2681
2678
  case "footerReference":
2682
- (t.footerRefs ?? (t.footerRefs = [])).push(Yt(r, e));
2679
+ ((n = t.footerRefs) != null ? n : t.footerRefs = []).push(Yt(a, e));
2683
2680
  break;
2684
2681
  case "titlePg":
2685
- t.titlePage = e.boolAttr(r, "val", !0);
2682
+ t.titlePage = e.boolAttr(a, "val", !0);
2686
2683
  break;
2687
2684
  case "pgBorders":
2688
- t.pageBorders = $e(r, e);
2685
+ t.pageBorders = $e(a, e);
2689
2686
  break;
2690
2687
  case "pgNumType":
2691
- t.pageNumber = He(r, e);
2688
+ t.pageNumber = He(a, e);
2692
2689
  break;
2693
2690
  }
2694
2691
  return t;
@@ -2804,7 +2801,7 @@ function Xe(c, e) {
2804
2801
  }
2805
2802
  return t;
2806
2803
  }
2807
- function qe(c, e) {
2804
+ function Ke(c, e) {
2808
2805
  let t = {
2809
2806
  numberings: [],
2810
2807
  abstractNumberings: [],
@@ -2813,7 +2810,7 @@ function qe(c, e) {
2813
2810
  for (let r of e.elements(c))
2814
2811
  switch (r.localName) {
2815
2812
  case "num":
2816
- t.numberings.push(Ke(r, e));
2813
+ t.numberings.push(qe(r, e));
2817
2814
  break;
2818
2815
  case "abstractNum":
2819
2816
  t.abstractNumberings.push(Ye(r, e));
@@ -2824,7 +2821,7 @@ function qe(c, e) {
2824
2821
  }
2825
2822
  return t;
2826
2823
  }
2827
- function Ke(c, e) {
2824
+ function qe(c, e) {
2828
2825
  let t = {
2829
2826
  id: e.attr(c, "numId"),
2830
2827
  overrides: []
@@ -2929,7 +2926,7 @@ class tr extends gt {
2929
2926
  super(e, t), this._documentParser = r;
2930
2927
  }
2931
2928
  parseXml(e) {
2932
- Object.assign(this, qe(e, this._package.xmlParser)), this.domNumberings = this._documentParser.parseNumberingFile(e);
2929
+ Object.assign(this, Ke(e, this._package.xmlParser)), this.domNumberings = this._documentParser.parseNumberingFile(e);
2933
2930
  }
2934
2931
  }
2935
2932
  class er extends gt {
@@ -3012,7 +3009,7 @@ function ir(c, e) {
3012
3009
  return t;
3013
3010
  }
3014
3011
  function Nt(c) {
3015
- if (!(typeof c > "u"))
3012
+ if (typeof c != "undefined")
3016
3013
  return parseInt(c);
3017
3014
  }
3018
3015
  class or extends gt {
@@ -3240,7 +3237,8 @@ class Vt {
3240
3237
  static async load(e, t, r) {
3241
3238
  var n = new Vt();
3242
3239
  return n._options = r, n._parser = t, n._package = await Ht.load(e, r), n.rels = await n._package.loadRelationships(), await Promise.all(xr.map((a) => {
3243
- const o = n.rels.find((i) => i.type === a.type) ?? a;
3240
+ var i;
3241
+ const o = (i = n.rels.find((h) => h.type === a.type)) != null ? i : a;
3244
3242
  return n.loadRelationshipPart(o.target, o.type);
3245
3243
  })), n;
3246
3244
  }
@@ -3310,7 +3308,7 @@ class Vt {
3310
3308
  return r;
3311
3309
  }
3312
3310
  async loadDocumentImage(e, t) {
3313
- const r = await this.loadResource(t ?? this.documentPart, e, "blob");
3311
+ const r = await this.loadResource(t != null ? t : this.documentPart, e, "blob");
3314
3312
  return this.blobToURL(r);
3315
3313
  }
3316
3314
  async loadNumberingImage(e) {
@@ -3322,13 +3320,14 @@ class Vt {
3322
3320
  return r && this.blobToURL(new Blob([Er(r, t)]));
3323
3321
  }
3324
3322
  async loadAltChunk(e, t) {
3325
- return await this.loadResource(t ?? this.documentPart, e, "string");
3323
+ return await this.loadResource(t != null ? t : this.documentPart, e, "string");
3326
3324
  }
3327
3325
  blobToURL(e) {
3328
3326
  return e ? this._options.useBase64URL ? Pe(e) : URL.createObjectURL(e) : null;
3329
3327
  }
3330
3328
  findPartByRelId(e, t = null) {
3331
- var r = (t.rels ?? this.rels).find((a) => a.id == e);
3329
+ var a;
3330
+ var r = ((a = t.rels) != null ? a : this.rels).find((o) => o.id == e);
3332
3331
  const n = t ? Ft(t.path)[0] : "";
3333
3332
  return r ? this.partsMap[jt(r.target, n)] : null;
3334
3333
  }
@@ -3432,9 +3431,10 @@ function ge(c, e) {
3432
3431
  return t;
3433
3432
  }
3434
3433
  function zr(c) {
3434
+ var e;
3435
3435
  return {
3436
3436
  stroke: C.attr(c, "color"),
3437
- "stroke-width": C.lengthAttr(c, "weight", ft.Emu) ?? "1px"
3437
+ "stroke-width": (e = C.lengthAttr(c, "weight", ft.Emu)) != null ? e : "1px"
3438
3438
  };
3439
3439
  }
3440
3440
  function Br(c) {
@@ -3803,17 +3803,17 @@ class Or {
3803
3803
  return r ? t(r) : [];
3804
3804
  }
3805
3805
  parseInserted(e, t) {
3806
- var r;
3806
+ var r, n;
3807
3807
  return {
3808
3808
  type: B.Inserted,
3809
- children: ((r = t(e)) == null ? void 0 : r.children) ?? []
3809
+ children: (n = (r = t(e)) == null ? void 0 : r.children) != null ? n : []
3810
3810
  };
3811
3811
  }
3812
3812
  parseDeleted(e, t) {
3813
- var r;
3813
+ var r, n;
3814
3814
  return {
3815
3815
  type: B.Deleted,
3816
- children: ((r = t(e)) == null ? void 0 : r.children) ?? []
3816
+ children: (n = (r = t(e)) == null ? void 0 : r.children) != null ? n : []
3817
3817
  };
3818
3818
  }
3819
3819
  parseAltChunk(e) {
@@ -4082,6 +4082,7 @@ class Or {
4082
4082
  }
4083
4083
  }
4084
4084
  parseDrawingWrapper(e) {
4085
+ var w;
4085
4086
  var t = { type: B.Drawing, children: [], cssStyle: {} }, r = e.localName == "anchor";
4086
4087
  let n = null, a = C.boolAttr(e, "simplePos");
4087
4088
  C.boolAttr(e, "behindDoc");
@@ -4097,9 +4098,9 @@ class Or {
4097
4098
  case "positionH":
4098
4099
  case "positionV":
4099
4100
  if (!a) {
4100
- let k = h.localName == "positionH" ? o : i;
4101
- var y = C.element(h, "align"), w = C.element(h, "posOffset");
4102
- k.relative = C.attr(h, "relativeFrom") ?? k.relative, y && (k.align = y.textContent), w && (k.offset = ie(w.textContent, ft.Emu));
4101
+ let d = h.localName == "positionH" ? o : i;
4102
+ var b = C.element(h, "align"), y = C.element(h, "posOffset");
4103
+ d.relative = (w = C.attr(h, "relativeFrom")) != null ? w : d.relative, b && (d.align = b.textContent), y && (d.offset = ie(y.textContent, ft.Emu));
4103
4104
  }
4104
4105
  break;
4105
4106
  case "wrapTopAndBottom":
@@ -4264,12 +4265,13 @@ class Or {
4264
4265
  }
4265
4266
  parseTableCellProperties(e, t) {
4266
4267
  t.cssStyle = this.parseDefaultProperties(e, {}, null, (r) => {
4268
+ var n;
4267
4269
  switch (r.localName) {
4268
4270
  case "gridSpan":
4269
4271
  t.span = C.intAttr(r, "val", null);
4270
4272
  break;
4271
4273
  case "vMerge":
4272
- t.verticalMerge = C.attr(r, "val") ?? "continue";
4274
+ t.verticalMerge = (n = C.attr(r, "val")) != null ? n : "continue";
4273
4275
  break;
4274
4276
  case "cnfStyle":
4275
4277
  t.className = ot.classNameOfCnfStyle(r);
@@ -4723,22 +4725,22 @@ function jr(c = document.body) {
4723
4725
  return c.removeChild(e), t;
4724
4726
  }
4725
4727
  function Ur(c, e, t, r = 72 / 96) {
4726
- const n = c.closest("p"), a = c.getBoundingClientRect(), o = n.getBoundingClientRect(), i = getComputedStyle(n), h = (e == null ? void 0 : e.length) > 0 ? e.map((b) => ({
4727
- pos: ne(b.position),
4728
- leader: b.leader,
4729
- style: b.style
4730
- })).sort((b, x) => b.pos - x.pos) : [re], y = h[h.length - 1], w = o.width * r, _ = ne(t);
4731
- let k = y.pos + _;
4732
- if (k < w)
4733
- for (; k < w && h.length < Lr; k += _)
4734
- h.push({ ...re, pos: k });
4735
- const d = parseFloat(i.marginLeft), v = o.left + d, u = (a.left - v) * r, m = h.find((b) => b.style != "clear" && b.pos > u);
4728
+ const n = c.closest("p"), a = c.getBoundingClientRect(), o = n.getBoundingClientRect(), i = getComputedStyle(n), h = (e == null ? void 0 : e.length) > 0 ? e.map((v) => ({
4729
+ pos: ne(v.position),
4730
+ leader: v.leader,
4731
+ style: v.style
4732
+ })).sort((v, x) => v.pos - x.pos) : [re], b = h[h.length - 1], y = o.width * r, _ = ne(t);
4733
+ let w = b.pos + _;
4734
+ if (w < y)
4735
+ for (; w < y && h.length < Lr; w += _)
4736
+ h.push({ ...re, pos: w });
4737
+ const d = parseFloat(i.marginLeft), k = o.left + d, u = (a.left - k) * r, m = h.find((v) => v.style != "clear" && v.pos > u);
4736
4738
  if (m == null)
4737
4739
  return;
4738
4740
  let f = 1;
4739
4741
  if (m.style == "right" || m.style == "center") {
4740
- const b = Array.from(n.querySelectorAll(`.${c.className}`)), x = b.indexOf(c) + 1, A = document.createRange();
4741
- A.setStart(c, 1), x < b.length ? A.setEndBefore(b[x]) : A.setEndAfter(n);
4742
+ const v = Array.from(n.querySelectorAll(`.${c.className}`)), x = v.indexOf(c) + 1, A = document.createRange();
4743
+ A.setStart(c, 1), x < v.length ? A.setEndBefore(v[x]) : A.setEndAfter(n);
4742
4744
  const P = m.style == "center" ? 0.5 : 1, D = A.getBoundingClientRect(), F = D.left + P * D.width - (o.left - d);
4743
4745
  f = m.pos - F * r;
4744
4746
  } else
@@ -4778,8 +4780,8 @@ class $r {
4778
4780
  n && (n.majorFont && (r["--docx-majorHAnsi-font"] = n.majorFont.latinTypeface), n.minorFont && (r["--docx-minorHAnsi-font"] = n.minorFont.latinTypeface));
4779
4781
  const a = (h = e.theme) == null ? void 0 : h.colorScheme;
4780
4782
  if (a)
4781
- for (let [y, w] of Object.entries(a.colors))
4782
- r[`--docx-${y}-color`] = `#${w}`;
4783
+ for (let [b, y] of Object.entries(a.colors))
4784
+ r[`--docx-${b}-color`] = `#${y}`;
4783
4785
  const o = this.styleToString(`.${this.className}`, r);
4784
4786
  t.appendChild(this.createStyleElement(o));
4785
4787
  }
@@ -4864,24 +4866,25 @@ class $r {
4864
4866
  let a = null;
4865
4867
  for (let i = 0, h = n.length; i < h; i++) {
4866
4868
  this.currentFootnoteIds = [];
4867
- let w = n[i][0].sectProps;
4868
- const _ = this.createPageElement(this.className, w);
4869
- this.renderStyleValues(e.cssStyle, _), this.options.renderHeaders && this.renderHeaderFooter(w.headerRefs, w, t.length, a != w, _);
4870
- for (const k of n[i]) {
4871
- var o = this.createSectionContent(k.sectProps);
4872
- this.renderElements(k.elements, o), _.appendChild(o), w = k.sectProps;
4869
+ let y = n[i][0].sectProps;
4870
+ const _ = this.createPageElement(this.className, y);
4871
+ this.renderStyleValues(e.cssStyle, _), this.options.renderHeaders && this.renderHeaderFooter(y.headerRefs, y, t.length, a != y, _);
4872
+ for (const w of n[i]) {
4873
+ var o = this.createSectionContent(w.sectProps);
4874
+ this.renderElements(w.elements, o), _.appendChild(o), y = w.sectProps;
4873
4875
  }
4874
- this.options.renderFootnotes && this.renderNotes(this.currentFootnoteIds, this.footnoteMap, _), this.options.renderEndnotes && i == h - 1 && this.renderNotes(this.currentEndnoteIds, this.endnoteMap, _), this.options.renderFooters && this.renderHeaderFooter(w.footerRefs, w, t.length, a != w, _), t.push(_), a = w;
4876
+ this.options.renderFootnotes && this.renderNotes(this.currentFootnoteIds, this.footnoteMap, _), this.options.renderEndnotes && i == h - 1 && this.renderNotes(this.currentEndnoteIds, this.endnoteMap, _), this.options.renderFooters && this.renderHeaderFooter(y.footerRefs, y, t.length, a != y, _), t.push(_), a = y;
4875
4877
  }
4876
4878
  return t;
4877
4879
  }
4878
4880
  renderHeaderFooter(e, t, r, n, a) {
4881
+ var h, b;
4879
4882
  if (e) {
4880
- var o = (t.titlePage && n ? e.find((h) => h.type == "first") : null) ?? (r % 2 == 1 ? e.find((h) => h.type == "even") : null) ?? e.find((h) => h.type == "default"), i = o && this.document.findPartByRelId(o.id, this.document.documentPart);
4883
+ var o = (b = (h = t.titlePage && n ? e.find((y) => y.type == "first") : null) != null ? h : r % 2 == 1 ? e.find((y) => y.type == "even") : null) != null ? b : e.find((y) => y.type == "default"), i = o && this.document.findPartByRelId(o.id, this.document.documentPart);
4881
4884
  if (i) {
4882
4885
  this.currentPart = i, this.usedHederFooterParts.includes(i.path) || (this.processElement(i.rootElement), this.usedHederFooterParts.push(i.path));
4883
- const [h] = this.renderElements([i.rootElement], a);
4884
- t != null && t.pageMargins && (i.rootElement.type === B.Header ? (h.style.marginTop = `calc(${t.pageMargins.header} - ${t.pageMargins.top})`, h.style.minHeight = `calc(${t.pageMargins.top} - ${t.pageMargins.header})`) : i.rootElement.type === B.Footer && (h.style.marginBottom = `calc(${t.pageMargins.footer} - ${t.pageMargins.bottom})`, h.style.minHeight = `calc(${t.pageMargins.bottom} - ${t.pageMargins.footer})`)), this.currentPart = null;
4886
+ const [y] = this.renderElements([i.rootElement], a);
4887
+ t != null && t.pageMargins && (i.rootElement.type === B.Header ? (y.style.marginTop = `calc(${t.pageMargins.header} - ${t.pageMargins.top})`, y.style.minHeight = `calc(${t.pageMargins.top} - ${t.pageMargins.header})`) : i.rootElement.type === B.Footer && (y.style.marginBottom = `calc(${t.pageMargins.footer} - ${t.pageMargins.bottom})`, y.style.minHeight = `calc(${t.pageMargins.bottom} - ${t.pageMargins.footer})`)), this.currentPart = null;
4885
4888
  }
4886
4889
  }
4887
4890
  }
@@ -4895,32 +4898,32 @@ class $r {
4895
4898
  splitBySection(e, t) {
4896
4899
  var _;
4897
4900
  var r = { sectProps: null, elements: [], pageBreak: !1 }, n = [r];
4898
- for (let k of e) {
4899
- if (k.type == B.Paragraph) {
4900
- const d = this.findStyle(k.styleName);
4901
+ for (let w of e) {
4902
+ if (w.type == B.Paragraph) {
4903
+ const d = this.findStyle(w.styleName);
4901
4904
  (_ = d == null ? void 0 : d.paragraphProps) != null && _.pageBreakBefore && (r.sectProps = a, r.pageBreak = !0, r = { sectProps: null, elements: [], pageBreak: !1 }, n.push(r));
4902
4905
  }
4903
- if (r.elements.push(k), k.type == B.Paragraph) {
4904
- const d = k;
4906
+ if (r.elements.push(w), w.type == B.Paragraph) {
4907
+ const d = w;
4905
4908
  var a = d.sectionProps, o = -1, i = -1;
4906
- if (this.options.breakPages && d.children && (o = d.children.findIndex((v) => {
4907
- var u;
4908
- return i = ((u = v.children) == null ? void 0 : u.findIndex(this.isPageBreakElement.bind(this))) ?? -1, i != -1;
4909
+ if (this.options.breakPages && d.children && (o = d.children.findIndex((k) => {
4910
+ var u, m;
4911
+ return i = (m = (u = k.children) == null ? void 0 : u.findIndex(this.isPageBreakElement.bind(this))) != null ? m : -1, i != -1;
4909
4912
  })), (a || o != -1) && (r.sectProps = a, r.pageBreak = o != -1, r = { sectProps: null, elements: [], pageBreak: !1 }, n.push(r)), o != -1) {
4910
- let v = d.children[o], u = i < v.children.length - 1;
4913
+ let k = d.children[o], u = i < k.children.length - 1;
4911
4914
  if (o < d.children.length - 1 || u) {
4912
- var h = k.children, y = { ...k, children: h.slice(o) };
4913
- if (k.children = h.slice(0, o), r.elements.push(y), u) {
4914
- let m = v.children, f = { ...v, children: m.slice(0, i) };
4915
- k.children.push(f), v.children = m.slice(i);
4915
+ var h = w.children, b = { ...w, children: h.slice(o) };
4916
+ if (w.children = h.slice(0, o), r.elements.push(b), u) {
4917
+ let m = k.children, f = { ...k, children: m.slice(0, i) };
4918
+ w.children.push(f), k.children = m.slice(i);
4916
4919
  }
4917
4920
  }
4918
4921
  }
4919
4922
  }
4920
4923
  }
4921
- let w = null;
4922
- for (let k = n.length - 1; k >= 0; k--)
4923
- n[k].sectProps == null ? n[k].sectProps = w ?? t : w = n[k].sectProps;
4924
+ let y = null;
4925
+ for (let w = n.length - 1; w >= 0; w--)
4926
+ n[w].sectProps == null ? n[w].sectProps = y != null ? y : t : y = n[w].sectProps;
4924
4927
  return n;
4925
4928
  }
4926
4929
  groupByPageBreaks(e) {
@@ -4967,16 +4970,16 @@ section.${e}>footer { z-index: 1; }
4967
4970
  content: "' '",
4968
4971
  display: "inline-block",
4969
4972
  background: `var(${h})`
4970
- }, a.bullet.style), this.tasks.push(this.document.loadNumberingImage(a.bullet.src).then((y) => {
4971
- var w = `${this.rootSelector} { ${h}: url(${y}) }`;
4972
- t.appendChild(this.createStyleElement(w));
4973
+ }, a.bullet.style), this.tasks.push(this.document.loadNumberingImage(a.bullet.src).then((b) => {
4974
+ var y = `${this.rootSelector} { ${h}: url(${b}) }`;
4975
+ t.appendChild(this.createStyleElement(y));
4973
4976
  }));
4974
4977
  } else if (a.levelText) {
4975
4978
  let h = this.numberingCounter(a.id, a.level);
4976
- const y = h + " " + (a.start - 1);
4979
+ const b = h + " " + (a.start - 1);
4977
4980
  a.level > 0 && (r += this.styleToString(`p.${this.numberingClass(a.id, a.level - 1)}`, {
4978
- "counter-set": y
4979
- })), n.push(y), r += this.styleToString(`${o}:before`, {
4981
+ "counter-set": b
4982
+ })), n.push(b), r += this.styleToString(`${o}:before`, {
4980
4983
  content: this.levelTextToContent(a.levelText, a.suff, a.id, this.numFormatToCssValue(a.format)),
4981
4984
  "counter-increment": h,
4982
4985
  ...a.rStyle
@@ -4995,17 +4998,18 @@ section.${e}>footer { z-index: 1; }
4995
4998
  })), this.createStyleElement(r);
4996
4999
  }
4997
5000
  renderStyles(e) {
5001
+ var h;
4998
5002
  var t = "";
4999
- const r = this.styleMap, n = wt(e.filter((h) => h.isDefault), (h) => h.target);
5000
- for (const h of e) {
5001
- var a = h.styles;
5002
- if (h.linked) {
5003
- var o = h.linked && r[h.linked];
5004
- o ? a = a.concat(o.styles) : this.options.debug && console.warn(`Can't find linked style ${h.linked}`);
5003
+ const r = this.styleMap, n = wt(e.filter((b) => b.isDefault), (b) => b.target);
5004
+ for (const b of e) {
5005
+ var a = b.styles;
5006
+ if (b.linked) {
5007
+ var o = b.linked && r[b.linked];
5008
+ o ? a = a.concat(o.styles) : this.options.debug && console.warn(`Can't find linked style ${b.linked}`);
5005
5009
  }
5006
5010
  for (const y of a) {
5007
- var i = `${h.target ?? ""}.${h.cssName}`;
5008
- h.target != y.target && (i += ` ${y.target}`), n[h.target] == h && (i = `.${this.className} ${h.target}, ` + i), t += this.styleToString(i, y.values);
5011
+ var i = `${(h = b.target) != null ? h : ""}.${b.cssName}`;
5012
+ b.target != y.target && (i += ` ${y.target}`), n[b.target] == b && (i = `.${this.className} ${b.target}, ` + i), t += this.styleToString(i, y.values);
5009
5013
  }
5010
5014
  }
5011
5015
  return this.createStyleElement(t);
@@ -5144,11 +5148,11 @@ section.${e}>footer { z-index: 1; }
5144
5148
  return this.createElementNS(t, r, n, this.renderElements(e.children));
5145
5149
  }
5146
5150
  renderParagraph(e) {
5147
- var a, o;
5151
+ var a, o, i, h;
5148
5152
  var t = this.renderContainer(e, "p");
5149
5153
  const r = this.findStyle(e.styleName);
5150
- e.tabs ?? (e.tabs = (a = r == null ? void 0 : r.paragraphProps) == null ? void 0 : a.tabs), this.renderClass(e, t), this.renderStyleValues(e.cssStyle, t), this.renderCommonProperties(t.style, e);
5151
- const n = e.numbering ?? ((o = r == null ? void 0 : r.paragraphProps) == null ? void 0 : o.numbering);
5154
+ (o = e.tabs) != null || (e.tabs = (a = r == null ? void 0 : r.paragraphProps) == null ? void 0 : a.tabs), this.renderClass(e, t), this.renderStyleValues(e.cssStyle, t), this.renderCommonProperties(t.style, e);
5155
+ const n = (h = e.numbering) != null ? h : (i = r == null ? void 0 : r.paragraphProps) == null ? void 0 : i.numbering;
5152
5156
  return n && t.classList.add(this.numberingClass(n.id, n.level)), t;
5153
5157
  }
5154
5158
  renderRunProperties(e, t) {
@@ -5158,12 +5162,13 @@ section.${e}>footer { z-index: 1; }
5158
5162
  t != null && (t.color && (e.color = t.color), t.fontSize && (e["font-size"] = t.fontSize));
5159
5163
  }
5160
5164
  renderHyperlink(e) {
5165
+ var n;
5161
5166
  var t = this.renderContainer(e, "a");
5162
5167
  this.renderStyleValues(e.cssStyle, t);
5163
5168
  let r = "";
5164
5169
  if (e.id) {
5165
- const n = this.document.documentPart.rels.find((a) => a.id == e.id && a.targetMode === "External");
5166
- r = (n == null ? void 0 : n.target) ?? r;
5170
+ const a = this.document.documentPart.rels.find((o) => o.id == e.id && o.targetMode === "External");
5171
+ r = (n = a == null ? void 0 : a.target) != null ? n : r;
5167
5172
  }
5168
5173
  return e.anchor && (r += `#${e.anchor}`), t.href = r, t;
5169
5174
  }
@@ -5213,12 +5218,12 @@ section.${e}>footer { z-index: 1; }
5213
5218
  renderImage(e) {
5214
5219
  var h;
5215
5220
  let t = this.createElement("img"), r = (h = e.cssStyle) == null ? void 0 : h.transform;
5216
- if (this.renderStyleValues(e.cssStyle, t), e.srcRect && e.srcRect.some((y) => y != 0)) {
5221
+ if (this.renderStyleValues(e.cssStyle, t), e.srcRect && e.srcRect.some((b) => b != 0)) {
5217
5222
  var [n, a, o, i] = e.srcRect;
5218
5223
  r = `scale(${1 / (1 - n - o)}, ${1 / (1 - a - i)})`, t.style["clip-path"] = `rect(${(100 * a).toFixed(2)}% ${(100 * (1 - o)).toFixed(2)}% ${(100 * (1 - i)).toFixed(2)}% ${(100 * n).toFixed(2)}%)`;
5219
5224
  }
5220
- return e.rotation && (r = `rotate(${e.rotation}deg) ${r ?? ""}`), t.style.transform = r == null ? void 0 : r.trim(), this.document && this.tasks.push(this.document.loadDocumentImage(e.src, this.currentPart).then((y) => {
5221
- t.src = y;
5225
+ return e.rotation && (r = `rotate(${e.rotation}deg) ${r != null ? r : ""}`), t.style.transform = r == null ? void 0 : r.trim(), this.document && this.tasks.push(this.document.loadDocumentImage(e.src, this.currentPart).then((b) => {
5226
+ t.src = b;
5222
5227
  })), t;
5223
5228
  }
5224
5229
  renderText(e) {
@@ -5326,16 +5331,17 @@ section.${e}>footer { z-index: 1; }
5326
5331
  return this.createElementNS(nt.mathML, "mroot", null, this.renderElements([t, r]));
5327
5332
  }
5328
5333
  renderMmlDelimiter(e) {
5334
+ var r, n;
5329
5335
  const t = [];
5330
- return t.push(this.createElementNS(nt.mathML, "mo", null, [e.props.beginChar ?? "("])), t.push(...this.renderElements(e.children)), t.push(this.createElementNS(nt.mathML, "mo", null, [e.props.endChar ?? ")"])), this.createElementNS(nt.mathML, "mrow", null, t);
5336
+ return t.push(this.createElementNS(nt.mathML, "mo", null, [(r = e.props.beginChar) != null ? r : "("])), t.push(...this.renderElements(e.children)), t.push(this.createElementNS(nt.mathML, "mo", null, [(n = e.props.endChar) != null ? n : ")"])), this.createElementNS(nt.mathML, "mrow", null, t);
5331
5337
  }
5332
5338
  renderMmlNary(e) {
5333
- var y;
5334
- const t = [], r = wt(e.children, (w) => w.type), n = r[B.MmlSuperArgument], a = r[B.MmlSubArgument], o = n ? this.createElementNS(nt.mathML, "mo", null, At(this.renderElement(n))) : null, i = a ? this.createElementNS(nt.mathML, "mo", null, At(this.renderElement(a))) : null, h = this.createElementNS(nt.mathML, "mo", null, [((y = e.props) == null ? void 0 : y.char) ?? "∫"]);
5339
+ var b, y;
5340
+ const t = [], r = wt(e.children, (_) => _.type), n = r[B.MmlSuperArgument], a = r[B.MmlSubArgument], o = n ? this.createElementNS(nt.mathML, "mo", null, At(this.renderElement(n))) : null, i = a ? this.createElementNS(nt.mathML, "mo", null, At(this.renderElement(a))) : null, h = this.createElementNS(nt.mathML, "mo", null, [(y = (b = e.props) == null ? void 0 : b.char) != null ? y : "∫"]);
5335
5341
  return o || i ? t.push(this.createElementNS(nt.mathML, "munderover", null, [h, i, o])) : o ? t.push(this.createElementNS(nt.mathML, "mover", null, [h, o])) : i ? t.push(this.createElementNS(nt.mathML, "munder", null, [h, i])) : t.push(h), t.push(...this.renderElements(r[B.MmlBase].children)), this.createElementNS(nt.mathML, "mrow", null, t);
5336
5342
  }
5337
5343
  renderMmlPreSubSuper(e) {
5338
- const t = [], r = wt(e.children, (y) => y.type), n = r[B.MmlSuperArgument], a = r[B.MmlSubArgument], o = n ? this.createElementNS(nt.mathML, "mo", null, At(this.renderElement(n))) : null, i = a ? this.createElementNS(nt.mathML, "mo", null, At(this.renderElement(a))) : null, h = this.createElementNS(nt.mathML, "mo", null);
5344
+ const t = [], r = wt(e.children, (b) => b.type), n = r[B.MmlSuperArgument], a = r[B.MmlSubArgument], o = n ? this.createElementNS(nt.mathML, "mo", null, At(this.renderElement(n))) : null, i = a ? this.createElementNS(nt.mathML, "mo", null, At(this.renderElement(a))) : null, h = this.createElementNS(nt.mathML, "mo", null);
5339
5345
  return t.push(this.createElementNS(nt.mathML, "msubsup", null, [h, i, o])), t.push(...this.renderElements(r[B.MmlBase].children)), this.createElementNS(nt.mathML, "mrow", null, t);
5340
5346
  }
5341
5347
  renderMmlGroupChar(e) {
@@ -5397,17 +5403,19 @@ section.${e}>footer { z-index: 1; }
5397
5403
  return `${this.className}-num-${e}-${t}`;
5398
5404
  }
5399
5405
  levelTextToContent(e, t, r, n) {
5406
+ var i;
5400
5407
  const a = {
5401
5408
  tab: "\\9",
5402
5409
  space: "\\a0"
5403
5410
  };
5404
- var o = e.replace(/%\d*/g, (i) => {
5405
- let h = parseInt(i.substring(1), 10) - 1;
5406
- return `"counter(${this.numberingCounter(r, h)}, ${n})"`;
5411
+ var o = e.replace(/%\d*/g, (h) => {
5412
+ let b = parseInt(h.substring(1), 10) - 1;
5413
+ return `"counter(${this.numberingCounter(r, b)}, ${n})"`;
5407
5414
  });
5408
- return `"${o}${a[t] ?? ""}"`;
5415
+ return `"${o}${(i = a[t]) != null ? i : ""}"`;
5409
5416
  }
5410
5417
  numFormatToCssValue(e) {
5418
+ var r;
5411
5419
  var t = {
5412
5420
  none: "none",
5413
5421
  bullet: "disc",
@@ -5444,7 +5452,7 @@ section.${e}>footer { z-index: 1; }
5444
5452
  taiwaneseCountingThousand: "cjk-ideographic",
5445
5453
  taiwaneseDigital: "cjk-decimal"
5446
5454
  };
5447
- return t[e] ?? e;
5455
+ return (r = t[e]) != null ? r : e;
5448
5456
  }
5449
5457
  refreshTabStops() {
5450
5458
  this.options.experimental && setTimeout(() => {
@@ -5513,13 +5521,13 @@ async function Zr(c, e, t, r) {
5513
5521
  const n = { ...be, ...r };
5514
5522
  return await new $r(window.document).render(c, e, t, n);
5515
5523
  }
5516
- async function Vr(c, e, t, r) {
5524
+ async function Gr(c, e, t, r) {
5517
5525
  const n = await Hr(c, r);
5518
5526
  return await Zr(n, e, t, r), n;
5519
5527
  }
5520
5528
  export {
5521
5529
  be as defaultOptions,
5522
5530
  Hr as parseAsync,
5523
- Vr as renderAsync,
5531
+ Gr as renderAsync,
5524
5532
  Zr as renderDocument
5525
5533
  };