reactjs-tiptap-editor 0.3.18 → 0.3.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. package/lib/{ActionMenuButton-Bp3NtBKu.cjs → ActionMenuButton-BPq-R8E7.cjs} +1 -1
  2. package/lib/{ActionMenuButton-CK00Dg3S.js → ActionMenuButton-DCACoSG3.js} +1 -1
  3. package/lib/Attachment.cjs +1 -1
  4. package/lib/Attachment.js +2 -2
  5. package/lib/Blockquote.cjs +1 -1
  6. package/lib/Blockquote.js +1 -1
  7. package/lib/Bold.cjs +1 -1
  8. package/lib/Bold.js +1 -1
  9. package/lib/BulletList.cjs +1 -1
  10. package/lib/BulletList.js +1 -1
  11. package/lib/Clear.cjs +1 -1
  12. package/lib/Clear.js +1 -1
  13. package/lib/Code.cjs +1 -1
  14. package/lib/Code.js +1 -1
  15. package/lib/CodeBlock.cjs +1 -1
  16. package/lib/CodeBlock.js +1 -1
  17. package/lib/CodeView.cjs +1 -1
  18. package/lib/CodeView.js +1 -1
  19. package/lib/Color.cjs +1 -1
  20. package/lib/Color.js +1 -1
  21. package/lib/{Drawer-D7O4q7Un.cjs → Drawer-Dwx9V0Xb.cjs} +1 -1
  22. package/lib/{Drawer-B5bTsUf8.js → Drawer-Qh1zEBl3.js} +2 -2
  23. package/lib/Drawer.cjs +1 -1
  24. package/lib/Drawer.js +2 -2
  25. package/lib/Emoji.cjs +1 -1
  26. package/lib/Emoji.js +2 -2
  27. package/lib/Excalidraw-BP_-zWZH.cjs +1 -0
  28. package/lib/Excalidraw-DD3P3ClH.js +289 -0
  29. package/lib/Excalidraw.cjs +1 -1
  30. package/lib/Excalidraw.js +1 -1
  31. package/lib/ExportPdf.cjs +1 -1
  32. package/lib/ExportPdf.js +1 -1
  33. package/lib/ExportWord.cjs +1 -1
  34. package/lib/ExportWord.js +1 -1
  35. package/lib/FontFamily.cjs +1 -1
  36. package/lib/FontFamily.js +3 -3
  37. package/lib/FontSize.cjs +1 -1
  38. package/lib/FontSize.js +3 -3
  39. package/lib/FormatPainter.cjs +1 -1
  40. package/lib/FormatPainter.js +1 -1
  41. package/lib/Heading.cjs +1 -1
  42. package/lib/Heading.js +2 -2
  43. package/lib/Highlight.cjs +1 -1
  44. package/lib/Highlight.js +1 -1
  45. package/lib/History.cjs +1 -1
  46. package/lib/History.js +1 -1
  47. package/lib/HorizontalRule.cjs +1 -1
  48. package/lib/HorizontalRule.js +1 -1
  49. package/lib/Iframe.cjs +1 -1
  50. package/lib/Iframe.js +1 -1
  51. package/lib/Image.cjs +1 -1
  52. package/lib/Image.d.cts +1 -0
  53. package/lib/Image.d.ts +1 -0
  54. package/lib/Image.js +1 -1
  55. package/lib/ImageGif.cjs +1 -1
  56. package/lib/ImageGif.js +1 -1
  57. package/lib/ImportWord.cjs +1 -1
  58. package/lib/ImportWord.js +2 -2
  59. package/lib/Indent.cjs +1 -1
  60. package/lib/Indent.js +1 -1
  61. package/lib/Italic.cjs +1 -1
  62. package/lib/Italic.js +1 -1
  63. package/lib/Katex.cjs +1 -1
  64. package/lib/Katex.js +3 -3
  65. package/lib/LineHeight.cjs +1 -1
  66. package/lib/LineHeight.js +2 -2
  67. package/lib/Link.cjs +1 -1
  68. package/lib/Link.js +1 -1
  69. package/lib/Mermaid.cjs +1 -1
  70. package/lib/Mermaid.js +3 -3
  71. package/lib/MoreMark.cjs +1 -1
  72. package/lib/MoreMark.js +1 -1
  73. package/lib/MultiColumn.cjs +1 -1
  74. package/lib/MultiColumn.js +1 -1
  75. package/lib/OrderedList.cjs +1 -1
  76. package/lib/OrderedList.js +1 -1
  77. package/lib/{RichTextEditor-DWN9FEob.js → RichTextEditor-DIvPROxl.js} +845 -841
  78. package/lib/RichTextEditor-DszaQdvS.cjs +141 -0
  79. package/lib/SearchAndReplace.cjs +1 -1
  80. package/lib/SearchAndReplace.js +2 -2
  81. package/lib/SlashCommand.cjs +1 -1
  82. package/lib/SlashCommand.js +2 -2
  83. package/lib/Strike.cjs +1 -1
  84. package/lib/Strike.js +1 -1
  85. package/lib/SubAndSuperScript.cjs +1 -1
  86. package/lib/SubAndSuperScript.js +1 -1
  87. package/lib/Table.cjs +1 -1
  88. package/lib/Table.js +2 -2
  89. package/lib/TableOfContent.cjs +1 -1
  90. package/lib/TableOfContent.js +2 -2
  91. package/lib/TaskList.cjs +1 -1
  92. package/lib/TaskList.js +1 -1
  93. package/lib/TextAlign.cjs +1 -1
  94. package/lib/TextAlign.js +1 -1
  95. package/lib/TextBubble.cjs +1 -1
  96. package/lib/TextBubble.js +2 -2
  97. package/lib/TextDirection.cjs +1 -1
  98. package/lib/TextDirection.js +1 -1
  99. package/lib/TextUnderline.cjs +1 -1
  100. package/lib/TextUnderline.js +1 -1
  101. package/lib/{Twitter-COZu8DI2.cjs → Twitter-Bl5HyIX0.cjs} +1 -1
  102. package/lib/{Twitter-J0XtGXRC.js → Twitter-raSi7ATg.js} +2 -2
  103. package/lib/Twitter.cjs +1 -1
  104. package/lib/Twitter.js +1 -1
  105. package/lib/Video.cjs +1 -1
  106. package/lib/Video.js +2 -2
  107. package/lib/bubble-extra.cjs +1 -1
  108. package/lib/bubble-extra.js +6 -6
  109. package/lib/index-C19MB4Al.cjs +1 -0
  110. package/lib/{index-zcKfSGd5.js → index-Tj3Ci7xM.js} +13 -8
  111. package/lib/index.cjs +1 -1
  112. package/lib/index.js +3 -3
  113. package/lib/locale-bundle.cjs +1 -1
  114. package/lib/locale-bundle.d.cts +5 -0
  115. package/lib/locale-bundle.d.ts +5 -0
  116. package/lib/locale-bundle.js +1 -1
  117. package/lib/{textarea-C_xhu0vT.cjs → textarea-DgXP0XRK.cjs} +1 -1
  118. package/lib/{textarea-Bm0GTcEU.js → textarea-DnBlTntN.js} +1 -1
  119. package/package.json +1 -1
  120. package/lib/Excalidraw-CzAhPJ3k.cjs +0 -1
  121. package/lib/Excalidraw-D1EJKRER.js +0 -282
  122. package/lib/RichTextEditor-jtVXJcE2.cjs +0 -141
  123. package/lib/index-jEB3jXoa.cjs +0 -1
@@ -1,12 +1,12 @@
1
1
  var gf = Object.defineProperty;
2
2
  var vf = (e, t, r) => t in e ? gf(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
3
  var _r = (e, t, r) => vf(e, typeof t != "symbol" ? t + "" : t, r);
4
- import { jsxs as T, jsx as l, Fragment as de } from "react/jsx-runtime";
4
+ import { jsxs as E, jsx as l, Fragment as de } from "react/jsx-runtime";
5
5
  import * as ne from "react";
6
- import ir, { useState as X, useRef as ot, useEffect as pe, useMemo as we, useCallback as oe, createContext as yf, useContext as xf, useSyncExternalStore as bf, Fragment as wf, memo as Sf, forwardRef as Af, useId as Cf, useImperativeHandle as Tf, useLayoutEffect as Ef } from "react";
6
+ import ir, { useState as J, useRef as ot, useEffect as pe, useMemo as we, useCallback as oe, createContext as yf, useContext as xf, useSyncExternalStore as bf, Fragment as wf, memo as Sf, forwardRef as Af, useId as Cf, useImperativeHandle as Tf, useLayoutEffect as Ef } from "react";
7
7
  import { c as Oa, B as St, N as Pa, R as Na, g as ti, u as If, E as Rf } from "./dom-dataset-CHDbKz5J.js";
8
8
  import { Slot as lu } from "@radix-ui/react-slot";
9
- import { m as Te, B as Of, q as Xr, V as ra, u as Se, r as Pf, I as Jr, i as Zr, h as uu, C as Nf, E as kf } from "./index-zcKfSGd5.js";
9
+ import { m as Te, B as Of, q as Xr, V as ra, u as Se, r as Pf, I as Jr, i as Zr, h as uu, C as Nf, E as kf } from "./index-Tj3Ci7xM.js";
10
10
  import * as du from "@radix-ui/react-separator";
11
11
  import * as ke from "@radix-ui/react-toast";
12
12
  import { Loader2 as Mf, WrapText as Lf, PencilRuler as $f, FlipHorizontal as _f, FlipVertical as Df, CropIcon as Bf, ChevronUp as jf, Paperclip as zf, Eye as Hf, Settings as qf, ZoomOut as Ff, ZoomIn as Uf, BookMarked as Wf, Sigma as Gf, SmilePlusIcon as Vf, Replace as Ts, SmilePlus as Kf, Frame as Yf, Columns2 as Es, PanelRight as Xf, PanelLeft as Jf, Clipboard as Zf, Copy as Qf, GripVertical as eh, Plus as fu, Columns4 as th, Columns3 as rh, Heading6 as nh, Heading5 as ih, Heading4 as oh, Heading3 as ah, Heading2 as sh, Heading1 as ch, ChevronsUpDown as lh, Trash as uh, Trash2 as dh, TableCellsSplit as fh, TableCellsMerge as hh, BetweenVerticalEnd as ph, BetweenVerticalStart as mh, BetweenHorizonalStart as gh, BetweenHorizonalEnd as vh, Unlink as yh, Pencil as xh, Sparkles as bh, Table as wh, Minimize as Sh, Maximize as Ah, Video as Ch, ImageUp as Th, Link as Eh, ListTodo as Ih, ListOrdered as Rh, List as Oh, IndentDecrease as Ph, IndentIncrease as Nh, Type as kh, CodeXml as Mh, Code as Lh, Superscript as $h, Subscript as _h, ChevronDown as Dh, Undo2 as Bh, Redo2 as jh, PaintRoller as zh, Eraser as Hh, Minus as qh, Strikethrough as Fh, Quote as Uh, Underline as Wh, Italic as Gh, LoaderCircle as Vh, Bold as Kh, X as hu, ChevronRight as Yh, Check as pu, Circle as Xh } from "lucide-react";
@@ -663,9 +663,9 @@ function Hu(e, t, r, n, i, o) {
663
663
  break;
664
664
  }
665
665
  if (p) {
666
- if (!q0(t, function(x, S) {
667
- if (!zu(p, S) && (m === x || i(m, x, r, n, o)))
668
- return p.push(S);
666
+ if (!q0(t, function(x, w) {
667
+ if (!zu(p, w) && (m === x || i(m, x, r, n, o)))
668
+ return p.push(w);
669
669
  })) {
670
670
  h = !1;
671
671
  break;
@@ -742,18 +742,18 @@ function u1(e, t, r, n, i, o) {
742
742
  o.set(e, t), o.set(t, e);
743
743
  for (var g = a; ++d < c; ) {
744
744
  h = s[d];
745
- var x = e[h], S = t[h];
745
+ var x = e[h], w = t[h];
746
746
  if (n)
747
- var I = a ? n(S, x, h, t, e, o) : n(x, S, h, e, t, o);
748
- if (!(I === void 0 ? x === S || i(x, S, r, n, o) : I)) {
747
+ var T = a ? n(w, x, h, t, e, o) : n(x, w, h, e, t, o);
748
+ if (!(T === void 0 ? x === w || i(x, w, r, n, o) : T)) {
749
749
  v = !1;
750
750
  break;
751
751
  }
752
752
  g || (g = h == "constructor");
753
753
  }
754
754
  if (v && !g) {
755
- var E = e.constructor, C = t.constructor;
756
- E != C && "constructor" in e && "constructor" in t && !(typeof E == "function" && E instanceof E && typeof C == "function" && C instanceof C) && (v = !1);
755
+ var I = e.constructor, C = t.constructor;
756
+ I != C && "constructor" in e && "constructor" in t && !(typeof I == "function" && I instanceof I && typeof C == "function" && C instanceof C) && (v = !1);
757
757
  }
758
758
  return o.delete(e), o.delete(t), v;
759
759
  }
@@ -873,39 +873,39 @@ function Dn(e, t, r) {
873
873
  if (typeof e != "function")
874
874
  throw new TypeError(R1);
875
875
  t = Ht(t) || 0, wt(r) && (f = !!r.leading, d = "maxWait" in r, o = d ? O1(Ht(r.maxWait) || 0, t) : o, h = "trailing" in r ? !!r.trailing : h);
876
- function p(k) {
877
- var L = n, P = i;
878
- return n = i = void 0, u = k, a = e.apply(P, L), a;
876
+ function p(M) {
877
+ var L = n, k = i;
878
+ return n = i = void 0, u = M, a = e.apply(k, L), a;
879
879
  }
880
- function m(k) {
881
- return u = k, s = setTimeout(x, t), f ? p(k) : a;
880
+ function m(M) {
881
+ return u = M, s = setTimeout(x, t), f ? p(M) : a;
882
882
  }
883
- function v(k) {
884
- var L = k - c, P = k - u, N = t - L;
885
- return d ? P1(N, o - P) : N;
883
+ function v(M) {
884
+ var L = M - c, k = M - u, N = t - L;
885
+ return d ? P1(N, o - k) : N;
886
886
  }
887
- function g(k) {
888
- var L = k - c, P = k - u;
889
- return c === void 0 || L >= t || L < 0 || d && P >= o;
887
+ function g(M) {
888
+ var L = M - c, k = M - u;
889
+ return c === void 0 || L >= t || L < 0 || d && k >= o;
890
890
  }
891
891
  function x() {
892
- var k = oi();
893
- if (g(k))
894
- return S(k);
895
- s = setTimeout(x, v(k));
892
+ var M = oi();
893
+ if (g(M))
894
+ return w(M);
895
+ s = setTimeout(x, v(M));
896
896
  }
897
- function S(k) {
898
- return s = void 0, h && n ? p(k) : (n = i = void 0, a);
897
+ function w(M) {
898
+ return s = void 0, h && n ? p(M) : (n = i = void 0, a);
899
899
  }
900
- function I() {
900
+ function T() {
901
901
  s !== void 0 && clearTimeout(s), u = 0, n = c = i = s = void 0;
902
902
  }
903
- function E() {
904
- return s === void 0 ? a : S(oi());
903
+ function I() {
904
+ return s === void 0 ? a : w(oi());
905
905
  }
906
906
  function C() {
907
- var k = oi(), L = g(k);
908
- if (n = arguments, i = this, c = k, L) {
907
+ var M = oi(), L = g(M);
908
+ if (n = arguments, i = this, c = M, L) {
909
909
  if (s === void 0)
910
910
  return m(c);
911
911
  if (d)
@@ -913,7 +913,7 @@ function Dn(e, t, r) {
913
913
  }
914
914
  return s === void 0 && (s = setTimeout(x, t)), a;
915
915
  }
916
- return C.cancel = I, C.flush = E, C;
916
+ return C.cancel = T, C.flush = I, C;
917
917
  }
918
918
  function ai(e) {
919
919
  return st(e) && Cu(e);
@@ -1178,13 +1178,13 @@ const za = "-", iv = (e) => {
1178
1178
  }
1179
1179
  m = !1;
1180
1180
  }
1181
- const g = dv(f).join(":"), x = d ? g + Zu : g, S = x + v;
1182
- if (o.includes(S))
1181
+ const g = dv(f).join(":"), x = d ? g + Zu : g, w = x + v;
1182
+ if (o.includes(w))
1183
1183
  continue;
1184
- o.push(S);
1185
- const I = i(v, m);
1186
- for (let E = 0; E < I.length; ++E) {
1187
- const C = I[E];
1184
+ o.push(w);
1185
+ const T = i(v, m);
1186
+ for (let I = 0; I < T.length; ++I) {
1187
+ const C = T[I];
1188
1188
  o.push(x + C);
1189
1189
  }
1190
1190
  s = u + (s.length > 0 ? " " + s : s);
@@ -1225,7 +1225,7 @@ function gv(e, ...t) {
1225
1225
  const ce = (e) => {
1226
1226
  const t = (r) => r[e] || [];
1227
1227
  return t.isThemeGetter = !0, t;
1228
- }, ed = /^\[(?:([a-z-]+):)?(.+)\]$/i, vv = /^\d+\/\d+$/, yv = /* @__PURE__ */ new Set(["px", "full", "screen"]), xv = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, bv = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, wv = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Sv = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Av = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Qe = (e) => qt(e) || yv.has(e) || vv.test(e), mt = (e) => Vt(e, "length", Nv), qt = (e) => !!e && !Number.isNaN(Number(e)), si = (e) => Vt(e, "number", qt), er = (e) => !!e && Number.isInteger(Number(e)), Cv = (e) => e.endsWith("%") && qt(e.slice(0, -1)), G = (e) => ed.test(e), gt = (e) => xv.test(e), Tv = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Ev = (e) => Vt(e, Tv, td), Iv = (e) => Vt(e, "position", td), Rv = /* @__PURE__ */ new Set(["image", "url"]), Ov = (e) => Vt(e, Rv, Mv), Pv = (e) => Vt(e, "", kv), tr = () => !0, Vt = (e, t, r) => {
1228
+ }, ed = /^\[(?:([a-z-]+):)?(.+)\]$/i, vv = /^\d+\/\d+$/, yv = /* @__PURE__ */ new Set(["px", "full", "screen"]), xv = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, bv = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, wv = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Sv = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Av = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Qe = (e) => qt(e) || yv.has(e) || vv.test(e), mt = (e) => Vt(e, "length", Nv), qt = (e) => !!e && !Number.isNaN(Number(e)), si = (e) => Vt(e, "number", qt), er = (e) => !!e && Number.isInteger(Number(e)), Cv = (e) => e.endsWith("%") && qt(e.slice(0, -1)), V = (e) => ed.test(e), gt = (e) => xv.test(e), Tv = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Ev = (e) => Vt(e, Tv, td), Iv = (e) => Vt(e, "position", td), Rv = /* @__PURE__ */ new Set(["image", "url"]), Ov = (e) => Vt(e, Rv, Mv), Pv = (e) => Vt(e, "", kv), tr = () => !0, Vt = (e, t, r) => {
1229
1229
  const n = ed.exec(e);
1230
1230
  return n ? n[1] ? typeof t == "string" ? n[1] === t : t.has(n[1]) : r(n[2]) : !1;
1231
1231
  }, Nv = (e) => (
@@ -1234,36 +1234,36 @@ const ce = (e) => {
1234
1234
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
1235
1235
  bv.test(e) && !wv.test(e)
1236
1236
  ), td = () => !1, kv = (e) => Sv.test(e), Mv = (e) => Av.test(e), Lv = () => {
1237
- const e = ce("colors"), t = ce("spacing"), r = ce("blur"), n = ce("brightness"), i = ce("borderColor"), o = ce("borderRadius"), a = ce("borderSpacing"), s = ce("borderWidth"), c = ce("contrast"), u = ce("grayscale"), f = ce("hueRotate"), d = ce("invert"), h = ce("gap"), p = ce("gradientColorStops"), m = ce("gradientColorStopPositions"), v = ce("inset"), g = ce("margin"), x = ce("opacity"), S = ce("padding"), I = ce("saturate"), E = ce("scale"), C = ce("sepia"), k = ce("skew"), L = ce("space"), P = ce("translate"), N = () => ["auto", "contain", "none"], $ = () => ["auto", "hidden", "clip", "visible", "scroll"], w = () => ["auto", G, t], A = () => [G, t], M = () => ["", Qe, mt], D = () => ["auto", qt, G], H = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], j = () => ["solid", "dashed", "dotted", "double", "none"], ee = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], Z = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], te = () => ["", "0", G], ye = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], me = () => [qt, G];
1237
+ const e = ce("colors"), t = ce("spacing"), r = ce("blur"), n = ce("brightness"), i = ce("borderColor"), o = ce("borderRadius"), a = ce("borderSpacing"), s = ce("borderWidth"), c = ce("contrast"), u = ce("grayscale"), f = ce("hueRotate"), d = ce("invert"), h = ce("gap"), p = ce("gradientColorStops"), m = ce("gradientColorStopPositions"), v = ce("inset"), g = ce("margin"), x = ce("opacity"), w = ce("padding"), T = ce("saturate"), I = ce("scale"), C = ce("sepia"), M = ce("skew"), L = ce("space"), k = ce("translate"), N = () => ["auto", "contain", "none"], $ = () => ["auto", "hidden", "clip", "visible", "scroll"], A = () => ["auto", V, t], S = () => [V, t], P = () => ["", Qe, mt], D = () => ["auto", qt, V], H = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], j = () => ["solid", "dashed", "dotted", "double", "none"], W = () => ["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"], te = () => ["", "0", V], ye = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], me = () => [qt, V];
1238
1238
  return {
1239
1239
  cacheSize: 500,
1240
1240
  separator: ":",
1241
1241
  theme: {
1242
1242
  colors: [tr],
1243
1243
  spacing: [Qe, mt],
1244
- blur: ["none", "", gt, G],
1244
+ blur: ["none", "", gt, V],
1245
1245
  brightness: me(),
1246
1246
  borderColor: [e],
1247
- borderRadius: ["none", "", "full", gt, G],
1248
- borderSpacing: A(),
1249
- borderWidth: M(),
1247
+ borderRadius: ["none", "", "full", gt, V],
1248
+ borderSpacing: S(),
1249
+ borderWidth: P(),
1250
1250
  contrast: me(),
1251
1251
  grayscale: te(),
1252
1252
  hueRotate: me(),
1253
1253
  invert: te(),
1254
- gap: A(),
1254
+ gap: S(),
1255
1255
  gradientColorStops: [e],
1256
1256
  gradientColorStopPositions: [Cv, mt],
1257
- inset: w(),
1258
- margin: w(),
1257
+ inset: A(),
1258
+ margin: A(),
1259
1259
  opacity: me(),
1260
- padding: A(),
1260
+ padding: S(),
1261
1261
  saturate: me(),
1262
1262
  scale: me(),
1263
1263
  sepia: te(),
1264
1264
  skew: me(),
1265
- space: A(),
1266
- translate: A()
1265
+ space: S(),
1266
+ translate: S()
1267
1267
  },
1268
1268
  classGroups: {
1269
1269
  // Layout
@@ -1272,7 +1272,7 @@ const ce = (e) => {
1272
1272
  * @see https://tailwindcss.com/docs/aspect-ratio
1273
1273
  */
1274
1274
  aspect: [{
1275
- aspect: ["auto", "square", "video", G]
1275
+ aspect: ["auto", "square", "video", V]
1276
1276
  }],
1277
1277
  /**
1278
1278
  * Container
@@ -1357,7 +1357,7 @@ const ce = (e) => {
1357
1357
  * @see https://tailwindcss.com/docs/object-position
1358
1358
  */
1359
1359
  "object-position": [{
1360
- object: [...H(), G]
1360
+ object: [...H(), V]
1361
1361
  }],
1362
1362
  /**
1363
1363
  * Overflow
@@ -1479,7 +1479,7 @@ const ce = (e) => {
1479
1479
  * @see https://tailwindcss.com/docs/z-index
1480
1480
  */
1481
1481
  z: [{
1482
- z: ["auto", er, G]
1482
+ z: ["auto", er, V]
1483
1483
  }],
1484
1484
  // Flexbox and Grid
1485
1485
  /**
@@ -1487,7 +1487,7 @@ const ce = (e) => {
1487
1487
  * @see https://tailwindcss.com/docs/flex-basis
1488
1488
  */
1489
1489
  basis: [{
1490
- basis: w()
1490
+ basis: A()
1491
1491
  }],
1492
1492
  /**
1493
1493
  * Flex Direction
@@ -1508,7 +1508,7 @@ const ce = (e) => {
1508
1508
  * @see https://tailwindcss.com/docs/flex
1509
1509
  */
1510
1510
  flex: [{
1511
- flex: ["1", "auto", "initial", "none", G]
1511
+ flex: ["1", "auto", "initial", "none", V]
1512
1512
  }],
1513
1513
  /**
1514
1514
  * Flex Grow
@@ -1529,7 +1529,7 @@ const ce = (e) => {
1529
1529
  * @see https://tailwindcss.com/docs/order
1530
1530
  */
1531
1531
  order: [{
1532
- order: ["first", "last", "none", er, G]
1532
+ order: ["first", "last", "none", er, V]
1533
1533
  }],
1534
1534
  /**
1535
1535
  * Grid Template Columns
@@ -1544,8 +1544,8 @@ const ce = (e) => {
1544
1544
  */
1545
1545
  "col-start-end": [{
1546
1546
  col: ["auto", {
1547
- span: ["full", er, G]
1548
- }, G]
1547
+ span: ["full", er, V]
1548
+ }, V]
1549
1549
  }],
1550
1550
  /**
1551
1551
  * Grid Column Start
@@ -1574,8 +1574,8 @@ const ce = (e) => {
1574
1574
  */
1575
1575
  "row-start-end": [{
1576
1576
  row: ["auto", {
1577
- span: [er, G]
1578
- }, G]
1577
+ span: [er, V]
1578
+ }, V]
1579
1579
  }],
1580
1580
  /**
1581
1581
  * Grid Row Start
@@ -1603,14 +1603,14 @@ const ce = (e) => {
1603
1603
  * @see https://tailwindcss.com/docs/grid-auto-columns
1604
1604
  */
1605
1605
  "auto-cols": [{
1606
- "auto-cols": ["auto", "min", "max", "fr", G]
1606
+ "auto-cols": ["auto", "min", "max", "fr", V]
1607
1607
  }],
1608
1608
  /**
1609
1609
  * Grid Auto Rows
1610
1610
  * @see https://tailwindcss.com/docs/grid-auto-rows
1611
1611
  */
1612
1612
  "auto-rows": [{
1613
- "auto-rows": ["auto", "min", "max", "fr", G]
1613
+ "auto-rows": ["auto", "min", "max", "fr", V]
1614
1614
  }],
1615
1615
  /**
1616
1616
  * Gap
@@ -1638,7 +1638,7 @@ const ce = (e) => {
1638
1638
  * @see https://tailwindcss.com/docs/justify-content
1639
1639
  */
1640
1640
  "justify-content": [{
1641
- justify: ["normal", ...Z()]
1641
+ justify: ["normal", ...Q()]
1642
1642
  }],
1643
1643
  /**
1644
1644
  * Justify Items
@@ -1659,7 +1659,7 @@ const ce = (e) => {
1659
1659
  * @see https://tailwindcss.com/docs/align-content
1660
1660
  */
1661
1661
  "align-content": [{
1662
- content: ["normal", ...Z(), "baseline"]
1662
+ content: ["normal", ...Q(), "baseline"]
1663
1663
  }],
1664
1664
  /**
1665
1665
  * Align Items
@@ -1680,7 +1680,7 @@ const ce = (e) => {
1680
1680
  * @see https://tailwindcss.com/docs/place-content
1681
1681
  */
1682
1682
  "place-content": [{
1683
- "place-content": [...Z(), "baseline"]
1683
+ "place-content": [...Q(), "baseline"]
1684
1684
  }],
1685
1685
  /**
1686
1686
  * Place Items
@@ -1702,63 +1702,63 @@ const ce = (e) => {
1702
1702
  * @see https://tailwindcss.com/docs/padding
1703
1703
  */
1704
1704
  p: [{
1705
- p: [S]
1705
+ p: [w]
1706
1706
  }],
1707
1707
  /**
1708
1708
  * Padding X
1709
1709
  * @see https://tailwindcss.com/docs/padding
1710
1710
  */
1711
1711
  px: [{
1712
- px: [S]
1712
+ px: [w]
1713
1713
  }],
1714
1714
  /**
1715
1715
  * Padding Y
1716
1716
  * @see https://tailwindcss.com/docs/padding
1717
1717
  */
1718
1718
  py: [{
1719
- py: [S]
1719
+ py: [w]
1720
1720
  }],
1721
1721
  /**
1722
1722
  * Padding Start
1723
1723
  * @see https://tailwindcss.com/docs/padding
1724
1724
  */
1725
1725
  ps: [{
1726
- ps: [S]
1726
+ ps: [w]
1727
1727
  }],
1728
1728
  /**
1729
1729
  * Padding End
1730
1730
  * @see https://tailwindcss.com/docs/padding
1731
1731
  */
1732
1732
  pe: [{
1733
- pe: [S]
1733
+ pe: [w]
1734
1734
  }],
1735
1735
  /**
1736
1736
  * Padding Top
1737
1737
  * @see https://tailwindcss.com/docs/padding
1738
1738
  */
1739
1739
  pt: [{
1740
- pt: [S]
1740
+ pt: [w]
1741
1741
  }],
1742
1742
  /**
1743
1743
  * Padding Right
1744
1744
  * @see https://tailwindcss.com/docs/padding
1745
1745
  */
1746
1746
  pr: [{
1747
- pr: [S]
1747
+ pr: [w]
1748
1748
  }],
1749
1749
  /**
1750
1750
  * Padding Bottom
1751
1751
  * @see https://tailwindcss.com/docs/padding
1752
1752
  */
1753
1753
  pb: [{
1754
- pb: [S]
1754
+ pb: [w]
1755
1755
  }],
1756
1756
  /**
1757
1757
  * Padding Left
1758
1758
  * @see https://tailwindcss.com/docs/padding
1759
1759
  */
1760
1760
  pl: [{
1761
- pl: [S]
1761
+ pl: [w]
1762
1762
  }],
1763
1763
  /**
1764
1764
  * Margin
@@ -1853,21 +1853,21 @@ const ce = (e) => {
1853
1853
  * @see https://tailwindcss.com/docs/width
1854
1854
  */
1855
1855
  w: [{
1856
- w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", G, t]
1856
+ w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", V, t]
1857
1857
  }],
1858
1858
  /**
1859
1859
  * Min-Width
1860
1860
  * @see https://tailwindcss.com/docs/min-width
1861
1861
  */
1862
1862
  "min-w": [{
1863
- "min-w": [G, t, "min", "max", "fit"]
1863
+ "min-w": [V, t, "min", "max", "fit"]
1864
1864
  }],
1865
1865
  /**
1866
1866
  * Max-Width
1867
1867
  * @see https://tailwindcss.com/docs/max-width
1868
1868
  */
1869
1869
  "max-w": [{
1870
- "max-w": [G, t, "none", "full", "min", "max", "fit", "prose", {
1870
+ "max-w": [V, t, "none", "full", "min", "max", "fit", "prose", {
1871
1871
  screen: [gt]
1872
1872
  }, gt]
1873
1873
  }],
@@ -1876,28 +1876,28 @@ const ce = (e) => {
1876
1876
  * @see https://tailwindcss.com/docs/height
1877
1877
  */
1878
1878
  h: [{
1879
- h: [G, t, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
1879
+ h: [V, t, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
1880
1880
  }],
1881
1881
  /**
1882
1882
  * Min-Height
1883
1883
  * @see https://tailwindcss.com/docs/min-height
1884
1884
  */
1885
1885
  "min-h": [{
1886
- "min-h": [G, t, "min", "max", "fit", "svh", "lvh", "dvh"]
1886
+ "min-h": [V, t, "min", "max", "fit", "svh", "lvh", "dvh"]
1887
1887
  }],
1888
1888
  /**
1889
1889
  * Max-Height
1890
1890
  * @see https://tailwindcss.com/docs/max-height
1891
1891
  */
1892
1892
  "max-h": [{
1893
- "max-h": [G, t, "min", "max", "fit", "svh", "lvh", "dvh"]
1893
+ "max-h": [V, t, "min", "max", "fit", "svh", "lvh", "dvh"]
1894
1894
  }],
1895
1895
  /**
1896
1896
  * Size
1897
1897
  * @see https://tailwindcss.com/docs/size
1898
1898
  */
1899
1899
  size: [{
1900
- size: [G, t, "auto", "min", "max", "fit"]
1900
+ size: [V, t, "auto", "min", "max", "fit"]
1901
1901
  }],
1902
1902
  // Typography
1903
1903
  /**
@@ -1966,7 +1966,7 @@ const ce = (e) => {
1966
1966
  * @see https://tailwindcss.com/docs/letter-spacing
1967
1967
  */
1968
1968
  tracking: [{
1969
- tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", G]
1969
+ tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", V]
1970
1970
  }],
1971
1971
  /**
1972
1972
  * Line Clamp
@@ -1980,21 +1980,21 @@ const ce = (e) => {
1980
1980
  * @see https://tailwindcss.com/docs/line-height
1981
1981
  */
1982
1982
  leading: [{
1983
- leading: ["none", "tight", "snug", "normal", "relaxed", "loose", Qe, G]
1983
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose", Qe, V]
1984
1984
  }],
1985
1985
  /**
1986
1986
  * List Style Image
1987
1987
  * @see https://tailwindcss.com/docs/list-style-image
1988
1988
  */
1989
1989
  "list-image": [{
1990
- "list-image": ["none", G]
1990
+ "list-image": ["none", V]
1991
1991
  }],
1992
1992
  /**
1993
1993
  * List Style Type
1994
1994
  * @see https://tailwindcss.com/docs/list-style-type
1995
1995
  */
1996
1996
  "list-style-type": [{
1997
- list: ["none", "disc", "decimal", G]
1997
+ list: ["none", "disc", "decimal", V]
1998
1998
  }],
1999
1999
  /**
2000
2000
  * List Style Position
@@ -2063,7 +2063,7 @@ const ce = (e) => {
2063
2063
  * @see https://tailwindcss.com/docs/text-underline-offset
2064
2064
  */
2065
2065
  "underline-offset": [{
2066
- "underline-offset": ["auto", Qe, G]
2066
+ "underline-offset": ["auto", Qe, V]
2067
2067
  }],
2068
2068
  /**
2069
2069
  * Text Decoration Color
@@ -2094,14 +2094,14 @@ const ce = (e) => {
2094
2094
  * @see https://tailwindcss.com/docs/text-indent
2095
2095
  */
2096
2096
  indent: [{
2097
- indent: A()
2097
+ indent: S()
2098
2098
  }],
2099
2099
  /**
2100
2100
  * Vertical Alignment
2101
2101
  * @see https://tailwindcss.com/docs/vertical-align
2102
2102
  */
2103
2103
  "vertical-align": [{
2104
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", G]
2104
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", V]
2105
2105
  }],
2106
2106
  /**
2107
2107
  * Whitespace
@@ -2129,7 +2129,7 @@ const ce = (e) => {
2129
2129
  * @see https://tailwindcss.com/docs/content
2130
2130
  */
2131
2131
  content: [{
2132
- content: ["none", G]
2132
+ content: ["none", V]
2133
2133
  }],
2134
2134
  // Backgrounds
2135
2135
  /**
@@ -2545,7 +2545,7 @@ const ce = (e) => {
2545
2545
  * @see https://tailwindcss.com/docs/outline-offset
2546
2546
  */
2547
2547
  "outline-offset": [{
2548
- "outline-offset": [Qe, G]
2548
+ "outline-offset": [Qe, V]
2549
2549
  }],
2550
2550
  /**
2551
2551
  * Outline Width
@@ -2566,7 +2566,7 @@ const ce = (e) => {
2566
2566
  * @see https://tailwindcss.com/docs/ring-width
2567
2567
  */
2568
2568
  "ring-w": [{
2569
- ring: M()
2569
+ ring: P()
2570
2570
  }],
2571
2571
  /**
2572
2572
  * Ring Width Inset
@@ -2628,14 +2628,14 @@ const ce = (e) => {
2628
2628
  * @see https://tailwindcss.com/docs/mix-blend-mode
2629
2629
  */
2630
2630
  "mix-blend": [{
2631
- "mix-blend": [...ee(), "plus-lighter", "plus-darker"]
2631
+ "mix-blend": [...W(), "plus-lighter", "plus-darker"]
2632
2632
  }],
2633
2633
  /**
2634
2634
  * Background Blend Mode
2635
2635
  * @see https://tailwindcss.com/docs/background-blend-mode
2636
2636
  */
2637
2637
  "bg-blend": [{
2638
- "bg-blend": ee()
2638
+ "bg-blend": W()
2639
2639
  }],
2640
2640
  // Filters
2641
2641
  /**
@@ -2672,7 +2672,7 @@ const ce = (e) => {
2672
2672
  * @see https://tailwindcss.com/docs/drop-shadow
2673
2673
  */
2674
2674
  "drop-shadow": [{
2675
- "drop-shadow": ["", "none", gt, G]
2675
+ "drop-shadow": ["", "none", gt, V]
2676
2676
  }],
2677
2677
  /**
2678
2678
  * Grayscale
@@ -2700,7 +2700,7 @@ const ce = (e) => {
2700
2700
  * @see https://tailwindcss.com/docs/saturate
2701
2701
  */
2702
2702
  saturate: [{
2703
- saturate: [I]
2703
+ saturate: [T]
2704
2704
  }],
2705
2705
  /**
2706
2706
  * Sepia
@@ -2771,7 +2771,7 @@ const ce = (e) => {
2771
2771
  * @see https://tailwindcss.com/docs/backdrop-saturate
2772
2772
  */
2773
2773
  "backdrop-saturate": [{
2774
- "backdrop-saturate": [I]
2774
+ "backdrop-saturate": [T]
2775
2775
  }],
2776
2776
  /**
2777
2777
  * Backdrop Sepia
@@ -2829,7 +2829,7 @@ const ce = (e) => {
2829
2829
  * @see https://tailwindcss.com/docs/transition-property
2830
2830
  */
2831
2831
  transition: [{
2832
- transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", G]
2832
+ transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", V]
2833
2833
  }],
2834
2834
  /**
2835
2835
  * Transition Duration
@@ -2843,7 +2843,7 @@ const ce = (e) => {
2843
2843
  * @see https://tailwindcss.com/docs/transition-timing-function
2844
2844
  */
2845
2845
  ease: [{
2846
- ease: ["linear", "in", "out", "in-out", G]
2846
+ ease: ["linear", "in", "out", "in-out", V]
2847
2847
  }],
2848
2848
  /**
2849
2849
  * Transition Delay
@@ -2857,7 +2857,7 @@ const ce = (e) => {
2857
2857
  * @see https://tailwindcss.com/docs/animation
2858
2858
  */
2859
2859
  animate: [{
2860
- animate: ["none", "spin", "ping", "pulse", "bounce", G]
2860
+ animate: ["none", "spin", "ping", "pulse", "bounce", V]
2861
2861
  }],
2862
2862
  // Transforms
2863
2863
  /**
@@ -2872,63 +2872,63 @@ const ce = (e) => {
2872
2872
  * @see https://tailwindcss.com/docs/scale
2873
2873
  */
2874
2874
  scale: [{
2875
- scale: [E]
2875
+ scale: [I]
2876
2876
  }],
2877
2877
  /**
2878
2878
  * Scale X
2879
2879
  * @see https://tailwindcss.com/docs/scale
2880
2880
  */
2881
2881
  "scale-x": [{
2882
- "scale-x": [E]
2882
+ "scale-x": [I]
2883
2883
  }],
2884
2884
  /**
2885
2885
  * Scale Y
2886
2886
  * @see https://tailwindcss.com/docs/scale
2887
2887
  */
2888
2888
  "scale-y": [{
2889
- "scale-y": [E]
2889
+ "scale-y": [I]
2890
2890
  }],
2891
2891
  /**
2892
2892
  * Rotate
2893
2893
  * @see https://tailwindcss.com/docs/rotate
2894
2894
  */
2895
2895
  rotate: [{
2896
- rotate: [er, G]
2896
+ rotate: [er, V]
2897
2897
  }],
2898
2898
  /**
2899
2899
  * Translate X
2900
2900
  * @see https://tailwindcss.com/docs/translate
2901
2901
  */
2902
2902
  "translate-x": [{
2903
- "translate-x": [P]
2903
+ "translate-x": [k]
2904
2904
  }],
2905
2905
  /**
2906
2906
  * Translate Y
2907
2907
  * @see https://tailwindcss.com/docs/translate
2908
2908
  */
2909
2909
  "translate-y": [{
2910
- "translate-y": [P]
2910
+ "translate-y": [k]
2911
2911
  }],
2912
2912
  /**
2913
2913
  * Skew X
2914
2914
  * @see https://tailwindcss.com/docs/skew
2915
2915
  */
2916
2916
  "skew-x": [{
2917
- "skew-x": [k]
2917
+ "skew-x": [M]
2918
2918
  }],
2919
2919
  /**
2920
2920
  * Skew Y
2921
2921
  * @see https://tailwindcss.com/docs/skew
2922
2922
  */
2923
2923
  "skew-y": [{
2924
- "skew-y": [k]
2924
+ "skew-y": [M]
2925
2925
  }],
2926
2926
  /**
2927
2927
  * Transform Origin
2928
2928
  * @see https://tailwindcss.com/docs/transform-origin
2929
2929
  */
2930
2930
  "transform-origin": [{
2931
- origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", G]
2931
+ origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", V]
2932
2932
  }],
2933
2933
  // Interactivity
2934
2934
  /**
@@ -2950,7 +2950,7 @@ const ce = (e) => {
2950
2950
  * @see https://tailwindcss.com/docs/cursor
2951
2951
  */
2952
2952
  cursor: [{
2953
- cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", G]
2953
+ cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", V]
2954
2954
  }],
2955
2955
  /**
2956
2956
  * Caret Color
@@ -2985,126 +2985,126 @@ const ce = (e) => {
2985
2985
  * @see https://tailwindcss.com/docs/scroll-margin
2986
2986
  */
2987
2987
  "scroll-m": [{
2988
- "scroll-m": A()
2988
+ "scroll-m": S()
2989
2989
  }],
2990
2990
  /**
2991
2991
  * Scroll Margin X
2992
2992
  * @see https://tailwindcss.com/docs/scroll-margin
2993
2993
  */
2994
2994
  "scroll-mx": [{
2995
- "scroll-mx": A()
2995
+ "scroll-mx": S()
2996
2996
  }],
2997
2997
  /**
2998
2998
  * Scroll Margin Y
2999
2999
  * @see https://tailwindcss.com/docs/scroll-margin
3000
3000
  */
3001
3001
  "scroll-my": [{
3002
- "scroll-my": A()
3002
+ "scroll-my": S()
3003
3003
  }],
3004
3004
  /**
3005
3005
  * Scroll Margin Start
3006
3006
  * @see https://tailwindcss.com/docs/scroll-margin
3007
3007
  */
3008
3008
  "scroll-ms": [{
3009
- "scroll-ms": A()
3009
+ "scroll-ms": S()
3010
3010
  }],
3011
3011
  /**
3012
3012
  * Scroll Margin End
3013
3013
  * @see https://tailwindcss.com/docs/scroll-margin
3014
3014
  */
3015
3015
  "scroll-me": [{
3016
- "scroll-me": A()
3016
+ "scroll-me": S()
3017
3017
  }],
3018
3018
  /**
3019
3019
  * Scroll Margin Top
3020
3020
  * @see https://tailwindcss.com/docs/scroll-margin
3021
3021
  */
3022
3022
  "scroll-mt": [{
3023
- "scroll-mt": A()
3023
+ "scroll-mt": S()
3024
3024
  }],
3025
3025
  /**
3026
3026
  * Scroll Margin Right
3027
3027
  * @see https://tailwindcss.com/docs/scroll-margin
3028
3028
  */
3029
3029
  "scroll-mr": [{
3030
- "scroll-mr": A()
3030
+ "scroll-mr": S()
3031
3031
  }],
3032
3032
  /**
3033
3033
  * Scroll Margin Bottom
3034
3034
  * @see https://tailwindcss.com/docs/scroll-margin
3035
3035
  */
3036
3036
  "scroll-mb": [{
3037
- "scroll-mb": A()
3037
+ "scroll-mb": S()
3038
3038
  }],
3039
3039
  /**
3040
3040
  * Scroll Margin Left
3041
3041
  * @see https://tailwindcss.com/docs/scroll-margin
3042
3042
  */
3043
3043
  "scroll-ml": [{
3044
- "scroll-ml": A()
3044
+ "scroll-ml": S()
3045
3045
  }],
3046
3046
  /**
3047
3047
  * Scroll Padding
3048
3048
  * @see https://tailwindcss.com/docs/scroll-padding
3049
3049
  */
3050
3050
  "scroll-p": [{
3051
- "scroll-p": A()
3051
+ "scroll-p": S()
3052
3052
  }],
3053
3053
  /**
3054
3054
  * Scroll Padding X
3055
3055
  * @see https://tailwindcss.com/docs/scroll-padding
3056
3056
  */
3057
3057
  "scroll-px": [{
3058
- "scroll-px": A()
3058
+ "scroll-px": S()
3059
3059
  }],
3060
3060
  /**
3061
3061
  * Scroll Padding Y
3062
3062
  * @see https://tailwindcss.com/docs/scroll-padding
3063
3063
  */
3064
3064
  "scroll-py": [{
3065
- "scroll-py": A()
3065
+ "scroll-py": S()
3066
3066
  }],
3067
3067
  /**
3068
3068
  * Scroll Padding Start
3069
3069
  * @see https://tailwindcss.com/docs/scroll-padding
3070
3070
  */
3071
3071
  "scroll-ps": [{
3072
- "scroll-ps": A()
3072
+ "scroll-ps": S()
3073
3073
  }],
3074
3074
  /**
3075
3075
  * Scroll Padding End
3076
3076
  * @see https://tailwindcss.com/docs/scroll-padding
3077
3077
  */
3078
3078
  "scroll-pe": [{
3079
- "scroll-pe": A()
3079
+ "scroll-pe": S()
3080
3080
  }],
3081
3081
  /**
3082
3082
  * Scroll Padding Top
3083
3083
  * @see https://tailwindcss.com/docs/scroll-padding
3084
3084
  */
3085
3085
  "scroll-pt": [{
3086
- "scroll-pt": A()
3086
+ "scroll-pt": S()
3087
3087
  }],
3088
3088
  /**
3089
3089
  * Scroll Padding Right
3090
3090
  * @see https://tailwindcss.com/docs/scroll-padding
3091
3091
  */
3092
3092
  "scroll-pr": [{
3093
- "scroll-pr": A()
3093
+ "scroll-pr": S()
3094
3094
  }],
3095
3095
  /**
3096
3096
  * Scroll Padding Bottom
3097
3097
  * @see https://tailwindcss.com/docs/scroll-padding
3098
3098
  */
3099
3099
  "scroll-pb": [{
3100
- "scroll-pb": A()
3100
+ "scroll-pb": S()
3101
3101
  }],
3102
3102
  /**
3103
3103
  * Scroll Padding Left
3104
3104
  * @see https://tailwindcss.com/docs/scroll-padding
3105
3105
  */
3106
3106
  "scroll-pl": [{
3107
- "scroll-pl": A()
3107
+ "scroll-pl": S()
3108
3108
  }],
3109
3109
  /**
3110
3110
  * Scroll Snap Align
@@ -3172,7 +3172,7 @@ const ce = (e) => {
3172
3172
  * @see https://tailwindcss.com/docs/will-change
3173
3173
  */
3174
3174
  "will-change": [{
3175
- "will-change": ["auto", "scroll", "contents", "transform", G]
3175
+ "will-change": ["auto", "scroll", "contents", "transform", V]
3176
3176
  }],
3177
3177
  // SVG
3178
3178
  /**
@@ -3263,7 +3263,7 @@ const ce = (e) => {
3263
3263
  }
3264
3264
  };
3265
3265
  }, $v = /* @__PURE__ */ gv(Lv);
3266
- function Q(...e) {
3266
+ function ee(...e) {
3267
3267
  return $v(Oa(e));
3268
3268
  }
3269
3269
  let ci;
@@ -3296,15 +3296,15 @@ const F = ir.forwardRef(
3296
3296
  initialDisplayedColor: m = void 0,
3297
3297
  ...v
3298
3298
  } = e, g = id[r];
3299
- return /* @__PURE__ */ T($d, { children: [
3300
- /* @__PURE__ */ l(_d, { asChild: !0, children: /* @__PURE__ */ T(
3299
+ return /* @__PURE__ */ E($d, { children: [
3300
+ /* @__PURE__ */ l(_d, { asChild: !0, children: /* @__PURE__ */ E(
3301
3301
  h ? lu : Ld,
3302
3302
  {
3303
3303
  "data-state": f != null && f() ? "on" : "off",
3304
3304
  onClick: u,
3305
3305
  ref: t,
3306
3306
  size: "sm",
3307
- className: Q("richtext-w-[32px] richtext-h-[32px]", o),
3307
+ className: ee("richtext-w-[32px] richtext-h-[32px]", o),
3308
3308
  disabled: i,
3309
3309
  ...v,
3310
3310
  children: [
@@ -3313,7 +3313,7 @@ const F = ir.forwardRef(
3313
3313
  ]
3314
3314
  }
3315
3315
  ) }),
3316
- n && /* @__PURE__ */ l(ns, { ...c, children: /* @__PURE__ */ T("div", { className: "richtext-flex richtext-max-w-24 richtext-flex-col richtext-items-center richtext-text-center", children: [
3316
+ n && /* @__PURE__ */ l(ns, { ...c, children: /* @__PURE__ */ E("div", { className: "richtext-flex richtext-max-w-24 richtext-flex-col richtext-items-center richtext-text-center", children: [
3317
3317
  /* @__PURE__ */ l("div", { children: n }),
3318
3318
  !!(s != null && s.length) && /* @__PURE__ */ l("span", { children: Dv(s) })
3319
3319
  ] }) })
@@ -3801,13 +3801,13 @@ function Qv({
3801
3801
  return t.addEventListener("dragstart", (f) => {
3802
3802
  const { view: d } = r;
3803
3803
  if (!f.dataTransfer) return;
3804
- const { empty: h, $from: p, $to: m } = d.state.selection, v = Zv(f, r), g = Ha(p, m, 0), x = g.some((N) => v.find(($) => $.$from === N.$from && $.$to === N.$to)), S = h || !x ? v : g;
3805
- if (S.length === 0) return;
3806
- const { tr: I } = d.state, E = document.createElement("div"), C = S[0].$from.pos, k = S[S.length - 1].$to.pos, L = Ue.create(d.state.doc, C, k), P = L.content();
3807
- S.forEach((N) => {
3804
+ const { empty: h, $from: p, $to: m } = d.state.selection, v = Zv(f, r), g = Ha(p, m, 0), x = g.some((N) => v.find(($) => $.$from === N.$from && $.$to === N.$to)), w = h || !x ? v : g;
3805
+ if (w.length === 0) return;
3806
+ const { tr: T } = d.state, I = document.createElement("div"), C = w[0].$from.pos, M = w[w.length - 1].$to.pos, L = Ue.create(d.state.doc, C, M), k = L.content();
3807
+ w.forEach((N) => {
3808
3808
  const $ = Xv(d.nodeDOM(N.$from.pos));
3809
- E.append($);
3810
- }), E.style.position = "absolute", E.style.top = "-10000px", document.body.append(E), f.dataTransfer.clearData(), f.dataTransfer.setDragImage(E, 0, 0), d.dragging = { slice: P, move: !0 }, I.setSelection(L), d.dispatch(I), document.addEventListener("drop", () => rc(E), { once: !0 }), setTimeout(() => {
3809
+ I.append($);
3810
+ }), I.style.position = "absolute", I.style.top = "-10000px", document.body.append(I), f.dataTransfer.clearData(), f.dataTransfer.setDragImage(I, 0, 0), d.dragging = { slice: k, move: !0 }, T.setSelection(L), d.dispatch(T), document.addEventListener("drop", () => rc(I), { once: !0 }), setTimeout(() => {
3811
3811
  t && (t.style.pointerEvents = "none");
3812
3812
  }, 0);
3813
3813
  }), t.addEventListener("dragend", () => {
@@ -3832,22 +3832,22 @@ function Qv({
3832
3832
  ...p(),
3833
3833
  ...n
3834
3834
  }), {
3835
- update(E, C) {
3836
- if (!m(t, a) || (t.draggable = !s, !v(E, C)))
3835
+ update(I, C) {
3836
+ if (!m(t, a) || (t.draggable = !s, !v(I, C)))
3837
3837
  return;
3838
- const k = g(E);
3839
- k && x(E, k);
3838
+ const M = g(I);
3839
+ M && x(I, M);
3840
3840
  },
3841
3841
  destroy() {
3842
- I();
3842
+ T();
3843
3843
  }
3844
3844
  };
3845
3845
  function d() {
3846
3846
  t.draggable = !0, t.style.pointerEvents = "auto";
3847
3847
  }
3848
- function h(E) {
3848
+ function h(I) {
3849
3849
  var C;
3850
- (C = E.parentElement) == null || C.appendChild(o), o.appendChild(t), Object.assign(o.style, {
3850
+ (C = I.parentElement) == null || C.appendChild(o), o.appendChild(t), Object.assign(o.style, {
3851
3851
  pointerEvents: "none",
3852
3852
  position: "absolute",
3853
3853
  top: "0",
@@ -3879,33 +3879,33 @@ function Qv({
3879
3879
  }
3880
3880
  };
3881
3881
  }
3882
- function m(E, C) {
3883
- return E && C;
3882
+ function m(I, C) {
3883
+ return I && C;
3884
3884
  }
3885
- function v(E, C) {
3886
- return !E.state.doc.eq(C.doc) && u !== -1;
3885
+ function v(I, C) {
3886
+ return !I.state.doc.eq(C.doc) && u !== -1;
3887
3887
  }
3888
- function g(E) {
3889
- let C = E.nodeDOM(u);
3890
- return C = oc(E, C), C === E.dom || (C == null ? void 0 : C.nodeType) !== 1 ? null : C;
3888
+ function g(I) {
3889
+ let C = I.nodeDOM(u);
3890
+ return C = oc(I, C), C === I.dom || (C == null ? void 0 : C.nodeType) !== 1 ? null : C;
3891
3891
  }
3892
- function x(E, C) {
3893
- const k = E.posAtDOM(C, 0), L = ic(r.state.doc, k);
3892
+ function x(I, C) {
3893
+ const M = I.posAtDOM(C, 0), L = ic(r.state.doc, M);
3894
3894
  if (L === c)
3895
3895
  return;
3896
- const P = nc(r.state.doc, k);
3897
- c = L, u = P, i == null || i({
3896
+ const k = nc(r.state.doc, M);
3897
+ c = L, u = k, i == null || i({
3898
3898
  editor: r,
3899
3899
  node: c,
3900
3900
  pos: u
3901
- }), S(C);
3901
+ }), w(C);
3902
3902
  }
3903
- function S(E) {
3903
+ function w(I) {
3904
3904
  a.setProps({
3905
- getReferenceClientRect: () => E.getBoundingClientRect()
3905
+ getReferenceClientRect: () => I.getBoundingClientRect()
3906
3906
  }), a.show();
3907
3907
  }
3908
- function I() {
3908
+ function T() {
3909
3909
  a == null || a.destroy(), t && rc(o);
3910
3910
  }
3911
3911
  },
@@ -3995,8 +3995,8 @@ function xw({ delta: e, types: t }) {
3995
3995
  };
3996
3996
  }
3997
3997
  function ry(e) {
3998
- var P, N, $;
3999
- const { pluginKey: t = nd } = e, { t: r } = Se(), [n, i] = X(null), [o, a] = X(-1), s = ot(null), c = ot(null), [u, f] = X(!1), d = e.editor.extensionManager.extensions.some((w) => w.name === "textAlign"), h = e.editor.extensionManager.extensions.some((w) => w.name === "indent"), p = e.editor.extensionManager.extensions.some((w) => w.name === "clear");
3998
+ var k, N, $;
3999
+ const { pluginKey: t = nd } = e, { t: r } = Se(), [n, i] = J(null), [o, a] = J(-1), s = ot(null), c = ot(null), [u, f] = J(!1), d = e.editor.extensionManager.extensions.some((A) => A.name === "textAlign"), h = e.editor.extensionManager.extensions.some((A) => A.name === "indent"), p = e.editor.extensionManager.extensions.some((A) => A.name === "clear");
4000
4000
  pe(() => {
4001
4001
  s.current && !e.editor.isDestroyed && (c.current = Qv({
4002
4002
  editor: e.editor,
@@ -4011,42 +4011,42 @@ function ry(e) {
4011
4011
  }), e.editor.registerPlugin(c.current));
4012
4012
  }, [e.editor, s]);
4013
4013
  function m() {
4014
- const w = e.editor.chain();
4015
- w.setNodeSelection(o).unsetAllMarks(), (n == null ? void 0 : n.type.name) !== "paragraph" && w.setParagraph(), w.run();
4014
+ const A = e.editor.chain();
4015
+ A.setNodeSelection(o).unsetAllMarks(), (n == null ? void 0 : n.type.name) !== "paragraph" && A.setParagraph(), A.run();
4016
4016
  }
4017
4017
  function v() {
4018
4018
  e.editor.chain().focus().setNodeSelection(o).run(), document.execCommand("copy");
4019
4019
  }
4020
4020
  function g() {
4021
4021
  e.editor.commands.setNodeSelection(o);
4022
- const { $anchor: w } = e.editor.state.selection, A = w.node(1) || e.editor.state.selection.node;
4023
- e.editor.chain().setMeta("hideDragHandle", !0).insertContentAt(o + ((n == null ? void 0 : n.nodeSize) || 0), A.toJSON()).run();
4022
+ const { $anchor: A } = e.editor.state.selection, S = A.node(1) || e.editor.state.selection.node;
4023
+ e.editor.chain().setMeta("hideDragHandle", !0).insertContentAt(o + ((n == null ? void 0 : n.nodeSize) || 0), S.toJSON()).run();
4024
4024
  }
4025
- function x(w) {
4026
- e.editor.commands.setTextAlign(w);
4025
+ function x(A) {
4026
+ e.editor.commands.setTextAlign(A);
4027
4027
  }
4028
- function S() {
4029
- const w = va(e.editor.state.tr, o, 1);
4030
- w.setMeta("hideDragHandle", !0), e.editor.view.dispatch && e.editor.view.dispatch(w);
4028
+ function w() {
4029
+ const A = va(e.editor.state.tr, o, 1);
4030
+ A.setMeta("hideDragHandle", !0), e.editor.view.dispatch && e.editor.view.dispatch(A);
4031
4031
  }
4032
- function I() {
4033
- const w = va(e.editor.state.tr, o, -1);
4034
- e.editor.view.dispatch && e.editor.view.dispatch(w);
4032
+ function T() {
4033
+ const A = va(e.editor.state.tr, o, -1);
4034
+ e.editor.view.dispatch && e.editor.view.dispatch(A);
4035
4035
  }
4036
- function E() {
4036
+ function I() {
4037
4037
  e.editor.chain().setMeta("hideDragHandle", !0).setNodeSelection(o).deleteSelection().run();
4038
4038
  }
4039
- function C(w) {
4040
- w.node && i(w.node), a(w.pos);
4039
+ function C(A) {
4040
+ A.node && i(A.node), a(A.pos);
4041
4041
  }
4042
- function k() {
4043
- var w;
4042
+ function M() {
4043
+ var A;
4044
4044
  if (o !== -1) {
4045
- const A = (n == null ? void 0 : n.nodeSize) || 0, M = o + A, D = (n == null ? void 0 : n.type.name) === "paragraph" && ((w = n == null ? void 0 : n.content) == null ? void 0 : w.size) === 0, H = D ? o + 2 : M + 2;
4046
- e.editor.chain().command(({ dispatch: j, tr: ee, state: Z }) => j ? (D ? ee.insertText("/", o, o + 1) : ee.insert(
4047
- M,
4048
- Z.schema.nodes.paragraph.create(null, [Z.schema.text("/")])
4049
- ), j(ee)) : !0).focus(H).run();
4045
+ const S = (n == null ? void 0 : n.nodeSize) || 0, P = o + S, D = (n == null ? void 0 : n.type.name) === "paragraph" && ((A = n == null ? void 0 : n.content) == null ? void 0 : A.size) === 0, H = D ? o + 2 : P + 2;
4046
+ e.editor.chain().command(({ dispatch: j, tr: W, state: Q }) => j ? (D ? W.insertText("/", o, o + 1) : W.insert(
4047
+ P,
4048
+ Q.schema.nodes.paragraph.create(null, [Q.schema.text("/")])
4049
+ ), j(W)) : !0).focus(H).run();
4050
4050
  }
4051
4051
  }
4052
4052
  pe(() => (u ? e.editor.commands.setMeta("lockDragHandle", !0) : e.editor.commands.setMeta("lockDragHandle", !1), () => {
@@ -4054,11 +4054,11 @@ function ry(e) {
4054
4054
  }), [u]), pe(() => () => {
4055
4055
  c.current && (e.editor.unregisterPlugin(t), c.current = null);
4056
4056
  }, []), pe(() => {
4057
- var w;
4058
- (w = e.editor) != null && w.isDestroyed && c.current && (e.editor.unregisterPlugin(t), c.current = null);
4059
- }, [(P = e.editor) == null ? void 0 : P.isDestroyed]);
4060
- const L = (w) => {
4061
- e != null && e.disabled || f(w);
4057
+ var A;
4058
+ (A = e.editor) != null && A.isDestroyed && c.current && (e.editor.unregisterPlugin(t), c.current = null);
4059
+ }, [(k = e.editor) == null ? void 0 : k.isDestroyed]);
4060
+ const L = (A) => {
4061
+ e != null && e.disabled || f(A);
4062
4062
  };
4063
4063
  return /* @__PURE__ */ l(
4064
4064
  "div",
@@ -4068,13 +4068,13 @@ function ry(e) {
4068
4068
  style: {
4069
4069
  opacity: e != null && e.disabled ? 0 : 1
4070
4070
  },
4071
- children: /* @__PURE__ */ T("div", { className: "richtext-flex richtext-items-center richtext-gap-0.5 richtext-duration-200 richtext-ease-in-out [transition-property:top,_left]", children: [
4071
+ children: /* @__PURE__ */ E("div", { className: "richtext-flex richtext-items-center richtext-gap-0.5 richtext-duration-200 richtext-ease-in-out [transition-property:top,_left]", children: [
4072
4072
  /* @__PURE__ */ l(
4073
4073
  Ce,
4074
4074
  {
4075
4075
  className: "!richtext-size-7 richtext-cursor-grab",
4076
4076
  disabled: e == null ? void 0 : e.disabled,
4077
- onClick: k,
4077
+ onClick: M,
4078
4078
  size: "icon",
4079
4079
  type: "button",
4080
4080
  variant: "ghost",
@@ -4087,14 +4087,14 @@ function ry(e) {
4087
4087
  )
4088
4088
  }
4089
4089
  ),
4090
- /* @__PURE__ */ T(
4090
+ /* @__PURE__ */ E(
4091
4091
  Vx,
4092
4092
  {
4093
4093
  onOpenChange: L,
4094
4094
  open: u,
4095
4095
  children: [
4096
- /* @__PURE__ */ T("div", { className: "richtext-relative richtext-flex richtext-flex-col", children: [
4097
- /* @__PURE__ */ T($d, { children: [
4096
+ /* @__PURE__ */ E("div", { className: "richtext-relative richtext-flex richtext-flex-col", children: [
4097
+ /* @__PURE__ */ E($d, { children: [
4098
4098
  /* @__PURE__ */ l(
4099
4099
  _d,
4100
4100
  {
@@ -4108,8 +4108,8 @@ function ry(e) {
4108
4108
  size: "icon",
4109
4109
  type: "button",
4110
4110
  variant: "ghost",
4111
- onMouseUp: (w) => {
4112
- w.preventDefault(), !(e != null && e.disabled) && f(!0);
4111
+ onMouseUp: (A) => {
4112
+ A.preventDefault(), !(e != null && e.disabled) && f(!0);
4113
4113
  },
4114
4114
  children: /* @__PURE__ */ l(
4115
4115
  ve,
@@ -4126,7 +4126,7 @@ function ry(e) {
4126
4126
  ] }),
4127
4127
  /* @__PURE__ */ l(Kx, { className: "richtext-absolute richtext-left-0 richtext-top-0 richtext-z-0 richtext-size-[28px]" })
4128
4128
  ] }),
4129
- /* @__PURE__ */ T(
4129
+ /* @__PURE__ */ E(
4130
4130
  Td,
4131
4131
  {
4132
4132
  align: "start",
@@ -4134,18 +4134,18 @@ function ry(e) {
4134
4134
  side: "bottom",
4135
4135
  sideOffset: 0,
4136
4136
  children: [
4137
- /* @__PURE__ */ T(
4137
+ /* @__PURE__ */ E(
4138
4138
  He,
4139
4139
  {
4140
4140
  className: "richtext-flex richtext-gap-3 richtext-bg-opacity-10 hover:richtext-bg-red-400 hover:richtext-bg-opacity-20 focus:richtext-bg-red-400 focus:richtext-bg-opacity-30 focus:richtext-text-red-500 dark:hover:richtext-bg-opacity-20 dark:hover:richtext-text-red-500",
4141
- onClick: E,
4141
+ onClick: I,
4142
4142
  children: [
4143
4143
  /* @__PURE__ */ l(ve, { name: "Trash2" }),
4144
4144
  /* @__PURE__ */ l("span", { children: r("editor.remove") })
4145
4145
  ]
4146
4146
  }
4147
4147
  ),
4148
- p ? /* @__PURE__ */ T(
4148
+ p ? /* @__PURE__ */ E(
4149
4149
  He,
4150
4150
  {
4151
4151
  className: "richtext-flex richtext-gap-3",
@@ -4156,7 +4156,7 @@ function ry(e) {
4156
4156
  ]
4157
4157
  }
4158
4158
  ) : null,
4159
- /* @__PURE__ */ T(
4159
+ /* @__PURE__ */ E(
4160
4160
  He,
4161
4161
  {
4162
4162
  className: "richtext-flex richtext-gap-3",
@@ -4167,7 +4167,7 @@ function ry(e) {
4167
4167
  ]
4168
4168
  }
4169
4169
  ),
4170
- /* @__PURE__ */ T(
4170
+ /* @__PURE__ */ E(
4171
4171
  He,
4172
4172
  {
4173
4173
  className: "richtext-flex richtext-gap-3",
@@ -4179,13 +4179,13 @@ function ry(e) {
4179
4179
  }
4180
4180
  ),
4181
4181
  d || h ? /* @__PURE__ */ l(Ed, {}) : null,
4182
- d ? /* @__PURE__ */ T(vc, { children: [
4183
- /* @__PURE__ */ T(Ea, { className: "richtext-flex richtext-gap-3", children: [
4182
+ d ? /* @__PURE__ */ E(vc, { children: [
4183
+ /* @__PURE__ */ E(Ea, { className: "richtext-flex richtext-gap-3", children: [
4184
4184
  /* @__PURE__ */ l(ve, { name: "AlignCenter" }),
4185
4185
  /* @__PURE__ */ l("span", { children: r("editor.textalign.tooltip") })
4186
4186
  ] }),
4187
- /* @__PURE__ */ l(gc, { children: /* @__PURE__ */ T(Ia, { children: [
4188
- /* @__PURE__ */ T(
4187
+ /* @__PURE__ */ l(gc, { children: /* @__PURE__ */ E(Ia, { children: [
4188
+ /* @__PURE__ */ E(
4189
4189
  He,
4190
4190
  {
4191
4191
  className: "richtext-flex richtext-gap-3",
@@ -4196,7 +4196,7 @@ function ry(e) {
4196
4196
  ]
4197
4197
  }
4198
4198
  ),
4199
- /* @__PURE__ */ T(
4199
+ /* @__PURE__ */ E(
4200
4200
  He,
4201
4201
  {
4202
4202
  className: "richtext-flex richtext-gap-3",
@@ -4207,7 +4207,7 @@ function ry(e) {
4207
4207
  ]
4208
4208
  }
4209
4209
  ),
4210
- /* @__PURE__ */ T(
4210
+ /* @__PURE__ */ E(
4211
4211
  He,
4212
4212
  {
4213
4213
  className: "richtext-flex richtext-gap-3",
@@ -4220,30 +4220,30 @@ function ry(e) {
4220
4220
  )
4221
4221
  ] }) })
4222
4222
  ] }) : null,
4223
- h ? /* @__PURE__ */ T(vc, { children: [
4224
- /* @__PURE__ */ T(Ea, { className: "richtext-flex richtext-gap-3", children: [
4223
+ h ? /* @__PURE__ */ E(vc, { children: [
4224
+ /* @__PURE__ */ E(Ea, { className: "richtext-flex richtext-gap-3", children: [
4225
4225
  /* @__PURE__ */ l(ve, { name: "IndentIncrease" }),
4226
4226
  /* @__PURE__ */ l("span", { children: r("editor.indent") })
4227
4227
  ] }),
4228
- /* @__PURE__ */ l(gc, { children: /* @__PURE__ */ T(Ia, { children: [
4229
- /* @__PURE__ */ T(
4228
+ /* @__PURE__ */ l(gc, { children: /* @__PURE__ */ E(Ia, { children: [
4229
+ /* @__PURE__ */ E(
4230
4230
  He,
4231
4231
  {
4232
4232
  className: "richtext-flex richtext-gap-3",
4233
4233
  disabled: ((N = n == null ? void 0 : n.attrs) == null ? void 0 : N.indent) >= ga.max,
4234
- onClick: S,
4234
+ onClick: w,
4235
4235
  children: [
4236
4236
  /* @__PURE__ */ l(ve, { name: "IndentIncrease" }),
4237
4237
  /* @__PURE__ */ l("span", { children: r("editor.indent.tooltip") })
4238
4238
  ]
4239
4239
  }
4240
4240
  ),
4241
- /* @__PURE__ */ T(
4241
+ /* @__PURE__ */ E(
4242
4242
  He,
4243
4243
  {
4244
4244
  className: "richtext-flex richtext-gap-3",
4245
4245
  disabled: (($ = n == null ? void 0 : n.attrs) == null ? void 0 : $.indent) <= ga.min,
4246
- onClick: I,
4246
+ onClick: T,
4247
4247
  children: [
4248
4248
  /* @__PURE__ */ l(ve, { name: "IndentDecrease" }),
4249
4249
  /* @__PURE__ */ l("span", { children: r("editor.outdent.tooltip") })
@@ -4476,13 +4476,13 @@ function by() {
4476
4476
  return /* @__PURE__ */ l("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", children: /* @__PURE__ */ l("path", { fill: "currentColor", d: "M23.943 19.806a.2.2 0 0 0-.168-.034c-1.26-1.855-2.873-3.61-4.419-5.315l-.252-.284c-.001-.073-.067-.12-.134-.15l-.084-.084c-.05-.1-.169-.167-.286-.1c-.47.234-.907.585-1.327.919c-.554.434-1.109.87-1.63 1.354a5 5 0 0 0-.588.618c-.084.117-.017.217.084.267c-.37.368-.74.736-1.109 1.12a.2.2 0 0 0-.05.134c0 .05.033.1.067.117l.655.502v.016c.924.92 2.554 2.173 4.285 3.527c.251.201.52.402.773.602c.117.134.234.285.335.418c.05.066.169.084.236.033c.033.034.084.067.118.1a.24.24 0 0 0 .1.034a.15.15 0 0 0 .135-.066a.24.24 0 0 0 .033-.1c.017 0 .017.016.034.016a.2.2 0 0 0 .134-.05l3.058-3.327c.12-.116.014-.267 0-.267m-7.628-.134l-1.546-1.17l-.15-.1c-.035-.017-.068-.05-.102-.067l-.117-.1c.66-.66 1.33-1.308 2-1.956c-.488.484-1.463 1.906-1.261 2.373c.002 0 .018.042.067.084zm4.1 3.126l-1.277-.97a27 27 0 0 0-1.58-1.504c.69.518 1.277.97 1.361 1.053c.673.585.638.485 1.093.87l.554.4c-.074.103-.151.148-.151.151m.336.25l-.034-.016a1 1 0 0 0 .152-.117zM.588 3.476c.033.217.084.435.117.636c.201 1.103.403 2.106.772 2.858l.152.568c.05.217.134.485.219.552a67 67 0 0 0 3.578 2.942a.18.18 0 0 0 .219 0s0 .016.016.016a.15.15 0 0 0 .118.05a.2.2 0 0 0 .134-.05c1.798-1.989 3.142-3.627 4.1-4.998c.068-.066.084-.167.084-.25c.067-.067.118-.151.185-.201c.067-.067.067-.184 0-.235l-.017-.016c0-.033-.017-.084-.05-.1c-.42-.401-.722-.685-1.042-.986a94 94 0 0 1-2.352-2.273c-.017-.017-.034-.034-.067-.034c-.336-.117-1.025-.234-1.882-.385c-1.277-.216-3.008-.517-4.57-.986c0 0-.101 0-.118.017l-.05.05C.05.714.022.707 0 .718c.017.1.017.167.05.284c0 .033.068.301.068.334zm7.19 4.78l-.033.034a.036.036 0 0 1 .033-.034M6.553 2.238c.101.1.521.502.622.585c-.437-.2-1.529-.702-2.034-.869c.505.1 1.194.201 1.412.284M.79 1.403c.252.434.454 1.939.655 3.41c-.118-.469-.201-.936-.302-1.372C.992 2.673.84 1.988.638 1.386c.124 0 .152.021.152.017m-.286-.369c0-.016 0-.033-.017-.033c.085 0 .135.017.202.05c0 .006-.145-.017-.185-.017m23.17-.217c.017-.066-.336-.367-.219-.384c.253-.017.253-.401 0-.401c-.335.017-.688.1-1.008.15c-.587.117-1.192.234-1.78.367a80 80 0 0 0-3.949.937c-.403.117-.857.2-1.243.401c-.135.067-.118.2-.05.284c-.034.017-.051.017-.085.034c-.117.017-.218.034-.335.05c-.102.017-.152.1-.135.2c0 .017.017.05.017.067c-.706.936-1.496 1.923-2.353 2.976c-.84.969-1.73 1.989-2.62 3.042c-2.84 3.31-6.05 7.07-9.594 10.38a.16.16 0 0 0 0 .234c.016.016.033.033.05.033c-.05.05-.101.085-.152.134q-.05.05-.05.1a.4.4 0 0 0-.067.084c-.067.067-.067.184.017.234c.067.066.185.066.235-.017c.017-.017.017-.033.033-.033a.265.265 0 0 1 .37 0c.202.217.404.435.588.618l-.42-.35c-.067-.067-.184-.05-.234.016c-.068.066-.051.184.016.234l4.469 3.727c.034.034.067.034.118.034a.15.15 0 0 0 .117-.05l.101-.1c.017.016.05.016.067.016c.05 0 .084-.016.118-.05c6.049-6.05 10.922-10.614 16.5-14.693c.05-.033.067-.1.067-.15c.067 0 .118-.05.15-.117c1.026-3.125 1.228-5.9 1.295-7.27c0-.059.016-.038.016-.068c.017-.033.017-.05.017-.05a.98.98 0 0 0-.067-.619m-10.82 4.915c.268-.301.537-.619.806-.903c-1.73 2.273-4.603 5.767-8.67 9.929c2.773-3.059 5.562-6.218 7.864-9.026M5.14 23.466c-.016-.017-.016-.017 0-.017zm2.504-2.156c.135-.15.27-.284.42-.434c0 0 0 .016.017.016c-.224.198-.433.418-.437.418m.69-.668c.099-.1.14-.173.284-.318c.992-1.02 2.017-2.04 3.059-3.076l.016-.016c.252-.2.555-.418.824-.619a228 228 0 0 0-4.184 4.029M14.852 3.91c-.554.719-1.176 1.671-1.697 2.423c-1.646 2.374-6.94 8.174-7.057 8.274a1190 1190 0 0 1-4.839 4.597l-.1.1c-.085-.1-.085-.25.016-.334C8.652 11.966 13.19 6.133 15.021 3.576c-.05.116-.084.216-.168.334zm2.906 3.427c-.671-.386-.99-.987-.806-1.572l.05-.2a.8.8 0 0 1 .085-.167a1.9 1.9 0 0 1 .756-.703c.016 0 .033 0 .05-.016c-.017-.034-.017-.084-.017-.134c.017-.1.085-.167.202-.167c.202 0 .824.184 1.059.384c.067.05.134.117.202.184c.084.1.218.268.285.401c.034.017.067.184.118.268c.033.134.067.284.05.418c-.017.016 0 .116-.017.116a1.6 1.6 0 0 1-.218.619c-.03.03.006.012-.05.067a1.2 1.2 0 0 1-.32.334a1.49 1.49 0 0 1-1.26.234a2 2 0 0 0-.169-.066m4.37 1.403c0 .017-.017.05 0 .067c-.034 0-.05.017-.085.034a110 110 0 0 0-3.915 3.025c1.11-.986 2.218-1.989 3.378-2.975c.336-.301.571-.686.638-1.12l.168-1.003v-.033c.085-.201.404-.118.353.1c-.004-.001-.173.795-.537 1.905" }) });
4477
4477
  }
4478
4478
  function wy() {
4479
- return /* @__PURE__ */ T("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 32 32", children: [
4479
+ return /* @__PURE__ */ E("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 32 32", children: [
4480
4480
  /* @__PURE__ */ l("path", { fill: "currentColor", d: "M30 18v-2h-6v10h2v-4h3v-2h-3v-2zm-11 8h-4V16h4a3.003 3.003 0 0 1 3 3v4a3.003 3.003 0 0 1-3 3m-2-2h2a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-2zm-6-8H6v10h2v-3h3a2.003 2.003 0 0 0 2-2v-3a2 2 0 0 0-2-2m-3 5v-3h3l.001 3z" }),
4481
4481
  /* @__PURE__ */ l("path", { fill: "currentColor", d: "M22 14v-4a.91.91 0 0 0-.3-.7l-7-7A.9.9 0 0 0 14 2H4a2.006 2.006 0 0 0-2 2v24a2 2 0 0 0 2 2h16v-2H4V4h8v6a2.006 2.006 0 0 0 2 2h6v2Zm-8-4V4.4l5.6 5.6Z" })
4482
4482
  ] });
4483
4483
  }
4484
4484
  function Sy() {
4485
- return /* @__PURE__ */ T(
4485
+ return /* @__PURE__ */ E(
4486
4486
  "svg",
4487
4487
  {
4488
4488
  xmlns: "http://www.w3.org/2000/svg",
@@ -4510,7 +4510,7 @@ function Sy() {
4510
4510
  );
4511
4511
  }
4512
4512
  function Ay() {
4513
- return /* @__PURE__ */ l("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", children: /* @__PURE__ */ T("g", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", color: "currentColor", children: [
4513
+ return /* @__PURE__ */ l("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", children: /* @__PURE__ */ E("g", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", color: "currentColor", children: [
4514
4514
  /* @__PURE__ */ l("path", { d: "M14.86 22h-4.312c-3.291 0-4.937 0-6.08-.798a4.2 4.2 0 0 1-.863-.805c-.855-1.066-.855-2.6-.855-5.67v-2.545c0-2.963 0-4.445.473-5.628c.761-1.903 2.37-3.403 4.41-4.113C8.9 2 10.49 2 13.667 2c1.816 0 2.723 0 3.448.252c1.166.406 2.085 1.263 2.52 2.35c.27.676.27 1.523.27 3.216V10" }),
4515
4515
  /* @__PURE__ */ l("path", { d: "M2.75 12c0-1.84 1.506-3.333 3.364-3.333c.672 0 1.464.116 2.117-.057a1.67 1.67 0 0 0 1.19-1.179c.174-.647.057-1.432.057-2.098C9.478 3.493 10.984 2 12.84 2m.002 16h2.523m-4.949-4.15c-.126-.8-.281-.801-1.61-.85h-1.01c-.557 0-1.009.448-1.009 1v3c0 .552.452 1 1.01 1h1.816c.39 0 .803-.313.803-.7v-1.1c0-.11-.113-.304-.224-.304H9.068M12.842 13h1.261m0 0h1.262m-1.262 0v4.875M21.251 13h-2.523c-.557 0-1.009.448-1.009 1v1.5m0 0V18m0-2.5h2.523" })
4516
4516
  ] }) });
@@ -4519,7 +4519,7 @@ function Cy() {
4519
4519
  return /* @__PURE__ */ l("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 20 20", children: /* @__PURE__ */ l("path", { fill: "currentColor", d: "M6.5 3a.75.75 0 0 1 .697.471l3 7.5a.75.75 0 0 1-1.393.557L7.992 9.5H5.008l-.811 2.028a.75.75 0 0 1-1.393-.556l3-7.5A.75.75 0 0 1 6.5 3m0 2.77L5.608 8h1.784zm8.28-1.55a.75.75 0 1 0-1.06 1.06l.72.72h-3.69a.75.75 0 0 0 0 1.5h3.69l-.72.72a.75.75 0 0 0 1.06 1.06l2-2a.75.75 0 0 0 0-1.06zm0 7.5a.75.75 0 1 0-1.06 1.06l.72.72H3.75a.75.75 0 0 0 0 1.5h10.69l-.72.72a.75.75 0 1 0 1.06 1.06l2-2a.75.75 0 0 0 0-1.06z" }) });
4520
4520
  }
4521
4521
  function Ty() {
4522
- return /* @__PURE__ */ l("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 48 48", children: /* @__PURE__ */ T("g", { fill: "none", stroke: "currentColor", strokeWidth: "4", children: [
4522
+ return /* @__PURE__ */ l("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 48 48", children: /* @__PURE__ */ E("g", { fill: "none", stroke: "currentColor", strokeWidth: "4", children: [
4523
4523
  /* @__PURE__ */ l("circle", { cx: "10", cy: "24", r: "4" }),
4524
4524
  /* @__PURE__ */ l("circle", { cx: "38", cy: "10", r: "4" }),
4525
4525
  /* @__PURE__ */ l("circle", { cx: "38", cy: "24", r: "4" }),
@@ -4667,8 +4667,8 @@ function Oy({ fill: e }) {
4667
4667
  viewBox: "0 0 256 256",
4668
4668
  version: "1.1",
4669
4669
  xmlns: "http://www.w3.org/2000/svg",
4670
- children: /* @__PURE__ */ l("g", { id: "icon/填充色", stroke: "none", strokeWidth: 1, fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ T("g", { id: "icon/背景颜色", children: [
4671
- /* @__PURE__ */ l("g", { id: "编组", fill: "currentColor", children: /* @__PURE__ */ T(
4670
+ children: /* @__PURE__ */ l("g", { id: "icon/填充色", stroke: "none", strokeWidth: 1, fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ E("g", { id: "icon/背景颜色", children: [
4671
+ /* @__PURE__ */ l("g", { id: "编组", fill: "currentColor", children: /* @__PURE__ */ E(
4672
4672
  "g",
4673
4673
  {
4674
4674
  transform: "translate(119.502295, 137.878331) rotate(-135.000000) translate(-119.502295, -137.878331) translate(48.002295, 31.757731)",
@@ -4711,7 +4711,7 @@ function Oy({ fill: e }) {
4711
4711
  );
4712
4712
  }
4713
4713
  function Py(e) {
4714
- const [t, r] = X(void 0);
4714
+ const [t, r] = J(void 0);
4715
4715
  function n(a) {
4716
4716
  var s;
4717
4717
  (s = e.action) == null || s.call(e, a);
@@ -4726,7 +4726,7 @@ function Py(e) {
4726
4726
  }, 350),
4727
4727
  []
4728
4728
  );
4729
- return /* @__PURE__ */ T("div", { className: "richtext-flex richtext-items-center richtext-h-[32px]", children: [
4729
+ return /* @__PURE__ */ E("div", { className: "richtext-flex richtext-items-center richtext-h-[32px]", children: [
4730
4730
  /* @__PURE__ */ l(
4731
4731
  F,
4732
4732
  {
@@ -4752,8 +4752,8 @@ function Py(e) {
4752
4752
  ] });
4753
4753
  }
4754
4754
  function Ny({ editor: e, disabled: t, actions: r }) {
4755
- var g, x, S, I, E, C, k, L, P, N, $, w, A, M, D, H, j, ee;
4756
- const n = ({ editor: Z }) => ap(Z.view.state, "table"), { t: i } = Se();
4755
+ var g, x, w, T, I, C, M, L, k, N, $, A, S, P, D, H, j, W;
4756
+ const n = ({ editor: Q }) => ap(Q.view.state, "table"), { t: i } = Se();
4757
4757
  function o() {
4758
4758
  e.chain().focus().addColumnBefore().run();
4759
4759
  }
@@ -4781,8 +4781,8 @@ function Ny({ editor: e, disabled: t, actions: r }) {
4781
4781
  function p() {
4782
4782
  e.chain().focus().deleteTable().run();
4783
4783
  }
4784
- function m(Z) {
4785
- e.chain().focus().setTableCellBackground(Z).run();
4784
+ function m(Q) {
4785
+ e.chain().focus().setTableCellBackground(Q).run();
4786
4786
  }
4787
4787
  return /* @__PURE__ */ l(
4788
4788
  St,
@@ -4800,11 +4800,11 @@ function Ny({ editor: e, disabled: t, actions: r }) {
4800
4800
  getReferenceClientRect: () => {
4801
4801
  var Be;
4802
4802
  const {
4803
- view: Z,
4803
+ view: Q,
4804
4804
  state: {
4805
4805
  selection: { from: te }
4806
4806
  }
4807
- } = e, ye = Z.domAtPos(te).node;
4807
+ } = e, ye = Q.domAtPos(te).node;
4808
4808
  if (!ye)
4809
4809
  return new DOMRect(-1e3, -1e3, 0, 0);
4810
4810
  const me = (Be = ye == null ? void 0 : ye.closest) == null ? void 0 : Be.call(ye, ".tableWrapper");
@@ -4813,7 +4813,7 @@ function Ny({ editor: e, disabled: t, actions: r }) {
4813
4813
  plugins: [Sp],
4814
4814
  sticky: "popper"
4815
4815
  },
4816
- children: t ? /* @__PURE__ */ l(de, {}) : /* @__PURE__ */ T("div", { className: "richtext-flex richtext-size-full richtext-min-w-32 richtext-flex-row richtext-items-center richtext-gap-0.5 richtext-rounded-lg !richtext-border richtext-border-border richtext-bg-background richtext-p-2 richtext-leading-none richtext-shadow-sm", children: [
4816
+ children: t ? /* @__PURE__ */ l(de, {}) : /* @__PURE__ */ E("div", { className: "richtext-flex richtext-size-full richtext-min-w-32 richtext-flex-row richtext-items-center richtext-gap-0.5 richtext-rounded-lg !richtext-border richtext-border-border richtext-bg-background richtext-p-2 richtext-leading-none richtext-shadow-sm", children: [
4817
4817
  /* @__PURE__ */ l(
4818
4818
  F,
4819
4819
  {
@@ -4830,7 +4830,7 @@ function Ny({ editor: e, disabled: t, actions: r }) {
4830
4830
  F,
4831
4831
  {
4832
4832
  action: a,
4833
- disabled: !((I = (S = e == null ? void 0 : e.can()) == null ? void 0 : S.addColumnAfter) != null && I.call(S)),
4833
+ disabled: !((T = (w = e == null ? void 0 : e.can()) == null ? void 0 : w.addColumnAfter) != null && T.call(w)),
4834
4834
  icon: "BetweenHorizonalStart",
4835
4835
  tooltip: i("editor.table.menu.insertColumnAfter"),
4836
4836
  "tooltip-options": {
@@ -4842,7 +4842,7 @@ function Ny({ editor: e, disabled: t, actions: r }) {
4842
4842
  F,
4843
4843
  {
4844
4844
  action: s,
4845
- disabled: !((C = e == null ? void 0 : (E = e.can()).deleteColumn) != null && C.call(E)),
4845
+ disabled: !((C = e == null ? void 0 : (I = e.can()).deleteColumn) != null && C.call(I)),
4846
4846
  icon: "DeleteColumn",
4847
4847
  tooltip: i("editor.table.menu.deleteColumn"),
4848
4848
  "tooltip-options": {
@@ -4861,7 +4861,7 @@ function Ny({ editor: e, disabled: t, actions: r }) {
4861
4861
  F,
4862
4862
  {
4863
4863
  action: c,
4864
- disabled: !((L = e == null ? void 0 : (k = e.can()).addRowBefore) != null && L.call(k)),
4864
+ disabled: !((L = e == null ? void 0 : (M = e.can()).addRowBefore) != null && L.call(M)),
4865
4865
  icon: "BetweenVerticalEnd",
4866
4866
  tooltip: i("editor.table.menu.insertRowAbove"),
4867
4867
  "tooltip-options": {
@@ -4873,7 +4873,7 @@ function Ny({ editor: e, disabled: t, actions: r }) {
4873
4873
  F,
4874
4874
  {
4875
4875
  action: u,
4876
- disabled: !((N = (P = e == null ? void 0 : e.can()) == null ? void 0 : P.addRowAfter) != null && N.call(P)),
4876
+ disabled: !((N = (k = e == null ? void 0 : e.can()) == null ? void 0 : k.addRowAfter) != null && N.call(k)),
4877
4877
  icon: "BetweenVerticalStart",
4878
4878
  tooltip: i("editor.table.menu.insertRowBelow"),
4879
4879
  "tooltip-options": {
@@ -4885,7 +4885,7 @@ function Ny({ editor: e, disabled: t, actions: r }) {
4885
4885
  F,
4886
4886
  {
4887
4887
  action: f,
4888
- disabled: !((w = ($ = e == null ? void 0 : e.can()) == null ? void 0 : $.deleteRow) != null && w.call($)),
4888
+ disabled: !((A = ($ = e == null ? void 0 : e.can()) == null ? void 0 : $.deleteRow) != null && A.call($)),
4889
4889
  icon: "DeleteRow",
4890
4890
  tooltip: i("editor.table.menu.deleteRow"),
4891
4891
  "tooltip-options": {
@@ -4904,7 +4904,7 @@ function Ny({ editor: e, disabled: t, actions: r }) {
4904
4904
  F,
4905
4905
  {
4906
4906
  action: d,
4907
- disabled: !((M = (A = e == null ? void 0 : e.can()) == null ? void 0 : A.mergeCells) != null && M.call(A)),
4907
+ disabled: !((P = (S = e == null ? void 0 : e.can()) == null ? void 0 : S.mergeCells) != null && P.call(S)),
4908
4908
  icon: "TableCellsMerge",
4909
4909
  tooltip: i("editor.table.menu.mergeCells"),
4910
4910
  "tooltip-options": {
@@ -4946,7 +4946,7 @@ function Ny({ editor: e, disabled: t, actions: r }) {
4946
4946
  F,
4947
4947
  {
4948
4948
  action: p,
4949
- disabled: !((ee = (j = e == null ? void 0 : e.can()) == null ? void 0 : j.deleteTable) != null && ee.call(j)),
4949
+ disabled: !((W = (j = e == null ? void 0 : e.can()) == null ? void 0 : j.deleteTable) != null && W.call(j)),
4950
4950
  icon: "Trash2",
4951
4951
  tooltip: i("editor.table.menu.deleteTable"),
4952
4952
  "tooltip-options": {
@@ -4954,10 +4954,10 @@ function Ny({ editor: e, disabled: t, actions: r }) {
4954
4954
  }
4955
4955
  }
4956
4956
  ),
4957
- r && r.map((Z, te) => /* @__PURE__ */ l(
4957
+ r && r.map((Q, te) => /* @__PURE__ */ l(
4958
4958
  F,
4959
4959
  {
4960
- ...Z
4960
+ ...Q
4961
4961
  },
4962
4962
  te
4963
4963
  ))
@@ -5110,7 +5110,7 @@ Oe.prototype = {
5110
5110
  return i.j[e] = a, a;
5111
5111
  }
5112
5112
  };
5113
- const K = (e, t, r, n, i) => e.ta(t, r, n, i), he = (e, t, r, n, i) => e.tr(t, r, n, i), ac = (e, t, r, n, i) => e.ts(t, r, n, i), O = (e, t, r, n, i) => e.tt(t, r, n, i), rt = "WORD", Sa = "UWORD", ad = "ASCIINUMERICAL", sd = "ALPHANUMERICAL", xr = "LOCALHOST", Aa = "TLD", Ca = "UTLD", Vr = "SCHEME", jt = "SLASH_SCHEME", Fa = "NUM", Ta = "WS", Ua = "NL", cr = "OPENBRACE", lr = "CLOSEBRACE", nn = "OPENBRACKET", on = "CLOSEBRACKET", an = "OPENPAREN", sn = "CLOSEPAREN", cn = "OPENANGLEBRACKET", ln = "CLOSEANGLEBRACKET", un = "FULLWIDTHLEFTPAREN", dn = "FULLWIDTHRIGHTPAREN", fn = "LEFTCORNERBRACKET", hn = "RIGHTCORNERBRACKET", pn = "LEFTWHITECORNERBRACKET", mn = "RIGHTWHITECORNERBRACKET", gn = "FULLWIDTHLESSTHAN", vn = "FULLWIDTHGREATERTHAN", yn = "AMPERSAND", Wa = "APOSTROPHE", xn = "ASTERISK", xt = "AT", bn = "BACKSLASH", wn = "BACKTICK", Sn = "CARET", bt = "COLON", Ga = "COMMA", An = "DOLLAR", qe = "DOT", Cn = "EQUALS", Va = "EXCLAMATION", Le = "HYPHEN", ur = "PERCENT", Tn = "PIPE", En = "PLUS", In = "POUND", dr = "QUERY", Ka = "QUOTE", cd = "FULLWIDTHMIDDLEDOT", Ya = "SEMI", Fe = "SLASH", fr = "TILDE", Rn = "UNDERSCORE", ld = "EMOJI", On = "SYM";
5113
+ const Y = (e, t, r, n, i) => e.ta(t, r, n, i), he = (e, t, r, n, i) => e.tr(t, r, n, i), ac = (e, t, r, n, i) => e.ts(t, r, n, i), O = (e, t, r, n, i) => e.tt(t, r, n, i), rt = "WORD", Sa = "UWORD", ad = "ASCIINUMERICAL", sd = "ALPHANUMERICAL", xr = "LOCALHOST", Aa = "TLD", Ca = "UTLD", Vr = "SCHEME", jt = "SLASH_SCHEME", Fa = "NUM", Ta = "WS", Ua = "NL", cr = "OPENBRACE", lr = "CLOSEBRACE", nn = "OPENBRACKET", on = "CLOSEBRACKET", an = "OPENPAREN", sn = "CLOSEPAREN", cn = "OPENANGLEBRACKET", ln = "CLOSEANGLEBRACKET", un = "FULLWIDTHLEFTPAREN", dn = "FULLWIDTHRIGHTPAREN", fn = "LEFTCORNERBRACKET", hn = "RIGHTCORNERBRACKET", pn = "LEFTWHITECORNERBRACKET", mn = "RIGHTWHITECORNERBRACKET", gn = "FULLWIDTHLESSTHAN", vn = "FULLWIDTHGREATERTHAN", yn = "AMPERSAND", Wa = "APOSTROPHE", xn = "ASTERISK", xt = "AT", bn = "BACKSLASH", wn = "BACKTICK", Sn = "CARET", bt = "COLON", Ga = "COMMA", An = "DOLLAR", qe = "DOT", Cn = "EQUALS", Va = "EXCLAMATION", Le = "HYPHEN", ur = "PERCENT", Tn = "PIPE", En = "PLUS", In = "POUND", dr = "QUERY", Ka = "QUOTE", cd = "FULLWIDTHMIDDLEDOT", Ya = "SEMI", Fe = "SLASH", fr = "TILDE", Rn = "UNDERSCORE", ld = "EMOJI", On = "SYM";
5114
5114
  var ud = /* @__PURE__ */ Object.freeze({
5115
5115
  __proto__: null,
5116
5116
  WORD: rt,
@@ -5226,12 +5226,12 @@ function zy(e = []) {
5226
5226
  ascii: !0
5227
5227
  }, t), e = e.sort((v, g) => v[0] > g[0] ? 1 : -1);
5228
5228
  for (let v = 0; v < e.length; v++) {
5229
- const g = e[v][0], S = e[v][1] ? {
5229
+ const g = e[v][0], w = e[v][1] ? {
5230
5230
  [Ly]: !0
5231
5231
  } : {
5232
5232
  [$y]: !0
5233
5233
  };
5234
- g.indexOf("-") >= 0 ? S[wa] = !0 : et.test(g) ? tt.test(g) ? S[sr] = !0 : S[xa] = !0 : S[ya] = !0, ac(r, g, g, S);
5234
+ g.indexOf("-") >= 0 ? w[wa] = !0 : et.test(g) ? tt.test(g) ? w[sr] = !0 : w[xa] = !0 : w[ya] = !0, ac(r, g, g, w);
5235
5235
  }
5236
5236
  return ac(r, "localhost", xr, {
5237
5237
  ascii: !0
@@ -5533,34 +5533,34 @@ function Fy({
5533
5533
  groups: e
5534
5534
  }) {
5535
5535
  const t = e.domain.concat([yn, xn, xt, bn, wn, Sn, An, Cn, Le, Fa, ur, Tn, En, In, Fe, On, fr, Rn]), r = [bt, Ga, qe, Va, ur, dr, Ka, Ya, cn, ln, cr, lr, on, nn, an, sn, un, dn, fn, hn, pn, mn, gn, vn], n = [yn, Wa, xn, bn, wn, Sn, An, Cn, Le, cr, lr, ur, Tn, En, In, dr, Fe, On, fr, Rn], i = Me(), o = O(i, fr);
5536
- K(o, n, o), K(o, e.domain, o);
5536
+ Y(o, n, o), Y(o, e.domain, o);
5537
5537
  const a = Me(), s = Me(), c = Me();
5538
- K(i, e.domain, a), K(i, e.scheme, s), K(i, e.slashscheme, c), K(a, n, o), K(a, e.domain, a);
5538
+ Y(i, e.domain, a), Y(i, e.scheme, s), Y(i, e.slashscheme, c), Y(a, n, o), Y(a, e.domain, a);
5539
5539
  const u = O(a, xt);
5540
5540
  O(o, xt, u), O(s, xt, u), O(c, xt, u);
5541
5541
  const f = O(o, qe);
5542
- K(f, n, o), K(f, e.domain, o);
5542
+ Y(f, n, o), Y(f, e.domain, o);
5543
5543
  const d = Me();
5544
- K(u, e.domain, d), K(d, e.domain, d);
5544
+ Y(u, e.domain, d), Y(d, e.domain, d);
5545
5545
  const h = O(d, qe);
5546
- K(h, e.domain, d);
5546
+ Y(h, e.domain, d);
5547
5547
  const p = Me(uc);
5548
- K(h, e.tld, p), K(h, e.utld, p), O(u, xr, p);
5548
+ Y(h, e.tld, p), Y(h, e.utld, p), O(u, xr, p);
5549
5549
  const m = O(d, Le);
5550
- O(m, Le, m), K(m, e.domain, d), K(p, e.domain, d), O(p, qe, h), O(p, Le, m);
5550
+ O(m, Le, m), Y(m, e.domain, d), Y(p, e.domain, d), O(p, qe, h), O(p, Le, m);
5551
5551
  const v = O(p, bt);
5552
- K(v, e.numeric, uc);
5552
+ Y(v, e.numeric, uc);
5553
5553
  const g = O(a, Le), x = O(a, qe);
5554
- O(g, Le, g), K(g, e.domain, a), K(x, n, o), K(x, e.domain, a);
5555
- const S = Me(Hr);
5556
- K(x, e.tld, S), K(x, e.utld, S), K(S, e.domain, a), K(S, n, o), O(S, qe, x), O(S, Le, g), O(S, xt, u);
5557
- const I = O(S, bt), E = Me(Hr);
5558
- K(I, e.numeric, E);
5559
- const C = Me(Hr), k = Me();
5560
- K(C, t, C), K(C, r, k), K(k, t, C), K(k, r, k), O(S, Fe, C), O(E, Fe, C);
5561
- const L = O(s, bt), P = O(c, bt), N = O(P, Fe), $ = O(N, Fe);
5562
- K(s, e.domain, a), O(s, qe, x), O(s, Le, g), K(c, e.domain, a), O(c, qe, x), O(c, Le, g), K(L, e.domain, C), O(L, Fe, C), O(L, dr, C), K($, e.domain, C), K($, t, C), O($, Fe, C);
5563
- const w = [
5554
+ O(g, Le, g), Y(g, e.domain, a), Y(x, n, o), Y(x, e.domain, a);
5555
+ const w = Me(Hr);
5556
+ Y(x, e.tld, w), Y(x, e.utld, w), Y(w, e.domain, a), Y(w, n, o), O(w, qe, x), O(w, Le, g), O(w, xt, u);
5557
+ const T = O(w, bt), I = Me(Hr);
5558
+ Y(T, e.numeric, I);
5559
+ const C = Me(Hr), M = Me();
5560
+ Y(C, t, C), Y(C, r, M), Y(M, t, C), Y(M, r, M), O(w, Fe, C), O(I, Fe, C);
5561
+ const L = O(s, bt), k = O(c, bt), N = O(k, Fe), $ = O(N, Fe);
5562
+ Y(s, e.domain, a), O(s, qe, x), O(s, Le, g), Y(c, e.domain, a), O(c, qe, x), O(c, Le, g), Y(L, e.domain, C), O(L, Fe, C), O(L, dr, C), Y($, e.domain, C), Y($, t, C), O($, Fe, C);
5563
+ const A = [
5564
5564
  [cr, lr],
5565
5565
  // {}
5566
5566
  [nn, on],
@@ -5578,15 +5578,15 @@ function Fy({
5578
5578
  [gn, vn]
5579
5579
  // <>
5580
5580
  ];
5581
- for (let A = 0; A < w.length; A++) {
5582
- const [M, D] = w[A], H = O(C, M);
5583
- O(k, M, H), O(H, D, C);
5581
+ for (let S = 0; S < A.length; S++) {
5582
+ const [P, D] = A[S], H = O(C, P);
5583
+ O(M, P, H), O(H, D, C);
5584
5584
  const j = Me(Hr);
5585
- K(H, t, j);
5586
- const ee = Me();
5587
- K(H, r), K(j, t, j), K(j, r, ee), K(ee, t, j), K(ee, r, ee), O(j, D, C), O(ee, D, C);
5585
+ Y(H, t, j);
5586
+ const W = Me();
5587
+ Y(H, r), Y(j, t, j), Y(j, r, W), Y(W, t, j), Y(W, r, W), O(j, D, C), O(W, D, C);
5588
5588
  }
5589
- return O(i, xr, S), O(i, Ua, qy), {
5589
+ return O(i, xr, w), O(i, Ua, qy), {
5590
5590
  start: i,
5591
5591
  tokens: ud
5592
5592
  };
@@ -5693,7 +5693,7 @@ function Xy(e) {
5693
5693
  from: v + x.start + 1,
5694
5694
  to: v + x.end + 1
5695
5695
  })).filter((x) => n.schema.marks.code ? !n.doc.rangeHasMark(x.from, x.to, n.schema.marks.code) : !0).filter((x) => e.validate(x.value)).filter((x) => e.shouldAutoLink(x.value)).forEach((x) => {
5696
- fp(x.from, x.to, n.doc).some((S) => S.mark.type === e.type) || a.addMark(x.from, x.to, e.type.create({
5696
+ fp(x.from, x.to, n.doc).some((w) => w.mark.type === e.type) || a.addMark(x.from, x.to, e.type.create({
5697
5697
  href: x.href
5698
5698
  }));
5699
5699
  });
@@ -5921,11 +5921,11 @@ const ex = sp.create({
5921
5921
  }
5922
5922
  });
5923
5923
  function tx(e) {
5924
- const [t, r] = X(!1);
5924
+ const [t, r] = J(!1);
5925
5925
  function n(i, o, a) {
5926
5926
  e.action && (e.action({ link: i, text: o, openInNewTab: a }), r(!1));
5927
5927
  }
5928
- return /* @__PURE__ */ T(Or, { modal: !0, open: t, onOpenChange: r, children: [
5928
+ return /* @__PURE__ */ E(Or, { modal: !0, open: t, onOpenChange: r, children: [
5929
5929
  /* @__PURE__ */ l(Pr, { disabled: e == null ? void 0 : e.disabled, asChild: !0, children: /* @__PURE__ */ l(
5930
5930
  F,
5931
5931
  {
@@ -6009,10 +6009,10 @@ const rx = /* @__PURE__ */ ex.extend({
6009
6009
  }
6010
6010
  });
6011
6011
  function pd(e) {
6012
- const { t } = Se(), [r, n] = X({
6012
+ const { t } = Se(), [r, n] = J({
6013
6013
  text: "",
6014
6014
  link: ""
6015
- }), [i, o] = X(!1);
6015
+ }), [i, o] = J(!1);
6016
6016
  pe(() => {
6017
6017
  const s = () => {
6018
6018
  var c, u, f;
@@ -6033,7 +6033,7 @@ function pd(e) {
6033
6033
  function a(s) {
6034
6034
  s.preventDefault(), s.stopPropagation(), e == null || e.onSetLink(r.link, r.text, i), n({ text: "", link: "" });
6035
6035
  }
6036
- return /* @__PURE__ */ l("div", { className: "border-neutral-200 richtext-rounded-lg !richtext-border richtext-bg-white richtext-p-2 richtext-shadow-sm dark:richtext-border-neutral-800 dark:richtext-bg-black", children: /* @__PURE__ */ T("div", { className: "richtext-flex richtext-flex-col richtext-gap-2", children: [
6036
+ return /* @__PURE__ */ l("div", { className: "border-neutral-200 richtext-rounded-lg !richtext-border richtext-bg-white richtext-p-2 richtext-shadow-sm dark:richtext-border-neutral-800 dark:richtext-bg-black", children: /* @__PURE__ */ E("div", { className: "richtext-flex richtext-flex-col richtext-gap-2", children: [
6037
6037
  /* @__PURE__ */ l(it, { className: "mb-[6px]", children: t("editor.link.dialog.text") }),
6038
6038
  /* @__PURE__ */ l("div", { className: "richtext-mb-[10px] richtext-flex richtext-w-full richtext-max-w-sm richtext-items-center richtext-gap-1.5", children: /* @__PURE__ */ l("div", { className: "richtext-relative richtext-w-full richtext-max-w-sm richtext-items-center", children: /* @__PURE__ */ l(
6039
6039
  Ne,
@@ -6047,7 +6047,7 @@ function pd(e) {
6047
6047
  }
6048
6048
  ) }) }),
6049
6049
  /* @__PURE__ */ l(it, { className: "mb-[6px]", children: t("editor.link.dialog.link") }),
6050
- /* @__PURE__ */ l("div", { className: "richtext-flex richtext-w-full richtext-max-w-sm richtext-items-center richtext-gap-1.5", children: /* @__PURE__ */ T("div", { className: "richtext-relative richtext-w-full richtext-max-w-sm richtext-items-center", children: [
6050
+ /* @__PURE__ */ l("div", { className: "richtext-flex richtext-w-full richtext-max-w-sm richtext-items-center richtext-gap-1.5", children: /* @__PURE__ */ E("div", { className: "richtext-relative richtext-w-full richtext-max-w-sm richtext-items-center", children: [
6051
6051
  /* @__PURE__ */ l(
6052
6052
  Ne,
6053
6053
  {
@@ -6066,7 +6066,7 @@ function pd(e) {
6066
6066
  }
6067
6067
  ) })
6068
6068
  ] }) }),
6069
- /* @__PURE__ */ T("div", { className: "richtext-flex richtext-items-center richtext-space-x-2", children: [
6069
+ /* @__PURE__ */ E("div", { className: "richtext-flex richtext-items-center richtext-space-x-2", children: [
6070
6070
  /* @__PURE__ */ l(it, { children: t("editor.link.dialog.openInNewTab") }),
6071
6071
  /* @__PURE__ */ l(
6072
6072
  Id,
@@ -6091,7 +6091,7 @@ function pd(e) {
6091
6091
  }
6092
6092
  function nx(e) {
6093
6093
  const { t } = Se();
6094
- return /* @__PURE__ */ T("div", { className: "richtext-flex richtext-items-center richtext-gap-2 richtext-p-2 richtext-bg-white !richtext-border richtext-rounded-lg richtext-shadow-sm dark:richtext-bg-black richtext-border-neutral-200 dark:richtext-border-neutral-800", children: [
6094
+ return /* @__PURE__ */ E("div", { className: "richtext-flex richtext-items-center richtext-gap-2 richtext-p-2 richtext-bg-white !richtext-border richtext-rounded-lg richtext-shadow-sm dark:richtext-bg-black richtext-border-neutral-200 dark:richtext-border-neutral-800", children: [
6095
6095
  /* @__PURE__ */ l(
6096
6096
  "a",
6097
6097
  {
@@ -6106,7 +6106,7 @@ function nx(e) {
6106
6106
  }
6107
6107
  ),
6108
6108
  (e == null ? void 0 : e.link) && /* @__PURE__ */ l(We, { orientation: "vertical", className: "!richtext-h-4" }),
6109
- /* @__PURE__ */ T("div", { className: "richtext-flex richtext-flex-nowrap", children: [
6109
+ /* @__PURE__ */ E("div", { className: "richtext-flex richtext-flex-nowrap", children: [
6110
6110
  /* @__PURE__ */ l(
6111
6111
  F,
6112
6112
  {
@@ -6133,7 +6133,7 @@ function nx(e) {
6133
6133
  ] });
6134
6134
  }
6135
6135
  function ix({ editor: e, disabled: t }) {
6136
- const [r, n] = X(!1), i = we(() => {
6136
+ const [r, n] = J(!1), i = we(() => {
6137
6137
  const { href: c } = e.getAttributes("link");
6138
6138
  return c;
6139
6139
  }, [e]), o = oe(({ editor: c }) => c.isActive("link"), []), a = (c, u, f) => {
@@ -6247,7 +6247,7 @@ const ox = /(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/, md = Er.c
6247
6247
  $e.Overlay,
6248
6248
  {
6249
6249
  ref: r,
6250
- className: Q(
6250
+ className: ee(
6251
6251
  "richtext-fixed richtext-inset-0 richtext-z-50 richtext-bg-black/80 richtext- data-[state=open]:richtext-animate-in data-[state=closed]:richtext-animate-out data-[state=closed]:richtext-fade-out-0 data-[state=open]:richtext-fade-in-0",
6252
6252
  e
6253
6253
  ),
@@ -6255,20 +6255,20 @@ const ox = /(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/, md = Er.c
6255
6255
  }
6256
6256
  ));
6257
6257
  gd.displayName = $e.Overlay.displayName;
6258
- const Ir = ne.forwardRef(({ className: e, children: t, ...r }, n) => /* @__PURE__ */ T(ax, { children: [
6258
+ const Ir = ne.forwardRef(({ className: e, children: t, ...r }, n) => /* @__PURE__ */ E(ax, { children: [
6259
6259
  /* @__PURE__ */ l(gd, {}),
6260
- /* @__PURE__ */ T(
6260
+ /* @__PURE__ */ E(
6261
6261
  $e.Content,
6262
6262
  {
6263
6263
  ref: n,
6264
- className: Q(
6264
+ className: ee(
6265
6265
  "richtext-dialog-content richtext-fixed richtext-left-[50%] richtext-top-[50%] richtext-z-50 richtext-grid richtext-w-full richtext-max-w-lg richtext-translate-x-[-50%] richtext-translate-y-[-50%] richtext-gap-4 richtext-border richtext-bg-background richtext-p-6 richtext-shadow-lg richtext-duration-200 data-[state=open]:richtext-animate-in data-[state=closed]:richtext-animate-out data-[state=closed]:richtext-fade-out-0 data-[state=open]:richtext-fade-in-0 data-[state=closed]:richtext-zoom-out-95 data-[state=open]:richtext-zoom-in-95 data-[state=closed]:richtext-slide-out-to-left-1/2 data-[state=closed]:richtext-slide-out-to-top-[48%] data-[state=open]:richtext-slide-in-from-left-1/2 data-[state=open]:richtext-slide-in-from-top-[48%] sm:richtext-rounded-lg",
6266
6266
  e
6267
6267
  ),
6268
6268
  ...r,
6269
6269
  children: [
6270
6270
  t,
6271
- /* @__PURE__ */ T($e.Close, { className: "richtext-absolute richtext-right-4 richtext-top-4 richtext-rounded-sm richtext-opacity-70 richtext-ring-offset-background richtext-transition-opacity hover:richtext-opacity-100 focus:richtext-outline-none focus:richtext-ring-2 focus:richtext-ring-ring focus:richtext-ring-offset-2 disabled:richtext-pointer-events-none data-[state=open]:richtext-bg-accent data-[state=open]:richtext-text-muted-foreground", children: [
6271
+ /* @__PURE__ */ E($e.Close, { className: "richtext-absolute richtext-right-4 richtext-top-4 richtext-rounded-sm richtext-opacity-70 richtext-ring-offset-background richtext-transition-opacity hover:richtext-opacity-100 focus:richtext-outline-none focus:richtext-ring-2 focus:richtext-ring-ring focus:richtext-ring-offset-2 disabled:richtext-pointer-events-none data-[state=open]:richtext-bg-accent data-[state=open]:richtext-text-muted-foreground", children: [
6272
6272
  /* @__PURE__ */ l(hu, { className: "richtext-h-4 richtext-w-4" }),
6273
6273
  /* @__PURE__ */ l("span", { className: "richtext-sr-only", children: "Close" })
6274
6274
  ] })
@@ -6284,7 +6284,7 @@ function vd({
6284
6284
  return /* @__PURE__ */ l(
6285
6285
  "div",
6286
6286
  {
6287
- className: Q(
6287
+ className: ee(
6288
6288
  "richtext-flex richtext-flex-col richtext-space-y-1.5 richtext-text-center sm:richtext-text-left",
6289
6289
  e
6290
6290
  ),
@@ -6300,7 +6300,7 @@ function Za({
6300
6300
  return /* @__PURE__ */ l(
6301
6301
  "div",
6302
6302
  {
6303
- className: Q(
6303
+ className: ee(
6304
6304
  "richtext-flex richtext-flex-col-reverse sm:richtext-flex-row sm:richtext-justify-end sm:richtext-space-x-2",
6305
6305
  e
6306
6306
  ),
@@ -6313,7 +6313,7 @@ const Rr = ne.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l(
6313
6313
  $e.Title,
6314
6314
  {
6315
6315
  ref: r,
6316
- className: Q(
6316
+ className: ee(
6317
6317
  "richtext-text-lg richtext-font-semibold richtext-leading-none richtext-tracking-tight",
6318
6318
  e
6319
6319
  ),
@@ -6325,7 +6325,7 @@ const sx = ne.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l(
6325
6325
  $e.Description,
6326
6326
  {
6327
6327
  ref: r,
6328
- className: Q("richtext-text-sm richtext-text-muted-foreground", e),
6328
+ className: ee("richtext-text-sm richtext-text-muted-foreground", e),
6329
6329
  ...t
6330
6330
  }
6331
6331
  ));
@@ -6387,7 +6387,7 @@ const hc = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, pc = Oa, H
6387
6387
  ({ className: e, variant: t, size: r, asChild: n = !1, ...i }, o) => /* @__PURE__ */ l(
6388
6388
  n ? lu : "button",
6389
6389
  {
6390
- className: Q(cx({ variant: t, size: r, className: e })),
6390
+ className: ee(cx({ variant: t, size: r, className: e })),
6391
6391
  ref: o,
6392
6392
  ...i
6393
6393
  }
@@ -6481,139 +6481,139 @@ function yd(e, t) {
6481
6481
  a.push(c);
6482
6482
  }), a;
6483
6483
  }
6484
- function fx({ editor: e, imageInline: t, onClose: r, disabled: n }) {
6485
- var N, $;
6486
- const { t: i } = Se(), { toast: o } = is(), [a, s] = X(!1), [c, u] = X(!1), f = ir.useRef(null), [d, h] = ir.useState(), [p, m] = ir.useState(""), v = ot(null), [g, x] = X({
6484
+ function fx({ editor: e, imageInline: t, onClose: r, disabled: n, alt: i }) {
6485
+ var $, A;
6486
+ const { t: o } = Se(), { toast: a } = is(), [s, c] = J(!1), [u, f] = J(!1), d = ir.useRef(null), [h, p] = ir.useState(), [m, v] = ir.useState(""), g = ot(null), [x, w] = J({
6487
6487
  src: "",
6488
6488
  file: null
6489
- }), S = we(() => {
6490
- var w;
6491
- return (w = e.extensionManager.extensions.find(
6492
- (A) => A.name === wr.name
6493
- )) == null ? void 0 : w.options;
6489
+ }), T = we(() => {
6490
+ var S;
6491
+ return (S = e.extensionManager.extensions.find(
6492
+ (P) => P.name === wr.name
6493
+ )) == null ? void 0 : S.options;
6494
6494
  }, [e]);
6495
- function I(w) {
6496
- if (f.current && w.width && w.height) {
6497
- const A = E(f.current, w);
6498
- m(A);
6499
- }
6500
- }
6501
- function E(w, A) {
6502
- const M = document.createElement("canvas"), D = w.naturalWidth / w.width, H = w.naturalHeight / w.height;
6503
- M.width = A.width * D, M.height = A.height * H;
6504
- const j = M.getContext("2d");
6505
- return j && (j.imageSmoothingEnabled = !1, j.drawImage(
6506
- w,
6507
- A.x * D,
6508
- A.y * H,
6509
- A.width * D,
6510
- A.height * H,
6495
+ function I(S) {
6496
+ if (d.current && S.width && S.height) {
6497
+ const P = C(d.current, S);
6498
+ v(P);
6499
+ }
6500
+ }
6501
+ function C(S, P) {
6502
+ const D = document.createElement("canvas"), H = S.naturalWidth / S.width, j = S.naturalHeight / S.height;
6503
+ D.width = P.width * H, D.height = P.height * j;
6504
+ const W = D.getContext("2d");
6505
+ return W && (W.imageSmoothingEnabled = !1, W.drawImage(
6506
+ S,
6507
+ P.x * H,
6508
+ P.y * j,
6509
+ P.width * H,
6510
+ P.height * j,
6511
6511
  0,
6512
6512
  0,
6513
- A.width * D,
6514
- A.height * H
6515
- )), M.toDataURL("image/png", 1);
6513
+ P.width * H,
6514
+ P.height * j
6515
+ )), D.toDataURL("image/png", 1);
6516
6516
  }
6517
- const C = ir.useCallback(async () => {
6518
- var w;
6519
- if (!c) {
6520
- u(!0);
6517
+ const M = ir.useCallback(async () => {
6518
+ var S;
6519
+ if (!u) {
6520
+ f(!0);
6521
6521
  try {
6522
- const A = ux(p, ((w = g == null ? void 0 : g.file) == null ? void 0 : w.name) || "image.png");
6523
- let M = "";
6524
- S.upload ? M = await S.upload(A) : M = URL.createObjectURL(A), e.chain().focus().setImageInline({ src: M, inline: t }).run(), s(!1), x({
6522
+ const P = ux(m, ((S = x == null ? void 0 : x.file) == null ? void 0 : S.name) || "image.png");
6523
+ let D = "";
6524
+ T.upload ? D = await T.upload(P) : D = URL.createObjectURL(P), e.chain().focus().setImageInline({ src: D, inline: t, alt: i }).run(), c(!1), w({
6525
6525
  src: "",
6526
6526
  file: null
6527
- }), P(), r();
6528
- } catch (A) {
6529
- console.log("Error cropping image", A);
6527
+ }), N(), r();
6528
+ } catch (P) {
6529
+ console.log("Error cropping image", P);
6530
6530
  } finally {
6531
- u(!1);
6531
+ f(!1);
6532
6532
  }
6533
6533
  }
6534
- }, [p, e, t, c, r, (N = g == null ? void 0 : g.file) == null ? void 0 : N.name, S]);
6535
- function k(w) {
6536
- var A;
6537
- w.preventDefault(), (A = v.current) == null || A.click();
6534
+ }, [m, e, t, u, r, ($ = x == null ? void 0 : x.file) == null ? void 0 : $.name, T]);
6535
+ function L(S) {
6536
+ var P;
6537
+ S.preventDefault(), (P = g.current) == null || P.click();
6538
6538
  }
6539
- const L = async (w) => {
6540
- var j;
6541
- const A = (j = w == null ? void 0 : w.target) == null ? void 0 : j.files;
6542
- if (!e || e.isDestroyed || A.length === 0) {
6543
- w.target.value = "";
6539
+ const k = async (S) => {
6540
+ var W;
6541
+ const P = (W = S == null ? void 0 : S.target) == null ? void 0 : W.files;
6542
+ if (!e || e.isDestroyed || P.length === 0) {
6543
+ S.target.value = "";
6544
6544
  return;
6545
6545
  }
6546
- const M = yd(A, {
6547
- acceptMimes: S == null ? void 0 : S.acceptMimes,
6548
- maxSize: S == null ? void 0 : S.maxSize,
6549
- t: i,
6550
- toast: o,
6551
- onError: S.onError
6546
+ const D = yd(P, {
6547
+ acceptMimes: T == null ? void 0 : T.acceptMimes,
6548
+ maxSize: T == null ? void 0 : T.maxSize,
6549
+ t: o,
6550
+ toast: a,
6551
+ onError: T.onError
6552
6552
  });
6553
- if (M.length <= 0) {
6554
- w.target.value = "";
6553
+ if (D.length <= 0) {
6554
+ S.target.value = "";
6555
6555
  return;
6556
6556
  }
6557
- const D = M[0], H = await lx(D);
6558
- s(!0), x({
6559
- src: H.src,
6560
- file: D
6557
+ const H = D[0], j = await lx(H);
6558
+ c(!0), w({
6559
+ src: j.src,
6560
+ file: H
6561
6561
  });
6562
- }, P = () => {
6563
- v.current && (v.current.value = "");
6562
+ }, N = () => {
6563
+ g.current && (g.current.value = "");
6564
6564
  };
6565
- return /* @__PURE__ */ T(de, { children: [
6565
+ return /* @__PURE__ */ E(de, { children: [
6566
6566
  /* @__PURE__ */ l(
6567
6567
  Ce,
6568
6568
  {
6569
6569
  className: "richtext-mt-1 richtext-w-full",
6570
6570
  disabled: n,
6571
- onClick: k,
6571
+ onClick: L,
6572
6572
  size: "sm",
6573
- children: i("editor.image.dialog.tab.uploadCrop")
6573
+ children: o("editor.image.dialog.tab.uploadCrop")
6574
6574
  }
6575
6575
  ),
6576
- /* @__PURE__ */ T(
6576
+ /* @__PURE__ */ E(
6577
6577
  jn,
6578
6578
  {
6579
- open: a,
6580
- onOpenChange: (w) => {
6581
- s(w), w || (x({ src: "", file: null }), P());
6579
+ open: s,
6580
+ onOpenChange: (S) => {
6581
+ c(S), S || (w({ src: "", file: null }), N());
6582
6582
  },
6583
6583
  children: [
6584
6584
  /* @__PURE__ */ l(zn, {}),
6585
- /* @__PURE__ */ T(Ir, { children: [
6586
- /* @__PURE__ */ l(Rr, { children: i("editor.image.dialog.tab.uploadCrop") }),
6587
- /* @__PURE__ */ l("div", { children: g.src && /* @__PURE__ */ l(
6585
+ /* @__PURE__ */ E(Ir, { children: [
6586
+ /* @__PURE__ */ l(Rr, { children: o("editor.image.dialog.tab.uploadCrop") }),
6587
+ /* @__PURE__ */ l("div", { children: x.src && /* @__PURE__ */ l(
6588
6588
  bp,
6589
6589
  {
6590
6590
  className: "richtext-w-full",
6591
- crop: d,
6592
- onChange: (w) => h(w),
6593
- onComplete: (w) => I(w),
6591
+ crop: h,
6592
+ onChange: (S) => p(S),
6593
+ onComplete: (S) => I(S),
6594
6594
  children: /* @__PURE__ */ l(
6595
6595
  "img",
6596
6596
  {
6597
6597
  alt: "Crop me",
6598
- ref: f,
6599
- src: g.src
6598
+ ref: d,
6599
+ src: x.src
6600
6600
  }
6601
6601
  )
6602
6602
  }
6603
6603
  ) }),
6604
- /* @__PURE__ */ T(Za, { children: [
6605
- /* @__PURE__ */ T(
6604
+ /* @__PURE__ */ E(Za, { children: [
6605
+ /* @__PURE__ */ E(
6606
6606
  Ce,
6607
6607
  {
6608
- disabled: c,
6608
+ disabled: u,
6609
6609
  onClick: () => {
6610
- s(!1), x({
6610
+ c(!1), w({
6611
6611
  src: "",
6612
6612
  file: null
6613
- }), P();
6613
+ }), N();
6614
6614
  },
6615
6615
  children: [
6616
- i("editor.imageUpload.cancel"),
6616
+ o("editor.imageUpload.cancel"),
6617
6617
  /* @__PURE__ */ l(
6618
6618
  ve,
6619
6619
  {
@@ -6628,10 +6628,10 @@ function fx({ editor: e, imageInline: t, onClose: r, disabled: n }) {
6628
6628
  Ce,
6629
6629
  {
6630
6630
  className: "richtext-w-fit",
6631
- disabled: c || !d,
6632
- onClick: C,
6633
- children: c ? /* @__PURE__ */ T(de, { children: [
6634
- i("editor.imageUpload.uploading"),
6631
+ disabled: u || !h,
6632
+ onClick: M,
6633
+ children: u ? /* @__PURE__ */ E(de, { children: [
6634
+ o("editor.imageUpload.uploading"),
6635
6635
  /* @__PURE__ */ l(
6636
6636
  ve,
6637
6637
  {
@@ -6639,8 +6639,8 @@ function fx({ editor: e, imageInline: t, onClose: r, disabled: n }) {
6639
6639
  name: "Loader"
6640
6640
  }
6641
6641
  )
6642
- ] }) : /* @__PURE__ */ T(de, { children: [
6643
- i("editor.imageUpload.crop"),
6642
+ ] }) : /* @__PURE__ */ E(de, { children: [
6643
+ o("editor.imageUpload.crop"),
6644
6644
  /* @__PURE__ */ l(
6645
6645
  ve,
6646
6646
  {
@@ -6659,10 +6659,10 @@ function fx({ editor: e, imageInline: t, onClose: r, disabled: n }) {
6659
6659
  /* @__PURE__ */ l(
6660
6660
  "input",
6661
6661
  {
6662
- accept: (($ = S == null ? void 0 : S.acceptMimes) == null ? void 0 : $.join(",")) || "image/*",
6662
+ accept: ((A = T == null ? void 0 : T.acceptMimes) == null ? void 0 : A.join(",")) || "image/*",
6663
6663
  multiple: !1,
6664
- onChange: L,
6665
- ref: v,
6664
+ onChange: k,
6665
+ ref: g,
6666
6666
  style: { display: "none" },
6667
6667
  type: "file"
6668
6668
  }
@@ -6735,16 +6735,16 @@ const Rt = {
6735
6735
  }
6736
6736
  };
6737
6737
  function gx(e) {
6738
- var E;
6739
- const { t } = Se(), { toast: r } = is(), [n, i] = X(!1), [o, a] = X(!1), s = (C) => {
6738
+ var I;
6739
+ const { t } = Se(), { toast: r } = is(), [n, i] = J(!1), [o, a] = J(!1), s = (C) => {
6740
6740
  i(C.detail);
6741
- }, [c, u] = X(""), [f, d] = X(""), h = ot(null), p = ((E = e.editor.extensionManager.extensions.find(
6741
+ }, [c, u] = J(""), [f, d] = J(""), h = ot(null), p = ((I = e.editor.extensionManager.extensions.find(
6742
6742
  (C) => C.name === wr.name
6743
- )) == null ? void 0 : E.options.defaultInline) || !1, [m, v] = X(p), g = we(() => {
6744
- var k;
6745
- return (k = e.editor.extensionManager.extensions.find(
6743
+ )) == null ? void 0 : I.options.defaultInline) || !1, [m, v] = J(p), g = we(() => {
6744
+ var M;
6745
+ return (M = e.editor.extensionManager.extensions.find(
6746
6746
  (L) => L.name === wr.name
6747
- )) == null ? void 0 : k.options;
6747
+ )) == null ? void 0 : M.options;
6748
6748
  }, [e.editor]);
6749
6749
  pe(() => {
6750
6750
  const C = Pn(Rt.UPLOAD_IMAGE(e.editor.id), s);
@@ -6753,13 +6753,13 @@ function gx(e) {
6753
6753
  };
6754
6754
  }, []);
6755
6755
  async function x(C) {
6756
- var P;
6757
- const k = (P = C == null ? void 0 : C.target) == null ? void 0 : P.files;
6758
- if (!e.editor || e.editor.isDestroyed || k.length === 0 || o) {
6756
+ var k;
6757
+ const M = (k = C == null ? void 0 : C.target) == null ? void 0 : k.files;
6758
+ if (!e.editor || e.editor.isDestroyed || M.length === 0 || o) {
6759
6759
  C.target.value = "";
6760
6760
  return;
6761
6761
  }
6762
- const L = yd(k, {
6762
+ const L = yd(M, {
6763
6763
  acceptMimes: g == null ? void 0 : g.acceptMimes,
6764
6764
  maxSize: g == null ? void 0 : g.maxSize,
6765
6765
  t,
@@ -6773,19 +6773,19 @@ function gx(e) {
6773
6773
  a(!0);
6774
6774
  try {
6775
6775
  if (g != null && g.multiple) {
6776
- const N = L.map(async (w) => {
6777
- let A = "";
6778
- return g.upload ? A = await g.upload(w) : A = URL.createObjectURL(w), A;
6776
+ const N = L.map(async (A) => {
6777
+ let S = "";
6778
+ return g.upload ? S = await g.upload(A) : S = URL.createObjectURL(A), S;
6779
6779
  });
6780
- (await Promise.all(N)).forEach((w) => {
6781
- e.editor.chain().focus().setImageInline({ src: w, inline: m, alt: f }).run();
6780
+ (await Promise.all(N)).forEach((A) => {
6781
+ e.editor.chain().focus().setImageInline({ src: A, inline: m, alt: f }).run();
6782
6782
  });
6783
6783
  } else {
6784
6784
  const N = L[0];
6785
6785
  let $ = "";
6786
6786
  g.upload ? $ = await g.upload(N) : $ = URL.createObjectURL(N), e.editor.chain().focus().setImageInline({ src: $, inline: m, alt: f }).run();
6787
6787
  }
6788
- i(!1), v(p);
6788
+ i(!1), d(""), v(p);
6789
6789
  } catch (N) {
6790
6790
  console.error("Error uploading image", N), g.onError ? g.onError({
6791
6791
  type: "upload",
@@ -6798,14 +6798,14 @@ function gx(e) {
6798
6798
  a(!1), C.target.value = "";
6799
6799
  }
6800
6800
  }
6801
- function S(C) {
6802
- C.preventDefault(), C.stopPropagation(), e.editor.chain().focus().setImageInline({ src: c, inline: m, alt: f }).run(), i(!1), v(p), u("");
6801
+ function w(C) {
6802
+ C.preventDefault(), C.stopPropagation(), e.editor.chain().focus().setImageInline({ src: c, inline: m, alt: f }).run(), i(!1), v(p), u(""), d("");
6803
6803
  }
6804
- function I(C) {
6805
- var k;
6806
- C.preventDefault(), (k = h.current) == null || k.click();
6804
+ function T(C) {
6805
+ var M;
6806
+ C.preventDefault(), (M = h.current) == null || M.click();
6807
6807
  }
6808
- return /* @__PURE__ */ T(
6808
+ return /* @__PURE__ */ E(
6809
6809
  jn,
6810
6810
  {
6811
6811
  onOpenChange: i,
@@ -6819,19 +6819,19 @@ function gx(e) {
6819
6819
  tooltip: e.tooltip
6820
6820
  }
6821
6821
  ) }),
6822
- /* @__PURE__ */ T(Ir, { children: [
6822
+ /* @__PURE__ */ E(Ir, { children: [
6823
6823
  /* @__PURE__ */ l(Rr, { children: t("editor.image.dialog.title") }),
6824
- /* @__PURE__ */ T(
6824
+ /* @__PURE__ */ E(
6825
6825
  Rd,
6826
6826
  {
6827
6827
  activationMode: "manual",
6828
6828
  defaultValue: g.resourceImage === "both" || g.resourceImage === "upload" ? "upload" : "link",
6829
6829
  children: [
6830
- /* @__PURE__ */ T(rs, { className: "richtext-grid richtext-w-full richtext-grid-cols-2", children: [
6830
+ /* @__PURE__ */ E(rs, { className: "richtext-grid richtext-w-full richtext-grid-cols-2", children: [
6831
6831
  g.resourceImage === "both" || g.resourceImage === "upload" ? /* @__PURE__ */ l(Sr, { value: "upload", children: t("editor.image.dialog.tab.upload") }) : /* @__PURE__ */ l(de, {}),
6832
6832
  g.resourceImage === "both" || g.resourceImage === "link" ? /* @__PURE__ */ l(Sr, { value: "link", children: t("editor.image.dialog.tab.url") }) : /* @__PURE__ */ l(de, {})
6833
6833
  ] }),
6834
- /* @__PURE__ */ T("div", { className: "richtext-my-[10px] richtext-flex richtext-items-center richtext-gap-[4px]", children: [
6834
+ /* @__PURE__ */ E("div", { className: "richtext-my-[10px] richtext-flex richtext-items-center richtext-gap-[4px]", children: [
6835
6835
  /* @__PURE__ */ l(
6836
6836
  Dd,
6837
6837
  {
@@ -6843,8 +6843,8 @@ function gx(e) {
6843
6843
  ),
6844
6844
  /* @__PURE__ */ l(it, { children: t("editor.link.dialog.inline") })
6845
6845
  ] }),
6846
- /* @__PURE__ */ T("div", { className: "richtext-my-[10px] ", children: [
6847
- /* @__PURE__ */ l(it, { className: "mb-[6px]", children: "Alt" }),
6846
+ g.enableAlt && /* @__PURE__ */ E("div", { className: "richtext-my-[10px] ", children: [
6847
+ /* @__PURE__ */ l(it, { className: "mb-[6px]", children: t("editor.imageUpload.alt") }),
6848
6848
  /* @__PURE__ */ l(
6849
6849
  Ne,
6850
6850
  {
@@ -6855,16 +6855,16 @@ function gx(e) {
6855
6855
  }
6856
6856
  )
6857
6857
  ] }),
6858
- /* @__PURE__ */ T(Ar, { value: "upload", children: [
6859
- /* @__PURE__ */ T("div", { className: "richtext-flex richtext-items-center richtext-gap-[10px]", children: [
6858
+ /* @__PURE__ */ E(Ar, { value: "upload", children: [
6859
+ /* @__PURE__ */ E("div", { className: "richtext-flex richtext-items-center richtext-gap-[10px]", children: [
6860
6860
  /* @__PURE__ */ l(
6861
6861
  Ce,
6862
6862
  {
6863
6863
  className: "richtext-mt-1 richtext-w-full",
6864
6864
  disabled: o,
6865
- onClick: I,
6865
+ onClick: T,
6866
6866
  size: "sm",
6867
- children: o ? /* @__PURE__ */ T(de, { children: [
6867
+ children: o ? /* @__PURE__ */ E(de, { children: [
6868
6868
  t("editor.imageUpload.uploading"),
6869
6869
  /* @__PURE__ */ l(
6870
6870
  ve,
@@ -6879,10 +6879,13 @@ function gx(e) {
6879
6879
  /* @__PURE__ */ l(
6880
6880
  fx,
6881
6881
  {
6882
+ alt: f,
6882
6883
  disabled: o,
6883
6884
  editor: e.editor,
6884
6885
  imageInline: m,
6885
- onClose: () => mx.setOpen(e.editor.id, !1)
6886
+ onClose: () => {
6887
+ mx.setOpen(e.editor.id, !1), d("");
6888
+ }
6886
6889
  }
6887
6890
  )
6888
6891
  ] }),
@@ -6898,7 +6901,7 @@ function gx(e) {
6898
6901
  }
6899
6902
  )
6900
6903
  ] }),
6901
- /* @__PURE__ */ l(Ar, { value: "link", children: /* @__PURE__ */ l("form", { onSubmit: S, children: /* @__PURE__ */ T("div", { className: "richtext-flex richtext-items-center richtext-gap-2", children: [
6904
+ /* @__PURE__ */ l(Ar, { value: "link", children: /* @__PURE__ */ l("form", { onSubmit: w, children: /* @__PURE__ */ E("div", { className: "richtext-flex richtext-items-center richtext-gap-2", children: [
6902
6905
  /* @__PURE__ */ l(
6903
6906
  Ne,
6904
6907
  {
@@ -6927,92 +6930,92 @@ const qr = {
6927
6930
  BOTTOM_RIGHT: "br"
6928
6931
  };
6929
6932
  function vx(e) {
6930
- var P, N, $;
6931
- const [t, r] = X({
6933
+ var k, N, $;
6934
+ const [t, r] = J({
6932
6935
  width: Jr,
6933
6936
  height: Jr
6934
- }), [n, i] = X({
6937
+ }), [n, i] = J({
6935
6938
  width: 0,
6936
6939
  height: 0
6937
- }), [o] = X([
6940
+ }), [o] = J([
6938
6941
  qr.TOP_LEFT,
6939
6942
  qr.TOP_RIGHT,
6940
6943
  qr.BOTTOM_LEFT,
6941
6944
  qr.BOTTOM_RIGHT
6942
- ]), [a, s] = X(!1), [c, u] = X({
6945
+ ]), [a, s] = J(!1), [c, u] = J({
6943
6946
  x: 0,
6944
6947
  y: 0,
6945
6948
  w: 0,
6946
6949
  h: 0,
6947
6950
  dir: ""
6948
- }), { align: f, inline: d } = (P = e == null ? void 0 : e.node) == null ? void 0 : P.attrs, h = d && (f === "left" || f === "right"), p = we(() => {
6951
+ }), { align: f, inline: d } = (k = e == null ? void 0 : e.node) == null ? void 0 : k.attrs, h = d && (f === "left" || f === "right"), p = we(() => {
6949
6952
  var De;
6950
- const { src: w, alt: A, width: M, height: D, flipX: H, flipY: j } = (De = e == null ? void 0 : e.node) == null ? void 0 : De.attrs, ee = rn(M) ? `${M}px` : M, Z = rn(D) ? `${D}px` : D, te = [];
6953
+ const { src: A, alt: S, width: P, height: D, flipX: H, flipY: j } = (De = e == null ? void 0 : e.node) == null ? void 0 : De.attrs, W = rn(P) ? `${P}px` : P, Q = rn(D) ? `${D}px` : D, te = [];
6951
6954
  H && te.push("rotateX(180deg)"), j && te.push("rotateY(180deg)");
6952
6955
  const ye = te.join(" ");
6953
6956
  return {
6954
- src: w || void 0,
6955
- alt: A || void 0,
6957
+ src: A || void 0,
6958
+ alt: S || void 0,
6956
6959
  style: {
6957
- width: ee || void 0,
6958
- height: Z || void 0,
6960
+ width: W || void 0,
6961
+ height: Q || void 0,
6959
6962
  transform: ye || "none",
6960
6963
  ...h ? { float: f } : {}
6961
6964
  }
6962
6965
  };
6963
6966
  }, [(N = e == null ? void 0 : e.node) == null ? void 0 : N.attrs]), m = we(() => {
6964
6967
  const {
6965
- style: { width: w }
6968
+ style: { width: A }
6966
6969
  } = p;
6967
- return { width: w === "100%" ? w : void 0 };
6970
+ return { width: A === "100%" ? A : void 0 };
6968
6971
  }, [p]);
6969
- function v(w) {
6972
+ function v(A) {
6970
6973
  i({
6971
- width: w.target.width,
6972
- height: w.target.height
6974
+ width: A.target.width,
6975
+ height: A.target.height
6973
6976
  });
6974
6977
  }
6975
6978
  function g() {
6976
- const { editor: w, getPos: A } = e;
6977
- w.commands.setNodeSelection(A());
6979
+ const { editor: A, getPos: S } = e;
6980
+ A.commands.setNodeSelection(S());
6978
6981
  }
6979
6982
  const x = oe(
6980
6983
  yr(() => {
6981
- const { editor: w } = e, { width: A } = getComputedStyle(w.view.dom);
6982
- r((M) => ({
6983
- ...M,
6984
- width: Number.parseInt(A, 10)
6984
+ const { editor: A } = e, { width: S } = getComputedStyle(A.view.dom);
6985
+ r((P) => ({
6986
+ ...P,
6987
+ width: Number.parseInt(S, 10)
6985
6988
  }));
6986
6989
  }, Zr),
6987
6990
  [e == null ? void 0 : e.editor]
6988
6991
  );
6989
- function S(w, A) {
6990
- w.preventDefault(), w.stopPropagation();
6991
- const M = n.width, D = n.height, H = M / D;
6992
- let j = Number(e.node.attrs.width), ee = Number(e.node.attrs.height);
6993
- const Z = t.width;
6994
- j && !ee ? (j = j > Z ? Z : j, ee = Math.round(j / H)) : ee && !j ? (j = Math.round(ee * H), j = j > Z ? Z : j) : !j && !ee ? (j = M > Z ? Z : M, ee = Math.round(j / H)) : j = j > Z ? Z : j, s(!0), u({
6995
- x: w.clientX,
6996
- y: w.clientY,
6992
+ function w(A, S) {
6993
+ A.preventDefault(), A.stopPropagation();
6994
+ const P = n.width, D = n.height, H = P / D;
6995
+ let j = Number(e.node.attrs.width), W = Number(e.node.attrs.height);
6996
+ const Q = t.width;
6997
+ j && !W ? (j = j > Q ? Q : j, W = Math.round(j / H)) : W && !j ? (j = Math.round(W * H), j = j > Q ? Q : j) : !j && !W ? (j = P > Q ? Q : P, W = Math.round(j / H)) : j = j > Q ? Q : j, s(!0), u({
6998
+ x: A.clientX,
6999
+ y: A.clientY,
6997
7000
  w: j,
6998
- h: ee,
6999
- dir: A
7001
+ h: W,
7002
+ dir: S
7000
7003
  });
7001
7004
  }
7002
- const I = oe(
7003
- yr((w) => {
7004
- if (w.preventDefault(), w.stopPropagation(), !a)
7005
+ const T = oe(
7006
+ yr((A) => {
7007
+ if (A.preventDefault(), A.stopPropagation(), !a)
7005
7008
  return;
7006
- const { x: A, w: M, dir: D } = c, H = (w.clientX - A) * (/l/.test(D) ? -1 : 1), j = ju(M + H, uu, t.width);
7009
+ const { x: S, w: P, dir: D } = c, H = (A.clientX - S) * (/l/.test(D) ? -1 : 1), j = ju(P + H, uu, t.width);
7007
7010
  e.updateAttributes({
7008
7011
  width: j,
7009
7012
  height: null
7010
7013
  });
7011
7014
  }, Zr),
7012
7015
  [a, c, t, e.updateAttributes]
7013
- ), E = oe(
7014
- (w) => {
7015
- w.preventDefault(), w.stopPropagation(), a && (u({
7016
+ ), I = oe(
7017
+ (A) => {
7018
+ A.preventDefault(), A.stopPropagation(), a && (u({
7016
7019
  x: 0,
7017
7020
  y: 0,
7018
7021
  w: 0,
@@ -7022,13 +7025,13 @@ function vx(e) {
7022
7025
  },
7023
7026
  [a, g]
7024
7027
  ), C = oe(() => {
7025
- document == null || document.addEventListener("mousemove", I, !0), document == null || document.addEventListener("mouseup", E, !0);
7026
- }, [I, E]), k = oe(() => {
7027
- document == null || document.removeEventListener("mousemove", I, !0), document == null || document.removeEventListener("mouseup", E, !0);
7028
- }, [I, E]);
7029
- pe(() => (a ? C() : k(), () => {
7030
- k();
7031
- }), [a, C, k]);
7028
+ document == null || document.addEventListener("mousemove", T, !0), document == null || document.addEventListener("mouseup", I, !0);
7029
+ }, [T, I]), M = oe(() => {
7030
+ document == null || document.removeEventListener("mousemove", T, !0), document == null || document.removeEventListener("mouseup", I, !0);
7031
+ }, [T, I]);
7032
+ pe(() => (a ? C() : M(), () => {
7033
+ M();
7034
+ }), [a, C, M]);
7032
7035
  const L = we(() => new ResizeObserver(() => x()), [x]);
7033
7036
  return pe(() => (L.observe(e.editor.view.dom), () => {
7034
7037
  L.disconnect();
@@ -7045,7 +7048,7 @@ function vx(e) {
7045
7048
  width: (($ = p.style) == null ? void 0 : $.width) ?? "auto",
7046
7049
  ...h ? {} : m
7047
7050
  },
7048
- children: /* @__PURE__ */ T(
7051
+ children: /* @__PURE__ */ E(
7049
7052
  "div",
7050
7053
  {
7051
7054
  "data-drag-handle": !0,
@@ -7065,13 +7068,13 @@ function vx(e) {
7065
7068
  style: p.style
7066
7069
  }
7067
7070
  ),
7068
- (e == null ? void 0 : e.editor.view.editable) && ((e == null ? void 0 : e.selected) || a) && /* @__PURE__ */ l("div", { className: "image-resizer", children: o == null ? void 0 : o.map((w) => /* @__PURE__ */ l(
7071
+ (e == null ? void 0 : e.editor.view.editable) && ((e == null ? void 0 : e.selected) || a) && /* @__PURE__ */ l("div", { className: "image-resizer", children: o == null ? void 0 : o.map((A) => /* @__PURE__ */ l(
7069
7072
  "span",
7070
7073
  {
7071
- className: `image-resizer__handler image-resizer__handler--${w}`,
7072
- onMouseDown: (A) => S(A, w)
7074
+ className: `image-resizer__handler image-resizer__handler--${A}`,
7075
+ onMouseDown: (S) => w(S, A)
7073
7076
  },
7074
- `image-dir-${w}`
7077
+ `image-dir-${A}`
7075
7078
  )) })
7076
7079
  ]
7077
7080
  }
@@ -7131,13 +7134,13 @@ function wx({ validateFn: e, onUpload: t, postUpload: r, defaultInline: n = !1 }
7131
7134
  add: [{ id: c, pos: a, src: f }]
7132
7135
  }), o.dispatch(u), t(s).then(
7133
7136
  async (d) => {
7134
- var S;
7137
+ var w;
7135
7138
  r && typeof d == "string" && (d = await r(d));
7136
7139
  const { schema: h } = o.state;
7137
7140
  let p = bx(o.state, c);
7138
7141
  if (p === null)
7139
7142
  return;
7140
- const m = typeof d == "object" ? f : d, v = (S = h.nodes.image) == null ? void 0 : S.create({
7143
+ const m = typeof d == "object" ? f : d, v = (w = h.nodes.image) == null ? void 0 : w.create({
7141
7144
  src: m,
7142
7145
  inline: n
7143
7146
  });
@@ -7186,7 +7189,8 @@ const Cx = {
7186
7189
  // 5MB
7187
7190
  multiple: !0,
7188
7191
  resourceImage: "both",
7189
- defaultInline: !1
7192
+ defaultInline: !1,
7193
+ enableAlt: !0
7190
7194
  }, wr = /* @__PURE__ */ md.extend({
7191
7195
  group: "inline",
7192
7196
  inline: !0,
@@ -7358,7 +7362,7 @@ const Cx = {
7358
7362
  }
7359
7363
  });
7360
7364
  function Tx({ selectImage: e, giphyApiKey: t, children: r }) {
7361
- const [n, i] = X([]), [o] = X(15), a = ot(null), s = (u, f = "search") => {
7365
+ const [n, i] = J([]), [o] = J(15), a = ot(null), s = (u, f = "search") => {
7362
7366
  if (!t)
7363
7367
  return;
7364
7368
  const h = `${f === "search" ? `https://api.giphy.com/v1/gifs/search?q=${u}` : `https://api.giphy.com/v1/gifs/trending?q=${u}`}&limit=${o}&api_key=${t}`;
@@ -7382,7 +7386,7 @@ function Tx({ selectImage: e, giphyApiKey: t, children: r }) {
7382
7386
  // Adjust the debounce delay as needed
7383
7387
  []
7384
7388
  );
7385
- return /* @__PURE__ */ T(Or, { modal: !0, children: [
7389
+ return /* @__PURE__ */ E(Or, { modal: !0, children: [
7386
7390
  /* @__PURE__ */ l(Pr, { asChild: !0, children: r }),
7387
7391
  /* @__PURE__ */ l(
7388
7392
  Kt,
@@ -7391,7 +7395,7 @@ function Tx({ selectImage: e, giphyApiKey: t, children: r }) {
7391
7395
  className: "richtext-size-full richtext-p-2",
7392
7396
  hideWhenDetached: !0,
7393
7397
  side: "bottom",
7394
- children: t ? /* @__PURE__ */ T(de, { children: [
7398
+ children: t ? /* @__PURE__ */ E(de, { children: [
7395
7399
  /* @__PURE__ */ l("div", { className: "richtext-mb-[10px] richtext-w-full", children: /* @__PURE__ */ l(
7396
7400
  Ne,
7397
7401
  {
@@ -7444,54 +7448,54 @@ const Fr = {
7444
7448
  BOTTOM_RIGHT: "br"
7445
7449
  };
7446
7450
  function Ix(e) {
7447
- var k, L;
7448
- const [t, r] = X({
7451
+ var M, L;
7452
+ const [t, r] = J({
7449
7453
  width: Jr,
7450
7454
  height: Jr
7451
- }), [n, i] = X({
7455
+ }), [n, i] = J({
7452
7456
  width: 0,
7453
7457
  height: 0
7454
- }), [o] = X([
7458
+ }), [o] = J([
7455
7459
  Fr.TOP_LEFT,
7456
7460
  Fr.TOP_RIGHT,
7457
7461
  Fr.BOTTOM_LEFT,
7458
7462
  Fr.BOTTOM_RIGHT
7459
- ]), [a, s] = X(!1), [c, u] = X({
7463
+ ]), [a, s] = J(!1), [c, u] = J({
7460
7464
  x: 0,
7461
7465
  y: 0,
7462
7466
  w: 0,
7463
7467
  h: 0,
7464
7468
  dir: ""
7465
- }), { align: f } = (k = e == null ? void 0 : e.node) == null ? void 0 : k.attrs, d = we(() => {
7469
+ }), { align: f } = (M = e == null ? void 0 : e.node) == null ? void 0 : M.attrs, d = we(() => {
7466
7470
  var D;
7467
- const { src: P, alt: N, width: $, height: w } = (D = e == null ? void 0 : e.node) == null ? void 0 : D.attrs, A = rn($) ? `${$}px` : $, M = rn(w) ? `${w}px` : w;
7471
+ const { src: k, alt: N, width: $, height: A } = (D = e == null ? void 0 : e.node) == null ? void 0 : D.attrs, S = rn($) ? `${$}px` : $, P = rn(A) ? `${A}px` : A;
7468
7472
  return {
7469
- src: P || void 0,
7473
+ src: k || void 0,
7470
7474
  alt: N || void 0,
7471
7475
  style: {
7472
- width: A || void 0,
7473
- height: M || void 0
7476
+ width: S || void 0,
7477
+ height: P || void 0
7474
7478
  }
7475
7479
  };
7476
7480
  }, [(L = e == null ? void 0 : e.node) == null ? void 0 : L.attrs]), h = we(() => {
7477
7481
  const {
7478
- style: { width: P }
7482
+ style: { width: k }
7479
7483
  } = d;
7480
- return { width: P === "100%" ? P : void 0 };
7484
+ return { width: k === "100%" ? k : void 0 };
7481
7485
  }, [d]);
7482
- function p(P) {
7486
+ function p(k) {
7483
7487
  i({
7484
- width: P.target.width,
7485
- height: P.target.height
7488
+ width: k.target.width,
7489
+ height: k.target.height
7486
7490
  });
7487
7491
  }
7488
7492
  function m() {
7489
- const { editor: P, getPos: N } = e;
7490
- P.commands.setNodeSelection(N());
7493
+ const { editor: k, getPos: N } = e;
7494
+ k.commands.setNodeSelection(N());
7491
7495
  }
7492
7496
  const v = oe(
7493
7497
  yr(() => {
7494
- const { editor: P } = e, { width: N } = getComputedStyle(P.view.dom);
7498
+ const { editor: k } = e, { width: N } = getComputedStyle(k.view.dom);
7495
7499
  r(($) => ({
7496
7500
  ...$,
7497
7501
  width: Number.parseInt(N, 10)
@@ -7499,33 +7503,33 @@ function Ix(e) {
7499
7503
  }, Zr),
7500
7504
  [e == null ? void 0 : e.editor]
7501
7505
  );
7502
- function g(P, N) {
7503
- P.preventDefault(), P.stopPropagation();
7504
- const $ = n.width, w = n.height, A = $ / w;
7505
- let M = Number(e.node.attrs.width), D = Number(e.node.attrs.height);
7506
+ function g(k, N) {
7507
+ k.preventDefault(), k.stopPropagation();
7508
+ const $ = n.width, A = n.height, S = $ / A;
7509
+ let P = Number(e.node.attrs.width), D = Number(e.node.attrs.height);
7506
7510
  const H = t.width;
7507
- M && !D ? (M = M > H ? H : M, D = Math.round(M / A)) : D && !M ? (M = Math.round(D * A), M = M > H ? H : M) : !M && !D ? (M = $ > H ? H : $, D = Math.round(M / A)) : M = M > H ? H : M, s(!0), u({
7508
- x: P.clientX,
7509
- y: P.clientY,
7510
- w: M,
7511
+ P && !D ? (P = P > H ? H : P, D = Math.round(P / S)) : D && !P ? (P = Math.round(D * S), P = P > H ? H : P) : !P && !D ? (P = $ > H ? H : $, D = Math.round(P / S)) : P = P > H ? H : P, s(!0), u({
7512
+ x: k.clientX,
7513
+ y: k.clientY,
7514
+ w: P,
7511
7515
  h: D,
7512
7516
  dir: N
7513
7517
  });
7514
7518
  }
7515
7519
  const x = oe(
7516
- yr((P) => {
7517
- if (P.preventDefault(), P.stopPropagation(), !a)
7520
+ yr((k) => {
7521
+ if (k.preventDefault(), k.stopPropagation(), !a)
7518
7522
  return;
7519
- const { x: N, w: $, dir: w } = c, A = (P.clientX - N) * (/l/.test(w) ? -1 : 1), M = ju($ + A, uu, t.width);
7523
+ const { x: N, w: $, dir: A } = c, S = (k.clientX - N) * (/l/.test(A) ? -1 : 1), P = ju($ + S, uu, t.width);
7520
7524
  e.updateAttributes({
7521
- width: M,
7525
+ width: P,
7522
7526
  height: null
7523
7527
  });
7524
7528
  }, Zr),
7525
7529
  [a, c, t, e.updateAttributes]
7526
- ), S = oe(
7527
- (P) => {
7528
- P.preventDefault(), P.stopPropagation(), a && (u({
7530
+ ), w = oe(
7531
+ (k) => {
7532
+ k.preventDefault(), k.stopPropagation(), a && (u({
7529
7533
  x: 0,
7530
7534
  y: 0,
7531
7535
  w: 0,
@@ -7534,14 +7538,14 @@ function Ix(e) {
7534
7538
  }), s(!1), m());
7535
7539
  },
7536
7540
  [a, m]
7537
- ), I = oe(() => {
7538
- document == null || document.addEventListener("mousemove", x, !0), document == null || document.addEventListener("mouseup", S, !0);
7539
- }, [x, S]), E = oe(() => {
7540
- document == null || document.removeEventListener("mousemove", x, !0), document == null || document.removeEventListener("mouseup", S, !0);
7541
- }, [x, S]);
7542
- pe(() => (a ? I() : E(), () => {
7543
- E();
7544
- }), [a, I, E]);
7541
+ ), T = oe(() => {
7542
+ document == null || document.addEventListener("mousemove", x, !0), document == null || document.addEventListener("mouseup", w, !0);
7543
+ }, [x, w]), I = oe(() => {
7544
+ document == null || document.removeEventListener("mousemove", x, !0), document == null || document.removeEventListener("mouseup", w, !0);
7545
+ }, [x, w]);
7546
+ pe(() => (a ? T() : I(), () => {
7547
+ I();
7548
+ }), [a, T, I]);
7545
7549
  const C = we(() => new ResizeObserver(() => v()), [v]);
7546
7550
  return pe(() => (C.observe(e.editor.view.dom), () => {
7547
7551
  C.disconnect();
@@ -7550,7 +7554,7 @@ function Ix(e) {
7550
7554
  {
7551
7555
  className: "image-view",
7552
7556
  style: { ...h, width: "100%", textAlign: f },
7553
- children: /* @__PURE__ */ T(
7557
+ children: /* @__PURE__ */ E(
7554
7558
  "div",
7555
7559
  {
7556
7560
  "data-drag-handle": !0,
@@ -7570,13 +7574,13 @@ function Ix(e) {
7570
7574
  style: d.style
7571
7575
  }
7572
7576
  ),
7573
- (e == null ? void 0 : e.editor.view.editable) && ((e == null ? void 0 : e.selected) || a) && /* @__PURE__ */ l("div", { className: "image-resizer", children: o == null ? void 0 : o.map((P) => /* @__PURE__ */ l(
7577
+ (e == null ? void 0 : e.editor.view.editable) && ((e == null ? void 0 : e.selected) || a) && /* @__PURE__ */ l("div", { className: "image-resizer", children: o == null ? void 0 : o.map((k) => /* @__PURE__ */ l(
7574
7578
  "span",
7575
7579
  {
7576
- className: `image-resizer__handler image-resizer__handler--${P}`,
7577
- onMouseDown: (N) => g(N, P)
7580
+ className: `image-resizer__handler image-resizer__handler--${k}`,
7581
+ onMouseDown: (N) => g(N, k)
7578
7582
  },
7579
- `image-dir-${P}`
7583
+ `image-dir-${k}`
7580
7584
  )) })
7581
7585
  ]
7582
7586
  }
@@ -7711,7 +7715,7 @@ function Rx(e, t) {
7711
7715
  });
7712
7716
  }
7713
7717
  function Ox(e) {
7714
- const { t } = Se(), [r, n] = X(""), i = ot(null), [o, a] = X(""), [s, c] = X(!1), u = (m) => {
7718
+ const { t } = Se(), [r, n] = J(""), i = ot(null), [o, a] = J(""), [s, c] = J(!1), u = (m) => {
7715
7719
  c(m.detail);
7716
7720
  };
7717
7721
  pe(() => {
@@ -7727,8 +7731,8 @@ function Ox(e) {
7727
7731
  )) == null ? void 0 : v.options;
7728
7732
  }, [e.editor]);
7729
7733
  async function d(m) {
7730
- var S;
7731
- const v = (S = m == null ? void 0 : m.target) == null ? void 0 : S.files;
7734
+ var w;
7735
+ const v = (w = m == null ? void 0 : m.target) == null ? void 0 : w.files;
7732
7736
  if (!e.editor || e.editor.isDestroyed || v.length === 0)
7733
7737
  return;
7734
7738
  const g = v[0];
@@ -7748,7 +7752,7 @@ function Ox(e) {
7748
7752
  var v;
7749
7753
  m.preventDefault(), (v = i.current) == null || v.click();
7750
7754
  }
7751
- return /* @__PURE__ */ T(
7755
+ return /* @__PURE__ */ E(
7752
7756
  jn,
7753
7757
  {
7754
7758
  onOpenChange: c,
@@ -7762,19 +7766,19 @@ function Ox(e) {
7762
7766
  tooltip: e.tooltip
7763
7767
  }
7764
7768
  ) }),
7765
- /* @__PURE__ */ T(Ir, { children: [
7769
+ /* @__PURE__ */ E(Ir, { children: [
7766
7770
  /* @__PURE__ */ l(Rr, { children: t("editor.video.dialog.title") }),
7767
- /* @__PURE__ */ T(
7771
+ /* @__PURE__ */ E(
7768
7772
  Rd,
7769
7773
  {
7770
7774
  activationMode: "manual",
7771
7775
  defaultValue: (f == null ? void 0 : f.resourceVideo) === "both" || (f == null ? void 0 : f.resourceVideo) === "upload" ? "upload" : "link",
7772
7776
  children: [
7773
- /* @__PURE__ */ T(rs, { className: "richtext-grid richtext-w-full richtext-grid-cols-2", children: [
7777
+ /* @__PURE__ */ E(rs, { className: "richtext-grid richtext-w-full richtext-grid-cols-2", children: [
7774
7778
  ((f == null ? void 0 : f.resourceVideo) === "both" || (f == null ? void 0 : f.resourceVideo) === "upload") && /* @__PURE__ */ l(Sr, { value: "upload", children: t("editor.video.dialog.tab.upload") }),
7775
7779
  ((f == null ? void 0 : f.resourceVideo) === "both" || (f == null ? void 0 : f.resourceVideo) === "link") && /* @__PURE__ */ l(Sr, { value: "link", children: t("editor.video.dialog.link") })
7776
7780
  ] }),
7777
- /* @__PURE__ */ T(Ar, { value: "upload", children: [
7781
+ /* @__PURE__ */ E(Ar, { value: "upload", children: [
7778
7782
  /* @__PURE__ */ l("div", { className: "richtext-flex richtext-items-center richtext-gap-[10px]", children: /* @__PURE__ */ l(
7779
7783
  Ce,
7780
7784
  {
@@ -7798,8 +7802,8 @@ function Ox(e) {
7798
7802
  }
7799
7803
  )
7800
7804
  ] }),
7801
- /* @__PURE__ */ T(Ar, { value: "link", children: [
7802
- /* @__PURE__ */ l("form", { onSubmit: h, children: /* @__PURE__ */ T("div", { className: "richtext-flex richtext-items-center richtext-gap-2", children: [
7805
+ /* @__PURE__ */ E(Ar, { value: "link", children: [
7806
+ /* @__PURE__ */ l("form", { onSubmit: h, children: /* @__PURE__ */ E("div", { className: "richtext-flex richtext-items-center richtext-gap-2", children: [
7803
7807
  /* @__PURE__ */ l(
7804
7808
  Ne,
7805
7809
  {
@@ -8292,7 +8296,7 @@ function Gx({ editor: e }) {
8292
8296
  // toggleVisible(false)
8293
8297
  // },
8294
8298
  },
8295
- children: /* @__PURE__ */ T("div", { className: "richtext-pointer-events-auto richtext-w-auto richtext-select-none richtext-rounded-sm !richtext-border richtext-border-neutral-200 richtext-bg-background richtext-px-3 richtext-py-2 richtext-shadow-sm richtext-transition-all dark:richtext-border-neutral-800", children: [
8299
+ children: /* @__PURE__ */ E("div", { className: "richtext-pointer-events-auto richtext-w-auto richtext-select-none richtext-rounded-sm !richtext-border richtext-border-neutral-200 richtext-bg-background richtext-px-3 richtext-py-2 richtext-shadow-sm richtext-transition-all dark:richtext-border-neutral-800", children: [
8296
8300
  /* @__PURE__ */ l(
8297
8301
  F,
8298
8302
  {
@@ -8329,11 +8333,11 @@ function Gx({ editor: e }) {
8329
8333
  }
8330
8334
  );
8331
8335
  }
8332
- const Vx = fe.Root, Kx = fe.Trigger, gc = fe.Portal, vc = fe.Sub, Ea = ne.forwardRef(({ className: e, inset: t, children: r, ...n }, i) => /* @__PURE__ */ T(
8336
+ const Vx = fe.Root, Kx = fe.Trigger, gc = fe.Portal, vc = fe.Sub, Ea = ne.forwardRef(({ className: e, inset: t, children: r, ...n }, i) => /* @__PURE__ */ E(
8333
8337
  fe.SubTrigger,
8334
8338
  {
8335
8339
  ref: i,
8336
- className: Q(
8340
+ className: ee(
8337
8341
  "richtext-flex richtext-cursor-default richtext-select-none richtext-items-center richtext-rounded-sm richtext-px-2 richtext-py-1.5 richtext-text-sm richtext-outline-none focus:richtext-bg-accent data-[state=open]:richtext-bg-accent",
8338
8342
  t && "richtext-pl-8",
8339
8343
  e
@@ -8350,7 +8354,7 @@ const Ia = ne.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l(
8350
8354
  fe.SubContent,
8351
8355
  {
8352
8356
  ref: r,
8353
- className: Q(
8357
+ className: ee(
8354
8358
  "richtext-z-50 richtext-min-w-[8rem] richtext-overflow-hidden richtext-rounded-md !richtext-border richtext-bg-popover richtext-p-1 richtext-text-popover-foreground richtext-shadow-lg data-[state=open]:richtext-animate-in data-[state=closed]:richtext-animate-out data-[state=closed]:richtext-fade-out-0 data-[state=open]:richtext-fade-in-0 data-[state=closed]:richtext-zoom-out-95 data-[state=open]:richtext-zoom-in-95 data-[side=bottom]:richtext-slide-in-from-top-2 data-[side=left]:richtext-slide-in-from-right-2 data-[side=right]:richtext-slide-in-from-left-2 data-[side=top]:richtext-slide-in-from-bottom-2",
8355
8359
  e
8356
8360
  ),
@@ -8363,7 +8367,7 @@ const Td = ne.forwardRef(({ className: e, sideOffset: t = 4, ...r }, n) => /* @_
8363
8367
  {
8364
8368
  ref: n,
8365
8369
  sideOffset: t,
8366
- className: Q(
8370
+ className: ee(
8367
8371
  "richtext-z-50 richtext-min-w-[8rem] richtext-overflow-hidden richtext-rounded-md !richtext-border richtext-bg-popover richtext-p-1 richtext-text-popover-foreground richtext-shadow-md data-[state=open]:richtext-animate-in data-[state=closed]:richtext-animate-out data-[state=closed]:richtext-fade-out-0 data-[state=open]:richtext-fade-in-0 data-[state=closed]:richtext-zoom-out-95 data-[state=open]:richtext-zoom-in-95 data-[side=bottom]:richtext-slide-in-from-top-2 data-[side=left]:richtext-slide-in-from-right-2 data-[side=right]:richtext-slide-in-from-left-2 data-[side=top]:richtext-slide-in-from-bottom-2",
8368
8372
  e
8369
8373
  ),
@@ -8375,7 +8379,7 @@ const He = ne.forwardRef(({ className: e, inset: t, ...r }, n) => /* @__PURE__ *
8375
8379
  fe.Item,
8376
8380
  {
8377
8381
  ref: n,
8378
- className: Q(
8382
+ className: ee(
8379
8383
  "richtext-relative richtext-flex richtext-cursor-default richtext-select-none richtext-items-center richtext-rounded-sm richtext-px-2 richtext-py-1.5 richtext-text-sm richtext-outline-none richtext-transition-colors focus:richtext-bg-accent focus:richtext-text-accent-foreground data-[disabled]:richtext-pointer-events-none data-[disabled]:richtext-opacity-50",
8380
8384
  t && "richtext-pl-8",
8381
8385
  e
@@ -8384,11 +8388,11 @@ const He = ne.forwardRef(({ className: e, inset: t, ...r }, n) => /* @__PURE__ *
8384
8388
  }
8385
8389
  ));
8386
8390
  He.displayName = fe.Item.displayName;
8387
- const Yx = ne.forwardRef(({ className: e, children: t, checked: r, ...n }, i) => /* @__PURE__ */ T(
8391
+ const Yx = ne.forwardRef(({ className: e, children: t, checked: r, ...n }, i) => /* @__PURE__ */ E(
8388
8392
  fe.CheckboxItem,
8389
8393
  {
8390
8394
  ref: i,
8391
- className: Q(
8395
+ className: ee(
8392
8396
  "richtext-relative richtext-flex richtext-cursor-default richtext-select-none richtext-items-center richtext-rounded-sm richtext-py-1.5 richtext-pl-8 richtext-pr-2 richtext-text-sm richtext-outline-none richtext-transition-colors focus:richtext-bg-accent focus:richtext-text-accent-foreground data-[disabled]:richtext-pointer-events-none data-[disabled]:richtext-opacity-50",
8393
8397
  e
8394
8398
  ),
@@ -8401,11 +8405,11 @@ const Yx = ne.forwardRef(({ className: e, children: t, checked: r, ...n }, i) =>
8401
8405
  }
8402
8406
  ));
8403
8407
  Yx.displayName = fe.CheckboxItem.displayName;
8404
- const Xx = ne.forwardRef(({ className: e, children: t, ...r }, n) => /* @__PURE__ */ T(
8408
+ const Xx = ne.forwardRef(({ className: e, children: t, ...r }, n) => /* @__PURE__ */ E(
8405
8409
  fe.RadioItem,
8406
8410
  {
8407
8411
  ref: n,
8408
- className: Q(
8412
+ className: ee(
8409
8413
  "richtext-relative richtext-flex richtext-cursor-default richtext-select-none richtext-items-center richtext-rounded-sm richtext-py-1.5 richtext-pl-8 richtext-pr-2 richtext-text-sm richtext-outline-none richtext-transition-colors focus:richtext-bg-accent focus:richtext-text-accent-foreground data-[disabled]:richtext-pointer-events-none data-[disabled]:richtext-opacity-50",
8410
8414
  e
8411
8415
  ),
@@ -8421,7 +8425,7 @@ const Jx = ne.forwardRef(({ className: e, inset: t, ...r }, n) => /* @__PURE__ *
8421
8425
  fe.Label,
8422
8426
  {
8423
8427
  ref: n,
8424
- className: Q(
8428
+ className: ee(
8425
8429
  "richtext-px-2 richtext-py-1.5 richtext-text-sm richtext-font-semibold",
8426
8430
  t && "richtext-pl-8",
8427
8431
  e
@@ -8434,7 +8438,7 @@ const Ed = ne.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l(
8434
8438
  fe.Separator,
8435
8439
  {
8436
8440
  ref: r,
8437
- className: Q("richtext--mx-1 richtext-my-1 richtext-h-px richtext-bg-muted", e),
8441
+ className: ee("richtext--mx-1 richtext-my-1 richtext-h-px richtext-bg-muted", e),
8438
8442
  ...t
8439
8443
  }
8440
8444
  ));
@@ -8446,7 +8450,7 @@ function Zx({
8446
8450
  return /* @__PURE__ */ l(
8447
8451
  "span",
8448
8452
  {
8449
- className: Q("richtext-ml-auto richtext-text-xs richtext-tracking-widest richtext-opacity-60", e),
8453
+ className: ee("richtext-ml-auto richtext-text-xs richtext-tracking-widest richtext-opacity-60", e),
8450
8454
  ...t
8451
8455
  }
8452
8456
  );
@@ -8457,7 +8461,7 @@ const Ne = ne.forwardRef(
8457
8461
  "input",
8458
8462
  {
8459
8463
  type: t,
8460
- className: Q(
8464
+ className: ee(
8461
8465
  "richtext-flex richtext-h-10 richtext-w-full richtext-rounded-md !richtext-border richtext-border-input richtext-bg-background richtext-px-3 richtext-py-2 richtext-text-sm richtext-ring-offset-background file:richtext-border-0 file:richtext-bg-transparent file:richtext-text-sm file:richtext-font-medium placeholder:richtext-text-muted-foreground focus-visible:richtext-outline-none disabled:richtext-cursor-not-allowed disabled:richtext-opacity-50",
8462
8466
  e
8463
8467
  ),
@@ -8473,7 +8477,7 @@ const Qx = Hn(
8473
8477
  gu.Root,
8474
8478
  {
8475
8479
  ref: r,
8476
- className: Q(Qx(), e),
8480
+ className: ee(Qx(), e),
8477
8481
  ...t
8478
8482
  }
8479
8483
  ));
@@ -8484,7 +8488,7 @@ const Or = pr.Root, Pr = pr.Trigger, Kt = ne.forwardRef(({ className: e, align:
8484
8488
  ref: i,
8485
8489
  align: t,
8486
8490
  sideOffset: r,
8487
- className: Q(
8491
+ className: ee(
8488
8492
  "richtext-z-50 richtext-w-72 richtext-rounded-md !richtext-border richtext-bg-popover richtext-p-4 richtext-text-popover-foreground richtext-shadow-md richtext-outline-none data-[state=open]:richtext-animate-in data-[state=closed]:richtext-animate-out data-[state=closed]:richtext-fade-out-0 data-[state=open]:richtext-fade-in-0 data-[state=closed]:richtext-zoom-out-95 data-[state=open]:richtext-zoom-in-95 data-[side=bottom]:richtext-slide-in-from-top-2 data-[side=left]:richtext-slide-in-from-right-2 data-[side=right]:richtext-slide-in-from-left-2 data-[side=top]:richtext-slide-in-from-bottom-2",
8489
8493
  e
8490
8494
  ),
@@ -8499,7 +8503,7 @@ const We = ne.forwardRef(
8499
8503
  ref: i,
8500
8504
  decorative: r,
8501
8505
  orientation: t,
8502
- className: Q(
8506
+ className: ee(
8503
8507
  "richtext-shrink-0 richtext-bg-border",
8504
8508
  t === "horizontal" ? "richtext-h-[1px] richtext-w-full" : "richtext-h-full richtext-w-[1px]",
8505
8509
  e
@@ -8512,7 +8516,7 @@ We.displayName = du.Root.displayName;
8512
8516
  const Id = ne.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l(
8513
8517
  ia.Root,
8514
8518
  {
8515
- className: Q(
8519
+ className: ee(
8516
8520
  "richtext-peer richtext-inline-flex richtext-h-6 richtext-w-11 richtext-shrink-0 richtext-cursor-pointer richtext-items-center richtext-rounded-full richtext-border-2 richtext-border-transparent richtext-transition-colors focus-visible:richtext-outline-none focus-visible:richtext-ring-2 focus-visible:richtext-ring-ring focus-visible:richtext-ring-offset-2 focus-visible:richtext-ring-offset-background disabled:richtext-cursor-not-allowed disabled:richtext-opacity-50 data-[state=checked]:richtext-bg-primary data-[state=unchecked]:richtext-bg-input",
8517
8521
  e
8518
8522
  ),
@@ -8521,7 +8525,7 @@ const Id = ne.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l(
8521
8525
  children: /* @__PURE__ */ l(
8522
8526
  ia.Thumb,
8523
8527
  {
8524
- className: Q(
8528
+ className: ee(
8525
8529
  "richtext-pointer-events-none richtext-block richtext-h-5 richtext-w-5 richtext-rounded-full richtext-bg-background richtext-shadow-lg richtext-ring-0 richtext-transition-transform data-[state=checked]:richtext-translate-x-5 data-[state=unchecked]:richtext-translate-x-0"
8526
8530
  )
8527
8531
  }
@@ -8533,7 +8537,7 @@ const Rd = Pt.Root, rs = ne.forwardRef(({ className: e, ...t }, r) => /* @__PURE
8533
8537
  Pt.List,
8534
8538
  {
8535
8539
  ref: r,
8536
- className: Q(
8540
+ className: ee(
8537
8541
  "richtext-inline-flex richtext-h-10 richtext-items-center richtext-justify-center richtext-rounded-md richtext-bg-muted richtext-p-1 richtext-text-muted-foreground",
8538
8542
  e
8539
8543
  ),
@@ -8545,7 +8549,7 @@ const Sr = ne.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l(
8545
8549
  Pt.Trigger,
8546
8550
  {
8547
8551
  ref: r,
8548
- className: Q(
8552
+ className: ee(
8549
8553
  "richtext-inline-flex richtext-items-center richtext-justify-center richtext-whitespace-nowrap richtext-rounded-sm richtext-px-3 richtext-py-1.5 richtext-text-sm richtext-font-medium richtext-ring-offset-background richtext-transition-all focus-visible:richtext-outline-none focus-visible:richtext-ring-2 focus-visible:richtext-ring-ring focus-visible:richtext-ring-offset-2 disabled:richtext-pointer-events-none disabled:richtext-opacity-50 data-[state=active]:richtext-bg-background data-[state=active]:richtext-text-foreground data-[state=active]:richtext-shadow-sm",
8550
8554
  e
8551
8555
  ),
@@ -8557,7 +8561,7 @@ const Ar = ne.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l(
8557
8561
  Pt.Content,
8558
8562
  {
8559
8563
  ref: r,
8560
- className: Q(
8564
+ className: ee(
8561
8565
  "richtext-mt-2 richtext-ring-offset-background focus-visible:richtext-outline-none focus-visible:richtext-ring-2 focus-visible:richtext-ring-ring focus-visible:richtext-ring-offset-2",
8562
8566
  e
8563
8567
  ),
@@ -8569,7 +8573,7 @@ const eb = ke.Provider, Od = ne.forwardRef(({ className: e, ...t }, r) => /* @__
8569
8573
  ke.Viewport,
8570
8574
  {
8571
8575
  ref: r,
8572
- className: Q(
8576
+ className: ee(
8573
8577
  "richtext-fixed richtext-top-0 richtext-z-[100] richtext-flex richtext-max-h-screen richtext-w-full richtext-flex-col-reverse richtext-p-4 sm:richtext-bottom-0 sm:richtext-right-0 sm:richtext-top-auto sm:richtext-flex-col md:richtext-max-w-[420px]",
8574
8578
  e
8575
8579
  ),
@@ -8594,7 +8598,7 @@ const tb = Hn(
8594
8598
  ke.Root,
8595
8599
  {
8596
8600
  ref: n,
8597
- className: Q(tb({ variant: t }), e),
8601
+ className: ee(tb({ variant: t }), e),
8598
8602
  ...r
8599
8603
  }
8600
8604
  ));
@@ -8603,7 +8607,7 @@ const rb = ne.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l(
8603
8607
  ke.Action,
8604
8608
  {
8605
8609
  ref: r,
8606
- className: Q(
8610
+ className: ee(
8607
8611
  "richtext-inline-flex richtext-h-8 richtext-shrink-0 richtext-items-center richtext-justify-center richtext-rounded-md !richtext-border richtext-bg-transparent richtext-px-3 richtext-text-sm richtext-font-medium richtext-ring-offset-background richtext-transition-colors hover:richtext-bg-secondary focus:richtext-outline-none focus:richtext-ring-2 focus:richtext-ring-ring focus:richtext-ring-offset-2 disabled:richtext-pointer-events-none disabled:richtext-opacity-50 group-[.destructive]:richtext-border-muted/40 group-[.destructive]:hover:richtext-border-destructive/30 group-[.destructive]:hover:richtext-bg-destructive group-[.destructive]:hover:richtext-text-destructive-foreground group-[.destructive]:focus:richtext-ring-destructive",
8608
8612
  e
8609
8613
  ),
@@ -8615,7 +8619,7 @@ const Nd = ne.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l(
8615
8619
  ke.Close,
8616
8620
  {
8617
8621
  ref: r,
8618
- className: Q(
8622
+ className: ee(
8619
8623
  "richtext-absolute richtext-right-2 richtext-top-2 richtext-rounded-md richtext-p-1 richtext-text-foreground/50 richtext-opacity-0 richtext-transition-opacity hover:richtext-text-foreground focus:richtext-opacity-100 focus:richtext-outline-none focus:richtext-ring-2 group-hover:richtext-opacity-100 group-[.destructive]:richtext-text-red-300 group-[.destructive]:hover:richtext-text-red-50 group-[.destructive]:focus:richtext-ring-red-400 group-[.destructive]:focus:richtext-ring-offset-red-600",
8620
8624
  e
8621
8625
  ),
@@ -8629,7 +8633,7 @@ const kd = ne.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l(
8629
8633
  ke.Title,
8630
8634
  {
8631
8635
  ref: r,
8632
- className: Q("richtext-text-sm richtext-font-semibold", e),
8636
+ className: ee("richtext-text-sm richtext-font-semibold", e),
8633
8637
  ...t
8634
8638
  }
8635
8639
  ));
@@ -8638,7 +8642,7 @@ const Md = ne.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l(
8638
8642
  ke.Description,
8639
8643
  {
8640
8644
  ref: r,
8641
- className: Q("richtext-text-sm richtext-opacity-90", e),
8645
+ className: ee("richtext-text-sm richtext-opacity-90", e),
8642
8646
  ...t
8643
8647
  }
8644
8648
  ));
@@ -8666,7 +8670,7 @@ const nb = Hn(
8666
8670
  mu.Root,
8667
8671
  {
8668
8672
  ref: i,
8669
- className: Q(nb({ variant: t, size: r, className: e })),
8673
+ className: ee(nb({ variant: t, size: r, className: e })),
8670
8674
  ...n
8671
8675
  }
8672
8676
  ));
@@ -8676,7 +8680,7 @@ const ib = Cr.Provider, $d = Cr.Root, _d = Cr.Trigger, ns = ne.forwardRef(({ cla
8676
8680
  {
8677
8681
  ref: n,
8678
8682
  sideOffset: t,
8679
- className: Q(
8683
+ className: ee(
8680
8684
  "richtext-z-50 richtext-overflow-hidden richtext-rounded-md !richtext-border richtext-bg-popover richtext-px-3 richtext-py-1.5 richtext-text-sm richtext-text-popover-foreground richtext-shadow-md richtext-animate-in richtext-fade-in-0 richtext-zoom-in-95 data-[side=bottom]:richtext-slide-in-from-top-2 data-[side=left]:richtext-slide-in-from-right-2 data-[side=right]:richtext-slide-in-from-left-2 data-[side=top]:richtext-slide-in-from-bottom-2",
8681
8685
  e
8682
8686
  ),
@@ -8782,7 +8786,7 @@ const Dd = ne.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l(
8782
8786
  na.Root,
8783
8787
  {
8784
8788
  ref: r,
8785
- className: Q(
8789
+ className: ee(
8786
8790
  "!richtext-peer !richtext-h-4 !richtext-w-4 !richtext-p-0 !richtext-shrink-0 !richtext-rounded-sm !richtext-border !richtext-border-primary !richtext-ring-offset-background focus-visible:!richtext-outline-none focus-visible:!richtext-ring-2 focus-visible:!richtext-ring-ring focus-visible:!richtext-ring-offset-2 disabled:!richtext-cursor-not-allowed disabled:!richtext-opacity-50 data-[state=checked]:!richtext-bg-primary data-[state=checked]:!richtext-text-primary-foreground",
8787
8791
  e
8788
8792
  ),
@@ -8790,7 +8794,7 @@ const Dd = ne.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l(
8790
8794
  children: /* @__PURE__ */ l(
8791
8795
  na.Indicator,
8792
8796
  {
8793
- className: Q("!richtext-flex !richtext-p-0 !richtext-items-center !richtext-justify-center !richtext-text-current"),
8797
+ className: ee("!richtext-flex !richtext-p-0 !richtext-items-center !richtext-justify-center !richtext-text-current"),
8794
8798
  children: /* @__PURE__ */ l(pu, { className: "!richtext-h-4 !richtext-w-4" })
8795
8799
  }
8796
8800
  )
@@ -8798,7 +8802,7 @@ const Dd = ne.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l(
8798
8802
  ));
8799
8803
  Dd.displayName = na.Root.displayName;
8800
8804
  const ub = { padding: "0 12px 12px" }, db = ({ width: e, maxWidth: t, height: r, onOk: n, children: i }) => {
8801
- const { t: o } = Se(), [a, s] = X({
8805
+ const { t: o } = Se(), [a, s] = J({
8802
8806
  width: "",
8803
8807
  height: "",
8804
8808
  maxWidth: ""
@@ -8813,9 +8817,9 @@ const ub = { padding: "0 12px 12px" }, db = ({ width: e, maxWidth: t, height: r,
8813
8817
  function c(u) {
8814
8818
  u.preventDefault(), u.stopPropagation(), n(a);
8815
8819
  }
8816
- return /* @__PURE__ */ T(Or, { modal: !0, children: [
8820
+ return /* @__PURE__ */ E(Or, { modal: !0, children: [
8817
8821
  /* @__PURE__ */ l(Pr, { asChild: !0, children: i }),
8818
- /* @__PURE__ */ l(Kt, { children: /* @__PURE__ */ l("div", { style: ub, children: /* @__PURE__ */ T("form", { className: "richtext-flex richtext-flex-col richtext-gap-2", onSubmit: c, children: [
8822
+ /* @__PURE__ */ l(Kt, { children: /* @__PURE__ */ l("div", { style: ub, children: /* @__PURE__ */ E("form", { className: "richtext-flex richtext-flex-col richtext-gap-2", onSubmit: c, children: [
8819
8823
  /* @__PURE__ */ l(it, { className: "mb-[6px]", children: "Width" }),
8820
8824
  /* @__PURE__ */ l("div", { className: "richtext-flex richtext-w-full richtext-max-w-sm richtext-items-center richtext-gap-1.5", children: /* @__PURE__ */ l("div", { className: "richtext-relative richtext-items-center richtext-w-full richtext-max-w-sm", children: /* @__PURE__ */ l(
8821
8825
  Ne,
@@ -9090,7 +9094,7 @@ const Pb = {
9090
9094
  innerWrap: kb
9091
9095
  };
9092
9096
  function Mb({ editor: e, node: t, updateAttributes: r }) {
9093
- const n = Ob(), { src: i, width: o, height: a } = t.attrs, [s, c] = X("");
9097
+ const n = Ob(), { src: i, width: o, height: a } = t.attrs, [s, c] = J("");
9094
9098
  function u() {
9095
9099
  if (!s)
9096
9100
  return;
@@ -9105,8 +9109,8 @@ function Mb({ editor: e, node: t, updateAttributes: r }) {
9105
9109
  },
9106
9110
  [r]
9107
9111
  );
9108
- return /* @__PURE__ */ T(Pa, { children: [
9109
- !i && /* @__PURE__ */ T("div", { className: "richtext-mx-auto richtext-my-[12px] richtext-flex richtext-max-w-[600px] richtext-items-center richtext-justify-center richtext-gap-[10px] richtext-rounded-[12px] richtext-border richtext-border-solid richtext-border-[#ccc] richtext-p-[10px]", children: [
9112
+ return /* @__PURE__ */ E(Pa, { children: [
9113
+ !i && /* @__PURE__ */ E("div", { className: "richtext-mx-auto richtext-my-[12px] richtext-flex richtext-max-w-[600px] richtext-items-center richtext-justify-center richtext-gap-[10px] richtext-rounded-[12px] richtext-border richtext-border-solid richtext-border-[#ccc] richtext-p-[10px]", children: [
9110
9114
  /* @__PURE__ */ l(
9111
9115
  Ne,
9112
9116
  {
@@ -9349,23 +9353,23 @@ function _b() {
9349
9353
  }
9350
9354
  };
9351
9355
  e = function(p) {
9352
- var m = p !== null && typeof p == "object", v = r.call(p) === "[object Function]", g = n(p), x = m && r.call(p) === "[object String]", S = [];
9356
+ var m = p !== null && typeof p == "object", v = r.call(p) === "[object Function]", g = n(p), x = m && r.call(p) === "[object String]", w = [];
9353
9357
  if (!m && !v && !g)
9354
9358
  throw new TypeError("Object.keys called on a non-object");
9355
- var I = a && v;
9359
+ var T = a && v;
9356
9360
  if (x && p.length > 0 && !t.call(p, 0))
9357
- for (var E = 0; E < p.length; ++E)
9358
- S.push(String(E));
9361
+ for (var I = 0; I < p.length; ++I)
9362
+ w.push(String(I));
9359
9363
  if (g && p.length > 0)
9360
9364
  for (var C = 0; C < p.length; ++C)
9361
- S.push(String(C));
9365
+ w.push(String(C));
9362
9366
  else
9363
- for (var k in p)
9364
- !(I && k === "prototype") && t.call(p, k) && S.push(String(k));
9367
+ for (var M in p)
9368
+ !(T && M === "prototype") && t.call(p, M) && w.push(String(M));
9365
9369
  if (o)
9366
- for (var L = d(p), P = 0; P < s.length; ++P)
9367
- !(L && s[P] === "constructor") && t.call(p, s[P]) && S.push(s[P]);
9368
- return S;
9370
+ for (var L = d(p), k = 0; k < s.length; ++k)
9371
+ !(L && s[k] === "constructor") && t.call(p, s[k]) && w.push(s[k]);
9372
+ return w;
9369
9373
  };
9370
9374
  }
9371
9375
  return bi = e, bi;
@@ -9751,29 +9755,29 @@ function ut() {
9751
9755
  return g('"use strict"; return (' + re + ").constructor;")();
9752
9756
  } catch {
9753
9757
  }
9754
- }, S = /* @__PURE__ */ Mt(), I = /* @__PURE__ */ Fn(), E = function() {
9758
+ }, w = /* @__PURE__ */ Mt(), T = /* @__PURE__ */ Fn(), I = function() {
9755
9759
  throw new s();
9756
- }, C = S ? function() {
9760
+ }, C = w ? function() {
9757
9761
  try {
9758
- return arguments.callee, E;
9762
+ return arguments.callee, I;
9759
9763
  } catch {
9760
9764
  try {
9761
- return S(arguments, "callee").get;
9765
+ return w(arguments, "callee").get;
9762
9766
  } catch {
9763
- return E;
9767
+ return I;
9764
9768
  }
9765
9769
  }
9766
- }() : E, k = us()(), L = Ud(), P = qd(), N = Hd(), $ = fs(), w = ds(), A = {}, M = typeof Uint8Array > "u" || !L ? e : L(Uint8Array), D = {
9770
+ }() : I, M = us()(), L = Ud(), k = qd(), N = Hd(), $ = fs(), A = ds(), S = {}, P = typeof Uint8Array > "u" || !L ? e : L(Uint8Array), D = {
9767
9771
  __proto__: null,
9768
9772
  "%AggregateError%": typeof AggregateError > "u" ? e : AggregateError,
9769
9773
  "%Array%": Array,
9770
9774
  "%ArrayBuffer%": typeof ArrayBuffer > "u" ? e : ArrayBuffer,
9771
- "%ArrayIteratorPrototype%": k && L ? L([][Symbol.iterator]()) : e,
9775
+ "%ArrayIteratorPrototype%": M && L ? L([][Symbol.iterator]()) : e,
9772
9776
  "%AsyncFromSyncIteratorPrototype%": e,
9773
- "%AsyncFunction%": A,
9774
- "%AsyncGenerator%": A,
9775
- "%AsyncGeneratorFunction%": A,
9776
- "%AsyncIteratorPrototype%": A,
9777
+ "%AsyncFunction%": S,
9778
+ "%AsyncGenerator%": S,
9779
+ "%AsyncGeneratorFunction%": S,
9780
+ "%AsyncIteratorPrototype%": S,
9777
9781
  "%Atomics%": typeof Atomics > "u" ? e : Atomics,
9778
9782
  "%BigInt%": typeof BigInt > "u" ? e : BigInt,
9779
9783
  "%BigInt64Array%": typeof BigInt64Array > "u" ? e : BigInt64Array,
@@ -9793,20 +9797,20 @@ function ut() {
9793
9797
  "%Float64Array%": typeof Float64Array > "u" ? e : Float64Array,
9794
9798
  "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? e : FinalizationRegistry,
9795
9799
  "%Function%": g,
9796
- "%GeneratorFunction%": A,
9800
+ "%GeneratorFunction%": S,
9797
9801
  "%Int8Array%": typeof Int8Array > "u" ? e : Int8Array,
9798
9802
  "%Int16Array%": typeof Int16Array > "u" ? e : Int16Array,
9799
9803
  "%Int32Array%": typeof Int32Array > "u" ? e : Int32Array,
9800
9804
  "%isFinite%": isFinite,
9801
9805
  "%isNaN%": isNaN,
9802
- "%IteratorPrototype%": k && L ? L(L([][Symbol.iterator]())) : e,
9806
+ "%IteratorPrototype%": M && L ? L(L([][Symbol.iterator]())) : e,
9803
9807
  "%JSON%": typeof JSON == "object" ? JSON : e,
9804
9808
  "%Map%": typeof Map > "u" ? e : Map,
9805
- "%MapIteratorPrototype%": typeof Map > "u" || !k || !L ? e : L((/* @__PURE__ */ new Map())[Symbol.iterator]()),
9809
+ "%MapIteratorPrototype%": typeof Map > "u" || !M || !L ? e : L((/* @__PURE__ */ new Map())[Symbol.iterator]()),
9806
9810
  "%Math%": Math,
9807
9811
  "%Number%": Number,
9808
9812
  "%Object%": t,
9809
- "%Object.getOwnPropertyDescriptor%": S,
9813
+ "%Object.getOwnPropertyDescriptor%": w,
9810
9814
  "%parseFloat%": parseFloat,
9811
9815
  "%parseInt%": parseInt,
9812
9816
  "%Promise%": typeof Promise > "u" ? e : Promise,
@@ -9816,14 +9820,14 @@ function ut() {
9816
9820
  "%Reflect%": typeof Reflect > "u" ? e : Reflect,
9817
9821
  "%RegExp%": RegExp,
9818
9822
  "%Set%": typeof Set > "u" ? e : Set,
9819
- "%SetIteratorPrototype%": typeof Set > "u" || !k || !L ? e : L((/* @__PURE__ */ new Set())[Symbol.iterator]()),
9823
+ "%SetIteratorPrototype%": typeof Set > "u" || !M || !L ? e : L((/* @__PURE__ */ new Set())[Symbol.iterator]()),
9820
9824
  "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? e : SharedArrayBuffer,
9821
9825
  "%String%": String,
9822
- "%StringIteratorPrototype%": k && L ? L(""[Symbol.iterator]()) : e,
9823
- "%Symbol%": k ? Symbol : e,
9826
+ "%StringIteratorPrototype%": M && L ? L(""[Symbol.iterator]()) : e,
9827
+ "%Symbol%": M ? Symbol : e,
9824
9828
  "%SyntaxError%": a,
9825
9829
  "%ThrowTypeError%": C,
9826
- "%TypedArray%": M,
9830
+ "%TypedArray%": P,
9827
9831
  "%TypeError%": s,
9828
9832
  "%Uint8Array%": typeof Uint8Array > "u" ? e : Uint8Array,
9829
9833
  "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? e : Uint8ClampedArray,
@@ -9833,10 +9837,10 @@ function ut() {
9833
9837
  "%WeakMap%": typeof WeakMap > "u" ? e : WeakMap,
9834
9838
  "%WeakRef%": typeof WeakRef > "u" ? e : WeakRef,
9835
9839
  "%WeakSet%": typeof WeakSet > "u" ? e : WeakSet,
9836
- "%Function.prototype.call%": w,
9840
+ "%Function.prototype.call%": A,
9837
9841
  "%Function.prototype.apply%": $,
9838
- "%Object.defineProperty%": I,
9839
- "%Object.getPrototypeOf%": P,
9842
+ "%Object.defineProperty%": T,
9843
+ "%Object.getPrototypeOf%": k,
9840
9844
  "%Math.abs%": u,
9841
9845
  "%Math.floor%": f,
9842
9846
  "%Math.max%": d,
@@ -9865,11 +9869,11 @@ function ut() {
9865
9869
  var B = re("%AsyncGeneratorFunction%");
9866
9870
  B && (q = B.prototype);
9867
9871
  } else if (z === "%AsyncIteratorPrototype%") {
9868
- var V = re("%AsyncGenerator%");
9869
- V && L && (q = L(V.prototype));
9872
+ var K = re("%AsyncGenerator%");
9873
+ K && L && (q = L(K.prototype));
9870
9874
  }
9871
9875
  return D[z] = q, q;
9872
- }, ee = {
9876
+ }, W = {
9873
9877
  __proto__: null,
9874
9878
  "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
9875
9879
  "%ArrayPrototype%": ["Array", "prototype"],
@@ -9922,24 +9926,24 @@ function ut() {
9922
9926
  "%URIErrorPrototype%": ["URIError", "prototype"],
9923
9927
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
9924
9928
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
9925
- }, Z = Nr(), te = /* @__PURE__ */ ps(), ye = Z.call(w, Array.prototype.concat), me = Z.call($, Array.prototype.splice), De = Z.call(w, String.prototype.replace), Be = Z.call(w, String.prototype.slice), R = Z.call(w, RegExp.prototype.exec), _ = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, W = /\\(\\)?/g, U = function(z) {
9929
+ }, Q = Nr(), te = /* @__PURE__ */ ps(), ye = Q.call(A, Array.prototype.concat), me = Q.call($, Array.prototype.splice), De = Q.call(A, String.prototype.replace), Be = Q.call(A, String.prototype.slice), R = Q.call(A, RegExp.prototype.exec), _ = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, G = /\\(\\)?/g, U = function(z) {
9926
9930
  var q = Be(z, 0, 1), B = Be(z, -1);
9927
9931
  if (q === "%" && B !== "%")
9928
9932
  throw new a("invalid intrinsic syntax, expected closing `%`");
9929
9933
  if (B === "%" && q !== "%")
9930
9934
  throw new a("invalid intrinsic syntax, expected opening `%`");
9931
- var V = [];
9935
+ var K = [];
9932
9936
  return De(z, _, function(ge, xe, be, Ae) {
9933
- V[V.length] = be ? De(Ae, W, "$1") : xe || ge;
9934
- }), V;
9935
- }, J = function(z, q) {
9936
- var B = z, V;
9937
- if (te(ee, B) && (V = ee[B], B = "%" + V[0] + "%"), te(D, B)) {
9937
+ K[K.length] = be ? De(Ae, G, "$1") : xe || ge;
9938
+ }), K;
9939
+ }, Z = function(z, q) {
9940
+ var B = z, K;
9941
+ if (te(W, B) && (K = W[B], B = "%" + K[0] + "%"), te(D, B)) {
9938
9942
  var ge = D[B];
9939
- if (ge === A && (ge = j(B)), typeof ge > "u" && !q)
9943
+ if (ge === S && (ge = j(B)), typeof ge > "u" && !q)
9940
9944
  throw new s("intrinsic " + z + " exists, but is not available. Please file an issue!");
9941
9945
  return {
9942
- alias: V,
9946
+ alias: K,
9943
9947
  name: B,
9944
9948
  value: ge
9945
9949
  };
@@ -9953,13 +9957,13 @@ function ut() {
9953
9957
  throw new s('"allowMissing" argument must be a boolean');
9954
9958
  if (R(/^%?[^%]*%?$/, z) === null)
9955
9959
  throw new a("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
9956
- var B = U(z), V = B.length > 0 ? B[0] : "", ge = J("%" + V + "%", q), xe = ge.name, be = ge.value, Ae = !1, Ie = ge.alias;
9957
- Ie && (V = Ie[0], me(B, ye([0, 1], Ie)));
9960
+ var B = U(z), K = B.length > 0 ? B[0] : "", ge = Z("%" + K + "%", q), xe = ge.name, be = ge.value, Ae = !1, Ie = ge.alias;
9961
+ Ie && (K = Ie[0], me(B, ye([0, 1], Ie)));
9958
9962
  for (var Ye = 1, je = !0; Ye < B.length; Ye += 1) {
9959
9963
  var Re = B[Ye], Xe = Be(Re, 0, 1), Je = Be(Re, -1);
9960
9964
  if ((Xe === '"' || Xe === "'" || Xe === "`" || Je === '"' || Je === "'" || Je === "`") && Xe !== Je)
9961
9965
  throw new a("property names with quotes must have matching quotes");
9962
- if ((Re === "constructor" || !je) && (Ae = !0), V += "." + Re, xe = "%" + V + "%", te(D, xe))
9966
+ if ((Re === "constructor" || !je) && (Ae = !0), K += "." + Re, xe = "%" + K + "%", te(D, xe))
9963
9967
  be = D[xe];
9964
9968
  else if (be != null) {
9965
9969
  if (!(Re in be)) {
@@ -9967,8 +9971,8 @@ function ut() {
9967
9971
  throw new s("base intrinsic for " + z + " exists, but the property is not available.");
9968
9972
  return;
9969
9973
  }
9970
- if (S && Ye + 1 >= B.length) {
9971
- var Ze = S(be, Re);
9974
+ if (w && Ye + 1 >= B.length) {
9975
+ var Ze = w(be, Re);
9972
9976
  je = !!Ze, je && "get" in Ze && !("originalValue" in Ze.get) ? be = Ze.get : be = be[Re];
9973
9977
  } else
9974
9978
  je = te(be, Re), be = be[Re];
@@ -10062,11 +10066,11 @@ function Wd() {
10062
10066
  var x = v[g];
10063
10067
  o(h, x) && i(p, x);
10064
10068
  }
10065
- for (var S = 0; S < p.length; ++S) {
10066
- var I = p[S];
10067
- if (o(h, I)) {
10068
- var E = h[I];
10069
- f[I] = E;
10069
+ for (var w = 0; w < p.length; ++w) {
10070
+ var T = p[w];
10071
+ if (o(h, T)) {
10072
+ var I = h[T];
10073
+ f[T] = I;
10070
10074
  }
10071
10075
  }
10072
10076
  }
@@ -10285,21 +10289,21 @@ var Ao, Al;
10285
10289
  function Wn() {
10286
10290
  if (Al) return Ao;
10287
10291
  Al = 1;
10288
- var e = typeof Map == "function" && Map.prototype, t = Object.getOwnPropertyDescriptor && e ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, r = e && t && typeof t.get == "function" ? t.get : null, n = e && Map.prototype.forEach, i = typeof Set == "function" && Set.prototype, o = Object.getOwnPropertyDescriptor && i ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, a = i && o && typeof o.get == "function" ? o.get : null, s = i && Set.prototype.forEach, c = typeof WeakMap == "function" && WeakMap.prototype, u = c ? WeakMap.prototype.has : null, f = typeof WeakSet == "function" && WeakSet.prototype, d = f ? WeakSet.prototype.has : null, h = typeof WeakRef == "function" && WeakRef.prototype, p = h ? WeakRef.prototype.deref : null, m = Boolean.prototype.valueOf, v = Object.prototype.toString, g = Function.prototype.toString, x = String.prototype.match, S = String.prototype.slice, I = String.prototype.replace, E = String.prototype.toUpperCase, C = String.prototype.toLowerCase, k = RegExp.prototype.test, L = Array.prototype.concat, P = Array.prototype.join, N = Array.prototype.slice, $ = Math.floor, w = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, A = Object.getOwnPropertySymbols, M = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, D = typeof Symbol == "function" && typeof Symbol.iterator == "object", H = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === D || !0) ? Symbol.toStringTag : null, j = Object.prototype.propertyIsEnumerable, ee = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(y) {
10292
+ var e = typeof Map == "function" && Map.prototype, t = Object.getOwnPropertyDescriptor && e ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, r = e && t && typeof t.get == "function" ? t.get : null, n = e && Map.prototype.forEach, i = typeof Set == "function" && Set.prototype, o = Object.getOwnPropertyDescriptor && i ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, a = i && o && typeof o.get == "function" ? o.get : null, s = i && Set.prototype.forEach, c = typeof WeakMap == "function" && WeakMap.prototype, u = c ? WeakMap.prototype.has : null, f = typeof WeakSet == "function" && WeakSet.prototype, d = f ? WeakSet.prototype.has : null, h = typeof WeakRef == "function" && WeakRef.prototype, p = h ? WeakRef.prototype.deref : null, m = Boolean.prototype.valueOf, v = Object.prototype.toString, g = Function.prototype.toString, x = String.prototype.match, w = String.prototype.slice, T = String.prototype.replace, I = String.prototype.toUpperCase, C = String.prototype.toLowerCase, M = RegExp.prototype.test, L = Array.prototype.concat, k = Array.prototype.join, N = Array.prototype.slice, $ = Math.floor, A = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, S = Object.getOwnPropertySymbols, P = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, D = typeof Symbol == "function" && typeof Symbol.iterator == "object", H = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === D || !0) ? Symbol.toStringTag : null, j = Object.prototype.propertyIsEnumerable, W = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(y) {
10289
10293
  return y.__proto__;
10290
10294
  } : null);
10291
- function Z(y, b) {
10292
- if (y === 1 / 0 || y === -1 / 0 || y !== y || y && y > -1e3 && y < 1e3 || k.call(/e/, b))
10295
+ function Q(y, b) {
10296
+ if (y === 1 / 0 || y === -1 / 0 || y !== y || y && y > -1e3 && y < 1e3 || M.call(/e/, b))
10293
10297
  return b;
10294
10298
  var ie = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
10295
10299
  if (typeof y == "number") {
10296
10300
  var ae = y < 0 ? -$(-y) : $(y);
10297
10301
  if (ae !== y) {
10298
- var se = String(ae), Y = S.call(b, se.length + 1);
10299
- return I.call(se, ie, "$&_") + "." + I.call(I.call(Y, /([0-9]{3})/g, "$&_"), /_$/, "");
10302
+ var se = String(ae), X = w.call(b, se.length + 1);
10303
+ return T.call(se, ie, "$&_") + "." + T.call(T.call(X, /([0-9]{3})/g, "$&_"), /_$/, "");
10300
10304
  }
10301
10305
  }
10302
- return I.call(b, ie, "$&_");
10306
+ return T.call(b, ie, "$&_");
10303
10307
  }
10304
10308
  var te = l2, ye = te.custom, me = ge(ye) ? ye : null, De = {
10305
10309
  __proto__: null,
@@ -10311,19 +10315,19 @@ function Wn() {
10311
10315
  single: /(['\\])/g
10312
10316
  };
10313
10317
  Ao = function y(b, ie, ae, se) {
10314
- var Y = ie || {};
10315
- if (Ae(Y, "quoteStyle") && !Ae(De, Y.quoteStyle))
10318
+ var X = ie || {};
10319
+ if (Ae(X, "quoteStyle") && !Ae(De, X.quoteStyle))
10316
10320
  throw new TypeError('option "quoteStyle" must be "single" or "double"');
10317
- if (Ae(Y, "maxStringLength") && (typeof Y.maxStringLength == "number" ? Y.maxStringLength < 0 && Y.maxStringLength !== 1 / 0 : Y.maxStringLength !== null))
10321
+ if (Ae(X, "maxStringLength") && (typeof X.maxStringLength == "number" ? X.maxStringLength < 0 && X.maxStringLength !== 1 / 0 : X.maxStringLength !== null))
10318
10322
  throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
10319
- var ht = Ae(Y, "customInspect") ? Y.customInspect : !0;
10323
+ var ht = Ae(X, "customInspect") ? X.customInspect : !0;
10320
10324
  if (typeof ht != "boolean" && ht !== "symbol")
10321
10325
  throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
10322
- if (Ae(Y, "indent") && Y.indent !== null && Y.indent !== " " && !(parseInt(Y.indent, 10) === Y.indent && Y.indent > 0))
10326
+ if (Ae(X, "indent") && X.indent !== null && X.indent !== " " && !(parseInt(X.indent, 10) === X.indent && X.indent > 0))
10323
10327
  throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
10324
- if (Ae(Y, "numericSeparator") && typeof Y.numericSeparator != "boolean")
10328
+ if (Ae(X, "numericSeparator") && typeof X.numericSeparator != "boolean")
10325
10329
  throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
10326
- var Ct = Y.numericSeparator;
10330
+ var Ct = X.numericSeparator;
10327
10331
  if (typeof b > "u")
10328
10332
  return "undefined";
10329
10333
  if (b === null)
@@ -10331,21 +10335,21 @@ function Wn() {
10331
10335
  if (typeof b == "boolean")
10332
10336
  return b ? "true" : "false";
10333
10337
  if (typeof b == "string")
10334
- return _t(b, Y);
10338
+ return _t(b, X);
10335
10339
  if (typeof b == "number") {
10336
10340
  if (b === 0)
10337
10341
  return 1 / 0 / b > 0 ? "0" : "-0";
10338
10342
  var Pe = String(b);
10339
- return Ct ? Z(b, Pe) : Pe;
10343
+ return Ct ? Q(b, Pe) : Pe;
10340
10344
  }
10341
10345
  if (typeof b == "bigint") {
10342
10346
  var pt = String(b) + "n";
10343
- return Ct ? Z(b, pt) : pt;
10347
+ return Ct ? Q(b, pt) : pt;
10344
10348
  }
10345
- var Kn = typeof Y.depth > "u" ? 5 : Y.depth;
10349
+ var Kn = typeof X.depth > "u" ? 5 : X.depth;
10346
10350
  if (typeof ae > "u" && (ae = 0), ae >= Kn && Kn > 0 && typeof b == "object")
10347
10351
  return U(b) ? "[Array]" : "[Object]";
10348
- var Dt = hf(Y, ae);
10352
+ var Dt = hf(X, ae);
10349
10353
  if (typeof se > "u")
10350
10354
  se = [];
10351
10355
  else if (je(se, b) >= 0)
@@ -10353,34 +10357,34 @@ function Wn() {
10353
10357
  function ze(Bt, $r, mf) {
10354
10358
  if ($r && (se = N.call(se), se.push($r)), mf) {
10355
10359
  var Cs = {
10356
- depth: Y.depth
10360
+ depth: X.depth
10357
10361
  };
10358
- return Ae(Y, "quoteStyle") && (Cs.quoteStyle = Y.quoteStyle), y(Bt, Cs, ae + 1, se);
10362
+ return Ae(X, "quoteStyle") && (Cs.quoteStyle = X.quoteStyle), y(Bt, Cs, ae + 1, se);
10359
10363
  }
10360
- return y(Bt, Y, ae + 1, se);
10364
+ return y(Bt, X, ae + 1, se);
10361
10365
  }
10362
10366
  if (typeof b == "function" && !re(b)) {
10363
10367
  var vs = Ye(b), ys = Mr(b, ze);
10364
- return "[Function" + (vs ? ": " + vs : " (anonymous)") + "]" + (ys.length > 0 ? " { " + P.call(ys, ", ") + " }" : "");
10368
+ return "[Function" + (vs ? ": " + vs : " (anonymous)") + "]" + (ys.length > 0 ? " { " + k.call(ys, ", ") + " }" : "");
10365
10369
  }
10366
10370
  if (ge(b)) {
10367
- var xs = D ? I.call(String(b), /^(Symbol\(.*\))_[^)]*$/, "$1") : M.call(b);
10371
+ var xs = D ? T.call(String(b), /^(Symbol\(.*\))_[^)]*$/, "$1") : P.call(b);
10368
10372
  return typeof b == "object" && !D ? ft(xs) : xs;
10369
10373
  }
10370
10374
  if (dt(b)) {
10371
10375
  for (var Zt = "<" + C.call(String(b.nodeName)), Yn = b.attributes || [], Lr = 0; Lr < Yn.length; Lr++)
10372
- Zt += " " + Yn[Lr].name + "=" + R(_(Yn[Lr].value), "double", Y);
10376
+ Zt += " " + Yn[Lr].name + "=" + R(_(Yn[Lr].value), "double", X);
10373
10377
  return Zt += ">", b.childNodes && b.childNodes.length && (Zt += "..."), Zt += "</" + C.call(String(b.nodeName)) + ">", Zt;
10374
10378
  }
10375
10379
  if (U(b)) {
10376
10380
  if (b.length === 0)
10377
10381
  return "[]";
10378
10382
  var Xn = Mr(b, ze);
10379
- return Dt && !ff(Xn) ? "[" + Vn(Xn, Dt) + "]" : "[ " + P.call(Xn, ", ") + " ]";
10383
+ return Dt && !ff(Xn) ? "[" + Vn(Xn, Dt) + "]" : "[ " + k.call(Xn, ", ") + " ]";
10380
10384
  }
10381
10385
  if (z(b)) {
10382
10386
  var Jn = Mr(b, ze);
10383
- return !("cause" in Error.prototype) && "cause" in b && !j.call(b, "cause") ? "{ [" + String(b) + "] " + P.call(L.call("[cause]: " + ze(b.cause), Jn), ", ") + " }" : Jn.length === 0 ? "[" + String(b) + "]" : "{ [" + String(b) + "] " + P.call(Jn, ", ") + " }";
10387
+ return !("cause" in Error.prototype) && "cause" in b && !j.call(b, "cause") ? "{ [" + String(b) + "] " + k.call(L.call("[cause]: " + ze(b.cause), Jn), ", ") + " }" : Jn.length === 0 ? "[" + String(b) + "]" : "{ [" + String(b) + "] " + k.call(Jn, ", ") + " }";
10384
10388
  }
10385
10389
  if (typeof b == "object" && ht) {
10386
10390
  if (me && typeof b[me] == "function" && te)
@@ -10409,8 +10413,8 @@ function Wn() {
10409
10413
  if (B(b))
10410
10414
  return ft(ze(Number(b)));
10411
10415
  if (xe(b))
10412
- return ft(ze(w.call(b)));
10413
- if (V(b))
10416
+ return ft(ze(A.call(b)));
10417
+ if (K(b))
10414
10418
  return ft(m.call(b));
10415
10419
  if (q(b))
10416
10420
  return ft(ze(String(b)));
@@ -10418,9 +10422,9 @@ function Wn() {
10418
10422
  return "{ [object Window] }";
10419
10423
  if (typeof globalThis < "u" && b === globalThis || typeof kn < "u" && b === kn)
10420
10424
  return "{ [object globalThis] }";
10421
- if (!J(b) && !re(b)) {
10422
- var Zn = Mr(b, ze), Ss = ee ? ee(b) === Object.prototype : b instanceof Object || b.constructor === Object, Qn = b instanceof Object ? "" : "null prototype", As = !Ss && H && Object(b) === b && H in b ? S.call(Ie(b), 8, -1) : Qn ? "Object" : "", pf = Ss || typeof b.constructor != "function" ? "" : b.constructor.name ? b.constructor.name + " " : "", ei = pf + (As || Qn ? "[" + P.call(L.call([], As || [], Qn || []), ": ") + "] " : "");
10423
- return Zn.length === 0 ? ei + "{}" : Dt ? ei + "{" + Vn(Zn, Dt) + "}" : ei + "{ " + P.call(Zn, ", ") + " }";
10425
+ if (!Z(b) && !re(b)) {
10426
+ var Zn = Mr(b, ze), Ss = W ? W(b) === Object.prototype : b instanceof Object || b.constructor === Object, Qn = b instanceof Object ? "" : "null prototype", As = !Ss && H && Object(b) === b && H in b ? w.call(Ie(b), 8, -1) : Qn ? "Object" : "", pf = Ss || typeof b.constructor != "function" ? "" : b.constructor.name ? b.constructor.name + " " : "", ei = pf + (As || Qn ? "[" + k.call(L.call([], As || [], Qn || []), ": ") + "] " : "");
10427
+ return Zn.length === 0 ? ei + "{}" : Dt ? ei + "{" + Vn(Zn, Dt) + "}" : ei + "{ " + k.call(Zn, ", ") + " }";
10424
10428
  }
10425
10429
  return String(b);
10426
10430
  };
@@ -10429,50 +10433,50 @@ function Wn() {
10429
10433
  return se + y + se;
10430
10434
  }
10431
10435
  function _(y) {
10432
- return I.call(String(y), /"/g, "&quot;");
10436
+ return T.call(String(y), /"/g, "&quot;");
10433
10437
  }
10434
- function W(y) {
10438
+ function G(y) {
10435
10439
  return !H || !(typeof y == "object" && (H in y || typeof y[H] < "u"));
10436
10440
  }
10437
10441
  function U(y) {
10438
- return Ie(y) === "[object Array]" && W(y);
10442
+ return Ie(y) === "[object Array]" && G(y);
10439
10443
  }
10440
- function J(y) {
10441
- return Ie(y) === "[object Date]" && W(y);
10444
+ function Z(y) {
10445
+ return Ie(y) === "[object Date]" && G(y);
10442
10446
  }
10443
10447
  function re(y) {
10444
- return Ie(y) === "[object RegExp]" && W(y);
10448
+ return Ie(y) === "[object RegExp]" && G(y);
10445
10449
  }
10446
10450
  function z(y) {
10447
- return Ie(y) === "[object Error]" && W(y);
10451
+ return Ie(y) === "[object Error]" && G(y);
10448
10452
  }
10449
10453
  function q(y) {
10450
- return Ie(y) === "[object String]" && W(y);
10454
+ return Ie(y) === "[object String]" && G(y);
10451
10455
  }
10452
10456
  function B(y) {
10453
- return Ie(y) === "[object Number]" && W(y);
10457
+ return Ie(y) === "[object Number]" && G(y);
10454
10458
  }
10455
- function V(y) {
10456
- return Ie(y) === "[object Boolean]" && W(y);
10459
+ function K(y) {
10460
+ return Ie(y) === "[object Boolean]" && G(y);
10457
10461
  }
10458
10462
  function ge(y) {
10459
10463
  if (D)
10460
10464
  return y && typeof y == "object" && y instanceof Symbol;
10461
10465
  if (typeof y == "symbol")
10462
10466
  return !0;
10463
- if (!y || typeof y != "object" || !M)
10467
+ if (!y || typeof y != "object" || !P)
10464
10468
  return !1;
10465
10469
  try {
10466
- return M.call(y), !0;
10470
+ return P.call(y), !0;
10467
10471
  } catch {
10468
10472
  }
10469
10473
  return !1;
10470
10474
  }
10471
10475
  function xe(y) {
10472
- if (!y || typeof y != "object" || !w)
10476
+ if (!y || typeof y != "object" || !A)
10473
10477
  return !1;
10474
10478
  try {
10475
- return w.call(y), !0;
10479
+ return A.call(y), !0;
10476
10480
  } catch {
10477
10481
  }
10478
10482
  return !1;
@@ -10575,12 +10579,12 @@ function Wn() {
10575
10579
  function _t(y, b) {
10576
10580
  if (y.length > b.maxStringLength) {
10577
10581
  var ie = y.length - b.maxStringLength, ae = "... " + ie + " more character" + (ie > 1 ? "s" : "");
10578
- return _t(S.call(y, 0, b.maxStringLength), b) + ae;
10582
+ return _t(w.call(y, 0, b.maxStringLength), b) + ae;
10579
10583
  }
10580
10584
  var se = Be[b.quoteStyle || "single"];
10581
10585
  se.lastIndex = 0;
10582
- var Y = I.call(I.call(y, se, "\\$1"), /[\x00-\x1f]/g, Jt);
10583
- return R(Y, "single", b);
10586
+ var X = T.call(T.call(y, se, "\\$1"), /[\x00-\x1f]/g, Jt);
10587
+ return R(X, "single", b);
10584
10588
  }
10585
10589
  function Jt(y) {
10586
10590
  var b = y.charCodeAt(0), ie = {
@@ -10590,7 +10594,7 @@ function Wn() {
10590
10594
  12: "f",
10591
10595
  13: "r"
10592
10596
  }[b];
10593
- return ie ? "\\" + ie : "\\x" + (b < 16 ? "0" : "") + E.call(b.toString(16));
10597
+ return ie ? "\\" + ie : "\\x" + (b < 16 ? "0" : "") + I.call(b.toString(16));
10594
10598
  }
10595
10599
  function ft(y) {
10596
10600
  return "Object(" + y + ")";
@@ -10599,7 +10603,7 @@ function Wn() {
10599
10603
  return y + " { ? }";
10600
10604
  }
10601
10605
  function gs(y, b, ie, ae) {
10602
- var se = ae ? Vn(ie, ae) : P.call(ie, ", ");
10606
+ var se = ae ? Vn(ie, ae) : k.call(ie, ", ");
10603
10607
  return y + " (" + b + ") {" + se + "}";
10604
10608
  }
10605
10609
  function ff(y) {
@@ -10614,12 +10618,12 @@ function Wn() {
10614
10618
  if (y.indent === " ")
10615
10619
  ie = " ";
10616
10620
  else if (typeof y.indent == "number" && y.indent > 0)
10617
- ie = P.call(Array(y.indent + 1), " ");
10621
+ ie = k.call(Array(y.indent + 1), " ");
10618
10622
  else
10619
10623
  return null;
10620
10624
  return {
10621
10625
  base: ie,
10622
- prev: P.call(Array(b + 1), ie)
10626
+ prev: k.call(Array(b + 1), ie)
10623
10627
  };
10624
10628
  }
10625
10629
  function Vn(y, b) {
@@ -10627,7 +10631,7 @@ function Wn() {
10627
10631
  return "";
10628
10632
  var ie = `
10629
10633
  ` + b.prev + b.base;
10630
- return ie + P.call(y, "," + ie) + `
10634
+ return ie + k.call(y, "," + ie) + `
10631
10635
  ` + b.prev;
10632
10636
  }
10633
10637
  function Mr(y, b) {
@@ -10637,17 +10641,17 @@ function Wn() {
10637
10641
  for (var se = 0; se < y.length; se++)
10638
10642
  ae[se] = Ae(y, se) ? b(y[se], y) : "";
10639
10643
  }
10640
- var Y = typeof A == "function" ? A(y) : [], ht;
10644
+ var X = typeof S == "function" ? S(y) : [], ht;
10641
10645
  if (D) {
10642
10646
  ht = {};
10643
- for (var Ct = 0; Ct < Y.length; Ct++)
10644
- ht["$" + Y[Ct]] = Y[Ct];
10647
+ for (var Ct = 0; Ct < X.length; Ct++)
10648
+ ht["$" + X[Ct]] = X[Ct];
10645
10649
  }
10646
10650
  for (var Pe in y)
10647
- Ae(y, Pe) && (ie && String(Number(Pe)) === Pe && Pe < y.length || D && ht["$" + Pe] instanceof Symbol || (k.call(/[^\w$]/, Pe) ? ae.push(b(Pe, y) + ": " + b(y[Pe], y)) : ae.push(Pe + ": " + b(y[Pe], y))));
10648
- if (typeof A == "function")
10649
- for (var pt = 0; pt < Y.length; pt++)
10650
- j.call(y, Y[pt]) && ae.push("[" + b(Y[pt]) + "]: " + b(y[Y[pt]], y));
10651
+ Ae(y, Pe) && (ie && String(Number(Pe)) === Pe && Pe < y.length || D && ht["$" + Pe] instanceof Symbol || (M.call(/[^\w$]/, Pe) ? ae.push(b(Pe, y) + ": " + b(y[Pe], y)) : ae.push(Pe + ": " + b(y[Pe], y))));
10652
+ if (typeof S == "function")
10653
+ for (var pt = 0; pt < X.length; pt++)
10654
+ j.call(y, X[pt]) && ae.push("[" + b(X[pt]) + "]: " + b(y[X[pt]], y));
10651
10655
  return ae;
10652
10656
  }
10653
10657
  return Ao;
@@ -10989,22 +10993,22 @@ function p2() {
10989
10993
  };
10990
10994
  } else {
10991
10995
  var n = Qd(), i = ef(), o = /* @__PURE__ */ ut(), a = o("%Map%", !0), s = o("%Set%", !0), c = Vd(), u = c("Array.prototype.push"), f = c("String.prototype.charCodeAt"), d = c("String.prototype.slice"), h = function(N, $) {
10992
- var w = N.length;
10993
- if ($ + 1 >= w)
10996
+ var A = N.length;
10997
+ if ($ + 1 >= A)
10994
10998
  return $ + 1;
10995
- var A = f(N, $);
10996
- if (A < 55296 || A > 56319)
10999
+ var S = f(N, $);
11000
+ if (S < 55296 || S > 56319)
10997
11001
  return $ + 1;
10998
- var M = f(N, $ + 1);
10999
- return M < 56320 || M > 57343 ? $ + 1 : $ + 2;
11002
+ var P = f(N, $ + 1);
11003
+ return P < 56320 || P > 57343 ? $ + 1 : $ + 2;
11000
11004
  }, p = function(N) {
11001
11005
  var $ = 0;
11002
11006
  return {
11003
11007
  next: function() {
11004
- var A = $ >= N.length, M;
11005
- return A || (M = N[$], $ += 1), {
11006
- done: A,
11007
- value: M
11008
+ var S = $ >= N.length, P;
11009
+ return S || (P = N[$], $ += 1), {
11010
+ done: S,
11011
+ value: P
11008
11012
  };
11009
11013
  }
11010
11014
  };
@@ -11012,12 +11016,12 @@ function p2() {
11012
11016
  if (n(N) || e(N))
11013
11017
  return p(N);
11014
11018
  if (i(N)) {
11015
- var w = 0;
11019
+ var A = 0;
11016
11020
  return {
11017
11021
  next: function() {
11018
- var M = h(N, w), D = d(N, w, M);
11019
- return w = M, {
11020
- done: M > N.length,
11022
+ var P = h(N, A), D = d(N, A, P);
11023
+ return A = P, {
11024
+ done: P > N.length,
11021
11025
  value: D
11022
11026
  };
11023
11027
  }
@@ -11032,32 +11036,32 @@ function p2() {
11032
11036
  return m(N, !0);
11033
11037
  };
11034
11038
  else {
11035
- var v = /* @__PURE__ */ tf(), g = /* @__PURE__ */ rf(), x = c("Map.prototype.forEach", !0), S = c("Set.prototype.forEach", !0);
11039
+ var v = /* @__PURE__ */ tf(), g = /* @__PURE__ */ rf(), x = c("Map.prototype.forEach", !0), w = c("Set.prototype.forEach", !0);
11036
11040
  if (typeof process > "u" || !process.versions || !process.versions.node)
11037
- var I = c("Map.prototype.iterator", !0), E = c("Set.prototype.iterator", !0);
11038
- var C = c("Map.prototype.@@iterator", !0) || c("Map.prototype._es6-shim iterator_", !0), k = c("Set.prototype.@@iterator", !0) || c("Set.prototype._es6-shim iterator_", !0), L = function(N) {
11041
+ var T = c("Map.prototype.iterator", !0), I = c("Set.prototype.iterator", !0);
11042
+ var C = c("Map.prototype.@@iterator", !0) || c("Map.prototype._es6-shim iterator_", !0), M = c("Set.prototype.@@iterator", !0) || c("Set.prototype._es6-shim iterator_", !0), L = function(N) {
11039
11043
  if (v(N)) {
11040
- if (I)
11041
- return t(I(N));
11044
+ if (T)
11045
+ return t(T(N));
11042
11046
  if (C)
11043
11047
  return C(N);
11044
11048
  if (x) {
11045
11049
  var $ = [];
11046
- return x(N, function(A, M) {
11047
- u($, [M, A]);
11050
+ return x(N, function(S, P) {
11051
+ u($, [P, S]);
11048
11052
  }), p($);
11049
11053
  }
11050
11054
  }
11051
11055
  if (g(N)) {
11052
- if (E)
11053
- return t(E(N));
11054
- if (k)
11055
- return k(N);
11056
- if (S) {
11057
- var w = [];
11058
- return S(N, function(A) {
11059
- u(w, A);
11060
- }), p(w);
11056
+ if (I)
11057
+ return t(I(N));
11058
+ if (M)
11059
+ return M(N);
11060
+ if (w) {
11061
+ var A = [];
11062
+ return w(N, function(S) {
11063
+ u(A, S);
11064
+ }), p(A);
11061
11065
  }
11062
11066
  }
11063
11067
  };
@@ -11416,21 +11420,21 @@ function O2() {
11416
11420
  }), n = {}, t(function() {
11417
11421
  throw 42;
11418
11422
  }, null, r);
11419
- } catch (S) {
11420
- S !== n && (t = null);
11423
+ } catch (w) {
11424
+ w !== n && (t = null);
11421
11425
  }
11422
11426
  else
11423
11427
  t = null;
11424
- var i = /^\s*class\b/, o = function(I) {
11428
+ var i = /^\s*class\b/, o = function(T) {
11425
11429
  try {
11426
- var E = e.call(I);
11427
- return i.test(E);
11430
+ var I = e.call(T);
11431
+ return i.test(I);
11428
11432
  } catch {
11429
11433
  return !1;
11430
11434
  }
11431
- }, a = function(I) {
11435
+ }, a = function(T) {
11432
11436
  try {
11433
- return o(I) ? !1 : (e.call(I), !0);
11437
+ return o(T) ? !1 : (e.call(T), !0);
11434
11438
  } catch {
11435
11439
  return !1;
11436
11440
  }
@@ -11439,39 +11443,39 @@ function O2() {
11439
11443
  };
11440
11444
  if (typeof document == "object") {
11441
11445
  var x = document.all;
11442
- s.call(x) === s.call(document.all) && (g = function(I) {
11443
- if ((v || !I) && (typeof I > "u" || typeof I == "object"))
11446
+ s.call(x) === s.call(document.all) && (g = function(T) {
11447
+ if ((v || !T) && (typeof T > "u" || typeof T == "object"))
11444
11448
  try {
11445
- var E = s.call(I);
11446
- return (E === d || E === h || E === p || E === c) && I("") == null;
11449
+ var I = s.call(T);
11450
+ return (I === d || I === h || I === p || I === c) && T("") == null;
11447
11451
  } catch {
11448
11452
  }
11449
11453
  return !1;
11450
11454
  });
11451
11455
  }
11452
- return Yo = t ? function(I) {
11453
- if (g(I))
11456
+ return Yo = t ? function(T) {
11457
+ if (g(T))
11454
11458
  return !0;
11455
- if (!I || typeof I != "function" && typeof I != "object")
11459
+ if (!T || typeof T != "function" && typeof T != "object")
11456
11460
  return !1;
11457
11461
  try {
11458
- t(I, null, r);
11459
- } catch (E) {
11460
- if (E !== n)
11462
+ t(T, null, r);
11463
+ } catch (I) {
11464
+ if (I !== n)
11461
11465
  return !1;
11462
11466
  }
11463
- return !o(I) && a(I);
11464
- } : function(I) {
11465
- if (g(I))
11467
+ return !o(T) && a(T);
11468
+ } : function(T) {
11469
+ if (g(T))
11466
11470
  return !0;
11467
- if (!I || typeof I != "function" && typeof I != "object")
11471
+ if (!T || typeof T != "function" && typeof T != "object")
11468
11472
  return !1;
11469
11473
  if (m)
11470
- return a(I);
11471
- if (o(I))
11474
+ return a(T);
11475
+ if (o(T))
11472
11476
  return !1;
11473
- var E = s.call(I);
11474
- return E !== u && E !== f && !/^\[object HTML/.test(E) ? !1 : a(I);
11477
+ var I = s.call(T);
11478
+ return I !== u && I !== f && !/^\[object HTML/.test(I) ? !1 : a(T);
11475
11479
  }, Yo;
11476
11480
  }
11477
11481
  var Xo, eu;
@@ -11531,20 +11535,20 @@ function M2() {
11531
11535
  if (nu) return Qo;
11532
11536
  nu = 1;
11533
11537
  var e = P2(), t = /* @__PURE__ */ k2(), r = Xt(), n = /* @__PURE__ */ Ee(), i = /* @__PURE__ */ Mt(), o = n("Object.prototype.toString"), a = $t()(), s = typeof globalThis > "u" ? kn : globalThis, c = t(), u = n("String.prototype.slice"), f = Object.getPrototypeOf, d = n("Array.prototype.indexOf", !0) || function(g, x) {
11534
- for (var S = 0; S < g.length; S += 1)
11535
- if (g[S] === x)
11536
- return S;
11538
+ for (var w = 0; w < g.length; w += 1)
11539
+ if (g[w] === x)
11540
+ return w;
11537
11541
  return -1;
11538
11542
  }, h = { __proto__: null };
11539
11543
  a && i && f ? e(c, function(v) {
11540
11544
  var g = new s[v]();
11541
11545
  if (Symbol.toStringTag in g) {
11542
- var x = f(g), S = i(x, Symbol.toStringTag);
11543
- if (!S) {
11544
- var I = f(x);
11545
- S = i(I, Symbol.toStringTag);
11546
+ var x = f(g), w = i(x, Symbol.toStringTag);
11547
+ if (!w) {
11548
+ var T = f(x);
11549
+ w = i(T, Symbol.toStringTag);
11546
11550
  }
11547
- h["$" + v] = r(S.get);
11551
+ h["$" + v] = r(w.get);
11548
11552
  }
11549
11553
  }) : e(c, function(v) {
11550
11554
  var g = new s[v](), x = g.slice || g.set;
@@ -11558,10 +11562,10 @@ function M2() {
11558
11562
  /** @type {any} */
11559
11563
  h,
11560
11564
  /** @type {(getter: Getter, name: `\$${import('.').TypedArrayName}`) => void} */
11561
- function(S, I) {
11565
+ function(w, T) {
11562
11566
  if (!x)
11563
11567
  try {
11564
- "$" + S(g) === I && (x = u(I, 1));
11568
+ "$" + w(g) === T && (x = u(T, 1));
11565
11569
  } catch {
11566
11570
  }
11567
11571
  }
@@ -11574,10 +11578,10 @@ function M2() {
11574
11578
  /** @type {any} */
11575
11579
  h,
11576
11580
  /** @type {(getter: typeof cache, name: `\$${import('.').TypedArrayName}`) => void} */
11577
- function(S, I) {
11581
+ function(w, T) {
11578
11582
  if (!x)
11579
11583
  try {
11580
- S(g), x = u(I, 1);
11584
+ w(g), x = u(T, 1);
11581
11585
  } catch {
11582
11586
  }
11583
11587
  }
@@ -11606,11 +11610,11 @@ var ta, ou;
11606
11610
  function $2() {
11607
11611
  if (ou) return ta;
11608
11612
  ou = 1;
11609
- var e = r2(), t = Vd(), r = a2(), n = /* @__PURE__ */ ut(), i = p2(), o = Zd(), a = g2(), s = /* @__PURE__ */ Xd(), c = Qd(), u = /* @__PURE__ */ af(), f = /* @__PURE__ */ v2(), d = sf(), h = /* @__PURE__ */ y2(), p = os(), m = T2(), v = /* @__PURE__ */ R2(), g = /* @__PURE__ */ M2(), x = /* @__PURE__ */ L2(), S = t("SharedArrayBuffer.prototype.byteLength", !0), I = t("Date.prototype.getTime"), E = Object.getPrototypeOf, C = t("Object.prototype.toString"), k = n("%Set%", !0), L = t("Map.prototype.has", !0), P = t("Map.prototype.get", !0), N = t("Map.prototype.size", !0), $ = t("Set.prototype.add", !0), w = t("Set.prototype.delete", !0), A = t("Set.prototype.has", !0), M = t("Set.prototype.size", !0);
11610
- function D(R, _, W, U) {
11611
- for (var J = i(R), re; (re = J.next()) && !re.done; )
11612
- if (te(_, re.value, W, U))
11613
- return w(R, re.value), !0;
11613
+ var e = r2(), t = Vd(), r = a2(), n = /* @__PURE__ */ ut(), i = p2(), o = Zd(), a = g2(), s = /* @__PURE__ */ Xd(), c = Qd(), u = /* @__PURE__ */ af(), f = /* @__PURE__ */ v2(), d = sf(), h = /* @__PURE__ */ y2(), p = os(), m = T2(), v = /* @__PURE__ */ R2(), g = /* @__PURE__ */ M2(), x = /* @__PURE__ */ L2(), w = t("SharedArrayBuffer.prototype.byteLength", !0), T = t("Date.prototype.getTime"), I = Object.getPrototypeOf, C = t("Object.prototype.toString"), M = n("%Set%", !0), L = t("Map.prototype.has", !0), k = t("Map.prototype.get", !0), N = t("Map.prototype.size", !0), $ = t("Set.prototype.add", !0), A = t("Set.prototype.delete", !0), S = t("Set.prototype.has", !0), P = t("Set.prototype.size", !0);
11614
+ function D(R, _, G, U) {
11615
+ for (var Z = i(R), re; (re = Z.next()) && !re.done; )
11616
+ if (te(_, re.value, G, U))
11617
+ return A(R, re.value), !0;
11614
11618
  return !1;
11615
11619
  }
11616
11620
  function H(R) {
@@ -11619,103 +11623,103 @@ function $2() {
11619
11623
  if (typeof R != "object")
11620
11624
  return typeof R == "symbol" ? !1 : typeof R == "string" || typeof R == "number" ? +R == +R : !0;
11621
11625
  }
11622
- function j(R, _, W, U, J, re) {
11623
- var z = H(W);
11626
+ function j(R, _, G, U, Z, re) {
11627
+ var z = H(G);
11624
11628
  if (z != null)
11625
11629
  return z;
11626
- var q = P(_, z), B = e({}, J, { strict: !1 });
11630
+ var q = k(_, z), B = e({}, Z, { strict: !1 });
11627
11631
  return typeof q > "u" && !L(_, z) || !te(U, q, B, re) ? !1 : !L(R, z) && te(U, q, B, re);
11628
11632
  }
11629
- function ee(R, _, W) {
11630
- var U = H(W);
11631
- return U ?? (A(_, U) && !A(R, U));
11633
+ function W(R, _, G) {
11634
+ var U = H(G);
11635
+ return U ?? (S(_, U) && !S(R, U));
11632
11636
  }
11633
- function Z(R, _, W, U, J, re) {
11637
+ function Q(R, _, G, U, Z, re) {
11634
11638
  for (var z = i(R), q, B; (q = z.next()) && !q.done; )
11635
11639
  if (B = q.value, // eslint-disable-next-line no-use-before-define
11636
- te(W, B, J, re) && te(U, P(_, B), J, re))
11637
- return w(R, B), !0;
11640
+ te(G, B, Z, re) && te(U, k(_, B), Z, re))
11641
+ return A(R, B), !0;
11638
11642
  return !1;
11639
11643
  }
11640
- function te(R, _, W, U) {
11641
- var J = W || {};
11642
- if (J.strict ? a(R, _) : R === _)
11644
+ function te(R, _, G, U) {
11645
+ var Z = G || {};
11646
+ if (Z.strict ? a(R, _) : R === _)
11643
11647
  return !0;
11644
11648
  var re = m(R), z = m(_);
11645
11649
  if (re !== z)
11646
11650
  return !1;
11647
11651
  if (!R || !_ || typeof R != "object" && typeof _ != "object")
11648
- return J.strict ? a(R, _) : R == _;
11649
- var q = U.has(R), B = U.has(_), V;
11652
+ return Z.strict ? a(R, _) : R == _;
11653
+ var q = U.has(R), B = U.has(_), K;
11650
11654
  if (q && B) {
11651
11655
  if (U.get(R) === U.get(_))
11652
11656
  return !0;
11653
11657
  } else
11654
- V = {};
11655
- return q || U.set(R, V), B || U.set(_, V), Be(R, _, J, U);
11658
+ K = {};
11659
+ return q || U.set(R, K), B || U.set(_, K), Be(R, _, Z, U);
11656
11660
  }
11657
11661
  function ye(R) {
11658
11662
  return !R || typeof R != "object" || typeof R.length != "number" || typeof R.copy != "function" || typeof R.slice != "function" || R.length > 0 && typeof R[0] != "number" ? !1 : !!(R.constructor && R.constructor.isBuffer && R.constructor.isBuffer(R));
11659
11663
  }
11660
- function me(R, _, W, U) {
11661
- if (M(R) !== M(_))
11664
+ function me(R, _, G, U) {
11665
+ if (P(R) !== P(_))
11662
11666
  return !1;
11663
- for (var J = i(R), re = i(_), z, q, B; (z = J.next()) && !z.done; )
11667
+ for (var Z = i(R), re = i(_), z, q, B; (z = Z.next()) && !z.done; )
11664
11668
  if (z.value && typeof z.value == "object")
11665
- B || (B = new k()), $(B, z.value);
11666
- else if (!A(_, z.value)) {
11667
- if (W.strict || !ee(R, _, z.value))
11669
+ B || (B = new M()), $(B, z.value);
11670
+ else if (!S(_, z.value)) {
11671
+ if (G.strict || !W(R, _, z.value))
11668
11672
  return !1;
11669
- B || (B = new k()), $(B, z.value);
11673
+ B || (B = new M()), $(B, z.value);
11670
11674
  }
11671
11675
  if (B) {
11672
11676
  for (; (q = re.next()) && !q.done; )
11673
11677
  if (q.value && typeof q.value == "object") {
11674
- if (!D(B, q.value, W.strict, U))
11678
+ if (!D(B, q.value, G.strict, U))
11675
11679
  return !1;
11676
- } else if (!W.strict && !A(R, q.value) && !D(B, q.value, W.strict, U))
11680
+ } else if (!G.strict && !S(R, q.value) && !D(B, q.value, G.strict, U))
11677
11681
  return !1;
11678
- return M(B) === 0;
11682
+ return P(B) === 0;
11679
11683
  }
11680
11684
  return !0;
11681
11685
  }
11682
- function De(R, _, W, U) {
11686
+ function De(R, _, G, U) {
11683
11687
  if (N(R) !== N(_))
11684
11688
  return !1;
11685
- for (var J = i(R), re = i(_), z, q, B, V, ge, xe; (z = J.next()) && !z.done; )
11686
- if (V = z.value[0], ge = z.value[1], V && typeof V == "object")
11687
- B || (B = new k()), $(B, V);
11688
- else if (xe = P(_, V), typeof xe > "u" && !L(_, V) || !te(ge, xe, W, U)) {
11689
- if (W.strict || !j(R, _, V, ge, W, U))
11689
+ for (var Z = i(R), re = i(_), z, q, B, K, ge, xe; (z = Z.next()) && !z.done; )
11690
+ if (K = z.value[0], ge = z.value[1], K && typeof K == "object")
11691
+ B || (B = new M()), $(B, K);
11692
+ else if (xe = k(_, K), typeof xe > "u" && !L(_, K) || !te(ge, xe, G, U)) {
11693
+ if (G.strict || !j(R, _, K, ge, G, U))
11690
11694
  return !1;
11691
- B || (B = new k()), $(B, V);
11695
+ B || (B = new M()), $(B, K);
11692
11696
  }
11693
11697
  if (B) {
11694
11698
  for (; (q = re.next()) && !q.done; )
11695
- if (V = q.value[0], xe = q.value[1], V && typeof V == "object") {
11696
- if (!Z(B, R, V, xe, W, U))
11699
+ if (K = q.value[0], xe = q.value[1], K && typeof K == "object") {
11700
+ if (!Q(B, R, K, xe, G, U))
11697
11701
  return !1;
11698
- } else if (!W.strict && (!R.has(V) || !te(P(R, V), xe, W, U)) && !Z(B, R, V, xe, e({}, W, { strict: !1 }), U))
11702
+ } else if (!G.strict && (!R.has(K) || !te(k(R, K), xe, G, U)) && !Q(B, R, K, xe, e({}, G, { strict: !1 }), U))
11699
11703
  return !1;
11700
- return M(B) === 0;
11704
+ return P(B) === 0;
11701
11705
  }
11702
11706
  return !0;
11703
11707
  }
11704
- function Be(R, _, W, U) {
11705
- var J, re;
11708
+ function Be(R, _, G, U) {
11709
+ var Z, re;
11706
11710
  if (typeof R != typeof _ || R == null || _ == null || C(R) !== C(_) || s(R) !== s(_))
11707
11711
  return !1;
11708
11712
  var z = c(R), q = c(_);
11709
11713
  if (z !== q)
11710
11714
  return !1;
11711
- var B = R instanceof Error, V = _ instanceof Error;
11712
- if (B !== V || (B || V) && (R.name !== _.name || R.message !== _.message))
11715
+ var B = R instanceof Error, K = _ instanceof Error;
11716
+ if (B !== K || (B || K) && (R.name !== _.name || R.message !== _.message))
11713
11717
  return !1;
11714
11718
  var ge = d(R), xe = d(_);
11715
11719
  if (ge !== xe || (ge || xe) && (R.source !== _.source || r(R) !== r(_)))
11716
11720
  return !1;
11717
11721
  var be = f(R), Ae = f(_);
11718
- if (be !== Ae || (be || Ae) && I(R) !== I(_) || W.strict && E && E(R) !== E(_))
11722
+ if (be !== Ae || (be || Ae) && T(R) !== T(_) || G.strict && I && I(R) !== I(_))
11719
11723
  return !1;
11720
11724
  var Ie = g(R), Ye = g(_);
11721
11725
  if (Ie !== Ye)
@@ -11723,8 +11727,8 @@ function $2() {
11723
11727
  if (Ie || Ye) {
11724
11728
  if (R.length !== _.length)
11725
11729
  return !1;
11726
- for (J = 0; J < R.length; J++)
11727
- if (R[J] !== _[J])
11730
+ for (Z = 0; Z < R.length; Z++)
11731
+ if (R[Z] !== _[Z])
11728
11732
  return !1;
11729
11733
  return !0;
11730
11734
  }
@@ -11734,8 +11738,8 @@ function $2() {
11734
11738
  if (je || Re) {
11735
11739
  if (R.length !== _.length)
11736
11740
  return !1;
11737
- for (J = 0; J < R.length; J++)
11738
- if (R[J] !== _[J])
11741
+ for (Z = 0; Z < R.length; Z++)
11742
+ if (R[Z] !== _[Z])
11739
11743
  return !1;
11740
11744
  return !0;
11741
11745
  }
@@ -11743,28 +11747,28 @@ function $2() {
11743
11747
  if (Xe !== Je)
11744
11748
  return !1;
11745
11749
  if (Xe || Je)
11746
- return x(R) !== x(_) ? !1 : typeof Uint8Array == "function" && te(new Uint8Array(R), new Uint8Array(_), W, U);
11750
+ return x(R) !== x(_) ? !1 : typeof Uint8Array == "function" && te(new Uint8Array(R), new Uint8Array(_), G, U);
11747
11751
  var Ze = h(R), kr = h(_);
11748
11752
  if (Ze !== kr)
11749
11753
  return !1;
11750
11754
  if (Ze || kr)
11751
- return S(R) !== S(_) ? !1 : typeof Uint8Array == "function" && te(new Uint8Array(R), new Uint8Array(_), W, U);
11755
+ return w(R) !== w(_) ? !1 : typeof Uint8Array == "function" && te(new Uint8Array(R), new Uint8Array(_), G, U);
11752
11756
  if (typeof R != typeof _)
11753
11757
  return !1;
11754
11758
  var dt = p(R), _t = p(_);
11755
11759
  if (dt.length !== _t.length)
11756
11760
  return !1;
11757
- for (dt.sort(), _t.sort(), J = dt.length - 1; J >= 0; J--)
11758
- if (dt[J] != _t[J])
11761
+ for (dt.sort(), _t.sort(), Z = dt.length - 1; Z >= 0; Z--)
11762
+ if (dt[Z] != _t[Z])
11759
11763
  return !1;
11760
- for (J = dt.length - 1; J >= 0; J--)
11761
- if (re = dt[J], !te(R[re], _[re], W, U))
11764
+ for (Z = dt.length - 1; Z >= 0; Z--)
11765
+ if (re = dt[Z], !te(R[re], _[re], G, U))
11762
11766
  return !1;
11763
11767
  var Jt = v(R), ft = v(_);
11764
- return Jt !== ft ? !1 : Jt === "Set" || ft === "Set" ? me(R, _, W, U) : Jt === "Map" ? De(R, _, W, U) : !0;
11768
+ return Jt !== ft ? !1 : Jt === "Set" || ft === "Set" ? me(R, _, G, U) : Jt === "Map" ? De(R, _, G, U) : !0;
11765
11769
  }
11766
- return ta = function(_, W, U) {
11767
- return te(_, W, U, o());
11770
+ return ta = function(_, G, U) {
11771
+ return te(_, G, U, o());
11768
11772
  }, ta;
11769
11773
  }
11770
11774
  var _2 = $2();
@@ -11773,7 +11777,7 @@ function B2(e) {
11773
11777
  return e;
11774
11778
  }
11775
11779
  function j2(e, t, r, n) {
11776
- const i = B2, [o, a] = X(i(r)), s = ot(o);
11780
+ const i = B2, [o, a] = J(i(r)), s = ot(o);
11777
11781
  return pe(() => {
11778
11782
  const c = () => {
11779
11783
  const u = { ...r, ...e.getAttributes(t) };
@@ -11794,7 +11798,7 @@ function z2({ editor: e }) {
11794
11798
  height: 0,
11795
11799
  src: "",
11796
11800
  defaultShowPicker: !1
11797
- }), [o, a] = X(!1), [s, c] = X(""), u = oe(() => {
11801
+ }), [o, a] = J(!1), [s, c] = J(""), u = oe(() => {
11798
11802
  a(!1);
11799
11803
  }, [a]);
11800
11804
  pe(() => {
@@ -11815,7 +11819,7 @@ function z2({ editor: e }) {
11815
11819
  },
11816
11820
  [e]
11817
11821
  ), m = oe(() => e.isActive(zt.name) && !i, [e, i]), v = oe(() => Cd(zt.name, e), [e]);
11818
- return /* @__PURE__ */ T(de, { children: [
11822
+ return /* @__PURE__ */ E(de, { children: [
11819
11823
  /* @__PURE__ */ l(
11820
11824
  St,
11821
11825
  {
@@ -11834,7 +11838,7 @@ function z2({ editor: e }) {
11834
11838
  // toggleVisible(false)
11835
11839
  // },
11836
11840
  },
11837
- children: /* @__PURE__ */ T("div", { className: "richtext-pointer-events-auto richtext-w-auto richtext-select-none richtext-rounded-sm !richtext-border richtext-border-neutral-200 richtext-bg-background richtext-px-3 richtext-py-2 richtext-shadow-sm richtext-transition-all dark:richtext-border-neutral-800", children: [
11841
+ children: /* @__PURE__ */ E("div", { className: "richtext-pointer-events-auto richtext-w-auto richtext-select-none richtext-rounded-sm !richtext-border richtext-border-neutral-200 richtext-bg-background richtext-px-3 richtext-py-2 richtext-shadow-sm richtext-transition-all dark:richtext-border-neutral-800", children: [
11838
11842
  /* @__PURE__ */ l(
11839
11843
  F,
11840
11844
  {
@@ -11877,14 +11881,14 @@ function z2({ editor: e }) {
11877
11881
  ] })
11878
11882
  }
11879
11883
  ),
11880
- /* @__PURE__ */ T(
11884
+ /* @__PURE__ */ E(
11881
11885
  jn,
11882
11886
  {
11883
11887
  onOpenChange: a,
11884
11888
  open: o,
11885
11889
  children: [
11886
11890
  /* @__PURE__ */ l(zn, {}),
11887
- /* @__PURE__ */ T(Ir, { children: [
11891
+ /* @__PURE__ */ E(Ir, { children: [
11888
11892
  /* @__PURE__ */ l(vd, { children: /* @__PURE__ */ l(Rr, { children: "Edit Link Iframe" }) }),
11889
11893
  /* @__PURE__ */ l(
11890
11894
  Ne,
@@ -11896,7 +11900,7 @@ function z2({ editor: e }) {
11896
11900
  value: s
11897
11901
  }
11898
11902
  ),
11899
- /* @__PURE__ */ T(Za, { children: [
11903
+ /* @__PURE__ */ E(Za, { children: [
11900
11904
  /* @__PURE__ */ l(Ce, { onClick: u, children: "Cancel" }),
11901
11905
  /* @__PURE__ */ l(Ce, { onClick: f, children: "OK" })
11902
11906
  ] })
@@ -12001,7 +12005,7 @@ function q2(e) {
12001
12005
  for (let v = 0; v < p.length; v += 10)
12002
12006
  m.push(p.slice(v, v + 10));
12003
12007
  return m;
12004
- }, [s]), [u, f] = X([]), d = (p) => {
12008
+ }, [s]), [u, f] = J([]), d = (p) => {
12005
12009
  const m = [...u], v = m.indexOf(p);
12006
12010
  v !== -1 && m.splice(v, 1), m.unshift(p), m.length > 10 && m.pop(), f(m);
12007
12011
  };
@@ -12012,7 +12016,7 @@ function q2(e) {
12012
12016
  }
12013
12017
  /^#([\da-f]{3}){1,2}$/i.test(p) && (o == null || o(p), a == null || a(p), d(p));
12014
12018
  }
12015
- return /* @__PURE__ */ T(Or, { modal: !0, children: [
12019
+ return /* @__PURE__ */ E(Or, { modal: !0, children: [
12016
12020
  /* @__PURE__ */ l(
12017
12021
  Pr,
12018
12022
  {
@@ -12029,8 +12033,8 @@ function q2(e) {
12029
12033
  className: "richtext-size-full richtext-p-2",
12030
12034
  hideWhenDetached: !0,
12031
12035
  side: "bottom",
12032
- children: /* @__PURE__ */ T("div", { className: "richtext-flex richtext-flex-col", children: [
12033
- r ? /* @__PURE__ */ T(
12036
+ children: /* @__PURE__ */ E("div", { className: "richtext-flex richtext-flex-col", children: [
12037
+ r ? /* @__PURE__ */ E(
12034
12038
  "div",
12035
12039
  {
12036
12040
  className: "rd-1 richtext-flex richtext-cursor-pointer richtext-items-center richtext-gap-[4px] richtext-p-1 hover:richtext-bg-accent",
@@ -12040,7 +12044,7 @@ function q2(e) {
12040
12044
  /* @__PURE__ */ l("span", { className: "richtext-ml-1 richtext-text-sm", children: t("editor.nofill") })
12041
12045
  ]
12042
12046
  }
12043
- ) : /* @__PURE__ */ T(
12047
+ ) : /* @__PURE__ */ E(
12044
12048
  "div",
12045
12049
  {
12046
12050
  className: "rd-1 richtext-flex richtext-cursor-pointer richtext-items-center richtext-gap-[4px] richtext-p-1 hover:richtext-bg-accent",
@@ -12098,7 +12102,7 @@ function q2(e) {
12098
12102
  },
12099
12103
  m
12100
12104
  )),
12101
- /* @__PURE__ */ T("div", { children: [
12105
+ /* @__PURE__ */ E("div", { children: [
12102
12106
  /* @__PURE__ */ l("div", { className: "richtext-my-1 richtext-text-sm", children: t("editor.recent") }),
12103
12107
  /* @__PURE__ */ l("span", { className: "richtext-relative richtext-flex richtext-h-auto richtext-w-full richtext-p-0 last:richtext-pb-2", children: u == null ? void 0 : u.map((p, m) => /* @__PURE__ */ l(
12104
12108
  "span",
@@ -12136,11 +12140,11 @@ function q2(e) {
12136
12140
  ] });
12137
12141
  }
12138
12142
  function F2({ setColor: e }) {
12139
- const [t, r] = X("#000000"), [n, i] = X(!1), { t: o } = Se();
12143
+ const [t, r] = J("#000000"), [n, i] = J(!1), { t: o } = Se();
12140
12144
  return pe(() => () => {
12141
12145
  i(!1);
12142
- }, []), /* @__PURE__ */ T(Or, { open: n, children: [
12143
- /* @__PURE__ */ l(Pr, { asChild: !0, children: /* @__PURE__ */ T(
12146
+ }, []), /* @__PURE__ */ E(Or, { open: n, children: [
12147
+ /* @__PURE__ */ l(Pr, { asChild: !0, children: /* @__PURE__ */ E(
12144
12148
  "div",
12145
12149
  {
12146
12150
  className: "richtext-p-1.5 richtext-text-sm hover:richtext-cursor-pointer hover:richtext-bg-accent",
@@ -12153,8 +12157,8 @@ function F2({ setColor: e }) {
12153
12157
  ]
12154
12158
  }
12155
12159
  ) }),
12156
- /* @__PURE__ */ T(Kt, { children: [
12157
- /* @__PURE__ */ T("div", { className: "richtext-flex richtext-flex-col richtext-items-center richtext-justify-center", children: [
12160
+ /* @__PURE__ */ E(Kt, { children: [
12161
+ /* @__PURE__ */ E("div", { className: "richtext-flex richtext-flex-col richtext-items-center richtext-justify-center", children: [
12158
12162
  /* @__PURE__ */ l(
12159
12163
  Ap,
12160
12164
  {
@@ -12210,10 +12214,10 @@ function U2({ editor: e, disabled: t, toolbar: r }) {
12210
12214
  t: n
12211
12215
  });
12212
12216
  if (Array.isArray(g)) {
12213
- const x = g.map((S, I) => ({
12214
- button: S,
12215
- divider: I === g.length - 1 ? p : !1,
12216
- spacer: I === 0 ? m : !1,
12217
+ const x = g.map((w, T) => ({
12218
+ button: w,
12219
+ divider: T === g.length - 1 ? p : !1,
12220
+ spacer: T === 0 ? m : !1,
12217
12221
  type: d.type,
12218
12222
  name: d.name
12219
12223
  }));
@@ -12242,7 +12246,7 @@ function U2({ editor: e, disabled: t, toolbar: r }) {
12242
12246
  ), s = o.map((c, u) => {
12243
12247
  var d, h;
12244
12248
  const f = c.button.component;
12245
- return /* @__PURE__ */ T("div", { className: "richtext-flex richtext-items-center", children: [
12249
+ return /* @__PURE__ */ E("div", { className: "richtext-flex richtext-items-center", children: [
12246
12250
  (c == null ? void 0 : c.spacer) && /* @__PURE__ */ l(We, { orientation: "vertical", className: "!richtext-h-[16px] !richtext-mx-[10px]" }),
12247
12251
  /* @__PURE__ */ l(
12248
12252
  f,
@@ -12261,13 +12265,13 @@ function W2({ editor: e, extensions: t }) {
12261
12265
  var i, o, a;
12262
12266
  return (a = (o = (i = t == null ? void 0 : t.find((s) => s.name === "base-kit")) == null ? void 0 : i.options) == null ? void 0 : o.characterCount) == null ? void 0 : a.limit;
12263
12267
  }, [t]);
12264
- return n ? /* @__PURE__ */ l("div", { className: "richtext-flex richtext-items-center richtext-justify-between richtext-p-3 richtext-border-t", children: /* @__PURE__ */ l("div", { className: "richtext-flex richtext-flex-col", children: /* @__PURE__ */ l("div", { className: "richtext-flex richtext-justify-end richtext-gap-3 richtext-text-sm", children: /* @__PURE__ */ T("span", { children: [
12268
+ return n ? /* @__PURE__ */ l("div", { className: "richtext-flex richtext-items-center richtext-justify-between richtext-p-3 richtext-border-t", children: /* @__PURE__ */ l("div", { className: "richtext-flex richtext-flex-col", children: /* @__PURE__ */ l("div", { className: "richtext-flex richtext-justify-end richtext-gap-3 richtext-text-sm", children: /* @__PURE__ */ E("span", { children: [
12265
12269
  e.storage.characterCount.characters(),
12266
12270
  "/",
12267
12271
  n,
12268
12272
  " ",
12269
12273
  r("editor.characters")
12270
- ] }) }) }) }) : /* @__PURE__ */ l("div", { className: "richtext-flex richtext-items-center richtext-justify-between richtext-p-3 richtext-border-t", children: /* @__PURE__ */ l("div", { className: "richtext-flex richtext-flex-col", children: /* @__PURE__ */ l("div", { className: "richtext-flex richtext-justify-end richtext-gap-3 richtext-text-sm", children: /* @__PURE__ */ T("span", { children: [
12274
+ ] }) }) }) }) : /* @__PURE__ */ l("div", { className: "richtext-flex richtext-items-center richtext-justify-between richtext-p-3 richtext-border-t", children: /* @__PURE__ */ l("div", { className: "richtext-flex richtext-flex-col", children: /* @__PURE__ */ l("div", { className: "richtext-flex richtext-justify-end richtext-gap-3 richtext-text-sm", children: /* @__PURE__ */ E("span", { children: [
12271
12275
  e.storage.characterCount.characters(),
12272
12276
  " ",
12273
12277
  r("editor.characters")
@@ -12275,13 +12279,13 @@ function W2({ editor: e, extensions: t }) {
12275
12279
  }
12276
12280
  function G2() {
12277
12281
  const { toasts: e } = is();
12278
- return /* @__PURE__ */ T(eb, { children: [
12279
- e.map(({ id: t, title: r, description: n, action: i, ...o }) => /* @__PURE__ */ T(
12282
+ return /* @__PURE__ */ E(eb, { children: [
12283
+ e.map(({ id: t, title: r, description: n, action: i, ...o }) => /* @__PURE__ */ E(
12280
12284
  Pd,
12281
12285
  {
12282
12286
  ...o,
12283
12287
  children: [
12284
- /* @__PURE__ */ T("div", { className: "richtext-grid richtext-gap-1", children: [
12288
+ /* @__PURE__ */ E("div", { className: "richtext-grid richtext-gap-1", children: [
12285
12289
  r && /* @__PURE__ */ l(kd, { children: r }),
12286
12290
  n && /* @__PURE__ */ l(Md, { children: n })
12287
12291
  ] }),
@@ -12567,7 +12571,7 @@ function nw(e, t) {
12567
12571
  (d = c == null ? void 0 : c.destroy) == null || d.call(c);
12568
12572
  }, []);
12569
12573
  const f = Lx(c, "characterCount");
12570
- return c ? /* @__PURE__ */ T("div", { className: "reactjs-tiptap-editor", children: [
12574
+ return c ? /* @__PURE__ */ E("div", { className: "reactjs-tiptap-editor", children: [
12571
12575
  /* @__PURE__ */ l(
12572
12576
  Y2,
12573
12577
  {
@@ -12577,7 +12581,7 @@ function nw(e, t) {
12577
12581
  {
12578
12582
  delayDuration: 0,
12579
12583
  disableHoverableContent: !0,
12580
- children: /* @__PURE__ */ l("div", { className: "richtext-overflow-hidden richtext-rounded-[0.5rem] richtext-bg-background richtext-shadow richtext-outline richtext-outline-1", children: /* @__PURE__ */ T("div", { className: "richtext-flex richtext-max-h-full richtext-w-full richtext-flex-col", children: [
12584
+ children: /* @__PURE__ */ l("div", { className: "richtext-overflow-hidden richtext-rounded-[0.5rem] richtext-bg-background richtext-shadow richtext-outline richtext-outline-1", children: /* @__PURE__ */ E("div", { className: "richtext-flex richtext-max-h-full richtext-w-full richtext-flex-col", children: [
12581
12585
  !(e != null && e.hideToolbar) && /* @__PURE__ */ l(
12582
12586
  U2,
12583
12587
  {
@@ -12668,7 +12672,7 @@ export {
12668
12672
  zt as ai,
12669
12673
  ns as b,
12670
12674
  xw as c,
12671
- Q as d,
12675
+ ee as d,
12672
12676
  Kx as e,
12673
12677
  Td as f,
12674
12678
  Dv as g,