@fileverse-dev/dsheet 4.0.3-import-compaction.2 → 4.0.4

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 (26) hide show
  1. package/dist/{constants-Cdz6oSCq.js → constants-CRFfbkoQ.js} +1 -1
  2. package/dist/constants.js +1 -1
  3. package/dist/{crypto-constants-CqpCRs86.js → crypto-constants-ZTlAYRUf.js} +33 -22
  4. package/dist/editor/hooks/use-celldata-compaction.d.ts +3 -2
  5. package/dist/editor/utils/compact-committed-celldata.d.ts +10 -11
  6. package/dist/{executeStringFunction-C1C2F-4h.js → executeStringFunction-CsLQk-dm.js} +44 -30
  7. package/dist/formula.js +1 -1
  8. package/dist/{index-DdJcYIoi.js → index-DvwJ-8x8.js} +9343 -9496
  9. package/dist/index.es.js +7 -7
  10. package/dist/sheet-engine/core/api/common.d.ts +0 -1
  11. package/dist/sheet-engine/core/paste/paste-border-utils.d.ts +0 -2
  12. package/dist/sheet-engine/core/types.d.ts +0 -4
  13. package/dist/sheet-engine/react/components/Workbook/api.d.ts +0 -1
  14. package/dist/sheet-engine/react/components/Workbook/index.d.ts +0 -1
  15. package/dist/{template-data-list-oP1s0Uxn.js → template-data-list-RKnVLsuf.js} +51 -50
  16. package/dist/use-xlsx-import-impl-I69dMglI.js +1549 -0
  17. package/dist/{xlsx-export-impl-Dtm9yKqt.js → xlsx-export-impl-Bg7Suzh-.js} +300 -301
  18. package/dist/xlsx-hyperlink-inline-DzewAypN.js +71 -0
  19. package/dist/xlsx-image-utils-Cvg0qxRA.js +126 -0
  20. package/package.json +3 -4
  21. package/dist/editor/utils/import-compaction.d.ts +0 -25
  22. package/dist/editor/utils/xlsx-import-pipeline.d.ts +0 -25
  23. package/dist/use-xlsx-import-impl-DVD4F0Xa.js +0 -1892
  24. package/dist/worker/dsheet-worker-client.d.ts +0 -14
  25. package/dist/worker/dsheet-worker.d.ts +0 -14
  26. package/dist/xlsx-hyperlink-inline-D8ZL-y78.js +0 -195
@@ -1,10 +1,11 @@
1
1
  import { utils as dt, write as Pt } from "xlsx-js-style";
2
2
  import { Workbook as Ut } from "exceljs";
3
3
  import { toast as Rt } from "@fileverse/ui";
4
- import { a as zt, g as Lt, b as jt } from "./xlsx-hyperlink-inline-D8ZL-y78.js";
5
- import { g as Wt, c as xt, b as Mt } from "./executeStringFunction-C1C2F-4h.js";
6
- import { a as St, e as Zt } from "./index-DdJcYIoi.js";
7
- const $t = {
4
+ import { addFortuneImagesToWorksheet as Lt } from "./xlsx-image-utils-Cvg0qxRA.js";
5
+ import { g as jt, c as xt, b as Wt } from "./executeStringFunction-CsLQk-dm.js";
6
+ import { c as Ct } from "./index-DvwJ-8x8.js";
7
+ import { c as zt, g as Mt } from "./xlsx-hyperlink-inline-DzewAypN.js";
8
+ const Zt = {
8
9
  1: "thin",
9
10
  2: "hair",
10
11
  3: "dotted",
@@ -18,7 +19,7 @@ const $t = {
18
19
  11: "mediumDashDotDot",
19
20
  12: "slantDashDot",
20
21
  13: "thick"
21
- }, Ht = (U) => {
22
+ }, $t = (U) => {
22
23
  if (typeof U != "string") return "000000";
23
24
  const K = U.replace("#", "").toUpperCase();
24
25
  return K.length === 3 ? K.replace(/(.)/g, "$1$1") : K.length === 6 ? K : "000000";
@@ -26,28 +27,28 @@ const $t = {
26
27
  const s = Number(U);
27
28
  if (s)
28
29
  return {
29
- style: $t[s] ?? "thin",
30
- color: { rgb: Ht(K) }
30
+ style: Zt[s] ?? "thin",
31
+ color: { rgb: $t(K) }
31
32
  };
32
- }, _t = (U, K, s, S, c) => {
33
- if (!c || !S.l && !S.r && !S.t && !S.b) return;
33
+ }, _t = (U, K, s, C, c) => {
34
+ if (!c || !C.l && !C.r && !C.t && !C.b) return;
34
35
  const o = dt.encode_cell({ r: K, c: s }), a = {
35
36
  ...U[o] || { t: "z" }
36
37
  }, r = { ...a.s || {} }, l = { ...r.border || {} };
37
- S.l && (l.left = c), S.r && (l.right = c), S.t && (l.top = c), S.b && (l.bottom = c), r.border = l, a.s = r, U[o] = a;
38
- }, Vt = (U, K) => {
38
+ C.l && (l.left = c), C.r && (l.right = c), C.t && (l.top = c), C.b && (l.bottom = c), r.border = l, a.s = r, U[o] = a;
39
+ }, Ht = (U, K) => {
39
40
  K.forEach((s) => {
40
41
  if (s.rangeType === "cell") {
41
42
  if (!s.value) return;
42
- const { row_index: S, col_index: c } = s.value;
43
- if (S == null || c == null) return;
44
- const o = s.value, a = dt.encode_cell({ r: S, c }), r = {
43
+ const { row_index: C, col_index: c } = s.value;
44
+ if (C == null || c == null) return;
45
+ const o = s.value, a = dt.encode_cell({ r: C, c }), r = {
45
46
  ...U[a] || { t: "z" }
46
47
  }, l = { ...r.s || {} }, h = { ...l.border || {} };
47
48
  o.l && (h.left = vt(o.l.style, o.l.color)), o.r && (h.right = vt(o.r.style, o.r.color)), o.t && (h.top = vt(o.t.style, o.t.color)), o.b && (h.bottom = vt(o.b.style, o.b.color)), l.border = h, r.s = l, U[a] = r;
48
49
  } else if (s.rangeType === "range") {
49
- const { borderType: S, style: c, color: o, range: a } = s;
50
- if (S === "border-none" || !Array.isArray(a) || !c)
50
+ const { borderType: C, style: c, color: o, range: a } = s;
51
+ if (C === "border-none" || !Array.isArray(a) || !c)
51
52
  return;
52
53
  const r = vt(c, o);
53
54
  if (!r) return;
@@ -55,7 +56,7 @@ const $t = {
55
56
  const [h, v] = l.row, [b, y] = l.column;
56
57
  for (let n = h; n <= v; n++)
57
58
  for (let p = b; p <= y; p++)
58
- switch (S) {
59
+ switch (C) {
59
60
  case "border-all":
60
61
  _t(
61
62
  U,
@@ -110,39 +111,39 @@ function Et(U) {
110
111
  if (!U || typeof U != "string") return null;
111
112
  const K = U.trim();
112
113
  if (K.startsWith("#")) {
113
- const S = K.replace("#", "").toUpperCase();
114
- return S.length === 3 ? "FF" + S.split("").map((c) => c + c).join("") : S.length === 6 ? "FF" + S : null;
114
+ const C = K.replace("#", "").toUpperCase();
115
+ return C.length === 3 ? "FF" + C.split("").map((c) => c + c).join("") : C.length === 6 ? "FF" + C : null;
115
116
  }
116
117
  const s = K.match(/rgba?\s*\(\s*([\d.]+)[,\s]+([\d.]+)[,\s]+([\d.]+)/i);
117
118
  if (s) {
118
- const S = (c) => Math.min(255, Math.max(0, Math.round(c))).toString(16).padStart(2, "0").toUpperCase();
119
- return "FF" + S(parseFloat(s[1])) + S(parseFloat(s[2])) + S(parseFloat(s[3]));
119
+ const C = (c) => Math.min(255, Math.max(0, Math.round(c))).toString(16).padStart(2, "0").toUpperCase();
120
+ return "FF" + C(parseFloat(s[1])) + C(parseFloat(s[2])) + C(parseFloat(s[3]));
120
121
  }
121
122
  return null;
122
123
  }
123
- function Gt(U) {
124
+ function Vt(U) {
124
125
  const K = {}, s = {};
125
126
  if (U.textColor && U.textColor.toLowerCase() !== "#000000") {
126
127
  const c = Et(U.textColor);
127
128
  c && (s.color = { argb: c });
128
129
  }
129
130
  U.bold && (s.bold = !0), U.italic && (s.italic = !0), U.underline && (s.underline = !0), U.strikethrough && (s.strike = !0), Object.keys(s).length > 0 && (K.font = s);
130
- const S = U.cellColor;
131
- if (S && S.toLowerCase() !== "#ffffff") {
132
- const c = Et(S);
131
+ const C = U.cellColor;
132
+ if (C && C.toLowerCase() !== "#ffffff") {
133
+ const c = Et(C);
133
134
  c && (K.fill = { type: "pattern", pattern: "solid", fgColor: { argb: c } });
134
135
  }
135
136
  return K;
136
137
  }
137
- function Yt(U) {
138
+ function Gt(U) {
138
139
  return !Array.isArray(U) || U.length === 0 ? "" : U.map((s) => {
139
- const [S, c] = s.row, [o, a] = s.column, r = dt.encode_cell({ r: S, c: o }), l = dt.encode_cell({ r: c, c: a });
140
+ const [C, c] = s.row, [o, a] = s.column, r = dt.encode_cell({ r: C, c: o }), l = dt.encode_cell({ r: c, c: a });
140
141
  return r === l ? r : `${r}:${l}`;
141
142
  }).filter(Boolean).join(" ");
142
143
  }
143
- function Kt(U, K, s) {
144
- const { conditionName: S, conditionValue: c = [], format: o = {} } = U, a = Gt(o), r = (h) => h.replace(/"/g, '""'), l = K.split(/[\s:]/)[0];
145
- switch (S) {
144
+ function Yt(U, K, s) {
145
+ const { conditionName: C, conditionValue: c = [], format: o = {} } = U, a = Vt(o), r = (h) => h.replace(/"/g, '""'), l = K.split(/[\s:]/)[0];
146
+ switch (C) {
146
147
  case "greaterThan":
147
148
  case "greaterThanOrEqual":
148
149
  case "lessThan":
@@ -150,7 +151,7 @@ function Kt(U, K, s) {
150
151
  case "equal":
151
152
  return c[0] ? {
152
153
  type: "cellIs",
153
- operator: S,
154
+ operator: C,
154
155
  formulae: [c[0]],
155
156
  priority: s,
156
157
  style: a
@@ -387,15 +388,15 @@ function Kt(U, K, s) {
387
388
  return null;
388
389
  }
389
390
  }
390
- function qt(U, K, s) {
391
+ function Kt(U, K, s) {
391
392
  var a;
392
- const S = K.luckysheet_conditionformat_save, c = [];
393
- if (!Array.isArray(S) || S.length === 0)
393
+ const C = K.luckysheet_conditionformat_save, c = [];
394
+ if (!Array.isArray(C) || C.length === 0)
394
395
  return { nextPriority: s, pendingDuplicateValues: c };
395
396
  let o = s;
396
- for (const r of S) {
397
+ for (const r of C) {
397
398
  if (r.type !== "default") continue;
398
- const l = Yt(r.cellrange);
399
+ const l = Gt(r.cellrange);
399
400
  if (!l) continue;
400
401
  if (r.conditionName === "duplicateValue") {
401
402
  const v = String(((a = r.conditionValue) == null ? void 0 : a[0]) ?? "0") === "1" ? "uniqueValues" : "duplicateValues";
@@ -407,7 +408,7 @@ function qt(U, K, s) {
407
408
  }), o++;
408
409
  continue;
409
410
  }
410
- const h = Kt(r, l, o);
411
+ const h = Yt(r, l, o);
411
412
  h && (U.addConditionalFormatting({ ref: l, rules: [h] }), o++);
412
413
  }
413
414
  return { nextPriority: o, pendingDuplicateValues: c };
@@ -428,27 +429,27 @@ https://github.com/nodeca/pako/blob/main/LICENSE
428
429
  (function(s) {
429
430
  U.exports = s();
430
431
  })(function() {
431
- return function s(S, c, o) {
432
+ return function s(C, c, o) {
432
433
  function a(h, v) {
433
434
  if (!c[h]) {
434
- if (!S[h]) {
435
- var b = typeof St == "function" && St;
435
+ if (!C[h]) {
436
+ var b = typeof Ct == "function" && Ct;
436
437
  if (!v && b) return b(h, !0);
437
438
  if (r) return r(h, !0);
438
439
  var y = new Error("Cannot find module '" + h + "'");
439
440
  throw y.code = "MODULE_NOT_FOUND", y;
440
441
  }
441
442
  var n = c[h] = { exports: {} };
442
- S[h][0].call(n.exports, function(p) {
443
- var i = S[h][1][p];
443
+ C[h][0].call(n.exports, function(p) {
444
+ var i = C[h][1][p];
444
445
  return a(i || p);
445
- }, n, n.exports, s, S, c, o);
446
+ }, n, n.exports, s, C, c, o);
446
447
  }
447
448
  return c[h].exports;
448
449
  }
449
- for (var r = typeof St == "function" && St, l = 0; l < o.length; l++) a(o[l]);
450
+ for (var r = typeof Ct == "function" && Ct, l = 0; l < o.length; l++) a(o[l]);
450
451
  return a;
451
- }({ 1: [function(s, S, c) {
452
+ }({ 1: [function(s, C, c) {
452
453
  var o = s("./utils"), a = s("./support"), r = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
453
454
  c.encode = function(l) {
454
455
  for (var h, v, b, y, n, p, i, d = [], u = 0, _ = l.length, k = _, A = o.getTypeOf(l) !== "string"; u < l.length; ) k = _ - u, b = A ? (h = l[u++], v = u < _ ? l[u++] : 0, u < _ ? l[u++] : 0) : (h = l.charCodeAt(u++), v = u < _ ? l.charCodeAt(u++) : 0, u < _ ? l.charCodeAt(u++) : 0), y = h >> 2, n = (3 & h) << 4 | v >> 4, p = 1 < k ? (15 & v) << 2 | b >> 6 : 64, i = 2 < k ? 63 & b : 64, d.push(r.charAt(y) + r.charAt(n) + r.charAt(p) + r.charAt(i));
@@ -461,7 +462,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
461
462
  for (_ = a.uint8array ? new Uint8Array(0 | k) : new Array(0 | k); i < l.length; ) h = r.indexOf(l.charAt(i++)) << 2 | (y = r.indexOf(l.charAt(i++))) >> 4, v = (15 & y) << 4 | (n = r.indexOf(l.charAt(i++))) >> 2, b = (3 & n) << 6 | (p = r.indexOf(l.charAt(i++))), _[d++] = h, n !== 64 && (_[d++] = v), p !== 64 && (_[d++] = b);
462
463
  return _;
463
464
  };
464
- }, { "./support": 30, "./utils": 32 }], 2: [function(s, S, c) {
465
+ }, { "./support": 30, "./utils": 32 }], 2: [function(s, C, c) {
465
466
  var o = s("./external"), a = s("./stream/DataWorker"), r = s("./stream/Crc32Probe"), l = s("./stream/DataLengthProbe");
466
467
  function h(v, b, y, n, p) {
467
468
  this.compressedSize = v, this.uncompressedSize = b, this.crc32 = y, this.compression = n, this.compressedContent = p;
@@ -475,15 +476,15 @@ https://github.com/nodeca/pako/blob/main/LICENSE
475
476
  return new a(o.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize", this.compressedSize).withStreamInfo("uncompressedSize", this.uncompressedSize).withStreamInfo("crc32", this.crc32).withStreamInfo("compression", this.compression);
476
477
  } }, h.createWorkerFrom = function(v, b, y) {
477
478
  return v.pipe(new r()).pipe(new l("uncompressedSize")).pipe(b.compressWorker(y)).pipe(new l("compressedSize")).withStreamInfo("compression", b);
478
- }, S.exports = h;
479
- }, { "./external": 6, "./stream/Crc32Probe": 25, "./stream/DataLengthProbe": 26, "./stream/DataWorker": 27 }], 3: [function(s, S, c) {
479
+ }, C.exports = h;
480
+ }, { "./external": 6, "./stream/Crc32Probe": 25, "./stream/DataLengthProbe": 26, "./stream/DataWorker": 27 }], 3: [function(s, C, c) {
480
481
  var o = s("./stream/GenericWorker");
481
482
  c.STORE = { magic: "\0\0", compressWorker: function() {
482
483
  return new o("STORE compression");
483
484
  }, uncompressWorker: function() {
484
485
  return new o("STORE decompression");
485
486
  } }, c.DEFLATE = s("./flate");
486
- }, { "./flate": 7, "./stream/GenericWorker": 28 }], 4: [function(s, S, c) {
487
+ }, { "./flate": 7, "./stream/GenericWorker": 28 }], 4: [function(s, C, c) {
487
488
  var o = s("./utils"), a = function() {
488
489
  for (var r, l = [], h = 0; h < 256; h++) {
489
490
  r = h;
@@ -492,7 +493,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
492
493
  }
493
494
  return l;
494
495
  }();
495
- S.exports = function(r, l) {
496
+ C.exports = function(r, l) {
496
497
  return r !== void 0 && r.length ? o.getTypeOf(r) !== "string" ? function(h, v, b, y) {
497
498
  var n = a, p = y + b;
498
499
  h ^= -1;
@@ -505,12 +506,12 @@ https://github.com/nodeca/pako/blob/main/LICENSE
505
506
  return -1 ^ h;
506
507
  }(0 | l, r, r.length, 0) : 0;
507
508
  };
508
- }, { "./utils": 32 }], 5: [function(s, S, c) {
509
+ }, { "./utils": 32 }], 5: [function(s, C, c) {
509
510
  c.base64 = !1, c.binary = !1, c.dir = !1, c.createFolders = !0, c.date = null, c.compression = null, c.compressionOptions = null, c.comment = null, c.unixPermissions = null, c.dosPermissions = null;
510
- }, {}], 6: [function(s, S, c) {
511
+ }, {}], 6: [function(s, C, c) {
511
512
  var o = null;
512
- o = typeof Promise < "u" ? Promise : s("lie"), S.exports = { Promise: o };
513
- }, { lie: 37 }], 7: [function(s, S, c) {
513
+ o = typeof Promise < "u" ? Promise : s("lie"), C.exports = { Promise: o };
514
+ }, { lie: 37 }], 7: [function(s, C, c) {
514
515
  var o = typeof Uint8Array < "u" && typeof Uint16Array < "u" && typeof Uint32Array < "u", a = s("pako"), r = s("./utils"), l = s("./stream/GenericWorker"), h = o ? "uint8array" : "array";
515
516
  function v(b, y) {
516
517
  l.call(this, "FlateWorker/" + b), this._pako = null, this._pakoAction = b, this._pakoOptions = y, this.meta = {};
@@ -532,14 +533,14 @@ https://github.com/nodeca/pako/blob/main/LICENSE
532
533
  }, c.uncompressWorker = function() {
533
534
  return new v("Inflate", {});
534
535
  };
535
- }, { "./stream/GenericWorker": 28, "./utils": 32, pako: 38 }], 8: [function(s, S, c) {
536
+ }, { "./stream/GenericWorker": 28, "./utils": 32, pako: 38 }], 8: [function(s, C, c) {
536
537
  function o(n, p) {
537
538
  var i, d = "";
538
539
  for (i = 0; i < p; i++) d += String.fromCharCode(255 & n), n >>>= 8;
539
540
  return d;
540
541
  }
541
542
  function a(n, p, i, d, u, _) {
542
- var k, A, C = n.file, P = n.compression, B = _ !== h.utf8encode, Z = r.transformTo("string", _(C.name)), z = r.transformTo("string", h.utf8encode(C.name)), V = C.comment, X = r.transformTo("string", _(V)), g = r.transformTo("string", h.utf8encode(V)), O = z.length !== C.name.length, e = g.length !== V.length, F = "", J = "", W = "", et = C.dir, M = C.date, H = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
543
+ var k, A, S = n.file, P = n.compression, B = _ !== h.utf8encode, Z = r.transformTo("string", _(S.name)), z = r.transformTo("string", h.utf8encode(S.name)), V = S.comment, X = r.transformTo("string", _(V)), g = r.transformTo("string", h.utf8encode(V)), O = z.length !== S.name.length, e = g.length !== V.length, F = "", J = "", W = "", et = S.dir, M = S.date, H = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
543
544
  p && !i || (H.crc32 = n.crc32, H.compressedSize = n.compressedSize, H.uncompressedSize = n.uncompressedSize);
544
545
  var E = 0;
545
546
  p && (E |= 8), B || !O && !e || (E |= 2048);
@@ -547,9 +548,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
547
548
  et && (w |= 16), u === "UNIX" ? (N = 798, w |= function(R, it) {
548
549
  var nt = R;
549
550
  return R || (nt = it ? 16893 : 33204), (65535 & nt) << 16;
550
- }(C.unixPermissions, et)) : (N = 20, w |= function(R) {
551
+ }(S.unixPermissions, et)) : (N = 20, w |= function(R) {
551
552
  return 63 & (R || 0);
552
- }(C.dosPermissions)), k = M.getUTCHours(), k <<= 6, k |= M.getUTCMinutes(), k <<= 5, k |= M.getUTCSeconds() / 2, A = M.getUTCFullYear() - 1980, A <<= 4, A |= M.getUTCMonth() + 1, A <<= 5, A |= M.getUTCDate(), O && (J = o(1, 1) + o(v(Z), 4) + z, F += "up" + o(J.length, 2) + J), e && (W = o(1, 1) + o(v(X), 4) + g, F += "uc" + o(W.length, 2) + W);
553
+ }(S.dosPermissions)), k = M.getUTCHours(), k <<= 6, k |= M.getUTCMinutes(), k <<= 5, k |= M.getUTCSeconds() / 2, A = M.getUTCFullYear() - 1980, A <<= 4, A |= M.getUTCMonth() + 1, A <<= 5, A |= M.getUTCDate(), O && (J = o(1, 1) + o(v(Z), 4) + z, F += "up" + o(J.length, 2) + J), e && (W = o(1, 1) + o(v(X), 4) + g, F += "uc" + o(W.length, 2) + W);
553
554
  var $ = "";
554
555
  return $ += `
555
556
  \0`, $ += o(E, 2), $ += P.magic, $ += o(k, 2), $ += o(A, 2), $ += o(H.crc32, 4), $ += o(H.compressedSize, 4), $ += o(H.uncompressedSize, 4), $ += o(Z.length, 2), $ += o(F.length, 2), { fileRecord: b.LOCAL_FILE_HEADER + $ + Z + F, dirRecord: b.CENTRAL_FILE_HEADER + o(N, 2) + $ + o(X.length, 2) + "\0\0\0\0" + o(w, 4) + o(d, 4) + Z + F + X };
@@ -578,8 +579,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
578
579
  this.currentFile = null;
579
580
  }, y.prototype.flush = function() {
580
581
  for (var n = this.bytesWritten, p = 0; p < this.dirRecords.length; p++) this.push({ data: this.dirRecords[p], meta: { percent: 100 } });
581
- var i = this.bytesWritten - n, d = function(u, _, k, A, C) {
582
- var P = r.transformTo("string", C(A));
582
+ var i = this.bytesWritten - n, d = function(u, _, k, A, S) {
583
+ var P = r.transformTo("string", S(A));
583
584
  return b.CENTRAL_DIRECTORY_END + "\0\0\0\0" + o(u, 2) + o(u, 2) + o(_, 4) + o(k, 4) + o(P.length, 2) + P;
584
585
  }(this.dirRecords.length, i, n, this.zipComment, this.encodeFileName);
585
586
  this.push({ data: d, meta: { percent: 100 } });
@@ -608,8 +609,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
608
609
  }, y.prototype.lock = function() {
609
610
  l.prototype.lock.call(this);
610
611
  for (var n = this._sources, p = 0; p < n.length; p++) n[p].lock();
611
- }, S.exports = y;
612
- }, { "../crc32": 4, "../signature": 23, "../stream/GenericWorker": 28, "../utf8": 31, "../utils": 32 }], 9: [function(s, S, c) {
612
+ }, C.exports = y;
613
+ }, { "../crc32": 4, "../signature": 23, "../stream/GenericWorker": 28, "../utf8": 31, "../utils": 32 }], 9: [function(s, C, c) {
613
614
  var o = s("../compressions"), a = s("./ZipFileWorker");
614
615
  c.generateWorker = function(r, l, h) {
615
616
  var v = new a(l.streamFiles, h, l.platform, l.encodeFileName), b = 0;
@@ -617,9 +618,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
617
618
  r.forEach(function(y, n) {
618
619
  b++;
619
620
  var p = function(_, k) {
620
- var A = _ || k, C = o[A];
621
- if (!C) throw new Error(A + " is not a valid compression method !");
622
- return C;
621
+ var A = _ || k, S = o[A];
622
+ if (!S) throw new Error(A + " is not a valid compression method !");
623
+ return S;
623
624
  }(n.options.compression, l.compression), i = n.options.compressionOptions || l.compressionOptions || {}, d = n.dir, u = n.date;
624
625
  n._compressWorker(p, i).withStreamInfo("file", { name: y, dir: d, date: u, comment: n.comment || "", unixPermissions: n.unixPermissions, dosPermissions: n.dosPermissions }).pipe(v);
625
626
  }), v.entriesCount = b;
@@ -628,7 +629,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
628
629
  }
629
630
  return v;
630
631
  };
631
- }, { "../compressions": 3, "./ZipFileWorker": 8 }], 10: [function(s, S, c) {
632
+ }, { "../compressions": 3, "./ZipFileWorker": 8 }], 10: [function(s, C, c) {
632
633
  function o() {
633
634
  if (!(this instanceof o)) return new o();
634
635
  if (arguments.length) throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");
@@ -640,8 +641,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
640
641
  }
641
642
  (o.prototype = s("./object")).loadAsync = s("./load"), o.support = s("./support"), o.defaults = s("./defaults"), o.version = "3.10.1", o.loadAsync = function(a, r) {
642
643
  return new o().loadAsync(a, r);
643
- }, o.external = s("./external"), S.exports = o;
644
- }, { "./defaults": 5, "./external": 6, "./load": 11, "./object": 15, "./support": 30 }], 11: [function(s, S, c) {
644
+ }, o.external = s("./external"), C.exports = o;
645
+ }, { "./defaults": 5, "./external": 6, "./load": 11, "./object": 15, "./support": 30 }], 11: [function(s, C, c) {
645
646
  var o = s("./utils"), a = s("./external"), r = s("./utf8"), l = s("./zipEntries"), h = s("./stream/Crc32Probe"), v = s("./nodejsUtils");
646
647
  function b(y) {
647
648
  return new a.Promise(function(n, p) {
@@ -653,7 +654,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
653
654
  }).resume();
654
655
  });
655
656
  }
656
- S.exports = function(y, n) {
657
+ C.exports = function(y, n) {
657
658
  var p = this;
658
659
  return n = o.extend(n || {}, { base64: !1, checkCRC32: !1, optimizedBinaryString: !1, createFolders: !1, decodeFileName: r.utf8decode }), v.isNode && v.isStream(y) ? a.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")) : o.prepareContent("the loaded zip file", y, !0, n.optimizedBinaryString, n.base64).then(function(i) {
659
660
  var d = new l(n);
@@ -664,13 +665,13 @@ https://github.com/nodeca/pako/blob/main/LICENSE
664
665
  return a.Promise.all(d);
665
666
  }).then(function(i) {
666
667
  for (var d = i.shift(), u = d.files, _ = 0; _ < u.length; _++) {
667
- var k = u[_], A = k.fileNameStr, C = o.resolve(k.fileNameStr);
668
- p.file(C, k.decompressed, { binary: !0, optimizedBinaryString: !0, date: k.date, dir: k.dir, comment: k.fileCommentStr.length ? k.fileCommentStr : null, unixPermissions: k.unixPermissions, dosPermissions: k.dosPermissions, createFolders: n.createFolders }), k.dir || (p.file(C).unsafeOriginalName = A);
668
+ var k = u[_], A = k.fileNameStr, S = o.resolve(k.fileNameStr);
669
+ p.file(S, k.decompressed, { binary: !0, optimizedBinaryString: !0, date: k.date, dir: k.dir, comment: k.fileCommentStr.length ? k.fileCommentStr : null, unixPermissions: k.unixPermissions, dosPermissions: k.dosPermissions, createFolders: n.createFolders }), k.dir || (p.file(S).unsafeOriginalName = A);
669
670
  }
670
671
  return d.zipComment.length && (p.comment = d.zipComment), p;
671
672
  });
672
673
  };
673
- }, { "./external": 6, "./nodejsUtils": 14, "./stream/Crc32Probe": 25, "./utf8": 31, "./utils": 32, "./zipEntries": 33 }], 12: [function(s, S, c) {
674
+ }, { "./external": 6, "./nodejsUtils": 14, "./stream/Crc32Probe": 25, "./utf8": 31, "./utils": 32, "./zipEntries": 33 }], 12: [function(s, C, c) {
674
675
  var o = s("../utils"), a = s("../stream/GenericWorker");
675
676
  function r(l, h) {
676
677
  a.call(this, "Nodejs stream input adapter for " + l), this._upstreamEnded = !1, this._bindStream(h);
@@ -688,8 +689,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
688
689
  return !!a.prototype.pause.call(this) && (this._stream.pause(), !0);
689
690
  }, r.prototype.resume = function() {
690
691
  return !!a.prototype.resume.call(this) && (this._upstreamEnded ? this.end() : this._stream.resume(), !0);
691
- }, S.exports = r;
692
- }, { "../stream/GenericWorker": 28, "../utils": 32 }], 13: [function(s, S, c) {
692
+ }, C.exports = r;
693
+ }, { "../stream/GenericWorker": 28, "../utils": 32 }], 13: [function(s, C, c) {
693
694
  var o = s("readable-stream").Readable;
694
695
  function a(r, l, h) {
695
696
  o.call(this, l), this._helper = r;
@@ -704,9 +705,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
704
705
  }
705
706
  s("../utils").inherits(a, o), a.prototype._read = function() {
706
707
  this._helper.resume();
707
- }, S.exports = a;
708
- }, { "../utils": 32, "readable-stream": 16 }], 14: [function(s, S, c) {
709
- S.exports = { isNode: typeof Buffer < "u", newBufferFrom: function(o, a) {
708
+ }, C.exports = a;
709
+ }, { "../utils": 32, "readable-stream": 16 }], 14: [function(s, C, c) {
710
+ C.exports = { isNode: typeof Buffer < "u", newBufferFrom: function(o, a) {
710
711
  if (Buffer.from && Buffer.from !== Uint8Array.from) return Buffer.from(o, a);
711
712
  if (typeof o == "number") throw new Error('The "data" argument must not be a number');
712
713
  return new Buffer(o, a);
@@ -719,70 +720,70 @@ https://github.com/nodeca/pako/blob/main/LICENSE
719
720
  }, isStream: function(o) {
720
721
  return o && typeof o.on == "function" && typeof o.pause == "function" && typeof o.resume == "function";
721
722
  } };
722
- }, {}], 15: [function(s, S, c) {
723
- function o(C, P, B) {
723
+ }, {}], 15: [function(s, C, c) {
724
+ function o(S, P, B) {
724
725
  var Z, z = r.getTypeOf(P), V = r.extend(B || {}, v);
725
- 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 && (C = u(C)), V.createFolders && (Z = d(C)) && _.call(this, Z, !0);
726
+ 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 && (S = u(S)), V.createFolders && (Z = d(S)) && _.call(this, Z, !0);
726
727
  var X = z === "string" && V.binary === !1 && V.base64 === !1;
727
728
  B && B.binary !== void 0 || (V.binary = !X), (P instanceof b && P.uncompressedSize === 0 || V.dir || !P || P.length === 0) && (V.base64 = !1, V.binary = !0, P = "", V.compression = "STORE", z = "string");
728
729
  var g = null;
729
- g = P instanceof b || P instanceof l ? P : p.isNode && p.isStream(P) ? new i(C, P) : r.prepareContent(C, P, V.binary, V.optimizedBinaryString, V.base64);
730
- var O = new y(C, g, V);
731
- this.files[C] = O;
732
- }
733
- var a = s("./utf8"), r = s("./utils"), l = s("./stream/GenericWorker"), h = s("./stream/StreamHelper"), v = s("./defaults"), b = s("./compressedObject"), y = s("./zipObject"), n = s("./generate"), p = s("./nodejsUtils"), i = s("./nodejs/NodejsStreamInputAdapter"), d = function(C) {
734
- C.slice(-1) === "/" && (C = C.substring(0, C.length - 1));
735
- var P = C.lastIndexOf("/");
736
- return 0 < P ? C.substring(0, P) : "";
737
- }, u = function(C) {
738
- return C.slice(-1) !== "/" && (C += "/"), C;
739
- }, _ = function(C, P) {
740
- return P = P !== void 0 ? P : v.createFolders, C = u(C), this.files[C] || o.call(this, C, null, { dir: !0, createFolders: P }), this.files[C];
730
+ g = P instanceof b || P instanceof l ? P : p.isNode && p.isStream(P) ? new i(S, P) : r.prepareContent(S, P, V.binary, V.optimizedBinaryString, V.base64);
731
+ var O = new y(S, g, V);
732
+ this.files[S] = O;
733
+ }
734
+ var a = s("./utf8"), r = s("./utils"), l = s("./stream/GenericWorker"), h = s("./stream/StreamHelper"), v = s("./defaults"), b = s("./compressedObject"), y = s("./zipObject"), n = s("./generate"), p = s("./nodejsUtils"), i = s("./nodejs/NodejsStreamInputAdapter"), d = function(S) {
735
+ S.slice(-1) === "/" && (S = S.substring(0, S.length - 1));
736
+ var P = S.lastIndexOf("/");
737
+ return 0 < P ? S.substring(0, P) : "";
738
+ }, u = function(S) {
739
+ return S.slice(-1) !== "/" && (S += "/"), S;
740
+ }, _ = function(S, P) {
741
+ return P = P !== void 0 ? P : v.createFolders, S = u(S), this.files[S] || o.call(this, S, null, { dir: !0, createFolders: P }), this.files[S];
741
742
  };
742
- function k(C) {
743
- return Object.prototype.toString.call(C) === "[object RegExp]";
743
+ function k(S) {
744
+ return Object.prototype.toString.call(S) === "[object RegExp]";
744
745
  }
745
746
  var A = { load: function() {
746
747
  throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.");
747
- }, forEach: function(C) {
748
+ }, forEach: function(S) {
748
749
  var P, B, Z;
749
- for (P in this.files) Z = this.files[P], (B = P.slice(this.root.length, P.length)) && P.slice(0, this.root.length) === this.root && C(B, Z);
750
- }, filter: function(C) {
750
+ for (P in this.files) Z = this.files[P], (B = P.slice(this.root.length, P.length)) && P.slice(0, this.root.length) === this.root && S(B, Z);
751
+ }, filter: function(S) {
751
752
  var P = [];
752
753
  return this.forEach(function(B, Z) {
753
- C(B, Z) && P.push(Z);
754
+ S(B, Z) && P.push(Z);
754
755
  }), P;
755
- }, file: function(C, P, B) {
756
- if (arguments.length !== 1) return C = this.root + C, o.call(this, C, P, B), this;
757
- if (k(C)) {
758
- var Z = C;
756
+ }, file: function(S, P, B) {
757
+ if (arguments.length !== 1) return S = this.root + S, o.call(this, S, P, B), this;
758
+ if (k(S)) {
759
+ var Z = S;
759
760
  return this.filter(function(V, X) {
760
761
  return !X.dir && Z.test(V);
761
762
  });
762
763
  }
763
- var z = this.files[this.root + C];
764
+ var z = this.files[this.root + S];
764
765
  return z && !z.dir ? z : null;
765
- }, folder: function(C) {
766
- if (!C) return this;
767
- if (k(C)) return this.filter(function(z, V) {
768
- return V.dir && C.test(z);
766
+ }, folder: function(S) {
767
+ if (!S) return this;
768
+ if (k(S)) return this.filter(function(z, V) {
769
+ return V.dir && S.test(z);
769
770
  });
770
- var P = this.root + C, B = _.call(this, P), Z = this.clone();
771
+ var P = this.root + S, B = _.call(this, P), Z = this.clone();
771
772
  return Z.root = B.name, Z;
772
- }, remove: function(C) {
773
- C = this.root + C;
774
- var P = this.files[C];
775
- if (P || (C.slice(-1) !== "/" && (C += "/"), P = this.files[C]), P && !P.dir) delete this.files[C];
773
+ }, remove: function(S) {
774
+ S = this.root + S;
775
+ var P = this.files[S];
776
+ if (P || (S.slice(-1) !== "/" && (S += "/"), P = this.files[S]), P && !P.dir) delete this.files[S];
776
777
  else for (var B = this.filter(function(z, V) {
777
- return V.name.slice(0, C.length) === C;
778
+ return V.name.slice(0, S.length) === S;
778
779
  }), Z = 0; Z < B.length; Z++) delete this.files[B[Z].name];
779
780
  return this;
780
781
  }, generate: function() {
781
782
  throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.");
782
- }, generateInternalStream: function(C) {
783
+ }, generateInternalStream: function(S) {
783
784
  var P, B = {};
784
785
  try {
785
- if ((B = r.extend(C || {}, { streamFiles: !1, compression: "STORE", compressionOptions: null, type: "", platform: "DOS", comment: null, mimeType: "application/zip", encodeFileName: a.utf8encode })).type = B.type.toLowerCase(), B.compression = B.compression.toUpperCase(), B.type === "binarystring" && (B.type = "string"), !B.type) throw new Error("No output type specified.");
786
+ if ((B = r.extend(S || {}, { streamFiles: !1, compression: "STORE", compressionOptions: null, type: "", platform: "DOS", comment: null, mimeType: "application/zip", encodeFileName: a.utf8encode })).type = B.type.toLowerCase(), B.compression = B.compression.toUpperCase(), B.type === "binarystring" && (B.type = "string"), !B.type) throw new Error("No output type specified.");
786
787
  r.checkSupport(B.type), B.platform !== "darwin" && B.platform !== "freebsd" && B.platform !== "linux" && B.platform !== "sunos" || (B.platform = "UNIX"), B.platform === "win32" && (B.platform = "DOS");
787
788
  var Z = B.comment || this.comment || "";
788
789
  P = n.generateWorker(this, B, Z);
@@ -790,15 +791,15 @@ https://github.com/nodeca/pako/blob/main/LICENSE
790
791
  (P = new l("error")).error(z);
791
792
  }
792
793
  return new h(P, B.type || "string", B.mimeType);
793
- }, generateAsync: function(C, P) {
794
- return this.generateInternalStream(C).accumulate(P);
795
- }, generateNodeStream: function(C, P) {
796
- return (C = C || {}).type || (C.type = "nodebuffer"), this.generateInternalStream(C).toNodejsStream(P);
794
+ }, generateAsync: function(S, P) {
795
+ return this.generateInternalStream(S).accumulate(P);
796
+ }, generateNodeStream: function(S, P) {
797
+ return (S = S || {}).type || (S.type = "nodebuffer"), this.generateInternalStream(S).toNodejsStream(P);
797
798
  } };
798
- S.exports = A;
799
- }, { "./compressedObject": 2, "./defaults": 5, "./generate": 9, "./nodejs/NodejsStreamInputAdapter": 12, "./nodejsUtils": 14, "./stream/GenericWorker": 28, "./stream/StreamHelper": 29, "./utf8": 31, "./utils": 32, "./zipObject": 35 }], 16: [function(s, S, c) {
800
- S.exports = s("stream");
801
- }, { stream: void 0 }], 17: [function(s, S, c) {
799
+ C.exports = A;
800
+ }, { "./compressedObject": 2, "./defaults": 5, "./generate": 9, "./nodejs/NodejsStreamInputAdapter": 12, "./nodejsUtils": 14, "./stream/GenericWorker": 28, "./stream/StreamHelper": 29, "./utf8": 31, "./utils": 32, "./zipObject": 35 }], 16: [function(s, C, c) {
801
+ C.exports = s("stream");
802
+ }, { stream: void 0 }], 17: [function(s, C, c) {
802
803
  var o = s("./DataReader");
803
804
  function a(r) {
804
805
  o.call(this, r);
@@ -816,8 +817,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
816
817
  if (this.checkOffset(r), r === 0) return [];
817
818
  var l = this.data.slice(this.zero + this.index, this.zero + this.index + r);
818
819
  return this.index += r, l;
819
- }, S.exports = a;
820
- }, { "../utils": 32, "./DataReader": 18 }], 18: [function(s, S, c) {
820
+ }, C.exports = a;
821
+ }, { "../utils": 32, "./DataReader": 18 }], 18: [function(s, C, c) {
821
822
  var o = s("../utils");
822
823
  function a(r) {
823
824
  this.data = r, this.length = r.length, this.index = 0, this.zero = 0;
@@ -843,8 +844,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
843
844
  }, readDate: function() {
844
845
  var r = this.readInt(4);
845
846
  return new Date(Date.UTC(1980 + (r >> 25 & 127), (r >> 21 & 15) - 1, r >> 16 & 31, r >> 11 & 31, r >> 5 & 63, (31 & r) << 1));
846
- } }, S.exports = a;
847
- }, { "../utils": 32 }], 19: [function(s, S, c) {
847
+ } }, C.exports = a;
848
+ }, { "../utils": 32 }], 19: [function(s, C, c) {
848
849
  var o = s("./Uint8ArrayReader");
849
850
  function a(r) {
850
851
  o.call(this, r);
@@ -853,8 +854,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
853
854
  this.checkOffset(r);
854
855
  var l = this.data.slice(this.zero + this.index, this.zero + this.index + r);
855
856
  return this.index += r, l;
856
- }, S.exports = a;
857
- }, { "../utils": 32, "./Uint8ArrayReader": 21 }], 20: [function(s, S, c) {
857
+ }, C.exports = a;
858
+ }, { "../utils": 32, "./Uint8ArrayReader": 21 }], 20: [function(s, C, c) {
858
859
  var o = s("./DataReader");
859
860
  function a(r) {
860
861
  o.call(this, r);
@@ -869,8 +870,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
869
870
  this.checkOffset(r);
870
871
  var l = this.data.slice(this.zero + this.index, this.zero + this.index + r);
871
872
  return this.index += r, l;
872
- }, S.exports = a;
873
- }, { "../utils": 32, "./DataReader": 18 }], 21: [function(s, S, c) {
873
+ }, C.exports = a;
874
+ }, { "../utils": 32, "./DataReader": 18 }], 21: [function(s, C, c) {
874
875
  var o = s("./ArrayReader");
875
876
  function a(r) {
876
877
  o.call(this, r);
@@ -879,32 +880,32 @@ https://github.com/nodeca/pako/blob/main/LICENSE
879
880
  if (this.checkOffset(r), r === 0) return new Uint8Array(0);
880
881
  var l = this.data.subarray(this.zero + this.index, this.zero + this.index + r);
881
882
  return this.index += r, l;
882
- }, S.exports = a;
883
- }, { "../utils": 32, "./ArrayReader": 17 }], 22: [function(s, S, c) {
883
+ }, C.exports = a;
884
+ }, { "../utils": 32, "./ArrayReader": 17 }], 22: [function(s, C, c) {
884
885
  var o = s("../utils"), a = s("../support"), r = s("./ArrayReader"), l = s("./StringReader"), h = s("./NodeBufferReader"), v = s("./Uint8ArrayReader");
885
- S.exports = function(b) {
886
+ C.exports = function(b) {
886
887
  var y = o.getTypeOf(b);
887
888
  return o.checkSupport(y), y !== "string" || a.uint8array ? y === "nodebuffer" ? new h(b) : a.uint8array ? new v(o.transformTo("uint8array", b)) : new r(o.transformTo("array", b)) : new l(b);
888
889
  };
889
- }, { "../support": 30, "../utils": 32, "./ArrayReader": 17, "./NodeBufferReader": 19, "./StringReader": 20, "./Uint8ArrayReader": 21 }], 23: [function(s, S, c) {
890
+ }, { "../support": 30, "../utils": 32, "./ArrayReader": 17, "./NodeBufferReader": 19, "./StringReader": 20, "./Uint8ArrayReader": 21 }], 23: [function(s, C, c) {
890
891
  c.LOCAL_FILE_HEADER = "PK", c.CENTRAL_FILE_HEADER = "PK", c.CENTRAL_DIRECTORY_END = "PK", c.ZIP64_CENTRAL_DIRECTORY_LOCATOR = "PK\x07", c.ZIP64_CENTRAL_DIRECTORY_END = "PK", c.DATA_DESCRIPTOR = "PK\x07\b";
891
- }, {}], 24: [function(s, S, c) {
892
+ }, {}], 24: [function(s, C, c) {
892
893
  var o = s("./GenericWorker"), a = s("../utils");
893
894
  function r(l) {
894
895
  o.call(this, "ConvertWorker to " + l), this.destType = l;
895
896
  }
896
897
  a.inherits(r, o), r.prototype.processChunk = function(l) {
897
898
  this.push({ data: a.transformTo(this.destType, l.data), meta: l.meta });
898
- }, S.exports = r;
899
- }, { "../utils": 32, "./GenericWorker": 28 }], 25: [function(s, S, c) {
899
+ }, C.exports = r;
900
+ }, { "../utils": 32, "./GenericWorker": 28 }], 25: [function(s, C, c) {
900
901
  var o = s("./GenericWorker"), a = s("../crc32");
901
902
  function r() {
902
903
  o.call(this, "Crc32Probe"), this.withStreamInfo("crc32", 0);
903
904
  }
904
905
  s("../utils").inherits(r, o), r.prototype.processChunk = function(l) {
905
906
  this.streamInfo.crc32 = a(l.data, this.streamInfo.crc32 || 0), this.push(l);
906
- }, S.exports = r;
907
- }, { "../crc32": 4, "../utils": 32, "./GenericWorker": 28 }], 26: [function(s, S, c) {
907
+ }, C.exports = r;
908
+ }, { "../crc32": 4, "../utils": 32, "./GenericWorker": 28 }], 26: [function(s, C, c) {
908
909
  var o = s("../utils"), a = s("./GenericWorker");
909
910
  function r(l) {
910
911
  a.call(this, "DataLengthProbe for " + l), this.propName = l, this.withStreamInfo(l, 0);
@@ -915,8 +916,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
915
916
  this.streamInfo[this.propName] = h + l.data.length;
916
917
  }
917
918
  a.prototype.processChunk.call(this, l);
918
- }, S.exports = r;
919
- }, { "../utils": 32, "./GenericWorker": 28 }], 27: [function(s, S, c) {
919
+ }, C.exports = r;
920
+ }, { "../utils": 32, "./GenericWorker": 28 }], 27: [function(s, C, c) {
920
921
  var o = s("../utils"), a = s("./GenericWorker");
921
922
  function r(l) {
922
923
  a.call(this, "DataWorker");
@@ -949,8 +950,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
949
950
  l = this.data.slice(this.index, h);
950
951
  }
951
952
  return this.index = h, this.push({ data: l, meta: { percent: this.max ? this.index / this.max * 100 : 0 } });
952
- }, S.exports = r;
953
- }, { "../utils": 32, "./GenericWorker": 28 }], 28: [function(s, S, c) {
953
+ }, C.exports = r;
954
+ }, { "../utils": 32, "./GenericWorker": 28 }], 28: [function(s, C, c) {
954
955
  function o(a) {
955
956
  this.name = a || "default", this.streamInfo = {}, this.generatedError = null, this.extraStreamInfo = {}, this.isPaused = !0, this.isFinished = !1, this.isLocked = !1, this._listeners = { data: [], end: [], error: [] }, this.previous = null;
956
957
  }
@@ -1005,8 +1006,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1005
1006
  }, toString: function() {
1006
1007
  var a = "Worker " + this.name;
1007
1008
  return this.previous ? this.previous + " -> " + a : a;
1008
- } }, S.exports = o;
1009
- }, {}], 29: [function(s, S, c) {
1009
+ } }, C.exports = o;
1010
+ }, {}], 29: [function(s, C, c) {
1010
1011
  var o = s("../utils"), a = s("./ConvertWorker"), r = s("./GenericWorker"), l = s("../base64"), h = s("../support"), v = s("../external"), b = null;
1011
1012
  if (h.nodestream) try {
1012
1013
  b = s("../nodejs/NodejsStreamOutputAdapter");
@@ -1014,7 +1015,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1014
1015
  }
1015
1016
  function y(p, i) {
1016
1017
  return new v.Promise(function(d, u) {
1017
- var _ = [], k = p._internalType, A = p._outputType, C = p._mimeType;
1018
+ var _ = [], k = p._internalType, A = p._outputType, S = p._mimeType;
1018
1019
  p.on("data", function(P, B) {
1019
1020
  _.push(P), i && i(B);
1020
1021
  }).on("error", function(P) {
@@ -1046,7 +1047,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1046
1047
  default:
1047
1048
  throw new Error("concat : unsupported type '" + B + "'");
1048
1049
  }
1049
- }(k, _), C);
1050
+ }(k, _), S);
1050
1051
  d(P);
1051
1052
  } catch (B) {
1052
1053
  u(B);
@@ -1087,8 +1088,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1087
1088
  }, toNodejsStream: function(p) {
1088
1089
  if (o.checkSupport("nodestream"), this._outputType !== "nodebuffer") throw new Error(this._outputType + " is not supported by this method");
1089
1090
  return new b(this, { objectMode: this._outputType !== "nodebuffer" }, p);
1090
- } }, S.exports = n;
1091
- }, { "../base64": 1, "../external": 6, "../nodejs/NodejsStreamOutputAdapter": 13, "../support": 30, "../utils": 32, "./ConvertWorker": 24, "./GenericWorker": 28 }], 30: [function(s, S, c) {
1091
+ } }, C.exports = n;
1092
+ }, { "../base64": 1, "../external": 6, "../nodejs/NodejsStreamOutputAdapter": 13, "../support": 30, "../utils": 32, "./ConvertWorker": 24, "./GenericWorker": 28 }], 30: [function(s, C, c) {
1092
1093
  if (c.base64 = !0, c.array = !0, c.string = !0, c.arraybuffer = typeof ArrayBuffer < "u" && typeof Uint8Array < "u", c.nodebuffer = typeof Buffer < "u", c.uint8array = typeof Uint8Array < "u", typeof ArrayBuffer > "u") c.blob = !1;
1093
1094
  else {
1094
1095
  var o = new ArrayBuffer(0);
@@ -1108,7 +1109,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1108
1109
  } catch {
1109
1110
  c.nodestream = !1;
1110
1111
  }
1111
- }, { "readable-stream": 16 }], 31: [function(s, S, c) {
1112
+ }, { "readable-stream": 16 }], 31: [function(s, C, c) {
1112
1113
  for (var o = s("./utils"), a = s("./support"), r = s("./nodejsUtils"), l = s("./stream/GenericWorker"), h = new Array(256), v = 0; v < 256; v++) h[v] = 252 <= v ? 6 : 248 <= v ? 5 : 240 <= v ? 4 : 224 <= v ? 3 : 192 <= v ? 2 : 1;
1113
1114
  h[254] = h[254] = 1;
1114
1115
  function b() {
@@ -1119,9 +1120,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1119
1120
  }
1120
1121
  c.utf8encode = function(n) {
1121
1122
  return a.nodebuffer ? r.newBufferFrom(n, "utf-8") : function(p) {
1122
- var i, d, u, _, k, A = p.length, C = 0;
1123
- for (_ = 0; _ < A; _++) (64512 & (d = p.charCodeAt(_))) == 55296 && _ + 1 < A && (64512 & (u = p.charCodeAt(_ + 1))) == 56320 && (d = 65536 + (d - 55296 << 10) + (u - 56320), _++), C += d < 128 ? 1 : d < 2048 ? 2 : d < 65536 ? 3 : 4;
1124
- for (i = a.uint8array ? new Uint8Array(C) : new Array(C), _ = k = 0; k < C; _++) (64512 & (d = p.charCodeAt(_))) == 55296 && _ + 1 < A && (64512 & (u = p.charCodeAt(_ + 1))) == 56320 && (d = 65536 + (d - 55296 << 10) + (u - 56320), _++), d < 128 ? i[k++] = d : (d < 2048 ? i[k++] = 192 | d >>> 6 : (d < 65536 ? i[k++] = 224 | d >>> 12 : (i[k++] = 240 | d >>> 18, i[k++] = 128 | d >>> 12 & 63), i[k++] = 128 | d >>> 6 & 63), i[k++] = 128 | 63 & d);
1123
+ var i, d, u, _, k, A = p.length, S = 0;
1124
+ for (_ = 0; _ < A; _++) (64512 & (d = p.charCodeAt(_))) == 55296 && _ + 1 < A && (64512 & (u = p.charCodeAt(_ + 1))) == 56320 && (d = 65536 + (d - 55296 << 10) + (u - 56320), _++), S += d < 128 ? 1 : d < 2048 ? 2 : d < 65536 ? 3 : 4;
1125
+ for (i = a.uint8array ? new Uint8Array(S) : new Array(S), _ = k = 0; k < S; _++) (64512 & (d = p.charCodeAt(_))) == 55296 && _ + 1 < A && (64512 & (u = p.charCodeAt(_ + 1))) == 56320 && (d = 65536 + (d - 55296 << 10) + (u - 56320), _++), d < 128 ? i[k++] = d : (d < 2048 ? i[k++] = 192 | d >>> 6 : (d < 65536 ? i[k++] = 224 | d >>> 12 : (i[k++] = 240 | d >>> 18, i[k++] = 128 | d >>> 12 & 63), i[k++] = 128 | d >>> 6 & 63), i[k++] = 128 | 63 & d);
1125
1126
  return i;
1126
1127
  }(n);
1127
1128
  }, c.utf8decode = function(n) {
@@ -1155,7 +1156,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1155
1156
  }, c.Utf8DecodeWorker = b, o.inherits(y, l), y.prototype.processChunk = function(n) {
1156
1157
  this.push({ data: c.utf8encode(n.data), meta: n.meta });
1157
1158
  }, c.Utf8EncodeWorker = y;
1158
- }, { "./nodejsUtils": 14, "./stream/GenericWorker": 28, "./support": 30, "./utils": 32 }], 32: [function(s, S, c) {
1159
+ }, { "./nodejsUtils": 14, "./stream/GenericWorker": 28, "./support": 30, "./utils": 32 }], 32: [function(s, C, c) {
1159
1160
  var o = s("./support"), a = s("./base64"), r = s("./nodejsUtils"), l = s("./external");
1160
1161
  function h(i) {
1161
1162
  return i;
@@ -1280,22 +1281,22 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1280
1281
  return u;
1281
1282
  }, c.prepareContent = function(i, d, u, _, k) {
1282
1283
  return l.Promise.resolve(d).then(function(A) {
1283
- return o.blob && (A instanceof Blob || ["[object File]", "[object Blob]"].indexOf(Object.prototype.toString.call(A)) !== -1) && typeof FileReader < "u" ? new l.Promise(function(C, P) {
1284
+ return o.blob && (A instanceof Blob || ["[object File]", "[object Blob]"].indexOf(Object.prototype.toString.call(A)) !== -1) && typeof FileReader < "u" ? new l.Promise(function(S, P) {
1284
1285
  var B = new FileReader();
1285
1286
  B.onload = function(Z) {
1286
- C(Z.target.result);
1287
+ S(Z.target.result);
1287
1288
  }, B.onerror = function(Z) {
1288
1289
  P(Z.target.error);
1289
1290
  }, B.readAsArrayBuffer(A);
1290
1291
  }) : A;
1291
1292
  }).then(function(A) {
1292
- var C = c.getTypeOf(A);
1293
- return C ? (C === "arraybuffer" ? A = c.transformTo("uint8array", A) : C === "string" && (k ? A = a.decode(A) : u && _ !== !0 && (A = function(P) {
1293
+ var S = c.getTypeOf(A);
1294
+ return S ? (S === "arraybuffer" ? A = c.transformTo("uint8array", A) : S === "string" && (k ? A = a.decode(A) : u && _ !== !0 && (A = function(P) {
1294
1295
  return v(P, o.uint8array ? new Uint8Array(P.length) : new Array(P.length));
1295
1296
  }(A))), A) : l.Promise.reject(new Error("Can't read the data of '" + i + "'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"));
1296
1297
  });
1297
1298
  };
1298
- }, { "./base64": 1, "./external": 6, "./nodejsUtils": 14, "./support": 30, setimmediate: 54 }], 33: [function(s, S, c) {
1299
+ }, { "./base64": 1, "./external": 6, "./nodejsUtils": 14, "./support": 30, setimmediate: 54 }], 33: [function(s, C, c) {
1299
1300
  var o = s("./reader/readerFor"), a = s("./utils"), r = s("./signature"), l = s("./zipEntry"), h = s("./support");
1300
1301
  function v(b) {
1301
1302
  this.files = [], this.loadOptions = b;
@@ -1346,8 +1347,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1346
1347
  this.reader = o(b);
1347
1348
  }, load: function(b) {
1348
1349
  this.prepareReader(b), this.readEndOfCentral(), this.readCentralDir(), this.readLocalFiles();
1349
- } }, S.exports = v;
1350
- }, { "./reader/readerFor": 22, "./signature": 23, "./support": 30, "./utils": 32, "./zipEntry": 34 }], 34: [function(s, S, c) {
1350
+ } }, C.exports = v;
1351
+ }, { "./reader/readerFor": 22, "./signature": 23, "./support": 30, "./utils": 32, "./zipEntry": 34 }], 34: [function(s, C, c) {
1351
1352
  var o = s("./reader/readerFor"), a = s("./utils"), r = s("./compressedObject"), l = s("./crc32"), h = s("./utf8"), v = s("./compressions"), b = s("./support");
1352
1353
  function y(n, p) {
1353
1354
  this.options = n, this.loadOptions = p;
@@ -1413,8 +1414,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1413
1414
  return p.readInt(1) !== 1 || l(this.fileComment) !== p.readInt(4) ? null : h.utf8decode(p.readData(n.length - 5));
1414
1415
  }
1415
1416
  return null;
1416
- } }, S.exports = y;
1417
- }, { "./compressedObject": 2, "./compressions": 3, "./crc32": 4, "./reader/readerFor": 22, "./support": 30, "./utf8": 31, "./utils": 32 }], 35: [function(s, S, c) {
1417
+ } }, C.exports = y;
1418
+ }, { "./compressedObject": 2, "./compressions": 3, "./crc32": 4, "./reader/readerFor": 22, "./support": 30, "./utf8": 31, "./utils": 32 }], 35: [function(s, C, c) {
1418
1419
  function o(p, i, d) {
1419
1420
  this.name = p, this.dir = d.dir, this.date = d.date, this.comment = d.comment, this.unixPermissions = d.unixPermissions, this.dosPermissions = d.dosPermissions, this._data = i, this._dataBinary = d.binary, this.options = { compression: d.compression, compressionOptions: d.compressionOptions };
1420
1421
  }
@@ -1445,8 +1446,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1445
1446
  for (var b = ["asText", "asBinary", "asNodeBuffer", "asUint8Array", "asArrayBuffer"], y = function() {
1446
1447
  throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.");
1447
1448
  }, n = 0; n < b.length; n++) o.prototype[b[n]] = y;
1448
- S.exports = o;
1449
- }, { "./compressedObject": 2, "./stream/DataWorker": 27, "./stream/GenericWorker": 28, "./stream/StreamHelper": 29, "./utf8": 31 }], 36: [function(s, S, c) {
1449
+ C.exports = o;
1450
+ }, { "./compressedObject": 2, "./stream/DataWorker": 27, "./stream/GenericWorker": 28, "./stream/StreamHelper": 29, "./utf8": 31 }], 36: [function(s, C, c) {
1450
1451
  (function(o) {
1451
1452
  var a, r, l = o.MutationObserver || o.WebKitMutationObserver;
1452
1453
  if (l) {
@@ -1478,11 +1479,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1478
1479
  }
1479
1480
  r = !1;
1480
1481
  }
1481
- S.exports = function(i) {
1482
+ C.exports = function(i) {
1482
1483
  n.push(i) !== 1 || r || a();
1483
1484
  };
1484
1485
  }).call(this, typeof xt < "u" ? xt : typeof self < "u" ? self : typeof window < "u" ? window : {});
1485
- }, {}], 37: [function(s, S, c) {
1486
+ }, {}], 37: [function(s, C, c) {
1486
1487
  var o = s("immediate");
1487
1488
  function a() {
1488
1489
  }
@@ -1499,8 +1500,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1499
1500
  var A;
1500
1501
  try {
1501
1502
  A = _(k);
1502
- } catch (C) {
1503
- return r.reject(u, C);
1503
+ } catch (S) {
1504
+ return r.reject(u, S);
1504
1505
  }
1505
1506
  A === u ? r.reject(u, new TypeError("Cannot resolve promise with itself")) : r.resolve(u, A);
1506
1507
  });
@@ -1516,11 +1517,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1516
1517
  function A(B) {
1517
1518
  k || (k = !0, r.reject(u, B));
1518
1519
  }
1519
- function C(B) {
1520
+ function S(B) {
1520
1521
  k || (k = !0, r.resolve(u, B));
1521
1522
  }
1522
1523
  var P = d(function() {
1523
- _(C, A);
1524
+ _(S, A);
1524
1525
  });
1525
1526
  P.status === "error" && A(P.value);
1526
1527
  }
@@ -1533,7 +1534,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1533
1534
  }
1534
1535
  return k;
1535
1536
  }
1536
- (S.exports = b).prototype.finally = function(u) {
1537
+ (C.exports = b).prototype.finally = function(u) {
1537
1538
  if (typeof u != "function") return this;
1538
1539
  var _ = this.constructor;
1539
1540
  return this.then(function(k) {
@@ -1566,7 +1567,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1566
1567
  if (A) i(u, A);
1567
1568
  else {
1568
1569
  u.state = h, u.outcome = _;
1569
- for (var C = -1, P = u.queue.length; ++C < P; ) u.queue[C].callFulfilled(_);
1570
+ for (var S = -1, P = u.queue.length; ++S < P; ) u.queue[S].callFulfilled(_);
1570
1571
  }
1571
1572
  return u;
1572
1573
  }, r.reject = function(u, _) {
@@ -1583,11 +1584,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1583
1584
  if (Object.prototype.toString.call(u) !== "[object Array]") return this.reject(new TypeError("must be an array"));
1584
1585
  var k = u.length, A = !1;
1585
1586
  if (!k) return this.resolve([]);
1586
- for (var C = new Array(k), P = 0, B = -1, Z = new this(a); ++B < k; ) z(u[B], B);
1587
+ for (var S = new Array(k), P = 0, B = -1, Z = new this(a); ++B < k; ) z(u[B], B);
1587
1588
  return Z;
1588
1589
  function z(V, X) {
1589
1590
  _.resolve(V).then(function(g) {
1590
- C[X] = g, ++P !== k || A || (A = !0, r.resolve(Z, C));
1591
+ S[X] = g, ++P !== k || A || (A = !0, r.resolve(Z, S));
1591
1592
  }, function(g) {
1592
1593
  A || (A = !0, r.reject(Z, g));
1593
1594
  });
@@ -1597,7 +1598,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1597
1598
  if (Object.prototype.toString.call(u) !== "[object Array]") return this.reject(new TypeError("must be an array"));
1598
1599
  var k = u.length, A = !1;
1599
1600
  if (!k) return this.resolve([]);
1600
- for (var C = -1, P = new this(a); ++C < k; ) B = u[C], _.resolve(B).then(function(Z) {
1601
+ for (var S = -1, P = new this(a); ++S < k; ) B = u[S], _.resolve(B).then(function(Z) {
1601
1602
  A || (A = !0, r.resolve(P, Z));
1602
1603
  }, function(Z) {
1603
1604
  A || (A = !0, r.reject(P, Z));
@@ -1605,10 +1606,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1605
1606
  var B;
1606
1607
  return P;
1607
1608
  };
1608
- }, { immediate: 36 }], 38: [function(s, S, c) {
1609
+ }, { immediate: 36 }], 38: [function(s, C, c) {
1609
1610
  var o = {};
1610
- (0, s("./lib/utils/common").assign)(o, s("./lib/deflate"), s("./lib/inflate"), s("./lib/zlib/constants")), S.exports = o;
1611
- }, { "./lib/deflate": 39, "./lib/inflate": 40, "./lib/utils/common": 41, "./lib/zlib/constants": 44 }], 39: [function(s, S, c) {
1611
+ (0, s("./lib/utils/common").assign)(o, s("./lib/deflate"), s("./lib/inflate"), s("./lib/zlib/constants")), C.exports = o;
1612
+ }, { "./lib/deflate": 39, "./lib/inflate": 40, "./lib/utils/common": 41, "./lib/zlib/constants": 44 }], 39: [function(s, C, c) {
1612
1613
  var o = s("./zlib/deflate"), a = s("./utils/common"), r = s("./utils/strings"), l = s("./zlib/messages"), h = s("./zlib/zstream"), v = Object.prototype.toString, b = 0, y = -1, n = 0, p = 8;
1613
1614
  function i(u) {
1614
1615
  if (!(this instanceof i)) return new i(u);
@@ -1629,14 +1630,14 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1629
1630
  return k.result;
1630
1631
  }
1631
1632
  i.prototype.push = function(u, _) {
1632
- var k, A, C = this.strm, P = this.options.chunkSize;
1633
+ var k, A, S = this.strm, P = this.options.chunkSize;
1633
1634
  if (this.ended) return !1;
1634
- A = _ === ~~_ ? _ : _ === !0 ? 4 : 0, typeof u == "string" ? C.input = r.string2buf(u) : v.call(u) === "[object ArrayBuffer]" ? C.input = new Uint8Array(u) : C.input = u, C.next_in = 0, C.avail_in = C.input.length;
1635
+ A = _ === ~~_ ? _ : _ === !0 ? 4 : 0, typeof u == "string" ? S.input = r.string2buf(u) : v.call(u) === "[object ArrayBuffer]" ? S.input = new Uint8Array(u) : S.input = u, S.next_in = 0, S.avail_in = S.input.length;
1635
1636
  do {
1636
- if (C.avail_out === 0 && (C.output = new a.Buf8(P), C.next_out = 0, C.avail_out = P), (k = o.deflate(C, A)) !== 1 && k !== b) return this.onEnd(k), !(this.ended = !0);
1637
- C.avail_out !== 0 && (C.avail_in !== 0 || A !== 4 && A !== 2) || (this.options.to === "string" ? this.onData(r.buf2binstring(a.shrinkBuf(C.output, C.next_out))) : this.onData(a.shrinkBuf(C.output, C.next_out)));
1638
- } while ((0 < C.avail_in || C.avail_out === 0) && k !== 1);
1639
- return A === 4 ? (k = o.deflateEnd(this.strm), this.onEnd(k), this.ended = !0, k === b) : A !== 2 || (this.onEnd(b), !(C.avail_out = 0));
1637
+ if (S.avail_out === 0 && (S.output = new a.Buf8(P), S.next_out = 0, S.avail_out = P), (k = o.deflate(S, A)) !== 1 && k !== b) return this.onEnd(k), !(this.ended = !0);
1638
+ S.avail_out !== 0 && (S.avail_in !== 0 || A !== 4 && A !== 2) || (this.options.to === "string" ? this.onData(r.buf2binstring(a.shrinkBuf(S.output, S.next_out))) : this.onData(a.shrinkBuf(S.output, S.next_out)));
1639
+ } while ((0 < S.avail_in || S.avail_out === 0) && k !== 1);
1640
+ return A === 4 ? (k = o.deflateEnd(this.strm), this.onEnd(k), this.ended = !0, k === b) : A !== 2 || (this.onEnd(b), !(S.avail_out = 0));
1640
1641
  }, i.prototype.onData = function(u) {
1641
1642
  this.chunks.push(u);
1642
1643
  }, i.prototype.onEnd = function(u) {
@@ -1646,7 +1647,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1646
1647
  }, c.gzip = function(u, _) {
1647
1648
  return (_ = _ || {}).gzip = !0, d(u, _);
1648
1649
  };
1649
- }, { "./utils/common": 41, "./utils/strings": 42, "./zlib/deflate": 46, "./zlib/messages": 51, "./zlib/zstream": 53 }], 40: [function(s, S, c) {
1650
+ }, { "./utils/common": 41, "./utils/strings": 42, "./zlib/deflate": 46, "./zlib/messages": 51, "./zlib/zstream": 53 }], 40: [function(s, C, c) {
1650
1651
  var o = s("./zlib/inflate"), a = s("./utils/common"), r = s("./utils/strings"), l = s("./zlib/constants"), h = s("./zlib/messages"), v = s("./zlib/zstream"), b = s("./zlib/gzheader"), y = Object.prototype.toString;
1651
1652
  function n(i) {
1652
1653
  if (!(this instanceof n)) return new n(i);
@@ -1663,12 +1664,12 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1663
1664
  return u.result;
1664
1665
  }
1665
1666
  n.prototype.push = function(i, d) {
1666
- var u, _, k, A, C, P, B = this.strm, Z = this.options.chunkSize, z = this.options.dictionary, V = !1;
1667
+ var u, _, k, A, S, P, B = this.strm, Z = this.options.chunkSize, z = this.options.dictionary, V = !1;
1667
1668
  if (this.ended) return !1;
1668
1669
  _ = d === ~~d ? d : d === !0 ? l.Z_FINISH : l.Z_NO_FLUSH, typeof i == "string" ? B.input = r.binstring2buf(i) : y.call(i) === "[object ArrayBuffer]" ? B.input = new Uint8Array(i) : B.input = i, B.next_in = 0, B.avail_in = B.input.length;
1669
1670
  do {
1670
1671
  if (B.avail_out === 0 && (B.output = new a.Buf8(Z), B.next_out = 0, B.avail_out = Z), (u = o.inflate(B, l.Z_NO_FLUSH)) === l.Z_NEED_DICT && z && (P = typeof z == "string" ? r.string2buf(z) : y.call(z) === "[object ArrayBuffer]" ? new Uint8Array(z) : z, u = o.inflateSetDictionary(this.strm, P)), u === l.Z_BUF_ERROR && V === !0 && (u = l.Z_OK, V = !1), u !== l.Z_STREAM_END && u !== l.Z_OK) return this.onEnd(u), !(this.ended = !0);
1671
- B.next_out && (B.avail_out !== 0 && u !== l.Z_STREAM_END && (B.avail_in !== 0 || _ !== l.Z_FINISH && _ !== l.Z_SYNC_FLUSH) || (this.options.to === "string" ? (k = r.utf8border(B.output, B.next_out), A = B.next_out - k, C = r.buf2string(B.output, k), B.next_out = A, B.avail_out = Z - A, A && a.arraySet(B.output, B.output, k, A, 0), this.onData(C)) : this.onData(a.shrinkBuf(B.output, B.next_out)))), B.avail_in === 0 && B.avail_out === 0 && (V = !0);
1672
+ B.next_out && (B.avail_out !== 0 && u !== l.Z_STREAM_END && (B.avail_in !== 0 || _ !== l.Z_FINISH && _ !== l.Z_SYNC_FLUSH) || (this.options.to === "string" ? (k = r.utf8border(B.output, B.next_out), A = B.next_out - k, S = r.buf2string(B.output, k), B.next_out = A, B.avail_out = Z - A, A && a.arraySet(B.output, B.output, k, A, 0), this.onData(S)) : this.onData(a.shrinkBuf(B.output, B.next_out)))), B.avail_in === 0 && B.avail_out === 0 && (V = !0);
1672
1673
  } while ((0 < B.avail_in || B.avail_out === 0) && u !== l.Z_STREAM_END);
1673
1674
  return u === l.Z_STREAM_END && (_ = l.Z_FINISH), _ === l.Z_FINISH ? (u = o.inflateEnd(this.strm), this.onEnd(u), this.ended = !0, u === l.Z_OK) : _ !== l.Z_SYNC_FLUSH || (this.onEnd(l.Z_OK), !(B.avail_out = 0));
1674
1675
  }, n.prototype.onData = function(i) {
@@ -1678,7 +1679,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1678
1679
  }, c.Inflate = n, c.inflate = p, c.inflateRaw = function(i, d) {
1679
1680
  return (d = d || {}).raw = !0, p(i, d);
1680
1681
  }, c.ungzip = p;
1681
- }, { "./utils/common": 41, "./utils/strings": 42, "./zlib/constants": 44, "./zlib/gzheader": 47, "./zlib/inflate": 49, "./zlib/messages": 51, "./zlib/zstream": 53 }], 41: [function(s, S, c) {
1682
+ }, { "./utils/common": 41, "./utils/strings": 42, "./zlib/constants": 44, "./zlib/gzheader": 47, "./zlib/inflate": 49, "./zlib/messages": 51, "./zlib/zstream": 53 }], 41: [function(s, C, c) {
1682
1683
  var o = typeof Uint8Array < "u" && typeof Uint16Array < "u" && typeof Int32Array < "u";
1683
1684
  c.assign = function(l) {
1684
1685
  for (var h = Array.prototype.slice.call(arguments, 1); h.length; ) {
@@ -1708,7 +1709,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1708
1709
  c.setTyped = function(l) {
1709
1710
  l ? (c.Buf8 = Uint8Array, c.Buf16 = Uint16Array, c.Buf32 = Int32Array, c.assign(c, a)) : (c.Buf8 = Array, c.Buf16 = Array, c.Buf32 = Array, c.assign(c, r));
1710
1711
  }, c.setTyped(o);
1711
- }, {}], 42: [function(s, S, c) {
1712
+ }, {}], 42: [function(s, C, c) {
1712
1713
  var o = s("./common"), a = !0, r = !0;
1713
1714
  try {
1714
1715
  String.fromCharCode.apply(null, [0]);
@@ -1750,17 +1751,17 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1750
1751
  for ((y = y || b.length) > b.length && (y = b.length), n = y - 1; 0 <= n && (192 & b[n]) == 128; ) n--;
1751
1752
  return n < 0 || n === 0 ? y : n + l[b[n]] > y ? n : y;
1752
1753
  };
1753
- }, { "./common": 41 }], 43: [function(s, S, c) {
1754
- S.exports = function(o, a, r, l) {
1754
+ }, { "./common": 41 }], 43: [function(s, C, c) {
1755
+ C.exports = function(o, a, r, l) {
1755
1756
  for (var h = 65535 & o | 0, v = o >>> 16 & 65535 | 0, b = 0; r !== 0; ) {
1756
1757
  for (r -= b = 2e3 < r ? 2e3 : r; v = v + (h = h + a[l++] | 0) | 0, --b; ) ;
1757
1758
  h %= 65521, v %= 65521;
1758
1759
  }
1759
1760
  return h | v << 16 | 0;
1760
1761
  };
1761
- }, {}], 44: [function(s, S, c) {
1762
- S.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 };
1763
- }, {}], 45: [function(s, S, c) {
1762
+ }, {}], 44: [function(s, C, c) {
1763
+ C.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 };
1764
+ }, {}], 45: [function(s, C, c) {
1764
1765
  var o = function() {
1765
1766
  for (var a, r = [], l = 0; l < 256; l++) {
1766
1767
  a = l;
@@ -1769,14 +1770,14 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1769
1770
  }
1770
1771
  return r;
1771
1772
  }();
1772
- S.exports = function(a, r, l, h) {
1773
+ C.exports = function(a, r, l, h) {
1773
1774
  var v = o, b = h + l;
1774
1775
  a ^= -1;
1775
1776
  for (var y = h; y < b; y++) a = a >>> 8 ^ v[255 & (a ^ r[y])];
1776
1777
  return -1 ^ a;
1777
1778
  };
1778
- }, {}], 46: [function(s, S, c) {
1779
- var o, a = s("../utils/common"), r = s("./trees"), l = s("./adler32"), h = s("./crc32"), v = s("./messages"), b = 0, y = 4, n = 0, p = -2, i = -1, d = 4, u = 2, _ = 8, k = 9, A = 286, C = 30, P = 19, B = 2 * A + 1, Z = 15, z = 3, V = 258, X = V + z + 1, g = 42, O = 113, e = 1, F = 2, J = 3, W = 4;
1779
+ }, {}], 46: [function(s, C, c) {
1780
+ var o, a = s("../utils/common"), r = s("./trees"), l = s("./adler32"), h = s("./crc32"), v = s("./messages"), b = 0, y = 4, n = 0, p = -2, i = -1, d = 4, u = 2, _ = 8, k = 9, A = 286, S = 30, P = 19, B = 2 * A + 1, Z = 15, z = 3, V = 258, X = V + z + 1, g = 42, O = 113, e = 1, F = 2, J = 3, W = 4;
1780
1781
  function et(t, D) {
1781
1782
  return t.msg = v[D], D;
1782
1783
  }
@@ -1862,7 +1863,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1862
1863
  this.good_length = t, this.max_lazy = D, this.nice_length = T, this.max_chain = m, this.func = f;
1863
1864
  }
1864
1865
  function st() {
1865
- 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 = _, 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 a.Buf16(2 * B), this.dyn_dtree = new a.Buf16(2 * (2 * C + 1)), this.bl_tree = new a.Buf16(2 * (2 * P + 1)), H(this.dyn_ltree), H(this.dyn_dtree), H(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new a.Buf16(Z + 1), this.heap = new a.Buf16(2 * A + 1), H(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new a.Buf16(2 * A + 1), H(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;
1866
+ 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 = _, 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 a.Buf16(2 * B), this.dyn_dtree = new a.Buf16(2 * (2 * S + 1)), this.bl_tree = new a.Buf16(2 * (2 * P + 1)), H(this.dyn_ltree), H(this.dyn_dtree), H(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new a.Buf16(Z + 1), this.heap = new a.Buf16(2 * A + 1), H(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new a.Buf16(2 * A + 1), H(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;
1866
1867
  }
1867
1868
  function ot(t) {
1868
1869
  var D;
@@ -1980,14 +1981,14 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1980
1981
  }
1981
1982
  return T.strstart += T.lookahead, T.block_start = T.strstart, T.insert = T.lookahead, T.lookahead = 0, T.match_length = T.prev_length = z - 1, T.match_available = 0, t.next_in = j, t.input = I, t.avail_in = L, T.wrap = x, n;
1982
1983
  }, c.deflateInfo = "pako deflate (from Nodeca project)";
1983
- }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./messages": 51, "./trees": 52 }], 47: [function(s, S, c) {
1984
- S.exports = function() {
1984
+ }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./messages": 51, "./trees": 52 }], 47: [function(s, C, c) {
1985
+ C.exports = function() {
1985
1986
  this.text = 0, this.time = 0, this.xflags = 0, this.os = 0, this.extra = null, this.extra_len = 0, this.name = "", this.comment = "", this.hcrc = 0, this.done = !1;
1986
1987
  };
1987
- }, {}], 48: [function(s, S, c) {
1988
- S.exports = function(o, a) {
1989
- var r, l, h, v, b, y, n, p, i, d, u, _, k, A, C, P, B, Z, z, V, X, g, O, e, F;
1990
- r = o.state, l = o.next_in, e = o.input, h = l + (o.avail_in - 5), v = o.next_out, F = o.output, b = v - (a - o.avail_out), y = v + (o.avail_out - 257), n = r.dmax, p = r.wsize, i = r.whave, d = r.wnext, u = r.window, _ = r.hold, k = r.bits, A = r.lencode, C = r.distcode, P = (1 << r.lenbits) - 1, B = (1 << r.distbits) - 1;
1988
+ }, {}], 48: [function(s, C, c) {
1989
+ C.exports = function(o, a) {
1990
+ var r, l, h, v, b, y, n, p, i, d, u, _, k, A, S, P, B, Z, z, V, X, g, O, e, F;
1991
+ r = o.state, l = o.next_in, e = o.input, h = l + (o.avail_in - 5), v = o.next_out, F = o.output, b = v - (a - o.avail_out), y = v + (o.avail_out - 257), n = r.dmax, p = r.wsize, i = r.whave, d = r.wnext, u = r.window, _ = r.hold, k = r.bits, A = r.lencode, S = r.distcode, P = (1 << r.lenbits) - 1, B = (1 << r.distbits) - 1;
1991
1992
  t: do {
1992
1993
  k < 15 && (_ += e[l++] << k, k += 8, _ += e[l++] << k, k += 8), Z = A[_ & P];
1993
1994
  e: for (; ; ) {
@@ -2005,11 +2006,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2005
2006
  o.msg = "invalid literal/length code", r.mode = 30;
2006
2007
  break t;
2007
2008
  }
2008
- V = 65535 & Z, (z &= 15) && (k < z && (_ += e[l++] << k, k += 8), V += _ & (1 << z) - 1, _ >>>= z, k -= z), k < 15 && (_ += e[l++] << k, k += 8, _ += e[l++] << k, k += 8), Z = C[_ & B];
2009
+ V = 65535 & Z, (z &= 15) && (k < z && (_ += e[l++] << k, k += 8), V += _ & (1 << z) - 1, _ >>>= z, k -= z), k < 15 && (_ += e[l++] << k, k += 8, _ += e[l++] << k, k += 8), Z = S[_ & B];
2009
2010
  r: for (; ; ) {
2010
2011
  if (_ >>>= z = Z >>> 24, k -= z, !(16 & (z = Z >>> 16 & 255))) {
2011
2012
  if (!(64 & z)) {
2012
- Z = C[(65535 & Z) + (_ & (1 << z) - 1)];
2013
+ Z = S[(65535 & Z) + (_ & (1 << z) - 1)];
2013
2014
  continue r;
2014
2015
  }
2015
2016
  o.msg = "invalid distance code", r.mode = 30;
@@ -2055,7 +2056,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2055
2056
  } while (l < h && v < y);
2056
2057
  l -= V = k >> 3, _ &= (1 << (k -= V << 3)) - 1, o.next_in = l, o.next_out = v, o.avail_in = l < h ? h - l + 5 : 5 - (l - h), o.avail_out = v < y ? y - v + 257 : 257 - (v - y), r.hold = _, r.bits = k;
2057
2058
  };
2058
- }, {}], 49: [function(s, S, c) {
2059
+ }, {}], 49: [function(s, C, c) {
2059
2060
  var o = s("../utils/common"), a = s("./adler32"), r = s("./crc32"), l = s("./inffast"), h = s("./inftrees"), v = 1, b = 2, y = 0, n = -2, p = 1, i = 852, d = 592;
2060
2061
  function u(g) {
2061
2062
  return (g >>> 24 & 255) + (g >>> 8 & 65280) + ((65280 & g) << 8) + ((255 & g) << 24);
@@ -2071,13 +2072,13 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2071
2072
  var O;
2072
2073
  return g && g.state ? ((O = g.state).wsize = 0, O.whave = 0, O.wnext = 0, k(g)) : n;
2073
2074
  }
2074
- function C(g, O) {
2075
+ function S(g, O) {
2075
2076
  var e, F;
2076
2077
  return g && g.state ? (F = g.state, O < 0 ? (e = 0, O = -O) : (e = 1 + (O >> 4), O < 48 && (O &= 15)), O && (O < 8 || 15 < O) ? n : (F.window !== null && F.wbits !== O && (F.window = null), F.wrap = e, F.wbits = O, A(g))) : n;
2077
2078
  }
2078
2079
  function P(g, O) {
2079
2080
  var e, F;
2080
- return g ? (F = new _(), (g.state = F).window = null, (e = C(g, O)) !== y && (g.state = null), e) : n;
2081
+ return g ? (F = new _(), (g.state = F).window = null, (e = S(g, O)) !== y && (g.state = null), e) : n;
2081
2082
  }
2082
2083
  var B, Z, z = !0;
2083
2084
  function V(g) {
@@ -2096,7 +2097,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2096
2097
  var J, W = g.state;
2097
2098
  return W.window === null && (W.wsize = 1 << W.wbits, W.wnext = 0, W.whave = 0, W.window = new o.Buf8(W.wsize)), F >= W.wsize ? (o.arraySet(W.window, O, e - W.wsize, W.wsize, 0), W.wnext = 0, W.whave = W.wsize) : (F < (J = W.wsize - W.wnext) && (J = F), o.arraySet(W.window, O, e - F, J, W.wnext), (F -= J) ? (o.arraySet(W.window, O, e - F, F, 0), W.wnext = F, W.whave = W.wsize) : (W.wnext += J, W.wnext === W.wsize && (W.wnext = 0), W.whave < W.wsize && (W.whave += J))), 0;
2098
2099
  }
2099
- c.inflateReset = A, c.inflateReset2 = C, c.inflateResetKeep = k, c.inflateInit = function(g) {
2100
+ c.inflateReset = A, c.inflateReset2 = S, c.inflateResetKeep = k, c.inflateInit = function(g) {
2100
2101
  return P(g, 15);
2101
2102
  }, c.inflateInit2 = P, c.inflate = function(g, O) {
2102
2103
  var e, F, J, W, et, M, H, E, w, N, $, R, it, nt, tt, rt, st, ot, ft, ut, t, D, T, m, f = 0, x = new o.Buf8(4), L = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
@@ -2465,10 +2466,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2465
2466
  var e, F = O.length;
2466
2467
  return g && g.state ? (e = g.state).wrap !== 0 && e.mode !== 11 ? n : e.mode === 11 && a(1, O, F, 0) !== e.check ? -3 : X(g, O, F, F) ? (e.mode = 31, -4) : (e.havedict = 1, y) : n;
2467
2468
  }, c.inflateInfo = "pako inflate (from Nodeca project)";
2468
- }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./inffast": 48, "./inftrees": 50 }], 50: [function(s, S, c) {
2469
+ }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./inffast": 48, "./inftrees": 50 }], 50: [function(s, C, c) {
2469
2470
  var o = s("../utils/common"), a = [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], r = [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], l = [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], h = [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];
2470
- S.exports = function(v, b, y, n, p, i, d, u) {
2471
- var _, k, A, C, P, B, Z, z, V, X = u.bits, g = 0, O = 0, e = 0, F = 0, J = 0, W = 0, et = 0, M = 0, H = 0, E = 0, w = null, N = 0, $ = new o.Buf16(16), R = new o.Buf16(16), it = null, nt = 0;
2471
+ C.exports = function(v, b, y, n, p, i, d, u) {
2472
+ var _, k, A, S, P, B, Z, z, V, X = u.bits, g = 0, O = 0, e = 0, F = 0, J = 0, W = 0, et = 0, M = 0, H = 0, E = 0, w = null, N = 0, $ = new o.Buf16(16), R = new o.Buf16(16), it = null, nt = 0;
2472
2473
  for (g = 0; g <= 15; g++) $[g] = 0;
2473
2474
  for (O = 0; O < n; O++) $[b[y + O]]++;
2474
2475
  for (J = X, F = 15; 1 <= F && $[F] === 0; F--) ;
@@ -2478,7 +2479,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2478
2479
  if (0 < M && (v === 0 || F !== 1)) return -1;
2479
2480
  for (R[1] = 0, g = 1; g < 15; g++) R[g + 1] = R[g] + $[g];
2480
2481
  for (O = 0; O < n; O++) b[y + O] !== 0 && (d[R[b[y + O]]++] = O);
2481
- if (B = v === 0 ? (w = it = d, 19) : v === 1 ? (w = a, N -= 257, it = r, nt -= 257, 256) : (w = l, it = h, -1), g = e, P = i, et = O = E = 0, A = -1, C = (H = 1 << (W = J)) - 1, v === 1 && 852 < H || v === 2 && 592 < H) return 1;
2482
+ if (B = v === 0 ? (w = it = d, 19) : v === 1 ? (w = a, N -= 257, it = r, nt -= 257, 256) : (w = l, it = h, -1), g = e, P = i, et = O = E = 0, A = -1, S = (H = 1 << (W = J)) - 1, v === 1 && 852 < H || v === 2 && 592 < H) return 1;
2482
2483
  for (; ; ) {
2483
2484
  for (Z = g - et, V = d[O] < B ? (z = 0, d[O]) : d[O] > B ? (z = it[nt + d[O]], w[N + d[O]]) : (z = 96, 0), _ = 1 << g - et, e = k = 1 << W; p[P + (E >> et) + (k -= _)] = Z << 24 | z << 16 | V | 0, k !== 0; ) ;
2484
2485
  for (_ = 1 << g - 1; E & _; ) _ >>= 1;
@@ -2486,22 +2487,22 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2486
2487
  if (g === F) break;
2487
2488
  g = b[y + d[O]];
2488
2489
  }
2489
- if (J < g && (E & C) !== A) {
2490
+ if (J < g && (E & S) !== A) {
2490
2491
  for (et === 0 && (et = J), P += e, M = 1 << (W = g - et); W + et < F && !((M -= $[W + et]) <= 0); ) W++, M <<= 1;
2491
2492
  if (H += 1 << W, v === 1 && 852 < H || v === 2 && 592 < H) return 1;
2492
- p[A = E & C] = J << 24 | W << 16 | P - i | 0;
2493
+ p[A = E & S] = J << 24 | W << 16 | P - i | 0;
2493
2494
  }
2494
2495
  }
2495
2496
  return E !== 0 && (p[P + E] = g - et << 24 | 64 << 16 | 0), u.bits = J, 0;
2496
2497
  };
2497
- }, { "../utils/common": 41 }], 51: [function(s, S, c) {
2498
- S.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" };
2499
- }, {}], 52: [function(s, S, c) {
2498
+ }, { "../utils/common": 41 }], 51: [function(s, C, c) {
2499
+ C.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" };
2500
+ }, {}], 52: [function(s, C, c) {
2500
2501
  var o = s("../utils/common"), a = 0, r = 1;
2501
2502
  function l(f) {
2502
2503
  for (var x = f.length; 0 <= --x; ) f[x] = 0;
2503
2504
  }
2504
- var h = 0, v = 29, b = 256, y = b + 1 + v, n = 30, p = 19, i = 2 * y + 1, d = 15, u = 16, _ = 7, k = 256, A = 16, C = 17, P = 18, B = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0], Z = [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], z = [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], X = new Array(2 * (y + 2));
2505
+ var h = 0, v = 29, b = 256, y = b + 1 + v, n = 30, p = 19, i = 2 * y + 1, d = 15, u = 16, _ = 7, k = 256, A = 16, S = 17, P = 18, B = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0], Z = [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], z = [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], X = new Array(2 * (y + 2));
2505
2506
  l(X);
2506
2507
  var g = new Array(2 * n);
2507
2508
  l(g);
@@ -2586,13 +2587,13 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2586
2587
  }
2587
2588
  function t(f, x, L) {
2588
2589
  var j, I, G = -1, q = x[1], Y = 0, Q = 7, lt = 4;
2589
- for (q === 0 && (Q = 138, lt = 3), x[2 * (L + 1) + 1] = 65535, j = 0; j <= L; j++) I = q, q = x[2 * (j + 1) + 1], ++Y < Q && I === q || (Y < lt ? f.bl_tree[2 * I] += Y : I !== 0 ? (I !== G && f.bl_tree[2 * I]++, f.bl_tree[2 * A]++) : Y <= 10 ? f.bl_tree[2 * C]++ : f.bl_tree[2 * P]++, G = I, lt = (Y = 0) === q ? (Q = 138, 3) : I === q ? (Q = 6, 3) : (Q = 7, 4));
2590
+ for (q === 0 && (Q = 138, lt = 3), x[2 * (L + 1) + 1] = 65535, j = 0; j <= L; j++) I = q, q = x[2 * (j + 1) + 1], ++Y < Q && I === q || (Y < lt ? f.bl_tree[2 * I] += Y : I !== 0 ? (I !== G && f.bl_tree[2 * I]++, f.bl_tree[2 * A]++) : Y <= 10 ? f.bl_tree[2 * S]++ : f.bl_tree[2 * P]++, G = I, lt = (Y = 0) === q ? (Q = 138, 3) : I === q ? (Q = 6, 3) : (Q = 7, 4));
2590
2591
  }
2591
2592
  function D(f, x, L) {
2592
2593
  var j, I, G = -1, q = x[1], Y = 0, Q = 7, lt = 4;
2593
2594
  for (q === 0 && (Q = 138, lt = 3), j = 0; j <= L; j++) if (I = q, q = x[2 * (j + 1) + 1], !(++Y < Q && I === q)) {
2594
2595
  if (Y < lt) for (; R(f, I, f.bl_tree), --Y != 0; ) ;
2595
- else I !== 0 ? (I !== G && (R(f, I, f.bl_tree), Y--), R(f, A, f.bl_tree), $(f, Y - 3, 2)) : Y <= 10 ? (R(f, C, f.bl_tree), $(f, Y - 3, 3)) : (R(f, P, f.bl_tree), $(f, Y - 11, 7));
2596
+ else I !== 0 ? (I !== G && (R(f, I, f.bl_tree), Y--), R(f, A, f.bl_tree), $(f, Y - 3, 2)) : Y <= 10 ? (R(f, S, f.bl_tree), $(f, Y - 3, 3)) : (R(f, P, f.bl_tree), $(f, Y - 11, 7));
2596
2597
  G = I, lt = (Y = 0) === q ? (Q = 138, 3) : I === q ? (Q = 6, 3) : (Q = 7, 4);
2597
2598
  }
2598
2599
  }
@@ -2641,11 +2642,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2641
2642
  x.bi_valid === 16 ? (N(x, x.bi_buf), x.bi_buf = 0, x.bi_valid = 0) : 8 <= x.bi_valid && (x.pending_buf[x.pending++] = 255 & x.bi_buf, x.bi_buf >>= 8, x.bi_valid -= 8);
2642
2643
  }(f);
2643
2644
  };
2644
- }, { "../utils/common": 41 }], 53: [function(s, S, c) {
2645
- S.exports = function() {
2645
+ }, { "../utils/common": 41 }], 53: [function(s, C, c) {
2646
+ C.exports = function() {
2646
2647
  this.input = null, this.next_in = 0, this.avail_in = 0, this.total_in = 0, this.output = null, this.next_out = 0, this.avail_out = 0, this.total_out = 0, this.msg = "", this.state = null, this.data_type = 2, this.adler = 0;
2647
2648
  };
2648
- }, {}], 54: [function(s, S, c) {
2649
+ }, {}], 54: [function(s, C, c) {
2649
2650
  (function(o) {
2650
2651
  (function(a, r) {
2651
2652
  if (!a.setImmediate) {
@@ -2656,10 +2657,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2656
2657
  });
2657
2658
  } : function() {
2658
2659
  if (a.postMessage && !a.importScripts) {
2659
- var A = !0, C = a.onmessage;
2660
+ var A = !0, S = a.onmessage;
2660
2661
  return a.onmessage = function() {
2661
2662
  A = !1;
2662
- }, a.postMessage("", "*"), a.onmessage = C, A;
2663
+ }, a.postMessage("", "*"), a.onmessage = S, A;
2663
2664
  }
2664
2665
  }() ? (b = "setImmediate$" + Math.random() + "$", a.addEventListener ? a.addEventListener("message", k, !1) : a.attachEvent("onmessage", k), function(A) {
2665
2666
  a.postMessage(b + A, "*");
@@ -2668,16 +2669,16 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2668
2669
  }, function(A) {
2669
2670
  v.port2.postMessage(A);
2670
2671
  }) : i && "onreadystatechange" in i.createElement("script") ? (h = i.documentElement, function(A) {
2671
- var C = i.createElement("script");
2672
- C.onreadystatechange = function() {
2673
- _(A), C.onreadystatechange = null, h.removeChild(C), C = null;
2674
- }, h.appendChild(C);
2672
+ var S = i.createElement("script");
2673
+ S.onreadystatechange = function() {
2674
+ _(A), S.onreadystatechange = null, h.removeChild(S), S = null;
2675
+ }, h.appendChild(S);
2675
2676
  }) : function(A) {
2676
2677
  setTimeout(_, 0, A);
2677
2678
  }, d.setImmediate = function(A) {
2678
2679
  typeof A != "function" && (A = new Function("" + A));
2679
- for (var C = new Array(arguments.length - 1), P = 0; P < C.length; P++) C[P] = arguments[P + 1];
2680
- var B = { callback: A, args: C };
2680
+ for (var S = new Array(arguments.length - 1), P = 0; P < S.length; P++) S[P] = arguments[P + 1];
2681
+ var B = { callback: A, args: S };
2681
2682
  return n[y] = B, l(y), y++;
2682
2683
  }, d.clearImmediate = u;
2683
2684
  }
@@ -2687,8 +2688,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2687
2688
  function _(A) {
2688
2689
  if (p) setTimeout(_, 0, A);
2689
2690
  else {
2690
- var C = n[A];
2691
- if (C) {
2691
+ var S = n[A];
2692
+ if (S) {
2692
2693
  p = !0;
2693
2694
  try {
2694
2695
  (function(P) {
@@ -2709,7 +2710,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2709
2710
  default:
2710
2711
  B.apply(r, Z);
2711
2712
  }
2712
- })(C);
2713
+ })(S);
2713
2714
  } finally {
2714
2715
  u(A), p = !1;
2715
2716
  }
@@ -2724,9 +2725,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2724
2725
  }, {}] }, {}, [10])(10);
2725
2726
  });
2726
2727
  })(Bt);
2727
- var Xt = Bt.exports;
2728
- const Jt = /* @__PURE__ */ Wt(Xt);
2729
- function Qt(U) {
2728
+ var qt = Bt.exports;
2729
+ const Xt = /* @__PURE__ */ jt(qt);
2730
+ function Jt(U) {
2730
2731
  let K = "";
2731
2732
  const s = [];
2732
2733
  if (U.bold && s.push("<b/>"), U.italic && s.push("<i/>"), U.underline && s.push("<u/>"), U.strikethrough && s.push("<strike/>"), U.textColor && U.textColor.toLowerCase() !== "#000000") {
@@ -2734,20 +2735,20 @@ function Qt(U) {
2734
2735
  c && s.push(`<color rgb="${c}"/>`);
2735
2736
  }
2736
2737
  s.length > 0 && (K += `<font>${s.join("")}</font>`);
2737
- const S = U.cellColor;
2738
- if (S && S.toLowerCase() !== "#ffffff") {
2739
- const c = Et(S);
2738
+ const C = U.cellColor;
2739
+ if (C && C.toLowerCase() !== "#ffffff") {
2740
+ const c = Et(C);
2740
2741
  c && (K += `<fill><patternFill patternType="solid"><fgColor rgb="${c}"/></patternFill></fill>`);
2741
2742
  }
2742
2743
  return `<dxf>${K}</dxf>`;
2743
2744
  }
2744
- function te(U, K) {
2745
+ function Qt(U, K) {
2745
2746
  const s = U.match(/<dxfs count="(\d+)"/);
2746
2747
  if (s) {
2747
- const S = parseInt(s[1], 10);
2748
+ const C = parseInt(s[1], 10);
2748
2749
  return {
2749
- xml: U.replace(/<dxfs count="\d+"/, `<dxfs count="${S + 1}"`).replace("</dxfs>", K + "</dxfs>"),
2750
- dxfId: S
2750
+ xml: U.replace(/<dxfs count="\d+"/, `<dxfs count="${C + 1}"`).replace("</dxfs>", K + "</dxfs>"),
2751
+ dxfId: C
2751
2752
  };
2752
2753
  }
2753
2754
  return U.includes("<dxfs/>") ? {
@@ -2761,15 +2762,15 @@ function te(U, K) {
2761
2762
  dxfId: 0
2762
2763
  };
2763
2764
  }
2764
- function ee(U) {
2765
+ function te(U) {
2765
2766
  return U.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
2766
2767
  }
2767
- function re(U, K, s) {
2768
- const S = new RegExp(
2769
- `(<conditionalFormatting[^>]*\\bsqref="${ee(K)}"[^>]*>)`
2768
+ function ee(U, K, s) {
2769
+ const C = new RegExp(
2770
+ `(<conditionalFormatting[^>]*\\bsqref="${te(K)}"[^>]*>)`
2770
2771
  );
2771
- if (S.test(U))
2772
- return U.replace(S, `$1${s}`);
2772
+ if (C.test(U))
2773
+ return U.replace(C, `$1${s}`);
2773
2774
  const c = `<conditionalFormatting sqref="${K}">${s}</conditionalFormatting>`;
2774
2775
  for (const o of [
2775
2776
  "<pageMargins",
@@ -2782,61 +2783,61 @@ function re(U, K, s) {
2782
2783
  return U.replace(o, c + o);
2783
2784
  return U + c;
2784
2785
  }
2785
- function ne(U) {
2786
+ function re(U) {
2786
2787
  return U.replace(
2787
2788
  /<cfRule([^>]*)type="containsText"([^>]*?)>([\s\S]*?)<\/cfRule>/g,
2788
- (K, s, S, c) => {
2789
- if (/\btext=/.test(s) || /\btext=/.test(S)) return K;
2789
+ (K, s, C, c) => {
2790
+ if (/\btext=/.test(s) || /\btext=/.test(C)) return K;
2790
2791
  const o = c.match(/<formula[^>]*>([\s\S]*?)<\/formula>/);
2791
2792
  if (!o) return K;
2792
2793
  const r = o[1].replace(/&quot;/g, '"').replace(/&amp;/g, "&").replace(/&lt;/g, "<").replace(/&gt;/g, ">").match(/SEARCH\s*\(\s*"([^"]*)"/i);
2793
2794
  if (!r) return K;
2794
2795
  const l = r[1].replace(/&/g, "&amp;").replace(/"/g, "&quot;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
2795
- return `<cfRule${s}type="containsText"${S} text="${l}">${c}</cfRule>`;
2796
+ return `<cfRule${s}type="containsText"${C} text="${l}">${c}</cfRule>`;
2796
2797
  }
2797
2798
  );
2798
2799
  }
2799
- async function ie(U, K) {
2800
+ async function ne(U, K) {
2800
2801
  var a;
2801
- const s = await Jt.loadAsync(U), S = s.file("xl/styles.xml");
2802
- let c = S ? await S.async("text") : "", o = !1;
2802
+ const s = await Xt.loadAsync(U), C = s.file("xl/styles.xml");
2803
+ let c = C ? await C.async("text") : "", o = !1;
2803
2804
  for (const [r, l] of Object.entries(s.files)) {
2804
2805
  if (l.dir) continue;
2805
2806
  const h = r.match(/^xl\/worksheets\/sheet(\d+)\.xml$/);
2806
2807
  if (!h) continue;
2807
2808
  const v = parseInt(h[1], 10) - 1;
2808
2809
  let b = await l.async("text"), y = !1;
2809
- const n = ne(b);
2810
+ const n = re(b);
2810
2811
  n !== b && (b = n, y = !0);
2811
2812
  const p = ((a = K[v]) == null ? void 0 : a.duplicateValues) ?? [];
2812
2813
  for (const i of p) {
2813
- const d = Qt(i.format), { xml: u, dxfId: _ } = te(c, d);
2814
+ const d = Jt(i.format), { xml: u, dxfId: _ } = Qt(c, d);
2814
2815
  c = u, o = !0;
2815
2816
  const k = `<cfRule type="${i.type}" dxfId="${_}" priority="${i.priority}"/>`;
2816
- b = re(b, i.ref, k), y = !0;
2817
+ b = ee(b, i.ref, k), y = !0;
2817
2818
  }
2818
2819
  y && s.file(r, b);
2819
2820
  }
2820
- return o && S && s.file("xl/styles.xml", c), s.generateAsync({ type: "arraybuffer", compression: "DEFLATE" });
2821
+ return o && C && s.file("xl/styles.xml", c), s.generateAsync({ type: "arraybuffer", compression: "DEFLATE" });
2821
2822
  }
2822
- const ae = (U) => {
2823
+ const ie = (U) => {
2823
2824
  if (!U || typeof U != "string") return null;
2824
2825
  const K = U.trim().toLowerCase();
2825
2826
  if (K.startsWith("#")) {
2826
2827
  const c = K.replace("#", "").toUpperCase();
2827
2828
  return c.length === 3 ? c.split("").map((o) => o + o).join("").toUpperCase() : c.length === 6 ? c : null;
2828
2829
  }
2829
- const s = /rgba?\s*\(\s*([\d.]+)[,\s]+([\d.]+)[,\s]+([\d.]+)(?:[,\s/]+[\d.]+)?\s*\)/i, S = K.match(s);
2830
- if (S) {
2831
- const c = Math.min(255, Math.max(0, parseFloat(S[1]))), o = Math.min(255, Math.max(0, parseFloat(S[2]))), a = Math.min(255, Math.max(0, parseFloat(S[3])));
2830
+ const s = /rgba?\s*\(\s*([\d.]+)[,\s]+([\d.]+)[,\s]+([\d.]+)(?:[,\s/]+[\d.]+)?\s*\)/i, C = K.match(s);
2831
+ if (C) {
2832
+ const c = Math.min(255, Math.max(0, parseFloat(C[1]))), o = Math.min(255, Math.max(0, parseFloat(C[2]))), a = Math.min(255, Math.max(0, parseFloat(C[3])));
2832
2833
  return ((1 << 24) + (c << 16) + (o << 8) + a).toString(16).slice(1).toUpperCase();
2833
2834
  }
2834
2835
  return null;
2835
2836
  };
2836
- function se(U) {
2837
+ function ae(U) {
2837
2838
  const K = {};
2838
2839
  if (U.bl === 1 && (K.bold = !0), U.it === 1 && (K.italic = !0), U.un === 1 && (K.underline = !0), U.cl === 1 && (K.strike = !0), U.fs && (K.size = Number(U.fs)), typeof U.ff == "string" && U.ff && (K.name = U.ff), U.fc) {
2839
- const s = ae(U.fc);
2840
+ const s = ie(U.fc);
2840
2841
  s && (K.color = { argb: `FF${s}` });
2841
2842
  }
2842
2843
  return Object.keys(K).length > 0 ? K : void 0;
@@ -2845,53 +2846,51 @@ function Ot(U) {
2845
2846
  if (!Array.isArray(U) || U.length === 0) return null;
2846
2847
  const K = [];
2847
2848
  for (const s of U) {
2848
- const S = String(s.v ?? "");
2849
- if (S === "" && !s.bl && !s.it && !s.un && !s.cl) continue;
2850
- const c = se(s), o = { text: S };
2849
+ const C = String(s.v ?? "");
2850
+ if (C === "" && !s.bl && !s.it && !s.un && !s.cl) continue;
2851
+ const c = ae(s), o = { text: C };
2851
2852
  c && (o.font = c), K.push(o);
2852
2853
  }
2853
2854
  return K.length === 0 || !K.some((s) => s.text !== "") ? null : { richText: K };
2854
2855
  }
2855
- function oe(U, K) {
2856
- K.forEach((s, S) => {
2857
- const c = U.getCell(S);
2856
+ function se(U, K) {
2857
+ K.forEach((s, C) => {
2858
+ const c = U.getCell(C);
2858
2859
  c.value = s;
2859
2860
  });
2860
2861
  }
2861
- function le(U) {
2862
- const K = U == null ? void 0 : U.filter, s = U == null ? void 0 : U.filter_select, S = !!(K && Object.keys(K).length > 0), c = !!s && (Array.isArray(s.row) || Array.isArray(s.column));
2863
- return S || c;
2862
+ function oe(U) {
2863
+ const K = U == null ? void 0 : U.filter, s = U == null ? void 0 : U.filter_select, C = !!(K && Object.keys(K).length > 0), c = !!s && (Array.isArray(s.row) || Array.isArray(s.column));
2864
+ return C || c;
2864
2865
  }
2865
- const Ct = (U) => {
2866
+ const St = (U) => {
2866
2867
  if (!U || typeof U != "string") return null;
2867
2868
  const K = U.trim().toLowerCase();
2868
2869
  if (K.startsWith("#")) {
2869
2870
  const c = K.replace("#", "").toUpperCase();
2870
2871
  return c.length === 3 ? c.split("").map((o) => o + o).join("").toUpperCase() : c.length === 6 ? c : null;
2871
2872
  }
2872
- const s = /rgba?\s*\(\s*([\d.]+)[,\s]+([\d.]+)[,\s]+([\d.]+)(?:[,\s/]+[\d.]+)?\s*\)/i, S = K.match(s);
2873
- if (S) {
2874
- const c = Math.min(255, Math.max(0, parseFloat(S[1]))), o = Math.min(255, Math.max(0, parseFloat(S[2]))), a = Math.min(255, Math.max(0, parseFloat(S[3])));
2873
+ const s = /rgba?\s*\(\s*([\d.]+)[,\s]+([\d.]+)[,\s]+([\d.]+)(?:[,\s/]+[\d.]+)?\s*\)/i, C = K.match(s);
2874
+ if (C) {
2875
+ const c = Math.min(255, Math.max(0, parseFloat(C[1]))), o = Math.min(255, Math.max(0, parseFloat(C[2]))), a = Math.min(255, Math.max(0, parseFloat(C[3])));
2875
2876
  return ((1 << 24) + (c << 16) + (o << 8) + a).toString(16).slice(1).toUpperCase();
2876
2877
  }
2877
2878
  return null;
2878
- }, me = async (U, K, s, S) => {
2879
+ }, me = async (U, K, s, C) => {
2879
2880
  var c, o, a, r;
2880
2881
  if (!(!U.current || !K.current))
2881
2882
  try {
2882
2883
  const l = (o = (c = U.current).getWorkbookContext) == null ? void 0 : o.call(c), h = l == null ? void 0 : l.luckysheetfile;
2883
- Array.isArray(h) && h.some(le) && Rt({
2884
+ Array.isArray(h) && h.some(oe) && Rt({
2884
2885
  title: "Filters are not supported in Export",
2885
2886
  variant: "warning",
2886
2887
  showCloseButton: !0,
2887
2888
  duration: 30 * 1e3
2888
2889
  }), K.current.getArray(s);
2889
- const b = U.current.getAllSheets();
2890
- b.forEach((z) => Zt(z));
2891
- const y = dt.book_new(), n = b.map(() => /* @__PURE__ */ new Map()), p = /* @__PURE__ */ new Set();
2890
+ const b = U.current.getAllSheets(), y = dt.book_new(), n = b.map(() => /* @__PURE__ */ new Map()), p = /* @__PURE__ */ new Set();
2892
2891
  b.forEach((z, V) => {
2893
2892
  var F, J, W, et, M;
2894
- const X = Mt(z), g = dt.aoa_to_sheet(X);
2893
+ const X = Wt(z), g = dt.aoa_to_sheet(X);
2895
2894
  Object.keys(g).forEach((H) => {
2896
2895
  if (H.startsWith("!")) return;
2897
2896
  const E = g[H];
@@ -2937,7 +2936,7 @@ const Ct = (U) => {
2937
2936
  ut && n[V].set($, ut);
2938
2937
  }
2939
2938
  if (N.ct && (N.ct.fa && (R.z = N.ct.fa), N.ct.t && N.ct.t !== "inlineStr" && (R.t = N.ct.t === "d" ? "n" : N.ct.t)), typeof R.v == "number" && !R.t && (R.t = "n"), R.s = R.s || {}, N.bg) {
2940
- const ut = Ct(N.bg);
2939
+ const ut = St(N.bg);
2941
2940
  ut && (R.s.fill = {
2942
2941
  patternType: "solid",
2943
2942
  fgColor: { rgb: ut }
@@ -2952,7 +2951,7 @@ const Ct = (U) => {
2952
2951
  sz: N.fs ?? 10,
2953
2952
  name: N.ff ?? void 0,
2954
2953
  color: (() => {
2955
- const ut = Ct(N.fc);
2954
+ const ut = St(N.fc);
2956
2955
  return ut ? { rgb: ut } : void 0;
2957
2956
  })()
2958
2957
  };
@@ -2971,7 +2970,7 @@ const Ct = (U) => {
2971
2970
  if (!R && !it) return;
2972
2971
  const nt = { ...g[$] || {} };
2973
2972
  if (nt.s = nt.s || {}, R && (nt.f = w.f.replace(/^=/, "")), w.bg) {
2974
- const st = Ct(w.bg);
2973
+ const st = St(w.bg);
2975
2974
  st && (nt.s.fill = { patternType: "solid", fgColor: { rgb: st } });
2976
2975
  }
2977
2976
  nt.s.font = {
@@ -2983,7 +2982,7 @@ const Ct = (U) => {
2983
2982
  sz: w.fs ?? 10,
2984
2983
  name: w.ff ?? void 0,
2985
2984
  color: (() => {
2986
- const st = Ct(w.fc);
2985
+ const st = St(w.fc);
2987
2986
  return st ? { rgb: st } : void 0;
2988
2987
  })()
2989
2988
  };
@@ -3008,7 +3007,7 @@ const Ct = (U) => {
3008
3007
  const it = Ot(w.ct.s);
3009
3008
  it && n[V].set($, it);
3010
3009
  });
3011
- }), (M = z.config) != null && M.borderInfo && Vt(g, z.config.borderInfo);
3010
+ }), (M = z.config) != null && M.borderInfo && Ht(g, z.config.borderInfo);
3012
3011
  const e = z.name.length > 30 ? z.name.slice(0, 30) : z.name;
3013
3012
  if (p.has(e)) {
3014
3013
  const H = e !== z.name ? `"${z.name}" is too long and collides with another sheet after being shortened to "${e}"` : `Two sheets share the name "${z.name}"`;
@@ -3018,7 +3017,7 @@ const Ct = (U) => {
3018
3017
  }
3019
3018
  p.add(e), dt.book_append_sheet(y, g, e);
3020
3019
  });
3021
- const i = await (S == null ? void 0 : S(s)) || "Untitled", d = Pt(y, {
3020
+ const i = await (C == null ? void 0 : C(s)) || "Untitled", d = Pt(y, {
3022
3021
  bookType: "xlsx",
3023
3022
  type: "array",
3024
3023
  compression: !0
@@ -3032,11 +3031,11 @@ const Ct = (U) => {
3032
3031
  b.forEach((z, V) => {
3033
3032
  const X = u.worksheets[V];
3034
3033
  if (!X) return;
3035
- oe(X, n[V]);
3034
+ se(X, n[V]);
3036
3035
  const g = z.data;
3037
3036
  Object.entries(z.hyperlink || {}).forEach(([et, M]) => {
3038
3037
  var tt, rt, st, ot;
3039
- const H = Lt(M);
3038
+ const H = Mt(M);
3040
3039
  if (!(H != null && H.linkAddress)) return;
3041
3040
  const [E, w] = et.split("_").map(Number);
3042
3041
  if (Number.isNaN(E) || Number.isNaN(w)) return;
@@ -3049,7 +3048,7 @@ const Ct = (U) => {
3049
3048
  hyperlink: H.linkAddress
3050
3049
  };
3051
3050
  });
3052
- const { nextPriority: O, pendingDuplicateValues: e } = qt(X, z, 1);
3051
+ const { nextPriority: O, pendingDuplicateValues: e } = Kt(X, z, 1);
3053
3052
  k[V] = { duplicateValues: e };
3054
3053
  let F = O;
3055
3054
  if (!z.dataVerification) return;
@@ -3111,7 +3110,7 @@ const Ct = (U) => {
3111
3110
  const X = u.worksheets[V];
3112
3111
  if (!X) return;
3113
3112
  const g = Number(z.defaultColWidth) || 99, O = Number(z.defaultRowHeight) || 21;
3114
- jt(
3113
+ Lt(
3115
3114
  X,
3116
3115
  u,
3117
3116
  z.images,
@@ -3120,7 +3119,7 @@ const Ct = (U) => {
3120
3119
  O
3121
3120
  );
3122
3121
  });
3123
- const A = await u.xlsx.writeBuffer(), C = await ie(A, k), P = new Blob([C], {
3122
+ const A = await u.xlsx.writeBuffer(), S = await ne(A, k), P = new Blob([S], {
3124
3123
  type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
3125
3124
  }), B = URL.createObjectURL(P), Z = document.createElement("a");
3126
3125
  Z.href = B, Z.download = `${i}.xlsx`, Z.click(), URL.revokeObjectURL(B);