superdoc 0.34.5 → 0.34.6-RC1

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-DRQmW5MW.cjs → PdfViewer-Cdq6hWaP.cjs} +2 -2
  2. package/dist/chunks/{PdfViewer-DTAOrhGM.es.js → PdfViewer-Yy390Dyv.es.js} +2 -2
  3. package/dist/chunks/{eventemitter3-hYlnBzSA.es.js → eventemitter3-BZXKb7j7.es.js} +1 -1
  4. package/dist/chunks/{eventemitter3-DmHNHvFX.cjs → eventemitter3-CFCpOk3d.cjs} +1 -1
  5. package/dist/chunks/{index-wvwkg6PD.es.js → index-M9d0bJ9k.es.js} +12 -7
  6. package/dist/chunks/{index-C_RM2IcG.cjs → index-QkGtTLUE.cjs} +12 -7
  7. package/dist/chunks/{index-BO0dc2dg-BiqxnA1k.cjs → index-_8cQcYzu-CB4RkW2W.cjs} +1 -1
  8. package/dist/chunks/{index-BO0dc2dg-DpvJHkle.es.js → index-_8cQcYzu-Dj8Emsl2.es.js} +1 -1
  9. package/dist/chunks/{jszip-BP2FTbpi.cjs → jszip-B99MTu59.cjs} +1 -1
  10. package/dist/chunks/{jszip-jKrsZoMS.es.js → jszip-Duxs2YMV.es.js} +1 -1
  11. package/dist/chunks/{super-editor.es-VtmcJzKs.cjs → super-editor.es-C-hpEM8j.cjs} +745 -623
  12. package/dist/chunks/{super-editor.es-CfMROBHl.es.js → super-editor.es-kNY6AOSu.es.js} +698 -576
  13. package/dist/chunks/{vue-Cwv-wUpm.cjs → vue-ARQSyfaw.cjs} +2401 -2360
  14. package/dist/chunks/{vue-CKmzTNVs.es.js → vue-B5QAf5pA.es.js} +2401 -2360
  15. package/dist/chunks/xml-js-CVyfrKaV.es.js +2 -0
  16. package/dist/chunks/xml-js-DQa4Ye5C.cjs +3 -0
  17. package/dist/packages/superdoc/src/components/CommentsLayer/use-comment.d.ts.map +1 -1
  18. package/dist/packages/superdoc/src/core/SuperDoc.d.ts.map +1 -1
  19. package/dist/packages/superdoc/src/core/types/index.d.ts.map +1 -1
  20. package/dist/packages/superdoc/src/stores/comments-store.d.ts.map +1 -1
  21. package/dist/super-editor/ai-writer.es.js +2 -2
  22. package/dist/super-editor/chunks/{converter-PA_XpTWF.js → converter-Ddl2ZmKy.js} +397 -296
  23. package/dist/super-editor/chunks/{docx-zipper-gaQWcuwh.js → docx-zipper-D1BgiAWm.js} +1 -1
  24. package/dist/super-editor/chunks/{editor-CAqYW4R2.js → editor-B2T2u3JG.js} +35 -14
  25. package/dist/super-editor/chunks/{index-BO0dc2dg.js → index-_8cQcYzu.js} +1 -1
  26. package/dist/super-editor/chunks/{toolbar-BgNvrbei.js → toolbar-hyRTdNjv.js} +2 -2
  27. package/dist/super-editor/converter.es.js +1 -1
  28. package/dist/super-editor/docx-zipper.es.js +2 -2
  29. package/dist/super-editor/editor.es.js +3 -3
  30. package/dist/super-editor/file-zipper.es.js +1 -1
  31. package/dist/super-editor/super-editor/src/core/super-converter/helpers.d.ts.map +1 -1
  32. package/dist/super-editor/super-editor/src/core/super-converter/v2/exporter/commentsExporter.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 +1092 -925
  41. package/dist/superdoc.umd.js.map +1 -1
  42. package/package.json +1 -1
  43. package/dist/chunks/xml-js-BSDu25I7.cjs +0 -3
  44. package/dist/chunks/xml-js-CBrRls0f.es.js +0 -2
@@ -434,17 +434,17 @@
434
434
  );
435
435
  }
436
436
  if (a2 === b2) return 0;
437
- let x = a2.length;
437
+ let x2 = a2.length;
438
438
  let y2 = b2.length;
439
- for (let i2 = 0, len2 = Math.min(x, y2); i2 < len2; ++i2) {
439
+ for (let i2 = 0, len2 = Math.min(x2, y2); i2 < len2; ++i2) {
440
440
  if (a2[i2] !== b2[i2]) {
441
- x = a2[i2];
441
+ x2 = a2[i2];
442
442
  y2 = b2[i2];
443
443
  break;
444
444
  }
445
445
  }
446
- if (x < y2) return -1;
447
- if (y2 < x) return 1;
446
+ if (x2 < y2) return -1;
447
+ if (y2 < x2) return 1;
448
448
  return 0;
449
449
  };
450
450
  Buffer3.isEncoding = function isEncoding(encoding) {
@@ -693,20 +693,20 @@
693
693
  thisStart >>>= 0;
694
694
  thisEnd >>>= 0;
695
695
  if (this === target) return 0;
696
- let x = thisEnd - thisStart;
696
+ let x2 = thisEnd - thisStart;
697
697
  let y2 = end2 - start2;
698
- const len2 = Math.min(x, y2);
698
+ const len2 = Math.min(x2, y2);
699
699
  const thisCopy = this.slice(thisStart, thisEnd);
700
700
  const targetCopy = target.slice(start2, end2);
701
701
  for (let i2 = 0; i2 < len2; ++i2) {
702
702
  if (thisCopy[i2] !== targetCopy[i2]) {
703
- x = thisCopy[i2];
703
+ x2 = thisCopy[i2];
704
704
  y2 = targetCopy[i2];
705
705
  break;
706
706
  }
707
707
  }
708
- if (x < y2) return -1;
709
- if (y2 < x) return 1;
708
+ if (x2 < y2) return -1;
709
+ if (y2 < x2) return 1;
710
710
  return 0;
711
711
  };
712
712
  function bidirectionalIndexOf(buffer2, val, byteOffset, encoding, dir) {
@@ -1796,8 +1796,8 @@
1796
1796
  })(buffer);
1797
1797
  const Buffer2 = buffer.Buffer;
1798
1798
  var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
1799
- function getDefaultExportFromCjs$2(x) {
1800
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
1799
+ function getDefaultExportFromCjs$2(x2) {
1800
+ return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
1801
1801
  }
1802
1802
  var sax = {};
1803
1803
  var events$2 = { exports: {} };
@@ -1805,13 +1805,13 @@
1805
1805
  function requireEvents() {
1806
1806
  if (hasRequiredEvents) return events$2.exports;
1807
1807
  hasRequiredEvents = 1;
1808
- var R2 = typeof Reflect === "object" ? Reflect : null;
1809
- var ReflectApply = R2 && typeof R2.apply === "function" ? R2.apply : function ReflectApply2(target, receiver, args) {
1808
+ var R = typeof Reflect === "object" ? Reflect : null;
1809
+ var ReflectApply = R && typeof R.apply === "function" ? R.apply : function ReflectApply2(target, receiver, args) {
1810
1810
  return Function.prototype.apply.call(target, receiver, args);
1811
1811
  };
1812
1812
  var ReflectOwnKeys;
1813
- if (R2 && typeof R2.ownKeys === "function") {
1814
- ReflectOwnKeys = R2.ownKeys;
1813
+ if (R && typeof R.ownKeys === "function") {
1814
+ ReflectOwnKeys = R.ownKeys;
1815
1815
  } else if (Object.getOwnPropertySymbols) {
1816
1816
  ReflectOwnKeys = function ReflectOwnKeys2(target) {
1817
1817
  return Object.getOwnPropertyNames(target).concat(Object.getOwnPropertySymbols(target));
@@ -2201,8 +2201,8 @@
2201
2201
  }
2202
2202
  return inherits_browser.exports;
2203
2203
  }
2204
- function getDefaultExportFromCjs$1(x) {
2205
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
2204
+ function getDefaultExportFromCjs$1(x2) {
2205
+ return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
2206
2206
  }
2207
2207
  var browser$1 = { exports: {} };
2208
2208
  var process$2 = browser$1.exports = {};
@@ -2783,17 +2783,17 @@
2783
2783
  );
2784
2784
  }
2785
2785
  if (a2 === b2) return 0;
2786
- let x = a2.length;
2786
+ let x2 = a2.length;
2787
2787
  let y2 = b2.length;
2788
- for (let i22 = 0, len22 = Math.min(x, y2); i22 < len22; ++i22) {
2788
+ for (let i22 = 0, len22 = Math.min(x2, y2); i22 < len22; ++i22) {
2789
2789
  if (a2[i22] !== b2[i22]) {
2790
- x = a2[i22];
2790
+ x2 = a2[i22];
2791
2791
  y2 = b2[i22];
2792
2792
  break;
2793
2793
  }
2794
2794
  }
2795
- if (x < y2) return -1;
2796
- if (y2 < x) return 1;
2795
+ if (x2 < y2) return -1;
2796
+ if (y2 < x2) return 1;
2797
2797
  return 0;
2798
2798
  };
2799
2799
  Buffer4.isEncoding = function isEncoding(encoding) {
@@ -3042,20 +3042,20 @@
3042
3042
  thisStart >>>= 0;
3043
3043
  thisEnd >>>= 0;
3044
3044
  if (this === target) return 0;
3045
- let x = thisEnd - thisStart;
3045
+ let x2 = thisEnd - thisStart;
3046
3046
  let y2 = end2 - start2;
3047
- const len22 = Math.min(x, y2);
3047
+ const len22 = Math.min(x2, y2);
3048
3048
  const thisCopy = this.slice(thisStart, thisEnd);
3049
3049
  const targetCopy = target.slice(start2, end2);
3050
3050
  for (let i22 = 0; i22 < len22; ++i22) {
3051
3051
  if (thisCopy[i22] !== targetCopy[i22]) {
3052
- x = thisCopy[i22];
3052
+ x2 = thisCopy[i22];
3053
3053
  y2 = targetCopy[i22];
3054
3054
  break;
3055
3055
  }
3056
3056
  }
3057
- if (x < y2) return -1;
3058
- if (y2 < x) return 1;
3057
+ if (x2 < y2) return -1;
3058
+ if (y2 < x2) return 1;
3059
3059
  return 0;
3060
3060
  };
3061
3061
  function bidirectionalIndexOf(buffer3, val, byteOffset, encoding, dir) {
@@ -4627,15 +4627,15 @@
4627
4627
  var reflectGetProto = requireReflect_getPrototypeOf();
4628
4628
  var originalGetProto = requireObject_getPrototypeOf();
4629
4629
  var getDunderProto = /* @__PURE__ */ requireGet();
4630
- getProto$1 = reflectGetProto ? function getProto2(O2) {
4631
- return reflectGetProto(O2);
4632
- } : originalGetProto ? function getProto2(O2) {
4633
- if (!O2 || typeof O2 !== "object" && typeof O2 !== "function") {
4630
+ getProto$1 = reflectGetProto ? function getProto2(O) {
4631
+ return reflectGetProto(O);
4632
+ } : originalGetProto ? function getProto2(O) {
4633
+ if (!O || typeof O !== "object" && typeof O !== "function") {
4634
4634
  throw new TypeError("getProto: not an object");
4635
4635
  }
4636
- return originalGetProto(O2);
4637
- } : getDunderProto ? function getProto2(O2) {
4638
- return getDunderProto(O2);
4636
+ return originalGetProto(O);
4637
+ } : getDunderProto ? function getProto2(O) {
4638
+ return getDunderProto(O);
4639
4639
  } : null;
4640
4640
  return getProto$1;
4641
4641
  }
@@ -5313,8 +5313,8 @@
5313
5313
  }
5314
5314
  }
5315
5315
  };
5316
- function isArray2(x) {
5317
- return toStr.call(x) === "[object Array]";
5316
+ function isArray2(x2) {
5317
+ return toStr.call(x2) === "[object Array]";
5318
5318
  }
5319
5319
  forEach = function forEach2(list2, iterator2, thisArg) {
5320
5320
  if (!isCallable2(iterator2)) {
@@ -5923,10 +5923,10 @@
5923
5923
  var i2 = 1;
5924
5924
  var args = arguments;
5925
5925
  var len2 = args.length;
5926
- var str = String(f2).replace(formatRegExp, function(x2) {
5927
- if (x2 === "%%") return "%";
5928
- if (i2 >= len2) return x2;
5929
- switch (x2) {
5926
+ var str = String(f2).replace(formatRegExp, function(x3) {
5927
+ if (x3 === "%%") return "%";
5928
+ if (i2 >= len2) return x3;
5929
+ switch (x3) {
5930
5930
  case "%s":
5931
5931
  return String(args[i2++]);
5932
5932
  case "%d":
@@ -5938,14 +5938,14 @@
5938
5938
  return "[Circular]";
5939
5939
  }
5940
5940
  default:
5941
- return x2;
5941
+ return x3;
5942
5942
  }
5943
5943
  });
5944
- for (var x = args[i2]; i2 < len2; x = args[++i2]) {
5945
- if (isNull(x) || !isObject2(x)) {
5946
- str += " " + x;
5944
+ for (var x2 = args[i2]; i2 < len2; x2 = args[++i2]) {
5945
+ if (isNull(x2) || !isObject2(x2)) {
5946
+ str += " " + x2;
5947
5947
  } else {
5948
- str += " " + inspect2(x);
5948
+ str += " " + inspect2(x2);
5949
5949
  }
5950
5950
  }
5951
5951
  return str;
@@ -7510,6 +7510,7 @@
7510
7510
  }
7511
7511
  var string_decoder = {};
7512
7512
  var safeBuffer = { exports: {} };
7513
+ /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
7513
7514
  var hasRequiredSafeBuffer;
7514
7515
  function requireSafeBuffer() {
7515
7516
  if (hasRequiredSafeBuffer) return safeBuffer.exports;
@@ -7531,6 +7532,7 @@
7531
7532
  function SafeBuffer(arg, encodingOrOffset, length2) {
7532
7533
  return Buffer3(arg, encodingOrOffset, length2);
7533
7534
  }
7535
+ SafeBuffer.prototype = Object.create(Buffer3.prototype);
7534
7536
  copyProps(Buffer3, SafeBuffer);
7535
7537
  SafeBuffer.from = function(arg, encodingOrOffset, length2) {
7536
7538
  if (typeof arg === "number") {
@@ -8808,9 +8810,9 @@
8808
8810
  return from2(Readable, iterable, opts);
8809
8811
  };
8810
8812
  }
8811
- function indexOf(xs, x) {
8813
+ function indexOf(xs, x2) {
8812
8814
  for (var i2 = 0, l3 = xs.length; i2 < l3; i2++) {
8813
- if (xs[i2] === x) return i2;
8815
+ if (xs[i2] === x2) return i2;
8814
8816
  }
8815
8817
  return -1;
8816
8818
  }
@@ -9268,27 +9270,27 @@
9268
9270
  this._parser = new SAXParser(strict, opt);
9269
9271
  this.writable = true;
9270
9272
  this.readable = true;
9271
- var me = this;
9273
+ var me2 = this;
9272
9274
  this._parser.onend = function() {
9273
- me.emit("end");
9275
+ me2.emit("end");
9274
9276
  };
9275
9277
  this._parser.onerror = function(er) {
9276
- me.emit("error", er);
9277
- me._parser.error = null;
9278
+ me2.emit("error", er);
9279
+ me2._parser.error = null;
9278
9280
  };
9279
9281
  this._decoder = null;
9280
9282
  streamWraps.forEach(function(ev) {
9281
- Object.defineProperty(me, "on" + ev, {
9283
+ Object.defineProperty(me2, "on" + ev, {
9282
9284
  get: function() {
9283
- return me._parser["on" + ev];
9285
+ return me2._parser["on" + ev];
9284
9286
  },
9285
9287
  set: function(h2) {
9286
9288
  if (!h2) {
9287
- me.removeAllListeners(ev);
9288
- me._parser["on" + ev] = h2;
9289
+ me2.removeAllListeners(ev);
9290
+ me2._parser["on" + ev] = h2;
9289
9291
  return h2;
9290
9292
  }
9291
- me.on(ev, h2);
9293
+ me2.on(ev, h2);
9292
9294
  },
9293
9295
  enumerable: true,
9294
9296
  configurable: false
@@ -9320,15 +9322,15 @@
9320
9322
  return true;
9321
9323
  };
9322
9324
  SAXStream.prototype.on = function(ev, handler2) {
9323
- var me = this;
9324
- if (!me._parser["on" + ev] && streamWraps.indexOf(ev) !== -1) {
9325
- me._parser["on" + ev] = function() {
9325
+ var me2 = this;
9326
+ if (!me2._parser["on" + ev] && streamWraps.indexOf(ev) !== -1) {
9327
+ me2._parser["on" + ev] = function() {
9326
9328
  var args = arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments);
9327
9329
  args.splice(0, 0, ev);
9328
- me.emit.apply(me, args);
9330
+ me2.emit.apply(me2, args);
9329
9331
  };
9330
9332
  }
9331
- return Stream.prototype.on.call(me, ev, handler2);
9333
+ return Stream.prototype.on.call(me2, ev, handler2);
9332
9334
  };
9333
9335
  var CDATA = "[CDATA[";
9334
9336
  var DOCTYPE = "DOCTYPE";
@@ -9920,9 +9922,9 @@
9920
9922
  var tag = parser.tag = parser.tags.pop();
9921
9923
  parser.tagName = parser.tag.name;
9922
9924
  emitNode(parser, "onclosetag", parser.tagName);
9923
- var x = {};
9925
+ var x2 = {};
9924
9926
  for (var i2 in tag.ns) {
9925
- x[i2] = tag.ns[i2];
9927
+ x2[i2] = tag.ns[i2];
9926
9928
  }
9927
9929
  var parent = parser.tags[parser.tags.length - 1] || parser;
9928
9930
  if (parser.opt.xmlns && tag.ns !== parent.ns) {
@@ -11402,8 +11404,8 @@
11402
11404
  rnds[8] = rnds[8] & 63 | 128;
11403
11405
  return unsafeStringify$1(rnds);
11404
11406
  }
11405
- function getDefaultExportFromCjs$3(x) {
11406
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
11407
+ function getDefaultExportFromCjs$3(x2) {
11408
+ return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
11407
11409
  }
11408
11410
  const CRC_TABLE = new Int32Array([
11409
11411
  0,
@@ -15219,8 +15221,8 @@
15219
15221
  const points = [];
15220
15222
  polygonNode.elements.forEach((element2) => {
15221
15223
  if (["wp:start", "wp:lineTo"].includes(element2.name)) {
15222
- const { x, y: y2 } = element2.attributes;
15223
- points.push([polygonUnitsToPixels(x), polygonUnitsToPixels(y2)]);
15224
+ const { x: x2, y: y2 } = element2.attributes;
15225
+ points.push([polygonUnitsToPixels(x2), polygonUnitsToPixels(y2)]);
15224
15226
  }
15225
15227
  });
15226
15228
  if (points.length > 1) {
@@ -15243,13 +15245,13 @@
15243
15245
  elements: []
15244
15246
  };
15245
15247
  points.forEach((point2, index2) => {
15246
- const [x, y2] = point2;
15248
+ const [x2, y2] = point2;
15247
15249
  const tagName = index2 === 0 ? "wp:start" : "wp:lineTo";
15248
15250
  const pointNode = {
15249
15251
  name: tagName,
15250
15252
  type: tagName,
15251
15253
  attributes: {
15252
- x: pixelsToPolygonUnits(x),
15254
+ x: pixelsToPolygonUnits(x2),
15253
15255
  y: pixelsToPolygonUnits(y2)
15254
15256
  }
15255
15257
  };
@@ -15398,6 +15400,9 @@
15398
15400
  let [value, unit] = parseSizeUnit(lineHeight2);
15399
15401
  if (Number.isNaN(value) || value === 0) return {};
15400
15402
  if (lineRule === "atLeast" && value < 1) return {};
15403
+ if (!unit && value < 1) {
15404
+ value = 1;
15405
+ }
15401
15406
  unit = unit ? unit : defaultUnit;
15402
15407
  return isObject2 ? { ["line-height"]: `${value}${unit}` } : `line-height: ${value}${unit}`;
15403
15408
  };
@@ -22911,7 +22916,7 @@
22911
22916
  const right2 = Math.max(start2.right, end2.right);
22912
22917
  const width = right2 - left2;
22913
22918
  const height = bottom2 - top2;
22914
- const x = left2;
22919
+ const x2 = left2;
22915
22920
  const y2 = top2;
22916
22921
  const data = {
22917
22922
  top: top2,
@@ -22920,7 +22925,7 @@
22920
22925
  right: right2,
22921
22926
  width,
22922
22927
  height,
22923
- x,
22928
+ x: x2,
22924
22929
  y: y2
22925
22930
  };
22926
22931
  return {
@@ -23009,25 +23014,31 @@
23009
23014
  function L() {
23010
23015
  return { async: false, breaks: false, extensions: null, gfm: true, hooks: null, pedantic: false, renderer: null, silent: false, tokenizer: null, walkTokens: null };
23011
23016
  }
23012
- var O = L();
23017
+ var T = L();
23013
23018
  function G(l3) {
23014
- O = l3;
23019
+ T = l3;
23015
23020
  }
23016
23021
  var E = { exec: () => null };
23017
- function h$2(l3, e = "") {
23022
+ function d$1(l3, e = "") {
23018
23023
  let t = typeof l3 == "string" ? l3 : l3.source, n = { replace: (r2, i2) => {
23019
23024
  let s2 = typeof i2 == "string" ? i2 : i2.source;
23020
23025
  return s2 = s2.replace(m.caret, "$1"), t = t.replace(r2, s2), n;
23021
23026
  }, getRegex: () => new RegExp(t, e) };
23022
23027
  return n;
23023
23028
  }
23024
- 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$2(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$2(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$2(/^ {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$2(/^( {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$2("^ {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$2(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$2(/^( {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$1 = h$2("^ *([^\\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$1, paragraph: h$2(F).replace("hr", C).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", re$1).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$2(`^ *(?: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$2(F).replace("hr", C).replace("heading", ` *#{1,6} *[^
23025
- ]`).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$2(/^((?![*_])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$2(pe, "u").replace(/punct/g, D).getRegex(), ve = h$2(pe, "u").replace(/punct/g, ue).getRegex(), ce = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", De = h$2(ce, "gu").replace(/notPunctSpace/g, le).replace(/punctSpace/g, W).replace(/punct/g, D).getRegex(), He = h$2(ce, "gu").replace(/notPunctSpace/g, Ie).replace(/punctSpace/g, Ce).replace(/punct/g, ue).getRegex(), Ze = h$2("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)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$2(/\\(punct)/, "gu").replace(/punct/g, D).getRegex(), Ne = h$2(/^<(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$2(U).replace("(?:-->|$)", "-->").getRegex(), Fe = h$2("^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$1 = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`[^`]*`|[^\[\]\\`])*?/, Qe = h$2(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", q$1).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), he$3 = h$2(/^!?\[(label)\]\[(ref)\]/).replace("label", q$1).replace("ref", Q).getRegex(), de = h$2(/^!?\[(ref)\](?:\[\])?/).replace("ref", Q).getRegex(), Ue = h$2("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$2(/^!?\[(label)\]\((.*?)\)/).replace("label", q$1).getRegex(), reflink: h$2(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", q$1).getRegex() }, N = { ...X, emStrongRDelimAst: He, emStrongLDelim: ve, url: h$2(/^((?: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$2(ae).replace("{2,}", "*").getRegex(), text: h$2(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 };
23026
- var Xe = { "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#39;" }, ke = (l3) => Xe[l3];
23029
+ var be = (() => {
23030
+ try {
23031
+ return !!new RegExp("(?<=1)(?<!1)");
23032
+ } catch {
23033
+ return false;
23034
+ }
23035
+ })(), 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$1 = 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$1, paragraph: d$1(j).replace("hr", I).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", re$1).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} *[^
23036
+ ]`).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$1 = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/, Ke = d$1(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", q$1).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), de = d$1(/^!?\[(label)\]\[(ref)\]/).replace("label", q$1).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$1).getRegex(), reflink: d$1(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", q$1).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 };
23037
+ var Ve = { "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#39;" }, ge = (l3) => Ve[l3];
23027
23038
  function w(l3, e) {
23028
23039
  if (e) {
23029
- if (m.escapeTest.test(l3)) return l3.replace(m.escapeReplace, ke);
23030
- } else if (m.escapeTestNoEncode.test(l3)) return l3.replace(m.escapeReplaceNoEncode, ke);
23040
+ if (m.escapeTest.test(l3)) return l3.replace(m.escapeReplace, ge);
23041
+ } else if (m.escapeTestNoEncode.test(l3)) return l3.replace(m.escapeReplaceNoEncode, ge);
23031
23042
  return l3;
23032
23043
  }
23033
23044
  function J(l3) {
@@ -23039,10 +23050,10 @@
23039
23050
  return l3;
23040
23051
  }
23041
23052
  function V(l3, e) {
23042
- let t = l3.replace(m.findPipe, (i2, s2, o) => {
23043
- let a2 = false, u = s2;
23044
- for (; --u >= 0 && o[u] === "\\"; ) a2 = !a2;
23045
- return a2 ? "|" : " |";
23053
+ let t = l3.replace(m.findPipe, (i2, s2, a2) => {
23054
+ let o = false, p2 = s2;
23055
+ for (; --p2 >= 0 && a2[p2] === "\\"; ) o = !o;
23056
+ return o ? "|" : " |";
23046
23057
  }), n = t.split(m.splitPipe), r2 = 0;
23047
23058
  if (n[0].trim() || n.shift(), n.length > 0 && !n.at(-1)?.trim() && n.pop(), e) if (n.length > e) n.splice(e);
23048
23059
  else for (; n.length < e; ) n.push("");
@@ -23060,7 +23071,7 @@
23060
23071
  }
23061
23072
  return l3.slice(0, n - r2);
23062
23073
  }
23063
- function ge(l3, e) {
23074
+ function fe(l3, e) {
23064
23075
  if (l3.indexOf(e[1]) === -1) return -1;
23065
23076
  let t = 0;
23066
23077
  for (let n = 0; n < l3.length; n++) if (l3[n] === "\\") n++;
@@ -23068,13 +23079,13 @@
23068
23079
  else if (l3[n] === e[1] && (t--, t < 0)) return n;
23069
23080
  return t > 0 ? -2 : -1;
23070
23081
  }
23071
- function fe(l3, e, t, n, r2) {
23072
- let i2 = e.href, s2 = e.title || null, o = l3[1].replace(r2.other.outputLinkReplace, "$1");
23082
+ function me(l3, e, t, n, r2) {
23083
+ let i2 = e.href, s2 = e.title || null, a2 = l3[1].replace(r2.other.outputLinkReplace, "$1");
23073
23084
  n.state.inLink = true;
23074
- let a2 = { type: l3[0].charAt(0) === "!" ? "image" : "link", raw: t, href: i2, title: s2, text: o, tokens: n.inlineTokens(o) };
23075
- return n.state.inLink = false, a2;
23085
+ let o = { type: l3[0].charAt(0) === "!" ? "image" : "link", raw: t, href: i2, title: s2, text: a2, tokens: n.inlineTokens(a2) };
23086
+ return n.state.inLink = false, o;
23076
23087
  }
23077
- function Je(l3, e, t) {
23088
+ function Ye(l3, e, t) {
23078
23089
  let n = l3.match(t.other.indentCodeCompensation);
23079
23090
  if (n === null) return e;
23080
23091
  let r2 = n[1];
@@ -23082,8 +23093,8 @@
23082
23093
  `).map((i2) => {
23083
23094
  let s2 = i2.match(t.other.beginningSpace);
23084
23095
  if (s2 === null) return i2;
23085
- let [o] = s2;
23086
- return o.length >= r2.length ? i2.slice(r2.length) : i2;
23096
+ let [a2] = s2;
23097
+ return a2.length >= r2.length ? i2.slice(r2.length) : i2;
23087
23098
  }).join(`
23088
23099
  `);
23089
23100
  }
@@ -23092,7 +23103,7 @@
23092
23103
  __publicField$2(this, "options");
23093
23104
  __publicField$2(this, "rules");
23094
23105
  __publicField$2(this, "lexer");
23095
- this.options = e || O;
23106
+ this.options = e || T;
23096
23107
  }
23097
23108
  space(e) {
23098
23109
  let t = this.rules.block.newline.exec(e);
@@ -23109,7 +23120,7 @@
23109
23120
  fences(e) {
23110
23121
  let t = this.rules.block.fences.exec(e);
23111
23122
  if (t) {
23112
- let n = t[0], r2 = Je(n, t[3] || "", this.rules);
23123
+ let n = t[0], r2 = Ye(n, t[3] || "", this.rules);
23113
23124
  return { type: "code", raw: n, lang: t[2] ? t[2].trim().replace(this.rules.inline.anyPunctuation, "$1") : t[2], text: r2 };
23114
23125
  }
23115
23126
  }
@@ -23136,32 +23147,32 @@
23136
23147
  `).split(`
23137
23148
  `), r2 = "", i2 = "", s2 = [];
23138
23149
  for (; n.length > 0; ) {
23139
- let o = false, a2 = [], u;
23140
- for (u = 0; u < n.length; u++) if (this.rules.other.blockquoteStart.test(n[u])) a2.push(n[u]), o = true;
23141
- else if (!o) a2.push(n[u]);
23150
+ let a2 = false, o = [], p2;
23151
+ for (p2 = 0; p2 < n.length; p2++) if (this.rules.other.blockquoteStart.test(n[p2])) o.push(n[p2]), a2 = true;
23152
+ else if (!a2) o.push(n[p2]);
23142
23153
  else break;
23143
- n = n.slice(u);
23144
- let p2 = a2.join(`
23145
- `), c2 = p2.replace(this.rules.other.blockquoteSetextReplace, `
23154
+ n = n.slice(p2);
23155
+ let u = o.join(`
23156
+ `), c2 = u.replace(this.rules.other.blockquoteSetextReplace, `
23146
23157
  $1`).replace(this.rules.other.blockquoteSetextReplace2, "");
23147
23158
  r2 = r2 ? `${r2}
23148
- ${p2}` : p2, i2 = i2 ? `${i2}
23159
+ ${u}` : u, i2 = i2 ? `${i2}
23149
23160
  ${c2}` : c2;
23150
- let f2 = this.lexer.state.top;
23151
- if (this.lexer.state.top = true, this.lexer.blockTokens(c2, s2, true), this.lexer.state.top = f2, n.length === 0) break;
23152
- let k2 = s2.at(-1);
23153
- if (k2?.type === "code") break;
23154
- if (k2?.type === "blockquote") {
23155
- let x = k2, g = x.raw + `
23161
+ let g = this.lexer.state.top;
23162
+ if (this.lexer.state.top = true, this.lexer.blockTokens(c2, s2, true), this.lexer.state.top = g, n.length === 0) break;
23163
+ let h2 = s2.at(-1);
23164
+ if (h2?.type === "code") break;
23165
+ if (h2?.type === "blockquote") {
23166
+ let R = h2, f2 = R.raw + `
23156
23167
  ` + n.join(`
23157
- `), T = this.blockquote(g);
23158
- s2[s2.length - 1] = T, r2 = r2.substring(0, r2.length - x.raw.length) + T.raw, i2 = i2.substring(0, i2.length - x.text.length) + T.text;
23168
+ `), O = this.blockquote(f2);
23169
+ s2[s2.length - 1] = O, r2 = r2.substring(0, r2.length - R.raw.length) + O.raw, i2 = i2.substring(0, i2.length - R.text.length) + O.text;
23159
23170
  break;
23160
- } else if (k2?.type === "list") {
23161
- let x = k2, g = x.raw + `
23171
+ } else if (h2?.type === "list") {
23172
+ let R = h2, f2 = R.raw + `
23162
23173
  ` + n.join(`
23163
- `), T = this.list(g);
23164
- s2[s2.length - 1] = T, r2 = r2.substring(0, r2.length - k2.raw.length) + T.raw, i2 = i2.substring(0, i2.length - x.raw.length) + T.raw, n = g.substring(s2.at(-1).raw.length).split(`
23174
+ `), O = this.list(f2);
23175
+ s2[s2.length - 1] = O, r2 = r2.substring(0, r2.length - h2.raw.length) + O.raw, i2 = i2.substring(0, i2.length - R.raw.length) + O.raw, n = f2.substring(s2.at(-1).raw.length).split(`
23165
23176
  `);
23166
23177
  continue;
23167
23178
  }
@@ -23174,45 +23185,45 @@ ${c2}` : c2;
23174
23185
  if (t) {
23175
23186
  let n = t[1].trim(), r2 = n.length > 1, i2 = { type: "list", raw: "", ordered: r2, start: r2 ? +n.slice(0, -1) : "", loose: false, items: [] };
23176
23187
  n = r2 ? `\\d{1,9}\\${n.slice(-1)}` : `\\${n}`, this.options.pedantic && (n = r2 ? n : "[*+-]");
23177
- let s2 = this.rules.other.listItemRegex(n), o = false;
23188
+ let s2 = this.rules.other.listItemRegex(n), a2 = false;
23178
23189
  for (; e; ) {
23179
- let u = false, p2 = "", c2 = "";
23190
+ let p2 = false, u = "", c2 = "";
23180
23191
  if (!(t = s2.exec(e)) || this.rules.block.hr.test(e)) break;
23181
- p2 = t[0], e = e.substring(p2.length);
23182
- let f2 = t[2].split(`
23183
- `, 1)[0].replace(this.rules.other.listReplaceTabs, (H) => " ".repeat(3 * H.length)), k2 = e.split(`
23184
- `, 1)[0], x = !f2.trim(), g = 0;
23185
- 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) && (p2 += k2 + `
23186
- `, e = e.substring(k2.length + 1), u = true), !u) {
23187
- 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);
23192
+ u = t[0], e = e.substring(u.length);
23193
+ let g = t[2].split(`
23194
+ `, 1)[0].replace(this.rules.other.listReplaceTabs, (H) => " ".repeat(3 * H.length)), h2 = e.split(`
23195
+ `, 1)[0], R = !g.trim(), f2 = 0;
23196
+ 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 + `
23197
+ `, e = e.substring(h2.length + 1), p2 = true), !p2) {
23198
+ 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);
23188
23199
  for (; e; ) {
23189
23200
  let Z = e.split(`
23190
23201
  `, 1)[0], A2;
23191
- 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;
23192
- if (A2.search(this.rules.other.nonSpaceChar) >= g || !k2.trim()) c2 += `
23193
- ` + A2.slice(g);
23202
+ 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;
23203
+ if (A2.search(this.rules.other.nonSpaceChar) >= f2 || !h2.trim()) c2 += `
23204
+ ` + A2.slice(f2);
23194
23205
  else {
23195
- if (x || f2.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || te.test(f2) || ne.test(f2) || ee.test(f2)) break;
23206
+ if (R || g.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || te.test(g) || ne.test(g) || ee.test(g)) break;
23196
23207
  c2 += `
23197
- ` + k2;
23208
+ ` + h2;
23198
23209
  }
23199
- !x && !k2.trim() && (x = true), p2 += Z + `
23200
- `, e = e.substring(Z.length + 1), f2 = A2.slice(g);
23210
+ !R && !h2.trim() && (R = true), u += Z + `
23211
+ `, e = e.substring(Z.length + 1), g = A2.slice(f2);
23201
23212
  }
23202
23213
  }
23203
- i2.loose || (o ? i2.loose = true : this.rules.other.doubleBlankLine.test(p2) && (o = true));
23204
- let T = null, Y2;
23205
- this.options.gfm && (T = this.rules.other.listIsTask.exec(c2), T && (Y2 = T[0] !== "[ ] ", c2 = c2.replace(this.rules.other.listReplaceTask, ""))), i2.items.push({ type: "list_item", raw: p2, task: !!T, checked: Y2, loose: false, text: c2, tokens: [] }), i2.raw += p2;
23214
+ i2.loose || (a2 ? i2.loose = true : this.rules.other.doubleBlankLine.test(u) && (a2 = true));
23215
+ let O = null, Y2;
23216
+ this.options.gfm && (O = this.rules.other.listIsTask.exec(c2), O && (Y2 = O[0] !== "[ ] ", c2 = c2.replace(this.rules.other.listReplaceTask, ""))), i2.items.push({ type: "list_item", raw: u, task: !!O, checked: Y2, loose: false, text: c2, tokens: [] }), i2.raw += u;
23206
23217
  }
23207
- let a2 = i2.items.at(-1);
23208
- if (a2) a2.raw = a2.raw.trimEnd(), a2.text = a2.text.trimEnd();
23218
+ let o = i2.items.at(-1);
23219
+ if (o) o.raw = o.raw.trimEnd(), o.text = o.text.trimEnd();
23209
23220
  else return;
23210
23221
  i2.raw = i2.raw.trimEnd();
23211
- for (let u = 0; u < i2.items.length; u++) if (this.lexer.state.top = false, i2.items[u].tokens = this.lexer.blockTokens(i2.items[u].text, []), !i2.loose) {
23212
- let p2 = i2.items[u].tokens.filter((f2) => f2.type === "space"), c2 = p2.length > 0 && p2.some((f2) => this.rules.other.anyLine.test(f2.raw));
23222
+ for (let p2 = 0; p2 < i2.items.length; p2++) if (this.lexer.state.top = false, i2.items[p2].tokens = this.lexer.blockTokens(i2.items[p2].text, []), !i2.loose) {
23223
+ let u = i2.items[p2].tokens.filter((g) => g.type === "space"), c2 = u.length > 0 && u.some((g) => this.rules.other.anyLine.test(g.raw));
23213
23224
  i2.loose = c2;
23214
23225
  }
23215
- if (i2.loose) for (let u = 0; u < i2.items.length; u++) i2.items[u].loose = true;
23226
+ if (i2.loose) for (let p2 = 0; p2 < i2.items.length; p2++) i2.items[p2].loose = true;
23216
23227
  return i2;
23217
23228
  }
23218
23229
  }
@@ -23233,9 +23244,9 @@ ${c2}` : c2;
23233
23244
  let n = V(t[1]), r2 = t[2].replace(this.rules.other.tableAlignChars, "").split("|"), i2 = t[3]?.trim() ? t[3].replace(this.rules.other.tableRowBlankLine, "").split(`
23234
23245
  `) : [], s2 = { type: "table", raw: t[0], header: [], align: [], rows: [] };
23235
23246
  if (n.length === r2.length) {
23236
- 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);
23237
- 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] });
23238
- for (let o of i2) s2.rows.push(V(o, s2.header.length).map((a2, u) => ({ text: a2, tokens: this.lexer.inline(a2), header: false, align: s2.align[u] })));
23247
+ for (let a2 of r2) this.rules.other.tableAlignRight.test(a2) ? s2.align.push("right") : this.rules.other.tableAlignCenter.test(a2) ? s2.align.push("center") : this.rules.other.tableAlignLeft.test(a2) ? s2.align.push("left") : s2.align.push(null);
23248
+ for (let a2 = 0; a2 < n.length; a2++) s2.header.push({ text: n[a2], tokens: this.lexer.inline(n[a2]), header: true, align: s2.align[a2] });
23249
+ for (let a2 of i2) s2.rows.push(V(a2, s2.header.length).map((o, p2) => ({ text: o, tokens: this.lexer.inline(o), header: false, align: s2.align[p2] })));
23239
23250
  return s2;
23240
23251
  }
23241
23252
  }
@@ -23272,11 +23283,11 @@ ${c2}` : c2;
23272
23283
  let s2 = z(n.slice(0, -1), "\\");
23273
23284
  if ((n.length - s2.length) % 2 === 0) return;
23274
23285
  } else {
23275
- let s2 = ge(t[2], "()");
23286
+ let s2 = fe(t[2], "()");
23276
23287
  if (s2 === -2) return;
23277
23288
  if (s2 > -1) {
23278
- let a2 = (t[0].indexOf("!") === 0 ? 5 : 4) + t[1].length + s2;
23279
- t[2] = t[2].substring(0, s2), t[0] = t[0].substring(0, a2).trim(), t[3] = "";
23289
+ let o = (t[0].indexOf("!") === 0 ? 5 : 4) + t[1].length + s2;
23290
+ t[2] = t[2].substring(0, s2), t[0] = t[0].substring(0, o).trim(), t[3] = "";
23280
23291
  }
23281
23292
  }
23282
23293
  let r2 = t[2], i2 = "";
@@ -23284,7 +23295,7 @@ ${c2}` : c2;
23284
23295
  let s2 = this.rules.other.pedanticHrefTitle.exec(r2);
23285
23296
  s2 && (r2 = s2[1], i2 = s2[3]);
23286
23297
  } else i2 = t[3] ? t[3].slice(1, -1) : "";
23287
- 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: i2 && i2.replace(this.rules.inline.anyPunctuation, "$1") }, t[0], this.lexer, this.rules);
23298
+ 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: i2 && i2.replace(this.rules.inline.anyPunctuation, "$1") }, t[0], this.lexer, this.rules);
23288
23299
  }
23289
23300
  }
23290
23301
  reflink(e, t) {
@@ -23295,32 +23306,32 @@ ${c2}` : c2;
23295
23306
  let s2 = n[0].charAt(0);
23296
23307
  return { type: "text", raw: s2, text: s2 };
23297
23308
  }
23298
- return fe(n, i2, n[0], this.lexer, this.rules);
23309
+ return me(n, i2, n[0], this.lexer, this.rules);
23299
23310
  }
23300
23311
  }
23301
23312
  emStrong(e, t, n = "") {
23302
23313
  let r2 = this.rules.inline.emStrongLDelim.exec(e);
23303
23314
  if (!r2 || r2[3] && n.match(this.rules.other.unicodeAlphaNumeric)) return;
23304
23315
  if (!(r2[1] || r2[2] || "") || !n || this.rules.inline.punctuation.exec(n)) {
23305
- let s2 = [...r2[0]].length - 1, o, a2, u = s2, p2 = 0, c2 = r2[0][0] === "*" ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
23316
+ let s2 = [...r2[0]].length - 1, a2, o, p2 = s2, u = 0, c2 = r2[0][0] === "*" ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
23306
23317
  for (c2.lastIndex = 0, t = t.slice(-1 * e.length + s2); (r2 = c2.exec(t)) != null; ) {
23307
- if (o = r2[1] || r2[2] || r2[3] || r2[4] || r2[5] || r2[6], !o) continue;
23308
- if (a2 = [...o].length, r2[3] || r2[4]) {
23309
- u += a2;
23318
+ if (a2 = r2[1] || r2[2] || r2[3] || r2[4] || r2[5] || r2[6], !a2) continue;
23319
+ if (o = [...a2].length, r2[3] || r2[4]) {
23320
+ p2 += o;
23310
23321
  continue;
23311
- } else if ((r2[5] || r2[6]) && s2 % 3 && !((s2 + a2) % 3)) {
23312
- p2 += a2;
23322
+ } else if ((r2[5] || r2[6]) && s2 % 3 && !((s2 + o) % 3)) {
23323
+ u += o;
23313
23324
  continue;
23314
23325
  }
23315
- if (u -= a2, u > 0) continue;
23316
- a2 = Math.min(a2, a2 + u + p2);
23317
- let f2 = [...r2[0]][0].length, k2 = e.slice(0, s2 + r2.index + f2 + a2);
23318
- if (Math.min(s2, a2) % 2) {
23319
- let g = k2.slice(1, -1);
23320
- return { type: "em", raw: k2, text: g, tokens: this.lexer.inlineTokens(g) };
23326
+ if (p2 -= o, p2 > 0) continue;
23327
+ o = Math.min(o, o + p2 + u);
23328
+ let g = [...r2[0]][0].length, h2 = e.slice(0, s2 + r2.index + g + o);
23329
+ if (Math.min(s2, o) % 2) {
23330
+ let f2 = h2.slice(1, -1);
23331
+ return { type: "em", raw: h2, text: f2, tokens: this.lexer.inlineTokens(f2) };
23321
23332
  }
23322
- let x = k2.slice(2, -2);
23323
- return { type: "strong", raw: k2, text: x, tokens: this.lexer.inlineTokens(x) };
23333
+ let R = h2.slice(2, -2);
23334
+ return { type: "strong", raw: h2, text: R, tokens: this.lexer.inlineTokens(R) };
23324
23335
  }
23325
23336
  }
23326
23337
  }
@@ -23369,19 +23380,19 @@ ${c2}` : c2;
23369
23380
  }
23370
23381
  }
23371
23382
  };
23372
- var b = class l {
23383
+ var x = class l {
23373
23384
  constructor(e) {
23374
23385
  __publicField$2(this, "tokens");
23375
23386
  __publicField$2(this, "options");
23376
23387
  __publicField$2(this, "state");
23377
23388
  __publicField$2(this, "tokenizer");
23378
23389
  __publicField$2(this, "inlineQueue");
23379
- 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 };
23380
- let t = { other: m, block: I.normal, inline: M$1.normal };
23381
- 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;
23390
+ 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 };
23391
+ let t = { other: m, block: C.normal, inline: M$1.normal };
23392
+ 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;
23382
23393
  }
23383
23394
  static get rules() {
23384
- return { block: I, inline: M$1 };
23395
+ return { block: C, inline: M$1 };
23385
23396
  }
23386
23397
  static lex(e, t) {
23387
23398
  return new l(t).lex(e);
@@ -23461,9 +23472,9 @@ ${c2}` : c2;
23461
23472
  }
23462
23473
  let i2 = e;
23463
23474
  if (this.options.extensions?.startBlock) {
23464
- let s2 = 1 / 0, o = e.slice(1), a2;
23465
- this.options.extensions.startBlock.forEach((u) => {
23466
- a2 = u.call({ lexer: this }, o), typeof a2 == "number" && a2 >= 0 && (s2 = Math.min(s2, a2));
23475
+ let s2 = 1 / 0, a2 = e.slice(1), o;
23476
+ this.options.extensions.startBlock.forEach((p2) => {
23477
+ o = p2.call({ lexer: this }, a2), typeof o == "number" && o >= 0 && (s2 = Math.min(s2, o));
23467
23478
  }), s2 < 1 / 0 && s2 >= 0 && (i2 = e.substring(0, s2 + 1));
23468
23479
  }
23469
23480
  if (this.state.top && (r2 = this.tokenizer.paragraph(i2))) {
@@ -23503,11 +23514,12 @@ ${c2}` : c2;
23503
23514
  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));
23504
23515
  }
23505
23516
  for (; (r2 = this.tokenizer.rules.inline.anyPunctuation.exec(n)) != null; ) n = n.slice(0, r2.index) + "++" + n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);
23506
- 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);
23517
+ let i2;
23518
+ for (; (r2 = this.tokenizer.rules.inline.blockSkip.exec(n)) != null; ) i2 = r2[2] ? r2[2].length : 0, n = n.slice(0, r2.index + i2) + "[" + "a".repeat(r2[0].length - i2 - 2) + "]" + n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);
23507
23519
  n = this.options.hooks?.emStrongMask?.call({ lexer: this }, n) ?? n;
23508
- let i2 = false, s2 = "";
23520
+ let s2 = false, a2 = "";
23509
23521
  for (; e; ) {
23510
- i2 || (s2 = ""), i2 = false;
23522
+ s2 || (a2 = ""), s2 = false;
23511
23523
  let o;
23512
23524
  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;
23513
23525
  if (o = this.tokenizer.escape(e)) {
@@ -23528,7 +23540,7 @@ ${c2}` : c2;
23528
23540
  o.type === "text" && u?.type === "text" ? (u.raw += o.raw, u.text += o.text) : t.push(o);
23529
23541
  continue;
23530
23542
  }
23531
- if (o = this.tokenizer.emStrong(e, n, s2)) {
23543
+ if (o = this.tokenizer.emStrong(e, n, a2)) {
23532
23544
  e = e.substring(o.raw.length), t.push(o);
23533
23545
  continue;
23534
23546
  }
@@ -23552,15 +23564,15 @@ ${c2}` : c2;
23552
23564
  e = e.substring(o.raw.length), t.push(o);
23553
23565
  continue;
23554
23566
  }
23555
- let a2 = e;
23567
+ let p2 = e;
23556
23568
  if (this.options.extensions?.startInline) {
23557
- let u = 1 / 0, p2 = e.slice(1), c2;
23558
- this.options.extensions.startInline.forEach((f2) => {
23559
- c2 = f2.call({ lexer: this }, p2), typeof c2 == "number" && c2 >= 0 && (u = Math.min(u, c2));
23560
- }), u < 1 / 0 && u >= 0 && (a2 = e.substring(0, u + 1));
23569
+ let u = 1 / 0, c2 = e.slice(1), g;
23570
+ this.options.extensions.startInline.forEach((h2) => {
23571
+ g = h2.call({ lexer: this }, c2), typeof g == "number" && g >= 0 && (u = Math.min(u, g));
23572
+ }), u < 1 / 0 && u >= 0 && (p2 = e.substring(0, u + 1));
23561
23573
  }
23562
- if (o = this.tokenizer.inlineText(a2)) {
23563
- e = e.substring(o.raw.length), o.raw.slice(-1) !== "_" && (s2 = o.raw.slice(-1)), i2 = true;
23574
+ if (o = this.tokenizer.inlineText(p2)) {
23575
+ e = e.substring(o.raw.length), o.raw.slice(-1) !== "_" && (a2 = o.raw.slice(-1)), s2 = true;
23564
23576
  let u = t.at(-1);
23565
23577
  u?.type === "text" ? (u.raw += o.raw, u.text += o.text) : t.push(o);
23566
23578
  continue;
@@ -23580,7 +23592,7 @@ ${c2}` : c2;
23580
23592
  constructor(e) {
23581
23593
  __publicField$2(this, "options");
23582
23594
  __publicField$2(this, "parser");
23583
- this.options = e || O;
23595
+ this.options = e || T;
23584
23596
  }
23585
23597
  space(e) {
23586
23598
  return "";
@@ -23613,9 +23625,9 @@ ${this.parser.parse(e)}</blockquote>
23613
23625
  }
23614
23626
  list(e) {
23615
23627
  let t = e.ordered, n = e.start, r2 = "";
23616
- for (let o = 0; o < e.items.length; o++) {
23617
- let a2 = e.items[o];
23618
- r2 += this.listitem(a2);
23628
+ for (let a2 = 0; a2 < e.items.length; a2++) {
23629
+ let o = e.items[a2];
23630
+ r2 += this.listitem(o);
23619
23631
  }
23620
23632
  let i2 = t ? "ol" : "ul", s2 = t && n !== 1 ? ' start="' + n + '"' : "";
23621
23633
  return "<" + i2 + s2 + `>
@@ -23646,7 +23658,7 @@ ${this.parser.parse(e)}</blockquote>
23646
23658
  for (let i2 = 0; i2 < e.rows.length; i2++) {
23647
23659
  let s2 = e.rows[i2];
23648
23660
  n = "";
23649
- for (let o = 0; o < s2.length; o++) n += this.tablecell(s2[o]);
23661
+ for (let a2 = 0; a2 < s2.length; a2++) n += this.tablecell(s2[a2]);
23650
23662
  r2 += this.tablerow({ text: n });
23651
23663
  }
23652
23664
  return r2 && (r2 = `<tbody>${r2}</tbody>`), `<table>
@@ -23728,12 +23740,12 @@ ${e}</tr>
23728
23740
  return "";
23729
23741
  }
23730
23742
  };
23731
- var R = class l2 {
23743
+ var b = class l2 {
23732
23744
  constructor(e) {
23733
23745
  __publicField$2(this, "options");
23734
23746
  __publicField$2(this, "renderer");
23735
23747
  __publicField$2(this, "textRenderer");
23736
- 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 $$1();
23748
+ 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 $$1();
23737
23749
  }
23738
23750
  static parse(e, t) {
23739
23751
  return new l2(t).parse(e);
@@ -23746,9 +23758,9 @@ ${e}</tr>
23746
23758
  for (let r2 = 0; r2 < e.length; r2++) {
23747
23759
  let i2 = e[r2];
23748
23760
  if (this.options.extensions?.renderers?.[i2.type]) {
23749
- let o = i2, a2 = this.options.extensions.renderers[o.type].call({ parser: this }, o);
23750
- if (a2 !== false || !["space", "hr", "heading", "code", "table", "blockquote", "list", "html", "def", "paragraph", "text"].includes(o.type)) {
23751
- n += a2 || "";
23761
+ let a2 = i2, o = this.options.extensions.renderers[a2.type].call({ parser: this }, a2);
23762
+ if (o !== false || !["space", "hr", "heading", "code", "table", "blockquote", "list", "html", "def", "paragraph", "text"].includes(a2.type)) {
23763
+ n += o || "";
23752
23764
  continue;
23753
23765
  }
23754
23766
  }
@@ -23795,16 +23807,16 @@ ${e}</tr>
23795
23807
  continue;
23796
23808
  }
23797
23809
  case "text": {
23798
- let o = s2, a2 = this.renderer.text(o);
23799
- for (; r2 + 1 < e.length && e[r2 + 1].type === "text"; ) o = e[++r2], a2 += `
23800
- ` + this.renderer.text(o);
23801
- t ? n += this.renderer.paragraph({ type: "paragraph", raw: a2, text: a2, tokens: [{ type: "text", raw: a2, text: a2, escaped: true }] }) : n += a2;
23810
+ let a2 = s2, o = this.renderer.text(a2);
23811
+ for (; r2 + 1 < e.length && e[r2 + 1].type === "text"; ) a2 = e[++r2], o += `
23812
+ ` + this.renderer.text(a2);
23813
+ t ? n += this.renderer.paragraph({ type: "paragraph", raw: o, text: o, tokens: [{ type: "text", raw: o, text: o, escaped: true }] }) : n += o;
23802
23814
  continue;
23803
23815
  }
23804
23816
  default: {
23805
- let o = 'Token with "' + s2.type + '" type was not found.';
23806
- if (this.options.silent) return console.error(o), "";
23807
- throw new Error(o);
23817
+ let a2 = 'Token with "' + s2.type + '" type was not found.';
23818
+ if (this.options.silent) return console.error(a2), "";
23819
+ throw new Error(a2);
23808
23820
  }
23809
23821
  }
23810
23822
  }
@@ -23815,9 +23827,9 @@ ${e}</tr>
23815
23827
  for (let r2 = 0; r2 < e.length; r2++) {
23816
23828
  let i2 = e[r2];
23817
23829
  if (this.options.extensions?.renderers?.[i2.type]) {
23818
- let o = this.options.extensions.renderers[i2.type].call({ parser: this }, i2);
23819
- if (o !== false || !["escape", "html", "link", "image", "strong", "em", "codespan", "br", "del", "text"].includes(i2.type)) {
23820
- n += o || "";
23830
+ let a2 = this.options.extensions.renderers[i2.type].call({ parser: this }, i2);
23831
+ if (a2 !== false || !["escape", "html", "link", "image", "strong", "em", "codespan", "br", "del", "text"].includes(i2.type)) {
23832
+ n += a2 || "";
23821
23833
  continue;
23822
23834
  }
23823
23835
  }
@@ -23864,9 +23876,9 @@ ${e}</tr>
23864
23876
  break;
23865
23877
  }
23866
23878
  default: {
23867
- let o = 'Token with "' + s2.type + '" type was not found.';
23868
- if (this.options.silent) return console.error(o), "";
23869
- throw new Error(o);
23879
+ let a2 = 'Token with "' + s2.type + '" type was not found.';
23880
+ if (this.options.silent) return console.error(a2), "";
23881
+ throw new Error(a2);
23870
23882
  }
23871
23883
  }
23872
23884
  }
@@ -23877,7 +23889,7 @@ ${e}</tr>
23877
23889
  constructor(e) {
23878
23890
  __publicField$2(this, "options");
23879
23891
  __publicField$2(this, "block");
23880
- this.options = e || O;
23892
+ this.options = e || T;
23881
23893
  }
23882
23894
  preprocess(e) {
23883
23895
  return e;
@@ -23892,10 +23904,10 @@ ${e}</tr>
23892
23904
  return e;
23893
23905
  }
23894
23906
  provideLexer() {
23895
- return this.block ? b.lex : b.lexInline;
23907
+ return this.block ? x.lex : x.lexInline;
23896
23908
  }
23897
23909
  provideParser() {
23898
- return this.block ? R.parse : R.parseInline;
23910
+ return this.block ? b.parse : b.parseInline;
23899
23911
  }
23900
23912
  }, __publicField$2(_a, "passThroughHooks", /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens", "emStrongMask"])), __publicField$2(_a, "passThroughHooksRespectAsync", /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens"])), _a);
23901
23913
  var B = class {
@@ -23904,10 +23916,10 @@ ${e}</tr>
23904
23916
  __publicField$2(this, "options", this.setOptions);
23905
23917
  __publicField$2(this, "parse", this.parseMarkdown(true));
23906
23918
  __publicField$2(this, "parseInline", this.parseMarkdown(false));
23907
- __publicField$2(this, "Parser", R);
23919
+ __publicField$2(this, "Parser", b);
23908
23920
  __publicField$2(this, "Renderer", P);
23909
23921
  __publicField$2(this, "TextRenderer", $$1);
23910
- __publicField$2(this, "Lexer", b);
23922
+ __publicField$2(this, "Lexer", x);
23911
23923
  __publicField$2(this, "Tokenizer", y);
23912
23924
  __publicField$2(this, "Hooks", S);
23913
23925
  this.use(...e);
@@ -23918,7 +23930,7 @@ ${e}</tr>
23918
23930
  case "table": {
23919
23931
  let i2 = r2;
23920
23932
  for (let s2 of i2.header) n = n.concat(this.walkTokens(s2.tokens, t));
23921
- for (let s2 of i2.rows) for (let o of s2) n = n.concat(this.walkTokens(o.tokens, t));
23933
+ for (let s2 of i2.rows) for (let a2 of s2) n = n.concat(this.walkTokens(a2.tokens, t));
23922
23934
  break;
23923
23935
  }
23924
23936
  case "list": {
@@ -23929,8 +23941,8 @@ ${e}</tr>
23929
23941
  default: {
23930
23942
  let i2 = r2;
23931
23943
  this.defaults.extensions?.childTokens?.[i2.type] ? this.defaults.extensions.childTokens[i2.type].forEach((s2) => {
23932
- let o = i2[s2].flat(1 / 0);
23933
- n = n.concat(this.walkTokens(o, t));
23944
+ let a2 = i2[s2].flat(1 / 0);
23945
+ n = n.concat(this.walkTokens(a2, t));
23934
23946
  }) : i2.tokens && (n = n.concat(this.walkTokens(i2.tokens, t)));
23935
23947
  }
23936
23948
  }
@@ -23944,9 +23956,9 @@ ${e}</tr>
23944
23956
  if (!i2.name) throw new Error("extension name required");
23945
23957
  if ("renderer" in i2) {
23946
23958
  let s2 = t.renderers[i2.name];
23947
- s2 ? t.renderers[i2.name] = function(...o) {
23948
- let a2 = i2.renderer.apply(this, o);
23949
- return a2 === false && (a2 = s2.apply(this, o)), a2;
23959
+ s2 ? t.renderers[i2.name] = function(...a2) {
23960
+ let o = i2.renderer.apply(this, a2);
23961
+ return o === false && (o = s2.apply(this, a2)), o;
23950
23962
  } : t.renderers[i2.name] = i2.renderer;
23951
23963
  }
23952
23964
  if ("tokenizer" in i2) {
@@ -23960,10 +23972,10 @@ ${e}</tr>
23960
23972
  for (let s2 in n.renderer) {
23961
23973
  if (!(s2 in i2)) throw new Error(`renderer '${s2}' does not exist`);
23962
23974
  if (["options", "parser"].includes(s2)) continue;
23963
- let o = s2, a2 = n.renderer[o], u = i2[o];
23964
- i2[o] = (...p2) => {
23965
- let c2 = a2.apply(i2, p2);
23966
- return c2 === false && (c2 = u.apply(i2, p2)), c2 || "";
23975
+ let a2 = s2, o = n.renderer[a2], p2 = i2[a2];
23976
+ i2[a2] = (...u) => {
23977
+ let c2 = o.apply(i2, u);
23978
+ return c2 === false && (c2 = p2.apply(i2, u)), c2 || "";
23967
23979
  };
23968
23980
  }
23969
23981
  r2.renderer = i2;
@@ -23973,10 +23985,10 @@ ${e}</tr>
23973
23985
  for (let s2 in n.tokenizer) {
23974
23986
  if (!(s2 in i2)) throw new Error(`tokenizer '${s2}' does not exist`);
23975
23987
  if (["options", "rules", "lexer"].includes(s2)) continue;
23976
- let o = s2, a2 = n.tokenizer[o], u = i2[o];
23977
- i2[o] = (...p2) => {
23978
- let c2 = a2.apply(i2, p2);
23979
- return c2 === false && (c2 = u.apply(i2, p2)), c2;
23988
+ let a2 = s2, o = n.tokenizer[a2], p2 = i2[a2];
23989
+ i2[a2] = (...u) => {
23990
+ let c2 = o.apply(i2, u);
23991
+ return c2 === false && (c2 = p2.apply(i2, u)), c2;
23980
23992
  };
23981
23993
  }
23982
23994
  r2.tokenizer = i2;
@@ -23986,23 +23998,30 @@ ${e}</tr>
23986
23998
  for (let s2 in n.hooks) {
23987
23999
  if (!(s2 in i2)) throw new Error(`hook '${s2}' does not exist`);
23988
24000
  if (["options", "block"].includes(s2)) continue;
23989
- let o = s2, a2 = n.hooks[o], u = i2[o];
23990
- S.passThroughHooks.has(s2) ? i2[o] = (p2) => {
23991
- if (this.defaults.async && S.passThroughHooksRespectAsync.has(s2)) return Promise.resolve(a2.call(i2, p2)).then((f2) => u.call(i2, f2));
23992
- let c2 = a2.call(i2, p2);
23993
- return u.call(i2, c2);
23994
- } : i2[o] = (...p2) => {
23995
- let c2 = a2.apply(i2, p2);
23996
- return c2 === false && (c2 = u.apply(i2, p2)), c2;
24001
+ let a2 = s2, o = n.hooks[a2], p2 = i2[a2];
24002
+ S.passThroughHooks.has(s2) ? i2[a2] = (u) => {
24003
+ if (this.defaults.async && S.passThroughHooksRespectAsync.has(s2)) return (async () => {
24004
+ let g = await o.call(i2, u);
24005
+ return p2.call(i2, g);
24006
+ })();
24007
+ let c2 = o.call(i2, u);
24008
+ return p2.call(i2, c2);
24009
+ } : i2[a2] = (...u) => {
24010
+ if (this.defaults.async) return (async () => {
24011
+ let g = await o.apply(i2, u);
24012
+ return g === false && (g = await p2.apply(i2, u)), g;
24013
+ })();
24014
+ let c2 = o.apply(i2, u);
24015
+ return c2 === false && (c2 = p2.apply(i2, u)), c2;
23997
24016
  };
23998
24017
  }
23999
24018
  r2.hooks = i2;
24000
24019
  }
24001
24020
  if (n.walkTokens) {
24002
24021
  let i2 = this.defaults.walkTokens, s2 = n.walkTokens;
24003
- r2.walkTokens = function(o) {
24004
- let a2 = [];
24005
- return a2.push(s2.call(this, o)), i2 && (a2 = a2.concat(i2.call(this, o))), a2;
24022
+ r2.walkTokens = function(a2) {
24023
+ let o = [];
24024
+ return o.push(s2.call(this, a2)), i2 && (o = o.concat(i2.call(this, a2))), o;
24006
24025
  };
24007
24026
  }
24008
24027
  this.defaults = { ...this.defaults, ...r2 };
@@ -24012,28 +24031,31 @@ ${e}</tr>
24012
24031
  return this.defaults = { ...this.defaults, ...e }, this;
24013
24032
  }
24014
24033
  lexer(e, t) {
24015
- return b.lex(e, t ?? this.defaults);
24034
+ return x.lex(e, t ?? this.defaults);
24016
24035
  }
24017
24036
  parser(e, t) {
24018
- return R.parse(e, t ?? this.defaults);
24037
+ return b.parse(e, t ?? this.defaults);
24019
24038
  }
24020
24039
  parseMarkdown(e) {
24021
24040
  return (n, r2) => {
24022
- let i2 = { ...r2 }, s2 = { ...this.defaults, ...i2 }, o = this.onError(!!s2.silent, !!s2.async);
24023
- if (this.defaults.async === true && i2.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."));
24024
- if (typeof n > "u" || n === null) return o(new Error("marked(): input parameter is undefined or null"));
24025
- if (typeof n != "string") return o(new Error("marked(): input parameter is of type " + Object.prototype.toString.call(n) + ", string expected"));
24026
- s2.hooks && (s2.hooks.options = s2, s2.hooks.block = e);
24027
- let a2 = s2.hooks ? s2.hooks.provideLexer() : e ? b.lex : b.lexInline, u = s2.hooks ? s2.hooks.provideParser() : e ? R.parse : R.parseInline;
24028
- if (s2.async) return Promise.resolve(s2.hooks ? s2.hooks.preprocess(n) : n).then((p2) => a2(p2, s2)).then((p2) => s2.hooks ? s2.hooks.processAllTokens(p2) : p2).then((p2) => s2.walkTokens ? Promise.all(this.walkTokens(p2, s2.walkTokens)).then(() => p2) : p2).then((p2) => u(p2, s2)).then((p2) => s2.hooks ? s2.hooks.postprocess(p2) : p2).catch(o);
24041
+ let i2 = { ...r2 }, s2 = { ...this.defaults, ...i2 }, a2 = this.onError(!!s2.silent, !!s2.async);
24042
+ if (this.defaults.async === true && i2.async === false) return a2(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."));
24043
+ if (typeof n > "u" || n === null) return a2(new Error("marked(): input parameter is undefined or null"));
24044
+ if (typeof n != "string") return a2(new Error("marked(): input parameter is of type " + Object.prototype.toString.call(n) + ", string expected"));
24045
+ if (s2.hooks && (s2.hooks.options = s2, s2.hooks.block = e), s2.async) return (async () => {
24046
+ 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;
24047
+ s2.walkTokens && await Promise.all(this.walkTokens(c2, s2.walkTokens));
24048
+ let h2 = await (s2.hooks ? await s2.hooks.provideParser() : e ? b.parse : b.parseInline)(c2, s2);
24049
+ return s2.hooks ? await s2.hooks.postprocess(h2) : h2;
24050
+ })().catch(a2);
24029
24051
  try {
24030
24052
  s2.hooks && (n = s2.hooks.preprocess(n));
24031
- let p2 = a2(n, s2);
24053
+ let p2 = (s2.hooks ? s2.hooks.provideLexer() : e ? x.lex : x.lexInline)(n, s2);
24032
24054
  s2.hooks && (p2 = s2.hooks.processAllTokens(p2)), s2.walkTokens && this.walkTokens(p2, s2.walkTokens);
24033
- let c2 = u(p2, s2);
24055
+ let c2 = (s2.hooks ? s2.hooks.provideParser() : e ? b.parse : b.parseInline)(p2, s2);
24034
24056
  return s2.hooks && (c2 = s2.hooks.postprocess(c2)), c2;
24035
- } catch (p2) {
24036
- return o(p2);
24057
+ } catch (o) {
24058
+ return a2(o);
24037
24059
  }
24038
24060
  };
24039
24061
  }
@@ -24050,38 +24072,38 @@ Please report this to https://github.com/markedjs/marked.`, e) {
24050
24072
  }
24051
24073
  };
24052
24074
  var _ = new B();
24053
- function d$1(l3, e) {
24075
+ function k$1(l3, e) {
24054
24076
  return _.parse(l3, e);
24055
24077
  }
24056
- d$1.options = d$1.setOptions = function(l3) {
24057
- return _.setOptions(l3), d$1.defaults = _.defaults, G(d$1.defaults), d$1;
24078
+ k$1.options = k$1.setOptions = function(l3) {
24079
+ return _.setOptions(l3), k$1.defaults = _.defaults, G(k$1.defaults), k$1;
24058
24080
  };
24059
- d$1.getDefaults = L;
24060
- d$1.defaults = O;
24061
- d$1.use = function(...l3) {
24062
- return _.use(...l3), d$1.defaults = _.defaults, G(d$1.defaults), d$1;
24081
+ k$1.getDefaults = L;
24082
+ k$1.defaults = T;
24083
+ k$1.use = function(...l3) {
24084
+ return _.use(...l3), k$1.defaults = _.defaults, G(k$1.defaults), k$1;
24063
24085
  };
24064
- d$1.walkTokens = function(l3, e) {
24086
+ k$1.walkTokens = function(l3, e) {
24065
24087
  return _.walkTokens(l3, e);
24066
24088
  };
24067
- d$1.parseInline = _.parseInline;
24068
- d$1.Parser = R;
24069
- d$1.parser = R.parse;
24070
- d$1.Renderer = P;
24071
- d$1.TextRenderer = $$1;
24072
- d$1.Lexer = b;
24073
- d$1.lexer = b.lex;
24074
- d$1.Tokenizer = y;
24075
- d$1.Hooks = S;
24076
- d$1.parse = d$1;
24077
- d$1.options;
24078
- d$1.setOptions;
24079
- d$1.use;
24080
- d$1.walkTokens;
24081
- d$1.parseInline;
24082
- R.parse;
24083
- b.lex;
24084
- d$1.use({
24089
+ k$1.parseInline = _.parseInline;
24090
+ k$1.Parser = b;
24091
+ k$1.parser = b.parse;
24092
+ k$1.Renderer = P;
24093
+ k$1.TextRenderer = $$1;
24094
+ k$1.Lexer = x;
24095
+ k$1.lexer = x.lex;
24096
+ k$1.Tokenizer = y;
24097
+ k$1.Hooks = S;
24098
+ k$1.parse = k$1;
24099
+ k$1.options;
24100
+ k$1.setOptions;
24101
+ k$1.use;
24102
+ k$1.walkTokens;
24103
+ k$1.parseInline;
24104
+ b.parse;
24105
+ x.lex;
24106
+ k$1.use({
24085
24107
  breaks: false,
24086
24108
  // Use proper paragraphs, not <br> tags
24087
24109
  gfm: true
@@ -24092,7 +24114,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
24092
24114
  return createDocFromHTML(html2, schema, options);
24093
24115
  }
24094
24116
  function convertMarkdownToHTML(markdown) {
24095
- let html2 = d$1.parse(markdown, { async: false });
24117
+ let html2 = k$1.parse(markdown, { async: false });
24096
24118
  return html2.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");
24097
24119
  }
24098
24120
  function processContent({ content: content2, type: type2, schema }) {
@@ -28716,18 +28738,18 @@ Please report this to https://github.com/markedjs/marked.`, e) {
28716
28738
  const rawY = shapeOff?.attributes?.["y"] ? parseFloat(shapeOff.attributes["y"]) : 0;
28717
28739
  const rawWidth = shapeExt?.attributes?.["cx"] ? parseFloat(shapeExt.attributes["cx"]) : 914400;
28718
28740
  const rawHeight = shapeExt?.attributes?.["cy"] ? parseFloat(shapeExt.attributes["cy"]) : 914400;
28719
- let x, y2, width, height;
28741
+ let x2, y2, width, height;
28720
28742
  if (groupTransform.childWidth && groupTransform.childHeight) {
28721
28743
  const scaleX = groupTransform.width / groupTransform.childWidth;
28722
28744
  const scaleY = groupTransform.height / groupTransform.childHeight;
28723
28745
  const childOriginX = groupTransform.childOriginXEmu || 0;
28724
28746
  const childOriginY = groupTransform.childOriginYEmu || 0;
28725
- x = groupTransform.x + emuToPixels((rawX - childOriginX) * scaleX);
28747
+ x2 = groupTransform.x + emuToPixels((rawX - childOriginX) * scaleX);
28726
28748
  y2 = groupTransform.y + emuToPixels((rawY - childOriginY) * scaleY);
28727
28749
  width = emuToPixels(rawWidth * scaleX);
28728
28750
  height = emuToPixels(rawHeight * scaleY);
28729
28751
  } else {
28730
- x = emuToPixels(rawX);
28752
+ x2 = emuToPixels(rawX);
28731
28753
  y2 = emuToPixels(rawY);
28732
28754
  width = emuToPixels(rawWidth);
28733
28755
  height = emuToPixels(rawHeight);
@@ -28746,7 +28768,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
28746
28768
  shapeType: "vectorShape",
28747
28769
  attrs: {
28748
28770
  kind: shapeKind,
28749
- x,
28771
+ x: x2,
28750
28772
  y: y2,
28751
28773
  width,
28752
28774
  height,
@@ -33164,7 +33186,11 @@ Please report this to https://github.com/markedjs/marked.`, e) {
33164
33186
  const generateCommentsWithExtendedData = ({ docx, comments }) => {
33165
33187
  if (!comments?.length) return [];
33166
33188
  const commentsExtended = docx["word/commentsExtended.xml"];
33167
- if (!commentsExtended) return comments.map((comment2) => ({ ...comment2, isDone: comment2.isDone ?? false }));
33189
+ if (!commentsExtended) {
33190
+ const commentRanges = extractCommentRangesFromDocument(docx);
33191
+ const commentsWithThreading = detectThreadingFromRanges(comments, commentRanges);
33192
+ return commentsWithThreading.map((comment2) => ({ ...comment2, isDone: comment2.isDone ?? false }));
33193
+ }
33168
33194
  const { elements: initialElements = [] } = commentsExtended;
33169
33195
  if (!initialElements?.length) return comments.map((comment2) => ({ ...comment2, isDone: comment2.isDone ?? false }));
33170
33196
  const { elements = [] } = initialElements[0] ?? {};
@@ -33190,6 +33216,79 @@ Please report this to https://github.com/markedjs/marked.`, e) {
33190
33216
  const paraIdParent = attributes["w15:paraIdParent"];
33191
33217
  return { paraId, isDone, paraIdParent };
33192
33218
  };
33219
+ const extractCommentRangesFromDocument = (docx) => {
33220
+ const documentXml = docx["word/document.xml"];
33221
+ if (!documentXml) {
33222
+ return [];
33223
+ }
33224
+ const pendingComments = [];
33225
+ const walkElements = (elements) => {
33226
+ if (!elements || !Array.isArray(elements)) return;
33227
+ elements.forEach((element2) => {
33228
+ if (element2.name === "w:commentRangeStart") {
33229
+ const commentId = element2.attributes?.["w:id"];
33230
+ if (commentId !== void 0) {
33231
+ pendingComments.push({
33232
+ type: "start",
33233
+ commentId: String(commentId)
33234
+ });
33235
+ }
33236
+ } else if (element2.name === "w:commentRangeEnd") {
33237
+ const commentId = element2.attributes?.["w:id"];
33238
+ if (commentId !== void 0) {
33239
+ pendingComments.push({
33240
+ type: "end",
33241
+ commentId: String(commentId)
33242
+ });
33243
+ }
33244
+ }
33245
+ if (element2.elements && Array.isArray(element2.elements)) {
33246
+ walkElements(element2.elements);
33247
+ }
33248
+ });
33249
+ };
33250
+ if (documentXml.elements && documentXml.elements.length > 0) {
33251
+ const body = documentXml.elements[0];
33252
+ if (body.elements) {
33253
+ walkElements(body.elements);
33254
+ }
33255
+ }
33256
+ return pendingComments;
33257
+ };
33258
+ const detectThreadingFromRanges = (comments, rangeEvents) => {
33259
+ if (!rangeEvents || rangeEvents.length === 0) {
33260
+ return comments;
33261
+ }
33262
+ const openRanges = [];
33263
+ const parentMap = /* @__PURE__ */ new Map();
33264
+ rangeEvents.forEach((event) => {
33265
+ if (event.type === "start") {
33266
+ if (openRanges.length > 0) {
33267
+ const parentCommentId = openRanges[openRanges.length - 1];
33268
+ parentMap.set(event.commentId, parentCommentId);
33269
+ }
33270
+ openRanges.push(event.commentId);
33271
+ } else if (event.type === "end") {
33272
+ const index2 = openRanges.lastIndexOf(event.commentId);
33273
+ if (index2 !== -1) {
33274
+ openRanges.splice(index2, 1);
33275
+ }
33276
+ }
33277
+ });
33278
+ return comments.map((comment2) => {
33279
+ const parentCommentId = parentMap.get(comment2.importedId);
33280
+ if (parentCommentId) {
33281
+ const parentComment = comments.find((c2) => c2.importedId === parentCommentId);
33282
+ if (parentComment) {
33283
+ return {
33284
+ ...comment2,
33285
+ parentCommentId: parentComment.commentId
33286
+ };
33287
+ }
33288
+ }
33289
+ return comment2;
33290
+ });
33291
+ };
33193
33292
  const RELATIONSHIP_TYPES = (
33194
33293
  /** @type {const} */
33195
33294
  {
@@ -35375,7 +35474,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
35375
35474
  return newComment;
35376
35475
  };
35377
35476
  const getCommentDefinition = (comment2, commentId, allComments, editor) => {
35378
- const translatedText = translateParagraphNode({ editor, node: comment2.commentJSON });
35477
+ const translatedText = translator$1p.decode({ editor, node: comment2.commentJSON });
35379
35478
  const attributes = {
35380
35479
  "w:id": String(commentId),
35381
35480
  "w:author": comment2.creatorName || comment2.importedAuthor?.name,
@@ -35414,10 +35513,12 @@ Please report this to https://github.com/markedjs/marked.`, e) {
35414
35513
  const updateCommentsXml = (commentDefs = [], commentsXml) => {
35415
35514
  const newCommentsXml = carbonCopy(commentsXml);
35416
35515
  commentDefs.forEach((commentDef) => {
35417
- const elements = commentDef.elements[0].elements;
35516
+ const paraNode = commentDef.elements[0];
35517
+ if (!paraNode.attributes) paraNode.attributes = {};
35518
+ const elements = paraNode.elements;
35418
35519
  elements.unshift(COMMENT_REF);
35419
35520
  const paraId = commentDef.attributes["w15:paraId"];
35420
- commentDef.elements[0].attributes["w14:paraId"] = paraId;
35521
+ paraNode.attributes["w14:paraId"] = paraId;
35421
35522
  commentDef.attributes = {
35422
35523
  "w:id": commentDef.attributes["w:id"],
35423
35524
  "w:author": commentDef.attributes["w:author"],
@@ -35790,7 +35891,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
35790
35891
  static getStoredSuperdocVersion(docx) {
35791
35892
  return _SuperConverter2.getStoredCustomProperty(docx, "SuperdocVersion");
35792
35893
  }
35793
- static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "0.34.5") {
35894
+ static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "0.34.6-RC1") {
35794
35895
  return _SuperConverter2.setStoredCustomProperty(docx, "SuperdocVersion", version2, false);
35795
35896
  }
35796
35897
  /**
@@ -36181,7 +36282,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
36181
36282
  };
36182
36283
  exportProcessHeadersFooters_fn = function({ isFinalDoc = false }) {
36183
36284
  const relsData = this.convertedXml["word/_rels/document.xml.rels"];
36184
- const relationships = relsData.elements.find((x) => x.name === "Relationships");
36285
+ const relationships = relsData.elements.find((x2) => x2.name === "Relationships");
36185
36286
  const newDocRels = [];
36186
36287
  Object.entries(this.headers).forEach(([id, header], index2) => {
36187
36288
  const fileName = relationships.elements.find((el) => el.attributes.Id === id)?.attributes.Target || `header${index2 + 1}.xml`;
@@ -36222,7 +36323,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
36222
36323
  }
36223
36324
  this.convertedXml[`word/${fileName}`].elements[0].elements = bodyContent;
36224
36325
  if (params2.relationships.length) {
36225
- const relationships2 = this.convertedXml[`word/_rels/${fileName}.rels`]?.elements?.find((x) => x.name === "Relationships")?.elements || [];
36326
+ const relationships2 = this.convertedXml[`word/_rels/${fileName}.rels`]?.elements?.find((x2) => x2.name === "Relationships")?.elements || [];
36226
36327
  this.convertedXml[`word/_rels/${fileName}.rels`] = {
36227
36328
  declaration: this.initialJSON?.declaration,
36228
36329
  elements: [
@@ -36276,7 +36377,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
36276
36377
  }
36277
36378
  this.convertedXml[`word/${fileName}`].elements[0].elements = bodyContent;
36278
36379
  if (params2.relationships.length) {
36279
- const relationships2 = this.convertedXml[`word/_rels/${fileName}.rels`]?.elements?.find((x) => x.name === "Relationships")?.elements || [];
36380
+ const relationships2 = this.convertedXml[`word/_rels/${fileName}.rels`]?.elements?.find((x2) => x2.name === "Relationships")?.elements || [];
36280
36381
  this.convertedXml[`word/_rels/${fileName}.rels`] = {
36281
36382
  declaration: this.initialJSON?.declaration,
36282
36383
  elements: [
@@ -36295,7 +36396,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
36295
36396
  };
36296
36397
  exportProcessNewRelationships_fn = function(rels = []) {
36297
36398
  const relsData = this.convertedXml["word/_rels/document.xml.rels"];
36298
- const relationships = relsData.elements.find((x) => x.name === "Relationships");
36399
+ const relationships = relsData.elements.find((x2) => x2.name === "Relationships");
36299
36400
  relationships.elements = mergeRelationshipElements(relationships.elements, rels);
36300
36401
  };
36301
36402
  exportProcessMediaFiles_fn = async function(media2 = {}) {
@@ -36491,8 +36592,8 @@ Please report this to https://github.com/markedjs/marked.`, e) {
36491
36592
  return n2;
36492
36593
  }
36493
36594
  function n(e2, t2, r22, n2, i22, s22) {
36494
- var a2, o, h2 = e2.file, u = e2.compression, l = s22 !== O2.utf8encode, f2 = I2.transformTo("string", s22(h2.name)), c2 = I2.transformTo("string", O2.utf8encode(h2.name)), d2 = h2.comment, p2 = 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 };
36495
- t2 && !r22 || (x.crc32 = e2.crc32, x.compressedSize = e2.compressedSize, x.uncompressedSize = e2.uncompressedSize);
36595
+ var a2, o, h2 = e2.file, u = e2.compression, l = s22 !== O.utf8encode, f2 = I2.transformTo("string", s22(h2.name)), c2 = I2.transformTo("string", O.utf8encode(h2.name)), d2 = h2.comment, p2 = 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 };
36596
+ t2 && !r22 || (x2.crc32 = e2.crc32, x2.compressedSize = e2.compressedSize, x2.uncompressedSize = e2.uncompressedSize);
36496
36597
  var S2 = 0;
36497
36598
  t2 && (S2 |= 8), l || !_2 && !g || (S2 |= 2048);
36498
36599
  var z2 = 0, C2 = 0;
@@ -36503,9 +36604,9 @@ Please report this to https://github.com/markedjs/marked.`, e) {
36503
36604
  return 63 & (e3 || 0);
36504
36605
  })(h2.dosPermissions)), a2 = k2.getUTCHours(), a2 <<= 6, a2 |= k2.getUTCMinutes(), a2 <<= 5, a2 |= 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(p2), 4) + m2, b2 += "uc" + A2(y2.length, 2) + y2);
36505
36606
  var E2 = "";
36506
- return E2 += "\n\0", E2 += A2(S2, 2), E2 += u.magic, E2 += A2(a2, 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(p2.length, 2) + "\0\0\0\0" + A2(z2, 4) + A2(n2, 4) + f2 + b2 + p2 };
36607
+ return E2 += "\n\0", E2 += A2(S2, 2), E2 += u.magic, E2 += A2(a2, 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(p2.length, 2) + "\0\0\0\0" + A2(z2, 4) + A2(n2, 4) + f2 + b2 + p2 };
36507
36608
  }
36508
- var I2 = e("../utils"), i2 = e("../stream/GenericWorker"), O2 = e("../utf8"), B2 = e("../crc32"), R2 = e("../signature");
36609
+ var I2 = e("../utils"), i2 = e("../stream/GenericWorker"), O = e("../utf8"), B2 = e("../crc32"), R = e("../signature");
36509
36610
  function s2(e2, t2, r22, n2) {
36510
36611
  i2.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 = [];
36511
36612
  }
@@ -36523,7 +36624,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
36523
36624
  this.accumulate = false;
36524
36625
  var t2 = this.streamFiles && !e2.file.dir, r22 = n(e2, t2, true, this.currentSourceOffset, this.zipPlatform, this.encodeFileName);
36525
36626
  if (this.dirRecords.push(r22.dirRecord), t2) this.push({ data: (function(e3) {
36526
- return R2.DATA_DESCRIPTOR + A2(e3.crc32, 4) + A2(e3.compressedSize, 4) + A2(e3.uncompressedSize, 4);
36627
+ return R.DATA_DESCRIPTOR + A2(e3.crc32, 4) + A2(e3.compressedSize, 4) + A2(e3.uncompressedSize, 4);
36527
36628
  })(e2), meta: { percent: 100 } });
36528
36629
  else for (this.push({ data: r22.fileRecord, meta: { percent: 0 } }); this.contentBuffer.length; ) this.push(this.contentBuffer.shift());
36529
36630
  this.currentFile = null;
@@ -36531,7 +36632,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
36531
36632
  for (var e2 = this.bytesWritten, t2 = 0; t2 < this.dirRecords.length; t2++) this.push({ data: this.dirRecords[t2], meta: { percent: 100 } });
36532
36633
  var r22 = this.bytesWritten - e2, n2 = (function(e3, t3, r3, n3, i22) {
36533
36634
  var s22 = I2.transformTo("string", i22(n3));
36534
- 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;
36635
+ 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;
36535
36636
  })(this.dirRecords.length, r22, e2, this.zipComment, this.encodeFileName);
36536
36637
  this.push({ data: n2, meta: { percent: 100 } });
36537
36638
  }, s2.prototype.prepareNextSource = function() {
@@ -37731,11 +37832,11 @@ Please report this to https://github.com/markedjs/marked.`, e) {
37731
37832
  return -1 ^ e2;
37732
37833
  };
37733
37834
  }, {}], 46: [function(e, t, r2) {
37734
- var h2, c2 = e("../utils/common"), u = e("./trees"), d2 = e("./adler32"), p2 = e("./crc32"), n = e("./messages"), l = 0, f2 = 4, m2 = 0, _2 = -2, g = -1, b2 = 4, i2 = 2, v2 = 8, y2 = 9, s2 = 286, a2 = 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;
37735
- function R2(e2, t2) {
37835
+ var h2, c2 = e("../utils/common"), u = e("./trees"), d2 = e("./adler32"), p2 = e("./crc32"), n = e("./messages"), l = 0, f2 = 4, m2 = 0, _2 = -2, g = -1, b2 = 4, i2 = 2, v2 = 8, y2 = 9, s2 = 286, a2 = 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;
37836
+ function R(e2, t2) {
37736
37837
  return e2.msg = n[t2], t2;
37737
37838
  }
37738
- function T(e2) {
37839
+ function T2(e2) {
37739
37840
  return (e2 << 1) - (4 < e2 ? 9 : 0);
37740
37841
  }
37741
37842
  function D2(e2) {
@@ -37779,7 +37880,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
37779
37880
  i22 += f22;
37780
37881
  }
37781
37882
  if (0 === e2.strm.avail_in) break;
37782
- if (a22 = e2.strm, o2 = e2.window, h22 = e2.strstart + e2.lookahead, u2 = i22, l2 = void 0, l2 = a22.avail_in, u2 < l2 && (l2 = u2), r22 = 0 === l2 ? 0 : (a22.avail_in -= l2, c2.arraySet(o2, a22.input, a22.next_in, l2, h22), 1 === a22.state.wrap ? a22.adler = d2(a22.adler, o2, l2, h22) : 2 === a22.state.wrap && (a22.adler = p2(a22.adler, o2, l2, h22)), a22.next_in += l2, a22.total_in += l2, l2), 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)); ) ;
37883
+ if (a22 = e2.strm, o2 = e2.window, h22 = e2.strstart + e2.lookahead, u2 = i22, l2 = void 0, l2 = a22.avail_in, u2 < l2 && (l2 = u2), r22 = 0 === l2 ? 0 : (a22.avail_in -= l2, c2.arraySet(o2, a22.input, a22.next_in, l2, h22), 1 === a22.state.wrap ? a22.adler = d2(a22.adler, o2, l2, h22) : 2 === a22.state.wrap && (a22.adler = p2(a22.adler, o2, l2, h22)), a22.next_in += l2, a22.total_in += l2, l2), 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)); ) ;
37783
37884
  } while (e2.lookahead < z2 && 0 !== e2.strm.avail_in);
37784
37885
  }
37785
37886
  function Z(e2, t2) {
@@ -37788,14 +37889,14 @@ Please report this to https://github.com/markedjs/marked.`, e) {
37788
37889
  if (j2(e2), e2.lookahead < z2 && t2 === l) return A2;
37789
37890
  if (0 === e2.lookahead) break;
37790
37891
  }
37791
- 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) {
37792
- 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; ) ;
37892
+ 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) {
37893
+ 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; ) ;
37793
37894
  e2.strstart++;
37794
37895
  } 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;
37795
37896
  else n2 = u._tr_tally(e2, 0, e2.window[e2.strstart]), e2.lookahead--, e2.strstart++;
37796
37897
  if (n2 && (N2(e2, false), 0 === e2.strm.avail_out)) return A2;
37797
37898
  }
37798
- 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;
37899
+ 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;
37799
37900
  }
37800
37901
  function W2(e2, t2) {
37801
37902
  for (var r22, n2, i22; ; ) {
@@ -37803,14 +37904,14 @@ Please report this to https://github.com/markedjs/marked.`, e) {
37803
37904
  if (j2(e2), e2.lookahead < z2 && t2 === l) return A2;
37804
37905
  if (0 === e2.lookahead) break;
37805
37906
  }
37806
- 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) {
37807
- for (i22 = 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 <= i22 && (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; ) ;
37808
- if (e2.match_available = 0, e2.match_length = x - 1, e2.strstart++, n2 && (N2(e2, false), 0 === e2.strm.avail_out)) return A2;
37907
+ 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) {
37908
+ for (i22 = 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 <= i22 && (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; ) ;
37909
+ if (e2.match_available = 0, e2.match_length = x2 - 1, e2.strstart++, n2 && (N2(e2, false), 0 === e2.strm.avail_out)) return A2;
37809
37910
  } else if (e2.match_available) {
37810
37911
  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;
37811
37912
  } else e2.match_available = 1, e2.strstart++, e2.lookahead--;
37812
37913
  }
37813
- 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;
37914
+ 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;
37814
37915
  }
37815
37916
  function M2(e2, t2, r22, n2, i22) {
37816
37917
  this.good_length = e2, this.max_lazy = t2, this.nice_length = r22, this.max_chain = n2, this.func = i22;
@@ -37820,21 +37921,21 @@ Please report this to https://github.com/markedjs/marked.`, e) {
37820
37921
  }
37821
37922
  function G2(e2) {
37822
37923
  var t2;
37823
- return e2 && e2.state ? (e2.total_in = e2.total_out = 0, e2.data_type = i2, (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 = l, u._tr_init(t2), m2) : R2(e2, _2);
37924
+ return e2 && e2.state ? (e2.total_in = e2.total_out = 0, e2.data_type = i2, (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 = l, u._tr_init(t2), m2) : R(e2, _2);
37824
37925
  }
37825
37926
  function K2(e2) {
37826
37927
  var t2 = G2(e2);
37827
37928
  return t2 === m2 && (function(e3) {
37828
- 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;
37929
+ 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;
37829
37930
  })(e2.state), t2;
37830
37931
  }
37831
37932
  function Y2(e2, t2, r22, n2, i22, s22) {
37832
37933
  if (!e2) return _2;
37833
37934
  var a22 = 1;
37834
- if (t2 === g && (t2 = 6), n2 < 0 ? (a22 = 0, n2 = -n2) : 15 < n2 && (a22 = 2, n2 -= 16), i22 < 1 || y2 < i22 || r22 !== v2 || n2 < 8 || 15 < n2 || t2 < 0 || 9 < t2 || s22 < 0 || b2 < s22) return R2(e2, _2);
37935
+ if (t2 === g && (t2 = 6), n2 < 0 ? (a22 = 0, n2 = -n2) : 15 < n2 && (a22 = 2, n2 -= 16), i22 < 1 || y2 < i22 || r22 !== v2 || n2 < 8 || 15 < n2 || t2 < 0 || 9 < t2 || s22 < 0 || b2 < s22) return R(e2, _2);
37835
37936
  8 === n2 && (n2 = 9);
37836
37937
  var o2 = new H();
37837
- return (e2.state = o2).strm = e2, o2.wrap = a22, o2.gzhead = null, o2.w_bits = n2, o2.w_size = 1 << o2.w_bits, o2.w_mask = o2.w_size - 1, o2.hash_bits = i22 + 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 << i22 + 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);
37938
+ return (e2.state = o2).strm = e2, o2.wrap = a22, o2.gzhead = null, o2.w_bits = n2, o2.w_size = 1 << o2.w_bits, o2.w_mask = o2.w_size - 1, o2.hash_bits = i22 + 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 << i22 + 6, o2.pending_buf_size = 4 * o2.lit_bufsize, o2.pending_buf = new c2.Buf8(o2.pending_buf_size), o2.d_buf = 1 * o2.lit_bufsize, o2.l_buf = 3 * o2.lit_bufsize, o2.level = t2, o2.strategy = s22, o2.method = r22, K2(e2);
37838
37939
  }
37839
37940
  h2 = [new M2(0, 0, 0, 0, function(e2, t2) {
37840
37941
  var r22 = 65535;
@@ -37848,15 +37949,15 @@ Please report this to https://github.com/markedjs/marked.`, e) {
37848
37949
  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;
37849
37950
  if (e2.strstart - e2.block_start >= e2.w_size - z2 && (N2(e2, false), 0 === e2.strm.avail_out)) return A2;
37850
37951
  }
37851
- 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);
37952
+ 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);
37852
37953
  }), 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) {
37853
37954
  return Y2(e2, t2, v2, 15, 8, 0);
37854
37955
  }, r2.deflateInit2 = Y2, r2.deflateReset = K2, r2.deflateResetKeep = G2, r2.deflateSetHeader = function(e2, t2) {
37855
37956
  return e2 && e2.state ? 2 !== e2.state.wrap ? _2 : (e2.state.gzhead = t2, m2) : _2;
37856
37957
  }, r2.deflate = function(e2, t2) {
37857
37958
  var r22, n2, i22, s22;
37858
- if (!e2 || !e2.state || 5 < t2 || t2 < 0) return e2 ? R2(e2, _2) : _2;
37859
- 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);
37959
+ if (!e2 || !e2.state || 5 < t2 || t2 < 0) return e2 ? R(e2, _2) : _2;
37960
+ 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);
37860
37961
  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 = p2(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);
37861
37962
  else {
37862
37963
  var a22 = v2 + (n2.w_bits - 8 << 4) << 8;
@@ -37890,8 +37991,8 @@ Please report this to https://github.com/markedjs/marked.`, e) {
37890
37991
  } else n2.status = 103;
37891
37992
  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) {
37892
37993
  if (F2(e2), 0 === e2.avail_out) return n2.last_flush = -1, m2;
37893
- } else if (0 === e2.avail_in && T(t2) <= T(r22) && t2 !== f2) return R2(e2, -5);
37894
- if (666 === n2.status && 0 !== e2.avail_in) return R2(e2, -5);
37994
+ } else if (0 === e2.avail_in && T2(t2) <= T2(r22) && t2 !== f2) return R(e2, -5);
37995
+ if (666 === n2.status && 0 !== e2.avail_in) return R(e2, -5);
37895
37996
  if (0 !== e2.avail_in || 0 !== n2.lookahead || t2 !== l && 666 !== n2.status) {
37896
37997
  var o2 = 2 === n2.strategy ? (function(e3, t3) {
37897
37998
  for (var r3; ; ) {
@@ -37901,39 +38002,39 @@ Please report this to https://github.com/markedjs/marked.`, e) {
37901
38002
  }
37902
38003
  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;
37903
38004
  }
37904
- 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;
38005
+ 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;
37905
38006
  })(n2, t2) : 3 === n2.strategy ? (function(e3, t3) {
37906
38007
  for (var r3, n3, i3, s3, a3 = e3.window; ; ) {
37907
38008
  if (e3.lookahead <= S2) {
37908
38009
  if (j2(e3), e3.lookahead <= S2 && t3 === l) return A2;
37909
38010
  if (0 === e3.lookahead) break;
37910
38011
  }
37911
- 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]) {
38012
+ 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]) {
37912
38013
  s3 = e3.strstart + S2;
37913
38014
  do {
37914
38015
  } 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);
37915
38016
  e3.match_length = S2 - (s3 - i3), e3.match_length > e3.lookahead && (e3.match_length = e3.lookahead);
37916
38017
  }
37917
- 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;
38018
+ 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;
37918
38019
  }
37919
- 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;
38020
+ 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;
37920
38021
  })(n2, t2) : h2[n2.level].func(n2, t2);
37921
- if (o2 !== O2 && o2 !== B2 || (n2.status = 666), o2 === A2 || o2 === O2) return 0 === e2.avail_out && (n2.last_flush = -1), m2;
38022
+ if (o2 !== O && o2 !== B2 || (n2.status = 666), o2 === A2 || o2 === O) return 0 === e2.avail_out && (n2.last_flush = -1), m2;
37922
38023
  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;
37923
38024
  }
37924
38025
  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);
37925
38026
  }, r2.deflateEnd = function(e2) {
37926
38027
  var t2;
37927
- 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;
38028
+ 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;
37928
38029
  }, r2.deflateSetDictionary = function(e2, t2) {
37929
38030
  var r22, n2, i22, s22, a22, o2, h22, u2, l2 = t2.length;
37930
38031
  if (!e2 || !e2.state) return _2;
37931
38032
  if (2 === (s22 = (r22 = e2.state).wrap) || 1 === s22 && r22.status !== C2 || r22.lookahead) return _2;
37932
- for (1 === s22 && (e2.adler = d2(e2.adler, t2, l2, 0)), r22.wrap = 0, l2 >= 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, l2 - r22.w_size, r22.w_size, 0), t2 = u2, l2 = r22.w_size), a22 = e2.avail_in, o2 = e2.next_in, h22 = e2.input, e2.avail_in = l2, e2.next_in = 0, e2.input = t2, j2(r22); r22.lookahead >= x; ) {
37933
- for (n2 = r22.strstart, i22 = 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++, --i22; ) ;
37934
- r22.strstart = n2, r22.lookahead = x - 1, j2(r22);
38033
+ for (1 === s22 && (e2.adler = d2(e2.adler, t2, l2, 0)), r22.wrap = 0, l2 >= 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, l2 - r22.w_size, r22.w_size, 0), t2 = u2, l2 = r22.w_size), a22 = e2.avail_in, o2 = e2.next_in, h22 = e2.input, e2.avail_in = l2, e2.next_in = 0, e2.input = t2, j2(r22); r22.lookahead >= x2; ) {
38034
+ for (n2 = r22.strstart, i22 = 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++, --i22; ) ;
38035
+ r22.strstart = n2, r22.lookahead = x2 - 1, j2(r22);
37935
38036
  }
37936
- 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 = a22, r22.wrap = s22, m2;
38037
+ 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 = a22, r22.wrap = s22, m2;
37937
38038
  }, r2.deflateInfo = "pako deflate (from Nodeca project)";
37938
38039
  }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./messages": 51, "./trees": 52 }], 47: [function(e, t, r2) {
37939
38040
  t.exports = function() {
@@ -37941,7 +38042,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
37941
38042
  };
37942
38043
  }, {}], 48: [function(e, t, r2) {
37943
38044
  t.exports = function(e2, t2) {
37944
- var r22, n, i2, s2, a2, o, h2, u, l, f2, c2, d2, p2, m2, _2, g, b2, v2, y2, w2, k2, x, S2, z2, C2;
38045
+ var r22, n, i2, s2, a2, o, h2, u, l, f2, c2, d2, p2, m2, _2, g, b2, v2, y2, w2, k2, x2, S2, z2, C2;
37945
38046
  r22 = e2.state, n = e2.next_in, z2 = e2.input, i2 = n + (e2.avail_in - 5), s2 = e2.next_out, C2 = e2.output, a2 = s2 - (t2 - e2.avail_out), o = s2 + (e2.avail_out - 257), h2 = r22.dmax, u = r22.wsize, l = r22.whave, f2 = r22.wnext, c2 = r22.window, d2 = r22.hold, p2 = r22.bits, m2 = r22.lencode, _2 = r22.distcode, g = (1 << r22.lenbits) - 1, b2 = (1 << r22.distbits) - 1;
37946
38047
  e: do {
37947
38048
  p2 < 15 && (d2 += z2[n++] << p2, p2 += 8, d2 += z2[n++] << p2, p2 += 8), v2 = m2[d2 & g];
@@ -37979,28 +38080,28 @@ Please report this to https://github.com/markedjs/marked.`, e) {
37979
38080
  e2.msg = "invalid distance too far back", r22.mode = 30;
37980
38081
  break e;
37981
38082
  }
37982
- if (S2 = c2, (x = 0) === f2) {
37983
- if (x += u - y2, y2 < w2) {
37984
- for (w2 -= y2; C2[s2++] = c2[x++], --y2; ) ;
37985
- x = s2 - k2, S2 = C2;
38083
+ if (S2 = c2, (x2 = 0) === f2) {
38084
+ if (x2 += u - y2, y2 < w2) {
38085
+ for (w2 -= y2; C2[s2++] = c2[x2++], --y2; ) ;
38086
+ x2 = s2 - k2, S2 = C2;
37986
38087
  }
37987
38088
  } else if (f2 < y2) {
37988
- if (x += u + f2 - y2, (y2 -= f2) < w2) {
37989
- for (w2 -= y2; C2[s2++] = c2[x++], --y2; ) ;
37990
- if (x = 0, f2 < w2) {
37991
- for (w2 -= y2 = f2; C2[s2++] = c2[x++], --y2; ) ;
37992
- x = s2 - k2, S2 = C2;
38089
+ if (x2 += u + f2 - y2, (y2 -= f2) < w2) {
38090
+ for (w2 -= y2; C2[s2++] = c2[x2++], --y2; ) ;
38091
+ if (x2 = 0, f2 < w2) {
38092
+ for (w2 -= y2 = f2; C2[s2++] = c2[x2++], --y2; ) ;
38093
+ x2 = s2 - k2, S2 = C2;
37993
38094
  }
37994
38095
  }
37995
- } else if (x += f2 - y2, y2 < w2) {
37996
- for (w2 -= y2; C2[s2++] = c2[x++], --y2; ) ;
37997
- x = s2 - k2, S2 = C2;
38096
+ } else if (x2 += f2 - y2, y2 < w2) {
38097
+ for (w2 -= y2; C2[s2++] = c2[x2++], --y2; ) ;
38098
+ x2 = s2 - k2, S2 = C2;
37998
38099
  }
37999
- for (; 2 < w2; ) C2[s2++] = S2[x++], C2[s2++] = S2[x++], C2[s2++] = S2[x++], w2 -= 3;
38000
- w2 && (C2[s2++] = S2[x++], 1 < w2 && (C2[s2++] = S2[x++]));
38100
+ for (; 2 < w2; ) C2[s2++] = S2[x2++], C2[s2++] = S2[x2++], C2[s2++] = S2[x2++], w2 -= 3;
38101
+ w2 && (C2[s2++] = S2[x2++], 1 < w2 && (C2[s2++] = S2[x2++]));
38001
38102
  } else {
38002
- for (x = s2 - k2; C2[s2++] = C2[x++], C2[s2++] = C2[x++], C2[s2++] = C2[x++], 2 < (w2 -= 3); ) ;
38003
- w2 && (C2[s2++] = C2[x++], 1 < w2 && (C2[s2++] = C2[x++]));
38103
+ for (x2 = s2 - k2; C2[s2++] = C2[x2++], C2[s2++] = C2[x2++], C2[s2++] = C2[x2++], 2 < (w2 -= 3); ) ;
38104
+ w2 && (C2[s2++] = C2[x2++], 1 < w2 && (C2[s2++] = C2[x2++]));
38004
38105
  }
38005
38106
  break;
38006
38107
  }
@@ -38011,7 +38112,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
38011
38112
  n -= w2 = p2 >> 3, d2 &= (1 << (p2 -= w2 << 3)) - 1, e2.next_in = n, e2.next_out = s2, e2.avail_in = n < i2 ? i2 - n + 5 : 5 - (n - i2), e2.avail_out = s2 < o ? o - s2 + 257 : 257 - (s2 - o), r22.hold = d2, r22.bits = p2;
38012
38113
  };
38013
38114
  }, {}], 49: [function(e, t, r2) {
38014
- 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, i2 = 592;
38115
+ 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, i2 = 592;
38015
38116
  function L2(e2) {
38016
38117
  return (e2 >>> 24 & 255) + (e2 >>> 8 & 65280) + ((65280 & e2) << 8) + ((255 & e2) << 24);
38017
38118
  }
@@ -38042,8 +38143,8 @@ Please report this to https://github.com/markedjs/marked.`, e) {
38042
38143
  for (; t2 < 256; ) e2.lens[t2++] = 9;
38043
38144
  for (; t2 < 280; ) e2.lens[t2++] = 7;
38044
38145
  for (; t2 < 288; ) e2.lens[t2++] = 8;
38045
- for (T(D2, e2.lens, 0, 288, l, 0, e2.work, { bits: 9 }), t2 = 0; t2 < 32; ) e2.lens[t2++] = 5;
38046
- T(F2, e2.lens, 0, 32, f2, 0, e2.work, { bits: 5 }), c2 = false;
38146
+ for (T2(D2, e2.lens, 0, 288, l, 0, e2.work, { bits: 9 }), t2 = 0; t2 < 32; ) e2.lens[t2++] = 5;
38147
+ T2(F2, e2.lens, 0, 32, f2, 0, e2.work, { bits: 5 }), c2 = false;
38047
38148
  }
38048
38149
  e2.lencode = l, e2.lenbits = 9, e2.distcode = f2, e2.distbits = 5;
38049
38150
  }
@@ -38054,9 +38155,9 @@ Please report this to https://github.com/markedjs/marked.`, e) {
38054
38155
  r2.inflateReset = o, r2.inflateReset2 = h2, r2.inflateResetKeep = a2, r2.inflateInit = function(e2) {
38055
38156
  return u(e2, 15);
38056
38157
  }, r2.inflateInit2 = u, r2.inflate = function(e2, t2) {
38057
- var r22, n2, i22, s22, a22, o2, h22, u2, l2, f22, c22, d2, p2, 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];
38158
+ var r22, n2, i22, s22, a22, o2, h22, u2, l2, f22, c22, d2, p2, 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];
38058
38159
  if (!e2 || !e2.state || !e2.output || !e2.input && 0 !== e2.avail_in) return U2;
38059
- 12 === (r22 = e2.state).mode && (r22.mode = 13), a22 = e2.next_out, i22 = e2.output, h22 = e2.avail_out, s22 = e2.next_in, n2 = e2.input, o2 = e2.avail_in, u2 = r22.hold, l2 = r22.bits, f22 = o2, c22 = h22, x = N2;
38160
+ 12 === (r22 = e2.state).mode && (r22.mode = 13), a22 = e2.next_out, i22 = e2.output, h22 = e2.avail_out, s22 = e2.next_in, n2 = e2.input, o2 = e2.avail_in, u2 = r22.hold, l2 = r22.bits, f22 = o2, c22 = h22, x2 = N2;
38060
38161
  e: for (; ; ) switch (r22.mode) {
38061
38162
  case P2:
38062
38163
  if (0 === r22.wrap) {
@@ -38227,7 +38328,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
38227
38328
  r22.lens[A2[r22.have++]] = 7 & u2, u2 >>>= 3, l2 -= 3;
38228
38329
  }
38229
38330
  for (; r22.have < 19; ) r22.lens[A2[r22.have++]] = 0;
38230
- 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) {
38331
+ 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) {
38231
38332
  e2.msg = "invalid code lengths set", r22.mode = 30;
38232
38333
  break;
38233
38334
  }
@@ -38275,11 +38376,11 @@ Please report this to https://github.com/markedjs/marked.`, e) {
38275
38376
  e2.msg = "invalid code -- missing end-of-block", r22.mode = 30;
38276
38377
  break;
38277
38378
  }
38278
- 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) {
38379
+ 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) {
38279
38380
  e2.msg = "invalid literal/lengths set", r22.mode = 30;
38280
38381
  break;
38281
38382
  }
38282
- 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) {
38383
+ 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) {
38283
38384
  e2.msg = "invalid distances set", r22.mode = 30;
38284
38385
  break;
38285
38386
  }
@@ -38288,7 +38389,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
38288
38389
  r22.mode = 21;
38289
38390
  case 21:
38290
38391
  if (6 <= o2 && 258 <= h22) {
38291
- e2.next_out = a22, e2.avail_out = h22, e2.next_in = s22, e2.avail_in = o2, r22.hold = u2, r22.bits = l2, R2(e2, c22), a22 = e2.next_out, i22 = e2.output, h22 = e2.avail_out, s22 = e2.next_in, n2 = e2.input, o2 = e2.avail_in, u2 = r22.hold, l2 = r22.bits, 12 === r22.mode && (r22.back = -1);
38392
+ e2.next_out = a22, e2.avail_out = h22, e2.next_in = s22, e2.avail_in = o2, r22.hold = u2, r22.bits = l2, R(e2, c22), a22 = e2.next_out, i22 = e2.output, h22 = e2.avail_out, s22 = e2.next_in, n2 = e2.input, o2 = e2.avail_in, u2 = r22.hold, l2 = r22.bits, 12 === r22.mode && (r22.back = -1);
38292
38393
  break;
38293
38394
  }
38294
38395
  for (r22.back = 0; g = (C2 = r22.lencode[u2 & (1 << r22.lenbits) - 1]) >>> 16 & 255, b2 = 65535 & C2, !((_2 = C2 >>> 24) <= l2); ) {
@@ -38376,7 +38477,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
38376
38477
  if (0 === o2) break e;
38377
38478
  o2--, u2 |= n2[s22++] << l2, l2 += 8;
38378
38479
  }
38379
- if (c22 -= h22, e2.total_out += c22, r22.total += c22, c22 && (e2.adler = r22.check = r22.flags ? B2(r22.check, i22, c22, a22 - c22) : O2(r22.check, i22, c22, a22 - c22)), c22 = h22, (r22.flags ? u2 : L2(u2)) !== r22.check) {
38480
+ if (c22 -= h22, e2.total_out += c22, r22.total += c22, c22 && (e2.adler = r22.check = r22.flags ? B2(r22.check, i22, c22, a22 - c22) : O(r22.check, i22, c22, a22 - c22)), c22 = h22, (r22.flags ? u2 : L2(u2)) !== r22.check) {
38380
38481
  e2.msg = "incorrect data check", r22.mode = 30;
38381
38482
  break;
38382
38483
  }
@@ -38397,10 +38498,10 @@ Please report this to https://github.com/markedjs/marked.`, e) {
38397
38498
  }
38398
38499
  r22.mode = 29;
38399
38500
  case 29:
38400
- x = 1;
38501
+ x2 = 1;
38401
38502
  break e;
38402
38503
  case 30:
38403
- x = -3;
38504
+ x2 = -3;
38404
38505
  break e;
38405
38506
  case 31:
38406
38507
  return -4;
@@ -38408,7 +38509,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
38408
38509
  default:
38409
38510
  return U2;
38410
38511
  }
38411
- return e2.next_out = a22, e2.avail_out = h22, e2.next_in = s22, e2.avail_in = o2, r22.hold = u2, r22.bits = l2, (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, i22, c22, e2.next_out - c22) : O2(r22.check, i22, 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);
38512
+ return e2.next_out = a22, e2.avail_out = h22, e2.next_in = s22, e2.avail_in = o2, r22.hold = u2, r22.bits = l2, (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, i22, c22, e2.next_out - c22) : O(r22.check, i22, 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);
38412
38513
  }, r2.inflateEnd = function(e2) {
38413
38514
  if (!e2 || !e2.state) return U2;
38414
38515
  var t2 = e2.state;
@@ -38418,33 +38519,33 @@ Please report this to https://github.com/markedjs/marked.`, e) {
38418
38519
  return e2 && e2.state ? 0 == (2 & (r22 = e2.state).wrap) ? U2 : ((r22.head = t2).done = false, N2) : U2;
38419
38520
  }, r2.inflateSetDictionary = function(e2, t2) {
38420
38521
  var r22, n2 = t2.length;
38421
- 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;
38522
+ 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;
38422
38523
  }, r2.inflateInfo = "pako inflate (from Nodeca project)";
38423
38524
  }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./inffast": 48, "./inftrees": 50 }], 50: [function(e, t, r2) {
38424
38525
  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];
38425
38526
  t.exports = function(e2, t2, r22, n, i2, s2, a2, o) {
38426
- var h2, u, l, f2, c2, d2, p2, 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;
38427
- for (b2 = 0; b2 <= 15; b2++) O2[b2] = 0;
38428
- for (v2 = 0; v2 < n; v2++) O2[t2[r22 + v2]]++;
38429
- for (k2 = g, w2 = 15; 1 <= w2 && 0 === O2[w2]; w2--) ;
38527
+ var h2, u, l, f2, c2, d2, p2, 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;
38528
+ for (b2 = 0; b2 <= 15; b2++) O[b2] = 0;
38529
+ for (v2 = 0; v2 < n; v2++) O[t2[r22 + v2]]++;
38530
+ for (k2 = g, w2 = 15; 1 <= w2 && 0 === O[w2]; w2--) ;
38430
38531
  if (w2 < k2 && (k2 = w2), 0 === w2) return i2[s2++] = 20971520, i2[s2++] = 20971520, o.bits = 1, 0;
38431
- for (y2 = 1; y2 < w2 && 0 === O2[y2]; y2++) ;
38432
- for (k2 < y2 && (k2 = y2), b2 = z2 = 1; b2 <= 15; b2++) if (z2 <<= 1, (z2 -= O2[b2]) < 0) return -1;
38532
+ for (y2 = 1; y2 < w2 && 0 === O[y2]; y2++) ;
38533
+ for (k2 < y2 && (k2 = y2), b2 = z2 = 1; b2 <= 15; b2++) if (z2 <<= 1, (z2 -= O[b2]) < 0) return -1;
38433
38534
  if (0 < z2 && (0 === e2 || 1 !== w2)) return -1;
38434
- for (B2[1] = 0, b2 = 1; b2 < 15; b2++) B2[b2 + 1] = B2[b2] + O2[b2];
38535
+ for (B2[1] = 0, b2 = 1; b2 < 15; b2++) B2[b2 + 1] = B2[b2] + O[b2];
38435
38536
  for (v2 = 0; v2 < n; v2++) 0 !== t2[r22 + v2] && (a2[B2[t2[r22 + v2]]++] = v2);
38436
- if (d2 = 0 === e2 ? (A2 = R2 = a2, 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, l = -1, f2 = (C2 = 1 << (x = k2)) - 1, 1 === e2 && 852 < C2 || 2 === e2 && 592 < C2) return 1;
38537
+ if (d2 = 0 === e2 ? (A2 = R = a2, 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, l = -1, f2 = (C2 = 1 << (x2 = k2)) - 1, 1 === e2 && 852 < C2 || 2 === e2 && 592 < C2) return 1;
38437
38538
  for (; ; ) {
38438
- for (p2 = b2 - S2, _2 = a2[v2] < d2 ? (m2 = 0, a2[v2]) : a2[v2] > d2 ? (m2 = R2[T + a2[v2]], A2[I2 + a2[v2]]) : (m2 = 96, 0), h2 = 1 << b2 - S2, y2 = u = 1 << x; i2[c2 + (E2 >> S2) + (u -= h2)] = p2 << 24 | m2 << 16 | _2 | 0, 0 !== u; ) ;
38539
+ for (p2 = b2 - S2, _2 = a2[v2] < d2 ? (m2 = 0, a2[v2]) : a2[v2] > d2 ? (m2 = R[T2 + a2[v2]], A2[I2 + a2[v2]]) : (m2 = 96, 0), h2 = 1 << b2 - S2, y2 = u = 1 << x2; i2[c2 + (E2 >> S2) + (u -= h2)] = p2 << 24 | m2 << 16 | _2 | 0, 0 !== u; ) ;
38439
38540
  for (h2 = 1 << b2 - 1; E2 & h2; ) h2 >>= 1;
38440
- if (0 !== h2 ? (E2 &= h2 - 1, E2 += h2) : E2 = 0, v2++, 0 == --O2[b2]) {
38541
+ if (0 !== h2 ? (E2 &= h2 - 1, E2 += h2) : E2 = 0, v2++, 0 == --O[b2]) {
38441
38542
  if (b2 === w2) break;
38442
38543
  b2 = t2[r22 + a2[v2]];
38443
38544
  }
38444
38545
  if (k2 < b2 && (E2 & f2) !== l) {
38445
- for (0 === S2 && (S2 = k2), c2 += y2, z2 = 1 << (x = b2 - S2); x + S2 < w2 && !((z2 -= O2[x + S2]) <= 0); ) x++, z2 <<= 1;
38446
- if (C2 += 1 << x, 1 === e2 && 852 < C2 || 2 === e2 && 592 < C2) return 1;
38447
- i2[l = E2 & f2] = k2 << 24 | x << 16 | c2 - s2 | 0;
38546
+ for (0 === S2 && (S2 = k2), c2 += y2, z2 = 1 << (x2 = b2 - S2); x2 + S2 < w2 && !((z2 -= O[x2 + S2]) <= 0); ) x2++, z2 <<= 1;
38547
+ if (C2 += 1 << x2, 1 === e2 && 852 < C2 || 2 === e2 && 592 < C2) return 1;
38548
+ i2[l = E2 & f2] = k2 << 24 | x2 << 16 | c2 - s2 | 0;
38448
38549
  }
38449
38550
  }
38450
38551
  return 0 !== E2 && (i2[c2 + E2] = b2 - S2 << 24 | 64 << 16 | 0), o.bits = k2, 0;
@@ -38456,7 +38557,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
38456
38557
  function n(e2) {
38457
38558
  for (var t2 = e2.length; 0 <= --t2; ) e2[t2] = 0;
38458
38559
  }
38459
- var s2 = 0, a2 = 29, u = 256, l = u + 1 + a2, f2 = 30, c2 = 19, _2 = 2 * l + 1, g = 15, d2 = 16, p2 = 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 * (l + 2));
38560
+ var s2 = 0, a2 = 29, u = 256, l = u + 1 + a2, f2 = 30, c2 = 19, _2 = 2 * l + 1, g = 15, d2 = 16, p2 = 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 * (l + 2));
38460
38561
  n(z2);
38461
38562
  var C2 = new Array(2 * f2);
38462
38563
  n(C2);
@@ -38466,7 +38567,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
38466
38567
  n(A2);
38467
38568
  var I2 = new Array(a2);
38468
38569
  n(I2);
38469
- var O2, B2, R2, T = new Array(f2);
38570
+ var O, B2, R, T2 = new Array(f2);
38470
38571
  function D2(e2, t2, r22, n2, i22) {
38471
38572
  this.static_tree = e2, this.extra_bits = t2, this.extra_base = r22, this.elems = n2, this.max_length = i22, this.has_stree = e2 && e2.length;
38472
38573
  }
@@ -38517,7 +38618,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
38517
38618
  }
38518
38619
  function K2(e2, t2, r22) {
38519
38620
  var n2, i22, s22, a22, o2 = 0;
38520
- 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], i22 = e2.pending_buf[e2.l_buf + o2], o2++, 0 === n2 ? L2(e2, i22, t2) : (L2(e2, (s22 = A2[i22]) + u + 1, t2), 0 !== (a22 = w2[s22]) && P2(e2, i22 -= I2[s22], a22), L2(e2, s22 = N2(--n2), r22), 0 !== (a22 = k2[s22]) && P2(e2, n2 -= T[s22], a22)), o2 < e2.last_lit; ) ;
38621
+ 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], i22 = e2.pending_buf[e2.l_buf + o2], o2++, 0 === n2 ? L2(e2, i22, t2) : (L2(e2, (s22 = A2[i22]) + u + 1, t2), 0 !== (a22 = w2[s22]) && P2(e2, i22 -= I2[s22], a22), L2(e2, s22 = N2(--n2), r22), 0 !== (a22 = k2[s22]) && P2(e2, n2 -= T2[s22], a22)), o2 < e2.last_lit; ) ;
38521
38622
  L2(e2, m2, t2);
38522
38623
  }
38523
38624
  function Y2(e2, t2) {
@@ -38551,7 +38652,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
38551
38652
  s22 = i22, u2 = (o2 = 0) === a22 ? (h22 = 138, 3) : i22 === a22 ? (h22 = 6, 3) : (h22 = 7, 4);
38552
38653
  }
38553
38654
  }
38554
- n(T);
38655
+ n(T2);
38555
38656
  var q2 = false;
38556
38657
  function J2(e2, t2, r22, n2) {
38557
38658
  P2(e2, (s2 << 1) + (n2 ? 1 : 0), 3), (function(e3, t3, r3, n3) {
@@ -38562,16 +38663,16 @@ Please report this to https://github.com/markedjs/marked.`, e) {
38562
38663
  q2 || ((function() {
38563
38664
  var e3, t2, r22, n2, i22, s22 = new Array(g + 1);
38564
38665
  for (n2 = r22 = 0; n2 < a2 - 1; n2++) for (I2[n2] = r22, e3 = 0; e3 < 1 << w2[n2]; e3++) A2[r22++] = n2;
38565
- for (A2[r22 - 1] = n2, n2 = i22 = 0; n2 < 16; n2++) for (T[n2] = i22, e3 = 0; e3 < 1 << k2[n2]; e3++) E2[i22++] = n2;
38566
- for (i22 >>= 7; n2 < f2; n2++) for (T[n2] = i22 << 7, e3 = 0; e3 < 1 << k2[n2] - 7; e3++) E2[256 + i22++] = n2;
38666
+ for (A2[r22 - 1] = n2, n2 = i22 = 0; n2 < 16; n2++) for (T2[n2] = i22, e3 = 0; e3 < 1 << k2[n2]; e3++) E2[i22++] = n2;
38667
+ for (i22 >>= 7; n2 < f2; n2++) for (T2[n2] = i22 << 7, e3 = 0; e3 < 1 << k2[n2] - 7; e3++) E2[256 + i22++] = n2;
38567
38668
  for (t2 = 0; t2 <= g; t2++) s22[t2] = 0;
38568
38669
  for (e3 = 0; e3 <= 143; ) z2[2 * e3 + 1] = 8, e3++, s22[8]++;
38569
38670
  for (; e3 <= 255; ) z2[2 * e3 + 1] = 9, e3++, s22[9]++;
38570
38671
  for (; e3 <= 279; ) z2[2 * e3 + 1] = 7, e3++, s22[7]++;
38571
38672
  for (; e3 <= 287; ) z2[2 * e3 + 1] = 8, e3++, s22[8]++;
38572
38673
  for (Z(z2, l + 1, s22), e3 = 0; e3 < f2; e3++) C2[2 * e3 + 1] = 5, C2[2 * e3] = j2(e3, 5);
38573
- O2 = new D2(z2, w2, u + 1, l, g), B2 = new D2(C2, k2, 0, f2, g), R2 = new D2(new Array(0), x, 0, c2, p2);
38574
- })(), 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);
38674
+ O = new D2(z2, w2, u + 1, l, g), B2 = new D2(C2, k2, 0, f2, g), R = new D2(new Array(0), x2, 0, c2, p2);
38675
+ })(), 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);
38575
38676
  }, r2._tr_stored_block = J2, r2._tr_flush_block = function(e2, t2, r22, n2) {
38576
38677
  var i22, s22, a22 = 0;
38577
38678
  0 < e2.level ? (2 === e2.strm.data_type && (e2.strm.data_type = (function(e3) {
@@ -38976,7 +39077,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
38976
39077
  }
38977
39078
  }
38978
39079
  /**
38979
- * @vue/shared v3.5.24
39080
+ * @vue/shared v3.5.25
38980
39081
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
38981
39082
  * @license MIT
38982
39083
  **/
@@ -39772,19 +39873,25 @@ Please report this to https://github.com/markedjs/marked.`, e) {
39772
39873
  track$1(arr = toRaw(arr), "iterate", ARRAY_ITERATE_KEY);
39773
39874
  return arr;
39774
39875
  }
39876
+ function toWrapped(target, item) {
39877
+ if (isReadonly(target)) {
39878
+ return isReactive(target) ? toReadonly(toReactive(item)) : toReadonly(item);
39879
+ }
39880
+ return toReactive(item);
39881
+ }
39775
39882
  const arrayInstrumentations = {
39776
39883
  __proto__: null,
39777
39884
  [Symbol.iterator]() {
39778
- return iterator(this, Symbol.iterator, toReactive);
39885
+ return iterator(this, Symbol.iterator, (item) => toWrapped(this, item));
39779
39886
  },
39780
39887
  concat(...args) {
39781
39888
  return reactiveReadArray(this).concat(
39782
- ...args.map((x) => isArray$3(x) ? reactiveReadArray(x) : x)
39889
+ ...args.map((x2) => isArray$3(x2) ? reactiveReadArray(x2) : x2)
39783
39890
  );
39784
39891
  },
39785
39892
  entries() {
39786
39893
  return iterator(this, "entries", (value) => {
39787
- value[1] = toReactive(value[1]);
39894
+ value[1] = toWrapped(this, value[1]);
39788
39895
  return value;
39789
39896
  });
39790
39897
  },
@@ -39792,16 +39899,37 @@ Please report this to https://github.com/markedjs/marked.`, e) {
39792
39899
  return apply$3(this, "every", fn, thisArg, void 0, arguments);
39793
39900
  },
39794
39901
  filter(fn, thisArg) {
39795
- return apply$3(this, "filter", fn, thisArg, (v2) => v2.map(toReactive), arguments);
39902
+ return apply$3(
39903
+ this,
39904
+ "filter",
39905
+ fn,
39906
+ thisArg,
39907
+ (v2) => v2.map((item) => toWrapped(this, item)),
39908
+ arguments
39909
+ );
39796
39910
  },
39797
39911
  find(fn, thisArg) {
39798
- return apply$3(this, "find", fn, thisArg, toReactive, arguments);
39912
+ return apply$3(
39913
+ this,
39914
+ "find",
39915
+ fn,
39916
+ thisArg,
39917
+ (item) => toWrapped(this, item),
39918
+ arguments
39919
+ );
39799
39920
  },
39800
39921
  findIndex(fn, thisArg) {
39801
39922
  return apply$3(this, "findIndex", fn, thisArg, void 0, arguments);
39802
39923
  },
39803
39924
  findLast(fn, thisArg) {
39804
- return apply$3(this, "findLast", fn, thisArg, toReactive, arguments);
39925
+ return apply$3(
39926
+ this,
39927
+ "findLast",
39928
+ fn,
39929
+ thisArg,
39930
+ (item) => toWrapped(this, item),
39931
+ arguments
39932
+ );
39805
39933
  },
39806
39934
  findLastIndex(fn, thisArg) {
39807
39935
  return apply$3(this, "findLastIndex", fn, thisArg, void 0, arguments);
@@ -39861,7 +39989,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
39861
39989
  return noTracking(this, "unshift", args);
39862
39990
  },
39863
39991
  values() {
39864
- return iterator(this, "values", toReactive);
39992
+ return iterator(this, "values", (item) => toWrapped(this, item));
39865
39993
  }
39866
39994
  };
39867
39995
  function iterator(self2, method, wrapValue) {
@@ -39892,7 +40020,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
39892
40020
  if (arr !== self2) {
39893
40021
  if (needsWrap) {
39894
40022
  wrappedFn = function(item, index2) {
39895
- return fn.call(this, toReactive(item), index2, self2);
40023
+ return fn.call(this, toWrapped(self2, item), index2, self2);
39896
40024
  };
39897
40025
  } else if (fn.length > 2) {
39898
40026
  wrappedFn = function(item, index2) {
@@ -39909,7 +40037,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
39909
40037
  if (arr !== self2) {
39910
40038
  if (!isShallow(self2)) {
39911
40039
  wrappedFn = function(acc, item, index2) {
39912
- return fn.call(this, acc, toReactive(item), index2, self2);
40040
+ return fn.call(this, acc, toWrapped(self2, item), index2, self2);
39913
40041
  };
39914
40042
  } else if (fn.length > 3) {
39915
40043
  wrappedFn = function(acc, item, index2) {
@@ -40012,13 +40140,14 @@ Please report this to https://github.com/markedjs/marked.`, e) {
40012
40140
  }
40013
40141
  set(target, key2, value, receiver) {
40014
40142
  let oldValue = target[key2];
40143
+ const isArrayWithIntegerKey = isArray$3(target) && isIntegerKey(key2);
40015
40144
  if (!this._isShallow) {
40016
40145
  const isOldValueReadonly = isReadonly(oldValue);
40017
40146
  if (!isShallow(value) && !isReadonly(value)) {
40018
40147
  oldValue = toRaw(oldValue);
40019
40148
  value = toRaw(value);
40020
40149
  }
40021
- if (!isArray$3(target) && isRef(oldValue) && !isRef(value)) {
40150
+ if (!isArrayWithIntegerKey && isRef(oldValue) && !isRef(value)) {
40022
40151
  if (isOldValueReadonly) {
40023
40152
  return true;
40024
40153
  } else {
@@ -40027,7 +40156,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
40027
40156
  }
40028
40157
  }
40029
40158
  }
40030
- const hadKey = isArray$3(target) && isIntegerKey(key2) ? Number(key2) < target.length : hasOwn(target, key2);
40159
+ const hadKey = isArrayWithIntegerKey ? Number(key2) < target.length : hasOwn(target, key2);
40031
40160
  const result = Reflect.set(
40032
40161
  target,
40033
40162
  key2,
@@ -40466,16 +40595,35 @@ Please report this to https://github.com/markedjs/marked.`, e) {
40466
40595
  this._defaultValue = _defaultValue;
40467
40596
  this["__v_isRef"] = true;
40468
40597
  this._value = void 0;
40598
+ this._raw = toRaw(_object);
40599
+ let shallow = true;
40600
+ let obj = _object;
40601
+ if (!isArray$3(_object) || !isIntegerKey(String(_key))) {
40602
+ do {
40603
+ shallow = !isProxy(obj) || isShallow(obj);
40604
+ } while (shallow && (obj = obj["__v_raw"]));
40605
+ }
40606
+ this._shallow = shallow;
40469
40607
  }
40470
40608
  get value() {
40471
- const val = this._object[this._key];
40609
+ let val = this._object[this._key];
40610
+ if (this._shallow) {
40611
+ val = unref(val);
40612
+ }
40472
40613
  return this._value = val === void 0 ? this._defaultValue : val;
40473
40614
  }
40474
40615
  set value(newVal) {
40616
+ if (this._shallow && isRef(this._raw[this._key])) {
40617
+ const nestedRef = this._object[this._key];
40618
+ if (isRef(nestedRef)) {
40619
+ nestedRef.value = newVal;
40620
+ return;
40621
+ }
40622
+ }
40475
40623
  this._object[this._key] = newVal;
40476
40624
  }
40477
40625
  get dep() {
40478
- return getDepFromReactive(toRaw(this._object), this._key);
40626
+ return getDepFromReactive(this._raw, this._key);
40479
40627
  }
40480
40628
  }
40481
40629
  class GetterRefImpl {
@@ -40501,8 +40649,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
40501
40649
  }
40502
40650
  }
40503
40651
  function propertyToRef(source, key2, defaultValue) {
40504
- const val = source[key2];
40505
- return isRef(val) ? val : new ObjectRefImpl(source, key2, defaultValue);
40652
+ return new ObjectRefImpl(source, key2, defaultValue);
40506
40653
  }
40507
40654
  class ComputedRefImpl {
40508
40655
  constructor(fn, setter, isSSR) {
@@ -42364,7 +42511,6 @@ Please report this to https://github.com/markedjs/marked.`, e) {
42364
42511
  return true;
42365
42512
  }
42366
42513
  const { ctx: ctx2, setupState, data, props, accessCache, type: type2, appContext } = instance;
42367
- let normalizedProps;
42368
42514
  if (key2[0] !== "$") {
42369
42515
  const n = accessCache[key2];
42370
42516
  if (n !== void 0) {
@@ -42384,11 +42530,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
42384
42530
  } else if (data !== EMPTY_OBJ && hasOwn(data, key2)) {
42385
42531
  accessCache[key2] = 2;
42386
42532
  return data[key2];
42387
- } else if (
42388
- // only cache other properties when instance has declared (thus stable)
42389
- // props
42390
- (normalizedProps = instance.propsOptions[0]) && hasOwn(normalizedProps, key2)
42391
- ) {
42533
+ } else if (hasOwn(props, key2)) {
42392
42534
  accessCache[key2] = 3;
42393
42535
  return props[key2];
42394
42536
  } else if (ctx2 !== EMPTY_OBJ && hasOwn(ctx2, key2)) {
@@ -42443,10 +42585,10 @@ Please report this to https://github.com/markedjs/marked.`, e) {
42443
42585
  return true;
42444
42586
  },
42445
42587
  has({
42446
- _: { data, setupState, accessCache, ctx: ctx2, appContext, propsOptions, type: type2 }
42588
+ _: { data, setupState, accessCache, ctx: ctx2, appContext, props, type: type2 }
42447
42589
  }, key2) {
42448
- let normalizedProps, cssModules;
42449
- return !!(accessCache[key2] || data !== EMPTY_OBJ && key2[0] !== "$" && hasOwn(data, key2) || hasSetupBinding(setupState, key2) || (normalizedProps = propsOptions[0]) && hasOwn(normalizedProps, key2) || hasOwn(ctx2, key2) || hasOwn(publicPropertiesMap, key2) || hasOwn(appContext.config.globalProperties, key2) || (cssModules = type2.__cssModules) && cssModules[key2]);
42590
+ let cssModules;
42591
+ return !!(accessCache[key2] || data !== EMPTY_OBJ && key2[0] !== "$" && hasOwn(data, key2) || hasSetupBinding(setupState, key2) || hasOwn(props, key2) || hasOwn(ctx2, key2) || hasOwn(publicPropertiesMap, key2) || hasOwn(appContext.config.globalProperties, key2) || (cssModules = type2.__cssModules) && cssModules[key2]);
42450
42592
  },
42451
42593
  defineProperty(target, key2, descriptor) {
42452
42594
  if (descriptor.get != null) {
@@ -42933,8 +43075,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
42933
43075
  }
42934
43076
  let currentApp = null;
42935
43077
  function provide(key2, value) {
42936
- if (!currentInstance) ;
42937
- else {
43078
+ if (currentInstance) {
42938
43079
  let provides = currentInstance.provides;
42939
43080
  const parentProvides = currentInstance.parent && currentInstance.parent.provides;
42940
43081
  if (parentProvides === provides) {
@@ -42957,6 +43098,391 @@ Please report this to https://github.com/markedjs/marked.`, e) {
42957
43098
  function hasInjectionContext() {
42958
43099
  return !!(getCurrentInstance() || currentApp);
42959
43100
  }
43101
+ const ssrContextKey$2 = Symbol.for("v-scx");
43102
+ const useSSRContext = () => {
43103
+ {
43104
+ const ctx2 = inject(ssrContextKey$2);
43105
+ return ctx2;
43106
+ }
43107
+ };
43108
+ function watchEffect(effect2, options) {
43109
+ return doWatch(effect2, null, options);
43110
+ }
43111
+ function watch(source, cb, options) {
43112
+ return doWatch(source, cb, options);
43113
+ }
43114
+ function doWatch(source, cb, options = EMPTY_OBJ) {
43115
+ const { immediate, deep, flush, once } = options;
43116
+ const baseWatchOptions = extend$2({}, options);
43117
+ const runsImmediately = cb && immediate || !cb && flush !== "post";
43118
+ let ssrCleanup;
43119
+ if (isInSSRComponentSetup) {
43120
+ if (flush === "sync") {
43121
+ const ctx2 = useSSRContext();
43122
+ ssrCleanup = ctx2.__watcherHandles || (ctx2.__watcherHandles = []);
43123
+ } else if (!runsImmediately) {
43124
+ const watchStopHandle = () => {
43125
+ };
43126
+ watchStopHandle.stop = NOOP;
43127
+ watchStopHandle.resume = NOOP;
43128
+ watchStopHandle.pause = NOOP;
43129
+ return watchStopHandle;
43130
+ }
43131
+ }
43132
+ const instance = currentInstance;
43133
+ baseWatchOptions.call = (fn, type2, args) => callWithAsyncErrorHandling(fn, instance, type2, args);
43134
+ let isPre = false;
43135
+ if (flush === "post") {
43136
+ baseWatchOptions.scheduler = (job) => {
43137
+ queuePostRenderEffect(job, instance && instance.suspense);
43138
+ };
43139
+ } else if (flush !== "sync") {
43140
+ isPre = true;
43141
+ baseWatchOptions.scheduler = (job, isFirstRun) => {
43142
+ if (isFirstRun) {
43143
+ job();
43144
+ } else {
43145
+ queueJob(job);
43146
+ }
43147
+ };
43148
+ }
43149
+ baseWatchOptions.augmentJob = (job) => {
43150
+ if (cb) {
43151
+ job.flags |= 4;
43152
+ }
43153
+ if (isPre) {
43154
+ job.flags |= 2;
43155
+ if (instance) {
43156
+ job.id = instance.uid;
43157
+ job.i = instance;
43158
+ }
43159
+ }
43160
+ };
43161
+ const watchHandle = watch$1(source, cb, baseWatchOptions);
43162
+ if (isInSSRComponentSetup) {
43163
+ if (ssrCleanup) {
43164
+ ssrCleanup.push(watchHandle);
43165
+ } else if (runsImmediately) {
43166
+ watchHandle();
43167
+ }
43168
+ }
43169
+ return watchHandle;
43170
+ }
43171
+ function instanceWatch(source, value, options) {
43172
+ const publicThis = this.proxy;
43173
+ const getter = isString(source) ? source.includes(".") ? createPathGetter(publicThis, source) : () => publicThis[source] : source.bind(publicThis, publicThis);
43174
+ let cb;
43175
+ if (isFunction$2(value)) {
43176
+ cb = value;
43177
+ } else {
43178
+ cb = value.handler;
43179
+ options = value;
43180
+ }
43181
+ const reset = setCurrentInstance(this);
43182
+ const res = doWatch(getter, cb.bind(publicThis), options);
43183
+ reset();
43184
+ return res;
43185
+ }
43186
+ function createPathGetter(ctx2, path2) {
43187
+ const segments = path2.split(".");
43188
+ return () => {
43189
+ let cur = ctx2;
43190
+ for (let i2 = 0; i2 < segments.length && cur; i2++) {
43191
+ cur = cur[segments[i2]];
43192
+ }
43193
+ return cur;
43194
+ };
43195
+ }
43196
+ const getModelModifiers = (props, modelName) => {
43197
+ return modelName === "modelValue" || modelName === "model-value" ? props.modelModifiers : props[`${modelName}Modifiers`] || props[`${camelize(modelName)}Modifiers`] || props[`${hyphenate(modelName)}Modifiers`];
43198
+ };
43199
+ function emit(instance, event, ...rawArgs) {
43200
+ if (instance.isUnmounted) return;
43201
+ const props = instance.vnode.props || EMPTY_OBJ;
43202
+ let args = rawArgs;
43203
+ const isModelListener2 = event.startsWith("update:");
43204
+ const modifiers2 = isModelListener2 && getModelModifiers(props, event.slice(7));
43205
+ if (modifiers2) {
43206
+ if (modifiers2.trim) {
43207
+ args = rawArgs.map((a2) => isString(a2) ? a2.trim() : a2);
43208
+ }
43209
+ if (modifiers2.number) {
43210
+ args = rawArgs.map(looseToNumber);
43211
+ }
43212
+ }
43213
+ let handlerName;
43214
+ let handler2 = props[handlerName = toHandlerKey(event)] || // also try camelCase event handler (#2249)
43215
+ props[handlerName = toHandlerKey(camelize(event))];
43216
+ if (!handler2 && isModelListener2) {
43217
+ handler2 = props[handlerName = toHandlerKey(hyphenate(event))];
43218
+ }
43219
+ if (handler2) {
43220
+ callWithAsyncErrorHandling(
43221
+ handler2,
43222
+ instance,
43223
+ 6,
43224
+ args
43225
+ );
43226
+ }
43227
+ const onceHandler = props[handlerName + `Once`];
43228
+ if (onceHandler) {
43229
+ if (!instance.emitted) {
43230
+ instance.emitted = {};
43231
+ } else if (instance.emitted[handlerName]) {
43232
+ return;
43233
+ }
43234
+ instance.emitted[handlerName] = true;
43235
+ callWithAsyncErrorHandling(
43236
+ onceHandler,
43237
+ instance,
43238
+ 6,
43239
+ args
43240
+ );
43241
+ }
43242
+ }
43243
+ const mixinEmitsCache = /* @__PURE__ */ new WeakMap();
43244
+ function normalizeEmitsOptions(comp, appContext, asMixin = false) {
43245
+ const cache2 = asMixin ? mixinEmitsCache : appContext.emitsCache;
43246
+ const cached = cache2.get(comp);
43247
+ if (cached !== void 0) {
43248
+ return cached;
43249
+ }
43250
+ const raw = comp.emits;
43251
+ let normalized = {};
43252
+ let hasExtends = false;
43253
+ if (!isFunction$2(comp)) {
43254
+ const extendEmits = (raw2) => {
43255
+ const normalizedFromExtend = normalizeEmitsOptions(raw2, appContext, true);
43256
+ if (normalizedFromExtend) {
43257
+ hasExtends = true;
43258
+ extend$2(normalized, normalizedFromExtend);
43259
+ }
43260
+ };
43261
+ if (!asMixin && appContext.mixins.length) {
43262
+ appContext.mixins.forEach(extendEmits);
43263
+ }
43264
+ if (comp.extends) {
43265
+ extendEmits(comp.extends);
43266
+ }
43267
+ if (comp.mixins) {
43268
+ comp.mixins.forEach(extendEmits);
43269
+ }
43270
+ }
43271
+ if (!raw && !hasExtends) {
43272
+ if (isObject$3(comp)) {
43273
+ cache2.set(comp, null);
43274
+ }
43275
+ return null;
43276
+ }
43277
+ if (isArray$3(raw)) {
43278
+ raw.forEach((key2) => normalized[key2] = null);
43279
+ } else {
43280
+ extend$2(normalized, raw);
43281
+ }
43282
+ if (isObject$3(comp)) {
43283
+ cache2.set(comp, normalized);
43284
+ }
43285
+ return normalized;
43286
+ }
43287
+ function isEmitListener(options, key2) {
43288
+ if (!options || !isOn(key2)) {
43289
+ return false;
43290
+ }
43291
+ key2 = key2.slice(2).replace(/Once$/, "");
43292
+ return hasOwn(options, key2[0].toLowerCase() + key2.slice(1)) || hasOwn(options, hyphenate(key2)) || hasOwn(options, key2);
43293
+ }
43294
+ function markAttrsAccessed() {
43295
+ }
43296
+ function renderComponentRoot(instance) {
43297
+ const {
43298
+ type: Component,
43299
+ vnode,
43300
+ proxy,
43301
+ withProxy,
43302
+ propsOptions: [propsOptions],
43303
+ slots,
43304
+ attrs,
43305
+ emit: emit2,
43306
+ render: render2,
43307
+ renderCache,
43308
+ props,
43309
+ data,
43310
+ setupState,
43311
+ ctx: ctx2,
43312
+ inheritAttrs
43313
+ } = instance;
43314
+ const prev = setCurrentRenderingInstance(instance);
43315
+ let result;
43316
+ let fallthroughAttrs;
43317
+ try {
43318
+ if (vnode.shapeFlag & 4) {
43319
+ const proxyToUse = withProxy || proxy;
43320
+ const thisProxy = !!(define_process_default$2.env.NODE_ENV !== "production") && setupState.__isScriptSetup ? new Proxy(proxyToUse, {
43321
+ get(target, key2, receiver) {
43322
+ warn$1$2(
43323
+ `Property '${String(
43324
+ key2
43325
+ )}' was accessed via 'this'. Avoid using 'this' in templates.`
43326
+ );
43327
+ return Reflect.get(target, key2, receiver);
43328
+ }
43329
+ }) : proxyToUse;
43330
+ result = normalizeVNode(
43331
+ render2.call(
43332
+ thisProxy,
43333
+ proxyToUse,
43334
+ renderCache,
43335
+ !!(define_process_default$2.env.NODE_ENV !== "production") ? shallowReadonly(props) : props,
43336
+ setupState,
43337
+ data,
43338
+ ctx2
43339
+ )
43340
+ );
43341
+ fallthroughAttrs = attrs;
43342
+ } else {
43343
+ const render22 = Component;
43344
+ if (!!(define_process_default$2.env.NODE_ENV !== "production") && attrs === props) ;
43345
+ result = normalizeVNode(
43346
+ render22.length > 1 ? render22(
43347
+ !!(define_process_default$2.env.NODE_ENV !== "production") ? shallowReadonly(props) : props,
43348
+ !!(define_process_default$2.env.NODE_ENV !== "production") ? {
43349
+ get attrs() {
43350
+ markAttrsAccessed();
43351
+ return shallowReadonly(attrs);
43352
+ },
43353
+ slots,
43354
+ emit: emit2
43355
+ } : { attrs, slots, emit: emit2 }
43356
+ ) : render22(
43357
+ !!(define_process_default$2.env.NODE_ENV !== "production") ? shallowReadonly(props) : props,
43358
+ null
43359
+ )
43360
+ );
43361
+ fallthroughAttrs = Component.props ? attrs : getFunctionalFallthrough(attrs);
43362
+ }
43363
+ } catch (err) {
43364
+ blockStack.length = 0;
43365
+ handleError(err, instance, 1);
43366
+ result = createVNode(Comment);
43367
+ }
43368
+ let root2 = result;
43369
+ if (fallthroughAttrs && inheritAttrs !== false) {
43370
+ const keys2 = Object.keys(fallthroughAttrs);
43371
+ const { shapeFlag } = root2;
43372
+ if (keys2.length) {
43373
+ if (shapeFlag & (1 | 6)) {
43374
+ if (propsOptions && keys2.some(isModelListener)) {
43375
+ fallthroughAttrs = filterModelListeners(
43376
+ fallthroughAttrs,
43377
+ propsOptions
43378
+ );
43379
+ }
43380
+ root2 = cloneVNode(root2, fallthroughAttrs, false, true);
43381
+ }
43382
+ }
43383
+ }
43384
+ if (vnode.dirs) {
43385
+ root2 = cloneVNode(root2, null, false, true);
43386
+ root2.dirs = root2.dirs ? root2.dirs.concat(vnode.dirs) : vnode.dirs;
43387
+ }
43388
+ if (vnode.transition) {
43389
+ setTransitionHooks(root2, vnode.transition);
43390
+ }
43391
+ {
43392
+ result = root2;
43393
+ }
43394
+ setCurrentRenderingInstance(prev);
43395
+ return result;
43396
+ }
43397
+ const getFunctionalFallthrough = (attrs) => {
43398
+ let res;
43399
+ for (const key2 in attrs) {
43400
+ if (key2 === "class" || key2 === "style" || isOn(key2)) {
43401
+ (res || (res = {}))[key2] = attrs[key2];
43402
+ }
43403
+ }
43404
+ return res;
43405
+ };
43406
+ const filterModelListeners = (attrs, props) => {
43407
+ const res = {};
43408
+ for (const key2 in attrs) {
43409
+ if (!isModelListener(key2) || !(key2.slice(9) in props)) {
43410
+ res[key2] = attrs[key2];
43411
+ }
43412
+ }
43413
+ return res;
43414
+ };
43415
+ function shouldUpdateComponent(prevVNode, nextVNode, optimized) {
43416
+ const { props: prevProps, children: prevChildren, component } = prevVNode;
43417
+ const { props: nextProps, children: nextChildren, patchFlag } = nextVNode;
43418
+ const emits = component.emitsOptions;
43419
+ if (nextVNode.dirs || nextVNode.transition) {
43420
+ return true;
43421
+ }
43422
+ if (optimized && patchFlag >= 0) {
43423
+ if (patchFlag & 1024) {
43424
+ return true;
43425
+ }
43426
+ if (patchFlag & 16) {
43427
+ if (!prevProps) {
43428
+ return !!nextProps;
43429
+ }
43430
+ return hasPropsChanged(prevProps, nextProps, emits);
43431
+ } else if (patchFlag & 8) {
43432
+ const dynamicProps = nextVNode.dynamicProps;
43433
+ for (let i2 = 0; i2 < dynamicProps.length; i2++) {
43434
+ const key2 = dynamicProps[i2];
43435
+ if (nextProps[key2] !== prevProps[key2] && !isEmitListener(emits, key2)) {
43436
+ return true;
43437
+ }
43438
+ }
43439
+ }
43440
+ } else {
43441
+ if (prevChildren || nextChildren) {
43442
+ if (!nextChildren || !nextChildren.$stable) {
43443
+ return true;
43444
+ }
43445
+ }
43446
+ if (prevProps === nextProps) {
43447
+ return false;
43448
+ }
43449
+ if (!prevProps) {
43450
+ return !!nextProps;
43451
+ }
43452
+ if (!nextProps) {
43453
+ return true;
43454
+ }
43455
+ return hasPropsChanged(prevProps, nextProps, emits);
43456
+ }
43457
+ return false;
43458
+ }
43459
+ function hasPropsChanged(prevProps, nextProps, emitsOptions) {
43460
+ const nextKeys = Object.keys(nextProps);
43461
+ if (nextKeys.length !== Object.keys(prevProps).length) {
43462
+ return true;
43463
+ }
43464
+ for (let i2 = 0; i2 < nextKeys.length; i2++) {
43465
+ const key2 = nextKeys[i2];
43466
+ if (nextProps[key2] !== prevProps[key2] && !isEmitListener(emitsOptions, key2)) {
43467
+ return true;
43468
+ }
43469
+ }
43470
+ return false;
43471
+ }
43472
+ function updateHOCHostEl({ vnode, parent }, el) {
43473
+ while (parent) {
43474
+ const root2 = parent.subTree;
43475
+ if (root2.suspense && root2.suspense.activeBranch === vnode) {
43476
+ root2.el = vnode.el;
43477
+ }
43478
+ if (root2 === vnode) {
43479
+ (vnode = parent.vnode).el = el;
43480
+ parent = parent.parent;
43481
+ } else {
43482
+ break;
43483
+ }
43484
+ }
43485
+ }
42960
43486
  const internalObjectProto = {};
42961
43487
  const createInternalObject = () => Object.create(internalObjectProto);
42962
43488
  const isInternalObject = (obj) => Object.getPrototypeOf(obj) === internalObjectProto;
@@ -44677,391 +45203,6 @@ Please report this to https://github.com/markedjs/marked.`, e) {
44677
45203
  hooks[i2].flags |= 8;
44678
45204
  }
44679
45205
  }
44680
- const ssrContextKey$2 = Symbol.for("v-scx");
44681
- const useSSRContext = () => {
44682
- {
44683
- const ctx2 = inject(ssrContextKey$2);
44684
- return ctx2;
44685
- }
44686
- };
44687
- function watchEffect(effect2, options) {
44688
- return doWatch(effect2, null, options);
44689
- }
44690
- function watch(source, cb, options) {
44691
- return doWatch(source, cb, options);
44692
- }
44693
- function doWatch(source, cb, options = EMPTY_OBJ) {
44694
- const { immediate, deep, flush, once } = options;
44695
- const baseWatchOptions = extend$2({}, options);
44696
- const runsImmediately = cb && immediate || !cb && flush !== "post";
44697
- let ssrCleanup;
44698
- if (isInSSRComponentSetup) {
44699
- if (flush === "sync") {
44700
- const ctx2 = useSSRContext();
44701
- ssrCleanup = ctx2.__watcherHandles || (ctx2.__watcherHandles = []);
44702
- } else if (!runsImmediately) {
44703
- const watchStopHandle = () => {
44704
- };
44705
- watchStopHandle.stop = NOOP;
44706
- watchStopHandle.resume = NOOP;
44707
- watchStopHandle.pause = NOOP;
44708
- return watchStopHandle;
44709
- }
44710
- }
44711
- const instance = currentInstance;
44712
- baseWatchOptions.call = (fn, type2, args) => callWithAsyncErrorHandling(fn, instance, type2, args);
44713
- let isPre = false;
44714
- if (flush === "post") {
44715
- baseWatchOptions.scheduler = (job) => {
44716
- queuePostRenderEffect(job, instance && instance.suspense);
44717
- };
44718
- } else if (flush !== "sync") {
44719
- isPre = true;
44720
- baseWatchOptions.scheduler = (job, isFirstRun) => {
44721
- if (isFirstRun) {
44722
- job();
44723
- } else {
44724
- queueJob(job);
44725
- }
44726
- };
44727
- }
44728
- baseWatchOptions.augmentJob = (job) => {
44729
- if (cb) {
44730
- job.flags |= 4;
44731
- }
44732
- if (isPre) {
44733
- job.flags |= 2;
44734
- if (instance) {
44735
- job.id = instance.uid;
44736
- job.i = instance;
44737
- }
44738
- }
44739
- };
44740
- const watchHandle = watch$1(source, cb, baseWatchOptions);
44741
- if (isInSSRComponentSetup) {
44742
- if (ssrCleanup) {
44743
- ssrCleanup.push(watchHandle);
44744
- } else if (runsImmediately) {
44745
- watchHandle();
44746
- }
44747
- }
44748
- return watchHandle;
44749
- }
44750
- function instanceWatch(source, value, options) {
44751
- const publicThis = this.proxy;
44752
- const getter = isString(source) ? source.includes(".") ? createPathGetter(publicThis, source) : () => publicThis[source] : source.bind(publicThis, publicThis);
44753
- let cb;
44754
- if (isFunction$2(value)) {
44755
- cb = value;
44756
- } else {
44757
- cb = value.handler;
44758
- options = value;
44759
- }
44760
- const reset = setCurrentInstance(this);
44761
- const res = doWatch(getter, cb.bind(publicThis), options);
44762
- reset();
44763
- return res;
44764
- }
44765
- function createPathGetter(ctx2, path2) {
44766
- const segments = path2.split(".");
44767
- return () => {
44768
- let cur = ctx2;
44769
- for (let i2 = 0; i2 < segments.length && cur; i2++) {
44770
- cur = cur[segments[i2]];
44771
- }
44772
- return cur;
44773
- };
44774
- }
44775
- const getModelModifiers = (props, modelName) => {
44776
- return modelName === "modelValue" || modelName === "model-value" ? props.modelModifiers : props[`${modelName}Modifiers`] || props[`${camelize(modelName)}Modifiers`] || props[`${hyphenate(modelName)}Modifiers`];
44777
- };
44778
- function emit(instance, event, ...rawArgs) {
44779
- if (instance.isUnmounted) return;
44780
- const props = instance.vnode.props || EMPTY_OBJ;
44781
- let args = rawArgs;
44782
- const isModelListener2 = event.startsWith("update:");
44783
- const modifiers2 = isModelListener2 && getModelModifiers(props, event.slice(7));
44784
- if (modifiers2) {
44785
- if (modifiers2.trim) {
44786
- args = rawArgs.map((a2) => isString(a2) ? a2.trim() : a2);
44787
- }
44788
- if (modifiers2.number) {
44789
- args = rawArgs.map(looseToNumber);
44790
- }
44791
- }
44792
- let handlerName;
44793
- let handler2 = props[handlerName = toHandlerKey(event)] || // also try camelCase event handler (#2249)
44794
- props[handlerName = toHandlerKey(camelize(event))];
44795
- if (!handler2 && isModelListener2) {
44796
- handler2 = props[handlerName = toHandlerKey(hyphenate(event))];
44797
- }
44798
- if (handler2) {
44799
- callWithAsyncErrorHandling(
44800
- handler2,
44801
- instance,
44802
- 6,
44803
- args
44804
- );
44805
- }
44806
- const onceHandler = props[handlerName + `Once`];
44807
- if (onceHandler) {
44808
- if (!instance.emitted) {
44809
- instance.emitted = {};
44810
- } else if (instance.emitted[handlerName]) {
44811
- return;
44812
- }
44813
- instance.emitted[handlerName] = true;
44814
- callWithAsyncErrorHandling(
44815
- onceHandler,
44816
- instance,
44817
- 6,
44818
- args
44819
- );
44820
- }
44821
- }
44822
- const mixinEmitsCache = /* @__PURE__ */ new WeakMap();
44823
- function normalizeEmitsOptions(comp, appContext, asMixin = false) {
44824
- const cache2 = asMixin ? mixinEmitsCache : appContext.emitsCache;
44825
- const cached = cache2.get(comp);
44826
- if (cached !== void 0) {
44827
- return cached;
44828
- }
44829
- const raw = comp.emits;
44830
- let normalized = {};
44831
- let hasExtends = false;
44832
- if (!isFunction$2(comp)) {
44833
- const extendEmits = (raw2) => {
44834
- const normalizedFromExtend = normalizeEmitsOptions(raw2, appContext, true);
44835
- if (normalizedFromExtend) {
44836
- hasExtends = true;
44837
- extend$2(normalized, normalizedFromExtend);
44838
- }
44839
- };
44840
- if (!asMixin && appContext.mixins.length) {
44841
- appContext.mixins.forEach(extendEmits);
44842
- }
44843
- if (comp.extends) {
44844
- extendEmits(comp.extends);
44845
- }
44846
- if (comp.mixins) {
44847
- comp.mixins.forEach(extendEmits);
44848
- }
44849
- }
44850
- if (!raw && !hasExtends) {
44851
- if (isObject$3(comp)) {
44852
- cache2.set(comp, null);
44853
- }
44854
- return null;
44855
- }
44856
- if (isArray$3(raw)) {
44857
- raw.forEach((key2) => normalized[key2] = null);
44858
- } else {
44859
- extend$2(normalized, raw);
44860
- }
44861
- if (isObject$3(comp)) {
44862
- cache2.set(comp, normalized);
44863
- }
44864
- return normalized;
44865
- }
44866
- function isEmitListener(options, key2) {
44867
- if (!options || !isOn(key2)) {
44868
- return false;
44869
- }
44870
- key2 = key2.slice(2).replace(/Once$/, "");
44871
- return hasOwn(options, key2[0].toLowerCase() + key2.slice(1)) || hasOwn(options, hyphenate(key2)) || hasOwn(options, key2);
44872
- }
44873
- function markAttrsAccessed() {
44874
- }
44875
- function renderComponentRoot(instance) {
44876
- const {
44877
- type: Component,
44878
- vnode,
44879
- proxy,
44880
- withProxy,
44881
- propsOptions: [propsOptions],
44882
- slots,
44883
- attrs,
44884
- emit: emit2,
44885
- render: render2,
44886
- renderCache,
44887
- props,
44888
- data,
44889
- setupState,
44890
- ctx: ctx2,
44891
- inheritAttrs
44892
- } = instance;
44893
- const prev = setCurrentRenderingInstance(instance);
44894
- let result;
44895
- let fallthroughAttrs;
44896
- try {
44897
- if (vnode.shapeFlag & 4) {
44898
- const proxyToUse = withProxy || proxy;
44899
- const thisProxy = !!(define_process_default$2.env.NODE_ENV !== "production") && setupState.__isScriptSetup ? new Proxy(proxyToUse, {
44900
- get(target, key2, receiver) {
44901
- warn$1$2(
44902
- `Property '${String(
44903
- key2
44904
- )}' was accessed via 'this'. Avoid using 'this' in templates.`
44905
- );
44906
- return Reflect.get(target, key2, receiver);
44907
- }
44908
- }) : proxyToUse;
44909
- result = normalizeVNode(
44910
- render2.call(
44911
- thisProxy,
44912
- proxyToUse,
44913
- renderCache,
44914
- !!(define_process_default$2.env.NODE_ENV !== "production") ? shallowReadonly(props) : props,
44915
- setupState,
44916
- data,
44917
- ctx2
44918
- )
44919
- );
44920
- fallthroughAttrs = attrs;
44921
- } else {
44922
- const render22 = Component;
44923
- if (!!(define_process_default$2.env.NODE_ENV !== "production") && attrs === props) ;
44924
- result = normalizeVNode(
44925
- render22.length > 1 ? render22(
44926
- !!(define_process_default$2.env.NODE_ENV !== "production") ? shallowReadonly(props) : props,
44927
- !!(define_process_default$2.env.NODE_ENV !== "production") ? {
44928
- get attrs() {
44929
- markAttrsAccessed();
44930
- return shallowReadonly(attrs);
44931
- },
44932
- slots,
44933
- emit: emit2
44934
- } : { attrs, slots, emit: emit2 }
44935
- ) : render22(
44936
- !!(define_process_default$2.env.NODE_ENV !== "production") ? shallowReadonly(props) : props,
44937
- null
44938
- )
44939
- );
44940
- fallthroughAttrs = Component.props ? attrs : getFunctionalFallthrough(attrs);
44941
- }
44942
- } catch (err) {
44943
- blockStack.length = 0;
44944
- handleError(err, instance, 1);
44945
- result = createVNode(Comment);
44946
- }
44947
- let root2 = result;
44948
- if (fallthroughAttrs && inheritAttrs !== false) {
44949
- const keys2 = Object.keys(fallthroughAttrs);
44950
- const { shapeFlag } = root2;
44951
- if (keys2.length) {
44952
- if (shapeFlag & (1 | 6)) {
44953
- if (propsOptions && keys2.some(isModelListener)) {
44954
- fallthroughAttrs = filterModelListeners(
44955
- fallthroughAttrs,
44956
- propsOptions
44957
- );
44958
- }
44959
- root2 = cloneVNode(root2, fallthroughAttrs, false, true);
44960
- }
44961
- }
44962
- }
44963
- if (vnode.dirs) {
44964
- root2 = cloneVNode(root2, null, false, true);
44965
- root2.dirs = root2.dirs ? root2.dirs.concat(vnode.dirs) : vnode.dirs;
44966
- }
44967
- if (vnode.transition) {
44968
- setTransitionHooks(root2, vnode.transition);
44969
- }
44970
- {
44971
- result = root2;
44972
- }
44973
- setCurrentRenderingInstance(prev);
44974
- return result;
44975
- }
44976
- const getFunctionalFallthrough = (attrs) => {
44977
- let res;
44978
- for (const key2 in attrs) {
44979
- if (key2 === "class" || key2 === "style" || isOn(key2)) {
44980
- (res || (res = {}))[key2] = attrs[key2];
44981
- }
44982
- }
44983
- return res;
44984
- };
44985
- const filterModelListeners = (attrs, props) => {
44986
- const res = {};
44987
- for (const key2 in attrs) {
44988
- if (!isModelListener(key2) || !(key2.slice(9) in props)) {
44989
- res[key2] = attrs[key2];
44990
- }
44991
- }
44992
- return res;
44993
- };
44994
- function shouldUpdateComponent(prevVNode, nextVNode, optimized) {
44995
- const { props: prevProps, children: prevChildren, component } = prevVNode;
44996
- const { props: nextProps, children: nextChildren, patchFlag } = nextVNode;
44997
- const emits = component.emitsOptions;
44998
- if (nextVNode.dirs || nextVNode.transition) {
44999
- return true;
45000
- }
45001
- if (optimized && patchFlag >= 0) {
45002
- if (patchFlag & 1024) {
45003
- return true;
45004
- }
45005
- if (patchFlag & 16) {
45006
- if (!prevProps) {
45007
- return !!nextProps;
45008
- }
45009
- return hasPropsChanged(prevProps, nextProps, emits);
45010
- } else if (patchFlag & 8) {
45011
- const dynamicProps = nextVNode.dynamicProps;
45012
- for (let i2 = 0; i2 < dynamicProps.length; i2++) {
45013
- const key2 = dynamicProps[i2];
45014
- if (nextProps[key2] !== prevProps[key2] && !isEmitListener(emits, key2)) {
45015
- return true;
45016
- }
45017
- }
45018
- }
45019
- } else {
45020
- if (prevChildren || nextChildren) {
45021
- if (!nextChildren || !nextChildren.$stable) {
45022
- return true;
45023
- }
45024
- }
45025
- if (prevProps === nextProps) {
45026
- return false;
45027
- }
45028
- if (!prevProps) {
45029
- return !!nextProps;
45030
- }
45031
- if (!nextProps) {
45032
- return true;
45033
- }
45034
- return hasPropsChanged(prevProps, nextProps, emits);
45035
- }
45036
- return false;
45037
- }
45038
- function hasPropsChanged(prevProps, nextProps, emitsOptions) {
45039
- const nextKeys = Object.keys(nextProps);
45040
- if (nextKeys.length !== Object.keys(prevProps).length) {
45041
- return true;
45042
- }
45043
- for (let i2 = 0; i2 < nextKeys.length; i2++) {
45044
- const key2 = nextKeys[i2];
45045
- if (nextProps[key2] !== prevProps[key2] && !isEmitListener(emitsOptions, key2)) {
45046
- return true;
45047
- }
45048
- }
45049
- return false;
45050
- }
45051
- function updateHOCHostEl({ vnode, parent }, el) {
45052
- while (parent) {
45053
- const root2 = parent.subTree;
45054
- if (root2.suspense && root2.suspense.activeBranch === vnode) {
45055
- root2.el = vnode.el;
45056
- }
45057
- if (root2 === vnode) {
45058
- (vnode = parent.vnode).el = el;
45059
- parent = parent.parent;
45060
- } else {
45061
- break;
45062
- }
45063
- }
45064
- }
45065
45206
  const isSuspense = (type2) => type2.__isSuspense;
45066
45207
  function queueEffectWithSuspense(fn, suspense) {
45067
45208
  if (suspense && suspense.pendingBranch) {
@@ -45669,7 +45810,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
45669
45810
  name = match[1];
45670
45811
  }
45671
45812
  }
45672
- if (!name && instance && instance.parent) {
45813
+ if (!name && instance) {
45673
45814
  const inferFromRegistry = (registry) => {
45674
45815
  for (const key2 in registry) {
45675
45816
  if (registry[key2] === Component) {
@@ -45677,8 +45818,8 @@ Please report this to https://github.com/markedjs/marked.`, e) {
45677
45818
  }
45678
45819
  }
45679
45820
  };
45680
- name = inferFromRegistry(
45681
- instance.components || instance.parent.type.components
45821
+ name = inferFromRegistry(instance.components) || instance.parent && inferFromRegistry(
45822
+ instance.parent.type.components
45682
45823
  ) || inferFromRegistry(instance.appContext.components);
45683
45824
  }
45684
45825
  return name ? classify(name) : isRoot ? `App` : `Anonymous`;
@@ -45715,7 +45856,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
45715
45856
  setBlockTracking(1);
45716
45857
  }
45717
45858
  }
45718
- const version$1 = "3.5.24";
45859
+ const version$1 = "3.5.25";
45719
45860
  let policy = void 0;
45720
45861
  const tt = typeof window !== "undefined" && window.trustedTypes;
45721
45862
  if (tt) {
@@ -47388,17 +47529,17 @@ Please report this to https://github.com/markedjs/marked.`, e) {
47388
47529
  elt = elt.shadowRoot.activeElement;
47389
47530
  return elt;
47390
47531
  }
47391
- function caretFromPoint(doc2, x, y2) {
47532
+ function caretFromPoint(doc2, x2, y2) {
47392
47533
  if (doc2.caretPositionFromPoint) {
47393
47534
  try {
47394
- let pos = doc2.caretPositionFromPoint(x, y2);
47535
+ let pos = doc2.caretPositionFromPoint(x2, y2);
47395
47536
  if (pos)
47396
47537
  return { node: pos.offsetNode, offset: Math.min(nodeSize(pos.offsetNode), pos.offset) };
47397
47538
  } catch (_2) {
47398
47539
  }
47399
47540
  }
47400
47541
  if (doc2.caretRangeFromPoint) {
47401
- let range2 = doc2.caretRangeFromPoint(x, y2);
47542
+ let range2 = doc2.caretRangeFromPoint(x2, y2);
47402
47543
  if (range2)
47403
47544
  return { node: range2.startContainer, offset: Math.min(nodeSize(range2.startContainer), range2.startOffset) };
47404
47545
  }
@@ -47497,8 +47638,8 @@ Please report this to https://github.com/markedjs/marked.`, e) {
47497
47638
  function storeScrollPos(view) {
47498
47639
  let rect = view.dom.getBoundingClientRect(), startY = Math.max(0, rect.top);
47499
47640
  let refDOM, refTop;
47500
- for (let x = (rect.left + rect.right) / 2, y2 = startY + 1; y2 < Math.min(innerHeight, rect.bottom); y2 += 5) {
47501
- let dom = view.root.elementFromPoint(x, y2);
47641
+ for (let x2 = (rect.left + rect.right) / 2, y2 = startY + 1; y2 < Math.min(innerHeight, rect.bottom); y2 += 5) {
47642
+ let dom = view.root.elementFromPoint(x2, y2);
47502
47643
  if (!dom || dom == view.dom || !view.dom.contains(dom))
47503
47644
  continue;
47504
47645
  let localRect = dom.getBoundingClientRect();
@@ -47600,17 +47741,20 @@ Please report this to https://github.com/markedjs/marked.`, e) {
47600
47741
  }
47601
47742
  function findOffsetInText(node2, coords) {
47602
47743
  let len2 = node2.nodeValue.length;
47603
- let range2 = document.createRange();
47744
+ let range2 = document.createRange(), result;
47604
47745
  for (let i2 = 0; i2 < len2; i2++) {
47605
47746
  range2.setEnd(node2, i2 + 1);
47606
47747
  range2.setStart(node2, i2);
47607
47748
  let rect = singleRect(range2, 1);
47608
47749
  if (rect.top == rect.bottom)
47609
47750
  continue;
47610
- if (inRect(coords, rect))
47611
- return { node: node2, offset: i2 + (coords.left >= (rect.left + rect.right) / 2 ? 1 : 0) };
47751
+ if (inRect(coords, rect)) {
47752
+ result = { node: node2, offset: i2 + (coords.left >= (rect.left + rect.right) / 2 ? 1 : 0) };
47753
+ break;
47754
+ }
47612
47755
  }
47613
- return { node: node2, offset: 0 };
47756
+ range2.detach();
47757
+ return result || { node: node2, offset: 0 };
47614
47758
  }
47615
47759
  function inRect(coords, rect) {
47616
47760
  return coords.left >= rect.left - 1 && coords.left <= rect.right + 1 && coords.top >= rect.top - 1 && coords.top <= rect.bottom + 1;
@@ -47794,8 +47938,8 @@ Please report this to https://github.com/markedjs/marked.`, e) {
47794
47938
  function flattenV(rect, left2) {
47795
47939
  if (rect.width == 0)
47796
47940
  return rect;
47797
- let x = left2 ? rect.left : rect.right;
47798
- return { top: rect.top, bottom: rect.bottom, left: x, right: x };
47941
+ let x2 = left2 ? rect.left : rect.right;
47942
+ return { top: rect.top, bottom: rect.bottom, left: x2, right: x2 };
47799
47943
  }
47800
47944
  function flattenH(rect, top2) {
47801
47945
  if (rect.height == 0)
@@ -50357,7 +50501,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
50357
50501
  if (!view.composing) {
50358
50502
  view.domObserver.flush();
50359
50503
  let { state: state2 } = view, $pos = state2.selection.$to;
50360
- if (state2.selection instanceof TextSelection$1 && (state2.storedMarks || !$pos.textOffset && $pos.parentOffset && $pos.nodeBefore.marks.some((m2) => m2.type.spec.inclusive === false))) {
50504
+ if (state2.selection instanceof TextSelection$1 && (state2.storedMarks || !$pos.textOffset && $pos.parentOffset && $pos.nodeBefore.marks.some((m2) => m2.type.spec.inclusive === false) || chrome && windows$1 && selectionBeforeUneditable(view))) {
50361
50505
  view.markCursor = view.state.storedMarks || $pos.marks();
50362
50506
  endComposition(view, true);
50363
50507
  view.markCursor = null;
@@ -50385,6 +50529,13 @@ Please report this to https://github.com/markedjs/marked.`, e) {
50385
50529
  }
50386
50530
  scheduleComposeEnd(view, timeoutComposition);
50387
50531
  };
50532
+ function selectionBeforeUneditable(view) {
50533
+ let { focusNode, focusOffset } = view.domSelectionRange();
50534
+ if (!focusNode || focusNode.nodeType != 1 || focusOffset >= focusNode.childNodes.length)
50535
+ return false;
50536
+ let next2 = focusNode.childNodes[focusOffset];
50537
+ return next2.nodeType == 1 && next2.contentEditable == "false";
50538
+ }
50388
50539
  editHandlers.compositionend = (view, event) => {
50389
50540
  if (view.composing) {
50390
50541
  view.input.composing = false;
@@ -50588,10 +50739,14 @@ Please report this to https://github.com/markedjs/marked.`, e) {
50588
50739
  }, 50);
50589
50740
  };
50590
50741
  editHandlers.dragover = editHandlers.dragenter = (_2, e) => e.preventDefault();
50591
- editHandlers.drop = (view, _event) => {
50592
- let event = _event;
50593
- let dragging = view.dragging;
50594
- view.dragging = null;
50742
+ editHandlers.drop = (view, event) => {
50743
+ try {
50744
+ handleDrop(view, event, view.dragging);
50745
+ } finally {
50746
+ view.dragging = null;
50747
+ }
50748
+ };
50749
+ function handleDrop(view, event, dragging) {
50595
50750
  if (!event.dataTransfer)
50596
50751
  return;
50597
50752
  let eventPos = view.posAtCoords(eventCoords(event));
@@ -50644,7 +50799,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
50644
50799
  }
50645
50800
  view.focus();
50646
50801
  view.dispatch(tr.setMeta("uiEvent", "drop"));
50647
- };
50802
+ }
50648
50803
  handlers$1.focus = (view) => {
50649
50804
  view.input.lastFocus = Date.now();
50650
50805
  if (!view.focused) {
@@ -51494,6 +51649,13 @@ Please report this to https://github.com/markedjs/marked.`, e) {
51494
51649
  br2.remove();
51495
51650
  }
51496
51651
  }
51652
+ } else if ((chrome || safari) && added.some((n) => n.nodeName == "BR") && (view.input.lastKeyCode == 8 || view.input.lastKeyCode == 46)) {
51653
+ for (let node2 of added)
51654
+ if (node2.nodeName == "BR" && node2.parentNode) {
51655
+ let after = node2.nextSibling;
51656
+ if (after && after.nodeType == 1 && after.contentEditable == "false")
51657
+ node2.parentNode.removeChild(node2);
51658
+ }
51497
51659
  }
51498
51660
  let readSel = null;
51499
51661
  if (from2 < 0 && newSel && view.input.lastFocus > Date.now() - 200 && Math.max(view.input.lastTouch, view.input.lastClick.time) < Date.now() - 300 && selectionCollapsed(sel) && (readSel = selectionFromDOM(view)) && readSel.eq(Selection.near(view.state.doc.resolve(0), 1))) {
@@ -52802,10 +52964,10 @@ Please report this to https://github.com/markedjs/marked.`, e) {
52802
52964
  const Timeout = createTimeoutClass(clearTimeout);
52803
52965
  const timeout = (timeout2, callback) => new Timeout(setTimeout(callback, timeout2));
52804
52966
  const rotr = (w2, shift2) => w2 >>> shift2 | w2 << 32 - shift2;
52805
- const sum0to256 = (x) => rotr(x, 2) ^ rotr(x, 13) ^ rotr(x, 22);
52806
- const sum1to256 = (x) => rotr(x, 6) ^ rotr(x, 11) ^ rotr(x, 25);
52807
- const sigma0to256 = (x) => rotr(x, 7) ^ rotr(x, 18) ^ x >>> 3;
52808
- const sigma1to256 = (x) => rotr(x, 17) ^ rotr(x, 19) ^ x >>> 10;
52967
+ const sum0to256 = (x2) => rotr(x2, 2) ^ rotr(x2, 13) ^ rotr(x2, 22);
52968
+ const sum1to256 = (x2) => rotr(x2, 6) ^ rotr(x2, 11) ^ rotr(x2, 25);
52969
+ const sigma0to256 = (x2) => rotr(x2, 7) ^ rotr(x2, 18) ^ x2 >>> 3;
52970
+ const sigma1to256 = (x2) => rotr(x2, 17) ^ rotr(x2, 19) ^ x2 >>> 10;
52809
52971
  const K = new Uint32Array([
52810
52972
  1116352408,
52811
52973
  1899447441,
@@ -61827,7 +61989,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
61827
61989
  { default: remarkStringify2 },
61828
61990
  { default: remarkGfm2 }
61829
61991
  ] = await Promise.all([
61830
- Promise.resolve().then(() => indexBO0dc2dg),
61992
+ Promise.resolve().then(() => index_8cQcYzu),
61831
61993
  Promise.resolve().then(() => indexDRCvimau),
61832
61994
  Promise.resolve().then(() => indexC_x_N6Uh),
61833
61995
  Promise.resolve().then(() => indexD_sWOSiG),
@@ -62045,7 +62207,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
62045
62207
  * @returns {Object | void} Migration results
62046
62208
  */
62047
62209
  processCollaborationMigrations() {
62048
- console.debug("[checkVersionMigrations] Current editor version", "0.34.5");
62210
+ console.debug("[checkVersionMigrations] Current editor version", "0.34.6-RC1");
62049
62211
  if (!this.options.ydoc) return;
62050
62212
  const metaMap = this.options.ydoc.getMap("meta");
62051
62213
  let docVersion = metaMap.get("version");
@@ -63924,16 +64086,16 @@ Please report this to https://github.com/markedjs/marked.`, e) {
63924
64086
  const { state: state2, dom } = view;
63925
64087
  const { selection } = state2;
63926
64088
  const containerRect = dom.getBoundingClientRect();
63927
- let x, y2;
64089
+ let x2, y2;
63928
64090
  if (typeof eventLocation.clientX === "number" && typeof eventLocation.clientY === "number") {
63929
- x = eventLocation.clientX - containerRect.left;
64091
+ x2 = eventLocation.clientX - containerRect.left;
63930
64092
  y2 = eventLocation.clientY - containerRect.top;
63931
64093
  } else {
63932
64094
  const cursorCoords = view.coordsAtPos(selection.from);
63933
- x = cursorCoords.left - containerRect.left;
64095
+ x2 = cursorCoords.left - containerRect.left;
63934
64096
  y2 = cursorCoords.top - containerRect.top;
63935
64097
  }
63936
- return { left: x, top: y2 };
64098
+ return { left: x2, top: y2 };
63937
64099
  }
63938
64100
  const SlashMenuPluginKey = new PluginKey("slashMenu");
63939
64101
  const SlashMenu = Extension.create({
@@ -64212,17 +64374,17 @@ Please report this to https://github.com/markedjs/marked.`, e) {
64212
64374
  if (!this.dom || this.contentDOM?.contains(target) || !dragHandle) {
64213
64375
  return;
64214
64376
  }
64215
- let x = 0;
64377
+ let x2 = 0;
64216
64378
  let y2 = 0;
64217
64379
  if (this.dom !== dragHandle) {
64218
64380
  const domBox = this.dom.getBoundingClientRect();
64219
64381
  const handleBox = dragHandle.getBoundingClientRect();
64220
64382
  const offsetX = event.offsetX ?? event.nativeEvent?.offsetX;
64221
64383
  const offsetY = event.offsetY ?? event.nativeEvent?.offsetY;
64222
- x = handleBox.x - domBox.x + offsetX;
64384
+ x2 = handleBox.x - domBox.x + offsetX;
64223
64385
  y2 = handleBox.y - domBox.y + offsetY;
64224
64386
  }
64225
- event.dataTransfer?.setDragImage(this.dom, x, y2);
64387
+ event.dataTransfer?.setDragImage(this.dom, x2, y2);
64226
64388
  const pos = this.getPos();
64227
64389
  if (typeof pos !== "number") {
64228
64390
  return;
@@ -72480,17 +72642,17 @@ Please report this to https://github.com/markedjs/marked.`, e) {
72480
72642
  const reducedHexMatch = reducedHexRegex.exec(normalizedColor);
72481
72643
  if (reducedHexMatch) {
72482
72644
  const arr = Array.from(reducedHexMatch).slice(1);
72483
- return [...arr.slice(0, 3).map((x) => parseInt(r$1(x, 2), 16)), parseInt(r$1(arr[3] || "f", 2), 16) / 255];
72645
+ return [...arr.slice(0, 3).map((x2) => parseInt(r$1(x2, 2), 16)), parseInt(r$1(arr[3] || "f", 2), 16) / 255];
72484
72646
  }
72485
72647
  const hexMatch = hexRegex$2.exec(normalizedColor);
72486
72648
  if (hexMatch) {
72487
72649
  const arr = Array.from(hexMatch).slice(1);
72488
- return [...arr.slice(0, 3).map((x) => parseInt(x, 16)), parseInt(arr[3] || "ff", 16) / 255];
72650
+ return [...arr.slice(0, 3).map((x2) => parseInt(x2, 16)), parseInt(arr[3] || "ff", 16) / 255];
72489
72651
  }
72490
72652
  const rgbaMatch = rgbaRegex$2.exec(normalizedColor);
72491
72653
  if (rgbaMatch) {
72492
72654
  const arr = Array.from(rgbaMatch).slice(1);
72493
- return [...arr.slice(0, 3).map((x) => parseInt(x, 10)), parseFloat(arr[3] || "1")];
72655
+ return [...arr.slice(0, 3).map((x2) => parseInt(x2, 10)), parseFloat(arr[3] || "1")];
72494
72656
  }
72495
72657
  const hslaMatch = hslaRegex$2.exec(normalizedColor);
72496
72658
  if (hslaMatch) {
@@ -72509,7 +72671,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
72509
72671
  }
72510
72672
  return (hash2 >>> 0) % 2341;
72511
72673
  }
72512
- const colorToInt = (x) => parseInt(x.replace(/_/g, ""), 36);
72674
+ const colorToInt = (x2) => parseInt(x2.replace(/_/g, ""), 36);
72513
72675
  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, next2) => {
72514
72676
  const key2 = colorToInt(next2.substring(0, 3));
72515
72677
  const hex2 = colorToInt(next2.substring(3)).toString(16);
@@ -72573,8 +72735,8 @@ Please report this to https://github.com/markedjs/marked.`, e) {
72573
72735
  };
72574
72736
  function toHex(color2) {
72575
72737
  const [r2, g, b2, a2] = parseToRgba(color2);
72576
- let hex2 = (x) => {
72577
- const h2 = guard(0, 255, x).toString(16);
72738
+ let hex2 = (x2) => {
72739
+ const h2 = guard(0, 255, x2).toString(16);
72578
72740
  return h2.length === 1 ? `0${h2}` : h2;
72579
72741
  };
72580
72742
  return `#${hex2(r2)}${hex2(g)}${hex2(b2)}${a2 < 1 ? hex2(Math.round(a2 * 255)) : ""}`;
@@ -74678,10 +74840,10 @@ Please report this to https://github.com/markedjs/marked.`, e) {
74678
74840
  let minX = 0;
74679
74841
  let minY = 0;
74680
74842
  let maxY = 0;
74681
- attrs.polygon.forEach(([x, y2]) => {
74682
- if (floatRight && x < horizontalOffset) horizontalOffset = x;
74683
- if (x > maxX) maxX = x;
74684
- if (x < minX) minX = x;
74843
+ attrs.polygon.forEach(([x2, y2]) => {
74844
+ if (floatRight && x2 < horizontalOffset) horizontalOffset = x2;
74845
+ if (x2 > maxX) maxX = x2;
74846
+ if (x2 < minX) minX = x2;
74685
74847
  if (y2 > maxY) maxY = y2;
74686
74848
  if (y2 < minY) minY = y2;
74687
74849
  });
@@ -74690,7 +74852,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
74690
74852
  const scaleWidth = Math.min(1, size2.width / originalWidth);
74691
74853
  const scaleHeight = Math.min(1, size2.height / originalHeight);
74692
74854
  const verticalOffset = Math.max(0, marginOffset.top);
74693
- const points = attrs.polygon.map(([x, y2]) => `${horizontalOffset + x * scaleWidth}px ${verticalOffset + y2 * scaleHeight}px`).join(", ");
74855
+ const points = attrs.polygon.map(([x2, y2]) => `${horizontalOffset + x2 * scaleWidth}px ${verticalOffset + y2 * scaleHeight}px`).join(", ");
74694
74856
  style2 += `shape-outside: polygon(${points});`;
74695
74857
  }
74696
74858
  break;
@@ -78344,13 +78506,13 @@ ${l}
78344
78506
  createShapeElement(shape) {
78345
78507
  const attrs = shape.attrs;
78346
78508
  if (!attrs) return null;
78347
- const x = attrs.x || 0;
78509
+ const x2 = attrs.x || 0;
78348
78510
  const y2 = attrs.y || 0;
78349
78511
  const width = attrs.width || 100;
78350
78512
  const height = attrs.height || 100;
78351
78513
  const g = document.createElementNS("http://www.w3.org/2000/svg", "g");
78352
78514
  const transforms = [];
78353
- transforms.push(`translate(${x}, ${y2})`);
78515
+ transforms.push(`translate(${x2}, ${y2})`);
78354
78516
  if (attrs.rotation !== 0) {
78355
78517
  transforms.push(`rotate(${attrs.rotation} ${width / 2} ${height / 2})`);
78356
78518
  }
@@ -80077,7 +80239,7 @@ ${l}
80077
80239
  }
80078
80240
  var _ref = isElement$2$1(element2) ? getWindow$1(element2) : window, visualViewport = _ref.visualViewport;
80079
80241
  var addVisualOffsets = !isLayoutViewport() && isFixedStrategy;
80080
- var x = (clientRect2.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;
80242
+ var x2 = (clientRect2.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;
80081
80243
  var y2 = (clientRect2.top + (addVisualOffsets && visualViewport ? visualViewport.offsetTop : 0)) / scaleY;
80082
80244
  var width = clientRect2.width / scaleX;
80083
80245
  var height = clientRect2.height / scaleY;
@@ -80085,10 +80247,10 @@ ${l}
80085
80247
  width,
80086
80248
  height,
80087
80249
  top: y2,
80088
- right: x + width,
80250
+ right: x2 + width,
80089
80251
  bottom: y2 + height,
80090
- left: x,
80091
- x,
80252
+ left: x2,
80253
+ x: x2,
80092
80254
  y: y2
80093
80255
  };
80094
80256
  }
@@ -80289,25 +80451,25 @@ ${l}
80289
80451
  left: "auto"
80290
80452
  };
80291
80453
  function roundOffsetsByDPR(_ref, win) {
80292
- var x = _ref.x, y2 = _ref.y;
80454
+ var x2 = _ref.x, y2 = _ref.y;
80293
80455
  var dpr = win.devicePixelRatio || 1;
80294
80456
  return {
80295
- x: round$1(x * dpr) / dpr || 0,
80457
+ x: round$1(x2 * dpr) / dpr || 0,
80296
80458
  y: round$1(y2 * dpr) / dpr || 0
80297
80459
  };
80298
80460
  }
80299
80461
  function mapToStyles(_ref2) {
80300
80462
  var _Object$assign2;
80301
80463
  var popper2 = _ref2.popper, popperRect = _ref2.popperRect, placement = _ref2.placement, variation = _ref2.variation, offsets = _ref2.offsets, position2 = _ref2.position, gpuAcceleration = _ref2.gpuAcceleration, adaptive = _ref2.adaptive, roundOffsets = _ref2.roundOffsets, isFixed = _ref2.isFixed;
80302
- 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;
80464
+ 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;
80303
80465
  var _ref3 = typeof roundOffsets === "function" ? roundOffsets({
80304
- x,
80466
+ x: x2,
80305
80467
  y: y2
80306
80468
  }) : {
80307
- x,
80469
+ x: x2,
80308
80470
  y: y2
80309
80471
  };
80310
- x = _ref3.x;
80472
+ x2 = _ref3.x;
80311
80473
  y2 = _ref3.y;
80312
80474
  var hasX = offsets.hasOwnProperty("x");
80313
80475
  var hasY = offsets.hasOwnProperty("y");
@@ -80341,27 +80503,27 @@ ${l}
80341
80503
  // $FlowFixMe[prop-missing]
80342
80504
  offsetParent[widthProp]
80343
80505
  );
80344
- x -= offsetX - popperRect.width;
80345
- x *= gpuAcceleration ? 1 : -1;
80506
+ x2 -= offsetX - popperRect.width;
80507
+ x2 *= gpuAcceleration ? 1 : -1;
80346
80508
  }
80347
80509
  }
80348
80510
  var commonStyles = Object.assign({
80349
80511
  position: position2
80350
80512
  }, adaptive && unsetSides);
80351
80513
  var _ref4 = roundOffsets === true ? roundOffsetsByDPR({
80352
- x,
80514
+ x: x2,
80353
80515
  y: y2
80354
80516
  }, getWindow$1(popper2)) : {
80355
- x,
80517
+ x: x2,
80356
80518
  y: y2
80357
80519
  };
80358
- x = _ref4.x;
80520
+ x2 = _ref4.x;
80359
80521
  y2 = _ref4.y;
80360
80522
  if (gpuAcceleration) {
80361
80523
  var _Object$assign;
80362
- 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));
80524
+ 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));
80363
80525
  }
80364
- return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y2 + "px" : "", _Object$assign2[sideX] = hasX ? x + "px" : "", _Object$assign2.transform = "", _Object$assign2));
80526
+ return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y2 + "px" : "", _Object$assign2[sideX] = hasX ? x2 + "px" : "", _Object$assign2.transform = "", _Object$assign2));
80365
80527
  }
80366
80528
  function computeStyles(_ref5) {
80367
80529
  var state2 = _ref5.state, options = _ref5.options;
@@ -80475,21 +80637,21 @@ ${l}
80475
80637
  var visualViewport = win.visualViewport;
80476
80638
  var width = html2.clientWidth;
80477
80639
  var height = html2.clientHeight;
80478
- var x = 0;
80640
+ var x2 = 0;
80479
80641
  var y2 = 0;
80480
80642
  if (visualViewport) {
80481
80643
  width = visualViewport.width;
80482
80644
  height = visualViewport.height;
80483
80645
  var layoutViewport = isLayoutViewport();
80484
80646
  if (layoutViewport || !layoutViewport && strategy === "fixed") {
80485
- x = visualViewport.offsetLeft;
80647
+ x2 = visualViewport.offsetLeft;
80486
80648
  y2 = visualViewport.offsetTop;
80487
80649
  }
80488
80650
  }
80489
80651
  return {
80490
80652
  width,
80491
80653
  height,
80492
- x: x + getWindowScrollBarX$1(element2),
80654
+ x: x2 + getWindowScrollBarX$1(element2),
80493
80655
  y: y2
80494
80656
  };
80495
80657
  }
@@ -80500,15 +80662,15 @@ ${l}
80500
80662
  var body = (_element$ownerDocumen = element2.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;
80501
80663
  var width = max$1(html2.scrollWidth, html2.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);
80502
80664
  var height = max$1(html2.scrollHeight, html2.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
80503
- var x = -winScroll.scrollLeft + getWindowScrollBarX$1(element2);
80665
+ var x2 = -winScroll.scrollLeft + getWindowScrollBarX$1(element2);
80504
80666
  var y2 = -winScroll.scrollTop;
80505
80667
  if (getComputedStyle$2(body || html2).direction === "rtl") {
80506
- x += max$1(html2.clientWidth, body ? body.clientWidth : 0) - width;
80668
+ x2 += max$1(html2.clientWidth, body ? body.clientWidth : 0) - width;
80507
80669
  }
80508
80670
  return {
80509
80671
  width,
80510
80672
  height,
80511
- x,
80673
+ x: x2,
80512
80674
  y: y2
80513
80675
  };
80514
80676
  }
@@ -80885,9 +81047,9 @@ ${l}
80885
81047
  acc[placement] = distanceAndSkiddingToXY(placement, state2.rects, offset2);
80886
81048
  return acc;
80887
81049
  }, {});
80888
- var _data$state$placement = data[state2.placement], x = _data$state$placement.x, y2 = _data$state$placement.y;
81050
+ var _data$state$placement = data[state2.placement], x2 = _data$state$placement.x, y2 = _data$state$placement.y;
80889
81051
  if (state2.modifiersData.popperOffsets != null) {
80890
- state2.modifiersData.popperOffsets.x += x;
81052
+ state2.modifiersData.popperOffsets.x += x2;
80891
81053
  state2.modifiersData.popperOffsets.y += y2;
80892
81054
  }
80893
81055
  state2.modifiersData[name] = data;
@@ -82838,7 +83000,7 @@ ${l}
82838
83000
  }
82839
83001
  function rectToClientRect(rect) {
82840
83002
  const {
82841
- x,
83003
+ x: x2,
82842
83004
  y: y2,
82843
83005
  width,
82844
83006
  height
@@ -82847,10 +83009,10 @@ ${l}
82847
83009
  width,
82848
83010
  height,
82849
83011
  top: y2,
82850
- left: x,
82851
- right: x + width,
83012
+ left: x2,
83013
+ right: x2 + width,
82852
83014
  bottom: y2 + height,
82853
- x,
83015
+ x: x2,
82854
83016
  y: y2
82855
83017
  };
82856
83018
  }
@@ -82924,7 +83086,7 @@ ${l}
82924
83086
  strategy
82925
83087
  });
82926
83088
  let {
82927
- x,
83089
+ x: x2,
82928
83090
  y: y2
82929
83091
  } = computeCoordsFromPlacement(rects, placement, rtl);
82930
83092
  let statefulPlacement = placement;
@@ -82941,7 +83103,7 @@ ${l}
82941
83103
  data,
82942
83104
  reset
82943
83105
  } = await fn2({
82944
- x,
83106
+ x: x2,
82945
83107
  y: y2,
82946
83108
  initialPlacement: placement,
82947
83109
  placement: statefulPlacement,
@@ -82954,7 +83116,7 @@ ${l}
82954
83116
  floating
82955
83117
  }
82956
83118
  });
82957
- x = nextX != null ? nextX : x;
83119
+ x2 = nextX != null ? nextX : x2;
82958
83120
  y2 = nextY != null ? nextY : y2;
82959
83121
  middlewareData = {
82960
83122
  ...middlewareData,
@@ -82977,7 +83139,7 @@ ${l}
82977
83139
  }) : reset.rects;
82978
83140
  }
82979
83141
  ({
82980
- x,
83142
+ x: x2,
82981
83143
  y: y2
82982
83144
  } = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
82983
83145
  }
@@ -82985,7 +83147,7 @@ ${l}
82985
83147
  }
82986
83148
  }
82987
83149
  return {
82988
- x,
83150
+ x: x2,
82989
83151
  y: y2,
82990
83152
  placement: statefulPlacement,
82991
83153
  strategy,
@@ -82998,7 +83160,7 @@ ${l}
82998
83160
  options = {};
82999
83161
  }
83000
83162
  const {
83001
- x,
83163
+ x: x2,
83002
83164
  y: y2,
83003
83165
  platform: platform2,
83004
83166
  rects,
@@ -83022,7 +83184,7 @@ ${l}
83022
83184
  strategy
83023
83185
  }));
83024
83186
  const rect = elementContext === "floating" ? {
83025
- x,
83187
+ x: x2,
83026
83188
  y: y2,
83027
83189
  width: rects.floating.width,
83028
83190
  height: rects.floating.height
@@ -83291,16 +83453,16 @@ ${l}
83291
83453
  height,
83292
83454
  $: $2
83293
83455
  } = getCssDimensions(domElement);
83294
- let x = ($2 ? round(rect.width) : rect.width) / width;
83456
+ let x2 = ($2 ? round(rect.width) : rect.width) / width;
83295
83457
  let y2 = ($2 ? round(rect.height) : rect.height) / height;
83296
- if (!x || !Number.isFinite(x)) {
83297
- x = 1;
83458
+ if (!x2 || !Number.isFinite(x2)) {
83459
+ x2 = 1;
83298
83460
  }
83299
83461
  if (!y2 || !Number.isFinite(y2)) {
83300
83462
  y2 = 1;
83301
83463
  }
83302
83464
  return {
83303
- x,
83465
+ x: x2,
83304
83466
  y: y2
83305
83467
  };
83306
83468
  }
@@ -83344,7 +83506,7 @@ ${l}
83344
83506
  }
83345
83507
  }
83346
83508
  const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
83347
- let x = (clientRect2.left + visualOffsets.x) / scale.x;
83509
+ let x2 = (clientRect2.left + visualOffsets.x) / scale.x;
83348
83510
  let y2 = (clientRect2.top + visualOffsets.y) / scale.y;
83349
83511
  let width = clientRect2.width / scale.x;
83350
83512
  let height = clientRect2.height / scale.y;
@@ -83359,11 +83521,11 @@ ${l}
83359
83521
  const css = getComputedStyle$1(currentIFrame);
83360
83522
  const left2 = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
83361
83523
  const top2 = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
83362
- x *= iframeScale.x;
83524
+ x2 *= iframeScale.x;
83363
83525
  y2 *= iframeScale.y;
83364
83526
  width *= iframeScale.x;
83365
83527
  height *= iframeScale.y;
83366
- x += left2;
83528
+ x2 += left2;
83367
83529
  y2 += top2;
83368
83530
  currentWin = getWindow(currentIFrame);
83369
83531
  currentIFrame = getFrameElement(currentWin);
@@ -83372,7 +83534,7 @@ ${l}
83372
83534
  return rectToClientRect({
83373
83535
  width,
83374
83536
  height,
83375
- x,
83537
+ x: x2,
83376
83538
  y: y2
83377
83539
  });
83378
83540
  }
@@ -83385,10 +83547,10 @@ ${l}
83385
83547
  }
83386
83548
  function getHTMLOffset(documentElement, scroll) {
83387
83549
  const htmlRect = documentElement.getBoundingClientRect();
83388
- const x = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);
83550
+ const x2 = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);
83389
83551
  const y2 = htmlRect.top + scroll.scrollTop;
83390
83552
  return {
83391
- x,
83553
+ x: x2,
83392
83554
  y: y2
83393
83555
  };
83394
83556
  }
@@ -83440,15 +83602,15 @@ ${l}
83440
83602
  const body = element2.ownerDocument.body;
83441
83603
  const width = max$3(html2.scrollWidth, html2.clientWidth, body.scrollWidth, body.clientWidth);
83442
83604
  const height = max$3(html2.scrollHeight, html2.clientHeight, body.scrollHeight, body.clientHeight);
83443
- let x = -scroll.scrollLeft + getWindowScrollBarX(element2);
83605
+ let x2 = -scroll.scrollLeft + getWindowScrollBarX(element2);
83444
83606
  const y2 = -scroll.scrollTop;
83445
83607
  if (getComputedStyle$1(body).direction === "rtl") {
83446
- x += max$3(html2.clientWidth, body.clientWidth) - width;
83608
+ x2 += max$3(html2.clientWidth, body.clientWidth) - width;
83447
83609
  }
83448
83610
  return {
83449
83611
  width,
83450
83612
  height,
83451
- x,
83613
+ x: x2,
83452
83614
  y: y2
83453
83615
  };
83454
83616
  }
@@ -83459,14 +83621,14 @@ ${l}
83459
83621
  const visualViewport = win.visualViewport;
83460
83622
  let width = html2.clientWidth;
83461
83623
  let height = html2.clientHeight;
83462
- let x = 0;
83624
+ let x2 = 0;
83463
83625
  let y2 = 0;
83464
83626
  if (visualViewport) {
83465
83627
  width = visualViewport.width;
83466
83628
  height = visualViewport.height;
83467
83629
  const visualViewportBased = isWebKit();
83468
83630
  if (!visualViewportBased || visualViewportBased && strategy === "fixed") {
83469
- x = visualViewport.offsetLeft;
83631
+ x2 = visualViewport.offsetLeft;
83470
83632
  y2 = visualViewport.offsetTop;
83471
83633
  }
83472
83634
  }
@@ -83486,7 +83648,7 @@ ${l}
83486
83648
  return {
83487
83649
  width,
83488
83650
  height,
83489
- x,
83651
+ x: x2,
83490
83652
  y: y2
83491
83653
  };
83492
83654
  }
@@ -83498,12 +83660,12 @@ ${l}
83498
83660
  const scale = isHTMLElement$2(element2) ? getScale(element2) : createCoords(1);
83499
83661
  const width = element2.clientWidth * scale.x;
83500
83662
  const height = element2.clientHeight * scale.y;
83501
- const x = left2 * scale.x;
83663
+ const x2 = left2 * scale.x;
83502
83664
  const y2 = top2 * scale.y;
83503
83665
  return {
83504
83666
  width,
83505
83667
  height,
83506
- x,
83668
+ x: x2,
83507
83669
  y: y2
83508
83670
  };
83509
83671
  }
@@ -83623,10 +83785,10 @@ ${l}
83623
83785
  setLeftRTLScrollbarOffset();
83624
83786
  }
83625
83787
  const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
83626
- const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
83788
+ const x2 = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
83627
83789
  const y2 = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
83628
83790
  return {
83629
- x,
83791
+ x: x2,
83630
83792
  y: y2,
83631
83793
  width: rect.width,
83632
83794
  height: rect.height
@@ -84505,22 +84667,22 @@ ${l}
84505
84667
  const rect = elements.reference.getBoundingClientRect();
84506
84668
  const containerRect = editorElement.getBoundingClientRect();
84507
84669
  const scaleFactor = getScaleFactor(editorElement);
84508
- const x = Math.round((rect.left - containerRect.left) / scaleFactor);
84670
+ const x2 = Math.round((rect.left - containerRect.left) / scaleFactor);
84509
84671
  const y2 = Math.round((rect.top - containerRect.top) / scaleFactor);
84510
84672
  const width = Math.round(rect.width / scaleFactor);
84511
84673
  const height = Math.round(rect.height / scaleFactor);
84512
84674
  return {
84513
- x,
84675
+ x: x2,
84514
84676
  y: y2,
84515
84677
  data: { width, height }
84516
84678
  };
84517
84679
  }
84518
84680
  }
84519
84681
  ]
84520
- }).then(({ x, y: y2, middlewareData }) => {
84682
+ }).then(({ x: x2, y: y2, middlewareData }) => {
84521
84683
  Object.assign(floatingSeparator.style, {
84522
84684
  top: `${y2}px`,
84523
- left: `${x}px`,
84685
+ left: `${x2}px`,
84524
84686
  width: `${middlewareData.copy.width}px`,
84525
84687
  height: `${middlewareData.copy.height}px`,
84526
84688
  visibility: middlewareData.hide?.referenceHidden ? "hidden" : "visible"
@@ -87579,14 +87741,14 @@ ${unwrappedProps}
87579
87741
  }
87580
87742
  return viewMeasurer$1.getBoundingClientRect();
87581
87743
  }
87582
- function getPointRect$1(x, y2) {
87744
+ function getPointRect$1(x2, y2) {
87583
87745
  const viewRect = ensureViewBoundingRect$1();
87584
87746
  return {
87585
87747
  top: y2,
87586
- left: x,
87748
+ left: x2,
87587
87749
  height: 0,
87588
87750
  width: 0,
87589
- right: viewRect.width - x,
87751
+ right: viewRect.width - x2,
87590
87752
  bottom: viewRect.height - y2
87591
87753
  };
87592
87754
  }
@@ -88424,8 +88586,8 @@ ${style2}
88424
88586
  if (follower === null)
88425
88587
  return;
88426
88588
  const target = VBinder.targetRef;
88427
- const { x, y: y2, overlap } = props;
88428
- const targetRect = x !== void 0 && y2 !== void 0 ? getPointRect$1(x, y2) : getRect$1(target);
88589
+ const { x: x2, y: y2, overlap } = props;
88590
+ const targetRect = x2 !== void 0 && y2 !== void 0 ? getPointRect$1(x2, y2) : getRect$1(target);
88429
88591
  follower.style.setProperty("--v-target-width", `${Math.round(targetRect.width)}px`);
88430
88592
  follower.style.setProperty("--v-target-height", `${Math.round(targetRect.height)}px`);
88431
88593
  const { width, minWidth, placement, internalShift, flip: flip2 } = props;
@@ -88595,8 +88757,8 @@ ${style2}
88595
88757
  return ResizeObserverSize2;
88596
88758
  })();
88597
88759
  var DOMRectReadOnly$1 = (function() {
88598
- function DOMRectReadOnly2(x, y2, width, height) {
88599
- this.x = x;
88760
+ function DOMRectReadOnly2(x2, y2, width, height) {
88761
+ this.x = x2;
88600
88762
  this.y = y2;
88601
88763
  this.width = width;
88602
88764
  this.height = height;
@@ -88607,8 +88769,8 @@ ${style2}
88607
88769
  return freeze$1(this);
88608
88770
  }
88609
88771
  DOMRectReadOnly2.prototype.toJSON = function() {
88610
- 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;
88611
- return { x, y: y2, top: top2, right: right2, bottom: bottom2, left: left2, width, height };
88772
+ 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;
88773
+ return { x: x2, y: y2, top: top2, right: right2, bottom: bottom2, left: left2, width, height };
88612
88774
  };
88613
88775
  DOMRectReadOnly2.fromRect = function(rectangle) {
88614
88776
  return new DOMRectReadOnly2(rectangle.x, rectangle.y, rectangle.width, rectangle.height);
@@ -101702,8 +101864,8 @@ ${style2}
101702
101864
  return array;
101703
101865
  };
101704
101866
  const BlankDOCX = "data:application/octet-stream;base64,UEsDBBQAAAAIAAAAIQAykW9XXgEAAKUFAAATABwAW0NvbnRlbnRfVHlwZXNdLnhtbFVUCQADMNDOEjDQzhJ1eAsAAQT1AQAABBQAAAC1lMtqwzAQRfeF/oPRNthKuiilxMmij2UbaPoBijRORPVCmrz+vuM4NaWkMeSxMcgz994zQsxwvLEmW0FM2ruSDYo+y8BJr7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AQAABBQAAABQSwECHgMUAAAACAAAACEAvn52YlYBAADQAwAAFAAYAAAAAAABAAAApIG2FQAAd29yZC93ZWJTZXR0aW5ncy54bWxVVAUAAzDQzhJ1eAsAAQT1AQAABBQAAABQSwECHgMUAAAACAAAACEAP6/hZl8PAAANpgAADwAYAAAAAAABAAAApIFaFwAAd29yZC9zdHlsZXMueG1sVVQFAAMw0M4SdXgLAAEE9QEAAAQUAAAAUEsBAh4DCgAAAAAAk2RNWwAAAAAAAAAAAAAAAAsAGAAAAAAAAAAQAO1BAicAAHdvcmQvdGhlbWUvVVQFAAOGHO1odXgLAAEE9QEAAAQUAAAAUEsBAh4DFAAAAAgAAAAhAGeA/LSbBgAAzSAAABUAGAAAAAAAAQAAAKSBRycAAHdvcmQvdGhlbWUvdGhlbWUxLnhtbFVUBQADMNDOEnV4CwABBPUBAAAEFAAAAFBLAQIeAwoAAAAAAJNkTVsAAAAAAAAAAAAAAAALABgAAAAAAAAAEADtQTEuAAB3b3JkL19yZWxzL1VUBQADhhztaHV4CwABBPUBAAAEFAAAAFBLAQIeAxQAAAAIAAAAIQCzvosd/gAAALYDAAAcABgAAAAAAAEAAACkgXYuAAB3b3JkL19yZWxzL2RvY3VtZW50LnhtbC5yZWxzVVQFAAMw0M4SdXgLAAEE9QEAAAQUAAAAUEsFBgAAAAARABEAqQUAAMovAAAAAA==";
101705
- function getDefaultExportFromCjs(x) {
101706
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
101867
+ function getDefaultExportFromCjs(x2) {
101868
+ return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
101707
101869
  }
101708
101870
  var eventemitter3 = { exports: {} };
101709
101871
  var hasRequiredEventemitter3;
@@ -103842,6 +104004,7 @@ ${reason}`);
103842
104004
  const creatorImage = params2.creatorImage;
103843
104005
  const createdTime = params2.createdTime || Date.now();
103844
104006
  const importedAuthor = ref(params2.importedAuthor || null);
104007
+ const docxCommentJSON = params2.docxCommentJSON || null;
103845
104008
  const commentText = ref(params2.commentText || "");
103846
104009
  const selection = params2.selection ? useSelection(params2.selection) : useSelection({
103847
104010
  documentId: fileId,
@@ -103956,6 +104119,7 @@ ${reason}`);
103956
104119
  creatorImage,
103957
104120
  createdTime,
103958
104121
  importedAuthor: importedAuthor.value,
104122
+ docxCommentJSON,
103959
104123
  isInternal: isInternal.value,
103960
104124
  commentText: commentText.value,
103961
104125
  selection: selection ? selection.getValues() : null,
@@ -103994,6 +104158,7 @@ ${reason}`);
103994
104158
  resolvedByEmail,
103995
104159
  resolvedByName,
103996
104160
  importedAuthor,
104161
+ docxCommentJSON,
103997
104162
  // Actions
103998
104163
  setText,
103999
104164
  getValues,
@@ -104570,6 +104735,8 @@ ${reason}`);
104570
104735
  const newComment = useComment({
104571
104736
  fileId: documentId,
104572
104737
  fileType: document2.type,
104738
+ // Preserve original DOCX-schema comment JSON so exporter can reuse it
104739
+ docxCommentJSON: comment2.textJson,
104573
104740
  commentId: comment2.commentId,
104574
104741
  isInternal: false,
104575
104742
  parentCommentId: comment2.parentCommentId,
@@ -104630,7 +104797,7 @@ ${reason}`);
104630
104797
  commentsList.value.forEach((comment2) => {
104631
104798
  const values = comment2.getValues();
104632
104799
  const richText = values.commentText;
104633
- const schema = convertHtmlToSchema(richText);
104800
+ const schema = values.docxCommentJSON || convertHtmlToSchema(richText);
104634
104801
  processedComments.push({
104635
104802
  ...values,
104636
104803
  commentJSON: schema
@@ -106376,14 +106543,14 @@ ${unwrappedProps}
106376
106543
  }
106377
106544
  return viewMeasurer.getBoundingClientRect();
106378
106545
  }
106379
- function getPointRect(x, y2) {
106546
+ function getPointRect(x2, y2) {
106380
106547
  const viewRect = ensureViewBoundingRect();
106381
106548
  return {
106382
106549
  top: y2,
106383
- left: x,
106550
+ left: x2,
106384
106551
  height: 0,
106385
106552
  width: 0,
106386
- right: viewRect.width - x,
106553
+ right: viewRect.width - x2,
106387
106554
  bottom: viewRect.height - y2
106388
106555
  };
106389
106556
  }
@@ -107221,8 +107388,8 @@ ${style2}
107221
107388
  if (follower === null)
107222
107389
  return;
107223
107390
  const target = VBinder.targetRef;
107224
- const { x, y: y2, overlap } = props;
107225
- const targetRect = x !== void 0 && y2 !== void 0 ? getPointRect(x, y2) : getRect(target);
107391
+ const { x: x2, y: y2, overlap } = props;
107392
+ const targetRect = x2 !== void 0 && y2 !== void 0 ? getPointRect(x2, y2) : getRect(target);
107226
107393
  follower.style.setProperty("--v-target-width", `${Math.round(targetRect.width)}px`);
107227
107394
  follower.style.setProperty("--v-target-height", `${Math.round(targetRect.height)}px`);
107228
107395
  const { width, minWidth, placement, internalShift, flip: flip2 } = props;
@@ -107392,8 +107559,8 @@ ${style2}
107392
107559
  return ResizeObserverSize2;
107393
107560
  })();
107394
107561
  var DOMRectReadOnly = (function() {
107395
- function DOMRectReadOnly2(x, y2, width, height) {
107396
- this.x = x;
107562
+ function DOMRectReadOnly2(x2, y2, width, height) {
107563
+ this.x = x2;
107397
107564
  this.y = y2;
107398
107565
  this.width = width;
107399
107566
  this.height = height;
@@ -107404,8 +107571,8 @@ ${style2}
107404
107571
  return freeze(this);
107405
107572
  }
107406
107573
  DOMRectReadOnly2.prototype.toJSON = function() {
107407
- 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;
107408
- return { x, y: y2, top: top2, right: right2, bottom: bottom2, left: left2, width, height };
107574
+ 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;
107575
+ return { x: x2, y: y2, top: top2, right: right2, bottom: bottom2, left: left2, width, height };
107409
107576
  };
107410
107577
  DOMRectReadOnly2.fromRect = function(rectangle) {
107411
107578
  return new DOMRectReadOnly2(rectangle.x, rectangle.y, rectangle.width, rectangle.height);
@@ -118109,9 +118276,9 @@ ${style2}
118109
118276
  const resetSelection = () => {
118110
118277
  selectionPosition.value = null;
118111
118278
  };
118112
- const updateSelection2 = ({ startX, startY, x, y: y2, source }) => {
118279
+ const updateSelection2 = ({ startX, startY, x: x2, y: y2, source }) => {
118113
118280
  const hasStartCoords = startX || startY;
118114
- const hasEndCoords = x || y2;
118281
+ const hasEndCoords = x2 || y2;
118115
118282
  if (!hasStartCoords && !hasEndCoords) {
118116
118283
  return selectionPosition.value = null;
118117
118284
  }
@@ -118136,10 +118303,10 @@ ${style2}
118136
118303
  selectionPosition.value.bottom = y2;
118137
118304
  }
118138
118305
  const selectionLeft = selectionPosition.value.startX;
118139
- if (x < selectionLeft) {
118140
- selectionPosition.value.left = x;
118306
+ if (x2 < selectionLeft) {
118307
+ selectionPosition.value.left = x2;
118141
118308
  } else {
118142
- selectionPosition.value.right = x;
118309
+ selectionPosition.value.right = x2;
118143
118310
  }
118144
118311
  };
118145
118312
  const handleSelectionStart = (e) => {
@@ -118148,16 +118315,16 @@ ${style2}
118148
118315
  nextTick(() => {
118149
118316
  isDragging.value = true;
118150
118317
  const y2 = e.offsetY / (activeZoom.value / 100);
118151
- const x = e.offsetX / (activeZoom.value / 100);
118152
- updateSelection2({ startX: x, startY: y2 });
118318
+ const x2 = e.offsetX / (activeZoom.value / 100);
118319
+ updateSelection2({ startX: x2, startY: y2 });
118153
118320
  selectionLayer.value.addEventListener("mousemove", handleDragMove);
118154
118321
  });
118155
118322
  };
118156
118323
  const handleDragMove = (e) => {
118157
118324
  if (!isDragging.value) return;
118158
118325
  const y2 = e.offsetY / (activeZoom.value / 100);
118159
- const x = e.offsetX / (activeZoom.value / 100);
118160
- updateSelection2({ x, y: y2 });
118326
+ const x2 = e.offsetX / (activeZoom.value / 100);
118327
+ updateSelection2({ x: x2, y: y2 });
118161
118328
  };
118162
118329
  const handleDragEnd = (e) => {
118163
118330
  if (!isDragging.value) return;
@@ -118514,7 +118681,7 @@ ${style2}
118514
118681
  this.config.colors = shuffleArray(this.config.colors);
118515
118682
  this.userColorMap = /* @__PURE__ */ new Map();
118516
118683
  this.colorIndex = 0;
118517
- this.version = "0.34.5";
118684
+ this.version = "0.34.6-RC1";
118518
118685
  this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
118519
118686
  this.superdocId = config2.superdocId || v4();
118520
118687
  this.colors = this.config.colors;
@@ -120914,7 +121081,7 @@ ${style2}
120914
121081
  value && typeof value === "object" && "byteLength" in value && "byteOffset" in value
120915
121082
  );
120916
121083
  }
120917
- const indexBO0dc2dg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
121084
+ const index_8cQcYzu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
120918
121085
  __proto__: null,
120919
121086
  unified
120920
121087
  }, Symbol.toStringTag, { value: "Module" }));
@@ -122506,8 +122673,8 @@ ${style2}
122506
122673
  properties[name] = attribute.value;
122507
122674
  }
122508
122675
  }
122509
- const x = state2.schema.space === "svg" ? s : h;
122510
- const result = x(node2.tagName, properties, all$4(state2, node2.childNodes));
122676
+ const x2 = state2.schema.space === "svg" ? s : h;
122677
+ const result = x2(node2.tagName, properties, all$4(state2, node2.childNodes));
122511
122678
  patch$1(state2, node2, result);
122512
122679
  if (result.tagName === "template") {
122513
122680
  const reference2 = (