@qualityunit/liveagent-components-editor 0.0.68 → 0.0.70

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 (76) hide show
  1. package/dist/{af.umd-CbyLscKp.js → af.umd-BTv2Mtv2.js} +1 -1
  2. package/dist/{ar.umd-47379fjE.js → ar.umd-CPgigxKQ.js} +1 -1
  3. package/dist/{ast.umd-CaDFMfhy.js → ast.umd-C1YRnHuW.js} +1 -1
  4. package/dist/{az.umd-RPgM3fyQ.js → az.umd-BPtdu5L-.js} +1 -1
  5. package/dist/{bg.umd-CrAsxtnj.js → bg.umd-CUIzFYOO.js} +1 -1
  6. package/dist/{bn.umd-BEGXqmqH.js → bn.umd-huHrMtAK.js} +1 -1
  7. package/dist/{bs.umd-Cgq5yvOD.js → bs.umd-Cn1FNsxV.js} +1 -1
  8. package/dist/{ca.umd-BrmaWLdK.js → ca.umd-CKag7yFI.js} +1 -1
  9. package/dist/ckeditor.js +1 -1
  10. package/dist/{ckeditor5-D0hgGZ63.js → ckeditor5-bgmzTgom.js} +9117 -9103
  11. package/dist/{cs.umd-CToUpu7Z.js → cs.umd-BV10ztyR.js} +1 -1
  12. package/dist/{da.umd-BlP6UIBX.js → da.umd-BCYRblhK.js} +1 -1
  13. package/dist/{de-ch.umd-BZT-iHap.js → de-ch.umd-5MwDb2gC.js} +1 -1
  14. package/dist/{de.umd-TvwYDKVX.js → de.umd-DDGczQO4.js} +1 -1
  15. package/dist/editor-lib.js +114 -120
  16. package/dist/{el.umd-CMN8GeBz.js → el.umd-qIGLR6DI.js} +1 -1
  17. package/dist/{en-au.umd-DG9QQuvo.js → en-au.umd-C7lLrm4U.js} +1 -1
  18. package/dist/{en-gb.umd-CV2r6PfN.js → en-gb.umd-CkX9MHAi.js} +1 -1
  19. package/dist/{en.umd-CAgyb8Zb.js → en.umd-CsP-5PWS.js} +1 -1
  20. package/dist/{eo.umd-jUZQkXy7.js → eo.umd-oUHhtKWE.js} +1 -1
  21. package/dist/{es-co.umd-ChYvFVJY.js → es-co.umd-i0K6ToTN.js} +1 -1
  22. package/dist/{es.umd-BqLKM8JU.js → es.umd-D8Fgl9Jm.js} +1 -1
  23. package/dist/{et.umd-CqLzDyDg.js → et.umd-Csdfdv1j.js} +1 -1
  24. package/dist/{eu.umd-KDq8H292.js → eu.umd-CL0Jadn8.js} +1 -1
  25. package/dist/{fa.umd-BzYVaKUZ.js → fa.umd-nwjK4Mwy.js} +1 -1
  26. package/dist/{fi.umd-CXnVOHUV.js → fi.umd-DJDUqO6W.js} +1 -1
  27. package/dist/{fr.umd-CAx7cApU.js → fr.umd-wcL6qDdI.js} +1 -1
  28. package/dist/{gl.umd-BghZNaoj.js → gl.umd-BRfj2jhi.js} +1 -1
  29. package/dist/{gu.umd-DzNPPwkC.js → gu.umd-8OJJAZl4.js} +1 -1
  30. package/dist/{he.umd-Bz-ygiv-.js → he.umd-DWTITzvb.js} +1 -1
  31. package/dist/{hi.umd-DNmWrDcc.js → hi.umd-o430rual.js} +1 -1
  32. package/dist/{hr.umd-DB2ymuK6.js → hr.umd-DrZWQ8gA.js} +1 -1
  33. package/dist/{hu.umd-sQmKjLXW.js → hu.umd-g2XacLpi.js} +1 -1
  34. package/dist/{hy.umd-DvV2lnnQ.js → hy.umd-KMETJwvb.js} +1 -1
  35. package/dist/{id.umd-DUjHqLlu.js → id.umd-D9qyIhae.js} +1 -1
  36. package/dist/{it.umd-DtBi_pzr.js → it.umd-RdXlY4in.js} +1 -1
  37. package/dist/{ja.umd-NzcZ4jrD.js → ja.umd-BtZtMFYb.js} +1 -1
  38. package/dist/{jv.umd-vaQxrFhw.js → jv.umd-DIKucD7R.js} +1 -1
  39. package/dist/{kk.umd-C9AFOxn-.js → kk.umd-C2PqwAWG.js} +1 -1
  40. package/dist/{km.umd-CY1vpNrt.js → km.umd-DbiCa_OO.js} +1 -1
  41. package/dist/{kn.umd-GzqK5WhO.js → kn.umd-Dt6Ags1s.js} +1 -1
  42. package/dist/{ko.umd-DG4sgYVC.js → ko.umd-BrLxVrvU.js} +1 -1
  43. package/dist/{ku.umd-B8JCMuR-.js → ku.umd-BgsAWBI-.js} +1 -1
  44. package/dist/{lt.umd-lnsUdXR9.js → lt.umd-bEHDTkqd.js} +1 -1
  45. package/dist/{lv.umd-CPr_Zdpn.js → lv.umd-D4qwtSk2.js} +1 -1
  46. package/dist/{ms.umd-BaIbMqqX.js → ms.umd-LE8Oq1Vi.js} +1 -1
  47. package/dist/{nb.umd-BjRMUpjV.js → nb.umd-C5U8NSX9.js} +1 -1
  48. package/dist/{ne.umd-Cmtp9ntK.js → ne.umd-G_Z4rYYk.js} +1 -1
  49. package/dist/{nl.umd-07QoMO-J.js → nl.umd-C_bdcQir.js} +1 -1
  50. package/dist/{no.umd-ChY40bgs.js → no.umd-CRv57RU3.js} +1 -1
  51. package/dist/{oc.umd-zFdxiS1R.js → oc.umd-CtlQfGoz.js} +1 -1
  52. package/dist/{pl.umd-BRY8DahQ.js → pl.umd-av1i44Bs.js} +1 -1
  53. package/dist/{pt-br.umd-k2mWn4LD.js → pt-br.umd-7pk45FPj.js} +1 -1
  54. package/dist/{pt.umd-D0CRRetU.js → pt.umd-CMJun4LU.js} +1 -1
  55. package/dist/{ro.umd-Dd2GSnbg.js → ro.umd-DzLjDPjj.js} +1 -1
  56. package/dist/{ru.umd-D0Pu4TzZ.js → ru.umd-BhHebYX1.js} +1 -1
  57. package/dist/{si.umd-CE9aJ38Q.js → si.umd-D8QKp4mE.js} +1 -1
  58. package/dist/{sk.umd-B5ihsPMW.js → sk.umd-CFdGnxkw.js} +1 -1
  59. package/dist/{sl.umd-BXp4Q3iY.js → sl.umd-D_z38Em4.js} +1 -1
  60. package/dist/{sq.umd-C7X78rHI.js → sq.umd-aFeq6Plw.js} +1 -1
  61. package/dist/{sr-latn.umd-BvgcCrYB.js → sr-latn.umd-Dzr3YerO.js} +1 -1
  62. package/dist/{sr.umd-pVkza3JD.js → sr.umd-CtWe6OQ7.js} +1 -1
  63. package/dist/{sv.umd-Ct94w--O.js → sv.umd-BvdimYxT.js} +1 -1
  64. package/dist/{th.umd-DdNV1n8M.js → th.umd-Dq0En6X4.js} +1 -1
  65. package/dist/{ti.umd-tQv2ebFO.js → ti.umd-Cgwq8ouU.js} +1 -1
  66. package/dist/{tk.umd-CJ1mdr4q.js → tk.umd-BOKzjenw.js} +1 -1
  67. package/dist/{tr.umd-BmLCOfSP.js → tr.umd-C3Rn--SN.js} +1 -1
  68. package/dist/{tt.umd-DCp73XyJ.js → tt.umd-DsOhIJQ8.js} +1 -1
  69. package/dist/{ug.umd-Cet3o_c0.js → ug.umd-DIE1tiNB.js} +1 -1
  70. package/dist/{uk.umd-CPlg33hT.js → uk.umd-CnVS_30m.js} +1 -1
  71. package/dist/{ur.umd-CNzmsogs.js → ur.umd-BebpaDKu.js} +1 -1
  72. package/dist/{uz.umd-Dz2HxpEH.js → uz.umd-C8Ox4j-7.js} +1 -1
  73. package/dist/{vi.umd-IBmDBL-X.js → vi.umd-DYJY6kXX.js} +1 -1
  74. package/dist/{zh-cn.umd-BQEH5AnV.js → zh-cn.umd-CqeBMaaK.js} +1 -1
  75. package/dist/{zh.umd-BNwtOmvq.js → zh.umd-D7Qfmafa.js} +1 -1
  76. package/package.json +4 -4
@@ -1,4 +1,4 @@
1
- import { g as k } from "./ckeditor5-D0hgGZ63.js";
1
+ import { g as k } from "./ckeditor5-bgmzTgom.js";
2
2
  function m(e, o) {
3
3
  for (var a = 0; a < o.length; a++) {
4
4
  const t = o[a];
@@ -1,4 +1,4 @@
1
- import { g as d } from "./ckeditor5-D0hgGZ63.js";
1
+ import { g as d } from "./ckeditor5-bgmzTgom.js";
2
2
  function g(e, a) {
3
3
  for (var i = 0; i < a.length; i++) {
4
4
  const t = a[i];
@@ -1,4 +1,4 @@
1
- import { g as c } from "./ckeditor5-D0hgGZ63.js";
1
+ import { g as c } from "./ckeditor5-bgmzTgom.js";
2
2
  function g(e, l) {
3
3
  for (var i = 0; i < l.length; i++) {
4
4
  const t = l[i];
@@ -1,4 +1,4 @@
1
- import { g as c } from "./ckeditor5-D0hgGZ63.js";
1
+ import { g as c } from "./ckeditor5-bgmzTgom.js";
2
2
  function h(e, a) {
3
3
  for (var i = 0; i < a.length; i++) {
4
4
  const t = a[i];
@@ -1,90 +1,84 @@
1
- import { b as Q, E as fe, r as k, a as w, p as q, U as ve, h as g, c as W, H as oe, d as $, e as B, s as F, f as I, i as A, j as y, k as ce, I as U, l as j, m as Z, n as _e, o as he, q as z, t as de, u as be, v as ge, w as me, x as Ee, y as pe, z as Te, A as Ae, B as ye, C as Ie, N as Ne, D as Se, F as Me, G as He, J as ke, K as we, L as Re, M as ee, O as te, P as Ce, Q as M, R as ae, S as D, T as V, V as R, W as re, X as H, Y as C, Z as K, _ as L, $ as Le, a0 as De, a1 as Pe, a2 as Oe } from "./ckeditor5-D0hgGZ63.js";
2
- function Ue(e, t, [a, r] = [0, 0]) {
1
+ import { b as Q, E as oe, r as k, a as w, p as q, U as ve, h as g, c as W, d as $, H as ce, e as j, f as B, s as F, i as I, j as y, k as A, l as _e, I as U, m as ee, n as Z, o as he, q as de, t as z, u as be, v as ge, w as me, x as Ee, y as pe, z as Te, A as ye, B as Ae, C as Ie, D as Ne, N as Se, F as Me, G as He, J as ke, K as we, L as Re, M as Ce, O as te, P as ae, Q as Le, R as M, S as re, T as D, V, W as R, X as ne, Y as H, Z as C, _ as K, $ as L, a0 as De, a1 as Pe, a2 as Oe, a3 as Ue } from "./ckeditor5-bgmzTgom.js";
2
+ function Ve(e, t, [a, r] = [0, 0]) {
3
3
  g && a === 0 && W();
4
- var n = e, l = null, f = null, v = ve, _ = a > 0 ? fe : 0, d = !1;
4
+ var n = e, l = null, f = null, o = ve, _ = a > 0 ? oe : 0, d = !1;
5
5
  const i = (u, s = !0) => {
6
6
  d = !0, c(s, u);
7
7
  }, c = (u, s) => {
8
- if (v === (v = u)) return;
9
- let o = !1;
8
+ if (o === (o = u)) return;
9
+ let v = !1;
10
10
  if (g && r !== -1) {
11
11
  if (a === 0) {
12
- const b = (
13
- /** @type {Comment} */
14
- n.data
15
- );
16
- b === oe ? r = 0 : b === $ ? r = 1 / 0 : (r = parseInt(b.substring(1)), r !== r && (r = v ? 1 / 0 : -1));
12
+ const b = $(n);
13
+ b === ce ? r = 0 : b === j ? r = 1 / 0 : (r = parseInt(b.substring(1)), r !== r && (r = o ? 1 / 0 : -1));
17
14
  }
18
15
  const m = r > a;
19
- !!v === m && (n = B(), F(n), I(!1), o = !0, r = -1);
16
+ !!o === m && (n = B(), F(n), I(!1), v = !0, r = -1);
20
17
  }
21
- v ? (l ? k(l) : s && (l = w(() => s(n))), f && q(f, () => {
18
+ o ? (l ? k(l) : s && (l = w(() => s(n))), f && q(f, () => {
22
19
  f = null;
23
20
  })) : (f ? k(f) : s && (f = w(() => s(n, [a + 1, r]))), l && q(l, () => {
24
21
  l = null;
25
- })), o && I(!0);
22
+ })), v && I(!0);
26
23
  };
27
24
  Q(() => {
28
25
  d = !1, t(i), d || c(null, null);
29
- }, _), g && (n = A);
26
+ }, _), g && (n = y);
30
27
  }
31
- function Ve(e, t) {
28
+ function xe(e, t) {
32
29
  return t;
33
30
  }
34
- function xe(e, t, a, r) {
31
+ function Ye(e, t, a, r) {
35
32
  for (var n = [], l = t.length, f = 0; f < l; f++)
36
- ge(t[f].e, n, !0);
37
- var v = l > 0 && n.length === 0 && a !== null;
38
- if (v) {
33
+ me(t[f].e, n, !0);
34
+ var o = l > 0 && n.length === 0 && a !== null;
35
+ if (o) {
39
36
  var _ = (
40
37
  /** @type {Element} */
41
38
  /** @type {Element} */
42
39
  a.parentNode
43
40
  );
44
- me(_), _.append(
41
+ Ee(_), _.append(
45
42
  /** @type {Element} */
46
43
  a
47
44
  ), r.clear(), T(e, t[0].prev, t[l - 1].next);
48
45
  }
49
- Ee(n, () => {
46
+ pe(n, () => {
50
47
  for (var d = 0; d < l; d++) {
51
48
  var i = t[d];
52
- v || (r.delete(i.k), T(e, i.prev, i.next)), pe(i.e, !v);
49
+ o || (r.delete(i.k), T(e, i.prev, i.next)), Te(i.e, !o);
53
50
  }
54
51
  });
55
52
  }
56
- function Ye(e, t, a, r, n, l = null) {
57
- var f = e, v = { flags: t, items: /* @__PURE__ */ new Map(), first: null };
53
+ function qe(e, t, a, r, n, l = null) {
54
+ var f = e, o = { flags: t, items: /* @__PURE__ */ new Map(), first: null };
58
55
  g && W();
59
- var _ = null, d = !1, i = ce(() => {
56
+ var _ = null, d = !1, i = _e(() => {
60
57
  var c = a();
61
- return de(c) ? c : c == null ? [] : j(c);
58
+ return be(c) ? c : c == null ? [] : ee(c);
62
59
  });
63
60
  Q(() => {
64
- var c = y(i), u = c.length;
61
+ var c = A(i), u = c.length;
65
62
  if (d && u === 0)
66
63
  return;
67
64
  d = u === 0;
68
65
  let s = !1;
69
66
  if (g) {
70
- var o = (
71
- /** @type {Comment} */
72
- f.data === $
73
- );
74
- o !== (u === 0) && (f = B(), F(f), I(!1), s = !0);
67
+ var v = $(f) === j;
68
+ v !== (u === 0) && (f = B(), F(f), I(!1), s = !0);
75
69
  }
76
70
  if (g) {
77
71
  for (var m = null, b, h = 0; h < u; h++) {
78
- if (A.nodeType === 8 && /** @type {Comment} */
79
- A.data === Ie) {
72
+ if (y.nodeType === 8 && /** @type {Comment} */
73
+ y.data === Ne) {
80
74
  f = /** @type {Comment} */
81
- A, s = !0, I(!1);
75
+ y, s = !0, I(!1);
82
76
  break;
83
77
  }
84
78
  var E = c[h], N = r(E, h);
85
- b = ne(
86
- A,
87
- v,
79
+ b = se(
80
+ y,
81
+ o,
88
82
  m,
89
83
  null,
90
84
  E,
@@ -93,24 +87,24 @@ function Ye(e, t, a, r, n, l = null) {
93
87
  n,
94
88
  t,
95
89
  a
96
- ), v.items.set(N, b), m = b;
90
+ ), o.items.set(N, b), m = b;
97
91
  }
98
92
  u > 0 && F(B());
99
93
  }
100
- g || qe(c, v, f, n, t, r, a), l !== null && (u === 0 ? _ ? k(_) : _ = w(() => l(f)) : _ !== null && q(_, () => {
94
+ g || Be(c, o, f, n, t, r, a), l !== null && (u === 0 ? _ ? k(_) : _ = w(() => l(f)) : _ !== null && q(_, () => {
101
95
  _ = null;
102
- })), s && I(!0), y(i);
103
- }), g && (f = A);
96
+ })), s && I(!0), A(i);
97
+ }), g && (f = y);
104
98
  }
105
- function qe(e, t, a, r, n, l, f) {
106
- var v = e.length, _ = t.items, d = t.first, i = d, c, u = null, s = [], o = [], m, b, h, E;
107
- for (E = 0; E < v; E += 1) {
99
+ function Be(e, t, a, r, n, l, f) {
100
+ var o = e.length, _ = t.items, d = t.first, i = d, c, u = null, s = [], v = [], m, b, h, E;
101
+ for (E = 0; E < o; E += 1) {
108
102
  if (m = e[E], b = l(m, E), h = _.get(b), h === void 0) {
109
103
  var N = i ? (
110
104
  /** @type {TemplateNode} */
111
105
  i.e.nodes_start
112
106
  ) : a;
113
- u = ne(
107
+ u = se(
114
108
  N,
115
109
  t,
116
110
  u,
@@ -121,26 +115,26 @@ function qe(e, t, a, r, n, l, f) {
121
115
  r,
122
116
  n,
123
117
  f
124
- ), _.set(b, u), s = [], o = [], i = u.next;
118
+ ), _.set(b, u), s = [], v = [], i = u.next;
125
119
  continue;
126
120
  }
127
- if (Be(h, m, E), (h.e.f & U) !== 0 && k(h.e), h !== i) {
121
+ if (Fe(h, m, E), (h.e.f & U) !== 0 && k(h.e), h !== i) {
128
122
  if (c !== void 0 && c.has(h)) {
129
- if (s.length < o.length) {
130
- var S = o[0], p;
123
+ if (s.length < v.length) {
124
+ var S = v[0], p;
131
125
  u = S.prev;
132
126
  var X = s[0], P = s[s.length - 1];
133
127
  for (p = 0; p < s.length; p += 1)
134
128
  G(s[p], S, a);
135
- for (p = 0; p < o.length; p += 1)
136
- c.delete(o[p]);
137
- T(t, X.prev, P.next), T(t, u, X), T(t, P, S), i = S, u = P, E -= 1, s = [], o = [];
129
+ for (p = 0; p < v.length; p += 1)
130
+ c.delete(v[p]);
131
+ T(t, X.prev, P.next), T(t, u, X), T(t, P, S), i = S, u = P, E -= 1, s = [], v = [];
138
132
  } else
139
133
  c.delete(h), G(h, i, a), T(t, h.prev, h.next), T(t, h, u === null ? t.first : u.next), T(t, u, h), u = h;
140
134
  continue;
141
135
  }
142
- for (s = [], o = []; i !== null && i.k !== b; )
143
- (i.e.f & U) === 0 && (c ?? (c = /* @__PURE__ */ new Set())).add(i), o.push(i), i = i.next;
136
+ for (s = [], v = []; i !== null && i.k !== b; )
137
+ (i.e.f & U) === 0 && (c ?? (c = /* @__PURE__ */ new Set())).add(i), v.push(i), i = i.next;
144
138
  if (i === null)
145
139
  continue;
146
140
  h = i;
@@ -148,21 +142,21 @@ function qe(e, t, a, r, n, l, f) {
148
142
  s.push(h), u = h, i = h.next;
149
143
  }
150
144
  if (i !== null || c !== void 0) {
151
- for (var O = c === void 0 ? [] : j(c); i !== null; )
145
+ for (var O = c === void 0 ? [] : ee(c); i !== null; )
152
146
  (i.e.f & U) === 0 && O.push(i), i = i.next;
153
- var ie = O.length;
154
- if (ie > 0) {
155
- var ue = null;
156
- xe(t, O, ue, _);
147
+ var ue = O.length;
148
+ if (ue > 0) {
149
+ var fe = null;
150
+ Ye(t, O, fe, _);
157
151
  }
158
152
  }
159
153
  Z.first = t.first && t.first.e, Z.last = u && u.e;
160
154
  }
161
- function Be(e, t, a, r) {
162
- _e(e.v, t), e.i = a;
155
+ function Fe(e, t, a, r) {
156
+ he(e.v, t), e.i = a;
163
157
  }
164
- function ne(e, t, a, r, n, l, f, v, _, d) {
165
- var i = (_ & Ae) !== 0, c = (_ & ye) === 0, u = i ? c ? he(n) : z(n) : n, s = (_ & be) === 0 ? f : z(f), o = {
158
+ function se(e, t, a, r, n, l, f, o, _, d) {
159
+ var i = (_ & Ae) !== 0, c = (_ & Ie) === 0, u = i ? c ? de(n) : z(n) : n, s = (_ & ge) === 0 ? f : z(f), v = {
166
160
  i: s,
167
161
  v: u,
168
162
  k: l,
@@ -173,7 +167,7 @@ function ne(e, t, a, r, n, l, f, v, _, d) {
173
167
  next: r
174
168
  };
175
169
  try {
176
- return o.e = w(() => v(e, u, s, d), g), o.e.prev = a && a.e, o.e.next = r && r.e, a === null ? t.first = o : (a.next = o, a.e.next = o.e), r !== null && (r.prev = o, r.e.prev = o.e), o;
170
+ return v.e = w(() => o(e, u, s, d), g), v.e.prev = a && a.e, v.e.next = r && r.e, a === null ? t.first = v : (a.next = v, a.e.next = v.e), r !== null && (r.prev = v, r.e.prev = v.e), v;
177
171
  } finally {
178
172
  }
179
173
  }
@@ -190,7 +184,7 @@ function G(e, t, a) {
190
184
  ); l !== r; ) {
191
185
  var f = (
192
186
  /** @type {TemplateNode} */
193
- Te(l)
187
+ ye(l)
194
188
  );
195
189
  n.before(l), l = f;
196
190
  }
@@ -198,75 +192,75 @@ function G(e, t, a) {
198
192
  function T(e, t, a) {
199
193
  t === null ? e.first = a : (t.next = a, t.e.next = a && a.e), a !== null && (a.prev = t, a.e.prev = t && t.e);
200
194
  }
201
- function se(e) {
195
+ function le(e) {
202
196
  var t, a, r = "";
203
197
  if (typeof e == "string" || typeof e == "number") r += e;
204
198
  else if (typeof e == "object") if (Array.isArray(e)) {
205
199
  var n = e.length;
206
- for (t = 0; t < n; t++) e[t] && (a = se(e[t])) && (r && (r += " "), r += a);
200
+ for (t = 0; t < n; t++) e[t] && (a = le(e[t])) && (r && (r += " "), r += a);
207
201
  } else for (a in e) e[a] && (r && (r += " "), r += a);
208
202
  return r;
209
203
  }
210
- function Fe() {
211
- for (var e, t, a = 0, r = "", n = arguments.length; a < n; a++) (e = arguments[a]) && (t = se(e)) && (r && (r += " "), r += t);
204
+ function Ke() {
205
+ for (var e, t, a = 0, r = "", n = arguments.length; a < n; a++) (e = arguments[a]) && (t = le(e)) && (r && (r += " "), r += t);
212
206
  return r;
213
207
  }
214
- function Ke(e) {
215
- return typeof e == "object" ? Fe(e) : e ?? "";
208
+ function Xe(e) {
209
+ return typeof e == "object" ? Ke(e) : e ?? "";
216
210
  }
217
- function Xe(e, t, a) {
211
+ function Ze(e, t, a) {
218
212
  var r = e == null ? "" : "" + e;
219
213
  return r === "" ? null : r;
220
214
  }
221
- function Ze(e, t, a, r, n, l) {
215
+ function ze(e, t, a, r, n, l) {
222
216
  var f = e.__className;
223
217
  if (g || f !== a || f === void 0) {
224
- var v = Xe(a);
225
- (!g || v !== e.getAttribute("class")) && (v == null ? e.removeAttribute("class") : e.className = v), e.__className = a;
218
+ var o = Ze(a);
219
+ (!g || o !== e.getAttribute("class")) && (o == null ? e.removeAttribute("class") : e.className = o), e.__className = a;
226
220
  }
227
221
  return l;
228
222
  }
229
- const ze = Symbol("is custom element"), Ge = Symbol("is html");
230
- function Je(e, t, a, r) {
231
- var n = Qe(e);
232
- g && (n[t] = e.getAttribute(t)), n[t] !== (n[t] = a) && (a == null ? e.removeAttribute(t) : typeof a != "string" && We(e).includes(t) ? e[t] = a : e.setAttribute(t, a));
223
+ const Ge = Symbol("is custom element"), Je = Symbol("is html");
224
+ function Qe(e, t, a, r) {
225
+ var n = We(e);
226
+ g && (n[t] = e.getAttribute(t)), n[t] !== (n[t] = a) && (a == null ? e.removeAttribute(t) : typeof a != "string" && $e(e).includes(t) ? e[t] = a : e.setAttribute(t, a));
233
227
  }
234
- function Qe(e) {
228
+ function We(e) {
235
229
  return (
236
230
  /** @type {Record<string | symbol, unknown>} **/
237
231
  // @ts-expect-error
238
232
  e.__attributes ?? (e.__attributes = {
239
- [ze]: e.nodeName.includes("-"),
240
- [Ge]: e.namespaceURI === Ne
233
+ [Ge]: e.nodeName.includes("-"),
234
+ [Je]: e.namespaceURI === Se
241
235
  })
242
236
  );
243
237
  }
244
238
  var J = /* @__PURE__ */ new Map();
245
- function We(e) {
239
+ function $e(e) {
246
240
  var t = J.get(e.nodeName);
247
241
  if (t) return t;
248
242
  J.set(e.nodeName, t = []);
249
243
  for (var a, r = e, n = Element.prototype; n !== r; ) {
250
- a = Me(r);
244
+ a = He(r);
251
245
  for (var l in a)
252
246
  a[l].set && t.push(l);
253
- r = Se(r);
247
+ r = Me(r);
254
248
  }
255
249
  return t;
256
250
  }
257
- function $e(e, t, a = t) {
258
- var r = He();
259
- ke(e, "input", (n) => {
251
+ function je(e, t, a = t) {
252
+ var r = ke();
253
+ we(e, "input", (n) => {
260
254
  var l = n ? e.defaultValue : e.value;
261
255
  if (l = x(e) ? Y(l) : l, a(l), r && l !== (l = t())) {
262
- var f = e.selectionStart, v = e.selectionEnd;
263
- e.value = l ?? "", v !== null && (e.selectionStart = f, e.selectionEnd = Math.min(v, e.value.length));
256
+ var f = e.selectionStart, o = e.selectionEnd;
257
+ e.value = l ?? "", o !== null && (e.selectionStart = f, e.selectionEnd = Math.min(o, e.value.length));
264
258
  }
265
259
  }), // If we are hydrating and the value has since changed,
266
260
  // then use the updated value from the input instead.
267
261
  (g && e.defaultValue !== e.value || // If defaultValue is set, then value == defaultValue
268
262
  // TODO Svelte 6: remove input.value check and set to empty string?
269
- we(t) == null && e.value) && a(x(e) ? Y(e.value) : e.value), Re(() => {
263
+ Re(t) == null && e.value) && a(x(e) ? Y(e.value) : e.value), Ce(() => {
270
264
  var n = t();
271
265
  x(e) && n === Y(e.value) || e.type === "date" && !n && !e.value || n !== e.value && (e.value = n ?? "");
272
266
  });
@@ -278,10 +272,10 @@ function x(e) {
278
272
  function Y(e) {
279
273
  return e === "" ? null : +e;
280
274
  }
281
- var je = D("<button> </button>"), et = D('<div><button class="HTMLEditor">HTML</button> <button class="PlainEditor">Plain</button> <!></div>');
282
- function le(e, t) {
283
- te(t, !1);
284
- const a = Ce();
275
+ var et = D("<button> </button>"), tt = D('<div><button class="HTMLEditor">HTML</button> <button class="PlainEditor">Plain</button> <!></div>');
276
+ function ie(e, t) {
277
+ ae(t, !1);
278
+ const a = Le();
285
279
  let r = M(t, "buttons", 28, () => []);
286
280
  function n() {
287
281
  a("html", {});
@@ -289,17 +283,17 @@ function le(e, t) {
289
283
  function l() {
290
284
  a("plain", {});
291
285
  }
292
- ae();
293
- var f = et(), v = C(f), _ = K(v, 2), d = K(_, 2);
294
- return Ye(d, 1, r, Ve, (i, c) => {
295
- var u = je(), s = C(u, !0);
296
- L(u), Le(() => {
297
- Ze(u, 1, Ke(y(c).style)), Je(u, "title", y(c).text), De(s, y(c).text);
298
- }), V("click", u, function(...o) {
286
+ re();
287
+ var f = tt(), o = C(f), _ = K(o, 2), d = K(_, 2);
288
+ return qe(d, 1, r, xe, (i, c) => {
289
+ var u = et(), s = C(u, !0);
290
+ L(u), De(() => {
291
+ ze(u, 1, Xe(A(c).style)), Qe(u, "title", A(c).text), Pe(s, A(c).text);
292
+ }), V("click", u, function(...v) {
299
293
  var m;
300
- (m = y(c).handler) == null || m.apply(this, o);
294
+ (m = A(c).handler) == null || m.apply(this, v);
301
295
  }), R(i, u);
302
- }), L(f), V("click", v, n), V("click", _, l), R(e, f), re({
296
+ }), L(f), V("click", o, n), V("click", _, l), R(e, f), ne({
303
297
  get buttons() {
304
298
  return r();
305
299
  },
@@ -308,10 +302,10 @@ function le(e, t) {
308
302
  }
309
303
  });
310
304
  }
311
- ee(le, { buttons: {} }, [], [], !0);
312
- var tt = D("<textarea></textarea>"), at = D('<main><div class="Editor"><!></div> <!></main>');
313
- function rt(e, t) {
314
- te(t, !1);
305
+ te(ie, { buttons: {} }, [], [], !0);
306
+ var at = D("<textarea></textarea>"), rt = D('<main><div class="Editor"><!></div> <!></main>');
307
+ function nt(e, t) {
308
+ ae(t, !1);
315
309
  let a = M(t, "value", 12, ""), r = M(t, "buttons", 28, () => []), n = M(t, "html", 12, !0);
316
310
  function l() {
317
311
  n() || n(!0);
@@ -319,30 +313,30 @@ function rt(e, t) {
319
313
  function f() {
320
314
  n() && (a(a().replace(/<[^>]*>?/gm, "")), n(!1));
321
315
  }
322
- ae();
323
- var v = at(), _ = C(v), d = C(_);
316
+ re();
317
+ var o = rt(), _ = C(o), d = C(_);
324
318
  {
325
319
  var i = (s) => {
326
- Pe(s, {
320
+ Oe(s, {
327
321
  get value() {
328
322
  return a();
329
323
  },
330
- set value(o) {
331
- a(o);
324
+ set value(v) {
325
+ a(v);
332
326
  },
333
327
  $$legacy: !0
334
328
  });
335
329
  }, c = (s) => {
336
- var o = tt();
337
- Oe(o), $e(o, a), R(s, o);
330
+ var v = at();
331
+ Ue(v), je(v, a), R(s, v);
338
332
  };
339
- Ue(d, (s) => {
333
+ Ve(d, (s) => {
340
334
  n() ? s(i) : s(c, !1);
341
335
  });
342
336
  }
343
337
  L(_);
344
338
  var u = K(_, 2);
345
- return le(u, {
339
+ return ie(u, {
346
340
  get buttons() {
347
341
  return r();
348
342
  },
@@ -351,7 +345,7 @@ function rt(e, t) {
351
345
  },
352
346
  $$events: { html: l, plain: f },
353
347
  $$legacy: !0
354
- }), L(v), R(e, v), re({
348
+ }), L(o), R(e, o), ne({
355
349
  get value() {
356
350
  return a();
357
351
  },
@@ -372,4 +366,4 @@ function rt(e, t) {
372
366
  }
373
367
  });
374
368
  }
375
- customElements.define("switchable-editor", ee(rt, { value: {}, buttons: {}, html: {} }, [], [], !1));
369
+ customElements.define("switchable-editor", te(nt, { value: {}, buttons: {}, html: {} }, [], [], !1));
@@ -1,4 +1,4 @@
1
- import { g as c } from "./ckeditor5-D0hgGZ63.js";
1
+ import { g as c } from "./ckeditor5-bgmzTgom.js";
2
2
  function g(e, l) {
3
3
  for (var a = 0; a < l.length; a++) {
4
4
  const t = l[a];
@@ -1,4 +1,4 @@
1
- import { g as c } from "./ckeditor5-D0hgGZ63.js";
1
+ import { g as c } from "./ckeditor5-bgmzTgom.js";
2
2
  function g(e, l) {
3
3
  for (var a = 0; a < l.length; a++) {
4
4
  const t = l[a];
@@ -1,4 +1,4 @@
1
- import { g as c } from "./ckeditor5-D0hgGZ63.js";
1
+ import { g as c } from "./ckeditor5-bgmzTgom.js";
2
2
  function g(e, l) {
3
3
  for (var a = 0; a < l.length; a++) {
4
4
  const t = l[a];
@@ -1,4 +1,4 @@
1
- import { g as c } from "./ckeditor5-D0hgGZ63.js";
1
+ import { g as c } from "./ckeditor5-bgmzTgom.js";
2
2
  function g(e, l) {
3
3
  for (var a = 0; a < l.length; a++) {
4
4
  const t = l[a];
@@ -1,4 +1,4 @@
1
- import { g as c } from "./ckeditor5-D0hgGZ63.js";
1
+ import { g as c } from "./ckeditor5-bgmzTgom.js";
2
2
  function g(e, l) {
3
3
  for (var a = 0; a < l.length; a++) {
4
4
  const t = l[a];
@@ -1,4 +1,4 @@
1
- import { g as c } from "./ckeditor5-D0hgGZ63.js";
1
+ import { g as c } from "./ckeditor5-bgmzTgom.js";
2
2
  function d(e, l) {
3
3
  for (var a = 0; a < l.length; a++) {
4
4
  const t = l[a];
@@ -1,4 +1,4 @@
1
- import { g as s } from "./ckeditor5-D0hgGZ63.js";
1
+ import { g as s } from "./ckeditor5-bgmzTgom.js";
2
2
  function d(a, n) {
3
3
  for (var t = 0; t < n.length; t++) {
4
4
  const e = n[t];
@@ -1,4 +1,4 @@
1
- import { g as u } from "./ckeditor5-D0hgGZ63.js";
1
+ import { g as u } from "./ckeditor5-bgmzTgom.js";
2
2
  function d(a, l) {
3
3
  for (var e = 0; e < l.length; e++) {
4
4
  const i = l[e];
@@ -1,4 +1,4 @@
1
- import { g as c } from "./ckeditor5-D0hgGZ63.js";
1
+ import { g as c } from "./ckeditor5-bgmzTgom.js";
2
2
  function g(e, l) {
3
3
  for (var a = 0; a < l.length; a++) {
4
4
  const t = l[a];
@@ -1,4 +1,4 @@
1
- import { g as c } from "./ckeditor5-D0hgGZ63.js";
1
+ import { g as c } from "./ckeditor5-bgmzTgom.js";
2
2
  function g(e, l) {
3
3
  for (var a = 0; a < l.length; a++) {
4
4
  const t = l[a];
@@ -1,4 +1,4 @@
1
- import { g as r } from "./ckeditor5-D0hgGZ63.js";
1
+ import { g as r } from "./ckeditor5-bgmzTgom.js";
2
2
  function u(a, n) {
3
3
  for (var e = 0; e < n.length; e++) {
4
4
  const i = n[e];
@@ -1,4 +1,4 @@
1
- import { g as u } from "./ckeditor5-D0hgGZ63.js";
1
+ import { g as u } from "./ckeditor5-bgmzTgom.js";
2
2
  function c(e, l) {
3
3
  for (var i = 0; i < l.length; i++) {
4
4
  const t = l[i];
@@ -1,4 +1,4 @@
1
- import { g as s } from "./ckeditor5-D0hgGZ63.js";
1
+ import { g as s } from "./ckeditor5-bgmzTgom.js";
2
2
  function d(e, i) {
3
3
  for (var o = 0; o < i.length; o++) {
4
4
  const a = i[o];
@@ -1,4 +1,4 @@
1
- import { g as c } from "./ckeditor5-D0hgGZ63.js";
1
+ import { g as c } from "./ckeditor5-bgmzTgom.js";
2
2
  function g(e, l) {
3
3
  for (var a = 0; a < l.length; a++) {
4
4
  const t = l[a];
@@ -1,4 +1,4 @@
1
- import { g as c } from "./ckeditor5-D0hgGZ63.js";
1
+ import { g as c } from "./ckeditor5-bgmzTgom.js";
2
2
  function g(e, l) {
3
3
  for (var a = 0; a < l.length; a++) {
4
4
  const t = l[a];
@@ -1,4 +1,4 @@
1
- import { g as c } from "./ckeditor5-D0hgGZ63.js";
1
+ import { g as c } from "./ckeditor5-bgmzTgom.js";
2
2
  function g(t, l) {
3
3
  for (var a = 0; a < l.length; a++) {
4
4
  const e = l[a];
@@ -1,4 +1,4 @@
1
- import { g as c } from "./ckeditor5-D0hgGZ63.js";
1
+ import { g as c } from "./ckeditor5-bgmzTgom.js";
2
2
  function m(t, l) {
3
3
  for (var a = 0; a < l.length; a++) {
4
4
  const e = l[a];
@@ -1,4 +1,4 @@
1
- import { g } from "./ckeditor5-D0hgGZ63.js";
1
+ import { g } from "./ckeditor5-bgmzTgom.js";
2
2
  function k(e, i) {
3
3
  for (var a = 0; a < i.length; a++) {
4
4
  const t = i[a];
@@ -1,4 +1,4 @@
1
- import { g as c } from "./ckeditor5-D0hgGZ63.js";
1
+ import { g as c } from "./ckeditor5-bgmzTgom.js";
2
2
  function g(e, l) {
3
3
  for (var a = 0; a < l.length; a++) {
4
4
  const t = l[a];
@@ -1,4 +1,4 @@
1
- import { g as s } from "./ckeditor5-D0hgGZ63.js";
1
+ import { g as s } from "./ckeditor5-bgmzTgom.js";
2
2
  function d(a, i) {
3
3
  for (var t = 0; t < i.length; t++) {
4
4
  const e = i[t];
@@ -1,4 +1,4 @@
1
- import { g as s } from "./ckeditor5-D0hgGZ63.js";
1
+ import { g as s } from "./ckeditor5-bgmzTgom.js";
2
2
  function m(e, o) {
3
3
  for (var i = 0; i < o.length; i++) {
4
4
  const a = o[i];
@@ -1,4 +1,4 @@
1
- import { g as c } from "./ckeditor5-D0hgGZ63.js";
1
+ import { g as c } from "./ckeditor5-bgmzTgom.js";
2
2
  function g(e, l) {
3
3
  for (var a = 0; a < l.length; a++) {
4
4
  const t = l[a];
@@ -1,4 +1,4 @@
1
- import { g as c } from "./ckeditor5-D0hgGZ63.js";
1
+ import { g as c } from "./ckeditor5-bgmzTgom.js";
2
2
  function g(e, l) {
3
3
  for (var a = 0; a < l.length; a++) {
4
4
  const t = l[a];