vdc-editor 0.1.76 → 0.1.77

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 _R = Object.defineProperty;
2
2
  var ER = (t, e, n) => e in t ? _R(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
3
  var $n = (t, e, n) => ER(t, typeof e != "symbol" ? e + "" : e, n);
4
4
  import * as Z3 from "vue";
5
- import { computed as Y, ref as V, shallowRef as Xp, watch as $e, getCurrentScope as cx, onScopeDispose as dx, shallowReadonly as ll, unref as v, defineComponent as z, createBlock as P, openBlock as M, mergeProps as Se, withCtx as O, renderSlot as ee, toRefs as Ln, createElementBlock as we, Fragment as et, createVNode as I, createCommentVNode as He, withKeys as fc, withModifiers as gr, h as On, normalizeProps as Vt, guardReactiveProps as Zt, onMounted as pt, toHandlers as CR, resolveDynamicComponent as Zr, getCurrentInstance as Br, toRef as SR, camelize as fx, toHandlerKey as TR, nextTick as Dt, inject as mr, provide as tr, Comment as px, cloneVNode as kR, readonly as hx, watchEffect as xn, Teleport as Yp, useSlots as Zp, createTextVNode as dt, toDisplayString as Fe, onUnmounted as ar, reactive as Do, normalizeStyle as Xt, mergeDefaults as mx, watchPostEffect as AR, markRaw as db, effectScope as fb, customRef as gx, onBeforeUnmount as Er, onBeforeUpdate as OR, onUpdated as MR, isRef as Qp, createElementVNode as te, renderList as $t, onBeforeMount as Wc, withDirectives as Lo, vModelSelect as NR, Text as RR, normalizeClass as lt, createSlots as pb, vModelText as LR, render as Q3, vShow as zi, useAttrs as eh } from "vue";
5
+ import { computed as Y, ref as V, shallowRef as Xp, watch as $e, getCurrentScope as cx, onScopeDispose as dx, shallowReadonly as ll, unref as v, defineComponent as z, createBlock as P, openBlock as M, mergeProps as Se, withCtx as O, renderSlot as ee, toRefs as Ln, createElementBlock as xe, Fragment as et, createVNode as I, createCommentVNode as He, withKeys as fc, withModifiers as gr, h as On, normalizeProps as Vt, guardReactiveProps as Zt, onMounted as pt, toHandlers as CR, resolveDynamicComponent as Zr, getCurrentInstance as Br, toRef as SR, camelize as fx, toHandlerKey as TR, nextTick as Dt, inject as mr, provide as tr, Comment as px, cloneVNode as kR, readonly as hx, watchEffect as xn, Teleport as Yp, useSlots as Zp, createTextVNode as lt, toDisplayString as Fe, onUnmounted as ar, reactive as Do, normalizeStyle as Xt, mergeDefaults as mx, watchPostEffect as AR, markRaw as db, effectScope as fb, customRef as gx, onBeforeUnmount as Er, onBeforeUpdate as OR, onUpdated as MR, isRef as Qp, createElementVNode as te, renderList as $t, onBeforeMount as Wc, withDirectives as Lo, vModelSelect as NR, Text as RR, normalizeClass as ut, createSlots as pb, vModelText as LR, render as Q3, vShow as zi, useAttrs as eh } from "vue";
6
6
  import { useVModel as IR, useLocalStorage as DR, createEventHook as e4, createGlobalState as PR, useFullscreen as BR, useEventBus as lr, useFocus as FR, onClickOutside as hb, useFileDialog as $R, useDark as th, useToggle as nh, useElementSize as HR, useElementBounding as t4, useIntervalFn as zR } from "@vueuse/core";
7
7
  const VR = ["top", "right", "bottom", "left"], Ms = Math.min, Wr = Math.max, Kf = Math.round, Xd = Math.floor, ti = (t) => ({
8
8
  x: t,
@@ -287,7 +287,7 @@ const YR = (t) => ({
287
287
  }, m = bb(o), g = gb(m), y = await s.getDimensions(u), w = m === "y", x = w ? "top" : "left", E = w ? "bottom" : "right", S = w ? "clientHeight" : "clientWidth", _ = i.reference[g] + i.reference[m] - h[m] - i.floating[g], T = h[m] - i.reference[m], A = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(u));
288
288
  let R = A ? A[S] : 0;
289
289
  (!R || !await (s.isElement == null ? void 0 : s.isElement(A))) && (R = a.floating[S] || i.floating[g]);
290
- const j = _ / 2 - T / 2, W = R / 2 - y[g] / 2 - 1, $ = Ms(p[x], W), K = Ms(p[E], W), ne = $, xe = R - y[g] - K, Ne = R / 2 - y[g] / 2 + j, q = R1(ne, Ne, xe), G = !l.arrow && Jl(o) != null && Ne !== q && i.reference[g] / 2 - (Ne < ne ? $ : K) - y[g] / 2 < 0, D = G ? Ne < ne ? Ne - ne : Ne - xe : 0;
290
+ const j = _ / 2 - T / 2, W = R / 2 - y[g] / 2 - 1, $ = Ms(p[x], W), K = Ms(p[E], W), ne = $, we = R - y[g] - K, Ne = R / 2 - y[g] / 2 + j, q = R1(ne, Ne, we), G = !l.arrow && Jl(o) != null && Ne !== q && i.reference[g] / 2 - (Ne < ne ? $ : K) - y[g] / 2 < 0, D = G ? Ne < ne ? Ne - ne : Ne - we : 0;
291
291
  return {
292
292
  [m]: h[m] + D,
293
293
  data: {
@@ -352,8 +352,8 @@ const YR = (t) => ({
352
352
  if (!G)
353
353
  switch (m) {
354
354
  case "bestFit": {
355
- var xe;
356
- const D = (xe = $.filter((Q) => {
355
+ var we;
356
+ const D = (we = $.filter((Q) => {
357
357
  if (A) {
358
358
  const se = Ns(Q.placement);
359
359
  return se === E || // Create a bias to the `y` side axis due to horizontal
@@ -361,7 +361,7 @@ const YR = (t) => ({
361
361
  se === "y";
362
362
  }
363
363
  return !0;
364
- }).map((Q) => [Q.placement, Q.overflows.filter((se) => se > 0).reduce((se, ce) => se + ce, 0)]).sort((Q, se) => Q[1] - se[1])[0]) == null ? void 0 : xe[0];
364
+ }).map((Q) => [Q.placement, Q.overflows.filter((se) => se > 0).reduce((se, ce) => se + ce, 0)]).sort((Q, se) => Q[1] - se[1])[0]) == null ? void 0 : we[0];
365
365
  D && (G = D);
366
366
  break;
367
367
  }
@@ -604,8 +604,8 @@ const tL = function(t) {
604
604
  const E = y - d.top - d.bottom, S = g - d.left - d.right, _ = Ms(y - d[w], E), T = Ms(g - d[x], S), A = !e.middlewareData.shift;
605
605
  let R = _, j = T;
606
606
  if ((n = e.middlewareData.shift) != null && n.enabled.x && (j = S), (r = e.middlewareData.shift) != null && r.enabled.y && (R = E), A && !h) {
607
- const $ = Wr(d.left, 0), K = Wr(d.right, 0), ne = Wr(d.top, 0), xe = Wr(d.bottom, 0);
608
- m ? j = g - 2 * ($ !== 0 || K !== 0 ? $ + K : Wr(d.left, d.right)) : R = y - 2 * (ne !== 0 || xe !== 0 ? ne + xe : Wr(d.top, d.bottom));
607
+ const $ = Wr(d.left, 0), K = Wr(d.right, 0), ne = Wr(d.top, 0), we = Wr(d.bottom, 0);
608
+ m ? j = g - 2 * ($ !== 0 || K !== 0 ? $ + K : Wr(d.left, d.right)) : R = y - 2 * (ne !== 0 || we !== 0 ? ne + we : Wr(d.top, d.bottom));
609
609
  }
610
610
  await l({
611
611
  ...e,
@@ -2912,7 +2912,7 @@ const ZI = ["value", "checked", "name", "disabled", "required"], [QI, eD] = ln("
2912
2912
  return eD({
2913
2913
  disabled: o,
2914
2914
  state: i
2915
- }), (d, p) => (M(), we(et, null, [
2915
+ }), (d, p) => (M(), xe(et, null, [
2916
2916
  I(v(ft), Se(d.$attrs, {
2917
2917
  id: d.id,
2918
2918
  ref: v(s),
@@ -2935,7 +2935,7 @@ const ZI = ["value", "checked", "name", "disabled", "required"], [QI, eD] = ln("
2935
2935
  ]),
2936
2936
  _: 3
2937
2937
  }, 16, ["id", "as-child", "as", "type", "aria-checked", "aria-required", "aria-label", "data-state", "data-disabled", "disabled", "onKeydown"]),
2938
- v(l) ? (M(), we("input", {
2938
+ v(l) ? (M(), xe("input", {
2939
2939
  key: 0,
2940
2940
  type: "checkbox",
2941
2941
  tabindex: "-1",
@@ -3099,14 +3099,14 @@ const qx = {
3099
3099
  }),
3100
3100
  SL({
3101
3101
  ...g.value,
3102
- apply: ({ elements: $, rects: K, availableWidth: ne, availableHeight: xe }) => {
3102
+ apply: ({ elements: $, rects: K, availableWidth: ne, availableHeight: we }) => {
3103
3103
  const { width: Ne, height: q } = K.reference, G = $.floating.style;
3104
3104
  G.setProperty(
3105
3105
  "--radix-popper-available-width",
3106
3106
  `${ne}px`
3107
3107
  ), G.setProperty(
3108
3108
  "--radix-popper-available-height",
3109
- `${xe}px`
3109
+ `${we}px`
3110
3110
  ), G.setProperty(
3111
3111
  "--radix-popper-anchor-width",
3112
3112
  `${Ne}px`
@@ -3164,8 +3164,8 @@ const qx = {
3164
3164
  arrowY: W,
3165
3165
  shouldHideArrow: A
3166
3166
  }), ($, K) => {
3167
- var ne, xe, Ne;
3168
- return M(), we("div", {
3167
+ var ne, we, Ne;
3168
+ return M(), xe("div", {
3169
3169
  ref_key: "floatingRef",
3170
3170
  ref: a,
3171
3171
  "data-radix-popper-content-wrapper": "",
@@ -3177,7 +3177,7 @@ const qx = {
3177
3177
  zIndex: R.value,
3178
3178
  "--radix-popper-transform-origin": [
3179
3179
  (ne = v(S).transformOrigin) == null ? void 0 : ne.x,
3180
- (xe = v(S).transformOrigin) == null ? void 0 : xe.y
3180
+ (we = v(S).transformOrigin) == null ? void 0 : we.y
3181
3181
  ].join(" "),
3182
3182
  // hide the content if using the hide middleware and should be hidden
3183
3183
  // set visibility to hidden and disable pointer events so the UI behaves
@@ -3583,7 +3583,7 @@ const [xD, _D] = ln("RovingFocusGroup"), e5 = /* @__PURE__ */ z({
3583
3583
  function R($) {
3584
3584
  if ($.defaultPrevented)
3585
3585
  return;
3586
- const K = $.target.closest("[data-radix-menu-content]") === $.currentTarget, ne = $.ctrlKey || $.altKey || $.metaKey, xe = $.key.length === 1, Ne = YL(
3586
+ const K = $.target.closest("[data-radix-menu-content]") === $.currentTarget, ne = $.ctrlKey || $.altKey || $.metaKey, we = $.key.length === 1, Ne = YL(
3587
3587
  $,
3588
3588
  ir(),
3589
3589
  E.value,
@@ -3597,7 +3597,7 @@ const [xD, _D] = ln("RovingFocusGroup"), e5 = /* @__PURE__ */ z({
3597
3597
  );
3598
3598
  if (Ne)
3599
3599
  return Ne == null ? void 0 : Ne.focus();
3600
- if ($.code === "Space" || (K && ($.key === "Tab" && $.preventDefault(), !ne && xe && _($.key)), $.target !== E.value) || !FI.includes($.key))
3600
+ if ($.code === "Space" || (K && ($.key === "Tab" && $.preventDefault(), !ne && we && _($.key)), $.target !== E.value) || !FI.includes($.key))
3601
3601
  return;
3602
3602
  $.preventDefault();
3603
3603
  const q = S.value;
@@ -3611,8 +3611,8 @@ const [xD, _D] = ln("RovingFocusGroup"), e5 = /* @__PURE__ */ z({
3611
3611
  var K;
3612
3612
  if (!z1($))
3613
3613
  return;
3614
- const ne = $.target, xe = g.value !== $.clientX;
3615
- if ((K = $ == null ? void 0 : $.currentTarget) != null && K.contains(ne) && xe) {
3614
+ const ne = $.target, we = g.value !== $.clientX;
3615
+ if ((K = $ == null ? void 0 : $.currentTarget) != null && K.contains(ne) && we) {
3616
3616
  const Ne = $.clientX > g.value ? "right" : "left";
3617
3617
  m.value = Ne, g.value = $.clientX;
3618
3618
  }
@@ -4071,7 +4071,7 @@ const DD = /* @__PURE__ */ z({
4071
4071
  async function h(m) {
4072
4072
  n.value || (await Dt(), m4(m) && !m.defaultPrevented && l());
4073
4073
  }
4074
- return (m, g) => (M(), we(et, null, [
4074
+ return (m, g) => (M(), xe(et, null, [
4075
4075
  I(v(Yx), {
4076
4076
  as: "template",
4077
4077
  element: s.value
@@ -4809,7 +4809,7 @@ const DD = /* @__PURE__ */ z({
4809
4809
  viewportElement: s
4810
4810
  });
4811
4811
  const { forwardRef: a, currentElement: l } = Ve();
4812
- return (u, d) => (M(), we(et, null, [
4812
+ return (u, d) => (M(), xe(et, null, [
4813
4813
  te("div", Se({
4814
4814
  ref_key: "viewportElement",
4815
4815
  ref: s,
@@ -4856,7 +4856,7 @@ const DD = /* @__PURE__ */ z({
4856
4856
  nonce: v(o)
4857
4857
  }, {
4858
4858
  default: O(() => [
4859
- dt(" /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-radix-scroll-area-viewport] { scrollbar-width:none; -ms-overflow-style:none; -webkit-overflow-scrolling:touch; } [data-radix-scroll-area-viewport]::-webkit-scrollbar { display:none; } ")
4859
+ lt(" /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-radix-scroll-area-viewport] { scrollbar-width:none; -ms-overflow-style:none; -webkit-overflow-scrolling:touch; } [data-radix-scroll-area-viewport]::-webkit-scrollbar { display:none; } ")
4860
4860
  ]),
4861
4861
  _: 1
4862
4862
  }, 8, ["nonce"])
@@ -5528,8 +5528,8 @@ const c5 = /* @__PURE__ */ z({
5528
5528
  onChange: E[0] || (E[0] = (S) => o.value = S.target.value)
5529
5529
  }), {
5530
5530
  default: O(() => [
5531
- v(o) === void 0 ? (M(), we("option", yP)) : He("", !0),
5532
- (M(!0), we(et, null, $t(Array.from(y.value), (S) => (M(), P(Zr(S), Se({ ref_for: !0 }, S.props, {
5531
+ v(o) === void 0 ? (M(), xe("option", yP)) : He("", !0),
5532
+ (M(!0), xe(et, null, $t(Array.from(y.value), (S) => (M(), P(Zr(S), Se({ ref_for: !0 }, S.props, {
5533
5533
  key: S.key ?? ""
5534
5534
  }), null, 16))), 128))
5535
5535
  ]),
@@ -5661,19 +5661,19 @@ const SP = /* @__PURE__ */ z({
5661
5661
  const j = a.value, W = window.innerHeight - Ao * 2, $ = m.value.scrollHeight, K = window.getComputedStyle(h.value), ne = Number.parseInt(
5662
5662
  K.borderTopWidth,
5663
5663
  10
5664
- ), xe = Number.parseInt(K.paddingTop, 10), Ne = Number.parseInt(
5664
+ ), we = Number.parseInt(K.paddingTop, 10), Ne = Number.parseInt(
5665
5665
  K.borderBottomWidth,
5666
5666
  10
5667
5667
  ), q = Number.parseInt(
5668
5668
  K.paddingBottom,
5669
5669
  10
5670
- ), G = ne + xe + $ + q + Ne, D = Math.min(
5670
+ ), G = ne + we + $ + q + Ne, D = Math.min(
5671
5671
  g.value.offsetHeight * 5,
5672
5672
  G
5673
5673
  ), Q = window.getComputedStyle(m.value), se = Number.parseInt(Q.paddingTop, 10), ce = Number.parseInt(
5674
5674
  Q.paddingBottom,
5675
5675
  10
5676
- ), fe = _.top + _.height / 2 - Ao, Re = W - fe, Ie = g.value.offsetHeight / 2, ut = g.value.offsetTop + Ie, Ue = ne + xe + ut, ke = G - Ue;
5676
+ ), fe = _.top + _.height / 2 - Ao, Re = W - fe, Ie = g.value.offsetHeight / 2, ct = g.value.offsetTop + Ie, Ue = ne + we + ct, ke = G - Ue;
5677
5677
  if (Ue <= fe) {
5678
5678
  const X = g.value === j[j.length - 1];
5679
5679
  d.value.style.bottom = "0px";
@@ -5705,7 +5705,7 @@ const SP = /* @__PURE__ */ z({
5705
5705
  contentWrapper: d,
5706
5706
  shouldExpandOnScrollRef: l,
5707
5707
  onScrollButtonChange: S
5708
- }), (_, T) => (M(), we("div", {
5708
+ }), (_, T) => (M(), xe("div", {
5709
5709
  ref_key: "contentWrapperElement",
5710
5710
  ref: d,
5711
5711
  style: Xt({
@@ -5982,7 +5982,7 @@ const SP = /* @__PURE__ */ z({
5982
5982
  }, 16)
5983
5983
  ]),
5984
5984
  _: 3
5985
- }, 512)) : !((d = s.value) != null && d.present) && i.value ? (M(), we("div", LP, [
5985
+ }, 512)) : !((d = s.value) != null && d.present) && i.value ? (M(), xe("div", LP, [
5986
5986
  (M(), P(Yp, { to: i.value }, [
5987
5987
  I(RP, { context: v(o) }, {
5988
5988
  default: O(() => [
@@ -6145,7 +6145,7 @@ const SP = /* @__PURE__ */ z({
6145
6145
  ), o.onNativeOptionAdd(l.value));
6146
6146
  }), Er(() => {
6147
6147
  o.onNativeOptionRemove(l.value);
6148
- }), (u, d) => (M(), we(et, null, [
6148
+ }), (u, d) => (M(), xe(et, null, [
6149
6149
  I(v(ft), Se({
6150
6150
  id: v(i).textId,
6151
6151
  ref: v(s)
@@ -6192,7 +6192,7 @@ const SP = /* @__PURE__ */ z({
6192
6192
  }
6193
6193
  l.value = p.scrollTop;
6194
6194
  }
6195
- return (d, p) => (M(), we(et, null, [
6195
+ return (d, p) => (M(), xe(et, null, [
6196
6196
  I(v(ft), Se({
6197
6197
  ref: v(s),
6198
6198
  "data-radix-select-viewport": "",
@@ -6218,7 +6218,7 @@ const SP = /* @__PURE__ */ z({
6218
6218
  nonce: v(r)
6219
6219
  }, {
6220
6220
  default: O(() => [
6221
- dt(" /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-radix-select-viewport] { scrollbar-width:none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } [data-radix-select-viewport]::-webkit-scrollbar { display: none; } ")
6221
+ lt(" /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-radix-select-viewport] { scrollbar-width:none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } [data-radix-select-viewport]::-webkit-scrollbar { display: none; } ")
6222
6222
  ]),
6223
6223
  _: 1
6224
6224
  }, 8, ["nonce"])
@@ -6361,8 +6361,8 @@ const SP = /* @__PURE__ */ z({
6361
6361
  default: O(() => {
6362
6362
  var a;
6363
6363
  return [
6364
- v(p5)((a = v(r).modelValue) == null ? void 0 : a.value) ? (M(), we(et, { key: 0 }, [
6365
- dt(Fe(i.placeholder), 1)
6364
+ v(p5)((a = v(r).modelValue) == null ? void 0 : a.value) ? (M(), xe(et, { key: 0 }, [
6365
+ lt(Fe(i.placeholder), 1)
6366
6366
  ], 64)) : ee(i.$slots, "default", { key: 1 })
6367
6367
  ];
6368
6368
  }),
@@ -6383,7 +6383,7 @@ const SP = /* @__PURE__ */ z({
6383
6383
  }, {
6384
6384
  default: O(() => [
6385
6385
  ee(e.$slots, "default", {}, () => [
6386
- dt("▼")
6386
+ lt("▼")
6387
6387
  ])
6388
6388
  ]),
6389
6389
  _: 3
@@ -6877,7 +6877,7 @@ const QP = /* @__PURE__ */ z({
6877
6877
  role: "tooltip"
6878
6878
  }, {
6879
6879
  default: O(() => [
6880
- dt(Fe(l.value), 1)
6880
+ lt(Fe(l.value), 1)
6881
6881
  ]),
6882
6882
  _: 1
6883
6883
  }, 8, ["id"])
@@ -7210,7 +7210,7 @@ const cn = (t) => {
7210
7210
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
7211
7211
  TB.test(t) && !kB.test(t)
7212
7212
  ), T5 = () => !1, FB = (t) => AB.test(t), $B = (t) => OB.test(t), HB = () => {
7213
- const t = cn("colors"), e = cn("spacing"), n = cn("blur"), r = cn("brightness"), o = cn("borderColor"), i = cn("borderRadius"), s = cn("borderSpacing"), a = cn("borderWidth"), l = cn("contrast"), u = cn("grayscale"), d = cn("hueRotate"), p = cn("invert"), h = cn("gap"), m = cn("gradientColorStops"), g = cn("gradientColorStopPositions"), y = cn("inset"), w = cn("margin"), x = cn("opacity"), E = cn("padding"), S = cn("saturate"), _ = cn("scale"), T = cn("sepia"), A = cn("skew"), R = cn("space"), j = cn("translate"), W = () => ["auto", "contain", "none"], $ = () => ["auto", "hidden", "clip", "visible", "scroll"], K = () => ["auto", wt, e], ne = () => [wt, e], xe = () => ["", Ti, ls], Ne = () => ["auto", kl, wt], q = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], G = () => ["solid", "dashed", "dotted", "double", "none"], D = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], Q = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], se = () => ["", "0", wt], ce = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], fe = () => [kl, wt];
7213
+ const t = cn("colors"), e = cn("spacing"), n = cn("blur"), r = cn("brightness"), o = cn("borderColor"), i = cn("borderRadius"), s = cn("borderSpacing"), a = cn("borderWidth"), l = cn("contrast"), u = cn("grayscale"), d = cn("hueRotate"), p = cn("invert"), h = cn("gap"), m = cn("gradientColorStops"), g = cn("gradientColorStopPositions"), y = cn("inset"), w = cn("margin"), x = cn("opacity"), E = cn("padding"), S = cn("saturate"), _ = cn("scale"), T = cn("sepia"), A = cn("skew"), R = cn("space"), j = cn("translate"), W = () => ["auto", "contain", "none"], $ = () => ["auto", "hidden", "clip", "visible", "scroll"], K = () => ["auto", wt, e], ne = () => [wt, e], we = () => ["", Ti, ls], Ne = () => ["auto", kl, wt], q = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], G = () => ["solid", "dashed", "dotted", "double", "none"], D = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], Q = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], se = () => ["", "0", wt], ce = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], fe = () => [kl, wt];
7214
7214
  return {
7215
7215
  cacheSize: 500,
7216
7216
  separator: ":",
@@ -7222,7 +7222,7 @@ const cn = (t) => {
7222
7222
  borderColor: [t],
7223
7223
  borderRadius: ["none", "", "full", us, wt],
7224
7224
  borderSpacing: ne(),
7225
- borderWidth: xe(),
7225
+ borderWidth: we(),
7226
7226
  contrast: fe(),
7227
7227
  grayscale: se(),
7228
7228
  hueRotate: fe(),
@@ -8542,7 +8542,7 @@ const cn = (t) => {
8542
8542
  * @see https://tailwindcss.com/docs/ring-width
8543
8543
  */
8544
8544
  "ring-w": [{
8545
- ring: xe()
8545
+ ring: we()
8546
8546
  }],
8547
8547
  /**
8548
8548
  * Ring Width Inset
@@ -9281,7 +9281,7 @@ var Zf = { exports: {} };
9281
9281
  Zf.exports;
9282
9282
  (function(t, e) {
9283
9283
  (function() {
9284
- var n, r = "4.17.21", o = 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__", p = 1, h = 2, m = 4, g = 1, y = 2, w = 1, x = 2, E = 4, S = 8, _ = 16, T = 32, A = 64, R = 128, j = 256, W = 512, $ = 30, K = "...", ne = 800, xe = 16, Ne = 1, q = 2, G = 3, D = 1 / 0, Q = 9007199254740991, se = 17976931348623157e292, ce = NaN, fe = 4294967295, Re = fe - 1, Ie = fe >>> 1, ut = [
9284
+ var n, r = "4.17.21", o = 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__", p = 1, h = 2, m = 4, g = 1, y = 2, w = 1, x = 2, E = 4, S = 8, _ = 16, T = 32, A = 64, R = 128, j = 256, W = 512, $ = 30, K = "...", ne = 800, we = 16, Ne = 1, q = 2, G = 3, D = 1 / 0, Q = 9007199254740991, se = 17976931348623157e292, ce = NaN, fe = 4294967295, Re = fe - 1, Ie = fe >>> 1, ct = [
9285
9285
  ["ary", R],
9286
9286
  ["bind", w],
9287
9287
  ["bindKey", x],
@@ -11459,7 +11459,7 @@ Zf.exports;
11459
11459
  function m3(c) {
11460
11460
  var f = 0, b = 0;
11461
11461
  return function() {
11462
- var C = k9(), k = xe - (C - b);
11462
+ var C = k9(), k = we - (C - b);
11463
11463
  if (b = C, k > 0) {
11464
11464
  if (++f >= ne)
11465
11465
  return arguments[0];
@@ -11502,7 +11502,7 @@ Zf.exports;
11502
11502
  return "";
11503
11503
  }
11504
11504
  function uA(c, f) {
11505
- return to(ut, function(b) {
11505
+ return to(ct, function(b) {
11506
11506
  var C = "_." + b[0];
11507
11507
  f & b[1] && !dd(c, C) && c.push(C);
11508
11508
  }), c.sort();
@@ -13064,7 +13064,7 @@ function nF(t, e, n) {
13064
13064
  function j1(t, e, n) {
13065
13065
  return { start: t, end: e };
13066
13066
  }
13067
- const ct = {
13067
+ const dt = {
13068
13068
  // tokenizer error codes
13069
13069
  EXPECTED_TOKEN: 1,
13070
13070
  INVALID_TOKEN_IN_PLACEHOLDER: 2,
@@ -13087,25 +13087,25 @@ const ct = {
13087
13087
  UNHANDLED_MINIFIER_NODE_TYPE: 16
13088
13088
  }, rF = 17, oF = {
13089
13089
  // tokenizer error messages
13090
- [ct.EXPECTED_TOKEN]: "Expected token: '{0}'",
13091
- [ct.INVALID_TOKEN_IN_PLACEHOLDER]: "Invalid token in placeholder: '{0}'",
13092
- [ct.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]: "Unterminated single quote in placeholder",
13093
- [ct.UNKNOWN_ESCAPE_SEQUENCE]: "Unknown escape sequence: \\{0}",
13094
- [ct.INVALID_UNICODE_ESCAPE_SEQUENCE]: "Invalid unicode escape sequence: {0}",
13095
- [ct.UNBALANCED_CLOSING_BRACE]: "Unbalanced closing brace",
13096
- [ct.UNTERMINATED_CLOSING_BRACE]: "Unterminated closing brace",
13097
- [ct.EMPTY_PLACEHOLDER]: "Empty placeholder",
13098
- [ct.NOT_ALLOW_NEST_PLACEHOLDER]: "Not allowed nest placeholder",
13099
- [ct.INVALID_LINKED_FORMAT]: "Invalid linked format",
13090
+ [dt.EXPECTED_TOKEN]: "Expected token: '{0}'",
13091
+ [dt.INVALID_TOKEN_IN_PLACEHOLDER]: "Invalid token in placeholder: '{0}'",
13092
+ [dt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]: "Unterminated single quote in placeholder",
13093
+ [dt.UNKNOWN_ESCAPE_SEQUENCE]: "Unknown escape sequence: \\{0}",
13094
+ [dt.INVALID_UNICODE_ESCAPE_SEQUENCE]: "Invalid unicode escape sequence: {0}",
13095
+ [dt.UNBALANCED_CLOSING_BRACE]: "Unbalanced closing brace",
13096
+ [dt.UNTERMINATED_CLOSING_BRACE]: "Unterminated closing brace",
13097
+ [dt.EMPTY_PLACEHOLDER]: "Empty placeholder",
13098
+ [dt.NOT_ALLOW_NEST_PLACEHOLDER]: "Not allowed nest placeholder",
13099
+ [dt.INVALID_LINKED_FORMAT]: "Invalid linked format",
13100
13100
  // parser error messages
13101
- [ct.MUST_HAVE_MESSAGES_IN_PLURAL]: "Plural must have messages",
13102
- [ct.UNEXPECTED_EMPTY_LINKED_MODIFIER]: "Unexpected empty linked modifier",
13103
- [ct.UNEXPECTED_EMPTY_LINKED_KEY]: "Unexpected empty linked key",
13104
- [ct.UNEXPECTED_LEXICAL_ANALYSIS]: "Unexpected lexical analysis in token: '{0}'",
13101
+ [dt.MUST_HAVE_MESSAGES_IN_PLURAL]: "Plural must have messages",
13102
+ [dt.UNEXPECTED_EMPTY_LINKED_MODIFIER]: "Unexpected empty linked modifier",
13103
+ [dt.UNEXPECTED_EMPTY_LINKED_KEY]: "Unexpected empty linked key",
13104
+ [dt.UNEXPECTED_LEXICAL_ANALYSIS]: "Unexpected lexical analysis in token: '{0}'",
13105
13105
  // generator error messages
13106
- [ct.UNHANDLED_CODEGEN_NODE_TYPE]: "unhandled codegen node type: '{0}'",
13106
+ [dt.UNHANDLED_CODEGEN_NODE_TYPE]: "unhandled codegen node type: '{0}'",
13107
13107
  // minimizer error messages
13108
- [ct.UNHANDLED_MINIFIER_NODE_TYPE]: "unhandled mimifier node type: '{0}'"
13108
+ [dt.UNHANDLED_MINIFIER_NODE_TYPE]: "unhandled mimifier node type: '{0}'"
13109
13109
  };
13110
13110
  function Ql(t, e, n = {}) {
13111
13111
  const { domain: r, messages: o, args: i } = n, s = process.env.NODE_ENV !== "production" ? wh((o || oF)[t] || "", ...i || []) : t, a = new SyntaxError(String(s));
@@ -13189,7 +13189,7 @@ function hF(t, e = {}) {
13189
13189
  /* TokenTypes.EOF */
13190
13190
  );
13191
13191
  function g(H, B) {
13192
- return H.currentChar() === B ? (H.next(), B) : (p(ct.EXPECTED_TOKEN, i(), 0, B), "");
13192
+ return H.currentChar() === B ? (H.next(), B) : (p(dt.EXPECTED_TOKEN, i(), 0, B), "");
13193
13193
  }
13194
13194
  function y(H) {
13195
13195
  let B = "";
@@ -13289,7 +13289,7 @@ function hF(t, e = {}) {
13289
13289
  const me = H.currentChar();
13290
13290
  return me === cs ? cs : B(me) ? (H.next(), me) : null;
13291
13291
  }
13292
- function xe(H) {
13292
+ function we(H) {
13293
13293
  const B = H.charCodeAt(0);
13294
13294
  return B >= 97 && B <= 122 || // a-z
13295
13295
  B >= 65 && B <= 90 || // A-Z
@@ -13298,7 +13298,7 @@ function hF(t, e = {}) {
13298
13298
  B === 36;
13299
13299
  }
13300
13300
  function Ne(H) {
13301
- return ne(H, xe);
13301
+ return ne(H, we);
13302
13302
  }
13303
13303
  function q(H) {
13304
13304
  const B = H.charCodeAt(0);
@@ -13358,12 +13358,12 @@ function hF(t, e = {}) {
13358
13358
  let B = "", me = "";
13359
13359
  for (; B = G(H); )
13360
13360
  me += B;
13361
- return H.currentChar() === cs && p(ct.UNTERMINATED_CLOSING_BRACE, i(), 0), me;
13361
+ return H.currentChar() === cs && p(dt.UNTERMINATED_CLOSING_BRACE, i(), 0), me;
13362
13362
  }
13363
- function ut(H) {
13363
+ function ct(H) {
13364
13364
  w(H);
13365
13365
  let B = "";
13366
- return H.currentChar() === "-" ? (H.next(), B += `-${fe(H)}`) : B += fe(H), H.currentChar() === cs && p(ct.UNTERMINATED_CLOSING_BRACE, i(), 0), B;
13366
+ return H.currentChar() === "-" ? (H.next(), B += `-${fe(H)}`) : B += fe(H), H.currentChar() === cs && p(dt.UNTERMINATED_CLOSING_BRACE, i(), 0), B;
13367
13367
  }
13368
13368
  function Ue(H) {
13369
13369
  return H !== C4 && H !== hr;
@@ -13374,7 +13374,7 @@ function hF(t, e = {}) {
13374
13374
  for (; B = ne(H, Ue); )
13375
13375
  B === "\\" ? me += X(H) : me += B;
13376
13376
  const Ae = H.currentChar();
13377
- return Ae === hr || Ae === cs ? (p(ct.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, i(), 0), Ae === hr && (H.next(), g(H, "'")), me) : (g(H, "'"), me);
13377
+ return Ae === hr || Ae === cs ? (p(dt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, i(), 0), Ae === hr && (H.next(), g(H, "'")), me) : (g(H, "'"), me);
13378
13378
  }
13379
13379
  function X(H) {
13380
13380
  const B = H.currentChar();
@@ -13387,7 +13387,7 @@ function hF(t, e = {}) {
13387
13387
  case "U":
13388
13388
  return re(H, B, 6);
13389
13389
  default:
13390
- return p(ct.UNKNOWN_ESCAPE_SEQUENCE, i(), 0, B), "";
13390
+ return p(dt.UNKNOWN_ESCAPE_SEQUENCE, i(), 0, B), "";
13391
13391
  }
13392
13392
  }
13393
13393
  function re(H, B, me) {
@@ -13396,7 +13396,7 @@ function hF(t, e = {}) {
13396
13396
  for (let Ge = 0; Ge < me; Ge++) {
13397
13397
  const gt = ce(H);
13398
13398
  if (!gt) {
13399
- p(ct.INVALID_UNICODE_ESCAPE_SEQUENCE, i(), 0, `\\${B}${Ae}${H.currentChar()}`);
13399
+ p(dt.INVALID_UNICODE_ESCAPE_SEQUENCE, i(), 0, `\\${B}${Ae}${H.currentChar()}`);
13400
13400
  break;
13401
13401
  }
13402
13402
  Ae += gt;
@@ -13439,35 +13439,35 @@ function hF(t, e = {}) {
13439
13439
  let me = null;
13440
13440
  switch (H.currentChar()) {
13441
13441
  case "{":
13442
- return B.braceNest >= 1 && p(ct.NOT_ALLOW_NEST_PLACEHOLDER, i(), 0), H.next(), me = h(
13442
+ return B.braceNest >= 1 && p(dt.NOT_ALLOW_NEST_PLACEHOLDER, i(), 0), H.next(), me = h(
13443
13443
  B,
13444
13444
  2,
13445
13445
  "{"
13446
13446
  /* TokenChars.BraceLeft */
13447
13447
  ), w(H), B.braceNest++, me;
13448
13448
  case "}":
13449
- return B.braceNest > 0 && B.currentType === 2 && p(ct.EMPTY_PLACEHOLDER, i(), 0), H.next(), me = h(
13449
+ return B.braceNest > 0 && B.currentType === 2 && p(dt.EMPTY_PLACEHOLDER, i(), 0), H.next(), me = h(
13450
13450
  B,
13451
13451
  3,
13452
13452
  "}"
13453
13453
  /* TokenChars.BraceRight */
13454
13454
  ), B.braceNest--, B.braceNest > 0 && w(H), B.inLinked && B.braceNest === 0 && (B.inLinked = !1), me;
13455
13455
  case "@":
13456
- return B.braceNest > 0 && p(ct.UNTERMINATED_CLOSING_BRACE, i(), 0), me = Le(H, B) || m(B), B.braceNest = 0, me;
13456
+ return B.braceNest > 0 && p(dt.UNTERMINATED_CLOSING_BRACE, i(), 0), me = Le(H, B) || m(B), B.braceNest = 0, me;
13457
13457
  default: {
13458
13458
  let Ge = !0, gt = !0, tt = !0;
13459
13459
  if ($(H))
13460
- return B.braceNest > 0 && p(ct.UNTERMINATED_CLOSING_BRACE, i(), 0), me = h(B, 1, qe(H)), B.braceNest = 0, B.inLinked = !1, me;
13460
+ return B.braceNest > 0 && p(dt.UNTERMINATED_CLOSING_BRACE, i(), 0), me = h(B, 1, qe(H)), B.braceNest = 0, B.inLinked = !1, me;
13461
13461
  if (B.braceNest > 0 && (B.currentType === 4 || B.currentType === 5 || B.currentType === 6))
13462
- return p(ct.UNTERMINATED_CLOSING_BRACE, i(), 0), B.braceNest = 0, ot(H, B);
13462
+ return p(dt.UNTERMINATED_CLOSING_BRACE, i(), 0), B.braceNest = 0, ot(H, B);
13463
13463
  if (Ge = S(H, B))
13464
13464
  return me = h(B, 4, Ie(H)), w(H), me;
13465
13465
  if (gt = _(H, B))
13466
- return me = h(B, 5, ut(H)), w(H), me;
13466
+ return me = h(B, 5, ct(H)), w(H), me;
13467
13467
  if (tt = T(H, B))
13468
13468
  return me = h(B, 6, ke(H)), w(H), me;
13469
13469
  if (!Ge && !gt && !tt)
13470
- return me = h(B, 12, he(H)), p(ct.INVALID_TOKEN_IN_PLACEHOLDER, i(), 0, me.value), w(H), me;
13470
+ return me = h(B, 12, he(H)), p(dt.INVALID_TOKEN_IN_PLACEHOLDER, i(), 0, me.value), w(H), me;
13471
13471
  break;
13472
13472
  }
13473
13473
  }
@@ -13477,7 +13477,7 @@ function hF(t, e = {}) {
13477
13477
  const { currentType: me } = B;
13478
13478
  let Ae = null;
13479
13479
  const Ge = H.currentChar();
13480
- switch ((me === 7 || me === 8 || me === 11 || me === 9) && (Ge === hr || Ge === ki) && p(ct.INVALID_LINKED_FORMAT, i(), 0), Ge) {
13480
+ switch ((me === 7 || me === 8 || me === 11 || me === 9) && (Ge === hr || Ge === ki) && p(dt.INVALID_LINKED_FORMAT, i(), 0), Ge) {
13481
13481
  case "@":
13482
13482
  return H.next(), Ae = h(
13483
13483
  B,
@@ -13500,7 +13500,7 @@ function hF(t, e = {}) {
13500
13500
  /* TokenChars.LinkedDelimiter */
13501
13501
  );
13502
13502
  default:
13503
- return $(H) ? (Ae = h(B, 1, qe(H)), B.braceNest = 0, B.inLinked = !1, Ae) : A(H, B) || j(H, B) ? (w(H), Le(H, B)) : R(H, B) ? (w(H), h(B, 11, _e(H))) : W(H, B) ? (w(H), Ge === "{" ? le(H, B) || Ae : h(B, 10, De(H))) : (me === 7 && p(ct.INVALID_LINKED_FORMAT, i(), 0), B.braceNest = 0, B.inLinked = !1, ot(H, B));
13503
+ return $(H) ? (Ae = h(B, 1, qe(H)), B.braceNest = 0, B.inLinked = !1, Ae) : A(H, B) || j(H, B) ? (w(H), Le(H, B)) : R(H, B) ? (w(H), h(B, 11, _e(H))) : W(H, B) ? (w(H), Ge === "{" ? le(H, B) || Ae : h(B, 10, De(H))) : (me === 7 && p(dt.INVALID_LINKED_FORMAT, i(), 0), B.braceNest = 0, B.inLinked = !1, ot(H, B));
13504
13504
  }
13505
13505
  }
13506
13506
  function ot(H, B) {
@@ -13516,7 +13516,7 @@ function hF(t, e = {}) {
13516
13516
  case "{":
13517
13517
  return le(H, B) || m(B);
13518
13518
  case "}":
13519
- return p(ct.UNBALANCED_CLOSING_BRACE, i(), 0), H.next(), h(
13519
+ return p(dt.UNBALANCED_CLOSING_BRACE, i(), 0), H.next(), h(
13520
13520
  B,
13521
13521
  3,
13522
13522
  "}"
@@ -13599,10 +13599,10 @@ function vF(t = {}) {
13599
13599
  }
13600
13600
  function d(x) {
13601
13601
  const E = x.nextToken(), S = x.context(), { lastOffset: _, lastStartLoc: T } = S, A = o(8, _, T);
13602
- return E.type !== 11 ? (r(x, ct.UNEXPECTED_EMPTY_LINKED_MODIFIER, S.lastStartLoc, 0), A.value = "", i(A, _, T), {
13602
+ return E.type !== 11 ? (r(x, dt.UNEXPECTED_EMPTY_LINKED_MODIFIER, S.lastStartLoc, 0), A.value = "", i(A, _, T), {
13603
13603
  nextConsumeToken: E,
13604
13604
  node: A
13605
- }) : (E.value == null && r(x, ct.UNEXPECTED_LEXICAL_ANALYSIS, S.lastStartLoc, 0, Go(E)), A.value = E.value || "", i(A, x.currentOffset(), x.currentPosition()), {
13605
+ }) : (E.value == null && r(x, dt.UNEXPECTED_LEXICAL_ANALYSIS, S.lastStartLoc, 0, Go(E)), A.value = E.value || "", i(A, x.currentOffset(), x.currentPosition()), {
13606
13606
  node: A
13607
13607
  });
13608
13608
  }
@@ -13617,21 +13617,21 @@ function vF(t = {}) {
13617
13617
  const T = d(x);
13618
13618
  S.modifier = T.node, _ = T.nextConsumeToken || x.nextToken();
13619
13619
  }
13620
- switch (_.type !== 9 && r(x, ct.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Go(_)), _ = x.nextToken(), _.type === 2 && (_ = x.nextToken()), _.type) {
13620
+ switch (_.type !== 9 && r(x, dt.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Go(_)), _ = x.nextToken(), _.type === 2 && (_ = x.nextToken()), _.type) {
13621
13621
  case 10:
13622
- _.value == null && r(x, ct.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Go(_)), S.key = p(x, _.value || "");
13622
+ _.value == null && r(x, dt.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Go(_)), S.key = p(x, _.value || "");
13623
13623
  break;
13624
13624
  case 4:
13625
- _.value == null && r(x, ct.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Go(_)), S.key = l(x, _.value || "");
13625
+ _.value == null && r(x, dt.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Go(_)), S.key = l(x, _.value || "");
13626
13626
  break;
13627
13627
  case 5:
13628
- _.value == null && r(x, ct.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Go(_)), S.key = a(x, _.value || "");
13628
+ _.value == null && r(x, dt.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Go(_)), S.key = a(x, _.value || "");
13629
13629
  break;
13630
13630
  case 6:
13631
- _.value == null && r(x, ct.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Go(_)), S.key = u(x, _.value || "");
13631
+ _.value == null && r(x, dt.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Go(_)), S.key = u(x, _.value || "");
13632
13632
  break;
13633
13633
  default: {
13634
- r(x, ct.UNEXPECTED_EMPTY_LINKED_KEY, E.lastStartLoc, 0);
13634
+ r(x, dt.UNEXPECTED_EMPTY_LINKED_KEY, E.lastStartLoc, 0);
13635
13635
  const T = x.context(), A = o(7, T.offset, T.startLoc);
13636
13636
  return A.value = "", i(A, T.offset, T.startLoc), S.key = A, i(S, T.offset, T.startLoc), {
13637
13637
  nextConsumeToken: _,
@@ -13651,16 +13651,16 @@ function vF(t = {}) {
13651
13651
  const W = A || x.nextToken();
13652
13652
  switch (A = null, W.type) {
13653
13653
  case 0:
13654
- W.value == null && r(x, ct.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Go(W)), T.items.push(s(x, W.value || ""));
13654
+ W.value == null && r(x, dt.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Go(W)), T.items.push(s(x, W.value || ""));
13655
13655
  break;
13656
13656
  case 5:
13657
- W.value == null && r(x, ct.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Go(W)), T.items.push(a(x, W.value || ""));
13657
+ W.value == null && r(x, dt.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Go(W)), T.items.push(a(x, W.value || ""));
13658
13658
  break;
13659
13659
  case 4:
13660
- W.value == null && r(x, ct.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Go(W)), T.items.push(l(x, W.value || ""));
13660
+ W.value == null && r(x, dt.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Go(W)), T.items.push(l(x, W.value || ""));
13661
13661
  break;
13662
13662
  case 6:
13663
- W.value == null && r(x, ct.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Go(W)), T.items.push(u(x, W.value || ""));
13663
+ W.value == null && r(x, dt.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Go(W)), T.items.push(u(x, W.value || ""));
13664
13664
  break;
13665
13665
  case 7: {
13666
13666
  const $ = h(x);
@@ -13681,7 +13681,7 @@ function vF(t = {}) {
13681
13681
  const j = m(x);
13682
13682
  A || (A = j.items.length === 0), R.cases.push(j);
13683
13683
  } while (T.currentType !== 13);
13684
- return A && r(x, ct.MUST_HAVE_MESSAGES_IN_PLURAL, S, 0), i(R, x.currentOffset(), x.currentPosition()), R;
13684
+ return A && r(x, dt.MUST_HAVE_MESSAGES_IN_PLURAL, S, 0), i(R, x.currentOffset(), x.currentPosition()), R;
13685
13685
  }
13686
13686
  function y(x) {
13687
13687
  const E = x.context(), { offset: S, startLoc: _ } = E, T = m(x);
@@ -13689,7 +13689,7 @@ function vF(t = {}) {
13689
13689
  }
13690
13690
  function w(x) {
13691
13691
  const E = hF(x, Pn({}, t)), S = E.context(), _ = o(0, S.offset, S.startLoc);
13692
- return e && _.loc && (_.loc.source = x), _.body = y(E), t.onCacheKey && (_.cacheKey = t.onCacheKey(x)), S.currentType !== 13 && r(E, ct.UNEXPECTED_LEXICAL_ANALYSIS, S.lastStartLoc, 0, x[S.offset] || ""), i(_, E.currentOffset(), E.currentPosition()), _;
13692
+ return e && _.loc && (_.loc.source = x), _.body = y(E), t.onCacheKey && (_.cacheKey = t.onCacheKey(x)), S.currentType !== 13 && r(E, dt.UNEXPECTED_LEXICAL_ANALYSIS, S.lastStartLoc, 0, x[S.offset] || ""), i(_, E.currentOffset(), E.currentPosition()), _;
13693
13693
  }
13694
13694
  return { parse: w };
13695
13695
  }
@@ -13832,7 +13832,7 @@ function vl(t) {
13832
13832
  }
13833
13833
  default:
13834
13834
  if (process.env.NODE_ENV !== "production")
13835
- throw Ql(ct.UNHANDLED_MINIFIER_NODE_TYPE, null, {
13835
+ throw Ql(dt.UNHANDLED_MINIFIER_NODE_TYPE, null, {
13836
13836
  domain: _F,
13837
13837
  args: [t.type]
13838
13838
  });
@@ -13963,7 +13963,7 @@ function Dl(t, e) {
13963
13963
  break;
13964
13964
  default:
13965
13965
  if (process.env.NODE_ENV !== "production")
13966
- throw Ql(ct.UNHANDLED_CODEGEN_NODE_TYPE, null, {
13966
+ throw Ql(dt.UNHANDLED_CODEGEN_NODE_TYPE, null, {
13967
13967
  domain: EF,
13968
13968
  args: [e.type]
13969
13969
  });
@@ -14891,14 +14891,14 @@ function z4(t, ...e) {
14891
14891
  return _;
14892
14892
  const W = $$(t, E, S, u), $ = I$(W), K = P$(t, j, $), ne = r ? r(K, l) : K;
14893
14893
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
14894
- const xe = {
14894
+ const we = {
14895
14895
  timestamp: Date.now(),
14896
14896
  key: Be(l) ? l : po(_) ? _.key : "",
14897
14897
  locale: E || (po(_) ? _.locale : ""),
14898
14898
  format: Be(_) ? _ : po(_) ? _.source : "",
14899
14899
  message: ne
14900
14900
  };
14901
- xe.meta = Pn({}, t.__meta, /* @__PURE__ */ E$() || {}), e$(xe);
14901
+ we.meta = Pn({}, t.__meta, /* @__PURE__ */ E$() || {}), e$(we);
14902
14902
  }
14903
14903
  return ne;
14904
14904
  }
@@ -15345,7 +15345,7 @@ function Wb(t = {}) {
15345
15345
  set: (ie) => {
15346
15346
  l.value = ie, R.fallbackLocale = l.value, Pu(R, a.value, ie);
15347
15347
  }
15348
- }), ne = Y(() => u.value), xe = /* @__PURE__ */ Y(() => d.value), Ne = /* @__PURE__ */ Y(() => p.value);
15348
+ }), ne = Y(() => u.value), we = /* @__PURE__ */ Y(() => d.value), Ne = /* @__PURE__ */ Y(() => p.value);
15349
15349
  function q() {
15350
15350
  return nn(E) ? E : null;
15351
15351
  }
@@ -15403,7 +15403,7 @@ function Wb(t = {}) {
15403
15403
  function Ie(...ie) {
15404
15404
  return ce((Ee) => Reflect.apply(D4, null, [Ee, ...ie]), () => K1(...ie), "datetime format", (Ee) => Reflect.apply(Ee.d, Ee, [...ie]), () => Qf, (Ee) => Be(Ee));
15405
15405
  }
15406
- function ut(...ie) {
15406
+ function ct(...ie) {
15407
15407
  return ce((Ee) => Reflect.apply(B4, null, [Ee, ...ie]), () => G1(...ie), "number format", (Ee) => Reflect.apply(Ee.n, Ee, [...ie]), () => Qf, (Ee) => Be(Ee));
15408
15408
  }
15409
15409
  function Ue(ie) {
@@ -15571,7 +15571,7 @@ function Wb(t = {}) {
15571
15571
  setMissingHandler: Q,
15572
15572
  [U5]: _e
15573
15573
  };
15574
- return tt.datetimeFormats = xe, tt.numberFormats = Ne, tt.rt = Re, tt.te = De, tt.tm = le, tt.d = Ie, tt.n = ut, tt.getDateTimeFormat = H, tt.setDateTimeFormat = B, tt.mergeDateTimeFormat = me, tt.getNumberFormat = Ae, tt.setNumberFormat = Ge, tt.mergeNumberFormat = gt, tt[W5] = n, tt[Y1] = re, tt[Z1] = he, tt[Q1] = pe, process.env.NODE_ENV !== "production" && (tt[Sa] = (ie) => {
15574
+ return tt.datetimeFormats = we, tt.numberFormats = Ne, tt.rt = Re, tt.te = De, tt.tm = le, tt.d = Ie, tt.n = ct, tt.getDateTimeFormat = H, tt.setDateTimeFormat = B, tt.mergeDateTimeFormat = me, tt.getNumberFormat = Ae, tt.setNumberFormat = Ge, tt.mergeNumberFormat = gt, tt[W5] = n, tt[Y1] = re, tt[Z1] = he, tt[Q1] = pe, process.env.NODE_ENV !== "production" && (tt[Sa] = (ie) => {
15575
15575
  R.__v_emitter = ie;
15576
15576
  }, tt[yc] = () => {
15577
15577
  R.__v_emitter = void 0;
@@ -16514,14 +16514,14 @@ const IH = { class: "flex gap-2 items-center overflow-x-auto overflow-y-hidden"
16514
16514
  }
16515
16515
  return n.mode !== "editor" ? u.filter((d) => d.id && r.includes(d.id)) : u;
16516
16516
  }), i = (a) => a.id === "spellchecker" ? "!text-[#2977D9] border border-gray-300 bg-[#F2F2F7] hover:!bg-gray-200 rounded-none [&>div>svg]:w-[19px] [&>div>svg]:h-[19px] p-0 w-[26px] h-[26px]" : a.button.componentProps.customClass, s = (a) => a.id === "spellchecker" ? "Spellchecker" : a.button.componentProps.icon;
16517
- return (a, l) => (M(), we("div", {
16517
+ return (a, l) => (M(), xe("div", {
16518
16518
  id: "tool-bar",
16519
- class: lt(v(Qe)("z-10", v(mc)() && "top-16"))
16519
+ class: ut(v(Qe)("z-10", v(mc)() && "top-16"))
16520
16520
  }, [
16521
16521
  te("div", IH, [
16522
- (M(!0), we(et, null, $t(o.value, (u, d) => {
16522
+ (M(!0), xe(et, null, $t(o.value, (u, d) => {
16523
16523
  var p;
16524
- return M(), we(et, { key: d }, [
16524
+ return M(), xe(et, { key: d }, [
16525
16525
  u.spacer && d !== 0 ? (M(), P(v(Vi), {
16526
16526
  key: 0,
16527
16527
  orientation: "vertical",
@@ -16702,9 +16702,9 @@ const IH = { class: "flex gap-2 items-center overflow-x-auto overflow-y-hidden"
16702
16702
  passive: !0,
16703
16703
  defaultValue: n.defaultValue
16704
16704
  });
16705
- return (i, s) => Lo((M(), we("input", {
16705
+ return (i, s) => Lo((M(), xe("input", {
16706
16706
  "onUpdate:modelValue": s[0] || (s[0] = (a) => Qp(o) ? o.value = a : null),
16707
- class: lt(
16707
+ class: ut(
16708
16708
  v(Qe)(
16709
16709
  "flex h-9 w-full rounded-md border border-ed-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-ed-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ed-ring disabled:cursor-not-allowed disabled:opacity-50",
16710
16710
  n.class
@@ -18224,7 +18224,7 @@ const Pz = {
18224
18224
  const e = t, n = Y(() => FH[e.name]);
18225
18225
  return n.value || console.error(`Icon ${e.name} not found`), (r, o) => (M(), P(v(f_), {
18226
18226
  icon: n.value,
18227
- class: lt(v(Qe)("w-4 h-4", e.class))
18227
+ class: ut(v(Qe)("w-4 h-4", e.class))
18228
18228
  }, null, 8, ["icon", "class"]));
18229
18229
  }
18230
18230
  });
@@ -18406,7 +18406,7 @@ const Bz = { key: 0 }, Fz = {
18406
18406
  I(v(ru), { "delay-duration": 0 }, {
18407
18407
  default: O(() => [
18408
18408
  I(v(ou), {
18409
- class: lt(e.customClassTooltip)
18409
+ class: ut(e.customClassTooltip)
18410
18410
  }, {
18411
18411
  default: O(() => {
18412
18412
  var r;
@@ -18414,27 +18414,27 @@ const Bz = { key: 0 }, Fz = {
18414
18414
  I(v(Q5), {
18415
18415
  id: `action-btn-${e.id}`,
18416
18416
  size: "sm",
18417
- class: lt(["h-[32px]", v(Qe)([e.customClass], { hidden: e.hidden })]),
18417
+ class: ut(["h-[32px]", v(Qe)([e.customClass], { hidden: e.hidden })]),
18418
18418
  pressed: ((r = e.isActive) == null ? void 0 : r.call(e)) || !1,
18419
18419
  disabled: e.disabled,
18420
18420
  onClick: e.action
18421
18421
  }, {
18422
18422
  default: O(() => [
18423
- e.loading ? (M(), we("div", Bz, [
18423
+ e.loading ? (M(), xe("div", Bz, [
18424
18424
  I(v(hn), {
18425
18425
  class: "animate-spin",
18426
18426
  name: "LoaderCircle"
18427
18427
  })
18428
- ])) : e.icon || e.$slots.icon ? (M(), we("div", Fz, [
18428
+ ])) : e.icon || e.$slots.icon ? (M(), xe("div", Fz, [
18429
18429
  e.icon ? (M(), P(v(hn), {
18430
18430
  key: 0,
18431
18431
  name: e.icon,
18432
- class: lt(e.iconClass)
18432
+ class: ut(e.iconClass)
18433
18433
  }, null, 8, ["name", "class"])) : He("", !0),
18434
18434
  ee(e.$slots, "icon")
18435
18435
  ])) : He("", !0),
18436
18436
  ee(e.$slots, "default"),
18437
- e.title ? (M(), we("span", $z, Fe(e.title), 1)) : He("", !0)
18437
+ e.title ? (M(), xe("span", $z, Fe(e.title), 1)) : He("", !0)
18438
18438
  ]),
18439
18439
  _: 3
18440
18440
  }, 8, ["id", "pressed", "disabled", "class", "onClick"])
@@ -18446,8 +18446,8 @@ const Bz = { key: 0 }, Fz = {
18446
18446
  default: O(() => [
18447
18447
  te("div", Hz, [
18448
18448
  te("div", null, Fe(e.tooltip), 1),
18449
- e.shortcutKeys && e.shortcutKeys.length ? (M(), we("div", zz, [
18450
- (M(!0), we(et, null, $t(e.shortcutKeys, (r, o) => (M(), we("span", { key: o }, Fe(v(Sh)(r)), 1))), 128))
18449
+ e.shortcutKeys && e.shortcutKeys.length ? (M(), xe("div", zz, [
18450
+ (M(!0), xe(et, null, $t(e.shortcutKeys, (r, o) => (M(), xe("span", { key: o }, Fe(v(Sh)(r)), 1))), 128))
18451
18451
  ])) : He("", !0)
18452
18452
  ])
18453
18453
  ]),
@@ -31029,8 +31029,8 @@ function E8(t) {
31029
31029
  y
31030
31030
  };
31031
31031
  if (m = ne.x, y = ne.y, l) {
31032
- var xe;
31033
- return Object.assign({}, K, (xe = {}, xe[_] = E ? "0" : "", xe[S] = x ? "0" : "", xe.transform = (T.devicePixelRatio || 1) <= 1 ? "translate(" + m + "px, " + y + "px)" : "translate3d(" + m + "px, " + y + "px, 0)", xe));
31032
+ var we;
31033
+ return Object.assign({}, K, (we = {}, we[_] = E ? "0" : "", we[S] = x ? "0" : "", we.transform = (T.devicePixelRatio || 1) <= 1 ? "translate(" + m + "px, " + y + "px)" : "translate3d(" + m + "px, " + y + "px, 0)", we));
31034
31034
  }
31035
31035
  return Object.assign({}, K, (e = {}, e[_] = E ? y + "px" : "", e[S] = x ? m + "px" : "", e.transform = "", e));
31036
31036
  }
@@ -31244,9 +31244,9 @@ function Lc(t, e) {
31244
31244
  }, K = t.modifiersData.offset;
31245
31245
  if (h === Hu && K) {
31246
31246
  var ne = K[o];
31247
- Object.keys($).forEach(function(xe) {
31248
- var Ne = [wo, yo].indexOf(xe) >= 0 ? 1 : -1, q = [Lr, yo].indexOf(xe) >= 0 ? "y" : "x";
31249
- $[xe] += ne[q] * Ne;
31247
+ Object.keys($).forEach(function(we) {
31248
+ var Ne = [wo, yo].indexOf(we) >= 0 ? 1 : -1, q = [Lr, yo].indexOf(we) >= 0 ? "y" : "x";
31249
+ $[we] += ne[q] * Ne;
31250
31250
  });
31251
31251
  }
31252
31252
  return $;
@@ -31280,8 +31280,8 @@ function hK(t) {
31280
31280
  function mK(t) {
31281
31281
  var e = t.state, n = t.options, r = t.name;
31282
31282
  if (!e.modifiersData[r]._skip) {
31283
- for (var o = n.mainAxis, i = o === void 0 ? !0 : o, s = n.altAxis, a = s === void 0 ? !0 : s, l = n.fallbackPlacements, u = n.padding, d = n.boundary, p = n.rootBoundary, h = n.altBoundary, m = n.flipVariations, g = m === void 0 ? !0 : m, y = n.allowedAutoPlacements, w = e.options.placement, x = ri(w), E = x === w, S = l || (E || !g ? [Pf(w)] : hK(w)), _ = [w].concat(S).reduce(function(ut, Ue) {
31284
- return ut.concat(ri(Ue) === S2 ? pK(e, {
31283
+ for (var o = n.mainAxis, i = o === void 0 ? !0 : o, s = n.altAxis, a = s === void 0 ? !0 : s, l = n.fallbackPlacements, u = n.padding, d = n.boundary, p = n.rootBoundary, h = n.altBoundary, m = n.flipVariations, g = m === void 0 ? !0 : m, y = n.allowedAutoPlacements, w = e.options.placement, x = ri(w), E = x === w, S = l || (E || !g ? [Pf(w)] : hK(w)), _ = [w].concat(S).reduce(function(ct, Ue) {
31284
+ return ct.concat(ri(Ue) === S2 ? pK(e, {
31285
31285
  placement: Ue,
31286
31286
  boundary: d,
31287
31287
  rootBoundary: p,
@@ -31290,17 +31290,17 @@ function mK(t) {
31290
31290
  allowedAutoPlacements: y
31291
31291
  }) : Ue);
31292
31292
  }, []), T = e.rects.reference, A = e.rects.popper, R = /* @__PURE__ */ new Map(), j = !0, W = _[0], $ = 0; $ < _.length; $++) {
31293
- var K = _[$], ne = ri(K), xe = ql(K) === Ul, Ne = [Lr, yo].indexOf(ne) >= 0, q = Ne ? "width" : "height", G = Lc(e, {
31293
+ var K = _[$], ne = ri(K), we = ql(K) === Ul, Ne = [Lr, yo].indexOf(ne) >= 0, q = Ne ? "width" : "height", G = Lc(e, {
31294
31294
  placement: K,
31295
31295
  boundary: d,
31296
31296
  rootBoundary: p,
31297
31297
  altBoundary: h,
31298
31298
  padding: u
31299
- }), D = Ne ? xe ? wo : Ir : xe ? yo : Lr;
31299
+ }), D = Ne ? we ? wo : Ir : we ? yo : Lr;
31300
31300
  T[q] > A[q] && (D = Pf(D));
31301
31301
  var Q = Pf(D), se = [];
31302
- if (i && se.push(G[ne] <= 0), a && se.push(G[D] <= 0, G[Q] <= 0), se.every(function(ut) {
31303
- return ut;
31302
+ if (i && se.push(G[ne] <= 0), a && se.push(G[D] <= 0, G[Q] <= 0), se.every(function(ct) {
31303
+ return ct;
31304
31304
  })) {
31305
31305
  W = K, j = !1;
31306
31306
  break;
@@ -31437,10 +31437,10 @@ function SK(t) {
31437
31437
  };
31438
31438
  if (A) {
31439
31439
  if (i) {
31440
- var xe, Ne = _ === "y" ? Lr : Ir, q = _ === "y" ? yo : wo, G = _ === "y" ? "height" : "width", D = A[_], Q = D + w[Ne], se = D - w[q], ce = m ? -j[G] / 2 : 0, fe = E === Ul ? R[G] : j[G], Re = E === Ul ? -j[G] : -R[G], Ie = e.elements.arrow, ut = m && Ie ? k2(Ie) : {
31440
+ var we, Ne = _ === "y" ? Lr : Ir, q = _ === "y" ? yo : wo, G = _ === "y" ? "height" : "width", D = A[_], Q = D + w[Ne], se = D - w[q], ce = m ? -j[G] / 2 : 0, fe = E === Ul ? R[G] : j[G], Re = E === Ul ? -j[G] : -R[G], Ie = e.elements.arrow, ct = m && Ie ? k2(Ie) : {
31441
31441
  width: 0,
31442
31442
  height: 0
31443
- }, Ue = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : sC(), ke = Ue[Ne], X = Ue[q], re = Qu(0, R[G], ut[G]), pe = S ? R[G] / 2 - ce - re - ke - $.mainAxis : fe - re - ke - $.mainAxis, he = S ? -R[G] / 2 + ce + re + X + $.mainAxis : Re + re + X + $.mainAxis, _e = e.elements.arrow && td(e.elements.arrow), De = _e ? _ === "y" ? _e.clientTop || 0 : _e.clientLeft || 0 : 0, qe = (xe = K == null ? void 0 : K[_]) != null ? xe : 0, le = D + pe - qe - De, Le = D + he - qe, ot = Qu(m ? hp(Q, le) : Q, D, m ? va(se, Le) : se);
31443
+ }, Ue = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : sC(), ke = Ue[Ne], X = Ue[q], re = Qu(0, R[G], ct[G]), pe = S ? R[G] / 2 - ce - re - ke - $.mainAxis : fe - re - ke - $.mainAxis, he = S ? -R[G] / 2 + ce + re + X + $.mainAxis : Re + re + X + $.mainAxis, _e = e.elements.arrow && td(e.elements.arrow), De = _e ? _ === "y" ? _e.clientTop || 0 : _e.clientLeft || 0 : 0, qe = (we = K == null ? void 0 : K[_]) != null ? we : 0, le = D + pe - qe - De, Le = D + he - qe, ot = Qu(m ? hp(Q, le) : Q, D, m ? va(se, Le) : se);
31444
31444
  A[_] = ot, ne[_] = ot - D;
31445
31445
  }
31446
31446
  if (a) {
@@ -32067,11 +32067,11 @@ function dG(t, e) {
32067
32067
  var ue;
32068
32068
  return !!((ue = _.props.render) != null && ue.$$tippy);
32069
32069
  }
32070
- function xe() {
32070
+ function we() {
32071
32071
  return y || t;
32072
32072
  }
32073
32073
  function Ne() {
32074
- var ue = xe().parentNode;
32074
+ var ue = we().parentNode;
32075
32075
  return ue ? JK(ue) : document;
32076
32076
  }
32077
32077
  function q() {
@@ -32110,7 +32110,7 @@ function dG(t, e) {
32110
32110
  if (!(W || !_.props.aria.expanded)) {
32111
32111
  var ue = xl(_.props.triggerTarget || t);
32112
32112
  ue.forEach(function(We) {
32113
- _.props.interactive ? We.setAttribute("aria-expanded", _.state.isVisible && We === xe() ? "true" : "false") : We.removeAttribute("aria-expanded");
32113
+ _.props.interactive ? We.setAttribute("aria-expanded", _.state.isVisible && We === we() ? "true" : "false") : We.removeAttribute("aria-expanded");
32114
32114
  });
32115
32115
  }
32116
32116
  }
@@ -32139,16 +32139,16 @@ function dG(t, e) {
32139
32139
  function Ie() {
32140
32140
  l = !0;
32141
32141
  }
32142
- function ut() {
32142
+ function ct() {
32143
32143
  l = !1;
32144
32144
  }
32145
32145
  function Ue() {
32146
32146
  var ue = Ne();
32147
- ue.addEventListener("mousedown", Re, !0), ue.addEventListener("touchend", Re, oa), ue.addEventListener("touchstart", ut, oa), ue.addEventListener("touchmove", Ie, oa);
32147
+ ue.addEventListener("mousedown", Re, !0), ue.addEventListener("touchend", Re, oa), ue.addEventListener("touchstart", ct, oa), ue.addEventListener("touchmove", Ie, oa);
32148
32148
  }
32149
32149
  function ke() {
32150
32150
  var ue = Ne();
32151
- ue.removeEventListener("mousedown", Re, !0), ue.removeEventListener("touchend", Re, oa), ue.removeEventListener("touchstart", ut, oa), ue.removeEventListener("touchmove", Ie, oa);
32151
+ ue.removeEventListener("mousedown", Re, !0), ue.removeEventListener("touchend", Re, oa), ue.removeEventListener("touchstart", ct, oa), ue.removeEventListener("touchmove", Ie, oa);
32152
32152
  }
32153
32153
  function X(ue, We) {
32154
32154
  pe(ue, function() {
@@ -32215,7 +32215,7 @@ function dG(t, e) {
32215
32215
  }
32216
32216
  }
32217
32217
  function le(ue) {
32218
- var We = ue.target, nt = xe().contains(We) || A.contains(We);
32218
+ var We = ue.target, nt = we().contains(We) || A.contains(We);
32219
32219
  if (!(ue.type === "mousemove" && nt)) {
32220
32220
  var Bt = Ae().concat(A).map(function(Rt) {
32221
32221
  var Wn, Sr = Rt._tippy, hi = (Wn = Sr.popperInstance) == null ? void 0 : Wn.state;
@@ -32239,7 +32239,7 @@ function dG(t, e) {
32239
32239
  }
32240
32240
  }
32241
32241
  function ot(ue) {
32242
- _.props.trigger.indexOf("focusin") < 0 && ue.target !== xe() || _.props.interactive && ue.relatedTarget && A.contains(ue.relatedTarget) || gt(ue);
32242
+ _.props.trigger.indexOf("focusin") < 0 && ue.target !== we() || _.props.interactive && ue.relatedTarget && A.contains(ue.relatedTarget) || gt(ue);
32243
32243
  }
32244
32244
  function Ht(ue) {
32245
32245
  return Qo.isTouch ? K() !== ue.type.indexOf("touch") >= 0 : !1;
@@ -32248,7 +32248,7 @@ function dG(t, e) {
32248
32248
  B();
32249
32249
  var ue = _.props, We = ue.popperOptions, nt = ue.placement, Bt = ue.offset, Rt = ue.getReferenceClientRect, Wn = ue.moveTransition, Sr = ne() ? Dg(A).arrow : null, hi = Rt ? {
32250
32250
  getBoundingClientRect: Rt,
32251
- contextElement: Rt.contextElement || xe()
32251
+ contextElement: Rt.contextElement || we()
32252
32252
  } : t, gu = {
32253
32253
  name: "$$tippy",
32254
32254
  enabled: !0,
@@ -32305,7 +32305,7 @@ function dG(t, e) {
32305
32305
  _.popperInstance && (_.popperInstance.destroy(), _.popperInstance = null);
32306
32306
  }
32307
32307
  function me() {
32308
- var ue = _.props.appendTo, We, nt = xe();
32308
+ var ue = _.props.appendTo, We, nt = we();
32309
32309
  _.props.interactive && ue === hC || ue === "parent" ? We = nt.parentNode : We = mC(ue, [nt]), We.contains(A) || We.appendChild(A), _.state.isMounted = !0, H(), process.env.NODE_ENV !== "production" && Ii(_.props.interactive && ue === qr.appendTo && nt.nextElementSibling !== A, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
32310
32310
 
32311
32311
  `, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
@@ -32368,7 +32368,7 @@ function dG(t, e) {
32368
32368
  function Xe() {
32369
32369
  process.env.NODE_ENV !== "production" && Ii(_.state.isDestroyed, pl("show"));
32370
32370
  var ue = _.state.isVisible, We = _.state.isDestroyed, nt = !_.state.isEnabled, Bt = Qo.isTouch && !_.props.touch, Rt = r1(_.props.duration, 0, qr.duration);
32371
- if (!(ue || We || nt || Bt) && !xe().hasAttribute("disabled") && (Q("onShow", [_], !1), _.props.onShow(_) !== !1)) {
32371
+ if (!(ue || We || nt || Bt) && !we().hasAttribute("disabled") && (Q("onShow", [_], !1), _.props.onShow(_) !== !1)) {
32372
32372
  if (_.state.isVisible = !0, ne() && (A.style.visibility = "visible"), D(), Ue(), _.state.isMounted || (A.style.transition = "none"), ne()) {
32373
32373
  var Wn = q(), Sr = Wn.box, hi = Wn.content;
32374
32374
  o1([Sr, hi], 0);
@@ -33197,7 +33197,7 @@ const TC = (t, e) => {
33197
33197
  Qc(_, T);
33198
33198
  }
33199
33199
  return (_, T) => {
33200
- const A = at, R = Vi, j = nu, W = Af, $ = Pl, K = _c, ne = Gb, xe = Kb, Ne = tu, q = eu;
33200
+ const A = at, R = Vi, j = nu, W = Af, $ = Pl, K = _c, ne = Gb, we = Kb, Ne = tu, q = eu;
33201
33201
  return M(), P(v(qh), {
33202
33202
  editor: _.editor,
33203
33203
  "plugin-key": "image-menus-123",
@@ -33251,7 +33251,7 @@ const TC = (t, e) => {
33251
33251
  class: "whitespace-nowrap"
33252
33252
  }, {
33253
33253
  default: O(() => [
33254
- dt(Fe(v(n)("editor.image.menu.size.width")), 1)
33254
+ lt(Fe(v(n)("editor.image.menu.size.width")), 1)
33255
33255
  ]),
33256
33256
  _: 1
33257
33257
  }),
@@ -33269,7 +33269,7 @@ const TC = (t, e) => {
33269
33269
  class: "whitespace-nowrap"
33270
33270
  }, {
33271
33271
  default: O(() => [
33272
- dt(Fe(v(n)("editor.image.menu.size.height")), 1)
33272
+ lt(Fe(v(n)("editor.image.menu.size.height")), 1)
33273
33273
  ]),
33274
33274
  _: 1
33275
33275
  }),
@@ -33284,7 +33284,7 @@ const TC = (t, e) => {
33284
33284
  }, null, 8, ["modelValue"])
33285
33285
  ]),
33286
33286
  te("div", yG, [
33287
- I(xe, {
33287
+ I(we, {
33288
33288
  "model-value": r.value,
33289
33289
  "onUpdate:modelValue": [
33290
33290
  T[2] || (T[2] = (G) => r.value = G),
@@ -33296,12 +33296,12 @@ const TC = (t, e) => {
33296
33296
  default: O(() => [
33297
33297
  I(ne, null, {
33298
33298
  default: O(() => [
33299
- (M(), we(et, null, $t(["25", "50", "75", "100"], (G) => I(K, {
33299
+ (M(), xe(et, null, $t(["25", "50", "75", "100"], (G) => I(K, {
33300
33300
  key: G,
33301
33301
  value: G
33302
33302
  }, {
33303
33303
  default: O(() => [
33304
- dt(Fe(G) + "% ", 1)
33304
+ lt(Fe(G) + "% ", 1)
33305
33305
  ]),
33306
33306
  _: 2
33307
33307
  }, 1032, ["value"])), 64))
@@ -33322,7 +33322,7 @@ const TC = (t, e) => {
33322
33322
  orientation: "vertical",
33323
33323
  class: "mx-1 me-2 h-[16px]"
33324
33324
  }),
33325
- (M(), we(et, null, $t(a, (G, D) => I(A, {
33325
+ (M(), xe(et, null, $t(a, (G, D) => I(A, {
33326
33326
  key: D,
33327
33327
  tooltip: v(n)(`editor.textalign.${G}.tooltip`),
33328
33328
  icon: l[G],
@@ -33362,7 +33362,7 @@ const TC = (t, e) => {
33362
33362
  return (n, r) => (M(), P(v(ft), {
33363
33363
  as: n.as,
33364
33364
  "as-child": n.asChild,
33365
- class: lt(v(Qe)(v(wG)({ variant: n.variant, size: n.size }), e.class))
33365
+ class: ut(v(Qe)(v(wG)({ variant: n.variant, size: n.size }), e.class))
33366
33366
  }, {
33367
33367
  default: O(() => [
33368
33368
  ee(n.$slots, "default")
@@ -33581,20 +33581,20 @@ const TG = { class: "flex flex-col" }, kG = { class: "w-6 h-6 p-0.5 inline-block
33581
33581
  }, {
33582
33582
  default: O(() => [
33583
33583
  te("div", TG, [
33584
- h.highlight ? (M(), we("div", {
33584
+ h.highlight ? (M(), xe("div", {
33585
33585
  key: 0,
33586
33586
  class: "flex items-center p-1 cursor-pointer rd-1 hover:bg-ed-accent",
33587
33587
  onClick: m[0] || (m[0] = (g) => d(void 0))
33588
33588
  }, [
33589
33589
  te("span", kG, [
33590
33590
  te("span", AG, [
33591
- (M(), we("svg", OG, m[3] || (m[3] = [
33591
+ (M(), xe("svg", OG, m[3] || (m[3] = [
33592
33592
  te("path", { d: "M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z" }, null, -1)
33593
33593
  ])))
33594
33594
  ])
33595
33595
  ]),
33596
33596
  te("span", MG, Fe(v(n)("editor.nofill")), 1)
33597
- ])) : (M(), we("div", {
33597
+ ])) : (M(), xe("div", {
33598
33598
  key: 1,
33599
33599
  class: "flex items-center p-1 cursor-pointer rd-1 hover:bg-ed-accent",
33600
33600
  onClick: m[1] || (m[1] = (g) => d(void 0))
@@ -33604,18 +33604,18 @@ const TG = { class: "flex flex-col" }, kG = { class: "w-6 h-6 p-0.5 inline-block
33604
33604
  style: Xt({ backgroundColor: v(EG) }),
33605
33605
  class: "relative w-[18px] h-[18px] block rounded-[2px] border-transparent"
33606
33606
  }, [
33607
- (M(), we("svg", RG, m[4] || (m[4] = [
33607
+ (M(), xe("svg", RG, m[4] || (m[4] = [
33608
33608
  te("path", { d: "M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z" }, null, -1)
33609
33609
  ])))
33610
33610
  ], 4)
33611
33611
  ]),
33612
33612
  te("span", LG, Fe(v(n)("editor.default")), 1)
33613
33613
  ])),
33614
- (M(!0), we(et, null, $t(v(r), (g, y) => (M(), we("span", {
33614
+ (M(!0), xe(et, null, $t(v(r), (g, y) => (M(), xe("span", {
33615
33615
  key: y,
33616
33616
  class: "relative flex w-full h-auto p-0 last:pb-2"
33617
33617
  }, [
33618
- (M(!0), we(et, null, $t(g, (w, x) => (M(), we("span", {
33618
+ (M(!0), xe(et, null, $t(g, (w, x) => (M(), xe("span", {
33619
33619
  key: x,
33620
33620
  class: "w-6 h-6 p-0.5 inline-block rounded-sm border border-transparent flex-[0 0 auto] cursor-pointer hover:border-ed-border hover:shadow-sm",
33621
33621
  onClick: (E) => d(w)
@@ -33624,9 +33624,9 @@ const TG = { class: "flex flex-col" }, kG = { class: "w-6 h-6 p-0.5 inline-block
33624
33624
  style: Xt({ backgroundColor: w }),
33625
33625
  class: "relative w-[18px] h-[18px] block rounded-[2px] border-transparent"
33626
33626
  }, [
33627
- w !== h.modelValue ? (M(), we("svg", DG, m[5] || (m[5] = [
33627
+ w !== h.modelValue ? (M(), xe("svg", DG, m[5] || (m[5] = [
33628
33628
  te("path", { d: "M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z" }, null, -1)
33629
- ]))) : (M(), we("svg", PG, m[6] || (m[6] = [
33629
+ ]))) : (M(), xe("svg", PG, m[6] || (m[6] = [
33630
33630
  te("path", { d: "M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z" }, null, -1)
33631
33631
  ])))
33632
33632
  ], 4)
@@ -33635,7 +33635,7 @@ const TG = { class: "flex flex-col" }, kG = { class: "w-6 h-6 p-0.5 inline-block
33635
33635
  Lo(te("div", null, [
33636
33636
  te("div", BG, Fe(v(n)("editor.recent")), 1),
33637
33637
  te("span", FG, [
33638
- (M(!0), we(et, null, $t(u.value, (g, y) => (M(), we("span", {
33638
+ (M(!0), xe(et, null, $t(u.value, (g, y) => (M(), xe("span", {
33639
33639
  key: y,
33640
33640
  class: "w-6 h-6 p-0.5 inline-block rounded-sm border border-transparent flex-[0 0 auto] cursor-pointer hover:border-ed-border hover:shadow-sm",
33641
33641
  onClick: (w) => d(g)
@@ -33644,7 +33644,7 @@ const TG = { class: "flex flex-col" }, kG = { class: "w-6 h-6 p-0.5 inline-block
33644
33644
  class: "relative w-[18px] h-[18px] block rounded-[2px] border-transparent",
33645
33645
  style: Xt({ backgroundColor: g })
33646
33646
  }, [
33647
- (M(), we("svg", HG, m[7] || (m[7] = [
33647
+ (M(), xe("svg", HG, m[7] || (m[7] = [
33648
33648
  te("path", { d: "M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z" }, null, -1)
33649
33649
  ])))
33650
33650
  ], 4)
@@ -35464,7 +35464,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), fe = D, ce = Q), se =
35464
35464
  }
35465
35465
  Xe += Ge.substring(ge), Ae.addText(Xe);
35466
35466
  }
35467
- function ut() {
35467
+ function ct() {
35468
35468
  if (Ge === "") return;
35469
35469
  let ge = null;
35470
35470
  if (typeof B.subLanguage == "string") {
@@ -35479,7 +35479,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), fe = D, ce = Q), se =
35479
35479
  B.relevance > 0 && (gt += ge.relevance), Ae.__addSublanguage(ge._emitter, ge.language);
35480
35480
  }
35481
35481
  function Ue() {
35482
- B.subLanguage != null ? ut() : Ie(), Ge = "";
35482
+ B.subLanguage != null ? ct() : Ie(), Ge = "";
35483
35483
  }
35484
35484
  function ke(ge, Te) {
35485
35485
  ge !== "" && (Ae.startScope(Te), Ae.addText(ge), Ae.endScope());
@@ -35653,8 +35653,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`), fe = D, ce = Q), se =
35653
35653
  return -1;
35654
35654
  }
35655
35655
  return 0;
35656
- }), [Re, Ie] = fe, ut = Re;
35657
- return ut.secondBest = Ie, ut;
35656
+ }), [Re, Ie] = fe, ct = Re;
35657
+ return ct.secondBest = Ie, ct;
35658
35658
  }
35659
35659
  function g(D, Q, se) {
35660
35660
  const ce = Q && n[Q] || se;
@@ -35753,7 +35753,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), fe = D, ce = Q), se =
35753
35753
  );
35754
35754
  });
35755
35755
  }
35756
- function xe(D) {
35756
+ function we(D) {
35757
35757
  ne(D), r.push(D);
35758
35758
  }
35759
35759
  function Ne(D) {
@@ -35786,7 +35786,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), fe = D, ce = Q), se =
35786
35786
  registerAliases: $,
35787
35787
  autoDetection: K,
35788
35788
  inherit: Y8,
35789
- addPlugin: xe,
35789
+ addPlugin: we,
35790
35790
  removePlugin: Ne
35791
35791
  }), t.debugMode = function() {
35792
35792
  o = !1;
@@ -36124,7 +36124,7 @@ const Bg = Xh("XIcon", [
36124
36124
  default: O(() => [
36125
36125
  I(v(DX)),
36126
36126
  I(v(VP), {
36127
- class: lt(
36127
+ class: ut(
36128
36128
  v(Qe)(
36129
36129
  "p-1",
36130
36130
  s.position === "popper" && "h-[--radix-select-trigger-height] w-full min-w-[--radix-select-trigger-width]"
@@ -36284,17 +36284,17 @@ const Bg = Xh("XIcon", [
36284
36284
  default: O(() => [
36285
36285
  I(v(tw), { value: "auto" }, {
36286
36286
  default: O(() => i[1] || (i[1] = [
36287
- dt(" Auto ")
36287
+ lt(" Auto ")
36288
36288
  ])),
36289
36289
  _: 1
36290
36290
  }),
36291
36291
  I(s),
36292
- (M(!0), we(et, null, $t(n.value, (a, l) => (M(), P(v(tw), {
36292
+ (M(!0), xe(et, null, $t(n.value, (a, l) => (M(), P(v(tw), {
36293
36293
  key: l,
36294
36294
  value: a
36295
36295
  }, {
36296
36296
  default: O(() => [
36297
- dt(Fe(a), 1)
36297
+ lt(Fe(a), 1)
36298
36298
  ]),
36299
36299
  _: 2
36300
36300
  }, 1032, ["value"]))), 128))
@@ -36536,8 +36536,8 @@ const Bg = Xh("XIcon", [
36536
36536
  },
36537
36537
  setup(t) {
36538
36538
  const e = t;
36539
- return (n, r) => (M(), we("span", {
36540
- class: lt(v(Qe)("ml-auto text-xs tracking-widest opacity-60", e.class))
36539
+ return (n, r) => (M(), xe("span", {
36540
+ class: ut(v(Qe)("ml-auto text-xs tracking-widest opacity-60", e.class))
36541
36541
  }, [
36542
36542
  ee(n.$slots, "default")
36543
36543
  ], 2));
@@ -36588,13 +36588,13 @@ const Bg = Xh("XIcon", [
36588
36588
  default: O(() => [
36589
36589
  I(v(Dr), {
36590
36590
  id: `action-menu-${n.id}`,
36591
- class: lt(v(Qe)("h-[32px] px-1.5 py-0", e.class)),
36591
+ class: ut(v(Qe)("h-[32px] px-1.5 py-0", e.class)),
36592
36592
  variant: "ghost",
36593
36593
  disabled: n.disabled
36594
36594
  }, {
36595
36595
  default: O(() => [
36596
36596
  te("div", zX, [
36597
- n.title ? (M(), we("div", VX, Fe(n.title), 1)) : He("", !0),
36597
+ n.title ? (M(), xe("div", VX, Fe(n.title), 1)) : He("", !0),
36598
36598
  n.icon ? (M(), P(v(hn), {
36599
36599
  key: 1,
36600
36600
  class: "w-[16px] h-[16px]",
@@ -36615,7 +36615,7 @@ const Bg = Xh("XIcon", [
36615
36615
  default: O(() => [
36616
36616
  te("div", UX, [
36617
36617
  te("div", null, Fe(n.tooltip), 1),
36618
- n.shortcutKeys && n.shortcutKeys.length ? (M(), we("div", WX, [
36618
+ n.shortcutKeys && n.shortcutKeys.length ? (M(), xe("div", WX, [
36619
36619
  te("span", null, Fe(v(Z5)(n.shortcutKeys)), 1)
36620
36620
  ])) : He("", !0)
36621
36621
  ])
@@ -36650,7 +36650,7 @@ const Bg = Xh("XIcon", [
36650
36650
  default: O(() => [
36651
36651
  I(jX, {
36652
36652
  id: n.id,
36653
- class: lt(n.btn_class),
36653
+ class: ut(n.btn_class),
36654
36654
  title: n.title,
36655
36655
  icon: n.icon,
36656
36656
  tooltip: n.tooltip,
@@ -36706,20 +36706,20 @@ const Bg = Xh("XIcon", [
36706
36706
  btn_class: "min-w-24 max-w-32"
36707
36707
  }, {
36708
36708
  default: O(() => [
36709
- (M(!0), we(et, null, $t(e.items, (s, a) => (M(), we(et, { key: a }, [
36709
+ (M(!0), xe(et, null, $t(e.items, (s, a) => (M(), xe(et, { key: a }, [
36710
36710
  I(v(lu), {
36711
36711
  checked: n.value.title === s.title,
36712
36712
  onClick: s.action
36713
36713
  }, {
36714
36714
  default: O(() => [
36715
36715
  te("div", {
36716
- class: lt(["h-full ml-1", "heading-" + s.level])
36716
+ class: ut(["h-full ml-1", "heading-" + s.level])
36717
36717
  }, Fe(s.title), 3),
36718
36718
  I(v(nS), { class: "pl-4" }, {
36719
36719
  default: O(() => {
36720
36720
  var l;
36721
36721
  return [
36722
- dt(Fe((l = s.shortcutKeys) == null ? void 0 : l.map((u) => v(Sh)(u)).join(" ")), 1)
36722
+ lt(Fe((l = s.shortcutKeys) == null ? void 0 : l.map((u) => v(Sh)(u)).join(" ")), 1)
36723
36723
  ];
36724
36724
  }),
36725
36725
  _: 2
@@ -36842,7 +36842,7 @@ const Bg = Xh("XIcon", [
36842
36842
  default: O(() => [
36843
36843
  I(v(iu), null, {
36844
36844
  default: O(() => [
36845
- (M(!0), we(et, null, $t(e.items, (i, s) => (M(), P(v(ru), { key: s }, {
36845
+ (M(!0), xe(et, null, $t(e.items, (i, s) => (M(), P(v(ru), { key: s }, {
36846
36846
  default: O(() => [
36847
36847
  I(v(ou), { "as-child": "" }, {
36848
36848
  default: O(() => [
@@ -37023,7 +37023,7 @@ const Bg = Xh("XIcon", [
37023
37023
  default: O(() => [
37024
37024
  I(v(XX), { class: "w-32 h-96" }, {
37025
37025
  default: O(() => [
37026
- (M(!0), we(et, null, $t(e.items, (p, h) => (M(), we(et, { key: h }, [
37026
+ (M(!0), xe(et, null, $t(e.items, (p, h) => (M(), xe(et, { key: h }, [
37027
37027
  I(v(lu), {
37028
37028
  checked: i.value.title === p.title,
37029
37029
  onClick: () => a(p.title, p.action)
@@ -37247,7 +37247,7 @@ const Bg = Xh("XIcon", [
37247
37247
  var s;
37248
37248
  (s = e.action) == null || s.call(e, n.value);
37249
37249
  }
37250
- return (i, s) => (M(), we("div", nY, [
37250
+ return (i, s) => (M(), xe("div", nY, [
37251
37251
  I(at, {
37252
37252
  id: "color",
37253
37253
  tooltip: i.tooltip,
@@ -37256,7 +37256,7 @@ const Bg = Xh("XIcon", [
37256
37256
  }, {
37257
37257
  icon: O(() => [
37258
37258
  te("span", rY, [
37259
- (M(), we("svg", oY, [
37259
+ (M(), xe("svg", oY, [
37260
37260
  te("g", iY, [
37261
37261
  te("g", sY, [
37262
37262
  te("g", aY, [
@@ -37481,12 +37481,12 @@ const Bg = Xh("XIcon", [
37481
37481
  const e = t;
37482
37482
  return (n, r) => {
37483
37483
  var o;
37484
- return M(), we("div", {
37484
+ return M(), xe("div", {
37485
37485
  id: `dropdown-btn-${n.id}`,
37486
- class: lt(["flex items-center h-[32px] hover:bg-ed-muted rounded-md", [((o = n.isActive) == null ? void 0 : o.call(n)) && "bg-ed-muted"]])
37486
+ class: ut(["flex items-center h-[32px] hover:bg-ed-muted rounded-md", [((o = n.isActive) == null ? void 0 : o.call(n)) && "bg-ed-muted"]])
37487
37487
  }, [
37488
37488
  I(at, {
37489
- class: lt(n.btnClass),
37489
+ class: ut(n.btnClass),
37490
37490
  action: n.action,
37491
37491
  title: n.title,
37492
37492
  icon: n.icon,
@@ -37560,7 +37560,7 @@ const Bg = Xh("XIcon", [
37560
37560
  default: O(() => [
37561
37561
  I(v(iu), null, {
37562
37562
  default: O(() => [
37563
- (M(), we(et, null, $t(r, (l) => I(v(ru), {
37563
+ (M(), xe(et, null, $t(r, (l) => I(v(ru), {
37564
37564
  key: l.value,
37565
37565
  "delay-duration": 0
37566
37566
  }, {
@@ -37573,13 +37573,13 @@ const Bg = Xh("XIcon", [
37573
37573
  }, {
37574
37574
  default: O(() => [
37575
37575
  te("div", {
37576
- class: lt([[o.value === l.value ? "bg-ed-accent border border-ed-accent-foreground" : ""], "h-[48px] flex flex-col w-[48px] box-border rounded-sm border"])
37576
+ class: ut([[o.value === l.value ? "bg-ed-accent border border-ed-accent-foreground" : ""], "h-[48px] flex flex-col w-[48px] box-border rounded-sm border"])
37577
37577
  }, [
37578
37578
  te("ol", {
37579
37579
  style: Xt({ listStyleType: l.value, lineHeight: 1 }),
37580
37580
  class: "text-[10px] pl-3 flex-1 list-outside flex flex-col items-center justify-center"
37581
37581
  }, [
37582
- (M(), we(et, null, $t(3, (u) => te("li", { key: u }, a[0] || (a[0] = [
37582
+ (M(), xe(et, null, $t(3, (u) => te("li", { key: u }, a[0] || (a[0] = [
37583
37583
  te("hr", { class: "border-0 bg-gray-200 h-[3px] w-6 my-1" }, null, -1)
37584
37584
  ]))), 64))
37585
37585
  ], 4)
@@ -37592,7 +37592,7 @@ const Bg = Xh("XIcon", [
37592
37592
  }, 1024),
37593
37593
  I(v(Ta), { side: "bottom" }, {
37594
37594
  default: O(() => [
37595
- dt(Fe(v(n)(l.label)), 1)
37595
+ lt(Fe(v(n)(l.label)), 1)
37596
37596
  ]),
37597
37597
  _: 2
37598
37598
  }, 1024)
@@ -37767,7 +37767,7 @@ const Bg = Xh("XIcon", [
37767
37767
  default: O(() => [
37768
37768
  I(v(iu), null, {
37769
37769
  default: O(() => [
37770
- (M(), we(et, null, $t(r, (l) => I(v(ru), {
37770
+ (M(), xe(et, null, $t(r, (l) => I(v(ru), {
37771
37771
  key: l.value,
37772
37772
  "delay-duration": 0
37773
37773
  }, {
@@ -37780,13 +37780,13 @@ const Bg = Xh("XIcon", [
37780
37780
  }, {
37781
37781
  default: O(() => [
37782
37782
  te("div", {
37783
- class: lt([[o.value === l.value ? "bg-ed-accent border border-ed-accent-foreground" : ""], "h-[72px] flex flex-col w-[72px] box-border rounded-sm border"])
37783
+ class: ut([[o.value === l.value ? "bg-ed-accent border border-ed-accent-foreground" : ""], "h-[72px] flex flex-col w-[72px] box-border rounded-sm border"])
37784
37784
  }, [
37785
37785
  te("ol", {
37786
37786
  style: Xt({ listStyleType: l.value, lineHeight: 1 }),
37787
37787
  class: "text-[12px] pl-3 flex-1 list-outside flex flex-col items-center justify-center"
37788
37788
  }, [
37789
- (M(), we(et, null, $t(3, (u) => te("li", { key: u }, a[0] || (a[0] = [
37789
+ (M(), xe(et, null, $t(3, (u) => te("li", { key: u }, a[0] || (a[0] = [
37790
37790
  te("hr", { class: "border-0 bg-gray-200 h-[3px] w-6 my-1" }, null, -1)
37791
37791
  ]))), 64))
37792
37792
  ], 4)
@@ -37799,7 +37799,7 @@ const Bg = Xh("XIcon", [
37799
37799
  }, 1024),
37800
37800
  I(v(Ta), { side: "bottom" }, {
37801
37801
  default: O(() => [
37802
- dt(Fe(v(n)(l.label)), 1)
37802
+ lt(Fe(v(n)(l.label)), 1)
37803
37803
  ]),
37804
37804
  _: 2
37805
37805
  }, 1024)
@@ -38688,8 +38688,8 @@ function HY({
38688
38688
  // <>
38689
38689
  ];
38690
38690
  for (let ne = 0; ne < K.length; ne++) {
38691
- const [xe, Ne] = K[ne], q = Oe(T, xe);
38692
- Oe(A, xe, q), Oe(q, Ne, T);
38691
+ const [we, Ne] = K[ne], q = Oe(T, we);
38692
+ Oe(A, we, q), Oe(q, Ne, T);
38693
38693
  const G = lo(xf);
38694
38694
  _t(q, e, G);
38695
38695
  const D = lo();
@@ -39030,7 +39030,7 @@ const YY = xr.create({
39030
39030
  }
39031
39031
  });
39032
39032
  function ZY(t, e) {
39033
- return M(), we("svg", {
39033
+ return M(), xe("svg", {
39034
39034
  width: "15",
39035
39035
  height: "15",
39036
39036
  viewBox: "0 0 15 15",
@@ -39111,7 +39111,7 @@ const vS = /* @__PURE__ */ z({
39111
39111
  a.value = !0;
39112
39112
  }), (p, h) => {
39113
39113
  const m = vS;
39114
- return M(), we("div", {
39114
+ return M(), xe("div", {
39115
39115
  ref_key: "target",
39116
39116
  ref: u,
39117
39117
  class: "p-2 bg-white rounded-lg dark:bg-black shadow-sm border border-neutral-200 dark:border-neutral-800"
@@ -39122,7 +39122,7 @@ const vS = /* @__PURE__ */ z({
39122
39122
  }, [
39123
39123
  I(v(Af), null, {
39124
39124
  default: O(() => [
39125
- dt(Fe(v(o)("editor.link.dialog.text")), 1)
39125
+ lt(Fe(v(o)("editor.link.dialog.text")), 1)
39126
39126
  ]),
39127
39127
  _: 1
39128
39128
  }),
@@ -39134,13 +39134,13 @@ const vS = /* @__PURE__ */ z({
39134
39134
  type: "text",
39135
39135
  required: "",
39136
39136
  class: "w-80",
39137
- placeholder: "输入文本"
39137
+ placeholder: "텍스트"
39138
39138
  }, null, 8, ["modelValue"])
39139
39139
  ])
39140
39140
  ]),
39141
39141
  I(v(Af), null, {
39142
39142
  default: O(() => [
39143
- dt(Fe(v(o)("editor.link.dialog.link")), 1)
39143
+ lt(Fe(v(o)("editor.link.dialog.link")), 1)
39144
39144
  ]),
39145
39145
  _: 1
39146
39146
  }),
@@ -39171,7 +39171,7 @@ const vS = /* @__PURE__ */ z({
39171
39171
  }, null, 8, ["checked"]),
39172
39172
  I(v(Af), { for: "openInNewTab" }, {
39173
39173
  default: O(() => [
39174
- dt(Fe(v(o)("editor.link.dialog.openInNewTab")), 1)
39174
+ lt(Fe(v(o)("editor.link.dialog.openInNewTab")), 1)
39175
39175
  ]),
39176
39176
  _: 1
39177
39177
  })
@@ -39181,7 +39181,7 @@ const vS = /* @__PURE__ */ z({
39181
39181
  class: "mt-2 self-end"
39182
39182
  }, {
39183
39183
  default: O(() => [
39184
- dt(Fe(v(o)("editor.link.dialog.button.apply")), 1)
39184
+ lt(Fe(v(o)("editor.link.dialog.button.apply")), 1)
39185
39185
  ]),
39186
39186
  _: 1
39187
39187
  })
@@ -40378,7 +40378,7 @@ const NZ = Tt.create({
40378
40378
  key: new jt("selection"),
40379
40379
  props: {
40380
40380
  decorations(e) {
40381
- return e.selection.empty || t.isFocused === !0 ? null : It.create(e.doc, [
40381
+ return e.selection.empty ? null : It.create(e.doc, [
40382
40382
  yn.inline(e.selection.from, e.selection.to, {
40383
40383
  class: "selection"
40384
40384
  })
@@ -41969,7 +41969,7 @@ const nv = "paragraph", co = "page", HS = "Extend", uu = "Node", kQ = uu + HS, A
41969
41969
  return (s, a) => (M(), P(v(CI), null, {
41970
41970
  default: O(() => [
41971
41971
  I(v(GI), {
41972
- class: lt(
41972
+ class: ut(
41973
41973
  v(Qe)(
41974
41974
  "fixed inset-0 z-[60] bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
41975
41975
  s.isOverlayTransparent && "bg-transparent"
@@ -41998,8 +41998,8 @@ const nv = "paragraph", co = "page", HS = "Extend", uu = "Node", kQ = uu + HS, A
41998
41998
  },
41999
41999
  setup(t) {
42000
42000
  const e = t;
42001
- return (n, r) => (M(), we("div", {
42002
- class: lt(v(Qe)("flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2", e.class))
42001
+ return (n, r) => (M(), xe("div", {
42002
+ class: ut(v(Qe)("flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2", e.class))
42003
42003
  }, [
42004
42004
  ee(n.$slots, "default")
42005
42005
  ], 2));
@@ -42011,8 +42011,8 @@ const nv = "paragraph", co = "page", HS = "Extend", uu = "Node", kQ = uu + HS, A
42011
42011
  },
42012
42012
  setup(t) {
42013
42013
  const e = t;
42014
- return (n, r) => (M(), we("div", {
42015
- class: lt(v(Qe)("flex flex-col gap-y-1.5 text-center sm:text-left", e.class))
42014
+ return (n, r) => (M(), xe("div", {
42015
+ class: ut(v(Qe)("flex flex-col gap-y-1.5 text-center sm:text-left", e.class))
42016
42016
  }, [
42017
42017
  ee(n.$slots, "default")
42018
42018
  ], 2));
@@ -42101,12 +42101,12 @@ const nv = "paragraph", co = "page", HS = "Extend", uu = "Node", kQ = uu + HS, A
42101
42101
  function m() {
42102
42102
  l.commands.handleActiveSpellCheck(), d.value = !d.value;
42103
42103
  }
42104
- return e({ insertSpecialCharater: u, isChecked: d, toggleSpellCheck: m }), (w, x) => (M(), we("div", {
42105
- class: lt(v(Qe)("h-40 overflow-y-auto", v(i) && "h-20 rounded-[5px]"))
42104
+ return e({ insertSpecialCharater: u, isChecked: d, toggleSpellCheck: m }), (w, x) => (M(), xe("div", {
42105
+ class: ut(v(Qe)("h-40 overflow-y-auto", v(i) && "h-20 rounded-[5px]"))
42106
42106
  }, [
42107
42107
  I(v(nd), {
42108
42108
  editor: v(l),
42109
- class: lt(
42109
+ class: ut(
42110
42110
  v(Qe)(
42111
42111
  " vdc-editor break-all [&_.tiptap.ProseMirror-focused]:border-ed-input-focus [&_.tiptap]:min-h-40 [&_.tiptap]:border-[inherit]",
42112
42112
  v(i) && "[&_.tiptap]:border-ed-gray [&_.tiptap]:min-h-20",
@@ -42129,59 +42129,60 @@ const nv = "paragraph", co = "page", HS = "Extend", uu = "Node", kQ = uu + HS, A
42129
42129
  },
42130
42130
  emits: ["close", "save"],
42131
42131
  setup(t, { emit: e }) {
42132
- var y, w;
42133
- const n = e, r = t, { t: o } = Wt(), i = V(""), s = V(null), a = V(!1), l = Y(() => {
42134
- var E;
42132
+ var w, x;
42133
+ const n = e, r = t, { t: o } = Wt(), i = V(""), s = V(""), a = V(null), l = V(!1), u = Y(() => {
42134
+ var S;
42135
42135
  if (!i) return !0;
42136
- const x = document.createElement("div");
42137
- return x.innerHTML = i.value, ((E = x == null ? void 0 : x.textContent) == null ? void 0 : E.trim()) === "";
42136
+ const E = document.createElement("div");
42137
+ return E.innerHTML = i.value, ((S = E == null ? void 0 : E.textContent) == null ? void 0 : S.trim()) === "";
42138
42138
  });
42139
42139
  $e(
42140
42140
  () => r.open,
42141
42141
  () => {
42142
- r.open && r.superTextInit && (i.value = r.superTextInit);
42143
- }
42142
+ r.open && r.superTextInit && (i.value = r.superTextInit, r.superTextId && (s.value = r.superTextId));
42143
+ },
42144
+ { immediate: !0 }
42144
42145
  );
42145
- const u = () => {
42146
- n("close"), a.value = !1;
42147
- }, d = () => {
42146
+ const d = () => {
42147
+ n("close"), i.value = "", s.value = "", l.value = !1;
42148
+ }, p = () => {
42148
42149
  n("save", i.value), i.value = "";
42149
- }, p = (w = (y = r.editor) == null ? void 0 : y.extensionManager.extensions.find((x) => x.name === "superText")) == null ? void 0 : w.options.specialCharModal, h = (x, E) => {
42150
- var S;
42151
- E && ((S = s.value) == null || S.insertSpecialCharater(x));
42152
- }, m = Y(() => {
42153
- var x;
42154
- return (x = s.value) == null ? void 0 : x.isChecked;
42155
- }), g = () => {
42156
- var x;
42157
- (x = s.value) == null || x.toggleSpellCheck();
42150
+ }, h = (x = (w = r.editor) == null ? void 0 : w.extensionManager.extensions.find((E) => E.name === "superText")) == null ? void 0 : x.options.specialCharModal, m = (E, S) => {
42151
+ var _;
42152
+ S && ((_ = a.value) == null || _.insertSpecialCharater(E));
42153
+ }, g = Y(() => {
42154
+ var E;
42155
+ return (E = a.value) == null ? void 0 : E.isChecked;
42156
+ }), y = () => {
42157
+ var E;
42158
+ (E = a.value) == null || E.toggleSpellCheck();
42158
42159
  };
42159
- return (x, E) => {
42160
- const S = YS, _ = XS, T = JS, A = GS, R = KS, j = qS;
42161
- return M(), P(j, { open: x.open }, {
42160
+ return (E, S) => {
42161
+ const _ = YS, T = XS, A = JS, R = GS, j = KS, W = qS;
42162
+ return M(), P(W, { open: E.open }, {
42162
42163
  default: O(() => [
42163
- I(R, {
42164
+ I(j, {
42164
42165
  isOverlayTransparent: "",
42165
42166
  class: "p-0 gap-0"
42166
42167
  }, {
42167
42168
  default: O(() => {
42168
- var W, $, K;
42169
+ var $, K, ne;
42169
42170
  return [
42170
- I(T, { class: "bg-blue-500 text-white p-2.5 rounded-t-[5px]" }, {
42171
+ I(A, { class: "bg-blue-500 text-white p-2.5 rounded-t-[5px]" }, {
42171
42172
  default: O(() => [
42172
- I(S, null, {
42173
+ I(_, null, {
42173
42174
  default: O(() => [
42174
- dt(Fe(v(o)("editor.superinput")), 1)
42175
+ lt(Fe(v(o)("editor.superinput")), 1)
42175
42176
  ]),
42176
42177
  _: 1
42177
42178
  }),
42178
- I(_, {
42179
+ I(T, {
42179
42180
  class: "absolute right-3 top-3 text-white",
42180
- onClick: u
42181
+ onClick: d
42181
42182
  }, {
42182
42183
  default: O(() => [
42183
42184
  I(v(Bg), { class: "w-5 h-5" }),
42184
- E[3] || (E[3] = te("span", { class: "sr-only" }, "Close", -1))
42185
+ S[3] || (S[3] = te("span", { class: "sr-only" }, "Close", -1))
42185
42186
  ]),
42186
42187
  _: 1
42187
42188
  })
@@ -42190,78 +42191,78 @@ const nv = "paragraph", co = "page", HS = "Extend", uu = "Node", kQ = uu + HS, A
42190
42191
  }),
42191
42192
  te("div", lee, [
42192
42193
  te("div", uee, [
42193
- E[4] || (E[4] = te("label", { class: "w-1/6" }, " ", -1)),
42194
+ S[4] || (S[4] = te("label", { class: "w-1/6" }, " ", -1)),
42194
42195
  te("div", cee, [
42195
42196
  I(Dr, {
42196
42197
  class: "text-[#65558F] bg-[#ECE6F0] hover:bg-[#ECE6F0]/90 shadow text-xs rounded font-normal h-[25px] px-3",
42197
- onClick: E[0] || (E[0] = (ne) => a.value = !0)
42198
+ onClick: S[0] || (S[0] = (we) => l.value = !0)
42198
42199
  }, {
42199
42200
  default: O(() => [
42200
- dt(Fe(v(o)("editor.insert.symbol")), 1)
42201
+ lt(Fe(v(o)("editor.insert.symbol")), 1)
42201
42202
  ]),
42202
42203
  _: 1
42203
42204
  }),
42204
42205
  te("div", dee, [
42205
42206
  I(vS, {
42206
42207
  id: "spellcheck",
42207
- checked: v(m),
42208
+ checked: v(g),
42208
42209
  class: "border-gray-300",
42209
- "onUpdate:checked": g
42210
+ "onUpdate:checked": y
42210
42211
  }, null, 8, ["checked"]),
42211
42212
  te("label", fee, Fe(v(o)("editor.menubar.menu.spellCheck")), 1)
42212
42213
  ])
42213
42214
  ]),
42214
- a.value ? (M(), P(Zr((W = v(p)) == null ? void 0 : W.component), {
42215
+ l.value ? (M(), P(Zr(($ = v(h)) == null ? void 0 : $.component), {
42215
42216
  key: 0,
42216
42217
  "custom-class": "!z-[70] !pointer-events-auto",
42217
- class: lt((K = ($ = v(p)) == null ? void 0 : $.componentProps) == null ? void 0 : K.class),
42218
- onSelectedChar: h,
42219
- onClose: E[1] || (E[1] = (ne) => a.value = !1)
42218
+ class: ut((ne = (K = v(h)) == null ? void 0 : K.componentProps) == null ? void 0 : ne.class),
42219
+ onSelectedChar: m,
42220
+ onClose: S[1] || (S[1] = (we) => l.value = !1)
42220
42221
  }, null, 40, ["class"])) : He("", !0)
42221
42222
  ]),
42222
42223
  te("div", pee, [
42223
42224
  te("label", hee, Fe(v(o)("editor.detail")), 1),
42224
42225
  I(ZS, {
42225
42226
  ref_key: "simpleEditorRef",
42226
- ref: s,
42227
+ ref: a,
42227
42228
  modelValue: i.value,
42228
- "onUpdate:modelValue": E[2] || (E[2] = (ne) => i.value = ne),
42229
- "parent-editor": x.editor,
42229
+ "onUpdate:modelValue": S[2] || (S[2] = (we) => i.value = we),
42230
+ "parent-editor": E.editor,
42230
42231
  class: "flex-1"
42231
42232
  }, null, 8, ["modelValue", "parent-editor"])
42232
42233
  ]),
42233
42234
  te("div", mee, [
42234
- E[5] || (E[5] = te("label", { class: "w-1/6 text-right text-sm p-2" }, "ID", -1)),
42235
+ S[5] || (S[5] = te("label", { class: "w-1/6 text-right text-sm p-2" }, "ID", -1)),
42235
42236
  I(Pl, {
42236
42237
  class: "flex-1 rounded-none",
42237
- "default-value": x.superTextId,
42238
+ "default-value": s.value,
42238
42239
  disabled: ""
42239
42240
  }, null, 8, ["default-value"])
42240
42241
  ])
42241
42242
  ]),
42242
- I(A, { class: "sm:justify-center pb-3.5 pt-1" }, {
42243
+ I(R, { class: "sm:justify-center pb-3.5 pt-1" }, {
42243
42244
  default: O(() => [
42244
42245
  I(Dr, {
42245
42246
  as: "button",
42246
- onClick: d,
42247
+ onClick: p,
42247
42248
  variant: "default",
42248
42249
  class: "bg-blue-500 hover:bg-blue-500/90",
42249
- disabled: v(l)
42250
+ disabled: v(u)
42250
42251
  }, {
42251
42252
  default: O(() => [
42252
42253
  I(v(F2), { class: "w-5 h-5 mr-2" }),
42253
- dt(" " + Fe(v(o)("editor.check")), 1)
42254
+ lt(" " + Fe(v(o)("editor.check")), 1)
42254
42255
  ]),
42255
42256
  _: 1
42256
42257
  }, 8, ["disabled"]),
42257
42258
  I(Dr, {
42258
42259
  as: "button",
42259
- onClick: u,
42260
+ onClick: d,
42260
42261
  variant: "destructive"
42261
42262
  }, {
42262
42263
  default: O(() => [
42263
42264
  I(v(Bg), { class: "w-5 h-5 mr-2" }),
42264
- E[6] || (E[6] = dt(" Close "))
42265
+ S[6] || (S[6] = lt(" Close "))
42265
42266
  ]),
42266
42267
  _: 1
42267
42268
  })
@@ -42285,47 +42286,95 @@ const nv = "paragraph", co = "page", HS = "Extend", uu = "Node", kQ = uu + HS, A
42285
42286
  superTextStore: {}
42286
42287
  },
42287
42288
  setup(t, { expose: e }) {
42288
- const n = t, { t: r } = Wt(), o = V(!1), i = Do({ from: 0, to: 0, text: "" }), s = Y(() => n.mode === Ct.EDITOR || n.mode === Ct.PLAIN_TEXT), a = () => {
42289
- const { view: h, state: m } = n.editor, { from: g, to: y } = h.state.selection, w = m.doc.textBetween(g, y, "");
42290
- i.text = w, i.from = g, i.to = y;
42291
- }, l = () => o.value = !o.value, u = () => {
42292
- s.value || (o.value = !0, a());
42293
- }, d = () => o.value = !1, p = (h) => {
42294
- const m = n == null ? void 0 : n.superTextStore.addMoreSuperText(h);
42289
+ const n = t, { t: r } = Wt(), o = V(!1), i = Do({ from: 0, to: 0, text: "" }), s = V(""), a = V(""), l = V(!0), u = Y(() => n.mode === Ct.EDITOR || n.mode === Ct.PLAIN_TEXT), d = () => {
42290
+ const { view: E, state: S } = n.editor, { from: _, to: T } = E.state.selection, A = S.doc.textBetween(_, T, "");
42291
+ i.text = A, i.from = _, i.to = T;
42292
+ }, p = () => o.value = !o.value, h = () => {
42293
+ if (u.value) return;
42294
+ o.value = !0, d();
42295
+ const { from: E, to: S } = n.editor.state.selection;
42296
+ let _ = "";
42297
+ n.editor.state.doc.nodesBetween(E, S, (T) => {
42298
+ var A;
42299
+ (A = T.attrs) != null && A.id && (_ = T.attrs.id);
42300
+ }), a.value = _, s.value = i.text;
42301
+ }, m = () => o.value = !1, g = (E) => {
42302
+ const S = n == null ? void 0 : n.superTextStore.addMoreSuperText(E);
42295
42303
  n.editor && n.editor.commands.insertContentAt(i.from, {
42296
42304
  type: "superText",
42297
- attrs: { "data-id": m, "data-text": h }
42305
+ attrs: { "data-id": S, "data-text": E }
42298
42306
  }), o.value = !1;
42307
+ }, y = async () => {
42308
+ const { view: E, state: S } = n.editor, { from: _, to: T } = S.selection, A = S.doc.textBetween(_, T, `
42309
+ `).trim();
42310
+ if (A)
42311
+ try {
42312
+ await navigator.clipboard.writeText(A);
42313
+ } catch (R) {
42314
+ console.error("Failed to copy:", R);
42315
+ }
42316
+ }, w = async () => {
42317
+ try {
42318
+ const E = await navigator.clipboard.readText();
42319
+ E && n.editor && n.editor.commands.insertContent(E);
42320
+ } catch (E) {
42321
+ console.error("Failed to paste:", E);
42322
+ }
42323
+ }, x = async (E) => {
42324
+ if (E)
42325
+ try {
42326
+ const S = await navigator.clipboard.readText();
42327
+ l.value = !S.trim();
42328
+ } catch {
42329
+ l.value = !0;
42330
+ }
42299
42331
  };
42300
- return e({ toggleDialog: l, openDialog: u, closeDialog: d }), (h, m) => {
42301
- const g = pv, y = o0, w = r0, x = n0, E = t0;
42302
- return M(), we(et, null, [
42303
- I(g, {
42332
+ return e({ toggleDialog: p, openDialog: h, closeDialog: m }), (E, S) => {
42333
+ const _ = pv, T = o0, A = r0, R = n0, j = t0;
42334
+ return M(), xe(et, null, [
42335
+ I(_, {
42304
42336
  open: o.value,
42305
- editor: h.editor,
42306
- onClose: l,
42307
- onSave: p
42308
- }, null, 8, ["open", "editor"]),
42309
- I(E, null, {
42337
+ editor: E.editor,
42338
+ "super-text-init": s.value,
42339
+ "super-text-id": a.value,
42340
+ onClose: p,
42341
+ onSave: g
42342
+ }, null, 8, ["open", "editor", "super-text-init", "super-text-id"]),
42343
+ I(j, { "onUpdate:open": x }, {
42310
42344
  default: O(() => [
42311
- I(y, {
42345
+ I(T, {
42312
42346
  as: "template",
42313
42347
  class: "relative",
42314
- disabled: v(s)
42348
+ disabled: v(u)
42315
42349
  }, {
42316
42350
  default: O(() => [
42317
- ee(h.$slots, "default")
42351
+ ee(E.$slots, "default")
42318
42352
  ]),
42319
42353
  _: 3
42320
42354
  }, 8, ["disabled"]),
42321
- I(x, null, {
42355
+ I(R, null, {
42322
42356
  default: O(() => [
42323
- I(w, { onSelect: u }, {
42357
+ I(A, { onSelect: h }, {
42324
42358
  default: O(() => [
42325
- dt(Fe(v(r)("editor.inputSuper")), 1)
42359
+ lt(Fe(v(r)("editor.inputSuper")), 1)
42326
42360
  ]),
42327
42361
  _: 1
42328
- })
42362
+ }),
42363
+ I(A, { onSelect: y }, {
42364
+ default: O(() => [
42365
+ lt(Fe(v(r)("editor.copy")), 1)
42366
+ ]),
42367
+ _: 1
42368
+ }),
42369
+ I(A, {
42370
+ disabled: l.value,
42371
+ onSelect: w
42372
+ }, {
42373
+ default: O(() => [
42374
+ lt(Fe(v(r)("editor.paste")), 1)
42375
+ ]),
42376
+ _: 1
42377
+ }, 8, ["disabled"])
42329
42378
  ]),
42330
42379
  _: 1
42331
42380
  })
@@ -42786,7 +42835,7 @@ const Tw = (t) => t.command(({ tr: e }) => {
42786
42835
  btn_class: `min-w-24 ${p.customClass}`
42787
42836
  }, {
42788
42837
  default: O(() => [
42789
- (M(!0), we(et, null, $t(s.value, (m, g) => (M(), we(et, { key: g }, [
42838
+ (M(!0), xe(et, null, $t(s.value, (m, g) => (M(), xe(et, { key: g }, [
42790
42839
  I(v(lu), {
42791
42840
  checked: a.value === m.value,
42792
42841
  onClick: (y) => u(m)
@@ -42901,7 +42950,7 @@ const Tw = (t) => t.command(({ tr: e }) => {
42901
42950
  };
42902
42951
  return (i, s) => {
42903
42952
  const a = ou, l = ru, u = iu;
42904
- return M(), we("div", Tee, [
42953
+ return M(), xe("div", Tee, [
42905
42954
  I(u, null, {
42906
42955
  default: O(() => [
42907
42956
  I(l, { "delay-duration": 0 }, {
@@ -42922,7 +42971,7 @@ const Tw = (t) => t.command(({ tr: e }) => {
42922
42971
  }),
42923
42972
  I(v(Ta), null, {
42924
42973
  default: O(() => s[2] || (s[2] = [
42925
- dt(" 글꼴 크기 크게 ")
42974
+ lt(" 글꼴 크기 크게 ")
42926
42975
  ])),
42927
42976
  _: 1
42928
42977
  })
@@ -42953,7 +43002,7 @@ const Tw = (t) => t.command(({ tr: e }) => {
42953
43002
  }),
42954
43003
  I(v(Ta), null, {
42955
43004
  default: O(() => s[3] || (s[3] = [
42956
- dt(" 글꼴 크기 작게 ")
43005
+ lt(" 글꼴 크기 작게 ")
42957
43006
  ])),
42958
43007
  _: 1
42959
43008
  })
@@ -43287,7 +43336,7 @@ const Tw = (t) => t.command(({ tr: e }) => {
43287
43336
  te("div", {
43288
43337
  draggable: "true",
43289
43338
  "data-drag-handle": "",
43290
- class: lt([{
43339
+ class: ut([{
43291
43340
  "image-view__body--focused": t.selected,
43292
43341
  "image-view__body--resizing": i.value
43293
43342
  }, "image-view__body"]),
@@ -43301,10 +43350,10 @@ const Tw = (t) => t.command(({ tr: e }) => {
43301
43350
  class: "block w-full image-view__body__image",
43302
43351
  onClick: p
43303
43352
  }, null, 8, Dee),
43304
- _.editor.view.editable ? Lo((M(), we("div", Pee, [
43305
- (M(!0), we(et, null, $t(Object.values(n), (A) => (M(), we("span", {
43353
+ _.editor.view.editable ? Lo((M(), xe("div", Pee, [
43354
+ (M(!0), xe(et, null, $t(Object.values(n), (A) => (M(), xe("span", {
43306
43355
  key: A,
43307
- class: lt([`image-resizer__handler--${A}`, "image-resizer__handler"]),
43356
+ class: ut([`image-resizer__handler--${A}`, "image-resizer__handler"]),
43308
43357
  onMousedown: (R) => m(R, A)
43309
43358
  }, null, 42, Bee))), 128))
43310
43359
  ], 512)), [
@@ -43569,13 +43618,13 @@ const qee = /* @__PURE__ */ z({
43569
43618
  disabled: a.disabled
43570
43619
  }, {
43571
43620
  default: O(() => [
43572
- (M(!0), we(et, null, $t(r.value, (u, d) => (M(), P(v(lu), {
43621
+ (M(!0), xe(et, null, $t(r.value, (u, d) => (M(), P(v(lu), {
43573
43622
  key: d,
43574
43623
  checked: u.value === o.value,
43575
43624
  onClick: (p) => s(u.value)
43576
43625
  }, {
43577
43626
  default: O(() => [
43578
- dt(Fe(u.label), 1)
43627
+ lt(Fe(u.label), 1)
43579
43628
  ]),
43580
43629
  _: 2
43581
43630
  }, 1032, ["checked", "onClick"]))), 128))
@@ -43764,7 +43813,7 @@ const bv = Qt.create({
43764
43813
  default: O(() => [
43765
43814
  I(y, { class: "text-base font-normal" }, {
43766
43815
  default: O(() => [
43767
- dt(Fe(m.title ? m.title : v(o)("editor.superinput")), 1)
43816
+ lt(Fe(m.title ? m.title : v(o)("editor.superinput")), 1)
43768
43817
  ]),
43769
43818
  _: 1
43770
43819
  }),
@@ -43806,7 +43855,7 @@ const bv = Qt.create({
43806
43855
  te("button", {
43807
43856
  onClick: p,
43808
43857
  disabled: v(u),
43809
- class: lt({
43858
+ class: ut({
43810
43859
  "cursor-not-allowed": v(u)
43811
43860
  })
43812
43861
  }, Fe(v(o)("editor.menubar.menu.save")), 11, Zee)
@@ -43877,7 +43926,7 @@ const bv = Qt.create({
43877
43926
  const S = Dr, _ = o0, T = r0, A = n0, R = t0, j = pv;
43878
43927
  return M(), P(v(za), {
43879
43928
  as: "span",
43880
- class: lt(["w-fit text-inherit super-text align-middle", {
43929
+ class: ut(["w-fit text-inherit super-text align-middle", {
43881
43930
  "text-red-600 !leading-[13px]": v(s)
43882
43931
  }]),
43883
43932
  "data-drag-handle": "",
@@ -43902,7 +43951,7 @@ const bv = Qt.create({
43902
43951
  default: O(() => [
43903
43952
  I(v(hn), {
43904
43953
  name: "fileEdit",
43905
- class: lt({
43954
+ class: ut({
43906
43955
  "w-[13px] h-auto": v(s)
43907
43956
  })
43908
43957
  }, null, 8, ["class"]),
@@ -43928,13 +43977,13 @@ const bv = Qt.create({
43928
43977
  onSelect: E[0] || (E[0] = (W) => n.value = !0)
43929
43978
  }, {
43930
43979
  default: O(() => [
43931
- dt(Fe(x.$t("editor.super.edit")), 1)
43980
+ lt(Fe(x.$t("editor.super.edit")), 1)
43932
43981
  ]),
43933
43982
  _: 1
43934
43983
  }),
43935
43984
  I(T, { onSelect: y }, {
43936
43985
  default: O(() => [
43937
- dt(Fe(x.$t("editor.super.delete")), 1)
43986
+ lt(Fe(x.$t("editor.super.delete")), 1)
43938
43987
  ]),
43939
43988
  _: 1
43940
43989
  })
@@ -44129,7 +44178,7 @@ const bv = Qt.create({
44129
44178
  const S = Dr, _ = o0, T = r0, A = n0, R = t0, j = pv;
44130
44179
  return M(), P(v(za), {
44131
44180
  as: "span",
44132
- class: lt(["w-fit text-inherit super-text align-middle", {
44181
+ class: ut(["w-fit text-inherit super-text align-middle", {
44133
44182
  "!leading-[9px] [&_*]:!leading-[9px]": v(s)
44134
44183
  }]),
44135
44184
  "data-drag-handle": "",
@@ -44154,16 +44203,16 @@ const bv = Qt.create({
44154
44203
  default: O(() => [
44155
44204
  I(v(hn), {
44156
44205
  name: "plan",
44157
- class: lt({
44206
+ class: ut({
44158
44207
  "w-[18px] h-auto pr-1": v(s)
44159
44208
  })
44160
44209
  }, null, 8, ["class"]),
44161
- E[3] || (E[3] = dt(" [")),
44210
+ E[3] || (E[3] = lt(" [")),
44162
44211
  te("span", {
44163
44212
  innerHTML: e.node.attrs["data-text"],
44164
44213
  class: "[&_*]:inline"
44165
44214
  }, null, 8, tte),
44166
- E[4] || (E[4] = dt("] ")),
44215
+ E[4] || (E[4] = lt("] ")),
44167
44216
  te("div", {
44168
44217
  ref_key: "bookMarkRef",
44169
44218
  ref: r,
@@ -44186,13 +44235,13 @@ const bv = Qt.create({
44186
44235
  onSelect: E[0] || (E[0] = (W) => n.value = !0)
44187
44236
  }, {
44188
44237
  default: O(() => [
44189
- dt(Fe(x.$t("editor.configPlan.edit")), 1)
44238
+ lt(Fe(x.$t("editor.configPlan.edit")), 1)
44190
44239
  ]),
44191
44240
  _: 1
44192
44241
  }),
44193
44242
  I(T, { onSelect: y }, {
44194
44243
  default: O(() => [
44195
- dt(Fe(x.$t("editor.configPlan.delete")), 1)
44244
+ lt(Fe(x.$t("editor.configPlan.delete")), 1)
44196
44245
  ]),
44197
44246
  _: 1
44198
44247
  })
@@ -46391,13 +46440,13 @@ const Tf = ({ editor: t }) => {
46391
46440
  default: O(() => [
46392
46441
  te("div", hne, [
46393
46442
  te("div", mne, [
46394
- (M(!0), we(et, null, $t(i.rows, (h) => (M(), we("div", {
46443
+ (M(!0), xe(et, null, $t(i.rows, (h) => (M(), xe("div", {
46395
46444
  key: "r" + h,
46396
46445
  class: "flex gap-1"
46397
46446
  }, [
46398
- (M(!0), we(et, null, $t(i.cols, (m) => (M(), we("div", {
46447
+ (M(!0), xe(et, null, $t(i.cols, (m) => (M(), xe("div", {
46399
46448
  key: "c" + m,
46400
- class: lt([[
46449
+ class: ut([[
46401
46450
  m <= s.cols && h <= s.rows && "bg-ed-foreground border-ed-border",
46402
46451
  "cursor-pointer"
46403
46452
  ], "pa-1"]),
@@ -46563,7 +46612,7 @@ const Tf = ({ editor: t }) => {
46563
46612
  "side-offset": 5
46564
46613
  }, {
46565
46614
  default: O(() => [
46566
- (M(!0), we(et, null, $t(r.value, (l, u) => {
46615
+ (M(!0), xe(et, null, $t(r.value, (l, u) => {
46567
46616
  var d;
46568
46617
  return M(), P(v(lu), {
46569
46618
  key: u,
@@ -46816,7 +46865,7 @@ const Tf = ({ editor: t }) => {
46816
46865
  disabled: r.disabled
46817
46866
  }, {
46818
46867
  default: O(() => [
46819
- (M(!0), we(et, null, $t(e.items, (i, s) => (M(), P(v(lu), {
46868
+ (M(!0), xe(et, null, $t(e.items, (i, s) => (M(), P(v(lu), {
46820
46869
  key: s,
46821
46870
  checked: n.value.title === i.title,
46822
46871
  disabled: i.disabled,
@@ -46834,7 +46883,7 @@ const Tf = ({ editor: t }) => {
46834
46883
  class: "ml-auto"
46835
46884
  }, {
46836
46885
  default: O(() => [
46837
- dt(Fe(v(Z5)(i.shortcutKeys)), 1)
46886
+ lt(Fe(v(Z5)(i.shortcutKeys)), 1)
46838
46887
  ]),
46839
46888
  _: 2
46840
46889
  }, 1024)) : He("", !0)
@@ -46926,7 +46975,7 @@ function Mne({ pluginKey: t = One, editor: e, char: n = "@", allowSpaces: r = !1
46926
46975
  return {
46927
46976
  update: async (x, E) => {
46928
46977
  var S, _, T, A, R, j, W;
46929
- const $ = (S = this.key) === null || S === void 0 ? void 0 : S.getState(E), K = (_ = this.key) === null || _ === void 0 ? void 0 : _.getState(x.state), ne = $.active && K.active && $.range.from !== K.range.from, xe = !$.active && K.active, Ne = $.active && !K.active, q = !xe && !Ne && $.query !== K.query, G = xe || ne && q, D = q || ne, Q = Ne || ne && q;
46978
+ const $ = (S = this.key) === null || S === void 0 ? void 0 : S.getState(E), K = (_ = this.key) === null || _ === void 0 ? void 0 : _.getState(x.state), ne = $.active && K.active && $.range.from !== K.range.from, we = !$.active && K.active, Ne = $.active && !K.active, q = !we && !Ne && $.query !== K.query, G = we || ne && q, D = q || ne, Q = Ne || ne && q;
46930
46979
  if (!G && !D && !Q)
46931
46980
  return;
46932
46981
  const se = Q && !G ? $ : K, ce = x.dom.querySelector(`[data-decoration-id="${se.decorationId}"]`);
@@ -47303,26 +47352,26 @@ const $ne = {
47303
47352
  }
47304
47353
  return (y, w) => {
47305
47354
  var x;
47306
- return M(), we("div", {
47355
+ return M(), xe("div", {
47307
47356
  ref_key: "scrollContainer",
47308
47357
  ref: o,
47309
47358
  class: "bg-white rounded-lg dark:bg-black shadow-sm border border-neutral-200 dark:border-neutral-800 text-black max-h-[min(80vh,24rem)] overflow-auto flex-wrap mb-8 p-1"
47310
47359
  }, [
47311
- (x = y.items) != null && x.length ? (M(), we("div", $ne, [
47312
- (M(!0), we(et, null, $t(y.items, (E, S) => (M(), we(et, {
47360
+ (x = y.items) != null && x.length ? (M(), xe("div", $ne, [
47361
+ (M(!0), xe(et, null, $t(y.items, (E, S) => (M(), xe(et, {
47313
47362
  key: E.title
47314
47363
  }, [
47315
47364
  te("div", Hne, Fe(E.title), 1),
47316
- (M(!0), we(et, null, $t(E.commands, (_, T) => (M(), we("button", {
47365
+ (M(!0), xe(et, null, $t(E.commands, (_, T) => (M(), xe("button", {
47317
47366
  ref_for: !0,
47318
47367
  ref: (A) => g(S, T, A),
47319
47368
  key: T,
47320
- class: lt(["flex items-center gap-3 px-2 py-1.5 text-sm text-neutral-800 dark:text-neutral-200 text-left w-full rounded-sm outline-none transition-colors", [
47369
+ class: ut(["flex items-center gap-3 px-2 py-1.5 text-sm text-neutral-800 dark:text-neutral-200 text-left w-full rounded-sm outline-none transition-colors", [
47321
47370
  r.value === S && n.value === T ? "bg-ed-accent text-neutral-800 dark:bg-neutral-900 dark:text-neutral-200" : "hover:bg-ed-accent hover:text-neutral-800 dark:hover:bg-neutral-900 dark:hover:text-neutral-200"
47322
47371
  ]]),
47323
47372
  onClick: (A) => m(S, T)
47324
47373
  }, [
47325
- _.iconUrl ? (M(), we("img", {
47374
+ _.iconUrl ? (M(), xe("img", {
47326
47375
  key: 0,
47327
47376
  class: "w-6 h-6",
47328
47377
  src: _.iconUrl
@@ -47332,10 +47381,10 @@ const $ne = {
47332
47381
  name: _.iconName,
47333
47382
  class: "mr-1 text-lg"
47334
47383
  }, null, 8, ["name"])) : He("", !0),
47335
- dt(" " + Fe(_.label), 1)
47384
+ lt(" " + Fe(_.label), 1)
47336
47385
  ], 10, zne))), 128))
47337
47386
  ], 64))), 128))
47338
- ])) : (M(), we("div", Une, [
47387
+ ])) : (M(), xe("div", Une, [
47339
47388
  te("span", Wne, Fe(v(i)("editor.slash.empty")), 1)
47340
47389
  ]))
47341
47390
  ], 512);
@@ -48013,13 +48062,13 @@ const h7 = ({ validateFn: t, onUpload: e }) => (n, r, o, i) => {
48013
48062
  default: O(() => [
48014
48063
  I(v(_c), { value: "upload" }, {
48015
48064
  default: O(() => [
48016
- dt(Fe(v(o)("editor.image.dialog.tab.upload")), 1)
48065
+ lt(Fe(v(o)("editor.image.dialog.tab.upload")), 1)
48017
48066
  ]),
48018
48067
  _: 1
48019
48068
  }),
48020
48069
  I(v(_c), { value: "link" }, {
48021
48070
  default: O(() => [
48022
- dt(Fe(v(o)("editor.image.dialog.tab.url")), 1)
48071
+ lt(Fe(v(o)("editor.image.dialog.tab.url")), 1)
48023
48072
  ]),
48024
48073
  _: 1
48025
48074
  })
@@ -48034,7 +48083,7 @@ const h7 = ({ validateFn: t, onUpload: e }) => (n, r, o, i) => {
48034
48083
  onClick: l
48035
48084
  }, {
48036
48085
  default: O(() => [
48037
- dt(Fe(v(o)("editor.image.dialog.tab.upload")), 1)
48086
+ lt(Fe(v(o)("editor.image.dialog.tab.upload")), 1)
48038
48087
  ]),
48039
48088
  _: 1
48040
48089
  }),
@@ -48063,7 +48112,7 @@ const h7 = ({ validateFn: t, onUpload: e }) => (n, r, o, i) => {
48063
48112
  }, null, 8, ["modelValue", "placeholder"]),
48064
48113
  I(v(Dr), { onClick: s }, {
48065
48114
  default: O(() => [
48066
- dt(Fe(v(o)("editor.image.dialog.button.apply")), 1)
48115
+ lt(Fe(v(o)("editor.image.dialog.button.apply")), 1)
48067
48116
  ]),
48068
48117
  _: 1
48069
48118
  })
@@ -48213,13 +48262,13 @@ const h7 = ({ validateFn: t, onUpload: e }) => (n, r, o, i) => {
48213
48262
  I(v(nu), { "as-child": "" }, {
48214
48263
  default: O(() => [
48215
48264
  te("div", vre, [
48216
- r.value ? (M(), we("div", yre, [
48265
+ r.value ? (M(), xe("div", yre, [
48217
48266
  I(v(hn), {
48218
48267
  class: "animate-spin w-6 h-6",
48219
48268
  name: "LoaderCircle"
48220
48269
  }),
48221
48270
  te("span", null, Fe(v(i)("editor.video.dialog.uploading")) + "...", 1)
48222
- ])) : (M(), we("div", wre, [
48271
+ ])) : (M(), xe("div", wre, [
48223
48272
  te("div", xre, [
48224
48273
  I(v(hn), {
48225
48274
  name: "Video",
@@ -48253,13 +48302,13 @@ const h7 = ({ validateFn: t, onUpload: e }) => (n, r, o, i) => {
48253
48302
  default: O(() => [
48254
48303
  I(v(_c), { value: "upload" }, {
48255
48304
  default: O(() => [
48256
- dt(Fe(v(i)("editor.video.dialog.tab.upload")), 1)
48305
+ lt(Fe(v(i)("editor.video.dialog.tab.upload")), 1)
48257
48306
  ]),
48258
48307
  _: 1
48259
48308
  }),
48260
48309
  I(v(_c), { value: "link" }, {
48261
48310
  default: O(() => [
48262
- dt(Fe(v(i)("editor.video.dialog.link")), 1)
48311
+ lt(Fe(v(i)("editor.video.dialog.link")), 1)
48263
48312
  ]),
48264
48313
  _: 1
48265
48314
  })
@@ -48274,7 +48323,7 @@ const h7 = ({ validateFn: t, onUpload: e }) => (n, r, o, i) => {
48274
48323
  onClick: u
48275
48324
  }, {
48276
48325
  default: O(() => [
48277
- dt(Fe(v(i)("editor.video.dialog.tab.upload")), 1)
48326
+ lt(Fe(v(i)("editor.video.dialog.tab.upload")), 1)
48278
48327
  ]),
48279
48328
  _: 1
48280
48329
  }),
@@ -48306,7 +48355,7 @@ const h7 = ({ validateFn: t, onUpload: e }) => (n, r, o, i) => {
48306
48355
  }, null, 8, ["modelValue", "placeholder"]),
48307
48356
  I(v(Dr), { type: "submit" }, {
48308
48357
  default: O(() => [
48309
- dt(Fe(v(i)("editor.video.dialog.button.apply")), 1)
48358
+ lt(Fe(v(i)("editor.video.dialog.button.apply")), 1)
48310
48359
  ]),
48311
48360
  _: 1
48312
48361
  })
@@ -50709,7 +50758,7 @@ const bie = { class: "flex items-center h-[32px] hover:bg-ed-muted rounded-md" }
50709
50758
  return xn(() => {
50710
50759
  const { color: s } = e.editor.getAttributes("highlight");
50711
50760
  r.highlight = s;
50712
- }), (s, a) => (M(), we("div", bie, [
50761
+ }), (s, a) => (M(), xe("div", bie, [
50713
50762
  I(at, {
50714
50763
  id: "highlight",
50715
50764
  tooltip: s.tooltip,
@@ -50719,7 +50768,7 @@ const bie = { class: "flex items-center h-[32px] hover:bg-ed-muted rounded-md" }
50719
50768
  }, {
50720
50769
  icon: O(() => [
50721
50770
  te("span", vie, [
50722
- (M(), we("svg", yie, [
50771
+ (M(), xe("svg", yie, [
50723
50772
  te("g", wie, [
50724
50773
  te("g", xie, [
50725
50774
  a[1] || (a[1] = te("g", {
@@ -51052,7 +51101,7 @@ const bie = { class: "flex items-center h-[32px] hover:bg-ed-muted rounded-md" }
51052
51101
  function i() {
51053
51102
  r("edit");
51054
51103
  }
51055
- return (s, a) => (M(), we("div", Tie, [
51104
+ return (s, a) => (M(), xe("div", Tie, [
51056
51105
  te("a", {
51057
51106
  href: s.link,
51058
51107
  target: "_blank",
@@ -51171,8 +51220,8 @@ const bie = { class: "flex items-center h-[32px] hover:bg-ed-muted rounded-md" }
51171
51220
  },
51172
51221
  setup(t) {
51173
51222
  const e = t;
51174
- return (n, r) => (M(), we("div", {
51175
- class: lt(v(Qe)(v(Mie)({ variant: e.variant }), e.class))
51223
+ return (n, r) => (M(), xe("div", {
51224
+ class: ut(v(Qe)(v(Mie)({ variant: e.variant }), e.class))
51176
51225
  }, [
51177
51226
  ee(n.$slots, "default")
51178
51227
  ], 2));
@@ -51309,10 +51358,10 @@ const bie = { class: "flex items-center h-[32px] hover:bg-ed-muted rounded-md" }
51309
51358
  };
51310
51359
  return (y, w) => {
51311
51360
  const x = hn;
51312
- return M(), we("div", Nie, [
51313
- (M(!0), we(et, null, $t(r.value, (E, S) => {
51361
+ return M(), xe("div", Nie, [
51362
+ (M(!0), xe(et, null, $t(r.value, (E, S) => {
51314
51363
  var _;
51315
- return M(), we("div", {
51364
+ return M(), xe("div", {
51316
51365
  key: E.id,
51317
51366
  index: S,
51318
51367
  ref_for: !0,
@@ -51320,7 +51369,7 @@ const bie = { class: "flex items-center h-[32px] hover:bg-ed-muted rounded-md" }
51320
51369
  ref: n,
51321
51370
  "book-mark-id": E.id,
51322
51371
  "line-id": E.lineId,
51323
- class: lt(v(Qe)("super-text-view", "absolute w-full px-2 translate-y-[-10px] group", {})),
51372
+ class: ut(v(Qe)("super-text-view", "absolute w-full px-2 translate-y-[-10px] group", {})),
51324
51373
  style: Xt({ top: `${E.visiblePosition || ((_ = E.position) == null ? void 0 : _.top)}px` }),
51325
51374
  onMouseover: (T) => m(T, S),
51326
51375
  onMouseleave: g
@@ -51328,7 +51377,7 @@ const bie = { class: "flex items-center h-[32px] hover:bg-ed-muted rounded-md" }
51328
51377
  I(v(W7), {
51329
51378
  role: "text",
51330
51379
  variant: "outline",
51331
- class: lt(
51380
+ class: ut(
51332
51381
  v(Qe)(
51333
51382
  "break-all w-full !font-normal px-1 pt-0 m-0 !leading-tight rounded-sm text-white border-transparent",
51334
51383
  E.status === 0 ? "bg-red-500" : "bg-green-500"
@@ -51469,10 +51518,10 @@ const bie = { class: "flex items-center h-[32px] hover:bg-ed-muted rounded-md" }
51469
51518
  };
51470
51519
  return (y, w) => {
51471
51520
  const x = hn;
51472
- return M(), we("div", Pie, [
51473
- (M(!0), we(et, null, $t(r.value, (E, S) => {
51521
+ return M(), xe("div", Pie, [
51522
+ (M(!0), xe(et, null, $t(r.value, (E, S) => {
51474
51523
  var _;
51475
- return M(), we("div", {
51524
+ return M(), xe("div", {
51476
51525
  key: E.id,
51477
51526
  index: S,
51478
51527
  ref_for: !0,
@@ -51480,7 +51529,7 @@ const bie = { class: "flex items-center h-[32px] hover:bg-ed-muted rounded-md" }
51480
51529
  ref: n,
51481
51530
  "book-mark-id": E.id,
51482
51531
  "line-id": E.lineId,
51483
- class: lt(v(Qe)("super-text-view", "absolute w-full px-2 translate-y-[-10px] group", {})),
51532
+ class: ut(v(Qe)("super-text-view", "absolute w-full px-2 translate-y-[-10px] group", {})),
51484
51533
  style: Xt({ top: `${E.visiblePosition || ((_ = E.position) == null ? void 0 : _.top)}px` }),
51485
51534
  onMouseover: (T) => m(T, S),
51486
51535
  onMouseleave: g
@@ -51488,7 +51537,7 @@ const bie = { class: "flex items-center h-[32px] hover:bg-ed-muted rounded-md" }
51488
51537
  I(v(W7), {
51489
51538
  role: "text",
51490
51539
  variant: "outline",
51491
- class: lt(
51540
+ class: ut(
51492
51541
  v(Qe)(
51493
51542
  "break-all w-full !font-normal px-1 pt-0 m-0 !leading-tight rounded-sm text-white border-transparent",
51494
51543
  E.status === 0 ? "bg-red-500" : "bg-green-500"
@@ -51677,7 +51726,7 @@ const bie = { class: "flex items-center h-[32px] hover:bg-ed-muted rounded-md" }
51677
51726
  (T) => {
51678
51727
  _(T);
51679
51728
  }
51680
- ), e({ editor: w }), (T, A) => (M(), we("div", zie, [
51729
+ ), e({ editor: w }), (T, A) => (M(), xe("div", zie, [
51681
51730
  te("div", Vie, [
51682
51731
  Lo(I(Hie, {
51683
51732
  editor: v(w),
@@ -51818,7 +51867,7 @@ const qie = { class: "flex flex-1" }, Kie = {
51818
51867
  maxWidth: Gn(r.maxWidth),
51819
51868
  width: r.maxWidth ? "100%" : void 0,
51820
51869
  margin: r.maxWidth ? "0 auto" : void 0
51821
- })), xe = new au({
51870
+ })), we = new au({
51822
51871
  enablePasteRules: !1,
51823
51872
  // disable Markdown when pasting
51824
51873
  enableInputRules: !1,
@@ -51857,7 +51906,7 @@ const qie = { class: "flex flex-1" }, Kie = {
51857
51906
  extensions: Gt.uniqBy(Gt.reverse(v(A)), "name"),
51858
51907
  editable: !r.disabled,
51859
51908
  onFocus: () => {
51860
- _(ut.value);
51909
+ _(ct.value);
51861
51910
  }
51862
51911
  });
51863
51912
  function Ne() {
@@ -51885,7 +51934,7 @@ const qie = { class: "flex flex-1" }, Kie = {
51885
51934
  }
51886
51935
  }
51887
51936
  function G(ke) {
51888
- return ke.every((X) => xe == null ? void 0 : xe.extensionManager.extensions.find((re) => re.name === X));
51937
+ return ke.every((X) => we == null ? void 0 : we.extensionManager.extensions.find((re) => re.name === X));
51889
51938
  }
51890
51939
  $e(
51891
51940
  () => r.dark,
@@ -51893,19 +51942,19 @@ const qie = { class: "flex flex-1" }, Kie = {
51893
51942
  ), $e(
51894
51943
  () => S.languages,
51895
51944
  () => {
51896
- xe.commands.checkSpelling();
51945
+ we.commands.checkSpelling();
51897
51946
  }
51898
51947
  ), $e(
51899
51948
  () => r.modelValue,
51900
51949
  (ke) => {
51901
- if (!xe || Gt.isEqual(q(xe, r.output), ke)) return;
51902
- const { from: X, to: re } = xe.state.selection;
51903
- xe.commands.setTextSelection({ from: X, to: re }), Ne(), xe.commands.setContent(ui(ke, r.disabled, r.mode), !1);
51950
+ if (!we || Gt.isEqual(q(we, r.output), ke)) return;
51951
+ const { from: X, to: re } = we.state.selection;
51952
+ we.commands.setTextSelection({ from: X, to: re }), Ne(), we.commands.setContent(ui(ke, r.disabled, r.mode), !1);
51904
51953
  },
51905
51954
  { deep: !0 }
51906
51955
  ), $e(
51907
51956
  () => r.disabled,
51908
- (ke) => xe == null ? void 0 : xe.setEditable(!ke)
51957
+ (ke) => we == null ? void 0 : we.setEditable(!ke)
51909
51958
  ), $e(
51910
51959
  () => g.value,
51911
51960
  () => {
@@ -51913,22 +51962,22 @@ const qie = { class: "flex flex-1" }, Kie = {
51913
51962
  o("changed:selection", { editor: ke });
51914
51963
  });
51915
51964
  }
51916
- ), ar(() => xe == null ? void 0 : xe.destroy()), Gh(Kh.SAVE, () => {
51917
- localStorage.setItem("content", q(xe, "html"));
51965
+ ), ar(() => we == null ? void 0 : we.destroy()), Gh(Kh.SAVE, () => {
51966
+ localStorage.setItem("content", q(we, "html"));
51918
51967
  });
51919
51968
  const D = Y(() => {
51920
51969
  var pe;
51921
- if (!((pe = xe == null ? void 0 : xe.storage) != null && pe.superText)) return !1;
51922
- const { enable: ke } = xe.storage.superText, X = [Ct.EDITOR, Ct.PLAIN_TEXT].includes(r.mode), re = r.disabled;
51970
+ if (!((pe = we == null ? void 0 : we.storage) != null && pe.superText)) return !1;
51971
+ const { enable: ke } = we.storage.superText, X = [Ct.EDITOR, Ct.PLAIN_TEXT].includes(r.mode), re = r.disabled;
51923
51972
  return ke && !X && !re;
51924
51973
  }), Q = V(null), se = Y(() => r.mode), { commentHeight: ce, contentHeight: fe, minHeight: Re, minHeightComment: Ie } = jie(
51925
51974
  Q,
51926
51975
  se,
51927
51976
  r.autoHeight,
51928
51977
  typeof r.minHeight == "string" ? parseInt(r.minHeight) : r.minHeight
51929
- ), ut = V(null);
51978
+ ), ct = V(null);
51930
51979
  function Ue(ke) {
51931
- ke === Ct.STRAIGHT && _(ut.value);
51980
+ ke === Ct.STRAIGHT && _(ct.value);
51932
51981
  }
51933
51982
  return pt(() => {
51934
51983
  Ue(r.mode);
@@ -51937,41 +51986,41 @@ const qie = { class: "flex flex-1" }, Kie = {
51937
51986
  (ke) => {
51938
51987
  Ue(ke);
51939
51988
  }
51940
- ), e({ editor: xe }), (ke, X) => {
51989
+ ), e({ editor: we }), (ke, X) => {
51941
51990
  const re = U7, pe = V7, he = z7, _e = kC, De = DH;
51942
- return v(xe) ? (M(), we("div", {
51991
+ return v(we) ? (M(), xe("div", {
51943
51992
  key: 0,
51944
51993
  id: "vdc-editor",
51945
- class: lt(["vdc-editor w-full flex flex-col", [
51994
+ class: ut(["vdc-editor w-full flex flex-col", [
51946
51995
  ke.editorClass,
51947
51996
  {
51948
- "outline-ed-primary": v(xe).isFocused,
51949
- "outline-ed-border": !v(xe).isFocused
51997
+ "outline-ed-primary": v(we).isFocused,
51998
+ "outline-ed-border": !v(we).isFocused
51950
51999
  }
51951
52000
  ]]),
51952
52001
  style: Xt(ne.value)
51953
52002
  }, [
51954
- !ke.hideBubble && !ke.disabled && v(xe).isEditable ? (M(), we(et, { key: 0 }, [
52003
+ !ke.hideBubble && !ke.disabled && v(we).isEditable ? (M(), xe(et, { key: 0 }, [
51955
52004
  G([v(fv)]) ? (M(), P(re, {
51956
52005
  key: 0,
51957
- editor: v(xe)
52006
+ editor: v(we)
51958
52007
  }, null, 8, ["editor"])) : He("", !0),
51959
52008
  G([v(od)]) ? (M(), P(pe, {
51960
52009
  key: 1,
51961
- editor: v(xe)
52010
+ editor: v(we)
51962
52011
  }, null, 8, ["editor"])) : He("", !0),
51963
52012
  G([v(cu)]) ? (M(), P(he, {
51964
52013
  key: 2,
51965
- editor: v(xe)
52014
+ editor: v(we)
51966
52015
  }, null, 8, ["editor"])) : He("", !0),
51967
52016
  G([v(du), v(fu)]) ? (M(), P(_e, {
51968
52017
  key: 3,
51969
- editor: v(xe)
52018
+ editor: v(we)
51970
52019
  }, null, 8, ["editor"])) : He("", !0)
51971
52020
  ], 64)) : He("", !0),
51972
52021
  ke.hideToolbar ? He("", !0) : (M(), P(De, {
51973
52022
  key: 1,
51974
- editor: v(xe),
52023
+ editor: v(we),
51975
52024
  mode: ke.mode,
51976
52025
  disabled: ke.disabled,
51977
52026
  class: "mb-2"
@@ -51979,7 +52028,7 @@ const qie = { class: "flex flex-1" }, Kie = {
51979
52028
  te("div", {
51980
52029
  ref_key: "editorWrapRef",
51981
52030
  ref: Q,
51982
- class: lt(
52031
+ class: ut(
51983
52032
  v(Qe)(
51984
52033
  "space-y-2 flex-1 flex flex-col",
51985
52034
  !R.value && "[&_*]:!font-inherit [&_*]:!text-font-size-inherit",
@@ -52016,7 +52065,7 @@ const qie = { class: "flex flex-1" }, Kie = {
52016
52065
  }, [
52017
52066
  te("div", qie, [
52018
52067
  Lo(I(Die, {
52019
- editor: v(xe),
52068
+ editor: v(we),
52020
52069
  class: "mr-2.5 border border-[#999999] rounded-[3px] bg-[#F2F2F7]"
52021
52070
  }, null, 8, ["editor"]), [
52022
52071
  [zi, D.value]
@@ -52024,14 +52073,14 @@ const qie = { class: "flex flex-1" }, Kie = {
52024
52073
  te("div", Kie, [
52025
52074
  I(hv, {
52026
52075
  ref_key: "selectContextMenuRef",
52027
- ref: ut,
52028
- editor: v(xe),
52076
+ ref: ct,
52077
+ editor: v(we),
52029
52078
  mode: ke.mode,
52030
52079
  "super-text-store": v(E)
52031
52080
  }, {
52032
52081
  default: O(() => [
52033
52082
  I(v(nd), {
52034
- editor: v(xe),
52083
+ editor: v(we),
52035
52084
  spellcheck: "true",
52036
52085
  class: "h-full break-all"
52037
52086
  }, null, 8, ["editor"])
@@ -52080,9 +52129,9 @@ const qie = { class: "flex flex-1" }, Kie = {
52080
52129
  }
52081
52130
  return n.activeExtensions.length ? l.filter((u) => u.id && n.activeExtensions.includes(u.id)) : (r.length && (l = l.filter((u) => u.id && !r.includes(u.id))), l);
52082
52131
  }), i = (a) => a.id === "spellchecker" ? "!text-ed-blue !bg-white !font-normal rounded [&>div>svg]:w-[19px] [&>div>svg]:h-[19px] h-[26px] gap-x-1 whitespace-nowrap" : a.button.componentProps.customClass, s = (a) => a.id === "spellchecker" ? "Spellchecker" : a.button.componentProps.icon;
52083
- return (a, l) => (M(), we("div", {
52132
+ return (a, l) => (M(), xe("div", {
52084
52133
  id: "tool-bar-format",
52085
- class: lt(
52134
+ class: ut(
52086
52135
  v(Qe)(
52087
52136
  "z-10 bg-[#E0E0E0] rounded-[5px] px-2.5 py-[5px] leading-none overflow-x-auto overflow-y-hidden min-h-[48px]",
52088
52137
  v(mc)() && "top-16",
@@ -52091,7 +52140,7 @@ const qie = { class: "flex flex-1" }, Kie = {
52091
52140
  )
52092
52141
  }, [
52093
52142
  te("div", Gie, [
52094
- (M(!0), we(et, null, $t(o.value, (u, d) => {
52143
+ (M(!0), xe(et, null, $t(o.value, (u, d) => {
52095
52144
  var p;
52096
52145
  return M(), P(Zr(u.button.component), Se({
52097
52146
  key: d,
@@ -52153,9 +52202,9 @@ const qie = { class: "flex flex-1" }, Kie = {
52153
52202
  }
52154
52203
  return n.activeExtensions.length ? u.filter((d) => d.id && n.activeExtensions.includes(d.id)) : u;
52155
52204
  }), o = (s) => s.id === "spellchecker" ? "!text-ed-blue bg-white !font-normal rounded [&>div>svg]:w-[19px] [&>div>svg]:h-[19px] h-[26px] gap-x-1 whitespace-nowrap" : s.button.componentProps.customClass, i = (s) => s.id === "spellchecker" ? "Spellchecker" : s.button.componentProps.icon;
52156
- return (s, a) => (M(), we("div", {
52205
+ return (s, a) => (M(), xe("div", {
52157
52206
  id: "tool-bar",
52158
- class: lt(
52207
+ class: ut(
52159
52208
  v(Qe)(
52160
52209
  "z-10 bg-[#E0E0E0] rounded-[5px] px-2.5 py-[5px] leading-none",
52161
52210
  v(mc)() && "top-16",
@@ -52164,9 +52213,9 @@ const qie = { class: "flex flex-1" }, Kie = {
52164
52213
  )
52165
52214
  }, [
52166
52215
  te("div", Xie, [
52167
- (M(!0), we(et, null, $t(r.value, (l, u) => {
52216
+ (M(!0), xe(et, null, $t(r.value, (l, u) => {
52168
52217
  var d;
52169
- return M(), we(et, { key: u }, [
52218
+ return M(), xe(et, { key: u }, [
52170
52219
  l.spacer && u !== 0 ? (M(), P(v(Vi), {
52171
52220
  key: 0,
52172
52221
  orientation: "vertical",
@@ -52244,7 +52293,7 @@ const qie = { class: "flex flex-1" }, Kie = {
52244
52293
  return (w, x) => {
52245
52294
  var A, R, j;
52246
52295
  const E = o0, S = r0, _ = n0, T = t0;
52247
- return M(), we(et, null, [
52296
+ return M(), xe(et, null, [
52248
52297
  I(T, { "onUpdate:open": p }, {
52249
52298
  default: O(() => [
52250
52299
  I(E, {
@@ -52280,7 +52329,7 @@ const qie = { class: "flex flex-1" }, Kie = {
52280
52329
  onClick: x[2] || (x[2] = (W) => r.value = !0)
52281
52330
  }, {
52282
52331
  default: O(() => [
52283
- dt(Fe(v(n)("editor.insertSpecial")), 1)
52332
+ lt(Fe(v(n)("editor.insertSpecial")), 1)
52284
52333
  ]),
52285
52334
  _: 1
52286
52335
  }),
@@ -52289,25 +52338,25 @@ const qie = { class: "flex flex-1" }, Kie = {
52289
52338
  onClick: l
52290
52339
  }, {
52291
52340
  default: O(() => [
52292
- dt(Fe(v(n)("editor.paste")), 1)
52341
+ lt(Fe(v(n)("editor.paste")), 1)
52293
52342
  ]),
52294
52343
  _: 1
52295
52344
  })) : He("", !0),
52296
52345
  I(S, { onClick: s }, {
52297
52346
  default: O(() => [
52298
- dt(Fe(v(n)("editor.cut")), 1)
52347
+ lt(Fe(v(n)("editor.cut")), 1)
52299
52348
  ]),
52300
52349
  _: 1
52301
52350
  }),
52302
52351
  I(S, { onClick: a }, {
52303
52352
  default: O(() => [
52304
- dt(Fe(v(n)("editor.copy")), 1)
52353
+ lt(Fe(v(n)("editor.copy")), 1)
52305
52354
  ]),
52306
52355
  _: 1
52307
52356
  }),
52308
52357
  I(S, { onClick: u }, {
52309
52358
  default: O(() => [
52310
- dt(Fe(v(n)("editor.selectAll")), 1)
52359
+ lt(Fe(v(n)("editor.selectAll")), 1)
52311
52360
  ]),
52312
52361
  _: 1
52313
52362
  })
@@ -52321,7 +52370,7 @@ const qie = { class: "flex flex-1" }, Kie = {
52321
52370
  (M(), P(Zr((A = v(o)) == null ? void 0 : A.component), {
52322
52371
  "is-open": v(r),
52323
52372
  open: v(r),
52324
- class: lt((j = (R = v(o)) == null ? void 0 : R.componentProps) == null ? void 0 : j.class),
52373
+ class: ut((j = (R = v(o)) == null ? void 0 : R.componentProps) == null ? void 0 : j.class),
52325
52374
  onSelectedChar: i,
52326
52375
  onClose: x[3] || (x[3] = (W) => r.value = !1)
52327
52376
  }, null, 40, ["is-open", "open", "class"]))
@@ -52340,9 +52389,9 @@ const qie = { class: "flex flex-1" }, Kie = {
52340
52389
  const e = t, n = Y(
52341
52390
  () => e.disabled && e.mode !== Ct.EDITOR ? `[${e.fieldName.label}]` : e.fieldName.label
52342
52391
  );
52343
- return (r, o) => (M(), we("p", null, [
52392
+ return (r, o) => (M(), xe("p", null, [
52344
52393
  te("span", {
52345
- class: lt(
52394
+ class: ut(
52346
52395
  v(Qe)(
52347
52396
  "font-bold",
52348
52397
  r.mode !== v(Ct).EDITOR && "rounded-full border border-ed-blue text-ed-blue text-xs py-[2px] px-1 inline-block font-normal",
@@ -52483,7 +52532,7 @@ const qie = { class: "flex flex-1" }, Kie = {
52483
52532
  ), e({ editor: g, isFocused: y }), (_, T) => {
52484
52533
  var j;
52485
52534
  const A = G7, R = q7;
52486
- return M(), we(et, null, [
52535
+ return M(), xe(et, null, [
52487
52536
  (j = _.fieldNameComment) != null && j.label ? (M(), P(A, {
52488
52537
  key: 0,
52489
52538
  "field-name": _.fieldNameComment,
@@ -52624,7 +52673,7 @@ const qie = { class: "flex flex-1" }, Kie = {
52624
52673
  }), X.nextPanesSize = $(he[1] - 1), he[1] === void 0) ? (X.nextReachedMinPanes = 0, i.value.forEach((_e, De) => {
52625
52674
  De < a.value - 1 && De >= pe + 1 && (_e.size = _e.min, X.nextReachedMinPanes += _e.min);
52626
52675
  }), i.value[he[0]].size = 100 - X.prevPanesSize - $(he[0] - 1), null) : { sums: X, panesToResize: he };
52627
- }, W = (X) => i.value.reduce((re, pe, he) => re + (he < X ? pe.size : 0), 0), $ = (X) => i.value.reduce((re, pe, he) => re + (he > X + 1 ? pe.size : 0), 0), K = (X) => [...i.value].reverse().find((re) => re.index < X && re.size > re.min) || {}, ne = (X) => i.value.find((re) => re.index > X + 1 && re.size > re.min) || {}, xe = () => {
52676
+ }, W = (X) => i.value.reduce((re, pe, he) => re + (he < X ? pe.size : 0), 0), $ = (X) => i.value.reduce((re, pe, he) => re + (he > X + 1 ? pe.size : 0), 0), K = (X) => [...i.value].reverse().find((re) => re.index < X && re.size > re.min) || {}, ne = (X) => i.value.find((re) => re.index > X + 1 && re.size > re.min) || {}, we = () => {
52628
52677
  var X;
52629
52678
  const re = Array.from(((X = l.value) == null ? void 0 : X.children) || []);
52630
52679
  for (const pe of re) {
@@ -52668,7 +52717,7 @@ const qie = { class: "flex flex-1" }, Kie = {
52668
52717
  const pe = [], he = [];
52669
52718
  for (const _e of i.value)
52670
52719
  _e.size = Math.max(Math.min(X, _e.max), _e.min), re -= _e.size, _e.size >= _e.max && pe.push(_e.id), _e.size <= _e.min && he.push(_e.id);
52671
- re > 0.1 && ut(re, pe, he);
52720
+ re > 0.1 && ct(re, pe, he);
52672
52721
  }, Re = () => {
52673
52722
  let X = 100;
52674
52723
  const re = [], pe = [];
@@ -52679,7 +52728,7 @@ const qie = { class: "flex flex-1" }, Kie = {
52679
52728
  if (X > 0.1) {
52680
52729
  for (const De of i.value)
52681
52730
  De.givenSize === null && (De.size = Math.max(Math.min(X / (a.value - he), De.max), De.min)), _e -= De.size;
52682
- _e > 0.1 && ut(_e, re, pe);
52731
+ _e > 0.1 && ct(_e, re, pe);
52683
52732
  }
52684
52733
  }, Ie = ({ addedPane: X, removedPane: re } = {}) => {
52685
52734
  let pe = 100 / a.value, he = 0;
@@ -52690,9 +52739,9 @@ const qie = { class: "flex flex-1" }, Kie = {
52690
52739
  if (!(Math.abs(he) < 0.1)) {
52691
52740
  for (const qe of i.value)
52692
52741
  (X == null ? void 0 : X.givenSize) !== null && (X == null ? void 0 : X.id) === qe.id || (qe.size = Math.max(Math.min(pe, qe.max), qe.min)), he -= qe.size, qe.size >= qe.max && _e.push(qe.id), qe.size <= qe.min && De.push(qe.id);
52693
- he > 0.1 && ut(he, _e, De);
52742
+ he > 0.1 && ct(he, _e, De);
52694
52743
  }
52695
- }, ut = (X, re, pe) => {
52744
+ }, ct = (X, re, pe) => {
52696
52745
  let he;
52697
52746
  X > 0 ? he = X / (a.value - re.length) : he = X / (a.value - pe.length), i.value.forEach((_e, De) => {
52698
52747
  if (X > 0 && !re.includes(_e.id)) {
@@ -52718,7 +52767,7 @@ const qie = { class: "flex flex-1" }, Kie = {
52718
52767
  });
52719
52768
  };
52720
52769
  $e(() => r.firstSplitter, () => G()), pt(() => {
52721
- xe(), G(), ce(), Ue("ready"), u.value = !0;
52770
+ we(), G(), ce(), Ue("ready"), u.value = !0;
52722
52771
  }), Er(() => u.value = !1);
52723
52772
  const ke = () => {
52724
52773
  var X;
@@ -52763,7 +52812,7 @@ const qie = { class: "flex flex-1" }, Kie = {
52763
52812
  size: h.value
52764
52813
  // The computed current size at any time.
52765
52814
  });
52766
- }), Er(() => s(l)), (w, x) => (M(), we("div", {
52815
+ }), Er(() => s(l)), (w, x) => (M(), xe("div", {
52767
52816
  ref_key: "paneEl",
52768
52817
  ref: p,
52769
52818
  class: "splitpanes__pane",
@@ -52780,8 +52829,8 @@ const qie = { class: "flex flex-1" }, Kie = {
52780
52829
  customClass: {}
52781
52830
  },
52782
52831
  setup(t) {
52783
- return (e, n) => (M(), we("h3", {
52784
- class: lt(
52832
+ return (e, n) => (M(), xe("h3", {
52833
+ class: ut(
52785
52834
  v(Qe)("rounded-[5px] px-2.5 py-[5px] min-h-[32px] flex items-center bg-[#E0E0E0]", [e.customClass], [e.titleBar.bgClass])
52786
52835
  )
52787
52836
  }, Fe(e.titleBar.title), 3));
@@ -52863,14 +52912,14 @@ const X7 = /* @__PURE__ */ z({
52863
52912
  left: `${r.menuX}px`,
52864
52913
  transform: "translate(-50%, -50%)"
52865
52914
  }));
52866
- return (s, a) => (M(), we("div", {
52915
+ return (s, a) => (M(), xe("div", {
52867
52916
  style: Xt(v(i)),
52868
52917
  class: "fixed bg-[#424242]/40 text-white/40 rounded-[21px] w-[132px] h-[37px] flex items-center justify-center gap-6 [&>svg]:cursor-pointer"
52869
52918
  }, [
52870
- (M(!0), we(et, null, $t(v(n), (l) => (M(), P(v(hn), {
52919
+ (M(!0), xe(et, null, $t(v(n), (l) => (M(), P(v(hn), {
52871
52920
  key: l.name,
52872
52921
  name: l.name,
52873
- class: lt({ "text-black/80": l.name === s.iconSplitSelected.name }),
52922
+ class: ut({ "text-black/80": l.name === s.iconSplitSelected.name }),
52874
52923
  onClick: (u) => o("on-change-split", l)
52875
52924
  }, null, 8, ["name", "class", "onClick"]))), 128))
52876
52925
  ], 4));
@@ -53015,7 +53064,7 @@ const dc = /* @__PURE__ */ z({
53015
53064
  G(), ne.value = !0;
53016
53065
  },
53017
53066
  onBlur: () => ne.value = !1
53018
- }), ne = V(!1), xe = V();
53067
+ }), ne = V(!1), we = V();
53019
53068
  function Ne(le) {
53020
53069
  const Le = [];
53021
53070
  le.state.doc.descendants((ot) => {
@@ -53138,7 +53187,7 @@ const dc = /* @__PURE__ */ z({
53138
53187
  }
53139
53188
  );
53140
53189
  const {
53141
- showMenuSplitter: ut,
53190
+ showMenuSplitter: ct,
53142
53191
  menuX: Ue,
53143
53192
  menuY: ke,
53144
53193
  commentSize: X,
@@ -53155,18 +53204,18 @@ const dc = /* @__PURE__ */ z({
53155
53204
  });
53156
53205
  const qe = V();
53157
53206
  return hb(qe, (le) => {
53158
- ut.value = !1;
53207
+ ct.value = !1;
53159
53208
  }), e({ editor: K }), (le, Le) => {
53160
53209
  var Ge, gt, tt, ie, Ee, ge;
53161
53210
  const ot = U7, Ht = V7, H = z7, B = kC, me = Zie, Ae = q7;
53162
- return M(), we(et, null, [
53163
- q.value ? (M(), we("div", {
53211
+ return M(), xe(et, null, [
53212
+ q.value ? (M(), xe("div", {
53164
53213
  key: 0,
53165
53214
  id: "vdc-editor",
53166
53215
  ref_key: "editorRef",
53167
53216
  ref: R,
53168
53217
  style: Xt($.value),
53169
- class: lt(
53218
+ class: ut(
53170
53219
  v(Qe)(
53171
53220
  "vdc-editor moblie relative w-full flex flex-col",
53172
53221
  !r.height && "flex-1",
@@ -53177,7 +53226,7 @@ const dc = /* @__PURE__ */ z({
53177
53226
  )
53178
53227
  )
53179
53228
  }, [
53180
- !le.hideBubble && !le.disabled && v(K).isEditable ? (M(), we(et, { key: 0 }, [
53229
+ !le.hideBubble && !le.disabled && v(K).isEditable ? (M(), xe(et, { key: 0 }, [
53181
53230
  se([v(fv)]) ? (M(), P(ot, {
53182
53231
  key: 0,
53183
53232
  editor: v(K)
@@ -53203,7 +53252,7 @@ const dc = /* @__PURE__ */ z({
53203
53252
  class: "mb-[3px]"
53204
53253
  }, null, 8, ["editor", "mode", "disabled"])),
53205
53254
  I(v(J7), {
53206
- class: lt(
53255
+ class: ut(
53207
53256
  v(Qe)(
53208
53257
  "flex flex-col [&_*]:!font-inherit [&_*]:!text-font-size-inherit",
53209
53258
  T.value && "[&_*]:!font-inherit",
@@ -53230,17 +53279,17 @@ const dc = /* @__PURE__ */ z({
53230
53279
  class: "mb-[3px]"
53231
53280
  }, null, 8, ["title-bar"])) : He("", !0),
53232
53281
  te("div", {
53233
- class: lt(
53282
+ class: ut(
53234
53283
  v(Qe)(
53235
53284
  "!overflow-y-scroll flex h-full flex-col pt-1.5 p-2.5 border border-ed-gray rounded-[5px]",
53236
- ((Xe = xe.value) == null ? void 0 : Xe.isFocused) && "border-ed-blue",
53285
+ ((Xe = we.value) == null ? void 0 : Xe.isFocused) && "border-ed-blue",
53237
53286
  le.disabled && "border-transparent"
53238
53287
  )
53239
53288
  )
53240
53289
  }, [
53241
53290
  I(rse, {
53242
53291
  ref_key: "editorCommentRef",
53243
- ref: xe,
53292
+ ref: we,
53244
53293
  mode: le.mode,
53245
53294
  extensions: le.extensions,
53246
53295
  "model-value": r.comment,
@@ -53269,7 +53318,7 @@ const dc = /* @__PURE__ */ z({
53269
53318
  class: "mb-[3px]"
53270
53319
  }, null, 8, ["title-bar"])) : He("", !0),
53271
53320
  te("div", {
53272
- class: lt(
53321
+ class: ut(
53273
53322
  v(Qe)(
53274
53323
  "flex-1 !overflow-y-auto flex flex-col pt-1.5 p-2.5 border border-ed-gray rounded-[5px]",
53275
53324
  ne.value && "border-ed-blue",
@@ -53313,7 +53362,7 @@ const dc = /* @__PURE__ */ z({
53313
53362
  _: 1
53314
53363
  }, 8, ["class", "style", "onReady", "onResized"])
53315
53364
  ], 6)) : He("", !0),
53316
- v(ut) && !le.disabled ? (M(), P(X7, {
53365
+ v(ct) && !le.disabled ? (M(), P(X7, {
53317
53366
  key: 1,
53318
53367
  ref_key: "splitToastRef",
53319
53368
  ref: qe,
@@ -53605,8 +53654,8 @@ var Y7 = { exports: {} };
53605
53654
  continue;
53606
53655
  }
53607
53656
  Q === ce - 1 && (fe = !0);
53608
- var ut = D[Ie.key];
53609
- ut && ut.forEach(function(Ue) {
53657
+ var ct = D[Ie.key];
53658
+ ct && ct.forEach(function(Ue) {
53610
53659
  var ke = se ? se.length : 0, X = A(
53611
53660
  q,
53612
53661
  ce,
@@ -53623,8 +53672,8 @@ var Y7 = { exports: {} };
53623
53672
  var ce = q.beforeTokens, fe = q.afterTokens, Re = G + Q, Ie = D + Q;
53624
53673
  if (!(Re >= ce.length || Ie >= fe.length)) {
53625
53674
  if (Q) {
53626
- var ut = ce[Re].key, Ue = fe[Ie].key;
53627
- if (ut !== Ue)
53675
+ var ct = ce[Re].key, Ue = fe[Ie].key;
53676
+ if (ct !== Ue)
53628
53677
  return;
53629
53678
  }
53630
53679
  for (var ke = !0, X = 1, re = G + X, pe = D + X; ke && re < ce.length && pe < fe.length; ) {
@@ -53663,12 +53712,12 @@ var Y7 = { exports: {} };
53663
53712
  q.afterIndex
53664
53713
  ));
53665
53714
  }
53666
- var fe = q.beforeTokens.slice(D.segmentEndInBefore + 1), Re = q.afterTokens.slice(D.segmentEndInAfter + 1), Ie = q.beforeIndex + D.segmentEndInBefore + 1, ut = q.afterIndex + D.segmentEndInAfter + 1;
53715
+ var fe = q.beforeTokens.slice(D.segmentEndInBefore + 1), Re = q.afterTokens.slice(D.segmentEndInAfter + 1), Ie = q.beforeIndex + D.segmentEndInBefore + 1, ct = q.afterIndex + D.segmentEndInAfter + 1;
53667
53716
  fe.length && Re.length && Q.push(R(
53668
53717
  fe,
53669
53718
  Re,
53670
53719
  Ie,
53671
- ut
53720
+ ct
53672
53721
  )), G.add(D);
53673
53722
  }
53674
53723
  return G.toArray();
@@ -53679,13 +53728,13 @@ var Y7 = { exports: {} };
53679
53728
  var D = 0, Q = 0, se = [], ce = R(q, G, 0, 0), fe = j(ce);
53680
53729
  fe.push(new y(q.length, G.length, 0, ce));
53681
53730
  for (var Re = 0; Re < fe.length; Re++) {
53682
- var Ie = fe[Re], ut = "none";
53683
- D === Ie.startInBefore ? Q !== Ie.startInAfter && (ut = "insert") : (ut = "delete", Q !== Ie.startInAfter && (ut = "replace")), ut !== "none" && se.push({
53684
- action: ut,
53731
+ var Ie = fe[Re], ct = "none";
53732
+ D === Ie.startInBefore ? Q !== Ie.startInAfter && (ct = "insert") : (ct = "delete", Q !== Ie.startInAfter && (ct = "replace")), ct !== "none" && se.push({
53733
+ action: ct,
53685
53734
  startInBefore: D,
53686
- endInBefore: ut !== "insert" ? Ie.startInBefore - 1 : null,
53735
+ endInBefore: ct !== "insert" ? Ie.startInBefore - 1 : null,
53687
53736
  startInAfter: Q,
53688
- endInAfter: ut !== "delete" ? Ie.startInAfter - 1 : null
53737
+ endInAfter: ct !== "delete" ? Ie.startInAfter - 1 : null
53689
53738
  }), Ie.length !== 0 && se.push({
53690
53739
  action: "equal",
53691
53740
  startInBefore: Ie.startInBefore,
@@ -53771,7 +53820,7 @@ var Y7 = { exports: {} };
53771
53820
  return ne.delete.apply(null, arguments) + ne.insert.apply(null, arguments);
53772
53821
  }
53773
53822
  };
53774
- function xe(q, G, D, Q, se) {
53823
+ function we(q, G, D, Q, se) {
53775
53824
  return D.reduce(function(ce, fe, Re) {
53776
53825
  return ce + ne[fe.action](
53777
53826
  fe,
@@ -53787,9 +53836,9 @@ var Y7 = { exports: {} };
53787
53836
  if (q === G) return q;
53788
53837
  se ? l = new RegExp("^<(" + se.replace(/\s*/g, "").replace(/,/g, "|") + ")") : l = u, q = w(q), G = w(G);
53789
53838
  var ce = W(q, G);
53790
- return xe(q, G, ce, Q, D);
53839
+ return we(q, G, ce, Q, D);
53791
53840
  }
53792
- Ne.htmlToTokens = w, Ne.findMatchingBlocks = j, j.findBestMatch = T, j.createMap = E, j.createToken = g, j.createSegment = R, j.getKeyForToken = x, Ne.calculateOperations = W, Ne.renderOperations = xe, t !== null ? t.exports = Ne : this.htmldiff = Ne;
53841
+ Ne.htmlToTokens = w, Ne.findMatchingBlocks = j, j.findBestMatch = T, j.createMap = E, j.createToken = g, j.createSegment = R, j.getKeyForToken = x, Ne.calculateOperations = W, Ne.renderOperations = we, t !== null ? t.exports = Ne : this.htmldiff = Ne;
53793
53842
  }).call(bl);
53794
53843
  })(Y7);
53795
53844
  var ise = Y7.exports;
@@ -53836,9 +53885,9 @@ const sse = /* @__PURE__ */ jB(ise), ux = (t, e, n) => {
53836
53885
  o.value = !1;
53837
53886
  }), (g, y) => {
53838
53887
  const w = cb;
53839
- return M(), we(et, null, [
53888
+ return M(), xe(et, null, [
53840
53889
  te("div", {
53841
- class: lt(v(Qe)("h-[600px]", g.editorClass))
53890
+ class: ut(v(Qe)("h-[600px]", g.editorClass))
53842
53891
  }, [
53843
53892
  I(v(J7), {
53844
53893
  horizontal: "",