@rhc-shared-components/rich-text-editor 2.0.0 → 2.0.2

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 (2) hide show
  1. package/dist/index.js +409 -404
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2,8 +2,8 @@ import pg, { useRef as lg, useState as S_, useEffect as T_ } from "react";
2
2
  import { FormGroup as P_, FormHelperText as B_, HelperText as R_, HelperTextItem as I_, ValidatedOptions as Yc } from "@patternfly/react-core";
3
3
  import { useField as O_, useFormikContext as M_ } from "formik";
4
4
  import './assets/index.css';var Pn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
5
- function F_(j) {
6
- return j && j.__esModule && Object.prototype.hasOwnProperty.call(j, "default") ? j.default : j;
5
+ function F_(H) {
6
+ return H && H.__esModule && Object.prototype.hasOwnProperty.call(H, "default") ? H.default : H;
7
7
  }
8
8
  var As = { exports: {} }, Gi = {};
9
9
  /**
@@ -19,23 +19,23 @@ var dg;
19
19
  function N_() {
20
20
  if (dg) return Gi;
21
21
  dg = 1;
22
- var j = Symbol.for("react.transitional.element"), J = Symbol.for("react.fragment");
23
- function kt(ot, N, X) {
22
+ var H = Symbol.for("react.transitional.element"), Z = Symbol.for("react.fragment");
23
+ function kt(ot, N, tt) {
24
24
  var I = null;
25
- if (X !== void 0 && (I = "" + X), N.key !== void 0 && (I = "" + N.key), "key" in N) {
26
- X = {};
25
+ if (tt !== void 0 && (I = "" + tt), N.key !== void 0 && (I = "" + N.key), "key" in N) {
26
+ tt = {};
27
27
  for (var x in N)
28
- x !== "key" && (X[x] = N[x]);
29
- } else X = N;
30
- return N = X.ref, {
31
- $$typeof: j,
28
+ x !== "key" && (tt[x] = N[x]);
29
+ } else tt = N;
30
+ return N = tt.ref, {
31
+ $$typeof: H,
32
32
  type: ot,
33
33
  key: I,
34
34
  ref: N !== void 0 ? N : null,
35
- props: X
35
+ props: tt
36
36
  };
37
37
  }
38
- return Gi.Fragment = J, Gi.jsx = kt, Gi.jsxs = kt, Gi;
38
+ return Gi.Fragment = Z, Gi.jsx = kt, Gi.jsxs = kt, Gi;
39
39
  }
40
40
  var Zi = {};
41
41
  /**
@@ -50,7 +50,7 @@ var Zi = {};
50
50
  var ug;
51
51
  function z_() {
52
52
  return ug || (ug = 1, process.env.NODE_ENV !== "production" && (function() {
53
- function j(R) {
53
+ function H(R) {
54
54
  if (R == null) return null;
55
55
  if (typeof R == "function")
56
56
  return R.$$typeof === St ? null : R.displayName || R.name || null;
@@ -62,11 +62,11 @@ function z_() {
62
62
  return "Profiler";
63
63
  case Mt:
64
64
  return "StrictMode";
65
- case ct:
65
+ case it:
66
66
  return "Suspense";
67
67
  case q:
68
68
  return "SuspenseList";
69
- case st:
69
+ case at:
70
70
  return "Activity";
71
71
  }
72
72
  if (typeof R == "object")
@@ -75,30 +75,30 @@ function z_() {
75
75
  ), R.$$typeof) {
76
76
  case ht:
77
77
  return "Portal";
78
- case tt:
78
+ case Q:
79
79
  return R.displayName || "Context";
80
80
  case re:
81
81
  return (R._context.displayName || "Context") + ".Consumer";
82
- case Rt:
82
+ case Bt:
83
83
  var U = R.render;
84
84
  return R = R.displayName, R || (R = U.displayName || U.name || "", R = R !== "" ? "ForwardRef(" + R + ")" : "ForwardRef"), R;
85
- case H:
86
- return U = R.displayName || null, U !== null ? U : j(R.type) || "Memo";
87
- case $:
85
+ case j:
86
+ return U = R.displayName || null, U !== null ? U : H(R.type) || "Memo";
87
+ case W:
88
88
  U = R._payload, R = R._init;
89
89
  try {
90
- return j(R(U));
90
+ return H(R(U));
91
91
  } catch {
92
92
  }
93
93
  }
94
94
  return null;
95
95
  }
96
- function J(R) {
96
+ function Z(R) {
97
97
  return "" + R;
98
98
  }
99
99
  function kt(R) {
100
100
  try {
101
- J(R);
101
+ Z(R);
102
102
  var U = !1;
103
103
  } catch {
104
104
  U = !0;
@@ -110,15 +110,15 @@ function z_() {
110
110
  U,
111
111
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
112
112
  Ot
113
- ), J(R);
113
+ ), Z(R);
114
114
  }
115
115
  }
116
116
  function ot(R) {
117
117
  if (R === ft) return "<>";
118
- if (typeof R == "object" && R !== null && R.$$typeof === $)
118
+ if (typeof R == "object" && R !== null && R.$$typeof === W)
119
119
  return "<...>";
120
120
  try {
121
- var U = j(R);
121
+ var U = H(R);
122
122
  return U ? "<" + U + ">" : "<...>";
123
123
  } catch {
124
124
  return "<...>";
@@ -128,7 +128,7 @@ function z_() {
128
128
  var R = _t.A;
129
129
  return R === null ? null : R.getOwner();
130
130
  }
131
- function X() {
131
+ function tt() {
132
132
  return Error("react-stack-top-frame");
133
133
  }
134
134
  function I(R) {
@@ -151,7 +151,7 @@ function z_() {
151
151
  });
152
152
  }
153
153
  function _() {
154
- var R = j(this.type);
154
+ var R = H(this.type);
155
155
  return we[R] || (we[R] = !0, console.error(
156
156
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
157
157
  )), R = this.props.ref, R !== void 0 ? R : null;
@@ -193,7 +193,7 @@ function z_() {
193
193
  var F = U.children;
194
194
  if (F !== void 0)
195
195
  if (Ot)
196
- if (it(F)) {
196
+ if (rt(F)) {
197
197
  for (Ot = 0; Ot < F.length; Ot++)
198
198
  P(F[Ot]);
199
199
  Object.freeze && Object.freeze(F);
@@ -203,7 +203,7 @@ function z_() {
203
203
  );
204
204
  else P(F);
205
205
  if (bt.call(U, "key")) {
206
- F = j(R);
206
+ F = H(R);
207
207
  var Se = Object.keys(U).filter(function(ao) {
208
208
  return ao !== "key";
209
209
  });
@@ -238,12 +238,12 @@ React keys must be passed directly to JSX without using spread:
238
238
  );
239
239
  }
240
240
  function P(R) {
241
- g(R) ? R._store && (R._store.validated = 1) : typeof R == "object" && R !== null && R.$$typeof === $ && (R._payload.status === "fulfilled" ? g(R._payload.value) && R._payload.value._store && (R._payload.value._store.validated = 1) : R._store && (R._store.validated = 1));
241
+ g(R) ? R._store && (R._store.validated = 1) : typeof R == "object" && R !== null && R.$$typeof === W && (R._payload.status === "fulfilled" ? g(R._payload.value) && R._payload.value._store && (R._payload.value._store.validated = 1) : R._store && (R._store.validated = 1));
242
242
  }
243
243
  function g(R) {
244
244
  return typeof R == "object" && R !== null && R.$$typeof === L;
245
245
  }
246
- var y = pg, L = Symbol.for("react.transitional.element"), ht = Symbol.for("react.portal"), ft = Symbol.for("react.fragment"), Mt = Symbol.for("react.strict_mode"), Wt = Symbol.for("react.profiler"), re = Symbol.for("react.consumer"), tt = Symbol.for("react.context"), Rt = Symbol.for("react.forward_ref"), ct = Symbol.for("react.suspense"), q = Symbol.for("react.suspense_list"), H = Symbol.for("react.memo"), $ = Symbol.for("react.lazy"), st = Symbol.for("react.activity"), St = Symbol.for("react.client.reference"), _t = y.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, bt = Object.prototype.hasOwnProperty, it = Array.isArray, It = console.createTask ? console.createTask : function() {
246
+ var y = pg, L = Symbol.for("react.transitional.element"), ht = Symbol.for("react.portal"), ft = Symbol.for("react.fragment"), Mt = Symbol.for("react.strict_mode"), Wt = Symbol.for("react.profiler"), re = Symbol.for("react.consumer"), Q = Symbol.for("react.context"), Bt = Symbol.for("react.forward_ref"), it = Symbol.for("react.suspense"), q = Symbol.for("react.suspense_list"), j = Symbol.for("react.memo"), W = Symbol.for("react.lazy"), at = Symbol.for("react.activity"), St = Symbol.for("react.client.reference"), _t = y.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, bt = Object.prototype.hasOwnProperty, rt = Array.isArray, It = console.createTask ? console.createTask : function() {
247
247
  return null;
248
248
  };
249
249
  y = {
@@ -253,8 +253,8 @@ React keys must be passed directly to JSX without using spread:
253
253
  };
254
254
  var qt, we = {}, De = y.react_stack_bottom_frame.bind(
255
255
  y,
256
- X
257
- )(), dn = It(ot(X)), We = {};
256
+ tt
257
+ )(), dn = It(ot(tt)), We = {};
258
258
  Zi.Fragment = ft, Zi.jsx = function(R, U, Tt) {
259
259
  var Ot = 1e4 > _t.recentlyCreatedOwnerStacks++;
260
260
  return D(
@@ -290,9 +290,9 @@ var ln = V_(), Ji = { exports: {} };
290
290
  Ji.exports;
291
291
  var fg;
292
292
  function L_() {
293
- return fg || (fg = 1, (function(j, J) {
293
+ return fg || (fg = 1, (function(H, Z) {
294
294
  (function(kt, ot) {
295
- j.exports = ot(pg);
295
+ H.exports = ot(pg);
296
296
  })(self, ((kt) => (() => {
297
297
  var ot = { 703: (x, _, E) => {
298
298
  var D = E(414);
@@ -301,10 +301,10 @@ function L_() {
301
301
  function g() {
302
302
  }
303
303
  g.resetWarningCache = P, x.exports = function() {
304
- function y(ft, Mt, Wt, re, tt, Rt) {
305
- if (Rt !== D) {
306
- var ct = new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");
307
- throw ct.name = "Invariant Violation", ct;
304
+ function y(ft, Mt, Wt, re, Q, Bt) {
305
+ if (Bt !== D) {
306
+ var it = new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");
307
+ throw it.name = "Invariant Violation", it;
308
308
  }
309
309
  }
310
310
  function L() {
@@ -321,24 +321,24 @@ function L_() {
321
321
  }, 787: (x) => {
322
322
  x.exports = kt;
323
323
  } }, N = {};
324
- function X(x) {
324
+ function tt(x) {
325
325
  var _ = N[x];
326
326
  if (_ !== void 0) return _.exports;
327
327
  var E = N[x] = { exports: {} };
328
- return ot[x](E, E.exports, X), E.exports;
328
+ return ot[x](E, E.exports, tt), E.exports;
329
329
  }
330
- X.n = (x) => {
330
+ tt.n = (x) => {
331
331
  var _ = x && x.__esModule ? () => x.default : () => x;
332
- return X.d(_, { a: _ }), _;
333
- }, X.d = (x, _) => {
334
- for (var E in _) X.o(_, E) && !X.o(x, E) && Object.defineProperty(x, E, { enumerable: !0, get: _[E] });
335
- }, X.o = (x, _) => Object.prototype.hasOwnProperty.call(x, _), X.r = (x) => {
332
+ return tt.d(_, { a: _ }), _;
333
+ }, tt.d = (x, _) => {
334
+ for (var E in _) tt.o(_, E) && !tt.o(x, E) && Object.defineProperty(x, E, { enumerable: !0, get: _[E] });
335
+ }, tt.o = (x, _) => Object.prototype.hasOwnProperty.call(x, _), tt.r = (x) => {
336
336
  typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(x, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(x, "__esModule", { value: !0 });
337
337
  };
338
338
  var I = {};
339
339
  return (() => {
340
- X.r(I), X.d(I, { CKEditor: () => Ce, CKEditorContext: () => ce });
341
- var x = X(787), _ = X.n(x), E = X(697), D = X.n(E);
340
+ tt.r(I), tt.d(I, { CKEditor: () => Ce, CKEditorContext: () => ce });
341
+ var x = tt(787), _ = tt.n(x), E = tt(697), D = tt.n(E);
342
342
  const P = function(k) {
343
343
  var b = typeof k;
344
344
  return k != null && (b == "object" || b == "function");
@@ -355,25 +355,25 @@ function L_() {
355
355
  var Wt = /^\s+/;
356
356
  const re = function(k) {
357
357
  return k && k.slice(0, Mt(k) + 1).replace(Wt, "");
358
- }, tt = L.Symbol;
359
- var Rt = Object.prototype, ct = Rt.hasOwnProperty, q = Rt.toString, H = tt ? tt.toStringTag : void 0;
360
- const $ = function(k) {
361
- var b = ct.call(k, H), C = k[H];
358
+ }, Q = L.Symbol;
359
+ var Bt = Object.prototype, it = Bt.hasOwnProperty, q = Bt.toString, j = Q ? Q.toStringTag : void 0;
360
+ const W = function(k) {
361
+ var b = it.call(k, j), C = k[j];
362
362
  try {
363
- k[H] = void 0;
363
+ k[j] = void 0;
364
364
  var S = !0;
365
365
  } catch {
366
366
  }
367
367
  var V = q.call(k);
368
- return S && (b ? k[H] = C : delete k[H]), V;
368
+ return S && (b ? k[j] = C : delete k[j]), V;
369
369
  };
370
- var st = Object.prototype.toString;
370
+ var at = Object.prototype.toString;
371
371
  const St = function(k) {
372
- return st.call(k);
372
+ return at.call(k);
373
373
  };
374
- var _t = "[object Null]", bt = "[object Undefined]", it = tt ? tt.toStringTag : void 0;
374
+ var _t = "[object Null]", bt = "[object Undefined]", rt = Q ? Q.toStringTag : void 0;
375
375
  const It = function(k) {
376
- return k == null ? k === void 0 ? bt : _t : it && it in Object(k) ? $(k) : St(k);
376
+ return k == null ? k === void 0 ? bt : _t : rt && rt in Object(k) ? W(k) : St(k);
377
377
  }, qt = function(k) {
378
378
  return k != null && typeof k == "object";
379
379
  };
@@ -396,11 +396,11 @@ function L_() {
396
396
  };
397
397
  var $e = "Expected a function", un = Math.max, F = Math.min;
398
398
  const Se = function(k, b, C) {
399
- var S, V, K, Z, lt, ie, Pt = 0, Hn = !1, tn = !1, en = !0;
399
+ var S, V, K, J, lt, ie, Pt = 0, Hn = !1, tn = !1, en = !0;
400
400
  if (typeof k != "function") throw new TypeError($e);
401
401
  function se(Yt) {
402
402
  var ve = S, Ne = V;
403
- return S = V = void 0, Pt = Yt, Z = k.apply(Ne, ve);
403
+ return S = V = void 0, Pt = Yt, J = k.apply(Ne, ve);
404
404
  }
405
405
  function Te(Yt) {
406
406
  var ve = Yt - ie;
@@ -415,22 +415,22 @@ function L_() {
415
415
  })(Yt));
416
416
  }
417
417
  function Ao(Yt) {
418
- return lt = void 0, en && S ? se(Yt) : (S = V = void 0, Z);
418
+ return lt = void 0, en && S ? se(Yt) : (S = V = void 0, J);
419
419
  }
420
420
  function Ei() {
421
421
  var Yt = ht(), ve = Te(Yt);
422
422
  if (S = arguments, V = this, ie = Yt, ve) {
423
423
  if (lt === void 0) return (function(Ne) {
424
- return Pt = Ne, lt = setTimeout(An, b), Hn ? se(Ne) : Z;
424
+ return Pt = Ne, lt = setTimeout(An, b), Hn ? se(Ne) : J;
425
425
  })(ie);
426
426
  if (tn) return clearTimeout(lt), lt = setTimeout(An, b), se(ie);
427
427
  }
428
- return lt === void 0 && (lt = setTimeout(An, b)), Z;
428
+ return lt === void 0 && (lt = setTimeout(An, b)), J;
429
429
  }
430
430
  return b = Ot(b) || 0, P(C) && (Hn = !!C.leading, K = (tn = "maxWait" in C) ? un(Ot(C.maxWait) || 0, b) : K, en = "trailing" in C ? !!C.trailing : en), Ei.cancel = function() {
431
431
  lt !== void 0 && clearTimeout(lt), Pt = 0, S = ie = V = lt = void 0;
432
432
  }, Ei.flush = function() {
433
- return lt === void 0 ? Z : Ao(ht());
433
+ return lt === void 0 ? J : Ao(ht());
434
434
  }, Ei;
435
435
  };
436
436
  var et = "Expected a function";
@@ -620,7 +620,7 @@ function L_() {
620
620
  }, Go = Array.isArray, bn = function() {
621
621
  return !1;
622
622
  };
623
- var wn = J && !J.nodeType && J, lr = wn && !0 && j && !j.nodeType && j, Fn = lr && lr.exports === wn ? L.Buffer : void 0;
623
+ var wn = Z && !Z.nodeType && Z, lr = wn && !0 && H && !H.nodeType && H, Fn = lr && lr.exports === wn ? L.Buffer : void 0;
624
624
  const po = (Fn ? Fn.isBuffer : void 0) || bn;
625
625
  var Js = 9007199254740991, Zo = /^(?:0|[1-9]\d*)$/;
626
626
  const _n = function(k, b) {
@@ -640,7 +640,7 @@ function L_() {
640
640
  return k(b);
641
641
  };
642
642
  };
643
- var mo = J && !J.nodeType && J, jt = mo && !0 && j && !j.nodeType && j, Qo = jt && jt.exports === mo && g.process;
643
+ var mo = Z && !Z.nodeType && Z, jt = mo && !0 && H && !H.nodeType && H, Qo = jt && jt.exports === mo && g.process;
644
644
  const Ye = (function() {
645
645
  try {
646
646
  var k = jt && jt.require && jt.require("util").types;
@@ -652,8 +652,8 @@ function L_() {
652
652
  const dr = Xo ? Yo(Xo) : Qs;
653
653
  var Nn = Object.prototype.hasOwnProperty;
654
654
  const Xs = function(k, b) {
655
- var C = Go(k), S = !C && go(k), V = !C && !S && po(k), K = !C && !S && !V && dr(k), Z = C || S || V || K, lt = Z ? fo(k.length, String) : [], ie = lt.length;
656
- for (var Pt in k) !Nn.call(k, Pt) || Z && (Pt == "length" || V && (Pt == "offset" || Pt == "parent") || K && (Pt == "buffer" || Pt == "byteLength" || Pt == "byteOffset") || _n(Pt, ie)) || lt.push(Pt);
655
+ var C = Go(k), S = !C && go(k), V = !C && !S && po(k), K = !C && !S && !V && dr(k), J = C || S || V || K, lt = J ? fo(k.length, String) : [], ie = lt.length;
656
+ for (var Pt in k) !Nn.call(k, Pt) || J && (Pt == "length" || V && (Pt == "offset" || Pt == "parent") || K && (Pt == "buffer" || Pt == "byteLength" || Pt == "byteOffset") || _n(Pt, ie)) || lt.push(Pt);
657
657
  return lt;
658
658
  };
659
659
  var ti = Object.prototype;
@@ -676,14 +676,14 @@ function L_() {
676
676
  }, oi = function(k) {
677
677
  return zn(k) ? Xs(k) : ur(k);
678
678
  };
679
- var Qe = J && !J.nodeType && J, ii = Qe && !0 && j && !j.nodeType && j, ko = ii && ii.exports === Qe ? L.Buffer : void 0;
679
+ var Qe = Z && !Z.nodeType && Z, ii = Qe && !0 && H && !H.nodeType && H, ko = ii && ii.exports === Qe ? L.Buffer : void 0;
680
680
  ko && ko.allocUnsafe;
681
681
  const ea = function(k, b) {
682
682
  return k.slice();
683
683
  }, hr = function(k, b) {
684
684
  for (var C = -1, S = k == null ? 0 : k.length, V = 0, K = []; ++C < S; ) {
685
- var Z = k[C];
686
- b(Z, C, k) && (K[V++] = Z);
685
+ var J = k[C];
686
+ b(J, C, k) && (K[V++] = J);
687
687
  }
688
688
  return K;
689
689
  }, na = function() {
@@ -737,7 +737,7 @@ function L_() {
737
737
  var b = new k.constructor(k.source, mi.exec(k));
738
738
  return b.lastIndex = k.lastIndex, b;
739
739
  };
740
- var bo = tt ? tt.prototype : void 0, wo = bo ? bo.valueOf : void 0;
740
+ var bo = Q ? Q.prototype : void 0, wo = bo ? bo.valueOf : void 0;
741
741
  const ki = function(k) {
742
742
  return wo ? Object(wo.call(k)) : {};
743
743
  }, bi = function(k, b) {
@@ -806,9 +806,9 @@ function L_() {
806
806
  const va = Br ? Yo(Br) : Pr;
807
807
  var Ai = "[object Arguments]", Rr = "[object Function]", Ir = "[object GeneratorFunction]", Ci = "[object Object]", vt = {};
808
808
  vt[Ai] = vt["[object Array]"] = vt["[object ArrayBuffer]"] = vt["[object DataView]"] = vt["[object Boolean]"] = vt["[object Date]"] = vt["[object Float32Array]"] = vt["[object Float64Array]"] = vt["[object Int8Array]"] = vt["[object Int16Array]"] = vt["[object Int32Array]"] = vt["[object Map]"] = vt["[object Number]"] = vt[Ci] = vt["[object RegExp]"] = vt["[object Set]"] = vt["[object String]"] = vt["[object Symbol]"] = vt["[object Uint8Array]"] = vt["[object Uint8ClampedArray]"] = vt["[object Uint16Array]"] = vt["[object Uint32Array]"] = !0, vt["[object Error]"] = vt[Rr] = vt["[object WeakMap]"] = !1;
809
- const yt = function k(b, C, S, V, K, Z) {
809
+ const yt = function k(b, C, S, V, K, J) {
810
810
  var lt;
811
- if (S && (lt = K ? S(b, V, K, Z) : S(b)), lt !== void 0) return lt;
811
+ if (S && (lt = K ? S(b, V, K, J) : S(b)), lt !== void 0) return lt;
812
812
  if (!P(b)) return b;
813
813
  var ie = Go(b);
814
814
  if (ie)
@@ -823,17 +823,17 @@ function L_() {
823
823
  lt = xr(b, Pt);
824
824
  }
825
825
  }
826
- Z || (Z = new Ws());
827
- var tn = Z.get(b);
826
+ J || (J = new Ws());
827
+ var tn = J.get(b);
828
828
  if (tn) return tn;
829
- Z.set(b, lt), va(b) ? b.forEach((function(se) {
830
- lt.add(k(se, C, S, se, b, Z));
829
+ J.set(b, lt), va(b) ? b.forEach((function(se) {
830
+ lt.add(k(se, C, S, se, b, J));
831
831
  })) : Tr(b) && b.forEach((function(se, Te) {
832
- lt.set(Te, k(se, C, S, Te, b, Z));
832
+ lt.set(Te, k(se, C, S, Te, b, J));
833
833
  }));
834
834
  var en = ie ? void 0 : ra(b);
835
835
  return $s(en || b, (function(se, Te) {
836
- en && (se = b[Te = se]), Us(lt, Te, k(se, C, S, Te, b, Z));
836
+ en && (se = b[Te = se]), Us(lt, Te, k(se, C, S, Te, b, J));
837
837
  })), lt;
838
838
  };
839
839
  var vi = 1, Or = 4;
@@ -850,16 +850,16 @@ function L_() {
850
850
  }, yi = function(k) {
851
851
  return qt(k) && k.nodeType === 1 && !Jt(k);
852
852
  };
853
- function Q(k, b = /* @__PURE__ */ new Set()) {
853
+ function X(k, b = /* @__PURE__ */ new Set()) {
854
854
  const C = [k], S = /* @__PURE__ */ new Set();
855
855
  let V = 0;
856
856
  for (; C.length > V; ) {
857
857
  const K = C[V++];
858
858
  if (!(S.has(K) || xa(K) || b.has(K))) if (S.add(K), K[Symbol.iterator]) try {
859
- for (const Z of K) C.push(Z);
859
+ for (const J of K) C.push(J);
860
860
  } catch {
861
861
  }
862
- else for (const Z in K) Z !== "defaultValue" && C.push(K[Z]);
862
+ else for (const J in K) J !== "defaultValue" && C.push(K[J]);
863
863
  }
864
864
  return S;
865
865
  }
@@ -870,8 +870,8 @@ function L_() {
870
870
  function zr(k, b, C = /* @__PURE__ */ new Set()) {
871
871
  if (k === b && typeof (S = k) == "object" && S !== null) return !0;
872
872
  var S;
873
- const V = Q(k, C), K = Q(b, C);
874
- for (const Z of V) if (K.has(Z)) return !0;
873
+ const V = X(k, C), K = X(b, C);
874
+ for (const J of V) if (K.has(J)) return !0;
875
875
  return !1;
876
876
  }
877
877
  class xi {
@@ -1007,8 +1007,8 @@ function L_() {
1007
1007
  if (!this._context) throw new Error("Context was not created yet. You should call the `ContextWatchdog#create()` method first.");
1008
1008
  let V;
1009
1009
  if (this._watchdogs.has(S.id)) throw new Error(`Item with the given id is already added: '${S.id}'.`);
1010
- if (S.type === "editor") return V = new Vr(this._watchdogConfig), V.setCreator(S.creator), V._setExcludedProperties(this._contextProps), S.destructor && V.setDestructor(S.destructor), this._watchdogs.set(S.id, V), V.on("error", ((K, { error: Z, causesRestart: lt }) => {
1011
- this._fire("itemError", { itemId: S.id, error: Z }), lt && this._actionQueues.enqueue(S.id, (() => new Promise(((ie) => {
1010
+ if (S.type === "editor") return V = new Vr(this._watchdogConfig), V.setCreator(S.creator), V._setExcludedProperties(this._contextProps), S.destructor && V.setDestructor(S.destructor), this._watchdogs.set(S.id, V), V.on("error", ((K, { error: J, causesRestart: lt }) => {
1011
+ this._fire("itemError", { itemId: S.id, error: J }), lt && this._actionQueues.enqueue(S.id, (() => new Promise(((ie) => {
1012
1012
  V.on("restart", (function Pt() {
1013
1013
  V.off("restart", Pt), this._fire("itemRestart", { itemId: S.id }), ie();
1014
1014
  }).bind(this));
@@ -1033,7 +1033,7 @@ function L_() {
1033
1033
  })).then((() => this._create())).then((() => this._fire("restart"))))));
1034
1034
  }
1035
1035
  _create() {
1036
- return Promise.resolve().then((() => (this._startErrorHandling(), this._creator(this._contextConfig)))).then(((b) => (this._context = b, this._contextProps = Q(this._context), Promise.all(Array.from(this._watchdogs.values()).map(((C) => (C._setExcludedProperties(this._contextProps), C.create(void 0, void 0, this._context))))))));
1036
+ return Promise.resolve().then((() => (this._startErrorHandling(), this._creator(this._contextConfig)))).then(((b) => (this._context = b, this._contextProps = X(this._context), Promise.all(Array.from(this._watchdogs.values()).map(((C) => (C._setExcludedProperties(this._contextProps), C.create(void 0, void 0, this._context))))))));
1037
1037
  }
1038
1038
  _destroy() {
1039
1039
  return Promise.resolve().then((() => {
@@ -1065,7 +1065,7 @@ function L_() {
1065
1065
  const V = (S ? Promise.all(this._queues.values()) : Promise.all([this._queues.get(ge), this._queues.get(b)])).then(C), K = V.catch((() => {
1066
1066
  }));
1067
1067
  return this._queues.set(b, K), V.finally((() => {
1068
- this._activeActions--, this._queues.get(b) === K && this._activeActions === 0 && this._onEmptyCallbacks.forEach(((Z) => Z()));
1068
+ this._activeActions--, this._queues.get(b) === K && this._activeActions === 0 && this._onEmptyCallbacks.forEach(((J) => J()));
1069
1069
  }));
1070
1070
  }
1071
1071
  }
@@ -1137,12 +1137,12 @@ function L_() {
1137
1137
  return this.props.editor.create(b, C).then(((S) => {
1138
1138
  "disabled" in this.props && this.props.disabled && S.enableReadOnlyMode(pe);
1139
1139
  const V = S.model.document, K = S.editing.view.document;
1140
- return V.on("change:data", ((Z) => {
1141
- this.props.onChange && this.props.onChange(Z, S);
1142
- })), K.on("focus", ((Z) => {
1143
- this.props.onFocus && this.props.onFocus(Z, S);
1144
- })), K.on("blur", ((Z) => {
1145
- this.props.onBlur && this.props.onBlur(Z, S);
1140
+ return V.on("change:data", ((J) => {
1141
+ this.props.onChange && this.props.onChange(J, S);
1142
+ })), K.on("focus", ((J) => {
1143
+ this.props.onFocus && this.props.onFocus(J, S);
1144
+ })), K.on("blur", ((J) => {
1145
+ this.props.onBlur && this.props.onBlur(J, S);
1146
1146
  })), setTimeout((() => {
1147
1147
  this.props.onReady && this.props.onReady(S);
1148
1148
  })), S;
@@ -1178,8 +1178,8 @@ function L_() {
1178
1178
  return this._contextWatchdog.add({ sourceElementOrData: b, config: C, creator: this._creator, id: this._id, type: "editor" });
1179
1179
  }
1180
1180
  on(b, C) {
1181
- this._contextWatchdog.on("itemError", ((S, { itemId: V, causesRestart: K, error: Z }) => {
1182
- V === this._id && C(null, { error: Z, causesRestart: K });
1181
+ this._contextWatchdog.on("itemError", ((S, { itemId: V, causesRestart: K, error: J }) => {
1182
+ V === this._id && C(null, { error: J, causesRestart: K });
1183
1183
  }));
1184
1184
  }
1185
1185
  destroy() {
@@ -1200,7 +1200,7 @@ var j_ = L_(), Yi = { exports: {} };
1200
1200
  Yi.exports;
1201
1201
  var gg;
1202
1202
  function H_() {
1203
- return gg || (gg = 1, (function(j, J) {
1203
+ return gg || (gg = 1, (function(H, Z) {
1204
1204
  (function(kt) {
1205
1205
  const ot = kt.en = kt.en || {};
1206
1206
  ot.dictionary = Object.assign(ot.dictionary || {}, { "%0 of %1": "%0 of %1", Aquamarine: "Aquamarine", Black: "Black", "Block quote": "Block quote", Blue: "Blue", Bold: "Bold", "Bulleted List": "Bulleted List", Cancel: "Cancel", "Choose heading": "Choose heading", Column: "Column", "Delete column": "Delete column", "Delete row": "Delete row", "Dim grey": "Dim grey", Downloadable: "Downloadable", "Dropdown toolbar": "Dropdown toolbar", "Edit block": "Edit block", "Edit link": "Edit link", "Editor block content toolbar": "Editor block content toolbar", "Editor contextual toolbar": "Editor contextual toolbar", "Editor editing area: %0": "Editor editing area: %0", "Editor toolbar": "Editor toolbar", Green: "Green", Grey: "Grey", "Header column": "Header column", "Header row": "Header row", Heading: "Heading", "Heading 1": "Heading 1", "Heading 2": "Heading 2", "Heading 3": "Heading 3", "Heading 4": "Heading 4", "Heading 5": "Heading 5", "Heading 6": "Heading 6", "Insert code block": "Insert code block", "Insert column left": "Insert column left", "Insert column right": "Insert column right", "Insert paragraph after block": "Insert paragraph after block", "Insert paragraph before block": "Insert paragraph before block", "Insert row above": "Insert row above", "Insert row below": "Insert row below", "Insert table": "Insert table", Italic: "Italic", "Light blue": "Light blue", "Light green": "Light green", "Light grey": "Light grey", Link: "Link", "Link URL": "Link URL", "Merge cell down": "Merge cell down", "Merge cell left": "Merge cell left", "Merge cell right": "Merge cell right", "Merge cell up": "Merge cell up", "Merge cells": "Merge cells", Next: "Next", "Numbered List": "Numbered List", "Open in a new tab": "Open in a new tab", "Open link in new tab": "Open link in new tab", Orange: "Orange", Paragraph: "Paragraph", "Plain text": "Plain text", Previous: "Previous", Purple: "Purple", Red: "Red", Redo: "Redo", "Rich Text Editor": "Rich Text Editor", Row: "Row", Save: "Save", "Select all": "Select all", "Select column": "Select column", "Select row": "Select row", "Show more items": "Show more items", "Split cell horizontally": "Split cell horizontally", "Split cell vertically": "Split cell vertically", "Table toolbar": "Table toolbar", "This link has no URL": "This link has no URL", Turquoise: "Turquoise", Underline: "Underline", Undo: "Undo", Unlink: "Unlink", White: "White", "Widget toolbar": "Widget toolbar", Yellow: "Yellow" });
@@ -1209,7 +1209,7 @@ function H_() {
1209
1209
  * For licensing, see LICENSE.md.
1210
1210
  */
1211
1211
  (function(kt, ot) {
1212
- j.exports = ot();
1212
+ H.exports = ot();
1213
1213
  })(self, (() => (() => {
1214
1214
  var kt = { 636: (I, x, _) => {
1215
1215
  _.d(x, { Z: () => y });
@@ -6131,105 +6131,105 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
6131
6131
  return E === void 0 && (E = !!(window && document && document.all && !window.atob)), E;
6132
6132
  }, P = /* @__PURE__ */ (function() {
6133
6133
  var q = {};
6134
- return function(H) {
6135
- if (q[H] === void 0) {
6136
- var $ = document.querySelector(H);
6137
- if (window.HTMLIFrameElement && $ instanceof window.HTMLIFrameElement) try {
6138
- $ = $.contentDocument.head;
6134
+ return function(j) {
6135
+ if (q[j] === void 0) {
6136
+ var W = document.querySelector(j);
6137
+ if (window.HTMLIFrameElement && W instanceof window.HTMLIFrameElement) try {
6138
+ W = W.contentDocument.head;
6139
6139
  } catch {
6140
- $ = null;
6140
+ W = null;
6141
6141
  }
6142
- q[H] = $;
6142
+ q[j] = W;
6143
6143
  }
6144
- return q[H];
6144
+ return q[j];
6145
6145
  };
6146
6146
  })(), g = [];
6147
6147
  function y(q) {
6148
- for (var H = -1, $ = 0; $ < g.length; $++) if (g[$].identifier === q) {
6149
- H = $;
6148
+ for (var j = -1, W = 0; W < g.length; W++) if (g[W].identifier === q) {
6149
+ j = W;
6150
6150
  break;
6151
6151
  }
6152
- return H;
6152
+ return j;
6153
6153
  }
6154
- function L(q, H) {
6155
- for (var $ = {}, st = [], St = 0; St < q.length; St++) {
6156
- var _t = q[St], bt = H.base ? _t[0] + H.base : _t[0], it = $[bt] || 0, It = "".concat(bt, " ").concat(it);
6157
- $[bt] = it + 1;
6154
+ function L(q, j) {
6155
+ for (var W = {}, at = [], St = 0; St < q.length; St++) {
6156
+ var _t = q[St], bt = j.base ? _t[0] + j.base : _t[0], rt = W[bt] || 0, It = "".concat(bt, " ").concat(rt);
6157
+ W[bt] = rt + 1;
6158
6158
  var qt = y(It), we = { css: _t[1], media: _t[2], sourceMap: _t[3] };
6159
- qt !== -1 ? (g[qt].references++, g[qt].updater(we)) : g.push({ identifier: It, updater: ct(we, H), references: 1 }), st.push(It);
6159
+ qt !== -1 ? (g[qt].references++, g[qt].updater(we)) : g.push({ identifier: It, updater: it(we, j), references: 1 }), at.push(It);
6160
6160
  }
6161
- return st;
6161
+ return at;
6162
6162
  }
6163
6163
  function ht(q) {
6164
- var H = document.createElement("style"), $ = q.attributes || {};
6165
- if ($.nonce === void 0) {
6166
- var st = _.nc;
6167
- st && ($.nonce = st);
6168
- }
6169
- if (Object.keys($).forEach((function(_t) {
6170
- H.setAttribute(_t, $[_t]);
6171
- })), typeof q.insert == "function") q.insert(H);
6164
+ var j = document.createElement("style"), W = q.attributes || {};
6165
+ if (W.nonce === void 0) {
6166
+ var at = _.nc;
6167
+ at && (W.nonce = at);
6168
+ }
6169
+ if (Object.keys(W).forEach((function(_t) {
6170
+ j.setAttribute(_t, W[_t]);
6171
+ })), typeof q.insert == "function") q.insert(j);
6172
6172
  else {
6173
6173
  var St = P(q.insert || "head");
6174
6174
  if (!St) throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
6175
- St.appendChild(H);
6175
+ St.appendChild(j);
6176
6176
  }
6177
- return H;
6177
+ return j;
6178
6178
  }
6179
- var ft, Mt = (ft = [], function(q, H) {
6180
- return ft[q] = H, ft.filter(Boolean).join(`
6179
+ var ft, Mt = (ft = [], function(q, j) {
6180
+ return ft[q] = j, ft.filter(Boolean).join(`
6181
6181
  `);
6182
6182
  });
6183
- function Wt(q, H, $, st) {
6184
- var St = $ ? "" : st.media ? "@media ".concat(st.media, " {").concat(st.css, "}") : st.css;
6185
- if (q.styleSheet) q.styleSheet.cssText = Mt(H, St);
6183
+ function Wt(q, j, W, at) {
6184
+ var St = W ? "" : at.media ? "@media ".concat(at.media, " {").concat(at.css, "}") : at.css;
6185
+ if (q.styleSheet) q.styleSheet.cssText = Mt(j, St);
6186
6186
  else {
6187
6187
  var _t = document.createTextNode(St), bt = q.childNodes;
6188
- bt[H] && q.removeChild(bt[H]), bt.length ? q.insertBefore(_t, bt[H]) : q.appendChild(_t);
6188
+ bt[j] && q.removeChild(bt[j]), bt.length ? q.insertBefore(_t, bt[j]) : q.appendChild(_t);
6189
6189
  }
6190
6190
  }
6191
- function re(q, H, $) {
6192
- var st = $.css, St = $.media, _t = $.sourceMap;
6193
- if (St ? q.setAttribute("media", St) : q.removeAttribute("media"), _t && typeof btoa < "u" && (st += `
6194
- /*# sourceMappingURL=data:application/json;base64,`.concat(btoa(unescape(encodeURIComponent(JSON.stringify(_t)))), " */")), q.styleSheet) q.styleSheet.cssText = st;
6191
+ function re(q, j, W) {
6192
+ var at = W.css, St = W.media, _t = W.sourceMap;
6193
+ if (St ? q.setAttribute("media", St) : q.removeAttribute("media"), _t && typeof btoa < "u" && (at += `
6194
+ /*# sourceMappingURL=data:application/json;base64,`.concat(btoa(unescape(encodeURIComponent(JSON.stringify(_t)))), " */")), q.styleSheet) q.styleSheet.cssText = at;
6195
6195
  else {
6196
6196
  for (; q.firstChild; ) q.removeChild(q.firstChild);
6197
- q.appendChild(document.createTextNode(st));
6197
+ q.appendChild(document.createTextNode(at));
6198
6198
  }
6199
6199
  }
6200
- var tt = null, Rt = 0;
6201
- function ct(q, H) {
6202
- var $, st, St;
6203
- if (H.singleton) {
6204
- var _t = Rt++;
6205
- $ = tt || (tt = ht(H)), st = Wt.bind(null, $, _t, !1), St = Wt.bind(null, $, _t, !0);
6206
- } else $ = ht(H), st = re.bind(null, $, H), St = function() {
6200
+ var Q = null, Bt = 0;
6201
+ function it(q, j) {
6202
+ var W, at, St;
6203
+ if (j.singleton) {
6204
+ var _t = Bt++;
6205
+ W = Q || (Q = ht(j)), at = Wt.bind(null, W, _t, !1), St = Wt.bind(null, W, _t, !0);
6206
+ } else W = ht(j), at = re.bind(null, W, j), St = function() {
6207
6207
  (function(bt) {
6208
6208
  if (bt.parentNode === null) return !1;
6209
6209
  bt.parentNode.removeChild(bt);
6210
- })($);
6210
+ })(W);
6211
6211
  };
6212
- return st(q), function(bt) {
6212
+ return at(q), function(bt) {
6213
6213
  if (bt) {
6214
6214
  if (bt.css === q.css && bt.media === q.media && bt.sourceMap === q.sourceMap) return;
6215
- st(q = bt);
6215
+ at(q = bt);
6216
6216
  } else St();
6217
6217
  };
6218
6218
  }
6219
- I.exports = function(q, H) {
6220
- (H = H || {}).singleton || typeof H.singleton == "boolean" || (H.singleton = D());
6221
- var $ = L(q = q || [], H);
6222
- return function(st) {
6223
- if (st = st || [], Object.prototype.toString.call(st) === "[object Array]") {
6224
- for (var St = 0; St < $.length; St++) {
6225
- var _t = y($[St]);
6219
+ I.exports = function(q, j) {
6220
+ (j = j || {}).singleton || typeof j.singleton == "boolean" || (j.singleton = D());
6221
+ var W = L(q = q || [], j);
6222
+ return function(at) {
6223
+ if (at = at || [], Object.prototype.toString.call(at) === "[object Array]") {
6224
+ for (var St = 0; St < W.length; St++) {
6225
+ var _t = y(W[St]);
6226
6226
  g[_t].references--;
6227
6227
  }
6228
- for (var bt = L(st, H), it = 0; it < $.length; it++) {
6229
- var It = y($[it]);
6228
+ for (var bt = L(at, j), rt = 0; rt < W.length; rt++) {
6229
+ var It = y(W[rt]);
6230
6230
  g[It].references === 0 && (g[It].updater(), g.splice(It, 1));
6231
6231
  }
6232
- $ = bt;
6232
+ W = bt;
6233
6233
  }
6234
6234
  };
6235
6235
  };
@@ -6253,9 +6253,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
6253
6253
  if (typeof window == "object") return window;
6254
6254
  }
6255
6255
  })(), N.o = (I, x) => Object.prototype.hasOwnProperty.call(I, x), N.nc = void 0;
6256
- var X = {};
6256
+ var tt = {};
6257
6257
  return (() => {
6258
- N.d(X, { default: () => D_ });
6258
+ N.d(tt, { default: () => D_ });
6259
6259
  const I = function() {
6260
6260
  return function i() {
6261
6261
  i.called = !0;
@@ -6315,8 +6315,8 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
6315
6315
  const ft = "35.3.2", Mt = typeof window == "object" ? window : N.g;
6316
6316
  if (Mt.CKEDITOR_VERSION) throw new g("ckeditor-duplicated-modules", null);
6317
6317
  Mt.CKEDITOR_VERSION = ft;
6318
- const Wt = Symbol("listeningTo"), re = Symbol("emitterId"), tt = Symbol("delegations");
6319
- function Rt(i) {
6318
+ const Wt = Symbol("listeningTo"), re = Symbol("emitterId"), Q = Symbol("delegations");
6319
+ function Bt(i) {
6320
6320
  return class extends i {
6321
6321
  on(t, e, n) {
6322
6322
  this.listenTo(this, t, e, n);
@@ -6334,15 +6334,15 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
6334
6334
  let r, s;
6335
6335
  this[Wt] || (this[Wt] = {});
6336
6336
  const a = this[Wt];
6337
- H(t) || q(t);
6338
- const c = H(t);
6337
+ j(t) || q(t);
6338
+ const c = j(t);
6339
6339
  (r = a[c]) || (r = a[c] = { emitter: t, callbacks: {} }), (s = r.callbacks[e]) || (s = r.callbacks[e] = []), s.push(n), (function(l, d, u, h, f) {
6340
6340
  d._addEventListener ? d._addEventListener(u, h, f) : l._addEventListener.call(d, u, h, f);
6341
6341
  })(this, t, e, n, o);
6342
6342
  }
6343
6343
  stopListening(t, e, n) {
6344
6344
  const o = this[Wt];
6345
- let r = t && H(t);
6345
+ let r = t && j(t);
6346
6346
  const s = o && r ? o[r] : void 0, a = s && e ? s.callbacks[e] : void 0;
6347
6347
  if (!(!o || t && !s || e && !a)) if (n)
6348
6348
  bt(this, t, e, n), a.indexOf(n) !== -1 && (a.length === 1 ? delete s.callbacks[e] : bt(this, t, e, n));
@@ -6366,7 +6366,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
6366
6366
  r = Array.from(r);
6367
6367
  for (let c = 0; c < r.length && (r[c].callback.apply(this, a), n.off.called && (delete n.off.called, this._removeEventListener(o, r[c].callback)), !n.stop.called); c++) ;
6368
6368
  }
6369
- const s = this[tt];
6369
+ const s = this[Q];
6370
6370
  if (s) {
6371
6371
  const a = s.get(o), c = s.get("*");
6372
6372
  a && _t(a, n, e), c && _t(c, n, e);
@@ -6378,22 +6378,22 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
6378
6378
  }
6379
6379
  delegate(...t) {
6380
6380
  return { to: (e, n) => {
6381
- this[tt] || (this[tt] = /* @__PURE__ */ new Map()), t.forEach(((o) => {
6382
- const r = this[tt].get(o);
6383
- r ? r.set(e, n) : this[tt].set(o, /* @__PURE__ */ new Map([[e, n]]));
6381
+ this[Q] || (this[Q] = /* @__PURE__ */ new Map()), t.forEach(((o) => {
6382
+ const r = this[Q].get(o);
6383
+ r ? r.set(e, n) : this[Q].set(o, /* @__PURE__ */ new Map([[e, n]]));
6384
6384
  }));
6385
6385
  } };
6386
6386
  }
6387
6387
  stopDelegating(t, e) {
6388
- if (this[tt]) if (t) if (e) {
6389
- const n = this[tt].get(t);
6388
+ if (this[Q]) if (t) if (e) {
6389
+ const n = this[Q].get(t);
6390
6390
  n && n.delete(e);
6391
- } else this[tt].delete(t);
6392
- else this[tt].clear();
6391
+ } else this[Q].delete(t);
6392
+ else this[Q].clear();
6393
6393
  }
6394
6394
  _addEventListener(t, e, n) {
6395
6395
  (function(s, a) {
6396
- const c = $(s);
6396
+ const c = W(s);
6397
6397
  if (c[a]) return;
6398
6398
  let l = a, d = null;
6399
6399
  const u = [];
@@ -6403,31 +6403,31 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
6403
6403
  c[l].childEvents.push(d);
6404
6404
  }
6405
6405
  })(this, t);
6406
- const o = st(this, t), r = { callback: e, priority: D.get(n.priority) };
6406
+ const o = at(this, t), r = { callback: e, priority: D.get(n.priority) };
6407
6407
  for (const s of o) P(s, r);
6408
6408
  }
6409
6409
  _removeEventListener(t, e) {
6410
- const n = st(this, t);
6410
+ const n = at(this, t);
6411
6411
  for (const o of n) for (let r = 0; r < o.length; r++) o[r].callback == e && (o.splice(r, 1), r--);
6412
6412
  }
6413
6413
  };
6414
6414
  }
6415
- const ct = Rt(Object);
6415
+ const it = Bt(Object);
6416
6416
  function q(i, t) {
6417
6417
  i[re] || (i[re] = t || E());
6418
6418
  }
6419
- function H(i) {
6419
+ function j(i) {
6420
6420
  return i[re];
6421
6421
  }
6422
- function $(i) {
6422
+ function W(i) {
6423
6423
  return i._events || Object.defineProperty(i, "_events", { value: {} }), i._events;
6424
6424
  }
6425
- function st(i, t) {
6426
- const e = $(i)[t];
6425
+ function at(i, t) {
6426
+ const e = W(i)[t];
6427
6427
  if (!e) return [];
6428
6428
  let n = [e.callbacks];
6429
6429
  for (let o = 0; o < e.childEvents.length; o++) {
6430
- const r = st(i, e.childEvents[o]);
6430
+ const r = at(i, e.childEvents[o]);
6431
6431
  n = n.concat(r);
6432
6432
  }
6433
6433
  return n;
@@ -6447,16 +6447,16 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
6447
6447
  t._removeEventListener ? t._removeEventListener(e, n) : i._removeEventListener.call(t, e, n);
6448
6448
  }
6449
6449
  ["on", "once", "off", "listenTo", "stopListening", "fire", "delegate", "stopDelegating", "_addEventListener", "_removeEventListener"].forEach(((i) => {
6450
- Rt[i] = ct.prototype[i];
6450
+ Bt[i] = it.prototype[i];
6451
6451
  }));
6452
- const it = function(i) {
6452
+ const rt = function(i) {
6453
6453
  var t = typeof i;
6454
6454
  return i != null && (t == "object" || t == "function");
6455
6455
  }, It = Symbol("observableProperties"), qt = Symbol("boundObservables"), we = Symbol("boundProperties"), De = Symbol("decoratedMethods"), dn = Symbol("decoratedOriginal");
6456
6456
  function We(i) {
6457
6457
  return class extends i {
6458
6458
  set(t, e) {
6459
- if (it(t)) return void Object.keys(t).forEach(((o) => {
6459
+ if (rt(t)) return void Object.keys(t).forEach(((o) => {
6460
6460
  this.set(o, t[o]);
6461
6461
  }), this);
6462
6462
  U(this);
@@ -6513,11 +6513,11 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
6513
6513
  for (const o of this[De]) this[o] = this[o][dn];
6514
6514
  delete this[De];
6515
6515
  }
6516
- ct.prototype.stopListening.call(this, t, e, n);
6516
+ it.prototype.stopListening.call(this, t, e, n);
6517
6517
  }
6518
6518
  };
6519
6519
  }
6520
- const R = We(ct);
6520
+ const R = We(it);
6521
6521
  function U(i) {
6522
6522
  i[It] || (Object.defineProperty(i, It, { value: /* @__PURE__ */ new Map() }), Object.defineProperty(i, qt, { value: /* @__PURE__ */ new Map() }), Object.defineProperty(i, we, { value: /* @__PURE__ */ new Map() }));
6523
6523
  }
@@ -6708,7 +6708,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
6708
6708
  }, Is = function(i) {
6709
6709
  return this.__data__.has(i);
6710
6710
  }, Ue = function(i) {
6711
- if (!it(i)) return !1;
6711
+ if (!rt(i)) return !1;
6712
6712
  var t = Re(i);
6713
6713
  return t == "[object Function]" || t == "[object GeneratorFunction]" || t == "[object AsyncFunction]" || t == "[object Proxy]";
6714
6714
  }, Uo = ee["__core-js_shared__"];
@@ -6735,7 +6735,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
6735
6735
  };
6736
6736
  var Fs = /^\[object .+?Constructor\]$/, Ns = Function.prototype, gn = Object.prototype, rr = Ns.toString, zs = gn.hasOwnProperty, Vs = RegExp("^" + rr.call(zs).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
6737
6737
  const ho = function(i) {
6738
- return !(!it(i) || Os(i)) && (Ue(i) ? Vs : Fs).test(Ge(i));
6738
+ return !(!rt(i) || Os(i)) && (Ue(i) ? Vs : Fs).test(Ge(i));
6739
6739
  }, Ls = function(i, t) {
6740
6740
  return i == null ? void 0 : i[t];
6741
6741
  }, Ze = function(i, t) {
@@ -6851,7 +6851,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
6851
6851
  }, jt = Array.isArray, Qo = function() {
6852
6852
  return !1;
6853
6853
  };
6854
- var Ye = J && !J.nodeType && J, Xo = Ye && !0 && j && !j.nodeType && j, dr = Xo && Xo.exports === Ye ? ee.Buffer : void 0;
6854
+ var Ye = Z && !Z.nodeType && Z, Xo = Ye && !0 && H && !H.nodeType && H, dr = Xo && Xo.exports === Ye ? ee.Buffer : void 0;
6855
6855
  const Nn = (dr ? dr.isBuffer : void 0) || Qo;
6856
6856
  var Xs = /^(?:0|[1-9]\d*)$/;
6857
6857
  const ti = function(i, t) {
@@ -6869,7 +6869,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
6869
6869
  return i(t);
6870
6870
  };
6871
6871
  };
6872
- var ur = J && !J.nodeType && J, zn = ur && !0 && j && !j.nodeType && j, oi = zn && zn.exports === ur && Qi.process;
6872
+ var ur = Z && !Z.nodeType && Z, zn = ur && !0 && H && !H.nodeType && H, oi = zn && zn.exports === ur && Qi.process;
6873
6873
  const Qe = (function() {
6874
6874
  try {
6875
6875
  var i = zn && zn.require && zn.require("util").types;
@@ -6909,7 +6909,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
6909
6909
  };
6910
6910
  var ci = Object.prototype.hasOwnProperty;
6911
6911
  const li = function(i) {
6912
- if (!it(i)) return ai(i);
6912
+ if (!rt(i)) return ai(i);
6913
6913
  var t = ri(i), e = [];
6914
6914
  for (var n in i) (n != "constructor" || !t && ci.call(i, n)) && e.push(n);
6915
6915
  return e;
@@ -6918,7 +6918,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
6918
6918
  }, gr = function(i, t) {
6919
6919
  return i && _n(t, Ie(t), i);
6920
6920
  };
6921
- var di = J && !J.nodeType && J, ui = di && !0 && j && !j.nodeType && j, hi = ui && ui.exports === di ? ee.Buffer : void 0, fi = hi ? hi.allocUnsafe : void 0;
6921
+ var di = Z && !Z.nodeType && Z, ui = di && !0 && H && !H.nodeType && H, hi = ui && ui.exports === di ? ee.Buffer : void 0, fi = hi ? hi.allocUnsafe : void 0;
6922
6922
  const pr = function(i, t) {
6923
6923
  if (t) return i.slice();
6924
6924
  var e = i.length, n = fi ? fi(e) : new i.constructor(e);
@@ -7036,7 +7036,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
7036
7036
  function i() {
7037
7037
  }
7038
7038
  return function(t) {
7039
- if (!it(t)) return {};
7039
+ if (!rt(t)) return {};
7040
7040
  if (Dr) return Dr(t);
7041
7041
  i.prototype = t;
7042
7042
  var e = new i();
@@ -7058,7 +7058,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
7058
7058
  const vi = function i(t, e, n, o, r, s) {
7059
7059
  var a, c = 1 & e, l = 2 & e, d = 4 & e;
7060
7060
  if (n && (a = r ? n(t, o, r, s) : n(t)), a !== void 0) return a;
7061
- if (!it(t)) return t;
7061
+ if (!rt(t)) return t;
7062
7062
  var u = jt(t);
7063
7063
  if (u) {
7064
7064
  if (a = ma(t), !c) return mr(t, a);
@@ -7140,7 +7140,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
7140
7140
  function oe(i) {
7141
7141
  return !(!i || !i[Symbol.iterator]);
7142
7142
  }
7143
- class Ae extends ct {
7143
+ class Ae extends it {
7144
7144
  constructor(t = {}, e = {}) {
7145
7145
  super();
7146
7146
  const n = oe(t);
@@ -7256,7 +7256,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
7256
7256
  return this._items[Symbol.iterator]();
7257
7257
  }
7258
7258
  }
7259
- class Nr extends ct {
7259
+ class Nr extends it {
7260
7260
  constructor(t, e = [], n = []) {
7261
7261
  super(), this._context = t, this._plugins = /* @__PURE__ */ new Map(), this._availablePlugins = /* @__PURE__ */ new Map();
7262
7262
  for (const o of e) o.pluginName && this._availablePlugins.set(o.pluginName, o);
@@ -7364,19 +7364,19 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
7364
7364
  } catch {
7365
7365
  yi = { window: {}, document: {} };
7366
7366
  }
7367
- const Q = yi;
7367
+ const X = yi;
7368
7368
  function xa(i, t, e = 1) {
7369
7369
  if (typeof e != "number") throw new g("translation-service-quantity-not-a-number", null, { quantity: e });
7370
- const n = Object.keys(Q.window.CKEDITOR_TRANSLATIONS).length;
7371
- n === 1 && (i = Object.keys(Q.window.CKEDITOR_TRANSLATIONS)[0]);
7370
+ const n = Object.keys(X.window.CKEDITOR_TRANSLATIONS).length;
7371
+ n === 1 && (i = Object.keys(X.window.CKEDITOR_TRANSLATIONS)[0]);
7372
7372
  const o = t.id || t.string;
7373
7373
  if (n === 0 || !(function(c, l) {
7374
- return !!Q.window.CKEDITOR_TRANSLATIONS[c] && !!Q.window.CKEDITOR_TRANSLATIONS[c].dictionary[l];
7374
+ return !!X.window.CKEDITOR_TRANSLATIONS[c] && !!X.window.CKEDITOR_TRANSLATIONS[c].dictionary[l];
7375
7375
  })(i, o)) return e !== 1 ? t.plural : t.string;
7376
- const r = Q.window.CKEDITOR_TRANSLATIONS[i].dictionary, s = Q.window.CKEDITOR_TRANSLATIONS[i].getPluralForm || ((c) => c === 1 ? 0 : 1), a = r[o];
7376
+ const r = X.window.CKEDITOR_TRANSLATIONS[i].dictionary, s = X.window.CKEDITOR_TRANSLATIONS[i].getPluralForm || ((c) => c === 1 ? 0 : 1), a = r[o];
7377
7377
  return typeof a == "string" ? a : a[Number(s(e))];
7378
7378
  }
7379
- Q.window.CKEDITOR_TRANSLATIONS || (Q.window.CKEDITOR_TRANSLATIONS = {});
7379
+ X.window.CKEDITOR_TRANSLATIONS || (X.window.CKEDITOR_TRANSLATIONS = {});
7380
7380
  const zr = ["ar", "ara", "fa", "per", "fas", "he", "heb", "ku", "kur", "ug", "uig"];
7381
7381
  function xi(i) {
7382
7382
  return zr.includes(i) ? "rtl" : "ltr";
@@ -7447,7 +7447,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
7447
7447
  const Lr = function(i) {
7448
7448
  return vi(i, 4);
7449
7449
  };
7450
- class Fe extends Rt(ge) {
7450
+ class Fe extends Bt(ge) {
7451
7451
  constructor(t) {
7452
7452
  super(), this.document = t, this.parent = null;
7453
7453
  }
@@ -7660,9 +7660,9 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
7660
7660
  return e.cache = new (K.Cache || go)(), e;
7661
7661
  }
7662
7662
  K.Cache = go;
7663
- const Z = K;
7663
+ const J = K;
7664
7664
  var lt = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, ie = /\\(\\)?/g, Pt = (function(i) {
7665
- var t = Z(i, (function(n) {
7665
+ var t = J(i, (function(n) {
7666
7666
  return e.size === 500 && e.clear(), n;
7667
7667
  })), e = t.cache;
7668
7668
  return t;
@@ -7734,13 +7734,13 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
7734
7734
  var d = void 0, u = d === void 0;
7735
7735
  if (u) {
7736
7736
  var h = jt(c), f = !h && Nn(c), p = !h && !f && ko(c);
7737
- d = c, h || f || p ? jt(a) ? d = a : _g(a) ? d = mr(a) : f ? (u = !1, d = pr(c, !0)) : p ? (u = !1, d = Er(c, !0)) : d = [] : ne(c) || mo(c) ? (d = a, mo(a) ? d = Ag(a) : it(a) && !Ue(a) || (d = Tr(c))) : u = !1;
7737
+ d = c, h || f || p ? jt(a) ? d = a : _g(a) ? d = mr(a) : f ? (u = !1, d = pr(c, !0)) : p ? (u = !1, d = Er(c, !0)) : d = [] : ne(c) || mo(c) ? (d = a, mo(a) ? d = Ag(a) : rt(a) && !Ue(a) || (d = Tr(c))) : u = !1;
7738
7738
  }
7739
7739
  u && (s.set(c, d), o(d, c, n, r, s), s.delete(c)), Ea(i, e, d);
7740
7740
  }
7741
7741
  }, vg = function i(t, e, n, o, r) {
7742
7742
  t !== e && wg(e, (function(s, a) {
7743
- if (r || (r = new wn()), it(s)) Cg(t, e, a, n, i, o, r);
7743
+ if (r || (r = new wn()), rt(s)) Cg(t, e, a, n, i, o, r);
7744
7744
  else {
7745
7745
  var c = void 0;
7746
7746
  c === void 0 && (c = s), Ea(t, a, c);
@@ -7789,7 +7789,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
7789
7789
  }(Dg), Pg = function(i, t) {
7790
7790
  return Tg(xg(i, t, tl), i + "");
7791
7791
  }, Bg = function(i, t, e) {
7792
- if (!it(e)) return !1;
7792
+ if (!rt(e)) return !1;
7793
7793
  var n = typeof t;
7794
7794
  return !!(n == "number" ? Vn(e) && ti(t, e.length) : n == "string" && t in e) && fe(e[t], i);
7795
7795
  }, nl = function(i) {
@@ -7804,13 +7804,13 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
7804
7804
  }, ol = nl((function(i, t, e) {
7805
7805
  vg(i, t, e);
7806
7806
  })), Rg = function(i, t, e, n) {
7807
- if (!it(i)) return i;
7807
+ if (!rt(i)) return i;
7808
7808
  for (var o = -1, r = (t = Ao(t, i)).length, s = r - 1, a = i; a != null && ++o < r; ) {
7809
7809
  var c = Yt(t[o]), l = e;
7810
7810
  if (c === "__proto__" || c === "constructor" || c === "prototype") return i;
7811
7811
  if (o != s) {
7812
7812
  var d = a[c];
7813
- (l = void 0) == void 0 && (l = it(d) ? d : ti(t[o + 1]) ? [] : {});
7813
+ (l = void 0) == void 0 && (l = rt(d) ? d : ti(t[o + 1]) ? [] : {});
7814
7814
  }
7815
7815
  Zo(a, c, l), a = a[c];
7816
7816
  }
@@ -7864,7 +7864,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
7864
7864
  return Array.isArray(e);
7865
7865
  }
7866
7866
  set(t, e) {
7867
- if (it(t)) for (const [n, o] of Object.entries(t)) this._styleProcessor.toNormalizedForm(n, o, this._styles);
7867
+ if (rt(t)) for (const [n, o] of Object.entries(t)) this._styleProcessor.toNormalizedForm(n, o, this._styles);
7868
7868
  else this._styleProcessor.toNormalizedForm(t, e, this._styles);
7869
7869
  }
7870
7870
  remove(t) {
@@ -7879,7 +7879,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
7879
7879
  }
7880
7880
  getAsString(t) {
7881
7881
  if (this.isEmpty) return;
7882
- if (this._styles[t] && !it(this._styles[t])) return this._styles[t];
7882
+ if (this._styles[t] && !rt(this._styles[t])) return this._styles[t];
7883
7883
  const e = this._styleProcessor.getReducedForm(t, this._styles).find((([n]) => n === t));
7884
7884
  return Array.isArray(e) ? e[1] : void 0;
7885
7885
  }
@@ -7906,7 +7906,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
7906
7906
  this._normalizers = /* @__PURE__ */ new Map(), this._extractors = /* @__PURE__ */ new Map(), this._reducers = /* @__PURE__ */ new Map(), this._consumables = /* @__PURE__ */ new Map();
7907
7907
  }
7908
7908
  toNormalizedForm(t, e, n) {
7909
- if (it(e)) Sa(n, Da(t), e);
7909
+ if (rt(e)) Sa(n, Da(t), e);
7910
7910
  else if (this._normalizers.has(t)) {
7911
7911
  const o = this._normalizers.get(t), { path: r, value: s } = o(e);
7912
7912
  Sa(n, r, s);
@@ -7959,7 +7959,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
7959
7959
  }
7960
7960
  function Sa(i, t, e) {
7961
7961
  let n = e;
7962
- it(e) && (n = ol({}, Hr(i, t), e)), Ig(i, t, n);
7962
+ rt(e) && (n = ol({}, Hr(i, t), e)), Ig(i, t, n);
7963
7963
  }
7964
7964
  class me extends Fe {
7965
7965
  constructor(t, e, n, o) {
@@ -8348,7 +8348,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
8348
8348
  M.prototype.is = function(i) {
8349
8349
  return i === "position" || i === "view:position";
8350
8350
  };
8351
- class W extends ge {
8351
+ class $ extends ge {
8352
8352
  constructor(t, e = null) {
8353
8353
  super(), this.start = t.clone(), this.end = e ? e.clone() : t.clone();
8354
8354
  }
@@ -8366,14 +8366,14 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
8366
8366
  }
8367
8367
  getEnlarged() {
8368
8368
  let t = this.start.getLastMatchingPosition(Wr, { direction: "backward" }), e = this.end.getLastMatchingPosition(Wr);
8369
- return t.parent.is("$text") && t.isAtStart && (t = M._createBefore(t.parent)), e.parent.is("$text") && e.isAtEnd && (e = M._createAfter(e.parent)), new W(t, e);
8369
+ return t.parent.is("$text") && t.isAtStart && (t = M._createBefore(t.parent)), e.parent.is("$text") && e.isAtEnd && (e = M._createAfter(e.parent)), new $(t, e);
8370
8370
  }
8371
8371
  getTrimmed() {
8372
8372
  let t = this.start.getLastMatchingPosition(Wr);
8373
- if (t.isAfter(this.end) || t.isEqual(this.end)) return new W(t, t);
8373
+ if (t.isAfter(this.end) || t.isEqual(this.end)) return new $(t, t);
8374
8374
  let e = this.end.getLastMatchingPosition(Wr, { direction: "backward" });
8375
8375
  const n = t.nodeAfter, o = e.nodeBefore;
8376
- return n && n.is("$text") && (t = new M(n, 0)), o && o.is("$text") && (e = new M(o, o.data.length)), new W(t, e);
8376
+ return n && n.is("$text") && (t = new M(n, 0)), o && o.is("$text") && (e = new M(o, o.data.length)), new $(t, e);
8377
8377
  }
8378
8378
  isEqual(t) {
8379
8379
  return this == t || this.start.isEqual(t.start) && this.end.isEqual(t.end);
@@ -8388,12 +8388,12 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
8388
8388
  }
8389
8389
  getDifference(t) {
8390
8390
  const e = [];
8391
- return this.isIntersecting(t) ? (this.containsPosition(t.start) && e.push(new W(this.start, t.start)), this.containsPosition(t.end) && e.push(new W(t.end, this.end))) : e.push(this.clone()), e;
8391
+ return this.isIntersecting(t) ? (this.containsPosition(t.start) && e.push(new $(this.start, t.start)), this.containsPosition(t.end) && e.push(new $(t.end, this.end))) : e.push(this.clone()), e;
8392
8392
  }
8393
8393
  getIntersection(t) {
8394
8394
  if (this.isIntersecting(t)) {
8395
8395
  let e = this.start, n = this.end;
8396
- return this.containsPosition(t.start) && (e = t.start), this.containsPosition(t.end) && (n = t.end), new W(e, n);
8396
+ return this.containsPosition(t.start) && (e = t.start), this.containsPosition(t.end) && (n = t.end), new $(e, n);
8397
8397
  }
8398
8398
  return null;
8399
8399
  }
@@ -8409,7 +8409,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
8409
8409
  return this.start.parent.is("$text") && this.start.isAtEnd && this.start.parent.nextSibling && (t = this.start.parent.nextSibling), this.end.parent.is("$text") && this.end.isAtStart && this.end.parent.previousSibling && (e = this.end.parent.previousSibling), t && t.is("element") && t === e ? t : null;
8410
8410
  }
8411
8411
  clone() {
8412
- return new W(this.start, this.end);
8412
+ return new $(this.start, this.end);
8413
8413
  }
8414
8414
  *getItems(t = {}) {
8415
8415
  t.boundaries = this, t.ignoreElementEnd = !0;
@@ -8448,10 +8448,10 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
8448
8448
  for (const e of i) t++;
8449
8449
  return t;
8450
8450
  }
8451
- W.prototype.is = function(i) {
8451
+ $.prototype.is = function(i) {
8452
8452
  return i === "range" || i === "view:range";
8453
8453
  };
8454
- class ze extends Rt(ge) {
8454
+ class ze extends Bt(ge) {
8455
8455
  constructor(...t) {
8456
8456
  super(), this._ranges = [], this._lastRangeBackward = !1, this._isFake = !1, this._fakeSelectionLabel = "", t.length && this.setTo(...t);
8457
8457
  }
@@ -8541,13 +8541,13 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
8541
8541
  let [e, n, o] = t;
8542
8542
  if (typeof n == "object" && (o = n, n = void 0), e === null) this._setRanges([]), this._setFakeOptions(o);
8543
8543
  else if (e instanceof ze || e instanceof Pa) this._setRanges(e.getRanges(), e.isBackward), this._setFakeOptions({ fake: e.isFake, label: e.fakeSelectionLabel });
8544
- else if (e instanceof W) this._setRanges([e], o && o.backward), this._setFakeOptions(o);
8545
- else if (e instanceof M) this._setRanges([new W(e)]), this._setFakeOptions(o);
8544
+ else if (e instanceof $) this._setRanges([e], o && o.backward), this._setFakeOptions(o);
8545
+ else if (e instanceof M) this._setRanges([new $(e)]), this._setFakeOptions(o);
8546
8546
  else if (e instanceof Fe) {
8547
8547
  const r = !!o && !!o.backward;
8548
8548
  let s;
8549
8549
  if (n === void 0) throw new g("view-selection-setto-required-second-parameter", this);
8550
- s = n == "in" ? W._createIn(e) : n == "on" ? W._createOn(e) : new W(M._createAt(e, n)), this._setRanges([s], r), this._setFakeOptions(o);
8550
+ s = n == "in" ? $._createIn(e) : n == "on" ? $._createOn(e) : new $(M._createAt(e, n)), this._setRanges([s], r), this._setFakeOptions(o);
8551
8551
  } else {
8552
8552
  if (!oe(e)) throw new g("view-selection-setto-not-selectable", this);
8553
8553
  this._setRanges(e, o && o.backward), this._setFakeOptions(o);
@@ -8559,7 +8559,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
8559
8559
  const n = M._createAt(t, e);
8560
8560
  if (n.compareWith(this.focus) == "same") return;
8561
8561
  const o = this.anchor;
8562
- this._ranges.pop(), n.compareWith(o) == "before" ? this._addRange(new W(n, o), !0) : this._addRange(new W(o, n)), this.fire("change");
8562
+ this._ranges.pop(), n.compareWith(o) == "before" ? this._addRange(new $(n, o), !0) : this._addRange(new $(o, n)), this.fire("change");
8563
8563
  }
8564
8564
  _setRanges(t, e = !1) {
8565
8565
  t = Array.from(t), this._ranges = [];
@@ -8570,18 +8570,18 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
8570
8570
  this._isFake = !!t.fake, this._fakeSelectionLabel = t.fake && t.label || "";
8571
8571
  }
8572
8572
  _addRange(t, e = !1) {
8573
- if (!(t instanceof W)) throw new g("view-selection-add-range-not-range", this);
8573
+ if (!(t instanceof $)) throw new g("view-selection-add-range-not-range", this);
8574
8574
  this._pushRange(t), this._lastRangeBackward = !!e;
8575
8575
  }
8576
8576
  _pushRange(t) {
8577
8577
  for (const e of this._ranges) if (t.isIntersecting(e)) throw new g("view-selection-range-intersects", this, { addedRange: t, intersectingRange: e });
8578
- this._ranges.push(new W(t.start, t.end));
8578
+ this._ranges.push(new $(t.start, t.end));
8579
8579
  }
8580
8580
  }
8581
8581
  ze.prototype.is = function(i) {
8582
8582
  return i === "selection" || i === "view:selection";
8583
8583
  };
8584
- class Pa extends Rt(ge) {
8584
+ class Pa extends Bt(ge) {
8585
8585
  constructor(...t) {
8586
8586
  super(), this._selection = new ze(), this._selection.delegate("change").to(this), t.length && this._selection.setTo(...t);
8587
8587
  }
@@ -8691,7 +8691,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
8691
8691
  const o = Jt(n.context || "$document"), r = Ia(this);
8692
8692
  for (const s of o) {
8693
8693
  let a = r.get(s);
8694
- a || (a = new ct(), r.set(s, a)), this.listenTo(a, t, e, n);
8694
+ a || (a = new it(), r.set(s, a)), this.listenTo(a, t, e, n);
8695
8695
  }
8696
8696
  }
8697
8697
  _removeEventListener(t, e) {
@@ -8821,7 +8821,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
8821
8821
  function dl(i) {
8822
8822
  return i.indexOf("macintosh") > -1;
8823
8823
  }
8824
- const Vg = { ctrl: "⌃", cmd: "⌘", alt: "⌥", shift: "⇧" }, Lg = { ctrl: "Ctrl+", alt: "Alt+", shift: "Shift+" }, rt = (function() {
8824
+ const Vg = { ctrl: "⌃", cmd: "⌘", alt: "⌥", shift: "⇧" }, Lg = { ctrl: "Ctrl+", alt: "Alt+", shift: "Shift+" }, st = (function() {
8825
8825
  const i = { arrowleft: 37, arrowup: 38, arrowright: 39, arrowdown: 40, backspace: 8, delete: 46, enter: 13, space: 32, esc: 27, tab: 9, ctrl: 1114112, shift: 2228224, alt: 4456448, cmd: 8912896 };
8826
8826
  for (let t = 65; t <= 90; t++) {
8827
8827
  const e = String.fromCharCode(t);
@@ -8831,12 +8831,12 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
8831
8831
  for (let t = 112; t <= 123; t++) i["f" + (t - 111)] = t;
8832
8832
  for (const t of "`-=[];',./\\") i[t] = t.charCodeAt(0);
8833
8833
  return i;
8834
- })(), jg = Object.fromEntries(Object.entries(rt).map((([i, t]) => [t, i.charAt(0).toUpperCase() + i.slice(1)])));
8834
+ })(), jg = Object.fromEntries(Object.entries(st).map((([i, t]) => [t, i.charAt(0).toUpperCase() + i.slice(1)])));
8835
8835
  function yo(i) {
8836
8836
  let t;
8837
8837
  if (typeof i == "string") {
8838
- if (t = rt[i.toLowerCase()], !t) throw new g("keyboard-unknown-key", null, { key: i });
8839
- } else t = i.keyCode + (i.altKey ? rt.alt : 0) + (i.ctrlKey ? rt.ctrl : 0) + (i.shiftKey ? rt.shift : 0) + (i.metaKey ? rt.cmd : 0);
8838
+ if (t = st[i.toLowerCase()], !t) throw new g("keyboard-unknown-key", null, { key: i });
8839
+ } else t = i.keyCode + (i.altKey ? st.alt : 0) + (i.ctrlKey ? st.ctrl : 0) + (i.shiftKey ? st.shift : 0) + (i.metaKey ? st.cmd : 0);
8840
8840
  return t;
8841
8841
  }
8842
8842
  function Fa(i) {
@@ -8845,23 +8845,23 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
8845
8845
  })(i)), i.map(((t) => typeof t == "string" ? (function(e) {
8846
8846
  if (e.endsWith("!")) return yo(e.slice(0, -1));
8847
8847
  const n = yo(e);
8848
- return nt.isMac && n == rt.ctrl ? rt.cmd : n;
8848
+ return nt.isMac && n == st.ctrl ? st.cmd : n;
8849
8849
  })(t) : t)).reduce(((t, e) => e + t), 0);
8850
8850
  }
8851
8851
  function ul(i) {
8852
8852
  let t = Fa(i);
8853
- return Object.entries(nt.isMac ? Vg : Lg).reduce(((e, [n, o]) => ((t & rt[n]) != 0 && (t &= ~rt[n], e += o), e)), "") + (t ? jg[t] : "");
8853
+ return Object.entries(nt.isMac ? Vg : Lg).reduce(((e, [n, o]) => ((t & st[n]) != 0 && (t &= ~st[n], e += o), e)), "") + (t ? jg[t] : "");
8854
8854
  }
8855
8855
  function Na(i, t) {
8856
8856
  const e = t === "ltr";
8857
8857
  switch (i) {
8858
- case rt.arrowleft:
8858
+ case st.arrowleft:
8859
8859
  return e ? "left" : "right";
8860
- case rt.arrowright:
8860
+ case st.arrowright:
8861
8861
  return e ? "right" : "left";
8862
- case rt.arrowup:
8862
+ case st.arrowup:
8863
8863
  return "up";
8864
- case rt.arrowdown:
8864
+ case st.arrowdown:
8865
8865
  return "down";
8866
8866
  }
8867
8867
  }
@@ -8884,7 +8884,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
8884
8884
  }
8885
8885
  function Hg(i) {
8886
8886
  i.document.on("arrowKey", ((t, e) => (function(n, o, r) {
8887
- if (o.keyCode == rt.arrowright) {
8887
+ if (o.keyCode == st.arrowright) {
8888
8888
  const s = o.domTarget.ownerDocument.defaultView.getSelection(), a = s.rangeCount == 1 && s.getRangeAt(0).collapsed;
8889
8889
  if (a || o.shiftKey) {
8890
8890
  const c = s.focusNode, l = s.focusOffset, d = r.domPositionToView(c, l);
@@ -8922,7 +8922,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
8922
8922
  za.prototype.is = function(i, t) {
8923
8923
  return t ? t === this.name && (i === "rawElement" || i === "view:rawElement" || i === "element" || i === "view:element") : i === "rawElement" || i === "view:rawElement" || i === this.name || i === "view:" + this.name || i === "element" || i === "view:element" || i === "node" || i === "view:node";
8924
8924
  };
8925
- class Kn extends Rt(ge) {
8925
+ class Kn extends Bt(ge) {
8926
8926
  constructor(t, e) {
8927
8927
  super(), this.document = t, this._children = [], e && this._insertChild(0, e);
8928
8928
  }
@@ -9051,7 +9051,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
9051
9051
  if (!t.isAtEnd) {
9052
9052
  const n = e._clone(!1);
9053
9053
  this.insert(M._createAfter(e), n);
9054
- const o = new W(t, M._createAt(e, "end")), r = new M(n, 0);
9054
+ const o = new $(t, M._createAt(e, "end")), r = new M(n, 0);
9055
9055
  this.move(o, r);
9056
9056
  }
9057
9057
  return M._createAfter(e);
@@ -9076,7 +9076,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
9076
9076
  const e = t.nodeBefore, n = t.nodeAfter;
9077
9077
  if (!(e && n && e.is("containerElement") && n.is("containerElement"))) throw new g("view-writer-merge-containers-invalid-position", this.document);
9078
9078
  const o = e.getChild(e.childCount - 1), r = o instanceof gt ? M._createAt(o, "end") : M._createAt(e, "end");
9079
- return this.move(W._createIn(n), M._createAt(e, "end")), this.remove(W._createOn(n)), r;
9079
+ return this.move($._createIn(n), M._createAt(e, "end")), this.remove($._createOn(n)), r;
9080
9080
  }
9081
9081
  insert(t, e) {
9082
9082
  pl(e = oe(e) ? [...e] : [e], this.document);
@@ -9089,10 +9089,10 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
9089
9089
  const c = this._insertNodes(r, s, a);
9090
9090
  o || (o = c.start), r = c.end;
9091
9091
  }
9092
- return o ? new W(o, r) : new W(t);
9092
+ return o ? new $(o, r) : new $(t);
9093
9093
  }
9094
9094
  remove(t) {
9095
- const e = t instanceof W ? t : W._createOn(t);
9095
+ const e = t instanceof $ ? t : $._createOn(t);
9096
9096
  if (Ti(e, this.document), e.isCollapsed) return new Kn(this.document);
9097
9097
  const { start: n, end: o } = this._breakAttributesRange(e, !0), r = n.parent, s = o.offset - n.offset, a = r._removeChildren(n.offset, s);
9098
9098
  for (const l of a) this._removeFromClonedElementsGroup(l);
@@ -9105,10 +9105,10 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
9105
9105
  for (const o of n) {
9106
9106
  const r = o.item;
9107
9107
  let s;
9108
- if (r.is("element") && e.isSimilar(r)) s = W._createOn(r);
9108
+ if (r.is("element") && e.isSimilar(r)) s = $._createOn(r);
9109
9109
  else if (!o.nextPosition.isAfter(t.start) && r.is("$textProxy")) {
9110
9110
  const a = r.getAncestors().find(((c) => c.is("element") && e.isSimilar(c)));
9111
- a && (s = W._createIn(a));
9111
+ a && (s = $._createIn(a));
9112
9112
  }
9113
9113
  s && (s.end.isAfter(t.end) && (s.end = t.end), s.start.isBefore(t.start) && (s.start = t.start), this.remove(s));
9114
9114
  }
@@ -9127,7 +9127,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
9127
9127
  let o = t.start;
9128
9128
  o.parent.is("element") && (n = o.parent, !Array.from(n.getChildren()).some(((s) => !s.is("uiElement")))) && (o = o.getLastMatchingPosition(((s) => s.item.is("uiElement")))), o = this._wrapPosition(o, e);
9129
9129
  const r = this.document.selection;
9130
- return r.isCollapsed && r.getFirstPosition().isEqual(t.start) && this.setSelection(o), new W(o);
9130
+ return r.isCollapsed && r.getFirstPosition().isEqual(t.start) && this.setSelection(o), new $(o);
9131
9131
  }
9132
9132
  return this._wrapRange(t, e);
9133
9133
  var n;
@@ -9138,11 +9138,11 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
9138
9138
  const { start: n, end: o } = this._breakAttributesRange(t, !0), r = n.parent, s = this._unwrapChildren(r, n.offset, o.offset, e), a = this.mergeAttributes(s.start);
9139
9139
  a.isEqual(s.start) || s.end.offset--;
9140
9140
  const c = this.mergeAttributes(s.end);
9141
- return new W(a, c);
9141
+ return new $(a, c);
9142
9142
  }
9143
9143
  rename(t, e) {
9144
9144
  const n = new Di(this.document, t, e.getAttributes());
9145
- return this.insert(M._createAfter(e), n), this.move(W._createIn(e), M._createAt(n, 0)), this.remove(W._createOn(e)), n;
9145
+ return this.insert(M._createAfter(e), n), this.move($._createIn(e), M._createAt(n, 0)), this.remove($._createOn(e)), n;
9146
9146
  }
9147
9147
  clearClonedElementsGroup(t) {
9148
9148
  this._cloneGroups.delete(t);
@@ -9157,13 +9157,13 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
9157
9157
  return M._createBefore(t);
9158
9158
  }
9159
9159
  createRange(...t) {
9160
- return new W(...t);
9160
+ return new $(...t);
9161
9161
  }
9162
9162
  createRangeOn(t) {
9163
- return W._createOn(t);
9163
+ return $._createOn(t);
9164
9164
  }
9165
9165
  createRangeIn(t) {
9166
- return W._createIn(t);
9166
+ return $._createIn(t);
9167
9167
  }
9168
9168
  createSelection(...t) {
9169
9169
  return new ze(...t);
@@ -9187,7 +9187,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
9187
9187
  const a = r.getShiftedBy(s), c = this.mergeAttributes(r);
9188
9188
  c.isEqual(r) || a.offset--;
9189
9189
  const l = this.mergeAttributes(a);
9190
- return new W(c, l);
9190
+ return new $(c, l);
9191
9191
  }
9192
9192
  _wrapChildren(t, e, n, o) {
9193
9193
  let r = e;
@@ -9204,7 +9204,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
9204
9204
  let a = 0;
9205
9205
  for (const c of s)
9206
9206
  c.offset -= a, c.offset != e && (this.mergeAttributes(c).isEqual(c) || (a++, n--));
9207
- return W._createFromParentsAndOffsets(t, e, t, n);
9207
+ return $._createFromParentsAndOffsets(t, e, t, n);
9208
9208
  }
9209
9209
  _unwrapChildren(t, e, n, o) {
9210
9210
  let r = e;
@@ -9220,20 +9220,20 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
9220
9220
  let a = 0;
9221
9221
  for (const c of s)
9222
9222
  c.offset -= a, !(c.offset == e || c.offset == n) && (this.mergeAttributes(c).isEqual(c) || (a++, n--));
9223
- return W._createFromParentsAndOffsets(t, e, t, n);
9223
+ return $._createFromParentsAndOffsets(t, e, t, n);
9224
9224
  }
9225
9225
  _wrapRange(t, e) {
9226
9226
  const { start: n, end: o } = this._breakAttributesRange(t, !0), r = n.parent, s = this._wrapChildren(r, n.offset, o.offset, e), a = this.mergeAttributes(s.start);
9227
9227
  a.isEqual(s.start) || s.end.offset--;
9228
9228
  const c = this.mergeAttributes(s.end);
9229
- return new W(a, c);
9229
+ return new $(a, c);
9230
9230
  }
9231
9231
  _wrapPosition(t, e) {
9232
9232
  if (e.isSimilar(t.parent)) return fl(t.clone());
9233
9233
  t.parent.is("$text") && (t = La(t));
9234
9234
  const n = this.createAttributeElement("_wrapPosition-fake-element");
9235
9235
  n._priority = Number.POSITIVE_INFINITY, n.isSimilar = () => !1, t.parent._insertChild(t.offset, n);
9236
- const o = new W(t, t.getShiftedBy(1));
9236
+ const o = new $(t, t.getShiftedBy(1));
9237
9237
  this.wrap(o, e);
9238
9238
  const r = new M(n.parent, n.index);
9239
9239
  n._remove();
@@ -9261,10 +9261,10 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
9261
9261
  const n = t.start, o = t.end;
9262
9262
  if (Ti(t, this.document), t.isCollapsed) {
9263
9263
  const c = this._breakAttributes(t.start, e);
9264
- return new W(c, c);
9264
+ return new $(c, c);
9265
9265
  }
9266
9266
  const r = this._breakAttributes(o, e), s = r.parent.childCount, a = this._breakAttributes(n, e);
9267
- return r.offset += r.parent.childCount - s, new W(a, r);
9267
+ return r.offset += r.parent.childCount - s, new $(a, r);
9268
9268
  }
9269
9269
  _breakAttributes(t, e = !1) {
9270
9270
  const n = t.offset, o = t.parent;
@@ -9370,7 +9370,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
9370
9370
  return ke(i) ? i.data.slice(7) : i.data;
9371
9371
  }
9372
9372
  function Ug(i, t) {
9373
- if (t.keyCode == rt.arrowleft) {
9373
+ if (t.keyCode == st.arrowleft) {
9374
9374
  const e = t.domTarget.ownerDocument.defaultView.getSelection();
9375
9375
  if (e.rangeCount == 1 && e.getRangeAt(0).collapsed) {
9376
9376
  const n = e.getRangeAt(0).startContainer, o = e.getRangeAt(0).startOffset;
@@ -9672,10 +9672,10 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
9672
9672
  for (; e && e.nodeType != Node.DOCUMENT_NODE; ) t.unshift(e), e = e.parentNode;
9673
9673
  return t;
9674
9674
  }
9675
- const Qg = wl(Q.document), Xg = kl(Q.document), tp = bl(Q.document), Gr = "data-ck-unsafe-attribute-", Rl = "data-ck-unsafe-element";
9675
+ const Qg = wl(X.document), Xg = kl(X.document), tp = bl(X.document), Gr = "data-ck-unsafe-attribute-", Rl = "data-ck-unsafe-element";
9676
9676
  class Il {
9677
9677
  constructor(t, e = {}) {
9678
- this.document = t, this.renderingMode = e.renderingMode || "editing", this.blockFillerMode = e.blockFillerMode || (this.renderingMode === "editing" ? "br" : "nbsp"), this.preElements = ["pre"], this.blockElements = ["address", "article", "aside", "blockquote", "caption", "center", "dd", "details", "dir", "div", "dl", "dt", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "legend", "li", "main", "menu", "nav", "ol", "p", "pre", "section", "summary", "table", "tbody", "td", "tfoot", "th", "thead", "tr", "ul"], this.inlineObjectElements = ["object", "iframe", "input", "button", "textarea", "select", "option", "video", "embed", "audio", "img", "canvas"], this.unsafeElements = ["script", "style"], this._domDocument = this.renderingMode === "editing" ? Q.document : Q.document.implementation.createHTMLDocument(""), this._domToViewMapping = /* @__PURE__ */ new WeakMap(), this._viewToDomMapping = /* @__PURE__ */ new WeakMap(), this._fakeSelectionMapping = /* @__PURE__ */ new WeakMap(), this._rawContentElementMatcher = new Ce(), this._encounteredRawContentDomNodes = /* @__PURE__ */ new WeakSet();
9678
+ this.document = t, this.renderingMode = e.renderingMode || "editing", this.blockFillerMode = e.blockFillerMode || (this.renderingMode === "editing" ? "br" : "nbsp"), this.preElements = ["pre"], this.blockElements = ["address", "article", "aside", "blockquote", "caption", "center", "dd", "details", "dir", "div", "dl", "dt", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "legend", "li", "main", "menu", "nav", "ol", "p", "pre", "section", "summary", "table", "tbody", "td", "tfoot", "th", "thead", "tr", "ul"], this.inlineObjectElements = ["object", "iframe", "input", "button", "textarea", "select", "option", "video", "embed", "audio", "img", "canvas"], this.unsafeElements = ["script", "style"], this._domDocument = this.renderingMode === "editing" ? X.document : X.document.implementation.createHTMLDocument(""), this._domToViewMapping = /* @__PURE__ */ new WeakMap(), this._viewToDomMapping = /* @__PURE__ */ new WeakMap(), this._fakeSelectionMapping = /* @__PURE__ */ new WeakMap(), this._rawContentElementMatcher = new Ce(), this._encounteredRawContentDomNodes = /* @__PURE__ */ new WeakSet();
9679
9679
  }
9680
9680
  bindFakeSelection(t, e) {
9681
9681
  this._fakeSelectionMapping.set(t, new ze(e));
@@ -9825,7 +9825,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
9825
9825
  }
9826
9826
  domRangeToView(t) {
9827
9827
  const e = this.domPositionToView(t.startContainer, t.startOffset), n = this.domPositionToView(t.endContainer, t.endOffset);
9828
- return e && n ? new W(e, n) : null;
9828
+ return e && n ? new $(e, n) : null;
9829
9829
  }
9830
9830
  domPositionToView(t, e = 0) {
9831
9831
  if (this.isBlockFiller(t)) return this.domPositionToView(t.parentNode, Ur(t));
@@ -9882,14 +9882,14 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
9882
9882
  focus(t) {
9883
9883
  const e = this.mapViewToDom(t);
9884
9884
  if (e && e.ownerDocument.activeElement !== e) {
9885
- const { scrollX: n, scrollY: o } = Q.window, r = [];
9885
+ const { scrollX: n, scrollY: o } = X.window, r = [];
9886
9886
  Ol(e, ((s) => {
9887
9887
  const { scrollLeft: a, scrollTop: c } = s;
9888
9888
  r.push([a, c]);
9889
9889
  })), e.focus(), Ol(e, ((s) => {
9890
9890
  const [a, c] = r.shift();
9891
9891
  s.scrollLeft = a, s.scrollTop = c;
9892
- })), Q.window.scrollTo(n, o);
9892
+ })), X.window.scrollTo(n, o);
9893
9893
  }
9894
9894
  }
9895
9895
  isElement(t) {
@@ -10044,13 +10044,13 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
10044
10044
  if (Cn(t) || Zr(t)) {
10045
10045
  const r = { capture: !!o.useCapture, passive: !!o.usePassive }, s = this._getProxyEmitter(t, r) || new ep(t, r);
10046
10046
  this.listenTo(s, e, n, o);
10047
- } else ct.prototype.listenTo.call(this, t, e, n, o);
10047
+ } else it.prototype.listenTo.call(this, t, e, n, o);
10048
10048
  }
10049
10049
  stopListening(t, e, n) {
10050
10050
  if (Cn(t) || Zr(t)) {
10051
10051
  const o = this._getAllProxyEmitters(t);
10052
10052
  for (const r of o) this.stopListening(r, e, n);
10053
- } else ct.prototype.stopListening.call(this, t, e, n);
10053
+ } else it.prototype.stopListening.call(this, t, e, n);
10054
10054
  }
10055
10055
  _getProxyEmitter(t, e) {
10056
10056
  return (function(n, o) {
@@ -10063,11 +10063,11 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
10063
10063
  }
10064
10064
  };
10065
10065
  }
10066
- const Yr = Jr(ct);
10066
+ const Yr = Jr(it);
10067
10067
  ["_getProxyEmitter", "_getAllProxyEmitters", "on", "once", "off", "listenTo", "stopListening", "fire", "delegate", "stopDelegating", "_addEventListener", "_removeEventListener"].forEach(((i) => {
10068
10068
  Jr[i] = Yr.prototype[i];
10069
10069
  }));
10070
- class ep extends ct {
10070
+ class ep extends it {
10071
10071
  constructor(t, e) {
10072
10072
  super(), q(this, Nl(t, e)), this._domNode = t, this._options = e;
10073
10073
  }
@@ -10081,10 +10081,10 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
10081
10081
  !this._domListeners[t] || (e = this._events[t]) && e.callbacks.length || this._domListeners[t].removeListener();
10082
10082
  }
10083
10083
  _addEventListener(t, e, n) {
10084
- this.attach(t), ct.prototype._addEventListener.call(this, t, e, n);
10084
+ this.attach(t), it.prototype._addEventListener.call(this, t, e, n);
10085
10085
  }
10086
10086
  _removeEventListener(t, e) {
10087
- ct.prototype._removeEventListener.call(this, t, e), this.detach(t);
10087
+ it.prototype._removeEventListener.call(this, t, e), this.detach(t);
10088
10088
  }
10089
10089
  _createDomListener(t) {
10090
10090
  const e = (n) => {
@@ -10178,9 +10178,9 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
10178
10178
  const Vl = function(i) {
10179
10179
  if (typeof i == "number") return i;
10180
10180
  if (b(i)) return NaN;
10181
- if (it(i)) {
10181
+ if (rt(i)) {
10182
10182
  var t = typeof i.valueOf == "function" ? i.valueOf() : i;
10183
- i = it(t) ? t + "" : t;
10183
+ i = rt(t) ? t + "" : t;
10184
10184
  }
10185
10185
  if (typeof i != "string") return i === 0 ? i : +i;
10186
10186
  i = sp(i);
@@ -10221,7 +10221,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
10221
10221
  }
10222
10222
  return a === void 0 && (a = setTimeout(w, t)), s;
10223
10223
  }
10224
- return t = Vl(t) || 0, it(e) && (d = !!e.leading, r = (u = "maxWait" in e) ? up(Vl(e.maxWait) || 0, t) : r, h = "trailing" in e ? !!e.trailing : h), v.cancel = function() {
10224
+ return t = Vl(t) || 0, rt(e) && (d = !!e.leading, r = (u = "maxWait" in e) ? up(Vl(e.maxWait) || 0, t) : r, h = "trailing" in e ? !!e.trailing : h), v.cancel = function() {
10225
10225
  a !== void 0 && clearTimeout(a), l = 0, n = c = o = a = void 0;
10226
10226
  }, v.flush = function() {
10227
10227
  return a === void 0 ? s : A(Ha());
@@ -10246,7 +10246,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
10246
10246
  }
10247
10247
  _handleSelectionMove(t) {
10248
10248
  const e = this.document.selection, n = new ze(e.getRanges(), { backward: e.isBackward, fake: !1 });
10249
- t != rt.arrowleft && t != rt.arrowup || n.setTo(n.getFirstPosition()), t != rt.arrowright && t != rt.arrowdown || n.setTo(n.getLastPosition());
10249
+ t != st.arrowleft && t != st.arrowup || n.setTo(n.getFirstPosition()), t != st.arrowright && t != st.arrowdown || n.setTo(n.getLastPosition());
10250
10250
  const o = { oldSelection: e, newSelection: n, domSelection: null };
10251
10251
  this.document.fire("selectionChange", o), this._fireSelectionChangeDoneDebounced(o);
10252
10252
  }
@@ -10587,29 +10587,29 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
10587
10587
  })), this._replacedElements = [];
10588
10588
  }
10589
10589
  }
10590
- class Bt {
10590
+ class Rt {
10591
10591
  constructor(t, e) {
10592
- Bt._observerInstance || Bt._createObserver(), this._element = t, this._callback = e, Bt._addElementCallback(t, e), Bt._observerInstance.observe(t);
10592
+ Rt._observerInstance || Rt._createObserver(), this._element = t, this._callback = e, Rt._addElementCallback(t, e), Rt._observerInstance.observe(t);
10593
10593
  }
10594
10594
  destroy() {
10595
- Bt._deleteElementCallback(this._element, this._callback);
10595
+ Rt._deleteElementCallback(this._element, this._callback);
10596
10596
  }
10597
10597
  static _addElementCallback(t, e) {
10598
- Bt._elementCallbacks || (Bt._elementCallbacks = /* @__PURE__ */ new Map());
10599
- let n = Bt._elementCallbacks.get(t);
10600
- n || (n = /* @__PURE__ */ new Set(), Bt._elementCallbacks.set(t, n)), n.add(e);
10598
+ Rt._elementCallbacks || (Rt._elementCallbacks = /* @__PURE__ */ new Map());
10599
+ let n = Rt._elementCallbacks.get(t);
10600
+ n || (n = /* @__PURE__ */ new Set(), Rt._elementCallbacks.set(t, n)), n.add(e);
10601
10601
  }
10602
10602
  static _deleteElementCallback(t, e) {
10603
- const n = Bt._getElementCallbacks(t);
10604
- n && (n.delete(e), n.size || (Bt._elementCallbacks.delete(t), Bt._observerInstance.unobserve(t))), Bt._elementCallbacks && !Bt._elementCallbacks.size && (Bt._observerInstance = null, Bt._elementCallbacks = null);
10603
+ const n = Rt._getElementCallbacks(t);
10604
+ n && (n.delete(e), n.size || (Rt._elementCallbacks.delete(t), Rt._observerInstance.unobserve(t))), Rt._elementCallbacks && !Rt._elementCallbacks.size && (Rt._observerInstance = null, Rt._elementCallbacks = null);
10605
10605
  }
10606
10606
  static _getElementCallbacks(t) {
10607
- return Bt._elementCallbacks ? Bt._elementCallbacks.get(t) : null;
10607
+ return Rt._elementCallbacks ? Rt._elementCallbacks.get(t) : null;
10608
10608
  }
10609
10609
  static _createObserver() {
10610
- Bt._observerInstance = new Q.window.ResizeObserver(((t) => {
10610
+ Rt._observerInstance = new X.window.ResizeObserver(((t) => {
10611
10611
  for (const e of t) {
10612
- const n = Bt._getElementCallbacks(e.target);
10612
+ const n = Rt._getElementCallbacks(e.target);
10613
10613
  if (n) for (const o of n) o(e);
10614
10614
  }
10615
10615
  }));
@@ -10622,7 +10622,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
10622
10622
  const t = i.next();
10623
10623
  return t.done ? null : t.value;
10624
10624
  }
10625
- Bt._observerInstance = null, Bt._elementCallbacks = null;
10625
+ Rt._observerInstance = null, Rt._elementCallbacks = null;
10626
10626
  class Ve extends Jr(R) {
10627
10627
  constructor() {
10628
10628
  super(), this.set("isFocused", !1), this.set("focusedElement", null), this._elements = /* @__PURE__ */ new Set(), this._nextEventLoopTimeout = null;
@@ -10673,7 +10673,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
10673
10673
  class Rp extends nn {
10674
10674
  constructor(t) {
10675
10675
  super(t), this.document.on("keydown", ((e, n) => {
10676
- if (this.isEnabled && ((o = n.keyCode) == rt.arrowright || o == rt.arrowleft || o == rt.arrowup || o == rt.arrowdown)) {
10676
+ if (this.isEnabled && ((o = n.keyCode) == st.arrowright || o == st.arrowleft || o == st.arrowup || o == st.arrowdown)) {
10677
10677
  const r = new Co(this.document, "arrowKey", this.document.selection.getFirstRange());
10678
10678
  this.document.fire(r, n), r.stop.called && e.stop();
10679
10679
  }
@@ -10688,7 +10688,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
10688
10688
  super(t);
10689
10689
  const e = this.document;
10690
10690
  e.on("keydown", ((n, o) => {
10691
- if (!this.isEnabled || o.keyCode != rt.tab || o.ctrlKey) return;
10691
+ if (!this.isEnabled || o.keyCode != st.tab || o.ctrlKey) return;
10692
10692
  const r = new Co(e, "tab", e.selection.getFirstRange());
10693
10693
  e.fire(r, o), r.stop.called && n.stop();
10694
10694
  }));
@@ -10940,13 +10940,13 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
10940
10940
  return M._createBefore(t);
10941
10941
  }
10942
10942
  createRange(...t) {
10943
- return new W(...t);
10943
+ return new $(...t);
10944
10944
  }
10945
10945
  createRangeOn(t) {
10946
- return W._createOn(t);
10946
+ return $._createOn(t);
10947
10947
  }
10948
10948
  createRangeIn(t) {
10949
- return W._createIn(t);
10949
+ return $._createIn(t);
10950
10950
  }
10951
10951
  createSelection(...t) {
10952
10952
  return new ze(...t);
@@ -11790,7 +11790,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
11790
11790
  T.prototype.is = function(i) {
11791
11791
  return i === "range" || i === "model:range";
11792
11792
  };
11793
- class sd extends ct {
11793
+ class sd extends it {
11794
11794
  constructor() {
11795
11795
  super(), this._modelToViewMapping = /* @__PURE__ */ new WeakMap(), this._viewToModelMapping = /* @__PURE__ */ new WeakMap(), this._viewToModelLengthCallbacks = /* @__PURE__ */ new Map(), this._markerNameToElements = /* @__PURE__ */ new Map(), this._elementToMarkerNames = /* @__PURE__ */ new Map(), this._deferredBindingRemovals = /* @__PURE__ */ new Map(), this._unboundMarkerNames = /* @__PURE__ */ new Set(), this.on("modelToViewPosition", ((t, e) => {
11796
11796
  if (e.viewPosition) return;
@@ -11848,7 +11848,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
11848
11848
  return new T(this.toModelPosition(t.start), this.toModelPosition(t.end));
11849
11849
  }
11850
11850
  toViewRange(t) {
11851
- return new W(this.toViewPosition(t.start), this.toViewPosition(t.end));
11851
+ return new $(this.toViewPosition(t.start), this.toViewPosition(t.end));
11852
11852
  }
11853
11853
  toModelPosition(t) {
11854
11854
  const e = { viewPosition: t, mapper: this };
@@ -11954,7 +11954,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
11954
11954
  const t = i.split(":");
11955
11955
  return t[0] == "insert" ? t[0] : t[0] == "addMarker" || t[0] == "removeMarker" ? i : t.length > 1 ? t[0] + ":" + t[1] : t[0];
11956
11956
  }
11957
- class ad extends ct {
11957
+ class ad extends it {
11958
11958
  constructor(t) {
11959
11959
  super(), this._conversionApi = { dispatcher: this, ...t }, this._firedEventsMap = /* @__PURE__ */ new WeakMap();
11960
11960
  }
@@ -12079,7 +12079,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
12079
12079
  function cd(i) {
12080
12080
  return { item: i.item, range: T._createFromPositionAndShift(i.previousPosition, i.length) };
12081
12081
  }
12082
- class Le extends Rt(xn) {
12082
+ class Le extends Bt(xn) {
12083
12083
  constructor(...t) {
12084
12084
  super(), this._lastRangeBackward = !1, this._ranges = [], this._attrs = /* @__PURE__ */ new Map(), t.length && this.setTo(...t);
12085
12085
  }
@@ -12258,7 +12258,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
12258
12258
  Le.prototype.is = function(i) {
12259
12259
  return i === "selection" || i === "model:selection";
12260
12260
  };
12261
- class je extends Rt(T) {
12261
+ class je extends Bt(T) {
12262
12262
  constructor(t, e) {
12263
12263
  super(t, e), jp.call(this);
12264
12264
  }
@@ -12304,7 +12304,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
12304
12304
  return i === "liveRange" || i === "model:liveRange" || i == "range" || i === "model:range";
12305
12305
  };
12306
12306
  const Mi = "selection:";
12307
- class ye extends Rt(xn) {
12307
+ class ye extends Bt(xn) {
12308
12308
  constructor(t) {
12309
12309
  super(), this._selection = new qp(t), this._selection.delegate("change:range").to(this), this._selection.delegate("change:attribute").to(this), this._selection.delegate("change:marker").to(this);
12310
12310
  }
@@ -13594,7 +13594,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
13594
13594
  function Dd(i, t, e) {
13595
13595
  for (const n of t.getAttributeKeys()) i.checkAttribute(t, n) || e.removeAttribute(n, t);
13596
13596
  }
13597
- class lm extends ct {
13597
+ class lm extends it {
13598
13598
  constructor(t) {
13599
13599
  super(), this._splitParts = /* @__PURE__ */ new Map(), this._cursorParents = /* @__PURE__ */ new Map(), this._modelCursor = null, this._emptyElementsToKeep = /* @__PURE__ */ new Set(), this.conversionApi = { ...t, consumable: null, writer: null, store: null, convertItem: (e, n) => this._convertItem(e, n), convertChildren: (e, n) => this._convertChildren(e, n), safeInsert: (e, n) => this._safeInsert(e, n), updateConversionResult: (e, n) => this._updateConversionResult(e, n), splitToAllowedParent: (e, n) => this._splitToAllowedParent(e, n), getSplitParts: (e) => this._getSplitParts(e), keepEmptyElement: (e) => this._keepEmptyElement(e) };
13600
13600
  }
@@ -13715,7 +13715,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
13715
13715
  return n;
13716
13716
  }
13717
13717
  }
13718
- class hm extends ct {
13718
+ class hm extends it {
13719
13719
  constructor(t, e) {
13720
13720
  super(), this.model = t, this.mapper = new sd(), this.downcastDispatcher = new ad({ mapper: this.mapper, schema: t.schema }), this.downcastDispatcher.on("insert:$text", ((n, o, r) => {
13721
13721
  if (!r.consumable.consume(o.item, n.name)) return;
@@ -14245,7 +14245,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
14245
14245
  return Array.from(e).some(((n) => n.index < t && t < n.index + n[0].length));
14246
14246
  }
14247
14247
  const Qa = "$graveyard";
14248
- class _m extends ct {
14248
+ class _m extends it {
14249
14249
  constructor(t) {
14250
14250
  super(), this.model = t, this.history = new km(), this.selection = new ye(this), this.roots = new Ae({ idProperty: "rootName" }), this.differ = new gm(t.markers), this._postFixers = /* @__PURE__ */ new Set(), this._hasSelectionChangedFromTheLastChangeBlock = !1, this.createRoot("$root", Qa), this.listenTo(t, "applyOperation", ((e, n) => {
14251
14251
  const o = n[0];
@@ -14325,7 +14325,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
14325
14325
  }
14326
14326
  return !0;
14327
14327
  }
14328
- class Am extends ct {
14328
+ class Am extends it {
14329
14329
  constructor() {
14330
14330
  super(), this._markers = /* @__PURE__ */ new Map();
14331
14331
  }
@@ -14378,7 +14378,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
14378
14378
  t.stopListening(), t._detachLiveRange();
14379
14379
  }
14380
14380
  }
14381
- class So extends Rt(xn) {
14381
+ class So extends Bt(xn) {
14382
14382
  constructor(t, e, n, o) {
14383
14383
  super(), this.name = t, this._liveRange = this._attachLiveRange(e), this._managedUsingOperations = n, this._affectsData = o;
14384
14384
  }
@@ -15268,7 +15268,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
15268
15268
  function jd(i, t) {
15269
15269
  return i && t.isSelectable(i);
15270
15270
  }
15271
- class ue extends Rt(O) {
15271
+ class ue extends Bt(O) {
15272
15272
  constructor(t, e, n = "toNone") {
15273
15273
  if (super(t, e, n), !this.root.is("rootElement")) throw new g("model-liveposition-root-not-rootelement", t);
15274
15274
  Sm.call(this);
@@ -15441,7 +15441,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
15441
15441
  return null;
15442
15442
  }
15443
15443
  const nc = /* @__PURE__ */ new Map();
15444
- function at(i, t, e) {
15444
+ function ct(i, t, e) {
15445
15445
  let n = nc.get(i);
15446
15446
  n || (n = /* @__PURE__ */ new Map(), nc.set(i, n)), n.set(t, e);
15447
15447
  }
@@ -15556,13 +15556,13 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
15556
15556
  }
15557
15557
  return e;
15558
15558
  }
15559
- at(Ht, Ht, ((i, t, e) => {
15559
+ ct(Ht, Ht, ((i, t, e) => {
15560
15560
  if (i.key === t.key && i.range.start.hasSameParentAs(t.range.start)) {
15561
15561
  const n = i.range.getDifference(t.range).map(((r) => new Ht(r, i.key, i.oldValue, i.newValue, 0))), o = i.range.getIntersection(t.range);
15562
15562
  return o && e.aIsStrong && n.push(new Ht(o, t.key, t.newValue, i.newValue, 0)), n.length == 0 ? [new Xt(0)] : n;
15563
15563
  }
15564
15564
  return [i];
15565
- })), at(Ht, Ut, ((i, t) => {
15565
+ })), ct(Ht, Ut, ((i, t) => {
15566
15566
  if (i.range.start.hasSameParentAs(t.position) && i.range.containsPosition(t.position)) {
15567
15567
  const e = i.range._getTransformedByInsertion(t.position, t.howMany, !t.shouldReceiveAttributes).map(((n) => new Ht(n, i.key, i.oldValue, i.newValue, i.baseVersion)));
15568
15568
  if (t.shouldReceiveAttributes) {
@@ -15572,12 +15572,12 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
15572
15572
  return e;
15573
15573
  }
15574
15574
  return i.range = i.range._getTransformedByInsertion(t.position, t.howMany, !1)[0], [i];
15575
- })), at(Ht, zt, ((i, t) => {
15575
+ })), ct(Ht, zt, ((i, t) => {
15576
15576
  const e = [];
15577
15577
  i.range.start.hasSameParentAs(t.deletionPosition) && (i.range.containsPosition(t.deletionPosition) || i.range.start.isEqual(t.deletionPosition)) && e.push(T._createFromPositionAndShift(t.graveyardPosition, 1));
15578
15578
  const n = i.range._getTransformedByMergeOperation(t);
15579
15579
  return n.isCollapsed || e.push(n), e.map(((o) => new Ht(o, i.key, i.oldValue, i.newValue, i.baseVersion)));
15580
- })), at(Ht, dt, ((i, t) => (function(n, o) {
15580
+ })), ct(Ht, dt, ((i, t) => (function(n, o) {
15581
15581
  const r = T._createFromPositionAndShift(o.sourcePosition, o.howMany);
15582
15582
  let s = null, a = [];
15583
15583
  r.containsRange(n, !0) ? s = n : n.start.hasSameParentAs(r.start) ? (a = n.getDifference(r), s = n.getIntersection(r)) : a = [n];
@@ -15588,27 +15588,27 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
15588
15588
  c.push(...h);
15589
15589
  }
15590
15590
  return s && c.push(s._getTransformedByMove(o.sourcePosition, o.targetPosition, o.howMany, !1)[0]), c;
15591
- })(i.range, t).map(((n) => new Ht(n, i.key, i.oldValue, i.newValue, i.baseVersion))))), at(Ht, Dt, ((i, t) => {
15591
+ })(i.range, t).map(((n) => new Ht(n, i.key, i.oldValue, i.newValue, i.baseVersion))))), ct(Ht, Dt, ((i, t) => {
15592
15592
  if (i.range.end.isEqual(t.insertionPosition)) return t.graveyardPosition || i.range.end.offset++, [i];
15593
15593
  if (i.range.start.hasSameParentAs(t.splitPosition) && i.range.containsPosition(t.splitPosition)) {
15594
15594
  const e = i.clone();
15595
15595
  return e.range = new T(t.moveTargetPosition.clone(), i.range.end._getCombined(t.splitPosition, t.moveTargetPosition)), i.range.end = t.splitPosition.clone(), i.range.end.stickiness = "toPrevious", [i, e];
15596
15596
  }
15597
15597
  return i.range = i.range._getTransformedBySplitOperation(t), [i];
15598
- })), at(Ut, Ht, ((i, t) => {
15598
+ })), ct(Ut, Ht, ((i, t) => {
15599
15599
  const e = [i];
15600
15600
  if (i.shouldReceiveAttributes && i.position.hasSameParentAs(t.range.start) && t.range.containsPosition(i.position)) {
15601
15601
  const n = Yd(i, t.key, t.newValue);
15602
15602
  n && e.push(n);
15603
15603
  }
15604
15604
  return e;
15605
- })), at(Ut, Ut, ((i, t, e) => (i.position.isEqual(t.position) && e.aIsStrong || (i.position = i.position._getTransformedByInsertOperation(t)), [i]))), at(Ut, dt, ((i, t) => (i.position = i.position._getTransformedByMoveOperation(t), [i]))), at(Ut, Dt, ((i, t) => (i.position = i.position._getTransformedBySplitOperation(t), [i]))), at(Ut, zt, ((i, t) => (i.position = i.position._getTransformedByMergeOperation(t), [i]))), at(le, Ut, ((i, t) => (i.oldRange && (i.oldRange = i.oldRange._getTransformedByInsertOperation(t)[0]), i.newRange && (i.newRange = i.newRange._getTransformedByInsertOperation(t)[0]), [i]))), at(le, le, ((i, t, e) => {
15605
+ })), ct(Ut, Ut, ((i, t, e) => (i.position.isEqual(t.position) && e.aIsStrong || (i.position = i.position._getTransformedByInsertOperation(t)), [i]))), ct(Ut, dt, ((i, t) => (i.position = i.position._getTransformedByMoveOperation(t), [i]))), ct(Ut, Dt, ((i, t) => (i.position = i.position._getTransformedBySplitOperation(t), [i]))), ct(Ut, zt, ((i, t) => (i.position = i.position._getTransformedByMergeOperation(t), [i]))), ct(le, Ut, ((i, t) => (i.oldRange && (i.oldRange = i.oldRange._getTransformedByInsertOperation(t)[0]), i.newRange && (i.newRange = i.newRange._getTransformedByInsertOperation(t)[0]), [i]))), ct(le, le, ((i, t, e) => {
15606
15606
  if (i.name == t.name) {
15607
15607
  if (!e.aIsStrong) return [new Xt(0)];
15608
15608
  i.oldRange = t.newRange ? t.newRange.clone() : null;
15609
15609
  }
15610
15610
  return [i];
15611
- })), at(le, zt, ((i, t) => (i.oldRange && (i.oldRange = i.oldRange._getTransformedByMergeOperation(t)), i.newRange && (i.newRange = i.newRange._getTransformedByMergeOperation(t)), [i]))), at(le, dt, ((i, t, e) => {
15611
+ })), ct(le, zt, ((i, t) => (i.oldRange && (i.oldRange = i.oldRange._getTransformedByMergeOperation(t)), i.newRange && (i.newRange = i.newRange._getTransformedByMergeOperation(t)), [i]))), ct(le, dt, ((i, t, e) => {
15612
15612
  if (i.oldRange && (i.oldRange = T._createFromRanges(i.oldRange._getTransformedByMoveOperation(t))), i.newRange) {
15613
15613
  if (e.abRelation) {
15614
15614
  const n = T._createFromRanges(i.newRange._getTransformedByMoveOperation(t));
@@ -15618,7 +15618,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
15618
15618
  i.newRange = T._createFromRanges(i.newRange._getTransformedByMoveOperation(t));
15619
15619
  }
15620
15620
  return [i];
15621
- })), at(le, Dt, ((i, t, e) => {
15621
+ })), ct(le, Dt, ((i, t, e) => {
15622
15622
  if (i.oldRange && (i.oldRange = i.oldRange._getTransformedBySplitOperation(t)), i.newRange) {
15623
15623
  if (e.abRelation) {
15624
15624
  const n = i.newRange._getTransformedBySplitOperation(t);
@@ -15627,7 +15627,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
15627
15627
  i.newRange = i.newRange._getTransformedBySplitOperation(t);
15628
15628
  }
15629
15629
  return [i];
15630
- })), at(zt, Ut, ((i, t) => (i.sourcePosition.hasSameParentAs(t.position) && (i.howMany += t.howMany), i.sourcePosition = i.sourcePosition._getTransformedByInsertOperation(t), i.targetPosition = i.targetPosition._getTransformedByInsertOperation(t), [i]))), at(zt, zt, ((i, t, e) => {
15630
+ })), ct(zt, Ut, ((i, t) => (i.sourcePosition.hasSameParentAs(t.position) && (i.howMany += t.howMany), i.sourcePosition = i.sourcePosition._getTransformedByInsertOperation(t), i.targetPosition = i.targetPosition._getTransformedByInsertOperation(t), [i]))), ct(zt, zt, ((i, t, e) => {
15631
15631
  if (i.sourcePosition.isEqual(t.sourcePosition) && i.targetPosition.isEqual(t.targetPosition)) {
15632
15632
  if (e.bWasUndone) {
15633
15633
  const n = t.graveyardPosition.path.slice();
@@ -15644,10 +15644,10 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
15644
15644
  return [new Xt(0)];
15645
15645
  }
15646
15646
  return i.sourcePosition.hasSameParentAs(t.targetPosition) && (i.howMany += t.howMany), i.sourcePosition = i.sourcePosition._getTransformedByMergeOperation(t), i.targetPosition = i.targetPosition._getTransformedByMergeOperation(t), i.graveyardPosition.isEqual(t.graveyardPosition) && e.aIsStrong || (i.graveyardPosition = i.graveyardPosition._getTransformedByMergeOperation(t)), [i];
15647
- })), at(zt, dt, ((i, t, e) => {
15647
+ })), ct(zt, dt, ((i, t, e) => {
15648
15648
  const n = T._createFromPositionAndShift(t.sourcePosition, t.howMany);
15649
15649
  return t.type == "remove" && !e.bWasUndone && !e.forceWeakRemove && i.deletionPosition.hasSameParentAs(t.sourcePosition) && n.containsPosition(i.sourcePosition) ? [new Xt(0)] : (i.sourcePosition.hasSameParentAs(t.targetPosition) && (i.howMany += t.howMany), i.sourcePosition.hasSameParentAs(t.sourcePosition) && (i.howMany -= t.howMany), i.sourcePosition = i.sourcePosition._getTransformedByMoveOperation(t), i.targetPosition = i.targetPosition._getTransformedByMoveOperation(t), i.graveyardPosition.isEqual(t.targetPosition) || (i.graveyardPosition = i.graveyardPosition._getTransformedByMoveOperation(t)), [i]);
15650
- })), at(zt, Dt, ((i, t, e) => {
15650
+ })), ct(zt, Dt, ((i, t, e) => {
15651
15651
  if (t.graveyardPosition && (i.graveyardPosition = i.graveyardPosition._getTransformedByDeletion(t.graveyardPosition, 1), i.deletionPosition.isEqual(t.graveyardPosition) && (i.howMany = t.howMany)), i.targetPosition.isEqual(t.splitPosition)) {
15652
15652
  const n = t.howMany != 0, o = t.graveyardPosition && i.deletionPosition.isEqual(t.graveyardPosition);
15653
15653
  if (n || o || e.abRelation == "mergeTargetNotMoved") return i.sourcePosition = i.sourcePosition._getTransformedBySplitOperation(t), [i];
@@ -15657,10 +15657,10 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
15657
15657
  if (e.abRelation == "mergeSameElement" || i.sourcePosition.offset > 0) return i.sourcePosition = t.moveTargetPosition.clone(), i.targetPosition = i.targetPosition._getTransformedBySplitOperation(t), [i];
15658
15658
  }
15659
15659
  return i.sourcePosition.hasSameParentAs(t.splitPosition) && (i.howMany = t.splitPosition.offset), i.sourcePosition = i.sourcePosition._getTransformedBySplitOperation(t), i.targetPosition = i.targetPosition._getTransformedBySplitOperation(t), [i];
15660
- })), at(dt, Ut, ((i, t) => {
15660
+ })), ct(dt, Ut, ((i, t) => {
15661
15661
  const e = T._createFromPositionAndShift(i.sourcePosition, i.howMany)._getTransformedByInsertOperation(t, !1)[0];
15662
15662
  return i.sourcePosition = e.start, i.howMany = e.end.offset - e.start.offset, i.targetPosition.isEqual(t.position) || (i.targetPosition = i.targetPosition._getTransformedByInsertOperation(t)), [i];
15663
- })), at(dt, dt, ((i, t, e) => {
15663
+ })), ct(dt, dt, ((i, t, e) => {
15664
15664
  const n = T._createFromPositionAndShift(i.sourcePosition, i.howMany), o = T._createFromPositionAndShift(t.sourcePosition, t.howMany);
15665
15665
  let r, s = e.aIsStrong, a = !e.aIsStrong;
15666
15666
  if (e.abRelation == "insertBefore" || e.baRelation == "insertAfter" ? a = !0 : e.abRelation != "insertAfter" && e.baRelation != "insertBefore" || (a = !1), r = i.targetPosition.isEqual(t.targetPosition) && a ? i.targetPosition._getTransformedByDeletion(t.sourcePosition, t.howMany) : i.targetPosition._getTransformedByMove(t.sourcePosition, t.targetPosition, t.howMany), Qd(i, t) && Qd(t, i)) return [t.getReversed()];
@@ -15677,7 +15677,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
15677
15677
  }
15678
15678
  const u = n.getIntersection(o);
15679
15679
  return u !== null && s && (u.start = u.start._getCombined(t.sourcePosition, t.getMovedRangeStart()), u.end = u.end._getCombined(t.sourcePosition, t.getMovedRangeStart()), l.length === 0 ? l.push(u) : l.length == 1 ? o.start.isBefore(n.start) || o.start.isEqual(n.start) ? l.unshift(u) : l.push(u) : l.splice(1, 0, u)), l.length === 0 ? [new Xt(i.baseVersion)] : To(l, r);
15680
- })), at(dt, Dt, ((i, t, e) => {
15680
+ })), ct(dt, Dt, ((i, t, e) => {
15681
15681
  let n = i.targetPosition.clone();
15682
15682
  i.targetPosition.isEqual(t.insertionPosition) && t.graveyardPosition && e.abRelation != "moveTargetAfter" || (n = i.targetPosition._getTransformedBySplitOperation(t));
15683
15683
  const o = T._createFromPositionAndShift(i.sourcePosition, i.howMany);
@@ -15693,7 +15693,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
15693
15693
  i.howMany > 1 && s && !e.aWasUndone && r.push(T._createFromPositionAndShift(t.insertionPosition, 1));
15694
15694
  }
15695
15695
  return To(r, n);
15696
- })), at(dt, zt, ((i, t, e) => {
15696
+ })), ct(dt, zt, ((i, t, e) => {
15697
15697
  const n = T._createFromPositionAndShift(i.sourcePosition, i.howMany);
15698
15698
  if (t.deletionPosition.hasSameParentAs(i.sourcePosition) && n.containsPosition(t.sourcePosition)) {
15699
15699
  if (i.type != "remove" || e.forceWeakRemove) {
@@ -15712,25 +15712,25 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
15712
15712
  }
15713
15713
  const o = T._createFromPositionAndShift(i.sourcePosition, i.howMany)._getTransformedByMergeOperation(t);
15714
15714
  return i.sourcePosition = o.start, i.howMany = o.end.offset - o.start.offset, i.targetPosition = i.targetPosition._getTransformedByMergeOperation(t), [i];
15715
- })), at(de, Ut, ((i, t) => (i.position = i.position._getTransformedByInsertOperation(t), [i]))), at(de, zt, ((i, t) => i.position.isEqual(t.deletionPosition) ? (i.position = t.graveyardPosition.clone(), i.position.stickiness = "toNext", [i]) : (i.position = i.position._getTransformedByMergeOperation(t), [i]))), at(de, dt, ((i, t) => (i.position = i.position._getTransformedByMoveOperation(t), [i]))), at(de, de, ((i, t, e) => {
15715
+ })), ct(de, Ut, ((i, t) => (i.position = i.position._getTransformedByInsertOperation(t), [i]))), ct(de, zt, ((i, t) => i.position.isEqual(t.deletionPosition) ? (i.position = t.graveyardPosition.clone(), i.position.stickiness = "toNext", [i]) : (i.position = i.position._getTransformedByMergeOperation(t), [i]))), ct(de, dt, ((i, t) => (i.position = i.position._getTransformedByMoveOperation(t), [i]))), ct(de, de, ((i, t, e) => {
15716
15716
  if (i.position.isEqual(t.position)) {
15717
15717
  if (!e.aIsStrong) return [new Xt(0)];
15718
15718
  i.oldName = t.newName;
15719
15719
  }
15720
15720
  return [i];
15721
- })), at(de, Dt, ((i, t) => {
15721
+ })), ct(de, Dt, ((i, t) => {
15722
15722
  if (Kt(i.position.path, t.splitPosition.getParentPath()) == "same" && !t.graveyardPosition) {
15723
15723
  const e = new de(i.position.getShiftedBy(1), i.oldName, i.newName, 0);
15724
15724
  return [i, e];
15725
15725
  }
15726
15726
  return i.position = i.position._getTransformedBySplitOperation(t), [i];
15727
- })), at(rn, rn, ((i, t, e) => {
15727
+ })), ct(rn, rn, ((i, t, e) => {
15728
15728
  if (i.root === t.root && i.key === t.key) {
15729
15729
  if (!e.aIsStrong || i.newValue === t.newValue) return [new Xt(0)];
15730
15730
  i.oldValue = t.newValue;
15731
15731
  }
15732
15732
  return [i];
15733
- })), at(Dt, Ut, ((i, t) => (i.splitPosition.hasSameParentAs(t.position) && i.splitPosition.offset < t.position.offset && (i.howMany += t.howMany), i.splitPosition = i.splitPosition._getTransformedByInsertOperation(t), i.insertionPosition = i.insertionPosition._getTransformedByInsertOperation(t), [i]))), at(Dt, zt, ((i, t, e) => {
15733
+ })), ct(Dt, Ut, ((i, t) => (i.splitPosition.hasSameParentAs(t.position) && i.splitPosition.offset < t.position.offset && (i.howMany += t.howMany), i.splitPosition = i.splitPosition._getTransformedByInsertOperation(t), i.insertionPosition = i.insertionPosition._getTransformedByInsertOperation(t), [i]))), ct(Dt, zt, ((i, t, e) => {
15734
15734
  if (!i.graveyardPosition && !e.bWasUndone && i.splitPosition.hasSameParentAs(t.sourcePosition)) {
15735
15735
  const n = t.graveyardPosition.path.slice();
15736
15736
  n.push(0);
@@ -15738,7 +15738,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
15738
15738
  return i.splitPosition = i.splitPosition._getTransformedByMergeOperation(t), i.insertionPosition = Dt.getInsertionPosition(i.splitPosition), i.graveyardPosition = s.insertionPosition.clone(), i.graveyardPosition.stickiness = "toNext", [s, i];
15739
15739
  }
15740
15740
  return i.splitPosition.hasSameParentAs(t.deletionPosition) && !i.splitPosition.isAfter(t.deletionPosition) && i.howMany--, i.splitPosition.hasSameParentAs(t.targetPosition) && (i.howMany += t.howMany), i.splitPosition = i.splitPosition._getTransformedByMergeOperation(t), i.insertionPosition = Dt.getInsertionPosition(i.splitPosition), i.graveyardPosition && (i.graveyardPosition = i.graveyardPosition._getTransformedByMergeOperation(t)), [i];
15741
- })), at(Dt, dt, ((i, t, e) => {
15741
+ })), ct(Dt, dt, ((i, t, e) => {
15742
15742
  const n = T._createFromPositionAndShift(t.sourcePosition, t.howMany);
15743
15743
  if (i.graveyardPosition) {
15744
15744
  const r = n.start.isEqual(i.graveyardPosition) || n.containsPosition(i.graveyardPosition);
@@ -15761,7 +15761,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
15761
15761
  return i.howMany -= r, i.splitPosition.hasSameParentAs(t.targetPosition) && i.splitPosition.offset < t.targetPosition.offset && (i.howMany += t.howMany), i.splitPosition = t.sourcePosition.clone(), i.insertionPosition = Dt.getInsertionPosition(i.splitPosition), [i];
15762
15762
  }
15763
15763
  return t.sourcePosition.isEqual(t.targetPosition) || (i.splitPosition.hasSameParentAs(t.sourcePosition) && i.splitPosition.offset <= t.sourcePosition.offset && (i.howMany -= t.howMany), i.splitPosition.hasSameParentAs(t.targetPosition) && i.splitPosition.offset < t.targetPosition.offset && (i.howMany += t.howMany)), i.splitPosition.stickiness = "toNone", i.splitPosition = i.splitPosition._getTransformedByMoveOperation(t), i.splitPosition.stickiness = "toNext", i.graveyardPosition ? i.insertionPosition = i.insertionPosition._getTransformedByMoveOperation(t) : i.insertionPosition = Dt.getInsertionPosition(i.splitPosition), [i];
15764
- })), at(Dt, Dt, ((i, t, e) => {
15764
+ })), ct(Dt, Dt, ((i, t, e) => {
15765
15765
  if (i.splitPosition.isEqual(t.splitPosition)) {
15766
15766
  if (!i.graveyardPosition && !t.graveyardPosition) return [new Xt(0)];
15767
15767
  if (i.graveyardPosition && t.graveyardPosition && i.graveyardPosition.isEqual(t.graveyardPosition)) return [new Xt(0)];
@@ -15882,13 +15882,13 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
15882
15882
  return M._createBefore(t);
15883
15883
  }
15884
15884
  createRange(t, e) {
15885
- return new W(t, e);
15885
+ return new $(t, e);
15886
15886
  }
15887
15887
  createRangeOn(t) {
15888
- return W._createOn(t);
15888
+ return $._createOn(t);
15889
15889
  }
15890
15890
  createRangeIn(t) {
15891
- return W._createIn(t);
15891
+ return $._createIn(t);
15892
15892
  }
15893
15893
  createSelection(...t) {
15894
15894
  return new ze(...t);
@@ -16352,7 +16352,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
16352
16352
  t.isRendered || t.render(), t.element && this._parentElement && this._parentElement.insertBefore(t.element, this._parentElement.children[e]);
16353
16353
  }
16354
16354
  }
16355
- class He extends ct {
16355
+ class He extends it {
16356
16356
  constructor(t) {
16357
16357
  super(), Object.assign(this, nu(eu(t))), this._isRendered = !1, this._revertData = null;
16358
16358
  }
@@ -16579,7 +16579,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
16579
16579
  return i instanceof Hi;
16580
16580
  }
16581
16581
  function au(i) {
16582
- return it(i[0]) && i[0].ns;
16582
+ return rt(i[0]) && i[0].ns;
16583
16583
  }
16584
16584
  function cu(i) {
16585
16585
  return i == "class" || i == "style";
@@ -16624,12 +16624,12 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
16624
16624
  function du({ element: i, target: t, positions: e, limiter: n, fitInViewport: o, viewportOffsetConfig: r }) {
16625
16625
  Ue(t) && (t = t()), Ue(n) && (n = n());
16626
16626
  const s = (function(h) {
16627
- return h && h.parentNode ? h.offsetParent === Q.document.body ? null : h.offsetParent : null;
16627
+ return h && h.parentNode ? h.offsetParent === X.document.body ? null : h.offsetParent : null;
16628
16628
  })(i), a = new Nt(i), c = new Nt(t);
16629
16629
  let l;
16630
16630
  const d = o && (function(h) {
16631
16631
  h = Object.assign({ top: 0, bottom: 0, left: 0, right: 0 }, h);
16632
- const f = new Nt(Q.window);
16632
+ const f = new Nt(X.window);
16633
16633
  return f.top += h.top, f.height -= h.top, f.bottom -= h.bottom, f.height -= h.bottom, f;
16634
16634
  })(r) || null, u = { targetRect: c, elementRect: a, positionedElementAncestor: s, viewportRect: d };
16635
16635
  if (n || o) {
@@ -16649,7 +16649,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
16649
16649
  return l;
16650
16650
  }
16651
16651
  function uu(i) {
16652
- const { scrollX: t, scrollY: e } = Q.window;
16652
+ const { scrollX: t, scrollY: e } = X.window;
16653
16653
  return i.clone().moveBy(t, e);
16654
16654
  }
16655
16655
  class ac {
@@ -16697,7 +16697,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
16697
16697
  }
16698
16698
  var hu = N(245), tk = { injectType: "singletonStyleTag", attributes: { "data-cke": !0 }, insert: "head", singleton: !0 };
16699
16699
  Y()(hu.Z, tk), hu.Z.locals;
16700
- const fu = cc("px"), gu = Q.document.body;
16700
+ const fu = cc("px"), gu = X.document.body;
16701
16701
  class he extends ut {
16702
16702
  constructor(t) {
16703
16703
  super(t);
@@ -16726,15 +16726,15 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
16726
16726
  _startPinning(t) {
16727
16727
  this.attachTo(t);
16728
16728
  const e = lc(t.target), n = t.limiter ? lc(t.limiter) : gu;
16729
- this.listenTo(Q.document, "scroll", ((o, r) => {
16729
+ this.listenTo(X.document, "scroll", ((o, r) => {
16730
16730
  const s = r.target, a = e && s.contains(e), c = n && s.contains(n);
16731
16731
  !a && !c && e && n || this.attachTo(t);
16732
- }), { useCapture: !0 }), this.listenTo(Q.window, "resize", (() => {
16732
+ }), { useCapture: !0 }), this.listenTo(X.window, "resize", (() => {
16733
16733
  this.attachTo(t);
16734
16734
  }));
16735
16735
  }
16736
16736
  _stopPinning() {
16737
- this.stopListening(Q.document, "scroll"), this.stopListening(Q.window, "resize");
16737
+ this.stopListening(X.document, "scroll"), this.stopListening(X.window, "resize");
16738
16738
  }
16739
16739
  }
16740
16740
  function lc(i) {
@@ -16757,7 +16757,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
16757
16757
  class Gt extends Yr {
16758
16758
  constructor(t) {
16759
16759
  if (super(), Gt._editors.add(t), Gt._instance) return Gt._instance;
16760
- Gt._instance = this, this.tooltipTextView = new ut(t.locale), this.tooltipTextView.set("text", ""), this.tooltipTextView.setTemplate({ tag: "span", attributes: { class: ["ck", "ck-tooltip__text"] }, children: [{ text: this.tooltipTextView.bindTemplate.to("text") }] }), this.balloonPanelView = new he(t.locale), this.balloonPanelView.class = ku, this.balloonPanelView.content.add(this.tooltipTextView), this._resizeObserver = null, this._currentElementWithTooltip = null, this._currentTooltipPosition = null, this._pinTooltipDebounced = Ri(this._pinTooltip, 600), this.listenTo(Q.document, "mouseenter", this._onEnterOrFocus.bind(this), { useCapture: !0 }), this.listenTo(Q.document, "mouseleave", this._onLeaveOrBlur.bind(this), { useCapture: !0 }), this.listenTo(Q.document, "focus", this._onEnterOrFocus.bind(this), { useCapture: !0 }), this.listenTo(Q.document, "blur", this._onLeaveOrBlur.bind(this), { useCapture: !0 }), this.listenTo(Q.document, "scroll", this._onScroll.bind(this), { useCapture: !0 }), this._watchdogExcluded = !0;
16760
+ Gt._instance = this, this.tooltipTextView = new ut(t.locale), this.tooltipTextView.set("text", ""), this.tooltipTextView.setTemplate({ tag: "span", attributes: { class: ["ck", "ck-tooltip__text"] }, children: [{ text: this.tooltipTextView.bindTemplate.to("text") }] }), this.balloonPanelView = new he(t.locale), this.balloonPanelView.class = ku, this.balloonPanelView.content.add(this.tooltipTextView), this._resizeObserver = null, this._currentElementWithTooltip = null, this._currentTooltipPosition = null, this._pinTooltipDebounced = Ri(this._pinTooltip, 600), this.listenTo(X.document, "mouseenter", this._onEnterOrFocus.bind(this), { useCapture: !0 }), this.listenTo(X.document, "mouseleave", this._onLeaveOrBlur.bind(this), { useCapture: !0 }), this.listenTo(X.document, "focus", this._onEnterOrFocus.bind(this), { useCapture: !0 }), this.listenTo(X.document, "blur", this._onLeaveOrBlur.bind(this), { useCapture: !0 }), this.listenTo(X.document, "scroll", this._onScroll.bind(this), { useCapture: !0 }), this._watchdogExcluded = !0;
16761
16761
  }
16762
16762
  destroy(t) {
16763
16763
  const e = t.ui.view && t.ui.view.body;
@@ -16787,7 +16787,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
16787
16787
  }
16788
16788
  _pinTooltip(t, { text: e, position: n, cssClass: o }) {
16789
16789
  const r = Qt(Gt._editors.values()).ui.view.body;
16790
- r.has(this.balloonPanelView) || r.add(this.balloonPanelView), this.tooltipTextView.text = e, this.balloonPanelView.pin({ target: t, positions: Gt.getPositioningFunctions(n) }), this._resizeObserver = new Bt(t, (() => {
16790
+ r.has(this.balloonPanelView) || r.add(this.balloonPanelView), this.tooltipTextView.text = e, this.balloonPanelView.pin({ target: t, positions: Gt.getPositioningFunctions(n) }), this._resizeObserver = new Rt(t, (() => {
16791
16791
  Un(t) || this._unpinTooltip();
16792
16792
  })), this.balloonPanelView.class = [ku, o].filter(((s) => s)).join(" ");
16793
16793
  for (const s of Gt._editors) this.listenTo(s.ui, "update", this._updateTooltipPosition.bind(this), { priority: "low" });
@@ -17234,11 +17234,11 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
17234
17234
  this._focusCycler.focusLast();
17235
17235
  }
17236
17236
  fillFromConfig(t, e, n) {
17237
- const o = Tu(t), r = n || o.removeItems, s = this._cleanItemsConfiguration(o.items, e, r).map(((a) => it(a) ? this._createNestedToolbarDropdown(a, e, r) : a === "|" ? new Su() : a === "-" ? new fk() : e.create(a))).filter(((a) => !!a));
17237
+ const o = Tu(t), r = n || o.removeItems, s = this._cleanItemsConfiguration(o.items, e, r).map(((a) => rt(a) ? this._createNestedToolbarDropdown(a, e, r) : a === "|" ? new Su() : a === "-" ? new fk() : e.create(a))).filter(((a) => !!a));
17238
17238
  this.items.addMany(s);
17239
17239
  }
17240
17240
  _cleanItemsConfiguration(t, e, n) {
17241
- const o = t.filter(((r, s, a) => r === "|" || n.indexOf(r) === -1 && (r === "-" ? !this.options.shouldGroupWhenFull || (y("toolbarview-line-break-ignored-when-grouping-items", a), !1) : !(!it(r) && !e.has(r)) || (y("toolbarview-item-unavailable", { item: r }), !1))));
17241
+ const o = t.filter(((r, s, a) => r === "|" || n.indexOf(r) === -1 && (r === "-" ? !this.options.shouldGroupWhenFull || (y("toolbarview-line-break-ignored-when-grouping-items", a), !1) : !(!rt(r) && !e.has(r)) || (y("toolbarview-item-unavailable", { item: r }), !1))));
17242
17242
  return this._cleanSeparatorsAndLineBreaks(o);
17243
17243
  }
17244
17244
  _cleanSeparatorsAndLineBreaks(t) {
@@ -17303,14 +17303,14 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
17303
17303
  if (!this.ungroupedItems.length) return !1;
17304
17304
  const t = this.viewElement, e = this.viewLocale.uiLanguageDirection, n = new Nt(t.lastChild), o = new Nt(t);
17305
17305
  if (!this.cachedPadding) {
17306
- const r = Q.window.getComputedStyle(t), s = e === "ltr" ? "paddingRight" : "paddingLeft";
17306
+ const r = X.window.getComputedStyle(t), s = e === "ltr" ? "paddingRight" : "paddingLeft";
17307
17307
  this.cachedPadding = Number.parseInt(r[s]);
17308
17308
  }
17309
17309
  return e === "ltr" ? n.right > o.right - this.cachedPadding : n.left < o.left + this.cachedPadding;
17310
17310
  }
17311
17311
  _enableGroupingOnResize() {
17312
17312
  let t;
17313
- this.resizeObserver = new Bt(this.viewElement, ((e) => {
17313
+ this.resizeObserver = new Rt(this.viewElement, ((e) => {
17314
17314
  t && t === e.contentRect.width && !this.shouldUpdateGroupingOnNextResize || (this.shouldUpdateGroupingOnNextResize = !1, this._updateGrouping(), t = e.contentRect.width);
17315
17315
  })), this._updateGrouping();
17316
17316
  }
@@ -17404,7 +17404,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
17404
17404
  }));
17405
17405
  })(r), (function(s) {
17406
17406
  s.on("change:isOpen", ((a, c, l) => {
17407
- l || s.panelView.element.contains(Q.document.activeElement) && s.buttonView.focus();
17407
+ l || s.panelView.element.contains(X.document.activeElement) && s.buttonView.focus();
17408
17408
  }));
17409
17409
  })(r), (function(s) {
17410
17410
  s.on("change:isOpen", ((a, c, l) => {
@@ -17720,7 +17720,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
17720
17720
  this.set("isActive", !1), this.set("isSticky", !1), this.set("limiterElement", null), this.set("limiterBottomOffset", 50), this.set("viewportTopOffset", 0), this.set("_marginLeft", null), this.set("_isStickyToTheLimiter", !1), this.set("_hasViewportTopOffset", !1), this.content = this.createCollection(), this._contentPanelPlaceholder = new He({ tag: "div", attributes: { class: ["ck", "ck-sticky-panel__placeholder"], style: { display: e.to("isSticky", ((n) => n ? "block" : "none")), height: e.to("isSticky", ((n) => n ? Wi(this._panelRect.height) : null)) } } }).render(), this._contentPanel = new He({ tag: "div", attributes: { class: ["ck", "ck-sticky-panel__content", e.if("isSticky", "ck-sticky-panel__content_sticky"), e.if("_isStickyToTheLimiter", "ck-sticky-panel__content_sticky_bottom-limit")], style: { width: e.to("isSticky", ((n) => n ? Wi(this._contentPanelPlaceholder.getBoundingClientRect().width) : null)), top: e.to("_hasViewportTopOffset", ((n) => n ? Wi(this.viewportTopOffset) : null)), bottom: e.to("_isStickyToTheLimiter", ((n) => n ? Wi(this.limiterBottomOffset) : null)), marginLeft: e.to("_marginLeft") } }, children: this.content }).render(), this.setTemplate({ tag: "div", attributes: { class: ["ck", "ck-sticky-panel"] }, children: [this._contentPanelPlaceholder, this._contentPanel] });
17721
17721
  }
17722
17722
  render() {
17723
- super.render(), this._checkIfShouldBeSticky(), this.listenTo(Q.window, "scroll", (() => {
17723
+ super.render(), this._checkIfShouldBeSticky(), this.listenTo(X.window, "scroll", (() => {
17724
17724
  this._checkIfShouldBeSticky();
17725
17725
  })), this.listenTo(this, "change:isActive", (() => {
17726
17726
  this._checkIfShouldBeSticky();
@@ -17729,7 +17729,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
17729
17729
  _checkIfShouldBeSticky() {
17730
17730
  const t = this._panelRect = this._contentPanel.getBoundingClientRect();
17731
17731
  let e;
17732
- this.limiterElement ? (e = this._limiterRect = this.limiterElement.getBoundingClientRect(), this.isSticky = this.isActive && e.top < this.viewportTopOffset && this._panelRect.height + this.limiterBottomOffset < e.height) : this.isSticky = !1, this.isSticky ? (this._isStickyToTheLimiter = e.bottom < t.height + this.limiterBottomOffset + this.viewportTopOffset, this._hasViewportTopOffset = !this._isStickyToTheLimiter && !!this.viewportTopOffset, this._marginLeft = this._isStickyToTheLimiter ? null : Wi(-Q.window.scrollX)) : (this._isStickyToTheLimiter = !1, this._hasViewportTopOffset = !1, this._marginLeft = null);
17732
+ this.limiterElement ? (e = this._limiterRect = this.limiterElement.getBoundingClientRect(), this.isSticky = this.isActive && e.top < this.viewportTopOffset && this._panelRect.height + this.limiterBottomOffset < e.height) : this.isSticky = !1, this.isSticky ? (this._isStickyToTheLimiter = e.bottom < t.height + this.limiterBottomOffset + this.viewportTopOffset, this._hasViewportTopOffset = !this._isStickyToTheLimiter && !!this.viewportTopOffset, this._marginLeft = this._isStickyToTheLimiter ? null : Wi(-X.window.scrollX)) : (this._isStickyToTheLimiter = !1, this._hasViewportTopOffset = !1, this._marginLeft = null);
17733
17733
  }
17734
17734
  }
17735
17735
  var Uu = N(706), qk = { injectType: "singletonStyleTag", attributes: { "data-cke": !0 }, insert: "head", singleton: !0 };
@@ -17975,10 +17975,10 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
17975
17975
  const r = o.view, s = r.document;
17976
17976
  let a = null, c = !1;
17977
17977
  function l(u) {
17978
- return u == rt.backspace || u == rt.delete;
17978
+ return u == st.backspace || u == st.delete;
17979
17979
  }
17980
17980
  function d(u) {
17981
- return u == rt.backspace ? Io : $i;
17981
+ return u == st.backspace ? Io : $i;
17982
17982
  }
17983
17983
  s.on("keydown", ((u, { keyCode: h }) => {
17984
17984
  a = h, c = !1;
@@ -17992,7 +17992,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
17992
17992
  const f = eh[h];
17993
17993
  l(a) && f && f.direction == d(a) && (c = !0);
17994
17994
  })), s.on("beforeinput", ((u, { inputType: h, data: f }) => {
17995
- a == rt.delete && h == "insertText" && f == "" && u.stop();
17995
+ a == st.delete && h == "insertText" && f == "" && u.stop();
17996
17996
  }), { priority: "high" });
17997
17997
  })(this);
17998
17998
  }
@@ -18073,7 +18073,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
18073
18073
  const t = this.editor, e = t.model, n = t.editing.view, o = t.locale, r = e.document.selection;
18074
18074
  this.listenTo(n.document, "arrowKey", ((s, a) => {
18075
18075
  if (!r.isCollapsed || a.shiftKey || a.altKey || a.ctrlKey) return;
18076
- const c = a.keyCode == rt.arrowright, l = a.keyCode == rt.arrowleft;
18076
+ const c = a.keyCode == st.arrowright, l = a.keyCode == st.arrowleft;
18077
18077
  if (!c && !l) return;
18078
18078
  const d = o.contentLanguageDirection;
18079
18079
  let u = !1;
@@ -18871,7 +18871,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
18871
18871
  }), { priority: "low" });
18872
18872
  }
18873
18873
  }
18874
- class bb extends ct {
18874
+ class bb extends it {
18875
18875
  constructor() {
18876
18876
  super(), this._stack = [];
18877
18877
  }
@@ -19173,7 +19173,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
19173
19173
  function Pb(i) {
19174
19174
  const t = i.model;
19175
19175
  return (e, n) => {
19176
- const o = n.keyCode == rt.arrowup, r = n.keyCode == rt.arrowdown, s = n.shiftKey, a = t.document.selection;
19176
+ const o = n.keyCode == st.arrowup, r = n.keyCode == st.arrowdown, s = n.shiftKey, a = t.document.selection;
19177
19177
  if (!o && !r) return;
19178
19178
  const c = r;
19179
19179
  if (s && (function(d, u) {
@@ -19354,7 +19354,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
19354
19354
  const Ib = function(i, t, e) {
19355
19355
  var n = !0, o = !0;
19356
19356
  if (typeof i != "function") throw new TypeError("Expected a function");
19357
- return it(e) && (n = "leading" in e ? !!e.leading : n, o = "trailing" in e ? !!e.trailing : o), Ri(i, t, { leading: n, maxWait: t, trailing: o });
19357
+ return rt(e) && (n = "leading" in e ? !!e.leading : n, o = "trailing" in e ? !!e.trailing : o), Ri(i, t, { leading: n, maxWait: t, trailing: o });
19358
19358
  };
19359
19359
  var Mh = N(390), Ob = { injectType: "singletonStyleTag", attributes: { "data-cke": !0 }, insert: "head", singleton: !0 };
19360
19360
  Y()(Mh.Z, Ob), Mh.Z.locals;
@@ -20122,7 +20122,7 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
20122
20122
  s && (n.stop(), o.preventDefault(), of(s));
20123
20123
  }), { context: "$capture" }), this.listenTo(e, "keydown", ((n, o) => {
20124
20124
  const r = t.commands.get("link").value;
20125
- r && o.keyCode === rt.enter && o.altKey && (n.stop(), of(r));
20125
+ r && o.keyCode === st.enter && o.altKey && (n.stop(), of(r));
20126
20126
  }));
20127
20127
  }
20128
20128
  _enableInsertContentSelectionAttributesFixer() {
@@ -22662,18 +22662,18 @@ Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#e
22662
22662
  }
22663
22663
  }], Jc.defaultConfig = { toolbar: { items: ["heading", "|", "bold", "italic", "underline", "link", "bulletedList", "numberedList", "|", "codeBlock", "blockQuote", "insertTable", "undo", "redo"] }, language: "en", table: { contentToolbar: ["tableColumn", "tableRow", "mergeTableCells"] } };
22664
22664
  const D_ = Jc;
22665
- })(), X = X.default;
22665
+ })(), tt = tt.default;
22666
22666
  })()));
22667
22667
  })(Yi, Yi.exports)), Yi.exports;
22668
22668
  }
22669
22669
  var q_ = H_();
22670
22670
  const W_ = /* @__PURE__ */ F_(q_), $_ = ({
22671
- value: j,
22672
- disabled: J,
22671
+ value: H,
22672
+ disabled: Z,
22673
22673
  onReady: kt,
22674
22674
  onChange: ot,
22675
22675
  onError: N,
22676
- onBlur: X,
22676
+ onBlur: tt,
22677
22677
  onFocus: I,
22678
22678
  id: x,
22679
22679
  name: _,
@@ -22688,7 +22688,7 @@ const W_ = /* @__PURE__ */ F_(q_), $_ = ({
22688
22688
  j_.CKEditor,
22689
22689
  {
22690
22690
  editor: W_,
22691
- data: j,
22691
+ data: H,
22692
22692
  config: {
22693
22693
  ...P && { placeholder: P },
22694
22694
  codeBlock: {
@@ -22712,7 +22712,7 @@ const W_ = /* @__PURE__ */ F_(q_), $_ = ({
22712
22712
  "redo"
22713
22713
  ]
22714
22714
  },
22715
- isReadOnly: J
22715
+ isReadOnly: Z
22716
22716
  },
22717
22717
  onReady: (y) => {
22718
22718
  var ht, ft;
@@ -22728,7 +22728,7 @@ const W_ = /* @__PURE__ */ F_(q_), $_ = ({
22728
22728
  g(ot, y, L);
22729
22729
  },
22730
22730
  onBlur: (y, L) => {
22731
- g(X, y, L);
22731
+ g(tt, y, L);
22732
22732
  },
22733
22733
  onFocus: (y, L) => {
22734
22734
  g(I, y, L);
@@ -22742,20 +22742,20 @@ const W_ = /* @__PURE__ */ F_(q_), $_ = ({
22742
22742
  ) });
22743
22743
  };
22744
22744
  function Qc() {
22745
- return Qc = Object.assign ? Object.assign.bind() : function(j) {
22746
- for (var J = 1; J < arguments.length; J++) {
22747
- var kt = arguments[J];
22748
- for (var ot in kt) ({}).hasOwnProperty.call(kt, ot) && (j[ot] = kt[ot]);
22745
+ return Qc = Object.assign ? Object.assign.bind() : function(H) {
22746
+ for (var Z = 1; Z < arguments.length; Z++) {
22747
+ var kt = arguments[Z];
22748
+ for (var ot in kt) ({}).hasOwnProperty.call(kt, ot) && (H[ot] = kt[ot]);
22749
22749
  }
22750
- return j;
22750
+ return H;
22751
22751
  }, Qc.apply(null, arguments);
22752
22752
  }
22753
- function K_(j, J) {
22754
- if (j == null) return {};
22753
+ function K_(H, Z) {
22754
+ if (H == null) return {};
22755
22755
  var kt = {};
22756
- for (var ot in j) if ({}.hasOwnProperty.call(j, ot)) {
22757
- if (J.indexOf(ot) !== -1) continue;
22758
- kt[ot] = j[ot];
22756
+ for (var ot in H) if ({}.hasOwnProperty.call(H, ot)) {
22757
+ if (Z.indexOf(ot) !== -1) continue;
22758
+ kt[ot] = H[ot];
22759
22759
  }
22760
22760
  return kt;
22761
22761
  }
@@ -22768,23 +22768,23 @@ var U_ = `.form-group .max-char-length {
22768
22768
  .form-group .maxlength-error {
22769
22769
  color: var(--pf-v5-c-form--m-error--Color);
22770
22770
  }`;
22771
- const G_ = ["children", "helperTextInvalid", "validated", "helperText", "labelIcon", "onClick"], Z_ = (j) => {
22771
+ const G_ = ["children", "helperTextInvalid", "validated", "helperText", "labelIcon", "onClick"], Z_ = (H) => {
22772
22772
  let {
22773
- children: J,
22773
+ children: Z,
22774
22774
  helperTextInvalid: kt,
22775
22775
  validated: ot,
22776
22776
  helperText: N,
22777
- labelIcon: X,
22777
+ labelIcon: tt,
22778
22778
  onClick: I
22779
- } = j, x = K_(j, G_);
22779
+ } = H, x = K_(H, G_);
22780
22780
  return J_(), ln.jsxs(P_, Qc({
22781
22781
  className: "form-group"
22782
- }, X && {
22783
- labelIcon: X
22782
+ }, tt && {
22783
+ labelIcon: tt
22784
22784
  }, I && {
22785
22785
  onClick: I
22786
22786
  }, x, {
22787
- children: [J, ln.jsx(B_, {
22787
+ children: [Z, ln.jsx(B_, {
22788
22788
  children: ln.jsx(R_, {
22789
22789
  children: ln.jsx(I_, {
22790
22790
  variant: ot,
@@ -22794,18 +22794,18 @@ const G_ = ["children", "helperTextInvalid", "validated", "helperText", "labelIc
22794
22794
  })]
22795
22795
  }));
22796
22796
  }, J_ = () => {
22797
- const j = "form-group-component-style";
22798
- if (!document.getElementById(j)) {
22799
- const J = document.createElement("style");
22800
- J.id = j, J.type = "text/css", J.innerHTML = U_, document.body.appendChild(J);
22797
+ const H = "form-group-component-style";
22798
+ if (!document.getElementById(H)) {
22799
+ const Z = document.createElement("style");
22800
+ Z.id = H, Z.type = "text/css", Z.innerHTML = U_, document.body.appendChild(Z);
22801
22801
  }
22802
22802
  }, eA = ({
22803
- label: j,
22804
- isRequired: J,
22803
+ label: H,
22804
+ isRequired: Z,
22805
22805
  ariaLabel: kt = "Enter text",
22806
22806
  placeholder: ot,
22807
22807
  helperText: N,
22808
- disabled: X,
22808
+ disabled: tt,
22809
22809
  showMaxLengthText: I,
22810
22810
  maxLength: x,
22811
22811
  showCodeBlock: _,
@@ -22826,15 +22826,15 @@ const G_ = ["children", "helperTextInvalid", "validated", "helperText", "labelIc
22826
22826
  Z_,
22827
22827
  {
22828
22828
  validated: D.touched && D.error ? Yc.error : Yc.default,
22829
- onClick: (tt) => {
22830
- var ct, q, H;
22831
- const Rt = tt == null ? void 0 : tt.target;
22832
- (ct = Rt == null ? void 0 : Rt.classList) != null && ct.contains("pf-c-form__label-text") && y.current && ((H = (q = y.current.editing) == null ? void 0 : q.view) == null || H.focus());
22829
+ onClick: (Q) => {
22830
+ var it, q, j;
22831
+ const Bt = Q == null ? void 0 : Q.target;
22832
+ (it = Bt == null ? void 0 : Bt.classList) != null && it.contains("pf-c-form__label-text") && y.current && ((j = (q = y.current.editing) == null ? void 0 : q.view) == null || j.focus());
22833
22833
  },
22834
22834
  fieldId: E.name,
22835
22835
  helperTextInvalid: D.error,
22836
- isRequired: J,
22837
- label: j,
22836
+ isRequired: Z,
22837
+ label: H,
22838
22838
  helperText: N,
22839
22839
  children: [
22840
22840
  /* @__PURE__ */ ln.jsx(
@@ -22846,15 +22846,20 @@ const G_ = ["children", "helperTextInvalid", "validated", "helperText", "labelIc
22846
22846
  name: E.name,
22847
22847
  ...kt && { ariaLabel: kt },
22848
22848
  ...ot && { placeholder: ot },
22849
- onReady: (tt) => {
22850
- tt && !re.current && (re.current = !0, window.ckeditorObj = window.ckeditorObj || {}, window.ckeditorObj[E == null ? void 0 : E.name] = tt, y.current = tt, g && !tt.getData() && tt.setData(g));
22849
+ onReady: (Q) => {
22850
+ Q && !re.current && (re.current = !0, window.ckeditorObj = window.ckeditorObj || {}, window.ckeditorObj[E == null ? void 0 : E.name] = Q, y.current = Q, g && !Q.getData() && Q.setData(g));
22851
22851
  },
22852
- disabled: X || ht,
22853
- onChange: (tt) => {
22854
- ft(E.name, tt, !0);
22852
+ onFocus: (Q, Bt, it) => {
22853
+ var j, W;
22854
+ const q = (W = (j = it.ui).getEditableElement) == null ? void 0 : W.call(j);
22855
+ q && Z && q.setAttribute("aria-required", "true");
22855
22856
  },
22856
- onBlur: (tt) => {
22857
- ft(E.name, tt, !0), P(!0);
22857
+ disabled: tt || ht,
22858
+ onChange: (Q) => {
22859
+ ft(E.name, Q, !0);
22860
+ },
22861
+ onBlur: (Q) => {
22862
+ ft(E.name, Q, !0), P(!0);
22858
22863
  }
22859
22864
  }
22860
22865
  ),