@harbour-enterprises/superdoc 0.29.0 → 0.29.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 (44) hide show
  1. package/dist/chunks/{PdfViewer-DUMZ9x59.es.js → PdfViewer-DQhcHGV_.es.js} +2 -2
  2. package/dist/chunks/{PdfViewer-BVriqvm9.cjs → PdfViewer-qQqnhYEQ.cjs} +2 -2
  3. package/dist/chunks/{eventemitter3-BvTILlBo.cjs → eventemitter3-DmHNHvFX.cjs} +1 -1
  4. package/dist/chunks/{eventemitter3-D4gv5QOO.es.js → eventemitter3-hYlnBzSA.es.js} +1 -1
  5. package/dist/chunks/{index-DEOkqJcc.cjs → index-CaDbRGFF.cjs} +6 -6
  6. package/dist/chunks/{index-373DqHu6-CPe3gPzf.cjs → index-DldNo6-E-B0LsewRn.cjs} +1 -1
  7. package/dist/chunks/{index-373DqHu6-BLRN3Gja.es.js → index-DldNo6-E-lpDwRf2x.es.js} +1 -1
  8. package/dist/chunks/{index-_cWKslAS.es.js → index-G6IpAZy0.es.js} +6 -6
  9. package/dist/chunks/{jszip-B0BPx_cv.cjs → jszip-BP2FTbpi.cjs} +7 -7
  10. package/dist/chunks/{jszip-Bhl-Iudl.es.js → jszip-jKrsZoMS.es.js} +7 -7
  11. package/dist/chunks/{super-editor.es-83k0FoXr.es.js → super-editor.es-D2S9NC5U.es.js} +695 -672
  12. package/dist/chunks/{super-editor.es-BkBSpy8W.cjs → super-editor.es-DISiPGag.cjs} +742 -719
  13. package/dist/chunks/{vue-D1vcEBAQ.es.js → vue-CKmzTNVs.es.js} +2 -2
  14. package/dist/chunks/{vue-BQxRC6G7.cjs → vue-Cwv-wUpm.cjs} +2 -2
  15. package/dist/chunks/xml-js-BSDu25I7.cjs +3 -0
  16. package/dist/chunks/xml-js-CBrRls0f.es.js +2 -0
  17. package/dist/packages/superdoc/src/core/SuperDoc.d.ts.map +1 -1
  18. package/dist/packages/superdoc/src/core/types/index.d.ts.map +1 -1
  19. package/dist/style.css +2 -0
  20. package/dist/super-editor/ai-writer.es.js +2 -2
  21. package/dist/super-editor/chunks/{converter-B86bAVY0.js → converter-DgrhVpVg.js} +425 -402
  22. package/dist/super-editor/chunks/{docx-zipper-D1VjYtEw.js → docx-zipper-rQGWdry3.js} +2 -2
  23. package/dist/super-editor/chunks/{editor-a9U6w_LW.js → editor-CClqHaHN.js} +5 -5
  24. package/dist/super-editor/chunks/{index-373DqHu6.js → index-DldNo6-E.js} +1 -1
  25. package/dist/super-editor/chunks/{toolbar-D0NuB59d.js → toolbar-DMCudruT.js} +2 -2
  26. package/dist/super-editor/converter.es.js +1 -1
  27. package/dist/super-editor/docx-zipper.es.js +2 -2
  28. package/dist/super-editor/editor.es.js +3 -3
  29. package/dist/super-editor/file-zipper.es.js +1 -1
  30. package/dist/super-editor/style.css +2 -0
  31. package/dist/super-editor/super-editor/src/extensions/index.d.ts +2 -2
  32. package/dist/super-editor/super-editor/src/extensions/index.d.ts.map +1 -1
  33. package/dist/super-editor/super-editor/src/extensions/track-changes/permission-helpers.d.ts.map +1 -1
  34. package/dist/super-editor/super-editor.es.js +6 -6
  35. package/dist/super-editor/toolbar.es.js +2 -2
  36. package/dist/super-editor.cjs +2 -2
  37. package/dist/super-editor.es.js +2 -2
  38. package/dist/superdoc.cjs +2 -2
  39. package/dist/superdoc.es.js +2 -2
  40. package/dist/superdoc.umd.js +630 -607
  41. package/dist/superdoc.umd.js.map +1 -1
  42. package/package.json +2 -5
  43. package/dist/chunks/xml-js-cO2Q8Wfu.cjs +0 -3
  44. package/dist/chunks/xml-js-jMPlIVKT.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-D1vcEBAQ.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-CKmzTNVs.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;
@@ -190,15 +190,15 @@ ieee754.write = function(buffer2, value, offset2, isLE, mLen, nBytes) {
190
190
  * @author Feross Aboukhadijeh <https://feross.org>
191
191
  * @license MIT
192
192
  */
193
- (function(exports2) {
193
+ (function(exports$1) {
194
194
  const base64 = base64Js;
195
195
  const ieee754$1 = ieee754;
196
196
  const customInspectSymbol = typeof Symbol === "function" && typeof Symbol["for"] === "function" ? Symbol["for"]("nodejs.util.inspect.custom") : null;
197
- exports2.Buffer = Buffer3;
198
- exports2.SlowBuffer = SlowBuffer;
199
- exports2.INSPECT_MAX_BYTES = 50;
197
+ exports$1.Buffer = Buffer3;
198
+ exports$1.SlowBuffer = SlowBuffer;
199
+ exports$1.INSPECT_MAX_BYTES = 50;
200
200
  const K_MAX_LENGTH = 2147483647;
201
- exports2.kMaxLength = K_MAX_LENGTH;
201
+ exports$1.kMaxLength = K_MAX_LENGTH;
202
202
  const { Uint8Array: GlobalUint8Array, ArrayBuffer: GlobalArrayBuffer, SharedArrayBuffer: GlobalSharedArrayBuffer } = globalThis;
203
203
  Buffer3.TYPED_ARRAY_SUPPORT = typedArraySupport();
204
204
  if (!Buffer3.TYPED_ARRAY_SUPPORT && typeof console !== "undefined" && typeof console.error === "function") {
@@ -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) {
@@ -629,7 +629,7 @@ ieee754.write = function(buffer2, value, offset2, isLE, mLen, nBytes) {
629
629
  };
630
630
  Buffer3.prototype.inspect = function inspect() {
631
631
  let str = "";
632
- const max2 = exports2.INSPECT_MAX_BYTES;
632
+ const max2 = exports$1.INSPECT_MAX_BYTES;
633
633
  str = this.toString("hex", 0, max2).replace(/(.{2})/g, "$1 ").trim();
634
634
  if (this.length > max2) str += " ... ";
635
635
  return "<Buffer " + str + ">";
@@ -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 = {};
@@ -2358,8 +2358,8 @@ var hasRequiredDist;
2358
2358
  function requireDist() {
2359
2359
  if (hasRequiredDist) return dist;
2360
2360
  hasRequiredDist = 1;
2361
- (function(exports2) {
2362
- Object.defineProperties(exports2, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
2361
+ (function(exports$1) {
2362
+ Object.defineProperties(exports$1, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
2363
2363
  var buffer2 = {};
2364
2364
  var base64Js2 = {};
2365
2365
  base64Js2.byteLength = byteLength2;
@@ -2539,15 +2539,15 @@ function requireDist() {
2539
2539
  * @author Feross Aboukhadijeh <https://feross.org>
2540
2540
  * @license MIT
2541
2541
  */
2542
- (function(exports22) {
2542
+ (function(exports$12) {
2543
2543
  const base64 = base64Js2;
2544
2544
  const ieee754$1 = ieee7542;
2545
2545
  const customInspectSymbol = typeof Symbol === "function" && typeof Symbol["for"] === "function" ? Symbol["for"]("nodejs.util.inspect.custom") : null;
2546
- exports22.Buffer = Buffer4;
2547
- exports22.SlowBuffer = SlowBuffer;
2548
- exports22.INSPECT_MAX_BYTES = 50;
2546
+ exports$12.Buffer = Buffer4;
2547
+ exports$12.SlowBuffer = SlowBuffer;
2548
+ exports$12.INSPECT_MAX_BYTES = 50;
2549
2549
  const K_MAX_LENGTH = 2147483647;
2550
- exports22.kMaxLength = K_MAX_LENGTH;
2550
+ exports$12.kMaxLength = K_MAX_LENGTH;
2551
2551
  const { Uint8Array: GlobalUint8Array, ArrayBuffer: GlobalArrayBuffer, SharedArrayBuffer: GlobalSharedArrayBuffer } = globalThis;
2552
2552
  Buffer4.TYPED_ARRAY_SUPPORT = typedArraySupport();
2553
2553
  if (!Buffer4.TYPED_ARRAY_SUPPORT && typeof console !== "undefined" && typeof console.error === "function") {
@@ -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) {
@@ -2978,7 +2978,7 @@ function requireDist() {
2978
2978
  };
2979
2979
  Buffer4.prototype.inspect = function inspect() {
2980
2980
  let str = "";
2981
- const max2 = exports22.INSPECT_MAX_BYTES;
2981
+ const max2 = exports$12.INSPECT_MAX_BYTES;
2982
2982
  str = this.toString("hex", 0, max2).replace(/(.{2})/g, "$1 ").trim();
2983
2983
  if (this.length > max2) str += " ... ";
2984
2984
  return "<Buffer " + str + ">";
@@ -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) {
@@ -4126,24 +4126,24 @@ function requireDist() {
4126
4126
  }
4127
4127
  })(buffer2);
4128
4128
  const Buffer3 = buffer2.Buffer;
4129
- exports2.Blob = buffer2.Blob;
4130
- exports2.BlobOptions = buffer2.BlobOptions;
4131
- exports2.Buffer = buffer2.Buffer;
4132
- exports2.File = buffer2.File;
4133
- exports2.FileOptions = buffer2.FileOptions;
4134
- exports2.INSPECT_MAX_BYTES = buffer2.INSPECT_MAX_BYTES;
4135
- exports2.SlowBuffer = buffer2.SlowBuffer;
4136
- exports2.TranscodeEncoding = buffer2.TranscodeEncoding;
4137
- exports2.atob = buffer2.atob;
4138
- exports2.btoa = buffer2.btoa;
4139
- exports2.constants = buffer2.constants;
4140
- exports2.default = Buffer3;
4141
- exports2.isAscii = buffer2.isAscii;
4142
- exports2.isUtf8 = buffer2.isUtf8;
4143
- exports2.kMaxLength = buffer2.kMaxLength;
4144
- exports2.kStringMaxLength = buffer2.kStringMaxLength;
4145
- exports2.resolveObjectURL = buffer2.resolveObjectURL;
4146
- exports2.transcode = buffer2.transcode;
4129
+ exports$1.Blob = buffer2.Blob;
4130
+ exports$1.BlobOptions = buffer2.BlobOptions;
4131
+ exports$1.Buffer = buffer2.Buffer;
4132
+ exports$1.File = buffer2.File;
4133
+ exports$1.FileOptions = buffer2.FileOptions;
4134
+ exports$1.INSPECT_MAX_BYTES = buffer2.INSPECT_MAX_BYTES;
4135
+ exports$1.SlowBuffer = buffer2.SlowBuffer;
4136
+ exports$1.TranscodeEncoding = buffer2.TranscodeEncoding;
4137
+ exports$1.atob = buffer2.atob;
4138
+ exports$1.btoa = buffer2.btoa;
4139
+ exports$1.constants = buffer2.constants;
4140
+ exports$1.default = Buffer3;
4141
+ exports$1.isAscii = buffer2.isAscii;
4142
+ exports$1.isUtf8 = buffer2.isUtf8;
4143
+ exports$1.kMaxLength = buffer2.kMaxLength;
4144
+ exports$1.kStringMaxLength = buffer2.kStringMaxLength;
4145
+ exports$1.resolveObjectURL = buffer2.resolveObjectURL;
4146
+ exports$1.transcode = buffer2.transcode;
4147
4147
  })(dist);
4148
4148
  return dist;
4149
4149
  }
@@ -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)) {
@@ -5645,7 +5645,7 @@ var hasRequiredTypes;
5645
5645
  function requireTypes() {
5646
5646
  if (hasRequiredTypes) return types;
5647
5647
  hasRequiredTypes = 1;
5648
- (function(exports2) {
5648
+ (function(exports$1) {
5649
5649
  var isArgumentsObject = /* @__PURE__ */ requireIsArguments();
5650
5650
  var isGeneratorFunction2 = requireIsGeneratorFunction();
5651
5651
  var whichTypedArray2 = /* @__PURE__ */ requireWhichTypedArray();
@@ -5676,64 +5676,64 @@ function requireTypes() {
5676
5676
  return false;
5677
5677
  }
5678
5678
  }
5679
- exports2.isArgumentsObject = isArgumentsObject;
5680
- exports2.isGeneratorFunction = isGeneratorFunction2;
5681
- exports2.isTypedArray = isTypedArray2;
5679
+ exports$1.isArgumentsObject = isArgumentsObject;
5680
+ exports$1.isGeneratorFunction = isGeneratorFunction2;
5681
+ exports$1.isTypedArray = isTypedArray2;
5682
5682
  function isPromise(input) {
5683
5683
  return typeof Promise !== "undefined" && input instanceof Promise || input !== null && typeof input === "object" && typeof input.then === "function" && typeof input.catch === "function";
5684
5684
  }
5685
- exports2.isPromise = isPromise;
5685
+ exports$1.isPromise = isPromise;
5686
5686
  function isArrayBufferView(value) {
5687
5687
  if (typeof ArrayBuffer !== "undefined" && ArrayBuffer.isView) {
5688
5688
  return ArrayBuffer.isView(value);
5689
5689
  }
5690
5690
  return isTypedArray2(value) || isDataView(value);
5691
5691
  }
5692
- exports2.isArrayBufferView = isArrayBufferView;
5692
+ exports$1.isArrayBufferView = isArrayBufferView;
5693
5693
  function isUint8Array(value) {
5694
5694
  return whichTypedArray2(value) === "Uint8Array";
5695
5695
  }
5696
- exports2.isUint8Array = isUint8Array;
5696
+ exports$1.isUint8Array = isUint8Array;
5697
5697
  function isUint8ClampedArray(value) {
5698
5698
  return whichTypedArray2(value) === "Uint8ClampedArray";
5699
5699
  }
5700
- exports2.isUint8ClampedArray = isUint8ClampedArray;
5700
+ exports$1.isUint8ClampedArray = isUint8ClampedArray;
5701
5701
  function isUint16Array(value) {
5702
5702
  return whichTypedArray2(value) === "Uint16Array";
5703
5703
  }
5704
- exports2.isUint16Array = isUint16Array;
5704
+ exports$1.isUint16Array = isUint16Array;
5705
5705
  function isUint32Array(value) {
5706
5706
  return whichTypedArray2(value) === "Uint32Array";
5707
5707
  }
5708
- exports2.isUint32Array = isUint32Array;
5708
+ exports$1.isUint32Array = isUint32Array;
5709
5709
  function isInt8Array(value) {
5710
5710
  return whichTypedArray2(value) === "Int8Array";
5711
5711
  }
5712
- exports2.isInt8Array = isInt8Array;
5712
+ exports$1.isInt8Array = isInt8Array;
5713
5713
  function isInt16Array(value) {
5714
5714
  return whichTypedArray2(value) === "Int16Array";
5715
5715
  }
5716
- exports2.isInt16Array = isInt16Array;
5716
+ exports$1.isInt16Array = isInt16Array;
5717
5717
  function isInt32Array(value) {
5718
5718
  return whichTypedArray2(value) === "Int32Array";
5719
5719
  }
5720
- exports2.isInt32Array = isInt32Array;
5720
+ exports$1.isInt32Array = isInt32Array;
5721
5721
  function isFloat32Array(value) {
5722
5722
  return whichTypedArray2(value) === "Float32Array";
5723
5723
  }
5724
- exports2.isFloat32Array = isFloat32Array;
5724
+ exports$1.isFloat32Array = isFloat32Array;
5725
5725
  function isFloat64Array(value) {
5726
5726
  return whichTypedArray2(value) === "Float64Array";
5727
5727
  }
5728
- exports2.isFloat64Array = isFloat64Array;
5728
+ exports$1.isFloat64Array = isFloat64Array;
5729
5729
  function isBigInt64Array(value) {
5730
5730
  return whichTypedArray2(value) === "BigInt64Array";
5731
5731
  }
5732
- exports2.isBigInt64Array = isBigInt64Array;
5732
+ exports$1.isBigInt64Array = isBigInt64Array;
5733
5733
  function isBigUint64Array(value) {
5734
5734
  return whichTypedArray2(value) === "BigUint64Array";
5735
5735
  }
5736
- exports2.isBigUint64Array = isBigUint64Array;
5736
+ exports$1.isBigUint64Array = isBigUint64Array;
5737
5737
  function isMapToString(value) {
5738
5738
  return ObjectToString(value) === "[object Map]";
5739
5739
  }
@@ -5744,7 +5744,7 @@ function requireTypes() {
5744
5744
  }
5745
5745
  return isMapToString.working ? isMapToString(value) : value instanceof Map;
5746
5746
  }
5747
- exports2.isMap = isMap;
5747
+ exports$1.isMap = isMap;
5748
5748
  function isSetToString(value) {
5749
5749
  return ObjectToString(value) === "[object Set]";
5750
5750
  }
@@ -5755,7 +5755,7 @@ function requireTypes() {
5755
5755
  }
5756
5756
  return isSetToString.working ? isSetToString(value) : value instanceof Set;
5757
5757
  }
5758
- exports2.isSet = isSet;
5758
+ exports$1.isSet = isSet;
5759
5759
  function isWeakMapToString(value) {
5760
5760
  return ObjectToString(value) === "[object WeakMap]";
5761
5761
  }
@@ -5766,7 +5766,7 @@ function requireTypes() {
5766
5766
  }
5767
5767
  return isWeakMapToString.working ? isWeakMapToString(value) : value instanceof WeakMap;
5768
5768
  }
5769
- exports2.isWeakMap = isWeakMap;
5769
+ exports$1.isWeakMap = isWeakMap;
5770
5770
  function isWeakSetToString(value) {
5771
5771
  return ObjectToString(value) === "[object WeakSet]";
5772
5772
  }
@@ -5774,7 +5774,7 @@ function requireTypes() {
5774
5774
  function isWeakSet(value) {
5775
5775
  return isWeakSetToString(value);
5776
5776
  }
5777
- exports2.isWeakSet = isWeakSet;
5777
+ exports$1.isWeakSet = isWeakSet;
5778
5778
  function isArrayBufferToString(value) {
5779
5779
  return ObjectToString(value) === "[object ArrayBuffer]";
5780
5780
  }
@@ -5785,7 +5785,7 @@ function requireTypes() {
5785
5785
  }
5786
5786
  return isArrayBufferToString.working ? isArrayBufferToString(value) : value instanceof ArrayBuffer;
5787
5787
  }
5788
- exports2.isArrayBuffer = isArrayBuffer;
5788
+ exports$1.isArrayBuffer = isArrayBuffer;
5789
5789
  function isDataViewToString(value) {
5790
5790
  return ObjectToString(value) === "[object DataView]";
5791
5791
  }
@@ -5796,7 +5796,7 @@ function requireTypes() {
5796
5796
  }
5797
5797
  return isDataViewToString.working ? isDataViewToString(value) : value instanceof DataView;
5798
5798
  }
5799
- exports2.isDataView = isDataView;
5799
+ exports$1.isDataView = isDataView;
5800
5800
  var SharedArrayBufferCopy = typeof SharedArrayBuffer !== "undefined" ? SharedArrayBuffer : void 0;
5801
5801
  function isSharedArrayBufferToString(value) {
5802
5802
  return ObjectToString(value) === "[object SharedArrayBuffer]";
@@ -5810,57 +5810,57 @@ function requireTypes() {
5810
5810
  }
5811
5811
  return isSharedArrayBufferToString.working ? isSharedArrayBufferToString(value) : value instanceof SharedArrayBufferCopy;
5812
5812
  }
5813
- exports2.isSharedArrayBuffer = isSharedArrayBuffer;
5813
+ exports$1.isSharedArrayBuffer = isSharedArrayBuffer;
5814
5814
  function isAsyncFunction(value) {
5815
5815
  return ObjectToString(value) === "[object AsyncFunction]";
5816
5816
  }
5817
- exports2.isAsyncFunction = isAsyncFunction;
5817
+ exports$1.isAsyncFunction = isAsyncFunction;
5818
5818
  function isMapIterator(value) {
5819
5819
  return ObjectToString(value) === "[object Map Iterator]";
5820
5820
  }
5821
- exports2.isMapIterator = isMapIterator;
5821
+ exports$1.isMapIterator = isMapIterator;
5822
5822
  function isSetIterator(value) {
5823
5823
  return ObjectToString(value) === "[object Set Iterator]";
5824
5824
  }
5825
- exports2.isSetIterator = isSetIterator;
5825
+ exports$1.isSetIterator = isSetIterator;
5826
5826
  function isGeneratorObject(value) {
5827
5827
  return ObjectToString(value) === "[object Generator]";
5828
5828
  }
5829
- exports2.isGeneratorObject = isGeneratorObject;
5829
+ exports$1.isGeneratorObject = isGeneratorObject;
5830
5830
  function isWebAssemblyCompiledModule(value) {
5831
5831
  return ObjectToString(value) === "[object WebAssembly.Module]";
5832
5832
  }
5833
- exports2.isWebAssemblyCompiledModule = isWebAssemblyCompiledModule;
5833
+ exports$1.isWebAssemblyCompiledModule = isWebAssemblyCompiledModule;
5834
5834
  function isNumberObject(value) {
5835
5835
  return checkBoxedPrimitive(value, numberValue);
5836
5836
  }
5837
- exports2.isNumberObject = isNumberObject;
5837
+ exports$1.isNumberObject = isNumberObject;
5838
5838
  function isStringObject(value) {
5839
5839
  return checkBoxedPrimitive(value, stringValue);
5840
5840
  }
5841
- exports2.isStringObject = isStringObject;
5841
+ exports$1.isStringObject = isStringObject;
5842
5842
  function isBooleanObject(value) {
5843
5843
  return checkBoxedPrimitive(value, booleanValue);
5844
5844
  }
5845
- exports2.isBooleanObject = isBooleanObject;
5845
+ exports$1.isBooleanObject = isBooleanObject;
5846
5846
  function isBigIntObject(value) {
5847
5847
  return BigIntSupported && checkBoxedPrimitive(value, bigIntValue);
5848
5848
  }
5849
- exports2.isBigIntObject = isBigIntObject;
5849
+ exports$1.isBigIntObject = isBigIntObject;
5850
5850
  function isSymbolObject(value) {
5851
5851
  return SymbolSupported && checkBoxedPrimitive(value, symbolValue);
5852
5852
  }
5853
- exports2.isSymbolObject = isSymbolObject;
5853
+ exports$1.isSymbolObject = isSymbolObject;
5854
5854
  function isBoxedPrimitive(value) {
5855
5855
  return isNumberObject(value) || isStringObject(value) || isBooleanObject(value) || isBigIntObject(value) || isSymbolObject(value);
5856
5856
  }
5857
- exports2.isBoxedPrimitive = isBoxedPrimitive;
5857
+ exports$1.isBoxedPrimitive = isBoxedPrimitive;
5858
5858
  function isAnyArrayBuffer(value) {
5859
5859
  return typeof Uint8Array !== "undefined" && (isArrayBuffer(value) || isSharedArrayBuffer(value));
5860
5860
  }
5861
- exports2.isAnyArrayBuffer = isAnyArrayBuffer;
5861
+ exports$1.isAnyArrayBuffer = isAnyArrayBuffer;
5862
5862
  ["isProxy", "isExternal", "isModuleNamespaceObject"].forEach(function(method) {
5863
- Object.defineProperty(exports2, method, {
5863
+ Object.defineProperty(exports$1, method, {
5864
5864
  enumerable: false,
5865
5865
  value: function() {
5866
5866
  throw new Error(method + " is not supported in userland");
@@ -5884,7 +5884,7 @@ var hasRequiredUtil;
5884
5884
  function requireUtil() {
5885
5885
  if (hasRequiredUtil) return util;
5886
5886
  hasRequiredUtil = 1;
5887
- (function(exports2) {
5887
+ (function(exports$1) {
5888
5888
  var getOwnPropertyDescriptors = Object.getOwnPropertyDescriptors || function getOwnPropertyDescriptors2(obj) {
5889
5889
  var keys2 = Object.keys(obj);
5890
5890
  var descriptors = {};
@@ -5894,7 +5894,7 @@ function requireUtil() {
5894
5894
  return descriptors;
5895
5895
  };
5896
5896
  var formatRegExp = /%[sdj%]/g;
5897
- exports2.format = function(f2) {
5897
+ exports$1.format = function(f2) {
5898
5898
  if (!isString(f2)) {
5899
5899
  var objects = [];
5900
5900
  for (var i = 0; i < arguments.length; i++) {
@@ -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,25 +5920,25 @@ 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;
5934
5934
  };
5935
- exports2.deprecate = function(fn2, msg2) {
5935
+ exports$1.deprecate = function(fn2, msg2) {
5936
5936
  if (typeof process$1$1 !== "undefined" && process$1$1.noDeprecation === true) {
5937
5937
  return fn2;
5938
5938
  }
5939
5939
  if (typeof process$1$1 === "undefined") {
5940
5940
  return function() {
5941
- return exports2.deprecate(fn2, msg2).apply(this, arguments);
5941
+ return exports$1.deprecate(fn2, msg2).apply(this, arguments);
5942
5942
  };
5943
5943
  }
5944
5944
  var warned = false;
@@ -5964,13 +5964,13 @@ function requireUtil() {
5964
5964
  debugEnv = debugEnv.replace(/[|\\{}()[\]^$+?.]/g, "\\$&").replace(/\*/g, ".*").replace(/,/g, "$|^").toUpperCase();
5965
5965
  debugEnvRegex = new RegExp("^" + debugEnv + "$", "i");
5966
5966
  }
5967
- exports2.debuglog = function(set) {
5967
+ exports$1.debuglog = function(set) {
5968
5968
  set = set.toUpperCase();
5969
5969
  if (!debugs[set]) {
5970
5970
  if (debugEnvRegex.test(set)) {
5971
5971
  var pid = process$1$1.pid;
5972
5972
  debugs[set] = function() {
5973
- var msg2 = exports2.format.apply(exports2, arguments);
5973
+ var msg2 = exports$1.format.apply(exports$1, arguments);
5974
5974
  console.error("%s %d: %s", set, pid, msg2);
5975
5975
  };
5976
5976
  } else {
@@ -5990,7 +5990,7 @@ function requireUtil() {
5990
5990
  if (isBoolean(opts)) {
5991
5991
  ctx2.showHidden = opts;
5992
5992
  } else if (opts) {
5993
- exports2._extend(ctx2, opts);
5993
+ exports$1._extend(ctx2, opts);
5994
5994
  }
5995
5995
  if (isUndefined(ctx2.showHidden)) ctx2.showHidden = false;
5996
5996
  if (isUndefined(ctx2.depth)) ctx2.depth = 2;
@@ -5999,7 +5999,7 @@ function requireUtil() {
5999
5999
  if (ctx2.colors) ctx2.stylize = stylizeWithColor;
6000
6000
  return formatValue(ctx2, obj, ctx2.depth);
6001
6001
  }
6002
- exports2.inspect = inspect;
6002
+ exports$1.inspect = inspect;
6003
6003
  inspect.colors = {
6004
6004
  "bold": [1, 22],
6005
6005
  "italic": [3, 23],
@@ -6046,7 +6046,7 @@ function requireUtil() {
6046
6046
  }
6047
6047
  function formatValue(ctx2, value, recurseTimes) {
6048
6048
  if (ctx2.customInspect && value && isFunction2(value.inspect) && // Filter out the util module, it's inspect function is special
6049
- value.inspect !== exports2.inspect && // Also filter out any prototype objects using the circular check.
6049
+ value.inspect !== exports$1.inspect && // Also filter out any prototype objects using the circular check.
6050
6050
  !(value.constructor && value.constructor.prototype === value)) {
6051
6051
  var ret = value.inspect(recurseTimes, ctx2);
6052
6052
  if (!isString(ret)) {
@@ -6232,68 +6232,68 @@ function requireUtil() {
6232
6232
  }
6233
6233
  return braces[0] + base2 + " " + output.join(", ") + " " + braces[1];
6234
6234
  }
6235
- exports2.types = requireTypes();
6235
+ exports$1.types = requireTypes();
6236
6236
  function isArray2(ar) {
6237
6237
  return Array.isArray(ar);
6238
6238
  }
6239
- exports2.isArray = isArray2;
6239
+ exports$1.isArray = isArray2;
6240
6240
  function isBoolean(arg) {
6241
6241
  return typeof arg === "boolean";
6242
6242
  }
6243
- exports2.isBoolean = isBoolean;
6243
+ exports$1.isBoolean = isBoolean;
6244
6244
  function isNull(arg) {
6245
6245
  return arg === null;
6246
6246
  }
6247
- exports2.isNull = isNull;
6247
+ exports$1.isNull = isNull;
6248
6248
  function isNullOrUndefined(arg) {
6249
6249
  return arg == null;
6250
6250
  }
6251
- exports2.isNullOrUndefined = isNullOrUndefined;
6251
+ exports$1.isNullOrUndefined = isNullOrUndefined;
6252
6252
  function isNumber(arg) {
6253
6253
  return typeof arg === "number";
6254
6254
  }
6255
- exports2.isNumber = isNumber;
6255
+ exports$1.isNumber = isNumber;
6256
6256
  function isString(arg) {
6257
6257
  return typeof arg === "string";
6258
6258
  }
6259
- exports2.isString = isString;
6259
+ exports$1.isString = isString;
6260
6260
  function isSymbol2(arg) {
6261
6261
  return typeof arg === "symbol";
6262
6262
  }
6263
- exports2.isSymbol = isSymbol2;
6263
+ exports$1.isSymbol = isSymbol2;
6264
6264
  function isUndefined(arg) {
6265
6265
  return arg === void 0;
6266
6266
  }
6267
- exports2.isUndefined = isUndefined;
6267
+ exports$1.isUndefined = isUndefined;
6268
6268
  function isRegExp2(re2) {
6269
6269
  return isObject2(re2) && objectToString2(re2) === "[object RegExp]";
6270
6270
  }
6271
- exports2.isRegExp = isRegExp2;
6272
- exports2.types.isRegExp = isRegExp2;
6271
+ exports$1.isRegExp = isRegExp2;
6272
+ exports$1.types.isRegExp = isRegExp2;
6273
6273
  function isObject2(arg) {
6274
6274
  return typeof arg === "object" && arg !== null;
6275
6275
  }
6276
- exports2.isObject = isObject2;
6276
+ exports$1.isObject = isObject2;
6277
6277
  function isDate(d2) {
6278
6278
  return isObject2(d2) && objectToString2(d2) === "[object Date]";
6279
6279
  }
6280
- exports2.isDate = isDate;
6281
- exports2.types.isDate = isDate;
6280
+ exports$1.isDate = isDate;
6281
+ exports$1.types.isDate = isDate;
6282
6282
  function isError(e) {
6283
6283
  return isObject2(e) && (objectToString2(e) === "[object Error]" || e instanceof Error);
6284
6284
  }
6285
- exports2.isError = isError;
6286
- exports2.types.isNativeError = isError;
6285
+ exports$1.isError = isError;
6286
+ exports$1.types.isNativeError = isError;
6287
6287
  function isFunction2(arg) {
6288
6288
  return typeof arg === "function";
6289
6289
  }
6290
- exports2.isFunction = isFunction2;
6290
+ exports$1.isFunction = isFunction2;
6291
6291
  function isPrimitive(arg) {
6292
6292
  return arg === null || typeof arg === "boolean" || typeof arg === "number" || typeof arg === "string" || typeof arg === "symbol" || // ES6 symbol
6293
6293
  typeof arg === "undefined";
6294
6294
  }
6295
- exports2.isPrimitive = isPrimitive;
6296
- exports2.isBuffer = requireIsBufferBrowser();
6295
+ exports$1.isPrimitive = isPrimitive;
6296
+ exports$1.isBuffer = requireIsBufferBrowser();
6297
6297
  function objectToString2(o) {
6298
6298
  return Object.prototype.toString.call(o);
6299
6299
  }
@@ -6323,11 +6323,11 @@ function requireUtil() {
6323
6323
  ].join(":");
6324
6324
  return [d2.getDate(), months[d2.getMonth()], time2].join(" ");
6325
6325
  }
6326
- exports2.log = function() {
6327
- console.log("%s - %s", timestamp(), exports2.format.apply(exports2, arguments));
6326
+ exports$1.log = function() {
6327
+ console.log("%s - %s", timestamp(), exports$1.format.apply(exports$1, arguments));
6328
6328
  };
6329
- exports2.inherits = requireInherits_browser();
6330
- exports2._extend = function(origin, add) {
6329
+ exports$1.inherits = requireInherits_browser();
6330
+ exports$1._extend = function(origin, add) {
6331
6331
  if (!add || !isObject2(add)) return origin;
6332
6332
  var keys2 = Object.keys(add);
6333
6333
  var i = keys2.length;
@@ -6340,7 +6340,7 @@ function requireUtil() {
6340
6340
  return Object.prototype.hasOwnProperty.call(obj, prop);
6341
6341
  }
6342
6342
  var kCustomPromisifiedSymbol = typeof Symbol !== "undefined" ? Symbol("util.promisify.custom") : void 0;
6343
- exports2.promisify = function promisify(original) {
6343
+ exports$1.promisify = function promisify(original) {
6344
6344
  if (typeof original !== "function")
6345
6345
  throw new TypeError('The "original" argument must be of type Function');
6346
6346
  if (kCustomPromisifiedSymbol && original[kCustomPromisifiedSymbol]) {
@@ -6392,7 +6392,7 @@ function requireUtil() {
6392
6392
  getOwnPropertyDescriptors(original)
6393
6393
  );
6394
6394
  };
6395
- exports2.promisify.custom = kCustomPromisifiedSymbol;
6395
+ exports$1.promisify.custom = kCustomPromisifiedSymbol;
6396
6396
  function callbackifyOnRejected(reason, cb) {
6397
6397
  if (!reason) {
6398
6398
  var newReason = new Error("Promise was rejected with a falsy value");
@@ -6434,7 +6434,7 @@ function requireUtil() {
6434
6434
  );
6435
6435
  return callbackified;
6436
6436
  }
6437
- exports2.callbackify = callbackify;
6437
+ exports$1.callbackify = callbackify;
6438
6438
  })(util);
6439
6439
  return util;
6440
6440
  }
@@ -7492,11 +7492,12 @@ 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;
7498
7499
  hasRequiredSafeBuffer = 1;
7499
- (function(module2, exports2) {
7500
+ (function(module2, exports$1) {
7500
7501
  var buffer2 = requireDist();
7501
7502
  var Buffer3 = buffer2.Buffer;
7502
7503
  function copyProps(src, dst) {
@@ -7507,12 +7508,13 @@ function requireSafeBuffer() {
7507
7508
  if (Buffer3.from && Buffer3.alloc && Buffer3.allocUnsafe && Buffer3.allocUnsafeSlow) {
7508
7509
  module2.exports = buffer2;
7509
7510
  } else {
7510
- copyProps(buffer2, exports2);
7511
- exports2.Buffer = SafeBuffer;
7511
+ copyProps(buffer2, exports$1);
7512
+ exports$1.Buffer = SafeBuffer;
7512
7513
  }
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
  }
@@ -9077,7 +9079,7 @@ var hasRequiredSax;
9077
9079
  function requireSax() {
9078
9080
  if (hasRequiredSax) return sax;
9079
9081
  hasRequiredSax = 1;
9080
- (function(exports2) {
9082
+ (function(exports$1) {
9081
9083
  (function(sax2) {
9082
9084
  sax2.parser = function(strict, opt) {
9083
9085
  return new SAXParser(strict, opt);
@@ -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) {
@@ -10555,7 +10557,7 @@ function requireSax() {
10555
10557
  }
10556
10558
  })();
10557
10559
  }
10558
- })(exports2);
10560
+ })(exports$1);
10559
10561
  })(sax);
10560
10562
  return sax;
10561
10563
  }
@@ -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
  };
@@ -17448,13 +17450,17 @@ function canCut(node, start2, end2) {
17448
17450
  function liftTarget(range2) {
17449
17451
  let parent = range2.parent;
17450
17452
  let content = parent.content.cutByIndex(range2.startIndex, range2.endIndex);
17451
- for (let depth = range2.depth; ; --depth) {
17453
+ for (let depth = range2.depth, contentBefore = 0, contentAfter = 0; ; --depth) {
17452
17454
  let node = range2.$from.node(depth);
17453
- let index2 = range2.$from.index(depth), endIndex = range2.$to.indexAfter(depth);
17455
+ let index2 = range2.$from.index(depth) + contentBefore, endIndex = range2.$to.indexAfter(depth) - contentAfter;
17454
17456
  if (depth < range2.depth && node.canReplace(index2, endIndex, content))
17455
17457
  return depth;
17456
17458
  if (depth == 0 || node.type.spec.isolating || !canCut(node, index2, endIndex))
17457
17459
  break;
17460
+ if (index2)
17461
+ contentBefore = 1;
17462
+ if (endIndex < node.childCount)
17463
+ contentAfter = 1;
17458
17464
  }
17459
17465
  return null;
17460
17466
  }
@@ -17997,7 +18003,7 @@ function replaceRange(tr, from2, to, slice2) {
17997
18003
  let $from = tr.doc.resolve(from2), $to = tr.doc.resolve(to);
17998
18004
  if (fitsTrivially($from, $to, slice2))
17999
18005
  return tr.step(new ReplaceStep(from2, to, slice2));
18000
- let targetDepths = coveredDepths($from, tr.doc.resolve(to));
18006
+ let targetDepths = coveredDepths($from, $to);
18001
18007
  if (targetDepths[targetDepths.length - 1] == 0)
18002
18008
  targetDepths.pop();
18003
18009
  let preferredTarget = -($from.depth + 1);
@@ -22889,7 +22895,7 @@ function posToDOMRect(view, from2, to) {
22889
22895
  const right2 = Math.max(start2.right, end2.right);
22890
22896
  const width = right2 - left2;
22891
22897
  const height = bottom2 - top2;
22892
- const x = left2;
22898
+ const x2 = left2;
22893
22899
  const y2 = top2;
22894
22900
  const data = {
22895
22901
  top: top2,
@@ -22898,7 +22904,7 @@ function posToDOMRect(view, from2, to) {
22898
22904
  right: right2,
22899
22905
  width,
22900
22906
  height,
22901
- x,
22907
+ x: x2,
22902
22908
  y: y2
22903
22909
  };
22904
22910
  return {
@@ -22987,25 +22993,31 @@ function createDocFromHTML(content, schema, options = {}) {
22987
22993
  function L() {
22988
22994
  return { async: false, breaks: false, extensions: null, gfm: true, hooks: null, pedantic: false, renderer: null, silent: false, tokenizer: null, walkTokens: null };
22989
22995
  }
22990
- var O = L();
22996
+ var T = L();
22991
22997
  function G(l3) {
22992
- O = l3;
22998
+ T = l3;
22993
22999
  }
22994
23000
  var E = { exec: () => null };
22995
- function h(l3, e = "") {
23001
+ function d$1(l3, e = "") {
22996
23002
  let t = typeof l3 == "string" ? l3 : l3.source, n = { replace: (r2, i) => {
22997
23003
  let s2 = typeof i == "string" ? i : i.source;
22998
23004
  return s2 = s2.replace(m.caret, "$1"), t = t.replace(r2, s2), n;
22999
23005
  }, getRegex: () => new RegExp(t, e) };
23000
23006
  return n;
23001
23007
  }
23002
- 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} *[^
23003
- ]`).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 };
23004
- 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];
23005
23017
  function w(l3, e) {
23006
23018
  if (e) {
23007
- if (m.escapeTest.test(l3)) return l3.replace(m.escapeReplace, ke);
23008
- } 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);
23009
23021
  return l3;
23010
23022
  }
23011
23023
  function J(l3) {
@@ -23017,10 +23029,10 @@ function J(l3) {
23017
23029
  return l3;
23018
23030
  }
23019
23031
  function V(l3, e) {
23020
- let t = l3.replace(m.findPipe, (i, s2, o) => {
23021
- let a = false, u = s2;
23022
- for (; --u >= 0 && o[u] === "\\"; ) a = !a;
23023
- 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 ? "|" : " |";
23024
23036
  }), n = t.split(m.splitPipe), r2 = 0;
23025
23037
  if (n[0].trim() || n.shift(), n.length > 0 && !n.at(-1)?.trim() && n.pop(), e) if (n.length > e) n.splice(e);
23026
23038
  else for (; n.length < e; ) n.push("");
@@ -23038,7 +23050,7 @@ function z(l3, e, t) {
23038
23050
  }
23039
23051
  return l3.slice(0, n - r2);
23040
23052
  }
23041
- function ge(l3, e) {
23053
+ function fe(l3, e) {
23042
23054
  if (l3.indexOf(e[1]) === -1) return -1;
23043
23055
  let t = 0;
23044
23056
  for (let n = 0; n < l3.length; n++) if (l3[n] === "\\") n++;
@@ -23046,13 +23058,13 @@ function ge(l3, e) {
23046
23058
  else if (l3[n] === e[1] && (t--, t < 0)) return n;
23047
23059
  return t > 0 ? -2 : -1;
23048
23060
  }
23049
- function fe(l3, e, t, n, r2) {
23050
- 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");
23051
23063
  n.state.inLink = true;
23052
- let a = { type: l3[0].charAt(0) === "!" ? "image" : "link", raw: t, href: i, title: s2, text: o, tokens: n.inlineTokens(o) };
23053
- 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;
23054
23066
  }
23055
- function Je(l3, e, t) {
23067
+ function Ye(l3, e, t) {
23056
23068
  let n = l3.match(t.other.indentCodeCompensation);
23057
23069
  if (n === null) return e;
23058
23070
  let r2 = n[1];
@@ -23060,8 +23072,8 @@ function Je(l3, e, t) {
23060
23072
  `).map((i) => {
23061
23073
  let s2 = i.match(t.other.beginningSpace);
23062
23074
  if (s2 === null) return i;
23063
- let [o] = s2;
23064
- 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;
23065
23077
  }).join(`
23066
23078
  `);
23067
23079
  }
@@ -23070,7 +23082,7 @@ var y = class {
23070
23082
  __publicField$2(this, "options");
23071
23083
  __publicField$2(this, "rules");
23072
23084
  __publicField$2(this, "lexer");
23073
- this.options = e || O;
23085
+ this.options = e || T;
23074
23086
  }
23075
23087
  space(e) {
23076
23088
  let t = this.rules.block.newline.exec(e);
@@ -23087,7 +23099,7 @@ var y = class {
23087
23099
  fences(e) {
23088
23100
  let t = this.rules.block.fences.exec(e);
23089
23101
  if (t) {
23090
- let n = t[0], r2 = Je(n, t[3] || "", this.rules);
23102
+ let n = t[0], r2 = Ye(n, t[3] || "", this.rules);
23091
23103
  return { type: "code", raw: n, lang: t[2] ? t[2].trim().replace(this.rules.inline.anyPunctuation, "$1") : t[2], text: r2 };
23092
23104
  }
23093
23105
  }
@@ -23114,32 +23126,32 @@ var y = class {
23114
23126
  `).split(`
23115
23127
  `), r2 = "", i = "", s2 = [];
23116
23128
  for (; n.length > 0; ) {
23117
- let o = false, a = [], u;
23118
- for (u = 0; u < n.length; u++) if (this.rules.other.blockquoteStart.test(n[u])) a.push(n[u]), o = true;
23119
- 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]);
23120
23132
  else break;
23121
- n = n.slice(u);
23122
- let p = a.join(`
23123
- `), 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, `
23124
23136
  $1`).replace(this.rules.other.blockquoteSetextReplace2, "");
23125
23137
  r2 = r2 ? `${r2}
23126
- ${p}` : p, i = i ? `${i}
23138
+ ${u}` : u, i = i ? `${i}
23127
23139
  ${c2}` : c2;
23128
- let f2 = this.lexer.state.top;
23129
- if (this.lexer.state.top = true, this.lexer.blockTokens(c2, s2, true), this.lexer.state.top = f2, n.length === 0) break;
23130
- let k2 = s2.at(-1);
23131
- if (k2?.type === "code") break;
23132
- if (k2?.type === "blockquote") {
23133
- 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 + `
23134
23146
  ` + n.join(`
23135
- `), T = this.blockquote(g);
23136
- 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;
23137
23149
  break;
23138
- } else if (k2?.type === "list") {
23139
- let x = k2, g = x.raw + `
23150
+ } else if (h2?.type === "list") {
23151
+ let R = h2, f2 = R.raw + `
23140
23152
  ` + n.join(`
23141
- `), T = this.list(g);
23142
- 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(`
23143
23155
  `);
23144
23156
  continue;
23145
23157
  }
@@ -23152,45 +23164,45 @@ ${c2}` : c2;
23152
23164
  if (t) {
23153
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: [] };
23154
23166
  n = r2 ? `\\d{1,9}\\${n.slice(-1)}` : `\\${n}`, this.options.pedantic && (n = r2 ? n : "[*+-]");
23155
- let s2 = this.rules.other.listItemRegex(n), o = false;
23167
+ let s2 = this.rules.other.listItemRegex(n), a = false;
23156
23168
  for (; e; ) {
23157
- let u = false, p = "", c2 = "";
23169
+ let p = false, u = "", c2 = "";
23158
23170
  if (!(t = s2.exec(e)) || this.rules.block.hr.test(e)) break;
23159
- p = t[0], e = e.substring(p.length);
23160
- let f2 = t[2].split(`
23161
- `, 1)[0].replace(this.rules.other.listReplaceTabs, (H) => " ".repeat(3 * H.length)), k2 = e.split(`
23162
- `, 1)[0], x = !f2.trim(), g = 0;
23163
- 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 + `
23164
- `, e = e.substring(k2.length + 1), u = true), !u) {
23165
- 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);
23166
23178
  for (; e; ) {
23167
23179
  let Z = e.split(`
23168
23180
  `, 1)[0], A2;
23169
- 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;
23170
- if (A2.search(this.rules.other.nonSpaceChar) >= g || !k2.trim()) c2 += `
23171
- ` + 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);
23172
23184
  else {
23173
- 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;
23174
23186
  c2 += `
23175
- ` + k2;
23187
+ ` + h2;
23176
23188
  }
23177
- !x && !k2.trim() && (x = true), p += Z + `
23178
- `, 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);
23179
23191
  }
23180
23192
  }
23181
- i.loose || (o ? i.loose = true : this.rules.other.doubleBlankLine.test(p) && (o = true));
23182
- let T = null, Y2;
23183
- 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;
23184
23196
  }
23185
- let a = i.items.at(-1);
23186
- 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();
23187
23199
  else return;
23188
23200
  i.raw = i.raw.trimEnd();
23189
- 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) {
23190
- 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));
23191
23203
  i.loose = c2;
23192
23204
  }
23193
- 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;
23194
23206
  return i;
23195
23207
  }
23196
23208
  }
@@ -23211,9 +23223,9 @@ ${c2}` : c2;
23211
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(`
23212
23224
  `) : [], s2 = { type: "table", raw: t[0], header: [], align: [], rows: [] };
23213
23225
  if (n.length === r2.length) {
23214
- 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);
23215
- 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] });
23216
- 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] })));
23217
23229
  return s2;
23218
23230
  }
23219
23231
  }
@@ -23250,11 +23262,11 @@ ${c2}` : c2;
23250
23262
  let s2 = z(n.slice(0, -1), "\\");
23251
23263
  if ((n.length - s2.length) % 2 === 0) return;
23252
23264
  } else {
23253
- let s2 = ge(t[2], "()");
23265
+ let s2 = fe(t[2], "()");
23254
23266
  if (s2 === -2) return;
23255
23267
  if (s2 > -1) {
23256
- let a = (t[0].indexOf("!") === 0 ? 5 : 4) + t[1].length + s2;
23257
- 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] = "";
23258
23270
  }
23259
23271
  }
23260
23272
  let r2 = t[2], i = "";
@@ -23262,7 +23274,7 @@ ${c2}` : c2;
23262
23274
  let s2 = this.rules.other.pedanticHrefTitle.exec(r2);
23263
23275
  s2 && (r2 = s2[1], i = s2[3]);
23264
23276
  } else i = t[3] ? t[3].slice(1, -1) : "";
23265
- 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);
23266
23278
  }
23267
23279
  }
23268
23280
  reflink(e, t) {
@@ -23273,32 +23285,32 @@ ${c2}` : c2;
23273
23285
  let s2 = n[0].charAt(0);
23274
23286
  return { type: "text", raw: s2, text: s2 };
23275
23287
  }
23276
- return fe(n, i, n[0], this.lexer, this.rules);
23288
+ return me(n, i, n[0], this.lexer, this.rules);
23277
23289
  }
23278
23290
  }
23279
23291
  emStrong(e, t, n = "") {
23280
23292
  let r2 = this.rules.inline.emStrongLDelim.exec(e);
23281
23293
  if (!r2 || r2[3] && n.match(this.rules.other.unicodeAlphaNumeric)) return;
23282
23294
  if (!(r2[1] || r2[2] || "") || !n || this.rules.inline.punctuation.exec(n)) {
23283
- 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;
23284
23296
  for (c2.lastIndex = 0, t = t.slice(-1 * e.length + s2); (r2 = c2.exec(t)) != null; ) {
23285
- if (o = r2[1] || r2[2] || r2[3] || r2[4] || r2[5] || r2[6], !o) continue;
23286
- if (a = [...o].length, r2[3] || r2[4]) {
23287
- 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;
23288
23300
  continue;
23289
- } else if ((r2[5] || r2[6]) && s2 % 3 && !((s2 + a) % 3)) {
23290
- p += a;
23301
+ } else if ((r2[5] || r2[6]) && s2 % 3 && !((s2 + o) % 3)) {
23302
+ u += o;
23291
23303
  continue;
23292
23304
  }
23293
- if (u -= a, u > 0) continue;
23294
- a = Math.min(a, a + u + p);
23295
- let f2 = [...r2[0]][0].length, k2 = e.slice(0, s2 + r2.index + f2 + a);
23296
- if (Math.min(s2, a) % 2) {
23297
- let g = k2.slice(1, -1);
23298
- 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) };
23299
23311
  }
23300
- let x = k2.slice(2, -2);
23301
- 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) };
23302
23314
  }
23303
23315
  }
23304
23316
  }
@@ -23347,19 +23359,19 @@ ${c2}` : c2;
23347
23359
  }
23348
23360
  }
23349
23361
  };
23350
- var b = class l {
23362
+ var x = class l {
23351
23363
  constructor(e) {
23352
23364
  __publicField$2(this, "tokens");
23353
23365
  __publicField$2(this, "options");
23354
23366
  __publicField$2(this, "state");
23355
23367
  __publicField$2(this, "tokenizer");
23356
23368
  __publicField$2(this, "inlineQueue");
23357
- 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 };
23358
- let t = { other: m, block: I.normal, inline: M$1.normal };
23359
- 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;
23360
23372
  }
23361
23373
  static get rules() {
23362
- return { block: I, inline: M$1 };
23374
+ return { block: C, inline: M$1 };
23363
23375
  }
23364
23376
  static lex(e, t) {
23365
23377
  return new l(t).lex(e);
@@ -23439,9 +23451,9 @@ var b = class l {
23439
23451
  }
23440
23452
  let i = e;
23441
23453
  if (this.options.extensions?.startBlock) {
23442
- let s2 = 1 / 0, o = e.slice(1), a;
23443
- this.options.extensions.startBlock.forEach((u) => {
23444
- 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));
23445
23457
  }), s2 < 1 / 0 && s2 >= 0 && (i = e.substring(0, s2 + 1));
23446
23458
  }
23447
23459
  if (this.state.top && (r2 = this.tokenizer.paragraph(i))) {
@@ -23481,11 +23493,12 @@ var b = class l {
23481
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));
23482
23494
  }
23483
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);
23484
- 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);
23485
23498
  n = this.options.hooks?.emStrongMask?.call({ lexer: this }, n) ?? n;
23486
- let i = false, s2 = "";
23499
+ let s2 = false, a = "";
23487
23500
  for (; e; ) {
23488
- i || (s2 = ""), i = false;
23501
+ s2 || (a = ""), s2 = false;
23489
23502
  let o;
23490
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;
23491
23504
  if (o = this.tokenizer.escape(e)) {
@@ -23506,7 +23519,7 @@ var b = class l {
23506
23519
  o.type === "text" && u?.type === "text" ? (u.raw += o.raw, u.text += o.text) : t.push(o);
23507
23520
  continue;
23508
23521
  }
23509
- if (o = this.tokenizer.emStrong(e, n, s2)) {
23522
+ if (o = this.tokenizer.emStrong(e, n, a)) {
23510
23523
  e = e.substring(o.raw.length), t.push(o);
23511
23524
  continue;
23512
23525
  }
@@ -23530,15 +23543,15 @@ var b = class l {
23530
23543
  e = e.substring(o.raw.length), t.push(o);
23531
23544
  continue;
23532
23545
  }
23533
- let a = e;
23546
+ let p = e;
23534
23547
  if (this.options.extensions?.startInline) {
23535
- let u = 1 / 0, p = e.slice(1), c2;
23536
- this.options.extensions.startInline.forEach((f2) => {
23537
- c2 = f2.call({ lexer: this }, p), typeof c2 == "number" && c2 >= 0 && (u = Math.min(u, c2));
23538
- }), 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));
23539
23552
  }
23540
- if (o = this.tokenizer.inlineText(a)) {
23541
- 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;
23542
23555
  let u = t.at(-1);
23543
23556
  u?.type === "text" ? (u.raw += o.raw, u.text += o.text) : t.push(o);
23544
23557
  continue;
@@ -23558,7 +23571,7 @@ var P = class {
23558
23571
  constructor(e) {
23559
23572
  __publicField$2(this, "options");
23560
23573
  __publicField$2(this, "parser");
23561
- this.options = e || O;
23574
+ this.options = e || T;
23562
23575
  }
23563
23576
  space(e) {
23564
23577
  return "";
@@ -23591,9 +23604,9 @@ ${this.parser.parse(e)}</blockquote>
23591
23604
  }
23592
23605
  list(e) {
23593
23606
  let t = e.ordered, n = e.start, r2 = "";
23594
- for (let o = 0; o < e.items.length; o++) {
23595
- let a = e.items[o];
23596
- 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);
23597
23610
  }
23598
23611
  let i = t ? "ol" : "ul", s2 = t && n !== 1 ? ' start="' + n + '"' : "";
23599
23612
  return "<" + i + s2 + `>
@@ -23624,7 +23637,7 @@ ${this.parser.parse(e)}</blockquote>
23624
23637
  for (let i = 0; i < e.rows.length; i++) {
23625
23638
  let s2 = e.rows[i];
23626
23639
  n = "";
23627
- 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]);
23628
23641
  r2 += this.tablerow({ text: n });
23629
23642
  }
23630
23643
  return r2 && (r2 = `<tbody>${r2}</tbody>`), `<table>
@@ -23706,12 +23719,12 @@ var $ = class {
23706
23719
  return "";
23707
23720
  }
23708
23721
  };
23709
- var R = class l2 {
23722
+ var b = class l2 {
23710
23723
  constructor(e) {
23711
23724
  __publicField$2(this, "options");
23712
23725
  __publicField$2(this, "renderer");
23713
23726
  __publicField$2(this, "textRenderer");
23714
- 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 $();
23715
23728
  }
23716
23729
  static parse(e, t) {
23717
23730
  return new l2(t).parse(e);
@@ -23724,9 +23737,9 @@ var R = class l2 {
23724
23737
  for (let r2 = 0; r2 < e.length; r2++) {
23725
23738
  let i = e[r2];
23726
23739
  if (this.options.extensions?.renderers?.[i.type]) {
23727
- let o = i, a = this.options.extensions.renderers[o.type].call({ parser: this }, o);
23728
- if (a !== false || !["space", "hr", "heading", "code", "table", "blockquote", "list", "html", "def", "paragraph", "text"].includes(o.type)) {
23729
- 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 || "";
23730
23743
  continue;
23731
23744
  }
23732
23745
  }
@@ -23773,16 +23786,16 @@ var R = class l2 {
23773
23786
  continue;
23774
23787
  }
23775
23788
  case "text": {
23776
- let o = s2, a = this.renderer.text(o);
23777
- for (; r2 + 1 < e.length && e[r2 + 1].type === "text"; ) o = e[++r2], a += `
23778
- ` + this.renderer.text(o);
23779
- 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;
23780
23793
  continue;
23781
23794
  }
23782
23795
  default: {
23783
- let o = 'Token with "' + s2.type + '" type was not found.';
23784
- if (this.options.silent) return console.error(o), "";
23785
- 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);
23786
23799
  }
23787
23800
  }
23788
23801
  }
@@ -23793,9 +23806,9 @@ var R = class l2 {
23793
23806
  for (let r2 = 0; r2 < e.length; r2++) {
23794
23807
  let i = e[r2];
23795
23808
  if (this.options.extensions?.renderers?.[i.type]) {
23796
- let o = this.options.extensions.renderers[i.type].call({ parser: this }, i);
23797
- if (o !== false || !["escape", "html", "link", "image", "strong", "em", "codespan", "br", "del", "text"].includes(i.type)) {
23798
- 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 || "";
23799
23812
  continue;
23800
23813
  }
23801
23814
  }
@@ -23842,9 +23855,9 @@ var R = class l2 {
23842
23855
  break;
23843
23856
  }
23844
23857
  default: {
23845
- let o = 'Token with "' + s2.type + '" type was not found.';
23846
- if (this.options.silent) return console.error(o), "";
23847
- 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);
23848
23861
  }
23849
23862
  }
23850
23863
  }
@@ -23855,7 +23868,7 @@ var S = (_a = class {
23855
23868
  constructor(e) {
23856
23869
  __publicField$2(this, "options");
23857
23870
  __publicField$2(this, "block");
23858
- this.options = e || O;
23871
+ this.options = e || T;
23859
23872
  }
23860
23873
  preprocess(e) {
23861
23874
  return e;
@@ -23870,10 +23883,10 @@ var S = (_a = class {
23870
23883
  return e;
23871
23884
  }
23872
23885
  provideLexer() {
23873
- return this.block ? b.lex : b.lexInline;
23886
+ return this.block ? x.lex : x.lexInline;
23874
23887
  }
23875
23888
  provideParser() {
23876
- return this.block ? R.parse : R.parseInline;
23889
+ return this.block ? b.parse : b.parseInline;
23877
23890
  }
23878
23891
  }, __publicField$2(_a, "passThroughHooks", /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens", "emStrongMask"])), __publicField$2(_a, "passThroughHooksRespectAsync", /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens"])), _a);
23879
23892
  var B = class {
@@ -23882,10 +23895,10 @@ var B = class {
23882
23895
  __publicField$2(this, "options", this.setOptions);
23883
23896
  __publicField$2(this, "parse", this.parseMarkdown(true));
23884
23897
  __publicField$2(this, "parseInline", this.parseMarkdown(false));
23885
- __publicField$2(this, "Parser", R);
23898
+ __publicField$2(this, "Parser", b);
23886
23899
  __publicField$2(this, "Renderer", P);
23887
23900
  __publicField$2(this, "TextRenderer", $);
23888
- __publicField$2(this, "Lexer", b);
23901
+ __publicField$2(this, "Lexer", x);
23889
23902
  __publicField$2(this, "Tokenizer", y);
23890
23903
  __publicField$2(this, "Hooks", S);
23891
23904
  this.use(...e);
@@ -23896,7 +23909,7 @@ var B = class {
23896
23909
  case "table": {
23897
23910
  let i = r2;
23898
23911
  for (let s2 of i.header) n = n.concat(this.walkTokens(s2.tokens, t));
23899
- 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));
23900
23913
  break;
23901
23914
  }
23902
23915
  case "list": {
@@ -23907,8 +23920,8 @@ var B = class {
23907
23920
  default: {
23908
23921
  let i = r2;
23909
23922
  this.defaults.extensions?.childTokens?.[i.type] ? this.defaults.extensions.childTokens[i.type].forEach((s2) => {
23910
- let o = i[s2].flat(1 / 0);
23911
- n = n.concat(this.walkTokens(o, t));
23923
+ let a = i[s2].flat(1 / 0);
23924
+ n = n.concat(this.walkTokens(a, t));
23912
23925
  }) : i.tokens && (n = n.concat(this.walkTokens(i.tokens, t)));
23913
23926
  }
23914
23927
  }
@@ -23922,9 +23935,9 @@ var B = class {
23922
23935
  if (!i.name) throw new Error("extension name required");
23923
23936
  if ("renderer" in i) {
23924
23937
  let s2 = t.renderers[i.name];
23925
- s2 ? t.renderers[i.name] = function(...o) {
23926
- let a = i.renderer.apply(this, o);
23927
- 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;
23928
23941
  } : t.renderers[i.name] = i.renderer;
23929
23942
  }
23930
23943
  if ("tokenizer" in i) {
@@ -23938,10 +23951,10 @@ var B = class {
23938
23951
  for (let s2 in n.renderer) {
23939
23952
  if (!(s2 in i)) throw new Error(`renderer '${s2}' does not exist`);
23940
23953
  if (["options", "parser"].includes(s2)) continue;
23941
- let o = s2, a = n.renderer[o], u = i[o];
23942
- i[o] = (...p) => {
23943
- let c2 = a.apply(i, p);
23944
- 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 || "";
23945
23958
  };
23946
23959
  }
23947
23960
  r2.renderer = i;
@@ -23951,10 +23964,10 @@ var B = class {
23951
23964
  for (let s2 in n.tokenizer) {
23952
23965
  if (!(s2 in i)) throw new Error(`tokenizer '${s2}' does not exist`);
23953
23966
  if (["options", "rules", "lexer"].includes(s2)) continue;
23954
- let o = s2, a = n.tokenizer[o], u = i[o];
23955
- i[o] = (...p) => {
23956
- let c2 = a.apply(i, p);
23957
- 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;
23958
23971
  };
23959
23972
  }
23960
23973
  r2.tokenizer = i;
@@ -23964,23 +23977,30 @@ var B = class {
23964
23977
  for (let s2 in n.hooks) {
23965
23978
  if (!(s2 in i)) throw new Error(`hook '${s2}' does not exist`);
23966
23979
  if (["options", "block"].includes(s2)) continue;
23967
- let o = s2, a = n.hooks[o], u = i[o];
23968
- S.passThroughHooks.has(s2) ? i[o] = (p) => {
23969
- if (this.defaults.async && S.passThroughHooksRespectAsync.has(s2)) return Promise.resolve(a.call(i, p)).then((f2) => u.call(i, f2));
23970
- let c2 = a.call(i, p);
23971
- return u.call(i, c2);
23972
- } : i[o] = (...p) => {
23973
- let c2 = a.apply(i, p);
23974
- 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;
23975
23995
  };
23976
23996
  }
23977
23997
  r2.hooks = i;
23978
23998
  }
23979
23999
  if (n.walkTokens) {
23980
24000
  let i = this.defaults.walkTokens, s2 = n.walkTokens;
23981
- r2.walkTokens = function(o) {
23982
- let a = [];
23983
- 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;
23984
24004
  };
23985
24005
  }
23986
24006
  this.defaults = { ...this.defaults, ...r2 };
@@ -23990,28 +24010,31 @@ var B = class {
23990
24010
  return this.defaults = { ...this.defaults, ...e }, this;
23991
24011
  }
23992
24012
  lexer(e, t) {
23993
- return b.lex(e, t ?? this.defaults);
24013
+ return x.lex(e, t ?? this.defaults);
23994
24014
  }
23995
24015
  parser(e, t) {
23996
- return R.parse(e, t ?? this.defaults);
24016
+ return b.parse(e, t ?? this.defaults);
23997
24017
  }
23998
24018
  parseMarkdown(e) {
23999
24019
  return (n, r2) => {
24000
- let i = { ...r2 }, s2 = { ...this.defaults, ...i }, o = this.onError(!!s2.silent, !!s2.async);
24001
- 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."));
24002
- if (typeof n > "u" || n === null) return o(new Error("marked(): input parameter is undefined or null"));
24003
- if (typeof n != "string") return o(new Error("marked(): input parameter is of type " + Object.prototype.toString.call(n) + ", string expected"));
24004
- s2.hooks && (s2.hooks.options = s2, s2.hooks.block = e);
24005
- let a = s2.hooks ? s2.hooks.provideLexer() : e ? b.lex : b.lexInline, u = s2.hooks ? s2.hooks.provideParser() : e ? R.parse : R.parseInline;
24006
- 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);
24007
24030
  try {
24008
24031
  s2.hooks && (n = s2.hooks.preprocess(n));
24009
- let p = a(n, s2);
24032
+ let p = (s2.hooks ? s2.hooks.provideLexer() : e ? x.lex : x.lexInline)(n, s2);
24010
24033
  s2.hooks && (p = s2.hooks.processAllTokens(p)), s2.walkTokens && this.walkTokens(p, s2.walkTokens);
24011
- let c2 = u(p, s2);
24034
+ let c2 = (s2.hooks ? s2.hooks.provideParser() : e ? b.parse : b.parseInline)(p, s2);
24012
24035
  return s2.hooks && (c2 = s2.hooks.postprocess(c2)), c2;
24013
- } catch (p) {
24014
- return o(p);
24036
+ } catch (o) {
24037
+ return a(o);
24015
24038
  }
24016
24039
  };
24017
24040
  }
@@ -24028,38 +24051,38 @@ Please report this to https://github.com/markedjs/marked.`, e) {
24028
24051
  }
24029
24052
  };
24030
24053
  var _ = new B();
24031
- function d$1(l3, e) {
24054
+ function k$1(l3, e) {
24032
24055
  return _.parse(l3, e);
24033
24056
  }
24034
- d$1.options = d$1.setOptions = function(l3) {
24035
- 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;
24036
24059
  };
24037
- d$1.getDefaults = L;
24038
- d$1.defaults = O;
24039
- d$1.use = function(...l3) {
24040
- 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;
24041
24064
  };
24042
- d$1.walkTokens = function(l3, e) {
24065
+ k$1.walkTokens = function(l3, e) {
24043
24066
  return _.walkTokens(l3, e);
24044
24067
  };
24045
- d$1.parseInline = _.parseInline;
24046
- d$1.Parser = R;
24047
- d$1.parser = R.parse;
24048
- d$1.Renderer = P;
24049
- d$1.TextRenderer = $;
24050
- d$1.Lexer = b;
24051
- d$1.lexer = b.lex;
24052
- d$1.Tokenizer = y;
24053
- d$1.Hooks = S;
24054
- d$1.parse = d$1;
24055
- d$1.options;
24056
- d$1.setOptions;
24057
- d$1.use;
24058
- d$1.walkTokens;
24059
- d$1.parseInline;
24060
- R.parse;
24061
- b.lex;
24062
- 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({
24063
24086
  breaks: false,
24064
24087
  // Use proper paragraphs, not <br> tags
24065
24088
  gfm: true
@@ -24070,7 +24093,7 @@ function createDocFromMarkdown(markdown, schema, options = {}) {
24070
24093
  return createDocFromHTML(html, schema, options);
24071
24094
  }
24072
24095
  function convertMarkdownToHTML(markdown) {
24073
- let html = d$1.parse(markdown, { async: false });
24096
+ let html = k$1.parse(markdown, { async: false });
24074
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");
24075
24098
  }
24076
24099
  function processContent({ content, type: type2, schema }) {
@@ -30360,9 +30383,9 @@ var hasRequiredHe;
30360
30383
  function requireHe() {
30361
30384
  if (hasRequiredHe) return he$2.exports;
30362
30385
  hasRequiredHe = 1;
30363
- (function(module2, exports2) {
30386
+ (function(module2, exports$1) {
30364
30387
  (function(root2) {
30365
- var freeExports2 = exports2;
30388
+ var freeExports2 = exports$1;
30366
30389
  var freeModule2 = module2 && module2.exports == freeExports2 && module2;
30367
30390
  var freeGlobal2 = typeof commonjsGlobal == "object" && commonjsGlobal;
30368
30391
  if (freeGlobal2.global === freeGlobal2 || freeGlobal2.window === freeGlobal2) {
@@ -35612,7 +35635,7 @@ const _SuperConverter = class _SuperConverter2 {
35612
35635
  static getStoredSuperdocVersion(docx) {
35613
35636
  return _SuperConverter2.getStoredCustomProperty(docx, "SuperdocVersion");
35614
35637
  }
35615
- static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "0.29.0") {
35638
+ static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "0.29.1") {
35616
35639
  return _SuperConverter2.setStoredCustomProperty(docx, "SuperdocVersion", version2, false);
35617
35640
  }
35618
35641
  /**
@@ -36003,7 +36026,7 @@ prepareCommentsXmlFilesForExport_fn = function({ defs, exportType, commentsWithP
36003
36026
  };
36004
36027
  exportProcessHeadersFooters_fn = function({ isFinalDoc = false }) {
36005
36028
  const relsData = this.convertedXml["word/_rels/document.xml.rels"];
36006
- const relationships = relsData.elements.find((x) => x.name === "Relationships");
36029
+ const relationships = relsData.elements.find((x2) => x2.name === "Relationships");
36007
36030
  const newDocRels = [];
36008
36031
  Object.entries(this.headers).forEach(([id, header], index2) => {
36009
36032
  const fileName = relationships.elements.find((el) => el.attributes.Id === id)?.attributes.Target || `header${index2 + 1}.xml`;
@@ -36044,7 +36067,7 @@ exportProcessHeadersFooters_fn = function({ isFinalDoc = false }) {
36044
36067
  }
36045
36068
  this.convertedXml[`word/${fileName}`].elements[0].elements = bodyContent;
36046
36069
  if (params2.relationships.length) {
36047
- const relationships2 = this.convertedXml[`word/_rels/${fileName}.rels`]?.elements?.find((x) => x.name === "Relationships")?.elements || [];
36070
+ const relationships2 = this.convertedXml[`word/_rels/${fileName}.rels`]?.elements?.find((x2) => x2.name === "Relationships")?.elements || [];
36048
36071
  this.convertedXml[`word/_rels/${fileName}.rels`] = {
36049
36072
  declaration: this.initialJSON?.declaration,
36050
36073
  elements: [
@@ -36098,7 +36121,7 @@ exportProcessHeadersFooters_fn = function({ isFinalDoc = false }) {
36098
36121
  }
36099
36122
  this.convertedXml[`word/${fileName}`].elements[0].elements = bodyContent;
36100
36123
  if (params2.relationships.length) {
36101
- const relationships2 = this.convertedXml[`word/_rels/${fileName}.rels`]?.elements?.find((x) => x.name === "Relationships")?.elements || [];
36124
+ const relationships2 = this.convertedXml[`word/_rels/${fileName}.rels`]?.elements?.find((x2) => x2.name === "Relationships")?.elements || [];
36102
36125
  this.convertedXml[`word/_rels/${fileName}.rels`] = {
36103
36126
  declaration: this.initialJSON?.declaration,
36104
36127
  elements: [
@@ -36117,7 +36140,7 @@ exportProcessHeadersFooters_fn = function({ isFinalDoc = false }) {
36117
36140
  };
36118
36141
  exportProcessNewRelationships_fn = function(rels = []) {
36119
36142
  const relsData = this.convertedXml["word/_rels/document.xml.rels"];
36120
- const relationships = relsData.elements.find((x) => x.name === "Relationships");
36143
+ const relationships = relsData.elements.find((x2) => x2.name === "Relationships");
36121
36144
  relationships.elements = mergeRelationshipElements(relationships.elements, rels);
36122
36145
  };
36123
36146
  exportProcessMediaFiles_fn = async function(media = {}) {
@@ -36197,7 +36220,7 @@ var hasRequiredJszip_min;
36197
36220
  function requireJszip_min() {
36198
36221
  if (hasRequiredJszip_min) return jszip_min.exports;
36199
36222
  hasRequiredJszip_min = 1;
36200
- (function(module2, exports2) {
36223
+ (function(module2, exports$1) {
36201
36224
  !(function(e) {
36202
36225
  module2.exports = e();
36203
36226
  })(function() {
@@ -36313,8 +36336,8 @@ function requireJszip_min() {
36313
36336
  return n2;
36314
36337
  }
36315
36338
  function n(e2, t2, r22, n2, i2, s22) {
36316
- 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 };
36317
- t2 && !r22 || (x.crc32 = e2.crc32, x.compressedSize = e2.compressedSize, x.uncompressedSize = e2.uncompressedSize);
36339
+ 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 };
36340
+ t2 && !r22 || (x2.crc32 = e2.crc32, x2.compressedSize = e2.compressedSize, x2.uncompressedSize = e2.uncompressedSize);
36318
36341
  var S2 = 0;
36319
36342
  t2 && (S2 |= 8), l3 || !_2 && !g || (S2 |= 2048);
36320
36343
  var z2 = 0, C2 = 0;
@@ -36325,9 +36348,9 @@ function requireJszip_min() {
36325
36348
  return 63 & (e3 || 0);
36326
36349
  })(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);
36327
36350
  var E2 = "";
36328
- 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 };
36351
+ 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 };
36329
36352
  }
36330
- var I2 = e("../utils"), i = e("../stream/GenericWorker"), O2 = e("../utf8"), B2 = e("../crc32"), R2 = e("../signature");
36353
+ var I2 = e("../utils"), i = e("../stream/GenericWorker"), O = e("../utf8"), B2 = e("../crc32"), R = e("../signature");
36331
36354
  function s2(e2, t2, r22, n2) {
36332
36355
  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 = [];
36333
36356
  }
@@ -36345,7 +36368,7 @@ function requireJszip_min() {
36345
36368
  this.accumulate = false;
36346
36369
  var t2 = this.streamFiles && !e2.file.dir, r22 = n(e2, t2, true, this.currentSourceOffset, this.zipPlatform, this.encodeFileName);
36347
36370
  if (this.dirRecords.push(r22.dirRecord), t2) this.push({ data: (function(e3) {
36348
- return R2.DATA_DESCRIPTOR + A2(e3.crc32, 4) + A2(e3.compressedSize, 4) + A2(e3.uncompressedSize, 4);
36371
+ return R.DATA_DESCRIPTOR + A2(e3.crc32, 4) + A2(e3.compressedSize, 4) + A2(e3.uncompressedSize, 4);
36349
36372
  })(e2), meta: { percent: 100 } });
36350
36373
  else for (this.push({ data: r22.fileRecord, meta: { percent: 0 } }); this.contentBuffer.length; ) this.push(this.contentBuffer.shift());
36351
36374
  this.currentFile = null;
@@ -36353,7 +36376,7 @@ function requireJszip_min() {
36353
36376
  for (var e2 = this.bytesWritten, t2 = 0; t2 < this.dirRecords.length; t2++) this.push({ data: this.dirRecords[t2], meta: { percent: 100 } });
36354
36377
  var r22 = this.bytesWritten - e2, n2 = (function(e3, t3, r3, n3, i2) {
36355
36378
  var s22 = I2.transformTo("string", i2(n3));
36356
- 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;
36379
+ 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;
36357
36380
  })(this.dirRecords.length, r22, e2, this.zipComment, this.encodeFileName);
36358
36381
  this.push({ data: n2, meta: { percent: 100 } });
36359
36382
  }, s2.prototype.prepareNextSource = function() {
@@ -37553,11 +37576,11 @@ function requireJszip_min() {
37553
37576
  return -1 ^ e2;
37554
37577
  };
37555
37578
  }, {}], 46: [function(e, t, r2) {
37556
- 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;
37557
- function R2(e2, t2) {
37579
+ 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;
37580
+ function R(e2, t2) {
37558
37581
  return e2.msg = n[t2], t2;
37559
37582
  }
37560
- function T(e2) {
37583
+ function T2(e2) {
37561
37584
  return (e2 << 1) - (4 < e2 ? 9 : 0);
37562
37585
  }
37563
37586
  function D2(e2) {
@@ -37601,7 +37624,7 @@ function requireJszip_min() {
37601
37624
  i2 += f22;
37602
37625
  }
37603
37626
  if (0 === e2.strm.avail_in) break;
37604
- 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)); ) ;
37627
+ 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)); ) ;
37605
37628
  } while (e2.lookahead < z2 && 0 !== e2.strm.avail_in);
37606
37629
  }
37607
37630
  function Z(e2, t2) {
@@ -37610,14 +37633,14 @@ function requireJszip_min() {
37610
37633
  if (j2(e2), e2.lookahead < z2 && t2 === l3) return A2;
37611
37634
  if (0 === e2.lookahead) break;
37612
37635
  }
37613
- 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) {
37614
- 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; ) ;
37636
+ 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) {
37637
+ 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; ) ;
37615
37638
  e2.strstart++;
37616
37639
  } 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;
37617
37640
  else n2 = u._tr_tally(e2, 0, e2.window[e2.strstart]), e2.lookahead--, e2.strstart++;
37618
37641
  if (n2 && (N2(e2, false), 0 === e2.strm.avail_out)) return A2;
37619
37642
  }
37620
- 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;
37643
+ 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;
37621
37644
  }
37622
37645
  function W2(e2, t2) {
37623
37646
  for (var r22, n2, i2; ; ) {
@@ -37625,14 +37648,14 @@ function requireJszip_min() {
37625
37648
  if (j2(e2), e2.lookahead < z2 && t2 === l3) return A2;
37626
37649
  if (0 === e2.lookahead) break;
37627
37650
  }
37628
- 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) {
37629
- 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; ) ;
37630
- if (e2.match_available = 0, e2.match_length = x - 1, e2.strstart++, n2 && (N2(e2, false), 0 === e2.strm.avail_out)) return A2;
37651
+ 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) {
37652
+ 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; ) ;
37653
+ if (e2.match_available = 0, e2.match_length = x2 - 1, e2.strstart++, n2 && (N2(e2, false), 0 === e2.strm.avail_out)) return A2;
37631
37654
  } else if (e2.match_available) {
37632
37655
  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;
37633
37656
  } else e2.match_available = 1, e2.strstart++, e2.lookahead--;
37634
37657
  }
37635
- 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;
37658
+ 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;
37636
37659
  }
37637
37660
  function M2(e2, t2, r22, n2, i2) {
37638
37661
  this.good_length = e2, this.max_lazy = t2, this.nice_length = r22, this.max_chain = n2, this.func = i2;
@@ -37642,21 +37665,21 @@ function requireJszip_min() {
37642
37665
  }
37643
37666
  function G2(e2) {
37644
37667
  var t2;
37645
- 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);
37668
+ 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);
37646
37669
  }
37647
37670
  function K2(e2) {
37648
37671
  var t2 = G2(e2);
37649
37672
  return t2 === m2 && (function(e3) {
37650
- 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;
37673
+ 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;
37651
37674
  })(e2.state), t2;
37652
37675
  }
37653
37676
  function Y2(e2, t2, r22, n2, i2, s22) {
37654
37677
  if (!e2) return _2;
37655
37678
  var a2 = 1;
37656
- 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);
37679
+ 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);
37657
37680
  8 === n2 && (n2 = 9);
37658
37681
  var o2 = new H();
37659
- 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);
37682
+ 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);
37660
37683
  }
37661
37684
  h2 = [new M2(0, 0, 0, 0, function(e2, t2) {
37662
37685
  var r22 = 65535;
@@ -37670,15 +37693,15 @@ function requireJszip_min() {
37670
37693
  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;
37671
37694
  if (e2.strstart - e2.block_start >= e2.w_size - z2 && (N2(e2, false), 0 === e2.strm.avail_out)) return A2;
37672
37695
  }
37673
- 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);
37696
+ 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);
37674
37697
  }), 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) {
37675
37698
  return Y2(e2, t2, v2, 15, 8, 0);
37676
37699
  }, r2.deflateInit2 = Y2, r2.deflateReset = K2, r2.deflateResetKeep = G2, r2.deflateSetHeader = function(e2, t2) {
37677
37700
  return e2 && e2.state ? 2 !== e2.state.wrap ? _2 : (e2.state.gzhead = t2, m2) : _2;
37678
37701
  }, r2.deflate = function(e2, t2) {
37679
37702
  var r22, n2, i2, s22;
37680
- if (!e2 || !e2.state || 5 < t2 || t2 < 0) return e2 ? R2(e2, _2) : _2;
37681
- 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);
37703
+ if (!e2 || !e2.state || 5 < t2 || t2 < 0) return e2 ? R(e2, _2) : _2;
37704
+ 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);
37682
37705
  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);
37683
37706
  else {
37684
37707
  var a2 = v2 + (n2.w_bits - 8 << 4) << 8;
@@ -37712,8 +37735,8 @@ function requireJszip_min() {
37712
37735
  } else n2.status = 103;
37713
37736
  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) {
37714
37737
  if (F2(e2), 0 === e2.avail_out) return n2.last_flush = -1, m2;
37715
- } else if (0 === e2.avail_in && T(t2) <= T(r22) && t2 !== f2) return R2(e2, -5);
37716
- if (666 === n2.status && 0 !== e2.avail_in) return R2(e2, -5);
37738
+ } else if (0 === e2.avail_in && T2(t2) <= T2(r22) && t2 !== f2) return R(e2, -5);
37739
+ if (666 === n2.status && 0 !== e2.avail_in) return R(e2, -5);
37717
37740
  if (0 !== e2.avail_in || 0 !== n2.lookahead || t2 !== l3 && 666 !== n2.status) {
37718
37741
  var o2 = 2 === n2.strategy ? (function(e3, t3) {
37719
37742
  for (var r3; ; ) {
@@ -37723,39 +37746,39 @@ function requireJszip_min() {
37723
37746
  }
37724
37747
  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;
37725
37748
  }
37726
- 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;
37749
+ 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;
37727
37750
  })(n2, t2) : 3 === n2.strategy ? (function(e3, t3) {
37728
37751
  for (var r3, n3, i3, s3, a3 = e3.window; ; ) {
37729
37752
  if (e3.lookahead <= S2) {
37730
37753
  if (j2(e3), e3.lookahead <= S2 && t3 === l3) return A2;
37731
37754
  if (0 === e3.lookahead) break;
37732
37755
  }
37733
- 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]) {
37756
+ 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]) {
37734
37757
  s3 = e3.strstart + S2;
37735
37758
  do {
37736
37759
  } 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);
37737
37760
  e3.match_length = S2 - (s3 - i3), e3.match_length > e3.lookahead && (e3.match_length = e3.lookahead);
37738
37761
  }
37739
- 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;
37762
+ 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;
37740
37763
  }
37741
- 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;
37764
+ 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;
37742
37765
  })(n2, t2) : h2[n2.level].func(n2, t2);
37743
- if (o2 !== O2 && o2 !== B2 || (n2.status = 666), o2 === A2 || o2 === O2) return 0 === e2.avail_out && (n2.last_flush = -1), m2;
37766
+ if (o2 !== O && o2 !== B2 || (n2.status = 666), o2 === A2 || o2 === O) return 0 === e2.avail_out && (n2.last_flush = -1), m2;
37744
37767
  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;
37745
37768
  }
37746
37769
  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);
37747
37770
  }, r2.deflateEnd = function(e2) {
37748
37771
  var t2;
37749
- 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;
37772
+ 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;
37750
37773
  }, r2.deflateSetDictionary = function(e2, t2) {
37751
37774
  var r22, n2, i2, s22, a2, o2, h22, u2, l22 = t2.length;
37752
37775
  if (!e2 || !e2.state) return _2;
37753
37776
  if (2 === (s22 = (r22 = e2.state).wrap) || 1 === s22 && r22.status !== C2 || r22.lookahead) return _2;
37754
- 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; ) {
37755
- 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; ) ;
37756
- r22.strstart = n2, r22.lookahead = x - 1, j2(r22);
37777
+ 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; ) {
37778
+ 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; ) ;
37779
+ r22.strstart = n2, r22.lookahead = x2 - 1, j2(r22);
37757
37780
  }
37758
- 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;
37781
+ 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;
37759
37782
  }, r2.deflateInfo = "pako deflate (from Nodeca project)";
37760
37783
  }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./messages": 51, "./trees": 52 }], 47: [function(e, t, r2) {
37761
37784
  t.exports = function() {
@@ -37763,7 +37786,7 @@ function requireJszip_min() {
37763
37786
  };
37764
37787
  }, {}], 48: [function(e, t, r2) {
37765
37788
  t.exports = function(e2, t2) {
37766
- 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;
37789
+ 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;
37767
37790
  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;
37768
37791
  e: do {
37769
37792
  p < 15 && (d2 += z2[n++] << p, p += 8, d2 += z2[n++] << p, p += 8), v2 = m2[d2 & g];
@@ -37801,28 +37824,28 @@ function requireJszip_min() {
37801
37824
  e2.msg = "invalid distance too far back", r22.mode = 30;
37802
37825
  break e;
37803
37826
  }
37804
- if (S2 = c2, (x = 0) === f2) {
37805
- if (x += u - y2, y2 < w2) {
37806
- for (w2 -= y2; C2[s2++] = c2[x++], --y2; ) ;
37807
- x = s2 - k2, S2 = C2;
37827
+ if (S2 = c2, (x2 = 0) === f2) {
37828
+ if (x2 += u - y2, y2 < w2) {
37829
+ for (w2 -= y2; C2[s2++] = c2[x2++], --y2; ) ;
37830
+ x2 = s2 - k2, S2 = C2;
37808
37831
  }
37809
37832
  } else if (f2 < y2) {
37810
- if (x += u + f2 - y2, (y2 -= f2) < w2) {
37811
- for (w2 -= y2; C2[s2++] = c2[x++], --y2; ) ;
37812
- if (x = 0, f2 < w2) {
37813
- for (w2 -= y2 = f2; C2[s2++] = c2[x++], --y2; ) ;
37814
- x = s2 - k2, S2 = C2;
37833
+ if (x2 += u + f2 - y2, (y2 -= f2) < w2) {
37834
+ for (w2 -= y2; C2[s2++] = c2[x2++], --y2; ) ;
37835
+ if (x2 = 0, f2 < w2) {
37836
+ for (w2 -= y2 = f2; C2[s2++] = c2[x2++], --y2; ) ;
37837
+ x2 = s2 - k2, S2 = C2;
37815
37838
  }
37816
37839
  }
37817
- } else if (x += f2 - y2, y2 < w2) {
37818
- for (w2 -= y2; C2[s2++] = c2[x++], --y2; ) ;
37819
- x = s2 - k2, S2 = C2;
37840
+ } else if (x2 += f2 - y2, y2 < w2) {
37841
+ for (w2 -= y2; C2[s2++] = c2[x2++], --y2; ) ;
37842
+ x2 = s2 - k2, S2 = C2;
37820
37843
  }
37821
- for (; 2 < w2; ) C2[s2++] = S2[x++], C2[s2++] = S2[x++], C2[s2++] = S2[x++], w2 -= 3;
37822
- w2 && (C2[s2++] = S2[x++], 1 < w2 && (C2[s2++] = S2[x++]));
37844
+ for (; 2 < w2; ) C2[s2++] = S2[x2++], C2[s2++] = S2[x2++], C2[s2++] = S2[x2++], w2 -= 3;
37845
+ w2 && (C2[s2++] = S2[x2++], 1 < w2 && (C2[s2++] = S2[x2++]));
37823
37846
  } else {
37824
- for (x = s2 - k2; C2[s2++] = C2[x++], C2[s2++] = C2[x++], C2[s2++] = C2[x++], 2 < (w2 -= 3); ) ;
37825
- w2 && (C2[s2++] = C2[x++], 1 < w2 && (C2[s2++] = C2[x++]));
37847
+ for (x2 = s2 - k2; C2[s2++] = C2[x2++], C2[s2++] = C2[x2++], C2[s2++] = C2[x2++], 2 < (w2 -= 3); ) ;
37848
+ w2 && (C2[s2++] = C2[x2++], 1 < w2 && (C2[s2++] = C2[x2++]));
37826
37849
  }
37827
37850
  break;
37828
37851
  }
@@ -37833,7 +37856,7 @@ function requireJszip_min() {
37833
37856
  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;
37834
37857
  };
37835
37858
  }, {}], 49: [function(e, t, r2) {
37836
- 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;
37859
+ 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;
37837
37860
  function L2(e2) {
37838
37861
  return (e2 >>> 24 & 255) + (e2 >>> 8 & 65280) + ((65280 & e2) << 8) + ((255 & e2) << 24);
37839
37862
  }
@@ -37864,8 +37887,8 @@ function requireJszip_min() {
37864
37887
  for (; t2 < 256; ) e2.lens[t2++] = 9;
37865
37888
  for (; t2 < 280; ) e2.lens[t2++] = 7;
37866
37889
  for (; t2 < 288; ) e2.lens[t2++] = 8;
37867
- for (T(D2, e2.lens, 0, 288, l3, 0, e2.work, { bits: 9 }), t2 = 0; t2 < 32; ) e2.lens[t2++] = 5;
37868
- T(F2, e2.lens, 0, 32, f2, 0, e2.work, { bits: 5 }), c2 = false;
37890
+ for (T2(D2, e2.lens, 0, 288, l3, 0, e2.work, { bits: 9 }), t2 = 0; t2 < 32; ) e2.lens[t2++] = 5;
37891
+ T2(F2, e2.lens, 0, 32, f2, 0, e2.work, { bits: 5 }), c2 = false;
37869
37892
  }
37870
37893
  e2.lencode = l3, e2.lenbits = 9, e2.distcode = f2, e2.distbits = 5;
37871
37894
  }
@@ -37876,9 +37899,9 @@ function requireJszip_min() {
37876
37899
  r2.inflateReset = o, r2.inflateReset2 = h2, r2.inflateResetKeep = a, r2.inflateInit = function(e2) {
37877
37900
  return u(e2, 15);
37878
37901
  }, r2.inflateInit2 = u, r2.inflate = function(e2, t2) {
37879
- 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];
37902
+ 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];
37880
37903
  if (!e2 || !e2.state || !e2.output || !e2.input && 0 !== e2.avail_in) return U2;
37881
- 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;
37904
+ 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;
37882
37905
  e: for (; ; ) switch (r22.mode) {
37883
37906
  case P2:
37884
37907
  if (0 === r22.wrap) {
@@ -38049,7 +38072,7 @@ function requireJszip_min() {
38049
38072
  r22.lens[A2[r22.have++]] = 7 & u2, u2 >>>= 3, l22 -= 3;
38050
38073
  }
38051
38074
  for (; r22.have < 19; ) r22.lens[A2[r22.have++]] = 0;
38052
- 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) {
38075
+ 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) {
38053
38076
  e2.msg = "invalid code lengths set", r22.mode = 30;
38054
38077
  break;
38055
38078
  }
@@ -38097,11 +38120,11 @@ function requireJszip_min() {
38097
38120
  e2.msg = "invalid code -- missing end-of-block", r22.mode = 30;
38098
38121
  break;
38099
38122
  }
38100
- 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) {
38123
+ 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) {
38101
38124
  e2.msg = "invalid literal/lengths set", r22.mode = 30;
38102
38125
  break;
38103
38126
  }
38104
- 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) {
38127
+ 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) {
38105
38128
  e2.msg = "invalid distances set", r22.mode = 30;
38106
38129
  break;
38107
38130
  }
@@ -38110,7 +38133,7 @@ function requireJszip_min() {
38110
38133
  r22.mode = 21;
38111
38134
  case 21:
38112
38135
  if (6 <= o2 && 258 <= h22) {
38113
- 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);
38136
+ 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);
38114
38137
  break;
38115
38138
  }
38116
38139
  for (r22.back = 0; g = (C2 = r22.lencode[u2 & (1 << r22.lenbits) - 1]) >>> 16 & 255, b2 = 65535 & C2, !((_2 = C2 >>> 24) <= l22); ) {
@@ -38198,7 +38221,7 @@ function requireJszip_min() {
38198
38221
  if (0 === o2) break e;
38199
38222
  o2--, u2 |= n2[s22++] << l22, l22 += 8;
38200
38223
  }
38201
- 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) {
38224
+ 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) {
38202
38225
  e2.msg = "incorrect data check", r22.mode = 30;
38203
38226
  break;
38204
38227
  }
@@ -38219,10 +38242,10 @@ function requireJszip_min() {
38219
38242
  }
38220
38243
  r22.mode = 29;
38221
38244
  case 29:
38222
- x = 1;
38245
+ x2 = 1;
38223
38246
  break e;
38224
38247
  case 30:
38225
- x = -3;
38248
+ x2 = -3;
38226
38249
  break e;
38227
38250
  case 31:
38228
38251
  return -4;
@@ -38230,7 +38253,7 @@ function requireJszip_min() {
38230
38253
  default:
38231
38254
  return U2;
38232
38255
  }
38233
- 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);
38256
+ 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);
38234
38257
  }, r2.inflateEnd = function(e2) {
38235
38258
  if (!e2 || !e2.state) return U2;
38236
38259
  var t2 = e2.state;
@@ -38240,33 +38263,33 @@ function requireJszip_min() {
38240
38263
  return e2 && e2.state ? 0 == (2 & (r22 = e2.state).wrap) ? U2 : ((r22.head = t2).done = false, N2) : U2;
38241
38264
  }, r2.inflateSetDictionary = function(e2, t2) {
38242
38265
  var r22, n2 = t2.length;
38243
- 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;
38266
+ 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;
38244
38267
  }, r2.inflateInfo = "pako inflate (from Nodeca project)";
38245
38268
  }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./inffast": 48, "./inftrees": 50 }], 50: [function(e, t, r2) {
38246
38269
  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];
38247
38270
  t.exports = function(e2, t2, r22, n, i, s2, a, o) {
38248
- 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;
38249
- for (b2 = 0; b2 <= 15; b2++) O2[b2] = 0;
38250
- for (v2 = 0; v2 < n; v2++) O2[t2[r22 + v2]]++;
38251
- for (k2 = g, w2 = 15; 1 <= w2 && 0 === O2[w2]; w2--) ;
38271
+ 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;
38272
+ for (b2 = 0; b2 <= 15; b2++) O[b2] = 0;
38273
+ for (v2 = 0; v2 < n; v2++) O[t2[r22 + v2]]++;
38274
+ for (k2 = g, w2 = 15; 1 <= w2 && 0 === O[w2]; w2--) ;
38252
38275
  if (w2 < k2 && (k2 = w2), 0 === w2) return i[s2++] = 20971520, i[s2++] = 20971520, o.bits = 1, 0;
38253
- for (y2 = 1; y2 < w2 && 0 === O2[y2]; y2++) ;
38254
- for (k2 < y2 && (k2 = y2), b2 = z2 = 1; b2 <= 15; b2++) if (z2 <<= 1, (z2 -= O2[b2]) < 0) return -1;
38276
+ for (y2 = 1; y2 < w2 && 0 === O[y2]; y2++) ;
38277
+ for (k2 < y2 && (k2 = y2), b2 = z2 = 1; b2 <= 15; b2++) if (z2 <<= 1, (z2 -= O[b2]) < 0) return -1;
38255
38278
  if (0 < z2 && (0 === e2 || 1 !== w2)) return -1;
38256
- for (B2[1] = 0, b2 = 1; b2 < 15; b2++) B2[b2 + 1] = B2[b2] + O2[b2];
38279
+ for (B2[1] = 0, b2 = 1; b2 < 15; b2++) B2[b2 + 1] = B2[b2] + O[b2];
38257
38280
  for (v2 = 0; v2 < n; v2++) 0 !== t2[r22 + v2] && (a[B2[t2[r22 + v2]]++] = v2);
38258
- 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;
38281
+ 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;
38259
38282
  for (; ; ) {
38260
- 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; ) ;
38283
+ 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; ) ;
38261
38284
  for (h2 = 1 << b2 - 1; E2 & h2; ) h2 >>= 1;
38262
- if (0 !== h2 ? (E2 &= h2 - 1, E2 += h2) : E2 = 0, v2++, 0 == --O2[b2]) {
38285
+ if (0 !== h2 ? (E2 &= h2 - 1, E2 += h2) : E2 = 0, v2++, 0 == --O[b2]) {
38263
38286
  if (b2 === w2) break;
38264
38287
  b2 = t2[r22 + a[v2]];
38265
38288
  }
38266
38289
  if (k2 < b2 && (E2 & f2) !== l3) {
38267
- for (0 === S2 && (S2 = k2), c2 += y2, z2 = 1 << (x = b2 - S2); x + S2 < w2 && !((z2 -= O2[x + S2]) <= 0); ) x++, z2 <<= 1;
38268
- if (C2 += 1 << x, 1 === e2 && 852 < C2 || 2 === e2 && 592 < C2) return 1;
38269
- i[l3 = E2 & f2] = k2 << 24 | x << 16 | c2 - s2 | 0;
38290
+ for (0 === S2 && (S2 = k2), c2 += y2, z2 = 1 << (x2 = b2 - S2); x2 + S2 < w2 && !((z2 -= O[x2 + S2]) <= 0); ) x2++, z2 <<= 1;
38291
+ if (C2 += 1 << x2, 1 === e2 && 852 < C2 || 2 === e2 && 592 < C2) return 1;
38292
+ i[l3 = E2 & f2] = k2 << 24 | x2 << 16 | c2 - s2 | 0;
38270
38293
  }
38271
38294
  }
38272
38295
  return 0 !== E2 && (i[c2 + E2] = b2 - S2 << 24 | 64 << 16 | 0), o.bits = k2, 0;
@@ -38278,7 +38301,7 @@ function requireJszip_min() {
38278
38301
  function n(e2) {
38279
38302
  for (var t2 = e2.length; 0 <= --t2; ) e2[t2] = 0;
38280
38303
  }
38281
- 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));
38304
+ 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));
38282
38305
  n(z2);
38283
38306
  var C2 = new Array(2 * f2);
38284
38307
  n(C2);
@@ -38288,7 +38311,7 @@ function requireJszip_min() {
38288
38311
  n(A2);
38289
38312
  var I2 = new Array(a);
38290
38313
  n(I2);
38291
- var O2, B2, R2, T = new Array(f2);
38314
+ var O, B2, R, T2 = new Array(f2);
38292
38315
  function D2(e2, t2, r22, n2, i2) {
38293
38316
  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;
38294
38317
  }
@@ -38339,7 +38362,7 @@ function requireJszip_min() {
38339
38362
  }
38340
38363
  function K2(e2, t2, r22) {
38341
38364
  var n2, i2, s22, a2, o2 = 0;
38342
- 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; ) ;
38365
+ 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; ) ;
38343
38366
  L2(e2, m2, t2);
38344
38367
  }
38345
38368
  function Y2(e2, t2) {
@@ -38373,7 +38396,7 @@ function requireJszip_min() {
38373
38396
  s22 = i2, u2 = (o2 = 0) === a2 ? (h22 = 138, 3) : i2 === a2 ? (h22 = 6, 3) : (h22 = 7, 4);
38374
38397
  }
38375
38398
  }
38376
- n(T);
38399
+ n(T2);
38377
38400
  var q2 = false;
38378
38401
  function J2(e2, t2, r22, n2) {
38379
38402
  P2(e2, (s2 << 1) + (n2 ? 1 : 0), 3), (function(e3, t3, r3, n3) {
@@ -38384,16 +38407,16 @@ function requireJszip_min() {
38384
38407
  q2 || ((function() {
38385
38408
  var e3, t2, r22, n2, i2, s22 = new Array(g + 1);
38386
38409
  for (n2 = r22 = 0; n2 < a - 1; n2++) for (I2[n2] = r22, e3 = 0; e3 < 1 << w2[n2]; e3++) A2[r22++] = n2;
38387
- 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;
38388
- for (i2 >>= 7; n2 < f2; n2++) for (T[n2] = i2 << 7, e3 = 0; e3 < 1 << k2[n2] - 7; e3++) E2[256 + i2++] = n2;
38410
+ 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;
38411
+ for (i2 >>= 7; n2 < f2; n2++) for (T2[n2] = i2 << 7, e3 = 0; e3 < 1 << k2[n2] - 7; e3++) E2[256 + i2++] = n2;
38389
38412
  for (t2 = 0; t2 <= g; t2++) s22[t2] = 0;
38390
38413
  for (e3 = 0; e3 <= 143; ) z2[2 * e3 + 1] = 8, e3++, s22[8]++;
38391
38414
  for (; e3 <= 255; ) z2[2 * e3 + 1] = 9, e3++, s22[9]++;
38392
38415
  for (; e3 <= 279; ) z2[2 * e3 + 1] = 7, e3++, s22[7]++;
38393
38416
  for (; e3 <= 287; ) z2[2 * e3 + 1] = 8, e3++, s22[8]++;
38394
38417
  for (Z(z2, l3 + 1, s22), e3 = 0; e3 < f2; e3++) C2[2 * e3 + 1] = 5, C2[2 * e3] = j2(e3, 5);
38395
- 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);
38396
- })(), 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);
38418
+ 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);
38419
+ })(), 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);
38397
38420
  }, r2._tr_stored_block = J2, r2._tr_flush_block = function(e2, t2, r22, n2) {
38398
38421
  var i2, s22, a2 = 0;
38399
38422
  0 < e2.level ? (2 === e2.strm.data_type && (e2.strm.data_type = (function(e3) {
@@ -39313,7 +39336,7 @@ function history(config2 = {}) {
39313
39336
  beforeinput(view, e) {
39314
39337
  let inputType = e.inputType;
39315
39338
  let command2 = inputType == "historyUndo" ? undo$1 : inputType == "historyRedo" ? redo$1 : null;
39316
- if (!command2)
39339
+ if (!command2 || !view.editable)
39317
39340
  return false;
39318
39341
  e.preventDefault();
39319
39342
  return command2(view.state, view.dispatch);
@@ -39469,17 +39492,17 @@ function deepActiveElement(doc2) {
39469
39492
  elt = elt.shadowRoot.activeElement;
39470
39493
  return elt;
39471
39494
  }
39472
- function caretFromPoint(doc2, x, y2) {
39495
+ function caretFromPoint(doc2, x2, y2) {
39473
39496
  if (doc2.caretPositionFromPoint) {
39474
39497
  try {
39475
- let pos = doc2.caretPositionFromPoint(x, y2);
39498
+ let pos = doc2.caretPositionFromPoint(x2, y2);
39476
39499
  if (pos)
39477
39500
  return { node: pos.offsetNode, offset: Math.min(nodeSize(pos.offsetNode), pos.offset) };
39478
39501
  } catch (_2) {
39479
39502
  }
39480
39503
  }
39481
39504
  if (doc2.caretRangeFromPoint) {
39482
- let range2 = doc2.caretRangeFromPoint(x, y2);
39505
+ let range2 = doc2.caretRangeFromPoint(x2, y2);
39483
39506
  if (range2)
39484
39507
  return { node: range2.startContainer, offset: Math.min(nodeSize(range2.startContainer), range2.startOffset) };
39485
39508
  }
@@ -39578,8 +39601,8 @@ function scrollRectIntoView(view, rect, startDOM) {
39578
39601
  function storeScrollPos(view) {
39579
39602
  let rect = view.dom.getBoundingClientRect(), startY = Math.max(0, rect.top);
39580
39603
  let refDOM, refTop;
39581
- for (let x = (rect.left + rect.right) / 2, y2 = startY + 1; y2 < Math.min(innerHeight, rect.bottom); y2 += 5) {
39582
- let dom = view.root.elementFromPoint(x, y2);
39604
+ for (let x2 = (rect.left + rect.right) / 2, y2 = startY + 1; y2 < Math.min(innerHeight, rect.bottom); y2 += 5) {
39605
+ let dom = view.root.elementFromPoint(x2, y2);
39583
39606
  if (!dom || dom == view.dom || !view.dom.contains(dom))
39584
39607
  continue;
39585
39608
  let localRect = dom.getBoundingClientRect();
@@ -39875,8 +39898,8 @@ function coordsAtPos(view, pos, side) {
39875
39898
  function flattenV(rect, left2) {
39876
39899
  if (rect.width == 0)
39877
39900
  return rect;
39878
- let x = left2 ? rect.left : rect.right;
39879
- return { top: rect.top, bottom: rect.bottom, left: x, right: x };
39901
+ let x2 = left2 ? rect.left : rect.right;
39902
+ return { top: rect.top, bottom: rect.bottom, left: x2, right: x2 };
39880
39903
  }
39881
39904
  function flattenH(rect, top2) {
39882
39905
  if (rect.height == 0)
@@ -44883,10 +44906,10 @@ const createTimeoutClass = (clearFunction) => class TT {
44883
44906
  const Timeout = createTimeoutClass(clearTimeout);
44884
44907
  const timeout = (timeout2, callback) => new Timeout(setTimeout(callback, timeout2));
44885
44908
  const rotr = (w2, shift2) => w2 >>> shift2 | w2 << 32 - shift2;
44886
- const sum0to256 = (x) => rotr(x, 2) ^ rotr(x, 13) ^ rotr(x, 22);
44887
- const sum1to256 = (x) => rotr(x, 6) ^ rotr(x, 11) ^ rotr(x, 25);
44888
- const sigma0to256 = (x) => rotr(x, 7) ^ rotr(x, 18) ^ x >>> 3;
44889
- const sigma1to256 = (x) => rotr(x, 17) ^ rotr(x, 19) ^ x >>> 10;
44909
+ const sum0to256 = (x2) => rotr(x2, 2) ^ rotr(x2, 13) ^ rotr(x2, 22);
44910
+ const sum1to256 = (x2) => rotr(x2, 6) ^ rotr(x2, 11) ^ rotr(x2, 25);
44911
+ const sigma0to256 = (x2) => rotr(x2, 7) ^ rotr(x2, 18) ^ x2 >>> 3;
44912
+ const sigma1to256 = (x2) => rotr(x2, 17) ^ rotr(x2, 19) ^ x2 >>> 10;
44890
44913
  const K = new Uint32Array([
44891
44914
  1116352408,
44892
44915
  1899447441,
@@ -53801,7 +53824,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
53801
53824
  { default: remarkStringify },
53802
53825
  { default: remarkGfm }
53803
53826
  ] = await Promise.all([
53804
- import("./index-373DqHu6-BLRN3Gja.es.js"),
53827
+ import("./index-DldNo6-E-lpDwRf2x.es.js"),
53805
53828
  import("./index-DRCvimau-Cw339678.es.js"),
53806
53829
  import("./index-C_x_N6Uh-DJn8hIEt.es.js"),
53807
53830
  import("./index-D_sWOSiG-DE96TaT5.es.js"),
@@ -54019,7 +54042,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
54019
54042
  * @returns {Object | void} Migration results
54020
54043
  */
54021
54044
  processCollaborationMigrations() {
54022
- console.debug("[checkVersionMigrations] Current editor version", "0.29.0");
54045
+ console.debug("[checkVersionMigrations] Current editor version", "0.29.1");
54023
54046
  if (!this.options.ydoc) return;
54024
54047
  const metaMap = this.options.ydoc.getMap("meta");
54025
54048
  let docVersion = metaMap.get("version");
@@ -55893,16 +55916,16 @@ function getCursorPositionRelativeToContainer(view, eventLocation) {
55893
55916
  const { state: state2, dom } = view;
55894
55917
  const { selection } = state2;
55895
55918
  const containerRect = dom.getBoundingClientRect();
55896
- let x, y2;
55919
+ let x2, y2;
55897
55920
  if (typeof eventLocation.clientX === "number" && typeof eventLocation.clientY === "number") {
55898
- x = eventLocation.clientX - containerRect.left;
55921
+ x2 = eventLocation.clientX - containerRect.left;
55899
55922
  y2 = eventLocation.clientY - containerRect.top;
55900
55923
  } else {
55901
55924
  const cursorCoords = view.coordsAtPos(selection.from);
55902
- x = cursorCoords.left - containerRect.left;
55925
+ x2 = cursorCoords.left - containerRect.left;
55903
55926
  y2 = cursorCoords.top - containerRect.top;
55904
55927
  }
55905
- return { left: x, top: y2 };
55928
+ return { left: x2, top: y2 };
55906
55929
  }
55907
55930
  const SlashMenuPluginKey = new PluginKey("slashMenu");
55908
55931
  const SlashMenu = Extension.create({
@@ -56181,17 +56204,17 @@ class StructuredContentViewBase {
56181
56204
  if (!this.dom || this.contentDOM?.contains(target) || !dragHandle) {
56182
56205
  return;
56183
56206
  }
56184
- let x = 0;
56207
+ let x2 = 0;
56185
56208
  let y2 = 0;
56186
56209
  if (this.dom !== dragHandle) {
56187
56210
  const domBox = this.dom.getBoundingClientRect();
56188
56211
  const handleBox = dragHandle.getBoundingClientRect();
56189
56212
  const offsetX = event.offsetX ?? event.nativeEvent?.offsetX;
56190
56213
  const offsetY = event.offsetY ?? event.nativeEvent?.offsetY;
56191
- x = handleBox.x - domBox.x + offsetX;
56214
+ x2 = handleBox.x - domBox.x + offsetX;
56192
56215
  y2 = handleBox.y - domBox.y + offsetY;
56193
56216
  }
56194
- event.dataTransfer?.setDragImage(this.dom, x, y2);
56217
+ event.dataTransfer?.setDragImage(this.dom, x2, y2);
56195
56218
  const pos = this.getPos();
56196
56219
  if (typeof pos !== "number") {
56197
56220
  return;
@@ -64282,17 +64305,17 @@ function parseToRgba(color) {
64282
64305
  const reducedHexMatch = reducedHexRegex.exec(normalizedColor);
64283
64306
  if (reducedHexMatch) {
64284
64307
  const arr = Array.from(reducedHexMatch).slice(1);
64285
- return [...arr.slice(0, 3).map((x) => parseInt(r$1(x, 2), 16)), parseInt(r$1(arr[3] || "f", 2), 16) / 255];
64308
+ return [...arr.slice(0, 3).map((x2) => parseInt(r$1(x2, 2), 16)), parseInt(r$1(arr[3] || "f", 2), 16) / 255];
64286
64309
  }
64287
64310
  const hexMatch = hexRegex$1.exec(normalizedColor);
64288
64311
  if (hexMatch) {
64289
64312
  const arr = Array.from(hexMatch).slice(1);
64290
- return [...arr.slice(0, 3).map((x) => parseInt(x, 16)), parseInt(arr[3] || "ff", 16) / 255];
64313
+ return [...arr.slice(0, 3).map((x2) => parseInt(x2, 16)), parseInt(arr[3] || "ff", 16) / 255];
64291
64314
  }
64292
64315
  const rgbaMatch = rgbaRegex$1.exec(normalizedColor);
64293
64316
  if (rgbaMatch) {
64294
64317
  const arr = Array.from(rgbaMatch).slice(1);
64295
- return [...arr.slice(0, 3).map((x) => parseInt(x, 10)), parseFloat(arr[3] || "1")];
64318
+ return [...arr.slice(0, 3).map((x2) => parseInt(x2, 10)), parseFloat(arr[3] || "1")];
64296
64319
  }
64297
64320
  const hslaMatch = hslaRegex$1.exec(normalizedColor);
64298
64321
  if (hslaMatch) {
@@ -64311,7 +64334,7 @@ function hash$2(str) {
64311
64334
  }
64312
64335
  return (hash2 >>> 0) % 2341;
64313
64336
  }
64314
- const colorToInt = (x) => parseInt(x.replace(/_/g, ""), 36);
64337
+ const colorToInt = (x2) => parseInt(x2.replace(/_/g, ""), 36);
64315
64338
  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) => {
64316
64339
  const key2 = colorToInt(next.substring(0, 3));
64317
64340
  const hex2 = colorToInt(next.substring(3)).toString(16);
@@ -64375,8 +64398,8 @@ const hslToRgb = (hue, saturation, lightness) => {
64375
64398
  };
64376
64399
  function toHex(color) {
64377
64400
  const [r2, g, b2, a] = parseToRgba(color);
64378
- let hex2 = (x) => {
64379
- const h2 = guard(0, 255, x).toString(16);
64401
+ let hex2 = (x2) => {
64402
+ const h2 = guard(0, 255, x2).toString(16);
64380
64403
  return h2.length === 1 ? `0${h2}` : h2;
64381
64404
  };
64382
64405
  return `#${hex2(r2)}${hex2(g)}${hex2(b2)}${a < 1 ? hex2(Math.round(a * 255)) : ""}`;
@@ -66480,10 +66503,10 @@ const Image = Node$1.create({
66480
66503
  let minX = 0;
66481
66504
  let minY = 0;
66482
66505
  let maxY = 0;
66483
- attrs.polygon.forEach(([x, y2]) => {
66484
- if (floatRight && x < horizontalOffset) horizontalOffset = x;
66485
- if (x > maxX) maxX = x;
66486
- if (x < minX) minX = x;
66506
+ attrs.polygon.forEach(([x2, y2]) => {
66507
+ if (floatRight && x2 < horizontalOffset) horizontalOffset = x2;
66508
+ if (x2 > maxX) maxX = x2;
66509
+ if (x2 < minX) minX = x2;
66487
66510
  if (y2 > maxY) maxY = y2;
66488
66511
  if (y2 < minY) minY = y2;
66489
66512
  });
@@ -66492,7 +66515,7 @@ const Image = Node$1.create({
66492
66515
  const scaleWidth = Math.min(1, size2.width / originalWidth);
66493
66516
  const scaleHeight = Math.min(1, size2.height / originalHeight);
66494
66517
  const verticalOffset = Math.max(0, marginOffset.top);
66495
- const points = attrs.polygon.map(([x, y2]) => `${horizontalOffset + x * scaleWidth}px ${verticalOffset + y2 * scaleHeight}px`).join(", ");
66518
+ const points = attrs.polygon.map(([x2, y2]) => `${horizontalOffset + x2 * scaleWidth}px ${verticalOffset + y2 * scaleHeight}px`).join(", ");
66496
66519
  style2 += `shape-outside: polygon(${points});`;
66497
66520
  }
66498
66521
  break;
@@ -71627,7 +71650,7 @@ function getBoundingClientRect$1(element, includeScale, isFixedStrategy) {
71627
71650
  }
71628
71651
  var _ref = isElement$2(element) ? getWindow$1(element) : window, visualViewport = _ref.visualViewport;
71629
71652
  var addVisualOffsets = !isLayoutViewport() && isFixedStrategy;
71630
- var x = (clientRect2.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;
71653
+ var x2 = (clientRect2.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;
71631
71654
  var y2 = (clientRect2.top + (addVisualOffsets && visualViewport ? visualViewport.offsetTop : 0)) / scaleY;
71632
71655
  var width = clientRect2.width / scaleX;
71633
71656
  var height = clientRect2.height / scaleY;
@@ -71635,10 +71658,10 @@ function getBoundingClientRect$1(element, includeScale, isFixedStrategy) {
71635
71658
  width,
71636
71659
  height,
71637
71660
  top: y2,
71638
- right: x + width,
71661
+ right: x2 + width,
71639
71662
  bottom: y2 + height,
71640
- left: x,
71641
- x,
71663
+ left: x2,
71664
+ x: x2,
71642
71665
  y: y2
71643
71666
  };
71644
71667
  }
@@ -71839,25 +71862,25 @@ var unsetSides = {
71839
71862
  left: "auto"
71840
71863
  };
71841
71864
  function roundOffsetsByDPR(_ref, win) {
71842
- var x = _ref.x, y2 = _ref.y;
71865
+ var x2 = _ref.x, y2 = _ref.y;
71843
71866
  var dpr = win.devicePixelRatio || 1;
71844
71867
  return {
71845
- x: round$1(x * dpr) / dpr || 0,
71868
+ x: round$1(x2 * dpr) / dpr || 0,
71846
71869
  y: round$1(y2 * dpr) / dpr || 0
71847
71870
  };
71848
71871
  }
71849
71872
  function mapToStyles(_ref2) {
71850
71873
  var _Object$assign2;
71851
71874
  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;
71852
- 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;
71875
+ 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;
71853
71876
  var _ref3 = typeof roundOffsets === "function" ? roundOffsets({
71854
- x,
71877
+ x: x2,
71855
71878
  y: y2
71856
71879
  }) : {
71857
- x,
71880
+ x: x2,
71858
71881
  y: y2
71859
71882
  };
71860
- x = _ref3.x;
71883
+ x2 = _ref3.x;
71861
71884
  y2 = _ref3.y;
71862
71885
  var hasX = offsets.hasOwnProperty("x");
71863
71886
  var hasY = offsets.hasOwnProperty("y");
@@ -71891,27 +71914,27 @@ function mapToStyles(_ref2) {
71891
71914
  // $FlowFixMe[prop-missing]
71892
71915
  offsetParent[widthProp]
71893
71916
  );
71894
- x -= offsetX - popperRect.width;
71895
- x *= gpuAcceleration ? 1 : -1;
71917
+ x2 -= offsetX - popperRect.width;
71918
+ x2 *= gpuAcceleration ? 1 : -1;
71896
71919
  }
71897
71920
  }
71898
71921
  var commonStyles = Object.assign({
71899
71922
  position
71900
71923
  }, adaptive && unsetSides);
71901
71924
  var _ref4 = roundOffsets === true ? roundOffsetsByDPR({
71902
- x,
71925
+ x: x2,
71903
71926
  y: y2
71904
71927
  }, getWindow$1(popper2)) : {
71905
- x,
71928
+ x: x2,
71906
71929
  y: y2
71907
71930
  };
71908
- x = _ref4.x;
71931
+ x2 = _ref4.x;
71909
71932
  y2 = _ref4.y;
71910
71933
  if (gpuAcceleration) {
71911
71934
  var _Object$assign;
71912
- 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));
71935
+ 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));
71913
71936
  }
71914
- return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y2 + "px" : "", _Object$assign2[sideX] = hasX ? x + "px" : "", _Object$assign2.transform = "", _Object$assign2));
71937
+ return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y2 + "px" : "", _Object$assign2[sideX] = hasX ? x2 + "px" : "", _Object$assign2.transform = "", _Object$assign2));
71915
71938
  }
71916
71939
  function computeStyles(_ref5) {
71917
71940
  var state2 = _ref5.state, options = _ref5.options;
@@ -72025,21 +72048,21 @@ function getViewportRect$1(element, strategy) {
72025
72048
  var visualViewport = win.visualViewport;
72026
72049
  var width = html.clientWidth;
72027
72050
  var height = html.clientHeight;
72028
- var x = 0;
72051
+ var x2 = 0;
72029
72052
  var y2 = 0;
72030
72053
  if (visualViewport) {
72031
72054
  width = visualViewport.width;
72032
72055
  height = visualViewport.height;
72033
72056
  var layoutViewport = isLayoutViewport();
72034
72057
  if (layoutViewport || !layoutViewport && strategy === "fixed") {
72035
- x = visualViewport.offsetLeft;
72058
+ x2 = visualViewport.offsetLeft;
72036
72059
  y2 = visualViewport.offsetTop;
72037
72060
  }
72038
72061
  }
72039
72062
  return {
72040
72063
  width,
72041
72064
  height,
72042
- x: x + getWindowScrollBarX$1(element),
72065
+ x: x2 + getWindowScrollBarX$1(element),
72043
72066
  y: y2
72044
72067
  };
72045
72068
  }
@@ -72050,15 +72073,15 @@ function getDocumentRect$1(element) {
72050
72073
  var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;
72051
72074
  var width = max$1(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);
72052
72075
  var height = max$1(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
72053
- var x = -winScroll.scrollLeft + getWindowScrollBarX$1(element);
72076
+ var x2 = -winScroll.scrollLeft + getWindowScrollBarX$1(element);
72054
72077
  var y2 = -winScroll.scrollTop;
72055
72078
  if (getComputedStyle$2(body || html).direction === "rtl") {
72056
- x += max$1(html.clientWidth, body ? body.clientWidth : 0) - width;
72079
+ x2 += max$1(html.clientWidth, body ? body.clientWidth : 0) - width;
72057
72080
  }
72058
72081
  return {
72059
72082
  width,
72060
72083
  height,
72061
- x,
72084
+ x: x2,
72062
72085
  y: y2
72063
72086
  };
72064
72087
  }
@@ -72435,9 +72458,9 @@ function offset(_ref2) {
72435
72458
  acc[placement] = distanceAndSkiddingToXY(placement, state2.rects, offset2);
72436
72459
  return acc;
72437
72460
  }, {});
72438
- var _data$state$placement = data[state2.placement], x = _data$state$placement.x, y2 = _data$state$placement.y;
72461
+ var _data$state$placement = data[state2.placement], x2 = _data$state$placement.x, y2 = _data$state$placement.y;
72439
72462
  if (state2.modifiersData.popperOffsets != null) {
72440
- state2.modifiersData.popperOffsets.x += x;
72463
+ state2.modifiersData.popperOffsets.x += x2;
72441
72464
  state2.modifiersData.popperOffsets.y += y2;
72442
72465
  }
72443
72466
  state2.modifiersData[name] = data;
@@ -74388,7 +74411,7 @@ function getPaddingObject(padding) {
74388
74411
  }
74389
74412
  function rectToClientRect(rect) {
74390
74413
  const {
74391
- x,
74414
+ x: x2,
74392
74415
  y: y2,
74393
74416
  width,
74394
74417
  height
@@ -74397,10 +74420,10 @@ function rectToClientRect(rect) {
74397
74420
  width,
74398
74421
  height,
74399
74422
  top: y2,
74400
- left: x,
74401
- right: x + width,
74423
+ left: x2,
74424
+ right: x2 + width,
74402
74425
  bottom: y2 + height,
74403
- x,
74426
+ x: x2,
74404
74427
  y: y2
74405
74428
  };
74406
74429
  }
@@ -74474,7 +74497,7 @@ const computePosition$1 = async (reference2, floating, config2) => {
74474
74497
  strategy
74475
74498
  });
74476
74499
  let {
74477
- x,
74500
+ x: x2,
74478
74501
  y: y2
74479
74502
  } = computeCoordsFromPlacement(rects, placement, rtl);
74480
74503
  let statefulPlacement = placement;
@@ -74491,7 +74514,7 @@ const computePosition$1 = async (reference2, floating, config2) => {
74491
74514
  data,
74492
74515
  reset
74493
74516
  } = await fn2({
74494
- x,
74517
+ x: x2,
74495
74518
  y: y2,
74496
74519
  initialPlacement: placement,
74497
74520
  placement: statefulPlacement,
@@ -74504,7 +74527,7 @@ const computePosition$1 = async (reference2, floating, config2) => {
74504
74527
  floating
74505
74528
  }
74506
74529
  });
74507
- x = nextX != null ? nextX : x;
74530
+ x2 = nextX != null ? nextX : x2;
74508
74531
  y2 = nextY != null ? nextY : y2;
74509
74532
  middlewareData = {
74510
74533
  ...middlewareData,
@@ -74527,7 +74550,7 @@ const computePosition$1 = async (reference2, floating, config2) => {
74527
74550
  }) : reset.rects;
74528
74551
  }
74529
74552
  ({
74530
- x,
74553
+ x: x2,
74531
74554
  y: y2
74532
74555
  } = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
74533
74556
  }
@@ -74535,7 +74558,7 @@ const computePosition$1 = async (reference2, floating, config2) => {
74535
74558
  }
74536
74559
  }
74537
74560
  return {
74538
- x,
74561
+ x: x2,
74539
74562
  y: y2,
74540
74563
  placement: statefulPlacement,
74541
74564
  strategy,
@@ -74548,7 +74571,7 @@ async function detectOverflow(state2, options) {
74548
74571
  options = {};
74549
74572
  }
74550
74573
  const {
74551
- x,
74574
+ x: x2,
74552
74575
  y: y2,
74553
74576
  platform: platform2,
74554
74577
  rects,
@@ -74572,7 +74595,7 @@ async function detectOverflow(state2, options) {
74572
74595
  strategy
74573
74596
  }));
74574
74597
  const rect = elementContext === "floating" ? {
74575
- x,
74598
+ x: x2,
74576
74599
  y: y2,
74577
74600
  width: rects.floating.width,
74578
74601
  height: rects.floating.height
@@ -74841,16 +74864,16 @@ function getScale(element) {
74841
74864
  height,
74842
74865
  $: $2
74843
74866
  } = getCssDimensions(domElement);
74844
- let x = ($2 ? round(rect.width) : rect.width) / width;
74867
+ let x2 = ($2 ? round(rect.width) : rect.width) / width;
74845
74868
  let y2 = ($2 ? round(rect.height) : rect.height) / height;
74846
- if (!x || !Number.isFinite(x)) {
74847
- x = 1;
74869
+ if (!x2 || !Number.isFinite(x2)) {
74870
+ x2 = 1;
74848
74871
  }
74849
74872
  if (!y2 || !Number.isFinite(y2)) {
74850
74873
  y2 = 1;
74851
74874
  }
74852
74875
  return {
74853
- x,
74876
+ x: x2,
74854
74877
  y: y2
74855
74878
  };
74856
74879
  }
@@ -74894,7 +74917,7 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
74894
74917
  }
74895
74918
  }
74896
74919
  const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
74897
- let x = (clientRect2.left + visualOffsets.x) / scale.x;
74920
+ let x2 = (clientRect2.left + visualOffsets.x) / scale.x;
74898
74921
  let y2 = (clientRect2.top + visualOffsets.y) / scale.y;
74899
74922
  let width = clientRect2.width / scale.x;
74900
74923
  let height = clientRect2.height / scale.y;
@@ -74909,11 +74932,11 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
74909
74932
  const css = getComputedStyle$1(currentIFrame);
74910
74933
  const left2 = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
74911
74934
  const top2 = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
74912
- x *= iframeScale.x;
74935
+ x2 *= iframeScale.x;
74913
74936
  y2 *= iframeScale.y;
74914
74937
  width *= iframeScale.x;
74915
74938
  height *= iframeScale.y;
74916
- x += left2;
74939
+ x2 += left2;
74917
74940
  y2 += top2;
74918
74941
  currentWin = getWindow(currentIFrame);
74919
74942
  currentIFrame = getFrameElement(currentWin);
@@ -74922,7 +74945,7 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
74922
74945
  return rectToClientRect({
74923
74946
  width,
74924
74947
  height,
74925
- x,
74948
+ x: x2,
74926
74949
  y: y2
74927
74950
  });
74928
74951
  }
@@ -74935,10 +74958,10 @@ function getWindowScrollBarX(element, rect) {
74935
74958
  }
74936
74959
  function getHTMLOffset(documentElement, scroll) {
74937
74960
  const htmlRect = documentElement.getBoundingClientRect();
74938
- const x = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);
74961
+ const x2 = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);
74939
74962
  const y2 = htmlRect.top + scroll.scrollTop;
74940
74963
  return {
74941
- x,
74964
+ x: x2,
74942
74965
  y: y2
74943
74966
  };
74944
74967
  }
@@ -74990,15 +75013,15 @@ function getDocumentRect(element) {
74990
75013
  const body = element.ownerDocument.body;
74991
75014
  const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
74992
75015
  const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
74993
- let x = -scroll.scrollLeft + getWindowScrollBarX(element);
75016
+ let x2 = -scroll.scrollLeft + getWindowScrollBarX(element);
74994
75017
  const y2 = -scroll.scrollTop;
74995
75018
  if (getComputedStyle$1(body).direction === "rtl") {
74996
- x += max(html.clientWidth, body.clientWidth) - width;
75019
+ x2 += max(html.clientWidth, body.clientWidth) - width;
74997
75020
  }
74998
75021
  return {
74999
75022
  width,
75000
75023
  height,
75001
- x,
75024
+ x: x2,
75002
75025
  y: y2
75003
75026
  };
75004
75027
  }
@@ -75009,14 +75032,14 @@ function getViewportRect(element, strategy) {
75009
75032
  const visualViewport = win.visualViewport;
75010
75033
  let width = html.clientWidth;
75011
75034
  let height = html.clientHeight;
75012
- let x = 0;
75035
+ let x2 = 0;
75013
75036
  let y2 = 0;
75014
75037
  if (visualViewport) {
75015
75038
  width = visualViewport.width;
75016
75039
  height = visualViewport.height;
75017
75040
  const visualViewportBased = isWebKit();
75018
75041
  if (!visualViewportBased || visualViewportBased && strategy === "fixed") {
75019
- x = visualViewport.offsetLeft;
75042
+ x2 = visualViewport.offsetLeft;
75020
75043
  y2 = visualViewport.offsetTop;
75021
75044
  }
75022
75045
  }
@@ -75036,7 +75059,7 @@ function getViewportRect(element, strategy) {
75036
75059
  return {
75037
75060
  width,
75038
75061
  height,
75039
- x,
75062
+ x: x2,
75040
75063
  y: y2
75041
75064
  };
75042
75065
  }
@@ -75048,12 +75071,12 @@ function getInnerBoundingClientRect(element, strategy) {
75048
75071
  const scale = isHTMLElement$2(element) ? getScale(element) : createCoords(1);
75049
75072
  const width = element.clientWidth * scale.x;
75050
75073
  const height = element.clientHeight * scale.y;
75051
- const x = left2 * scale.x;
75074
+ const x2 = left2 * scale.x;
75052
75075
  const y2 = top2 * scale.y;
75053
75076
  return {
75054
75077
  width,
75055
75078
  height,
75056
- x,
75079
+ x: x2,
75057
75080
  y: y2
75058
75081
  };
75059
75082
  }
@@ -75173,10 +75196,10 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
75173
75196
  setLeftRTLScrollbarOffset();
75174
75197
  }
75175
75198
  const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
75176
- const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
75199
+ const x2 = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
75177
75200
  const y2 = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
75178
75201
  return {
75179
- x,
75202
+ x: x2,
75180
75203
  y: y2,
75181
75204
  width: rect.width,
75182
75205
  height: rect.height
@@ -76039,22 +76062,22 @@ function createFloatingSeparator(separator, editor) {
76039
76062
  const rect = elements.reference.getBoundingClientRect();
76040
76063
  const containerRect = editorElement.getBoundingClientRect();
76041
76064
  const scaleFactor = getScaleFactor(editorElement);
76042
- const x = Math.round((rect.left - containerRect.left) / scaleFactor);
76065
+ const x2 = Math.round((rect.left - containerRect.left) / scaleFactor);
76043
76066
  const y2 = Math.round((rect.top - containerRect.top) / scaleFactor);
76044
76067
  const width = Math.round(rect.width / scaleFactor);
76045
76068
  const height = Math.round(rect.height / scaleFactor);
76046
76069
  return {
76047
- x,
76070
+ x: x2,
76048
76071
  y: y2,
76049
76072
  data: { width, height }
76050
76073
  };
76051
76074
  }
76052
76075
  }
76053
76076
  ]
76054
- }).then(({ x, y: y2, middlewareData }) => {
76077
+ }).then(({ x: x2, y: y2, middlewareData }) => {
76055
76078
  Object.assign(floatingSeparator.style, {
76056
76079
  top: `${y2}px`,
76057
- left: `${x}px`,
76080
+ left: `${x2}px`,
76058
76081
  width: `${middlewareData.copy.width}px`,
76059
76082
  height: `${middlewareData.copy.height}px`,
76060
76083
  visibility: middlewareData.hide?.referenceHidden ? "hidden" : "visible"
@@ -79048,14 +79071,14 @@ function ensureViewBoundingRect() {
79048
79071
  }
79049
79072
  return viewMeasurer.getBoundingClientRect();
79050
79073
  }
79051
- function getPointRect(x, y2) {
79074
+ function getPointRect(x2, y2) {
79052
79075
  const viewRect = ensureViewBoundingRect();
79053
79076
  return {
79054
79077
  top: y2,
79055
- left: x,
79078
+ left: x2,
79056
79079
  height: 0,
79057
79080
  width: 0,
79058
- right: viewRect.width - x,
79081
+ right: viewRect.width - x2,
79059
79082
  bottom: viewRect.height - y2
79060
79083
  };
79061
79084
  }
@@ -79461,7 +79484,7 @@ const LazyTeleport = defineComponent({
79461
79484
  };
79462
79485
  },
79463
79486
  render() {
79464
- return this.showTeleport ? this.disabled ? getSlot("lazy-teleport", this.$slots) : h$1(Teleport, {
79487
+ return this.showTeleport ? this.disabled ? getSlot("lazy-teleport", this.$slots) : h(Teleport, {
79465
79488
  disabled: this.disabled,
79466
79489
  to: this.mergedTo
79467
79490
  }, getSlot("lazy-teleport", this.$slots)) : null;
@@ -79893,8 +79916,8 @@ const VFollower = defineComponent({
79893
79916
  if (follower === null)
79894
79917
  return;
79895
79918
  const target = VBinder.targetRef;
79896
- const { x, y: y2, overlap } = props;
79897
- const targetRect = x !== void 0 && y2 !== void 0 ? getPointRect(x, y2) : getRect(target);
79919
+ const { x: x2, y: y2, overlap } = props;
79920
+ const targetRect = x2 !== void 0 && y2 !== void 0 ? getPointRect(x2, y2) : getRect(target);
79898
79921
  follower.style.setProperty("--v-target-width", `${Math.round(targetRect.width)}px`);
79899
79922
  follower.style.setProperty("--v-target-height", `${Math.round(targetRect.height)}px`);
79900
79923
  const { width, minWidth, placement, internalShift, flip: flip2 } = props;
@@ -79989,18 +80012,18 @@ const VFollower = defineComponent({
79989
80012
  };
79990
80013
  },
79991
80014
  render() {
79992
- return h$1(LazyTeleport, {
80015
+ return h(LazyTeleport, {
79993
80016
  show: this.show,
79994
80017
  to: this.mergedTo,
79995
80018
  disabled: this.teleportDisabled
79996
80019
  }, {
79997
80020
  default: () => {
79998
80021
  var _a2, _b;
79999
- const vNode = h$1("div", {
80022
+ const vNode = h("div", {
80000
80023
  class: ["v-binder-follower-container", this.containerClass],
80001
80024
  ref: "offsetContainerRef"
80002
80025
  }, [
80003
- h$1("div", {
80026
+ h("div", {
80004
80027
  class: "v-binder-follower-content",
80005
80028
  ref: "followerRef"
80006
80029
  }, (_b = (_a2 = this.$slots).default) === null || _b === void 0 ? void 0 : _b.call(_a2))
@@ -80064,8 +80087,8 @@ var ResizeObserverSize = /* @__PURE__ */ (function() {
80064
80087
  return ResizeObserverSize2;
80065
80088
  })();
80066
80089
  var DOMRectReadOnly = (function() {
80067
- function DOMRectReadOnly2(x, y2, width, height) {
80068
- this.x = x;
80090
+ function DOMRectReadOnly2(x2, y2, width, height) {
80091
+ this.x = x2;
80069
80092
  this.y = y2;
80070
80093
  this.width = width;
80071
80094
  this.height = height;
@@ -80076,8 +80099,8 @@ var DOMRectReadOnly = (function() {
80076
80099
  return freeze(this);
80077
80100
  }
80078
80101
  DOMRectReadOnly2.prototype.toJSON = function() {
80079
- 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;
80080
- return { x, y: y2, top: top2, right: right2, bottom: bottom2, left: left2, width, height };
80102
+ 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;
80103
+ return { x: x2, y: y2, top: top2, right: right2, bottom: bottom2, left: left2, width, height };
80081
80104
  };
80082
80105
  DOMRectReadOnly2.fromRect = function(rectangle) {
80083
80106
  return new DOMRectReadOnly2(rectangle.x, rectangle.y, rectangle.width, rectangle.height);
@@ -80832,8 +80855,8 @@ const FocusTrap = defineComponent({
80832
80855
  if (this.disabled)
80833
80856
  return defaultSlot();
80834
80857
  const { active, focusableStyle } = this;
80835
- return h$1(Fragment$1, null, [
80836
- h$1("div", {
80858
+ return h(Fragment$1, null, [
80859
+ h("div", {
80837
80860
  "aria-hidden": "true",
80838
80861
  tabindex: active ? "0" : "-1",
80839
80862
  ref: "focusableStartRef",
@@ -80841,7 +80864,7 @@ const FocusTrap = defineComponent({
80841
80864
  onFocus: this.handleStartFocus
80842
80865
  }),
80843
80866
  defaultSlot(),
80844
- h$1("div", {
80867
+ h("div", {
80845
80868
  "aria-hidden": "true",
80846
80869
  style: focusableStyle,
80847
80870
  ref: "focusableEndRef",
@@ -82545,11 +82568,11 @@ useTheme.props = {
82545
82568
  const ChevronRightIcon = defineComponent({
82546
82569
  name: "ChevronRight",
82547
82570
  render() {
82548
- return h$1("svg", {
82571
+ return h("svg", {
82549
82572
  viewBox: "0 0 16 16",
82550
82573
  fill: "none",
82551
82574
  xmlns: "http://www.w3.org/2000/svg"
82552
- }, h$1("path", {
82575
+ }, h("path", {
82553
82576
  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",
82554
82577
  fill: "currentColor"
82555
82578
  }));
@@ -83522,16 +83545,16 @@ const Scrollbar = defineComponent({
83522
83545
  if (!this.scrollable) return (_a2 = $slots.default) === null || _a2 === void 0 ? void 0 : _a2.call($slots);
83523
83546
  const triggerIsNone = this.trigger === "none";
83524
83547
  const createYRail = (className, style2) => {
83525
- return h$1("div", {
83548
+ return h("div", {
83526
83549
  ref: "yRailRef",
83527
83550
  class: [`${mergedClsPrefix}-scrollbar-rail`, `${mergedClsPrefix}-scrollbar-rail--vertical`, `${mergedClsPrefix}-scrollbar-rail--vertical--${yPlacement}`, className],
83528
83551
  "data-scrollbar-rail": true,
83529
83552
  style: [style2 || "", this.verticalRailStyle],
83530
83553
  "aria-hidden": true
83531
- }, h$1(triggerIsNone ? Wrapper : Transition, triggerIsNone ? null : {
83554
+ }, h(triggerIsNone ? Wrapper : Transition, triggerIsNone ? null : {
83532
83555
  name: "fade-in-transition"
83533
83556
  }, {
83534
- default: () => this.needYBar && this.isShowYBar && !this.isIos ? h$1("div", {
83557
+ default: () => this.needYBar && this.isShowYBar && !this.isIos ? h("div", {
83535
83558
  class: `${mergedClsPrefix}-scrollbar-rail__scrollbar`,
83536
83559
  style: {
83537
83560
  height: this.yBarSizePx,
@@ -83544,24 +83567,24 @@ const Scrollbar = defineComponent({
83544
83567
  const createChildren = () => {
83545
83568
  var _a22, _b;
83546
83569
  (_a22 = this.onRender) === null || _a22 === void 0 ? void 0 : _a22.call(this);
83547
- return h$1("div", mergeProps(this.$attrs, {
83570
+ return h("div", mergeProps(this.$attrs, {
83548
83571
  role: "none",
83549
83572
  ref: "wrapperRef",
83550
83573
  class: [`${mergedClsPrefix}-scrollbar`, this.themeClass, rtlEnabled && `${mergedClsPrefix}-scrollbar--rtl`],
83551
83574
  style: this.cssVars,
83552
83575
  onMouseenter: triggerDisplayManually ? void 0 : this.handleMouseEnterWrapper,
83553
83576
  onMouseleave: triggerDisplayManually ? void 0 : this.handleMouseLeaveWrapper
83554
- }), [this.container ? (_b = $slots.default) === null || _b === void 0 ? void 0 : _b.call($slots) : h$1("div", {
83577
+ }), [this.container ? (_b = $slots.default) === null || _b === void 0 ? void 0 : _b.call($slots) : h("div", {
83555
83578
  role: "none",
83556
83579
  ref: "containerRef",
83557
83580
  class: [`${mergedClsPrefix}-scrollbar-container`, this.containerClass],
83558
83581
  style: this.containerStyle,
83559
83582
  onScroll: this.handleScroll,
83560
83583
  onWheel: this.onWheel
83561
- }, h$1(VResizeObserver, {
83584
+ }, h(VResizeObserver, {
83562
83585
  onResize: this.handleContentResize
83563
83586
  }, {
83564
- default: () => h$1("div", {
83587
+ default: () => h("div", {
83565
83588
  ref: "contentRef",
83566
83589
  role: "none",
83567
83590
  style: [{
@@ -83569,16 +83592,16 @@ const Scrollbar = defineComponent({
83569
83592
  }, this.contentStyle],
83570
83593
  class: [`${mergedClsPrefix}-scrollbar-content`, this.contentClass]
83571
83594
  }, $slots)
83572
- })), internalHoistYRail ? null : createYRail(void 0, void 0), xScrollable && h$1("div", {
83595
+ })), internalHoistYRail ? null : createYRail(void 0, void 0), xScrollable && h("div", {
83573
83596
  ref: "xRailRef",
83574
83597
  class: [`${mergedClsPrefix}-scrollbar-rail`, `${mergedClsPrefix}-scrollbar-rail--horizontal`, `${mergedClsPrefix}-scrollbar-rail--horizontal--${xPlacement}`],
83575
83598
  style: this.horizontalRailStyle,
83576
83599
  "data-scrollbar-rail": true,
83577
83600
  "aria-hidden": true
83578
- }, h$1(triggerIsNone ? Wrapper : Transition, triggerIsNone ? null : {
83601
+ }, h(triggerIsNone ? Wrapper : Transition, triggerIsNone ? null : {
83579
83602
  name: "fade-in-transition"
83580
83603
  }, {
83581
- default: () => this.needXBar && this.isShowXBar && !this.isIos ? h$1("div", {
83604
+ default: () => this.needXBar && this.isShowXBar && !this.isIos ? h("div", {
83582
83605
  class: `${mergedClsPrefix}-scrollbar-rail__scrollbar`,
83583
83606
  style: {
83584
83607
  width: this.xBarSizePx,
@@ -83589,13 +83612,13 @@ const Scrollbar = defineComponent({
83589
83612
  }) : null
83590
83613
  }))]);
83591
83614
  };
83592
- const scrollbarNode = this.container ? createChildren() : h$1(VResizeObserver, {
83615
+ const scrollbarNode = this.container ? createChildren() : h(VResizeObserver, {
83593
83616
  onResize: this.handleContainerResize
83594
83617
  }, {
83595
83618
  default: createChildren
83596
83619
  });
83597
83620
  if (internalHoistYRail) {
83598
- return h$1(Fragment$1, null, scrollbarNode, createYRail(this.themeClass, this.cssVars));
83621
+ return h(Fragment$1, null, scrollbarNode, createYRail(this.themeClass, this.cssVars));
83599
83622
  } else {
83600
83623
  return scrollbarNode;
83601
83624
  }
@@ -84485,11 +84508,11 @@ function renderArrow({
84485
84508
  arrowWrapperStyle,
84486
84509
  clsPrefix
84487
84510
  }) {
84488
- return h$1("div", {
84511
+ return h("div", {
84489
84512
  key: "__popover-arrow__",
84490
84513
  style: arrowWrapperStyle,
84491
84514
  class: [`${clsPrefix}-popover-arrow-wrapper`, arrowWrapperClass]
84492
- }, h$1("div", {
84515
+ }, h("div", {
84493
84516
  class: [`${clsPrefix}-popover-arrow`, arrowClass],
84494
84517
  style: arrowStyle
84495
84518
  }));
@@ -84687,26 +84710,26 @@ const NPopoverBody = defineComponent({
84687
84710
  const hasHeaderOrFooter = !isSlotEmpty(slots.header) || !isSlotEmpty(slots.footer);
84688
84711
  const renderContentInnerNode = () => {
84689
84712
  var _a2, _b;
84690
- const body = hasHeaderOrFooter ? h$1(Fragment$1, null, resolveWrappedSlot(slots.header, (children) => {
84691
- return children ? h$1("div", {
84713
+ const body = hasHeaderOrFooter ? h(Fragment$1, null, resolveWrappedSlot(slots.header, (children) => {
84714
+ return children ? h("div", {
84692
84715
  class: [`${mergedClsPrefix}-popover__header`, props.headerClass],
84693
84716
  style: props.headerStyle
84694
84717
  }, children) : null;
84695
84718
  }), resolveWrappedSlot(slots.default, (children) => {
84696
- return children ? h$1("div", {
84719
+ return children ? h("div", {
84697
84720
  class: [`${mergedClsPrefix}-popover__content`, props.contentClass],
84698
84721
  style: props.contentStyle
84699
84722
  }, slots) : null;
84700
84723
  }), resolveWrappedSlot(slots.footer, (children) => {
84701
- return children ? h$1("div", {
84724
+ return children ? h("div", {
84702
84725
  class: [`${mergedClsPrefix}-popover__footer`, props.footerClass],
84703
84726
  style: props.footerStyle
84704
84727
  }, children) : null;
84705
- })) : props.scrollable ? (_a2 = slots.default) === null || _a2 === void 0 ? void 0 : _a2.call(slots) : h$1("div", {
84728
+ })) : props.scrollable ? (_a2 = slots.default) === null || _a2 === void 0 ? void 0 : _a2.call(slots) : h("div", {
84706
84729
  class: [`${mergedClsPrefix}-popover__content`, props.contentClass],
84707
84730
  style: props.contentStyle
84708
84731
  }, slots);
84709
- const maybeScrollableBody = props.scrollable ? h$1(XScrollbar, {
84732
+ const maybeScrollableBody = props.scrollable ? h(XScrollbar, {
84710
84733
  themeOverrides: themeRef.value.peerOverrides.Scrollbar,
84711
84734
  theme: themeRef.value.peers.Scrollbar,
84712
84735
  contentClass: hasHeaderOrFooter ? void 0 : `${mergedClsPrefix}-popover__content ${(_b = props.contentClass) !== null && _b !== void 0 ? _b : ""}`,
@@ -84723,7 +84746,7 @@ const NPopoverBody = defineComponent({
84723
84746
  }) : null;
84724
84747
  return [maybeScrollableBody, arrow2];
84725
84748
  };
84726
- contentNode = h$1("div", mergeProps({
84749
+ contentNode = h("div", mergeProps({
84727
84750
  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}`), {
84728
84751
  [`${mergedClsPrefix}-popover--scrollable`]: props.scrollable,
84729
84752
  [`${mergedClsPrefix}-popover--show-header-or-footer`]: hasHeaderOrFooter,
@@ -84737,7 +84760,7 @@ const NPopoverBody = defineComponent({
84737
84760
  onKeydown: NPopover2.handleKeydown,
84738
84761
  onMouseenter: handleMouseEnter,
84739
84762
  onMouseleave: handleMouseLeave2
84740
- }, attrs), internalTrapFocus ? h$1(FocusTrap, {
84763
+ }, attrs), internalTrapFocus ? h(FocusTrap, {
84741
84764
  active: props.show,
84742
84765
  autoFocus: true
84743
84766
  }, {
@@ -84769,7 +84792,7 @@ const NPopoverBody = defineComponent({
84769
84792
  };
84770
84793
  },
84771
84794
  render() {
84772
- return h$1(VFollower, {
84795
+ return h(VFollower, {
84773
84796
  ref: "followerRef",
84774
84797
  zIndex: this.zIndex,
84775
84798
  show: this.show,
@@ -84785,7 +84808,7 @@ const NPopoverBody = defineComponent({
84785
84808
  teleportDisabled: this.adjustedTo === useAdjustedTo.tdkey
84786
84809
  }, {
84787
84810
  default: () => {
84788
- return this.animated ? h$1(Transition, {
84811
+ return this.animated ? h(Transition, {
84789
84812
  name: "popover-transition",
84790
84813
  appear: this.isMounted,
84791
84814
  // Don't use watch to enable follower, since the transition may
@@ -85173,7 +85196,7 @@ const NPopover = defineComponent({
85173
85196
  triggerVNode = getFirstSlotVNode(slots, "trigger");
85174
85197
  if (triggerVNode) {
85175
85198
  triggerVNode = cloneVNode(triggerVNode);
85176
- triggerVNode = triggerVNode.type === Text$2 ? h$1("span", [triggerVNode]) : triggerVNode;
85199
+ triggerVNode = triggerVNode.type === Text$2 ? h("span", [triggerVNode]) : triggerVNode;
85177
85200
  const handlers2 = {
85178
85201
  onClick: this.handleClick,
85179
85202
  onMouseenter: this.handleMouseEnter,
@@ -85231,7 +85254,7 @@ const NPopover = defineComponent({
85231
85254
  }
85232
85255
  }
85233
85256
  }
85234
- return h$1(Binder, {
85257
+ return h(Binder, {
85235
85258
  ref: "binderInstRef",
85236
85259
  syncTarget: !popoverInside,
85237
85260
  syncTargetWithParent: this.internalSyncTargetWithParent
@@ -85239,7 +85262,7 @@ const NPopover = defineComponent({
85239
85262
  default: () => {
85240
85263
  void this.mergedShowConsideringDisabledProp;
85241
85264
  const mergedShow = this.getMergedShow();
85242
- return [this.internalTrapFocus && mergedShow ? withDirectives(h$1("div", {
85265
+ return [this.internalTrapFocus && mergedShow ? withDirectives(h("div", {
85243
85266
  style: {
85244
85267
  position: "fixed",
85245
85268
  top: 0,
@@ -85250,9 +85273,9 @@ const NPopover = defineComponent({
85250
85273
  }), [[zindexable, {
85251
85274
  enabled: mergedShow,
85252
85275
  zIndex: this.zIndex
85253
- }]]) : null, positionManually ? null : h$1(VTarget, null, {
85276
+ }]]) : null, positionManually ? null : h(VTarget, null, {
85254
85277
  default: () => triggerVNode
85255
- }), h$1(NPopoverBody, keep(this.$props, bodyPropKeys, Object.assign(Object.assign({}, this.$attrs), {
85278
+ }), h(NPopoverBody, keep(this.$props, bodyPropKeys, Object.assign(Object.assign({}, this.$attrs), {
85256
85279
  showArrow: this.mergedShowArrow,
85257
85280
  show: mergedShow
85258
85281
  })), {
@@ -85420,7 +85443,7 @@ const NTooltip = defineComponent({
85420
85443
  mergedTheme,
85421
85444
  internalExtraClass
85422
85445
  } = this;
85423
- return h$1(NPopover, Object.assign(Object.assign({}, this.$props), {
85446
+ return h(NPopover, Object.assign(Object.assign({}, this.$props), {
85424
85447
  theme: mergedTheme.peers.Popover,
85425
85448
  themeOverrides: mergedTheme.peerOverrides.Popover,
85426
85449
  builtinThemeOverrides: this.popoverThemeOverrides,
@@ -85441,7 +85464,7 @@ const NDropdownDivider = defineComponent({
85441
85464
  }
85442
85465
  },
85443
85466
  render() {
85444
- return h$1("div", {
85467
+ return h("div", {
85445
85468
  class: `${this.clsPrefix}-dropdown-divider`
85446
85469
  });
85447
85470
  }
@@ -85491,17 +85514,17 @@ const NDropdownGroupHeader = defineComponent({
85491
85514
  const {
85492
85515
  rawNode
85493
85516
  } = this.tmNode;
85494
- const node = h$1("div", Object.assign({
85517
+ const node = h("div", Object.assign({
85495
85518
  class: `${clsPrefix}-dropdown-option`
85496
- }, nodeProps === null || nodeProps === void 0 ? void 0 : nodeProps(rawNode)), h$1("div", {
85519
+ }, nodeProps === null || nodeProps === void 0 ? void 0 : nodeProps(rawNode)), h("div", {
85497
85520
  class: `${clsPrefix}-dropdown-option-body ${clsPrefix}-dropdown-option-body--group`
85498
- }, h$1("div", {
85521
+ }, h("div", {
85499
85522
  "data-dropdown-option": true,
85500
85523
  class: [`${clsPrefix}-dropdown-option-body__prefix`, showIcon && `${clsPrefix}-dropdown-option-body__prefix--show-icon`]
85501
- }, render(rawNode.icon)), h$1("div", {
85524
+ }, render(rawNode.icon)), h("div", {
85502
85525
  class: `${clsPrefix}-dropdown-option-body__label`,
85503
85526
  "data-dropdown-option": true
85504
- }, renderLabel ? renderLabel(rawNode) : render((_a2 = rawNode.title) !== null && _a2 !== void 0 ? _a2 : rawNode[this.labelField])), h$1("div", {
85527
+ }, renderLabel ? renderLabel(rawNode) : render((_a2 = rawNode.title) !== null && _a2 !== void 0 ? _a2 : rawNode[this.labelField])), h("div", {
85505
85528
  class: [`${clsPrefix}-dropdown-option-body__suffix`, hasSubmenu && `${clsPrefix}-dropdown-option-body__suffix--has-submenu`],
85506
85529
  "data-dropdown-option": true
85507
85530
  })));
@@ -85631,14 +85654,14 @@ const NIcon = defineComponent({
85631
85654
  warn("icon", "don't wrap `n-icon` inside `n-icon`");
85632
85655
  }
85633
85656
  onRender === null || onRender === void 0 ? void 0 : onRender();
85634
- return h$1("i", mergeProps(this.$attrs, {
85657
+ return h("i", mergeProps(this.$attrs, {
85635
85658
  role: "img",
85636
85659
  class: [`${mergedClsPrefix}-icon`, themeClass, {
85637
85660
  [`${mergedClsPrefix}-icon--depth`]: depth,
85638
85661
  [`${mergedClsPrefix}-icon--color-transition`]: depth !== void 0
85639
85662
  }],
85640
85663
  style: [this.cssVars, this.mergedStyle]
85641
- }), component ? h$1(component) : this.$slots);
85664
+ }), component ? h(component) : this.$slots);
85642
85665
  }
85643
85666
  });
85644
85667
  function isSubmenuNode(rawNode, childrenField) {
@@ -85874,7 +85897,7 @@ const NDropdownOption = defineComponent({
85874
85897
  let submenuVNode = null;
85875
85898
  if (mergedShowSubmenu) {
85876
85899
  const submenuNodeProps = (_a2 = this.menuProps) === null || _a2 === void 0 ? void 0 : _a2.call(this, rawNode, rawNode.children);
85877
- submenuVNode = h$1(NDropdownMenu, Object.assign({}, submenuNodeProps, {
85900
+ submenuVNode = h(NDropdownMenu, Object.assign({}, submenuNodeProps, {
85878
85901
  clsPrefix,
85879
85902
  scrollable: this.scrollable,
85880
85903
  tmNodes: this.tmNode.children,
@@ -85889,33 +85912,33 @@ const NDropdownOption = defineComponent({
85889
85912
  onClick: this.handleClick
85890
85913
  };
85891
85914
  const optionNodeProps = nodeProps === null || nodeProps === void 0 ? void 0 : nodeProps(rawNode);
85892
- const node = h$1("div", Object.assign({
85915
+ const node = h("div", Object.assign({
85893
85916
  class: [`${clsPrefix}-dropdown-option`, optionNodeProps === null || optionNodeProps === void 0 ? void 0 : optionNodeProps.class],
85894
85917
  "data-dropdown-option": true
85895
- }, optionNodeProps), h$1("div", mergeProps(builtinProps, props), [h$1("div", {
85918
+ }, optionNodeProps), h("div", mergeProps(builtinProps, props), [h("div", {
85896
85919
  class: [`${clsPrefix}-dropdown-option-body__prefix`, siblingHasIcon && `${clsPrefix}-dropdown-option-body__prefix--show-icon`]
85897
- }, [renderIcon ? renderIcon(rawNode) : render(rawNode.icon)]), h$1("div", {
85920
+ }, [renderIcon ? renderIcon(rawNode) : render(rawNode.icon)]), h("div", {
85898
85921
  "data-dropdown-option": true,
85899
85922
  class: `${clsPrefix}-dropdown-option-body__label`
85900
- }, renderLabel ? renderLabel(rawNode) : render((_b = rawNode[this.labelField]) !== null && _b !== void 0 ? _b : rawNode.title)), h$1("div", {
85923
+ }, renderLabel ? renderLabel(rawNode) : render((_b = rawNode[this.labelField]) !== null && _b !== void 0 ? _b : rawNode.title)), h("div", {
85901
85924
  "data-dropdown-option": true,
85902
85925
  class: [`${clsPrefix}-dropdown-option-body__suffix`, siblingHasSubmenu && `${clsPrefix}-dropdown-option-body__suffix--has-submenu`]
85903
- }, this.hasSubmenu ? h$1(NIcon, null, {
85904
- default: () => h$1(ChevronRightIcon, null)
85905
- }) : null)]), this.hasSubmenu ? h$1(Binder, null, {
85906
- default: () => [h$1(VTarget, null, {
85907
- default: () => h$1("div", {
85926
+ }, this.hasSubmenu ? h(NIcon, null, {
85927
+ default: () => h(ChevronRightIcon, null)
85928
+ }) : null)]), this.hasSubmenu ? h(Binder, null, {
85929
+ default: () => [h(VTarget, null, {
85930
+ default: () => h("div", {
85908
85931
  class: `${clsPrefix}-dropdown-offset-container`
85909
- }, h$1(VFollower, {
85932
+ }, h(VFollower, {
85910
85933
  show: this.mergedShowSubmenu,
85911
85934
  placement: this.placement,
85912
85935
  to: scrollable ? this.popoverBody || void 0 : void 0,
85913
85936
  teleportDisabled: !scrollable
85914
85937
  }, {
85915
85938
  default: () => {
85916
- return h$1("div", {
85939
+ return h("div", {
85917
85940
  class: `${clsPrefix}-dropdown-menu-wrapper`
85918
- }, animated ? h$1(Transition, {
85941
+ }, animated ? h(Transition, {
85919
85942
  onBeforeEnter: this.handleSubmenuBeforeEnter,
85920
85943
  onAfterEnter: this.handleSubmenuAfterEnter,
85921
85944
  name: "fade-in-scale-up-transition",
@@ -85961,7 +85984,7 @@ const NDropdownGroup = defineComponent({
85961
85984
  const {
85962
85985
  children
85963
85986
  } = tmNode;
85964
- return h$1(Fragment$1, null, h$1(NDropdownGroupHeader, {
85987
+ return h(Fragment$1, null, h(NDropdownGroupHeader, {
85965
85988
  clsPrefix,
85966
85989
  tmNode,
85967
85990
  key: tmNode.key
@@ -85971,7 +85994,7 @@ const NDropdownGroup = defineComponent({
85971
85994
  } = child;
85972
85995
  if (rawNode.show === false) return null;
85973
85996
  if (isDividerNode(rawNode)) {
85974
- return h$1(NDropdownDivider, {
85997
+ return h(NDropdownDivider, {
85975
85998
  clsPrefix,
85976
85999
  key: child.key
85977
86000
  });
@@ -85980,7 +86003,7 @@ const NDropdownGroup = defineComponent({
85980
86003
  warn("dropdown", "`group` node is not allowed to be put in `group` node.");
85981
86004
  return null;
85982
86005
  }
85983
- return h$1(NDropdownOption, {
86006
+ return h(NDropdownOption, {
85984
86007
  clsPrefix,
85985
86008
  tmNode: child,
85986
86009
  parentKey,
@@ -86004,7 +86027,7 @@ const NDropdownRenderOption = defineComponent({
86004
86027
  props
86005
86028
  }
86006
86029
  } = this.tmNode;
86007
- return h$1("div", props, [render2 === null || render2 === void 0 ? void 0 : render2()]);
86030
+ return h("div", props, [render2 === null || render2 === void 0 ? void 0 : render2()]);
86008
86031
  }
86009
86032
  });
86010
86033
  const NDropdownMenu = defineComponent({
@@ -86085,26 +86108,26 @@ const NDropdownMenu = defineComponent({
86085
86108
  } = tmNode;
86086
86109
  if (rawNode.show === false) return null;
86087
86110
  if (isRenderNode(rawNode)) {
86088
- return h$1(NDropdownRenderOption, {
86111
+ return h(NDropdownRenderOption, {
86089
86112
  tmNode,
86090
86113
  key: tmNode.key
86091
86114
  });
86092
86115
  }
86093
86116
  if (isDividerNode(rawNode)) {
86094
- return h$1(NDropdownDivider, {
86117
+ return h(NDropdownDivider, {
86095
86118
  clsPrefix,
86096
86119
  key: tmNode.key
86097
86120
  });
86098
86121
  }
86099
86122
  if (isGroupNode(rawNode)) {
86100
- return h$1(NDropdownGroup, {
86123
+ return h(NDropdownGroup, {
86101
86124
  clsPrefix,
86102
86125
  tmNode,
86103
86126
  parentKey,
86104
86127
  key: tmNode.key
86105
86128
  });
86106
86129
  }
86107
- return h$1(NDropdownOption, {
86130
+ return h(NDropdownOption, {
86108
86131
  clsPrefix,
86109
86132
  tmNode,
86110
86133
  parentKey,
@@ -86113,10 +86136,10 @@ const NDropdownMenu = defineComponent({
86113
86136
  scrollable
86114
86137
  });
86115
86138
  });
86116
- return h$1("div", {
86139
+ return h("div", {
86117
86140
  class: [`${clsPrefix}-dropdown-menu`, scrollable && `${clsPrefix}-dropdown-menu--scrollable`],
86118
86141
  ref: "bodyRef"
86119
- }, scrollable ? h$1(XScrollbar, {
86142
+ }, scrollable ? h(XScrollbar, {
86120
86143
  contentClass: `${clsPrefix}-dropdown-menu__content`
86121
86144
  }, {
86122
86145
  default: () => menuOptionsNode
@@ -86584,7 +86607,7 @@ const NDropdown = defineComponent({
86584
86607
  onMouseenter,
86585
86608
  onMouseleave
86586
86609
  };
86587
- return h$1(NDropdownMenu, mergeProps(this.$attrs, dropdownProps2, menuNodeProps));
86610
+ return h(NDropdownMenu, mergeProps(this.$attrs, dropdownProps2, menuNodeProps));
86588
86611
  };
86589
86612
  const {
86590
86613
  mergedTheme
@@ -86598,7 +86621,7 @@ const NDropdown = defineComponent({
86598
86621
  onUpdateShow: this.doUpdateShow,
86599
86622
  "onUpdate:show": void 0
86600
86623
  };
86601
- return h$1(NPopover, Object.assign({}, keep(this.$props, popoverPropKeys), popoverProps2), {
86624
+ return h(NPopover, Object.assign({}, keep(this.$props, popoverPropKeys), popoverProps2), {
86602
86625
  trigger: () => {
86603
86626
  var _a2, _b;
86604
86627
  return (_b = (_a2 = this.$slots).default) === null || _b === void 0 ? void 0 : _b.call(_a2);
@@ -86740,12 +86763,12 @@ const NSkeleton = defineComponent({
86740
86763
  mergedClsPrefix,
86741
86764
  $attrs
86742
86765
  } = this;
86743
- const child = h$1("div", mergeProps({
86766
+ const child = h("div", mergeProps({
86744
86767
  class: `${mergedClsPrefix}-skeleton`,
86745
86768
  style: style2
86746
86769
  }, $attrs));
86747
86770
  if (repeatProp > 1) {
86748
- return h$1(Fragment$1, null, repeat(repeatProp, null).map((_2) => [child, "\n"]));
86771
+ return h(Fragment$1, null, repeat(repeatProp, null).map((_2) => [child, "\n"]));
86749
86772
  }
86750
86773
  return child;
86751
86774
  }
@@ -88659,8 +88682,8 @@ const renderColorOptions = (superToolbar, button, customIcons = [], hasNoneIcon
88659
88682
  superToolbar.emitCommand({ item: button, argument: e });
88660
88683
  closeDropdown$1(button);
88661
88684
  };
88662
- return h$1("div", {}, [
88663
- h$1(IconGrid, {
88685
+ return h("div", {}, [
88686
+ h(IconGrid, {
88664
88687
  icons,
88665
88688
  customIcons,
88666
88689
  activeColor: button.iconColor,
@@ -89132,8 +89155,8 @@ const makeDefaultItems = ({
89132
89155
  const handleClose = () => {
89133
89156
  closeDropdown(aiButton);
89134
89157
  };
89135
- return h$1("div", {}, [
89136
- h$1(AIWriter, {
89158
+ return h("div", {}, [
89159
+ h(AIWriter, {
89137
89160
  handleClose,
89138
89161
  selectedText,
89139
89162
  editor: superToolbar.activeEditor,
@@ -89309,8 +89332,8 @@ const makeDefaultItems = ({
89309
89332
  const handleSubmit = ({ value }) => {
89310
89333
  superToolbar.activeEditor.commands.search(value);
89311
89334
  };
89312
- return h$1("div", {}, [
89313
- h$1(SearchInput, {
89335
+ return h("div", {}, [
89336
+ h(SearchInput, {
89314
89337
  onSubmit: handleSubmit,
89315
89338
  searchRef
89316
89339
  })
@@ -89342,8 +89365,8 @@ const makeDefaultItems = ({
89342
89365
  }
89343
89366
  });
89344
89367
  function renderLinkDropdown(link2) {
89345
- return h$1("div", {}, [
89346
- h$1(LinkInput, {
89368
+ return h("div", {}, [
89369
+ h(LinkInput, {
89347
89370
  editor: superToolbar.activeEditor,
89348
89371
  closePopover: () => closeDropdown(link2),
89349
89372
  goToAnchor: () => {
@@ -89400,8 +89423,8 @@ const makeDefaultItems = ({
89400
89423
  superToolbar.emitCommand({ item: tableItem2, argument: e });
89401
89424
  closeDropdown(tableItem2);
89402
89425
  };
89403
- return h$1("div", {}, [
89404
- h$1(TableGrid, {
89426
+ return h("div", {}, [
89427
+ h(TableGrid, {
89405
89428
  onSelect: handleSelect
89406
89429
  })
89407
89430
  ]);
@@ -89528,7 +89551,7 @@ const makeDefaultItems = ({
89528
89551
  }
89529
89552
  ];
89530
89553
  function renderTableActions(tableActionsItem2) {
89531
- return h$1(TableActions, {
89554
+ return h(TableActions, {
89532
89555
  options: tableActionsOptions2,
89533
89556
  onSelect: (event) => {
89534
89557
  closeDropdown(tableActionsItem2);
@@ -89561,8 +89584,8 @@ const makeDefaultItems = ({
89561
89584
  superToolbar.emitCommand({ item: buttonWithCommand, argument: e });
89562
89585
  setAlignmentIcon(alignment2, e);
89563
89586
  };
89564
- return h$1("div", {}, [
89565
- h$1(AlignmentButtons, {
89587
+ return h("div", {}, [
89588
+ h(AlignmentButtons, {
89566
89589
  onSelect: handleSelect
89567
89590
  })
89568
89591
  ]);
@@ -89838,7 +89861,7 @@ const makeDefaultItems = ({
89838
89861
  ];
89839
89862
  function renderDocumentMode(renderDocumentButton) {
89840
89863
  const optionsAfterRole = getDocumentOptionsAfterRole(role, documentOptions);
89841
- return h$1(DocumentMode, {
89864
+ return h(DocumentMode, {
89842
89865
  options: optionsAfterRole,
89843
89866
  onSelect: (item) => {
89844
89867
  closeDropdown(renderDocumentButton);
@@ -89909,8 +89932,8 @@ const makeDefaultItems = ({
89909
89932
  superToolbar.emitCommand({ item: itemWithCommand, argument: style2 });
89910
89933
  selectedLinkedStyle.value = style2.id;
89911
89934
  };
89912
- return h$1("div", {}, [
89913
- h$1(LinkedStyle, {
89935
+ return h("div", {}, [
89936
+ h(LinkedStyle, {
89914
89937
  editor: superToolbar.activeEditor,
89915
89938
  onSelect: handleSelect,
89916
89939
  selectedOption: selectedLinkedStyle.value
@@ -89928,7 +89951,7 @@ const makeDefaultItems = ({
89928
89951
  });
89929
89952
  const renderIcon = (value, selectedValue) => {
89930
89953
  if (selectedValue.value.toString() !== value) return;
89931
- return h$1("div", { innerHTML: checkIconSvg, class: "dropdown-select-icon" });
89954
+ return h("div", { innerHTML: checkIconSvg, class: "dropdown-select-icon" });
89932
89955
  };
89933
89956
  const lineHeight2 = useToolbarItem({
89934
89957
  type: "dropdown",