@uva-glass/component-library 3.41.1 → 3.42.0

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 (98) hide show
  1. package/dist/{Lexical.prod-7x3WP3vd.js → Lexical.prod-C1B_JvcI.js} +100 -99
  2. package/dist/Lexical.prod-C1B_JvcI.js.map +1 -0
  3. package/dist/{LexicalClipboard.prod-BMLLh6JL.js → LexicalClipboard.prod-Dd64YQH0.js} +10 -10
  4. package/dist/{LexicalClipboard.prod-BMLLh6JL.js.map → LexicalClipboard.prod-Dd64YQH0.js.map} +1 -1
  5. package/dist/{LexicalLink.prod-Dr6L083o.js → LexicalLink.prod-ldhpNY9X.js} +3 -3
  6. package/dist/{LexicalLink.prod-Dr6L083o.js.map → LexicalLink.prod-ldhpNY9X.js.map} +1 -1
  7. package/dist/{LexicalList.prod-nl__pKjG.js → LexicalList.prod-7DmvPZ_J.js} +4 -4
  8. package/dist/{LexicalList.prod-nl__pKjG.js.map → LexicalList.prod-7DmvPZ_J.js.map} +1 -1
  9. package/dist/{LexicalSelection.prod-CB_xP0pP.js → LexicalSelection.prod-Dmiwka3x.js} +5 -5
  10. package/dist/{LexicalSelection.prod-CB_xP0pP.js.map → LexicalSelection.prod-Dmiwka3x.js.map} +1 -1
  11. package/dist/{LexicalTable.prod-CwkGGOke.js → LexicalTable.prod-iqHmKv_G.js} +666 -625
  12. package/dist/LexicalTable.prod-iqHmKv_G.js.map +1 -0
  13. package/dist/LexicalUtils.prod-w0fZ_Z8S.js +123 -0
  14. package/dist/{LexicalUtils.prod-CtYaCJNB.js.map → LexicalUtils.prod-w0fZ_Z8S.js.map} +1 -1
  15. package/dist/RteEditor.module-dE9wQTC9.js +42 -0
  16. package/dist/RteEditor.module-dE9wQTC9.js.map +1 -0
  17. package/dist/TableCellResizerPlugin-D6jjhYoD.js +239 -0
  18. package/dist/TableCellResizerPlugin-D6jjhYoD.js.map +1 -0
  19. package/dist/TablePlugin-cMMBdz-x.js +306 -0
  20. package/dist/TablePlugin-cMMBdz-x.js.map +1 -0
  21. package/dist/assets/RteEditor.css +1 -1
  22. package/dist/assets/TableCellResizerPlugin.css +1 -0
  23. package/dist/components/CheckboxTree/CheckboxTree.js +9 -8
  24. package/dist/components/CheckboxTree/CheckboxTree.js.map +1 -1
  25. package/dist/components/FormInput/FormInput.js +4 -3
  26. package/dist/components/FormInput/FormInput.js.map +1 -1
  27. package/dist/components/InputField/InputField.stories.js +4 -3
  28. package/dist/components/InputField/InputField.stories.js.map +1 -1
  29. package/dist/components/MultiSelect/MultiSelect.js +1 -1
  30. package/dist/components/MultiSelect/MultiSelect.stories.js +1 -1
  31. package/dist/components/MultiSelect/components/MultiSelectHeader.js +3 -2
  32. package/dist/components/MultiSelect/components/MultiSelectHeader.js.map +1 -1
  33. package/dist/components/MultiSelect/index.js +1 -1
  34. package/dist/components/PeriodSelector/PeriodSelector.js +4 -3
  35. package/dist/components/PeriodSelector/PeriodSelector.js.map +1 -1
  36. package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +4 -3
  37. package/dist/components/ProgrammeCard/ProgrammeCard.stories.js.map +1 -1
  38. package/dist/components/RadioTabSelector/RadioTabSelector.js +4 -3
  39. package/dist/components/RadioTabSelector/RadioTabSelector.js.map +1 -1
  40. package/dist/components/RteEditor/EditorHeader/EditorHeader.js +4 -3
  41. package/dist/components/RteEditor/EditorHeader/EditorHeader.js.map +1 -1
  42. package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js +2 -2
  43. package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js +14 -13
  44. package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js.map +1 -1
  45. package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js +5 -4
  46. package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js.map +1 -1
  47. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js +1 -1
  48. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js +26 -25
  49. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js.map +1 -1
  50. package/dist/components/RteEditor/Plugins/LinkPlugin/helpers.js +1 -1
  51. package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js +6 -6
  52. package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/PasteHandlerPlugin.js +3 -3
  53. package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/TableCellResizerPlugin.d.ts +2 -0
  54. package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/TableCellResizerPlugin.js +13 -0
  55. package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/TableCellResizerPlugin.js.map +1 -0
  56. package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/index.d.ts +1 -0
  57. package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/index.js +5 -0
  58. package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/index.js.map +1 -0
  59. package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js +4 -3
  60. package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js.map +1 -1
  61. package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js +9 -6
  62. package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js.map +1 -1
  63. package/dist/components/RteEditor/Plugins/TablePlugin/helpers.d.ts +9 -1
  64. package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js +73 -56
  65. package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js.map +1 -1
  66. package/dist/components/RteEditor/Plugins/TablePlugin/index.js +1 -1
  67. package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js +11 -9
  68. package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js.map +1 -1
  69. package/dist/components/RteEditor/Plugins/index.d.ts +2 -0
  70. package/dist/components/RteEditor/Plugins/index.js +13 -9
  71. package/dist/components/RteEditor/Plugins/index.js.map +1 -1
  72. package/dist/components/RteEditor/RteEditor.js +275 -287
  73. package/dist/components/RteEditor/RteEditor.js.map +1 -1
  74. package/dist/components/RteEditor/UvaTheme/UvaTheme.d.ts +1 -0
  75. package/dist/components/RteEditor/UvaTheme/UvaTheme.js +2 -1
  76. package/dist/components/RteEditor/UvaTheme/UvaTheme.js.map +1 -1
  77. package/dist/components/RteEditor/helpers.js +4 -4
  78. package/dist/components/RteEditor/nodes/TableWrapperNode/TableWrapperNode.d.ts +15 -0
  79. package/dist/components/RteEditor/nodes/TableWrapperNode/TableWrapperNode.js +69 -0
  80. package/dist/components/RteEditor/nodes/TableWrapperNode/TableWrapperNode.js.map +1 -0
  81. package/dist/components/RteEditor/nodes/TableWrapperNode/index.d.ts +1 -0
  82. package/dist/components/RteEditor/nodes/TableWrapperNode/index.js +10 -0
  83. package/dist/components/RteEditor/nodes/TableWrapperNode/index.js.map +1 -0
  84. package/dist/components/RteEditor/nodes/index.d.ts +1 -0
  85. package/dist/components/RteEditor/nodes/index.js +10 -0
  86. package/dist/components/RteEditor/nodes/index.js.map +1 -0
  87. package/dist/components/index.js +1 -1
  88. package/dist/{helpers-B0VCD9f3.js → helpers-BO6Gg9y6.js} +4 -4
  89. package/dist/{helpers-B0VCD9f3.js.map → helpers-BO6Gg9y6.js.map} +1 -1
  90. package/dist/index.js +1 -1
  91. package/package.json +1 -1
  92. package/dist/Lexical.prod-7x3WP3vd.js.map +0 -1
  93. package/dist/LexicalTable.prod-CwkGGOke.js.map +0 -1
  94. package/dist/LexicalUtils.prod-CtYaCJNB.js +0 -107
  95. package/dist/RteEditor.module-B_3uFnFu.js +0 -41
  96. package/dist/RteEditor.module-B_3uFnFu.js.map +0 -1
  97. package/dist/TablePlugin-DNGtPPjq.js +0 -301
  98. package/dist/TablePlugin-DNGtPPjq.js.map +0 -1
@@ -1,22 +1,23 @@
1
- import { jsx as h, jsxs as K, Fragment as Re } from "react/jsx-runtime";
2
- import { t as Ge, r as Ye, o as P } from "../../LexicalComposerContext.prod-DLlRM5wP.js";
3
- import { aJ as Me, ag as z, B as Ie, P as p, aK as de, an as j, x as J, W as Qe, s as I, _ as g, X as Ze, J as m, aL as et, af as Fe, d as tt, r as Oe, aM as rt, aN as nt, L as ot, y as T, aF as at, aO as st, aP as it, aQ as lt, T as te, aR as ut, aS as ct, a2 as dt, E as ft, M as mt, K as pt, aT as gt, aU as me, a as pe, H as ht, C as re, G as vt, a3 as Ke, aV as ge, w as Ct, u as yt, t as Et, aW as he, D as wt, aX as bt, aY as _t, aZ as St, aE as kt, Q as xt, N as Nt, a_ as Lt, R as $t, A as Dt, z as Tt, n as Pt, $ as ve, a$ as Rt, c as Mt, at as G, as as Y, b0 as It, b1 as Ft, av as Ot, b2 as se, au as Kt, b3 as At } from "../../Lexical.prod-7x3WP3vd.js";
1
+ import { jsx as h, jsxs as z, Fragment as Re } from "react/jsx-runtime";
2
+ import { t as Ge, r as Ye, o as I } from "../../LexicalComposerContext.prod-DLlRM5wP.js";
3
+ import { aK as Me, ah as F, B as Ie, P as p, aL as de, ao as H, x as j, W as Ve, s as M, _ as g, a0 as Ze, J as m, aM as Qe, af as Oe, d as et, t as Ke, aN as tt, aO as rt, R as nt, y as T, aG as ot, aP as at, aQ as st, aR as it, T as ee, aS as lt, aT as ut, a5 as ct, E as dt, M as ft, K as mt, aU as pt, aV as me, a as pe, N as gt, H as re, L as ht, a6 as ze, aW as ge, z as vt, w as Ct, u as yt, aX as he, D as Et, aY as wt, aZ as bt, a_ as _t, aF as St, Y as kt, X as xt, a$ as Nt, Z as Dt, G as Lt, C as $t, p as Tt, $ as ve, b0 as Pt, c as Rt, au as G, at as Y, b1 as Mt, b2 as It, aw as Ot, b3 as se, av as Kt, b4 as zt } from "../../Lexical.prod-C1B_JvcI.js";
4
4
  import * as ne from "react";
5
- import { useMemo as X, useLayoutEffect as U, useEffect as S, useState as F, useRef as Ae, Suspense as zt, forwardRef as ze, useCallback as Bt } from "react";
6
- import { j as H, L as A, y as Ut, w as fe } from "../../LexicalUtils.prod-CtYaCJNB.js";
7
- import { flushSync as Ht, createPortal as Wt } from "react-dom";
8
- import { A as Ce, F as ye, m as jt, g as Jt } from "../../LexicalClipboard.prod-BMLLh6JL.js";
9
- import { X as Ee, J as we } from "../../LexicalSelection.prod-CB_xP0pP.js";
10
- import { r as Be, Y as Ue, v as Xt, S as qt } from "../../LexicalList.prod-nl__pKjG.js";
11
- import { g as He, k as be, v as oe, p as Vt, m as Gt } from "../../LexicalLink.prod-Dr6L083o.js";
12
- import { s as Yt, c as Qt, a as We, b as Zt, w as er, S as tr, y as je, O as rr } from "../../LexicalTable.prod-CwkGGOke.js";
13
- import { a as nr, w as or, M as ar } from "../../helpers-B0VCD9f3.js";
14
- import { c as sr } from "../../clsx-OuTLNxxd.js";
15
- import { exportMap as ir, isStartingWithHtmlTag as lr, mergeBoldStrongTags as ur } from "./helpers.js";
16
- import { s as M } from "../../RteEditor.module-B_3uFnFu.js";
17
- import { ToolBarPlugin as cr } from "./Plugins/ToolbarPlugin/ToolbarPlugin.js";
18
- import { useTranslation as dr } from "./hooks/useTranslation.js";
19
- import "../../TablePlugin-DNGtPPjq.js";
5
+ import { useMemo as te, useLayoutEffect as J, useEffect as S, useState as O, Suspense as At, forwardRef as Ae, useCallback as Ft, useRef as Bt } from "react";
6
+ import { a as Ut, T as Wt } from "../../TableCellResizerPlugin-D6jjhYoD.js";
7
+ import { j as U, L as A, y as Ht, w as fe } from "../../LexicalUtils.prod-w0fZ_Z8S.js";
8
+ import { flushSync as jt, createPortal as Jt } from "react-dom";
9
+ import { A as Ce, F as ye, m as Xt, g as qt } from "../../LexicalClipboard.prod-Dd64YQH0.js";
10
+ import { X as Ee, J as we } from "../../LexicalSelection.prod-Dmiwka3x.js";
11
+ import { r as Fe, Y as Be, v as Gt, S as Yt } from "../../LexicalList.prod-7DmvPZ_J.js";
12
+ import { g as Ue, k as be, v as oe, p as Vt, m as Zt } from "../../LexicalLink.prod-ldhpNY9X.js";
13
+ import { s as Qt, d as er, a as We, e as tr, w as rr, S as nr, y as He, O as or } from "../../LexicalTable.prod-iqHmKv_G.js";
14
+ import { a as ar, w as sr, M as ir } from "../../helpers-BO6Gg9y6.js";
15
+ import { c as lr } from "../../clsx-OuTLNxxd.js";
16
+ import { exportMap as ur, isStartingWithHtmlTag as cr, mergeBoldStrongTags as dr } from "./helpers.js";
17
+ import { s as R } from "../../RteEditor.module-dE9wQTC9.js";
18
+ import { ToolBarPlugin as fr } from "./Plugins/ToolbarPlugin/ToolbarPlugin.js";
19
+ import { useTranslation as mr } from "./hooks/useTranslation.js";
20
+ import "../../TablePlugin-cMMBdz-x.js";
20
21
  import "./Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js";
21
22
  import "./hooks/components/Flyout.js";
22
23
  import "../Accordion/Accordion.js";
@@ -24,7 +25,7 @@ import "../Buttons/Button.js";
24
25
  import "../Buttons/LinkButton.js";
25
26
  import "@react-aria/button";
26
27
  import "../Checkbox/Checkbox.js";
27
- import { FeedbackBox as fr } from "../FeedbackBox/FeedbackBox.js";
28
+ import { FeedbackBox as pr } from "../FeedbackBox/FeedbackBox.js";
28
29
  import "@react-aria/dialog";
29
30
  import "@react-aria/focus";
30
31
  import "@react-aria/overlays";
@@ -38,64 +39,50 @@ import "../SelectListbox/SelectListbox.js";
38
39
  import "../SelectListbox/SelectProvider.js";
39
40
  import "../Sortable/components/SortableItem.js";
40
41
  import "../../SortableProvider-l8-7ClBJ.js";
41
- import { UvaTheme as mr } from "./UvaTheme/UvaTheme.js";
42
- import { EditorHeader as pr } from "./EditorHeader/EditorHeader.js";
43
- import { LanguageProvider as gr, useLanguage as hr } from "./Providers/LanguageProvider.js";
44
- import { PasteHandlerPlugin as vr } from "./Plugins/PasteHandlerPlugin/PasteHandlerPlugin.js";
45
- const Je = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, Cr = Je ? U : S, Q = { tag: de };
46
- function yr({ initialConfig: r, children: e }) {
47
- const t = X(() => {
48
- const { theme: o, namespace: a, nodes: n, onError: s, editorState: i, html: l } = r, u = Ge(null, o), c = Me({ editable: r.editable, html: l, namespace: a, nodes: n, onError: (d) => s(d, c), theme: o });
42
+ import { PasteHandlerPlugin as gr } from "./Plugins/PasteHandlerPlugin/PasteHandlerPlugin.js";
43
+ import { UvaTheme as hr } from "./UvaTheme/UvaTheme.js";
44
+ import { EditorHeader as vr } from "./EditorHeader/EditorHeader.js";
45
+ import { LanguageProvider as Cr, useLanguage as yr } from "./Providers/LanguageProvider.js";
46
+ import { TableWrapperNode as Er } from "./nodes/TableWrapperNode/TableWrapperNode.js";
47
+ const je = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, wr = je ? J : S, V = { tag: de };
48
+ function br({ initialConfig: r, children: e }) {
49
+ const t = te(() => {
50
+ const { theme: o, namespace: a, nodes: n, onError: s, editorState: i, html: l } = r, c = Ge(null, o), u = Me({ editable: r.editable, html: l, namespace: a, nodes: n, onError: (d) => s(d, u), theme: o });
49
51
  return function(d, f) {
50
52
  if (f !== null) {
51
53
  if (f === void 0) d.update(() => {
52
- const v = z();
54
+ const v = F();
53
55
  if (v.isEmpty()) {
54
56
  const C = Ie();
55
57
  v.append(C);
56
- const w = Je ? document.activeElement : null;
58
+ const w = je ? document.activeElement : null;
57
59
  (p() !== null || w !== null && w === d.getRootElement()) && C.select();
58
60
  }
59
- }, Q);
61
+ }, V);
60
62
  else if (f !== null) switch (typeof f) {
61
63
  case "string": {
62
64
  const v = d.parseEditorState(f);
63
- d.setEditorState(v, Q);
65
+ d.setEditorState(v, V);
64
66
  break;
65
67
  }
66
68
  case "object":
67
- d.setEditorState(f, Q);
69
+ d.setEditorState(f, V);
68
70
  break;
69
71
  case "function":
70
72
  d.update(() => {
71
- z().isEmpty() && f(d);
72
- }, Q);
73
+ F().isEmpty() && f(d);
74
+ }, V);
73
75
  }
74
76
  }
75
- }(c, i), [c, u];
77
+ }(u, i), [u, c];
76
78
  }, []);
77
- return Cr(() => {
79
+ return wr(() => {
78
80
  const o = r.editable, [a] = t;
79
81
  a.setEditable(o === void 0 || o);
80
82
  }, []), h(Ye.Provider, { value: t, children: e });
81
83
  }
82
- const Er = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0 ? U : S;
83
- function wr(r) {
84
- return { initialValueFn: () => r.isEditable(), subscribe: (e) => r.registerEditableListener(e) };
85
- }
86
- function br() {
87
- return function(r) {
88
- const [e] = P(), t = X(() => r(e), [e, r]), [o, a] = F(() => t.initialValueFn()), n = Ae(o);
89
- return Er(() => {
90
- const { initialValueFn: s, subscribe: i } = t, l = s();
91
- return n.current !== l && (n.current = l, a(l)), i((u) => {
92
- n.current = u, a(u);
93
- });
94
- }, [t, r]), o;
95
- }(wr);
96
- }
97
84
  function _r() {
98
- return z().getTextContent();
85
+ return F().getTextContent();
99
86
  }
100
87
  function Sr(r, e = !0) {
101
88
  if (r) return !1;
@@ -104,23 +91,23 @@ function Sr(r, e = !0) {
104
91
  }
105
92
  function kr(r) {
106
93
  if (!Sr(r, !1)) return !1;
107
- const e = z().getChildren(), t = e.length;
94
+ const e = F().getChildren(), t = e.length;
108
95
  if (t > 1) return !1;
109
96
  for (let o = 0; o < t; o++) {
110
97
  const a = e[o];
111
- if (j(a)) return !1;
112
- if (J(a)) {
113
- if (!Qe(a) || a.__indent !== 0) return !1;
98
+ if (H(a)) return !1;
99
+ if (j(a)) {
100
+ if (!Ve(a) || a.__indent !== 0) return !1;
114
101
  const n = a.getChildren(), s = n.length;
115
102
  for (let i = 0; i < s; i++) {
116
103
  const l = n[o];
117
- if (!I(l)) return !1;
104
+ if (!M(l)) return !1;
118
105
  }
119
106
  }
120
107
  }
121
108
  return !0;
122
109
  }
123
- function Xe(r) {
110
+ function Je(r) {
124
111
  return () => kr(r);
125
112
  }
126
113
  function xr(r) {
@@ -141,13 +128,13 @@ function xr(r) {
141
128
  if (i && i.functionId === "makeChanges") {
142
129
  const l = i.args;
143
130
  if (l) {
144
- const [u, c, d, f, v, C] = l;
131
+ const [c, u, d, f, v, C] = l;
145
132
  r.update(() => {
146
133
  const w = p();
147
134
  if (g(w)) {
148
135
  const x = w.anchor;
149
136
  let y = x.getNode(), E = 0, _ = 0;
150
- if (I(y) && u >= 0 && c >= 0 && (E = u, _ = u + c, w.setTextNodeRange(y, E, y, _)), E === _ && d === "" || (w.insertRawText(d), y = x.getNode()), I(y)) {
137
+ if (M(y) && c >= 0 && u >= 0 && (E = c, _ = c + u, w.setTextNodeRange(y, E, y, _)), E === _ && d === "" || (w.insertRawText(d), y = x.getNode()), M(y)) {
151
138
  E = f, _ = f + v;
152
139
  const N = y.getTextContentSize();
153
140
  E = E > N ? N : E, _ = _ > N ? N : _, w.setTextNodeRange(y, E, y, _);
@@ -175,7 +162,7 @@ function _e(r, e) {
175
162
  }
176
163
  return null;
177
164
  }
178
- const W = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, Nr = W && "documentMode" in document ? document.documentMode : null, Lr = !(!W || !("InputEvent" in window) || Nr) && "getTargetRanges" in new window.InputEvent("input"), $r = W && /Version\/[\d.]+.*Safari/.test(navigator.userAgent), Se = W && /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream, Dr = W && /^(?=.*Chrome).*/i.test(navigator.userAgent), Tr = W && /AppleWebKit\/[\d.]+/.test(navigator.userAgent) && !Dr, ke = tt("DRAG_DROP_PASTE_FILE");
165
+ const W = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, Nr = W && "documentMode" in document ? document.documentMode : null, Dr = !(!W || !("InputEvent" in window) || Nr) && "getTargetRanges" in new window.InputEvent("input"), Lr = W && /Version\/[\d.]+.*Safari/.test(navigator.userAgent), Se = W && /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream, $r = W && /^(?=.*Chrome).*/i.test(navigator.userAgent), Tr = W && /AppleWebKit\/[\d.]+/.test(navigator.userAgent) && !$r, ke = et("DRAG_DROP_PASTE_FILE");
179
166
  function Z(r) {
180
167
  let e = null;
181
168
  if (A(r, DragEvent) ? e = r.dataTransfer : A(r, ClipboardEvent) && (e = r.clipboardData), e === null) return [!1, [], !1];
@@ -189,7 +176,7 @@ function xe(r) {
189
176
  for (let a = 0; a < o.length; a++) {
190
177
  const n = o[a], s = n.getKey();
191
178
  if (t.has(s)) continue;
192
- const i = fe(n, (u) => J(u) && !u.isInline());
179
+ const i = fe(n, (c) => j(c) && !c.isInline());
193
180
  if (i === null) continue;
194
181
  const l = i.getKey();
195
182
  i.canIndent() && !t.has(l) && (t.add(l), r(i));
@@ -197,26 +184,26 @@ function xe(r) {
197
184
  return t.size > 0;
198
185
  }
199
186
  function Ne(r) {
200
- const e = te(r);
201
- return j(e);
187
+ const e = ee(r);
188
+ return H(e);
202
189
  }
203
190
  function ae(r) {
204
191
  for (const e of ["lowercase", "uppercase", "capitalize"]) r.hasFormat(e) && r.toggleFormat(e);
205
192
  }
206
193
  function Pr(r) {
207
- return H(r.registerCommand(Pt, (e) => {
194
+ return U(r.registerCommand(Tt, (e) => {
208
195
  const t = p();
209
196
  return !!T(t) && (t.clear(), !0);
210
197
  }, m), r.registerCommand(re, (e) => {
211
198
  const t = p();
212
199
  return g(t) ? (t.deleteCharacter(e), !0) : !!T(t) && (t.deleteNodes(), !0);
213
- }, m), r.registerCommand(Tt, (e) => {
200
+ }, m), r.registerCommand($t, (e) => {
214
201
  const t = p();
215
202
  return !!g(t) && (t.deleteWord(e), !0);
216
- }, m), r.registerCommand(Dt, (e) => {
203
+ }, m), r.registerCommand(Lt, (e) => {
217
204
  const t = p();
218
205
  return !!g(t) && (t.deleteLine(e), !0);
219
- }, m), r.registerCommand($t, (e) => {
206
+ }, m), r.registerCommand(Dt, (e) => {
220
207
  const t = p();
221
208
  if (typeof e == "string") t !== null && t.insertText(e);
222
209
  else {
@@ -229,18 +216,18 @@ function Pr(r) {
229
216
  }
230
217
  }
231
218
  return !0;
232
- }, m), r.registerCommand(Lt, () => {
219
+ }, m), r.registerCommand(Nt, () => {
233
220
  const e = p();
234
221
  return !!g(e) && (e.removeText(), !0);
235
- }, m), r.registerCommand(Nt, (e) => {
222
+ }, m), r.registerCommand(xt, (e) => {
236
223
  const t = p();
237
224
  return !!g(t) && (t.formatText(e), !0);
238
- }, m), r.registerCommand(xt, (e) => {
225
+ }, m), r.registerCommand(kt, (e) => {
239
226
  const t = p();
240
227
  if (!g(t) && !T(t)) return !1;
241
228
  const o = t.getNodes();
242
229
  for (const a of o) {
243
- const n = fe(a, (s) => J(s) && !s.isInline());
230
+ const n = fe(a, (s) => j(s) && !s.isInline());
244
231
  n !== null && n.setFormat(e);
245
232
  }
246
233
  return !0;
@@ -250,23 +237,23 @@ function Pr(r) {
250
237
  }, m), r.registerCommand(pe, () => {
251
238
  const e = p();
252
239
  return !!g(e) && (e.insertParagraph(), !0);
253
- }, m), r.registerCommand(_t, () => (St([kt()]), !0), m), r.registerCommand(bt, () => xe((e) => {
240
+ }, m), r.registerCommand(bt, () => (_t([St()]), !0), m), r.registerCommand(wt, () => xe((e) => {
254
241
  const t = e.getIndent();
255
242
  e.setIndent(t + 1);
256
243
  }), m), r.registerCommand(ge, () => xe((e) => {
257
244
  const t = e.getIndent();
258
245
  t > 0 && e.setIndent(Math.max(0, t - 1));
259
- }), m), r.registerCommand(wt, (e) => {
246
+ }), m), r.registerCommand(Et, (e) => {
260
247
  const t = p();
261
248
  if (T(t)) {
262
249
  const o = t.getNodes();
263
250
  if (o.length > 0) return o[0].selectPrevious(), !0;
264
251
  } else if (g(t)) {
265
252
  const o = he(t.focus, !0);
266
- if (!e.shiftKey && j(o) && !o.isIsolated() && !o.isInline()) return o.selectPrevious(), e.preventDefault(), !0;
253
+ if (!e.shiftKey && H(o) && !o.isIsolated() && !o.isInline()) return o.selectPrevious(), e.preventDefault(), !0;
267
254
  }
268
255
  return !1;
269
- }, m), r.registerCommand(Et, (e) => {
256
+ }, m), r.registerCommand(yt, (e) => {
270
257
  const t = p();
271
258
  if (T(t)) {
272
259
  const o = t.getNodes();
@@ -274,13 +261,13 @@ function Pr(r) {
274
261
  } else if (g(t)) {
275
262
  if (function(a) {
276
263
  const n = a.focus;
277
- return n.key === "root" && n.offset === z().getChildrenSize();
264
+ return n.key === "root" && n.offset === F().getChildrenSize();
278
265
  }(t)) return e.preventDefault(), !0;
279
266
  const o = he(t.focus, !1);
280
- if (!e.shiftKey && j(o) && !o.isIsolated() && !o.isInline()) return o.selectNext(), e.preventDefault(), !0;
267
+ if (!e.shiftKey && H(o) && !o.isIsolated() && !o.isInline()) return o.selectNext(), e.preventDefault(), !0;
281
268
  }
282
269
  return !1;
283
- }, m), r.registerCommand(yt, (e) => {
270
+ }, m), r.registerCommand(Ct, (e) => {
284
271
  const t = p();
285
272
  if (T(t)) {
286
273
  const o = t.getNodes();
@@ -292,7 +279,7 @@ function Pr(r) {
292
279
  return e.preventDefault(), we(t, o, !0), !0;
293
280
  }
294
281
  return !1;
295
- }, m), r.registerCommand(Ct, (e) => {
282
+ }, m), r.registerCommand(vt, (e) => {
296
283
  const t = p();
297
284
  if (T(t)) {
298
285
  const a = t.getNodes();
@@ -301,7 +288,7 @@ function Pr(r) {
301
288
  if (!g(t)) return !1;
302
289
  const o = e.shiftKey;
303
290
  return !!Ee(t, !1) && (e.preventDefault(), we(t, o, !1), !0);
304
- }, m), r.registerCommand(vt, (e) => {
291
+ }, m), r.registerCommand(ht, (e) => {
305
292
  if (Ne(e.target)) return !1;
306
293
  const t = p();
307
294
  if (g(t)) {
@@ -310,43 +297,43 @@ function Pr(r) {
310
297
  const { anchor: a } = o;
311
298
  if (a.offset !== 0) return !1;
312
299
  const n = a.getNode();
313
- if (Ke(n)) return !1;
314
- const s = Ut(n);
300
+ if (ze(n)) return !1;
301
+ const s = Ht(n);
315
302
  return s.getIndent() > 0 && (s.is(n) || n.is(s.getFirstDescendant()));
316
303
  }(t)) return e.preventDefault(), r.dispatchCommand(ge, void 0);
317
304
  if (Se && navigator.language === "ko-KR") return !1;
318
305
  } else if (!T(t)) return !1;
319
306
  return e.preventDefault(), r.dispatchCommand(re, !0);
320
- }, m), r.registerCommand(ht, (e) => {
307
+ }, m), r.registerCommand(gt, (e) => {
321
308
  if (Ne(e.target)) return !1;
322
309
  const t = p();
323
310
  return !(!g(t) && !T(t)) && (e.preventDefault(), r.dispatchCommand(re, !1));
324
- }, m), r.registerCommand(gt, (e) => {
311
+ }, m), r.registerCommand(pt, (e) => {
325
312
  const t = p();
326
313
  if (!g(t)) return !1;
327
314
  if (ae(t), e !== null) {
328
- if ((Se || $r || Tr) && Lr) return !1;
315
+ if ((Se || Lr || Tr) && Dr) return !1;
329
316
  if (e.preventDefault(), e.shiftKey) return r.dispatchCommand(me, !1);
330
317
  }
331
318
  return r.dispatchCommand(pe, void 0);
332
- }, m), r.registerCommand(pt, () => {
319
+ }, m), r.registerCommand(mt, () => {
333
320
  const e = p();
334
321
  return !!g(e) && (r.blur(), !0);
335
- }, m), r.registerCommand(ct, (e) => {
322
+ }, m), r.registerCommand(ut, (e) => {
336
323
  const [, t] = Z(e);
337
324
  if (t.length > 0) {
338
325
  const a = _e(e.clientX, e.clientY);
339
326
  if (a !== null) {
340
- const { offset: n, node: s } = a, i = te(s);
327
+ const { offset: n, node: s } = a, i = ee(s);
341
328
  if (i !== null) {
342
- const l = dt();
343
- if (I(i)) l.anchor.set(i.getKey(), n, "text"), l.focus.set(i.getKey(), n, "text");
329
+ const l = ct();
330
+ if (M(i)) l.anchor.set(i.getKey(), n, "text"), l.focus.set(i.getKey(), n, "text");
344
331
  else {
345
- const c = i.getParentOrThrow().getKey(), d = i.getIndexWithinParent() + 1;
346
- l.anchor.set(c, d, "element"), l.focus.set(c, d, "element");
332
+ const u = i.getParentOrThrow().getKey(), d = i.getIndexWithinParent() + 1;
333
+ l.anchor.set(u, d, "element"), l.focus.set(u, d, "element");
347
334
  }
348
- const u = ft(l);
349
- mt(u);
335
+ const c = dt(l);
336
+ ft(c);
350
337
  }
351
338
  r.dispatchCommand(ke, t);
352
339
  }
@@ -354,32 +341,32 @@ function Pr(r) {
354
341
  }
355
342
  const o = p();
356
343
  return !!g(o);
357
- }, m), r.registerCommand(ut, (e) => {
344
+ }, m), r.registerCommand(lt, (e) => {
358
345
  const [t] = Z(e), o = p();
359
346
  return !(t && !g(o));
360
- }, m), r.registerCommand(lt, (e) => {
347
+ }, m), r.registerCommand(it, (e) => {
361
348
  const [t] = Z(e), o = p();
362
349
  if (t && !g(o)) return !1;
363
350
  const a = _e(e.clientX, e.clientY);
364
351
  if (a !== null) {
365
- const n = te(a.node);
366
- j(n) && e.preventDefault();
352
+ const n = ee(a.node);
353
+ H(n) && e.preventDefault();
367
354
  }
368
355
  return !0;
369
- }, m), r.registerCommand(st, () => (it(), !0), m), r.registerCommand(at, (e) => (ye(r, A(e, ClipboardEvent) ? e : null), !0), m), r.registerCommand(ot, (e) => (async function(t, o) {
356
+ }, m), r.registerCommand(at, () => (st(), !0), m), r.registerCommand(ot, (e) => (ye(r, A(e, ClipboardEvent) ? e : null), !0), m), r.registerCommand(nt, (e) => (async function(t, o) {
370
357
  await ye(o, A(t, ClipboardEvent) ? t : null), o.update(() => {
371
358
  const a = p();
372
359
  g(a) ? a.removeText() : T(a) && a.getNodes().forEach((n) => n.remove());
373
360
  });
374
- }(e, r), !0), m), r.registerCommand(Fe, (e) => {
361
+ }(e, r), !0), m), r.registerCommand(Oe, (e) => {
375
362
  const [, t, o] = Z(e);
376
- return t.length > 0 && !o ? (r.dispatchCommand(ke, t), !0) : Oe(e.target) && rt(e.target) ? !1 : p() !== null && (function(a, n) {
363
+ return t.length > 0 && !o ? (r.dispatchCommand(ke, t), !0) : Ke(e.target) && tt(e.target) ? !1 : p() !== null && (function(a, n) {
377
364
  a.preventDefault(), n.update(() => {
378
365
  const s = p(), i = A(a, InputEvent) || A(a, KeyboardEvent) ? null : a.clipboardData;
379
366
  i != null && s !== null && Ce(i, s, n);
380
- }, { tag: nt });
367
+ }, { tag: rt });
381
368
  }(e, r), !0);
382
- }, m), r.registerCommand(et, (e) => {
369
+ }, m), r.registerCommand(Qe, (e) => {
383
370
  const t = p();
384
371
  return g(t) && ae(t), !1;
385
372
  }, m), r.registerCommand(Ze, (e) => {
@@ -387,89 +374,89 @@ function Pr(r) {
387
374
  return g(t) && ae(t), !1;
388
375
  }, m));
389
376
  }
390
- const ie = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0 ? U : S;
391
- function Le(r) {
392
- return r.getEditorState().read(Xe(r.isComposing()));
377
+ const ie = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0 ? J : S;
378
+ function De(r) {
379
+ return r.getEditorState().read(Je(r.isComposing()));
393
380
  }
394
381
  function Rr({ contentEditable: r, placeholder: e = null, ErrorBoundary: t }) {
395
- const [o] = P(), a = function(n, s) {
396
- const [i, l] = F(() => n.getDecorators());
397
- return ie(() => n.registerDecoratorListener((u) => {
398
- Ht(() => {
399
- l(u);
382
+ const [o] = I(), a = function(n, s) {
383
+ const [i, l] = O(() => n.getDecorators());
384
+ return ie(() => n.registerDecoratorListener((c) => {
385
+ jt(() => {
386
+ l(c);
400
387
  });
401
388
  }), [n]), S(() => {
402
389
  l(n.getDecorators());
403
- }, [n]), X(() => {
404
- const u = [], c = Object.keys(i);
405
- for (let d = 0; d < c.length; d++) {
406
- const f = c[d], v = h(s, { onError: (w) => n._onError(w), children: h(zt, { fallback: null, children: i[f] }) }), C = n.getElementByKey(f);
407
- C !== null && u.push(Wt(v, C, f));
390
+ }, [n]), te(() => {
391
+ const c = [], u = Object.keys(i);
392
+ for (let d = 0; d < u.length; d++) {
393
+ const f = u[d], v = h(s, { onError: (w) => n._onError(w), children: h(At, { fallback: null, children: i[f] }) }), C = n.getElementByKey(f);
394
+ C !== null && c.push(Jt(v, C, f));
408
395
  }
409
- return u;
396
+ return c;
410
397
  }, [s, i, n]);
411
398
  }(o, t);
412
399
  return function(n) {
413
- ie(() => H(Pr(n), xr(n)), [n]);
414
- }(o), K(Re, { children: [r, h(Mr, { content: e }), a] });
400
+ ie(() => U(Pr(n), xr(n)), [n]);
401
+ }(o), z(Re, { children: [r, h(Mr, { content: e }), a] });
415
402
  }
416
403
  function Mr({ content: r }) {
417
- const [e] = P(), t = function(a) {
418
- const [n, s] = F(() => Le(a));
404
+ const [e] = I(), t = function(a) {
405
+ const [n, s] = O(() => De(a));
419
406
  return ie(() => {
420
407
  function i() {
421
- const l = Le(a);
408
+ const l = De(a);
422
409
  s(l);
423
410
  }
424
- return i(), H(a.registerUpdateListener(() => {
411
+ return i(), U(a.registerUpdateListener(() => {
425
412
  i();
426
413
  }), a.registerEditableListener(() => {
427
414
  i();
428
415
  }));
429
416
  }, [a]), n;
430
- }(e), o = br();
417
+ }(e), o = Ut();
431
418
  return t ? typeof r == "function" ? r(o) : r : null;
432
419
  }
433
- const qe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0 ? U : S;
434
- function Ir({ editor: r, ariaActiveDescendant: e, ariaAutoComplete: t, ariaControls: o, ariaDescribedBy: a, ariaErrorMessage: n, ariaExpanded: s, ariaInvalid: i, ariaLabel: l, ariaLabelledBy: u, ariaMultiline: c, ariaOwns: d, ariaRequired: f, autoCapitalize: v, className: C, id: w, role: x = "textbox", spellCheck: y = !0, style: E, tabIndex: _, "data-testid": N, ...b }, L) {
435
- const [k, R] = F(r.isEditable()), O = Bt(($) => {
436
- $ && $.ownerDocument && $.ownerDocument.defaultView ? r.setRootElement($) : r.setRootElement(null);
437
- }, [r]), B = X(() => /* @__PURE__ */ function(...$) {
438
- return (q) => {
439
- $.forEach((V) => {
440
- typeof V == "function" ? V(q) : V != null && (V.current = q);
420
+ const Xe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0 ? J : S;
421
+ function Ir({ editor: r, ariaActiveDescendant: e, ariaAutoComplete: t, ariaControls: o, ariaDescribedBy: a, ariaErrorMessage: n, ariaExpanded: s, ariaInvalid: i, ariaLabel: l, ariaLabelledBy: c, ariaMultiline: u, ariaOwns: d, ariaRequired: f, autoCapitalize: v, className: C, id: w, role: x = "textbox", spellCheck: y = !0, style: E, tabIndex: _, "data-testid": N, ...b }, D) {
422
+ const [k, P] = O(r.isEditable()), K = Ft((L) => {
423
+ L && L.ownerDocument && L.ownerDocument.defaultView ? r.setRootElement(L) : r.setRootElement(null);
424
+ }, [r]), B = te(() => /* @__PURE__ */ function(...L) {
425
+ return (X) => {
426
+ L.forEach((q) => {
427
+ typeof q == "function" ? q(X) : q != null && (q.current = X);
441
428
  });
442
429
  };
443
- }(L, O), [O, L]);
444
- return qe(() => (R(r.isEditable()), r.registerEditableListener(($) => {
445
- R($);
446
- })), [r]), h("div", { "aria-activedescendant": k ? e : void 0, "aria-autocomplete": k ? t : "none", "aria-controls": k ? o : void 0, "aria-describedby": a, ...n != null ? { "aria-errormessage": n } : {}, "aria-expanded": k && x === "combobox" ? !!s : void 0, ...i != null ? { "aria-invalid": i } : {}, "aria-label": l, "aria-labelledby": u, "aria-multiline": c, "aria-owns": k ? d : void 0, "aria-readonly": !k || void 0, "aria-required": f, autoCapitalize: v, className: C, contentEditable: k, "data-testid": N, id: w, ref: B, role: x, spellCheck: y, style: E, tabIndex: _, ...b });
430
+ }(D, K), [K, D]);
431
+ return Xe(() => (P(r.isEditable()), r.registerEditableListener((L) => {
432
+ P(L);
433
+ })), [r]), h("div", { "aria-activedescendant": k ? e : void 0, "aria-autocomplete": k ? t : "none", "aria-controls": k ? o : void 0, "aria-describedby": a, ...n != null ? { "aria-errormessage": n } : {}, "aria-expanded": k && x === "combobox" ? !!s : void 0, ...i != null ? { "aria-invalid": i } : {}, "aria-label": l, "aria-labelledby": c, "aria-multiline": u, "aria-owns": k ? d : void 0, "aria-readonly": !k || void 0, "aria-required": f, autoCapitalize: v, className: C, contentEditable: k, "data-testid": N, id: w, ref: B, role: x, spellCheck: y, style: E, tabIndex: _, ...b });
447
434
  }
448
- const Fr = ze(Ir);
449
- function $e(r) {
450
- return r.getEditorState().read(Xe(r.isComposing()));
435
+ const Or = Ae(Ir);
436
+ function Le(r) {
437
+ return r.getEditorState().read(Je(r.isComposing()));
451
438
  }
452
- const Or = ze(Kr);
453
- function Kr(r, e) {
454
- const { placeholder: t, ...o } = r, [a] = P();
455
- return K(Re, { children: [h(Fr, { editor: a, ...o, ref: e }), t != null && h(Ar, { editor: a, content: t })] });
439
+ const Kr = Ae(zr);
440
+ function zr(r, e) {
441
+ const { placeholder: t, ...o } = r, [a] = I();
442
+ return z(Re, { children: [h(Or, { editor: a, ...o, ref: e }), t != null && h(Ar, { editor: a, content: t })] });
456
443
  }
457
444
  function Ar({ content: r, editor: e }) {
458
445
  const t = function(s) {
459
- const [i, l] = F(() => $e(s));
460
- return qe(() => {
461
- function u() {
462
- const c = $e(s);
463
- l(c);
446
+ const [i, l] = O(() => Le(s));
447
+ return Xe(() => {
448
+ function c() {
449
+ const u = Le(s);
450
+ l(u);
464
451
  }
465
- return u(), H(s.registerUpdateListener(() => {
466
- u();
452
+ return c(), U(s.registerUpdateListener(() => {
453
+ c();
467
454
  }), s.registerEditableListener(() => {
468
- u();
455
+ c();
469
456
  }));
470
457
  }, [s]), i;
471
- }(e), [o, a] = F(e.isEditable());
472
- if (U(() => (a(e.isEditable()), e.registerEditableListener((s) => {
458
+ }(e), [o, a] = O(e.isEditable());
459
+ if (J(() => (a(e.isEditable()), e.registerEditableListener((s) => {
473
460
  a(s);
474
461
  })), [e]), !t) return null;
475
462
  let n = null;
@@ -480,13 +467,13 @@ function le(r, e) {
480
467
  return t.__proto__ = o, t;
481
468
  }, le(r, e);
482
469
  }
483
- var De = { error: null }, zr = function(r) {
470
+ var $e = { error: null }, Fr = function(r) {
484
471
  var e, t;
485
472
  function o() {
486
473
  for (var n, s = arguments.length, i = new Array(s), l = 0; l < s; l++) i[l] = arguments[l];
487
- return (n = r.call.apply(r, [this].concat(i)) || this).state = De, n.resetErrorBoundary = function() {
488
- for (var u, c = arguments.length, d = new Array(c), f = 0; f < c; f++) d[f] = arguments[f];
489
- n.props.onReset == null || (u = n.props).onReset.apply(u, d), n.reset();
474
+ return (n = r.call.apply(r, [this].concat(i)) || this).state = $e, n.resetErrorBoundary = function() {
475
+ for (var c, u = arguments.length, d = new Array(u), f = 0; f < u; f++) d[f] = arguments[f];
476
+ n.props.onReset == null || (c = n.props).onReset.apply(c, d), n.reset();
490
477
  }, n;
491
478
  }
492
479
  t = r, (e = o).prototype = Object.create(t.prototype), e.prototype.constructor = e, le(e, t), o.getDerivedStateFromError = function(n) {
@@ -494,83 +481,83 @@ var De = { error: null }, zr = function(r) {
494
481
  };
495
482
  var a = o.prototype;
496
483
  return a.reset = function() {
497
- this.setState(De);
484
+ this.setState($e);
498
485
  }, a.componentDidCatch = function(n, s) {
499
486
  var i, l;
500
487
  (i = (l = this.props).onError) == null || i.call(l, n, s);
501
488
  }, a.componentDidUpdate = function(n, s) {
502
- var i, l, u, c, d = this.state.error, f = this.props.resetKeys;
503
- d !== null && s.error !== null && ((u = n.resetKeys) === void 0 && (u = []), (c = f) === void 0 && (c = []), u.length !== c.length || u.some(function(v, C) {
504
- return !Object.is(v, c[C]);
489
+ var i, l, c, u, d = this.state.error, f = this.props.resetKeys;
490
+ d !== null && s.error !== null && ((c = n.resetKeys) === void 0 && (c = []), (u = f) === void 0 && (u = []), c.length !== u.length || c.some(function(v, C) {
491
+ return !Object.is(v, u[C]);
505
492
  })) && ((i = (l = this.props).onResetKeysChange) == null || i.call(l, n.resetKeys, f), this.reset());
506
493
  }, a.render = function() {
507
- var n = this.state.error, s = this.props, i = s.fallbackRender, l = s.FallbackComponent, u = s.fallback;
494
+ var n = this.state.error, s = this.props, i = s.fallbackRender, l = s.FallbackComponent, c = s.fallback;
508
495
  if (n !== null) {
509
- var c = { error: n, resetErrorBoundary: this.resetErrorBoundary };
510
- if (ne.isValidElement(u)) return u;
511
- if (typeof i == "function") return i(c);
512
- if (l) return ne.createElement(l, c);
496
+ var u = { error: n, resetErrorBoundary: this.resetErrorBoundary };
497
+ if (ne.isValidElement(c)) return c;
498
+ if (typeof i == "function") return i(u);
499
+ if (l) return ne.createElement(l, u);
513
500
  throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop");
514
501
  }
515
502
  return this.props.children;
516
503
  }, o;
517
504
  }(ne.Component);
518
505
  function Br({ children: r, onError: e }) {
519
- return h(zr, { fallback: h("div", { style: { border: "1px solid #f00", color: "#f00", padding: "8px" }, children: "An error was thrown." }), onError: e, children: r });
506
+ return h(Fr, { fallback: h("div", { style: { border: "1px solid #f00", color: "#f00", padding: "8px" }, children: "An error was thrown." }), onError: e, children: r });
520
507
  }
521
- const Ur = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0 ? U : S;
522
- function Hr({ ignoreHistoryMergeTagChange: r = !0, ignoreSelectionChange: e = !1, onChange: t }) {
523
- const [o] = P();
508
+ const Ur = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0 ? J : S;
509
+ function Wr({ ignoreHistoryMergeTagChange: r = !0, ignoreSelectionChange: e = !1, onChange: t }) {
510
+ const [o] = I();
524
511
  return Ur(() => {
525
512
  if (t) return o.registerUpdateListener(({ editorState: a, dirtyElements: n, dirtyLeaves: s, prevEditorState: i, tags: l }) => {
526
513
  e && n.size === 0 && s.size === 0 || r && l.has(de) || i.isEmpty() || t(a, o, l);
527
514
  });
528
515
  }, [o, r, e, t]), null;
529
516
  }
530
- function Wr({ hasStrictIndent: r = !1 }) {
531
- const [e] = P();
517
+ function Hr({ hasStrictIndent: r = !1 }) {
518
+ const [e] = I();
532
519
  return S(() => {
533
- if (!e.hasNodes([Be, Ue])) throw new Error("ListPlugin: ListNode and/or ListItemNode not registered on editor");
520
+ if (!e.hasNodes([Fe, Be])) throw new Error("ListPlugin: ListNode and/or ListItemNode not registered on editor");
534
521
  }, [e]), S(() => {
535
- if (r) return Xt(e);
522
+ if (r) return Gt(e);
536
523
  }, [e, r]), function(t) {
537
- S(() => qt(t), [t]);
524
+ S(() => Yt(t), [t]);
538
525
  }(e), null;
539
526
  }
540
527
  function jr({ validateUrl: r, attributes: e }) {
541
- const [t] = P();
528
+ const [t] = I();
542
529
  return S(() => {
543
- if (!t.hasNodes([He])) throw new Error("LinkPlugin: LinkNode not registered on editor");
544
- return H(t.registerCommand(be, (o) => {
530
+ if (!t.hasNodes([Ue])) throw new Error("LinkPlugin: LinkNode not registered on editor");
531
+ return U(t.registerCommand(be, (o) => {
545
532
  if (o === null) return oe(o), !0;
546
533
  if (typeof o == "string") return !(r !== void 0 && !r(o)) && (oe(o, e), !0);
547
534
  {
548
535
  const { url: a, target: n, rel: s, title: i } = o;
549
536
  return oe(a, { ...e, rel: s, target: n, title: i }), !0;
550
537
  }
551
- }, ve), r !== void 0 ? t.registerCommand(Fe, (o) => {
538
+ }, ve), r !== void 0 ? t.registerCommand(Oe, (o) => {
552
539
  const a = p();
553
540
  if (!g(a) || a.isCollapsed() || !A(o, ClipboardEvent) || o.clipboardData === null) return !1;
554
541
  const n = o.clipboardData.getData("text");
555
- return !!r(n) && !a.getNodes().some((s) => J(s)) && (t.dispatchCommand(be, { ...e, url: n }), o.preventDefault(), !0);
542
+ return !!r(n) && !a.getNodes().some((s) => j(s)) && (t.dispatchCommand(be, { ...e, url: n }), o.preventDefault(), !0);
556
543
  }, ve) : () => {
557
544
  });
558
545
  }, [t, r, e]), null;
559
546
  }
560
547
  function Jr({ newTab: r = !0, disabled: e = !1 }) {
561
- const [t] = P();
548
+ const [t] = I();
562
549
  return S(() => {
563
550
  const o = (n) => {
564
551
  const s = n.target;
565
- if (!Oe(s)) return;
566
- const i = Rt(s);
552
+ if (!Ke(s)) return;
553
+ const i = Pt(s);
567
554
  if (i === null) return;
568
- let l = null, u = null;
555
+ let l = null, c = null;
569
556
  if (i.update(() => {
570
- const f = te(s);
557
+ const f = ee(s);
571
558
  if (f !== null) {
572
- const v = fe(f, J);
573
- if (!e) if (Vt(v)) l = v.sanitizeUrl(v.getURL()), u = v.getTarget();
559
+ const v = fe(f, j);
560
+ if (!e) if (Vt(v)) l = v.sanitizeUrl(v.getURL()), c = v.getTarget();
574
561
  else {
575
562
  const C = function(w, x) {
576
563
  let y = w;
@@ -579,15 +566,15 @@ function Jr({ newTab: r = !0, disabled: e = !1 }) {
579
566
  y = y.parentNode;
580
567
  }
581
568
  return null;
582
- }(s, Mt);
583
- C !== null && (l = C.href, u = C.target);
569
+ }(s, Rt);
570
+ C !== null && (l = C.href, c = C.target);
584
571
  }
585
572
  }
586
573
  }), l === null || l === "") return;
587
- const c = t.getEditorState().read(p);
588
- if (g(c) && !c.isCollapsed()) return void n.preventDefault();
574
+ const u = t.getEditorState().read(p);
575
+ if (g(u) && !u.isCollapsed()) return void n.preventDefault();
589
576
  const d = n.type === "auxclick" && n.button === 1;
590
- window.open(l, r || d || n.metaKey || n.ctrlKey || u === "_blank" ? "_blank" : "_self"), n.preventDefault();
577
+ window.open(l, r || d || n.metaKey || n.ctrlKey || c === "_blank" ? "_blank" : "_self"), n.preventDefault();
591
578
  }, a = (n) => {
592
579
  n.button === 1 && o(n);
593
580
  };
@@ -596,109 +583,109 @@ function Jr({ newTab: r = !0, disabled: e = !1 }) {
596
583
  });
597
584
  }, [t, r, e]), null;
598
585
  }
599
- const ee = 0, ue = 1, ce = 2, D = 0, Xr = 1, Te = 2, qr = 3, Vr = 4;
600
- function Gr(r, e, t, o, a) {
601
- if (r === null || t.size === 0 && o.size === 0 && !a) return D;
586
+ const Q = 0, ue = 1, ce = 2, $ = 0, Xr = 1, Te = 2, qr = 3, Gr = 4;
587
+ function Yr(r, e, t, o, a) {
588
+ if (r === null || t.size === 0 && o.size === 0 && !a) return $;
602
589
  const n = e._selection, s = r._selection;
603
590
  if (a) return Xr;
604
- if (!(g(n) && g(s) && s.isCollapsed() && n.isCollapsed())) return D;
591
+ if (!(g(n) && g(s) && s.isCollapsed() && n.isCollapsed())) return $;
605
592
  const i = function(y, E, _) {
606
593
  const N = y._nodeMap, b = [];
607
- for (const L of E) {
608
- const k = N.get(L);
594
+ for (const D of E) {
595
+ const k = N.get(D);
609
596
  k !== void 0 && b.push(k);
610
597
  }
611
- for (const [L, k] of _) {
598
+ for (const [D, k] of _) {
612
599
  if (!k) continue;
613
- const R = N.get(L);
614
- R === void 0 || Ke(R) || b.push(R);
600
+ const P = N.get(D);
601
+ P === void 0 || ze(P) || b.push(P);
615
602
  }
616
603
  return b;
617
604
  }(e, t, o);
618
- if (i.length === 0) return D;
605
+ if (i.length === 0) return $;
619
606
  if (i.length > 1) {
620
607
  const y = e._nodeMap, E = y.get(n.anchor.key), _ = y.get(s.anchor.key);
621
- return E && _ && !r._nodeMap.has(E.__key) && I(E) && E.__text.length === 1 && n.anchor.offset === 1 ? Te : D;
608
+ return E && _ && !r._nodeMap.has(E.__key) && M(E) && E.__text.length === 1 && n.anchor.offset === 1 ? Te : $;
622
609
  }
623
- const l = i[0], u = r._nodeMap.get(l.__key);
624
- if (!I(u) || !I(l) || u.__mode !== l.__mode) return D;
625
- const c = u.__text, d = l.__text;
626
- if (c === d) return D;
610
+ const l = i[0], c = r._nodeMap.get(l.__key);
611
+ if (!M(c) || !M(l) || c.__mode !== l.__mode) return $;
612
+ const u = c.__text, d = l.__text;
613
+ if (u === d) return $;
627
614
  const f = n.anchor, v = s.anchor;
628
- if (f.key !== v.key || f.type !== "text") return D;
629
- const C = f.offset, w = v.offset, x = d.length - c.length;
630
- return x === 1 && w === C - 1 ? Te : x === -1 && w === C + 1 ? qr : x === -1 && w === C ? Vr : D;
631
- }
632
- function Yr(r, e) {
633
- let t = Date.now(), o = D;
634
- return (a, n, s, i, l, u) => {
635
- const c = Date.now();
636
- if (u.has(se)) return o = D, t = c, ce;
637
- const d = Gr(a, n, i, l, r.isComposing()), f = (() => {
638
- const v = s === null || s.editor === r, C = u.has(At);
639
- if (!C && v && u.has(de)) return ee;
615
+ if (f.key !== v.key || f.type !== "text") return $;
616
+ const C = f.offset, w = v.offset, x = d.length - u.length;
617
+ return x === 1 && w === C - 1 ? Te : x === -1 && w === C + 1 ? qr : x === -1 && w === C ? Gr : $;
618
+ }
619
+ function Vr(r, e) {
620
+ let t = Date.now(), o = $;
621
+ return (a, n, s, i, l, c) => {
622
+ const u = Date.now();
623
+ if (c.has(se)) return o = $, t = u, ce;
624
+ const d = Yr(a, n, i, l, r.isComposing()), f = (() => {
625
+ const v = s === null || s.editor === r, C = c.has(zt);
626
+ if (!C && v && c.has(de)) return Q;
640
627
  if (a === null) return ue;
641
628
  const w = n._selection;
642
- return i.size > 0 || l.size > 0 ? C === !1 && d !== D && d === o && c < t + e && v || i.size === 1 && function(x, y, E) {
643
- const _ = y._nodeMap.get(x), N = E._nodeMap.get(x), b = y._selection, L = E._selection;
644
- return !(g(b) && g(L) && b.anchor.type === "element" && b.focus.type === "element" && L.anchor.type === "text" && L.focus.type === "text" || !I(_) || !I(N) || _.__parent !== N.__parent) && JSON.stringify(y.read(() => _.exportJSON())) === JSON.stringify(E.read(() => N.exportJSON()));
645
- }(Array.from(i)[0], a, n) ? ee : ue : w !== null ? ee : ce;
629
+ return i.size > 0 || l.size > 0 ? C === !1 && d !== $ && d === o && u < t + e && v || i.size === 1 && function(x, y, E) {
630
+ const _ = y._nodeMap.get(x), N = E._nodeMap.get(x), b = y._selection, D = E._selection;
631
+ return !(g(b) && g(D) && b.anchor.type === "element" && b.focus.type === "element" && D.anchor.type === "text" && D.focus.type === "text" || !M(_) || !M(N) || _.__parent !== N.__parent) && JSON.stringify(y.read(() => _.exportJSON())) === JSON.stringify(E.read(() => N.exportJSON()));
632
+ }(Array.from(i)[0], a, n) ? Q : ue : w !== null ? Q : ce;
646
633
  })();
647
- return t = c, o = d, f;
634
+ return t = u, o = d, f;
648
635
  };
649
636
  }
650
637
  function Pe(r) {
651
638
  r.undoStack = [], r.redoStack = [], r.current = null;
652
639
  }
653
- function Qr(r, e, t) {
654
- const o = Yr(r, t);
655
- return H(r.registerCommand(Kt, () => (function(n, s) {
640
+ function Zr(r, e, t) {
641
+ const o = Vr(r, t);
642
+ return U(r.registerCommand(Kt, () => (function(n, s) {
656
643
  const i = s.redoStack, l = s.undoStack;
657
644
  if (l.length !== 0) {
658
- const u = s.current, c = l.pop();
659
- u !== null && (i.push(u), n.dispatchCommand(G, !0)), l.length === 0 && n.dispatchCommand(Y, !1), s.current = c || null, c && c.editor.setEditorState(c.editorState, { tag: se });
645
+ const c = s.current, u = l.pop();
646
+ c !== null && (i.push(c), n.dispatchCommand(G, !0)), l.length === 0 && n.dispatchCommand(Y, !1), s.current = u || null, u && u.editor.setEditorState(u.editorState, { tag: se });
660
647
  }
661
648
  }(r, e), !0), m), r.registerCommand(Ot, () => (function(n, s) {
662
649
  const i = s.redoStack, l = s.undoStack;
663
650
  if (i.length !== 0) {
664
- const u = s.current;
665
- u !== null && (l.push(u), n.dispatchCommand(Y, !0));
666
- const c = i.pop();
667
- i.length === 0 && n.dispatchCommand(G, !1), s.current = c || null, c && c.editor.setEditorState(c.editorState, { tag: se });
651
+ const c = s.current;
652
+ c !== null && (l.push(c), n.dispatchCommand(Y, !0));
653
+ const u = i.pop();
654
+ i.length === 0 && n.dispatchCommand(G, !1), s.current = u || null, u && u.editor.setEditorState(u.editorState, { tag: se });
668
655
  }
669
- }(r, e), !0), m), r.registerCommand(Ft, () => (Pe(e), !1), m), r.registerCommand(It, () => (Pe(e), r.dispatchCommand(G, !1), r.dispatchCommand(Y, !1), !0), m), r.registerUpdateListener(({ editorState: n, prevEditorState: s, dirtyLeaves: i, dirtyElements: l, tags: u }) => {
670
- const c = e.current, d = e.redoStack, f = e.undoStack, v = c === null ? null : c.editorState;
671
- if (c !== null && n === v) return;
672
- const C = o(s, n, c, i, l, u);
673
- if (C === ue) d.length !== 0 && (e.redoStack = [], r.dispatchCommand(G, !1)), c !== null && (f.push({ ...c }), r.dispatchCommand(Y, !0));
656
+ }(r, e), !0), m), r.registerCommand(It, () => (Pe(e), !1), m), r.registerCommand(Mt, () => (Pe(e), r.dispatchCommand(G, !1), r.dispatchCommand(Y, !1), !0), m), r.registerUpdateListener(({ editorState: n, prevEditorState: s, dirtyLeaves: i, dirtyElements: l, tags: c }) => {
657
+ const u = e.current, d = e.redoStack, f = e.undoStack, v = u === null ? null : u.editorState;
658
+ if (u !== null && n === v) return;
659
+ const C = o(s, n, u, i, l, c);
660
+ if (C === ue) d.length !== 0 && (e.redoStack = [], r.dispatchCommand(G, !1)), u !== null && (f.push({ ...u }), r.dispatchCommand(Y, !0));
674
661
  else if (C === ce) return;
675
662
  e.current = { editor: r, editorState: n };
676
663
  }));
677
664
  }
678
- function Zr() {
665
+ function Qr() {
679
666
  return { current: null, redoStack: [], undoStack: [] };
680
667
  }
681
668
  function en({ delay: r, externalHistoryState: e }) {
682
- const [t] = P();
669
+ const [t] = I();
683
670
  return function(o, a, n = 1e3) {
684
- const s = X(() => a || Zr(), [a]);
685
- S(() => Qr(o, s, n), [n, o, s]);
671
+ const s = te(() => a || Qr(), [a]);
672
+ S(() => Zr(o, s, n), [n, o, s]);
686
673
  }(t, e, r), null;
687
674
  }
688
675
  function tn({ hasCellMerge: r = !0, hasCellBackgroundColor: e = !0, hasTabHandler: t = !0, hasHorizontalScroll: o = !1 }) {
689
- const [a] = P();
676
+ const [a] = I();
690
677
  return S(() => {
691
- Yt(a) !== o && (Qt(a, o), a.registerNodeTransform(We, () => {
678
+ Qt(a) !== o && (er(a, o), a.registerNodeTransform(We, () => {
692
679
  })());
693
- }, [a, o]), S(() => Zt(a), [a]), S(() => er(a, t), [a, t]), S(() => {
694
- if (!r) return tr(a);
680
+ }, [a, o]), S(() => tr(a), [a]), S(() => rr(a, t), [a, t]), S(() => {
681
+ if (!r) return nr(a);
695
682
  }, [a, r]), S(() => {
696
- if (!e) return a.registerNodeTransform(je, (n) => {
683
+ if (!e) return a.registerNodeTransform(He, (n) => {
697
684
  n.getBackgroundColor() !== null && n.setBackgroundColor(null);
698
685
  });
699
686
  }, [a, e, r]), null;
700
687
  }
701
- const Ve = 200, rn = ({
688
+ const qe = 200, rn = ({
702
689
  currentLanguage: r = "NL",
703
690
  initialValue: e = "",
704
691
  placeholder: t = "",
@@ -707,67 +694,67 @@ const Ve = 200, rn = ({
707
694
  required: n = !1,
708
695
  notValidatedText: s = "",
709
696
  maxHeightInRem: i = "20rem",
710
- maxWords: l = Ve,
711
- onChange: u
697
+ maxWords: l = qe,
698
+ onChange: c
712
699
  }) => {
713
- const { switchLanguage: c } = hr(), d = dr(), [f] = F(() => Me()), [v, C] = F(0), [w, x] = F(0), y = Ae(null), E = {
700
+ const { switchLanguage: u } = yr(), d = mr(), [f] = O(() => Me()), [v, C] = O(0), [w, x] = O(0), y = Bt(null), E = {
714
701
  html: {
715
- export: ir
702
+ export: ur
716
703
  },
717
704
  namespace: "UvaRte",
718
705
  editor: f,
719
- theme: mr,
706
+ theme: hr,
720
707
  onError(b) {
721
708
  throw b;
722
709
  },
723
- nodes: [Be, Ue, He, Gt, je, rr, We],
710
+ nodes: [Fe, Be, Ue, Zt, He, or, We, Er],
724
711
  editorState: (b) => {
725
- const k = new DOMParser().parseFromString(e, "text/html"), R = jt(b, k), O = z();
726
- if (O.clear(), lr(e))
727
- R.forEach((B) => {
728
- O.append(B);
712
+ const k = new DOMParser().parseFromString(e, "text/html"), P = Xt(b, k), K = F();
713
+ if (K.clear(), cr(e))
714
+ P.forEach((B) => {
715
+ K.append(B);
729
716
  });
730
717
  else {
731
718
  const B = Ie();
732
- R.forEach(($, q) => {
733
- q === 0 ? (B.append($), O.append(B)) : O.append($);
719
+ P.forEach((L, X) => {
720
+ X === 0 ? (B.append(L), K.append(B)) : K.append(L);
734
721
  });
735
722
  }
736
723
  }
737
- }, _ = (b) => b.trim().length === 0 ? 0 : b.split(" ").length, N = (b, L) => {
724
+ }, _ = (b) => b.trim().length === 0 ? 0 : b.split(" ").length, N = (b, D) => {
738
725
  b.read(() => {
739
726
  let k = "";
740
- C(_(z().getTextContent().replace(/\s+/g, " ").trim())), k = ur(Jt(L)), u(k);
727
+ C(_(F().getTextContent().replace(/\s+/g, " ").trim())), k = dr(qt(D)), c(k);
741
728
  });
742
729
  };
743
730
  return S(() => {
744
- c(r.toLocaleLowerCase());
745
- }, [r, c]), S(() => {
731
+ u(r.toLocaleLowerCase());
732
+ }, [r, u]), S(() => {
746
733
  const b = e.replace(/<br\s*\/?>|&nbsp;/gi, " ").replace(/<\/?[^>]+(>|$)|&[a-z]+;/g, "").replace(/\s+/g, " ").trim();
747
734
  C(_(b));
748
- }, []), /* @__PURE__ */ K("div", { className: M.editor__container, children: [
749
- /* @__PURE__ */ K("div", { className: M.editor__header, children: [
750
- /* @__PURE__ */ h(pr, { label: o, info: a, required: n }),
751
- /* @__PURE__ */ K("div", { className: M["editor__header-word-count"], children: [
752
- /* @__PURE__ */ h("span", { className: sr({ [M["editor__header-word-count--alert"]]: v > l }), children: v }),
735
+ }, []), /* @__PURE__ */ z("div", { className: R.editor__container, children: [
736
+ /* @__PURE__ */ z("div", { className: R.editor__header, children: [
737
+ /* @__PURE__ */ h(vr, { label: o, info: a, required: n }),
738
+ /* @__PURE__ */ z("div", { className: R["editor__header-word-count"], children: [
739
+ /* @__PURE__ */ h("span", { className: lr({ [R["editor__header-word-count--alert"]]: v > l }), children: v }),
753
740
  " / ",
754
741
  l
755
742
  ] })
756
743
  ] }),
757
- /* @__PURE__ */ h("div", { className: M.editor, children: /* @__PURE__ */ K(yr, { initialConfig: E, children: [
758
- /* @__PURE__ */ h(cr, { editorScrollPosition: w }),
759
- /* @__PURE__ */ K("div", { className: M["editor__field-wrapper"], children: [
744
+ /* @__PURE__ */ h("div", { className: R.editor, children: /* @__PURE__ */ z(br, { initialConfig: E, children: [
745
+ /* @__PURE__ */ h(fr, { editorScrollPosition: w }),
746
+ /* @__PURE__ */ z("div", { className: R["editor__field-wrapper"], children: [
760
747
  /* @__PURE__ */ h(
761
748
  Rr,
762
749
  {
763
750
  contentEditable: /* @__PURE__ */ h(
764
- Or,
751
+ Kr,
765
752
  {
766
- className: M.editor__field,
753
+ className: R.editor__field,
767
754
  "aria-label": d.common.rteAriaLabel,
768
755
  "aria-placeholder": t,
769
756
  title: d.common.rteTitle,
770
- placeholder: /* @__PURE__ */ h("div", { className: M.editor__placeholder, children: t }),
757
+ placeholder: /* @__PURE__ */ h("div", { className: R.editor__placeholder, children: t }),
771
758
  spellCheck: !1,
772
759
  id: "rteEditor",
773
760
  style: { height: `${i}`, maxHeight: `${i}` },
@@ -775,23 +762,24 @@ const Ve = 200, rn = ({
775
762
  ref: y
776
763
  }
777
764
  ),
778
- placeholder: /* @__PURE__ */ h("div", { className: M.editor__placeholder, children: t }),
765
+ placeholder: /* @__PURE__ */ h("div", { className: R.editor__placeholder, children: t }),
779
766
  ErrorBoundary: Br
780
767
  }
781
768
  ),
782
769
  /* @__PURE__ */ h(tn, {}),
770
+ /* @__PURE__ */ h(Wt, {}),
783
771
  /* @__PURE__ */ h(en, {}),
784
- /* @__PURE__ */ h(Wr, {}),
785
- /* @__PURE__ */ h(jr, { validateUrl: nr }),
786
- /* @__PURE__ */ h(or, { matchers: ar }),
772
+ /* @__PURE__ */ h(Hr, {}),
773
+ /* @__PURE__ */ h(jr, { validateUrl: ar }),
774
+ /* @__PURE__ */ h(sr, { matchers: ir }),
787
775
  /* @__PURE__ */ h(Jr, {}),
788
- /* @__PURE__ */ h(Hr, { onChange: N }),
789
- /* @__PURE__ */ h(vr, {})
776
+ /* @__PURE__ */ h(Wr, { onChange: N }),
777
+ /* @__PURE__ */ h(gr, {})
790
778
  ] })
791
779
  ] }) }),
792
- s !== "" && /* @__PURE__ */ h(fr, { level: "error", feedback: s })
780
+ s !== "" && /* @__PURE__ */ h(pr, { level: "error", feedback: s })
793
781
  ] });
794
- }, Xn = ({
782
+ }, Gn = ({
795
783
  currentLanguage: r = "NL",
796
784
  initialValue: e = "",
797
785
  placeholder: t = "",
@@ -799,9 +787,9 @@ const Ve = 200, rn = ({
799
787
  info: a = "",
800
788
  required: n = !1,
801
789
  notValidatedText: s = "",
802
- maxWords: i = Ve,
790
+ maxWords: i = qe,
803
791
  onChange: l
804
- }) => /* @__PURE__ */ h(gr, { children: /* @__PURE__ */ h(
792
+ }) => /* @__PURE__ */ h(Cr, { children: /* @__PURE__ */ h(
805
793
  rn,
806
794
  {
807
795
  currentLanguage: r,
@@ -817,6 +805,6 @@ const Ve = 200, rn = ({
817
805
  ) });
818
806
  export {
819
807
  rn as Rte,
820
- Xn as RteEditor
808
+ Gn as RteEditor
821
809
  };
822
810
  //# sourceMappingURL=RteEditor.js.map