superdoc 0.31.0-next.7 → 0.31.0-next.9

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 (86) hide show
  1. package/dist/chunks/{PdfViewer-HhmcCtfd.es.js → PdfViewer-ChLbIG8u.es.js} +2 -2
  2. package/dist/chunks/{PdfViewer-C_gVEaJa.cjs → PdfViewer-DGBrTPth.cjs} +2 -2
  3. package/dist/chunks/{eventemitter3-hYlnBzSA.es.js → eventemitter3-BZXKb7j7.es.js} +1 -1
  4. package/dist/chunks/{eventemitter3-DmHNHvFX.cjs → eventemitter3-CFCpOk3d.cjs} +1 -1
  5. package/dist/chunks/{index-Cz10rZ5n.es.js → index-AnYOPAqD.es.js} +6 -6
  6. package/dist/chunks/{index-wLtubQ87.cjs → index-Cypk5knN.cjs} +6 -6
  7. package/dist/chunks/{index-BJ6cOegF-C-oX4LAe.es.js → index-mvOjU9rn-CQ6Y6D-C.es.js} +1 -1
  8. package/dist/chunks/{index-BJ6cOegF-BuvRSNoV.cjs → index-mvOjU9rn-HqKSYwVo.cjs} +1 -1
  9. package/dist/chunks/{jszip-BP2FTbpi.cjs → jszip-B99MTu59.cjs} +1 -1
  10. package/dist/chunks/{jszip-jKrsZoMS.es.js → jszip-Duxs2YMV.es.js} +1 -1
  11. package/dist/chunks/{super-editor.es-Bz-s1Pw4.cjs → super-editor.es-D55QKmsp.cjs} +779 -641
  12. package/dist/chunks/{super-editor.es-C20nShDu.es.js → super-editor.es-_tc99cB9.es.js} +732 -594
  13. package/dist/chunks/{vue-Cwv-wUpm.cjs → vue-ARQSyfaw.cjs} +2401 -2360
  14. package/dist/chunks/{vue-CKmzTNVs.es.js → vue-B5QAf5pA.es.js} +2401 -2360
  15. package/dist/chunks/xml-js-CVyfrKaV.es.js +2 -0
  16. package/dist/chunks/xml-js-DQa4Ye5C.cjs +3 -0
  17. package/dist/images/altText_add.svg +3 -0
  18. package/dist/images/altText_disclaimer.svg +3 -0
  19. package/dist/images/altText_done.svg +3 -0
  20. package/dist/images/altText_spinner.svg +30 -0
  21. package/dist/images/altText_warning.svg +3 -0
  22. package/dist/images/annotation-check.svg +11 -0
  23. package/dist/images/annotation-comment.svg +16 -0
  24. package/dist/images/annotation-help.svg +26 -0
  25. package/dist/images/annotation-insert.svg +10 -0
  26. package/dist/images/annotation-key.svg +11 -0
  27. package/dist/images/annotation-newparagraph.svg +11 -0
  28. package/dist/images/annotation-noicon.svg +7 -0
  29. package/dist/images/annotation-note.svg +42 -0
  30. package/dist/images/annotation-paperclip.svg +6 -0
  31. package/dist/images/annotation-paragraph.svg +16 -0
  32. package/dist/images/annotation-pushpin.svg +7 -0
  33. package/dist/images/cursor-editorFreeHighlight.svg +6 -0
  34. package/dist/images/cursor-editorFreeText.svg +3 -0
  35. package/dist/images/cursor-editorInk.svg +4 -0
  36. package/dist/images/cursor-editorTextHighlight.svg +8 -0
  37. package/dist/images/editor-toolbar-delete.svg +5 -0
  38. package/dist/images/loading-icon.gif +0 -0
  39. package/dist/images/messageBar_closingButton.svg +3 -0
  40. package/dist/images/messageBar_warning.svg +3 -0
  41. package/dist/images/toolbarButton-editorHighlight.svg +6 -0
  42. package/dist/images/toolbarButton-menuArrow.svg +3 -0
  43. package/dist/packages/superdoc/src/core/SuperDoc.d.ts +8 -0
  44. package/dist/packages/superdoc/src/core/SuperDoc.d.ts.map +1 -1
  45. package/dist/packages/superdoc/src/core/types/index.d.ts +8 -0
  46. package/dist/packages/superdoc/src/core/types/index.d.ts.map +1 -1
  47. package/dist/style.css +2 -0
  48. package/dist/super-editor/ai-writer.es.js +2 -2
  49. package/dist/super-editor/chunks/{converter-DVDL6NWz.js → converter-DkFlFcso.js} +313 -294
  50. package/dist/super-editor/chunks/{docx-zipper-4ipmBNSH.js → docx-zipper-BSQJw-fX.js} +1 -1
  51. package/dist/super-editor/chunks/{editor-B8v33PJq.js → editor-bUoNJi-W.js} +155 -36
  52. package/dist/super-editor/chunks/{index-BJ6cOegF.js → index-mvOjU9rn.js} +1 -1
  53. package/dist/super-editor/chunks/{toolbar-CfUofx7k.js → toolbar-CkPV7I8i.js} +2 -2
  54. package/dist/super-editor/converter.es.js +1 -1
  55. package/dist/super-editor/docx-zipper.es.js +2 -2
  56. package/dist/super-editor/editor.es.js +3 -3
  57. package/dist/super-editor/file-zipper.es.js +1 -1
  58. package/dist/super-editor/style.css +2 -0
  59. package/dist/super-editor/super-editor/src/core/Editor.d.ts +9 -0
  60. package/dist/super-editor/super-editor/src/core/Editor.d.ts.map +1 -1
  61. package/dist/super-editor/super-editor/src/core/Node.d.ts +1 -1
  62. package/dist/super-editor/super-editor/src/core/Node.d.ts.map +1 -1
  63. package/dist/super-editor/super-editor/src/core/Schema.d.ts.map +1 -1
  64. package/dist/super-editor/super-editor/src/core/schema-summary.d.ts +4 -0
  65. package/dist/super-editor/super-editor/src/core/schema-summary.d.ts.map +1 -0
  66. package/dist/super-editor/super-editor/src/core/types/EditorSchema.d.ts +35 -0
  67. package/dist/super-editor/super-editor/src/core/types/EditorSchema.d.ts.map +1 -0
  68. package/dist/super-editor/super-editor/src/extensions/ai/ai-marks.d.ts.map +1 -1
  69. package/dist/super-editor/super-editor/src/extensions/ai/ai-nodes.d.ts.map +1 -1
  70. package/dist/super-editor/super-editor/src/extensions/collaboration/collaboration-helpers.d.ts.map +1 -1
  71. package/dist/super-editor/super-editor/src/extensions/mention/mention.d.ts.map +1 -1
  72. package/dist/super-editor/super-editor/src/extensions/paragraph/paragraph.d.ts.map +1 -1
  73. package/dist/super-editor/super-editor/src/extensions/structured-content/document-part-object.d.ts.map +1 -1
  74. package/dist/super-editor/super-editor/src/extensions/track-changes/permission-helpers.d.ts +8 -0
  75. package/dist/super-editor/super-editor/src/extensions/track-changes/permission-helpers.d.ts.map +1 -1
  76. package/dist/super-editor/super-editor.es.js +6 -6
  77. package/dist/super-editor/toolbar.es.js +2 -2
  78. package/dist/super-editor.cjs +2 -2
  79. package/dist/super-editor.es.js +2 -2
  80. package/dist/superdoc.cjs +2 -2
  81. package/dist/superdoc.es.js +2 -2
  82. package/dist/superdoc.umd.js +1120 -942
  83. package/dist/superdoc.umd.js.map +1 -1
  84. package/package.json +1 -1
  85. package/dist/chunks/xml-js-BSDu25I7.cjs +0 -3
  86. package/dist/chunks/xml-js-CBrRls0f.es.js +0 -2
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const vue = require("./vue-Cwv-wUpm.cjs");
2
+ const vue = require("./vue-ARQSyfaw.cjs");
3
3
  const Y = require("yjs");
4
4
  function _interopNamespaceDefault(e) {
5
5
  const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
@@ -433,17 +433,17 @@ ieee754.write = function(buffer2, value, offset2, isLE, mLen, nBytes) {
433
433
  );
434
434
  }
435
435
  if (a === b2) return 0;
436
- let x = a.length;
436
+ let x2 = a.length;
437
437
  let y2 = b2.length;
438
- for (let i = 0, len = Math.min(x, y2); i < len; ++i) {
438
+ for (let i = 0, len = Math.min(x2, y2); i < len; ++i) {
439
439
  if (a[i] !== b2[i]) {
440
- x = a[i];
440
+ x2 = a[i];
441
441
  y2 = b2[i];
442
442
  break;
443
443
  }
444
444
  }
445
- if (x < y2) return -1;
446
- if (y2 < x) return 1;
445
+ if (x2 < y2) return -1;
446
+ if (y2 < x2) return 1;
447
447
  return 0;
448
448
  };
449
449
  Buffer3.isEncoding = function isEncoding(encoding) {
@@ -692,20 +692,20 @@ ieee754.write = function(buffer2, value, offset2, isLE, mLen, nBytes) {
692
692
  thisStart >>>= 0;
693
693
  thisEnd >>>= 0;
694
694
  if (this === target) return 0;
695
- let x = thisEnd - thisStart;
695
+ let x2 = thisEnd - thisStart;
696
696
  let y2 = end2 - start2;
697
- const len = Math.min(x, y2);
697
+ const len = Math.min(x2, y2);
698
698
  const thisCopy = this.slice(thisStart, thisEnd);
699
699
  const targetCopy = target.slice(start2, end2);
700
700
  for (let i = 0; i < len; ++i) {
701
701
  if (thisCopy[i] !== targetCopy[i]) {
702
- x = thisCopy[i];
702
+ x2 = thisCopy[i];
703
703
  y2 = targetCopy[i];
704
704
  break;
705
705
  }
706
706
  }
707
- if (x < y2) return -1;
708
- if (y2 < x) return 1;
707
+ if (x2 < y2) return -1;
708
+ if (y2 < x2) return 1;
709
709
  return 0;
710
710
  };
711
711
  function bidirectionalIndexOf(buffer2, val, byteOffset, encoding, dir) {
@@ -1795,8 +1795,8 @@ ieee754.write = function(buffer2, value, offset2, isLE, mLen, nBytes) {
1795
1795
  })(buffer);
1796
1796
  const Buffer2 = buffer.Buffer;
1797
1797
  var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof vue.global !== "undefined" ? vue.global : typeof self !== "undefined" ? self : {};
1798
- function getDefaultExportFromCjs$2(x) {
1799
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
1798
+ function getDefaultExportFromCjs$2(x2) {
1799
+ return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
1800
1800
  }
1801
1801
  var sax = {};
1802
1802
  var events$1 = { exports: {} };
@@ -1804,13 +1804,13 @@ var hasRequiredEvents;
1804
1804
  function requireEvents() {
1805
1805
  if (hasRequiredEvents) return events$1.exports;
1806
1806
  hasRequiredEvents = 1;
1807
- var R2 = typeof Reflect === "object" ? Reflect : null;
1808
- var ReflectApply = R2 && typeof R2.apply === "function" ? R2.apply : function ReflectApply2(target, receiver, args) {
1807
+ var R = typeof Reflect === "object" ? Reflect : null;
1808
+ var ReflectApply = R && typeof R.apply === "function" ? R.apply : function ReflectApply2(target, receiver, args) {
1809
1809
  return Function.prototype.apply.call(target, receiver, args);
1810
1810
  };
1811
1811
  var ReflectOwnKeys;
1812
- if (R2 && typeof R2.ownKeys === "function") {
1813
- ReflectOwnKeys = R2.ownKeys;
1812
+ if (R && typeof R.ownKeys === "function") {
1813
+ ReflectOwnKeys = R.ownKeys;
1814
1814
  } else if (Object.getOwnPropertySymbols) {
1815
1815
  ReflectOwnKeys = function ReflectOwnKeys2(target) {
1816
1816
  return Object.getOwnPropertyNames(target).concat(Object.getOwnPropertySymbols(target));
@@ -2200,8 +2200,8 @@ function requireInherits_browser() {
2200
2200
  }
2201
2201
  return inherits_browser.exports;
2202
2202
  }
2203
- function getDefaultExportFromCjs$1(x) {
2204
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
2203
+ function getDefaultExportFromCjs$1(x2) {
2204
+ return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
2205
2205
  }
2206
2206
  var browser$1 = { exports: {} };
2207
2207
  var process$1 = browser$1.exports = {};
@@ -2782,17 +2782,17 @@ function requireDist() {
2782
2782
  );
2783
2783
  }
2784
2784
  if (a === b2) return 0;
2785
- let x = a.length;
2785
+ let x2 = a.length;
2786
2786
  let y2 = b2.length;
2787
- for (let i2 = 0, len2 = Math.min(x, y2); i2 < len2; ++i2) {
2787
+ for (let i2 = 0, len2 = Math.min(x2, y2); i2 < len2; ++i2) {
2788
2788
  if (a[i2] !== b2[i2]) {
2789
- x = a[i2];
2789
+ x2 = a[i2];
2790
2790
  y2 = b2[i2];
2791
2791
  break;
2792
2792
  }
2793
2793
  }
2794
- if (x < y2) return -1;
2795
- if (y2 < x) return 1;
2794
+ if (x2 < y2) return -1;
2795
+ if (y2 < x2) return 1;
2796
2796
  return 0;
2797
2797
  };
2798
2798
  Buffer4.isEncoding = function isEncoding(encoding) {
@@ -3041,20 +3041,20 @@ function requireDist() {
3041
3041
  thisStart >>>= 0;
3042
3042
  thisEnd >>>= 0;
3043
3043
  if (this === target) return 0;
3044
- let x = thisEnd - thisStart;
3044
+ let x2 = thisEnd - thisStart;
3045
3045
  let y2 = end2 - start2;
3046
- const len2 = Math.min(x, y2);
3046
+ const len2 = Math.min(x2, y2);
3047
3047
  const thisCopy = this.slice(thisStart, thisEnd);
3048
3048
  const targetCopy = target.slice(start2, end2);
3049
3049
  for (let i2 = 0; i2 < len2; ++i2) {
3050
3050
  if (thisCopy[i2] !== targetCopy[i2]) {
3051
- x = thisCopy[i2];
3051
+ x2 = thisCopy[i2];
3052
3052
  y2 = targetCopy[i2];
3053
3053
  break;
3054
3054
  }
3055
3055
  }
3056
- if (x < y2) return -1;
3057
- if (y2 < x) return 1;
3056
+ if (x2 < y2) return -1;
3057
+ if (y2 < x2) return 1;
3058
3058
  return 0;
3059
3059
  };
3060
3060
  function bidirectionalIndexOf(buffer3, val, byteOffset, encoding, dir) {
@@ -4626,15 +4626,15 @@ function requireGetProto() {
4626
4626
  var reflectGetProto = requireReflect_getPrototypeOf();
4627
4627
  var originalGetProto = requireObject_getPrototypeOf();
4628
4628
  var getDunderProto = /* @__PURE__ */ requireGet();
4629
- getProto = reflectGetProto ? function getProto2(O2) {
4630
- return reflectGetProto(O2);
4631
- } : originalGetProto ? function getProto2(O2) {
4632
- if (!O2 || typeof O2 !== "object" && typeof O2 !== "function") {
4629
+ getProto = reflectGetProto ? function getProto2(O) {
4630
+ return reflectGetProto(O);
4631
+ } : originalGetProto ? function getProto2(O) {
4632
+ if (!O || typeof O !== "object" && typeof O !== "function") {
4633
4633
  throw new TypeError("getProto: not an object");
4634
4634
  }
4635
- return originalGetProto(O2);
4636
- } : getDunderProto ? function getProto2(O2) {
4637
- return getDunderProto(O2);
4635
+ return originalGetProto(O);
4636
+ } : getDunderProto ? function getProto2(O) {
4637
+ return getDunderProto(O);
4638
4638
  } : null;
4639
4639
  return getProto;
4640
4640
  }
@@ -5312,8 +5312,8 @@ function requireForEach() {
5312
5312
  }
5313
5313
  }
5314
5314
  };
5315
- function isArray2(x) {
5316
- return toStr.call(x) === "[object Array]";
5315
+ function isArray2(x2) {
5316
+ return toStr.call(x2) === "[object Array]";
5317
5317
  }
5318
5318
  forEach = function forEach22(list, iterator, thisArg) {
5319
5319
  if (!isCallable2(iterator)) {
@@ -5922,10 +5922,10 @@ function requireUtil() {
5922
5922
  var i = 1;
5923
5923
  var args = arguments;
5924
5924
  var len = args.length;
5925
- var str = String(f2).replace(formatRegExp, function(x2) {
5926
- if (x2 === "%%") return "%";
5927
- if (i >= len) return x2;
5928
- switch (x2) {
5925
+ var str = String(f2).replace(formatRegExp, function(x3) {
5926
+ if (x3 === "%%") return "%";
5927
+ if (i >= len) return x3;
5928
+ switch (x3) {
5929
5929
  case "%s":
5930
5930
  return String(args[i++]);
5931
5931
  case "%d":
@@ -5937,14 +5937,14 @@ function requireUtil() {
5937
5937
  return "[Circular]";
5938
5938
  }
5939
5939
  default:
5940
- return x2;
5940
+ return x3;
5941
5941
  }
5942
5942
  });
5943
- for (var x = args[i]; i < len; x = args[++i]) {
5944
- if (isNull(x) || !isObject2(x)) {
5945
- str += " " + x;
5943
+ for (var x2 = args[i]; i < len; x2 = args[++i]) {
5944
+ if (isNull(x2) || !isObject2(x2)) {
5945
+ str += " " + x2;
5946
5946
  } else {
5947
- str += " " + inspect(x);
5947
+ str += " " + inspect(x2);
5948
5948
  }
5949
5949
  }
5950
5950
  return str;
@@ -7509,6 +7509,7 @@ function require_stream_duplex() {
7509
7509
  }
7510
7510
  var string_decoder = {};
7511
7511
  var safeBuffer = { exports: {} };
7512
+ /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
7512
7513
  var hasRequiredSafeBuffer;
7513
7514
  function requireSafeBuffer() {
7514
7515
  if (hasRequiredSafeBuffer) return safeBuffer.exports;
@@ -7530,6 +7531,7 @@ function requireSafeBuffer() {
7530
7531
  function SafeBuffer(arg, encodingOrOffset, length2) {
7531
7532
  return Buffer3(arg, encodingOrOffset, length2);
7532
7533
  }
7534
+ SafeBuffer.prototype = Object.create(Buffer3.prototype);
7533
7535
  copyProps(Buffer3, SafeBuffer);
7534
7536
  SafeBuffer.from = function(arg, encodingOrOffset, length2) {
7535
7537
  if (typeof arg === "number") {
@@ -8807,9 +8809,9 @@ function require_stream_readable() {
8807
8809
  return from2(Readable, iterable, opts);
8808
8810
  };
8809
8811
  }
8810
- function indexOf(xs, x) {
8812
+ function indexOf(xs, x2) {
8811
8813
  for (var i = 0, l3 = xs.length; i < l3; i++) {
8812
- if (xs[i] === x) return i;
8814
+ if (xs[i] === x2) return i;
8813
8815
  }
8814
8816
  return -1;
8815
8817
  }
@@ -9267,27 +9269,27 @@ function requireSax() {
9267
9269
  this._parser = new SAXParser(strict, opt);
9268
9270
  this.writable = true;
9269
9271
  this.readable = true;
9270
- var me = this;
9272
+ var me2 = this;
9271
9273
  this._parser.onend = function() {
9272
- me.emit("end");
9274
+ me2.emit("end");
9273
9275
  };
9274
9276
  this._parser.onerror = function(er) {
9275
- me.emit("error", er);
9276
- me._parser.error = null;
9277
+ me2.emit("error", er);
9278
+ me2._parser.error = null;
9277
9279
  };
9278
9280
  this._decoder = null;
9279
9281
  streamWraps.forEach(function(ev) {
9280
- Object.defineProperty(me, "on" + ev, {
9282
+ Object.defineProperty(me2, "on" + ev, {
9281
9283
  get: function() {
9282
- return me._parser["on" + ev];
9284
+ return me2._parser["on" + ev];
9283
9285
  },
9284
- set: function(h2) {
9285
- if (!h2) {
9286
- me.removeAllListeners(ev);
9287
- me._parser["on" + ev] = h2;
9288
- return h2;
9286
+ set: function(h) {
9287
+ if (!h) {
9288
+ me2.removeAllListeners(ev);
9289
+ me2._parser["on" + ev] = h;
9290
+ return h;
9289
9291
  }
9290
- me.on(ev, h2);
9292
+ me2.on(ev, h);
9291
9293
  },
9292
9294
  enumerable: true,
9293
9295
  configurable: false
@@ -9319,15 +9321,15 @@ function requireSax() {
9319
9321
  return true;
9320
9322
  };
9321
9323
  SAXStream.prototype.on = function(ev, handler2) {
9322
- var me = this;
9323
- if (!me._parser["on" + ev] && streamWraps.indexOf(ev) !== -1) {
9324
- me._parser["on" + ev] = function() {
9324
+ var me2 = this;
9325
+ if (!me2._parser["on" + ev] && streamWraps.indexOf(ev) !== -1) {
9326
+ me2._parser["on" + ev] = function() {
9325
9327
  var args = arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments);
9326
9328
  args.splice(0, 0, ev);
9327
- me.emit.apply(me, args);
9329
+ me2.emit.apply(me2, args);
9328
9330
  };
9329
9331
  }
9330
- return Stream.prototype.on.call(me, ev, handler2);
9332
+ return Stream.prototype.on.call(me2, ev, handler2);
9331
9333
  };
9332
9334
  var CDATA = "[CDATA[";
9333
9335
  var DOCTYPE = "DOCTYPE";
@@ -9919,9 +9921,9 @@ function requireSax() {
9919
9921
  var tag = parser.tag = parser.tags.pop();
9920
9922
  parser.tagName = parser.tag.name;
9921
9923
  emitNode(parser, "onclosetag", parser.tagName);
9922
- var x = {};
9924
+ var x2 = {};
9923
9925
  for (var i in tag.ns) {
9924
- x[i] = tag.ns[i];
9926
+ x2[i] = tag.ns[i];
9925
9927
  }
9926
9928
  var parent = parser.tags[parser.tags.length - 1] || parser;
9927
9929
  if (parser.opt.xmlns && tag.ns !== parent.ns) {
@@ -11401,8 +11403,8 @@ function v4(options, buf, offset2) {
11401
11403
  rnds[8] = rnds[8] & 63 | 128;
11402
11404
  return unsafeStringify(rnds);
11403
11405
  }
11404
- function getDefaultExportFromCjs(x) {
11405
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
11406
+ function getDefaultExportFromCjs(x2) {
11407
+ return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
11406
11408
  }
11407
11409
  const CRC_TABLE = new Int32Array([
11408
11410
  0,
@@ -15228,8 +15230,8 @@ function polygonToObj(polygonNode) {
15228
15230
  const points = [];
15229
15231
  polygonNode.elements.forEach((element) => {
15230
15232
  if (["wp:start", "wp:lineTo"].includes(element.name)) {
15231
- const { x, y: y2 } = element.attributes;
15232
- points.push([polygonUnitsToPixels(x), polygonUnitsToPixels(y2)]);
15233
+ const { x: x2, y: y2 } = element.attributes;
15234
+ points.push([polygonUnitsToPixels(x2), polygonUnitsToPixels(y2)]);
15233
15235
  }
15234
15236
  });
15235
15237
  if (points.length > 1) {
@@ -15252,13 +15254,13 @@ function objToPolygon(points) {
15252
15254
  elements: []
15253
15255
  };
15254
15256
  points.forEach((point, index2) => {
15255
- const [x, y2] = point;
15257
+ const [x2, y2] = point;
15256
15258
  const tagName = index2 === 0 ? "wp:start" : "wp:lineTo";
15257
15259
  const pointNode = {
15258
15260
  name: tagName,
15259
15261
  type: tagName,
15260
15262
  attributes: {
15261
- x: pixelsToPolygonUnits(x),
15263
+ x: pixelsToPolygonUnits(x2),
15262
15264
  y: pixelsToPolygonUnits(y2)
15263
15265
  }
15264
15266
  };
@@ -25030,18 +25032,18 @@ const handleShapeGroup = (params2, node, graphicData, size2, padding, marginOffs
25030
25032
  const rawY = shapeOff?.attributes?.["y"] ? parseFloat(shapeOff.attributes["y"]) : 0;
25031
25033
  const rawWidth = shapeExt?.attributes?.["cx"] ? parseFloat(shapeExt.attributes["cx"]) : 914400;
25032
25034
  const rawHeight = shapeExt?.attributes?.["cy"] ? parseFloat(shapeExt.attributes["cy"]) : 914400;
25033
- let x, y2, width, height;
25035
+ let x2, y2, width, height;
25034
25036
  if (groupTransform.childWidth && groupTransform.childHeight) {
25035
25037
  const scaleX = groupTransform.width / groupTransform.childWidth;
25036
25038
  const scaleY = groupTransform.height / groupTransform.childHeight;
25037
25039
  const childOriginX = groupTransform.childOriginXEmu || 0;
25038
25040
  const childOriginY = groupTransform.childOriginYEmu || 0;
25039
- x = groupTransform.x + emuToPixels((rawX - childOriginX) * scaleX);
25041
+ x2 = groupTransform.x + emuToPixels((rawX - childOriginX) * scaleX);
25040
25042
  y2 = groupTransform.y + emuToPixels((rawY - childOriginY) * scaleY);
25041
25043
  width = emuToPixels(rawWidth * scaleX);
25042
25044
  height = emuToPixels(rawHeight * scaleY);
25043
25045
  } else {
25044
- x = emuToPixels(rawX);
25046
+ x2 = emuToPixels(rawX);
25045
25047
  y2 = emuToPixels(rawY);
25046
25048
  width = emuToPixels(rawWidth);
25047
25049
  height = emuToPixels(rawHeight);
@@ -25060,7 +25062,7 @@ const handleShapeGroup = (params2, node, graphicData, size2, padding, marginOffs
25060
25062
  shapeType: "vectorShape",
25061
25063
  attrs: {
25062
25064
  kind: shapeKind,
25063
- x,
25065
+ x: x2,
25064
25066
  y: y2,
25065
25067
  width,
25066
25068
  height,
@@ -25683,7 +25685,7 @@ function posToDOMRect(view, from2, to) {
25683
25685
  const right2 = Math.max(start2.right, end2.right);
25684
25686
  const width = right2 - left2;
25685
25687
  const height = bottom2 - top2;
25686
- const x = left2;
25688
+ const x2 = left2;
25687
25689
  const y2 = top2;
25688
25690
  const data = {
25689
25691
  top: top2,
@@ -25692,7 +25694,7 @@ function posToDOMRect(view, from2, to) {
25692
25694
  right: right2,
25693
25695
  width,
25694
25696
  height,
25695
- x,
25697
+ x: x2,
25696
25698
  y: y2
25697
25699
  };
25698
25700
  return {
@@ -28832,25 +28834,31 @@ function createDocFromHTML(content, editor, options = {}) {
28832
28834
  function L() {
28833
28835
  return { async: false, breaks: false, extensions: null, gfm: true, hooks: null, pedantic: false, renderer: null, silent: false, tokenizer: null, walkTokens: null };
28834
28836
  }
28835
- var O = L();
28837
+ var T = L();
28836
28838
  function G(l3) {
28837
- O = l3;
28839
+ T = l3;
28838
28840
  }
28839
28841
  var E = { exec: () => null };
28840
- function h(l3, e = "") {
28842
+ function d$1(l3, e = "") {
28841
28843
  let t = typeof l3 == "string" ? l3 : l3.source, n = { replace: (r2, i) => {
28842
28844
  let s2 = typeof i == "string" ? i : i.source;
28843
28845
  return s2 = s2.replace(m.caret, "$1"), t = t.replace(r2, s2), n;
28844
28846
  }, getRegex: () => new RegExp(t, e) };
28845
28847
  return n;
28846
28848
  }
28847
- var m = { codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm, outputLinkReplace: /\\([\[\]])/g, indentCodeCompensation: /^(\s+)(?:```)/, beginningSpace: /^\s+/, endingHash: /#$/, startingSpaceChar: /^ /, endingSpaceChar: / $/, nonSpaceChar: /[^ ]/, newLineCharGlobal: /\n/g, tabCharGlobal: /\t/g, multipleSpaceGlobal: /\s+/g, blankLine: /^[ \t]*$/, doubleBlankLine: /\n[ \t]*\n[ \t]*$/, blockquoteStart: /^ {0,3}>/, blockquoteSetextReplace: /\n {0,3}((?:=+|-+) *)(?=\n|$)/g, blockquoteSetextReplace2: /^ {0,3}>[ \t]?/gm, listReplaceTabs: /^\t+/, listReplaceNesting: /^ {1,4}(?=( {4})*[^ ])/g, listIsTask: /^\[[ xX]\] /, listReplaceTask: /^\[[ xX]\] +/, anyLine: /\n.*\n/, hrefBrackets: /^<(.*)>$/, tableDelimiter: /[:|]/, tableAlignChars: /^\||\| *$/g, tableRowBlankLine: /\n[ \t]*$/, tableAlignRight: /^ *-+: *$/, tableAlignCenter: /^ *:-+: *$/, tableAlignLeft: /^ *:-+ *$/, startATag: /^<a /i, endATag: /^<\/a>/i, startPreScriptTag: /^<(pre|code|kbd|script)(\s|>)/i, endPreScriptTag: /^<\/(pre|code|kbd|script)(\s|>)/i, startAngleBracket: /^</, endAngleBracket: />$/, pedanticHrefTitle: /^([^'"]*[^\s])\s+(['"])(.*)\2/, unicodeAlphaNumeric: /[\p{L}\p{N}]/u, escapeTest: /[&<>"']/, escapeReplace: /[&<>"']/g, escapeTestNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, escapeReplaceNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g, unescapeTest: /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig, caret: /(^|[^\[])\^/g, percentDecode: /%25/g, findPipe: /\|/g, splitPipe: / \|/, slashPipe: /\\\|/g, carriageReturn: /\r\n|\r/g, spaceLine: /^ +$/gm, notSpaceStart: /^\S*/, endingNewline: /\n$/, listItemRegex: (l3) => new RegExp(`^( {0,3}${l3})((?:[ ][^\\n]*)?(?:\\n|$))`), nextBulletRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), hrRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), fencesBeginRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}(?:\`\`\`|~~~)`), headingBeginRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}#`), htmlBeginRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}<(?:[a-z].*>|!--)`, "i") }, xe = /^(?:[ \t]*(?:\n|$))+/, be = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Re = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, C = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Oe = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, j = /(?:[*+-]|\d{1,9}[.)])/, se = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, ie$2 = h(se).replace(/bull/g, j).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), Te = h(se).replace(/bull/g, j).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), F = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, we = /^[^\n]+/, Q = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, ye = h(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Q).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Pe = h(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, j).getRegex(), v = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", U = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Se = h("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", U).replace("tag", v).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), oe = h(F).replace("hr", C).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex(), $e = h(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", oe).getRegex(), K$1 = { blockquote: $e, code: be, def: ye, fences: Re, heading: Oe, hr: C, html: Se, lheading: ie$2, list: Pe, newline: xe, paragraph: oe, table: E, text: we }, re = h("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", C).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex(), _e = { ...K$1, lheading: Te, table: re, paragraph: h(F).replace("hr", C).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", re).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex() }, Le = { ...K$1, html: h(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", U).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(), def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/, heading: /^(#{1,6})(.*)(?:\n+|$)/, fences: E, lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/, paragraph: h(F).replace("hr", C).replace("heading", ` *#{1,6} *[^
28848
- ]`).replace("lheading", ie$2).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex() }, Me = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, ze = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, ae = /^( {2,}|\\)\n(?!\s*$)/, Ae = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, D = /[\p{P}\p{S}]/u, W = /[\s\p{P}\p{S}]/u, le = /[^\s\p{P}\p{S}]/u, Ee = h(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, W).getRegex(), ue = /(?!~)[\p{P}\p{S}]/u, Ce = /(?!~)[\s\p{P}\p{S}]/u, Ie = /(?:[^\s\p{P}\p{S}]|~)/u, Be = /\[[^\[\]]*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)|`[^`]*?`|<(?! )[^<>]*?>/g, pe = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, qe = h(pe, "u").replace(/punct/g, D).getRegex(), ve = h(pe, "u").replace(/punct/g, ue).getRegex(), ce = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", De = h(ce, "gu").replace(/notPunctSpace/g, le).replace(/punctSpace/g, W).replace(/punct/g, D).getRegex(), He = h(ce, "gu").replace(/notPunctSpace/g, Ie).replace(/punctSpace/g, Ce).replace(/punct/g, ue).getRegex(), Ze = h("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, le).replace(/punctSpace/g, W).replace(/punct/g, D).getRegex(), Ge = h(/\\(punct)/, "gu").replace(/punct/g, D).getRegex(), Ne = h(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), je = h(U).replace("(?:-->|$)", "-->").getRegex(), Fe = h("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", je).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), q = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`[^`]*`|[^\[\]\\`])*?/, Qe = h(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", q).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), he$3 = h(/^!?\[(label)\]\[(ref)\]/).replace("label", q).replace("ref", Q).getRegex(), de = h(/^!?\[(ref)\](?:\[\])?/).replace("ref", Q).getRegex(), Ue = h("reflink|nolink(?!\\()", "g").replace("reflink", he$3).replace("nolink", de).getRegex(), X = { _backpedal: E, anyPunctuation: Ge, autolink: Ne, blockSkip: Be, br: ae, code: ze, del: E, emStrongLDelim: qe, emStrongRDelimAst: De, emStrongRDelimUnd: Ze, escape: Me, link: Qe, nolink: de, punctuation: Ee, reflink: he$3, reflinkSearch: Ue, tag: Fe, text: Ae, url: E }, Ke = { ...X, link: h(/^!?\[(label)\]\((.*?)\)/).replace("label", q).getRegex(), reflink: h(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", q).getRegex() }, N = { ...X, emStrongRDelimAst: He, emStrongLDelim: ve, url: h(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/, "i").replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(), _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/, del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/, text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/ }, We = { ...N, br: h(ae).replace("{2,}", "*").getRegex(), text: h(N.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex() }, I = { normal: K$1, gfm: _e, pedantic: Le }, M$1 = { normal: X, gfm: N, breaks: We, pedantic: Ke };
28849
- var Xe = { "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#39;" }, ke = (l3) => Xe[l3];
28849
+ var be = (() => {
28850
+ try {
28851
+ return !!new RegExp("(?<=1)(?<!1)");
28852
+ } catch {
28853
+ return false;
28854
+ }
28855
+ })(), m = { codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm, outputLinkReplace: /\\([\[\]])/g, indentCodeCompensation: /^(\s+)(?:```)/, beginningSpace: /^\s+/, endingHash: /#$/, startingSpaceChar: /^ /, endingSpaceChar: / $/, nonSpaceChar: /[^ ]/, newLineCharGlobal: /\n/g, tabCharGlobal: /\t/g, multipleSpaceGlobal: /\s+/g, blankLine: /^[ \t]*$/, doubleBlankLine: /\n[ \t]*\n[ \t]*$/, blockquoteStart: /^ {0,3}>/, blockquoteSetextReplace: /\n {0,3}((?:=+|-+) *)(?=\n|$)/g, blockquoteSetextReplace2: /^ {0,3}>[ \t]?/gm, listReplaceTabs: /^\t+/, listReplaceNesting: /^ {1,4}(?=( {4})*[^ ])/g, listIsTask: /^\[[ xX]\] /, listReplaceTask: /^\[[ xX]\] +/, anyLine: /\n.*\n/, hrefBrackets: /^<(.*)>$/, tableDelimiter: /[:|]/, tableAlignChars: /^\||\| *$/g, tableRowBlankLine: /\n[ \t]*$/, tableAlignRight: /^ *-+: *$/, tableAlignCenter: /^ *:-+: *$/, tableAlignLeft: /^ *:-+ *$/, startATag: /^<a /i, endATag: /^<\/a>/i, startPreScriptTag: /^<(pre|code|kbd|script)(\s|>)/i, endPreScriptTag: /^<\/(pre|code|kbd|script)(\s|>)/i, startAngleBracket: /^</, endAngleBracket: />$/, pedanticHrefTitle: /^([^'"]*[^\s])\s+(['"])(.*)\2/, unicodeAlphaNumeric: /[\p{L}\p{N}]/u, escapeTest: /[&<>"']/, escapeReplace: /[&<>"']/g, escapeTestNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, escapeReplaceNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g, unescapeTest: /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig, caret: /(^|[^\[])\^/g, percentDecode: /%25/g, findPipe: /\|/g, splitPipe: / \|/, slashPipe: /\\\|/g, carriageReturn: /\r\n|\r/g, spaceLine: /^ +$/gm, notSpaceStart: /^\S*/, endingNewline: /\n$/, listItemRegex: (l3) => new RegExp(`^( {0,3}${l3})((?:[ ][^\\n]*)?(?:\\n|$))`), nextBulletRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), hrRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), fencesBeginRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}(?:\`\`\`|~~~)`), headingBeginRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}#`), htmlBeginRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}<(?:[a-z].*>|!--)`, "i") }, Re = /^(?:[ \t]*(?:\n|$))+/, Te = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Oe = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, I = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, we = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, F = /(?:[*+-]|\d{1,9}[.)])/, ie$2 = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, oe = d$1(ie$2).replace(/bull/g, F).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), ye = d$1(ie$2).replace(/bull/g, F).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), j = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Pe = /^[^\n]+/, Q = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, Se = d$1(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Q).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), $e = d$1(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, F).getRegex(), v = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", U = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, _e = d$1("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", U).replace("tag", v).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), ae = d$1(j).replace("hr", I).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex(), Le = d$1(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", ae).getRegex(), K$1 = { blockquote: Le, code: Te, def: Se, fences: Oe, heading: we, hr: I, html: _e, lheading: oe, list: $e, newline: Re, paragraph: ae, table: E, text: Pe }, re = d$1("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", I).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex(), Me = { ...K$1, lheading: ye, table: re, paragraph: d$1(j).replace("hr", I).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", re).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex() }, ze = { ...K$1, html: d$1(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", U).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(), def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/, heading: /^(#{1,6})(.*)(?:\n+|$)/, fences: E, lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/, paragraph: d$1(j).replace("hr", I).replace("heading", ` *#{1,6} *[^
28856
+ ]`).replace("lheading", oe).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex() }, Ae = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Ee = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, le = /^( {2,}|\\)\n(?!\s*$)/, Ie = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, D = /[\p{P}\p{S}]/u, W = /[\s\p{P}\p{S}]/u, ue = /[^\s\p{P}\p{S}]/u, Ce = d$1(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, W).getRegex(), pe = /(?!~)[\p{P}\p{S}]/u, Be = /(?!~)[\s\p{P}\p{S}]/u, qe = /(?:[^\s\p{P}\p{S}]|~)/u, ve = d$1(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", be ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), ce = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, De = d$1(ce, "u").replace(/punct/g, D).getRegex(), He = d$1(ce, "u").replace(/punct/g, pe).getRegex(), he$3 = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Ze = d$1(he$3, "gu").replace(/notPunctSpace/g, ue).replace(/punctSpace/g, W).replace(/punct/g, D).getRegex(), Ge = d$1(he$3, "gu").replace(/notPunctSpace/g, qe).replace(/punctSpace/g, Be).replace(/punct/g, pe).getRegex(), Ne = d$1("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, ue).replace(/punctSpace/g, W).replace(/punct/g, D).getRegex(), Fe = d$1(/\\(punct)/, "gu").replace(/punct/g, D).getRegex(), je = d$1(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), Qe = d$1(U).replace("(?:-->|$)", "-->").getRegex(), Ue = d$1("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", Qe).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), q = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/, Ke = d$1(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", q).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), de = d$1(/^!?\[(label)\]\[(ref)\]/).replace("label", q).replace("ref", Q).getRegex(), ke = d$1(/^!?\[(ref)\](?:\[\])?/).replace("ref", Q).getRegex(), We = d$1("reflink|nolink(?!\\()", "g").replace("reflink", de).replace("nolink", ke).getRegex(), se = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, X = { _backpedal: E, anyPunctuation: Fe, autolink: je, blockSkip: ve, br: le, code: Ee, del: E, emStrongLDelim: De, emStrongRDelimAst: Ze, emStrongRDelimUnd: Ne, escape: Ae, link: Ke, nolink: ke, punctuation: Ce, reflink: de, reflinkSearch: We, tag: Ue, text: Ie, url: E }, Xe = { ...X, link: d$1(/^!?\[(label)\]\((.*?)\)/).replace("label", q).getRegex(), reflink: d$1(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", q).getRegex() }, N = { ...X, emStrongRDelimAst: Ge, emStrongLDelim: He, url: d$1(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", se).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(), _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/, del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/, text: d$1(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", se).getRegex() }, Je = { ...N, br: d$1(le).replace("{2,}", "*").getRegex(), text: d$1(N.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex() }, C = { normal: K$1, gfm: Me, pedantic: ze }, M$1 = { normal: X, gfm: N, breaks: Je, pedantic: Xe };
28857
+ var Ve = { "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#39;" }, ge = (l3) => Ve[l3];
28850
28858
  function w(l3, e) {
28851
28859
  if (e) {
28852
- if (m.escapeTest.test(l3)) return l3.replace(m.escapeReplace, ke);
28853
- } else if (m.escapeTestNoEncode.test(l3)) return l3.replace(m.escapeReplaceNoEncode, ke);
28860
+ if (m.escapeTest.test(l3)) return l3.replace(m.escapeReplace, ge);
28861
+ } else if (m.escapeTestNoEncode.test(l3)) return l3.replace(m.escapeReplaceNoEncode, ge);
28854
28862
  return l3;
28855
28863
  }
28856
28864
  function J(l3) {
@@ -28862,10 +28870,10 @@ function J(l3) {
28862
28870
  return l3;
28863
28871
  }
28864
28872
  function V(l3, e) {
28865
- let t = l3.replace(m.findPipe, (i, s2, o) => {
28866
- let a = false, u = s2;
28867
- for (; --u >= 0 && o[u] === "\\"; ) a = !a;
28868
- return a ? "|" : " |";
28873
+ let t = l3.replace(m.findPipe, (i, s2, a) => {
28874
+ let o = false, p = s2;
28875
+ for (; --p >= 0 && a[p] === "\\"; ) o = !o;
28876
+ return o ? "|" : " |";
28869
28877
  }), n = t.split(m.splitPipe), r2 = 0;
28870
28878
  if (n[0].trim() || n.shift(), n.length > 0 && !n.at(-1)?.trim() && n.pop(), e) if (n.length > e) n.splice(e);
28871
28879
  else for (; n.length < e; ) n.push("");
@@ -28883,7 +28891,7 @@ function z(l3, e, t) {
28883
28891
  }
28884
28892
  return l3.slice(0, n - r2);
28885
28893
  }
28886
- function ge(l3, e) {
28894
+ function fe(l3, e) {
28887
28895
  if (l3.indexOf(e[1]) === -1) return -1;
28888
28896
  let t = 0;
28889
28897
  for (let n = 0; n < l3.length; n++) if (l3[n] === "\\") n++;
@@ -28891,13 +28899,13 @@ function ge(l3, e) {
28891
28899
  else if (l3[n] === e[1] && (t--, t < 0)) return n;
28892
28900
  return t > 0 ? -2 : -1;
28893
28901
  }
28894
- function fe(l3, e, t, n, r2) {
28895
- let i = e.href, s2 = e.title || null, o = l3[1].replace(r2.other.outputLinkReplace, "$1");
28902
+ function me(l3, e, t, n, r2) {
28903
+ let i = e.href, s2 = e.title || null, a = l3[1].replace(r2.other.outputLinkReplace, "$1");
28896
28904
  n.state.inLink = true;
28897
- let a = { type: l3[0].charAt(0) === "!" ? "image" : "link", raw: t, href: i, title: s2, text: o, tokens: n.inlineTokens(o) };
28898
- return n.state.inLink = false, a;
28905
+ let o = { type: l3[0].charAt(0) === "!" ? "image" : "link", raw: t, href: i, title: s2, text: a, tokens: n.inlineTokens(a) };
28906
+ return n.state.inLink = false, o;
28899
28907
  }
28900
- function Je(l3, e, t) {
28908
+ function Ye(l3, e, t) {
28901
28909
  let n = l3.match(t.other.indentCodeCompensation);
28902
28910
  if (n === null) return e;
28903
28911
  let r2 = n[1];
@@ -28905,8 +28913,8 @@ function Je(l3, e, t) {
28905
28913
  `).map((i) => {
28906
28914
  let s2 = i.match(t.other.beginningSpace);
28907
28915
  if (s2 === null) return i;
28908
- let [o] = s2;
28909
- return o.length >= r2.length ? i.slice(r2.length) : i;
28916
+ let [a] = s2;
28917
+ return a.length >= r2.length ? i.slice(r2.length) : i;
28910
28918
  }).join(`
28911
28919
  `);
28912
28920
  }
@@ -28915,7 +28923,7 @@ var y = class {
28915
28923
  __publicField$2(this, "options");
28916
28924
  __publicField$2(this, "rules");
28917
28925
  __publicField$2(this, "lexer");
28918
- this.options = e || O;
28926
+ this.options = e || T;
28919
28927
  }
28920
28928
  space(e) {
28921
28929
  let t = this.rules.block.newline.exec(e);
@@ -28932,7 +28940,7 @@ var y = class {
28932
28940
  fences(e) {
28933
28941
  let t = this.rules.block.fences.exec(e);
28934
28942
  if (t) {
28935
- let n = t[0], r2 = Je(n, t[3] || "", this.rules);
28943
+ let n = t[0], r2 = Ye(n, t[3] || "", this.rules);
28936
28944
  return { type: "code", raw: n, lang: t[2] ? t[2].trim().replace(this.rules.inline.anyPunctuation, "$1") : t[2], text: r2 };
28937
28945
  }
28938
28946
  }
@@ -28959,32 +28967,32 @@ var y = class {
28959
28967
  `).split(`
28960
28968
  `), r2 = "", i = "", s2 = [];
28961
28969
  for (; n.length > 0; ) {
28962
- let o = false, a = [], u;
28963
- for (u = 0; u < n.length; u++) if (this.rules.other.blockquoteStart.test(n[u])) a.push(n[u]), o = true;
28964
- else if (!o) a.push(n[u]);
28970
+ let a = false, o = [], p;
28971
+ for (p = 0; p < n.length; p++) if (this.rules.other.blockquoteStart.test(n[p])) o.push(n[p]), a = true;
28972
+ else if (!a) o.push(n[p]);
28965
28973
  else break;
28966
- n = n.slice(u);
28967
- let p = a.join(`
28968
- `), c2 = p.replace(this.rules.other.blockquoteSetextReplace, `
28974
+ n = n.slice(p);
28975
+ let u = o.join(`
28976
+ `), c2 = u.replace(this.rules.other.blockquoteSetextReplace, `
28969
28977
  $1`).replace(this.rules.other.blockquoteSetextReplace2, "");
28970
28978
  r2 = r2 ? `${r2}
28971
- ${p}` : p, i = i ? `${i}
28979
+ ${u}` : u, i = i ? `${i}
28972
28980
  ${c2}` : c2;
28973
- let f2 = this.lexer.state.top;
28974
- if (this.lexer.state.top = true, this.lexer.blockTokens(c2, s2, true), this.lexer.state.top = f2, n.length === 0) break;
28975
- let k2 = s2.at(-1);
28976
- if (k2?.type === "code") break;
28977
- if (k2?.type === "blockquote") {
28978
- let x = k2, g = x.raw + `
28981
+ let g = this.lexer.state.top;
28982
+ if (this.lexer.state.top = true, this.lexer.blockTokens(c2, s2, true), this.lexer.state.top = g, n.length === 0) break;
28983
+ let h = s2.at(-1);
28984
+ if (h?.type === "code") break;
28985
+ if (h?.type === "blockquote") {
28986
+ let R = h, f2 = R.raw + `
28979
28987
  ` + n.join(`
28980
- `), T = this.blockquote(g);
28981
- s2[s2.length - 1] = T, r2 = r2.substring(0, r2.length - x.raw.length) + T.raw, i = i.substring(0, i.length - x.text.length) + T.text;
28988
+ `), O = this.blockquote(f2);
28989
+ s2[s2.length - 1] = O, r2 = r2.substring(0, r2.length - R.raw.length) + O.raw, i = i.substring(0, i.length - R.text.length) + O.text;
28982
28990
  break;
28983
- } else if (k2?.type === "list") {
28984
- let x = k2, g = x.raw + `
28991
+ } else if (h?.type === "list") {
28992
+ let R = h, f2 = R.raw + `
28985
28993
  ` + n.join(`
28986
- `), T = this.list(g);
28987
- s2[s2.length - 1] = T, r2 = r2.substring(0, r2.length - k2.raw.length) + T.raw, i = i.substring(0, i.length - x.raw.length) + T.raw, n = g.substring(s2.at(-1).raw.length).split(`
28994
+ `), O = this.list(f2);
28995
+ s2[s2.length - 1] = O, r2 = r2.substring(0, r2.length - h.raw.length) + O.raw, i = i.substring(0, i.length - R.raw.length) + O.raw, n = f2.substring(s2.at(-1).raw.length).split(`
28988
28996
  `);
28989
28997
  continue;
28990
28998
  }
@@ -28997,45 +29005,45 @@ ${c2}` : c2;
28997
29005
  if (t) {
28998
29006
  let n = t[1].trim(), r2 = n.length > 1, i = { type: "list", raw: "", ordered: r2, start: r2 ? +n.slice(0, -1) : "", loose: false, items: [] };
28999
29007
  n = r2 ? `\\d{1,9}\\${n.slice(-1)}` : `\\${n}`, this.options.pedantic && (n = r2 ? n : "[*+-]");
29000
- let s2 = this.rules.other.listItemRegex(n), o = false;
29008
+ let s2 = this.rules.other.listItemRegex(n), a = false;
29001
29009
  for (; e; ) {
29002
- let u = false, p = "", c2 = "";
29010
+ let p = false, u = "", c2 = "";
29003
29011
  if (!(t = s2.exec(e)) || this.rules.block.hr.test(e)) break;
29004
- p = t[0], e = e.substring(p.length);
29005
- let f2 = t[2].split(`
29006
- `, 1)[0].replace(this.rules.other.listReplaceTabs, (H) => " ".repeat(3 * H.length)), k2 = e.split(`
29007
- `, 1)[0], x = !f2.trim(), g = 0;
29008
- if (this.options.pedantic ? (g = 2, c2 = f2.trimStart()) : x ? g = t[1].length + 1 : (g = t[2].search(this.rules.other.nonSpaceChar), g = g > 4 ? 1 : g, c2 = f2.slice(g), g += t[1].length), x && this.rules.other.blankLine.test(k2) && (p += k2 + `
29009
- `, e = e.substring(k2.length + 1), u = true), !u) {
29010
- let H = this.rules.other.nextBulletRegex(g), ee = this.rules.other.hrRegex(g), te = this.rules.other.fencesBeginRegex(g), ne = this.rules.other.headingBeginRegex(g), me = this.rules.other.htmlBeginRegex(g);
29012
+ u = t[0], e = e.substring(u.length);
29013
+ let g = t[2].split(`
29014
+ `, 1)[0].replace(this.rules.other.listReplaceTabs, (H) => " ".repeat(3 * H.length)), h = e.split(`
29015
+ `, 1)[0], R = !g.trim(), f2 = 0;
29016
+ if (this.options.pedantic ? (f2 = 2, c2 = g.trimStart()) : R ? f2 = t[1].length + 1 : (f2 = t[2].search(this.rules.other.nonSpaceChar), f2 = f2 > 4 ? 1 : f2, c2 = g.slice(f2), f2 += t[1].length), R && this.rules.other.blankLine.test(h) && (u += h + `
29017
+ `, e = e.substring(h.length + 1), p = true), !p) {
29018
+ let H = this.rules.other.nextBulletRegex(f2), ee = this.rules.other.hrRegex(f2), te = this.rules.other.fencesBeginRegex(f2), ne = this.rules.other.headingBeginRegex(f2), xe = this.rules.other.htmlBeginRegex(f2);
29011
29019
  for (; e; ) {
29012
29020
  let Z = e.split(`
29013
29021
  `, 1)[0], A2;
29014
- if (k2 = Z, this.options.pedantic ? (k2 = k2.replace(this.rules.other.listReplaceNesting, " "), A2 = k2) : A2 = k2.replace(this.rules.other.tabCharGlobal, " "), te.test(k2) || ne.test(k2) || me.test(k2) || H.test(k2) || ee.test(k2)) break;
29015
- if (A2.search(this.rules.other.nonSpaceChar) >= g || !k2.trim()) c2 += `
29016
- ` + A2.slice(g);
29022
+ if (h = Z, this.options.pedantic ? (h = h.replace(this.rules.other.listReplaceNesting, " "), A2 = h) : A2 = h.replace(this.rules.other.tabCharGlobal, " "), te.test(h) || ne.test(h) || xe.test(h) || H.test(h) || ee.test(h)) break;
29023
+ if (A2.search(this.rules.other.nonSpaceChar) >= f2 || !h.trim()) c2 += `
29024
+ ` + A2.slice(f2);
29017
29025
  else {
29018
- if (x || f2.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || te.test(f2) || ne.test(f2) || ee.test(f2)) break;
29026
+ if (R || g.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || te.test(g) || ne.test(g) || ee.test(g)) break;
29019
29027
  c2 += `
29020
- ` + k2;
29028
+ ` + h;
29021
29029
  }
29022
- !x && !k2.trim() && (x = true), p += Z + `
29023
- `, e = e.substring(Z.length + 1), f2 = A2.slice(g);
29030
+ !R && !h.trim() && (R = true), u += Z + `
29031
+ `, e = e.substring(Z.length + 1), g = A2.slice(f2);
29024
29032
  }
29025
29033
  }
29026
- i.loose || (o ? i.loose = true : this.rules.other.doubleBlankLine.test(p) && (o = true));
29027
- let T = null, Y2;
29028
- this.options.gfm && (T = this.rules.other.listIsTask.exec(c2), T && (Y2 = T[0] !== "[ ] ", c2 = c2.replace(this.rules.other.listReplaceTask, ""))), i.items.push({ type: "list_item", raw: p, task: !!T, checked: Y2, loose: false, text: c2, tokens: [] }), i.raw += p;
29034
+ i.loose || (a ? i.loose = true : this.rules.other.doubleBlankLine.test(u) && (a = true));
29035
+ let O = null, Y2;
29036
+ this.options.gfm && (O = this.rules.other.listIsTask.exec(c2), O && (Y2 = O[0] !== "[ ] ", c2 = c2.replace(this.rules.other.listReplaceTask, ""))), i.items.push({ type: "list_item", raw: u, task: !!O, checked: Y2, loose: false, text: c2, tokens: [] }), i.raw += u;
29029
29037
  }
29030
- let a = i.items.at(-1);
29031
- if (a) a.raw = a.raw.trimEnd(), a.text = a.text.trimEnd();
29038
+ let o = i.items.at(-1);
29039
+ if (o) o.raw = o.raw.trimEnd(), o.text = o.text.trimEnd();
29032
29040
  else return;
29033
29041
  i.raw = i.raw.trimEnd();
29034
- for (let u = 0; u < i.items.length; u++) if (this.lexer.state.top = false, i.items[u].tokens = this.lexer.blockTokens(i.items[u].text, []), !i.loose) {
29035
- let p = i.items[u].tokens.filter((f2) => f2.type === "space"), c2 = p.length > 0 && p.some((f2) => this.rules.other.anyLine.test(f2.raw));
29042
+ for (let p = 0; p < i.items.length; p++) if (this.lexer.state.top = false, i.items[p].tokens = this.lexer.blockTokens(i.items[p].text, []), !i.loose) {
29043
+ let u = i.items[p].tokens.filter((g) => g.type === "space"), c2 = u.length > 0 && u.some((g) => this.rules.other.anyLine.test(g.raw));
29036
29044
  i.loose = c2;
29037
29045
  }
29038
- if (i.loose) for (let u = 0; u < i.items.length; u++) i.items[u].loose = true;
29046
+ if (i.loose) for (let p = 0; p < i.items.length; p++) i.items[p].loose = true;
29039
29047
  return i;
29040
29048
  }
29041
29049
  }
@@ -29056,9 +29064,9 @@ ${c2}` : c2;
29056
29064
  let n = V(t[1]), r2 = t[2].replace(this.rules.other.tableAlignChars, "").split("|"), i = t[3]?.trim() ? t[3].replace(this.rules.other.tableRowBlankLine, "").split(`
29057
29065
  `) : [], s2 = { type: "table", raw: t[0], header: [], align: [], rows: [] };
29058
29066
  if (n.length === r2.length) {
29059
- for (let o of r2) this.rules.other.tableAlignRight.test(o) ? s2.align.push("right") : this.rules.other.tableAlignCenter.test(o) ? s2.align.push("center") : this.rules.other.tableAlignLeft.test(o) ? s2.align.push("left") : s2.align.push(null);
29060
- for (let o = 0; o < n.length; o++) s2.header.push({ text: n[o], tokens: this.lexer.inline(n[o]), header: true, align: s2.align[o] });
29061
- for (let o of i) s2.rows.push(V(o, s2.header.length).map((a, u) => ({ text: a, tokens: this.lexer.inline(a), header: false, align: s2.align[u] })));
29067
+ for (let a of r2) this.rules.other.tableAlignRight.test(a) ? s2.align.push("right") : this.rules.other.tableAlignCenter.test(a) ? s2.align.push("center") : this.rules.other.tableAlignLeft.test(a) ? s2.align.push("left") : s2.align.push(null);
29068
+ for (let a = 0; a < n.length; a++) s2.header.push({ text: n[a], tokens: this.lexer.inline(n[a]), header: true, align: s2.align[a] });
29069
+ for (let a of i) s2.rows.push(V(a, s2.header.length).map((o, p) => ({ text: o, tokens: this.lexer.inline(o), header: false, align: s2.align[p] })));
29062
29070
  return s2;
29063
29071
  }
29064
29072
  }
@@ -29095,11 +29103,11 @@ ${c2}` : c2;
29095
29103
  let s2 = z(n.slice(0, -1), "\\");
29096
29104
  if ((n.length - s2.length) % 2 === 0) return;
29097
29105
  } else {
29098
- let s2 = ge(t[2], "()");
29106
+ let s2 = fe(t[2], "()");
29099
29107
  if (s2 === -2) return;
29100
29108
  if (s2 > -1) {
29101
- let a = (t[0].indexOf("!") === 0 ? 5 : 4) + t[1].length + s2;
29102
- t[2] = t[2].substring(0, s2), t[0] = t[0].substring(0, a).trim(), t[3] = "";
29109
+ let o = (t[0].indexOf("!") === 0 ? 5 : 4) + t[1].length + s2;
29110
+ t[2] = t[2].substring(0, s2), t[0] = t[0].substring(0, o).trim(), t[3] = "";
29103
29111
  }
29104
29112
  }
29105
29113
  let r2 = t[2], i = "";
@@ -29107,7 +29115,7 @@ ${c2}` : c2;
29107
29115
  let s2 = this.rules.other.pedanticHrefTitle.exec(r2);
29108
29116
  s2 && (r2 = s2[1], i = s2[3]);
29109
29117
  } else i = t[3] ? t[3].slice(1, -1) : "";
29110
- return r2 = r2.trim(), this.rules.other.startAngleBracket.test(r2) && (this.options.pedantic && !this.rules.other.endAngleBracket.test(n) ? r2 = r2.slice(1) : r2 = r2.slice(1, -1)), fe(t, { href: r2 && r2.replace(this.rules.inline.anyPunctuation, "$1"), title: i && i.replace(this.rules.inline.anyPunctuation, "$1") }, t[0], this.lexer, this.rules);
29118
+ return r2 = r2.trim(), this.rules.other.startAngleBracket.test(r2) && (this.options.pedantic && !this.rules.other.endAngleBracket.test(n) ? r2 = r2.slice(1) : r2 = r2.slice(1, -1)), me(t, { href: r2 && r2.replace(this.rules.inline.anyPunctuation, "$1"), title: i && i.replace(this.rules.inline.anyPunctuation, "$1") }, t[0], this.lexer, this.rules);
29111
29119
  }
29112
29120
  }
29113
29121
  reflink(e, t) {
@@ -29118,32 +29126,32 @@ ${c2}` : c2;
29118
29126
  let s2 = n[0].charAt(0);
29119
29127
  return { type: "text", raw: s2, text: s2 };
29120
29128
  }
29121
- return fe(n, i, n[0], this.lexer, this.rules);
29129
+ return me(n, i, n[0], this.lexer, this.rules);
29122
29130
  }
29123
29131
  }
29124
29132
  emStrong(e, t, n = "") {
29125
29133
  let r2 = this.rules.inline.emStrongLDelim.exec(e);
29126
29134
  if (!r2 || r2[3] && n.match(this.rules.other.unicodeAlphaNumeric)) return;
29127
29135
  if (!(r2[1] || r2[2] || "") || !n || this.rules.inline.punctuation.exec(n)) {
29128
- let s2 = [...r2[0]].length - 1, o, a, u = s2, p = 0, c2 = r2[0][0] === "*" ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
29136
+ let s2 = [...r2[0]].length - 1, a, o, p = s2, u = 0, c2 = r2[0][0] === "*" ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
29129
29137
  for (c2.lastIndex = 0, t = t.slice(-1 * e.length + s2); (r2 = c2.exec(t)) != null; ) {
29130
- if (o = r2[1] || r2[2] || r2[3] || r2[4] || r2[5] || r2[6], !o) continue;
29131
- if (a = [...o].length, r2[3] || r2[4]) {
29132
- u += a;
29138
+ if (a = r2[1] || r2[2] || r2[3] || r2[4] || r2[5] || r2[6], !a) continue;
29139
+ if (o = [...a].length, r2[3] || r2[4]) {
29140
+ p += o;
29133
29141
  continue;
29134
- } else if ((r2[5] || r2[6]) && s2 % 3 && !((s2 + a) % 3)) {
29135
- p += a;
29142
+ } else if ((r2[5] || r2[6]) && s2 % 3 && !((s2 + o) % 3)) {
29143
+ u += o;
29136
29144
  continue;
29137
29145
  }
29138
- if (u -= a, u > 0) continue;
29139
- a = Math.min(a, a + u + p);
29140
- let f2 = [...r2[0]][0].length, k2 = e.slice(0, s2 + r2.index + f2 + a);
29141
- if (Math.min(s2, a) % 2) {
29142
- let g = k2.slice(1, -1);
29143
- return { type: "em", raw: k2, text: g, tokens: this.lexer.inlineTokens(g) };
29146
+ if (p -= o, p > 0) continue;
29147
+ o = Math.min(o, o + p + u);
29148
+ let g = [...r2[0]][0].length, h = e.slice(0, s2 + r2.index + g + o);
29149
+ if (Math.min(s2, o) % 2) {
29150
+ let f2 = h.slice(1, -1);
29151
+ return { type: "em", raw: h, text: f2, tokens: this.lexer.inlineTokens(f2) };
29144
29152
  }
29145
- let x = k2.slice(2, -2);
29146
- return { type: "strong", raw: k2, text: x, tokens: this.lexer.inlineTokens(x) };
29153
+ let R = h.slice(2, -2);
29154
+ return { type: "strong", raw: h, text: R, tokens: this.lexer.inlineTokens(R) };
29147
29155
  }
29148
29156
  }
29149
29157
  }
@@ -29192,19 +29200,19 @@ ${c2}` : c2;
29192
29200
  }
29193
29201
  }
29194
29202
  };
29195
- var b = class l {
29203
+ var x = class l {
29196
29204
  constructor(e) {
29197
29205
  __publicField$2(this, "tokens");
29198
29206
  __publicField$2(this, "options");
29199
29207
  __publicField$2(this, "state");
29200
29208
  __publicField$2(this, "tokenizer");
29201
29209
  __publicField$2(this, "inlineQueue");
29202
- this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e || O, this.options.tokenizer = this.options.tokenizer || new y(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = { inLink: false, inRawBlock: false, top: true };
29203
- let t = { other: m, block: I.normal, inline: M$1.normal };
29204
- this.options.pedantic ? (t.block = I.pedantic, t.inline = M$1.pedantic) : this.options.gfm && (t.block = I.gfm, this.options.breaks ? t.inline = M$1.breaks : t.inline = M$1.gfm), this.tokenizer.rules = t;
29210
+ this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e || T, this.options.tokenizer = this.options.tokenizer || new y(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = { inLink: false, inRawBlock: false, top: true };
29211
+ let t = { other: m, block: C.normal, inline: M$1.normal };
29212
+ this.options.pedantic ? (t.block = C.pedantic, t.inline = M$1.pedantic) : this.options.gfm && (t.block = C.gfm, this.options.breaks ? t.inline = M$1.breaks : t.inline = M$1.gfm), this.tokenizer.rules = t;
29205
29213
  }
29206
29214
  static get rules() {
29207
- return { block: I, inline: M$1 };
29215
+ return { block: C, inline: M$1 };
29208
29216
  }
29209
29217
  static lex(e, t) {
29210
29218
  return new l(t).lex(e);
@@ -29284,9 +29292,9 @@ var b = class l {
29284
29292
  }
29285
29293
  let i = e;
29286
29294
  if (this.options.extensions?.startBlock) {
29287
- let s2 = 1 / 0, o = e.slice(1), a;
29288
- this.options.extensions.startBlock.forEach((u) => {
29289
- a = u.call({ lexer: this }, o), typeof a == "number" && a >= 0 && (s2 = Math.min(s2, a));
29295
+ let s2 = 1 / 0, a = e.slice(1), o;
29296
+ this.options.extensions.startBlock.forEach((p) => {
29297
+ o = p.call({ lexer: this }, a), typeof o == "number" && o >= 0 && (s2 = Math.min(s2, o));
29290
29298
  }), s2 < 1 / 0 && s2 >= 0 && (i = e.substring(0, s2 + 1));
29291
29299
  }
29292
29300
  if (this.state.top && (r2 = this.tokenizer.paragraph(i))) {
@@ -29326,11 +29334,12 @@ var b = class l {
29326
29334
  if (o.length > 0) for (; (r2 = this.tokenizer.rules.inline.reflinkSearch.exec(n)) != null; ) o.includes(r2[0].slice(r2[0].lastIndexOf("[") + 1, -1)) && (n = n.slice(0, r2.index) + "[" + "a".repeat(r2[0].length - 2) + "]" + n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex));
29327
29335
  }
29328
29336
  for (; (r2 = this.tokenizer.rules.inline.anyPunctuation.exec(n)) != null; ) n = n.slice(0, r2.index) + "++" + n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);
29329
- for (; (r2 = this.tokenizer.rules.inline.blockSkip.exec(n)) != null; ) n = n.slice(0, r2.index) + "[" + "a".repeat(r2[0].length - 2) + "]" + n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);
29337
+ let i;
29338
+ for (; (r2 = this.tokenizer.rules.inline.blockSkip.exec(n)) != null; ) i = r2[2] ? r2[2].length : 0, n = n.slice(0, r2.index + i) + "[" + "a".repeat(r2[0].length - i - 2) + "]" + n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);
29330
29339
  n = this.options.hooks?.emStrongMask?.call({ lexer: this }, n) ?? n;
29331
- let i = false, s2 = "";
29340
+ let s2 = false, a = "";
29332
29341
  for (; e; ) {
29333
- i || (s2 = ""), i = false;
29342
+ s2 || (a = ""), s2 = false;
29334
29343
  let o;
29335
29344
  if (this.options.extensions?.inline?.some((u) => (o = u.call({ lexer: this }, e, t)) ? (e = e.substring(o.raw.length), t.push(o), true) : false)) continue;
29336
29345
  if (o = this.tokenizer.escape(e)) {
@@ -29351,7 +29360,7 @@ var b = class l {
29351
29360
  o.type === "text" && u?.type === "text" ? (u.raw += o.raw, u.text += o.text) : t.push(o);
29352
29361
  continue;
29353
29362
  }
29354
- if (o = this.tokenizer.emStrong(e, n, s2)) {
29363
+ if (o = this.tokenizer.emStrong(e, n, a)) {
29355
29364
  e = e.substring(o.raw.length), t.push(o);
29356
29365
  continue;
29357
29366
  }
@@ -29375,15 +29384,15 @@ var b = class l {
29375
29384
  e = e.substring(o.raw.length), t.push(o);
29376
29385
  continue;
29377
29386
  }
29378
- let a = e;
29387
+ let p = e;
29379
29388
  if (this.options.extensions?.startInline) {
29380
- let u = 1 / 0, p = e.slice(1), c2;
29381
- this.options.extensions.startInline.forEach((f2) => {
29382
- c2 = f2.call({ lexer: this }, p), typeof c2 == "number" && c2 >= 0 && (u = Math.min(u, c2));
29383
- }), u < 1 / 0 && u >= 0 && (a = e.substring(0, u + 1));
29389
+ let u = 1 / 0, c2 = e.slice(1), g;
29390
+ this.options.extensions.startInline.forEach((h) => {
29391
+ g = h.call({ lexer: this }, c2), typeof g == "number" && g >= 0 && (u = Math.min(u, g));
29392
+ }), u < 1 / 0 && u >= 0 && (p = e.substring(0, u + 1));
29384
29393
  }
29385
- if (o = this.tokenizer.inlineText(a)) {
29386
- e = e.substring(o.raw.length), o.raw.slice(-1) !== "_" && (s2 = o.raw.slice(-1)), i = true;
29394
+ if (o = this.tokenizer.inlineText(p)) {
29395
+ e = e.substring(o.raw.length), o.raw.slice(-1) !== "_" && (a = o.raw.slice(-1)), s2 = true;
29387
29396
  let u = t.at(-1);
29388
29397
  u?.type === "text" ? (u.raw += o.raw, u.text += o.text) : t.push(o);
29389
29398
  continue;
@@ -29403,7 +29412,7 @@ var P = class {
29403
29412
  constructor(e) {
29404
29413
  __publicField$2(this, "options");
29405
29414
  __publicField$2(this, "parser");
29406
- this.options = e || O;
29415
+ this.options = e || T;
29407
29416
  }
29408
29417
  space(e) {
29409
29418
  return "";
@@ -29436,9 +29445,9 @@ ${this.parser.parse(e)}</blockquote>
29436
29445
  }
29437
29446
  list(e) {
29438
29447
  let t = e.ordered, n = e.start, r2 = "";
29439
- for (let o = 0; o < e.items.length; o++) {
29440
- let a = e.items[o];
29441
- r2 += this.listitem(a);
29448
+ for (let a = 0; a < e.items.length; a++) {
29449
+ let o = e.items[a];
29450
+ r2 += this.listitem(o);
29442
29451
  }
29443
29452
  let i = t ? "ol" : "ul", s2 = t && n !== 1 ? ' start="' + n + '"' : "";
29444
29453
  return "<" + i + s2 + `>
@@ -29469,7 +29478,7 @@ ${this.parser.parse(e)}</blockquote>
29469
29478
  for (let i = 0; i < e.rows.length; i++) {
29470
29479
  let s2 = e.rows[i];
29471
29480
  n = "";
29472
- for (let o = 0; o < s2.length; o++) n += this.tablecell(s2[o]);
29481
+ for (let a = 0; a < s2.length; a++) n += this.tablecell(s2[a]);
29473
29482
  r2 += this.tablerow({ text: n });
29474
29483
  }
29475
29484
  return r2 && (r2 = `<tbody>${r2}</tbody>`), `<table>
@@ -29551,12 +29560,12 @@ var $ = class {
29551
29560
  return "";
29552
29561
  }
29553
29562
  };
29554
- var R = class l2 {
29563
+ var b = class l2 {
29555
29564
  constructor(e) {
29556
29565
  __publicField$2(this, "options");
29557
29566
  __publicField$2(this, "renderer");
29558
29567
  __publicField$2(this, "textRenderer");
29559
- this.options = e || O, this.options.renderer = this.options.renderer || new P(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new $();
29568
+ this.options = e || T, this.options.renderer = this.options.renderer || new P(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new $();
29560
29569
  }
29561
29570
  static parse(e, t) {
29562
29571
  return new l2(t).parse(e);
@@ -29569,9 +29578,9 @@ var R = class l2 {
29569
29578
  for (let r2 = 0; r2 < e.length; r2++) {
29570
29579
  let i = e[r2];
29571
29580
  if (this.options.extensions?.renderers?.[i.type]) {
29572
- let o = i, a = this.options.extensions.renderers[o.type].call({ parser: this }, o);
29573
- if (a !== false || !["space", "hr", "heading", "code", "table", "blockquote", "list", "html", "def", "paragraph", "text"].includes(o.type)) {
29574
- n += a || "";
29581
+ let a = i, o = this.options.extensions.renderers[a.type].call({ parser: this }, a);
29582
+ if (o !== false || !["space", "hr", "heading", "code", "table", "blockquote", "list", "html", "def", "paragraph", "text"].includes(a.type)) {
29583
+ n += o || "";
29575
29584
  continue;
29576
29585
  }
29577
29586
  }
@@ -29618,16 +29627,16 @@ var R = class l2 {
29618
29627
  continue;
29619
29628
  }
29620
29629
  case "text": {
29621
- let o = s2, a = this.renderer.text(o);
29622
- for (; r2 + 1 < e.length && e[r2 + 1].type === "text"; ) o = e[++r2], a += `
29623
- ` + this.renderer.text(o);
29624
- t ? n += this.renderer.paragraph({ type: "paragraph", raw: a, text: a, tokens: [{ type: "text", raw: a, text: a, escaped: true }] }) : n += a;
29630
+ let a = s2, o = this.renderer.text(a);
29631
+ for (; r2 + 1 < e.length && e[r2 + 1].type === "text"; ) a = e[++r2], o += `
29632
+ ` + this.renderer.text(a);
29633
+ t ? n += this.renderer.paragraph({ type: "paragraph", raw: o, text: o, tokens: [{ type: "text", raw: o, text: o, escaped: true }] }) : n += o;
29625
29634
  continue;
29626
29635
  }
29627
29636
  default: {
29628
- let o = 'Token with "' + s2.type + '" type was not found.';
29629
- if (this.options.silent) return console.error(o), "";
29630
- throw new Error(o);
29637
+ let a = 'Token with "' + s2.type + '" type was not found.';
29638
+ if (this.options.silent) return console.error(a), "";
29639
+ throw new Error(a);
29631
29640
  }
29632
29641
  }
29633
29642
  }
@@ -29638,9 +29647,9 @@ var R = class l2 {
29638
29647
  for (let r2 = 0; r2 < e.length; r2++) {
29639
29648
  let i = e[r2];
29640
29649
  if (this.options.extensions?.renderers?.[i.type]) {
29641
- let o = this.options.extensions.renderers[i.type].call({ parser: this }, i);
29642
- if (o !== false || !["escape", "html", "link", "image", "strong", "em", "codespan", "br", "del", "text"].includes(i.type)) {
29643
- n += o || "";
29650
+ let a = this.options.extensions.renderers[i.type].call({ parser: this }, i);
29651
+ if (a !== false || !["escape", "html", "link", "image", "strong", "em", "codespan", "br", "del", "text"].includes(i.type)) {
29652
+ n += a || "";
29644
29653
  continue;
29645
29654
  }
29646
29655
  }
@@ -29687,9 +29696,9 @@ var R = class l2 {
29687
29696
  break;
29688
29697
  }
29689
29698
  default: {
29690
- let o = 'Token with "' + s2.type + '" type was not found.';
29691
- if (this.options.silent) return console.error(o), "";
29692
- throw new Error(o);
29699
+ let a = 'Token with "' + s2.type + '" type was not found.';
29700
+ if (this.options.silent) return console.error(a), "";
29701
+ throw new Error(a);
29693
29702
  }
29694
29703
  }
29695
29704
  }
@@ -29700,7 +29709,7 @@ var S = (_a = class {
29700
29709
  constructor(e) {
29701
29710
  __publicField$2(this, "options");
29702
29711
  __publicField$2(this, "block");
29703
- this.options = e || O;
29712
+ this.options = e || T;
29704
29713
  }
29705
29714
  preprocess(e) {
29706
29715
  return e;
@@ -29715,10 +29724,10 @@ var S = (_a = class {
29715
29724
  return e;
29716
29725
  }
29717
29726
  provideLexer() {
29718
- return this.block ? b.lex : b.lexInline;
29727
+ return this.block ? x.lex : x.lexInline;
29719
29728
  }
29720
29729
  provideParser() {
29721
- return this.block ? R.parse : R.parseInline;
29730
+ return this.block ? b.parse : b.parseInline;
29722
29731
  }
29723
29732
  }, __publicField$2(_a, "passThroughHooks", /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens", "emStrongMask"])), __publicField$2(_a, "passThroughHooksRespectAsync", /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens"])), _a);
29724
29733
  var B = class {
@@ -29727,10 +29736,10 @@ var B = class {
29727
29736
  __publicField$2(this, "options", this.setOptions);
29728
29737
  __publicField$2(this, "parse", this.parseMarkdown(true));
29729
29738
  __publicField$2(this, "parseInline", this.parseMarkdown(false));
29730
- __publicField$2(this, "Parser", R);
29739
+ __publicField$2(this, "Parser", b);
29731
29740
  __publicField$2(this, "Renderer", P);
29732
29741
  __publicField$2(this, "TextRenderer", $);
29733
- __publicField$2(this, "Lexer", b);
29742
+ __publicField$2(this, "Lexer", x);
29734
29743
  __publicField$2(this, "Tokenizer", y);
29735
29744
  __publicField$2(this, "Hooks", S);
29736
29745
  this.use(...e);
@@ -29741,7 +29750,7 @@ var B = class {
29741
29750
  case "table": {
29742
29751
  let i = r2;
29743
29752
  for (let s2 of i.header) n = n.concat(this.walkTokens(s2.tokens, t));
29744
- for (let s2 of i.rows) for (let o of s2) n = n.concat(this.walkTokens(o.tokens, t));
29753
+ for (let s2 of i.rows) for (let a of s2) n = n.concat(this.walkTokens(a.tokens, t));
29745
29754
  break;
29746
29755
  }
29747
29756
  case "list": {
@@ -29752,8 +29761,8 @@ var B = class {
29752
29761
  default: {
29753
29762
  let i = r2;
29754
29763
  this.defaults.extensions?.childTokens?.[i.type] ? this.defaults.extensions.childTokens[i.type].forEach((s2) => {
29755
- let o = i[s2].flat(1 / 0);
29756
- n = n.concat(this.walkTokens(o, t));
29764
+ let a = i[s2].flat(1 / 0);
29765
+ n = n.concat(this.walkTokens(a, t));
29757
29766
  }) : i.tokens && (n = n.concat(this.walkTokens(i.tokens, t)));
29758
29767
  }
29759
29768
  }
@@ -29767,9 +29776,9 @@ var B = class {
29767
29776
  if (!i.name) throw new Error("extension name required");
29768
29777
  if ("renderer" in i) {
29769
29778
  let s2 = t.renderers[i.name];
29770
- s2 ? t.renderers[i.name] = function(...o) {
29771
- let a = i.renderer.apply(this, o);
29772
- return a === false && (a = s2.apply(this, o)), a;
29779
+ s2 ? t.renderers[i.name] = function(...a) {
29780
+ let o = i.renderer.apply(this, a);
29781
+ return o === false && (o = s2.apply(this, a)), o;
29773
29782
  } : t.renderers[i.name] = i.renderer;
29774
29783
  }
29775
29784
  if ("tokenizer" in i) {
@@ -29783,10 +29792,10 @@ var B = class {
29783
29792
  for (let s2 in n.renderer) {
29784
29793
  if (!(s2 in i)) throw new Error(`renderer '${s2}' does not exist`);
29785
29794
  if (["options", "parser"].includes(s2)) continue;
29786
- let o = s2, a = n.renderer[o], u = i[o];
29787
- i[o] = (...p) => {
29788
- let c2 = a.apply(i, p);
29789
- return c2 === false && (c2 = u.apply(i, p)), c2 || "";
29795
+ let a = s2, o = n.renderer[a], p = i[a];
29796
+ i[a] = (...u) => {
29797
+ let c2 = o.apply(i, u);
29798
+ return c2 === false && (c2 = p.apply(i, u)), c2 || "";
29790
29799
  };
29791
29800
  }
29792
29801
  r2.renderer = i;
@@ -29796,10 +29805,10 @@ var B = class {
29796
29805
  for (let s2 in n.tokenizer) {
29797
29806
  if (!(s2 in i)) throw new Error(`tokenizer '${s2}' does not exist`);
29798
29807
  if (["options", "rules", "lexer"].includes(s2)) continue;
29799
- let o = s2, a = n.tokenizer[o], u = i[o];
29800
- i[o] = (...p) => {
29801
- let c2 = a.apply(i, p);
29802
- return c2 === false && (c2 = u.apply(i, p)), c2;
29808
+ let a = s2, o = n.tokenizer[a], p = i[a];
29809
+ i[a] = (...u) => {
29810
+ let c2 = o.apply(i, u);
29811
+ return c2 === false && (c2 = p.apply(i, u)), c2;
29803
29812
  };
29804
29813
  }
29805
29814
  r2.tokenizer = i;
@@ -29809,23 +29818,30 @@ var B = class {
29809
29818
  for (let s2 in n.hooks) {
29810
29819
  if (!(s2 in i)) throw new Error(`hook '${s2}' does not exist`);
29811
29820
  if (["options", "block"].includes(s2)) continue;
29812
- let o = s2, a = n.hooks[o], u = i[o];
29813
- S.passThroughHooks.has(s2) ? i[o] = (p) => {
29814
- if (this.defaults.async && S.passThroughHooksRespectAsync.has(s2)) return Promise.resolve(a.call(i, p)).then((f2) => u.call(i, f2));
29815
- let c2 = a.call(i, p);
29816
- return u.call(i, c2);
29817
- } : i[o] = (...p) => {
29818
- let c2 = a.apply(i, p);
29819
- return c2 === false && (c2 = u.apply(i, p)), c2;
29821
+ let a = s2, o = n.hooks[a], p = i[a];
29822
+ S.passThroughHooks.has(s2) ? i[a] = (u) => {
29823
+ if (this.defaults.async && S.passThroughHooksRespectAsync.has(s2)) return (async () => {
29824
+ let g = await o.call(i, u);
29825
+ return p.call(i, g);
29826
+ })();
29827
+ let c2 = o.call(i, u);
29828
+ return p.call(i, c2);
29829
+ } : i[a] = (...u) => {
29830
+ if (this.defaults.async) return (async () => {
29831
+ let g = await o.apply(i, u);
29832
+ return g === false && (g = await p.apply(i, u)), g;
29833
+ })();
29834
+ let c2 = o.apply(i, u);
29835
+ return c2 === false && (c2 = p.apply(i, u)), c2;
29820
29836
  };
29821
29837
  }
29822
29838
  r2.hooks = i;
29823
29839
  }
29824
29840
  if (n.walkTokens) {
29825
29841
  let i = this.defaults.walkTokens, s2 = n.walkTokens;
29826
- r2.walkTokens = function(o) {
29827
- let a = [];
29828
- return a.push(s2.call(this, o)), i && (a = a.concat(i.call(this, o))), a;
29842
+ r2.walkTokens = function(a) {
29843
+ let o = [];
29844
+ return o.push(s2.call(this, a)), i && (o = o.concat(i.call(this, a))), o;
29829
29845
  };
29830
29846
  }
29831
29847
  this.defaults = { ...this.defaults, ...r2 };
@@ -29835,28 +29851,31 @@ var B = class {
29835
29851
  return this.defaults = { ...this.defaults, ...e }, this;
29836
29852
  }
29837
29853
  lexer(e, t) {
29838
- return b.lex(e, t ?? this.defaults);
29854
+ return x.lex(e, t ?? this.defaults);
29839
29855
  }
29840
29856
  parser(e, t) {
29841
- return R.parse(e, t ?? this.defaults);
29857
+ return b.parse(e, t ?? this.defaults);
29842
29858
  }
29843
29859
  parseMarkdown(e) {
29844
29860
  return (n, r2) => {
29845
- let i = { ...r2 }, s2 = { ...this.defaults, ...i }, o = this.onError(!!s2.silent, !!s2.async);
29846
- if (this.defaults.async === true && i.async === false) return o(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));
29847
- if (typeof n > "u" || n === null) return o(new Error("marked(): input parameter is undefined or null"));
29848
- if (typeof n != "string") return o(new Error("marked(): input parameter is of type " + Object.prototype.toString.call(n) + ", string expected"));
29849
- s2.hooks && (s2.hooks.options = s2, s2.hooks.block = e);
29850
- let a = s2.hooks ? s2.hooks.provideLexer() : e ? b.lex : b.lexInline, u = s2.hooks ? s2.hooks.provideParser() : e ? R.parse : R.parseInline;
29851
- if (s2.async) return Promise.resolve(s2.hooks ? s2.hooks.preprocess(n) : n).then((p) => a(p, s2)).then((p) => s2.hooks ? s2.hooks.processAllTokens(p) : p).then((p) => s2.walkTokens ? Promise.all(this.walkTokens(p, s2.walkTokens)).then(() => p) : p).then((p) => u(p, s2)).then((p) => s2.hooks ? s2.hooks.postprocess(p) : p).catch(o);
29861
+ let i = { ...r2 }, s2 = { ...this.defaults, ...i }, a = this.onError(!!s2.silent, !!s2.async);
29862
+ if (this.defaults.async === true && i.async === false) return a(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));
29863
+ if (typeof n > "u" || n === null) return a(new Error("marked(): input parameter is undefined or null"));
29864
+ if (typeof n != "string") return a(new Error("marked(): input parameter is of type " + Object.prototype.toString.call(n) + ", string expected"));
29865
+ if (s2.hooks && (s2.hooks.options = s2, s2.hooks.block = e), s2.async) return (async () => {
29866
+ let o = s2.hooks ? await s2.hooks.preprocess(n) : n, u = await (s2.hooks ? await s2.hooks.provideLexer() : e ? x.lex : x.lexInline)(o, s2), c2 = s2.hooks ? await s2.hooks.processAllTokens(u) : u;
29867
+ s2.walkTokens && await Promise.all(this.walkTokens(c2, s2.walkTokens));
29868
+ let h = await (s2.hooks ? await s2.hooks.provideParser() : e ? b.parse : b.parseInline)(c2, s2);
29869
+ return s2.hooks ? await s2.hooks.postprocess(h) : h;
29870
+ })().catch(a);
29852
29871
  try {
29853
29872
  s2.hooks && (n = s2.hooks.preprocess(n));
29854
- let p = a(n, s2);
29873
+ let p = (s2.hooks ? s2.hooks.provideLexer() : e ? x.lex : x.lexInline)(n, s2);
29855
29874
  s2.hooks && (p = s2.hooks.processAllTokens(p)), s2.walkTokens && this.walkTokens(p, s2.walkTokens);
29856
- let c2 = u(p, s2);
29875
+ let c2 = (s2.hooks ? s2.hooks.provideParser() : e ? b.parse : b.parseInline)(p, s2);
29857
29876
  return s2.hooks && (c2 = s2.hooks.postprocess(c2)), c2;
29858
- } catch (p) {
29859
- return o(p);
29877
+ } catch (o) {
29878
+ return a(o);
29860
29879
  }
29861
29880
  };
29862
29881
  }
@@ -29873,38 +29892,38 @@ Please report this to https://github.com/markedjs/marked.`, e) {
29873
29892
  }
29874
29893
  };
29875
29894
  var _ = new B();
29876
- function d$1(l3, e) {
29895
+ function k$1(l3, e) {
29877
29896
  return _.parse(l3, e);
29878
29897
  }
29879
- d$1.options = d$1.setOptions = function(l3) {
29880
- return _.setOptions(l3), d$1.defaults = _.defaults, G(d$1.defaults), d$1;
29898
+ k$1.options = k$1.setOptions = function(l3) {
29899
+ return _.setOptions(l3), k$1.defaults = _.defaults, G(k$1.defaults), k$1;
29881
29900
  };
29882
- d$1.getDefaults = L;
29883
- d$1.defaults = O;
29884
- d$1.use = function(...l3) {
29885
- return _.use(...l3), d$1.defaults = _.defaults, G(d$1.defaults), d$1;
29901
+ k$1.getDefaults = L;
29902
+ k$1.defaults = T;
29903
+ k$1.use = function(...l3) {
29904
+ return _.use(...l3), k$1.defaults = _.defaults, G(k$1.defaults), k$1;
29886
29905
  };
29887
- d$1.walkTokens = function(l3, e) {
29906
+ k$1.walkTokens = function(l3, e) {
29888
29907
  return _.walkTokens(l3, e);
29889
29908
  };
29890
- d$1.parseInline = _.parseInline;
29891
- d$1.Parser = R;
29892
- d$1.parser = R.parse;
29893
- d$1.Renderer = P;
29894
- d$1.TextRenderer = $;
29895
- d$1.Lexer = b;
29896
- d$1.lexer = b.lex;
29897
- d$1.Tokenizer = y;
29898
- d$1.Hooks = S;
29899
- d$1.parse = d$1;
29900
- d$1.options;
29901
- d$1.setOptions;
29902
- d$1.use;
29903
- d$1.walkTokens;
29904
- d$1.parseInline;
29905
- R.parse;
29906
- b.lex;
29907
- d$1.use({
29909
+ k$1.parseInline = _.parseInline;
29910
+ k$1.Parser = b;
29911
+ k$1.parser = b.parse;
29912
+ k$1.Renderer = P;
29913
+ k$1.TextRenderer = $;
29914
+ k$1.Lexer = x;
29915
+ k$1.lexer = x.lex;
29916
+ k$1.Tokenizer = y;
29917
+ k$1.Hooks = S;
29918
+ k$1.parse = k$1;
29919
+ k$1.options;
29920
+ k$1.setOptions;
29921
+ k$1.use;
29922
+ k$1.walkTokens;
29923
+ k$1.parseInline;
29924
+ b.parse;
29925
+ x.lex;
29926
+ k$1.use({
29908
29927
  breaks: false,
29909
29928
  // Use proper paragraphs, not <br> tags
29910
29929
  gfm: true
@@ -29915,7 +29934,7 @@ function createDocFromMarkdown(markdown, editor, options = {}) {
29915
29934
  return createDocFromHTML(html, editor, options);
29916
29935
  }
29917
29936
  function convertMarkdownToHTML(markdown) {
29918
- let html = d$1.parse(markdown, { async: false });
29937
+ let html = k$1.parse(markdown, { async: false });
29919
29938
  return html.replace(/<\/p>\n<ul>/g, "</p>\n<p>&nbsp;</p>\n<ul>").replace(/<\/p>\n<ol>/g, "</p>\n<p>&nbsp;</p>\n<ol>").replace(/<\/ul>\n<h/g, "</ul>\n<p>&nbsp;</p>\n<h").replace(/<\/ol>\n<h/g, "</ol>\n<p>&nbsp;</p>\n<h");
29920
29939
  }
29921
29940
  function processContent({ content, type: type2, editor }) {
@@ -30034,8 +30053,8 @@ const translateImageNode = (params2) => {
30034
30053
  const leftMargin = tableCell.attrs.cellMargins?.left || 8;
30035
30054
  const rightMargin = tableCell.attrs.cellMargins?.right || 8;
30036
30055
  const maxWidthEmu = pixelsToEmu(colwidthSum - (leftMargin + rightMargin));
30037
- const { width: w2, height: h2 } = resizeKeepAspectRatio(size2.w, size2.h, maxWidthEmu);
30038
- if (w2 && h2) size2 = { w: w2, h: h2 };
30056
+ const { width: w2, height: h } = resizeKeepAspectRatio(size2.w, size2.h, maxWidthEmu);
30057
+ if (w2 && h) size2 = { w: w2, h };
30039
30058
  }
30040
30059
  if (imageId) {
30041
30060
  const docx = params2.converter?.convertedXml || {};
@@ -35349,7 +35368,7 @@ const _SuperConverter = class _SuperConverter2 {
35349
35368
  static getStoredSuperdocVersion(docx) {
35350
35369
  return _SuperConverter2.getStoredCustomProperty(docx, "SuperdocVersion");
35351
35370
  }
35352
- static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "0.31.0-next.7") {
35371
+ static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "0.31.0-next.9") {
35353
35372
  return _SuperConverter2.setStoredCustomProperty(docx, "SuperdocVersion", version2, false);
35354
35373
  }
35355
35374
  /**
@@ -35743,7 +35762,7 @@ prepareCommentsXmlFilesForExport_fn = function({ defs, exportType, commentsWithP
35743
35762
  };
35744
35763
  exportProcessHeadersFooters_fn = function({ isFinalDoc = false }) {
35745
35764
  const relsData = this.convertedXml["word/_rels/document.xml.rels"];
35746
- const relationships = relsData.elements.find((x) => x.name === "Relationships");
35765
+ const relationships = relsData.elements.find((x2) => x2.name === "Relationships");
35747
35766
  const newDocRels = [];
35748
35767
  Object.entries(this.headers).forEach(([id, header], index2) => {
35749
35768
  const fileName = relationships.elements.find((el) => el.attributes.Id === id)?.attributes.Target || `header${index2 + 1}.xml`;
@@ -35784,7 +35803,7 @@ exportProcessHeadersFooters_fn = function({ isFinalDoc = false }) {
35784
35803
  }
35785
35804
  this.convertedXml[`word/${fileName}`].elements[0].elements = bodyContent;
35786
35805
  if (params2.relationships.length) {
35787
- const relationships2 = this.convertedXml[`word/_rels/${fileName}.rels`]?.elements?.find((x) => x.name === "Relationships")?.elements || [];
35806
+ const relationships2 = this.convertedXml[`word/_rels/${fileName}.rels`]?.elements?.find((x2) => x2.name === "Relationships")?.elements || [];
35788
35807
  this.convertedXml[`word/_rels/${fileName}.rels`] = {
35789
35808
  declaration: this.initialJSON?.declaration,
35790
35809
  elements: [
@@ -35838,7 +35857,7 @@ exportProcessHeadersFooters_fn = function({ isFinalDoc = false }) {
35838
35857
  }
35839
35858
  this.convertedXml[`word/${fileName}`].elements[0].elements = bodyContent;
35840
35859
  if (params2.relationships.length) {
35841
- const relationships2 = this.convertedXml[`word/_rels/${fileName}.rels`]?.elements?.find((x) => x.name === "Relationships")?.elements || [];
35860
+ const relationships2 = this.convertedXml[`word/_rels/${fileName}.rels`]?.elements?.find((x2) => x2.name === "Relationships")?.elements || [];
35842
35861
  this.convertedXml[`word/_rels/${fileName}.rels`] = {
35843
35862
  declaration: this.initialJSON?.declaration,
35844
35863
  elements: [
@@ -35857,7 +35876,7 @@ exportProcessHeadersFooters_fn = function({ isFinalDoc = false }) {
35857
35876
  };
35858
35877
  exportProcessNewRelationships_fn = function(rels = []) {
35859
35878
  const relsData = this.convertedXml["word/_rels/document.xml.rels"];
35860
- const relationships = relsData.elements.find((x) => x.name === "Relationships");
35879
+ const relationships = relsData.elements.find((x2) => x2.name === "Relationships");
35861
35880
  relationships.elements = mergeRelationshipElements(relationships.elements, rels);
35862
35881
  };
35863
35882
  exportProcessMediaFiles_fn = async function(media = {}) {
@@ -35941,7 +35960,7 @@ function requireJszip_min() {
35941
35960
  !(function(e) {
35942
35961
  module2.exports = e();
35943
35962
  })(function() {
35944
- return (function s2(a, o, h2) {
35963
+ return (function s2(a, o, h) {
35945
35964
  function u(r2, e2) {
35946
35965
  if (!o[r2]) {
35947
35966
  if (!a[r2]) {
@@ -35955,23 +35974,23 @@ function requireJszip_min() {
35955
35974
  a[r2][0].call(i.exports, function(e3) {
35956
35975
  var t2 = a[r2][1][e3];
35957
35976
  return u(t2 || e3);
35958
- }, i, i.exports, s2, a, o, h2);
35977
+ }, i, i.exports, s2, a, o, h);
35959
35978
  }
35960
35979
  return o[r2].exports;
35961
35980
  }
35962
- for (var l3 = "function" == typeof commonjsRequire && commonjsRequire, e = 0; e < h2.length; e++) u(h2[e]);
35981
+ for (var l3 = "function" == typeof commonjsRequire && commonjsRequire, e = 0; e < h.length; e++) u(h[e]);
35963
35982
  return u;
35964
35983
  })({ 1: [function(e, t, r2) {
35965
35984
  var d2 = e("./utils"), c2 = e("./support"), p = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
35966
35985
  r2.encode = function(e2) {
35967
- for (var t2, r22, n, i, s2, a, o, h2 = [], u = 0, l3 = e2.length, f2 = l3, c22 = "string" !== d2.getTypeOf(e2); u < e2.length; ) f2 = l3 - u, n = c22 ? (t2 = e2[u++], r22 = u < l3 ? e2[u++] : 0, u < l3 ? e2[u++] : 0) : (t2 = e2.charCodeAt(u++), r22 = u < l3 ? e2.charCodeAt(u++) : 0, u < l3 ? e2.charCodeAt(u++) : 0), i = t2 >> 2, s2 = (3 & t2) << 4 | r22 >> 4, a = 1 < f2 ? (15 & r22) << 2 | n >> 6 : 64, o = 2 < f2 ? 63 & n : 64, h2.push(p.charAt(i) + p.charAt(s2) + p.charAt(a) + p.charAt(o));
35968
- return h2.join("");
35986
+ for (var t2, r22, n, i, s2, a, o, h = [], u = 0, l3 = e2.length, f2 = l3, c22 = "string" !== d2.getTypeOf(e2); u < e2.length; ) f2 = l3 - u, n = c22 ? (t2 = e2[u++], r22 = u < l3 ? e2[u++] : 0, u < l3 ? e2[u++] : 0) : (t2 = e2.charCodeAt(u++), r22 = u < l3 ? e2.charCodeAt(u++) : 0, u < l3 ? e2.charCodeAt(u++) : 0), i = t2 >> 2, s2 = (3 & t2) << 4 | r22 >> 4, a = 1 < f2 ? (15 & r22) << 2 | n >> 6 : 64, o = 2 < f2 ? 63 & n : 64, h.push(p.charAt(i) + p.charAt(s2) + p.charAt(a) + p.charAt(o));
35987
+ return h.join("");
35969
35988
  }, r2.decode = function(e2) {
35970
- var t2, r22, n, i, s2, a, o = 0, h2 = 0, u = "data:";
35989
+ var t2, r22, n, i, s2, a, o = 0, h = 0, u = "data:";
35971
35990
  if (e2.substr(0, u.length) === u) throw new Error("Invalid base64 input, it looks like a data url.");
35972
35991
  var l3, f2 = 3 * (e2 = e2.replace(/[^A-Za-z0-9+/=]/g, "")).length / 4;
35973
35992
  if (e2.charAt(e2.length - 1) === p.charAt(64) && f2--, e2.charAt(e2.length - 2) === p.charAt(64) && f2--, f2 % 1 != 0) throw new Error("Invalid base64 input, bad content length.");
35974
- for (l3 = c2.uint8array ? new Uint8Array(0 | f2) : new Array(0 | f2); o < e2.length; ) t2 = p.indexOf(e2.charAt(o++)) << 2 | (i = p.indexOf(e2.charAt(o++))) >> 4, r22 = (15 & i) << 4 | (s2 = p.indexOf(e2.charAt(o++))) >> 2, n = (3 & s2) << 6 | (a = p.indexOf(e2.charAt(o++))), l3[h2++] = t2, 64 !== s2 && (l3[h2++] = r22), 64 !== a && (l3[h2++] = n);
35993
+ for (l3 = c2.uint8array ? new Uint8Array(0 | f2) : new Array(0 | f2); o < e2.length; ) t2 = p.indexOf(e2.charAt(o++)) << 2 | (i = p.indexOf(e2.charAt(o++))) >> 4, r22 = (15 & i) << 4 | (s2 = p.indexOf(e2.charAt(o++))) >> 2, n = (3 & s2) << 6 | (a = p.indexOf(e2.charAt(o++))), l3[h++] = t2, 64 !== s2 && (l3[h++] = r22), 64 !== a && (l3[h++] = n);
35975
35994
  return l3;
35976
35995
  };
35977
35996
  }, { "./support": 30, "./utils": 32 }], 2: [function(e, t, r2) {
@@ -36026,25 +36045,25 @@ function requireJszip_min() {
36026
36045
  n = "undefined" != typeof Promise ? Promise : e("lie"), t.exports = { Promise: n };
36027
36046
  }, { lie: 37 }], 7: [function(e, t, r2) {
36028
36047
  var n = "undefined" != typeof Uint8Array && "undefined" != typeof Uint16Array && "undefined" != typeof Uint32Array, i = e("pako"), s2 = e("./utils"), a = e("./stream/GenericWorker"), o = n ? "uint8array" : "array";
36029
- function h2(e2, t2) {
36048
+ function h(e2, t2) {
36030
36049
  a.call(this, "FlateWorker/" + e2), this._pako = null, this._pakoAction = e2, this._pakoOptions = t2, this.meta = {};
36031
36050
  }
36032
- r2.magic = "\b\0", s2.inherits(h2, a), h2.prototype.processChunk = function(e2) {
36051
+ r2.magic = "\b\0", s2.inherits(h, a), h.prototype.processChunk = function(e2) {
36033
36052
  this.meta = e2.meta, null === this._pako && this._createPako(), this._pako.push(s2.transformTo(o, e2.data), false);
36034
- }, h2.prototype.flush = function() {
36053
+ }, h.prototype.flush = function() {
36035
36054
  a.prototype.flush.call(this), null === this._pako && this._createPako(), this._pako.push([], true);
36036
- }, h2.prototype.cleanUp = function() {
36055
+ }, h.prototype.cleanUp = function() {
36037
36056
  a.prototype.cleanUp.call(this), this._pako = null;
36038
- }, h2.prototype._createPako = function() {
36057
+ }, h.prototype._createPako = function() {
36039
36058
  this._pako = new i[this._pakoAction]({ raw: true, level: this._pakoOptions.level || -1 });
36040
36059
  var t2 = this;
36041
36060
  this._pako.onData = function(e2) {
36042
36061
  t2.push({ data: e2, meta: t2.meta });
36043
36062
  };
36044
36063
  }, r2.compressWorker = function(e2) {
36045
- return new h2("Deflate", e2);
36064
+ return new h("Deflate", e2);
36046
36065
  }, r2.uncompressWorker = function() {
36047
- return new h2("Inflate", {});
36066
+ return new h("Inflate", {});
36048
36067
  };
36049
36068
  }, { "./stream/GenericWorker": 28, "./utils": 32, pako: 38 }], 8: [function(e, t, r2) {
36050
36069
  function A2(e2, t2) {
@@ -36053,21 +36072,21 @@ function requireJszip_min() {
36053
36072
  return n2;
36054
36073
  }
36055
36074
  function n(e2, t2, r22, n2, i2, s22) {
36056
- var a, o, h2 = e2.file, u = e2.compression, l3 = s22 !== O2.utf8encode, f2 = I2.transformTo("string", s22(h2.name)), c2 = I2.transformTo("string", O2.utf8encode(h2.name)), d2 = h2.comment, p = I2.transformTo("string", s22(d2)), m2 = I2.transformTo("string", O2.utf8encode(d2)), _2 = c2.length !== h2.name.length, g = m2.length !== d2.length, b2 = "", v2 = "", y2 = "", w2 = h2.dir, k2 = h2.date, x = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
36057
- t2 && !r22 || (x.crc32 = e2.crc32, x.compressedSize = e2.compressedSize, x.uncompressedSize = e2.uncompressedSize);
36075
+ var a, o, h = e2.file, u = e2.compression, l3 = s22 !== O.utf8encode, f2 = I2.transformTo("string", s22(h.name)), c2 = I2.transformTo("string", O.utf8encode(h.name)), d2 = h.comment, p = I2.transformTo("string", s22(d2)), m2 = I2.transformTo("string", O.utf8encode(d2)), _2 = c2.length !== h.name.length, g = m2.length !== d2.length, b2 = "", v2 = "", y2 = "", w2 = h.dir, k2 = h.date, x2 = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
36076
+ t2 && !r22 || (x2.crc32 = e2.crc32, x2.compressedSize = e2.compressedSize, x2.uncompressedSize = e2.uncompressedSize);
36058
36077
  var S2 = 0;
36059
36078
  t2 && (S2 |= 8), l3 || !_2 && !g || (S2 |= 2048);
36060
36079
  var z2 = 0, C2 = 0;
36061
36080
  w2 && (z2 |= 16), "UNIX" === i2 ? (C2 = 798, z2 |= (function(e3, t3) {
36062
36081
  var r3 = e3;
36063
36082
  return e3 || (r3 = t3 ? 16893 : 33204), (65535 & r3) << 16;
36064
- })(h2.unixPermissions, w2)) : (C2 = 20, z2 |= (function(e3) {
36083
+ })(h.unixPermissions, w2)) : (C2 = 20, z2 |= (function(e3) {
36065
36084
  return 63 & (e3 || 0);
36066
- })(h2.dosPermissions)), a = k2.getUTCHours(), a <<= 6, a |= k2.getUTCMinutes(), a <<= 5, a |= k2.getUTCSeconds() / 2, o = k2.getUTCFullYear() - 1980, o <<= 4, o |= k2.getUTCMonth() + 1, o <<= 5, o |= k2.getUTCDate(), _2 && (v2 = A2(1, 1) + A2(B2(f2), 4) + c2, b2 += "up" + A2(v2.length, 2) + v2), g && (y2 = A2(1, 1) + A2(B2(p), 4) + m2, b2 += "uc" + A2(y2.length, 2) + y2);
36085
+ })(h.dosPermissions)), a = k2.getUTCHours(), a <<= 6, a |= k2.getUTCMinutes(), a <<= 5, a |= k2.getUTCSeconds() / 2, o = k2.getUTCFullYear() - 1980, o <<= 4, o |= k2.getUTCMonth() + 1, o <<= 5, o |= k2.getUTCDate(), _2 && (v2 = A2(1, 1) + A2(B2(f2), 4) + c2, b2 += "up" + A2(v2.length, 2) + v2), g && (y2 = A2(1, 1) + A2(B2(p), 4) + m2, b2 += "uc" + A2(y2.length, 2) + y2);
36067
36086
  var E2 = "";
36068
- return E2 += "\n\0", E2 += A2(S2, 2), E2 += u.magic, E2 += A2(a, 2), E2 += A2(o, 2), E2 += A2(x.crc32, 4), E2 += A2(x.compressedSize, 4), E2 += A2(x.uncompressedSize, 4), E2 += A2(f2.length, 2), E2 += A2(b2.length, 2), { fileRecord: R2.LOCAL_FILE_HEADER + E2 + f2 + b2, dirRecord: R2.CENTRAL_FILE_HEADER + A2(C2, 2) + E2 + A2(p.length, 2) + "\0\0\0\0" + A2(z2, 4) + A2(n2, 4) + f2 + b2 + p };
36087
+ return E2 += "\n\0", E2 += A2(S2, 2), E2 += u.magic, E2 += A2(a, 2), E2 += A2(o, 2), E2 += A2(x2.crc32, 4), E2 += A2(x2.compressedSize, 4), E2 += A2(x2.uncompressedSize, 4), E2 += A2(f2.length, 2), E2 += A2(b2.length, 2), { fileRecord: R.LOCAL_FILE_HEADER + E2 + f2 + b2, dirRecord: R.CENTRAL_FILE_HEADER + A2(C2, 2) + E2 + A2(p.length, 2) + "\0\0\0\0" + A2(z2, 4) + A2(n2, 4) + f2 + b2 + p };
36069
36088
  }
36070
- var I2 = e("../utils"), i = e("../stream/GenericWorker"), O2 = e("../utf8"), B2 = e("../crc32"), R2 = e("../signature");
36089
+ var I2 = e("../utils"), i = e("../stream/GenericWorker"), O = e("../utf8"), B2 = e("../crc32"), R = e("../signature");
36071
36090
  function s2(e2, t2, r22, n2) {
36072
36091
  i.call(this, "ZipFileWorker"), this.bytesWritten = 0, this.zipComment = t2, this.zipPlatform = r22, this.encodeFileName = n2, this.streamFiles = e2, this.accumulate = false, this.contentBuffer = [], this.dirRecords = [], this.currentSourceOffset = 0, this.entriesCount = 0, this.currentFile = null, this._sources = [];
36073
36092
  }
@@ -36085,7 +36104,7 @@ function requireJszip_min() {
36085
36104
  this.accumulate = false;
36086
36105
  var t2 = this.streamFiles && !e2.file.dir, r22 = n(e2, t2, true, this.currentSourceOffset, this.zipPlatform, this.encodeFileName);
36087
36106
  if (this.dirRecords.push(r22.dirRecord), t2) this.push({ data: (function(e3) {
36088
- return R2.DATA_DESCRIPTOR + A2(e3.crc32, 4) + A2(e3.compressedSize, 4) + A2(e3.uncompressedSize, 4);
36107
+ return R.DATA_DESCRIPTOR + A2(e3.crc32, 4) + A2(e3.compressedSize, 4) + A2(e3.uncompressedSize, 4);
36089
36108
  })(e2), meta: { percent: 100 } });
36090
36109
  else for (this.push({ data: r22.fileRecord, meta: { percent: 0 } }); this.contentBuffer.length; ) this.push(this.contentBuffer.shift());
36091
36110
  this.currentFile = null;
@@ -36093,7 +36112,7 @@ function requireJszip_min() {
36093
36112
  for (var e2 = this.bytesWritten, t2 = 0; t2 < this.dirRecords.length; t2++) this.push({ data: this.dirRecords[t2], meta: { percent: 100 } });
36094
36113
  var r22 = this.bytesWritten - e2, n2 = (function(e3, t3, r3, n3, i2) {
36095
36114
  var s22 = I2.transformTo("string", i2(n3));
36096
- return R2.CENTRAL_DIRECTORY_END + "\0\0\0\0" + A2(e3, 2) + A2(e3, 2) + A2(t3, 4) + A2(r3, 4) + A2(s22.length, 2) + s22;
36115
+ return R.CENTRAL_DIRECTORY_END + "\0\0\0\0" + A2(e3, 2) + A2(e3, 2) + A2(t3, 4) + A2(r3, 4) + A2(s22.length, 2) + s22;
36097
36116
  })(this.dirRecords.length, r22, e2, this.zipComment, this.encodeFileName);
36098
36117
  this.push({ data: n2, meta: { percent: 100 } });
36099
36118
  }, s2.prototype.prepareNextSource = function() {
@@ -36125,17 +36144,17 @@ function requireJszip_min() {
36125
36144
  }, { "../crc32": 4, "../signature": 23, "../stream/GenericWorker": 28, "../utf8": 31, "../utils": 32 }], 9: [function(e, t, r2) {
36126
36145
  var u = e("../compressions"), n = e("./ZipFileWorker");
36127
36146
  r2.generateWorker = function(e2, a, t2) {
36128
- var o = new n(a.streamFiles, t2, a.platform, a.encodeFileName), h2 = 0;
36147
+ var o = new n(a.streamFiles, t2, a.platform, a.encodeFileName), h = 0;
36129
36148
  try {
36130
36149
  e2.forEach(function(e3, t3) {
36131
- h2++;
36150
+ h++;
36132
36151
  var r22 = (function(e4, t4) {
36133
36152
  var r3 = e4 || t4, n3 = u[r3];
36134
36153
  if (!n3) throw new Error(r3 + " is not a valid compression method !");
36135
36154
  return n3;
36136
36155
  })(t3.options.compression, a.compression), n2 = t3.options.compressionOptions || a.compressionOptions || {}, i = t3.dir, s2 = t3.date;
36137
36156
  t3._compressWorker(r22, n2).withStreamInfo("file", { name: e3, dir: i, date: s2, comment: t3.comment || "", unixPermissions: t3.unixPermissions, dosPermissions: t3.dosPermissions }).pipe(o);
36138
- }), o.entriesCount = h2;
36157
+ }), o.entriesCount = h;
36139
36158
  } catch (e3) {
36140
36159
  o.error(e3);
36141
36160
  }
@@ -36167,7 +36186,7 @@ function requireJszip_min() {
36167
36186
  });
36168
36187
  }
36169
36188
  t.exports = function(e2, o) {
36170
- var h2 = this;
36189
+ var h = this;
36171
36190
  return o = u.extend(o || {}, { base64: false, checkCRC32: false, optimizedBinaryString: false, createFolders: false, decodeFileName: n.utf8decode }), l3.isNode && l3.isStream(e2) ? i.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")) : u.prepareContent("the loaded zip file", e2, true, o.optimizedBinaryString, o.base64).then(function(e3) {
36172
36191
  var t2 = new s2(o);
36173
36192
  return t2.load(e3), t2;
@@ -36178,9 +36197,9 @@ function requireJszip_min() {
36178
36197
  }).then(function(e3) {
36179
36198
  for (var t2 = e3.shift(), r22 = t2.files, n2 = 0; n2 < r22.length; n2++) {
36180
36199
  var i2 = r22[n2], s22 = i2.fileNameStr, a2 = u.resolve(i2.fileNameStr);
36181
- h2.file(a2, i2.decompressed, { binary: true, optimizedBinaryString: true, date: i2.date, dir: i2.dir, comment: i2.fileCommentStr.length ? i2.fileCommentStr : null, unixPermissions: i2.unixPermissions, dosPermissions: i2.dosPermissions, createFolders: o.createFolders }), i2.dir || (h2.file(a2).unsafeOriginalName = s22);
36200
+ h.file(a2, i2.decompressed, { binary: true, optimizedBinaryString: true, date: i2.date, dir: i2.dir, comment: i2.fileCommentStr.length ? i2.fileCommentStr : null, unixPermissions: i2.unixPermissions, dosPermissions: i2.dosPermissions, createFolders: o.createFolders }), i2.dir || (h.file(a2).unsafeOriginalName = s22);
36182
36201
  }
36183
- return t2.zipComment.length && (h2.comment = t2.zipComment), h2;
36202
+ return t2.zipComment.length && (h.comment = t2.zipComment), h;
36184
36203
  });
36185
36204
  };
36186
36205
  }, { "./external": 6, "./nodejsUtils": 14, "./stream/Crc32Probe": 25, "./utf8": 31, "./utils": 32, "./zipEntries": 33 }], 12: [function(e, t, r2) {
@@ -36240,8 +36259,8 @@ function requireJszip_min() {
36240
36259
  r22 && void 0 !== r22.binary || (s22.binary = !a2), (t2 instanceof c2 && 0 === t2.uncompressedSize || s22.dir || !t2 || 0 === t2.length) && (s22.base64 = false, s22.binary = true, t2 = "", s22.compression = "STORE", i2 = "string");
36241
36260
  var o2 = null;
36242
36261
  o2 = t2 instanceof c2 || t2 instanceof l3 ? t2 : p.isNode && p.isStream(t2) ? new m2(e2, t2) : u.prepareContent(e2, t2, s22.binary, s22.optimizedBinaryString, s22.base64);
36243
- var h22 = new d2(e2, o2, s22);
36244
- this.files[e2] = h22;
36262
+ var h2 = new d2(e2, o2, s22);
36263
+ this.files[e2] = h2;
36245
36264
  }
36246
36265
  var i = e("./utf8"), u = e("./utils"), l3 = e("./stream/GenericWorker"), a = e("./stream/StreamHelper"), f2 = e("./defaults"), c2 = e("./compressedObject"), d2 = e("./zipObject"), o = e("./generate"), p = e("./nodejsUtils"), m2 = e("./nodejs/NodejsStreamInputAdapter"), _2 = function(e2) {
36247
36266
  "/" === e2.slice(-1) && (e2 = e2.substring(0, e2.length - 1));
@@ -36252,7 +36271,7 @@ function requireJszip_min() {
36252
36271
  }, b2 = function(e2, t2) {
36253
36272
  return t2 = void 0 !== t2 ? t2 : f2.createFolders, e2 = g(e2), this.files[e2] || s2.call(this, e2, null, { dir: true, createFolders: t2 }), this.files[e2];
36254
36273
  };
36255
- function h2(e2) {
36274
+ function h(e2) {
36256
36275
  return "[object RegExp]" === Object.prototype.toString.call(e2);
36257
36276
  }
36258
36277
  var n = { load: function() {
@@ -36267,7 +36286,7 @@ function requireJszip_min() {
36267
36286
  }), n2;
36268
36287
  }, file: function(e2, t2, r22) {
36269
36288
  if (1 !== arguments.length) return e2 = this.root + e2, s2.call(this, e2, t2, r22), this;
36270
- if (h2(e2)) {
36289
+ if (h(e2)) {
36271
36290
  var n2 = e2;
36272
36291
  return this.filter(function(e3, t3) {
36273
36292
  return !t3.dir && n2.test(e3);
@@ -36277,7 +36296,7 @@ function requireJszip_min() {
36277
36296
  return i2 && !i2.dir ? i2 : null;
36278
36297
  }, folder: function(r22) {
36279
36298
  if (!r22) return this;
36280
- if (h2(r22)) return this.filter(function(e3, t3) {
36299
+ if (h(r22)) return this.filter(function(e3, t3) {
36281
36300
  return t3.dir && r22.test(e3);
36282
36301
  });
36283
36302
  var e2 = this.root + r22, t2 = b2.call(this, e2), n2 = this.clone();
@@ -36394,10 +36413,10 @@ function requireJszip_min() {
36394
36413
  return this.index += e2, t2;
36395
36414
  }, t.exports = i;
36396
36415
  }, { "../utils": 32, "./ArrayReader": 17 }], 22: [function(e, t, r2) {
36397
- var n = e("../utils"), i = e("../support"), s2 = e("./ArrayReader"), a = e("./StringReader"), o = e("./NodeBufferReader"), h2 = e("./Uint8ArrayReader");
36416
+ var n = e("../utils"), i = e("../support"), s2 = e("./ArrayReader"), a = e("./StringReader"), o = e("./NodeBufferReader"), h = e("./Uint8ArrayReader");
36398
36417
  t.exports = function(e2) {
36399
36418
  var t2 = n.getTypeOf(e2);
36400
- return n.checkSupport(t2), "string" !== t2 || i.uint8array ? "nodebuffer" === t2 ? new o(e2) : i.uint8array ? new h2(n.transformTo("uint8array", e2)) : new s2(n.transformTo("array", e2)) : new a(e2);
36419
+ return n.checkSupport(t2), "string" !== t2 || i.uint8array ? "nodebuffer" === t2 ? new o(e2) : i.uint8array ? new h(n.transformTo("uint8array", e2)) : new s2(n.transformTo("array", e2)) : new a(e2);
36401
36420
  };
36402
36421
  }, { "../support": 30, "../utils": 32, "./ArrayReader": 17, "./NodeBufferReader": 19, "./StringReader": 20, "./Uint8ArrayReader": 21 }], 23: [function(e, t, r2) {
36403
36422
  r2.LOCAL_FILE_HEADER = "PK", r2.CENTRAL_FILE_HEADER = "PK", r2.CENTRAL_DIRECTORY_END = "PK", r2.ZIP64_CENTRAL_DIRECTORY_LOCATOR = "PK\x07", r2.ZIP64_CENTRAL_DIRECTORY_END = "PK", r2.DATA_DESCRIPTOR = "PK\x07\b";
@@ -36520,7 +36539,7 @@ function requireJszip_min() {
36520
36539
  return this.previous ? this.previous + " -> " + e2 : e2;
36521
36540
  } }, t.exports = n;
36522
36541
  }, {}], 29: [function(e, t, r2) {
36523
- var h2 = e("../utils"), i = e("./ConvertWorker"), s2 = e("./GenericWorker"), u = e("../base64"), n = e("../support"), a = e("../external"), o = null;
36542
+ var h = e("../utils"), i = e("./ConvertWorker"), s2 = e("./GenericWorker"), u = e("../base64"), n = e("../support"), a = e("../external"), o = null;
36524
36543
  if (n.nodestream) try {
36525
36544
  o = e("../nodejs/NodejsStreamOutputAdapter");
36526
36545
  } catch (e2) {
@@ -36537,11 +36556,11 @@ function requireJszip_min() {
36537
36556
  var e3 = (function(e4, t3, r3) {
36538
36557
  switch (e4) {
36539
36558
  case "blob":
36540
- return h2.newBlob(h2.transformTo("arraybuffer", t3), r3);
36559
+ return h.newBlob(h.transformTo("arraybuffer", t3), r3);
36541
36560
  case "base64":
36542
36561
  return u.encode(t3);
36543
36562
  default:
36544
- return h2.transformTo(e4, t3);
36563
+ return h.transformTo(e4, t3);
36545
36564
  }
36546
36565
  })(s22, (function(e4, t3) {
36547
36566
  var r3, n3 = 0, i3 = null, s3 = 0;
@@ -36579,7 +36598,7 @@ function requireJszip_min() {
36579
36598
  n2 = "string";
36580
36599
  }
36581
36600
  try {
36582
- this._internalType = n2, this._outputType = t2, this._mimeType = r22, h2.checkSupport(n2), this._worker = e2.pipe(new i(n2)), e2.lock();
36601
+ this._internalType = n2, this._outputType = t2, this._mimeType = r22, h.checkSupport(n2), this._worker = e2.pipe(new i(n2)), e2.lock();
36583
36602
  } catch (e3) {
36584
36603
  this._worker = new s2("error"), this._worker.error(e3);
36585
36604
  }
@@ -36591,14 +36610,14 @@ function requireJszip_min() {
36591
36610
  return "data" === e2 ? this._worker.on(e2, function(e3) {
36592
36611
  t2.call(r22, e3.data, e3.meta);
36593
36612
  }) : this._worker.on(e2, function() {
36594
- h2.delay(t2, arguments, r22);
36613
+ h.delay(t2, arguments, r22);
36595
36614
  }), this;
36596
36615
  }, resume: function() {
36597
- return h2.delay(this._worker.resume, [], this._worker), this;
36616
+ return h.delay(this._worker.resume, [], this._worker), this;
36598
36617
  }, pause: function() {
36599
36618
  return this._worker.pause(), this;
36600
36619
  }, toNodejsStream: function(e2) {
36601
- if (h2.checkSupport("nodestream"), "nodebuffer" !== this._outputType) throw new Error(this._outputType + " is not supported by this method");
36620
+ if (h.checkSupport("nodestream"), "nodebuffer" !== this._outputType) throw new Error(this._outputType + " is not supported by this method");
36602
36621
  return new o(this, { objectMode: "nodebuffer" !== this._outputType }, e2);
36603
36622
  } }, t.exports = f2;
36604
36623
  }, { "../base64": 1, "../external": 6, "../nodejs/NodejsStreamOutputAdapter": 13, "../support": 30, "../utils": 32, "./ConvertWorker": 24, "./GenericWorker": 28 }], 30: [function(e, t, r2) {
@@ -36622,7 +36641,7 @@ function requireJszip_min() {
36622
36641
  r2.nodestream = false;
36623
36642
  }
36624
36643
  }, { "readable-stream": 16 }], 31: [function(e, t, s2) {
36625
- for (var o = e("./utils"), h2 = e("./support"), r2 = e("./nodejsUtils"), n = e("./stream/GenericWorker"), u = new Array(256), i = 0; i < 256; i++) u[i] = 252 <= i ? 6 : 248 <= i ? 5 : 240 <= i ? 4 : 224 <= i ? 3 : 192 <= i ? 2 : 1;
36644
+ for (var o = e("./utils"), h = e("./support"), r2 = e("./nodejsUtils"), n = e("./stream/GenericWorker"), u = new Array(256), i = 0; i < 256; i++) u[i] = 252 <= i ? 6 : 248 <= i ? 5 : 240 <= i ? 4 : 224 <= i ? 3 : 192 <= i ? 2 : 1;
36626
36645
  u[254] = u[254] = 1;
36627
36646
  function a() {
36628
36647
  n.call(this, "utf-8 decode"), this.leftOver = null;
@@ -36631,14 +36650,14 @@ function requireJszip_min() {
36631
36650
  n.call(this, "utf-8 encode");
36632
36651
  }
36633
36652
  s2.utf8encode = function(e2) {
36634
- return h2.nodebuffer ? r2.newBufferFrom(e2, "utf-8") : (function(e3) {
36653
+ return h.nodebuffer ? r2.newBufferFrom(e2, "utf-8") : (function(e3) {
36635
36654
  var t2, r22, n2, i2, s22, a2 = e3.length, o2 = 0;
36636
36655
  for (i2 = 0; i2 < a2; i2++) 55296 == (64512 & (r22 = e3.charCodeAt(i2))) && i2 + 1 < a2 && 56320 == (64512 & (n2 = e3.charCodeAt(i2 + 1))) && (r22 = 65536 + (r22 - 55296 << 10) + (n2 - 56320), i2++), o2 += r22 < 128 ? 1 : r22 < 2048 ? 2 : r22 < 65536 ? 3 : 4;
36637
- for (t2 = h2.uint8array ? new Uint8Array(o2) : new Array(o2), i2 = s22 = 0; s22 < o2; i2++) 55296 == (64512 & (r22 = e3.charCodeAt(i2))) && i2 + 1 < a2 && 56320 == (64512 & (n2 = e3.charCodeAt(i2 + 1))) && (r22 = 65536 + (r22 - 55296 << 10) + (n2 - 56320), i2++), r22 < 128 ? t2[s22++] = r22 : (r22 < 2048 ? t2[s22++] = 192 | r22 >>> 6 : (r22 < 65536 ? t2[s22++] = 224 | r22 >>> 12 : (t2[s22++] = 240 | r22 >>> 18, t2[s22++] = 128 | r22 >>> 12 & 63), t2[s22++] = 128 | r22 >>> 6 & 63), t2[s22++] = 128 | 63 & r22);
36656
+ for (t2 = h.uint8array ? new Uint8Array(o2) : new Array(o2), i2 = s22 = 0; s22 < o2; i2++) 55296 == (64512 & (r22 = e3.charCodeAt(i2))) && i2 + 1 < a2 && 56320 == (64512 & (n2 = e3.charCodeAt(i2 + 1))) && (r22 = 65536 + (r22 - 55296 << 10) + (n2 - 56320), i2++), r22 < 128 ? t2[s22++] = r22 : (r22 < 2048 ? t2[s22++] = 192 | r22 >>> 6 : (r22 < 65536 ? t2[s22++] = 224 | r22 >>> 12 : (t2[s22++] = 240 | r22 >>> 18, t2[s22++] = 128 | r22 >>> 12 & 63), t2[s22++] = 128 | r22 >>> 6 & 63), t2[s22++] = 128 | 63 & r22);
36638
36657
  return t2;
36639
36658
  })(e2);
36640
36659
  }, s2.utf8decode = function(e2) {
36641
- return h2.nodebuffer ? o.transformTo("nodebuffer", e2).toString("utf-8") : (function(e3) {
36660
+ return h.nodebuffer ? o.transformTo("nodebuffer", e2).toString("utf-8") : (function(e3) {
36642
36661
  var t2, r22, n2, i2, s22 = e3.length, a2 = new Array(2 * s22);
36643
36662
  for (t2 = r22 = 0; t2 < s22; ) if ((n2 = e3[t2++]) < 128) a2[r22++] = n2;
36644
36663
  else if (4 < (i2 = u[n2])) a2[r22++] = 65533, t2 += i2 - 1;
@@ -36647,11 +36666,11 @@ function requireJszip_min() {
36647
36666
  1 < i2 ? a2[r22++] = 65533 : n2 < 65536 ? a2[r22++] = n2 : (n2 -= 65536, a2[r22++] = 55296 | n2 >> 10 & 1023, a2[r22++] = 56320 | 1023 & n2);
36648
36667
  }
36649
36668
  return a2.length !== r22 && (a2.subarray ? a2 = a2.subarray(0, r22) : a2.length = r22), o.applyFromCharCode(a2);
36650
- })(e2 = o.transformTo(h2.uint8array ? "uint8array" : "array", e2));
36669
+ })(e2 = o.transformTo(h.uint8array ? "uint8array" : "array", e2));
36651
36670
  }, o.inherits(a, n), a.prototype.processChunk = function(e2) {
36652
- var t2 = o.transformTo(h2.uint8array ? "uint8array" : "array", e2.data);
36671
+ var t2 = o.transformTo(h.uint8array ? "uint8array" : "array", e2.data);
36653
36672
  if (this.leftOver && this.leftOver.length) {
36654
- if (h2.uint8array) {
36673
+ if (h.uint8array) {
36655
36674
  var r22 = t2;
36656
36675
  (t2 = new Uint8Array(r22.length + this.leftOver.length)).set(this.leftOver, 0), t2.set(r22, this.leftOver.length);
36657
36676
  } else t2 = this.leftOver.concat(t2);
@@ -36662,14 +36681,14 @@ function requireJszip_min() {
36662
36681
  for ((t3 = t3 || e3.length) > e3.length && (t3 = e3.length), r3 = t3 - 1; 0 <= r3 && 128 == (192 & e3[r3]); ) r3--;
36663
36682
  return r3 < 0 ? t3 : 0 === r3 ? t3 : r3 + u[e3[r3]] > t3 ? r3 : t3;
36664
36683
  })(t2), i2 = t2;
36665
- n2 !== t2.length && (h2.uint8array ? (i2 = t2.subarray(0, n2), this.leftOver = t2.subarray(n2, t2.length)) : (i2 = t2.slice(0, n2), this.leftOver = t2.slice(n2, t2.length))), this.push({ data: s2.utf8decode(i2), meta: e2.meta });
36684
+ n2 !== t2.length && (h.uint8array ? (i2 = t2.subarray(0, n2), this.leftOver = t2.subarray(n2, t2.length)) : (i2 = t2.slice(0, n2), this.leftOver = t2.slice(n2, t2.length))), this.push({ data: s2.utf8decode(i2), meta: e2.meta });
36666
36685
  }, a.prototype.flush = function() {
36667
36686
  this.leftOver && this.leftOver.length && (this.push({ data: s2.utf8decode(this.leftOver), meta: {} }), this.leftOver = null);
36668
36687
  }, s2.Utf8DecodeWorker = a, o.inherits(l3, n), l3.prototype.processChunk = function(e2) {
36669
36688
  this.push({ data: s2.utf8encode(e2.data), meta: e2.meta });
36670
36689
  }, s2.Utf8EncodeWorker = l3;
36671
36690
  }, { "./nodejsUtils": 14, "./stream/GenericWorker": 28, "./support": 30, "./utils": 32 }], 32: [function(e, t, a) {
36672
- var o = e("./support"), h2 = e("./base64"), r2 = e("./nodejsUtils"), u = e("./external");
36691
+ var o = e("./support"), h = e("./base64"), r2 = e("./nodejsUtils"), u = e("./external");
36673
36692
  function n(e2) {
36674
36693
  return e2;
36675
36694
  }
@@ -36803,17 +36822,17 @@ function requireJszip_min() {
36803
36822
  }) : n3;
36804
36823
  }).then(function(e3) {
36805
36824
  var t2 = a.getTypeOf(e3);
36806
- return t2 ? ("arraybuffer" === t2 ? e3 = a.transformTo("uint8array", e3) : "string" === t2 && (s22 ? e3 = h2.decode(e3) : n2 && true !== i2 && (e3 = (function(e4) {
36825
+ return t2 ? ("arraybuffer" === t2 ? e3 = a.transformTo("uint8array", e3) : "string" === t2 && (s22 ? e3 = h.decode(e3) : n2 && true !== i2 && (e3 = (function(e4) {
36807
36826
  return l3(e4, o.uint8array ? new Uint8Array(e4.length) : new Array(e4.length));
36808
36827
  })(e3))), e3) : u.Promise.reject(new Error("Can't read the data of '" + r22 + "'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"));
36809
36828
  });
36810
36829
  };
36811
36830
  }, { "./base64": 1, "./external": 6, "./nodejsUtils": 14, "./support": 30, setimmediate: 54 }], 33: [function(e, t, r2) {
36812
36831
  var n = e("./reader/readerFor"), i = e("./utils"), s2 = e("./signature"), a = e("./zipEntry"), o = e("./support");
36813
- function h2(e2) {
36832
+ function h(e2) {
36814
36833
  this.files = [], this.loadOptions = e2;
36815
36834
  }
36816
- h2.prototype = { checkSignature: function(e2) {
36835
+ h.prototype = { checkSignature: function(e2) {
36817
36836
  if (!this.reader.readAndCheckSignature(e2)) {
36818
36837
  this.reader.index -= 4;
36819
36838
  var t2 = this.reader.readString(4);
@@ -36859,9 +36878,9 @@ function requireJszip_min() {
36859
36878
  this.reader = n(e2);
36860
36879
  }, load: function(e2) {
36861
36880
  this.prepareReader(e2), this.readEndOfCentral(), this.readCentralDir(), this.readLocalFiles();
36862
- } }, t.exports = h2;
36881
+ } }, t.exports = h;
36863
36882
  }, { "./reader/readerFor": 22, "./signature": 23, "./support": 30, "./utils": 32, "./zipEntry": 34 }], 34: [function(e, t, r2) {
36864
- var n = e("./reader/readerFor"), s2 = e("./utils"), i = e("./compressedObject"), a = e("./crc32"), o = e("./utf8"), h2 = e("./compressions"), u = e("./support");
36883
+ var n = e("./reader/readerFor"), s2 = e("./utils"), i = e("./compressedObject"), a = e("./crc32"), o = e("./utf8"), h = e("./compressions"), u = e("./support");
36865
36884
  function l3(e2, t2) {
36866
36885
  this.options = e2, this.loadOptions = t2;
36867
36886
  }
@@ -36873,7 +36892,7 @@ function requireJszip_min() {
36873
36892
  var t2, r22;
36874
36893
  if (e2.skip(22), this.fileNameLength = e2.readInt(2), r22 = e2.readInt(2), this.fileName = e2.readData(this.fileNameLength), e2.skip(r22), -1 === this.compressedSize || -1 === this.uncompressedSize) throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");
36875
36894
  if (null === (t2 = (function(e3) {
36876
- for (var t3 in h2) if (Object.prototype.hasOwnProperty.call(h2, t3) && h2[t3].magic === e3) return h2[t3];
36895
+ for (var t3 in h) if (Object.prototype.hasOwnProperty.call(h, t3) && h[t3].magic === e3) return h[t3];
36877
36896
  return null;
36878
36897
  })(this.compressionMethod))) throw new Error("Corrupted zip : compression " + s2.pretty(this.compressionMethod) + " unknown (inner file : " + s2.transformTo("string", this.fileName) + ")");
36879
36898
  this.decompressed = new i(this.compressedSize, this.uncompressedSize, this.crc32, t2, e2.readData(this.compressedSize));
@@ -36931,7 +36950,7 @@ function requireJszip_min() {
36931
36950
  function n(e2, t2, r22) {
36932
36951
  this.name = e2, this.dir = r22.dir, this.date = r22.date, this.comment = r22.comment, this.unixPermissions = r22.unixPermissions, this.dosPermissions = r22.dosPermissions, this._data = t2, this._dataBinary = r22.binary, this.options = { compression: r22.compression, compressionOptions: r22.compressionOptions };
36933
36952
  }
36934
- var s2 = e("./stream/StreamHelper"), i = e("./stream/DataWorker"), a = e("./utf8"), o = e("./compressedObject"), h2 = e("./stream/GenericWorker");
36953
+ var s2 = e("./stream/StreamHelper"), i = e("./stream/DataWorker"), a = e("./utf8"), o = e("./compressedObject"), h = e("./stream/GenericWorker");
36935
36954
  n.prototype = { internalStream: function(e2) {
36936
36955
  var t2 = null, r22 = "string";
36937
36956
  try {
@@ -36941,7 +36960,7 @@ function requireJszip_min() {
36941
36960
  var i2 = !this._dataBinary;
36942
36961
  i2 && !n2 && (t2 = t2.pipe(new a.Utf8EncodeWorker())), !i2 && n2 && (t2 = t2.pipe(new a.Utf8DecodeWorker()));
36943
36962
  } catch (e3) {
36944
- (t2 = new h2("error")).error(e3);
36963
+ (t2 = new h("error")).error(e3);
36945
36964
  }
36946
36965
  return new s2(t2, r22, "");
36947
36966
  }, async: function(e2, t2) {
@@ -36953,7 +36972,7 @@ function requireJszip_min() {
36953
36972
  var r22 = this._decompressWorker();
36954
36973
  return this._dataBinary || (r22 = r22.pipe(new a.Utf8EncodeWorker())), o.createWorkerFrom(r22, e2, t2);
36955
36974
  }, _decompressWorker: function() {
36956
- return this._data instanceof o ? this._data.getContentWorker() : this._data instanceof h2 ? this._data : new i(this._data);
36975
+ return this._data instanceof o ? this._data.getContentWorker() : this._data instanceof h ? this._data : new i(this._data);
36957
36976
  } };
36958
36977
  for (var u = ["asText", "asBinary", "asNodeBuffer", "asUint8Array", "asArrayBuffer"], l3 = function() {
36959
36978
  throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.");
@@ -36981,18 +37000,18 @@ function requireJszip_min() {
36981
37000
  o.port2.postMessage(0);
36982
37001
  };
36983
37002
  }
36984
- var h2 = [];
37003
+ var h = [];
36985
37004
  function u() {
36986
37005
  var e3, t3;
36987
37006
  n = true;
36988
- for (var r22 = h2.length; r22; ) {
36989
- for (t3 = h2, h2 = [], e3 = -1; ++e3 < r22; ) t3[e3]();
36990
- r22 = h2.length;
37007
+ for (var r22 = h.length; r22; ) {
37008
+ for (t3 = h, h = [], e3 = -1; ++e3 < r22; ) t3[e3]();
37009
+ r22 = h.length;
36991
37010
  }
36992
37011
  n = false;
36993
37012
  }
36994
37013
  l3.exports = function(e3) {
36995
- 1 !== h2.push(e3) || n || r2();
37014
+ 1 !== h.push(e3) || n || r2();
36996
37015
  };
36997
37016
  }).call(this, "undefined" != typeof commonjsGlobal ? commonjsGlobal : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {});
36998
37017
  }, {}], 37: [function(e, t, r2) {
@@ -37004,7 +37023,7 @@ function requireJszip_min() {
37004
37023
  if ("function" != typeof e2) throw new TypeError("resolver must be a function");
37005
37024
  this.state = n, this.queue = [], this.outcome = void 0, e2 !== u && d2(this, e2);
37006
37025
  }
37007
- function h2(e2, t2, r22) {
37026
+ function h(e2, t2, r22) {
37008
37027
  this.promise = e2, "function" == typeof t2 && (this.onFulfilled = t2, this.callFulfilled = this.otherCallFulfilled), "function" == typeof r22 && (this.onRejected = r22, this.callRejected = this.otherCallRejected);
37009
37028
  }
37010
37029
  function f2(t2, r22, n2) {
@@ -37063,15 +37082,15 @@ function requireJszip_min() {
37063
37082
  }, o.prototype.then = function(e2, t2) {
37064
37083
  if ("function" != typeof e2 && this.state === a || "function" != typeof t2 && this.state === s2) return this;
37065
37084
  var r22 = new this.constructor(u);
37066
- this.state !== n ? f2(r22, this.state === a ? e2 : t2, this.outcome) : this.queue.push(new h2(r22, e2, t2));
37085
+ this.state !== n ? f2(r22, this.state === a ? e2 : t2, this.outcome) : this.queue.push(new h(r22, e2, t2));
37067
37086
  return r22;
37068
- }, h2.prototype.callFulfilled = function(e2) {
37087
+ }, h.prototype.callFulfilled = function(e2) {
37069
37088
  l3.resolve(this.promise, e2);
37070
- }, h2.prototype.otherCallFulfilled = function(e2) {
37089
+ }, h.prototype.otherCallFulfilled = function(e2) {
37071
37090
  f2(this.promise, this.onFulfilled, e2);
37072
- }, h2.prototype.callRejected = function(e2) {
37091
+ }, h.prototype.callRejected = function(e2) {
37073
37092
  l3.reject(this.promise, e2);
37074
- }, h2.prototype.otherCallRejected = function(e2) {
37093
+ }, h.prototype.otherCallRejected = function(e2) {
37075
37094
  f2(this.promise, this.onRejected, e2);
37076
37095
  }, l3.resolve = function(e2, t2) {
37077
37096
  var r22 = p(c2, t2);
@@ -37099,9 +37118,9 @@ function requireJszip_min() {
37099
37118
  var n2 = e2.length, i2 = false;
37100
37119
  if (!n2) return this.resolve([]);
37101
37120
  var s22 = new Array(n2), a2 = 0, t2 = -1, o2 = new this(u);
37102
- for (; ++t2 < n2; ) h22(e2[t2], t2);
37121
+ for (; ++t2 < n2; ) h2(e2[t2], t2);
37103
37122
  return o2;
37104
- function h22(e3, t3) {
37123
+ function h2(e3, t3) {
37105
37124
  r22.resolve(e3).then(function(e4) {
37106
37125
  s22[t3] = e4, ++a2 !== n2 || i2 || (i2 = true, l3.resolve(o2, s22));
37107
37126
  }, function(e4) {
@@ -37126,7 +37145,7 @@ function requireJszip_min() {
37126
37145
  var n = {};
37127
37146
  (0, e("./lib/utils/common").assign)(n, e("./lib/deflate"), e("./lib/inflate"), e("./lib/zlib/constants")), t.exports = n;
37128
37147
  }, { "./lib/deflate": 39, "./lib/inflate": 40, "./lib/utils/common": 41, "./lib/zlib/constants": 44 }], 39: [function(e, t, r2) {
37129
- var a = e("./zlib/deflate"), o = e("./utils/common"), h2 = e("./utils/strings"), i = e("./zlib/messages"), s2 = e("./zlib/zstream"), u = Object.prototype.toString, l3 = 0, f2 = -1, c2 = 0, d2 = 8;
37148
+ var a = e("./zlib/deflate"), o = e("./utils/common"), h = e("./utils/strings"), i = e("./zlib/messages"), s2 = e("./zlib/zstream"), u = Object.prototype.toString, l3 = 0, f2 = -1, c2 = 0, d2 = 8;
37130
37149
  function p(e2) {
37131
37150
  if (!(this instanceof p)) return new p(e2);
37132
37151
  this.options = o.assign({ level: f2, method: d2, chunkSize: 16384, windowBits: 15, memLevel: 8, strategy: c2, to: "" }, e2 || {});
@@ -37136,7 +37155,7 @@ function requireJszip_min() {
37136
37155
  if (r22 !== l3) throw new Error(i[r22]);
37137
37156
  if (t2.header && a.deflateSetHeader(this.strm, t2.header), t2.dictionary) {
37138
37157
  var n2;
37139
- if (n2 = "string" == typeof t2.dictionary ? h2.string2buf(t2.dictionary) : "[object ArrayBuffer]" === u.call(t2.dictionary) ? new Uint8Array(t2.dictionary) : t2.dictionary, (r22 = a.deflateSetDictionary(this.strm, n2)) !== l3) throw new Error(i[r22]);
37158
+ if (n2 = "string" == typeof t2.dictionary ? h.string2buf(t2.dictionary) : "[object ArrayBuffer]" === u.call(t2.dictionary) ? new Uint8Array(t2.dictionary) : t2.dictionary, (r22 = a.deflateSetDictionary(this.strm, n2)) !== l3) throw new Error(i[r22]);
37140
37159
  this._dict_set = true;
37141
37160
  }
37142
37161
  }
@@ -37148,10 +37167,10 @@ function requireJszip_min() {
37148
37167
  p.prototype.push = function(e2, t2) {
37149
37168
  var r22, n2, i2 = this.strm, s22 = this.options.chunkSize;
37150
37169
  if (this.ended) return false;
37151
- n2 = t2 === ~~t2 ? t2 : true === t2 ? 4 : 0, "string" == typeof e2 ? i2.input = h2.string2buf(e2) : "[object ArrayBuffer]" === u.call(e2) ? i2.input = new Uint8Array(e2) : i2.input = e2, i2.next_in = 0, i2.avail_in = i2.input.length;
37170
+ n2 = t2 === ~~t2 ? t2 : true === t2 ? 4 : 0, "string" == typeof e2 ? i2.input = h.string2buf(e2) : "[object ArrayBuffer]" === u.call(e2) ? i2.input = new Uint8Array(e2) : i2.input = e2, i2.next_in = 0, i2.avail_in = i2.input.length;
37152
37171
  do {
37153
37172
  if (0 === i2.avail_out && (i2.output = new o.Buf8(s22), i2.next_out = 0, i2.avail_out = s22), 1 !== (r22 = a.deflate(i2, n2)) && r22 !== l3) return this.onEnd(r22), !(this.ended = true);
37154
- 0 !== i2.avail_out && (0 !== i2.avail_in || 4 !== n2 && 2 !== n2) || ("string" === this.options.to ? this.onData(h2.buf2binstring(o.shrinkBuf(i2.output, i2.next_out))) : this.onData(o.shrinkBuf(i2.output, i2.next_out)));
37173
+ 0 !== i2.avail_out && (0 !== i2.avail_in || 4 !== n2 && 2 !== n2) || ("string" === this.options.to ? this.onData(h.buf2binstring(o.shrinkBuf(i2.output, i2.next_out))) : this.onData(o.shrinkBuf(i2.output, i2.next_out)));
37155
37174
  } while ((0 < i2.avail_in || 0 === i2.avail_out) && 1 !== r22);
37156
37175
  return 4 === n2 ? (r22 = a.deflateEnd(this.strm), this.onEnd(r22), this.ended = true, r22 === l3) : 2 !== n2 || (this.onEnd(l3), !(i2.avail_out = 0));
37157
37176
  }, p.prototype.onData = function(e2) {
@@ -37180,14 +37199,14 @@ function requireJszip_min() {
37180
37199
  return r22.result;
37181
37200
  }
37182
37201
  a.prototype.push = function(e2, t2) {
37183
- var r22, n2, i2, s22, a2, o2, h2 = this.strm, u = this.options.chunkSize, l3 = this.options.dictionary, f2 = false;
37202
+ var r22, n2, i2, s22, a2, o2, h = this.strm, u = this.options.chunkSize, l3 = this.options.dictionary, f2 = false;
37184
37203
  if (this.ended) return false;
37185
- n2 = t2 === ~~t2 ? t2 : true === t2 ? m2.Z_FINISH : m2.Z_NO_FLUSH, "string" == typeof e2 ? h2.input = p.binstring2buf(e2) : "[object ArrayBuffer]" === _2.call(e2) ? h2.input = new Uint8Array(e2) : h2.input = e2, h2.next_in = 0, h2.avail_in = h2.input.length;
37204
+ n2 = t2 === ~~t2 ? t2 : true === t2 ? m2.Z_FINISH : m2.Z_NO_FLUSH, "string" == typeof e2 ? h.input = p.binstring2buf(e2) : "[object ArrayBuffer]" === _2.call(e2) ? h.input = new Uint8Array(e2) : h.input = e2, h.next_in = 0, h.avail_in = h.input.length;
37186
37205
  do {
37187
- if (0 === h2.avail_out && (h2.output = new d2.Buf8(u), h2.next_out = 0, h2.avail_out = u), (r22 = c2.inflate(h2, m2.Z_NO_FLUSH)) === m2.Z_NEED_DICT && l3 && (o2 = "string" == typeof l3 ? p.string2buf(l3) : "[object ArrayBuffer]" === _2.call(l3) ? new Uint8Array(l3) : l3, r22 = c2.inflateSetDictionary(this.strm, o2)), r22 === m2.Z_BUF_ERROR && true === f2 && (r22 = m2.Z_OK, f2 = false), r22 !== m2.Z_STREAM_END && r22 !== m2.Z_OK) return this.onEnd(r22), !(this.ended = true);
37188
- h2.next_out && (0 !== h2.avail_out && r22 !== m2.Z_STREAM_END && (0 !== h2.avail_in || n2 !== m2.Z_FINISH && n2 !== m2.Z_SYNC_FLUSH) || ("string" === this.options.to ? (i2 = p.utf8border(h2.output, h2.next_out), s22 = h2.next_out - i2, a2 = p.buf2string(h2.output, i2), h2.next_out = s22, h2.avail_out = u - s22, s22 && d2.arraySet(h2.output, h2.output, i2, s22, 0), this.onData(a2)) : this.onData(d2.shrinkBuf(h2.output, h2.next_out)))), 0 === h2.avail_in && 0 === h2.avail_out && (f2 = true);
37189
- } while ((0 < h2.avail_in || 0 === h2.avail_out) && r22 !== m2.Z_STREAM_END);
37190
- return r22 === m2.Z_STREAM_END && (n2 = m2.Z_FINISH), n2 === m2.Z_FINISH ? (r22 = c2.inflateEnd(this.strm), this.onEnd(r22), this.ended = true, r22 === m2.Z_OK) : n2 !== m2.Z_SYNC_FLUSH || (this.onEnd(m2.Z_OK), !(h2.avail_out = 0));
37206
+ if (0 === h.avail_out && (h.output = new d2.Buf8(u), h.next_out = 0, h.avail_out = u), (r22 = c2.inflate(h, m2.Z_NO_FLUSH)) === m2.Z_NEED_DICT && l3 && (o2 = "string" == typeof l3 ? p.string2buf(l3) : "[object ArrayBuffer]" === _2.call(l3) ? new Uint8Array(l3) : l3, r22 = c2.inflateSetDictionary(this.strm, o2)), r22 === m2.Z_BUF_ERROR && true === f2 && (r22 = m2.Z_OK, f2 = false), r22 !== m2.Z_STREAM_END && r22 !== m2.Z_OK) return this.onEnd(r22), !(this.ended = true);
37207
+ h.next_out && (0 !== h.avail_out && r22 !== m2.Z_STREAM_END && (0 !== h.avail_in || n2 !== m2.Z_FINISH && n2 !== m2.Z_SYNC_FLUSH) || ("string" === this.options.to ? (i2 = p.utf8border(h.output, h.next_out), s22 = h.next_out - i2, a2 = p.buf2string(h.output, i2), h.next_out = s22, h.avail_out = u - s22, s22 && d2.arraySet(h.output, h.output, i2, s22, 0), this.onData(a2)) : this.onData(d2.shrinkBuf(h.output, h.next_out)))), 0 === h.avail_in && 0 === h.avail_out && (f2 = true);
37208
+ } while ((0 < h.avail_in || 0 === h.avail_out) && r22 !== m2.Z_STREAM_END);
37209
+ return r22 === m2.Z_STREAM_END && (n2 = m2.Z_FINISH), n2 === m2.Z_FINISH ? (r22 = c2.inflateEnd(this.strm), this.onEnd(r22), this.ended = true, r22 === m2.Z_OK) : n2 !== m2.Z_SYNC_FLUSH || (this.onEnd(m2.Z_OK), !(h.avail_out = 0));
37191
37210
  }, a.prototype.onData = function(e2) {
37192
37211
  this.chunks.push(e2);
37193
37212
  }, a.prototype.onEnd = function(e2) {
@@ -37226,7 +37245,7 @@ function requireJszip_min() {
37226
37245
  e2 ? (r2.Buf8 = Uint8Array, r2.Buf16 = Uint16Array, r2.Buf32 = Int32Array, r2.assign(r2, i)) : (r2.Buf8 = Array, r2.Buf16 = Array, r2.Buf32 = Array, r2.assign(r2, s2));
37227
37246
  }, r2.setTyped(n);
37228
37247
  }, {}], 42: [function(e, t, r2) {
37229
- var h2 = e("./common"), i = true, s2 = true;
37248
+ var h = e("./common"), i = true, s2 = true;
37230
37249
  try {
37231
37250
  String.fromCharCode.apply(null, [0]);
37232
37251
  } catch (e2) {
@@ -37237,21 +37256,21 @@ function requireJszip_min() {
37237
37256
  } catch (e2) {
37238
37257
  s2 = false;
37239
37258
  }
37240
- for (var u = new h2.Buf8(256), n = 0; n < 256; n++) u[n] = 252 <= n ? 6 : 248 <= n ? 5 : 240 <= n ? 4 : 224 <= n ? 3 : 192 <= n ? 2 : 1;
37259
+ for (var u = new h.Buf8(256), n = 0; n < 256; n++) u[n] = 252 <= n ? 6 : 248 <= n ? 5 : 240 <= n ? 4 : 224 <= n ? 3 : 192 <= n ? 2 : 1;
37241
37260
  function l3(e2, t2) {
37242
- if (t2 < 65537 && (e2.subarray && s2 || !e2.subarray && i)) return String.fromCharCode.apply(null, h2.shrinkBuf(e2, t2));
37261
+ if (t2 < 65537 && (e2.subarray && s2 || !e2.subarray && i)) return String.fromCharCode.apply(null, h.shrinkBuf(e2, t2));
37243
37262
  for (var r22 = "", n2 = 0; n2 < t2; n2++) r22 += String.fromCharCode(e2[n2]);
37244
37263
  return r22;
37245
37264
  }
37246
37265
  u[254] = u[254] = 1, r2.string2buf = function(e2) {
37247
37266
  var t2, r22, n2, i2, s22, a = e2.length, o = 0;
37248
37267
  for (i2 = 0; i2 < a; i2++) 55296 == (64512 & (r22 = e2.charCodeAt(i2))) && i2 + 1 < a && 56320 == (64512 & (n2 = e2.charCodeAt(i2 + 1))) && (r22 = 65536 + (r22 - 55296 << 10) + (n2 - 56320), i2++), o += r22 < 128 ? 1 : r22 < 2048 ? 2 : r22 < 65536 ? 3 : 4;
37249
- for (t2 = new h2.Buf8(o), i2 = s22 = 0; s22 < o; i2++) 55296 == (64512 & (r22 = e2.charCodeAt(i2))) && i2 + 1 < a && 56320 == (64512 & (n2 = e2.charCodeAt(i2 + 1))) && (r22 = 65536 + (r22 - 55296 << 10) + (n2 - 56320), i2++), r22 < 128 ? t2[s22++] = r22 : (r22 < 2048 ? t2[s22++] = 192 | r22 >>> 6 : (r22 < 65536 ? t2[s22++] = 224 | r22 >>> 12 : (t2[s22++] = 240 | r22 >>> 18, t2[s22++] = 128 | r22 >>> 12 & 63), t2[s22++] = 128 | r22 >>> 6 & 63), t2[s22++] = 128 | 63 & r22);
37268
+ for (t2 = new h.Buf8(o), i2 = s22 = 0; s22 < o; i2++) 55296 == (64512 & (r22 = e2.charCodeAt(i2))) && i2 + 1 < a && 56320 == (64512 & (n2 = e2.charCodeAt(i2 + 1))) && (r22 = 65536 + (r22 - 55296 << 10) + (n2 - 56320), i2++), r22 < 128 ? t2[s22++] = r22 : (r22 < 2048 ? t2[s22++] = 192 | r22 >>> 6 : (r22 < 65536 ? t2[s22++] = 224 | r22 >>> 12 : (t2[s22++] = 240 | r22 >>> 18, t2[s22++] = 128 | r22 >>> 12 & 63), t2[s22++] = 128 | r22 >>> 6 & 63), t2[s22++] = 128 | 63 & r22);
37250
37269
  return t2;
37251
37270
  }, r2.buf2binstring = function(e2) {
37252
37271
  return l3(e2, e2.length);
37253
37272
  }, r2.binstring2buf = function(e2) {
37254
- for (var t2 = new h2.Buf8(e2.length), r22 = 0, n2 = t2.length; r22 < n2; r22++) t2[r22] = e2.charCodeAt(r22);
37273
+ for (var t2 = new h.Buf8(e2.length), r22 = 0, n2 = t2.length; r22 < n2; r22++) t2[r22] = e2.charCodeAt(r22);
37255
37274
  return t2;
37256
37275
  }, r2.buf2string = function(e2, t2) {
37257
37276
  var r22, n2, i2, s22, a = t2 || e2.length, o = new Array(2 * a);
@@ -37293,11 +37312,11 @@ function requireJszip_min() {
37293
37312
  return -1 ^ e2;
37294
37313
  };
37295
37314
  }, {}], 46: [function(e, t, r2) {
37296
- var h2, c2 = e("../utils/common"), u = e("./trees"), d2 = e("./adler32"), p = e("./crc32"), n = e("./messages"), l3 = 0, f2 = 4, m2 = 0, _2 = -2, g = -1, b2 = 4, i = 2, v2 = 8, y2 = 9, s2 = 286, a = 30, o = 19, w2 = 2 * s2 + 1, k2 = 15, x = 3, S2 = 258, z2 = S2 + x + 1, C2 = 42, E2 = 113, A2 = 1, I2 = 2, O2 = 3, B2 = 4;
37297
- function R2(e2, t2) {
37315
+ var h, c2 = e("../utils/common"), u = e("./trees"), d2 = e("./adler32"), p = e("./crc32"), n = e("./messages"), l3 = 0, f2 = 4, m2 = 0, _2 = -2, g = -1, b2 = 4, i = 2, v2 = 8, y2 = 9, s2 = 286, a = 30, o = 19, w2 = 2 * s2 + 1, k2 = 15, x2 = 3, S2 = 258, z2 = S2 + x2 + 1, C2 = 42, E2 = 113, A2 = 1, I2 = 2, O = 3, B2 = 4;
37316
+ function R(e2, t2) {
37298
37317
  return e2.msg = n[t2], t2;
37299
37318
  }
37300
- function T(e2) {
37319
+ function T2(e2) {
37301
37320
  return (e2 << 1) - (4 < e2 ? 9 : 0);
37302
37321
  }
37303
37322
  function D2(e2) {
@@ -37317,7 +37336,7 @@ function requireJszip_min() {
37317
37336
  e2.pending_buf[e2.pending++] = t2 >>> 8 & 255, e2.pending_buf[e2.pending++] = 255 & t2;
37318
37337
  }
37319
37338
  function L2(e2, t2) {
37320
- var r22, n2, i2 = e2.max_chain_length, s22 = e2.strstart, a2 = e2.prev_length, o2 = e2.nice_match, h22 = e2.strstart > e2.w_size - z2 ? e2.strstart - (e2.w_size - z2) : 0, u2 = e2.window, l22 = e2.w_mask, f22 = e2.prev, c22 = e2.strstart + S2, d22 = u2[s22 + a2 - 1], p2 = u2[s22 + a2];
37339
+ var r22, n2, i2 = e2.max_chain_length, s22 = e2.strstart, a2 = e2.prev_length, o2 = e2.nice_match, h2 = e2.strstart > e2.w_size - z2 ? e2.strstart - (e2.w_size - z2) : 0, u2 = e2.window, l22 = e2.w_mask, f22 = e2.prev, c22 = e2.strstart + S2, d22 = u2[s22 + a2 - 1], p2 = u2[s22 + a2];
37321
37340
  e2.prev_length >= e2.good_match && (i2 >>= 2), o2 > e2.lookahead && (o2 = e2.lookahead);
37322
37341
  do {
37323
37342
  if (u2[(r22 = t2) + a2] === p2 && u2[r22 + a2 - 1] === d22 && u2[r22] === u2[s22] && u2[++r22] === u2[s22 + 1]) {
@@ -37329,11 +37348,11 @@ function requireJszip_min() {
37329
37348
  d22 = u2[s22 + a2 - 1], p2 = u2[s22 + a2];
37330
37349
  }
37331
37350
  }
37332
- } while ((t2 = f22[t2 & l22]) > h22 && 0 != --i2);
37351
+ } while ((t2 = f22[t2 & l22]) > h2 && 0 != --i2);
37333
37352
  return a2 <= e2.lookahead ? a2 : e2.lookahead;
37334
37353
  }
37335
37354
  function j2(e2) {
37336
- var t2, r22, n2, i2, s22, a2, o2, h22, u2, l22, f22 = e2.w_size;
37355
+ var t2, r22, n2, i2, s22, a2, o2, h2, u2, l22, f22 = e2.w_size;
37337
37356
  do {
37338
37357
  if (i2 = e2.window_size - e2.lookahead - e2.strstart, e2.strstart >= f22 + (f22 - z2)) {
37339
37358
  for (c2.arraySet(e2.window, e2.window, f22, f22, 0), e2.match_start -= f22, e2.strstart -= f22, e2.block_start -= f22, t2 = r22 = e2.hash_size; n2 = e2.head[--t2], e2.head[t2] = f22 <= n2 ? n2 - f22 : 0, --r22; ) ;
@@ -37341,7 +37360,7 @@ function requireJszip_min() {
37341
37360
  i2 += f22;
37342
37361
  }
37343
37362
  if (0 === e2.strm.avail_in) break;
37344
- if (a2 = e2.strm, o2 = e2.window, h22 = e2.strstart + e2.lookahead, u2 = i2, l22 = void 0, l22 = a2.avail_in, u2 < l22 && (l22 = u2), r22 = 0 === l22 ? 0 : (a2.avail_in -= l22, c2.arraySet(o2, a2.input, a2.next_in, l22, h22), 1 === a2.state.wrap ? a2.adler = d2(a2.adler, o2, l22, h22) : 2 === a2.state.wrap && (a2.adler = p(a2.adler, o2, l22, h22)), a2.next_in += l22, a2.total_in += l22, l22), e2.lookahead += r22, e2.lookahead + e2.insert >= x) for (s22 = e2.strstart - e2.insert, e2.ins_h = e2.window[s22], e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[s22 + 1]) & e2.hash_mask; e2.insert && (e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[s22 + x - 1]) & e2.hash_mask, e2.prev[s22 & e2.w_mask] = e2.head[e2.ins_h], e2.head[e2.ins_h] = s22, s22++, e2.insert--, !(e2.lookahead + e2.insert < x)); ) ;
37363
+ if (a2 = e2.strm, o2 = e2.window, h2 = e2.strstart + e2.lookahead, u2 = i2, l22 = void 0, l22 = a2.avail_in, u2 < l22 && (l22 = u2), r22 = 0 === l22 ? 0 : (a2.avail_in -= l22, c2.arraySet(o2, a2.input, a2.next_in, l22, h2), 1 === a2.state.wrap ? a2.adler = d2(a2.adler, o2, l22, h2) : 2 === a2.state.wrap && (a2.adler = p(a2.adler, o2, l22, h2)), a2.next_in += l22, a2.total_in += l22, l22), e2.lookahead += r22, e2.lookahead + e2.insert >= x2) for (s22 = e2.strstart - e2.insert, e2.ins_h = e2.window[s22], e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[s22 + 1]) & e2.hash_mask; e2.insert && (e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[s22 + x2 - 1]) & e2.hash_mask, e2.prev[s22 & e2.w_mask] = e2.head[e2.ins_h], e2.head[e2.ins_h] = s22, s22++, e2.insert--, !(e2.lookahead + e2.insert < x2)); ) ;
37345
37364
  } while (e2.lookahead < z2 && 0 !== e2.strm.avail_in);
37346
37365
  }
37347
37366
  function Z(e2, t2) {
@@ -37350,14 +37369,14 @@ function requireJszip_min() {
37350
37369
  if (j2(e2), e2.lookahead < z2 && t2 === l3) return A2;
37351
37370
  if (0 === e2.lookahead) break;
37352
37371
  }
37353
- if (r22 = 0, e2.lookahead >= x && (e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[e2.strstart + x - 1]) & e2.hash_mask, r22 = e2.prev[e2.strstart & e2.w_mask] = e2.head[e2.ins_h], e2.head[e2.ins_h] = e2.strstart), 0 !== r22 && e2.strstart - r22 <= e2.w_size - z2 && (e2.match_length = L2(e2, r22)), e2.match_length >= x) if (n2 = u._tr_tally(e2, e2.strstart - e2.match_start, e2.match_length - x), e2.lookahead -= e2.match_length, e2.match_length <= e2.max_lazy_match && e2.lookahead >= x) {
37354
- for (e2.match_length--; e2.strstart++, e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[e2.strstart + x - 1]) & e2.hash_mask, r22 = e2.prev[e2.strstart & e2.w_mask] = e2.head[e2.ins_h], e2.head[e2.ins_h] = e2.strstart, 0 != --e2.match_length; ) ;
37372
+ if (r22 = 0, e2.lookahead >= x2 && (e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[e2.strstart + x2 - 1]) & e2.hash_mask, r22 = e2.prev[e2.strstart & e2.w_mask] = e2.head[e2.ins_h], e2.head[e2.ins_h] = e2.strstart), 0 !== r22 && e2.strstart - r22 <= e2.w_size - z2 && (e2.match_length = L2(e2, r22)), e2.match_length >= x2) if (n2 = u._tr_tally(e2, e2.strstart - e2.match_start, e2.match_length - x2), e2.lookahead -= e2.match_length, e2.match_length <= e2.max_lazy_match && e2.lookahead >= x2) {
37373
+ for (e2.match_length--; e2.strstart++, e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[e2.strstart + x2 - 1]) & e2.hash_mask, r22 = e2.prev[e2.strstart & e2.w_mask] = e2.head[e2.ins_h], e2.head[e2.ins_h] = e2.strstart, 0 != --e2.match_length; ) ;
37355
37374
  e2.strstart++;
37356
37375
  } else e2.strstart += e2.match_length, e2.match_length = 0, e2.ins_h = e2.window[e2.strstart], e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[e2.strstart + 1]) & e2.hash_mask;
37357
37376
  else n2 = u._tr_tally(e2, 0, e2.window[e2.strstart]), e2.lookahead--, e2.strstart++;
37358
37377
  if (n2 && (N2(e2, false), 0 === e2.strm.avail_out)) return A2;
37359
37378
  }
37360
- return e2.insert = e2.strstart < x - 1 ? e2.strstart : x - 1, t2 === f2 ? (N2(e2, true), 0 === e2.strm.avail_out ? O2 : B2) : e2.last_lit && (N2(e2, false), 0 === e2.strm.avail_out) ? A2 : I2;
37379
+ return e2.insert = e2.strstart < x2 - 1 ? e2.strstart : x2 - 1, t2 === f2 ? (N2(e2, true), 0 === e2.strm.avail_out ? O : B2) : e2.last_lit && (N2(e2, false), 0 === e2.strm.avail_out) ? A2 : I2;
37361
37380
  }
37362
37381
  function W2(e2, t2) {
37363
37382
  for (var r22, n2, i2; ; ) {
@@ -37365,14 +37384,14 @@ function requireJszip_min() {
37365
37384
  if (j2(e2), e2.lookahead < z2 && t2 === l3) return A2;
37366
37385
  if (0 === e2.lookahead) break;
37367
37386
  }
37368
- if (r22 = 0, e2.lookahead >= x && (e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[e2.strstart + x - 1]) & e2.hash_mask, r22 = e2.prev[e2.strstart & e2.w_mask] = e2.head[e2.ins_h], e2.head[e2.ins_h] = e2.strstart), e2.prev_length = e2.match_length, e2.prev_match = e2.match_start, e2.match_length = x - 1, 0 !== r22 && e2.prev_length < e2.max_lazy_match && e2.strstart - r22 <= e2.w_size - z2 && (e2.match_length = L2(e2, r22), e2.match_length <= 5 && (1 === e2.strategy || e2.match_length === x && 4096 < e2.strstart - e2.match_start) && (e2.match_length = x - 1)), e2.prev_length >= x && e2.match_length <= e2.prev_length) {
37369
- for (i2 = e2.strstart + e2.lookahead - x, n2 = u._tr_tally(e2, e2.strstart - 1 - e2.prev_match, e2.prev_length - x), e2.lookahead -= e2.prev_length - 1, e2.prev_length -= 2; ++e2.strstart <= i2 && (e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[e2.strstart + x - 1]) & e2.hash_mask, r22 = e2.prev[e2.strstart & e2.w_mask] = e2.head[e2.ins_h], e2.head[e2.ins_h] = e2.strstart), 0 != --e2.prev_length; ) ;
37370
- if (e2.match_available = 0, e2.match_length = x - 1, e2.strstart++, n2 && (N2(e2, false), 0 === e2.strm.avail_out)) return A2;
37387
+ if (r22 = 0, e2.lookahead >= x2 && (e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[e2.strstart + x2 - 1]) & e2.hash_mask, r22 = e2.prev[e2.strstart & e2.w_mask] = e2.head[e2.ins_h], e2.head[e2.ins_h] = e2.strstart), e2.prev_length = e2.match_length, e2.prev_match = e2.match_start, e2.match_length = x2 - 1, 0 !== r22 && e2.prev_length < e2.max_lazy_match && e2.strstart - r22 <= e2.w_size - z2 && (e2.match_length = L2(e2, r22), e2.match_length <= 5 && (1 === e2.strategy || e2.match_length === x2 && 4096 < e2.strstart - e2.match_start) && (e2.match_length = x2 - 1)), e2.prev_length >= x2 && e2.match_length <= e2.prev_length) {
37388
+ for (i2 = e2.strstart + e2.lookahead - x2, n2 = u._tr_tally(e2, e2.strstart - 1 - e2.prev_match, e2.prev_length - x2), e2.lookahead -= e2.prev_length - 1, e2.prev_length -= 2; ++e2.strstart <= i2 && (e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[e2.strstart + x2 - 1]) & e2.hash_mask, r22 = e2.prev[e2.strstart & e2.w_mask] = e2.head[e2.ins_h], e2.head[e2.ins_h] = e2.strstart), 0 != --e2.prev_length; ) ;
37389
+ if (e2.match_available = 0, e2.match_length = x2 - 1, e2.strstart++, n2 && (N2(e2, false), 0 === e2.strm.avail_out)) return A2;
37371
37390
  } else if (e2.match_available) {
37372
37391
  if ((n2 = u._tr_tally(e2, 0, e2.window[e2.strstart - 1])) && N2(e2, false), e2.strstart++, e2.lookahead--, 0 === e2.strm.avail_out) return A2;
37373
37392
  } else e2.match_available = 1, e2.strstart++, e2.lookahead--;
37374
37393
  }
37375
- return e2.match_available && (n2 = u._tr_tally(e2, 0, e2.window[e2.strstart - 1]), e2.match_available = 0), e2.insert = e2.strstart < x - 1 ? e2.strstart : x - 1, t2 === f2 ? (N2(e2, true), 0 === e2.strm.avail_out ? O2 : B2) : e2.last_lit && (N2(e2, false), 0 === e2.strm.avail_out) ? A2 : I2;
37394
+ return e2.match_available && (n2 = u._tr_tally(e2, 0, e2.window[e2.strstart - 1]), e2.match_available = 0), e2.insert = e2.strstart < x2 - 1 ? e2.strstart : x2 - 1, t2 === f2 ? (N2(e2, true), 0 === e2.strm.avail_out ? O : B2) : e2.last_lit && (N2(e2, false), 0 === e2.strm.avail_out) ? A2 : I2;
37376
37395
  }
37377
37396
  function M2(e2, t2, r22, n2, i2) {
37378
37397
  this.good_length = e2, this.max_lazy = t2, this.nice_length = r22, this.max_chain = n2, this.func = i2;
@@ -37382,23 +37401,23 @@ function requireJszip_min() {
37382
37401
  }
37383
37402
  function G2(e2) {
37384
37403
  var t2;
37385
- return e2 && e2.state ? (e2.total_in = e2.total_out = 0, e2.data_type = i, (t2 = e2.state).pending = 0, t2.pending_out = 0, t2.wrap < 0 && (t2.wrap = -t2.wrap), t2.status = t2.wrap ? C2 : E2, e2.adler = 2 === t2.wrap ? 0 : 1, t2.last_flush = l3, u._tr_init(t2), m2) : R2(e2, _2);
37404
+ return e2 && e2.state ? (e2.total_in = e2.total_out = 0, e2.data_type = i, (t2 = e2.state).pending = 0, t2.pending_out = 0, t2.wrap < 0 && (t2.wrap = -t2.wrap), t2.status = t2.wrap ? C2 : E2, e2.adler = 2 === t2.wrap ? 0 : 1, t2.last_flush = l3, u._tr_init(t2), m2) : R(e2, _2);
37386
37405
  }
37387
37406
  function K2(e2) {
37388
37407
  var t2 = G2(e2);
37389
37408
  return t2 === m2 && (function(e3) {
37390
- e3.window_size = 2 * e3.w_size, D2(e3.head), e3.max_lazy_match = h2[e3.level].max_lazy, e3.good_match = h2[e3.level].good_length, e3.nice_match = h2[e3.level].nice_length, e3.max_chain_length = h2[e3.level].max_chain, e3.strstart = 0, e3.block_start = 0, e3.lookahead = 0, e3.insert = 0, e3.match_length = e3.prev_length = x - 1, e3.match_available = 0, e3.ins_h = 0;
37409
+ e3.window_size = 2 * e3.w_size, D2(e3.head), e3.max_lazy_match = h[e3.level].max_lazy, e3.good_match = h[e3.level].good_length, e3.nice_match = h[e3.level].nice_length, e3.max_chain_length = h[e3.level].max_chain, e3.strstart = 0, e3.block_start = 0, e3.lookahead = 0, e3.insert = 0, e3.match_length = e3.prev_length = x2 - 1, e3.match_available = 0, e3.ins_h = 0;
37391
37410
  })(e2.state), t2;
37392
37411
  }
37393
37412
  function Y2(e2, t2, r22, n2, i2, s22) {
37394
37413
  if (!e2) return _2;
37395
37414
  var a2 = 1;
37396
- if (t2 === g && (t2 = 6), n2 < 0 ? (a2 = 0, n2 = -n2) : 15 < n2 && (a2 = 2, n2 -= 16), i2 < 1 || y2 < i2 || r22 !== v2 || n2 < 8 || 15 < n2 || t2 < 0 || 9 < t2 || s22 < 0 || b2 < s22) return R2(e2, _2);
37415
+ if (t2 === g && (t2 = 6), n2 < 0 ? (a2 = 0, n2 = -n2) : 15 < n2 && (a2 = 2, n2 -= 16), i2 < 1 || y2 < i2 || r22 !== v2 || n2 < 8 || 15 < n2 || t2 < 0 || 9 < t2 || s22 < 0 || b2 < s22) return R(e2, _2);
37397
37416
  8 === n2 && (n2 = 9);
37398
37417
  var o2 = new H();
37399
- return (e2.state = o2).strm = e2, o2.wrap = a2, o2.gzhead = null, o2.w_bits = n2, o2.w_size = 1 << o2.w_bits, o2.w_mask = o2.w_size - 1, o2.hash_bits = i2 + 7, o2.hash_size = 1 << o2.hash_bits, o2.hash_mask = o2.hash_size - 1, o2.hash_shift = ~~((o2.hash_bits + x - 1) / x), o2.window = new c2.Buf8(2 * o2.w_size), o2.head = new c2.Buf16(o2.hash_size), o2.prev = new c2.Buf16(o2.w_size), o2.lit_bufsize = 1 << i2 + 6, o2.pending_buf_size = 4 * o2.lit_bufsize, o2.pending_buf = new c2.Buf8(o2.pending_buf_size), o2.d_buf = 1 * o2.lit_bufsize, o2.l_buf = 3 * o2.lit_bufsize, o2.level = t2, o2.strategy = s22, o2.method = r22, K2(e2);
37418
+ return (e2.state = o2).strm = e2, o2.wrap = a2, o2.gzhead = null, o2.w_bits = n2, o2.w_size = 1 << o2.w_bits, o2.w_mask = o2.w_size - 1, o2.hash_bits = i2 + 7, o2.hash_size = 1 << o2.hash_bits, o2.hash_mask = o2.hash_size - 1, o2.hash_shift = ~~((o2.hash_bits + x2 - 1) / x2), o2.window = new c2.Buf8(2 * o2.w_size), o2.head = new c2.Buf16(o2.hash_size), o2.prev = new c2.Buf16(o2.w_size), o2.lit_bufsize = 1 << i2 + 6, o2.pending_buf_size = 4 * o2.lit_bufsize, o2.pending_buf = new c2.Buf8(o2.pending_buf_size), o2.d_buf = 1 * o2.lit_bufsize, o2.l_buf = 3 * o2.lit_bufsize, o2.level = t2, o2.strategy = s22, o2.method = r22, K2(e2);
37400
37419
  }
37401
- h2 = [new M2(0, 0, 0, 0, function(e2, t2) {
37420
+ h = [new M2(0, 0, 0, 0, function(e2, t2) {
37402
37421
  var r22 = 65535;
37403
37422
  for (r22 > e2.pending_buf_size - 5 && (r22 = e2.pending_buf_size - 5); ; ) {
37404
37423
  if (e2.lookahead <= 1) {
@@ -37410,15 +37429,15 @@ function requireJszip_min() {
37410
37429
  if ((0 === e2.strstart || e2.strstart >= n2) && (e2.lookahead = e2.strstart - n2, e2.strstart = n2, N2(e2, false), 0 === e2.strm.avail_out)) return A2;
37411
37430
  if (e2.strstart - e2.block_start >= e2.w_size - z2 && (N2(e2, false), 0 === e2.strm.avail_out)) return A2;
37412
37431
  }
37413
- return e2.insert = 0, t2 === f2 ? (N2(e2, true), 0 === e2.strm.avail_out ? O2 : B2) : (e2.strstart > e2.block_start && (N2(e2, false), e2.strm.avail_out), A2);
37432
+ return e2.insert = 0, t2 === f2 ? (N2(e2, true), 0 === e2.strm.avail_out ? O : B2) : (e2.strstart > e2.block_start && (N2(e2, false), e2.strm.avail_out), A2);
37414
37433
  }), new M2(4, 4, 8, 4, Z), new M2(4, 5, 16, 8, Z), new M2(4, 6, 32, 32, Z), new M2(4, 4, 16, 16, W2), new M2(8, 16, 32, 32, W2), new M2(8, 16, 128, 128, W2), new M2(8, 32, 128, 256, W2), new M2(32, 128, 258, 1024, W2), new M2(32, 258, 258, 4096, W2)], r2.deflateInit = function(e2, t2) {
37415
37434
  return Y2(e2, t2, v2, 15, 8, 0);
37416
37435
  }, r2.deflateInit2 = Y2, r2.deflateReset = K2, r2.deflateResetKeep = G2, r2.deflateSetHeader = function(e2, t2) {
37417
37436
  return e2 && e2.state ? 2 !== e2.state.wrap ? _2 : (e2.state.gzhead = t2, m2) : _2;
37418
37437
  }, r2.deflate = function(e2, t2) {
37419
37438
  var r22, n2, i2, s22;
37420
- if (!e2 || !e2.state || 5 < t2 || t2 < 0) return e2 ? R2(e2, _2) : _2;
37421
- if (n2 = e2.state, !e2.output || !e2.input && 0 !== e2.avail_in || 666 === n2.status && t2 !== f2) return R2(e2, 0 === e2.avail_out ? -5 : _2);
37439
+ if (!e2 || !e2.state || 5 < t2 || t2 < 0) return e2 ? R(e2, _2) : _2;
37440
+ if (n2 = e2.state, !e2.output || !e2.input && 0 !== e2.avail_in || 666 === n2.status && t2 !== f2) return R(e2, 0 === e2.avail_out ? -5 : _2);
37422
37441
  if (n2.strm = e2, r22 = n2.last_flush, n2.last_flush = t2, n2.status === C2) if (2 === n2.wrap) e2.adler = 0, U2(n2, 31), U2(n2, 139), U2(n2, 8), n2.gzhead ? (U2(n2, (n2.gzhead.text ? 1 : 0) + (n2.gzhead.hcrc ? 2 : 0) + (n2.gzhead.extra ? 4 : 0) + (n2.gzhead.name ? 8 : 0) + (n2.gzhead.comment ? 16 : 0)), U2(n2, 255 & n2.gzhead.time), U2(n2, n2.gzhead.time >> 8 & 255), U2(n2, n2.gzhead.time >> 16 & 255), U2(n2, n2.gzhead.time >> 24 & 255), U2(n2, 9 === n2.level ? 2 : 2 <= n2.strategy || n2.level < 2 ? 4 : 0), U2(n2, 255 & n2.gzhead.os), n2.gzhead.extra && n2.gzhead.extra.length && (U2(n2, 255 & n2.gzhead.extra.length), U2(n2, n2.gzhead.extra.length >> 8 & 255)), n2.gzhead.hcrc && (e2.adler = p(e2.adler, n2.pending_buf, n2.pending, 0)), n2.gzindex = 0, n2.status = 69) : (U2(n2, 0), U2(n2, 0), U2(n2, 0), U2(n2, 0), U2(n2, 0), U2(n2, 9 === n2.level ? 2 : 2 <= n2.strategy || n2.level < 2 ? 4 : 0), U2(n2, 3), n2.status = E2);
37423
37442
  else {
37424
37443
  var a2 = v2 + (n2.w_bits - 8 << 4) << 8;
@@ -37452,8 +37471,8 @@ function requireJszip_min() {
37452
37471
  } else n2.status = 103;
37453
37472
  if (103 === n2.status && (n2.gzhead.hcrc ? (n2.pending + 2 > n2.pending_buf_size && F2(e2), n2.pending + 2 <= n2.pending_buf_size && (U2(n2, 255 & e2.adler), U2(n2, e2.adler >> 8 & 255), e2.adler = 0, n2.status = E2)) : n2.status = E2), 0 !== n2.pending) {
37454
37473
  if (F2(e2), 0 === e2.avail_out) return n2.last_flush = -1, m2;
37455
- } else if (0 === e2.avail_in && T(t2) <= T(r22) && t2 !== f2) return R2(e2, -5);
37456
- if (666 === n2.status && 0 !== e2.avail_in) return R2(e2, -5);
37474
+ } else if (0 === e2.avail_in && T2(t2) <= T2(r22) && t2 !== f2) return R(e2, -5);
37475
+ if (666 === n2.status && 0 !== e2.avail_in) return R(e2, -5);
37457
37476
  if (0 !== e2.avail_in || 0 !== n2.lookahead || t2 !== l3 && 666 !== n2.status) {
37458
37477
  var o2 = 2 === n2.strategy ? (function(e3, t3) {
37459
37478
  for (var r3; ; ) {
@@ -37463,39 +37482,39 @@ function requireJszip_min() {
37463
37482
  }
37464
37483
  if (e3.match_length = 0, r3 = u._tr_tally(e3, 0, e3.window[e3.strstart]), e3.lookahead--, e3.strstart++, r3 && (N2(e3, false), 0 === e3.strm.avail_out)) return A2;
37465
37484
  }
37466
- return e3.insert = 0, t3 === f2 ? (N2(e3, true), 0 === e3.strm.avail_out ? O2 : B2) : e3.last_lit && (N2(e3, false), 0 === e3.strm.avail_out) ? A2 : I2;
37485
+ return e3.insert = 0, t3 === f2 ? (N2(e3, true), 0 === e3.strm.avail_out ? O : B2) : e3.last_lit && (N2(e3, false), 0 === e3.strm.avail_out) ? A2 : I2;
37467
37486
  })(n2, t2) : 3 === n2.strategy ? (function(e3, t3) {
37468
37487
  for (var r3, n3, i3, s3, a3 = e3.window; ; ) {
37469
37488
  if (e3.lookahead <= S2) {
37470
37489
  if (j2(e3), e3.lookahead <= S2 && t3 === l3) return A2;
37471
37490
  if (0 === e3.lookahead) break;
37472
37491
  }
37473
- if (e3.match_length = 0, e3.lookahead >= x && 0 < e3.strstart && (n3 = a3[i3 = e3.strstart - 1]) === a3[++i3] && n3 === a3[++i3] && n3 === a3[++i3]) {
37492
+ if (e3.match_length = 0, e3.lookahead >= x2 && 0 < e3.strstart && (n3 = a3[i3 = e3.strstart - 1]) === a3[++i3] && n3 === a3[++i3] && n3 === a3[++i3]) {
37474
37493
  s3 = e3.strstart + S2;
37475
37494
  do {
37476
37495
  } while (n3 === a3[++i3] && n3 === a3[++i3] && n3 === a3[++i3] && n3 === a3[++i3] && n3 === a3[++i3] && n3 === a3[++i3] && n3 === a3[++i3] && n3 === a3[++i3] && i3 < s3);
37477
37496
  e3.match_length = S2 - (s3 - i3), e3.match_length > e3.lookahead && (e3.match_length = e3.lookahead);
37478
37497
  }
37479
- if (e3.match_length >= x ? (r3 = u._tr_tally(e3, 1, e3.match_length - x), e3.lookahead -= e3.match_length, e3.strstart += e3.match_length, e3.match_length = 0) : (r3 = u._tr_tally(e3, 0, e3.window[e3.strstart]), e3.lookahead--, e3.strstart++), r3 && (N2(e3, false), 0 === e3.strm.avail_out)) return A2;
37498
+ if (e3.match_length >= x2 ? (r3 = u._tr_tally(e3, 1, e3.match_length - x2), e3.lookahead -= e3.match_length, e3.strstart += e3.match_length, e3.match_length = 0) : (r3 = u._tr_tally(e3, 0, e3.window[e3.strstart]), e3.lookahead--, e3.strstart++), r3 && (N2(e3, false), 0 === e3.strm.avail_out)) return A2;
37480
37499
  }
37481
- return e3.insert = 0, t3 === f2 ? (N2(e3, true), 0 === e3.strm.avail_out ? O2 : B2) : e3.last_lit && (N2(e3, false), 0 === e3.strm.avail_out) ? A2 : I2;
37482
- })(n2, t2) : h2[n2.level].func(n2, t2);
37483
- if (o2 !== O2 && o2 !== B2 || (n2.status = 666), o2 === A2 || o2 === O2) return 0 === e2.avail_out && (n2.last_flush = -1), m2;
37500
+ return e3.insert = 0, t3 === f2 ? (N2(e3, true), 0 === e3.strm.avail_out ? O : B2) : e3.last_lit && (N2(e3, false), 0 === e3.strm.avail_out) ? A2 : I2;
37501
+ })(n2, t2) : h[n2.level].func(n2, t2);
37502
+ if (o2 !== O && o2 !== B2 || (n2.status = 666), o2 === A2 || o2 === O) return 0 === e2.avail_out && (n2.last_flush = -1), m2;
37484
37503
  if (o2 === I2 && (1 === t2 ? u._tr_align(n2) : 5 !== t2 && (u._tr_stored_block(n2, 0, 0, false), 3 === t2 && (D2(n2.head), 0 === n2.lookahead && (n2.strstart = 0, n2.block_start = 0, n2.insert = 0))), F2(e2), 0 === e2.avail_out)) return n2.last_flush = -1, m2;
37485
37504
  }
37486
37505
  return t2 !== f2 ? m2 : n2.wrap <= 0 ? 1 : (2 === n2.wrap ? (U2(n2, 255 & e2.adler), U2(n2, e2.adler >> 8 & 255), U2(n2, e2.adler >> 16 & 255), U2(n2, e2.adler >> 24 & 255), U2(n2, 255 & e2.total_in), U2(n2, e2.total_in >> 8 & 255), U2(n2, e2.total_in >> 16 & 255), U2(n2, e2.total_in >> 24 & 255)) : (P2(n2, e2.adler >>> 16), P2(n2, 65535 & e2.adler)), F2(e2), 0 < n2.wrap && (n2.wrap = -n2.wrap), 0 !== n2.pending ? m2 : 1);
37487
37506
  }, r2.deflateEnd = function(e2) {
37488
37507
  var t2;
37489
- return e2 && e2.state ? (t2 = e2.state.status) !== C2 && 69 !== t2 && 73 !== t2 && 91 !== t2 && 103 !== t2 && t2 !== E2 && 666 !== t2 ? R2(e2, _2) : (e2.state = null, t2 === E2 ? R2(e2, -3) : m2) : _2;
37508
+ return e2 && e2.state ? (t2 = e2.state.status) !== C2 && 69 !== t2 && 73 !== t2 && 91 !== t2 && 103 !== t2 && t2 !== E2 && 666 !== t2 ? R(e2, _2) : (e2.state = null, t2 === E2 ? R(e2, -3) : m2) : _2;
37490
37509
  }, r2.deflateSetDictionary = function(e2, t2) {
37491
- var r22, n2, i2, s22, a2, o2, h22, u2, l22 = t2.length;
37510
+ var r22, n2, i2, s22, a2, o2, h2, u2, l22 = t2.length;
37492
37511
  if (!e2 || !e2.state) return _2;
37493
37512
  if (2 === (s22 = (r22 = e2.state).wrap) || 1 === s22 && r22.status !== C2 || r22.lookahead) return _2;
37494
- for (1 === s22 && (e2.adler = d2(e2.adler, t2, l22, 0)), r22.wrap = 0, l22 >= r22.w_size && (0 === s22 && (D2(r22.head), r22.strstart = 0, r22.block_start = 0, r22.insert = 0), u2 = new c2.Buf8(r22.w_size), c2.arraySet(u2, t2, l22 - r22.w_size, r22.w_size, 0), t2 = u2, l22 = r22.w_size), a2 = e2.avail_in, o2 = e2.next_in, h22 = e2.input, e2.avail_in = l22, e2.next_in = 0, e2.input = t2, j2(r22); r22.lookahead >= x; ) {
37495
- for (n2 = r22.strstart, i2 = r22.lookahead - (x - 1); r22.ins_h = (r22.ins_h << r22.hash_shift ^ r22.window[n2 + x - 1]) & r22.hash_mask, r22.prev[n2 & r22.w_mask] = r22.head[r22.ins_h], r22.head[r22.ins_h] = n2, n2++, --i2; ) ;
37496
- r22.strstart = n2, r22.lookahead = x - 1, j2(r22);
37513
+ for (1 === s22 && (e2.adler = d2(e2.adler, t2, l22, 0)), r22.wrap = 0, l22 >= r22.w_size && (0 === s22 && (D2(r22.head), r22.strstart = 0, r22.block_start = 0, r22.insert = 0), u2 = new c2.Buf8(r22.w_size), c2.arraySet(u2, t2, l22 - r22.w_size, r22.w_size, 0), t2 = u2, l22 = r22.w_size), a2 = e2.avail_in, o2 = e2.next_in, h2 = e2.input, e2.avail_in = l22, e2.next_in = 0, e2.input = t2, j2(r22); r22.lookahead >= x2; ) {
37514
+ for (n2 = r22.strstart, i2 = r22.lookahead - (x2 - 1); r22.ins_h = (r22.ins_h << r22.hash_shift ^ r22.window[n2 + x2 - 1]) & r22.hash_mask, r22.prev[n2 & r22.w_mask] = r22.head[r22.ins_h], r22.head[r22.ins_h] = n2, n2++, --i2; ) ;
37515
+ r22.strstart = n2, r22.lookahead = x2 - 1, j2(r22);
37497
37516
  }
37498
- return r22.strstart += r22.lookahead, r22.block_start = r22.strstart, r22.insert = r22.lookahead, r22.lookahead = 0, r22.match_length = r22.prev_length = x - 1, r22.match_available = 0, e2.next_in = o2, e2.input = h22, e2.avail_in = a2, r22.wrap = s22, m2;
37517
+ return r22.strstart += r22.lookahead, r22.block_start = r22.strstart, r22.insert = r22.lookahead, r22.lookahead = 0, r22.match_length = r22.prev_length = x2 - 1, r22.match_available = 0, e2.next_in = o2, e2.input = h2, e2.avail_in = a2, r22.wrap = s22, m2;
37499
37518
  }, r2.deflateInfo = "pako deflate (from Nodeca project)";
37500
37519
  }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./messages": 51, "./trees": 52 }], 47: [function(e, t, r2) {
37501
37520
  t.exports = function() {
@@ -37503,8 +37522,8 @@ function requireJszip_min() {
37503
37522
  };
37504
37523
  }, {}], 48: [function(e, t, r2) {
37505
37524
  t.exports = function(e2, t2) {
37506
- var r22, n, i, s2, a, o, h2, u, l3, f2, c2, d2, p, m2, _2, g, b2, v2, y2, w2, k2, x, S2, z2, C2;
37507
- r22 = e2.state, n = e2.next_in, z2 = e2.input, i = n + (e2.avail_in - 5), s2 = e2.next_out, C2 = e2.output, a = s2 - (t2 - e2.avail_out), o = s2 + (e2.avail_out - 257), h2 = r22.dmax, u = r22.wsize, l3 = r22.whave, f2 = r22.wnext, c2 = r22.window, d2 = r22.hold, p = r22.bits, m2 = r22.lencode, _2 = r22.distcode, g = (1 << r22.lenbits) - 1, b2 = (1 << r22.distbits) - 1;
37525
+ var r22, n, i, s2, a, o, h, u, l3, f2, c2, d2, p, m2, _2, g, b2, v2, y2, w2, k2, x2, S2, z2, C2;
37526
+ r22 = e2.state, n = e2.next_in, z2 = e2.input, i = n + (e2.avail_in - 5), s2 = e2.next_out, C2 = e2.output, a = s2 - (t2 - e2.avail_out), o = s2 + (e2.avail_out - 257), h = r22.dmax, u = r22.wsize, l3 = r22.whave, f2 = r22.wnext, c2 = r22.window, d2 = r22.hold, p = r22.bits, m2 = r22.lencode, _2 = r22.distcode, g = (1 << r22.lenbits) - 1, b2 = (1 << r22.distbits) - 1;
37508
37527
  e: do {
37509
37528
  p < 15 && (d2 += z2[n++] << p, p += 8, d2 += z2[n++] << p, p += 8), v2 = m2[d2 & g];
37510
37529
  t: for (; ; ) {
@@ -37532,7 +37551,7 @@ function requireJszip_min() {
37532
37551
  e2.msg = "invalid distance code", r22.mode = 30;
37533
37552
  break e;
37534
37553
  }
37535
- if (k2 = 65535 & v2, p < (y2 &= 15) && (d2 += z2[n++] << p, (p += 8) < y2 && (d2 += z2[n++] << p, p += 8)), h2 < (k2 += d2 & (1 << y2) - 1)) {
37554
+ if (k2 = 65535 & v2, p < (y2 &= 15) && (d2 += z2[n++] << p, (p += 8) < y2 && (d2 += z2[n++] << p, p += 8)), h < (k2 += d2 & (1 << y2) - 1)) {
37536
37555
  e2.msg = "invalid distance too far back", r22.mode = 30;
37537
37556
  break e;
37538
37557
  }
@@ -37541,28 +37560,28 @@ function requireJszip_min() {
37541
37560
  e2.msg = "invalid distance too far back", r22.mode = 30;
37542
37561
  break e;
37543
37562
  }
37544
- if (S2 = c2, (x = 0) === f2) {
37545
- if (x += u - y2, y2 < w2) {
37546
- for (w2 -= y2; C2[s2++] = c2[x++], --y2; ) ;
37547
- x = s2 - k2, S2 = C2;
37563
+ if (S2 = c2, (x2 = 0) === f2) {
37564
+ if (x2 += u - y2, y2 < w2) {
37565
+ for (w2 -= y2; C2[s2++] = c2[x2++], --y2; ) ;
37566
+ x2 = s2 - k2, S2 = C2;
37548
37567
  }
37549
37568
  } else if (f2 < y2) {
37550
- if (x += u + f2 - y2, (y2 -= f2) < w2) {
37551
- for (w2 -= y2; C2[s2++] = c2[x++], --y2; ) ;
37552
- if (x = 0, f2 < w2) {
37553
- for (w2 -= y2 = f2; C2[s2++] = c2[x++], --y2; ) ;
37554
- x = s2 - k2, S2 = C2;
37569
+ if (x2 += u + f2 - y2, (y2 -= f2) < w2) {
37570
+ for (w2 -= y2; C2[s2++] = c2[x2++], --y2; ) ;
37571
+ if (x2 = 0, f2 < w2) {
37572
+ for (w2 -= y2 = f2; C2[s2++] = c2[x2++], --y2; ) ;
37573
+ x2 = s2 - k2, S2 = C2;
37555
37574
  }
37556
37575
  }
37557
- } else if (x += f2 - y2, y2 < w2) {
37558
- for (w2 -= y2; C2[s2++] = c2[x++], --y2; ) ;
37559
- x = s2 - k2, S2 = C2;
37576
+ } else if (x2 += f2 - y2, y2 < w2) {
37577
+ for (w2 -= y2; C2[s2++] = c2[x2++], --y2; ) ;
37578
+ x2 = s2 - k2, S2 = C2;
37560
37579
  }
37561
- for (; 2 < w2; ) C2[s2++] = S2[x++], C2[s2++] = S2[x++], C2[s2++] = S2[x++], w2 -= 3;
37562
- w2 && (C2[s2++] = S2[x++], 1 < w2 && (C2[s2++] = S2[x++]));
37580
+ for (; 2 < w2; ) C2[s2++] = S2[x2++], C2[s2++] = S2[x2++], C2[s2++] = S2[x2++], w2 -= 3;
37581
+ w2 && (C2[s2++] = S2[x2++], 1 < w2 && (C2[s2++] = S2[x2++]));
37563
37582
  } else {
37564
- for (x = s2 - k2; C2[s2++] = C2[x++], C2[s2++] = C2[x++], C2[s2++] = C2[x++], 2 < (w2 -= 3); ) ;
37565
- w2 && (C2[s2++] = C2[x++], 1 < w2 && (C2[s2++] = C2[x++]));
37583
+ for (x2 = s2 - k2; C2[s2++] = C2[x2++], C2[s2++] = C2[x2++], C2[s2++] = C2[x2++], 2 < (w2 -= 3); ) ;
37584
+ w2 && (C2[s2++] = C2[x2++], 1 < w2 && (C2[s2++] = C2[x2++]));
37566
37585
  }
37567
37586
  break;
37568
37587
  }
@@ -37573,7 +37592,7 @@ function requireJszip_min() {
37573
37592
  n -= w2 = p >> 3, d2 &= (1 << (p -= w2 << 3)) - 1, e2.next_in = n, e2.next_out = s2, e2.avail_in = n < i ? i - n + 5 : 5 - (n - i), e2.avail_out = s2 < o ? o - s2 + 257 : 257 - (s2 - o), r22.hold = d2, r22.bits = p;
37574
37593
  };
37575
37594
  }, {}], 49: [function(e, t, r2) {
37576
- var I2 = e("../utils/common"), O2 = e("./adler32"), B2 = e("./crc32"), R2 = e("./inffast"), T = e("./inftrees"), D2 = 1, F2 = 2, N2 = 0, U2 = -2, P2 = 1, n = 852, i = 592;
37595
+ var I2 = e("../utils/common"), O = e("./adler32"), B2 = e("./crc32"), R = e("./inffast"), T2 = e("./inftrees"), D2 = 1, F2 = 2, N2 = 0, U2 = -2, P2 = 1, n = 852, i = 592;
37577
37596
  function L2(e2) {
37578
37597
  return (e2 >>> 24 & 255) + (e2 >>> 8 & 65280) + ((65280 & e2) << 8) + ((255 & e2) << 24);
37579
37598
  }
@@ -37588,13 +37607,13 @@ function requireJszip_min() {
37588
37607
  var t2;
37589
37608
  return e2 && e2.state ? ((t2 = e2.state).wsize = 0, t2.whave = 0, t2.wnext = 0, a(e2)) : U2;
37590
37609
  }
37591
- function h2(e2, t2) {
37610
+ function h(e2, t2) {
37592
37611
  var r22, n2;
37593
37612
  return e2 && e2.state ? (n2 = e2.state, t2 < 0 ? (r22 = 0, t2 = -t2) : (r22 = 1 + (t2 >> 4), t2 < 48 && (t2 &= 15)), t2 && (t2 < 8 || 15 < t2) ? U2 : (null !== n2.window && n2.wbits !== t2 && (n2.window = null), n2.wrap = r22, n2.wbits = t2, o(e2))) : U2;
37594
37613
  }
37595
37614
  function u(e2, t2) {
37596
37615
  var r22, n2;
37597
- return e2 ? (n2 = new s2(), (e2.state = n2).window = null, (r22 = h2(e2, t2)) !== N2 && (e2.state = null), r22) : U2;
37616
+ return e2 ? (n2 = new s2(), (e2.state = n2).window = null, (r22 = h(e2, t2)) !== N2 && (e2.state = null), r22) : U2;
37598
37617
  }
37599
37618
  var l3, f2, c2 = true;
37600
37619
  function j2(e2) {
@@ -37604,8 +37623,8 @@ function requireJszip_min() {
37604
37623
  for (; t2 < 256; ) e2.lens[t2++] = 9;
37605
37624
  for (; t2 < 280; ) e2.lens[t2++] = 7;
37606
37625
  for (; t2 < 288; ) e2.lens[t2++] = 8;
37607
- for (T(D2, e2.lens, 0, 288, l3, 0, e2.work, { bits: 9 }), t2 = 0; t2 < 32; ) e2.lens[t2++] = 5;
37608
- T(F2, e2.lens, 0, 32, f2, 0, e2.work, { bits: 5 }), c2 = false;
37626
+ for (T2(D2, e2.lens, 0, 288, l3, 0, e2.work, { bits: 9 }), t2 = 0; t2 < 32; ) e2.lens[t2++] = 5;
37627
+ T2(F2, e2.lens, 0, 32, f2, 0, e2.work, { bits: 5 }), c2 = false;
37609
37628
  }
37610
37629
  e2.lencode = l3, e2.lenbits = 9, e2.distcode = f2, e2.distbits = 5;
37611
37630
  }
@@ -37613,12 +37632,12 @@ function requireJszip_min() {
37613
37632
  var i2, s22 = e2.state;
37614
37633
  return null === s22.window && (s22.wsize = 1 << s22.wbits, s22.wnext = 0, s22.whave = 0, s22.window = new I2.Buf8(s22.wsize)), n2 >= s22.wsize ? (I2.arraySet(s22.window, t2, r22 - s22.wsize, s22.wsize, 0), s22.wnext = 0, s22.whave = s22.wsize) : (n2 < (i2 = s22.wsize - s22.wnext) && (i2 = n2), I2.arraySet(s22.window, t2, r22 - n2, i2, s22.wnext), (n2 -= i2) ? (I2.arraySet(s22.window, t2, r22 - n2, n2, 0), s22.wnext = n2, s22.whave = s22.wsize) : (s22.wnext += i2, s22.wnext === s22.wsize && (s22.wnext = 0), s22.whave < s22.wsize && (s22.whave += i2))), 0;
37615
37634
  }
37616
- r2.inflateReset = o, r2.inflateReset2 = h2, r2.inflateResetKeep = a, r2.inflateInit = function(e2) {
37635
+ r2.inflateReset = o, r2.inflateReset2 = h, r2.inflateResetKeep = a, r2.inflateInit = function(e2) {
37617
37636
  return u(e2, 15);
37618
37637
  }, r2.inflateInit2 = u, r2.inflate = function(e2, t2) {
37619
- var r22, n2, i2, s22, a2, o2, h22, u2, l22, f22, c22, d2, p, m2, _2, g, b2, v2, y2, w2, k2, x, S2, z2, C2 = 0, E2 = new I2.Buf8(4), A2 = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
37638
+ var r22, n2, i2, s22, a2, o2, h2, u2, l22, f22, c22, d2, p, m2, _2, g, b2, v2, y2, w2, k2, x2, S2, z2, C2 = 0, E2 = new I2.Buf8(4), A2 = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
37620
37639
  if (!e2 || !e2.state || !e2.output || !e2.input && 0 !== e2.avail_in) return U2;
37621
- 12 === (r22 = e2.state).mode && (r22.mode = 13), a2 = e2.next_out, i2 = e2.output, h22 = e2.avail_out, s22 = e2.next_in, n2 = e2.input, o2 = e2.avail_in, u2 = r22.hold, l22 = r22.bits, f22 = o2, c22 = h22, x = N2;
37640
+ 12 === (r22 = e2.state).mode && (r22.mode = 13), a2 = e2.next_out, i2 = e2.output, h2 = e2.avail_out, s22 = e2.next_in, n2 = e2.input, o2 = e2.avail_in, u2 = r22.hold, l22 = r22.bits, f22 = o2, c22 = h2, x2 = N2;
37622
37641
  e: for (; ; ) switch (r22.mode) {
37623
37642
  case P2:
37624
37643
  if (0 === r22.wrap) {
@@ -37721,7 +37740,7 @@ function requireJszip_min() {
37721
37740
  }
37722
37741
  e2.adler = r22.check = L2(u2), l22 = u2 = 0, r22.mode = 11;
37723
37742
  case 11:
37724
- if (0 === r22.havedict) return e2.next_out = a2, e2.avail_out = h22, e2.next_in = s22, e2.avail_in = o2, r22.hold = u2, r22.bits = l22, 2;
37743
+ if (0 === r22.havedict) return e2.next_out = a2, e2.avail_out = h2, e2.next_in = s22, e2.avail_in = o2, r22.hold = u2, r22.bits = l22, 2;
37725
37744
  e2.adler = r22.check = 1, r22.mode = 12;
37726
37745
  case 12:
37727
37746
  if (5 === t2 || 6 === t2) break e;
@@ -37764,8 +37783,8 @@ function requireJszip_min() {
37764
37783
  r22.mode = 16;
37765
37784
  case 16:
37766
37785
  if (d2 = r22.length) {
37767
- if (o2 < d2 && (d2 = o2), h22 < d2 && (d2 = h22), 0 === d2) break e;
37768
- I2.arraySet(i2, n2, s22, d2, a2), o2 -= d2, s22 += d2, h22 -= d2, a2 += d2, r22.length -= d2;
37786
+ if (o2 < d2 && (d2 = o2), h2 < d2 && (d2 = h2), 0 === d2) break e;
37787
+ I2.arraySet(i2, n2, s22, d2, a2), o2 -= d2, s22 += d2, h2 -= d2, a2 += d2, r22.length -= d2;
37769
37788
  break;
37770
37789
  }
37771
37790
  r22.mode = 12;
@@ -37789,7 +37808,7 @@ function requireJszip_min() {
37789
37808
  r22.lens[A2[r22.have++]] = 7 & u2, u2 >>>= 3, l22 -= 3;
37790
37809
  }
37791
37810
  for (; r22.have < 19; ) r22.lens[A2[r22.have++]] = 0;
37792
- if (r22.lencode = r22.lendyn, r22.lenbits = 7, S2 = { bits: r22.lenbits }, x = T(0, r22.lens, 0, 19, r22.lencode, 0, r22.work, S2), r22.lenbits = S2.bits, x) {
37811
+ if (r22.lencode = r22.lendyn, r22.lenbits = 7, S2 = { bits: r22.lenbits }, x2 = T2(0, r22.lens, 0, 19, r22.lencode, 0, r22.work, S2), r22.lenbits = S2.bits, x2) {
37793
37812
  e2.msg = "invalid code lengths set", r22.mode = 30;
37794
37813
  break;
37795
37814
  }
@@ -37837,11 +37856,11 @@ function requireJszip_min() {
37837
37856
  e2.msg = "invalid code -- missing end-of-block", r22.mode = 30;
37838
37857
  break;
37839
37858
  }
37840
- if (r22.lenbits = 9, S2 = { bits: r22.lenbits }, x = T(D2, r22.lens, 0, r22.nlen, r22.lencode, 0, r22.work, S2), r22.lenbits = S2.bits, x) {
37859
+ if (r22.lenbits = 9, S2 = { bits: r22.lenbits }, x2 = T2(D2, r22.lens, 0, r22.nlen, r22.lencode, 0, r22.work, S2), r22.lenbits = S2.bits, x2) {
37841
37860
  e2.msg = "invalid literal/lengths set", r22.mode = 30;
37842
37861
  break;
37843
37862
  }
37844
- if (r22.distbits = 6, r22.distcode = r22.distdyn, S2 = { bits: r22.distbits }, x = T(F2, r22.lens, r22.nlen, r22.ndist, r22.distcode, 0, r22.work, S2), r22.distbits = S2.bits, x) {
37863
+ if (r22.distbits = 6, r22.distcode = r22.distdyn, S2 = { bits: r22.distbits }, x2 = T2(F2, r22.lens, r22.nlen, r22.ndist, r22.distcode, 0, r22.work, S2), r22.distbits = S2.bits, x2) {
37845
37864
  e2.msg = "invalid distances set", r22.mode = 30;
37846
37865
  break;
37847
37866
  }
@@ -37849,8 +37868,8 @@ function requireJszip_min() {
37849
37868
  case 20:
37850
37869
  r22.mode = 21;
37851
37870
  case 21:
37852
- if (6 <= o2 && 258 <= h22) {
37853
- e2.next_out = a2, e2.avail_out = h22, e2.next_in = s22, e2.avail_in = o2, r22.hold = u2, r22.bits = l22, R2(e2, c22), a2 = e2.next_out, i2 = e2.output, h22 = e2.avail_out, s22 = e2.next_in, n2 = e2.input, o2 = e2.avail_in, u2 = r22.hold, l22 = r22.bits, 12 === r22.mode && (r22.back = -1);
37871
+ if (6 <= o2 && 258 <= h2) {
37872
+ e2.next_out = a2, e2.avail_out = h2, e2.next_in = s22, e2.avail_in = o2, r22.hold = u2, r22.bits = l22, R(e2, c22), a2 = e2.next_out, i2 = e2.output, h2 = e2.avail_out, s22 = e2.next_in, n2 = e2.input, o2 = e2.avail_in, u2 = r22.hold, l22 = r22.bits, 12 === r22.mode && (r22.back = -1);
37854
37873
  break;
37855
37874
  }
37856
37875
  for (r22.back = 0; g = (C2 = r22.lencode[u2 & (1 << r22.lenbits) - 1]) >>> 16 & 255, b2 = 65535 & C2, !((_2 = C2 >>> 24) <= l22); ) {
@@ -37917,20 +37936,20 @@ function requireJszip_min() {
37917
37936
  }
37918
37937
  r22.mode = 25;
37919
37938
  case 25:
37920
- if (0 === h22) break e;
37921
- if (d2 = c22 - h22, r22.offset > d2) {
37939
+ if (0 === h2) break e;
37940
+ if (d2 = c22 - h2, r22.offset > d2) {
37922
37941
  if ((d2 = r22.offset - d2) > r22.whave && r22.sane) {
37923
37942
  e2.msg = "invalid distance too far back", r22.mode = 30;
37924
37943
  break;
37925
37944
  }
37926
37945
  p = d2 > r22.wnext ? (d2 -= r22.wnext, r22.wsize - d2) : r22.wnext - d2, d2 > r22.length && (d2 = r22.length), m2 = r22.window;
37927
37946
  } else m2 = i2, p = a2 - r22.offset, d2 = r22.length;
37928
- for (h22 < d2 && (d2 = h22), h22 -= d2, r22.length -= d2; i2[a2++] = m2[p++], --d2; ) ;
37947
+ for (h2 < d2 && (d2 = h2), h2 -= d2, r22.length -= d2; i2[a2++] = m2[p++], --d2; ) ;
37929
37948
  0 === r22.length && (r22.mode = 21);
37930
37949
  break;
37931
37950
  case 26:
37932
- if (0 === h22) break e;
37933
- i2[a2++] = r22.length, h22--, r22.mode = 21;
37951
+ if (0 === h2) break e;
37952
+ i2[a2++] = r22.length, h2--, r22.mode = 21;
37934
37953
  break;
37935
37954
  case 27:
37936
37955
  if (r22.wrap) {
@@ -37938,7 +37957,7 @@ function requireJszip_min() {
37938
37957
  if (0 === o2) break e;
37939
37958
  o2--, u2 |= n2[s22++] << l22, l22 += 8;
37940
37959
  }
37941
- if (c22 -= h22, e2.total_out += c22, r22.total += c22, c22 && (e2.adler = r22.check = r22.flags ? B2(r22.check, i2, c22, a2 - c22) : O2(r22.check, i2, c22, a2 - c22)), c22 = h22, (r22.flags ? u2 : L2(u2)) !== r22.check) {
37960
+ if (c22 -= h2, e2.total_out += c22, r22.total += c22, c22 && (e2.adler = r22.check = r22.flags ? B2(r22.check, i2, c22, a2 - c22) : O(r22.check, i2, c22, a2 - c22)), c22 = h2, (r22.flags ? u2 : L2(u2)) !== r22.check) {
37942
37961
  e2.msg = "incorrect data check", r22.mode = 30;
37943
37962
  break;
37944
37963
  }
@@ -37959,10 +37978,10 @@ function requireJszip_min() {
37959
37978
  }
37960
37979
  r22.mode = 29;
37961
37980
  case 29:
37962
- x = 1;
37981
+ x2 = 1;
37963
37982
  break e;
37964
37983
  case 30:
37965
- x = -3;
37984
+ x2 = -3;
37966
37985
  break e;
37967
37986
  case 31:
37968
37987
  return -4;
@@ -37970,7 +37989,7 @@ function requireJszip_min() {
37970
37989
  default:
37971
37990
  return U2;
37972
37991
  }
37973
- return e2.next_out = a2, e2.avail_out = h22, e2.next_in = s22, e2.avail_in = o2, r22.hold = u2, r22.bits = l22, (r22.wsize || c22 !== e2.avail_out && r22.mode < 30 && (r22.mode < 27 || 4 !== t2)) && Z(e2, e2.output, e2.next_out, c22 - e2.avail_out) ? (r22.mode = 31, -4) : (f22 -= e2.avail_in, c22 -= e2.avail_out, e2.total_in += f22, e2.total_out += c22, r22.total += c22, r22.wrap && c22 && (e2.adler = r22.check = r22.flags ? B2(r22.check, i2, c22, e2.next_out - c22) : O2(r22.check, i2, c22, e2.next_out - c22)), e2.data_type = r22.bits + (r22.last ? 64 : 0) + (12 === r22.mode ? 128 : 0) + (20 === r22.mode || 15 === r22.mode ? 256 : 0), (0 == f22 && 0 === c22 || 4 === t2) && x === N2 && (x = -5), x);
37992
+ return e2.next_out = a2, e2.avail_out = h2, e2.next_in = s22, e2.avail_in = o2, r22.hold = u2, r22.bits = l22, (r22.wsize || c22 !== e2.avail_out && r22.mode < 30 && (r22.mode < 27 || 4 !== t2)) && Z(e2, e2.output, e2.next_out, c22 - e2.avail_out) ? (r22.mode = 31, -4) : (f22 -= e2.avail_in, c22 -= e2.avail_out, e2.total_in += f22, e2.total_out += c22, r22.total += c22, r22.wrap && c22 && (e2.adler = r22.check = r22.flags ? B2(r22.check, i2, c22, e2.next_out - c22) : O(r22.check, i2, c22, e2.next_out - c22)), e2.data_type = r22.bits + (r22.last ? 64 : 0) + (12 === r22.mode ? 128 : 0) + (20 === r22.mode || 15 === r22.mode ? 256 : 0), (0 == f22 && 0 === c22 || 4 === t2) && x2 === N2 && (x2 = -5), x2);
37974
37993
  }, r2.inflateEnd = function(e2) {
37975
37994
  if (!e2 || !e2.state) return U2;
37976
37995
  var t2 = e2.state;
@@ -37980,33 +37999,33 @@ function requireJszip_min() {
37980
37999
  return e2 && e2.state ? 0 == (2 & (r22 = e2.state).wrap) ? U2 : ((r22.head = t2).done = false, N2) : U2;
37981
38000
  }, r2.inflateSetDictionary = function(e2, t2) {
37982
38001
  var r22, n2 = t2.length;
37983
- return e2 && e2.state ? 0 !== (r22 = e2.state).wrap && 11 !== r22.mode ? U2 : 11 === r22.mode && O2(1, t2, n2, 0) !== r22.check ? -3 : Z(e2, t2, n2, n2) ? (r22.mode = 31, -4) : (r22.havedict = 1, N2) : U2;
38002
+ return e2 && e2.state ? 0 !== (r22 = e2.state).wrap && 11 !== r22.mode ? U2 : 11 === r22.mode && O(1, t2, n2, 0) !== r22.check ? -3 : Z(e2, t2, n2, n2) ? (r22.mode = 31, -4) : (r22.havedict = 1, N2) : U2;
37984
38003
  }, r2.inflateInfo = "pako inflate (from Nodeca project)";
37985
38004
  }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./inffast": 48, "./inftrees": 50 }], 50: [function(e, t, r2) {
37986
38005
  var D2 = e("../utils/common"), F2 = [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], N2 = [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], U2 = [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], P2 = [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];
37987
38006
  t.exports = function(e2, t2, r22, n, i, s2, a, o) {
37988
- var h2, u, l3, f2, c2, d2, p, m2, _2, g = o.bits, b2 = 0, v2 = 0, y2 = 0, w2 = 0, k2 = 0, x = 0, S2 = 0, z2 = 0, C2 = 0, E2 = 0, A2 = null, I2 = 0, O2 = new D2.Buf16(16), B2 = new D2.Buf16(16), R2 = null, T = 0;
37989
- for (b2 = 0; b2 <= 15; b2++) O2[b2] = 0;
37990
- for (v2 = 0; v2 < n; v2++) O2[t2[r22 + v2]]++;
37991
- for (k2 = g, w2 = 15; 1 <= w2 && 0 === O2[w2]; w2--) ;
38007
+ var h, u, l3, f2, c2, d2, p, m2, _2, g = o.bits, b2 = 0, v2 = 0, y2 = 0, w2 = 0, k2 = 0, x2 = 0, S2 = 0, z2 = 0, C2 = 0, E2 = 0, A2 = null, I2 = 0, O = new D2.Buf16(16), B2 = new D2.Buf16(16), R = null, T2 = 0;
38008
+ for (b2 = 0; b2 <= 15; b2++) O[b2] = 0;
38009
+ for (v2 = 0; v2 < n; v2++) O[t2[r22 + v2]]++;
38010
+ for (k2 = g, w2 = 15; 1 <= w2 && 0 === O[w2]; w2--) ;
37992
38011
  if (w2 < k2 && (k2 = w2), 0 === w2) return i[s2++] = 20971520, i[s2++] = 20971520, o.bits = 1, 0;
37993
- for (y2 = 1; y2 < w2 && 0 === O2[y2]; y2++) ;
37994
- for (k2 < y2 && (k2 = y2), b2 = z2 = 1; b2 <= 15; b2++) if (z2 <<= 1, (z2 -= O2[b2]) < 0) return -1;
38012
+ for (y2 = 1; y2 < w2 && 0 === O[y2]; y2++) ;
38013
+ for (k2 < y2 && (k2 = y2), b2 = z2 = 1; b2 <= 15; b2++) if (z2 <<= 1, (z2 -= O[b2]) < 0) return -1;
37995
38014
  if (0 < z2 && (0 === e2 || 1 !== w2)) return -1;
37996
- for (B2[1] = 0, b2 = 1; b2 < 15; b2++) B2[b2 + 1] = B2[b2] + O2[b2];
38015
+ for (B2[1] = 0, b2 = 1; b2 < 15; b2++) B2[b2 + 1] = B2[b2] + O[b2];
37997
38016
  for (v2 = 0; v2 < n; v2++) 0 !== t2[r22 + v2] && (a[B2[t2[r22 + v2]]++] = v2);
37998
- if (d2 = 0 === e2 ? (A2 = R2 = a, 19) : 1 === e2 ? (A2 = F2, I2 -= 257, R2 = N2, T -= 257, 256) : (A2 = U2, R2 = P2, -1), b2 = y2, c2 = s2, S2 = v2 = E2 = 0, l3 = -1, f2 = (C2 = 1 << (x = k2)) - 1, 1 === e2 && 852 < C2 || 2 === e2 && 592 < C2) return 1;
38017
+ if (d2 = 0 === e2 ? (A2 = R = a, 19) : 1 === e2 ? (A2 = F2, I2 -= 257, R = N2, T2 -= 257, 256) : (A2 = U2, R = P2, -1), b2 = y2, c2 = s2, S2 = v2 = E2 = 0, l3 = -1, f2 = (C2 = 1 << (x2 = k2)) - 1, 1 === e2 && 852 < C2 || 2 === e2 && 592 < C2) return 1;
37999
38018
  for (; ; ) {
38000
- for (p = b2 - S2, _2 = a[v2] < d2 ? (m2 = 0, a[v2]) : a[v2] > d2 ? (m2 = R2[T + a[v2]], A2[I2 + a[v2]]) : (m2 = 96, 0), h2 = 1 << b2 - S2, y2 = u = 1 << x; i[c2 + (E2 >> S2) + (u -= h2)] = p << 24 | m2 << 16 | _2 | 0, 0 !== u; ) ;
38001
- for (h2 = 1 << b2 - 1; E2 & h2; ) h2 >>= 1;
38002
- if (0 !== h2 ? (E2 &= h2 - 1, E2 += h2) : E2 = 0, v2++, 0 == --O2[b2]) {
38019
+ for (p = b2 - S2, _2 = a[v2] < d2 ? (m2 = 0, a[v2]) : a[v2] > d2 ? (m2 = R[T2 + a[v2]], A2[I2 + a[v2]]) : (m2 = 96, 0), h = 1 << b2 - S2, y2 = u = 1 << x2; i[c2 + (E2 >> S2) + (u -= h)] = p << 24 | m2 << 16 | _2 | 0, 0 !== u; ) ;
38020
+ for (h = 1 << b2 - 1; E2 & h; ) h >>= 1;
38021
+ if (0 !== h ? (E2 &= h - 1, E2 += h) : E2 = 0, v2++, 0 == --O[b2]) {
38003
38022
  if (b2 === w2) break;
38004
38023
  b2 = t2[r22 + a[v2]];
38005
38024
  }
38006
38025
  if (k2 < b2 && (E2 & f2) !== l3) {
38007
- for (0 === S2 && (S2 = k2), c2 += y2, z2 = 1 << (x = b2 - S2); x + S2 < w2 && !((z2 -= O2[x + S2]) <= 0); ) x++, z2 <<= 1;
38008
- if (C2 += 1 << x, 1 === e2 && 852 < C2 || 2 === e2 && 592 < C2) return 1;
38009
- i[l3 = E2 & f2] = k2 << 24 | x << 16 | c2 - s2 | 0;
38026
+ for (0 === S2 && (S2 = k2), c2 += y2, z2 = 1 << (x2 = b2 - S2); x2 + S2 < w2 && !((z2 -= O[x2 + S2]) <= 0); ) x2++, z2 <<= 1;
38027
+ if (C2 += 1 << x2, 1 === e2 && 852 < C2 || 2 === e2 && 592 < C2) return 1;
38028
+ i[l3 = E2 & f2] = k2 << 24 | x2 << 16 | c2 - s2 | 0;
38010
38029
  }
38011
38030
  }
38012
38031
  return 0 !== E2 && (i[c2 + E2] = b2 - S2 << 24 | 64 << 16 | 0), o.bits = k2, 0;
@@ -38014,11 +38033,11 @@ function requireJszip_min() {
38014
38033
  }, { "../utils/common": 41 }], 51: [function(e, t, r2) {
38015
38034
  t.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" };
38016
38035
  }, {}], 52: [function(e, t, r2) {
38017
- var i = e("../utils/common"), o = 0, h2 = 1;
38036
+ var i = e("../utils/common"), o = 0, h = 1;
38018
38037
  function n(e2) {
38019
38038
  for (var t2 = e2.length; 0 <= --t2; ) e2[t2] = 0;
38020
38039
  }
38021
- var s2 = 0, a = 29, u = 256, l3 = u + 1 + a, f2 = 30, c2 = 19, _2 = 2 * l3 + 1, g = 15, d2 = 16, p = 7, m2 = 256, b2 = 16, v2 = 17, y2 = 18, w2 = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0], k2 = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], x = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], S2 = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], z2 = new Array(2 * (l3 + 2));
38040
+ var s2 = 0, a = 29, u = 256, l3 = u + 1 + a, f2 = 30, c2 = 19, _2 = 2 * l3 + 1, g = 15, d2 = 16, p = 7, m2 = 256, b2 = 16, v2 = 17, y2 = 18, w2 = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0], k2 = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], x2 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], S2 = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], z2 = new Array(2 * (l3 + 2));
38022
38041
  n(z2);
38023
38042
  var C2 = new Array(2 * f2);
38024
38043
  n(C2);
@@ -38028,7 +38047,7 @@ function requireJszip_min() {
38028
38047
  n(A2);
38029
38048
  var I2 = new Array(a);
38030
38049
  n(I2);
38031
- var O2, B2, R2, T = new Array(f2);
38050
+ var O, B2, R, T2 = new Array(f2);
38032
38051
  function D2(e2, t2, r22, n2, i2) {
38033
38052
  this.static_tree = e2, this.extra_bits = t2, this.extra_base = r22, this.elems = n2, this.max_length = i2, this.has_stree = e2 && e2.length;
38034
38053
  }
@@ -38079,15 +38098,15 @@ function requireJszip_min() {
38079
38098
  }
38080
38099
  function K2(e2, t2, r22) {
38081
38100
  var n2, i2, s22, a2, o2 = 0;
38082
- if (0 !== e2.last_lit) for (; n2 = e2.pending_buf[e2.d_buf + 2 * o2] << 8 | e2.pending_buf[e2.d_buf + 2 * o2 + 1], i2 = e2.pending_buf[e2.l_buf + o2], o2++, 0 === n2 ? L2(e2, i2, t2) : (L2(e2, (s22 = A2[i2]) + u + 1, t2), 0 !== (a2 = w2[s22]) && P2(e2, i2 -= I2[s22], a2), L2(e2, s22 = N2(--n2), r22), 0 !== (a2 = k2[s22]) && P2(e2, n2 -= T[s22], a2)), o2 < e2.last_lit; ) ;
38101
+ if (0 !== e2.last_lit) for (; n2 = e2.pending_buf[e2.d_buf + 2 * o2] << 8 | e2.pending_buf[e2.d_buf + 2 * o2 + 1], i2 = e2.pending_buf[e2.l_buf + o2], o2++, 0 === n2 ? L2(e2, i2, t2) : (L2(e2, (s22 = A2[i2]) + u + 1, t2), 0 !== (a2 = w2[s22]) && P2(e2, i2 -= I2[s22], a2), L2(e2, s22 = N2(--n2), r22), 0 !== (a2 = k2[s22]) && P2(e2, n2 -= T2[s22], a2)), o2 < e2.last_lit; ) ;
38083
38102
  L2(e2, m2, t2);
38084
38103
  }
38085
38104
  function Y2(e2, t2) {
38086
- var r22, n2, i2, s22 = t2.dyn_tree, a2 = t2.stat_desc.static_tree, o2 = t2.stat_desc.has_stree, h22 = t2.stat_desc.elems, u2 = -1;
38087
- for (e2.heap_len = 0, e2.heap_max = _2, r22 = 0; r22 < h22; r22++) 0 !== s22[2 * r22] ? (e2.heap[++e2.heap_len] = u2 = r22, e2.depth[r22] = 0) : s22[2 * r22 + 1] = 0;
38105
+ var r22, n2, i2, s22 = t2.dyn_tree, a2 = t2.stat_desc.static_tree, o2 = t2.stat_desc.has_stree, h2 = t2.stat_desc.elems, u2 = -1;
38106
+ for (e2.heap_len = 0, e2.heap_max = _2, r22 = 0; r22 < h2; r22++) 0 !== s22[2 * r22] ? (e2.heap[++e2.heap_len] = u2 = r22, e2.depth[r22] = 0) : s22[2 * r22 + 1] = 0;
38088
38107
  for (; e2.heap_len < 2; ) s22[2 * (i2 = e2.heap[++e2.heap_len] = u2 < 2 ? ++u2 : 0)] = 1, e2.depth[i2] = 0, e2.opt_len--, o2 && (e2.static_len -= a2[2 * i2 + 1]);
38089
38108
  for (t2.max_code = u2, r22 = e2.heap_len >> 1; 1 <= r22; r22--) G2(e2, s22, r22);
38090
- for (i2 = h22; r22 = e2.heap[1], e2.heap[1] = e2.heap[e2.heap_len--], G2(e2, s22, 1), n2 = e2.heap[1], e2.heap[--e2.heap_max] = r22, e2.heap[--e2.heap_max] = n2, s22[2 * i2] = s22[2 * r22] + s22[2 * n2], e2.depth[i2] = (e2.depth[r22] >= e2.depth[n2] ? e2.depth[r22] : e2.depth[n2]) + 1, s22[2 * r22 + 1] = s22[2 * n2 + 1] = i2, e2.heap[1] = i2++, G2(e2, s22, 1), 2 <= e2.heap_len; ) ;
38109
+ for (i2 = h2; r22 = e2.heap[1], e2.heap[1] = e2.heap[e2.heap_len--], G2(e2, s22, 1), n2 = e2.heap[1], e2.heap[--e2.heap_max] = r22, e2.heap[--e2.heap_max] = n2, s22[2 * i2] = s22[2 * r22] + s22[2 * n2], e2.depth[i2] = (e2.depth[r22] >= e2.depth[n2] ? e2.depth[r22] : e2.depth[n2]) + 1, s22[2 * r22 + 1] = s22[2 * n2 + 1] = i2, e2.heap[1] = i2++, G2(e2, s22, 1), 2 <= e2.heap_len; ) ;
38091
38110
  e2.heap[--e2.heap_max] = e2.heap[1], (function(e3, t3) {
38092
38111
  var r3, n3, i3, s3, a3, o3, h3 = t3.dyn_tree, u3 = t3.max_code, l22 = t3.stat_desc.static_tree, f22 = t3.stat_desc.has_stree, c22 = t3.stat_desc.extra_bits, d22 = t3.stat_desc.extra_base, p2 = t3.stat_desc.max_length, m22 = 0;
38093
38112
  for (s3 = 0; s3 <= g; s3++) e3.bl_count[s3] = 0;
@@ -38102,18 +38121,18 @@ function requireJszip_min() {
38102
38121
  })(e2, t2), Z(s22, u2, e2.bl_count);
38103
38122
  }
38104
38123
  function X2(e2, t2, r22) {
38105
- var n2, i2, s22 = -1, a2 = t2[1], o2 = 0, h22 = 7, u2 = 4;
38106
- for (0 === a2 && (h22 = 138, u2 = 3), t2[2 * (r22 + 1) + 1] = 65535, n2 = 0; n2 <= r22; n2++) i2 = a2, a2 = t2[2 * (n2 + 1) + 1], ++o2 < h22 && i2 === a2 || (o2 < u2 ? e2.bl_tree[2 * i2] += o2 : 0 !== i2 ? (i2 !== s22 && e2.bl_tree[2 * i2]++, e2.bl_tree[2 * b2]++) : o2 <= 10 ? e2.bl_tree[2 * v2]++ : e2.bl_tree[2 * y2]++, s22 = i2, u2 = (o2 = 0) === a2 ? (h22 = 138, 3) : i2 === a2 ? (h22 = 6, 3) : (h22 = 7, 4));
38124
+ var n2, i2, s22 = -1, a2 = t2[1], o2 = 0, h2 = 7, u2 = 4;
38125
+ for (0 === a2 && (h2 = 138, u2 = 3), t2[2 * (r22 + 1) + 1] = 65535, n2 = 0; n2 <= r22; n2++) i2 = a2, a2 = t2[2 * (n2 + 1) + 1], ++o2 < h2 && i2 === a2 || (o2 < u2 ? e2.bl_tree[2 * i2] += o2 : 0 !== i2 ? (i2 !== s22 && e2.bl_tree[2 * i2]++, e2.bl_tree[2 * b2]++) : o2 <= 10 ? e2.bl_tree[2 * v2]++ : e2.bl_tree[2 * y2]++, s22 = i2, u2 = (o2 = 0) === a2 ? (h2 = 138, 3) : i2 === a2 ? (h2 = 6, 3) : (h2 = 7, 4));
38107
38126
  }
38108
38127
  function V2(e2, t2, r22) {
38109
- var n2, i2, s22 = -1, a2 = t2[1], o2 = 0, h22 = 7, u2 = 4;
38110
- for (0 === a2 && (h22 = 138, u2 = 3), n2 = 0; n2 <= r22; n2++) if (i2 = a2, a2 = t2[2 * (n2 + 1) + 1], !(++o2 < h22 && i2 === a2)) {
38128
+ var n2, i2, s22 = -1, a2 = t2[1], o2 = 0, h2 = 7, u2 = 4;
38129
+ for (0 === a2 && (h2 = 138, u2 = 3), n2 = 0; n2 <= r22; n2++) if (i2 = a2, a2 = t2[2 * (n2 + 1) + 1], !(++o2 < h2 && i2 === a2)) {
38111
38130
  if (o2 < u2) for (; L2(e2, i2, e2.bl_tree), 0 != --o2; ) ;
38112
38131
  else 0 !== i2 ? (i2 !== s22 && (L2(e2, i2, e2.bl_tree), o2--), L2(e2, b2, e2.bl_tree), P2(e2, o2 - 3, 2)) : o2 <= 10 ? (L2(e2, v2, e2.bl_tree), P2(e2, o2 - 3, 3)) : (L2(e2, y2, e2.bl_tree), P2(e2, o2 - 11, 7));
38113
- s22 = i2, u2 = (o2 = 0) === a2 ? (h22 = 138, 3) : i2 === a2 ? (h22 = 6, 3) : (h22 = 7, 4);
38132
+ s22 = i2, u2 = (o2 = 0) === a2 ? (h2 = 138, 3) : i2 === a2 ? (h2 = 6, 3) : (h2 = 7, 4);
38114
38133
  }
38115
38134
  }
38116
- n(T);
38135
+ n(T2);
38117
38136
  var q2 = false;
38118
38137
  function J2(e2, t2, r22, n2) {
38119
38138
  P2(e2, (s2 << 1) + (n2 ? 1 : 0), 3), (function(e3, t3, r3, n3) {
@@ -38124,23 +38143,23 @@ function requireJszip_min() {
38124
38143
  q2 || ((function() {
38125
38144
  var e3, t2, r22, n2, i2, s22 = new Array(g + 1);
38126
38145
  for (n2 = r22 = 0; n2 < a - 1; n2++) for (I2[n2] = r22, e3 = 0; e3 < 1 << w2[n2]; e3++) A2[r22++] = n2;
38127
- for (A2[r22 - 1] = n2, n2 = i2 = 0; n2 < 16; n2++) for (T[n2] = i2, e3 = 0; e3 < 1 << k2[n2]; e3++) E2[i2++] = n2;
38128
- for (i2 >>= 7; n2 < f2; n2++) for (T[n2] = i2 << 7, e3 = 0; e3 < 1 << k2[n2] - 7; e3++) E2[256 + i2++] = n2;
38146
+ for (A2[r22 - 1] = n2, n2 = i2 = 0; n2 < 16; n2++) for (T2[n2] = i2, e3 = 0; e3 < 1 << k2[n2]; e3++) E2[i2++] = n2;
38147
+ for (i2 >>= 7; n2 < f2; n2++) for (T2[n2] = i2 << 7, e3 = 0; e3 < 1 << k2[n2] - 7; e3++) E2[256 + i2++] = n2;
38129
38148
  for (t2 = 0; t2 <= g; t2++) s22[t2] = 0;
38130
38149
  for (e3 = 0; e3 <= 143; ) z2[2 * e3 + 1] = 8, e3++, s22[8]++;
38131
38150
  for (; e3 <= 255; ) z2[2 * e3 + 1] = 9, e3++, s22[9]++;
38132
38151
  for (; e3 <= 279; ) z2[2 * e3 + 1] = 7, e3++, s22[7]++;
38133
38152
  for (; e3 <= 287; ) z2[2 * e3 + 1] = 8, e3++, s22[8]++;
38134
38153
  for (Z(z2, l3 + 1, s22), e3 = 0; e3 < f2; e3++) C2[2 * e3 + 1] = 5, C2[2 * e3] = j2(e3, 5);
38135
- O2 = new D2(z2, w2, u + 1, l3, g), B2 = new D2(C2, k2, 0, f2, g), R2 = new D2(new Array(0), x, 0, c2, p);
38136
- })(), q2 = true), e2.l_desc = new F2(e2.dyn_ltree, O2), e2.d_desc = new F2(e2.dyn_dtree, B2), e2.bl_desc = new F2(e2.bl_tree, R2), e2.bi_buf = 0, e2.bi_valid = 0, W2(e2);
38154
+ O = new D2(z2, w2, u + 1, l3, g), B2 = new D2(C2, k2, 0, f2, g), R = new D2(new Array(0), x2, 0, c2, p);
38155
+ })(), q2 = true), e2.l_desc = new F2(e2.dyn_ltree, O), e2.d_desc = new F2(e2.dyn_dtree, B2), e2.bl_desc = new F2(e2.bl_tree, R), e2.bi_buf = 0, e2.bi_valid = 0, W2(e2);
38137
38156
  }, r2._tr_stored_block = J2, r2._tr_flush_block = function(e2, t2, r22, n2) {
38138
38157
  var i2, s22, a2 = 0;
38139
38158
  0 < e2.level ? (2 === e2.strm.data_type && (e2.strm.data_type = (function(e3) {
38140
38159
  var t3, r3 = 4093624447;
38141
38160
  for (t3 = 0; t3 <= 31; t3++, r3 >>>= 1) if (1 & r3 && 0 !== e3.dyn_ltree[2 * t3]) return o;
38142
- if (0 !== e3.dyn_ltree[18] || 0 !== e3.dyn_ltree[20] || 0 !== e3.dyn_ltree[26]) return h2;
38143
- for (t3 = 32; t3 < u; t3++) if (0 !== e3.dyn_ltree[2 * t3]) return h2;
38161
+ if (0 !== e3.dyn_ltree[18] || 0 !== e3.dyn_ltree[20] || 0 !== e3.dyn_ltree[26]) return h;
38162
+ for (t3 = 32; t3 < u; t3++) if (0 !== e3.dyn_ltree[2 * t3]) return h;
38144
38163
  return o;
38145
38164
  })(e2)), Y2(e2, e2.l_desc), Y2(e2, e2.d_desc), a2 = (function(e3) {
38146
38165
  var t3;
@@ -38166,7 +38185,7 @@ function requireJszip_min() {
38166
38185
  (function(e2) {
38167
38186
  !(function(r22, n) {
38168
38187
  if (!r22.setImmediate) {
38169
- var i, s2, t2, a, o = 1, h2 = {}, u = false, l3 = r22.document, e3 = Object.getPrototypeOf && Object.getPrototypeOf(r22);
38188
+ var i, s2, t2, a, o = 1, h = {}, u = false, l3 = r22.document, e3 = Object.getPrototypeOf && Object.getPrototypeOf(r22);
38170
38189
  e3 = e3 && e3.setTimeout ? e3 : r22, i = "[object process]" === {}.toString.call(r22.process) ? function(e4) {
38171
38190
  process$1$1.nextTick(function() {
38172
38191
  c2(e4);
@@ -38195,16 +38214,16 @@ function requireJszip_min() {
38195
38214
  "function" != typeof e4 && (e4 = new Function("" + e4));
38196
38215
  for (var t3 = new Array(arguments.length - 1), r3 = 0; r3 < t3.length; r3++) t3[r3] = arguments[r3 + 1];
38197
38216
  var n2 = { callback: e4, args: t3 };
38198
- return h2[o] = n2, i(o), o++;
38217
+ return h[o] = n2, i(o), o++;
38199
38218
  }, e3.clearImmediate = f2;
38200
38219
  }
38201
38220
  function f2(e4) {
38202
- delete h2[e4];
38221
+ delete h[e4];
38203
38222
  }
38204
38223
  function c2(e4) {
38205
38224
  if (u) setTimeout(c2, 0, e4);
38206
38225
  else {
38207
- var t3 = h2[e4];
38226
+ var t3 = h[e4];
38208
38227
  if (t3) {
38209
38228
  u = true;
38210
38229
  try {
@@ -39209,17 +39228,17 @@ function deepActiveElement(doc2) {
39209
39228
  elt = elt.shadowRoot.activeElement;
39210
39229
  return elt;
39211
39230
  }
39212
- function caretFromPoint(doc2, x, y2) {
39231
+ function caretFromPoint(doc2, x2, y2) {
39213
39232
  if (doc2.caretPositionFromPoint) {
39214
39233
  try {
39215
- let pos = doc2.caretPositionFromPoint(x, y2);
39234
+ let pos = doc2.caretPositionFromPoint(x2, y2);
39216
39235
  if (pos)
39217
39236
  return { node: pos.offsetNode, offset: Math.min(nodeSize(pos.offsetNode), pos.offset) };
39218
39237
  } catch (_2) {
39219
39238
  }
39220
39239
  }
39221
39240
  if (doc2.caretRangeFromPoint) {
39222
- let range2 = doc2.caretRangeFromPoint(x, y2);
39241
+ let range2 = doc2.caretRangeFromPoint(x2, y2);
39223
39242
  if (range2)
39224
39243
  return { node: range2.startContainer, offset: Math.min(nodeSize(range2.startContainer), range2.startOffset) };
39225
39244
  }
@@ -39318,8 +39337,8 @@ function scrollRectIntoView(view, rect, startDOM) {
39318
39337
  function storeScrollPos(view) {
39319
39338
  let rect = view.dom.getBoundingClientRect(), startY = Math.max(0, rect.top);
39320
39339
  let refDOM, refTop;
39321
- for (let x = (rect.left + rect.right) / 2, y2 = startY + 1; y2 < Math.min(innerHeight, rect.bottom); y2 += 5) {
39322
- let dom = view.root.elementFromPoint(x, y2);
39340
+ for (let x2 = (rect.left + rect.right) / 2, y2 = startY + 1; y2 < Math.min(innerHeight, rect.bottom); y2 += 5) {
39341
+ let dom = view.root.elementFromPoint(x2, y2);
39323
39342
  if (!dom || dom == view.dom || !view.dom.contains(dom))
39324
39343
  continue;
39325
39344
  let localRect = dom.getBoundingClientRect();
@@ -39615,8 +39634,8 @@ function coordsAtPos(view, pos, side) {
39615
39634
  function flattenV(rect, left2) {
39616
39635
  if (rect.width == 0)
39617
39636
  return rect;
39618
- let x = left2 ? rect.left : rect.right;
39619
- return { top: rect.top, bottom: rect.bottom, left: x, right: x };
39637
+ let x2 = left2 ? rect.left : rect.right;
39638
+ return { top: rect.top, bottom: rect.bottom, left: x2, right: x2 };
39620
39639
  }
39621
39640
  function flattenH(rect, top2) {
39622
39641
  if (rect.height == 0)
@@ -44623,10 +44642,10 @@ const createTimeoutClass = (clearFunction) => class TT {
44623
44642
  const Timeout = createTimeoutClass(clearTimeout);
44624
44643
  const timeout = (timeout2, callback) => new Timeout(setTimeout(callback, timeout2));
44625
44644
  const rotr = (w2, shift2) => w2 >>> shift2 | w2 << 32 - shift2;
44626
- const sum0to256 = (x) => rotr(x, 2) ^ rotr(x, 13) ^ rotr(x, 22);
44627
- const sum1to256 = (x) => rotr(x, 6) ^ rotr(x, 11) ^ rotr(x, 25);
44628
- const sigma0to256 = (x) => rotr(x, 7) ^ rotr(x, 18) ^ x >>> 3;
44629
- const sigma1to256 = (x) => rotr(x, 17) ^ rotr(x, 19) ^ x >>> 10;
44645
+ const sum0to256 = (x2) => rotr(x2, 2) ^ rotr(x2, 13) ^ rotr(x2, 22);
44646
+ const sum1to256 = (x2) => rotr(x2, 6) ^ rotr(x2, 11) ^ rotr(x2, 25);
44647
+ const sigma0to256 = (x2) => rotr(x2, 7) ^ rotr(x2, 18) ^ x2 >>> 3;
44648
+ const sigma1to256 = (x2) => rotr(x2, 17) ^ rotr(x2, 19) ^ x2 >>> 10;
44630
44649
  const K = new Uint32Array([
44631
44650
  1116352408,
44632
44651
  1899447441,
@@ -44723,11 +44742,11 @@ class Hasher {
44723
44742
  let e = H[4];
44724
44743
  let f2 = H[5];
44725
44744
  let g = H[6];
44726
- let h2 = H[7];
44745
+ let h = H[7];
44727
44746
  for (let tt = 0, T1, T2; tt < 64; tt++) {
44728
- T1 = h2 + sum1to256(e) + (e & f2 ^ ~e & g) + K[tt] + W2[tt] >>> 0;
44747
+ T1 = h + sum1to256(e) + (e & f2 ^ ~e & g) + K[tt] + W2[tt] >>> 0;
44729
44748
  T2 = sum0to256(a) + (a & b2 ^ a & c2 ^ b2 & c2) >>> 0;
44730
- h2 = g;
44749
+ h = g;
44731
44750
  g = f2;
44732
44751
  f2 = e;
44733
44752
  e = d2 + T1 >>> 0;
@@ -44743,7 +44762,7 @@ class Hasher {
44743
44762
  H[4] += e;
44744
44763
  H[5] += f2;
44745
44764
  H[6] += g;
44746
- H[7] += h2;
44765
+ H[7] += h;
44747
44766
  }
44748
44767
  /**
44749
44768
  * Returns a 32-byte hash.
@@ -46639,6 +46658,7 @@ createNodesSchema_fn = function(nodeExtensions, attributes, editor) {
46639
46658
  code: callOrGet(getExtensionConfigField(extension, "code", context)),
46640
46659
  defining: callOrGet(getExtensionConfigField(extension, "defining", context)),
46641
46660
  isolating: callOrGet(getExtensionConfigField(extension, "isolating", context)),
46661
+ summary: getExtensionConfigField(extension, "summary", context),
46642
46662
  attrs,
46643
46663
  ...additionalNodeFields
46644
46664
  });
@@ -49287,39 +49307,44 @@ const getHighlightColor = ({ activeThreadId, threadId, isInternal, editor }) =>
49287
49307
  return `${color}${alpha}`;
49288
49308
  };
49289
49309
  const updateYdocDocxData = async (editor, ydoc) => {
49290
- ydoc = ydoc || editor.options.ydoc;
49291
- if (!ydoc) return;
49292
- if (!editor || editor.isDestroyed) return;
49293
- const metaMap = ydoc.getMap("meta");
49294
- const docxValue = metaMap.get("docx");
49295
- let docx = [];
49296
- if (Array.isArray(docxValue)) {
49297
- docx = [...docxValue];
49298
- } else if (docxValue && typeof docxValue.toArray === "function") {
49299
- docx = docxValue.toArray();
49300
- } else if (docxValue && typeof docxValue[Symbol.iterator] === "function") {
49301
- docx = Array.from(docxValue);
49302
- }
49303
- if (!docx.length && Array.isArray(editor.options.content)) {
49304
- docx = [...editor.options.content];
49305
- }
49306
- const newXml = await editor.exportDocx({ getUpdatedDocs: true });
49307
- Object.keys(newXml).forEach((key2) => {
49308
- const fileIndex = docx.findIndex((item) => item.name === key2);
49309
- if (fileIndex > -1) {
49310
- docx.splice(fileIndex, 1);
49311
- }
49312
- docx.push({
49313
- name: key2,
49314
- content: newXml[key2]
49310
+ try {
49311
+ ydoc = ydoc || editor?.options?.ydoc;
49312
+ if (!ydoc) return;
49313
+ if (!editor || editor.isDestroyed) return;
49314
+ const metaMap = ydoc.getMap("meta");
49315
+ const docxValue = metaMap.get("docx");
49316
+ let docx = [];
49317
+ if (Array.isArray(docxValue)) {
49318
+ docx = [...docxValue];
49319
+ } else if (docxValue && typeof docxValue.toArray === "function") {
49320
+ docx = docxValue.toArray();
49321
+ } else if (docxValue && typeof docxValue[Symbol.iterator] === "function") {
49322
+ docx = Array.from(docxValue);
49323
+ }
49324
+ if (!docx.length && Array.isArray(editor.options.content)) {
49325
+ docx = [...editor.options.content];
49326
+ }
49327
+ const newXml = await editor.exportDocx({ getUpdatedDocs: true });
49328
+ if (!newXml || typeof newXml !== "object") return;
49329
+ Object.keys(newXml).forEach((key2) => {
49330
+ const fileIndex = docx.findIndex((item) => item.name === key2);
49331
+ if (fileIndex > -1) {
49332
+ docx.splice(fileIndex, 1);
49333
+ }
49334
+ docx.push({
49335
+ name: key2,
49336
+ content: newXml[key2]
49337
+ });
49315
49338
  });
49316
- });
49317
- ydoc.transact(
49318
- () => {
49319
- metaMap.set("docx", docx);
49320
- },
49321
- { event: "docx-update", user: editor.options.user }
49322
- );
49339
+ ydoc.transact(
49340
+ () => {
49341
+ metaMap.set("docx", docx);
49342
+ },
49343
+ { event: "docx-update", user: editor.options.user }
49344
+ );
49345
+ } catch (error) {
49346
+ console.warn("[collaboration] Failed to update Ydoc docx data", error);
49347
+ }
49323
49348
  };
49324
49349
  const STYLE_ISOLATION_CLASS = "sd-editor-scoped";
49325
49350
  const applyStyleIsolationClass = (target) => {
@@ -51999,6 +52024,66 @@ const getLevel = (node) => {
51999
52024
  const lvl = node.getAttribute("data-level");
52000
52025
  return lvl ? parseInt(lvl, 10) : 0;
52001
52026
  };
52027
+ const summaryVersion = "0.31.0-next.9";
52028
+ const nodeKeys = [
52029
+ "group",
52030
+ "content",
52031
+ "marks",
52032
+ "inline",
52033
+ "atom",
52034
+ "defining",
52035
+ "code",
52036
+ "tableRole",
52037
+ "summary"
52038
+ ];
52039
+ const markKeys = ["group", "inclusive", "excludes", "spanning", "code"];
52040
+ function mapAttributes(attrs) {
52041
+ if (!attrs) return {};
52042
+ return Object.fromEntries(
52043
+ Object.entries(attrs).map(([name, attrSpec]) => {
52044
+ const defaultValue = attrSpec?.default;
52045
+ return [
52046
+ name,
52047
+ {
52048
+ default: defaultValue ?? null,
52049
+ required: defaultValue === void 0
52050
+ }
52051
+ ];
52052
+ })
52053
+ );
52054
+ }
52055
+ function pickSpecFields(spec, keys2) {
52056
+ return Object.fromEntries(keys2.map((key2) => [key2, spec[key2]]).filter(([, value]) => value !== void 0));
52057
+ }
52058
+ function buildSchemaSummary(schema, schemaVersion) {
52059
+ if (!schema || typeof schema !== "object") {
52060
+ throw new Error("Invalid schema: schema must be a valid ProseMirror Schema object.");
52061
+ }
52062
+ const resolvedSchemaVersion = schemaVersion || "current";
52063
+ const nodes = [];
52064
+ schema.spec.nodes.forEach((name, spec) => {
52065
+ nodes.push({
52066
+ name,
52067
+ attrs: mapAttributes(spec.attrs),
52068
+ ...pickSpecFields(spec, nodeKeys)
52069
+ });
52070
+ });
52071
+ const marks = [];
52072
+ schema.spec.marks.forEach((name, spec) => {
52073
+ marks.push({
52074
+ name,
52075
+ attrs: mapAttributes(spec.attrs),
52076
+ ...pickSpecFields(spec, markKeys)
52077
+ });
52078
+ });
52079
+ return {
52080
+ version: summaryVersion,
52081
+ schemaVersion: resolvedSchemaVersion,
52082
+ topNode: schema.topNodeType?.name,
52083
+ nodes,
52084
+ marks
52085
+ };
52086
+ }
52002
52087
  const _Editor = class _Editor2 extends EventEmitter$1 {
52003
52088
  /**
52004
52089
  * Create a new Editor instance
@@ -52379,6 +52464,53 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
52379
52464
  console.warn("updateDocumentVersion is deprecated, use setDocumentVersion instead");
52380
52465
  return _Editor2.setDocumentVersion(doc2, version2);
52381
52466
  }
52467
+ /**
52468
+ * Generates a schema summary for the current runtime schema.
52469
+ */
52470
+ async getSchemaSummaryJSON() {
52471
+ if (!this.schema) {
52472
+ throw new Error("Schema is not initialized.");
52473
+ }
52474
+ const schemaVersion = this.converter?.getSuperdocVersion?.() || "current";
52475
+ const suppressedNames = new Set(
52476
+ (this.extensionService?.extensions || []).filter((ext) => {
52477
+ const config2 = ext?.config;
52478
+ const suppressFlag = config2?.excludeFromSummaryJSON;
52479
+ return Boolean(suppressFlag);
52480
+ }).map((ext) => ext.name)
52481
+ );
52482
+ const summary = buildSchemaSummary(this.schema, schemaVersion);
52483
+ if (!suppressedNames.size) {
52484
+ return summary;
52485
+ }
52486
+ return {
52487
+ ...summary,
52488
+ nodes: summary.nodes.filter((node) => !suppressedNames.has(node.name)),
52489
+ marks: summary.marks.filter((mark) => !suppressedNames.has(mark.name))
52490
+ };
52491
+ }
52492
+ /**
52493
+ * Validates a ProseMirror JSON document against the current schema.
52494
+ */
52495
+ validateJSON(doc2) {
52496
+ if (!this.schema) {
52497
+ throw new Error("Schema is not initialized.");
52498
+ }
52499
+ const topNodeName = this.schema.topNodeType?.name || "doc";
52500
+ const normalizedDoc = Array.isArray(doc2) ? { type: topNodeName, content: doc2 } : doc2 && typeof doc2 === "object" && doc2.type ? doc2.type === topNodeName || doc2.type === "doc" ? doc2 : { type: topNodeName, content: [doc2] } : (() => {
52501
+ throw new Error("Invalid document shape: expected a node object or an array of node objects.");
52502
+ })();
52503
+ try {
52504
+ return this.schema.nodeFromJSON(normalizedDoc);
52505
+ } catch (error) {
52506
+ const detail = error instanceof Error ? error.message : String(error);
52507
+ const validationError = new Error(`Invalid document for current schema: ${detail}`);
52508
+ if (error instanceof Error) {
52509
+ validationError.cause = error;
52510
+ }
52511
+ throw validationError;
52512
+ }
52513
+ }
52382
52514
  /**
52383
52515
  * Creates all node views.
52384
52516
  */
@@ -52609,7 +52741,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
52609
52741
  { default: remarkStringify },
52610
52742
  { default: remarkGfm }
52611
52743
  ] = await Promise.all([
52612
- Promise.resolve().then(() => require("./index-BJ6cOegF-BuvRSNoV.cjs")),
52744
+ Promise.resolve().then(() => require("./index-mvOjU9rn-HqKSYwVo.cjs")),
52613
52745
  Promise.resolve().then(() => require("./index-DRCvimau-H4Ck3S9a.cjs")),
52614
52746
  Promise.resolve().then(() => require("./index-C_x_N6Uh-Db3CUJMX.cjs")),
52615
52747
  Promise.resolve().then(() => require("./index-D_sWOSiG-BtDZzJ6I.cjs")),
@@ -52810,7 +52942,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
52810
52942
  * Process collaboration migrations
52811
52943
  */
52812
52944
  processCollaborationMigrations() {
52813
- console.debug("[checkVersionMigrations] Current editor version", "0.31.0-next.7");
52945
+ console.debug("[checkVersionMigrations] Current editor version", "0.31.0-next.9");
52814
52946
  if (!this.options.ydoc) return;
52815
52947
  const metaMap = this.options.ydoc.getMap("meta");
52816
52948
  let docVersion = metaMap.get("version");
@@ -54423,6 +54555,7 @@ const AiMark = Mark2.create({
54423
54555
  name: AiMarkName,
54424
54556
  group: "ai",
54425
54557
  inclusive: false,
54558
+ excludeFromSummaryJSON: true,
54426
54559
  addOptions() {
54427
54560
  return {
54428
54561
  htmlAttributes: { class: "sd-ai-highlight" }
@@ -54449,6 +54582,7 @@ const AiAnimationMark = Mark2.create({
54449
54582
  inclusive: false,
54450
54583
  spanning: false,
54451
54584
  excludes: AiAnimationMarkName,
54585
+ excludeFromSummaryJSON: true,
54452
54586
  addOptions() {
54453
54587
  return {
54454
54588
  htmlAttributes: {}
@@ -54480,6 +54614,7 @@ const AiAnimationMark = Mark2.create({
54480
54614
  const dotsLoader = "data:image/svg+xml,%3csvg%20fill='hsla(278,%2077.40%25,%2020.80%25,%200.65)'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='4'%20cy='12'%20r='0'%3e%3canimate%20begin='0;spinner_z0Or.end'%20attributeName='r'%20calcMode='spline'%20dur='0.5s'%20keySplines='.36,.6,.31,1'%20values='0;3'%20fill='freeze'/%3e%3canimate%20begin='spinner_OLMs.end'%20attributeName='cx'%20calcMode='spline'%20dur='0.5s'%20keySplines='.36,.6,.31,1'%20values='4;12'%20fill='freeze'/%3e%3canimate%20begin='spinner_UHR2.end'%20attributeName='cx'%20calcMode='spline'%20dur='0.5s'%20keySplines='.36,.6,.31,1'%20values='12;20'%20fill='freeze'/%3e%3canimate%20id='spinner_lo66'%20begin='spinner_Aguh.end'%20attributeName='r'%20calcMode='spline'%20dur='0.5s'%20keySplines='.36,.6,.31,1'%20values='3;0'%20fill='freeze'/%3e%3canimate%20id='spinner_z0Or'%20begin='spinner_lo66.end'%20attributeName='cx'%20dur='0.001s'%20values='20;4'%20fill='freeze'/%3e%3c/circle%3e%3ccircle%20cx='4'%20cy='12'%20r='3'%3e%3canimate%20begin='0;spinner_z0Or.end'%20attributeName='cx'%20calcMode='spline'%20dur='0.5s'%20keySplines='.36,.6,.31,1'%20values='4;12'%20fill='freeze'/%3e%3canimate%20begin='spinner_OLMs.end'%20attributeName='cx'%20calcMode='spline'%20dur='0.5s'%20keySplines='.36,.6,.31,1'%20values='12;20'%20fill='freeze'/%3e%3canimate%20id='spinner_JsnR'%20begin='spinner_UHR2.end'%20attributeName='r'%20calcMode='spline'%20dur='0.5s'%20keySplines='.36,.6,.31,1'%20values='3;0'%20fill='freeze'/%3e%3canimate%20id='spinner_Aguh'%20begin='spinner_JsnR.end'%20attributeName='cx'%20dur='0.001s'%20values='20;4'%20fill='freeze'/%3e%3canimate%20begin='spinner_Aguh.end'%20attributeName='r'%20calcMode='spline'%20dur='0.5s'%20keySplines='.36,.6,.31,1'%20values='0;3'%20fill='freeze'/%3e%3c/circle%3e%3ccircle%20cx='12'%20cy='12'%20r='3'%3e%3canimate%20begin='0;spinner_z0Or.end'%20attributeName='cx'%20calcMode='spline'%20dur='0.5s'%20keySplines='.36,.6,.31,1'%20values='12;20'%20fill='freeze'/%3e%3canimate%20id='spinner_hSjk'%20begin='spinner_OLMs.end'%20attributeName='r'%20calcMode='spline'%20dur='0.5s'%20keySplines='.36,.6,.31,1'%20values='3;0'%20fill='freeze'/%3e%3canimate%20id='spinner_UHR2'%20begin='spinner_hSjk.end'%20attributeName='cx'%20dur='0.001s'%20values='20;4'%20fill='freeze'/%3e%3canimate%20begin='spinner_UHR2.end'%20attributeName='r'%20calcMode='spline'%20dur='0.5s'%20keySplines='.36,.6,.31,1'%20values='0;3'%20fill='freeze'/%3e%3canimate%20begin='spinner_Aguh.end'%20attributeName='cx'%20calcMode='spline'%20dur='0.5s'%20keySplines='.36,.6,.31,1'%20values='4;12'%20fill='freeze'/%3e%3c/circle%3e%3ccircle%20cx='20'%20cy='12'%20r='3'%3e%3canimate%20id='spinner_4v5M'%20begin='0;spinner_z0Or.end'%20attributeName='r'%20calcMode='spline'%20dur='0.5s'%20keySplines='.36,.6,.31,1'%20values='3;0'%20fill='freeze'/%3e%3canimate%20id='spinner_OLMs'%20begin='spinner_4v5M.end'%20attributeName='cx'%20dur='0.001s'%20values='20;4'%20fill='freeze'/%3e%3canimate%20begin='spinner_OLMs.end'%20attributeName='r'%20calcMode='spline'%20dur='0.5s'%20keySplines='.36,.6,.31,1'%20values='0;3'%20fill='freeze'/%3e%3canimate%20begin='spinner_UHR2.end'%20attributeName='cx'%20calcMode='spline'%20dur='0.5s'%20keySplines='.36,.6,.31,1'%20values='4;12'%20fill='freeze'/%3e%3canimate%20begin='spinner_Aguh.end'%20attributeName='cx'%20calcMode='spline'%20dur='0.5s'%20keySplines='.36,.6,.31,1'%20values='12;20'%20fill='freeze'/%3e%3c/circle%3e%3c/svg%3e";
54481
54615
  const AiLoaderNode = Node$1.create({
54482
54616
  name: AiLoaderNodeName,
54617
+ excludeFromSummaryJSON: true,
54483
54618
  group: "inline",
54484
54619
  inline: true,
54485
54620
  atom: true,
@@ -54685,16 +54820,16 @@ function getCursorPositionRelativeToContainer(view, eventLocation) {
54685
54820
  const { state: state2, dom } = view;
54686
54821
  const { selection } = state2;
54687
54822
  const containerRect = dom.getBoundingClientRect();
54688
- let x, y2;
54823
+ let x2, y2;
54689
54824
  if (typeof eventLocation.clientX === "number" && typeof eventLocation.clientY === "number") {
54690
- x = eventLocation.clientX - containerRect.left;
54825
+ x2 = eventLocation.clientX - containerRect.left;
54691
54826
  y2 = eventLocation.clientY - containerRect.top;
54692
54827
  } else {
54693
54828
  const cursorCoords = view.coordsAtPos(selection.from);
54694
- x = cursorCoords.left - containerRect.left;
54829
+ x2 = cursorCoords.left - containerRect.left;
54695
54830
  y2 = cursorCoords.top - containerRect.top;
54696
54831
  }
54697
- return { left: x, top: y2 };
54832
+ return { left: x2, top: y2 };
54698
54833
  }
54699
54834
  const SlashMenuPluginKey = new PluginKey("slashMenu");
54700
54835
  const SlashMenu = Extension.create({
@@ -54973,17 +55108,17 @@ class StructuredContentViewBase {
54973
55108
  if (!this.dom || this.contentDOM?.contains(target) || !dragHandle) {
54974
55109
  return;
54975
55110
  }
54976
- let x = 0;
55111
+ let x2 = 0;
54977
55112
  let y2 = 0;
54978
55113
  if (this.dom !== dragHandle) {
54979
55114
  const domBox = this.dom.getBoundingClientRect();
54980
55115
  const handleBox = dragHandle.getBoundingClientRect();
54981
55116
  const offsetX = event.offsetX ?? event.nativeEvent?.offsetX;
54982
55117
  const offsetY = event.offsetY ?? event.nativeEvent?.offsetY;
54983
- x = handleBox.x - domBox.x + offsetX;
55118
+ x2 = handleBox.x - domBox.x + offsetX;
54984
55119
  y2 = handleBox.y - domBox.y + offsetY;
54985
55120
  }
54986
- event.dataTransfer?.setDragImage(this.dom, x, y2);
55121
+ event.dataTransfer?.setDragImage(this.dom, x2, y2);
54987
55122
  const pos = this.getPos();
54988
55123
  if (typeof pos !== "number") {
54989
55124
  return;
@@ -56067,6 +56202,7 @@ const DocumentPartObject = Node$1.create({
56067
56202
  group: "block",
56068
56203
  content: "block*",
56069
56204
  isolating: true,
56205
+ excludeFromSummaryJSON: true,
56070
56206
  addOptions() {
56071
56207
  return {
56072
56208
  htmlAttributes: {
@@ -58160,6 +58296,7 @@ const Paragraph = OxmlNode.create({
58160
58296
  group: "block",
58161
58297
  content: "inline*",
58162
58298
  inline: false,
58299
+ summary: "The paragraph node mirrors MS Word w:p paragraphs, and also represents lists in the schema.",
58163
58300
  addOptions() {
58164
58301
  return {
58165
58302
  headingLevels: [1, 2, 3, 4, 5, 6],
@@ -59438,16 +59575,16 @@ function computeMap(table) {
59438
59575
  if (i == rowNode.childCount) break;
59439
59576
  const cellNode = rowNode.child(i);
59440
59577
  const { colspan, rowspan, colwidth } = cellNode.attrs;
59441
- for (let h2 = 0; h2 < rowspan; h2++) {
59442
- if (h2 + row >= height) {
59578
+ for (let h = 0; h < rowspan; h++) {
59579
+ if (h + row >= height) {
59443
59580
  (problems || (problems = [])).push({
59444
59581
  type: "overlong_rowspan",
59445
59582
  pos,
59446
- n: rowspan - h2
59583
+ n: rowspan - h
59447
59584
  });
59448
59585
  break;
59449
59586
  }
59450
- const start2 = mapPos + h2 * width;
59587
+ const start2 = mapPos + h * width;
59451
59588
  for (let w2 = 0; w2 < colspan; w2++) {
59452
59589
  if (map22[start2 + w2] == 0) map22[start2 + w2] = pos;
59453
59590
  else
@@ -63019,24 +63156,24 @@ function parseToRgba(color) {
63019
63156
  const reducedHexMatch = reducedHexRegex.exec(normalizedColor);
63020
63157
  if (reducedHexMatch) {
63021
63158
  const arr = Array.from(reducedHexMatch).slice(1);
63022
- return [...arr.slice(0, 3).map((x) => parseInt(r$1(x, 2), 16)), parseInt(r$1(arr[3] || "f", 2), 16) / 255];
63159
+ return [...arr.slice(0, 3).map((x2) => parseInt(r$1(x2, 2), 16)), parseInt(r$1(arr[3] || "f", 2), 16) / 255];
63023
63160
  }
63024
63161
  const hexMatch = hexRegex$1.exec(normalizedColor);
63025
63162
  if (hexMatch) {
63026
63163
  const arr = Array.from(hexMatch).slice(1);
63027
- return [...arr.slice(0, 3).map((x) => parseInt(x, 16)), parseInt(arr[3] || "ff", 16) / 255];
63164
+ return [...arr.slice(0, 3).map((x2) => parseInt(x2, 16)), parseInt(arr[3] || "ff", 16) / 255];
63028
63165
  }
63029
63166
  const rgbaMatch = rgbaRegex$1.exec(normalizedColor);
63030
63167
  if (rgbaMatch) {
63031
63168
  const arr = Array.from(rgbaMatch).slice(1);
63032
- return [...arr.slice(0, 3).map((x) => parseInt(x, 10)), parseFloat(arr[3] || "1")];
63169
+ return [...arr.slice(0, 3).map((x2) => parseInt(x2, 10)), parseFloat(arr[3] || "1")];
63033
63170
  }
63034
63171
  const hslaMatch = hslaRegex$1.exec(normalizedColor);
63035
63172
  if (hslaMatch) {
63036
- const [h2, s2, l3, a] = Array.from(hslaMatch).slice(1).map(parseFloat);
63173
+ const [h, s2, l3, a] = Array.from(hslaMatch).slice(1).map(parseFloat);
63037
63174
  if (guard(0, 100, s2) !== s2) throw new ColorError$1(color);
63038
63175
  if (guard(0, 100, l3) !== l3) throw new ColorError$1(color);
63039
- return [...hslToRgb(h2, s2, l3), Number.isNaN(a) ? 1 : a];
63176
+ return [...hslToRgb(h, s2, l3), Number.isNaN(a) ? 1 : a];
63040
63177
  }
63041
63178
  throw new ColorError$1(color);
63042
63179
  }
@@ -63048,7 +63185,7 @@ function hash$2(str) {
63048
63185
  }
63049
63186
  return (hash2 >>> 0) % 2341;
63050
63187
  }
63051
- const colorToInt = (x) => parseInt(x.replace(/_/g, ""), 36);
63188
+ const colorToInt = (x2) => parseInt(x2.replace(/_/g, ""), 36);
63052
63189
  const compressedColorMap = "1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((acc, next) => {
63053
63190
  const key2 = colorToInt(next.substring(0, 3));
63054
63191
  const hex2 = colorToInt(next.substring(3)).toString(16);
@@ -63112,9 +63249,9 @@ const hslToRgb = (hue, saturation, lightness) => {
63112
63249
  };
63113
63250
  function toHex(color) {
63114
63251
  const [r2, g, b2, a] = parseToRgba(color);
63115
- let hex2 = (x) => {
63116
- const h2 = guard(0, 255, x).toString(16);
63117
- return h2.length === 1 ? `0${h2}` : h2;
63252
+ let hex2 = (x2) => {
63253
+ const h = guard(0, 255, x2).toString(16);
63254
+ return h.length === 1 ? `0${h}` : h;
63118
63255
  };
63119
63256
  return `#${hex2(r2)}${hex2(g)}${hex2(b2)}${a < 1 ? hex2(Math.round(a * 255)) : ""}`;
63120
63257
  }
@@ -64990,14 +65127,14 @@ const getNormalizedImageAttrs = (attrs = {}) => {
64990
65127
  marginOffset: normalizeMarginOffset(attrs.marginOffset ?? {})
64991
65128
  };
64992
65129
  };
64993
- const getRotationMargins = (w2, h2, angleDegrees) => {
65130
+ const getRotationMargins = (w2, h, angleDegrees) => {
64994
65131
  const rad = angleDegrees * (Math.PI / 180);
64995
65132
  const cos = Math.abs(Math.cos(rad));
64996
65133
  const sin = Math.abs(Math.sin(rad));
64997
- const boundingWidth = w2 * cos + h2 * sin;
64998
- const boundingHeight = w2 * sin + h2 * cos;
65134
+ const boundingWidth = w2 * cos + h * sin;
65135
+ const boundingHeight = w2 * sin + h * cos;
64999
65136
  const marginLeftRight = Math.round(Math.max(0, (boundingWidth - w2) / 2));
65000
- const marginTopBottom = Math.round(Math.max(0, (boundingHeight - h2) / 2));
65137
+ const marginTopBottom = Math.round(Math.max(0, (boundingHeight - h) / 2));
65001
65138
  return {
65002
65139
  horizontal: marginLeftRight,
65003
65140
  vertical: marginTopBottom
@@ -65235,10 +65372,10 @@ const Image = Node$1.create({
65235
65372
  let minX = 0;
65236
65373
  let minY = 0;
65237
65374
  let maxY = 0;
65238
- attrs.polygon.forEach(([x, y2]) => {
65239
- if (floatRight && x < horizontalOffset) horizontalOffset = x;
65240
- if (x > maxX) maxX = x;
65241
- if (x < minX) minX = x;
65375
+ attrs.polygon.forEach(([x2, y2]) => {
65376
+ if (floatRight && x2 < horizontalOffset) horizontalOffset = x2;
65377
+ if (x2 > maxX) maxX = x2;
65378
+ if (x2 < minX) minX = x2;
65242
65379
  if (y2 > maxY) maxY = y2;
65243
65380
  if (y2 < minY) minY = y2;
65244
65381
  });
@@ -65247,7 +65384,7 @@ const Image = Node$1.create({
65247
65384
  const scaleWidth = Math.min(1, size2.width / originalWidth);
65248
65385
  const scaleHeight = Math.min(1, size2.height / originalHeight);
65249
65386
  const verticalOffset = Math.max(0, marginOffset.top);
65250
- const points = attrs.polygon.map(([x, y2]) => `${horizontalOffset + x * scaleWidth}px ${verticalOffset + y2 * scaleHeight}px`).join(", ");
65387
+ const points = attrs.polygon.map(([x2, y2]) => `${horizontalOffset + x2 * scaleWidth}px ${verticalOffset + y2 * scaleHeight}px`).join(", ");
65251
65388
  style2 += `shape-outside: polygon(${points});`;
65252
65389
  }
65253
65390
  break;
@@ -65673,6 +65810,7 @@ const Mention = Node$1.create({
65673
65810
  group: "inline",
65674
65811
  inline: true,
65675
65812
  selectable: false,
65813
+ excludeFromSummaryJSON: true,
65676
65814
  atom: true,
65677
65815
  addOptions() {
65678
65816
  return {
@@ -68905,13 +69043,13 @@ class ShapeGroupView {
68905
69043
  createShapeElement(shape) {
68906
69044
  const attrs = shape.attrs;
68907
69045
  if (!attrs) return null;
68908
- const x = attrs.x || 0;
69046
+ const x2 = attrs.x || 0;
68909
69047
  const y2 = attrs.y || 0;
68910
69048
  const width = attrs.width || 100;
68911
69049
  const height = attrs.height || 100;
68912
69050
  const g = document.createElementNS("http://www.w3.org/2000/svg", "g");
68913
69051
  const transforms = [];
68914
- transforms.push(`translate(${x}, ${y2})`);
69052
+ transforms.push(`translate(${x2}, ${y2})`);
68915
69053
  if (attrs.rotation !== 0) {
68916
69054
  transforms.push(`rotate(${attrs.rotation} ${width / 2} ${height / 2})`);
68917
69055
  }
@@ -70653,7 +70791,7 @@ function getBoundingClientRect$1(element, includeScale, isFixedStrategy) {
70653
70791
  }
70654
70792
  var _ref = isElement$2(element) ? getWindow$1(element) : window, visualViewport = _ref.visualViewport;
70655
70793
  var addVisualOffsets = !isLayoutViewport() && isFixedStrategy;
70656
- var x = (clientRect2.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;
70794
+ var x2 = (clientRect2.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;
70657
70795
  var y2 = (clientRect2.top + (addVisualOffsets && visualViewport ? visualViewport.offsetTop : 0)) / scaleY;
70658
70796
  var width = clientRect2.width / scaleX;
70659
70797
  var height = clientRect2.height / scaleY;
@@ -70661,10 +70799,10 @@ function getBoundingClientRect$1(element, includeScale, isFixedStrategy) {
70661
70799
  width,
70662
70800
  height,
70663
70801
  top: y2,
70664
- right: x + width,
70802
+ right: x2 + width,
70665
70803
  bottom: y2 + height,
70666
- left: x,
70667
- x,
70804
+ left: x2,
70805
+ x: x2,
70668
70806
  y: y2
70669
70807
  };
70670
70808
  }
@@ -70865,25 +71003,25 @@ var unsetSides = {
70865
71003
  left: "auto"
70866
71004
  };
70867
71005
  function roundOffsetsByDPR(_ref, win) {
70868
- var x = _ref.x, y2 = _ref.y;
71006
+ var x2 = _ref.x, y2 = _ref.y;
70869
71007
  var dpr = win.devicePixelRatio || 1;
70870
71008
  return {
70871
- x: round$1(x * dpr) / dpr || 0,
71009
+ x: round$1(x2 * dpr) / dpr || 0,
70872
71010
  y: round$1(y2 * dpr) / dpr || 0
70873
71011
  };
70874
71012
  }
70875
71013
  function mapToStyles(_ref2) {
70876
71014
  var _Object$assign2;
70877
71015
  var popper2 = _ref2.popper, popperRect = _ref2.popperRect, placement = _ref2.placement, variation = _ref2.variation, offsets = _ref2.offsets, position = _ref2.position, gpuAcceleration = _ref2.gpuAcceleration, adaptive = _ref2.adaptive, roundOffsets = _ref2.roundOffsets, isFixed = _ref2.isFixed;
70878
- var _offsets$x = offsets.x, x = _offsets$x === void 0 ? 0 : _offsets$x, _offsets$y = offsets.y, y2 = _offsets$y === void 0 ? 0 : _offsets$y;
71016
+ var _offsets$x = offsets.x, x2 = _offsets$x === void 0 ? 0 : _offsets$x, _offsets$y = offsets.y, y2 = _offsets$y === void 0 ? 0 : _offsets$y;
70879
71017
  var _ref3 = typeof roundOffsets === "function" ? roundOffsets({
70880
- x,
71018
+ x: x2,
70881
71019
  y: y2
70882
71020
  }) : {
70883
- x,
71021
+ x: x2,
70884
71022
  y: y2
70885
71023
  };
70886
- x = _ref3.x;
71024
+ x2 = _ref3.x;
70887
71025
  y2 = _ref3.y;
70888
71026
  var hasX = offsets.hasOwnProperty("x");
70889
71027
  var hasY = offsets.hasOwnProperty("y");
@@ -70917,27 +71055,27 @@ function mapToStyles(_ref2) {
70917
71055
  // $FlowFixMe[prop-missing]
70918
71056
  offsetParent[widthProp]
70919
71057
  );
70920
- x -= offsetX - popperRect.width;
70921
- x *= gpuAcceleration ? 1 : -1;
71058
+ x2 -= offsetX - popperRect.width;
71059
+ x2 *= gpuAcceleration ? 1 : -1;
70922
71060
  }
70923
71061
  }
70924
71062
  var commonStyles = Object.assign({
70925
71063
  position
70926
71064
  }, adaptive && unsetSides);
70927
71065
  var _ref4 = roundOffsets === true ? roundOffsetsByDPR({
70928
- x,
71066
+ x: x2,
70929
71067
  y: y2
70930
71068
  }, getWindow$1(popper2)) : {
70931
- x,
71069
+ x: x2,
70932
71070
  y: y2
70933
71071
  };
70934
- x = _ref4.x;
71072
+ x2 = _ref4.x;
70935
71073
  y2 = _ref4.y;
70936
71074
  if (gpuAcceleration) {
70937
71075
  var _Object$assign;
70938
- return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? "0" : "", _Object$assign[sideX] = hasX ? "0" : "", _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? "translate(" + x + "px, " + y2 + "px)" : "translate3d(" + x + "px, " + y2 + "px, 0)", _Object$assign));
71076
+ return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? "0" : "", _Object$assign[sideX] = hasX ? "0" : "", _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? "translate(" + x2 + "px, " + y2 + "px)" : "translate3d(" + x2 + "px, " + y2 + "px, 0)", _Object$assign));
70939
71077
  }
70940
- return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y2 + "px" : "", _Object$assign2[sideX] = hasX ? x + "px" : "", _Object$assign2.transform = "", _Object$assign2));
71078
+ return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y2 + "px" : "", _Object$assign2[sideX] = hasX ? x2 + "px" : "", _Object$assign2.transform = "", _Object$assign2));
70941
71079
  }
70942
71080
  function computeStyles(_ref5) {
70943
71081
  var state2 = _ref5.state, options = _ref5.options;
@@ -71051,21 +71189,21 @@ function getViewportRect$1(element, strategy) {
71051
71189
  var visualViewport = win.visualViewport;
71052
71190
  var width = html.clientWidth;
71053
71191
  var height = html.clientHeight;
71054
- var x = 0;
71192
+ var x2 = 0;
71055
71193
  var y2 = 0;
71056
71194
  if (visualViewport) {
71057
71195
  width = visualViewport.width;
71058
71196
  height = visualViewport.height;
71059
71197
  var layoutViewport = isLayoutViewport();
71060
71198
  if (layoutViewport || !layoutViewport && strategy === "fixed") {
71061
- x = visualViewport.offsetLeft;
71199
+ x2 = visualViewport.offsetLeft;
71062
71200
  y2 = visualViewport.offsetTop;
71063
71201
  }
71064
71202
  }
71065
71203
  return {
71066
71204
  width,
71067
71205
  height,
71068
- x: x + getWindowScrollBarX$1(element),
71206
+ x: x2 + getWindowScrollBarX$1(element),
71069
71207
  y: y2
71070
71208
  };
71071
71209
  }
@@ -71076,15 +71214,15 @@ function getDocumentRect$1(element) {
71076
71214
  var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;
71077
71215
  var width = max$1(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);
71078
71216
  var height = max$1(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
71079
- var x = -winScroll.scrollLeft + getWindowScrollBarX$1(element);
71217
+ var x2 = -winScroll.scrollLeft + getWindowScrollBarX$1(element);
71080
71218
  var y2 = -winScroll.scrollTop;
71081
71219
  if (getComputedStyle$2(body || html).direction === "rtl") {
71082
- x += max$1(html.clientWidth, body ? body.clientWidth : 0) - width;
71220
+ x2 += max$1(html.clientWidth, body ? body.clientWidth : 0) - width;
71083
71221
  }
71084
71222
  return {
71085
71223
  width,
71086
71224
  height,
71087
- x,
71225
+ x: x2,
71088
71226
  y: y2
71089
71227
  };
71090
71228
  }
@@ -71461,9 +71599,9 @@ function offset(_ref2) {
71461
71599
  acc[placement] = distanceAndSkiddingToXY(placement, state2.rects, offset2);
71462
71600
  return acc;
71463
71601
  }, {});
71464
- var _data$state$placement = data[state2.placement], x = _data$state$placement.x, y2 = _data$state$placement.y;
71602
+ var _data$state$placement = data[state2.placement], x2 = _data$state$placement.x, y2 = _data$state$placement.y;
71465
71603
  if (state2.modifiersData.popperOffsets != null) {
71466
- state2.modifiersData.popperOffsets.x += x;
71604
+ state2.modifiersData.popperOffsets.x += x2;
71467
71605
  state2.modifiersData.popperOffsets.y += y2;
71468
71606
  }
71469
71607
  state2.modifiersData[name] = data;
@@ -73414,7 +73552,7 @@ function getPaddingObject(padding) {
73414
73552
  }
73415
73553
  function rectToClientRect(rect) {
73416
73554
  const {
73417
- x,
73555
+ x: x2,
73418
73556
  y: y2,
73419
73557
  width,
73420
73558
  height
@@ -73423,10 +73561,10 @@ function rectToClientRect(rect) {
73423
73561
  width,
73424
73562
  height,
73425
73563
  top: y2,
73426
- left: x,
73427
- right: x + width,
73564
+ left: x2,
73565
+ right: x2 + width,
73428
73566
  bottom: y2 + height,
73429
- x,
73567
+ x: x2,
73430
73568
  y: y2
73431
73569
  };
73432
73570
  }
@@ -73500,7 +73638,7 @@ const computePosition$1 = async (reference2, floating, config2) => {
73500
73638
  strategy
73501
73639
  });
73502
73640
  let {
73503
- x,
73641
+ x: x2,
73504
73642
  y: y2
73505
73643
  } = computeCoordsFromPlacement(rects, placement, rtl);
73506
73644
  let statefulPlacement = placement;
@@ -73517,7 +73655,7 @@ const computePosition$1 = async (reference2, floating, config2) => {
73517
73655
  data,
73518
73656
  reset
73519
73657
  } = await fn2({
73520
- x,
73658
+ x: x2,
73521
73659
  y: y2,
73522
73660
  initialPlacement: placement,
73523
73661
  placement: statefulPlacement,
@@ -73530,7 +73668,7 @@ const computePosition$1 = async (reference2, floating, config2) => {
73530
73668
  floating
73531
73669
  }
73532
73670
  });
73533
- x = nextX != null ? nextX : x;
73671
+ x2 = nextX != null ? nextX : x2;
73534
73672
  y2 = nextY != null ? nextY : y2;
73535
73673
  middlewareData = {
73536
73674
  ...middlewareData,
@@ -73553,7 +73691,7 @@ const computePosition$1 = async (reference2, floating, config2) => {
73553
73691
  }) : reset.rects;
73554
73692
  }
73555
73693
  ({
73556
- x,
73694
+ x: x2,
73557
73695
  y: y2
73558
73696
  } = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
73559
73697
  }
@@ -73561,7 +73699,7 @@ const computePosition$1 = async (reference2, floating, config2) => {
73561
73699
  }
73562
73700
  }
73563
73701
  return {
73564
- x,
73702
+ x: x2,
73565
73703
  y: y2,
73566
73704
  placement: statefulPlacement,
73567
73705
  strategy,
@@ -73574,7 +73712,7 @@ async function detectOverflow(state2, options) {
73574
73712
  options = {};
73575
73713
  }
73576
73714
  const {
73577
- x,
73715
+ x: x2,
73578
73716
  y: y2,
73579
73717
  platform: platform2,
73580
73718
  rects,
@@ -73598,7 +73736,7 @@ async function detectOverflow(state2, options) {
73598
73736
  strategy
73599
73737
  }));
73600
73738
  const rect = elementContext === "floating" ? {
73601
- x,
73739
+ x: x2,
73602
73740
  y: y2,
73603
73741
  width: rects.floating.width,
73604
73742
  height: rects.floating.height
@@ -73867,16 +74005,16 @@ function getScale(element) {
73867
74005
  height,
73868
74006
  $: $2
73869
74007
  } = getCssDimensions(domElement);
73870
- let x = ($2 ? round(rect.width) : rect.width) / width;
74008
+ let x2 = ($2 ? round(rect.width) : rect.width) / width;
73871
74009
  let y2 = ($2 ? round(rect.height) : rect.height) / height;
73872
- if (!x || !Number.isFinite(x)) {
73873
- x = 1;
74010
+ if (!x2 || !Number.isFinite(x2)) {
74011
+ x2 = 1;
73874
74012
  }
73875
74013
  if (!y2 || !Number.isFinite(y2)) {
73876
74014
  y2 = 1;
73877
74015
  }
73878
74016
  return {
73879
- x,
74017
+ x: x2,
73880
74018
  y: y2
73881
74019
  };
73882
74020
  }
@@ -73920,7 +74058,7 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
73920
74058
  }
73921
74059
  }
73922
74060
  const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
73923
- let x = (clientRect2.left + visualOffsets.x) / scale.x;
74061
+ let x2 = (clientRect2.left + visualOffsets.x) / scale.x;
73924
74062
  let y2 = (clientRect2.top + visualOffsets.y) / scale.y;
73925
74063
  let width = clientRect2.width / scale.x;
73926
74064
  let height = clientRect2.height / scale.y;
@@ -73935,11 +74073,11 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
73935
74073
  const css = getComputedStyle$1(currentIFrame);
73936
74074
  const left2 = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
73937
74075
  const top2 = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
73938
- x *= iframeScale.x;
74076
+ x2 *= iframeScale.x;
73939
74077
  y2 *= iframeScale.y;
73940
74078
  width *= iframeScale.x;
73941
74079
  height *= iframeScale.y;
73942
- x += left2;
74080
+ x2 += left2;
73943
74081
  y2 += top2;
73944
74082
  currentWin = getWindow(currentIFrame);
73945
74083
  currentIFrame = getFrameElement(currentWin);
@@ -73948,7 +74086,7 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
73948
74086
  return rectToClientRect({
73949
74087
  width,
73950
74088
  height,
73951
- x,
74089
+ x: x2,
73952
74090
  y: y2
73953
74091
  });
73954
74092
  }
@@ -73961,10 +74099,10 @@ function getWindowScrollBarX(element, rect) {
73961
74099
  }
73962
74100
  function getHTMLOffset(documentElement, scroll) {
73963
74101
  const htmlRect = documentElement.getBoundingClientRect();
73964
- const x = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);
74102
+ const x2 = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);
73965
74103
  const y2 = htmlRect.top + scroll.scrollTop;
73966
74104
  return {
73967
- x,
74105
+ x: x2,
73968
74106
  y: y2
73969
74107
  };
73970
74108
  }
@@ -74016,15 +74154,15 @@ function getDocumentRect(element) {
74016
74154
  const body = element.ownerDocument.body;
74017
74155
  const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
74018
74156
  const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
74019
- let x = -scroll.scrollLeft + getWindowScrollBarX(element);
74157
+ let x2 = -scroll.scrollLeft + getWindowScrollBarX(element);
74020
74158
  const y2 = -scroll.scrollTop;
74021
74159
  if (getComputedStyle$1(body).direction === "rtl") {
74022
- x += max(html.clientWidth, body.clientWidth) - width;
74160
+ x2 += max(html.clientWidth, body.clientWidth) - width;
74023
74161
  }
74024
74162
  return {
74025
74163
  width,
74026
74164
  height,
74027
- x,
74165
+ x: x2,
74028
74166
  y: y2
74029
74167
  };
74030
74168
  }
@@ -74035,14 +74173,14 @@ function getViewportRect(element, strategy) {
74035
74173
  const visualViewport = win.visualViewport;
74036
74174
  let width = html.clientWidth;
74037
74175
  let height = html.clientHeight;
74038
- let x = 0;
74176
+ let x2 = 0;
74039
74177
  let y2 = 0;
74040
74178
  if (visualViewport) {
74041
74179
  width = visualViewport.width;
74042
74180
  height = visualViewport.height;
74043
74181
  const visualViewportBased = isWebKit();
74044
74182
  if (!visualViewportBased || visualViewportBased && strategy === "fixed") {
74045
- x = visualViewport.offsetLeft;
74183
+ x2 = visualViewport.offsetLeft;
74046
74184
  y2 = visualViewport.offsetTop;
74047
74185
  }
74048
74186
  }
@@ -74062,7 +74200,7 @@ function getViewportRect(element, strategy) {
74062
74200
  return {
74063
74201
  width,
74064
74202
  height,
74065
- x,
74203
+ x: x2,
74066
74204
  y: y2
74067
74205
  };
74068
74206
  }
@@ -74074,12 +74212,12 @@ function getInnerBoundingClientRect(element, strategy) {
74074
74212
  const scale = isHTMLElement$2(element) ? getScale(element) : createCoords(1);
74075
74213
  const width = element.clientWidth * scale.x;
74076
74214
  const height = element.clientHeight * scale.y;
74077
- const x = left2 * scale.x;
74215
+ const x2 = left2 * scale.x;
74078
74216
  const y2 = top2 * scale.y;
74079
74217
  return {
74080
74218
  width,
74081
74219
  height,
74082
- x,
74220
+ x: x2,
74083
74221
  y: y2
74084
74222
  };
74085
74223
  }
@@ -74199,10 +74337,10 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
74199
74337
  setLeftRTLScrollbarOffset();
74200
74338
  }
74201
74339
  const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
74202
- const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
74340
+ const x2 = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
74203
74341
  const y2 = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
74204
74342
  return {
74205
- x,
74343
+ x: x2,
74206
74344
  y: y2,
74207
74345
  width: rect.width,
74208
74346
  height: rect.height
@@ -75081,22 +75219,22 @@ function createFloatingSeparator(separator, editor) {
75081
75219
  const rect = elements.reference.getBoundingClientRect();
75082
75220
  const containerRect = editorElement.getBoundingClientRect();
75083
75221
  const scaleFactor = getScaleFactor(editorElement);
75084
- const x = Math.round((rect.left - containerRect.left) / scaleFactor);
75222
+ const x2 = Math.round((rect.left - containerRect.left) / scaleFactor);
75085
75223
  const y2 = Math.round((rect.top - containerRect.top) / scaleFactor);
75086
75224
  const width = Math.round(rect.width / scaleFactor);
75087
75225
  const height = Math.round(rect.height / scaleFactor);
75088
75226
  return {
75089
- x,
75227
+ x: x2,
75090
75228
  y: y2,
75091
75229
  data: { width, height }
75092
75230
  };
75093
75231
  }
75094
75232
  }
75095
75233
  ]
75096
- }).then(({ x, y: y2, middlewareData }) => {
75234
+ }).then(({ x: x2, y: y2, middlewareData }) => {
75097
75235
  Object.assign(floatingSeparator.style, {
75098
75236
  top: `${y2}px`,
75099
- left: `${x}px`,
75237
+ left: `${x2}px`,
75100
75238
  width: `${middlewareData.copy.width}px`,
75101
75239
  height: `${middlewareData.copy.height}px`,
75102
75240
  visibility: middlewareData.hide?.referenceHidden ? "hidden" : "visible"
@@ -78110,14 +78248,14 @@ function ensureViewBoundingRect() {
78110
78248
  }
78111
78249
  return viewMeasurer.getBoundingClientRect();
78112
78250
  }
78113
- function getPointRect(x, y2) {
78251
+ function getPointRect(x2, y2) {
78114
78252
  const viewRect = ensureViewBoundingRect();
78115
78253
  return {
78116
78254
  top: y2,
78117
- left: x,
78255
+ left: x2,
78118
78256
  height: 0,
78119
78257
  width: 0,
78120
- right: viewRect.width - x,
78258
+ right: viewRect.width - x2,
78121
78259
  bottom: viewRect.height - y2
78122
78260
  };
78123
78261
  }
@@ -78955,8 +79093,8 @@ const VFollower = vue.defineComponent({
78955
79093
  if (follower === null)
78956
79094
  return;
78957
79095
  const target = VBinder.targetRef;
78958
- const { x, y: y2, overlap } = props;
78959
- const targetRect = x !== void 0 && y2 !== void 0 ? getPointRect(x, y2) : getRect(target);
79096
+ const { x: x2, y: y2, overlap } = props;
79097
+ const targetRect = x2 !== void 0 && y2 !== void 0 ? getPointRect(x2, y2) : getRect(target);
78960
79098
  follower.style.setProperty("--v-target-width", `${Math.round(targetRect.width)}px`);
78961
79099
  follower.style.setProperty("--v-target-height", `${Math.round(targetRect.height)}px`);
78962
79100
  const { width, minWidth, placement, internalShift, flip: flip2 } = props;
@@ -79126,8 +79264,8 @@ var ResizeObserverSize = /* @__PURE__ */ (function() {
79126
79264
  return ResizeObserverSize2;
79127
79265
  })();
79128
79266
  var DOMRectReadOnly = (function() {
79129
- function DOMRectReadOnly2(x, y2, width, height) {
79130
- this.x = x;
79267
+ function DOMRectReadOnly2(x2, y2, width, height) {
79268
+ this.x = x2;
79131
79269
  this.y = y2;
79132
79270
  this.width = width;
79133
79271
  this.height = height;
@@ -79138,8 +79276,8 @@ var DOMRectReadOnly = (function() {
79138
79276
  return freeze(this);
79139
79277
  }
79140
79278
  DOMRectReadOnly2.prototype.toJSON = function() {
79141
- var _a2 = this, x = _a2.x, y2 = _a2.y, top2 = _a2.top, right2 = _a2.right, bottom2 = _a2.bottom, left2 = _a2.left, width = _a2.width, height = _a2.height;
79142
- return { x, y: y2, top: top2, right: right2, bottom: bottom2, left: left2, width, height };
79279
+ var _a2 = this, x2 = _a2.x, y2 = _a2.y, top2 = _a2.top, right2 = _a2.right, bottom2 = _a2.bottom, left2 = _a2.left, width = _a2.width, height = _a2.height;
79280
+ return { x: x2, y: y2, top: top2, right: right2, bottom: bottom2, left: left2, width, height };
79143
79281
  };
79144
79282
  DOMRectReadOnly2.fromRect = function(rectangle) {
79145
79283
  return new DOMRectReadOnly2(rectangle.x, rectangle.y, rectangle.width, rectangle.height);