@qwen-code/web-shell 0.27.1 → 0.27.2

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 (158) hide show
  1. package/NOTICES.txt +10721 -958
  2. package/dist/{PierreFilePreview-BT_JRIvF.js → PierreFilePreview-CVi_Wsf-.js} +1 -1
  3. package/dist/SpreadsheetPreview-CTyYrLmD.js +379 -0
  4. package/dist/{WorkspaceFileBrowser-G1yA2eBf.js → WorkspaceFileBrowser-DkQgnDFv.js} +2 -2
  5. package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
  6. package/dist/abnfDiagram-VCTEODGH-CQWhk3bg.js +87 -0
  7. package/dist/abnfDiagram-VCTEODGH-DXK3iWaN.js +87 -0
  8. package/dist/{agents-route-bkxyBAkN.js → agents-route-ZD8W2lTb.js} +2 -2
  9. package/dist/arc-BcP3aO-G.js +83 -0
  10. package/dist/arc-DkZAOzaU.js +83 -0
  11. package/dist/architectureDiagram-5GKGNRK7-DhcVEkLQ.js +4775 -0
  12. package/dist/architectureDiagram-5GKGNRK7-DusU8ybk.js +4776 -0
  13. package/dist/blockDiagram-NRAW4CY4-BMOuo5wl.js +1414 -0
  14. package/dist/blockDiagram-NRAW4CY4-YciA8-8I.js +1414 -0
  15. package/dist/c4Diagram-UCG6FXSJ-BJxpHO4v.js +1508 -0
  16. package/dist/c4Diagram-UCG6FXSJ-DNpq-cdF.js +1508 -0
  17. package/dist/channel-CfhQTpjX.js +5 -0
  18. package/dist/channel-QZAYPfF8.js +5 -0
  19. package/dist/chunk-2Q5K7J3B-EGbMOnEe.js +15 -0
  20. package/dist/chunk-2Q5K7J3B-mtpkChaF.js +15 -0
  21. package/dist/chunk-5VM5RSS4-CP4Q2W8n.js +19 -0
  22. package/dist/chunk-5VM5RSS4-CucJ3wyB.js +19 -0
  23. package/dist/chunk-F27PBJKO-CS9kzvAx.js +68 -0
  24. package/dist/chunk-F27PBJKO-Cfw_29T-.js +68 -0
  25. package/dist/chunk-G27WJ6UU-BZzmQ8FW.js +1408 -0
  26. package/dist/chunk-G27WJ6UU-DdeEiwmL.js +1408 -0
  27. package/dist/chunk-JWPE2WC7-BL_hjRLf.js +8 -0
  28. package/dist/chunk-JWPE2WC7-C03UDQBx.js +8 -0
  29. package/dist/chunk-LCL6LL3I-CNn3XyuL.js +1533 -0
  30. package/dist/chunk-LCL6LL3I-CR-IGGIM.js +1533 -0
  31. package/dist/chunk-POPQ4Y6H-BVQbxVHz.js +19 -0
  32. package/dist/chunk-POPQ4Y6H-UJK1fYGP.js +19 -0
  33. package/dist/chunk-SVP7TREG-B-E-xFG8.js +664 -0
  34. package/dist/chunk-SVP7TREG-BUmyTmov.js +664 -0
  35. package/dist/chunk-XXDRQBXY-BDcf4DQz.js +8 -0
  36. package/dist/chunk-XXDRQBXY-BHAq0mtL.js +8 -0
  37. package/dist/classDiagram-DTDB5LWJ-CVA3J-EH.js +16 -0
  38. package/dist/classDiagram-DTDB5LWJ-Dh121Rlt.js +16 -0
  39. package/dist/classDiagram-v2-JRS7N3AN-CVA3J-EH.js +16 -0
  40. package/dist/classDiagram-v2-JRS7N3AN-Dh121Rlt.js +16 -0
  41. package/dist/cose-bilkent-JH36ORCC-CLe0kcHa.js +2605 -0
  42. package/dist/cose-bilkent-JH36ORCC-DpMM48hA.js +2606 -0
  43. package/dist/cynefin-OW5HDTMX-CyO3b088.js +23750 -0
  44. package/dist/cynefinDiagram-5FMLGOSQ-C5xaWeuA.js +299 -0
  45. package/dist/cynefinDiagram-5FMLGOSQ-mLaK-3R3.js +299 -0
  46. package/dist/cytoscape.esm-DCrf4dL8.js +18782 -0
  47. package/dist/daemon-react-sdk.js +1 -1
  48. package/dist/dagre-3AP2YEHR-CmNFrtW9.js +456 -0
  49. package/dist/dagre-3AP2YEHR-zDm3fBQq.js +456 -0
  50. package/dist/defaultLocale-BgPVtth8.js +171 -0
  51. package/dist/diagram-S7CK7UJ4-BQtgRcGU.js +346 -0
  52. package/dist/diagram-S7CK7UJ4-Clojnf04.js +346 -0
  53. package/dist/diagram-UQ7AKVKN-B3Ll3rB4.js +219 -0
  54. package/dist/diagram-UQ7AKVKN-CTn4O0fd.js +219 -0
  55. package/dist/diagram-VSXAHHWV-BeYXDVEh.js +463 -0
  56. package/dist/diagram-VSXAHHWV-mdxkNEZP.js +463 -0
  57. package/dist/diagram-VX7I27RA-C3bzQYLd.js +529 -0
  58. package/dist/diagram-VX7I27RA-DaPLIQOr.js +529 -0
  59. package/dist/diagram-Z3DM3KII-BImvaL3c.js +142 -0
  60. package/dist/diagram-Z3DM3KII-CkkdGhWO.js +142 -0
  61. package/dist/{docx-preview-BucJeYCm.js → docx-preview-BfV4m8Qp.js} +503 -506
  62. package/dist/ebnfDiagram-PWID7BFC-C8RUggbp.js +109 -0
  63. package/dist/ebnfDiagram-PWID7BFC-gJHJx-lt.js +109 -0
  64. package/dist/erDiagram-SSCWMZ5O-CKFzjLCd.js +1059 -0
  65. package/dist/erDiagram-SSCWMZ5O-DLJjXFG9.js +1059 -0
  66. package/dist/flowDiagram-A5DVABFB-BHAeEzG1.js +1689 -0
  67. package/dist/flowDiagram-A5DVABFB-BOdsfJ-4.js +1689 -0
  68. package/dist/ganttDiagram-EL5Y4UJY-CtL6LAbW.js +2703 -0
  69. package/dist/ganttDiagram-EL5Y4UJY-D0hNphpF.js +2704 -0
  70. package/dist/gitGraphDiagram-WWUBYQGX-8XcPnT4w.js +815 -0
  71. package/dist/gitGraphDiagram-WWUBYQGX-DxHtQ0ba.js +815 -0
  72. package/dist/{index-B6wNHUaX.js → index-BGsppGgG.js} +69284 -64504
  73. package/dist/index.js +3 -3
  74. package/dist/infoDiagram-RXCK75RN-B-Ds06LN.js +24 -0
  75. package/dist/infoDiagram-RXCK75RN-Dhirg4if.js +24 -0
  76. package/dist/init-DjUOC4st.js +16 -0
  77. package/dist/ishikawaDiagram-5VMMS53U-BJPKneVd.js +621 -0
  78. package/dist/ishikawaDiagram-5VMMS53U-CsttzTkq.js +621 -0
  79. package/dist/journeyDiagram-EYS64GPL-BBAEhOQ9.js +836 -0
  80. package/dist/journeyDiagram-EYS64GPL-DfXS6tI_.js +836 -0
  81. package/dist/kanban-definition-3QL26DDD-Bh1Jz01C.js +723 -0
  82. package/dist/kanban-definition-3QL26DDD-C8yOTG02.js +723 -0
  83. package/dist/layout-Dxab-q-T.js +1704 -0
  84. package/dist/layout-sTbo9v3C.js +1704 -0
  85. package/dist/linear-BhTDfwHZ.js +259 -0
  86. package/dist/linear-CjDL9r_e.js +259 -0
  87. package/dist/mermaid.core-CFV16zMl.js +19742 -0
  88. package/dist/mermaid.core-DBp8atac.js +19747 -0
  89. package/dist/mindmap-definition-FBJOCRG2-KPo1Z4it.js +826 -0
  90. package/dist/mindmap-definition-FBJOCRG2-vau9OLMK.js +826 -0
  91. package/dist/ordinal-DfAQgscy.js +61 -0
  92. package/dist/pegDiagram-XKGWAZYB-CFjH6RoO.js +95 -0
  93. package/dist/pegDiagram-XKGWAZYB-EeXt14MX.js +95 -0
  94. package/dist/pieDiagram-E7YTZNPT-CJa9GbCV.js +208 -0
  95. package/dist/pieDiagram-E7YTZNPT-JyO_8fWF.js +208 -0
  96. package/dist/quadrantDiagram-AXDQQJYC-B7tyPD89.js +1023 -0
  97. package/dist/quadrantDiagram-AXDQQJYC-G9wAekw0.js +1023 -0
  98. package/dist/railroadDiagram-O6MQD6OU-3-cuTnqH.js +77 -0
  99. package/dist/railroadDiagram-O6MQD6OU-SyM4QCMp.js +77 -0
  100. package/dist/requirementDiagram-EFPCY7ZU-BJal3W63.js +882 -0
  101. package/dist/requirementDiagram-EFPCY7ZU-bMW72Av_.js +882 -0
  102. package/dist/sankeyDiagram-P5KCCOFB-BKP8fccK.js +847 -0
  103. package/dist/sankeyDiagram-P5KCCOFB-C4KDi8Ty.js +847 -0
  104. package/dist/sequenceDiagram-WJ2MYXX4-DFvbPjPG.js +2888 -0
  105. package/dist/sequenceDiagram-WJ2MYXX4-DvgRoXFL.js +2888 -0
  106. package/dist/sizeCapture-X5ZJPWSS-DPkvpCxM.js +46 -0
  107. package/dist/sizeCapture-X5ZJPWSS-DU4nf5aV.js +46 -0
  108. package/dist/stateDiagram-HBIQ2CUA-CWp0mOcF.js +262 -0
  109. package/dist/stateDiagram-HBIQ2CUA-DkN3hNFV.js +262 -0
  110. package/dist/stateDiagram-v2-4QOOHH4V-Bh7H2ZBJ.js +16 -0
  111. package/dist/stateDiagram-v2-4QOOHH4V-DX-OvV9U.js +16 -0
  112. package/dist/sw.js +1 -1
  113. package/dist/swimlanes-XN3QIQJK-2s4fbN8J.js +5219 -0
  114. package/dist/swimlanes-XN3QIQJK-CI3ENZQA.js +5219 -0
  115. package/dist/swimlanesDiagram-VK2B7HYN-BEjeqDmx.js +13 -0
  116. package/dist/swimlanesDiagram-VK2B7HYN-DWJY6BGD.js +13 -0
  117. package/dist/timeline-definition-24CTP7MA-C_tZHri9.js +1057 -0
  118. package/dist/timeline-definition-24CTP7MA-DYXEracn.js +1057 -0
  119. package/dist/transcript.js +14564 -11549
  120. package/dist/types/App.d.ts +10 -1
  121. package/dist/types/components/ComposerUsageStats.d.ts +34 -0
  122. package/dist/types/components/WelcomeHeader.d.ts +8 -0
  123. package/dist/types/components/artifacts/tokenUsageTotals.d.ts +36 -0
  124. package/dist/types/components/channels/ChannelEditorDialog.d.ts +10 -1
  125. package/dist/types/components/channels/ChannelQrLogin.d.ts +13 -0
  126. package/dist/types/components/channels/WeixinLoginPanel.d.ts +17 -0
  127. package/dist/types/components/channels/channel-editor-state.d.ts +8 -1
  128. package/dist/types/components/channels/channel-platform.d.ts +2 -1
  129. package/dist/types/components/channels/weixin-auth-api.d.ts +32 -0
  130. package/dist/types/components/managed/ManagedRuntimeSkillsImporter.d.ts +10 -0
  131. package/dist/types/components/managed/ManagedSideQueryPanel.d.ts +5 -0
  132. package/dist/types/components/managed/WorkspaceBindingCreator.d.ts +26 -1
  133. package/dist/types/components/managed/generated/managed-agent-api.d.ts +605 -0
  134. package/dist/types/components/managed/java-managed-agent-client.d.ts +122 -1
  135. package/dist/types/components/managed/managed-agent-provider.d.ts +14 -1
  136. package/dist/types/components/managed/managed-diagnostics-messages.d.ts +14 -1
  137. package/dist/types/components/managed/managed-extension-install.d.ts +5 -2
  138. package/dist/types/components/managed/managed-extension-messages.d.ts +7 -0
  139. package/dist/types/components/managed/managed-extension-types.d.ts +4 -0
  140. package/dist/types/components/managed/managed-session-storage.d.ts +35 -0
  141. package/dist/types/components/managed/managed-side-query-command.d.ts +5 -0
  142. package/dist/types/components/managed/managed-side-query-types.d.ts +21 -0
  143. package/dist/types/components/managed/managed-side-query.test-fixtures.d.ts +3 -0
  144. package/dist/types/components/managed/use-managed-side-queries.d.ts +26 -0
  145. package/dist/types/customization.d.ts +31 -0
  146. package/dist/types/daemon/workspace/hooks/useDaemonChannels.d.ts +2 -1
  147. package/dist/types/daemon/workspace/types.d.ts +8 -1
  148. package/dist/types/index.d.ts +1 -0
  149. package/dist/{useDaemonMidTurnInjected-tBzI77Ar.js → useDaemonMidTurnInjected-B7dPEdqk.js} +2040 -1825
  150. package/dist/vennDiagram-4TSXK5OY-Bi3e_aHN.js +1578 -0
  151. package/dist/vennDiagram-4TSXK5OY-DZCe1Ffi.js +1578 -0
  152. package/dist/wardleyDiagram-VM6X3IG4-BNV5jzew.js +675 -0
  153. package/dist/wardleyDiagram-VM6X3IG4-DqFJHRmt.js +675 -0
  154. package/dist/xychartDiagram-S5SC5T6Z-BVIJ86ch.js +1492 -0
  155. package/dist/xychartDiagram-S5SC5T6Z-J8xP-hcH.js +1492 -0
  156. package/package.json +19 -9
  157. package/dist/SpreadsheetPreview-d5XL70Ho.js +0 -379
  158. package/dist/types/components/artifacts/excel-preview-parser.d.ts +0 -5
@@ -1,9 +1,6 @@
1
- var Rt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2
- function ye(o) {
3
- return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
4
- }
5
- function Tt(o) {
6
- throw new Error('Could not dynamically require "' + o + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
1
+ import { g as ye, c as Rt } from "./_commonjsHelpers-DaMA6jEr.js";
2
+ function Tt(l) {
3
+ throw new Error('Could not dynamically require "' + l + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
7
4
  }
8
5
  var ae = { exports: {} };
9
6
  /*!
@@ -17,9 +14,9 @@ Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/js
17
14
  JSZip uses the library pako released under the MIT license :
18
15
  https://github.com/nodeca/pako/blob/main/LICENSE
19
16
  */
20
- (function(o, e) {
17
+ (function(l, e) {
21
18
  (function(t) {
22
- o.exports = t();
19
+ l.exports = t();
23
20
  })(function() {
24
21
  return function t(r, a, n) {
25
22
  function i(y, S) {
@@ -27,7 +24,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
27
24
  if (!r[y]) {
28
25
  var v = typeof Tt == "function" && Tt;
29
26
  if (!S && v) return v(y, !0);
30
- if (l) return l(y, !0);
27
+ if (o) return o(y, !0);
31
28
  var _ = new Error("Cannot find module '" + y + "'");
32
29
  throw _.code = "MODULE_NOT_FOUND", _;
33
30
  }
@@ -39,23 +36,23 @@ https://github.com/nodeca/pako/blob/main/LICENSE
39
36
  }
40
37
  return a[y].exports;
41
38
  }
42
- for (var l = typeof Tt == "function" && Tt, h = 0; h < n.length; h++) i(n[h]);
39
+ for (var o = typeof Tt == "function" && Tt, h = 0; h < n.length; h++) i(n[h]);
43
40
  return i;
44
41
  }({ 1: [function(t, r, a) {
45
- var n = t("./utils"), i = t("./support"), l = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
42
+ var n = t("./utils"), i = t("./support"), o = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
46
43
  a.encode = function(h) {
47
- for (var y, S, v, _, d, k, u, m = [], f = 0, b = h.length, x = b, E = n.getTypeOf(h) !== "string"; f < h.length; ) x = b - f, v = E ? (y = h[f++], S = f < b ? h[f++] : 0, f < b ? h[f++] : 0) : (y = h.charCodeAt(f++), S = f < b ? h.charCodeAt(f++) : 0, f < b ? h.charCodeAt(f++) : 0), _ = y >> 2, d = (3 & y) << 4 | S >> 4, k = 1 < x ? (15 & S) << 2 | v >> 6 : 64, u = 2 < x ? 63 & v : 64, m.push(l.charAt(_) + l.charAt(d) + l.charAt(k) + l.charAt(u));
44
+ for (var y, S, v, _, d, k, u, m = [], f = 0, b = h.length, x = b, E = n.getTypeOf(h) !== "string"; f < h.length; ) x = b - f, v = E ? (y = h[f++], S = f < b ? h[f++] : 0, f < b ? h[f++] : 0) : (y = h.charCodeAt(f++), S = f < b ? h.charCodeAt(f++) : 0, f < b ? h.charCodeAt(f++) : 0), _ = y >> 2, d = (3 & y) << 4 | S >> 4, k = 1 < x ? (15 & S) << 2 | v >> 6 : 64, u = 2 < x ? 63 & v : 64, m.push(o.charAt(_) + o.charAt(d) + o.charAt(k) + o.charAt(u));
48
45
  return m.join("");
49
46
  }, a.decode = function(h) {
50
47
  var y, S, v, _, d, k, u = 0, m = 0, f = "data:";
51
48
  if (h.substr(0, f.length) === f) throw new Error("Invalid base64 input, it looks like a data url.");
52
49
  var b, x = 3 * (h = h.replace(/[^A-Za-z0-9+/=]/g, "")).length / 4;
53
- if (h.charAt(h.length - 1) === l.charAt(64) && x--, h.charAt(h.length - 2) === l.charAt(64) && x--, x % 1 != 0) throw new Error("Invalid base64 input, bad content length.");
54
- for (b = i.uint8array ? new Uint8Array(0 | x) : new Array(0 | x); u < h.length; ) y = l.indexOf(h.charAt(u++)) << 2 | (_ = l.indexOf(h.charAt(u++))) >> 4, S = (15 & _) << 4 | (d = l.indexOf(h.charAt(u++))) >> 2, v = (3 & d) << 6 | (k = l.indexOf(h.charAt(u++))), b[m++] = y, d !== 64 && (b[m++] = S), k !== 64 && (b[m++] = v);
50
+ if (h.charAt(h.length - 1) === o.charAt(64) && x--, h.charAt(h.length - 2) === o.charAt(64) && x--, x % 1 != 0) throw new Error("Invalid base64 input, bad content length.");
51
+ for (b = i.uint8array ? new Uint8Array(0 | x) : new Array(0 | x); u < h.length; ) y = o.indexOf(h.charAt(u++)) << 2 | (_ = o.indexOf(h.charAt(u++))) >> 4, S = (15 & _) << 4 | (d = o.indexOf(h.charAt(u++))) >> 2, v = (3 & d) << 6 | (k = o.indexOf(h.charAt(u++))), b[m++] = y, d !== 64 && (b[m++] = S), k !== 64 && (b[m++] = v);
55
52
  return b;
56
53
  };
57
54
  }, { "./support": 30, "./utils": 32 }], 2: [function(t, r, a) {
58
- var n = t("./external"), i = t("./stream/DataWorker"), l = t("./stream/Crc32Probe"), h = t("./stream/DataLengthProbe");
55
+ var n = t("./external"), i = t("./stream/DataWorker"), o = t("./stream/Crc32Probe"), h = t("./stream/DataLengthProbe");
59
56
  function y(S, v, _, d, k) {
60
57
  this.compressedSize = S, this.uncompressedSize = v, this.crc32 = _, this.compression = d, this.compressedContent = k;
61
58
  }
@@ -67,7 +64,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
67
64
  }, getCompressedWorker: function() {
68
65
  return new i(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize", this.compressedSize).withStreamInfo("uncompressedSize", this.uncompressedSize).withStreamInfo("crc32", this.crc32).withStreamInfo("compression", this.compression);
69
66
  } }, y.createWorkerFrom = function(S, v, _) {
70
- return S.pipe(new l()).pipe(new h("uncompressedSize")).pipe(v.compressWorker(_)).pipe(new h("compressedSize")).withStreamInfo("compression", v);
67
+ return S.pipe(new o()).pipe(new h("uncompressedSize")).pipe(v.compressWorker(_)).pipe(new h("compressedSize")).withStreamInfo("compression", v);
71
68
  }, r.exports = y;
72
69
  }, { "./external": 6, "./stream/Crc32Probe": 25, "./stream/DataLengthProbe": 26, "./stream/DataWorker": 27 }], 3: [function(t, r, a) {
73
70
  var n = t("./stream/GenericWorker");
@@ -78,25 +75,25 @@ https://github.com/nodeca/pako/blob/main/LICENSE
78
75
  } }, a.DEFLATE = t("./flate");
79
76
  }, { "./flate": 7, "./stream/GenericWorker": 28 }], 4: [function(t, r, a) {
80
77
  var n = t("./utils"), i = function() {
81
- for (var l, h = [], y = 0; y < 256; y++) {
82
- l = y;
83
- for (var S = 0; S < 8; S++) l = 1 & l ? 3988292384 ^ l >>> 1 : l >>> 1;
84
- h[y] = l;
78
+ for (var o, h = [], y = 0; y < 256; y++) {
79
+ o = y;
80
+ for (var S = 0; S < 8; S++) o = 1 & o ? 3988292384 ^ o >>> 1 : o >>> 1;
81
+ h[y] = o;
85
82
  }
86
83
  return h;
87
84
  }();
88
- r.exports = function(l, h) {
89
- return l !== void 0 && l.length ? n.getTypeOf(l) !== "string" ? function(y, S, v, _) {
85
+ r.exports = function(o, h) {
86
+ return o !== void 0 && o.length ? n.getTypeOf(o) !== "string" ? function(y, S, v, _) {
90
87
  var d = i, k = _ + v;
91
88
  y ^= -1;
92
89
  for (var u = _; u < k; u++) y = y >>> 8 ^ d[255 & (y ^ S[u])];
93
90
  return -1 ^ y;
94
- }(0 | h, l, l.length, 0) : function(y, S, v, _) {
91
+ }(0 | h, o, o.length, 0) : function(y, S, v, _) {
95
92
  var d = i, k = _ + v;
96
93
  y ^= -1;
97
94
  for (var u = _; u < k; u++) y = y >>> 8 ^ d[255 & (y ^ S.charCodeAt(u))];
98
95
  return -1 ^ y;
99
- }(0 | h, l, l.length, 0) : 0;
96
+ }(0 | h, o, o.length, 0) : 0;
100
97
  };
101
98
  }, { "./utils": 32 }], 5: [function(t, r, a) {
102
99
  a.base64 = !1, a.binary = !1, a.dir = !1, a.createFolders = !0, a.date = null, a.compression = null, a.compressionOptions = null, a.comment = null, a.unixPermissions = null, a.dosPermissions = null;
@@ -104,12 +101,12 @@ https://github.com/nodeca/pako/blob/main/LICENSE
104
101
  var n = null;
105
102
  n = typeof Promise < "u" ? Promise : t("lie"), r.exports = { Promise: n };
106
103
  }, { lie: 37 }], 7: [function(t, r, a) {
107
- var n = typeof Uint8Array < "u" && typeof Uint16Array < "u" && typeof Uint32Array < "u", i = t("pako"), l = t("./utils"), h = t("./stream/GenericWorker"), y = n ? "uint8array" : "array";
104
+ var n = typeof Uint8Array < "u" && typeof Uint16Array < "u" && typeof Uint32Array < "u", i = t("pako"), o = t("./utils"), h = t("./stream/GenericWorker"), y = n ? "uint8array" : "array";
108
105
  function S(v, _) {
109
106
  h.call(this, "FlateWorker/" + v), this._pako = null, this._pakoAction = v, this._pakoOptions = _, this.meta = {};
110
107
  }
111
- a.magic = "\b\0", l.inherits(S, h), S.prototype.processChunk = function(v) {
112
- this.meta = v.meta, this._pako === null && this._createPako(), this._pako.push(l.transformTo(y, v.data), !1);
108
+ a.magic = "\b\0", o.inherits(S, h), S.prototype.processChunk = function(v) {
109
+ this.meta = v.meta, this._pako === null && this._createPako(), this._pako.push(o.transformTo(y, v.data), !1);
113
110
  }, S.prototype.flush = function() {
114
111
  h.prototype.flush.call(this), this._pako === null && this._createPako(), this._pako.push([], !0);
115
112
  }, S.prototype.cleanUp = function() {
@@ -132,7 +129,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
132
129
  return m;
133
130
  }
134
131
  function i(d, k, u, m, f, b) {
135
- var x, E, A = d.file, L = d.compression, F = b !== y.utf8encode, H = l.transformTo("string", b(A.name)), T = l.transformTo("string", y.utf8encode(A.name)), V = A.comment, Q = l.transformTo("string", b(V)), w = l.transformTo("string", y.utf8encode(V)), I = T.length !== A.name.length, c = w.length !== V.length, D = "", et = "", $ = "", rt = A.dir, W = A.date, tt = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
132
+ var x, E, A = d.file, L = d.compression, F = b !== y.utf8encode, H = o.transformTo("string", b(A.name)), T = o.transformTo("string", y.utf8encode(A.name)), V = A.comment, Q = o.transformTo("string", b(V)), w = o.transformTo("string", y.utf8encode(V)), I = T.length !== A.name.length, c = w.length !== V.length, D = "", et = "", $ = "", rt = A.dir, W = A.date, tt = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
136
133
  k && !u || (tt.crc32 = d.crc32, tt.compressedSize = d.compressedSize, tt.uncompressedSize = d.uncompressedSize);
137
134
  var z = 0;
138
135
  k && (z |= 8), F || !I && !c || (z |= 2048);
@@ -147,11 +144,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
147
144
  return q += `
148
145
  \0`, q += n(z, 2), q += L.magic, q += n(x, 2), q += n(E, 2), q += n(tt.crc32, 4), q += n(tt.compressedSize, 4), q += n(tt.uncompressedSize, 4), q += n(H.length, 2), q += n(D.length, 2), { fileRecord: v.LOCAL_FILE_HEADER + q + H + D, dirRecord: v.CENTRAL_FILE_HEADER + n(J, 2) + q + n(Q.length, 2) + "\0\0\0\0" + n(M, 4) + n(m, 4) + H + D + Q };
149
146
  }
150
- var l = t("../utils"), h = t("../stream/GenericWorker"), y = t("../utf8"), S = t("../crc32"), v = t("../signature");
147
+ var o = t("../utils"), h = t("../stream/GenericWorker"), y = t("../utf8"), S = t("../crc32"), v = t("../signature");
151
148
  function _(d, k, u, m) {
152
149
  h.call(this, "ZipFileWorker"), this.bytesWritten = 0, this.zipComment = k, this.zipPlatform = u, this.encodeFileName = m, this.streamFiles = d, this.accumulate = !1, this.contentBuffer = [], this.dirRecords = [], this.currentSourceOffset = 0, this.entriesCount = 0, this.currentFile = null, this._sources = [];
153
150
  }
154
- l.inherits(_, h), _.prototype.push = function(d) {
151
+ o.inherits(_, h), _.prototype.push = function(d) {
155
152
  var k = d.meta.percent || 0, u = this.entriesCount, m = this._sources.length;
156
153
  this.accumulate ? this.contentBuffer.push(d) : (this.bytesWritten += d.data.length, h.prototype.push.call(this, { data: d.data, meta: { currentFile: this.currentFile, percent: u ? (k + 100 * (u - m - 1)) / u : 100 } }));
157
154
  }, _.prototype.openedSource = function(d) {
@@ -172,7 +169,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
172
169
  }, _.prototype.flush = function() {
173
170
  for (var d = this.bytesWritten, k = 0; k < this.dirRecords.length; k++) this.push({ data: this.dirRecords[k], meta: { percent: 100 } });
174
171
  var u = this.bytesWritten - d, m = function(f, b, x, E, A) {
175
- var L = l.transformTo("string", A(E));
172
+ var L = o.transformTo("string", A(E));
176
173
  return v.CENTRAL_DIRECTORY_END + "\0\0\0\0" + n(f, 2) + n(f, 2) + n(b, 4) + n(x, 4) + n(L.length, 2) + L;
177
174
  }(this.dirRecords.length, u, d, this.zipComment, this.encodeFileName);
178
175
  this.push({ data: m, meta: { percent: 100 } });
@@ -204,10 +201,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
204
201
  }, r.exports = _;
205
202
  }, { "../crc32": 4, "../signature": 23, "../stream/GenericWorker": 28, "../utf8": 31, "../utils": 32 }], 9: [function(t, r, a) {
206
203
  var n = t("../compressions"), i = t("./ZipFileWorker");
207
- a.generateWorker = function(l, h, y) {
204
+ a.generateWorker = function(o, h, y) {
208
205
  var S = new i(h.streamFiles, y, h.platform, h.encodeFileName), v = 0;
209
206
  try {
210
- l.forEach(function(_, d) {
207
+ o.forEach(function(_, d) {
211
208
  v++;
212
209
  var k = function(b, x) {
213
210
  var E = b || x, A = n[E];
@@ -227,15 +224,15 @@ https://github.com/nodeca/pako/blob/main/LICENSE
227
224
  if (arguments.length) throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");
228
225
  this.files = /* @__PURE__ */ Object.create(null), this.comment = null, this.root = "", this.clone = function() {
229
226
  var i = new n();
230
- for (var l in this) typeof this[l] != "function" && (i[l] = this[l]);
227
+ for (var o in this) typeof this[o] != "function" && (i[o] = this[o]);
231
228
  return i;
232
229
  };
233
230
  }
234
- (n.prototype = t("./object")).loadAsync = t("./load"), n.support = t("./support"), n.defaults = t("./defaults"), n.version = "3.10.2", n.loadAsync = function(i, l) {
235
- return new n().loadAsync(i, l);
231
+ (n.prototype = t("./object")).loadAsync = t("./load"), n.support = t("./support"), n.defaults = t("./defaults"), n.version = "3.10.2", n.loadAsync = function(i, o) {
232
+ return new n().loadAsync(i, o);
236
233
  }, n.external = t("./external"), r.exports = n;
237
234
  }, { "./defaults": 5, "./external": 6, "./load": 11, "./object": 15, "./support": 30 }], 11: [function(t, r, a) {
238
- var n = t("./utils"), i = t("./external"), l = t("./utf8"), h = t("./zipEntries"), y = t("./stream/Crc32Probe"), S = t("./nodejsUtils");
235
+ var n = t("./utils"), i = t("./external"), o = t("./utf8"), h = t("./zipEntries"), y = t("./stream/Crc32Probe"), S = t("./nodejsUtils");
239
236
  function v(_) {
240
237
  return new i.Promise(function(d, k) {
241
238
  var u = _.decompressed.getContentWorker().pipe(new y());
@@ -248,7 +245,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
248
245
  }
249
246
  r.exports = function(_, d) {
250
247
  var k = this;
251
- return d = n.extend(d || {}, { base64: !1, checkCRC32: !1, optimizedBinaryString: !1, createFolders: !1, decodeFileName: l.utf8decode }), S.isNode && S.isStream(_) ? i.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")) : n.prepareContent("the loaded zip file", _, !0, d.optimizedBinaryString, d.base64).then(function(u) {
248
+ return d = n.extend(d || {}, { base64: !1, checkCRC32: !1, optimizedBinaryString: !1, createFolders: !1, decodeFileName: o.utf8decode }), S.isNode && S.isStream(_) ? i.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")) : n.prepareContent("the loaded zip file", _, !0, d.optimizedBinaryString, d.base64).then(function(u) {
252
249
  var m = new h(d);
253
250
  return m.load(u), m;
254
251
  }).then(function(u) {
@@ -265,10 +262,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
265
262
  };
266
263
  }, { "./external": 6, "./nodejsUtils": 14, "./stream/Crc32Probe": 25, "./utf8": 31, "./utils": 32, "./zipEntries": 33 }], 12: [function(t, r, a) {
267
264
  var n = t("../utils"), i = t("../stream/GenericWorker");
268
- function l(h, y) {
265
+ function o(h, y) {
269
266
  i.call(this, "Nodejs stream input adapter for " + h), this._upstreamEnded = !1, this._bindStream(y);
270
267
  }
271
- n.inherits(l, i), l.prototype._bindStream = function(h) {
268
+ n.inherits(o, i), o.prototype._bindStream = function(h) {
272
269
  var y = this;
273
270
  (this._stream = h).pause(), h.on("data", function(S) {
274
271
  y.push({ data: S, meta: { percent: 0 } });
@@ -277,17 +274,17 @@ https://github.com/nodeca/pako/blob/main/LICENSE
277
274
  }).on("end", function() {
278
275
  y.isPaused ? y._upstreamEnded = !0 : y.end();
279
276
  });
280
- }, l.prototype.pause = function() {
277
+ }, o.prototype.pause = function() {
281
278
  return !!i.prototype.pause.call(this) && (this._stream.pause(), !0);
282
- }, l.prototype.resume = function() {
279
+ }, o.prototype.resume = function() {
283
280
  return !!i.prototype.resume.call(this) && (this._upstreamEnded ? this.end() : this._stream.resume(), !0);
284
- }, r.exports = l;
281
+ }, r.exports = o;
285
282
  }, { "../stream/GenericWorker": 28, "../utils": 32 }], 13: [function(t, r, a) {
286
283
  var n = t("readable-stream").Readable;
287
- function i(l, h, y) {
288
- n.call(this, h), this._helper = l;
284
+ function i(o, h, y) {
285
+ n.call(this, h), this._helper = o;
289
286
  var S = this;
290
- l.on("data", function(v, _) {
287
+ o.on("data", function(v, _) {
291
288
  S.push(v) || S._helper.pause(), y && y(_);
292
289
  }).on("error", function(v) {
293
290
  S.emit("error", v);
@@ -314,16 +311,16 @@ https://github.com/nodeca/pako/blob/main/LICENSE
314
311
  } };
315
312
  }, {}], 15: [function(t, r, a) {
316
313
  function n(A, L, F) {
317
- var H, T = l.getTypeOf(L), V = l.extend(F || {}, S);
314
+ var H, T = o.getTypeOf(L), V = o.extend(F || {}, S);
318
315
  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 && (A = f(A)), V.createFolders && (H = m(A)) && b.call(this, H, !0);
319
316
  var Q = T === "string" && V.binary === !1 && V.base64 === !1;
320
317
  F && F.binary !== void 0 || (V.binary = !Q), (L instanceof v && L.uncompressedSize === 0 || V.dir || !L || L.length === 0) && (V.base64 = !1, V.binary = !0, L = "", V.compression = "STORE", T = "string");
321
318
  var w = null;
322
- w = L instanceof v || L instanceof h ? L : k.isNode && k.isStream(L) ? new u(A, L) : l.prepareContent(A, L, V.binary, V.optimizedBinaryString, V.base64);
319
+ w = L instanceof v || L instanceof h ? L : k.isNode && k.isStream(L) ? new u(A, L) : o.prepareContent(A, L, V.binary, V.optimizedBinaryString, V.base64);
323
320
  var I = new _(A, w, V);
324
321
  this.files[A] = I;
325
322
  }
326
- var i = t("./utf8"), l = t("./utils"), h = t("./stream/GenericWorker"), y = t("./stream/StreamHelper"), S = t("./defaults"), v = t("./compressedObject"), _ = t("./zipObject"), d = t("./generate"), k = t("./nodejsUtils"), u = t("./nodejs/NodejsStreamInputAdapter"), m = function(A) {
323
+ var i = t("./utf8"), o = t("./utils"), h = t("./stream/GenericWorker"), y = t("./stream/StreamHelper"), S = t("./defaults"), v = t("./compressedObject"), _ = t("./zipObject"), d = t("./generate"), k = t("./nodejsUtils"), u = t("./nodejs/NodejsStreamInputAdapter"), m = function(A) {
327
324
  A.slice(-1) === "/" && (A = A.substring(0, A.length - 1));
328
325
  var L = A.lastIndexOf("/");
329
326
  return 0 < L ? A.substring(0, L) : "";
@@ -375,8 +372,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
375
372
  }, generateInternalStream: function(A) {
376
373
  var L, F = {};
377
374
  try {
378
- if ((F = l.extend(A || {}, { streamFiles: !1, compression: "STORE", compressionOptions: null, type: "", platform: "DOS", comment: null, mimeType: "application/zip", encodeFileName: i.utf8encode })).type = F.type.toLowerCase(), F.compression = F.compression.toUpperCase(), F.type === "binarystring" && (F.type = "string"), !F.type) throw new Error("No output type specified.");
379
- l.checkSupport(F.type), F.platform !== "darwin" && F.platform !== "freebsd" && F.platform !== "linux" && F.platform !== "sunos" || (F.platform = "UNIX"), F.platform === "win32" && (F.platform = "DOS");
375
+ if ((F = o.extend(A || {}, { streamFiles: !1, compression: "STORE", compressionOptions: null, type: "", platform: "DOS", comment: null, mimeType: "application/zip", encodeFileName: i.utf8encode })).type = F.type.toLowerCase(), F.compression = F.compression.toUpperCase(), F.type === "binarystring" && (F.type = "string"), !F.type) throw new Error("No output type specified.");
376
+ o.checkSupport(F.type), F.platform !== "darwin" && F.platform !== "freebsd" && F.platform !== "linux" && F.platform !== "sunos" || (F.platform = "UNIX"), F.platform === "win32" && (F.platform = "DOS");
380
377
  var H = F.comment || this.comment || "";
381
378
  L = d.generateWorker(this, F, H);
382
379
  } catch (T) {
@@ -393,125 +390,125 @@ https://github.com/nodeca/pako/blob/main/LICENSE
393
390
  r.exports = t("stream");
394
391
  }, { stream: void 0 }], 17: [function(t, r, a) {
395
392
  var n = t("./DataReader");
396
- function i(l) {
397
- n.call(this, l);
398
- for (var h = 0; h < this.data.length; h++) l[h] = 255 & l[h];
399
- }
400
- t("../utils").inherits(i, n), i.prototype.byteAt = function(l) {
401
- return this.data[this.zero + l];
402
- }, i.prototype.lastIndexOfSignature = function(l) {
403
- for (var h = l.charCodeAt(0), y = l.charCodeAt(1), S = l.charCodeAt(2), v = l.charCodeAt(3), _ = this.length - 4; 0 <= _; --_) if (this.data[_] === h && this.data[_ + 1] === y && this.data[_ + 2] === S && this.data[_ + 3] === v) return _ - this.zero;
393
+ function i(o) {
394
+ n.call(this, o);
395
+ for (var h = 0; h < this.data.length; h++) o[h] = 255 & o[h];
396
+ }
397
+ t("../utils").inherits(i, n), i.prototype.byteAt = function(o) {
398
+ return this.data[this.zero + o];
399
+ }, i.prototype.lastIndexOfSignature = function(o) {
400
+ for (var h = o.charCodeAt(0), y = o.charCodeAt(1), S = o.charCodeAt(2), v = o.charCodeAt(3), _ = this.length - 4; 0 <= _; --_) if (this.data[_] === h && this.data[_ + 1] === y && this.data[_ + 2] === S && this.data[_ + 3] === v) return _ - this.zero;
404
401
  return -1;
405
- }, i.prototype.readAndCheckSignature = function(l) {
406
- var h = l.charCodeAt(0), y = l.charCodeAt(1), S = l.charCodeAt(2), v = l.charCodeAt(3), _ = this.readData(4);
402
+ }, i.prototype.readAndCheckSignature = function(o) {
403
+ var h = o.charCodeAt(0), y = o.charCodeAt(1), S = o.charCodeAt(2), v = o.charCodeAt(3), _ = this.readData(4);
407
404
  return h === _[0] && y === _[1] && S === _[2] && v === _[3];
408
- }, i.prototype.readData = function(l) {
409
- if (this.checkOffset(l), l === 0) return [];
410
- var h = this.data.slice(this.zero + this.index, this.zero + this.index + l);
411
- return this.index += l, h;
405
+ }, i.prototype.readData = function(o) {
406
+ if (this.checkOffset(o), o === 0) return [];
407
+ var h = this.data.slice(this.zero + this.index, this.zero + this.index + o);
408
+ return this.index += o, h;
412
409
  }, r.exports = i;
413
410
  }, { "../utils": 32, "./DataReader": 18 }], 18: [function(t, r, a) {
414
411
  var n = t("../utils");
415
- function i(l) {
416
- this.data = l, this.length = l.length, this.index = 0, this.zero = 0;
417
- }
418
- i.prototype = { checkOffset: function(l) {
419
- this.checkIndex(this.index + l);
420
- }, checkIndex: function(l) {
421
- if (this.length < this.zero + l || l < 0) throw new Error("End of data reached (data length = " + this.length + ", asked index = " + l + "). Corrupted zip ?");
422
- }, setIndex: function(l) {
423
- this.checkIndex(l), this.index = l;
424
- }, skip: function(l) {
425
- this.setIndex(this.index + l);
412
+ function i(o) {
413
+ this.data = o, this.length = o.length, this.index = 0, this.zero = 0;
414
+ }
415
+ i.prototype = { checkOffset: function(o) {
416
+ this.checkIndex(this.index + o);
417
+ }, checkIndex: function(o) {
418
+ if (this.length < this.zero + o || o < 0) throw new Error("End of data reached (data length = " + this.length + ", asked index = " + o + "). Corrupted zip ?");
419
+ }, setIndex: function(o) {
420
+ this.checkIndex(o), this.index = o;
421
+ }, skip: function(o) {
422
+ this.setIndex(this.index + o);
426
423
  }, byteAt: function() {
427
- }, readInt: function(l) {
424
+ }, readInt: function(o) {
428
425
  var h, y = 0;
429
- for (this.checkOffset(l), h = this.index + l - 1; h >= this.index; h--) y = (y << 8) + this.byteAt(h);
430
- return this.index += l, y;
431
- }, readString: function(l) {
432
- return n.transformTo("string", this.readData(l));
426
+ for (this.checkOffset(o), h = this.index + o - 1; h >= this.index; h--) y = (y << 8) + this.byteAt(h);
427
+ return this.index += o, y;
428
+ }, readString: function(o) {
429
+ return n.transformTo("string", this.readData(o));
433
430
  }, readData: function() {
434
431
  }, lastIndexOfSignature: function() {
435
432
  }, readAndCheckSignature: function() {
436
433
  }, readDate: function() {
437
- var l = this.readInt(4);
438
- return new Date(Date.UTC(1980 + (l >> 25 & 127), (l >> 21 & 15) - 1, l >> 16 & 31, l >> 11 & 31, l >> 5 & 63, (31 & l) << 1));
434
+ var o = this.readInt(4);
435
+ return new Date(Date.UTC(1980 + (o >> 25 & 127), (o >> 21 & 15) - 1, o >> 16 & 31, o >> 11 & 31, o >> 5 & 63, (31 & o) << 1));
439
436
  } }, r.exports = i;
440
437
  }, { "../utils": 32 }], 19: [function(t, r, a) {
441
438
  var n = t("./Uint8ArrayReader");
442
- function i(l) {
443
- n.call(this, l);
439
+ function i(o) {
440
+ n.call(this, o);
444
441
  }
445
- t("../utils").inherits(i, n), i.prototype.readData = function(l) {
446
- this.checkOffset(l);
447
- var h = this.data.slice(this.zero + this.index, this.zero + this.index + l);
448
- return this.index += l, h;
442
+ t("../utils").inherits(i, n), i.prototype.readData = function(o) {
443
+ this.checkOffset(o);
444
+ var h = this.data.slice(this.zero + this.index, this.zero + this.index + o);
445
+ return this.index += o, h;
449
446
  }, r.exports = i;
450
447
  }, { "../utils": 32, "./Uint8ArrayReader": 21 }], 20: [function(t, r, a) {
451
448
  var n = t("./DataReader");
452
- function i(l) {
453
- n.call(this, l);
454
- }
455
- t("../utils").inherits(i, n), i.prototype.byteAt = function(l) {
456
- return this.data.charCodeAt(this.zero + l);
457
- }, i.prototype.lastIndexOfSignature = function(l) {
458
- return this.data.lastIndexOf(l) - this.zero;
459
- }, i.prototype.readAndCheckSignature = function(l) {
460
- return l === this.readData(4);
461
- }, i.prototype.readData = function(l) {
462
- this.checkOffset(l);
463
- var h = this.data.slice(this.zero + this.index, this.zero + this.index + l);
464
- return this.index += l, h;
449
+ function i(o) {
450
+ n.call(this, o);
451
+ }
452
+ t("../utils").inherits(i, n), i.prototype.byteAt = function(o) {
453
+ return this.data.charCodeAt(this.zero + o);
454
+ }, i.prototype.lastIndexOfSignature = function(o) {
455
+ return this.data.lastIndexOf(o) - this.zero;
456
+ }, i.prototype.readAndCheckSignature = function(o) {
457
+ return o === this.readData(4);
458
+ }, i.prototype.readData = function(o) {
459
+ this.checkOffset(o);
460
+ var h = this.data.slice(this.zero + this.index, this.zero + this.index + o);
461
+ return this.index += o, h;
465
462
  }, r.exports = i;
466
463
  }, { "../utils": 32, "./DataReader": 18 }], 21: [function(t, r, a) {
467
464
  var n = t("./ArrayReader");
468
- function i(l) {
469
- n.call(this, l);
465
+ function i(o) {
466
+ n.call(this, o);
470
467
  }
471
- t("../utils").inherits(i, n), i.prototype.readData = function(l) {
472
- if (this.checkOffset(l), l === 0) return new Uint8Array(0);
473
- var h = this.data.subarray(this.zero + this.index, this.zero + this.index + l);
474
- return this.index += l, h;
468
+ t("../utils").inherits(i, n), i.prototype.readData = function(o) {
469
+ if (this.checkOffset(o), o === 0) return new Uint8Array(0);
470
+ var h = this.data.subarray(this.zero + this.index, this.zero + this.index + o);
471
+ return this.index += o, h;
475
472
  }, r.exports = i;
476
473
  }, { "../utils": 32, "./ArrayReader": 17 }], 22: [function(t, r, a) {
477
- var n = t("../utils"), i = t("../support"), l = t("./ArrayReader"), h = t("./StringReader"), y = t("./NodeBufferReader"), S = t("./Uint8ArrayReader");
474
+ var n = t("../utils"), i = t("../support"), o = t("./ArrayReader"), h = t("./StringReader"), y = t("./NodeBufferReader"), S = t("./Uint8ArrayReader");
478
475
  r.exports = function(v) {
479
476
  var _ = n.getTypeOf(v);
480
- return n.checkSupport(_), _ !== "string" || i.uint8array ? _ === "nodebuffer" ? new y(v) : i.uint8array ? new S(n.transformTo("uint8array", v)) : new l(n.transformTo("array", v)) : new h(v);
477
+ return n.checkSupport(_), _ !== "string" || i.uint8array ? _ === "nodebuffer" ? new y(v) : i.uint8array ? new S(n.transformTo("uint8array", v)) : new o(n.transformTo("array", v)) : new h(v);
481
478
  };
482
479
  }, { "../support": 30, "../utils": 32, "./ArrayReader": 17, "./NodeBufferReader": 19, "./StringReader": 20, "./Uint8ArrayReader": 21 }], 23: [function(t, r, a) {
483
480
  a.LOCAL_FILE_HEADER = "PK", a.CENTRAL_FILE_HEADER = "PK", a.CENTRAL_DIRECTORY_END = "PK", a.ZIP64_CENTRAL_DIRECTORY_LOCATOR = "PK\x07", a.ZIP64_CENTRAL_DIRECTORY_END = "PK", a.DATA_DESCRIPTOR = "PK\x07\b";
484
481
  }, {}], 24: [function(t, r, a) {
485
482
  var n = t("./GenericWorker"), i = t("../utils");
486
- function l(h) {
483
+ function o(h) {
487
484
  n.call(this, "ConvertWorker to " + h), this.destType = h;
488
485
  }
489
- i.inherits(l, n), l.prototype.processChunk = function(h) {
486
+ i.inherits(o, n), o.prototype.processChunk = function(h) {
490
487
  this.push({ data: i.transformTo(this.destType, h.data), meta: h.meta });
491
- }, r.exports = l;
488
+ }, r.exports = o;
492
489
  }, { "../utils": 32, "./GenericWorker": 28 }], 25: [function(t, r, a) {
493
490
  var n = t("./GenericWorker"), i = t("../crc32");
494
- function l() {
491
+ function o() {
495
492
  n.call(this, "Crc32Probe"), this.withStreamInfo("crc32", 0);
496
493
  }
497
- t("../utils").inherits(l, n), l.prototype.processChunk = function(h) {
494
+ t("../utils").inherits(o, n), o.prototype.processChunk = function(h) {
498
495
  this.streamInfo.crc32 = i(h.data, this.streamInfo.crc32 || 0), this.push(h);
499
- }, r.exports = l;
496
+ }, r.exports = o;
500
497
  }, { "../crc32": 4, "../utils": 32, "./GenericWorker": 28 }], 26: [function(t, r, a) {
501
498
  var n = t("../utils"), i = t("./GenericWorker");
502
- function l(h) {
499
+ function o(h) {
503
500
  i.call(this, "DataLengthProbe for " + h), this.propName = h, this.withStreamInfo(h, 0);
504
501
  }
505
- n.inherits(l, i), l.prototype.processChunk = function(h) {
502
+ n.inherits(o, i), o.prototype.processChunk = function(h) {
506
503
  if (h) {
507
504
  var y = this.streamInfo[this.propName] || 0;
508
505
  this.streamInfo[this.propName] = y + h.data.length;
509
506
  }
510
507
  i.prototype.processChunk.call(this, h);
511
- }, r.exports = l;
508
+ }, r.exports = o;
512
509
  }, { "../utils": 32, "./GenericWorker": 28 }], 27: [function(t, r, a) {
513
510
  var n = t("../utils"), i = t("./GenericWorker");
514
- function l(h) {
511
+ function o(h) {
515
512
  i.call(this, "DataWorker");
516
513
  var y = this;
517
514
  this.dataIsReady = !1, this.index = 0, this.max = 0, this.data = null, this.type = "", this._tickScheduled = !1, h.then(function(S) {
@@ -520,13 +517,13 @@ https://github.com/nodeca/pako/blob/main/LICENSE
520
517
  y.error(S);
521
518
  });
522
519
  }
523
- n.inherits(l, i), l.prototype.cleanUp = function() {
520
+ n.inherits(o, i), o.prototype.cleanUp = function() {
524
521
  i.prototype.cleanUp.call(this), this.data = null;
525
- }, l.prototype.resume = function() {
522
+ }, o.prototype.resume = function() {
526
523
  return !!i.prototype.resume.call(this) && (!this._tickScheduled && this.dataIsReady && (this._tickScheduled = !0, n.delay(this._tickAndRepeat, [], this)), !0);
527
- }, l.prototype._tickAndRepeat = function() {
524
+ }, o.prototype._tickAndRepeat = function() {
528
525
  this._tickScheduled = !1, this.isPaused || this.isFinished || (this._tick(), this.isFinished || (n.delay(this._tickAndRepeat, [], this), this._tickScheduled = !0));
529
- }, l.prototype._tick = function() {
526
+ }, o.prototype._tick = function() {
530
527
  if (this.isPaused || this.isFinished) return !1;
531
528
  var h = null, y = Math.min(this.max, this.index + 16384);
532
529
  if (this.index >= this.max) return this.end();
@@ -542,7 +539,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
542
539
  h = this.data.slice(this.index, y);
543
540
  }
544
541
  return this.index = y, this.push({ data: h, meta: { percent: this.max ? this.index / this.max * 100 : 0 } });
545
- }, r.exports = l;
542
+ }, r.exports = o;
546
543
  }, { "../utils": 32, "./GenericWorker": 28 }], 28: [function(t, r, a) {
547
544
  function n(i) {
548
545
  this.name = i || "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;
@@ -560,24 +557,24 @@ https://github.com/nodeca/pako/blob/main/LICENSE
560
557
  return !0;
561
558
  }, error: function(i) {
562
559
  return !this.isFinished && (this.isPaused ? this.generatedError = i : (this.isFinished = !0, this.emit("error", i), this.previous && this.previous.error(i), this.cleanUp()), !0);
563
- }, on: function(i, l) {
564
- return this._listeners[i].push(l), this;
560
+ }, on: function(i, o) {
561
+ return this._listeners[i].push(o), this;
565
562
  }, cleanUp: function() {
566
563
  this.streamInfo = this.generatedError = this.extraStreamInfo = null, this._listeners = [];
567
- }, emit: function(i, l) {
568
- if (this._listeners[i]) for (var h = 0; h < this._listeners[i].length; h++) this._listeners[i][h].call(this, l);
564
+ }, emit: function(i, o) {
565
+ if (this._listeners[i]) for (var h = 0; h < this._listeners[i].length; h++) this._listeners[i][h].call(this, o);
569
566
  }, pipe: function(i) {
570
567
  return i.registerPrevious(this);
571
568
  }, registerPrevious: function(i) {
572
569
  if (this.isLocked) throw new Error("The stream '" + this + "' has already been used.");
573
570
  this.streamInfo = i.streamInfo, this.mergeStreamInfo(), this.previous = i;
574
- var l = this;
571
+ var o = this;
575
572
  return i.on("data", function(h) {
576
- l.processChunk(h);
573
+ o.processChunk(h);
577
574
  }), i.on("end", function() {
578
- l.end();
575
+ o.end();
579
576
  }), i.on("error", function(h) {
580
- l.error(h);
577
+ o.error(h);
581
578
  }), this;
582
579
  }, pause: function() {
583
580
  return !this.isPaused && !this.isFinished && (this.isPaused = !0, this.previous && this.previous.pause(), !0);
@@ -588,8 +585,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
588
585
  }, flush: function() {
589
586
  }, processChunk: function(i) {
590
587
  this.push(i);
591
- }, withStreamInfo: function(i, l) {
592
- return this.extraStreamInfo[i] = l, this.mergeStreamInfo(), this;
588
+ }, withStreamInfo: function(i, o) {
589
+ return this.extraStreamInfo[i] = o, this.mergeStreamInfo(), this;
593
590
  }, mergeStreamInfo: function() {
594
591
  for (var i in this.extraStreamInfo) Object.prototype.hasOwnProperty.call(this.extraStreamInfo, i) && (this.streamInfo[i] = this.extraStreamInfo[i]);
595
592
  }, lock: function() {
@@ -600,7 +597,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
600
597
  return this.previous ? this.previous + " -> " + i : i;
601
598
  } }, r.exports = n;
602
599
  }, {}], 29: [function(t, r, a) {
603
- var n = t("../utils"), i = t("./ConvertWorker"), l = t("./GenericWorker"), h = t("../base64"), y = t("../support"), S = t("../external"), v = null;
600
+ var n = t("../utils"), i = t("./ConvertWorker"), o = t("./GenericWorker"), h = t("../base64"), y = t("../support"), S = t("../external"), v = null;
604
601
  if (y.nodestream) try {
605
602
  v = t("../nodejs/NodejsStreamOutputAdapter");
606
603
  } catch {
@@ -661,7 +658,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
661
658
  try {
662
659
  this._internalType = f, this._outputType = u, this._mimeType = m, n.checkSupport(f), this._worker = k.pipe(new i(f)), k.lock();
663
660
  } catch (b) {
664
- this._worker = new l("error"), this._worker.error(b);
661
+ this._worker = new o("error"), this._worker.error(b);
665
662
  }
666
663
  }
667
664
  d.prototype = { accumulate: function(k) {
@@ -702,7 +699,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
702
699
  a.nodestream = !1;
703
700
  }
704
701
  }, { "readable-stream": 16 }], 31: [function(t, r, a) {
705
- for (var n = t("./utils"), i = t("./support"), l = t("./nodejsUtils"), h = t("./stream/GenericWorker"), y = new Array(256), S = 0; S < 256; S++) y[S] = 252 <= S ? 6 : 248 <= S ? 5 : 240 <= S ? 4 : 224 <= S ? 3 : 192 <= S ? 2 : 1;
702
+ for (var n = t("./utils"), i = t("./support"), o = t("./nodejsUtils"), h = t("./stream/GenericWorker"), y = new Array(256), S = 0; S < 256; S++) y[S] = 252 <= S ? 6 : 248 <= S ? 5 : 240 <= S ? 4 : 224 <= S ? 3 : 192 <= S ? 2 : 1;
706
703
  y[254] = y[254] = 1;
707
704
  function v() {
708
705
  h.call(this, "utf-8 decode"), this.leftOver = null;
@@ -711,7 +708,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
711
708
  h.call(this, "utf-8 encode");
712
709
  }
713
710
  a.utf8encode = function(d) {
714
- return i.nodebuffer ? l.newBufferFrom(d, "utf-8") : function(k) {
711
+ return i.nodebuffer ? o.newBufferFrom(d, "utf-8") : function(k) {
715
712
  var u, m, f, b, x, E = k.length, A = 0;
716
713
  for (b = 0; b < E; b++) (64512 & (m = k.charCodeAt(b))) == 55296 && b + 1 < E && (64512 & (f = k.charCodeAt(b + 1))) == 56320 && (m = 65536 + (m - 55296 << 10) + (f - 56320), b++), A += m < 128 ? 1 : m < 2048 ? 2 : m < 65536 ? 3 : 4;
717
714
  for (u = i.uint8array ? new Uint8Array(A) : new Array(A), b = x = 0; x < A; b++) (64512 & (m = k.charCodeAt(b))) == 55296 && b + 1 < E && (64512 & (f = k.charCodeAt(b + 1))) == 56320 && (m = 65536 + (m - 55296 << 10) + (f - 56320), b++), m < 128 ? u[x++] = m : (m < 2048 ? u[x++] = 192 | m >>> 6 : (m < 65536 ? u[x++] = 224 | m >>> 12 : (u[x++] = 240 | m >>> 18, u[x++] = 128 | m >>> 12 & 63), u[x++] = 128 | m >>> 6 & 63), u[x++] = 128 | 63 & m);
@@ -749,7 +746,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
749
746
  this.push({ data: a.utf8encode(d.data), meta: d.meta });
750
747
  }, a.Utf8EncodeWorker = _;
751
748
  }, { "./nodejsUtils": 14, "./stream/GenericWorker": 28, "./support": 30, "./utils": 32 }], 32: [function(t, r, a) {
752
- var n = t("./support"), i = t("./base64"), l = t("./nodejsUtils"), h = t("./external");
749
+ var n = t("./support"), i = t("./base64"), o = t("./nodejsUtils"), h = t("./external");
753
750
  function y(u) {
754
751
  return u;
755
752
  }
@@ -786,7 +783,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
786
783
  }
787
784
  }(), nodebuffer: function() {
788
785
  try {
789
- return n.nodebuffer && String.fromCharCode.apply(null, l.allocBuffer(1)).length === 1;
786
+ return n.nodebuffer && String.fromCharCode.apply(null, o.allocBuffer(1)).length === 1;
790
787
  } catch {
791
788
  return !1;
792
789
  }
@@ -813,13 +810,13 @@ https://github.com/nodeca/pako/blob/main/LICENSE
813
810
  }, uint8array: function(u) {
814
811
  return S(u, new Uint8Array(u.length));
815
812
  }, nodebuffer: function(u) {
816
- return S(u, l.allocBuffer(u.length));
813
+ return S(u, o.allocBuffer(u.length));
817
814
  } }, k.array = { string: _, array: y, arraybuffer: function(u) {
818
815
  return new Uint8Array(u).buffer;
819
816
  }, uint8array: function(u) {
820
817
  return new Uint8Array(u);
821
818
  }, nodebuffer: function(u) {
822
- return l.newBufferFrom(u);
819
+ return o.newBufferFrom(u);
823
820
  } }, k.arraybuffer = { string: function(u) {
824
821
  return _(new Uint8Array(u));
825
822
  }, array: function(u) {
@@ -827,13 +824,13 @@ https://github.com/nodeca/pako/blob/main/LICENSE
827
824
  }, arraybuffer: y, uint8array: function(u) {
828
825
  return new Uint8Array(u);
829
826
  }, nodebuffer: function(u) {
830
- return l.newBufferFrom(new Uint8Array(u));
827
+ return o.newBufferFrom(new Uint8Array(u));
831
828
  } }, k.uint8array = { string: _, array: function(u) {
832
829
  return d(u, new Array(u.length));
833
830
  }, arraybuffer: function(u) {
834
831
  return u.buffer;
835
832
  }, uint8array: y, nodebuffer: function(u) {
836
- return l.newBufferFrom(u);
833
+ return o.newBufferFrom(u);
837
834
  } }, k.nodebuffer = { string: _, array: function(u) {
838
835
  return d(u, new Array(u.length));
839
836
  }, arraybuffer: function(u) {
@@ -854,7 +851,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
854
851
  }, a.getTypeOf = function(u) {
855
852
  if (typeof u == "string") return "string";
856
853
  var m = Object.prototype.toString.call(u);
857
- return m === "[object Array]" ? "array" : n.nodebuffer && l.isBuffer(u) ? "nodebuffer" : n.uint8array && m === "[object Uint8Array]" ? "uint8array" : n.arraybuffer && m === "[object ArrayBuffer]" ? "arraybuffer" : void 0;
854
+ return m === "[object Array]" ? "array" : n.nodebuffer && o.isBuffer(u) ? "nodebuffer" : n.uint8array && m === "[object Uint8Array]" ? "uint8array" : n.arraybuffer && m === "[object ArrayBuffer]" ? "arraybuffer" : void 0;
858
855
  }, a.checkSupport = function(u) {
859
856
  if (!n[u.toLowerCase()]) throw new Error(u + " is not supported by this platform");
860
857
  }, a.MAX_VALUE_16BITS = 65535, a.MAX_VALUE_32BITS = -1, a.pretty = function(u) {
@@ -891,7 +888,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
891
888
  });
892
889
  };
893
890
  }, { "./base64": 1, "./external": 6, "./nodejsUtils": 14, "./support": 30, setimmediate: 54 }], 33: [function(t, r, a) {
894
- var n = t("./reader/readerFor"), i = t("./utils"), l = t("./signature"), h = t("./zipEntry"), y = t("./support");
891
+ var n = t("./reader/readerFor"), i = t("./utils"), o = t("./signature"), h = t("./zipEntry"), y = t("./support");
895
892
  function S(v) {
896
893
  this.files = [], this.loadOptions = v;
897
894
  }
@@ -917,25 +914,25 @@ https://github.com/nodeca/pako/blob/main/LICENSE
917
914
  if (this.diskWithZip64CentralDirStart = this.reader.readInt(4), this.relativeOffsetEndOfZip64CentralDir = this.reader.readInt(8), this.disksCount = this.reader.readInt(4), 1 < this.disksCount) throw new Error("Multi-volumes zip are not supported");
918
915
  }, readLocalFiles: function() {
919
916
  var v, _;
920
- for (v = 0; v < this.files.length; v++) _ = this.files[v], this.reader.setIndex(_.localHeaderOffset), this.checkSignature(l.LOCAL_FILE_HEADER), _.readLocalPart(this.reader), _.handleUTF8(), _.processAttributes();
917
+ for (v = 0; v < this.files.length; v++) _ = this.files[v], this.reader.setIndex(_.localHeaderOffset), this.checkSignature(o.LOCAL_FILE_HEADER), _.readLocalPart(this.reader), _.handleUTF8(), _.processAttributes();
921
918
  }, readCentralDir: function() {
922
919
  var v;
923
- for (this.reader.setIndex(this.centralDirOffset); this.reader.readAndCheckSignature(l.CENTRAL_FILE_HEADER); ) (v = new h({ zip64: this.zip64 }, this.loadOptions)).readCentralPart(this.reader), this.files.push(v);
920
+ for (this.reader.setIndex(this.centralDirOffset); this.reader.readAndCheckSignature(o.CENTRAL_FILE_HEADER); ) (v = new h({ zip64: this.zip64 }, this.loadOptions)).readCentralPart(this.reader), this.files.push(v);
924
921
  if (this.centralDirRecords !== this.files.length && this.centralDirRecords !== 0 && this.files.length === 0) throw new Error("Corrupted zip or bug: expected " + this.centralDirRecords + " records in central dir, got " + this.files.length);
925
922
  }, readEndOfCentral: function() {
926
- var v = this.reader.lastIndexOfSignature(l.CENTRAL_DIRECTORY_END);
927
- if (v < 0) throw this.isSignature(0, l.LOCAL_FILE_HEADER) ? new Error("Corrupted zip: can't find end of central directory") : new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");
923
+ var v = this.reader.lastIndexOfSignature(o.CENTRAL_DIRECTORY_END);
924
+ if (v < 0) throw this.isSignature(0, o.LOCAL_FILE_HEADER) ? new Error("Corrupted zip: can't find end of central directory") : new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");
928
925
  this.reader.setIndex(v);
929
926
  var _ = v;
930
- if (this.checkSignature(l.CENTRAL_DIRECTORY_END), this.readBlockEndOfCentral(), this.diskNumber === i.MAX_VALUE_16BITS || this.diskWithCentralDirStart === i.MAX_VALUE_16BITS || this.centralDirRecordsOnThisDisk === i.MAX_VALUE_16BITS || this.centralDirRecords === i.MAX_VALUE_16BITS || this.centralDirSize === i.MAX_VALUE_32BITS || this.centralDirOffset === i.MAX_VALUE_32BITS) {
931
- if (this.zip64 = !0, (v = this.reader.lastIndexOfSignature(l.ZIP64_CENTRAL_DIRECTORY_LOCATOR)) < 0) throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");
932
- if (this.reader.setIndex(v), this.checkSignature(l.ZIP64_CENTRAL_DIRECTORY_LOCATOR), this.readBlockZip64EndOfCentralLocator(), !this.isSignature(this.relativeOffsetEndOfZip64CentralDir, l.ZIP64_CENTRAL_DIRECTORY_END) && (this.relativeOffsetEndOfZip64CentralDir = this.reader.lastIndexOfSignature(l.ZIP64_CENTRAL_DIRECTORY_END), this.relativeOffsetEndOfZip64CentralDir < 0)) throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");
933
- this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir), this.checkSignature(l.ZIP64_CENTRAL_DIRECTORY_END), this.readBlockZip64EndOfCentral();
927
+ if (this.checkSignature(o.CENTRAL_DIRECTORY_END), this.readBlockEndOfCentral(), this.diskNumber === i.MAX_VALUE_16BITS || this.diskWithCentralDirStart === i.MAX_VALUE_16BITS || this.centralDirRecordsOnThisDisk === i.MAX_VALUE_16BITS || this.centralDirRecords === i.MAX_VALUE_16BITS || this.centralDirSize === i.MAX_VALUE_32BITS || this.centralDirOffset === i.MAX_VALUE_32BITS) {
928
+ if (this.zip64 = !0, (v = this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR)) < 0) throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");
929
+ if (this.reader.setIndex(v), this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR), this.readBlockZip64EndOfCentralLocator(), !this.isSignature(this.relativeOffsetEndOfZip64CentralDir, o.ZIP64_CENTRAL_DIRECTORY_END) && (this.relativeOffsetEndOfZip64CentralDir = this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_END), this.relativeOffsetEndOfZip64CentralDir < 0)) throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");
930
+ this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir), this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_END), this.readBlockZip64EndOfCentral();
934
931
  }
935
932
  var d = this.centralDirOffset + this.centralDirSize;
936
933
  this.zip64 && (d += 20, d += 12 + this.zip64EndOfCentralSize);
937
934
  var k = _ - d;
938
- if (0 < k) this.isSignature(_, l.CENTRAL_FILE_HEADER) || (this.reader.zero = k);
935
+ if (0 < k) this.isSignature(_, o.CENTRAL_FILE_HEADER) || (this.reader.zero = k);
939
936
  else if (k < 0) throw new Error("Corrupted zip: missing " + Math.abs(k) + " bytes.");
940
937
  }, prepareReader: function(v) {
941
938
  this.reader = n(v);
@@ -943,7 +940,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
943
940
  this.prepareReader(v), this.readEndOfCentral(), this.readCentralDir(), this.readLocalFiles();
944
941
  } }, r.exports = S;
945
942
  }, { "./reader/readerFor": 22, "./signature": 23, "./support": 30, "./utils": 32, "./zipEntry": 34 }], 34: [function(t, r, a) {
946
- var n = t("./reader/readerFor"), i = t("./utils"), l = t("./compressedObject"), h = t("./crc32"), y = t("./utf8"), S = t("./compressions"), v = t("./support");
943
+ var n = t("./reader/readerFor"), i = t("./utils"), o = t("./compressedObject"), h = t("./crc32"), y = t("./utf8"), S = t("./compressions"), v = t("./support");
947
944
  function _(d, k) {
948
945
  this.options = d, this.loadOptions = k;
949
946
  }
@@ -958,7 +955,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
958
955
  for (var f in S) if (Object.prototype.hasOwnProperty.call(S, f) && S[f].magic === m) return S[f];
959
956
  return null;
960
957
  }(this.compressionMethod)) === null) throw new Error("Corrupted zip : compression " + i.pretty(this.compressionMethod) + " unknown (inner file : " + i.transformTo("string", this.fileName) + ")");
961
- this.decompressed = new l(this.compressedSize, this.uncompressedSize, this.crc32, k, d.readData(this.compressedSize));
958
+ this.decompressed = new o(this.compressedSize, this.uncompressedSize, this.crc32, k, d.readData(this.compressedSize));
962
959
  }, readCentralPart: function(d) {
963
960
  this.versionMadeBy = d.readInt(2), d.skip(2), this.bitFlag = d.readInt(2), this.compressionMethod = d.readString(2), this.date = d.readDate(), this.crc32 = d.readInt(4), this.compressedSize = d.readInt(4), this.uncompressedSize = d.readInt(4);
964
961
  var k = d.readInt(2);
@@ -1013,7 +1010,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1013
1010
  function n(k, u, m) {
1014
1011
  this.name = k, this.dir = m.dir, this.date = m.date, this.comment = m.comment, this.unixPermissions = m.unixPermissions, this.dosPermissions = m.dosPermissions, this._data = u, this._dataBinary = m.binary, this.options = { compression: m.compression, compressionOptions: m.compressionOptions };
1015
1012
  }
1016
- var i = t("./stream/StreamHelper"), l = t("./stream/DataWorker"), h = t("./utf8"), y = t("./compressedObject"), S = t("./stream/GenericWorker");
1013
+ var i = t("./stream/StreamHelper"), o = t("./stream/DataWorker"), h = t("./utf8"), y = t("./compressedObject"), S = t("./stream/GenericWorker");
1017
1014
  n.prototype = { internalStream: function(k) {
1018
1015
  var u = null, m = "string";
1019
1016
  try {
@@ -1035,7 +1032,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1035
1032
  var m = this._decompressWorker();
1036
1033
  return this._dataBinary || (m = m.pipe(new h.Utf8EncodeWorker())), y.createWorkerFrom(m, k, u);
1037
1034
  }, _decompressWorker: function() {
1038
- return this._data instanceof y ? this._data.getContentWorker() : this._data instanceof S ? this._data : new l(this._data);
1035
+ return this._data instanceof y ? this._data.getContentWorker() : this._data instanceof S ? this._data : new o(this._data);
1039
1036
  } };
1040
1037
  for (var v = ["asText", "asBinary", "asNodeBuffer", "asUint8Array", "asArrayBuffer"], _ = function() {
1041
1038
  throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.");
@@ -1043,7 +1040,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1043
1040
  r.exports = n;
1044
1041
  }, { "./compressedObject": 2, "./stream/DataWorker": 27, "./stream/GenericWorker": 28, "./stream/StreamHelper": 29, "./utf8": 31 }], 36: [function(t, r, a) {
1045
1042
  (function(n) {
1046
- var i, l, h = n.MutationObserver || n.WebKitMutationObserver;
1043
+ var i, o, h = n.MutationObserver || n.WebKitMutationObserver;
1047
1044
  if (h) {
1048
1045
  var y = 0, S = new h(k), v = n.document.createTextNode("");
1049
1046
  S.observe(v, { characterData: !0 }), i = function() {
@@ -1066,22 +1063,22 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1066
1063
  var d = [];
1067
1064
  function k() {
1068
1065
  var u, m;
1069
- l = !0;
1066
+ o = !0;
1070
1067
  for (var f = d.length; f; ) {
1071
1068
  for (m = d, d = [], u = -1; ++u < f; ) m[u]();
1072
1069
  f = d.length;
1073
1070
  }
1074
- l = !1;
1071
+ o = !1;
1075
1072
  }
1076
1073
  r.exports = function(u) {
1077
- d.push(u) !== 1 || l || i();
1074
+ d.push(u) !== 1 || o || i();
1078
1075
  };
1079
1076
  }).call(this, typeof Rt < "u" ? Rt : typeof self < "u" ? self : typeof window < "u" ? window : {});
1080
1077
  }, {}], 37: [function(t, r, a) {
1081
1078
  var n = t("immediate");
1082
1079
  function i() {
1083
1080
  }
1084
- var l = {}, h = ["REJECTED"], y = ["FULFILLED"], S = ["PENDING"];
1081
+ var o = {}, h = ["REJECTED"], y = ["FULFILLED"], S = ["PENDING"];
1085
1082
  function v(f) {
1086
1083
  if (typeof f != "function") throw new TypeError("resolver must be a function");
1087
1084
  this.state = S, this.queue = [], this.outcome = void 0, f !== i && u(this, f);
@@ -1095,9 +1092,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1095
1092
  try {
1096
1093
  E = b(x);
1097
1094
  } catch (A) {
1098
- return l.reject(f, A);
1095
+ return o.reject(f, A);
1099
1096
  }
1100
- E === f ? l.reject(f, new TypeError("Cannot resolve promise with itself")) : l.resolve(f, E);
1097
+ E === f ? o.reject(f, new TypeError("Cannot resolve promise with itself")) : o.resolve(f, E);
1101
1098
  });
1102
1099
  }
1103
1100
  function k(f) {
@@ -1109,10 +1106,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1109
1106
  function u(f, b) {
1110
1107
  var x = !1;
1111
1108
  function E(F) {
1112
- x || (x = !0, l.reject(f, F));
1109
+ x || (x = !0, o.reject(f, F));
1113
1110
  }
1114
1111
  function A(F) {
1115
- x || (x = !0, l.resolve(f, F));
1112
+ x || (x = !0, o.resolve(f, F));
1116
1113
  }
1117
1114
  var L = m(function() {
1118
1115
  b(A, E);
@@ -1147,16 +1144,16 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1147
1144
  var x = new this.constructor(i);
1148
1145
  return this.state !== S ? d(x, this.state === y ? f : b, this.outcome) : this.queue.push(new _(x, f, b)), x;
1149
1146
  }, _.prototype.callFulfilled = function(f) {
1150
- l.resolve(this.promise, f);
1147
+ o.resolve(this.promise, f);
1151
1148
  }, _.prototype.otherCallFulfilled = function(f) {
1152
1149
  d(this.promise, this.onFulfilled, f);
1153
1150
  }, _.prototype.callRejected = function(f) {
1154
- l.reject(this.promise, f);
1151
+ o.reject(this.promise, f);
1155
1152
  }, _.prototype.otherCallRejected = function(f) {
1156
1153
  d(this.promise, this.onRejected, f);
1157
- }, l.resolve = function(f, b) {
1154
+ }, o.resolve = function(f, b) {
1158
1155
  var x = m(k, b);
1159
- if (x.status === "error") return l.reject(f, x.value);
1156
+ if (x.status === "error") return o.reject(f, x.value);
1160
1157
  var E = x.value;
1161
1158
  if (E) u(f, E);
1162
1159
  else {
@@ -1164,15 +1161,15 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1164
1161
  for (var A = -1, L = f.queue.length; ++A < L; ) f.queue[A].callFulfilled(b);
1165
1162
  }
1166
1163
  return f;
1167
- }, l.reject = function(f, b) {
1164
+ }, o.reject = function(f, b) {
1168
1165
  f.state = h, f.outcome = b;
1169
1166
  for (var x = -1, E = f.queue.length; ++x < E; ) f.queue[x].callRejected(b);
1170
1167
  return f;
1171
1168
  }, v.resolve = function(f) {
1172
- return f instanceof this ? f : l.resolve(new this(i), f);
1169
+ return f instanceof this ? f : o.resolve(new this(i), f);
1173
1170
  }, v.reject = function(f) {
1174
1171
  var b = new this(i);
1175
- return l.reject(b, f);
1172
+ return o.reject(b, f);
1176
1173
  }, v.all = function(f) {
1177
1174
  var b = this;
1178
1175
  if (Object.prototype.toString.call(f) !== "[object Array]") return this.reject(new TypeError("must be an array"));
@@ -1182,9 +1179,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1182
1179
  return H;
1183
1180
  function T(V, Q) {
1184
1181
  b.resolve(V).then(function(w) {
1185
- A[Q] = w, ++L !== x || E || (E = !0, l.resolve(H, A));
1182
+ A[Q] = w, ++L !== x || E || (E = !0, o.resolve(H, A));
1186
1183
  }, function(w) {
1187
- E || (E = !0, l.reject(H, w));
1184
+ E || (E = !0, o.reject(H, w));
1188
1185
  });
1189
1186
  }
1190
1187
  }, v.race = function(f) {
@@ -1193,9 +1190,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1193
1190
  var x = f.length, E = !1;
1194
1191
  if (!x) return this.resolve([]);
1195
1192
  for (var A = -1, L = new this(i); ++A < x; ) F = f[A], b.resolve(F).then(function(H) {
1196
- E || (E = !0, l.resolve(L, H));
1193
+ E || (E = !0, o.resolve(L, H));
1197
1194
  }, function(H) {
1198
- E || (E = !0, l.reject(L, H));
1195
+ E || (E = !0, o.reject(L, H));
1199
1196
  });
1200
1197
  var F;
1201
1198
  return L;
@@ -1204,7 +1201,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1204
1201
  var n = {};
1205
1202
  (0, t("./lib/utils/common").assign)(n, t("./lib/deflate"), t("./lib/inflate"), t("./lib/zlib/constants")), r.exports = n;
1206
1203
  }, { "./lib/deflate": 39, "./lib/inflate": 40, "./lib/utils/common": 41, "./lib/zlib/constants": 44 }], 39: [function(t, r, a) {
1207
- var n = t("./zlib/deflate"), i = t("./utils/common"), l = t("./utils/strings"), h = t("./zlib/messages"), y = t("./zlib/zstream"), S = Object.prototype.toString, v = 0, _ = -1, d = 0, k = 8;
1204
+ var n = t("./zlib/deflate"), i = t("./utils/common"), o = t("./utils/strings"), h = t("./zlib/messages"), y = t("./zlib/zstream"), S = Object.prototype.toString, v = 0, _ = -1, d = 0, k = 8;
1208
1205
  function u(f) {
1209
1206
  if (!(this instanceof u)) return new u(f);
1210
1207
  this.options = i.assign({ level: _, method: k, chunkSize: 16384, windowBits: 15, memLevel: 8, strategy: d, to: "" }, f || {});
@@ -1214,7 +1211,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1214
1211
  if (x !== v) throw new Error(h[x]);
1215
1212
  if (b.header && n.deflateSetHeader(this.strm, b.header), b.dictionary) {
1216
1213
  var E;
1217
- if (E = typeof b.dictionary == "string" ? l.string2buf(b.dictionary) : S.call(b.dictionary) === "[object ArrayBuffer]" ? new Uint8Array(b.dictionary) : b.dictionary, (x = n.deflateSetDictionary(this.strm, E)) !== v) throw new Error(h[x]);
1214
+ if (E = typeof b.dictionary == "string" ? o.string2buf(b.dictionary) : S.call(b.dictionary) === "[object ArrayBuffer]" ? new Uint8Array(b.dictionary) : b.dictionary, (x = n.deflateSetDictionary(this.strm, E)) !== v) throw new Error(h[x]);
1218
1215
  this._dict_set = !0;
1219
1216
  }
1220
1217
  }
@@ -1226,10 +1223,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1226
1223
  u.prototype.push = function(f, b) {
1227
1224
  var x, E, A = this.strm, L = this.options.chunkSize;
1228
1225
  if (this.ended) return !1;
1229
- E = b === ~~b ? b : b === !0 ? 4 : 0, typeof f == "string" ? A.input = l.string2buf(f) : S.call(f) === "[object ArrayBuffer]" ? A.input = new Uint8Array(f) : A.input = f, A.next_in = 0, A.avail_in = A.input.length;
1226
+ E = b === ~~b ? b : b === !0 ? 4 : 0, typeof f == "string" ? A.input = o.string2buf(f) : S.call(f) === "[object ArrayBuffer]" ? A.input = new Uint8Array(f) : A.input = f, A.next_in = 0, A.avail_in = A.input.length;
1230
1227
  do {
1231
1228
  if (A.avail_out === 0 && (A.output = new i.Buf8(L), A.next_out = 0, A.avail_out = L), (x = n.deflate(A, E)) !== 1 && x !== v) return this.onEnd(x), !(this.ended = !0);
1232
- A.avail_out !== 0 && (A.avail_in !== 0 || E !== 4 && E !== 2) || (this.options.to === "string" ? this.onData(l.buf2binstring(i.shrinkBuf(A.output, A.next_out))) : this.onData(i.shrinkBuf(A.output, A.next_out)));
1229
+ A.avail_out !== 0 && (A.avail_in !== 0 || E !== 4 && E !== 2) || (this.options.to === "string" ? this.onData(o.buf2binstring(i.shrinkBuf(A.output, A.next_out))) : this.onData(i.shrinkBuf(A.output, A.next_out)));
1233
1230
  } while ((0 < A.avail_in || A.avail_out === 0) && x !== 1);
1234
1231
  return E === 4 ? (x = n.deflateEnd(this.strm), this.onEnd(x), this.ended = !0, x === v) : E !== 2 || (this.onEnd(v), !(A.avail_out = 0));
1235
1232
  }, u.prototype.onData = function(f) {
@@ -1242,7 +1239,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1242
1239
  return (b = b || {}).gzip = !0, m(f, b);
1243
1240
  };
1244
1241
  }, { "./utils/common": 41, "./utils/strings": 42, "./zlib/deflate": 46, "./zlib/messages": 51, "./zlib/zstream": 53 }], 40: [function(t, r, a) {
1245
- var n = t("./zlib/inflate"), i = t("./utils/common"), l = t("./utils/strings"), h = t("./zlib/constants"), y = t("./zlib/messages"), S = t("./zlib/zstream"), v = t("./zlib/gzheader"), _ = Object.prototype.toString;
1242
+ var n = t("./zlib/inflate"), i = t("./utils/common"), o = t("./utils/strings"), h = t("./zlib/constants"), y = t("./zlib/messages"), S = t("./zlib/zstream"), v = t("./zlib/gzheader"), _ = Object.prototype.toString;
1246
1243
  function d(u) {
1247
1244
  if (!(this instanceof d)) return new d(u);
1248
1245
  this.options = i.assign({ chunkSize: 16384, windowBits: 0, to: "" }, u || {});
@@ -1260,10 +1257,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1260
1257
  d.prototype.push = function(u, m) {
1261
1258
  var f, b, x, E, A, L, F = this.strm, H = this.options.chunkSize, T = this.options.dictionary, V = !1;
1262
1259
  if (this.ended) return !1;
1263
- b = m === ~~m ? m : m === !0 ? h.Z_FINISH : h.Z_NO_FLUSH, typeof u == "string" ? F.input = l.binstring2buf(u) : _.call(u) === "[object ArrayBuffer]" ? F.input = new Uint8Array(u) : F.input = u, F.next_in = 0, F.avail_in = F.input.length;
1260
+ b = m === ~~m ? m : m === !0 ? h.Z_FINISH : h.Z_NO_FLUSH, typeof u == "string" ? F.input = o.binstring2buf(u) : _.call(u) === "[object ArrayBuffer]" ? F.input = new Uint8Array(u) : F.input = u, F.next_in = 0, F.avail_in = F.input.length;
1264
1261
  do {
1265
- if (F.avail_out === 0 && (F.output = new i.Buf8(H), F.next_out = 0, F.avail_out = H), (f = n.inflate(F, h.Z_NO_FLUSH)) === h.Z_NEED_DICT && T && (L = typeof T == "string" ? l.string2buf(T) : _.call(T) === "[object ArrayBuffer]" ? new Uint8Array(T) : T, f = n.inflateSetDictionary(this.strm, L)), f === h.Z_BUF_ERROR && V === !0 && (f = h.Z_OK, V = !1), f !== h.Z_STREAM_END && f !== h.Z_OK) return this.onEnd(f), !(this.ended = !0);
1266
- F.next_out && (F.avail_out !== 0 && f !== h.Z_STREAM_END && (F.avail_in !== 0 || b !== h.Z_FINISH && b !== h.Z_SYNC_FLUSH) || (this.options.to === "string" ? (x = l.utf8border(F.output, F.next_out), E = F.next_out - x, A = l.buf2string(F.output, x), F.next_out = E, F.avail_out = H - E, E && i.arraySet(F.output, F.output, x, E, 0), this.onData(A)) : this.onData(i.shrinkBuf(F.output, F.next_out)))), F.avail_in === 0 && F.avail_out === 0 && (V = !0);
1262
+ if (F.avail_out === 0 && (F.output = new i.Buf8(H), F.next_out = 0, F.avail_out = H), (f = n.inflate(F, h.Z_NO_FLUSH)) === h.Z_NEED_DICT && T && (L = typeof T == "string" ? o.string2buf(T) : _.call(T) === "[object ArrayBuffer]" ? new Uint8Array(T) : T, f = n.inflateSetDictionary(this.strm, L)), f === h.Z_BUF_ERROR && V === !0 && (f = h.Z_OK, V = !1), f !== h.Z_STREAM_END && f !== h.Z_OK) return this.onEnd(f), !(this.ended = !0);
1263
+ F.next_out && (F.avail_out !== 0 && f !== h.Z_STREAM_END && (F.avail_in !== 0 || b !== h.Z_FINISH && b !== h.Z_SYNC_FLUSH) || (this.options.to === "string" ? (x = o.utf8border(F.output, F.next_out), E = F.next_out - x, A = o.buf2string(F.output, x), F.next_out = E, F.avail_out = H - E, E && i.arraySet(F.output, F.output, x, E, 0), this.onData(A)) : this.onData(i.shrinkBuf(F.output, F.next_out)))), F.avail_in === 0 && F.avail_out === 0 && (V = !0);
1267
1264
  } while ((0 < F.avail_in || F.avail_out === 0) && f !== h.Z_STREAM_END);
1268
1265
  return f === h.Z_STREAM_END && (b = h.Z_FINISH), b === h.Z_FINISH ? (f = n.inflateEnd(this.strm), this.onEnd(f), this.ended = !0, f === h.Z_OK) : b !== h.Z_SYNC_FLUSH || (this.onEnd(h.Z_OK), !(F.avail_out = 0));
1269
1266
  }, d.prototype.onData = function(u) {
@@ -1295,16 +1292,16 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1295
1292
  for (y = v = 0, S = h.length; y < S; y++) v += h[y].length;
1296
1293
  for (k = new Uint8Array(v), y = _ = 0, S = h.length; y < S; y++) d = h[y], k.set(d, _), _ += d.length;
1297
1294
  return k;
1298
- } }, l = { arraySet: function(h, y, S, v, _) {
1295
+ } }, o = { arraySet: function(h, y, S, v, _) {
1299
1296
  for (var d = 0; d < v; d++) h[_ + d] = y[S + d];
1300
1297
  }, flattenChunks: function(h) {
1301
1298
  return [].concat.apply([], h);
1302
1299
  } };
1303
1300
  a.setTyped = function(h) {
1304
- h ? (a.Buf8 = Uint8Array, a.Buf16 = Uint16Array, a.Buf32 = Int32Array, a.assign(a, i)) : (a.Buf8 = Array, a.Buf16 = Array, a.Buf32 = Array, a.assign(a, l));
1301
+ h ? (a.Buf8 = Uint8Array, a.Buf16 = Uint16Array, a.Buf32 = Int32Array, a.assign(a, i)) : (a.Buf8 = Array, a.Buf16 = Array, a.Buf32 = Array, a.assign(a, o));
1305
1302
  }, a.setTyped(n);
1306
1303
  }, {}], 42: [function(t, r, a) {
1307
- var n = t("./common"), i = !0, l = !0;
1304
+ var n = t("./common"), i = !0, o = !0;
1308
1305
  try {
1309
1306
  String.fromCharCode.apply(null, [0]);
1310
1307
  } catch {
@@ -1313,11 +1310,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1313
1310
  try {
1314
1311
  String.fromCharCode.apply(null, new Uint8Array(1));
1315
1312
  } catch {
1316
- l = !1;
1313
+ o = !1;
1317
1314
  }
1318
1315
  for (var h = new n.Buf8(256), y = 0; y < 256; y++) h[y] = 252 <= y ? 6 : 248 <= y ? 5 : 240 <= y ? 4 : 224 <= y ? 3 : 192 <= y ? 2 : 1;
1319
1316
  function S(v, _) {
1320
- if (_ < 65537 && (v.subarray && l || !v.subarray && i)) return String.fromCharCode.apply(null, n.shrinkBuf(v, _));
1317
+ if (_ < 65537 && (v.subarray && o || !v.subarray && i)) return String.fromCharCode.apply(null, n.shrinkBuf(v, _));
1321
1318
  for (var d = "", k = 0; k < _; k++) d += String.fromCharCode(v[k]);
1322
1319
  return d;
1323
1320
  }
@@ -1346,9 +1343,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1346
1343
  return d < 0 || d === 0 ? _ : d + h[v[d]] > _ ? d : _;
1347
1344
  };
1348
1345
  }, { "./common": 41 }], 43: [function(t, r, a) {
1349
- r.exports = function(n, i, l, h) {
1350
- for (var y = 65535 & n | 0, S = n >>> 16 & 65535 | 0, v = 0; l !== 0; ) {
1351
- for (l -= v = 2e3 < l ? 2e3 : l; S = S + (y = y + i[h++] | 0) | 0, --v; ) ;
1346
+ r.exports = function(n, i, o, h) {
1347
+ for (var y = 65535 & n | 0, S = n >>> 16 & 65535 | 0, v = 0; o !== 0; ) {
1348
+ for (o -= v = 2e3 < o ? 2e3 : o; S = S + (y = y + i[h++] | 0) | 0, --v; ) ;
1352
1349
  y %= 65521, S %= 65521;
1353
1350
  }
1354
1351
  return y | S << 16 | 0;
@@ -1357,21 +1354,21 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1357
1354
  r.exports = { Z_NO_FLUSH: 0, Z_PARTIAL_FLUSH: 1, Z_SYNC_FLUSH: 2, Z_FULL_FLUSH: 3, Z_FINISH: 4, Z_BLOCK: 5, Z_TREES: 6, Z_OK: 0, Z_STREAM_END: 1, Z_NEED_DICT: 2, Z_ERRNO: -1, Z_STREAM_ERROR: -2, Z_DATA_ERROR: -3, Z_BUF_ERROR: -5, Z_NO_COMPRESSION: 0, Z_BEST_SPEED: 1, Z_BEST_COMPRESSION: 9, Z_DEFAULT_COMPRESSION: -1, Z_FILTERED: 1, Z_HUFFMAN_ONLY: 2, Z_RLE: 3, Z_FIXED: 4, Z_DEFAULT_STRATEGY: 0, Z_BINARY: 0, Z_TEXT: 1, Z_UNKNOWN: 2, Z_DEFLATED: 8 };
1358
1355
  }, {}], 45: [function(t, r, a) {
1359
1356
  var n = function() {
1360
- for (var i, l = [], h = 0; h < 256; h++) {
1357
+ for (var i, o = [], h = 0; h < 256; h++) {
1361
1358
  i = h;
1362
1359
  for (var y = 0; y < 8; y++) i = 1 & i ? 3988292384 ^ i >>> 1 : i >>> 1;
1363
- l[h] = i;
1360
+ o[h] = i;
1364
1361
  }
1365
- return l;
1362
+ return o;
1366
1363
  }();
1367
- r.exports = function(i, l, h, y) {
1364
+ r.exports = function(i, o, h, y) {
1368
1365
  var S = n, v = y + h;
1369
1366
  i ^= -1;
1370
- for (var _ = y; _ < v; _++) i = i >>> 8 ^ S[255 & (i ^ l[_])];
1367
+ for (var _ = y; _ < v; _++) i = i >>> 8 ^ S[255 & (i ^ o[_])];
1371
1368
  return -1 ^ i;
1372
1369
  };
1373
1370
  }, {}], 46: [function(t, r, a) {
1374
- var n, i = t("../utils/common"), l = t("./trees"), h = t("./adler32"), y = t("./crc32"), S = t("./messages"), v = 0, _ = 4, d = 0, k = -2, u = -1, m = 4, f = 2, b = 8, x = 9, E = 286, A = 30, L = 19, F = 2 * E + 1, H = 15, T = 3, V = 258, Q = V + T + 1, w = 42, I = 113, c = 1, D = 2, et = 3, $ = 4;
1371
+ var n, i = t("../utils/common"), o = t("./trees"), h = t("./adler32"), y = t("./crc32"), S = t("./messages"), v = 0, _ = 4, d = 0, k = -2, u = -1, m = 4, f = 2, b = 8, x = 9, E = 286, A = 30, L = 19, F = 2 * E + 1, H = 15, T = 3, V = 258, Q = V + T + 1, w = 42, I = 113, c = 1, D = 2, et = 3, $ = 4;
1375
1372
  function rt(s, O) {
1376
1373
  return s.msg = S[O], O;
1377
1374
  }
@@ -1386,7 +1383,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1386
1383
  R > s.avail_out && (R = s.avail_out), R !== 0 && (i.arraySet(s.output, O.pending_buf, O.pending_out, R, s.next_out), s.next_out += R, O.pending_out += R, s.total_out += R, s.avail_out -= R, O.pending -= R, O.pending === 0 && (O.pending_out = 0));
1387
1384
  }
1388
1385
  function M(s, O) {
1389
- l._tr_flush_block(s, 0 <= s.block_start ? s.block_start : -1, s.strstart - s.block_start, O), s.block_start = s.strstart, z(s.strm);
1386
+ o._tr_flush_block(s, 0 <= s.block_start ? s.block_start : -1, s.strstart - s.block_start, O), s.block_start = s.strstart, z(s.strm);
1390
1387
  }
1391
1388
  function J(s, O) {
1392
1389
  s.pending_buf[s.pending++] = O;
@@ -1429,11 +1426,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1429
1426
  if (ct(s), s.lookahead < Q && O === v) return c;
1430
1427
  if (s.lookahead === 0) break;
1431
1428
  }
1432
- if (R = 0, s.lookahead >= T && (s.ins_h = (s.ins_h << s.hash_shift ^ s.window[s.strstart + T - 1]) & s.hash_mask, R = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h], s.head[s.ins_h] = s.strstart), R !== 0 && s.strstart - R <= s.w_size - Q && (s.match_length = X(s, R)), s.match_length >= T) if (g = l._tr_tally(s, s.strstart - s.match_start, s.match_length - T), s.lookahead -= s.match_length, s.match_length <= s.max_lazy_match && s.lookahead >= T) {
1429
+ if (R = 0, s.lookahead >= T && (s.ins_h = (s.ins_h << s.hash_shift ^ s.window[s.strstart + T - 1]) & s.hash_mask, R = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h], s.head[s.ins_h] = s.strstart), R !== 0 && s.strstart - R <= s.w_size - Q && (s.match_length = X(s, R)), s.match_length >= T) if (g = o._tr_tally(s, s.strstart - s.match_start, s.match_length - T), s.lookahead -= s.match_length, s.match_length <= s.max_lazy_match && s.lookahead >= T) {
1433
1430
  for (s.match_length--; s.strstart++, s.ins_h = (s.ins_h << s.hash_shift ^ s.window[s.strstart + T - 1]) & s.hash_mask, R = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h], s.head[s.ins_h] = s.strstart, --s.match_length != 0; ) ;
1434
1431
  s.strstart++;
1435
1432
  } else s.strstart += s.match_length, s.match_length = 0, s.ins_h = s.window[s.strstart], s.ins_h = (s.ins_h << s.hash_shift ^ s.window[s.strstart + 1]) & s.hash_mask;
1436
- else g = l._tr_tally(s, 0, s.window[s.strstart]), s.lookahead--, s.strstart++;
1433
+ else g = o._tr_tally(s, 0, s.window[s.strstart]), s.lookahead--, s.strstart++;
1437
1434
  if (g && (M(s, !1), s.strm.avail_out === 0)) return c;
1438
1435
  }
1439
1436
  return s.insert = s.strstart < T - 1 ? s.strstart : T - 1, O === _ ? (M(s, !0), s.strm.avail_out === 0 ? et : $) : s.last_lit && (M(s, !1), s.strm.avail_out === 0) ? c : D;
@@ -1445,13 +1442,13 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1445
1442
  if (s.lookahead === 0) break;
1446
1443
  }
1447
1444
  if (R = 0, s.lookahead >= T && (s.ins_h = (s.ins_h << s.hash_shift ^ s.window[s.strstart + T - 1]) & s.hash_mask, R = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h], s.head[s.ins_h] = s.strstart), s.prev_length = s.match_length, s.prev_match = s.match_start, s.match_length = T - 1, R !== 0 && s.prev_length < s.max_lazy_match && s.strstart - R <= s.w_size - Q && (s.match_length = X(s, R), s.match_length <= 5 && (s.strategy === 1 || s.match_length === T && 4096 < s.strstart - s.match_start) && (s.match_length = T - 1)), s.prev_length >= T && s.match_length <= s.prev_length) {
1448
- for (p = s.strstart + s.lookahead - T, g = l._tr_tally(s, s.strstart - 1 - s.prev_match, s.prev_length - T), s.lookahead -= s.prev_length - 1, s.prev_length -= 2; ++s.strstart <= p && (s.ins_h = (s.ins_h << s.hash_shift ^ s.window[s.strstart + T - 1]) & s.hash_mask, R = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h], s.head[s.ins_h] = s.strstart), --s.prev_length != 0; ) ;
1445
+ for (p = s.strstart + s.lookahead - T, g = o._tr_tally(s, s.strstart - 1 - s.prev_match, s.prev_length - T), s.lookahead -= s.prev_length - 1, s.prev_length -= 2; ++s.strstart <= p && (s.ins_h = (s.ins_h << s.hash_shift ^ s.window[s.strstart + T - 1]) & s.hash_mask, R = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h], s.head[s.ins_h] = s.strstart), --s.prev_length != 0; ) ;
1449
1446
  if (s.match_available = 0, s.match_length = T - 1, s.strstart++, g && (M(s, !1), s.strm.avail_out === 0)) return c;
1450
1447
  } else if (s.match_available) {
1451
- if ((g = l._tr_tally(s, 0, s.window[s.strstart - 1])) && M(s, !1), s.strstart++, s.lookahead--, s.strm.avail_out === 0) return c;
1448
+ if ((g = o._tr_tally(s, 0, s.window[s.strstart - 1])) && M(s, !1), s.strstart++, s.lookahead--, s.strm.avail_out === 0) return c;
1452
1449
  } else s.match_available = 1, s.strstart++, s.lookahead--;
1453
1450
  }
1454
- return s.match_available && (g = l._tr_tally(s, 0, s.window[s.strstart - 1]), s.match_available = 0), s.insert = s.strstart < T - 1 ? s.strstart : T - 1, O === _ ? (M(s, !0), s.strm.avail_out === 0 ? et : $) : s.last_lit && (M(s, !1), s.strm.avail_out === 0) ? c : D;
1451
+ return s.match_available && (g = o._tr_tally(s, 0, s.window[s.strstart - 1]), s.match_available = 0), s.insert = s.strstart < T - 1 ? s.strstart : T - 1, O === _ ? (M(s, !0), s.strm.avail_out === 0 ? et : $) : s.last_lit && (M(s, !1), s.strm.avail_out === 0) ? c : D;
1455
1452
  }
1456
1453
  function st(s, O, R, g, p) {
1457
1454
  this.good_length = s, this.max_lazy = O, this.nice_length = R, this.max_chain = g, this.func = p;
@@ -1461,7 +1458,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1461
1458
  }
1462
1459
  function ht(s) {
1463
1460
  var O;
1464
- return s && s.state ? (s.total_in = s.total_out = 0, s.data_type = f, (O = s.state).pending = 0, O.pending_out = 0, O.wrap < 0 && (O.wrap = -O.wrap), O.status = O.wrap ? w : I, s.adler = O.wrap === 2 ? 0 : 1, O.last_flush = v, l._tr_init(O), d) : rt(s, k);
1461
+ return s && s.state ? (s.total_in = s.total_out = 0, s.data_type = f, (O = s.state).pending = 0, O.pending_out = 0, O.wrap < 0 && (O.wrap = -O.wrap), O.status = O.wrap ? w : I, s.adler = O.wrap === 2 ? 0 : 1, O.last_flush = v, o._tr_init(O), d) : rt(s, k);
1465
1462
  }
1466
1463
  function kt(s) {
1467
1464
  var O = ht(s);
@@ -1539,7 +1536,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1539
1536
  if (Z === v) return c;
1540
1537
  break;
1541
1538
  }
1542
- if (N.match_length = 0, K = l._tr_tally(N, 0, N.window[N.strstart]), N.lookahead--, N.strstart++, K && (M(N, !1), N.strm.avail_out === 0)) return c;
1539
+ if (N.match_length = 0, K = o._tr_tally(N, 0, N.window[N.strstart]), N.lookahead--, N.strstart++, K && (M(N, !1), N.strm.avail_out === 0)) return c;
1543
1540
  }
1544
1541
  return N.insert = 0, Z === _ ? (M(N, !0), N.strm.avail_out === 0 ? et : $) : N.last_lit && (M(N, !1), N.strm.avail_out === 0) ? c : D;
1545
1542
  }(g, O) : g.strategy === 3 ? function(N, Z) {
@@ -1555,12 +1552,12 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1555
1552
  while (G === nt[++Y] && G === nt[++Y] && G === nt[++Y] && G === nt[++Y] && G === nt[++Y] && G === nt[++Y] && G === nt[++Y] && G === nt[++Y] && Y < lt);
1556
1553
  N.match_length = V - (lt - Y), N.match_length > N.lookahead && (N.match_length = N.lookahead);
1557
1554
  }
1558
- if (N.match_length >= T ? (K = l._tr_tally(N, 1, N.match_length - T), N.lookahead -= N.match_length, N.strstart += N.match_length, N.match_length = 0) : (K = l._tr_tally(N, 0, N.window[N.strstart]), N.lookahead--, N.strstart++), K && (M(N, !1), N.strm.avail_out === 0)) return c;
1555
+ if (N.match_length >= T ? (K = o._tr_tally(N, 1, N.match_length - T), N.lookahead -= N.match_length, N.strstart += N.match_length, N.match_length = 0) : (K = o._tr_tally(N, 0, N.window[N.strstart]), N.lookahead--, N.strstart++), K && (M(N, !1), N.strm.avail_out === 0)) return c;
1559
1556
  }
1560
1557
  return N.insert = 0, Z === _ ? (M(N, !0), N.strm.avail_out === 0 ? et : $) : N.last_lit && (M(N, !1), N.strm.avail_out === 0) ? c : D;
1561
1558
  }(g, O) : n[g.level].func(g, O);
1562
1559
  if (U !== et && U !== $ || (g.status = 666), U === c || U === et) return s.avail_out === 0 && (g.last_flush = -1), d;
1563
- if (U === D && (O === 1 ? l._tr_align(g) : O !== 5 && (l._tr_stored_block(g, 0, 0, !1), O === 3 && (tt(g.head), g.lookahead === 0 && (g.strstart = 0, g.block_start = 0, g.insert = 0))), z(s), s.avail_out === 0)) return g.last_flush = -1, d;
1560
+ if (U === D && (O === 1 ? o._tr_align(g) : O !== 5 && (o._tr_stored_block(g, 0, 0, !1), O === 3 && (tt(g.head), g.lookahead === 0 && (g.strstart = 0, g.block_start = 0, g.insert = 0))), z(s), s.avail_out === 0)) return g.last_flush = -1, d;
1564
1561
  }
1565
1562
  return O !== _ ? d : g.wrap <= 0 ? 1 : (g.wrap === 2 ? (J(g, 255 & s.adler), J(g, s.adler >> 8 & 255), J(g, s.adler >> 16 & 255), J(g, s.adler >> 24 & 255), J(g, 255 & s.total_in), J(g, s.total_in >> 8 & 255), J(g, s.total_in >> 16 & 255), J(g, s.total_in >> 24 & 255)) : (q(g, s.adler >>> 16), q(g, 65535 & s.adler)), z(s), 0 < g.wrap && (g.wrap = -g.wrap), g.pending !== 0 ? d : 1);
1566
1563
  }, a.deflateEnd = function(s) {
@@ -1581,8 +1578,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1581
1578
  };
1582
1579
  }, {}], 48: [function(t, r, a) {
1583
1580
  r.exports = function(n, i) {
1584
- var l, h, y, S, v, _, d, k, u, m, f, b, x, E, A, L, F, H, T, V, Q, w, I, c, D;
1585
- l = n.state, h = n.next_in, c = n.input, y = h + (n.avail_in - 5), S = n.next_out, D = n.output, v = S - (i - n.avail_out), _ = S + (n.avail_out - 257), d = l.dmax, k = l.wsize, u = l.whave, m = l.wnext, f = l.window, b = l.hold, x = l.bits, E = l.lencode, A = l.distcode, L = (1 << l.lenbits) - 1, F = (1 << l.distbits) - 1;
1581
+ var o, h, y, S, v, _, d, k, u, m, f, b, x, E, A, L, F, H, T, V, Q, w, I, c, D;
1582
+ o = n.state, h = n.next_in, c = n.input, y = h + (n.avail_in - 5), S = n.next_out, D = n.output, v = S - (i - n.avail_out), _ = S + (n.avail_out - 257), d = o.dmax, k = o.wsize, u = o.whave, m = o.wnext, f = o.window, b = o.hold, x = o.bits, E = o.lencode, A = o.distcode, L = (1 << o.lenbits) - 1, F = (1 << o.distbits) - 1;
1586
1583
  t: do {
1587
1584
  x < 15 && (b += c[h++] << x, x += 8, b += c[h++] << x, x += 8), H = E[b & L];
1588
1585
  e: for (; ; ) {
@@ -1594,10 +1591,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1594
1591
  continue e;
1595
1592
  }
1596
1593
  if (32 & T) {
1597
- l.mode = 12;
1594
+ o.mode = 12;
1598
1595
  break t;
1599
1596
  }
1600
- n.msg = "invalid literal/length code", l.mode = 30;
1597
+ n.msg = "invalid literal/length code", o.mode = 30;
1601
1598
  break t;
1602
1599
  }
1603
1600
  V = 65535 & H, (T &= 15) && (x < T && (b += c[h++] << x, x += 8), V += b & (1 << T) - 1, b >>>= T, x -= T), x < 15 && (b += c[h++] << x, x += 8, b += c[h++] << x, x += 8), H = A[b & F];
@@ -1607,16 +1604,16 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1607
1604
  H = A[(65535 & H) + (b & (1 << T) - 1)];
1608
1605
  continue r;
1609
1606
  }
1610
- n.msg = "invalid distance code", l.mode = 30;
1607
+ n.msg = "invalid distance code", o.mode = 30;
1611
1608
  break t;
1612
1609
  }
1613
1610
  if (Q = 65535 & H, x < (T &= 15) && (b += c[h++] << x, (x += 8) < T && (b += c[h++] << x, x += 8)), d < (Q += b & (1 << T) - 1)) {
1614
- n.msg = "invalid distance too far back", l.mode = 30;
1611
+ n.msg = "invalid distance too far back", o.mode = 30;
1615
1612
  break t;
1616
1613
  }
1617
1614
  if (b >>>= T, x -= T, (T = S - v) < Q) {
1618
- if (u < (T = Q - T) && l.sane) {
1619
- n.msg = "invalid distance too far back", l.mode = 30;
1615
+ if (u < (T = Q - T) && o.sane) {
1616
+ n.msg = "invalid distance too far back", o.mode = 30;
1620
1617
  break t;
1621
1618
  }
1622
1619
  if (I = f, (w = 0) === m) {
@@ -1648,10 +1645,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1648
1645
  break;
1649
1646
  }
1650
1647
  } while (h < y && S < _);
1651
- h -= V = x >> 3, b &= (1 << (x -= V << 3)) - 1, n.next_in = h, n.next_out = S, n.avail_in = h < y ? y - h + 5 : 5 - (h - y), n.avail_out = S < _ ? _ - S + 257 : 257 - (S - _), l.hold = b, l.bits = x;
1648
+ h -= V = x >> 3, b &= (1 << (x -= V << 3)) - 1, n.next_in = h, n.next_out = S, n.avail_in = h < y ? y - h + 5 : 5 - (h - y), n.avail_out = S < _ ? _ - S + 257 : 257 - (S - _), o.hold = b, o.bits = x;
1652
1649
  };
1653
1650
  }, {}], 49: [function(t, r, a) {
1654
- var n = t("../utils/common"), i = t("./adler32"), l = t("./crc32"), h = t("./inffast"), y = t("./inftrees"), S = 1, v = 2, _ = 0, d = -2, k = 1, u = 852, m = 592;
1651
+ var n = t("../utils/common"), i = t("./adler32"), o = t("./crc32"), h = t("./inffast"), y = t("./inftrees"), S = 1, v = 2, _ = 0, d = -2, k = 1, u = 852, m = 592;
1655
1652
  function f(w) {
1656
1653
  return (w >>> 24 & 255) + (w >>> 8 & 65280) + ((65280 & w) << 8) + ((255 & w) << 24);
1657
1654
  }
@@ -1708,7 +1705,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1708
1705
  W--, z += D[$++] << M, M += 8;
1709
1706
  }
1710
1707
  if (2 & c.wrap && z === 35615) {
1711
- P[c.check = 0] = 255 & z, P[1] = z >>> 8 & 255, c.check = l(c.check, P, 2, 0), M = z = 0, c.mode = 2;
1708
+ P[c.check = 0] = 255 & z, P[1] = z >>> 8 & 255, c.check = o(c.check, P, 2, 0), M = z = 0, c.mode = 2;
1712
1709
  break;
1713
1710
  }
1714
1711
  if (c.flags = 0, c.head && (c.head.done = !1), !(1 & c.wrap) || (((255 & z) << 8) + (z >> 8)) % 31) {
@@ -1739,43 +1736,43 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1739
1736
  w.msg = "unknown header flags set", c.mode = 30;
1740
1737
  break;
1741
1738
  }
1742
- c.head && (c.head.text = z >> 8 & 1), 512 & c.flags && (P[0] = 255 & z, P[1] = z >>> 8 & 255, c.check = l(c.check, P, 2, 0)), M = z = 0, c.mode = 3;
1739
+ c.head && (c.head.text = z >> 8 & 1), 512 & c.flags && (P[0] = 255 & z, P[1] = z >>> 8 & 255, c.check = o(c.check, P, 2, 0)), M = z = 0, c.mode = 3;
1743
1740
  case 3:
1744
1741
  for (; M < 32; ) {
1745
1742
  if (W === 0) break t;
1746
1743
  W--, z += D[$++] << M, M += 8;
1747
1744
  }
1748
- c.head && (c.head.time = z), 512 & c.flags && (P[0] = 255 & z, P[1] = z >>> 8 & 255, P[2] = z >>> 16 & 255, P[3] = z >>> 24 & 255, c.check = l(c.check, P, 4, 0)), M = z = 0, c.mode = 4;
1745
+ c.head && (c.head.time = z), 512 & c.flags && (P[0] = 255 & z, P[1] = z >>> 8 & 255, P[2] = z >>> 16 & 255, P[3] = z >>> 24 & 255, c.check = o(c.check, P, 4, 0)), M = z = 0, c.mode = 4;
1749
1746
  case 4:
1750
1747
  for (; M < 16; ) {
1751
1748
  if (W === 0) break t;
1752
1749
  W--, z += D[$++] << M, M += 8;
1753
1750
  }
1754
- c.head && (c.head.xflags = 255 & z, c.head.os = z >> 8), 512 & c.flags && (P[0] = 255 & z, P[1] = z >>> 8 & 255, c.check = l(c.check, P, 2, 0)), M = z = 0, c.mode = 5;
1751
+ c.head && (c.head.xflags = 255 & z, c.head.os = z >> 8), 512 & c.flags && (P[0] = 255 & z, P[1] = z >>> 8 & 255, c.check = o(c.check, P, 2, 0)), M = z = 0, c.mode = 5;
1755
1752
  case 5:
1756
1753
  if (1024 & c.flags) {
1757
1754
  for (; M < 16; ) {
1758
1755
  if (W === 0) break t;
1759
1756
  W--, z += D[$++] << M, M += 8;
1760
1757
  }
1761
- c.length = z, c.head && (c.head.extra_len = z), 512 & c.flags && (P[0] = 255 & z, P[1] = z >>> 8 & 255, c.check = l(c.check, P, 2, 0)), M = z = 0;
1758
+ c.length = z, c.head && (c.head.extra_len = z), 512 & c.flags && (P[0] = 255 & z, P[1] = z >>> 8 & 255, c.check = o(c.check, P, 2, 0)), M = z = 0;
1762
1759
  } else c.head && (c.head.extra = null);
1763
1760
  c.mode = 6;
1764
1761
  case 6:
1765
- if (1024 & c.flags && (W < (X = c.length) && (X = W), X && (c.head && (s = c.head.extra_len - c.length, c.head.extra || (c.head.extra = new Array(c.head.extra_len)), n.arraySet(c.head.extra, D, $, X, s)), 512 & c.flags && (c.check = l(c.check, D, X, $)), W -= X, $ += X, c.length -= X), c.length)) break t;
1762
+ if (1024 & c.flags && (W < (X = c.length) && (X = W), X && (c.head && (s = c.head.extra_len - c.length, c.head.extra || (c.head.extra = new Array(c.head.extra_len)), n.arraySet(c.head.extra, D, $, X, s)), 512 & c.flags && (c.check = o(c.check, D, X, $)), W -= X, $ += X, c.length -= X), c.length)) break t;
1766
1763
  c.length = 0, c.mode = 7;
1767
1764
  case 7:
1768
1765
  if (2048 & c.flags) {
1769
1766
  if (W === 0) break t;
1770
1767
  for (X = 0; s = D[$ + X++], c.head && s && c.length < 65536 && (c.head.name += String.fromCharCode(s)), s && X < W; ) ;
1771
- if (512 & c.flags && (c.check = l(c.check, D, X, $)), W -= X, $ += X, s) break t;
1768
+ if (512 & c.flags && (c.check = o(c.check, D, X, $)), W -= X, $ += X, s) break t;
1772
1769
  } else c.head && (c.head.name = null);
1773
1770
  c.length = 0, c.mode = 8;
1774
1771
  case 8:
1775
1772
  if (4096 & c.flags) {
1776
1773
  if (W === 0) break t;
1777
1774
  for (X = 0; s = D[$ + X++], c.head && s && c.length < 65536 && (c.head.comment += String.fromCharCode(s)), s && X < W; ) ;
1778
- if (512 & c.flags && (c.check = l(c.check, D, X, $)), W -= X, $ += X, s) break t;
1775
+ if (512 & c.flags && (c.check = o(c.check, D, X, $)), W -= X, $ += X, s) break t;
1779
1776
  } else c.head && (c.head.comment = null);
1780
1777
  c.mode = 9;
1781
1778
  case 9:
@@ -2016,7 +2013,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2016
2013
  if (W === 0) break t;
2017
2014
  W--, z |= D[$++] << M, M += 8;
2018
2015
  }
2019
- if (q -= tt, w.total_out += q, c.total += q, q && (w.adler = c.check = c.flags ? l(c.check, et, q, rt - q) : i(c.check, et, q, rt - q)), q = tt, (c.flags ? z : f(z)) !== c.check) {
2016
+ if (q -= tt, w.total_out += q, c.total += q, q && (w.adler = c.check = c.flags ? o(c.check, et, q, rt - q) : i(c.check, et, q, rt - q)), q = tt, (c.flags ? z : f(z)) !== c.check) {
2020
2017
  w.msg = "incorrect data check", c.mode = 30;
2021
2018
  break;
2022
2019
  }
@@ -2048,7 +2045,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2048
2045
  default:
2049
2046
  return d;
2050
2047
  }
2051
- return w.next_out = rt, w.avail_out = tt, w.next_in = $, w.avail_in = W, c.hold = z, c.bits = M, (c.wsize || q !== w.avail_out && c.mode < 30 && (c.mode < 27 || I !== 4)) && Q(w, w.output, w.next_out, q - w.avail_out) ? (c.mode = 31, -4) : (J -= w.avail_in, q -= w.avail_out, w.total_in += J, w.total_out += q, c.total += q, c.wrap && q && (w.adler = c.check = c.flags ? l(c.check, et, q, w.next_out - q) : i(c.check, et, q, w.next_out - q)), w.data_type = c.bits + (c.last ? 64 : 0) + (c.mode === 12 ? 128 : 0) + (c.mode === 20 || c.mode === 15 ? 256 : 0), (J == 0 && q === 0 || I === 4) && O === _ && (O = -5), O);
2048
+ return w.next_out = rt, w.avail_out = tt, w.next_in = $, w.avail_in = W, c.hold = z, c.bits = M, (c.wsize || q !== w.avail_out && c.mode < 30 && (c.mode < 27 || I !== 4)) && Q(w, w.output, w.next_out, q - w.avail_out) ? (c.mode = 31, -4) : (J -= w.avail_in, q -= w.avail_out, w.total_in += J, w.total_out += q, c.total += q, c.wrap && q && (w.adler = c.check = c.flags ? o(c.check, et, q, w.next_out - q) : i(c.check, et, q, w.next_out - q)), w.data_type = c.bits + (c.last ? 64 : 0) + (c.mode === 12 ? 128 : 0) + (c.mode === 20 || c.mode === 15 ? 256 : 0), (J == 0 && q === 0 || I === 4) && O === _ && (O = -5), O);
2052
2049
  }, a.inflateEnd = function(w) {
2053
2050
  if (!w || !w.state) return d;
2054
2051
  var I = w.state;
@@ -2061,7 +2058,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2061
2058
  return w && w.state ? (c = w.state).wrap !== 0 && c.mode !== 11 ? d : c.mode === 11 && i(1, I, D, 0) !== c.check ? -3 : Q(w, I, D, D) ? (c.mode = 31, -4) : (c.havedict = 1, _) : d;
2062
2059
  }, a.inflateInfo = "pako inflate (from Nodeca project)";
2063
2060
  }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./inffast": 48, "./inftrees": 50 }], 50: [function(t, r, a) {
2064
- var n = t("../utils/common"), i = [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], l = [16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, 78], h = [1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577, 0, 0], y = [16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 25, 26, 26, 27, 27, 28, 28, 29, 29, 64, 64];
2061
+ var n = t("../utils/common"), i = [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], o = [16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, 78], h = [1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577, 0, 0], y = [16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 25, 26, 26, 27, 27, 28, 28, 29, 29, 64, 64];
2065
2062
  r.exports = function(S, v, _, d, k, u, m, f) {
2066
2063
  var b, x, E, A, L, F, H, T, V, Q = f.bits, w = 0, I = 0, c = 0, D = 0, et = 0, $ = 0, rt = 0, W = 0, tt = 0, z = 0, M = null, J = 0, q = new n.Buf16(16), X = new n.Buf16(16), ct = null, mt = 0;
2067
2064
  for (w = 0; w <= 15; w++) q[w] = 0;
@@ -2073,7 +2070,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2073
2070
  if (0 < W && (S === 0 || D !== 1)) return -1;
2074
2071
  for (X[1] = 0, w = 1; w < 15; w++) X[w + 1] = X[w] + q[w];
2075
2072
  for (I = 0; I < d; I++) v[_ + I] !== 0 && (m[X[v[_ + I]]++] = I);
2076
- if (F = S === 0 ? (M = ct = m, 19) : S === 1 ? (M = i, J -= 257, ct = l, mt -= 257, 256) : (M = h, ct = y, -1), w = c, L = u, rt = I = z = 0, E = -1, A = (tt = 1 << ($ = et)) - 1, S === 1 && 852 < tt || S === 2 && 592 < tt) return 1;
2073
+ if (F = S === 0 ? (M = ct = m, 19) : S === 1 ? (M = i, J -= 257, ct = o, mt -= 257, 256) : (M = h, ct = y, -1), w = c, L = u, rt = I = z = 0, E = -1, A = (tt = 1 << ($ = et)) - 1, S === 1 && 852 < tt || S === 2 && 592 < tt) return 1;
2077
2074
  for (; ; ) {
2078
2075
  for (H = w - rt, V = m[I] < F ? (T = 0, m[I]) : m[I] > F ? (T = ct[mt + m[I]], M[J + m[I]]) : (T = 96, 0), b = 1 << w - rt, c = x = 1 << $; k[L + (z >> rt) + (x -= b)] = H << 24 | T << 16 | V | 0, x !== 0; ) ;
2079
2076
  for (b = 1 << w - 1; z & b; ) b >>= 1;
@@ -2092,7 +2089,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2092
2089
  }, { "../utils/common": 41 }], 51: [function(t, r, a) {
2093
2090
  r.exports = { 2: "need dictionary", 1: "stream end", 0: "", "-1": "file error", "-2": "stream error", "-3": "data error", "-4": "insufficient memory", "-5": "buffer error", "-6": "incompatible version" };
2094
2091
  }, {}], 52: [function(t, r, a) {
2095
- var n = t("../utils/common"), i = 0, l = 1;
2092
+ var n = t("../utils/common"), i = 0, o = 1;
2096
2093
  function h(p) {
2097
2094
  for (var P = p.length; 0 <= --P; ) p[P] = 0;
2098
2095
  }
@@ -2217,8 +2214,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2217
2214
  0 < p.level ? (p.strm.data_type === 2 && (p.strm.data_type = function(G) {
2218
2215
  var Y, lt = 4093624447;
2219
2216
  for (Y = 0; Y <= 31; Y++, lt >>>= 1) if (1 & lt && G.dyn_ltree[2 * Y] !== 0) return i;
2220
- if (G.dyn_ltree[18] !== 0 || G.dyn_ltree[20] !== 0 || G.dyn_ltree[26] !== 0) return l;
2221
- for (Y = 32; Y < v; Y++) if (G.dyn_ltree[2 * Y] !== 0) return l;
2217
+ if (G.dyn_ltree[18] !== 0 || G.dyn_ltree[20] !== 0 || G.dyn_ltree[26] !== 0) return o;
2218
+ for (Y = 32; Y < v; Y++) if (G.dyn_ltree[2 * Y] !== 0) return o;
2222
2219
  return i;
2223
2220
  }(p)), vt(p, p.l_desc), vt(p, p.d_desc), K = function(G) {
2224
2221
  var Y;
@@ -2242,7 +2239,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2242
2239
  };
2243
2240
  }, {}], 54: [function(t, r, a) {
2244
2241
  (function(n) {
2245
- (function(i, l) {
2242
+ (function(i, o) {
2246
2243
  if (!i.setImmediate) {
2247
2244
  var h, y, S, v, _ = 1, d = {}, k = !1, u = i.document, m = Object.getPrototypeOf && Object.getPrototypeOf(i);
2248
2245
  m = m && m.setTimeout ? m : i, h = {}.toString.call(i.process) === "[object process]" ? function(E) {
@@ -2302,7 +2299,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2302
2299
  F(H[0], H[1], H[2]);
2303
2300
  break;
2304
2301
  default:
2305
- F.apply(l, H);
2302
+ F.apply(o, H);
2306
2303
  }
2307
2304
  })(A);
2308
2305
  } finally {
@@ -2328,68 +2325,68 @@ const we = /* @__PURE__ */ ye(_e);
2328
2325
  * Copyright Volodymyr Baydalka
2329
2326
  */
2330
2327
  var dt;
2331
- (function(o) {
2332
- o.OfficeDocument = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument", o.FontTable = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable", o.Image = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image", o.Numbering = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering", o.Styles = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles", o.StylesWithEffects = "http://schemas.microsoft.com/office/2007/relationships/stylesWithEffects", o.Theme = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme", o.Settings = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings", o.WebSettings = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings", o.Hyperlink = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink", o.Footnotes = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes", o.Endnotes = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes", o.Footer = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer", o.Header = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/header", o.ExtendedProperties = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties", o.CoreProperties = "http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties", o.CustomProperties = "http://schemas.openxmlformats.org/package/2006/relationships/metadata/custom-properties", o.Comments = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments", o.CommentsExtended = "http://schemas.microsoft.com/office/2011/relationships/commentsExtended", o.AltChunk = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk";
2328
+ (function(l) {
2329
+ l.OfficeDocument = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument", l.FontTable = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable", l.Image = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image", l.Numbering = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering", l.Styles = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles", l.StylesWithEffects = "http://schemas.microsoft.com/office/2007/relationships/stylesWithEffects", l.Theme = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme", l.Settings = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings", l.WebSettings = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings", l.Hyperlink = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink", l.Footnotes = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes", l.Endnotes = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes", l.Footer = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer", l.Header = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/header", l.ExtendedProperties = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties", l.CoreProperties = "http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties", l.CustomProperties = "http://schemas.openxmlformats.org/package/2006/relationships/metadata/custom-properties", l.Comments = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments", l.CommentsExtended = "http://schemas.microsoft.com/office/2011/relationships/commentsExtended", l.AltChunk = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk";
2333
2330
  })(dt || (dt = {}));
2334
- function Se(o, e) {
2335
- return e.elements(o).map((t) => ({
2331
+ function Se(l, e) {
2332
+ return e.elements(l).map((t) => ({
2336
2333
  id: e.attr(t, "Id"),
2337
2334
  type: e.attr(t, "Type"),
2338
2335
  target: e.attr(t, "Target"),
2339
2336
  targetMode: e.attr(t, "TargetMode")
2340
2337
  }));
2341
2338
  }
2342
- function Ce(o) {
2343
- return o?.replace(/[ .]+/g, "-").replace(/[&]+/g, "and").toLowerCase();
2339
+ function Ce(l) {
2340
+ return l?.replace(/[ .]+/g, "-").replace(/[&]+/g, "and").toLowerCase();
2344
2341
  }
2345
- function $t(o) {
2346
- return /^[^"'].*\s.*[^"']$/.test(o) ? `'${o}'` : o;
2342
+ function $t(l) {
2343
+ return /^[^"'].*\s.*[^"']$/.test(l) ? `'${l}'` : l;
2347
2344
  }
2348
- function It(o) {
2349
- let e = o.lastIndexOf("/") + 1, t = e == 0 ? "" : o.substring(0, e), r = e == 0 ? o : o.substring(e);
2345
+ function It(l) {
2346
+ let e = l.lastIndexOf("/") + 1, t = e == 0 ? "" : l.substring(0, e), r = e == 0 ? l : l.substring(e);
2350
2347
  return [t, r];
2351
2348
  }
2352
- function jt(o, e) {
2349
+ function jt(l, e) {
2353
2350
  try {
2354
2351
  const t = "http://docx/";
2355
- return new URL(o, t + e).toString().substring(t.length);
2352
+ return new URL(l, t + e).toString().substring(t.length);
2356
2353
  } catch {
2357
- return `${e}${o}`;
2354
+ return `${e}${l}`;
2358
2355
  }
2359
2356
  }
2360
- function wt(o, e) {
2361
- return o.reduce((t, r) => (t[e(r)] = r, t), {});
2357
+ function wt(l, e) {
2358
+ return l.reduce((t, r) => (t[e(r)] = r, t), {});
2362
2359
  }
2363
- function xe(o) {
2360
+ function xe(l) {
2364
2361
  return new Promise((e, t) => {
2365
2362
  const r = new FileReader();
2366
- r.onloadend = () => e(r.result), r.onerror = () => t(), r.readAsDataURL(o);
2363
+ r.onloadend = () => e(r.result), r.onerror = () => t(), r.readAsDataURL(l);
2367
2364
  });
2368
2365
  }
2369
- function Ut(o) {
2370
- return o && typeof o == "object" && !Array.isArray(o);
2366
+ function Ut(l) {
2367
+ return l && typeof l == "object" && !Array.isArray(l);
2371
2368
  }
2372
- function Ht(o) {
2373
- return typeof o == "string" || o instanceof String;
2369
+ function Ht(l) {
2370
+ return typeof l == "string" || l instanceof String;
2374
2371
  }
2375
- function Lt(o, ...e) {
2372
+ function Lt(l, ...e) {
2376
2373
  if (!e.length)
2377
- return o;
2374
+ return l;
2378
2375
  const t = e.shift();
2379
- if (Ut(o) && Ut(t))
2376
+ if (Ut(l) && Ut(t))
2380
2377
  for (const r in t)
2381
2378
  if (Ut(t[r])) {
2382
- const a = o[r] ?? (o[r] = {});
2379
+ const a = l[r] ?? (l[r] = {});
2383
2380
  Lt(a, t[r]);
2384
2381
  } else
2385
- o[r] = t[r];
2386
- return Lt(o, ...e);
2382
+ l[r] = t[r];
2383
+ return Lt(l, ...e);
2387
2384
  }
2388
- function Et(o) {
2389
- return Array.isArray(o) ? o : [o];
2385
+ function Et(l) {
2386
+ return Array.isArray(l) ? l : [l];
2390
2387
  }
2391
- function Pe(o, e, t) {
2392
- return e > o ? e : t < o ? t : o;
2388
+ function Pe(l, e, t) {
2389
+ return e > l ? e : t < l ? t : l;
2393
2390
  }
2394
2391
  const ne = {
2395
2392
  wordml: "http://schemas.openxmlformats.org/wordprocessingml/2006/main"
@@ -2401,14 +2398,14 @@ const ne = {
2401
2398
  Point: { mul: 1, unit: "pt" },
2402
2399
  Percent: { mul: 0.02, unit: "%" }
2403
2400
  };
2404
- function se(o, e = ft.Dxa) {
2405
- if (o == null || /.+(p[xt]|[%])$/.test(o))
2406
- return o;
2407
- var t = parseInt(o) * e.mul;
2401
+ function se(l, e = ft.Dxa) {
2402
+ if (l == null || /.+(p[xt]|[%])$/.test(l))
2403
+ return l;
2404
+ var t = parseInt(l) * e.mul;
2408
2405
  return e.min && e.max && (t = Pe(t, e.min, e.max)), `${t.toFixed(2)}${e.unit}`;
2409
2406
  }
2410
- function Ae(o, e = !1) {
2411
- switch (o) {
2407
+ function Ae(l, e = !1) {
2408
+ switch (l) {
2412
2409
  case "1":
2413
2410
  return !0;
2414
2411
  case "0":
@@ -2425,36 +2422,36 @@ function Ae(o, e = !1) {
2425
2422
  return e;
2426
2423
  }
2427
2424
  }
2428
- function ie(o, e, t) {
2429
- if (o.namespaceURI != ne.wordml)
2425
+ function ie(l, e, t) {
2426
+ if (l.namespaceURI != ne.wordml)
2430
2427
  return !1;
2431
- switch (o.localName) {
2428
+ switch (l.localName) {
2432
2429
  case "color":
2433
- e.color = t.attr(o, "val");
2430
+ e.color = t.attr(l, "val");
2434
2431
  break;
2435
2432
  case "sz":
2436
- e.fontSize = t.lengthAttr(o, "val", ft.FontSize);
2433
+ e.fontSize = t.lengthAttr(l, "val", ft.FontSize);
2437
2434
  break;
2438
2435
  default:
2439
2436
  return !1;
2440
2437
  }
2441
2438
  return !0;
2442
2439
  }
2443
- function Ee(o, e = !1) {
2444
- e && (o = o.replace(/<[?].*[?]>/, "")), o = Me(o);
2445
- const t = new DOMParser().parseFromString(o, "application/xml"), r = Ne(t);
2440
+ function Ee(l, e = !1) {
2441
+ e && (l = l.replace(/<[?].*[?]>/, "")), l = Me(l);
2442
+ const t = new DOMParser().parseFromString(l, "application/xml"), r = Ne(t);
2446
2443
  if (r)
2447
2444
  throw new Error(r);
2448
2445
  return t;
2449
2446
  }
2450
- function Ne(o) {
2451
- return o.getElementsByTagName("parsererror")[0]?.textContent;
2447
+ function Ne(l) {
2448
+ return l.getElementsByTagName("parsererror")[0]?.textContent;
2452
2449
  }
2453
- function Me(o) {
2454
- return o.charCodeAt(0) === 65279 ? o.substring(1) : o;
2450
+ function Me(l) {
2451
+ return l.charCodeAt(0) === 65279 ? l.substring(1) : l;
2455
2452
  }
2456
- function Be(o) {
2457
- return new XMLSerializer().serializeToString(o);
2453
+ function Be(l) {
2454
+ return new XMLSerializer().serializeToString(l);
2458
2455
  }
2459
2456
  class oe {
2460
2457
  elements(e, t = null) {
@@ -2529,15 +2526,15 @@ const ze = {
2529
2526
  embedItalic: "italic",
2530
2527
  embedBoldItalic: "boldItalic"
2531
2528
  };
2532
- function Re(o, e) {
2533
- return e.elements(o).map((t) => Te(t, e));
2529
+ function Re(l, e) {
2530
+ return e.elements(l).map((t) => Te(t, e));
2534
2531
  }
2535
- function Te(o, e) {
2532
+ function Te(l, e) {
2536
2533
  let t = {
2537
- name: e.attr(o, "name"),
2534
+ name: e.attr(l, "name"),
2538
2535
  embedFontRefs: []
2539
2536
  };
2540
- for (let r of e.elements(o))
2537
+ for (let r of e.elements(l))
2541
2538
  switch (r.localName) {
2542
2539
  case "family":
2543
2540
  t.family = e.attr(r, "val");
@@ -2554,11 +2551,11 @@ function Te(o, e) {
2554
2551
  }
2555
2552
  return t;
2556
2553
  }
2557
- function Fe(o, e) {
2554
+ function Fe(l, e) {
2558
2555
  return {
2559
- id: e.attr(o, "id"),
2560
- key: e.attr(o, "fontKey"),
2561
- type: ze[o.localName]
2556
+ id: e.attr(l, "id"),
2557
+ key: e.attr(l, "fontKey"),
2558
+ type: ze[l.localName]
2562
2559
  };
2563
2560
  }
2564
2561
  class Ie extends gt {
@@ -2566,8 +2563,8 @@ class Ie extends gt {
2566
2563
  this.fonts = Re(e, this._package.xmlParser);
2567
2564
  }
2568
2565
  }
2569
- function Oe(o, e) {
2570
- return e.elements(o).map((t) => ({
2566
+ function Oe(l, e) {
2567
+ return e.elements(l).map((t) => ({
2571
2568
  extension: e.attr(t, "Extension"),
2572
2569
  partName: e.attr(t, "PartName"),
2573
2570
  contentType: e.attr(t, "ContentType")
@@ -2611,8 +2608,8 @@ class Wt {
2611
2608
  return Ee(e, this.options.trimXmlDeclaration);
2612
2609
  }
2613
2610
  }
2614
- function Le(o) {
2615
- return o.startsWith("/") ? o.substr(1) : o;
2611
+ function Le(l) {
2612
+ return l.startsWith("/") ? l.substr(1) : l;
2616
2613
  }
2617
2614
  class De extends gt {
2618
2615
  constructor(e, t, r) {
@@ -2622,19 +2619,19 @@ class De extends gt {
2622
2619
  this.body = this._documentParser.parseDocumentFile(e);
2623
2620
  }
2624
2621
  }
2625
- function Ft(o, e) {
2622
+ function Ft(l, e) {
2626
2623
  return {
2627
- type: e.attr(o, "val"),
2628
- color: e.attr(o, "color"),
2629
- size: e.lengthAttr(o, "sz", ft.Border),
2630
- offset: e.lengthAttr(o, "space", ft.Point),
2631
- frame: e.boolAttr(o, "frame"),
2632
- shadow: e.boolAttr(o, "shadow")
2624
+ type: e.attr(l, "val"),
2625
+ color: e.attr(l, "color"),
2626
+ size: e.lengthAttr(l, "sz", ft.Border),
2627
+ offset: e.lengthAttr(l, "space", ft.Point),
2628
+ frame: e.boolAttr(l, "frame"),
2629
+ shadow: e.boolAttr(l, "shadow")
2633
2630
  };
2634
2631
  }
2635
- function je(o, e) {
2632
+ function je(l, e) {
2636
2633
  var t = {};
2637
- for (let r of e.elements(o))
2634
+ for (let r of e.elements(l))
2638
2635
  switch (r.localName) {
2639
2636
  case "left":
2640
2637
  t.left = Ft(r, e);
@@ -2652,12 +2649,12 @@ function je(o, e) {
2652
2649
  return t;
2653
2650
  }
2654
2651
  var qt;
2655
- (function(o) {
2656
- o.Continuous = "continuous", o.NextPage = "nextPage", o.NextColumn = "nextColumn", o.EvenPage = "evenPage", o.OddPage = "oddPage";
2652
+ (function(l) {
2653
+ l.Continuous = "continuous", l.NextPage = "nextPage", l.NextColumn = "nextColumn", l.EvenPage = "evenPage", l.OddPage = "oddPage";
2657
2654
  })(qt || (qt = {}));
2658
- function le(o, e = C) {
2655
+ function le(l, e = C) {
2659
2656
  var t = {};
2660
- for (let r of e.elements(o))
2657
+ for (let r of e.elements(l))
2661
2658
  switch (r.localName) {
2662
2659
  case "pgSz":
2663
2660
  t.pageSize = {
@@ -2701,107 +2698,107 @@ function le(o, e = C) {
2701
2698
  }
2702
2699
  return t;
2703
2700
  }
2704
- function Ue(o, e) {
2701
+ function Ue(l, e) {
2705
2702
  return {
2706
- numberOfColumns: e.intAttr(o, "num"),
2707
- space: e.lengthAttr(o, "space"),
2708
- separator: e.boolAttr(o, "sep"),
2709
- equalWidth: e.boolAttr(o, "equalWidth", !0),
2710
- columns: e.elements(o, "col").map((t) => ({
2703
+ numberOfColumns: e.intAttr(l, "num"),
2704
+ space: e.lengthAttr(l, "space"),
2705
+ separator: e.boolAttr(l, "sep"),
2706
+ equalWidth: e.boolAttr(l, "equalWidth", !0),
2707
+ columns: e.elements(l, "col").map((t) => ({
2711
2708
  width: e.lengthAttr(t, "w"),
2712
2709
  space: e.lengthAttr(t, "space")
2713
2710
  }))
2714
2711
  };
2715
2712
  }
2716
- function $e(o, e) {
2713
+ function $e(l, e) {
2717
2714
  return {
2718
- chapSep: e.attr(o, "chapSep"),
2719
- chapStyle: e.attr(o, "chapStyle"),
2720
- format: e.attr(o, "fmt"),
2721
- start: e.intAttr(o, "start")
2715
+ chapSep: e.attr(l, "chapSep"),
2716
+ chapStyle: e.attr(l, "chapStyle"),
2717
+ format: e.attr(l, "fmt"),
2718
+ start: e.intAttr(l, "start")
2722
2719
  };
2723
2720
  }
2724
- function Kt(o, e) {
2721
+ function Kt(l, e) {
2725
2722
  return {
2726
- id: e.attr(o, "id"),
2727
- type: e.attr(o, "type")
2723
+ id: e.attr(l, "id"),
2724
+ type: e.attr(l, "type")
2728
2725
  };
2729
2726
  }
2730
- function He(o, e) {
2727
+ function He(l, e) {
2731
2728
  return {
2732
- before: e.lengthAttr(o, "before"),
2733
- after: e.lengthAttr(o, "after"),
2734
- line: e.intAttr(o, "line"),
2735
- lineRule: e.attr(o, "lineRule")
2729
+ before: e.lengthAttr(l, "before"),
2730
+ after: e.lengthAttr(l, "after"),
2731
+ line: e.intAttr(l, "line"),
2732
+ lineRule: e.attr(l, "lineRule")
2736
2733
  };
2737
2734
  }
2738
- function Zt(o, e) {
2735
+ function Zt(l, e) {
2739
2736
  let t = {};
2740
- for (let r of e.elements(o))
2737
+ for (let r of e.elements(l))
2741
2738
  We(r, t, e);
2742
2739
  return t;
2743
2740
  }
2744
- function We(o, e, t) {
2745
- return !!ie(o, e, t);
2741
+ function We(l, e, t) {
2742
+ return !!ie(l, e, t);
2746
2743
  }
2747
- function ce(o, e) {
2744
+ function ce(l, e) {
2748
2745
  let t = {};
2749
- for (let r of e.elements(o))
2746
+ for (let r of e.elements(l))
2750
2747
  he(r, t, e);
2751
2748
  return t;
2752
2749
  }
2753
- function he(o, e, t) {
2754
- if (o.namespaceURI != ne.wordml)
2750
+ function he(l, e, t) {
2751
+ if (l.namespaceURI != ne.wordml)
2755
2752
  return !1;
2756
- if (ie(o, e, t))
2753
+ if (ie(l, e, t))
2757
2754
  return !0;
2758
- switch (o.localName) {
2755
+ switch (l.localName) {
2759
2756
  case "tabs":
2760
- e.tabs = Ze(o, t);
2757
+ e.tabs = Ze(l, t);
2761
2758
  break;
2762
2759
  case "sectPr":
2763
- e.sectionProps = le(o, t);
2760
+ e.sectionProps = le(l, t);
2764
2761
  break;
2765
2762
  case "numPr":
2766
- e.numbering = Ve(o, t);
2763
+ e.numbering = Ve(l, t);
2767
2764
  break;
2768
2765
  case "spacing":
2769
- return e.lineSpacing = He(o, t), !1;
2766
+ return e.lineSpacing = He(l, t), !1;
2770
2767
  case "textAlignment":
2771
- return e.textAlignment = t.attr(o, "val"), !1;
2768
+ return e.textAlignment = t.attr(l, "val"), !1;
2772
2769
  case "keepLines":
2773
- e.keepLines = t.boolAttr(o, "val", !0);
2770
+ e.keepLines = t.boolAttr(l, "val", !0);
2774
2771
  break;
2775
2772
  case "keepNext":
2776
- e.keepNext = t.boolAttr(o, "val", !0);
2773
+ e.keepNext = t.boolAttr(l, "val", !0);
2777
2774
  break;
2778
2775
  case "pageBreakBefore":
2779
- e.pageBreakBefore = t.boolAttr(o, "val", !0);
2776
+ e.pageBreakBefore = t.boolAttr(l, "val", !0);
2780
2777
  break;
2781
2778
  case "outlineLvl":
2782
- e.outlineLevel = t.intAttr(o, "val");
2779
+ e.outlineLevel = t.intAttr(l, "val");
2783
2780
  break;
2784
2781
  case "pStyle":
2785
- e.styleName = t.attr(o, "val");
2782
+ e.styleName = t.attr(l, "val");
2786
2783
  break;
2787
2784
  case "rPr":
2788
- e.runProps = Zt(o, t);
2785
+ e.runProps = Zt(l, t);
2789
2786
  break;
2790
2787
  default:
2791
2788
  return !1;
2792
2789
  }
2793
2790
  return !0;
2794
2791
  }
2795
- function Ze(o, e) {
2796
- return e.elements(o, "tab").map((t) => ({
2792
+ function Ze(l, e) {
2793
+ return e.elements(l, "tab").map((t) => ({
2797
2794
  position: e.lengthAttr(t, "pos"),
2798
2795
  leader: e.attr(t, "leader"),
2799
2796
  style: e.attr(t, "val")
2800
2797
  }));
2801
2798
  }
2802
- function Ve(o, e) {
2799
+ function Ve(l, e) {
2803
2800
  var t = {};
2804
- for (let r of e.elements(o))
2801
+ for (let r of e.elements(l))
2805
2802
  switch (r.localName) {
2806
2803
  case "numId":
2807
2804
  t.id = e.attr(r, "val");
@@ -2812,13 +2809,13 @@ function Ve(o, e) {
2812
2809
  }
2813
2810
  return t;
2814
2811
  }
2815
- function Ge(o, e) {
2812
+ function Ge(l, e) {
2816
2813
  let t = {
2817
2814
  numberings: [],
2818
2815
  abstractNumberings: [],
2819
2816
  bulletPictures: []
2820
2817
  };
2821
- for (let r of e.elements(o))
2818
+ for (let r of e.elements(l))
2822
2819
  switch (r.localName) {
2823
2820
  case "num":
2824
2821
  t.numberings.push(Xe(r, e));
@@ -2832,12 +2829,12 @@ function Ge(o, e) {
2832
2829
  }
2833
2830
  return t;
2834
2831
  }
2835
- function Xe(o, e) {
2832
+ function Xe(l, e) {
2836
2833
  let t = {
2837
- id: e.attr(o, "numId"),
2834
+ id: e.attr(l, "numId"),
2838
2835
  overrides: []
2839
2836
  };
2840
- for (let r of e.elements(o))
2837
+ for (let r of e.elements(l))
2841
2838
  switch (r.localName) {
2842
2839
  case "abstractNumId":
2843
2840
  t.abstractId = e.attr(r, "val");
@@ -2848,12 +2845,12 @@ function Xe(o, e) {
2848
2845
  }
2849
2846
  return t;
2850
2847
  }
2851
- function qe(o, e) {
2848
+ function qe(l, e) {
2852
2849
  let t = {
2853
- id: e.attr(o, "abstractNumId"),
2850
+ id: e.attr(l, "abstractNumId"),
2854
2851
  levels: []
2855
2852
  };
2856
- for (let r of e.elements(o))
2853
+ for (let r of e.elements(l))
2857
2854
  switch (r.localName) {
2858
2855
  case "name":
2859
2856
  t.name = e.attr(r, "val");
@@ -2873,11 +2870,11 @@ function qe(o, e) {
2873
2870
  }
2874
2871
  return t;
2875
2872
  }
2876
- function ue(o, e) {
2873
+ function ue(l, e) {
2877
2874
  let t = {
2878
- level: e.intAttr(o, "ilvl")
2875
+ level: e.intAttr(l, "ilvl")
2879
2876
  };
2880
- for (let r of e.elements(o))
2877
+ for (let r of e.elements(l))
2881
2878
  switch (r.localName) {
2882
2879
  case "start":
2883
2880
  t.start = e.attr(r, "val");
@@ -2909,11 +2906,11 @@ function ue(o, e) {
2909
2906
  }
2910
2907
  return t;
2911
2908
  }
2912
- function Ke(o, e) {
2909
+ function Ke(l, e) {
2913
2910
  let t = {
2914
- level: e.intAttr(o, "ilvl")
2911
+ level: e.intAttr(l, "ilvl")
2915
2912
  };
2916
- for (let r of e.elements(o))
2913
+ for (let r of e.elements(l))
2917
2914
  switch (r.localName) {
2918
2915
  case "startOverride":
2919
2916
  t.start = e.intAttr(r, "val");
@@ -2924,10 +2921,10 @@ function Ke(o, e) {
2924
2921
  }
2925
2922
  return t;
2926
2923
  }
2927
- function Ye(o, e) {
2928
- var t = e.element(o, "pict"), r = t && e.element(t, "shape"), a = r && e.element(r, "imagedata");
2924
+ function Ye(l, e) {
2925
+ var t = e.element(l, "pict"), r = t && e.element(t, "shape"), a = r && e.element(r, "imagedata");
2929
2926
  return a ? {
2930
- id: e.attr(o, "numPicBulletId"),
2927
+ id: e.attr(l, "numPicBulletId"),
2931
2928
  referenceId: e.attr(a, "id"),
2932
2929
  style: e.attr(r, "style")
2933
2930
  } : null;
@@ -2949,8 +2946,8 @@ class Qe extends gt {
2949
2946
  }
2950
2947
  }
2951
2948
  var B;
2952
- (function(o) {
2953
- o.Document = "document", o.Paragraph = "paragraph", o.Run = "run", o.Break = "break", o.NoBreakHyphen = "noBreakHyphen", o.Table = "table", o.Row = "row", o.Cell = "cell", o.Hyperlink = "hyperlink", o.SmartTag = "smartTag", o.Drawing = "drawing", o.Image = "image", o.Text = "text", o.Tab = "tab", o.Symbol = "symbol", o.BookmarkStart = "bookmarkStart", o.BookmarkEnd = "bookmarkEnd", o.Footer = "footer", o.Header = "header", o.FootnoteReference = "footnoteReference", o.EndnoteReference = "endnoteReference", o.Footnote = "footnote", o.Endnote = "endnote", o.SimpleField = "simpleField", o.ComplexField = "complexField", o.Instruction = "instruction", o.VmlPicture = "vmlPicture", o.MmlMath = "mmlMath", o.MmlMathParagraph = "mmlMathParagraph", o.MmlFraction = "mmlFraction", o.MmlFunction = "mmlFunction", o.MmlFunctionName = "mmlFunctionName", o.MmlNumerator = "mmlNumerator", o.MmlDenominator = "mmlDenominator", o.MmlRadical = "mmlRadical", o.MmlBase = "mmlBase", o.MmlDegree = "mmlDegree", o.MmlSuperscript = "mmlSuperscript", o.MmlSubscript = "mmlSubscript", o.MmlPreSubSuper = "mmlPreSubSuper", o.MmlSubArgument = "mmlSubArgument", o.MmlSuperArgument = "mmlSuperArgument", o.MmlNary = "mmlNary", o.MmlDelimiter = "mmlDelimiter", o.MmlRun = "mmlRun", o.MmlEquationArray = "mmlEquationArray", o.MmlLimit = "mmlLimit", o.MmlLimitLower = "mmlLimitLower", o.MmlMatrix = "mmlMatrix", o.MmlMatrixRow = "mmlMatrixRow", o.MmlBox = "mmlBox", o.MmlBar = "mmlBar", o.MmlGroupChar = "mmlGroupChar", o.VmlElement = "vmlElement", o.Inserted = "inserted", o.Deleted = "deleted", o.DeletedText = "deletedText", o.Comment = "comment", o.CommentReference = "commentReference", o.CommentRangeStart = "commentRangeStart", o.CommentRangeEnd = "commentRangeEnd", o.AltChunk = "altChunk";
2949
+ (function(l) {
2950
+ l.Document = "document", l.Paragraph = "paragraph", l.Run = "run", l.Break = "break", l.NoBreakHyphen = "noBreakHyphen", l.Table = "table", l.Row = "row", l.Cell = "cell", l.Hyperlink = "hyperlink", l.SmartTag = "smartTag", l.Drawing = "drawing", l.Image = "image", l.Text = "text", l.Tab = "tab", l.Symbol = "symbol", l.BookmarkStart = "bookmarkStart", l.BookmarkEnd = "bookmarkEnd", l.Footer = "footer", l.Header = "header", l.FootnoteReference = "footnoteReference", l.EndnoteReference = "endnoteReference", l.Footnote = "footnote", l.Endnote = "endnote", l.SimpleField = "simpleField", l.ComplexField = "complexField", l.Instruction = "instruction", l.VmlPicture = "vmlPicture", l.MmlMath = "mmlMath", l.MmlMathParagraph = "mmlMathParagraph", l.MmlFraction = "mmlFraction", l.MmlFunction = "mmlFunction", l.MmlFunctionName = "mmlFunctionName", l.MmlNumerator = "mmlNumerator", l.MmlDenominator = "mmlDenominator", l.MmlRadical = "mmlRadical", l.MmlBase = "mmlBase", l.MmlDegree = "mmlDegree", l.MmlSuperscript = "mmlSuperscript", l.MmlSubscript = "mmlSubscript", l.MmlPreSubSuper = "mmlPreSubSuper", l.MmlSubArgument = "mmlSubArgument", l.MmlSuperArgument = "mmlSuperArgument", l.MmlNary = "mmlNary", l.MmlDelimiter = "mmlDelimiter", l.MmlRun = "mmlRun", l.MmlEquationArray = "mmlEquationArray", l.MmlLimit = "mmlLimit", l.MmlLimitLower = "mmlLimitLower", l.MmlMatrix = "mmlMatrix", l.MmlMatrixRow = "mmlMatrixRow", l.MmlBox = "mmlBox", l.MmlBar = "mmlBar", l.MmlGroupChar = "mmlGroupChar", l.VmlElement = "vmlElement", l.Inserted = "inserted", l.Deleted = "deleted", l.DeletedText = "deletedText", l.Comment = "comment", l.CommentReference = "commentReference", l.CommentRangeStart = "commentRangeStart", l.CommentRangeEnd = "commentRangeEnd", l.AltChunk = "altChunk";
2954
2951
  })(B || (B = {}));
2955
2952
  class St {
2956
2953
  constructor() {
@@ -2985,9 +2982,9 @@ class ar extends de {
2985
2982
  return new er();
2986
2983
  }
2987
2984
  }
2988
- function nr(o, e) {
2985
+ function nr(l, e) {
2989
2986
  const t = {};
2990
- for (let r of e.elements(o))
2987
+ for (let r of e.elements(l))
2991
2988
  switch (r.localName) {
2992
2989
  case "Template":
2993
2990
  t.template = r.textContent;
@@ -3019,18 +3016,18 @@ function nr(o, e) {
3019
3016
  }
3020
3017
  return t;
3021
3018
  }
3022
- function Nt(o) {
3023
- if (!(typeof o > "u"))
3024
- return parseInt(o);
3019
+ function Nt(l) {
3020
+ if (!(typeof l > "u"))
3021
+ return parseInt(l);
3025
3022
  }
3026
3023
  class sr extends gt {
3027
3024
  parseXml(e) {
3028
3025
  this.props = nr(e, this._package.xmlParser);
3029
3026
  }
3030
3027
  }
3031
- function ir(o, e) {
3028
+ function ir(l, e) {
3032
3029
  const t = {};
3033
- for (let r of e.elements(o))
3030
+ for (let r of e.elements(l))
3034
3031
  switch (r.localName) {
3035
3032
  case "title":
3036
3033
  t.title = r.textContent;
@@ -3066,8 +3063,8 @@ class or extends gt {
3066
3063
  }
3067
3064
  class lr {
3068
3065
  }
3069
- function cr(o, e) {
3070
- var t = new lr(), r = e.element(o, "themeElements");
3066
+ function cr(l, e) {
3067
+ var t = new lr(), r = e.element(l, "themeElements");
3071
3068
  for (let a of e.elements(r))
3072
3069
  switch (a.localName) {
3073
3070
  case "clrScheme":
@@ -3079,22 +3076,22 @@ function cr(o, e) {
3079
3076
  }
3080
3077
  return t;
3081
3078
  }
3082
- function hr(o, e) {
3079
+ function hr(l, e) {
3083
3080
  var t = {
3084
- name: e.attr(o, "name"),
3081
+ name: e.attr(l, "name"),
3085
3082
  colors: {}
3086
3083
  };
3087
- for (let n of e.elements(o)) {
3084
+ for (let n of e.elements(l)) {
3088
3085
  var r = e.element(n, "srgbClr"), a = e.element(n, "sysClr");
3089
3086
  r ? t.colors[n.localName] = e.attr(r, "val") : a && (t.colors[n.localName] = e.attr(a, "lastClr"));
3090
3087
  }
3091
3088
  return t;
3092
3089
  }
3093
- function ur(o, e) {
3090
+ function ur(l, e) {
3094
3091
  var t = {
3095
- name: e.attr(o, "name")
3092
+ name: e.attr(l, "name")
3096
3093
  };
3097
- for (let r of e.elements(o))
3094
+ for (let r of e.elements(l))
3098
3095
  switch (r.localName) {
3099
3096
  case "majorFont":
3100
3097
  t.majorFont = Yt(r, e);
@@ -3105,11 +3102,11 @@ function ur(o, e) {
3105
3102
  }
3106
3103
  return t;
3107
3104
  }
3108
- function Yt(o, e) {
3105
+ function Yt(l, e) {
3109
3106
  return {
3110
- latinTypeface: e.elementAttr(o, "latin", "typeface"),
3111
- eaTypeface: e.elementAttr(o, "ea", "typeface"),
3112
- csTypeface: e.elementAttr(o, "cs", "typeface")
3107
+ latinTypeface: e.elementAttr(l, "latin", "typeface"),
3108
+ eaTypeface: e.elementAttr(l, "ea", "typeface"),
3109
+ csTypeface: e.elementAttr(l, "cs", "typeface")
3113
3110
  };
3114
3111
  }
3115
3112
  class dr extends gt {
@@ -3153,9 +3150,9 @@ class gr extends pe {
3153
3150
  this.notes = this._documentParser.parseNotes(e, "endnote", pr);
3154
3151
  }
3155
3152
  }
3156
- function br(o, e) {
3153
+ function br(l, e) {
3157
3154
  var t = {};
3158
- for (let r of e.elements(o))
3155
+ for (let r of e.elements(l))
3159
3156
  switch (r.localName) {
3160
3157
  case "defaultTabStop":
3161
3158
  t.defaultTabStop = e.lengthAttr(r, "val");
@@ -3175,11 +3172,11 @@ function br(o, e) {
3175
3172
  }
3176
3173
  return t;
3177
3174
  }
3178
- function Jt(o, e) {
3175
+ function Jt(l, e) {
3179
3176
  var t = {
3180
3177
  defaultNoteIds: []
3181
3178
  };
3182
- for (let r of e.elements(o))
3179
+ for (let r of e.elements(l))
3183
3180
  switch (r.localName) {
3184
3181
  case "numFmt":
3185
3182
  t.nummeringFormat = e.attr(r, "val");
@@ -3199,8 +3196,8 @@ class vr extends gt {
3199
3196
  this.settings = br(e, this._package.xmlParser);
3200
3197
  }
3201
3198
  }
3202
- function kr(o, e) {
3203
- return e.elements(o, "property").map((t) => {
3199
+ function kr(l, e) {
3200
+ return e.elements(l, "property").map((t) => {
3204
3201
  const r = t.firstChild;
3205
3202
  return {
3206
3203
  formatId: e.attr(t, "fmtid"),
@@ -3251,7 +3248,7 @@ class Vt {
3251
3248
  static async load(e, t, r) {
3252
3249
  var a = new Vt();
3253
3250
  return a._options = r, a._parser = t, a._package = await Wt.load(e, r), a.rels = await a._package.loadRelationships(), a.contentTypes = await a._package.loadContentTypes(), await Promise.all(Sr.map((n) => {
3254
- const i = a.rels.find((l) => l.type === n.type) ?? n;
3251
+ const i = a.rels.find((o) => o.type === n.type) ?? n;
3255
3252
  return a.loadRelationshipPart(i.target, i.type);
3256
3253
  })), a;
3257
3254
  }
@@ -3357,27 +3354,27 @@ class Vt {
3357
3354
  return r ? jt(r.target, a) : null;
3358
3355
  }
3359
3356
  }
3360
- function Cr(o, e) {
3357
+ function Cr(l, e) {
3361
3358
  const r = e.replace(/{|}|-/g, ""), a = new Array(16);
3362
3359
  for (let n = 0; n < 16; n++)
3363
3360
  a[16 - n - 1] = parseInt(r.substring(n * 2, n * 2 + 2), 16);
3364
3361
  for (let n = 0; n < 32; n++)
3365
- o[n] = o[n] ^ a[n % 16];
3366
- return o;
3362
+ l[n] = l[n] ^ a[n % 16];
3363
+ return l;
3367
3364
  }
3368
- function xr(o, e) {
3365
+ function xr(l, e) {
3369
3366
  return {
3370
3367
  type: B.BookmarkStart,
3371
- id: e.attr(o, "id"),
3372
- name: e.attr(o, "name"),
3373
- colFirst: e.intAttr(o, "colFirst"),
3374
- colLast: e.intAttr(o, "colLast")
3368
+ id: e.attr(l, "id"),
3369
+ name: e.attr(l, "name"),
3370
+ colFirst: e.intAttr(l, "colFirst"),
3371
+ colLast: e.intAttr(l, "colLast")
3375
3372
  };
3376
3373
  }
3377
- function Pr(o, e) {
3374
+ function Pr(l, e) {
3378
3375
  return {
3379
3376
  type: B.BookmarkEnd,
3380
- id: e.attr(o, "id")
3377
+ id: e.attr(l, "id")
3381
3378
  };
3382
3379
  }
3383
3380
  class Ar extends St {
@@ -3385,9 +3382,9 @@ class Ar extends St {
3385
3382
  super(...arguments), this.type = B.VmlElement, this.attrs = {};
3386
3383
  }
3387
3384
  }
3388
- function me(o, e) {
3385
+ function me(l, e) {
3389
3386
  var t = new Ar();
3390
- switch (o.localName) {
3387
+ switch (l.localName) {
3391
3388
  case "rect":
3392
3389
  t.tagName = "rect", Object.assign(t.attrs, { width: "100%", height: "100%" });
3393
3390
  break;
@@ -3406,7 +3403,7 @@ function me(o, e) {
3406
3403
  default:
3407
3404
  return null;
3408
3405
  }
3409
- for (const r of C.attrs(o))
3406
+ for (const r of C.attrs(l))
3410
3407
  switch (r.localName) {
3411
3408
  case "style":
3412
3409
  t.cssStyleText = r.value;
@@ -3419,11 +3416,11 @@ function me(o, e) {
3419
3416
  Object.assign(t.attrs, { x1: a, y1: n });
3420
3417
  break;
3421
3418
  case "to":
3422
- const [i, l] = Qt(r.value);
3423
- Object.assign(t.attrs, { x2: i, y2: l });
3419
+ const [i, o] = Qt(r.value);
3420
+ Object.assign(t.attrs, { x2: i, y2: o });
3424
3421
  break;
3425
3422
  }
3426
- for (const r of C.elements(o))
3423
+ for (const r of C.elements(l))
3427
3424
  switch (r.localName) {
3428
3425
  case "stroke":
3429
3426
  Object.assign(t.attrs, Er(r));
@@ -3447,17 +3444,17 @@ function me(o, e) {
3447
3444
  }
3448
3445
  return t;
3449
3446
  }
3450
- function Er(o) {
3447
+ function Er(l) {
3451
3448
  return {
3452
- stroke: C.attr(o, "color"),
3453
- "stroke-width": C.lengthAttr(o, "weight", ft.Emu) ?? "1px"
3449
+ stroke: C.attr(l, "color"),
3450
+ "stroke-width": C.lengthAttr(l, "weight", ft.Emu) ?? "1px"
3454
3451
  };
3455
3452
  }
3456
- function Nr(o) {
3453
+ function Nr(l) {
3457
3454
  return {};
3458
3455
  }
3459
- function Qt(o) {
3460
- return o.split(",");
3456
+ function Qt(l) {
3457
+ return l.split(",");
3461
3458
  }
3462
3459
  class Mr extends St {
3463
3460
  constructor() {
@@ -3799,7 +3796,7 @@ class Fr {
3799
3796
  break;
3800
3797
  case "lvlPicBulletId":
3801
3798
  var n = C.intAttr(i, "val");
3802
- a.bullet = r.find((l) => l?.id == n);
3799
+ a.bullet = r.find((o) => o?.id == n);
3803
3800
  break;
3804
3801
  case "lvlText":
3805
3802
  a.levelText = C.attr(i, "val");
@@ -4100,11 +4097,11 @@ class Fr {
4100
4097
  var t = { type: B.Drawing, children: [], cssStyle: {} }, r = e.localName == "anchor";
4101
4098
  let a = null, n = C.boolAttr(e, "simplePos");
4102
4099
  C.boolAttr(e, "behindDoc");
4103
- let i = { relative: "page", align: "left", offset: "0" }, l = { relative: "page", align: "top", offset: "0" };
4100
+ let i = { relative: "page", align: "left", offset: "0" }, o = { relative: "page", align: "top", offset: "0" };
4104
4101
  for (var h of C.elements(e))
4105
4102
  switch (h.localName) {
4106
4103
  case "simplePos":
4107
- n && (i.offset = C.lengthAttr(h, "x", ft.Emu), l.offset = C.lengthAttr(h, "y", ft.Emu));
4104
+ n && (i.offset = C.lengthAttr(h, "x", ft.Emu), o.offset = C.lengthAttr(h, "y", ft.Emu));
4108
4105
  break;
4109
4106
  case "extent":
4110
4107
  t.cssStyle.width = C.lengthAttr(h, "cx", ft.Emu), t.cssStyle.height = C.lengthAttr(h, "cy", ft.Emu);
@@ -4112,7 +4109,7 @@ class Fr {
4112
4109
  case "positionH":
4113
4110
  case "positionV":
4114
4111
  if (!n) {
4115
- let _ = h.localName == "positionH" ? i : l;
4112
+ let _ = h.localName == "positionH" ? i : o;
4116
4113
  var y = C.element(h, "align"), S = C.element(h, "posOffset");
4117
4114
  _.relative = C.attr(h, "relativeFrom") ?? _.relative, y && (_.align = y.textContent), S && (_.offset = se(S.textContent, ft.Emu));
4118
4115
  }
@@ -4128,7 +4125,7 @@ class Fr {
4128
4125
  v && t.children.push(v);
4129
4126
  break;
4130
4127
  }
4131
- return a == "wrapTopAndBottom" ? (t.cssStyle.display = "block", i.align && (t.cssStyle["text-align"] = i.align, t.cssStyle.width = "100%")) : a == "wrapNone" ? (t.cssStyle.display = "block", t.cssStyle.position = "relative", t.cssStyle.width = "0px", t.cssStyle.height = "0px", i.offset && (t.cssStyle.left = i.offset), l.offset && (t.cssStyle.top = l.offset)) : r && (i.align == "left" || i.align == "right") && (t.cssStyle.float = i.align), t;
4128
+ return a == "wrapTopAndBottom" ? (t.cssStyle.display = "block", i.align && (t.cssStyle["text-align"] = i.align, t.cssStyle.width = "100%")) : a == "wrapNone" ? (t.cssStyle.display = "block", t.cssStyle.position = "relative", t.cssStyle.width = "0px", t.cssStyle.height = "0px", i.offset && (t.cssStyle.left = i.offset), o.offset && (t.cssStyle.top = o.offset)) : r && (i.align == "left" || i.align == "right") && (t.cssStyle.float = i.align), t;
4132
4129
  }
4133
4130
  parseGraphic(e) {
4134
4131
  var t = C.element(e, "graphicData");
@@ -4147,10 +4144,10 @@ class Fr {
4147
4144
  C.intAttr(n, "r", 0) / 1e5,
4148
4145
  C.intAttr(n, "b", 0) / 1e5
4149
4146
  ]);
4150
- var i = C.element(e, "spPr"), l = C.element(i, "xfrm");
4151
- if (t.cssStyle.position = "relative", l) {
4152
- t.rotation = C.intAttr(l, "rot", 0) / 6e4;
4153
- for (var h of C.elements(l))
4147
+ var i = C.element(e, "spPr"), o = C.element(i, "xfrm");
4148
+ if (t.cssStyle.position = "relative", o) {
4149
+ t.rotation = C.intAttr(o, "rot", 0) / 6e4;
4150
+ for (var h of C.elements(o))
4154
4151
  switch (h.localName) {
4155
4152
  case "ext":
4156
4153
  t.cssStyle.width = C.lengthAttr(h, "cx", ft.Emu), t.cssStyle.height = C.lengthAttr(h, "cy", ft.Emu);
@@ -4490,12 +4487,12 @@ class Fr {
4490
4487
  }
4491
4488
  }
4492
4489
  parseFont(e, t) {
4493
- var r = C.attr(e, "ascii"), a = ot.themeValue(e, "asciiTheme"), n = C.attr(e, "eastAsia"), i = [r, a, n].filter((l) => l).map((l) => $t(l));
4490
+ var r = C.attr(e, "ascii"), a = ot.themeValue(e, "asciiTheme"), n = C.attr(e, "eastAsia"), i = [r, a, n].filter((o) => o).map((o) => $t(o));
4494
4491
  i.length > 0 && (t["font-family"] = [...new Set(i)].join(", "));
4495
4492
  }
4496
4493
  parseIndentation(e, t) {
4497
- var r = C.lengthAttr(e, "firstLine"), a = C.lengthAttr(e, "hanging"), n = C.lengthAttr(e, "left"), i = C.lengthAttr(e, "start"), l = C.lengthAttr(e, "right"), h = C.lengthAttr(e, "end");
4498
- r && (t["text-indent"] = r), a && (t["text-indent"] = `-${a}`), (n || i) && (t["margin-inline-start"] = n || i), (l || h) && (t["margin-inline-end"] = l || h);
4494
+ var r = C.lengthAttr(e, "firstLine"), a = C.lengthAttr(e, "hanging"), n = C.lengthAttr(e, "left"), i = C.lengthAttr(e, "start"), o = C.lengthAttr(e, "right"), h = C.lengthAttr(e, "end");
4495
+ r && (t["text-indent"] = r), a && (t["text-indent"] = `-${a}`), (n || i) && (t["margin-inline-start"] = n || i), (o || h) && (t["margin-inline-end"] = o || h);
4499
4496
  }
4500
4497
  parseSpacing(e, t) {
4501
4498
  var r = C.lengthAttr(e, "before"), a = C.lengthAttr(e, "after"), n = C.intAttr(e, "line", null), i = C.attr(e, "lineRule");
@@ -4745,14 +4742,14 @@ class ot {
4745
4742
  }
4746
4743
  }
4747
4744
  const ee = { pos: 0, leader: "none", style: "left" }, Or = 50;
4748
- function Lr(o = document.body) {
4745
+ function Lr(l = document.body) {
4749
4746
  const e = document.createElement("div");
4750
- e.style.width = "100pt", o.appendChild(e);
4747
+ e.style.width = "100pt", l.appendChild(e);
4751
4748
  const t = 100 / e.offsetWidth;
4752
- return o.removeChild(e), t;
4749
+ return l.removeChild(e), t;
4753
4750
  }
4754
- function Dr(o, e, t, r = 72 / 96) {
4755
- const a = o.closest("p"), n = o.getBoundingClientRect(), i = a.getBoundingClientRect(), l = getComputedStyle(a), h = e?.length > 0 ? e.map((b) => ({
4751
+ function Dr(l, e, t, r = 72 / 96) {
4752
+ const a = l.closest("p"), n = l.getBoundingClientRect(), i = a.getBoundingClientRect(), o = getComputedStyle(a), h = e?.length > 0 ? e.map((b) => ({
4756
4753
  pos: re(b.position),
4757
4754
  leader: b.leader,
4758
4755
  style: b.style
@@ -4761,56 +4758,56 @@ function Dr(o, e, t, r = 72 / 96) {
4761
4758
  if (_ < S)
4762
4759
  for (; _ < S && h.length < Or; _ += v)
4763
4760
  h.push({ ...ee, pos: _ });
4764
- const d = parseFloat(l.marginLeft), k = i.left + d, u = (n.left - k) * r, m = h.find((b) => b.style != "clear" && b.pos > u);
4761
+ const d = parseFloat(o.marginLeft), k = i.left + d, u = (n.left - k) * r, m = h.find((b) => b.style != "clear" && b.pos > u);
4765
4762
  if (m == null)
4766
4763
  return;
4767
4764
  let f = 1;
4768
4765
  if (m.style == "right" || m.style == "center") {
4769
- const b = Array.from(a.querySelectorAll(`.${o.className}`)), x = b.indexOf(o) + 1, E = document.createRange();
4770
- E.setStart(o, 1), x < b.length ? E.setEndBefore(b[x]) : E.setEndAfter(a);
4766
+ const b = Array.from(a.querySelectorAll(`.${l.className}`)), x = b.indexOf(l) + 1, E = document.createRange();
4767
+ E.setStart(l, 1), x < b.length ? E.setEndBefore(b[x]) : E.setEndAfter(a);
4771
4768
  const A = m.style == "center" ? 0.5 : 1, L = E.getBoundingClientRect(), F = L.left + A * L.width - (i.left - d);
4772
4769
  f = m.pos - F * r;
4773
4770
  } else
4774
4771
  f = m.pos - u;
4775
- switch (o.innerHTML = "&nbsp;", o.style.textDecoration = "inherit", o.style.wordSpacing = `${f.toFixed(0)}pt`, m.leader) {
4772
+ switch (l.innerHTML = "&nbsp;", l.style.textDecoration = "inherit", l.style.wordSpacing = `${f.toFixed(0)}pt`, m.leader) {
4776
4773
  case "dot":
4777
4774
  case "middleDot":
4778
- o.style.textDecoration = "underline", o.style.textDecorationStyle = "dotted";
4775
+ l.style.textDecoration = "underline", l.style.textDecorationStyle = "dotted";
4779
4776
  break;
4780
4777
  case "hyphen":
4781
4778
  case "heavy":
4782
4779
  case "underscore":
4783
- o.style.textDecoration = "underline";
4780
+ l.style.textDecoration = "underline";
4784
4781
  break;
4785
4782
  }
4786
4783
  }
4787
- function re(o) {
4788
- return parseFloat(o);
4784
+ function re(l) {
4785
+ return parseFloat(l);
4789
4786
  }
4790
4787
  var it;
4791
- (function(o) {
4792
- o.html = "http://www.w3.org/1999/xhtml", o.svg = "http://www.w3.org/2000/svg", o.mathML = "http://www.w3.org/1998/Math/MathML";
4788
+ (function(l) {
4789
+ l.html = "http://www.w3.org/1999/xhtml", l.svg = "http://www.w3.org/2000/svg", l.mathML = "http://www.w3.org/1998/Math/MathML";
4793
4790
  })(it || (it = {}));
4794
- function Mt(o) {
4795
- if (Ht(o))
4796
- return document.createTextNode(o);
4797
- if (o instanceof Node)
4798
- return o;
4799
- const { ns: e, tagName: t, className: r, style: a, children: n, ...i } = o;
4791
+ function Mt(l) {
4792
+ if (Ht(l))
4793
+ return document.createTextNode(l);
4794
+ if (l instanceof Node)
4795
+ return l;
4796
+ const { ns: e, tagName: t, className: r, style: a, children: n, ...i } = l;
4800
4797
  if (t === "#fragment") {
4801
4798
  const h = document.createDocumentFragment();
4802
4799
  return n && n.forEach((y) => h.appendChild(Mt(y))), h;
4803
4800
  }
4804
4801
  if (t === "#comment")
4805
4802
  return document.createComment(n ? n[0] : "");
4806
- const l = e ? document.createElementNS(e, t) : document.createElement(t);
4807
- if (r && l.setAttribute("class", r), a && (Ht(a) ? l.setAttribute("style", a) : Object.assign(l.style, a)), i)
4803
+ const o = e ? document.createElementNS(e, t) : document.createElement(t);
4804
+ if (r && o.setAttribute("class", r), a && (Ht(a) ? o.setAttribute("style", a) : Object.assign(o.style, a)), i)
4808
4805
  for (const [h, y] of Object.entries(i))
4809
- y !== void 0 && (l[h] = y);
4810
- return n && n.forEach((h) => l.appendChild(Mt(h))), l;
4806
+ y !== void 0 && (o[h] = y);
4807
+ return n && n.forEach((h) => o.appendChild(Mt(h))), o;
4811
4808
  }
4812
- function jr(...o) {
4813
- return o.filter(Boolean).join(" ");
4809
+ function jr(...l) {
4810
+ return l.filter(Boolean).join(" ");
4814
4811
  }
4815
4812
  class Ur {
4816
4813
  constructor() {
@@ -4828,8 +4825,8 @@ class Ur {
4828
4825
  r && (r.majorFont && (t["--docx-majorHAnsi-font"] = r.majorFont.latinTypeface), r.minorFont && (t["--docx-minorHAnsi-font"] = r.minorFont.latinTypeface));
4829
4826
  const a = e.theme?.colorScheme;
4830
4827
  if (a)
4831
- for (let [i, l] of Object.entries(a.colors))
4832
- t[`--docx-${i}-color`] = `#${l}`;
4828
+ for (let [i, o] of Object.entries(a.colors))
4829
+ t[`--docx-${i}-color`] = `#${o}`;
4833
4830
  const n = this.styleToString(`.${this.className}`, t);
4834
4831
  return [
4835
4832
  this.h({ tagName: "#comment", children: ["docxjs document theme values"] }),
@@ -4861,7 +4858,7 @@ class Ur {
4861
4858
  if (r) {
4862
4859
  a.paragraphProps = Lt(a.paragraphProps, r.paragraphProps), a.runProps = Lt(a.runProps, r.runProps);
4863
4860
  for (const n of r.styles) {
4864
- const i = a.styles.find((l) => l.target == n.target);
4861
+ const i = a.styles.find((o) => o.target == n.target);
4865
4862
  i ? this.copyStyleProperties(n.values, i.values) : a.styles.push({ ...n, values: { ...n.values } });
4866
4863
  }
4867
4864
  } else this.options.debug && console.warn(`Can't find base style ${a.basedOn}`);
@@ -4916,12 +4913,12 @@ class Ur {
4916
4913
  this.processElement(e);
4917
4914
  const r = this.splitBySection(e.children, e.props), a = this.groupByPageBreaks(r);
4918
4915
  let n = null;
4919
- for (let l = 0, h = a.length; l < h; l++) {
4916
+ for (let o = 0, h = a.length; o < h; o++) {
4920
4917
  this.currentFootnoteIds = [];
4921
- let S = a[l][0].sectProps;
4918
+ let S = a[o][0].sectProps;
4922
4919
  const v = this.createPageElement(this.className, S, e.cssStyle);
4923
4920
  this.options.renderHeaders && this.renderHeaderFooter(S.headerRefs, S, t.length, n != S, v);
4924
- for (const _ of a[l]) {
4921
+ for (const _ of a[o]) {
4925
4922
  var i = this.createSectionContent(_.sectProps);
4926
4923
  this.renderElements(_.elements, i), v.appendChild(i), S = _.sectProps;
4927
4924
  }
@@ -4929,7 +4926,7 @@ class Ur {
4929
4926
  const _ = this.renderNotes(this.currentFootnoteIds, this.footnoteMap);
4930
4927
  _ && v.appendChild(_);
4931
4928
  }
4932
- if (this.options.renderEndnotes && l == h - 1) {
4929
+ if (this.options.renderEndnotes && o == h - 1) {
4933
4930
  const _ = this.renderNotes(this.currentEndnoteIds, this.endnoteMap);
4934
4931
  _ && v.appendChild(_);
4935
4932
  }
@@ -4941,7 +4938,7 @@ class Ur {
4941
4938
  if (!e)
4942
4939
  return;
4943
4940
  const i = this.document.settingsPart?.settings?.evenAndOddHeaders ?? !1;
4944
- var l = (t.titlePage && a ? e.find((y) => y.type == "first") : null) ?? (r % 2 == 1 && i ? e.find((y) => y.type == "even") : null) ?? e.find((y) => y.type == "default"), h = l && this.document.findPartByRelId(l.id, this.document.documentPart);
4941
+ var o = (t.titlePage && a ? e.find((y) => y.type == "first") : null) ?? (r % 2 == 1 && i ? e.find((y) => y.type == "even") : null) ?? e.find((y) => y.type == "default"), h = o && this.document.findPartByRelId(o.id, this.document.documentPart);
4945
4942
  if (h) {
4946
4943
  this.currentPart = h, this.usedHederFooterParts.includes(h.path) || (this.processElement(h.rootElement), this.usedHederFooterParts.push(h.path));
4947
4944
  const [y] = this.renderElements([h.rootElement], n);
@@ -4963,14 +4960,14 @@ class Ur {
4963
4960
  }
4964
4961
  if (r.elements.push(v), v.type == B.Paragraph) {
4965
4962
  const _ = v;
4966
- var n = _.sectionProps, i = -1, l = -1;
4967
- if (this.options.breakPages && _.children && (i = _.children.findIndex((d) => (l = d.children?.findIndex(this.isPageBreakElement.bind(this)) ?? -1, l != -1))), (n || i != -1) && (r.sectProps = n, r.pageBreak = i != -1, r = { sectProps: null, elements: [], pageBreak: !1 }, a.push(r)), i != -1) {
4968
- let d = _.children[i], k = l < d.children.length - 1;
4963
+ var n = _.sectionProps, i = -1, o = -1;
4964
+ if (this.options.breakPages && _.children && (i = _.children.findIndex((d) => (o = d.children?.findIndex(this.isPageBreakElement.bind(this)) ?? -1, o != -1))), (n || i != -1) && (r.sectProps = n, r.pageBreak = i != -1, r = { sectProps: null, elements: [], pageBreak: !1 }, a.push(r)), i != -1) {
4965
+ let d = _.children[i], k = o < d.children.length - 1;
4969
4966
  if (i < _.children.length - 1 || k) {
4970
4967
  var h = v.children, y = { ...v, children: h.slice(i) };
4971
4968
  if (v.children = h.slice(0, i), r.elements.push(y), k) {
4972
- let u = d.children, m = { ...d, children: u.slice(0, l) };
4973
- v.children.push(m), d.children = u.slice(l);
4969
+ let u = d.children, m = { ...d, children: u.slice(0, o) };
4970
+ v.children.push(m), d.children = u.slice(o);
4974
4971
  }
4975
4972
  }
4976
4973
  }
@@ -5023,26 +5020,26 @@ section.${e}>footer { z-index: 1; }
5023
5020
  for (var a of e) {
5024
5021
  var n = `p.${this.numberingClass(a.id, a.level)}`, i = "none";
5025
5022
  if (a.bullet) {
5026
- let l = `--${this.className}-${a.bullet.src}`.toLowerCase();
5023
+ let o = `--${this.className}-${a.bullet.src}`.toLowerCase();
5027
5024
  t += this.styleToString(`${n}:before`, {
5028
5025
  content: "' '",
5029
5026
  display: "inline-block",
5030
- background: `var(${l})`
5027
+ background: `var(${o})`
5031
5028
  }, a.bullet.style);
5032
5029
  try {
5033
5030
  const h = await this.document.loadNumberingImage(a.bullet.src);
5034
- t += `${this.rootSelector} { ${l}: url(${h}) }`;
5031
+ t += `${this.rootSelector} { ${o}: url(${h}) }`;
5035
5032
  } catch {
5036
5033
  this.options.debug && console.warn(`Can't load numbering image with src ${a.bullet.src}`);
5037
5034
  }
5038
5035
  } else if (a.levelText) {
5039
- let l = this.numberingCounter(a.id, a.level);
5040
- const h = l + " " + (a.start - 1);
5036
+ let o = this.numberingCounter(a.id, a.level);
5037
+ const h = o + " " + (a.start - 1);
5041
5038
  a.level > 0 && (t += this.styleToString(`p.${this.numberingClass(a.id, a.level - 1)}`, {
5042
5039
  "counter-set": h
5043
5040
  })), r.push(h), t += this.styleToString(`${n}:before`, {
5044
5041
  content: this.levelTextToContent(a.levelText, a.suff, a.id, this.numFormatToCssValue(a.format)),
5045
- "counter-increment": l,
5042
+ "counter-increment": o,
5046
5043
  ...a.rStyle
5047
5044
  });
5048
5045
  } else
@@ -5071,8 +5068,8 @@ section.${e}>footer { z-index: 1; }
5071
5068
  i ? n = n.concat(i.styles) : this.options.debug && console.warn(`Can't find linked style ${h.linked}`);
5072
5069
  }
5073
5070
  for (const y of n) {
5074
- var l = `${h.target ?? ""}.${h.cssName}`;
5075
- h.target != y.target && (l += ` ${y.target}`), a[h.target] == h && (l = `.${this.className} ${h.target}, ` + l), t += this.styleToString(l, y.values);
5071
+ var o = `${h.target ?? ""}.${h.cssName}`;
5072
+ h.target != y.target && (o += ` ${y.target}`), a[h.target] == h && (o = `.${this.className} ${h.target}, ` + o), t += this.styleToString(o, y.values);
5076
5073
  }
5077
5074
  }
5078
5075
  return [
@@ -5279,8 +5276,8 @@ section.${e}>footer { z-index: 1; }
5279
5276
  renderImage(e) {
5280
5277
  let t = this.toHTML(e, it.html, "img", []), r = e.cssStyle?.transform;
5281
5278
  if (e.srcRect && e.srcRect.some((h) => h != 0)) {
5282
- var [a, n, i, l] = e.srcRect;
5283
- r = `scale(${1 / (1 - a - i)}, ${1 / (1 - n - l)})`, t.style["clip-path"] = `rect(${(100 * n).toFixed(2)}% ${(100 * (1 - i)).toFixed(2)}% ${(100 * (1 - l)).toFixed(2)}% ${(100 * a).toFixed(2)}%)`;
5279
+ var [a, n, i, o] = e.srcRect;
5280
+ r = `scale(${1 / (1 - a - i)}, ${1 / (1 - n - o)})`, t.style["clip-path"] = `rect(${(100 * n).toFixed(2)}% ${(100 * (1 - i)).toFixed(2)}% ${(100 * (1 - o)).toFixed(2)}% ${(100 * a).toFixed(2)}%)`;
5284
5281
  }
5285
5282
  return e.rotation && (r = `rotate(${e.rotation}deg) ${r ?? ""}`), t.style.transform = r?.trim(), this.document && this.tasks.push(this.document.loadDocumentImage(e.src, this.currentPart).then((h) => {
5286
5283
  t.src = h;
@@ -5387,12 +5384,12 @@ section.${e}>footer { z-index: 1; }
5387
5384
  return t.push(this.createMathMLElement("mo", null, [e.props.beginChar ?? "("])), t.push(...this.renderElements(e.children)), t.push(this.createMathMLElement("mo", null, [e.props.endChar ?? ")"])), this.createMathMLElement("mrow", null, t);
5388
5385
  }
5389
5386
  renderMmlNary(e) {
5390
- const t = [], r = wt(e.children, (y) => y.type), a = r[B.MmlSuperArgument], n = r[B.MmlSubArgument], i = a ? this.createMathMLElement("mo", null, Et(this.renderElement(a))) : null, l = n ? this.createMathMLElement("mo", null, Et(this.renderElement(n))) : null, h = this.createMathMLElement("mo", null, [e.props?.char ?? "∫"]);
5391
- return i || l ? t.push(this.createMathMLElement("munderover", null, [h, l, i])) : i ? t.push(this.createMathMLElement("mover", null, [h, i])) : l ? t.push(this.createMathMLElement("munder", null, [h, l])) : t.push(h), t.push(...this.renderElements(r[B.MmlBase].children)), this.createMathMLElement("mrow", null, t);
5387
+ const t = [], r = wt(e.children, (y) => y.type), a = r[B.MmlSuperArgument], n = r[B.MmlSubArgument], i = a ? this.createMathMLElement("mo", null, Et(this.renderElement(a))) : null, o = n ? this.createMathMLElement("mo", null, Et(this.renderElement(n))) : null, h = this.createMathMLElement("mo", null, [e.props?.char ?? "∫"]);
5388
+ return i || o ? t.push(this.createMathMLElement("munderover", null, [h, o, i])) : i ? t.push(this.createMathMLElement("mover", null, [h, i])) : o ? t.push(this.createMathMLElement("munder", null, [h, o])) : t.push(h), t.push(...this.renderElements(r[B.MmlBase].children)), this.createMathMLElement("mrow", null, t);
5392
5389
  }
5393
5390
  renderMmlPreSubSuper(e) {
5394
- const t = [], r = wt(e.children, (y) => y.type), a = r[B.MmlSuperArgument], n = r[B.MmlSubArgument], i = a ? this.createMathMLElement("mo", null, Et(this.renderElement(a))) : null, l = n ? this.createMathMLElement("mo", null, Et(this.renderElement(n))) : null, h = this.createMathMLElement("mo", null);
5395
- return t.push(this.createMathMLElement("msubsup", null, [h, l, i])), t.push(...this.renderElements(r[B.MmlBase].children)), this.createMathMLElement("mrow", null, t);
5391
+ const t = [], r = wt(e.children, (y) => y.type), a = r[B.MmlSuperArgument], n = r[B.MmlSubArgument], i = a ? this.createMathMLElement("mo", null, Et(this.renderElement(a))) : null, o = n ? this.createMathMLElement("mo", null, Et(this.renderElement(n))) : null, h = this.createMathMLElement("mo", null);
5392
+ return t.push(this.createMathMLElement("msubsup", null, [h, o, i])), t.push(...this.renderElements(r[B.MmlBase].children)), this.createMathMLElement("mrow", null, t);
5396
5393
  }
5397
5394
  renderMmlGroupChar(e) {
5398
5395
  const t = e.props.verticalJustification === "bot" ? "mover" : "munder", r = this.renderContainerNS(e, it.mathML, t);
@@ -5420,8 +5417,8 @@ section.${e}>footer { z-index: 1; }
5420
5417
  return this.toHTML(e, it.mathML, "mtable", t);
5421
5418
  }
5422
5419
  toH(e, t, r, a = null) {
5423
- const { $lang: n, ...i } = e.cssStyle ?? {}, l = jr(e.className, e.styleName && this.processStyleName(e.styleName));
5424
- return { ns: t, tagName: r, className: l, lang: n, style: i, children: a ?? this.renderElements(e.children) };
5420
+ const { $lang: n, ...i } = e.cssStyle ?? {}, o = jr(e.className, e.styleName && this.processStyleName(e.styleName));
5421
+ return { ns: t, tagName: r, className: o, lang: n, style: i, children: a ?? this.renderElements(e.children) };
5425
5422
  }
5426
5423
  toHTML(e, t, r, a = null) {
5427
5424
  return this.h(this.toH(e, t, r, a));
@@ -5452,8 +5449,8 @@ section.${e}>footer { z-index: 1; }
5452
5449
  tab: "\\9",
5453
5450
  space: "\\a0"
5454
5451
  };
5455
- var i = e.replace(/%\d*/g, (l) => {
5456
- let h = parseInt(l.substring(1), 10) - 1;
5452
+ var i = e.replace(/%\d*/g, (o) => {
5453
+ let h = parseInt(o.substring(1), 10) - 1;
5457
5454
  return `"counter(${this.numberingCounter(r, h)}, ${a})"`;
5458
5455
  });
5459
5456
  return `"${i}${n[t] ?? ""}"`;
@@ -5520,8 +5517,8 @@ section.${e}>footer { z-index: 1; }
5520
5517
  this.postRenderTasks.push(e);
5521
5518
  }
5522
5519
  }
5523
- function $r(o, e) {
5524
- for (var t = o.parent; t != null && t.type != e; )
5520
+ function $r(l, e) {
5521
+ for (var t = l.parent; t != null && t.type != e; )
5525
5522
  t = t.parent;
5526
5523
  return t;
5527
5524
  }
@@ -5547,16 +5544,16 @@ const ge = {
5547
5544
  renderAltChunks: !0,
5548
5545
  h: Mt
5549
5546
  };
5550
- function Hr(o, e) {
5547
+ function Hr(l, e) {
5551
5548
  const t = { ...ge, ...e };
5552
- return Vt.load(o, new Fr(t), t);
5549
+ return Vt.load(l, new Fr(t), t);
5553
5550
  }
5554
- async function Wr(o, e) {
5551
+ async function Wr(l, e) {
5555
5552
  const t = { ...ge, ...e };
5556
- return await new Ur().render(o, t);
5553
+ return await new Ur().render(l, t);
5557
5554
  }
5558
- async function Zr(o, e, t, r) {
5559
- const a = await Hr(o, r), n = await Wr(a, r);
5555
+ async function Vr(l, e, t, r) {
5556
+ const a = await Hr(l, r), n = await Wr(a, r);
5560
5557
  t ?? (t = e), t.innerHTML = "", e.innerHTML = "";
5561
5558
  for (let i of n)
5562
5559
  (i.nodeName === "STYLE" ? t : e).appendChild(i);
@@ -5565,6 +5562,6 @@ async function Zr(o, e, t, r) {
5565
5562
  export {
5566
5563
  ge as defaultOptions,
5567
5564
  Hr as parseAsync,
5568
- Zr as renderAsync,
5565
+ Vr as renderAsync,
5569
5566
  Wr as renderDocument
5570
5567
  };