superdoc 0.31.3 → 0.31.4-RC.1

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 (68) hide show
  1. package/dist/chunks/{PdfViewer-Cfv24RAO.es.js → PdfViewer-CfddQRyP.es.js} +2 -2
  2. package/dist/chunks/{PdfViewer-DxZEZ0kC.cjs → PdfViewer-DixGlM27.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-BkSlSgV3-Bs1x4Ydh.es.js → index-AHvb1Kq8-CdsSSFLa.es.js} +1 -1
  6. package/dist/chunks/{index-BkSlSgV3-0lYca18m.cjs → index-AHvb1Kq8-qUWhs4Mc.cjs} +1 -1
  7. package/dist/chunks/{index-DzCRau8t.es.js → index-BhqNjeQ9.es.js} +6 -6
  8. package/dist/chunks/{index-DyWNiAwo.cjs → index-si5FPIma.cjs} +6 -6
  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-DEg3G86J.cjs → super-editor.es-B38m4dVS.cjs} +646 -613
  12. package/dist/chunks/{super-editor.es-DOLpHa0H.es.js → super-editor.es-BPq1yR5r.es.js} +599 -566
  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.map +1 -1
  44. package/dist/packages/superdoc/src/core/types/index.d.ts.map +1 -1
  45. package/dist/super-editor/ai-writer.es.js +2 -2
  46. package/dist/super-editor/chunks/{converter-DsvQGrFy.js → converter-DJekFjDb.js} +329 -296
  47. package/dist/super-editor/chunks/{docx-zipper-DY9haip7.js → docx-zipper-jr5GlGHA.js} +1 -1
  48. package/dist/super-editor/chunks/{editor-gAS774Lu.js → editor-BXFqZrCn.js} +4 -4
  49. package/dist/super-editor/chunks/{index-BkSlSgV3.js → index-AHvb1Kq8.js} +1 -1
  50. package/dist/super-editor/chunks/{toolbar-B_JCu51N.js → toolbar-CBw3s7K5.js} +2 -2
  51. package/dist/super-editor/converter.es.js +1 -1
  52. package/dist/super-editor/docx-zipper.es.js +2 -2
  53. package/dist/super-editor/editor.es.js +3 -3
  54. package/dist/super-editor/file-zipper.es.js +1 -1
  55. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/del/del-translator.d.ts.map +1 -1
  56. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ins/ins-translator.d.ts.map +1 -1
  57. package/dist/super-editor/super-editor/src/extensions/track-changes/permission-helpers.d.ts.map +1 -1
  58. package/dist/super-editor/super-editor.es.js +6 -6
  59. package/dist/super-editor/toolbar.es.js +2 -2
  60. package/dist/super-editor.cjs +2 -2
  61. package/dist/super-editor.es.js +2 -2
  62. package/dist/superdoc.cjs +2 -2
  63. package/dist/superdoc.es.js +2 -2
  64. package/dist/superdoc.umd.js +987 -914
  65. package/dist/superdoc.umd.js.map +1 -1
  66. package/package.json +1 -1
  67. package/dist/chunks/xml-js-BSDu25I7.cjs +0 -3
  68. package/dist/chunks/xml-js-CBrRls0f.es.js +0 -2
@@ -1,4 +1,4 @@
1
- import { g as global$2, r as ref$1, c as createApp, a as computed, b as createElementBlock, o as openBlock, F as Fragment$1, d as renderList, n as normalizeClass, w as withModifiers, e as createCommentVNode, t as toDisplayString, f as createBaseVNode, i as inject, h as onBeforeMount, j as onMounted, k as onBeforeUnmount, l as watch, m as defineComponent, p as getCurrentInstance, q as onDeactivated, s as nextTick, u as createBlock, v as createVNode, x as unref, y as h$1, z as mergeProps, A as shallowRef, B as withCtx, C as createTextVNode, D as normalizeStyle, E as toRef, G as provide, H as cloneVNode, T as Text$2, I as withDirectives, J as watchEffect, K as vModelText, L as withKeys, M as reactive, N as readonly, O as Transition, P as vShow, Q as Comment, R as renderSlot, S as onActivated, U as Teleport, V as isVNode, W as onUnmounted, X as resolveDynamicComponent, Y as normalizeProps, Z as guardReactiveProps, _ as markRaw } from "./vue-CKmzTNVs.es.js";
1
+ import { g as global$2, r as ref$1, c as createApp, a as computed, b as createElementBlock, o as openBlock, F as Fragment$1, d as renderList, n as normalizeClass, w as withModifiers, e as createCommentVNode, t as toDisplayString, f as createBaseVNode, i as inject, h as onBeforeMount, j as onMounted, k as onBeforeUnmount, l as watch, m as defineComponent, p as getCurrentInstance, q as onDeactivated, s as nextTick, u as createBlock, v as createVNode, x as unref, y as h, z as mergeProps, A as shallowRef, B as withCtx, C as createTextVNode, D as normalizeStyle, E as toRef, G as provide, H as cloneVNode, T as Text$2, I as withDirectives, J as watchEffect, K as vModelText, L as withKeys, M as reactive, N as readonly, O as Transition, P as vShow, Q as Comment, R as renderSlot, S as onActivated, U as Teleport, V as isVNode, W as onUnmounted, X as resolveDynamicComponent, Y as normalizeProps, Z as guardReactiveProps, _ as markRaw } from "./vue-B5QAf5pA.es.js";
2
2
  import * as Y from "yjs";
3
3
  import { UndoManager, Item as Item$2, ContentType, Text as Text$1, XmlElement, encodeStateAsUpdate } from "yjs";
4
4
  var __defProp$2 = Object.defineProperty;
@@ -416,17 +416,17 @@ ieee754.write = function(buffer2, value, offset2, isLE, mLen, nBytes) {
416
416
  );
417
417
  }
418
418
  if (a === b2) return 0;
419
- let x = a.length;
419
+ let x2 = a.length;
420
420
  let y2 = b2.length;
421
- for (let i = 0, len = Math.min(x, y2); i < len; ++i) {
421
+ for (let i = 0, len = Math.min(x2, y2); i < len; ++i) {
422
422
  if (a[i] !== b2[i]) {
423
- x = a[i];
423
+ x2 = a[i];
424
424
  y2 = b2[i];
425
425
  break;
426
426
  }
427
427
  }
428
- if (x < y2) return -1;
429
- if (y2 < x) return 1;
428
+ if (x2 < y2) return -1;
429
+ if (y2 < x2) return 1;
430
430
  return 0;
431
431
  };
432
432
  Buffer3.isEncoding = function isEncoding(encoding) {
@@ -675,20 +675,20 @@ ieee754.write = function(buffer2, value, offset2, isLE, mLen, nBytes) {
675
675
  thisStart >>>= 0;
676
676
  thisEnd >>>= 0;
677
677
  if (this === target) return 0;
678
- let x = thisEnd - thisStart;
678
+ let x2 = thisEnd - thisStart;
679
679
  let y2 = end2 - start2;
680
- const len = Math.min(x, y2);
680
+ const len = Math.min(x2, y2);
681
681
  const thisCopy = this.slice(thisStart, thisEnd);
682
682
  const targetCopy = target.slice(start2, end2);
683
683
  for (let i = 0; i < len; ++i) {
684
684
  if (thisCopy[i] !== targetCopy[i]) {
685
- x = thisCopy[i];
685
+ x2 = thisCopy[i];
686
686
  y2 = targetCopy[i];
687
687
  break;
688
688
  }
689
689
  }
690
- if (x < y2) return -1;
691
- if (y2 < x) return 1;
690
+ if (x2 < y2) return -1;
691
+ if (y2 < x2) return 1;
692
692
  return 0;
693
693
  };
694
694
  function bidirectionalIndexOf(buffer2, val, byteOffset, encoding, dir) {
@@ -1778,8 +1778,8 @@ ieee754.write = function(buffer2, value, offset2, isLE, mLen, nBytes) {
1778
1778
  })(buffer);
1779
1779
  const Buffer2 = buffer.Buffer;
1780
1780
  var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global$2 !== "undefined" ? global$2 : typeof self !== "undefined" ? self : {};
1781
- function getDefaultExportFromCjs$2(x) {
1782
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
1781
+ function getDefaultExportFromCjs$2(x2) {
1782
+ return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
1783
1783
  }
1784
1784
  var sax = {};
1785
1785
  var events$1 = { exports: {} };
@@ -1787,13 +1787,13 @@ var hasRequiredEvents;
1787
1787
  function requireEvents() {
1788
1788
  if (hasRequiredEvents) return events$1.exports;
1789
1789
  hasRequiredEvents = 1;
1790
- var R2 = typeof Reflect === "object" ? Reflect : null;
1791
- var ReflectApply = R2 && typeof R2.apply === "function" ? R2.apply : function ReflectApply2(target, receiver, args) {
1790
+ var R = typeof Reflect === "object" ? Reflect : null;
1791
+ var ReflectApply = R && typeof R.apply === "function" ? R.apply : function ReflectApply2(target, receiver, args) {
1792
1792
  return Function.prototype.apply.call(target, receiver, args);
1793
1793
  };
1794
1794
  var ReflectOwnKeys;
1795
- if (R2 && typeof R2.ownKeys === "function") {
1796
- ReflectOwnKeys = R2.ownKeys;
1795
+ if (R && typeof R.ownKeys === "function") {
1796
+ ReflectOwnKeys = R.ownKeys;
1797
1797
  } else if (Object.getOwnPropertySymbols) {
1798
1798
  ReflectOwnKeys = function ReflectOwnKeys2(target) {
1799
1799
  return Object.getOwnPropertyNames(target).concat(Object.getOwnPropertySymbols(target));
@@ -2183,8 +2183,8 @@ function requireInherits_browser() {
2183
2183
  }
2184
2184
  return inherits_browser.exports;
2185
2185
  }
2186
- function getDefaultExportFromCjs$1(x) {
2187
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
2186
+ function getDefaultExportFromCjs$1(x2) {
2187
+ return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
2188
2188
  }
2189
2189
  var browser$1 = { exports: {} };
2190
2190
  var process$1 = browser$1.exports = {};
@@ -2765,17 +2765,17 @@ function requireDist() {
2765
2765
  );
2766
2766
  }
2767
2767
  if (a === b2) return 0;
2768
- let x = a.length;
2768
+ let x2 = a.length;
2769
2769
  let y2 = b2.length;
2770
- for (let i2 = 0, len2 = Math.min(x, y2); i2 < len2; ++i2) {
2770
+ for (let i2 = 0, len2 = Math.min(x2, y2); i2 < len2; ++i2) {
2771
2771
  if (a[i2] !== b2[i2]) {
2772
- x = a[i2];
2772
+ x2 = a[i2];
2773
2773
  y2 = b2[i2];
2774
2774
  break;
2775
2775
  }
2776
2776
  }
2777
- if (x < y2) return -1;
2778
- if (y2 < x) return 1;
2777
+ if (x2 < y2) return -1;
2778
+ if (y2 < x2) return 1;
2779
2779
  return 0;
2780
2780
  };
2781
2781
  Buffer4.isEncoding = function isEncoding(encoding) {
@@ -3024,20 +3024,20 @@ function requireDist() {
3024
3024
  thisStart >>>= 0;
3025
3025
  thisEnd >>>= 0;
3026
3026
  if (this === target) return 0;
3027
- let x = thisEnd - thisStart;
3027
+ let x2 = thisEnd - thisStart;
3028
3028
  let y2 = end2 - start2;
3029
- const len2 = Math.min(x, y2);
3029
+ const len2 = Math.min(x2, y2);
3030
3030
  const thisCopy = this.slice(thisStart, thisEnd);
3031
3031
  const targetCopy = target.slice(start2, end2);
3032
3032
  for (let i2 = 0; i2 < len2; ++i2) {
3033
3033
  if (thisCopy[i2] !== targetCopy[i2]) {
3034
- x = thisCopy[i2];
3034
+ x2 = thisCopy[i2];
3035
3035
  y2 = targetCopy[i2];
3036
3036
  break;
3037
3037
  }
3038
3038
  }
3039
- if (x < y2) return -1;
3040
- if (y2 < x) return 1;
3039
+ if (x2 < y2) return -1;
3040
+ if (y2 < x2) return 1;
3041
3041
  return 0;
3042
3042
  };
3043
3043
  function bidirectionalIndexOf(buffer3, val, byteOffset, encoding, dir) {
@@ -4609,15 +4609,15 @@ function requireGetProto() {
4609
4609
  var reflectGetProto = requireReflect_getPrototypeOf();
4610
4610
  var originalGetProto = requireObject_getPrototypeOf();
4611
4611
  var getDunderProto = /* @__PURE__ */ requireGet();
4612
- getProto = reflectGetProto ? function getProto2(O2) {
4613
- return reflectGetProto(O2);
4614
- } : originalGetProto ? function getProto2(O2) {
4615
- if (!O2 || typeof O2 !== "object" && typeof O2 !== "function") {
4612
+ getProto = reflectGetProto ? function getProto2(O) {
4613
+ return reflectGetProto(O);
4614
+ } : originalGetProto ? function getProto2(O) {
4615
+ if (!O || typeof O !== "object" && typeof O !== "function") {
4616
4616
  throw new TypeError("getProto: not an object");
4617
4617
  }
4618
- return originalGetProto(O2);
4619
- } : getDunderProto ? function getProto2(O2) {
4620
- return getDunderProto(O2);
4618
+ return originalGetProto(O);
4619
+ } : getDunderProto ? function getProto2(O) {
4620
+ return getDunderProto(O);
4621
4621
  } : null;
4622
4622
  return getProto;
4623
4623
  }
@@ -5295,8 +5295,8 @@ function requireForEach() {
5295
5295
  }
5296
5296
  }
5297
5297
  };
5298
- function isArray2(x) {
5299
- return toStr.call(x) === "[object Array]";
5298
+ function isArray2(x2) {
5299
+ return toStr.call(x2) === "[object Array]";
5300
5300
  }
5301
5301
  forEach = function forEach22(list, iterator, thisArg) {
5302
5302
  if (!isCallable2(iterator)) {
@@ -5905,10 +5905,10 @@ function requireUtil() {
5905
5905
  var i = 1;
5906
5906
  var args = arguments;
5907
5907
  var len = args.length;
5908
- var str = String(f2).replace(formatRegExp, function(x2) {
5909
- if (x2 === "%%") return "%";
5910
- if (i >= len) return x2;
5911
- switch (x2) {
5908
+ var str = String(f2).replace(formatRegExp, function(x3) {
5909
+ if (x3 === "%%") return "%";
5910
+ if (i >= len) return x3;
5911
+ switch (x3) {
5912
5912
  case "%s":
5913
5913
  return String(args[i++]);
5914
5914
  case "%d":
@@ -5920,14 +5920,14 @@ function requireUtil() {
5920
5920
  return "[Circular]";
5921
5921
  }
5922
5922
  default:
5923
- return x2;
5923
+ return x3;
5924
5924
  }
5925
5925
  });
5926
- for (var x = args[i]; i < len; x = args[++i]) {
5927
- if (isNull(x) || !isObject2(x)) {
5928
- str += " " + x;
5926
+ for (var x2 = args[i]; i < len; x2 = args[++i]) {
5927
+ if (isNull(x2) || !isObject2(x2)) {
5928
+ str += " " + x2;
5929
5929
  } else {
5930
- str += " " + inspect(x);
5930
+ str += " " + inspect(x2);
5931
5931
  }
5932
5932
  }
5933
5933
  return str;
@@ -7492,6 +7492,7 @@ function require_stream_duplex() {
7492
7492
  }
7493
7493
  var string_decoder = {};
7494
7494
  var safeBuffer = { exports: {} };
7495
+ /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
7495
7496
  var hasRequiredSafeBuffer;
7496
7497
  function requireSafeBuffer() {
7497
7498
  if (hasRequiredSafeBuffer) return safeBuffer.exports;
@@ -7513,6 +7514,7 @@ function requireSafeBuffer() {
7513
7514
  function SafeBuffer(arg, encodingOrOffset, length2) {
7514
7515
  return Buffer3(arg, encodingOrOffset, length2);
7515
7516
  }
7517
+ SafeBuffer.prototype = Object.create(Buffer3.prototype);
7516
7518
  copyProps(Buffer3, SafeBuffer);
7517
7519
  SafeBuffer.from = function(arg, encodingOrOffset, length2) {
7518
7520
  if (typeof arg === "number") {
@@ -8790,9 +8792,9 @@ function require_stream_readable() {
8790
8792
  return from2(Readable, iterable, opts);
8791
8793
  };
8792
8794
  }
8793
- function indexOf(xs, x) {
8795
+ function indexOf(xs, x2) {
8794
8796
  for (var i = 0, l3 = xs.length; i < l3; i++) {
8795
- if (xs[i] === x) return i;
8797
+ if (xs[i] === x2) return i;
8796
8798
  }
8797
8799
  return -1;
8798
8800
  }
@@ -9250,27 +9252,27 @@ function requireSax() {
9250
9252
  this._parser = new SAXParser(strict, opt);
9251
9253
  this.writable = true;
9252
9254
  this.readable = true;
9253
- var me = this;
9255
+ var me2 = this;
9254
9256
  this._parser.onend = function() {
9255
- me.emit("end");
9257
+ me2.emit("end");
9256
9258
  };
9257
9259
  this._parser.onerror = function(er) {
9258
- me.emit("error", er);
9259
- me._parser.error = null;
9260
+ me2.emit("error", er);
9261
+ me2._parser.error = null;
9260
9262
  };
9261
9263
  this._decoder = null;
9262
9264
  streamWraps.forEach(function(ev) {
9263
- Object.defineProperty(me, "on" + ev, {
9265
+ Object.defineProperty(me2, "on" + ev, {
9264
9266
  get: function() {
9265
- return me._parser["on" + ev];
9267
+ return me2._parser["on" + ev];
9266
9268
  },
9267
9269
  set: function(h2) {
9268
9270
  if (!h2) {
9269
- me.removeAllListeners(ev);
9270
- me._parser["on" + ev] = h2;
9271
+ me2.removeAllListeners(ev);
9272
+ me2._parser["on" + ev] = h2;
9271
9273
  return h2;
9272
9274
  }
9273
- me.on(ev, h2);
9275
+ me2.on(ev, h2);
9274
9276
  },
9275
9277
  enumerable: true,
9276
9278
  configurable: false
@@ -9302,15 +9304,15 @@ function requireSax() {
9302
9304
  return true;
9303
9305
  };
9304
9306
  SAXStream.prototype.on = function(ev, handler2) {
9305
- var me = this;
9306
- if (!me._parser["on" + ev] && streamWraps.indexOf(ev) !== -1) {
9307
- me._parser["on" + ev] = function() {
9307
+ var me2 = this;
9308
+ if (!me2._parser["on" + ev] && streamWraps.indexOf(ev) !== -1) {
9309
+ me2._parser["on" + ev] = function() {
9308
9310
  var args = arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments);
9309
9311
  args.splice(0, 0, ev);
9310
- me.emit.apply(me, args);
9312
+ me2.emit.apply(me2, args);
9311
9313
  };
9312
9314
  }
9313
- return Stream.prototype.on.call(me, ev, handler2);
9315
+ return Stream.prototype.on.call(me2, ev, handler2);
9314
9316
  };
9315
9317
  var CDATA = "[CDATA[";
9316
9318
  var DOCTYPE = "DOCTYPE";
@@ -9902,9 +9904,9 @@ function requireSax() {
9902
9904
  var tag = parser.tag = parser.tags.pop();
9903
9905
  parser.tagName = parser.tag.name;
9904
9906
  emitNode(parser, "onclosetag", parser.tagName);
9905
- var x = {};
9907
+ var x2 = {};
9906
9908
  for (var i in tag.ns) {
9907
- x[i] = tag.ns[i];
9909
+ x2[i] = tag.ns[i];
9908
9910
  }
9909
9911
  var parent = parser.tags[parser.tags.length - 1] || parser;
9910
9912
  if (parser.opt.xmlns && tag.ns !== parent.ns) {
@@ -11384,8 +11386,8 @@ function v4(options, buf, offset2) {
11384
11386
  rnds[8] = rnds[8] & 63 | 128;
11385
11387
  return unsafeStringify(rnds);
11386
11388
  }
11387
- function getDefaultExportFromCjs(x) {
11388
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
11389
+ function getDefaultExportFromCjs(x2) {
11390
+ return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
11389
11391
  }
11390
11392
  const CRC_TABLE = new Int32Array([
11391
11393
  0,
@@ -15201,8 +15203,8 @@ function polygonToObj(polygonNode) {
15201
15203
  const points = [];
15202
15204
  polygonNode.elements.forEach((element) => {
15203
15205
  if (["wp:start", "wp:lineTo"].includes(element.name)) {
15204
- const { x, y: y2 } = element.attributes;
15205
- points.push([polygonUnitsToPixels(x), polygonUnitsToPixels(y2)]);
15206
+ const { x: x2, y: y2 } = element.attributes;
15207
+ points.push([polygonUnitsToPixels(x2), polygonUnitsToPixels(y2)]);
15206
15208
  }
15207
15209
  });
15208
15210
  if (points.length > 1) {
@@ -15225,13 +15227,13 @@ function objToPolygon(points) {
15225
15227
  elements: []
15226
15228
  };
15227
15229
  points.forEach((point, index2) => {
15228
- const [x, y2] = point;
15230
+ const [x2, y2] = point;
15229
15231
  const tagName = index2 === 0 ? "wp:start" : "wp:lineTo";
15230
15232
  const pointNode = {
15231
15233
  name: tagName,
15232
15234
  type: tagName,
15233
15235
  attributes: {
15234
- x: pixelsToPolygonUnits(x),
15236
+ x: pixelsToPolygonUnits(x2),
15235
15237
  y: pixelsToPolygonUnits(y2)
15236
15238
  }
15237
15239
  };
@@ -22893,7 +22895,7 @@ function posToDOMRect(view, from2, to) {
22893
22895
  const right2 = Math.max(start2.right, end2.right);
22894
22896
  const width = right2 - left2;
22895
22897
  const height = bottom2 - top2;
22896
- const x = left2;
22898
+ const x2 = left2;
22897
22899
  const y2 = top2;
22898
22900
  const data = {
22899
22901
  top: top2,
@@ -22902,7 +22904,7 @@ function posToDOMRect(view, from2, to) {
22902
22904
  right: right2,
22903
22905
  width,
22904
22906
  height,
22905
- x,
22907
+ x: x2,
22906
22908
  y: y2
22907
22909
  };
22908
22910
  return {
@@ -22991,25 +22993,31 @@ function createDocFromHTML(content, schema, options = {}) {
22991
22993
  function L() {
22992
22994
  return { async: false, breaks: false, extensions: null, gfm: true, hooks: null, pedantic: false, renderer: null, silent: false, tokenizer: null, walkTokens: null };
22993
22995
  }
22994
- var O = L();
22996
+ var T = L();
22995
22997
  function G(l3) {
22996
- O = l3;
22998
+ T = l3;
22997
22999
  }
22998
23000
  var E = { exec: () => null };
22999
- function h(l3, e = "") {
23001
+ function d$1(l3, e = "") {
23000
23002
  let t = typeof l3 == "string" ? l3 : l3.source, n = { replace: (r2, i) => {
23001
23003
  let s2 = typeof i == "string" ? i : i.source;
23002
23004
  return s2 = s2.replace(m.caret, "$1"), t = t.replace(r2, s2), n;
23003
23005
  }, getRegex: () => new RegExp(t, e) };
23004
23006
  return n;
23005
23007
  }
23006
- 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} *[^
23007
- ]`).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 };
23008
- var Xe = { "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#39;" }, ke = (l3) => Xe[l3];
23008
+ var be = (() => {
23009
+ try {
23010
+ return !!new RegExp("(?<=1)(?<!1)");
23011
+ } catch {
23012
+ return false;
23013
+ }
23014
+ })(), 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} *[^
23015
+ ]`).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 };
23016
+ var Ve = { "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#39;" }, ge = (l3) => Ve[l3];
23009
23017
  function w(l3, e) {
23010
23018
  if (e) {
23011
- if (m.escapeTest.test(l3)) return l3.replace(m.escapeReplace, ke);
23012
- } else if (m.escapeTestNoEncode.test(l3)) return l3.replace(m.escapeReplaceNoEncode, ke);
23019
+ if (m.escapeTest.test(l3)) return l3.replace(m.escapeReplace, ge);
23020
+ } else if (m.escapeTestNoEncode.test(l3)) return l3.replace(m.escapeReplaceNoEncode, ge);
23013
23021
  return l3;
23014
23022
  }
23015
23023
  function J(l3) {
@@ -23021,10 +23029,10 @@ function J(l3) {
23021
23029
  return l3;
23022
23030
  }
23023
23031
  function V(l3, e) {
23024
- let t = l3.replace(m.findPipe, (i, s2, o) => {
23025
- let a = false, u = s2;
23026
- for (; --u >= 0 && o[u] === "\\"; ) a = !a;
23027
- return a ? "|" : " |";
23032
+ let t = l3.replace(m.findPipe, (i, s2, a) => {
23033
+ let o = false, p = s2;
23034
+ for (; --p >= 0 && a[p] === "\\"; ) o = !o;
23035
+ return o ? "|" : " |";
23028
23036
  }), n = t.split(m.splitPipe), r2 = 0;
23029
23037
  if (n[0].trim() || n.shift(), n.length > 0 && !n.at(-1)?.trim() && n.pop(), e) if (n.length > e) n.splice(e);
23030
23038
  else for (; n.length < e; ) n.push("");
@@ -23042,7 +23050,7 @@ function z(l3, e, t) {
23042
23050
  }
23043
23051
  return l3.slice(0, n - r2);
23044
23052
  }
23045
- function ge(l3, e) {
23053
+ function fe(l3, e) {
23046
23054
  if (l3.indexOf(e[1]) === -1) return -1;
23047
23055
  let t = 0;
23048
23056
  for (let n = 0; n < l3.length; n++) if (l3[n] === "\\") n++;
@@ -23050,13 +23058,13 @@ function ge(l3, e) {
23050
23058
  else if (l3[n] === e[1] && (t--, t < 0)) return n;
23051
23059
  return t > 0 ? -2 : -1;
23052
23060
  }
23053
- function fe(l3, e, t, n, r2) {
23054
- let i = e.href, s2 = e.title || null, o = l3[1].replace(r2.other.outputLinkReplace, "$1");
23061
+ function me(l3, e, t, n, r2) {
23062
+ let i = e.href, s2 = e.title || null, a = l3[1].replace(r2.other.outputLinkReplace, "$1");
23055
23063
  n.state.inLink = true;
23056
- let a = { type: l3[0].charAt(0) === "!" ? "image" : "link", raw: t, href: i, title: s2, text: o, tokens: n.inlineTokens(o) };
23057
- return n.state.inLink = false, a;
23064
+ let o = { type: l3[0].charAt(0) === "!" ? "image" : "link", raw: t, href: i, title: s2, text: a, tokens: n.inlineTokens(a) };
23065
+ return n.state.inLink = false, o;
23058
23066
  }
23059
- function Je(l3, e, t) {
23067
+ function Ye(l3, e, t) {
23060
23068
  let n = l3.match(t.other.indentCodeCompensation);
23061
23069
  if (n === null) return e;
23062
23070
  let r2 = n[1];
@@ -23064,8 +23072,8 @@ function Je(l3, e, t) {
23064
23072
  `).map((i) => {
23065
23073
  let s2 = i.match(t.other.beginningSpace);
23066
23074
  if (s2 === null) return i;
23067
- let [o] = s2;
23068
- return o.length >= r2.length ? i.slice(r2.length) : i;
23075
+ let [a] = s2;
23076
+ return a.length >= r2.length ? i.slice(r2.length) : i;
23069
23077
  }).join(`
23070
23078
  `);
23071
23079
  }
@@ -23074,7 +23082,7 @@ var y = class {
23074
23082
  __publicField$2(this, "options");
23075
23083
  __publicField$2(this, "rules");
23076
23084
  __publicField$2(this, "lexer");
23077
- this.options = e || O;
23085
+ this.options = e || T;
23078
23086
  }
23079
23087
  space(e) {
23080
23088
  let t = this.rules.block.newline.exec(e);
@@ -23091,7 +23099,7 @@ var y = class {
23091
23099
  fences(e) {
23092
23100
  let t = this.rules.block.fences.exec(e);
23093
23101
  if (t) {
23094
- let n = t[0], r2 = Je(n, t[3] || "", this.rules);
23102
+ let n = t[0], r2 = Ye(n, t[3] || "", this.rules);
23095
23103
  return { type: "code", raw: n, lang: t[2] ? t[2].trim().replace(this.rules.inline.anyPunctuation, "$1") : t[2], text: r2 };
23096
23104
  }
23097
23105
  }
@@ -23118,32 +23126,32 @@ var y = class {
23118
23126
  `).split(`
23119
23127
  `), r2 = "", i = "", s2 = [];
23120
23128
  for (; n.length > 0; ) {
23121
- let o = false, a = [], u;
23122
- for (u = 0; u < n.length; u++) if (this.rules.other.blockquoteStart.test(n[u])) a.push(n[u]), o = true;
23123
- else if (!o) a.push(n[u]);
23129
+ let a = false, o = [], p;
23130
+ for (p = 0; p < n.length; p++) if (this.rules.other.blockquoteStart.test(n[p])) o.push(n[p]), a = true;
23131
+ else if (!a) o.push(n[p]);
23124
23132
  else break;
23125
- n = n.slice(u);
23126
- let p = a.join(`
23127
- `), c2 = p.replace(this.rules.other.blockquoteSetextReplace, `
23133
+ n = n.slice(p);
23134
+ let u = o.join(`
23135
+ `), c2 = u.replace(this.rules.other.blockquoteSetextReplace, `
23128
23136
  $1`).replace(this.rules.other.blockquoteSetextReplace2, "");
23129
23137
  r2 = r2 ? `${r2}
23130
- ${p}` : p, i = i ? `${i}
23138
+ ${u}` : u, i = i ? `${i}
23131
23139
  ${c2}` : c2;
23132
- let f2 = this.lexer.state.top;
23133
- if (this.lexer.state.top = true, this.lexer.blockTokens(c2, s2, true), this.lexer.state.top = f2, n.length === 0) break;
23134
- let k2 = s2.at(-1);
23135
- if (k2?.type === "code") break;
23136
- if (k2?.type === "blockquote") {
23137
- let x = k2, g = x.raw + `
23140
+ let g = this.lexer.state.top;
23141
+ if (this.lexer.state.top = true, this.lexer.blockTokens(c2, s2, true), this.lexer.state.top = g, n.length === 0) break;
23142
+ let h2 = s2.at(-1);
23143
+ if (h2?.type === "code") break;
23144
+ if (h2?.type === "blockquote") {
23145
+ let R = h2, f2 = R.raw + `
23138
23146
  ` + n.join(`
23139
- `), T = this.blockquote(g);
23140
- 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;
23147
+ `), O = this.blockquote(f2);
23148
+ 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;
23141
23149
  break;
23142
- } else if (k2?.type === "list") {
23143
- let x = k2, g = x.raw + `
23150
+ } else if (h2?.type === "list") {
23151
+ let R = h2, f2 = R.raw + `
23144
23152
  ` + n.join(`
23145
- `), T = this.list(g);
23146
- 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(`
23153
+ `), O = this.list(f2);
23154
+ s2[s2.length - 1] = O, r2 = r2.substring(0, r2.length - h2.raw.length) + O.raw, i = i.substring(0, i.length - R.raw.length) + O.raw, n = f2.substring(s2.at(-1).raw.length).split(`
23147
23155
  `);
23148
23156
  continue;
23149
23157
  }
@@ -23156,45 +23164,45 @@ ${c2}` : c2;
23156
23164
  if (t) {
23157
23165
  let n = t[1].trim(), r2 = n.length > 1, i = { type: "list", raw: "", ordered: r2, start: r2 ? +n.slice(0, -1) : "", loose: false, items: [] };
23158
23166
  n = r2 ? `\\d{1,9}\\${n.slice(-1)}` : `\\${n}`, this.options.pedantic && (n = r2 ? n : "[*+-]");
23159
- let s2 = this.rules.other.listItemRegex(n), o = false;
23167
+ let s2 = this.rules.other.listItemRegex(n), a = false;
23160
23168
  for (; e; ) {
23161
- let u = false, p = "", c2 = "";
23169
+ let p = false, u = "", c2 = "";
23162
23170
  if (!(t = s2.exec(e)) || this.rules.block.hr.test(e)) break;
23163
- p = t[0], e = e.substring(p.length);
23164
- let f2 = t[2].split(`
23165
- `, 1)[0].replace(this.rules.other.listReplaceTabs, (H) => " ".repeat(3 * H.length)), k2 = e.split(`
23166
- `, 1)[0], x = !f2.trim(), g = 0;
23167
- 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 + `
23168
- `, e = e.substring(k2.length + 1), u = true), !u) {
23169
- 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);
23171
+ u = t[0], e = e.substring(u.length);
23172
+ let g = t[2].split(`
23173
+ `, 1)[0].replace(this.rules.other.listReplaceTabs, (H) => " ".repeat(3 * H.length)), h2 = e.split(`
23174
+ `, 1)[0], R = !g.trim(), f2 = 0;
23175
+ 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(h2) && (u += h2 + `
23176
+ `, e = e.substring(h2.length + 1), p = true), !p) {
23177
+ 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);
23170
23178
  for (; e; ) {
23171
23179
  let Z = e.split(`
23172
23180
  `, 1)[0], A2;
23173
- 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;
23174
- if (A2.search(this.rules.other.nonSpaceChar) >= g || !k2.trim()) c2 += `
23175
- ` + A2.slice(g);
23181
+ if (h2 = Z, this.options.pedantic ? (h2 = h2.replace(this.rules.other.listReplaceNesting, " "), A2 = h2) : A2 = h2.replace(this.rules.other.tabCharGlobal, " "), te.test(h2) || ne.test(h2) || xe.test(h2) || H.test(h2) || ee.test(h2)) break;
23182
+ if (A2.search(this.rules.other.nonSpaceChar) >= f2 || !h2.trim()) c2 += `
23183
+ ` + A2.slice(f2);
23176
23184
  else {
23177
- if (x || f2.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || te.test(f2) || ne.test(f2) || ee.test(f2)) break;
23185
+ if (R || g.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || te.test(g) || ne.test(g) || ee.test(g)) break;
23178
23186
  c2 += `
23179
- ` + k2;
23187
+ ` + h2;
23180
23188
  }
23181
- !x && !k2.trim() && (x = true), p += Z + `
23182
- `, e = e.substring(Z.length + 1), f2 = A2.slice(g);
23189
+ !R && !h2.trim() && (R = true), u += Z + `
23190
+ `, e = e.substring(Z.length + 1), g = A2.slice(f2);
23183
23191
  }
23184
23192
  }
23185
- i.loose || (o ? i.loose = true : this.rules.other.doubleBlankLine.test(p) && (o = true));
23186
- let T = null, Y2;
23187
- 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;
23193
+ i.loose || (a ? i.loose = true : this.rules.other.doubleBlankLine.test(u) && (a = true));
23194
+ let O = null, Y2;
23195
+ 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;
23188
23196
  }
23189
- let a = i.items.at(-1);
23190
- if (a) a.raw = a.raw.trimEnd(), a.text = a.text.trimEnd();
23197
+ let o = i.items.at(-1);
23198
+ if (o) o.raw = o.raw.trimEnd(), o.text = o.text.trimEnd();
23191
23199
  else return;
23192
23200
  i.raw = i.raw.trimEnd();
23193
- 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) {
23194
- 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));
23201
+ 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) {
23202
+ 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));
23195
23203
  i.loose = c2;
23196
23204
  }
23197
- if (i.loose) for (let u = 0; u < i.items.length; u++) i.items[u].loose = true;
23205
+ if (i.loose) for (let p = 0; p < i.items.length; p++) i.items[p].loose = true;
23198
23206
  return i;
23199
23207
  }
23200
23208
  }
@@ -23215,9 +23223,9 @@ ${c2}` : c2;
23215
23223
  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(`
23216
23224
  `) : [], s2 = { type: "table", raw: t[0], header: [], align: [], rows: [] };
23217
23225
  if (n.length === r2.length) {
23218
- 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);
23219
- 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] });
23220
- 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] })));
23226
+ 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);
23227
+ 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] });
23228
+ 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] })));
23221
23229
  return s2;
23222
23230
  }
23223
23231
  }
@@ -23254,11 +23262,11 @@ ${c2}` : c2;
23254
23262
  let s2 = z(n.slice(0, -1), "\\");
23255
23263
  if ((n.length - s2.length) % 2 === 0) return;
23256
23264
  } else {
23257
- let s2 = ge(t[2], "()");
23265
+ let s2 = fe(t[2], "()");
23258
23266
  if (s2 === -2) return;
23259
23267
  if (s2 > -1) {
23260
- let a = (t[0].indexOf("!") === 0 ? 5 : 4) + t[1].length + s2;
23261
- t[2] = t[2].substring(0, s2), t[0] = t[0].substring(0, a).trim(), t[3] = "";
23268
+ let o = (t[0].indexOf("!") === 0 ? 5 : 4) + t[1].length + s2;
23269
+ t[2] = t[2].substring(0, s2), t[0] = t[0].substring(0, o).trim(), t[3] = "";
23262
23270
  }
23263
23271
  }
23264
23272
  let r2 = t[2], i = "";
@@ -23266,7 +23274,7 @@ ${c2}` : c2;
23266
23274
  let s2 = this.rules.other.pedanticHrefTitle.exec(r2);
23267
23275
  s2 && (r2 = s2[1], i = s2[3]);
23268
23276
  } else i = t[3] ? t[3].slice(1, -1) : "";
23269
- 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);
23277
+ 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);
23270
23278
  }
23271
23279
  }
23272
23280
  reflink(e, t) {
@@ -23277,32 +23285,32 @@ ${c2}` : c2;
23277
23285
  let s2 = n[0].charAt(0);
23278
23286
  return { type: "text", raw: s2, text: s2 };
23279
23287
  }
23280
- return fe(n, i, n[0], this.lexer, this.rules);
23288
+ return me(n, i, n[0], this.lexer, this.rules);
23281
23289
  }
23282
23290
  }
23283
23291
  emStrong(e, t, n = "") {
23284
23292
  let r2 = this.rules.inline.emStrongLDelim.exec(e);
23285
23293
  if (!r2 || r2[3] && n.match(this.rules.other.unicodeAlphaNumeric)) return;
23286
23294
  if (!(r2[1] || r2[2] || "") || !n || this.rules.inline.punctuation.exec(n)) {
23287
- let s2 = [...r2[0]].length - 1, o, a, u = s2, p = 0, c2 = r2[0][0] === "*" ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
23295
+ let s2 = [...r2[0]].length - 1, a, o, p = s2, u = 0, c2 = r2[0][0] === "*" ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
23288
23296
  for (c2.lastIndex = 0, t = t.slice(-1 * e.length + s2); (r2 = c2.exec(t)) != null; ) {
23289
- if (o = r2[1] || r2[2] || r2[3] || r2[4] || r2[5] || r2[6], !o) continue;
23290
- if (a = [...o].length, r2[3] || r2[4]) {
23291
- u += a;
23297
+ if (a = r2[1] || r2[2] || r2[3] || r2[4] || r2[5] || r2[6], !a) continue;
23298
+ if (o = [...a].length, r2[3] || r2[4]) {
23299
+ p += o;
23292
23300
  continue;
23293
- } else if ((r2[5] || r2[6]) && s2 % 3 && !((s2 + a) % 3)) {
23294
- p += a;
23301
+ } else if ((r2[5] || r2[6]) && s2 % 3 && !((s2 + o) % 3)) {
23302
+ u += o;
23295
23303
  continue;
23296
23304
  }
23297
- if (u -= a, u > 0) continue;
23298
- a = Math.min(a, a + u + p);
23299
- let f2 = [...r2[0]][0].length, k2 = e.slice(0, s2 + r2.index + f2 + a);
23300
- if (Math.min(s2, a) % 2) {
23301
- let g = k2.slice(1, -1);
23302
- return { type: "em", raw: k2, text: g, tokens: this.lexer.inlineTokens(g) };
23305
+ if (p -= o, p > 0) continue;
23306
+ o = Math.min(o, o + p + u);
23307
+ let g = [...r2[0]][0].length, h2 = e.slice(0, s2 + r2.index + g + o);
23308
+ if (Math.min(s2, o) % 2) {
23309
+ let f2 = h2.slice(1, -1);
23310
+ return { type: "em", raw: h2, text: f2, tokens: this.lexer.inlineTokens(f2) };
23303
23311
  }
23304
- let x = k2.slice(2, -2);
23305
- return { type: "strong", raw: k2, text: x, tokens: this.lexer.inlineTokens(x) };
23312
+ let R = h2.slice(2, -2);
23313
+ return { type: "strong", raw: h2, text: R, tokens: this.lexer.inlineTokens(R) };
23306
23314
  }
23307
23315
  }
23308
23316
  }
@@ -23351,19 +23359,19 @@ ${c2}` : c2;
23351
23359
  }
23352
23360
  }
23353
23361
  };
23354
- var b = class l {
23362
+ var x = class l {
23355
23363
  constructor(e) {
23356
23364
  __publicField$2(this, "tokens");
23357
23365
  __publicField$2(this, "options");
23358
23366
  __publicField$2(this, "state");
23359
23367
  __publicField$2(this, "tokenizer");
23360
23368
  __publicField$2(this, "inlineQueue");
23361
- 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 };
23362
- let t = { other: m, block: I.normal, inline: M$1.normal };
23363
- 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;
23369
+ 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 };
23370
+ let t = { other: m, block: C.normal, inline: M$1.normal };
23371
+ 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;
23364
23372
  }
23365
23373
  static get rules() {
23366
- return { block: I, inline: M$1 };
23374
+ return { block: C, inline: M$1 };
23367
23375
  }
23368
23376
  static lex(e, t) {
23369
23377
  return new l(t).lex(e);
@@ -23443,9 +23451,9 @@ var b = class l {
23443
23451
  }
23444
23452
  let i = e;
23445
23453
  if (this.options.extensions?.startBlock) {
23446
- let s2 = 1 / 0, o = e.slice(1), a;
23447
- this.options.extensions.startBlock.forEach((u) => {
23448
- a = u.call({ lexer: this }, o), typeof a == "number" && a >= 0 && (s2 = Math.min(s2, a));
23454
+ let s2 = 1 / 0, a = e.slice(1), o;
23455
+ this.options.extensions.startBlock.forEach((p) => {
23456
+ o = p.call({ lexer: this }, a), typeof o == "number" && o >= 0 && (s2 = Math.min(s2, o));
23449
23457
  }), s2 < 1 / 0 && s2 >= 0 && (i = e.substring(0, s2 + 1));
23450
23458
  }
23451
23459
  if (this.state.top && (r2 = this.tokenizer.paragraph(i))) {
@@ -23485,11 +23493,12 @@ var b = class l {
23485
23493
  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));
23486
23494
  }
23487
23495
  for (; (r2 = this.tokenizer.rules.inline.anyPunctuation.exec(n)) != null; ) n = n.slice(0, r2.index) + "++" + n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);
23488
- 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);
23496
+ let i;
23497
+ 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);
23489
23498
  n = this.options.hooks?.emStrongMask?.call({ lexer: this }, n) ?? n;
23490
- let i = false, s2 = "";
23499
+ let s2 = false, a = "";
23491
23500
  for (; e; ) {
23492
- i || (s2 = ""), i = false;
23501
+ s2 || (a = ""), s2 = false;
23493
23502
  let o;
23494
23503
  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;
23495
23504
  if (o = this.tokenizer.escape(e)) {
@@ -23510,7 +23519,7 @@ var b = class l {
23510
23519
  o.type === "text" && u?.type === "text" ? (u.raw += o.raw, u.text += o.text) : t.push(o);
23511
23520
  continue;
23512
23521
  }
23513
- if (o = this.tokenizer.emStrong(e, n, s2)) {
23522
+ if (o = this.tokenizer.emStrong(e, n, a)) {
23514
23523
  e = e.substring(o.raw.length), t.push(o);
23515
23524
  continue;
23516
23525
  }
@@ -23534,15 +23543,15 @@ var b = class l {
23534
23543
  e = e.substring(o.raw.length), t.push(o);
23535
23544
  continue;
23536
23545
  }
23537
- let a = e;
23546
+ let p = e;
23538
23547
  if (this.options.extensions?.startInline) {
23539
- let u = 1 / 0, p = e.slice(1), c2;
23540
- this.options.extensions.startInline.forEach((f2) => {
23541
- c2 = f2.call({ lexer: this }, p), typeof c2 == "number" && c2 >= 0 && (u = Math.min(u, c2));
23542
- }), u < 1 / 0 && u >= 0 && (a = e.substring(0, u + 1));
23548
+ let u = 1 / 0, c2 = e.slice(1), g;
23549
+ this.options.extensions.startInline.forEach((h2) => {
23550
+ g = h2.call({ lexer: this }, c2), typeof g == "number" && g >= 0 && (u = Math.min(u, g));
23551
+ }), u < 1 / 0 && u >= 0 && (p = e.substring(0, u + 1));
23543
23552
  }
23544
- if (o = this.tokenizer.inlineText(a)) {
23545
- e = e.substring(o.raw.length), o.raw.slice(-1) !== "_" && (s2 = o.raw.slice(-1)), i = true;
23553
+ if (o = this.tokenizer.inlineText(p)) {
23554
+ e = e.substring(o.raw.length), o.raw.slice(-1) !== "_" && (a = o.raw.slice(-1)), s2 = true;
23546
23555
  let u = t.at(-1);
23547
23556
  u?.type === "text" ? (u.raw += o.raw, u.text += o.text) : t.push(o);
23548
23557
  continue;
@@ -23562,7 +23571,7 @@ var P = class {
23562
23571
  constructor(e) {
23563
23572
  __publicField$2(this, "options");
23564
23573
  __publicField$2(this, "parser");
23565
- this.options = e || O;
23574
+ this.options = e || T;
23566
23575
  }
23567
23576
  space(e) {
23568
23577
  return "";
@@ -23595,9 +23604,9 @@ ${this.parser.parse(e)}</blockquote>
23595
23604
  }
23596
23605
  list(e) {
23597
23606
  let t = e.ordered, n = e.start, r2 = "";
23598
- for (let o = 0; o < e.items.length; o++) {
23599
- let a = e.items[o];
23600
- r2 += this.listitem(a);
23607
+ for (let a = 0; a < e.items.length; a++) {
23608
+ let o = e.items[a];
23609
+ r2 += this.listitem(o);
23601
23610
  }
23602
23611
  let i = t ? "ol" : "ul", s2 = t && n !== 1 ? ' start="' + n + '"' : "";
23603
23612
  return "<" + i + s2 + `>
@@ -23628,7 +23637,7 @@ ${this.parser.parse(e)}</blockquote>
23628
23637
  for (let i = 0; i < e.rows.length; i++) {
23629
23638
  let s2 = e.rows[i];
23630
23639
  n = "";
23631
- for (let o = 0; o < s2.length; o++) n += this.tablecell(s2[o]);
23640
+ for (let a = 0; a < s2.length; a++) n += this.tablecell(s2[a]);
23632
23641
  r2 += this.tablerow({ text: n });
23633
23642
  }
23634
23643
  return r2 && (r2 = `<tbody>${r2}</tbody>`), `<table>
@@ -23710,12 +23719,12 @@ var $ = class {
23710
23719
  return "";
23711
23720
  }
23712
23721
  };
23713
- var R = class l2 {
23722
+ var b = class l2 {
23714
23723
  constructor(e) {
23715
23724
  __publicField$2(this, "options");
23716
23725
  __publicField$2(this, "renderer");
23717
23726
  __publicField$2(this, "textRenderer");
23718
- 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 $();
23727
+ 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 $();
23719
23728
  }
23720
23729
  static parse(e, t) {
23721
23730
  return new l2(t).parse(e);
@@ -23728,9 +23737,9 @@ var R = class l2 {
23728
23737
  for (let r2 = 0; r2 < e.length; r2++) {
23729
23738
  let i = e[r2];
23730
23739
  if (this.options.extensions?.renderers?.[i.type]) {
23731
- let o = i, a = this.options.extensions.renderers[o.type].call({ parser: this }, o);
23732
- if (a !== false || !["space", "hr", "heading", "code", "table", "blockquote", "list", "html", "def", "paragraph", "text"].includes(o.type)) {
23733
- n += a || "";
23740
+ let a = i, o = this.options.extensions.renderers[a.type].call({ parser: this }, a);
23741
+ if (o !== false || !["space", "hr", "heading", "code", "table", "blockquote", "list", "html", "def", "paragraph", "text"].includes(a.type)) {
23742
+ n += o || "";
23734
23743
  continue;
23735
23744
  }
23736
23745
  }
@@ -23777,16 +23786,16 @@ var R = class l2 {
23777
23786
  continue;
23778
23787
  }
23779
23788
  case "text": {
23780
- let o = s2, a = this.renderer.text(o);
23781
- for (; r2 + 1 < e.length && e[r2 + 1].type === "text"; ) o = e[++r2], a += `
23782
- ` + this.renderer.text(o);
23783
- t ? n += this.renderer.paragraph({ type: "paragraph", raw: a, text: a, tokens: [{ type: "text", raw: a, text: a, escaped: true }] }) : n += a;
23789
+ let a = s2, o = this.renderer.text(a);
23790
+ for (; r2 + 1 < e.length && e[r2 + 1].type === "text"; ) a = e[++r2], o += `
23791
+ ` + this.renderer.text(a);
23792
+ t ? n += this.renderer.paragraph({ type: "paragraph", raw: o, text: o, tokens: [{ type: "text", raw: o, text: o, escaped: true }] }) : n += o;
23784
23793
  continue;
23785
23794
  }
23786
23795
  default: {
23787
- let o = 'Token with "' + s2.type + '" type was not found.';
23788
- if (this.options.silent) return console.error(o), "";
23789
- throw new Error(o);
23796
+ let a = 'Token with "' + s2.type + '" type was not found.';
23797
+ if (this.options.silent) return console.error(a), "";
23798
+ throw new Error(a);
23790
23799
  }
23791
23800
  }
23792
23801
  }
@@ -23797,9 +23806,9 @@ var R = class l2 {
23797
23806
  for (let r2 = 0; r2 < e.length; r2++) {
23798
23807
  let i = e[r2];
23799
23808
  if (this.options.extensions?.renderers?.[i.type]) {
23800
- let o = this.options.extensions.renderers[i.type].call({ parser: this }, i);
23801
- if (o !== false || !["escape", "html", "link", "image", "strong", "em", "codespan", "br", "del", "text"].includes(i.type)) {
23802
- n += o || "";
23809
+ let a = this.options.extensions.renderers[i.type].call({ parser: this }, i);
23810
+ if (a !== false || !["escape", "html", "link", "image", "strong", "em", "codespan", "br", "del", "text"].includes(i.type)) {
23811
+ n += a || "";
23803
23812
  continue;
23804
23813
  }
23805
23814
  }
@@ -23846,9 +23855,9 @@ var R = class l2 {
23846
23855
  break;
23847
23856
  }
23848
23857
  default: {
23849
- let o = 'Token with "' + s2.type + '" type was not found.';
23850
- if (this.options.silent) return console.error(o), "";
23851
- throw new Error(o);
23858
+ let a = 'Token with "' + s2.type + '" type was not found.';
23859
+ if (this.options.silent) return console.error(a), "";
23860
+ throw new Error(a);
23852
23861
  }
23853
23862
  }
23854
23863
  }
@@ -23859,7 +23868,7 @@ var S = (_a = class {
23859
23868
  constructor(e) {
23860
23869
  __publicField$2(this, "options");
23861
23870
  __publicField$2(this, "block");
23862
- this.options = e || O;
23871
+ this.options = e || T;
23863
23872
  }
23864
23873
  preprocess(e) {
23865
23874
  return e;
@@ -23874,10 +23883,10 @@ var S = (_a = class {
23874
23883
  return e;
23875
23884
  }
23876
23885
  provideLexer() {
23877
- return this.block ? b.lex : b.lexInline;
23886
+ return this.block ? x.lex : x.lexInline;
23878
23887
  }
23879
23888
  provideParser() {
23880
- return this.block ? R.parse : R.parseInline;
23889
+ return this.block ? b.parse : b.parseInline;
23881
23890
  }
23882
23891
  }, __publicField$2(_a, "passThroughHooks", /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens", "emStrongMask"])), __publicField$2(_a, "passThroughHooksRespectAsync", /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens"])), _a);
23883
23892
  var B = class {
@@ -23886,10 +23895,10 @@ var B = class {
23886
23895
  __publicField$2(this, "options", this.setOptions);
23887
23896
  __publicField$2(this, "parse", this.parseMarkdown(true));
23888
23897
  __publicField$2(this, "parseInline", this.parseMarkdown(false));
23889
- __publicField$2(this, "Parser", R);
23898
+ __publicField$2(this, "Parser", b);
23890
23899
  __publicField$2(this, "Renderer", P);
23891
23900
  __publicField$2(this, "TextRenderer", $);
23892
- __publicField$2(this, "Lexer", b);
23901
+ __publicField$2(this, "Lexer", x);
23893
23902
  __publicField$2(this, "Tokenizer", y);
23894
23903
  __publicField$2(this, "Hooks", S);
23895
23904
  this.use(...e);
@@ -23900,7 +23909,7 @@ var B = class {
23900
23909
  case "table": {
23901
23910
  let i = r2;
23902
23911
  for (let s2 of i.header) n = n.concat(this.walkTokens(s2.tokens, t));
23903
- for (let s2 of i.rows) for (let o of s2) n = n.concat(this.walkTokens(o.tokens, t));
23912
+ for (let s2 of i.rows) for (let a of s2) n = n.concat(this.walkTokens(a.tokens, t));
23904
23913
  break;
23905
23914
  }
23906
23915
  case "list": {
@@ -23911,8 +23920,8 @@ var B = class {
23911
23920
  default: {
23912
23921
  let i = r2;
23913
23922
  this.defaults.extensions?.childTokens?.[i.type] ? this.defaults.extensions.childTokens[i.type].forEach((s2) => {
23914
- let o = i[s2].flat(1 / 0);
23915
- n = n.concat(this.walkTokens(o, t));
23923
+ let a = i[s2].flat(1 / 0);
23924
+ n = n.concat(this.walkTokens(a, t));
23916
23925
  }) : i.tokens && (n = n.concat(this.walkTokens(i.tokens, t)));
23917
23926
  }
23918
23927
  }
@@ -23926,9 +23935,9 @@ var B = class {
23926
23935
  if (!i.name) throw new Error("extension name required");
23927
23936
  if ("renderer" in i) {
23928
23937
  let s2 = t.renderers[i.name];
23929
- s2 ? t.renderers[i.name] = function(...o) {
23930
- let a = i.renderer.apply(this, o);
23931
- return a === false && (a = s2.apply(this, o)), a;
23938
+ s2 ? t.renderers[i.name] = function(...a) {
23939
+ let o = i.renderer.apply(this, a);
23940
+ return o === false && (o = s2.apply(this, a)), o;
23932
23941
  } : t.renderers[i.name] = i.renderer;
23933
23942
  }
23934
23943
  if ("tokenizer" in i) {
@@ -23942,10 +23951,10 @@ var B = class {
23942
23951
  for (let s2 in n.renderer) {
23943
23952
  if (!(s2 in i)) throw new Error(`renderer '${s2}' does not exist`);
23944
23953
  if (["options", "parser"].includes(s2)) continue;
23945
- let o = s2, a = n.renderer[o], u = i[o];
23946
- i[o] = (...p) => {
23947
- let c2 = a.apply(i, p);
23948
- return c2 === false && (c2 = u.apply(i, p)), c2 || "";
23954
+ let a = s2, o = n.renderer[a], p = i[a];
23955
+ i[a] = (...u) => {
23956
+ let c2 = o.apply(i, u);
23957
+ return c2 === false && (c2 = p.apply(i, u)), c2 || "";
23949
23958
  };
23950
23959
  }
23951
23960
  r2.renderer = i;
@@ -23955,10 +23964,10 @@ var B = class {
23955
23964
  for (let s2 in n.tokenizer) {
23956
23965
  if (!(s2 in i)) throw new Error(`tokenizer '${s2}' does not exist`);
23957
23966
  if (["options", "rules", "lexer"].includes(s2)) continue;
23958
- let o = s2, a = n.tokenizer[o], u = i[o];
23959
- i[o] = (...p) => {
23960
- let c2 = a.apply(i, p);
23961
- return c2 === false && (c2 = u.apply(i, p)), c2;
23967
+ let a = s2, o = n.tokenizer[a], p = i[a];
23968
+ i[a] = (...u) => {
23969
+ let c2 = o.apply(i, u);
23970
+ return c2 === false && (c2 = p.apply(i, u)), c2;
23962
23971
  };
23963
23972
  }
23964
23973
  r2.tokenizer = i;
@@ -23968,23 +23977,30 @@ var B = class {
23968
23977
  for (let s2 in n.hooks) {
23969
23978
  if (!(s2 in i)) throw new Error(`hook '${s2}' does not exist`);
23970
23979
  if (["options", "block"].includes(s2)) continue;
23971
- let o = s2, a = n.hooks[o], u = i[o];
23972
- S.passThroughHooks.has(s2) ? i[o] = (p) => {
23973
- if (this.defaults.async && S.passThroughHooksRespectAsync.has(s2)) return Promise.resolve(a.call(i, p)).then((f2) => u.call(i, f2));
23974
- let c2 = a.call(i, p);
23975
- return u.call(i, c2);
23976
- } : i[o] = (...p) => {
23977
- let c2 = a.apply(i, p);
23978
- return c2 === false && (c2 = u.apply(i, p)), c2;
23980
+ let a = s2, o = n.hooks[a], p = i[a];
23981
+ S.passThroughHooks.has(s2) ? i[a] = (u) => {
23982
+ if (this.defaults.async && S.passThroughHooksRespectAsync.has(s2)) return (async () => {
23983
+ let g = await o.call(i, u);
23984
+ return p.call(i, g);
23985
+ })();
23986
+ let c2 = o.call(i, u);
23987
+ return p.call(i, c2);
23988
+ } : i[a] = (...u) => {
23989
+ if (this.defaults.async) return (async () => {
23990
+ let g = await o.apply(i, u);
23991
+ return g === false && (g = await p.apply(i, u)), g;
23992
+ })();
23993
+ let c2 = o.apply(i, u);
23994
+ return c2 === false && (c2 = p.apply(i, u)), c2;
23979
23995
  };
23980
23996
  }
23981
23997
  r2.hooks = i;
23982
23998
  }
23983
23999
  if (n.walkTokens) {
23984
24000
  let i = this.defaults.walkTokens, s2 = n.walkTokens;
23985
- r2.walkTokens = function(o) {
23986
- let a = [];
23987
- return a.push(s2.call(this, o)), i && (a = a.concat(i.call(this, o))), a;
24001
+ r2.walkTokens = function(a) {
24002
+ let o = [];
24003
+ return o.push(s2.call(this, a)), i && (o = o.concat(i.call(this, a))), o;
23988
24004
  };
23989
24005
  }
23990
24006
  this.defaults = { ...this.defaults, ...r2 };
@@ -23994,28 +24010,31 @@ var B = class {
23994
24010
  return this.defaults = { ...this.defaults, ...e }, this;
23995
24011
  }
23996
24012
  lexer(e, t) {
23997
- return b.lex(e, t ?? this.defaults);
24013
+ return x.lex(e, t ?? this.defaults);
23998
24014
  }
23999
24015
  parser(e, t) {
24000
- return R.parse(e, t ?? this.defaults);
24016
+ return b.parse(e, t ?? this.defaults);
24001
24017
  }
24002
24018
  parseMarkdown(e) {
24003
24019
  return (n, r2) => {
24004
- let i = { ...r2 }, s2 = { ...this.defaults, ...i }, o = this.onError(!!s2.silent, !!s2.async);
24005
- 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."));
24006
- if (typeof n > "u" || n === null) return o(new Error("marked(): input parameter is undefined or null"));
24007
- if (typeof n != "string") return o(new Error("marked(): input parameter is of type " + Object.prototype.toString.call(n) + ", string expected"));
24008
- s2.hooks && (s2.hooks.options = s2, s2.hooks.block = e);
24009
- let a = s2.hooks ? s2.hooks.provideLexer() : e ? b.lex : b.lexInline, u = s2.hooks ? s2.hooks.provideParser() : e ? R.parse : R.parseInline;
24010
- 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);
24020
+ let i = { ...r2 }, s2 = { ...this.defaults, ...i }, a = this.onError(!!s2.silent, !!s2.async);
24021
+ 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."));
24022
+ if (typeof n > "u" || n === null) return a(new Error("marked(): input parameter is undefined or null"));
24023
+ if (typeof n != "string") return a(new Error("marked(): input parameter is of type " + Object.prototype.toString.call(n) + ", string expected"));
24024
+ if (s2.hooks && (s2.hooks.options = s2, s2.hooks.block = e), s2.async) return (async () => {
24025
+ 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;
24026
+ s2.walkTokens && await Promise.all(this.walkTokens(c2, s2.walkTokens));
24027
+ let h2 = await (s2.hooks ? await s2.hooks.provideParser() : e ? b.parse : b.parseInline)(c2, s2);
24028
+ return s2.hooks ? await s2.hooks.postprocess(h2) : h2;
24029
+ })().catch(a);
24011
24030
  try {
24012
24031
  s2.hooks && (n = s2.hooks.preprocess(n));
24013
- let p = a(n, s2);
24032
+ let p = (s2.hooks ? s2.hooks.provideLexer() : e ? x.lex : x.lexInline)(n, s2);
24014
24033
  s2.hooks && (p = s2.hooks.processAllTokens(p)), s2.walkTokens && this.walkTokens(p, s2.walkTokens);
24015
- let c2 = u(p, s2);
24034
+ let c2 = (s2.hooks ? s2.hooks.provideParser() : e ? b.parse : b.parseInline)(p, s2);
24016
24035
  return s2.hooks && (c2 = s2.hooks.postprocess(c2)), c2;
24017
- } catch (p) {
24018
- return o(p);
24036
+ } catch (o) {
24037
+ return a(o);
24019
24038
  }
24020
24039
  };
24021
24040
  }
@@ -24032,38 +24051,38 @@ Please report this to https://github.com/markedjs/marked.`, e) {
24032
24051
  }
24033
24052
  };
24034
24053
  var _ = new B();
24035
- function d$1(l3, e) {
24054
+ function k$1(l3, e) {
24036
24055
  return _.parse(l3, e);
24037
24056
  }
24038
- d$1.options = d$1.setOptions = function(l3) {
24039
- return _.setOptions(l3), d$1.defaults = _.defaults, G(d$1.defaults), d$1;
24057
+ k$1.options = k$1.setOptions = function(l3) {
24058
+ return _.setOptions(l3), k$1.defaults = _.defaults, G(k$1.defaults), k$1;
24040
24059
  };
24041
- d$1.getDefaults = L;
24042
- d$1.defaults = O;
24043
- d$1.use = function(...l3) {
24044
- return _.use(...l3), d$1.defaults = _.defaults, G(d$1.defaults), d$1;
24060
+ k$1.getDefaults = L;
24061
+ k$1.defaults = T;
24062
+ k$1.use = function(...l3) {
24063
+ return _.use(...l3), k$1.defaults = _.defaults, G(k$1.defaults), k$1;
24045
24064
  };
24046
- d$1.walkTokens = function(l3, e) {
24065
+ k$1.walkTokens = function(l3, e) {
24047
24066
  return _.walkTokens(l3, e);
24048
24067
  };
24049
- d$1.parseInline = _.parseInline;
24050
- d$1.Parser = R;
24051
- d$1.parser = R.parse;
24052
- d$1.Renderer = P;
24053
- d$1.TextRenderer = $;
24054
- d$1.Lexer = b;
24055
- d$1.lexer = b.lex;
24056
- d$1.Tokenizer = y;
24057
- d$1.Hooks = S;
24058
- d$1.parse = d$1;
24059
- d$1.options;
24060
- d$1.setOptions;
24061
- d$1.use;
24062
- d$1.walkTokens;
24063
- d$1.parseInline;
24064
- R.parse;
24065
- b.lex;
24066
- d$1.use({
24068
+ k$1.parseInline = _.parseInline;
24069
+ k$1.Parser = b;
24070
+ k$1.parser = b.parse;
24071
+ k$1.Renderer = P;
24072
+ k$1.TextRenderer = $;
24073
+ k$1.Lexer = x;
24074
+ k$1.lexer = x.lex;
24075
+ k$1.Tokenizer = y;
24076
+ k$1.Hooks = S;
24077
+ k$1.parse = k$1;
24078
+ k$1.options;
24079
+ k$1.setOptions;
24080
+ k$1.use;
24081
+ k$1.walkTokens;
24082
+ k$1.parseInline;
24083
+ b.parse;
24084
+ x.lex;
24085
+ k$1.use({
24067
24086
  breaks: false,
24068
24087
  // Use proper paragraphs, not <br> tags
24069
24088
  gfm: true
@@ -24074,7 +24093,7 @@ function createDocFromMarkdown(markdown, schema, options = {}) {
24074
24093
  return createDocFromHTML(html, schema, options);
24075
24094
  }
24076
24095
  function convertMarkdownToHTML(markdown) {
24077
- let html = d$1.parse(markdown, { async: false });
24096
+ let html = k$1.parse(markdown, { async: false });
24078
24097
  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");
24079
24098
  }
24080
24099
  function processContent({ content, type: type2, schema }) {
@@ -28698,18 +28717,18 @@ const handleShapeGroup = (params2, node, graphicData, size2, padding, marginOffs
28698
28717
  const rawY = shapeOff?.attributes?.["y"] ? parseFloat(shapeOff.attributes["y"]) : 0;
28699
28718
  const rawWidth = shapeExt?.attributes?.["cx"] ? parseFloat(shapeExt.attributes["cx"]) : 914400;
28700
28719
  const rawHeight = shapeExt?.attributes?.["cy"] ? parseFloat(shapeExt.attributes["cy"]) : 914400;
28701
- let x, y2, width, height;
28720
+ let x2, y2, width, height;
28702
28721
  if (groupTransform.childWidth && groupTransform.childHeight) {
28703
28722
  const scaleX = groupTransform.width / groupTransform.childWidth;
28704
28723
  const scaleY = groupTransform.height / groupTransform.childHeight;
28705
28724
  const childOriginX = groupTransform.childOriginXEmu || 0;
28706
28725
  const childOriginY = groupTransform.childOriginYEmu || 0;
28707
- x = groupTransform.x + emuToPixels((rawX - childOriginX) * scaleX);
28726
+ x2 = groupTransform.x + emuToPixels((rawX - childOriginX) * scaleX);
28708
28727
  y2 = groupTransform.y + emuToPixels((rawY - childOriginY) * scaleY);
28709
28728
  width = emuToPixels(rawWidth * scaleX);
28710
28729
  height = emuToPixels(rawHeight * scaleY);
28711
28730
  } else {
28712
- x = emuToPixels(rawX);
28731
+ x2 = emuToPixels(rawX);
28713
28732
  y2 = emuToPixels(rawY);
28714
28733
  width = emuToPixels(rawWidth);
28715
28734
  height = emuToPixels(rawHeight);
@@ -28728,7 +28747,7 @@ const handleShapeGroup = (params2, node, graphicData, size2, padding, marginOffs
28728
28747
  shapeType: "vectorShape",
28729
28748
  attrs: {
28730
28749
  kind: shapeKind,
28731
- x,
28750
+ x: x2,
28732
28751
  y: y2,
28733
28752
  width,
28734
28753
  height,
@@ -32341,8 +32360,15 @@ const encode$4 = (params2, encodedAttrs = {}) => {
32341
32360
  });
32342
32361
  encodedAttrs.importedAuthor = `${encodedAttrs.author} (imported)`;
32343
32362
  subs.forEach((subElement) => {
32344
- if (subElement.marks === void 0) subElement.marks = [];
32345
- subElement.marks.push({ type: "trackDelete", attrs: encodedAttrs });
32363
+ subElement.marks = [];
32364
+ if (subElement?.content?.[0]) {
32365
+ if (subElement.content[0].marks === void 0) {
32366
+ subElement.content[0].marks = [];
32367
+ }
32368
+ if (subElement.content[0].type === "text") {
32369
+ subElement.content[0].marks.push({ type: "trackDelete", attrs: encodedAttrs });
32370
+ }
32371
+ }
32346
32372
  });
32347
32373
  return subs;
32348
32374
  };
@@ -32401,8 +32427,15 @@ const encode$3 = (params2, encodedAttrs = {}) => {
32401
32427
  });
32402
32428
  encodedAttrs.importedAuthor = `${encodedAttrs.author} (imported)`;
32403
32429
  subs.forEach((subElement) => {
32404
- if (subElement.marks === void 0) subElement.marks = [];
32405
- subElement.marks.push({ type: "trackInsert", attrs: encodedAttrs });
32430
+ subElement.marks = [];
32431
+ if (subElement?.content?.[0]) {
32432
+ if (subElement.content[0].marks === void 0) {
32433
+ subElement.content[0].marks = [];
32434
+ }
32435
+ if (subElement.content[0].type === "text") {
32436
+ subElement.content[0].marks.push({ type: "trackInsert", attrs: encodedAttrs });
32437
+ }
32438
+ }
32406
32439
  });
32407
32440
  return subs;
32408
32441
  };
@@ -35758,7 +35791,7 @@ const _SuperConverter = class _SuperConverter2 {
35758
35791
  static getStoredSuperdocVersion(docx) {
35759
35792
  return _SuperConverter2.getStoredCustomProperty(docx, "SuperdocVersion");
35760
35793
  }
35761
- static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "0.31.3") {
35794
+ static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "0.31.4-RC.1") {
35762
35795
  return _SuperConverter2.setStoredCustomProperty(docx, "SuperdocVersion", version2, false);
35763
35796
  }
35764
35797
  /**
@@ -36149,7 +36182,7 @@ prepareCommentsXmlFilesForExport_fn = function({ defs, exportType, commentsWithP
36149
36182
  };
36150
36183
  exportProcessHeadersFooters_fn = function({ isFinalDoc = false }) {
36151
36184
  const relsData = this.convertedXml["word/_rels/document.xml.rels"];
36152
- const relationships = relsData.elements.find((x) => x.name === "Relationships");
36185
+ const relationships = relsData.elements.find((x2) => x2.name === "Relationships");
36153
36186
  const newDocRels = [];
36154
36187
  Object.entries(this.headers).forEach(([id, header], index2) => {
36155
36188
  const fileName = relationships.elements.find((el) => el.attributes.Id === id)?.attributes.Target || `header${index2 + 1}.xml`;
@@ -36190,7 +36223,7 @@ exportProcessHeadersFooters_fn = function({ isFinalDoc = false }) {
36190
36223
  }
36191
36224
  this.convertedXml[`word/${fileName}`].elements[0].elements = bodyContent;
36192
36225
  if (params2.relationships.length) {
36193
- const relationships2 = this.convertedXml[`word/_rels/${fileName}.rels`]?.elements?.find((x) => x.name === "Relationships")?.elements || [];
36226
+ const relationships2 = this.convertedXml[`word/_rels/${fileName}.rels`]?.elements?.find((x2) => x2.name === "Relationships")?.elements || [];
36194
36227
  this.convertedXml[`word/_rels/${fileName}.rels`] = {
36195
36228
  declaration: this.initialJSON?.declaration,
36196
36229
  elements: [
@@ -36244,7 +36277,7 @@ exportProcessHeadersFooters_fn = function({ isFinalDoc = false }) {
36244
36277
  }
36245
36278
  this.convertedXml[`word/${fileName}`].elements[0].elements = bodyContent;
36246
36279
  if (params2.relationships.length) {
36247
- const relationships2 = this.convertedXml[`word/_rels/${fileName}.rels`]?.elements?.find((x) => x.name === "Relationships")?.elements || [];
36280
+ const relationships2 = this.convertedXml[`word/_rels/${fileName}.rels`]?.elements?.find((x2) => x2.name === "Relationships")?.elements || [];
36248
36281
  this.convertedXml[`word/_rels/${fileName}.rels`] = {
36249
36282
  declaration: this.initialJSON?.declaration,
36250
36283
  elements: [
@@ -36263,7 +36296,7 @@ exportProcessHeadersFooters_fn = function({ isFinalDoc = false }) {
36263
36296
  };
36264
36297
  exportProcessNewRelationships_fn = function(rels = []) {
36265
36298
  const relsData = this.convertedXml["word/_rels/document.xml.rels"];
36266
- const relationships = relsData.elements.find((x) => x.name === "Relationships");
36299
+ const relationships = relsData.elements.find((x2) => x2.name === "Relationships");
36267
36300
  relationships.elements = mergeRelationshipElements(relationships.elements, rels);
36268
36301
  };
36269
36302
  exportProcessMediaFiles_fn = async function(media = {}) {
@@ -36459,8 +36492,8 @@ function requireJszip_min() {
36459
36492
  return n2;
36460
36493
  }
36461
36494
  function n(e2, t2, r22, n2, i2, s22) {
36462
- 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 };
36463
- t2 && !r22 || (x.crc32 = e2.crc32, x.compressedSize = e2.compressedSize, x.uncompressedSize = e2.uncompressedSize);
36495
+ var a, o, h2 = e2.file, u = e2.compression, l3 = s22 !== O.utf8encode, f2 = I2.transformTo("string", s22(h2.name)), c2 = I2.transformTo("string", O.utf8encode(h2.name)), d2 = h2.comment, p = I2.transformTo("string", s22(d2)), m2 = I2.transformTo("string", O.utf8encode(d2)), _2 = c2.length !== h2.name.length, g = m2.length !== d2.length, b2 = "", v2 = "", y2 = "", w2 = h2.dir, k2 = h2.date, x2 = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
36496
+ t2 && !r22 || (x2.crc32 = e2.crc32, x2.compressedSize = e2.compressedSize, x2.uncompressedSize = e2.uncompressedSize);
36464
36497
  var S2 = 0;
36465
36498
  t2 && (S2 |= 8), l3 || !_2 && !g || (S2 |= 2048);
36466
36499
  var z2 = 0, C2 = 0;
@@ -36471,9 +36504,9 @@ function requireJszip_min() {
36471
36504
  return 63 & (e3 || 0);
36472
36505
  })(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);
36473
36506
  var E2 = "";
36474
- 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 };
36507
+ 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 };
36475
36508
  }
36476
- var I2 = e("../utils"), i = e("../stream/GenericWorker"), O2 = e("../utf8"), B2 = e("../crc32"), R2 = e("../signature");
36509
+ var I2 = e("../utils"), i = e("../stream/GenericWorker"), O = e("../utf8"), B2 = e("../crc32"), R = e("../signature");
36477
36510
  function s2(e2, t2, r22, n2) {
36478
36511
  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 = [];
36479
36512
  }
@@ -36491,7 +36524,7 @@ function requireJszip_min() {
36491
36524
  this.accumulate = false;
36492
36525
  var t2 = this.streamFiles && !e2.file.dir, r22 = n(e2, t2, true, this.currentSourceOffset, this.zipPlatform, this.encodeFileName);
36493
36526
  if (this.dirRecords.push(r22.dirRecord), t2) this.push({ data: (function(e3) {
36494
- return R2.DATA_DESCRIPTOR + A2(e3.crc32, 4) + A2(e3.compressedSize, 4) + A2(e3.uncompressedSize, 4);
36527
+ return R.DATA_DESCRIPTOR + A2(e3.crc32, 4) + A2(e3.compressedSize, 4) + A2(e3.uncompressedSize, 4);
36495
36528
  })(e2), meta: { percent: 100 } });
36496
36529
  else for (this.push({ data: r22.fileRecord, meta: { percent: 0 } }); this.contentBuffer.length; ) this.push(this.contentBuffer.shift());
36497
36530
  this.currentFile = null;
@@ -36499,7 +36532,7 @@ function requireJszip_min() {
36499
36532
  for (var e2 = this.bytesWritten, t2 = 0; t2 < this.dirRecords.length; t2++) this.push({ data: this.dirRecords[t2], meta: { percent: 100 } });
36500
36533
  var r22 = this.bytesWritten - e2, n2 = (function(e3, t3, r3, n3, i2) {
36501
36534
  var s22 = I2.transformTo("string", i2(n3));
36502
- 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;
36535
+ 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;
36503
36536
  })(this.dirRecords.length, r22, e2, this.zipComment, this.encodeFileName);
36504
36537
  this.push({ data: n2, meta: { percent: 100 } });
36505
36538
  }, s2.prototype.prepareNextSource = function() {
@@ -37699,11 +37732,11 @@ function requireJszip_min() {
37699
37732
  return -1 ^ e2;
37700
37733
  };
37701
37734
  }, {}], 46: [function(e, t, r2) {
37702
- 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;
37703
- function R2(e2, t2) {
37735
+ 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, x2 = 3, S2 = 258, z2 = S2 + x2 + 1, C2 = 42, E2 = 113, A2 = 1, I2 = 2, O = 3, B2 = 4;
37736
+ function R(e2, t2) {
37704
37737
  return e2.msg = n[t2], t2;
37705
37738
  }
37706
- function T(e2) {
37739
+ function T2(e2) {
37707
37740
  return (e2 << 1) - (4 < e2 ? 9 : 0);
37708
37741
  }
37709
37742
  function D2(e2) {
@@ -37747,7 +37780,7 @@ function requireJszip_min() {
37747
37780
  i2 += f22;
37748
37781
  }
37749
37782
  if (0 === e2.strm.avail_in) break;
37750
- 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)); ) ;
37783
+ 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 >= 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)); ) ;
37751
37784
  } while (e2.lookahead < z2 && 0 !== e2.strm.avail_in);
37752
37785
  }
37753
37786
  function Z(e2, t2) {
@@ -37756,14 +37789,14 @@ function requireJszip_min() {
37756
37789
  if (j2(e2), e2.lookahead < z2 && t2 === l3) return A2;
37757
37790
  if (0 === e2.lookahead) break;
37758
37791
  }
37759
- 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) {
37760
- 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; ) ;
37792
+ 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) {
37793
+ 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; ) ;
37761
37794
  e2.strstart++;
37762
37795
  } 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;
37763
37796
  else n2 = u._tr_tally(e2, 0, e2.window[e2.strstart]), e2.lookahead--, e2.strstart++;
37764
37797
  if (n2 && (N2(e2, false), 0 === e2.strm.avail_out)) return A2;
37765
37798
  }
37766
- 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;
37799
+ 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;
37767
37800
  }
37768
37801
  function W2(e2, t2) {
37769
37802
  for (var r22, n2, i2; ; ) {
@@ -37771,14 +37804,14 @@ function requireJszip_min() {
37771
37804
  if (j2(e2), e2.lookahead < z2 && t2 === l3) return A2;
37772
37805
  if (0 === e2.lookahead) break;
37773
37806
  }
37774
- 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) {
37775
- 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; ) ;
37776
- if (e2.match_available = 0, e2.match_length = x - 1, e2.strstart++, n2 && (N2(e2, false), 0 === e2.strm.avail_out)) return A2;
37807
+ 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) {
37808
+ 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; ) ;
37809
+ if (e2.match_available = 0, e2.match_length = x2 - 1, e2.strstart++, n2 && (N2(e2, false), 0 === e2.strm.avail_out)) return A2;
37777
37810
  } else if (e2.match_available) {
37778
37811
  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;
37779
37812
  } else e2.match_available = 1, e2.strstart++, e2.lookahead--;
37780
37813
  }
37781
- 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;
37814
+ 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;
37782
37815
  }
37783
37816
  function M2(e2, t2, r22, n2, i2) {
37784
37817
  this.good_length = e2, this.max_lazy = t2, this.nice_length = r22, this.max_chain = n2, this.func = i2;
@@ -37788,21 +37821,21 @@ function requireJszip_min() {
37788
37821
  }
37789
37822
  function G2(e2) {
37790
37823
  var t2;
37791
- 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);
37824
+ 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);
37792
37825
  }
37793
37826
  function K2(e2) {
37794
37827
  var t2 = G2(e2);
37795
37828
  return t2 === m2 && (function(e3) {
37796
- 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;
37829
+ 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 = x2 - 1, e3.match_available = 0, e3.ins_h = 0;
37797
37830
  })(e2.state), t2;
37798
37831
  }
37799
37832
  function Y2(e2, t2, r22, n2, i2, s22) {
37800
37833
  if (!e2) return _2;
37801
37834
  var a2 = 1;
37802
- 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);
37835
+ 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);
37803
37836
  8 === n2 && (n2 = 9);
37804
37837
  var o2 = new H();
37805
- 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);
37838
+ 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);
37806
37839
  }
37807
37840
  h2 = [new M2(0, 0, 0, 0, function(e2, t2) {
37808
37841
  var r22 = 65535;
@@ -37816,15 +37849,15 @@ function requireJszip_min() {
37816
37849
  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;
37817
37850
  if (e2.strstart - e2.block_start >= e2.w_size - z2 && (N2(e2, false), 0 === e2.strm.avail_out)) return A2;
37818
37851
  }
37819
- 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);
37852
+ 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);
37820
37853
  }), 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) {
37821
37854
  return Y2(e2, t2, v2, 15, 8, 0);
37822
37855
  }, r2.deflateInit2 = Y2, r2.deflateReset = K2, r2.deflateResetKeep = G2, r2.deflateSetHeader = function(e2, t2) {
37823
37856
  return e2 && e2.state ? 2 !== e2.state.wrap ? _2 : (e2.state.gzhead = t2, m2) : _2;
37824
37857
  }, r2.deflate = function(e2, t2) {
37825
37858
  var r22, n2, i2, s22;
37826
- if (!e2 || !e2.state || 5 < t2 || t2 < 0) return e2 ? R2(e2, _2) : _2;
37827
- 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);
37859
+ if (!e2 || !e2.state || 5 < t2 || t2 < 0) return e2 ? R(e2, _2) : _2;
37860
+ 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);
37828
37861
  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);
37829
37862
  else {
37830
37863
  var a2 = v2 + (n2.w_bits - 8 << 4) << 8;
@@ -37858,8 +37891,8 @@ function requireJszip_min() {
37858
37891
  } else n2.status = 103;
37859
37892
  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) {
37860
37893
  if (F2(e2), 0 === e2.avail_out) return n2.last_flush = -1, m2;
37861
- } else if (0 === e2.avail_in && T(t2) <= T(r22) && t2 !== f2) return R2(e2, -5);
37862
- if (666 === n2.status && 0 !== e2.avail_in) return R2(e2, -5);
37894
+ } else if (0 === e2.avail_in && T2(t2) <= T2(r22) && t2 !== f2) return R(e2, -5);
37895
+ if (666 === n2.status && 0 !== e2.avail_in) return R(e2, -5);
37863
37896
  if (0 !== e2.avail_in || 0 !== n2.lookahead || t2 !== l3 && 666 !== n2.status) {
37864
37897
  var o2 = 2 === n2.strategy ? (function(e3, t3) {
37865
37898
  for (var r3; ; ) {
@@ -37869,39 +37902,39 @@ function requireJszip_min() {
37869
37902
  }
37870
37903
  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;
37871
37904
  }
37872
- 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;
37905
+ 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;
37873
37906
  })(n2, t2) : 3 === n2.strategy ? (function(e3, t3) {
37874
37907
  for (var r3, n3, i3, s3, a3 = e3.window; ; ) {
37875
37908
  if (e3.lookahead <= S2) {
37876
37909
  if (j2(e3), e3.lookahead <= S2 && t3 === l3) return A2;
37877
37910
  if (0 === e3.lookahead) break;
37878
37911
  }
37879
- 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]) {
37912
+ 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]) {
37880
37913
  s3 = e3.strstart + S2;
37881
37914
  do {
37882
37915
  } 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);
37883
37916
  e3.match_length = S2 - (s3 - i3), e3.match_length > e3.lookahead && (e3.match_length = e3.lookahead);
37884
37917
  }
37885
- 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;
37918
+ 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;
37886
37919
  }
37887
- 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;
37920
+ 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;
37888
37921
  })(n2, t2) : h2[n2.level].func(n2, t2);
37889
- if (o2 !== O2 && o2 !== B2 || (n2.status = 666), o2 === A2 || o2 === O2) return 0 === e2.avail_out && (n2.last_flush = -1), m2;
37922
+ if (o2 !== O && o2 !== B2 || (n2.status = 666), o2 === A2 || o2 === O) return 0 === e2.avail_out && (n2.last_flush = -1), m2;
37890
37923
  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;
37891
37924
  }
37892
37925
  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);
37893
37926
  }, r2.deflateEnd = function(e2) {
37894
37927
  var t2;
37895
- 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;
37928
+ 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;
37896
37929
  }, r2.deflateSetDictionary = function(e2, t2) {
37897
37930
  var r22, n2, i2, s22, a2, o2, h22, u2, l22 = t2.length;
37898
37931
  if (!e2 || !e2.state) return _2;
37899
37932
  if (2 === (s22 = (r22 = e2.state).wrap) || 1 === s22 && r22.status !== C2 || r22.lookahead) return _2;
37900
- 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; ) {
37901
- 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; ) ;
37902
- r22.strstart = n2, r22.lookahead = x - 1, j2(r22);
37933
+ 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 >= x2; ) {
37934
+ 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; ) ;
37935
+ r22.strstart = n2, r22.lookahead = x2 - 1, j2(r22);
37903
37936
  }
37904
- 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;
37937
+ 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 = h22, e2.avail_in = a2, r22.wrap = s22, m2;
37905
37938
  }, r2.deflateInfo = "pako deflate (from Nodeca project)";
37906
37939
  }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./messages": 51, "./trees": 52 }], 47: [function(e, t, r2) {
37907
37940
  t.exports = function() {
@@ -37909,7 +37942,7 @@ function requireJszip_min() {
37909
37942
  };
37910
37943
  }, {}], 48: [function(e, t, r2) {
37911
37944
  t.exports = function(e2, t2) {
37912
- 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;
37945
+ var r22, n, i, s2, a, o, h2, u, l3, f2, c2, d2, p, m2, _2, g, b2, v2, y2, w2, k2, x2, S2, z2, C2;
37913
37946
  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;
37914
37947
  e: do {
37915
37948
  p < 15 && (d2 += z2[n++] << p, p += 8, d2 += z2[n++] << p, p += 8), v2 = m2[d2 & g];
@@ -37947,28 +37980,28 @@ function requireJszip_min() {
37947
37980
  e2.msg = "invalid distance too far back", r22.mode = 30;
37948
37981
  break e;
37949
37982
  }
37950
- if (S2 = c2, (x = 0) === f2) {
37951
- if (x += u - y2, y2 < w2) {
37952
- for (w2 -= y2; C2[s2++] = c2[x++], --y2; ) ;
37953
- x = s2 - k2, S2 = C2;
37983
+ if (S2 = c2, (x2 = 0) === f2) {
37984
+ if (x2 += u - y2, y2 < w2) {
37985
+ for (w2 -= y2; C2[s2++] = c2[x2++], --y2; ) ;
37986
+ x2 = s2 - k2, S2 = C2;
37954
37987
  }
37955
37988
  } else if (f2 < y2) {
37956
- if (x += u + f2 - y2, (y2 -= f2) < w2) {
37957
- for (w2 -= y2; C2[s2++] = c2[x++], --y2; ) ;
37958
- if (x = 0, f2 < w2) {
37959
- for (w2 -= y2 = f2; C2[s2++] = c2[x++], --y2; ) ;
37960
- x = s2 - k2, S2 = C2;
37989
+ if (x2 += u + f2 - y2, (y2 -= f2) < w2) {
37990
+ for (w2 -= y2; C2[s2++] = c2[x2++], --y2; ) ;
37991
+ if (x2 = 0, f2 < w2) {
37992
+ for (w2 -= y2 = f2; C2[s2++] = c2[x2++], --y2; ) ;
37993
+ x2 = s2 - k2, S2 = C2;
37961
37994
  }
37962
37995
  }
37963
- } else if (x += f2 - y2, y2 < w2) {
37964
- for (w2 -= y2; C2[s2++] = c2[x++], --y2; ) ;
37965
- x = s2 - k2, S2 = C2;
37996
+ } else if (x2 += f2 - y2, y2 < w2) {
37997
+ for (w2 -= y2; C2[s2++] = c2[x2++], --y2; ) ;
37998
+ x2 = s2 - k2, S2 = C2;
37966
37999
  }
37967
- for (; 2 < w2; ) C2[s2++] = S2[x++], C2[s2++] = S2[x++], C2[s2++] = S2[x++], w2 -= 3;
37968
- w2 && (C2[s2++] = S2[x++], 1 < w2 && (C2[s2++] = S2[x++]));
38000
+ for (; 2 < w2; ) C2[s2++] = S2[x2++], C2[s2++] = S2[x2++], C2[s2++] = S2[x2++], w2 -= 3;
38001
+ w2 && (C2[s2++] = S2[x2++], 1 < w2 && (C2[s2++] = S2[x2++]));
37969
38002
  } else {
37970
- for (x = s2 - k2; C2[s2++] = C2[x++], C2[s2++] = C2[x++], C2[s2++] = C2[x++], 2 < (w2 -= 3); ) ;
37971
- w2 && (C2[s2++] = C2[x++], 1 < w2 && (C2[s2++] = C2[x++]));
38003
+ for (x2 = s2 - k2; C2[s2++] = C2[x2++], C2[s2++] = C2[x2++], C2[s2++] = C2[x2++], 2 < (w2 -= 3); ) ;
38004
+ w2 && (C2[s2++] = C2[x2++], 1 < w2 && (C2[s2++] = C2[x2++]));
37972
38005
  }
37973
38006
  break;
37974
38007
  }
@@ -37979,7 +38012,7 @@ function requireJszip_min() {
37979
38012
  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;
37980
38013
  };
37981
38014
  }, {}], 49: [function(e, t, r2) {
37982
- 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;
38015
+ 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;
37983
38016
  function L2(e2) {
37984
38017
  return (e2 >>> 24 & 255) + (e2 >>> 8 & 65280) + ((65280 & e2) << 8) + ((255 & e2) << 24);
37985
38018
  }
@@ -38010,8 +38043,8 @@ function requireJszip_min() {
38010
38043
  for (; t2 < 256; ) e2.lens[t2++] = 9;
38011
38044
  for (; t2 < 280; ) e2.lens[t2++] = 7;
38012
38045
  for (; t2 < 288; ) e2.lens[t2++] = 8;
38013
- for (T(D2, e2.lens, 0, 288, l3, 0, e2.work, { bits: 9 }), t2 = 0; t2 < 32; ) e2.lens[t2++] = 5;
38014
- T(F2, e2.lens, 0, 32, f2, 0, e2.work, { bits: 5 }), c2 = false;
38046
+ for (T2(D2, e2.lens, 0, 288, l3, 0, e2.work, { bits: 9 }), t2 = 0; t2 < 32; ) e2.lens[t2++] = 5;
38047
+ T2(F2, e2.lens, 0, 32, f2, 0, e2.work, { bits: 5 }), c2 = false;
38015
38048
  }
38016
38049
  e2.lencode = l3, e2.lenbits = 9, e2.distcode = f2, e2.distbits = 5;
38017
38050
  }
@@ -38022,9 +38055,9 @@ function requireJszip_min() {
38022
38055
  r2.inflateReset = o, r2.inflateReset2 = h2, r2.inflateResetKeep = a, r2.inflateInit = function(e2) {
38023
38056
  return u(e2, 15);
38024
38057
  }, r2.inflateInit2 = u, r2.inflate = function(e2, t2) {
38025
- 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];
38058
+ var r22, n2, i2, s22, a2, o2, h22, 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];
38026
38059
  if (!e2 || !e2.state || !e2.output || !e2.input && 0 !== e2.avail_in) return U2;
38027
- 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;
38060
+ 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, x2 = N2;
38028
38061
  e: for (; ; ) switch (r22.mode) {
38029
38062
  case P2:
38030
38063
  if (0 === r22.wrap) {
@@ -38195,7 +38228,7 @@ function requireJszip_min() {
38195
38228
  r22.lens[A2[r22.have++]] = 7 & u2, u2 >>>= 3, l22 -= 3;
38196
38229
  }
38197
38230
  for (; r22.have < 19; ) r22.lens[A2[r22.have++]] = 0;
38198
- 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) {
38231
+ 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) {
38199
38232
  e2.msg = "invalid code lengths set", r22.mode = 30;
38200
38233
  break;
38201
38234
  }
@@ -38243,11 +38276,11 @@ function requireJszip_min() {
38243
38276
  e2.msg = "invalid code -- missing end-of-block", r22.mode = 30;
38244
38277
  break;
38245
38278
  }
38246
- 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) {
38279
+ 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) {
38247
38280
  e2.msg = "invalid literal/lengths set", r22.mode = 30;
38248
38281
  break;
38249
38282
  }
38250
- 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) {
38283
+ 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) {
38251
38284
  e2.msg = "invalid distances set", r22.mode = 30;
38252
38285
  break;
38253
38286
  }
@@ -38256,7 +38289,7 @@ function requireJszip_min() {
38256
38289
  r22.mode = 21;
38257
38290
  case 21:
38258
38291
  if (6 <= o2 && 258 <= h22) {
38259
- 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);
38292
+ e2.next_out = a2, e2.avail_out = h22, e2.next_in = s22, e2.avail_in = o2, r22.hold = u2, r22.bits = l22, R(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);
38260
38293
  break;
38261
38294
  }
38262
38295
  for (r22.back = 0; g = (C2 = r22.lencode[u2 & (1 << r22.lenbits) - 1]) >>> 16 & 255, b2 = 65535 & C2, !((_2 = C2 >>> 24) <= l22); ) {
@@ -38344,7 +38377,7 @@ function requireJszip_min() {
38344
38377
  if (0 === o2) break e;
38345
38378
  o2--, u2 |= n2[s22++] << l22, l22 += 8;
38346
38379
  }
38347
- 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) {
38380
+ if (c22 -= h22, 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 = h22, (r22.flags ? u2 : L2(u2)) !== r22.check) {
38348
38381
  e2.msg = "incorrect data check", r22.mode = 30;
38349
38382
  break;
38350
38383
  }
@@ -38365,10 +38398,10 @@ function requireJszip_min() {
38365
38398
  }
38366
38399
  r22.mode = 29;
38367
38400
  case 29:
38368
- x = 1;
38401
+ x2 = 1;
38369
38402
  break e;
38370
38403
  case 30:
38371
- x = -3;
38404
+ x2 = -3;
38372
38405
  break e;
38373
38406
  case 31:
38374
38407
  return -4;
@@ -38376,7 +38409,7 @@ function requireJszip_min() {
38376
38409
  default:
38377
38410
  return U2;
38378
38411
  }
38379
- 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);
38412
+ 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) : 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);
38380
38413
  }, r2.inflateEnd = function(e2) {
38381
38414
  if (!e2 || !e2.state) return U2;
38382
38415
  var t2 = e2.state;
@@ -38386,33 +38419,33 @@ function requireJszip_min() {
38386
38419
  return e2 && e2.state ? 0 == (2 & (r22 = e2.state).wrap) ? U2 : ((r22.head = t2).done = false, N2) : U2;
38387
38420
  }, r2.inflateSetDictionary = function(e2, t2) {
38388
38421
  var r22, n2 = t2.length;
38389
- 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;
38422
+ 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;
38390
38423
  }, r2.inflateInfo = "pako inflate (from Nodeca project)";
38391
38424
  }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./inffast": 48, "./inftrees": 50 }], 50: [function(e, t, r2) {
38392
38425
  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];
38393
38426
  t.exports = function(e2, t2, r22, n, i, s2, a, o) {
38394
- 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;
38395
- for (b2 = 0; b2 <= 15; b2++) O2[b2] = 0;
38396
- for (v2 = 0; v2 < n; v2++) O2[t2[r22 + v2]]++;
38397
- for (k2 = g, w2 = 15; 1 <= w2 && 0 === O2[w2]; w2--) ;
38427
+ var h2, 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;
38428
+ for (b2 = 0; b2 <= 15; b2++) O[b2] = 0;
38429
+ for (v2 = 0; v2 < n; v2++) O[t2[r22 + v2]]++;
38430
+ for (k2 = g, w2 = 15; 1 <= w2 && 0 === O[w2]; w2--) ;
38398
38431
  if (w2 < k2 && (k2 = w2), 0 === w2) return i[s2++] = 20971520, i[s2++] = 20971520, o.bits = 1, 0;
38399
- for (y2 = 1; y2 < w2 && 0 === O2[y2]; y2++) ;
38400
- for (k2 < y2 && (k2 = y2), b2 = z2 = 1; b2 <= 15; b2++) if (z2 <<= 1, (z2 -= O2[b2]) < 0) return -1;
38432
+ for (y2 = 1; y2 < w2 && 0 === O[y2]; y2++) ;
38433
+ for (k2 < y2 && (k2 = y2), b2 = z2 = 1; b2 <= 15; b2++) if (z2 <<= 1, (z2 -= O[b2]) < 0) return -1;
38401
38434
  if (0 < z2 && (0 === e2 || 1 !== w2)) return -1;
38402
- for (B2[1] = 0, b2 = 1; b2 < 15; b2++) B2[b2 + 1] = B2[b2] + O2[b2];
38435
+ for (B2[1] = 0, b2 = 1; b2 < 15; b2++) B2[b2 + 1] = B2[b2] + O[b2];
38403
38436
  for (v2 = 0; v2 < n; v2++) 0 !== t2[r22 + v2] && (a[B2[t2[r22 + v2]]++] = v2);
38404
- 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;
38437
+ 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;
38405
38438
  for (; ; ) {
38406
- 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; ) ;
38439
+ 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), h2 = 1 << b2 - S2, y2 = u = 1 << x2; i[c2 + (E2 >> S2) + (u -= h2)] = p << 24 | m2 << 16 | _2 | 0, 0 !== u; ) ;
38407
38440
  for (h2 = 1 << b2 - 1; E2 & h2; ) h2 >>= 1;
38408
- if (0 !== h2 ? (E2 &= h2 - 1, E2 += h2) : E2 = 0, v2++, 0 == --O2[b2]) {
38441
+ if (0 !== h2 ? (E2 &= h2 - 1, E2 += h2) : E2 = 0, v2++, 0 == --O[b2]) {
38409
38442
  if (b2 === w2) break;
38410
38443
  b2 = t2[r22 + a[v2]];
38411
38444
  }
38412
38445
  if (k2 < b2 && (E2 & f2) !== l3) {
38413
- for (0 === S2 && (S2 = k2), c2 += y2, z2 = 1 << (x = b2 - S2); x + S2 < w2 && !((z2 -= O2[x + S2]) <= 0); ) x++, z2 <<= 1;
38414
- if (C2 += 1 << x, 1 === e2 && 852 < C2 || 2 === e2 && 592 < C2) return 1;
38415
- i[l3 = E2 & f2] = k2 << 24 | x << 16 | c2 - s2 | 0;
38446
+ for (0 === S2 && (S2 = k2), c2 += y2, z2 = 1 << (x2 = b2 - S2); x2 + S2 < w2 && !((z2 -= O[x2 + S2]) <= 0); ) x2++, z2 <<= 1;
38447
+ if (C2 += 1 << x2, 1 === e2 && 852 < C2 || 2 === e2 && 592 < C2) return 1;
38448
+ i[l3 = E2 & f2] = k2 << 24 | x2 << 16 | c2 - s2 | 0;
38416
38449
  }
38417
38450
  }
38418
38451
  return 0 !== E2 && (i[c2 + E2] = b2 - S2 << 24 | 64 << 16 | 0), o.bits = k2, 0;
@@ -38424,7 +38457,7 @@ function requireJszip_min() {
38424
38457
  function n(e2) {
38425
38458
  for (var t2 = e2.length; 0 <= --t2; ) e2[t2] = 0;
38426
38459
  }
38427
- 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));
38460
+ 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));
38428
38461
  n(z2);
38429
38462
  var C2 = new Array(2 * f2);
38430
38463
  n(C2);
@@ -38434,7 +38467,7 @@ function requireJszip_min() {
38434
38467
  n(A2);
38435
38468
  var I2 = new Array(a);
38436
38469
  n(I2);
38437
- var O2, B2, R2, T = new Array(f2);
38470
+ var O, B2, R, T2 = new Array(f2);
38438
38471
  function D2(e2, t2, r22, n2, i2) {
38439
38472
  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;
38440
38473
  }
@@ -38485,7 +38518,7 @@ function requireJszip_min() {
38485
38518
  }
38486
38519
  function K2(e2, t2, r22) {
38487
38520
  var n2, i2, s22, a2, o2 = 0;
38488
- 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; ) ;
38521
+ 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; ) ;
38489
38522
  L2(e2, m2, t2);
38490
38523
  }
38491
38524
  function Y2(e2, t2) {
@@ -38519,7 +38552,7 @@ function requireJszip_min() {
38519
38552
  s22 = i2, u2 = (o2 = 0) === a2 ? (h22 = 138, 3) : i2 === a2 ? (h22 = 6, 3) : (h22 = 7, 4);
38520
38553
  }
38521
38554
  }
38522
- n(T);
38555
+ n(T2);
38523
38556
  var q2 = false;
38524
38557
  function J2(e2, t2, r22, n2) {
38525
38558
  P2(e2, (s2 << 1) + (n2 ? 1 : 0), 3), (function(e3, t3, r3, n3) {
@@ -38530,16 +38563,16 @@ function requireJszip_min() {
38530
38563
  q2 || ((function() {
38531
38564
  var e3, t2, r22, n2, i2, s22 = new Array(g + 1);
38532
38565
  for (n2 = r22 = 0; n2 < a - 1; n2++) for (I2[n2] = r22, e3 = 0; e3 < 1 << w2[n2]; e3++) A2[r22++] = n2;
38533
- 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;
38534
- for (i2 >>= 7; n2 < f2; n2++) for (T[n2] = i2 << 7, e3 = 0; e3 < 1 << k2[n2] - 7; e3++) E2[256 + i2++] = n2;
38566
+ 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;
38567
+ for (i2 >>= 7; n2 < f2; n2++) for (T2[n2] = i2 << 7, e3 = 0; e3 < 1 << k2[n2] - 7; e3++) E2[256 + i2++] = n2;
38535
38568
  for (t2 = 0; t2 <= g; t2++) s22[t2] = 0;
38536
38569
  for (e3 = 0; e3 <= 143; ) z2[2 * e3 + 1] = 8, e3++, s22[8]++;
38537
38570
  for (; e3 <= 255; ) z2[2 * e3 + 1] = 9, e3++, s22[9]++;
38538
38571
  for (; e3 <= 279; ) z2[2 * e3 + 1] = 7, e3++, s22[7]++;
38539
38572
  for (; e3 <= 287; ) z2[2 * e3 + 1] = 8, e3++, s22[8]++;
38540
38573
  for (Z(z2, l3 + 1, s22), e3 = 0; e3 < f2; e3++) C2[2 * e3 + 1] = 5, C2[2 * e3] = j2(e3, 5);
38541
- 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);
38542
- })(), 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);
38574
+ 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);
38575
+ })(), 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);
38543
38576
  }, r2._tr_stored_block = J2, r2._tr_flush_block = function(e2, t2, r22, n2) {
38544
38577
  var i2, s22, a2 = 0;
38545
38578
  0 < e2.level ? (2 === e2.strm.data_type && (e2.strm.data_type = (function(e3) {
@@ -39615,17 +39648,17 @@ function deepActiveElement(doc2) {
39615
39648
  elt = elt.shadowRoot.activeElement;
39616
39649
  return elt;
39617
39650
  }
39618
- function caretFromPoint(doc2, x, y2) {
39651
+ function caretFromPoint(doc2, x2, y2) {
39619
39652
  if (doc2.caretPositionFromPoint) {
39620
39653
  try {
39621
- let pos = doc2.caretPositionFromPoint(x, y2);
39654
+ let pos = doc2.caretPositionFromPoint(x2, y2);
39622
39655
  if (pos)
39623
39656
  return { node: pos.offsetNode, offset: Math.min(nodeSize(pos.offsetNode), pos.offset) };
39624
39657
  } catch (_2) {
39625
39658
  }
39626
39659
  }
39627
39660
  if (doc2.caretRangeFromPoint) {
39628
- let range2 = doc2.caretRangeFromPoint(x, y2);
39661
+ let range2 = doc2.caretRangeFromPoint(x2, y2);
39629
39662
  if (range2)
39630
39663
  return { node: range2.startContainer, offset: Math.min(nodeSize(range2.startContainer), range2.startOffset) };
39631
39664
  }
@@ -39724,8 +39757,8 @@ function scrollRectIntoView(view, rect, startDOM) {
39724
39757
  function storeScrollPos(view) {
39725
39758
  let rect = view.dom.getBoundingClientRect(), startY = Math.max(0, rect.top);
39726
39759
  let refDOM, refTop;
39727
- for (let x = (rect.left + rect.right) / 2, y2 = startY + 1; y2 < Math.min(innerHeight, rect.bottom); y2 += 5) {
39728
- let dom = view.root.elementFromPoint(x, y2);
39760
+ for (let x2 = (rect.left + rect.right) / 2, y2 = startY + 1; y2 < Math.min(innerHeight, rect.bottom); y2 += 5) {
39761
+ let dom = view.root.elementFromPoint(x2, y2);
39729
39762
  if (!dom || dom == view.dom || !view.dom.contains(dom))
39730
39763
  continue;
39731
39764
  let localRect = dom.getBoundingClientRect();
@@ -40021,8 +40054,8 @@ function coordsAtPos(view, pos, side) {
40021
40054
  function flattenV(rect, left2) {
40022
40055
  if (rect.width == 0)
40023
40056
  return rect;
40024
- let x = left2 ? rect.left : rect.right;
40025
- return { top: rect.top, bottom: rect.bottom, left: x, right: x };
40057
+ let x2 = left2 ? rect.left : rect.right;
40058
+ return { top: rect.top, bottom: rect.bottom, left: x2, right: x2 };
40026
40059
  }
40027
40060
  function flattenH(rect, top2) {
40028
40061
  if (rect.height == 0)
@@ -45029,10 +45062,10 @@ const createTimeoutClass = (clearFunction) => class TT {
45029
45062
  const Timeout = createTimeoutClass(clearTimeout);
45030
45063
  const timeout = (timeout2, callback) => new Timeout(setTimeout(callback, timeout2));
45031
45064
  const rotr = (w2, shift2) => w2 >>> shift2 | w2 << 32 - shift2;
45032
- const sum0to256 = (x) => rotr(x, 2) ^ rotr(x, 13) ^ rotr(x, 22);
45033
- const sum1to256 = (x) => rotr(x, 6) ^ rotr(x, 11) ^ rotr(x, 25);
45034
- const sigma0to256 = (x) => rotr(x, 7) ^ rotr(x, 18) ^ x >>> 3;
45035
- const sigma1to256 = (x) => rotr(x, 17) ^ rotr(x, 19) ^ x >>> 10;
45065
+ const sum0to256 = (x2) => rotr(x2, 2) ^ rotr(x2, 13) ^ rotr(x2, 22);
45066
+ const sum1to256 = (x2) => rotr(x2, 6) ^ rotr(x2, 11) ^ rotr(x2, 25);
45067
+ const sigma0to256 = (x2) => rotr(x2, 7) ^ rotr(x2, 18) ^ x2 >>> 3;
45068
+ const sigma1to256 = (x2) => rotr(x2, 17) ^ rotr(x2, 19) ^ x2 >>> 10;
45036
45069
  const K = new Uint32Array([
45037
45070
  1116352408,
45038
45071
  1899447441,
@@ -53956,7 +53989,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
53956
53989
  { default: remarkStringify },
53957
53990
  { default: remarkGfm }
53958
53991
  ] = await Promise.all([
53959
- import("./index-BkSlSgV3-Bs1x4Ydh.es.js"),
53992
+ import("./index-AHvb1Kq8-CdsSSFLa.es.js"),
53960
53993
  import("./index-DRCvimau-Cw339678.es.js"),
53961
53994
  import("./index-C_x_N6Uh-DJn8hIEt.es.js"),
53962
53995
  import("./index-D_sWOSiG-DE96TaT5.es.js"),
@@ -54174,7 +54207,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
54174
54207
  * @returns {Object | void} Migration results
54175
54208
  */
54176
54209
  processCollaborationMigrations() {
54177
- console.debug("[checkVersionMigrations] Current editor version", "0.31.3");
54210
+ console.debug("[checkVersionMigrations] Current editor version", "0.31.4-RC.1");
54178
54211
  if (!this.options.ydoc) return;
54179
54212
  const metaMap = this.options.ydoc.getMap("meta");
54180
54213
  let docVersion = metaMap.get("version");
@@ -56050,16 +56083,16 @@ function getCursorPositionRelativeToContainer(view, eventLocation) {
56050
56083
  const { state: state2, dom } = view;
56051
56084
  const { selection } = state2;
56052
56085
  const containerRect = dom.getBoundingClientRect();
56053
- let x, y2;
56086
+ let x2, y2;
56054
56087
  if (typeof eventLocation.clientX === "number" && typeof eventLocation.clientY === "number") {
56055
- x = eventLocation.clientX - containerRect.left;
56088
+ x2 = eventLocation.clientX - containerRect.left;
56056
56089
  y2 = eventLocation.clientY - containerRect.top;
56057
56090
  } else {
56058
56091
  const cursorCoords = view.coordsAtPos(selection.from);
56059
- x = cursorCoords.left - containerRect.left;
56092
+ x2 = cursorCoords.left - containerRect.left;
56060
56093
  y2 = cursorCoords.top - containerRect.top;
56061
56094
  }
56062
- return { left: x, top: y2 };
56095
+ return { left: x2, top: y2 };
56063
56096
  }
56064
56097
  const SlashMenuPluginKey = new PluginKey("slashMenu");
56065
56098
  const SlashMenu = Extension.create({
@@ -56338,17 +56371,17 @@ class StructuredContentViewBase {
56338
56371
  if (!this.dom || this.contentDOM?.contains(target) || !dragHandle) {
56339
56372
  return;
56340
56373
  }
56341
- let x = 0;
56374
+ let x2 = 0;
56342
56375
  let y2 = 0;
56343
56376
  if (this.dom !== dragHandle) {
56344
56377
  const domBox = this.dom.getBoundingClientRect();
56345
56378
  const handleBox = dragHandle.getBoundingClientRect();
56346
56379
  const offsetX = event.offsetX ?? event.nativeEvent?.offsetX;
56347
56380
  const offsetY = event.offsetY ?? event.nativeEvent?.offsetY;
56348
- x = handleBox.x - domBox.x + offsetX;
56381
+ x2 = handleBox.x - domBox.x + offsetX;
56349
56382
  y2 = handleBox.y - domBox.y + offsetY;
56350
56383
  }
56351
- event.dataTransfer?.setDragImage(this.dom, x, y2);
56384
+ event.dataTransfer?.setDragImage(this.dom, x2, y2);
56352
56385
  const pos = this.getPos();
56353
56386
  if (typeof pos !== "number") {
56354
56387
  return;
@@ -64582,17 +64615,17 @@ function parseToRgba(color) {
64582
64615
  const reducedHexMatch = reducedHexRegex.exec(normalizedColor);
64583
64616
  if (reducedHexMatch) {
64584
64617
  const arr = Array.from(reducedHexMatch).slice(1);
64585
- return [...arr.slice(0, 3).map((x) => parseInt(r$1(x, 2), 16)), parseInt(r$1(arr[3] || "f", 2), 16) / 255];
64618
+ return [...arr.slice(0, 3).map((x2) => parseInt(r$1(x2, 2), 16)), parseInt(r$1(arr[3] || "f", 2), 16) / 255];
64586
64619
  }
64587
64620
  const hexMatch = hexRegex$1.exec(normalizedColor);
64588
64621
  if (hexMatch) {
64589
64622
  const arr = Array.from(hexMatch).slice(1);
64590
- return [...arr.slice(0, 3).map((x) => parseInt(x, 16)), parseInt(arr[3] || "ff", 16) / 255];
64623
+ return [...arr.slice(0, 3).map((x2) => parseInt(x2, 16)), parseInt(arr[3] || "ff", 16) / 255];
64591
64624
  }
64592
64625
  const rgbaMatch = rgbaRegex$1.exec(normalizedColor);
64593
64626
  if (rgbaMatch) {
64594
64627
  const arr = Array.from(rgbaMatch).slice(1);
64595
- return [...arr.slice(0, 3).map((x) => parseInt(x, 10)), parseFloat(arr[3] || "1")];
64628
+ return [...arr.slice(0, 3).map((x2) => parseInt(x2, 10)), parseFloat(arr[3] || "1")];
64596
64629
  }
64597
64630
  const hslaMatch = hslaRegex$1.exec(normalizedColor);
64598
64631
  if (hslaMatch) {
@@ -64611,7 +64644,7 @@ function hash$2(str) {
64611
64644
  }
64612
64645
  return (hash2 >>> 0) % 2341;
64613
64646
  }
64614
- const colorToInt = (x) => parseInt(x.replace(/_/g, ""), 36);
64647
+ const colorToInt = (x2) => parseInt(x2.replace(/_/g, ""), 36);
64615
64648
  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) => {
64616
64649
  const key2 = colorToInt(next.substring(0, 3));
64617
64650
  const hex2 = colorToInt(next.substring(3)).toString(16);
@@ -64675,8 +64708,8 @@ const hslToRgb = (hue, saturation, lightness) => {
64675
64708
  };
64676
64709
  function toHex(color) {
64677
64710
  const [r2, g, b2, a] = parseToRgba(color);
64678
- let hex2 = (x) => {
64679
- const h2 = guard(0, 255, x).toString(16);
64711
+ let hex2 = (x2) => {
64712
+ const h2 = guard(0, 255, x2).toString(16);
64680
64713
  return h2.length === 1 ? `0${h2}` : h2;
64681
64714
  };
64682
64715
  return `#${hex2(r2)}${hex2(g)}${hex2(b2)}${a < 1 ? hex2(Math.round(a * 255)) : ""}`;
@@ -66780,10 +66813,10 @@ const Image = Node$1.create({
66780
66813
  let minX = 0;
66781
66814
  let minY = 0;
66782
66815
  let maxY = 0;
66783
- attrs.polygon.forEach(([x, y2]) => {
66784
- if (floatRight && x < horizontalOffset) horizontalOffset = x;
66785
- if (x > maxX) maxX = x;
66786
- if (x < minX) minX = x;
66816
+ attrs.polygon.forEach(([x2, y2]) => {
66817
+ if (floatRight && x2 < horizontalOffset) horizontalOffset = x2;
66818
+ if (x2 > maxX) maxX = x2;
66819
+ if (x2 < minX) minX = x2;
66787
66820
  if (y2 > maxY) maxY = y2;
66788
66821
  if (y2 < minY) minY = y2;
66789
66822
  });
@@ -66792,7 +66825,7 @@ const Image = Node$1.create({
66792
66825
  const scaleWidth = Math.min(1, size2.width / originalWidth);
66793
66826
  const scaleHeight = Math.min(1, size2.height / originalHeight);
66794
66827
  const verticalOffset = Math.max(0, marginOffset.top);
66795
- const points = attrs.polygon.map(([x, y2]) => `${horizontalOffset + x * scaleWidth}px ${verticalOffset + y2 * scaleHeight}px`).join(", ");
66828
+ const points = attrs.polygon.map(([x2, y2]) => `${horizontalOffset + x2 * scaleWidth}px ${verticalOffset + y2 * scaleHeight}px`).join(", ");
66796
66829
  style2 += `shape-outside: polygon(${points});`;
66797
66830
  }
66798
66831
  break;
@@ -70445,13 +70478,13 @@ class ShapeGroupView {
70445
70478
  createShapeElement(shape) {
70446
70479
  const attrs = shape.attrs;
70447
70480
  if (!attrs) return null;
70448
- const x = attrs.x || 0;
70481
+ const x2 = attrs.x || 0;
70449
70482
  const y2 = attrs.y || 0;
70450
70483
  const width = attrs.width || 100;
70451
70484
  const height = attrs.height || 100;
70452
70485
  const g = document.createElementNS("http://www.w3.org/2000/svg", "g");
70453
70486
  const transforms = [];
70454
- transforms.push(`translate(${x}, ${y2})`);
70487
+ transforms.push(`translate(${x2}, ${y2})`);
70455
70488
  if (attrs.rotation !== 0) {
70456
70489
  transforms.push(`rotate(${attrs.rotation} ${width / 2} ${height / 2})`);
70457
70490
  }
@@ -72178,7 +72211,7 @@ function getBoundingClientRect$1(element, includeScale, isFixedStrategy) {
72178
72211
  }
72179
72212
  var _ref = isElement$2(element) ? getWindow$1(element) : window, visualViewport = _ref.visualViewport;
72180
72213
  var addVisualOffsets = !isLayoutViewport() && isFixedStrategy;
72181
- var x = (clientRect2.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;
72214
+ var x2 = (clientRect2.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;
72182
72215
  var y2 = (clientRect2.top + (addVisualOffsets && visualViewport ? visualViewport.offsetTop : 0)) / scaleY;
72183
72216
  var width = clientRect2.width / scaleX;
72184
72217
  var height = clientRect2.height / scaleY;
@@ -72186,10 +72219,10 @@ function getBoundingClientRect$1(element, includeScale, isFixedStrategy) {
72186
72219
  width,
72187
72220
  height,
72188
72221
  top: y2,
72189
- right: x + width,
72222
+ right: x2 + width,
72190
72223
  bottom: y2 + height,
72191
- left: x,
72192
- x,
72224
+ left: x2,
72225
+ x: x2,
72193
72226
  y: y2
72194
72227
  };
72195
72228
  }
@@ -72390,25 +72423,25 @@ var unsetSides = {
72390
72423
  left: "auto"
72391
72424
  };
72392
72425
  function roundOffsetsByDPR(_ref, win) {
72393
- var x = _ref.x, y2 = _ref.y;
72426
+ var x2 = _ref.x, y2 = _ref.y;
72394
72427
  var dpr = win.devicePixelRatio || 1;
72395
72428
  return {
72396
- x: round$1(x * dpr) / dpr || 0,
72429
+ x: round$1(x2 * dpr) / dpr || 0,
72397
72430
  y: round$1(y2 * dpr) / dpr || 0
72398
72431
  };
72399
72432
  }
72400
72433
  function mapToStyles(_ref2) {
72401
72434
  var _Object$assign2;
72402
72435
  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;
72403
- 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;
72436
+ 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;
72404
72437
  var _ref3 = typeof roundOffsets === "function" ? roundOffsets({
72405
- x,
72438
+ x: x2,
72406
72439
  y: y2
72407
72440
  }) : {
72408
- x,
72441
+ x: x2,
72409
72442
  y: y2
72410
72443
  };
72411
- x = _ref3.x;
72444
+ x2 = _ref3.x;
72412
72445
  y2 = _ref3.y;
72413
72446
  var hasX = offsets.hasOwnProperty("x");
72414
72447
  var hasY = offsets.hasOwnProperty("y");
@@ -72442,27 +72475,27 @@ function mapToStyles(_ref2) {
72442
72475
  // $FlowFixMe[prop-missing]
72443
72476
  offsetParent[widthProp]
72444
72477
  );
72445
- x -= offsetX - popperRect.width;
72446
- x *= gpuAcceleration ? 1 : -1;
72478
+ x2 -= offsetX - popperRect.width;
72479
+ x2 *= gpuAcceleration ? 1 : -1;
72447
72480
  }
72448
72481
  }
72449
72482
  var commonStyles = Object.assign({
72450
72483
  position
72451
72484
  }, adaptive && unsetSides);
72452
72485
  var _ref4 = roundOffsets === true ? roundOffsetsByDPR({
72453
- x,
72486
+ x: x2,
72454
72487
  y: y2
72455
72488
  }, getWindow$1(popper2)) : {
72456
- x,
72489
+ x: x2,
72457
72490
  y: y2
72458
72491
  };
72459
- x = _ref4.x;
72492
+ x2 = _ref4.x;
72460
72493
  y2 = _ref4.y;
72461
72494
  if (gpuAcceleration) {
72462
72495
  var _Object$assign;
72463
- 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));
72496
+ 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));
72464
72497
  }
72465
- return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y2 + "px" : "", _Object$assign2[sideX] = hasX ? x + "px" : "", _Object$assign2.transform = "", _Object$assign2));
72498
+ return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y2 + "px" : "", _Object$assign2[sideX] = hasX ? x2 + "px" : "", _Object$assign2.transform = "", _Object$assign2));
72466
72499
  }
72467
72500
  function computeStyles(_ref5) {
72468
72501
  var state2 = _ref5.state, options = _ref5.options;
@@ -72576,21 +72609,21 @@ function getViewportRect$1(element, strategy) {
72576
72609
  var visualViewport = win.visualViewport;
72577
72610
  var width = html.clientWidth;
72578
72611
  var height = html.clientHeight;
72579
- var x = 0;
72612
+ var x2 = 0;
72580
72613
  var y2 = 0;
72581
72614
  if (visualViewport) {
72582
72615
  width = visualViewport.width;
72583
72616
  height = visualViewport.height;
72584
72617
  var layoutViewport = isLayoutViewport();
72585
72618
  if (layoutViewport || !layoutViewport && strategy === "fixed") {
72586
- x = visualViewport.offsetLeft;
72619
+ x2 = visualViewport.offsetLeft;
72587
72620
  y2 = visualViewport.offsetTop;
72588
72621
  }
72589
72622
  }
72590
72623
  return {
72591
72624
  width,
72592
72625
  height,
72593
- x: x + getWindowScrollBarX$1(element),
72626
+ x: x2 + getWindowScrollBarX$1(element),
72594
72627
  y: y2
72595
72628
  };
72596
72629
  }
@@ -72601,15 +72634,15 @@ function getDocumentRect$1(element) {
72601
72634
  var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;
72602
72635
  var width = max$1(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);
72603
72636
  var height = max$1(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
72604
- var x = -winScroll.scrollLeft + getWindowScrollBarX$1(element);
72637
+ var x2 = -winScroll.scrollLeft + getWindowScrollBarX$1(element);
72605
72638
  var y2 = -winScroll.scrollTop;
72606
72639
  if (getComputedStyle$2(body || html).direction === "rtl") {
72607
- x += max$1(html.clientWidth, body ? body.clientWidth : 0) - width;
72640
+ x2 += max$1(html.clientWidth, body ? body.clientWidth : 0) - width;
72608
72641
  }
72609
72642
  return {
72610
72643
  width,
72611
72644
  height,
72612
- x,
72645
+ x: x2,
72613
72646
  y: y2
72614
72647
  };
72615
72648
  }
@@ -72986,9 +73019,9 @@ function offset(_ref2) {
72986
73019
  acc[placement] = distanceAndSkiddingToXY(placement, state2.rects, offset2);
72987
73020
  return acc;
72988
73021
  }, {});
72989
- var _data$state$placement = data[state2.placement], x = _data$state$placement.x, y2 = _data$state$placement.y;
73022
+ var _data$state$placement = data[state2.placement], x2 = _data$state$placement.x, y2 = _data$state$placement.y;
72990
73023
  if (state2.modifiersData.popperOffsets != null) {
72991
- state2.modifiersData.popperOffsets.x += x;
73024
+ state2.modifiersData.popperOffsets.x += x2;
72992
73025
  state2.modifiersData.popperOffsets.y += y2;
72993
73026
  }
72994
73027
  state2.modifiersData[name] = data;
@@ -74939,7 +74972,7 @@ function getPaddingObject(padding) {
74939
74972
  }
74940
74973
  function rectToClientRect(rect) {
74941
74974
  const {
74942
- x,
74975
+ x: x2,
74943
74976
  y: y2,
74944
74977
  width,
74945
74978
  height
@@ -74948,10 +74981,10 @@ function rectToClientRect(rect) {
74948
74981
  width,
74949
74982
  height,
74950
74983
  top: y2,
74951
- left: x,
74952
- right: x + width,
74984
+ left: x2,
74985
+ right: x2 + width,
74953
74986
  bottom: y2 + height,
74954
- x,
74987
+ x: x2,
74955
74988
  y: y2
74956
74989
  };
74957
74990
  }
@@ -75025,7 +75058,7 @@ const computePosition$1 = async (reference2, floating, config2) => {
75025
75058
  strategy
75026
75059
  });
75027
75060
  let {
75028
- x,
75061
+ x: x2,
75029
75062
  y: y2
75030
75063
  } = computeCoordsFromPlacement(rects, placement, rtl);
75031
75064
  let statefulPlacement = placement;
@@ -75042,7 +75075,7 @@ const computePosition$1 = async (reference2, floating, config2) => {
75042
75075
  data,
75043
75076
  reset
75044
75077
  } = await fn2({
75045
- x,
75078
+ x: x2,
75046
75079
  y: y2,
75047
75080
  initialPlacement: placement,
75048
75081
  placement: statefulPlacement,
@@ -75055,7 +75088,7 @@ const computePosition$1 = async (reference2, floating, config2) => {
75055
75088
  floating
75056
75089
  }
75057
75090
  });
75058
- x = nextX != null ? nextX : x;
75091
+ x2 = nextX != null ? nextX : x2;
75059
75092
  y2 = nextY != null ? nextY : y2;
75060
75093
  middlewareData = {
75061
75094
  ...middlewareData,
@@ -75078,7 +75111,7 @@ const computePosition$1 = async (reference2, floating, config2) => {
75078
75111
  }) : reset.rects;
75079
75112
  }
75080
75113
  ({
75081
- x,
75114
+ x: x2,
75082
75115
  y: y2
75083
75116
  } = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
75084
75117
  }
@@ -75086,7 +75119,7 @@ const computePosition$1 = async (reference2, floating, config2) => {
75086
75119
  }
75087
75120
  }
75088
75121
  return {
75089
- x,
75122
+ x: x2,
75090
75123
  y: y2,
75091
75124
  placement: statefulPlacement,
75092
75125
  strategy,
@@ -75099,7 +75132,7 @@ async function detectOverflow(state2, options) {
75099
75132
  options = {};
75100
75133
  }
75101
75134
  const {
75102
- x,
75135
+ x: x2,
75103
75136
  y: y2,
75104
75137
  platform: platform2,
75105
75138
  rects,
@@ -75123,7 +75156,7 @@ async function detectOverflow(state2, options) {
75123
75156
  strategy
75124
75157
  }));
75125
75158
  const rect = elementContext === "floating" ? {
75126
- x,
75159
+ x: x2,
75127
75160
  y: y2,
75128
75161
  width: rects.floating.width,
75129
75162
  height: rects.floating.height
@@ -75392,16 +75425,16 @@ function getScale(element) {
75392
75425
  height,
75393
75426
  $: $2
75394
75427
  } = getCssDimensions(domElement);
75395
- let x = ($2 ? round(rect.width) : rect.width) / width;
75428
+ let x2 = ($2 ? round(rect.width) : rect.width) / width;
75396
75429
  let y2 = ($2 ? round(rect.height) : rect.height) / height;
75397
- if (!x || !Number.isFinite(x)) {
75398
- x = 1;
75430
+ if (!x2 || !Number.isFinite(x2)) {
75431
+ x2 = 1;
75399
75432
  }
75400
75433
  if (!y2 || !Number.isFinite(y2)) {
75401
75434
  y2 = 1;
75402
75435
  }
75403
75436
  return {
75404
- x,
75437
+ x: x2,
75405
75438
  y: y2
75406
75439
  };
75407
75440
  }
@@ -75445,7 +75478,7 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
75445
75478
  }
75446
75479
  }
75447
75480
  const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
75448
- let x = (clientRect2.left + visualOffsets.x) / scale.x;
75481
+ let x2 = (clientRect2.left + visualOffsets.x) / scale.x;
75449
75482
  let y2 = (clientRect2.top + visualOffsets.y) / scale.y;
75450
75483
  let width = clientRect2.width / scale.x;
75451
75484
  let height = clientRect2.height / scale.y;
@@ -75460,11 +75493,11 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
75460
75493
  const css = getComputedStyle$1(currentIFrame);
75461
75494
  const left2 = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
75462
75495
  const top2 = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
75463
- x *= iframeScale.x;
75496
+ x2 *= iframeScale.x;
75464
75497
  y2 *= iframeScale.y;
75465
75498
  width *= iframeScale.x;
75466
75499
  height *= iframeScale.y;
75467
- x += left2;
75500
+ x2 += left2;
75468
75501
  y2 += top2;
75469
75502
  currentWin = getWindow(currentIFrame);
75470
75503
  currentIFrame = getFrameElement(currentWin);
@@ -75473,7 +75506,7 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
75473
75506
  return rectToClientRect({
75474
75507
  width,
75475
75508
  height,
75476
- x,
75509
+ x: x2,
75477
75510
  y: y2
75478
75511
  });
75479
75512
  }
@@ -75486,10 +75519,10 @@ function getWindowScrollBarX(element, rect) {
75486
75519
  }
75487
75520
  function getHTMLOffset(documentElement, scroll) {
75488
75521
  const htmlRect = documentElement.getBoundingClientRect();
75489
- const x = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);
75522
+ const x2 = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);
75490
75523
  const y2 = htmlRect.top + scroll.scrollTop;
75491
75524
  return {
75492
- x,
75525
+ x: x2,
75493
75526
  y: y2
75494
75527
  };
75495
75528
  }
@@ -75541,15 +75574,15 @@ function getDocumentRect(element) {
75541
75574
  const body = element.ownerDocument.body;
75542
75575
  const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
75543
75576
  const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
75544
- let x = -scroll.scrollLeft + getWindowScrollBarX(element);
75577
+ let x2 = -scroll.scrollLeft + getWindowScrollBarX(element);
75545
75578
  const y2 = -scroll.scrollTop;
75546
75579
  if (getComputedStyle$1(body).direction === "rtl") {
75547
- x += max(html.clientWidth, body.clientWidth) - width;
75580
+ x2 += max(html.clientWidth, body.clientWidth) - width;
75548
75581
  }
75549
75582
  return {
75550
75583
  width,
75551
75584
  height,
75552
- x,
75585
+ x: x2,
75553
75586
  y: y2
75554
75587
  };
75555
75588
  }
@@ -75560,14 +75593,14 @@ function getViewportRect(element, strategy) {
75560
75593
  const visualViewport = win.visualViewport;
75561
75594
  let width = html.clientWidth;
75562
75595
  let height = html.clientHeight;
75563
- let x = 0;
75596
+ let x2 = 0;
75564
75597
  let y2 = 0;
75565
75598
  if (visualViewport) {
75566
75599
  width = visualViewport.width;
75567
75600
  height = visualViewport.height;
75568
75601
  const visualViewportBased = isWebKit();
75569
75602
  if (!visualViewportBased || visualViewportBased && strategy === "fixed") {
75570
- x = visualViewport.offsetLeft;
75603
+ x2 = visualViewport.offsetLeft;
75571
75604
  y2 = visualViewport.offsetTop;
75572
75605
  }
75573
75606
  }
@@ -75587,7 +75620,7 @@ function getViewportRect(element, strategy) {
75587
75620
  return {
75588
75621
  width,
75589
75622
  height,
75590
- x,
75623
+ x: x2,
75591
75624
  y: y2
75592
75625
  };
75593
75626
  }
@@ -75599,12 +75632,12 @@ function getInnerBoundingClientRect(element, strategy) {
75599
75632
  const scale = isHTMLElement$2(element) ? getScale(element) : createCoords(1);
75600
75633
  const width = element.clientWidth * scale.x;
75601
75634
  const height = element.clientHeight * scale.y;
75602
- const x = left2 * scale.x;
75635
+ const x2 = left2 * scale.x;
75603
75636
  const y2 = top2 * scale.y;
75604
75637
  return {
75605
75638
  width,
75606
75639
  height,
75607
- x,
75640
+ x: x2,
75608
75641
  y: y2
75609
75642
  };
75610
75643
  }
@@ -75724,10 +75757,10 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
75724
75757
  setLeftRTLScrollbarOffset();
75725
75758
  }
75726
75759
  const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
75727
- const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
75760
+ const x2 = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
75728
75761
  const y2 = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
75729
75762
  return {
75730
- x,
75763
+ x: x2,
75731
75764
  y: y2,
75732
75765
  width: rect.width,
75733
75766
  height: rect.height
@@ -76606,22 +76639,22 @@ function createFloatingSeparator(separator, editor) {
76606
76639
  const rect = elements.reference.getBoundingClientRect();
76607
76640
  const containerRect = editorElement.getBoundingClientRect();
76608
76641
  const scaleFactor = getScaleFactor(editorElement);
76609
- const x = Math.round((rect.left - containerRect.left) / scaleFactor);
76642
+ const x2 = Math.round((rect.left - containerRect.left) / scaleFactor);
76610
76643
  const y2 = Math.round((rect.top - containerRect.top) / scaleFactor);
76611
76644
  const width = Math.round(rect.width / scaleFactor);
76612
76645
  const height = Math.round(rect.height / scaleFactor);
76613
76646
  return {
76614
- x,
76647
+ x: x2,
76615
76648
  y: y2,
76616
76649
  data: { width, height }
76617
76650
  };
76618
76651
  }
76619
76652
  }
76620
76653
  ]
76621
- }).then(({ x, y: y2, middlewareData }) => {
76654
+ }).then(({ x: x2, y: y2, middlewareData }) => {
76622
76655
  Object.assign(floatingSeparator.style, {
76623
76656
  top: `${y2}px`,
76624
- left: `${x}px`,
76657
+ left: `${x2}px`,
76625
76658
  width: `${middlewareData.copy.width}px`,
76626
76659
  height: `${middlewareData.copy.height}px`,
76627
76660
  visibility: middlewareData.hide?.referenceHidden ? "hidden" : "visible"
@@ -79640,14 +79673,14 @@ function ensureViewBoundingRect() {
79640
79673
  }
79641
79674
  return viewMeasurer.getBoundingClientRect();
79642
79675
  }
79643
- function getPointRect(x, y2) {
79676
+ function getPointRect(x2, y2) {
79644
79677
  const viewRect = ensureViewBoundingRect();
79645
79678
  return {
79646
79679
  top: y2,
79647
- left: x,
79680
+ left: x2,
79648
79681
  height: 0,
79649
79682
  width: 0,
79650
- right: viewRect.width - x,
79683
+ right: viewRect.width - x2,
79651
79684
  bottom: viewRect.height - y2
79652
79685
  };
79653
79686
  }
@@ -80053,7 +80086,7 @@ const LazyTeleport = defineComponent({
80053
80086
  };
80054
80087
  },
80055
80088
  render() {
80056
- return this.showTeleport ? this.disabled ? getSlot("lazy-teleport", this.$slots) : h$1(Teleport, {
80089
+ return this.showTeleport ? this.disabled ? getSlot("lazy-teleport", this.$slots) : h(Teleport, {
80057
80090
  disabled: this.disabled,
80058
80091
  to: this.mergedTo
80059
80092
  }, getSlot("lazy-teleport", this.$slots)) : null;
@@ -80485,8 +80518,8 @@ const VFollower = defineComponent({
80485
80518
  if (follower === null)
80486
80519
  return;
80487
80520
  const target = VBinder.targetRef;
80488
- const { x, y: y2, overlap } = props;
80489
- const targetRect = x !== void 0 && y2 !== void 0 ? getPointRect(x, y2) : getRect(target);
80521
+ const { x: x2, y: y2, overlap } = props;
80522
+ const targetRect = x2 !== void 0 && y2 !== void 0 ? getPointRect(x2, y2) : getRect(target);
80490
80523
  follower.style.setProperty("--v-target-width", `${Math.round(targetRect.width)}px`);
80491
80524
  follower.style.setProperty("--v-target-height", `${Math.round(targetRect.height)}px`);
80492
80525
  const { width, minWidth, placement, internalShift, flip: flip2 } = props;
@@ -80581,18 +80614,18 @@ const VFollower = defineComponent({
80581
80614
  };
80582
80615
  },
80583
80616
  render() {
80584
- return h$1(LazyTeleport, {
80617
+ return h(LazyTeleport, {
80585
80618
  show: this.show,
80586
80619
  to: this.mergedTo,
80587
80620
  disabled: this.teleportDisabled
80588
80621
  }, {
80589
80622
  default: () => {
80590
80623
  var _a2, _b;
80591
- const vNode = h$1("div", {
80624
+ const vNode = h("div", {
80592
80625
  class: ["v-binder-follower-container", this.containerClass],
80593
80626
  ref: "offsetContainerRef"
80594
80627
  }, [
80595
- h$1("div", {
80628
+ h("div", {
80596
80629
  class: "v-binder-follower-content",
80597
80630
  ref: "followerRef"
80598
80631
  }, (_b = (_a2 = this.$slots).default) === null || _b === void 0 ? void 0 : _b.call(_a2))
@@ -80656,8 +80689,8 @@ var ResizeObserverSize = /* @__PURE__ */ (function() {
80656
80689
  return ResizeObserverSize2;
80657
80690
  })();
80658
80691
  var DOMRectReadOnly = (function() {
80659
- function DOMRectReadOnly2(x, y2, width, height) {
80660
- this.x = x;
80692
+ function DOMRectReadOnly2(x2, y2, width, height) {
80693
+ this.x = x2;
80661
80694
  this.y = y2;
80662
80695
  this.width = width;
80663
80696
  this.height = height;
@@ -80668,8 +80701,8 @@ var DOMRectReadOnly = (function() {
80668
80701
  return freeze(this);
80669
80702
  }
80670
80703
  DOMRectReadOnly2.prototype.toJSON = function() {
80671
- 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;
80672
- return { x, y: y2, top: top2, right: right2, bottom: bottom2, left: left2, width, height };
80704
+ 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;
80705
+ return { x: x2, y: y2, top: top2, right: right2, bottom: bottom2, left: left2, width, height };
80673
80706
  };
80674
80707
  DOMRectReadOnly2.fromRect = function(rectangle) {
80675
80708
  return new DOMRectReadOnly2(rectangle.x, rectangle.y, rectangle.width, rectangle.height);
@@ -81424,8 +81457,8 @@ const FocusTrap = defineComponent({
81424
81457
  if (this.disabled)
81425
81458
  return defaultSlot();
81426
81459
  const { active, focusableStyle } = this;
81427
- return h$1(Fragment$1, null, [
81428
- h$1("div", {
81460
+ return h(Fragment$1, null, [
81461
+ h("div", {
81429
81462
  "aria-hidden": "true",
81430
81463
  tabindex: active ? "0" : "-1",
81431
81464
  ref: "focusableStartRef",
@@ -81433,7 +81466,7 @@ const FocusTrap = defineComponent({
81433
81466
  onFocus: this.handleStartFocus
81434
81467
  }),
81435
81468
  defaultSlot(),
81436
- h$1("div", {
81469
+ h("div", {
81437
81470
  "aria-hidden": "true",
81438
81471
  style: focusableStyle,
81439
81472
  ref: "focusableEndRef",
@@ -83137,11 +83170,11 @@ useTheme.props = {
83137
83170
  const ChevronRightIcon = defineComponent({
83138
83171
  name: "ChevronRight",
83139
83172
  render() {
83140
- return h$1("svg", {
83173
+ return h("svg", {
83141
83174
  viewBox: "0 0 16 16",
83142
83175
  fill: "none",
83143
83176
  xmlns: "http://www.w3.org/2000/svg"
83144
- }, h$1("path", {
83177
+ }, h("path", {
83145
83178
  d: "M5.64645 3.14645C5.45118 3.34171 5.45118 3.65829 5.64645 3.85355L9.79289 8L5.64645 12.1464C5.45118 12.3417 5.45118 12.6583 5.64645 12.8536C5.84171 13.0488 6.15829 13.0488 6.35355 12.8536L10.8536 8.35355C11.0488 8.15829 11.0488 7.84171 10.8536 7.64645L6.35355 3.14645C6.15829 2.95118 5.84171 2.95118 5.64645 3.14645Z",
83146
83179
  fill: "currentColor"
83147
83180
  }));
@@ -84114,16 +84147,16 @@ const Scrollbar = defineComponent({
84114
84147
  if (!this.scrollable) return (_a2 = $slots.default) === null || _a2 === void 0 ? void 0 : _a2.call($slots);
84115
84148
  const triggerIsNone = this.trigger === "none";
84116
84149
  const createYRail = (className, style2) => {
84117
- return h$1("div", {
84150
+ return h("div", {
84118
84151
  ref: "yRailRef",
84119
84152
  class: [`${mergedClsPrefix}-scrollbar-rail`, `${mergedClsPrefix}-scrollbar-rail--vertical`, `${mergedClsPrefix}-scrollbar-rail--vertical--${yPlacement}`, className],
84120
84153
  "data-scrollbar-rail": true,
84121
84154
  style: [style2 || "", this.verticalRailStyle],
84122
84155
  "aria-hidden": true
84123
- }, h$1(triggerIsNone ? Wrapper : Transition, triggerIsNone ? null : {
84156
+ }, h(triggerIsNone ? Wrapper : Transition, triggerIsNone ? null : {
84124
84157
  name: "fade-in-transition"
84125
84158
  }, {
84126
- default: () => this.needYBar && this.isShowYBar && !this.isIos ? h$1("div", {
84159
+ default: () => this.needYBar && this.isShowYBar && !this.isIos ? h("div", {
84127
84160
  class: `${mergedClsPrefix}-scrollbar-rail__scrollbar`,
84128
84161
  style: {
84129
84162
  height: this.yBarSizePx,
@@ -84136,24 +84169,24 @@ const Scrollbar = defineComponent({
84136
84169
  const createChildren = () => {
84137
84170
  var _a22, _b;
84138
84171
  (_a22 = this.onRender) === null || _a22 === void 0 ? void 0 : _a22.call(this);
84139
- return h$1("div", mergeProps(this.$attrs, {
84172
+ return h("div", mergeProps(this.$attrs, {
84140
84173
  role: "none",
84141
84174
  ref: "wrapperRef",
84142
84175
  class: [`${mergedClsPrefix}-scrollbar`, this.themeClass, rtlEnabled && `${mergedClsPrefix}-scrollbar--rtl`],
84143
84176
  style: this.cssVars,
84144
84177
  onMouseenter: triggerDisplayManually ? void 0 : this.handleMouseEnterWrapper,
84145
84178
  onMouseleave: triggerDisplayManually ? void 0 : this.handleMouseLeaveWrapper
84146
- }), [this.container ? (_b = $slots.default) === null || _b === void 0 ? void 0 : _b.call($slots) : h$1("div", {
84179
+ }), [this.container ? (_b = $slots.default) === null || _b === void 0 ? void 0 : _b.call($slots) : h("div", {
84147
84180
  role: "none",
84148
84181
  ref: "containerRef",
84149
84182
  class: [`${mergedClsPrefix}-scrollbar-container`, this.containerClass],
84150
84183
  style: this.containerStyle,
84151
84184
  onScroll: this.handleScroll,
84152
84185
  onWheel: this.onWheel
84153
- }, h$1(VResizeObserver, {
84186
+ }, h(VResizeObserver, {
84154
84187
  onResize: this.handleContentResize
84155
84188
  }, {
84156
- default: () => h$1("div", {
84189
+ default: () => h("div", {
84157
84190
  ref: "contentRef",
84158
84191
  role: "none",
84159
84192
  style: [{
@@ -84161,16 +84194,16 @@ const Scrollbar = defineComponent({
84161
84194
  }, this.contentStyle],
84162
84195
  class: [`${mergedClsPrefix}-scrollbar-content`, this.contentClass]
84163
84196
  }, $slots)
84164
- })), internalHoistYRail ? null : createYRail(void 0, void 0), xScrollable && h$1("div", {
84197
+ })), internalHoistYRail ? null : createYRail(void 0, void 0), xScrollable && h("div", {
84165
84198
  ref: "xRailRef",
84166
84199
  class: [`${mergedClsPrefix}-scrollbar-rail`, `${mergedClsPrefix}-scrollbar-rail--horizontal`, `${mergedClsPrefix}-scrollbar-rail--horizontal--${xPlacement}`],
84167
84200
  style: this.horizontalRailStyle,
84168
84201
  "data-scrollbar-rail": true,
84169
84202
  "aria-hidden": true
84170
- }, h$1(triggerIsNone ? Wrapper : Transition, triggerIsNone ? null : {
84203
+ }, h(triggerIsNone ? Wrapper : Transition, triggerIsNone ? null : {
84171
84204
  name: "fade-in-transition"
84172
84205
  }, {
84173
- default: () => this.needXBar && this.isShowXBar && !this.isIos ? h$1("div", {
84206
+ default: () => this.needXBar && this.isShowXBar && !this.isIos ? h("div", {
84174
84207
  class: `${mergedClsPrefix}-scrollbar-rail__scrollbar`,
84175
84208
  style: {
84176
84209
  width: this.xBarSizePx,
@@ -84181,13 +84214,13 @@ const Scrollbar = defineComponent({
84181
84214
  }) : null
84182
84215
  }))]);
84183
84216
  };
84184
- const scrollbarNode = this.container ? createChildren() : h$1(VResizeObserver, {
84217
+ const scrollbarNode = this.container ? createChildren() : h(VResizeObserver, {
84185
84218
  onResize: this.handleContainerResize
84186
84219
  }, {
84187
84220
  default: createChildren
84188
84221
  });
84189
84222
  if (internalHoistYRail) {
84190
- return h$1(Fragment$1, null, scrollbarNode, createYRail(this.themeClass, this.cssVars));
84223
+ return h(Fragment$1, null, scrollbarNode, createYRail(this.themeClass, this.cssVars));
84191
84224
  } else {
84192
84225
  return scrollbarNode;
84193
84226
  }
@@ -85077,11 +85110,11 @@ function renderArrow({
85077
85110
  arrowWrapperStyle,
85078
85111
  clsPrefix
85079
85112
  }) {
85080
- return h$1("div", {
85113
+ return h("div", {
85081
85114
  key: "__popover-arrow__",
85082
85115
  style: arrowWrapperStyle,
85083
85116
  class: [`${clsPrefix}-popover-arrow-wrapper`, arrowWrapperClass]
85084
- }, h$1("div", {
85117
+ }, h("div", {
85085
85118
  class: [`${clsPrefix}-popover-arrow`, arrowClass],
85086
85119
  style: arrowStyle
85087
85120
  }));
@@ -85279,26 +85312,26 @@ const NPopoverBody = defineComponent({
85279
85312
  const hasHeaderOrFooter = !isSlotEmpty(slots.header) || !isSlotEmpty(slots.footer);
85280
85313
  const renderContentInnerNode = () => {
85281
85314
  var _a2, _b;
85282
- const body = hasHeaderOrFooter ? h$1(Fragment$1, null, resolveWrappedSlot(slots.header, (children) => {
85283
- return children ? h$1("div", {
85315
+ const body = hasHeaderOrFooter ? h(Fragment$1, null, resolveWrappedSlot(slots.header, (children) => {
85316
+ return children ? h("div", {
85284
85317
  class: [`${mergedClsPrefix}-popover__header`, props.headerClass],
85285
85318
  style: props.headerStyle
85286
85319
  }, children) : null;
85287
85320
  }), resolveWrappedSlot(slots.default, (children) => {
85288
- return children ? h$1("div", {
85321
+ return children ? h("div", {
85289
85322
  class: [`${mergedClsPrefix}-popover__content`, props.contentClass],
85290
85323
  style: props.contentStyle
85291
85324
  }, slots) : null;
85292
85325
  }), resolveWrappedSlot(slots.footer, (children) => {
85293
- return children ? h$1("div", {
85326
+ return children ? h("div", {
85294
85327
  class: [`${mergedClsPrefix}-popover__footer`, props.footerClass],
85295
85328
  style: props.footerStyle
85296
85329
  }, children) : null;
85297
- })) : props.scrollable ? (_a2 = slots.default) === null || _a2 === void 0 ? void 0 : _a2.call(slots) : h$1("div", {
85330
+ })) : props.scrollable ? (_a2 = slots.default) === null || _a2 === void 0 ? void 0 : _a2.call(slots) : h("div", {
85298
85331
  class: [`${mergedClsPrefix}-popover__content`, props.contentClass],
85299
85332
  style: props.contentStyle
85300
85333
  }, slots);
85301
- const maybeScrollableBody = props.scrollable ? h$1(XScrollbar, {
85334
+ const maybeScrollableBody = props.scrollable ? h(XScrollbar, {
85302
85335
  themeOverrides: themeRef.value.peerOverrides.Scrollbar,
85303
85336
  theme: themeRef.value.peers.Scrollbar,
85304
85337
  contentClass: hasHeaderOrFooter ? void 0 : `${mergedClsPrefix}-popover__content ${(_b = props.contentClass) !== null && _b !== void 0 ? _b : ""}`,
@@ -85315,7 +85348,7 @@ const NPopoverBody = defineComponent({
85315
85348
  }) : null;
85316
85349
  return [maybeScrollableBody, arrow2];
85317
85350
  };
85318
- contentNode = h$1("div", mergeProps({
85351
+ contentNode = h("div", mergeProps({
85319
85352
  class: [`${mergedClsPrefix}-popover`, `${mergedClsPrefix}-popover-shared`, (rtlEnabledRef === null || rtlEnabledRef === void 0 ? void 0 : rtlEnabledRef.value) && `${mergedClsPrefix}-popover--rtl`, themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass.value, extraClass.map((v2) => `${mergedClsPrefix}-${v2}`), {
85320
85353
  [`${mergedClsPrefix}-popover--scrollable`]: props.scrollable,
85321
85354
  [`${mergedClsPrefix}-popover--show-header-or-footer`]: hasHeaderOrFooter,
@@ -85329,7 +85362,7 @@ const NPopoverBody = defineComponent({
85329
85362
  onKeydown: NPopover2.handleKeydown,
85330
85363
  onMouseenter: handleMouseEnter,
85331
85364
  onMouseleave: handleMouseLeave2
85332
- }, attrs), internalTrapFocus ? h$1(FocusTrap, {
85365
+ }, attrs), internalTrapFocus ? h(FocusTrap, {
85333
85366
  active: props.show,
85334
85367
  autoFocus: true
85335
85368
  }, {
@@ -85361,7 +85394,7 @@ const NPopoverBody = defineComponent({
85361
85394
  };
85362
85395
  },
85363
85396
  render() {
85364
- return h$1(VFollower, {
85397
+ return h(VFollower, {
85365
85398
  ref: "followerRef",
85366
85399
  zIndex: this.zIndex,
85367
85400
  show: this.show,
@@ -85377,7 +85410,7 @@ const NPopoverBody = defineComponent({
85377
85410
  teleportDisabled: this.adjustedTo === useAdjustedTo.tdkey
85378
85411
  }, {
85379
85412
  default: () => {
85380
- return this.animated ? h$1(Transition, {
85413
+ return this.animated ? h(Transition, {
85381
85414
  name: "popover-transition",
85382
85415
  appear: this.isMounted,
85383
85416
  // Don't use watch to enable follower, since the transition may
@@ -85765,7 +85798,7 @@ const NPopover = defineComponent({
85765
85798
  triggerVNode = getFirstSlotVNode(slots, "trigger");
85766
85799
  if (triggerVNode) {
85767
85800
  triggerVNode = cloneVNode(triggerVNode);
85768
- triggerVNode = triggerVNode.type === Text$2 ? h$1("span", [triggerVNode]) : triggerVNode;
85801
+ triggerVNode = triggerVNode.type === Text$2 ? h("span", [triggerVNode]) : triggerVNode;
85769
85802
  const handlers2 = {
85770
85803
  onClick: this.handleClick,
85771
85804
  onMouseenter: this.handleMouseEnter,
@@ -85823,7 +85856,7 @@ const NPopover = defineComponent({
85823
85856
  }
85824
85857
  }
85825
85858
  }
85826
- return h$1(Binder, {
85859
+ return h(Binder, {
85827
85860
  ref: "binderInstRef",
85828
85861
  syncTarget: !popoverInside,
85829
85862
  syncTargetWithParent: this.internalSyncTargetWithParent
@@ -85831,7 +85864,7 @@ const NPopover = defineComponent({
85831
85864
  default: () => {
85832
85865
  void this.mergedShowConsideringDisabledProp;
85833
85866
  const mergedShow = this.getMergedShow();
85834
- return [this.internalTrapFocus && mergedShow ? withDirectives(h$1("div", {
85867
+ return [this.internalTrapFocus && mergedShow ? withDirectives(h("div", {
85835
85868
  style: {
85836
85869
  position: "fixed",
85837
85870
  top: 0,
@@ -85842,9 +85875,9 @@ const NPopover = defineComponent({
85842
85875
  }), [[zindexable, {
85843
85876
  enabled: mergedShow,
85844
85877
  zIndex: this.zIndex
85845
- }]]) : null, positionManually ? null : h$1(VTarget, null, {
85878
+ }]]) : null, positionManually ? null : h(VTarget, null, {
85846
85879
  default: () => triggerVNode
85847
- }), h$1(NPopoverBody, keep(this.$props, bodyPropKeys, Object.assign(Object.assign({}, this.$attrs), {
85880
+ }), h(NPopoverBody, keep(this.$props, bodyPropKeys, Object.assign(Object.assign({}, this.$attrs), {
85848
85881
  showArrow: this.mergedShowArrow,
85849
85882
  show: mergedShow
85850
85883
  })), {
@@ -86012,7 +86045,7 @@ const NTooltip = defineComponent({
86012
86045
  mergedTheme,
86013
86046
  internalExtraClass
86014
86047
  } = this;
86015
- return h$1(NPopover, Object.assign(Object.assign({}, this.$props), {
86048
+ return h(NPopover, Object.assign(Object.assign({}, this.$props), {
86016
86049
  theme: mergedTheme.peers.Popover,
86017
86050
  themeOverrides: mergedTheme.peerOverrides.Popover,
86018
86051
  builtinThemeOverrides: this.popoverThemeOverrides,
@@ -86033,7 +86066,7 @@ const NDropdownDivider = defineComponent({
86033
86066
  }
86034
86067
  },
86035
86068
  render() {
86036
- return h$1("div", {
86069
+ return h("div", {
86037
86070
  class: `${this.clsPrefix}-dropdown-divider`
86038
86071
  });
86039
86072
  }
@@ -86083,17 +86116,17 @@ const NDropdownGroupHeader = defineComponent({
86083
86116
  const {
86084
86117
  rawNode
86085
86118
  } = this.tmNode;
86086
- const node = h$1("div", Object.assign({
86119
+ const node = h("div", Object.assign({
86087
86120
  class: `${clsPrefix}-dropdown-option`
86088
- }, nodeProps === null || nodeProps === void 0 ? void 0 : nodeProps(rawNode)), h$1("div", {
86121
+ }, nodeProps === null || nodeProps === void 0 ? void 0 : nodeProps(rawNode)), h("div", {
86089
86122
  class: `${clsPrefix}-dropdown-option-body ${clsPrefix}-dropdown-option-body--group`
86090
- }, h$1("div", {
86123
+ }, h("div", {
86091
86124
  "data-dropdown-option": true,
86092
86125
  class: [`${clsPrefix}-dropdown-option-body__prefix`, showIcon && `${clsPrefix}-dropdown-option-body__prefix--show-icon`]
86093
- }, render(rawNode.icon)), h$1("div", {
86126
+ }, render(rawNode.icon)), h("div", {
86094
86127
  class: `${clsPrefix}-dropdown-option-body__label`,
86095
86128
  "data-dropdown-option": true
86096
- }, renderLabel ? renderLabel(rawNode) : render((_a2 = rawNode.title) !== null && _a2 !== void 0 ? _a2 : rawNode[this.labelField])), h$1("div", {
86129
+ }, renderLabel ? renderLabel(rawNode) : render((_a2 = rawNode.title) !== null && _a2 !== void 0 ? _a2 : rawNode[this.labelField])), h("div", {
86097
86130
  class: [`${clsPrefix}-dropdown-option-body__suffix`, hasSubmenu && `${clsPrefix}-dropdown-option-body__suffix--has-submenu`],
86098
86131
  "data-dropdown-option": true
86099
86132
  })));
@@ -86223,14 +86256,14 @@ const NIcon = defineComponent({
86223
86256
  warn("icon", "don't wrap `n-icon` inside `n-icon`");
86224
86257
  }
86225
86258
  onRender === null || onRender === void 0 ? void 0 : onRender();
86226
- return h$1("i", mergeProps(this.$attrs, {
86259
+ return h("i", mergeProps(this.$attrs, {
86227
86260
  role: "img",
86228
86261
  class: [`${mergedClsPrefix}-icon`, themeClass, {
86229
86262
  [`${mergedClsPrefix}-icon--depth`]: depth,
86230
86263
  [`${mergedClsPrefix}-icon--color-transition`]: depth !== void 0
86231
86264
  }],
86232
86265
  style: [this.cssVars, this.mergedStyle]
86233
- }), component ? h$1(component) : this.$slots);
86266
+ }), component ? h(component) : this.$slots);
86234
86267
  }
86235
86268
  });
86236
86269
  function isSubmenuNode(rawNode, childrenField) {
@@ -86466,7 +86499,7 @@ const NDropdownOption = defineComponent({
86466
86499
  let submenuVNode = null;
86467
86500
  if (mergedShowSubmenu) {
86468
86501
  const submenuNodeProps = (_a2 = this.menuProps) === null || _a2 === void 0 ? void 0 : _a2.call(this, rawNode, rawNode.children);
86469
- submenuVNode = h$1(NDropdownMenu, Object.assign({}, submenuNodeProps, {
86502
+ submenuVNode = h(NDropdownMenu, Object.assign({}, submenuNodeProps, {
86470
86503
  clsPrefix,
86471
86504
  scrollable: this.scrollable,
86472
86505
  tmNodes: this.tmNode.children,
@@ -86481,33 +86514,33 @@ const NDropdownOption = defineComponent({
86481
86514
  onClick: this.handleClick
86482
86515
  };
86483
86516
  const optionNodeProps = nodeProps === null || nodeProps === void 0 ? void 0 : nodeProps(rawNode);
86484
- const node = h$1("div", Object.assign({
86517
+ const node = h("div", Object.assign({
86485
86518
  class: [`${clsPrefix}-dropdown-option`, optionNodeProps === null || optionNodeProps === void 0 ? void 0 : optionNodeProps.class],
86486
86519
  "data-dropdown-option": true
86487
- }, optionNodeProps), h$1("div", mergeProps(builtinProps, props), [h$1("div", {
86520
+ }, optionNodeProps), h("div", mergeProps(builtinProps, props), [h("div", {
86488
86521
  class: [`${clsPrefix}-dropdown-option-body__prefix`, siblingHasIcon && `${clsPrefix}-dropdown-option-body__prefix--show-icon`]
86489
- }, [renderIcon ? renderIcon(rawNode) : render(rawNode.icon)]), h$1("div", {
86522
+ }, [renderIcon ? renderIcon(rawNode) : render(rawNode.icon)]), h("div", {
86490
86523
  "data-dropdown-option": true,
86491
86524
  class: `${clsPrefix}-dropdown-option-body__label`
86492
- }, renderLabel ? renderLabel(rawNode) : render((_b = rawNode[this.labelField]) !== null && _b !== void 0 ? _b : rawNode.title)), h$1("div", {
86525
+ }, renderLabel ? renderLabel(rawNode) : render((_b = rawNode[this.labelField]) !== null && _b !== void 0 ? _b : rawNode.title)), h("div", {
86493
86526
  "data-dropdown-option": true,
86494
86527
  class: [`${clsPrefix}-dropdown-option-body__suffix`, siblingHasSubmenu && `${clsPrefix}-dropdown-option-body__suffix--has-submenu`]
86495
- }, this.hasSubmenu ? h$1(NIcon, null, {
86496
- default: () => h$1(ChevronRightIcon, null)
86497
- }) : null)]), this.hasSubmenu ? h$1(Binder, null, {
86498
- default: () => [h$1(VTarget, null, {
86499
- default: () => h$1("div", {
86528
+ }, this.hasSubmenu ? h(NIcon, null, {
86529
+ default: () => h(ChevronRightIcon, null)
86530
+ }) : null)]), this.hasSubmenu ? h(Binder, null, {
86531
+ default: () => [h(VTarget, null, {
86532
+ default: () => h("div", {
86500
86533
  class: `${clsPrefix}-dropdown-offset-container`
86501
- }, h$1(VFollower, {
86534
+ }, h(VFollower, {
86502
86535
  show: this.mergedShowSubmenu,
86503
86536
  placement: this.placement,
86504
86537
  to: scrollable ? this.popoverBody || void 0 : void 0,
86505
86538
  teleportDisabled: !scrollable
86506
86539
  }, {
86507
86540
  default: () => {
86508
- return h$1("div", {
86541
+ return h("div", {
86509
86542
  class: `${clsPrefix}-dropdown-menu-wrapper`
86510
- }, animated ? h$1(Transition, {
86543
+ }, animated ? h(Transition, {
86511
86544
  onBeforeEnter: this.handleSubmenuBeforeEnter,
86512
86545
  onAfterEnter: this.handleSubmenuAfterEnter,
86513
86546
  name: "fade-in-scale-up-transition",
@@ -86553,7 +86586,7 @@ const NDropdownGroup = defineComponent({
86553
86586
  const {
86554
86587
  children
86555
86588
  } = tmNode;
86556
- return h$1(Fragment$1, null, h$1(NDropdownGroupHeader, {
86589
+ return h(Fragment$1, null, h(NDropdownGroupHeader, {
86557
86590
  clsPrefix,
86558
86591
  tmNode,
86559
86592
  key: tmNode.key
@@ -86563,7 +86596,7 @@ const NDropdownGroup = defineComponent({
86563
86596
  } = child;
86564
86597
  if (rawNode.show === false) return null;
86565
86598
  if (isDividerNode(rawNode)) {
86566
- return h$1(NDropdownDivider, {
86599
+ return h(NDropdownDivider, {
86567
86600
  clsPrefix,
86568
86601
  key: child.key
86569
86602
  });
@@ -86572,7 +86605,7 @@ const NDropdownGroup = defineComponent({
86572
86605
  warn("dropdown", "`group` node is not allowed to be put in `group` node.");
86573
86606
  return null;
86574
86607
  }
86575
- return h$1(NDropdownOption, {
86608
+ return h(NDropdownOption, {
86576
86609
  clsPrefix,
86577
86610
  tmNode: child,
86578
86611
  parentKey,
@@ -86596,7 +86629,7 @@ const NDropdownRenderOption = defineComponent({
86596
86629
  props
86597
86630
  }
86598
86631
  } = this.tmNode;
86599
- return h$1("div", props, [render2 === null || render2 === void 0 ? void 0 : render2()]);
86632
+ return h("div", props, [render2 === null || render2 === void 0 ? void 0 : render2()]);
86600
86633
  }
86601
86634
  });
86602
86635
  const NDropdownMenu = defineComponent({
@@ -86677,26 +86710,26 @@ const NDropdownMenu = defineComponent({
86677
86710
  } = tmNode;
86678
86711
  if (rawNode.show === false) return null;
86679
86712
  if (isRenderNode(rawNode)) {
86680
- return h$1(NDropdownRenderOption, {
86713
+ return h(NDropdownRenderOption, {
86681
86714
  tmNode,
86682
86715
  key: tmNode.key
86683
86716
  });
86684
86717
  }
86685
86718
  if (isDividerNode(rawNode)) {
86686
- return h$1(NDropdownDivider, {
86719
+ return h(NDropdownDivider, {
86687
86720
  clsPrefix,
86688
86721
  key: tmNode.key
86689
86722
  });
86690
86723
  }
86691
86724
  if (isGroupNode(rawNode)) {
86692
- return h$1(NDropdownGroup, {
86725
+ return h(NDropdownGroup, {
86693
86726
  clsPrefix,
86694
86727
  tmNode,
86695
86728
  parentKey,
86696
86729
  key: tmNode.key
86697
86730
  });
86698
86731
  }
86699
- return h$1(NDropdownOption, {
86732
+ return h(NDropdownOption, {
86700
86733
  clsPrefix,
86701
86734
  tmNode,
86702
86735
  parentKey,
@@ -86705,10 +86738,10 @@ const NDropdownMenu = defineComponent({
86705
86738
  scrollable
86706
86739
  });
86707
86740
  });
86708
- return h$1("div", {
86741
+ return h("div", {
86709
86742
  class: [`${clsPrefix}-dropdown-menu`, scrollable && `${clsPrefix}-dropdown-menu--scrollable`],
86710
86743
  ref: "bodyRef"
86711
- }, scrollable ? h$1(XScrollbar, {
86744
+ }, scrollable ? h(XScrollbar, {
86712
86745
  contentClass: `${clsPrefix}-dropdown-menu__content`
86713
86746
  }, {
86714
86747
  default: () => menuOptionsNode
@@ -87176,7 +87209,7 @@ const NDropdown = defineComponent({
87176
87209
  onMouseenter,
87177
87210
  onMouseleave
87178
87211
  };
87179
- return h$1(NDropdownMenu, mergeProps(this.$attrs, dropdownProps2, menuNodeProps));
87212
+ return h(NDropdownMenu, mergeProps(this.$attrs, dropdownProps2, menuNodeProps));
87180
87213
  };
87181
87214
  const {
87182
87215
  mergedTheme
@@ -87190,7 +87223,7 @@ const NDropdown = defineComponent({
87190
87223
  onUpdateShow: this.doUpdateShow,
87191
87224
  "onUpdate:show": void 0
87192
87225
  };
87193
- return h$1(NPopover, Object.assign({}, keep(this.$props, popoverPropKeys), popoverProps2), {
87226
+ return h(NPopover, Object.assign({}, keep(this.$props, popoverPropKeys), popoverProps2), {
87194
87227
  trigger: () => {
87195
87228
  var _a2, _b;
87196
87229
  return (_b = (_a2 = this.$slots).default) === null || _b === void 0 ? void 0 : _b.call(_a2);
@@ -87332,12 +87365,12 @@ const NSkeleton = defineComponent({
87332
87365
  mergedClsPrefix,
87333
87366
  $attrs
87334
87367
  } = this;
87335
- const child = h$1("div", mergeProps({
87368
+ const child = h("div", mergeProps({
87336
87369
  class: `${mergedClsPrefix}-skeleton`,
87337
87370
  style: style2
87338
87371
  }, $attrs));
87339
87372
  if (repeatProp > 1) {
87340
- return h$1(Fragment$1, null, repeat(repeatProp, null).map((_2) => [child, "\n"]));
87373
+ return h(Fragment$1, null, repeat(repeatProp, null).map((_2) => [child, "\n"]));
87341
87374
  }
87342
87375
  return child;
87343
87376
  }
@@ -89251,8 +89284,8 @@ const renderColorOptions = (superToolbar, button, customIcons = [], hasNoneIcon
89251
89284
  superToolbar.emitCommand({ item: button, argument: e });
89252
89285
  closeDropdown$1(button);
89253
89286
  };
89254
- return h$1("div", {}, [
89255
- h$1(IconGrid, {
89287
+ return h("div", {}, [
89288
+ h(IconGrid, {
89256
89289
  icons,
89257
89290
  customIcons,
89258
89291
  activeColor: button.iconColor,
@@ -89724,8 +89757,8 @@ const makeDefaultItems = ({
89724
89757
  const handleClose = () => {
89725
89758
  closeDropdown(aiButton);
89726
89759
  };
89727
- return h$1("div", {}, [
89728
- h$1(AIWriter, {
89760
+ return h("div", {}, [
89761
+ h(AIWriter, {
89729
89762
  handleClose,
89730
89763
  selectedText,
89731
89764
  editor: superToolbar.activeEditor,
@@ -89901,8 +89934,8 @@ const makeDefaultItems = ({
89901
89934
  const handleSubmit = ({ value }) => {
89902
89935
  superToolbar.activeEditor.commands.search(value);
89903
89936
  };
89904
- return h$1("div", {}, [
89905
- h$1(SearchInput, {
89937
+ return h("div", {}, [
89938
+ h(SearchInput, {
89906
89939
  onSubmit: handleSubmit,
89907
89940
  searchRef
89908
89941
  })
@@ -89934,8 +89967,8 @@ const makeDefaultItems = ({
89934
89967
  }
89935
89968
  });
89936
89969
  function renderLinkDropdown(link2) {
89937
- return h$1("div", {}, [
89938
- h$1(LinkInput, {
89970
+ return h("div", {}, [
89971
+ h(LinkInput, {
89939
89972
  editor: superToolbar.activeEditor,
89940
89973
  closePopover: () => closeDropdown(link2),
89941
89974
  goToAnchor: () => {
@@ -89992,8 +90025,8 @@ const makeDefaultItems = ({
89992
90025
  superToolbar.emitCommand({ item: tableItem2, argument: e });
89993
90026
  closeDropdown(tableItem2);
89994
90027
  };
89995
- return h$1("div", {}, [
89996
- h$1(TableGrid, {
90028
+ return h("div", {}, [
90029
+ h(TableGrid, {
89997
90030
  onSelect: handleSelect
89998
90031
  })
89999
90032
  ]);
@@ -90120,7 +90153,7 @@ const makeDefaultItems = ({
90120
90153
  }
90121
90154
  ];
90122
90155
  function renderTableActions(tableActionsItem2) {
90123
- return h$1(TableActions, {
90156
+ return h(TableActions, {
90124
90157
  options: tableActionsOptions2,
90125
90158
  onSelect: (event) => {
90126
90159
  closeDropdown(tableActionsItem2);
@@ -90153,8 +90186,8 @@ const makeDefaultItems = ({
90153
90186
  superToolbar.emitCommand({ item: buttonWithCommand, argument: e });
90154
90187
  setAlignmentIcon(alignment2, e);
90155
90188
  };
90156
- return h$1("div", {}, [
90157
- h$1(AlignmentButtons, {
90189
+ return h("div", {}, [
90190
+ h(AlignmentButtons, {
90158
90191
  onSelect: handleSelect
90159
90192
  })
90160
90193
  ]);
@@ -90430,7 +90463,7 @@ const makeDefaultItems = ({
90430
90463
  ];
90431
90464
  function renderDocumentMode(renderDocumentButton) {
90432
90465
  const optionsAfterRole = getDocumentOptionsAfterRole(role, documentOptions);
90433
- return h$1(DocumentMode, {
90466
+ return h(DocumentMode, {
90434
90467
  options: optionsAfterRole,
90435
90468
  onSelect: (item) => {
90436
90469
  closeDropdown(renderDocumentButton);
@@ -90501,8 +90534,8 @@ const makeDefaultItems = ({
90501
90534
  superToolbar.emitCommand({ item: itemWithCommand, argument: style2 });
90502
90535
  selectedLinkedStyle.value = style2.id;
90503
90536
  };
90504
- return h$1("div", {}, [
90505
- h$1(LinkedStyle, {
90537
+ return h("div", {}, [
90538
+ h(LinkedStyle, {
90506
90539
  editor: superToolbar.activeEditor,
90507
90540
  onSelect: handleSelect,
90508
90541
  selectedOption: selectedLinkedStyle.value
@@ -90524,7 +90557,7 @@ const makeDefaultItems = ({
90524
90557
  });
90525
90558
  const renderIcon = (value, selectedValue) => {
90526
90559
  if (selectedValue.value.toString() !== value) return;
90527
- return h$1("div", { innerHTML: checkIconSvg, class: "dropdown-select-icon" });
90560
+ return h("div", { innerHTML: checkIconSvg, class: "dropdown-select-icon" });
90528
90561
  };
90529
90562
  const lineHeight2 = useToolbarItem({
90530
90563
  type: "dropdown",