sykpcomposer 1.20.59 → 1.20.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@ var nT = Object.defineProperty;
2
2
  var rT = (c, t, n) => t in c ? nT(c, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : c[t] = n;
3
3
  var Un = (c, t, n) => (rT(c, typeof t != "symbol" ? t + "" : t, n), n);
4
4
  import * as sr from "react";
5
- import Ri, { createContext as xh, useContext as i0, useMemo as Fr, useLayoutEffect as sa, useEffect as Wt, useState as Ft, useCallback as mn, useRef as tr, Suspense as Vd } from "react";
5
+ import Ri, { createContext as xh, useContext as i0, useMemo as Fr, useLayoutEffect as aa, useEffect as Wt, useState as Ft, useCallback as mn, useRef as tr, Suspense as Vd } from "react";
6
6
  import * as wh from "react-dom";
7
7
  import { flushSync as tw, createPortal as Ns } from "react-dom";
8
8
  var za = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
@@ -692,12 +692,12 @@ function Cn() {
692
692
  const c = i0(s0);
693
693
  return c == null && aT(8), c;
694
694
  }
695
- function Ao(c) {
695
+ function jo(c) {
696
696
  return {};
697
697
  }
698
- const ks = {}, nw = {}, Gd = {}, cs = {}, Ja = {}, Bl = {}, Va = {}, aa = {}, Bp = {}, zl = {}, Ga = {}, ti = {}, ru = {}, ou = {}, rw = {}, Eh = {}, cT = {}, Ch = {}, uT = {}, Yd = {}, Zd = {}, $l = {}, dT = {}, el = {}, Zl = {}, tl = {}, Th = {}, fT = {}, ow = {}, Iv = {}, kh = {}, Tl = {}, Oh = {}, a0 = {}, pT = {}, Qd = {}, Xd = {}, zp = {}, Nh = {}, hT = {}, Jc = {}, Vc = {}, l0 = {}, gT = {}, iw = {}, hs = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, mT = hs && "documentMode" in document ? document.documentMode : null, os = hs && /Mac|iPod|iPhone|iPad/.test(navigator.platform), Ka = hs && /^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent), $p = !(!hs || !("InputEvent" in window) || mT) && "getTargetRanges" in new window.InputEvent("input"), c0 = hs && /Version\/[\d.]+.*Safari/.test(navigator.userAgent), Ah = hs && /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream, yT = hs && /Android/.test(navigator.userAgent), sw = hs && /^(?=.*Chrome).*/i.test(navigator.userAgent), bT = hs && yT && sw, u0 = hs && /AppleWebKit\/[\d.]+/.test(navigator.userAgent) && !sw, ef = 1, nl = 3, Ul = 0, aw = 1, iu = 2, vT = 0, _T = 1, xT = 2, Up = 4, Hp = 8, d0 = 128, wT = 112 | (3 | Up | Hp) | d0, f0 = 1, p0 = 2, h0 = 3, g0 = 4, m0 = 5, y0 = 6, jh = c0 || Ah || u0 ? " " : "​", ra = `
698
+ const ks = {}, nw = {}, Gd = {}, cs = {}, Ja = {}, Bl = {}, Va = {}, Rs = {}, Bp = {}, zl = {}, Ga = {}, ti = {}, ru = {}, ou = {}, rw = {}, Eh = {}, cT = {}, Ch = {}, uT = {}, Yd = {}, Zd = {}, $l = {}, dT = {}, el = {}, Zl = {}, tl = {}, Th = {}, fT = {}, ow = {}, Iv = {}, kh = {}, Tl = {}, Oh = {}, a0 = {}, pT = {}, Qd = {}, Xd = {}, zp = {}, Nh = {}, hT = {}, Jc = {}, Vc = {}, l0 = {}, gT = {}, iw = {}, hs = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, mT = hs && "documentMode" in document ? document.documentMode : null, os = hs && /Mac|iPod|iPhone|iPad/.test(navigator.platform), Ka = hs && /^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent), $p = !(!hs || !("InputEvent" in window) || mT) && "getTargetRanges" in new window.InputEvent("input"), c0 = hs && /Version\/[\d.]+.*Safari/.test(navigator.userAgent), Ah = hs && /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream, yT = hs && /Android/.test(navigator.userAgent), sw = hs && /^(?=.*Chrome).*/i.test(navigator.userAgent), bT = hs && yT && sw, u0 = hs && /AppleWebKit\/[\d.]+/.test(navigator.userAgent) && !sw, ef = 1, nl = 3, Ul = 0, aw = 1, iu = 2, vT = 0, _T = 1, xT = 2, Up = 4, Hp = 8, d0 = 128, wT = 112 | (3 | Up | Hp) | d0, f0 = 1, p0 = 2, h0 = 3, g0 = 4, m0 = 5, y0 = 6, jh = c0 || Ah || u0 ? " " : "​", oa = `
699
699
 
700
- `, ST = Ka ? " " : jh, lw = "֑-߿יִ-﷽ﹰ-ﻼ", cw = "A-Za-zÀ-ÖØ-öø-ʸ̀-֐ࠀ-῿‎Ⰰ-﬜︀-﹯﻽-￿", ET = new RegExp("^[^" + cw + "]*[" + lw + "]"), CT = new RegExp("^[^" + lw + "]*[" + cw + "]"), ta = { bold: 1, code: 16, highlight: d0, italic: 2, strikethrough: Up, subscript: 32, superscript: 64, underline: Hp }, TT = { directionless: 1, unmergeable: 2 }, Pv = { center: p0, end: y0, justify: g0, left: f0, right: h0, start: m0 }, kT = { [p0]: "center", [y0]: "end", [g0]: "justify", [f0]: "left", [h0]: "right", [m0]: "start" }, OT = { normal: 0, segmented: 2, token: 1 }, NT = { [vT]: "normal", [xT]: "segmented", [_T]: "token" };
700
+ `, ST = Ka ? " " : jh, lw = "֑-߿יִ-﷽ﹰ-ﻼ", cw = "A-Za-zÀ-ÖØ-öø-ʸ̀-֐ࠀ-῿‎Ⰰ-﬜︀-﹯﻽-￿", ET = new RegExp("^[^" + cw + "]*[" + lw + "]"), CT = new RegExp("^[^" + lw + "]*[" + cw + "]"), na = { bold: 1, code: 16, highlight: d0, italic: 2, strikethrough: Up, subscript: 32, superscript: 64, underline: Hp }, TT = { directionless: 1, unmergeable: 2 }, Pv = { center: p0, end: y0, justify: g0, left: f0, right: h0, start: m0 }, kT = { [p0]: "center", [y0]: "end", [g0]: "justify", [f0]: "left", [h0]: "right", [m0]: "start" }, OT = { normal: 0, segmented: 2, token: 1 }, NT = { [vT]: "normal", [xT]: "segmented", [_T]: "token" };
701
701
  function AT(c) {
702
702
  return c && c.__esModule && Object.prototype.hasOwnProperty.call(c, "default") ? c.default : c;
703
703
  }
@@ -916,11 +916,11 @@ function qp(c) {
916
916
  return null;
917
917
  }
918
918
  function oy(c, t, n) {
919
- const e = ta[t];
919
+ const e = na[t];
920
920
  if (n !== null && (c & e) == (n & e))
921
921
  return c;
922
922
  let a = c ^ e;
923
- return t === "subscript" ? a &= ~ta.superscript : t === "superscript" && (a &= ~ta.subscript), a;
923
+ return t === "subscript" ? a &= ~na.superscript : t === "superscript" && (a &= ~na.subscript), a;
924
924
  }
925
925
  function x0(c) {
926
926
  return Kt(c) || As(c) || _r(c);
@@ -929,7 +929,7 @@ function hw(c, t) {
929
929
  if (t != null)
930
930
  return void (c.__key = t);
931
931
  ni(), Hw();
932
- const n = Yr(), e = Rs(), a = "" + RT++;
932
+ const n = Yr(), e = Ds(), a = "" + RT++;
933
933
  e._nodeMap.set(a, c), kt(c) ? n._dirtyElements.set(a, !0) : n._dirtyLeaves.add(a), n._cloneNotNeeded.add(a), n._dirtyType = aw, c.__key = a;
934
934
  }
935
935
  function Nl(c) {
@@ -971,7 +971,7 @@ function Nl(c) {
971
971
  }
972
972
  function Jp(c) {
973
973
  Hw();
974
- const t = c.getLatest(), n = t.__parent, e = Rs(), a = Yr(), o = e._nodeMap, r = a._dirtyElements;
974
+ const t = c.getLatest(), n = t.__parent, e = Ds(), a = Yr(), o = e._nodeMap, r = a._dirtyElements;
975
975
  n !== null && function(l, i, u) {
976
976
  let f = l;
977
977
  for (; f !== null; ) {
@@ -1004,7 +1004,7 @@ function Ha() {
1004
1004
  return bu() ? null : Yr()._compositionKey;
1005
1005
  }
1006
1006
  function er(c, t) {
1007
- const n = (t || Rs())._nodeMap.get(c);
1007
+ const n = (t || Ds())._nodeMap.get(c);
1008
1008
  return n === void 0 ? null : n;
1009
1009
  }
1010
1010
  function gw(c, t) {
@@ -1029,14 +1029,14 @@ function Fv(c) {
1029
1029
  return c.read(() => Ln().getTextContent());
1030
1030
  }
1031
1031
  function Ln() {
1032
- return yw(Rs());
1032
+ return yw(Ds());
1033
1033
  }
1034
1034
  function yw(c) {
1035
1035
  return c._nodeMap.get("root");
1036
1036
  }
1037
1037
  function Wr(c) {
1038
1038
  ni();
1039
- const t = Rs();
1039
+ const t = Ds();
1040
1040
  c !== null && (c.dirty = !0, c.setCachedNodes(null)), t._selection = c;
1041
1041
  }
1042
1042
  function Kc(c) {
@@ -1184,7 +1184,7 @@ function C0(c, t, n, e, a) {
1184
1184
  (u === void 0 || f) && i.set(r, f ? "updated" : a);
1185
1185
  }
1186
1186
  function ww(c) {
1187
- const t = Rs(), n = t._readOnly, e = c.getType(), a = t._nodeMap, o = [];
1187
+ const t = Ds(), n = t._readOnly, e = c.getType(), a = t._nodeMap, o = [];
1188
1188
  for (const [, r] of a)
1189
1189
  r instanceof c && r.__type === e && (n || r.isAttached()) && o.push(r);
1190
1190
  return o;
@@ -1366,7 +1366,7 @@ function Ew(c, t, n, e, a, o) {
1366
1366
  r.__parent === t && (kt(r) && Ew(r, s, n, e, a, o), n.has(s) || o.delete(s), a.push(s)), r = r.getNextSibling();
1367
1367
  }
1368
1368
  }
1369
- let Ya, oi, Pd, Rh, iy, sy, Hl, us, ay, Md, mo = "", ri = "", is = null, Zs = "", Cw = !1, Dh = !1, bp = null;
1369
+ let Ya, oi, Pd, Rh, iy, sy, Hl, us, ay, Md, mo = "", ri = "", is = null, Qs = "", Cw = !1, Dh = !1, bp = null;
1370
1370
  function Gp(c, t) {
1371
1371
  const n = Hl.get(c);
1372
1372
  if (t !== null) {
@@ -1420,7 +1420,7 @@ function Yp(c, t, n) {
1420
1420
  })(Zp(e, us), l, e, a);
1421
1421
  }
1422
1422
  const s = e.__format;
1423
- s !== 0 && kw(a, s), e.isInline() || Ow(null, e, a), Ih(e) && (mo += ra, Zs += ra);
1423
+ s !== 0 && kw(a, s), e.isInline() || Ow(null, e, a), Ih(e) && (mo += oa, Qs += oa);
1424
1424
  } else {
1425
1425
  const o = e.getTextContent();
1426
1426
  if (_r(e)) {
@@ -1428,7 +1428,7 @@ function Yp(c, t, n) {
1428
1428
  r !== null && Aw(c, r), a.contentEditable = "false";
1429
1429
  } else
1430
1430
  Kt(e) && (e.isDirectionless() || (ri += o));
1431
- mo += o, Zs += o;
1431
+ mo += o, Qs += o;
1432
1432
  }
1433
1433
  if (t !== null)
1434
1434
  if (n != null)
@@ -1448,7 +1448,7 @@ function cy(c, t, n, e, a, o) {
1448
1448
  const l = us.get(c[s]);
1449
1449
  l !== null && is === null && Kt(l) && (is = l.getFormat());
1450
1450
  }
1451
- Ih(t) && (mo += ra), a.__lexicalTextContent = mo, mo = r + mo;
1451
+ Ih(t) && (mo += oa), a.__lexicalTextContent = mo, mo = r + mo;
1452
1452
  }
1453
1453
  function qv(c, t) {
1454
1454
  const n = t.get(c);
@@ -1553,7 +1553,7 @@ function GT(c, t, n) {
1553
1553
  B && !F && ly(h, S, _, b);
1554
1554
  })(r, f, d, i, u, s);
1555
1555
  }
1556
- Ih(r) && (mo += ra), s.__lexicalTextContent = mo, mo = l + mo;
1556
+ Ih(r) && (mo += oa), s.__lexicalTextContent = mo, mo = l + mo;
1557
1557
  }(c, t, n), Nw(t, n), Ir(a = t) && is != null && is !== a.__textFormat && !Dh && a.setTextFormat(is), ri = e, is = null;
1558
1558
  }
1559
1559
  function Zp(c, t) {
@@ -1573,12 +1573,12 @@ function pd(c, t) {
1573
1573
  if (n === e && !a) {
1574
1574
  if (kt(n)) {
1575
1575
  const r = o.__lexicalTextContent;
1576
- r !== void 0 && (mo += r, Zs += r);
1576
+ r !== void 0 && (mo += r, Qs += r);
1577
1577
  const s = o.__lexicalDirTextContent;
1578
1578
  s !== void 0 && (ri += s);
1579
1579
  } else {
1580
1580
  const r = n.getTextContent();
1581
- Kt(n) && !n.isDirectionless() && (ri += r), Zs += r, mo += r;
1581
+ Kt(n) && !n.isDirectionless() && (ri += r), Qs += r, mo += r;
1582
1582
  }
1583
1583
  return o;
1584
1584
  }
@@ -1590,7 +1590,7 @@ function pd(c, t) {
1590
1590
  const r = e.__indent;
1591
1591
  r !== n.__indent && Tw(o, r);
1592
1592
  const s = e.__format;
1593
- s !== n.__format && kw(o, s), a && (GT(n, e, o), Vo(e) || e.isInline() || Ow(n, e, o)), Ih(e) && (mo += ra, Zs += ra);
1593
+ s !== n.__format && kw(o, s), a && (GT(n, e, o), Vo(e) || e.isInline() || Ow(n, e, o)), Ih(e) && (mo += oa, Qs += oa);
1594
1594
  } else {
1595
1595
  const r = e.getTextContent();
1596
1596
  if (_r(e)) {
@@ -1598,11 +1598,11 @@ function pd(c, t) {
1598
1598
  s !== null && Aw(c, s);
1599
1599
  } else
1600
1600
  Kt(e) && !e.isDirectionless() && (ri += r);
1601
- mo += r, Zs += r;
1601
+ mo += r, Qs += r;
1602
1602
  }
1603
- if (!Dh && Vo(e) && e.__cachedText !== Zs) {
1603
+ if (!Dh && Vo(e) && e.__cachedText !== Qs) {
1604
1604
  const r = e.getWritable();
1605
- r.__cachedText = Zs, e = r;
1605
+ r.__cachedText = Qs, e = r;
1606
1606
  }
1607
1607
  return o;
1608
1608
  }
@@ -1621,7 +1621,7 @@ function mm(c) {
1621
1621
  return t !== null && t === oi._blockCursorElement && (t = t.nextSibling), t;
1622
1622
  }
1623
1623
  function YT(c, t, n, e, a, o) {
1624
- mo = "", Zs = "", ri = "", Cw = e === iu, bp = null, oi = n, Ya = n._config, Pd = n._nodes, Rh = oi._listeners.mutation, iy = a, sy = o, Hl = c._nodeMap, us = t._nodeMap, Dh = t._readOnly, ay = new Map(n._keyToDOMMap);
1624
+ mo = "", Qs = "", ri = "", Cw = e === iu, bp = null, oi = n, Ya = n._config, Pd = n._nodes, Rh = oi._listeners.mutation, iy = a, sy = o, Hl = c._nodeMap, us = t._nodeMap, Dh = t._readOnly, ay = new Map(n._keyToDOMMap);
1625
1625
  const r = /* @__PURE__ */ new Map();
1626
1626
  return Md = r, pd("root", null), oi = void 0, Pd = void 0, iy = void 0, sy = void 0, Hl = void 0, us = void 0, Ya = void 0, ay = void 0, Md = void 0, r;
1627
1627
  }
@@ -1629,7 +1629,7 @@ function uy(c) {
1629
1629
  const t = ay.get(c);
1630
1630
  return t === void 0 && fn(75, c), t;
1631
1631
  }
1632
- const Vs = Object.freeze({}), dy = 30, fy = [["keydown", function(c, t) {
1632
+ const Ks = Object.freeze({}), dy = 30, fy = [["keydown", function(c, t) {
1633
1633
  if (xd = c.timeStamp, jw = c.key, t.isComposing())
1634
1634
  return;
1635
1635
  const { key: n, shiftKey: e, ctrlKey: a, metaKey: o, altKey: r } = c;
@@ -1740,7 +1740,7 @@ const Vs = Object.freeze({}), dy = 30, fy = [["keydown", function(c, t) {
1740
1740
  }
1741
1741
  bn(t, Gd, c);
1742
1742
  });
1743
- }], ["cut", Vs], ["copy", Vs], ["dragstart", Vs], ["dragover", Vs], ["dragend", Vs], ["paste", Vs], ["focus", Vs], ["blur", Vs], ["drop", Vs]];
1743
+ }], ["cut", Ks], ["copy", Ks], ["dragstart", Ks], ["dragover", Ks], ["dragend", Ks], ["paste", Ks], ["focus", Ks], ["blur", Ks], ["drop", Ks]];
1744
1744
  $p && fy.push(["beforeinput", (c, t) => function(n, e) {
1745
1745
  const a = n.inputType, o = Rw(n);
1746
1746
  a === "deleteCompositionText" || Ka && Sw(e) || a !== "insertCompositionText" && Pi(e, () => {
@@ -1795,7 +1795,7 @@ $p && fy.push(["beforeinput", (c, t) => function(n, e) {
1795
1795
  break;
1796
1796
  case "insertFromPaste":
1797
1797
  case "insertFromPasteAsQuotation":
1798
- bn(e, aa, n);
1798
+ bn(e, Rs, n);
1799
1799
  break;
1800
1800
  case "deleteByComposition":
1801
1801
  (function(p, h) {
@@ -1846,7 +1846,7 @@ $p && fy.push(["beforeinput", (c, t) => function(n, e) {
1846
1846
  if (l === `
1847
1847
  `)
1848
1848
  n.preventDefault(), bn(e, Ja, !1);
1849
- else if (l === ra)
1849
+ else if (l === oa)
1850
1850
  n.preventDefault(), bn(e, Bl, void 0);
1851
1851
  else if (l == null && n.dataTransfer) {
1852
1852
  const p = n.dataTransfer.getData("text/plain");
@@ -2203,7 +2203,7 @@ class Lh {
2203
2203
  }
2204
2204
  getWritable() {
2205
2205
  ni();
2206
- const t = Rs(), n = Yr(), e = t._nodeMap, a = this.__key, o = this.getLatest(), r = o.__parent, s = n._cloneNotNeeded, l = jt();
2206
+ const t = Ds(), n = Yr(), e = t._nodeMap, a = this.__key, o = this.getLatest(), r = o.__parent, s = n._cloneNotNeeded, l = jt();
2207
2207
  if (l !== null && l.setCachedNodes(null), s.has(a))
2208
2208
  return Jp(o), o;
2209
2209
  const i = o.constructor.clone(o);
@@ -2389,8 +2389,8 @@ function Fw(c, t, n, e, a) {
2389
2389
  let s = !1;
2390
2390
  const l = t & Hp && t & Up;
2391
2391
  r !== void 0 && (n & Hp && n & Up ? (s = !0, l || o.add(...r)) : l && o.remove(...r));
2392
- for (const i in ta) {
2393
- const u = ta[i];
2392
+ for (const i in na) {
2393
+ const u = na[i];
2394
2394
  if (r = _d(a, i), r !== void 0)
2395
2395
  if (n & u) {
2396
2396
  if (s && (i === "underline" || i === "strikethrough")) {
@@ -2472,7 +2472,7 @@ class so extends Lh {
2472
2472
  return !!(2 & this.getLatest().__detail);
2473
2473
  }
2474
2474
  hasFormat(t) {
2475
- const n = ta[t];
2475
+ const n = na[t];
2476
2476
  return !!(this.getFormat() & n);
2477
2477
  }
2478
2478
  isSimpleText() {
@@ -2529,7 +2529,7 @@ class so extends Lh {
2529
2529
  }
2530
2530
  setFormat(t) {
2531
2531
  const n = this.getWritable();
2532
- return n.__format = typeof t == "string" ? ta[t] : t, n;
2532
+ return n.__format = typeof t == "string" ? na[t] : t, n;
2533
2533
  }
2534
2534
  setDetail(t) {
2535
2535
  const n = this.getWritable();
@@ -3016,7 +3016,7 @@ class rl {
3016
3016
  this.style = t, this.dirty = !0;
3017
3017
  }
3018
3018
  hasFormat(t) {
3019
- const n = ta[t];
3019
+ const n = na[t];
3020
3020
  return !!(this.format & n);
3021
3021
  }
3022
3022
  insertRawText(t) {
@@ -3520,7 +3520,7 @@ function yy(c) {
3520
3520
  return kt(c) && !c.isInline();
3521
3521
  }
3522
3522
  function Uw(c, t, n, e, a, o) {
3523
- const r = Rs(), s = new rl(Ki(c, t, a), Ki(n, e, o), 0, "");
3523
+ const r = Ds(), s = new rl(Ki(c, t, a), Ki(n, e, o), 0, "");
3524
3524
  return s.dirty = !0, r._selection = s, s;
3525
3525
  }
3526
3526
  function yu() {
@@ -3552,7 +3552,7 @@ function Bh(c, t, n, e) {
3552
3552
  return new rl(h, m, Tt(c) ? c.format : 0, Tt(c) ? c.style : "");
3553
3553
  }
3554
3554
  function jt() {
3555
- return Rs()._selection;
3555
+ return Ds()._selection;
3556
3556
  }
3557
3557
  function ol() {
3558
3558
  return Yr()._editorState._selection;
@@ -3714,10 +3714,10 @@ function ak(c, t) {
3714
3714
  }
3715
3715
  return [n, c.getIndexWithinParent() + 1];
3716
3716
  }
3717
- let ko = null, Oo = null, vi = !1, wm = !1, vp = 0;
3717
+ let Oo = null, No = null, vi = !1, wm = !1, vp = 0;
3718
3718
  const a1 = { characterData: !0, childList: !0, subtree: !0 };
3719
3719
  function bu() {
3720
- return vi || ko !== null && ko._readOnly;
3720
+ return vi || Oo !== null && Oo._readOnly;
3721
3721
  }
3722
3722
  function ni() {
3723
3723
  vi && fn(13);
@@ -3725,14 +3725,14 @@ function ni() {
3725
3725
  function Hw() {
3726
3726
  vp > 99 && fn(14);
3727
3727
  }
3728
- function Rs() {
3729
- return ko === null && fn(15), ko;
3728
+ function Ds() {
3729
+ return Oo === null && fn(15), Oo;
3730
3730
  }
3731
3731
  function Yr() {
3732
- return Oo === null && fn(16), Oo;
3732
+ return No === null && fn(16), No;
3733
3733
  }
3734
3734
  function lk() {
3735
- return Oo;
3735
+ return No;
3736
3736
  }
3737
3737
  function l1(c, t, n) {
3738
3738
  const e = t.__type, a = function(s, l) {
@@ -3765,22 +3765,22 @@ function N0(c, t) {
3765
3765
  return o;
3766
3766
  }
3767
3767
  function u1(c, t) {
3768
- const n = ko, e = vi, a = Oo;
3769
- ko = c, vi = !0, Oo = null;
3768
+ const n = Oo, e = vi, a = No;
3769
+ Oo = c, vi = !0, No = null;
3770
3770
  try {
3771
3771
  return t();
3772
3772
  } finally {
3773
- ko = n, vi = e, Oo = a;
3773
+ Oo = n, vi = e, No = a;
3774
3774
  }
3775
3775
  }
3776
3776
  function Al(c, t) {
3777
3777
  const n = c._pendingEditorState, e = c._rootElement, a = c._headless || e === null;
3778
3778
  if (n === null)
3779
3779
  return;
3780
- const o = c._editorState, r = o._selection, s = n._selection, l = c._dirtyType !== Ul, i = ko, u = vi, f = Oo, d = c._updating, p = c._observer;
3780
+ const o = c._editorState, r = o._selection, s = n._selection, l = c._dirtyType !== Ul, i = Oo, u = vi, f = No, d = c._updating, p = c._observer;
3781
3781
  let h = null;
3782
3782
  if (c._pendingEditorState = null, c._editorState = n, !a && l && p !== null) {
3783
- Oo = c, ko = n, vi = !1, c._updating = !0;
3783
+ No = c, Oo = n, vi = !1, c._updating = !0;
3784
3784
  try {
3785
3785
  const x = c._dirtyType, y = c._dirtyElements, S = c._dirtyLeaves;
3786
3786
  p.disconnect(), h = YT(o, n, c, x, y, S);
@@ -3789,7 +3789,7 @@ function Al(c, t) {
3789
3789
  throw x;
3790
3790
  return Vw(c, null, e, n), fw(c), c._dirtyType = iu, wm = !0, Al(c, o), void (wm = !1);
3791
3791
  } finally {
3792
- p.observe(e, a1), c._updating = d, ko = i, vi = u, Oo = f;
3792
+ p.observe(e, a1), c._updating = d, Oo = i, vi = u, No = f;
3793
3793
  }
3794
3794
  }
3795
3795
  n._readOnly || (n._readOnly = !0);
@@ -3804,7 +3804,7 @@ function Al(c, t) {
3804
3804
  }(c, n);
3805
3805
  const E = a ? null : Ps(c._window);
3806
3806
  if (c._editable && E !== null && (l || s === null || s.dirty)) {
3807
- Oo = c, ko = n;
3807
+ No = c, Oo = n;
3808
3808
  try {
3809
3809
  if (p !== null && p.disconnect(), l || s === null || s.dirty) {
3810
3810
  const x = c._blockCursorElement;
@@ -3812,7 +3812,7 @@ function Al(c, t) {
3812
3812
  }
3813
3813
  UT(c, e, s), p !== null && p.observe(e, a1);
3814
3814
  } finally {
3815
- Oo = f, ko = i;
3815
+ No = f, Oo = i;
3816
3816
  }
3817
3817
  }
3818
3818
  h !== null && function(x, y, S, C, O) {
@@ -3860,7 +3860,7 @@ function Sd(c, t, n, ...e) {
3860
3860
  }
3861
3861
  }
3862
3862
  function Ww(c, t, n) {
3863
- if (c._updating === !1 || Oo !== c) {
3863
+ if (c._updating === !1 || No !== c) {
3864
3864
  let a = !1;
3865
3865
  return c.update(() => {
3866
3866
  a = Ww(c, t, n);
@@ -3902,8 +3902,8 @@ function qw(c, t, n) {
3902
3902
  const l = c._editorState;
3903
3903
  let i = c._pendingEditorState, u = !1;
3904
3904
  (i === null || i._readOnly) && (i = c._pendingEditorState = new zh(new Map((i || l)._nodeMap)), u = !0), i._flushSync = s;
3905
- const f = ko, d = vi, p = Oo, h = c._updating;
3906
- ko = i, vi = !1, c._updating = !0, Oo = c;
3905
+ const f = Oo, d = vi, p = No, h = c._updating;
3906
+ Oo = i, vi = !1, c._updating = !0, No = c;
3907
3907
  try {
3908
3908
  u && (c._headless ? l._selection !== null && (i._selection = l._selection.clone()) : i._selection = function(b) {
3909
3909
  const _ = b.getEditorState()._selection, E = Ps(b._window);
@@ -3974,7 +3974,7 @@ function qw(c, t, n) {
3974
3974
  } catch (g) {
3975
3975
  return g instanceof Error && c._onError(g), c._pendingEditorState = l, c._dirtyType = iu, c._cloneNotNeeded.clear(), c._dirtyLeaves = /* @__PURE__ */ new Set(), c._dirtyElements.clear(), void Al(c);
3976
3976
  } finally {
3977
- ko = f, vi = d, Oo = p, c._updating = h, vp = 0;
3977
+ Oo = f, vi = d, No = p, c._updating = h, vp = 0;
3978
3978
  }
3979
3979
  c._dirtyType !== Ul || function(g, v) {
3980
3980
  const b = v.getEditorState()._selection, _ = g._selection;
@@ -4113,7 +4113,7 @@ class Vr extends Lh {
4113
4113
  const n = this.getChildren(), e = n.length;
4114
4114
  for (let a = 0; a < e; a++) {
4115
4115
  const o = n[a];
4116
- t += o.getTextContent(), kt(o) && a !== e - 1 && !o.isInline() && (t += ra);
4116
+ t += o.getTextContent(), kt(o) && a !== e - 1 && !o.isInline() && (t += oa);
4117
4117
  }
4118
4118
  return t;
4119
4119
  }
@@ -4122,7 +4122,7 @@ class Vr extends Lh {
4122
4122
  const n = this.getChildren(), e = n.length;
4123
4123
  for (let a = 0; a < e; a++) {
4124
4124
  const o = n[a];
4125
- t += o.getTextContentSize(), kt(o) && a !== e - 1 && !o.isInline() && (t += ra.length);
4125
+ t += o.getTextContentSize(), kt(o) && a !== e - 1 && !o.isInline() && (t += oa.length);
4126
4126
  }
4127
4127
  return t;
4128
4128
  }
@@ -4419,7 +4419,7 @@ class il extends Vr {
4419
4419
  return n.__textFormat = t, n;
4420
4420
  }
4421
4421
  hasTextFormat(t) {
4422
- const n = ta[t];
4422
+ const n = na[t];
4423
4423
  return !!(this.getTextFormat() & n);
4424
4424
  }
4425
4425
  static clone(t) {
@@ -4487,7 +4487,7 @@ function kn() {
4487
4487
  function Ir(c) {
4488
4488
  return c instanceof il;
4489
4489
  }
4490
- const jn = 0, Dr = 1, dk = 2, Ii = 3, Fo = 4;
4490
+ const jn = 0, Dr = 1, dk = 2, Ii = 3, To = 4;
4491
4491
  function Vw(c, t, n, e) {
4492
4492
  const a = c._keyToDOMMap;
4493
4493
  a.clear(), c._editorState = A0(), c._pendingEditorState = e, c._compositionKey = null, c._dirtyType = Ul, c._cloneNotNeeded.clear(), c._dirtyLeaves = /* @__PURE__ */ new Set(), c._dirtyElements.clear(), c._normalizedNodes = /* @__PURE__ */ new Set(), c._updateTags = /* @__PURE__ */ new Set(), c._updates = [], c._blockCursorElement = null;
@@ -4600,7 +4600,7 @@ class fk {
4600
4600
  }
4601
4601
  var r, s;
4602
4602
  return r = this, s = t.getType(), Pi(r, () => {
4603
- const l = Rs();
4603
+ const l = Ds();
4604
4604
  if (l.isEmpty())
4605
4605
  return;
4606
4606
  if (s === "root")
@@ -4657,7 +4657,7 @@ class fk {
4657
4657
  case "copy":
4658
4658
  return bn(l, Qd, g);
4659
4659
  case "paste":
4660
- return v && bn(l, aa, g);
4660
+ return v && bn(l, Rs, g);
4661
4661
  case "dragstart":
4662
4662
  return v && bn(l, Oh, g);
4663
4663
  case "dragover":
@@ -4695,15 +4695,15 @@ class fk {
4695
4695
  }
4696
4696
  parseEditorState(t, n) {
4697
4697
  return function(e, a, o) {
4698
- const r = A0(), s = ko, l = vi, i = Oo, u = a._dirtyElements, f = a._dirtyLeaves, d = a._cloneNotNeeded, p = a._dirtyType;
4699
- a._dirtyElements = /* @__PURE__ */ new Map(), a._dirtyLeaves = /* @__PURE__ */ new Set(), a._cloneNotNeeded = /* @__PURE__ */ new Set(), a._dirtyType = 0, ko = r, vi = !1, Oo = a;
4698
+ const r = A0(), s = Oo, l = vi, i = No, u = a._dirtyElements, f = a._dirtyLeaves, d = a._cloneNotNeeded, p = a._dirtyType;
4699
+ a._dirtyElements = /* @__PURE__ */ new Map(), a._dirtyLeaves = /* @__PURE__ */ new Set(), a._cloneNotNeeded = /* @__PURE__ */ new Set(), a._dirtyType = 0, Oo = r, vi = !1, No = a;
4700
4700
  try {
4701
4701
  const h = a._nodes;
4702
4702
  N0(e.root, h), o && o(), r._readOnly = !0;
4703
4703
  } catch (h) {
4704
4704
  h instanceof Error && a._onError(h);
4705
4705
  } finally {
4706
- a._dirtyElements = u, a._dirtyLeaves = f, a._cloneNotNeeded = d, a._dirtyType = p, ko = s, vi = l, Oo = i;
4706
+ a._dirtyElements = u, a._dirtyLeaves = f, a._cloneNotNeeded = d, a._dirtyType = p, Oo = s, vi = l, No = i;
4707
4707
  }
4708
4708
  return r;
4709
4709
  }(typeof t == "string" ? JSON.parse(t) : t, this, n);
@@ -4736,7 +4736,7 @@ class fk {
4736
4736
  return { editorState: this._editorState.toJSON() };
4737
4737
  }
4738
4738
  }
4739
- const Kw = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, pk = Kw ? sa : Wt, ep = { tag: "history-merge" };
4739
+ const Kw = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, pk = Kw ? aa : Wt, ep = { tag: "history-merge" };
4740
4740
  function Uh({ initialConfig: c, children: t }) {
4741
4741
  const n = Fr(() => {
4742
4742
  const { theme: e, namespace: a, editor__DEPRECATED: o, nodes: r, onError: s, editorState: l, html: i } = c, u = lT(null, e);
@@ -5215,7 +5215,7 @@ function by(c, t) {
5215
5215
  const n = t();
5216
5216
  return c.replace(n), n.append(c), n;
5217
5217
  }
5218
- function Qs(c, t) {
5218
+ function Xs(c, t) {
5219
5219
  return c !== null && Object.getPrototypeOf(c).constructor.name === t.name;
5220
5220
  }
5221
5221
  function y1(c, t) {
@@ -8305,7 +8305,7 @@ function wy(c, t) {
8305
8305
  function Pc(c) {
8306
8306
  return c instanceof sf;
8307
8307
  }
8308
- const Qc = Ao();
8308
+ const Qc = jo();
8309
8309
  function Tm(c, t = {}) {
8310
8310
  const { target: n, title: e } = t, a = t.rel === void 0 ? "noreferrer" : t.rel, o = jt();
8311
8311
  if (!Tt(o))
@@ -8356,7 +8356,7 @@ function Tm(c, t = {}) {
8356
8356
  function Bk(c) {
8357
8357
  return c && c.__esModule && Object.prototype.hasOwnProperty.call(c, "default") ? c.default : c;
8358
8358
  }
8359
- var Xs = Bk(function(c) {
8359
+ var ea = Bk(function(c) {
8360
8360
  const t = new URLSearchParams();
8361
8361
  t.append("code", c);
8362
8362
  for (let n = 1; n < arguments.length; n++)
@@ -8372,7 +8372,7 @@ function Sy(c) {
8372
8372
  t++, n = e.getParent();
8373
8373
  continue;
8374
8374
  }
8375
- Xs(40);
8375
+ ea(40);
8376
8376
  }
8377
8377
  return t;
8378
8378
  }
@@ -8380,7 +8380,7 @@ function Sy(c) {
8380
8380
  }
8381
8381
  function Ey(c) {
8382
8382
  let t = c.getParent();
8383
- ur(t) || Xs(40);
8383
+ ur(t) || ea(40);
8384
8384
  let n = t;
8385
8385
  for (; n !== null; )
8386
8386
  n = n.getParent(), ur(n) && (t = n);
@@ -8411,7 +8411,7 @@ function C1(c, t) {
8411
8411
  const e = n.getNodes();
8412
8412
  if (Tt(n)) {
8413
8413
  const o = n.getStartEndPoints();
8414
- o === null && Xs(143);
8414
+ o === null && ea(143);
8415
8415
  const [r] = o, s = r.getNode(), l = s.getParent();
8416
8416
  if (wS(s, e)) {
8417
8417
  const i = Yo(t);
@@ -8558,7 +8558,7 @@ function Hk() {
8558
8558
  if (!Gr(t) || t.getChildrenSize() !== 0)
8559
8559
  return !1;
8560
8560
  const n = Ey(t), e = t.getParent();
8561
- ur(e) || Xs(40);
8561
+ ur(e) || ea(40);
8562
8562
  const a = e.getParent();
8563
8563
  let o;
8564
8564
  if (ao(a))
@@ -8621,7 +8621,7 @@ let af = class SS extends Vr {
8621
8621
  }
8622
8622
  static transform() {
8623
8623
  return (t) => {
8624
- if (Gr(t) || Xs(144), t.__checked == null)
8624
+ if (Gr(t) || ea(144), t.__checked == null)
8625
8625
  return;
8626
8626
  const n = t.getParent();
8627
8627
  ur(n) && n.getListType() !== "check" && t.getChecked() != null && t.setChecked(void 0);
@@ -8672,13 +8672,13 @@ let af = class SS extends Vr {
8672
8672
  }
8673
8673
  e.insertAfter(t), t.insertAfter(a);
8674
8674
  }
8675
- return n && (kt(t) || Xs(139), this.getChildren().forEach((a) => {
8675
+ return n && (kt(t) || ea(139), this.getChildren().forEach((a) => {
8676
8676
  t.append(a);
8677
8677
  })), this.remove(), e.getChildrenSize() === 0 && e.remove(), t;
8678
8678
  }
8679
8679
  insertAfter(t, n = !0) {
8680
8680
  const e = this.getParentOrThrow();
8681
- if (ur(e) || Xs(39), Gr(t))
8681
+ if (ur(e) || ea(39), Gr(t))
8682
8682
  return super.insertAfter(t, n);
8683
8683
  const a = this.getNextSiblings();
8684
8684
  if (e.insertAfter(t, n), a.length !== 0) {
@@ -8736,7 +8736,7 @@ let af = class SS extends Vr {
8736
8736
  return e;
8737
8737
  }
8738
8738
  setIndent(t) {
8739
- typeof t == "number" && t > -1 || Xs(117);
8739
+ typeof t == "number" && t > -1 || ea(117);
8740
8740
  let n = this.getIndent();
8741
8741
  for (; n !== t; )
8742
8742
  n < t ? ($k(this), n++) : (Uk(this), n--);
@@ -8833,7 +8833,7 @@ let lf = class ES extends Vr {
8833
8833
  }
8834
8834
  static transform() {
8835
8835
  return (t) => {
8836
- ur(t) || Xs(163), function(n) {
8836
+ ur(t) || ea(163), function(n) {
8837
8837
  const e = n.getNextSibling();
8838
8838
  ur(e) && n.getListType() === e.getListType() && D0(n, e);
8839
8839
  }(t), function(n) {
@@ -8939,7 +8939,7 @@ function Yo(c, t = 1) {
8939
8939
  function ur(c) {
8940
8940
  return c instanceof lf;
8941
8941
  }
8942
- const CS = Ao(), TS = Ao(), kS = Ao();
8942
+ const CS = jo(), TS = jo(), kS = jo();
8943
8943
  let OS = class NS extends Vr {
8944
8944
  static getType() {
8945
8945
  return "overflow";
@@ -9468,7 +9468,7 @@ function Di(c, t = 1, n) {
9468
9468
  function xn(c) {
9469
9469
  return c instanceof ds;
9470
9470
  }
9471
- const Qk = Ao();
9471
+ const Qk = jo();
9472
9472
  class Ql extends Vr {
9473
9473
  static getType() {
9474
9474
  return "tablerow";
@@ -10153,7 +10153,7 @@ function uO(c, t, n, e) {
10153
10153
  return !0;
10154
10154
  }
10155
10155
  return !1;
10156
- })(f), Fo));
10156
+ })(f), To));
10157
10157
  });
10158
10158
  const i = (f) => {
10159
10159
  const d = jt();
@@ -10184,7 +10184,7 @@ function uO(c, t, n, e) {
10184
10184
  const d = c.getCordsFromCellNode(f, o.table);
10185
10185
  return c.getDOMCellFromCordsOrThrow(d.x, d.y, o.table);
10186
10186
  }
10187
- return o.listenersToRemove.add(n.registerCommand(el, i, Fo)), o.listenersToRemove.add(n.registerCommand(tl, i, Fo)), o.listenersToRemove.add(n.registerCommand(ti, (f) => {
10187
+ return o.listenersToRemove.add(n.registerCommand(el, i, To)), o.listenersToRemove.add(n.registerCommand(tl, i, To)), o.listenersToRemove.add(n.registerCommand(ti, (f) => {
10188
10188
  const d = jt();
10189
10189
  if (!Fa(d, c))
10190
10190
  return !1;
@@ -10196,7 +10196,7 @@ function uO(c, t, n, e) {
10196
10196
  return !1;
10197
10197
  }
10198
10198
  return !1;
10199
- }, Fo)), o.listenersToRemove.add(n.registerCommand(Tl, (f) => {
10199
+ }, To)), o.listenersToRemove.add(n.registerCommand(Tl, (f) => {
10200
10200
  const d = jt();
10201
10201
  if (!fr(d) || !Fa(d, c))
10202
10202
  return !1;
@@ -10215,7 +10215,7 @@ function uO(c, t, n, e) {
10215
10215
  }
10216
10216
  }
10217
10217
  return !0;
10218
- }, Fo)), o.listenersToRemove.add(n.registerCommand(Va, (f) => {
10218
+ }, To)), o.listenersToRemove.add(n.registerCommand(Va, (f) => {
10219
10219
  const d = jt();
10220
10220
  if (!Fa(d, c))
10221
10221
  return !1;
@@ -10232,7 +10232,7 @@ function uO(c, t, n, e) {
10232
10232
  }
10233
10233
  }
10234
10234
  return !1;
10235
- }, Fo)), e && o.listenersToRemove.add(n.registerCommand(Th, (f) => {
10235
+ }, To)), e && o.listenersToRemove.add(n.registerCommand(Th, (f) => {
10236
10236
  const d = jt();
10237
10237
  if (!Tt(d) || !d.isCollapsed() || !Fa(d, c))
10238
10238
  return !1;
@@ -10242,7 +10242,7 @@ function uO(c, t, n, e) {
10242
10242
  Ol(f);
10243
10243
  const h = c.getCordsFromCellNode(p, o.table);
10244
10244
  return zS(o, c, h.x, h.y, f.shiftKey ? "backward" : "forward"), !0;
10245
- }, Fo)), o.listenersToRemove.add(n.registerCommand(l0, (f) => c.isSelected(), Ii)), o.listenersToRemove.add(n.registerCommand(nw, (f) => {
10245
+ }, To)), o.listenersToRemove.add(n.registerCommand(l0, (f) => c.isSelected(), Ii)), o.listenersToRemove.add(n.registerCommand(nw, (f) => {
10246
10246
  const { nodes: d, selection: p } = f, h = p.getStartEndPoints(), m = fr(p), g = Tt(p) && or(p.anchor.getNode(), (M) => xn(M)) !== null && or(p.focus.getNode(), (M) => xn(M)) !== null || m;
10247
10247
  if (d.length !== 1 || !pr(d[0]) || !g || h === null)
10248
10248
  return !1;
@@ -10280,7 +10280,7 @@ function uO(c, t, n, e) {
10280
10280
  M.set(d[0].getKey(), D, j), Wr(M);
10281
10281
  }
10282
10282
  return !0;
10283
- }, Fo)), o.listenersToRemove.add(n.registerCommand(ks, () => {
10283
+ }, To)), o.listenersToRemove.add(n.registerCommand(ks, () => {
10284
10284
  const f = jt(), d = ol();
10285
10285
  if (Tt(f)) {
10286
10286
  const { anchor: p, focus: h } = f, m = p.getNode(), g = h.getNode(), v = Om(m), b = Om(g), _ = !(!v || !c.is(Gc(v))), E = !(!b || !c.is(Gc(b))), w = _ !== E, x = _ && E, y = f.isBackward();
@@ -10313,13 +10313,13 @@ function uO(c, t, n, e) {
10313
10313
  m.highlighted = !1, US(p, m), g.getAttribute("style") || g.removeAttribute("style");
10314
10314
  });
10315
10315
  }(n, o) : !o.hasHijackedSelectionStyles && c.isSelected() && L1(n, o), !1);
10316
- }, Fo)), o.listenersToRemove.add(n.registerCommand(Bl, () => {
10316
+ }, To)), o.listenersToRemove.add(n.registerCommand(Bl, () => {
10317
10317
  const f = jt();
10318
10318
  if (!Tt(f) || !f.isCollapsed() || !Fa(f, c))
10319
10319
  return !1;
10320
10320
  const d = B1(n, f, c);
10321
10321
  return !!d && (F1(d, c), !0);
10322
- }, Fo)), o;
10322
+ }, To)), o;
10323
10323
  }
10324
10324
  function dO(c) {
10325
10325
  return c[FS];
@@ -11085,7 +11085,7 @@ class Gh extends U0 {
11085
11085
  function _O(c) {
11086
11086
  return new Gh(c);
11087
11087
  }
11088
- const xO = sr.lazy(() => import("./ImageComponent-610adf7b.js"));
11088
+ const xO = sr.lazy(() => import("./ImageComponent-7d967029.js"));
11089
11089
  function wO(c) {
11090
11090
  const t = c;
11091
11091
  if (t.src.startsWith("file:///"))
@@ -11231,7 +11231,7 @@ function su({
11231
11231
  function Yh(c) {
11232
11232
  return c instanceof wu;
11233
11233
  }
11234
- const SO = sr.lazy(() => import("./InlineImageComponent-a488cbb0.js"));
11234
+ const SO = sr.lazy(() => import("./InlineImageComponent-c50fa3a1.js"));
11235
11235
  function EO(c) {
11236
11236
  if (c instanceof HTMLImageElement) {
11237
11237
  const { alt: t, src: n, width: e, height: a } = c;
@@ -11386,7 +11386,7 @@ function KS({
11386
11386
  )
11387
11387
  );
11388
11388
  }
11389
- function FD(c) {
11389
+ function BD(c) {
11390
11390
  return c instanceof ff;
11391
11391
  }
11392
11392
  class au extends so {
@@ -11834,7 +11834,7 @@ var ZS = { exports: {} };
11834
11834
  // For use in libraries implementing .is()
11835
11835
  // We use this for POS matching in `select`
11836
11836
  needsContext: new RegExp("^" + R + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + R + "*((?:-\\d)?\\d*)" + R + "*\\)|)(?=[^-]|$)", "i")
11837
- }, wr = /^(?:input|select|textarea|button)$/i, Mo = /^h\d$/i, no = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, Ei = /[+~]/, ci = new RegExp("\\\\[\\da-fA-F]{1,6}" + R + "?|\\\\([^\\r\\n\\f])", "g"), Xi = function(We, ot) {
11837
+ }, wr = /^(?:input|select|textarea|button)$/i, Ro = /^h\d$/i, no = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, Ei = /[+~]/, ci = new RegExp("\\\\[\\da-fA-F]{1,6}" + R + "?|\\\\([^\\r\\n\\f])", "g"), Xi = function(We, ot) {
11838
11838
  var St = "0x" + We.slice(1) - 65536;
11839
11839
  return ot || (St < 0 ? String.fromCharCode(St + 65536) : String.fromCharCode(St >> 10 | 55296, St & 1023 | 56320));
11840
11840
  }, bf = function() {
@@ -12214,7 +12214,7 @@ var ZS = { exports: {} };
12214
12214
  },
12215
12215
  // Element/input types
12216
12216
  header: function(We) {
12217
- return Mo.test(We.nodeName);
12217
+ return Ro.test(We.nodeName);
12218
12218
  },
12219
12219
  input: function(We) {
12220
12220
  return wr.test(We.nodeName);
@@ -12331,7 +12331,7 @@ var ZS = { exports: {} };
12331
12331
  }
12332
12332
  );
12333
12333
  }
12334
- function zs(We) {
12334
+ function $s(We) {
12335
12335
  return We.length > 1 ? function(ot, St, Ot) {
12336
12336
  for (var qt = We.length; qt--; )
12337
12337
  if (!We[qt](ot, St, Ot))
@@ -12391,13 +12391,13 @@ var ZS = { exports: {} };
12391
12391
  return ot = null, Sr;
12392
12392
  }]; _n < qt; _n++)
12393
12393
  if (St = Q.relative[We[_n].type])
12394
- Dn = [ba(zs(Dn), St)];
12394
+ Dn = [ba($s(Dn), St)];
12395
12395
  else {
12396
12396
  if (St = Q.filter[We[_n].type].apply(null, We[_n].matches), St[Ht]) {
12397
12397
  for (Ot = ++_n; Ot < qt && !Q.relative[We[Ot].type]; Ot++)
12398
12398
  ;
12399
12399
  return oc(
12400
- _n > 1 && zs(Dn),
12400
+ _n > 1 && $s(Dn),
12401
12401
  _n > 1 && ts(
12402
12402
  // If the preceding token was a descendant combinator, insert an implicit any-element `*`
12403
12403
  We.slice(0, _n - 1).concat({ value: We[_n - 2].type === " " ? "*" : "" })
@@ -12410,7 +12410,7 @@ var ZS = { exports: {} };
12410
12410
  }
12411
12411
  Dn.push(St);
12412
12412
  }
12413
- return zs(Dn);
12413
+ return $s(Dn);
12414
12414
  }
12415
12415
  function pl(We, ot) {
12416
12416
  var St = ot.length > 0, Ot = We.length > 0, qt = function(ln, dn, _n, un, qn) {
@@ -14405,7 +14405,7 @@ var ZS = { exports: {} };
14405
14405
  return !1;
14406
14406
  }
14407
14407
  });
14408
- var Ds = /\r/g;
14408
+ var Ls = /\r/g;
14409
14409
  y.fn.extend({
14410
14410
  val: function(H) {
14411
14411
  var Q, te, ae, me = this[0];
@@ -14414,7 +14414,7 @@ var ZS = { exports: {} };
14414
14414
  this.nodeType === 1 && (ae ? Ne = H.call(this, be, y(this).val()) : Ne = H, Ne == null ? Ne = "" : typeof Ne == "number" ? Ne += "" : Array.isArray(Ne) && (Ne = y.map(Ne, function(tt) {
14415
14415
  return tt == null ? "" : tt + "";
14416
14416
  })), Q = y.valHooks[this.type] || y.valHooks[this.nodeName.toLowerCase()], (!Q || !("set" in Q) || Q.set(this, Ne, "value") === void 0) && (this.value = Ne));
14417
- })) : me ? (Q = y.valHooks[me.type] || y.valHooks[me.nodeName.toLowerCase()], Q && "get" in Q && (te = Q.get(me, "value")) !== void 0 ? te : (te = me.value, typeof te == "string" ? te.replace(Ds, "") : te ?? "")) : void 0;
14417
+ })) : me ? (Q = y.valHooks[me.type] || y.valHooks[me.nodeName.toLowerCase()], Q && "get" in Q && (te = Q.get(me, "value")) !== void 0 ? te : (te = me.value, typeof te == "string" ? te.replace(Ls, "") : te ?? "")) : void 0;
14418
14418
  }
14419
14419
  }), y.extend({
14420
14420
  valHooks: {
@@ -14567,7 +14567,7 @@ var ZS = { exports: {} };
14567
14567
  }).get();
14568
14568
  }
14569
14569
  });
14570
- var gs = /%20/g, jo = /#.*$/, ms = /([?&])_=[^&]*/, cl = /^(.*?):[ \t]*([^\r\n]*)$/mg, ec = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, Iu = /^(?:GET|HEAD)$/, Ls = /^\/\//, Fs = {}, Bs = {}, ys = "*/".concat("*"), Fi = v.createElement("a");
14570
+ var gs = /%20/g, Io = /#.*$/, ms = /([?&])_=[^&]*/, cl = /^(.*?):[ \t]*([^\r\n]*)$/mg, ec = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, Iu = /^(?:GET|HEAD)$/, Fs = /^\/\//, Bs = {}, zs = {}, ys = "*/".concat("*"), Fi = v.createElement("a");
14571
14571
  Fi.href = vo.href;
14572
14572
  function ai(H) {
14573
14573
  return function(Q, te) {
@@ -14579,7 +14579,7 @@ var ZS = { exports: {} };
14579
14579
  };
14580
14580
  }
14581
14581
  function Bi(H, Q, te, ae) {
14582
- var me = {}, be = H === Bs;
14582
+ var me = {}, be = H === zs;
14583
14583
  function Ne(tt) {
14584
14584
  var Ze;
14585
14585
  return me[tt] = !0, y.each(H[tt] || [], function(ct, Pt) {
@@ -14731,8 +14731,8 @@ var ZS = { exports: {} };
14731
14731
  wi(y.ajaxSettings, H)
14732
14732
  );
14733
14733
  },
14734
- ajaxPrefilter: ai(Fs),
14735
- ajaxTransport: ai(Bs),
14734
+ ajaxPrefilter: ai(Bs),
14735
+ ajaxTransport: ai(zs),
14736
14736
  // Main method
14737
14737
  ajax: function(H, Q) {
14738
14738
  typeof H == "object" && (Q = H, H = void 0), Q = Q || {};
@@ -14778,7 +14778,7 @@ var ZS = { exports: {} };
14778
14778
  return te && te.abort(Zt), _t(0, Zt), this;
14779
14779
  }
14780
14780
  };
14781
- if (nr.promise(Je), wt.url = ((H || wt.url || vo.href) + "").replace(Ls, vo.protocol + "//"), wt.type = Q.method || Q.type || wt.method || wt.type, wt.dataTypes = (wt.dataType || "*").toLowerCase().match(Z) || [""], wt.crossDomain == null) {
14781
+ if (nr.promise(Je), wt.url = ((H || wt.url || vo.href) + "").replace(Fs, vo.protocol + "//"), wt.type = Q.method || Q.type || wt.method || wt.type, wt.dataTypes = (wt.dataType || "*").toLowerCase().match(Z) || [""], wt.crossDomain == null) {
14782
14782
  tt = v.createElement("a");
14783
14783
  try {
14784
14784
  tt.href = wt.url, tt.href = tt.href, wt.crossDomain = Fi.protocol + "//" + Fi.host != tt.protocol + "//" + tt.host;
@@ -14786,9 +14786,9 @@ var ZS = { exports: {} };
14786
14786
  wt.crossDomain = !0;
14787
14787
  }
14788
14788
  }
14789
- if (wt.data && wt.processData && typeof wt.data != "string" && (wt.data = y.param(wt.data, wt.traditional)), Bi(Fs, wt, Q, Je), Ze)
14789
+ if (wt.data && wt.processData && typeof wt.data != "string" && (wt.data = y.param(wt.data, wt.traditional)), Bi(Bs, wt, Q, Je), Ze)
14790
14790
  return Je;
14791
- ct = y.event && wt.global, ct && y.active++ === 0 && y.event.trigger("ajaxStart"), wt.type = wt.type.toUpperCase(), wt.hasContent = !Iu.test(wt.type), ae = wt.url.replace(jo, ""), wt.hasContent ? wt.data && wt.processData && (wt.contentType || "").indexOf("application/x-www-form-urlencoded") === 0 && (wt.data = wt.data.replace(gs, "+")) : (Ht = wt.url.slice(ae.length), wt.data && (wt.processData || typeof wt.data == "string") && (ae += (Li.test(ae) ? "&" : "?") + wt.data, delete wt.data), wt.cache === !1 && (ae = ae.replace(ms, "$1"), Ht = (Li.test(ae) ? "&" : "?") + "_=" + dr.guid++ + Ht), wt.url = ae + Ht), wt.ifModified && (y.lastModified[ae] && Je.setRequestHeader("If-Modified-Since", y.lastModified[ae]), y.etag[ae] && Je.setRequestHeader("If-None-Match", y.etag[ae])), (wt.data && wt.hasContent && wt.contentType !== !1 || Q.contentType) && Je.setRequestHeader("Content-Type", wt.contentType), Je.setRequestHeader(
14791
+ ct = y.event && wt.global, ct && y.active++ === 0 && y.event.trigger("ajaxStart"), wt.type = wt.type.toUpperCase(), wt.hasContent = !Iu.test(wt.type), ae = wt.url.replace(Io, ""), wt.hasContent ? wt.data && wt.processData && (wt.contentType || "").indexOf("application/x-www-form-urlencoded") === 0 && (wt.data = wt.data.replace(gs, "+")) : (Ht = wt.url.slice(ae.length), wt.data && (wt.processData || typeof wt.data == "string") && (ae += (Li.test(ae) ? "&" : "?") + wt.data, delete wt.data), wt.cache === !1 && (ae = ae.replace(ms, "$1"), Ht = (Li.test(ae) ? "&" : "?") + "_=" + dr.guid++ + Ht), wt.url = ae + Ht), wt.ifModified && (y.lastModified[ae] && Je.setRequestHeader("If-Modified-Since", y.lastModified[ae]), y.etag[ae] && Je.setRequestHeader("If-None-Match", y.etag[ae])), (wt.data && wt.hasContent && wt.contentType !== !1 || Q.contentType) && Je.setRequestHeader("Content-Type", wt.contentType), Je.setRequestHeader(
14792
14792
  "Accept",
14793
14793
  wt.dataTypes[0] && wt.accepts[wt.dataTypes[0]] ? wt.accepts[wt.dataTypes[0]] + (wt.dataTypes[0] !== "*" ? ", " + ys + "; q=0.01" : "") : wt.accepts["*"]
14794
14794
  );
@@ -14796,7 +14796,7 @@ var ZS = { exports: {} };
14796
14796
  Je.setRequestHeader(Pt, wt.headers[Pt]);
14797
14797
  if (wt.beforeSend && (wt.beforeSend.call(en, Je, wt) === !1 || Ze))
14798
14798
  return Je.abort();
14799
- if (yr = "abort", Fn.add(wt.complete), Je.done(wt.success), Je.fail(wt.error), te = Bi(Bs, wt, Q, Je), !te)
14799
+ if (yr = "abort", Fn.add(wt.complete), Je.done(wt.success), Je.fail(wt.error), te = Bi(zs, wt, Q, Je), !te)
14800
14800
  _t(-1, "No Transport");
14801
14801
  else {
14802
14802
  if (Je.readyState = 1, ct && Rn.trigger("ajaxSend", [Je, wt]), Ze)
@@ -14813,9 +14813,9 @@ var ZS = { exports: {} };
14813
14813
  }
14814
14814
  }
14815
14815
  function _t(vt, Zt, On, An) {
14816
- var vn, pn, lr, wr, Mo, no = Zt;
14816
+ var vn, pn, lr, wr, Ro, no = Zt;
14817
14817
  Ze || (Ze = !0, Ne && t.clearTimeout(Ne), te = void 0, me = An || "", Je.readyState = vt > 0 ? 4 : 0, vn = vt >= 200 && vt < 300 || vt === 304, On && (wr = zi(wt, Je, On)), !vn && y.inArray("script", wt.dataTypes) > -1 && y.inArray("json", wt.dataTypes) < 0 && (wt.converters["text script"] = function() {
14818
- }), wr = Si(wt, wr, Je, vn), vn ? (wt.ifModified && (Mo = Je.getResponseHeader("Last-Modified"), Mo && (y.lastModified[ae] = Mo), Mo = Je.getResponseHeader("etag"), Mo && (y.etag[ae] = Mo)), vt === 204 || wt.type === "HEAD" ? no = "nocontent" : vt === 304 ? no = "notmodified" : (no = wr.state, pn = wr.data, lr = wr.error, vn = !lr)) : (lr = no, (vt || !no) && (no = "error", vt < 0 && (vt = 0))), Je.status = vt, Je.statusText = (Zt || no) + "", vn ? nr.resolveWith(en, [pn, no, Je]) : nr.rejectWith(en, [Je, no, lr]), Je.statusCode(Qr), Qr = void 0, ct && Rn.trigger(
14818
+ }), wr = Si(wt, wr, Je, vn), vn ? (wt.ifModified && (Ro = Je.getResponseHeader("Last-Modified"), Ro && (y.lastModified[ae] = Ro), Ro = Je.getResponseHeader("etag"), Ro && (y.etag[ae] = Ro)), vt === 204 || wt.type === "HEAD" ? no = "nocontent" : vt === 304 ? no = "notmodified" : (no = wr.state, pn = wr.data, lr = wr.error, vn = !lr)) : (lr = no, (vt || !no) && (no = "error", vt < 0 && (vt = 0))), Je.status = vt, Je.statusText = (Zt || no) + "", vn ? nr.resolveWith(en, [pn, no, Je]) : nr.rejectWith(en, [Je, no, lr]), Je.statusCode(Qr), Qr = void 0, ct && Rn.trigger(
14819
14819
  vn ? "ajaxSuccess" : "ajaxError",
14820
14820
  [Je, wt, vn ? pn : lr]
14821
14821
  ), Fn.fireWith(en, [Je, no]), ct && (Rn.trigger("ajaxComplete", [Je, wt]), --y.active || y.event.trigger("ajaxStop")));
@@ -14988,7 +14988,7 @@ var ZS = { exports: {} };
14988
14988
  };
14989
14989
  }
14990
14990
  });
14991
- var Zr = [], Io = /(=)\?(?=&|$)|\?\?/;
14991
+ var Zr = [], Po = /(=)\?(?=&|$)|\?\?/;
14992
14992
  y.ajaxSetup({
14993
14993
  jsonp: "callback",
14994
14994
  jsonpCallback: function() {
@@ -14996,9 +14996,9 @@ var ZS = { exports: {} };
14996
14996
  return this[H] = !0, H;
14997
14997
  }
14998
14998
  }), y.ajaxPrefilter("json jsonp", function(H, Q, te) {
14999
- var ae, me, be, Ne = H.jsonp !== !1 && (Io.test(H.url) ? "url" : typeof H.data == "string" && (H.contentType || "").indexOf("application/x-www-form-urlencoded") === 0 && Io.test(H.data) && "data");
14999
+ var ae, me, be, Ne = H.jsonp !== !1 && (Po.test(H.url) ? "url" : typeof H.data == "string" && (H.contentType || "").indexOf("application/x-www-form-urlencoded") === 0 && Po.test(H.data) && "data");
15000
15000
  if (Ne || H.dataTypes[0] === "jsonp")
15001
- return ae = H.jsonpCallback = m(H.jsonpCallback) ? H.jsonpCallback() : H.jsonpCallback, Ne ? H[Ne] = H[Ne].replace(Io, "$1" + ae) : H.jsonp !== !1 && (H.url += (Li.test(H.url) ? "&" : "?") + H.jsonp + "=" + ae), H.converters["script json"] = function() {
15001
+ return ae = H.jsonpCallback = m(H.jsonpCallback) ? H.jsonpCallback() : H.jsonpCallback, Ne ? H[Ne] = H[Ne].replace(Po, "$1" + ae) : H.jsonp !== !1 && (H.url += (Li.test(H.url) ? "&" : "?") + H.jsonp + "=" + ae), H.converters["script json"] = function() {
15002
15002
  return be || y.error(ae + " was not called"), be[0];
15003
15003
  }, H.dataTypes[0] = "json", me = t[ae], t[ae] = function() {
15004
15004
  be = arguments;
@@ -15196,9 +15196,9 @@ var ZS = { exports: {} };
15196
15196
  }, y.trim = function(H) {
15197
15197
  return H == null ? "" : (H + "").replace(li, "$1");
15198
15198
  };
15199
- var Po = t.jQuery, Qi = t.$;
15199
+ var Mo = t.jQuery, Qi = t.$;
15200
15200
  return y.noConflict = function(H) {
15201
- return t.$ === y && (t.$ = Qi), H && t.jQuery === y && (t.jQuery = Po), y;
15201
+ return t.$ === y && (t.$ = Qi), H && t.jQuery === y && (t.jQuery = Mo), y;
15202
15202
  }, typeof n > "u" && (t.jQuery = t.$ = y), y;
15203
15203
  });
15204
15204
  })(ZS);
@@ -15358,11 +15358,11 @@ function QS(c) {
15358
15358
  function Ny(c) {
15359
15359
  return c instanceof Il;
15360
15360
  }
15361
- const IO = sr.lazy(() => import("./PollComponent-fdc49a07.js"));
15361
+ const IO = sr.lazy(() => import("./PollComponent-f6395de7.js"));
15362
15362
  function PO() {
15363
15363
  return Math.random().toString(36).replace(/[^a-z]+/g, "").substr(0, 5);
15364
15364
  }
15365
- function BD(c = "") {
15365
+ function zD(c = "") {
15366
15366
  return {
15367
15367
  text: c,
15368
15368
  uid: PO(),
@@ -15462,7 +15462,7 @@ class hf extends la {
15462
15462
  function XS(c, t) {
15463
15463
  return new hf(c, t);
15464
15464
  }
15465
- function zD(c) {
15465
+ function $D(c) {
15466
15466
  return c instanceof hf;
15467
15467
  }
15468
15468
  const RO = "https://platform.twitter.com/widgets.js";
@@ -15841,7 +15841,7 @@ function U1() {
15841
15841
  function Nm(c) {
15842
15842
  return c instanceof Pl;
15843
15843
  }
15844
- const nE = Ao();
15844
+ const nE = jo();
15845
15845
  function Ay(c) {
15846
15846
  const t = {
15847
15847
  m: 1e3,
@@ -16196,7 +16196,7 @@ class Ko extends so {
16196
16196
  }
16197
16197
  }
16198
16198
  const oE = [];
16199
- class na extends Vr {
16199
+ class ra extends Vr {
16200
16200
  constructor(n = oE, e) {
16201
16201
  super(e);
16202
16202
  Un(this, "__ids");
@@ -16206,7 +16206,7 @@ class na extends Vr {
16206
16206
  return "mark";
16207
16207
  }
16208
16208
  static clone(n) {
16209
- return new na(n.__ids, n.__key);
16209
+ return new ra(n.__ids, n.__key);
16210
16210
  }
16211
16211
  static importDOM() {
16212
16212
  return {
@@ -16214,14 +16214,14 @@ class na extends Vr {
16214
16214
  conversion: (e) => {
16215
16215
  var o;
16216
16216
  const a = ((o = e.getAttribute("data-ids")) == null ? void 0 : o.split(",")) || [];
16217
- return { node: new na(a) };
16217
+ return { node: new ra(a) };
16218
16218
  },
16219
16219
  priority: 1
16220
16220
  })
16221
16221
  };
16222
16222
  }
16223
16223
  static importJSON(n) {
16224
- return new na(n.ids);
16224
+ return new ra(n.ids);
16225
16225
  }
16226
16226
  exportJSON() {
16227
16227
  return {
@@ -16276,10 +16276,10 @@ class na extends Vr {
16276
16276
  }
16277
16277
  }
16278
16278
  function W0(c = oE) {
16279
- return Pr(new na(c));
16279
+ return Pr(new ra(c));
16280
16280
  }
16281
16281
  function Ml(c) {
16282
- return c instanceof na;
16282
+ return c instanceof ra;
16283
16283
  }
16284
16284
  function H1(c) {
16285
16285
  const t = c.getChildren();
@@ -16335,7 +16335,7 @@ function $O(c, t) {
16335
16335
  return null;
16336
16336
  }
16337
16337
  const iE = [
16338
- na,
16338
+ ra,
16339
16339
  qh,
16340
16340
  lf,
16341
16341
  af,
@@ -16885,7 +16885,7 @@ function uE() {
16885
16885
  Wt(() => Jr(t.registerCommand(TS, () => (C1(t, "number"), !0), Dr), t.registerCommand(CS, () => (C1(t, "bullet"), !0), Dr), t.registerCommand(kS, () => (zk(t), !0), Dr), t.registerCommand(Bl, () => !!Hk(), Dr)), [t]);
16886
16886
  }(c), null;
16887
16887
  }
16888
- const YO = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0 ? sa : Wt;
16888
+ const YO = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0 ? aa : Wt;
16889
16889
  function ZO(c) {
16890
16890
  return { initialValueFn: () => c.isEditable(), subscribe: (t) => c.registerEditableListener(t) };
16891
16891
  }
@@ -17176,7 +17176,7 @@ async function V1(c, t) {
17176
17176
  o.style.cssText = "position: fixed; top: -1000px;", o.append(e.createTextNode("#")), n.append(o);
17177
17177
  const r = new Range();
17178
17178
  return r.setStart(o, 0), r.setEnd(o, 1), a.removeAllRanges(), a.addRange(r), new Promise((s, l) => {
17179
- const i = c.registerCommand(Qd, (u) => (Qs(u, ClipboardEvent) && (i(), Cc !== null && (window.clearTimeout(Cc), Cc = null), s(K1(c, u))), !0), Fo);
17179
+ const i = c.registerCommand(Qd, (u) => (Xs(u, ClipboardEvent) && (i(), Cc !== null && (window.clearTimeout(Cc), Cc = null), s(K1(c, u))), !0), To);
17180
17180
  Cc = window.setTimeout(() => {
17181
17181
  i(), Cc = null, s(!1);
17182
17182
  }, 50), e.execCommand("copy"), o.remove();
@@ -17208,7 +17208,7 @@ function G1(c, t) {
17208
17208
  }
17209
17209
  return null;
17210
17210
  }
17211
- const Su = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, oN = Su && "documentMode" in document ? document.documentMode : null, iN = !(!Su || !("InputEvent" in window) || oN) && "getTargetRanges" in new window.InputEvent("input"), sN = Su && /Version\/[\d.]+.*Safari/.test(navigator.userAgent), aN = Su && /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream, lN = Su && /^(?=.*Chrome).*/i.test(navigator.userAgent), cN = Su && /AppleWebKit\/[\d.]+/.test(navigator.userAgent) && !lN, jy = Ao();
17211
+ const Su = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, oN = Su && "documentMode" in document ? document.documentMode : null, iN = !(!Su || !("InputEvent" in window) || oN) && "getTargetRanges" in new window.InputEvent("input"), sN = Su && /Version\/[\d.]+.*Safari/.test(navigator.userAgent), aN = Su && /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream, lN = Su && /^(?=.*Chrome).*/i.test(navigator.userAgent), cN = Su && /AppleWebKit\/[\d.]+/.test(navigator.userAgent) && !lN, jy = jo();
17212
17212
  class tg extends Vr {
17213
17213
  static getType() {
17214
17214
  return "quote";
@@ -17346,7 +17346,7 @@ function uh(c) {
17346
17346
  }
17347
17347
  function ip(c) {
17348
17348
  let t = null;
17349
- if (Qs(c, DragEvent) ? t = c.dataTransfer : Qs(c, ClipboardEvent) && (t = c.clipboardData), t === null)
17349
+ if (Xs(c, DragEvent) ? t = c.dataTransfer : Xs(c, ClipboardEvent) && (t = c.clipboardData), t === null)
17350
17350
  return [!1, [], !1];
17351
17351
  const n = t.types, e = n.includes("Files"), a = n.includes("text/html") || n.includes("text/plain");
17352
17352
  return [e, Array.from(t.files), a];
@@ -17547,22 +17547,22 @@ function fN(c) {
17547
17547
  _r(o) && t.preventDefault();
17548
17548
  }
17549
17549
  return !0;
17550
- }, jn), c.registerCommand(zp, () => (xw(), !0), jn), c.registerCommand(Qd, (t) => (V1(c, Qs(t, ClipboardEvent) ? t : null), !0), jn), c.registerCommand(Xd, (t) => (async function(n, e) {
17551
- await V1(e, Qs(n, ClipboardEvent) ? n : null), e.update(() => {
17550
+ }, jn), c.registerCommand(zp, () => (xw(), !0), jn), c.registerCommand(Qd, (t) => (V1(c, Xs(t, ClipboardEvent) ? t : null), !0), jn), c.registerCommand(Xd, (t) => (async function(n, e) {
17551
+ await V1(e, Xs(n, ClipboardEvent) ? n : null), e.update(() => {
17552
17552
  const a = jt();
17553
17553
  Tt(a) ? a.removeText() : io(a) && a.getNodes().forEach((o) => o.remove());
17554
17554
  });
17555
- }(t, c), !0), jn), c.registerCommand(aa, (t) => {
17555
+ }(t, c), !0), jn), c.registerCommand(Rs, (t) => {
17556
17556
  const [, n, e] = ip(t);
17557
17557
  return n.length > 0 && !e ? (c.dispatchCommand(jy, n), !0) : _0(t.target) ? !1 : jt() !== null && (function(a, o) {
17558
17558
  a.preventDefault(), o.update(() => {
17559
- const r = jt(), s = Qs(a, InputEvent) || Qs(a, KeyboardEvent) ? null : a.clipboardData;
17559
+ const r = jt(), s = Xs(a, InputEvent) || Xs(a, KeyboardEvent) ? null : a.clipboardData;
17560
17560
  s != null && r !== null && q1(s, r, o);
17561
17561
  }, { tag: "paste" });
17562
17562
  }(t, c), !0);
17563
17563
  }, jn));
17564
17564
  }
17565
- const Iy = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0 ? sa : Wt;
17565
+ const Iy = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0 ? aa : Wt;
17566
17566
  function Q1(c) {
17567
17567
  return c.getEditorState().read(aE(c.isComposing()));
17568
17568
  }
@@ -17885,7 +17885,7 @@ function TN({
17885
17885
  )
17886
17886
  ] });
17887
17887
  }
17888
- const Eu = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", kN = (c) => Eu ? (c || window).getSelection() : null, rg = Ao();
17888
+ const Eu = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", kN = (c) => Eu ? (c || window).getSelection() : null, rg = jo();
17889
17889
  function ON({
17890
17890
  onClick: c
17891
17891
  }) {
@@ -18139,7 +18139,7 @@ function OE({
18139
18139
  Ii
18140
18140
  ),
18141
18141
  n.registerCommand(
18142
- aa,
18142
+ Rs,
18143
18143
  (r) => {
18144
18144
  var l;
18145
18145
  const s = (l = r.clipboardData) == null ? void 0 : l.items;
@@ -18291,9 +18291,9 @@ function LN({ validateUrl: c }) {
18291
18291
  const { url: e, target: a, rel: o, title: r } = n;
18292
18292
  return Tm(e, { rel: o, target: a, title: r }), !0;
18293
18293
  }
18294
- }, Dr), c !== void 0 ? t.registerCommand(aa, (n) => {
18294
+ }, Dr), c !== void 0 ? t.registerCommand(Rs, (n) => {
18295
18295
  const e = jt();
18296
- if (!Tt(e) || e.isCollapsed() || !Qs(n, ClipboardEvent))
18296
+ if (!Tt(e) || e.isCollapsed() || !Xs(n, ClipboardEvent))
18297
18297
  return !1;
18298
18298
  const a = n;
18299
18299
  if (a.clipboardData === null)
@@ -18363,7 +18363,7 @@ function ME({ maxDepth: c }) {
18363
18363
  return Wt(() => t.registerCommand(
18364
18364
  ow,
18365
18365
  () => !UN(c ?? 7),
18366
- Fo
18366
+ To
18367
18367
  ), [t, c]), null;
18368
18368
  }
18369
18369
  const HN = 1, WN = 100;
@@ -19383,7 +19383,7 @@ function FE({ isEditable: c = !0 }) {
19383
19383
  );
19384
19384
  }
19385
19385
  const BE = sr.createContext(null), f_ = 4;
19386
- function To({
19386
+ function ko({
19387
19387
  children: c,
19388
19388
  className: t,
19389
19389
  onClick: n,
@@ -19672,7 +19672,7 @@ const p_ = 8, h_ = 72, Ma = {
19672
19672
  buttonLabel: Ma[f],
19673
19673
  children: [
19674
19674
  /* @__PURE__ */ ge.jsxs(
19675
- To,
19675
+ ko,
19676
19676
  {
19677
19677
  className: `item ${f === "paragraph" ? "active" : ""}`,
19678
19678
  onClick: () => _("paragraph"),
@@ -19685,7 +19685,7 @@ const p_ = 8, h_ = 72, Ma = {
19685
19685
  a.heading && a.heading.find(
19686
19686
  (w) => w.title === "Heading1"
19687
19687
  ) && /* @__PURE__ */ ge.jsxs(
19688
- To,
19688
+ ko,
19689
19689
  {
19690
19690
  className: `item ${f === "h1" ? "active" : ""}`,
19691
19691
  onClick: () => _("h1"),
@@ -19698,7 +19698,7 @@ const p_ = 8, h_ = 72, Ma = {
19698
19698
  a.heading && a.heading.find(
19699
19699
  (w) => w.title === "Heading2"
19700
19700
  ) && /* @__PURE__ */ ge.jsxs(
19701
- To,
19701
+ ko,
19702
19702
  {
19703
19703
  className: `item ${f === "h2" ? "active" : ""}`,
19704
19704
  onClick: () => _("h2"),
@@ -19711,7 +19711,7 @@ const p_ = 8, h_ = 72, Ma = {
19711
19711
  a.heading && a.heading.find(
19712
19712
  (w) => w.title === "Heading3"
19713
19713
  ) && /* @__PURE__ */ ge.jsxs(
19714
- To,
19714
+ ko,
19715
19715
  {
19716
19716
  className: `item ${f === "h3" ? "active" : ""}`,
19717
19717
  onClick: () => _("h3"),
@@ -19724,7 +19724,7 @@ const p_ = 8, h_ = 72, Ma = {
19724
19724
  a.heading && a.heading.find(
19725
19725
  (w) => w.title === "Heading5"
19726
19726
  ) && /* @__PURE__ */ ge.jsxs(
19727
- To,
19727
+ ko,
19728
19728
  {
19729
19729
  className: `item ${f === "h4" ? "active" : ""}`,
19730
19730
  onClick: () => _("h4"),
@@ -19737,7 +19737,7 @@ const p_ = 8, h_ = 72, Ma = {
19737
19737
  a.heading && a.heading.find(
19738
19738
  (w) => w.title === "Heading5"
19739
19739
  ) && /* @__PURE__ */ ge.jsxs(
19740
- To,
19740
+ ko,
19741
19741
  {
19742
19742
  className: `item ${f === "h5" ? "active" : ""}`,
19743
19743
  onClick: () => _("h5"),
@@ -20276,7 +20276,7 @@ function OA({
20276
20276
  buttonAriaLabel: "Formatting options for text alignment",
20277
20277
  children: [
20278
20278
  /* @__PURE__ */ ge.jsxs(
20279
- To,
20279
+ ko,
20280
20280
  {
20281
20281
  onClick: () => {
20282
20282
  c.dispatchCommand(Tl, "left");
@@ -20289,7 +20289,7 @@ function OA({
20289
20289
  }
20290
20290
  ),
20291
20291
  /* @__PURE__ */ ge.jsxs(
20292
- To,
20292
+ ko,
20293
20293
  {
20294
20294
  onClick: () => {
20295
20295
  c.dispatchCommand(Tl, "center");
@@ -20302,7 +20302,7 @@ function OA({
20302
20302
  }
20303
20303
  ),
20304
20304
  /* @__PURE__ */ ge.jsxs(
20305
- To,
20305
+ ko,
20306
20306
  {
20307
20307
  onClick: () => {
20308
20308
  c.dispatchCommand(Tl, "right");
@@ -20315,7 +20315,7 @@ function OA({
20315
20315
  }
20316
20316
  ),
20317
20317
  /* @__PURE__ */ ge.jsxs(
20318
- To,
20318
+ ko,
20319
20319
  {
20320
20320
  onClick: () => {
20321
20321
  c.dispatchCommand(Tl, "justify");
@@ -20359,7 +20359,7 @@ function HE({
20359
20359
  };
20360
20360
  Wt(() => {
20361
20361
  const Et = d.registerCommand(
20362
- aa,
20362
+ Rs,
20363
20363
  (Bt) => {
20364
20364
  const Gt = Bt.clipboardData || window.clipboardData, dt = Gt == null ? void 0 : Gt.getData("text/html"), Mt = Gt == null ? void 0 : Gt.getData("text/plain");
20365
20365
  return dt != null && dt.includes(
@@ -20446,7 +20446,7 @@ function HE({
20446
20446
  Wt(() => d.registerCommand(
20447
20447
  ks,
20448
20448
  (Et, Bt) => (nt(), h(Bt), !1),
20449
- Fo
20449
+ To
20450
20450
  ), [d, nt]), Wt(() => Jr(
20451
20451
  // editor.registerEditableListener((editable) => {
20452
20452
  // setIsEditable(editable);
@@ -20459,12 +20459,12 @@ function HE({
20459
20459
  p.registerCommand(
20460
20460
  Vc,
20461
20461
  (Et) => (u && u.length > 1 ? G(!0) : G(Et), !1),
20462
- Fo
20462
+ To
20463
20463
  ),
20464
20464
  p.registerCommand(
20465
20465
  Jc,
20466
20466
  (Et) => (oe(Et), !1),
20467
- Fo
20467
+ To
20468
20468
  )
20469
20469
  ), [nt, p, d]), Wt(() => p.registerCommand(
20470
20470
  iw,
@@ -20586,7 +20586,7 @@ function HE({
20586
20586
  buttonLabel: Rk(_e),
20587
20587
  buttonAriaLabel: "Select language",
20588
20588
  children: TA.map(([Et, Bt]) => /* @__PURE__ */ ge.jsx(
20589
- To,
20589
+ ko,
20590
20590
  {
20591
20591
  className: `item ${lp(
20592
20592
  Et === _e
@@ -20675,7 +20675,7 @@ function HE({
20675
20675
  buttonIconClassName: "icon dropdown-more",
20676
20676
  children: [
20677
20677
  /* @__PURE__ */ ge.jsxs(
20678
- To,
20678
+ ko,
20679
20679
  {
20680
20680
  onClick: () => {
20681
20681
  p.dispatchCommand(
@@ -20693,7 +20693,7 @@ function HE({
20693
20693
  }
20694
20694
  ),
20695
20695
  /* @__PURE__ */ ge.jsxs(
20696
- To,
20696
+ ko,
20697
20697
  {
20698
20698
  onClick: () => {
20699
20699
  p.dispatchCommand(ti, "subscript");
@@ -20708,7 +20708,7 @@ function HE({
20708
20708
  }
20709
20709
  ),
20710
20710
  /* @__PURE__ */ ge.jsxs(
20711
- To,
20711
+ ko,
20712
20712
  {
20713
20713
  onClick: () => {
20714
20714
  p.dispatchCommand(
@@ -20739,7 +20739,7 @@ function HE({
20739
20739
  buttonIconClassName: "icon plus",
20740
20740
  children: [
20741
20741
  /* @__PURE__ */ ge.jsxs(
20742
- To,
20742
+ ko,
20743
20743
  {
20744
20744
  onClick: () => {
20745
20745
  de("Insert Image", (Et) => /* @__PURE__ */ ge.jsx(
@@ -20759,7 +20759,7 @@ function HE({
20759
20759
  }
20760
20760
  ),
20761
20761
  /* @__PURE__ */ ge.jsxs(
20762
- To,
20762
+ ko,
20763
20763
  {
20764
20764
  onClick: () => {
20765
20765
  de("Insert Table", (Et) => /* @__PURE__ */ ge.jsx(
@@ -20779,7 +20779,7 @@ function HE({
20779
20779
  }
20780
20780
  ),
20781
20781
  /* @__PURE__ */ ge.jsxs(
20782
- To,
20782
+ ko,
20783
20783
  {
20784
20784
  className: "item",
20785
20785
  onClick: () => {
@@ -20792,7 +20792,7 @@ function HE({
20792
20792
  }
20793
20793
  ),
20794
20794
  /* @__PURE__ */ ge.jsxs(
20795
- To,
20795
+ ko,
20796
20796
  {
20797
20797
  className: "item",
20798
20798
  onClick: () => {
@@ -20859,7 +20859,7 @@ function HE({
20859
20859
  ue
20860
20860
  ] });
20861
20861
  }
20862
- const NA = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0 ? sa : Wt;
20862
+ const NA = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0 ? aa : Wt;
20863
20863
  function WE({ ariaActiveDescendant: c, ariaAutoComplete: t, ariaControls: n, ariaDescribedBy: e, ariaExpanded: a, ariaLabel: o, ariaLabelledBy: r, ariaMultiline: s, ariaOwns: l, ariaRequired: i, autoCapitalize: u, className: f, id: d, role: p = "textbox", spellCheck: h = !0, style: m, tabIndex: g, "data-testid": v, ...b }) {
20864
20864
  const [_] = Cn(), [E, w] = Ft(!1), x = mn((y) => {
20865
20865
  y && y.ownerDocument && y.ownerDocument.defaultView && _.setRootElement(y);
@@ -21029,7 +21029,7 @@ function tb(c, t) {
21029
21029
  const n = i0(PA);
21030
21030
  return c != null && (n.name = c), t != null && (n.color = t), n;
21031
21031
  }
21032
- const MA = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0 ? sa : Wt;
21032
+ const MA = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0 ? aa : Wt;
21033
21033
  function JE({ onClear: c }) {
21034
21034
  const [t] = Cn();
21035
21035
  return MA(() => t.registerCommand(Nh, (n) => (t.update(() => {
@@ -21092,7 +21092,7 @@ const DA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
21092
21092
  __proto__: null,
21093
21093
  LexicalErrorBoundary: Fd,
21094
21094
  default: Fd
21095
- }, Symbol.toStringTag, { value: "Module" })), LA = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0 ? sa : Wt;
21095
+ }, Symbol.toStringTag, { value: "Module" })), LA = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0 ? aa : Wt;
21096
21096
  function VE({ ignoreHistoryMergeTagChange: c = !0, ignoreSelectionChange: t = !1, onChange: n }) {
21097
21097
  const [e] = Cn();
21098
21098
  return LA(() => {
@@ -21106,7 +21106,7 @@ const Cu = typeof window < "u" && window.document !== void 0 && window.document.
21106
21106
  function b_(c, t) {
21107
21107
  t.update(() => {
21108
21108
  if (c !== null) {
21109
- const n = Qs(c, KeyboardEvent) ? null : c.clipboardData, e = jt();
21109
+ const n = Xs(c, KeyboardEvent) ? null : c.clipboardData, e = jt();
21110
21110
  if (e !== null && n != null) {
21111
21111
  c.preventDefault();
21112
21112
  const a = yE(t);
@@ -21189,7 +21189,7 @@ function WA(c) {
21189
21189
  Tt(o) && o.removeText();
21190
21190
  });
21191
21191
  }(t, c), !0);
21192
- }, jn), c.registerCommand(aa, (t) => {
21192
+ }, jn), c.registerCommand(Rs, (t) => {
21193
21193
  const n = jt();
21194
21194
  return !!Tt(n) && (function(e, a) {
21195
21195
  e.preventDefault(), a.update(() => {
@@ -21205,7 +21205,7 @@ function WA(c) {
21205
21205
  return !!Tt(n) && (t.preventDefault(), !0);
21206
21206
  }, jn));
21207
21207
  }
21208
- const Dy = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0 ? sa : Wt;
21208
+ const Dy = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0 ? aa : Wt;
21209
21209
  function v_(c) {
21210
21210
  return c.getEditorState().read(aE(c.isComposing()));
21211
21211
  }
@@ -35689,11 +35689,11 @@ Valid keys: ` + JSON.stringify(Object.keys(S), null, " "));
35689
35689
  return k;
35690
35690
  }
35691
35691
  e && (_i = document.createElement("div").style, "AnimationEvent" in window || (delete xr.animationend.animation, delete xr.animationiteration.animation, delete xr.animationstart.animation), "TransitionEvent" in window || delete xr.transitionend.transition);
35692
- var bo = lo("animationend"), Zo = lo("animationiteration"), co = lo("animationstart"), si = lo("transitionend"), Ds = /* @__PURE__ */ new Map(), vo = /* @__PURE__ */ new Map(), dr = ["abort", "abort", bo, "animationEnd", Zo, "animationIteration", co, "animationStart", "canplay", "canPlay", "canplaythrough", "canPlayThrough", "durationchange", "durationChange", "emptied", "emptied", "encrypted", "encrypted", "ended", "ended", "error", "error", "gotpointercapture", "gotPointerCapture", "load", "load", "loadeddata", "loadedData", "loadedmetadata", "loadedMetadata", "loadstart", "loadStart", "lostpointercapture", "lostPointerCapture", "playing", "playing", "progress", "progress", "seeking", "seeking", "stalled", "stalled", "suspend", "suspend", "timeupdate", "timeUpdate", si, "transitionEnd", "waiting", "waiting"];
35692
+ var bo = lo("animationend"), Zo = lo("animationiteration"), co = lo("animationstart"), si = lo("transitionend"), Ls = /* @__PURE__ */ new Map(), vo = /* @__PURE__ */ new Map(), dr = ["abort", "abort", bo, "animationEnd", Zo, "animationIteration", co, "animationStart", "canplay", "canPlay", "canplaythrough", "canPlayThrough", "durationchange", "durationChange", "emptied", "emptied", "encrypted", "encrypted", "ended", "ended", "error", "error", "gotpointercapture", "gotPointerCapture", "load", "load", "loadeddata", "loadedData", "loadedmetadata", "loadedMetadata", "loadstart", "loadStart", "lostpointercapture", "lostPointerCapture", "playing", "playing", "progress", "progress", "seeking", "seeking", "stalled", "stalled", "suspend", "suspend", "timeupdate", "timeUpdate", si, "transitionEnd", "waiting", "waiting"];
35693
35693
  function Li(k, P) {
35694
35694
  for (var J = 0; J < k.length; J += 2) {
35695
35695
  var re = k[J], ie = "on" + ((ie = k[J + 1])[0].toUpperCase() + ie.slice(1));
35696
- vo.set(re, P), Ds.set(re, ie), d(ie, [re]);
35696
+ vo.set(re, P), Ls.set(re, ie), d(ie, [re]);
35697
35697
  }
35698
35698
  }
35699
35699
  (0, l.unstable_now)();
@@ -35709,14 +35709,14 @@ Valid keys: ` + JSON.stringify(Object.keys(S), null, " "));
35709
35709
  var re, ie = 0, pe = 0, ve = k.expiredLanes, Fe = k.suspendedLanes, Me = k.pingedLanes;
35710
35710
  if (ve !== 0 ? (ie = ve, pe = zn = 15) : (ve = 134217727 & J) != 0 ? (re = ve & ~Fe) != 0 ? (ie = $n(re), pe = zn) : (Me &= ve) != 0 && (ie = $n(Me), pe = zn) : (ve = J & ~Fe) != 0 ? (ie = $n(ve), pe = zn) : Me !== 0 && (ie = $n(Me), pe = zn), ie === 0)
35711
35711
  return 0;
35712
- if (ie = J & (((ie = 31 - jo(ie)) < 0 ? 0 : 1 << ie) << 1) - 1, P !== 0 && P !== ie && !(P & Fe)) {
35712
+ if (ie = J & (((ie = 31 - Io(ie)) < 0 ? 0 : 1 << ie) << 1) - 1, P !== 0 && P !== ie && !(P & Fe)) {
35713
35713
  if ($n(P), pe <= zn)
35714
35714
  return P;
35715
35715
  zn = pe;
35716
35716
  }
35717
35717
  if ((P = k.entangledLanes) !== 0)
35718
35718
  for (k = k.entanglements, P &= ie; 0 < P; )
35719
- ie |= k[J = 31 - jo(P)], P &= ~(pe = 1 << J);
35719
+ ie |= k[J = 31 - Io(P)], P &= ~(pe = 1 << J);
35720
35720
  return ie;
35721
35721
  }
35722
35722
  function Ho(k) {
@@ -35750,12 +35750,12 @@ Valid keys: ` + JSON.stringify(Object.keys(S), null, " "));
35750
35750
  function gs(k, P, J) {
35751
35751
  k.pendingLanes |= P;
35752
35752
  var re = P - 1;
35753
- k.suspendedLanes &= re, k.pingedLanes &= re, (k = k.eventTimes)[P = 31 - jo(P)] = J;
35753
+ k.suspendedLanes &= re, k.pingedLanes &= re, (k = k.eventTimes)[P = 31 - Io(P)] = J;
35754
35754
  }
35755
- var jo = Math.clz32 || function(k) {
35755
+ var Io = Math.clz32 || function(k) {
35756
35756
  return k === 0 ? 32 : 31 - (ms(k) / cl | 0) | 0;
35757
- }, ms = Math.log, cl = Math.LN2, ec = l.unstable_UserBlockingPriority, Iu = l.unstable_runWithPriority, Ls = !0;
35758
- function Fs(k, P, J, re) {
35757
+ }, ms = Math.log, cl = Math.LN2, ec = l.unstable_UserBlockingPriority, Iu = l.unstable_runWithPriority, Fs = !0;
35758
+ function Bs(k, P, J, re) {
35759
35759
  lt || je();
35760
35760
  var ie = ys, pe = lt;
35761
35761
  lt = !0;
@@ -35765,12 +35765,12 @@ Valid keys: ` + JSON.stringify(Object.keys(S), null, " "));
35765
35765
  (lt = pe) || At();
35766
35766
  }
35767
35767
  }
35768
- function Bs(k, P, J, re) {
35768
+ function zs(k, P, J, re) {
35769
35769
  Iu(ec, ys.bind(null, k, P, J, re));
35770
35770
  }
35771
35771
  function ys(k, P, J, re) {
35772
35772
  var ie;
35773
- if (Ls)
35773
+ if (Fs)
35774
35774
  if ((ie = !(4 & P)) && 0 < ht.length && -1 < Wn.indexOf(k))
35775
35775
  k = Sn(null, k, P, J, re), ht.push(k);
35776
35776
  else {
@@ -35864,10 +35864,10 @@ Valid keys: ` + JSON.stringify(Object.keys(S), null, " "));
35864
35864
  Ve = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(k) {
35865
35865
  return k.timeStamp || Date.now();
35866
35866
  }, defaultPrevented: 0, isTrusted: 0 };
35867
- var Io, li, Po, Qi = Zr(Ve), H = Zr(yr = s({}, Ve, { view: 0, detail: 0 })), Q = s({}, yr, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: wt, button: 0, buttons: 0, relatedTarget: function(k) {
35867
+ var Po, li, Mo, Qi = Zr(Ve), H = Zr(yr = s({}, Ve, { view: 0, detail: 0 })), Q = s({}, yr, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: wt, button: 0, buttons: 0, relatedTarget: function(k) {
35868
35868
  return k.relatedTarget === void 0 ? k.fromElement === k.srcElement ? k.toElement : k.fromElement : k.relatedTarget;
35869
35869
  }, movementX: function(k) {
35870
- return "movementX" in k ? k.movementX : (k !== Po && (li = Po && k.type === "mousemove" ? (Io = k.screenX - Po.screenX, k.screenY - Po.screenY) : Io = 0, Po = k), Io);
35870
+ return "movementX" in k ? k.movementX : (k !== Mo && (li = Mo && k.type === "mousemove" ? (Po = k.screenX - Mo.screenX, k.screenY - Mo.screenY) : Po = 0, Mo = k), Po);
35871
35871
  }, movementY: function(k) {
35872
35872
  return "movementY" in k ? k.movementY : li;
35873
35873
  } }), te = Zr(Q), ae = Zr(s({}, Q, { dataTransfer: 0 })), me = Zr(s({}, yr, { relatedTarget: 0 })), be = Zr(s({}, Ve, { animationName: 0, elapsedTime: 0, pseudoElement: 0 })), Ne = Zr(s({}, Ve, { clipboardData: function(k) {
@@ -35923,7 +35923,7 @@ Valid keys: ` + JSON.stringify(Object.keys(S), null, " "));
35923
35923
  function wr(k, P, J, re) {
35924
35924
  Nt(re), 0 < (P = un(P, "onChange")).length && (J = new Qi("onChange", "change", null, J, re), k.push({ event: J, listeners: P }));
35925
35925
  }
35926
- var Mo = null, no = null;
35926
+ var Ro = null, no = null;
35927
35927
  function Ei(k) {
35928
35928
  We(k, 0);
35929
35929
  }
@@ -35937,7 +35937,7 @@ Valid keys: ` + JSON.stringify(Object.keys(S), null, " "));
35937
35937
  }
35938
35938
  var bf = !1;
35939
35939
  function vf() {
35940
- Mo && (Mo.detachEvent("onpropertychange", _f), no = Mo = null);
35940
+ Ro && (Ro.detachEvent("onpropertychange", _f), no = Ro = null);
35941
35941
  }
35942
35942
  function _f(k) {
35943
35943
  if (k.propertyName === "value" && ci(no)) {
@@ -35955,7 +35955,7 @@ Valid keys: ` + JSON.stringify(Object.keys(S), null, " "));
35955
35955
  }
35956
35956
  }
35957
35957
  function hr(k, P, J) {
35958
- k === "focusin" ? (vf(), no = J, (Mo = P).attachEvent("onpropertychange", _f)) : k === "focusout" && vf();
35958
+ k === "focusin" ? (vf(), no = J, (Ro = P).attachEvent("onpropertychange", _f)) : k === "focusout" && vf();
35959
35959
  }
35960
35960
  function tc(k) {
35961
35961
  if (k === "selectionchange" || k === "keyup" || k === "keydown")
@@ -36029,10 +36029,10 @@ Valid keys: ` + JSON.stringify(Object.keys(S), null, " "));
36029
36029
  var P = k && k.nodeName && k.nodeName.toLowerCase();
36030
36030
  return P && (P === "input" && (k.type === "text" || k.type === "search" || k.type === "tel" || k.type === "url" || k.type === "password") || P === "textarea" || k.contentEditable === "true");
36031
36031
  }
36032
- var ul = e && "documentMode" in document && document.documentMode <= 11, ts = null, ba = null, zs = null, Pu = !1;
36032
+ var ul = e && "documentMode" in document && document.documentMode <= 11, ts = null, ba = null, $s = null, Pu = !1;
36033
36033
  function dl(k, P, J) {
36034
36034
  var re = J.window === J ? J.document : J.nodeType === 9 ? J : J.ownerDocument;
36035
- Pu || ts == null || ts !== de(re) || (re = "selectionStart" in (re = ts) && rc(re) ? { start: re.selectionStart, end: re.selectionEnd } : { anchorNode: (re = (re.ownerDocument && re.ownerDocument.defaultView || window).getSelection()).anchorNode, anchorOffset: re.anchorOffset, focusNode: re.focusNode, focusOffset: re.focusOffset }, zs && ya(zs, re)) || (zs = re, 0 < (re = un(ba, "onSelect")).length && (P = new Qi("onSelect", "select", null, P, J), k.push({ event: P, listeners: re }), P.target = ts));
36035
+ Pu || ts == null || ts !== de(re) || (re = "selectionStart" in (re = ts) && rc(re) ? { start: re.selectionStart, end: re.selectionEnd } : { anchorNode: (re = (re.ownerDocument && re.ownerDocument.defaultView || window).getSelection()).anchorNode, anchorOffset: re.anchorOffset, focusNode: re.focusNode, focusOffset: re.focusOffset }, $s && ya($s, re)) || ($s = re, 0 < (re = un(ba, "onSelect")).length && (P = new Qi("onSelect", "select", null, P, J), k.push({ event: P, listeners: re }), P.target = ts));
36036
36036
  }
36037
36037
  Li("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "), 0), Li("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "), 1), Li(dr, 2);
36038
36038
  for (var oc = "change selectionchange textInput compositionstart compositionend compositionupdate".split(" "), fl = 0; fl < oc.length; fl++)
@@ -36094,10 +36094,10 @@ Valid keys: ` + JSON.stringify(Object.keys(S), null, " "));
36094
36094
  var ie = vo.get(P);
36095
36095
  switch (ie === void 0 ? 2 : ie) {
36096
36096
  case 0:
36097
- ie = Fs;
36097
+ ie = Bs;
36098
36098
  break;
36099
36099
  case 1:
36100
- ie = Bs;
36100
+ ie = zs;
36101
36101
  break;
36102
36102
  default:
36103
36103
  ie = ys;
@@ -36138,7 +36138,7 @@ Valid keys: ` + JSON.stringify(Object.keys(S), null, " "));
36138
36138
  var st = function() {
36139
36139
  var cn, Qn, yt, Ct = pe, Dt = Bt(J), yn = [];
36140
36140
  e: {
36141
- var sn = Ds.get(k);
36141
+ var sn = Ls.get(k);
36142
36142
  if (sn !== void 0) {
36143
36143
  var hn = Qi, En = k;
36144
36144
  switch (k) {
@@ -36251,10 +36251,10 @@ Valid keys: ` + JSON.stringify(Object.keys(S), null, " "));
36251
36251
  }
36252
36252
  switch ((hn = (sn = Ct ? ac(Ct) : window).nodeName && sn.nodeName.toLowerCase()) === "select" || hn === "input" && sn.type === "file" ? cn = Xi : lr(sn) ? bf ? cn = ma : (cn = tc, Qn = hr) : !(hn = sn.nodeName) || hn.toLowerCase() !== "input" || sn.type !== "checkbox" && sn.type !== "radio" || (cn = Ci), (cn = cn && cn(k, Ct)) ? wr(yn, cn, J, Dt) : (Qn && Qn(k, sn, Ct), k === "focusout" && (Qn = sn._wrapperState) && Qn.controlled && sn.type === "number" && ce(sn, "number", sn.value)), Qn = Ct ? ac(Ct) : window, k) {
36253
36253
  case "focusin":
36254
- !lr(Qn) && Qn.contentEditable !== "true" || (ts = Qn, ba = Ct, zs = null);
36254
+ !lr(Qn) && Qn.contentEditable !== "true" || (ts = Qn, ba = Ct, $s = null);
36255
36255
  break;
36256
36256
  case "focusout":
36257
- zs = ba = ts = null;
36257
+ $s = ba = ts = null;
36258
36258
  break;
36259
36259
  case "mousedown":
36260
36260
  Pu = !0;
@@ -36488,7 +36488,7 @@ Valid keys: ` + JSON.stringify(Object.keys(S), null, " "));
36488
36488
  J ? (k = yb(k, P, gl), re.__reactInternalMemoizedMergedChildContext = k, zr(pi), zr(Wo), Xr(Wo, k)) : zr(pi), Xr(pi, J);
36489
36489
  }
36490
36490
  var gg = null, ml = null, D2 = l.unstable_runWithPriority, mg = l.unstable_scheduleCallback, yg = l.unstable_cancelCallback, L2 = l.unstable_shouldYield, bg = (Ve = l.unstable_requestPaint, l.unstable_now), F2 = l.unstable_getCurrentPriorityLevel, Ef = l.unstable_ImmediatePriority, vb = l.unstable_UserBlockingPriority, _b = l.unstable_NormalPriority, xb = l.unstable_LowPriority, wb = l.unstable_IdlePriority, vg = {}, B2 = Ve !== void 0 ? Ve : function() {
36491
- }, $s = null, Cf = null, _g = !1, Sb = bg(), qo = Sb < 1e4 ? bg : function() {
36491
+ }, Us = null, Cf = null, _g = !1, Sb = bg(), qo = Sb < 1e4 ? bg : function() {
36492
36492
  return bg() - Sb;
36493
36493
  };
36494
36494
  function cc() {
@@ -36534,18 +36534,18 @@ Valid keys: ` + JSON.stringify(Object.keys(S), null, " "));
36534
36534
  Cf !== null && (k = Cf, Cf = null, yg(k)), Cb();
36535
36535
  }
36536
36536
  function Cb() {
36537
- if (!_g && $s !== null) {
36537
+ if (!_g && Us !== null) {
36538
36538
  _g = !0;
36539
36539
  var k = 0;
36540
36540
  try {
36541
- var P = $s;
36541
+ var P = Us;
36542
36542
  yl(99, function() {
36543
36543
  for (; k < P.length; k++)
36544
36544
  for (var J = P[k]; (J = J(!0)) !== null; )
36545
36545
  ;
36546
- }), $s = null;
36546
+ }), Us = null;
36547
36547
  } catch (J) {
36548
- throw $s !== null && ($s = $s.slice(k + 1)), mg(Ef, vs), J;
36548
+ throw Us !== null && (Us = Us.slice(k + 1)), mg(Ef, vs), J;
36549
36549
  } finally {
36550
36550
  _g = !1;
36551
36551
  }
@@ -36901,23 +36901,23 @@ Valid keys: ` + JSON.stringify(Object.keys(S), null, " "));
36901
36901
  throw Error(i(150));
36902
36902
  if ((Es = wl.call(Es)) == null)
36903
36903
  throw Error(i(151));
36904
- for (var qs = wl = null, So = Ji, Js = Ji = 0, Qf = null, Kr = Es.next(); So !== null && !Kr.done; Js++, Kr = Es.next()) {
36905
- So.index > Js ? (Qf = So, So = null) : Qf = So.sibling;
36904
+ for (var Js = wl = null, So = Ji, Vs = Ji = 0, Qf = null, Kr = Es.next(); So !== null && !Kr.done; Vs++, Kr = Es.next()) {
36905
+ So.index > Vs ? (Qf = So, So = null) : Qf = So.sibling;
36906
36906
  var xc = cn(eo, So, Kr.value, lm);
36907
36907
  if (xc === null) {
36908
36908
  So === null && (So = Qf);
36909
36909
  break;
36910
36910
  }
36911
- k && So && xc.alternate === null && P(eo, So), Ji = pe(xc, Ji, Js), qs === null ? wl = xc : qs.sibling = xc, qs = xc, So = Qf;
36911
+ k && So && xc.alternate === null && P(eo, So), Ji = pe(xc, Ji, Vs), Js === null ? wl = xc : Js.sibling = xc, Js = xc, So = Qf;
36912
36912
  }
36913
36913
  if (Kr.done)
36914
36914
  J(eo, So);
36915
36915
  else if (So === null)
36916
- for (; !Kr.done; Js++, Kr = Es.next())
36917
- (Kr = Jt(eo, Kr.value, lm)) !== null && (Ji = pe(Kr, Ji, Js), qs === null ? wl = Kr : qs.sibling = Kr, qs = Kr);
36916
+ for (; !Kr.done; Vs++, Kr = Es.next())
36917
+ (Kr = Jt(eo, Kr.value, lm)) !== null && (Ji = pe(Kr, Ji, Vs), Js === null ? wl = Kr : Js.sibling = Kr, Js = Kr);
36918
36918
  else {
36919
- for (So = re(eo, So); !Kr.done; Js++, Kr = Es.next())
36920
- (Kr = Qn(So, eo, Js, Kr.value, lm)) !== null && (k && Kr.alternate !== null && So.delete(Kr.key === null ? Js : Kr.key), Ji = pe(Kr, Ji, Js), qs === null ? wl = Kr : qs.sibling = Kr, qs = Kr);
36919
+ for (So = re(eo, So); !Kr.done; Vs++, Kr = Es.next())
36920
+ (Kr = Qn(So, eo, Vs, Kr.value, lm)) !== null && (k && Kr.alternate !== null && So.delete(Kr.key === null ? Vs : Kr.key), Ji = pe(Kr, Ji, Vs), Js === null ? wl = Kr : Js.sibling = Kr, Js = Kr);
36921
36921
  k && So.forEach(function(cm) {
36922
36922
  return P(eo, cm);
36923
36923
  });
@@ -36989,7 +36989,7 @@ Valid keys: ` + JSON.stringify(Object.keys(S), null, " "));
36989
36989
  }
36990
36990
  return null;
36991
36991
  }
36992
- var Us = null, Ca = null, xs = !1;
36992
+ var Hs = null, Ca = null, xs = !1;
36993
36993
  function Lb(k, P) {
36994
36994
  var J = qi(5, null, null, 0);
36995
36995
  J.elementType = "DELETED", J.type = "DELETED", J.stateNode = P, J.return = k, J.flags = 8, k.lastEffect !== null ? (k.lastEffect.nextEffect = J, k.lastEffect = J) : k.firstEffect = k.lastEffect = J;
@@ -37012,21 +37012,21 @@ Valid keys: ` + JSON.stringify(Object.keys(S), null, " "));
37012
37012
  var J = P;
37013
37013
  if (!Fb(k, P)) {
37014
37014
  if (!(P = Ti(J.nextSibling)) || !Fb(k, P))
37015
- return k.flags = -1025 & k.flags | 2, xs = !1, void (Us = k);
37016
- Lb(Us, J);
37015
+ return k.flags = -1025 & k.flags | 2, xs = !1, void (Hs = k);
37016
+ Lb(Hs, J);
37017
37017
  }
37018
- Us = k, Ca = Ti(P.firstChild);
37018
+ Hs = k, Ca = Ti(P.firstChild);
37019
37019
  } else
37020
- k.flags = -1025 & k.flags | 2, xs = !1, Us = k;
37020
+ k.flags = -1025 & k.flags | 2, xs = !1, Hs = k;
37021
37021
  }
37022
37022
  }
37023
37023
  function Bb(k) {
37024
37024
  for (k = k.return; k !== null && k.tag !== 5 && k.tag !== 3 && k.tag !== 13; )
37025
37025
  k = k.return;
37026
- Us = k;
37026
+ Hs = k;
37027
37027
  }
37028
37028
  function Rf(k) {
37029
- if (k === Us) {
37029
+ if (k === Hs) {
37030
37030
  if (!xs)
37031
37031
  return Bb(k), xs = !0, 0;
37032
37032
  var P = k.type;
@@ -37054,12 +37054,12 @@ Valid keys: ` + JSON.stringify(Object.keys(S), null, " "));
37054
37054
  Ca = null;
37055
37055
  }
37056
37056
  } else
37057
- Ca = Us ? Ti(k.stateNode.nextSibling) : null;
37057
+ Ca = Hs ? Ti(k.stateNode.nextSibling) : null;
37058
37058
  return 1;
37059
37059
  }
37060
37060
  }
37061
37061
  function Og() {
37062
- Ca = Us = null, xs = !1;
37062
+ Ca = Hs = null, xs = !1;
37063
37063
  }
37064
37064
  var pc = [];
37065
37065
  function Ng() {
@@ -37067,7 +37067,7 @@ Valid keys: ` + JSON.stringify(Object.keys(S), null, " "));
37067
37067
  pc[k]._workInProgressVersionPrimary = null;
37068
37068
  pc.length = 0;
37069
37069
  }
37070
- var Hu = S.ReactCurrentDispatcher, Hi = S.ReactCurrentBatchConfig, Wu = 0, oo = null, Xo = null, Ro = null, Df = !1, qu = !1;
37070
+ var Hu = S.ReactCurrentDispatcher, Hi = S.ReactCurrentBatchConfig, Wu = 0, oo = null, Xo = null, Do = null, Df = !1, qu = !1;
37071
37071
  function hi() {
37072
37072
  throw Error(i(321));
37073
37073
  }
@@ -37085,27 +37085,27 @@ Valid keys: ` + JSON.stringify(Object.keys(S), null, " "));
37085
37085
  do
37086
37086
  if (qu = !1, !(pe < 25))
37087
37087
  throw Error(i(301));
37088
- while (pe += 1, Ro = Xo = null, P.updateQueue = null, Hu.current = H2, k = J(re, ie), qu);
37088
+ while (pe += 1, Do = Xo = null, P.updateQueue = null, Hu.current = H2, k = J(re, ie), qu);
37089
37089
  }
37090
- if (Hu.current = zf, P = Xo !== null && Xo.next !== null, Wu = 0, Ro = Xo = oo = null, Df = !1, P)
37090
+ if (Hu.current = zf, P = Xo !== null && Xo.next !== null, Wu = 0, Do = Xo = oo = null, Df = !1, P)
37091
37091
  throw Error(i(300));
37092
37092
  return k;
37093
37093
  }
37094
37094
  function vl() {
37095
37095
  var k = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null };
37096
- return Ro === null ? oo.memoizedState = Ro = k : Ro = Ro.next = k, Ro;
37096
+ return Do === null ? oo.memoizedState = Do = k : Do = Do.next = k, Do;
37097
37097
  }
37098
37098
  function _l() {
37099
37099
  k = Xo === null ? (k = oo.alternate) !== null ? k.memoizedState : null : Xo.next;
37100
- var k, P = Ro === null ? oo.memoizedState : Ro.next;
37100
+ var k, P = Do === null ? oo.memoizedState : Do.next;
37101
37101
  if (P !== null)
37102
- Ro = P, Xo = k;
37102
+ Do = P, Xo = k;
37103
37103
  else {
37104
37104
  if (k === null)
37105
37105
  throw Error(i(310));
37106
- k = { memoizedState: (Xo = k).memoizedState, baseState: Xo.baseState, baseQueue: Xo.baseQueue, queue: Xo.queue, next: null }, Ro === null ? oo.memoizedState = Ro = k : Ro = Ro.next = k;
37106
+ k = { memoizedState: (Xo = k).memoizedState, baseState: Xo.baseState, baseQueue: Xo.baseQueue, queue: Xo.queue, next: null }, Do === null ? oo.memoizedState = Do = k : Do = Do.next = k;
37107
37107
  }
37108
- return Ro;
37108
+ return Do;
37109
37109
  }
37110
37110
  function ws(k, P) {
37111
37111
  return typeof P == "function" ? P(k) : P;
@@ -37152,14 +37152,14 @@ Valid keys: ` + JSON.stringify(Object.keys(S), null, " "));
37152
37152
  throw Error(i(349));
37153
37153
  var pe = P._getVersion, ve = pe(P._source), Fe = Hu.current, Me = (Vt = Fe.useState(function() {
37154
37154
  return zb(ie, P, J);
37155
- }))[1], st = Vt[0], Vt = Ro, Jt = (yt = k.memoizedState).refs, cn = Jt.getSnapshot, Qn = yt.source, yt = yt.subscribe, Ct = oo;
37155
+ }))[1], st = Vt[0], Vt = Do, Jt = (yt = k.memoizedState).refs, cn = Jt.getSnapshot, Qn = yt.source, yt = yt.subscribe, Ct = oo;
37156
37156
  return k.memoizedState = { refs: Jt, source: P, subscribe: re }, Fe.useEffect(function() {
37157
37157
  Jt.getSnapshot = J, Jt.setSnapshot = Me;
37158
37158
  var Dt = pe(P._source);
37159
37159
  if (!ui(ve, Dt)) {
37160
37160
  Dt = J(P._source), ui(st, Dt) || (Me(Dt), Dt = Oa(Ct), ie.mutableReadLanes |= Dt & ie.pendingLanes), Dt = ie.mutableReadLanes, ie.entangledLanes |= Dt;
37161
37161
  for (var yn = ie.entanglements, sn = Dt; 0 < sn; ) {
37162
- var hn = 31 - jo(sn), En = 1 << hn;
37162
+ var hn = 31 - Io(sn), En = 1 << hn;
37163
37163
  yn[hn] |= Dt, sn &= ~En;
37164
37164
  }
37165
37165
  }
@@ -37343,16 +37343,16 @@ Valid keys: ` + JSON.stringify(Object.keys(S), null, " "));
37343
37343
  function Yb(k, P, J, re, ie) {
37344
37344
  J = J.render;
37345
37345
  var pe = P.ref;
37346
- return dc(P, ie), re = jg(k, P, J, re, pe, ie), k === null || rs ? (P.flags |= 1, Oi(k, P, re, ie), P.child) : (P.updateQueue = k.updateQueue, P.flags &= -517, k.lanes &= ~ie, Hs(k, P, ie));
37346
+ return dc(P, ie), re = jg(k, P, J, re, pe, ie), k === null || rs ? (P.flags |= 1, Oi(k, P, re, ie), P.child) : (P.updateQueue = k.updateQueue, P.flags &= -517, k.lanes &= ~ie, Ws(k, P, ie));
37347
37347
  }
37348
37348
  function Zb(k, P, J, re, ie, pe) {
37349
37349
  var ve;
37350
- return k === null ? typeof (ve = J.type) != "function" || tm(ve) || ve.defaultProps !== void 0 || J.compare !== null || J.defaultProps !== void 0 ? ((k = Gf(J.type, null, re, P, P.mode, pe)).ref = P.ref, (k.return = P).child = k) : (P.tag = 15, P.type = ve, Qb(k, P, ve, re, ie, pe)) : (ve = k.child, ie & pe || (ie = ve.memoizedProps, !(J = (J = J.compare) !== null ? J : ya)(ie, re)) || k.ref !== P.ref ? (P.flags |= 1, (k = Ia(ve, re)).ref = P.ref, (k.return = P).child = k) : Hs(k, P, pe));
37350
+ return k === null ? typeof (ve = J.type) != "function" || tm(ve) || ve.defaultProps !== void 0 || J.compare !== null || J.defaultProps !== void 0 ? ((k = Gf(J.type, null, re, P, P.mode, pe)).ref = P.ref, (k.return = P).child = k) : (P.tag = 15, P.type = ve, Qb(k, P, ve, re, ie, pe)) : (ve = k.child, ie & pe || (ie = ve.memoizedProps, !(J = (J = J.compare) !== null ? J : ya)(ie, re)) || k.ref !== P.ref ? (P.flags |= 1, (k = Ia(ve, re)).ref = P.ref, (k.return = P).child = k) : Ws(k, P, pe));
37351
37351
  }
37352
37352
  function Qb(k, P, J, re, ie, pe) {
37353
37353
  if (k !== null && ya(k.memoizedProps, re) && k.ref === P.ref) {
37354
37354
  if (rs = !1, !(pe & ie))
37355
- return P.lanes = k.lanes, Hs(k, P, pe);
37355
+ return P.lanes = k.lanes, Ws(k, P, pe);
37356
37356
  16384 & k.flags && (rs = !0);
37357
37357
  }
37358
37358
  return Dg(k, P, J, re, pe);
@@ -37376,7 +37376,7 @@ Valid keys: ` + JSON.stringify(Object.keys(S), null, " "));
37376
37376
  }
37377
37377
  function Dg(k, P, J, re, ie) {
37378
37378
  var pe = lc(P, ki(J) ? gl : Wo.current);
37379
- return dc(P, ie), J = jg(k, P, J, re, pe, ie), k === null || rs ? (P.flags |= 1, Oi(k, P, J, ie), P.child) : (P.updateQueue = k.updateQueue, P.flags &= -517, k.lanes &= ~ie, Hs(k, P, ie));
37379
+ return dc(P, ie), J = jg(k, P, J, re, pe, ie), k === null || rs ? (P.flags |= 1, Oi(k, P, J, ie), P.child) : (P.updateQueue = k.updateQueue, P.flags &= -517, k.lanes &= ~ie, Ws(k, P, ie));
37380
37380
  }
37381
37381
  function tv(k, P, J, re, ie) {
37382
37382
  var pe, ve, Fe, Me, st, Vt, Jt, cn, Qn, yt;
@@ -37386,7 +37386,7 @@ Valid keys: ` + JSON.stringify(Object.keys(S), null, " "));
37386
37386
  ev(k, P);
37387
37387
  var ve = !!(64 & P.flags);
37388
37388
  if (!re && !ve)
37389
- return ie && bb(P, J, !1), Hs(k, P, pe);
37389
+ return ie && bb(P, J, !1), Ws(k, P, pe);
37390
37390
  re = P.stateNode, W2.current = P;
37391
37391
  var Fe = ve && typeof J.getDerivedStateFromError != "function" ? null : re.render();
37392
37392
  return P.flags |= 1, k !== null && ve ? (P.child = Pf(P, k.child, null, pe), P.child = Pf(P, null, Fe, pe)) : Oi(k, P, Fe, pe), P.memoizedState = re.state, ie && bb(P, J, !0), P.child;
@@ -37473,7 +37473,7 @@ Valid keys: ` + JSON.stringify(Object.keys(S), null, " "));
37473
37473
  P.memoizedState = null;
37474
37474
  return P.child;
37475
37475
  }
37476
- function Hs(k, P, J) {
37476
+ function Ws(k, P, J) {
37477
37477
  if (k !== null && (P.dependencies = k.dependencies), Yu |= P.lanes, !(J & P.childLanes))
37478
37478
  return null;
37479
37479
  if (k !== null && P.child !== k.child)
@@ -37946,11 +37946,11 @@ Error generating stack: ` + pe.message + `
37946
37946
  P.has(re) || (P.add(re), re.then(ie, ie));
37947
37947
  }));
37948
37948
  }
37949
- var Z2 = Math.ceil, $f = S.ReactCurrentDispatcher, Hg = S.ReactCurrentOwner, Zn = 0, ei = null, go = null, Jo = 0, xl = 0, Wg = _a(0), Do = 0, Uf = null, hc = 0, Yu = 0, gc = 0, qg = 0, Jg = null, Vg = 0, Kg = 1 / 0;
37949
+ var Z2 = Math.ceil, $f = S.ReactCurrentDispatcher, Hg = S.ReactCurrentOwner, Zn = 0, ei = null, go = null, Jo = 0, xl = 0, Wg = _a(0), Lo = 0, Uf = null, hc = 0, Yu = 0, gc = 0, qg = 0, Jg = null, Vg = 0, Kg = 1 / 0;
37950
37950
  function mc() {
37951
37951
  Kg = qo() + 500;
37952
37952
  }
37953
- var yv, wn = null, Hf = !1, Gg = null, Ss = null, Ta = !1, Zu = null, Qu = 90, Yg = [], Zg = [], Ws = null, Xu = 0, Qg = null, Wf = -1, ka = 0, qf = 0, ed = null, Jf = !1;
37953
+ var yv, wn = null, Hf = !1, Gg = null, Ss = null, Ta = !1, Zu = null, Qu = 90, Yg = [], Zg = [], qs = null, Xu = 0, Qg = null, Wf = -1, ka = 0, qf = 0, ed = null, Jf = !1;
37954
37954
  function Ni() {
37955
37955
  return 48 & Zn ? qo() : Wf !== -1 ? Wf : Wf = qo();
37956
37956
  }
@@ -37976,7 +37976,7 @@ Error generating stack: ` + pe.message + `
37976
37976
  if (50 < Xu)
37977
37977
  throw Xu = 0, Qg = null, Error(i(185));
37978
37978
  var re;
37979
- (k = Vf(k, P)) !== null && (gs(k, P, J), k === ei && (gc |= P, Do === 4) && yc(k, Jo), re = cc(), P === 1 ? 8 & Zn && !(48 & Zn) ? Xg(k) : (Wi(k, J), Zn === 0 && (mc(), vs())) : (!(4 & Zn) || re !== 98 && re !== 99 || (Ws === null ? Ws = /* @__PURE__ */ new Set([k]) : Ws.add(k)), Wi(k, J)), Jg = k);
37979
+ (k = Vf(k, P)) !== null && (gs(k, P, J), k === ei && (gc |= P, Lo === 4) && yc(k, Jo), re = cc(), P === 1 ? 8 & Zn && !(48 & Zn) ? Xg(k) : (Wi(k, J), Zn === 0 && (mc(), vs())) : (!(4 & Zn) || re !== 98 && re !== 99 || (qs === null ? qs = /* @__PURE__ */ new Set([k]) : qs.add(k)), Wi(k, J)), Jg = k);
37980
37980
  }
37981
37981
  function Vf(k, P) {
37982
37982
  k.lanes |= P;
@@ -37987,7 +37987,7 @@ Error generating stack: ` + pe.message + `
37987
37987
  }
37988
37988
  function Wi(k, P) {
37989
37989
  for (var J = k.callbackNode, re = k.suspendedLanes, ie = k.pingedLanes, pe = k.expirationTimes, ve = k.pendingLanes; 0 < ve; ) {
37990
- var Fe, Me = 31 - jo(ve), st = 1 << Me, Vt = pe[Me];
37990
+ var Fe, Me = 31 - Io(ve), st = 1 << Me, Vt = pe[Me];
37991
37991
  Vt === -1 ? st & re && !(st & ie) || (Vt = P, $n(st), Fe = zn, pe[Me] = 10 <= Fe ? Vt + 250 : 6 <= Fe ? Vt + 5e3 : -1) : Vt <= P && (k.expiredLanes |= st), ve &= ~st;
37992
37992
  }
37993
37993
  if (re = Qo(k, k === ei ? Jo : 0), P = zn, re === 0)
@@ -37998,7 +37998,7 @@ Error generating stack: ` + pe.message + `
37998
37998
  return;
37999
37999
  J !== vg && yg(J);
38000
38000
  }
38001
- J = P === 15 ? (J = Xg.bind(null, k), $s === null ? ($s = [J], Cf = mg(Ef, Cb)) : $s.push(J), vg) : P === 14 ? Lu(99, Xg.bind(null, k)) : Lu(J = ((Jt) => {
38001
+ J = P === 15 ? (J = Xg.bind(null, k), Us === null ? (Us = [J], Cf = mg(Ef, Cb)) : Us.push(J), vg) : P === 14 ? Lu(99, Xg.bind(null, k)) : Lu(J = ((Jt) => {
38002
38002
  switch (Jt) {
38003
38003
  case 15:
38004
38004
  case 14:
@@ -38045,7 +38045,7 @@ Error generating stack: ` + pe.message + `
38045
38045
  } catch (Fe) {
38046
38046
  xv(k, Fe);
38047
38047
  }
38048
- if (xg(), $f.current = pe, Zn = ie, re = go !== null ? 0 : (ei = null, Jo = 0, Do), hc & gc)
38048
+ if (xg(), $f.current = pe, Zn = ie, re = go !== null ? 0 : (ei = null, Jo = 0, Lo), hc & gc)
38049
38049
  bc(k, 0);
38050
38050
  else if (re !== 0) {
38051
38051
  if ((re = re === 2 && (Zn |= 64, k.hydrate && (k.hydrate = !1, fi(k.containerInfo)), (J = Ho(k)) !== 0) ? td(k, J) : re) === 1)
@@ -38073,7 +38073,7 @@ Error generating stack: ` + pe.message + `
38073
38073
  case 4:
38074
38074
  if (yc(k, J), (4186112 & J) !== J) {
38075
38075
  for (re = k.eventTimes, ie = -1; 0 < J; ) {
38076
- var ve = 31 - jo(J);
38076
+ var ve = 31 - Io(J);
38077
38077
  pe = 1 << ve, ie < (ve = re[ve]) && (ie = ve), J &= ~pe;
38078
38078
  }
38079
38079
  J = ie, 10 < (J = ((J = qo() - J) < 120 ? 120 : J < 480 ? 480 : J < 1080 ? 1080 : J < 1920 ? 1920 : J < 3e3 ? 3e3 : J < 4320 ? 4320 : 1960 * Z2(J / 1960)) - J) ? k.timeoutHandle = ho(vc.bind(null, k), J) : vc(k);
@@ -38087,7 +38087,7 @@ Error generating stack: ` + pe.message + `
38087
38087
  }
38088
38088
  function yc(k, P) {
38089
38089
  for (P = P & ~qg & ~gc, k.suspendedLanes |= P, k.pingedLanes &= ~P, k = k.expirationTimes; 0 < P; ) {
38090
- var J = 31 - jo(P), re = 1 << J;
38090
+ var J = 31 - Io(P), re = 1 << J;
38091
38091
  k[J] = -1, P &= ~re;
38092
38092
  }
38093
38093
  }
@@ -38155,7 +38155,7 @@ Error generating stack: ` + pe.message + `
38155
38155
  }
38156
38156
  J = J.return;
38157
38157
  }
38158
- go = Ia((ei = k).current, null), Jo = xl = hc = P, Uf = null, qg = gc = Yu = Do = 0;
38158
+ go = Ia((ei = k).current, null), Jo = xl = hc = P, Uf = null, qg = gc = Yu = Lo = 0;
38159
38159
  }
38160
38160
  function xv(k, P) {
38161
38161
  for (; ; ) {
@@ -38168,8 +38168,8 @@ Error generating stack: ` + pe.message + `
38168
38168
  }
38169
38169
  Df = !1;
38170
38170
  }
38171
- if (Wu = 0, Ro = Xo = oo = null, qu = !1, (Hg.current = null) === J || J.return === null) {
38172
- Do = 1, Uf = P, go = null;
38171
+ if (Wu = 0, Do = Xo = oo = null, qu = !1, (Hg.current = null) === J || J.return === null) {
38172
+ Lo = 1, Uf = P, go = null;
38173
38173
  break;
38174
38174
  }
38175
38175
  e: {
@@ -38193,7 +38193,7 @@ Error generating stack: ` + pe.message + `
38193
38193
 
38194
38194
  Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`);
38195
38195
  }
38196
- Do !== 5 && (Do = 2), Fe = zg(Fe, hn), yt = ve;
38196
+ Lo !== 5 && (Lo = 2), Fe = zg(Fe, hn), yt = ve;
38197
38197
  do
38198
38198
  switch (yt.tag) {
38199
38199
  case 3:
@@ -38233,7 +38233,7 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
38233
38233
  }
38234
38234
  if (xg(), Zn = J, $f.current = re, go !== null)
38235
38235
  throw Error(i(261));
38236
- return ei = null, Jo = 0, Do;
38236
+ return ei = null, Jo = 0, Lo;
38237
38237
  }
38238
38238
  function Sv(k) {
38239
38239
  var P = yv(k.alternate, k, xl);
@@ -38434,7 +38434,7 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
38434
38434
  }
38435
38435
  return null;
38436
38436
  case 13:
38437
- return zr(ro), Me = ve.memoizedState, 64 & ve.flags ? (ve.lanes = Fe, ve) : (Me = Me !== null, Fe = !1, pe === null ? ve.memoizedProps.fallback !== void 0 && Rf(ve) : Fe = pe.memoizedState !== null, Me && !Fe && 2 & ve.mode && (pe === null && ve.memoizedProps.unstable_avoidThisFallback !== !0 || 1 & ro.current ? Do === 0 && (Do = 3) : (Do !== 0 && Do !== 3 || (Do = 4), ei === null || !(134217727 & Yu) && !(134217727 & gc) || yc(ei, Jo))), (Me || Fe) && (ve.flags |= 4), null);
38437
+ return zr(ro), Me = ve.memoizedState, 64 & ve.flags ? (ve.lanes = Fe, ve) : (Me = Me !== null, Fe = !1, pe === null ? ve.memoizedProps.fallback !== void 0 && Rf(ve) : Fe = pe.memoizedState !== null, Me && !Fe && 2 & ve.mode && (pe === null && ve.memoizedProps.unstable_avoidThisFallback !== !0 || 1 & ro.current ? Lo === 0 && (Lo = 3) : (Lo !== 0 && Lo !== 3 || (Lo = 4), ei === null || !(134217727 & Yu) && !(134217727 & gc) || yc(ei, Jo))), (Me || Fe) && (ve.flags |= 4), null);
38438
38438
  case 4:
38439
38439
  return fc(), pe === null && Ot(ve.stateNode.containerInfo), null;
38440
38440
  case 10:
@@ -38446,7 +38446,7 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
38446
38446
  if (Jt)
38447
38447
  Gu(Me, !1);
38448
38448
  else {
38449
- if (Do !== 0 || pe !== null && 64 & pe.flags)
38449
+ if (Lo !== 0 || pe !== null && 64 & pe.flags)
38450
38450
  for (pe = ve.child; pe !== null; ) {
38451
38451
  if ((Vt = Mf(pe)) !== null) {
38452
38452
  for (ve.flags |= 64, Gu(Me, !1), (Jt = Vt.updateQueue) !== null && (ve.updateQueue = Jt, ve.flags |= 4), Me.lastEffect === null && (ve.firstEffect = null), ve.lastEffect = Me.lastEffect, Me = Fe, Fe = ve.child; Fe !== null; )
@@ -38484,7 +38484,7 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
38484
38484
  if ((P = P.sibling) !== null)
38485
38485
  return void (go = P);
38486
38486
  } while (go = P = k, P !== null);
38487
- Do === 0 && (Do = 5);
38487
+ Lo === 0 && (Lo = 5);
38488
38488
  }
38489
38489
  function vc(k) {
38490
38490
  var P = cc();
@@ -38501,11 +38501,11 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
38501
38501
  var pe = ie.lanes | ie.childLanes, ve = pe, Fe = J.pendingLanes & ~ve;
38502
38502
  J.pendingLanes = ve, J.suspendedLanes = 0, J.pingedLanes = 0, J.expiredLanes &= ve, J.mutableReadLanes &= ve, J.entangledLanes &= ve, ve = J.entanglements;
38503
38503
  for (var Me = J.eventTimes, st = J.expirationTimes; 0 < Fe; ) {
38504
- var Vt = 31 - jo(Fe), Jt = 1 << Vt;
38504
+ var Vt = 31 - Io(Fe), Jt = 1 << Vt;
38505
38505
  ve[Vt] = 0, Me[Vt] = -1, st[Vt] = -1, Fe &= ~Jt;
38506
38506
  }
38507
- if (Ws !== null && !(24 & pe) && Ws.has(J) && Ws.delete(J), J === ei && (go = ei = null, Jo = 0), (pe = 1 < ie.flags ? ie.lastEffect !== null ? (ie.lastEffect.nextEffect = ie).firstEffect : ie : ie.firstEffect) !== null) {
38508
- if (ve = Zn, Zn |= 32, Hg.current = null, Xn = Ls, rc(Me = es())) {
38507
+ if (qs !== null && !(24 & pe) && qs.has(J) && qs.delete(J), J === ei && (go = ei = null, Jo = 0), (pe = 1 < ie.flags ? ie.lastEffect !== null ? (ie.lastEffect.nextEffect = ie).firstEffect : ie : ie.firstEffect) !== null) {
38508
+ if (ve = Zn, Zn |= 32, Hg.current = null, Xn = Fs, rc(Me = es())) {
38509
38509
  if ("selectionStart" in Me)
38510
38510
  st = { start: Me.selectionStart, end: Me.selectionEnd };
38511
38511
  else
@@ -38538,7 +38538,7 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
38538
38538
  st = st || { start: 0, end: 0 };
38539
38539
  } else
38540
38540
  st = null;
38541
- ed = null, Jf = Ls = !(Nn = { focusedElem: Me, selectionRange: st }), wn = pe;
38541
+ ed = null, Jf = Fs = !(Nn = { focusedElem: Me, selectionRange: st }), wn = pe;
38542
38542
  do
38543
38543
  try {
38544
38544
  (() => {
@@ -38615,7 +38615,7 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
38615
38615
  for (typeof Mn.focus == "function" && Mn.focus(), Mn = 0; Mn < En.length; Mn++)
38616
38616
  (Pn = En[Mn]).element.scrollLeft = Pn.left, Pn.element.scrollTop = Pn.top;
38617
38617
  }
38618
- Ls = !!Xn, Nn = Xn = null, J.current = ie, wn = pe;
38618
+ Fs = !!Xn, Nn = Xn = null, J.current = ie, wn = pe;
38619
38619
  do
38620
38620
  try {
38621
38621
  for (Mn = J; wn !== null; ) {
@@ -38721,7 +38721,7 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
38721
38721
  }
38722
38722
  function X2(k, P, J) {
38723
38723
  var re = k.pingCache;
38724
- re !== null && re.delete(P), P = Ni(), k.pingedLanes |= k.suspendedLanes & J, ei === k && (Jo & J) === J && (Do === 4 || Do === 3 && (62914560 & Jo) === Jo && qo() - Vg < 500 ? bc(k, 0) : qg |= J), Wi(k, P);
38724
+ re !== null && re.delete(P), P = Ni(), k.pingedLanes |= k.suspendedLanes & J, ei === k && (Jo & J) === J && (Lo === 4 || Lo === 3 && (62914560 & Jo) === Jo && qo() - Vg < 500 ? bc(k, 0) : qg |= J), Wi(k, P);
38725
38725
  }
38726
38726
  function eT(k, P, J, re) {
38727
38727
  this.tag = k, this.key = J, this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null, this.index = 0, this.ref = null, this.pendingProps = P, this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null, this.mode = re, this.flags = 0, this.lastEffect = this.firstEffect = this.nextEffect = null, this.childLanes = this.lanes = 0, this.alternate = null;
@@ -38911,7 +38911,7 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
38911
38911
  break;
38912
38912
  case 13:
38913
38913
  if (P.memoizedState !== null)
38914
- return J & P.child.childLanes ? rv(k, P, J) : (Xr(ro, 1 & ro.current), (P = Hs(k, P, J)) !== null ? P.sibling : null);
38914
+ return J & P.child.childLanes ? rv(k, P, J) : (Xr(ro, 1 & ro.current), (P = Ws(k, P, J)) !== null ? P.sibling : null);
38915
38915
  Xr(ro, 1 & ro.current);
38916
38916
  break;
38917
38917
  case 19:
@@ -38927,7 +38927,7 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
38927
38927
  case 24:
38928
38928
  return P.lanes = 0, Xb(k, P, J);
38929
38929
  }
38930
- return Hs(k, P, J);
38930
+ return Ws(k, P, J);
38931
38931
  }
38932
38932
  rs = !!(16384 & k.flags);
38933
38933
  }
@@ -38974,9 +38974,9 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
38974
38974
  if (nv(P), re = P.updateQueue, k === null || re === null)
38975
38975
  throw Error(i(282));
38976
38976
  if (re = P.pendingProps, ie = (ie = P.memoizedState) !== null ? ie.element : null, kb(k, P), Fu(P, re, null, J), (re = P.memoizedState.element) === ie)
38977
- Og(), P = Hs(k, P, J);
38977
+ Og(), P = Ws(k, P, J);
38978
38978
  else {
38979
- if ((pe = (ie = P.stateNode).hydrate) && (Ca = Ti(P.stateNode.containerInfo.firstChild), Us = P, pe = xs = !0), pe) {
38979
+ if ((pe = (ie = P.stateNode).hydrate) && (Ca = Ti(P.stateNode.containerInfo.firstChild), Hs = P, pe = xs = !0), pe) {
38980
38980
  if ((k = ie.mutableSourceEagerHydrationData) != null)
38981
38981
  for (ie = 0; ie < k.length; ie += 2)
38982
38982
  (pe = k[ie])._workInProgressVersionPrimary = k[ie + 1], pc.push(pe);
@@ -39009,7 +39009,7 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
39009
39009
  if (Xr(Tf, ve._currentValue), ve._currentValue = pe, Me !== null)
39010
39010
  if (ve = Me.value, (pe = ui(ve, pe) ? 0 : 0 | (typeof re._calculateChangedBits == "function" ? re._calculateChangedBits(ve, pe) : 1073741823)) == 0) {
39011
39011
  if (Me.children === ie.children && !pi.current) {
39012
- P = Hs(k, P, J);
39012
+ P = Ws(k, P, J);
39013
39013
  break e;
39014
39014
  }
39015
39015
  } else
@@ -39116,7 +39116,7 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
39116
39116
  }
39117
39117
  }, yr = { Events: [Ru, ac, wf, Nt, rn, Aa, { current: !(je = function() {
39118
39118
  var k;
39119
- !(49 & Zn) && (Ws !== null && (k = Ws, Ws = null, k.forEach(function(P) {
39119
+ !(49 & Zn) && (qs !== null && (k = qs, qs = null, k.forEach(function(P) {
39120
39120
  P.expiredLanes |= 24 & P.pendingLanes, Wi(P, qo());
39121
39121
  })), vs(), Aa());
39122
39122
  }) }] }, dr = { bundleType: (e = { findFiberByHostInstance: hl, bundleType: 0, version: "17.0.2", rendererPackageName: "react-dom" }).bundleType, version: e.version, rendererPackageName: e.rendererPackageName, rendererConfig: e.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, overrideProps: null, overridePropsDeletePath: null, overridePropsRenamePath: null, setSuspenseHandler: null, scheduleUpdate: null, currentDispatcherRef: S.ReactCurrentDispatcher, findHostInstanceByFiber: function(k) {
@@ -40250,9 +40250,9 @@ To resolve this only create new StyledComponents outside of any render method an
40250
40250
  var zn, $n, Qo, Ho = Li;
40251
40251
  for (zn in Ho = w(Ho) ? Ho(gr) : Ho)
40252
40252
  gr[zn] = po[zn] = zn === "className" ? ($n = po[zn], Qo = Ho[zn], $n && Qo ? $n + " " + Qo : $n || Qo) : Ho[zn];
40253
- }), mr = (Br = [gr, po])[1], Br = Br[0], Ar = r.env.NODE_ENV !== "production" ? Ar.warnTooManyClasses : void 0, co = Ee(), Yn = Xe(), xr = Uo ? xr.generateAndInjectStyles(E, co, Yn) : xr.generateAndInjectStyles(Br, co, Yn), r.env.NODE_ENV !== "production" && !Uo && Ar && Ar(xr), Br = xr, Tn), si = mr.$as || Sn.$as || mr.as || Sn.as || Zo, Ds = lt(si), vo = mr !== Sn ? g({}, Sn, {}, mr) : Sn, dr = {};
40253
+ }), mr = (Br = [gr, po])[1], Br = Br[0], Ar = r.env.NODE_ENV !== "production" ? Ar.warnTooManyClasses : void 0, co = Ee(), Yn = Xe(), xr = Uo ? xr.generateAndInjectStyles(E, co, Yn) : xr.generateAndInjectStyles(Br, co, Yn), r.env.NODE_ENV !== "production" && !Uo && Ar && Ar(xr), Br = xr, Tn), si = mr.$as || Sn.$as || mr.as || Sn.as || Zo, Ls = lt(si), vo = mr !== Sn ? g({}, Sn, {}, mr) : Sn, dr = {};
40254
40254
  for (Nr in vo)
40255
- Nr[0] !== "$" && Nr !== "as" && (Nr === "forwardedAs" ? dr.as = vo[Nr] : (lo ? lo(Nr, h, si) : !Ds || h(Nr)) && (dr[Nr] = vo[Nr]));
40255
+ Nr[0] !== "$" && Nr !== "as" && (Nr === "forwardedAs" ? dr.as = vo[Nr] : (lo ? lo(Nr, h, si) : !Ls || h(Nr)) && (dr[Nr] = vo[Nr]));
40256
40256
  return Sn.style && mr.style !== Sn.style && (dr.style = g({}, Sn.style, {}, mr.style)), dr.className = Array.prototype.concat(_i, bo, Br !== bo ? Br : null, Sn.className, mr.className).filter(Boolean).join(" "), dr.ref = co, i.createElement(si, dr);
40257
40257
  }
40258
40258
  xe = Ue.shouldForwardProp, et && ye.shouldForwardProp && (xe = Ue.shouldForwardProp ? function(Sn, Tn, Yn) {
@@ -47339,8 +47339,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
47339
47339
  Ye = Je;
47340
47340
  }, 1), Et = f, Bt = Re.codoxLogger, Gt = Re.startCb, dt = Re.sockOpenTimer, Mt = Re.editorInstance, tn = v.reportError.bind(v), Nt = v.addBreadcrumb.bind(v), rn = v.addTag.bind(v), Oe = (this.breadCrumb = Nt, this.editorInstance = Mt, Nt("[codoxi]* ccw: t = 0; CV=" + Lt + "; seid = " + Re.sid, b), rn("clientVersion", Lt), Re.ver), $e = this, je = (this.app = Re).appType, ze = Re.sid, lt = Re.domains, bt = Re.cid, At = (lt.b(), lt.c()), Ge = (At.sw && At.sw(this), Re.sysInfo), Le = Re.anyClient, Ve = Re.founder, at = He.Write, It = (Re.role && (at = Re.role), Gt), Qt = { sid: Ye, jointime: /* @__PURE__ */ new Date(), userinfo: Object.assign({}, Re.user), role: at, founder: Ve }, Xt = (this.minfo = Qt, null), Rt = null, Ae = null, Be = (d || (this.rangy || (this.rangy = e("rangy/lib/rangy-selectionsaverestore")), this.rangy.initialized) || this.rangy.init(), this.rangy = e("rangy/lib/rangy-selectionsaverestore"), this.rangy.init(), 0), ut = null, ye = null, Ue = [], rt = null, et = l.now(), gt = 0, pt = _, xe = ee.pmod(), Ke = !1, ht = null, zt = !1, Ut = (this.setSMC = function(Je) {
47341
47341
  zt = Je;
47342
- }, null), nn = null, Yt = null, on = null, an = null, Wn = null, Sn = null, Tn = null, Yn = null, gr = null, po = !0, Nr = !0, Ar = !0, Uo = !0, mr = !0, xr = !0, Br = !0, _i = !0, lo = null, bo = null, Zo = null, co = null, si = null, Ds = null, vo = null, dr = null, Li = null, zn = null, $n = null, Qo = null, Ho = null, xi = null, Yi = null, Zi = null, gs = null;
47343
- function jo(Je) {
47342
+ }, null), nn = null, Yt = null, on = null, an = null, Wn = null, Sn = null, Tn = null, Yn = null, gr = null, po = !0, Nr = !0, Ar = !0, Uo = !0, mr = !0, xr = !0, Br = !0, _i = !0, lo = null, bo = null, Zo = null, co = null, si = null, Ls = null, vo = null, dr = null, Li = null, zn = null, $n = null, Qo = null, Ho = null, xi = null, Yi = null, Zi = null, gs = null;
47343
+ function Io(Je) {
47344
47344
  return Je && Je !== "pt" && $n.mbs.length, pt !== x && $n && $n.mbs && $n.mbs.length === 1;
47345
47345
  }
47346
47346
  function ms(Je, _t) {
@@ -47377,23 +47377,23 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
47377
47377
  (uo ? JSON.stringify(lr) != JSON.stringify(pn) : lr != pn) && An.e(vn, !1);
47378
47378
  }));
47379
47379
  }
47380
- function Ls(Je) {
47381
- return pt == x || jo(Je) || Ne() || !xe;
47380
+ function Fs(Je) {
47381
+ return pt == x || Io(Je) || Ne() || !xe;
47382
47382
  }
47383
47383
  this.LOHF = function() {
47384
47384
  Q("stopflush");
47385
- }, $e.DMODE = Ls, $e.pflusher = function(Je) {
47385
+ }, $e.DMODE = Fs, $e.pflusher = function(Je) {
47386
47386
  return Je == "LoT" || Je == "HBP" || Je == "lohjs" || Je == "opm" || Je == "smrjn" || Je == "smncm" || Je == "off";
47387
47387
  }, $e.blimit = function(Je, _t, vt) {
47388
- return jo() ? vt <= JSON.stringify(Je).length : _t <= Je.length;
47388
+ return Io() ? vt <= JSON.stringify(Je).length : _t <= Je.length;
47389
47389
  }, $e.susloh = function(Je, _t) {
47390
47390
  return !0;
47391
47391
  };
47392
- var Fs = { success: !($e.dcploh = function(Je, _t) {
47392
+ var Bs = { success: !($e.dcploh = function(Je, _t) {
47393
47393
  if (!Array.isArray(Je))
47394
47394
  throw new Error("ESTOP: DCPLOHcontrol requires an array of lohops");
47395
47395
  if (pt == x) {
47396
- if (Io)
47396
+ if (Po)
47397
47397
  h(Je);
47398
47398
  else
47399
47399
  for (var vt = 0; vt < Je.length; vt++)
@@ -47406,14 +47406,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
47406
47406
  return _t == "stopflush";
47407
47407
  }
47408
47408
  return !0;
47409
- }), state: null }, Bs = null, ys = !1;
47409
+ }), state: null }, zs = null, ys = !1;
47410
47410
  function Fi(Je) {
47411
- ys = !1, Je.success && p(Je), Bs !== null && Bs(Je);
47411
+ ys = !1, Je.success && p(Je), zs !== null && zs(Je);
47412
47412
  }
47413
- var ai = [], Bi = {}, wi = !1, zi = !1, Si = !1, $i = !1, uo = !1, Zr = !1, Io = !1, li = Mt !== void 0 && Mt.type === "draft", Po = Mt !== void 0 && Mt.type === "lexical", Qi = !1, H = !1;
47413
+ var ai = [], Bi = {}, wi = !1, zi = !1, Si = !1, $i = !1, uo = !1, Zr = !1, Po = !1, li = Mt !== void 0 && Mt.type === "draft", Mo = Mt !== void 0 && Mt.type === "lexical", Qi = !1, H = !1;
47414
47414
  function Q(Je) {
47415
47415
  var _t;
47416
- Je !== "a2ia" && (ae = !0), g(rt), _e($e) ? (0, Z.flop)(Je, $e) : Io ? V(Je, $e) : (_t = I($e), K(_t, Je, $e)), ut = null;
47416
+ Je !== "a2ia" && (ae = !0), g(rt), _e($e) ? (0, Z.flop)(Je, $e) : Po ? V(Je, $e) : (_t = I($e), K(_t, Je, $e)), ut = null;
47417
47417
  }
47418
47418
  function te(Je, _t) {
47419
47419
  ct(Je, _t);
@@ -47430,16 +47430,16 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
47430
47430
  }
47431
47431
  function tt() {
47432
47432
  var Je = null;
47433
- return At ? (_e($e) ? Je = At.getLength() : uo ? Je = JSON.stringify(At.gj()).length : li || Po ? (Je = JSON.stringify(At.gj()).length, l.now()) : Io || (Je = At.gj().length), Je) : null;
47433
+ return At ? (_e($e) ? Je = At.getLength() : uo ? Je = JSON.stringify(At.gj()).length : li || Mo ? (Je = JSON.stringify(At.gj()).length, l.now()) : Po || (Je = At.gj().length), Je) : null;
47434
47434
  }
47435
47435
  function Ze(Je, _t) {
47436
- if ((!Io || li || Po) && _t !== void 0) {
47436
+ if ((!Po || li || Mo) && _t !== void 0) {
47437
47437
  var vt = (l.now() - Xe) / 1e3;
47438
47438
  if (Je !== _t) {
47439
- if (Io || _e($e))
47439
+ if (Po || _e($e))
47440
47440
  throw console.error(new Error("[codox_checkCAID] (QJS/SJS/JSON): inconsistent AID states. Local = " + Je + "; Remote = " + _t)), Nt("[codoxe]-- caid: t = " + vt + "; l=" + Je + "; r=" + _t + "; sid = " + Ye, b), new Error("ESTOP: caid error");
47441
47441
  var Zt;
47442
- if ((Zt = uo || li || Po ? JSON.stringify(At.gj()).length : At.gj().length) !== _t)
47442
+ if ((Zt = uo || li || Mo ? JSON.stringify(At.gj()).length : At.gj().length) !== _t)
47443
47443
  throw console.error(new Error("codox_checkCAID: irrecoverable CAID-error: local-externalinfo = " + Je + " local-internalinfo = " + Zt + "; remote-externalinfo = " + _t)), Nt("[codoxi]-- caid: t = " + vt + "; li=" + Zt + "le=" + Je + " r=" + _t + "; sid = " + Ye, b), new Error("ESTOP: caid error");
47444
47444
  Nt("[codoxi]- caid: t = " + vt + "; li=" + Zt + "le=" + Je + " r=" + _t + "; sid = " + Ye, b);
47445
47445
  }
@@ -47469,7 +47469,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
47469
47469
  var _t, vt, Zt, On = Je.context.sid, An = xi.grcs(), vn = An[On];
47470
47470
  if (An === void 0)
47471
47471
  throw new Error("codox_executeSelectionOp: codoxRCS is undefined");
47472
- h(Je), h(An), _t = An[On], vt = Je.op, _t != null && vt != null && (Po ? _t.start == vt.start && _t.end == vt.end && Rn(_t.startBlkPos, vt.startBlkPos) && Rn(_t.endBlkPos, vt.endBlkPos) : li && _t.start == vt.start && _t.end == vt.end && _t.startBlkPos == vt.startBlkPos && _t.endBlkPos == vt.endBlkPos) ? (h(Je), h(An)) : (An[On] = Je.op, h(Je), h(An), me() || be() ? uo ? gs("exe-slop", { rcsobj: vn }, On) : Zi("exe-slop", On) : (Zt = { rcsobj: vn }, g(en), en = setTimeout(function() {
47472
+ h(Je), h(An), _t = An[On], vt = Je.op, _t != null && vt != null && (Mo ? _t.start == vt.start && _t.end == vt.end && Rn(_t.startBlkPos, vt.startBlkPos) && Rn(_t.endBlkPos, vt.endBlkPos) : li && _t.start == vt.start && _t.end == vt.end && _t.startBlkPos == vt.startBlkPos && _t.endBlkPos == vt.endBlkPos) ? (h(Je), h(An)) : (An[On] = Je.op, h(Je), h(An), me() || be() ? uo ? gs("exe-slop", { rcsobj: vn }, On) : Zi("exe-slop", On) : (Zt = { rcsobj: vn }, g(en), en = setTimeout(function() {
47473
47473
  (function pn(lr, wr) {
47474
47474
  en = me() || be() ? (uo ? gs("missed-cr", lr, wr) : Zi("missed-cr", wr), null) : (g(en), setTimeout(function() {
47475
47475
  pn(lr, wr);
@@ -47505,10 +47505,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
47505
47505
  for (var Je = arguments.length, _t = new Array(Je), vt = 0; vt < Je; vt++)
47506
47506
  _t[vt] = arguments[vt];
47507
47507
  var Zt, On, An = _t[0], vn = _t[1], pn = _t[2];
47508
- if (Zt = An, vn === "e" && jo() && (he($e) ? (On = (pn = lt.d(pn)).d(), pn.gj() !== On && Re.a.i({ source: "l" })) : Zt.delta ? Re.a.i({ source: "l", delta: Zt.delta }) : Re.a.i({ source: "l", delta: Zt })), (function() {
47508
+ if (Zt = An, vn === "e" && Io() && (he($e) ? (On = (pn = lt.d(pn)).d(), pn.gj() !== On && Re.a.i({ source: "l" })) : Zt.delta ? Re.a.i({ source: "l", delta: Zt.delta }) : Re.a.i({ source: "l", delta: Zt })), (function() {
47509
47509
  return !ec() || (Nt("[codoxi]- rv1; sid = " + Ye, b), Iu.apply(void 0, arguments), !1);
47510
47510
  }).apply(void 0, _t) && pt !== _ && pt !== w)
47511
- return vn === "pt" ? Ls("pt") ? void 0 : function(lr, wr) {
47511
+ return vn === "pt" ? Fs("pt") ? void 0 : function(lr, wr) {
47512
47512
  h(wr = { t: 1 < arguments.length && wr !== void 0 ? wr : "pt", op: lr }), co(wr), te(wr, null);
47513
47513
  }(An, vn) : _e($e) ? Z.loh.apply(Z, _t.concat([$e])) : void q.apply(void 0, _t.concat([$e]));
47514
47514
  }).apply(void 0, arguments);
@@ -47525,10 +47525,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
47525
47525
  }(0), l.now());
47526
47526
  }, this.gls = function() {
47527
47527
  var Je;
47528
- return pt !== E ? (pt(), Fs) : (Je = null, uo || Zr || H || $i ? Je = At.d() : (zi || Qi || Si) && (Je = At.getContents()), { success: !0, state: Je = JSON.stringify(Je) });
47528
+ return pt !== E ? (pt(), Bs) : (Je = null, uo || Zr || H || $i ? Je = At.d() : (zi || Qi || Si) && (Je = At.getContents()), { success: !0, state: Je = JSON.stringify(Je) });
47529
47529
  }, this.gss = function(Je) {
47530
- return Bs = Je, pt !== E ? (pt(), Fi(Fs)) : ys ? Fi(Fs) : (Q("syn"), _o({ a: C, smacmd: { t: "ggs" } }), ys = !0, setTimeout(function() {
47531
- Fi(Fs);
47530
+ return zs = Je, pt !== E ? (pt(), Fi(Bs)) : ys ? Fi(Bs) : (Q("syn"), _o({ a: C, smacmd: { t: "ggs" } }), ys = !0, setTimeout(function() {
47531
+ Fi(Bs);
47532
47532
  }, 1e4)), "made a SMA4GS request";
47533
47533
  }, this.smagsr = Fi, this.lcmm = function() {
47534
47534
  return Xt;
@@ -47608,13 +47608,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
47608
47608
  return pt === E;
47609
47609
  }, this.dop2sm = Z.plop, this.udoc = Y, this.gop2sm = K, this.hacm = function(Je) {
47610
47610
  var _t;
47611
- Je ? pt !== E || jo() || (Q("cmv"), bo.dmid = At.dmid, co(_t = { t: "sl", op: Je }), te(_t, null)) : p(Je);
47611
+ Je ? pt !== E || Io() || (Q("cmv"), bo.dmid = At.dmid, co(_t = { t: "sl", op: Je }), te(_t, null)) : p(Je);
47612
47612
  }, this.slotimer = function(Je) {
47613
47613
  var _t = ut;
47614
47614
  ut = l.now(), _t === null && (g(rt), rt = setTimeout(function() {
47615
47615
  (function vt(Zt) {
47616
47616
  var On = l.now() - ut, An = 250, vn = 2e3;
47617
- return jo() && _e($e) && (An = 2e3, vn = 1e4), Be += An, On < An && Be < vn ? (g(rt), rt = setTimeout(function() {
47617
+ return Io() && _e($e) && (An = 2e3, vn = 1e4), Be += An, On < An && Be < vn ? (g(rt), rt = setTimeout(function() {
47618
47618
  vt();
47619
47619
  }, An), 0) : (Q("LoT"), Be = 0, void (rt = ut = null));
47620
47620
  })();
@@ -47631,7 +47631,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
47631
47631
  var Zt = vt[_t];
47632
47632
  Zt.start && (Zt.start = -1), Zt.end && (Zt.end = -1);
47633
47633
  }
47634
- clearTimeout(rt), Be = 0, Ae = rt = null, Ue = [], Ds("all"), zn.rsto();
47634
+ clearTimeout(rt), Be = 0, Ae = rt = null, Ue = [], Ls("all"), zn.rsto();
47635
47635
  }, this.sosd = _o, this.gso = function() {
47636
47636
  return De;
47637
47637
  }, this.sso = function(Je) {
@@ -47643,11 +47643,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
47643
47643
  }, this.sst = function(Je) {
47644
47644
  dt = Je;
47645
47645
  }, this.gatype = function() {
47646
- return { codoxQJS: zi, codoxSJS: Si, codoxTinymce: H, codoxFroala: Zr, codoxFroalaNew: uo, codoxCodeMirror: Qi, codoxText: $i, codoxJSON: Io, codoxDraft: li, codoxLex: Po };
47646
+ return { codoxQJS: zi, codoxSJS: Si, codoxTinymce: H, codoxFroala: Zr, codoxFroalaNew: uo, codoxCodeMirror: Qi, codoxText: $i, codoxJSON: Po, codoxDraft: li, codoxLex: Mo };
47647
47647
  }, this.gdft = function() {
47648
47648
  return li;
47649
47649
  }, this.glx = function() {
47650
- return Po;
47650
+ return Mo;
47651
47651
  }, this.gqj = function() {
47652
47652
  return zi;
47653
47653
  }, this.gcm = function() {
@@ -47655,7 +47655,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
47655
47655
  }, this.gsj = function() {
47656
47656
  return Si;
47657
47657
  }, this.gjs = function() {
47658
- return Io;
47658
+ return Po;
47659
47659
  }, this.gtx = function() {
47660
47660
  return $i;
47661
47661
  }, this.gtn = function() {
@@ -47675,8 +47675,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
47675
47675
  }
47676
47676
  return !!((An, vn) => {
47677
47677
  it(vn);
47678
- for (var pn = "", lr = An.gj(), wr = 0, Mo = 0; Mo < vn.length; Mo++) {
47679
- var no, Ei = vn[Mo];
47678
+ for (var pn = "", lr = An.gj(), wr = 0, Ro = 0; Ro < vn.length; Ro++) {
47679
+ var no, Ei = vn[Ro];
47680
47680
  switch ((0, s.default)(Ei)) {
47681
47681
  case Ut[0]:
47682
47682
  pn += Ei;
@@ -47697,7 +47697,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
47697
47697
  return h(Je.context.dmid), !1;
47698
47698
  }, this.sm2sm = ct, this.sloet = function(Je) {
47699
47699
  ut = Je;
47700
- }, this.sus = jo, this.ird = ec, this.sjsroh = function(Je) {
47700
+ }, this.sus = Io, this.ird = ec, this.sjsroh = function(Je) {
47701
47701
  var _t = ((vt) => {
47702
47702
  null(vt);
47703
47703
  var Zt = ((vn) => {
@@ -47717,7 +47717,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
47717
47717
  var Zt;
47718
47718
  _t === "e" ? (Re.a.i({ source: "l" }), ai.push(Je), Je.data.n < Je.data.tn || (Zt = { op: [], ao: ai, inverse: [] }, ai = [], null(Zt) && Z.plop(Zt, "loh", $e))) : _t === "c" ? Je.type === "set_selection" && (Je = { start: (Zt = At.c()).anchor.offset, end: Zt.focus.offset, path: Zt.anchor.path, startpath: Zt.anchor.path, endpath: Zt.focus.path }, Zt = Je, pt === E) && Zt.start !== null && Zt.end !== null && Zt.path !== null && (Q("SJScmv"), bo.dmid = At.dmid, co(Zt = { t: "sl", op: Zt }), te(Zt, tt())) : _t == "u" && dr();
47719
47719
  }, this.subm = function() {
47720
- var Je = Re.waveId, _t = Re.user, vt = ((Je = { a: S, c: je, cx: Mt ? Mt.type : null, v: Lt, u: { memberinfo: Qt, waveid: Je, username: _t && _t.name, sysinfo: Ge, f: Ve, resetter: !1, any: Le, subid: Re.subId, mid: Re.mid, paid: Re.prevAid || "First", v: { token: Re.token }, u: Re.url, d: Re.docId, tabId: m(), jsConf: Re.jsonConfig, isBFM: !1 } }).u.jsConf, pt == x && (_t = L(), Je.rjn = { offCaid: _t.offCaid, offTo: _t.offTo, sts: _t.sessiontimestamp }, Je.rjn), Je.gcs = (_t = null, je == "quilljs" ? (vt = At.getContents(), p(vt), _t = nt(vt.ops, ["delete", "insert", "retain", "attributes"]), p(_t)) : je == "codemirror" ? (vt = At.getContents(), h(vt), h(_t = [{ cr: vt }])) : je == "json" && (li || Po) ? (_t = (0, At.gj)(), h(_t)) : (lt.a(), _t = lt.e()), _t), se(Je), Je.gcs.length);
47720
+ var Je = Re.waveId, _t = Re.user, vt = ((Je = { a: S, c: je, cx: Mt ? Mt.type : null, v: Lt, u: { memberinfo: Qt, waveid: Je, username: _t && _t.name, sysinfo: Ge, f: Ve, resetter: !1, any: Le, subid: Re.subId, mid: Re.mid, paid: Re.prevAid || "First", v: { token: Re.token }, u: Re.url, d: Re.docId, tabId: m(), jsConf: Re.jsonConfig, isBFM: !1 } }).u.jsConf, pt == x && (_t = L(), Je.rjn = { offCaid: _t.offCaid, offTo: _t.offTo, sts: _t.sessiontimestamp }, Je.rjn), Je.gcs = (_t = null, je == "quilljs" ? (vt = At.getContents(), p(vt), _t = nt(vt.ops, ["delete", "insert", "retain", "attributes"]), p(_t)) : je == "codemirror" ? (vt = At.getContents(), h(vt), h(_t = [{ cr: vt }])) : je == "json" && (li || Mo) ? (_t = (0, At.gj)(), h(_t)) : (lt.a(), _t = lt.e()), _t), se(Je), Je.gcs.length);
47721
47721
  5e7 <= vt ? (console.error("codox_sendSubscribe2SM: oversize init GCS = " + vt), Nt("[codoxe]-- osgcs: r=10; len=" + vt + "; sid = " + Ye), ms(10)) : (Je.cmm = ce(36), Xt = Je.cmm, h(Je), _o(Je));
47722
47722
  }, this.subr = function(Je) {
47723
47723
  Qr = !0;
@@ -47756,7 +47756,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
47756
47756
  $i = !0;
47757
47757
  break;
47758
47758
  case nn[10]:
47759
- Io = !0;
47759
+ Po = !0;
47760
47760
  break;
47761
47761
  case nn[12]:
47762
47762
  Qi = !0;
@@ -47766,9 +47766,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
47766
47766
  }
47767
47767
  wi = Zr || uo || $i || H;
47768
47768
  }
47769
- if (vt.sot && (Ut = vt.sot, $e.jstp = Ut), vt.tmk && (Wn = vt.tmk.o, Sn = vt.tmk.c, gr = vt.tmk.tn, Tn = vt.tmk.m, Yn = '<span id="' + Tn + "_"), vt.lmt && (vt.lmt.mos, on = vt.lmt.mms, an = vt.lmt.dms, $e.lmt = vt.lmt), vt.dt && (Yt = vt.dt, $e.dlttp = Yt), xr || (Zt = Ye, lo = new B($e, !1, xr), (bo = lo.gct()).sid = Zt, Zo = lo.pr, lo.pl, co = lo.sc, si = lo.aptm, Ds = lo.rstm, lo.satm, $e.pt = lo, vo = new R($e, lo, xr, Ut), dr = vo.pu, Li = vo.gfdt, $e.pu = vo), !Uo && !Br)
47769
+ if (vt.sot && (Ut = vt.sot, $e.jstp = Ut), vt.tmk && (Wn = vt.tmk.o, Sn = vt.tmk.c, gr = vt.tmk.tn, Tn = vt.tmk.m, Yn = '<span id="' + Tn + "_"), vt.lmt && (vt.lmt.mos, on = vt.lmt.mms, an = vt.lmt.dms, $e.lmt = vt.lmt), vt.dt && (Yt = vt.dt, $e.dlttp = Yt), xr || (Zt = Ye, lo = new B($e, !1, xr), (bo = lo.gct()).sid = Zt, Zo = lo.pr, lo.pl, co = lo.sc, si = lo.aptm, Ls = lo.rstm, lo.satm, $e.pt = lo, vo = new R($e, lo, xr, Ut), dr = vo.pu, Li = vo.gfdt, $e.pu = vo), !Uo && !Br)
47770
47770
  if (_i || !zi && !Qi)
47771
- if (uo || Io) {
47771
+ if (uo || Po) {
47772
47772
  vt = { obf: Br, types: Ut }, Ce.type.init(vt), Zt = { obf: Uo, ob: Wn, cb: Sn, tiny: H, tinysc: gr };
47773
47773
  var On = At.differ;
47774
47774
  if (!On)
@@ -47778,7 +47778,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
47778
47778
  vt = { obf: Uo, ob: Wn, cb: Sn, tiny: H, tinysc: gr }, Zt = { obf: Br, types: Ut }, Te.sdfi(vt), ke.rtfi(Zt), $e.rtf = ke, $e.sdf = Te;
47779
47779
  else
47780
47780
  On = { types: Ut, dt: Yt, obf: !1 }, de.di(On), $e.dtf = de;
47781
- mr || (xi = new O({ cw: $e, app: Re, cmd: At, type: Ut, obfroh: mr, obfcr: Ar }), Yi = xi.urcs, Zi = xi.uc, gs = xi.nuc, $e.rcs = xi), vt = je == "quilljs" || je == "quilljs_clickup" ? At.getContents() : Po || li ? At.gj() : At.d(), zn = new F({ cw: $e, cb: It, app: Re, cd: lt, cmd: At, mi: Qt, lidoc: vt, log: Bt, tm: Ee, obf: Nr, bv: Oe }), Ho = zn.rs, $n = zn.se, $e.se = $n, Qo = zn.pc, $e.dsm = zn, li || Po || lt.a(), Bi[0] = H ? { pos: 48 } : { pos: -1 };
47781
+ mr || (xi = new O({ cw: $e, app: Re, cmd: At, type: Ut, obfroh: mr, obfcr: Ar }), Yi = xi.urcs, Zi = xi.uc, gs = xi.nuc, $e.rcs = xi), vt = je == "quilljs" || je == "quilljs_clickup" ? At.getContents() : Mo || li ? At.gj() : At.d(), zn = new F({ cw: $e, cb: It, app: Re, cd: lt, cmd: At, mi: Qt, lidoc: vt, log: Bt, tm: Ee, obf: Nr, bv: Oe }), Ho = zn.rs, $n = zn.se, $e.se = $n, Qo = zn.pc, $e.dsm = zn, li || Mo || lt.a(), Bi[0] = H ? { pos: 48 } : { pos: -1 };
47782
47782
  for (var An = 1; An < 5; An++)
47783
47783
  Bi[An] = { pos: -1 };
47784
47784
  if (Ve) {
@@ -54648,7 +54648,7 @@ var VA = (c) => {
54648
54648
  var t = {};
54649
54649
  return In.d(t, c), t;
54650
54650
  };
54651
- const $t = VA({ $addUpdateTag: () => BT, $createNodeSelection: () => Xp, $createParagraphNode: () => kn, $createRangeSelection: () => yu, $getEditor: () => VT, $getNodeByKey: () => er, $getRoot: () => Ln, $getSelection: () => jt, $isDecoratorNode: () => _r, $isElementNode: () => kt, $isLineBreakNode: () => As, $isNodeSelection: () => io, $isParagraphNode: () => Ir, $isRangeSelection: () => Tt, $isTextNode: () => Kt, $nodesOfType: () => ww, $setSelection: () => Wr, CAN_REDO_COMMAND: () => Jc, CAN_UNDO_COMMAND: () => Vc, CLEAR_EDITOR_COMMAND: () => Nh, COMMAND_PRIORITY_CRITICAL: () => Fo, COMMAND_PRIORITY_EDITOR: () => jn, CUT_COMMAND: () => Xd, DecoratorNode: () => la, ElementNode: () => Vr, KEY_BACKSPACE_COMMAND: () => el, KEY_DELETE_COMMAND: () => tl, KEY_ESCAPE_COMMAND: () => Zl, LineBreakNode: () => gu, PASTE_COMMAND: () => aa, ParagraphNode: () => il, REDO_COMMAND: () => ou, RootNode: () => vu, TextNode: () => so, UNDO_COMMAND: () => ru, createCommand: () => Ao, createEditor: () => $h });
54651
+ const $t = VA({ $addUpdateTag: () => BT, $createNodeSelection: () => Xp, $createParagraphNode: () => kn, $createRangeSelection: () => yu, $getEditor: () => VT, $getNodeByKey: () => er, $getRoot: () => Ln, $getSelection: () => jt, $isDecoratorNode: () => _r, $isElementNode: () => kt, $isLineBreakNode: () => As, $isNodeSelection: () => io, $isParagraphNode: () => Ir, $isRangeSelection: () => Tt, $isTextNode: () => Kt, $nodesOfType: () => ww, $setSelection: () => Wr, CAN_REDO_COMMAND: () => Jc, CAN_UNDO_COMMAND: () => Vc, CLEAR_EDITOR_COMMAND: () => Nh, COMMAND_PRIORITY_CRITICAL: () => To, COMMAND_PRIORITY_EDITOR: () => jn, CUT_COMMAND: () => Xd, DecoratorNode: () => la, ElementNode: () => Vr, KEY_BACKSPACE_COMMAND: () => el, KEY_DELETE_COMMAND: () => tl, KEY_ESCAPE_COMMAND: () => Zl, LineBreakNode: () => gu, PASTE_COMMAND: () => Rs, ParagraphNode: () => il, REDO_COMMAND: () => ou, RootNode: () => vu, TextNode: () => so, UNDO_COMMAND: () => ru, createCommand: () => jo, createEditor: () => $h });
54652
54652
  var KA = (c) => {
54653
54653
  var t = {};
54654
54654
  return In.d(t, c), t;
@@ -54671,11 +54671,11 @@ function ej() {
54671
54671
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
54672
54672
  return cp(XA);
54673
54673
  }
54674
- const Lo = [];
54674
+ const Fo = [];
54675
54675
  for (let c = 0; c < 256; ++c)
54676
- Lo.push((c + 256).toString(16).slice(1));
54676
+ Fo.push((c + 256).toString(16).slice(1));
54677
54677
  function tj(c, t = 0) {
54678
- return Lo[c[t + 0]] + Lo[c[t + 1]] + Lo[c[t + 2]] + Lo[c[t + 3]] + "-" + Lo[c[t + 4]] + Lo[c[t + 5]] + "-" + Lo[c[t + 6]] + Lo[c[t + 7]] + "-" + Lo[c[t + 8]] + Lo[c[t + 9]] + "-" + Lo[c[t + 10]] + Lo[c[t + 11]] + Lo[c[t + 12]] + Lo[c[t + 13]] + Lo[c[t + 14]] + Lo[c[t + 15]];
54678
+ return Fo[c[t + 0]] + Fo[c[t + 1]] + Fo[c[t + 2]] + Fo[c[t + 3]] + "-" + Fo[c[t + 4]] + Fo[c[t + 5]] + "-" + Fo[c[t + 6]] + Fo[c[t + 7]] + "-" + Fo[c[t + 8]] + Fo[c[t + 9]] + "-" + Fo[c[t + 10]] + Fo[c[t + 11]] + Fo[c[t + 12]] + Fo[c[t + 13]] + Fo[c[t + 14]] + Fo[c[t + 15]];
54679
54679
  }
54680
54680
  function nj(c, t, n) {
54681
54681
  if (x_.randomUUID && !t && !c)
@@ -57398,7 +57398,7 @@ function fP(c, t) {
57398
57398
  n = n[e];
57399
57399
  return n;
57400
57400
  }
57401
- function Ys() {
57401
+ function Zs() {
57402
57402
  let { pathArray: c, newStateJSON: t = null, searchInNewState: n = !1, editor: e = null, codoxNodesMap: a, currentStateJSON: o } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
57403
57403
  if (n && !t)
57404
57404
  return mt.default.debug("[getLexicalNodeByPathOutOfJSONState]: new state is not providerd for search - stop", { pathArray: c, newStateJSON: t, searchInNewState: n }), null;
@@ -57410,7 +57410,7 @@ function Ys() {
57410
57410
  l = fP(c, s);
57411
57411
  } catch {
57412
57412
  }
57413
- return l && (r = Dl(l) ? (0, $t.$getRoot)() : a.get(l.codoxId)), r || (n ? r : Ys({ pathArray: c, newStateJSON: t, searchInNewState: !0, editor: e, codoxNodesMap: a, currentStateJSON: o }));
57413
+ return l && (r = Dl(l) ? (0, $t.$getRoot)() : a.get(l.codoxId)), r || (n ? r : Zs({ pathArray: c, newStateJSON: t, searchInNewState: !0, editor: e, codoxNodesMap: a, currentStateJSON: o }));
57414
57414
  }
57415
57415
  function aC(c, t) {
57416
57416
  mt.default.debug("[applyFullLexicalStateReplace] clear current state and apply new");
@@ -57445,7 +57445,7 @@ function pP() {
57445
57445
  if (r.oi && r.oi.root)
57446
57446
  return aC(r.oi, e);
57447
57447
  } else if (h) {
57448
- let _ = p - 1, E = Ys({ pathArray: l.slice(0, _), newStateJSON: c, editor: e, codoxNodesMap: o, currentStateJSON: a });
57448
+ let _ = p - 1, E = Zs({ pathArray: l.slice(0, _), newStateJSON: c, editor: e, codoxNodesMap: o, currentStateJSON: a });
57449
57449
  if (E) {
57450
57450
  let w = l[_], x = bd(w), y = E.getWritable()[x], S = l.slice(0, p), C = c;
57451
57451
  for (const O of S)
@@ -57468,7 +57468,7 @@ function pP() {
57468
57468
  continue;
57469
57469
  }
57470
57470
  l.length = l.length - 1;
57471
- let E = Ys({ pathArray: l, newStateJSON: c, editor: e, codoxNodesMap: o, currentStateJSON: a });
57471
+ let E = Zs({ pathArray: l, newStateJSON: c, editor: e, codoxNodesMap: o, currentStateJSON: a });
57472
57472
  if (!E) {
57473
57473
  mt.default.warn("[applyDeltasToLexicalState][====WARNING====] SKIPPED. lexicalParentNode is not found", { delta: r });
57474
57474
  continue;
@@ -57549,7 +57549,7 @@ function pP() {
57549
57549
  else {
57550
57550
  const S = l[l.length - 1];
57551
57551
  l.length = l.length - 2;
57552
- let C = Ys({ pathArray: l, newStateJSON: c, editor: e, codoxNodesMap: o, currentStateJSON: a });
57552
+ let C = Zs({ pathArray: l, newStateJSON: c, editor: e, codoxNodesMap: o, currentStateJSON: a });
57553
57553
  C && (C.splice(S, 0, [y]), _ && C.splice(S + 1, 1, []));
57554
57554
  }
57555
57555
  if (x.children && x.children.length) {
@@ -57565,7 +57565,7 @@ function pP() {
57565
57565
  }
57566
57566
  }
57567
57567
  if (r.oi || r.od) {
57568
- let { p: E, oi: w, od: x } = r, y = Ys({ pathArray: E, newStateJSON: c, editor: e, codoxNodesMap: o, currentStateJSON: a });
57568
+ let { p: E, oi: w, od: x } = r, y = Zs({ pathArray: E, newStateJSON: c, editor: e, codoxNodesMap: o, currentStateJSON: a });
57569
57569
  if (y)
57570
57570
  try {
57571
57571
  let S = y.getWritable();
@@ -57586,20 +57586,20 @@ function pP() {
57586
57586
  if (b) {
57587
57587
  let { p: E, lm: w } = r;
57588
57588
  if (typeof w == "number") {
57589
- let x = E[E.length - 1], y = w, S = y < x, C = Ys({ pathArray: E, newStateJSON: c, editor: e, codoxNodesMap: o, currentStateJSON: a });
57589
+ let x = E[E.length - 1], y = w, S = y < x, C = Zs({ pathArray: E, newStateJSON: c, editor: e, codoxNodesMap: o, currentStateJSON: a });
57590
57590
  if (C) {
57591
57591
  let O = C.getParent().getChildren(), F = O[x], B = O[y];
57592
57592
  S ? B.insertBefore(F) : B.insertAfter(F);
57593
57593
  }
57594
57594
  } else if (Array.isArray(w)) {
57595
- let x = Ys({ pathArray: E, newStateJSON: c, editor: e, codoxNodesMap: o, currentStateJSON: a });
57595
+ let x = Zs({ pathArray: E, newStateJSON: c, editor: e, codoxNodesMap: o, currentStateJSON: a });
57596
57596
  if (!x) {
57597
57597
  mt.default.warn("Lexical node to move not found by delta path: ", { delta: r });
57598
57598
  continue;
57599
57599
  }
57600
57600
  let y = w[w.length - 1];
57601
57601
  w.length = w.length - 2;
57602
- let S = Ys({ pathArray: w, newStateJSON: c, editor: e, codoxNodesMap: o, currentStateJSON: a });
57602
+ let S = Zs({ pathArray: w, newStateJSON: c, editor: e, codoxNodesMap: o, currentStateJSON: a });
57603
57603
  if (!S) {
57604
57604
  mt.default.warn("Lexical parent node for move into, is not found by delta path: ", { delta: r });
57605
57605
  continue;
@@ -57613,7 +57613,7 @@ function pP() {
57613
57613
  const _ = l[l.length - 1];
57614
57614
  let E = bd(_);
57615
57615
  l.length = l.length - 1;
57616
- let w, x = Ys({ pathArray: l, newStateJSON: c, editor: e, codoxNodesMap: o, currentStateJSON: a });
57616
+ let w, x = Zs({ pathArray: l, newStateJSON: c, editor: e, codoxNodesMap: o, currentStateJSON: a });
57617
57617
  if (!x) {
57618
57618
  mt.default.warn("[stateUpdates][applyDeltasToLexicalState] Missing lexical node when update node attr from delta: ", { path: l, delta: r, newStateJSON: c, currentStateJSON: a });
57619
57619
  continue;
@@ -59753,7 +59753,7 @@ var Ll = {
59753
59753
  r[l] = e[s];
59754
59754
  }), Ri.createElement(t, r);
59755
59755
  });
59756
- }, Ks = function(t, n, e) {
59756
+ }, Gs = function(t, n, e) {
59757
59757
  switch (t) {
59758
59758
  case Gn.TITLE:
59759
59759
  return {
@@ -59787,15 +59787,15 @@ var Ll = {
59787
59787
  }, OC = function(t) {
59788
59788
  var n = t.baseTag, e = t.bodyAttributes, a = t.encode, o = t.htmlAttributes, r = t.linkTags, s = t.metaTags, l = t.noscriptTags, i = t.scriptTags, u = t.styleTags, f = t.title, d = f === void 0 ? "" : f, p = t.titleAttributes;
59789
59789
  return {
59790
- base: Ks(Gn.BASE, n, a),
59791
- bodyAttributes: Ks(Ll.BODY, e, a),
59792
- htmlAttributes: Ks(Ll.HTML, o, a),
59793
- link: Ks(Gn.LINK, r, a),
59794
- meta: Ks(Gn.META, s, a),
59795
- noscript: Ks(Gn.NOSCRIPT, l, a),
59796
- script: Ks(Gn.SCRIPT, i, a),
59797
- style: Ks(Gn.STYLE, u, a),
59798
- title: Ks(Gn.TITLE, { title: d, titleAttributes: p }, a)
59790
+ base: Gs(Gn.BASE, n, a),
59791
+ bodyAttributes: Gs(Ll.BODY, e, a),
59792
+ htmlAttributes: Gs(Ll.HTML, o, a),
59793
+ link: Gs(Gn.LINK, r, a),
59794
+ meta: Gs(Gn.META, s, a),
59795
+ noscript: Gs(Gn.NOSCRIPT, l, a),
59796
+ script: Gs(Gn.SCRIPT, i, a),
59797
+ style: Gs(Gn.STYLE, u, a),
59798
+ title: Gs(Gn.TITLE, { title: d, titleAttributes: p }, a)
59799
59799
  };
59800
59800
  }, bM = function(t) {
59801
59801
  var n, e;
@@ -60005,7 +60005,7 @@ const NC = ({ styleConfig: c }) => {
60005
60005
  padding-bottom: 2px;
60006
60006
  }
60007
60007
  ` }) });
60008
- }, AC = Ao(), xM = (c) => {
60008
+ }, AC = jo(), xM = (c) => {
60009
60009
  let t = 5381;
60010
60010
  const n = c.trim().replace(/\s+/g, " ");
60011
60011
  for (let e = 0; e < n.length; e++)
@@ -60707,7 +60707,7 @@ const ob = () => new mf(), KM = (c) => {
60707
60707
  for (let n = 0; n < c.bufs.length; n++)
60708
60708
  t += c.bufs[n].length;
60709
60709
  return t;
60710
- }, ea = (c) => {
60710
+ }, ta = (c) => {
60711
60711
  const t = new Uint8Array(KM(c));
60712
60712
  let n = 0;
60713
60713
  for (let e = 0; e < c.bufs.length; e++) {
@@ -60829,7 +60829,7 @@ class Dp {
60829
60829
  * Note that this should only be called once.
60830
60830
  */
60831
60831
  toUint8Array() {
60832
- return kx(this), ea(this.encoder);
60832
+ return kx(this), ta(this.encoder);
60833
60833
  }
60834
60834
  }
60835
60835
  const Ox = (c) => {
@@ -60854,7 +60854,7 @@ class Ym {
60854
60854
  * Note that this should only be called once.
60855
60855
  */
60856
60856
  toUint8Array() {
60857
- return Ox(this), ea(this.encoder);
60857
+ return Ox(this), ta(this.encoder);
60858
60858
  }
60859
60859
  }
60860
60860
  class rR {
@@ -60869,7 +60869,7 @@ class rR {
60869
60869
  }
60870
60870
  toUint8Array() {
60871
60871
  const t = new mf();
60872
- return this.sarr.push(this.s), this.s = "", nu(t, this.sarr.join("")), sb(t, this.lensE.toUint8Array()), ea(t);
60872
+ return this.sarr.push(this.s), this.s = "", nu(t, this.sarr.join("")), sb(t, this.lensE.toUint8Array()), ta(t);
60873
60873
  }
60874
60874
  }
60875
60875
  const du = (c) => new Error(c), Is = () => {
@@ -60962,7 +60962,7 @@ class xR {
60962
60962
  this.left = t, this.right = n;
60963
60963
  }
60964
60964
  }
60965
- const Gs = (c, t) => new xR(c, t);
60965
+ const Ys = (c, t) => new xR(c, t);
60966
60966
  typeof DOMParser < "u" && new DOMParser();
60967
60967
  const wR = (c) => IM(c, (t, n) => `${n}:${t};`).join(""), ga = Symbol, zC = ga(), $C = ga(), SR = ga(), ER = ga(), CR = ga(), UC = ga(), TR = ga(), HC = ga(), kR = ga(), OR = (c) => {
60968
60968
  var a;
@@ -60986,16 +60986,16 @@ const wR = (c) => IM(c, (t, n) => `${n}:${t};`).join(""), ga = Symbol, zC = ga()
60986
60986
  }
60987
60987
  return n;
60988
60988
  }, NR = {
60989
- [zC]: Gs("font-weight", "bold"),
60990
- [$C]: Gs("font-weight", "normal"),
60991
- [SR]: Gs("color", "blue"),
60992
- [CR]: Gs("color", "green"),
60993
- [ER]: Gs("color", "grey"),
60994
- [UC]: Gs("color", "red"),
60995
- [TR]: Gs("color", "purple"),
60996
- [HC]: Gs("color", "orange"),
60989
+ [zC]: Ys("font-weight", "bold"),
60990
+ [$C]: Ys("font-weight", "normal"),
60991
+ [SR]: Ys("color", "blue"),
60992
+ [CR]: Ys("color", "green"),
60993
+ [ER]: Ys("color", "grey"),
60994
+ [UC]: Ys("color", "red"),
60995
+ [TR]: Ys("color", "purple"),
60996
+ [HC]: Ys("color", "orange"),
60997
60997
  // not well supported in chrome when debugging node with inspector - TODO: deprecate
60998
- [kR]: Gs("color", "black")
60998
+ [kR]: Ys("color", "black")
60999
60999
  }, AR = (c) => {
61000
61000
  var r;
61001
61001
  c.length === 1 && ((r = c[0]) == null ? void 0 : r.constructor) === Function && (c = /** @type {Array<string|Symbol|Object|number>} */
@@ -61325,7 +61325,7 @@ class BR {
61325
61325
  this.restEncoder = ob();
61326
61326
  }
61327
61327
  toUint8Array() {
61328
- return ea(this.restEncoder);
61328
+ return ta(this.restEncoder);
61329
61329
  }
61330
61330
  resetDsCurVal() {
61331
61331
  }
@@ -61424,7 +61424,7 @@ class $R {
61424
61424
  this.restEncoder = ob(), this.dsCurrVal = 0;
61425
61425
  }
61426
61426
  toUint8Array() {
61427
- return ea(this.restEncoder);
61427
+ return ta(this.restEncoder);
61428
61428
  }
61429
61429
  resetDsCurVal() {
61430
61430
  this.dsCurrVal = 0;
@@ -61449,7 +61449,7 @@ class UR extends $R {
61449
61449
  }
61450
61450
  toUint8Array() {
61451
61451
  const t = ob();
61452
- return Or(t, 0), Ai(t, this.keyClockEncoder.toUint8Array()), Ai(t, this.clientEncoder.toUint8Array()), Ai(t, this.leftClockEncoder.toUint8Array()), Ai(t, this.rightClockEncoder.toUint8Array()), Ai(t, ea(this.infoEncoder)), Ai(t, this.stringEncoder.toUint8Array()), Ai(t, ea(this.parentInfoEncoder)), Ai(t, this.typeRefEncoder.toUint8Array()), Ai(t, this.lenEncoder.toUint8Array()), sb(t, ea(this.restEncoder)), ea(t);
61452
+ return Or(t, 0), Ai(t, this.keyClockEncoder.toUint8Array()), Ai(t, this.clientEncoder.toUint8Array()), Ai(t, this.leftClockEncoder.toUint8Array()), Ai(t, this.rightClockEncoder.toUint8Array()), Ai(t, ta(this.infoEncoder)), Ai(t, this.stringEncoder.toUint8Array()), Ai(t, ta(this.parentInfoEncoder)), Ai(t, this.typeRefEncoder.toUint8Array()), Ai(t, this.lenEncoder.toUint8Array()), sb(t, ta(this.restEncoder)), ta(t);
61453
61453
  }
61454
61454
  /**
61455
61455
  * @param {ID} id
@@ -61538,7 +61538,7 @@ class UR extends $R {
61538
61538
  }
61539
61539
  const HR = (c, t, n, e) => {
61540
61540
  e = Nu(e, t[0].id.clock);
61541
- const a = oa(t, e);
61541
+ const a = ia(t, e);
61542
61542
  Or(c.restEncoder, t.length - a), c.writeClient(n), Or(c.restEncoder, e);
61543
61543
  const o = t[a];
61544
61544
  o.write(c, e - o.id.clock);
@@ -61617,7 +61617,7 @@ const cb = (c) => {
61617
61617
  throw Yl();
61618
61618
  }
61619
61619
  n.push(t);
61620
- }, oa = (c, t) => {
61620
+ }, ia = (c, t) => {
61621
61621
  let n = 0, e = c.length - 1, a = c[e], o = a.id.clock;
61622
61622
  if (o === t)
61623
61623
  return e;
@@ -61634,12 +61634,12 @@ const cb = (c) => {
61634
61634
  throw Yl();
61635
61635
  }, GR = (c, t) => {
61636
61636
  const n = c.clients.get(t.client);
61637
- return n[oa(n, t.clock)];
61637
+ return n[ia(n, t.clock)];
61638
61638
  }, Qm = (
61639
61639
  /** @type {function(StructStore,ID):Item} */
61640
61640
  GR
61641
61641
  ), r0 = (c, t, n) => {
61642
- const e = oa(t, n), a = t[e];
61642
+ const e = ia(t, n), a = t[e];
61643
61643
  return a.id.clock < n && a instanceof Go ? (t.splice(e + 1, 0, y2(c, a, n - a.id.clock)), e + 1) : e;
61644
61644
  }, Xa = (c, t) => {
61645
61645
  const n = (
@@ -61648,14 +61648,14 @@ const cb = (c) => {
61648
61648
  );
61649
61649
  return n[r0(c, n, t.clock)];
61650
61650
  }, Rx = (c, t, n) => {
61651
- const e = t.clients.get(n.client), a = oa(e, n.clock), o = e[a];
61651
+ const e = t.clients.get(n.client), a = ia(e, n.clock), o = e[a];
61652
61652
  return n.clock !== o.id.clock + o.length - 1 && o.constructor !== Ua && e.splice(a + 1, 0, y2(c, o, n.clock - o.id.clock + 1)), o;
61653
61653
  }, YR = (c, t, n) => {
61654
61654
  const e = (
61655
61655
  /** @type {Array<GC|Item>} */
61656
61656
  c.clients.get(t.id.client)
61657
61657
  );
61658
- e[oa(e, t.id.clock)] = n;
61658
+ e[ia(e, t.id.clock)] = n;
61659
61659
  }, QC = (c, t, n, e, a) => {
61660
61660
  if (e === 0)
61661
61661
  return;
@@ -61702,7 +61702,7 @@ const Dx = (c, t) => t.deleteSet.clients.size === 0 && !PM(t.afterState, (n, e)
61702
61702
  );
61703
61703
  for (let r = a.length - 1; r >= 0; r--) {
61704
61704
  const s = a[r], l = s.clock + s.len;
61705
- for (let i = oa(o, s.clock), u = o[i]; i < o.length && u.id.clock < l; u = o[++i]) {
61705
+ for (let i = ia(o, s.clock), u = o[i]; i < o.length && u.id.clock < l; u = o[++i]) {
61706
61706
  const f = o[i];
61707
61707
  if (s.clock + s.len <= f.id.clock)
61708
61708
  break;
@@ -61717,7 +61717,7 @@ const Dx = (c, t) => t.deleteSet.clients.size === 0 && !PM(t.afterState, (n, e)
61717
61717
  t.clients.get(e)
61718
61718
  );
61719
61719
  for (let o = n.length - 1; o >= 0; o--) {
61720
- const r = n[o], s = RC(a.length - 1, 1 + oa(a, r.clock + r.len - 1));
61720
+ const r = n[o], s = RC(a.length - 1, 1 + ia(a, r.clock + r.len - 1));
61721
61721
  for (let l = s, i = a[l]; l > 0 && i.id.clock >= r.clock; i = a[l])
61722
61722
  l -= 1 + Fp(a, l);
61723
61723
  }
@@ -61748,7 +61748,7 @@ const Dx = (c, t) => t.deleteSet.clients.size === 0 && !PM(t.afterState, (n, e)
61748
61748
  const p = (
61749
61749
  /** @type {Array<GC|Item>} */
61750
61750
  a.clients.get(f)
61751
- ), h = Nu(oa(p, d), 1);
61751
+ ), h = Nu(ia(p, d), 1);
61752
61752
  for (let m = p.length - 1; m >= h; )
61753
61753
  m -= 1 + Fp(p, m);
61754
61754
  }
@@ -61757,7 +61757,7 @@ const Dx = (c, t) => t.deleteSet.clients.size === 0 && !PM(t.afterState, (n, e)
61757
61757
  const { client: f, clock: d } = r[u].id, p = (
61758
61758
  /** @type {Array<GC|Item>} */
61759
61759
  a.clients.get(f)
61760
- ), h = oa(p, d);
61760
+ ), h = ia(p, d);
61761
61761
  h + 1 < p.length && Fp(p, h + 1) > 1 || h > 0 && Fp(p, h);
61762
61762
  }
61763
61763
  if (!n.local && n.afterState.get(e.clientID) !== n.beforeState.get(e.clientID) && (IR(HC, zC, "[yjs] ", $C, UC, "Changed the client-id because another client seems to be using it."), e.clientID = GC()), e.emit("afterTransactionCleanup", [n, e]), e._observers.has("update")) {
@@ -62764,7 +62764,7 @@ class o0 {
62764
62764
  */
62765
62765
  forward() {
62766
62766
  switch (this.right === null && Yl(), this.right.content.constructor) {
62767
- case No:
62767
+ case Ao:
62768
62768
  this.right.deleted || Au(
62769
62769
  this.currentAttributes,
62770
62770
  /** @type {ContentFormat} */
@@ -62781,7 +62781,7 @@ class o0 {
62781
62781
  const Bx = (c, t, n) => {
62782
62782
  for (; t.right !== null && n > 0; ) {
62783
62783
  switch (t.right.content.constructor) {
62784
- case No:
62784
+ case Ao:
62785
62785
  t.right.deleted || Au(
62786
62786
  t.currentAttributes,
62787
62787
  /** @type {ContentFormat} */
@@ -62805,7 +62805,7 @@ const Bx = (c, t, n) => {
62805
62805
  return Bx(c, r, n);
62806
62806
  }
62807
62807
  }, f2 = (c, t, n, e) => {
62808
- for (; n.right !== null && (n.right.deleted === !0 || n.right.content.constructor === No && qa(
62808
+ for (; n.right !== null && (n.right.deleted === !0 || n.right.content.constructor === Ao && qa(
62809
62809
  e.get(
62810
62810
  /** @type {ContentFormat} */
62811
62811
  n.right.content.key
@@ -62819,7 +62819,7 @@ const Bx = (c, t, n) => {
62819
62819
  ), n.forward();
62820
62820
  const a = c.doc, o = a.clientID;
62821
62821
  e.forEach((r, s) => {
62822
- const l = n.left, i = n.right, u = new Go(to(o, yi(a.store, o)), l, l && l.lastId, i, i && i.id, t, null, new No(s, r));
62822
+ const l = n.left, i = n.right, u = new Go(to(o, yi(a.store, o)), l, l && l.lastId, i, i && i.id, t, null, new Ao(s, r));
62823
62823
  u.integrate(c, 0), n.right = u, n.forward();
62824
62824
  });
62825
62825
  }, Au = (c, t) => {
@@ -62827,7 +62827,7 @@ const Bx = (c, t, n) => {
62827
62827
  e === null ? c.delete(n) : c.set(n, e);
62828
62828
  }, p2 = (c, t) => {
62829
62829
  for (; c.right !== null; ) {
62830
- if (!(c.right.deleted || c.right.content.constructor === No && qa(
62830
+ if (!(c.right.deleted || c.right.content.constructor === Ao && qa(
62831
62831
  t[
62832
62832
  /** @type {ContentFormat} */
62833
62833
  c.right.content.key
@@ -62845,7 +62845,7 @@ const Bx = (c, t, n) => {
62845
62845
  if (!qa(i, l)) {
62846
62846
  r.set(s, i);
62847
62847
  const { left: u, right: f } = n;
62848
- n.right = new Go(to(o, yi(a.store, o)), u, u && u.lastId, f, f && f.id, t, null, new No(s, l)), n.right.integrate(c, 0), n.forward();
62848
+ n.right = new Go(to(o, yi(a.store, o)), u, u && u.lastId, f, f && f.id, t, null, new Ao(s, l)), n.right.integrate(c, 0), n.forward();
62849
62849
  }
62850
62850
  }
62851
62851
  return r;
@@ -62855,7 +62855,7 @@ const Bx = (c, t, n) => {
62855
62855
  });
62856
62856
  const o = c.doc, r = o.clientID;
62857
62857
  p2(n, a);
62858
- const s = h2(c, t, n, a), l = e.constructor === String ? new ia(
62858
+ const s = h2(c, t, n, a), l = e.constructor === String ? new sa(
62859
62859
  /** @type {string} */
62860
62860
  e
62861
62861
  ) : e instanceof $o ? new ll(e) : new ju(e);
@@ -62866,10 +62866,10 @@ const Bx = (c, t, n) => {
62866
62866
  p2(n, a);
62867
62867
  const s = h2(c, t, n, a);
62868
62868
  e:
62869
- for (; n.right !== null && (e > 0 || s.size > 0 && (n.right.deleted || n.right.content.constructor === No)); ) {
62869
+ for (; n.right !== null && (e > 0 || s.size > 0 && (n.right.deleted || n.right.content.constructor === Ao)); ) {
62870
62870
  if (!n.right.deleted)
62871
62871
  switch (n.right.content.constructor) {
62872
- case No: {
62872
+ case Ao: {
62873
62873
  const { key: l, value: i } = (
62874
62874
  /** @type {ContentFormat} */
62875
62875
  n.right.content
@@ -62898,14 +62898,14 @@ const Bx = (c, t, n) => {
62898
62898
  for (; e > 0; e--)
62899
62899
  l += `
62900
62900
  `;
62901
- n.right = new Go(to(r, yi(o.store, r)), n.left, n.left && n.left.lastId, n.right, n.right && n.right.id, t, null, new ia(l)), n.right.integrate(c, 0), n.forward();
62901
+ n.right = new Go(to(r, yi(o.store, r)), n.left, n.left && n.left.lastId, n.right, n.right && n.right.id, t, null, new sa(l)), n.right.integrate(c, 0), n.forward();
62902
62902
  }
62903
62903
  f2(c, t, n, s);
62904
62904
  }, g2 = (c, t, n, e, a) => {
62905
62905
  let o = t;
62906
62906
  const r = js();
62907
62907
  for (; o && (!o.countable || o.deleted); ) {
62908
- if (!o.deleted && o.content.constructor === No) {
62908
+ if (!o.deleted && o.content.constructor === Ao) {
62909
62909
  const i = (
62910
62910
  /** @type {ContentFormat} */
62911
62911
  o.content
@@ -62919,7 +62919,7 @@ const Bx = (c, t, n) => {
62919
62919
  if (n === t && (l = !0), !t.deleted) {
62920
62920
  const i = t.content;
62921
62921
  switch (i.constructor) {
62922
- case No: {
62922
+ case Ao: {
62923
62923
  const { key: u, value: f } = (
62924
62924
  /** @type {ContentFormat} */
62925
62925
  i
@@ -62942,7 +62942,7 @@ const Bx = (c, t, n) => {
62942
62942
  t = t.right;
62943
62943
  const n = /* @__PURE__ */ new Set();
62944
62944
  for (; t && (t.deleted || !t.countable); ) {
62945
- if (!t.deleted && t.content.constructor === No) {
62945
+ if (!t.deleted && t.content.constructor === Ao) {
62946
62946
  const e = (
62947
62947
  /** @type {ContentFormat} */
62948
62948
  t.content.key
@@ -62965,7 +62965,7 @@ const Bx = (c, t, n) => {
62965
62965
  for (; a; ) {
62966
62966
  if (a.deleted === !1)
62967
62967
  switch (a.content.constructor) {
62968
- case No:
62968
+ case Ao:
62969
62969
  Au(
62970
62970
  r,
62971
62971
  /** @type {ContentFormat} */
@@ -62992,7 +62992,7 @@ const Bx = (c, t, n) => {
62992
62992
  a,
62993
62993
  (r) => {
62994
62994
  !r.deleted && /** @type {Item} */
62995
- r.content.constructor === No && r.constructor !== Ua && t.add(
62995
+ r.content.constructor === Ao && r.constructor !== Ua && t.add(
62996
62996
  /** @type {any} */
62997
62997
  r.parent
62998
62998
  );
@@ -63011,7 +63011,7 @@ const Bx = (c, t, n) => {
63011
63011
  /** @type {YText} */
63012
63012
  a.parent
63013
63013
  );
63014
- a.content.constructor === No ? t.add(o) : l4(e, a);
63014
+ a.content.constructor === Ao ? t.add(o) : l4(e, a);
63015
63015
  });
63016
63016
  for (const a of t)
63017
63017
  c4(a);
@@ -63023,7 +63023,7 @@ const Bx = (c, t, n) => {
63023
63023
  switch (t.right.content.constructor) {
63024
63024
  case ll:
63025
63025
  case ju:
63026
- case ia:
63026
+ case sa:
63027
63027
  n < t.right.length && Xa(c, to(t.right.id.client, t.right.id.clock + n)), n -= t.right.length, t.right.delete(c);
63028
63028
  break;
63029
63029
  }
@@ -63110,11 +63110,11 @@ class d4 extends sg {
63110
63110
  case ju:
63111
63111
  this.adds(r) ? this.deletes(r) || (d(), s = "insert", i = r.content.getContent()[0], d()) : this.deletes(r) ? (s !== "delete" && (d(), s = "delete"), f += 1) : r.deleted || (s !== "retain" && (d(), s = "retain"), u += 1);
63112
63112
  break;
63113
- case ia:
63113
+ case sa:
63114
63114
  this.adds(r) ? this.deletes(r) || (s !== "insert" && (d(), s = "insert"), i += /** @type {ContentString} */
63115
63115
  r.content.str) : this.deletes(r) ? (s !== "delete" && (d(), s = "delete"), f += r.length) : r.deleted || (s !== "retain" && (d(), s = "retain"), u += r.length);
63116
63116
  break;
63117
- case No: {
63117
+ case Ao: {
63118
63118
  const { key: p, value: h } = (
63119
63119
  /** @type {ContentFormat} */
63120
63120
  r.content
@@ -63219,7 +63219,7 @@ class bh extends $o {
63219
63219
  toString() {
63220
63220
  let t = "", n = this._start;
63221
63221
  for (; n !== null; )
63222
- !n.deleted && n.countable && n.content.constructor === ia && (t += /** @type {ContentString} */
63222
+ !n.deleted && n.countable && n.content.constructor === sa && (t += /** @type {ContentString} */
63223
63223
  n.content.str), n = n.right;
63224
63224
  return t;
63225
63225
  }
@@ -63287,7 +63287,7 @@ class bh extends $o {
63287
63287
  for (; l !== null; ) {
63288
63288
  if (qc(l, t) || n !== void 0 && qc(l, n))
63289
63289
  switch (l.content.constructor) {
63290
- case ia: {
63290
+ case sa: {
63291
63291
  const f = o.get("ychange");
63292
63292
  t !== void 0 && !qc(l, t) ? (f === void 0 || f.user !== l.id.client || f.type !== "removed") && (i(), o.set("ychange", e ? e("removed", l.id) : { type: "removed" })) : n !== void 0 && !qc(l, n) ? (f === void 0 || f.user !== l.id.client || f.type !== "added") && (i(), o.set("ychange", e ? e("added", l.id) : { type: "added" })) : f !== void 0 && (i(), o.delete("ychange")), s += /** @type {ContentString} */
63293
63293
  l.content.str;
@@ -63311,7 +63311,7 @@ class bh extends $o {
63311
63311
  a.push(f);
63312
63312
  break;
63313
63313
  }
63314
- case No:
63314
+ case Ao:
63315
63315
  qc(l, t) && (i(), Au(
63316
63316
  o,
63317
63317
  /** @type {ContentFormat} */
@@ -64360,7 +64360,7 @@ class ju {
64360
64360
  return 5;
64361
64361
  }
64362
64362
  }
64363
- class No {
64363
+ class Ao {
64364
64364
  /**
64365
64365
  * @param {string} key
64366
64366
  * @param {Object} value
@@ -64390,7 +64390,7 @@ class No {
64390
64390
  * @return {ContentFormat}
64391
64391
  */
64392
64392
  copy() {
64393
- return new No(this.key, this.value);
64393
+ return new Ao(this.key, this.value);
64394
64394
  }
64395
64395
  /**
64396
64396
  * @param {number} _offset
@@ -64522,7 +64522,7 @@ class hu {
64522
64522
  return 8;
64523
64523
  }
64524
64524
  }
64525
- class ia {
64525
+ class sa {
64526
64526
  /**
64527
64527
  * @param {string} str
64528
64528
  */
@@ -64551,14 +64551,14 @@ class ia {
64551
64551
  * @return {ContentString}
64552
64552
  */
64553
64553
  copy() {
64554
- return new ia(this.str);
64554
+ return new sa(this.str);
64555
64555
  }
64556
64556
  /**
64557
64557
  * @param {number} offset
64558
64558
  * @return {ContentString}
64559
64559
  */
64560
64560
  splice(t) {
64561
- const n = new ia(this.str.slice(t));
64561
+ const n = new sa(this.str.slice(t));
64562
64562
  this.str = this.str.slice(0, t);
64563
64563
  const e = this.str.charCodeAt(t - 1);
64564
64564
  return e >= 55296 && e <= 56319 && (this.str = this.str.slice(0, t - 1) + "�", n.str = "�" + n.str.slice(1)), n;
@@ -64951,7 +64951,7 @@ _4(function(c) {
64951
64951
  t.append("v", arguments[n]);
64952
64952
  throw Error(`Minified Lexical error #${c}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`);
64953
64953
  });
64954
- const x4 = Ao();
64954
+ const x4 = jo();
64955
64955
  function _2() {
64956
64956
  return Math.random().toString(36).replace(/[^a-z]+/g, "").substr(0, 5);
64957
64957
  }
@@ -65224,7 +65224,7 @@ function E4(c) {
65224
65224
  const C4 = {
65225
65225
  ...J0,
65226
65226
  paragraph: "CommentEditorTheme__paragraph"
65227
- }, T4 = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAtOTYwIDk2MCA5NjAiIHdpZHRoPSIyNHB4IiBmaWxsPSIjNWY2MzY4Ij48cGF0aCBkPSJNNDQwLTQwMGg4MHYtMTIwaDEyMHYtODBINTIwdi0xMjBoLTgwdjEyMEgzMjB2ODBoMTIwdjEyMFpNODAtODB2LTcyMHEwLTMzIDIzLjUtNTYuNVQxNjAtODgwaDY0MHEzMyAwIDU2LjUgMjMuNVQ4ODAtODAwdjQ4MHEwIDMzLTIzLjUgNTYuNVQ4MDAtMjQwSDI0MEw4MC04MFptMTI2LTI0MGg1OTR2LTQ4MEgxNjB2NTI1bDQ2LTQ1Wm0tNDYgMHYtNDgwIDQ4MFoiLz48L3N2Zz4NCg==", k4 = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iMTIyLjg4MXB4IiBoZWlnaHQ9Ijg5Ljg0MnB4IiB2aWV3Qm94PSIwIDAgMTIyLjg4MSA4OS44NDIiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDEyMi44ODEgODkuODQyIiB4bWw6c3BhY2U9InByZXNlcnZlIj48Zz48cGF0aCBkPSJNMS4yMzIsNTUuNTQxYy0xLjUzMy0xLjM4OC0xLjY1Mi0zLjc1Ni0wLjI2NS01LjI4OWMxLjM4OC0xLjUzNCwzLjc1Ni0xLjY1Miw1LjI5LTAuMjY1bDM0LjA1MywzMC44NzhsNzYuMDk5LTc5LjY5OSBjMS40MjktMS41MDEsMy44MDQtMS41NjEsNS4zMDUtMC4xMzJjMS41MDIsMS40MjgsMS41NjEsMy44MDMsMC4xMzMsNS4zMDVMNDMuMjIzLDg4LjY4M2wtMC4wMDUtMC4wMDUgYy0xLjM5NiwxLjQ2OC0zLjcxNiwxLjU2My01LjIyNywwLjE5NkwxLjIzMiw1NS41NDFMMS4yMzIsNTUuNTQxeiIvPjwvZz48L3N2Zz4=", O4 = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pg0KPCEtLSBVcGxvYWRlZCB0bzogU1ZHIFJlcG8sIHd3dy5zdmdyZXBvLmNvbSwgR2VuZXJhdG9yOiBTVkcgUmVwbyBNaXhlciBUb29scyAtLT4NCjxzdmcgZmlsbD0iIzAwMDAwMCIgaGVpZ2h0PSI4MDBweCIgd2lkdGg9IjgwMHB4IiB2ZXJzaW9uPSIxLjEiIGlkPSJDYXBhXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIA0KCSB2aWV3Qm94PSIwIDAgNDkwIDQ5MCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+DQo8cG9seWdvbiBwb2ludHM9IjQ1Ni44NTEsMCAyNDUsMjEyLjU2NCAzMy4xNDksMCAwLjcwOCwzMi4zMzcgMjEyLjY2OSwyNDUuMDA0IDAuNzA4LDQ1Ny42NzggMzMuMTQ5LDQ5MCAyNDUsMjc3LjQ0MyA0NTYuODUxLDQ5MCANCgk0ODkuMjkyLDQ1Ny42NzggMjc3LjMzMSwyNDUuMDA0IDQ4OS4yOTIsMzIuMzM3ICIvPg0KPC9zdmc+", N4 = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0 ? sa : Wt;
65227
+ }, T4 = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAtOTYwIDk2MCA5NjAiIHdpZHRoPSIyNHB4IiBmaWxsPSIjNWY2MzY4Ij48cGF0aCBkPSJNNDQwLTQwMGg4MHYtMTIwaDEyMHYtODBINTIwdi0xMjBoLTgwdjEyMEgzMjB2ODBoMTIwdjEyMFpNODAtODB2LTcyMHEwLTMzIDIzLjUtNTYuNVQxNjAtODgwaDY0MHEzMyAwIDU2LjUgMjMuNVQ4ODAtODAwdjQ4MHEwIDMzLTIzLjUgNTYuNVQ4MDAtMjQwSDI0MEw4MC04MFptMTI2LTI0MGg1OTR2LTQ4MEgxNjB2NTI1bDQ2LTQ1Wm0tNDYgMHYtNDgwIDQ4MFoiLz48L3N2Zz4NCg==", k4 = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iMTIyLjg4MXB4IiBoZWlnaHQ9Ijg5Ljg0MnB4IiB2aWV3Qm94PSIwIDAgMTIyLjg4MSA4OS44NDIiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDEyMi44ODEgODkuODQyIiB4bWw6c3BhY2U9InByZXNlcnZlIj48Zz48cGF0aCBkPSJNMS4yMzIsNTUuNTQxYy0xLjUzMy0xLjM4OC0xLjY1Mi0zLjc1Ni0wLjI2NS01LjI4OWMxLjM4OC0xLjUzNCwzLjc1Ni0xLjY1Miw1LjI5LTAuMjY1bDM0LjA1MywzMC44NzhsNzYuMDk5LTc5LjY5OSBjMS40MjktMS41MDEsMy44MDQtMS41NjEsNS4zMDUtMC4xMzJjMS41MDIsMS40MjgsMS41NjEsMy44MDMsMC4xMzMsNS4zMDVMNDMuMjIzLDg4LjY4M2wtMC4wMDUtMC4wMDUgYy0xLjM5NiwxLjQ2OC0zLjcxNiwxLjU2My01LjIyNywwLjE5NkwxLjIzMiw1NS41NDFMMS4yMzIsNTUuNTQxeiIvPjwvZz48L3N2Zz4=", O4 = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pg0KPCEtLSBVcGxvYWRlZCB0bzogU1ZHIFJlcG8sIHd3dy5zdmdyZXBvLmNvbSwgR2VuZXJhdG9yOiBTVkcgUmVwbyBNaXhlciBUb29scyAtLT4NCjxzdmcgZmlsbD0iIzAwMDAwMCIgaGVpZ2h0PSI4MDBweCIgd2lkdGg9IjgwMHB4IiB2ZXJzaW9uPSIxLjEiIGlkPSJDYXBhXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIA0KCSB2aWV3Qm94PSIwIDAgNDkwIDQ5MCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+DQo8cG9seWdvbiBwb2ludHM9IjQ1Ni44NTEsMCAyNDUsMjEyLjU2NCAzMy4xNDksMCAwLjcwOCwzMi4zMzcgMjEyLjY2OSwyNDUuMDA0IDAuNzA4LDQ1Ny42NzggMzMuMTQ5LDQ5MCAyNDUsMjc3LjQ0MyA0NTYuODUxLDQ5MCANCgk0ODkuMjkyLDQ1Ny42NzggMjc3LjMzMSwyNDUuMDA0IDQ4OS4yOTIsMzIuMzM3ICIvPg0KPC9zdmc+", N4 = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0 ? aa : Wt;
65228
65228
  let S2 = class {
65229
65229
  constructor(t) {
65230
65230
  this.key = t, this.ref = { current: null }, this.setRefElement = this.setRefElement.bind(this);
@@ -65272,7 +65272,7 @@ function A4(c, t, n, e) {
65272
65272
  }
65273
65273
  }, [t, a, e, n, c]);
65274
65274
  }
65275
- const qx = Ao();
65275
+ const qx = jo();
65276
65276
  function j4({ close: c, editor: t, anchorElementRef: n, resolution: e, options: a, menuRenderFn: o, onSelectOption: r, shouldSplitNodeWithQuery: s = !1, commandPriority: l = Dr }) {
65277
65277
  const [i, u] = Ft(null), f = e.match && e.match.matchingString;
65278
65278
  Wt(() => {
@@ -65581,7 +65581,7 @@ function V4({
65581
65581
  }
65582
65582
  );
65583
65583
  }
65584
- const Jx = Ao();
65584
+ const Jx = jo();
65585
65585
  function K4({
65586
65586
  anchorKey: c,
65587
65587
  editor: t,
@@ -66202,7 +66202,7 @@ function P2({
66202
66202
  return Jr(
66203
66203
  sS(
66204
66204
  p,
66205
- na,
66205
+ ra,
66206
66206
  (B) => W0(B.getIDs()),
66207
66207
  (B, R) => {
66208
66208
  B.getIDs().forEach((N) => {
@@ -66210,7 +66210,7 @@ function P2({
66210
66210
  });
66211
66211
  }
66212
66212
  ),
66213
- p.registerMutationListener(na, (B) => {
66213
+ p.registerMutationListener(ra, (B) => {
66214
66214
  p.getEditorState().read(() => {
66215
66215
  for (const [R, L] of B) {
66216
66216
  const N = er(R);
@@ -66430,7 +66430,7 @@ function nD({ setEditorEditable: c, htmlString: t, isEditable: n, setIsexistingI
66430
66430
  function rD() {
66431
66431
  const [c] = Cn();
66432
66432
  return Wt(() => c.registerCommand(
66433
- aa,
66433
+ Rs,
66434
66434
  (t) => {
66435
66435
  var a;
66436
66436
  const n = t == null ? void 0 : t.clipboardData;
@@ -66450,10 +66450,10 @@ function rD() {
66450
66450
  }
66451
66451
  return !1;
66452
66452
  },
66453
- Fo
66453
+ To
66454
66454
  ), [c]), null;
66455
66455
  }
66456
- function UD({
66456
+ function HD({
66457
66457
  initialEditorState: c,
66458
66458
  userObj: t,
66459
66459
  CollabApiKey: n,
@@ -66753,7 +66753,7 @@ function UD({
66753
66753
  i && /* @__PURE__ */ ge.jsx(NC, { styleConfig: i, docId: e })
66754
66754
  ] }, e) : /* @__PURE__ */ ge.jsx(M2, {}) });
66755
66755
  }
66756
- const oD = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0 ? sa : Wt;
66756
+ const oD = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0 ? aa : Wt;
66757
66757
  let iD = class {
66758
66758
  constructor(t) {
66759
66759
  this.key = t, this.ref = { current: null }, this.setRefElement = this.setRefElement.bind(this);
@@ -66801,7 +66801,7 @@ function sD(c, t, n, e) {
66801
66801
  }
66802
66802
  }, [t, a, e, n, c]);
66803
66803
  }
66804
- const Zx = Ao();
66804
+ const Zx = jo();
66805
66805
  function aD({ close: c, editor: t, anchorElementRef: n, resolution: e, options: a, menuRenderFn: o, onSelectOption: r, shouldSplitNodeWithQuery: s = !1, commandPriority: l = Dr }) {
66806
66806
  const [i, u] = Ft(null), f = e.match && e.match.matchingString;
66807
66807
  Wt(() => {
@@ -66915,7 +66915,7 @@ function lD({ options: c, nodeKey: t, onClose: n, onOpen: e, onSelectOption: a,
66915
66915
  });
66916
66916
  }, [i, m, t]), u === null || i === null ? null : ge.jsx(aD, { close: p, resolution: u, editor: i, anchorElementRef: d, options: c, menuRenderFn: o, onSelectOption: a, commandPriority: s });
66917
66917
  }
66918
- const cD = /((https?:\/\/(www\.)?)|(www\.))[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_+.~#?&//=]*)/, uD = Ao();
66918
+ const cD = /((https?:\/\/(www\.)?)|(www\.))[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_+.~#?&//=]*)/, uD = jo();
66919
66919
  class Qx extends iD {
66920
66920
  constructor(t, n) {
66921
66921
  super(t), this.title = t, this.onSelect = n.onSelect.bind(this);
@@ -66961,7 +66961,7 @@ function dD({ embedConfigs: c, onOpenEmbedModalForConfig: t, getMenuOptions: n,
66961
66961
  }, [o]);
66962
66962
  return r != null ? ge.jsx(lD, { nodeKey: r, onClose: u, onSelectOption: h, options: p, menuRenderFn: e, commandPriority: a }) : null;
66963
66963
  }
66964
- const fD = Ao(), pD = Ao(), hD = Ao(), gD = {
66964
+ const fD = jo(), pD = jo(), hD = jo(), gD = {
66965
66965
  contentName: "Youtube Video",
66966
66966
  exampleUrl: "https://www.youtube.com/watch?v=jNQXAC9IVRw",
66967
66967
  // Icon for display.
@@ -67376,7 +67376,31 @@ function PD({
67376
67376
  });
67377
67377
  }, [t, c]), null;
67378
67378
  }
67379
- function WD({
67379
+ function MD() {
67380
+ const [c] = Cn();
67381
+ return Wt(() => c.registerCommand(
67382
+ Rs,
67383
+ (t) => {
67384
+ var a;
67385
+ const n = t == null ? void 0 : t.clipboardData;
67386
+ if (!n)
67387
+ return !1;
67388
+ const e = n == null ? void 0 : n.getData("text/html");
67389
+ if (e) {
67390
+ const o = new DOMParser(), r = o.parseFromString(e, "text/html"), s = e == null ? void 0 : e.match(
67391
+ /<!--StartFragment-->(.*?)<!--EndFragment-->/s
67392
+ ), l = s ? s[1] : r.body.innerHTML, u = (o == null ? void 0 : o.parseFromString(l, "text/html")).body.children;
67393
+ if ((a = Array.from(u)) == null ? void 0 : a.every(
67394
+ (d) => d.tagName.toLowerCase() === "table" ? !0 : d.tagName.toLowerCase() === "p" ? d.innerHTML.trim() === "<br>" : !1
67395
+ ))
67396
+ return alert("🚫Standalone table was pasted — blocked."), !0;
67397
+ }
67398
+ return !1;
67399
+ },
67400
+ To
67401
+ ), [c]), null;
67402
+ }
67403
+ function qD({
67380
67404
  initialEditorState: c,
67381
67405
  userObj: t,
67382
67406
  CollabApiKey: n,
@@ -67569,6 +67593,7 @@ function WD({
67569
67593
  showCommentInput: U
67570
67594
  }
67571
67595
  ),
67596
+ /* @__PURE__ */ ge.jsx(MD, {}),
67572
67597
  b ? /* @__PURE__ */ ge.jsxs(ge.Fragment, { children: [
67573
67598
  i && v && /* @__PURE__ */ ge.jsx(
67574
67599
  HE,
@@ -67680,13 +67705,13 @@ export {
67680
67705
  lT as H,
67681
67706
  Oh as I,
67682
67707
  tb as J,
67683
- zD as K,
67708
+ $D as K,
67684
67709
  Q0 as L,
67685
67710
  UO as M,
67686
- BD as N,
67687
- UD as O,
67711
+ zD as N,
67712
+ HD as O,
67688
67713
  X0 as P,
67689
- WD as Q,
67714
+ qD as Q,
67690
67715
  Cd as T,
67691
67716
  mS as Y,
67692
67717
  Cn as a,
@@ -67708,12 +67733,12 @@ export {
67708
67733
  ti as q,
67709
67734
  Gd as r,
67710
67735
  Jx as s,
67711
- Ao as t,
67736
+ jo as t,
67712
67737
  L0 as u,
67713
67738
  Ir as v,
67714
67739
  jt as w,
67715
67740
  er as x,
67716
67741
  Xl as y,
67717
- FD as z
67742
+ BD as z
67718
67743
  };
67719
- //# sourceMappingURL=index-f864b3b9.js.map
67744
+ //# sourceMappingURL=index-adcbc39e.js.map