@opengis/richtext 0.0.16 → 0.0.17

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.
package/dist/richtext.js CHANGED
@@ -2726,17 +2726,17 @@ class ff {
2726
2726
  This can be useful as a base to build a custom serializer from.
2727
2727
  */
2728
2728
  static nodesFromSchema(e) {
2729
- let t = e5(e.nodes);
2729
+ let t = e4(e.nodes);
2730
2730
  return t.text || (t.text = (n) => n.text), t;
2731
2731
  }
2732
2732
  /**
2733
2733
  Gather the serializers in a schema's mark specs into an object.
2734
2734
  */
2735
2735
  static marksFromSchema(e) {
2736
- return e5(e.marks);
2736
+ return e4(e.marks);
2737
2737
  }
2738
2738
  }
2739
- function e5(s) {
2739
+ function e4(s) {
2740
2740
  let e = {};
2741
2741
  for (let t in s) {
2742
2742
  let n = s[t].spec.toDOM;
@@ -2747,10 +2747,10 @@ function e5(s) {
2747
2747
  function TL(s) {
2748
2748
  return s.document || window.document;
2749
2749
  }
2750
- const t5 = /* @__PURE__ */ new WeakMap();
2750
+ const t4 = /* @__PURE__ */ new WeakMap();
2751
2751
  function hG(s) {
2752
- let e = t5.get(s);
2753
- return e === void 0 && t5.set(s, e = uG(s)), e;
2752
+ let e = t4.get(s);
2753
+ return e === void 0 && t4.set(s, e = uG(s)), e;
2754
2754
  }
2755
2755
  function uG(s) {
2756
2756
  let e = null;
@@ -2812,7 +2812,7 @@ const TB = 65535, NB = Math.pow(2, 16);
2812
2812
  function fG(s, e) {
2813
2813
  return s + e * NB;
2814
2814
  }
2815
- function n5(s) {
2815
+ function n4(s) {
2816
2816
  return s & TB;
2817
2817
  }
2818
2818
  function gG(s) {
@@ -2869,7 +2869,7 @@ class Fr {
2869
2869
  @internal
2870
2870
  */
2871
2871
  recover(e) {
2872
- let t = 0, n = n5(e);
2872
+ let t = 0, n = n4(e);
2873
2873
  if (!this.inverted)
2874
2874
  for (let i = 0; i < n; i++)
2875
2875
  t += this.ranges[i * 3 + 2] - this.ranges[i * 3 + 1];
@@ -2906,7 +2906,7 @@ class Fr {
2906
2906
  @internal
2907
2907
  */
2908
2908
  touches(e, t) {
2909
- let n = 0, i = n5(t), r = this.inverted ? 2 : 1, o = this.inverted ? 1 : 2;
2909
+ let n = 0, i = n4(t), r = this.inverted ? 2 : 1, o = this.inverted ? 1 : 2;
2910
2910
  for (let a = 0; a < this.ranges.length; a += 3) {
2911
2911
  let l = this.ranges[a] - (this.inverted ? n : 0);
2912
2912
  if (l > e)
@@ -3513,9 +3513,9 @@ function bG(s, e, t) {
3513
3513
  }
3514
3514
  function FM(s, e, t = null, n = s) {
3515
3515
  let i = wG(s, e), r = i && CG(n, e);
3516
- return r ? i.map(i5).concat({ type: e, attrs: t }).concat(r.map(i5)) : null;
3516
+ return r ? i.map(i4).concat({ type: e, attrs: t }).concat(r.map(i4)) : null;
3517
3517
  }
3518
- function i5(s) {
3518
+ function i4(s) {
3519
3519
  return { type: s, attrs: null };
3520
3520
  }
3521
3521
  function wG(s, e) {
@@ -4374,7 +4374,7 @@ let qe = class {
4374
4374
  let r = e.steps.length, o = this.ranges;
4375
4375
  for (let a = 0; a < o.length; a++) {
4376
4376
  let { $from: l, $to: c } = o[a], d = e.mapping.slice(r);
4377
- e.replaceRange(d.map(l.pos), d.map(c.pos), a ? be.empty : t), a == 0 && o5(e, r, (n ? n.isInline : i && i.isTextblock) ? -1 : 1);
4377
+ e.replaceRange(d.map(l.pos), d.map(c.pos), a ? be.empty : t), a == 0 && o4(e, r, (n ? n.isInline : i && i.isTextblock) ? -1 : 1);
4378
4378
  }
4379
4379
  }
4380
4380
  /**
@@ -4385,7 +4385,7 @@ let qe = class {
4385
4385
  let n = e.steps.length, i = this.ranges;
4386
4386
  for (let r = 0; r < i.length; r++) {
4387
4387
  let { $from: o, $to: a } = i[r], l = e.mapping.slice(n), c = l.map(o.pos), d = l.map(a.pos);
4388
- r ? e.deleteRange(c, d) : (e.replaceRangeWith(c, d, t), o5(e, n, t.isInline ? -1 : 1));
4388
+ r ? e.deleteRange(c, d) : (e.replaceRangeWith(c, d, t), o4(e, n, t.isInline ? -1 : 1));
4389
4389
  }
4390
4390
  }
4391
4391
  /**
@@ -4475,16 +4475,16 @@ class zB {
4475
4475
  this.$from = e, this.$to = t;
4476
4476
  }
4477
4477
  }
4478
- let s5 = !1;
4479
- function r5(s) {
4480
- !s5 && !s.parent.inlineContent && (s5 = !0, console.warn("TextSelection endpoint not pointing into a node with inline content (" + s.parent.type.name + ")"));
4478
+ let s4 = !1;
4479
+ function r4(s) {
4480
+ !s4 && !s.parent.inlineContent && (s4 = !0, console.warn("TextSelection endpoint not pointing into a node with inline content (" + s.parent.type.name + ")"));
4481
4481
  }
4482
4482
  class He extends qe {
4483
4483
  /**
4484
4484
  Construct a text selection between the given points.
4485
4485
  */
4486
4486
  constructor(e, t = e) {
4487
- r5(e), r5(t), super(e, t);
4487
+ r4(e), r4(t), super(e, t);
4488
4488
  }
4489
4489
  /**
4490
4490
  Returns a resolved position if this is a cursor selection (an
@@ -4684,7 +4684,7 @@ function eg(s, e, t, n, i, r = !1) {
4684
4684
  }
4685
4685
  return null;
4686
4686
  }
4687
- function o5(s, e, t) {
4687
+ function o4(s, e, t) {
4688
4688
  let n = s.steps.length - 1;
4689
4689
  if (n < e)
4690
4690
  return;
@@ -4696,7 +4696,7 @@ function o5(s, e, t) {
4696
4696
  o == null && (o = d);
4697
4697
  }), s.setSelection(qe.near(s.doc.resolve(o), t));
4698
4698
  }
4699
- const a5 = 1, D0 = 2, l5 = 4;
4699
+ const a4 = 1, D0 = 2, l4 = 4;
4700
4700
  class PG extends BM {
4701
4701
  /**
4702
4702
  @internal
@@ -4720,13 +4720,13 @@ class PG extends BM {
4720
4720
  setSelection(e) {
4721
4721
  if (e.$from.doc != this.doc)
4722
4722
  throw new RangeError("Selection passed to setSelection must point at the current document");
4723
- return this.curSelection = e, this.curSelectionFor = this.steps.length, this.updated = (this.updated | a5) & ~D0, this.storedMarks = null, this;
4723
+ return this.curSelection = e, this.curSelectionFor = this.steps.length, this.updated = (this.updated | a4) & ~D0, this.storedMarks = null, this;
4724
4724
  }
4725
4725
  /**
4726
4726
  Whether the selection was explicitly updated by this transaction.
4727
4727
  */
4728
4728
  get selectionSet() {
4729
- return (this.updated & a5) > 0;
4729
+ return (this.updated & a4) > 0;
4730
4730
  }
4731
4731
  /**
4732
4732
  Set the current stored marks.
@@ -4839,21 +4839,21 @@ class PG extends BM {
4839
4839
  when updated to the state produced by this transaction.
4840
4840
  */
4841
4841
  scrollIntoView() {
4842
- return this.updated |= l5, this;
4842
+ return this.updated |= l4, this;
4843
4843
  }
4844
4844
  /**
4845
4845
  True when this transaction has had `scrollIntoView` called on it.
4846
4846
  */
4847
4847
  get scrolledIntoView() {
4848
- return (this.updated & l5) > 0;
4848
+ return (this.updated & l4) > 0;
4849
4849
  }
4850
4850
  }
4851
- function c5(s, e) {
4851
+ function c4(s, e) {
4852
4852
  return !e || !s ? s : s.bind(e);
4853
4853
  }
4854
4854
  class Km {
4855
4855
  constructor(e, t, n) {
4856
- this.name = e, this.init = c5(t.init, n), this.apply = c5(t.apply, n);
4856
+ this.name = e, this.init = c4(t.init, n), this.apply = c4(t.apply, n);
4857
4857
  }
4858
4858
  }
4859
4859
  const FG = [
@@ -5429,7 +5429,7 @@ function XG(s, e = null) {
5429
5429
  return a ? (n && n(t.tr.wrap(o, a).scrollIntoView()), !0) : !1;
5430
5430
  };
5431
5431
  }
5432
- function d5(s, e = null) {
5432
+ function d4(s, e = null) {
5433
5433
  return function(t, n) {
5434
5434
  let i = !1;
5435
5435
  for (let r = 0; r < t.selection.ranges.length && !i; r++) {
@@ -5566,9 +5566,9 @@ const Rl = function(s, e, t) {
5566
5566
  }, sY = function() {
5567
5567
  FE = null;
5568
5568
  }, Hu = function(s, e, t, n) {
5569
- return t && (h5(s, e, t, n, -1) || h5(s, e, t, n, 1));
5569
+ return t && (h4(s, e, t, n, -1) || h4(s, e, t, n, 1));
5570
5570
  }, rY = /^(img|br|input|textarea|hr)$/i;
5571
- function h5(s, e, t, n, i) {
5571
+ function h4(s, e, t, n, i) {
5572
5572
  for (var r; ; ) {
5573
5573
  if (s == t && e == n)
5574
5574
  return !0;
@@ -5664,9 +5664,9 @@ function dY(s, e, t) {
5664
5664
  return { node: n.startContainer, offset: Math.min(uo(n.startContainer), n.startOffset) };
5665
5665
  }
5666
5666
  }
5667
- const Ya = typeof navigator < "u" ? navigator : null, u5 = typeof document < "u" ? document : null, Bd = Ya && Ya.userAgent || "", BE = /Edge\/(\d+)/.exec(Bd), iV = /MSIE \d/.exec(Bd), VE = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Bd), Cr = !!(iV || VE || BE), gd = iV ? document.documentMode : VE ? +VE[1] : BE ? +BE[1] : 0, _o = !Cr && /gecko\/(\d+)/i.test(Bd);
5667
+ const Ya = typeof navigator < "u" ? navigator : null, u4 = typeof document < "u" ? document : null, Bd = Ya && Ya.userAgent || "", BE = /Edge\/(\d+)/.exec(Bd), iV = /MSIE \d/.exec(Bd), VE = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Bd), Cr = !!(iV || VE || BE), gd = iV ? document.documentMode : VE ? +VE[1] : BE ? +BE[1] : 0, _o = !Cr && /gecko\/(\d+)/i.test(Bd);
5668
5668
  _o && +(/Firefox\/(\d+)/.exec(Bd) || [0, 0])[1];
5669
- const WE = !Cr && /Chrome\/(\d+)/.exec(Bd), ks = !!WE, sV = WE ? +WE[1] : 0, Ks = !Cr && !!Ya && /Apple Computer/.test(Ya.vendor), vp = Ks && (/Mobile\/\w+/.test(Bd) || !!Ya && Ya.maxTouchPoints > 2), oo = vp || (Ya ? /Mac/.test(Ya.platform) : !1), hY = Ya ? /Win/.test(Ya.platform) : !1, tc = /Android \d/.test(Bd), zb = !!u5 && "webkitFontSmoothing" in u5.documentElement.style, uY = zb ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
5669
+ const WE = !Cr && /Chrome\/(\d+)/.exec(Bd), ks = !!WE, sV = WE ? +WE[1] : 0, Ks = !Cr && !!Ya && /Apple Computer/.test(Ya.vendor), vp = Ks && (/Mobile\/\w+/.test(Bd) || !!Ya && Ya.maxTouchPoints > 2), oo = vp || (Ya ? /Mac/.test(Ya.platform) : !1), hY = Ya ? /Win/.test(Ya.platform) : !1, tc = /Android \d/.test(Bd), zb = !!u4 && "webkitFontSmoothing" in u4.documentElement.style, uY = zb ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
5670
5670
  function fY(s) {
5671
5671
  let e = s.defaultView && s.defaultView.visualViewport;
5672
5672
  return e ? {
@@ -5693,7 +5693,7 @@ function gY(s) {
5693
5693
  bottom: e.top + s.clientHeight * n
5694
5694
  };
5695
5695
  }
5696
- function f5(s, e, t) {
5696
+ function f4(s, e, t) {
5697
5697
  let n = s.someProp("scrollThreshold") || 0, i = s.someProp("scrollMargin") || 5, r = s.dom.ownerDocument;
5698
5698
  for (let o = t || s.dom; o; ) {
5699
5699
  if (o.nodeType != 1) {
@@ -5867,17 +5867,17 @@ function yY(s, e) {
5867
5867
  let l = s.docView.nearestDesc(o, !0);
5868
5868
  return { pos: a, inside: l ? l.posAtStart - l.border : -1 };
5869
5869
  }
5870
- function g5(s) {
5870
+ function g4(s) {
5871
5871
  return s.top < s.bottom || s.left < s.right;
5872
5872
  }
5873
5873
  function Oc(s, e) {
5874
5874
  let t = s.getClientRects();
5875
5875
  if (t.length) {
5876
5876
  let n = t[e < 0 ? 0 : t.length - 1];
5877
- if (g5(n))
5877
+ if (g4(n))
5878
5878
  return n;
5879
5879
  }
5880
- return Array.prototype.find.call(t, g5) || s.getBoundingClientRect();
5880
+ return Array.prototype.find.call(t, g4) || s.getBoundingClientRect();
5881
5881
  }
5882
5882
  const SY = /[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;
5883
5883
  function cV(s, e, t) {
@@ -5996,11 +5996,11 @@ function kY(s, e, t) {
5996
5996
  return u != null && (a.caretBidiLevel = u), m;
5997
5997
  }) : n.pos == n.start() || n.pos == n.end();
5998
5998
  }
5999
- let p5 = null, m5 = null, _5 = !1;
5999
+ let p4 = null, m4 = null, _4 = !1;
6000
6000
  function EY(s, e, t) {
6001
- return p5 == e && m5 == t ? _5 : (p5 = e, m5 = t, _5 = t == "up" || t == "down" ? xY(s, e, t) : kY(s, e, t));
6001
+ return p4 == e && m4 == t ? _4 : (p4 = e, m4 = t, _4 = t == "up" || t == "down" ? xY(s, e, t) : kY(s, e, t));
6002
6002
  }
6003
- const bo = 0, b5 = 1, Uh = 2, Xa = 3;
6003
+ const bo = 0, b4 = 1, Uh = 2, Xa = 3;
6004
6004
  class $b {
6005
6005
  constructor(e, t, n, i) {
6006
6006
  this.parent = e, this.children = t, this.dom = n, this.contentDOM = i, this.dirty = bo, n.pmViewDesc = this;
@@ -6316,7 +6316,7 @@ class $b {
6316
6316
  if (n == o ? e <= o && t >= n : e < o && t > n) {
6317
6317
  let a = n + r.border, l = o - r.border;
6318
6318
  if (e >= a && t <= l) {
6319
- this.dirty = e == n || t == o ? Uh : b5, e == a && t == l && (r.contentLost || r.dom.parentNode != this.contentDOM) ? r.dirty = Xa : r.markDirty(e - a, t - a);
6319
+ this.dirty = e == n || t == o ? Uh : b4, e == a && t == l && (r.contentLost || r.dom.parentNode != this.contentDOM) ? r.dirty = Xa : r.markDirty(e - a, t - a);
6320
6320
  return;
6321
6321
  } else
6322
6322
  r.dirty = r.dom == r.contentDOM && r.dom.parentNode == this.contentDOM && !r.children.length ? Uh : Xa;
@@ -6328,7 +6328,7 @@ class $b {
6328
6328
  markParentsDirty() {
6329
6329
  let e = 1;
6330
6330
  for (let t = this.parent; t; t = t.parent, e++) {
6331
- let n = e == 1 ? Uh : b5;
6331
+ let n = e == 1 ? Uh : b4;
6332
6332
  t.dirty < n && (t.dirty = n);
6333
6333
  }
6334
6334
  }
@@ -6567,7 +6567,7 @@ class pd extends $b {
6567
6567
  return this.node.isAtom;
6568
6568
  }
6569
6569
  }
6570
- function w5(s, e, t, n, i) {
6570
+ function w4(s, e, t, n, i) {
6571
6571
  pV(n, e, s);
6572
6572
  let r = new pd(void 0, s, e, t, n, n, n, i, 0);
6573
6573
  return r.contentDOM && r.updateChildren(i, 0), r;
@@ -6669,7 +6669,7 @@ function fV(s, e, t) {
6669
6669
  let o = e[r], a = o.dom;
6670
6670
  if (a.parentNode == s) {
6671
6671
  for (; a != n; )
6672
- n = C5(n), i = !0;
6672
+ n = C4(n), i = !0;
6673
6673
  n = n.nextSibling;
6674
6674
  } else
6675
6675
  i = !0, s.insertBefore(a, n);
@@ -6679,7 +6679,7 @@ function fV(s, e, t) {
6679
6679
  }
6680
6680
  }
6681
6681
  for (; n; )
6682
- n = C5(n), i = !0;
6682
+ n = C4(n), i = !0;
6683
6683
  i && t.trackWrites == s && (t.trackWrites = null);
6684
6684
  }
6685
6685
  const l_ = function(s) {
@@ -6750,7 +6750,7 @@ function NC(s, e) {
6750
6750
  return !1;
6751
6751
  return !0;
6752
6752
  }
6753
- function C5(s) {
6753
+ function C4(s) {
6754
6754
  let e = s.nextSibling;
6755
6755
  return s.parentNode.removeChild(s), e;
6756
6756
  }
@@ -7075,13 +7075,13 @@ function dc(s, e = !1) {
7075
7075
  BY(s);
7076
7076
  else {
7077
7077
  let { anchor: n, head: i } = t, r, o;
7078
- v5 && !(t instanceof He) && (t.$from.parent.inlineContent || (r = y5(s, t.from)), !t.empty && !t.$from.parent.inlineContent && (o = y5(s, t.to))), s.docView.setSelection(n, i, s, e), v5 && (r && S5(r), o && S5(o)), t.visible ? s.dom.classList.remove("ProseMirror-hideselection") : (s.dom.classList.add("ProseMirror-hideselection"), "onselectionchange" in document && FY(s));
7078
+ v4 && !(t instanceof He) && (t.$from.parent.inlineContent || (r = y4(s, t.from)), !t.empty && !t.$from.parent.inlineContent && (o = y4(s, t.to))), s.docView.setSelection(n, i, s, e), v4 && (r && S4(r), o && S4(o)), t.visible ? s.dom.classList.remove("ProseMirror-hideselection") : (s.dom.classList.add("ProseMirror-hideselection"), "onselectionchange" in document && FY(s));
7079
7079
  }
7080
7080
  s.domObserver.setCurSelection(), s.domObserver.connectSelection();
7081
7081
  }
7082
7082
  }
7083
- const v5 = Ks || ks && sV < 63;
7084
- function y5(s, e) {
7083
+ const v4 = Ks || ks && sV < 63;
7084
+ function y4(s, e) {
7085
7085
  let { node: t, offset: n } = s.docView.domFromPos(e, 0), i = n < t.childNodes.length ? t.childNodes[n] : null, r = n ? t.childNodes[n - 1] : null;
7086
7086
  if (Ks && i && i.contentEditable == "false")
7087
7087
  return FL(i);
@@ -7095,7 +7095,7 @@ function y5(s, e) {
7095
7095
  function FL(s) {
7096
7096
  return s.contentEditable = "true", Ks && s.draggable && (s.draggable = !1, s.wasDraggable = !0), s;
7097
7097
  }
7098
- function S5(s) {
7098
+ function S4(s) {
7099
7099
  s.contentEditable = "false", s.wasDraggable && (s.draggable = !0, s.wasDraggable = null);
7100
7100
  }
7101
7101
  function FY(s) {
@@ -7118,17 +7118,17 @@ function BY(s) {
7118
7118
  function _V(s, e) {
7119
7119
  if (e instanceof We) {
7120
7120
  let t = s.docView.descAt(e.from);
7121
- t != s.lastSelectedViewDesc && (x5(s), t && t.selectNode(), s.lastSelectedViewDesc = t);
7121
+ t != s.lastSelectedViewDesc && (x4(s), t && t.selectNode(), s.lastSelectedViewDesc = t);
7122
7122
  } else
7123
- x5(s);
7123
+ x4(s);
7124
7124
  }
7125
- function x5(s) {
7125
+ function x4(s) {
7126
7126
  s.lastSelectedViewDesc && (s.lastSelectedViewDesc.parent && s.lastSelectedViewDesc.deselectNode(), s.lastSelectedViewDesc = void 0);
7127
7127
  }
7128
7128
  function qM(s, e, t, n) {
7129
7129
  return s.someProp("createSelectionBetween", (i) => i(s, e, t)) || He.between(e, t, n);
7130
7130
  }
7131
- function L5(s) {
7131
+ function L4(s) {
7132
7132
  return s.editable && !s.hasFocus() ? !1 : bV(s);
7133
7133
  }
7134
7134
  function bV(s) {
@@ -7152,7 +7152,7 @@ function $E(s, e) {
7152
7152
  function Vc(s, e) {
7153
7153
  return s.dispatch(s.state.tr.setSelection(e).scrollIntoView()), !0;
7154
7154
  }
7155
- function k5(s, e, t) {
7155
+ function k4(s, e, t) {
7156
7156
  let n = s.state.selection;
7157
7157
  if (n instanceof He)
7158
7158
  if (t.indexOf("s") > -1) {
@@ -7306,7 +7306,7 @@ function UE(s, e, t) {
7306
7306
  s.state == i && dc(s);
7307
7307
  }, 50);
7308
7308
  }
7309
- function E5(s, e) {
7309
+ function E4(s, e) {
7310
7310
  let t = s.state.doc.resolve(e);
7311
7311
  if (!(ks || hY) && t.parent.inlineContent) {
7312
7312
  let i = s.coordsAtPos(e);
@@ -7323,7 +7323,7 @@ function E5(s, e) {
7323
7323
  }
7324
7324
  return getComputedStyle(s.dom).direction == "rtl" ? "rtl" : "ltr";
7325
7325
  }
7326
- function D5(s, e, t) {
7326
+ function D4(s, e, t) {
7327
7327
  let n = s.state.selection;
7328
7328
  if (n instanceof He && !n.empty || t.indexOf("s") > -1 || oo && t.indexOf("m") > -1)
7329
7329
  return !1;
@@ -7339,7 +7339,7 @@ function D5(s, e, t) {
7339
7339
  }
7340
7340
  return !1;
7341
7341
  }
7342
- function T5(s, e) {
7342
+ function T4(s, e) {
7343
7343
  if (!(s.state.selection instanceof He))
7344
7344
  return !0;
7345
7345
  let { $head: t, $anchor: n, empty: i } = s.state.selection;
@@ -7356,7 +7356,7 @@ function T5(s, e) {
7356
7356
  }
7357
7357
  return !1;
7358
7358
  }
7359
- function N5(s, e, t) {
7359
+ function N4(s, e, t) {
7360
7360
  s.domObserver.stop(), e.contentEditable = t, s.domObserver.start();
7361
7361
  }
7362
7362
  function UY(s) {
@@ -7365,7 +7365,7 @@ function UY(s) {
7365
7365
  let { focusNode: e, focusOffset: t } = s.domSelectionRange();
7366
7366
  if (e && e.nodeType == 1 && t == 0 && e.firstChild && e.firstChild.contentEditable == "false") {
7367
7367
  let n = e.firstChild;
7368
- N5(s, n, "true"), setTimeout(() => N5(s, n, "false"), 20);
7368
+ N4(s, n, "true"), setTimeout(() => N4(s, n, "false"), 20);
7369
7369
  }
7370
7370
  return !1;
7371
7371
  }
@@ -7376,22 +7376,22 @@ function jY(s) {
7376
7376
  function KY(s, e) {
7377
7377
  let t = e.keyCode, n = jY(e);
7378
7378
  if (t == 8 || oo && t == 72 && n == "c")
7379
- return T5(s, -1) || Pf(s, -1);
7379
+ return T4(s, -1) || Pf(s, -1);
7380
7380
  if (t == 46 && !e.shiftKey || oo && t == 68 && n == "c")
7381
- return T5(s, 1) || Pf(s, 1);
7381
+ return T4(s, 1) || Pf(s, 1);
7382
7382
  if (t == 13 || t == 27)
7383
7383
  return !0;
7384
7384
  if (t == 37 || oo && t == 66 && n == "c") {
7385
- let i = t == 37 ? E5(s, s.state.selection.from) == "ltr" ? -1 : 1 : -1;
7386
- return k5(s, i, n) || Pf(s, i);
7385
+ let i = t == 37 ? E4(s, s.state.selection.from) == "ltr" ? -1 : 1 : -1;
7386
+ return k4(s, i, n) || Pf(s, i);
7387
7387
  } else if (t == 39 || oo && t == 70 && n == "c") {
7388
- let i = t == 39 ? E5(s, s.state.selection.from) == "ltr" ? 1 : -1 : 1;
7389
- return k5(s, i, n) || Pf(s, i);
7388
+ let i = t == 39 ? E4(s, s.state.selection.from) == "ltr" ? 1 : -1 : 1;
7389
+ return k4(s, i, n) || Pf(s, i);
7390
7390
  } else {
7391
7391
  if (t == 38 || oo && t == 80 && n == "c")
7392
- return D5(s, -1, n) || Pf(s, -1);
7392
+ return D4(s, -1, n) || Pf(s, -1);
7393
7393
  if (t == 40 || oo && t == 78 && n == "c")
7394
- return UY(s) || D5(s, 1, n) || Pf(s, 1);
7394
+ return UY(s) || D4(s, 1, n) || Pf(s, 1);
7395
7395
  if (n == (oo ? "m" : "c") && (t == 66 || t == 73 || t == 89 || t == 90))
7396
7396
  return !0;
7397
7397
  }
@@ -7469,14 +7469,14 @@ function CV(s, e, t, n, i) {
7469
7469
  return u.nodeName == "BR" && !u.nextSibling && u.parentNode && !qY.test(u.parentNode.nodeName) ? { ignore: !0 } : null;
7470
7470
  }
7471
7471
  })), d)
7472
- a = QY(I5(a, +d[1], +d[2]), d[4]);
7472
+ a = QY(I4(a, +d[1], +d[2]), d[4]);
7473
7473
  else if (a = be.maxOpen(GY(a.content, i), !0), a.openStart || a.openEnd) {
7474
7474
  let h = 0, u = 0;
7475
7475
  for (let f = a.content.firstChild; h < a.openStart && !f.type.spec.isolating; h++, f = f.firstChild)
7476
7476
  ;
7477
7477
  for (let f = a.content.lastChild; u < a.openEnd && !f.type.spec.isolating; u++, f = f.lastChild)
7478
7478
  ;
7479
- a = I5(a, h, u);
7479
+ a = I4(a, h, u);
7480
7480
  }
7481
7481
  return s.someProp("transformPasted", (h) => {
7482
7482
  a = h(a, s, l);
@@ -7530,7 +7530,7 @@ function jE(s, e, t, n, i, r) {
7530
7530
  let o = e < 0 ? s.firstChild : s.lastChild, a = o.content;
7531
7531
  return s.childCount > 1 && (r = 0), i < n - 1 && (a = jE(a, e, t, n, i + 1, r)), i >= t && (a = e < 0 ? o.contentMatchAt(0).fillBefore(a, r <= i).append(a) : a.append(o.contentMatchAt(o.childCount).fillBefore(te.empty, !0))), s.replaceChild(e < 0 ? 0 : s.childCount - 1, o.copy(a));
7532
7532
  }
7533
- function I5(s, e, t) {
7533
+ function I4(s, e, t) {
7534
7534
  return e < s.openStart && (s = new be(jE(s.content, -1, e, s.openStart, 0, s.openEnd), e, s.openEnd)), t < s.openEnd && (s = new be(jE(s.content, 1, t, s.openEnd, 0, 0), s.openStart, t)), s;
7535
7535
  }
7536
7536
  const xV = {
@@ -7544,9 +7544,9 @@ const xV = {
7544
7544
  td: ["table", "tbody", "tr"],
7545
7545
  th: ["table", "tbody", "tr"]
7546
7546
  };
7547
- let M5 = null;
7547
+ let M4 = null;
7548
7548
  function LV() {
7549
- return M5 || (M5 = document.implementation.createHTMLDocument("title"));
7549
+ return M4 || (M4 = document.implementation.createHTMLDocument("title"));
7550
7550
  }
7551
7551
  let BL = null;
7552
7552
  function YY(s) {
@@ -8502,17 +8502,17 @@ function JM(s) {
8502
8502
  for (let i = t + 1; i < e.length; i++) {
8503
8503
  let r = e[i];
8504
8504
  if (r.from == n.from) {
8505
- r.to != n.to && (e == s && (e = s.slice()), e[i] = r.copy(r.from, n.to), R5(e, i + 1, r.copy(n.to, r.to)));
8505
+ r.to != n.to && (e == s && (e = s.slice()), e[i] = r.copy(r.from, n.to), R4(e, i + 1, r.copy(n.to, r.to)));
8506
8506
  continue;
8507
8507
  } else {
8508
- r.from < n.to && (e == s && (e = s.slice()), e[t] = n.copy(n.from, r.from), R5(e, i, n.copy(r.from, n.to)));
8508
+ r.from < n.to && (e == s && (e = s.slice()), e[t] = n.copy(n.from, r.from), R4(e, i, n.copy(r.from, n.to)));
8509
8509
  break;
8510
8510
  }
8511
8511
  }
8512
8512
  }
8513
8513
  return e;
8514
8514
  }
8515
- function R5(s, e, t) {
8515
+ function R4(s, e, t) {
8516
8516
  for (; e < s.length && hu(t, s[e]) > 0; )
8517
8517
  e++;
8518
8518
  s.splice(e, 0, t);
@@ -8589,7 +8589,7 @@ class LX {
8589
8589
  this.suppressingSelectionUpdates = !0, setTimeout(() => this.suppressingSelectionUpdates = !1, 50);
8590
8590
  }
8591
8591
  onSelectionChange() {
8592
- if (L5(this.view)) {
8592
+ if (L4(this.view)) {
8593
8593
  if (this.suppressingSelectionUpdates)
8594
8594
  return dc(this.view);
8595
8595
  if (Cr && gd <= 11 && !this.view.state.selection.empty) {
@@ -8633,7 +8633,7 @@ class LX {
8633
8633
  return;
8634
8634
  let t = this.pendingRecords();
8635
8635
  t.length && (this.queue = []);
8636
- let n = e.domSelectionRange(), i = !this.suppressingSelectionUpdates && !this.currentSelection.eq(n) && L5(e) && !this.ignoreSelectionChange(n), r = -1, o = -1, a = !1, l = [];
8636
+ let n = e.domSelectionRange(), i = !this.suppressingSelectionUpdates && !this.currentSelection.eq(n) && L4(e) && !this.ignoreSelectionChange(n), r = -1, o = -1, a = !1, l = [];
8637
8637
  if (e.editable)
8638
8638
  for (let d = 0; d < t.length; d++) {
8639
8639
  let h = this.registerMutation(t[d], l);
@@ -8688,15 +8688,15 @@ class LX {
8688
8688
  });
8689
8689
  }
8690
8690
  }
8691
- let A5 = /* @__PURE__ */ new WeakMap(), O5 = !1;
8691
+ let A4 = /* @__PURE__ */ new WeakMap(), O4 = !1;
8692
8692
  function kX(s) {
8693
- if (!A5.has(s) && (A5.set(s, null), ["normal", "nowrap", "pre-line"].indexOf(getComputedStyle(s.dom).whiteSpace) !== -1)) {
8694
- if (s.requiresGeckoHackNode = _o, O5)
8693
+ if (!A4.has(s) && (A4.set(s, null), ["normal", "nowrap", "pre-line"].indexOf(getComputedStyle(s.dom).whiteSpace) !== -1)) {
8694
+ if (s.requiresGeckoHackNode = _o, O4)
8695
8695
  return;
8696
- console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."), O5 = !0;
8696
+ console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."), O4 = !0;
8697
8697
  }
8698
8698
  }
8699
- function P5(s, e) {
8699
+ function P4(s, e) {
8700
8700
  let t = e.startContainer, n = e.startOffset, i = e.endContainer, r = e.endOffset, o = s.domAtPos(s.state.selection.anchor);
8701
8701
  return Hu(o.node, o.offset, i, r) && ([t, n, i, r] = [i, r, t, n]), { anchorNode: t, anchorOffset: n, focusNode: i, focusOffset: r };
8702
8702
  }
@@ -8704,13 +8704,13 @@ function EX(s, e) {
8704
8704
  if (e.getComposedRanges) {
8705
8705
  let i = e.getComposedRanges(s.root)[0];
8706
8706
  if (i)
8707
- return P5(s, i);
8707
+ return P4(s, i);
8708
8708
  }
8709
8709
  let t;
8710
8710
  function n(i) {
8711
8711
  i.preventDefault(), i.stopImmediatePropagation(), t = i.getTargetRanges()[0];
8712
8712
  }
8713
- return s.dom.addEventListener("beforeinput", n, !0), document.execCommand("indent"), s.dom.removeEventListener("beforeinput", n, !0), t ? P5(s, t) : null;
8713
+ return s.dom.addEventListener("beforeinput", n, !0), document.execCommand("indent"), s.dom.removeEventListener("beforeinput", n, !0), t ? P4(s, t) : null;
8714
8714
  }
8715
8715
  function DX(s, e) {
8716
8716
  for (let t = e.parentNode; t && t != s.dom; t = t.parentNode) {
@@ -8790,7 +8790,7 @@ function MX(s, e, t, n, i) {
8790
8790
  g = { start: l.from, endA: l.to, endB: l.to };
8791
8791
  else {
8792
8792
  if (c.sel) {
8793
- let x = F5(s, s.state.doc, c.sel);
8793
+ let x = F4(s, s.state.doc, c.sel);
8794
8794
  if (x && !x.eq(s.state.selection)) {
8795
8795
  let k = s.state.tr.setSelection(x);
8796
8796
  r && k.setMeta("composition", r), s.dispatch(k);
@@ -8816,7 +8816,7 @@ function MX(s, e, t, n, i) {
8816
8816
  let C = g.start, v = g.endA, y = (x) => {
8817
8817
  let k = x || s.state.tr.replace(C, v, c.doc.slice(g.start - c.from, g.endB - c.from));
8818
8818
  if (c.sel) {
8819
- let E = F5(s, k.doc, c.sel);
8819
+ let E = F4(s, k.doc, c.sel);
8820
8820
  E && !(ks && s.composing && E.empty && (g.start != g.endB || s.input.lastChromeDelete < Date.now() - 100) && (E.head == C || E.head == k.mapping.map(v) - 1) || Cr && E.empty && E.head == C) && k.setSelection(E);
8821
8821
  }
8822
8822
  return r && k.setMeta("composition", r), k.scrollIntoView();
@@ -8839,7 +8839,7 @@ function MX(s, e, t, n, i) {
8839
8839
  } else
8840
8840
  s.dispatch(y());
8841
8841
  }
8842
- function F5(s, e, t) {
8842
+ function F4(s, e, t) {
8843
8843
  return Math.max(t.anchor, t.head) > e.content.size ? null : qM(s, e.resolve(t.anchor), e.resolve(t.head));
8844
8844
  }
8845
8845
  function RX(s, e) {
@@ -8899,14 +8899,14 @@ function OX(s, e, t, n, i) {
8899
8899
  }
8900
8900
  if (o < r && s.size < e.size) {
8901
8901
  let l = n <= r && n >= o ? r - n : 0;
8902
- r -= l, r && r < e.size && B5(e.textBetween(r - 1, r + 1)) && (r += l ? 1 : -1), a = r + (a - o), o = r;
8902
+ r -= l, r && r < e.size && B4(e.textBetween(r - 1, r + 1)) && (r += l ? 1 : -1), a = r + (a - o), o = r;
8903
8903
  } else if (a < r) {
8904
8904
  let l = n <= r && n >= a ? r - n : 0;
8905
- r -= l, r && r < s.size && B5(s.textBetween(r - 1, r + 1)) && (r += l ? 1 : -1), o = r + (o - a), a = r;
8905
+ r -= l, r && r < s.size && B4(s.textBetween(r - 1, r + 1)) && (r += l ? 1 : -1), o = r + (o - a), a = r;
8906
8906
  }
8907
8907
  return { start: r, endA: o, endB: a };
8908
8908
  }
8909
- function B5(s) {
8909
+ function B4(s) {
8910
8910
  if (s.length != 2)
8911
8911
  return !1;
8912
8912
  let e = s.charCodeAt(0), t = s.charCodeAt(1);
@@ -8921,7 +8921,7 @@ class PV {
8921
8921
  added to the document.
8922
8922
  */
8923
8923
  constructor(e, t) {
8924
- this._root = null, this.focused = !1, this.trackWrites = null, this.mounted = !1, this.markCursor = null, this.cursorWrapper = null, this.lastSelectedViewDesc = void 0, this.input = new eX(), this.prevDirectPlugins = [], this.pluginViews = [], this.requiresGeckoHackNode = !1, this.dragging = null, this._props = t, this.state = t.state, this.directPlugins = t.plugins || [], this.directPlugins.forEach($5), this.dispatch = this.dispatch.bind(this), this.dom = e && e.mount || document.createElement("div"), e && (e.appendChild ? e.appendChild(this.dom) : typeof e == "function" ? e(this.dom) : e.mount && (this.mounted = !0)), this.editable = H5(this), W5(this), this.nodeViews = z5(this), this.docView = w5(this.state.doc, V5(this), VL(this), this.dom, this), this.domObserver = new LX(this, (n, i, r, o) => MX(this, n, i, r, o)), this.domObserver.start(), tX(this), this.updatePluginViews();
8924
+ this._root = null, this.focused = !1, this.trackWrites = null, this.mounted = !1, this.markCursor = null, this.cursorWrapper = null, this.lastSelectedViewDesc = void 0, this.input = new eX(), this.prevDirectPlugins = [], this.pluginViews = [], this.requiresGeckoHackNode = !1, this.dragging = null, this._props = t, this.state = t.state, this.directPlugins = t.plugins || [], this.directPlugins.forEach($4), this.dispatch = this.dispatch.bind(this), this.dom = e && e.mount || document.createElement("div"), e && (e.appendChild ? e.appendChild(this.dom) : typeof e == "function" ? e(this.dom) : e.mount && (this.mounted = !0)), this.editable = H4(this), W4(this), this.nodeViews = z4(this), this.docView = w4(this.state.doc, V4(this), VL(this), this.dom, this), this.domObserver = new LX(this, (n, i, r, o) => MX(this, n, i, r, o)), this.domObserver.start(), tX(this), this.updatePluginViews();
8925
8925
  }
8926
8926
  /**
8927
8927
  Holds `true` when a
@@ -8951,7 +8951,7 @@ class PV {
8951
8951
  update(e) {
8952
8952
  e.handleDOMEvents != this._props.handleDOMEvents && KE(this);
8953
8953
  let t = this._props;
8954
- this._props = e, e.plugins && (e.plugins.forEach($5), this.directPlugins = e.plugins), this.updateStateInner(e.state, t);
8954
+ this._props = e, e.plugins && (e.plugins.forEach($4), this.directPlugins = e.plugins), this.updateStateInner(e.state, t);
8955
8955
  }
8956
8956
  /**
8957
8957
  Update the view by updating existing props object with the object
@@ -8980,11 +8980,11 @@ class PV {
8980
8980
  e.storedMarks && this.composing && (TV(this), o = !0), this.state = e;
8981
8981
  let a = i.plugins != e.plugins || this._props.plugins != t.plugins;
8982
8982
  if (a || this._props.plugins != t.plugins || this._props.nodeViews != t.nodeViews) {
8983
- let f = z5(this);
8983
+ let f = z4(this);
8984
8984
  FX(f, this.nodeViews) && (this.nodeViews = f, r = !0);
8985
8985
  }
8986
- (a || t.handleDOMEvents != this._props.handleDOMEvents) && KE(this), this.editable = H5(this), W5(this);
8987
- let l = VL(this), c = V5(this), d = i.plugins != e.plugins && !i.doc.eq(e.doc) ? "reset" : e.scrollToSelection > i.scrollToSelection ? "to selection" : "preserve", h = r || !this.docView.matchesNode(e.doc, c, l);
8986
+ (a || t.handleDOMEvents != this._props.handleDOMEvents) && KE(this), this.editable = H4(this), W4(this);
8987
+ let l = VL(this), c = V4(this), d = i.plugins != e.plugins && !i.doc.eq(e.doc) ? "reset" : e.scrollToSelection > i.scrollToSelection ? "to selection" : "preserve", h = r || !this.docView.matchesNode(e.doc, c, l);
8988
8988
  (h || !e.selection.eq(i.selection)) && (o = !0);
8989
8989
  let u = d == "preserve" && o && this.dom.style.overflowAnchor == null && pY(this);
8990
8990
  if (o) {
@@ -8992,7 +8992,7 @@ class PV {
8992
8992
  let f = h && (Cr || ks) && !this.composing && !i.selection.empty && !e.selection.empty && PX(i.selection, e.selection);
8993
8993
  if (h) {
8994
8994
  let g = ks ? this.trackWrites = this.domSelectionRange().focusNode : null;
8995
- this.composing && (this.input.compositionNode = gX(this)), (r || !this.docView.update(e.doc, c, l, this)) && (this.docView.updateOuterDeco(c), this.docView.destroy(), this.docView = w5(e.doc, c, l, this.dom, this)), g && !this.trackWrites && (f = !0);
8995
+ this.composing && (this.input.compositionNode = gX(this)), (r || !this.docView.update(e.doc, c, l, this)) && (this.docView.updateOuterDeco(c), this.docView.destroy(), this.docView = w4(e.doc, c, l, this.dom, this)), g && !this.trackWrites && (f = !0);
8996
8996
  }
8997
8997
  f || !(this.input.mouseDown && this.domObserver.currentSelection.eq(this.domSelectionRange()) && VY(this)) ? dc(this, f) : (_V(this, e.selection), this.domObserver.setCurSelection()), this.domObserver.start();
8998
8998
  }
@@ -9006,9 +9006,9 @@ class PV {
9006
9006
  if (!(!e || !this.dom.contains(e.nodeType == 1 ? e : e.parentNode))) {
9007
9007
  if (!this.someProp("handleScrollToSelection", (t) => t(this))) if (this.state.selection instanceof We) {
9008
9008
  let t = this.docView.domAfterPos(this.state.selection.from);
9009
- t.nodeType == 1 && f5(this, t.getBoundingClientRect(), e);
9009
+ t.nodeType == 1 && f4(this, t.getBoundingClientRect(), e);
9010
9010
  } else
9011
- f5(this, this.coordsAtPos(this.state.selection.head, 1), e);
9011
+ f4(this, this.coordsAtPos(this.state.selection.head, 1), e);
9012
9012
  }
9013
9013
  }
9014
9014
  destroyPluginViews() {
@@ -9248,7 +9248,7 @@ PV.prototype.dispatch = function(s) {
9248
9248
  let e = this._props.dispatchTransaction;
9249
9249
  e ? e.call(this, s) : this.updateState(this.state.apply(s));
9250
9250
  };
9251
- function V5(s) {
9251
+ function V4(s) {
9252
9252
  let e = /* @__PURE__ */ Object.create(null);
9253
9253
  return e.class = "ProseMirror", e.contenteditable = String(s.editable), s.someProp("attributes", (t) => {
9254
9254
  if (typeof t == "function" && (t = t(s.state)), t)
@@ -9256,21 +9256,21 @@ function V5(s) {
9256
9256
  n == "class" ? e.class += " " + t[n] : n == "style" ? e.style = (e.style ? e.style + ";" : "") + t[n] : !e[n] && n != "contenteditable" && n != "nodeName" && (e[n] = String(t[n]));
9257
9257
  }), e.translate || (e.translate = "no"), [Wi.node(0, s.state.doc.content.size, e)];
9258
9258
  }
9259
- function W5(s) {
9259
+ function W4(s) {
9260
9260
  if (s.markCursor) {
9261
9261
  let e = document.createElement("img");
9262
9262
  e.className = "ProseMirror-separator", e.setAttribute("mark-placeholder", "true"), e.setAttribute("alt", ""), s.cursorWrapper = { dom: e, deco: Wi.widget(s.state.selection.from, e, { raw: !0, marks: s.markCursor }) };
9263
9263
  } else
9264
9264
  s.cursorWrapper = null;
9265
9265
  }
9266
- function H5(s) {
9266
+ function H4(s) {
9267
9267
  return !s.someProp("editable", (e) => e(s.state) === !1);
9268
9268
  }
9269
9269
  function PX(s, e) {
9270
9270
  let t = Math.min(s.$anchor.sharedDepth(s.head), e.$anchor.sharedDepth(e.head));
9271
9271
  return s.$anchor.start(t) != e.$anchor.start(t);
9272
9272
  }
9273
- function z5(s) {
9273
+ function z4(s) {
9274
9274
  let e = /* @__PURE__ */ Object.create(null);
9275
9275
  function t(n) {
9276
9276
  for (let i in n)
@@ -9289,7 +9289,7 @@ function FX(s, e) {
9289
9289
  n++;
9290
9290
  return t != n;
9291
9291
  }
9292
- function $5(s) {
9292
+ function $4(s) {
9293
9293
  if (s.spec.state || s.spec.filterTransaction || s.spec.appendTransaction)
9294
9294
  throw new RangeError("Plugins passed directly to the view must not have a state component");
9295
9295
  }
@@ -9671,7 +9671,7 @@ function BV(s, e, t = {}) {
9671
9671
  t
9672
9672
  ));
9673
9673
  }
9674
- function U5(s, e, t = {}) {
9674
+ function U4(s, e, t = {}) {
9675
9675
  return !!BV(s, e, t);
9676
9676
  }
9677
9677
  function iR(s, e, t) {
@@ -9682,9 +9682,9 @@ function iR(s, e, t) {
9682
9682
  if ((!i.node || !i.node.marks.some((d) => d.type === e)) && (i = s.parent.childBefore(s.parentOffset)), !i.node || !i.node.marks.some((d) => d.type === e) || (t = t || ((n = i.node.marks[0]) == null ? void 0 : n.attrs), !BV([...i.node.marks], e, t)))
9683
9683
  return;
9684
9684
  let o = i.index, a = s.start() + i.offset, l = o + 1, c = a + i.node.nodeSize;
9685
- for (; o > 0 && U5([...s.parent.child(o - 1).marks], e, t); )
9685
+ for (; o > 0 && U4([...s.parent.child(o - 1).marks], e, t); )
9686
9686
  o -= 1, a -= s.parent.child(o).nodeSize;
9687
- for (; l < s.parent.childCount && U5([...s.parent.child(l).marks], e, t); )
9687
+ for (; l < s.parent.childCount && U4([...s.parent.child(l).marks], e, t); )
9688
9688
  c += s.parent.child(l).nodeSize, l += 1;
9689
9689
  return {
9690
9690
  from: a,
@@ -9982,7 +9982,7 @@ var xZ = (s, e = {}) => ({ state: t, dispatch: n }) => {
9982
9982
  function cx(s, e) {
9983
9983
  return e.nodes[s] ? "node" : e.marks[s] ? "mark" : null;
9984
9984
  }
9985
- function j5(s, e) {
9985
+ function j4(s, e) {
9986
9986
  const t = typeof e == "string" ? [e] : e;
9987
9987
  return Object.keys(s).reduce((n, i) => (t.includes(i) || (n[i] = s[i]), n), {});
9988
9988
  }
@@ -9994,8 +9994,8 @@ var DZ = (s, e) => ({ tr: t, state: n, dispatch: i }) => {
9994
9994
  );
9995
9995
  return a ? (a === "node" && (r = wi(s, n.schema)), a === "mark" && (o = yc(s, n.schema)), i && t.selection.ranges.forEach((l) => {
9996
9996
  n.doc.nodesBetween(l.$from.pos, l.$to.pos, (c, d) => {
9997
- r && r === c.type && t.setNodeMarkup(d, void 0, j5(c.attrs, e)), o && c.marks.length && c.marks.forEach((h) => {
9998
- o === h.type && t.addMark(d, d + c.nodeSize, o.create(j5(h.attrs, e)));
9997
+ r && r === c.type && t.setNodeMarkup(d, void 0, j4(c.attrs, e)), o && c.marks.length && c.marks.forEach((h) => {
9998
+ o === h.type && t.addMark(d, d + c.nodeSize, o.create(j4(h.attrs, e)));
9999
9999
  });
10000
10000
  });
10001
10001
  }), !0) : !1;
@@ -10207,7 +10207,7 @@ function FC(s, e) {
10207
10207
  function WZ(s) {
10208
10208
  return typeof s != "string" ? s : s.match(/^[+-]?(?:\d*\.)?\d+$/) ? Number(s) : s === "true" ? !0 : s === "false" ? !1 : s;
10209
10209
  }
10210
- function K5(s, e) {
10210
+ function K4(s, e) {
10211
10211
  return "style" in s ? s : {
10212
10212
  ...s,
10213
10213
  getAttrs: (t) => {
@@ -10225,7 +10225,7 @@ function K5(s, e) {
10225
10225
  }
10226
10226
  };
10227
10227
  }
10228
- function q5(s) {
10228
+ function q4(s) {
10229
10229
  return Object.fromEntries(
10230
10230
  // @ts-ignore
10231
10231
  Object.entries(s).filter(([e, t]) => e === "attrs" && VZ(t) ? !1 : t != null)
@@ -10246,7 +10246,7 @@ function HZ(s, e) {
10246
10246
  ...b,
10247
10247
  ...C ? C(c) : {}
10248
10248
  };
10249
- }, {}), f = q5({
10249
+ }, {}), f = q4({
10250
10250
  ...u,
10251
10251
  content: Ut(Ve(c, "content", h)),
10252
10252
  marks: Ut(Ve(c, "marks", h)),
@@ -10273,7 +10273,7 @@ function HZ(s, e) {
10273
10273
  )
10274
10274
  }), g = Ut(Ve(c, "parseHTML", h));
10275
10275
  g && (f.parseDOM = g.map(
10276
- (b) => K5(b, d)
10276
+ (b) => K4(b, d)
10277
10277
  ));
10278
10278
  const p = Ve(c, "renderHTML", h);
10279
10279
  p && (f.toDOM = (b) => p({
@@ -10296,7 +10296,7 @@ function HZ(s, e) {
10296
10296
  ...m,
10297
10297
  ...w ? w(c) : {}
10298
10298
  };
10299
- }, {}), f = q5({
10299
+ }, {}), f = q4({
10300
10300
  ...u,
10301
10301
  inclusive: Ut(Ve(c, "inclusive", h)),
10302
10302
  excludes: Ut(Ve(c, "excludes", h)),
@@ -10314,7 +10314,7 @@ function HZ(s, e) {
10314
10314
  )
10315
10315
  }), g = Ut(Ve(c, "parseHTML", h));
10316
10316
  g && (f.parseDOM = g.map(
10317
- (m) => K5(m, d)
10317
+ (m) => K4(m, d)
10318
10318
  ));
10319
10319
  const p = Ve(c, "renderHTML", h);
10320
10320
  return p && (f.toDOM = (m) => p({
@@ -10529,10 +10529,10 @@ var XZ = (s, e) => {
10529
10529
  const { $from: e, $to: t } = s.selection;
10530
10530
  return !(e.parentOffset > 0 || e.pos !== t.pos);
10531
10531
  };
10532
- function G5(s, e) {
10532
+ function G4(s, e) {
10533
10533
  return Array.isArray(e) ? e.some((t) => (typeof t == "string" ? t : t.name) === s.name) : e;
10534
10534
  }
10535
- function Y5(s, e) {
10535
+ function Y4(s, e) {
10536
10536
  const { nodeExtensions: t } = x1(e), n = t.find((o) => o.name === s);
10537
10537
  if (!n)
10538
10538
  return !1;
@@ -10625,7 +10625,7 @@ var JZ = (s, e = {}) => ({ tr: t, state: n, dispatch: i }) => {
10625
10625
  }, eQ = (s, e) => ({ tr: t }) => (t.setMeta(s, e), !0), tQ = (s, e = {}) => ({ state: t, dispatch: n, chain: i }) => {
10626
10626
  const r = wi(s, t.schema);
10627
10627
  let o;
10628
- return t.selection.$anchor.sameParent(t.selection.$head) && (o = t.selection.$anchor.parent.attrs), r.isTextblock ? i().command(({ commands: a }) => d5(r, { ...o, ...e })(t) ? !0 : a.clearNodes()).command(({ state: a }) => d5(r, { ...o, ...e })(a, n)).run() : (console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'), !1);
10628
+ return t.selection.$anchor.sameParent(t.selection.$head) && (o = t.selection.$anchor.parent.attrs), r.isTextblock ? i().command(({ commands: a }) => d4(r, { ...o, ...e })(t) ? !0 : a.clearNodes()).command(({ state: a }) => d4(r, { ...o, ...e })(a, n)).run() : (console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'), !1);
10629
10629
  }, nQ = (s) => ({ tr: e, dispatch: t }) => {
10630
10630
  if (t) {
10631
10631
  const { doc: n } = e, i = Kh(s, 0, n.content.size), r = We.create(n, i);
@@ -10642,7 +10642,7 @@ var JZ = (s, e = {}) => ({ tr: t, state: n, dispatch: i }) => {
10642
10642
  const n = wi(s, e.schema);
10643
10643
  return iY(n)(e, t);
10644
10644
  };
10645
- function X5(s, e) {
10645
+ function X4(s, e) {
10646
10646
  const t = s.storedMarks || s.selection.$to.parentOffset && s.selection.$from.marks();
10647
10647
  if (t) {
10648
10648
  const n = t.filter((i) => e?.includes(i.type.name));
@@ -10652,7 +10652,7 @@ function X5(s, e) {
10652
10652
  var rQ = ({ keepMarks: s = !0 } = {}) => ({ tr: e, state: t, dispatch: n, editor: i }) => {
10653
10653
  const { selection: r, doc: o } = e, { $from: a, $to: l } = r, c = i.extensionManager.attributes, d = Uw(c, a.node().type.name, a.node().attrs);
10654
10654
  if (r instanceof We && r.node.isBlock)
10655
- return !a.parentOffset || !cc(o, a.pos) ? !1 : (n && (s && X5(t, i.extensionManager.splittableMarks), e.split(a.pos).scrollIntoView()), !0);
10655
+ return !a.parentOffset || !cc(o, a.pos) ? !1 : (n && (s && X4(t, i.extensionManager.splittableMarks), e.split(a.pos).scrollIntoView()), !0);
10656
10656
  if (!a.parent.isBlock)
10657
10657
  return !1;
10658
10658
  const h = l.parentOffset === l.parent.content.size, u = a.depth === 0 ? void 0 : FZ(a.node(-1).contentMatchAt(a.indexAfter(-1)));
@@ -10672,7 +10672,7 @@ var rQ = ({ keepMarks: s = !0 } = {}) => ({ tr: e, state: t, dispatch: n, editor
10672
10672
  const p = e.mapping.map(a.before()), m = e.doc.resolve(p);
10673
10673
  a.node(-1).canReplaceWith(m.index(), m.index() + 1, u) && e.setNodeMarkup(e.mapping.map(a.before()), u);
10674
10674
  }
10675
- s && X5(t, i.extensionManager.splittableMarks), e.scrollIntoView();
10675
+ s && X4(t, i.extensionManager.splittableMarks), e.scrollIntoView();
10676
10676
  }
10677
10677
  return g;
10678
10678
  }, oQ = (s, e = {}) => ({ tr: t, state: n, dispatch: i, editor: r }) => {
@@ -10755,11 +10755,11 @@ var rQ = ({ keepMarks: s = !0 } = {}) => ({ tr: e, state: t, dispatch: n, editor
10755
10755
  const { extensions: h, splittableMarks: u } = i.extensionManager, f = wi(s, o.schema), g = wi(e, o.schema), { selection: p, storedMarks: m } = o, { $from: b, $to: w } = p, C = b.blockRange(w), v = m || p.$to.parentOffset && p.$from.marks();
10756
10756
  if (!C)
10757
10757
  return !1;
10758
- const y = dx((L) => Y5(L.type.name, h))(p);
10758
+ const y = dx((L) => Y4(L.type.name, h))(p);
10759
10759
  if (C.depth >= 1 && y && C.depth - y.depth <= 1) {
10760
10760
  if (y.node.type === f)
10761
10761
  return c.liftListItem(g);
10762
- if (Y5(y.node.type.name, h) && f.validContent(y.node.content) && a)
10762
+ if (Y4(y.node.type.name, h) && f.validContent(y.node.content) && a)
10763
10763
  return l().command(() => (r.setNodeMarkup(y.pos, f), !0)).command(() => UL(r, f)).command(() => jL(r, f)).run();
10764
10764
  }
10765
10765
  return !t || !v || !a ? l().command(() => d().wrapInList(f, n) ? !0 : c.clearNodes()).wrapInList(f, n).command(() => UL(r, f)).command(() => jL(r, f)).run() : l().command(() => {
@@ -11304,7 +11304,7 @@ var fx = class {
11304
11304
  const l = jX(a);
11305
11305
  r.push(l);
11306
11306
  const c = Ve(n, "addInputRules", i);
11307
- if (G5(n, s.options.enableInputRules) && c) {
11307
+ if (G4(n, s.options.enableInputRules) && c) {
11308
11308
  const u = c();
11309
11309
  if (u && u.length) {
11310
11310
  const f = wQ({
@@ -11315,7 +11315,7 @@ var fx = class {
11315
11315
  }
11316
11316
  }
11317
11317
  const d = Ve(n, "addPasteRules", i);
11318
- if (G5(n, s.options.enablePasteRules) && d) {
11318
+ if (G4(n, s.options.enablePasteRules) && d) {
11319
11319
  const u = d();
11320
11320
  if (u && u.length) {
11321
11321
  const f = kQ({ editor: s, rules: u });
@@ -12829,7 +12829,7 @@ function kd(s) {
12829
12829
  }
12830
12830
  });
12831
12831
  }
12832
- function Z5(s) {
12832
+ function Z4(s) {
12833
12833
  return Pq((e, t) => ({
12834
12834
  get() {
12835
12835
  return e(), s;
@@ -12845,7 +12845,7 @@ function Z5(s) {
12845
12845
  }
12846
12846
  var zQ = class extends IQ {
12847
12847
  constructor(s = {}) {
12848
- return super(s), this.contentComponent = null, this.appContext = null, this.reactiveState = Z5(this.view.state), this.reactiveExtensionStorage = Z5(this.extensionStorage), this.on("beforeTransaction", ({ nextState: e }) => {
12848
+ return super(s), this.contentComponent = null, this.appContext = null, this.reactiveState = Z4(this.view.state), this.reactiveExtensionStorage = Z4(this.extensionStorage), this.on("beforeTransaction", ({ nextState: e }) => {
12849
12849
  this.reactiveState.value = e, this.reactiveExtensionStorage.value = this.extensionStorage;
12850
12850
  }), Oq(this);
12851
12851
  }
@@ -13957,7 +13957,7 @@ function yJ(s, e) {
13957
13957
  }
13958
13958
  return !0;
13959
13959
  }
13960
- function Q5(s) {
13960
+ function Q4(s) {
13961
13961
  const e = s.content;
13962
13962
  return e.childCount == 1 && e.child(0).isTextblock && e.child(0).childCount == 0;
13963
13963
  }
@@ -13975,7 +13975,7 @@ function SJ({ width: s, height: e, map: t }, n) {
13975
13975
  }
13976
13976
  return !1;
13977
13977
  }
13978
- function J5(s, e) {
13978
+ function J4(s, e) {
13979
13979
  const t = s.selection;
13980
13980
  if (!(t instanceof vn) || t.$anchorCell.pos == t.$headCell.pos)
13981
13981
  return !1;
@@ -13991,7 +13991,7 @@ function J5(s, e) {
13991
13991
  if (o[u] = !0, l == null)
13992
13992
  l = u, c = f;
13993
13993
  else {
13994
- Q5(f) || (a = a.append(f.content));
13994
+ Q4(f) || (a = a.append(f.content));
13995
13995
  const g = r.mapping.map(u + n.tableStart);
13996
13996
  r.delete(g, g + f.nodeSize);
13997
13997
  }
@@ -14006,7 +14006,7 @@ function J5(s, e) {
14006
14006
  ),
14007
14007
  rowspan: n.bottom - n.top
14008
14008
  }), a.size) {
14009
- const d = l + 1 + c.content.size, h = Q5(c) ? l + 1 : d;
14009
+ const d = l + 1 + c.content.size, h = Q4(c) ? l + 1 : d;
14010
14010
  r.replaceWith(h + n.tableStart, d + n.tableStart, a);
14011
14011
  }
14012
14012
  r.setSelection(
@@ -14015,7 +14015,7 @@ function J5(s, e) {
14015
14015
  }
14016
14016
  return !0;
14017
14017
  }
14018
- function e4(s, e) {
14018
+ function e5(s, e) {
14019
14019
  const t = Ts(s.schema);
14020
14020
  return xJ(({ node: n }) => t[n.type.spec.tableRole])(s, e);
14021
14021
  }
@@ -14124,7 +14124,7 @@ function kJ(s) {
14124
14124
  return !0;
14125
14125
  };
14126
14126
  }
14127
- function t4(s, e, t) {
14127
+ function t5(s, e, t) {
14128
14128
  const n = e.map.cellsInRect({
14129
14129
  left: 0,
14130
14130
  top: 0,
@@ -14142,7 +14142,7 @@ function L1(s, e) {
14142
14142
  return e = e || { useDeprecatedLogic: !1 }, e.useDeprecatedLogic ? kJ(s) : function(t, n) {
14143
14143
  if (!oa(t)) return !1;
14144
14144
  if (n) {
14145
- const i = Ts(t.schema), r = al(t), o = t.tr, a = t4("row", r, i), l = t4(
14145
+ const i = Ts(t.schema), r = al(t), o = t.tr, a = t5("row", r, i), l = t5(
14146
14146
  "column",
14147
14147
  r,
14148
14148
  i
@@ -14196,7 +14196,7 @@ function DJ(s, e) {
14196
14196
  }
14197
14197
  return null;
14198
14198
  }
14199
- function n4(s) {
14199
+ function n5(s) {
14200
14200
  return function(e, t) {
14201
14201
  if (!oa(e)) return !1;
14202
14202
  const n = DJ(gx(e), s);
@@ -14354,7 +14354,7 @@ function RJ(s, e, t, n, i, r, o) {
14354
14354
  }
14355
14355
  return !!(c || d);
14356
14356
  }
14357
- function i4(s, e, t, n, i, r, o, a) {
14357
+ function i5(s, e, t, n, i, r, o, a) {
14358
14358
  if (o == 0 || o == e.height) return !1;
14359
14359
  let l = !1;
14360
14360
  for (let c = i; c < r; c++) {
@@ -14376,7 +14376,7 @@ function i4(s, e, t, n, i, r, o, a) {
14376
14376
  }
14377
14377
  return l;
14378
14378
  }
14379
- function s4(s, e, t, n, i, r, o, a) {
14379
+ function s5(s, e, t, n, i, r, o, a) {
14380
14380
  if (o == 0 || o == e.width) return !1;
14381
14381
  let l = !1;
14382
14382
  for (let c = i; c < r; c++) {
@@ -14402,7 +14402,7 @@ function s4(s, e, t, n, i, r, o, a) {
14402
14402
  }
14403
14403
  return l;
14404
14404
  }
14405
- function r4(s, e, t, n, i) {
14405
+ function r5(s, e, t, n, i) {
14406
14406
  let r = t ? s.doc.nodeAt(t - 1) : s.doc;
14407
14407
  if (!r)
14408
14408
  throw new Error("No table found");
@@ -14414,7 +14414,7 @@ function r4(s, e, t, n, i) {
14414
14414
  throw new Error("No table found");
14415
14415
  o = Un.get(r), u = h.mapping.maps.length;
14416
14416
  }
14417
- RJ(h, o, r, t, c, d, u) && f(), i4(h, o, r, t, l, c, a, u) && f(), i4(h, o, r, t, l, c, d, u) && f(), s4(h, o, r, t, a, d, l, u) && f(), s4(h, o, r, t, a, d, c, u) && f();
14417
+ RJ(h, o, r, t, c, d, u) && f(), i5(h, o, r, t, l, c, a, u) && f(), i5(h, o, r, t, l, c, d, u) && f(), s5(h, o, r, t, a, d, l, u) && f(), s5(h, o, r, t, a, d, c, u) && f();
14418
14418
  for (let g = a; g < d; g++) {
14419
14419
  const p = o.positionAt(g, l, r), m = o.positionAt(g, c, r);
14420
14420
  h.replace(
@@ -14515,10 +14515,10 @@ function PJ(s, e, t) {
14515
14515
  i.$anchorCell.pos - o,
14516
14516
  i.$headCell.pos - o
14517
14517
  );
14518
- return n = MJ(n, a.right - a.left, a.bottom - a.top), r4(s.state, s.dispatch, o, a, n), !0;
14518
+ return n = MJ(n, a.right - a.left, a.bottom - a.top), r5(s.state, s.dispatch, o, a, n), !0;
14519
14519
  } else if (n) {
14520
14520
  const r = gx(s.state), o = r.start(-1);
14521
- return r4(
14521
+ return r5(
14522
14522
  s.state,
14523
14523
  s.dispatch,
14524
14524
  o,
@@ -14531,7 +14531,7 @@ function PJ(s, e, t) {
14531
14531
  function FJ(s, e) {
14532
14532
  var t;
14533
14533
  if (e.ctrlKey || e.metaKey) return;
14534
- const n = o4(s, e.target);
14534
+ const n = o5(s, e.target);
14535
14535
  let i;
14536
14536
  if (e.shiftKey && s.state.selection instanceof vn)
14537
14537
  r(s.state.selection.$anchorCell, e), e.preventDefault();
@@ -14559,7 +14559,7 @@ function FJ(s, e) {
14559
14559
  let h;
14560
14560
  if (d != null)
14561
14561
  h = s.state.doc.resolve(d);
14562
- else if (o4(s, c.target) != n && (h = KL(s, e), !h))
14562
+ else if (o5(s, c.target) != n && (h = KL(s, e), !h))
14563
14563
  return o();
14564
14564
  h && r(h, c);
14565
14565
  }
@@ -14578,7 +14578,7 @@ function SW(s, e, t) {
14578
14578
  }
14579
14579
  return null;
14580
14580
  }
14581
- function o4(s, e) {
14581
+ function o5(s, e) {
14582
14582
  for (; e && e != s.dom; e = e.parentNode)
14583
14583
  if (e.nodeName == "TD" || e.nodeName == "TH")
14584
14584
  return e;
@@ -14707,7 +14707,7 @@ function HJ(s, e, t, n) {
14707
14707
  let o = -1;
14708
14708
  if (r) {
14709
14709
  const { left: a, right: l } = r.getBoundingClientRect();
14710
- e.clientX - a <= t ? o = a4(s, e, "left", t) : l - e.clientX <= t && (o = a4(s, e, "right", t));
14710
+ e.clientX - a <= t ? o = a5(s, e, "left", t) : l - e.clientX <= t && (o = a5(s, e, "right", t));
14711
14711
  }
14712
14712
  if (o != i.activeHandle) {
14713
14713
  if (!n && o !== -1) {
@@ -14742,7 +14742,7 @@ function $J(s, e, t, n) {
14742
14742
  u?.dragging && (KJ(
14743
14743
  s,
14744
14744
  u.activeHandle,
14745
- l4(u.dragging, h, t)
14745
+ l5(u.dragging, h, t)
14746
14746
  ), s.dispatch(
14747
14747
  s.state.tr.setMeta(Br, { setDragging: null })
14748
14748
  ));
@@ -14751,8 +14751,8 @@ function $J(s, e, t, n) {
14751
14751
  if (!h.which) return c(h);
14752
14752
  const u = Br.getState(s.state);
14753
14753
  if (u && u.dragging) {
14754
- const f = l4(u.dragging, h, t);
14755
- c4(
14754
+ const f = l5(u.dragging, h, t);
14755
+ c5(
14756
14756
  s,
14757
14757
  u.activeHandle,
14758
14758
  f,
@@ -14760,7 +14760,7 @@ function $J(s, e, t, n) {
14760
14760
  );
14761
14761
  }
14762
14762
  }
14763
- return c4(
14763
+ return c5(
14764
14764
  s,
14765
14765
  o.activeHandle,
14766
14766
  l,
@@ -14782,7 +14782,7 @@ function jJ(s) {
14782
14782
  s = s.classList && s.classList.contains("ProseMirror") ? null : s.parentNode;
14783
14783
  return s;
14784
14784
  }
14785
- function a4(s, e, t, n) {
14785
+ function a5(s, e, t, n) {
14786
14786
  const i = t == "right" ? -n : n, r = s.posAtCoords({
14787
14787
  left: e.clientX + i,
14788
14788
  top: e.clientY
@@ -14794,7 +14794,7 @@ function a4(s, e, t, n) {
14794
14794
  const l = Un.get(a.node(-1)), c = a.start(-1), d = l.map.indexOf(a.pos - c);
14795
14795
  return d % l.width == 0 ? -1 : c + l.map[d - 1];
14796
14796
  }
14797
- function l4(s, e, t) {
14797
+ function l5(s, e, t) {
14798
14798
  const n = e.clientX - s.startX;
14799
14799
  return Math.max(t, s.startWidth + n);
14800
14800
  }
@@ -14815,7 +14815,7 @@ function KJ(s, e, t) {
14815
14815
  }
14816
14816
  l.docChanged && s.dispatch(l);
14817
14817
  }
14818
- function c4(s, e, t, n) {
14818
+ function c5(s, e, t, n) {
14819
14819
  const i = s.state.doc.resolve(e), r = i.node(-1), o = i.start(-1), a = Un.get(r).colCount(i.pos - o) + i.nodeAfter.attrs.colspan - 1;
14820
14820
  let l = s.domAtPos(i.start(-1)).node;
14821
14821
  for (; l && l.nodeName != "TABLE"; )
@@ -14989,7 +14989,7 @@ var XJ = Ui.create({
14989
14989
  function t2(s, e) {
14990
14990
  return e ? ["width", `${Math.max(e, s)}px`] : ["min-width", `${s}px`];
14991
14991
  }
14992
- function d4(s, e, t, n, i, r) {
14992
+ function d5(s, e, t, n, i, r) {
14993
14993
  var o;
14994
14994
  let a = 0, l = !0, c = e.firstChild;
14995
14995
  const d = s.firstChild;
@@ -15018,10 +15018,10 @@ function d4(s, e, t, n, i, r) {
15018
15018
  }
15019
15019
  var JJ = class {
15020
15020
  constructor(s, e) {
15021
- this.node = s, this.cellMinWidth = e, this.dom = document.createElement("div"), this.dom.className = "tableWrapper", this.table = this.dom.appendChild(document.createElement("table")), this.colgroup = this.table.appendChild(document.createElement("colgroup")), d4(s, this.colgroup, this.table, e), this.contentDOM = this.table.appendChild(document.createElement("tbody"));
15021
+ this.node = s, this.cellMinWidth = e, this.dom = document.createElement("div"), this.dom.className = "tableWrapper", this.table = this.dom.appendChild(document.createElement("table")), this.colgroup = this.table.appendChild(document.createElement("colgroup")), d5(s, this.colgroup, this.table, e), this.contentDOM = this.table.appendChild(document.createElement("tbody"));
15022
15022
  }
15023
15023
  update(s) {
15024
- return s.type !== this.node.type ? !1 : (this.node = s, d4(s, this.colgroup, this.table, this.cellMinWidth), !0);
15024
+ return s.type !== this.node.type ? !1 : (this.node = s, d5(s, this.colgroup, this.table, this.cellMinWidth), !0);
15025
15025
  }
15026
15026
  ignoreMutation(s) {
15027
15027
  const e = s.target, t = this.dom.contains(e), n = this.contentDOM.contains(e);
@@ -15045,7 +15045,7 @@ function eee(s, e, t, n) {
15045
15045
  const l = r ? `${i}px` : "", c = r ? "" : `${i}px`;
15046
15046
  return { colgroup: ["colgroup", {}, ...o], tableWidth: l, tableMinWidth: c };
15047
15047
  }
15048
- function h4(s, e) {
15048
+ function h5(s, e) {
15049
15049
  return s.createAndFill();
15050
15050
  }
15051
15051
  function tee(s) {
@@ -15060,9 +15060,9 @@ function tee(s) {
15060
15060
  function nee(s, e, t, n, i) {
15061
15061
  const r = tee(s), o = [], a = [];
15062
15062
  for (let c = 0; c < t; c += 1) {
15063
- const d = h4(r.cell);
15063
+ const d = h5(r.cell);
15064
15064
  if (d && a.push(d), n) {
15065
- const h = h4(r.header_cell);
15065
+ const h = h5(r.header_cell);
15066
15066
  h && o.push(h);
15067
15067
  }
15068
15068
  }
@@ -15135,15 +15135,15 @@ var P0 = ({ editor: s }) => {
15135
15135
  addRowAfter: () => ({ state: s, dispatch: e }) => CJ(s, e),
15136
15136
  deleteRow: () => ({ state: s, dispatch: e }) => yJ(s, e),
15137
15137
  deleteTable: () => ({ state: s, dispatch: e }) => TJ(s, e),
15138
- mergeCells: () => ({ state: s, dispatch: e }) => J5(s, e),
15139
- splitCell: () => ({ state: s, dispatch: e }) => e4(s, e),
15138
+ mergeCells: () => ({ state: s, dispatch: e }) => J4(s, e),
15139
+ splitCell: () => ({ state: s, dispatch: e }) => e5(s, e),
15140
15140
  toggleHeaderColumn: () => ({ state: s, dispatch: e }) => L1("column")(s, e),
15141
15141
  toggleHeaderRow: () => ({ state: s, dispatch: e }) => L1("row")(s, e),
15142
15142
  toggleHeaderCell: () => ({ state: s, dispatch: e }) => EJ(s, e),
15143
- mergeOrSplit: () => ({ state: s, dispatch: e }) => J5(s, e) ? !0 : e4(s, e),
15143
+ mergeOrSplit: () => ({ state: s, dispatch: e }) => J4(s, e) ? !0 : e5(s, e),
15144
15144
  setCellAttribute: (s, e) => ({ state: t, dispatch: n }) => LJ(s, e)(t, n),
15145
- goToNextCell: () => ({ state: s, dispatch: e }) => n4(1)(s, e),
15146
- goToPreviousCell: () => ({ state: s, dispatch: e }) => n4(-1)(s, e),
15145
+ goToNextCell: () => ({ state: s, dispatch: e }) => n5(1)(s, e),
15146
+ goToPreviousCell: () => ({ state: s, dispatch: e }) => n5(-1)(s, e),
15147
15147
  fixTables: () => ({ state: s, dispatch: e }) => (e && CW(s), !0),
15148
15148
  setCellSelection: (s) => ({ tr: e, dispatch: t }) => {
15149
15149
  if (t) {
@@ -16023,7 +16023,7 @@ hr.prototype = {
16023
16023
  return i.j[s] = o, o;
16024
16024
  }
16025
16025
  };
16026
- const pt = (s, e, t, n, i) => s.ta(e, t, n, i), Vn = (s, e, t, n, i) => s.tr(e, t, n, i), u4 = (s, e, t, n, i) => s.ts(e, t, n, i), de = (s, e, t, n, i) => s.tt(e, t, n, i), Tl = "WORD", o2 = "UWORD", EW = "ASCIINUMERICAL", DW = "ALPHANUMERICAL", k1 = "LOCALHOST", a2 = "TLD", l2 = "UTLD", qw = "SCHEME", ig = "SLASH_SCHEME", gR = "NUM", c2 = "WS", pR = "NL", h_ = "OPENBRACE", u_ = "CLOSEBRACE", VC = "OPENBRACKET", WC = "CLOSEBRACKET", HC = "OPENPAREN", zC = "CLOSEPAREN", $C = "OPENANGLEBRACKET", UC = "CLOSEANGLEBRACKET", jC = "FULLWIDTHLEFTPAREN", KC = "FULLWIDTHRIGHTPAREN", qC = "LEFTCORNERBRACKET", GC = "RIGHTCORNERBRACKET", YC = "LEFTWHITECORNERBRACKET", XC = "RIGHTWHITECORNERBRACKET", ZC = "FULLWIDTHLESSTHAN", QC = "FULLWIDTHGREATERTHAN", JC = "AMPERSAND", ev = "APOSTROPHE", tv = "ASTERISK", Wc = "AT", nv = "BACKSLASH", iv = "BACKTICK", sv = "CARET", Gc = "COLON", mR = "COMMA", rv = "DOLLAR", ya = "DOT", ov = "EQUALS", _R = "EXCLAMATION", so = "HYPHEN", f_ = "PERCENT", av = "PIPE", lv = "PLUS", cv = "POUND", g_ = "QUERY", bR = "QUOTE", TW = "FULLWIDTHMIDDLEDOT", wR = "SEMI", Sa = "SLASH", p_ = "TILDE", dv = "UNDERSCORE", NW = "EMOJI", hv = "SYM";
16026
+ const pt = (s, e, t, n, i) => s.ta(e, t, n, i), Vn = (s, e, t, n, i) => s.tr(e, t, n, i), u5 = (s, e, t, n, i) => s.ts(e, t, n, i), de = (s, e, t, n, i) => s.tt(e, t, n, i), Tl = "WORD", o2 = "UWORD", EW = "ASCIINUMERICAL", DW = "ALPHANUMERICAL", k1 = "LOCALHOST", a2 = "TLD", l2 = "UTLD", qw = "SCHEME", ig = "SLASH_SCHEME", gR = "NUM", c2 = "WS", pR = "NL", h_ = "OPENBRACE", u_ = "CLOSEBRACE", VC = "OPENBRACKET", WC = "CLOSEBRACKET", HC = "OPENPAREN", zC = "CLOSEPAREN", $C = "OPENANGLEBRACKET", UC = "CLOSEANGLEBRACKET", jC = "FULLWIDTHLEFTPAREN", KC = "FULLWIDTHRIGHTPAREN", qC = "LEFTCORNERBRACKET", GC = "RIGHTCORNERBRACKET", YC = "LEFTWHITECORNERBRACKET", XC = "RIGHTWHITECORNERBRACKET", ZC = "FULLWIDTHLESSTHAN", QC = "FULLWIDTHGREATERTHAN", JC = "AMPERSAND", ev = "APOSTROPHE", tv = "ASTERISK", Wc = "AT", nv = "BACKSLASH", iv = "BACKTICK", sv = "CARET", Gc = "COLON", mR = "COMMA", rv = "DOLLAR", ya = "DOT", ov = "EQUALS", _R = "EXCLAMATION", so = "HYPHEN", f_ = "PERCENT", av = "PIPE", lv = "PLUS", cv = "POUND", g_ = "QUERY", bR = "QUOTE", TW = "FULLWIDTHMIDDLEDOT", wR = "SEMI", Sa = "SLASH", p_ = "TILDE", dv = "UNDERSCORE", NW = "EMOJI", hv = "SYM";
16027
16027
  var IW = /* @__PURE__ */ Object.freeze({
16028
16028
  __proto__: null,
16029
16029
  ALPHANUMERICAL: DW,
@@ -16082,14 +16082,14 @@ var IW = /* @__PURE__ */ Object.freeze({
16082
16082
  WORD: Tl,
16083
16083
  WS: c2
16084
16084
  });
16085
- const bl = /[a-z]/, gm = new RegExp("\\p{L}", "u"), GL = new RegExp("\\p{Emoji}", "u"), wl = /\d/, YL = /\s/, f4 = "\r", XL = `
16085
+ const bl = /[a-z]/, gm = new RegExp("\\p{L}", "u"), GL = new RegExp("\\p{Emoji}", "u"), wl = /\d/, YL = /\s/, f5 = "\r", XL = `
16086
16086
  `, Bee = "️", Vee = "‍", ZL = "";
16087
16087
  let F0 = null, B0 = null;
16088
16088
  function Wee(s = []) {
16089
16089
  const e = {};
16090
16090
  hr.groups = e;
16091
16091
  const t = new hr();
16092
- F0 == null && (F0 = g4(Mee)), B0 == null && (B0 = g4(Ree)), de(t, "'", ev), de(t, "{", h_), de(t, "}", u_), de(t, "[", VC), de(t, "]", WC), de(t, "(", HC), de(t, ")", zC), de(t, "<", $C), de(t, ">", UC), de(t, "(", jC), de(t, ")", KC), de(t, "「", qC), de(t, "」", GC), de(t, "『", YC), de(t, "』", XC), de(t, "<", ZC), de(t, ">", QC), de(t, "&", JC), de(t, "*", tv), de(t, "@", Wc), de(t, "`", iv), de(t, "^", sv), de(t, ":", Gc), de(t, ",", mR), de(t, "$", rv), de(t, ".", ya), de(t, "=", ov), de(t, "!", _R), de(t, "-", so), de(t, "%", f_), de(t, "|", av), de(t, "+", lv), de(t, "#", cv), de(t, "?", g_), de(t, '"', bR), de(t, "/", Sa), de(t, ";", wR), de(t, "~", p_), de(t, "_", dv), de(t, "\\", nv), de(t, "・", TW);
16092
+ F0 == null && (F0 = g5(Mee)), B0 == null && (B0 = g5(Ree)), de(t, "'", ev), de(t, "{", h_), de(t, "}", u_), de(t, "[", VC), de(t, "]", WC), de(t, "(", HC), de(t, ")", zC), de(t, "<", $C), de(t, ">", UC), de(t, "(", jC), de(t, ")", KC), de(t, "「", qC), de(t, "」", GC), de(t, "『", YC), de(t, "』", XC), de(t, "<", ZC), de(t, ">", QC), de(t, "&", JC), de(t, "*", tv), de(t, "@", Wc), de(t, "`", iv), de(t, "^", sv), de(t, ":", Gc), de(t, ",", mR), de(t, "$", rv), de(t, ".", ya), de(t, "=", ov), de(t, "!", _R), de(t, "-", so), de(t, "%", f_), de(t, "|", av), de(t, "+", lv), de(t, "#", cv), de(t, "?", g_), de(t, '"', bR), de(t, "/", Sa), de(t, ";", wR), de(t, "~", p_), de(t, "_", dv), de(t, "\\", nv), de(t, "・", TW);
16093
16093
  const n = Vn(t, wl, gR, {
16094
16094
  [n2]: !0
16095
16095
  });
@@ -16108,12 +16108,12 @@ function Wee(s = []) {
16108
16108
  Vn(a, bl), Vn(a, wl, r), Vn(a, gm, a), Vn(r, wl, r), Vn(r, bl), Vn(r, gm, r);
16109
16109
  const l = de(t, XL, pR, {
16110
16110
  [qL]: !0
16111
- }), c = de(t, f4, c2, {
16111
+ }), c = de(t, f5, c2, {
16112
16112
  [qL]: !0
16113
16113
  }), d = Vn(t, YL, c2, {
16114
16114
  [qL]: !0
16115
16115
  });
16116
- de(t, ZL, d), de(c, XL, l), de(c, ZL, d), Vn(c, YL, d), de(d, f4), de(d, XL), Vn(d, YL, d), de(d, ZL, d);
16116
+ de(t, ZL, d), de(c, XL, l), de(c, ZL, d), Vn(c, YL, d), de(d, f5), de(d, XL), Vn(d, YL, d), de(d, ZL, d);
16117
16117
  const h = Vn(t, GL, NW, {
16118
16118
  [kW]: !0
16119
16119
  });
@@ -16144,9 +16144,9 @@ function Wee(s = []) {
16144
16144
  } : {
16145
16145
  [Oee]: !0
16146
16146
  };
16147
- m.indexOf("-") >= 0 ? w[r2] = !0 : bl.test(m) ? wl.test(m) ? w[d_] = !0 : w[i2] = !0 : w[n2] = !0, u4(t, m, m, w);
16147
+ m.indexOf("-") >= 0 ? w[r2] = !0 : bl.test(m) ? wl.test(m) ? w[d_] = !0 : w[i2] = !0 : w[n2] = !0, u5(t, m, m, w);
16148
16148
  }
16149
- return u4(t, "localhost", k1, {
16149
+ return u5(t, "localhost", k1, {
16150
16150
  ascii: !0
16151
16151
  }), t.jd = new hr(hv), {
16152
16152
  start: t,
@@ -16193,7 +16193,7 @@ function Ic(s, e, t, n, i) {
16193
16193
  }
16194
16194
  return r = new hr(t), r.jr = i.slice(), s.j[e[o - 1]] = r, r;
16195
16195
  }
16196
- function g4(s) {
16196
+ function g5(s) {
16197
16197
  const e = [], t = [];
16198
16198
  let n = 0, i = "0123456789";
16199
16199
  for (; n < s.length; ) {
@@ -16213,8 +16213,8 @@ function g4(s) {
16213
16213
  const E1 = {
16214
16214
  defaultProtocol: "http",
16215
16215
  events: null,
16216
- format: p4,
16217
- formatHref: p4,
16216
+ format: p5,
16217
+ formatHref: p5,
16218
16218
  nl2br: !1,
16219
16219
  tagName: "a",
16220
16220
  target: null,
@@ -16296,7 +16296,7 @@ CR.prototype = {
16296
16296
  return (this.get("render", null, s) || this.defaultRender)(e, s.t, s);
16297
16297
  }
16298
16298
  };
16299
- function p4(s) {
16299
+ function p5(s) {
16300
16300
  return s;
16301
16301
  }
16302
16302
  function RW(s, e) {
@@ -16416,12 +16416,12 @@ function px(s, e) {
16416
16416
  t.prototype[n] = e[n];
16417
16417
  return t.t = s, t;
16418
16418
  }
16419
- const m4 = px("email", {
16419
+ const m5 = px("email", {
16420
16420
  isLink: !0,
16421
16421
  toHref() {
16422
16422
  return "mailto:" + this.toString();
16423
16423
  }
16424
- }), _4 = px("text"), zee = px("nl"), V0 = px("url", {
16424
+ }), _5 = px("text"), zee = px("nl"), V0 = px("url", {
16425
16425
  isLink: !0,
16426
16426
  /**
16427
16427
  Lowercases relevant parts of the domain and adds the protocol if
@@ -16457,12 +16457,12 @@ function $ee({
16457
16457
  pt(c, s.domain, h), pt(h, s.domain, h);
16458
16458
  const u = de(h, ya);
16459
16459
  pt(u, s.domain, h);
16460
- const f = to(m4);
16460
+ const f = to(m5);
16461
16461
  pt(u, s.tld, f), pt(u, s.utld, f), de(c, k1, f);
16462
16462
  const g = de(h, so);
16463
16463
  de(g, so, g), pt(g, s.domain, h), pt(f, s.domain, h), de(f, ya, u), de(f, so, g);
16464
16464
  const p = de(f, Gc);
16465
- pt(p, s.numeric, m4);
16465
+ pt(p, s.numeric, m5);
16466
16466
  const m = de(o, so), b = de(o, ya);
16467
16467
  de(m, so, m), pt(m, s.domain, o), pt(b, n, r), pt(b, s.domain, o);
16468
16468
  const w = to(V0);
@@ -16515,12 +16515,12 @@ function Uee(s, e, t) {
16515
16515
  if (u < 0)
16516
16516
  i -= d, i < n && (o.push(t[i]), i++);
16517
16517
  else {
16518
- o.length > 0 && (r.push(QL(_4, e, o)), o = []), i -= u, d -= u;
16518
+ o.length > 0 && (r.push(QL(_5, e, o)), o = []), i -= u, d -= u;
16519
16519
  const f = h.t, g = t.slice(i - d, i);
16520
16520
  r.push(QL(f, e, g));
16521
16521
  }
16522
16522
  }
16523
- return o.length > 0 && r.push(QL(_4, e, o)), r;
16523
+ return o.length > 0 && r.push(QL(_5, e, o)), r;
16524
16524
  }
16525
16525
  function QL(s, e, t) {
16526
16526
  const n = t[0].s, i = t[t.length - 1].e, r = e.slice(n, i);
@@ -16538,7 +16538,7 @@ const jee = typeof console < "u" && console && console.warn || (() => {
16538
16538
  function qee() {
16539
16539
  return hr.groups = {}, Sn.scanner = null, Sn.parser = null, Sn.tokenQueue = [], Sn.pluginQueue = [], Sn.customSchemes = [], Sn.initialized = !1, Sn;
16540
16540
  }
16541
- function b4(s, e = !1) {
16541
+ function b5(s, e = !1) {
16542
16542
  if (Sn.initialized && jee(`linkifyjs: already initialized - will not register custom scheme "${s}" ${Kee}`), !/^[0-9a-z]+(-[0-9a-z]+)*$/.test(s))
16543
16543
  throw new Error(`linkifyjs: incorrect scheme format.
16544
16544
  1. Must only contain digits, lowercase ASCII letters or "-"
@@ -16703,10 +16703,10 @@ var OW = ra.create({
16703
16703
  onCreate() {
16704
16704
  this.options.validate && !this.options.shouldAutoLink && (this.options.shouldAutoLink = this.options.validate, console.warn("The `validate` option is deprecated. Rename to the `shouldAutoLink` option instead.")), this.options.protocols.forEach((s) => {
16705
16705
  if (typeof s == "string") {
16706
- b4(s);
16706
+ b5(s);
16707
16707
  return;
16708
16708
  }
16709
- b4(s.scheme, s.optionalSlashes);
16709
+ b5(s.scheme, s.optionalSlashes);
16710
16710
  });
16711
16711
  },
16712
16712
  onDestroy() {
@@ -16860,7 +16860,7 @@ var OW = ra.create({
16860
16860
  }), nte = Object.defineProperty, ite = (s, e) => {
16861
16861
  for (var t in e)
16862
16862
  nte(s, t, { get: e[t], enumerable: !0 });
16863
- }, ste = "listItem", w4 = "textStyle", C4 = /^\s*([-+*])\s$/, PW = Ui.create({
16863
+ }, ste = "listItem", w5 = "textStyle", C5 = /^\s*([-+*])\s$/, PW = Ui.create({
16864
16864
  name: "bulletList",
16865
16865
  addOptions() {
16866
16866
  return {
@@ -16882,7 +16882,7 @@ var OW = ra.create({
16882
16882
  },
16883
16883
  addCommands() {
16884
16884
  return {
16885
- toggleBulletList: () => ({ commands: s, chain: e }) => this.options.keepAttributes ? e().toggleList(this.name, this.options.itemTypeName, this.options.keepMarks).updateAttributes(ste, this.editor.getAttributes(w4)).run() : s.toggleList(this.name, this.options.itemTypeName, this.options.keepMarks)
16885
+ toggleBulletList: () => ({ commands: s, chain: e }) => this.options.keepAttributes ? e().toggleList(this.name, this.options.itemTypeName, this.options.keepMarks).updateAttributes(ste, this.editor.getAttributes(w5)).run() : s.toggleList(this.name, this.options.itemTypeName, this.options.keepMarks)
16886
16886
  };
16887
16887
  },
16888
16888
  addKeyboardShortcuts() {
@@ -16892,15 +16892,15 @@ var OW = ra.create({
16892
16892
  },
16893
16893
  addInputRules() {
16894
16894
  let s = yp({
16895
- find: C4,
16895
+ find: C5,
16896
16896
  type: this.type
16897
16897
  });
16898
16898
  return (this.options.keepMarks || this.options.keepAttributes) && (s = yp({
16899
- find: C4,
16899
+ find: C5,
16900
16900
  type: this.type,
16901
16901
  keepMarks: this.options.keepMarks,
16902
16902
  keepAttributes: this.options.keepAttributes,
16903
- getAttributes: () => this.editor.getAttributes(w4),
16903
+ getAttributes: () => this.editor.getAttributes(w5),
16904
16904
  editor: this.editor
16905
16905
  })), [s];
16906
16906
  }
@@ -17054,7 +17054,7 @@ var Ub = (s, e) => {
17054
17054
  }
17055
17055
  };
17056
17056
  }
17057
- }), ate = "listItem", v4 = "textStyle", y4 = /^(\d+)\.\s$/, UW = Ui.create({
17057
+ }), ate = "listItem", v5 = "textStyle", y5 = /^(\d+)\.\s$/, UW = Ui.create({
17058
17058
  name: "orderedList",
17059
17059
  addOptions() {
17060
17060
  return {
@@ -17093,7 +17093,7 @@ var Ub = (s, e) => {
17093
17093
  },
17094
17094
  addCommands() {
17095
17095
  return {
17096
- toggleOrderedList: () => ({ commands: s, chain: e }) => this.options.keepAttributes ? e().toggleList(this.name, this.options.itemTypeName, this.options.keepMarks).updateAttributes(ate, this.editor.getAttributes(v4)).run() : s.toggleList(this.name, this.options.itemTypeName, this.options.keepMarks)
17096
+ toggleOrderedList: () => ({ commands: s, chain: e }) => this.options.keepAttributes ? e().toggleList(this.name, this.options.itemTypeName, this.options.keepMarks).updateAttributes(ate, this.editor.getAttributes(v5)).run() : s.toggleList(this.name, this.options.itemTypeName, this.options.keepMarks)
17097
17097
  };
17098
17098
  },
17099
17099
  addKeyboardShortcuts() {
@@ -17103,17 +17103,17 @@ var Ub = (s, e) => {
17103
17103
  },
17104
17104
  addInputRules() {
17105
17105
  let s = yp({
17106
- find: y4,
17106
+ find: y5,
17107
17107
  type: this.type,
17108
17108
  getAttributes: (e) => ({ start: +e[1] }),
17109
17109
  joinPredicate: (e, t) => t.childCount + t.attrs.start === +e[1]
17110
17110
  });
17111
17111
  return (this.options.keepMarks || this.options.keepAttributes) && (s = yp({
17112
- find: y4,
17112
+ find: y5,
17113
17113
  type: this.type,
17114
17114
  keepMarks: this.options.keepMarks,
17115
17115
  keepAttributes: this.options.keepAttributes,
17116
- getAttributes: (e) => ({ start: +e[1], ...this.editor.getAttributes(v4) }),
17116
+ getAttributes: (e) => ({ start: +e[1], ...this.editor.getAttributes(v5) }),
17117
17117
  joinPredicate: (e, t) => t.childCount + t.attrs.start === +e[1],
17118
17118
  editor: this.editor
17119
17119
  })), [s];
@@ -17910,9 +17910,9 @@ function Tte(s, e, t, n) {
17910
17910
  if (t.steps.length == 0)
17911
17911
  return s;
17912
17912
  if (o && o.getMeta(uu))
17913
- return o.getMeta(uu).redo ? new Hc(s.done.addTransform(t, void 0, n, Gw(e)), s.undone, S4(t.mapping.maps), s.prevTime, s.prevComposition) : new Hc(s.done, s.undone.addTransform(t, void 0, n, Gw(e)), null, s.prevTime, s.prevComposition);
17913
+ return o.getMeta(uu).redo ? new Hc(s.done.addTransform(t, void 0, n, Gw(e)), s.undone, S5(t.mapping.maps), s.prevTime, s.prevComposition) : new Hc(s.done, s.undone.addTransform(t, void 0, n, Gw(e)), null, s.prevTime, s.prevComposition);
17914
17914
  if (t.getMeta("addToHistory") !== !1 && !(o && o.getMeta("addToHistory") === !1)) {
17915
- let a = t.getMeta("composition"), l = s.prevTime == 0 || !o && s.prevComposition != a && (s.prevTime < (t.time || 0) - n.newGroupDelay || !Nte(t, s.prevRanges)), c = o ? JL(s.prevRanges, t.mapping) : S4(t.mapping.maps);
17915
+ let a = t.getMeta("composition"), l = s.prevTime == 0 || !o && s.prevComposition != a && (s.prevTime < (t.time || 0) - n.newGroupDelay || !Nte(t, s.prevRanges)), c = o ? JL(s.prevRanges, t.mapping) : S5(t.mapping.maps);
17916
17916
  return new Hc(s.done.addTransform(t, l ? e.selection.getBookmark() : void 0, n, Gw(e)), $o.empty, c, t.time, a ?? s.prevComposition);
17917
17917
  } else return (r = t.getMeta("rebased")) ? new Hc(s.done.rebased(t, r), s.undone.rebased(t, r), JL(s.prevRanges, t.mapping), s.prevTime, s.prevComposition) : new Hc(s.done.addMaps(t.mapping.maps), s.undone.addMaps(t.mapping.maps), JL(s.prevRanges, t.mapping), s.prevTime, s.prevComposition);
17918
17918
  }
@@ -17927,7 +17927,7 @@ function Nte(s, e) {
17927
17927
  n <= e[r + 1] && i >= e[r] && (t = !0);
17928
17928
  }), t;
17929
17929
  }
17930
- function S4(s) {
17930
+ function S5(s) {
17931
17931
  let e = [];
17932
17932
  for (let t = s.length - 1; t >= 0 && e.length == 0; t--)
17933
17933
  s[t].forEach((n, i, r, o) => e.push(r, o));
@@ -17950,11 +17950,11 @@ function Ite(s, e, t) {
17950
17950
  let o = r.selection.resolve(r.transform.doc), a = (t ? s.done : s.undone).addTransform(r.transform, e.selection.getBookmark(), i, n), l = new Hc(t ? a : r.remaining, t ? r.remaining : a, null, 0, -1);
17951
17951
  return r.transform.setSelection(o).setMeta(uu, { redo: t, historyState: l });
17952
17952
  }
17953
- let ek = !1, x4 = null;
17953
+ let ek = !1, x5 = null;
17954
17954
  function Gw(s) {
17955
17955
  let e = s.plugins;
17956
- if (x4 != e) {
17957
- ek = !1, x4 = e;
17956
+ if (x5 != e) {
17957
+ ek = !1, x5 = e;
17958
17958
  for (let t = 0; t < e.length; t++)
17959
17959
  if (e[t].spec.historyPreserveItems) {
17960
17960
  ek = !0;
@@ -18215,7 +18215,7 @@ sn.create({
18215
18215
  ];
18216
18216
  }
18217
18217
  });
18218
- function L4({ types: s, node: e }) {
18218
+ function L5({ types: s, node: e }) {
18219
18219
  return e && Array.isArray(s) && s.includes(e.type) || e?.type === s;
18220
18220
  }
18221
18221
  var Pte = sn.create({
@@ -18239,13 +18239,13 @@ var Pte = sn.create({
18239
18239
  state: {
18240
18240
  init: (t, n) => {
18241
18241
  const i = n.tr.doc.lastChild;
18242
- return !L4({ node: i, types: e });
18242
+ return !L5({ node: i, types: e });
18243
18243
  },
18244
18244
  apply: (t, n) => {
18245
18245
  if (!t.docChanged)
18246
18246
  return n;
18247
18247
  const i = t.doc.lastChild;
18248
- return !L4({ node: i, types: e });
18248
+ return !L5({ node: i, types: e });
18249
18249
  }
18250
18250
  }
18251
18251
  })
@@ -18925,7 +18925,7 @@ function Lne(s, e, t, n, i, r) {
18925
18925
  t.visible || t.modelValue ? (me(), Te("div", Cne, [
18926
18926
  $("div", {
18927
18927
  onMousedown: e[1] || (e[1] = (o) => r.closeByClickBack(o, t.closeClickBack)),
18928
- class: "vs-dialog-overlay vs-dialog w-full h-full fixed top-0 start-0 z-[80] bg-black bg-opacity-50"
18928
+ class: "vs-dialog-overlay vs-dialog w-full h-full fixed top-0 start-0 z-[100001] bg-black bg-opacity-50"
18929
18929
  }, [
18930
18930
  zs(aB, {
18931
18931
  name: "content",
@@ -18978,7 +18978,7 @@ function Lne(s, e, t, n, i, r) {
18978
18978
  ])) : Ls("", !0)
18979
18979
  ]);
18980
18980
  }
18981
- const XW = /* @__PURE__ */ Ln(wne, [["render", Lne], ["__scopeId", "data-v-479158fb"]]), kne = {}, Ene = {
18981
+ const XW = /* @__PURE__ */ Ln(wne, [["render", Lne], ["__scopeId", "data-v-6d0970a6"]]), kne = {}, Ene = {
18982
18982
  xmlns: "http://www.w3.org/2000/svg",
18983
18983
  viewBox: "0 0 24 24",
18984
18984
  fill: "none",
@@ -19617,7 +19617,7 @@ function die(s, e, t, n, i, r) {
19617
19617
  $("path", { d: "M4 18h16" }, null, -1)
19618
19618
  ])]);
19619
19619
  }
19620
- const hie = /* @__PURE__ */ Ln(lie, [["render", die]]), k4 = {
19620
+ const hie = /* @__PURE__ */ Ln(lie, [["render", die]]), k5 = {
19621
19621
  left: aie,
19622
19622
  center: Jne,
19623
19623
  right: iie,
@@ -19645,7 +19645,7 @@ const hie = /* @__PURE__ */ Ln(lie, [["render", die]]), k4 = {
19645
19645
  title: "Text Align",
19646
19646
  class: Yt(["w-[30px] h-[30px] flex items-center justify-center text-gray-500 rounded-full hover:text-gray-900 hover:bg-gray-100", [t.value ? "bg-gray-100 text-gray-900" : "text-gray-500"]])
19647
19647
  }, [
19648
- (me(), Hi(TE(Mn(k4)[i.value]), {
19648
+ (me(), Hi(TE(Mn(k5)[i.value]), {
19649
19649
  height: "16",
19650
19650
  width: "16"
19651
19651
  }))
@@ -19659,7 +19659,7 @@ const hie = /* @__PURE__ */ Ln(lie, [["render", die]]), k4 = {
19659
19659
  key: f?.id,
19660
19660
  onClick: (g) => c(f?.id)
19661
19661
  }, [
19662
- (me(), Hi(TE(Mn(k4)[f?.id]), {
19662
+ (me(), Hi(TE(Mn(k5)[f?.id]), {
19663
19663
  height: "16",
19664
19664
  width: "16"
19665
19665
  }))
@@ -20640,7 +20640,7 @@ const lse = /* @__PURE__ */ Ln(ose, [["render", ase]]), cse = { class: "relative
20640
20640
  ])], 2),
20641
20641
  e.value ? (me(), Te("div", {
20642
20642
  key: 0,
20643
- class: "fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50",
20643
+ class: "fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-[100001]",
20644
20644
  onClick: i
20645
20645
  }, [
20646
20646
  $("div", {
@@ -20670,13 +20670,13 @@ const lse = /* @__PURE__ */ Ln(ose, [["render", ase]]), cse = { class: "relative
20670
20670
  ], -1)
20671
20671
  ])])
20672
20672
  ]),
20673
- o[4] || (o[4] = Wb('<div class="space-y-6" data-v-155e282c><div data-v-155e282c><h3 class="text-lg font-medium text-gray-800 mb-3" data-v-155e282c>Markdown Syntax</h3><div class="overflow-x-auto" data-v-155e282c><table class="w-full border-collapse" data-v-155e282c><thead data-v-155e282c><tr class="bg-gray-50" data-v-155e282c><th class="border border-gray-200 px-3 py-2 text-left font-medium text-gray-700" data-v-155e282c>Element</th><th class="border border-gray-200 px-3 py-2 text-left font-medium text-gray-700" data-v-155e282c>Example</th></tr></thead><tbody class="text-sm" data-v-155e282c><tr data-v-155e282c><td class="border border-gray-200 px-3 py-2 font-medium" data-v-155e282c>Bold</td><td class="border border-gray-200 px-3 py-2" data-v-155e282c><code class="bg-gray-100 px-2 py-1 rounded" data-v-155e282c>**bold text**</code> or <code class="bg-gray-100 px-2 py-1 rounded" data-v-155e282c>__bold text__</code></td></tr><tr class="bg-gray-25" data-v-155e282c><td class="border border-gray-200 px-3 py-2 font-medium" data-v-155e282c>Italics</td><td class="border border-gray-200 px-3 py-2" data-v-155e282c><code class="bg-gray-100 px-2 py-1 rounded" data-v-155e282c>*italic text*</code> or <code class="bg-gray-100 px-2 py-1 rounded" data-v-155e282c>_italic text_</code></td></tr><tr data-v-155e282c><td class="border border-gray-200 px-3 py-2 font-medium" data-v-155e282c>Strikethrough</td><td class="border border-gray-200 px-3 py-2" data-v-155e282c><code class="bg-gray-100 px-2 py-1 rounded" data-v-155e282c>~strikethrough text~</code></td></tr><tr class="bg-gray-25" data-v-155e282c><td class="border border-gray-200 px-3 py-2 font-medium" data-v-155e282c>Headings</td><td class="border border-gray-200 px-3 py-2" data-v-155e282c><code class="bg-gray-100 px-2 py-1 rounded" data-v-155e282c># Heading 1</code>, <code class="bg-gray-100 px-2 py-1 rounded" data-v-155e282c>## Heading 2</code>, etc., up to <code class="bg-gray-100 px-2 py-1 rounded" data-v-155e282c>###### Heading 6</code></td></tr><tr data-v-155e282c><td class="border border-gray-200 px-3 py-2 font-medium" data-v-155e282c>Unordered Lists</td><td class="border border-gray-200 px-3 py-2" data-v-155e282c> Use an asterisk (*), dash (-), or plus sign (+) followed by a space. </td></tr><tr class="bg-gray-25" data-v-155e282c><td class="border border-gray-200 px-3 py-2 font-medium" data-v-155e282c>Ordered Lists</td><td class="border border-gray-200 px-3 py-2" data-v-155e282c> Use a number followed by a period and a space (e.g., <code class="bg-gray-100 px-2 py-1 rounded" data-v-155e282c>1. First item</code>). </td></tr><tr data-v-155e282c><td class="border border-gray-200 px-3 py-2 font-medium" data-v-155e282c>Blockquotes</td><td class="border border-gray-200 px-3 py-2" data-v-155e282c> Start with a greater-than sign (&gt;) followed by a space. </td></tr><tr class="bg-gray-25" data-v-155e282c><td class="border border-gray-200 px-3 py-2 font-medium" data-v-155e282c>Inline Code</td><td class="border border-gray-200 px-3 py-2" data-v-155e282c> Surround with backticks (<code class="bg-gray-100 px-2 py-1 rounded" data-v-155e282c>`</code>). </td></tr><tr data-v-155e282c><td class="border border-gray-200 px-3 py-2 font-medium" data-v-155e282c>Code Blocks</td><td class="border border-gray-200 px-3 py-2" data-v-155e282c> Enclose with three backticks (<code class="bg-gray-100 px-2 py-1 rounded" data-v-155e282c>```</code>) before and after the code. </td></tr><tr class="bg-gray-25" data-v-155e282c><td class="border border-gray-200 px-3 py-2 font-medium" data-v-155e282c>Images</td><td class="border border-gray-200 px-3 py-2" data-v-155e282c> Use <code class="bg-gray-100 px-2 py-1 rounded" data-v-155e282c>![alt text](url)</code> syntax. </td></tr><tr data-v-155e282c><td class="border border-gray-200 px-3 py-2 font-medium" data-v-155e282c>Links</td><td class="border border-gray-200 px-3 py-2" data-v-155e282c> Use <code class="bg-gray-100 px-2 py-1 rounded" data-v-155e282c>[Link Text](url)</code> syntax. </td></tr><tr class="bg-gray-25" data-v-155e282c><td class="border border-gray-200 px-3 py-2 font-medium" data-v-155e282c>Checklists</td><td class="border border-gray-200 px-3 py-2" data-v-155e282c> Create a list item with <code class="bg-gray-100 px-2 py-1 rounded" data-v-155e282c>- [ ]</code> for an incomplete task or <code class="bg-gray-100 px-2 py-1 rounded" data-v-155e282c>- [x]</code> for a completed one. </td></tr></tbody></table></div></div><div data-v-155e282c><h3 class="text-lg font-medium text-gray-800 mb-3" data-v-155e282c>Common Editing Shortcuts</h3><div class="overflow-x-auto" data-v-155e282c><table class="w-full border-collapse" data-v-155e282c><thead data-v-155e282c><tr class="bg-gray-50" data-v-155e282c><th class="border border-gray-200 px-3 py-2 text-left font-medium text-gray-700" data-v-155e282c>Shortcut</th><th class="border border-gray-200 px-3 py-2 text-left font-medium text-gray-700" data-v-155e282c>Action</th></tr></thead><tbody class="text-sm" data-v-155e282c><tr data-v-155e282c><td class="border border-gray-200 px-3 py-2 font-medium" data-v-155e282c><code class="bg-gray-100 px-2 py-1 rounded" data-v-155e282c>Ctrl+A</code></td><td class="border border-gray-200 px-3 py-2" data-v-155e282c>Select all text</td></tr><tr class="bg-gray-25" data-v-155e282c><td class="border border-gray-200 px-3 py-2 font-medium" data-v-155e282c><code class="bg-gray-100 px-2 py-1 rounded" data-v-155e282c>Ctrl+B</code></td><td class="border border-gray-200 px-3 py-2" data-v-155e282c>Apply bold formatting</td></tr><tr data-v-155e282c><td class="border border-gray-200 px-3 py-2 font-medium" data-v-155e282c><code class="bg-gray-100 px-2 py-1 rounded" data-v-155e282c>Ctrl+C</code></td><td class="border border-gray-200 px-3 py-2" data-v-155e282c>Copy selected text</td></tr><tr class="bg-gray-25" data-v-155e282c><td class="border border-gray-200 px-3 py-2 font-medium" data-v-155e282c><code class="bg-gray-100 px-2 py-1 rounded" data-v-155e282c>Ctrl+I</code></td><td class="border border-gray-200 px-3 py-2" data-v-155e282c>Apply italic formatting</td></tr><tr data-v-155e282c><td class="border border-gray-200 px-3 py-2 font-medium" data-v-155e282c><code class="bg-gray-100 px-2 py-1 rounded" data-v-155e282c>Ctrl+K</code></td><td class="border border-gray-200 px-3 py-2" data-v-155e282c>Open the insert link dialog</td></tr><tr class="bg-gray-25" data-v-155e282c><td class="border border-gray-200 px-3 py-2 font-medium" data-v-155e282c><code class="bg-gray-100 px-2 py-1 rounded" data-v-155e282c>Ctrl+S</code></td><td class="border border-gray-200 px-3 py-2" data-v-155e282c>Save the current document</td></tr><tr data-v-155e282c><td class="border border-gray-200 px-3 py-2 font-medium" data-v-155e282c><code class="bg-gray-100 px-2 py-1 rounded" data-v-155e282c>Ctrl+V</code></td><td class="border border-gray-200 px-3 py-2" data-v-155e282c>Paste copied text</td></tr><tr class="bg-gray-25" data-v-155e282c><td class="border border-gray-200 px-3 py-2 font-medium" data-v-155e282c><code class="bg-gray-100 px-2 py-1 rounded" data-v-155e282c>Ctrl+X</code></td><td class="border border-gray-200 px-3 py-2" data-v-155e282c>Cut selected text</td></tr><tr data-v-155e282c><td class="border border-gray-200 px-3 py-2 font-medium" data-v-155e282c><code class="bg-gray-100 px-2 py-1 rounded" data-v-155e282c>Ctrl+Y</code></td><td class="border border-gray-200 px-3 py-2" data-v-155e282c>Redo the last action</td></tr><tr class="bg-gray-25" data-v-155e282c><td class="border border-gray-200 px-3 py-2 font-medium" data-v-155e282c><code class="bg-gray-100 px-2 py-1 rounded" data-v-155e282c>Alt+Shift+Backspace</code></td><td class="border border-gray-200 px-3 py-2" data-v-155e282c>Redo the last action</td></tr><tr data-v-155e282c><td class="border border-gray-200 px-3 py-2 font-medium" data-v-155e282c><code class="bg-gray-100 px-2 py-1 rounded" data-v-155e282c>Ctrl+Z</code></td><td class="border border-gray-200 px-3 py-2" data-v-155e282c>Undo the last action</td></tr><tr class="bg-gray-25" data-v-155e282c><td class="border border-gray-200 px-3 py-2 font-medium" data-v-155e282c><code class="bg-gray-100 px-2 py-1 rounded" data-v-155e282c>Alt+Backspace</code></td><td class="border border-gray-200 px-3 py-2" data-v-155e282c>Undo the last action</td></tr></tbody></table></div></div></div>', 1))
20673
+ o[4] || (o[4] = Wb('<div class="space-y-6" data-v-72ce3024><div data-v-72ce3024><h3 class="text-lg font-medium text-gray-800 mb-3" data-v-72ce3024>Markdown Syntax</h3><div class="overflow-x-auto" data-v-72ce3024><table class="w-full border-collapse" data-v-72ce3024><thead data-v-72ce3024><tr class="bg-gray-50" data-v-72ce3024><th class="border border-gray-200 px-3 py-2 text-left font-medium text-gray-700" data-v-72ce3024>Element</th><th class="border border-gray-200 px-3 py-2 text-left font-medium text-gray-700" data-v-72ce3024>Example</th></tr></thead><tbody class="text-sm" data-v-72ce3024><tr data-v-72ce3024><td class="border border-gray-200 px-3 py-2 font-medium" data-v-72ce3024>Bold</td><td class="border border-gray-200 px-3 py-2" data-v-72ce3024><code class="bg-gray-100 px-2 py-1 rounded" data-v-72ce3024>**bold text**</code> or <code class="bg-gray-100 px-2 py-1 rounded" data-v-72ce3024>__bold text__</code></td></tr><tr class="bg-gray-25" data-v-72ce3024><td class="border border-gray-200 px-3 py-2 font-medium" data-v-72ce3024>Italics</td><td class="border border-gray-200 px-3 py-2" data-v-72ce3024><code class="bg-gray-100 px-2 py-1 rounded" data-v-72ce3024>*italic text*</code> or <code class="bg-gray-100 px-2 py-1 rounded" data-v-72ce3024>_italic text_</code></td></tr><tr data-v-72ce3024><td class="border border-gray-200 px-3 py-2 font-medium" data-v-72ce3024>Strikethrough</td><td class="border border-gray-200 px-3 py-2" data-v-72ce3024><code class="bg-gray-100 px-2 py-1 rounded" data-v-72ce3024>~strikethrough text~</code></td></tr><tr class="bg-gray-25" data-v-72ce3024><td class="border border-gray-200 px-3 py-2 font-medium" data-v-72ce3024>Headings</td><td class="border border-gray-200 px-3 py-2" data-v-72ce3024><code class="bg-gray-100 px-2 py-1 rounded" data-v-72ce3024># Heading 1</code>, <code class="bg-gray-100 px-2 py-1 rounded" data-v-72ce3024>## Heading 2</code>, etc., up to <code class="bg-gray-100 px-2 py-1 rounded" data-v-72ce3024>###### Heading 6</code></td></tr><tr data-v-72ce3024><td class="border border-gray-200 px-3 py-2 font-medium" data-v-72ce3024>Unordered Lists</td><td class="border border-gray-200 px-3 py-2" data-v-72ce3024> Use an asterisk (*), dash (-), or plus sign (+) followed by a space. </td></tr><tr class="bg-gray-25" data-v-72ce3024><td class="border border-gray-200 px-3 py-2 font-medium" data-v-72ce3024>Ordered Lists</td><td class="border border-gray-200 px-3 py-2" data-v-72ce3024> Use a number followed by a period and a space (e.g., <code class="bg-gray-100 px-2 py-1 rounded" data-v-72ce3024>1. First item</code>). </td></tr><tr data-v-72ce3024><td class="border border-gray-200 px-3 py-2 font-medium" data-v-72ce3024>Blockquotes</td><td class="border border-gray-200 px-3 py-2" data-v-72ce3024> Start with a greater-than sign (&gt;) followed by a space. </td></tr><tr class="bg-gray-25" data-v-72ce3024><td class="border border-gray-200 px-3 py-2 font-medium" data-v-72ce3024>Inline Code</td><td class="border border-gray-200 px-3 py-2" data-v-72ce3024> Surround with backticks (<code class="bg-gray-100 px-2 py-1 rounded" data-v-72ce3024>`</code>). </td></tr><tr data-v-72ce3024><td class="border border-gray-200 px-3 py-2 font-medium" data-v-72ce3024>Code Blocks</td><td class="border border-gray-200 px-3 py-2" data-v-72ce3024> Enclose with three backticks (<code class="bg-gray-100 px-2 py-1 rounded" data-v-72ce3024>```</code>) before and after the code. </td></tr><tr class="bg-gray-25" data-v-72ce3024><td class="border border-gray-200 px-3 py-2 font-medium" data-v-72ce3024>Images</td><td class="border border-gray-200 px-3 py-2" data-v-72ce3024> Use <code class="bg-gray-100 px-2 py-1 rounded" data-v-72ce3024>![alt text](url)</code> syntax. </td></tr><tr data-v-72ce3024><td class="border border-gray-200 px-3 py-2 font-medium" data-v-72ce3024>Links</td><td class="border border-gray-200 px-3 py-2" data-v-72ce3024> Use <code class="bg-gray-100 px-2 py-1 rounded" data-v-72ce3024>[Link Text](url)</code> syntax. </td></tr><tr class="bg-gray-25" data-v-72ce3024><td class="border border-gray-200 px-3 py-2 font-medium" data-v-72ce3024>Checklists</td><td class="border border-gray-200 px-3 py-2" data-v-72ce3024> Create a list item with <code class="bg-gray-100 px-2 py-1 rounded" data-v-72ce3024>- [ ]</code> for an incomplete task or <code class="bg-gray-100 px-2 py-1 rounded" data-v-72ce3024>- [x]</code> for a completed one. </td></tr></tbody></table></div></div><div data-v-72ce3024><h3 class="text-lg font-medium text-gray-800 mb-3" data-v-72ce3024>Common Editing Shortcuts</h3><div class="overflow-x-auto" data-v-72ce3024><table class="w-full border-collapse" data-v-72ce3024><thead data-v-72ce3024><tr class="bg-gray-50" data-v-72ce3024><th class="border border-gray-200 px-3 py-2 text-left font-medium text-gray-700" data-v-72ce3024>Shortcut</th><th class="border border-gray-200 px-3 py-2 text-left font-medium text-gray-700" data-v-72ce3024>Action</th></tr></thead><tbody class="text-sm" data-v-72ce3024><tr data-v-72ce3024><td class="border border-gray-200 px-3 py-2 font-medium" data-v-72ce3024><code class="bg-gray-100 px-2 py-1 rounded" data-v-72ce3024>Ctrl+A</code></td><td class="border border-gray-200 px-3 py-2" data-v-72ce3024>Select all text</td></tr><tr class="bg-gray-25" data-v-72ce3024><td class="border border-gray-200 px-3 py-2 font-medium" data-v-72ce3024><code class="bg-gray-100 px-2 py-1 rounded" data-v-72ce3024>Ctrl+B</code></td><td class="border border-gray-200 px-3 py-2" data-v-72ce3024>Apply bold formatting</td></tr><tr data-v-72ce3024><td class="border border-gray-200 px-3 py-2 font-medium" data-v-72ce3024><code class="bg-gray-100 px-2 py-1 rounded" data-v-72ce3024>Ctrl+C</code></td><td class="border border-gray-200 px-3 py-2" data-v-72ce3024>Copy selected text</td></tr><tr class="bg-gray-25" data-v-72ce3024><td class="border border-gray-200 px-3 py-2 font-medium" data-v-72ce3024><code class="bg-gray-100 px-2 py-1 rounded" data-v-72ce3024>Ctrl+I</code></td><td class="border border-gray-200 px-3 py-2" data-v-72ce3024>Apply italic formatting</td></tr><tr data-v-72ce3024><td class="border border-gray-200 px-3 py-2 font-medium" data-v-72ce3024><code class="bg-gray-100 px-2 py-1 rounded" data-v-72ce3024>Ctrl+K</code></td><td class="border border-gray-200 px-3 py-2" data-v-72ce3024>Open the insert link dialog</td></tr><tr class="bg-gray-25" data-v-72ce3024><td class="border border-gray-200 px-3 py-2 font-medium" data-v-72ce3024><code class="bg-gray-100 px-2 py-1 rounded" data-v-72ce3024>Ctrl+S</code></td><td class="border border-gray-200 px-3 py-2" data-v-72ce3024>Save the current document</td></tr><tr data-v-72ce3024><td class="border border-gray-200 px-3 py-2 font-medium" data-v-72ce3024><code class="bg-gray-100 px-2 py-1 rounded" data-v-72ce3024>Ctrl+V</code></td><td class="border border-gray-200 px-3 py-2" data-v-72ce3024>Paste copied text</td></tr><tr class="bg-gray-25" data-v-72ce3024><td class="border border-gray-200 px-3 py-2 font-medium" data-v-72ce3024><code class="bg-gray-100 px-2 py-1 rounded" data-v-72ce3024>Ctrl+X</code></td><td class="border border-gray-200 px-3 py-2" data-v-72ce3024>Cut selected text</td></tr><tr data-v-72ce3024><td class="border border-gray-200 px-3 py-2 font-medium" data-v-72ce3024><code class="bg-gray-100 px-2 py-1 rounded" data-v-72ce3024>Ctrl+Y</code></td><td class="border border-gray-200 px-3 py-2" data-v-72ce3024>Redo the last action</td></tr><tr class="bg-gray-25" data-v-72ce3024><td class="border border-gray-200 px-3 py-2 font-medium" data-v-72ce3024><code class="bg-gray-100 px-2 py-1 rounded" data-v-72ce3024>Alt+Shift+Backspace</code></td><td class="border border-gray-200 px-3 py-2" data-v-72ce3024>Redo the last action</td></tr><tr data-v-72ce3024><td class="border border-gray-200 px-3 py-2 font-medium" data-v-72ce3024><code class="bg-gray-100 px-2 py-1 rounded" data-v-72ce3024>Ctrl+Z</code></td><td class="border border-gray-200 px-3 py-2" data-v-72ce3024>Undo the last action</td></tr><tr class="bg-gray-25" data-v-72ce3024><td class="border border-gray-200 px-3 py-2 font-medium" data-v-72ce3024><code class="bg-gray-100 px-2 py-1 rounded" data-v-72ce3024>Alt+Backspace</code></td><td class="border border-gray-200 px-3 py-2" data-v-72ce3024>Undo the last action</td></tr></tbody></table></div></div></div>', 1))
20674
20674
  ])
20675
20675
  ])
20676
20676
  ])) : Ls("", !0)
20677
20677
  ]));
20678
20678
  }
20679
- }), yse = /* @__PURE__ */ Ln(vse, [["__scopeId", "data-v-155e282c"]]), Sse = {
20679
+ }), yse = /* @__PURE__ */ Ln(vse, [["__scopeId", "data-v-72ce3024"]]), Sse = {
20680
20680
  __name: "vs-editor-horizontal-rule",
20681
20681
  props: {
20682
20682
  editor: Object
@@ -20803,7 +20803,7 @@ const lse = /* @__PURE__ */ Ln(ose, [["render", ase]]), cse = { class: "relative
20803
20803
  horizontal_rule: Sse,
20804
20804
  fullscreen: xse,
20805
20805
  html_mode: Dse
20806
- }, E4 = {
20806
+ }, E5 = {
20807
20807
  // Базовий набір - мінімальний функціонал
20808
20808
  basic: [
20809
20809
  "history",
@@ -20823,6 +20823,7 @@ const lse = /* @__PURE__ */ Ln(ose, [["render", ase]]), cse = { class: "relative
20823
20823
  ],
20824
20824
  // Стандартний набір - рекомендований для більшості випадків
20825
20825
  default: [
20826
+ "history",
20826
20827
  "heading",
20827
20828
  "font_family",
20828
20829
  "font_size",
@@ -20836,6 +20837,7 @@ const lse = /* @__PURE__ */ Ln(ose, [["render", ase]]), cse = { class: "relative
20836
20837
  "text_align",
20837
20838
  "bullet_list",
20838
20839
  "ordered_list",
20840
+ "blockquote",
20839
20841
  "codeblock",
20840
20842
  "table",
20841
20843
  "link",
@@ -20928,7 +20930,7 @@ function Rse(s, e) {
20928
20930
  function ER(s) {
20929
20931
  return s.filter((e) => !!e);
20930
20932
  }
20931
- function D4(s) {
20933
+ function D5(s) {
20932
20934
  let e = 0;
20933
20935
  for (let t = 0; t < s.length; t++)
20934
20936
  s[t] && (s[e] = s[t], e += 1);
@@ -21203,7 +21205,7 @@ function _v(s, e = "unexpected state") {
21203
21205
  if (!s)
21204
21206
  throw typeof e == "string" ? new ve(`Assertion Failed: ${e}`) : e;
21205
21207
  }
21206
- function T4(s, e = "Soft Assertion Failed") {
21208
+ function T5(s, e = "Soft Assertion Failed") {
21207
21209
  s || gt(new ve(e));
21208
21210
  }
21209
21211
  function Ku(s) {
@@ -21365,7 +21367,7 @@ function MR() {
21365
21367
  return globalThis._VSCODE_NLS_LANGUAGE;
21366
21368
  }
21367
21369
  const Kse = MR() === "pseudo" || typeof document < "u" && document.location && typeof document.location.hash == "string" && document.location.hash.indexOf("pseudo=true") >= 0;
21368
- function N4(s, e) {
21370
+ function N5(s, e) {
21369
21371
  let t;
21370
21372
  return e.length === 0 ? t = s : t = s.replace(/\{(\d+)\}/g, (n, i) => {
21371
21373
  const r = i[0], o = e[r];
@@ -21374,7 +21376,7 @@ function N4(s, e) {
21374
21376
  }), Kse && (t = "[" + t.replace(/[aouei]/g, "$&$&") + "]"), t;
21375
21377
  }
21376
21378
  function _(s, e, ...t) {
21377
- return N4(typeof s == "number" ? qse(s, e) : e, t);
21379
+ return N5(typeof s == "number" ? qse(s, e) : e, t);
21378
21380
  }
21379
21381
  function qse(s, e) {
21380
21382
  const t = oH()?.[s];
@@ -21386,7 +21388,7 @@ function qse(s, e) {
21386
21388
  return t;
21387
21389
  }
21388
21390
  const Gh = "en";
21389
- let T1 = !1, N1 = !1, __ = !1, aH = !1, RR = !1, AR = !1, lH = !1, z0, ik = Gh, I4 = Gh, Gse, Nl;
21391
+ let T1 = !1, N1 = !1, __ = !1, aH = !1, RR = !1, AR = !1, lH = !1, z0, ik = Gh, I5 = Gh, Gse, Nl;
21390
21392
  const uc = globalThis;
21391
21393
  let rr;
21392
21394
  typeof uc.vscode < "u" && typeof uc.vscode.process < "u" ? rr = uc.vscode.process : typeof process < "u" && typeof process?.versions?.node == "string" && (rr = process);
@@ -21397,11 +21399,11 @@ if (typeof rr == "object") {
21397
21399
  if (s)
21398
21400
  try {
21399
21401
  const e = JSON.parse(s);
21400
- z0 = e.userLocale, I4 = e.osLocale, ik = e.resolvedLanguage || Gh, Gse = e.languagePack?.translationsConfigFile;
21402
+ z0 = e.userLocale, I5 = e.osLocale, ik = e.resolvedLanguage || Gh, Gse = e.languagePack?.translationsConfigFile;
21401
21403
  } catch {
21402
21404
  }
21403
21405
  aH = !0;
21404
- } else typeof navigator == "object" && !Xse ? (Nl = navigator.userAgent, T1 = Nl.indexOf("Windows") >= 0, N1 = Nl.indexOf("Macintosh") >= 0, AR = (Nl.indexOf("Macintosh") >= 0 || Nl.indexOf("iPad") >= 0 || Nl.indexOf("iPhone") >= 0) && !!navigator.maxTouchPoints && navigator.maxTouchPoints > 0, __ = Nl.indexOf("Linux") >= 0, lH = Nl?.indexOf("Mobi") >= 0, RR = !0, ik = MR() || Gh, z0 = navigator.language.toLowerCase(), I4 = z0) : console.error("Unable to resolve platform.");
21406
+ } else typeof navigator == "object" && !Xse ? (Nl = navigator.userAgent, T1 = Nl.indexOf("Windows") >= 0, N1 = Nl.indexOf("Macintosh") >= 0, AR = (Nl.indexOf("Macintosh") >= 0 || Nl.indexOf("iPad") >= 0 || Nl.indexOf("iPhone") >= 0) && !!navigator.maxTouchPoints && navigator.maxTouchPoints > 0, __ = Nl.indexOf("Linux") >= 0, lH = Nl?.indexOf("Mobi") >= 0, RR = !0, ik = MR() || Gh, z0 = navigator.language.toLowerCase(), I5 = z0) : console.error("Unable to resolve platform.");
21405
21407
  let Yw = 0;
21406
21408
  N1 ? Yw = 1 : T1 ? Yw = 3 : __ && (Yw = 2);
21407
21409
  const Ns = T1, je = N1, Ys = __, I1 = aH, Sc = RR, Zse = RR && typeof uc.importScripts == "function", Qse = Zse ? uc.origin : void 0, Za = AR, cH = lH, sk = Yw, Qa = Nl, Jse = typeof uc.postMessage == "function" && !uc.importScripts, wx = (() => {
@@ -21428,14 +21430,14 @@ const Ns = T1, je = N1, Ys = __, I1 = aH, Sc = RR, Zse = RR && typeof uc.importS
21428
21430
  }
21429
21431
  return (s) => setTimeout(s);
21430
21432
  })(), po = N1 || AR ? 2 : T1 ? 1 : 3;
21431
- let M4 = !0, R4 = !1;
21433
+ let M5 = !0, R5 = !1;
21432
21434
  function ere() {
21433
- if (!R4) {
21434
- R4 = !0;
21435
+ if (!R5) {
21436
+ R5 = !0;
21435
21437
  const s = new Uint8Array(2);
21436
- s[0] = 1, s[1] = 2, M4 = new Uint16Array(s.buffer)[0] === 513;
21438
+ s[0] = 1, s[1] = 2, M5 = new Uint16Array(s.buffer)[0] === 513;
21437
21439
  }
21438
- return M4;
21440
+ return M5;
21439
21441
  }
21440
21442
  const OR = !!(Qa && Qa.indexOf("Chrome") >= 0), tre = !!(Qa && Qa.indexOf("Firefox") >= 0), nre = !!(!OR && Qa && Qa.indexOf("Safari") >= 0), dH = !!(Qa && Qa.indexOf("Edg/") >= 0), ire = !!(Qa && Qa.indexOf("Android") >= 0), vi = {
21441
21443
  tabSize: 4,
@@ -21959,7 +21961,7 @@ var jn;
21959
21961
  (function(s) {
21960
21962
  s[s.Line = 1] = "Line", s[s.Block = 2] = "Block", s[s.Underline = 3] = "Underline", s[s.LineThin = 4] = "LineThin", s[s.BlockOutline = 5] = "BlockOutline", s[s.UnderlineThin = 6] = "UnderlineThin";
21961
21963
  })(jn || (jn = {}));
21962
- function A4(s) {
21964
+ function A5(s) {
21963
21965
  switch (s) {
21964
21966
  case "line":
21965
21967
  return jn.Line;
@@ -23149,7 +23151,7 @@ class Pre extends Bt {
23149
23151
  return !e || typeof e != "object" ? this.defaultValue : e;
23150
23152
  }
23151
23153
  }
23152
- function O4(s, e) {
23154
+ function O5(s, e) {
23153
23155
  if (typeof s != "string")
23154
23156
  return e;
23155
23157
  switch (s) {
@@ -23230,8 +23232,8 @@ let Fre = class extends Bt {
23230
23232
  const t = e, n = ut.clampedInt(t.horizontalScrollbarSize, this.defaultValue.horizontalScrollbarSize, 0, 1e3), i = ut.clampedInt(t.verticalScrollbarSize, this.defaultValue.verticalScrollbarSize, 0, 1e3);
23231
23233
  return {
23232
23234
  arrowSize: ut.clampedInt(t.arrowSize, this.defaultValue.arrowSize, 0, 1e3),
23233
- vertical: O4(t.vertical, this.defaultValue.vertical),
23234
- horizontal: O4(t.horizontal, this.defaultValue.horizontal),
23235
+ vertical: O5(t.vertical, this.defaultValue.vertical),
23236
+ horizontal: O5(t.horizontal, this.defaultValue.horizontal),
23235
23237
  useShadows: se(t.useShadows, this.defaultValue.useShadows),
23236
23238
  verticalHasArrows: se(t.verticalHasArrows, this.defaultValue.verticalHasArrows),
23237
23239
  horizontalHasArrows: se(t.horizontalHasArrows, this.defaultValue.horizontalHasArrows),
@@ -24257,8 +24259,8 @@ const pf = {
24257
24259
  ],
24258
24260
  description: _(479, "Controls whether the smooth caret animation should be enabled.")
24259
24261
  })),
24260
- cursorStyle: K(new mm(34, "cursorStyle", jn.Line, "line", ["line", "block", "underline", "line-thin", "block-outline", "underline-thin"], A4, { description: _(480, "Controls the cursor style in insert input mode.") })),
24261
- overtypeCursorStyle: K(new mm(92, "overtypeCursorStyle", jn.Block, "block", ["line", "block", "underline", "line-thin", "block-outline", "underline-thin"], A4, { description: _(481, "Controls the cursor style in overtype input mode.") })),
24262
+ cursorStyle: K(new mm(34, "cursorStyle", jn.Line, "line", ["line", "block", "underline", "line-thin", "block-outline", "underline-thin"], A5, { description: _(480, "Controls the cursor style in insert input mode.") })),
24263
+ overtypeCursorStyle: K(new mm(92, "overtypeCursorStyle", jn.Block, "block", ["line", "block", "underline", "line-thin", "block-outline", "underline-thin"], A5, { description: _(481, "Controls the cursor style in overtype input mode.") })),
24262
24264
  cursorSurroundingLines: K(new ut(35, "cursorSurroundingLines", 0, 0, 1073741824, { description: _(482, "Controls the minimal number of visible leading lines (minimum 0) and trailing lines (minimum 1) surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors.") })),
24263
24265
  cursorSurroundingLinesStyle: K(new Pt(36, "cursorSurroundingLinesStyle", "default", ["default", "all"], {
24264
24266
  enumDescriptions: [
@@ -26518,7 +26520,7 @@ const LH = {
26518
26520
  61: "%3D",
26519
26521
  32: "%20"
26520
26522
  };
26521
- function P4(s, e, t) {
26523
+ function P5(s, e, t) {
26522
26524
  let n, i = -1;
26523
26525
  for (let r = 0; r < s.length; r++) {
26524
26526
  const o = s.charCodeAt(r);
@@ -26545,7 +26547,7 @@ function yv(s, e) {
26545
26547
  return s.authority && s.path.length > 1 && s.scheme === "file" ? t = `//${s.authority}${s.path}` : s.path.charCodeAt(0) === 47 && (s.path.charCodeAt(1) >= 65 && s.path.charCodeAt(1) <= 90 || s.path.charCodeAt(1) >= 97 && s.path.charCodeAt(1) <= 122) && s.path.charCodeAt(2) === 58 ? e ? t = s.path.substr(1) : t = s.path[1].toLowerCase() + s.path.substr(2) : t = s.path, Ns && (t = t.replace(/\//g, "\\")), t;
26546
26548
  }
26547
26549
  function S2(s, e) {
26548
- const t = e ? Noe : P4;
26550
+ const t = e ? Noe : P5;
26549
26551
  let n = "", { scheme: i, authority: r, path: o, query: a, fragment: l } = s;
26550
26552
  if (i && (n += i, n += ":"), (r || i === "file") && (n += Fo, n += Fo), r) {
26551
26553
  let c = r.indexOf("@");
@@ -26565,7 +26567,7 @@ function S2(s, e) {
26565
26567
  }
26566
26568
  n += t(o, !0, !1);
26567
26569
  }
26568
- return a && (n += "?", n += t(a, !1, !1)), l && (n += "#", n += e ? l : P4(l, !1, !1)), n;
26570
+ return a && (n += "?", n += t(a, !1, !1)), l && (n += "#", n += e ? l : P5(l, !1, !1)), n;
26569
26571
  }
26570
26572
  function kH(s) {
26571
26573
  try {
@@ -26574,9 +26576,9 @@ function kH(s) {
26574
26576
  return s.length > 3 ? s.substr(0, 3) + kH(s.substr(3)) : s;
26575
26577
  }
26576
26578
  }
26577
- const F4 = /(%[0-9A-Za-z][0-9A-Za-z])+/g;
26579
+ const F5 = /(%[0-9A-Za-z][0-9A-Za-z])+/g;
26578
26580
  function $0(s) {
26579
- return s.match(F4) ? s.replace(F4, (e) => kH(e)) : s;
26581
+ return s.match(F5) ? s.replace(F5, (e) => kH(e)) : s;
26580
26582
  }
26581
26583
  class P {
26582
26584
  constructor(e, t) {
@@ -27774,11 +27776,11 @@ class yx {
27774
27776
  this.tokens = e, this.endState = t, this._encodedTokenizationResultBrand = void 0;
27775
27777
  }
27776
27778
  }
27777
- var B4;
27779
+ var B5;
27778
27780
  (function(s) {
27779
27781
  s[s.Increase = 0] = "Increase", s[s.Decrease = 1] = "Decrease";
27780
- })(B4 || (B4 = {}));
27781
- var V4;
27782
+ })(B5 || (B5 = {}));
27783
+ var V5;
27782
27784
  (function(s) {
27783
27785
  const e = /* @__PURE__ */ new Map();
27784
27786
  e.set(0, ne.symbolMethod), e.set(1, ne.symbolFunction), e.set(2, ne.symbolConstructor), e.set(3, ne.symbolField), e.set(4, ne.symbolVariable), e.set(5, ne.symbolClass), e.set(6, ne.symbolStruct), e.set(7, ne.symbolInterface), e.set(8, ne.symbolModule), e.set(9, ne.symbolProperty), e.set(10, ne.symbolEvent), e.set(11, ne.symbolOperator), e.set(12, ne.symbolUnit), e.set(13, ne.symbolValue), e.set(15, ne.symbolEnum), e.set(14, ne.symbolConstant), e.set(15, ne.symbolEnum), e.set(16, ne.symbolEnumMember), e.set(17, ne.symbolKeyword), e.set(28, ne.symbolSnippet), e.set(18, ne.symbolText), e.set(19, ne.symbolColor), e.set(20, ne.symbolFile), e.set(21, ne.symbolReference), e.set(22, ne.symbolCustomColor), e.set(23, ne.symbolFolder), e.set(24, ne.symbolTypeParameter), e.set(25, ne.account), e.set(26, ne.issues), e.set(27, ne.tools);
@@ -27983,11 +27985,11 @@ var V4;
27983
27985
  return typeof l > "u" && !a && (l = 9), l;
27984
27986
  }
27985
27987
  s.fromString = r;
27986
- })(V4 || (V4 = {}));
27987
- var W4;
27988
+ })(V5 || (V5 = {}));
27989
+ var W5;
27988
27990
  (function(s) {
27989
27991
  s[s.Automatic = 0] = "Automatic", s[s.Explicit = 1] = "Explicit";
27990
- })(W4 || (W4 = {}));
27992
+ })(W5 || (W5 = {}));
27991
27993
  class Ooe {
27992
27994
  constructor(e, t, n, i) {
27993
27995
  this.range = e, this.text = t, this.completionKind = n, this.isSnippetText = i;
@@ -27996,26 +27998,26 @@ class Ooe {
27996
27998
  return M.lift(this.range).equalsRange(e.range) && this.text === e.text && this.completionKind === e.completionKind && this.isSnippetText === e.isSnippetText;
27997
27999
  }
27998
28000
  }
27999
- var H4;
28001
+ var H5;
28000
28002
  (function(s) {
28001
28003
  s[s.Code = 1] = "Code", s[s.Label = 2] = "Label";
28002
- })(H4 || (H4 = {}));
28003
- var z4;
28004
+ })(H5 || (H5 = {}));
28005
+ var z5;
28004
28006
  (function(s) {
28005
28007
  s[s.Accepted = 0] = "Accepted", s[s.Rejected = 1] = "Rejected", s[s.Ignored = 2] = "Ignored";
28006
- })(z4 || (z4 = {}));
28007
- var $4;
28008
+ })(z5 || (z5 = {}));
28009
+ var $5;
28008
28010
  (function(s) {
28009
28011
  s[s.Automatic = 0] = "Automatic", s[s.PasteAs = 1] = "PasteAs";
28010
- })($4 || ($4 = {}));
28011
- var U4;
28012
+ })($5 || ($5 = {}));
28013
+ var U5;
28012
28014
  (function(s) {
28013
28015
  s[s.Invoke = 1] = "Invoke", s[s.TriggerCharacter = 2] = "TriggerCharacter", s[s.ContentChange = 3] = "ContentChange";
28014
- })(U4 || (U4 = {}));
28015
- var j4;
28016
+ })(U5 || (U5 = {}));
28017
+ var j5;
28016
28018
  (function(s) {
28017
28019
  s[s.Text = 0] = "Text", s[s.Read = 1] = "Read", s[s.Write = 2] = "Write";
28018
- })(j4 || (j4 = {}));
28020
+ })(j5 || (j5 = {}));
28019
28021
  _(753, "array"), _(754, "boolean"), _(755, "class"), _(756, "constant"), _(757, "constructor"), _(758, "enumeration"), _(759, "enumeration member"), _(760, "event"), _(761, "field"), _(762, "file"), _(763, "function"), _(764, "interface"), _(765, "key"), _(766, "method"), _(767, "module"), _(768, "namespace"), _(769, "null"), _(770, "number"), _(771, "object"), _(772, "operator"), _(773, "package"), _(774, "property"), _(775, "string"), _(776, "struct"), _(777, "type parameter"), _(778, "variable");
28020
28022
  var L2;
28021
28023
  (function(s) {
@@ -28166,25 +28168,25 @@ const ro = class ro {
28166
28168
  };
28167
28169
  ro.Comment = new ro("comment"), ro.Imports = new ro("imports"), ro.Region = new ro("region");
28168
28170
  let k2 = ro;
28169
- var K4;
28171
+ var K5;
28170
28172
  (function(s) {
28171
28173
  s[s.AIGenerated = 1] = "AIGenerated";
28172
- })(K4 || (K4 = {}));
28173
- var q4;
28174
+ })(K5 || (K5 = {}));
28175
+ var q5;
28174
28176
  (function(s) {
28175
28177
  s[s.Invoke = 0] = "Invoke", s[s.Automatic = 1] = "Automatic";
28176
- })(q4 || (q4 = {}));
28177
- var G4;
28178
+ })(q5 || (q5 = {}));
28179
+ var G5;
28178
28180
  (function(s) {
28179
28181
  function e(t) {
28180
28182
  return !t || typeof t != "object" ? !1 : typeof t.id == "string" && typeof t.title == "string";
28181
28183
  }
28182
28184
  s.is = e;
28183
- })(G4 || (G4 = {}));
28184
- var Y4;
28185
+ })(G5 || (G5 = {}));
28186
+ var Y5;
28185
28187
  (function(s) {
28186
28188
  s[s.Type = 1] = "Type", s[s.Parameter = 2] = "Parameter";
28187
- })(Y4 || (Y4 = {}));
28189
+ })(Y5 || (Y5 = {}));
28188
28190
  class Poe {
28189
28191
  constructor(e) {
28190
28192
  this.createSupport = e, this._tokenizationSupport = null;
@@ -28437,7 +28439,7 @@ class Boe {
28437
28439
  return this.lastArgKey !== t && (this.lastArgKey = t, this.lastCache = this._fn(e)), this.lastCache;
28438
28440
  }
28439
28441
  }
28440
- class X4 {
28442
+ class X5 {
28441
28443
  get cachedValues() {
28442
28444
  return this._map;
28443
28445
  }
@@ -28612,7 +28614,7 @@ function $R(s, e, t = 0, n = s.length, i = 0, r = e.length) {
28612
28614
  const o = n - t, a = r - i;
28613
28615
  return o < a ? -1 : o > a ? 1 : 0;
28614
28616
  }
28615
- function Z4(s, e) {
28617
+ function Z5(s, e) {
28616
28618
  return qb(s, e, 0, s.length, 0, e.length);
28617
28619
  }
28618
28620
  function qb(s, e, t = 0, n = s.length, i = 0, r = e.length) {
@@ -28724,7 +28726,7 @@ class xv {
28724
28726
  let i = e.getGraphemeBreakType(t.nextCodePoint());
28725
28727
  for (; !t.eol(); ) {
28726
28728
  const r = t.offset, o = e.getGraphemeBreakType(t.nextCodePoint());
28727
- if (Q4(i, o)) {
28729
+ if (Q5(i, o)) {
28728
28730
  t.setOffset(r);
28729
28731
  break;
28730
28732
  }
@@ -28737,7 +28739,7 @@ class xv {
28737
28739
  let i = e.getGraphemeBreakType(t.prevCodePoint());
28738
28740
  for (; t.offset > 0; ) {
28739
28741
  const r = t.offset, o = e.getGraphemeBreakType(t.prevCodePoint());
28740
- if (Q4(o, i)) {
28742
+ if (Q5(o, i)) {
28741
28743
  t.setOffset(r);
28742
28744
  break;
28743
28745
  }
@@ -28788,7 +28790,7 @@ function XR(s) {
28788
28790
  function OH(s) {
28789
28791
  return s = s % 52, s < 26 ? String.fromCharCode(97 + s) : String.fromCharCode(65 + s - 26);
28790
28792
  }
28791
- function Q4(s, e) {
28793
+ function Q5(s, e) {
28792
28794
  return s === 0 ? e !== 5 && e !== 7 : s === 2 && e === 3 ? !1 : s === 4 || s === 2 || s === 3 || e === 4 || e === 2 || e === 3 ? !0 : !(s === 8 && (e === 8 || e === 9 || e === 11 || e === 12) || (s === 11 || s === 9) && (e === 9 || e === 10) || (s === 12 || s === 10) && e === 10 || e === 5 || e === 13 || e === 7 || s === 1 || s === 13 && e === 14 || s === 6 && e === 6);
28793
28795
  }
28794
28796
  const Oh = class Oh {
@@ -28939,7 +28941,7 @@ function LD(s) {
28939
28941
  }
28940
28942
  const tm = navigator.userAgent, Xs = tm.indexOf("Firefox") >= 0, xx = tm.indexOf("AppleWebKit") >= 0, Gb = tm.indexOf("Chrome") >= 0, Gu = !Gb && tm.indexOf("Safari") >= 0, FH = !Gb && !Gu && xx;
28941
28943
  tm.indexOf("Electron/") >= 0;
28942
- const J4 = tm.indexOf("Android") >= 0;
28944
+ const J5 = tm.indexOf("Android") >= 0;
28943
28945
  let lk = !1;
28944
28946
  if (typeof vt.matchMedia == "function") {
28945
28947
  const s = vt.matchMedia("(display-mode: standalone) or (display-mode: window-controls-overlay)"), e = vt.matchMedia("(display-mode: fullscreen)");
@@ -36747,13 +36749,13 @@ ri.as(vf.Configuration).registerDefaultConfigurations([{
36747
36749
  class sde {
36748
36750
  constructor(e, t) {
36749
36751
  this.languageId = e;
36750
- const n = t.brackets ? z3(t.brackets) : [], i = new X4((a) => {
36752
+ const n = t.brackets ? z3(t.brackets) : [], i = new X5((a) => {
36751
36753
  const l = /* @__PURE__ */ new Set();
36752
36754
  return {
36753
36755
  info: new rde(this, a, l),
36754
36756
  closing: l
36755
36757
  };
36756
- }), r = new X4((a) => {
36758
+ }), r = new X5((a) => {
36757
36759
  const l = /* @__PURE__ */ new Set(), c = /* @__PURE__ */ new Set();
36758
36760
  return {
36759
36761
  info: new ode(this, a, l, c),
@@ -39316,7 +39318,7 @@ class Vi {
39316
39318
  * It avoids various problems when the line range points to non-existing line-numbers.
39317
39319
  */
39318
39320
  toRangeMapping2(e, t) {
39319
- if (eF(this.original.endLineNumberExclusive, e) && eF(this.modified.endLineNumberExclusive, t))
39321
+ if (e7(this.original.endLineNumberExclusive, e) && e7(this.modified.endLineNumberExclusive, t))
39320
39322
  return new Vs(new M(this.original.startLineNumber, 1, this.original.endLineNumberExclusive, 1), new M(this.modified.startLineNumber, 1, this.modified.endLineNumberExclusive, 1));
39321
39323
  if (!this.original.isEmpty && !this.modified.isEmpty)
39322
39324
  return new Vs(M.fromPositions(new P(this.original.startLineNumber, 1), zf(new P(this.original.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER), e)), M.fromPositions(new P(this.modified.startLineNumber, 1), zf(new P(this.modified.endLineNumberExclusive - 1, Number.MAX_SAFE_INTEGER), t)));
@@ -39333,7 +39335,7 @@ function zf(s, e) {
39333
39335
  const t = e[s.lineNumber - 1];
39334
39336
  return s.column > t.length + 1 ? new P(s.lineNumber, t.length + 1) : s;
39335
39337
  }
39336
- function eF(s, e) {
39338
+ function e7(s, e) {
39337
39339
  return s >= 1 && s <= e.length;
39338
39340
  }
39339
39341
  class Sr extends Vi {
@@ -39380,7 +39382,7 @@ class Vs {
39380
39382
  return new Bo(this.originalRange, t);
39381
39383
  }
39382
39384
  }
39383
- function tF(s, e, t, n = !1) {
39385
+ function t7(s, e, t, n = !1) {
39384
39386
  const i = [];
39385
39387
  for (const r of kR(s.map((o) => Pde(o, e, t)), (o, a) => o.original.intersectsOrTouches(a.original) || o.modified.intersectsOrTouches(a.modified))) {
39386
39388
  const o = r[0], a = r[r.length - 1];
@@ -39421,7 +39423,7 @@ class Bde {
39421
39423
  function Mz(s, e, t, n) {
39422
39424
  return new Ql(s, e, t).ComputeDiff(n);
39423
39425
  }
39424
- let nF = class {
39426
+ let n7 = class {
39425
39427
  constructor(e) {
39426
39428
  const t = [], n = [];
39427
39429
  for (let i = 0, r = e.length; i < r; i++)
@@ -39522,7 +39524,7 @@ class L_ {
39522
39524
  }
39523
39525
  class Hde {
39524
39526
  constructor(e, t, n) {
39525
- this.shouldComputeCharChanges = n.shouldComputeCharChanges, this.shouldPostProcessCharChanges = n.shouldPostProcessCharChanges, this.shouldIgnoreTrimWhitespace = n.shouldIgnoreTrimWhitespace, this.shouldMakePrettyDiff = n.shouldMakePrettyDiff, this.originalLines = e, this.modifiedLines = t, this.original = new nF(e), this.modified = new nF(t), this.continueLineDiff = iF(n.maxComputationTime), this.continueCharDiff = iF(n.maxComputationTime === 0 ? 0 : Math.min(n.maxComputationTime, 5e3));
39527
+ this.shouldComputeCharChanges = n.shouldComputeCharChanges, this.shouldPostProcessCharChanges = n.shouldPostProcessCharChanges, this.shouldIgnoreTrimWhitespace = n.shouldIgnoreTrimWhitespace, this.shouldMakePrettyDiff = n.shouldMakePrettyDiff, this.originalLines = e, this.modifiedLines = t, this.original = new n7(e), this.modified = new n7(t), this.continueLineDiff = i7(n.maxComputationTime), this.continueCharDiff = i7(n.maxComputationTime === 0 ? 0 : Math.min(n.maxComputationTime, 5e3));
39526
39528
  }
39527
39529
  computeDiff() {
39528
39530
  if (this.original.lines.length === 1 && this.original.lines[0].length === 0)
@@ -39620,7 +39622,7 @@ function nT(s, e) {
39620
39622
  const t = mf(s);
39621
39623
  return t === -1 ? e : t + 2;
39622
39624
  }
39623
- function iF(s) {
39625
+ function i7(s) {
39624
39626
  if (s === 0)
39625
39627
  return () => !0;
39626
39628
  const e = Date.now();
@@ -39811,7 +39813,7 @@ class Rz {
39811
39813
  const l = new Ude();
39812
39814
  l.set(0, o(0, 0));
39813
39815
  const c = new jde();
39814
- c.set(0, l.get(0) === 0 ? null : new sF(null, 0, 0, l.get(0)));
39816
+ c.set(0, l.get(0) === 0 ? null : new s7(null, 0, 0, l.get(0)));
39815
39817
  let d = 0;
39816
39818
  e: for (; ; ) {
39817
39819
  if (a++, !n.isValid())
@@ -39824,7 +39826,7 @@ class Rz {
39824
39826
  const y = o(C, v);
39825
39827
  l.set(d, y);
39826
39828
  const L = C === b ? c.get(d + 1) : c.get(d - 1);
39827
- if (c.set(d, y !== C ? new sF(L, C, v, y - C) : L), l.get(d) === i.length && l.get(d) - d === r.length)
39829
+ if (c.set(d, y !== C ? new s7(L, C, v, y - C) : L), l.get(d) === i.length && l.get(d) - d === r.length)
39828
39830
  break e;
39829
39831
  }
39830
39832
  }
@@ -39840,7 +39842,7 @@ class Rz {
39840
39842
  return u.reverse(), new gc(u, !1);
39841
39843
  }
39842
39844
  }
39843
- class sF {
39845
+ class s7 {
39844
39846
  constructor(e, t, n, i) {
39845
39847
  this.prev = e, this.x = t, this.y = n, this.length = i;
39846
39848
  }
@@ -39913,13 +39915,13 @@ class Fv {
39913
39915
  return this.elements.length;
39914
39916
  }
39915
39917
  getBoundaryScore(e) {
39916
- const t = aF(e > 0 ? this.elements[e - 1] : -1), n = aF(e < this.elements.length ? this.elements[e] : -1);
39918
+ const t = a7(e > 0 ? this.elements[e - 1] : -1), n = a7(e < this.elements.length ? this.elements[e] : -1);
39917
39919
  if (t === 7 && n === 8)
39918
39920
  return 0;
39919
39921
  if (t === 8)
39920
39922
  return 150;
39921
39923
  let i = 0;
39922
- return t !== n && (i += 10, t === 0 && n === 1 && (i += 1)), i += oF(t), i += oF(n), i;
39924
+ return t !== n && (i += 10, t === 0 && n === 1 && (i += 1)), i += o7(t), i += o7(n), i;
39923
39925
  }
39924
39926
  translateOffset(e, t = "right") {
39925
39927
  const n = Ap(this.firstElementOffsetByLineIdx, (r) => r <= e), i = e - this.firstElementOffsetByLineIdx[n];
@@ -39948,10 +39950,10 @@ class Fv {
39948
39950
  if (e < 0 || e >= this.elements.length || !$f(this.elements[e]))
39949
39951
  return;
39950
39952
  let t = e;
39951
- for (; t > 0 && $f(this.elements[t - 1]) && !rF(this.elements[t]); )
39953
+ for (; t > 0 && $f(this.elements[t - 1]) && !r7(this.elements[t]); )
39952
39954
  t--;
39953
39955
  let n = e;
39954
- for (; n < this.elements.length && $f(this.elements[n]) && !rF(this.elements[n]); )
39956
+ for (; n < this.elements.length && $f(this.elements[n]) && !r7(this.elements[n]); )
39955
39957
  n++;
39956
39958
  return new ge(t, n);
39957
39959
  }
@@ -39969,7 +39971,7 @@ class Fv {
39969
39971
  function $f(s) {
39970
39972
  return s >= 97 && s <= 122 || s >= 65 && s <= 90 || s >= 48 && s <= 57;
39971
39973
  }
39972
- function rF(s) {
39974
+ function r7(s) {
39973
39975
  return s >= 65 && s <= 90;
39974
39976
  }
39975
39977
  const Kde = {
@@ -39983,10 +39985,10 @@ const Kde = {
39983
39985
  7: 10,
39984
39986
  8: 10
39985
39987
  };
39986
- function oF(s) {
39988
+ function o7(s) {
39987
39989
  return Kde[s];
39988
39990
  }
39989
- function aF(s) {
39991
+ function a7(s) {
39990
39992
  return s === 10 ? 8 : s === 13 ? 7 : iT(s) ? 6 : s >= 97 && s <= 122 ? 0 : s >= 65 && s <= 90 ? 1 : s >= 48 && s <= 57 ? 2 : s === -1 ? 3 : s === 44 || s === 59 ? 5 : 4;
39991
39993
  }
39992
39994
  function qde(s, e, t, n, i, r) {
@@ -40066,21 +40068,21 @@ function Xde(s, e, t, n, i, r) {
40066
40068
  let v;
40067
40069
  for (v = 0; v < m; v++) {
40068
40070
  const L = f.original.startLineNumber - v - 1, x = f.modified.startLineNumber - v - 1;
40069
- if (L > n.length || x > i.length || c.contains(x) || d.contains(L) || !lF(n[L - 1], i[x - 1], r))
40071
+ if (L > n.length || x > i.length || c.contains(x) || d.contains(L) || !l7(n[L - 1], i[x - 1], r))
40070
40072
  break;
40071
40073
  }
40072
40074
  v > 0 && (d.addRange(new Le(f.original.startLineNumber - v, f.original.startLineNumber)), c.addRange(new Le(f.modified.startLineNumber - v, f.modified.startLineNumber)));
40073
40075
  let y;
40074
40076
  for (y = 0; y < C; y++) {
40075
40077
  const L = f.original.endLineNumberExclusive + y, x = f.modified.endLineNumberExclusive + y;
40076
- if (L > n.length || x > i.length || c.contains(x) || d.contains(L) || !lF(n[L - 1], i[x - 1], r))
40078
+ if (L > n.length || x > i.length || c.contains(x) || d.contains(L) || !l7(n[L - 1], i[x - 1], r))
40077
40079
  break;
40078
40080
  }
40079
40081
  y > 0 && (d.addRange(new Le(f.original.endLineNumberExclusive, f.original.endLineNumberExclusive + y)), c.addRange(new Le(f.modified.endLineNumberExclusive, f.modified.endLineNumberExclusive + y))), (v > 0 || y > 0) && (o[u] = new Vi(new Le(f.original.startLineNumber - v, f.original.endLineNumberExclusive + y), new Le(f.modified.startLineNumber - v, f.modified.endLineNumberExclusive + y)));
40080
40082
  }
40081
40083
  return o;
40082
40084
  }
40083
- function lF(s, e, t) {
40085
+ function l7(s, e, t) {
40084
40086
  if (s.trim() === e.trim())
40085
40087
  return !0;
40086
40088
  if (s.length > 300 && e.length > 300)
@@ -40123,11 +40125,11 @@ function Qde(s, e) {
40123
40125
  return i !== r;
40124
40126
  }), e;
40125
40127
  }
40126
- function cF(s, e, t) {
40128
+ function c7(s, e, t) {
40127
40129
  let n = t;
40128
- return n = dF(s, e, n), n = dF(s, e, n), n = Jde(s, e, n), n;
40130
+ return n = d7(s, e, n), n = d7(s, e, n), n = Jde(s, e, n), n;
40129
40131
  }
40130
- function dF(s, e, t) {
40132
+ function d7(s, e, t) {
40131
40133
  if (t.length === 0)
40132
40134
  return t;
40133
40135
  const n = [];
@@ -40172,11 +40174,11 @@ function Jde(s, e, t) {
40172
40174
  return t;
40173
40175
  for (let n = 0; n < t.length; n++) {
40174
40176
  const i = n > 0 ? t[n - 1] : void 0, r = t[n], o = n + 1 < t.length ? t[n + 1] : void 0, a = new ge(i ? i.seq1Range.endExclusive + 1 : 0, o ? o.seq1Range.start - 1 : s.length), l = new ge(i ? i.seq2Range.endExclusive + 1 : 0, o ? o.seq2Range.start - 1 : e.length);
40175
- r.seq1Range.isEmpty ? t[n] = hF(r, s, e, a, l) : r.seq2Range.isEmpty && (t[n] = hF(r.swap(), e, s, l, a).swap());
40177
+ r.seq1Range.isEmpty ? t[n] = h7(r, s, e, a, l) : r.seq2Range.isEmpty && (t[n] = h7(r.swap(), e, s, l, a).swap());
40176
40178
  }
40177
40179
  return t;
40178
40180
  }
40179
- function hF(s, e, t, n, i) {
40181
+ function h7(s, e, t, n, i) {
40180
40182
  let o = 1;
40181
40183
  for (; s.seq1Range.start - o >= n.start && s.seq2Range.start - o >= i.start && t.isStronglyEqual(s.seq2Range.start - o, s.seq2Range.endExclusive - o) && o < 100; )
40182
40184
  o++;
@@ -40205,7 +40207,7 @@ function ehe(s, e, t) {
40205
40207
  }
40206
40208
  return n;
40207
40209
  }
40208
- function uF(s, e, t, n, i = !1) {
40210
+ function u7(s, e, t, n, i = !1) {
40209
40211
  const r = Rn.invert(t, s.length), o = [];
40210
40212
  let a = new ic(0, 0);
40211
40213
  function l(d, h) {
@@ -40309,7 +40311,7 @@ function ihe(s, e, t) {
40309
40311
  o.length > 0 && m.getStarts().equals(o[o.length - 1].getEndExclusives()) ? o[o.length - 1] = o[o.length - 1].join(m) : o.push(m);
40310
40312
  }), o;
40311
40313
  }
40312
- class fF {
40314
+ class f7 {
40313
40315
  constructor(e, t) {
40314
40316
  this.trimmedHash = e, this.lines = t;
40315
40317
  }
@@ -40320,7 +40322,7 @@ class fF {
40320
40322
  return this.trimmedHash.length;
40321
40323
  }
40322
40324
  getBoundaryScore(e) {
40323
- const t = e === 0 ? 0 : gF(this.lines[e - 1]), n = e === this.lines.length ? 0 : gF(this.lines[e]);
40325
+ const t = e === 0 ? 0 : g7(this.lines[e - 1]), n = e === this.lines.length ? 0 : g7(this.lines[e]);
40324
40326
  return 1e3 - (t + n);
40325
40327
  }
40326
40328
  getText(e) {
@@ -40331,7 +40333,7 @@ class fF {
40331
40333
  return this.lines[e] === this.lines[t];
40332
40334
  }
40333
40335
  }
40334
- function gF(s) {
40336
+ function g7(s) {
40335
40337
  let e = 0;
40336
40338
  for (; e < s.length && (s.charCodeAt(e) === 32 || s.charCodeAt(e) === 9); )
40337
40339
  e++;
@@ -40355,9 +40357,9 @@ class she {
40355
40357
  let k = o.get(x);
40356
40358
  return k === void 0 && (k = o.size, o.set(x, k)), k;
40357
40359
  }
40358
- const l = e.map((x) => a(x.trim())), c = t.map((x) => a(x.trim())), d = new fF(l, e), h = new fF(c, t), u = d.length + h.length < 1700 ? this.dynamicProgrammingDiffing.compute(d, h, i, (x, k) => e[x] === t[k] ? t[k].length === 0 ? 0.1 : 1 + Math.log(1 + t[k].length) : 0.99) : this.myersDiffingAlgorithm.compute(d, h, i);
40360
+ const l = e.map((x) => a(x.trim())), c = t.map((x) => a(x.trim())), d = new f7(l, e), h = new f7(c, t), u = d.length + h.length < 1700 ? this.dynamicProgrammingDiffing.compute(d, h, i, (x, k) => e[x] === t[k] ? t[k].length === 0 ? 0.1 : 1 + Math.log(1 + t[k].length) : 0.99) : this.myersDiffingAlgorithm.compute(d, h, i);
40359
40361
  let f = u.diffs, g = u.hitTimeout;
40360
- f = cF(d, h, f), f = nhe(d, h, f);
40362
+ f = c7(d, h, f), f = nhe(d, h, f);
40361
40363
  const p = [], m = (x) => {
40362
40364
  if (r)
40363
40365
  for (let k = 0; k < x; k++) {
@@ -40381,7 +40383,7 @@ class she {
40381
40383
  p.push(I);
40382
40384
  }
40383
40385
  m(e.length - b);
40384
- const C = new Z0(e), v = new Z0(t), y = tF(p, C, v);
40386
+ const C = new Z0(e), v = new Z0(t), y = t7(p, C, v);
40385
40387
  let L = [];
40386
40388
  return n.computeMoves && (L = this.computeMoves(y, e, t, l, c, i, r, n)), Ku(() => {
40387
40389
  function x(E, I) {
@@ -40407,14 +40409,14 @@ class she {
40407
40409
  }
40408
40410
  computeMoves(e, t, n, i, r, o, a, l) {
40409
40411
  return qde(e, t, n, i, r, o).map((h) => {
40410
- const u = this.refineDiff(t, n, new Rn(h.original.toOffsetRange(), h.modified.toOffsetRange()), o, a, l), f = tF(u.mappings, new Z0(t), new Z0(n), !0);
40412
+ const u = this.refineDiff(t, n, new Rn(h.original.toOffsetRange(), h.modified.toOffsetRange()), o, a, l), f = t7(u.mappings, new Z0(t), new Z0(n), !0);
40411
40413
  return new Nz(h, f);
40412
40414
  });
40413
40415
  }
40414
40416
  refineDiff(e, t, n, i, r, o) {
40415
40417
  const l = rhe(n).toRangeMapping2(e, t), c = new Fv(e, l.originalRange, r), d = new Fv(t, l.modifiedRange, r), h = c.length + d.length < 500 ? this.dynamicProgrammingDiffing.compute(c, d, i) : this.myersDiffingAlgorithm.compute(c, d, i);
40416
40418
  let u = h.diffs;
40417
- return u = cF(c, d, u), u = uF(c, d, u, (g, p) => g.findWordContaining(p)), o.extendToSubwords && (u = uF(c, d, u, (g, p) => g.findSubWordContaining(p), !0)), u = ehe(c, d, u), u = ihe(c, d, u), {
40419
+ return u = c7(c, d, u), u = u7(c, d, u, (g, p) => g.findWordContaining(p)), o.extendToSubwords && (u = u7(c, d, u, (g, p) => g.findSubWordContaining(p), !0)), u = ehe(c, d, u), u = ihe(c, d, u), {
40418
40420
  mappings: u.map((g) => new Vs(c.translateRange(g.seq1Range), d.translateRange(g.seq2Range))),
40419
40421
  hitTimeout: h.hitTimeout
40420
40422
  };
@@ -40423,7 +40425,7 @@ class she {
40423
40425
  function rhe(s) {
40424
40426
  return new Vi(new Le(s.seq1Range.start + 1, s.seq1Range.endExclusive + 1), new Le(s.seq2Range.start + 1, s.seq2Range.endExclusive + 1));
40425
40427
  }
40426
- const pF = {
40428
+ const p7 = {
40427
40429
  getLegacy: () => new Bde(),
40428
40430
  getDefault: () => new she()
40429
40431
  };
@@ -41098,7 +41100,7 @@ function ohe(s, e) {
41098
41100
  color: yA(t.rgba.r, t.rgba.g, t.rgba.b, t.rgba.a)
41099
41101
  };
41100
41102
  }
41101
- function mF(s, e, t) {
41103
+ function m7(s, e, t) {
41102
41104
  if (!s || e.length !== 1)
41103
41105
  return;
41104
41106
  const i = e[0].values(), r = Az(i);
@@ -41107,7 +41109,7 @@ function mF(s, e, t) {
41107
41109
  color: yA(r[0], r[1], r[2], t ? r[3] : 1)
41108
41110
  };
41109
41111
  }
41110
- function _F(s, e, t) {
41112
+ function _7(s, e, t) {
41111
41113
  if (!s || e.length !== 1)
41112
41114
  return;
41113
41115
  const i = e[0].values(), r = Az(i), o = new q(new lo(r[0], r[1] / 100, r[2] / 100, t ? r[3] : 1));
@@ -41129,16 +41131,16 @@ function ahe(s) {
41129
41131
  let l;
41130
41132
  if (o === "rgb") {
41131
41133
  const c = /^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;
41132
- l = mF(vm(s, i), ym(a, c), !1);
41134
+ l = m7(vm(s, i), ym(a, c), !1);
41133
41135
  } else if (o === "rgba") {
41134
41136
  const c = /^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;
41135
- l = mF(vm(s, i), ym(a, c), !0);
41137
+ l = m7(vm(s, i), ym(a, c), !0);
41136
41138
  } else if (o === "hsl") {
41137
41139
  const c = /^\(\s*((?:360(?:\.0+)?|(?:36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])(?:\.\d+)?))\s*[\s,]\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*[\s,]\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;
41138
- l = _F(vm(s, i), ym(a, c), !1);
41140
+ l = _7(vm(s, i), ym(a, c), !1);
41139
41141
  } else if (o === "hsla") {
41140
41142
  const c = /^\(\s*((?:360(?:\.0+)?|(?:36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])(?:\.\d+)?))\s*[\s,]\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*[\s,]\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*[\s,]\s*(0[.][0-9]+|[.][0-9]+|[01][.]0*|[01])\s*\)$/gm;
41141
- l = _F(vm(s, i), ym(a, c), !0);
41143
+ l = _7(vm(s, i), ym(a, c), !0);
41142
41144
  } else o === "#" && (l = ohe(vm(s, i), o + a));
41143
41145
  l && e.push(l);
41144
41146
  }
@@ -41147,7 +41149,7 @@ function ahe(s) {
41147
41149
  function lhe(s) {
41148
41150
  return !s || typeof s.getValue != "function" || typeof s.positionAt != "function" ? [] : ahe(s);
41149
41151
  }
41150
- const che = /^-+|-+$/g, bF = 100, dhe = 5;
41152
+ const che = /^-+|-+$/g, b7 = 100, dhe = 5;
41151
41153
  function hhe(s, e) {
41152
41154
  let t = [];
41153
41155
  if (e.findRegionSectionHeaders && e.foldingRules?.markers) {
@@ -41185,8 +41187,8 @@ function fhe(s, e) {
41185
41187
  const i = Tz(e.markSectionHeaderRegex), r = new RegExp(e.markSectionHeaderRegex, `gdm${i ? "s" : ""}`);
41186
41188
  if (IH(r))
41187
41189
  return t;
41188
- for (let o = 1; o <= n; o += bF - dhe) {
41189
- const a = Math.min(o + bF - 1, n), l = [];
41190
+ for (let o = 1; o <= n; o += b7 - dhe) {
41191
+ const a = Math.min(o + b7 - 1, n), l = [];
41190
41192
  for (let h = o; h <= a; h++)
41191
41193
  l.push(s.getLineContent(h));
41192
41194
  const c = l.join(`
@@ -41381,12 +41383,12 @@ class _he {
41381
41383
  this._lineStarts && this._lineStarts.insertValues(e.lineNumber, i);
41382
41384
  }
41383
41385
  }
41384
- const wF = 60 * 1e3;
41386
+ const w7 = 60 * 1e3;
41385
41387
  class bhe extends U {
41386
41388
  constructor(e, t, n = !1) {
41387
41389
  if (super(), this._syncedModels = /* @__PURE__ */ Object.create(null), this._syncedModelsLastUsedTime = /* @__PURE__ */ Object.create(null), this._proxy = e, this._modelService = t, !n) {
41388
41390
  const i = new ZR();
41389
- i.cancelAndSet(() => this._checkStopModelSync(), Math.round(wF / 2)), this._register(i);
41391
+ i.cancelAndSet(() => this._checkStopModelSync(), Math.round(w7 / 2)), this._register(i);
41390
41392
  }
41391
41393
  }
41392
41394
  dispose() {
@@ -41403,7 +41405,7 @@ class bhe extends U {
41403
41405
  _checkStopModelSync() {
41404
41406
  const e = (/* @__PURE__ */ new Date()).getTime(), t = [];
41405
41407
  for (const n in this._syncedModelsLastUsedTime)
41406
- e - this._syncedModelsLastUsedTime[n] > wF && t.push(n);
41408
+ e - this._syncedModelsLastUsedTime[n] > w7 && t.push(n);
41407
41409
  for (const n of t)
41408
41410
  this._stopModelSync(n);
41409
41411
  }
@@ -41602,7 +41604,7 @@ const Wh = class Wh {
41602
41604
  return !r || !o ? null : Wh.computeDiff(r, o, n, i);
41603
41605
  }
41604
41606
  static computeDiff(e, t, n, i) {
41605
- const r = i === "advanced" ? pF.getDefault() : pF.getLegacy(), o = e.getLinesContent(), a = t.getLinesContent(), l = r.computeDiff(o, a, n), c = l.changes.length > 0 ? !1 : this._modelsAreIdentical(e, t);
41607
+ const r = i === "advanced" ? p7.getDefault() : p7.getLegacy(), o = e.getLinesContent(), a = t.getLinesContent(), l = r.computeDiff(o, a, n), c = l.changes.length > 0 ? !1 : this._modelsAreIdentical(e, t);
41606
41608
  function d(h) {
41607
41609
  return h.map((u) => [u.original.startLineNumber, u.original.endLineNumberExclusive, u.modified.startLineNumber, u.modified.endLineNumberExclusive, u.innerChanges?.map((f) => [
41608
41610
  f.originalRange.startLineNumber,
@@ -41774,7 +41776,7 @@ var xA = function(s, e, t, n) {
41774
41776
  e(t, n, s);
41775
41777
  };
41776
41778
  };
41777
- const CF = 300 * 1e3;
41779
+ const C7 = 300 * 1e3;
41778
41780
  function yh(s, e) {
41779
41781
  const t = s.getModel(e);
41780
41782
  return !(!t || t.isTooLargeForSyncing());
@@ -41896,7 +41898,7 @@ class vhe {
41896
41898
  }
41897
41899
  let aT = class extends U {
41898
41900
  constructor(e, t) {
41899
- super(), this._workerDescriptor = e, this._modelService = t, this._editorWorkerClient = null, this._lastWorkerUsedTime = (/* @__PURE__ */ new Date()).getTime(), this._register(new Tx()).cancelAndSet(() => this._checkStopIdleWorker(), Math.round(CF / 2), vt), this._register(this._modelService.onModelRemoved((i) => this._checkStopEmptyWorker()));
41901
+ super(), this._workerDescriptor = e, this._modelService = t, this._editorWorkerClient = null, this._lastWorkerUsedTime = (/* @__PURE__ */ new Date()).getTime(), this._register(new Tx()).cancelAndSet(() => this._checkStopIdleWorker(), Math.round(C7 / 2), vt), this._register(this._modelService.onModelRemoved((i) => this._checkStopEmptyWorker()));
41900
41902
  }
41901
41903
  dispose() {
41902
41904
  this._editorWorkerClient && (this._editorWorkerClient.dispose(), this._editorWorkerClient = null), super.dispose();
@@ -41915,7 +41917,7 @@ let aT = class extends U {
41915
41917
  _checkStopIdleWorker() {
41916
41918
  if (!this._editorWorkerClient)
41917
41919
  return;
41918
- (/* @__PURE__ */ new Date()).getTime() - this._lastWorkerUsedTime > CF && (this._editorWorkerClient.dispose(), this._editorWorkerClient = null);
41920
+ (/* @__PURE__ */ new Date()).getTime() - this._lastWorkerUsedTime > C7 && (this._editorWorkerClient.dispose(), this._editorWorkerClient = null);
41919
41921
  }
41920
41922
  withWorker() {
41921
41923
  return this._lastWorkerUsedTime = (/* @__PURE__ */ new Date()).getTime(), this._editorWorkerClient || (this._editorWorkerClient = new Bv(this._workerDescriptor, !1, this._modelService)), Promise.resolve(this._editorWorkerClient);
@@ -42407,7 +42409,7 @@ class Ur {
42407
42409
  return n !== 0 ? n : e.className !== t.className ? e.className < t.className ? -1 : 1 : 0;
42408
42410
  }
42409
42411
  }
42410
- class vF {
42412
+ class v7 {
42411
42413
  constructor(e, t, n, i) {
42412
42414
  this.startOffset = e, this.endOffset = t, this.className = n, this.metadata = i;
42413
42415
  }
@@ -42427,9 +42429,9 @@ class Vv {
42427
42429
  let i = 0;
42428
42430
  for (; i + 1 < this.count && this.stopOffsets[i] === this.stopOffsets[i + 1]; )
42429
42431
  i++;
42430
- n.push(new vF(t, this.stopOffsets[i], this.classNames.join(" "), Vv._metadata(this.metadata))), t = this.stopOffsets[i] + 1, this.stopOffsets.splice(0, i + 1), this.classNames.splice(0, i + 1), this.metadata.splice(0, i + 1), this.count -= i + 1;
42432
+ n.push(new v7(t, this.stopOffsets[i], this.classNames.join(" "), Vv._metadata(this.metadata))), t = this.stopOffsets[i] + 1, this.stopOffsets.splice(0, i + 1), this.classNames.splice(0, i + 1), this.metadata.splice(0, i + 1), this.count -= i + 1;
42431
42433
  }
42432
- return this.count > 0 && t < e && (n.push(new vF(t, e - 1, this.classNames.join(" "), Vv._metadata(this.metadata))), t = e), t;
42434
+ return this.count > 0 && t < e && (n.push(new v7(t, e - 1, this.classNames.join(" "), Vv._metadata(this.metadata))), t = e), t;
42433
42435
  }
42434
42436
  insert(e, t, n) {
42435
42437
  if (this.count === 0 || this.stopOffsets[this.count - 1] <= e)
@@ -42858,7 +42860,7 @@ function Phe(s) {
42858
42860
  function Fhe(s) {
42859
42861
  return s < 1024 ? _(793, "{0} chars", s) : s < 1024 * 1024 ? `${(s / 1024).toFixed(1)} KB` : `${(s / 1024 / 1024).toFixed(1)} MB`;
42860
42862
  }
42861
- class yF {
42863
+ class y7 {
42862
42864
  constructor(e, t, n, i) {
42863
42865
  this._viewportBrand = void 0, this.top = e | 0, this.left = t | 0, this.width = n | 0, this.height = i | 0;
42864
42866
  }
@@ -42907,7 +42909,7 @@ function Whe(s) {
42907
42909
  function Wz(s) {
42908
42910
  return typeof s == "string";
42909
42911
  }
42910
- function SF(s) {
42912
+ function S7(s) {
42911
42913
  return !Wz(s);
42912
42914
  }
42913
42915
  function Sh(s) {
@@ -42916,7 +42918,7 @@ function Sh(s) {
42916
42918
  function pc(s, e) {
42917
42919
  return s.ignoreCase && e ? e.toLowerCase() : e;
42918
42920
  }
42919
- function xF(s) {
42921
+ function x7(s) {
42920
42922
  return s.replace(/[&<>'"_]/g, "-");
42921
42923
  }
42922
42924
  function Hhe(s, e) {
@@ -43203,7 +43205,7 @@ let eb = dT = class extends U {
43203
43205
  throw Rt(this._lexer, "tokenizer state is not defined: " + t.stack.state);
43204
43206
  let i = -1, r = !1;
43205
43207
  for (const o of n) {
43206
- if (!SF(o.action) || !(o.action.nextEmbedded === "@pop" || o.action.hasEmbeddedEndInCases))
43208
+ if (!S7(o.action) || !(o.action.nextEmbedded === "@pop" || o.action.hasEmbeddedEndInCases))
43207
43209
  continue;
43208
43210
  r = !0;
43209
43211
  let a = o.resolveRegex(t.stack.state);
@@ -43261,7 +43263,7 @@ let eb = dT = class extends U {
43261
43263
  }
43262
43264
  if (w || (w = [""], C = ""), v || (h < l && (w = [a.charAt(h)], C = w[0]), v = this._lexer.defaultToken), C === null)
43263
43265
  break;
43264
- for (h += C.length; Whe(v) && SF(v) && v.test; )
43266
+ for (h += C.length; Whe(v) && S7(v) && v.test; )
43265
43267
  v = v.test(C, w, b, h === l);
43266
43268
  let x = null;
43267
43269
  if (typeof v == "string" || Array.isArray(v))
@@ -43354,10 +43356,10 @@ let eb = dT = class extends U {
43354
43356
  const I = x.substr(9), A = qhe(this._lexer, C);
43355
43357
  if (!A)
43356
43358
  throw Rt(this._lexer, "@brackets token returned but no bracket defined as: " + C);
43357
- E = xF(A.token + I);
43359
+ E = x7(A.token + I);
43358
43360
  } else {
43359
43361
  const I = x === "" ? "" : x + this._lexer.tokenPostfix;
43360
- E = xF(I);
43362
+ E = x7(I);
43361
43363
  }
43362
43364
  g < o && r.emit(g + i, E);
43363
43365
  }
@@ -43421,9 +43423,9 @@ class TA {
43421
43423
  i && typeof i.tabSize == "number" && (o = i.tabSize), XR(t) && (t = t.substr(1));
43422
43424
  const a = em(t);
43423
43425
  if (!e.isRegisteredLanguageId(n))
43424
- return LF(a, o, r);
43426
+ return L7(a, o, r);
43425
43427
  const l = await wn.getOrCreate(n);
43426
- return l ? Yhe(a, o, l, r) : LF(a, o, r);
43428
+ return l ? Yhe(a, o, l, r) : L7(a, o, r);
43427
43429
  }
43428
43430
  static colorizeLine(e, t, n, i, r = 4) {
43429
43431
  const o = Lr.isBasicASCII(e, t), a = Lr.containsRTL(e, o, n);
@@ -43452,7 +43454,7 @@ function Yhe(s, e, t, n) {
43452
43454
  o();
43453
43455
  });
43454
43456
  }
43455
- function LF(s, e, t) {
43457
+ function L7(s, e, t) {
43456
43458
  let n = [];
43457
43459
  const r = new Uint32Array(2);
43458
43460
  r[0] = 0, r[1] = 33587200;
@@ -43492,7 +43494,7 @@ function Xhe(s, e, t, n) {
43492
43494
  }
43493
43495
  return i.join("");
43494
43496
  }
43495
- const kF = 2e4;
43497
+ const k7 = 2e4;
43496
43498
  let xh, nC, hT, iC, uT;
43497
43499
  function Zhe(s) {
43498
43500
  xh = document.createElement("div"), xh.className = "monaco-aria-container";
@@ -43514,7 +43516,7 @@ function Hv(s) {
43514
43516
  xh && (iC.textContent !== s ? (Qo(uT), zv(iC, s)) : (Qo(iC), zv(uT, s)));
43515
43517
  }
43516
43518
  function zv(s, e) {
43517
- Qo(s), e.length > kF && (e = e.substr(0, kF)), s.textContent = e, s.style.visibility = "hidden", s.style.visibility = "visible";
43519
+ Qo(s), e.length > k7 && (e = e.substr(0, k7)), s.textContent = e, s.style.visibility = "hidden", s.style.visibility = "visible";
43518
43520
  }
43519
43521
  const zz = ze("markerDecorationsService");
43520
43522
  var Qhe = function(s, e, t, n) {
@@ -43762,7 +43764,7 @@ var rue = function(s, e, t, n) {
43762
43764
  };
43763
43765
  let gT = class extends U {
43764
43766
  constructor(e, t, n, i, r) {
43765
- super(), this._accessibilityService = r, this._onDidChange = this._register(new R()), this.onDidChange = this._onDidChange.event, this._onDidChangeFast = this._register(new R()), this.onDidChangeFast = this._onDidChangeFast.event, this._isDominatedByLongLines = !1, this._viewLineCount = 1, this._lineNumbersDigitCount = 1, this._reservedHeight = 0, this._glyphMarginDecorationLaneCount = 1, this._computeOptionsMemory = new gH(), this.isSimpleWidget = e, this.contextMenuId = t, this._containerObserver = this._register(new $z(i, n.dimension)), this._targetWindowId = pe(i).vscodeWindowId, this._rawOptions = EF(n), this._validatedOptions = Qc.validateOptions(this._rawOptions), this.options = this._computeOptions(), this.options.get(
43767
+ super(), this._accessibilityService = r, this._onDidChange = this._register(new R()), this.onDidChange = this._onDidChange.event, this._onDidChangeFast = this._register(new R()), this.onDidChangeFast = this._onDidChangeFast.event, this._isDominatedByLongLines = !1, this._viewLineCount = 1, this._lineNumbersDigitCount = 1, this._reservedHeight = 0, this._glyphMarginDecorationLaneCount = 1, this._computeOptionsMemory = new gH(), this.isSimpleWidget = e, this.contextMenuId = t, this._containerObserver = this._register(new $z(i, n.dimension)), this._targetWindowId = pe(i).vscodeWindowId, this._rawOptions = E7(n), this._validatedOptions = Qc.validateOptions(this._rawOptions), this.options = this._computeOptions(), this.options.get(
43766
43768
  19
43767
43769
  /* EditorOption.automaticLayout */
43768
43770
  ) && this._containerObserver.startObserving(), this._register(Yc.onDidChangeZoomLevel(() => this._recomputeOptions())), this._register(Uv.onDidChangeTabFocus(() => this._recomputeOptions())), this._register(this._containerObserver.onDidChange(() => this._recomputeOptions())), this._register(zD.onDidChange(() => this._recomputeOptions())), this._register(kv.getInstance(pe(i)).onDidChange(() => this._recomputeOptions())), this._register(this._accessibilityService.onDidChangeScreenReaderOptimized(() => this._recomputeOptions())), this._register(fT.onDidChangeInputMode(() => this._recomputeOptions()));
@@ -43812,7 +43814,7 @@ let gT = class extends U {
43812
43814
  return this._rawOptions;
43813
43815
  }
43814
43816
  updateOptions(e) {
43815
- const t = EF(e);
43817
+ const t = E7(e);
43816
43818
  Qc.applyUpdate(this._rawOptions, t) && (this._validatedOptions = Qc.validateOptions(this._rawOptions), this._recomputeOptions());
43817
43819
  }
43818
43820
  observeContainer(e) {
@@ -43928,7 +43930,7 @@ class Qc {
43928
43930
  return n;
43929
43931
  }
43930
43932
  }
43931
- function EF(s) {
43933
+ function E7(s) {
43932
43934
  const e = Ul(s);
43933
43935
  return eue(e), e;
43934
43936
  }
@@ -44187,13 +44189,13 @@ function Xo(s, e) {
44187
44189
  function Ue(s, e) {
44188
44190
  return { op: 2, value: s, factor: e };
44189
44191
  }
44190
- function DF(...s) {
44192
+ function D7(...s) {
44191
44193
  return { op: 4, values: s };
44192
44194
  }
44193
44195
  function wue(s, e, t) {
44194
44196
  return { op: 6, if: s, then: e, else: t };
44195
44197
  }
44196
- function TF(s, e, t, n) {
44198
+ function T7(s, e, t, n) {
44197
44199
  return { op: 5, value: s, background: e, factor: t, transparency: n };
44198
44200
  }
44199
44201
  function Nr(s, e) {
@@ -44208,9 +44210,9 @@ function Nr(s, e) {
44208
44210
  }
44209
44211
  const Kz = "vscode://schemas/workbench-colors", qz = ri.as(jx.JSONContribution);
44210
44212
  qz.registerSchema(Kz, Xx.getColorSchema());
44211
- const NF = new xi(() => qz.notifySchemaChanged(Kz), 200);
44213
+ const N7 = new xi(() => qz.notifySchemaChanged(Kz), 200);
44212
44214
  Xx.onDidChangeSchema(() => {
44213
- NF.isScheduled() || NF.schedule();
44215
+ N7.isScheduled() || N7.schedule();
44214
44216
  });
44215
44217
  const St = T("foreground", { dark: "#CCCCCC", light: "#616161", hcDark: "#FFFFFF", hcLight: "#292929" }, _(1756, "Overall foreground color. This color is only used if not overridden by a component."));
44216
44218
  T("disabledForeground", { dark: "#CCCCCC80", light: "#61616180", hcDark: "#A5A5A5", hcLight: "#7F7F7F" }, _(1757, "Overall foreground for disabled elements. This color is only used if not overridden by a component."));
@@ -44252,7 +44254,7 @@ T("editorInfo.background", null, _(1798, "Background color of info text in the e
44252
44254
  const ef = T("editorInfo.foreground", { dark: "#3794FF", light: "#1a85ff", hcDark: "#3794FF", hcLight: "#1a85ff" }, _(1799, "Foreground color of info squigglies in the editor.")), Kv = T("editorInfo.border", { dark: null, light: null, hcDark: q.fromHex("#3794FF").transparent(0.8), hcLight: "#292929" }, _(1800, "If set, color of double underlines for infos in the editor.")), xue = T("editorHint.foreground", { dark: q.fromHex("#eeeeee").transparent(0.7), light: "#6c6c6c", hcDark: null, hcLight: null }, _(1801, "Foreground color of hint squigglies in the editor."));
44253
44255
  T("editorHint.border", { dark: null, light: null, hcDark: q.fromHex("#eeeeee").transparent(0.8), hcLight: "#292929" }, _(1802, "If set, color of double underlines for hints in the editor."));
44254
44256
  T("editorLink.activeForeground", { dark: "#4E94CE", light: q.blue, hcDark: q.cyan, hcLight: "#292929" }, _(1803, "Color of active links."));
44255
- const bg = T("editor.selectionBackground", { light: "#ADD6FF", dark: "#264F78", hcDark: "#f3f518", hcLight: "#0F4A85" }, _(1804, "Color of the editor selection.")), Lue = T("editor.selectionForeground", { light: null, dark: null, hcDark: "#000000", hcLight: q.white }, _(1805, "Color of the selected text for high contrast.")), Qz = T("editor.inactiveSelectionBackground", { light: Ue(bg, 0.5), dark: Ue(bg, 0.5), hcDark: Ue(bg, 0.7), hcLight: Ue(bg, 0.5) }, _(1806, "Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."), !0), Jz = T("editor.selectionHighlightBackground", { light: TF(bg, So, 0.3, 0.6), dark: TF(bg, So, 0.3, 0.6), hcDark: null, hcLight: null }, _(1807, "Color for regions with the same content as the selection. The color must not be opaque so as not to hide underlying decorations."), !0);
44257
+ const bg = T("editor.selectionBackground", { light: "#ADD6FF", dark: "#264F78", hcDark: "#f3f518", hcLight: "#0F4A85" }, _(1804, "Color of the editor selection.")), Lue = T("editor.selectionForeground", { light: null, dark: null, hcDark: "#000000", hcLight: q.white }, _(1805, "Color of the selected text for high contrast.")), Qz = T("editor.inactiveSelectionBackground", { light: Ue(bg, 0.5), dark: Ue(bg, 0.5), hcDark: Ue(bg, 0.7), hcLight: Ue(bg, 0.5) }, _(1806, "Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."), !0), Jz = T("editor.selectionHighlightBackground", { light: T7(bg, So, 0.3, 0.6), dark: T7(bg, So, 0.3, 0.6), hcDark: null, hcLight: null }, _(1807, "Color for regions with the same content as the selection. The color must not be opaque so as not to hide underlying decorations."), !0);
44256
44258
  T("editor.selectionHighlightBorder", { light: null, dark: null, hcDark: gn, hcLight: gn }, _(1808, "Border color for regions with the same content as the selection."));
44257
44259
  T("editor.compositionBorder", { light: "#000000", dark: "#ffffff", hcLight: "#000000", hcDark: "#ffffff" }, _(1809, "The border color for an IME composition."));
44258
44260
  T("editor.findMatchBackground", { light: "#A8AC94", dark: "#515C6A", hcDark: null, hcLight: null }, _(1810, "Color of the current search match."));
@@ -44264,10 +44266,10 @@ T("editor.findMatchBorder", { light: null, dark: null, hcDark: gn, hcLight: gn }
44264
44266
  const wg = T("editor.findMatchHighlightBorder", { light: null, dark: null, hcDark: gn, hcLight: gn }, _(1816, "Border color of the other search matches."));
44265
44267
  T("editor.findRangeHighlightBorder", { dark: null, light: null, hcDark: Ue(gn, 0.4), hcLight: Ue(gn, 0.4) }, _(1817, "Border color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."), !0);
44266
44268
  T("editor.hoverHighlightBackground", { light: "#ADD6FF26", dark: "#264f7840", hcDark: "#ADD6FF26", hcLight: null }, _(1818, "Highlight below the word for which a hover is shown. The color must not be opaque so as not to hide underlying decorations."), !0);
44267
- const IF = T("editorHoverWidget.background", mo, _(1819, "Background color of the editor hover."));
44269
+ const I7 = T("editorHoverWidget.background", mo, _(1819, "Background color of the editor hover."));
44268
44270
  T("editorHoverWidget.foreground", Zx, _(1820, "Foreground color of the editor hover."));
44269
44271
  const kue = T("editorHoverWidget.border", Zz, _(1821, "Border color of the editor hover."));
44270
- T("editorHoverWidget.statusBarBackground", { dark: Xo(IF, 0.2), light: Sf(IF, 0.05), hcDark: mo, hcLight: mo }, _(1822, "Background color of the editor hover status bar."));
44272
+ T("editorHoverWidget.statusBarBackground", { dark: Xo(I7, 0.2), light: Sf(I7, 0.05), hcDark: mo, hcLight: mo }, _(1822, "Background color of the editor hover status bar."));
44271
44273
  const e$ = T("editorInlayHint.foreground", { dark: "#969696", light: "#969696", hcDark: q.white, hcLight: q.black }, _(1823, "Foreground color of inline hints")), t$ = T("editorInlayHint.background", { dark: Ue(sC, 0.1), light: Ue(sC, 0.1), hcDark: Ue(q.white, 0.1), hcLight: Ue(sC, 0.1) }, _(1824, "Background color of inline hints"));
44272
44274
  T("editorInlayHint.typeForeground", e$, _(1825, "Foreground color of inline hints for types"));
44273
44275
  T("editorInlayHint.typeBackground", t$, _(1826, "Background color of inline hints for types"));
@@ -44293,16 +44295,16 @@ T("diffEditor.diagonalFill", { dark: "#cccccc33", light: "#22222233", hcDark: nu
44293
44295
  T("diffEditor.unchangedRegionBackground", "sideBar.background", _(1848, "The background color of unchanged blocks in the diff editor."));
44294
44296
  T("diffEditor.unchangedRegionForeground", "foreground", _(1849, "The foreground color of unchanged blocks in the diff editor."));
44295
44297
  T("diffEditor.unchangedCodeBackground", { dark: "#74747429", light: "#b8b8b829", hcDark: null, hcLight: null }, _(1850, "The background color of unchanged code in the diff editor."));
44296
- const o0 = T("widget.shadow", { dark: Ue(q.black, 0.36), light: Ue(q.black, 0.16), hcDark: null, hcLight: null }, _(1851, "Shadow color of widgets such as find/replace inside the editor.")), n$ = T("widget.border", { dark: null, light: null, hcDark: st, hcLight: st }, _(1852, "Border color of widgets such as find/replace inside the editor.")), MF = T("toolbar.hoverBackground", { dark: "#5a5d5e50", light: "#b8b8b850", hcDark: null, hcLight: null }, _(1853, "Toolbar background when hovering over actions using the mouse"));
44298
+ const o0 = T("widget.shadow", { dark: Ue(q.black, 0.36), light: Ue(q.black, 0.16), hcDark: null, hcLight: null }, _(1851, "Shadow color of widgets such as find/replace inside the editor.")), n$ = T("widget.border", { dark: null, light: null, hcDark: st, hcLight: st }, _(1852, "Border color of widgets such as find/replace inside the editor.")), M7 = T("toolbar.hoverBackground", { dark: "#5a5d5e50", light: "#b8b8b850", hcDark: null, hcLight: null }, _(1853, "Toolbar background when hovering over actions using the mouse"));
44297
44299
  T("toolbar.hoverOutline", { dark: null, light: null, hcDark: gn, hcLight: gn }, _(1854, "Toolbar outline when hovering over actions using the mouse"));
44298
- T("toolbar.activeBackground", { dark: Xo(MF, 0.1), light: Sf(MF, 0.1), hcDark: null, hcLight: null }, _(1855, "Toolbar background when holding the mouse over actions"));
44299
- const Mue = T("breadcrumb.foreground", Ue(St, 0.8), _(1856, "Color of focused breadcrumb items.")), Rue = T("breadcrumb.background", So, _(1857, "Background color of breadcrumb items.")), RF = T("breadcrumb.focusForeground", { light: Sf(St, 0.2), dark: Xo(St, 0.1), hcDark: Xo(St, 0.1), hcLight: Xo(St, 0.1) }, _(1858, "Color of focused breadcrumb items.")), Aue = T("breadcrumb.activeSelectionForeground", { light: Sf(St, 0.2), dark: Xo(St, 0.1), hcDark: Xo(St, 0.1), hcLight: Xo(St, 0.1) }, _(1859, "Color of selected breadcrumb items."));
44300
+ T("toolbar.activeBackground", { dark: Xo(M7, 0.1), light: Sf(M7, 0.1), hcDark: null, hcLight: null }, _(1855, "Toolbar background when holding the mouse over actions"));
44301
+ const Mue = T("breadcrumb.foreground", Ue(St, 0.8), _(1856, "Color of focused breadcrumb items.")), Rue = T("breadcrumb.background", So, _(1857, "Background color of breadcrumb items.")), R7 = T("breadcrumb.focusForeground", { light: Sf(St, 0.2), dark: Xo(St, 0.1), hcDark: Xo(St, 0.1), hcLight: Xo(St, 0.1) }, _(1858, "Color of focused breadcrumb items.")), Aue = T("breadcrumb.activeSelectionForeground", { light: Sf(St, 0.2), dark: Xo(St, 0.1), hcDark: Xo(St, 0.1), hcLight: Xo(St, 0.1) }, _(1859, "Color of selected breadcrumb items."));
44300
44302
  T("breadcrumbPicker.background", mo, _(1860, "Background color of breadcrumb item picker."));
44301
- const i$ = 0.5, AF = q.fromHex("#40C8AE").transparent(i$), OF = q.fromHex("#40A6FF").transparent(i$), PF = q.fromHex("#606060").transparent(0.4), RA = 0.4, Op = 1, wT = T("merge.currentHeaderBackground", { dark: AF, light: AF, hcDark: null, hcLight: null }, _(1861, "Current header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), !0);
44303
+ const i$ = 0.5, A7 = q.fromHex("#40C8AE").transparent(i$), O7 = q.fromHex("#40A6FF").transparent(i$), P7 = q.fromHex("#606060").transparent(0.4), RA = 0.4, Op = 1, wT = T("merge.currentHeaderBackground", { dark: A7, light: A7, hcDark: null, hcLight: null }, _(1861, "Current header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), !0);
44302
44304
  T("merge.currentContentBackground", Ue(wT, RA), _(1862, "Current content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), !0);
44303
- const CT = T("merge.incomingHeaderBackground", { dark: OF, light: OF, hcDark: null, hcLight: null }, _(1863, "Incoming header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), !0);
44305
+ const CT = T("merge.incomingHeaderBackground", { dark: O7, light: O7, hcDark: null, hcLight: null }, _(1863, "Incoming header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), !0);
44304
44306
  T("merge.incomingContentBackground", Ue(CT, RA), _(1864, "Incoming content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), !0);
44305
- const vT = T("merge.commonHeaderBackground", { dark: PF, light: PF, hcDark: null, hcLight: null }, _(1865, "Common ancestor header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), !0);
44307
+ const vT = T("merge.commonHeaderBackground", { dark: P7, light: P7, hcDark: null, hcLight: null }, _(1865, "Common ancestor header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), !0);
44306
44308
  T("merge.commonContentBackground", Ue(vT, RA), _(1866, "Common ancestor content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), !0);
44307
44309
  const Pp = T("merge.border", { dark: null, light: null, hcDark: "#C3DF6F", hcLight: "#007ACC" }, _(1867, "Border color on headers and the splitter in inline merge-conflicts."));
44308
44310
  T("editorOverviewRuler.currentContentForeground", { dark: Ue(wT, Op), light: Ue(wT, Op), hcDark: Pp, hcLight: Pp }, _(1868, "Current overview ruler foreground for inline merge-conflicts."));
@@ -44312,7 +44314,7 @@ T("editorOverviewRuler.findMatchForeground", { dark: "#d186167e", light: "#d1861
44312
44314
  T("editorOverviewRuler.selectionHighlightForeground", "#A0A0A0CC", _(1872, "Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations."), !0);
44313
44315
  const Oue = T("problemsErrorIcon.foreground", MA, _(1873, "The color used for the problems error icon.")), Pue = T("problemsWarningIcon.foreground", Id, _(1874, "The color used for the problems warning icon.")), Fue = T("problemsInfoIcon.foreground", ef, _(1875, "The color used for the problems info icon.")), Bue = T("minimap.findMatchHighlight", { light: "#d18616", dark: "#d18616", hcDark: "#AB5A00", hcLight: "#0F4A85" }, _(1966, "Minimap marker color for find matches."), !0);
44314
44316
  T("minimap.selectionOccurrenceHighlight", { light: "#c9c9c9", dark: "#676767", hcDark: "#ffffff", hcLight: "#0F4A85" }, _(1967, "Minimap marker color for repeating editor selections."), !0);
44315
- const FF = T("minimap.selectionHighlight", { light: "#ADD6FF", dark: "#264F78", hcDark: "#ffffff", hcLight: "#0F4A85" }, _(1968, "Minimap marker color for the editor selection."), !0), Vue = T("minimap.infoHighlight", { dark: ef, light: ef, hcDark: Kv, hcLight: Kv }, _(1969, "Minimap marker color for infos.")), Wue = T("minimap.warningHighlight", { dark: Id, light: Id, hcDark: jv, hcLight: jv }, _(1970, "Minimap marker color for warnings.")), Hue = T("minimap.errorHighlight", { dark: new q(new W(255, 18, 18, 0.7)), light: new q(new W(255, 18, 18, 0.7)), hcDark: new q(new W(255, 50, 50, 1)), hcLight: "#B5200D" }, _(1971, "Minimap marker color for errors.")), zue = T("minimap.background", null, _(1972, "Minimap background color.")), $ue = T("minimap.foregroundOpacity", q.fromHex("#000f"), _(1973, 'Opacity of foreground elements rendered in the minimap. For example, "#000000c0" will render the elements with 75% opacity.'));
44317
+ const F7 = T("minimap.selectionHighlight", { light: "#ADD6FF", dark: "#264F78", hcDark: "#ffffff", hcLight: "#0F4A85" }, _(1968, "Minimap marker color for the editor selection."), !0), Vue = T("minimap.infoHighlight", { dark: ef, light: ef, hcDark: Kv, hcLight: Kv }, _(1969, "Minimap marker color for infos.")), Wue = T("minimap.warningHighlight", { dark: Id, light: Id, hcDark: jv, hcLight: jv }, _(1970, "Minimap marker color for warnings.")), Hue = T("minimap.errorHighlight", { dark: new q(new W(255, 18, 18, 0.7)), light: new q(new W(255, 18, 18, 0.7)), hcDark: new q(new W(255, 50, 50, 1)), hcLight: "#B5200D" }, _(1971, "Minimap marker color for errors.")), zue = T("minimap.background", null, _(1972, "Minimap background color.")), $ue = T("minimap.foregroundOpacity", q.fromHex("#000f"), _(1973, 'Opacity of foreground elements rendered in the minimap. For example, "#000000c0" will render the elements with 75% opacity.'));
44316
44318
  T("minimapSlider.background", Ue(Gz, 0.5), _(1974, "Minimap slider background color."));
44317
44319
  T("minimapSlider.hoverBackground", Ue(Yz, 0.5), _(1975, "Minimap slider background color when hovering."));
44318
44320
  T("minimapSlider.activeBackground", Ue(Xz, 0.5), _(1976, "Minimap slider background color when clicked on."));
@@ -44344,7 +44346,7 @@ T("editorActionList.background", mo, _(1955, "Action List background color."));
44344
44346
  T("editorActionList.foreground", Zx, _(1956, "Action List foreground color."));
44345
44347
  T("editorActionList.focusForeground", ib, _(1957, "Action List foreground color for the focused item."));
44346
44348
  T("editorActionList.focusBackground", tf, _(1958, "Action List background color for the focused item."));
44347
- const Wfe = T("menu.border", { dark: null, light: null, hcDark: st, hcLight: st }, _(1959, "Border color of menus.")), Hfe = T("menu.foreground", AA, _(1960, "Foreground color of menu items.")), zfe = T("menu.background", Qx, _(1961, "Background color of menu items.")), $fe = T("menu.selectionForeground", ib, _(1962, "Foreground color of the selected menu item in menus.")), Ufe = T("menu.selectionBackground", tf, _(1963, "Background color of the selected menu item in menus.")), jfe = T("menu.selectionBorder", { dark: null, light: null, hcDark: gn, hcLight: gn }, _(1964, "Border color of the selected menu item in menus.")), Kfe = T("menu.separatorBackground", { dark: "#606060", light: "#D4D4D4", hcDark: st, hcLight: st }, _(1965, "Color of a separator menu item in menus.")), kk = T("quickInput.background", mo, _(1992, "Quick picker background color. The quick picker widget is the container for pickers like the command palette.")), qfe = T("quickInput.foreground", Zx, _(1993, "Quick picker foreground color. The quick picker widget is the container for pickers like the command palette.")), Gfe = T("quickInputTitle.background", { dark: new q(new W(255, 255, 255, 0.105)), light: new q(new W(0, 0, 0, 0.06)), hcDark: "#000000", hcLight: q.white }, _(1994, "Quick picker title background color. The quick picker widget is the container for pickers like the command palette.")), u$ = T("pickerGroup.foreground", { dark: "#3794FF", light: "#0066BF", hcDark: q.white, hcLight: "#0F4A85" }, _(1995, "Quick picker color for grouping labels.")), Yfe = T("pickerGroup.border", { dark: "#3F3F46", light: "#CCCEDB", hcDark: q.white, hcLight: "#0F4A85" }, _(1996, "Quick picker color for grouping borders.")), BF = T("quickInput.list.focusBackground", null, "", void 0, _(1997, "Please use quickInputList.focusBackground instead")), ST = T("quickInputList.focusForeground", ib, _(1998, "Quick picker foreground color for the focused item.")), f$ = T("quickInputList.focusIconForeground", l$, _(1999, "Quick picker icon foreground color for the focused item.")), xT = T("quickInputList.focusBackground", { dark: DF(BF, tf), light: DF(BF, tf), hcDark: null, hcLight: null }, _(2e3, "Quick picker background color for the focused item."));
44349
+ const Wfe = T("menu.border", { dark: null, light: null, hcDark: st, hcLight: st }, _(1959, "Border color of menus.")), Hfe = T("menu.foreground", AA, _(1960, "Foreground color of menu items.")), zfe = T("menu.background", Qx, _(1961, "Background color of menu items.")), $fe = T("menu.selectionForeground", ib, _(1962, "Foreground color of the selected menu item in menus.")), Ufe = T("menu.selectionBackground", tf, _(1963, "Background color of the selected menu item in menus.")), jfe = T("menu.selectionBorder", { dark: null, light: null, hcDark: gn, hcLight: gn }, _(1964, "Border color of the selected menu item in menus.")), Kfe = T("menu.separatorBackground", { dark: "#606060", light: "#D4D4D4", hcDark: st, hcLight: st }, _(1965, "Color of a separator menu item in menus.")), kk = T("quickInput.background", mo, _(1992, "Quick picker background color. The quick picker widget is the container for pickers like the command palette.")), qfe = T("quickInput.foreground", Zx, _(1993, "Quick picker foreground color. The quick picker widget is the container for pickers like the command palette.")), Gfe = T("quickInputTitle.background", { dark: new q(new W(255, 255, 255, 0.105)), light: new q(new W(0, 0, 0, 0.06)), hcDark: "#000000", hcLight: q.white }, _(1994, "Quick picker title background color. The quick picker widget is the container for pickers like the command palette.")), u$ = T("pickerGroup.foreground", { dark: "#3794FF", light: "#0066BF", hcDark: q.white, hcLight: "#0F4A85" }, _(1995, "Quick picker color for grouping labels.")), Yfe = T("pickerGroup.border", { dark: "#3F3F46", light: "#CCCEDB", hcDark: q.white, hcLight: "#0F4A85" }, _(1996, "Quick picker color for grouping borders.")), B7 = T("quickInput.list.focusBackground", null, "", void 0, _(1997, "Please use quickInputList.focusBackground instead")), ST = T("quickInputList.focusForeground", ib, _(1998, "Quick picker foreground color for the focused item.")), f$ = T("quickInputList.focusIconForeground", l$, _(1999, "Quick picker icon foreground color for the focused item.")), xT = T("quickInputList.focusBackground", { dark: D7(B7, tf), light: D7(B7, tf), hcDark: null, hcLight: null }, _(2e3, "Quick picker background color for the focused item."));
44348
44350
  T("search.resultsInfoForeground", { light: St, dark: Ue(St, 0.65), hcDark: St, hcLight: St }, _(2001, "Color of the text in the search viewlet's completion message."));
44349
44351
  T("searchEditor.findMatchBackground", { light: Ue(od, 0.66), dark: Ue(od, 0.66), hcDark: od, hcLight: od }, _(2002, "Color of the Search Editor query matches."));
44350
44352
  T("searchEditor.findMatchBorder", { light: Ue(wg, 0.66), dark: Ue(wg, 0.66), hcDark: wg, hcLight: wg }, _(2003, "Border color of the Search Editor query matches."));
@@ -45497,7 +45499,7 @@ class cge extends lge {
45497
45499
  return ui.createOverlayWidget(this.target, this._getMouseColumn(), e);
45498
45500
  }
45499
45501
  }
45500
- const VF = { isAfterLines: !0 };
45502
+ const V7 = { isAfterLines: !0 };
45501
45503
  function eh(s) {
45502
45504
  return {
45503
45505
  isAfterLines: !1,
@@ -45599,10 +45601,10 @@ class Ai {
45599
45601
  if (!Ki.isChildOfViewLines(t.targetPath))
45600
45602
  return null;
45601
45603
  if (e.isInTopPadding(t.mouseVerticalOffset))
45602
- return t.fulfillContentEmpty(new P(1, 1), VF);
45604
+ return t.fulfillContentEmpty(new P(1, 1), V7);
45603
45605
  if (e.isAfterLines(t.mouseVerticalOffset) || e.isInBottomPadding(t.mouseVerticalOffset)) {
45604
45606
  const i = e.viewModel.getLineCount(), r = e.viewModel.getLineMaxColumn(i);
45605
- return t.fulfillContentEmpty(new P(i, r), VF);
45607
+ return t.fulfillContentEmpty(new P(i, r), V7);
45606
45608
  }
45607
45609
  if (Ki.isStrictChildOfViewLines(t.targetPath)) {
45608
45610
  const i = e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset), r = e.viewModel.getLineLength(i), o = e.getLineWidth(i);
@@ -46543,7 +46545,7 @@ class rm extends U {
46543
46545
  n.equals(e) || (this._state = e, this._onScroll.fire(this._state.createScrollEvent(n, t)));
46544
46546
  }
46545
46547
  }
46546
- class WF {
46548
+ class W7 {
46547
46549
  constructor(e, t, n) {
46548
46550
  this.scrollLeft = e, this.scrollTop = t, this.isDone = n;
46549
46551
  }
@@ -46586,9 +46588,9 @@ class rb {
46586
46588
  const t = (e - this.startTime) / this.duration;
46587
46589
  if (t < 1) {
46588
46590
  const n = this.scrollLeft(t), i = this.scrollTop(t);
46589
- return new WF(n, i, !1);
46591
+ return new W7(n, i, !1);
46590
46592
  }
46591
- return new WF(this.to.scrollLeft, this.to.scrollTop, !0);
46593
+ return new W7(this.to.scrollLeft, this.to.scrollTop, !0);
46592
46594
  }
46593
46595
  combine(e, t, n) {
46594
46596
  return rb.start(e, t, n);
@@ -46605,7 +46607,7 @@ function wge(s) {
46605
46607
  function Cge(s) {
46606
46608
  return 1 - wge(1 - s);
46607
46609
  }
46608
- const vge = 500, HF = 50;
46610
+ const vge = 500, H7 = 50;
46609
46611
  class yge {
46610
46612
  constructor(e, t, n) {
46611
46613
  this.timestamp = e, this.deltaX = t, this.deltaY = n, this.score = 0;
@@ -46752,11 +46754,11 @@ class BA extends cl {
46752
46754
  const l = this._scrollable.getFutureScrollPosition();
46753
46755
  let c = {};
46754
46756
  if (r) {
46755
- const d = HF * r, h = l.scrollTop - (d < 0 ? Math.floor(d) : Math.ceil(d));
46757
+ const d = H7 * r, h = l.scrollTop - (d < 0 ? Math.floor(d) : Math.ceil(d));
46756
46758
  this._verticalScrollbar.writeScrollPosition(c, h);
46757
46759
  }
46758
46760
  if (o) {
46759
- const d = HF * o, h = l.scrollLeft - (d < 0 ? Math.floor(d) : Math.ceil(d));
46761
+ const d = H7 * o, h = l.scrollLeft - (d < 0 ? Math.floor(d) : Math.ceil(d));
46760
46762
  this._horizontalScrollbar.writeScrollPosition(c, h);
46761
46763
  }
46762
46764
  if (c = this._scrollable.validateScrollPosition(c), this._options.inertialScroll && (o || r)) {
@@ -47521,7 +47523,7 @@ var Ige = function(s, e, t, n) {
47521
47523
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r = Reflect.decorate(s, e, t, n);
47522
47524
  else for (var a = s.length - 1; a >= 0; a--) (o = s[a]) && (r = (i < 3 ? o(r) : i > 3 ? o(e, t, r) : o(e, t)) || r);
47523
47525
  return i > 3 && r && Object.defineProperty(e, t, r), r;
47524
- }, zF = function(s, e) {
47526
+ }, z7 = function(s, e) {
47525
47527
  return function(t, n) {
47526
47528
  e(t, n, s);
47527
47529
  };
@@ -47700,8 +47702,8 @@ let DT = class extends U {
47700
47702
  }
47701
47703
  };
47702
47704
  DT = Ige([
47703
- zF(4, Dr),
47704
- zF(5, cs)
47705
+ z7(4, Dr),
47706
+ z7(5, cs)
47705
47707
  ], DT);
47706
47708
  class Rge extends U {
47707
47709
  get ownerDocument() {
@@ -49987,7 +49989,7 @@ class NT {
49987
49989
  return !o && a;
49988
49990
  }
49989
49991
  }
49990
- class $F {
49992
+ class $7 {
49991
49993
  static getEdits(e, t) {
49992
49994
  if (!(e.inputMode === "overtype"))
49993
49995
  return null;
@@ -50385,12 +50387,12 @@ function KA(s, e) {
50385
50387
  return s === " " ? e === 5 || e === 6 ? 6 : 5 : 4;
50386
50388
  }
50387
50389
  function nL(s, e) {
50388
- return jF(s) && !jF(e) ? !0 : s === 5 ? !1 : UF(s) !== UF(e);
50390
+ return j7(s) && !j7(e) ? !0 : s === 5 ? !1 : U7(s) !== U7(e);
50389
50391
  }
50390
- function UF(s) {
50392
+ function U7(s) {
50391
50393
  return s === 6 || s === 5 ? "space" : s;
50392
50394
  }
50393
- function jF(s) {
50395
+ function j7(s) {
50394
50396
  return s === 4 || s === 5 || s === 6;
50395
50397
  }
50396
50398
  function D$(s, e, t, n, i) {
@@ -50484,7 +50486,7 @@ class Eh {
50484
50486
  else if (a !== u.insertedText)
50485
50487
  return null;
50486
50488
  if (!a || a.length !== 1)
50487
- return $F.getEdits(t, i);
50489
+ return $7.getEdits(t, i);
50488
50490
  const l = a;
50489
50491
  let c = !1;
50490
50492
  for (const u of i)
@@ -50519,7 +50521,7 @@ class Eh {
50519
50521
  if (d !== void 0)
50520
50522
  return d;
50521
50523
  const h = NT.getEdits(t, n, r, l, !0, !1);
50522
- return h !== void 0 ? h : $F.getEdits(t, i);
50524
+ return h !== void 0 ? h : $7.getEdits(t, i);
50523
50525
  }
50524
50526
  static typeWithInterceptors(e, t, n, i, r, o, a) {
50525
50527
  const l = E$.getEdits(n, i, r, a, e);
@@ -51927,10 +51929,10 @@ om(
51927
51929
  1036
51928
51930
  /* KeyCode.PageDown */
51929
51931
  );
51930
- function KF(s) {
51932
+ function K7(s) {
51931
51933
  return s.register(), s;
51932
51934
  }
51933
- var qF;
51935
+ var q7;
51934
51936
  (function(s) {
51935
51937
  class e extends Ju {
51936
51938
  runEditorCommand(n, i, r) {
@@ -52071,8 +52073,8 @@ var qF;
52071
52073
  return n.getModel().redo();
52072
52074
  }
52073
52075
  }();
52074
- })(qF || (qF = {}));
52075
- class GF extends $x {
52076
+ })(q7 || (q7 = {}));
52077
+ class G7 extends $x {
52076
52078
  constructor(e, t, n) {
52077
52079
  super({
52078
52080
  id: e,
@@ -52086,7 +52088,7 @@ class GF extends $x {
52086
52088
  }
52087
52089
  }
52088
52090
  function Lf(s, e) {
52089
- KF(new GF("default:" + s, s)), KF(new GF(s, s, e));
52091
+ K7(new G7("default:" + s, s)), K7(new G7(s, s, e));
52090
52092
  }
52091
52093
  Lf("type", {
52092
52094
  description: "Type",
@@ -53048,7 +53050,7 @@ class Cpe {
53048
53050
  if (!l)
53049
53051
  return null;
53050
53052
  const c = o.column === 1 && a === 3 ? 0 : l.left, d = e.getVerticalOffsetForLineNumber(o.lineNumber) - e.scrollTop, h = e.getLineHeightForLineNumber(o.lineNumber);
53051
- return new YF(d, c, h);
53053
+ return new Y7(d, c, h);
53052
53054
  }
53053
53055
  }
53054
53056
  _reduceAnchorCoordinates(e, t, n) {
@@ -53059,7 +53061,7 @@ class Cpe {
53059
53061
  /* EditorOption.fontInfo */
53060
53062
  );
53061
53063
  let r = t.left;
53062
- return r < e.left ? r = Math.max(r, e.left - n + i.typicalFullwidthCharacterWidth) : r = Math.min(r, e.left + n - i.typicalFullwidthCharacterWidth), new YF(e.top, r, e.height);
53064
+ return r < e.left ? r = Math.max(r, e.left - n + i.typicalFullwidthCharacterWidth) : r = Math.min(r, e.left + n - i.typicalFullwidthCharacterWidth), new Y7(e.top, r, e.height);
53063
53065
  }
53064
53066
  _prepareRenderWidget(e) {
53065
53067
  if (!this._preference || this._preference.length === 0)
@@ -53145,7 +53147,7 @@ class xm {
53145
53147
  this.top = e, this.left = t, this._coordinateBrand = void 0;
53146
53148
  }
53147
53149
  }
53148
- class YF {
53150
+ class Y7 {
53149
53151
  constructor(e, t, n) {
53150
53152
  this.top = e, this.left = t, this.height = n, this._anchorCoordinateBrand = void 0;
53151
53153
  }
@@ -53207,7 +53209,7 @@ class ype extends U {
53207
53209
  updateStyles() {
53208
53210
  }
53209
53211
  }
53210
- const O$ = T("editor.lineHighlightBackground", null, _(607, "Background color for the highlight of line at the cursor position.")), XF = T("editor.lineHighlightBorder", { dark: "#282828", light: "#eeeeee", hcDark: "#f38518", hcLight: st }, _(608, "Background color for the border around the line at the cursor position."));
53212
+ const O$ = T("editor.lineHighlightBackground", null, _(607, "Background color for the highlight of line at the cursor position.")), X7 = T("editor.lineHighlightBorder", { dark: "#282828", light: "#eeeeee", hcDark: "#f38518", hcLight: st }, _(608, "Background color for the border around the line at the cursor position."));
53211
53213
  T("editor.rangeHighlightBackground", { dark: "#ffffff0b", light: "#fdff0033", hcDark: null, hcLight: null }, _(609, "Background color of highlighted ranges, like by quick open and find features. The color must not be opaque so as not to hide underlying decorations."), !0);
53212
53214
  T("editor.rangeHighlightBorder", { dark: null, light: null, hcDark: gn, hcLight: gn }, _(610, "Background color of the border around highlighted ranges."));
53213
53215
  T("editor.symbolHighlightBackground", { dark: od, light: od, hcDark: null, hcLight: null }, _(611, "Background color of highlighted symbol, like for go to definition or go next/previous symbol. The color must not be opaque so as not to hide underlying decorations."), !0);
@@ -53367,8 +53369,8 @@ class lme extends U$ {
53367
53369
  }
53368
53370
  Lc((s, e) => {
53369
53371
  const t = s.getColor(O$);
53370
- if (t && (e.addRule(`.monaco-editor .view-overlays .current-line { background-color: ${t}; }`), e.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { background-color: ${t}; border: none; }`)), !t || t.isTransparent() || s.defines(XF)) {
53371
- const n = s.getColor(XF);
53372
+ if (t && (e.addRule(`.monaco-editor .view-overlays .current-line { background-color: ${t}; }`), e.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { background-color: ${t}; border: none; }`)), !t || t.isTransparent() || s.defines(X7)) {
53373
+ const n = s.getColor(X7);
53372
53374
  n && (e.addRule(`.monaco-editor .view-overlays .current-line-exact { border: 2px solid ${n}; }`), e.addRule(`.monaco-editor .margin-view-overlays .current-line-exact-margin { border: 2px solid ${n}; }`), Jg(s.type) && (e.addRule(".monaco-editor .view-overlays .current-line-exact { border-width: 1px; }"), e.addRule(".monaco-editor .margin-view-overlays .current-line-exact-margin { border-width: 1px; }")));
53373
53375
  }
53374
53376
  });
@@ -55174,7 +55176,7 @@ class ob {
55174
55176
  }
55175
55177
  }
55176
55178
  }
55177
- const ZF = {
55179
+ const Z7 = {
55178
55180
  0: 0,
55179
55181
  1: 1,
55180
55182
  2: 2,
@@ -55191,14 +55193,14 @@ const ZF = {
55191
55193
  D: 13,
55192
55194
  E: 14,
55193
55195
  F: 15
55194
- }, QF = (s) => {
55196
+ }, Q7 = (s) => {
55195
55197
  const e = new Uint8ClampedArray(s.length / 2);
55196
55198
  for (let t = 0; t < s.length; t += 2)
55197
- e[t >> 1] = ZF[s[t]] << 4 | ZF[s[t + 1]] & 15;
55199
+ e[t >> 1] = Z7[s[t]] << 4 | Z7[s[t + 1]] & 15;
55198
55200
  return e;
55199
- }, JF = {
55200
- 1: A1(() => QF("0000511D6300CF609C709645A78432005642574171487021003C451900274D35D762755E8B629C5BA856AF57BA649530C167D1512A272A3F6038604460398526BCA2A968DB6F8957C768BE5FBE2FB467CF5D8D5B795DC7625B5DFF50DE64C466DB2FC47CD860A65E9A2EB96CB54CE06DA763AB2EA26860524D3763536601005116008177A8705E53AB738E6A982F88BAA35B5F5B626D9C636B449B737E5B7B678598869A662F6B5B8542706C704C80736A607578685B70594A49715A4522E792")),
55201
- 2: A1(() => QF("000000000000000055394F383D2800008B8B1F210002000081B1CBCBCC820000847AAF6B9AAF2119BE08B8881AD60000A44FD07DCCF107015338130C00000000385972265F390B406E2437634B4B48031B12B8A0847000001E15B29A402F0000000000004B33460B00007A752C2A0000000000004D3900000084394B82013400ABA5CFC7AD9C0302A45A3E5A98AB000089A43382D97900008BA54AA087A70A0248A6A7AE6DBE0000BF6F94987EA40A01A06DCFA7A7A9030496C32F77891D0000A99FB1A0AFA80603B29AB9CA75930D010C0948354D3900000C0948354F37460D0028BE673D8400000000AF9D7B6E00002B007AA8933400007AA642675C2700007984CFB9C3985B768772A8A6B7B20000CAAECAAFC4B700009F94A6009F840009D09F9BA4CA9C0000CC8FC76DC87F0000C991C472A2000000A894A48CA7B501079BA2C9C69BA20000B19A5D3FA89000005CA6009DA2960901B0A7F0669FB200009D009E00B7890000DAD0F5D092820000D294D4C48BD10000B5A7A4A3B1A50402CAB6CBA6A2000000B5A7A4A3B1A8044FCDADD19D9CB00000B7778F7B8AAE0803C9AB5D3F5D3F00009EA09EA0BAB006039EA0989A8C7900009B9EF4D6B7C00000A9A7816CACA80000ABAC84705D3F000096DA635CDC8C00006F486F266F263D4784006124097B00374F6D2D6D2D6D4A3A95872322000000030000000000008D8939130000000000002E22A5C9CBC70600AB25C0B5C9B400061A2DB04CA67001082AA6BEBEBFC606002321DACBC19E03087AA08B6768380000282FBAC0B8CA7A88AD25BBA5A29900004C396C5894A6000040485A6E356E9442A32CD17EADA70000B4237923628600003E2DE9C1D7B500002F25BBA5A2990000231DB6AFB4A804023025C0B5CAB588062B2CBDBEC0C706882435A75CA20000002326BD6A82A908048B4B9A5A668000002423A09CB4BB060025259C9D8A7900001C1FCAB2C7C700002A2A9387ABA200002626A4A47D6E9D14333163A0C87500004B6F9C2D643A257049364936493647358A34438355497F1A0000A24C1D590000D38DFFBDD4CD3126"))
55201
+ }, J7 = {
55202
+ 1: A1(() => Q7("0000511D6300CF609C709645A78432005642574171487021003C451900274D35D762755E8B629C5BA856AF57BA649530C167D1512A272A3F6038604460398526BCA2A968DB6F8957C768BE5FBE2FB467CF5D8D5B795DC7625B5DFF50DE64C466DB2FC47CD860A65E9A2EB96CB54CE06DA763AB2EA26860524D3763536601005116008177A8705E53AB738E6A982F88BAA35B5F5B626D9C636B449B737E5B7B678598869A662F6B5B8542706C704C80736A607578685B70594A49715A4522E792")),
55203
+ 2: A1(() => Q7("000000000000000055394F383D2800008B8B1F210002000081B1CBCBCC820000847AAF6B9AAF2119BE08B8881AD60000A44FD07DCCF107015338130C00000000385972265F390B406E2437634B4B48031B12B8A0847000001E15B29A402F0000000000004B33460B00007A752C2A0000000000004D3900000084394B82013400ABA5CFC7AD9C0302A45A3E5A98AB000089A43382D97900008BA54AA087A70A0248A6A7AE6DBE0000BF6F94987EA40A01A06DCFA7A7A9030496C32F77891D0000A99FB1A0AFA80603B29AB9CA75930D010C0948354D3900000C0948354F37460D0028BE673D8400000000AF9D7B6E00002B007AA8933400007AA642675C2700007984CFB9C3985B768772A8A6B7B20000CAAECAAFC4B700009F94A6009F840009D09F9BA4CA9C0000CC8FC76DC87F0000C991C472A2000000A894A48CA7B501079BA2C9C69BA20000B19A5D3FA89000005CA6009DA2960901B0A7F0669FB200009D009E00B7890000DAD0F5D092820000D294D4C48BD10000B5A7A4A3B1A50402CAB6CBA6A2000000B5A7A4A3B1A8044FCDADD19D9CB00000B7778F7B8AAE0803C9AB5D3F5D3F00009EA09EA0BAB006039EA0989A8C7900009B9EF4D6B7C00000A9A7816CACA80000ABAC84705D3F000096DA635CDC8C00006F486F266F263D4784006124097B00374F6D2D6D2D6D4A3A95872322000000030000000000008D8939130000000000002E22A5C9CBC70600AB25C0B5C9B400061A2DB04CA67001082AA6BEBEBFC606002321DACBC19E03087AA08B6768380000282FBAC0B8CA7A88AD25BBA5A29900004C396C5894A6000040485A6E356E9442A32CD17EADA70000B4237923628600003E2DE9C1D7B500002F25BBA5A2990000231DB6AFB4A804023025C0B5CAB588062B2CBDBEC0C706882435A75CA20000002326BD6A82A908048B4B9A5A668000002423A09CB4BB060025259C9D8A7900001C1FCAB2C7C700002A2A9387ABA200002626A4A47D6E9D14333163A0C87500004B6F9C2D643A257049364936493647358A34438355497F1A0000A24C1D590000D38DFFBDD4CD3126"))
55202
55204
  };
55203
55205
  class T_ {
55204
55206
  /**
@@ -55208,7 +55210,7 @@ class T_ {
55208
55210
  if (this.lastCreated && e === this.lastCreated.scale && t === this.lastFontFamily)
55209
55211
  return this.lastCreated;
55210
55212
  let n;
55211
- return JF[e] ? n = new ob(JF[e](), e) : n = T_.createFromSampleData(T_.createSampleData(t).data, e), this.lastFontFamily = t, this.lastCreated = n, n;
55213
+ return J7[e] ? n = new ob(J7[e](), e) : n = T_.createFromSampleData(T_.createSampleData(t).data, e), this.lastFontFamily = t, this.lastCreated = n, n;
55212
55214
  }
55213
55215
  /**
55214
55216
  * Creates the font sample data, writing to a canvas.
@@ -55442,7 +55444,7 @@ const DS = class DS {
55442
55444
  };
55443
55445
  DS.INVALID = new DS(-1);
55444
55446
  let oy = DS;
55445
- class e7 {
55447
+ class eF {
55446
55448
  constructor(e, t, n) {
55447
55449
  this.renderedLayout = e, this._imageData = t, this._renderedLines = new N$({
55448
55450
  createLine: () => oy.INVALID
@@ -55807,7 +55809,7 @@ class Rme extends hs {
55807
55809
  }
55808
55810
  class yg extends U {
55809
55811
  constructor(e, t) {
55810
- super(), this._renderDecorations = !1, this._gestureInProgress = !1, this._isMouseOverMinimap = !1, this._theme = e, this._model = t, this._lastRenderData = null, this._buffers = null, this._selectionColor = this._theme.getColor(FF), this._domNode = it(document.createElement("div")), ea.write(
55812
+ super(), this._renderDecorations = !1, this._gestureInProgress = !1, this._isMouseOverMinimap = !1, this._theme = e, this._model = t, this._lastRenderData = null, this._buffers = null, this._selectionColor = this._theme.getColor(F7), this._domNode = it(document.createElement("div")), ea.write(
55811
55813
  this._domNode,
55812
55814
  9
55813
55815
  /* PartFingerprint.Minimap */
@@ -55916,7 +55918,7 @@ class yg extends U {
55916
55918
  return this._model.options.autohide === "scroll" && (e.scrollTopChanged || e.scrollHeightChanged) && (this._domNode.toggleClassName("active", !0), this._hideSoon()), this._renderDecorations = !0, !0;
55917
55919
  }
55918
55920
  onThemeChanged() {
55919
- return this._selectionColor = this._theme.getColor(FF), this._renderDecorations = !0, !0;
55921
+ return this._selectionColor = this._theme.getColor(F7), this._renderDecorations = !0, !0;
55920
55922
  }
55921
55923
  onTokensChanged(e) {
55922
55924
  return this._lastRenderData ? this._lastRenderData.onTokensChanged(e) : !1;
@@ -55946,9 +55948,9 @@ class yg extends U {
55946
55948
  n.sort((u, f) => (u.options.zIndex || 0) - (f.options.zIndex || 0));
55947
55949
  const { canvasInnerWidth: i, canvasInnerHeight: r } = this._model.options, o = this._model.options.minimapLineHeight, a = this._model.options.minimapCharWidth, l = this._model.getOptions().tabSize, c = this._decorationsCanvas.domNode.getContext("2d");
55948
55950
  c.clearRect(0, 0, i, r);
55949
- const d = new t7(e.startLineNumber, e.endLineNumber, !1);
55951
+ const d = new tF(e.startLineNumber, e.endLineNumber, !1);
55950
55952
  this._renderSelectionLineHighlights(c, t, d, e, o), this._renderDecorationsLineHighlights(c, n, d, e, o);
55951
- const h = new t7(e.startLineNumber, e.endLineNumber, null);
55953
+ const h = new tF(e.startLineNumber, e.endLineNumber, null);
55952
55954
  this._renderSelectionsHighlights(c, t, h, e, o, l, a, i), this._renderDecorationsHighlights(c, n, h, e, o, l, a, i), this._renderSectionHeaders(e);
55953
55955
  }
55954
55956
  }
@@ -56088,7 +56090,7 @@ class yg extends U {
56088
56090
  const t = e.startLineNumber, n = e.endLineNumber, i = this._model.options.minimapLineHeight;
56089
56091
  if (this._lastRenderData && this._lastRenderData.linesEquals(e)) {
56090
56092
  const H = this._lastRenderData._get();
56091
- return new e7(e, H.imageData, H.lines);
56093
+ return new eF(e, H.imageData, H.lines);
56092
56094
  }
56093
56095
  const r = this._getBuffer();
56094
56096
  if (!r)
@@ -56099,7 +56101,7 @@ class yg extends U {
56099
56101
  for (let H = 0, G = n - t + 1; H < G; H++)
56100
56102
  l[H] && yg._renderLine(r, k, u.a, p, m, C, g, f, b, E, L, d, c[H], w, i), I[H] = new oy(E), E += i;
56101
56103
  const A = o === -1 ? 0 : o, O = (a === -1 ? r.height : a) - A;
56102
- return this._canvas.domNode.getContext("2d").putImageData(r, 0, 0, 0, A, r.width, O), new e7(e, r, I);
56104
+ return this._canvas.domNode.getContext("2d").putImageData(r, 0, 0, 0, A, r.width, O), new eF(e, r, I);
56103
56105
  }
56104
56106
  static _renderUntouchedLines(e, t, n, i, r, o) {
56105
56107
  const a = [];
@@ -56147,7 +56149,7 @@ class yg extends U {
56147
56149
  }
56148
56150
  }
56149
56151
  }
56150
- class t7 {
56152
+ class tF {
56151
56153
  constructor(e, t, n) {
56152
56154
  this._startLineNumber = e, this._endLineNumber = t, this._defaultValue = n, this._values = [];
56153
56155
  for (let i = 0, r = this._endLineNumber - this._startLineNumber + 1; i < r; i++)
@@ -56546,7 +56548,7 @@ class Pme extends hs {
56546
56548
  this._settings.renderBorder && this._settings.borderColor && this._settings.overviewRulerLanes > 0 && (h.beginPath(), h.lineWidth = 1, h.strokeStyle = this._settings.borderColor, h.moveTo(0, 0), h.lineTo(0, i), h.moveTo(1, 0), h.lineTo(n, 0), h.stroke());
56547
56549
  }
56548
56550
  }
56549
- class n7 {
56551
+ class nF {
56550
56552
  constructor(e, t, n) {
56551
56553
  this._colorZoneBrand = void 0, this.from = e | 0, this.to = t | 0, this.colorId = n | 0;
56552
56554
  }
@@ -56625,10 +56627,10 @@ class Fme {
56625
56627
  const b = d.color;
56626
56628
  let w = this._color2Id[b];
56627
56629
  w || (w = ++this._lastAssignedId, this._color2Id[b] = w, this._id2Color[w] = b);
56628
- const C = new n7(p - m, p + m, w);
56630
+ const C = new nF(p - m, p + m, w);
56629
56631
  d.setColorZone(C), a.push(C);
56630
56632
  }
56631
- return this._colorZonesInvalid = !1, a.sort(n7.compare), a;
56633
+ return this._colorZonesInvalid = !1, a.sort(nF.compare), a;
56632
56634
  }
56633
56635
  }
56634
56636
  class Bme extends xf {
@@ -56983,7 +56985,7 @@ Lc((s, e) => {
56983
56985
  function nw(s) {
56984
56986
  return s < 0 ? -s : s;
56985
56987
  }
56986
- class i7 {
56988
+ class iF {
56987
56989
  constructor(e, t, n, i, r, o, a) {
56988
56990
  this.top = e, this.left = t, this.paddingLeft = n, this.width = i, this.height = r, this.textContent = o, this.textContentClassName = a;
56989
56991
  }
@@ -56992,7 +56994,7 @@ var sc;
56992
56994
  (function(s) {
56993
56995
  s[s.Single = 0] = "Single", s[s.MultiPrimary = 1] = "MultiPrimary", s[s.MultiSecondary = 2] = "MultiSecondary";
56994
56996
  })(sc || (sc = {}));
56995
- class s7 {
56997
+ class sF {
56996
56998
  constructor(e, t) {
56997
56999
  this._context = e;
56998
57000
  const n = this._context.configuration.options, i = n.get(
@@ -57076,7 +57078,7 @@ class s7 {
57076
57078
  let w = p.left, C = 0;
57077
57079
  b >= 2 && w >= 1 && (C = 1, w -= C);
57078
57080
  const v = e.getVerticalOffsetForLineNumber(i.lineNumber) - e.bigNumbersDelta + l;
57079
- return new i7(v, w, C, b, a, t, n);
57081
+ return new iF(v, w, C, b, a, t, n);
57080
57082
  }
57081
57083
  const c = e.linesVisibleRangesForRange(new M(i.lineNumber, i.column, i.lineNumber, i.column + r.length), !1);
57082
57084
  if (!c || c.length === 0)
@@ -57087,7 +57089,7 @@ class s7 {
57087
57089
  const h = d.ranges[0], u = r === " " ? this._typicalHalfwidthCharacterWidth : h.width < 1 ? this._typicalHalfwidthCharacterWidth : h.width;
57088
57090
  this._cursorStyle === jn.Block && (t = r, n = this._getTokenClassName(i));
57089
57091
  let f = e.getVerticalOffsetForLineNumber(i.lineNumber) - e.bigNumbersDelta, g = o;
57090
- return (this._cursorStyle === jn.Underline || this._cursorStyle === jn.UnderlineThin) && (f += o - 2, g = 2), new i7(f, h.left, 0, u, g, t, n);
57092
+ return (this._cursorStyle === jn.Underline || this._cursorStyle === jn.UnderlineThin) && (f += o - 2, g = 2), new iF(f, h.left, 0, u, g, t, n);
57091
57093
  }
57092
57094
  _getTokenClassName(e) {
57093
57095
  const t = this._context.viewModel.getViewLineData(e.lineNumber), n = t.tokens.findTokenIndexAtOffset(e.column - 1);
@@ -57125,7 +57127,7 @@ const o1 = class o1 extends hs {
57125
57127
  ), this._editContextEnabled = t.get(
57126
57128
  170
57127
57129
  /* EditorOption.effectiveEditContext */
57128
- ), this._selectionIsEmpty = !0, this._isComposingInput = !1, this._isVisible = !1, this._primaryCursor = new s7(this._context, sc.Single), this._secondaryCursors = [], this._renderData = [], this._domNode = it(document.createElement("div")), this._domNode.setAttribute("role", "presentation"), this._domNode.setAttribute("aria-hidden", "true"), this._updateDomClassName(), this._domNode.appendChild(this._primaryCursor.getDomNode()), this._startCursorBlinkAnimation = new Cc(), this._cursorFlatBlinkInterval = new Tx(), this._blinkingEnabled = !1, this._editorHasFocus = !1, this._updateBlinking();
57130
+ ), this._selectionIsEmpty = !0, this._isComposingInput = !1, this._isVisible = !1, this._primaryCursor = new sF(this._context, sc.Single), this._secondaryCursors = [], this._renderData = [], this._domNode = it(document.createElement("div")), this._domNode.setAttribute("role", "presentation"), this._domNode.setAttribute("aria-hidden", "true"), this._updateDomClassName(), this._domNode.appendChild(this._primaryCursor.getDomNode()), this._startCursorBlinkAnimation = new Cc(), this._cursorFlatBlinkInterval = new Tx(), this._blinkingEnabled = !1, this._editorHasFocus = !1, this._updateBlinking();
57129
57131
  }
57130
57132
  dispose() {
57131
57133
  super.dispose(), this._startCursorBlinkAnimation.dispose(), this._cursorFlatBlinkInterval.dispose();
@@ -57167,7 +57169,7 @@ const o1 = class o1 extends hs {
57167
57169
  if (this._primaryCursor.setPlurality(t.length ? sc.MultiPrimary : sc.Single), this._primaryCursor.onCursorPositionChanged(e, i), this._updateBlinking(), this._secondaryCursors.length < t.length) {
57168
57170
  const r = t.length - this._secondaryCursors.length;
57169
57171
  for (let o = 0; o < r; o++) {
57170
- const a = new s7(this._context, sc.MultiSecondary);
57172
+ const a = new sF(this._context, sc.MultiSecondary);
57171
57173
  this._domNode.domNode.insertBefore(a.getDomNode().domNode, this._primaryCursor.getDomNode().domNode.nextSibling), this._secondaryCursors.push(a);
57172
57174
  }
57173
57175
  } else if (this._secondaryCursors.length > t.length) {
@@ -57532,14 +57534,14 @@ function Kme(s, e) {
57532
57534
  }
57533
57535
  class qme extends Ud {
57534
57536
  constructor(e) {
57535
- super(), this._context = e, this._options = new r7(this._context.configuration), this._selection = [], this._renderResult = null, this._context.addEventHandler(this);
57537
+ super(), this._context = e, this._options = new rF(this._context.configuration), this._selection = [], this._renderResult = null, this._context.addEventHandler(this);
57536
57538
  }
57537
57539
  dispose() {
57538
57540
  this._context.removeEventHandler(this), this._renderResult = null, super.dispose();
57539
57541
  }
57540
57542
  // --- begin event handlers
57541
57543
  onConfigurationChanged(e) {
57542
- const t = new r7(this._context.configuration);
57544
+ const t = new rF(this._context.configuration);
57543
57545
  return this._options.equals(t) ? e.hasChanged(
57544
57546
  165
57545
57547
  /* EditorOption.layoutInfo */
@@ -57633,7 +57635,7 @@ class qme extends Ud {
57633
57635
  return n < 0 || n >= this._renderResult.length ? "" : this._renderResult[n];
57634
57636
  }
57635
57637
  }
57636
- class r7 {
57638
+ class rF {
57637
57639
  constructor(e) {
57638
57640
  const t = e.options, n = t.get(
57639
57641
  59
@@ -58082,12 +58084,12 @@ class r_e {
58082
58084
  count: 0
58083
58085
  };
58084
58086
  const d = this._slabW % r.entryW, h = this._slabH % r.entryH;
58085
- d && o7(this._openRegionsByWidth, d, {
58087
+ d && oF(this._openRegionsByWidth, d, {
58086
58088
  x: r.x + this._slabW - d,
58087
58089
  w: d,
58088
58090
  y: r.y,
58089
58091
  h: this._slabH - (h ?? 0)
58090
- }), h && o7(this._openRegionsByHeight, h, {
58092
+ }), h && oF(this._openRegionsByHeight, h, {
58091
58093
  x: r.x,
58092
58094
  w: this._slabW,
58093
58095
  y: r.y + this._slabH - h,
@@ -58174,7 +58176,7 @@ class r_e {
58174
58176
  `);
58175
58177
  }
58176
58178
  }
58177
- function o7(s, e, t) {
58179
+ function oF(s, e, t) {
58178
58180
  let n = s.get(e);
58179
58181
  n || (n = [], s.set(e, n)), n.push(t);
58180
58182
  }
@@ -58183,7 +58185,7 @@ var o_e = function(s, e, t, n) {
58183
58185
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r = Reflect.decorate(s, e, t, n);
58184
58186
  else for (var a = s.length - 1; a >= 0; a--) (o = s[a]) && (r = (i < 3 ? o(r) : i > 3 ? o(e, t, r) : o(e, t)) || r);
58185
58187
  return i > 3 && r && Object.defineProperty(e, t, r), r;
58186
- }, a7 = function(s, e) {
58188
+ }, aF = function(s, e) {
58187
58189
  return function(t, n) {
58188
58190
  e(t, n, s);
58189
58191
  };
@@ -58241,15 +58243,15 @@ let Vo = (Eu = class extends U {
58241
58243
  }
58242
58244
  }, BT = Eu, Eu.maximumGlyphCount = 5e3, Eu);
58243
58245
  Vo = BT = o_e([
58244
- a7(3, cs),
58245
- a7(4, Js)
58246
+ aF(3, cs),
58247
+ aF(4, Js)
58246
58248
  ], Vo);
58247
58249
  var a_e = function(s, e, t, n) {
58248
58250
  var i = arguments.length, r = i < 3 ? e : n === null ? n = Object.getOwnPropertyDescriptor(e, t) : n, o;
58249
58251
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r = Reflect.decorate(s, e, t, n);
58250
58252
  else for (var a = s.length - 1; a >= 0; a--) (o = s[a]) && (r = (i < 3 ? o(r) : i > 3 ? o(e, t, r) : o(e, t)) || r);
58251
58253
  return i > 3 && r && Object.defineProperty(e, t, r), r;
58252
- }, l7 = function(s, e) {
58254
+ }, lF = function(s, e) {
58253
58255
  return function(t, n) {
58254
58256
  e(t, n, s);
58255
58257
  };
@@ -58321,8 +58323,8 @@ let ad = (Du = class extends U {
58321
58323
  }
58322
58324
  }, lC = Du, Du.maximumPageCount = 16, Du);
58323
58325
  ad = lC = a_e([
58324
- l7(3, Js),
58325
- l7(4, et)
58326
+ lF(3, Js),
58327
+ lF(4, et)
58326
58328
  ], ad);
58327
58329
  var lb;
58328
58330
  (function(s) {
@@ -58846,7 +58848,7 @@ let Pr = (yd = class extends U {
58846
58848
  if (l.selectorText.includes(":"))
58847
58849
  return !1;
58848
58850
  for (const c of l.style)
58849
- if (!c7(c, l.style))
58851
+ if (!cF(c, l.style))
58850
58852
  return !1;
58851
58853
  return !0;
58852
58854
  }), !r)
@@ -58874,7 +58876,7 @@ let Pr = (yd = class extends U {
58874
58876
  if (u.selectorText.includes(":"))
58875
58877
  return l.push(u.selectorText), !1;
58876
58878
  for (const f of u.style)
58877
- if (!c7(f, u.style))
58879
+ if (!cF(f, u.style))
58878
58880
  return c.push(`${f}: ${u.style[f]}`), !1;
58879
58881
  return !0;
58880
58882
  });
@@ -58894,7 +58896,7 @@ const b_e = [
58894
58896
  "font-weight",
58895
58897
  "opacity"
58896
58898
  ];
58897
- function c7(s, e) {
58899
+ function cF(s, e) {
58898
58900
  return !!b_e.includes(s);
58899
58901
  }
58900
58902
  function cy(s, e) {
@@ -59441,7 +59443,7 @@ var L_e = function(s, e, t, n) {
59441
59443
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r = Reflect.decorate(s, e, t, n);
59442
59444
  else for (var a = s.length - 1; a >= 0; a--) (o = s[a]) && (r = (i < 3 ? o(r) : i > 3 ? o(e, t, r) : o(e, t)) || r);
59443
59445
  return i > 3 && r && Object.defineProperty(e, t, r), r;
59444
- }, d7 = function(s, e) {
59446
+ }, dF = function(s, e) {
59445
59447
  return function(t, n) {
59446
59448
  e(t, n, s);
59447
59449
  };
@@ -59860,8 +59862,8 @@ let WT = class extends hs {
59860
59862
  }
59861
59863
  };
59862
59864
  WT = L_e([
59863
- d7(2, et),
59864
- d7(3, cs)
59865
+ dF(2, et),
59866
+ dF(3, cs)
59865
59867
  ], WT);
59866
59868
  class k_e {
59867
59869
  constructor() {
@@ -59968,7 +59970,7 @@ function HT(s, e) {
59968
59970
  /* EditorOption.ariaLabel */
59969
59971
  );
59970
59972
  }
59971
- function h7(s) {
59973
+ function hF(s) {
59972
59974
  let e = 0, t = -1;
59973
59975
  do {
59974
59976
  if (t = s.indexOf(`
@@ -59983,7 +59985,7 @@ var E_e = function(s, e, t, n) {
59983
59985
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r = Reflect.decorate(s, e, t, n);
59984
59986
  else for (var a = s.length - 1; a >= 0; a--) (o = s[a]) && (r = (i < 3 ? o(r) : i > 3 ? o(e, t, r) : o(e, t)) || r);
59985
59987
  return i > 3 && r && Object.defineProperty(e, t, r), r;
59986
- }, u7 = function(s, e) {
59988
+ }, uF = function(s, e) {
59987
59989
  return function(t, n) {
59988
59990
  e(t, n, s);
59989
59991
  };
@@ -60068,7 +60070,7 @@ let zT = class extends tU {
60068
60070
  }
60069
60071
  return Oi.EMPTY;
60070
60072
  }
60071
- if (J4) {
60073
+ if (J5) {
60072
60074
  const g = this._selections[0];
60073
60075
  if (g.isEmpty()) {
60074
60076
  const p = g.getStartPosition(), [m, b] = this._getAndroidWordAtPosition(p);
@@ -60089,7 +60091,7 @@ let zT = class extends tU {
60089
60091
  deduceModelPosition: (f, g, p) => this._context.viewModel.deduceModelPositionRelativeToViewPosition(f, g, p)
60090
60092
  }, u = this._register(new Rge(this.textArea.domNode));
60091
60093
  this._textAreaInput = this._register(this._instantiationService.createInstance(DT, h, u, po, {
60092
- isAndroid: J4,
60094
+ isAndroid: J5,
60093
60095
  isChrome: Gb,
60094
60096
  isFirefox: Xs,
60095
60097
  isSafari: Gu
@@ -60302,7 +60304,7 @@ let zT = class extends tU {
60302
60304
  if (this._visibleTextArea) {
60303
60305
  const n = this._visibleTextArea.visibleTextareaStart, i = this._visibleTextArea.visibleTextareaEnd, r = this._visibleTextArea.startPosition, o = this._visibleTextArea.endPosition;
60304
60306
  if (r && o && n && i && i.left >= this._scrollLeft && n.left <= this._scrollLeft + this._contentWidth) {
60305
- const a = this._context.viewLayout.getVerticalOffsetForLineNumber(this._primaryCursorPosition.lineNumber) - this._scrollTop, l = h7(this.textArea.domNode.value.substr(0, this.textArea.domNode.selectionStart));
60307
+ const a = this._context.viewLayout.getVerticalOffsetForLineNumber(this._primaryCursorPosition.lineNumber) - this._scrollTop, l = hF(this.textArea.domNode.value.substr(0, this.textArea.domNode.selectionStart));
60306
60308
  let c = this._visibleTextArea.widthOfHiddenLineTextBefore, d = this._contentLeft + n.left - this._scrollLeft, h = i.left - n.left + 1;
60307
60309
  if (d < this._contentLeft) {
60308
60310
  const C = this._contentLeft - d;
@@ -60351,7 +60353,7 @@ let zT = class extends tU {
60351
60353
  height: i,
60352
60354
  useCover: !1
60353
60355
  }), this.textArea.domNode.scrollLeft = this._primaryCursorVisibleRange.left;
60354
- const r = this._textAreaInput.textAreaState.newlineCountBeforeSelection ?? h7(this.textArea.domNode.value.substring(0, this.textArea.domNode.selectionStart));
60356
+ const r = this._textAreaInput.textAreaState.newlineCountBeforeSelection ?? hF(this.textArea.domNode.value.substring(0, this.textArea.domNode.selectionStart));
60355
60357
  this.textArea.domNode.scrollTop = r * i;
60356
60358
  return;
60357
60359
  }
@@ -60389,8 +60391,8 @@ let zT = class extends tU {
60389
60391
  }
60390
60392
  };
60391
60393
  zT = E_e([
60392
- u7(4, oi),
60393
- u7(5, et)
60394
+ uF(4, oi),
60395
+ uF(5, et)
60394
60396
  ], zT);
60395
60397
  function T_e(s, e, t, n) {
60396
60398
  if (e.length === 0)
@@ -60981,7 +60983,7 @@ var U_e = function(s, e, t, n) {
60981
60983
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r = Reflect.decorate(s, e, t, n);
60982
60984
  else for (var a = s.length - 1; a >= 0; a--) (o = s[a]) && (r = (i < 3 ? o(r) : i > 3 ? o(e, t, r) : o(e, t)) || r);
60983
60985
  return i > 3 && r && Object.defineProperty(e, t, r), r;
60984
- }, f7 = function(s, e) {
60986
+ }, fF = function(s, e) {
60985
60987
  return function(t, n) {
60986
60988
  e(t, n, s);
60987
60989
  };
@@ -61089,8 +61091,8 @@ let qT = class extends U {
61089
61091
  }
61090
61092
  };
61091
61093
  qT = U_e([
61092
- f7(3, oi),
61093
- f7(4, Dr)
61094
+ fF(3, oi),
61095
+ fF(4, Dr)
61094
61096
  ], qT);
61095
61097
  var GT;
61096
61098
  (function(s) {
@@ -61120,7 +61122,7 @@ var q_e = function(s, e, t, n) {
61120
61122
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r = Reflect.decorate(s, e, t, n);
61121
61123
  else for (var a = s.length - 1; a >= 0; a--) (o = s[a]) && (r = (i < 3 ? o(r) : i > 3 ? o(e, t, r) : o(e, t)) || r);
61122
61124
  return i > 3 && r && Object.defineProperty(e, t, r), r;
61123
- }, g7 = function(s, e) {
61125
+ }, gF = function(s, e) {
61124
61126
  return function(t, n) {
61125
61127
  e(t, n, s);
61126
61128
  };
@@ -61411,8 +61413,8 @@ let dy = class extends tU {
61411
61413
  }
61412
61414
  };
61413
61415
  dy = q_e([
61414
- g7(5, et),
61415
- g7(6, cs)
61416
+ gF(5, et),
61417
+ gF(6, cs)
61416
61418
  ], dy);
61417
61419
  class G_e extends hs {
61418
61420
  constructor(e, t) {
@@ -62002,14 +62004,14 @@ class M_ {
62002
62004
  if (!n)
62003
62005
  return e;
62004
62006
  if (t === 2) {
62005
- if (e === n.offsetInInputWithInjections + n.length && p7(this.injectionOptions[n.injectedTextIndex].cursorStops))
62007
+ if (e === n.offsetInInputWithInjections + n.length && pF(this.injectionOptions[n.injectedTextIndex].cursorStops))
62006
62008
  return n.offsetInInputWithInjections + n.length;
62007
62009
  {
62008
62010
  let i = n.offsetInInputWithInjections;
62009
- if (m7(this.injectionOptions[n.injectedTextIndex].cursorStops))
62011
+ if (mF(this.injectionOptions[n.injectedTextIndex].cursorStops))
62010
62012
  return i;
62011
62013
  let r = n.injectedTextIndex - 1;
62012
- for (; r >= 0 && this.injectionOffsets[r] === this.injectionOffsets[n.injectedTextIndex] && !(p7(this.injectionOptions[r].cursorStops) || (i -= this.injectionOptions[r].content.length, m7(this.injectionOptions[r].cursorStops))); )
62014
+ for (; r >= 0 && this.injectionOffsets[r] === this.injectionOffsets[n.injectedTextIndex] && !(pF(this.injectionOptions[r].cursorStops) || (i -= this.injectionOptions[r].content.length, mF(this.injectionOptions[r].cursorStops))); )
62013
62015
  r--;
62014
62016
  return i;
62015
62017
  }
@@ -62051,10 +62053,10 @@ class M_ {
62051
62053
  }
62052
62054
  }
62053
62055
  }
62054
- function p7(s) {
62056
+ function pF(s) {
62055
62057
  return s == null ? !0 : s === Mp.Right || s === Mp.Both;
62056
62058
  }
62057
- function m7(s) {
62059
+ function mF(s) {
62058
62060
  return s == null ? !0 : s === Mp.Left || s === Mp.Both;
62059
62061
  }
62060
62062
  class iw {
@@ -62092,7 +62094,7 @@ class ta {
62092
62094
  this.ownerId = e, this.lineNumber = t, this.column = n, this.options = i, this.order = r;
62093
62095
  }
62094
62096
  }
62095
- class _7 {
62097
+ class _F {
62096
62098
  constructor(e, t, n) {
62097
62099
  this.changeType = 2, this.lineNumber = e, this.detail = t, this.injectedText = n;
62098
62100
  }
@@ -62456,7 +62458,7 @@ function Hp(s) {
62456
62458
  }
62457
62459
  return e === 0 && (t = s.length), [e, t, s.length - n, i];
62458
62460
  }
62459
- class b7 {
62461
+ class bF {
62460
62462
  constructor(e, t, n, i) {
62461
62463
  this.range = e, this.nestingLevel = t, this.nestingLevelOfEqualBracketType = n, this.isInvalid = i;
62462
62464
  }
@@ -62647,7 +62649,7 @@ const sw = [], Mr = class Mr {
62647
62649
  };
62648
62650
  Mr.cache = new Array(129), Mr.empty = Mr.create(0, sw);
62649
62651
  let Hs = Mr;
62650
- const w7 = {
62652
+ const wF = {
62651
62653
  getKey(s) {
62652
62654
  return s;
62653
62655
  }
@@ -63158,7 +63160,7 @@ class tO {
63158
63160
  }
63159
63161
  const i = /* @__PURE__ */ new Map();
63160
63162
  for (const r of e.bracketsNew.openingBrackets) {
63161
- const o = an(0, r.bracketText.length), a = n(r), l = Hs.getEmpty().add(a, w7);
63163
+ const o = an(0, r.bracketText.length), a = n(r), l = Hs.getEmpty().add(a, wF);
63162
63164
  i.set(r.bracketText, new Jc(o, 1, a, l, fy.create(o, r, l)));
63163
63165
  }
63164
63166
  for (const r of e.bracketsNew.closingBrackets) {
@@ -63166,7 +63168,7 @@ class tO {
63166
63168
  let a = Hs.getEmpty();
63167
63169
  const l = r.getOpeningBrackets();
63168
63170
  for (const c of l)
63169
- a = a.add(n(c), w7);
63171
+ a = a.add(n(c), wF);
63170
63172
  i.set(r.bracketText, new Jc(o, 2, n(l[0]), a, fy.create(o, r, a)));
63171
63173
  }
63172
63174
  return new tO(i);
@@ -63238,7 +63240,7 @@ function k1e(s) {
63238
63240
  if (!i)
63239
63241
  return n;
63240
63242
  for (let o = t(); o; o = t())
63241
- C7(n, i) <= C7(i, o) ? (n = Bk(n, i), i = o) : i = Bk(i, o);
63243
+ CF(n, i) <= CF(i, o) ? (n = Bk(n, i), i = o) : i = Bk(i, o);
63242
63244
  return Bk(n, i);
63243
63245
  }
63244
63246
  function lU(s, e = !1) {
@@ -63257,7 +63259,7 @@ function lU(s, e = !1) {
63257
63259
  }
63258
63260
  return tl.create23(s[0], s[1], t >= 3 ? s[2] : null, e);
63259
63261
  }
63260
- function C7(s, e) {
63262
+ function CF(s, e) {
63261
63263
  return Math.abs(s.listHeight - e.listHeight);
63262
63264
  }
63263
63265
  function Bk(s, e) {
@@ -63364,7 +63366,7 @@ function Vk(s, e = -1) {
63364
63366
  function km(s) {
63365
63367
  return s.length > 0 ? s[s.length - 1] : void 0;
63366
63368
  }
63367
- function v7(s, e, t, n) {
63369
+ function vF(s, e, t, n) {
63368
63370
  return new N1e(s, e, t, n).parseDocument();
63369
63371
  }
63370
63372
  class N1e {
@@ -63426,7 +63428,7 @@ function gy(s, e) {
63426
63428
  return e;
63427
63429
  if (e.length === 0)
63428
63430
  return s;
63429
- const t = new bc(y7(s)), n = y7(e);
63431
+ const t = new bc(yF(s)), n = yF(e);
63430
63432
  n.push({ modified: !1, lengthBefore: void 0, lengthAfter: void 0 });
63431
63433
  let i = t.dequeue();
63432
63434
  function r(c) {
@@ -63481,7 +63483,7 @@ class cd {
63481
63483
  return `${this.modified ? "M" : "U"}:${Gr(this.lengthBefore)} -> ${Gr(this.lengthAfter)}`;
63482
63484
  }
63483
63485
  }
63484
- function y7(s) {
63486
+ function yF(s) {
63485
63487
  const e = [];
63486
63488
  let t = Ds;
63487
63489
  for (const n of s) {
@@ -63501,7 +63503,7 @@ class I1e extends U {
63501
63503
  e.tokenization.backgroundTokenizationState === 2 ? (this.initialAstWithoutTokens = void 0, this.astWithTokens = this.parseDocumentFromTextBuffer([], void 0, !1)) : (this.initialAstWithoutTokens = this.parseDocumentFromTextBuffer([], void 0, !0), this.astWithTokens = this.initialAstWithoutTokens);
63502
63504
  else {
63503
63505
  const n = this.brackets.getSingleLanguageBracketTokens(this.textModel.getLanguageId()), i = new S1e(this.textModel.getValue(), n);
63504
- this.initialAstWithoutTokens = v7(i, [], void 0, !0), this.astWithTokens = this.initialAstWithoutTokens;
63506
+ this.initialAstWithoutTokens = vF(i, [], void 0, !0), this.astWithTokens = this.initialAstWithoutTokens;
63505
63507
  }
63506
63508
  }
63507
63509
  //#region TextModel events
@@ -63532,7 +63534,7 @@ class I1e extends U {
63532
63534
  */
63533
63535
  parseDocumentFromTextBuffer(e, t, n) {
63534
63536
  const i = t, r = new v1e(this.textModel, this.brackets);
63535
- return v7(r, e, i, n);
63537
+ return vF(r, e, i, n);
63536
63538
  }
63537
63539
  getBracketsInRange(e, t) {
63538
63540
  this.flushQueue();
@@ -63661,11 +63663,11 @@ function JT(s, e, t, n, i, r, o, a, l, c, d = !1) {
63661
63663
  }
63662
63664
  case 3: {
63663
63665
  const h = yu(e, t);
63664
- return r(new b7(h, o - 1, 0, !0));
63666
+ return r(new bF(h, o - 1, 0, !0));
63665
63667
  }
63666
63668
  case 1: {
63667
63669
  const h = yu(e, t);
63668
- return r(new b7(h, o - 1, a - 1, d));
63670
+ return r(new bF(h, o - 1, a - 1, d));
63669
63671
  }
63670
63672
  case 0:
63671
63673
  return !0;
@@ -64380,7 +64382,7 @@ const Ar = {
64380
64382
  chatApplyEdits(s) {
64381
64383
  return ps({
64382
64384
  source: "Chat.applyEdits",
64383
- $modelId: S7(s.modelId),
64385
+ $modelId: SF(s.modelId),
64384
64386
  $extensionId: s.extensionId?.extensionId,
64385
64387
  $extensionVersion: s.extensionId?.version,
64386
64388
  $$languageId: s.languageId,
@@ -64414,7 +64416,7 @@ const Ar = {
64414
64416
  inlineChatApplyEdit(s) {
64415
64417
  return ps({
64416
64418
  source: "inlineChat.applyEdits",
64417
- $modelId: S7(s.modelId),
64419
+ $modelId: SF(s.modelId),
64418
64420
  $extensionId: s.extensionId?.extensionId,
64419
64421
  $extensionVersion: s.extensionId?.version,
64420
64422
  $$requestId: s.requestId,
@@ -64443,7 +64445,7 @@ function aw(s) {
64443
64445
  $providerId: s.providerId
64444
64446
  } : {};
64445
64447
  }
64446
- function S7(s) {
64448
+ function SF(s) {
64447
64449
  if (s !== void 0)
64448
64450
  return s.replaceAll("/", "|");
64449
64451
  }
@@ -64460,14 +64462,14 @@ class py {
64460
64462
  this.linesAdded = e, this.linesRemoved = t, this.charsAdded = n, this.charsRemoved = i;
64461
64463
  }
64462
64464
  }
64463
- var x7;
64465
+ var xF;
64464
64466
  (function(s) {
64465
64467
  function e() {
64466
64468
  const t = Nge("sgt");
64467
64469
  return t;
64468
64470
  }
64469
64471
  s.newId = e;
64470
- })(x7 || (x7 = {}));
64472
+ })(xF || (xF = {}));
64471
64473
  function qf(s) {
64472
64474
  return s.toString();
64473
64475
  }
@@ -64727,7 +64729,7 @@ function W1e(s, e, t, n, i) {
64727
64729
  return;
64728
64730
  }
64729
64731
  }
64730
- function L7(s, e, t) {
64732
+ function LF(s, e, t) {
64731
64733
  const n = Math.min(s.getLineCount(), 1e4);
64732
64734
  let i = 0, r = 0, o = "", a = 0;
64733
64735
  const l = [2, 4, 6, 8, 3, 5, 7], c = 8, d = [0, 0, 0, 0, 0, 0, 0, 0, 0], h = new V1e();
@@ -64780,31 +64782,31 @@ function Dt(s, e) {
64780
64782
  function gU(s) {
64781
64783
  return (s.metadata & 4) >>> 2 === 1;
64782
64784
  }
64783
- function k7(s, e) {
64785
+ function kF(s, e) {
64784
64786
  s.metadata = s.metadata & 251 | (e ? 1 : 0) << 2;
64785
64787
  }
64786
64788
  function pU(s) {
64787
64789
  return (s.metadata & 64) >>> 6 === 1;
64788
64790
  }
64789
- function E7(s, e) {
64791
+ function EF(s, e) {
64790
64792
  s.metadata = s.metadata & 191 | (e ? 1 : 0) << 6;
64791
64793
  }
64792
64794
  function mU(s) {
64793
64795
  return (s.metadata & 128) >>> 7 === 1;
64794
64796
  }
64795
- function D7(s, e) {
64797
+ function DF(s, e) {
64796
64798
  s.metadata = s.metadata & 127 | (e ? 1 : 0) << 7;
64797
64799
  }
64798
64800
  function H1e(s) {
64799
64801
  return (s.metadata & 24) >>> 3;
64800
64802
  }
64801
- function T7(s, e) {
64803
+ function TF(s, e) {
64802
64804
  s.metadata = s.metadata & 231 | e << 3;
64803
64805
  }
64804
64806
  function z1e(s) {
64805
64807
  return (s.metadata & 32) >>> 5 === 1;
64806
64808
  }
64807
- function N7(s, e) {
64809
+ function NF(s, e) {
64808
64810
  s.metadata = s.metadata & 223 | (e ? 1 : 0) << 5;
64809
64811
  }
64810
64812
  class _U {
@@ -64813,11 +64815,11 @@ class _U {
64813
64815
  this,
64814
64816
  1
64815
64817
  /* NodeColor.Red */
64816
- ), this.start = t, this.end = n, this.delta = 0, this.maxEnd = n, this.id = e, this.ownerId = 0, this.options = null, k7(this, !1), E7(this, !1), T7(
64818
+ ), this.start = t, this.end = n, this.delta = 0, this.maxEnd = n, this.id = e, this.ownerId = 0, this.options = null, kF(this, !1), EF(this, !1), TF(
64817
64819
  this,
64818
64820
  1
64819
64821
  /* TrackedRangeStickiness.NeverGrowsWhenTypingAtEdges */
64820
- ), N7(this, !1), D7(this, !1), this.cachedVersionId = 0, this.cachedAbsoluteStart = t, this.cachedAbsoluteEnd = n, this.range = null, Dt(this, !1);
64822
+ ), NF(this, !1), DF(this, !1), this.cachedVersionId = 0, this.cachedAbsoluteStart = t, this.cachedAbsoluteEnd = n, this.range = null, Dt(this, !1);
64821
64823
  }
64822
64824
  reset(e, t, n, i) {
64823
64825
  this.start = t, this.end = n, this.maxEnd = n, this.cachedVersionId = e, this.cachedAbsoluteStart = t, this.cachedAbsoluteEnd = n, this.range = i;
@@ -64825,7 +64827,7 @@ class _U {
64825
64827
  setOptions(e) {
64826
64828
  this.options = e;
64827
64829
  const t = this.options.className;
64828
- k7(this, t === "squiggly-error" || t === "squiggly-warning" || t === "squiggly-info"), E7(this, this.options.glyphMarginClassName !== null), T7(this, this.options.stickiness), N7(this, this.options.collapseOnReplaceEdit), D7(this, this.options.affectsFont ?? !1);
64830
+ kF(this, t === "squiggly-error" || t === "squiggly-warning" || t === "squiggly-info"), EF(this, this.options.glyphMarginClassName !== null), TF(this, this.options.stickiness), NF(this, this.options.collapseOnReplaceEdit), DF(this, this.options.affectsFont ?? !1);
64829
64831
  }
64830
64832
  setCachedOffsets(e, t, n) {
64831
64833
  this.cachedVersionId !== n && (this.range = null), this.cachedVersionId = n, this.cachedAbsoluteStart = e, this.cachedAbsoluteEnd = t;
@@ -64866,10 +64868,10 @@ class Hk {
64866
64868
  return G1e(this);
64867
64869
  }
64868
64870
  insert(e) {
64869
- I7(this, e), this._normalizeDeltaIfNecessary();
64871
+ IF(this, e), this._normalizeDeltaIfNecessary();
64870
64872
  }
64871
64873
  delete(e) {
64872
- M7(this, e), this._normalizeDeltaIfNecessary();
64874
+ MF(this, e), this._normalizeDeltaIfNecessary();
64873
64875
  }
64874
64876
  resolveNode(e, t) {
64875
64877
  const n = e;
@@ -64883,12 +64885,12 @@ class Hk {
64883
64885
  const r = j1e(this, e, e + t);
64884
64886
  for (let o = 0, a = r.length; o < a; o++) {
64885
64887
  const l = r[o];
64886
- M7(this, l);
64888
+ MF(this, l);
64887
64889
  }
64888
64890
  this._normalizeDeltaIfNecessary(), K1e(this, e, e + t, n), this._normalizeDeltaIfNecessary();
64889
64891
  for (let o = 0, a = r.length; o < a; o++) {
64890
64892
  const l = r[o];
64891
- l.start = l.cachedAbsoluteStart, l.end = l.cachedAbsoluteEnd, U1e(l, e, e + t, n, i), l.maxEnd = l.end, I7(this, l);
64893
+ l.start = l.cachedAbsoluteStart, l.end = l.cachedAbsoluteEnd, U1e(l, e, e + t, n, i), l.maxEnd = l.end, IF(this, l);
64892
64894
  }
64893
64895
  this._normalizeDeltaIfNecessary();
64894
64896
  }
@@ -65092,7 +65094,7 @@ function X1e(s, e, t, n, i, r, o, a) {
65092
65094
  }
65093
65095
  return Dt(s.root, !1), f;
65094
65096
  }
65095
- function I7(s, e) {
65097
+ function IF(s, e) {
65096
65098
  if (s.root === Fe)
65097
65099
  return e.parent = Fe, e.left = Fe, e.right = Fe, Mt(
65098
65100
  e,
@@ -65176,7 +65178,7 @@ function Z1e(s, e) {
65176
65178
  /* NodeColor.Red */
65177
65179
  );
65178
65180
  }
65179
- function M7(s, e) {
65181
+ function MF(s, e) {
65180
65182
  let t, n;
65181
65183
  if (e.left === Fe ? (t = e.right, n = e, t.delta += e.delta, (t.delta < -1073741824 || t.delta > 1073741824) && (s.requestNormalizeDelta = !0), t.start += e.delta, t.end += e.delta) : e.right === Fe ? (t = e.left, n = e) : (n = Q1e(e.right), t = n.right, t.start += n.delta, t.end += n.delta, t.delta += n.delta, (t.delta < -1073741824 || t.delta > 1073741824) && (s.requestNormalizeDelta = !0), n.start += e.delta, n.end += e.delta, n.delta = e.delta, (n.delta < -1073741824 || n.delta > 1073741824) && (s.requestNormalizeDelta = !0)), n === s.root) {
65182
65184
  s.root = t, Mt(
@@ -65382,7 +65384,7 @@ function lw(s, e) {
65382
65384
  t === t.parent.left ? (r = t.parent.right, r.color === 1 && (r.color = 0, t.parent.color = 1, O_(s, t.parent), r = t.parent.right), r.left.color === 0 && r.right.color === 0 ? (r.color = 1, t = t.parent) : (r.right.color === 0 && (r.left.color = 0, r.color = 1, P_(s, r), r = t.parent.right), r.color = t.parent.color, t.parent.color = 0, r.right.color = 0, O_(s, t.parent), t = s.root)) : (r = t.parent.left, r.color === 1 && (r.color = 0, t.parent.color = 1, P_(s, t.parent), r = t.parent.left), r.left.color === 0 && r.right.color === 0 ? (r.color = 1, t = t.parent) : (r.left.color === 0 && (r.right.color = 0, r.color = 1, O_(s, r), r = t.parent.left), r.color = t.parent.color, t.parent.color = 0, r.left.color = 0, P_(s, t.parent), t = s.root));
65383
65385
  t.color = 0, $k();
65384
65386
  }
65385
- function R7(s, e) {
65387
+ function RF(s, e) {
65386
65388
  for (Jm(s, e); e !== s.root && e.parent.color === 1; )
65387
65389
  if (e.parent === e.parent.parent.left) {
65388
65390
  const t = e.parent.parent.right;
@@ -66201,7 +66203,7 @@ class sbe {
66201
66203
  const r = iO(e.right);
66202
66204
  r.left = n, n.parent = r;
66203
66205
  }
66204
- return R7(this, n), n;
66206
+ return RF(this, n), n;
66205
66207
  }
66206
66208
  /**
66207
66209
  * node node
@@ -66224,7 +66226,7 @@ class sbe {
66224
66226
  const i = wU(e.left);
66225
66227
  i.right = n, n.parent = i;
66226
66228
  }
66227
- return R7(this, n), n;
66229
+ return RF(this, n), n;
66228
66230
  }
66229
66231
  }
66230
66232
  class op extends U {
@@ -66656,7 +66658,7 @@ function hbe(s, e, t) {
66656
66658
  }
66657
66659
  return n && i;
66658
66660
  }
66659
- function A7(s, e) {
66661
+ function AF(s, e) {
66660
66662
  do {
66661
66663
  if (s.currentNode.nextSibling)
66662
66664
  return dbe(s, e);
@@ -66685,7 +66687,7 @@ var fbe = function(s, e, t, n) {
66685
66687
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r = Reflect.decorate(s, e, t, n);
66686
66688
  else for (var a = s.length - 1; a >= 0; a--) (o = s[a]) && (r = (i < 3 ? o(r) : i > 3 ? o(e, t, r) : o(e, t)) || r);
66687
66689
  return i > 3 && r && Object.defineProperty(e, t, r), r;
66688
- }, O7 = function(s, e) {
66690
+ }, OF = function(s, e) {
66689
66691
  return function(t, n) {
66690
66692
  e(t, n, s);
66691
66693
  };
@@ -66746,10 +66748,10 @@ let iN = class extends U {
66746
66748
  endIndex: d.endIndex,
66747
66749
  startPosition: h.startPosition,
66748
66750
  endPosition: d.endPosition
66749
- }), o = A7(n, i);
66751
+ }), o = AF(n, i);
66750
66752
  } else c.length >= 1 && (o = hbe(n, i, l[0]));
66751
66753
  } else
66752
- o = A7(n, i);
66754
+ o = AF(n, i);
66753
66755
  while (o);
66754
66756
  return n.delete(), i.delete(), r;
66755
66757
  }
@@ -66777,7 +66779,7 @@ let iN = class extends U {
66777
66779
  break;
66778
66780
  }
66779
66781
  const d = l.currentNode.startPosition, h = l.currentNode.endPosition, u = l.currentNode.startIndex, f = l.currentNode.endIndex, g = { newRange: new M(d.row + 1, d.column + 1, h.row + 1, h.column + 1), newRangeStartOffset: u, newRangeEndOffset: f };
66780
- i < n.length && P7(n[i], { startIndex: u, endIndex: f }) ? (n[i].startIndex < g.newRangeStartOffset && (g.newRange = g.newRange.setStartPosition(n[i].startPosition.row + 1, n[i].startPosition.column + 1), g.newRangeStartOffset = n[i].startIndex), n[i].endIndex > g.newRangeEndOffset && (g.newRange = g.newRange.setEndPosition(n[i].endPosition.row + 1, n[i].endPosition.column + 1), g.newRangeEndOffset = n[i].endIndex), i++) : i < n.length && n[i].endIndex < g.newRangeStartOffset && r.push({
66782
+ i < n.length && PF(n[i], { startIndex: u, endIndex: f }) ? (n[i].startIndex < g.newRangeStartOffset && (g.newRange = g.newRange.setStartPosition(n[i].startPosition.row + 1, n[i].startPosition.column + 1), g.newRangeStartOffset = n[i].startIndex), n[i].endIndex > g.newRangeEndOffset && (g.newRange = g.newRange.setEndPosition(n[i].endPosition.row + 1, n[i].endPosition.column + 1), g.newRangeEndOffset = n[i].endIndex), i++) : i < n.length && n[i].endIndex < g.newRangeStartOffset && r.push({
66781
66783
  newRange: new M(n[i].startPosition.row + 1, n[i].startPosition.column + 1, n[i].endPosition.row + 1, n[i].endPosition.column + 1),
66782
66784
  newRangeStartOffset: n[i].startIndex,
66783
66785
  newRangeEndOffset: n[i].endIndex
@@ -66842,7 +66844,7 @@ let iN = class extends U {
66842
66844
  let i = !1;
66843
66845
  for (let r = 0; r < this._ranges.length; r++) {
66844
66846
  const o = this._ranges[r];
66845
- if (pbe(o, n) || P7(o, n)) {
66847
+ if (pbe(o, n) || PF(o, n)) {
66846
66848
  i = !0;
66847
66849
  break;
66848
66850
  }
@@ -66864,8 +66866,8 @@ let iN = class extends U {
66864
66866
  }
66865
66867
  };
66866
66868
  iN = fbe([
66867
- O7(5, cs),
66868
- O7(6, xc)
66869
+ OF(5, cs),
66870
+ OF(6, xc)
66869
66871
  ], iN);
66870
66872
  function gbe() {
66871
66873
  let s = performance.now();
@@ -66877,7 +66879,7 @@ function gbe() {
66877
66879
  function pbe(s, e) {
66878
66880
  return s.startPosition.row === e.startPosition.row && s.startPosition.column === e.startPosition.column && s.endPosition.row === e.endPosition.row && s.endPosition.column === e.endPosition.column && s.startIndex === e.startIndex && s.endIndex === e.endIndex;
66879
66881
  }
66880
- function P7(s, e) {
66882
+ function PF(s, e) {
66881
66883
  return s.startIndex <= e.startIndex && s.endIndex >= e.startIndex || e.startIndex <= s.startIndex && e.endIndex >= s.startIndex;
66882
66884
  }
66883
66885
  class mbe {
@@ -67873,7 +67875,7 @@ var Mbe = function(s, e, t, n) {
67873
67875
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r = Reflect.decorate(s, e, t, n);
67874
67876
  else for (var a = s.length - 1; a >= 0; a--) (o = s[a]) && (r = (i < 3 ? o(r) : i > 3 ? o(e, t, r) : o(e, t)) || r);
67875
67877
  return i > 3 && r && Object.defineProperty(e, t, r), r;
67876
- }, F7 = function(s, e) {
67878
+ }, FF = function(s, e) {
67877
67879
  return function(t, n) {
67878
67880
  e(t, n, s);
67879
67881
  };
@@ -67966,8 +67968,8 @@ let aN = class extends yU {
67966
67968
  }
67967
67969
  };
67968
67970
  aN = Mbe([
67969
- F7(4, oO),
67970
- F7(5, et)
67971
+ FF(4, oO),
67972
+ FF(5, et)
67971
67973
  ], aN);
67972
67974
  class aO {
67973
67975
  constructor(e) {
@@ -68159,7 +68161,7 @@ class fb {
68159
68161
  if (t < this._len && (i = this._lineTokens[t]), i !== null && i !== Pl)
68160
68162
  return new Bn(ec(i), n, this._languageIdCodec);
68161
68163
  const r = new Uint32Array(2);
68162
- return r[0] = n.length, r[1] = B7(this._languageIdCodec.encodeLanguageId(e)), new Bn(r, n, this._languageIdCodec);
68164
+ return r[0] = n.length, r[1] = BF(this._languageIdCodec.encodeLanguageId(e)), new Bn(r, n, this._languageIdCodec);
68163
68165
  }
68164
68166
  static _massageTokens(e, t, n) {
68165
68167
  const i = n ? ec(n) : null;
@@ -68170,7 +68172,7 @@ class fb {
68170
68172
  }
68171
68173
  if (!i || i.length === 0) {
68172
68174
  const r = new Uint32Array(2);
68173
- return r[0] = t, r[1] = B7(e), r.buffer;
68175
+ return r[0] = t, r[1] = BF(e), r.buffer;
68174
68176
  }
68175
68177
  return i[i.length - 2] = t, i.byteOffset === 0 && i.byteLength === i.buffer.byteLength ? i.buffer : i;
68176
68178
  }
@@ -68252,7 +68254,7 @@ class fb {
68252
68254
  return { changes: n };
68253
68255
  }
68254
68256
  }
68255
- function B7(s) {
68257
+ function BF(s) {
68256
68258
  return (s << 0 | 0 | 0 | 32768 | 2 << 24 | 1024) >>> 0;
68257
68259
  }
68258
68260
  class Rbe extends yU {
@@ -68599,7 +68601,7 @@ const Vg = class Vg {
68599
68601
  };
68600
68602
  Vg._ID = 0, Vg.None = new Vg();
68601
68603
  let Ih = Vg;
68602
- var V7;
68604
+ var VF;
68603
68605
  function Obe(s, e) {
68604
68606
  const t = [], n = [];
68605
68607
  for (const i of s)
@@ -68614,9 +68616,9 @@ function EU(s, e) {
68614
68616
  s.has(n) && t.add(n);
68615
68617
  return t;
68616
68618
  }
68617
- class W7 {
68619
+ class WF {
68618
68620
  constructor(e, t) {
68619
- this.toKey = t, this._map = /* @__PURE__ */ new Map(), this[V7] = "SetWithKey";
68621
+ this.toKey = t, this._map = /* @__PURE__ */ new Map(), this[VF] = "SetWithKey";
68620
68622
  for (const n of e)
68621
68623
  this.add(n);
68622
68624
  }
@@ -68654,7 +68656,7 @@ class W7 {
68654
68656
  return this.values();
68655
68657
  }
68656
68658
  }
68657
- V7 = Symbol.toStringTag;
68659
+ VF = Symbol.toStringTag;
68658
68660
  var Pbe = function(s, e, t, n) {
68659
68661
  var i = arguments.length, r = i < 3 ? e : n === null ? n = Object.getOwnPropertyDescriptor(e, t) : n, o;
68660
68662
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r = Reflect.decorate(s, e, t, n);
@@ -68676,7 +68678,7 @@ function Bbe(s) {
68676
68678
  e.acceptChunk(t);
68677
68679
  return e.finish();
68678
68680
  }
68679
- function H7(s, e) {
68681
+ function HF(s, e) {
68680
68682
  let t;
68681
68683
  return typeof s == "string" ? t = Fbe(s) : wde(s) ? t = Bbe(s) : t = s, t.create(e);
68682
68684
  }
@@ -68707,7 +68709,7 @@ var zo;
68707
68709
  let dN = (zo = class extends U {
68708
68710
  static resolveOptions(e, t) {
68709
68711
  if (t.detectIndentation) {
68710
- const n = L7(e, t.tabSize, t.insertSpaces);
68712
+ const n = LF(e, t.tabSize, t.insertSpaces);
68711
68713
  return new eC({
68712
68714
  tabSize: n.tabSize,
68713
68715
  indentSize: "tabSize",
@@ -68761,7 +68763,7 @@ let dN = (zo = class extends U {
68761
68763
  }
68762
68764
  constructor(e, t, n, i = null, r, o, a, l) {
68763
68765
  super(), this._undoRedoService = r, this._languageService = o, this._languageConfigurationService = a, this.instantiationService = l, this._onWillDispose = this._register(new R()), this.onWillDispose = this._onWillDispose.event, this._onDidChangeDecorations = this._register(new Gbe((g, p, m) => this.handleBeforeFireDecorationsChangedEvent(g, p, m))), this.onDidChangeDecorations = this._onDidChangeDecorations.event, this._onDidChangeOptions = this._register(new R()), this._onDidChangeAttached = this._register(new R()), this._onDidChangeInjectedText = this._register(new R()), this._onDidChangeLineHeight = this._register(new R()), this._onDidChangeFont = this._register(new R()), this._eventEmitter = this._register(new Ybe()), this._languageSelectionListener = this._register(new Zn()), this._deltaDecorationCallCnt = 0, this._attachedViews = new obe(), hw++, this.id = "$model" + hw, this.isForSimpleWidget = n.isForSimpleWidget, typeof i > "u" || i === null ? this._associatedResource = $e.parse("inmemory://model/" + hw) : this._associatedResource = i, this._attachedEditorCount = 0;
68764
- const { textBuffer: c, disposable: d } = H7(e, n.defaultEOL);
68766
+ const { textBuffer: c, disposable: d } = HF(e, n.defaultEOL);
68765
68767
  this._buffer = c, this._bufferDisposable = d;
68766
68768
  const h = this._buffer.getLineCount(), u = this._buffer.getValueLengthInRange(
68767
68769
  new M(1, 1, h, this._buffer.getLineLength(h) + 1),
@@ -68770,7 +68772,7 @@ let dN = (zo = class extends U {
68770
68772
  );
68771
68773
  n.largeFileOptimizations ? (this._isTooLargeForTokenization = u > hh.LARGE_FILE_SIZE_THRESHOLD || h > hh.LARGE_FILE_LINE_COUNT_THRESHOLD, this._isTooLargeForHeapOperation = u > hh.LARGE_FILE_HEAP_OPERATION_THRESHOLD) : (this._isTooLargeForTokenization = !1, this._isTooLargeForHeapOperation = !1), this._options = hh.resolveOptions(this._buffer, n);
68772
68774
  const f = typeof t == "string" ? t : t.languageId;
68773
- typeof t != "string" && (this._languageSelectionListener.value = t.onDidChange(() => this._setLanguage(t.languageId))), this._bracketPairs = this._register(new R1e(this, this._languageConfigurationService)), this._guidesTextModelPart = this._register(new bme(this, this._languageConfigurationService)), this._decorationProvider = this._register(new O1e(this)), this._tokenizationTextModelPart = this.instantiationService.createInstance(lN, this, this._bracketPairs, f, this._attachedViews), this._isTooLargeForSyncing = u > hh._MODEL_SYNC_LIMIT, this._versionId = 1, this._alternativeVersionId = 1, this._initialUndoRedoSnapshot = null, this._isDisposed = !1, this.__isDisposing = !1, this._instanceId = OH(hw), this._lastDecorationId = 0, this._decorations = /* @__PURE__ */ Object.create(null), this._decorationsTree = new z7(), this._commandManager = new nO(this, this._undoRedoService), this._isUndoing = !1, this._isRedoing = !1, this._trimAutoWhitespaceLines = null, this._register(this._decorationProvider.onDidChange(() => {
68775
+ typeof t != "string" && (this._languageSelectionListener.value = t.onDidChange(() => this._setLanguage(t.languageId))), this._bracketPairs = this._register(new R1e(this, this._languageConfigurationService)), this._guidesTextModelPart = this._register(new bme(this, this._languageConfigurationService)), this._decorationProvider = this._register(new O1e(this)), this._tokenizationTextModelPart = this.instantiationService.createInstance(lN, this, this._bracketPairs, f, this._attachedViews), this._isTooLargeForSyncing = u > hh._MODEL_SYNC_LIMIT, this._versionId = 1, this._alternativeVersionId = 1, this._initialUndoRedoSnapshot = null, this._isDisposed = !1, this.__isDisposing = !1, this._instanceId = OH(hw), this._lastDecorationId = 0, this._decorations = /* @__PURE__ */ Object.create(null), this._decorationsTree = new zF(), this._commandManager = new nO(this, this._undoRedoService), this._isUndoing = !1, this._isRedoing = !1, this._trimAutoWhitespaceLines = null, this._register(this._decorationProvider.onDidChange(() => {
68774
68776
  this._onDidChangeDecorations.beginDeferredEmit(), this._onDidChangeDecorations.fire(), this._onDidChangeDecorations.endDeferredEmit();
68775
68777
  })), this._languageService.requestRichLanguageFeatures(f), this._register(this._languageConfigurationService.onDidChange((g) => {
68776
68778
  this._bracketPairs.handleLanguageConfigurationServiceChange(g), this._tokenizationTextModelPart.handleLanguageConfigurationServiceChange(g);
@@ -68795,7 +68797,7 @@ let dN = (zo = class extends U {
68795
68797
  setValue(e, t = Ar.setValue()) {
68796
68798
  if (this._assertNotDisposed(), e == null)
68797
68799
  throw bx();
68798
- const { textBuffer: n, disposable: i } = H7(e, this._options.defaultEOL);
68800
+ const { textBuffer: n, disposable: i } = HF(e, this._options.defaultEOL);
68799
68801
  this._setValueFromTextBuffer(n, i, t);
68800
68802
  }
68801
68803
  _createContentChanged2(e, t, n, i, r, o, a, l, c, d) {
@@ -68819,7 +68821,7 @@ let dN = (zo = class extends U {
68819
68821
  _setValueFromTextBuffer(e, t, n) {
68820
68822
  this._assertNotDisposed();
68821
68823
  const i = this.getFullModelRange(), r = this.getValueLengthInRange(i), o = this.getLineCount(), a = this.getLineMaxColumn(o);
68822
- this._buffer = e, this._bufferDisposable.dispose(), this._bufferDisposable = t, this._increaseVersionId(), this._decorations = /* @__PURE__ */ Object.create(null), this._decorationsTree = new z7(), this._commandManager.clear(), this._trimAutoWhitespaceLines = null, this._emitContentChangedEvent(new ip([
68824
+ this._buffer = e, this._bufferDisposable.dispose(), this._bufferDisposable = t, this._increaseVersionId(), this._decorations = /* @__PURE__ */ Object.create(null), this._decorationsTree = new zF(), this._commandManager.clear(), this._trimAutoWhitespaceLines = null, this._emitContentChangedEvent(new ip([
68823
68825
  new Q_e()
68824
68826
  ], this._versionId, !1, !1), this._createContentChanged2(new M(1, 1, o, a), 0, r, new P(o, a), this.getValue(), !1, !1, !0, !1, n));
68825
68827
  }
@@ -68910,7 +68912,7 @@ let dN = (zo = class extends U {
68910
68912
  }
68911
68913
  detectIndentation(e, t) {
68912
68914
  this._assertNotDisposed();
68913
- const n = L7(this._buffer, t, e);
68915
+ const n = LF(this._buffer, t, e);
68914
68916
  this.updateOptions({
68915
68917
  insertSpaces: n.insertSpaces,
68916
68918
  tabSize: n.tabSize,
@@ -69344,7 +69346,7 @@ let dN = (zo = class extends U {
69344
69346
  const A = g + I, N = v + I;
69345
69347
  E.takeFromEndWhile((V) => V.lineNumber > N);
69346
69348
  const O = E.takeFromEndWhile((V) => V.lineNumber === N);
69347
- l.push(new _7(A, this.getLineContent(N), O));
69349
+ l.push(new _F(A, this.getLineContent(N), O));
69348
69350
  }
69349
69351
  if (w < m) {
69350
69352
  const I = g + w;
@@ -69390,7 +69392,7 @@ let dN = (zo = class extends U {
69390
69392
  //#region Decorations
69391
69393
  handleBeforeFireDecorationsChangedEvent(e, t, n) {
69392
69394
  if (e && e.size > 0) {
69393
- const r = Array.from(e).map((o) => new _7(o, this.getLineContent(o), this._getInjectedTextInLine(o)));
69395
+ const r = Array.from(e).map((o) => new _F(o, this.getLineContent(o), this._getInjectedTextInLine(o)));
69394
69396
  this._onDidChangeInjectedText.fire(new iU(r));
69395
69397
  }
69396
69398
  if (t && t.size > 0) {
@@ -69417,7 +69419,7 @@ let dN = (zo = class extends U {
69417
69419
  this._changeDecorationImpl(e, r, o);
69418
69420
  },
69419
69421
  changeDecorationOptions: (r, o) => {
69420
- this._changeDecorationOptionsImpl(e, r, U7(o));
69422
+ this._changeDecorationOptionsImpl(e, r, UF(o));
69421
69423
  },
69422
69424
  removeDecoration: (r) => {
69423
69425
  this._deltaDecorationsImpl(e, [r], []);
@@ -69447,11 +69449,11 @@ let dN = (zo = class extends U {
69447
69449
  _setTrackedRange(e, t, n) {
69448
69450
  const i = e ? this._decorations[e] : null;
69449
69451
  if (!i)
69450
- return t ? this._deltaDecorationsImpl(0, [], [{ range: t, options: $7[n] }], !0)[0] : null;
69452
+ return t ? this._deltaDecorationsImpl(0, [], [{ range: t, options: $F[n] }], !0)[0] : null;
69451
69453
  if (!t)
69452
69454
  return this._decorationsTree.delete(i), delete this._decorations[i.id], null;
69453
69455
  const r = this._validateRangeRelaxedNoAllocations(t), o = this._buffer.getOffsetAt(r.startLineNumber, r.startColumn), a = this._buffer.getOffsetAt(r.endLineNumber, r.endColumn);
69454
- return this._decorationsTree.delete(i), i.reset(this.getVersionId(), o, a, r), i.setOptions($7[n]), this._decorationsTree.insert(i), i.id;
69456
+ return this._decorationsTree.delete(i), i.reset(this.getVersionId(), o, a, r), i.setOptions($F[n]), this._decorationsTree.insert(i), i.id;
69455
69457
  }
69456
69458
  removeAllDecorationsWithOwnerId(e) {
69457
69459
  if (this._isDisposed)
@@ -69599,7 +69601,7 @@ let dN = (zo = class extends U {
69599
69601
  const b = ++this._lastDecorationId, w = `${this._instanceId};${b}`;
69600
69602
  h = new _U(w, 0, 0), this._decorations[w] = h;
69601
69603
  }
69602
- const u = n[c], f = this._validateRangeRelaxedNoAllocations(u.range), g = U7(u.options), p = this._buffer.getOffsetAt(f.startLineNumber, f.startColumn), m = this._buffer.getOffsetAt(f.endLineNumber, f.endColumn);
69604
+ const u = n[c], f = this._validateRangeRelaxedNoAllocations(u.range), g = UF(u.options), p = this._buffer.getOffsetAt(f.startLineNumber, f.startColumn), m = this._buffer.getOffsetAt(f.endLineNumber, f.endColumn);
69603
69605
  h.ownerId = e, h.reset(r, p, m, f), h.setOptions(g), h.options.after && this._onDidChangeDecorations.recordLineAffectedByInjectedText(f.endLineNumber), h.options.before && this._onDidChangeDecorations.recordLineAffectedByInjectedText(f.startLineNumber), h.options.lineHeight !== null && this._onDidChangeDecorations.recordLineAffectedByLineHeightChange(e, h.id, f.startLineNumber, h.options.lineHeight), h.options.affectsFont && this._onDidChangeDecorations.recordLineAffectedByFontChange(e, h.id, f.startLineNumber), i || this._onDidChangeDecorations.checkAffectedAndFire(g), this._decorationsTree.insert(h), d[c] = h.id, c++;
69604
69606
  } else
69605
69607
  h && delete this._decorations[h.id];
@@ -69679,7 +69681,7 @@ function Ube(s) {
69679
69681
  function dC(s) {
69680
69682
  return !!s.options.after || !!s.options.before;
69681
69683
  }
69682
- class z7 {
69684
+ class zF {
69683
69685
  constructor() {
69684
69686
  this._decorationsTree0 = new Hk(), this._decorationsTree1 = new Hk(), this._injectedTextDecorationsTree = new Hk();
69685
69687
  }
@@ -69816,7 +69818,7 @@ class Pn {
69816
69818
  }
69817
69819
  }
69818
69820
  Pn.EMPTY = Pn.register({ description: "empty" });
69819
- const $7 = [
69821
+ const $F = [
69820
69822
  Pn.register({
69821
69823
  description: "tracked-range-always-grows-when-typing-at-edges",
69822
69824
  stickiness: 0
@@ -69838,10 +69840,10 @@ const $7 = [
69838
69840
  /* model.TrackedRangeStickiness.GrowsOnlyWhenTypingAfter */
69839
69841
  })
69840
69842
  ];
69841
- function U7(s) {
69843
+ function UF(s) {
69842
69844
  return s instanceof Pn ? s : Pn.createDynamic(s);
69843
69845
  }
69844
- class j7 {
69846
+ class jF {
69845
69847
  static toKey(e) {
69846
69848
  return `${e.ownerId};${e.decorationId};${e.lineNumber}`;
69847
69849
  }
@@ -69849,7 +69851,7 @@ class j7 {
69849
69851
  this.ownerId = e, this.decorationId = t, this.lineNumber = n, this.lineHeight = i;
69850
69852
  }
69851
69853
  }
69852
- class K7 {
69854
+ class KF {
69853
69855
  static toKey(e) {
69854
69856
  return `${e.ownerId};${e.decorationId};${e.lineNumber}`;
69855
69857
  }
@@ -69871,10 +69873,10 @@ class Gbe extends U {
69871
69873
  this._affectedInjectedTextLines || (this._affectedInjectedTextLines = /* @__PURE__ */ new Set()), this._affectedInjectedTextLines.add(e);
69872
69874
  }
69873
69875
  recordLineAffectedByLineHeightChange(e, t, n, i) {
69874
- this._affectedLineHeights || (this._affectedLineHeights = new W7([], j7.toKey)), this._affectedLineHeights.add(new j7(e, t, n, i));
69876
+ this._affectedLineHeights || (this._affectedLineHeights = new WF([], jF.toKey)), this._affectedLineHeights.add(new jF(e, t, n, i));
69875
69877
  }
69876
69878
  recordLineAffectedByFontChange(e, t, n) {
69877
- this._affectedFontLines || (this._affectedFontLines = new W7([], K7.toKey)), this._affectedFontLines.add(new K7(e, t, n));
69879
+ this._affectedFontLines || (this._affectedFontLines = new WF([], KF.toKey)), this._affectedFontLines.add(new KF(e, t, n));
69878
69880
  }
69879
69881
  checkAffectedAndFire(e) {
69880
69882
  this._affectsMinimap ||= !!e.minimap?.position, this._affectsOverviewRuler ||= !!e.overviewRuler?.color, this._affectsGlyphMargin ||= !!e.glyphMarginClassName, this._affectsLineNumber ||= !!e.lineNumberClassName, this.tryFire();
@@ -70080,7 +70082,7 @@ function Qbe(s, e, t, n, i, r, o, a, l) {
70080
70082
  function F_(s, e, t, n) {
70081
70083
  return s === 9 ? t - e % t : Dd(s) || s < 32 ? n : 1;
70082
70084
  }
70083
- function q7(s, e) {
70085
+ function qF(s, e) {
70084
70086
  return e - s % e;
70085
70087
  }
70086
70088
  function Jbe(s, e) {
@@ -70095,12 +70097,12 @@ function TU(s, e, t, n, i) {
70095
70097
  const o = js(s);
70096
70098
  if (o !== -1) {
70097
70099
  for (let l = 0; l < o; l++) {
70098
- const c = s.charCodeAt(l) === 9 ? q7(r, e) : 1;
70100
+ const c = s.charCodeAt(l) === 9 ? qF(r, e) : 1;
70099
70101
  r += c;
70100
70102
  }
70101
70103
  const a = i === 3 ? 2 : i === 2 ? 1 : 0;
70102
70104
  for (let l = 0; l < a; l++) {
70103
- const c = q7(r, e);
70105
+ const c = qF(r, e);
70104
70106
  r += c;
70105
70107
  }
70106
70108
  r + n > t && (r = 0);
@@ -70185,7 +70187,7 @@ class my {
70185
70187
  this.modelState = t, this.viewState = n, this._updateTrackedRange(e);
70186
70188
  }
70187
70189
  }
70188
- class G7 {
70190
+ class GF {
70189
70191
  constructor(e) {
70190
70192
  this.context = e, this.cursors = [new my(e)], this.lastAddedCursorIndex = 0;
70191
70193
  }
@@ -70300,7 +70302,7 @@ class G7 {
70300
70302
  }
70301
70303
  }
70302
70304
  }
70303
- class Y7 {
70305
+ class YF {
70304
70306
  constructor(e, t, n, i) {
70305
70307
  this._cursorContextBrand = void 0, this.model = e, this.viewModel = t, this.coordinatesConverter = n, this.cursorConfig = i;
70306
70308
  }
@@ -70677,13 +70679,13 @@ class x0e {
70677
70679
  }
70678
70680
  class L0e extends U {
70679
70681
  constructor(e, t, n, i) {
70680
- super(), this._model = e, this._knownModelVersionId = this._model.getVersionId(), this._viewModel = t, this._coordinatesConverter = n, this.context = new Y7(this._model, this._viewModel, this._coordinatesConverter, i), this._cursors = new G7(this.context), this._hasFocus = !1, this._isHandling = !1, this._compositionState = null, this._columnSelectData = null, this._autoClosedActions = [], this._prevEditOperationType = 0;
70682
+ super(), this._model = e, this._knownModelVersionId = this._model.getVersionId(), this._viewModel = t, this._coordinatesConverter = n, this.context = new YF(this._model, this._viewModel, this._coordinatesConverter, i), this._cursors = new GF(this.context), this._hasFocus = !1, this._isHandling = !1, this._compositionState = null, this._columnSelectData = null, this._autoClosedActions = [], this._prevEditOperationType = 0;
70681
70683
  }
70682
70684
  dispose() {
70683
70685
  this._cursors.dispose(), this._autoClosedActions = Tn(this._autoClosedActions), super.dispose();
70684
70686
  }
70685
70687
  updateConfiguration(e) {
70686
- this.context = new Y7(this._model, this._viewModel, this._coordinatesConverter, e), this._cursors.updateContext(this.context);
70688
+ this.context = new YF(this._model, this._viewModel, this._coordinatesConverter, e), this._cursors.updateContext(this.context);
70687
70689
  }
70688
70690
  onLineMappingChanged(e) {
70689
70691
  this._knownModelVersionId === this._model.getVersionId() && this.setStates(e, "viewModel", 0, this.getCursorStates());
@@ -70790,7 +70792,7 @@ class L0e extends U {
70790
70792
  /* RawContentChangedType.Flush */
70791
70793
  );
70792
70794
  if (this._prevEditOperationType = 0, i)
70793
- this._cursors.dispose(), this._cursors = new G7(this.context), this._validateAutoClosedActions(), this._emitStateChangedIfNecessary(e, "model", 1, null, !1);
70795
+ this._cursors.dispose(), this._cursors = new GF(this.context), this._validateAutoClosedActions(), this._emitStateChangedIfNecessary(e, "model", 1, null, !1);
70794
70796
  else if (this._hasFocus && n.resultingSelection && n.resultingSelection.length > 0) {
70795
70797
  const r = Ke.fromModelSelections(n.resultingSelection);
70796
70798
  this.setStates(e, "modelChange", n.isUndoing ? 5 : n.isRedoing ? 6 : 2, r) && this.revealAll(
@@ -70862,7 +70864,7 @@ class L0e extends U {
70862
70864
  }
70863
70865
  });
70864
70866
  const r = this._model.deltaDecorations([], n), o = this._model.deltaDecorations([], i);
70865
- this._autoClosedActions.push(new X7(this._model, r, o));
70867
+ this._autoClosedActions.push(new XF(this._model, r, o));
70866
70868
  }
70867
70869
  _executeEditOperation(e, t) {
70868
70870
  if (!e)
@@ -70961,7 +70963,7 @@ class L0e extends U {
70961
70963
  );
70962
70964
  }
70963
70965
  getAutoClosedCharacters() {
70964
- return X7.getAllAutoClosedCharacters(this._autoClosedActions);
70966
+ return XF.getAllAutoClosedCharacters(this._autoClosedActions);
70965
70967
  }
70966
70968
  startComposition(e) {
70967
70969
  this._compositionState = new W_(this._model, this.getSelections());
@@ -71061,7 +71063,7 @@ class V_ {
71061
71063
  return !0;
71062
71064
  }
71063
71065
  }
71064
- class X7 {
71066
+ class XF {
71065
71067
  static getAllAutoClosedCharacters(e) {
71066
71068
  let t = [];
71067
71069
  for (const n of e)
@@ -71277,15 +71279,15 @@ class W_ {
71277
71279
  return new upe(r, e.startSelectionOffset - n, e.endSelectionOffset - n, l, t.startSelectionOffset - n, t.endSelectionOffset - n, c);
71278
71280
  }
71279
71281
  }
71280
- const Z7 = {
71282
+ const ZF = {
71281
71283
  getInitialState: () => Z1,
71282
71284
  tokenizeEncoded: (s, e, t) => kA(0, t)
71283
71285
  };
71284
71286
  async function D0e(s, e, t) {
71285
71287
  if (!t)
71286
- return Q7(e, s.languageIdCodec, Z7);
71288
+ return QF(e, s.languageIdCodec, ZF);
71287
71289
  const n = await wn.getOrCreate(t);
71288
- return Q7(e, s.languageIdCodec, n || Z7);
71290
+ return QF(e, s.languageIdCodec, n || ZF);
71289
71291
  }
71290
71292
  function T0e(s, e, t, n, i, r, o) {
71291
71293
  let a = "<div>", l = n, c = 0, d = !0;
@@ -71336,7 +71338,7 @@ function T0e(s, e, t, n, i, r, o) {
71336
71338
  }
71337
71339
  return a += "</div>", a;
71338
71340
  }
71339
- function Q7(s, e, t) {
71341
+ function QF(s, e, t) {
71340
71342
  let n = '<div class="monaco-tokenized-source">';
71341
71343
  const i = em(s);
71342
71344
  let r = t.getInitialState();
@@ -71360,7 +71362,7 @@ class N0e {
71360
71362
  this.decorationId = e, this.index = t, this.lineNumber = n, this.specialHeight = i, this.prefixSum = r, this.maximumSpecialHeight = i, this.deleted = !1;
71361
71363
  }
71362
71364
  }
71363
- class J7 {
71365
+ class JF {
71364
71366
  constructor(e, t) {
71365
71367
  if (this._decorationIDToCustomLine = new jk(), this._orderedCustomLines = [], this._pendingSpecialLinesToInsert = [], this._invalidIndex = 0, this._hasPending = !1, this._defaultLineHeight = e, t.length > 0) {
71366
71368
  for (const n of t)
@@ -71579,7 +71581,7 @@ class M0e {
71579
71581
  var Sd;
71580
71582
  let R0e = (Sd = class {
71581
71583
  constructor(e, t, n, i, r) {
71582
- this._instanceId = OH(++Sd.INSTANCE_COUNT), this._pendingChanges = new I0e(), this._lastWhitespaceId = 0, this._arr = [], this._prefixSumValidIndex = -1, this._minWidth = -1, this._lineCount = e, this._paddingTop = n, this._paddingBottom = i, this._lineHeightsManager = new J7(t, r);
71584
+ this._instanceId = OH(++Sd.INSTANCE_COUNT), this._pendingChanges = new I0e(), this._lastWhitespaceId = 0, this._arr = [], this._prefixSumValidIndex = -1, this._minWidth = -1, this._lineCount = e, this._paddingTop = n, this._paddingBottom = i, this._lineHeightsManager = new JF(t, r);
71583
71585
  }
71584
71586
  /**
71585
71587
  * Find the insertion index for a new value inside a sorted array of values.
@@ -71611,7 +71613,7 @@ let R0e = (Sd = class {
71611
71613
  * @param lineCount New number of lines.
71612
71614
  */
71613
71615
  onFlushed(e, t) {
71614
- this._lineCount = e, this._lineHeightsManager = new J7(this._lineHeightsManager.defaultLineHeight, t);
71616
+ this._lineCount = e, this._lineHeightsManager = new JF(this._lineHeightsManager.defaultLineHeight, t);
71615
71617
  }
71616
71618
  changeLineHeights(e) {
71617
71619
  let t = !1;
@@ -72209,11 +72211,11 @@ class P0e extends U {
72209
72211
  // ---- Layouting logic
72210
72212
  getCurrentViewport() {
72211
72213
  const e = this._scrollable.getScrollDimensions(), t = this._scrollable.getCurrentScrollPosition();
72212
- return new yF(t.scrollTop, t.scrollLeft, e.width, e.height);
72214
+ return new y7(t.scrollTop, t.scrollLeft, e.width, e.height);
72213
72215
  }
72214
72216
  getFutureViewport() {
72215
72217
  const e = this._scrollable.getScrollDimensions(), t = this._scrollable.getFutureScrollPosition();
72216
- return new yF(t.scrollTop, t.scrollLeft, e.width, e.height);
72218
+ return new y7(t.scrollTop, t.scrollLeft, e.width, e.height);
72217
72219
  }
72218
72220
  _computeContentWidth() {
72219
72221
  const e = this._configuration.options, t = this._maxLineWidth, n = e.get(
@@ -82985,9 +82987,9 @@ class Oye {
82985
82987
  }
82986
82988
  cmp(e) {
82987
82989
  if (this._states[this._stateIdx] === 1)
82988
- return Z4(e, this._value.scheme);
82990
+ return Z5(e, this._value.scheme);
82989
82991
  if (this._states[this._stateIdx] === 2)
82990
- return Z4(e, this._value.authority);
82992
+ return Z5(e, this._value.authority);
82991
82993
  if (this._states[this._stateIdx] === 3)
82992
82994
  return this._pathIterator.cmp(e);
82993
82995
  if (this._states[this._stateIdx] === 4)
@@ -86330,7 +86332,7 @@ const Wj = {
86330
86332
  badgeForeground: ee(vue),
86331
86333
  badgeBorder: ee(st)
86332
86334
  };
86333
- ee(Rue), ee(Mue), ee(RF), ee(RF), ee(Aue);
86335
+ ee(Rue), ee(Mue), ee(R7), ee(R7), ee(Aue);
86334
86336
  const C0 = {
86335
86337
  listBackground: void 0,
86336
86338
  listInactiveFocusForeground: void 0,
@@ -100786,7 +100788,7 @@ class ud {
100786
100788
  this.visibleLineCountTop.read(l) + this.visibleLineCountBottom.read(l) === this.lineCount && !this.isDragged.read(l)
100787
100789
  )), this.isDragged = Oe(this, void 0);
100788
100790
  const o = Math.max(Math.min(i, this.lineCount), 0), a = Math.max(Math.min(r, this.lineCount - i), 0);
100789
- T4(i === o), T4(r === a), this._visibleLineCountTop.set(o, void 0), this._visibleLineCountBottom.set(a, void 0);
100791
+ T5(i === o), T5(r === a), this._visibleLineCountTop.set(o, void 0), this._visibleLineCountBottom.set(a, void 0);
100790
100792
  }
100791
100793
  setVisibleRanges(e, t) {
100792
100794
  const n = [], i = new Hr(e.map((l) => l.modified)).subtractFrom(this.modifiedUnchangedRange);
@@ -102386,7 +102388,7 @@ let dM = class extends i2e {
102386
102388
  g && (u++, !d.has(g.id) && u >= h && (i[f] = void 0, l[f] = g));
102387
102389
  }
102388
102390
  }
102389
- D4(i), D4(l), super.setActions(i, Si.join(l, r)), (o.length > 0 || i.length > 0) && this._sessionDisposables.add(F(this.getElement(), "contextmenu", (d) => {
102391
+ D5(i), D5(l), super.setActions(i, Si.join(l, r)), (o.length > 0 || i.length > 0) && this._sessionDisposables.add(F(this.getElement(), "contextmenu", (d) => {
102390
102392
  const h = new _r(pe(this.getElement()), d), u = this.getItemAction(h.target);
102391
102393
  if (!u)
102392
102394
  return;
@@ -105383,7 +105385,7 @@ const ZDe = {
105383
105385
  setup(s) {
105384
105386
  const e = s, t = Wq(s, "modelValue"), { editor: n, editorInstance: i, focusEditor: r } = Xte(e), { isHtmlMode: o, htmlContent: a, htmlTextarea: l, toggleHtmlMode: c, onHtmlInput: d } = Zte(n, (p, m) => {
105385
105387
  p === "update:modelValue" && (t.value = m);
105386
- }), { isFullscreen: h, toggleFullscreen: u } = Qte(), f = Bi(() => typeof e.toolbar == "string" ? E4[e.toolbar] || E4.default : e.toolbar), g = Bi(() => f.value.map((p) => Tse[p]).filter(Boolean));
105388
+ }), { isFullscreen: h, toggleFullscreen: u } = Qte(), f = Bi(() => typeof e.toolbar == "string" ? E5[e.toolbar] || E5.default : e.toolbar), g = Bi(() => f.value.map((p) => Tse[p]).filter(Boolean));
105387
105389
  return go(() => e.modelValue, (p) => {
105388
105390
  if (n.value) {
105389
105391
  const m = p || "", b = n.value.getHTML();