@orchidui/dashboard 1.87.0 → 1.88.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -672,8 +672,8 @@ function so(r, t, e, n, s, i) {
672
672
  break;
673
673
  }
674
674
  if (w) {
675
- if (!Ph(t, function(j, K) {
676
- if (!Uh(w, K) && (A === j || s(A, j, e, n, i)))
675
+ if (!Ph(t, function(P, K) {
676
+ if (!Uh(w, K) && (A === P || s(A, P, e, n, i)))
677
677
  return w.push(K);
678
678
  })) {
679
679
  p = !1;
@@ -751,10 +751,10 @@ function ad(r, t, e, n, s, i) {
751
751
  i.set(r, t), i.set(t, r);
752
752
  for (var D = o; ++E < h; ) {
753
753
  p = a[E];
754
- var j = r[p], K = t[p];
754
+ var P = r[p], K = t[p];
755
755
  if (n)
756
- var Z = o ? n(K, j, p, t, r, i) : n(j, K, p, r, t, i);
757
- if (!(Z === void 0 ? j === K || s(j, K, e, n, i) : Z)) {
756
+ var Z = o ? n(K, P, p, t, r, i) : n(P, K, p, r, t, i);
757
+ if (!(Z === void 0 ? P === K || s(P, K, e, n, i) : Z)) {
758
758
  q = !1;
759
759
  break;
760
760
  }
@@ -1693,7 +1693,7 @@ function Id() {
1693
1693
  if (il) return Os;
1694
1694
  il = 1;
1695
1695
  var r = -1, t = 1, e = 0;
1696
- function n(g, x, v, C, P) {
1696
+ function n(g, x, v, O, j) {
1697
1697
  if (g === x)
1698
1698
  return g ? [[e, g]] : [];
1699
1699
  if (v != null) {
@@ -1706,7 +1706,7 @@ function Id() {
1706
1706
  var z = g.substring(g.length - $);
1707
1707
  g = g.substring(0, g.length - $), x = x.substring(0, x.length - $);
1708
1708
  var N = s(g, x);
1709
- return H && N.unshift([e, H]), z && N.push([e, z]), K(N, P), C && E(N), N;
1709
+ return H && N.unshift([e, H]), z && N.push([e, z]), K(N, j), O && E(N), N;
1710
1710
  }
1711
1711
  function s(g, x) {
1712
1712
  var v;
@@ -1714,40 +1714,40 @@ function Id() {
1714
1714
  return [[t, x]];
1715
1715
  if (!x)
1716
1716
  return [[r, g]];
1717
- var C = g.length > x.length ? g : x, P = g.length > x.length ? x : g, S = C.indexOf(P);
1717
+ var O = g.length > x.length ? g : x, j = g.length > x.length ? x : g, S = O.indexOf(j);
1718
1718
  if (S !== -1)
1719
1719
  return v = [
1720
- [t, C.substring(0, S)],
1721
- [e, P],
1722
- [t, C.substring(S + P.length)]
1720
+ [t, O.substring(0, S)],
1721
+ [e, j],
1722
+ [t, O.substring(S + j.length)]
1723
1723
  ], g.length > x.length && (v[0][0] = v[2][0] = r), v;
1724
- if (P.length === 1)
1724
+ if (j.length === 1)
1725
1725
  return [
1726
1726
  [r, g],
1727
1727
  [t, x]
1728
1728
  ];
1729
1729
  var $ = y(g, x);
1730
1730
  if ($) {
1731
- var H = $[0], z = $[1], N = $[2], _ = $[3], O = $[4], V = n(H, N), W = n(z, _);
1732
- return V.concat([[e, O]], W);
1731
+ var H = $[0], z = $[1], N = $[2], _ = $[3], L = $[4], V = n(H, N), W = n(z, _);
1732
+ return V.concat([[e, L]], W);
1733
1733
  }
1734
1734
  return i(g, x);
1735
1735
  }
1736
1736
  function i(g, x) {
1737
- for (var v = g.length, C = x.length, P = Math.ceil((v + C) / 2), S = P, $ = 2 * P, H = new Array($), z = new Array($), N = 0; N < $; N++)
1737
+ for (var v = g.length, O = x.length, j = Math.ceil((v + O) / 2), S = j, $ = 2 * j, H = new Array($), z = new Array($), N = 0; N < $; N++)
1738
1738
  H[N] = -1, z[N] = -1;
1739
1739
  H[S + 1] = 0, z[S + 1] = 0;
1740
- for (var _ = v - C, O = _ % 2 !== 0, V = 0, W = 0, k = 0, pt = 0, ht = 0; ht < P; ht++) {
1740
+ for (var _ = v - O, L = _ % 2 !== 0, V = 0, W = 0, k = 0, pt = 0, ht = 0; ht < j; ht++) {
1741
1741
  for (var lt = -ht + V; lt <= ht - W; lt += 2) {
1742
1742
  var dt = S + lt, gt;
1743
1743
  lt === -ht || lt !== ht && H[dt - 1] < H[dt + 1] ? gt = H[dt + 1] : gt = H[dt - 1] + 1;
1744
- for (var yt = gt - lt; gt < v && yt < C && g.charAt(gt) === x.charAt(yt); )
1744
+ for (var yt = gt - lt; gt < v && yt < O && g.charAt(gt) === x.charAt(yt); )
1745
1745
  gt++, yt++;
1746
1746
  if (H[dt] = gt, gt > v)
1747
1747
  W += 2;
1748
- else if (yt > C)
1748
+ else if (yt > O)
1749
1749
  V += 2;
1750
- else if (O) {
1750
+ else if (L) {
1751
1751
  var mt = S + _ - lt;
1752
1752
  if (mt >= 0 && mt < $ && z[mt] !== -1) {
1753
1753
  var ct = v - z[mt];
@@ -1759,13 +1759,13 @@ function Id() {
1759
1759
  for (var Ct = -ht + k; Ct <= ht - pt; Ct += 2) {
1760
1760
  var mt = S + Ct, ct;
1761
1761
  Ct === -ht || Ct !== ht && z[mt - 1] < z[mt + 1] ? ct = z[mt + 1] : ct = z[mt - 1] + 1;
1762
- for (var Mt = ct - Ct; ct < v && Mt < C && g.charAt(v - ct - 1) === x.charAt(C - Mt - 1); )
1762
+ for (var Mt = ct - Ct; ct < v && Mt < O && g.charAt(v - ct - 1) === x.charAt(O - Mt - 1); )
1763
1763
  ct++, Mt++;
1764
1764
  if (z[mt] = ct, ct > v)
1765
1765
  pt += 2;
1766
- else if (Mt > C)
1766
+ else if (Mt > O)
1767
1767
  k += 2;
1768
- else if (!O) {
1768
+ else if (!L) {
1769
1769
  var dt = S + _ - Ct;
1770
1770
  if (dt >= 0 && dt < $ && H[dt] !== -1) {
1771
1771
  var gt = H[dt], yt = S + gt - dt;
@@ -1780,44 +1780,44 @@ function Id() {
1780
1780
  [t, x]
1781
1781
  ];
1782
1782
  }
1783
- function o(g, x, v, C) {
1784
- var P = g.substring(0, v), S = x.substring(0, C), $ = g.substring(v), H = x.substring(C), z = n(P, S), N = n($, H);
1783
+ function o(g, x, v, O) {
1784
+ var j = g.substring(0, v), S = x.substring(0, O), $ = g.substring(v), H = x.substring(O), z = n(j, S), N = n($, H);
1785
1785
  return z.concat(N);
1786
1786
  }
1787
1787
  function a(g, x) {
1788
1788
  if (!g || !x || g.charAt(0) !== x.charAt(0))
1789
1789
  return 0;
1790
- for (var v = 0, C = Math.min(g.length, x.length), P = C, S = 0; v < P; )
1791
- g.substring(S, P) == x.substring(S, P) ? (v = P, S = v) : C = P, P = Math.floor((C - v) / 2 + v);
1792
- return Z(g.charCodeAt(P - 1)) && P--, P;
1790
+ for (var v = 0, O = Math.min(g.length, x.length), j = O, S = 0; v < j; )
1791
+ g.substring(S, j) == x.substring(S, j) ? (v = j, S = v) : O = j, j = Math.floor((O - v) / 2 + v);
1792
+ return Z(g.charCodeAt(j - 1)) && j--, j;
1793
1793
  }
1794
1794
  function h(g, x) {
1795
- var v = g.length, C = x.length;
1796
- if (v == 0 || C == 0)
1795
+ var v = g.length, O = x.length;
1796
+ if (v == 0 || O == 0)
1797
1797
  return 0;
1798
- v > C ? g = g.substring(v - C) : v < C && (x = x.substring(0, v));
1799
- var P = Math.min(v, C);
1798
+ v > O ? g = g.substring(v - O) : v < O && (x = x.substring(0, v));
1799
+ var j = Math.min(v, O);
1800
1800
  if (g == x)
1801
- return P;
1801
+ return j;
1802
1802
  for (var S = 0, $ = 1; ; ) {
1803
- var H = g.substring(P - $), z = x.indexOf(H);
1803
+ var H = g.substring(j - $), z = x.indexOf(H);
1804
1804
  if (z == -1)
1805
1805
  return S;
1806
- $ += z, (z == 0 || g.substring(P - $) == x.substring(0, $)) && (S = $, $++);
1806
+ $ += z, (z == 0 || g.substring(j - $) == x.substring(0, $)) && (S = $, $++);
1807
1807
  }
1808
1808
  }
1809
1809
  function d(g, x) {
1810
1810
  if (!g || !x || g.slice(-1) !== x.slice(-1))
1811
1811
  return 0;
1812
- for (var v = 0, C = Math.min(g.length, x.length), P = C, S = 0; v < P; )
1813
- g.substring(g.length - P, g.length - S) == x.substring(x.length - P, x.length - S) ? (v = P, S = v) : C = P, P = Math.floor((C - v) / 2 + v);
1814
- return rt(g.charCodeAt(g.length - P)) && P--, P;
1812
+ for (var v = 0, O = Math.min(g.length, x.length), j = O, S = 0; v < j; )
1813
+ g.substring(g.length - j, g.length - S) == x.substring(x.length - j, x.length - S) ? (v = j, S = v) : O = j, j = Math.floor((O - v) / 2 + v);
1814
+ return rt(g.charCodeAt(g.length - j)) && j--, j;
1815
1815
  }
1816
1816
  function y(g, x) {
1817
- var v = g.length > x.length ? g : x, C = g.length > x.length ? x : g;
1818
- if (v.length < 4 || C.length * 2 < v.length)
1817
+ var v = g.length > x.length ? g : x, O = g.length > x.length ? x : g;
1818
+ if (v.length < 4 || O.length * 2 < v.length)
1819
1819
  return null;
1820
- function P(W, k, pt) {
1820
+ function j(W, k, pt) {
1821
1821
  for (var ht = W.substring(pt, pt + Math.floor(W.length / 4)), lt = -1, dt = "", gt, yt, mt, ct; (lt = k.indexOf(ht, lt + 1)) !== -1; ) {
1822
1822
  var Ct = a(
1823
1823
  W.substring(pt),
@@ -1836,51 +1836,51 @@ function Id() {
1836
1836
  dt
1837
1837
  ] : null;
1838
1838
  }
1839
- var S = P(
1839
+ var S = j(
1840
1840
  v,
1841
- C,
1841
+ O,
1842
1842
  Math.ceil(v.length / 4)
1843
- ), $ = P(
1843
+ ), $ = j(
1844
1844
  v,
1845
- C,
1845
+ O,
1846
1846
  Math.ceil(v.length / 2)
1847
1847
  ), H;
1848
1848
  if (!S && !$)
1849
1849
  return null;
1850
1850
  $ ? S ? H = S[4].length > $[4].length ? S : $ : H = $ : H = S;
1851
- var z, N, _, O;
1852
- g.length > x.length ? (z = H[0], N = H[1], _ = H[2], O = H[3]) : (_ = H[0], O = H[1], z = H[2], N = H[3]);
1851
+ var z, N, _, L;
1852
+ g.length > x.length ? (z = H[0], N = H[1], _ = H[2], L = H[3]) : (_ = H[0], L = H[1], z = H[2], N = H[3]);
1853
1853
  var V = H[4];
1854
- return [z, N, _, O, V];
1854
+ return [z, N, _, L, V];
1855
1855
  }
1856
1856
  function E(g) {
1857
- for (var x = !1, v = [], C = 0, P = null, S = 0, $ = 0, H = 0, z = 0, N = 0; S < g.length; )
1858
- g[S][0] == e ? (v[C++] = S, $ = z, H = N, z = 0, N = 0, P = g[S][1]) : (g[S][0] == t ? z += g[S][1].length : N += g[S][1].length, P && P.length <= Math.max($, H) && P.length <= Math.max(z, N) && (g.splice(v[C - 1], 0, [
1857
+ for (var x = !1, v = [], O = 0, j = null, S = 0, $ = 0, H = 0, z = 0, N = 0; S < g.length; )
1858
+ g[S][0] == e ? (v[O++] = S, $ = z, H = N, z = 0, N = 0, j = g[S][1]) : (g[S][0] == t ? z += g[S][1].length : N += g[S][1].length, j && j.length <= Math.max($, H) && j.length <= Math.max(z, N) && (g.splice(v[O - 1], 0, [
1859
1859
  r,
1860
- P
1861
- ]), g[v[C - 1] + 1][0] = t, C--, C--, S = C > 0 ? v[C - 1] : -1, $ = 0, H = 0, z = 0, N = 0, P = null, x = !0)), S++;
1862
- for (x && K(g), j(g), S = 1; S < g.length; ) {
1860
+ j
1861
+ ]), g[v[O - 1] + 1][0] = t, O--, O--, S = O > 0 ? v[O - 1] : -1, $ = 0, H = 0, z = 0, N = 0, j = null, x = !0)), S++;
1862
+ for (x && K(g), P(g), S = 1; S < g.length; ) {
1863
1863
  if (g[S - 1][0] == r && g[S][0] == t) {
1864
- var _ = g[S - 1][1], O = g[S][1], V = h(_, O), W = h(O, _);
1865
- V >= W ? (V >= _.length / 2 || V >= O.length / 2) && (g.splice(S, 0, [
1864
+ var _ = g[S - 1][1], L = g[S][1], V = h(_, L), W = h(L, _);
1865
+ V >= W ? (V >= _.length / 2 || V >= L.length / 2) && (g.splice(S, 0, [
1866
1866
  e,
1867
- O.substring(0, V)
1867
+ L.substring(0, V)
1868
1868
  ]), g[S - 1][1] = _.substring(
1869
1869
  0,
1870
1870
  _.length - V
1871
- ), g[S + 1][1] = O.substring(V), S++) : (W >= _.length / 2 || W >= O.length / 2) && (g.splice(S, 0, [
1871
+ ), g[S + 1][1] = L.substring(V), S++) : (W >= _.length / 2 || W >= L.length / 2) && (g.splice(S, 0, [
1872
1872
  e,
1873
1873
  _.substring(0, W)
1874
- ]), g[S - 1][0] = t, g[S - 1][1] = O.substring(
1874
+ ]), g[S - 1][0] = t, g[S - 1][1] = L.substring(
1875
1875
  0,
1876
- O.length - W
1876
+ L.length - W
1877
1877
  ), g[S + 1][0] = r, g[S + 1][1] = _.substring(W), S++), S++;
1878
1878
  }
1879
1879
  S++;
1880
1880
  }
1881
1881
  }
1882
1882
  var p = /[^a-zA-Z0-9]/, w = /\s/, A = /[\r\n]/, q = /\n\r?\n$/, D = /^\r?\n\r?\n/;
1883
- function j(g) {
1883
+ function P(g) {
1884
1884
  function x(W, k) {
1885
1885
  if (!W || !k)
1886
1886
  return 6;
@@ -1889,15 +1889,15 @@ function Id() {
1889
1889
  }
1890
1890
  for (var v = 1; v < g.length - 1; ) {
1891
1891
  if (g[v - 1][0] == e && g[v + 1][0] == e) {
1892
- var C = g[v - 1][1], P = g[v][1], S = g[v + 1][1], $ = d(C, P);
1892
+ var O = g[v - 1][1], j = g[v][1], S = g[v + 1][1], $ = d(O, j);
1893
1893
  if ($) {
1894
- var H = P.substring(P.length - $);
1895
- C = C.substring(0, C.length - $), P = H + P.substring(0, P.length - $), S = H + S;
1894
+ var H = j.substring(j.length - $);
1895
+ O = O.substring(0, O.length - $), j = H + j.substring(0, j.length - $), S = H + S;
1896
1896
  }
1897
- for (var z = C, N = P, _ = S, O = x(C, P) + x(P, S); P.charAt(0) === S.charAt(0); ) {
1898
- C += P.charAt(0), P = P.substring(1) + S.charAt(0), S = S.substring(1);
1899
- var V = x(C, P) + x(P, S);
1900
- V >= O && (O = V, z = C, N = P, _ = S);
1897
+ for (var z = O, N = j, _ = S, L = x(O, j) + x(j, S); j.charAt(0) === S.charAt(0); ) {
1898
+ O += j.charAt(0), j = j.substring(1) + S.charAt(0), S = S.substring(1);
1899
+ var V = x(O, j) + x(j, S);
1900
+ V >= L && (L = V, z = O, N = j, _ = S);
1901
1901
  }
1902
1902
  g[v - 1][1] != z && (z ? g[v - 1][1] = z : (g.splice(v - 1, 1), v--), g[v][1] = N, _ ? g[v + 1][1] = _ : (g.splice(v + 1, 1), v--));
1903
1903
  }
@@ -1906,20 +1906,20 @@ function Id() {
1906
1906
  }
1907
1907
  function K(g, x) {
1908
1908
  g.push([e, ""]);
1909
- for (var v = 0, C = 0, P = 0, S = "", $ = "", H; v < g.length; ) {
1909
+ for (var v = 0, O = 0, j = 0, S = "", $ = "", H; v < g.length; ) {
1910
1910
  if (v < g.length - 1 && !g[v][1]) {
1911
1911
  g.splice(v, 1);
1912
1912
  continue;
1913
1913
  }
1914
1914
  switch (g[v][0]) {
1915
1915
  case t:
1916
- P++, $ += g[v][1], v++;
1916
+ j++, $ += g[v][1], v++;
1917
1917
  break;
1918
1918
  case r:
1919
- C++, S += g[v][1], v++;
1919
+ O++, S += g[v][1], v++;
1920
1920
  break;
1921
1921
  case e:
1922
- var z = v - P - C - 1;
1922
+ var z = v - j - O - 1;
1923
1923
  if (x) {
1924
1924
  if (z >= 0 && bt(g[z][1])) {
1925
1925
  var N = g[z][1].slice(-1);
@@ -1929,7 +1929,7 @@ function Id() {
1929
1929
  ), S = N + S, $ = N + $, !g[z][1]) {
1930
1930
  g.splice(z, 1), v--;
1931
1931
  var _ = z - 1;
1932
- g[_] && g[_][0] === t && (P++, $ = g[_][1] + $, _--), g[_] && g[_][0] === r && (C++, S = g[_][1] + S, _--), z = _;
1932
+ g[_] && g[_][0] === t && (j++, $ = g[_][1] + $, _--), g[_] && g[_][0] === r && (O++, S = g[_][1] + S, _--), z = _;
1933
1933
  }
1934
1934
  }
1935
1935
  if (nt(g[v][1])) {
@@ -1955,15 +1955,15 @@ function Id() {
1955
1955
  0,
1956
1956
  S.length - H
1957
1957
  )));
1958
- var O = P + C;
1959
- S.length === 0 && $.length === 0 ? (g.splice(v - O, O), v = v - O) : S.length === 0 ? (g.splice(v - O, O, [t, $]), v = v - O + 1) : $.length === 0 ? (g.splice(v - O, O, [r, S]), v = v - O + 1) : (g.splice(
1960
- v - O,
1961
- O,
1958
+ var L = j + O;
1959
+ S.length === 0 && $.length === 0 ? (g.splice(v - L, L), v = v - L) : S.length === 0 ? (g.splice(v - L, L, [t, $]), v = v - L + 1) : $.length === 0 ? (g.splice(v - L, L, [r, S]), v = v - L + 1) : (g.splice(
1960
+ v - L,
1961
+ L,
1962
1962
  [r, S],
1963
1963
  [t, $]
1964
- ), v = v - O + 2);
1964
+ ), v = v - L + 2);
1965
1965
  }
1966
- v !== 0 && g[v - 1][0] === e ? (g[v - 1][1] += g[v][1], g.splice(v, 1)) : v++, P = 0, C = 0, S = "", $ = "";
1966
+ v !== 0 && g[v - 1][0] === e ? (g[v - 1][1] += g[v][1], g.splice(v, 1)) : v++, j = 0, O = 0, S = "", $ = "";
1967
1967
  break;
1968
1968
  }
1969
1969
  }
@@ -1995,26 +1995,26 @@ function Id() {
1995
1995
  g[v][1].length > 0 && x.push(g[v]);
1996
1996
  return x;
1997
1997
  }
1998
- function vt(g, x, v, C) {
1999
- return bt(g) || nt(C) ? null : At([
1998
+ function vt(g, x, v, O) {
1999
+ return bt(g) || nt(O) ? null : At([
2000
2000
  [e, g],
2001
2001
  [r, x],
2002
2002
  [t, v],
2003
- [e, C]
2003
+ [e, O]
2004
2004
  ]);
2005
2005
  }
2006
2006
  function kt(g, x, v) {
2007
- var C = typeof v == "number" ? { index: v, length: 0 } : v.oldRange, P = typeof v == "number" ? null : v.newRange, S = g.length, $ = x.length;
2008
- if (C.length === 0 && (P === null || P.length === 0)) {
2009
- var H = C.index, z = g.slice(0, H), N = g.slice(H), _ = P ? P.index : null;
2007
+ var O = typeof v == "number" ? { index: v, length: 0 } : v.oldRange, j = typeof v == "number" ? null : v.newRange, S = g.length, $ = x.length;
2008
+ if (O.length === 0 && (j === null || j.length === 0)) {
2009
+ var H = O.index, z = g.slice(0, H), N = g.slice(H), _ = j ? j.index : null;
2010
2010
  t: {
2011
- var O = H + $ - S;
2012
- if (_ !== null && _ !== O || O < 0 || O > $)
2011
+ var L = H + $ - S;
2012
+ if (_ !== null && _ !== L || L < 0 || L > $)
2013
2013
  break t;
2014
- var V = x.slice(0, O), W = x.slice(O);
2014
+ var V = x.slice(0, L), W = x.slice(L);
2015
2015
  if (W !== N)
2016
2016
  break t;
2017
- var k = Math.min(H, O), pt = z.slice(0, k), ht = V.slice(0, k);
2017
+ var k = Math.min(H, L), pt = z.slice(0, k), ht = V.slice(0, k);
2018
2018
  if (pt !== ht)
2019
2019
  break t;
2020
2020
  var lt = z.slice(k), dt = V.slice(k);
@@ -2033,9 +2033,9 @@ function Id() {
2033
2033
  return vt(z, lt, dt, mt);
2034
2034
  }
2035
2035
  }
2036
- if (C.length > 0 && P && P.length === 0)
2036
+ if (O.length > 0 && j && j.length === 0)
2037
2037
  t: {
2038
- var pt = g.slice(0, C.index), mt = g.slice(C.index + C.length), k = pt.length, yt = mt.length;
2038
+ var pt = g.slice(0, O.index), mt = g.slice(O.index + O.length), k = pt.length, yt = mt.length;
2039
2039
  if ($ < k + yt)
2040
2040
  break t;
2041
2041
  var ht = x.slice(0, k), ct = x.slice($ - yt);
@@ -2046,8 +2046,8 @@ function Id() {
2046
2046
  }
2047
2047
  return null;
2048
2048
  }
2049
- function Lt(g, x, v, C) {
2050
- return n(g, x, v, C, !0);
2049
+ function Lt(g, x, v, O) {
2050
+ return n(g, x, v, O, !0);
2051
2051
  }
2052
2052
  return Lt.INSERT = t, Lt.DELETE = r, Lt.EQUAL = e, Os = Lt, Os;
2053
2053
  }
@@ -2056,9 +2056,9 @@ Jn.exports;
2056
2056
  var ll;
2057
2057
  function go() {
2058
2058
  return ll || (ll = 1, (function(r, t) {
2059
- var e = 200, n = "__lodash_hash_undefined__", s = 9007199254740991, i = "[object Arguments]", o = "[object Array]", a = "[object Boolean]", h = "[object Date]", d = "[object Error]", y = "[object Function]", E = "[object GeneratorFunction]", p = "[object Map]", w = "[object Number]", A = "[object Object]", q = "[object Promise]", D = "[object RegExp]", j = "[object Set]", K = "[object String]", Z = "[object Symbol]", rt = "[object WeakMap]", nt = "[object ArrayBuffer]", bt = "[object DataView]", At = "[object Float32Array]", vt = "[object Float64Array]", kt = "[object Int8Array]", Lt = "[object Int16Array]", g = "[object Int32Array]", x = "[object Uint8Array]", v = "[object Uint8ClampedArray]", C = "[object Uint16Array]", P = "[object Uint32Array]", S = /[\\^$.*+?()[\]{}|]/g, $ = /\w*$/, H = /^\[object .+?Constructor\]$/, z = /^(?:0|[1-9]\d*)$/, N = {};
2060
- N[i] = N[o] = N[nt] = N[bt] = N[a] = N[h] = N[At] = N[vt] = N[kt] = N[Lt] = N[g] = N[p] = N[w] = N[A] = N[D] = N[j] = N[K] = N[Z] = N[x] = N[v] = N[C] = N[P] = !0, N[d] = N[y] = N[rt] = !1;
2061
- var _ = typeof rn == "object" && rn && rn.Object === Object && rn, O = typeof self == "object" && self && self.Object === Object && self, V = _ || O || Function("return this")(), W = t && !t.nodeType && t, k = W && !0 && r && !r.nodeType && r, pt = k && k.exports === W;
2059
+ var e = 200, n = "__lodash_hash_undefined__", s = 9007199254740991, i = "[object Arguments]", o = "[object Array]", a = "[object Boolean]", h = "[object Date]", d = "[object Error]", y = "[object Function]", E = "[object GeneratorFunction]", p = "[object Map]", w = "[object Number]", A = "[object Object]", q = "[object Promise]", D = "[object RegExp]", P = "[object Set]", K = "[object String]", Z = "[object Symbol]", rt = "[object WeakMap]", nt = "[object ArrayBuffer]", bt = "[object DataView]", At = "[object Float32Array]", vt = "[object Float64Array]", kt = "[object Int8Array]", Lt = "[object Int16Array]", g = "[object Int32Array]", x = "[object Uint8Array]", v = "[object Uint8ClampedArray]", O = "[object Uint16Array]", j = "[object Uint32Array]", S = /[\\^$.*+?()[\]{}|]/g, $ = /\w*$/, H = /^\[object .+?Constructor\]$/, z = /^(?:0|[1-9]\d*)$/, N = {};
2060
+ N[i] = N[o] = N[nt] = N[bt] = N[a] = N[h] = N[At] = N[vt] = N[kt] = N[Lt] = N[g] = N[p] = N[w] = N[A] = N[D] = N[P] = N[K] = N[Z] = N[x] = N[v] = N[O] = N[j] = !0, N[d] = N[y] = N[rt] = !1;
2061
+ var _ = typeof rn == "object" && rn && rn.Object === Object && rn, L = typeof self == "object" && self && self.Object === Object && self, V = _ || L || Function("return this")(), W = t && !t.nodeType && t, k = W && !0 && r && !r.nodeType && r, pt = k && k.exports === W;
2062
2062
  function ht(l, u) {
2063
2063
  return l.set(u[0], u[1]), l;
2064
2064
  }
@@ -2130,7 +2130,7 @@ function go() {
2130
2130
  function T() {
2131
2131
  this.__data__ = Ue ? Ue(null) : {};
2132
2132
  }
2133
- function L(l) {
2133
+ function C(l) {
2134
2134
  return this.has(l) && delete this.__data__[l];
2135
2135
  }
2136
2136
  function B(l) {
@@ -2149,7 +2149,7 @@ function go() {
2149
2149
  var m = this.__data__;
2150
2150
  return m[l] = Ue && u === void 0 ? n : u, this;
2151
2151
  }
2152
- b.prototype.clear = T, b.prototype.delete = L, b.prototype.get = B, b.prototype.has = U, b.prototype.set = G;
2152
+ b.prototype.clear = T, b.prototype.delete = C, b.prototype.get = B, b.prototype.has = U, b.prototype.set = G;
2153
2153
  function F(l) {
2154
2154
  var u = -1, m = l ? l.length : 0;
2155
2155
  for (this.clear(); ++u < m; ) {
@@ -2372,7 +2372,7 @@ function go() {
2372
2372
  return as(m) ? m : void 0;
2373
2373
  }
2374
2374
  var He = Xt ? Ae(Xt, Object) : Ns, ze = os;
2375
- (Ot && ze(new Ot(new ArrayBuffer(1))) != bt || re && ze(new re()) != p || Ft && ze(Ft.resolve()) != q || Ye && ze(new Ye()) != j || dn && ze(new dn()) != rt) && (ze = function(l) {
2375
+ (Ot && ze(new Ot(new ArrayBuffer(1))) != bt || re && ze(new re()) != p || Ft && ze(Ft.resolve()) != q || Ye && ze(new Ye()) != P || dn && ze(new dn()) != rt) && (ze = function(l) {
2376
2376
  var u = Pt.call(l), m = u == A ? l.constructor : void 0, I = m ? Yt(m) : void 0;
2377
2377
  if (I)
2378
2378
  switch (I) {
@@ -2383,7 +2383,7 @@ function go() {
2383
2383
  case fn:
2384
2384
  return q;
2385
2385
  case Je:
2386
- return j;
2386
+ return P;
2387
2387
  case M:
2388
2388
  return rt;
2389
2389
  }
@@ -2413,8 +2413,8 @@ function go() {
2413
2413
  case g:
2414
2414
  case x:
2415
2415
  case v:
2416
- case C:
2417
- case P:
2416
+ case O:
2417
+ case j:
2418
2418
  return ds(l, I);
2419
2419
  case p:
2420
2420
  return vr(l, I, m);
@@ -2423,7 +2423,7 @@ function go() {
2423
2423
  return new ft(l);
2424
2424
  case D:
2425
2425
  return wr(l);
2426
- case j:
2426
+ case P:
2427
2427
  return us(l, I, m);
2428
2428
  case Z:
2429
2429
  return hs(l);
@@ -2504,8 +2504,8 @@ tr.exports;
2504
2504
  var ol;
2505
2505
  function mo() {
2506
2506
  return ol || (ol = 1, (function(r, t) {
2507
- var e = 200, n = "__lodash_hash_undefined__", s = 1, i = 2, o = 9007199254740991, a = "[object Arguments]", h = "[object Array]", d = "[object AsyncFunction]", y = "[object Boolean]", E = "[object Date]", p = "[object Error]", w = "[object Function]", A = "[object GeneratorFunction]", q = "[object Map]", D = "[object Number]", j = "[object Null]", K = "[object Object]", Z = "[object Promise]", rt = "[object Proxy]", nt = "[object RegExp]", bt = "[object Set]", At = "[object String]", vt = "[object Symbol]", kt = "[object Undefined]", Lt = "[object WeakMap]", g = "[object ArrayBuffer]", x = "[object DataView]", v = "[object Float32Array]", C = "[object Float64Array]", P = "[object Int8Array]", S = "[object Int16Array]", $ = "[object Int32Array]", H = "[object Uint8Array]", z = "[object Uint8ClampedArray]", N = "[object Uint16Array]", _ = "[object Uint32Array]", O = /[\\^$.*+?()[\]{}|]/g, V = /^\[object .+?Constructor\]$/, W = /^(?:0|[1-9]\d*)$/, k = {};
2508
- k[v] = k[C] = k[P] = k[S] = k[$] = k[H] = k[z] = k[N] = k[_] = !0, k[a] = k[h] = k[g] = k[y] = k[x] = k[E] = k[p] = k[w] = k[q] = k[D] = k[K] = k[nt] = k[bt] = k[At] = k[Lt] = !1;
2507
+ var e = 200, n = "__lodash_hash_undefined__", s = 1, i = 2, o = 9007199254740991, a = "[object Arguments]", h = "[object Array]", d = "[object AsyncFunction]", y = "[object Boolean]", E = "[object Date]", p = "[object Error]", w = "[object Function]", A = "[object GeneratorFunction]", q = "[object Map]", D = "[object Number]", P = "[object Null]", K = "[object Object]", Z = "[object Promise]", rt = "[object Proxy]", nt = "[object RegExp]", bt = "[object Set]", At = "[object String]", vt = "[object Symbol]", kt = "[object Undefined]", Lt = "[object WeakMap]", g = "[object ArrayBuffer]", x = "[object DataView]", v = "[object Float32Array]", O = "[object Float64Array]", j = "[object Int8Array]", S = "[object Int16Array]", $ = "[object Int32Array]", H = "[object Uint8Array]", z = "[object Uint8ClampedArray]", N = "[object Uint16Array]", _ = "[object Uint32Array]", L = /[\\^$.*+?()[\]{}|]/g, V = /^\[object .+?Constructor\]$/, W = /^(?:0|[1-9]\d*)$/, k = {};
2508
+ k[v] = k[O] = k[j] = k[S] = k[$] = k[H] = k[z] = k[N] = k[_] = !0, k[a] = k[h] = k[g] = k[y] = k[x] = k[E] = k[p] = k[w] = k[q] = k[D] = k[K] = k[nt] = k[bt] = k[At] = k[Lt] = !1;
2509
2509
  var pt = typeof rn == "object" && rn && rn.Object === Object && rn, ht = typeof self == "object" && self && self.Object === Object && self, lt = pt || ht || Function("return this")(), dt = t && !t.nodeType && t, gt = dt && !0 && r && !r.nodeType && r, yt = gt && gt.exports === dt, mt = yt && pt.process, ct = (function() {
2510
2510
  try {
2511
2511
  return mt && mt.binding && mt.binding("util");
@@ -2567,8 +2567,8 @@ function mo() {
2567
2567
  var l = /[^.]+$/.exec(le && le.keys && le.keys.IE_PROTO || "");
2568
2568
  return l ? "Symbol(src)_1." + l : "";
2569
2569
  })(), ne = Jt.toString, Pe = RegExp(
2570
- "^" + St.call(xt).replace(O, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
2571
- ), Xt = yt ? lt.Buffer : void 0, te = lt.Symbol, Ce = lt.Uint8Array, Ot = Jt.propertyIsEnumerable, re = Pt.splice, Ft = te ? te.toStringTag : void 0, Ye = Object.getOwnPropertySymbols, dn = Xt ? Xt.isBuffer : void 0, Ue = Te(Object.keys, Object), Qe = He(lt, "DataView"), Se = He(lt, "Map"), fn = He(lt, "Promise"), Je = He(lt, "Set"), M = He(lt, "WeakMap"), c = He(Object, "create"), f = Yt(Qe), b = Yt(Se), T = Yt(fn), L = Yt(Je), B = Yt(M), U = te ? te.prototype : void 0, G = U ? U.valueOf : void 0;
2570
+ "^" + St.call(xt).replace(L, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
2571
+ ), Xt = yt ? lt.Buffer : void 0, te = lt.Symbol, Ce = lt.Uint8Array, Ot = Jt.propertyIsEnumerable, re = Pt.splice, Ft = te ? te.toStringTag : void 0, Ye = Object.getOwnPropertySymbols, dn = Xt ? Xt.isBuffer : void 0, Ue = Te(Object.keys, Object), Qe = He(lt, "DataView"), Se = He(lt, "Map"), fn = He(lt, "Promise"), Je = He(lt, "Set"), M = He(lt, "WeakMap"), c = He(Object, "create"), f = Yt(Qe), b = Yt(Se), T = Yt(fn), C = Yt(Je), B = Yt(M), U = te ? te.prototype : void 0, G = U ? U.valueOf : void 0;
2572
2572
  function F(l) {
2573
2573
  var u = -1, m = l == null ? 0 : l.length;
2574
2574
  for (this.clear(); ++u < m; ) {
@@ -2719,7 +2719,7 @@ function mo() {
2719
2719
  return Ln(l) ? I : Ae(I, m(l));
2720
2720
  }
2721
2721
  function pn(l) {
2722
- return l == null ? l === void 0 ? kt : j : Ft && Ft in Object(l) ? ze(l) : xr(l);
2722
+ return l == null ? l === void 0 ? kt : P : Ft && Ft in Object(l) ? ze(l) : xr(l);
2723
2723
  }
2724
2724
  function vr(l) {
2725
2725
  return qe(l) && pn(l) == a;
@@ -2899,7 +2899,7 @@ function mo() {
2899
2899
  return q;
2900
2900
  case T:
2901
2901
  return Z;
2902
- case L:
2902
+ case C:
2903
2903
  return bt;
2904
2904
  case B:
2905
2905
  return Lt;
@@ -3179,8 +3179,8 @@ function Md() {
3179
3179
  const A = [], q = new a.default(this.ops);
3180
3180
  let D = 0;
3181
3181
  for (; D < w && q.hasNext(); ) {
3182
- let j;
3183
- D < p ? j = q.next(p - D) : (j = q.next(w - D), A.push(j)), D += o.default.length(j);
3182
+ let P;
3183
+ D < p ? P = q.next(p - D) : (P = q.next(w - D), A.push(P)), D += o.default.length(P);
3184
3184
  }
3185
3185
  return new y(A);
3186
3186
  }
@@ -3192,12 +3192,12 @@ function Md() {
3192
3192
  K -= w.peekLength(), q.push(w.next());
3193
3193
  D.retain - K > 0 && A.next(D.retain - K);
3194
3194
  }
3195
- const j = new y(q);
3195
+ const P = new y(q);
3196
3196
  for (; w.hasNext() || A.hasNext(); )
3197
3197
  if (A.peekType() === "insert")
3198
- j.push(A.next());
3198
+ P.push(A.next());
3199
3199
  else if (w.peekType() === "delete")
3200
- j.push(w.next());
3200
+ P.push(w.next());
3201
3201
  else {
3202
3202
  const K = Math.min(w.peekLength(), A.peekLength()), Z = w.next(K), rt = A.next(K);
3203
3203
  if (rt.retain) {
@@ -3213,13 +3213,13 @@ function Md() {
3213
3213
  };
3214
3214
  }
3215
3215
  const bt = i.default.compose(Z.attributes, rt.attributes, typeof Z.retain == "number");
3216
- if (bt && (nt.attributes = bt), j.push(nt), !A.hasNext() && s(j.ops[j.ops.length - 1], nt)) {
3216
+ if (bt && (nt.attributes = bt), P.push(nt), !A.hasNext() && s(P.ops[P.ops.length - 1], nt)) {
3217
3217
  const At = new y(w.rest());
3218
- return j.concat(At).chop();
3218
+ return P.concat(At).chop();
3219
3219
  }
3220
- } else typeof rt.delete == "number" && (typeof Z.retain == "number" || typeof Z.retain == "object" && Z.retain !== null) && j.push(rt);
3220
+ } else typeof rt.delete == "number" && (typeof Z.retain == "number" || typeof Z.retain == "object" && Z.retain !== null) && P.push(rt);
3221
3221
  }
3222
- return j.chop();
3222
+ return P.chop();
3223
3223
  }
3224
3224
  concat(p) {
3225
3225
  const w = new y(this.ops.slice());
@@ -3233,7 +3233,7 @@ function Md() {
3233
3233
  return typeof rt.insert == "string" ? rt.insert : h;
3234
3234
  const nt = Z === p ? "on" : "with";
3235
3235
  throw new Error("diff() called " + nt + " non-document");
3236
- }).join("")), q = new y(), D = e(A[0], A[1], w, !0), j = new a.default(this.ops), K = new a.default(p.ops);
3236
+ }).join("")), q = new y(), D = e(A[0], A[1], w, !0), P = new a.default(this.ops), K = new a.default(p.ops);
3237
3237
  return D.forEach((Z) => {
3238
3238
  let rt = Z[1].length;
3239
3239
  for (; rt > 0; ) {
@@ -3243,11 +3243,11 @@ function Md() {
3243
3243
  nt = Math.min(K.peekLength(), rt), q.push(K.next(nt));
3244
3244
  break;
3245
3245
  case e.DELETE:
3246
- nt = Math.min(rt, j.peekLength()), j.next(nt), q.delete(nt);
3246
+ nt = Math.min(rt, P.peekLength()), P.next(nt), q.delete(nt);
3247
3247
  break;
3248
3248
  case e.EQUAL:
3249
- nt = Math.min(j.peekLength(), K.peekLength(), rt);
3250
- const bt = j.next(nt), At = K.next(nt);
3249
+ nt = Math.min(P.peekLength(), K.peekLength(), rt);
3250
+ const bt = P.next(nt), At = K.next(nt);
3251
3251
  s(bt.insert, At.insert) ? q.retain(nt, i.default.diff(bt.attributes, At.attributes)) : q.push(At).delete(nt);
3252
3252
  break;
3253
3253
  }
@@ -3262,7 +3262,7 @@ function Md() {
3262
3262
  for (; A.hasNext(); ) {
3263
3263
  if (A.peekType() !== "insert")
3264
3264
  return;
3265
- const j = A.peek(), K = o.default.length(j) - A.peekLength(), Z = typeof j.insert == "string" ? j.insert.indexOf(w, K) - K : -1;
3265
+ const P = A.peek(), K = o.default.length(P) - A.peekLength(), Z = typeof P.insert == "string" ? P.insert.indexOf(w, K) - K : -1;
3266
3266
  if (Z < 0)
3267
3267
  q.push(A.next());
3268
3268
  else if (Z > 0)
@@ -3289,8 +3289,8 @@ function Md() {
3289
3289
  q.delete ? w.push(K) : q.retain && q.attributes && w.retain(o.default.length(K), i.default.invert(q.attributes, K.attributes));
3290
3290
  }), A + D;
3291
3291
  } else if (typeof q.retain == "object" && q.retain !== null) {
3292
- const D = p.slice(A, A + 1), j = new a.default(D.ops).next(), [K, Z, rt] = d(q.retain, j.insert), nt = y.getHandler(K);
3293
- return w.retain({ [K]: nt.invert(Z, rt) }, i.default.invert(q.attributes, j.attributes)), A + 1;
3292
+ const D = p.slice(A, A + 1), P = new a.default(D.ops).next(), [K, Z, rt] = d(q.retain, P.insert), nt = y.getHandler(K);
3293
+ return w.retain({ [K]: nt.invert(Z, rt) }, i.default.invert(q.attributes, P.attributes)), A + 1;
3294
3294
  }
3295
3295
  }
3296
3296
  return A;
@@ -3299,18 +3299,18 @@ function Md() {
3299
3299
  transform(p, w = !1) {
3300
3300
  if (w = !!w, typeof p == "number")
3301
3301
  return this.transformPosition(p, w);
3302
- const A = p, q = new a.default(this.ops), D = new a.default(A.ops), j = new y();
3302
+ const A = p, q = new a.default(this.ops), D = new a.default(A.ops), P = new y();
3303
3303
  for (; q.hasNext() || D.hasNext(); )
3304
3304
  if (q.peekType() === "insert" && (w || D.peekType() !== "insert"))
3305
- j.retain(o.default.length(q.next()));
3305
+ P.retain(o.default.length(q.next()));
3306
3306
  else if (D.peekType() === "insert")
3307
- j.push(D.next());
3307
+ P.push(D.next());
3308
3308
  else {
3309
3309
  const K = Math.min(q.peekLength(), D.peekLength()), Z = q.next(K), rt = D.next(K);
3310
3310
  if (Z.delete)
3311
3311
  continue;
3312
3312
  if (rt.delete)
3313
- j.push(rt);
3313
+ P.push(rt);
3314
3314
  else {
3315
3315
  const nt = Z.retain, bt = rt.retain;
3316
3316
  let At = typeof bt == "object" && bt !== null ? bt : K;
@@ -3323,21 +3323,21 @@ function Md() {
3323
3323
  });
3324
3324
  }
3325
3325
  }
3326
- j.retain(At, i.default.transform(Z.attributes, rt.attributes, w));
3326
+ P.retain(At, i.default.transform(Z.attributes, rt.attributes, w));
3327
3327
  }
3328
3328
  }
3329
- return j.chop();
3329
+ return P.chop();
3330
3330
  }
3331
3331
  transformPosition(p, w = !1) {
3332
3332
  w = !!w;
3333
3333
  const A = new a.default(this.ops);
3334
3334
  let q = 0;
3335
3335
  for (; A.hasNext() && q <= p; ) {
3336
- const D = A.peekLength(), j = A.peekType();
3337
- if (A.next(), j === "delete") {
3336
+ const D = A.peekLength(), P = A.peekType();
3337
+ if (A.next(), P === "delete") {
3338
3338
  p -= Math.min(D, p - q);
3339
3339
  continue;
3340
- } else j === "insert" && (q < p || !w) && (p += D);
3340
+ } else P === "insert" && (q < p || !w) && (p += D);
3341
3341
  q += D;
3342
3342
  }
3343
3343
  return p;
@@ -3655,9 +3655,9 @@ function Dd() {
3655
3655
  }, a.prototype.emit = function(d, y, E, p, w, A) {
3656
3656
  var q = e ? e + d : d;
3657
3657
  if (!this._events[q]) return !1;
3658
- var D = this._events[q], j = arguments.length, K, Z;
3658
+ var D = this._events[q], P = arguments.length, K, Z;
3659
3659
  if (D.fn) {
3660
- switch (D.once && this.removeListener(d, D.fn, void 0, !0), j) {
3660
+ switch (D.once && this.removeListener(d, D.fn, void 0, !0), P) {
3661
3661
  case 1:
3662
3662
  return D.fn.call(D.context), !0;
3663
3663
  case 2:
@@ -3671,13 +3671,13 @@ function Dd() {
3671
3671
  case 6:
3672
3672
  return D.fn.call(D.context, y, E, p, w, A), !0;
3673
3673
  }
3674
- for (Z = 1, K = new Array(j - 1); Z < j; Z++)
3674
+ for (Z = 1, K = new Array(P - 1); Z < P; Z++)
3675
3675
  K[Z - 1] = arguments[Z];
3676
3676
  D.fn.apply(D.context, K);
3677
3677
  } else {
3678
3678
  var rt = D.length, nt;
3679
3679
  for (Z = 0; Z < rt; Z++)
3680
- switch (D[Z].once && this.removeListener(d, D[Z].fn, void 0, !0), j) {
3680
+ switch (D[Z].once && this.removeListener(d, D[Z].fn, void 0, !0), P) {
3681
3681
  case 1:
3682
3682
  D[Z].fn.call(D[Z].context);
3683
3683
  break;
@@ -3691,7 +3691,7 @@ function Dd() {
3691
3691
  D[Z].fn.call(D[Z].context, y, E, p);
3692
3692
  break;
3693
3693
  default:
3694
- if (!K) for (nt = 1, K = new Array(j - 1); nt < j; nt++)
3694
+ if (!K) for (nt = 1, K = new Array(P - 1); nt < P; nt++)
3695
3695
  K[nt - 1] = arguments[nt];
3696
3696
  D[Z].fn.apply(D[Z].context, K);
3697
3697
  }
@@ -3710,7 +3710,7 @@ function Dd() {
3710
3710
  if (A.fn)
3711
3711
  A.fn === y && (!p || A.once) && (!E || A.context === E) && o(this, w);
3712
3712
  else {
3713
- for (var q = 0, D = [], j = A.length; q < j; q++)
3713
+ for (var q = 0, D = [], P = A.length; q < P; q++)
3714
3714
  (A[q].fn !== y || p && !A[q].once || E && A[q].context !== E) && D.push(A[q]);
3715
3715
  D.length ? this._events[w] = D.length === 1 ? D[0] : D : o(this, w);
3716
3716
  }
@@ -4041,12 +4041,12 @@ class zd {
4041
4041
  E = !A.endsWith(`
4042
4042
  `) && (e <= o || !!this.scroll.descendant(ue, o)[0]), this.scroll.insertAt(o, A);
4043
4043
  const [q, D] = this.scroll.line(o);
4044
- let j = on({}, ae(q));
4044
+ let P = on({}, ae(q));
4045
4045
  if (q instanceof $t) {
4046
4046
  const [K] = q.descendant(Wt, D);
4047
- K && (j = on(j, ae(K)));
4047
+ K && (P = on(P, ae(K)));
4048
4048
  }
4049
- d = Qt.AttributeMap.diff(j, d) || {};
4049
+ d = Qt.AttributeMap.diff(P, d) || {};
4050
4050
  } else if (typeof a.insert == "object") {
4051
4051
  const A = Object.keys(a.insert)[0];
4052
4052
  if (A == null) return o;
@@ -4054,15 +4054,15 @@ class zd {
4054
4054
  if (q)
4055
4055
  (e <= o || this.scroll.descendant(ue, o)[0]) && (E = !0);
4056
4056
  else if (o > 0) {
4057
- const [D, j] = this.scroll.descendant(Wt, o - 1);
4058
- D instanceof we ? D.value()[j] !== `
4057
+ const [D, P] = this.scroll.descendant(Wt, o - 1);
4058
+ D instanceof we ? D.value()[P] !== `
4059
4059
  ` && (y = !0) : D instanceof se && D.statics.scope === et.INLINE_BLOT && (y = !0);
4060
4060
  }
4061
4061
  if (this.scroll.insertAt(o, A, a.insert[A]), q) {
4062
4062
  const [D] = this.scroll.descendant(Wt, o);
4063
4063
  if (D) {
4064
- const j = on({}, ae(D));
4065
- d = Qt.AttributeMap.diff(j, d) || {};
4064
+ const P = on({}, ae(D));
4065
+ d = Qt.AttributeMap.diff(P, d) || {};
4066
4066
  }
4067
4067
  }
4068
4068
  }
@@ -4769,11 +4769,11 @@ function Jd(r, t) {
4769
4769
  modules: Object.entries(y).reduce((w, A) => {
4770
4770
  let [q, D] = A;
4771
4771
  if (!D) return w;
4772
- const j = R.import(`modules/${q}`);
4773
- return j == null ? (jn.error(`Cannot load ${q} module. Are you sure you registered it?`), w) : {
4772
+ const P = R.import(`modules/${q}`);
4773
+ return P == null ? (jn.error(`Cannot load ${q} module. Are you sure you registered it?`), w) : {
4774
4774
  ...w,
4775
4775
  // @ts-expect-error
4776
- [q]: on({}, j.DEFAULTS || {}, D)
4776
+ [q]: on({}, P.DEFAULTS || {}, D)
4777
4777
  };
4778
4778
  }, {}),
4779
4779
  bounds: bl(E.bounds)
@@ -5192,7 +5192,7 @@ class Qr extends he {
5192
5192
  listen() {
5193
5193
  this.quill.root.addEventListener("keydown", (t) => {
5194
5194
  if (t.defaultPrevented || t.isComposing || t.keyCode === 229 && (t.key === "Enter" || t.key === "Backspace")) return;
5195
- const s = (this.bindings[t.key] || []).concat(this.bindings[t.which] || []).filter((j) => Qr.match(t, j));
5195
+ const s = (this.bindings[t.key] || []).concat(this.bindings[t.which] || []).filter((P) => Qr.match(t, P));
5196
5196
  if (s.length === 0) return;
5197
5197
  const i = R.find(t.target, !0);
5198
5198
  if (i && i.scroll !== this.quill.scroll) return;
@@ -5209,15 +5209,15 @@ class Qr extends he {
5209
5209
  suffix: A,
5210
5210
  event: t
5211
5211
  };
5212
- s.some((j) => {
5213
- if (j.collapsed != null && j.collapsed !== q.collapsed || j.empty != null && j.empty !== q.empty || j.offset != null && j.offset !== q.offset)
5212
+ s.some((P) => {
5213
+ if (P.collapsed != null && P.collapsed !== q.collapsed || P.empty != null && P.empty !== q.empty || P.offset != null && P.offset !== q.offset)
5214
5214
  return !1;
5215
- if (Array.isArray(j.format)) {
5216
- if (j.format.every((K) => q.format[K] == null))
5215
+ if (Array.isArray(P.format)) {
5216
+ if (P.format.every((K) => q.format[K] == null))
5217
5217
  return !1;
5218
- } else if (typeof j.format == "object" && !Object.keys(j.format).every((K) => j.format[K] === !0 ? q.format[K] != null : j.format[K] === !1 ? q.format[K] == null : mi(j.format[K], q.format[K])))
5218
+ } else if (typeof P.format == "object" && !Object.keys(P.format).every((K) => P.format[K] === !0 ? q.format[K] != null : P.format[K] === !1 ? q.format[K] == null : mi(P.format[K], q.format[K])))
5219
5219
  return !1;
5220
- return j.prefix != null && !j.prefix.test(q.prefix) || j.suffix != null && !j.suffix.test(q.suffix) ? !1 : j.handler.call(this, o, q, j) !== !0;
5220
+ return P.prefix != null && !P.prefix.test(q.prefix) || P.suffix != null && !P.suffix.test(q.suffix) ? !1 : P.handler.call(this, o, q, P) !== !0;
5221
5221
  }) && t.preventDefault();
5222
5222
  });
5223
5223
  }
@@ -7544,27 +7544,27 @@ function H1() {
7544
7544
  var i = window.webpackHotUpdatequillBetterTable;
7545
7545
  window.webpackHotUpdatequillBetterTable = // eslint-disable-next-line no-unused-vars
7546
7546
  /******/
7547
- function(_, O) {
7548
- C(_, O), i && i(_, O);
7547
+ function(_, L) {
7548
+ O(_, L), i && i(_, L);
7549
7549
  };
7550
7550
  function o(N) {
7551
7551
  var _ = document.createElement("script");
7552
7552
  _.charset = "utf-8", _.src = z.p + "" + N + "." + d + ".hot-update.js", document.head.appendChild(_);
7553
7553
  }
7554
7554
  function a(N) {
7555
- return N = N || 1e4, new Promise(function(_, O) {
7555
+ return N = N || 1e4, new Promise(function(_, L) {
7556
7556
  if (typeof XMLHttpRequest > "u")
7557
- return O(new Error("No browser support"));
7557
+ return L(new Error("No browser support"));
7558
7558
  try {
7559
7559
  var V = new XMLHttpRequest(), W = z.p + "" + d + ".hot-update.json";
7560
7560
  V.open("GET", W, !0), V.timeout = N, V.send(null);
7561
7561
  } catch (k) {
7562
- return O(k);
7562
+ return L(k);
7563
7563
  }
7564
7564
  V.onreadystatechange = function() {
7565
7565
  if (V.readyState === 4)
7566
7566
  if (V.status === 0)
7567
- O(
7567
+ L(
7568
7568
  /******/
7569
7569
  new Error("Manifest request to " + W + " timed out.")
7570
7570
  /******/
@@ -7572,12 +7572,12 @@ function H1() {
7572
7572
  else if (V.status === 404)
7573
7573
  _();
7574
7574
  else if (V.status !== 200 && V.status !== 304)
7575
- O(new Error("Manifest request to " + W + " failed."));
7575
+ L(new Error("Manifest request to " + W + " failed."));
7576
7576
  else {
7577
7577
  try {
7578
7578
  var k = JSON.parse(V.responseText);
7579
7579
  } catch (pt) {
7580
- O(pt);
7580
+ L(pt);
7581
7581
  return;
7582
7582
  }
7583
7583
  _(k);
@@ -7589,7 +7589,7 @@ function H1() {
7589
7589
  function q(N) {
7590
7590
  var _ = H[N];
7591
7591
  if (!_) return z;
7592
- var O = function(k) {
7592
+ var L = function(k) {
7593
7593
  return _.hot.active ? (H[k] ? H[k].parents.indexOf(N) === -1 && H[k].parents.push(N) : (w = [N], p = k), _.children.indexOf(k) === -1 && _.children.push(k)) : (console.warn(
7594
7594
  /******/
7595
7595
  "[HMR] unexpected require(" + /******/
@@ -7619,17 +7619,17 @@ function H1() {
7619
7619
  /******/
7620
7620
  Object.prototype.hasOwnProperty.call(z, W) && /******/
7621
7621
  W !== "e" && /******/
7622
- W !== "t" && Object.defineProperty(O, W, V(W));
7623
- return O.e = function(k) {
7622
+ W !== "t" && Object.defineProperty(L, W, V(W));
7623
+ return L.e = function(k) {
7624
7624
  return K === "ready" && Z("prepare"), nt++, z.e(k).then(pt, function(ht) {
7625
7625
  throw pt(), ht;
7626
7626
  });
7627
7627
  function pt() {
7628
- nt--, K === "prepare" && (bt[k] || P(k), nt === 0 && rt === 0 && S());
7628
+ nt--, K === "prepare" && (bt[k] || j(k), nt === 0 && rt === 0 && S());
7629
7629
  }
7630
- }, O.t = function(k, pt) {
7631
- return pt & 1 && (k = O(k)), z.t(k, pt & -2);
7632
- }, O;
7630
+ }, L.t = function(k, pt) {
7631
+ return pt & 1 && (k = L(k)), z.t(k, pt & -2);
7632
+ }, L;
7633
7633
  }
7634
7634
  function D(N) {
7635
7635
  var _ = {
@@ -7653,35 +7653,35 @@ function H1() {
7653
7653
  /******/
7654
7654
  active: !0,
7655
7655
  /******/
7656
- accept: function(O, V) {
7657
- if (O === void 0) _._selfAccepted = !0;
7658
- else if (typeof O == "function") _._selfAccepted = O;
7659
- else if (typeof O == "object")
7660
- for (var W = 0; W < O.length; W++)
7661
- _._acceptedDependencies[O[W]] = V || function() {
7656
+ accept: function(L, V) {
7657
+ if (L === void 0) _._selfAccepted = !0;
7658
+ else if (typeof L == "function") _._selfAccepted = L;
7659
+ else if (typeof L == "object")
7660
+ for (var W = 0; W < L.length; W++)
7661
+ _._acceptedDependencies[L[W]] = V || function() {
7662
7662
  };
7663
- else _._acceptedDependencies[O] = V || function() {
7663
+ else _._acceptedDependencies[L] = V || function() {
7664
7664
  };
7665
7665
  },
7666
7666
  /******/
7667
- decline: function(O) {
7668
- if (O === void 0) _._selfDeclined = !0;
7669
- else if (typeof O == "object")
7670
- for (var V = 0; V < O.length; V++)
7671
- _._declinedDependencies[O[V]] = !0;
7672
- else _._declinedDependencies[O] = !0;
7667
+ decline: function(L) {
7668
+ if (L === void 0) _._selfDeclined = !0;
7669
+ else if (typeof L == "object")
7670
+ for (var V = 0; V < L.length; V++)
7671
+ _._declinedDependencies[L[V]] = !0;
7672
+ else _._declinedDependencies[L] = !0;
7673
7673
  },
7674
7674
  /******/
7675
- dispose: function(O) {
7676
- _._disposeHandlers.push(O);
7675
+ dispose: function(L) {
7676
+ _._disposeHandlers.push(L);
7677
7677
  },
7678
7678
  /******/
7679
- addDisposeHandler: function(O) {
7680
- _._disposeHandlers.push(O);
7679
+ addDisposeHandler: function(L) {
7680
+ _._disposeHandlers.push(L);
7681
7681
  },
7682
7682
  /******/
7683
- removeDisposeHandler: function(O) {
7684
- var V = _._disposeHandlers.indexOf(O);
7683
+ removeDisposeHandler: function(L) {
7684
+ var V = _._disposeHandlers.indexOf(L);
7685
7685
  V >= 0 && _._disposeHandlers.splice(V, 1);
7686
7686
  },
7687
7687
  /******/
@@ -7692,18 +7692,18 @@ function H1() {
7692
7692
  /******/
7693
7693
  apply: $,
7694
7694
  /******/
7695
- status: function(O) {
7696
- if (!O) return K;
7697
- j.push(O);
7695
+ status: function(L) {
7696
+ if (!L) return K;
7697
+ P.push(L);
7698
7698
  },
7699
7699
  /******/
7700
- addStatusHandler: function(O) {
7701
- j.push(O);
7700
+ addStatusHandler: function(L) {
7701
+ P.push(L);
7702
7702
  },
7703
7703
  /******/
7704
- removeStatusHandler: function(O) {
7705
- var V = j.indexOf(O);
7706
- V >= 0 && j.splice(V, 1);
7704
+ removeStatusHandler: function(L) {
7705
+ var V = P.indexOf(L);
7706
+ V >= 0 && P.splice(V, 1);
7707
7707
  },
7708
7708
  /******/
7709
7709
  /******/
@@ -7714,11 +7714,11 @@ function H1() {
7714
7714
  };
7715
7715
  return p = void 0, _;
7716
7716
  }
7717
- var j = [], K = "idle";
7717
+ var P = [], K = "idle";
7718
7718
  function Z(N) {
7719
7719
  K = N;
7720
- for (var _ = 0; _ < j.length; _++)
7721
- j[_].call(null, N);
7720
+ for (var _ = 0; _ < P.length; _++)
7721
+ P[_].call(null, N);
7722
7722
  }
7723
7723
  var rt = 0, nt = 0, bt = {}, At = {}, vt = {}, kt, Lt, g;
7724
7724
  function x(N) {
@@ -7732,7 +7732,7 @@ function H1() {
7732
7732
  if (!_)
7733
7733
  return Z("idle"), null;
7734
7734
  At = {}, bt = {}, vt = _.c, g = _.h, Z("prepare");
7735
- var O = new Promise(function(W, k) {
7735
+ var L = new Promise(function(W, k) {
7736
7736
  kt = {
7737
7737
  /******/
7738
7738
  resolve: W,
@@ -7743,21 +7743,21 @@ function H1() {
7743
7743
  });
7744
7744
  Lt = {};
7745
7745
  var V = 2;
7746
- return P(V), /******/
7746
+ return j(V), /******/
7747
7747
  K === "prepare" && /******/
7748
7748
  nt === 0 && /******/
7749
- rt === 0 && S(), O;
7749
+ rt === 0 && S(), L;
7750
7750
  });
7751
7751
  }
7752
- function C(N, _) {
7752
+ function O(N, _) {
7753
7753
  if (!(!vt[N] || !At[N])) {
7754
7754
  At[N] = !1;
7755
- for (var O in _)
7756
- Object.prototype.hasOwnProperty.call(_, O) && (Lt[O] = _[O]);
7755
+ for (var L in _)
7756
+ Object.prototype.hasOwnProperty.call(_, L) && (Lt[L] = _[L]);
7757
7757
  --rt === 0 && nt === 0 && S();
7758
7758
  }
7759
7759
  }
7760
- function P(N) {
7760
+ function j(N) {
7761
7761
  vt[N] ? (At[N] = !0, rt++, o(N)) : bt[N] = !0;
7762
7762
  }
7763
7763
  function S() {
@@ -7780,8 +7780,8 @@ function H1() {
7780
7780
  );
7781
7781
  else {
7782
7782
  var _ = [];
7783
- for (var O in Lt)
7784
- Object.prototype.hasOwnProperty.call(Lt, O) && _.push(x(O));
7783
+ for (var L in Lt)
7784
+ Object.prototype.hasOwnProperty.call(Lt, L) && _.push(x(L));
7785
7785
  N.resolve(_);
7786
7786
  }
7787
7787
  }
@@ -7789,7 +7789,7 @@ function H1() {
7789
7789
  if (K !== "ready")
7790
7790
  throw new Error("apply() is only allowed in ready status");
7791
7791
  N = N || {};
7792
- var _, O, V, W, k;
7792
+ var _, L, V, W, k;
7793
7793
  function pt(St) {
7794
7794
  for (var xt = [St], zt = {}, ne = xt.map(function(Ft) {
7795
7795
  return {
@@ -7958,8 +7958,8 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
7958
7958
  Ae && (ht(dt, [ct.moduleId]), gt[k] = yt);
7959
7959
  }
7960
7960
  var De = [];
7961
- for (O = 0; O < dt.length; O++)
7962
- k = dt[O], /******/
7961
+ for (L = 0; L < dt.length; L++)
7962
+ k = dt[L], /******/
7963
7963
  H[k] && /******/
7964
7964
  H[k].hot._selfAccepted && /******/
7965
7965
  // removed self-accepted modules should not be required
@@ -8003,13 +8003,13 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
8003
8003
  ) {
8004
8004
  Pt = lt[k];
8005
8005
  var Jt = [];
8006
- for (O = 0; O < Pt.length; O++)
8007
- if (jt = Pt[O], _ = W.hot._acceptedDependencies[jt], _) {
8006
+ for (L = 0; L < Pt.length; L++)
8007
+ if (jt = Pt[L], _ = W.hot._acceptedDependencies[jt], _) {
8008
8008
  if (Jt.indexOf(_) !== -1) continue;
8009
8009
  Jt.push(_);
8010
8010
  }
8011
- for (O = 0; O < Jt.length; O++) {
8012
- _ = Jt[O];
8011
+ for (L = 0; L < Jt.length; L++) {
8012
+ _ = Jt[L];
8013
8013
  try {
8014
8014
  _(Pt);
8015
8015
  } catch (St) {
@@ -8019,7 +8019,7 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
8019
8019
  /******/
8020
8020
  moduleId: k,
8021
8021
  /******/
8022
- dependencyId: Pt[O],
8022
+ dependencyId: Pt[L],
8023
8023
  /******/
8024
8024
  error: St
8025
8025
  /******/
@@ -8027,8 +8027,8 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
8027
8027
  }
8028
8028
  }
8029
8029
  }
8030
- for (O = 0; O < De.length; O++) {
8031
- var le = De[O];
8030
+ for (L = 0; L < De.length; L++) {
8031
+ var le = De[L];
8032
8032
  k = le.module, w = [k];
8033
8033
  try {
8034
8034
  z(k);
@@ -8086,17 +8086,17 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
8086
8086
  };
8087
8087
  return n[N].call(_.exports, _, _.exports, q(N)), _.l = !0, _.exports;
8088
8088
  }
8089
- return z.m = n, z.c = H, z.d = function(N, _, O) {
8090
- z.o(N, _) || Object.defineProperty(N, _, { enumerable: !0, get: O });
8089
+ return z.m = n, z.c = H, z.d = function(N, _, L) {
8090
+ z.o(N, _) || Object.defineProperty(N, _, { enumerable: !0, get: L });
8091
8091
  }, z.r = function(N) {
8092
8092
  typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(N, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(N, "__esModule", { value: !0 });
8093
8093
  }, z.t = function(N, _) {
8094
8094
  if (_ & 1 && (N = z(N)), _ & 8 || _ & 4 && typeof N == "object" && N && N.__esModule) return N;
8095
- var O = /* @__PURE__ */ Object.create(null);
8096
- if (z.r(O), Object.defineProperty(O, "default", { enumerable: !0, value: N }), _ & 2 && typeof N != "string") for (var V in N) z.d(O, V, (function(W) {
8095
+ var L = /* @__PURE__ */ Object.create(null);
8096
+ if (z.r(L), Object.defineProperty(L, "default", { enumerable: !0, value: N }), _ & 2 && typeof N != "string") for (var V in N) z.d(L, V, (function(W) {
8097
8097
  return N[W];
8098
8098
  }).bind(null, V));
8099
- return O;
8099
+ return L;
8100
8100
  }, z.n = function(N) {
8101
8101
  var _ = N && N.__esModule ? (
8102
8102
  /******/
@@ -8209,19 +8209,19 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
8209
8209
  b += ("0" + Number(f[T]).toString(16)).slice(-2);
8210
8210
  return b;
8211
8211
  } else if (c.test(M)) {
8212
- var L = M.replace(/#/, "").split("");
8213
- if (L.length === 6)
8212
+ var C = M.replace(/#/, "").split("");
8213
+ if (C.length === 6)
8214
8214
  return M;
8215
- if (L.length === 3) {
8216
- for (var B = "#", T = 0; T < L.length; T += 1)
8217
- B += L[T] + L[T];
8215
+ if (C.length === 3) {
8216
+ for (var B = "#", T = 0; T < C.length; T += 1)
8217
+ B += C[T] + C[T];
8218
8218
  return B;
8219
8219
  }
8220
8220
  }
8221
8221
  return M;
8222
8222
  }
8223
8223
  const w = 12, A = 12, q = 50, D = "#35A7ED";
8224
- class j {
8224
+ class P {
8225
8225
  constructor(c, f, b) {
8226
8226
  if (!c) return null;
8227
8227
  this.table = c, this.quill = f, this.options = b, this.domNode = null, this.initColTool();
@@ -8247,10 +8247,10 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
8247
8247
  }
8248
8248
  updateToolCells() {
8249
8249
  const c = a.a.find(this.table), f = c.children.tail.children.head.children, b = c.colGroup().children, T = K(f);
8250
- let L = Array.from(this.domNode.querySelectorAll(".qlbt-col-tool-cell"));
8251
- for (let B = 0; B < Math.max(T, L.length); B++) {
8250
+ let C = Array.from(this.domNode.querySelectorAll(".qlbt-col-tool-cell"));
8251
+ for (let B = 0; B < Math.max(T, C.length); B++) {
8252
8252
  let U = b.at(B), G = U && parseInt(U.formats()[U.statics.blotName].width, 10), F = null;
8253
- L[B] ? L[B] && B >= T ? L[B].remove() : (F = L[B], h(F, {
8253
+ C[B] ? C[B] && B >= T ? C[B].remove() : (F = C[B], h(F, {
8254
8254
  "min-width": "".concat(G, "px")
8255
8255
  })) : (F = this.createToolCell(), this.domNode.appendChild(F), this.addColCellHolderHandler(F), h(F, {
8256
8256
  "min-width": "".concat(G, "px")
@@ -8262,9 +8262,9 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
8262
8262
  }
8263
8263
  addColCellHolderHandler(c) {
8264
8264
  const f = a.a.find(this.table), b = c.querySelector(".qlbt-col-tool-cell-holder");
8265
- let T = !1, L = 0, B = 0, U = 0, G = 0, F = {}, Y = {}, it = null;
8265
+ let T = !1, C = 0, B = 0, U = 0, G = 0, F = {}, Y = {}, it = null;
8266
8266
  const ot = (at) => {
8267
- at.preventDefault(), T && (B = at.clientX, G + B - L >= q ? U = B - L : U = q - G, h(it, {
8267
+ at.preventDefault(), T && (B = at.clientX, G + B - C >= q ? U = B - C : U = q - G, h(it, {
8268
8268
  left: "".concat(Y.left + Y.width - 1 + U, "px")
8269
8269
  }));
8270
8270
  }, Q = (at) => {
@@ -8272,7 +8272,7 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
8272
8272
  const Et = Array.from(this.domNode.querySelectorAll(".qlbt-col-tool-cell")).indexOf(c), Rt = f.colGroup().children.at(Et);
8273
8273
  T && (Rt.format("width", G + U), h(c, {
8274
8274
  "min-width": "".concat(G + U, "px")
8275
- }), L = 0, B = 0, U = 0, G = 0, T = !1, b.classList.remove("dragging")), document.removeEventListener("mousemove", ot, !1), document.removeEventListener("mouseup", Q, !1), F = {}, Y = {}, it.remove(), it = null, f.updateTableWidth();
8275
+ }), C = 0, B = 0, U = 0, G = 0, T = !1, b.classList.remove("dragging")), document.removeEventListener("mousemove", ot, !1), document.removeEventListener("mouseup", Q, !1), F = {}, Y = {}, it.remove(), it = null, f.updateTableWidth();
8276
8276
  const $e = this.quill.getModule("better-table").tableSelection;
8277
8277
  $e && $e.clearSelection();
8278
8278
  }, ut = (at) => {
@@ -8284,7 +8284,7 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
8284
8284
  height: "".concat(F.height + w + 4, "px"),
8285
8285
  width: "1px",
8286
8286
  backgroundColor: D
8287
- }), document.body.appendChild(it), T = !0, L = at.clientX, G = Y.width, b.classList.add("dragging");
8287
+ }), document.body.appendChild(it), T = !0, C = at.clientX, G = Y.width, b.classList.add("dragging");
8288
8288
  };
8289
8289
  b.addEventListener("mousedown", ut, !1);
8290
8290
  }
@@ -8319,19 +8319,19 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
8319
8319
  const {
8320
8320
  row: b,
8321
8321
  cell: T,
8322
- rowspan: L,
8322
+ rowspan: C,
8323
8323
  colspan: B
8324
8324
  } = rt.formats(this.domNode);
8325
8325
  c === rt.blotName ? f ? super.format(c, {
8326
8326
  value: f,
8327
8327
  row: b,
8328
8328
  cell: T,
8329
- rowspan: L,
8329
+ rowspan: C,
8330
8330
  colspan: B
8331
- }) : b ? this.replaceWith(P.blotName, {
8331
+ }) : b ? this.replaceWith(j.blotName, {
8332
8332
  row: b,
8333
8333
  cell: T,
8334
- rowspan: L,
8334
+ rowspan: C,
8335
8335
  colspan: B
8336
8336
  }) : super.format(c, f) : super.format(c, f);
8337
8337
  }
@@ -8347,8 +8347,8 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
8347
8347
  rowspan: b
8348
8348
  }), this.enforceAllowedChildren(), this.uiNode != null && this.uiNode !== this.domNode.firstChild && this.domNode.insertBefore(this.uiNode, this.domNode.firstChild), this.children.length === 0)
8349
8349
  if (this.statics.defaultChild != null) {
8350
- const L = this.scroll.create(this.statics.defaultChild.blotName);
8351
- this.appendChild(L);
8350
+ const C = this.scroll.create(this.statics.defaultChild.blotName);
8351
+ this.appendChild(C);
8352
8352
  } else
8353
8353
  this.remove();
8354
8354
  this.cache = {};
@@ -8361,8 +8361,8 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
8361
8361
  }, g = ["row", "cell"], x = ["rowspan", "colspan"], v = {
8362
8362
  rowspan: 1,
8363
8363
  colspan: 1
8364
- }, C = 5;
8365
- class P extends At {
8364
+ }, O = 5;
8365
+ class j extends At {
8366
8366
  static create(c) {
8367
8367
  const f = super.create(c);
8368
8368
  return g.forEach((b) => {
@@ -8386,33 +8386,33 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
8386
8386
  const {
8387
8387
  row: b,
8388
8388
  cell: T,
8389
- rowspan: L,
8389
+ rowspan: C,
8390
8390
  colspan: B
8391
- } = P.formats(this.domNode);
8391
+ } = j.formats(this.domNode);
8392
8392
  super.format(c, {
8393
8393
  value: f,
8394
8394
  row: b,
8395
8395
  cell: T,
8396
- rowspan: L,
8396
+ rowspan: C,
8397
8397
  colspan: B
8398
8398
  });
8399
8399
  } else
8400
8400
  super.format(c, f);
8401
8401
  }
8402
8402
  optimize(c) {
8403
- const f = this.domNode.getAttribute("data-row"), b = this.domNode.getAttribute("data-rowspan"), T = this.domNode.getAttribute("data-colspan"), L = this.domNode.getAttribute("data-cell-bg");
8403
+ const f = this.domNode.getAttribute("data-row"), b = this.domNode.getAttribute("data-rowspan"), T = this.domNode.getAttribute("data-colspan"), C = this.domNode.getAttribute("data-cell-bg");
8404
8404
  this.statics.requiredContainer && !(this.parent instanceof this.statics.requiredContainer) && this.wrap(this.statics.requiredContainer.blotName, {
8405
8405
  row: f,
8406
8406
  colspan: T,
8407
8407
  rowspan: b,
8408
- "cell-bg": L
8408
+ "cell-bg": C
8409
8409
  }), super.optimize(c);
8410
8410
  }
8411
8411
  tableCell() {
8412
8412
  return this.parent;
8413
8413
  }
8414
8414
  }
8415
- P.blotName = "table-cell-line", P.className = "qlbt-cell-line", P.tagName = "P";
8415
+ j.blotName = "table-cell-line", j.className = "qlbt-cell-line", j.tagName = "P";
8416
8416
  class S extends vt {
8417
8417
  checkMerge() {
8418
8418
  if (super.checkMerge() && this.next.children.head != null) {
@@ -8541,11 +8541,11 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
8541
8541
  let f = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], b = arguments.length > 2 ? arguments[2] : void 0;
8542
8542
  const [T] = this.descendants(H);
8543
8543
  if (T == null || T.children.head == null) return;
8544
- const L = this.descendants(S), B = [], U = [];
8545
- if (L.forEach((G) => {
8544
+ const C = this.descendants(S), B = [], U = [];
8545
+ if (C.forEach((G) => {
8546
8546
  const F = d(G.domNode.getBoundingClientRect(), b);
8547
- F.x + C > c.x && F.x1 - C < c.x1 ? B.push(G) : F.x < c.x + C && F.x1 > c.x1 - C && U.push(G);
8548
- }), B.length === L.length)
8547
+ F.x + O > c.x && F.x1 - O < c.x1 ? B.push(G) : F.x < c.x + O && F.x1 > c.x1 - O && U.push(G);
8548
+ }), B.length === C.length)
8549
8549
  return this.tableDestroy(), !0;
8550
8550
  f.forEach((G) => {
8551
8551
  this.colGroup().children.at(f[0]).remove();
@@ -8559,25 +8559,25 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
8559
8559
  deleteRow(c, f) {
8560
8560
  const [b] = this.descendants(H);
8561
8561
  if (b == null || b.children.head == null) return;
8562
- const T = this.descendants(S), L = this.descendants($), B = [], U = [], G = [], F = L.filter((it) => {
8562
+ const T = this.descendants(S), C = this.descendants($), B = [], U = [], G = [], F = C.filter((it) => {
8563
8563
  const ot = d(it.domNode.getBoundingClientRect(), f);
8564
- return ot.y > c.y - C && ot.y1 < c.y1 + C;
8564
+ return ot.y > c.y - O && ot.y1 < c.y1 + O;
8565
8565
  });
8566
8566
  if (T.forEach((it) => {
8567
8567
  const ot = d(it.domNode.getBoundingClientRect(), f);
8568
- ot.y > c.y - C && ot.y1 < c.y1 + C ? B.push(it) : ot.y < c.y + C && ot.y1 > c.y1 - C && (U.push(it), Math.abs(ot.y - c.y) < C && G.push(it));
8568
+ ot.y > c.y - O && ot.y1 < c.y1 + O ? B.push(it) : ot.y < c.y + O && ot.y1 > c.y1 - O && (U.push(it), Math.abs(ot.y - c.y) < O && G.push(it));
8569
8569
  }), B.length === T.length) {
8570
8570
  this.tableDestroy();
8571
8571
  return;
8572
8572
  }
8573
8573
  const Y = this.rows().reduce((it, ot) => {
8574
8574
  let Q = d(ot.domNode.getBoundingClientRect(), f);
8575
- return Q.y > c.y - C && Q.y1 < c.y1 + C && (it += 1), it;
8575
+ return Q.y > c.y - O && Q.y1 < c.y1 + O && (it += 1), it;
8576
8576
  }, 0);
8577
8577
  G.forEach((it) => {
8578
8578
  const ot = d(it.domNode.getBoundingClientRect(), f), Q = it.parent.next, at = Q.children.reduce((It, Et) => {
8579
8579
  const Rt = d(Et.domNode.getBoundingClientRect(), f);
8580
- return Math.abs(ot.x1 - Rt.x) < C && (It = Et), It;
8580
+ return Math.abs(ot.x1 - Rt.x) < O && (It = Et), It;
8581
8581
  }, null);
8582
8582
  Q.insertBefore(it, at), it.format("row", Q.formats().row);
8583
8583
  }), B.forEach((it) => {
@@ -8592,27 +8592,27 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
8592
8592
  this.remove(), f.hideTableTools(), c.update(a.a.sources.USER);
8593
8593
  }
8594
8594
  insertCell(c, f) {
8595
- const b = W(), T = c.formats().row, L = this.scroll.create(S.blotName, Object.assign({}, v, {
8595
+ const b = W(), T = c.formats().row, C = this.scroll.create(S.blotName, Object.assign({}, v, {
8596
8596
  row: T
8597
- })), B = this.scroll.create(P.blotName, {
8597
+ })), B = this.scroll.create(j.blotName, {
8598
8598
  row: T,
8599
8599
  cell: b
8600
8600
  });
8601
- L.appendChild(B), f ? c.insertBefore(L, f) : c.appendChild(L);
8601
+ C.appendChild(B), f ? c.insertBefore(C, f) : c.appendChild(C);
8602
8602
  }
8603
8603
  insertColumn(c, f) {
8604
8604
  let b = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, T = arguments.length > 3 ? arguments[3] : void 0;
8605
- const [L] = this.descendants(H), [B] = this.descendants(N), U = this.descendants(z);
8605
+ const [C] = this.descendants(H), [B] = this.descendants(N), U = this.descendants(z);
8606
8606
  let G = [], F = [], Y = [];
8607
- if (L == null || L.children.head == null) return;
8607
+ if (C == null || C.children.head == null) return;
8608
8608
  this.descendants(S).forEach((ut) => {
8609
8609
  const at = d(ut.domNode.getBoundingClientRect(), T);
8610
- b ? Math.abs(at.x1 - c.x1) < C ? G.push(ut) : c.x1 - at.x > C && c.x1 - at.x1 < -C && F.push(ut) : Math.abs(at.x - c.x) < C ? G.push(ut) : c.x - at.x > C && c.x - at.x1 < -C && F.push(ut);
8610
+ b ? Math.abs(at.x1 - c.x1) < O ? G.push(ut) : c.x1 - at.x > O && c.x1 - at.x1 < -O && F.push(ut) : Math.abs(at.x - c.x) < O ? G.push(ut) : c.x - at.x > O && c.x - at.x1 < -O && F.push(ut);
8611
8611
  }), G.forEach((ut) => {
8612
8612
  const at = b ? ut.next : ut, It = W(), Et = ut.parent, Rt = Et.formats().row, $e = ut.formats(), tn = this.scroll.create(S.blotName, Object.assign({}, v, {
8613
8613
  row: Rt,
8614
8614
  rowspan: $e.rowspan
8615
- })), Vt = this.scroll.create(P.blotName, {
8615
+ })), Vt = this.scroll.create(j.blotName, {
8616
8616
  row: Rt,
8617
8617
  cell: It,
8618
8618
  rowspan: $e.rowspan
@@ -8632,13 +8632,13 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
8632
8632
  insertRow(c, f, b) {
8633
8633
  const [T] = this.descendants(H);
8634
8634
  if (T == null || T.children.head == null) return;
8635
- const L = this.descendants(S), B = V(), U = this.scroll.create($.blotName, {
8635
+ const C = this.descendants(S), B = V(), U = this.scroll.create($.blotName, {
8636
8636
  row: B
8637
8637
  });
8638
8638
  let G = [], F = [], Y = [];
8639
- L.forEach((Q) => {
8639
+ C.forEach((Q) => {
8640
8640
  const ut = d(Q.domNode.getBoundingClientRect(), b);
8641
- f ? Math.abs(ut.y1 - c.y1) < C ? G.push(Q) : c.y1 - ut.y > C && c.y1 - ut.y1 < -C && F.push(Q) : Math.abs(ut.y - c.y) < C ? G.push(Q) : c.y - ut.y > C && c.y - ut.y1 < -C && F.push(Q);
8641
+ f ? Math.abs(ut.y1 - c.y1) < O ? G.push(Q) : c.y1 - ut.y > O && c.y1 - ut.y1 < -O && F.push(Q) : Math.abs(ut.y - c.y) < O ? G.push(Q) : c.y - ut.y > O && c.y - ut.y1 < -O && F.push(Q);
8642
8642
  });
8643
8643
  const it = (Q, ut) => {
8644
8644
  let at = Q.domNode.getBoundingClientRect().x, It = ut.domNode.getBoundingClientRect().x;
@@ -8648,7 +8648,7 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
8648
8648
  const ut = W(), at = Q.formats(), It = this.scroll.create(S.blotName, Object.assign({}, v, {
8649
8649
  row: B,
8650
8650
  colspan: at.colspan
8651
- })), Et = this.scroll.create(P.blotName, {
8651
+ })), Et = this.scroll.create(j.blotName, {
8652
8652
  row: B,
8653
8653
  cell: ut,
8654
8654
  colspan: at.colspan
@@ -8660,11 +8660,11 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
8660
8660
  });
8661
8661
  const ot = this.rows().find((Q) => {
8662
8662
  let ut = d(Q.domNode.getBoundingClientRect(), b);
8663
- return f ? Math.abs(ut.y - c.y - c.height) < C : Math.abs(ut.y - c.y) < C;
8663
+ return f ? Math.abs(ut.y - c.y - c.height) < O : Math.abs(ut.y - c.y) < O;
8664
8664
  });
8665
8665
  return T.insertBefore(U, ot), Y.sort(it), Y;
8666
8666
  }
8667
- mergeCells(c, f, b, T, L) {
8667
+ mergeCells(c, f, b, T, C) {
8668
8668
  const B = f.reduce((F, Y, it) => (it !== 0 ? (F && Y.moveChildren(F), Y.remove()) : (Y.format("colspan", T), Y.format("rowspan", b), F = Y), F), null);
8669
8669
  let U = B.domNode.getAttribute("data-row"), G = B.children.head.domNode.getAttribute("data-cell");
8670
8670
  return B.children.forEach((F) => {
@@ -8672,12 +8672,12 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
8672
8672
  }), B;
8673
8673
  }
8674
8674
  unmergeCells(c, f) {
8675
- let b = {}, T = 1, L = 1;
8675
+ let b = {}, T = 1, C = 1;
8676
8676
  c.forEach((B) => {
8677
- if (b = B.formats(), T = b.rowspan, L = b.colspan, L > 1) {
8677
+ if (b = B.formats(), T = b.rowspan, C = b.colspan, C > 1) {
8678
8678
  let U = B.next, G = B.row();
8679
8679
  B.format("colspan", 1);
8680
- for (let F = L; F > 1; F--)
8680
+ for (let F = C; F > 1; F--)
8681
8681
  this.insertCell(G, U);
8682
8682
  }
8683
8683
  if (T > 1) {
@@ -8685,9 +8685,9 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
8685
8685
  for (; U > 1; ) {
8686
8686
  let F = G.children.reduce((Y, it) => {
8687
8687
  let ot = d(B.domNode.getBoundingClientRect(), f), Q = d(it.domNode.getBoundingClientRect(), f);
8688
- return Math.abs(ot.x1 - Q.x) < C && (Y = it), Y;
8688
+ return Math.abs(ot.x1 - Q.x) < O && (Y = it), Y;
8689
8689
  }, null);
8690
- for (let Y = L; Y > 0; Y--)
8690
+ for (let Y = C; Y > 0; Y--)
8691
8691
  this.insertCell(G, F);
8692
8692
  U -= 1, G = G.next;
8693
8693
  }
@@ -8701,20 +8701,20 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
8701
8701
  }
8702
8702
  }
8703
8703
  _.blotName = "table-container", _.className = "quill-better-table", _.tagName = "TABLE";
8704
- class O extends vt {
8704
+ class L extends vt {
8705
8705
  constructor(c, f) {
8706
8706
  super(c, f);
8707
8707
  const b = a.a.find(c.domNode.parentNode);
8708
8708
  f.addEventListener("scroll", (T) => {
8709
- const L = b.getModule("better-table");
8710
- L.columnTool && (L.columnTool.domNode.scrollLeft = T.target.scrollLeft), L.tableSelection && L.tableSelection.selectedTds.length > 0 && L.tableSelection.repositionHelpLines();
8709
+ const C = b.getModule("better-table");
8710
+ C.columnTool && (C.columnTool.domNode.scrollLeft = T.target.scrollLeft), C.tableSelection && C.tableSelection.selectedTds.length > 0 && C.tableSelection.repositionHelpLines();
8711
8711
  }, !1);
8712
8712
  }
8713
8713
  table() {
8714
8714
  return this.children.head;
8715
8715
  }
8716
8716
  }
8717
- O.blotName = "table-view", O.className = "quill-better-table-wrapper", O.tagName = "DIV", O.allowedChildren = [_], _.requiredContainer = O, _.allowedChildren = [H, N], H.requiredContainer = _, H.allowedChildren = [$], $.requiredContainer = H, $.allowedChildren = [S], S.requiredContainer = $, S.allowedChildren = [P, nt], P.requiredContainer = S, N.allowedChildren = [z], N.requiredContainer = _, z.requiredContainer = N;
8717
+ L.blotName = "table-view", L.className = "quill-better-table-wrapper", L.tagName = "DIV", L.allowedChildren = [_], _.requiredContainer = L, _.allowedChildren = [H, N], H.requiredContainer = _, H.allowedChildren = [$], $.requiredContainer = H, $.allowedChildren = [S], S.requiredContainer = $, S.allowedChildren = [j, nt], j.requiredContainer = S, N.allowedChildren = [z], N.requiredContainer = _, z.requiredContainer = N;
8718
8718
  function V() {
8719
8719
  const M = Math.random().toString(36).slice(2, 6);
8720
8720
  return "row-".concat(M);
@@ -8741,29 +8741,29 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
8741
8741
  }
8742
8742
  mouseDownHandler(c) {
8743
8743
  if (c.button !== 0 || !c.target.closest(".quill-better-table")) return;
8744
- this.quill.root.addEventListener("mousemove", L, !1), this.quill.root.addEventListener("mouseup", B, !1);
8744
+ this.quill.root.addEventListener("mousemove", C, !1), this.quill.root.addEventListener("mouseup", B, !1);
8745
8745
  const f = this, b = c.target.closest("td[data-row]"), T = d(b.getBoundingClientRect(), this.quill.root.parentNode);
8746
8746
  this.dragging = !0, this.boundary = dt(T, T), this.correctBoundary(), this.selectedTds = this.computeSelectedTds(), this.repositionHelpLines();
8747
- function L(U) {
8747
+ function C(U) {
8748
8748
  if (U.button !== 0 || !U.target.closest(".quill-better-table")) return;
8749
8749
  const G = U.target.closest("td[data-row]"), F = d(G.getBoundingClientRect(), f.quill.root.parentNode);
8750
8750
  f.boundary = dt(T, F), f.correctBoundary(), f.selectedTds = f.computeSelectedTds(), f.repositionHelpLines(), b !== G && f.quill.blur();
8751
8751
  }
8752
8752
  function B(U) {
8753
- f.quill.root.removeEventListener("mousemove", L, !1), f.quill.root.removeEventListener("mouseup", B, !1), f.dragging = !1;
8753
+ f.quill.root.removeEventListener("mousemove", C, !1), f.quill.root.removeEventListener("mouseup", B, !1), f.dragging = !1;
8754
8754
  }
8755
8755
  }
8756
8756
  correctBoundary() {
8757
8757
  a.a.find(this.table).descendants(S).forEach((b) => {
8758
8758
  let {
8759
8759
  x: T,
8760
- y: L,
8760
+ y: C,
8761
8761
  width: B,
8762
8762
  height: U
8763
8763
  } = d(b.domNode.getBoundingClientRect(), this.quill.root.parentNode);
8764
- (T + ht >= this.boundary.x && T + ht <= this.boundary.x1 || T - ht + B >= this.boundary.x && T - ht + B <= this.boundary.x1) && (L + ht >= this.boundary.y && L + ht <= this.boundary.y1 || L - ht + U >= this.boundary.y && L - ht + U <= this.boundary.y1) && (this.boundary = dt(this.boundary, {
8764
+ (T + ht >= this.boundary.x && T + ht <= this.boundary.x1 || T - ht + B >= this.boundary.x && T - ht + B <= this.boundary.x1) && (C + ht >= this.boundary.y && C + ht <= this.boundary.y1 || C - ht + U >= this.boundary.y && C - ht + U <= this.boundary.y1) && (this.boundary = dt(this.boundary, {
8765
8765
  x: T,
8766
- y: L,
8766
+ y: C,
8767
8767
  width: B,
8768
8768
  height: U
8769
8769
  }));
@@ -8772,12 +8772,12 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
8772
8772
  computeSelectedTds() {
8773
8773
  return a.a.find(this.table).descendants(S).reduce((b, T) => {
8774
8774
  let {
8775
- x: L,
8775
+ x: C,
8776
8776
  y: B,
8777
8777
  width: U,
8778
8778
  height: G
8779
8779
  } = d(T.domNode.getBoundingClientRect(), this.quill.root.parentNode);
8780
- return L + ht >= this.boundary.x && L - ht + U <= this.boundary.x1 && B + ht >= this.boundary.y && B - ht + G <= this.boundary.y1 && b.push(T), b;
8780
+ return C + ht >= this.boundary.x && C - ht + U <= this.boundary.x1 && B + ht >= this.boundary.y && B - ht + G <= this.boundary.y1 && b.push(T), b;
8781
8781
  }, []);
8782
8782
  }
8783
8783
  repositionHelpLines() {
@@ -8831,12 +8831,12 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
8831
8831
  }
8832
8832
  }
8833
8833
  function dt(M, c) {
8834
- let f = Math.min(M.x, c.x, M.x + M.width - 1, c.x + c.width - 1), b = Math.max(M.x, c.x, M.x + M.width - 1, c.x + c.width - 1), T = Math.min(M.y, c.y, M.y + M.height - 1, c.y + c.height - 1), L = Math.max(M.y, c.y, M.y + M.height - 1, c.y + c.height - 1), B = b - f, U = L - T;
8834
+ let f = Math.min(M.x, c.x, M.x + M.width - 1, c.x + c.width - 1), b = Math.max(M.x, c.x, M.x + M.width - 1, c.x + c.width - 1), T = Math.min(M.y, c.y, M.y + M.height - 1, c.y + c.height - 1), C = Math.max(M.y, c.y, M.y + M.height - 1, c.y + c.height - 1), B = b - f, U = C - T;
8835
8835
  return {
8836
8836
  x: f,
8837
8837
  x1: b,
8838
8838
  y: T,
8839
- y1: L,
8839
+ y1: C,
8840
8840
  width: B,
8841
8841
  height: U
8842
8842
  };
@@ -8883,11 +8883,11 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
8883
8883
  text: "Merge selected cells",
8884
8884
  iconSrc: ie.a,
8885
8885
  handler() {
8886
- const M = a.a.find(this.table), c = M.rows().reduce((T, L) => {
8887
- let B = d(L.domNode.getBoundingClientRect(), this.quill.root.parentNode);
8886
+ const M = a.a.find(this.table), c = M.rows().reduce((T, C) => {
8887
+ let B = d(C.domNode.getBoundingClientRect(), this.quill.root.parentNode);
8888
8888
  return B.y > this.boundary.y - xt && B.y + B.height < this.boundary.y + this.boundary.height + xt && (T += 1), T;
8889
- }, 0), f = this.columnToolCells.reduce((T, L) => {
8890
- let B = d(L.getBoundingClientRect(), this.quill.root.parentNode);
8889
+ }, 0), f = this.columnToolCells.reduce((T, C) => {
8890
+ let B = d(C.getBoundingClientRect(), this.quill.root.parentNode);
8891
8891
  return B.x > this.boundary.x - xt && B.x + B.width < this.boundary.x + this.boundary.width + xt && (T += 1), T;
8892
8892
  }, 0), b = M.mergeCells(this.boundary, this.selectedTds, c, f, this.quill.root.parentNode);
8893
8893
  this.quill.update(a.a.sources.USER), this.tableSelection.setSelection(b.domNode.getBoundingClientRect(), b.domNode.getBoundingClientRect());
@@ -8950,9 +8950,9 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
8950
8950
  width: "".concat(St, "px")
8951
8951
  });
8952
8952
  for (let U in this.menuItems)
8953
- this.menuItems[U] && (this.domNode.appendChild(this.menuItemCreator(Object.assign({}, Pe[U], this.menuItems[U]))), ["insertRowDown", "unmergeCells"].indexOf(U) > -1 && this.domNode.appendChild(L()));
8954
- this.options.color && this.options.color !== !1 && (this.domNode.appendChild(L()), this.domNode.appendChild(B(this.colorSubTitle)), this.domNode.appendChild(this.colorsItemCreator(this.cellColors)));
8955
- function L() {
8953
+ this.menuItems[U] && (this.domNode.appendChild(this.menuItemCreator(Object.assign({}, Pe[U], this.menuItems[U]))), ["insertRowDown", "unmergeCells"].indexOf(U) > -1 && this.domNode.appendChild(C()));
8954
+ this.options.color && this.options.color !== !1 && (this.domNode.appendChild(C()), this.domNode.appendChild(B(this.colorSubTitle)), this.domNode.appendChild(this.colorsItemCreator(this.cellColors)));
8955
+ function C() {
8956
8956
  const U = document.createElement("div");
8957
8957
  return U.classList.add("qlbt-operation-menu-dividing"), U;
8958
8958
  }
@@ -8963,16 +8963,16 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
8963
8963
  }
8964
8964
  colorsItemCreator(c) {
8965
8965
  const f = this, b = document.createElement("div");
8966
- b.classList.add("qlbt-operation-color-picker"), c.forEach((L) => {
8967
- let B = T(L);
8966
+ b.classList.add("qlbt-operation-color-picker"), c.forEach((C) => {
8967
+ let B = T(C);
8968
8968
  b.appendChild(B);
8969
8969
  });
8970
- function T(L) {
8970
+ function T(C) {
8971
8971
  const B = document.createElement("div");
8972
- return B.classList.add("qlbt-operation-color-picker-item"), B.setAttribute("data-color", L), B.style.backgroundColor = L, B.addEventListener("click", function() {
8972
+ return B.classList.add("qlbt-operation-color-picker-item"), B.setAttribute("data-color", C), B.style.backgroundColor = C, B.addEventListener("click", function() {
8973
8973
  const U = f.tableSelection.selectedTds;
8974
8974
  U && U.length > 0 && U.forEach((G) => {
8975
- G.format("cell-bg", L);
8975
+ G.format("cell-bg", C);
8976
8976
  });
8977
8977
  }, !1), B;
8978
8978
  }
@@ -8984,29 +8984,29 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
8984
8984
  iconSrc: b,
8985
8985
  handler: T
8986
8986
  } = c;
8987
- const L = document.createElement("div");
8988
- L.classList.add("qlbt-operation-menu-item");
8987
+ const C = document.createElement("div");
8988
+ C.classList.add("qlbt-operation-menu-item");
8989
8989
  const B = document.createElement("span");
8990
8990
  B.classList.add("qlbt-operation-menu-icon"), B.innerHTML = b;
8991
8991
  const U = document.createElement("span");
8992
- return U.classList.add("qlbt-operation-menu-text"), U.innerText = f, L.appendChild(B), L.appendChild(U), L.addEventListener("click", T.bind(this), !1), L;
8992
+ return U.classList.add("qlbt-operation-menu-text"), U.innerText = f, C.appendChild(B), C.appendChild(U), C.addEventListener("click", T.bind(this), !1), C;
8993
8993
  }
8994
8994
  }
8995
8995
  function te(M, c, f, b) {
8996
- return M.reduce((T, L) => {
8997
- let B = d(L.getBoundingClientRect(), b);
8998
- return f(B, c) && (T = M.indexOf(L)), T;
8996
+ return M.reduce((T, C) => {
8997
+ let B = d(C.getBoundingClientRect(), b);
8998
+ return f(B, c) && (T = M.indexOf(C)), T;
8999
8999
  }, !1);
9000
9000
  }
9001
9001
  function Ce(M, c, f, b) {
9002
- return M.reduce((T, L) => {
9003
- let B = d(L.getBoundingClientRect(), b);
9004
- return f(B, c) && T.push(M.indexOf(L)), T;
9002
+ return M.reduce((T, C) => {
9003
+ let B = d(C.getBoundingClientRect(), b);
9004
+ return f(B, c) && T.push(M.indexOf(C)), T;
9005
9005
  }, []);
9006
9006
  }
9007
9007
  const Ot = a.a.import("delta");
9008
9008
  function re(M, c, f) {
9009
- const b = M.parentNode, T = b.parentNode.tagName === "TABLE" ? b.parentNode : b.parentNode.parentNode, L = Array.from(T.querySelectorAll("tr")), B = Array.from(b.querySelectorAll("td")), U = L.indexOf(b) + 1, G = B.indexOf(M) + 1, F = M.getAttribute("colspan") || !1, Y = M.getAttribute("rowspan") || !1, it = M.getAttribute("data-cell-bg") || M.style.backgroundColor;
9009
+ const b = M.parentNode, T = b.parentNode.tagName === "TABLE" ? b.parentNode : b.parentNode.parentNode, C = Array.from(T.querySelectorAll("tr")), B = Array.from(b.querySelectorAll("td")), U = C.indexOf(b) + 1, G = B.indexOf(M) + 1, F = M.getAttribute("colspan") || !1, Y = M.getAttribute("rowspan") || !1, it = M.getAttribute("data-cell-bg") || M.style.backgroundColor;
9010
9010
  return c.length() === 0 ? (c = new Ot().insert(`
9011
9011
  `, {
9012
9012
  "table-cell-line": {
@@ -9046,7 +9046,7 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
9046
9046
  }, y(Q.attributes, ["table"]))) : Q.attributes && Q.attributes.background && Q.attributes.background === p(it) ? ot.insert(Q.insert, Object.assign({}, y(Q.attributes, ["table", "table-cell-line", "background"]))) : ot.insert(Q.insert, Object.assign({}, y(Q.attributes, ["table", "table-cell-line"]))), ot), new Ot()));
9047
9047
  }
9048
9048
  function Ft(M, c, f) {
9049
- const b = M.parentNode, T = b.parentNode.tagName === "TABLE" ? b.parentNode : b.parentNode.parentNode, L = Array.from(T.querySelectorAll("tr")), B = Array.from(b.querySelectorAll("th")), U = L.indexOf(b) + 1, G = B.indexOf(M) + 1, F = M.getAttribute("colspan") || !1, Y = M.getAttribute("rowspan") || !1;
9049
+ const b = M.parentNode, T = b.parentNode.tagName === "TABLE" ? b.parentNode : b.parentNode.parentNode, C = Array.from(T.querySelectorAll("tr")), B = Array.from(b.querySelectorAll("th")), U = C.indexOf(b) + 1, G = B.indexOf(M) + 1, F = M.getAttribute("colspan") || !1, Y = M.getAttribute("rowspan") || !1;
9050
9050
  return c.length() === 0 ? (c = new Ot().insert(`
9051
9051
  `, {
9052
9052
  "table-cell-line": {
@@ -9115,13 +9115,13 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
9115
9115
  const dn = a.a.import("core/module"), Ue = a.a.import("delta");
9116
9116
  class Qe extends dn {
9117
9117
  static register() {
9118
- a.a.register(z, !0), a.a.register(N, !0), a.a.register(P, !0), a.a.register(S, !0), a.a.register($, !0), a.a.register(H, !0), a.a.register(_, !0), a.a.register(O, !0), a.a.register(O, !0);
9118
+ a.a.register(z, !0), a.a.register(N, !0), a.a.register(j, !0), a.a.register(S, !0), a.a.register($, !0), a.a.register(H, !0), a.a.register(_, !0), a.a.register(L, !0), a.a.register(L, !0);
9119
9119
  }
9120
9120
  constructor(c, f) {
9121
9121
  super(c, f), this.quill.root.addEventListener("click", (T) => {
9122
- const L = E(T);
9123
- if (!L || L.length <= 0) return;
9124
- const B = L.filter((U) => U.tagName && U.tagName.toUpperCase() === "TABLE" && U.classList.contains("quill-better-table"))[0];
9122
+ const C = E(T);
9123
+ if (!C || C.length <= 0) return;
9124
+ const B = C.filter((U) => U.tagName && U.tagName.toUpperCase() === "TABLE" && U.classList.contains("quill-better-table"))[0];
9125
9125
  if (B) {
9126
9126
  if (this.table === B) return;
9127
9127
  this.table && this.hideTableTools(), this.showTableTools(B, c, f);
@@ -9129,9 +9129,9 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
9129
9129
  }, !1), this.quill.root.addEventListener("contextmenu", (T) => {
9130
9130
  if (!this.table) return !0;
9131
9131
  T.preventDefault();
9132
- const L = E(T);
9133
- if (!L || L.length <= 0) return;
9134
- const B = L.filter((Y) => Y.tagName && Y.tagName.toUpperCase() === "TABLE" && Y.classList.contains("quill-better-table"))[0], U = L.filter((Y) => Y.tagName && Y.tagName.toUpperCase() === "TR" && Y.getAttribute("data-row"))[0], G = L.filter((Y) => Y.tagName && Y.tagName.toUpperCase() === "TD" && Y.getAttribute("data-row"))[0];
9132
+ const C = E(T);
9133
+ if (!C || C.length <= 0) return;
9134
+ const B = C.filter((Y) => Y.tagName && Y.tagName.toUpperCase() === "TABLE" && Y.classList.contains("quill-better-table"))[0], U = C.filter((Y) => Y.tagName && Y.tagName.toUpperCase() === "TR" && Y.getAttribute("data-row"))[0], G = C.filter((Y) => Y.tagName && Y.tagName.toUpperCase() === "TD" && Y.getAttribute("data-row"))[0];
9135
9135
  let F = this.tableSelection.selectedTds.map((Y) => Y.domNode).includes(G);
9136
9136
  (this.tableSelection.selectedTds.length <= 0 || !F) && this.tableSelection.setSelection(G.getBoundingClientRect(), G.getBoundingClientRect()), this.tableOperationMenu && (this.tableOperationMenu = this.tableOperationMenu.destroy()), B && (this.tableOperationMenu = new Xt({
9137
9137
  table: B,
@@ -9142,10 +9142,10 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
9142
9142
  }, c, f.operationMenu));
9143
9143
  }, !1), c.getModule("keyboard"), c.keyboard.addBinding({
9144
9144
  key: "Backspace"
9145
- }, {}, function(T, L) {
9145
+ }, {}, function(T, C) {
9146
9146
  if (T.index === 0 || this.quill.getLength() <= 1) return !0;
9147
9147
  const [B] = this.quill.getLine(T.index);
9148
- if (L.offset === 0) {
9148
+ if (C.offset === 0) {
9149
9149
  const [U] = this.quill.getLine(T.index - 1);
9150
9150
  if (U != null && U.statics.blotName === "table-cell-line" && B.statics.blotName !== "table-cell-line")
9151
9151
  return !1;
@@ -9159,24 +9159,24 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
9159
9159
  let c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.quill.getSelection();
9160
9160
  if (c == null) return [null, null, null, -1];
9161
9161
  const [f, b] = this.quill.getLine(c.index);
9162
- if (f == null || f.statics.blotName !== P.blotName)
9162
+ if (f == null || f.statics.blotName !== j.blotName)
9163
9163
  return [null, null, null, -1];
9164
- const T = f.tableCell(), L = T.row();
9165
- return [L.table(), L, T, b];
9164
+ const T = f.tableCell(), C = T.row();
9165
+ return [C.table(), C, T, b];
9166
9166
  }
9167
9167
  insertTable(c, f) {
9168
9168
  const b = this.quill.getSelection(!0);
9169
9169
  if (b == null) return;
9170
- let T = this.quill.getLeaf(b.index)[0], L = new Ue().retain(b.index);
9170
+ let T = this.quill.getLeaf(b.index)[0], C = new Ue().retain(b.index);
9171
9171
  if (Je(T)) {
9172
9172
  console.warn("Can not insert table into a table cell.");
9173
9173
  return;
9174
9174
  }
9175
- L.insert(`
9176
- `), L = new Array(f).fill(`
9175
+ C.insert(`
9176
+ `), C = new Array(f).fill(`
9177
9177
  `).reduce((B, U) => (B.insert(U, {
9178
9178
  "table-col": !0
9179
- }), B), L), L = new Array(c).fill(0).reduce((B) => {
9179
+ }), B), C), C = new Array(c).fill(0).reduce((B) => {
9180
9180
  let U = V();
9181
9181
  return new Array(f).fill(`
9182
9182
  `).reduce((G, F) => (G.insert(F, {
@@ -9185,10 +9185,10 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
9185
9185
  cell: W()
9186
9186
  }
9187
9187
  }), G), B);
9188
- }, L), this.quill.updateContents(L, a.a.sources.USER), this.quill.setSelection(b.index + f + 1, a.a.sources.API);
9188
+ }, C), this.quill.updateContents(C, a.a.sources.USER), this.quill.setSelection(b.index + f + 1, a.a.sources.API);
9189
9189
  }
9190
9190
  showTableTools(c, f, b) {
9191
- this.table = c, this.columnTool = new j(c, f, b), this.tableSelection = new lt(c, f, b);
9191
+ this.table = c, this.columnTool = new P(c, f, b), this.tableSelection = new lt(c, f, b);
9192
9192
  }
9193
9193
  hideTableTools() {
9194
9194
  this.columnTool && this.columnTool.destroy(), this.tableSelection && this.tableSelection.destroy(), this.tableOperationMenu && this.tableOperationMenu.destroy(), this.columnTool = null, this.tableSelection = null, this.tableOperationMenu = null, this.table = null;
@@ -9221,7 +9221,7 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
9221
9221
  if (this.quill.selection && this.quill.selection.composing) return;
9222
9222
  const f = a.a.imports.parchment.Scope;
9223
9223
  M.length > 0 && this.quill.scroll.deleteAt(M.index, M.length);
9224
- const b = Object.keys(c.format).reduce((T, L) => (this.quill.scroll.query(L, f.BLOCK) && !Array.isArray(c.format[L]) && (T[L] = c.format[L]), T), {});
9224
+ const b = Object.keys(c.format).reduce((T, C) => (this.quill.scroll.query(C, f.BLOCK) && !Array.isArray(c.format[C]) && (T[C] = c.format[C]), T), {});
9225
9225
  this.quill.insertText(M.index, `
9226
9226
  `, b["table-cell-line"], a.a.sources.USER), this.quill.setSelection(M.index + 1, a.a.sources.SILENT), this.quill.focus(), Object.keys(c.format).forEach((T) => {
9227
9227
  b[T] == null && (Array.isArray(c.format[T]) || T !== "link" && this.quill.format(T, c.format[T], a.a.sources.USER));
@@ -9248,8 +9248,8 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
9248
9248
  handler(M, c) {
9249
9249
  const f = c.line.prev;
9250
9250
  if (f && f.statics.blotName === "table-view") {
9251
- const b = f.table().rows(), L = b[b.length - 1].children.head.children.head;
9252
- return this.quill.setSelection(L.offset(this.quill.scroll), 0, a.a.sources.USER), !1;
9251
+ const b = f.table().rows(), C = b[b.length - 1].children.head.children.head;
9252
+ return this.quill.setSelection(C.offset(this.quill.scroll), 0, a.a.sources.USER), !1;
9253
9253
  }
9254
9254
  return !0;
9255
9255
  }
@@ -9263,9 +9263,9 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
9263
9263
  handler(c, f) {
9264
9264
  const b = M ? "prev" : "next";
9265
9265
  if (f.line[b] != null) return !0;
9266
- const L = f.line.parent, B = L.parent[b];
9266
+ const C = f.line.parent, B = C.parent[b];
9267
9267
  if (B != null && B.statics.blotName === "table-row") {
9268
- let U = B.children.head, G = parseInt(U.formats().colspan, 10), F = L, Y = parseInt(F.formats().colspan, 10);
9268
+ let U = B.children.head, G = parseInt(U.formats().colspan, 10), F = C, Y = parseInt(F.formats().colspan, 10);
9269
9269
  for (; F.prev != null; )
9270
9270
  F = F.prev, Y += parseInt(F.formats().colspan, 10);
9271
9271
  for (; U.next != null && G < Y; )
@@ -9273,7 +9273,7 @@ Update propagation: ` + ct.chain.join(" -> ")), ct.type) {
9273
9273
  const it = U.offset(this.quill.scroll);
9274
9274
  this.quill.setSelection(it, 0, a.a.sources.USER);
9275
9275
  } else {
9276
- const U = L.table().parent[b];
9276
+ const U = C.table().parent[b];
9277
9277
  U != null && (M ? this.quill.setSelection(U.offset(this.quill.scroll) + U.length() - 1, 0, a.a.sources.USER) : this.quill.setSelection(U.offset(this.quill.scroll), 0, a.a.sources.USER));
9278
9278
  }
9279
9279
  return !1;
@@ -9379,45 +9379,44 @@ const Bl = /* @__PURE__ */ ci(z1), F1 = R.import("delta"), J1 = Wo({
9379
9379
  );
9380
9380
  const o = () => {
9381
9381
  var x;
9382
- if (!s.value) return;
9383
- if (n = a(), r.modules)
9384
- if (Array.isArray(r.modules))
9385
- for (const C of r.modules)
9386
- i(`modules/${C.name}`, C.module);
9387
- else
9388
- i(`modules/${r.modules.name}`, r.modules.module);
9389
- e = new R(s.value, n), rt(r.content), e.on("text-change", p), e.on("selection-change", A), e.on("editor-change", q), r.theme !== "bubble" && s.value.classList.remove("ql-bubble"), r.theme !== "snow" && s.value.classList.remove("ql-snow"), (x = e.getModule("toolbar")) === null || x === void 0 || x.container.addEventListener("mousedown", (C) => {
9390
- ["picker-hue-range-slider", "picker-opacity-slider"].includes(
9391
- C.target.getAttribute("class")
9392
- ) || C.target.tagName === "INPUT" || C.preventDefault();
9393
- }), t.emit("ready", e);
9394
- function v() {
9395
- e.root.querySelectorAll("img").forEach((S) => {
9396
- const $ = S.getAttribute("src");
9397
- if ($ && ($.startsWith("data:image/") || r.isTextOnly)) {
9398
- const H = R.find(S);
9399
- H ? H.deleteAt(0) : S.remove();
9400
- }
9382
+ if (s.value) {
9383
+ if (n = a(), r.modules)
9384
+ if (Array.isArray(r.modules))
9385
+ for (const v of r.modules)
9386
+ i(`modules/${v.name}`, v.module);
9387
+ else
9388
+ i(`modules/${r.modules.name}`, r.modules.module);
9389
+ e = new R(s.value, n), rt(r.content), e.on("text-change", p), e.on("selection-change", A), e.on("editor-change", q), r.theme !== "bubble" && s.value.classList.remove("ql-bubble"), r.theme !== "snow" && s.value.classList.remove("ql-snow"), (x = e.getModule("toolbar")) === null || x === void 0 || x.container.addEventListener("mousedown", (v) => {
9390
+ ["picker-hue-range-slider", "picker-opacity-slider"].includes(
9391
+ v.target.getAttribute("class")
9392
+ ) || v.target.tagName === "INPUT" || v.preventDefault();
9393
+ }), t.emit("ready", e), e.root.addEventListener("paste", function() {
9394
+ const v = new Set(e.root.querySelectorAll("img"));
9395
+ setTimeout(() => {
9396
+ e.root.querySelectorAll("img").forEach((j) => {
9397
+ if (v.has(j)) return;
9398
+ const S = j.getAttribute("src");
9399
+ if (S && (S.startsWith("data:image/") || r.isTextOnly)) {
9400
+ const $ = R.find(j);
9401
+ $ ? $.deleteAt(0) : j.remove();
9402
+ }
9403
+ });
9404
+ }, 10);
9401
9405
  });
9402
9406
  }
9403
- e.root.addEventListener("paste", function() {
9404
- setTimeout(() => {
9405
- v();
9406
- }, 10);
9407
- });
9408
9407
  }, a = () => {
9409
9408
  const x = {};
9410
9409
  if (r.theme !== "" && (x.theme = r.theme), r.readOnly && (x.readOnly = r.readOnly), r.placeholder && (x.placeholder = r.placeholder), r.id && r.id !== "" && (x.modules = {
9411
9410
  toolbar: r.id
9412
9411
  }), r.modules) {
9413
9412
  const v = (() => {
9414
- var C, P;
9413
+ var O, j;
9415
9414
  const S = {};
9416
9415
  if (Array.isArray(r.modules))
9417
9416
  for (const $ of r.modules)
9418
- S[$.name] = (C = $.options) !== null && C !== void 0 ? C : {};
9417
+ S[$.name] = (O = $.options) !== null && O !== void 0 ? O : {};
9419
9418
  else
9420
- S[r.modules.name] = (P = r.modules.options) !== null && P !== void 0 ? P : {};
9419
+ S[r.modules.name] = (j = r.modules.options) !== null && j !== void 0 ? j : {};
9421
9420
  return S;
9422
9421
  })();
9423
9422
  x.modules = Object.assign({}, x.modules, v);
@@ -9449,10 +9448,10 @@ const Bl = /* @__PURE__ */ ci(z1), F1 = R.import("delta"), J1 = Wo({
9449
9448
  return !d(y.diff(x));
9450
9449
  }
9451
9450
  return !1;
9452
- }, p = (x, v, C) => {
9453
- y = h(Z()), E(r.content) || t.emit("update:content", y), t.emit("textChange", { delta: x, oldContents: v, source: C });
9454
- }, w = qi(), A = (x, v, C) => {
9455
- w.value = !!(e != null && e.hasFocus()), t.emit("selectionChange", { range: x, oldRange: v, source: C });
9451
+ }, p = (x, v, O) => {
9452
+ y = h(Z()), E(r.content) || t.emit("update:content", y), t.emit("textChange", { delta: x, oldContents: v, source: O });
9453
+ }, w = qi(), A = (x, v, O) => {
9454
+ w.value = !!(e != null && e.hasFocus()), t.emit("selectionChange", { range: x, oldRange: v, source: O });
9456
9455
  };
9457
9456
  Es(w, (x) => {
9458
9457
  x ? t.emit("focus", s.value) : t.emit("blur", s.value);
@@ -9469,7 +9468,7 @@ const Bl = /* @__PURE__ */ ci(z1), F1 = R.import("delta"), J1 = Wo({
9469
9468
  oldRange: x[2],
9470
9469
  source: x[3]
9471
9470
  });
9472
- }, D = () => s.value, j = () => {
9471
+ }, D = () => s.value, P = () => {
9473
9472
  var x;
9474
9473
  return (x = e == null ? void 0 : e.getModule("toolbar")) === null || x === void 0 ? void 0 : x.container;
9475
9474
  }, K = () => {
@@ -9478,11 +9477,11 @@ const Bl = /* @__PURE__ */ ci(z1), F1 = R.import("delta"), J1 = Wo({
9478
9477
  make sure to call this method when the editor ready
9479
9478
  or use v-on:ready="onReady(quill)" event instead.`;
9480
9479
  }, Z = (x, v) => r.contentType === "html" ? At() : r.contentType === "text" ? nt(x, v) : e == null ? void 0 : e.getContents(x, v), rt = (x, v = "api") => {
9481
- const C = x || (r.contentType === "delta" ? new F1() : "");
9482
- r.contentType === "html" ? vt(C) : r.contentType === "text" ? bt(C, v) : e == null || e.setContents(C, v), y = h(C);
9480
+ const O = x || (r.contentType === "delta" ? new F1() : "");
9481
+ r.contentType === "html" ? vt(O) : r.contentType === "text" ? bt(O, v) : e == null || e.setContents(O, v), y = h(O);
9483
9482
  }, nt = (x, v) => {
9484
- var C;
9485
- return (C = e == null ? void 0 : e.getText(x, v)) !== null && C !== void 0 ? C : "";
9483
+ var O;
9484
+ return (O = e == null ? void 0 : e.getText(x, v)) !== null && O !== void 0 ? O : "";
9486
9485
  }, bt = (x, v = "api") => {
9487
9486
  e == null || e.setText(x, v);
9488
9487
  }, At = () => {
@@ -9491,8 +9490,8 @@ const Bl = /* @__PURE__ */ ci(z1), F1 = R.import("delta"), J1 = Wo({
9491
9490
  }, vt = (x) => {
9492
9491
  e && (e.root.innerHTML = x);
9493
9492
  }, kt = (x, v = "api") => {
9494
- const C = e == null ? void 0 : e.clipboard.convert(x);
9495
- C && (e == null || e.setContents(C, v));
9493
+ const O = e == null ? void 0 : e.clipboard.convert(x);
9494
+ O && (e == null || e.setContents(O, v));
9496
9495
  }, Lt = () => {
9497
9496
  e == null || e.focus();
9498
9497
  }, g = () => {
@@ -9519,7 +9518,7 @@ const Bl = /* @__PURE__ */ ci(z1), F1 = R.import("delta"), J1 = Wo({
9519
9518
  ), {
9520
9519
  editor: s,
9521
9520
  getEditor: D,
9522
- getToolbar: j,
9521
+ getToolbar: P,
9523
9522
  getQuill: K,
9524
9523
  getContents: Z,
9525
9524
  setContents: rt,