vdc-editor 0.1.209 → 0.1.210

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.
@@ -2,7 +2,7 @@ var ZI = Object.defineProperty;
2
2
  var QI = (t, e, n) => e in t ? ZI(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
3
  var mn = (t, e, n) => QI(t, typeof e != "symbol" ? e + "" : e, n);
4
4
  import * as S4 from "vue";
5
- import { defineComponent as j, createElementBlock as me, openBlock as M, normalizeClass as He, unref as g, toDisplayString as Ie, markRaw as Sb, ref as H, onMounted as ht, onBeforeUnmount as so, h as Dn, getCurrentInstance as jo, watchEffect as Tn, nextTick as Nt, customRef as jx, shallowRef as hh, provide as fn, reactive as cr, render as T4, watch as De, computed as X, normalizeStyle as Mt, createCommentVNode as _e, createBlock as $, createVNode as D, getCurrentScope as qx, onScopeDispose as Kx, shallowReadonly as wl, mergeProps as ke, withCtx as N, renderSlot as ie, normalizeProps as qt, guardReactiveProps as en, toRefs as Bn, toHandlers as eL, resolveDynamicComponent as Un, toRef as tL, camelize as Gx, withKeys as Ul, withModifiers as En, Fragment as tt, Comment as Xx, cloneVNode as nL, readonly as Yx, inject as Yt, toHandlerKey as oL, Teleport as uu, useSlots as mh, createTextVNode as at, onUnmounted as qn, mergeDefaults as Jx, watchPostEffect as rL, effectScope as Tb, onBeforeUpdate as iL, onUpdated as sL, isRef as Qc, createElementVNode as ee, renderList as Ut, onBeforeMount as ed, withDirectives as To, vModelSelect as aL, Text as lL, defineAsyncComponent as uL, createSlots as kb, vModelText as cL, vShow as sr, useAttrs as td, onActivated as dL } from "vue";
5
+ import { defineComponent as j, createElementBlock as me, openBlock as M, normalizeClass as He, unref as g, toDisplayString as Ie, markRaw as Sb, ref as H, onMounted as ht, onBeforeUnmount as so, h as Dn, getCurrentInstance as jo, watchEffect as Tn, nextTick as Mt, customRef as jx, shallowRef as hh, provide as fn, reactive as cr, render as T4, watch as De, computed as X, normalizeStyle as It, createCommentVNode as _e, createBlock as $, createVNode as D, getCurrentScope as qx, onScopeDispose as Kx, shallowReadonly as wl, mergeProps as ke, withCtx as N, renderSlot as se, normalizeProps as qt, guardReactiveProps as en, toRefs as Bn, toHandlers as eL, resolveDynamicComponent as Un, toRef as tL, camelize as Gx, withKeys as Ul, withModifiers as En, Fragment as tt, Comment as Xx, cloneVNode as nL, readonly as Yx, inject as Yt, toHandlerKey as oL, Teleport as uu, useSlots as mh, createTextVNode as at, onUnmounted as qn, mergeDefaults as Jx, watchPostEffect as rL, effectScope as Tb, onBeforeUpdate as iL, onUpdated as sL, isRef as Qc, createElementVNode as ee, renderList as Ut, onBeforeMount as ed, withDirectives as To, vModelSelect as aL, Text as lL, defineAsyncComponent as uL, createSlots as kb, vModelText as cL, vShow as sr, useAttrs as td, onActivated as dL } from "vue";
6
6
  import { useVModel as fL, useLocalStorage as Zx, createEventHook as k4, createGlobalState as pL, useFullscreen as hL, useEventBus as ko, useFocus as mL, onClickOutside as gL, useFileDialog as bL, useElementSize as vL, onLongPress as yL, useWindowSize as wL, useEventListener as A4 } from "@vueuse/core";
7
7
  function Qx(t) {
8
8
  var e, n, o = "";
@@ -6609,7 +6609,7 @@ class Lb {
6609
6609
  }
6610
6610
  }
6611
6611
  const Um = /* @__PURE__ */ Object.create(null);
6612
- let Ze = class {
6612
+ let Qe = class {
6613
6613
  /**
6614
6614
  Initialize a selection with the head and anchor and ranges. If no
6615
6615
  ranges are given, constructs a single range across `$anchor` and
@@ -6773,7 +6773,7 @@ let Ze = class {
6773
6773
  return Ve.between(this.$anchor, this.$head).getBookmark();
6774
6774
  }
6775
6775
  };
6776
- Ze.prototype.visible = !0;
6776
+ Qe.prototype.visible = !0;
6777
6777
  class B5 {
6778
6778
  /**
6779
6779
  Create a range.
@@ -6786,7 +6786,7 @@ let W4 = !1;
6786
6786
  function j4(t) {
6787
6787
  !W4 && !t.parent.inlineContent && (W4 = !0, console.warn("TextSelection endpoint not pointing into a node with inline content (" + t.parent.type.name + ")"));
6788
6788
  }
6789
- class Ve extends Ze {
6789
+ class Ve extends Qe {
6790
6790
  /**
6791
6791
  Construct a text selection between the given points.
6792
6792
  */
@@ -6803,7 +6803,7 @@ class Ve extends Ze {
6803
6803
  map(e, n) {
6804
6804
  let o = e.resolve(n.map(this.head));
6805
6805
  if (!o.parent.inlineContent)
6806
- return Ze.near(o);
6806
+ return Qe.near(o);
6807
6807
  let r = e.resolve(n.map(this.anchor));
6808
6808
  return new Ve(r.parent.inlineContent ? r : o, o);
6809
6809
  }
@@ -6848,16 +6848,16 @@ class Ve extends Ze {
6848
6848
  static between(e, n, o) {
6849
6849
  let r = e.pos - n.pos;
6850
6850
  if ((!o || r) && (o = r >= 0 ? 1 : -1), !n.parent.inlineContent) {
6851
- let i = Ze.findFrom(n, o, !0) || Ze.findFrom(n, -o, !0);
6851
+ let i = Qe.findFrom(n, o, !0) || Qe.findFrom(n, -o, !0);
6852
6852
  if (i)
6853
6853
  n = i.$head;
6854
6854
  else
6855
- return Ze.near(n, o);
6855
+ return Qe.near(n, o);
6856
6856
  }
6857
- return e.parent.inlineContent || (r == 0 ? e = n : (e = (Ze.findFrom(e, -o, !0) || Ze.findFrom(e, o, !0)).$anchor, e.pos < n.pos != r < 0 && (e = n))), new Ve(e, n);
6857
+ return e.parent.inlineContent || (r == 0 ? e = n : (e = (Qe.findFrom(e, -o, !0) || Qe.findFrom(e, o, !0)).$anchor, e.pos < n.pos != r < 0 && (e = n))), new Ve(e, n);
6858
6858
  }
6859
6859
  }
6860
- Ze.jsonID("text", Ve);
6860
+ Qe.jsonID("text", Ve);
6861
6861
  class yh {
6862
6862
  constructor(e, n) {
6863
6863
  this.anchor = e, this.head = n;
@@ -6869,7 +6869,7 @@ class yh {
6869
6869
  return Ve.between(e.resolve(this.anchor), e.resolve(this.head));
6870
6870
  }
6871
6871
  }
6872
- class Ye extends Ze {
6872
+ class Ye extends Qe {
6873
6873
  /**
6874
6874
  Create a node selection. Does not verify the validity of its
6875
6875
  argument.
@@ -6880,7 +6880,7 @@ class Ye extends Ze {
6880
6880
  }
6881
6881
  map(e, n) {
6882
6882
  let { deleted: o, pos: r } = n.mapResult(this.anchor), i = e.resolve(r);
6883
- return o ? Ze.near(i) : new Ye(i);
6883
+ return o ? Qe.near(i) : new Ye(i);
6884
6884
  }
6885
6885
  content() {
6886
6886
  return new Re(xe.from(this.node), 0, 0);
@@ -6917,7 +6917,7 @@ class Ye extends Ze {
6917
6917
  }
6918
6918
  }
6919
6919
  Ye.prototype.visible = !1;
6920
- Ze.jsonID("node", Ye);
6920
+ Qe.jsonID("node", Ye);
6921
6921
  class Rb {
6922
6922
  constructor(e) {
6923
6923
  this.anchor = e;
@@ -6928,10 +6928,10 @@ class Rb {
6928
6928
  }
6929
6929
  resolve(e) {
6930
6930
  let n = e.resolve(this.anchor), o = n.nodeAfter;
6931
- return o && Ye.isSelectable(o) ? new Ye(n) : Ze.near(n);
6931
+ return o && Ye.isSelectable(o) ? new Ye(n) : Qe.near(n);
6932
6932
  }
6933
6933
  }
6934
- class go extends Ze {
6934
+ class go extends Qe {
6935
6935
  /**
6936
6936
  Create an all-selection over the given document.
6937
6937
  */
@@ -6941,7 +6941,7 @@ class go extends Ze {
6941
6941
  replace(e, n = Re.empty) {
6942
6942
  if (n == Re.empty) {
6943
6943
  e.delete(0, e.doc.content.size);
6944
- let o = Ze.atStart(e.doc);
6944
+ let o = Qe.atStart(e.doc);
6945
6945
  o.eq(e.selection) || e.setSelection(o);
6946
6946
  } else
6947
6947
  super.replace(e, n);
@@ -6965,7 +6965,7 @@ class go extends Ze {
6965
6965
  return jR;
6966
6966
  }
6967
6967
  }
6968
- Ze.jsonID("all", go);
6968
+ Qe.jsonID("all", go);
6969
6969
  const jR = {
6970
6970
  map() {
6971
6971
  return this;
@@ -7001,7 +7001,7 @@ function q4(t, e, n) {
7001
7001
  let i = t.mapping.maps[o], s;
7002
7002
  i.forEach((a, l, u, d) => {
7003
7003
  s == null && (s = d);
7004
- }), t.setSelection(Ze.near(t.doc.resolve(s), n));
7004
+ }), t.setSelection(Qe.near(t.doc.resolve(s), n));
7005
7005
  }
7006
7006
  const K4 = 1, G4 = 2, X4 = 4;
7007
7007
  class qR extends Lb {
@@ -7116,7 +7116,7 @@ class qR extends Lb {
7116
7116
  let s = this.doc.resolve(n);
7117
7117
  i = o == n ? s.marks() : s.marksAcross(this.doc.resolve(o));
7118
7118
  }
7119
- return this.replaceRangeWith(n, o, r.text(e, i)), this.selection.empty || this.setSelection(Ze.near(this.selection.$to)), this;
7119
+ return this.replaceRangeWith(n, o, r.text(e, i)), this.selection.empty || this.setSelection(Qe.near(this.selection.$to)), this;
7120
7120
  }
7121
7121
  }
7122
7122
  /**
@@ -7174,7 +7174,7 @@ const KR = [
7174
7174
  }),
7175
7175
  new nc("selection", {
7176
7176
  init(t, e) {
7177
- return t.selection || Ze.atStart(e.doc);
7177
+ return t.selection || Qe.atStart(e.doc);
7178
7178
  },
7179
7179
  apply(t) {
7180
7180
  return t.selection;
@@ -7354,7 +7354,7 @@ class Dl {
7354
7354
  if (s.name == "doc")
7355
7355
  i.doc = Gr.fromJSON(e.schema, n.doc);
7356
7356
  else if (s.name == "selection")
7357
- i.selection = Ze.fromJSON(i.doc, n.selection);
7357
+ i.selection = Qe.fromJSON(i.doc, n.selection);
7358
7358
  else if (s.name == "storedMarks")
7359
7359
  n.storedMarks && (i.storedMarks = n.storedMarks.map(e.schema.markFromJSON));
7360
7360
  else {
@@ -9002,7 +9002,7 @@ function OD(t) {
9002
9002
  }
9003
9003
  function ag(t, e) {
9004
9004
  let { $anchor: n, $head: o } = t.selection, r = e > 0 ? n.max(o) : n.min(o), i = r.parent.inlineContent ? r.depth ? t.doc.resolve(e > 0 ? r.after() : r.before()) : null : r;
9005
- return i && Ze.findFrom(i, e);
9005
+ return i && Qe.findFrom(i, e);
9006
9006
  }
9007
9007
  function Ts(t, e) {
9008
9008
  return t.dispatch(t.state.tr.setSelection(e).scrollIntoView()), !0;
@@ -9189,7 +9189,7 @@ function h6(t, e, n) {
9189
9189
  return Ts(t, s);
9190
9190
  }
9191
9191
  if (!r.parent.inlineContent) {
9192
- let s = e < 0 ? r : i, a = o instanceof go ? Ze.near(s, e) : Ze.findFrom(s, e);
9192
+ let s = e < 0 ? r : i, a = o instanceof go ? Qe.near(s, e) : Qe.findFrom(s, e);
9193
9193
  return a ? Ts(t, a) : !1;
9194
9194
  }
9195
9195
  return !1;
@@ -9635,7 +9635,7 @@ class nP {
9635
9635
  // (hidden) cursor is doesn't change the selection, and
9636
9636
  // thus doesn't get a reaction from ProseMirror. This
9637
9637
  // works around that.
9638
- ho && !this.view.state.selection.visible && Math.min(Math.abs(n.pos - this.view.state.selection.from), Math.abs(n.pos - this.view.state.selection.to)) <= 2) ? (Hl(this.view, Ze.near(this.view.state.doc.resolve(n.pos))), e.preventDefault()) : Ds(this.view, "pointer");
9638
+ ho && !this.view.state.selection.visible && Math.min(Math.abs(n.pos - this.view.state.selection.from), Math.abs(n.pos - this.view.state.selection.to)) <= 2) ? (Hl(this.view, Qe.near(this.view.state.doc.resolve(n.pos))), e.preventDefault()) : Ds(this.view, "pointer");
9639
9639
  }
9640
9640
  move(e) {
9641
9641
  this.updateAllowDefault(e), Ds(this.view, "pointer"), e.buttons == 0 && this.done();
@@ -10502,7 +10502,7 @@ class hP {
10502
10502
  }
10503
10503
  }
10504
10504
  let u = null;
10505
- i < 0 && r && e.input.lastFocus > Date.now() - 200 && Math.max(e.input.lastTouch, e.input.lastClick.time) < Date.now() - 300 && wh(o) && (u = Pb(e)) && u.eq(Ze.near(e.state.doc.resolve(0), 1)) ? (e.input.lastFocus = 0, Qi(e), this.currentSelection.set(o), e.scrollToSelection()) : (i > -1 || r) && (i > -1 && (e.docView.markDirty(i, s), mP(e)), this.handleDOMChange(i, s, a, l), e.docView && e.docView.dirty ? e.updateState(e.state) : this.currentSelection.eq(o) || Qi(e), this.currentSelection.set(o));
10505
+ i < 0 && r && e.input.lastFocus > Date.now() - 200 && Math.max(e.input.lastTouch, e.input.lastClick.time) < Date.now() - 300 && wh(o) && (u = Pb(e)) && u.eq(Qe.near(e.state.doc.resolve(0), 1)) ? (e.input.lastFocus = 0, Qi(e), this.currentSelection.set(o), e.scrollToSelection()) : (i > -1 || r) && (i > -1 && (e.docView.markDirty(i, s), mP(e)), this.handleDOMChange(i, s, a, l), e.docView && e.docView.dirty ? e.updateState(e.state) : this.currentSelection.eq(o) || Qi(e), this.currentSelection.set(o));
10506
10506
  }
10507
10507
  registerMutation(e, n) {
10508
10508
  if (n.indexOf(e.target) > -1)
@@ -10649,7 +10649,7 @@ function xP(t, e, n, o, r) {
10649
10649
  }
10650
10650
  t.state.selection.from < t.state.selection.to && b.start == b.endB && t.state.selection instanceof Ve && (b.start > t.state.selection.from && b.start <= t.state.selection.from + 2 && t.state.selection.from >= u.from ? b.start = t.state.selection.from : b.endA < t.state.selection.to && b.endA >= t.state.selection.to - 2 && t.state.selection.to <= u.to && (b.endB += t.state.selection.to - b.endA, b.endA = t.state.selection.to)), zo && $s <= 11 && b.endB == b.start + 1 && b.endA == b.start && b.start > u.from && u.doc.textBetween(b.start - u.from - 1, b.start - u.from + 1) == "  " && (b.start--, b.endA--, b.endB--);
10651
10651
  let y = u.doc.resolveNoCache(b.start - u.from), w = u.doc.resolveNoCache(b.endB - u.from), x = d.resolve(b.start), E = y.sameParent(w) && y.parent.inlineContent && x.end() >= b.endA, _;
10652
- if ((Kl && t.input.lastIOSEnter > Date.now() - 225 && (!E || r.some((P) => P.nodeName == "DIV" || P.nodeName == "P")) || !E && y.pos < u.doc.content.size && !y.sameParent(w) && (_ = Ze.findFrom(u.doc.resolve(y.pos + 1), 1, !0)) && _.head == w.pos) && t.someProp("handleKeyDown", (P) => P(t, ya(13, "Enter")))) {
10652
+ if ((Kl && t.input.lastIOSEnter > Date.now() - 225 && (!E || r.some((P) => P.nodeName == "DIV" || P.nodeName == "P")) || !E && y.pos < u.doc.content.size && !y.sameParent(w) && (_ = Qe.findFrom(u.doc.resolve(y.pos + 1), 1, !0)) && _.head == w.pos) && t.someProp("handleKeyDown", (P) => P(t, ya(13, "Enter")))) {
10653
10653
  t.input.lastIOSEnter = 0;
10654
10654
  return;
10655
10655
  }
@@ -11313,7 +11313,7 @@ const wC = (t, e, n) => {
11313
11313
  if (a && a.slice.size < a.to - a.from) {
11314
11314
  if (e) {
11315
11315
  let l = t.tr.step(a);
11316
- l.setSelection(Gl(i, "end") ? Ze.findFrom(l.doc.resolve(l.mapping.map(r.pos, -1)), -1) : Ye.create(l.doc, r.pos - i.nodeSize)), e(l.scrollIntoView());
11316
+ l.setSelection(Gl(i, "end") ? Qe.findFrom(l.doc.resolve(l.mapping.map(r.pos, -1)), -1) : Ye.create(l.doc, r.pos - i.nodeSize)), e(l.scrollIntoView());
11317
11317
  }
11318
11318
  return !0;
11319
11319
  }
@@ -11412,7 +11412,7 @@ const _C = (t, e, n) => {
11412
11412
  if (s && s.slice.size < s.to - s.from) {
11413
11413
  if (e) {
11414
11414
  let a = t.tr.step(s);
11415
- a.setSelection(Gl(i, "start") ? Ze.findFrom(a.doc.resolve(a.mapping.map(r.pos)), 1) : Ye.create(a.doc, a.mapping.map(r.pos))), e(a.scrollIntoView());
11415
+ a.setSelection(Gl(i, "start") ? Qe.findFrom(a.doc.resolve(a.mapping.map(r.pos)), 1) : Ye.create(a.doc, a.mapping.map(r.pos))), e(a.scrollIntoView());
11416
11416
  }
11417
11417
  return !0;
11418
11418
  }
@@ -11488,7 +11488,7 @@ const HP = (t, e) => {
11488
11488
  return !1;
11489
11489
  if (e) {
11490
11490
  let a = n.after(), l = t.tr.replaceWith(a, a, s.createAndFill());
11491
- l.setSelection(Ze.near(l.doc.resolve(a), 1)), e(l.scrollIntoView());
11491
+ l.setSelection(Qe.near(l.doc.resolve(a), 1)), e(l.scrollIntoView());
11492
11492
  }
11493
11493
  return !0;
11494
11494
  }, kC = (t, e) => {
@@ -11566,7 +11566,7 @@ function OC(t, e, n, o) {
11566
11566
  }
11567
11567
  return !0;
11568
11568
  }
11569
- let d = i.type.spec.isolating || o > 0 && l ? null : Ze.findFrom(e, 1), f = d && d.$from.blockRange(d.$to), h = f && du(f);
11569
+ let d = i.type.spec.isolating || o > 0 && l ? null : Qe.findFrom(e, 1), f = d && d.$from.blockRange(d.$to), h = f && du(f);
11570
11570
  if (h != null && h >= e.depth)
11571
11571
  return n && n(t.tr.lift(f, h).scrollIntoView()), !0;
11572
11572
  if (u && Gl(i, "start", !0) && Gl(r, "end")) {
@@ -12788,7 +12788,7 @@ function Yi(t = 0, e = 0, n = 0) {
12788
12788
  function DC(t, e = null) {
12789
12789
  if (!e)
12790
12790
  return null;
12791
- const n = Ze.atStart(t), o = Ze.atEnd(t);
12791
+ const n = Qe.atStart(t), o = Qe.atEnd(t);
12792
12792
  if (e === "start" || e === !0)
12793
12793
  return n;
12794
12794
  if (e === "end")
@@ -12897,7 +12897,7 @@ function DB(t, e, n) {
12897
12897
  let s = 0;
12898
12898
  i.forEach((a, l, u, d) => {
12899
12899
  s === 0 && (s = d);
12900
- }), t.setSelection(Ze.near(t.doc.resolve(s), n));
12900
+ }), t.setSelection(Qe.near(t.doc.resolve(s), n));
12901
12901
  }
12902
12902
  const PB = (t) => !("type" in t), BB = (t, e, n) => ({ tr: o, dispatch: r, editor: i }) => {
12903
12903
  var s;
@@ -13696,7 +13696,7 @@ const IF = mt.create({
13696
13696
  () => s.undoInputRule(),
13697
13697
  // maybe convert first text block node to default node
13698
13698
  () => s.command(({ tr: a }) => {
13699
- const { selection: l, doc: u } = a, { empty: d, $anchor: f } = l, { pos: h, parent: m } = f, b = f.parent.isTextblock && h > 0 ? a.doc.resolve(h - 1) : f, y = b.parent.type.spec.isolating, w = f.pos - f.parentOffset, x = y && b.parent.childCount === 1 ? w === f.pos : Ze.atStart(u).from === h;
13699
+ const { selection: l, doc: u } = a, { empty: d, $anchor: f } = l, { pos: h, parent: m } = f, b = f.parent.isTextblock && h > 0 ? a.doc.resolve(h - 1) : f, y = b.parent.type.spec.isolating, w = f.pos - f.parentOffset, x = y && b.parent.childCount === 1 ? w === f.pos : Qe.atStart(u).from === h;
13700
13700
  return !d || !m.type.isTextblock || m.textContent.length || !x || x && f.parent.type.name === "paragraph" ? !1 : s.clearNodes();
13701
13701
  }),
13702
13702
  () => s.deleteSelection(),
@@ -13751,7 +13751,7 @@ const IF = mt.create({
13751
13751
  const o = t.some((y) => y.docChanged) && !e.doc.eq(n.doc), r = t.some((y) => y.getMeta("preventClearDocument"));
13752
13752
  if (!o || r)
13753
13753
  return;
13754
- const { empty: i, from: s, to: a } = e.selection, l = Ze.atStart(e.doc).from, u = Ze.atEnd(e.doc).to;
13754
+ const { empty: i, from: s, to: a } = e.selection, l = Qe.atStart(e.doc).from, u = Qe.atEnd(e.doc).to;
13755
13755
  if (i || !(s === l && a === u) || !Nh(n.doc))
13756
13756
  return;
13757
13757
  const h = n.tr, m = Eh({
@@ -15104,8 +15104,8 @@ function S$(t) {
15104
15104
  function T$(t) {
15105
15105
  var e = t.state, n = t.options, o = t.name;
15106
15106
  if (!e.modifiersData[o]._skip) {
15107
- for (var r = n.mainAxis, i = r === void 0 ? !0 : r, s = n.altAxis, a = s === void 0 ? !0 : s, l = n.fallbackPlacements, u = n.padding, d = n.boundary, f = n.rootBoundary, h = n.altBoundary, m = n.flipVariations, b = m === void 0 ? !0 : m, y = n.allowedAutoPlacements, w = e.options.placement, x = pi(w), E = x === w, _ = l || (E || !b ? [jf(w)] : S$(w)), C = [w].concat(_).reduce(function(Qe, Be) {
15108
- return Qe.concat(pi(Be) === nv ? _$(e, {
15107
+ for (var r = n.mainAxis, i = r === void 0 ? !0 : r, s = n.altAxis, a = s === void 0 ? !0 : s, l = n.fallbackPlacements, u = n.padding, d = n.boundary, f = n.rootBoundary, h = n.altBoundary, m = n.flipVariations, b = m === void 0 ? !0 : m, y = n.allowedAutoPlacements, w = e.options.placement, x = pi(w), E = x === w, _ = l || (E || !b ? [jf(w)] : S$(w)), C = [w].concat(_).reduce(function(et, Be) {
15108
+ return et.concat(pi(Be) === nv ? _$(e, {
15109
15109
  placement: Be,
15110
15110
  boundary: d,
15111
15111
  rootBoundary: f,
@@ -15123,8 +15123,8 @@ function T$(t) {
15123
15123
  }), B = we ? Q ? Ir : Uo : Q ? Nr : Vo;
15124
15124
  T[K] > A[K] && (B = jf(B));
15125
15125
  var J = jf(B), re = [];
15126
- if (i && re.push(U[Y] <= 0), a && re.push(U[B] <= 0, U[J] <= 0), re.every(function(Qe) {
15127
- return Qe;
15126
+ if (i && re.push(U[Y] <= 0), a && re.push(U[B] <= 0, U[J] <= 0), re.every(function(et) {
15127
+ return et;
15128
15128
  })) {
15129
15129
  P = te, F = !1;
15130
15130
  break;
@@ -15261,14 +15261,14 @@ function P$(t) {
15261
15261
  };
15262
15262
  if (A) {
15263
15263
  if (i) {
15264
- var Q, we = C === "y" ? Vo : Uo, K = C === "y" ? Nr : Ir, U = C === "y" ? "height" : "width", B = A[C], J = B + w[we], re = B - w[K], oe = m ? -F[U] / 2 : 0, de = E === Yl ? k[U] : F[U], Le = E === Yl ? -F[U] : -k[U], Pe = e.elements.arrow, Qe = m && Pe ? rv(Pe) : {
15264
+ var Q, we = C === "y" ? Vo : Uo, K = C === "y" ? Nr : Ir, U = C === "y" ? "height" : "width", B = A[C], J = B + w[we], re = B - w[K], oe = m ? -F[U] / 2 : 0, de = E === Yl ? k[U] : F[U], Le = E === Yl ? -F[U] : -k[U], Pe = e.elements.arrow, et = m && Pe ? rv(Pe) : {
15265
15265
  width: 0,
15266
15266
  height: 0
15267
- }, Be = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ZC(), it = Be[we], ae = Be[K], fe = lc(0, k[U], Qe[U]), ve = _ ? k[U] / 2 - oe - fe - it - L.mainAxis : de - fe - it - L.mainAxis, ye = _ ? -k[U] / 2 + oe + fe + ae + L.mainAxis : Le + fe + ae + L.mainAxis, Oe = e.elements.arrow && ad(e.elements.arrow), le = Oe ? C === "y" ? Oe.clientTop || 0 : Oe.clientLeft || 0 : 0, Me = (Q = te == null ? void 0 : te[C]) != null ? Q : 0, je = B + ve - Me - le, rt = B + ye - Me, Lt = lc(m ? wp(J, je) : J, B, m ? Ma(re, rt) : re);
15267
+ }, Be = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ZC(), it = Be[we], ae = Be[K], fe = lc(0, k[U], et[U]), ve = _ ? k[U] / 2 - oe - fe - it - L.mainAxis : de - fe - it - L.mainAxis, ye = _ ? -k[U] / 2 + oe + fe + ae + L.mainAxis : Le + fe + ae + L.mainAxis, Oe = e.elements.arrow && ad(e.elements.arrow), le = Oe ? C === "y" ? Oe.clientTop || 0 : Oe.clientLeft || 0 : 0, Me = (Q = te == null ? void 0 : te[C]) != null ? Q : 0, je = B + ve - Me - le, rt = B + ye - Me, Lt = lc(m ? wp(J, je) : J, B, m ? Ma(re, rt) : re);
15268
15268
  A[C] = Lt, Y[C] = Lt - B;
15269
15269
  }
15270
15270
  if (a) {
15271
- var zt, q = C === "x" ? Vo : Uo, V = C === "x" ? Nr : Ir, ge = A[T], Ae = T === "y" ? "height" : "width", Ke = ge + w[q], gt = ge - w[V], nt = [Vo, Uo].indexOf(x) !== -1, z = (zt = te == null ? void 0 : te[T]) != null ? zt : 0, se = nt ? Ke : ge - k[Ae] - F[Ae] - z + L.altAxis, ue = nt ? ge + k[Ae] + F[Ae] - z - L.altAxis : gt, Se = m && nt ? s$(se, ge, ue) : lc(m ? se : Ke, ge, m ? ue : gt);
15271
+ var zt, q = C === "x" ? Vo : Uo, V = C === "x" ? Nr : Ir, ge = A[T], Ae = T === "y" ? "height" : "width", Ke = ge + w[q], gt = ge - w[V], nt = [Vo, Uo].indexOf(x) !== -1, z = (zt = te == null ? void 0 : te[T]) != null ? zt : 0, ie = nt ? Ke : ge - k[Ae] - F[Ae] - z + L.altAxis, ue = nt ? ge + k[Ae] + F[Ae] - z - L.altAxis : gt, Se = m && nt ? s$(ie, ge, ue) : lc(m ? ie : Ke, ge, m ? ue : gt);
15272
15272
  A[T] = Se, Y[T] = Se - ge;
15273
15273
  }
15274
15274
  e.modifiersData[o] = Y;
@@ -15857,7 +15857,7 @@ function CH(t, e) {
15857
15857
  state: _,
15858
15858
  plugins: E,
15859
15859
  // methods
15860
- clearDelayTimeouts: se,
15860
+ clearDelayTimeouts: ie,
15861
15861
  setProps: ue,
15862
15862
  setContent: Se,
15863
15863
  show: Je,
@@ -15908,8 +15908,8 @@ function CH(t, e) {
15908
15908
  he === void 0 && (he = !1), A.style.pointerEvents = C.props.interactive && !he ? "" : "none", A.style.zIndex = "" + C.props.zIndex;
15909
15909
  }
15910
15910
  function J(he, qe, ot) {
15911
- if (ot === void 0 && (ot = !0), F.forEach(function(It) {
15912
- It[he] && It[he].apply(It, qe);
15911
+ if (ot === void 0 && (ot = !0), F.forEach(function(Nt) {
15912
+ Nt[he] && Nt[he].apply(Nt, qe);
15913
15913
  }), ot) {
15914
15914
  var Ft;
15915
15915
  (Ft = C.props)[he].apply(Ft, qe);
@@ -15919,13 +15919,13 @@ function CH(t, e) {
15919
15919
  var he = C.props.aria;
15920
15920
  if (he.content) {
15921
15921
  var qe = "aria-" + he.content, ot = A.id, Ft = Ml(C.props.triggerTarget || t);
15922
- Ft.forEach(function(It) {
15923
- var Fn = It.getAttribute(qe);
15922
+ Ft.forEach(function(Nt) {
15923
+ var Fn = Nt.getAttribute(qe);
15924
15924
  if (C.state.isVisible)
15925
- It.setAttribute(qe, Fn ? Fn + " " + ot : ot);
15925
+ Nt.setAttribute(qe, Fn ? Fn + " " + ot : ot);
15926
15926
  else {
15927
15927
  var Zn = Fn && Fn.replace(ot, "").trim();
15928
- Zn ? It.setAttribute(qe, Zn) : It.removeAttribute(qe);
15928
+ Zn ? Nt.setAttribute(qe, Zn) : Nt.removeAttribute(qe);
15929
15929
  }
15930
15930
  });
15931
15931
  }
@@ -15963,16 +15963,16 @@ function CH(t, e) {
15963
15963
  function Pe() {
15964
15964
  l = !0;
15965
15965
  }
15966
- function Qe() {
15966
+ function et() {
15967
15967
  l = !1;
15968
15968
  }
15969
15969
  function Be() {
15970
15970
  var he = we();
15971
- he.addEventListener("mousedown", Le, !0), he.addEventListener("touchend", Le, ga), he.addEventListener("touchstart", Qe, ga), he.addEventListener("touchmove", Pe, ga);
15971
+ he.addEventListener("mousedown", Le, !0), he.addEventListener("touchend", Le, ga), he.addEventListener("touchstart", et, ga), he.addEventListener("touchmove", Pe, ga);
15972
15972
  }
15973
15973
  function it() {
15974
15974
  var he = we();
15975
- he.removeEventListener("mousedown", Le, !0), he.removeEventListener("touchend", Le, ga), he.removeEventListener("touchstart", Qe, ga), he.removeEventListener("touchmove", Pe, ga);
15975
+ he.removeEventListener("mousedown", Le, !0), he.removeEventListener("touchend", Le, ga), he.removeEventListener("touchstart", et, ga), he.removeEventListener("touchmove", Pe, ga);
15976
15976
  }
15977
15977
  function ae(he, qe) {
15978
15978
  ve(he, function() {
@@ -15984,8 +15984,8 @@ function CH(t, e) {
15984
15984
  }
15985
15985
  function ve(he, qe) {
15986
15986
  var ot = K().box;
15987
- function Ft(It) {
15988
- It.target === ot && (r1(ot, "remove", Ft), qe());
15987
+ function Ft(Nt) {
15988
+ Nt.target === ot && (r1(ot, "remove", Ft), qe());
15989
15989
  }
15990
15990
  if (he === 0)
15991
15991
  return qe();
@@ -15994,9 +15994,9 @@ function CH(t, e) {
15994
15994
  function ye(he, qe, ot) {
15995
15995
  ot === void 0 && (ot = !1);
15996
15996
  var Ft = Ml(C.props.triggerTarget || t);
15997
- Ft.forEach(function(It) {
15998
- It.addEventListener(he, qe, ot), m.push({
15999
- node: It,
15997
+ Ft.forEach(function(Nt) {
15998
+ Nt.addEventListener(he, qe, ot), m.push({
15999
+ node: Nt,
16000
16000
  eventType: he,
16001
16001
  handler: qe,
16002
16002
  options: ot
@@ -16025,26 +16025,26 @@ function CH(t, e) {
16025
16025
  }
16026
16026
  function le() {
16027
16027
  m.forEach(function(he) {
16028
- var qe = he.node, ot = he.eventType, Ft = he.handler, It = he.options;
16029
- qe.removeEventListener(ot, Ft, It);
16028
+ var qe = he.node, ot = he.eventType, Ft = he.handler, Nt = he.options;
16029
+ qe.removeEventListener(ot, Ft, Nt);
16030
16030
  }), m = [];
16031
16031
  }
16032
16032
  function Me(he) {
16033
16033
  var qe, ot = !1;
16034
16034
  if (!(!C.state.isEnabled || zt(he) || a)) {
16035
16035
  var Ft = ((qe = d) == null ? void 0 : qe.type) === "focus";
16036
- d = he, y = he.currentTarget, oe(), !C.state.isVisible && oH(he) && vf.forEach(function(It) {
16037
- return It(he);
16036
+ d = he, y = he.currentTarget, oe(), !C.state.isVisible && oH(he) && vf.forEach(function(Nt) {
16037
+ return Nt(he);
16038
16038
  }), he.type === "click" && (C.props.trigger.indexOf("mouseenter") < 0 || s) && C.props.hideOnClick !== !1 && C.state.isVisible ? ot = !0 : Ke(he), he.type === "click" && (s = !ot), ot && !Ft && gt(he);
16039
16039
  }
16040
16040
  }
16041
16041
  function je(he) {
16042
16042
  var qe = he.target, ot = Q().contains(qe) || A.contains(qe);
16043
16043
  if (!(he.type === "mousemove" && ot)) {
16044
- var Ft = Ae().concat(A).map(function(It) {
16045
- var Fn, Zn = It._tippy, pr = (Fn = Zn.popperInstance) == null ? void 0 : Fn.state;
16044
+ var Ft = Ae().concat(A).map(function(Nt) {
16045
+ var Fn, Zn = Nt._tippy, pr = (Fn = Zn.popperInstance) == null ? void 0 : Fn.state;
16046
16046
  return pr ? {
16047
- popperRect: It.getBoundingClientRect(),
16047
+ popperRect: Nt.getBoundingClientRect(),
16048
16048
  popperState: pr,
16049
16049
  props: n
16050
16050
  } : null;
@@ -16070,9 +16070,9 @@ function CH(t, e) {
16070
16070
  }
16071
16071
  function q() {
16072
16072
  V();
16073
- var he = C.props, qe = he.popperOptions, ot = he.placement, Ft = he.offset, It = he.getReferenceClientRect, Fn = he.moveTransition, Zn = Y() ? Cg(A).arrow : null, pr = It ? {
16074
- getBoundingClientRect: It,
16075
- contextElement: It.contextElement || Q()
16073
+ var he = C.props, qe = he.popperOptions, ot = he.placement, Ft = he.offset, Nt = he.getReferenceClientRect, Fn = he.moveTransition, Zn = Y() ? Cg(A).arrow : null, pr = Nt ? {
16074
+ getBoundingClientRect: Nt,
16075
+ contextElement: Nt.contextElement || Q()
16076
16076
  } : t, Ko = {
16077
16077
  name: "$$tippy",
16078
16078
  enabled: !0,
@@ -16143,8 +16143,8 @@ function CH(t, e) {
16143
16143
  }
16144
16144
  function Ke(he) {
16145
16145
  C.clearDelayTimeouts(), he && J("onTrigger", [C, he]), Be();
16146
- var qe = U(!0), ot = L(), Ft = ot[0], It = ot[1];
16147
- fi.isTouch && Ft === "hold" && It && (qe = It), qe ? o = setTimeout(function() {
16146
+ var qe = U(!0), ot = L(), Ft = ot[0], Nt = ot[1];
16147
+ fi.isTouch && Ft === "hold" && Nt && (qe = Nt), qe ? o = setTimeout(function() {
16148
16148
  C.show();
16149
16149
  }, qe) : C.show();
16150
16150
  }
@@ -16168,7 +16168,7 @@ function CH(t, e) {
16168
16168
  function z() {
16169
16169
  C.hide(), C.state.isEnabled = !1;
16170
16170
  }
16171
- function se() {
16171
+ function ie() {
16172
16172
  clearTimeout(o), clearTimeout(r), cancelAnimationFrame(i);
16173
16173
  }
16174
16174
  function ue(he) {
@@ -16191,7 +16191,7 @@ function CH(t, e) {
16191
16191
  }
16192
16192
  function Je() {
16193
16193
  process.env.NODE_ENV !== "production" && ji(C.state.isDestroyed, El("show"));
16194
- var he = C.state.isVisible, qe = C.state.isDestroyed, ot = !C.state.isEnabled, Ft = fi.isTouch && !C.props.touch, It = n1(C.props.duration, 0, or.duration);
16194
+ var he = C.state.isVisible, qe = C.state.isDestroyed, ot = !C.state.isEnabled, Ft = fi.isTouch && !C.props.touch, Nt = n1(C.props.duration, 0, or.duration);
16195
16195
  if (!(he || qe || ot || Ft) && !Q().hasAttribute("disabled") && (J("onShow", [C], !1), C.props.onShow(C) !== !1)) {
16196
16196
  if (C.state.isVisible = !0, Y() && (A.style.visibility = "visible"), B(), Be(), C.state.isMounted || (A.style.transition = "none"), Y()) {
16197
16197
  var Fn = K(), Zn = Fn.box, pr = Fn.content;
@@ -16202,9 +16202,9 @@ function CH(t, e) {
16202
16202
  if (!(!C.state.isVisible || u)) {
16203
16203
  if (u = !0, A.offsetHeight, A.style.transition = C.props.moveTransition, Y() && C.props.animation) {
16204
16204
  var Go = K(), oi = Go.box, cs = Go.content;
16205
- o1([oi, cs], It), X6([oi, cs], "visible");
16205
+ o1([oi, cs], Nt), X6([oi, cs], "visible");
16206
16206
  }
16207
- re(), oe(), K6(i1, C), (xo = C.popperInstance) == null || xo.forceUpdate(), J("onMount", [C]), C.props.animation && Y() && fe(It, function() {
16207
+ re(), oe(), K6(i1, C), (xo = C.popperInstance) == null || xo.forceUpdate(), J("onMount", [C]), C.props.animation && Y() && fe(Nt, function() {
16208
16208
  C.state.isShown = !0, J("onShown", [C]);
16209
16209
  });
16210
16210
  }
@@ -16216,7 +16216,7 @@ function CH(t, e) {
16216
16216
  var he = !C.state.isVisible, qe = C.state.isDestroyed, ot = !C.state.isEnabled, Ft = n1(C.props.duration, 1, or.duration);
16217
16217
  if (!(he || qe || ot) && (J("onHide", [C], !1), C.props.onHide(C) !== !1)) {
16218
16218
  if (C.state.isVisible = !1, C.state.isShown = !1, u = !1, s = !1, Y() && (A.style.visibility = "hidden"), de(), it(), B(!0), Y()) {
16219
- var It = K(), Fn = It.box, Zn = It.content;
16219
+ var Nt = K(), Fn = Nt.box, Zn = Nt.content;
16220
16220
  C.props.animation && (o1([Fn, Zn], Ft), X6([Fn, Zn], "hidden"));
16221
16221
  }
16222
16222
  re(), oe(), C.props.animation ? Y() && ae(Ft, C.unmount) : C.unmount();
@@ -16620,7 +16620,7 @@ const hi = j({
16620
16620
  const e = H(), n = jo();
16621
16621
  return Tn(() => {
16622
16622
  const o = t.editor;
16623
- o && o.options.element && e.value && Nt(() => {
16623
+ o && o.options.element && e.value && Mt(() => {
16624
16624
  if (!e.value || !o.options.element.firstChild)
16625
16625
  return;
16626
16626
  const r = g(e.value);
@@ -17070,7 +17070,7 @@ const vE = "1", NH = {
17070
17070
  }, ud = {
17071
17071
  SAVE: "ctrl+s,command+s"
17072
17072
  };
17073
- var et = /* @__PURE__ */ ((t) => (t.COMPARE = "compare", t.EDITOR = "editor", t.STRAIGHT = "straight", t.REPORT = "report", t.PLAIN_TEXT = "plainText", t.SUPER_VIEW_MOBILE = "superViewMobile", t))(et || {}), Ho = /* @__PURE__ */ ((t) => (t.COMMENT = "editor-comment-section", t.DISABLE_SUPER_INPUT = "data-disable-super-input", t))(Ho || {});
17073
+ var Ze = /* @__PURE__ */ ((t) => (t.COMPARE = "compare", t.EDITOR = "editor", t.STRAIGHT = "straight", t.REPORT = "report", t.PLAIN_TEXT = "plainText", t.SUPER_VIEW_MOBILE = "superViewMobile", t))(Ze || {}), Ho = /* @__PURE__ */ ((t) => (t.COMMENT = "editor-comment-section", t.DISABLE_SUPER_INPUT = "data-disable-super-input", t))(Ho || {});
17074
17074
  const IH = [
17075
17075
  "a",
17076
17076
  "abbr",
@@ -17232,9 +17232,9 @@ function yE(t) {
17232
17232
  }
17233
17233
  const mo = (t, e, n) => {
17234
17234
  if (typeof t == "object") return t;
17235
- if (typeof t == "string" && (t = yE(t), n === et.PLAIN_TEXT && !e))
17235
+ if (typeof t == "string" && (t = yE(t), n === Ze.PLAIN_TEXT && !e))
17236
17236
  return t.replace(/\r?\n/g, "<br>");
17237
- if (!e || n === et.PLAIN_TEXT || n === et.EDITOR) return t;
17237
+ if (!e || n === Ze.PLAIN_TEXT || n === Ze.EDITOR) return t;
17238
17238
  const o = document.createElement("div");
17239
17239
  return o.innerHTML = t, RH(o), o.innerHTML;
17240
17240
  };
@@ -17279,7 +17279,7 @@ var Ep = { exports: {} };
17279
17279
  Ep.exports;
17280
17280
  (function(t, e) {
17281
17281
  (function() {
17282
- var n, o = "4.17.21", r = 200, i = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", s = "Expected a function", a = "Invalid `variable` option passed into `_.template`", l = "__lodash_hash_undefined__", u = 500, d = "__lodash_placeholder__", f = 1, h = 2, m = 4, b = 1, y = 2, w = 1, x = 2, E = 4, _ = 8, C = 16, T = 32, A = 64, k = 128, F = 256, P = 512, L = 30, te = "...", Y = 800, Q = 16, we = 1, K = 2, U = 3, B = 1 / 0, J = 9007199254740991, re = 17976931348623157e292, oe = NaN, de = 4294967295, Le = de - 1, Pe = de >>> 1, Qe = [
17282
+ var n, o = "4.17.21", r = 200, i = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", s = "Expected a function", a = "Invalid `variable` option passed into `_.template`", l = "__lodash_hash_undefined__", u = 500, d = "__lodash_placeholder__", f = 1, h = 2, m = 4, b = 1, y = 2, w = 1, x = 2, E = 4, _ = 8, C = 16, T = 32, A = 64, k = 128, F = 256, P = 512, L = 30, te = "...", Y = 800, Q = 16, we = 1, K = 2, U = 3, B = 1 / 0, J = 9007199254740991, re = 17976931348623157e292, oe = NaN, de = 4294967295, Le = de - 1, Pe = de >>> 1, et = [
17283
17283
  ["ary", k],
17284
17284
  ["bind", w],
17285
17285
  ["bindKey", x],
@@ -17289,7 +17289,7 @@ Ep.exports;
17289
17289
  ["partial", T],
17290
17290
  ["partialRight", A],
17291
17291
  ["rearg", F]
17292
- ], Be = "[object Arguments]", it = "[object Array]", ae = "[object AsyncFunction]", fe = "[object Boolean]", ve = "[object Date]", ye = "[object DOMException]", Oe = "[object Error]", le = "[object Function]", Me = "[object GeneratorFunction]", je = "[object Map]", rt = "[object Number]", Lt = "[object Null]", zt = "[object Object]", q = "[object Promise]", V = "[object Proxy]", ge = "[object RegExp]", Ae = "[object Set]", Ke = "[object String]", gt = "[object Symbol]", nt = "[object Undefined]", z = "[object WeakMap]", se = "[object WeakSet]", ue = "[object ArrayBuffer]", Se = "[object DataView]", Je = "[object Float32Array]", ft = "[object Float64Array]", Wt = "[object Int8Array]", pn = "[object Int16Array]", Pr = "[object Int32Array]", he = "[object Uint8Array]", qe = "[object Uint8ClampedArray]", ot = "[object Uint16Array]", Ft = "[object Uint32Array]", It = /\b__p \+= '';/g, Fn = /\b(__p \+=) '' \+/g, Zn = /(__e\(.*?\)|\b__t\)) \+\n'';/g, pr = /&(?:amp|lt|gt|quot|#39);/g, Ko = /[&<>"']/g, xo = RegExp(pr.source), Go = RegExp(Ko.source), oi = /<%-([\s\S]+?)%>/g, cs = /<%([\s\S]+?)%>/g, xd = /<%=([\s\S]+?)%>/g, ku = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, il = /^\w*$/, A7 = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, S0 = /[\\^$.*+?()[\]{}|]/g, O7 = RegExp(S0.source), T0 = /^\s+/, M7 = /\s/, N7 = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, I7 = /\{\n\/\* \[wrapped with (.+)\] \*/, L7 = /,? & /, R7 = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, D7 = /[()=,{}\[\]\/\s]/, P7 = /\\(\\)?/g, B7 = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, Q2 = /\w*$/, F7 = /^[-+]0x[0-9a-f]+$/i, $7 = /^0b[01]+$/i, H7 = /^\[object .+?Constructor\]$/, z7 = /^0o[0-7]+$/i, V7 = /^(?:0|[1-9]\d*)$/, U7 = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Cd = /($^)/, W7 = /['\n\r\u2028\u2029\\]/g, Ed = "\\ud800-\\udfff", j7 = "\\u0300-\\u036f", q7 = "\\ufe20-\\ufe2f", K7 = "\\u20d0-\\u20ff", ey = j7 + q7 + K7, ty = "\\u2700-\\u27bf", ny = "a-z\\xdf-\\xf6\\xf8-\\xff", G7 = "\\xac\\xb1\\xd7\\xf7", X7 = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Y7 = "\\u2000-\\u206f", J7 = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", oy = "A-Z\\xc0-\\xd6\\xd8-\\xde", ry = "\\ufe0e\\ufe0f", iy = G7 + X7 + Y7 + J7, k0 = "['’]", Z7 = "[" + Ed + "]", sy = "[" + iy + "]", _d = "[" + ey + "]", ay = "\\d+", Q7 = "[" + ty + "]", ly = "[" + ny + "]", uy = "[^" + Ed + iy + ay + ty + ny + oy + "]", A0 = "\\ud83c[\\udffb-\\udfff]", ek = "(?:" + _d + "|" + A0 + ")", cy = "[^" + Ed + "]", O0 = "(?:\\ud83c[\\udde6-\\uddff]){2}", M0 = "[\\ud800-\\udbff][\\udc00-\\udfff]", sl = "[" + oy + "]", dy = "\\u200d", fy = "(?:" + ly + "|" + uy + ")", tk = "(?:" + sl + "|" + uy + ")", py = "(?:" + k0 + "(?:d|ll|m|re|s|t|ve))?", hy = "(?:" + k0 + "(?:D|LL|M|RE|S|T|VE))?", my = ek + "?", gy = "[" + ry + "]?", nk = "(?:" + dy + "(?:" + [cy, O0, M0].join("|") + ")" + gy + my + ")*", ok = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", rk = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", by = gy + my + nk, ik = "(?:" + [Q7, O0, M0].join("|") + ")" + by, sk = "(?:" + [cy + _d + "?", _d, O0, M0, Z7].join("|") + ")", ak = RegExp(k0, "g"), lk = RegExp(_d, "g"), N0 = RegExp(A0 + "(?=" + A0 + ")|" + sk + by, "g"), uk = RegExp([
17292
+ ], Be = "[object Arguments]", it = "[object Array]", ae = "[object AsyncFunction]", fe = "[object Boolean]", ve = "[object Date]", ye = "[object DOMException]", Oe = "[object Error]", le = "[object Function]", Me = "[object GeneratorFunction]", je = "[object Map]", rt = "[object Number]", Lt = "[object Null]", zt = "[object Object]", q = "[object Promise]", V = "[object Proxy]", ge = "[object RegExp]", Ae = "[object Set]", Ke = "[object String]", gt = "[object Symbol]", nt = "[object Undefined]", z = "[object WeakMap]", ie = "[object WeakSet]", ue = "[object ArrayBuffer]", Se = "[object DataView]", Je = "[object Float32Array]", ft = "[object Float64Array]", Wt = "[object Int8Array]", pn = "[object Int16Array]", Pr = "[object Int32Array]", he = "[object Uint8Array]", qe = "[object Uint8ClampedArray]", ot = "[object Uint16Array]", Ft = "[object Uint32Array]", Nt = /\b__p \+= '';/g, Fn = /\b(__p \+=) '' \+/g, Zn = /(__e\(.*?\)|\b__t\)) \+\n'';/g, pr = /&(?:amp|lt|gt|quot|#39);/g, Ko = /[&<>"']/g, xo = RegExp(pr.source), Go = RegExp(Ko.source), oi = /<%-([\s\S]+?)%>/g, cs = /<%([\s\S]+?)%>/g, xd = /<%=([\s\S]+?)%>/g, ku = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, il = /^\w*$/, A7 = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, S0 = /[\\^$.*+?()[\]{}|]/g, O7 = RegExp(S0.source), T0 = /^\s+/, M7 = /\s/, N7 = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, I7 = /\{\n\/\* \[wrapped with (.+)\] \*/, L7 = /,? & /, R7 = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, D7 = /[()=,{}\[\]\/\s]/, P7 = /\\(\\)?/g, B7 = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, Q2 = /\w*$/, F7 = /^[-+]0x[0-9a-f]+$/i, $7 = /^0b[01]+$/i, H7 = /^\[object .+?Constructor\]$/, z7 = /^0o[0-7]+$/i, V7 = /^(?:0|[1-9]\d*)$/, U7 = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Cd = /($^)/, W7 = /['\n\r\u2028\u2029\\]/g, Ed = "\\ud800-\\udfff", j7 = "\\u0300-\\u036f", q7 = "\\ufe20-\\ufe2f", K7 = "\\u20d0-\\u20ff", ey = j7 + q7 + K7, ty = "\\u2700-\\u27bf", ny = "a-z\\xdf-\\xf6\\xf8-\\xff", G7 = "\\xac\\xb1\\xd7\\xf7", X7 = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Y7 = "\\u2000-\\u206f", J7 = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", oy = "A-Z\\xc0-\\xd6\\xd8-\\xde", ry = "\\ufe0e\\ufe0f", iy = G7 + X7 + Y7 + J7, k0 = "['’]", Z7 = "[" + Ed + "]", sy = "[" + iy + "]", _d = "[" + ey + "]", ay = "\\d+", Q7 = "[" + ty + "]", ly = "[" + ny + "]", uy = "[^" + Ed + iy + ay + ty + ny + oy + "]", A0 = "\\ud83c[\\udffb-\\udfff]", ek = "(?:" + _d + "|" + A0 + ")", cy = "[^" + Ed + "]", O0 = "(?:\\ud83c[\\udde6-\\uddff]){2}", M0 = "[\\ud800-\\udbff][\\udc00-\\udfff]", sl = "[" + oy + "]", dy = "\\u200d", fy = "(?:" + ly + "|" + uy + ")", tk = "(?:" + sl + "|" + uy + ")", py = "(?:" + k0 + "(?:d|ll|m|re|s|t|ve))?", hy = "(?:" + k0 + "(?:D|LL|M|RE|S|T|VE))?", my = ek + "?", gy = "[" + ry + "]?", nk = "(?:" + dy + "(?:" + [cy, O0, M0].join("|") + ")" + gy + my + ")*", ok = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", rk = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", by = gy + my + nk, ik = "(?:" + [Q7, O0, M0].join("|") + ")" + by, sk = "(?:" + [cy + _d + "?", _d, O0, M0, Z7].join("|") + ")", ak = RegExp(k0, "g"), lk = RegExp(_d, "g"), N0 = RegExp(A0 + "(?=" + A0 + ")|" + sk + by, "g"), uk = RegExp([
17293
17293
  sl + "?" + ly + "+" + py + "(?=" + [sy, sl, "$"].join("|") + ")",
17294
17294
  tk + "+" + hy + "(?=" + [sy, sl + fy, "$"].join("|") + ")",
17295
17295
  sl + "?" + fy + "+" + py,
@@ -19500,7 +19500,7 @@ Ep.exports;
19500
19500
  return "";
19501
19501
  }
19502
19502
  function $9(c, p) {
19503
- return mr(Qe, function(v) {
19503
+ return mr(et, function(v) {
19504
19504
  var S = "_." + v[0];
19505
19505
  p & v[1] && !Sd(c, S) && c.push(S);
19506
19506
  }), c.sort();
@@ -20269,7 +20269,7 @@ Ep.exports;
20269
20269
  return kn(c) && uo(c) == z;
20270
20270
  }
20271
20271
  function nN(c) {
20272
- return kn(c) && Co(c) == se;
20272
+ return kn(c) && Co(c) == ie;
20273
20273
  }
20274
20274
  var oN = Zd(tm), rN = Zd(function(c, p) {
20275
20275
  return c <= p;
@@ -20594,7 +20594,7 @@ __p += '`), $t && (Te += `' +
20594
20594
  `;
20595
20595
  else if (D7.test(lt))
20596
20596
  throw new bt(a);
20597
- Te = (ne ? Te.replace(It, "") : Te).replace(Fn, "$1").replace(Zn, "$1;"), Te = "function(" + (lt || "obj") + `) {
20597
+ Te = (ne ? Te.replace(Nt, "") : Te).replace(Fn, "$1").replace(Zn, "$1;"), Te = "function(" + (lt || "obj") + `) {
20598
20598
  ` + (lt ? "" : `obj || (obj = {});
20599
20599
  `) + "var __t, __p = ''" + (G ? ", __e = _.escape" : "") + (ne ? `, __j = Array.prototype.join;
20600
20600
  function print() { __p += __j.call(arguments, '') }
@@ -20997,7 +20997,7 @@ function Lh(t) {
20997
20997
  return typeof a == "string" ? a : g(a) ?? "";
20998
20998
  };
20999
20999
  function i() {
21000
- Nt(() => {
21000
+ Mt(() => {
21001
21001
  const a = e.value;
21002
21002
  if (!a || typeof window > "u" || !(a instanceof Element)) return;
21003
21003
  const l = FH();
@@ -21102,7 +21102,7 @@ const $H = {
21102
21102
  return M(), me("div", {
21103
21103
  ref_key: "contentInner",
21104
21104
  ref: u,
21105
- style: Mt({ minWidth: `${Number(g(d)) + 23}px` }),
21105
+ style: It({ minWidth: `${Number(g(d)) + 23}px` }),
21106
21106
  class: "flex-1 border border-[#999] rounded-[3px] divide-y divide-[#999] divide-dashed overflow-y-auto"
21107
21107
  }, [
21108
21108
  f.comment && !f.hideComment ? (M(), me("div", $H, [
@@ -22512,7 +22512,7 @@ function LE(t, e, n = {}) {
22512
22512
  };
22513
22513
  }
22514
22514
  function Kz(t, e, n) {
22515
- const o = De(t, (...r) => (Nt(() => o()), e(...r)), n);
22515
+ const o = De(t, (...r) => (Mt(() => o()), e(...r)), n);
22516
22516
  return o;
22517
22517
  }
22518
22518
  function Zr(t) {
@@ -22617,7 +22617,7 @@ function fr(t, e, n, o = {}) {
22617
22617
  return De(
22618
22618
  () => t[e],
22619
22619
  (A) => {
22620
- T || (T = !0, C.value = w(A), Nt(() => T = !1));
22620
+ T || (T = !0, C.value = w(A), Mt(() => T = !1));
22621
22621
  }
22622
22622
  ), De(
22623
22623
  C,
@@ -22759,7 +22759,7 @@ const rV = ME(() => {
22759
22759
  "touchmove",
22760
22760
  (h) => iV(h),
22761
22761
  { passive: !1 }
22762
- )), Nt(() => {
22762
+ )), Mt(() => {
22763
22763
  document.body.style.pointerEvents = "none", document.body.style.overflow = "hidden";
22764
22764
  });
22765
22765
  }, { immediate: !0, flush: "sync" }), t;
@@ -23249,7 +23249,7 @@ function EV(t, e) {
23249
23249
  async (w, x) => {
23250
23250
  var E;
23251
23251
  const _ = x !== w;
23252
- if (await Nt(), _) {
23252
+ if (await Mt(), _) {
23253
23253
  const C = r.value, T = Sf(e.value);
23254
23254
  w ? (d("MOUNT"), f("enter"), T === "none" && f("after-enter")) : T === "none" || ((E = o.value) == null ? void 0 : E.display) === "none" ? (d("UNMOUNT"), f("leave"), f("after-leave")) : x && C !== T ? (d("ANIMATION_OUT"), f("leave")) : (d("UNMOUNT"), f("after-leave"));
23255
23255
  }
@@ -23365,7 +23365,7 @@ const Rr = j({
23365
23365
  descriptionId: "",
23366
23366
  triggerElement: r,
23367
23367
  contentElement: i
23368
- }), (a, l) => ie(a.$slots, "default", { open: g(o) });
23368
+ }), (a, l) => se(a.$slots, "default", { open: g(o) });
23369
23369
  }
23370
23370
  }), Jae = /* @__PURE__ */ j({
23371
23371
  __name: "DialogTrigger",
@@ -23387,7 +23387,7 @@ const Rr = j({
23387
23387
  onClick: g(n).onOpenToggle
23388
23388
  }), {
23389
23389
  default: N(() => [
23390
- ie(i.$slots, "default")
23390
+ se(i.$slots, "default")
23391
23391
  ]),
23392
23392
  _: 3
23393
23393
  }, 16, ["type", "aria-expanded", "aria-controls", "data-state", "onClick"]));
@@ -23406,7 +23406,7 @@ const Rr = j({
23406
23406
  to: n.to,
23407
23407
  disabled: n.disabled
23408
23408
  }, [
23409
- ie(n.$slots, "default")
23409
+ se(n.$slots, "default")
23410
23410
  ], 8, ["to", "disabled"])) : _e("", !0);
23411
23411
  }
23412
23412
  }), _v = /* @__PURE__ */ j({
@@ -23420,7 +23420,7 @@ const Rr = j({
23420
23420
  const e = t;
23421
23421
  return (n, o) => (M(), $(g(fd), qt(en(e)), {
23422
23422
  default: N(() => [
23423
- ie(n.$slots, "default")
23423
+ se(n.$slots, "default")
23424
23424
  ]),
23425
23425
  _: 3
23426
23426
  }, 16));
@@ -23483,7 +23483,7 @@ function OV(t, e) {
23483
23483
  if (!ls)
23484
23484
  return;
23485
23485
  const s = async (a) => {
23486
- e != null && e.value && (await Nt(), !(!e.value || HE(e.value, a.target)) && a.target && !r.value && OE(
23486
+ e != null && e.value && (await Mt(), !(!e.value || HE(e.value, a.target)) && a.target && !r.value && OE(
23487
23487
  kV,
23488
23488
  t,
23489
23489
  { originalEvent: a }
@@ -23520,7 +23520,7 @@ const Fi = cr({
23520
23520
  const y = [...Fi.branches].some(
23521
23521
  (w) => w == null ? void 0 : w.contains(b.target)
23522
23522
  );
23523
- !d.value || y || (o("pointerDownOutside", b), o("interactOutside", b), await Nt(), b.defaultPrevented || o("dismiss"));
23523
+ !d.value || y || (o("pointerDownOutside", b), o("interactOutside", b), await Mt(), b.defaultPrevented || o("dismiss"));
23524
23524
  }, i), h = OV((b) => {
23525
23525
  [...Fi.branches].some(
23526
23526
  (y) => y == null ? void 0 : y.contains(b.target)
@@ -23543,7 +23543,7 @@ const Fi = cr({
23543
23543
  "as-child": b.asChild,
23544
23544
  as: b.as,
23545
23545
  "data-dismissable-layer": "",
23546
- style: Mt({
23546
+ style: It({
23547
23547
  pointerEvents: u.value ? d.value ? "auto" : "none" : void 0
23548
23548
  }),
23549
23549
  onFocusCapture: g(h).onFocusCapture,
@@ -23551,7 +23551,7 @@ const Fi = cr({
23551
23551
  onPointerdownCapture: g(f).onPointerDownCapture
23552
23552
  }, {
23553
23553
  default: N(() => [
23554
- ie(b.$slots, "default")
23554
+ se(b.$slots, "default")
23555
23555
  ]),
23556
23556
  _: 3
23557
23557
  }, 8, ["as-child", "as", "style", "onFocusCapture", "onBlurCapture", "onPointerdownCapture"]));
@@ -23671,7 +23671,7 @@ const Vh = /* @__PURE__ */ j({
23671
23671
  });
23672
23672
  }), Tn(async (d) => {
23673
23673
  const f = i.value;
23674
- if (await Nt(), !f)
23674
+ if (await Mt(), !f)
23675
23675
  return;
23676
23676
  a.add(l);
23677
23677
  const h = bo();
@@ -23709,7 +23709,7 @@ const Vh = /* @__PURE__ */ j({
23709
23709
  onKeydown: u
23710
23710
  }, {
23711
23711
  default: N(() => [
23712
- ie(d.$slots, "default")
23712
+ se(d.$slots, "default")
23713
23713
  ]),
23714
23714
  _: 3
23715
23715
  }, 8, ["as-child", "as"]));
@@ -23817,7 +23817,7 @@ const jE = /* @__PURE__ */ j({
23817
23817
  onPointerDownOutside: l[4] || (l[4] = (u) => o("pointerDownOutside", u))
23818
23818
  }), {
23819
23819
  default: N(() => [
23820
- ie(a.$slots, "default")
23820
+ se(a.$slots, "default")
23821
23821
  ]),
23822
23822
  _: 3
23823
23823
  }, 16, ["id", "as", "as-child", "disable-outside-pointer-events", "aria-describedby", "aria-labelledby", "data-state"])
@@ -23854,7 +23854,7 @@ const jE = /* @__PURE__ */ j({
23854
23854
  })
23855
23855
  }), {
23856
23856
  default: N(() => [
23857
- ie(l.$slots, "default")
23857
+ se(l.$slots, "default")
23858
23858
  ]),
23859
23859
  _: 3
23860
23860
  }, 16, ["trap-focus"]));
@@ -23888,7 +23888,7 @@ const jE = /* @__PURE__ */ j({
23888
23888
  })
23889
23889
  }), {
23890
23890
  default: N(() => [
23891
- ie(a.$slots, "default")
23891
+ se(a.$slots, "default")
23892
23892
  ]),
23893
23893
  _: 3
23894
23894
  }, 16));
@@ -23914,7 +23914,7 @@ const jE = /* @__PURE__ */ j({
23914
23914
  ref: g(s)
23915
23915
  }, { ...n, ...g(i), ...a.$attrs }), {
23916
23916
  default: N(() => [
23917
- ie(a.$slots, "default")
23917
+ se(a.$slots, "default")
23918
23918
  ]),
23919
23919
  _: 3
23920
23920
  }, 16)) : (M(), $(qV, ke({
@@ -23922,7 +23922,7 @@ const jE = /* @__PURE__ */ j({
23922
23922
  ref: g(s)
23923
23923
  }, { ...n, ...g(i), ...a.$attrs }), {
23924
23924
  default: N(() => [
23925
- ie(a.$slots, "default")
23925
+ se(a.$slots, "default")
23926
23926
  ]),
23927
23927
  _: 3
23928
23928
  }, 16))
@@ -23945,7 +23945,7 @@ const jE = /* @__PURE__ */ j({
23945
23945
  style: { "pointer-events": "auto" }
23946
23946
  }, {
23947
23947
  default: N(() => [
23948
- ie(n.$slots, "default")
23948
+ se(n.$slots, "default")
23949
23949
  ]),
23950
23950
  _: 3
23951
23951
  }, 8, ["as", "as-child", "data-state"]));
@@ -23972,7 +23972,7 @@ const jE = /* @__PURE__ */ j({
23972
23972
  "as-child": o.asChild
23973
23973
  }), {
23974
23974
  default: N(() => [
23975
- ie(o.$slots, "default")
23975
+ se(o.$slots, "default")
23976
23976
  ]),
23977
23977
  _: 3
23978
23978
  }, 16, ["as", "as-child"])
@@ -23996,7 +23996,7 @@ const jE = /* @__PURE__ */ j({
23996
23996
  onClick: r[0] || (r[0] = (i) => g(n).onOpenChange(!1))
23997
23997
  }), {
23998
23998
  default: N(() => [
23999
- ie(o.$slots, "default")
23999
+ se(o.$slots, "default")
24000
24000
  ]),
24001
24001
  _: 3
24002
24002
  }, 16, ["type"]));
@@ -24013,7 +24013,7 @@ const jE = /* @__PURE__ */ j({
24013
24013
  id: g(n).titleId
24014
24014
  }), {
24015
24015
  default: N(() => [
24016
- ie(o.$slots, "default")
24016
+ se(o.$slots, "default")
24017
24017
  ]),
24018
24018
  _: 3
24019
24019
  }, 16, ["id"]));
@@ -24032,7 +24032,7 @@ const jE = /* @__PURE__ */ j({
24032
24032
  id: g(n).descriptionId
24033
24033
  }), {
24034
24034
  default: N(() => [
24035
- ie(o.$slots, "default")
24035
+ se(o.$slots, "default")
24036
24036
  ]),
24037
24037
  _: 3
24038
24038
  }, 16, ["id"]));
@@ -24089,7 +24089,7 @@ const ZV = ["value", "checked", "name", "disabled", "required"], [QV, eU] = cn("
24089
24089
  onClick: f[0] || (f[0] = (h) => i.value = g(Ap)(g(i)) ? !0 : !g(i))
24090
24090
  }), {
24091
24091
  default: N(() => [
24092
- ie(d.$slots, "default", { checked: g(i) })
24092
+ se(d.$slots, "default", { checked: g(i) })
24093
24093
  ]),
24094
24094
  _: 3
24095
24095
  }, 16, ["id", "as-child", "as", "type", "aria-checked", "aria-required", "aria-label", "data-state", "data-disabled", "disabled", "onKeydown"]),
@@ -24135,7 +24135,7 @@ const ZV = ["value", "checked", "name", "disabled", "required"], [QV, eU] = cn("
24135
24135
  as: o.as
24136
24136
  }, o.$attrs), {
24137
24137
  default: N(() => [
24138
- ie(o.$slots, "default")
24138
+ se(o.$slots, "default")
24139
24139
  ]),
24140
24140
  _: 3
24141
24141
  }, 16, ["data-state", "data-disabled", "as-child", "as"])
@@ -24151,7 +24151,7 @@ const ZV = ["value", "checked", "name", "disabled", "required"], [QV, eU] = cn("
24151
24151
  return oU({
24152
24152
  anchor: e,
24153
24153
  onAnchorChange: (n) => e.value = n
24154
- }), (n, o) => ie(n.$slots, "default");
24154
+ }), (n, o) => se(n.$slots, "default");
24155
24155
  }
24156
24156
  }), Wh = /* @__PURE__ */ j({
24157
24157
  __name: "PopperAnchor",
@@ -24170,7 +24170,7 @@ const ZV = ["value", "checked", "name", "disabled", "required"], [QV, eU] = cn("
24170
24170
  "as-child": i.asChild
24171
24171
  }, {
24172
24172
  default: N(() => [
24173
- ie(i.$slots, "default")
24173
+ se(i.$slots, "default")
24174
24174
  ]),
24175
24175
  _: 3
24176
24176
  }, 8, ["as", "as-child"]));
@@ -24327,7 +24327,7 @@ const GE = {
24327
24327
  ref_key: "floatingRef",
24328
24328
  ref: a,
24329
24329
  "data-radix-popper-content-wrapper": "",
24330
- style: Mt({
24330
+ style: It({
24331
24331
  ...g(w),
24332
24332
  transform: g(E) ? g(w).transform : "translate(0, -200%)",
24333
24333
  // keep off the page when measuring
@@ -24358,7 +24358,7 @@ const GE = {
24358
24358
  }
24359
24359
  }), {
24360
24360
  default: N(() => [
24361
- ie(L.$slots, "default")
24361
+ se(L.$slots, "default")
24362
24362
  ]),
24363
24363
  _: 3
24364
24364
  }, 16, ["as-child", "as", "data-side", "data-align", "style"])
@@ -24391,7 +24391,7 @@ const GE = {
24391
24391
  }
24392
24392
  }, {
24393
24393
  default: N(() => [
24394
- ie(e.$slots, "default")
24394
+ se(e.$slots, "default")
24395
24395
  ]),
24396
24396
  _: 3
24397
24397
  }, 8, ["as", "as-child"]));
@@ -24464,7 +24464,7 @@ const QE = /* @__PURE__ */ j({
24464
24464
  const e = t;
24465
24465
  return (n, o) => (M(), $(g(Wh), qt(en(e)), {
24466
24466
  default: N(() => [
24467
- ie(n.$slots, "default")
24467
+ se(n.$slots, "default")
24468
24468
  ]),
24469
24469
  _: 3
24470
24470
  }, 16));
@@ -24508,7 +24508,7 @@ const fU = ME(dU), [qh, pU] = cn(["MenuRoot", "MenuSub"], "MenuContext"), [kv, h
24508
24508
  modal: r
24509
24509
  }), (d, f) => (M(), $(g(Uh), null, {
24510
24510
  default: N(() => [
24511
- ie(d.$slots, "default")
24511
+ se(d.$slots, "default")
24512
24512
  ]),
24513
24513
  _: 3
24514
24514
  }));
@@ -24612,7 +24612,7 @@ const [xU, CU] = cn("RovingFocusGroup"), n_ = /* @__PURE__ */ j({
24612
24612
  onBlur: x[1] || (x[1] = (E) => d.value = !1)
24613
24613
  }, {
24614
24614
  default: N(() => [
24615
- ie(w.$slots, "default")
24615
+ se(w.$slots, "default")
24616
24616
  ]),
24617
24617
  _: 3
24618
24618
  }, 8, ["tabindex", "data-orientation", "as", "as-child", "dir"])
@@ -24665,7 +24665,7 @@ const [xU, CU] = cn("RovingFocusGroup"), n_ = /* @__PURE__ */ j({
24665
24665
  );
24666
24666
  u = n.loop.value ? wU(u, d + 1) : u.slice(d + 1);
24667
24667
  }
24668
- Nt(() => t_(u));
24668
+ Mt(() => t_(u));
24669
24669
  }
24670
24670
  }
24671
24671
  return (a, l) => (M(), $(g(YE), null, {
@@ -24684,7 +24684,7 @@ const [xU, CU] = cn("RovingFocusGroup"), n_ = /* @__PURE__ */ j({
24684
24684
  onKeydown: s
24685
24685
  }, {
24686
24686
  default: N(() => [
24687
- ie(a.$slots, "default")
24687
+ se(a.$slots, "default")
24688
24688
  ]),
24689
24689
  _: 3
24690
24690
  }, 8, ["tabindex", "data-orientation", "data-active", "data-disabled", "as", "as-child"])
@@ -24841,7 +24841,7 @@ const [xU, CU] = cn("RovingFocusGroup"), n_ = /* @__PURE__ */ j({
24841
24841
  onPointermove: P
24842
24842
  }, {
24843
24843
  default: N(() => [
24844
- ie(L.$slots, "default")
24844
+ se(L.$slots, "default")
24845
24845
  ]),
24846
24846
  _: 3
24847
24847
  }, 8, ["as", "as-child", "data-state", "dir", "side", "side-offset", "align", "align-offset", "avoid-collisions", "collision-boundary", "collision-padding", "arrow-padding", "prioritize-position", "sticky", "hide-when-detached"])
@@ -24877,7 +24877,7 @@ const [xU, CU] = cn("RovingFocusGroup"), n_ = /* @__PURE__ */ j({
24877
24877
  }
24878
24878
  }
24879
24879
  async function s(a) {
24880
- await Nt(), !a.defaultPrevented && Rg(a) && n.onItemLeave(a);
24880
+ await Mt(), !a.defaultPrevented && Rg(a) && n.onItemLeave(a);
24881
24881
  }
24882
24882
  return (a, l) => (M(), $(g(YE), {
24883
24883
  value: { textValue: a.textValue }
@@ -24897,14 +24897,14 @@ const [xU, CU] = cn("RovingFocusGroup"), n_ = /* @__PURE__ */ j({
24897
24897
  onPointermove: i,
24898
24898
  onPointerleave: s,
24899
24899
  onFocus: l[0] || (l[0] = async (u) => {
24900
- await Nt(), !(u.defaultPrevented || a.disabled) && (r.value = !0);
24900
+ await Mt(), !(u.defaultPrevented || a.disabled) && (r.value = !0);
24901
24901
  }),
24902
24902
  onBlur: l[1] || (l[1] = async (u) => {
24903
- await Nt(), !u.defaultPrevented && (r.value = !1);
24903
+ await Mt(), !u.defaultPrevented && (r.value = !1);
24904
24904
  })
24905
24905
  }), {
24906
24906
  default: N(() => [
24907
- ie(a.$slots, "default")
24907
+ se(a.$slots, "default")
24908
24908
  ]),
24909
24909
  _: 3
24910
24910
  }, 16, ["as", "as-child", "aria-disabled", "data-disabled", "data-highlighted"])
@@ -24930,7 +24930,7 @@ const [xU, CU] = cn("RovingFocusGroup"), n_ = /* @__PURE__ */ j({
24930
24930
  bubbles: !0,
24931
24931
  cancelable: !0
24932
24932
  });
24933
- o("select", f), await Nt(), f.defaultPrevented ? l.value = !1 : s.onClose();
24933
+ o("select", f), await Mt(), f.defaultPrevented ? l.value = !1 : s.onClose();
24934
24934
  }
24935
24935
  }
24936
24936
  return (d, f) => (M(), $(SU, ke(n, {
@@ -24941,7 +24941,7 @@ const [xU, CU] = cn("RovingFocusGroup"), n_ = /* @__PURE__ */ j({
24941
24941
  }),
24942
24942
  onPointerup: f[1] || (f[1] = async (h) => {
24943
24943
  var m;
24944
- await Nt(), !h.defaultPrevented && (l.value || (m = h.currentTarget) == null || m.click());
24944
+ await Mt(), !h.defaultPrevented && (l.value || (m = h.currentTarget) == null || m.click());
24945
24945
  }),
24946
24946
  onKeydown: f[2] || (f[2] = async (h) => {
24947
24947
  const m = g(a).searchRef.value !== "";
@@ -24949,7 +24949,7 @@ const [xU, CU] = cn("RovingFocusGroup"), n_ = /* @__PURE__ */ j({
24949
24949
  })
24950
24950
  }), {
24951
24951
  default: N(() => [
24952
- ie(d.$slots, "default")
24952
+ se(d.$slots, "default")
24953
24953
  ]),
24954
24954
  _: 3
24955
24955
  }, 16));
@@ -24978,7 +24978,7 @@ const [xU, CU] = cn("RovingFocusGroup"), n_ = /* @__PURE__ */ j({
24978
24978
  "data-state": g(WE)(g(e).checked.value)
24979
24979
  }, {
24980
24980
  default: N(() => [
24981
- ie(n.$slots, "default")
24981
+ se(n.$slots, "default")
24982
24982
  ]),
24983
24983
  _: 3
24984
24984
  }, 8, ["as", "as-child", "data-state"])
@@ -25006,7 +25006,7 @@ const [xU, CU] = cn("RovingFocusGroup"), n_ = /* @__PURE__ */ j({
25006
25006
  })
25007
25007
  }), {
25008
25008
  default: N(() => [
25009
- ie(i.$slots, "default", { checked: g(r) })
25009
+ se(i.$slots, "default", { checked: g(r) })
25010
25010
  ]),
25011
25011
  _: 3
25012
25012
  }, 16, ["aria-checked", "data-state"]));
@@ -25042,7 +25042,7 @@ const [xU, CU] = cn("RovingFocusGroup"), n_ = /* @__PURE__ */ j({
25042
25042
  onFocusOutside: u[1] || (u[1] = En((d) => o("focusOutside", d), ["prevent"]))
25043
25043
  }), {
25044
25044
  default: N(() => [
25045
- ie(l.$slots, "default")
25045
+ se(l.$slots, "default")
25046
25046
  ]),
25047
25047
  _: 3
25048
25048
  }, 16, ["trap-focus", "disable-outside-pointer-events"]));
@@ -25076,7 +25076,7 @@ const [xU, CU] = cn("RovingFocusGroup"), n_ = /* @__PURE__ */ j({
25076
25076
  onDismiss: i[0] || (i[0] = (s) => g(o).onOpenChange(!1))
25077
25077
  }), {
25078
25078
  default: N(() => [
25079
- ie(r.$slots, "default")
25079
+ se(r.$slots, "default")
25080
25080
  ]),
25081
25081
  _: 3
25082
25082
  }, 16));
@@ -25110,12 +25110,12 @@ const [xU, CU] = cn("RovingFocusGroup"), n_ = /* @__PURE__ */ j({
25110
25110
  default: N(() => [
25111
25111
  g(r).modal.value ? (M(), $(MU, qt(ke({ key: 0 }, { ...i.$attrs, ...g(n) })), {
25112
25112
  default: N(() => [
25113
- ie(i.$slots, "default")
25113
+ se(i.$slots, "default")
25114
25114
  ]),
25115
25115
  _: 3
25116
25116
  }, 16)) : (M(), $(NU, qt(ke({ key: 1 }, { ...i.$attrs, ...g(n) })), {
25117
25117
  default: N(() => [
25118
- ie(i.$slots, "default")
25118
+ se(i.$slots, "default")
25119
25119
  ]),
25120
25120
  _: 3
25121
25121
  }, 16))
@@ -25134,7 +25134,7 @@ const [xU, CU] = cn("RovingFocusGroup"), n_ = /* @__PURE__ */ j({
25134
25134
  const e = t;
25135
25135
  return (n, o) => (M(), $(g(fd), qt(en(e)), {
25136
25136
  default: N(() => [
25137
- ie(n.$slots, "default")
25137
+ se(n.$slots, "default")
25138
25138
  ]),
25139
25139
  _: 3
25140
25140
  }, 16));
@@ -25152,7 +25152,7 @@ const [xU, CU] = cn("RovingFocusGroup"), n_ = /* @__PURE__ */ j({
25152
25152
  "aria-orientation": "horizontal"
25153
25153
  }), {
25154
25154
  default: N(() => [
25155
- ie(n.$slots, "default")
25155
+ se(n.$slots, "default")
25156
25156
  ]),
25157
25157
  _: 3
25158
25158
  }, 16));
@@ -25185,7 +25185,7 @@ const [xU, CU] = cn("RovingFocusGroup"), n_ = /* @__PURE__ */ j({
25185
25185
  modal: g(i)
25186
25186
  }, {
25187
25187
  default: N(() => [
25188
- ie(l.$slots, "default")
25188
+ se(l.$slots, "default")
25189
25189
  ]),
25190
25190
  _: 3
25191
25191
  }, 8, ["open", "dir", "modal"]));
@@ -25221,13 +25221,13 @@ const DU = /* @__PURE__ */ j({
25221
25221
  i.value = { x: m.clientX, y: m.clientY }, r.onOpenChange(!0);
25222
25222
  }
25223
25223
  async function d(m) {
25224
- n.value || (await Nt(), m.defaultPrevented || (l(), u(m), m.preventDefault()));
25224
+ n.value || (await Mt(), m.defaultPrevented || (l(), u(m), m.preventDefault()));
25225
25225
  }
25226
25226
  async function f(m) {
25227
- n.value || (await Nt(), C8(m) && !m.defaultPrevented && (l(), a.value = window.setTimeout(() => u(m), 700)));
25227
+ n.value || (await Mt(), C8(m) && !m.defaultPrevented && (l(), a.value = window.setTimeout(() => u(m), 700)));
25228
25228
  }
25229
25229
  async function h(m) {
25230
- n.value || (await Nt(), C8(m) && !m.defaultPrevented && l());
25230
+ n.value || (await Mt(), C8(m) && !m.defaultPrevented && l());
25231
25231
  }
25232
25232
  return (m, b) => (M(), me(tt, null, [
25233
25233
  D(g(QE), {
@@ -25251,7 +25251,7 @@ const DU = /* @__PURE__ */ j({
25251
25251
  onPointerup: h
25252
25252
  }), {
25253
25253
  default: N(() => [
25254
- ie(m.$slots, "default")
25254
+ se(m.$slots, "default")
25255
25255
  ]),
25256
25256
  _: 3
25257
25257
  }, 16, ["as", "as-child", "data-state", "data-disabled"])
@@ -25268,7 +25268,7 @@ const DU = /* @__PURE__ */ j({
25268
25268
  const e = t;
25269
25269
  return (n, o) => (M(), $(g(s_), qt(en(e)), {
25270
25270
  default: N(() => [
25271
- ie(n.$slots, "default")
25271
+ se(n.$slots, "default")
25272
25272
  ]),
25273
25273
  _: 3
25274
25274
  }, 16));
@@ -25312,7 +25312,7 @@ const DU = /* @__PURE__ */ j({
25312
25312
  })
25313
25313
  }), {
25314
25314
  default: N(() => [
25315
- ie(i.$slots, "default")
25315
+ se(i.$slots, "default")
25316
25316
  ]),
25317
25317
  _: 3
25318
25318
  }, 16));
@@ -25330,7 +25330,7 @@ const DU = /* @__PURE__ */ j({
25330
25330
  const n = t, o = Qa(e);
25331
25331
  return Ue(), (r, i) => (M(), $(g(Av), qt(en({ ...n, ...g(o) })), {
25332
25332
  default: N(() => [
25333
- ie(r.$slots, "default")
25333
+ se(r.$slots, "default")
25334
25334
  ]),
25335
25335
  _: 3
25336
25336
  }, 16));
@@ -25371,7 +25371,7 @@ const DU = /* @__PURE__ */ j({
25371
25371
  modal: g(s)
25372
25372
  }, {
25373
25373
  default: N(() => [
25374
- ie(u.$slots, "default", { open: g(r) })
25374
+ se(u.$slots, "default", { open: g(r) })
25375
25375
  ]),
25376
25376
  _: 3
25377
25377
  }, 8, ["open", "dir", "modal"]));
@@ -25403,7 +25403,7 @@ const DU = /* @__PURE__ */ j({
25403
25403
  "data-state": g(n).open.value ? "open" : "closed",
25404
25404
  onClick: s[0] || (s[0] = async (a) => {
25405
25405
  var l;
25406
- !i.disabled && a.button === 0 && a.ctrlKey === !1 && ((l = g(n)) == null || l.onOpenToggle(), await Nt(), g(n).open.value && a.preventDefault());
25406
+ !i.disabled && a.button === 0 && a.ctrlKey === !1 && ((l = g(n)) == null || l.onOpenToggle(), await Mt(), g(n).open.value && a.preventDefault());
25407
25407
  }),
25408
25408
  onKeydown: s[1] || (s[1] = Ul(
25409
25409
  (a) => {
@@ -25413,7 +25413,7 @@ const DU = /* @__PURE__ */ j({
25413
25413
  ))
25414
25414
  }, {
25415
25415
  default: N(() => [
25416
- ie(i.$slots, "default")
25416
+ se(i.$slots, "default")
25417
25417
  ]),
25418
25418
  _: 3
25419
25419
  }, 8, ["id", "type", "as-child", "as", "aria-expanded", "aria-controls", "data-disabled", "disabled", "data-state"])
@@ -25432,7 +25432,7 @@ const DU = /* @__PURE__ */ j({
25432
25432
  const e = t;
25433
25433
  return (n, o) => (M(), $(g(s_), qt(en(e)), {
25434
25434
  default: N(() => [
25435
- ie(n.$slots, "default")
25435
+ se(n.$slots, "default")
25436
25436
  ]),
25437
25437
  _: 3
25438
25438
  }, 16));
@@ -25489,7 +25489,7 @@ const DU = /* @__PURE__ */ j({
25489
25489
  })
25490
25490
  }), {
25491
25491
  default: N(() => [
25492
- ie(s.$slots, "default")
25492
+ se(s.$slots, "default")
25493
25493
  ]),
25494
25494
  _: 3
25495
25495
  }, 16, ["id", "aria-labelledby"]);
@@ -25508,7 +25508,7 @@ const DU = /* @__PURE__ */ j({
25508
25508
  const n = t, o = Qa(e);
25509
25509
  return Ue(), (r, i) => (M(), $(g(Av), qt(en({ ...n, ...g(o) })), {
25510
25510
  default: N(() => [
25511
- ie(r.$slots, "default")
25511
+ se(r.$slots, "default")
25512
25512
  ]),
25513
25513
  _: 3
25514
25514
  }, 16));
@@ -25523,7 +25523,7 @@ const DU = /* @__PURE__ */ j({
25523
25523
  const e = t;
25524
25524
  return Ue(), (n, o) => (M(), $(g(IU), qt(en(e)), {
25525
25525
  default: N(() => [
25526
- ie(n.$slots, "default")
25526
+ se(n.$slots, "default")
25527
25527
  ]),
25528
25528
  _: 3
25529
25529
  }, 16));
@@ -25542,7 +25542,7 @@ const DU = /* @__PURE__ */ j({
25542
25542
  const n = t, o = Qa(e);
25543
25543
  return Ue(), (r, i) => (M(), $(g(OU), qt(en({ ...n, ...g(o) })), {
25544
25544
  default: N(() => [
25545
- ie(r.$slots, "default")
25545
+ se(r.$slots, "default")
25546
25546
  ]),
25547
25547
  _: 3
25548
25548
  }, 16));
@@ -25558,7 +25558,7 @@ const DU = /* @__PURE__ */ j({
25558
25558
  const e = t;
25559
25559
  return Ue(), (n, o) => (M(), $(g(AU), qt(en(e)), {
25560
25560
  default: N(() => [
25561
- ie(n.$slots, "default")
25561
+ se(n.$slots, "default")
25562
25562
  ]),
25563
25563
  _: 3
25564
25564
  }, 16));
@@ -25578,7 +25578,7 @@ const DU = /* @__PURE__ */ j({
25578
25578
  })
25579
25579
  }), {
25580
25580
  default: N(() => [
25581
- ie(n.$slots, "default")
25581
+ se(n.$slots, "default")
25582
25582
  ]),
25583
25583
  _: 3
25584
25584
  }, 16));
@@ -25610,7 +25610,7 @@ const DU = /* @__PURE__ */ j({
25610
25610
  hasCustomAnchor: a
25611
25611
  }), (l, u) => (M(), $(g(Uh), null, {
25612
25612
  default: N(() => [
25613
- ie(l.$slots, "default", { open: g(i) })
25613
+ se(l.$slots, "default", { open: g(i) })
25614
25614
  ]),
25615
25615
  _: 3
25616
25616
  }));
@@ -25639,7 +25639,7 @@ const DU = /* @__PURE__ */ j({
25639
25639
  onClick: g(n).onOpenToggle
25640
25640
  }, {
25641
25641
  default: N(() => [
25642
- ie(i.$slots, "default")
25642
+ se(i.$slots, "default")
25643
25643
  ]),
25644
25644
  _: 3
25645
25645
  }, 8, ["type", "aria-expanded", "aria-controls", "data-state", "as", "as-child", "onClick"])
@@ -25658,7 +25658,7 @@ const DU = /* @__PURE__ */ j({
25658
25658
  const e = t;
25659
25659
  return (n, o) => (M(), $(g(fd), qt(en(e)), {
25660
25660
  default: N(() => [
25661
- ie(n.$slots, "default")
25661
+ se(n.$slots, "default")
25662
25662
  ]),
25663
25663
  _: 3
25664
25664
  }, 16));
@@ -25718,7 +25718,7 @@ const DU = /* @__PURE__ */ j({
25718
25718
  }
25719
25719
  }), {
25720
25720
  default: N(() => [
25721
- ie(a.$slots, "default")
25721
+ se(a.$slots, "default")
25722
25722
  ]),
25723
25723
  _: 3
25724
25724
  }, 16, ["id", "data-state"])
@@ -25774,7 +25774,7 @@ const DU = /* @__PURE__ */ j({
25774
25774
  }, ["prevent"]))
25775
25775
  }), {
25776
25776
  default: N(() => [
25777
- ie(u.$slots, "default")
25777
+ se(u.$slots, "default")
25778
25778
  ]),
25779
25779
  _: 3
25780
25780
  }, 16, ["trap-focus"]));
@@ -25817,7 +25817,7 @@ const DU = /* @__PURE__ */ j({
25817
25817
  })
25818
25818
  }), {
25819
25819
  default: N(() => [
25820
- ie(l.$slots, "default")
25820
+ se(l.$slots, "default")
25821
25821
  ]),
25822
25822
  _: 3
25823
25823
  }, 16));
@@ -25852,12 +25852,12 @@ const DU = /* @__PURE__ */ j({
25852
25852
  default: N(() => [
25853
25853
  g(r).modal.value ? (M(), $(QU, ke({ key: 0 }, g(i), { ref: g(s) }), {
25854
25854
  default: N(() => [
25855
- ie(a.$slots, "default")
25855
+ se(a.$slots, "default")
25856
25856
  ]),
25857
25857
  _: 3
25858
25858
  }, 16)) : (M(), $(eW, ke({ key: 1 }, g(i), { ref: g(s) }), {
25859
25859
  default: N(() => [
25860
- ie(a.$slots, "default")
25860
+ se(a.$slots, "default")
25861
25861
  ]),
25862
25862
  _: 3
25863
25863
  }, 16))
@@ -25938,7 +25938,7 @@ const DU = /* @__PURE__ */ j({
25938
25938
  "as-child": n.asChild,
25939
25939
  as: _.as,
25940
25940
  dir: g(b),
25941
- style: Mt({
25941
+ style: It({
25942
25942
  position: "relative",
25943
25943
  // Pass corner sizes as CSS vars to reduce re-renders of context consumers
25944
25944
  "--radix-scroll-area-corner-width": `${o.value}px`,
@@ -25946,7 +25946,7 @@ const DU = /* @__PURE__ */ j({
25946
25946
  })
25947
25947
  }, {
25948
25948
  default: N(() => [
25949
- ie(_.$slots, "default")
25949
+ se(_.$slots, "default")
25950
25950
  ]),
25951
25951
  _: 3
25952
25952
  }, 8, ["as-child", "as", "dir", "style"]));
@@ -25990,7 +25990,7 @@ const DU = /* @__PURE__ */ j({
25990
25990
  }, u.$attrs, { tabindex: 0 }), [
25991
25991
  D(g(dt), {
25992
25992
  ref: g(a),
25993
- style: Mt({
25993
+ style: It({
25994
25994
  /**
25995
25995
  * When horizontal scrollbar is visible: this element should be at least
25996
25996
  * as wide as its children for size calculations to work correctly.
@@ -26004,7 +26004,7 @@ const DU = /* @__PURE__ */ j({
26004
26004
  as: u.as
26005
26005
  }, {
26006
26006
  default: N(() => [
26007
- ie(u.$slots, "default")
26007
+ se(u.$slots, "default")
26008
26008
  ]),
26009
26009
  _: 3
26010
26010
  }, 8, ["style", "as-child", "as"])
@@ -26132,7 +26132,7 @@ const f_ = /* @__PURE__ */ j({
26132
26132
  onPointerup: b
26133
26133
  }, {
26134
26134
  default: N(() => [
26135
- ie(x.$slots, "default")
26135
+ se(x.$slots, "default")
26136
26136
  ]),
26137
26137
  _: 3
26138
26138
  }, 8, ["as", "as-child"]));
@@ -26149,7 +26149,7 @@ const f_ = /* @__PURE__ */ j({
26149
26149
  ref: g(o),
26150
26150
  "is-horizontal": !0,
26151
26151
  "data-orientation": "horizontal",
26152
- style: Mt({
26152
+ style: It({
26153
26153
  bottom: 0,
26154
26154
  left: g(e).dir.value === "rtl" ? "var(--radix-scroll-area-corner-width)" : 0,
26155
26155
  right: g(e).dir.value === "ltr" ? "var(--radix-scroll-area-corner-width)" : 0,
@@ -26158,7 +26158,7 @@ const f_ = /* @__PURE__ */ j({
26158
26158
  onOnDragScroll: a[0] || (a[0] = (l) => g(n).onDragScroll(l.x))
26159
26159
  }, {
26160
26160
  default: N(() => [
26161
- ie(s.$slots, "default")
26161
+ se(s.$slots, "default")
26162
26162
  ]),
26163
26163
  _: 3
26164
26164
  }, 8, ["style"]));
@@ -26175,7 +26175,7 @@ const f_ = /* @__PURE__ */ j({
26175
26175
  ref: g(o),
26176
26176
  "is-horizontal": !1,
26177
26177
  "data-orientation": "vertical",
26178
- style: Mt({
26178
+ style: It({
26179
26179
  top: 0,
26180
26180
  right: g(e).dir.value === "ltr" ? 0 : void 0,
26181
26181
  left: g(e).dir.value === "rtl" ? 0 : void 0,
@@ -26185,7 +26185,7 @@ const f_ = /* @__PURE__ */ j({
26185
26185
  onOnDragScroll: a[0] || (a[0] = (l) => g(n).onDragScroll(l.y))
26186
26186
  }, {
26187
26187
  default: N(() => [
26188
- ie(s.$slots, "default")
26188
+ se(s.$slots, "default")
26189
26189
  ]),
26190
26190
  _: 3
26191
26191
  }, 8, ["style"]));
@@ -26266,12 +26266,12 @@ const f_ = /* @__PURE__ */ j({
26266
26266
  onDragScroll: b
26267
26267
  }), (x, E) => m.value ? (M(), $(aW, ke({ key: 0 }, x.$attrs, { ref: g(o) }), {
26268
26268
  default: N(() => [
26269
- ie(x.$slots, "default")
26269
+ se(x.$slots, "default")
26270
26270
  ]),
26271
26271
  _: 3
26272
26272
  }, 16)) : (M(), $(lW, ke({ key: 1 }, x.$attrs, { ref: g(o) }), {
26273
26273
  default: N(() => [
26274
- ie(x.$slots, "default")
26274
+ se(x.$slots, "default")
26275
26275
  ]),
26276
26276
  _: 3
26277
26277
  }, 16));
@@ -26297,7 +26297,7 @@ const f_ = /* @__PURE__ */ j({
26297
26297
  "data-state": r.value ? "visible" : "hidden"
26298
26298
  }), {
26299
26299
  default: N(() => [
26300
- ie(s.$slots, "default")
26300
+ se(s.$slots, "default")
26301
26301
  ]),
26302
26302
  _: 3
26303
26303
  }, 16, ["data-state"])
@@ -26338,7 +26338,7 @@ const f_ = /* @__PURE__ */ j({
26338
26338
  "data-state": r.value ? "visible" : "hidden"
26339
26339
  }), {
26340
26340
  default: N(() => [
26341
- ie(a.$slots, "default")
26341
+ se(a.$slots, "default")
26342
26342
  ]),
26343
26343
  _: 3
26344
26344
  }, 16, ["data-state"])
@@ -26400,7 +26400,7 @@ const f_ = /* @__PURE__ */ j({
26400
26400
  default: N(() => [
26401
26401
  D(Ov, ke(a.$attrs, { ref: g(o) }), {
26402
26402
  default: N(() => [
26403
- ie(a.$slots, "default")
26403
+ se(a.$slots, "default")
26404
26404
  ]),
26405
26405
  _: 3
26406
26406
  }, 16)
@@ -26440,7 +26440,7 @@ const f_ = /* @__PURE__ */ j({
26440
26440
  "force-mount": g(s)
26441
26441
  }), {
26442
26442
  default: N(() => [
26443
- ie(u.$slots, "default")
26443
+ se(u.$slots, "default")
26444
26444
  ]),
26445
26445
  _: 3
26446
26446
  }, 16, ["force-mount"])) : g(o).type.value === "scroll" ? (M(), $(dW, ke({ key: 1 }, u.$attrs, {
@@ -26448,7 +26448,7 @@ const f_ = /* @__PURE__ */ j({
26448
26448
  "force-mount": g(s)
26449
26449
  }), {
26450
26450
  default: N(() => [
26451
- ie(u.$slots, "default")
26451
+ se(u.$slots, "default")
26452
26452
  ]),
26453
26453
  _: 3
26454
26454
  }, 16, ["force-mount"])) : g(o).type.value === "auto" ? (M(), $(p_, ke({ key: 2 }, u.$attrs, {
@@ -26456,7 +26456,7 @@ const f_ = /* @__PURE__ */ j({
26456
26456
  "force-mount": g(s)
26457
26457
  }), {
26458
26458
  default: N(() => [
26459
- ie(u.$slots, "default")
26459
+ se(u.$slots, "default")
26460
26460
  ]),
26461
26461
  _: 3
26462
26462
  }, 16, ["force-mount"])) : g(o).type.value === "always" ? (M(), $(Ov, ke({ key: 3 }, u.$attrs, {
@@ -26464,7 +26464,7 @@ const f_ = /* @__PURE__ */ j({
26464
26464
  "data-state": "visible"
26465
26465
  }), {
26466
26466
  default: N(() => [
26467
- ie(u.$slots, "default")
26467
+ se(u.$slots, "default")
26468
26468
  ]),
26469
26469
  _: 3
26470
26470
  }, 16)) : _e("", !0);
@@ -26513,7 +26513,7 @@ const f_ = /* @__PURE__ */ j({
26513
26513
  onPointerup: i
26514
26514
  }, {
26515
26515
  default: N(() => [
26516
- ie(h.$slots, "default")
26516
+ se(h.$slots, "default")
26517
26517
  ]),
26518
26518
  _: 3
26519
26519
  }, 8, ["data-state", "as-child", "as"]));
@@ -26546,7 +26546,7 @@ const f_ = /* @__PURE__ */ j({
26546
26546
  }
26547
26547
  }, (u = a.$parent) == null ? void 0 : u.$props), {
26548
26548
  default: N(() => [
26549
- ie(a.$slots, "default")
26549
+ se(a.$slots, "default")
26550
26550
  ]),
26551
26551
  _: 3
26552
26552
  }, 16, ["style"])) : _e("", !0);
@@ -26566,7 +26566,7 @@ const f_ = /* @__PURE__ */ j({
26566
26566
  );
26567
26567
  return (s, a) => i.value ? (M(), $(mW, ke({ key: 0 }, e, { ref: g(n) }), {
26568
26568
  default: N(() => [
26569
- ie(s.$slots, "default")
26569
+ se(s.$slots, "default")
26570
26570
  ]),
26571
26571
  _: 3
26572
26572
  }, 16)) : _e("", !0);
@@ -26595,7 +26595,7 @@ const f_ = /* @__PURE__ */ j({
26595
26595
  "onUpdate:modelValue": i[0] || (i[0] = (s) => Qc(n) ? n.value = s : null),
26596
26596
  "default-value": g(n)
26597
26597
  }), [
26598
- ie(r.$slots, "default")
26598
+ se(r.$slots, "default")
26599
26599
  ], 16, bW), [
26600
26600
  [aL, g(n)]
26601
26601
  ])
@@ -26671,7 +26671,7 @@ const f_ = /* @__PURE__ */ j({
26671
26671
  }
26672
26672
  }), (x, E) => (M(), $(g(Uh), null, {
26673
26673
  default: N(() => [
26674
- ie(x.$slots, "default", {
26674
+ se(x.$slots, "default", {
26675
26675
  modelValue: g(r),
26676
26676
  open: g(i)
26677
26677
  }),
@@ -26767,7 +26767,7 @@ const SW = /* @__PURE__ */ j({
26767
26767
  })
26768
26768
  }, {
26769
26769
  default: N(() => [
26770
- ie(m.$slots, "default")
26770
+ se(m.$slots, "default")
26771
26771
  ]),
26772
26772
  _: 3
26773
26773
  }, 8, ["type", "aria-controls", "aria-expanded", "aria-required", "disabled", "dir", "data-state", "data-disabled", "data-placeholder", "as-child", "as"])
@@ -26787,7 +26787,7 @@ const SW = /* @__PURE__ */ j({
26787
26787
  const e = t;
26788
26788
  return (n, o) => (M(), $(g(fd), qt(en(e)), {
26789
26789
  default: N(() => [
26790
- ie(n.$slots, "default")
26790
+ se(n.$slots, "default")
26791
26791
  ]),
26792
26792
  _: 3
26793
26793
  }, 16));
@@ -26831,7 +26831,7 @@ const SW = /* @__PURE__ */ j({
26831
26831
  ), J = window.getComputedStyle(m.value), re = Number.parseInt(J.paddingTop, 10), oe = Number.parseInt(
26832
26832
  J.paddingBottom,
26833
26833
  10
26834
- ), de = C.top + C.height / 2 - Vr, Le = P - de, Pe = b.value.offsetHeight / 2, Qe = b.value.offsetTop + Pe, Be = Y + Q + Qe, it = U - Be;
26834
+ ), de = C.top + C.height / 2 - Vr, Le = P - de, Pe = b.value.offsetHeight / 2, et = b.value.offsetTop + Pe, Be = Y + Q + et, it = U - Be;
26835
26835
  if (Be <= de) {
26836
26836
  const ae = b.value === F[F.length - 1];
26837
26837
  d.value.style.bottom = "0px";
@@ -26854,7 +26854,7 @@ const SW = /* @__PURE__ */ j({
26854
26854
  }
26855
26855
  const E = H("");
26856
26856
  ht(async () => {
26857
- await Nt(), x(), h.value && (E.value = window.getComputedStyle(h.value).zIndex);
26857
+ await Mt(), x(), h.value && (E.value = window.getComputedStyle(h.value).zIndex);
26858
26858
  });
26859
26859
  function _(C) {
26860
26860
  C && u.value === !0 && (x(), w == null || w(), u.value = !1);
@@ -26866,7 +26866,7 @@ const SW = /* @__PURE__ */ j({
26866
26866
  }), (C, T) => (M(), me("div", {
26867
26867
  ref_key: "contentWrapperElement",
26868
26868
  ref: d,
26869
- style: Mt({
26869
+ style: It({
26870
26870
  display: "flex",
26871
26871
  flexDirection: "column",
26872
26872
  position: "fixed",
@@ -26884,7 +26884,7 @@ const SW = /* @__PURE__ */ j({
26884
26884
  }
26885
26885
  }, { ...C.$attrs, ...n }), {
26886
26886
  default: N(() => [
26887
- ie(C.$slots, "default")
26887
+ se(C.$slots, "default")
26888
26888
  ]),
26889
26889
  _: 3
26890
26890
  }, 16)
@@ -26920,7 +26920,7 @@ const SW = /* @__PURE__ */ j({
26920
26920
  "--radix-select-trigger-height": "var(--radix-popper-anchor-height)"
26921
26921
  } }), {
26922
26922
  default: N(() => [
26923
- ie(n.$slots, "default")
26923
+ se(n.$slots, "default")
26924
26924
  ]),
26925
26925
  _: 3
26926
26926
  }, 16));
@@ -27074,7 +27074,7 @@ const SW = /* @__PURE__ */ j({
27074
27074
  onKeydown: E
27075
27075
  }), {
27076
27076
  default: N(() => [
27077
- ie(T.$slots, "default")
27077
+ se(T.$slots, "default")
27078
27078
  ]),
27079
27079
  _: 3
27080
27080
  }, 16, ["id", "data-state", "dir", "onKeydown"]))
@@ -27092,7 +27092,7 @@ const SW = /* @__PURE__ */ j({
27092
27092
  context: {}
27093
27093
  },
27094
27094
  setup(t) {
27095
- return h_(t.context), (e, n) => ie(e.$slots, "default");
27095
+ return h_(t.context), (e, n) => se(e.$slots, "default");
27096
27096
  }
27097
27097
  }), LW = { key: 1 }, RW = /* @__PURE__ */ j({
27098
27098
  inheritAttrs: !1,
@@ -27134,7 +27134,7 @@ const SW = /* @__PURE__ */ j({
27134
27134
  default: N(() => [
27135
27135
  D(NW, qt(en({ ...g(o), ...l.$attrs })), {
27136
27136
  default: N(() => [
27137
- ie(l.$slots, "default")
27137
+ se(l.$slots, "default")
27138
27138
  ]),
27139
27139
  _: 3
27140
27140
  }, 16)
@@ -27144,7 +27144,7 @@ const SW = /* @__PURE__ */ j({
27144
27144
  (M(), $(uu, { to: i.value }, [
27145
27145
  D(IW, { context: g(r) }, {
27146
27146
  default: N(() => [
27147
- ie(l.$slots, "default")
27147
+ se(l.$slots, "default")
27148
27148
  ]),
27149
27149
  _: 3
27150
27150
  }, 8, ["context"])
@@ -27162,7 +27162,7 @@ const SW = /* @__PURE__ */ j({
27162
27162
  const e = t;
27163
27163
  return (n, o) => (M(), $(g(dt), ke({ "aria-hidden": "true" }, e), {
27164
27164
  default: N(() => [
27165
- ie(n.$slots, "default")
27165
+ se(n.$slots, "default")
27166
27166
  ]),
27167
27167
  _: 3
27168
27168
  }, 16));
@@ -27182,19 +27182,19 @@ const SW = /* @__PURE__ */ j({
27182
27182
  return ((y = o.modelValue) == null ? void 0 : y.value) === e.value;
27183
27183
  }), l = H(!1), u = H(e.textValue ?? ""), d = Lr(void 0, "radix-vue-select-item-text");
27184
27184
  async function f(y) {
27185
- await Nt(), !(y != null && y.defaultPrevented) && (n.value || (o.onValueChange(e.value), o.onOpenChange(!1)));
27185
+ await Mt(), !(y != null && y.defaultPrevented) && (n.value || (o.onValueChange(e.value), o.onOpenChange(!1)));
27186
27186
  }
27187
27187
  async function h(y) {
27188
27188
  var w;
27189
- await Nt(), !y.defaultPrevented && (n.value ? (w = r.onItemLeave) == null || w.call(r) : y.currentTarget.focus({ preventScroll: !0 }));
27189
+ await Mt(), !y.defaultPrevented && (n.value ? (w = r.onItemLeave) == null || w.call(r) : y.currentTarget.focus({ preventScroll: !0 }));
27190
27190
  }
27191
27191
  async function m(y) {
27192
27192
  var w;
27193
- await Nt(), !y.defaultPrevented && y.currentTarget === bo() && ((w = r.onItemLeave) == null || w.call(r));
27193
+ await Mt(), !y.defaultPrevented && y.currentTarget === bo() && ((w = r.onItemLeave) == null || w.call(r));
27194
27194
  }
27195
27195
  async function b(y) {
27196
27196
  var w;
27197
- await Nt(), !(y.defaultPrevented || ((w = r.searchRef) == null ? void 0 : w.value) !== "" && y.key === " ") && (_W.includes(y.key) && f(), y.key === " " && y.preventDefault());
27197
+ await Mt(), !(y.defaultPrevented || ((w = r.searchRef) == null ? void 0 : w.value) !== "" && y.key === " ") && (_W.includes(y.key) && f(), y.key === " " && y.preventDefault());
27198
27198
  }
27199
27199
  if (e.value === "")
27200
27200
  throw new Error(
@@ -27240,7 +27240,7 @@ const SW = /* @__PURE__ */ j({
27240
27240
  onKeydown: b
27241
27241
  }, {
27242
27242
  default: N(() => [
27243
- ie(y.$slots, "default")
27243
+ se(y.$slots, "default")
27244
27244
  ]),
27245
27245
  _: 3
27246
27246
  }, 8, ["aria-labelledby", "data-highlighted", "aria-selected", "data-state", "aria-disabled", "data-disabled", "tabindex", "as", "as-child"]));
@@ -27258,7 +27258,7 @@ const SW = /* @__PURE__ */ j({
27258
27258
  "aria-hidden": "true"
27259
27259
  }, e), {
27260
27260
  default: N(() => [
27261
- ie(o.$slots, "default")
27261
+ se(o.$slots, "default")
27262
27262
  ]),
27263
27263
  _: 3
27264
27264
  }, 16)) : _e("", !0);
@@ -27273,7 +27273,7 @@ const SW = /* @__PURE__ */ j({
27273
27273
  const e = t, n = Lr(void 0, "radix-vue-select-group");
27274
27274
  return $W({ id: n }), (o, r) => (M(), $(g(dt), ke({ role: "group" }, e, { "aria-labelledby": g(n) }), {
27275
27275
  default: N(() => [
27276
- ie(o.$slots, "default")
27276
+ se(o.$slots, "default")
27277
27277
  ]),
27278
27278
  _: 3
27279
27279
  }, 16, ["aria-labelledby"]));
@@ -27309,7 +27309,7 @@ const SW = /* @__PURE__ */ j({
27309
27309
  ref: g(s)
27310
27310
  }, { ...e, ...u.$attrs }, { "data-item-text": "" }), {
27311
27311
  default: N(() => [
27312
- ie(u.$slots, "default")
27312
+ se(u.$slots, "default")
27313
27313
  ]),
27314
27314
  _: 3
27315
27315
  }, 16, ["id"]),
@@ -27317,7 +27317,7 @@ const SW = /* @__PURE__ */ j({
27317
27317
  key: 0,
27318
27318
  to: g(n).valueElement.value
27319
27319
  }, [
27320
- ie(u.$slots, "default")
27320
+ se(u.$slots, "default")
27321
27321
  ], 8, ["to"])) : _e("", !0)
27322
27322
  ], 64));
27323
27323
  }
@@ -27367,7 +27367,7 @@ const SW = /* @__PURE__ */ j({
27367
27367
  onScroll: u
27368
27368
  }), {
27369
27369
  default: N(() => [
27370
- ie(d.$slots, "default")
27370
+ se(d.$slots, "default")
27371
27371
  ]),
27372
27372
  _: 3
27373
27373
  }, 16),
@@ -27422,7 +27422,7 @@ const SW = /* @__PURE__ */ j({
27422
27422
  })
27423
27423
  }), {
27424
27424
  default: N(() => [
27425
- ie(d.$slots, "default")
27425
+ se(d.$slots, "default")
27426
27426
  ]),
27427
27427
  _: 3
27428
27428
  }, 16);
@@ -27456,7 +27456,7 @@ const SW = /* @__PURE__ */ j({
27456
27456
  })
27457
27457
  }, {
27458
27458
  default: N(() => [
27459
- ie(s.$slots, "default")
27459
+ se(s.$slots, "default")
27460
27460
  ]),
27461
27461
  _: 3
27462
27462
  }, 512)) : _e("", !0);
@@ -27490,7 +27490,7 @@ const SW = /* @__PURE__ */ j({
27490
27490
  })
27491
27491
  }, {
27492
27492
  default: N(() => [
27493
- ie(s.$slots, "default")
27493
+ se(s.$slots, "default")
27494
27494
  ]),
27495
27495
  _: 3
27496
27496
  }, 512)) : _e("", !0);
@@ -27521,7 +27521,7 @@ const SW = /* @__PURE__ */ j({
27521
27521
  return [
27522
27522
  g(m_)((a = g(o).modelValue) == null ? void 0 : a.value) ? (M(), me(tt, { key: 0 }, [
27523
27523
  at(Ie(i.placeholder), 1)
27524
- ], 64)) : ie(i.$slots, "default", { key: 1 })
27524
+ ], 64)) : se(i.$slots, "default", { key: 1 })
27525
27525
  ];
27526
27526
  }),
27527
27527
  _: 3
@@ -27540,7 +27540,7 @@ const SW = /* @__PURE__ */ j({
27540
27540
  "as-child": e.asChild
27541
27541
  }, {
27542
27542
  default: N(() => [
27543
- ie(e.$slots, "default", {}, () => [
27543
+ se(e.$slots, "default", {}, () => [
27544
27544
  at("▼")
27545
27545
  ])
27546
27546
  ]),
@@ -27573,7 +27573,7 @@ const SW = /* @__PURE__ */ j({
27573
27573
  "data-orientation": r.value
27574
27574
  }, s.value), {
27575
27575
  default: N(() => [
27576
- ie(a.$slots, "default")
27576
+ se(a.$slots, "default")
27577
27577
  ]),
27578
27578
  _: 3
27579
27579
  }, 16, ["as", "as-child", "data-orientation"]));
@@ -27590,7 +27590,7 @@ const SW = /* @__PURE__ */ j({
27590
27590
  const e = t;
27591
27591
  return (n, o) => (M(), $(KW, qt(en(e)), {
27592
27592
  default: N(() => [
27593
- ie(n.$slots, "default")
27593
+ se(n.$slots, "default")
27594
27594
  ]),
27595
27595
  _: 3
27596
27596
  }, 16));
@@ -27650,7 +27650,7 @@ const YW = ["name", "disabled", "required", "value", "checked", "data-state", "d
27650
27650
  onKeydown: Ul(En(s, ["prevent"]), ["enter"])
27651
27651
  }), {
27652
27652
  default: N(() => [
27653
- ie(f.$slots, "default", { checked: g(i) })
27653
+ se(f.$slots, "default", { checked: g(i) })
27654
27654
  ]),
27655
27655
  _: 3
27656
27656
  }, 16, ["id", "type", "value", "aria-label", "aria-checked", "aria-required", "data-state", "data-disabled", "as-child", "as", "disabled", "onKeydown"]),
@@ -27693,7 +27693,7 @@ const YW = ["name", "disabled", "required", "value", "checked", "data-state", "d
27693
27693
  as: n.as
27694
27694
  }, {
27695
27695
  default: N(() => [
27696
- ie(n.$slots, "default")
27696
+ se(n.$slots, "default")
27697
27697
  ]),
27698
27698
  _: 3
27699
27699
  }, 8, ["data-state", "data-disabled", "as-child", "as"]);
@@ -27735,7 +27735,7 @@ const YW = ["name", "disabled", "required", "value", "checked", "data-state", "d
27735
27735
  as: u.as
27736
27736
  }, {
27737
27737
  default: N(() => [
27738
- ie(u.$slots, "default", { modelValue: g(a) })
27738
+ se(u.$slots, "default", { modelValue: g(a) })
27739
27739
  ]),
27740
27740
  _: 3
27741
27741
  }, 8, ["dir", "data-orientation", "as-child", "as"]));
@@ -27764,7 +27764,7 @@ const YW = ["name", "disabled", "required", "value", "checked", "data-state", "d
27764
27764
  "aria-orientation": g(i).orientation.value
27765
27765
  }, {
27766
27766
  default: N(() => [
27767
- ie(s.$slots, "default")
27767
+ se(s.$slots, "default")
27768
27768
  ]),
27769
27769
  _: 3
27770
27770
  }, 8, ["as-child", "as", "aria-orientation"])
@@ -27809,12 +27809,12 @@ const rj = /* @__PURE__ */ j({
27809
27809
  "aria-labelledby": r.value,
27810
27810
  hidden: !d.value,
27811
27811
  tabindex: "0",
27812
- style: Mt({
27812
+ style: It({
27813
27813
  animationDuration: a.value ? "0s" : void 0
27814
27814
  })
27815
27815
  }, {
27816
27816
  default: N(() => [
27817
- l.forceMount || s.value ? ie(l.$slots, "default", { key: 0 }) : _e("", !0)
27817
+ l.forceMount || s.value ? se(l.$slots, "default", { key: 0 }) : _e("", !0)
27818
27818
  ]),
27819
27819
  _: 2
27820
27820
  }, 1032, ["id", "as-child", "as", "data-state", "data-orientation", "aria-labelledby", "hidden", "style"])
@@ -27861,7 +27861,7 @@ const rj = /* @__PURE__ */ j({
27861
27861
  })
27862
27862
  }, {
27863
27863
  default: N(() => [
27864
- ie(a.$slots, "default")
27864
+ se(a.$slots, "default")
27865
27865
  ]),
27866
27866
  _: 3
27867
27867
  }, 8, ["id", "type", "as", "as-child", "aria-selected", "aria-controls", "data-state", "disabled", "data-disabled", "data-orientation"])
@@ -27901,7 +27901,7 @@ const rj = /* @__PURE__ */ j({
27901
27901
  onClick: i
27902
27902
  }, {
27903
27903
  default: N(() => [
27904
- ie(a.$slots, "default", { pressed: g(r) })
27904
+ se(a.$slots, "default", { pressed: g(r) })
27905
27905
  ]),
27906
27906
  _: 3
27907
27907
  }, 8, ["type", "as-child", "as", "aria-pressed", "data-state", "data-disabled", "disabled"]));
@@ -27937,7 +27937,7 @@ const rj = /* @__PURE__ */ j({
27937
27937
  disableClosingTrigger: i,
27938
27938
  disabled: a,
27939
27939
  ignoreNonKeyboardFocus: s
27940
- }), (h, m) => ie(h.$slots, "default");
27940
+ }), (h, m) => se(h.$slots, "default");
27941
27941
  }
27942
27942
  }), [Yh, uj] = cn("TooltipRoot"), cj = /* @__PURE__ */ j({
27943
27943
  __name: "TooltipRoot",
@@ -27995,7 +27995,7 @@ const rj = /* @__PURE__ */ j({
27995
27995
  ignoreNonKeyboardFocus: u
27996
27996
  }), (_, C) => (M(), $(g(Uh), null, {
27997
27997
  default: N(() => [
27998
- ie(_.$slots, "default", { open: g(d) })
27998
+ se(_.$slots, "default", { open: g(d) })
27999
27999
  ]),
28000
28000
  _: 3
28001
28001
  }));
@@ -28055,7 +28055,7 @@ const rj = /* @__PURE__ */ j({
28055
28055
  "data-grace-area-trigger": ""
28056
28056
  }, eL(l.value)), {
28057
28057
  default: N(() => [
28058
- ie(w.$slots, "default")
28058
+ se(w.$slots, "default")
28059
28059
  ]),
28060
28060
  _: 3
28061
28061
  }, 16, ["aria-describedby", "data-state", "as", "as-child"])
@@ -28127,7 +28127,7 @@ const rj = /* @__PURE__ */ j({
28127
28127
  "--radix-tooltip-trigger-height": "var(--radix-popper-anchor-height)"
28128
28128
  } }), {
28129
28129
  default: N(() => [
28130
- ie(d.$slots, "default"),
28130
+ se(d.$slots, "default"),
28131
28131
  D(g(XE), {
28132
28132
  id: g(r).contentId,
28133
28133
  role: "tooltip"
@@ -28167,7 +28167,7 @@ const rj = /* @__PURE__ */ j({
28167
28167
  i();
28168
28168
  }), (u, d) => (M(), $(x_, ke({ ref: g(n) }, g(e)), {
28169
28169
  default: N(() => [
28170
- ie(u.$slots, "default")
28170
+ se(u.$slots, "default")
28171
28171
  ]),
28172
28172
  _: 3
28173
28173
  }, 16));
@@ -28199,7 +28199,7 @@ const rj = /* @__PURE__ */ j({
28199
28199
  default: N(() => [
28200
28200
  (M(), $(Un(g(r).disableHoverableContent.value ? x_ : fj), ke({ ref: g(s) }, g(i)), {
28201
28201
  default: N(() => [
28202
- ie(a.$slots, "default")
28202
+ se(a.$slots, "default")
28203
28203
  ]),
28204
28204
  _: 3
28205
28205
  }, 16))
@@ -28218,7 +28218,7 @@ const rj = /* @__PURE__ */ j({
28218
28218
  const e = t;
28219
28219
  return (n, o) => (M(), $(g(fd), qt(en(e)), {
28220
28220
  default: N(() => [
28221
- ie(n.$slots, "default")
28221
+ se(n.$slots, "default")
28222
28222
  ]),
28223
28223
  _: 3
28224
28224
  }, 16));
@@ -28652,7 +28652,7 @@ function $j(t, e = {}) {
28652
28652
  ge += V;
28653
28653
  return q.currentChar() === Cs && f(pt.UNTERMINATED_CLOSING_BRACE, i(), 0), ge;
28654
28654
  }
28655
- function Qe(q) {
28655
+ function et(q) {
28656
28656
  w(q);
28657
28657
  let V = "";
28658
28658
  return q.currentChar() === "-" ? (q.next(), V += `-${de(q)}`) : V += de(q), q.currentChar() === Cs && f(pt.UNTERMINATED_CLOSING_BRACE, i(), 0), V;
@@ -28755,7 +28755,7 @@ function $j(t, e = {}) {
28755
28755
  if (Ke = _(q, V))
28756
28756
  return ge = h(V, 4, Pe(q)), w(q), ge;
28757
28757
  if (gt = C(q, V))
28758
- return ge = h(V, 5, Qe(q)), w(q), ge;
28758
+ return ge = h(V, 5, et(q)), w(q), ge;
28759
28759
  if (nt = T(q, V))
28760
28760
  return ge = h(V, 6, it(q)), w(q), ge;
28761
28761
  if (!Ke && !gt && !nt)
@@ -30617,8 +30617,8 @@ function zv(t = {}) {
30617
30617
  __meta: { framework: "vue" }
30618
30618
  };
30619
30619
  z.datetimeFormats = d.value, z.numberFormats = f.value, z.__datetimeFormatters = At(k) ? k.__datetimeFormatters : void 0, z.__numberFormatters = At(k) ? k.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (z.__v_emitter = At(k) ? k.__v_emitter : void 0);
30620
- const se = Yq(z);
30621
- return o && B8(se), se;
30620
+ const ie = Yq(z);
30621
+ return o && B8(ie), ie;
30622
30622
  })(), Ku(k, a.value, l.value);
30623
30623
  function P() {
30624
30624
  return [
@@ -30652,10 +30652,10 @@ function zv(t = {}) {
30652
30652
  function J(z) {
30653
30653
  z !== null && (x = J8(z)), w = z, k.missing = x;
30654
30654
  }
30655
- function re(z, se) {
30656
- return z !== "translate" || !se.resolvedMessage;
30655
+ function re(z, ie) {
30656
+ return z !== "translate" || !ie.resolvedMessage;
30657
30657
  }
30658
- const oe = (z, se, ue, Se, Je, ft) => {
30658
+ const oe = (z, ie, ue, Se, Je, ft) => {
30659
30659
  P();
30660
30660
  let Wt;
30661
30661
  try {
@@ -30665,7 +30665,7 @@ function zv(t = {}) {
30665
30665
  }
30666
30666
  if (ue !== "translate exists" && // for not `te` (e.g `t`)
30667
30667
  Rn(Wt) && Wt === Qh || ue === "translate exists" && !Wt) {
30668
- const [pn, Pr] = se();
30668
+ const [pn, Pr] = ie();
30669
30669
  if (process.env.NODE_ENV !== "production" && e && $e(pn) && re(ue, Pr) && (b && (e0(m, pn) || M_(h, pn)) && Qs(t0(Ps.FALLBACK_TO_ROOT, {
30670
30670
  key: pn,
30671
30671
  type: ue
@@ -30686,22 +30686,22 @@ function zv(t = {}) {
30686
30686
  }
30687
30687
  };
30688
30688
  function de(...z) {
30689
- return oe((se) => Reflect.apply(q8, null, [se, ...z]), () => Hg(...z), "translate", (se) => Reflect.apply(se.t, se, [...z]), (se) => se, (se) => $e(se));
30689
+ return oe((ie) => Reflect.apply(q8, null, [ie, ...z]), () => Hg(...z), "translate", (ie) => Reflect.apply(ie.t, ie, [...z]), (ie) => ie, (ie) => $e(ie));
30690
30690
  }
30691
30691
  function Le(...z) {
30692
- const [se, ue, Se] = z;
30692
+ const [ie, ue, Se] = z;
30693
30693
  if (Se && !Ht(Se))
30694
30694
  throw No(rn.INVALID_ARGUMENT);
30695
- return de(se, ue, Wn({ resolvedMessage: !0 }, Se || {}));
30695
+ return de(ie, ue, Wn({ resolvedMessage: !0 }, Se || {}));
30696
30696
  }
30697
30697
  function Pe(...z) {
30698
- return oe((se) => Reflect.apply(H8, null, [se, ...z]), () => Fg(...z), "datetime format", (se) => Reflect.apply(se.d, se, [...z]), () => Mp, (se) => $e(se));
30698
+ return oe((ie) => Reflect.apply(H8, null, [ie, ...z]), () => Fg(...z), "datetime format", (ie) => Reflect.apply(ie.d, ie, [...z]), () => Mp, (ie) => $e(ie));
30699
30699
  }
30700
- function Qe(...z) {
30701
- return oe((se) => Reflect.apply(V8, null, [se, ...z]), () => $g(...z), "number format", (se) => Reflect.apply(se.n, se, [...z]), () => Mp, (se) => $e(se));
30700
+ function et(...z) {
30701
+ return oe((ie) => Reflect.apply(V8, null, [ie, ...z]), () => $g(...z), "number format", (ie) => Reflect.apply(ie.n, ie, [...z]), () => Mp, (ie) => $e(ie));
30702
30702
  }
30703
30703
  function Be(z) {
30704
- return z.map((se) => $e(se) || Rn(se) || Vt(se) ? K8(String(se)) : se);
30704
+ return z.map((ie) => $e(ie) || Rn(ie) || Vt(ie) ? K8(String(ie)) : ie);
30705
30705
  }
30706
30706
  const ae = {
30707
30707
  normalize: Be,
@@ -30709,87 +30709,87 @@ function zv(t = {}) {
30709
30709
  type: "vnode"
30710
30710
  };
30711
30711
  function fe(...z) {
30712
- return oe((se) => {
30712
+ return oe((ie) => {
30713
30713
  let ue;
30714
- const Se = se;
30714
+ const Se = ie;
30715
30715
  try {
30716
30716
  Se.processor = ae, ue = Reflect.apply(q8, null, [Se, ...z]);
30717
30717
  } finally {
30718
30718
  Se.processor = null;
30719
30719
  }
30720
30720
  return ue;
30721
- }, () => Hg(...z), "translate", (se) => se[Vg](...z), (se) => [K8(se)], (se) => _n(se));
30721
+ }, () => Hg(...z), "translate", (ie) => ie[Vg](...z), (ie) => [K8(ie)], (ie) => _n(ie));
30722
30722
  }
30723
30723
  function ve(...z) {
30724
- return oe((se) => Reflect.apply(V8, null, [se, ...z]), () => $g(...z), "number format", (se) => se[Wg](...z), X8, (se) => $e(se) || _n(se));
30724
+ return oe((ie) => Reflect.apply(V8, null, [ie, ...z]), () => $g(...z), "number format", (ie) => ie[Wg](...z), X8, (ie) => $e(ie) || _n(ie));
30725
30725
  }
30726
30726
  function ye(...z) {
30727
- return oe((se) => Reflect.apply(H8, null, [se, ...z]), () => Fg(...z), "datetime format", (se) => se[Ug](...z), X8, (se) => $e(se) || _n(se));
30727
+ return oe((ie) => Reflect.apply(H8, null, [ie, ...z]), () => Fg(...z), "datetime format", (ie) => ie[Ug](...z), X8, (ie) => $e(ie) || _n(ie));
30728
30728
  }
30729
30729
  function Oe(z) {
30730
30730
  A = z, k.pluralRules = A;
30731
30731
  }
30732
- function le(z, se) {
30732
+ function le(z, ie) {
30733
30733
  return oe(() => {
30734
30734
  if (!z)
30735
30735
  return !1;
30736
- const ue = $e(se) ? se : a.value, Se = rt(ue), Je = k.messageResolver(Se, z);
30736
+ const ue = $e(ie) ? ie : a.value, Se = rt(ue), Je = k.messageResolver(Se, z);
30737
30737
  return Ks(Je) || Tr(Je) || $e(Je);
30738
- }, () => [z], "translate exists", (ue) => Reflect.apply(ue.te, ue, [z, se]), EK, (ue) => Vt(ue));
30738
+ }, () => [z], "translate exists", (ue) => Reflect.apply(ue.te, ue, [z, ie]), EK, (ue) => Vt(ue));
30739
30739
  }
30740
30740
  function Me(z) {
30741
- let se = null;
30741
+ let ie = null;
30742
30742
  const ue = __(k, l.value, a.value);
30743
30743
  for (let Se = 0; Se < ue.length; Se++) {
30744
30744
  const Je = u.value[ue[Se]] || {}, ft = k.messageResolver(Je, z);
30745
30745
  if (ft != null) {
30746
- se = ft;
30746
+ ie = ft;
30747
30747
  break;
30748
30748
  }
30749
30749
  }
30750
- return se;
30750
+ return ie;
30751
30751
  }
30752
30752
  function je(z) {
30753
- const se = Me(z);
30754
- return se ?? (e ? e.tm(z) || {} : {});
30753
+ const ie = Me(z);
30754
+ return ie ?? (e ? e.tm(z) || {} : {});
30755
30755
  }
30756
30756
  function rt(z) {
30757
30757
  return u.value[z] || {};
30758
30758
  }
30759
- function Lt(z, se) {
30759
+ function Lt(z, ie) {
30760
30760
  if (r) {
30761
- const ue = { [z]: se };
30761
+ const ue = { [z]: ie };
30762
30762
  for (const Se in ue)
30763
30763
  qr(ue, Se) && $c(ue[Se]);
30764
- se = ue[z];
30764
+ ie = ue[z];
30765
30765
  }
30766
- u.value[z] = se, k.messages = u.value;
30766
+ u.value[z] = ie, k.messages = u.value;
30767
30767
  }
30768
- function zt(z, se) {
30768
+ function zt(z, ie) {
30769
30769
  u.value[z] = u.value[z] || {};
30770
- const ue = { [z]: se };
30770
+ const ue = { [z]: ie };
30771
30771
  if (r)
30772
30772
  for (const Se in ue)
30773
30773
  qr(ue, Se) && $c(ue[Se]);
30774
- se = ue[z], qf(se, u.value[z]), k.messages = u.value;
30774
+ ie = ue[z], qf(ie, u.value[z]), k.messages = u.value;
30775
30775
  }
30776
30776
  function q(z) {
30777
30777
  return d.value[z] || {};
30778
30778
  }
30779
- function V(z, se) {
30780
- d.value[z] = se, k.datetimeFormats = d.value, z8(k, z, se);
30779
+ function V(z, ie) {
30780
+ d.value[z] = ie, k.datetimeFormats = d.value, z8(k, z, ie);
30781
30781
  }
30782
- function ge(z, se) {
30783
- d.value[z] = Wn(d.value[z] || {}, se), k.datetimeFormats = d.value, z8(k, z, se);
30782
+ function ge(z, ie) {
30783
+ d.value[z] = Wn(d.value[z] || {}, ie), k.datetimeFormats = d.value, z8(k, z, ie);
30784
30784
  }
30785
30785
  function Ae(z) {
30786
30786
  return f.value[z] || {};
30787
30787
  }
30788
- function Ke(z, se) {
30789
- f.value[z] = se, k.numberFormats = f.value, U8(k, z, se);
30788
+ function Ke(z, ie) {
30789
+ f.value[z] = ie, k.numberFormats = f.value, U8(k, z, ie);
30790
30790
  }
30791
- function gt(z, se) {
30792
- f.value[z] = Wn(f.value[z] || {}, se), k.numberFormats = f.value, U8(k, z, se);
30791
+ function gt(z, ie) {
30792
+ f.value[z] = Wn(f.value[z] || {}, ie), k.numberFormats = f.value, U8(k, z, ie);
30793
30793
  }
30794
30794
  Y8++, e && Qr && (De(e.locale, (z) => {
30795
30795
  s && (a.value = z, k.locale = z, Ku(k, a.value, l.value));
@@ -30865,7 +30865,7 @@ function zv(t = {}) {
30865
30865
  setMissingHandler: J,
30866
30866
  [F_]: Oe
30867
30867
  };
30868
- return nt.datetimeFormats = Q, nt.numberFormats = we, nt.rt = Le, nt.te = le, nt.tm = je, nt.d = Pe, nt.n = Qe, nt.getDateTimeFormat = q, nt.setDateTimeFormat = V, nt.mergeDateTimeFormat = ge, nt.getNumberFormat = Ae, nt.setNumberFormat = Ke, nt.mergeNumberFormat = gt, nt[$_] = n, nt[Vg] = fe, nt[Ug] = ye, nt[Wg] = ve, process.env.NODE_ENV !== "production" && (nt[Ua] = (z) => {
30868
+ return nt.datetimeFormats = Q, nt.numberFormats = we, nt.rt = Le, nt.te = le, nt.tm = je, nt.d = Pe, nt.n = et, nt.getDateTimeFormat = q, nt.setDateTimeFormat = V, nt.mergeDateTimeFormat = ge, nt.getNumberFormat = Ae, nt.setNumberFormat = Ke, nt.mergeNumberFormat = gt, nt[$_] = n, nt[Vg] = fe, nt[Ug] = ye, nt[Wg] = ve, process.env.NODE_ENV !== "production" && (nt[Ua] = (z) => {
30869
30869
  k.__v_emitter = z;
30870
30870
  }, nt[Fc] = () => {
30871
30871
  k.__v_emitter = void 0;
@@ -31784,7 +31784,7 @@ const iG = { class: "flex gap-2 items-center overflow-x-auto overflow-y-hidden [
31784
31784
  mode: {}
31785
31785
  },
31786
31786
  setup(t) {
31787
- const e = uL(() => import("./BulkSpellChecker-B64kW-FY.mjs")), { t: n } = Jt(), o = t, r = Yt("isEditable", H(!0)), i = ["fontSize", "fontFamily", "superText", "spellchecker", "fontSizeIncreaseDecrease"], s = X(() => {
31787
+ const e = uL(() => import("./BulkSpellChecker-lPff4ipD.mjs")), { t: n } = Jt(), o = t, r = Yt("isEditable", H(!0)), i = ["fontSize", "fontFamily", "superText", "spellchecker", "fontSizeIncreaseDecrease"], s = X(() => {
31788
31788
  const f = [...o.editor.extensionManager.extensions].sort((m, b) => m.name === "superText" ? 1 : b.name === "superText" ? -1 : 0);
31789
31789
  let h = [];
31790
31790
  for (const m of f) {
@@ -31807,7 +31807,7 @@ const iG = { class: "flex gap-2 items-center overflow-x-auto overflow-y-hidden [
31807
31807
  }
31808
31808
  h.push({ button: E, divider: y, spacer: w, id: `${m.name}` });
31809
31809
  }
31810
- if (o.mode !== et.EDITOR)
31810
+ if (o.mode !== Ze.EDITOR)
31811
31811
  return h.filter((m) => m.id && i.includes(m.id));
31812
31812
  if (h = h.filter((m) => m.id !== "superText"), !r.value) {
31813
31813
  h = h.map((b) => (b.button.componentProps.disabled = !0, b));
@@ -31884,7 +31884,7 @@ const iG = { class: "flex gap-2 items-center overflow-x-auto overflow-y-hidden [
31884
31884
  const r = nn(t, e);
31885
31885
  return (i, s) => (M(), $(g(YU), qt(en(g(r))), {
31886
31886
  default: N(({ open: a }) => [
31887
- ie(i.$slots, "default", { open: a })
31887
+ se(i.$slots, "default", { open: a })
31888
31888
  ]),
31889
31889
  _: 3
31890
31890
  }, 16));
@@ -31927,7 +31927,7 @@ const iG = { class: "flex gap-2 items-center overflow-x-auto overflow-y-hidden [
31927
31927
  )
31928
31928
  }), {
31929
31929
  default: N(() => [
31930
- ie(s.$slots, "default")
31930
+ se(s.$slots, "default")
31931
31931
  ]),
31932
31932
  _: 3
31933
31933
  }, 16, ["class"])
@@ -31951,7 +31951,7 @@ const iG = { class: "flex gap-2 items-center overflow-x-auto overflow-y-hidden [
31951
31951
  const r = nn(t, e);
31952
31952
  return (i, s) => (M(), $(g(nj), qt(en(g(r))), {
31953
31953
  default: N(() => [
31954
- ie(i.$slots, "default")
31954
+ se(i.$slots, "default")
31955
31955
  ]),
31956
31956
  _: 3
31957
31957
  }, 16));
@@ -31973,7 +31973,7 @@ const iG = { class: "flex gap-2 items-center overflow-x-auto overflow-y-hidden [
31973
31973
  class: g(ze)("inline-flex items-center justify-center rounded-md bg-ed-muted p-1 text-ed-muted-foreground", e.class)
31974
31974
  }), {
31975
31975
  default: N(() => [
31976
- ie(o.$slots, "default")
31976
+ se(o.$slots, "default")
31977
31977
  ]),
31978
31978
  _: 3
31979
31979
  }, 16, ["class"]));
@@ -32000,7 +32000,7 @@ const iG = { class: "flex gap-2 items-center overflow-x-auto overflow-y-hidden [
32000
32000
  }), {
32001
32001
  default: N(() => [
32002
32002
  ee("span", lG, [
32003
- ie(r.$slots, "default")
32003
+ se(r.$slots, "default")
32004
32004
  ])
32005
32005
  ]),
32006
32006
  _: 3
@@ -32048,7 +32048,7 @@ const iG = { class: "flex gap-2 items-center overflow-x-auto overflow-y-hidden [
32048
32048
  class: g(ze)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70", e.class)
32049
32049
  }), {
32050
32050
  default: N(() => [
32051
- ie(o.$slots, "default")
32051
+ se(o.$slots, "default")
32052
32052
  ]),
32053
32053
  _: 3
32054
32054
  }, 16, ["class"]));
@@ -32063,7 +32063,7 @@ const iG = { class: "flex gap-2 items-center overflow-x-auto overflow-y-hidden [
32063
32063
  const e = t;
32064
32064
  return (n, o) => (M(), $(g(JU), qt(en(e)), {
32065
32065
  default: N(() => [
32066
- ie(n.$slots, "default")
32066
+ se(n.$slots, "default")
32067
32067
  ]),
32068
32068
  _: 3
32069
32069
  }, 16));
@@ -32130,7 +32130,7 @@ const sw = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, aw = Ab, q
32130
32130
  class: g(ze)(g(uG)({ variant: s.variant, size: s.size }), n.class)
32131
32131
  }), {
32132
32132
  default: N(() => [
32133
- ie(s.$slots, "default")
32133
+ se(s.$slots, "default")
32134
32134
  ]),
32135
32135
  _: 3
32136
32136
  }, 16, ["class"]));
@@ -32171,7 +32171,7 @@ const sw = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, aw = Ab, q
32171
32171
  const r = nn(t, e);
32172
32172
  return (i, s) => (M(), $(g(cj), qt(en(g(r))), {
32173
32173
  default: N(() => [
32174
- ie(i.$slots, "default")
32174
+ se(i.$slots, "default")
32175
32175
  ]),
32176
32176
  _: 3
32177
32177
  }, 16));
@@ -32219,7 +32219,7 @@ const sw = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, aw = Ab, q
32219
32219
  )
32220
32220
  }), {
32221
32221
  default: N(() => [
32222
- ie(s.$slots, "default")
32222
+ se(s.$slots, "default")
32223
32223
  ]),
32224
32224
  _: 3
32225
32225
  }, 16, ["class"])
@@ -32237,7 +32237,7 @@ const sw = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, aw = Ab, q
32237
32237
  const e = t;
32238
32238
  return (n, o) => (M(), $(g(dj), qt(en(e)), {
32239
32239
  default: N(() => [
32240
- ie(n.$slots, "default")
32240
+ se(n.$slots, "default")
32241
32241
  ]),
32242
32242
  _: 3
32243
32243
  }, 16));
@@ -32256,7 +32256,7 @@ const sw = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, aw = Ab, q
32256
32256
  const e = t;
32257
32257
  return (n, o) => (M(), $(g(lj), qt(en(e)), {
32258
32258
  default: N(() => [
32259
- ie(n.$slots, "default")
32259
+ se(n.$slots, "default")
32260
32260
  ]),
32261
32261
  _: 3
32262
32262
  }, 16));
@@ -33805,9 +33805,9 @@ const uX = { key: 0 }, cX = {
33805
33805
  name: e.icon,
33806
33806
  class: He(e.iconClass)
33807
33807
  }, null, 8, ["name", "class"])) : _e("", !0),
33808
- ie(e.$slots, "icon")
33808
+ se(e.$slots, "icon")
33809
33809
  ])) : _e("", !0),
33810
- ie(e.$slots, "default"),
33810
+ se(e.$slots, "default"),
33811
33811
  e.title ? (M(), me("span", dX, Ie(e.title), 1)) : _e("", !0)
33812
33812
  ]),
33813
33813
  _: 3
@@ -34082,7 +34082,7 @@ const uX = { key: 0 }, cX = {
34082
34082
  class: He(g(ze)(g(vX)({ variant: n.variant, size: n.size }), e.class))
34083
34083
  }, {
34084
34084
  default: N(() => [
34085
- ie(n.$slots, "default")
34085
+ se(n.$slots, "default")
34086
34086
  ]),
34087
34087
  _: 3
34088
34088
  }, 8, ["as", "as-child", "class"]));
@@ -34163,7 +34163,7 @@ const uX = { key: 0 }, cX = {
34163
34163
  default: N(() => [
34164
34164
  D(g(vu), { disabled: h.disabled }, {
34165
34165
  default: N(() => [
34166
- ie(h.$slots, "default")
34166
+ se(h.$slots, "default")
34167
34167
  ]),
34168
34168
  _: 3
34169
34169
  }, 8, ["disabled"]),
@@ -34195,7 +34195,7 @@ const uX = { key: 0 }, cX = {
34195
34195
  }, [
34196
34196
  ee("span", _X, [
34197
34197
  ee("span", {
34198
- style: Mt({ backgroundColor: g(OH) }),
34198
+ style: It({ backgroundColor: g(OH) }),
34199
34199
  class: "relative w-[18px] h-[18px] block rounded-[2px] border-transparent"
34200
34200
  }, [
34201
34201
  (M(), me("svg", SX, m[4] || (m[4] = [
@@ -34215,7 +34215,7 @@ const uX = { key: 0 }, cX = {
34215
34215
  onClick: (E) => d(w)
34216
34216
  }, [
34217
34217
  ee("span", {
34218
- style: Mt({ backgroundColor: w }),
34218
+ style: It({ backgroundColor: w }),
34219
34219
  class: "relative w-[18px] h-[18px] block rounded-[2px] border-transparent"
34220
34220
  }, [
34221
34221
  w !== h.modelValue ? (M(), me("svg", AX, m[5] || (m[5] = [
@@ -34236,7 +34236,7 @@ const uX = { key: 0 }, cX = {
34236
34236
  }, [
34237
34237
  ee("span", {
34238
34238
  class: "relative w-[18px] h-[18px] block rounded-[2px] border-transparent",
34239
- style: Mt({ backgroundColor: b })
34239
+ style: It({ backgroundColor: b })
34240
34240
  }, [
34241
34241
  (M(), me("svg", LX, m[7] || (m[7] = [
34242
34242
  ee("path", { d: "M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z" }, null, -1)
@@ -34452,11 +34452,11 @@ const $X = () => {
34452
34452
  te.value = oe;
34453
34453
  }
34454
34454
  function Q(oe, de, Le = !0) {
34455
- const Qe = new DOMParser().parseFromString(de, "text/html");
34455
+ const et = new DOMParser().parseFromString(de, "text/html");
34456
34456
  return oe.forEach(({ loc: Be, elementId: it, content: ae }) => {
34457
- const fe = `button.super-text[${vt.POSITION}="${Be}"]`, ve = Qe.querySelector(fe);
34457
+ const fe = `button.super-text[${vt.POSITION}="${Be}"]`, ve = et.querySelector(fe);
34458
34458
  ve && (ve.setAttribute(vt.ELEMENT_ID, it || ""), ve.setAttribute(vt.TEXT, Le ? BH(ae) : ae));
34459
- }), Qe.body.innerHTML;
34459
+ }), et.body.innerHTML;
34460
34460
  }
34461
34461
  const we = (oe) => u.value = oe, K = H(null), U = H();
34462
34462
  function B(oe) {
@@ -35330,7 +35330,7 @@ const gd = (t, e) => {
35330
35330
  if (!i || r.parent.type !== this.type || !(r.parentOffset === r.parent.nodeSize - 2))
35331
35331
  return !1;
35332
35332
  const a = r.after();
35333
- return a === void 0 ? !1 : o.nodeAt(a) ? t.commands.command(({ tr: u }) => (u.setSelection(Ze.near(o.resolve(a))), !0)) : t.commands.exitCode();
35333
+ return a === void 0 ? !1 : o.nodeAt(a) ? t.commands.command(({ tr: u }) => (u.setSelection(Qe.near(o.resolve(a))), !0)) : t.commands.exitCode();
35334
35334
  }
35335
35335
  };
35336
35336
  },
@@ -36092,7 +36092,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), de = B, oe = J), re =
36092
36092
  }
36093
36093
  Je += Ke.substring(ue), Ae.addText(Je);
36094
36094
  }
36095
- function Qe() {
36095
+ function et() {
36096
36096
  if (Ke === "") return;
36097
36097
  let ue = null;
36098
36098
  if (typeof V.subLanguage == "string") {
@@ -36107,7 +36107,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), de = B, oe = J), re =
36107
36107
  V.relevance > 0 && (gt += ue.relevance), Ae.__addSublanguage(ue._emitter, ue.language);
36108
36108
  }
36109
36109
  function Be() {
36110
- V.subLanguage != null ? Qe() : Pe(), Ke = "";
36110
+ V.subLanguage != null ? et() : Pe(), Ke = "";
36111
36111
  }
36112
36112
  function it(ue, Se) {
36113
36113
  ue !== "" && (Ae.startScope(Se), Ae.addText(ue), Ae.endScope());
@@ -36144,7 +36144,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), de = B, oe = J), re =
36144
36144
  return ve(ue.parent, Se, Je);
36145
36145
  }
36146
36146
  function ye(ue) {
36147
- return V.matcher.regexIndex === 0 ? (Ke += ue[0], 1) : (se = !0, 0);
36147
+ return V.matcher.regexIndex === 0 ? (Ke += ue[0], 1) : (ie = !0, 0);
36148
36148
  }
36149
36149
  function Oe(ue) {
36150
36150
  const Se = ue[0], Je = ue.rule, ft = new Cw(Je), Wt = [Je.__beforeBegin, Je["on:begin"]];
@@ -36205,13 +36205,13 @@ https://github.com/highlightjs/highlight.js/issues/2277`), de = B, oe = J), re =
36205
36205
  let q = "", V = oe || zt;
36206
36206
  const ge = {}, Ae = new a.__emitter(a);
36207
36207
  Me();
36208
- let Ke = "", gt = 0, nt = 0, z = 0, se = !1;
36208
+ let Ke = "", gt = 0, nt = 0, z = 0, ie = !1;
36209
36209
  try {
36210
36210
  if (Lt.__emitTokens)
36211
36211
  Lt.__emitTokens(J, Ae);
36212
36212
  else {
36213
36213
  for (V.matcher.considerAll(); ; ) {
36214
- z++, se ? se = !1 : V.matcher.considerAll(), V.matcher.lastIndex = nt;
36214
+ z++, ie ? ie = !1 : V.matcher.considerAll(), V.matcher.lastIndex = nt;
36215
36215
  const ue = V.matcher.exec(J);
36216
36216
  if (!ue) break;
36217
36217
  const Se = J.substring(nt, ue.index), Je = rt(Se, ue);
@@ -36281,8 +36281,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`), de = B, oe = J), re =
36281
36281
  return -1;
36282
36282
  }
36283
36283
  return 0;
36284
- }), [Le, Pe] = de, Qe = Le;
36285
- return Qe.secondBest = Pe, Qe;
36284
+ }), [Le, Pe] = de, et = Le;
36285
+ return et.secondBest = Pe, et;
36286
36286
  }
36287
36287
  function b(B, J, re) {
36288
36288
  const oe = J && n[J] || re;
@@ -36566,7 +36566,7 @@ const bJ = vY.extend({
36566
36566
  const r = nn(t, e);
36567
36567
  return (i, s) => (M(), $(g(CW), qt(en(g(r))), {
36568
36568
  default: N(() => [
36569
- ie(i.$slots, "default")
36569
+ se(i.$slots, "default")
36570
36570
  ]),
36571
36571
  _: 3
36572
36572
  }, 16));
@@ -36582,7 +36582,7 @@ const bJ = vY.extend({
36582
36582
  const e = t;
36583
36583
  return (n, o) => (M(), $(g(jW), qt(en(e)), {
36584
36584
  default: N(() => [
36585
- ie(n.$slots, "default")
36585
+ se(n.$slots, "default")
36586
36586
  ]),
36587
36587
  _: 3
36588
36588
  }, 16));
@@ -36700,7 +36700,7 @@ const Dp = a0("XIcon", [
36700
36700
  )
36701
36701
  }), {
36702
36702
  default: N(() => [
36703
- ie(r.$slots, "default"),
36703
+ se(r.$slots, "default"),
36704
36704
  D(g(qW), { "as-child": "" }, {
36705
36705
  default: N(() => [
36706
36706
  D(g(Rp), { class: "w-4 h-4 opacity-50 shrink-0" })
@@ -36760,7 +36760,7 @@ const Dp = a0("XIcon", [
36760
36760
  )
36761
36761
  }, {
36762
36762
  default: N(() => [
36763
- ie(s.$slots, "default")
36763
+ se(s.$slots, "default")
36764
36764
  ]),
36765
36765
  _: 3
36766
36766
  }, 8, ["class"]),
@@ -36788,7 +36788,7 @@ const Dp = a0("XIcon", [
36788
36788
  class: g(ze)("p-1 w-full", e.class)
36789
36789
  }, n.value), {
36790
36790
  default: N(() => [
36791
- ie(o.$slots, "default")
36791
+ se(o.$slots, "default")
36792
36792
  ]),
36793
36793
  _: 3
36794
36794
  }, 16, ["class"]));
@@ -36825,7 +36825,7 @@ const Dp = a0("XIcon", [
36825
36825
  ]),
36826
36826
  D(g(zW), null, {
36827
36827
  default: N(() => [
36828
- ie(r.$slots, "default")
36828
+ se(r.$slots, "default")
36829
36829
  ]),
36830
36830
  _: 3
36831
36831
  })
@@ -36849,7 +36849,7 @@ const Dp = a0("XIcon", [
36849
36849
  class: g(ze)("flex cursor-default items-center justify-center py-1", e.class)
36850
36850
  }), {
36851
36851
  default: N(() => [
36852
- ie(r.$slots, "default", {}, () => [
36852
+ se(r.$slots, "default", {}, () => [
36853
36853
  D(g(Zg), { class: "h-4 w-4" })
36854
36854
  ])
36855
36855
  ]),
@@ -36872,7 +36872,7 @@ const Dp = a0("XIcon", [
36872
36872
  class: g(ze)("flex cursor-default items-center justify-center py-1", e.class)
36873
36873
  }), {
36874
36874
  default: N(() => [
36875
- ie(r.$slots, "default", {}, () => [
36875
+ se(r.$slots, "default", {}, () => [
36876
36876
  D(g(Rp), { class: "h-4 w-4" })
36877
36877
  ])
36878
36878
  ]),
@@ -37028,7 +37028,7 @@ const Dp = a0("XIcon", [
37028
37028
  const r = nn(t, e);
37029
37029
  return (i, s) => (M(), $(g(HU), qt(en(g(r))), {
37030
37030
  default: N(() => [
37031
- ie(i.$slots, "default")
37031
+ se(i.$slots, "default")
37032
37032
  ]),
37033
37033
  _: 3
37034
37034
  }, 16));
@@ -37044,7 +37044,7 @@ const Dp = a0("XIcon", [
37044
37044
  const n = Io(t);
37045
37045
  return (o, r) => (M(), $(g(zU), ke({ class: "outline-none" }, g(n)), {
37046
37046
  default: N(() => [
37047
- ie(o.$slots, "default")
37047
+ se(o.$slots, "default")
37048
37048
  ]),
37049
37049
  _: 3
37050
37050
  }, 16));
@@ -37085,7 +37085,7 @@ const Dp = a0("XIcon", [
37085
37085
  )
37086
37086
  }), {
37087
37087
  default: N(() => [
37088
- ie(s.$slots, "default")
37088
+ se(s.$slots, "default")
37089
37089
  ]),
37090
37090
  _: 3
37091
37091
  }, 16, ["class"])
@@ -37116,7 +37116,7 @@ const Dp = a0("XIcon", [
37116
37116
  )
37117
37117
  }), {
37118
37118
  default: N(() => [
37119
- ie(r.$slots, "default")
37119
+ se(r.$slots, "default")
37120
37120
  ]),
37121
37121
  _: 3
37122
37122
  }, 16, ["class"]));
@@ -37152,7 +37152,7 @@ const Dp = a0("XIcon", [
37152
37152
  _: 1
37153
37153
  })
37154
37154
  ]),
37155
- ie(s.$slots, "default")
37155
+ se(s.$slots, "default")
37156
37156
  ]),
37157
37157
  _: 3
37158
37158
  }, 16, ["class"]));
@@ -37167,7 +37167,7 @@ const Dp = a0("XIcon", [
37167
37167
  return (n, o) => (M(), me("span", {
37168
37168
  class: He(g(ze)("ml-auto text-xs tracking-widest opacity-60", e.class))
37169
37169
  }, [
37170
- ie(n.$slots, "default")
37170
+ se(n.$slots, "default")
37171
37171
  ], 2));
37172
37172
  }
37173
37173
  }), r2 = /* @__PURE__ */ j({
@@ -37294,7 +37294,7 @@ const Dp = a0("XIcon", [
37294
37294
  side: "bottom"
37295
37295
  }, n.$attrs), {
37296
37296
  default: N(() => [
37297
- ie(n.$slots, "default")
37297
+ se(n.$slots, "default")
37298
37298
  ]),
37299
37299
  _: 3
37300
37300
  }, 16, ["class"])
@@ -37605,7 +37605,7 @@ const Dp = a0("XIcon", [
37605
37605
  default: N(() => [
37606
37606
  D(g(rW), { class: "h-full w-full rounded-[inherit]" }, {
37607
37607
  default: N(() => [
37608
- ie(o.$slots, "default")
37608
+ se(o.$slots, "default")
37609
37609
  ]),
37610
37610
  _: 3
37611
37611
  }),
@@ -37628,7 +37628,7 @@ const Dp = a0("XIcon", [
37628
37628
  customClass: { default: "" }
37629
37629
  },
37630
37630
  setup(t) {
37631
- const e = t, { t: n } = Jt(), o = X(() => e.editor.extensionStorage["base-kit"].mode === et.EDITOR), r = Yt("fontSize"), i = X(() => {
37631
+ const e = t, { t: n } = Jt(), o = X(() => e.editor.extensionStorage["base-kit"].mode === Ze.EDITOR), r = Yt("fontSize"), i = X(() => {
37632
37632
  const l = {
37633
37633
  title: n("editor.fontSize.default.tooltip"),
37634
37634
  isActive: () => !1
@@ -38149,7 +38149,7 @@ const Dp = a0("XIcon", [
38149
38149
  side: "bottom"
38150
38150
  }, n.$attrs), {
38151
38151
  default: N(() => [
38152
- ie(n.$slots, "default")
38152
+ se(n.$slots, "default")
38153
38153
  ]),
38154
38154
  _: 3
38155
38155
  }, 16, ["class"])
@@ -38204,7 +38204,7 @@ const Dp = a0("XIcon", [
38204
38204
  class: He([[r.value === l.value ? "bg-ed-accent border border-ed-accent-foreground" : ""], "h-[48px] flex flex-col w-[48px] box-border rounded-sm border"])
38205
38205
  }, [
38206
38206
  ee("ol", {
38207
- style: Mt({ listStyleType: l.value, lineHeight: 1 }),
38207
+ style: It({ listStyleType: l.value, lineHeight: 1 }),
38208
38208
  class: "text-[10px] pl-3 flex-1 list-outside flex flex-col items-center justify-center"
38209
38209
  }, [
38210
38210
  (M(), me(tt, null, Ut(3, (u) => ee("li", { key: u }, a[0] || (a[0] = [
@@ -38411,7 +38411,7 @@ const Dp = a0("XIcon", [
38411
38411
  class: He([[r.value === l.value ? "bg-ed-accent border border-ed-accent-foreground" : ""], "h-[72px] flex flex-col w-[72px] box-border rounded-sm border"])
38412
38412
  }, [
38413
38413
  ee("ol", {
38414
- style: Mt({ listStyleType: l.value, lineHeight: 1 }),
38414
+ style: It({ listStyleType: l.value, lineHeight: 1 }),
38415
38415
  class: "text-[12px] pl-3 flex-1 list-outside flex flex-col items-center justify-center"
38416
38416
  }, [
38417
38417
  (M(), me(tt, null, Ut(3, (u) => ee("li", { key: u }, a[0] || (a[0] = [
@@ -40554,7 +40554,7 @@ const fQ = mt.create({
40554
40554
  ];
40555
40555
  }
40556
40556
  });
40557
- class On extends Ze {
40557
+ class On extends Qe {
40558
40558
  /**
40559
40559
  Create a gap cursor.
40560
40560
  */
@@ -40563,7 +40563,7 @@ class On extends Ze {
40563
40563
  }
40564
40564
  map(e, n) {
40565
40565
  let o = e.resolve(n.map(this.head));
40566
- return On.valid(o) ? new On(o) : Ze.near(o);
40566
+ return On.valid(o) ? new On(o) : Qe.near(o);
40567
40567
  }
40568
40568
  content() {
40569
40569
  return Re.empty;
@@ -40641,7 +40641,7 @@ class On extends Ze {
40641
40641
  }
40642
40642
  On.prototype.visible = !1;
40643
40643
  On.findFrom = On.findGapCursorFrom;
40644
- Ze.jsonID("gapcursor", On);
40644
+ Qe.jsonID("gapcursor", On);
40645
40645
  class b2 {
40646
40646
  constructor(e) {
40647
40647
  this.pos = e;
@@ -40651,7 +40651,7 @@ class b2 {
40651
40651
  }
40652
40652
  resolve(e) {
40653
40653
  let n = e.resolve(this.pos);
40654
- return On.valid(n) ? new On(n) : Ze.near(n);
40654
+ return On.valid(n) ? new On(n) : Qe.near(n);
40655
40655
  }
40656
40656
  }
40657
40657
  function hQ(t) {
@@ -42402,7 +42402,7 @@ const c0 = "paragraph", _r = "page", wT = "Extend", Eu = "Node", mee = Eu + wT,
42402
42402
  const r = nn(t, e);
42403
42403
  return (i, s) => (M(), $(g(RU), qt(en(g(r))), {
42404
42404
  default: N(() => [
42405
- ie(i.$slots, "default")
42405
+ se(i.$slots, "default")
42406
42406
  ]),
42407
42407
  _: 3
42408
42408
  }, 16));
@@ -42438,7 +42438,7 @@ const c0 = "paragraph", _r = "page", wT = "Extend", Eu = "Node", mee = Eu + wT,
42438
42438
  )
42439
42439
  }), {
42440
42440
  default: N(() => [
42441
- ie(s.$slots, "default")
42441
+ se(s.$slots, "default")
42442
42442
  ]),
42443
42443
  _: 3
42444
42444
  }, 16, ["class"])
@@ -42470,7 +42470,7 @@ const c0 = "paragraph", _r = "page", wT = "Extend", Eu = "Node", mee = Eu + wT,
42470
42470
  )
42471
42471
  }), {
42472
42472
  default: N(() => [
42473
- ie(s.$slots, "default")
42473
+ se(s.$slots, "default")
42474
42474
  ]),
42475
42475
  _: 3
42476
42476
  }, 16, ["class"]));
@@ -42486,7 +42486,7 @@ const c0 = "paragraph", _r = "page", wT = "Extend", Eu = "Node", mee = Eu + wT,
42486
42486
  const n = Io(t);
42487
42487
  return (o, r) => (M(), $(g(DU), qt(en(g(n))), {
42488
42488
  default: N(() => [
42489
- ie(o.$slots, "default")
42489
+ se(o.$slots, "default")
42490
42490
  ]),
42491
42491
  _: 3
42492
42492
  }, 16));
@@ -42503,7 +42503,7 @@ const c0 = "paragraph", _r = "page", wT = "Extend", Eu = "Node", mee = Eu + wT,
42503
42503
  const r = nn(t, e);
42504
42504
  return (i, s) => (M(), $(g(SV), qt(en(g(r))), {
42505
42505
  default: N(() => [
42506
- ie(i.$slots, "default")
42506
+ se(i.$slots, "default")
42507
42507
  ]),
42508
42508
  _: 3
42509
42509
  }, 16));
@@ -42542,7 +42542,7 @@ const c0 = "paragraph", _r = "page", wT = "Extend", Eu = "Node", mee = Eu + wT,
42542
42542
  )
42543
42543
  }), {
42544
42544
  default: N(() => [
42545
- ie(s.$slots, "default")
42545
+ se(s.$slots, "default")
42546
42546
  ]),
42547
42547
  _: 3
42548
42548
  }, 16, ["class"])
@@ -42560,7 +42560,7 @@ const c0 = "paragraph", _r = "page", wT = "Extend", Eu = "Node", mee = Eu + wT,
42560
42560
  return (n, o) => (M(), me("div", {
42561
42561
  class: He(g(ze)("flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2", e.class))
42562
42562
  }, [
42563
- ie(n.$slots, "default")
42563
+ se(n.$slots, "default")
42564
42564
  ], 2));
42565
42565
  }
42566
42566
  }), P2 = /* @__PURE__ */ j({
@@ -42573,7 +42573,7 @@ const c0 = "paragraph", _r = "page", wT = "Extend", Eu = "Node", mee = Eu + wT,
42573
42573
  return (n, o) => (M(), me("div", {
42574
42574
  class: He(g(ze)("flex flex-col gap-y-1.5 text-center sm:text-left", e.class))
42575
42575
  }, [
42576
- ie(n.$slots, "default")
42576
+ se(n.$slots, "default")
42577
42577
  ], 2));
42578
42578
  }
42579
42579
  }), B2 = /* @__PURE__ */ j({
@@ -42586,7 +42586,7 @@ const c0 = "paragraph", _r = "page", wT = "Extend", Eu = "Node", mee = Eu + wT,
42586
42586
  const e = t;
42587
42587
  return (n, o) => (M(), $(g(XV), qt(en(e)), {
42588
42588
  default: N(() => [
42589
- ie(n.$slots, "default")
42589
+ se(n.$slots, "default")
42590
42590
  ]),
42591
42591
  _: 3
42592
42592
  }, 16));
@@ -42607,7 +42607,7 @@ const c0 = "paragraph", _r = "page", wT = "Extend", Eu = "Node", mee = Eu + wT,
42607
42607
  class: g(ze)("text-lg font-semibold leading-none tracking-tight", e.class)
42608
42608
  }), {
42609
42609
  default: N(() => [
42610
- ie(r.$slots, "default")
42610
+ se(r.$slots, "default")
42611
42611
  ]),
42612
42612
  _: 3
42613
42613
  }, 16, ["class"]));
@@ -42632,7 +42632,7 @@ const c0 = "paragraph", _r = "page", wT = "Extend", Eu = "Node", mee = Eu + wT,
42632
42632
  () => i.open,
42633
42633
  async (b) => {
42634
42634
  if (b) {
42635
- await Nt();
42635
+ await Mt();
42636
42636
  const y = document.querySelector(".draggable-dialog");
42637
42637
  if (y) {
42638
42638
  const { width: w, height: x } = y.getBoundingClientRect(), E = window.innerWidth, _ = window.innerHeight;
@@ -42658,7 +42658,7 @@ const c0 = "paragraph", _r = "page", wT = "Extend", Eu = "Node", mee = Eu + wT,
42658
42658
  default: N(() => [
42659
42659
  ee("div", {
42660
42660
  class: "draggable-dialog fixed z-[70] pointer-events-auto",
42661
- style: Mt({
42661
+ style: It({
42662
42662
  transform: `translate(${g(a).x}px, ${g(a).y}px)`,
42663
42663
  top: "0px",
42664
42664
  left: "0px"
@@ -42746,7 +42746,7 @@ const c0 = "paragraph", _r = "page", wT = "Extend", Eu = "Node", mee = Eu + wT,
42746
42746
  default: N(() => [
42747
42747
  D(g(nU), { class: "flex h-full w-full items-center justify-center" }, {
42748
42748
  default: N(() => [
42749
- ie(s.$slots, "default", {}, () => [
42749
+ se(s.$slots, "default", {}, () => [
42750
42750
  D(g(Yv), { icon: "fa-solid:check" })
42751
42751
  ])
42752
42752
  ]),
@@ -42871,7 +42871,7 @@ const c0 = "paragraph", _r = "page", wT = "Extend", Eu = "Node", mee = Eu + wT,
42871
42871
  return e({ insertSpecialCharater: h, isChecked: l, toggleSpellCheck: m, wrapText: C }), (k, F) => (M(), me("div", {
42872
42872
  ref_key: "contentInner",
42873
42873
  ref: b,
42874
- style: Mt(g(x)),
42874
+ style: It(g(x)),
42875
42875
  onScroll: F[0] || (F[0] = //@ts-ignore
42876
42876
  (...P) => g(A) && g(A)(...P)),
42877
42877
  class: He(
@@ -42915,7 +42915,7 @@ const c0 = "paragraph", _r = "page", wT = "Extend", Eu = "Node", mee = Eu + wT,
42915
42915
  () => o.open,
42916
42916
  async (Q) => {
42917
42917
  if (Q) {
42918
- m.value = !1, o.superTextInit && (i.value = o.superTextInit, o.superTextElementId && (s.value = o.superTextElementId)), await Nt();
42918
+ m.value = !1, o.superTextInit && (i.value = o.superTextInit, o.superTextElementId && (s.value = o.superTextElementId)), await Mt();
42919
42919
  const we = document.querySelector(".draggable-dialog");
42920
42920
  if (we) {
42921
42921
  const { width: K, height: U } = we.getBoundingClientRect(), B = window.innerHeight;
@@ -42966,11 +42966,11 @@ const c0 = "paragraph", _r = "page", wT = "Extend", Eu = "Node", mee = Eu + wT,
42966
42966
  "as-child": ""
42967
42967
  }, {
42968
42968
  default: N(() => {
42969
- var Le, Pe, Qe;
42969
+ var Le, Pe, et;
42970
42970
  return [
42971
42971
  ee("div", {
42972
42972
  class: "draggable-dialog fixed z-[70] pointer-events-auto",
42973
- style: Mt({
42973
+ style: It({
42974
42974
  transform: `translate(${u.x}px, ${u.y}px)`,
42975
42975
  top: "0px",
42976
42976
  left: "auto",
@@ -43040,7 +43040,7 @@ const c0 = "paragraph", _r = "page", wT = "Extend", Eu = "Node", mee = Eu + wT,
43040
43040
  l.value ? (M(), $(Un((Le = g(C)) == null ? void 0 : Le.component), {
43041
43041
  key: 0,
43042
43042
  "custom-class": "!z-[70] !pointer-events-auto",
43043
- class: He((Qe = (Pe = g(C)) == null ? void 0 : Pe.componentProps) == null ? void 0 : Qe.class),
43043
+ class: He((et = (Pe = g(C)) == null ? void 0 : Pe.componentProps) == null ? void 0 : et.class),
43044
43044
  onSelectedChar: F,
43045
43045
  onClose: we[1] || (we[1] = (Be) => l.value = !1)
43046
43046
  }, null, 40, ["class"])) : _e("", !0)
@@ -43123,7 +43123,7 @@ const c0 = "paragraph", _r = "page", wT = "Extend", Eu = "Node", mee = Eu + wT,
43123
43123
  disableSuperInput: { type: Boolean }
43124
43124
  },
43125
43125
  setup(t, { expose: e }) {
43126
- const n = t, { t: o } = Jt(), r = H(!1), i = cr({ from: 0, to: 0, text: "" }), s = Yt("isEditable", H(!0)), a = Yt("canEditSuper", H(!0)), l = X(() => n.mode === et.EDITOR || n.mode === et.PLAIN_TEXT || !a.value || n.disableSuperInput);
43126
+ const n = t, { t: o } = Jt(), r = H(!1), i = cr({ from: 0, to: 0, text: "" }), s = Yt("isEditable", H(!0)), a = Yt("canEditSuper", H(!0)), l = X(() => n.mode === Ze.EDITOR || n.mode === Ze.PLAIN_TEXT || !a.value || n.disableSuperInput);
43127
43127
  function u() {
43128
43128
  if (!n.editor) return "";
43129
43129
  const { from: E, to: _ } = n.editor.state.selection, C = n.editor.state.doc.cut(E, _), A = ei.fromSchema(n.editor.schema).serializeFragment(C.content), k = document.createElement("div");
@@ -43172,7 +43172,7 @@ const c0 = "paragraph", _r = "page", wT = "Extend", Eu = "Node", mee = Eu + wT,
43172
43172
  onDblclick: En(x, ["prevent", "stop"])
43173
43173
  }, {
43174
43174
  default: N(() => [
43175
- ie(E.$slots, "default")
43175
+ se(E.$slots, "default")
43176
43176
  ]),
43177
43177
  _: 3
43178
43178
  }, 8, ["disabled"]),
@@ -43242,7 +43242,7 @@ const ute = {
43242
43242
  __name: "PageNode",
43243
43243
  props: Xa,
43244
43244
  setup(t) {
43245
- const { state: e, page: n, superTextStore: o } = ao(), { size: r, pagination: i, margin: s } = n.value, a = H(null), l = H(t.node.attrs.viewSuperTextArea), u = X(() => l.value && t.editor.storage.page.mode !== "editor"), d = X(() => t.editor.storage.page.mode === et.REPORT), { width: f, height: h } = r, m = X(() => i ? `calc(${h} - ${(s == null ? void 0 : s.top) ?? 0} - ${(s == null ? void 0 : s.bottom) ?? 0}` : "max-content"), b = ko(qo.SUPER_VIEW_PAGE);
43245
+ const { state: e, page: n, superTextStore: o } = ao(), { size: r, pagination: i, margin: s } = n.value, a = H(null), l = H(t.node.attrs.viewSuperTextArea), u = X(() => l.value && t.editor.storage.page.mode !== "editor"), d = X(() => t.editor.storage.page.mode === Ze.REPORT), { width: f, height: h } = r, m = X(() => i ? `calc(${h} - ${(s == null ? void 0 : s.top) ?? 0} - ${(s == null ? void 0 : s.bottom) ?? 0}` : "max-content"), b = ko(qo.SUPER_VIEW_PAGE);
43246
43246
  return De(
43247
43247
  () => t.node.attrs,
43248
43248
  (y) => {
@@ -43260,7 +43260,7 @@ const ute = {
43260
43260
  ref: a,
43261
43261
  "page-number": y.node.attrs.pageNumber,
43262
43262
  class: "overflow-hidden umo-page-node-view w-full border rounded-[3px] border-[#999999]",
43263
- style: Mt({
43263
+ style: It({
43264
43264
  // '--umo-page-ed-background': background,
43265
43265
  "--umo-page-margin-top": ((E = g(s)) == null ? void 0 : E.top) ?? "0",
43266
43266
  "--umo-page-margin-bottom": ((_ = g(s)) == null ? void 0 : _.bottom) ?? "0",
@@ -43278,14 +43278,14 @@ const ute = {
43278
43278
  default: N(() => [
43279
43279
  ee("div", ute, [
43280
43280
  D(x, {
43281
- mode: u.value ? g(et).REPORT : g(et).EDITOR,
43281
+ mode: u.value ? g(Ze).REPORT : g(Ze).EDITOR,
43282
43282
  editor: y.editor,
43283
43283
  "super-text-store": g(o)
43284
43284
  }, {
43285
43285
  default: N(() => [
43286
43286
  D(g(gE), {
43287
43287
  class: "umo-page-node-content",
43288
- style: Mt({
43288
+ style: It({
43289
43289
  height: m.value
43290
43290
  })
43291
43291
  }, null, 8, ["style"])
@@ -43499,7 +43499,7 @@ const fte = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: o, edi
43499
43499
  Backspace: () => this.editor.commands.first(({ commands: o }) => [
43500
43500
  () => o.undoInputRule(),
43501
43501
  () => o.command(({ tr: r }) => {
43502
- const { selection: i, doc: s } = r, { empty: a, $anchor: l } = i, { pos: u, parent: d } = l, f = Ze.atStart(s).from === u;
43502
+ const { selection: i, doc: s } = r, { empty: a, $anchor: l } = i, { pos: u, parent: d } = l, f = Qe.atStart(s).from === u;
43503
43503
  return !a || !f || !d.type.isTextblock || d.textContent.length ? !1 : o.clearNodes();
43504
43504
  }),
43505
43505
  () => ox(o),
@@ -43508,17 +43508,17 @@ const fte = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: o, edi
43508
43508
  () => o.command(({ editor: r, tr: i }) => {
43509
43509
  const { selection: s, doc: a } = i, { $anchor: l } = s, { pos: u } = l;
43510
43510
  if (a.childCount === 1) return !1;
43511
- if (Ze.atEnd(a).from === u && !l.parentOffset)
43511
+ if (Qe.atEnd(a).from === u && !l.parentOffset)
43512
43512
  return o.deleteNode(_r);
43513
43513
  const d = Ki((f) => f.type.name === _r)(s);
43514
43514
  if (d) {
43515
43515
  if (!d.node.firstChild)
43516
43516
  return o.deleteNode(_r);
43517
43517
  const f = d.node.firstChild.type;
43518
- if (d.start + Ze.atStart(d.node).from === u) {
43518
+ if (d.start + Qe.atStart(d.node).from === u) {
43519
43519
  const m = Ve.create(a, d.start - 2, d.start - 2), b = Ki((y) => y.type.name === _r)(m);
43520
43520
  if (b) {
43521
- const y = Ze.atEnd(b.node).from + b.start, w = Ve.create(a, y, y);
43521
+ const y = Qe.atEnd(b.node).from + b.start, w = Ve.create(a, y, y);
43522
43522
  if (f === b.node.lastChild.type) {
43523
43523
  const { parent: x } = w.$anchor;
43524
43524
  return dee(x, r.schema) ? i.setSelection(w) : i.step(new $n(y, u, Re.empty)), !0;
@@ -43535,19 +43535,19 @@ const fte = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: o, edi
43535
43535
  () => ox(o),
43536
43536
  () => o.command(({ tr: r }) => {
43537
43537
  const { selection: i, doc: s } = r, { $anchor: a } = i, l = a.node(), u = Ki((d) => d.type.name === Eu)(i);
43538
- return u && u.start + Ze.atStart(u.node).from === a.pos && u.node.childCount === 1 && l.content.size === 0 ? !0 : o.joinForward();
43538
+ return u && u.start + Qe.atStart(u.node).from === a.pos && u.node.childCount === 1 && l.content.size === 0 ? !0 : o.joinForward();
43539
43539
  }),
43540
43540
  () => o.selectNodeForward(),
43541
43541
  () => o.command(({ tr: r }) => {
43542
43542
  const { selection: i, doc: s } = r, { $anchor: a } = i, { pos: l } = a;
43543
43543
  if (s.childCount === 1) return !1;
43544
- if (Ze.atEnd(s).from === l)
43544
+ if (Qe.atEnd(s).from === l)
43545
43545
  return o.deleteNode(_r);
43546
43546
  const u = Ki((d) => d.type.name === _r)(i);
43547
- if (u && u.start + Ze.atEnd(u.node).from === l) {
43547
+ if (u && u.start + Qe.atEnd(u.node).from === l) {
43548
43548
  const f = Ve.create(s, l + 2, l + 2), h = Ki((m) => m.type.name === _r)(f);
43549
43549
  if (h) {
43550
- const m = Ze.atStart(h.node).from + h.start, b = Ve.create(s, m, m);
43550
+ const m = Qe.atStart(h.node).from + h.start, b = Ve.create(s, m, m);
43551
43551
  if (Ki((w) => w.attrs.extend)(b))
43552
43552
  return r.step(new $n(l, m, Re.empty)), !0;
43553
43553
  }
@@ -43636,7 +43636,7 @@ const ox = (t) => t.command(({ tr: e }) => {
43636
43636
  customClass: { default: "" }
43637
43637
  },
43638
43638
  setup(t) {
43639
- const e = t, n = X(() => e.editor.extensionStorage["base-kit"].mode === et.EDITOR), { t: o } = Jt(), r = [
43639
+ const e = t, n = X(() => e.editor.extensionStorage["base-kit"].mode === Ze.EDITOR), { t: o } = Jt(), r = [
43640
43640
  {
43641
43641
  label: o("editor.fontFamily.gulim"),
43642
43642
  value: "Gulim"
@@ -43688,7 +43688,7 @@ const ox = (t) => t.command(({ tr: e }) => {
43688
43688
  ee("span", {
43689
43689
  class: "ml-1 h-full",
43690
43690
  "data-font": m.label,
43691
- style: Mt({ fontFamily: m.value ?? void 0 })
43691
+ style: It({ fontFamily: m.value ?? void 0 })
43692
43692
  }, Ie(m.label), 13, bte)
43693
43693
  ]),
43694
43694
  _: 2
@@ -44196,7 +44196,7 @@ const ox = (t) => t.command(({ tr: e }) => {
44196
44196
  default: N(() => [
44197
44197
  ee("div", {
44198
44198
  class: "image-view",
44199
- style: Mt([{ width: a.value.style.width, height: a.value.style.height }, E.value])
44199
+ style: It([{ width: a.value.style.width, height: a.value.style.height }, E.value])
44200
44200
  }, [
44201
44201
  ee("div", {
44202
44202
  draggable: "true",
@@ -44212,7 +44212,7 @@ const ox = (t) => t.command(({ tr: e }) => {
44212
44212
  src: a.value.src,
44213
44213
  alt: a.value.alt,
44214
44214
  class: "block w-full image-view__body__image",
44215
- style: Mt([{ transform: a.value.style.transform }]),
44215
+ style: It([{ transform: a.value.style.transform }]),
44216
44216
  onClick: d
44217
44217
  }, null, 12, Ate),
44218
44218
  _.editor.view.editable ? To((M(), me("div", Ote, [
@@ -44729,7 +44729,7 @@ const Vte = ["innerHTML"], Ute = ["book-mark-node-id", "book-mark-content", "nod
44729
44729
  )
44730
44730
  ),
44731
44731
  "data-drag-handle": "",
44732
- draggable: g(d),
44732
+ draggable: g(d) || !x.value,
44733
44733
  onPointerdown: C[2] || (C[2] = En(() => {
44734
44734
  }, ["stop"])),
44735
44735
  onTouchstartPassive: g(i),
@@ -45006,7 +45006,7 @@ const Vte = ["innerHTML"], Ute = ["book-mark-node-id", "book-mark-content", "nod
45006
45006
  class: g(ze)("text-sm text-ed-muted-foreground", e.class)
45007
45007
  }), {
45008
45008
  default: N(() => [
45009
- ie(r.$slots, "default")
45009
+ se(r.$slots, "default")
45010
45010
  ]),
45011
45011
  _: 3
45012
45012
  }, 16, ["class"]));
@@ -45642,7 +45642,7 @@ function une(t, e, n) {
45642
45642
  return !1;
45643
45643
  return !0;
45644
45644
  }
45645
- var un = class Ui extends Ze {
45645
+ var un = class Ui extends Qe {
45646
45646
  // A table selection is identified by its anchor and head cells. The
45647
45647
  // positions given to this constructor should point _before_ two
45648
45648
  // cells in the same table. They may be the same, to select a single
@@ -45729,7 +45729,7 @@ var un = class Ui extends Ze {
45729
45729
  s ? Re.empty : n
45730
45730
  );
45731
45731
  }
45732
- const i = Ze.findFrom(
45732
+ const i = Qe.findFrom(
45733
45733
  e.doc.resolve(e.mapping.slice(o).map(this.to)),
45734
45734
  -1
45735
45735
  );
@@ -45807,7 +45807,7 @@ var un = class Ui extends Ze {
45807
45807
  }
45808
45808
  };
45809
45809
  un.prototype.visible = !1;
45810
- Ze.jsonID("cell", un);
45810
+ Qe.jsonID("cell", un);
45811
45811
  var cne = class IT {
45812
45812
  constructor(e, n) {
45813
45813
  this.anchor = e, this.head = n;
@@ -45817,7 +45817,7 @@ var cne = class IT {
45817
45817
  }
45818
45818
  resolve(e) {
45819
45819
  const n = e.resolve(this.anchor), o = e.resolve(this.head);
45820
- return n.parent.type.spec.tableRole == "row" && o.parent.type.spec.tableRole == "row" && n.index() < n.parent.childCount && o.index() < o.parent.childCount && W2(n, o) ? new un(n, o) : Ze.near(o, 1);
45820
+ return n.parent.type.spec.tableRole == "row" && o.parent.type.spec.tableRole == "row" && n.index() < n.parent.childCount && o.index() < o.parent.childCount && W2(n, o) ? new un(n, o) : Qe.near(o, 1);
45821
45821
  }
45822
45822
  };
45823
45823
  function dne(t) {
@@ -46607,7 +46607,7 @@ function Ff(t, e) {
46607
46607
  return tp(
46608
46608
  n,
46609
46609
  o,
46610
- Ze.near(i.$headCell, e)
46610
+ Qe.near(i.$headCell, e)
46611
46611
  );
46612
46612
  if (t != "horiz" && !i.empty) return !1;
46613
46613
  const s = BT(r, t, e);
@@ -46616,12 +46616,12 @@ function Ff(t, e) {
46616
46616
  return tp(
46617
46617
  n,
46618
46618
  o,
46619
- Ze.near(n.doc.resolve(i.head + e), e)
46619
+ Qe.near(n.doc.resolve(i.head + e), e)
46620
46620
  );
46621
46621
  {
46622
46622
  const a = n.doc.resolve(s), l = MT(a, t, e);
46623
46623
  let u;
46624
- return l ? u = Ze.near(l, 1) : e < 0 ? u = Ze.near(n.doc.resolve(a.before(-1)), -1) : u = Ze.near(n.doc.resolve(a.after(-1)), 1), tp(n, o, u);
46624
+ return l ? u = Qe.near(l, 1) : e < 0 ? u = Qe.near(n.doc.resolve(a.before(-1)), -1) : u = Qe.near(n.doc.resolve(a.after(-1)), 1), tp(n, o, u);
46625
46625
  }
46626
46626
  };
46627
46627
  }
@@ -47427,7 +47427,7 @@ const Hf = ({ editor: t }) => {
47427
47427
  disabled: t.disabled,
47428
47428
  class: "m-0 p-0"
47429
47429
  }, [
47430
- ie(d.$slots, "trigger")
47430
+ se(d.$slots, "trigger")
47431
47431
  ], 8, doe)
47432
47432
  ]),
47433
47433
  _: 3
@@ -47965,7 +47965,7 @@ const Ioe = mt.create({
47965
47965
  )
47966
47966
  }, n.value), {
47967
47967
  default: N(() => [
47968
- ie(o.$slots, "default")
47968
+ se(o.$slots, "default")
47969
47969
  ]),
47970
47970
  _: 3
47971
47971
  }, 16, ["class"]));
@@ -48731,7 +48731,7 @@ const rre = {
48731
48731
  width: 2,
48732
48732
  class: "ProseMirror-dropcursor border-black"
48733
48733
  })
48734
- ), this.options.characterCount !== !1 && e.push(uQ.configure(this.options.characterCount)), this.options.paragraph !== !1 && e.push(oT.configure(this.options.paragraph)), this.options.hardBreak !== !1 && e.push(nT.configure(this.options.hardBreak)), this.options.listItem !== !1 && e.push(CQ.configure(this.options.listItem)), this.options.textStyle !== !1 && e.push(qJ.configure(this.options.textStyle)), this.options.imageUpload !== !1 && e.push(VT.configure(this.options.imageUpload)), this.options.video !== !1 && e.push(HT.configure(this.options.video)), this.options.videoUpload !== !1 && e.push($T.configure(this.options.videoUpload)), this.options.history !== !1 && e.push(g2.configure(this.options.history)), this.options.fontSize !== !1 && e.push(FS.configure(this.options.fontSize)), this.options.fontFamily !== !1 && e.push(TT.configure(this.options.fontFamily)), this.options.mode !== et.EDITOR && e.push(Ete), this.options.superText !== !1 && this.options.mode !== et.PLAIN_TEXT && (typeof this.options.superText == "boolean" ? e.push(ax.configure()) : e.push(ax.configure(this.options.superText))), this.options.mode === et.EDITOR && (this.options.image !== !1 && e.push(V2.configure()), e.push(
48734
+ ), this.options.characterCount !== !1 && e.push(uQ.configure(this.options.characterCount)), this.options.paragraph !== !1 && e.push(oT.configure(this.options.paragraph)), this.options.hardBreak !== !1 && e.push(nT.configure(this.options.hardBreak)), this.options.listItem !== !1 && e.push(CQ.configure(this.options.listItem)), this.options.textStyle !== !1 && e.push(qJ.configure(this.options.textStyle)), this.options.imageUpload !== !1 && e.push(VT.configure(this.options.imageUpload)), this.options.video !== !1 && e.push(HT.configure(this.options.video)), this.options.videoUpload !== !1 && e.push($T.configure(this.options.videoUpload)), this.options.history !== !1 && e.push(g2.configure(this.options.history)), this.options.fontSize !== !1 && e.push(FS.configure(this.options.fontSize)), this.options.fontFamily !== !1 && e.push(TT.configure(this.options.fontFamily)), this.options.mode !== Ze.EDITOR && e.push(Ete), this.options.superText !== !1 && this.options.mode !== Ze.PLAIN_TEXT && (typeof this.options.superText == "boolean" ? e.push(ax.configure()) : e.push(ax.configure(this.options.superText))), this.options.mode === Ze.EDITOR && (this.options.image !== !1 && e.push(V2.configure()), e.push(
48735
48735
  PS.configure({ spacer: !0 }),
48736
48736
  gS,
48737
48737
  mS,
@@ -48742,11 +48742,11 @@ const rre = {
48742
48742
  $S.configure({ spacer: !0 }),
48743
48743
  BS.configure({ types: ["heading", "paragraph"], spacer: !0 }),
48744
48744
  kT
48745
- )), this.options.mode !== et.EDITOR && this.options.configPlan !== !1 && this.options.mode !== et.PLAIN_TEXT && (typeof this.options.configPlan == "boolean" ? e.push(lx.configure()) : e.push(
48745
+ )), this.options.mode !== Ze.EDITOR && this.options.configPlan !== !1 && this.options.mode !== Ze.PLAIN_TEXT && (typeof this.options.configPlan == "boolean" ? e.push(lx.configure()) : e.push(
48746
48746
  lx.configure({
48747
48747
  specialCharModal: (r = this.options.configPlan) == null ? void 0 : r.specialCharModal
48748
48748
  })
48749
- )), this.options.mode !== et.EDITOR && this.options.mode !== et.PLAIN_TEXT && e.push(Ste), (this.options.mode === et.STRAIGHT || this.options.mode === et.REPORT || this.options.mode === et.EDITOR) && this.options.timeHighlighter && e.push(Soe.configure(this.options.timeHighlighter)), this.options.invalidCharFocus !== !1 && e.push(Toe.configure(this.options.invalidCharFocus)), this.options.disabled && e.push(sre), e.push(
48749
+ )), this.options.mode !== Ze.EDITOR && this.options.mode !== Ze.PLAIN_TEXT && e.push(Ste), (this.options.mode === Ze.STRAIGHT || this.options.mode === Ze.REPORT || this.options.mode === Ze.EDITOR) && this.options.timeHighlighter && e.push(Soe.configure(this.options.timeHighlighter)), this.options.invalidCharFocus !== !1 && e.push(Toe.configure(this.options.invalidCharFocus)), this.options.disabled && e.push(sre), e.push(
48750
48750
  EQ,
48751
48751
  iT.configure(),
48752
48752
  xoe.configure(),
@@ -49458,7 +49458,7 @@ const Tre = {
49458
49458
  const n = H(0), o = H(0), r = H(null), { t: i } = Jt(), s = H([]), a = t;
49459
49459
  e({ onKeyDown: l }), De([() => n.value, () => o.value], async () => {
49460
49460
  if (!r.value) return;
49461
- await Nt();
49461
+ await Mt();
49462
49462
  const y = o.value * 1e3 + n.value, w = s.value[y];
49463
49463
  w && w.scrollIntoView({
49464
49464
  behavior: "smooth",
@@ -52924,7 +52924,7 @@ const Mse = { class: "flex items-center h-[32px] hover:bg-ed-muted rounded-md" }
52924
52924
  ref_key: "editFormRef",
52925
52925
  ref: o,
52926
52926
  class: "fixed z-50",
52927
- style: Mt(a.value)
52927
+ style: It(a.value)
52928
52928
  }, [
52929
52929
  D(JS, {
52930
52930
  class: "p-4",
@@ -52957,7 +52957,7 @@ const Mse = { class: "flex items-center h-[32px] hover:bg-ed-muted rounded-md" }
52957
52957
  return (n, o) => (M(), me("div", {
52958
52958
  class: He(g(ze)(g(Use)({ variant: e.variant }), e.class))
52959
52959
  }, [
52960
- ie(n.$slots, "default")
52960
+ se(n.$slots, "default")
52961
52961
  ], 2));
52962
52962
  }
52963
52963
  }), Use = qv(
@@ -53039,7 +53039,7 @@ const Mse = { class: "flex items-center h-[32px] hover:bg-ed-muted rounded-md" }
53039
53039
  P > F && (F = P);
53040
53040
  i.value = F;
53041
53041
  }, b = async () => {
53042
- await Nt();
53042
+ await Mt();
53043
53043
  const A = u().map((k) => {
53044
53044
  const F = k.getAttribute("node-id"), P = k.getAttribute("book-mark-content"), L = k.getAttribute("page-id"), te = k.getAttribute("page-number"), Y = k.getBoundingClientRect(), Q = k.getAttribute("line-id"), we = k.getAttribute("element-id");
53045
53045
  return {
@@ -53078,7 +53078,7 @@ const Mse = { class: "flex items-center h-[32px] hover:bg-ed-muted rounded-md" }
53078
53078
  }), m();
53079
53079
  }
53080
53080
  const x = async (T) => {
53081
- await Nt();
53081
+ await Mt();
53082
53082
  const A = t == null ? void 0 : t.view.dom.querySelector(`[node-id='${T.dataId}']`), k = r.value.find((L) => {
53083
53083
  const te = L.getBoundingClientRect().top, Y = A == null ? void 0 : A.getBoundingClientRect().top;
53084
53084
  if (Y == null) return !1;
@@ -53133,7 +53133,7 @@ const Mse = { class: "flex items-center h-[32px] hover:bg-ed-muted rounded-md" }
53133
53133
  }), De(
53134
53134
  () => n,
53135
53135
  async () => {
53136
- await Nt(), w();
53136
+ await Mt(), w();
53137
53137
  },
53138
53138
  {
53139
53139
  deep: !0
@@ -53182,7 +53182,7 @@ const Mse = { class: "flex items-center h-[32px] hover:bg-ed-muted rounded-md" }
53182
53182
  id: "super-text-view-wrapper",
53183
53183
  ref_key: "contentInner",
53184
53184
  ref: x,
53185
- style: Mt({ width: `${Number(g(E)) + 25}px`, minHeight: `${g(m)}px` }),
53185
+ style: It({ width: `${Number(g(E)) + 25}px`, minHeight: `${g(m)}px` }),
53186
53186
  class: He(
53187
53187
  g(ze)(
53188
53188
  "relative border border-ed-gray-400 dark:bg-black rounded-[3px] mr-2.5",
@@ -53201,7 +53201,7 @@ const Mse = { class: "flex items-center h-[32px] hover:bg-ed-muted rounded-md" }
53201
53201
  "book-mark-id": k.id,
53202
53202
  "line-id": k.lineId,
53203
53203
  class: He(g(ze)("super-text-view", "absolute w-full px-2 translate-y-[-10px] group", {})),
53204
- style: Mt({ top: `${k.visiblePosition || ((P = k.position) == null ? void 0 : P.top)}px` }),
53204
+ style: It({ top: `${k.visiblePosition || ((P = k.position) == null ? void 0 : P.top)}px` }),
53205
53205
  onMouseover: (Y) => g(f)(Y, F),
53206
53206
  onMouseleave: C[0] || (C[0] = //@ts-ignore
53207
53207
  (...Y) => g(h) && g(h)(...Y))
@@ -53276,7 +53276,7 @@ const Mse = { class: "flex items-center h-[32px] hover:bg-ed-muted rounded-md" }
53276
53276
  const E = ln;
53277
53277
  return M(), me("div", {
53278
53278
  id: "super-text-view-wrapper",
53279
- style: Mt({ width: `${Number(g(y)) + 25}px`, minHeight: `${g(h)}px` }),
53279
+ style: It({ width: `${Number(g(y)) + 25}px`, minHeight: `${g(h)}px` }),
53280
53280
  class: He(
53281
53281
  g(ze)(
53282
53282
  "relative border border-ed-gray-400 dark:bg-black rounded-[3px] mr-2.5",
@@ -53295,7 +53295,7 @@ const Mse = { class: "flex items-center h-[32px] hover:bg-ed-muted rounded-md" }
53295
53295
  "book-mark-id": C.id,
53296
53296
  "line-id": C.lineId,
53297
53297
  class: He(g(ze)("super-text-view", "absolute w-full px-2 translate-y-[-10px] group", {})),
53298
- style: Mt({ top: `${C.visiblePosition || ((A = C.position) == null ? void 0 : A.top)}px` }),
53298
+ style: It({ top: `${C.visiblePosition || ((A = C.position) == null ? void 0 : A.top)}px` }),
53299
53299
  onMouseover: (P) => g(d)(P, T),
53300
53300
  onMouseleave: x[0] || (x[0] = //@ts-ignore
53301
53301
  (...P) => g(f) && g(f)(...P))
@@ -53395,6 +53395,7 @@ const Mse = { class: "flex items-center h-[32px] hover:bg-ed-muted rounded-md" }
53395
53395
  disabled: { type: Boolean, default: !1 },
53396
53396
  hideToolbar: { type: Boolean, default: !1 },
53397
53397
  isShowFormatControlBar: { type: Boolean },
53398
+ customClassFormatControlBar: {},
53398
53399
  titleBarComment: {},
53399
53400
  titleBarContent: {},
53400
53401
  fieldNameComment: {},
@@ -53451,7 +53452,7 @@ const Mse = { class: "flex items-center h-[32px] hover:bg-ed-muted rounded-md" }
53451
53452
  const A = T.clipboardData;
53452
53453
  if (!A) return !1;
53453
53454
  const k = o.mode, F = A.getData("text/plain") || "", P = Array.from(A.items).some((L) => L.type.startsWith("image/"));
53454
- return (k === et.STRAIGHT || k === et.REPORT) && P ? (T.preventDefault(), !0) : k === et.PLAIN_TEXT ? (T.preventDefault(), C.dispatch(C.state.tr.insertText(F, C.state.selection.from)), !0) : !1;
53455
+ return (k === Ze.STRAIGHT || k === Ze.REPORT) && P ? (T.preventDefault(), !0) : k === Ze.PLAIN_TEXT ? (T.preventDefault(), C.dispatch(C.state.tr.insertText(F, C.state.selection.from)), !0) : !1;
53455
53456
  },
53456
53457
  clipboardTextParser: (C, T) => {
53457
53458
  const A = C.split(/(?:\r\n?|\n)/), k = [];
@@ -53479,9 +53480,9 @@ const Mse = { class: "flex items-center h-[32px] hover:bg-ed-muted rounded-md" }
53479
53480
  m(E.value);
53480
53481
  }
53481
53482
  });
53482
- X(() => o.mode === et.EDITOR);
53483
+ X(() => o.mode === Ze.EDITOR);
53483
53484
  async function w() {
53484
- await Nt(), i.emit({
53485
+ await Mt(), i.emit({
53485
53486
  action: "render"
53486
53487
  });
53487
53488
  }
@@ -53538,7 +53539,7 @@ const Mse = { class: "flex items-center h-[32px] hover:bg-ed-muted rounded-md" }
53538
53539
  });
53539
53540
  const E = H(null);
53540
53541
  function _(C) {
53541
- C === et.REPORT && m(E.value);
53542
+ C === Ze.REPORT && m(E.value);
53542
53543
  }
53543
53544
  return ht(() => {
53544
53545
  _(o.mode);
@@ -53581,9 +53582,9 @@ const Mse = { class: "flex items-center h-[32px] hover:bg-ed-muted rounded-md" }
53581
53582
  });
53582
53583
  function oae(t, e, n = !1, o = 200) {
53583
53584
  const { height: r } = vL(t), i = H(0), s = H(0), a = H(o), l = H(0), u = async () => {
53584
- await Nt();
53585
+ await Mt();
53585
53586
  const d = r.value - 8;
53586
- e.value === et.REPORT ? (i.value = d / 3, s.value = n ? "auto" : d - i.value, a.value = o / 3 * 2, l.value = o / 3) : (i.value = 0, s.value = n ? "auto" : r.value);
53587
+ e.value === Ze.REPORT ? (i.value = d / 3, s.value = n ? "auto" : d - i.value, a.value = o / 3 * 2, l.value = o / 3) : (i.value = 0, s.value = n ? "auto" : r.value);
53587
53588
  };
53588
53589
  return n || De(() => r.value, u), ht(() => {
53589
53590
  u();
@@ -53613,6 +53614,7 @@ const rae = { class: "flex flex-1" }, J2 = /* @__PURE__ */ j({
53613
53614
  disabled: { type: Boolean, default: !1 },
53614
53615
  hideToolbar: { type: Boolean, default: !1 },
53615
53616
  isShowFormatControlBar: { type: Boolean },
53617
+ customClassFormatControlBar: {},
53616
53618
  titleBarComment: {},
53617
53619
  titleBarContent: {},
53618
53620
  fieldNameComment: { default: null },
@@ -53668,7 +53670,7 @@ const rae = { class: "flex flex-1" }, J2 = /* @__PURE__ */ j({
53668
53670
  const _ = X(() => [...u.extensions, ...xt.differenceBy(o.extensions, u.extensions, "name")].map((Me, je) => {
53669
53671
  var rt;
53670
53672
  return ((rt = Me.configure) == null ? void 0 : rt.call(Me, { sort: je })) || Me;
53671
- })), C = X(() => o.mode === et.EDITOR), T = H(o.fontSizeDefault), A = H(o.fontFamilyDefault);
53673
+ })), C = X(() => o.mode === Ze.EDITOR), T = H(o.fontSizeDefault), A = H(o.fontFamilyDefault);
53672
53674
  fn("fontSize", T), fn("fontFamily", A);
53673
53675
  const k = X(() => {
53674
53676
  const le = {
@@ -53726,7 +53728,7 @@ const rae = { class: "flex flex-1" }, J2 = /* @__PURE__ */ j({
53726
53728
  const je = Me.clipboardData;
53727
53729
  if (!je) return !1;
53728
53730
  const rt = o.mode, Lt = Array.from(je.items), zt = Lt.some((V) => V.type.startsWith("image/")), q = Lt.some((V) => V.type.startsWith("video/"));
53729
- return (rt === et.STRAIGHT || rt === et.REPORT) && (zt || q) ? (Me.preventDefault(), !0) : q ? (Me.preventDefault(), re(["video"]) && Lt.forEach(async (V) => {
53731
+ return (rt === Ze.STRAIGHT || rt === Ze.REPORT) && (zt || q) ? (Me.preventDefault(), !0) : q ? (Me.preventDefault(), re(["video"]) && Lt.forEach(async (V) => {
53730
53732
  var nt;
53731
53733
  if (!V.type.startsWith("video/")) return;
53732
53734
  const ge = V.getAsFile();
@@ -53777,7 +53779,7 @@ const rae = { class: "flex flex-1" }, J2 = /* @__PURE__ */ j({
53777
53779
  fn("measuredMinWidthComment", K);
53778
53780
  const U = X(() => C.value ? 0 : oe.value ? Number(Y == null ? void 0 : Y.value) + Number(K == null ? void 0 : K.value) + 30 : Number(Y == null ? void 0 : Y.value));
53779
53781
  async function B() {
53780
- await Nt(), i.emit({
53782
+ await Mt(), i.emit({
53781
53783
  action: "render"
53782
53784
  });
53783
53785
  }
@@ -53785,7 +53787,7 @@ const rae = { class: "flex flex-1" }, J2 = /* @__PURE__ */ j({
53785
53787
  if (!le) return "";
53786
53788
  if (le.isEmpty)
53787
53789
  return Me === "json" ? {} : "";
53788
- if (o.mode === et.PLAIN_TEXT)
53790
+ if (o.mode === Ze.PLAIN_TEXT)
53789
53791
  return le.getText({ blockSeparator: `
53790
53792
  ` });
53791
53793
  switch (Me) {
@@ -53838,16 +53840,16 @@ const rae = { class: "flex flex-1" }, J2 = /* @__PURE__ */ j({
53838
53840
  const oe = X(() => {
53839
53841
  var rt;
53840
53842
  if (!((rt = L == null ? void 0 : L.storage) != null && rt.superText)) return !1;
53841
- const { enable: le } = L.storage.superText, Me = [et.EDITOR, et.PLAIN_TEXT].includes(o.mode), je = o.disabled;
53843
+ const { enable: le } = L.storage.superText, Me = [Ze.EDITOR, Ze.PLAIN_TEXT].includes(o.mode), je = o.disabled;
53842
53844
  return le && !Me && !je;
53843
- }), de = H(null), Le = X(() => o.mode), { commentHeight: Pe, contentHeight: Qe, minHeight: Be, minHeightComment: it } = oae(
53845
+ }), de = H(null), Le = X(() => o.mode), { commentHeight: Pe, contentHeight: et, minHeight: Be, minHeightComment: it } = oae(
53844
53846
  de,
53845
53847
  Le,
53846
53848
  o.autoHeight,
53847
53849
  typeof o.minHeight == "string" ? parseInt(o.minHeight) : o.minHeight
53848
53850
  ), ae = H(null);
53849
53851
  function fe(le) {
53850
- le === et.STRAIGHT && w(ae.value);
53852
+ le === Ze.STRAIGHT && w(ae.value);
53851
53853
  }
53852
53854
  ht(() => {
53853
53855
  fe(o.mode);
@@ -53882,7 +53884,7 @@ const rae = { class: "flex flex-1" }, J2 = /* @__PURE__ */ j({
53882
53884
  "outline-ed-border": !g(L).isFocused
53883
53885
  }
53884
53886
  ]]),
53885
- style: Mt(P.value)
53887
+ style: It(P.value)
53886
53888
  }, [
53887
53889
  !le.hideBubble && !le.disabled && x.value ? (M(), me(tt, { key: 0 }, [
53888
53890
  re([g(bd)]) ? (M(), $(je, {
@@ -53918,7 +53920,7 @@ const rae = { class: "flex flex-1" }, J2 = /* @__PURE__ */ j({
53918
53920
  A.value && !C.value ? "[&_*]:!font-inherit" : "",
53919
53921
  T.value && !C.value ? "[&_*]:!text-font-size-inherit" : ""
53920
53922
  ]),
53921
- style: Mt(k.value)
53923
+ style: It(k.value)
53922
53924
  }, [
53923
53925
  Oe.value ? (M(), $(V, {
53924
53926
  key: 0,
@@ -53936,15 +53938,15 @@ const rae = { class: "flex flex-1" }, J2 = /* @__PURE__ */ j({
53936
53938
  }, null, 8, ["extensions", "mode", "hide-comment", "field-name-comment", "field-name-comment-cuesheet", "field-name-content", "comment", "comment-cuesheet", "content", "min-chars", "font-size"])) : (M(), me("div", {
53937
53939
  key: 1,
53938
53940
  class: "space-y-2 flex-1 flex flex-col",
53939
- style: Mt({
53941
+ style: It({
53940
53942
  minWidth: `${U.value}px`
53941
53943
  })
53942
53944
  }, [
53943
- le.mode === g(et).REPORT && !le.hideComment ? (M(), $(nae, {
53945
+ le.mode === g(Ze).REPORT && !le.hideComment ? (M(), $(nae, {
53944
53946
  key: 0,
53945
53947
  ref_key: "editorCommentRef",
53946
53948
  ref: ve,
53947
- mode: g(et).REPORT,
53949
+ mode: g(Ze).REPORT,
53948
53950
  extensions: le.extensions,
53949
53951
  "model-value": o.comment,
53950
53952
  disabled: o.disabled,
@@ -53953,7 +53955,7 @@ const rae = { class: "flex flex-1" }, J2 = /* @__PURE__ */ j({
53953
53955
  "super-preview-custom-class": le.superPreviewCustomClass,
53954
53956
  "min-char": le.minChar,
53955
53957
  "font-size": T.value,
53956
- style: Mt(
53958
+ style: It(
53957
53959
  o.autoHeight ? { height: "auto", minHeight: g(Ln)(g(it)) } : { height: g(Ln)(g(Pe)), minHeight: g(Ln)(g(Be)) }
53958
53960
  ),
53959
53961
  class: "relative overflow-y-auto",
@@ -53962,12 +53964,12 @@ const rae = { class: "flex flex-1" }, J2 = /* @__PURE__ */ j({
53962
53964
  ee("div", {
53963
53965
  id: "editor-container",
53964
53966
  class: "relative overflow-y-auto flex flex-col",
53965
- style: Mt(
53967
+ style: It(
53966
53968
  o.autoHeight ? {
53967
53969
  height: "auto",
53968
53970
  minHeight: g(Ln)(g(Be))
53969
53971
  } : {
53970
- height: g(Ln)(g(Qe))
53972
+ height: g(Ln)(g(et))
53971
53973
  }
53972
53974
  )
53973
53975
  }, [
@@ -53999,7 +54001,7 @@ const rae = { class: "flex flex-1" }, J2 = /* @__PURE__ */ j({
53999
54001
  D(g(hi), {
54000
54002
  editor: g(L),
54001
54003
  spellcheck: "true",
54002
- class: He(g(ze)("h-full break-all", le.mode === g(et).PLAIN_TEXT && "plain-text"))
54004
+ class: He(g(ze)("h-full break-all", le.mode === g(Ze).PLAIN_TEXT && "plain-text"))
54003
54005
  }, null, 8, ["editor", "class"])
54004
54006
  ]),
54005
54007
  _: 1
@@ -54246,7 +54248,7 @@ const rae = { class: "flex flex-1" }, J2 = /* @__PURE__ */ j({
54246
54248
  var m, b, y;
54247
54249
  return M(), me(tt, null, [
54248
54250
  ee("div", uae, [
54249
- g(i) && !f.disableSuperInput && f.mode !== g(et).EDITOR ? (M(), me("button", {
54251
+ g(i) && !f.disableSuperInput && f.mode !== g(Ze).EDITOR ? (M(), me("button", {
54250
54252
  key: 0,
54251
54253
  class: "bubble-menu-item",
54252
54254
  onClick: u
@@ -54409,7 +54411,7 @@ const _7 = /* @__PURE__ */ j({
54409
54411
  };
54410
54412
  h.addEventListener("pointerdown", m);
54411
54413
  const b = ({ transaction: y }) => {
54412
- a.value && y.docChanged && (a.value = !1, Nt(() => {
54414
+ a.value && y.docChanged && (a.value = !1, Mt(() => {
54413
54415
  var w;
54414
54416
  try {
54415
54417
  const x = (w = s.value) == null ? void 0 : w.$el;
@@ -54569,6 +54571,7 @@ const _7 = /* @__PURE__ */ j({
54569
54571
  disabled: { type: Boolean, default: !1 },
54570
54572
  hideToolbar: { type: Boolean, default: !1 },
54571
54573
  isShowFormatControlBar: { type: Boolean },
54574
+ customClassFormatControlBar: {},
54572
54575
  titleBarComment: {},
54573
54576
  titleBarContent: {},
54574
54577
  fieldNameComment: {},
@@ -54872,14 +54875,14 @@ const _7 = /* @__PURE__ */ j({
54872
54875
  }, J = (ae) => {
54873
54876
  var fe;
54874
54877
  let ve = -1;
54875
- Array.from(((fe = l.value) == null ? void 0 : fe.children) || []).some((ye) => (ye.className.includes("splitpanes__pane") && ve++, ye.isSameNode(ae.el))), i.value.splice(ve, 0, { ...ae, index: ve }), i.value.forEach((ye, Oe) => ye.index = Oe), u.value && Nt(() => {
54878
+ Array.from(((fe = l.value) == null ? void 0 : fe.children) || []).some((ye) => (ye.className.includes("splitpanes__pane") && ve++, ye.isSameNode(ae.el))), i.value.splice(ve, 0, { ...ae, index: ve }), i.value.forEach((ye, Oe) => ye.index = Oe), u.value && Mt(() => {
54876
54879
  U(), oe({ addedPane: i.value[ve] }), Be("pane-add", { pane: i.value[ve] });
54877
54880
  });
54878
54881
  }, re = (ae) => {
54879
54882
  const fe = i.value.findIndex((ye) => ye.id === ae);
54880
54883
  i.value[fe].el = null;
54881
54884
  const ve = i.value.splice(fe, 1)[0];
54882
- i.value.forEach((ye, Oe) => ye.index = Oe), Nt(() => {
54885
+ i.value.forEach((ye, Oe) => ye.index = Oe), Mt(() => {
54883
54886
  U(), Be("pane-remove", { pane: ve }), oe({ removedPane: { ...ve } });
54884
54887
  });
54885
54888
  }, oe = (ae = {}) => {
@@ -54890,7 +54893,7 @@ const _7 = /* @__PURE__ */ j({
54890
54893
  const ve = [], ye = [];
54891
54894
  for (const Oe of i.value)
54892
54895
  Oe.size = Math.max(Math.min(ae, Oe.max), Oe.min), fe -= Oe.size, Oe.size >= Oe.max && ve.push(Oe.id), Oe.size <= Oe.min && ye.push(Oe.id);
54893
- fe > 0.1 && Qe(fe, ve, ye);
54896
+ fe > 0.1 && et(fe, ve, ye);
54894
54897
  }, Le = () => {
54895
54898
  let ae = 100;
54896
54899
  const fe = [], ve = [];
@@ -54901,7 +54904,7 @@ const _7 = /* @__PURE__ */ j({
54901
54904
  if (ae > 0.1) {
54902
54905
  for (const le of i.value)
54903
54906
  le.givenSize === null && (le.size = Math.max(Math.min(ae / (a.value - ye), le.max), le.min)), Oe -= le.size;
54904
- Oe > 0.1 && Qe(Oe, fe, ve);
54907
+ Oe > 0.1 && et(Oe, fe, ve);
54905
54908
  }
54906
54909
  }, Pe = ({ addedPane: ae, removedPane: fe } = {}) => {
54907
54910
  let ve = 100 / a.value, ye = 0;
@@ -54912,9 +54915,9 @@ const _7 = /* @__PURE__ */ j({
54912
54915
  if (!(Math.abs(ye) < 0.1)) {
54913
54916
  for (const Me of i.value)
54914
54917
  (ae == null ? void 0 : ae.givenSize) !== null && (ae == null ? void 0 : ae.id) === Me.id || (Me.size = Math.max(Math.min(ve, Me.max), Me.min)), ye -= Me.size, Me.size >= Me.max && Oe.push(Me.id), Me.size <= Me.min && le.push(Me.id);
54915
- ye > 0.1 && Qe(ye, Oe, le);
54918
+ ye > 0.1 && et(ye, Oe, le);
54916
54919
  }
54917
- }, Qe = (ae, fe, ve) => {
54920
+ }, et = (ae, fe, ve) => {
54918
54921
  let ye;
54919
54922
  ae > 0 ? ye = ae / (a.value - fe.length) : ye = ae / (a.value - ve.length), i.value.forEach((Oe, le) => {
54920
54923
  if (ae > 0 && !fe.includes(Oe.id)) {
@@ -54924,7 +54927,7 @@ const _7 = /* @__PURE__ */ j({
54924
54927
  const Me = Math.max(Math.min(Oe.size + ye, Oe.max), Oe.min), je = Me - Oe.size;
54925
54928
  ae -= je, Oe.size = Me;
54926
54929
  }
54927
- }), Math.abs(ae) > 0.1 && Nt(() => {
54930
+ }), Math.abs(ae) > 0.1 && Mt(() => {
54928
54931
  u.value && console.warn("Splitpanes: Could not resize panes correctly due to their constraints.");
54929
54932
  });
54930
54933
  }, Be = (ae, fe = void 0, ve = !1) => {
@@ -54990,9 +54993,9 @@ const _7 = /* @__PURE__ */ j({
54990
54993
  ref: f,
54991
54994
  class: "splitpanes__pane",
54992
54995
  onClick: x[0] || (x[0] = (E) => g(a)(E, w._.uid)),
54993
- style: Mt(y.value)
54996
+ style: It(y.value)
54994
54997
  }, [
54995
- ie(w.$slots, "default")
54998
+ se(w.$slots, "default")
54996
54999
  ], 4));
54997
55000
  }
54998
55001
  }, zx = /* @__PURE__ */ j({
@@ -55080,6 +55083,7 @@ const yae = { class: "flex justify-between items-center relative" }, wc = /* @__
55080
55083
  disabled: { type: Boolean, default: !1 },
55081
55084
  hideToolbar: { type: Boolean, default: !1 },
55082
55085
  isShowFormatControlBar: { type: Boolean, default: !1 },
55086
+ customClassFormatControlBar: { default: "" },
55083
55087
  titleBarComment: { default: null },
55084
55088
  titleBarContent: { default: null },
55085
55089
  fieldNameComment: { default: null },
@@ -55128,7 +55132,7 @@ const yae = { class: "flex justify-between items-center relative" }, wc = /* @__
55128
55132
  fn("isEditable", _);
55129
55133
  const C = X(
55130
55134
  () => [...u.extensions, ...xt.differenceBy(o.extensions, u.extensions, "name")].map(
55131
- (z, se) => z.configure({ sort: se })
55135
+ (z, ie) => z.configure({ sort: ie })
55132
55136
  )
55133
55137
  ), T = H(o.fontSizeDefault), A = H(o.fontFamilyDefault);
55134
55138
  fn("fontSize", T), fn("fontFamily", A);
@@ -55136,15 +55140,15 @@ const yae = { class: "flex justify-between items-center relative" }, wc = /* @__
55136
55140
  fontFamily: A.value,
55137
55141
  fontSize: T.value
55138
55142
  })), F = H(), { height: P } = wL(), L = X(() => {
55139
- var se;
55143
+ var ie;
55140
55144
  if (B.value)
55141
55145
  return {
55142
55146
  bottom: "15px"
55143
55147
  };
55144
- const z = ((se = F.value) == null ? void 0 : se.getBoundingClientRect().bottom) || 0;
55148
+ const z = ((ie = F.value) == null ? void 0 : ie.getBoundingClientRect().bottom) || 0;
55145
55149
  return { bottom: `${P.value - z + 10}px` };
55146
55150
  }), te = (z) => {
55147
- const se = parseInt(T.value || "12px"), ue = z ? se + 2 : se - 2;
55151
+ const ie = parseInt(T.value || "12px"), ue = z ? ie + 2 : ie - 2;
55148
55152
  T.value = ue + "px";
55149
55153
  };
55150
55154
  ed(() => {
@@ -55169,13 +55173,13 @@ const yae = { class: "flex justify-between items-center relative" }, wc = /* @__
55169
55173
  // disable Markdown when typing
55170
55174
  content: mo(o.modelValue, o.disabled, o.mode),
55171
55175
  editorProps: {
55172
- handleKeyDown: xt.throttle((z, se) => se.key === "Enter" && a.enter && !se.shiftKey ? (r("enter"), !0) : !1, wi),
55176
+ handleKeyDown: xt.throttle((z, ie) => ie.key === "Enter" && a.enter && !ie.shiftKey ? (r("enter"), !0) : !1, wi),
55173
55177
  transformPastedHTML: (z) => (z = z.replace(/\s*style="[^"]*"/g, ""), z),
55174
- handlePaste(z, se) {
55178
+ handlePaste(z, ie) {
55175
55179
  var ft;
55176
- if (o.mode !== et.PLAIN_TEXT) return !1;
55177
- se.preventDefault();
55178
- const ue = ((ft = se.clipboardData) == null ? void 0 : ft.getData("text/plain")) || "", { tr: Se, selection: Je } = z.state;
55180
+ if (o.mode !== Ze.PLAIN_TEXT) return !1;
55181
+ ie.preventDefault();
55182
+ const ue = ((ft = ie.clipboardData) == null ? void 0 : ft.getData("text/plain")) || "", { tr: Se, selection: Je } = z.state;
55179
55183
  return z.dispatch(Se.insertText(ue, Je.from)), !0;
55180
55184
  }
55181
55185
  },
@@ -55184,8 +55188,8 @@ const yae = { class: "flex justify-between items-center relative" }, wc = /* @__
55184
55188
  },
55185
55189
  onUpdate: xt.throttle(({ editor: z }) => {
55186
55190
  f.value = !0;
55187
- const se = Pe(z, o.output);
55188
- r("update:modelValue", se), r("change", { editor: z, output: se }), m(z), we(z);
55191
+ const ie = Pe(z, o.output);
55192
+ r("update:modelValue", ie), r("change", { editor: z, output: ie }), m(z), we(z);
55189
55193
  }, wi),
55190
55194
  extensions: xt.uniqBy(xt.reverse(g(C)), "name"),
55191
55195
  editable: _.value,
@@ -55198,13 +55202,13 @@ const yae = { class: "flex justify-between items-center relative" }, wc = /* @__
55198
55202
  }
55199
55203
  });
55200
55204
  function we(z) {
55201
- const se = [];
55205
+ const ie = [];
55202
55206
  z.state.doc.descendants((ue) => {
55203
- ue.type.name === "image" && se.push({
55207
+ ue.type.name === "image" && ie.push({
55204
55208
  id: ue.attrs.id,
55205
55209
  src: ue.attrs.src
55206
55210
  });
55207
- }), y(se);
55211
+ }), y(ie);
55208
55212
  }
55209
55213
  const K = H(), U = H(!0), B = H(!1);
55210
55214
  function J() {
@@ -55215,9 +55219,9 @@ const yae = { class: "flex justify-between items-center relative" }, wc = /* @__
55215
55219
  }));
55216
55220
  }
55217
55221
  function re(z) {
55218
- const se = document.querySelectorAll(
55222
+ const ie = document.querySelectorAll(
55219
55223
  '[contenteditable="true"]:not(.tiptap), .simple-editor, input, textarea'
55220
- ), ue = Array.from(se).some((Se) => Se.contains(z.target));
55224
+ ), ue = Array.from(ie).some((Se) => Se.contains(z.target));
55221
55225
  if (z.type === "focusout") {
55222
55226
  U.value = !0;
55223
55227
  return;
@@ -55232,14 +55236,14 @@ const yae = { class: "flex justify-between items-center relative" }, wc = /* @__
55232
55236
  K.value = z ?? Q, l.setEditorSelectedMobile(K.value);
55233
55237
  }
55234
55238
  const Le = X(() => Q.storage.superText.isShowSuperInputMoblie);
55235
- function Pe(z, se) {
55239
+ function Pe(z, ie) {
55236
55240
  if (!z) return "";
55237
55241
  if (z.isEmpty)
55238
- return se === "json" ? {} : "";
55239
- if (o.mode === et.PLAIN_TEXT)
55242
+ return ie === "json" ? {} : "";
55243
+ if (o.mode === Ze.PLAIN_TEXT)
55240
55244
  return z.getText({ blockSeparator: `
55241
55245
  ` });
55242
- switch (se) {
55246
+ switch (ie) {
55243
55247
  case "html":
55244
55248
  return z.getHTML();
55245
55249
  case "json":
@@ -55251,8 +55255,8 @@ const yae = { class: "flex justify-between items-center relative" }, wc = /* @__
55251
55255
  return "";
55252
55256
  }
55253
55257
  }
55254
- function Qe(z) {
55255
- return z.every((se) => Q == null ? void 0 : Q.extensionManager.extensions.find((ue) => ue.name === se));
55258
+ function et(z) {
55259
+ return z.every((ie) => Q == null ? void 0 : Q.extensionManager.extensions.find((ue) => ue.name === ie));
55256
55260
  }
55257
55261
  De(
55258
55262
  () => b.languages,
@@ -55263,8 +55267,8 @@ const yae = { class: "flex justify-between items-center relative" }, wc = /* @__
55263
55267
  () => o.modelValue,
55264
55268
  (z) => {
55265
55269
  if (!Q || xt.isEqual(Pe(Q, o.output), z)) return;
55266
- const { from: se, to: ue } = Q.state.selection;
55267
- Q.commands.setTextSelection({ from: se, to: ue }), Q.commands.setContent(mo(z, o.disabled, o.mode), !1, {
55270
+ const { from: ie, to: ue } = Q.state.selection;
55271
+ Q.commands.setTextSelection({ from: ie, to: ue }), Q.commands.setContent(mo(z, o.disabled, o.mode), !1, {
55268
55272
  preserveWhitespace: "full"
55269
55273
  });
55270
55274
  },
@@ -55278,8 +55282,8 @@ const yae = { class: "flex justify-between items-center relative" }, wc = /* @__
55278
55282
  ), De(
55279
55283
  () => _.value,
55280
55284
  (z) => {
55281
- var se;
55282
- Q == null || Q.setEditable(z), (se = Q == null ? void 0 : Q.commands) != null && se.setIsEnableSuggestion && Q.commands.setIsEnableSuggestion(z);
55285
+ var ie;
55286
+ Q == null || Q.setEditable(z), (ie = Q == null ? void 0 : Q.commands) != null && ie.setIsEnableSuggestion && Q.commands.setIsEnableSuggestion(z);
55283
55287
  },
55284
55288
  { immediate: !0 }
55285
55289
  ), De(
@@ -55295,13 +55299,13 @@ const yae = { class: "flex justify-between items-center relative" }, wc = /* @__
55295
55299
  }), gd(ud.SAVE, () => {
55296
55300
  localStorage.setItem("content", Pe(Q, "html"));
55297
55301
  });
55298
- const Be = (z, se) => {
55302
+ const Be = (z, ie) => {
55299
55303
  const ue = Q;
55300
55304
  if (ue) {
55301
- if (se) {
55302
- const Se = ue.state.doc.nodeAt(+se), { [vt.ELEMENT_ID]: Je, ...ft } = (Se == null ? void 0 : Se.attrs) || {};
55305
+ if (ie) {
55306
+ const Se = ue.state.doc.nodeAt(+ie), { [vt.ELEMENT_ID]: Je, ...ft } = (Se == null ? void 0 : Se.attrs) || {};
55303
55307
  ue.view.dispatch(
55304
- ue.state.tr.setNodeMarkup(+se, void 0, {
55308
+ ue.state.tr.setNodeMarkup(+ie, void 0, {
55305
55309
  ...ft,
55306
55310
  [vt.TEXT]: z
55307
55311
  })
@@ -55320,10 +55324,10 @@ const yae = { class: "flex justify-between items-center relative" }, wc = /* @__
55320
55324
  }
55321
55325
  }, it = (z) => {
55322
55326
  var ue;
55323
- const se = K.value ?? Q;
55324
- if (se) {
55325
- const { from: Se } = se.view.state.selection;
55326
- se.commands.insertContentAt(Se, {
55327
+ const ie = K.value ?? Q;
55328
+ if (ie) {
55329
+ const { from: Se } = ie.view.state.selection;
55330
+ ie.commands.insertContentAt(Se, {
55327
55331
  type: "configPlan",
55328
55332
  attrs: { "data-id": is(6), "data-text": z }
55329
55333
  });
@@ -55331,12 +55335,12 @@ const yae = { class: "flex justify-between items-center relative" }, wc = /* @__
55331
55335
  (ue = K.value) == null || ue.commands.toggleConfigPlanInput();
55332
55336
  };
55333
55337
  function ae(z) {
55334
- z === et.STRAIGHT && Q.commands.focus("end"), z === et.EDITOR && Q.commands.focus("end");
55338
+ z === Ze.STRAIGHT && Q.commands.focus("end"), z === Ze.EDITOR && Q.commands.focus("end");
55335
55339
  }
55336
- const fe = X(() => _.value && o.mode === et.STRAIGHT || _.value && o.mode === et.REPORT);
55340
+ const fe = X(() => _.value && o.mode === Ze.STRAIGHT || _.value && o.mode === Ze.REPORT);
55337
55341
  ht(() => {
55338
- var z;
55339
- o.autoFocus && ae(o.mode), (z = Q == null ? void 0 : Q.commands) != null && z.setIsMobile && Q.commands.setIsMobile(!0), Q.storage.superText.enable && Q.commands.toggleSuperTextView();
55342
+ var z, ie;
55343
+ o.autoFocus && ae(o.mode), (z = Q == null ? void 0 : Q.commands) != null && z.setIsMobile && Q.commands.setIsMobile(!0), (ie = Q.storage.superText) != null && ie.enable && Q.commands.toggleSuperTextView();
55340
55344
  }), De(
55341
55345
  () => o.mode,
55342
55346
  (z) => {
@@ -55344,8 +55348,8 @@ const yae = { class: "flex justify-between items-center relative" }, wc = /* @__
55344
55348
  }
55345
55349
  );
55346
55350
  const ve = (nt = Q.extensionManager.extensions.find((z) => z.name === "superText")) == null ? void 0 : nt.options.bottomSheetComponent, ye = X(() => {
55347
- const z = o.mode === et.REPORT, se = o.mode === et.EDITOR && o.isScreenSplit, ue = !o.hideComment;
55348
- return (z || se) && ue;
55351
+ const z = o.mode === Ze.REPORT, ie = o.mode === Ze.EDITOR && o.isScreenSplit, ue = !o.hideComment;
55352
+ return (z || ie) && ue;
55349
55353
  }), Oe = X(() => !ye.value), {
55350
55354
  HEADER_ONLY_SIZE: le,
55351
55355
  pane1ContentVisible: Me,
@@ -55361,8 +55365,8 @@ const yae = { class: "flex justify-between items-center relative" }, wc = /* @__
55361
55365
  E(Q, z);
55362
55366
  }
55363
55367
  const { isScrolling: ge, handleScroll: Ae } = Zc(), { isScrolling: Ke, handleScroll: gt } = Zc();
55364
- return e({ editor: Q }), (z, se) => {
55365
- var It, Fn, Zn, pr;
55368
+ return e({ editor: Q }), (z, ie) => {
55369
+ var Nt, Fn, Zn, pr;
55366
55370
  const ue = _7, Se = E0, Je = C0, ft = x0, Wt = i0, pn = C7, Pr = aae, he = Np, qe = iae, ot = ln, Ft = io;
55367
55371
  return M(), me(tt, null, [
55368
55372
  g(K) ? (M(), me("div", {
@@ -55370,14 +55374,14 @@ const yae = { class: "flex justify-between items-center relative" }, wc = /* @__
55370
55374
  id: "vdc-editor",
55371
55375
  ref_key: "editorRef",
55372
55376
  ref: F,
55373
- style: Mt(g(Y)),
55377
+ style: It(g(Y)),
55374
55378
  class: He(
55375
55379
  g(ze)(
55376
55380
  "vdc-editor mobile relative w-full flex flex-col",
55377
55381
  !o.height && "flex-1",
55378
55382
  z.editorClass,
55379
55383
  z.disabled && "disabled",
55380
- z.mode !== g(et).EDITOR && z.isShowLineNumber && "editor-line"
55384
+ z.mode !== g(Ze).EDITOR && z.isShowLineNumber && "editor-line"
55381
55385
  )
55382
55386
  )
55383
55387
  }, [
@@ -55386,19 +55390,19 @@ const yae = { class: "flex justify-between items-center relative" }, wc = /* @__
55386
55390
  editor: g(Q),
55387
55391
  mode: z.mode
55388
55392
  }, null, 8, ["editor", "mode"]),
55389
- Qe([g(bd)]) ? (M(), $(Se, {
55393
+ et([g(bd)]) ? (M(), $(Se, {
55390
55394
  key: 0,
55391
55395
  editor: g(Q)
55392
55396
  }, null, 8, ["editor"])) : _e("", !0),
55393
- Qe([g(rl)]) ? (M(), $(Je, {
55397
+ et([g(rl)]) ? (M(), $(Je, {
55394
55398
  key: 1,
55395
55399
  editor: g(Q)
55396
55400
  }, null, 8, ["editor"])) : _e("", !0),
55397
- Qe([g(na)]) ? (M(), $(ft, {
55401
+ et([g(na)]) ? (M(), $(ft, {
55398
55402
  key: 2,
55399
55403
  editor: g(Q)
55400
55404
  }, null, 8, ["editor"])) : _e("", !0),
55401
- Qe([g(oa), g(ra)]) ? (M(), $(Wt, {
55405
+ et([g(oa), g(ra)]) ? (M(), $(Wt, {
55402
55406
  key: 3,
55403
55407
  editor: g(Q)
55404
55408
  }, null, 8, ["editor"])) : _e("", !0)
@@ -55409,25 +55413,28 @@ const yae = { class: "flex justify-between items-center relative" }, wc = /* @__
55409
55413
  mode: z.mode,
55410
55414
  disabled: z.disabled,
55411
55415
  class: He(["mb-[3px]", z.toolBarClass]),
55412
- "active-extensions": z.mode === g(et).EDITOR ? [Xc] : void 0
55416
+ "active-extensions": z.mode === g(Ze).EDITOR ? [Xc] : void 0
55413
55417
  }, null, 8, ["editor", "mode", "disabled", "class", "active-extensions"])),
55414
55418
  (M(), $(uu, { to: "body" }, [
55415
- z.isShowFormatControlBar ? (M(), me("div", {
55419
+ z.isShowFormatControlBar && z.mode === g(Ze).EDITOR ? (M(), me("div", {
55416
55420
  key: 0,
55417
- style: Mt(g(L)),
55418
- class: He(g(ze)("absolute left-5 right-5 z-[12]", g(B) && "fixed"))
55421
+ style: It({
55422
+ ...g(L),
55423
+ visibility: g(U) ? "visible" : "hidden",
55424
+ pointerEvents: g(U) ? "auto" : "none"
55425
+ }),
55426
+ class: He(g(ze)("absolute left-5 right-5 z-[12]", g(B) && "fixed", z.customClassFormatControlBar))
55419
55427
  }, [
55420
55428
  D(Pr, {
55421
55429
  editor: g(K),
55422
55430
  mode: z.mode,
55423
- disabled: !g(_) || z.disabled,
55424
- style: Mt({ visibility: g(U) ? "visible" : "hidden" })
55425
- }, null, 8, ["editor", "mode", "disabled", "style"])
55431
+ disabled: !g(_) || z.disabled
55432
+ }, null, 8, ["editor", "mode", "disabled"])
55426
55433
  ], 6)) : _e("", !0)
55427
55434
  ])),
55428
55435
  D(g(Z2), {
55429
55436
  class: He(g(ze)("flex-1 basis-0 flex-col", g(oe) && "pb-16")),
55430
- style: Mt({ ...g(k) }),
55437
+ style: It({ ...g(k) }),
55431
55438
  horizontal: "",
55432
55439
  onResize: g(q)
55433
55440
  }, {
@@ -55448,7 +55455,7 @@ const yae = { class: "flex justify-between items-center relative" }, wc = /* @__
55448
55455
  }, null, 8, ["title-bar"])) : _e("", !0),
55449
55456
  (xo = z.fieldNameComment) != null && xo.label ? (M(), me("div", {
55450
55457
  key: 1,
55451
- onClick: se[0] || (se[0] = (Go) => g(zt)("pane1")),
55458
+ onClick: ie[0] || (ie[0] = (Go) => g(zt)("pane1")),
55452
55459
  class: He(
55453
55460
  g(ze)(
55454
55461
  "flex justify-between items-center py-1.5 mb-1 active:bg-ed-accent",
@@ -55466,7 +55473,7 @@ const yae = { class: "flex justify-between items-center relative" }, wc = /* @__
55466
55473
  })) : _e("", !0)
55467
55474
  ], 2)) : _e("", !0),
55468
55475
  To(ee("div", {
55469
- onScroll: se[2] || (se[2] = //@ts-ignore
55476
+ onScroll: ie[2] || (ie[2] = //@ts-ignore
55470
55477
  (...Go) => g(Ae) && g(Ae)(...Go)),
55471
55478
  class: He(
55472
55479
  g(ze)(
@@ -55486,7 +55493,7 @@ const yae = { class: "flex justify-between items-center relative" }, wc = /* @__
55486
55493
  "field-name-comment": z.fieldNameComment,
55487
55494
  "is-show-format-control-bar": z.isShowFormatControlBar,
55488
55495
  "auto-focus": z.autoFocus,
55489
- "onUpdate:modelValue": se[1] || (se[1] = (Go) => r("update:comment", Go)),
55496
+ "onUpdate:modelValue": ie[1] || (ie[1] = (Go) => r("update:comment", Go)),
55490
55497
  onSetEditorSelected: de
55491
55498
  }, null, 8, ["mode", "extensions", "model-value", "disabled", "disable-super-input", "field-name-comment", "is-show-format-control-bar", "auto-focus"])
55492
55499
  ], 34), [
@@ -55512,7 +55519,7 @@ const yae = { class: "flex justify-between items-center relative" }, wc = /* @__
55512
55519
  ee("div", yae, [
55513
55520
  (xo = z.fieldNameContent) != null && xo.label ? (M(), me("div", {
55514
55521
  key: 0,
55515
- onClick: se[3] || (se[3] = (oi) => g(zt)("pane2")),
55522
+ onClick: ie[3] || (ie[3] = (oi) => g(zt)("pane2")),
55516
55523
  class: He(
55517
55524
  g(ze)(
55518
55525
  "flex justify-between items-center py-1.5 mb-1 active:bg-ed-accent flex-1",
@@ -55542,7 +55549,7 @@ const yae = { class: "flex justify-between items-center relative" }, wc = /* @__
55542
55549
  for: "superView",
55543
55550
  class: "body-medium"
55544
55551
  }, {
55545
- default: N(() => se[8] || (se[8] = [
55552
+ default: N(() => ie[8] || (ie[8] = [
55546
55553
  at("수퍼")
55547
55554
  ])),
55548
55555
  _: 1
@@ -55550,7 +55557,7 @@ const yae = { class: "flex justify-between items-center relative" }, wc = /* @__
55550
55557
  D(qe, {
55551
55558
  id: "superView",
55552
55559
  checked: g(Q).storage.superText.enable,
55553
- "onUpdate:checked": se[4] || (se[4] = (oi) => g(Q).commands.toggleSuperTextView()),
55560
+ "onUpdate:checked": ie[4] || (ie[4] = (oi) => g(Q).commands.toggleSuperTextView()),
55554
55561
  class: "w-8 h-5 data-[state=checked]:bg-blue-500",
55555
55562
  "custom-class-thumb": "w-4 h-4 data-[state=checked]:translate-x-3"
55556
55563
  }, null, 8, ["checked"])
@@ -55567,13 +55574,13 @@ const yae = { class: "flex justify-between items-center relative" }, wc = /* @__
55567
55574
  name: "autoCopy",
55568
55575
  class: "size-5"
55569
55576
  }),
55570
- se[9] || (se[9] = at("자동복사"))
55577
+ ie[9] || (ie[9] = at("자동복사"))
55571
55578
  ]),
55572
55579
  _: 1
55573
55580
  }, 8, ["disabled"])) : _e("", !0)
55574
55581
  ]),
55575
55582
  To(ee("div", {
55576
- onScroll: se[5] || (se[5] = //@ts-ignore
55583
+ onScroll: ie[5] || (ie[5] = //@ts-ignore
55577
55584
  (...oi) => g(gt) && g(gt)(...oi)),
55578
55585
  class: He(
55579
55586
  g(ze)(
@@ -55586,7 +55593,7 @@ const yae = { class: "flex justify-between items-center relative" }, wc = /* @__
55586
55593
  D(g(hi), {
55587
55594
  id: "editor-panel",
55588
55595
  editor: g(Q),
55589
- class: He(["flex-1 flex-col relative break-all", z.mode === g(et).PLAIN_TEXT && "plain-text"])
55596
+ class: He(["flex-1 flex-col relative break-all", z.mode === g(Ze).PLAIN_TEXT && "plain-text"])
55590
55597
  }, null, 8, ["editor", "class"])
55591
55598
  ], 34), [
55592
55599
  [sr, g(je)]
@@ -55599,12 +55606,12 @@ const yae = { class: "flex justify-between items-center relative" }, wc = /* @__
55599
55606
  _: 1
55600
55607
  }, 8, ["class", "style", "onResize"])
55601
55608
  ], 6)) : _e("", !0),
55602
- (It = g(Q)) != null && It.storage.superText && g(ve) ? (M(), $(mae, {
55609
+ (Nt = g(Q)) != null && Nt.storage.superText && g(ve) ? (M(), $(mae, {
55603
55610
  key: 1,
55604
55611
  open: g(Le),
55605
55612
  editor: g(Q),
55606
55613
  "bottom-sheet-component": g(ve),
55607
- onClose: se[6] || (se[6] = (Ko) => g(Q).commands.toggleSuperInputMoblie()),
55614
+ onClose: ie[6] || (ie[6] = (Ko) => g(Q).commands.toggleSuperInputMoblie()),
55608
55615
  onSave: Be
55609
55616
  }, null, 8, ["open", "editor", "bottom-sheet-component"])) : _e("", !0),
55610
55617
  (Fn = g(K)) != null && Fn.storage.configPlan ? (M(), $(OT, {
@@ -55613,7 +55620,7 @@ const yae = { class: "flex justify-between items-center relative" }, wc = /* @__
55613
55620
  "is-view-mode": !((pr = g(K)) != null && pr.storage.configPlan.isShowConfigPlanInput),
55614
55621
  editor: g(K),
55615
55622
  title: z.$t("editor.configPlan"),
55616
- onClose: se[7] || (se[7] = (Ko) => g(K).commands.toggleConfigPlanInput()),
55623
+ onClose: ie[7] || (ie[7] = (Ko) => g(K).commands.toggleConfigPlanInput()),
55617
55624
  onSave: it
55618
55625
  }, null, 8, ["open", "is-view-mode", "editor", "title"])) : _e("", !0)
55619
55626
  ], 64);
@@ -55622,7 +55629,7 @@ const yae = { class: "flex justify-between items-center relative" }, wc = /* @__
55622
55629
  }), Ele = /* @__PURE__ */ j({
55623
55630
  __name: "ArticleEditor",
55624
55631
  props: {
55625
- mode: { default: et.STRAIGHT },
55632
+ mode: { default: Ze.STRAIGHT },
55626
55633
  isMobile: { type: Boolean },
55627
55634
  superTextArea: {},
55628
55635
  modelValue: {},
@@ -55638,6 +55645,7 @@ const yae = { class: "flex justify-between items-center relative" }, wc = /* @__
55638
55645
  disabled: { type: Boolean },
55639
55646
  hideToolbar: { type: Boolean },
55640
55647
  isShowFormatControlBar: { type: Boolean },
55648
+ customClassFormatControlBar: {},
55641
55649
  titleBarComment: {},
55642
55650
  titleBarContent: {},
55643
55651
  fieldNameComment: {},
@@ -55683,7 +55691,7 @@ const yae = { class: "flex justify-between items-center relative" }, wc = /* @__
55683
55691
  }), _le = /* @__PURE__ */ j({
55684
55692
  __name: "DigitalNewsEditor",
55685
55693
  props: {
55686
- mode: { default: et.EDITOR },
55694
+ mode: { default: Ze.EDITOR },
55687
55695
  isMobile: { type: Boolean },
55688
55696
  superTextArea: {},
55689
55697
  modelValue: {},
@@ -55699,6 +55707,7 @@ const yae = { class: "flex justify-between items-center relative" }, wc = /* @__
55699
55707
  disabled: { type: Boolean },
55700
55708
  hideToolbar: { type: Boolean },
55701
55709
  isShowFormatControlBar: { type: Boolean },
55710
+ customClassFormatControlBar: {},
55702
55711
  titleBarComment: {},
55703
55712
  titleBarContent: {},
55704
55713
  fieldNameComment: {},
@@ -55910,8 +55919,8 @@ var T7 = { exports: {} };
55910
55919
  continue;
55911
55920
  }
55912
55921
  J === oe - 1 && (de = !0);
55913
- var Qe = B[Pe.key];
55914
- Qe && Qe.forEach(function(Be) {
55922
+ var et = B[Pe.key];
55923
+ et && et.forEach(function(Be) {
55915
55924
  var it = re ? re.length : 0, ae = A(
55916
55925
  K,
55917
55926
  oe,
@@ -55928,8 +55937,8 @@ var T7 = { exports: {} };
55928
55937
  var oe = K.beforeTokens, de = K.afterTokens, Le = U + J, Pe = B + J;
55929
55938
  if (!(Le >= oe.length || Pe >= de.length)) {
55930
55939
  if (J) {
55931
- var Qe = oe[Le].key, Be = de[Pe].key;
55932
- if (Qe !== Be)
55940
+ var et = oe[Le].key, Be = de[Pe].key;
55941
+ if (et !== Be)
55933
55942
  return;
55934
55943
  }
55935
55944
  for (var it = !0, ae = 1, fe = U + ae, ve = B + ae; it && fe < oe.length && ve < de.length; ) {
@@ -55968,12 +55977,12 @@ var T7 = { exports: {} };
55968
55977
  K.afterIndex
55969
55978
  ));
55970
55979
  }
55971
- var de = K.beforeTokens.slice(B.segmentEndInBefore + 1), Le = K.afterTokens.slice(B.segmentEndInAfter + 1), Pe = K.beforeIndex + B.segmentEndInBefore + 1, Qe = K.afterIndex + B.segmentEndInAfter + 1;
55980
+ var de = K.beforeTokens.slice(B.segmentEndInBefore + 1), Le = K.afterTokens.slice(B.segmentEndInAfter + 1), Pe = K.beforeIndex + B.segmentEndInBefore + 1, et = K.afterIndex + B.segmentEndInAfter + 1;
55972
55981
  de.length && Le.length && J.push(k(
55973
55982
  de,
55974
55983
  Le,
55975
55984
  Pe,
55976
- Qe
55985
+ et
55977
55986
  )), U.add(B);
55978
55987
  }
55979
55988
  return U.toArray();
@@ -55984,13 +55993,13 @@ var T7 = { exports: {} };
55984
55993
  var B = 0, J = 0, re = [], oe = k(K, U, 0, 0), de = F(oe);
55985
55994
  de.push(new y(K.length, U.length, 0, oe));
55986
55995
  for (var Le = 0; Le < de.length; Le++) {
55987
- var Pe = de[Le], Qe = "none";
55988
- B === Pe.startInBefore ? J !== Pe.startInAfter && (Qe = "insert") : (Qe = "delete", J !== Pe.startInAfter && (Qe = "replace")), Qe !== "none" && re.push({
55989
- action: Qe,
55996
+ var Pe = de[Le], et = "none";
55997
+ B === Pe.startInBefore ? J !== Pe.startInAfter && (et = "insert") : (et = "delete", J !== Pe.startInAfter && (et = "replace")), et !== "none" && re.push({
55998
+ action: et,
55990
55999
  startInBefore: B,
55991
- endInBefore: Qe !== "insert" ? Pe.startInBefore - 1 : null,
56000
+ endInBefore: et !== "insert" ? Pe.startInBefore - 1 : null,
55992
56001
  startInAfter: J,
55993
- endInAfter: Qe !== "delete" ? Pe.startInAfter - 1 : null
56002
+ endInAfter: et !== "delete" ? Pe.startInAfter - 1 : null
55994
56003
  }), Pe.length !== 0 && re.push({
55995
56004
  action: "equal",
55996
56005
  startInBefore: Pe.startInBefore,
@@ -56172,7 +56181,7 @@ const xae = /* @__PURE__ */ DH(wae), Vx = (t, e, n) => {
56172
56181
  }, [
56173
56182
  D(wc, {
56174
56183
  "editor-class": "h-full",
56175
- mode: g(et).REPORT,
56184
+ mode: g(Ze).REPORT,
56176
56185
  disabled: "",
56177
56186
  "hide-toolbar": "",
56178
56187
  extensions: b.extensions,
@@ -56195,7 +56204,7 @@ const xae = /* @__PURE__ */ DH(wae), Vx = (t, e, n) => {
56195
56204
  ee("div", Oae, [
56196
56205
  D(wc, {
56197
56206
  "editor-class": "h-full",
56198
- mode: g(et).REPORT,
56207
+ mode: g(Ze).REPORT,
56199
56208
  disabled: "",
56200
56209
  "hide-toolbar": "",
56201
56210
  extensions: b.extensions,
@@ -56244,7 +56253,7 @@ const xae = /* @__PURE__ */ DH(wae), Vx = (t, e, n) => {
56244
56253
  }, [
56245
56254
  D(wc, {
56246
56255
  "editor-class": "h-full",
56247
- mode: g(et).REPORT,
56256
+ mode: g(Ze).REPORT,
56248
56257
  disabled: "",
56249
56258
  "hide-toolbar": "",
56250
56259
  extensions: b.extensions,
@@ -56292,6 +56301,7 @@ const xae = /* @__PURE__ */ DH(wae), Vx = (t, e, n) => {
56292
56301
  disabled: { type: Boolean },
56293
56302
  hideToolbar: { type: Boolean, default: !1 },
56294
56303
  isShowFormatControlBar: { type: Boolean },
56304
+ customClassFormatControlBar: {},
56295
56305
  titleBarComment: {},
56296
56306
  titleBarContent: {},
56297
56307
  fieldNameComment: {},
@@ -56325,7 +56335,7 @@ const xae = /* @__PURE__ */ DH(wae), Vx = (t, e, n) => {
56325
56335
  emits: ["enter", "change", "update:modelValue", "update:comment", "onFocusEditor", "changed:selection", "setEditorSelected", "onBlurEditor", "lineFocus", "onFocus", "onBlur"],
56326
56336
  setup(t, { expose: e, emit: n }) {
56327
56337
  const o = t, r = n;
56328
- X(() => o.mode === et.EDITOR);
56338
+ X(() => o.mode === Ze.EDITOR);
56329
56339
  const i = ko(qo.RENDER_SUPER_TEXT), s = ao(), { isReady: a, editor: l, updateEditorState: u, checkSpellStore: d } = s, f = H(!1);
56330
56340
  fn("isEditable", f);
56331
56341
  const h = H(s8(o.modelValue));
@@ -56454,14 +56464,14 @@ async function Wx({
56454
56464
  });
56455
56465
  return e.view.dispatch(u), !1;
56456
56466
  }
56457
- }), await Nt(), !t) return;
56467
+ }), await Mt(), !t) return;
56458
56468
  const n = $ae(e, t);
56459
56469
  if (!n) return;
56460
56470
  const { node: o, pos: r } = n, i = e.state.tr.setNodeMarkup(r, void 0, {
56461
56471
  ...o.attrs,
56462
56472
  class: Ux
56463
56473
  });
56464
- e.view.dispatch(i), await Nt(), e.view.nodeDOM(r).scrollIntoView({ behavior: "smooth" });
56474
+ e.view.dispatch(i), await Mt(), e.view.nodeDOM(r).scrollIntoView({ behavior: "smooth" });
56465
56475
  }
56466
56476
  const Tle = /* @__PURE__ */ j({
56467
56477
  __name: "SuperViewMobileEditor",
@@ -56482,6 +56492,7 @@ const Tle = /* @__PURE__ */ j({
56482
56492
  disabled: { type: Boolean, default: !1 },
56483
56493
  hideToolbar: { type: Boolean, default: !1 },
56484
56494
  isShowFormatControlBar: { type: Boolean },
56495
+ customClassFormatControlBar: {},
56485
56496
  titleBarComment: {},
56486
56497
  titleBarContent: {},
56487
56498
  fieldNameComment: {},
@@ -56515,7 +56526,7 @@ const Tle = /* @__PURE__ */ j({
56515
56526
  emits: ["enter", "change", "update:modelValue", "update:comment", "onFocusEditor", "changed:selection", "setEditorSelected", "onBlurEditor", "lineFocus", "onFocus", "onBlur"],
56516
56527
  setup(t, { expose: e, emit: n }) {
56517
56528
  const o = t, r = n;
56518
- fn("isMobile", !0), X(() => o.mode === et.EDITOR);
56529
+ fn("isMobile", !0), X(() => o.mode === Ze.EDITOR);
56519
56530
  const i = ko(qo.INCREASE_DECREASE_FONTSIZE);
56520
56531
  td();
56521
56532
  const s = ao(), { state: a, isFullscreen: l, isReady: u, editor: d, updateEditorState: f, checkSpellStore: h } = s, m = H(!1);
@@ -56655,7 +56666,7 @@ const Tle = /* @__PURE__ */ j({
56655
56666
  id: "vdc-editor",
56656
56667
  ref_key: "editorRef",
56657
56668
  ref: C,
56658
- style: Mt(A.value),
56669
+ style: It(A.value),
56659
56670
  class: He(
56660
56671
  g(ze)(
56661
56672
  "vdc-editor mobile relative w-full flex flex-col editor-line-number editor-line",
@@ -56692,7 +56703,7 @@ const Tle = /* @__PURE__ */ j({
56692
56703
  }, null, 8, ["editor", "mode", "disabled", "class", "active-extensions"])),
56693
56704
  D(g(Z2), {
56694
56705
  class: He(g(ze)("flex flex-col")),
56695
- style: Mt({ ..._.value }),
56706
+ style: It({ ..._.value }),
56696
56707
  horizontal: ""
56697
56708
  }, {
56698
56709
  default: N(() => [
@@ -56701,7 +56712,7 @@ const Tle = /* @__PURE__ */ j({
56701
56712
  class: "border-none p-0 flex flex-col bg-[#EEEEEE]"
56702
56713
  }, {
56703
56714
  default: N(() => {
56704
- var Qe;
56715
+ var et;
56705
56716
  return [
56706
56717
  ee("div", {
56707
56718
  class: He(
@@ -56711,7 +56722,7 @@ const Tle = /* @__PURE__ */ j({
56711
56722
  )
56712
56723
  )
56713
56724
  }, [
56714
- (Qe = U.fieldNameContent) != null && Qe.label ? (M(), $(Pe, {
56725
+ (et = U.fieldNameContent) != null && et.label ? (M(), $(Pe, {
56715
56726
  key: 0,
56716
56727
  "field-name": U.fieldNameContent,
56717
56728
  mode: U.mode,
@@ -57183,7 +57194,7 @@ export {
57183
57194
  Hae as B,
57184
57195
  Rp as C,
57185
57196
  Dt as D,
57186
- et as E,
57197
+ Ze as E,
57187
57198
  zae as F,
57188
57199
  Kt as P,
57189
57200
  Fo as S,
@@ -57215,4 +57226,4 @@ export {
57215
57226
  tle as y,
57216
57227
  Xae as z
57217
57228
  };
57218
- //# sourceMappingURL=index-DBp0Ucy4.mjs.map
57229
+ //# sourceMappingURL=index-DOthRsv-.mjs.map