@iclips/ui 1.3.9 → 1.3.11

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.
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ import { ChevronDownIcon as rl, Loader2 as Q1, CheckIcon as il, ChevronUpIcon as
4
4
  import { clsx as fy } from "clsx";
5
5
  import { twMerge as cy } from "tailwind-merge";
6
6
  import * as I from "react";
7
- import Ve, { useState as oe, useMemo as Me, useEffect as ye, useCallback as ke, useRef as Oe, useDebugValue as s0, forwardRef as l0, version as Wu, useLayoutEffect as od, createContext as Hr, useContext as nt, useImperativeHandle as dy, createElement as B, memo as sd, createRef as wn, Fragment as ld, Suspense as uy, Component as hy, isValidElement as py, cloneElement as Hu } from "react";
7
+ import Ve, { useState as oe, useMemo as Me, useEffect as ye, useCallback as ke, useRef as Oe, useDebugValue as s0, forwardRef as l0, version as Wu, useLayoutEffect as od, createContext as Hr, useContext as nt, useImperativeHandle as dy, createElement as P, memo as sd, createRef as wn, Fragment as ld, Suspense as uy, Component as hy, isValidElement as py, cloneElement as Hu } from "react";
8
8
  import { Slot as zn } from "@radix-ui/react-slot";
9
9
  import { cva as nn } from "class-variance-authority";
10
10
  import * as dt from "@radix-ui/react-select";
@@ -323,7 +323,7 @@ const Ir = nn(
323
323
  size: "default"
324
324
  }
325
325
  }
326
- ), V = I.forwardRef(({ className: t, variant: e, size: n, asChild: r = !1, isLoading: i = !1, children: a, disabled: o, ...s }, l) => /* @__PURE__ */ f(
326
+ ), F = I.forwardRef(({ className: t, variant: e, size: n, asChild: r = !1, isLoading: i = !1, children: a, disabled: o, ...s }, l) => /* @__PURE__ */ f(
327
327
  r ? zn : "button",
328
328
  {
329
329
  "data-slot": "button",
@@ -338,7 +338,7 @@ const Ir = nn(
338
338
  ] })
339
339
  }
340
340
  ));
341
- V.displayName = "Button";
341
+ F.displayName = "Button";
342
342
  function Sn({
343
343
  ...t
344
344
  }) {
@@ -580,7 +580,7 @@ function M0({
580
580
  ] }),
581
581
  /* @__PURE__ */ b("div", { className: "flex items-center gap-1", children: [
582
582
  u && /* @__PURE__ */ f(
583
- V,
583
+ F,
584
584
  {
585
585
  variant: "outline",
586
586
  size: "icon",
@@ -592,7 +592,7 @@ function M0({
592
592
  }
593
593
  ),
594
594
  /* @__PURE__ */ f(
595
- V,
595
+ F,
596
596
  {
597
597
  variant: "outline",
598
598
  size: "icon",
@@ -613,7 +613,7 @@ function M0({
613
613
  },
614
614
  `ellipsis-${L}`
615
615
  ) : /* @__PURE__ */ f(
616
- V,
616
+ F,
617
617
  {
618
618
  variant: t === y ? "default" : "outline",
619
619
  size: "icon",
@@ -627,7 +627,7 @@ function M0({
627
627
  )
628
628
  ) }),
629
629
  /* @__PURE__ */ f(
630
- V,
630
+ F,
631
631
  {
632
632
  variant: "outline",
633
633
  size: "icon",
@@ -639,7 +639,7 @@ function M0({
639
639
  }
640
640
  ),
641
641
  u && /* @__PURE__ */ f(
642
- V,
642
+ F,
643
643
  {
644
644
  variant: "outline",
645
645
  size: "icon",
@@ -741,7 +741,7 @@ function _u({
741
741
  ] }),
742
742
  (a || o) && /* @__PURE__ */ b("div", { className: "flex flex-wrap items-center justify-center gap-3 pt-1", children: [
743
743
  a && /* @__PURE__ */ f(
744
- V,
744
+ F,
745
745
  {
746
746
  variant: a.variant ?? "default",
747
747
  onClick: a.onClick,
@@ -749,7 +749,7 @@ function _u({
749
749
  }
750
750
  ),
751
751
  o && /* @__PURE__ */ f(
752
- V,
752
+ F,
753
753
  {
754
754
  variant: o.variant ?? "outline",
755
755
  onClick: o.onClick,
@@ -842,8 +842,8 @@ function qy({
842
842
  return !0;
843
843
  }
844
844
  })), [t, d, i]), h = Me(() => i || !l.column || !l.direction ? p : [...p].sort((N, k) => {
845
- const A = N[l.column], T = k[l.column];
846
- return A < T ? l.direction === "asc" ? -1 : 1 : A > T ? l.direction === "asc" ? 1 : -1 : 0;
845
+ const A = N[l.column], j = k[l.column];
846
+ return A < j ? l.direction === "asc" ? -1 : 1 : A > j ? l.direction === "asc" ? 1 : -1 : 0;
847
847
  }), [p, l, i]), m = i ? a ?? t.length : h.length, g = Ky({
848
848
  data: i ? t : h,
849
849
  initialPageSize: n,
@@ -862,8 +862,8 @@ function qy({
862
862
  return { column: N, direction: "asc" };
863
863
  });
864
864
  }, v = (N, k, A = "contains") => {
865
- u((T) => {
866
- const S = T.filter((D) => D.column !== N);
865
+ u((j) => {
866
+ const S = j.filter((R) => R.column !== N);
867
867
  return k === "" || k === null || k === void 0 ? S : [...S, { column: N, operator: A, value: k }];
868
868
  });
869
869
  }, M = (N) => {
@@ -956,7 +956,7 @@ function _y({
956
956
  const a = t.length > 0;
957
957
  return /* @__PURE__ */ b("div", { className: C("flex items-center gap-2 flex-wrap", r), children: [
958
958
  /* @__PURE__ */ b(
959
- V,
959
+ F,
960
960
  {
961
961
  variant: "outline",
962
962
  size: "sm",
@@ -981,7 +981,7 @@ function _y({
981
981
  o.id
982
982
  )),
983
983
  /* @__PURE__ */ b(
984
- V,
984
+ F,
985
985
  {
986
986
  variant: "ghost",
987
987
  size: "sm",
@@ -1767,55 +1767,55 @@ function x0({
1767
1767
  }, [t, N, s]);
1768
1768
  const A = I.useMemo(() => {
1769
1769
  if (!t) return h;
1770
- const O = t.getHours().toString().padStart(2, "0"), G = t.getMinutes().toString().padStart(2, "0");
1771
- return `${O}:${G}`;
1772
- }, [t, h]), T = (O) => {
1773
- if (!O) {
1770
+ const E = t.getHours().toString().padStart(2, "0"), U = t.getMinutes().toString().padStart(2, "0");
1771
+ return `${E}:${U}`;
1772
+ }, [t, h]), j = (E) => {
1773
+ if (!E) {
1774
1774
  e == null || e(void 0);
1775
1775
  return;
1776
1776
  }
1777
1777
  if (d) {
1778
- const [G, ne] = A.split(":").map(Number);
1779
- O.setHours(G, ne, 0, 0);
1778
+ const [U, _] = A.split(":").map(Number);
1779
+ E.setHours(U, _, 0, 0);
1780
1780
  } else
1781
- O.setHours(0, 0, 0, 0);
1782
- e == null || e(O), d || v(!1);
1783
- }, S = (O) => {
1781
+ E.setHours(0, 0, 0, 0);
1782
+ e == null || e(E), d || v(!1);
1783
+ }, S = (E) => {
1784
1784
  if (t) {
1785
- const G = new Date(t), [ne, H] = O.split(":").map(Number);
1786
- G.setHours(ne, H, 0, 0), e == null || e(G);
1785
+ const U = new Date(t), [_, Q] = E.split(":").map(Number);
1786
+ U.setHours(_, Q, 0, 0), e == null || e(U);
1787
1787
  } else {
1788
- const G = /* @__PURE__ */ new Date(), [ne, H] = O.split(":").map(Number);
1789
- G.setHours(ne, H, 0, 0), e == null || e(G);
1788
+ const U = /* @__PURE__ */ new Date(), [_, Q] = E.split(":").map(Number);
1789
+ U.setHours(_, Q, 0, 0), e == null || e(U);
1790
1790
  }
1791
- }, D = (O) => {
1792
- const G = O.trim();
1793
- if (!G) return null;
1794
- for (const ne of k)
1791
+ }, R = (E) => {
1792
+ const U = E.trim();
1793
+ if (!U) return null;
1794
+ for (const _ of k)
1795
1795
  try {
1796
- const H = f0(G, ne, /* @__PURE__ */ new Date());
1797
- if (c0(H)) {
1798
- if (i && H < i || a && H > a) continue;
1799
- return H;
1796
+ const Q = f0(U, _, /* @__PURE__ */ new Date());
1797
+ if (c0(Q)) {
1798
+ if (i && Q < i || a && Q > a) continue;
1799
+ return Q;
1800
1800
  }
1801
1801
  } catch {
1802
1802
  continue;
1803
1803
  }
1804
1804
  return null;
1805
- }, U = (O) => {
1806
- const G = O.target.value;
1807
- x(G), L(!1);
1808
- }, Y = () => {
1805
+ }, Y = (E) => {
1806
+ const U = E.target.value;
1807
+ x(U), L(!1);
1808
+ }, V = () => {
1809
1809
  if (!M.trim()) {
1810
1810
  e == null || e(void 0), L(!1);
1811
1811
  return;
1812
1812
  }
1813
- const O = D(M);
1814
- O ? (e == null || e(O), L(!1)) : L(!0);
1815
- }, F = (O) => {
1816
- O.key === "Enter" ? (O.preventDefault(), Y(), y || v(!0)) : O.key === "Escape" && (O.preventDefault(), x(t ? ce(t, N, { locale: s }) : ""), L(!1));
1817
- }, R = (O) => {
1818
- O.stopPropagation(), e == null || e(void 0), x(""), L(!1);
1813
+ const E = R(M);
1814
+ E ? (e == null || e(E), L(!1)) : L(!0);
1815
+ }, B = (E) => {
1816
+ E.key === "Enter" ? (E.preventDefault(), V(), y || v(!0)) : E.key === "Escape" && (E.preventDefault(), x(t ? ce(t, N, { locale: s }) : ""), L(!1));
1817
+ }, H = (E) => {
1818
+ E.stopPropagation(), e == null || e(void 0), x(""), L(!1);
1819
1819
  };
1820
1820
  return /* @__PURE__ */ b(it, { open: w, onOpenChange: v, children: [
1821
1821
  /* @__PURE__ */ f(Ze, { asChild: !0, children: /* @__PURE__ */ b("div", { className: "relative w-full", children: [
@@ -1825,9 +1825,9 @@ function x0({
1825
1825
  id: m,
1826
1826
  name: g,
1827
1827
  value: M,
1828
- onChange: U,
1829
- onBlur: Y,
1830
- onKeyDown: F,
1828
+ onChange: Y,
1829
+ onBlur: V,
1830
+ onKeyDown: B,
1831
1831
  placeholder: n,
1832
1832
  disabled: r,
1833
1833
  "aria-invalid": c || y,
@@ -1840,13 +1840,13 @@ function x0({
1840
1840
  ),
1841
1841
  /* @__PURE__ */ b("div", { className: "absolute inset-y-0 right-0 flex items-center gap-1 pr-1", children: [
1842
1842
  M && !r && /* @__PURE__ */ b(
1843
- V,
1843
+ F,
1844
1844
  {
1845
1845
  type: "button",
1846
1846
  variant: "ghost",
1847
1847
  size: "sm",
1848
1848
  className: "h-7 w-7 p-0 hover:bg-transparent",
1849
- onClick: R,
1849
+ onClick: H,
1850
1850
  tabIndex: -1,
1851
1851
  children: [
1852
1852
  /* @__PURE__ */ f(er, { className: "h-4 w-4 text-muted-foreground hover:text-foreground" }),
@@ -1855,7 +1855,7 @@ function x0({
1855
1855
  }
1856
1856
  ),
1857
1857
  /* @__PURE__ */ b(
1858
- V,
1858
+ F,
1859
1859
  {
1860
1860
  type: "button",
1861
1861
  variant: "ghost",
@@ -1878,8 +1878,8 @@ function x0({
1878
1878
  {
1879
1879
  mode: "single",
1880
1880
  selected: t,
1881
- onSelect: T,
1882
- disabled: (O) => !!(i && O < i || a && O > a),
1881
+ onSelect: j,
1882
+ disabled: (E) => !!(i && E < i || a && E > a),
1883
1883
  locale: s,
1884
1884
  autoFocus: !0,
1885
1885
  defaultMonth: t || void 0
@@ -1897,7 +1897,7 @@ function x0({
1897
1897
  }
1898
1898
  ) }),
1899
1899
  d && /* @__PURE__ */ f("div", { className: "border-t p-3 flex justify-end", children: /* @__PURE__ */ f(
1900
- V,
1900
+ F,
1901
1901
  {
1902
1902
  size: "sm",
1903
1903
  onClick: () => v(!1),
@@ -1957,7 +1957,7 @@ function Ov({
1957
1957
  s.id
1958
1958
  )),
1959
1959
  /* @__PURE__ */ b(
1960
- V,
1960
+ F,
1961
1961
  {
1962
1962
  type: "button",
1963
1963
  variant: "outline",
@@ -1997,7 +1997,7 @@ function zv({
1997
1997
  /* @__PURE__ */ b("div", { className: "flex-1 flex items-center gap-2 flex-wrap p-2 border rounded-lg bg-background", children: [
1998
1998
  /* @__PURE__ */ b(it, { children: [
1999
1999
  /* @__PURE__ */ f(Ze, { asChild: !0, children: /* @__PURE__ */ f(
2000
- V,
2000
+ F,
2001
2001
  {
2002
2002
  variant: "ghost",
2003
2003
  size: "sm",
@@ -2006,7 +2006,7 @@ function zv({
2006
2006
  }
2007
2007
  ) }),
2008
2008
  /* @__PURE__ */ f(Xe, { className: "w-[200px] p-2", align: "start", children: /* @__PURE__ */ f("div", { className: "space-y-1", children: e.map((g) => /* @__PURE__ */ f(
2009
- V,
2009
+ F,
2010
2010
  {
2011
2011
  variant: "ghost",
2012
2012
  size: "sm",
@@ -2025,7 +2025,7 @@ function zv({
2025
2025
  ] }),
2026
2026
  /* @__PURE__ */ b(it, { children: [
2027
2027
  /* @__PURE__ */ f(Ze, { asChild: !0, children: /* @__PURE__ */ f(
2028
- V,
2028
+ F,
2029
2029
  {
2030
2030
  variant: "ghost",
2031
2031
  size: "sm",
@@ -2034,7 +2034,7 @@ function zv({
2034
2034
  }
2035
2035
  ) }),
2036
2036
  /* @__PURE__ */ f(Xe, { className: "w-[200px] p-2", align: "start", children: /* @__PURE__ */ f("div", { className: "space-y-1", children: nh.map((g) => /* @__PURE__ */ f(
2037
- V,
2037
+ F,
2038
2038
  {
2039
2039
  variant: "ghost",
2040
2040
  size: "sm",
@@ -2056,7 +2056,7 @@ function zv({
2056
2056
  // Select field with options
2057
2057
  /* @__PURE__ */ b(it, { onOpenChange: (g) => !g && d(""), children: [
2058
2058
  /* @__PURE__ */ f(Ze, { asChild: !0, children: /* @__PURE__ */ f(
2059
- V,
2059
+ F,
2060
2060
  {
2061
2061
  variant: "ghost",
2062
2062
  size: "sm",
@@ -2114,7 +2114,7 @@ function zv({
2114
2114
  }
2115
2115
  )
2116
2116
  ] }) : /* @__PURE__ */ f(
2117
- V,
2117
+ F,
2118
2118
  {
2119
2119
  variant: "ghost",
2120
2120
  size: "sm",
@@ -2154,7 +2154,7 @@ function zv({
2154
2154
  // Text/Number input
2155
2155
  /* @__PURE__ */ b(it, { children: [
2156
2156
  /* @__PURE__ */ f(Ze, { asChild: !0, children: /* @__PURE__ */ f(
2157
- V,
2157
+ F,
2158
2158
  {
2159
2159
  variant: "ghost",
2160
2160
  size: "sm",
@@ -2205,7 +2205,7 @@ function zv({
2205
2205
  ] })
2206
2206
  ] }),
2207
2207
  /* @__PURE__ */ f(
2208
- V,
2208
+ F,
2209
2209
  {
2210
2210
  type: "button",
2211
2211
  variant: "ghost",
@@ -2237,7 +2237,7 @@ function Pv({
2237
2237
  // deprecated
2238
2238
  className: g
2239
2239
  }) {
2240
- var ie, te;
2240
+ var ie, ne;
2241
2241
  const w = !!u, {
2242
2242
  data: v,
2243
2243
  state: M,
@@ -2251,8 +2251,8 @@ function Pv({
2251
2251
  totalItems: u == null ? void 0 : u.totalItems,
2252
2252
  serverCurrentPage: u == null ? void 0 : u.currentPage,
2253
2253
  serverCurrentPageSize: u == null ? void 0 : u.currentPageSize
2254
- }), [L, N] = oe(""), [k, A] = oe(!1), [T, S] = oe(s), D = r ? r[0] : ((ie = e.find((E) => E.key === "nome" || E.key === "name" || E.key === "title" || E.key === "titulo")) == null ? void 0 : ie.key) || ((te = e[0]) == null ? void 0 : te.key), U = (E) => {
2255
- switch (E) {
2254
+ }), [L, N] = oe(""), [k, A] = oe(!1), [j, S] = oe(s), R = r ? r[0] : ((ie = e.find((T) => T.key === "nome" || T.key === "name" || T.key === "title" || T.key === "titulo")) == null ? void 0 : ie.key) || ((ne = e[0]) == null ? void 0 : ne.key), Y = (T) => {
2255
+ switch (T) {
2256
2256
  case "is":
2257
2257
  return "equals";
2258
2258
  case "equals":
@@ -2277,28 +2277,28 @@ function Pv({
2277
2277
  default:
2278
2278
  return "contains";
2279
2279
  }
2280
- }, Y = ke(async (E) => {
2281
- w && (u != null && u.onFilterChange) ? await u.onFilterChange(E, L) : (x.clearFilters(), L && x.setFilter(D, L, "contains"), E.forEach((Q) => {
2282
- const ee = U(Q.operator);
2283
- x.setFilter(Q.field, Q.value, ee);
2280
+ }, V = ke(async (T) => {
2281
+ w && (u != null && u.onFilterChange) ? await u.onFilterChange(T, L) : (x.clearFilters(), L && x.setFilter(R, L, "contains"), T.forEach((G) => {
2282
+ const te = Y(G.operator);
2283
+ x.setFilter(G.field, G.value, te);
2284
2284
  }));
2285
- }, [w, u, L, x, D]);
2285
+ }, [w, u, L, x, R]);
2286
2286
  ye(() => {
2287
- s && (S(s), s.length > 0 && (w && (u != null && u.onFilterChange) ? u.onFilterChange(s, L) : (x.clearFilters(), L && x.setFilter(D, L, "contains"), s.forEach((E) => {
2288
- const Q = U(E.operator);
2289
- x.setFilter(E.field, E.value, Q);
2287
+ s && (S(s), s.length > 0 && (w && (u != null && u.onFilterChange) ? u.onFilterChange(s, L) : (x.clearFilters(), L && x.setFilter(R, L, "contains"), s.forEach((T) => {
2288
+ const G = Y(T.operator);
2289
+ x.setFilter(T.field, T.value, G);
2290
2290
  }))));
2291
2291
  }, [JSON.stringify(s)]);
2292
- const F = ke(async (E) => {
2293
- N(E), w && (u != null && u.onFilterChange) ? await u.onFilterChange(T, E) : x.setFilter(D, E, "contains");
2294
- }, [w, u, T, x, D]), R = (E) => {
2295
- if (/^\d{4}-\d{2}-\d{2}/.test(E)) {
2296
- const Q = /* @__PURE__ */ new Date(E + "T00:00:00");
2297
- if (!isNaN(Q.getTime()))
2298
- return Q.toLocaleDateString("pt-BR");
2299
- }
2300
- return E;
2301
- }, O = (E) => ({
2292
+ const B = ke(async (T) => {
2293
+ N(T), w && (u != null && u.onFilterChange) ? await u.onFilterChange(j, T) : x.setFilter(R, T, "contains");
2294
+ }, [w, u, j, x, R]), H = (T) => {
2295
+ if (/^\d{4}-\d{2}-\d{2}/.test(T)) {
2296
+ const G = /* @__PURE__ */ new Date(T + "T00:00:00");
2297
+ if (!isNaN(G.getTime()))
2298
+ return G.toLocaleDateString("pt-BR");
2299
+ }
2300
+ return T;
2301
+ }, E = (T) => ({
2302
2302
  is: "é",
2303
2303
  is_not: "não é",
2304
2304
  is_any_of: "é qualquer um de",
@@ -2317,45 +2317,45 @@ function Pv({
2317
2317
  is_empty: "está vazio",
2318
2318
  is_not_empty: "não está vazio",
2319
2319
  entre: "entre"
2320
- })[E] || E, G = T.map((E) => {
2320
+ })[T] || T, U = j.map((T) => {
2321
2321
  var mn, pr;
2322
- const Q = a.find((lt) => lt.value === E.field), ee = O(E.operator);
2322
+ const G = a.find((lt) => lt.value === T.field), te = E(T.operator);
2323
2323
  let ve;
2324
- return Array.isArray(E.value) ? ve = E.value.map((lt) => {
2324
+ return Array.isArray(T.value) ? ve = T.value.map((lt) => {
2325
2325
  var gn, mr;
2326
- return ((mr = (gn = Q == null ? void 0 : Q.options) == null ? void 0 : gn.find((gr) => gr.value === lt)) == null ? void 0 : mr.label) || lt;
2327
- }).join(", ") : (Q == null ? void 0 : Q.type) === "date" ? ve = R(E.value) : ve = ((pr = (mn = Q == null ? void 0 : Q.options) == null ? void 0 : mn.find((lt) => lt.value === E.value)) == null ? void 0 : pr.label) || E.value, {
2328
- id: E.id,
2329
- label: (Q == null ? void 0 : Q.label) || E.field,
2330
- value: ee ? `${ee} ${ve}` : ve,
2326
+ return ((mr = (gn = G == null ? void 0 : G.options) == null ? void 0 : gn.find((gr) => gr.value === lt)) == null ? void 0 : mr.label) || lt;
2327
+ }).join(", ") : (G == null ? void 0 : G.type) === "date" ? ve = H(T.value) : ve = ((pr = (mn = G == null ? void 0 : G.options) == null ? void 0 : mn.find((lt) => lt.value === T.value)) == null ? void 0 : pr.label) || T.value, {
2328
+ id: T.id,
2329
+ label: (G == null ? void 0 : G.label) || T.field,
2330
+ value: te ? `${te} ${ve}` : ve,
2331
2331
  onRemove: () => {
2332
- const lt = T.filter((gn) => gn.id !== E.id);
2333
- S(lt), Y(lt);
2332
+ const lt = j.filter((gn) => gn.id !== T.id);
2333
+ S(lt), V(lt);
2334
2334
  }
2335
2335
  };
2336
- }), ne = () => {
2337
- Y(T), A(!1);
2338
- }, H = () => {
2339
- S([]), w && (u != null && u.onFilterChange) ? u.onFilterChange([], L) : (x.clearFilters(), L && x.setFilter(D, L, "contains"));
2340
- }, pe = ke(async (E) => {
2336
+ }), _ = () => {
2337
+ V(j), A(!1);
2338
+ }, Q = () => {
2339
+ S([]), w && (u != null && u.onFilterChange) ? u.onFilterChange([], L) : (x.clearFilters(), L && x.setFilter(R, L, "contains"));
2340
+ }, pe = ke(async (T) => {
2341
2341
  if (w && (u != null && u.onSortChange)) {
2342
- const Q = M.sort;
2343
- let ee = "asc";
2344
- Q.column === E && (ee = Q.direction === "asc" ? "desc" : Q.direction === "desc" ? null : "asc");
2342
+ const G = M.sort;
2343
+ let te = "asc";
2344
+ G.column === T && (te = G.direction === "asc" ? "desc" : G.direction === "desc" ? null : "asc");
2345
2345
  const ve = {
2346
- column: ee ? E : null,
2347
- direction: ee
2346
+ column: te ? T : null,
2347
+ direction: te
2348
2348
  };
2349
- x.onSort(E), await u.onSortChange(ve);
2349
+ x.onSort(T), await u.onSortChange(ve);
2350
2350
  } else
2351
- x.onSort(E);
2352
- }, [w, u, M.sort, x]), me = ke(async (E) => {
2353
- w && (u != null && u.onPageChange) ? await u.onPageChange(E, M.pagination.pageSize) : M.pagination.onPageChange && M.pagination.onPageChange(E);
2354
- }, [w, u, M.pagination]), Ee = ke(async (E) => {
2355
- w && (u != null && u.onPageChange) ? await u.onPageChange(1, E) : M.pagination.onPageSizeChange && M.pagination.onPageSizeChange(E);
2351
+ x.onSort(T);
2352
+ }, [w, u, M.sort, x]), me = ke(async (T) => {
2353
+ w && (u != null && u.onPageChange) ? await u.onPageChange(T, M.pagination.pageSize) : M.pagination.onPageChange && M.pagination.onPageChange(T);
2354
+ }, [w, u, M.pagination]), Ee = ke(async (T) => {
2355
+ w && (u != null && u.onPageChange) ? await u.onPageChange(1, T) : M.pagination.onPageSizeChange && M.pagination.onPageSizeChange(T);
2356
2356
  }, [w, u, M.pagination]), J = () => {
2357
- const E = T.length > 0, Q = L.trim().length > 0;
2358
- return typeof h == "string" || m ? /* @__PURE__ */ f("div", { className: "text-sm text-muted-foreground", children: E || Q ? "Nenhum resultado encontrado para os filtros aplicados." : typeof h == "string" ? h : m || "Nenhum dado disponível." }) : h && typeof h == "object" ? E || Q ? /* @__PURE__ */ f(
2357
+ const T = j.length > 0, G = L.trim().length > 0;
2358
+ return typeof h == "string" || m ? /* @__PURE__ */ f("div", { className: "text-sm text-muted-foreground", children: T || G ? "Nenhum resultado encontrado para os filtros aplicados." : typeof h == "string" ? h : m || "Nenhum dado disponível." }) : h && typeof h == "object" ? T || G ? /* @__PURE__ */ f(
2359
2359
  _u,
2360
2360
  {
2361
2361
  icon: Ia,
@@ -2365,7 +2365,7 @@ function Pv({
2365
2365
  primaryAction: {
2366
2366
  label: "Limpar Filtros",
2367
2367
  onClick: () => {
2368
- N(""), H();
2368
+ N(""), Q();
2369
2369
  },
2370
2370
  variant: "outline"
2371
2371
  }
@@ -2381,7 +2381,7 @@ function Pv({
2381
2381
  primaryAction: h.primaryAction,
2382
2382
  secondaryAction: h.secondaryAction
2383
2383
  }
2384
- ) : /* @__PURE__ */ f("div", { className: "text-sm text-muted-foreground", children: E || Q ? "Nenhum resultado encontrado para os filtros aplicados." : "Nenhum dado disponível." });
2384
+ ) : /* @__PURE__ */ f("div", { className: "text-sm text-muted-foreground", children: T || G ? "Nenhum resultado encontrado para os filtros aplicados." : "Nenhum dado disponível." });
2385
2385
  }, X = i || o && a.length > 0 || !!d;
2386
2386
  return /* @__PURE__ */ b("div", { className: C("space-y-4", g), children: [
2387
2387
  X && /* @__PURE__ */ b("div", { className: "flex items-center justify-between gap-2", children: [
@@ -2393,19 +2393,19 @@ function Pv({
2393
2393
  {
2394
2394
  placeholder: n,
2395
2395
  value: L,
2396
- onChange: (E) => F(E.target.value),
2397
- onKeyDown: (E) => {
2398
- E.key === "Enter" && E.preventDefault();
2396
+ onChange: (T) => B(T.target.value),
2397
+ onKeyDown: (T) => {
2398
+ T.key === "Enter" && T.preventDefault();
2399
2399
  },
2400
2400
  className: "pl-9"
2401
2401
  }
2402
2402
  )
2403
2403
  ] }),
2404
2404
  o && a.length > 0 && /* @__PURE__ */ b(it, { open: k, onOpenChange: A, children: [
2405
- /* @__PURE__ */ f(Ze, { asChild: !0, children: /* @__PURE__ */ b(V, { variant: "outline", size: "sm", className: "gap-2", children: [
2405
+ /* @__PURE__ */ f(Ze, { asChild: !0, children: /* @__PURE__ */ b(F, { variant: "outline", size: "sm", className: "gap-2", children: [
2406
2406
  /* @__PURE__ */ f(G1, { className: "h-4 w-4" }),
2407
2407
  "Filtros",
2408
- T.length > 0 && /* @__PURE__ */ f("span", { className: "ml-1 rounded-full bg-primary text-primary-foreground w-5 h-5 text-xs flex items-center justify-center", children: T.length })
2408
+ j.length > 0 && /* @__PURE__ */ f("span", { className: "ml-1 rounded-full bg-primary text-primary-foreground w-5 h-5 text-xs flex items-center justify-center", children: j.length })
2409
2409
  ] }) }),
2410
2410
  /* @__PURE__ */ b(Xe, { className: "w-[700px] p-0", align: "start", sideOffset: 8, children: [
2411
2411
  /* @__PURE__ */ b("div", { className: "p-6 border-b", children: [
@@ -2415,14 +2415,14 @@ function Pv({
2415
2415
  /* @__PURE__ */ f("div", { className: "p-6", children: /* @__PURE__ */ f(
2416
2416
  Ov,
2417
2417
  {
2418
- conditions: T,
2418
+ conditions: j,
2419
2419
  onConditionsChange: S,
2420
2420
  fields: a
2421
2421
  }
2422
2422
  ) }),
2423
2423
  /* @__PURE__ */ b("div", { className: "flex items-center justify-end gap-2 p-4 border-t bg-muted/50", children: [
2424
2424
  /* @__PURE__ */ f(
2425
- V,
2425
+ F,
2426
2426
  {
2427
2427
  variant: "outline",
2428
2428
  size: "sm",
@@ -2431,10 +2431,10 @@ function Pv({
2431
2431
  }
2432
2432
  ),
2433
2433
  /* @__PURE__ */ f(
2434
- V,
2434
+ F,
2435
2435
  {
2436
2436
  size: "sm",
2437
- onClick: ne,
2437
+ onClick: _,
2438
2438
  children: "Aplicar Filtros"
2439
2439
  }
2440
2440
  )
@@ -2444,50 +2444,50 @@ function Pv({
2444
2444
  ] }),
2445
2445
  d && /* @__PURE__ */ f("div", { className: "flex items-center gap-2", children: d })
2446
2446
  ] }),
2447
- T.length > 0 && /* @__PURE__ */ f(
2447
+ j.length > 0 && /* @__PURE__ */ f(
2448
2448
  _y,
2449
2449
  {
2450
- activeFilters: G,
2451
- onClearAll: H
2450
+ activeFilters: U,
2451
+ onClearAll: Q
2452
2452
  }
2453
2453
  ),
2454
2454
  /* @__PURE__ */ f("div", { className: "rounded-md border", children: /* @__PURE__ */ b(w0, { children: [
2455
- /* @__PURE__ */ f(y0, { children: /* @__PURE__ */ f(na, { children: e.map((E) => /* @__PURE__ */ b(
2455
+ /* @__PURE__ */ f(y0, { children: /* @__PURE__ */ f(na, { children: e.map((T) => /* @__PURE__ */ b(
2456
2456
  C0,
2457
2457
  {
2458
2458
  className: C(
2459
- E.headerClassName,
2460
- E.sortable && "cursor-pointer select-none hover:bg-muted/50 transition-colors",
2461
- E.sortable && y(E.key) && "text-primary"
2459
+ T.headerClassName,
2460
+ T.sortable && "cursor-pointer select-none hover:bg-muted/50 transition-colors",
2461
+ T.sortable && y(T.key) && "text-primary"
2462
2462
  ),
2463
- style: { width: E.width },
2464
- onClick: () => E.sortable && pe(E.key),
2465
- "aria-sort": E.sortable ? y(E.key) === "asc" ? "ascending" : y(E.key) === "desc" ? "descending" : "none" : void 0,
2463
+ style: { width: T.width },
2464
+ onClick: () => T.sortable && pe(T.key),
2465
+ "aria-sort": T.sortable ? y(T.key) === "asc" ? "ascending" : y(T.key) === "desc" ? "descending" : "none" : void 0,
2466
2466
  children: [
2467
- E.header,
2468
- E.sortable && y(E.key) && /* @__PURE__ */ f(cw, { className: "ml-2 h-4 w-4 inline" })
2467
+ T.header,
2468
+ T.sortable && y(T.key) && /* @__PURE__ */ f(cw, { className: "ml-2 h-4 w-4 inline" })
2469
2469
  ]
2470
2470
  },
2471
- String(E.key)
2471
+ String(T.key)
2472
2472
  )) }) }),
2473
2473
  /* @__PURE__ */ f(v0, { children: p ? (
2474
2474
  // SKELETON ROWS - limitar a max 15 para performance
2475
- Array.from({ length: Math.min(M.pagination.pageSize, 15) }).map((E, Q) => /* @__PURE__ */ f(na, { children: e.map((ee, ve) => /* @__PURE__ */ f(Yo, { className: ee.className, children: /* @__PURE__ */ f(Mr, { className: "h-4 w-full" }) }, ve)) }, `skeleton-${Q}`))
2475
+ Array.from({ length: Math.min(M.pagination.pageSize, 15) }).map((T, G) => /* @__PURE__ */ f(na, { children: e.map((te, ve) => /* @__PURE__ */ f(Yo, { className: te.className, children: /* @__PURE__ */ f(Mr, { className: "h-4 w-full" }) }, ve)) }, `skeleton-${G}`))
2476
2476
  ) : v.length > 0 ? (
2477
2477
  // DADOS NORMAIS
2478
- v.map((E, Q) => /* @__PURE__ */ f(na, { children: e.map((ee) => /* @__PURE__ */ f(
2478
+ v.map((T, G) => /* @__PURE__ */ f(na, { children: e.map((te) => /* @__PURE__ */ f(
2479
2479
  Yo,
2480
2480
  {
2481
2481
  className: C(
2482
- ee.className,
2483
- ee.align ? `text-${ee.align}` : "text-left",
2484
- ee.onCellClick && "cursor-pointer hover:text-primary"
2482
+ te.className,
2483
+ te.align ? `text-${te.align}` : "text-left",
2484
+ te.onCellClick && "cursor-pointer hover:text-primary"
2485
2485
  ),
2486
- onClick: ee.onCellClick ? () => ee.onCellClick(E[ee.key], E, Q) : void 0,
2487
- children: ee.render ? ee.render(E[ee.key], E, Q) : E[ee.key]
2486
+ onClick: te.onCellClick ? () => te.onCellClick(T[te.key], T, G) : void 0,
2487
+ children: te.render ? te.render(T[te.key], T, G) : T[te.key]
2488
2488
  },
2489
- String(ee.key)
2490
- )) }, Q))
2489
+ String(te.key)
2490
+ )) }, G))
2491
2491
  ) : (
2492
2492
  // EMPTY STATE
2493
2493
  /* @__PURE__ */ f(na, { children: /* @__PURE__ */ f(
@@ -3300,8 +3300,8 @@ function a7({
3300
3300
  )
3301
3301
  ] }) : /* @__PURE__ */ f("div", { className: "flex w-full justify-center", children: r || /* @__PURE__ */ f(ic, { variant: "symbol", className: "h-8 w-8" }) }) }),
3302
3302
  /* @__PURE__ */ f(ul, { className: "flex-1", children: /* @__PURE__ */ f("nav", { className: "space-y-1 py-3 px-2", children: t.map((y) => {
3303
- var T;
3304
- const L = y.icon, N = y.children && y.children.length > 0, k = g.includes(y.id), A = e === y.id || ((T = y.children) == null ? void 0 : T.some((S) => S.id === e));
3303
+ var j;
3304
+ const L = y.icon, N = y.children && y.children.length > 0, k = g.includes(y.id), A = e === y.id || ((j = y.children) == null ? void 0 : j.some((S) => S.id === e));
3305
3305
  return /* @__PURE__ */ b("div", { className: C(!v && "flex justify-center"), children: [
3306
3306
  /* @__PURE__ */ b(
3307
3307
  "button",
@@ -3330,17 +3330,17 @@ function a7({
3330
3330
  }
3331
3331
  ),
3332
3332
  N && k && v && /* @__PURE__ */ f("div", { className: "ml-4 mt-1 space-y-1 border-l pl-2", children: y.children.map((S) => {
3333
- const D = S.icon, U = e === S.id;
3333
+ const R = S.icon, Y = e === S.id;
3334
3334
  return /* @__PURE__ */ b(
3335
3335
  "button",
3336
3336
  {
3337
3337
  onClick: () => n == null ? void 0 : n(S.id),
3338
3338
  className: C(
3339
3339
  "flex w-full items-center gap-2 rounded px-3 py-1.5 text-sm transition-colors",
3340
- U ? "bg-accent text-accent-foreground" : "text-muted-foreground hover:bg-accent hover:text-accent-foreground"
3340
+ Y ? "bg-accent text-accent-foreground" : "text-muted-foreground hover:bg-accent hover:text-accent-foreground"
3341
3341
  ),
3342
3342
  children: [
3343
- D && /* @__PURE__ */ f(D, { className: "h-3.5 w-3.5 shrink-0" }),
3343
+ R && /* @__PURE__ */ f(R, { className: "h-3.5 w-3.5 shrink-0" }),
3344
3344
  /* @__PURE__ */ f("span", { className: "truncate", children: S.label })
3345
3345
  ]
3346
3346
  },
@@ -3430,7 +3430,7 @@ function o7({
3430
3430
  /* @__PURE__ */ f("h2", { className: "text-sm font-semibold truncate", children: t }),
3431
3431
  /* @__PURE__ */ b("div", { className: "flex items-center gap-1", children: [
3432
3432
  i && /* @__PURE__ */ f(
3433
- V,
3433
+ F,
3434
3434
  {
3435
3435
  variant: "ghost",
3436
3436
  size: "icon",
@@ -3440,7 +3440,7 @@ function o7({
3440
3440
  }
3441
3441
  ),
3442
3442
  c && /* @__PURE__ */ f(
3443
- V,
3443
+ F,
3444
3444
  {
3445
3445
  variant: "ghost",
3446
3446
  size: "icon",
@@ -3767,7 +3767,7 @@ function u7({
3767
3767
  }) {
3768
3768
  const { orientation: i, scrollPrev: a, canScrollPrev: o } = gl();
3769
3769
  return /* @__PURE__ */ b(
3770
- V,
3770
+ F,
3771
3771
  {
3772
3772
  "data-slot": "carousel-previous",
3773
3773
  variant: e,
@@ -3795,7 +3795,7 @@ function h7({
3795
3795
  }) {
3796
3796
  const { orientation: i, scrollNext: a, canScrollNext: o } = gl();
3797
3797
  return /* @__PURE__ */ b(
3798
- V,
3798
+ F,
3799
3799
  {
3800
3800
  "data-slot": "carousel-next",
3801
3801
  variant: e,
@@ -4069,7 +4069,7 @@ function y7({
4069
4069
  /* @__PURE__ */ b("div", { className: "flex gap-2", children: [
4070
4070
  /* @__PURE__ */ b(it, { open: s, onOpenChange: l, children: [
4071
4071
  /* @__PURE__ */ f(Ze, { asChild: !0, children: /* @__PURE__ */ f(
4072
- V,
4072
+ F,
4073
4073
  {
4074
4074
  type: "button",
4075
4075
  variant: "outline",
@@ -4196,10 +4196,10 @@ function v7({
4196
4196
  clearable: p = !1,
4197
4197
  filterFn: h
4198
4198
  }) {
4199
- var T;
4200
- const [m, g] = I.useState(!1), [w, v] = I.useState(""), M = I.useRef(null), y = h || ((S, D) => {
4201
- const U = D.toLowerCase();
4202
- return S.label.toLowerCase().includes(U) || S.value.toLowerCase().includes(U);
4199
+ var j;
4200
+ const [m, g] = I.useState(!1), [w, v] = I.useState(""), M = I.useRef(null), y = h || ((S, R) => {
4201
+ const Y = R.toLowerCase();
4202
+ return S.label.toLowerCase().includes(Y) || S.value.toLowerCase().includes(Y);
4203
4203
  }), L = I.useMemo(() => w ? n.filter((S) => y(S, w)) : n, [n, w, y]), N = n.find((S) => S.value === t), k = (S) => {
4204
4204
  g(S), S || v("");
4205
4205
  }, A = (S) => {
@@ -4207,7 +4207,7 @@ function v7({
4207
4207
  };
4208
4208
  return /* @__PURE__ */ b(it, { open: m, onOpenChange: k, children: [
4209
4209
  /* @__PURE__ */ f(Ze, { asChild: !0, children: /* @__PURE__ */ b(
4210
- V,
4210
+ F,
4211
4211
  {
4212
4212
  ref: M,
4213
4213
  variant: "outline",
@@ -4230,7 +4230,7 @@ function v7({
4230
4230
  {
4231
4231
  className: "p-0",
4232
4232
  style: {
4233
- width: c || ((T = M.current) == null ? void 0 : T.offsetWidth) || "auto"
4233
+ width: c || ((j = M.current) == null ? void 0 : j.offsetWidth) || "auto"
4234
4234
  },
4235
4235
  align: u,
4236
4236
  children: /* @__PURE__ */ b("div", { className: "flex flex-col", children: [
@@ -4248,7 +4248,7 @@ function v7({
4248
4248
  )
4249
4249
  ] }),
4250
4250
  /* @__PURE__ */ f(ul, { style: { maxHeight: d }, children: /* @__PURE__ */ f("div", { className: "p-1", children: L.length === 0 ? /* @__PURE__ */ f("div", { className: "py-6 text-center text-sm text-muted-foreground", children: a }) : L.map((S) => /* @__PURE__ */ b(
4251
- V,
4251
+ F,
4252
4252
  {
4253
4253
  variant: "ghost",
4254
4254
  className: C(
@@ -4746,7 +4746,7 @@ function E0(t, e, n, r) {
4746
4746
  n -= l, r -= l;
4747
4747
  }
4748
4748
  }
4749
- class z {
4749
+ class O {
4750
4750
  /**
4751
4751
  @internal
4752
4752
  */
@@ -4801,7 +4801,7 @@ class z {
4801
4801
  let n = this.lastChild, r = e.firstChild, i = this.content.slice(), a = 0;
4802
4802
  for (n.isText && n.sameMarkup(r) && (i[i.length - 1] = n.withText(n.text + r.text), a = 1); a < e.content.length; a++)
4803
4803
  i.push(e.content[a]);
4804
- return new z(i, this.size + e.size);
4804
+ return new O(i, this.size + e.size);
4805
4805
  }
4806
4806
  /**
4807
4807
  Cut out the sub-fragment between the two given positions.
@@ -4815,13 +4815,13 @@ class z {
4815
4815
  let s = this.content[a], l = o + s.nodeSize;
4816
4816
  l > e && ((o < e || l > n) && (s.isText ? s = s.cut(Math.max(0, e - o), Math.min(s.text.length, n - o)) : s = s.cut(Math.max(0, e - o - 1), Math.min(s.content.size, n - o - 1))), r.push(s), i += s.nodeSize), o = l;
4817
4817
  }
4818
- return new z(r, i);
4818
+ return new O(r, i);
4819
4819
  }
4820
4820
  /**
4821
4821
  @internal
4822
4822
  */
4823
4823
  cutByIndex(e, n) {
4824
- return e == n ? z.empty : e == 0 && n == this.content.length ? this : new z(this.content.slice(e, n));
4824
+ return e == n ? O.empty : e == 0 && n == this.content.length ? this : new O(this.content.slice(e, n));
4825
4825
  }
4826
4826
  /**
4827
4827
  Create a new fragment in which the node at the given index is
@@ -4832,21 +4832,21 @@ class z {
4832
4832
  if (r == n)
4833
4833
  return this;
4834
4834
  let i = this.content.slice(), a = this.size + n.nodeSize - r.nodeSize;
4835
- return i[e] = n, new z(i, a);
4835
+ return i[e] = n, new O(i, a);
4836
4836
  }
4837
4837
  /**
4838
4838
  Create a new fragment by prepending the given node to this
4839
4839
  fragment.
4840
4840
  */
4841
4841
  addToStart(e) {
4842
- return new z([e].concat(this.content), this.size + e.nodeSize);
4842
+ return new O([e].concat(this.content), this.size + e.nodeSize);
4843
4843
  }
4844
4844
  /**
4845
4845
  Create a new fragment by appending the given node to this
4846
4846
  fragment.
4847
4847
  */
4848
4848
  addToEnd(e) {
4849
- return new z(this.content.concat(e), this.size + e.nodeSize);
4849
+ return new O(this.content.concat(e), this.size + e.nodeSize);
4850
4850
  }
4851
4851
  /**
4852
4852
  Compare this fragment to another one.
@@ -4961,10 +4961,10 @@ class z {
4961
4961
  */
4962
4962
  static fromJSON(e, n) {
4963
4963
  if (!n)
4964
- return z.empty;
4964
+ return O.empty;
4965
4965
  if (!Array.isArray(n))
4966
4966
  throw new RangeError("Invalid input for Fragment.fromJSON");
4967
- return new z(n.map(e.nodeFromJSON));
4967
+ return new O(n.map(e.nodeFromJSON));
4968
4968
  }
4969
4969
  /**
4970
4970
  Build a fragment from an array of nodes. Ensures that adjacent
@@ -4972,13 +4972,13 @@ class z {
4972
4972
  */
4973
4973
  static fromArray(e) {
4974
4974
  if (!e.length)
4975
- return z.empty;
4975
+ return O.empty;
4976
4976
  let n, r = 0;
4977
4977
  for (let i = 0; i < e.length; i++) {
4978
4978
  let a = e[i];
4979
4979
  r += a.nodeSize, i && a.isText && e[i - 1].sameMarkup(a) ? (n || (n = e.slice(0, i)), n[n.length - 1] = a.withText(n[n.length - 1].text + a.text)) : n && n.push(a);
4980
4980
  }
4981
- return new z(n || e, r);
4981
+ return new O(n || e, r);
4982
4982
  }
4983
4983
  /**
4984
4984
  Create a fragment from something that can be interpreted as a
@@ -4988,17 +4988,17 @@ class z {
4988
4988
  */
4989
4989
  static from(e) {
4990
4990
  if (!e)
4991
- return z.empty;
4992
- if (e instanceof z)
4991
+ return O.empty;
4992
+ if (e instanceof O)
4993
4993
  return e;
4994
4994
  if (Array.isArray(e))
4995
4995
  return this.fromArray(e);
4996
4996
  if (e.attrs)
4997
- return new z([e], e.nodeSize);
4997
+ return new O([e], e.nodeSize);
4998
4998
  throw new RangeError("Can not convert " + e + " to a Fragment" + (e.nodesBetween ? " (looks like multiple versions of prosemirror-model were loaded)" : ""));
4999
4999
  }
5000
5000
  }
5001
- z.empty = new z([], 0);
5001
+ O.empty = new O([], 0);
5002
5002
  const df = { index: 0, offset: 0 };
5003
5003
  function Mo(t, e) {
5004
5004
  return df.index = t, df.offset = e, df;
@@ -5200,7 +5200,7 @@ class W {
5200
5200
  let r = n.openStart || 0, i = n.openEnd || 0;
5201
5201
  if (typeof r != "number" || typeof i != "number")
5202
5202
  throw new RangeError("Invalid input for Slice.fromJSON");
5203
- return new W(z.fromJSON(e, n.content), r, i);
5203
+ return new W(O.fromJSON(e, n.content), r, i);
5204
5204
  }
5205
5205
  /**
5206
5206
  Create a slice from a fragment by taking the maximum possible
@@ -5215,7 +5215,7 @@ class W {
5215
5215
  return new W(e, r, i);
5216
5216
  }
5217
5217
  }
5218
- W.empty = new W(z.empty, 0, 0);
5218
+ W.empty = new W(O.empty, 0, 0);
5219
5219
  function T0(t, e, n) {
5220
5220
  let { index: r, offset: i } = t.findIndex(e), a = t.maybeChild(r), { index: o, offset: s } = t.findIndex(n);
5221
5221
  if (i == e || a.isText) {
@@ -5280,7 +5280,7 @@ function Er(t, e) {
5280
5280
  }
5281
5281
  function O0(t, e, n, r, i) {
5282
5282
  let a = t.depth > i && lc(t, e, i + 1), o = r.depth > i && lc(n, r, i + 1), s = [];
5283
- return da(null, t, i, s), a && o && e.index(i) == n.index(i) ? (R0(a, o), Ar(Er(a, O0(t, e, n, r, i + 1)), s)) : (a && Ar(Er(a, cs(t, e, i + 1)), s), da(e, n, i, s), o && Ar(Er(o, cs(n, r, i + 1)), s)), da(r, null, i, s), new z(s);
5283
+ return da(null, t, i, s), a && o && e.index(i) == n.index(i) ? (R0(a, o), Ar(Er(a, O0(t, e, n, r, i + 1)), s)) : (a && Ar(Er(a, cs(t, e, i + 1)), s), da(e, n, i, s), o && Ar(Er(o, cs(n, r, i + 1)), s)), da(r, null, i, s), new O(s);
5284
5284
  }
5285
5285
  function cs(t, e, n) {
5286
5286
  let r = [];
@@ -5288,12 +5288,12 @@ function cs(t, e, n) {
5288
5288
  let i = lc(t, e, n + 1);
5289
5289
  Ar(Er(i, cs(t, e, n + 1)), r);
5290
5290
  }
5291
- return da(e, null, n, r), new z(r);
5291
+ return da(e, null, n, r), new O(r);
5292
5292
  }
5293
5293
  function f3(t, e) {
5294
5294
  let n = e.depth - t.openStart, i = e.node(n).copy(t.content);
5295
5295
  for (let a = n - 1; a >= 0; a--)
5296
- i = e.node(a).copy(z.from(i));
5296
+ i = e.node(a).copy(O.from(i));
5297
5297
  return {
5298
5298
  start: i.resolveNoCache(t.openStart + n),
5299
5299
  end: i.resolveNoCache(i.content.size - t.openEnd - n)
@@ -5598,7 +5598,7 @@ class Yt {
5598
5598
  @internal
5599
5599
  */
5600
5600
  constructor(e, n, r, i = Ce.none) {
5601
- this.type = e, this.attrs = n, this.marks = i, this.content = r || z.empty;
5601
+ this.type = e, this.attrs = n, this.marks = i, this.content = r || O.empty;
5602
5602
  }
5603
5603
  /**
5604
5604
  The array of this node's child nodes.
@@ -5887,7 +5887,7 @@ class Yt {
5887
5887
  can optionally pass `start` and `end` indices into the
5888
5888
  replacement fragment.
5889
5889
  */
5890
- canReplace(e, n, r = z.empty, i = 0, a = r.childCount) {
5890
+ canReplace(e, n, r = O.empty, i = 0, a = r.childCount) {
5891
5891
  let o = this.contentMatchAt(e).matchFragment(r, i, a), s = o && o.matchFragment(this.content, n);
5892
5892
  if (!s || !s.validEnd)
5893
5893
  return !1;
@@ -5958,7 +5958,7 @@ class Yt {
5958
5958
  throw new RangeError("Invalid text node in JSON");
5959
5959
  return e.text(n.text, r);
5960
5960
  }
5961
- let i = z.fromJSON(e, n.content), a = e.nodeType(n.type).create(n.attrs, i, r);
5961
+ let i = O.fromJSON(e, n.content), a = e.nodeType(n.type).create(n.attrs, i, r);
5962
5962
  return a.type.checkAttrs(a.attrs), a;
5963
5963
  }
5964
5964
  }
@@ -6086,7 +6086,7 @@ class Pr {
6086
6086
  function a(o, s) {
6087
6087
  let l = o.matchFragment(e, r);
6088
6088
  if (l && (!n || l.validEnd))
6089
- return z.from(s.map((c) => c.createAndFill()));
6089
+ return O.from(s.map((c) => c.createAndFill()));
6090
6090
  for (let c = 0; c < o.next.length; c++) {
6091
6091
  let { type: d, next: u } = o.next[c];
6092
6092
  if (!(d.isText || d.hasRequiredAttrs()) && i.indexOf(u) == -1) {
@@ -6469,7 +6469,7 @@ let fh = class W0 {
6469
6469
  create(e = null, n, r) {
6470
6470
  if (this.isText)
6471
6471
  throw new Error("NodeType.create can't construct text nodes");
6472
- return new Yt(this, this.computeAttrs(e), z.from(n), Ce.setFrom(r));
6472
+ return new Yt(this, this.computeAttrs(e), O.from(n), Ce.setFrom(r));
6473
6473
  }
6474
6474
  /**
6475
6475
  Like [`create`](https://prosemirror.net/docs/ref/#model.NodeType.create), but check the given content
@@ -6477,7 +6477,7 @@ let fh = class W0 {
6477
6477
  if it doesn't match.
6478
6478
  */
6479
6479
  createChecked(e = null, n, r) {
6480
- return n = z.from(n), this.checkContent(n), new Yt(this, this.computeAttrs(e), n, Ce.setFrom(r));
6480
+ return n = O.from(n), this.checkContent(n), new Yt(this, this.computeAttrs(e), n, Ce.setFrom(r));
6481
6481
  }
6482
6482
  /**
6483
6483
  Like [`create`](https://prosemirror.net/docs/ref/#model.NodeType.create), but see if it is
@@ -6488,13 +6488,13 @@ let fh = class W0 {
6488
6488
  `Fragment.empty` as content.
6489
6489
  */
6490
6490
  createAndFill(e = null, n, r) {
6491
- if (e = this.computeAttrs(e), n = z.from(n), n.size) {
6491
+ if (e = this.computeAttrs(e), n = O.from(n), n.size) {
6492
6492
  let o = this.contentMatch.fillBefore(n);
6493
6493
  if (!o)
6494
6494
  return null;
6495
6495
  n = o.append(n);
6496
6496
  }
6497
- let i = this.contentMatch.matchFragment(n), a = i && i.fillBefore(z.empty, !0);
6497
+ let i = this.contentMatch.matchFragment(n), a = i && i.fillBefore(O.empty, !0);
6498
6498
  return a ? new Yt(this, e, n.append(a), Ce.setFrom(r)) : null;
6499
6499
  }
6500
6500
  /**
@@ -6898,7 +6898,7 @@ class xo {
6898
6898
  if (!this.match) {
6899
6899
  if (!this.type)
6900
6900
  return [];
6901
- let n = this.type.contentMatch.fillBefore(z.from(e));
6901
+ let n = this.type.contentMatch.fillBefore(O.from(e));
6902
6902
  if (n)
6903
6903
  this.match = this.type.contentMatch.matchFragment(n);
6904
6904
  else {
@@ -6916,8 +6916,8 @@ class xo {
6916
6916
  r.text.length == i[0].length ? this.content.pop() : this.content[this.content.length - 1] = a.withText(a.text.slice(0, a.text.length - i[0].length));
6917
6917
  }
6918
6918
  }
6919
- let n = z.from(this.content);
6920
- return !e && this.match && (n = n.append(this.match.fillBefore(z.empty, !0))), this.type ? this.type.create(this.attrs, n, this.marks) : n;
6919
+ let n = O.from(this.content);
6920
+ return !e && this.match && (n = n.append(this.match.fillBefore(O.empty, !0))), this.type ? this.type.create(this.attrs, n, this.marks) : n;
6921
6921
  }
6922
6922
  inlineContext(e) {
6923
6923
  return this.type ? this.type.inlineContent : this.content.length ? this.content[0].isInline : e.parentNode && !Q0.hasOwnProperty(e.parentNode.nodeName.toLowerCase());
@@ -7747,7 +7747,7 @@ function md(t, e, n) {
7747
7747
  let a = t.child(i);
7748
7748
  a.content.size && (a = a.copy(md(a.content, e, a))), a.isInline && (a = e(a, n, i)), r.push(a);
7749
7749
  }
7750
- return z.fromArray(r);
7750
+ return O.fromArray(r);
7751
7751
  }
7752
7752
  class Jn extends st {
7753
7753
  /**
@@ -7839,7 +7839,7 @@ class Kn extends st {
7839
7839
  if (!n)
7840
7840
  return Be.fail("No node at mark step's position");
7841
7841
  let r = n.type.create(n.attrs, null, this.mark.addToSet(n.marks));
7842
- return Be.fromReplace(e, this.pos, this.pos + 1, new W(z.from(r), 0, n.isLeaf ? 0 : 1));
7842
+ return Be.fromReplace(e, this.pos, this.pos + 1, new W(O.from(r), 0, n.isLeaf ? 0 : 1));
7843
7843
  }
7844
7844
  invert(e) {
7845
7845
  let n = e.nodeAt(this.pos);
@@ -7883,7 +7883,7 @@ class Br extends st {
7883
7883
  if (!n)
7884
7884
  return Be.fail("No node at mark step's position");
7885
7885
  let r = n.type.create(n.attrs, null, this.mark.removeFromSet(n.marks));
7886
- return Be.fromReplace(e, this.pos, this.pos + 1, new W(z.from(r), 0, n.isLeaf ? 0 : 1));
7886
+ return Be.fromReplace(e, this.pos, this.pos + 1, new W(O.from(r), 0, n.isLeaf ? 0 : 1));
7887
7887
  }
7888
7888
  invert(e) {
7889
7889
  let n = e.nodeAt(this.pos);
@@ -8083,13 +8083,13 @@ function gd(t, e, n, r = n.contentMatch, i = !0) {
8083
8083
  if (i && c.isText && n.whitespace != "pre") {
8084
8084
  let p, h = /\r?\n|\r/g, m;
8085
8085
  for (; p = h.exec(c.text); )
8086
- m || (m = new W(z.from(n.schema.text(" ", n.allowedMarks(c.marks))), 0, 0)), o.push(new ze(s + p.index, s + p.index + p[0].length, m));
8086
+ m || (m = new W(O.from(n.schema.text(" ", n.allowedMarks(c.marks))), 0, 0)), o.push(new ze(s + p.index, s + p.index + p[0].length, m));
8087
8087
  }
8088
8088
  }
8089
8089
  s = d;
8090
8090
  }
8091
8091
  if (!r.validEnd) {
8092
- let l = r.fillBefore(z.empty, !0);
8092
+ let l = r.fillBefore(O.empty, !0);
8093
8093
  t.replace(s, s, new W(l, 0, 0));
8094
8094
  }
8095
8095
  for (let l = o.length - 1; l >= 0; l--)
@@ -8111,12 +8111,12 @@ function Bi(t) {
8111
8111
  return null;
8112
8112
  }
8113
8113
  function z3(t, e, n) {
8114
- let { $from: r, $to: i, depth: a } = e, o = r.before(a + 1), s = i.after(a + 1), l = o, c = s, d = z.empty, u = 0;
8114
+ let { $from: r, $to: i, depth: a } = e, o = r.before(a + 1), s = i.after(a + 1), l = o, c = s, d = O.empty, u = 0;
8115
8115
  for (let m = a, g = !1; m > n; m--)
8116
- g || r.index(m) > 0 ? (g = !0, d = z.from(r.node(m).copy(d)), u++) : l--;
8117
- let p = z.empty, h = 0;
8116
+ g || r.index(m) > 0 ? (g = !0, d = O.from(r.node(m).copy(d)), u++) : l--;
8117
+ let p = O.empty, h = 0;
8118
8118
  for (let m = a, g = !1; m > n; m--)
8119
- g || i.after(m + 1) < i.end(m) ? (g = !0, p = z.from(i.node(m).copy(p)), h++) : c++;
8119
+ g || i.after(m + 1) < i.end(m) ? (g = !0, p = O.from(i.node(m).copy(p)), h++) : c++;
8120
8120
  t.step(new He(l, c, o, s, new W(d.append(p), u, h), d.size - u, !0));
8121
8121
  }
8122
8122
  function bd(t, e, n = null, r = t) {
@@ -8143,14 +8143,14 @@ function B3(t, e) {
8143
8143
  return !l || !l.validEnd ? null : o;
8144
8144
  }
8145
8145
  function F3(t, e, n) {
8146
- let r = z.empty;
8146
+ let r = O.empty;
8147
8147
  for (let o = n.length - 1; o >= 0; o--) {
8148
8148
  if (r.size) {
8149
8149
  let s = n[o].type.contentMatch.matchFragment(r);
8150
8150
  if (!s || !s.validEnd)
8151
8151
  throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper");
8152
8152
  }
8153
- r = z.from(n[o].type.create(n[o].attrs, r));
8153
+ r = O.from(n[o].type.create(n[o].attrs, r));
8154
8154
  }
8155
8155
  let i = e.start, a = e.end;
8156
8156
  t.step(new He(i, a, i, a, new W(r, 0, 0), n.length, !0));
@@ -8169,7 +8169,7 @@ function V3(t, e, n, r, i) {
8169
8169
  }
8170
8170
  c === !1 && $0(t, o, s, a), gd(t, t.mapping.slice(a).map(s, 1), r, void 0, c === null);
8171
8171
  let d = t.mapping.slice(a), u = d.map(s, 1), p = d.map(s + o.nodeSize, 1);
8172
- return t.step(new He(u, p, u + 1, p - 1, new W(z.from(r.create(l, null, o.marks)), 0, 0), 1, !0)), c === !0 && _0(t, o, s, a), !1;
8172
+ return t.step(new He(u, p, u + 1, p - 1, new W(O.from(r.create(l, null, o.marks)), 0, 0), 1, !0)), c === !0 && _0(t, o, s, a), !1;
8173
8173
  }
8174
8174
  });
8175
8175
  }
@@ -8207,7 +8207,7 @@ function U3(t, e, n, r, i) {
8207
8207
  return t.replaceWith(e, e + a.nodeSize, o);
8208
8208
  if (!n.validContent(a.content))
8209
8209
  throw new RangeError("Invalid content for node type " + n.name);
8210
- t.step(new He(e, e + a.nodeSize, e + 1, e + a.nodeSize - 1, new W(z.from(o), 0, 0), 1, !0));
8210
+ t.step(new He(e, e + a.nodeSize, e + 1, e + a.nodeSize - 1, new W(O.from(o), 0, 0), 1, !0));
8211
8211
  }
8212
8212
  function jn(t, e, n = 1, r) {
8213
8213
  let i = t.resolve(e), a = i.depth - n, o = r && r[r.length - 1] || i.parent;
@@ -8227,11 +8227,11 @@ function jn(t, e, n = 1, r) {
8227
8227
  return i.node(a).canReplaceWith(s, s, l ? l.type : i.node(a + 1).type);
8228
8228
  }
8229
8229
  function W3(t, e, n = 1, r) {
8230
- let i = t.doc.resolve(e), a = z.empty, o = z.empty;
8230
+ let i = t.doc.resolve(e), a = O.empty, o = O.empty;
8231
8231
  for (let s = i.depth, l = i.depth - n, c = n - 1; s > l; s--, c--) {
8232
- a = z.from(i.node(s).copy(a));
8232
+ a = O.from(i.node(s).copy(a));
8233
8233
  let d = r && r[c];
8234
- o = z.from(d ? d.type.create(d.attrs, o) : i.node(s).copy(o));
8234
+ o = O.from(d ? d.type.create(d.attrs, o) : i.node(s).copy(o));
8235
8235
  }
8236
8236
  t.step(new ze(e, e, new W(a.append(o), n, n), !0));
8237
8237
  }
@@ -8336,7 +8336,7 @@ function nm(t, e, n) {
8336
8336
  }
8337
8337
  class J3 {
8338
8338
  constructor(e, n, r) {
8339
- this.$from = e, this.$to = n, this.unplaced = r, this.frontier = [], this.placed = z.empty;
8339
+ this.$from = e, this.$to = n, this.unplaced = r, this.frontier = [], this.placed = O.empty;
8340
8340
  for (let i = 0; i <= e.depth; i++) {
8341
8341
  let a = e.node(i);
8342
8342
  this.frontier.push({
@@ -8345,7 +8345,7 @@ class J3 {
8345
8345
  });
8346
8346
  }
8347
8347
  for (let i = e.depth; i > 0; i--)
8348
- this.placed = z.from(e.node(i).copy(this.placed));
8348
+ this.placed = O.from(e.node(i).copy(this.placed));
8349
8349
  }
8350
8350
  get depth() {
8351
8351
  return this.frontier.length - 1;
@@ -8384,7 +8384,7 @@ class J3 {
8384
8384
  let o = i.firstChild;
8385
8385
  for (let s = this.depth; s >= 0; s--) {
8386
8386
  let { type: l, match: c } = this.frontier[s], d, u = null;
8387
- if (n == 1 && (o ? c.matchType(o.type) || (u = c.fillBefore(z.from(o), !1)) : a && l.compatibleContent(a.type)))
8387
+ if (n == 1 && (o ? c.matchType(o.type) || (u = c.fillBefore(O.from(o), !1)) : a && l.compatibleContent(a.type)))
8388
8388
  return { sliceDepth: r, frontierDepth: s, parent: a, inject: u };
8389
8389
  if (n == 2 && o && (d = c.findWrapping(o.type)))
8390
8390
  return { sliceDepth: r, frontierDepth: s, parent: a, wrap: d };
@@ -8428,7 +8428,7 @@ class J3 {
8428
8428
  c++, (c > 1 || l == 0 || g.content.size) && (u = w, d.push(rm(g.mark(p.allowedMarks(g.marks)), c == 1 ? l : 0, c == s.childCount ? h : -1)));
8429
8429
  }
8430
8430
  let m = c == s.childCount;
8431
- m || (h = -1), this.placed = ia(this.placed, n, z.from(d)), this.frontier[n].match = u, m && h < 0 && r && r.type == this.frontier[this.depth].type && this.frontier.length > 1 && this.closeFrontierNode();
8431
+ m || (h = -1), this.placed = ia(this.placed, n, O.from(d)), this.frontier[n].match = u, m && h < 0 && r && r.type == this.frontier[this.depth].type && this.frontier.length > 1 && this.closeFrontierNode();
8432
8432
  for (let g = 0, w = s; g < h; g++) {
8433
8433
  let v = w.lastChild;
8434
8434
  this.frontier.push({ type: v.type, match: v.contentMatchAt(v.childCount) }), w = v.content;
@@ -8474,10 +8474,10 @@ class J3 {
8474
8474
  }
8475
8475
  openFrontierNode(e, n = null, r) {
8476
8476
  let i = this.frontier[this.depth];
8477
- i.match = i.match.matchType(e), this.placed = ia(this.placed, this.depth, z.from(e.create(n, r))), this.frontier.push({ type: e, match: e.contentMatch });
8477
+ i.match = i.match.matchType(e), this.placed = ia(this.placed, this.depth, O.from(e.create(n, r))), this.frontier.push({ type: e, match: e.contentMatch });
8478
8478
  }
8479
8479
  closeFrontierNode() {
8480
- let n = this.frontier.pop().match.fillBefore(z.empty, !0);
8480
+ let n = this.frontier.pop().match.fillBefore(O.empty, !0);
8481
8481
  n.childCount && (this.placed = ia(this.placed, this.frontier.length, n));
8482
8482
  }
8483
8483
  }
@@ -8496,7 +8496,7 @@ function rm(t, e, n) {
8496
8496
  if (e <= 0)
8497
8497
  return t;
8498
8498
  let r = t.content;
8499
- return e > 1 && (r = r.replaceChild(0, rm(r.firstChild, e - 1, r.childCount == 1 ? n - 1 : 0))), e > 0 && (r = t.type.contentMatch.fillBefore(r).append(r), n <= 0 && (r = r.append(t.type.contentMatch.matchFragment(r).fillBefore(z.empty, !0)))), t.copy(r);
8499
+ return e > 1 && (r = r.replaceChild(0, rm(r.firstChild, e - 1, r.childCount == 1 ? n - 1 : 0))), e > 0 && (r = t.type.contentMatch.fillBefore(r).append(r), n <= 0 && (r = r.append(t.type.contentMatch.matchFragment(r).fillBefore(O.empty, !0)))), t.copy(r);
8500
8500
  }
8501
8501
  function mf(t, e, n, r, i) {
8502
8502
  let a = t.node(e), o = i ? t.indexAfter(e) : t.index(e);
@@ -8568,7 +8568,7 @@ function im(t, e, n, r, i) {
8568
8568
  }
8569
8569
  if (e > r) {
8570
8570
  let a = i.contentMatchAt(0), o = a.fillBefore(t).append(t);
8571
- t = o.append(a.matchFragment(o).fillBefore(z.empty, !0));
8571
+ t = o.append(a.matchFragment(o).fillBefore(O.empty, !0));
8572
8572
  }
8573
8573
  return t;
8574
8574
  }
@@ -8577,7 +8577,7 @@ function X3(t, e, n, r) {
8577
8577
  let i = G3(t.doc, e, r.type);
8578
8578
  i != null && (e = n = i);
8579
8579
  }
8580
- t.replaceRange(e, n, new W(z.from(r), 0, 0));
8580
+ t.replaceRange(e, n, new W(O.from(r), 0, 0));
8581
8581
  }
8582
8582
  function _3(t, e, n) {
8583
8583
  let r = t.doc.resolve(e), i = t.doc.resolve(n);
@@ -8634,7 +8634,7 @@ class vi extends st {
8634
8634
  r[a] = n.attrs[a];
8635
8635
  r[this.attr] = this.value;
8636
8636
  let i = n.type.create(r, null, n.marks);
8637
- return Be.fromReplace(e, this.pos, this.pos + 1, new W(z.from(i), 0, n.isLeaf ? 0 : 1));
8637
+ return Be.fromReplace(e, this.pos, this.pos + 1, new W(O.from(i), 0, n.isLeaf ? 0 : 1));
8638
8638
  }
8639
8639
  getMap() {
8640
8640
  return Nt.empty;
@@ -8772,7 +8772,7 @@ class om {
8772
8772
  fragment, node, or array of nodes.
8773
8773
  */
8774
8774
  replaceWith(e, n, r) {
8775
- return this.replace(e, n, new W(z.from(r), 0, 0));
8775
+ return this.replace(e, n, new W(O.from(r), 0, 0));
8776
8776
  }
8777
8777
  /**
8778
8778
  Delete the content between the given positions.
@@ -9035,7 +9035,7 @@ class se {
9035
9035
  found.
9036
9036
  */
9037
9037
  static findFrom(e, n, r = !1) {
9038
- let i = e.parent.inlineContent ? new $(e) : di(e.node(0), e.parent, e.pos, e.index(), n, r);
9038
+ let i = e.parent.inlineContent ? new ee(e) : di(e.node(0), e.parent, e.pos, e.index(), n, r);
9039
9039
  if (i)
9040
9040
  return i;
9041
9041
  for (let a = e.depth - 1; a >= 0; a--) {
@@ -9102,7 +9102,7 @@ class se {
9102
9102
  returns the bookmark for that.
9103
9103
  */
9104
9104
  getBookmark() {
9105
- return $.between(this.$anchor, this.$head).getBookmark();
9105
+ return ee.between(this.$anchor, this.$head).getBookmark();
9106
9106
  }
9107
9107
  }
9108
9108
  se.prototype.visible = !0;
@@ -9118,7 +9118,7 @@ let yh = !1;
9118
9118
  function vh(t) {
9119
9119
  !yh && !t.parent.inlineContent && (yh = !0, console.warn("TextSelection endpoint not pointing into a node with inline content (" + t.parent.type.name + ")"));
9120
9120
  }
9121
- class $ extends se {
9121
+ class ee extends se {
9122
9122
  /**
9123
9123
  Construct a text selection between the given points.
9124
9124
  */
@@ -9137,7 +9137,7 @@ class $ extends se {
9137
9137
  if (!r.parent.inlineContent)
9138
9138
  return se.near(r);
9139
9139
  let i = e.resolve(n.map(this.anchor));
9140
- return new $(i.parent.inlineContent ? i : r, r);
9140
+ return new ee(i.parent.inlineContent ? i : r, r);
9141
9141
  }
9142
9142
  replace(e, n = W.empty) {
9143
9143
  if (super.replace(e, n), n == W.empty) {
@@ -9146,7 +9146,7 @@ class $ extends se {
9146
9146
  }
9147
9147
  }
9148
9148
  eq(e) {
9149
- return e instanceof $ && e.anchor == this.anchor && e.head == this.head;
9149
+ return e instanceof ee && e.anchor == this.anchor && e.head == this.head;
9150
9150
  }
9151
9151
  getBookmark() {
9152
9152
  return new Nl(this.anchor, this.head);
@@ -9160,7 +9160,7 @@ class $ extends se {
9160
9160
  static fromJSON(e, n) {
9161
9161
  if (typeof n.anchor != "number" || typeof n.head != "number")
9162
9162
  throw new RangeError("Invalid input for TextSelection.fromJSON");
9163
- return new $(e.resolve(n.anchor), e.resolve(n.head));
9163
+ return new ee(e.resolve(n.anchor), e.resolve(n.head));
9164
9164
  }
9165
9165
  /**
9166
9166
  Create a text selection from non-resolved positions.
@@ -9186,10 +9186,10 @@ class $ extends se {
9186
9186
  else
9187
9187
  return se.near(n, r);
9188
9188
  }
9189
- return e.parent.inlineContent || (i == 0 ? e = n : (e = (se.findFrom(e, -r, !0) || se.findFrom(e, r, !0)).$anchor, e.pos < n.pos != i < 0 && (e = n))), new $(e, n);
9189
+ return e.parent.inlineContent || (i == 0 ? e = n : (e = (se.findFrom(e, -r, !0) || se.findFrom(e, r, !0)).$anchor, e.pos < n.pos != i < 0 && (e = n))), new ee(e, n);
9190
9190
  }
9191
9191
  }
9192
- se.jsonID("text", $);
9192
+ se.jsonID("text", ee);
9193
9193
  class Nl {
9194
9194
  constructor(e, n) {
9195
9195
  this.anchor = e, this.head = n;
@@ -9198,7 +9198,7 @@ class Nl {
9198
9198
  return new Nl(e.map(this.anchor), e.map(this.head));
9199
9199
  }
9200
9200
  resolve(e) {
9201
- return $.between(e.resolve(this.anchor), e.resolve(this.head));
9201
+ return ee.between(e.resolve(this.anchor), e.resolve(this.head));
9202
9202
  }
9203
9203
  }
9204
9204
  class Z extends se {
@@ -9215,7 +9215,7 @@ class Z extends se {
9215
9215
  return r ? se.near(a) : new Z(a);
9216
9216
  }
9217
9217
  content() {
9218
- return new W(z.from(this.node), 0, 0);
9218
+ return new W(O.from(this.node), 0, 0);
9219
9219
  }
9220
9220
  eq(e) {
9221
9221
  return e instanceof Z && e.anchor == this.anchor;
@@ -9308,7 +9308,7 @@ const eC = {
9308
9308
  };
9309
9309
  function di(t, e, n, r, i, a = !1) {
9310
9310
  if (e.inlineContent)
9311
- return $.create(t, n);
9311
+ return ee.create(t, n);
9312
9312
  for (let o = r - (i > 0 ? 0 : 1); i > 0 ? o < e.childCount : o >= 0; o += i) {
9313
9313
  let s = e.child(o);
9314
9314
  if (s.isAtom) {
@@ -9817,7 +9817,7 @@ function dm(t, e, n) {
9817
9817
  return !1;
9818
9818
  if (n) {
9819
9819
  let d = t.tr.step(c);
9820
- d.setSelection($.create(d.doc, a)), n(d.scrollIntoView());
9820
+ d.setSelection(ee.create(d.doc, a)), n(d.scrollIntoView());
9821
9821
  }
9822
9822
  return !0;
9823
9823
  }
@@ -9959,7 +9959,7 @@ const lC = (t, e) => {
9959
9959
  return !1;
9960
9960
  if (e) {
9961
9961
  let o = (!r.parentOffset && i.index() < i.parent.childCount ? r : i).pos, s = t.tr.insert(o, a.createAndFill());
9962
- s.setSelection($.create(s.doc, o + 1)), e(s.scrollIntoView());
9962
+ s.setSelection(ee.create(s.doc, o + 1)), e(s.scrollIntoView());
9963
9963
  }
9964
9964
  return !0;
9965
9965
  }, wm = (t, e) => {
@@ -9992,7 +9992,7 @@ function fC(t) {
9992
9992
  a.unshift(null);
9993
9993
  }
9994
9994
  let d = e.tr;
9995
- (e.selection instanceof $ || e.selection instanceof It) && d.deleteSelection();
9995
+ (e.selection instanceof ee || e.selection instanceof It) && d.deleteSelection();
9996
9996
  let u = d.mapping.map(r.pos), p = jn(d.doc, u, a.length, a);
9997
9997
  if (p || (a[0] = s ? { type: s } : null, p = jn(d.doc, u, a.length, a)), !p)
9998
9998
  return !1;
@@ -10018,10 +10018,10 @@ function ym(t, e, n, r) {
10018
10018
  let c = !l && e.parent.canReplace(e.index(), e.index() + 1);
10019
10019
  if (c && (o = (s = i.contentMatchAt(i.childCount)).findWrapping(a.type)) && s.matchType(o[0] || a.type).validEnd) {
10020
10020
  if (n) {
10021
- let h = e.pos + a.nodeSize, m = z.empty;
10021
+ let h = e.pos + a.nodeSize, m = O.empty;
10022
10022
  for (let v = o.length - 1; v >= 0; v--)
10023
- m = z.from(o[v].create(null, m));
10024
- m = z.from(i.copy(m));
10023
+ m = O.from(o[v].create(null, m));
10024
+ m = O.from(i.copy(m));
10025
10025
  let g = t.tr.step(new He(e.pos - 1, h, e.pos, h, new W(m, 1, 0), o.length, !0)), w = g.doc.resolve(h + 2 * o.length);
10026
10026
  w.nodeAfter && w.nodeAfter.type == i.type && lr(g.doc, w.pos) && g.join(w.pos), n(g.scrollIntoView());
10027
10027
  }
@@ -10039,9 +10039,9 @@ function ym(t, e, n, r) {
10039
10039
  w++;
10040
10040
  if (h.canReplace(h.childCount, h.childCount, g.content)) {
10041
10041
  if (n) {
10042
- let v = z.empty;
10042
+ let v = O.empty;
10043
10043
  for (let x = m.length - 1; x >= 0; x--)
10044
- v = z.from(m[x].copy(v));
10044
+ v = O.from(m[x].copy(v));
10045
10045
  let M = t.tr.step(new He(e.pos - m.length, e.pos + a.nodeSize, e.pos + w, e.pos + a.nodeSize - w, new W(v, m.length, 0), 0, !0));
10046
10046
  n(M.scrollIntoView());
10047
10047
  }
@@ -10058,7 +10058,7 @@ function vm(t) {
10058
10058
  return !1;
10059
10059
  a--;
10060
10060
  }
10061
- return i.node(a).isTextblock ? (n && n(e.tr.setSelection($.create(e.doc, t < 0 ? i.start(a) : i.end(a)))), !0) : !1;
10061
+ return i.node(a).isTextblock ? (n && n(e.tr.setSelection(ee.create(e.doc, t < 0 ? i.start(a) : i.end(a)))), !0) : !1;
10062
10062
  };
10063
10063
  }
10064
10064
  const hC = vm(-1), pC = vm(1);
@@ -10131,9 +10131,9 @@ function bC(t, e, n, r = null) {
10131
10131
  return s ? (t && wC(t, e, s, i, n), !0) : !1;
10132
10132
  }
10133
10133
  function wC(t, e, n, r, i) {
10134
- let a = z.empty;
10134
+ let a = O.empty;
10135
10135
  for (let d = n.length - 1; d >= 0; d--)
10136
- a = z.from(n[d].type.create(n[d].attrs, a));
10136
+ a = O.from(n[d].type.create(n[d].attrs, a));
10137
10137
  t.step(new He(e.start - (r ? 2 : 0), e.end, e.start, e.end, new W(a, 0, 0), n.length, !0));
10138
10138
  let o = 0;
10139
10139
  for (let d = 0; d < n.length; d++)
@@ -10151,7 +10151,7 @@ function yC(t) {
10151
10151
  }
10152
10152
  function vC(t, e, n, r) {
10153
10153
  let i = t.tr, a = r.end, o = r.$to.end(r.depth);
10154
- a < o && (i.step(new He(a - 1, o, a, o, new W(z.from(n.create(null, r.parent.copy())), 1, 0), 1, !0)), r = new ds(i.doc.resolve(r.$from.pos), i.doc.resolve(o), r.depth));
10154
+ a < o && (i.step(new He(a - 1, o, a, o, new W(O.from(n.create(null, r.parent.copy())), 1, 0), 1, !0)), r = new ds(i.doc.resolve(r.$from.pos), i.doc.resolve(o), r.depth));
10155
10155
  const s = Bi(r);
10156
10156
  if (s == null)
10157
10157
  return !1;
@@ -10167,10 +10167,10 @@ function CC(t, e, n) {
10167
10167
  if (r.mapping.map(n.end) != n.start + a.nodeAfter.nodeSize)
10168
10168
  return !1;
10169
10169
  let s = n.startIndex == 0, l = n.endIndex == i.childCount, c = a.node(-1), d = a.index(-1);
10170
- if (!c.canReplace(d + (s ? 0 : 1), d + 1, o.content.append(l ? z.empty : z.from(i))))
10170
+ if (!c.canReplace(d + (s ? 0 : 1), d + 1, o.content.append(l ? O.empty : O.from(i))))
10171
10171
  return !1;
10172
10172
  let u = a.pos, p = u + o.nodeSize;
10173
- return r.step(new He(u - (s ? 1 : 0), p + (l ? 1 : 0), u + 1, p - 1, new W((s ? z.empty : z.from(i.copy(z.empty))).append(l ? z.empty : z.from(i.copy(z.empty))), s ? 0 : 1, l ? 0 : 1), s ? 0 : 1)), e(r.scrollIntoView()), !0;
10173
+ return r.step(new He(u - (s ? 1 : 0), p + (l ? 1 : 0), u + 1, p - 1, new W((s ? O.empty : O.from(i.copy(O.empty))).append(l ? O.empty : O.from(i.copy(O.empty))), s ? 0 : 1, l ? 0 : 1), s ? 0 : 1)), e(r.scrollIntoView()), !0;
10174
10174
  }
10175
10175
  function MC(t) {
10176
10176
  return function(e, n) {
@@ -10184,7 +10184,7 @@ function MC(t) {
10184
10184
  if (l.type != t)
10185
10185
  return !1;
10186
10186
  if (n) {
10187
- let c = l.lastChild && l.lastChild.type == s.type, d = z.from(c ? t.create() : null), u = new W(z.from(t.create(null, z.from(s.type.create(null, d)))), c ? 3 : 1, 0), p = a.start, h = a.end;
10187
+ let c = l.lastChild && l.lastChild.type == s.type, d = O.from(c ? t.create() : null), u = new W(O.from(t.create(null, O.from(s.type.create(null, d)))), c ? 3 : 1, 0), p = a.start, h = a.end;
10188
10188
  n(e.tr.step(new He(p - (c ? 3 : 1), h, p, h, u, 1, !0)).scrollIntoView());
10189
10189
  }
10190
10190
  return !0;
@@ -11128,7 +11128,7 @@ class _n extends io {
11128
11128
  break;
11129
11129
  }
11130
11130
  }
11131
- e.contentElement || (e.getContent = () => z.empty);
11131
+ e.contentElement || (e.getContent = () => O.empty);
11132
11132
  }
11133
11133
  return e;
11134
11134
  }
@@ -11157,7 +11157,7 @@ class _n extends io {
11157
11157
  }
11158
11158
  localCompositionInfo(e, n) {
11159
11159
  let { from: r, to: i } = e.state.selection;
11160
- if (!(e.state.selection instanceof $) || r < n || i > n + this.node.content.size)
11160
+ if (!(e.state.selection instanceof ee) || r < n || i > n + this.node.content.size)
11161
11161
  return null;
11162
11162
  let a = e.input.compositionNode;
11163
11163
  if (!a || !this.dom.contains(a.parentNode))
@@ -11717,7 +11717,7 @@ function Dn(t, e = !1) {
11717
11717
  nM(t);
11718
11718
  else {
11719
11719
  let { anchor: r, head: i } = n, a, o;
11720
- zh && !(n instanceof $) && (n.$from.parent.inlineContent || (a = Ph(t, n.from)), !n.empty && !n.$from.parent.inlineContent && (o = Ph(t, n.to))), t.docView.setSelection(r, i, t, e), zh && (a && Bh(a), o && Bh(o)), n.visible ? t.dom.classList.remove("ProseMirror-hideselection") : (t.dom.classList.add("ProseMirror-hideselection"), "onselectionchange" in document && tM(t));
11720
+ zh && !(n instanceof ee) && (n.$from.parent.inlineContent || (a = Ph(t, n.from)), !n.empty && !n.$from.parent.inlineContent && (o = Ph(t, n.to))), t.docView.setSelection(r, i, t, e), zh && (a && Bh(a), o && Bh(o)), n.visible ? t.dom.classList.remove("ProseMirror-hideselection") : (t.dom.classList.add("ProseMirror-hideselection"), "onselectionchange" in document && tM(t));
11721
11721
  }
11722
11722
  t.domObserver.setCurSelection(), t.domObserver.connectSelection();
11723
11723
  }
@@ -11768,7 +11768,7 @@ function Fh(t) {
11768
11768
  t.lastSelectedViewDesc && (t.lastSelectedViewDesc.parent && t.lastSelectedViewDesc.deselectNode(), t.lastSelectedViewDesc = void 0);
11769
11769
  }
11770
11770
  function kd(t, e, n, r) {
11771
- return t.someProp("createSelectionBetween", (i) => i(t, e, n)) || $.between(e, n, r);
11771
+ return t.someProp("createSelectionBetween", (i) => i(t, e, n)) || ee.between(e, n, r);
11772
11772
  }
11773
11773
  function Vh(t) {
11774
11774
  return t.editable && !t.hasFocus() ? !1 : Pm(t);
@@ -11796,13 +11796,13 @@ function Un(t, e) {
11796
11796
  }
11797
11797
  function Yh(t, e, n) {
11798
11798
  let r = t.state.selection;
11799
- if (r instanceof $)
11799
+ if (r instanceof ee)
11800
11800
  if (n.indexOf("s") > -1) {
11801
11801
  let { $head: i } = r, a = i.textOffset ? null : e < 0 ? i.nodeBefore : i.nodeAfter;
11802
11802
  if (!a || a.isText || !a.isLeaf)
11803
11803
  return !1;
11804
11804
  let o = t.state.doc.resolve(i.pos + a.nodeSize * (e < 0 ? -1 : 1));
11805
- return Un(t, new $(r.$anchor, o));
11805
+ return Un(t, new ee(r.$anchor, o));
11806
11806
  } else if (r.empty) {
11807
11807
  if (t.endOfTextblock(e > 0 ? "forward" : "backward")) {
11808
11808
  let i = wc(t.state, e);
@@ -11812,12 +11812,12 @@ function Yh(t, e, n) {
11812
11812
  if (!a || a.isText)
11813
11813
  return !1;
11814
11814
  let s = e < 0 ? i.pos - a.nodeSize : i.pos;
11815
- return a.isAtom || (o = t.docView.descAt(s)) && !o.contentDOM ? Z.isSelectable(a) ? Un(t, new Z(e < 0 ? t.state.doc.resolve(i.pos - a.nodeSize) : i)) : ro ? Un(t, new $(t.state.doc.resolve(e < 0 ? s : s + a.nodeSize))) : !1 : !1;
11815
+ return a.isAtom || (o = t.docView.descAt(s)) && !o.contentDOM ? Z.isSelectable(a) ? Un(t, new Z(e < 0 ? t.state.doc.resolve(i.pos - a.nodeSize) : i)) : ro ? Un(t, new ee(t.state.doc.resolve(e < 0 ? s : s + a.nodeSize))) : !1 : !1;
11816
11816
  }
11817
11817
  } else return !1;
11818
11818
  else {
11819
11819
  if (r instanceof Z && r.node.isInline)
11820
- return Un(t, new $(e > 0 ? r.$to : r.$from));
11820
+ return Un(t, new ee(e > 0 ? r.$to : r.$from));
11821
11821
  {
11822
11822
  let i = wc(t.state, e);
11823
11823
  return i ? Un(t, i) : !1;
@@ -11967,7 +11967,7 @@ function Uh(t, e) {
11967
11967
  }
11968
11968
  function Wh(t, e, n) {
11969
11969
  let r = t.state.selection;
11970
- if (r instanceof $ && !r.empty || n.indexOf("s") > -1 || Bt && n.indexOf("m") > -1)
11970
+ if (r instanceof ee && !r.empty || n.indexOf("s") > -1 || Bt && n.indexOf("m") > -1)
11971
11971
  return !1;
11972
11972
  let { $from: i, $to: a } = r;
11973
11973
  if (!i.parent.inlineContent || t.endOfTextblock(e < 0 ? "up" : "down")) {
@@ -11982,7 +11982,7 @@ function Wh(t, e, n) {
11982
11982
  return !1;
11983
11983
  }
11984
11984
  function Hh(t, e) {
11985
- if (!(t.state.selection instanceof $))
11985
+ if (!(t.state.selection instanceof ee))
11986
11986
  return !0;
11987
11987
  let { $head: n, $anchor: r, empty: i } = t.state.selection;
11988
11988
  if (!n.sameParent(r))
@@ -12076,7 +12076,7 @@ function Fm(t, e, n, r, i) {
12076
12076
  if (t.someProp("transformPastedText", (p) => {
12077
12077
  e = p(e, a || r, t);
12078
12078
  }), a)
12079
- return s = new W(z.from(t.state.schema.text(e.replace(/\r\n?/g, `
12079
+ return s = new W(O.from(t.state.schema.text(e.replace(/\r\n?/g, `
12080
12080
  `))), 0, 0), t.someProp("transformPasted", (p) => {
12081
12081
  s = p(s, t, !0);
12082
12082
  }), s;
@@ -12144,13 +12144,13 @@ function uM(t, e) {
12144
12144
  o.push(d), i = i.matchType(d.type), a = l;
12145
12145
  }
12146
12146
  }), o)
12147
- return z.from(o);
12147
+ return O.from(o);
12148
12148
  }
12149
12149
  return t;
12150
12150
  }
12151
12151
  function Vm(t, e, n = 0) {
12152
12152
  for (let r = e.length - 1; r >= n; r--)
12153
- t = e[r].create(null, z.from(t));
12153
+ t = e[r].create(null, O.from(t));
12154
12154
  return t;
12155
12155
  }
12156
12156
  function Ym(t, e, n, r, i) {
@@ -12159,18 +12159,18 @@ function Ym(t, e, n, r, i) {
12159
12159
  if (a)
12160
12160
  return r.copy(r.content.replaceChild(r.childCount - 1, a));
12161
12161
  if (r.contentMatchAt(r.childCount).matchType(i == t.length - 1 ? n.type : t[i + 1]))
12162
- return r.copy(r.content.append(z.from(Vm(n, t, i + 1))));
12162
+ return r.copy(r.content.append(O.from(Vm(n, t, i + 1))));
12163
12163
  }
12164
12164
  }
12165
12165
  function Um(t, e) {
12166
12166
  if (e == 0)
12167
12167
  return t;
12168
- let n = t.content.replaceChild(t.childCount - 1, Um(t.lastChild, e - 1)), r = t.contentMatchAt(t.childCount).fillBefore(z.empty, !0);
12168
+ let n = t.content.replaceChild(t.childCount - 1, Um(t.lastChild, e - 1)), r = t.contentMatchAt(t.childCount).fillBefore(O.empty, !0);
12169
12169
  return t.copy(n.append(r));
12170
12170
  }
12171
12171
  function vc(t, e, n, r, i, a) {
12172
12172
  let o = e < 0 ? t.firstChild : t.lastChild, s = o.content;
12173
- return t.childCount > 1 && (a = 0), i < r - 1 && (s = vc(s, e, n, r, i + 1, a)), i >= n && (s = e < 0 ? o.contentMatchAt(0).fillBefore(s, a <= i).append(s) : s.append(o.contentMatchAt(o.childCount).fillBefore(z.empty, !0))), t.replaceChild(e < 0 ? 0 : t.childCount - 1, o.copy(s));
12173
+ return t.childCount > 1 && (a = 0), i < r - 1 && (s = vc(s, e, n, r, i + 1, a)), i >= n && (s = e < 0 ? o.contentMatchAt(0).fillBefore(s, a <= i).append(s) : s.append(o.contentMatchAt(o.childCount).fillBefore(O.empty, !0))), t.replaceChild(e < 0 ? 0 : t.childCount - 1, o.copy(s));
12174
12174
  }
12175
12175
  function Gh(t, e, n) {
12176
12176
  return e < t.openStart && (t = new W(vc(t.content, -1, e, t.openStart, 0, t.openEnd), e, t.openEnd)), n < t.openEnd && (t = new W(vc(t.content, 1, n, t.openEnd, 0, 0), t.openStart, n)), t;
@@ -12225,7 +12225,7 @@ function gM(t, e) {
12225
12225
  let l = n.nodes[r[s]];
12226
12226
  if (!l || l.hasRequiredAttrs())
12227
12227
  break;
12228
- i = z.from(l.create(r[s + 1], i)), a++, o++;
12228
+ i = O.from(l.create(r[s + 1], i)), a++, o++;
12229
12229
  }
12230
12230
  return new W(i, a, o);
12231
12231
  }
@@ -12300,7 +12300,7 @@ ht.keypress = (t, e) => {
12300
12300
  return;
12301
12301
  }
12302
12302
  let r = t.state.selection;
12303
- if (!(r instanceof $) || !r.$from.sameParent(r.$to)) {
12303
+ if (!(r instanceof ee) || !r.$from.sameParent(r.$to)) {
12304
12304
  let i = String.fromCharCode(n.charCode), a = () => t.state.tr.insertText(i).scrollIntoView();
12305
12305
  !/[\r\n]/.test(i) && !t.someProp("handleTextInput", (o) => o(t, r.$from.pos, r.$to.pos, i, a)) && t.dispatch(a()), n.preventDefault();
12306
12306
  }
@@ -12362,12 +12362,12 @@ function AM(t, e, n) {
12362
12362
  return !1;
12363
12363
  let r = t.state.doc;
12364
12364
  if (e == -1)
12365
- return r.inlineContent ? (Ci(t, $.create(r, 0, r.content.size)), !0) : !1;
12365
+ return r.inlineContent ? (Ci(t, ee.create(r, 0, r.content.size)), !0) : !1;
12366
12366
  let i = r.resolve(e);
12367
12367
  for (let a = i.depth + 1; a > 0; a--) {
12368
12368
  let o = a > i.depth ? i.nodeAfter : i.node(a), s = i.before(a);
12369
12369
  if (o.inlineContent)
12370
- Ci(t, $.create(r, s + 1, s + 1 + o.content.size));
12370
+ Ci(t, ee.create(r, s + 1, s + 1 + o.content.size));
12371
12371
  else if (Z.isSelectable(o))
12372
12372
  Ci(t, Z.create(r, s));
12373
12373
  else
@@ -12448,7 +12448,7 @@ ht.compositionstart = ht.compositionupdate = (t) => {
12448
12448
  if (!t.composing) {
12449
12449
  t.domObserver.flush();
12450
12450
  let { state: e } = t, n = e.selection.$to;
12451
- if (e.selection instanceof $ && (e.storedMarks || !n.textOffset && n.parentOffset && n.nodeBefore.marks.some((r) => r.type.spec.inclusive === !1) || _e && xm && jM(t)))
12451
+ if (e.selection instanceof ee && (e.storedMarks || !n.textOffset && n.parentOffset && n.nodeBefore.marks.some((r) => r.type.spec.inclusive === !1) || _e && xm && jM(t)))
12452
12452
  t.markCursor = t.state.storedMarks || n.marks(), ms(t, !0), t.markCursor = null;
12453
12453
  else if (ms(t, !e.selection.empty), Ut && e.selection.empty && n.parentOffset && !n.textOffset && n.nodeBefore.marks.length) {
12454
12454
  let r = t.domSelectionRange();
@@ -13461,8 +13461,8 @@ function $M(t, e, n, r, i) {
13461
13461
  if (A && !t.state.selection.eq(A)) {
13462
13462
  if (_e && Tn && t.input.lastKeyCode === 13 && Date.now() - 100 < t.input.lastKeyCodeTime && t.someProp("handleKeyDown", (S) => S(t, Cr(13, "Enter"))))
13463
13463
  return;
13464
- let T = t.state.tr.setSelection(A);
13465
- k == "pointer" ? T.setMeta("pointer", !0) : k == "key" && T.scrollIntoView(), a && T.setMeta("composition", a), t.dispatch(T);
13464
+ let j = t.state.tr.setSelection(A);
13465
+ k == "pointer" ? j.setMeta("pointer", !0) : k == "key" && j.scrollIntoView(), a && j.setMeta("composition", a), t.dispatch(j);
13466
13466
  }
13467
13467
  return;
13468
13468
  }
@@ -13476,7 +13476,7 @@ function $M(t, e, n, r, i) {
13476
13476
  return;
13477
13477
  }
13478
13478
  if (!m)
13479
- if (r && l instanceof $ && !l.empty && l.$head.sameParent(l.$anchor) && !t.composing && !(c.sel && c.sel.anchor != c.sel.head))
13479
+ if (r && l instanceof ee && !l.empty && l.$head.sameParent(l.$anchor) && !t.composing && !(c.sel && c.sel.anchor != c.sel.head))
13480
13480
  m = { start: l.from, endA: l.to, endB: l.to };
13481
13481
  else {
13482
13482
  if (c.sel) {
@@ -13488,7 +13488,7 @@ function $M(t, e, n, r, i) {
13488
13488
  }
13489
13489
  return;
13490
13490
  }
13491
- t.state.selection.from < t.state.selection.to && m.start == m.endB && t.state.selection instanceof $ && (m.start > t.state.selection.from && m.start <= t.state.selection.from + 2 && t.state.selection.from >= c.from ? m.start = t.state.selection.from : m.endA < t.state.selection.to && m.endA >= t.state.selection.to - 2 && t.state.selection.to <= c.to && (m.endB += t.state.selection.to - m.endA, m.endA = t.state.selection.to)), Ct && Xn <= 11 && m.endB == m.start + 1 && m.endA == m.start && m.start > c.from && c.doc.textBetween(m.start - c.from - 1, m.start - c.from + 1) == "  " && (m.start--, m.endA--, m.endB--);
13491
+ t.state.selection.from < t.state.selection.to && m.start == m.endB && t.state.selection instanceof ee && (m.start > t.state.selection.from && m.start <= t.state.selection.from + 2 && t.state.selection.from >= c.from ? m.start = t.state.selection.from : m.endA < t.state.selection.to && m.endA >= t.state.selection.to - 2 && t.state.selection.to <= c.to && (m.endB += t.state.selection.to - m.endA, m.endA = t.state.selection.to)), Ct && Xn <= 11 && m.endB == m.start + 1 && m.endA == m.start && m.start > c.from && c.doc.textBetween(m.start - c.from - 1, m.start - c.from + 1) == "  " && (m.start--, m.endA--, m.endB--);
13492
13492
  let g = c.doc.resolveNoCache(m.start - c.from), w = c.doc.resolveNoCache(m.endB - c.from), v = d.resolve(m.start), M = g.sameParent(w) && g.parent.inlineContent && v.end() >= m.endA;
13493
13493
  if ((Si && t.input.lastIOSEnter > Date.now() - 225 && (!M || i.some((k) => k.nodeName == "DIV" || k.nodeName == "P")) || !M && g.pos < c.doc.content.size && (!g.sameParent(w) || !g.parent.inlineContent) && g.pos < w.pos && !/\S/.test(c.doc.textBetween(g.pos, w.pos, "", ""))) && t.someProp("handleKeyDown", (k) => k(t, Cr(13, "Enter")))) {
13494
13494
  t.input.lastIOSEnter = 0;
@@ -13506,8 +13506,8 @@ function $M(t, e, n, r, i) {
13506
13506
  let x = m.start, y = m.endA, L = (k) => {
13507
13507
  let A = k || t.state.tr.replace(x, y, c.doc.slice(m.start - c.from, m.endB - c.from));
13508
13508
  if (c.sel) {
13509
- let T = _h(t, A.doc, c.sel);
13510
- T && !(_e && t.composing && T.empty && (m.start != m.endB || t.input.lastChromeDelete < Date.now() - 100) && (T.head == x || T.head == A.mapping.map(y) - 1) || Ct && T.empty && T.head == x) && A.setSelection(T);
13509
+ let j = _h(t, A.doc, c.sel);
13510
+ j && !(_e && t.composing && j.empty && (m.start != m.endB || t.input.lastChromeDelete < Date.now() - 100) && (j.head == x || j.head == A.mapping.map(y) - 1) || Ct && j.empty && j.head == x) && A.setSelection(j);
13511
13511
  }
13512
13512
  return a && A.setMeta("composition", a), A.scrollIntoView();
13513
13513
  }, N;
@@ -13524,7 +13524,7 @@ function $M(t, e, n, r, i) {
13524
13524
  N.type == "add" ? k.addMark(x, y, N.mark) : k.removeMark(x, y, N.mark), t.dispatch(k);
13525
13525
  } else if (g.parent.child(g.index()).isText && g.index() == w.index() - (w.textOffset ? 0 : 1)) {
13526
13526
  let k = g.parent.textBetween(g.parentOffset, w.parentOffset), A = () => L(t.state.tr.insertText(k, x, y));
13527
- t.someProp("handleTextInput", (T) => T(t, x, y, k, A)) || t.dispatch(A());
13527
+ t.someProp("handleTextInput", (j) => j(t, x, y, k, A)) || t.dispatch(A());
13528
13528
  } else
13529
13529
  t.dispatch(L());
13530
13530
  else
@@ -13548,7 +13548,7 @@ function ex(t, e) {
13548
13548
  let c = [];
13549
13549
  for (let d = 0; d < e.childCount; d++)
13550
13550
  c.push(l(e.child(d)));
13551
- if (z.from(c).eq(t))
13551
+ if (O.from(c).eq(t))
13552
13552
  return { mark: s, type: o };
13553
13553
  }
13554
13554
  function tx(t, e, n, r, i) {
@@ -14311,7 +14311,7 @@ var px = () => ({ editor: t, view: e }) => (requestAnimationFrame(() => {
14311
14311
  const { state: i } = n, a = i.doc.slice(t.from, t.to);
14312
14312
  r.deleteRange(t.from, t.to);
14313
14313
  const o = r.mapping.map(e);
14314
- return r.insert(o, a.content), r.setSelection(new $(r.doc.resolve(Math.max(o - 1, 0)))), !0;
14314
+ return r.insert(o, a.content), r.setSelection(new ee(r.doc.resolve(Math.max(o - 1, 0)))), !0;
14315
14315
  }, vx = () => ({ tr: t, dispatch: e }) => {
14316
14316
  const { selection: n } = t, r = n.$anchor.node();
14317
14317
  if (r.content.size > 0)
@@ -14402,7 +14402,7 @@ var kx = (t, e) => ({ tr: n, state: r, dispatch: i }) => {
14402
14402
  if (i) {
14403
14403
  const u = Od(l, a, e);
14404
14404
  if (u && u.from <= c && u.to >= d) {
14405
- const p = $.create(o, u.from, u.to);
14405
+ const p = ee.create(o, u.from, u.to);
14406
14406
  n.setSelection(p);
14407
14407
  }
14408
14408
  }
@@ -14415,7 +14415,7 @@ var kx = (t, e) => ({ tr: n, state: r, dispatch: i }) => {
14415
14415
  return !1;
14416
14416
  };
14417
14417
  function ag(t) {
14418
- return t instanceof $;
14418
+ return t instanceof ee;
14419
14419
  }
14420
14420
  function kr(t = 0, e = 0, n = 0) {
14421
14421
  return Math.min(Math.max(t, e), n);
@@ -14429,7 +14429,7 @@ function og(t, e = null) {
14429
14429
  if (e === "end")
14430
14430
  return r;
14431
14431
  const i = n.from, a = r.to;
14432
- return e === "all" ? $.create(t, kr(0, i, a), kr(t.content.size, i, a)) : $.create(t, kr(e, i, a), kr(e, i, a));
14432
+ return e === "all" ? ee.create(t, kr(0, i, a), kr(t.content.size, i, a)) : ee.create(t, kr(e, i, a), kr(e, i, a));
14433
14433
  }
14434
14434
  function op() {
14435
14435
  return navigator.platform === "Android" || /android/i.test(navigator.userAgent);
@@ -14476,7 +14476,7 @@ function No(t) {
14476
14476
  return sg(n);
14477
14477
  }
14478
14478
  function Fa(t, e, n) {
14479
- if (t instanceof Yt || t instanceof z)
14479
+ if (t instanceof Yt || t instanceof O)
14480
14480
  return t;
14481
14481
  n = {
14482
14482
  slice: !0,
@@ -14487,7 +14487,7 @@ function Fa(t, e, n) {
14487
14487
  if (r)
14488
14488
  try {
14489
14489
  if (Array.isArray(t) && t.length > 0)
14490
- return z.fromArray(t.map((s) => e.nodeFromJSON(s)));
14490
+ return O.fromArray(t.map((s) => e.nodeFromJSON(s)));
14491
14491
  const o = e.nodeFromJSON(t);
14492
14492
  return n.errorOnInvalidContent && o.check(), o;
14493
14493
  } catch (a) {
@@ -14590,7 +14590,7 @@ var Dx = (t) => !("type" in t), Rx = (t, e, n) => ({ tr: r, dispatch: i, editor:
14590
14590
  if (p) {
14591
14591
  if (Array.isArray(e))
14592
14592
  g = e.map((w) => w.text || "").join("");
14593
- else if (e instanceof z) {
14593
+ else if (e instanceof O) {
14594
14594
  let w = "";
14595
14595
  e.forEach((v) => {
14596
14596
  v.text && (w += v.text);
@@ -15410,7 +15410,7 @@ var L6 = (t, e = {}) => ({ tr: n, state: r, dispatch: i }) => {
15410
15410
  }), !0;
15411
15411
  }, A6 = (t) => ({ tr: e, dispatch: n }) => {
15412
15412
  if (n) {
15413
- const { doc: r } = e, { from: i, to: a } = typeof t == "number" ? { from: t, to: t } : t, o = $.atStart(r).from, s = $.atEnd(r).to, l = kr(i, o, s), c = kr(a, o, s), d = $.create(r, l, c);
15413
+ const { doc: r } = e, { from: i, to: a } = typeof t == "number" ? { from: t, to: t } : t, o = ee.atStart(r).from, s = ee.atEnd(r).to, l = kr(i, o, s), c = kr(a, o, s), d = ee.create(r, l, c);
15414
15414
  e.setSelection(d);
15415
15415
  }
15416
15416
  return !0;
@@ -15444,7 +15444,7 @@ var T6 = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, editor
15444
15444
  attrs: d
15445
15445
  }
15446
15446
  ] : void 0), r) {
15447
- if (m && (a instanceof $ && e.deleteSelection(), e.split(e.mapping.map(s.pos), 1, h), p && !u && !s.parentOffset && s.parent.type !== p)) {
15447
+ if (m && (a instanceof ee && e.deleteSelection(), e.split(e.mapping.map(s.pos), 1, h), p && !u && !s.parentOffset && s.parent.type !== p)) {
15448
15448
  const g = e.mapping.map(s.before()), w = e.doc.resolve(g);
15449
15449
  s.node(-1).canReplaceWith(w.index(), w.index() + 1, p) && e.setNodeMarkup(e.mapping.map(s.before()), p);
15450
15450
  }
@@ -15464,10 +15464,10 @@ var T6 = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, editor
15464
15464
  if (l.depth === 2 || l.node(-3).type !== s || l.index(-2) !== l.node(-2).childCount - 1)
15465
15465
  return !1;
15466
15466
  if (i) {
15467
- let v = z.empty;
15467
+ let v = O.empty;
15468
15468
  const M = l.index(-1) ? 1 : l.index(-2) ? 2 : 3;
15469
15469
  for (let A = l.depth - M; A >= l.depth - 3; A -= 1)
15470
- v = z.from(l.node(A).copy(v));
15470
+ v = O.from(l.node(A).copy(v));
15471
15471
  const x = (
15472
15472
  // eslint-disable-next-line no-nested-ternary
15473
15473
  l.indexAfter(-1) < l.node(-2).childCount ? 1 : l.indexAfter(-2) < l.node(-3).childCount ? 2 : 3
@@ -15475,15 +15475,15 @@ var T6 = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, editor
15475
15475
  ...Ho(p, l.node().type.name, l.node().attrs),
15476
15476
  ...e
15477
15477
  }, L = ((o = s.contentMatch.defaultType) == null ? void 0 : o.createAndFill(y)) || void 0;
15478
- v = v.append(z.from(s.createAndFill(null, L) || void 0));
15478
+ v = v.append(O.from(s.createAndFill(null, L) || void 0));
15479
15479
  const N = l.before(l.depth - (M - 1));
15480
15480
  n.replace(N, l.after(-x), new W(v, 4 - M, 0));
15481
15481
  let k = -1;
15482
- n.doc.nodesBetween(N, n.doc.content.size, (A, T) => {
15482
+ n.doc.nodesBetween(N, n.doc.content.size, (A, j) => {
15483
15483
  if (k > -1)
15484
15484
  return !1;
15485
- A.isTextblock && A.content.size === 0 && (k = T + 1);
15486
- }), k > -1 && n.setSelection($.near(n.doc.resolve(k))), n.scrollIntoView();
15485
+ A.isTextblock && A.content.size === 0 && (k = j + 1);
15486
+ }), k > -1 && n.setSelection(ee.near(n.doc.resolve(k))), n.scrollIntoView();
15487
15487
  }
15488
15488
  return !0;
15489
15489
  }
@@ -15533,28 +15533,28 @@ function D6(t) {
15533
15533
  if (!n)
15534
15534
  return null;
15535
15535
  const r = e.resolve(1), i = e.resolve(n.nodeSize - 1);
15536
- return $.between(r, i);
15536
+ return ee.between(r, i);
15537
15537
  }
15538
15538
  var R6 = (t, e, n, r = {}) => ({ editor: i, tr: a, state: o, dispatch: s, chain: l, commands: c, can: d }) => {
15539
15539
  const { extensions: u, splittableMarks: p } = i.extensionManager, h = Ue(t, o.schema), m = Ue(e, o.schema), { selection: g, storedMarks: w } = o, { $from: v, $to: M } = g, x = v.blockRange(M), y = w || g.$to.parentOffset && g.$from.marks();
15540
15540
  if (!x)
15541
15541
  return !1;
15542
- const L = jl((Y) => kf(Y.type.name, u))(g), N = g.from === 0 && g.to === o.doc.content.size, k = o.doc.content.content, A = k.length === 1 ? k[0] : null, T = N && A && kf(A.type.name, u) ? {
15542
+ const L = jl((V) => kf(V.type.name, u))(g), N = g.from === 0 && g.to === o.doc.content.size, k = o.doc.content.content, A = k.length === 1 ? k[0] : null, j = N && A && kf(A.type.name, u) ? {
15543
15543
  node: A,
15544
15544
  pos: 0
15545
- } : null, S = L ?? T, D = !!L && x.depth >= 1 && x.depth - L.depth <= 1, U = !!T;
15546
- if ((D || U) && S) {
15545
+ } : null, S = L ?? j, R = !!L && x.depth >= 1 && x.depth - L.depth <= 1, Y = !!j;
15546
+ if ((R || Y) && S) {
15547
15547
  if (S.node.type === h)
15548
- return N && U ? l().command(({ tr: Y, dispatch: F }) => {
15549
- const R = D6(Y);
15550
- return R ? (Y.setSelection(R), F && F(Y), !0) : !1;
15548
+ return N && Y ? l().command(({ tr: V, dispatch: B }) => {
15549
+ const H = D6(V);
15550
+ return H ? (V.setSelection(H), B && B(V), !0) : !1;
15551
15551
  }).liftListItem(m).run() : c.liftListItem(m);
15552
15552
  if (kf(S.node.type.name, u) && h.validContent(S.node.content))
15553
15553
  return l().command(() => (a.setNodeMarkup(S.pos, h), !0)).command(() => Sf(a, h)).command(() => If(a, h)).run();
15554
15554
  }
15555
15555
  return !n || !y || !s ? l().command(() => d().wrapInList(h, r) ? !0 : c.clearNodes()).wrapInList(h, r).command(() => Sf(a, h)).command(() => If(a, h)).run() : l().command(() => {
15556
- const Y = d().wrapInList(h, r), F = y.filter((R) => p.includes(R.type.name));
15557
- return a.ensureMarks(F), Y ? !0 : c.clearNodes();
15556
+ const V = d().wrapInList(h, r), B = y.filter((H) => p.includes(H.type.name));
15557
+ return a.ensureMarks(B), V ? !0 : c.clearNodes();
15558
15558
  }).wrapInList(h, r).command(() => Sf(a, h)).command(() => If(a, h)).run();
15559
15559
  }, O6 = (t, e = {}, n = {}) => ({ state: r, commands: i }) => {
15560
15560
  const { extendEmptyMarkRange: a = !1 } = n, o = Pn(t, r.schema);
@@ -15761,7 +15761,7 @@ function J6(t) {
15761
15761
  const l = i.getMeta("applyInputRules");
15762
15762
  return !!l && setTimeout(() => {
15763
15763
  let { text: d } = l;
15764
- typeof d == "string" ? d = d : d = Pd(z.from(d), o.schema);
15764
+ typeof d == "string" ? d = d : d = Pd(O.from(d), o.schema);
15765
15765
  const { from: u } = l, p = u + d.length;
15766
15766
  ko({
15767
15767
  editor: e,
@@ -15931,23 +15931,23 @@ function _6(t) {
15931
15931
  if (L >= N)
15932
15932
  return;
15933
15933
  const k = h.isText ? h.text || "" : h.textBetween(L - m, N - m, void 0, "");
15934
- X6(k, a.find, o).forEach((T) => {
15935
- if (T.index === void 0)
15934
+ X6(k, a.find, o).forEach((j) => {
15935
+ if (j.index === void 0)
15936
15936
  return;
15937
- const S = L + T.index + 1, D = S + T[0].length, U = {
15937
+ const S = L + j.index + 1, R = S + j[0].length, Y = {
15938
15938
  from: n.tr.mapping.map(S),
15939
- to: n.tr.mapping.map(D)
15940
- }, Y = a.handler({
15939
+ to: n.tr.mapping.map(R)
15940
+ }, V = a.handler({
15941
15941
  state: n,
15942
- range: U,
15943
- match: T,
15942
+ range: Y,
15943
+ match: j,
15944
15944
  commands: l,
15945
15945
  chain: c,
15946
15946
  can: d,
15947
15947
  pasteEvent: o,
15948
15948
  dropEvent: s
15949
15949
  });
15950
- u.push(Y);
15950
+ u.push(V);
15951
15951
  });
15952
15952
  }), u.every((h) => h !== null);
15953
15953
  }
@@ -16034,7 +16034,7 @@ function eL(t) {
16034
16034
  return;
16035
16035
  if (M) {
16036
16036
  let { text: L } = v;
16037
- typeof L == "string" ? L = L : L = Pd(z.from(L), h.schema);
16037
+ typeof L == "string" ? L = L : L = Pd(O.from(L), h.schema);
16038
16038
  const { from: N } = v, k = N + L.length, A = $6(L);
16039
16039
  return l({
16040
16040
  rule: d,
@@ -17755,37 +17755,37 @@ function uL(t) {
17755
17755
  let N = "";
17756
17756
  const k = /^:::([\w-]*)(\s.*)?/gm, A = u.slice(L);
17757
17757
  for (k.lastIndex = 0; ; ) {
17758
- const T = k.exec(A);
17759
- if (T === null)
17758
+ const j = k.exec(A);
17759
+ if (j === null)
17760
17760
  break;
17761
- const S = T.index, D = T[1];
17762
- if (!((m = T[2]) != null && m.endsWith(":::"))) {
17763
- if (D)
17761
+ const S = j.index, R = j[1];
17762
+ if (!((m = j[2]) != null && m.endsWith(":::"))) {
17763
+ if (R)
17764
17764
  y += 1;
17765
17765
  else if (y -= 1, y === 0) {
17766
- const U = A.slice(0, S);
17767
- N = U.trim();
17768
- const Y = u.slice(0, L + S + T[0].length);
17769
- let F = [];
17766
+ const Y = A.slice(0, S);
17767
+ N = Y.trim();
17768
+ const V = u.slice(0, L + S + j[0].length);
17769
+ let B = [];
17770
17770
  if (N)
17771
17771
  if (s === "block")
17772
- for (F = h.blockTokens(U), F.forEach((R) => {
17773
- R.text && (!R.tokens || R.tokens.length === 0) && (R.tokens = h.inlineTokens(R.text));
17774
- }); F.length > 0; ) {
17775
- const R = F[F.length - 1];
17776
- if (R.type === "paragraph" && (!R.text || R.text.trim() === ""))
17777
- F.pop();
17772
+ for (B = h.blockTokens(Y), B.forEach((H) => {
17773
+ H.text && (!H.tokens || H.tokens.length === 0) && (H.tokens = h.inlineTokens(H.text));
17774
+ }); B.length > 0; ) {
17775
+ const H = B[B.length - 1];
17776
+ if (H.type === "paragraph" && (!H.text || H.text.trim() === ""))
17777
+ B.pop();
17778
17778
  else
17779
17779
  break;
17780
17780
  }
17781
17781
  else
17782
- F = h.inlineTokens(N);
17782
+ B = h.inlineTokens(N);
17783
17783
  return {
17784
17784
  type: e,
17785
- raw: Y,
17785
+ raw: V,
17786
17786
  attributes: x,
17787
17787
  content: N,
17788
- tokens: F
17788
+ tokens: B
17789
17789
  };
17790
17790
  }
17791
17791
  }
@@ -19131,7 +19131,7 @@ ${n}
19131
19131
  let y = d;
19132
19132
  for (let N = 0; N < m; N += 1)
19133
19133
  y += h[N].length + 1;
19134
- return s.delete(y, y + x), c - y <= x && s.setSelection($.create(s.doc, y)), !0;
19134
+ return s.delete(y, y + x), c - y <= x && s.setSelection(ee.create(s.doc, y)), !0;
19135
19135
  }) : t.commands.command(({ tr: s }) => {
19136
19136
  const { from: l, to: c } = i, p = r.doc.textBetween(l, c, `
19137
19137
  `, `
@@ -19202,7 +19202,7 @@ ${n}
19202
19202
  return !1;
19203
19203
  const { tr: o, schema: s } = t.state, l = s.text(n.replace(/\r\n?/g, `
19204
19204
  `));
19205
- return o.replaceSelectionWith(this.type.create({ language: a }, l)), o.selection.$from.parent.type !== this.type && o.setSelection($.near(o.doc.resolve(Math.max(0, o.selection.from - 2)))), o.setMeta("paste", !0), t.dispatch(o), !0;
19205
+ return o.replaceSelectionWith(this.type.create({ language: a }, l)), o.selection.$from.parent.type !== this.type && o.setSelection(ee.near(o.doc.resolve(Math.max(0, o.selection.from - 2)))), o.setMeta("paste", !0), t.dispatch(o), !0;
19206
19206
  }
19207
19207
  }
19208
19208
  })
@@ -19357,10 +19357,10 @@ ${n}
19357
19357
  if (s) {
19358
19358
  const { $to: l } = o.selection, c = l.end();
19359
19359
  if (l.nodeAfter)
19360
- l.nodeAfter.isTextblock ? o.setSelection($.create(o.doc, l.pos + 1)) : l.nodeAfter.isBlock ? o.setSelection(Z.create(o.doc, l.pos)) : o.setSelection($.create(o.doc, l.pos));
19360
+ l.nodeAfter.isTextblock ? o.setSelection(ee.create(o.doc, l.pos + 1)) : l.nodeAfter.isBlock ? o.setSelection(Z.create(o.doc, l.pos)) : o.setSelection(ee.create(o.doc, l.pos));
19361
19361
  else {
19362
19362
  const d = a.schema.nodes[this.options.nextNodeType] || l.parent.type.contentMatch.defaultType, u = d == null ? void 0 : d.create();
19363
- u && (o.insert(c, u), o.setSelection($.create(o.doc, c + 1)));
19363
+ u && (o.insert(c, u), o.setSelection(ee.create(o.doc, c + 1)));
19364
19364
  }
19365
19365
  o.scrollIntoView();
19366
19366
  }
@@ -19593,7 +19593,7 @@ yt.prototype = {
19593
19593
  return i.j[t] = o, o;
19594
19594
  }
19595
19595
  };
19596
- const ae = (t, e, n, r, i) => t.ta(e, n, r, i), Te = (t, e, n, r, i) => t.tr(e, n, r, i), Mp = (t, e, n, r, i) => t.ts(e, n, r, i), P = (t, e, n, r, i) => t.tt(e, n, r, i), Ln = "WORD", Tc = "UWORD", Qg = "ASCIINUMERICAL", Gg = "ALPHANUMERICAL", Ya = "LOCALHOST", jc = "TLD", Dc = "UTLD", Qo = "SCHEME", hi = "SLASH_SCHEME", Qd = "NUM", Rc = "WS", Gd = "NL", ba = "OPENBRACE", wa = "CLOSEBRACE", xs = "OPENBRACKET", Ls = "CLOSEBRACKET", Ns = "OPENPAREN", ks = "CLOSEPAREN", Ss = "OPENANGLEBRACKET", Is = "CLOSEANGLEBRACKET", As = "FULLWIDTHLEFTPAREN", Es = "FULLWIDTHRIGHTPAREN", Ts = "LEFTCORNERBRACKET", js = "RIGHTCORNERBRACKET", Ds = "LEFTWHITECORNERBRACKET", Rs = "RIGHTWHITECORNERBRACKET", Os = "FULLWIDTHLESSTHAN", zs = "FULLWIDTHGREATERTHAN", Ps = "AMPERSAND", Bs = "APOSTROPHE", Fs = "ASTERISK", Wn = "AT", Vs = "BACKSLASH", Ys = "BACKTICK", Us = "CARET", Gn = "COLON", Jd = "COMMA", Ws = "DOLLAR", rn = "DOT", Hs = "EQUALS", Kd = "EXCLAMATION", Pt = "HYPHEN", ya = "PERCENT", Qs = "PIPE", Gs = "PLUS", Js = "POUND", va = "QUERY", qd = "QUOTE", Jg = "FULLWIDTHMIDDLEDOT", Zd = "SEMI", an = "SLASH", Ca = "TILDE", Ks = "UNDERSCORE", Kg = "EMOJI", qs = "SYM";
19596
+ const ae = (t, e, n, r, i) => t.ta(e, n, r, i), Te = (t, e, n, r, i) => t.tr(e, n, r, i), Mp = (t, e, n, r, i) => t.ts(e, n, r, i), z = (t, e, n, r, i) => t.tt(e, n, r, i), Ln = "WORD", Tc = "UWORD", Qg = "ASCIINUMERICAL", Gg = "ALPHANUMERICAL", Ya = "LOCALHOST", jc = "TLD", Dc = "UTLD", Qo = "SCHEME", hi = "SLASH_SCHEME", Qd = "NUM", Rc = "WS", Gd = "NL", ba = "OPENBRACE", wa = "CLOSEBRACE", xs = "OPENBRACKET", Ls = "CLOSEBRACKET", Ns = "OPENPAREN", ks = "CLOSEPAREN", Ss = "OPENANGLEBRACKET", Is = "CLOSEANGLEBRACKET", As = "FULLWIDTHLEFTPAREN", Es = "FULLWIDTHRIGHTPAREN", Ts = "LEFTCORNERBRACKET", js = "RIGHTCORNERBRACKET", Ds = "LEFTWHITECORNERBRACKET", Rs = "RIGHTWHITECORNERBRACKET", Os = "FULLWIDTHLESSTHAN", zs = "FULLWIDTHGREATERTHAN", Ps = "AMPERSAND", Bs = "APOSTROPHE", Fs = "ASTERISK", Wn = "AT", Vs = "BACKSLASH", Ys = "BACKTICK", Us = "CARET", Gn = "COLON", Jd = "COMMA", Ws = "DOLLAR", rn = "DOT", Hs = "EQUALS", Kd = "EXCLAMATION", Pt = "HYPHEN", ya = "PERCENT", Qs = "PIPE", Gs = "PLUS", Js = "POUND", va = "QUERY", qd = "QUOTE", Jg = "FULLWIDTHMIDDLEDOT", Zd = "SEMI", an = "SLASH", Ca = "TILDE", Ks = "UNDERSCORE", Kg = "EMOJI", qs = "SYM";
19597
19597
  var qg = /* @__PURE__ */ Object.freeze({
19598
19598
  __proto__: null,
19599
19599
  ALPHANUMERICAL: Gg,
@@ -19659,7 +19659,7 @@ function KN(t = []) {
19659
19659
  const e = {};
19660
19660
  yt.groups = e;
19661
19661
  const n = new yt();
19662
- Eo == null && (Eo = Lp(VN)), To == null && (To = Lp(YN)), P(n, "'", Bs), P(n, "{", ba), P(n, "}", wa), P(n, "[", xs), P(n, "]", Ls), P(n, "(", Ns), P(n, ")", ks), P(n, "<", Ss), P(n, ">", Is), P(n, "(", As), P(n, ")", Es), P(n, "「", Ts), P(n, "」", js), P(n, "『", Ds), P(n, "』", Rs), P(n, "<", Os), P(n, ">", zs), P(n, "&", Ps), P(n, "*", Fs), P(n, "@", Wn), P(n, "`", Ys), P(n, "^", Us), P(n, ":", Gn), P(n, ",", Jd), P(n, "$", Ws), P(n, ".", rn), P(n, "=", Hs), P(n, "!", Kd), P(n, "-", Pt), P(n, "%", ya), P(n, "|", Qs), P(n, "+", Gs), P(n, "#", Js), P(n, "?", va), P(n, '"', qd), P(n, "/", an), P(n, ";", Zd), P(n, "~", Ca), P(n, "_", Ks), P(n, "\\", Vs), P(n, "・", Jg);
19662
+ Eo == null && (Eo = Lp(VN)), To == null && (To = Lp(YN)), z(n, "'", Bs), z(n, "{", ba), z(n, "}", wa), z(n, "[", xs), z(n, "]", Ls), z(n, "(", Ns), z(n, ")", ks), z(n, "<", Ss), z(n, ">", Is), z(n, "(", As), z(n, ")", Es), z(n, "「", Ts), z(n, "」", js), z(n, "『", Ds), z(n, "』", Rs), z(n, "<", Os), z(n, ">", zs), z(n, "&", Ps), z(n, "*", Fs), z(n, "@", Wn), z(n, "`", Ys), z(n, "^", Us), z(n, ":", Gn), z(n, ",", Jd), z(n, "$", Ws), z(n, ".", rn), z(n, "=", Hs), z(n, "!", Kd), z(n, "-", Pt), z(n, "%", ya), z(n, "|", Qs), z(n, "+", Gs), z(n, "#", Js), z(n, "?", va), z(n, '"', qd), z(n, "/", an), z(n, ";", Zd), z(n, "~", Ca), z(n, "_", Ks), z(n, "\\", Vs), z(n, "・", Jg);
19663
19663
  const r = Te(n, xn, Qd, {
19664
19664
  [Sc]: !0
19665
19665
  });
@@ -19676,20 +19676,20 @@ function KN(t = []) {
19676
19676
  [Ac]: !0
19677
19677
  });
19678
19678
  Te(s, Mn), Te(s, xn, a), Te(s, _i, s), Te(a, xn, a), Te(a, Mn), Te(a, _i, a);
19679
- const l = P(n, Rf, Gd, {
19679
+ const l = z(n, Rf, Gd, {
19680
19680
  [Tf]: !0
19681
- }), c = P(n, xp, Rc, {
19681
+ }), c = z(n, xp, Rc, {
19682
19682
  [Tf]: !0
19683
19683
  }), d = Te(n, Df, Rc, {
19684
19684
  [Tf]: !0
19685
19685
  });
19686
- P(n, Of, d), P(c, Rf, l), P(c, Of, d), Te(c, Df, d), P(d, xp), P(d, Rf), Te(d, Df, d), P(d, Of, d);
19686
+ z(n, Of, d), z(c, Rf, l), z(c, Of, d), Te(c, Df, d), z(d, xp), z(d, Rf), Te(d, Df, d), z(d, Of, d);
19687
19687
  const u = Te(n, jf, Kg, {
19688
19688
  [Hg]: !0
19689
19689
  });
19690
- P(u, "#"), Te(u, jf, u), P(u, GN, u);
19691
- const p = P(u, JN);
19692
- P(p, "#"), Te(p, jf, u);
19690
+ z(u, "#"), Te(u, jf, u), z(u, GN, u);
19691
+ const p = z(u, JN);
19692
+ z(p, "#"), Te(p, jf, u);
19693
19693
  const h = [[Mn, o], [xn, i]], m = [[Mn, null], [_i, s], [xn, a]];
19694
19694
  for (let g = 0; g < Eo.length; g++)
19695
19695
  Vn(n, Eo[g], jc, Ln, h);
@@ -20015,35 +20015,35 @@ const kp = zl("email", {
20015
20015
  function XN({
20016
20016
  groups: t
20017
20017
  }) {
20018
- const e = t.domain.concat([Ps, Fs, Wn, Vs, Ys, Us, Ws, Hs, Pt, Qd, ya, Qs, Gs, Js, an, qs, Ca, Ks]), n = [Bs, Gn, Jd, rn, Kd, ya, va, qd, Zd, Ss, Is, ba, wa, Ls, xs, Ns, ks, As, Es, Ts, js, Ds, Rs, Os, zs], r = [Ps, Bs, Fs, Vs, Ys, Us, Ws, Hs, Pt, ba, wa, ya, Qs, Gs, Js, va, an, qs, Ca, Ks], i = Rt(), a = P(i, Ca);
20018
+ const e = t.domain.concat([Ps, Fs, Wn, Vs, Ys, Us, Ws, Hs, Pt, Qd, ya, Qs, Gs, Js, an, qs, Ca, Ks]), n = [Bs, Gn, Jd, rn, Kd, ya, va, qd, Zd, Ss, Is, ba, wa, Ls, xs, Ns, ks, As, Es, Ts, js, Ds, Rs, Os, zs], r = [Ps, Bs, Fs, Vs, Ys, Us, Ws, Hs, Pt, ba, wa, ya, Qs, Gs, Js, va, an, qs, Ca, Ks], i = Rt(), a = z(i, Ca);
20019
20019
  ae(a, r, a), ae(a, t.domain, a);
20020
20020
  const o = Rt(), s = Rt(), l = Rt();
20021
20021
  ae(i, t.domain, o), ae(i, t.scheme, s), ae(i, t.slashscheme, l), ae(o, r, a), ae(o, t.domain, o);
20022
- const c = P(o, Wn);
20023
- P(a, Wn, c), P(s, Wn, c), P(l, Wn, c);
20024
- const d = P(a, rn);
20022
+ const c = z(o, Wn);
20023
+ z(a, Wn, c), z(s, Wn, c), z(l, Wn, c);
20024
+ const d = z(a, rn);
20025
20025
  ae(d, r, a), ae(d, t.domain, a);
20026
20026
  const u = Rt();
20027
20027
  ae(c, t.domain, u), ae(u, t.domain, u);
20028
- const p = P(u, rn);
20028
+ const p = z(u, rn);
20029
20029
  ae(p, t.domain, u);
20030
20030
  const h = Rt(kp);
20031
- ae(p, t.tld, h), ae(p, t.utld, h), P(c, Ya, h);
20032
- const m = P(u, Pt);
20033
- P(m, Pt, m), ae(m, t.domain, u), ae(h, t.domain, u), P(h, rn, p), P(h, Pt, m);
20034
- const g = P(h, Gn);
20031
+ ae(p, t.tld, h), ae(p, t.utld, h), z(c, Ya, h);
20032
+ const m = z(u, Pt);
20033
+ z(m, Pt, m), ae(m, t.domain, u), ae(h, t.domain, u), z(h, rn, p), z(h, Pt, m);
20034
+ const g = z(h, Gn);
20035
20035
  ae(g, t.numeric, kp);
20036
- const w = P(o, Pt), v = P(o, rn);
20037
- P(w, Pt, w), ae(w, t.domain, o), ae(v, r, a), ae(v, t.domain, o);
20036
+ const w = z(o, Pt), v = z(o, rn);
20037
+ z(w, Pt, w), ae(w, t.domain, o), ae(v, r, a), ae(v, t.domain, o);
20038
20038
  const M = Rt(jo);
20039
- ae(v, t.tld, M), ae(v, t.utld, M), ae(M, t.domain, o), ae(M, r, a), P(M, rn, v), P(M, Pt, w), P(M, Wn, c);
20040
- const x = P(M, Gn), y = Rt(jo);
20039
+ ae(v, t.tld, M), ae(v, t.utld, M), ae(M, t.domain, o), ae(M, r, a), z(M, rn, v), z(M, Pt, w), z(M, Wn, c);
20040
+ const x = z(M, Gn), y = Rt(jo);
20041
20041
  ae(x, t.numeric, y);
20042
20042
  const L = Rt(jo), N = Rt();
20043
- ae(L, e, L), ae(L, n, N), ae(N, e, L), ae(N, n, N), P(M, an, L), P(y, an, L);
20044
- const k = P(s, Gn), A = P(l, Gn), T = P(A, an), S = P(T, an);
20045
- ae(s, t.domain, o), P(s, rn, v), P(s, Pt, w), ae(l, t.domain, o), P(l, rn, v), P(l, Pt, w), ae(k, t.domain, L), P(k, an, L), P(k, va, L), ae(S, t.domain, L), ae(S, e, L), P(S, an, L);
20046
- const D = [
20043
+ ae(L, e, L), ae(L, n, N), ae(N, e, L), ae(N, n, N), z(M, an, L), z(y, an, L);
20044
+ const k = z(s, Gn), A = z(l, Gn), j = z(A, an), S = z(j, an);
20045
+ ae(s, t.domain, o), z(s, rn, v), z(s, Pt, w), ae(l, t.domain, o), z(l, rn, v), z(l, Pt, w), ae(k, t.domain, L), z(k, an, L), z(k, va, L), ae(S, t.domain, L), ae(S, e, L), z(S, an, L);
20046
+ const R = [
20047
20047
  [ba, wa],
20048
20048
  // {}
20049
20049
  [xs, Ls],
@@ -20061,15 +20061,15 @@ function XN({
20061
20061
  [Os, zs]
20062
20062
  // <>
20063
20063
  ];
20064
- for (let U = 0; U < D.length; U++) {
20065
- const [Y, F] = D[U], R = P(L, Y);
20066
- P(N, Y, R), P(R, F, L);
20067
- const O = Rt(jo);
20068
- ae(R, e, O);
20069
- const G = Rt();
20070
- ae(R, n), ae(O, e, O), ae(O, n, G), ae(G, e, O), ae(G, n, G), P(O, F, L), P(G, F, L);
20071
- }
20072
- return P(i, Ya, M), P(i, Gd, ZN), {
20064
+ for (let Y = 0; Y < R.length; Y++) {
20065
+ const [V, B] = R[Y], H = z(L, V);
20066
+ z(N, V, H), z(H, B, L);
20067
+ const E = Rt(jo);
20068
+ ae(H, e, E);
20069
+ const U = Rt();
20070
+ ae(H, n), ae(E, e, E), ae(E, n, U), ae(U, e, E), ae(U, n, U), z(E, B, L), z(U, B, L);
20071
+ }
20072
+ return z(i, Ya, M), z(i, Gd, ZN), {
20073
20073
  start: i,
20074
20074
  tokens: qg
20075
20075
  };
@@ -21611,7 +21611,7 @@ function Ro(t, e) {
21611
21611
  const n = t == "vert" ? e > 0 ? "down" : "up" : e > 0 ? "right" : "left";
21612
21612
  return function(r, i, a) {
21613
21613
  let o = r.selection, s = e > 0 ? o.$to : o.$from, l = o.empty;
21614
- if (o instanceof $) {
21614
+ if (o instanceof ee) {
21615
21615
  if (!a.endOfTextblock(n) || s.depth == 0)
21616
21616
  return !1;
21617
21617
  l = !1, s = r.doc.resolve(e > 0 ? s.after() : s.before());
@@ -21635,11 +21635,11 @@ function Bk(t, e) {
21635
21635
  let { $from: n } = t.state.selection, r = n.parent.contentMatchAt(n.index()).findWrapping(t.state.schema.nodes.text);
21636
21636
  if (!r)
21637
21637
  return !1;
21638
- let i = z.empty;
21638
+ let i = O.empty;
21639
21639
  for (let o = r.length - 1; o >= 0; o--)
21640
- i = z.from(r[o].createAndFill(null, i));
21640
+ i = O.from(r[o].createAndFill(null, i));
21641
21641
  let a = t.state.tr.replace(n.pos, n.pos, new W(i, 0, 0));
21642
- return a.setSelection($.near(a.doc.resolve(n.pos + 1))), t.dispatch(a), !1;
21642
+ return a.setSelection(ee.near(a.doc.resolve(n.pos + 1))), t.dispatch(a), !1;
21643
21643
  }
21644
21644
  function Fk(t) {
21645
21645
  if (!(t.selection instanceof je))
@@ -22455,75 +22455,75 @@ function lS({
22455
22455
  }) {
22456
22456
  let M;
22457
22457
  const x = h == null ? void 0 : h(), y = r && !i, L = () => {
22458
- const S = e.state.selection.$anchor.pos, D = e.view.coordsAtPos(S), { top: U, right: Y, bottom: F, left: R } = D;
22458
+ const S = e.state.selection.$anchor.pos, R = e.view.coordsAtPos(S), { top: Y, right: V, bottom: B, left: H } = R;
22459
22459
  try {
22460
- return new DOMRect(R, U, Y - R, F - U);
22460
+ return new DOMRect(H, Y, V - H, B - Y);
22461
22461
  } catch {
22462
22462
  return null;
22463
22463
  }
22464
- }, N = (S, D) => D ? () => {
22465
- const U = t.getState(e.state), Y = U == null ? void 0 : U.decorationId, F = S.dom.querySelector(`[data-decoration-id="${Y}"]`);
22466
- return (F == null ? void 0 : F.getBoundingClientRect()) || null;
22464
+ }, N = (S, R) => R ? () => {
22465
+ const Y = t.getState(e.state), V = Y == null ? void 0 : Y.decorationId, B = S.dom.querySelector(`[data-decoration-id="${V}"]`);
22466
+ return (B == null ? void 0 : B.getBoundingClientRect()) || null;
22467
22467
  } : L, k = ({
22468
22468
  match: S,
22469
- dismissedRange: D,
22470
- state: U,
22471
- transaction: Y
22469
+ dismissedRange: R,
22470
+ state: Y,
22471
+ transaction: V
22472
22472
  }) => v != null && v({
22473
22473
  editor: e,
22474
- state: U,
22475
- range: D,
22474
+ state: Y,
22475
+ range: R,
22476
22476
  match: S,
22477
- transaction: Y,
22477
+ transaction: V,
22478
22478
  allowSpaces: y
22479
- }) ? !1 : y ? S.range.from === D.from : S.range.from === D.from && !oS(Y);
22480
- function A(S, D) {
22481
- var U;
22479
+ }) ? !1 : y ? S.range.from === R.from : S.range.from === R.from && !oS(V);
22480
+ function A(S, R) {
22481
+ var Y;
22482
22482
  try {
22483
- const F = t.getState(S.state), R = F != null && F.decorationId ? S.dom.querySelector(`[data-decoration-id="${F.decorationId}"]`) : null, O = {
22483
+ const B = t.getState(S.state), H = B != null && B.decorationId ? S.dom.querySelector(`[data-decoration-id="${B.decorationId}"]`) : null, E = {
22484
22484
  // @ts-ignore editor is available in closure
22485
22485
  editor: e,
22486
- range: (F == null ? void 0 : F.range) || { from: 0, to: 0 },
22487
- query: (F == null ? void 0 : F.query) || null,
22488
- text: (F == null ? void 0 : F.text) || null,
22486
+ range: (B == null ? void 0 : B.range) || { from: 0, to: 0 },
22487
+ query: (B == null ? void 0 : B.query) || null,
22488
+ text: (B == null ? void 0 : B.text) || null,
22489
22489
  items: [],
22490
- command: (G) => u({ editor: e, range: (F == null ? void 0 : F.range) || { from: 0, to: 0 }, props: G }),
22491
- decorationNode: R,
22492
- clientRect: N(S, R)
22490
+ command: (U) => u({ editor: e, range: (B == null ? void 0 : B.range) || { from: 0, to: 0 }, props: U }),
22491
+ decorationNode: H,
22492
+ clientRect: N(S, H)
22493
22493
  };
22494
- (U = x == null ? void 0 : x.onExit) == null || U.call(x, O);
22494
+ (Y = x == null ? void 0 : x.onExit) == null || Y.call(x, E);
22495
22495
  } catch {
22496
22496
  }
22497
- const Y = S.state.tr.setMeta(D, { exit: !0 });
22498
- S.dispatch(Y);
22497
+ const V = S.state.tr.setMeta(R, { exit: !0 });
22498
+ S.dispatch(V);
22499
22499
  }
22500
- const T = new Ie({
22500
+ const j = new Ie({
22501
22501
  key: t,
22502
22502
  view() {
22503
22503
  return {
22504
- update: async (S, D) => {
22505
- var U, Y, F, R, O, G, ne;
22506
- const H = (U = this.key) == null ? void 0 : U.getState(D), pe = (Y = this.key) == null ? void 0 : Y.getState(S.state), me = H.active && pe.active && H.range.from !== pe.range.from, Ee = !H.active && pe.active, J = H.active && !pe.active, X = !Ee && !J && H.query !== pe.query, ie = Ee || me && X, te = X || me, E = J || me && X;
22507
- if (!ie && !te && !E)
22504
+ update: async (S, R) => {
22505
+ var Y, V, B, H, E, U, _;
22506
+ const Q = (Y = this.key) == null ? void 0 : Y.getState(R), pe = (V = this.key) == null ? void 0 : V.getState(S.state), me = Q.active && pe.active && Q.range.from !== pe.range.from, Ee = !Q.active && pe.active, J = Q.active && !pe.active, X = !Ee && !J && Q.query !== pe.query, ie = Ee || me && X, ne = X || me, T = J || me && X;
22507
+ if (!ie && !ne && !T)
22508
22508
  return;
22509
- const Q = E && !ie ? H : pe, ee = S.dom.querySelector(`[data-decoration-id="${Q.decorationId}"]`);
22509
+ const G = T && !ie ? Q : pe, te = S.dom.querySelector(`[data-decoration-id="${G.decorationId}"]`);
22510
22510
  M = {
22511
22511
  editor: e,
22512
- range: Q.range,
22513
- query: Q.query,
22514
- text: Q.text,
22512
+ range: G.range,
22513
+ query: G.query,
22514
+ text: G.text,
22515
22515
  items: [],
22516
22516
  command: (ve) => u({
22517
22517
  editor: e,
22518
- range: Q.range,
22518
+ range: G.range,
22519
22519
  props: ve
22520
22520
  }),
22521
- decorationNode: ee,
22522
- clientRect: N(S, ee)
22523
- }, ie && ((F = x == null ? void 0 : x.onBeforeStart) == null || F.call(x, M)), te && ((R = x == null ? void 0 : x.onBeforeUpdate) == null || R.call(x, M)), (te || ie) && (M.items = await p({
22521
+ decorationNode: te,
22522
+ clientRect: N(S, te)
22523
+ }, ie && ((B = x == null ? void 0 : x.onBeforeStart) == null || B.call(x, M)), ne && ((H = x == null ? void 0 : x.onBeforeUpdate) == null || H.call(x, M)), (ne || ie) && (M.items = await p({
22524
22524
  editor: e,
22525
- query: Q.query
22526
- })), E && ((O = x == null ? void 0 : x.onExit) == null || O.call(x, M)), te && ((G = x == null ? void 0 : x.onUpdate) == null || G.call(x, M)), ie && ((ne = x == null ? void 0 : x.onStart) == null || ne.call(x, M));
22525
+ query: G.query
22526
+ })), T && ((E = x == null ? void 0 : x.onExit) == null || E.call(x, M)), ne && ((U = x == null ? void 0 : x.onUpdate) == null || U.call(x, M)), ie && ((_ = x == null ? void 0 : x.onStart) == null || _.call(x, M));
22527
22527
  },
22528
22528
  destroy: () => {
22529
22529
  var S;
@@ -22547,76 +22547,76 @@ function lS({
22547
22547
  };
22548
22548
  },
22549
22549
  // Apply changes to the plugin state from a view transaction.
22550
- apply(S, D, U, Y) {
22551
- const { isEditable: F } = e, { composing: R } = e.view, { selection: O } = S, { empty: G, from: ne } = O, H = { ...D }, pe = S.getMeta(t);
22550
+ apply(S, R, Y, V) {
22551
+ const { isEditable: B } = e, { composing: H } = e.view, { selection: E } = S, { empty: U, from: _ } = E, Q = { ...R }, pe = S.getMeta(t);
22552
22552
  if (pe && pe.exit)
22553
- return H.active = !1, H.decorationId = null, H.range = { from: 0, to: 0 }, H.query = null, H.text = null, H.dismissedRange = D.active ? { ...D.range } : D.dismissedRange, H;
22554
- if (H.composing = R, S.docChanged && H.dismissedRange !== null && (H.dismissedRange = {
22555
- from: S.mapping.map(H.dismissedRange.from),
22556
- to: S.mapping.map(H.dismissedRange.to)
22557
- }), F && (G || e.view.composing)) {
22558
- (ne < D.range.from || ne > D.range.to) && !R && !D.composing && (H.active = !1);
22553
+ return Q.active = !1, Q.decorationId = null, Q.range = { from: 0, to: 0 }, Q.query = null, Q.text = null, Q.dismissedRange = R.active ? { ...R.range } : R.dismissedRange, Q;
22554
+ if (Q.composing = H, S.docChanged && Q.dismissedRange !== null && (Q.dismissedRange = {
22555
+ from: S.mapping.map(Q.dismissedRange.from),
22556
+ to: S.mapping.map(Q.dismissedRange.to)
22557
+ }), B && (U || e.view.composing)) {
22558
+ (_ < R.range.from || _ > R.range.to) && !H && !R.composing && (Q.active = !1);
22559
22559
  const me = g({
22560
22560
  char: n,
22561
22561
  allowSpaces: r,
22562
22562
  allowToIncludeChar: i,
22563
22563
  allowedPrefixes: a,
22564
22564
  startOfLine: o,
22565
- $position: O.$from
22565
+ $position: E.$from
22566
22566
  }), Ee = `id_${Math.floor(Math.random() * 4294967295)}`;
22567
22567
  me && m({
22568
22568
  editor: e,
22569
- state: Y,
22569
+ state: V,
22570
22570
  range: me.range,
22571
- isActive: D.active
22571
+ isActive: R.active
22572
22572
  }) && (!w || w({
22573
22573
  editor: e,
22574
22574
  range: me.range,
22575
22575
  query: me.query,
22576
22576
  text: me.text,
22577
22577
  transaction: S
22578
- })) ? (H.dismissedRange !== null && !k({
22578
+ })) ? (Q.dismissedRange !== null && !k({
22579
22579
  match: me,
22580
- dismissedRange: H.dismissedRange,
22581
- state: Y,
22580
+ dismissedRange: Q.dismissedRange,
22581
+ state: V,
22582
22582
  transaction: S
22583
- }) && (H.dismissedRange = null), H.dismissedRange === null ? (H.active = !0, H.decorationId = D.decorationId ? D.decorationId : Ee, H.range = me.range, H.query = me.query, H.text = me.text) : H.active = !1) : (me || (H.dismissedRange = null), H.active = !1);
22583
+ }) && (Q.dismissedRange = null), Q.dismissedRange === null ? (Q.active = !0, Q.decorationId = R.decorationId ? R.decorationId : Ee, Q.range = me.range, Q.query = me.query, Q.text = me.text) : Q.active = !1) : (me || (Q.dismissedRange = null), Q.active = !1);
22584
22584
  } else
22585
- H.active = !1;
22586
- return H.active || (H.decorationId = null, H.range = { from: 0, to: 0 }, H.query = null, H.text = null), H;
22585
+ Q.active = !1;
22586
+ return Q.active || (Q.decorationId = null, Q.range = { from: 0, to: 0 }, Q.query = null, Q.text = null), Q;
22587
22587
  }
22588
22588
  },
22589
22589
  props: {
22590
22590
  // Call the keydown hook if suggestion is active.
22591
- handleKeyDown(S, D) {
22592
- var U, Y;
22593
- const { active: F, range: R } = T.getState(S.state);
22594
- if (!F)
22591
+ handleKeyDown(S, R) {
22592
+ var Y, V;
22593
+ const { active: B, range: H } = j.getState(S.state);
22594
+ if (!B)
22595
22595
  return !1;
22596
- if (D.key === "Escape" || D.key === "Esc") {
22597
- const G = T.getState(S.state);
22598
- return (U = x == null ? void 0 : x.onKeyDown) == null || U.call(x, { view: S, event: D, range: G.range }), A(S, t), !0;
22596
+ if (R.key === "Escape" || R.key === "Esc") {
22597
+ const U = j.getState(S.state);
22598
+ return (Y = x == null ? void 0 : x.onKeyDown) == null || Y.call(x, { view: S, event: R, range: U.range }), A(S, t), !0;
22599
22599
  }
22600
- return ((Y = x == null ? void 0 : x.onKeyDown) == null ? void 0 : Y.call(x, { view: S, event: D, range: R })) || !1;
22600
+ return ((V = x == null ? void 0 : x.onKeyDown) == null ? void 0 : V.call(x, { view: S, event: R, range: H })) || !1;
22601
22601
  },
22602
22602
  // Setup decorator on the currently active suggestion.
22603
22603
  decorations(S) {
22604
- const { active: D, range: U, decorationId: Y, query: F } = T.getState(S);
22605
- if (!D)
22604
+ const { active: R, range: Y, decorationId: V, query: B } = j.getState(S);
22605
+ if (!R)
22606
22606
  return null;
22607
- const R = !(F != null && F.length), O = [l];
22608
- return R && O.push(d), Se.create(S.doc, [
22609
- at.inline(U.from, U.to, {
22607
+ const H = !(B != null && B.length), E = [l];
22608
+ return H && E.push(d), Se.create(S.doc, [
22609
+ at.inline(Y.from, Y.to, {
22610
22610
  nodeName: s,
22611
- class: O.join(" "),
22612
- "data-decoration-id": Y,
22611
+ class: E.join(" "),
22612
+ "data-decoration-id": V,
22613
22613
  "data-decoration-content": c
22614
22614
  })
22615
22615
  ]);
22616
22616
  }
22617
22617
  }
22618
22618
  });
22619
- return T;
22619
+ return j;
22620
22620
  }
22621
22621
  function fS({
22622
22622
  editor: t,
@@ -23051,11 +23051,11 @@ function Yp(t) {
23051
23051
  var N = so(n), k = "clientHeight", A = "clientWidth";
23052
23052
  if (N === At(n) && (N = dr(n), On(N).position !== "static" && s === "absolute" && (k = "scrollHeight", A = "scrollWidth")), N = N, i === Mt || (i === xt || i === Gt) && a === Wa) {
23053
23053
  y = Qt;
23054
- var T = u && N === L && L.visualViewport ? L.visualViewport.height : (
23054
+ var j = u && N === L && L.visualViewport ? L.visualViewport.height : (
23055
23055
  // $FlowFixMe[prop-missing]
23056
23056
  N[k]
23057
23057
  );
23058
- g -= T - r.height, g *= l ? 1 : -1;
23058
+ g -= j - r.height, g *= l ? 1 : -1;
23059
23059
  }
23060
23060
  if (i === xt || (i === Mt || i === Qt) && a === Wa) {
23061
23061
  x = Gt;
@@ -23066,20 +23066,20 @@ function Yp(t) {
23066
23066
  h -= S - r.width, h *= l ? 1 : -1;
23067
23067
  }
23068
23068
  }
23069
- var D = Object.assign({
23069
+ var R = Object.assign({
23070
23070
  position: s
23071
- }, c && DS), U = d === !0 ? RS({
23071
+ }, c && DS), Y = d === !0 ? RS({
23072
23072
  x: h,
23073
23073
  y: g
23074
23074
  }, At(n)) : {
23075
23075
  x: h,
23076
23076
  y: g
23077
23077
  };
23078
- if (h = U.x, g = U.y, l) {
23079
- var Y;
23080
- return Object.assign({}, D, (Y = {}, Y[y] = M ? "0" : "", Y[x] = v ? "0" : "", Y.transform = (L.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + g + "px)" : "translate3d(" + h + "px, " + g + "px, 0)", Y));
23078
+ if (h = Y.x, g = Y.y, l) {
23079
+ var V;
23080
+ return Object.assign({}, R, (V = {}, V[y] = M ? "0" : "", V[x] = v ? "0" : "", V.transform = (L.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + g + "px)" : "translate3d(" + h + "px, " + g + "px, 0)", V));
23081
23081
  }
23082
- return Object.assign({}, D, (e = {}, e[y] = M ? g + "px" : "", e[x] = v ? h + "px" : "", e.transform = "", e));
23082
+ return Object.assign({}, R, (e = {}, e[y] = M ? g + "px" : "", e[x] = v ? h + "px" : "", e.transform = "", e));
23083
23083
  }
23084
23084
  function OS(t) {
23085
23085
  var e = t.state, n = t.options, r = n.gpuAcceleration, i = r === void 0 ? !0 : r, a = n.adaptive, o = a === void 0 ? !0 : a, s = n.roundOffsets, l = s === void 0 ? !0 : s, c = {
@@ -23283,17 +23283,17 @@ function Ha(t, e) {
23283
23283
  reference: N,
23284
23284
  element: x,
23285
23285
  placement: i
23286
- }), A = Bc(Object.assign({}, x, k)), T = p === $i ? A : N, S = {
23287
- top: L.top - T.top + v.top,
23288
- bottom: T.bottom - L.bottom + v.bottom,
23289
- left: L.left - T.left + v.left,
23290
- right: T.right - L.right + v.right
23291
- }, D = t.modifiersData.offset;
23292
- if (p === $i && D) {
23293
- var U = D[i];
23294
- Object.keys(S).forEach(function(Y) {
23295
- var F = [Gt, Qt].indexOf(Y) >= 0 ? 1 : -1, R = [Mt, Qt].indexOf(Y) >= 0 ? "y" : "x";
23296
- S[Y] += U[R] * F;
23286
+ }), A = Bc(Object.assign({}, x, k)), j = p === $i ? A : N, S = {
23287
+ top: L.top - j.top + v.top,
23288
+ bottom: j.bottom - L.bottom + v.bottom,
23289
+ left: L.left - j.left + v.left,
23290
+ right: j.right - L.right + v.right
23291
+ }, R = t.modifiersData.offset;
23292
+ if (p === $i && R) {
23293
+ var Y = R[i];
23294
+ Object.keys(S).forEach(function(V) {
23295
+ var B = [Gt, Qt].indexOf(V) >= 0 ? 1 : -1, H = [Mt, Qt].indexOf(V) >= 0 ? "y" : "x";
23296
+ S[V] += Y[H] * B;
23297
23297
  });
23298
23298
  }
23299
23299
  return S;
@@ -23336,40 +23336,40 @@ function KS(t) {
23336
23336
  flipVariations: m,
23337
23337
  allowedAutoPlacements: g
23338
23338
  }) : ie);
23339
- }, []), L = e.rects.reference, N = e.rects.popper, k = /* @__PURE__ */ new Map(), A = !0, T = y[0], S = 0; S < y.length; S++) {
23340
- var D = y[S], U = fn(D), Y = Ri(D) === Ti, F = [Mt, Qt].indexOf(U) >= 0, R = F ? "width" : "height", O = Ha(e, {
23341
- placement: D,
23339
+ }, []), L = e.rects.reference, N = e.rects.popper, k = /* @__PURE__ */ new Map(), A = !0, j = y[0], S = 0; S < y.length; S++) {
23340
+ var R = y[S], Y = fn(R), V = Ri(R) === Ti, B = [Mt, Qt].indexOf(Y) >= 0, H = B ? "width" : "height", E = Ha(e, {
23341
+ placement: R,
23342
23342
  boundary: d,
23343
23343
  rootBoundary: u,
23344
23344
  altBoundary: p,
23345
23345
  padding: c
23346
- }), G = F ? Y ? Gt : xt : Y ? Qt : Mt;
23347
- L[R] > N[R] && (G = Jo(G));
23348
- var ne = Jo(G), H = [];
23349
- if (a && H.push(O[U] <= 0), s && H.push(O[G] <= 0, O[ne] <= 0), H.every(function(X) {
23346
+ }), U = B ? V ? Gt : xt : V ? Qt : Mt;
23347
+ L[H] > N[H] && (U = Jo(U));
23348
+ var _ = Jo(U), Q = [];
23349
+ if (a && Q.push(E[Y] <= 0), s && Q.push(E[U] <= 0, E[_] <= 0), Q.every(function(X) {
23350
23350
  return X;
23351
23351
  })) {
23352
- T = D, A = !1;
23352
+ j = R, A = !1;
23353
23353
  break;
23354
23354
  }
23355
- k.set(D, H);
23355
+ k.set(R, Q);
23356
23356
  }
23357
23357
  if (A)
23358
23358
  for (var pe = m ? 3 : 1, me = function(ie) {
23359
- var te = y.find(function(E) {
23360
- var Q = k.get(E);
23361
- if (Q)
23362
- return Q.slice(0, ie).every(function(ee) {
23363
- return ee;
23359
+ var ne = y.find(function(T) {
23360
+ var G = k.get(T);
23361
+ if (G)
23362
+ return G.slice(0, ie).every(function(te) {
23363
+ return te;
23364
23364
  });
23365
23365
  });
23366
- if (te)
23367
- return T = te, "break";
23366
+ if (ne)
23367
+ return j = ne, "break";
23368
23368
  }, Ee = pe; Ee > 0; Ee--) {
23369
23369
  var J = me(Ee);
23370
23370
  if (J === "break") break;
23371
23371
  }
23372
- e.placement !== T && (e.modifiersData[r]._skip = !0, e.placement = T, e.reset = !0);
23372
+ e.placement !== j && (e.modifiersData[r]._skip = !0, e.placement = j, e.reset = !0);
23373
23373
  }
23374
23374
  }
23375
23375
  const qS = {
@@ -23470,31 +23470,31 @@ function iI(t) {
23470
23470
  rootBoundary: c,
23471
23471
  padding: u,
23472
23472
  altBoundary: d
23473
- }), v = fn(e.placement), M = Ri(e.placement), x = !M, y = au(v), L = rI(y), N = e.modifiersData.popperOffsets, k = e.rects.reference, A = e.rects.popper, T = typeof g == "function" ? g(Object.assign({}, e.rects, {
23473
+ }), v = fn(e.placement), M = Ri(e.placement), x = !M, y = au(v), L = rI(y), N = e.modifiersData.popperOffsets, k = e.rects.reference, A = e.rects.popper, j = typeof g == "function" ? g(Object.assign({}, e.rects, {
23474
23474
  placement: e.placement
23475
- })) : g, S = typeof T == "number" ? {
23476
- mainAxis: T,
23477
- altAxis: T
23475
+ })) : g, S = typeof j == "number" ? {
23476
+ mainAxis: j,
23477
+ altAxis: j
23478
23478
  } : Object.assign({
23479
23479
  mainAxis: 0,
23480
23480
  altAxis: 0
23481
- }, T), D = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, U = {
23481
+ }, j), R = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, Y = {
23482
23482
  x: 0,
23483
23483
  y: 0
23484
23484
  };
23485
23485
  if (N) {
23486
23486
  if (a) {
23487
- var Y, F = y === "y" ? Mt : xt, R = y === "y" ? Qt : Gt, O = y === "y" ? "height" : "width", G = N[y], ne = G + w[F], H = G - w[R], pe = h ? -A[O] / 2 : 0, me = M === Ti ? k[O] : A[O], Ee = M === Ti ? -A[O] : -k[O], J = e.elements.arrow, X = h && J ? iu(J) : {
23487
+ var V, B = y === "y" ? Mt : xt, H = y === "y" ? Qt : Gt, E = y === "y" ? "height" : "width", U = N[y], _ = U + w[B], Q = U - w[H], pe = h ? -A[E] / 2 : 0, me = M === Ti ? k[E] : A[E], Ee = M === Ti ? -A[E] : -k[E], J = e.elements.arrow, X = h && J ? iu(J) : {
23488
23488
  width: 0,
23489
23489
  height: 0
23490
- }, ie = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Lb(), te = ie[F], E = ie[R], Q = Ma(0, k[O], X[O]), ee = x ? k[O] / 2 - pe - Q - te - S.mainAxis : me - Q - te - S.mainAxis, ve = x ? -k[O] / 2 + pe + Q + E + S.mainAxis : Ee + Q + E + S.mainAxis, mn = e.elements.arrow && so(e.elements.arrow), pr = mn ? y === "y" ? mn.clientTop || 0 : mn.clientLeft || 0 : 0, lt = (Y = D == null ? void 0 : D[y]) != null ? Y : 0, gn = G + ee - lt - pr, mr = G + ve - lt, gr = Ma(h ? Xs(ne, gn) : ne, G, h ? Rr(H, mr) : H);
23491
- N[y] = gr, U[y] = gr - G;
23490
+ }, ie = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Lb(), ne = ie[B], T = ie[H], G = Ma(0, k[E], X[E]), te = x ? k[E] / 2 - pe - G - ne - S.mainAxis : me - G - ne - S.mainAxis, ve = x ? -k[E] / 2 + pe + G + T + S.mainAxis : Ee + G + T + S.mainAxis, mn = e.elements.arrow && so(e.elements.arrow), pr = mn ? y === "y" ? mn.clientTop || 0 : mn.clientLeft || 0 : 0, lt = (V = R == null ? void 0 : R[y]) != null ? V : 0, gn = U + te - lt - pr, mr = U + ve - lt, gr = Ma(h ? Xs(_, gn) : _, U, h ? Rr(Q, mr) : Q);
23491
+ N[y] = gr, Y[y] = gr - U;
23492
23492
  }
23493
23493
  if (s) {
23494
- var Hi, uo = y === "x" ? Mt : xt, ho = y === "x" ? Qt : Gt, bn = N[L], Fn = L === "y" ? "height" : "width", Qi = bn + w[uo], br = bn - w[ho], Gi = [Mt, xt].indexOf(v) !== -1, po = (Hi = D == null ? void 0 : D[L]) != null ? Hi : 0, mo = Gi ? Qi : bn - k[Fn] - A[Fn] - po + S.altAxis, go = Gi ? bn + k[Fn] + A[Fn] - po - S.altAxis : br, bo = h && Gi ? IS(mo, bn, go) : Ma(h ? mo : Qi, bn, h ? go : br);
23495
- N[L] = bo, U[L] = bo - bn;
23494
+ var Hi, uo = y === "x" ? Mt : xt, ho = y === "x" ? Qt : Gt, bn = N[L], Fn = L === "y" ? "height" : "width", Qi = bn + w[uo], br = bn - w[ho], Gi = [Mt, xt].indexOf(v) !== -1, po = (Hi = R == null ? void 0 : R[L]) != null ? Hi : 0, mo = Gi ? Qi : bn - k[Fn] - A[Fn] - po + S.altAxis, go = Gi ? bn + k[Fn] + A[Fn] - po - S.altAxis : br, bo = h && Gi ? IS(mo, bn, go) : Ma(h ? mo : Qi, bn, h ? go : br);
23495
+ N[L] = bo, Y[L] = bo - bn;
23496
23496
  }
23497
- e.modifiersData[r] = U;
23497
+ e.modifiersData[r] = Y;
23498
23498
  }
23499
23499
  }
23500
23500
  const aI = {
@@ -23644,11 +23644,11 @@ function pI(t) {
23644
23644
  d.reset = !1, y = -1;
23645
23645
  continue;
23646
23646
  }
23647
- var L = d.orderedModifiers[y], N = L.fn, k = L.options, A = k === void 0 ? {} : k, T = L.name;
23647
+ var L = d.orderedModifiers[y], N = L.fn, k = L.options, A = k === void 0 ? {} : k, j = L.name;
23648
23648
  typeof N == "function" && (d = N({
23649
23649
  state: d,
23650
23650
  options: A,
23651
- name: T,
23651
+ name: j,
23652
23652
  instance: h
23653
23653
  }) || d);
23654
23654
  }
@@ -24095,91 +24095,91 @@ function HI(t, e) {
24095
24095
  return process.env.NODE_ENV !== "production" && Fc(!0, "render() function has not been supplied."), y;
24096
24096
  var L = n.render(y), N = L.popper, k = L.onUpdate;
24097
24097
  N.setAttribute("data-tippy-root", ""), N.id = "tippy-" + y.id, y.popper = N, t._tippy = y, N._tippy = y;
24098
- var A = M.map(function(j) {
24099
- return j.fn(y);
24100
- }), T = t.hasAttribute("aria-expanded");
24101
- return mn(), pe(), G(), ne("onCreate", [y]), n.showOnCreate && Qi(), N.addEventListener("mouseenter", function() {
24098
+ var A = M.map(function(D) {
24099
+ return D.fn(y);
24100
+ }), j = t.hasAttribute("aria-expanded");
24101
+ return mn(), pe(), U(), _("onCreate", [y]), n.showOnCreate && Qi(), N.addEventListener("mouseenter", function() {
24102
24102
  y.props.interactive && y.state.isVisible && y.clearDelayTimeouts();
24103
24103
  }), N.addEventListener("mouseleave", function() {
24104
- y.props.interactive && y.props.trigger.indexOf("mouseenter") >= 0 && F().addEventListener("mousemove", m);
24104
+ y.props.interactive && y.props.trigger.indexOf("mouseenter") >= 0 && B().addEventListener("mousemove", m);
24105
24105
  }), y;
24106
24106
  function S() {
24107
- var j = y.props.touch;
24108
- return Array.isArray(j) ? j : [j, 0];
24107
+ var D = y.props.touch;
24108
+ return Array.isArray(D) ? D : [D, 0];
24109
24109
  }
24110
- function D() {
24110
+ function R() {
24111
24111
  return S()[0] === "hold";
24112
24112
  }
24113
- function U() {
24114
- var j;
24115
- return !!((j = y.props.render) != null && j.$$tippy);
24116
- }
24117
24113
  function Y() {
24114
+ var D;
24115
+ return !!((D = y.props.render) != null && D.$$tippy);
24116
+ }
24117
+ function V() {
24118
24118
  return g || t;
24119
24119
  }
24120
- function F() {
24121
- var j = Y().parentNode;
24122
- return j ? II(j) : document;
24120
+ function B() {
24121
+ var D = V().parentNode;
24122
+ return D ? II(D) : document;
24123
24123
  }
24124
- function R() {
24124
+ function H() {
24125
24125
  return Yc(N);
24126
24126
  }
24127
- function O(j) {
24128
- return y.state.isMounted && !y.state.isVisible || sn.isTouch || d && d.type === "focus" ? 0 : Vf(y.props.delay, j ? 0 : 1, kt.delay);
24127
+ function E(D) {
24128
+ return y.state.isMounted && !y.state.isVisible || sn.isTouch || d && d.type === "focus" ? 0 : Vf(y.props.delay, D ? 0 : 1, kt.delay);
24129
24129
  }
24130
- function G(j) {
24131
- j === void 0 && (j = !1), N.style.pointerEvents = y.props.interactive && !j ? "" : "none", N.style.zIndex = "" + y.props.zIndex;
24130
+ function U(D) {
24131
+ D === void 0 && (D = !1), N.style.pointerEvents = y.props.interactive && !D ? "" : "none", N.style.zIndex = "" + y.props.zIndex;
24132
24132
  }
24133
- function ne(j, K, _) {
24134
- if (_ === void 0 && (_ = !0), A.forEach(function(ue) {
24135
- ue[j] && ue[j].apply(ue, K);
24136
- }), _) {
24133
+ function _(D, K, $) {
24134
+ if ($ === void 0 && ($ = !0), A.forEach(function(ue) {
24135
+ ue[D] && ue[D].apply(ue, K);
24136
+ }), $) {
24137
24137
  var ge;
24138
- (ge = y.props)[j].apply(ge, K);
24138
+ (ge = y.props)[D].apply(ge, K);
24139
24139
  }
24140
24140
  }
24141
- function H() {
24142
- var j = y.props.aria;
24143
- if (j.content) {
24144
- var K = "aria-" + j.content, _ = N.id, ge = pi(y.props.triggerTarget || t);
24141
+ function Q() {
24142
+ var D = y.props.aria;
24143
+ if (D.content) {
24144
+ var K = "aria-" + D.content, $ = N.id, ge = pi(y.props.triggerTarget || t);
24145
24145
  ge.forEach(function(ue) {
24146
24146
  var ft = ue.getAttribute(K);
24147
24147
  if (y.state.isVisible)
24148
- ue.setAttribute(K, ft ? ft + " " + _ : _);
24148
+ ue.setAttribute(K, ft ? ft + " " + $ : $);
24149
24149
  else {
24150
- var Dt = ft && ft.replace(_, "").trim();
24150
+ var Dt = ft && ft.replace($, "").trim();
24151
24151
  Dt ? ue.setAttribute(K, Dt) : ue.removeAttribute(K);
24152
24152
  }
24153
24153
  });
24154
24154
  }
24155
24155
  }
24156
24156
  function pe() {
24157
- if (!(T || !y.props.aria.expanded)) {
24158
- var j = pi(y.props.triggerTarget || t);
24159
- j.forEach(function(K) {
24160
- y.props.interactive ? K.setAttribute("aria-expanded", y.state.isVisible && K === Y() ? "true" : "false") : K.removeAttribute("aria-expanded");
24157
+ if (!(j || !y.props.aria.expanded)) {
24158
+ var D = pi(y.props.triggerTarget || t);
24159
+ D.forEach(function(K) {
24160
+ y.props.interactive ? K.setAttribute("aria-expanded", y.state.isVisible && K === V() ? "true" : "false") : K.removeAttribute("aria-expanded");
24161
24161
  });
24162
24162
  }
24163
24163
  }
24164
24164
  function me() {
24165
- F().removeEventListener("mousemove", m), zo = zo.filter(function(j) {
24166
- return j !== m;
24165
+ B().removeEventListener("mousemove", m), zo = zo.filter(function(D) {
24166
+ return D !== m;
24167
24167
  });
24168
24168
  }
24169
- function Ee(j) {
24170
- if (!(sn.isTouch && (l || j.type === "mousedown"))) {
24171
- var K = j.composedPath && j.composedPath()[0] || j.target;
24169
+ function Ee(D) {
24170
+ if (!(sn.isTouch && (l || D.type === "mousedown"))) {
24171
+ var K = D.composedPath && D.composedPath()[0] || D.target;
24172
24172
  if (!(y.props.interactive && _p(N, K))) {
24173
- if (pi(y.props.triggerTarget || t).some(function(_) {
24174
- return _p(_, K);
24173
+ if (pi(y.props.triggerTarget || t).some(function($) {
24174
+ return _p($, K);
24175
24175
  })) {
24176
24176
  if (sn.isTouch || y.state.isVisible && y.props.trigger.indexOf("click") >= 0)
24177
24177
  return;
24178
24178
  } else
24179
- ne("onClickOutside", [y, j]);
24179
+ _("onClickOutside", [y, D]);
24180
24180
  y.props.hideOnClick === !0 && (y.clearDelayTimeouts(), y.hide(), s = !0, setTimeout(function() {
24181
24181
  s = !1;
24182
- }), y.state.isMounted || te());
24182
+ }), y.state.isMounted || ne());
24183
24183
  }
24184
24184
  }
24185
24185
  }
@@ -24190,50 +24190,50 @@ function HI(t, e) {
24190
24190
  l = !1;
24191
24191
  }
24192
24192
  function ie() {
24193
- var j = F();
24194
- j.addEventListener("mousedown", Ee, !0), j.addEventListener("touchend", Ee, vr), j.addEventListener("touchstart", X, vr), j.addEventListener("touchmove", J, vr);
24193
+ var D = B();
24194
+ D.addEventListener("mousedown", Ee, !0), D.addEventListener("touchend", Ee, vr), D.addEventListener("touchstart", X, vr), D.addEventListener("touchmove", J, vr);
24195
24195
  }
24196
- function te() {
24197
- var j = F();
24198
- j.removeEventListener("mousedown", Ee, !0), j.removeEventListener("touchend", Ee, vr), j.removeEventListener("touchstart", X, vr), j.removeEventListener("touchmove", J, vr);
24196
+ function ne() {
24197
+ var D = B();
24198
+ D.removeEventListener("mousedown", Ee, !0), D.removeEventListener("touchend", Ee, vr), D.removeEventListener("touchstart", X, vr), D.removeEventListener("touchmove", J, vr);
24199
24199
  }
24200
- function E(j, K) {
24201
- ee(j, function() {
24200
+ function T(D, K) {
24201
+ te(D, function() {
24202
24202
  !y.state.isVisible && N.parentNode && N.parentNode.contains(N) && K();
24203
24203
  });
24204
24204
  }
24205
- function Q(j, K) {
24206
- ee(j, K);
24205
+ function G(D, K) {
24206
+ te(D, K);
24207
24207
  }
24208
- function ee(j, K) {
24209
- var _ = R().box;
24208
+ function te(D, K) {
24209
+ var $ = H().box;
24210
24210
  function ge(ue) {
24211
- ue.target === _ && (Uf(_, "remove", ge), K());
24211
+ ue.target === $ && (Uf($, "remove", ge), K());
24212
24212
  }
24213
- if (j === 0)
24213
+ if (D === 0)
24214
24214
  return K();
24215
- Uf(_, "remove", u), Uf(_, "add", ge), u = ge;
24215
+ Uf($, "remove", u), Uf($, "add", ge), u = ge;
24216
24216
  }
24217
- function ve(j, K, _) {
24218
- _ === void 0 && (_ = !1);
24217
+ function ve(D, K, $) {
24218
+ $ === void 0 && ($ = !1);
24219
24219
  var ge = pi(y.props.triggerTarget || t);
24220
24220
  ge.forEach(function(ue) {
24221
- ue.addEventListener(j, K, _), h.push({
24221
+ ue.addEventListener(D, K, $), h.push({
24222
24222
  node: ue,
24223
- eventType: j,
24223
+ eventType: D,
24224
24224
  handler: K,
24225
- options: _
24225
+ options: $
24226
24226
  });
24227
24227
  });
24228
24228
  }
24229
24229
  function mn() {
24230
- D() && (ve("touchstart", lt, {
24230
+ R() && (ve("touchstart", lt, {
24231
24231
  passive: !0
24232
24232
  }), ve("touchend", mr, {
24233
24233
  passive: !0
24234
- })), CI(y.props.trigger).forEach(function(j) {
24235
- if (j !== "manual")
24236
- switch (ve(j, lt), j) {
24234
+ })), CI(y.props.trigger).forEach(function(D) {
24235
+ if (D !== "manual")
24236
+ switch (ve(D, lt), D) {
24237
24237
  case "mouseenter":
24238
24238
  ve("mouseleave", mr);
24239
24239
  break;
@@ -24247,23 +24247,23 @@ function HI(t, e) {
24247
24247
  });
24248
24248
  }
24249
24249
  function pr() {
24250
- h.forEach(function(j) {
24251
- var K = j.node, _ = j.eventType, ge = j.handler, ue = j.options;
24252
- K.removeEventListener(_, ge, ue);
24250
+ h.forEach(function(D) {
24251
+ var K = D.node, $ = D.eventType, ge = D.handler, ue = D.options;
24252
+ K.removeEventListener($, ge, ue);
24253
24253
  }), h = [];
24254
24254
  }
24255
- function lt(j) {
24256
- var K, _ = !1;
24257
- if (!(!y.state.isEnabled || Hi(j) || s)) {
24255
+ function lt(D) {
24256
+ var K, $ = !1;
24257
+ if (!(!y.state.isEnabled || Hi(D) || s)) {
24258
24258
  var ge = ((K = d) == null ? void 0 : K.type) === "focus";
24259
- d = j, g = j.currentTarget, pe(), !y.state.isVisible && NI(j) && zo.forEach(function(ue) {
24260
- return ue(j);
24261
- }), j.type === "click" && (y.props.trigger.indexOf("mouseenter") < 0 || o) && y.props.hideOnClick !== !1 && y.state.isVisible ? _ = !0 : Qi(j), j.type === "click" && (o = !_), _ && !ge && br(j);
24259
+ d = D, g = D.currentTarget, pe(), !y.state.isVisible && NI(D) && zo.forEach(function(ue) {
24260
+ return ue(D);
24261
+ }), D.type === "click" && (y.props.trigger.indexOf("mouseenter") < 0 || o) && y.props.hideOnClick !== !1 && y.state.isVisible ? $ = !0 : Qi(D), D.type === "click" && (o = !$), $ && !ge && br(D);
24262
24262
  }
24263
24263
  }
24264
- function gn(j) {
24265
- var K = j.target, _ = Y().contains(K) || N.contains(K);
24266
- if (!(j.type === "mousemove" && _)) {
24264
+ function gn(D) {
24265
+ var K = D.target, $ = V().contains(K) || N.contains(K);
24266
+ if (!(D.type === "mousemove" && $)) {
24267
24267
  var ge = Fn().concat(N).map(function(ue) {
24268
24268
  var ft, Dt = ue._tippy, ii = (ft = Dt.popperInstance) == null ? void 0 : ft.state;
24269
24269
  return ii ? {
@@ -24272,30 +24272,30 @@ function HI(t, e) {
24272
24272
  props: n
24273
24273
  } : null;
24274
24274
  }).filter(Boolean);
24275
- AI(ge, j) && (me(), br(j));
24275
+ AI(ge, D) && (me(), br(D));
24276
24276
  }
24277
24277
  }
24278
- function mr(j) {
24279
- var K = Hi(j) || y.props.trigger.indexOf("click") >= 0 && o;
24278
+ function mr(D) {
24279
+ var K = Hi(D) || y.props.trigger.indexOf("click") >= 0 && o;
24280
24280
  if (!K) {
24281
24281
  if (y.props.interactive) {
24282
- y.hideWithInteractivity(j);
24282
+ y.hideWithInteractivity(D);
24283
24283
  return;
24284
24284
  }
24285
- br(j);
24285
+ br(D);
24286
24286
  }
24287
24287
  }
24288
- function gr(j) {
24289
- y.props.trigger.indexOf("focusin") < 0 && j.target !== Y() || y.props.interactive && j.relatedTarget && N.contains(j.relatedTarget) || br(j);
24288
+ function gr(D) {
24289
+ y.props.trigger.indexOf("focusin") < 0 && D.target !== V() || y.props.interactive && D.relatedTarget && N.contains(D.relatedTarget) || br(D);
24290
24290
  }
24291
- function Hi(j) {
24292
- return sn.isTouch ? D() !== j.type.indexOf("touch") >= 0 : !1;
24291
+ function Hi(D) {
24292
+ return sn.isTouch ? R() !== D.type.indexOf("touch") >= 0 : !1;
24293
24293
  }
24294
24294
  function uo() {
24295
24295
  ho();
24296
- var j = y.props, K = j.popperOptions, _ = j.placement, ge = j.offset, ue = j.getReferenceClientRect, ft = j.moveTransition, Dt = U() ? Yc(N).arrow : null, ii = ue ? {
24296
+ var D = y.props, K = D.popperOptions, $ = D.placement, ge = D.offset, ue = D.getReferenceClientRect, ft = D.moveTransition, Dt = Y() ? Yc(N).arrow : null, ii = ue ? {
24297
24297
  getBoundingClientRect: ue,
24298
- contextElement: ue.contextElement || Y()
24298
+ contextElement: ue.contextElement || V()
24299
24299
  } : t, Uu = {
24300
24300
  name: "$$tippy",
24301
24301
  enabled: !0,
@@ -24303,8 +24303,8 @@ function HI(t, e) {
24303
24303
  requires: ["computeStyles"],
24304
24304
  fn: function(wo) {
24305
24305
  var ai = wo.state;
24306
- if (U()) {
24307
- var ow = R(), ff = ow.box;
24306
+ if (Y()) {
24307
+ var ow = H(), ff = ow.box;
24308
24308
  ["placement", "reference-hidden", "escaped"].forEach(function(yo) {
24309
24309
  yo === "placement" ? ff.setAttribute("data-placement", ai.placement) : ai.attributes.popper["data-popper-" + yo] ? ff.setAttribute("data-" + yo, "") : ff.removeAttribute("data-" + yo);
24310
24310
  }), ai.attributes.popper = {};
@@ -24336,14 +24336,14 @@ function HI(t, e) {
24336
24336
  adaptive: !ft
24337
24337
  }
24338
24338
  }, Uu];
24339
- U() && Dt && wr.push({
24339
+ Y() && Dt && wr.push({
24340
24340
  name: "arrow",
24341
24341
  options: {
24342
24342
  element: Dt,
24343
24343
  padding: 3
24344
24344
  }
24345
24345
  }), wr.push.apply(wr, (K == null ? void 0 : K.modifiers) || []), y.popperInstance = gI(ii, N, Object.assign({}, K, {
24346
- placement: _,
24346
+ placement: $,
24347
24347
  onFirstUpdate: p,
24348
24348
  modifiers: wr
24349
24349
  }));
@@ -24352,8 +24352,8 @@ function HI(t, e) {
24352
24352
  y.popperInstance && (y.popperInstance.destroy(), y.popperInstance = null);
24353
24353
  }
24354
24354
  function bn() {
24355
- var j = y.props.appendTo, K, _ = Y();
24356
- y.props.interactive && j === jb || j === "parent" ? K = _.parentNode : K = Db(j, [_]), K.contains(N) || K.appendChild(N), y.state.isMounted = !0, uo(), process.env.NODE_ENV !== "production" && kn(y.props.interactive && j === kt.appendTo && _.nextElementSibling !== N, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
24355
+ var D = y.props.appendTo, K, $ = V();
24356
+ y.props.interactive && D === jb || D === "parent" ? K = $.parentNode : K = Db(D, [$]), K.contains(N) || K.appendChild(N), y.state.isMounted = !0, uo(), process.env.NODE_ENV !== "production" && kn(y.props.interactive && D === kt.appendTo && $.nextElementSibling !== N, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
24357
24357
 
24358
24358
  `, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
24359
24359
 
@@ -24364,20 +24364,20 @@ function HI(t, e) {
24364
24364
  function Fn() {
24365
24365
  return _s(N.querySelectorAll("[data-tippy-root]"));
24366
24366
  }
24367
- function Qi(j) {
24368
- y.clearDelayTimeouts(), j && ne("onTrigger", [y, j]), ie();
24369
- var K = O(!0), _ = S(), ge = _[0], ue = _[1];
24367
+ function Qi(D) {
24368
+ y.clearDelayTimeouts(), D && _("onTrigger", [y, D]), ie();
24369
+ var K = E(!0), $ = S(), ge = $[0], ue = $[1];
24370
24370
  sn.isTouch && ge === "hold" && ue && (K = ue), K ? r = setTimeout(function() {
24371
24371
  y.show();
24372
24372
  }, K) : y.show();
24373
24373
  }
24374
- function br(j) {
24375
- if (y.clearDelayTimeouts(), ne("onUntrigger", [y, j]), !y.state.isVisible) {
24376
- te();
24374
+ function br(D) {
24375
+ if (y.clearDelayTimeouts(), _("onUntrigger", [y, D]), !y.state.isVisible) {
24376
+ ne();
24377
24377
  return;
24378
24378
  }
24379
- if (!(y.props.trigger.indexOf("mouseenter") >= 0 && y.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(j.type) >= 0 && o)) {
24380
- var K = O(!1);
24379
+ if (!(y.props.trigger.indexOf("mouseenter") >= 0 && y.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(D.type) >= 0 && o)) {
24380
+ var K = E(!1);
24381
24381
  K ? i = setTimeout(function() {
24382
24382
  y.state.isVisible && y.hide();
24383
24383
  }, K) : a = requestAnimationFrame(function() {
@@ -24394,41 +24394,41 @@ function HI(t, e) {
24394
24394
  function mo() {
24395
24395
  clearTimeout(r), clearTimeout(i), cancelAnimationFrame(a);
24396
24396
  }
24397
- function go(j) {
24397
+ function go(D) {
24398
24398
  if (process.env.NODE_ENV !== "production" && kn(y.state.isDestroyed, li("setProps")), !y.state.isDestroyed) {
24399
- ne("onBeforeUpdate", [y, j]), pr();
24400
- var K = y.props, _ = t1(t, Object.assign({}, K, Zp(j), {
24399
+ _("onBeforeUpdate", [y, D]), pr();
24400
+ var K = y.props, $ = t1(t, Object.assign({}, K, Zp(D), {
24401
24401
  ignoreAttributes: !0
24402
24402
  }));
24403
- y.props = _, mn(), K.interactiveDebounce !== _.interactiveDebounce && (me(), m = Kp(gn, _.interactiveDebounce)), K.triggerTarget && !_.triggerTarget ? pi(K.triggerTarget).forEach(function(ge) {
24403
+ y.props = $, mn(), K.interactiveDebounce !== $.interactiveDebounce && (me(), m = Kp(gn, $.interactiveDebounce)), K.triggerTarget && !$.triggerTarget ? pi(K.triggerTarget).forEach(function(ge) {
24404
24404
  ge.removeAttribute("aria-expanded");
24405
- }) : _.triggerTarget && t.removeAttribute("aria-expanded"), pe(), G(), k && k(K, _), y.popperInstance && (uo(), Fn().forEach(function(ge) {
24405
+ }) : $.triggerTarget && t.removeAttribute("aria-expanded"), pe(), U(), k && k(K, $), y.popperInstance && (uo(), Fn().forEach(function(ge) {
24406
24406
  requestAnimationFrame(ge._tippy.popperInstance.forceUpdate);
24407
- })), ne("onAfterUpdate", [y, j]);
24407
+ })), _("onAfterUpdate", [y, D]);
24408
24408
  }
24409
24409
  }
24410
- function bo(j) {
24410
+ function bo(D) {
24411
24411
  y.setProps({
24412
- content: j
24412
+ content: D
24413
24413
  });
24414
24414
  }
24415
24415
  function tw() {
24416
24416
  process.env.NODE_ENV !== "production" && kn(y.state.isDestroyed, li("show"));
24417
- var j = y.state.isVisible, K = y.state.isDestroyed, _ = !y.state.isEnabled, ge = sn.isTouch && !y.props.touch, ue = Vf(y.props.duration, 0, kt.duration);
24418
- if (!(j || K || _ || ge) && !Y().hasAttribute("disabled") && (ne("onShow", [y], !1), y.props.onShow(y) !== !1)) {
24419
- if (y.state.isVisible = !0, U() && (N.style.visibility = "visible"), G(), ie(), y.state.isMounted || (N.style.transition = "none"), U()) {
24420
- var ft = R(), Dt = ft.box, ii = ft.content;
24417
+ var D = y.state.isVisible, K = y.state.isDestroyed, $ = !y.state.isEnabled, ge = sn.isTouch && !y.props.touch, ue = Vf(y.props.duration, 0, kt.duration);
24418
+ if (!(D || K || $ || ge) && !V().hasAttribute("disabled") && (_("onShow", [y], !1), y.props.onShow(y) !== !1)) {
24419
+ if (y.state.isVisible = !0, Y() && (N.style.visibility = "visible"), U(), ie(), y.state.isMounted || (N.style.transition = "none"), Y()) {
24420
+ var ft = H(), Dt = ft.box, ii = ft.content;
24421
24421
  Yf([Dt, ii], 0);
24422
24422
  }
24423
24423
  p = function() {
24424
24424
  var wr;
24425
24425
  if (!(!y.state.isVisible || c)) {
24426
- if (c = !0, N.offsetHeight, N.style.transition = y.props.moveTransition, U() && y.props.animation) {
24427
- var lf = R(), wo = lf.box, ai = lf.content;
24426
+ if (c = !0, N.offsetHeight, N.style.transition = y.props.moveTransition, Y() && y.props.animation) {
24427
+ var lf = H(), wo = lf.box, ai = lf.content;
24428
24428
  Yf([wo, ai], ue), Xp([wo, ai], "visible");
24429
24429
  }
24430
- H(), pe(), qp(Wf, y), (wr = y.popperInstance) == null || wr.forceUpdate(), ne("onMount", [y]), y.props.animation && U() && Q(ue, function() {
24431
- y.state.isShown = !0, ne("onShown", [y]);
24430
+ Q(), pe(), qp(Wf, y), (wr = y.popperInstance) == null || wr.forceUpdate(), _("onMount", [y]), y.props.animation && Y() && G(ue, function() {
24431
+ y.state.isShown = !0, _("onShown", [y]);
24432
24432
  });
24433
24433
  }
24434
24434
  }, bn();
@@ -24436,27 +24436,27 @@ function HI(t, e) {
24436
24436
  }
24437
24437
  function nw() {
24438
24438
  process.env.NODE_ENV !== "production" && kn(y.state.isDestroyed, li("hide"));
24439
- var j = !y.state.isVisible, K = y.state.isDestroyed, _ = !y.state.isEnabled, ge = Vf(y.props.duration, 1, kt.duration);
24440
- if (!(j || K || _) && (ne("onHide", [y], !1), y.props.onHide(y) !== !1)) {
24441
- if (y.state.isVisible = !1, y.state.isShown = !1, c = !1, o = !1, U() && (N.style.visibility = "hidden"), me(), te(), G(!0), U()) {
24442
- var ue = R(), ft = ue.box, Dt = ue.content;
24439
+ var D = !y.state.isVisible, K = y.state.isDestroyed, $ = !y.state.isEnabled, ge = Vf(y.props.duration, 1, kt.duration);
24440
+ if (!(D || K || $) && (_("onHide", [y], !1), y.props.onHide(y) !== !1)) {
24441
+ if (y.state.isVisible = !1, y.state.isShown = !1, c = !1, o = !1, Y() && (N.style.visibility = "hidden"), me(), ne(), U(!0), Y()) {
24442
+ var ue = H(), ft = ue.box, Dt = ue.content;
24443
24443
  y.props.animation && (Yf([ft, Dt], ge), Xp([ft, Dt], "hidden"));
24444
24444
  }
24445
- H(), pe(), y.props.animation ? U() && E(ge, y.unmount) : y.unmount();
24445
+ Q(), pe(), y.props.animation ? Y() && T(ge, y.unmount) : y.unmount();
24446
24446
  }
24447
24447
  }
24448
- function rw(j) {
24449
- process.env.NODE_ENV !== "production" && kn(y.state.isDestroyed, li("hideWithInteractivity")), F().addEventListener("mousemove", m), qp(zo, m), m(j);
24448
+ function rw(D) {
24449
+ process.env.NODE_ENV !== "production" && kn(y.state.isDestroyed, li("hideWithInteractivity")), B().addEventListener("mousemove", m), qp(zo, m), m(D);
24450
24450
  }
24451
24451
  function iw() {
24452
- process.env.NODE_ENV !== "production" && kn(y.state.isDestroyed, li("unmount")), y.state.isVisible && y.hide(), y.state.isMounted && (ho(), Fn().forEach(function(j) {
24453
- j._tippy.unmount();
24454
- }), N.parentNode && N.parentNode.removeChild(N), Wf = Wf.filter(function(j) {
24455
- return j !== y;
24456
- }), y.state.isMounted = !1, ne("onHidden", [y]));
24452
+ process.env.NODE_ENV !== "production" && kn(y.state.isDestroyed, li("unmount")), y.state.isVisible && y.hide(), y.state.isMounted && (ho(), Fn().forEach(function(D) {
24453
+ D._tippy.unmount();
24454
+ }), N.parentNode && N.parentNode.removeChild(N), Wf = Wf.filter(function(D) {
24455
+ return D !== y;
24456
+ }), y.state.isMounted = !1, _("onHidden", [y]));
24457
24457
  }
24458
24458
  function aw() {
24459
- process.env.NODE_ENV !== "production" && kn(y.state.isDestroyed, li("destroy")), !y.state.isDestroyed && (y.clearDelayTimeouts(), y.unmount(), pr(), delete t._tippy, y.state.isDestroyed = !0, ne("onDestroy", [y]));
24459
+ process.env.NODE_ENV !== "production" && kn(y.state.isDestroyed, li("destroy")), !y.state.isDestroyed && (y.clearDelayTimeouts(), y.unmount(), pr(), delete t._tippy, y.state.isDestroyed = !0, _("onDestroy", [y]));
24460
24460
  }
24461
24461
  }
24462
24462
  function lo(t, e) {
@@ -24868,7 +24868,7 @@ var Ae = /* @__PURE__ */ _I("epr", null), qo = {
24868
24868
  }, qo)
24869
24869
  }), i9 = /* @__PURE__ */ sd(function(e) {
24870
24870
  var n = e.nonce;
24871
- return B("style", {
24871
+ return P("style", {
24872
24872
  nonce: n,
24873
24873
  suppressHydrationWarning: !0,
24874
24874
  dangerouslySetInnerHTML: {
@@ -25150,7 +25150,7 @@ var L9 = {
25150
25150
  }, N9 = ["children"], l2 = /* @__PURE__ */ Hr(/* @__PURE__ */ s2());
25151
25151
  function k9(t) {
25152
25152
  var e = t.children, n = Xb(t, N9), r = S9(n);
25153
- return B(l2.Provider, {
25153
+ return P(l2.Provider, {
25154
25154
  value: r
25155
25155
  }, e);
25156
25156
  }
@@ -46827,7 +46827,7 @@ function U9(t) {
46827
46827
  s.current = o;
46828
46828
  }, [o]);
46829
46829
  var l = Oe(!1), c = Oe(!1), d = Oe(n), u = l1(Date.now(), 200), p = l1("", 100), h = oe(!1), m = oe(r), g = oe(null), w = oe(/* @__PURE__ */ new Set()), v = oe(null), M = oe(i), x = oe(!1), y = x[0], L = x[1], N = oe([]), k = oe(null);
46830
- return Y9(L), B(Et.Provider, {
46830
+ return Y9(L), P(Et.Provider, {
46831
46831
  value: {
46832
46832
  activeCategoryState: g,
46833
46833
  activeSkinTone: m,
@@ -47126,7 +47126,7 @@ function Za() {
47126
47126
  }
47127
47127
  function lA(t) {
47128
47128
  var e = t.children, n = Oe(null), r = Oe(null), i = Oe(null), a = Oe(null), o = Oe(null), s = Oe(null), l = Oe(null), c = Oe(null), d = Oe(null);
47129
- return B(S2.Provider, {
47129
+ return P(S2.Provider, {
47130
47130
  value: {
47131
47131
  AnchoredEmojiRef: r,
47132
47132
  BodyRef: i,
@@ -47724,13 +47724,13 @@ function WA() {
47724
47724
  var HA = ["width", "height"], Gc = 40;
47725
47725
  function QA(t) {
47726
47726
  var e = t.children;
47727
- return B(U9, null, B(GA, null, e));
47727
+ return P(U9, null, P(GA, null, e));
47728
47728
  }
47729
47729
  function GA(t) {
47730
47730
  var e, n = t.children, r = _r(), i = r[0], a = eA(), o = Ql(), s = Ui(), l = tA(), c = nA();
47731
47731
  DA(), WA();
47732
47732
  var d = c || {}, u = d.width, p = d.height, h = Xb(d, HA);
47733
- return B("aside", {
47733
+ return P("aside", {
47734
47734
  className: fe(ea.main, ea.baseVariables, a === Ka.DARK && ea.darkTheme, a === Ka.AUTO && ea.autoThemeDark, (e = {}, e[de.searchActive] = o, e), i && ea.reactionsMenu, l),
47735
47735
  ref: s,
47736
47736
  style: we({}, h, !i && {
@@ -48059,8 +48059,8 @@ function e4(t, e) {
48059
48059
  s();
48060
48060
  var N = w1(L, w), k = N[0], A = N[1];
48061
48061
  if (!(!k || !A)) {
48062
- var T = R9(A) || c;
48063
- p(), E9(k, T), d(nE(k, T, m, h), L);
48062
+ var j = R9(A) || c;
48063
+ p(), E9(k, j), d(nE(k, j, m, h), L);
48064
48064
  }
48065
48065
  }
48066
48066
  }, [c, s, i, w, d, p, h, m]), M = ke(function(L) {
@@ -48132,7 +48132,7 @@ function nE(t, e, n, r) {
48132
48132
  };
48133
48133
  }
48134
48134
  function co(t) {
48135
- return B("button", Object.assign({
48135
+ return P("button", Object.assign({
48136
48136
  type: "button"
48137
48137
  }, t, {
48138
48138
  className: fe(rE.button, t.className)
@@ -48149,7 +48149,7 @@ var rE = /* @__PURE__ */ Ae.create({
48149
48149
  });
48150
48150
  function iE(t) {
48151
48151
  var e, n = t.emojiNames, r = t.unified, i = t.hidden, a = t.hiddenOnSearch, o = t.showVariations, s = o === void 0 ? !0 : o, l = t.hasVariations, c = t.children, d = t.className, u = t.noBackground, p = u === void 0 ? !1 : u, h = t.style;
48152
- return B(co, {
48152
+ return P(co, {
48153
48153
  className: fe(Hf.emoji, i && uu.hidden, a && Zr.hiddenOnSearch, (e = {}, e[de.visible] = !i && !a, e), !!(l && s) && Hf.hasVariations, p && Hf.noBackground, d),
48154
48154
  "data-unified": r,
48155
48155
  "aria-label": aE(n),
@@ -48226,7 +48226,7 @@ var Hf = /* @__PURE__ */ Ae.create({
48226
48226
  });
48227
48227
  function y1(t) {
48228
48228
  var e = t.emojiName, n = t.style, r = t.lazyLoad, i = r === void 0 ? !1 : r, a = t.imgUrl, o = t.onError, s = t.className;
48229
- return B("img", {
48229
+ return P("img", {
48230
48230
  src: a,
48231
48231
  alt: e,
48232
48232
  className: fe(oE.emojiImag, nl.external, nl.common, s),
@@ -48247,7 +48247,7 @@ var oE = /* @__PURE__ */ Ae.create({
48247
48247
  });
48248
48248
  function sE(t) {
48249
48249
  var e = t.unified, n = t.style, r = t.className;
48250
- return B("span", {
48250
+ return P("span", {
48251
48251
  className: fe(lE.nativeEmoji, nl.common, nl.external, r),
48252
48252
  "data-unified": e,
48253
48253
  style: n
@@ -48274,7 +48274,7 @@ function Jc(t) {
48274
48274
  if (!m)
48275
48275
  return null;
48276
48276
  if ($2(m))
48277
- return B(y1, {
48277
+ return P(y1, {
48278
48278
  style: h,
48279
48279
  emojiName: n,
48280
48280
  emojiStyle: St.NATIVE,
@@ -48283,11 +48283,11 @@ function Jc(t) {
48283
48283
  onError: g,
48284
48284
  className: l
48285
48285
  });
48286
- return B(ld, null, r === St.NATIVE ? B(sE, {
48286
+ return P(ld, null, r === St.NATIVE ? P(sE, {
48287
48287
  unified: n,
48288
48288
  style: h,
48289
48289
  className: l
48290
- }) : B(y1, {
48290
+ }) : P(y1, {
48291
48291
  style: h,
48292
48292
  emojiName: h9(m),
48293
48293
  emojiStyle: r,
@@ -48304,7 +48304,7 @@ function Jc(t) {
48304
48304
  }
48305
48305
  function Xl(t) {
48306
48306
  var e = t.emoji, n = t.unified, r = t.hidden, i = t.hiddenOnSearch, a = t.emojiStyle, o = t.showVariations, s = o === void 0 ? !0 : o, l = t.size, c = t.lazyLoad, d = t.getEmojiUrl, u = t.className, p = t.noBackground, h = p === void 0 ? !1 : p, m = t.style, g = Fi(e);
48307
- return B(iE, {
48307
+ return P(iE, {
48308
48308
  hasVariations: g,
48309
48309
  showVariations: s,
48310
48310
  hidden: r,
@@ -48313,7 +48313,7 @@ function Xl(t) {
48313
48313
  unified: n,
48314
48314
  noBackground: h,
48315
48315
  style: m
48316
- }, B(Jc, {
48316
+ }, P(Jc, {
48317
48317
  unified: n,
48318
48318
  emoji: e,
48319
48319
  size: l,
@@ -48326,7 +48326,7 @@ function Xl(t) {
48326
48326
  var fE = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI4LjEuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHdpZHRoPSIyMHB4IiBoZWlnaHQ9IjgwcHgiIHZpZXdCb3g9IjAgMCAyMCA4MCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjAgODAiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8cGF0aCBmaWxsPSIjODY4Njg2IiBkPSJNNS43LDEwLjRjMCwwLjEsMC4xLDAuMywwLjIsMC40QzYsMTAuOSw2LjEsMTEsNi4zLDExaDMuNHYzLjRjMCwwLjEsMC4xLDAuMywwLjIsMC40CgljMC4xLDAuMSwwLjIsMC4yLDAuNCwwLjJjMC4zLDAsMC41LTAuMiwwLjUtMC41di0zLjRoMy40YzAuMywwLDAuNS0wLjIsMC41LTAuNXMtMC4yLTAuNS0wLjUtMC41aC0zLjRWNi43YzAtMC4zLTAuMi0wLjUtMC41LTAuNQoJQzkuOCw2LDkuNiw2LjIsOS42LDYuNXYzLjRINi4yQzUuOSw5LjksNS43LDEwLjEsNS43LDEwLjRMNS43LDEwLjR6Ii8+CjxwYXRoIGZpbGw9IiMzMzcxQjciIGQ9Ik01L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yLTAuNSwwLjV2My40SDYuNAoJQzUuOSw2OS45LDUuNyw3MC4xLDUuNyw3MC40TDUuNyw3MC40eiIvPgo8L3N2Zz4=";
48327
48327
  function cE() {
48328
48328
  var t = _r(), e = t[1];
48329
- return B(co, {
48329
+ return P(co, {
48330
48330
  "aria-label": "Show all Emojis",
48331
48331
  title: "Show all Emojis",
48332
48332
  tabIndex: 0,
@@ -48387,15 +48387,15 @@ function uE() {
48387
48387
  var t = _r(), e = t[0], n = fA(), r = oA();
48388
48388
  e4(n, qa.REACTIONS);
48389
48389
  var i = $r(), a = b2(), o = ei();
48390
- return e ? B("ul", {
48390
+ return e ? P("ul", {
48391
48391
  className: fe(v1.list, !e && uu.hidden),
48392
48392
  ref: n,
48393
48393
  "aria-label": "Reactions"
48394
48394
  }, r.map(function(s) {
48395
48395
  var l = Ul(s);
48396
- return l ? B("li", {
48396
+ return l ? P("li", {
48397
48397
  key: s
48398
- }, B(Xl, {
48398
+ }, P(Xl, {
48399
48399
  emoji: l,
48400
48400
  emojiStyle: i,
48401
48401
  unified: s,
@@ -48404,7 +48404,7 @@ function uE() {
48404
48404
  noBackground: !0,
48405
48405
  getEmojiUrl: o
48406
48406
  })) : null;
48407
- }), a ? B("li", null, B(cE, null)) : null) : null;
48407
+ }), a ? P("li", null, P(cE, null)) : null) : null;
48408
48408
  }
48409
48409
  var v1 = /* @__PURE__ */ Ae.create({
48410
48410
  list: {
@@ -48512,8 +48512,8 @@ function wE() {
48512
48512
  }
48513
48513
  function yE(t) {
48514
48514
  var e = t.categoryEmojis, n = t.topOffset, r = t.onHeightReady, i = t.scrollTop, a = t.isCategoryVisible, o = wE(), s = C2(), l = $r(), c = Hl(), d = c[0], u = F9(), p = ei(), h = !w2(), m = jt(), g = 0, w = e.filter(function(y) {
48515
- var L = u(y), N = o(y), k = N.failedToLoad, A = N.filteredOut, T = N.hidden;
48516
- return !k && !A && !T && !L;
48515
+ var L = u(y), N = o(y), k = N.failedToLoad, A = N.filteredOut, j = N.hidden;
48516
+ return !k && !A && !j && !L;
48517
48517
  }), v = bE(w.length);
48518
48518
  ye(function() {
48519
48519
  v && r(v.categoryHeight);
@@ -48530,10 +48530,10 @@ function yE(t) {
48530
48530
  }, x = w.reduce(function(y, L, N) {
48531
48531
  var k = Xr(L, d), A = mE(v, N);
48532
48532
  if (M(A)) {
48533
- var T, S;
48534
- return g++, YA(L, l, i, (T = (S = m.current) == null ? void 0 : S.clientHeight) != null ? T : 0, n, A, v, p), y;
48533
+ var j, S;
48534
+ return g++, YA(L, l, i, (j = (S = m.current) == null ? void 0 : S.clientHeight) != null ? j : 0, n, A, v, p), y;
48535
48535
  }
48536
- return a ? (y.push(B(Xl, {
48536
+ return a ? (y.push(P(Xl, {
48537
48537
  showVariations: h,
48538
48538
  key: k,
48539
48539
  emoji: L,
@@ -48554,13 +48554,13 @@ function yE(t) {
48554
48554
  }
48555
48555
  function vE(t) {
48556
48556
  var e = t.categoryConfig, n = t.children, r = t.hidden, i = t.hiddenOnSearch, a = t.height, o = Vl(e), s = i2(e);
48557
- return B("li", {
48557
+ return P("li", {
48558
48558
  className: fe(Qf.category, r && uu.hidden, i && Zr.hiddenOnSearch),
48559
48559
  "data-name": o,
48560
48560
  "aria-label": s
48561
- }, B("h2", {
48561
+ }, P("h2", {
48562
48562
  className: fe(Qf.label)
48563
- }, s), B("div", {
48563
+ }, s), P("div", {
48564
48564
  className: fe(Qf.categoryContent),
48565
48565
  style: {
48566
48566
  height: a
@@ -48609,9 +48609,9 @@ function CE() {
48609
48609
  }), l)
48610
48610
  return null;
48611
48611
  var u = t[0], p = e(Vl(u))[0], h = p ? cn(p, o) : "";
48612
- return p ? B("div", {
48612
+ return p ? P("div", {
48613
48613
  ref: d
48614
- }, B(Xl, {
48614
+ }, P(Xl, {
48615
48615
  emoji: p,
48616
48616
  unified: h,
48617
48617
  emojiStyle: n,
@@ -48633,14 +48633,14 @@ function CE() {
48633
48633
  }
48634
48634
  function ME(t) {
48635
48635
  var e = t.scrollTop, n = Mu(), r = oe({}), i = r[0], a = r[1], o = I2(), s = z9(), l = Y2(o.current), c = 0;
48636
- return B("ul", {
48636
+ return P("ul", {
48637
48637
  className: fe(LE.emojiList),
48638
48638
  ref: o
48639
- }, B(CE, null), n.map(function(d) {
48639
+ }, P(CE, null), n.map(function(d) {
48640
48640
  var u = Vl(d), p = c, h = i[u];
48641
- return h && (c += h + l), B(uy, {
48641
+ return h && (c += h + l), P(uy, {
48642
48642
  key: u
48643
- }, B(xE, {
48643
+ }, P(xE, {
48644
48644
  categoryEmojis: s(u),
48645
48645
  categoryConfig: d,
48646
48646
  topOffset: p,
@@ -48662,7 +48662,7 @@ function xE(t) {
48662
48662
  scrollTop: a,
48663
48663
  isCategoryVisible: s.includes(n.category)
48664
48664
  }), c = l.virtualizedCounter, d = l.emojis, u = l.dimensions;
48665
- return B(vE, {
48665
+ return P(vE, {
48666
48666
  categoryConfig: n,
48667
48667
  height: u == null ? void 0 : u.categoryHeight,
48668
48668
  // Indicates that there are no visible emojis
@@ -48687,14 +48687,14 @@ function kE() {
48687
48687
  p && Kl(e.current);
48688
48688
  }, [e, p, t]);
48689
48689
  var h, m;
48690
- return !p && t.current ? l(null) : (h = o(), m = c()), B("div", {
48690
+ return !p && t.current ? l(null) : (h = o(), m = c()), P("div", {
48691
48691
  ref: e,
48692
48692
  className: fe(Bo.variationPicker, s() === Mi.Down && Bo.pointingUp, p && Bo.visible),
48693
48693
  style: {
48694
48694
  top: h
48695
48695
  }
48696
48696
  }, p && r ? [cn(r)].concat(Yl(r)).slice(0, 6).map(function(g) {
48697
- return B(Xl, {
48697
+ return P(Xl, {
48698
48698
  key: g,
48699
48699
  emoji: r,
48700
48700
  unified: g,
@@ -48702,7 +48702,7 @@ function kE() {
48702
48702
  showVariations: !1,
48703
48703
  getEmojiUrl: d
48704
48704
  });
48705
- }) : null, B("div", {
48705
+ }) : null, P("div", {
48706
48706
  className: fe(Bo.pointer),
48707
48707
  style: m
48708
48708
  }));
@@ -48804,10 +48804,10 @@ var Bo = /* @__PURE__ */ Ae.create(/* @__PURE__ */ we({
48804
48804
  })));
48805
48805
  function AE() {
48806
48806
  var t = jt(), e = hE(t);
48807
- return e4(t, qa.PICKER), MA(), B("div", {
48807
+ return e4(t, qa.PICKER), MA(), P("div", {
48808
48808
  className: fe(EE.body, Zr.hiddenOnReactions),
48809
48809
  ref: t
48810
- }, B(kE, null), B(ME, {
48810
+ }, P(kE, null), P(ME, {
48811
48811
  scrollTop: e
48812
48812
  }));
48813
48813
  }
@@ -48889,7 +48889,7 @@ var Fo, _a;
48889
48889
  })(_a || (_a = {}));
48890
48890
  function t4(t) {
48891
48891
  var e = t.children, n = t.className, r = t.style, i = r === void 0 ? {} : r, a = t.direction, o = a === void 0 ? _a.ROW : a;
48892
- return B("div", {
48892
+ return P("div", {
48893
48893
  style: we({}, i),
48894
48894
  className: fe(C1.flex, n, C1[o])
48895
48895
  }, e);
@@ -48905,7 +48905,7 @@ var C1 = /* @__PURE__ */ Ae.create((Fo = {
48905
48905
  }, Fo));
48906
48906
  function RE(t) {
48907
48907
  var e = t.className, n = t.style, r = n === void 0 ? {} : n;
48908
- return B("div", {
48908
+ return P("div", {
48909
48909
  style: we({
48910
48910
  flex: 1
48911
48911
  }, r),
@@ -48914,7 +48914,7 @@ function RE(t) {
48914
48914
  }
48915
48915
  function OE(t) {
48916
48916
  var e = t.children, n = t.className, r = t.style;
48917
- return B("div", {
48917
+ return P("div", {
48918
48918
  style: we({}, r, {
48919
48919
  position: "absolute"
48920
48920
  }),
@@ -48923,7 +48923,7 @@ function OE(t) {
48923
48923
  }
48924
48924
  function _l(t) {
48925
48925
  var e = t.children, n = t.className, r = t.style;
48926
- return B("div", {
48926
+ return P("div", {
48927
48927
  style: we({}, r, {
48928
48928
  position: "relative"
48929
48929
  }),
@@ -48932,7 +48932,7 @@ function _l(t) {
48932
48932
  }
48933
48933
  function zE(t) {
48934
48934
  var e = t.isOpen, n = t.onClick, r = t.isActive, i = t.skinToneVariation, a = t.style;
48935
- return B(co, {
48935
+ return P(co, {
48936
48936
  style: a,
48937
48937
  onClick: n,
48938
48938
  className: fe("epr-tone-" + i, Gf.tone, !e && Gf.closedTone, r && Gf.active),
@@ -48990,16 +48990,16 @@ var Gf = /* @__PURE__ */ Ae.create({
48990
48990
  }
48991
48991
  }), la = 28;
48992
48992
  function PE() {
48993
- return B(_l, {
48993
+ return P(_l, {
48994
48994
  style: {
48995
48995
  height: la
48996
48996
  }
48997
- }, B(OE, {
48997
+ }, P(OE, {
48998
48998
  style: {
48999
48999
  bottom: 0,
49000
49000
  right: 0
49001
49001
  }
49002
- }, B(n4, {
49002
+ }, P(n4, {
49003
49003
  direction: $a.VERTICAL
49004
49004
  })));
49005
49005
  }
@@ -49008,7 +49008,7 @@ function n4(t) {
49008
49008
  if (i)
49009
49009
  return null;
49010
49010
  var m = la * el.length + "px", g = o ? m : la + "px", w = n === $a.VERTICAL;
49011
- return B(_l, {
49011
+ return P(_l, {
49012
49012
  className: fe(ta.skinTones, w && ta.vertical, o && ta.open, w && o && ta.verticalShadow),
49013
49013
  style: w ? {
49014
49014
  flexBasis: g,
@@ -49016,12 +49016,12 @@ function n4(t) {
49016
49016
  } : {
49017
49017
  flexBasis: g
49018
49018
  }
49019
- }, B("div", {
49019
+ }, P("div", {
49020
49020
  className: fe(ta.select),
49021
49021
  ref: r
49022
49022
  }, el.map(function(v, M) {
49023
49023
  var x = v === c;
49024
- return B(zE, {
49024
+ return P(zE, {
49025
49025
  key: v,
49026
49026
  skinToneVariation: v,
49027
49027
  isOpen: o,
@@ -49078,35 +49078,35 @@ var ta = /* @__PURE__ */ Ae.create({
49078
49078
  });
49079
49079
  function BE() {
49080
49080
  var t = y2(), e = P2(), n = _r(), r = n[0];
49081
- return t.showPreview ? B(t4, {
49081
+ return t.showPreview ? P(t4, {
49082
49082
  className: fe(Na.preview, Zr.hiddenOnReactions, r && Na.hideOnReactions)
49083
- }, B(FE, null), B(RE, null), e ? B(PE, null) : null) : null;
49083
+ }, P(FE, null), P(RE, null), e ? P(PE, null) : null) : null;
49084
49084
  }
49085
49085
  function FE() {
49086
49086
  var t, e = y2(), n = oe(null), r = n[0], i = n[1], a = $r(), o = Yi(), s = o[0], l = ei(), c = Vi(), d = c.emojiByUnified;
49087
49087
  jE(e.showPreview, i);
49088
49088
  var u = d((t = r == null ? void 0 : r.unified) != null ? t : r == null ? void 0 : r.originalUnified), p = u != null && r != null;
49089
- return B(h, null);
49089
+ return P(h, null);
49090
49090
  function h() {
49091
49091
  var m = s ?? d(e.defaultEmoji);
49092
49092
  if (!m)
49093
49093
  return null;
49094
49094
  var g = s ? f1(s) : e.defaultCaption;
49095
- return B(ld, null, B("div", null, p ? B(Jc, {
49095
+ return P(ld, null, P("div", null, p ? P(Jc, {
49096
49096
  unified: r == null ? void 0 : r.unified,
49097
49097
  emoji: u,
49098
49098
  emojiStyle: a,
49099
49099
  size: 45,
49100
49100
  getEmojiUrl: l,
49101
49101
  className: fe(Na.emoji)
49102
- }) : m ? B(Jc, {
49102
+ }) : m ? P(Jc, {
49103
49103
  unified: cn(m),
49104
49104
  emoji: m,
49105
49105
  emojiStyle: a,
49106
49106
  size: 45,
49107
49107
  getEmojiUrl: l,
49108
49108
  className: fe(Na.emoji)
49109
- }) : null), B("div", {
49109
+ }) : null), P("div", {
49110
49110
  className: fe(Na.label)
49111
49111
  }, p ? f1(u) : g));
49112
49112
  }
@@ -49197,7 +49197,7 @@ function WE() {
49197
49197
  var HE = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjMuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2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IiLz4KCQk8ZWxsaXBzZSBmaWxsPSIjODY4Njg2IiBjeD0iMjcuNiIgY3k9IjkuNyIgcng9IjAuNyIgcnk9IjAuNyIvPgoJCTxlbGxpcHNlIGZpbGw9IiM4Njg2ODYiIGN4PSIzMi40IiBjeT0iOS43IiByeD0iMC43IiByeT0iMC43Ii8+Cgk8L2c+CjwvZz4KPC9zdmc+";
49198
49198
  function QE(t) {
49199
49199
  var e, n, r = t.isActiveCategory, i = t.category, a = t.allowNavigation, o = t.categoryConfig, s = t.onClick, l = t.customIcon, c = (e = o.icon) != null ? e : l, d = c != null;
49200
- return B(co, {
49200
+ return P(co, {
49201
49201
  tabIndex: a ? 0 : -1,
49202
49202
  className: fe(L1.catBtn, Zr.categoryBtn, d ? L1.customIcon : "epr-icn-" + i, (n = {}, n[de.active] = r, n)),
49203
49203
  onClick: s,
@@ -49289,7 +49289,7 @@ function JE() {
49289
49289
  setVisibleCategories: i
49290
49290
  });
49291
49291
  var o = Ql(), s = Mu(), l = q9(), c = Lu(), d = WE();
49292
- return B("div", {
49292
+ return P("div", {
49293
49293
  className: fe(KE.nav),
49294
49294
  role: "tablist",
49295
49295
  "aria-label": "Category navigation",
@@ -49300,7 +49300,7 @@ function JE() {
49300
49300
  if (tE(u) && d)
49301
49301
  return null;
49302
49302
  var m = !o && !h;
49303
- return B(QE, {
49303
+ return P(QE, {
49304
49304
  key: p,
49305
49305
  category: p,
49306
49306
  isActiveCategory: h,
@@ -49340,12 +49340,12 @@ var KE = /* @__PURE__ */ Ae.create({
49340
49340
  }), r4 = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjMuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWV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QsMC4xNSwwLjM3LDAuMTVjMC4xNCwwLDAuMjctMC4wNSwwLjM3LTAuMTVjMC4yMS0wLjIxLDAuMjEtMC41NCwwLTAuNzVsLTIuNDMtMi40M0wxMy4zMiw2OAoJYzAuMjEtMC4yMSwwLjIxLTAuNTQsMC0wLjc1Yy0wLjIxLTAuMjEtMC41NC0wLjIxLTAuNzUsMGwtMi40MiwyLjQybC0yLjQxLTIuNDFjLTAuMjEtMC4yMS0wLjU0LTAuMjEtMC43NSwwCgljLTAuMjEsMC4yMS0wLjIxLDAuNTQsMCwwLjc1bDIuNDEsMi40MWwtMi40MiwyLjQyQzYuNzcsNzMuMDUsNi43Nyw3My4zOSw2Ljk4LDczLjU5TDYuOTgsNzMuNTl6Ii8+CjxwYXRoIGZpbGw9IiM2QUE5REQiIGQ9Ik0xMC4xNSw3OC40M2M0LjQxLDAsOC0zLjU5LDgtOGMwLTQuNDEtMy41OS04LTgtOGMtNC40MSwwLTgsMy41OS04LDhDMi4xNSw3NC44NCw1Ljc0LDc4LjQzLDEwLjE1LDc4LjQzegoJIE0xMC4xNSw2My40OWMzLjgzLDAsNi45NCwzLjExLDYuOTQsNi45NGMwLDMuODMtMy4xMSw2Ljk0LTYuOTQsNi45NGMtMy44MywwLTYuOTQtMy4xMS02Ljk0LTYuOTQKCUMzLjIxLDY2LjYsNi4zMyw2My40OSwxMC4xNSw2My40OUwxMC4xNSw2My40OXoiLz4KPC9zdmc+";
49341
49341
  function qE() {
49342
49342
  var t = O2(), e = G9();
49343
- return B(co, {
49343
+ return P(co, {
49344
49344
  className: fe(N1.btnClearSearch, Zr.visibleOnSearchOnly),
49345
49345
  onClick: t,
49346
49346
  "aria-label": e,
49347
49347
  title: e
49348
- }, B("div", {
49348
+ }, P("div", {
49349
49349
  className: fe(N1.icnClearnSearch)
49350
49350
  }));
49351
49351
  }
@@ -49395,7 +49395,7 @@ var ZE = {
49395
49395
  backgroundPositionY: "-40px"
49396
49396
  }), /* @__PURE__ */ ar("btnClearS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IzLDEyLjcyeiIvPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZmlsbD0iI0MwQzBCRiIgZD0iTTEyLDI4LjgxYzAsMi4wOC0xLjY4LDMuNzYtMy43NiwzLjc2Yy0yLjA4LDAtMy43Ni0xLjY4LTMuNzYtMy43NgoJYzAtMi4wOCwxLjY4LTMuNzYsMy43Ni0zLjc2QzEwLjMyLDI1LjA1LDEyLDI2LjczLDEyLDI4LjgxeiBNMTEuMjMsMzIuNzJjLTAuODMsMC42NC0xLjg3LDEuMDEtMi45OSwxLjAxCgljLTIuNzIsMC00LjkyLTIuMi00LjkyLTQuOTJjMC0yLjcyLDIuMi00LjkyLDQuOTItNC45MmMyLjcyLDAsNC45MiwyLjIsNC45Miw0LjkyYzAsMS4xMy0wLjM4LDIuMTYtMS4wMSwyLjk5bDMuOTQsMy45MwoJYzAuMjUsMC4yNSwwLjI1LDAuNjYsMCwwLjkyYy0wLjI1LDAuMjUtMC42NiwwLjI1LTAuOTIsMEwxMS4yMywzMi43MnoiLz4KPC9zdmc+";
49397
49397
  function _E() {
49398
- return B("div", {
49398
+ return P("div", {
49399
49399
  className: fe($E.icnSearch)
49400
49400
  });
49401
49401
  }
@@ -49419,15 +49419,15 @@ var $E = /* @__PURE__ */ Ae.create(/* @__PURE__ */ we({
49419
49419
  })));
49420
49420
  function eT() {
49421
49421
  var t = M2(), e = ku();
49422
- return t ? null : B(t4, {
49422
+ return t ? null : P(t4, {
49423
49423
  className: fe(Xo.overlay)
49424
- }, B(tT, null), e ? B(n4, null) : null);
49424
+ }, P(tT, null), e ? P(n4, null) : null);
49425
49425
  }
49426
49426
  function tT() {
49427
49427
  var t = ti(), e = ur(), n = Q9(), r = K9(), i = kA(), a = i.statusSearchResults, o = i.searchTerm, s = i.onChange, l = e == null ? void 0 : e.current, c = l == null ? void 0 : l.value;
49428
- return B(_l, {
49428
+ return P(_l, {
49429
49429
  className: fe(Xo.searchContainer)
49430
- }, B("input", {
49430
+ }, P("input", {
49431
49431
  // eslint-disable-next-line jsx-a11y/no-autofocus
49432
49432
  autoFocus: r,
49433
49433
  "aria-label": "Type to search for an emoji",
@@ -49441,13 +49441,13 @@ function tT() {
49441
49441
  s((p = u == null || (h = u.target) == null ? void 0 : h.value) != null ? p : c);
49442
49442
  },
49443
49443
  ref: e
49444
- }), o ? B("div", {
49444
+ }), o ? P("div", {
49445
49445
  role: "status",
49446
49446
  className: fe("epr-status-search-results", Xo.visuallyHidden),
49447
49447
  "aria-live": "polite",
49448
49448
  id: "epr-search-id",
49449
49449
  "aria-atomic": "true"
49450
- }, a) : null, B(_E, null), B(qE, null));
49450
+ }, a) : null, P(_E, null), P(qE, null));
49451
49451
  }
49452
49452
  var Xo = /* @__PURE__ */ Ae.create(/* @__PURE__ */ we({
49453
49453
  overlay: {
@@ -49530,26 +49530,26 @@ var Xo = /* @__PURE__ */ Ae.create(/* @__PURE__ */ we({
49530
49530
  }
49531
49531
  })));
49532
49532
  function nT() {
49533
- return B(_l, {
49533
+ return P(_l, {
49534
49534
  className: fe("epr-header", Zr.hiddenOnReactions)
49535
- }, B(eT, null), B(JE, null));
49535
+ }, P(eT, null), P(JE, null));
49536
49536
  }
49537
49537
  function rT(t) {
49538
- return B(lA, null, B(i9, {
49538
+ return P(lA, null, P(i9, {
49539
49539
  nonce: t.nonce
49540
- }), B(k9, Object.assign({}, t), B(O9, null, B(iT, null))));
49540
+ }), P(k9, Object.assign({}, t), P(O9, null, P(iT, null))));
49541
49541
  }
49542
49542
  function iT() {
49543
49543
  var t = _r(), e = t[0], n = b2(), r = oe(!e), i = r[0], a = r[1], o = X9();
49544
49544
  return ye(function() {
49545
49545
  e && !n || i || a(!0);
49546
- }, [i, n, e]), o ? B(QA, null, B(uE, null), B(aT, {
49546
+ }, [i, n, e]), o ? P(QA, null, P(uE, null), P(aT, {
49547
49547
  renderAll: i
49548
49548
  })) : null;
49549
49549
  }
49550
49550
  function aT(t) {
49551
49551
  var e = t.renderAll;
49552
- return e ? B(ld, null, B(nT, null), B(AE, null), B(BE, null)) : null;
49552
+ return e ? P(ld, null, P(nT, null), P(AE, null), P(BE, null)) : null;
49553
49553
  }
49554
49554
  var oT = /* @__PURE__ */ sd(rT, _b), sT = /* @__PURE__ */ (function(t) {
49555
49555
  n9(e, t);
@@ -49577,9 +49577,9 @@ function Kc(t) {
49577
49577
  onReactionClick: t.onReactionClick,
49578
49578
  onSkinToneChange: t.onSkinToneChange
49579
49579
  });
49580
- return B(sT, null, B(m2.Provider, {
49580
+ return P(sT, null, P(m2.Provider, {
49581
49581
  value: e
49582
- }, B(oT, Object.assign({}, t))));
49582
+ }, P(oT, Object.assign({}, t))));
49583
49583
  }
49584
49584
  const lT = ({ role: t }) => {
49585
49585
  const e = {
@@ -49590,7 +49590,7 @@ const lT = ({ role: t }) => {
49590
49590
  return /* @__PURE__ */ f(he, { variant: "outline", className: C("text-[10px] h-5 px-1.5 font-medium border-0", r), children: n });
49591
49591
  }, fT = ({ editor: t, visible: e }) => !t || !e ? null : /* @__PURE__ */ b("div", { className: "flex items-center gap-1 border-b p-1 bg-muted/20 animate-in slide-in-from-bottom-2 duration-200", children: [
49592
49592
  /* @__PURE__ */ f(
49593
- V,
49593
+ F,
49594
49594
  {
49595
49595
  variant: "ghost",
49596
49596
  size: "icon",
@@ -49601,7 +49601,7 @@ const lT = ({ role: t }) => {
49601
49601
  }
49602
49602
  ),
49603
49603
  /* @__PURE__ */ f(
49604
- V,
49604
+ F,
49605
49605
  {
49606
49606
  variant: "ghost",
49607
49607
  size: "icon",
@@ -49612,7 +49612,7 @@ const lT = ({ role: t }) => {
49612
49612
  }
49613
49613
  ),
49614
49614
  /* @__PURE__ */ f(
49615
- V,
49615
+ F,
49616
49616
  {
49617
49617
  variant: "ghost",
49618
49618
  size: "icon",
@@ -49624,7 +49624,7 @@ const lT = ({ role: t }) => {
49624
49624
  ),
49625
49625
  /* @__PURE__ */ f(xr, { orientation: "vertical", className: "h-4 mx-1" }),
49626
49626
  /* @__PURE__ */ f(
49627
- V,
49627
+ F,
49628
49628
  {
49629
49629
  variant: "ghost",
49630
49630
  size: "icon",
@@ -49634,7 +49634,7 @@ const lT = ({ role: t }) => {
49634
49634
  }
49635
49635
  ),
49636
49636
  /* @__PURE__ */ f(
49637
- V,
49637
+ F,
49638
49638
  {
49639
49639
  variant: "ghost",
49640
49640
  size: "icon",
@@ -49645,7 +49645,7 @@ const lT = ({ role: t }) => {
49645
49645
  ),
49646
49646
  /* @__PURE__ */ f(xr, { orientation: "vertical", className: "h-4 mx-1" }),
49647
49647
  /* @__PURE__ */ f(
49648
- V,
49648
+ F,
49649
49649
  {
49650
49650
  variant: "ghost",
49651
49651
  size: "icon",
@@ -49775,7 +49775,7 @@ const lT = ({ role: t }) => {
49775
49775
  /* @__PURE__ */ b("div", { className: "flex items-center gap-2", children: [
49776
49776
  /* @__PURE__ */ b(mt, { children: [
49777
49777
  /* @__PURE__ */ f(gt, { asChild: !0, children: /* @__PURE__ */ f(
49778
- V,
49778
+ F,
49779
49779
  {
49780
49780
  variant: "ghost",
49781
49781
  size: "icon",
@@ -49792,7 +49792,7 @@ const lT = ({ role: t }) => {
49792
49792
  /* @__PURE__ */ f("div", { className: "w-px h-4 bg-border mx-1" }),
49793
49793
  /* @__PURE__ */ b(it, { children: [
49794
49794
  /* @__PURE__ */ f(Ze, { asChild: !0, children: /* @__PURE__ */ f(
49795
- V,
49795
+ F,
49796
49796
  {
49797
49797
  variant: "ghost",
49798
49798
  size: "icon",
@@ -49821,7 +49821,7 @@ const lT = ({ role: t }) => {
49821
49821
  ),
49822
49822
  /* @__PURE__ */ b(mt, { children: [
49823
49823
  /* @__PURE__ */ f(gt, { asChild: !0, children: /* @__PURE__ */ f(
49824
- V,
49824
+ F,
49825
49825
  {
49826
49826
  variant: "ghost",
49827
49827
  size: "icon",
@@ -49837,7 +49837,7 @@ const lT = ({ role: t }) => {
49837
49837
  ] }),
49838
49838
  /* @__PURE__ */ b(mt, { children: [
49839
49839
  /* @__PURE__ */ f(gt, { asChild: !0, children: /* @__PURE__ */ b(
49840
- V,
49840
+ F,
49841
49841
  {
49842
49842
  variant: "ghost",
49843
49843
  size: "sm",
@@ -49856,7 +49856,7 @@ const lT = ({ role: t }) => {
49856
49856
  ] })
49857
49857
  ] }),
49858
49858
  /* @__PURE__ */ b(
49859
- V,
49859
+ F,
49860
49860
  {
49861
49861
  size: "sm",
49862
49862
  onClick: w,
@@ -49897,7 +49897,7 @@ const lT = ({ role: t }) => {
49897
49897
  /* @__PURE__ */ b("div", { className: "flex items-center gap-2 opacity-0 group-hover:opacity-100 transition-opacity", children: [
49898
49898
  /* @__PURE__ */ b(it, { children: [
49899
49899
  /* @__PURE__ */ f(Ze, { asChild: !0, children: /* @__PURE__ */ f(
49900
- V,
49900
+ F,
49901
49901
  {
49902
49902
  variant: "ghost",
49903
49903
  size: "icon",
@@ -49915,7 +49915,7 @@ const lT = ({ role: t }) => {
49915
49915
  ) })
49916
49916
  ] }),
49917
49917
  n && /* @__PURE__ */ f(
49918
- V,
49918
+ F,
49919
49919
  {
49920
49920
  variant: "ghost",
49921
49921
  size: "icon",
@@ -49970,7 +49970,7 @@ const lT = ({ role: t }) => {
49970
49970
  )),
49971
49971
  r && /* @__PURE__ */ b(it, { children: [
49972
49972
  /* @__PURE__ */ f(Ze, { asChild: !0, children: /* @__PURE__ */ f(
49973
- V,
49973
+ F,
49974
49974
  {
49975
49975
  variant: "ghost",
49976
49976
  size: "icon",
@@ -51085,7 +51085,7 @@ function q7({
51085
51085
  /* @__PURE__ */ f("span", { children: "Ações do Documento" }),
51086
51086
  /* @__PURE__ */ b("div", { className: "flex gap-2", children: [
51087
51087
  /* @__PURE__ */ b(
51088
- V,
51088
+ F,
51089
51089
  {
51090
51090
  variant: "outline",
51091
51091
  size: "sm",
@@ -51098,7 +51098,7 @@ function q7({
51098
51098
  }
51099
51099
  ),
51100
51100
  /* @__PURE__ */ b(
51101
- V,
51101
+ F,
51102
51102
  {
51103
51103
  variant: "default",
51104
51104
  size: "sm",
@@ -51206,52 +51206,52 @@ const Zc = I.forwardRef(
51206
51206
  readOnly: y,
51207
51207
  ...L
51208
51208
  }, N) => {
51209
- const [k, A] = I.useState(a), [T, S] = I.useState(""), [D, U] = I.useState(!1), Y = I.useRef(null), F = i !== void 0 ? i : k, R = I.useCallback((E) => u ? new Intl.NumberFormat(p, u).format(E) : E.toFixed(d), [u, p, d]), O = (E) => {
51210
- const ee = E.replace(/[^\d,.-]/g, "").replace(",", "."), ve = parseFloat(ee);
51209
+ const [k, A] = I.useState(a), [j, S] = I.useState(""), [R, Y] = I.useState(!1), V = I.useRef(null), B = i !== void 0 ? i : k, H = I.useCallback((T) => u ? new Intl.NumberFormat(p, u).format(T) : T.toFixed(d), [u, p, d]), E = (T) => {
51210
+ const te = T.replace(/[^\d,.-]/g, "").replace(",", "."), ve = parseFloat(te);
51211
51211
  return isNaN(ve) ? 0 : ve;
51212
- }, G = (E) => g ? Math.min(Math.max(E, s), l) : E, ne = I.useCallback((E, Q = !1) => {
51213
- const ee = Q ? G(E) : E;
51214
- i === void 0 && A(ee), o && o(ee);
51212
+ }, U = (T) => g ? Math.min(Math.max(T, s), l) : T, _ = I.useCallback((T, G = !1) => {
51213
+ const te = G ? U(T) : T;
51214
+ i === void 0 && A(te), o && o(te);
51215
51215
  }, [i, o, s, l, g]);
51216
51216
  I.useEffect(() => {
51217
- D || S(R(F));
51218
- }, [F, R, D]);
51219
- const H = () => {
51217
+ R || S(H(B));
51218
+ }, [B, H, R]);
51219
+ const Q = () => {
51220
51220
  if (x || y) return;
51221
- const E = F + c;
51222
- E <= l && ne(E);
51221
+ const T = B + c;
51222
+ T <= l && _(T);
51223
51223
  }, pe = () => {
51224
51224
  if (x || y) return;
51225
- const E = F - c;
51226
- E >= s && ne(E);
51227
- }, me = (E) => {
51228
- const ee = E.target.value.replace(/[^\d,.-]/g, "");
51229
- S(ee);
51230
- const ve = O(ee);
51231
- ne(ve, !1);
51232
- }, Ee = (E) => {
51233
- if (U(!1), m) {
51234
- const Q = G(F);
51235
- ne(Q, !1), S(R(Q));
51225
+ const T = B - c;
51226
+ T >= s && _(T);
51227
+ }, me = (T) => {
51228
+ const te = T.target.value.replace(/[^\d,.-]/g, "");
51229
+ S(te);
51230
+ const ve = E(te);
51231
+ _(ve, !1);
51232
+ }, Ee = (T) => {
51233
+ if (Y(!1), m) {
51234
+ const G = U(B);
51235
+ _(G, !1), S(H(G));
51236
51236
  } else
51237
- S(R(F));
51238
- L.onBlur && L.onBlur(E);
51239
- }, J = (E) => {
51240
- U(!0), S(F.toString()), E.target.select(), L.onFocus && L.onFocus(E);
51241
- }, X = (E) => {
51242
- x || y || (E.key === "ArrowUp" ? (E.preventDefault(), H()) : E.key === "ArrowDown" && (E.preventDefault(), pe()), L.onKeyDown && L.onKeyDown(E));
51243
- }, ie = (E) => {
51244
- !h || x || y || !D || (E.preventDefault(), E.deltaY < 0 ? H() : E.deltaY > 0 && pe());
51237
+ S(H(B));
51238
+ L.onBlur && L.onBlur(T);
51239
+ }, J = (T) => {
51240
+ Y(!0), S(B.toString()), T.target.select(), L.onFocus && L.onFocus(T);
51241
+ }, X = (T) => {
51242
+ x || y || (T.key === "ArrowUp" ? (T.preventDefault(), Q()) : T.key === "ArrowDown" && (T.preventDefault(), pe()), L.onKeyDown && L.onKeyDown(T));
51243
+ }, ie = (T) => {
51244
+ !h || x || y || !R || (T.preventDefault(), T.deltaY < 0 ? Q() : T.deltaY > 0 && pe());
51245
51245
  };
51246
- I.useImperativeHandle(N, () => Y.current);
51247
- const te = () => {
51246
+ I.useImperativeHandle(N, () => V.current);
51247
+ const ne = () => {
51248
51248
  if (!w) return null;
51249
- const E = /* @__PURE__ */ f(
51249
+ const T = /* @__PURE__ */ f(
51250
51250
  "button",
51251
51251
  {
51252
51252
  type: "button",
51253
- onClick: H,
51254
- disabled: x || y || F >= l,
51253
+ onClick: Q,
51254
+ disabled: x || y || B >= l,
51255
51255
  tabIndex: -1,
51256
51256
  "aria-label": "Increment",
51257
51257
  className: C(
@@ -51265,12 +51265,12 @@ const Zc = I.forwardRef(
51265
51265
  children: v === "vertical" ? /* @__PURE__ */ f(vw, { className: "h-3 w-3" }) : /* @__PURE__ */ f(or, { className: "h-4 w-4" })
51266
51266
  },
51267
51267
  "inc"
51268
- ), Q = /* @__PURE__ */ f(
51268
+ ), G = /* @__PURE__ */ f(
51269
51269
  "button",
51270
51270
  {
51271
51271
  type: "button",
51272
51272
  onClick: pe,
51273
- disabled: x || y || F <= s,
51273
+ disabled: x || y || B <= s,
51274
51274
  tabIndex: -1,
51275
51275
  "aria-label": "Decrement",
51276
51276
  className: C(
@@ -51294,20 +51294,20 @@ const Zc = I.forwardRef(
51294
51294
  M === "right" ? "order-2 border-l border-input rounded-r-md" : "order-[-1] border-r border-input rounded-l-md"
51295
51295
  ),
51296
51296
  children: [
51297
- E,
51298
- Q
51297
+ T,
51298
+ G
51299
51299
  ]
51300
51300
  }
51301
51301
  );
51302
51302
  if (v === "horizontal")
51303
- return [Q, E];
51303
+ return [G, T];
51304
51304
  };
51305
51305
  return v === "horizontal" && w ? /* @__PURE__ */ b("div", { className: C("inline-flex items-center w-full", n), style: r, children: [
51306
- te(),
51306
+ ne(),
51307
51307
  /* @__PURE__ */ f(
51308
51308
  "input",
51309
51309
  {
51310
- ref: Y,
51310
+ ref: V,
51311
51311
  type: "text",
51312
51312
  inputMode: "decimal",
51313
51313
  "data-slot": "input",
@@ -51318,7 +51318,7 @@ const Zc = I.forwardRef(
51318
51318
  "text-center tabular-nums",
51319
51319
  t
51320
51320
  ),
51321
- value: T,
51321
+ value: j,
51322
51322
  onChange: me,
51323
51323
  onBlur: Ee,
51324
51324
  onFocus: J,
@@ -51328,7 +51328,7 @@ const Zc = I.forwardRef(
51328
51328
  readOnly: y,
51329
51329
  "aria-valuemin": s,
51330
51330
  "aria-valuemax": l,
51331
- "aria-valuenow": F,
51331
+ "aria-valuenow": B,
51332
51332
  role: "spinbutton",
51333
51333
  ...L
51334
51334
  }
@@ -51345,7 +51345,7 @@ const Zc = I.forwardRef(
51345
51345
  /* @__PURE__ */ f(
51346
51346
  "input",
51347
51347
  {
51348
- ref: Y,
51348
+ ref: V,
51349
51349
  type: "text",
51350
51350
  inputMode: "decimal",
51351
51351
  "data-slot": "input",
@@ -51360,7 +51360,7 @@ const Zc = I.forwardRef(
51360
51360
  e,
51361
51361
  t
51362
51362
  ),
51363
- value: T,
51363
+ value: j,
51364
51364
  onChange: me,
51365
51365
  onBlur: Ee,
51366
51366
  onFocus: J,
@@ -51370,12 +51370,12 @@ const Zc = I.forwardRef(
51370
51370
  readOnly: y,
51371
51371
  "aria-valuemin": s,
51372
51372
  "aria-valuemax": l,
51373
- "aria-valuenow": F,
51373
+ "aria-valuenow": B,
51374
51374
  role: "spinbutton",
51375
51375
  ...L
51376
51376
  }
51377
51377
  ),
51378
- te()
51378
+ ne()
51379
51379
  ]
51380
51380
  }
51381
51381
  );
@@ -51471,7 +51471,7 @@ function Z7({
51471
51471
  ...i
51472
51472
  }) {
51473
51473
  return /* @__PURE__ */ f(
51474
- V,
51474
+ F,
51475
51475
  {
51476
51476
  "data-slot": "input-group-button",
51477
51477
  type: r,
@@ -51635,7 +51635,7 @@ function MT({
51635
51635
  id: w,
51636
51636
  name: v
51637
51637
  }) {
51638
- const [M, x] = I.useState(!1), [y, L] = I.useState(""), [N, k] = I.useState(!1), A = u ? `${o} HH:mm` : o, T = I.useMemo(() => u ? [
51638
+ const [M, x] = I.useState(!1), [y, L] = I.useState(""), [N, k] = I.useState(!1), A = u ? `${o} HH:mm` : o, j = I.useMemo(() => u ? [
51639
51639
  "dd/MM/yyyy HH:mm",
51640
51640
  "dd/MM/yy HH:mm",
51641
51641
  "d/M/yyyy HH:mm",
@@ -51653,76 +51653,76 @@ function MT({
51653
51653
  } else
51654
51654
  L(""), k(!1);
51655
51655
  }, [t, A, s]);
51656
- const S = I.useMemo(() => [...g ? CT() : [], ...m || []], [m, g]), D = I.useMemo(() => {
51656
+ const S = I.useMemo(() => [...g ? CT() : [], ...m || []], [m, g]), R = I.useMemo(() => {
51657
51657
  if (!(t != null && t.from)) return "00:00";
51658
51658
  const J = t.from.getHours().toString().padStart(2, "0"), X = t.from.getMinutes().toString().padStart(2, "0");
51659
51659
  return `${J}:${X}`;
51660
- }, [t == null ? void 0 : t.from]), U = I.useMemo(() => {
51660
+ }, [t == null ? void 0 : t.from]), Y = I.useMemo(() => {
51661
51661
  if (!(t != null && t.to)) return "23:59";
51662
51662
  const J = t.to.getHours().toString().padStart(2, "0"), X = t.to.getMinutes().toString().padStart(2, "0");
51663
51663
  return `${J}:${X}`;
51664
- }, [t == null ? void 0 : t.to]), Y = (J) => {
51664
+ }, [t == null ? void 0 : t.to]), V = (J) => {
51665
51665
  if (!J) {
51666
51666
  e == null || e(void 0);
51667
51667
  return;
51668
51668
  }
51669
51669
  if (u) {
51670
51670
  if (J.from) {
51671
- const [X, ie] = D.split(":").map(Number);
51671
+ const [X, ie] = R.split(":").map(Number);
51672
51672
  J.from.setHours(X, ie, 0, 0);
51673
51673
  }
51674
51674
  if (J.to) {
51675
- const [X, ie] = U.split(":").map(Number);
51675
+ const [X, ie] = Y.split(":").map(Number);
51676
51676
  J.to.setHours(X, ie, 0, 0);
51677
51677
  }
51678
51678
  } else
51679
51679
  J.from && J.from.setHours(0, 0, 0, 0), J.to && J.to.setHours(23, 59, 59, 999);
51680
51680
  e == null || e(J);
51681
- }, F = (J) => {
51681
+ }, B = (J) => {
51682
51682
  if (!(t != null && t.from)) return;
51683
- const X = new Date(t.from), [ie, te] = J.split(":").map(Number);
51684
- X.setHours(ie, te, 0, 0), e == null || e({ ...t, from: X });
51685
- }, R = (J) => {
51683
+ const X = new Date(t.from), [ie, ne] = J.split(":").map(Number);
51684
+ X.setHours(ie, ne, 0, 0), e == null || e({ ...t, from: X });
51685
+ }, H = (J) => {
51686
51686
  if (!(t != null && t.to)) return;
51687
- const X = new Date(t.to), [ie, te] = J.split(":").map(Number);
51688
- X.setHours(ie, te, 0, 0), e == null || e({ ...t, to: X });
51689
- }, O = (J) => {
51687
+ const X = new Date(t.to), [ie, ne] = J.split(":").map(Number);
51688
+ X.setHours(ie, ne, 0, 0), e == null || e({ ...t, to: X });
51689
+ }, E = (J) => {
51690
51690
  const X = {
51691
51691
  from: new Date(J.value.from),
51692
51692
  to: new Date(J.value.to)
51693
51693
  };
51694
51694
  if (u) {
51695
- const [ie, te] = D.split(":").map(Number), [E, Q] = U.split(":").map(Number);
51696
- X.from.setHours(ie, te, 0, 0), X.to.setHours(E, Q, 0, 0);
51695
+ const [ie, ne] = R.split(":").map(Number), [T, G] = Y.split(":").map(Number);
51696
+ X.from.setHours(ie, ne, 0, 0), X.to.setHours(T, G, 0, 0);
51697
51697
  }
51698
51698
  e == null || e(X);
51699
- }, G = (J) => {
51699
+ }, U = (J) => {
51700
51700
  const X = J.trim();
51701
51701
  if (!X) return null;
51702
- for (const ie of T)
51702
+ for (const ie of j)
51703
51703
  try {
51704
- const te = f0(X, ie, /* @__PURE__ */ new Date());
51705
- if (c0(te)) {
51706
- if (i && te < i || a && te > a) continue;
51707
- return te;
51704
+ const ne = f0(X, ie, /* @__PURE__ */ new Date());
51705
+ if (c0(ne)) {
51706
+ if (i && ne < i || a && ne > a) continue;
51707
+ return ne;
51708
51708
  }
51709
51709
  } catch {
51710
51710
  continue;
51711
51711
  }
51712
51712
  return null;
51713
- }, ne = (J) => {
51713
+ }, _ = (J) => {
51714
51714
  const X = J.trim();
51715
51715
  if (!X) return null;
51716
51716
  const ie = ["→", "-", "até", "a"];
51717
- let te = null, E = null;
51718
- for (const Q of ie)
51719
- if (X.includes(Q)) {
51720
- const ee = X.split(Q).map((ve) => ve.trim());
51721
- if (ee.length === 2 && (te = G(ee[0]), E = G(ee[1]), te && E))
51717
+ let ne = null, T = null;
51718
+ for (const G of ie)
51719
+ if (X.includes(G)) {
51720
+ const te = X.split(G).map((ve) => ve.trim());
51721
+ if (te.length === 2 && (ne = U(te[0]), T = U(te[1]), ne && T))
51722
51722
  break;
51723
51723
  }
51724
- return te || (te = G(X), te && (E = new Date(te))), !te || !E ? null : (te > E && ([te, E] = [E, te]), { from: te, to: E });
51725
- }, H = (J) => {
51724
+ return ne || (ne = U(X), ne && (T = new Date(ne))), !ne || !T ? null : (ne > T && ([ne, T] = [T, ne]), { from: ne, to: T });
51725
+ }, Q = (J) => {
51726
51726
  const X = J.target.value;
51727
51727
  L(X), k(!1);
51728
51728
  }, pe = () => {
@@ -51730,7 +51730,7 @@ function MT({
51730
51730
  e == null || e(void 0), k(!1);
51731
51731
  return;
51732
51732
  }
51733
- const J = ne(y);
51733
+ const J = _(y);
51734
51734
  J ? (e == null || e(J), k(!1)) : k(!0);
51735
51735
  }, me = (J) => {
51736
51736
  if (J.key === "Enter")
@@ -51754,7 +51754,7 @@ function MT({
51754
51754
  id: w,
51755
51755
  name: v,
51756
51756
  value: y,
51757
- onChange: H,
51757
+ onChange: Q,
51758
51758
  onBlur: pe,
51759
51759
  onKeyDown: me,
51760
51760
  placeholder: n,
@@ -51769,7 +51769,7 @@ function MT({
51769
51769
  ),
51770
51770
  /* @__PURE__ */ b("div", { className: "absolute inset-y-0 right-0 flex items-center gap-1 pr-1", children: [
51771
51771
  y && !r && /* @__PURE__ */ b(
51772
- V,
51772
+ F,
51773
51773
  {
51774
51774
  type: "button",
51775
51775
  variant: "ghost",
@@ -51784,7 +51784,7 @@ function MT({
51784
51784
  }
51785
51785
  ),
51786
51786
  /* @__PURE__ */ b(
51787
- V,
51787
+ F,
51788
51788
  {
51789
51789
  type: "button",
51790
51790
  variant: "ghost",
@@ -51805,12 +51805,12 @@ function MT({
51805
51805
  S.length > 0 && /* @__PURE__ */ b("div", { className: "border-r p-3 space-y-1 min-w-[140px]", children: [
51806
51806
  /* @__PURE__ */ f("p", { className: "text-xs font-medium text-muted-foreground mb-2", children: "Atalhos" }),
51807
51807
  S.map((J) => /* @__PURE__ */ f(
51808
- V,
51808
+ F,
51809
51809
  {
51810
51810
  variant: "ghost",
51811
51811
  size: "sm",
51812
51812
  className: "w-full justify-start text-sm h-8",
51813
- onClick: () => O(J),
51813
+ onClick: () => E(J),
51814
51814
  children: J.label
51815
51815
  },
51816
51816
  J.label
@@ -51822,7 +51822,7 @@ function MT({
51822
51822
  {
51823
51823
  mode: "range",
51824
51824
  selected: t,
51825
- onSelect: Y,
51825
+ onSelect: V,
51826
51826
  numberOfMonths: d,
51827
51827
  disabled: (J) => !!(i && J < i || a && J > a),
51828
51828
  locale: s,
@@ -51835,8 +51835,8 @@ function MT({
51835
51835
  /* @__PURE__ */ f(
51836
51836
  ss,
51837
51837
  {
51838
- value: D,
51839
- onChange: F,
51838
+ value: R,
51839
+ onChange: B,
51840
51840
  format: p,
51841
51841
  minuteStep: h,
51842
51842
  variant: "select",
@@ -51849,8 +51849,8 @@ function MT({
51849
51849
  /* @__PURE__ */ f(
51850
51850
  ss,
51851
51851
  {
51852
- value: U,
51853
- onChange: R,
51852
+ value: Y,
51853
+ onChange: H,
51854
51854
  format: p,
51855
51855
  minuteStep: h,
51856
51856
  variant: "select",
@@ -51861,7 +51861,7 @@ function MT({
51861
51861
  ] }),
51862
51862
  /* @__PURE__ */ b("div", { className: "border-t p-3 flex justify-end gap-2", children: [
51863
51863
  /* @__PURE__ */ f(
51864
- V,
51864
+ F,
51865
51865
  {
51866
51866
  variant: "outline",
51867
51867
  size: "sm",
@@ -51871,7 +51871,7 @@ function MT({
51871
51871
  children: "Limpar"
51872
51872
  }
51873
51873
  ),
51874
- /* @__PURE__ */ f(V, { size: "sm", onClick: () => x(!1), children: "Confirmar" })
51874
+ /* @__PURE__ */ f(F, { size: "sm", onClick: () => x(!1), children: "Confirmar" })
51875
51875
  ] })
51876
51876
  ] })
51877
51877
  ] }) })
@@ -51992,8 +51992,8 @@ const ct = ({
51992
51992
  e === "full" ? "px-4 py-2" : "px-2 py-1"
51993
51993
  ), children: [
51994
51994
  /* @__PURE__ */ b("div", { className: "flex items-center gap-0.5 mr-2", children: [
51995
- /* @__PURE__ */ f(V, { variant: "ghost", size: "icon", className: "h-8 w-8", onClick: () => t.chain().focus().undo().run(), disabled: !t.can().undo(), children: /* @__PURE__ */ f(Nw, { className: "h-4 w-4" }) }),
51996
- /* @__PURE__ */ f(V, { variant: "ghost", size: "icon", className: "h-8 w-8", onClick: () => t.chain().focus().redo().run(), disabled: !t.can().redo(), children: /* @__PURE__ */ f(kw, { className: "h-4 w-4" }) })
51995
+ /* @__PURE__ */ f(F, { variant: "ghost", size: "icon", className: "h-8 w-8", onClick: () => t.chain().focus().undo().run(), disabled: !t.can().undo(), children: /* @__PURE__ */ f(Nw, { className: "h-4 w-4" }) }),
51996
+ /* @__PURE__ */ f(F, { variant: "ghost", size: "icon", className: "h-8 w-8", onClick: () => t.chain().focus().redo().run(), disabled: !t.can().redo(), children: /* @__PURE__ */ f(kw, { className: "h-4 w-4" }) })
51997
51997
  ] }),
51998
51998
  /* @__PURE__ */ f(xr, { orientation: "vertical", className: "h-6 mx-1" }),
51999
51999
  e === "full" && /* @__PURE__ */ b(Fe, { children: [
@@ -52205,70 +52205,70 @@ function RT({
52205
52205
  ...m
52206
52206
  }, g) {
52207
52207
  const [w, v] = I.useState(null), [M, x] = I.useState(!1), [y, L] = I.useState(!1), [N, k] = I.useState(!1), A = I.useMemo(
52208
- () => e.find((O) => O.value === t),
52208
+ () => e.find((E) => E.value === t),
52209
52209
  [e, t]
52210
- ), T = I.useMemo(
52211
- () => w != null ? e.find((O) => O.value === w) : null,
52210
+ ), j = I.useMemo(
52211
+ () => w != null ? e.find((E) => E.value === w) : null,
52212
52212
  [e, w]
52213
52213
  ), S = I.useCallback(
52214
- (O) => {
52215
- if (O === t) {
52214
+ (E) => {
52215
+ if (E === t) {
52216
52216
  L(!1);
52217
52217
  return;
52218
52218
  }
52219
- v(O), L(!1), d ? D(O) : x(!0);
52219
+ v(E), L(!1), d ? R(E) : x(!0);
52220
52220
  },
52221
52221
  [t, d]
52222
- ), D = I.useCallback(
52223
- async (O) => {
52224
- const G = O ?? w;
52225
- if (G != null) {
52222
+ ), R = I.useCallback(
52223
+ async (E) => {
52224
+ const U = E ?? w;
52225
+ if (U != null) {
52226
52226
  k(!0);
52227
52227
  try {
52228
- await n(G), x(!1), v(null);
52229
- } catch (ne) {
52230
- console.error("Error confirming value change:", ne);
52228
+ await n(U), x(!1), v(null);
52229
+ } catch (_) {
52230
+ console.error("Error confirming value change:", _);
52231
52231
  } finally {
52232
52232
  k(!1);
52233
52233
  }
52234
52234
  }
52235
52235
  },
52236
52236
  [w, n]
52237
- ), U = I.useCallback(() => {
52237
+ ), Y = I.useCallback(() => {
52238
52238
  x(!1), v(null), r == null || r();
52239
- }, [r]), Y = I.useCallback(() => p && A ? p(t, A) : A ? /* @__PURE__ */ b(Fe, { children: [
52239
+ }, [r]), V = I.useCallback(() => p && A ? p(t, A) : A ? /* @__PURE__ */ b(Fe, { children: [
52240
52240
  A.icon,
52241
52241
  A.label
52242
- ] }) : t, [p, t, A]), F = (A == null ? void 0 : A.variant) || a, R = A == null ? void 0 : A.className;
52243
- return i ? /* @__PURE__ */ f("div", { ref: g, className: C("inline-flex", h), ...m, children: /* @__PURE__ */ f(he, { variant: F, className: R, children: Y() }) }) : /* @__PURE__ */ b(Fe, { children: [
52242
+ ] }) : t, [p, t, A]), B = (A == null ? void 0 : A.variant) || a, H = A == null ? void 0 : A.className;
52243
+ return i ? /* @__PURE__ */ f("div", { ref: g, className: C("inline-flex", h), ...m, children: /* @__PURE__ */ f(he, { variant: B, className: H, children: V() }) }) : /* @__PURE__ */ b(Fe, { children: [
52244
52244
  /* @__PURE__ */ f("div", { ref: g, className: C("inline-flex", h), ...m, children: /* @__PURE__ */ b(hl, { open: y, onOpenChange: L, children: [
52245
52245
  /* @__PURE__ */ f(pl, { asChild: !0, disabled: u, children: /* @__PURE__ */ b(
52246
52246
  he,
52247
52247
  {
52248
- variant: F,
52248
+ variant: B,
52249
52249
  className: C(
52250
52250
  "cursor-pointer hover:opacity-80 transition-opacity gap-1.5",
52251
52251
  u && "opacity-50 cursor-not-allowed",
52252
- R
52252
+ H
52253
52253
  ),
52254
52254
  children: [
52255
- Y(),
52255
+ V(),
52256
52256
  !u && /* @__PURE__ */ f(to, { className: "h-3 w-3" })
52257
52257
  ]
52258
52258
  }
52259
52259
  ) }),
52260
- /* @__PURE__ */ f(ml, { align: "start", className: "w-48", children: e.map((O) => /* @__PURE__ */ b(
52260
+ /* @__PURE__ */ f(ml, { align: "start", className: "w-48", children: e.map((E) => /* @__PURE__ */ b(
52261
52261
  yi,
52262
52262
  {
52263
- onClick: () => S(O.value),
52263
+ onClick: () => S(E.value),
52264
52264
  className: "gap-2",
52265
52265
  children: [
52266
- O.icon && /* @__PURE__ */ f("span", { className: "w-4 h-4", children: O.icon }),
52267
- /* @__PURE__ */ f("span", { className: "flex-1", children: O.label }),
52268
- O.value === t && /* @__PURE__ */ f(ol, { className: "h-4 w-4 text-primary" })
52266
+ E.icon && /* @__PURE__ */ f("span", { className: "w-4 h-4", children: E.icon }),
52267
+ /* @__PURE__ */ f("span", { className: "flex-1", children: E.label }),
52268
+ E.value === t && /* @__PURE__ */ f(ol, { className: "h-4 w-4 text-primary" })
52269
52269
  ]
52270
52270
  },
52271
- String(O.value)
52271
+ String(E.value)
52272
52272
  )) })
52273
52273
  ] }) }),
52274
52274
  /* @__PURE__ */ f(bl, { open: M, onOpenChange: x, children: /* @__PURE__ */ b(wl, { children: [
@@ -52276,7 +52276,7 @@ function RT({
52276
52276
  /* @__PURE__ */ f(vl, { children: o }),
52277
52277
  /* @__PURE__ */ f(Cl, { children: s })
52278
52278
  ] }),
52279
- T && /* @__PURE__ */ b("div", { className: "flex items-center gap-3 py-4", children: [
52279
+ j && /* @__PURE__ */ b("div", { className: "flex items-center gap-3 py-4", children: [
52280
52280
  /* @__PURE__ */ b("div", { className: "flex items-center gap-2", children: [
52281
52281
  /* @__PURE__ */ f("span", { className: "text-sm text-muted-foreground", children: "De:" }),
52282
52282
  /* @__PURE__ */ b(he, { variant: (A == null ? void 0 : A.variant) || a, className: A == null ? void 0 : A.className, children: [
@@ -52287,23 +52287,23 @@ function RT({
52287
52287
  /* @__PURE__ */ f("span", { className: "text-muted-foreground", children: "→" }),
52288
52288
  /* @__PURE__ */ b("div", { className: "flex items-center gap-2", children: [
52289
52289
  /* @__PURE__ */ f("span", { className: "text-sm text-muted-foreground", children: "Para:" }),
52290
- /* @__PURE__ */ b(he, { variant: T.variant || a, className: T.className, children: [
52291
- T.icon,
52292
- T.label
52290
+ /* @__PURE__ */ b(he, { variant: j.variant || a, className: j.className, children: [
52291
+ j.icon,
52292
+ j.label
52293
52293
  ] })
52294
52294
  ] })
52295
52295
  ] }),
52296
52296
  /* @__PURE__ */ b(pd, { children: [
52297
52297
  /* @__PURE__ */ f(
52298
- V,
52298
+ F,
52299
52299
  {
52300
52300
  variant: "outline",
52301
- onClick: U,
52301
+ onClick: Y,
52302
52302
  disabled: N,
52303
52303
  children: c
52304
52304
  }
52305
52305
  ),
52306
- /* @__PURE__ */ f(V, { onClick: () => D(), disabled: N, children: N ? "Confirmando..." : l })
52306
+ /* @__PURE__ */ f(F, { onClick: () => R(), disabled: N, children: N ? "Confirmando..." : l })
52307
52307
  ] })
52308
52308
  ] }) })
52309
52309
  ] });
@@ -54886,7 +54886,7 @@ function XD({ day: t, tasks: e, onDropTask: n, onTaskClick: r, onAddClick: i, is
54886
54886
  ] }),
54887
54887
  /* @__PURE__ */ b("div", { className: "flex-1 p-2 space-y-3 overflow-y-auto", children: [
54888
54888
  /* @__PURE__ */ b(
54889
- V,
54889
+ F,
54890
54890
  {
54891
54891
  variant: "outline",
54892
54892
  size: "sm",
@@ -55087,7 +55087,7 @@ function e5({
55087
55087
  c ? "bg-[#7F26BF] text-white" : "text-gray-700"
55088
55088
  ), children: ce(t, "d") }),
55089
55089
  /* @__PURE__ */ f(
55090
- V,
55090
+ F,
55091
55091
  {
55092
55092
  variant: "ghost",
55093
55093
  size: "icon",
@@ -55215,8 +55215,8 @@ function j4({
55215
55215
  ] })
55216
55216
  ] }),
55217
55217
  /* @__PURE__ */ b(pd, { children: [
55218
- /* @__PURE__ */ f(V, { variant: "outline", onClick: e, children: "Cancel" }),
55219
- /* @__PURE__ */ f(V, { className: "bg-[#7F26BF] hover:bg-[#6E21A6]", onClick: s, children: "Save Changes" })
55218
+ /* @__PURE__ */ f(F, { variant: "outline", onClick: e, children: "Cancel" }),
55219
+ /* @__PURE__ */ f(F, { className: "bg-[#7F26BF] hover:bg-[#6E21A6]", onClick: s, children: "Save Changes" })
55220
55220
  ] })
55221
55221
  ] }) });
55222
55222
  }
@@ -55227,12 +55227,12 @@ function D4({
55227
55227
  defaultView: r = "month"
55228
55228
  }) {
55229
55229
  const [i, a] = oe(/* @__PURE__ */ new Date()), [o, s] = oe(r), [l, c] = oe(!0), [d, u] = oe(!1), [p, h] = oe(null), [m, g] = oe(!1), w = Me(() => {
55230
- let S, D;
55230
+ let S, R;
55231
55231
  if (o === "month") {
55232
- const U = rs(i), Y = fd(U);
55233
- S = Ju(U), D = Ku(Y);
55234
- } else o === "week" ? (S = Ju(i), D = Ku(i)) : (S = i, D = i);
55235
- return d0({ start: S, end: D });
55232
+ const Y = rs(i), V = fd(Y);
55233
+ S = Ju(Y), R = Ku(V);
55234
+ } else o === "week" ? (S = Ju(i), R = Ku(i)) : (S = i, R = i);
55235
+ return d0({ start: S, end: R });
55236
55236
  }, [i, o]), v = t.filter((S) => !S.date), M = t.filter((S) => S.date);
55237
55237
  return {
55238
55238
  currentDate: i,
@@ -55254,27 +55254,27 @@ function D4({
55254
55254
  a(o === "month" ? p0(i, 1) : o === "week" ? vo(i, 7) : vo(i, 1));
55255
55255
  },
55256
55256
  handleToday: () => a(/* @__PURE__ */ new Date()),
55257
- handleDropTask: (S, D, U) => {
55258
- const Y = t.find((F) => F.id === S);
55259
- if (Y) {
55260
- let F = new Date(D);
55261
- if (o === "month" || U === "editorial")
55262
- if (Y.date) {
55263
- const O = new Date(Y.date);
55264
- F.setHours(O.getHours(), O.getMinutes());
55257
+ handleDropTask: (S, R, Y) => {
55258
+ const V = t.find((B) => B.id === S);
55259
+ if (V) {
55260
+ let B = new Date(R);
55261
+ if (o === "month" || Y === "editorial")
55262
+ if (V.date) {
55263
+ const E = new Date(V.date);
55264
+ B.setHours(E.getHours(), E.getMinutes());
55265
55265
  } else
55266
- F.setHours(9, 0);
55267
- const R = { ...Y, date: F };
55268
- e(R);
55266
+ B.setHours(9, 0);
55267
+ const H = { ...V, date: B };
55268
+ e(H);
55269
55269
  }
55270
55270
  },
55271
55271
  handleTaskClick: (S) => {
55272
55272
  h(S), g(!1), u(!0);
55273
55273
  },
55274
55274
  handleAddClick: (S) => {
55275
- const D = S || /* @__PURE__ */ new Date();
55276
- u0(D) === 0 && h0(D) === 0 && D.setHours(9, 0), h({
55277
- date: D,
55275
+ const R = S || /* @__PURE__ */ new Date();
55276
+ u0(R) === 0 && h0(R) === 0 && R.setHours(9, 0), h({
55277
+ date: R,
55278
55278
  status: "idea",
55279
55279
  channel: "instagram"
55280
55280
  }), g(!0), u(!0);
@@ -55291,10 +55291,10 @@ function R4({ isOpen: t, setIsOpen: e, tasks: n, onAddClick: r, onTaskClick: i,
55291
55291
  /* @__PURE__ */ f("h3", { className: "font-semibold text-sm text-gray-900", children: "Backlog" }),
55292
55292
  /* @__PURE__ */ f(he, { variant: "secondary", className: "bg-gray-100 text-xs", children: n.length })
55293
55293
  ] }),
55294
- /* @__PURE__ */ f(V, { variant: "ghost", size: "icon", className: "h-6 w-6", onClick: () => e(!1), children: /* @__PURE__ */ f(ad, { size: 16 }) })
55294
+ /* @__PURE__ */ f(F, { variant: "ghost", size: "icon", className: "h-6 w-6", onClick: () => e(!1), children: /* @__PURE__ */ f(ad, { size: 16 }) })
55295
55295
  ] }),
55296
55296
  /* @__PURE__ */ f("div", { className: "px-4 pt-3 bg-white pb-3 border-b space-y-2", children: /* @__PURE__ */ b(
55297
- V,
55297
+ F,
55298
55298
  {
55299
55299
  onClick: r,
55300
55300
  variant: "outline",
@@ -55326,9 +55326,9 @@ function O4({ title: t, onPrev: e, onNext: n, onToday: r, onAdd: i, view: a, set
55326
55326
  return /* @__PURE__ */ b("div", { className: "flex flex-col xl:flex-row items-center justify-between p-4 border-b gap-4 flex-shrink-0 bg-white", children: [
55327
55327
  /* @__PURE__ */ b("div", { className: "flex items-center gap-4 w-full xl:w-auto justify-between xl:justify-start", children: [
55328
55328
  /* @__PURE__ */ b("div", { className: "flex items-center border rounded-md bg-white shadow-sm", children: [
55329
- /* @__PURE__ */ f(V, { variant: "ghost", size: "icon", onClick: e, className: "h-8 w-8 rounded-r-none", children: /* @__PURE__ */ f(al, { className: "h-4 w-4" }) }),
55330
- /* @__PURE__ */ f(V, { variant: "ghost", onClick: r, className: "h-8 px-3 rounded-none border-x text-sm font-medium hover:bg-gray-50", children: "Today" }),
55331
- /* @__PURE__ */ f(V, { variant: "ghost", size: "icon", onClick: n, className: "h-8 w-8 rounded-l-none", children: /* @__PURE__ */ f(Rn, { className: "h-4 w-4" }) })
55329
+ /* @__PURE__ */ f(F, { variant: "ghost", size: "icon", onClick: e, className: "h-8 w-8 rounded-r-none", children: /* @__PURE__ */ f(al, { className: "h-4 w-4" }) }),
55330
+ /* @__PURE__ */ f(F, { variant: "ghost", onClick: r, className: "h-8 px-3 rounded-none border-x text-sm font-medium hover:bg-gray-50", children: "Today" }),
55331
+ /* @__PURE__ */ f(F, { variant: "ghost", size: "icon", onClick: n, className: "h-8 w-8 rounded-l-none", children: /* @__PURE__ */ f(Rn, { className: "h-4 w-4" }) })
55332
55332
  ] }),
55333
55333
  /* @__PURE__ */ f("h2", { className: "text-lg font-bold text-gray-900 whitespace-nowrap", children: t })
55334
55334
  ] }),
@@ -55339,7 +55339,7 @@ function O4({ title: t, onPrev: e, onNext: n, onToday: r, onAdd: i, view: a, set
55339
55339
  /* @__PURE__ */ f(Jf, { value: "day", className: "text-xs", children: "Day" })
55340
55340
  ] }) }),
55341
55341
  /* @__PURE__ */ b(
55342
- V,
55342
+ F,
55343
55343
  {
55344
55344
  variant: "default",
55345
55345
  className: "h-9 px-4 flex-shrink-0",
@@ -55802,12 +55802,12 @@ const n5 = ["DOM", "SEG", "TER", "QUA", "QUI", "SEX", "SAB"], r5 = I.forwardRef(
55802
55802
  const k = ((A = N.assignee) == null ? void 0 : A.name) || "Sem responsável";
55803
55803
  y.has(k) || y.set(k, []), y.get(k).push(N);
55804
55804
  }), Array.from(y.entries()).map(([N, k], A) => {
55805
- var T, S, D;
55805
+ var j, S, R;
55806
55806
  return {
55807
55807
  id: N,
55808
55808
  name: N,
55809
- color: (T = k[0]) != null && T.assignee ? W1[A % W1.length] : "#999",
55810
- initials: ((D = (S = k[0]) == null ? void 0 : S.assignee) == null ? void 0 : D.initials) || "??",
55809
+ color: (j = k[0]) != null && j.assignee ? W1[A % W1.length] : "#999",
55810
+ initials: ((R = (S = k[0]) == null ? void 0 : S.assignee) == null ? void 0 : R.initials) || "??",
55811
55811
  tasks: k
55812
55812
  };
55813
55813
  });
@@ -55835,11 +55835,11 @@ const n5 = ["DOM", "SEG", "TER", "QUA", "QUI", "SEX", "SAB"], r5 = I.forwardRef(
55835
55835
  return /* @__PURE__ */ b("div", { className: "flex flex-col gap-4", children: [
55836
55836
  /* @__PURE__ */ b("div", { className: "flex items-center justify-between", children: [
55837
55837
  /* @__PURE__ */ b("div", { className: "flex items-center gap-2", children: [
55838
- /* @__PURE__ */ f(V, { variant: "ghost", size: "icon", onClick: g, children: /* @__PURE__ */ f(al, { className: "h-4 w-4" }) }),
55838
+ /* @__PURE__ */ f(F, { variant: "ghost", size: "icon", onClick: g, children: /* @__PURE__ */ f(al, { className: "h-4 w-4" }) }),
55839
55839
  /* @__PURE__ */ f("h2", { className: "text-lg font-bold min-w-[200px] text-center", children: ce(l, "MMMM yyyy", { locale: vt }) }),
55840
- /* @__PURE__ */ f(V, { variant: "ghost", size: "icon", onClick: w, children: /* @__PURE__ */ f(Rn, { className: "h-4 w-4" }) })
55840
+ /* @__PURE__ */ f(F, { variant: "ghost", size: "icon", onClick: w, children: /* @__PURE__ */ f(Rn, { className: "h-4 w-4" }) })
55841
55841
  ] }),
55842
- /* @__PURE__ */ f(V, { variant: "outline", size: "sm", onClick: v, children: "Hoje" })
55842
+ /* @__PURE__ */ f(F, { variant: "outline", size: "sm", onClick: v, children: "Hoje" })
55843
55843
  ] }),
55844
55844
  /* @__PURE__ */ f(
55845
55845
  "div",
@@ -56299,11 +56299,11 @@ const s5 = {
56299
56299
  onDuplicate: M,
56300
56300
  className: x
56301
56301
  }, y) => {
56302
- const L = s && new Date(s) < /* @__PURE__ */ new Date(), N = o ? s5[o] : null, k = (T) => {
56303
- const S = T.getDate().toString().padStart(2, "0"), D = (T.getMonth() + 1).toString().padStart(2, "0");
56304
- return `${S}/${D}`;
56305
- }, A = (T) => {
56306
- T.target.closest("button") || T.target.closest("[role='menuitem']") || g == null || g();
56302
+ const L = s && new Date(s) < /* @__PURE__ */ new Date(), N = o ? s5[o] : null, k = (j) => {
56303
+ const S = j.getDate().toString().padStart(2, "0"), R = (j.getMonth() + 1).toString().padStart(2, "0");
56304
+ return `${S}/${R}`;
56305
+ }, A = (j) => {
56306
+ j.target.closest("button") || j.target.closest("[role='menuitem']") || g == null || g();
56307
56307
  };
56308
56308
  return /* @__PURE__ */ b(
56309
56309
  zr,
@@ -56379,7 +56379,7 @@ const s5 = {
56379
56379
  ] }),
56380
56380
  (w || v || M) && /* @__PURE__ */ b(hl, { children: [
56381
56381
  /* @__PURE__ */ f(pl, { asChild: !0, children: /* @__PURE__ */ f(
56382
- V,
56382
+ F,
56383
56383
  {
56384
56384
  variant: "ghost",
56385
56385
  size: "icon",
@@ -56402,19 +56402,19 @@ const s5 = {
56402
56402
  ] })
56403
56403
  ] }),
56404
56404
  i.length > 0 && /* @__PURE__ */ b("div", { className: "flex flex-wrap gap-1 mt-2", children: [
56405
- i.slice(0, h === "compact" ? 2 : 3).map((T) => /* @__PURE__ */ f(
56405
+ i.slice(0, h === "compact" ? 2 : 3).map((j) => /* @__PURE__ */ f(
56406
56406
  he,
56407
56407
  {
56408
56408
  variant: "secondary",
56409
56409
  className: "text-xs",
56410
- style: T.color ? {
56411
- backgroundColor: T.color + "20",
56412
- color: T.color,
56413
- borderColor: T.color + "40"
56410
+ style: j.color ? {
56411
+ backgroundColor: j.color + "20",
56412
+ color: j.color,
56413
+ borderColor: j.color + "40"
56414
56414
  } : void 0,
56415
- children: T.label
56415
+ children: j.label
56416
56416
  },
56417
- T.id
56417
+ j.id
56418
56418
  )),
56419
56419
  i.length > (h === "compact" ? 2 : 3) && /* @__PURE__ */ b(he, { variant: "secondary", className: "text-xs", children: [
56420
56420
  "+",
@@ -56489,10 +56489,10 @@ const s5 = {
56489
56489
  ] })
56490
56490
  ] }),
56491
56491
  a.length > 0 && /* @__PURE__ */ b("div", { className: "flex -space-x-2", children: [
56492
- a.slice(0, 3).map((T) => /* @__PURE__ */ b(en, { className: "h-6 w-6 border-2 border-background", children: [
56493
- T.avatar && /* @__PURE__ */ f(nr, { src: T.avatar, alt: T.name }),
56494
- /* @__PURE__ */ f(tn, { className: "text-xs", children: T.initials || T.name.slice(0, 2).toUpperCase() })
56495
- ] }, T.id)),
56492
+ a.slice(0, 3).map((j) => /* @__PURE__ */ b(en, { className: "h-6 w-6 border-2 border-background", children: [
56493
+ j.avatar && /* @__PURE__ */ f(nr, { src: j.avatar, alt: j.name }),
56494
+ /* @__PURE__ */ f(tn, { className: "text-xs", children: j.initials || j.name.slice(0, 2).toUpperCase() })
56495
+ ] }, j.id)),
56496
56496
  a.length > 3 && /* @__PURE__ */ b("div", { className: "h-6 w-6 rounded-full border-2 border-background bg-muted flex items-center justify-center text-xs", children: [
56497
56497
  "+",
56498
56498
  a.length - 3
@@ -56521,55 +56521,57 @@ function MR({
56521
56521
  onSearch: d,
56522
56522
  className: u
56523
56523
  }) {
56524
- var F;
56525
- const [p, h] = I.useState(!1), [m, g] = I.useState(""), w = I.useRef(null), v = I.useMemo(() => n || (r ? r.flatMap((R) => R.options) : []), [n, r]), M = !!d, x = I.useMemo(() => {
56524
+ var H;
56525
+ const [p, h] = I.useState(!1), [m, g] = I.useState(""), w = I.useRef(null), v = I.useCallback((E) => {
56526
+ E && E.addEventListener("wheel", (U) => U.stopPropagation(), { passive: !0 });
56527
+ }, []), M = I.useMemo(() => n || (r ? r.flatMap((E) => E.options) : []), [n, r]), x = !!d, y = I.useMemo(() => {
56526
56528
  if (!n) return [];
56527
- if (M) return n;
56528
- const R = m.toLowerCase().trim();
56529
- return R ? n.filter(
56530
- (O) => O.label.toLowerCase().includes(R) || O.value.toLowerCase().includes(R)
56529
+ if (x) return n;
56530
+ const E = m.toLowerCase().trim();
56531
+ return E ? n.filter(
56532
+ (U) => U.label.toLowerCase().includes(E) || U.value.toLowerCase().includes(E)
56531
56533
  ) : n;
56532
- }, [n, m, M]), y = I.useMemo(() => {
56534
+ }, [n, m, x]), L = I.useMemo(() => {
56533
56535
  if (!r) return;
56534
- if (M) return r;
56535
- const R = m.toLowerCase().trim();
56536
- return R ? r.map((O) => ({
56537
- ...O,
56538
- options: O.options.filter(
56539
- (G) => G.label.toLowerCase().includes(R) || G.value.toLowerCase().includes(R)
56536
+ if (x) return r;
56537
+ const E = m.toLowerCase().trim();
56538
+ return E ? r.map((U) => ({
56539
+ ...U,
56540
+ options: U.options.filter(
56541
+ (_) => _.label.toLowerCase().includes(E) || _.value.toLowerCase().includes(E)
56540
56542
  )
56541
- })).filter((O) => O.options.length > 0) : r;
56542
- }, [r, m, M]), L = I.useMemo(
56543
- () => v.filter((R) => t.includes(R.value)),
56544
- [v, t]
56545
- ), N = r ? (y == null ? void 0 : y.some((R) => R.options.length > 0)) ?? !1 : x.length > 0, k = (R) => {
56546
- t.includes(R) ? e(t.filter((O) => O !== R)) : e([...t, R]);
56547
- }, A = (R, O) => {
56548
- O.stopPropagation(), e(t.filter((G) => G !== R));
56549
- }, T = (R) => {
56550
- s || (h(R), R || g(""));
56543
+ })).filter((U) => U.options.length > 0) : r;
56544
+ }, [r, m, x]), N = I.useMemo(
56545
+ () => M.filter((E) => t.includes(E.value)),
56546
+ [M, t]
56547
+ ), k = r ? (L == null ? void 0 : L.some((E) => E.options.length > 0)) ?? !1 : y.length > 0, A = (E) => {
56548
+ t.includes(E) ? e(t.filter((U) => U !== E)) : e([...t, E]);
56549
+ }, j = (E, U) => {
56550
+ U.stopPropagation(), e(t.filter((_) => _ !== E));
56551
+ }, S = (E) => {
56552
+ s || (h(E), E || g(""));
56551
56553
  };
56552
56554
  I.useEffect(() => {
56553
56555
  p && (d == null || d(""));
56554
56556
  }, [p]);
56555
- const S = (R) => {
56556
- g(R.target.value), d == null || d(R.target.value);
56557
- }, D = L.slice(0, c), U = L.length - c, Y = (R) => {
56558
- const O = t.includes(R.value);
56557
+ const R = (E) => {
56558
+ g(E.target.value), d == null || d(E.target.value);
56559
+ }, Y = N.slice(0, c), V = N.length - c, B = (E) => {
56560
+ const U = t.includes(E.value);
56559
56561
  return /* @__PURE__ */ b(
56560
56562
  "button",
56561
56563
  {
56562
56564
  type: "button",
56563
56565
  role: "option",
56564
- "aria-selected": O,
56565
- disabled: R.disabled,
56566
- onClick: () => k(R.value),
56566
+ "aria-selected": U,
56567
+ disabled: E.disabled,
56568
+ onClick: () => A(E.value),
56567
56569
  className: C(
56568
56570
  "flex w-full items-center gap-2 rounded-sm px-2 py-1.5 text-sm",
56569
56571
  "hover:bg-accent hover:text-accent-foreground",
56570
56572
  "focus:bg-accent focus:text-accent-foreground focus:outline-none",
56571
56573
  "transition-colors duration-100",
56572
- R.disabled && "pointer-events-none opacity-50"
56574
+ E.disabled && "pointer-events-none opacity-50"
56573
56575
  ),
56574
56576
  children: [
56575
56577
  /* @__PURE__ */ f(
@@ -56577,20 +56579,20 @@ function MR({
56577
56579
  {
56578
56580
  className: C(
56579
56581
  "h-4 w-4 shrink-0 transition-opacity duration-100",
56580
- O ? "opacity-100" : "opacity-0"
56582
+ U ? "opacity-100" : "opacity-0"
56581
56583
  )
56582
56584
  }
56583
56585
  ),
56584
- /* @__PURE__ */ f("span", { className: "flex-1 text-left truncate", children: R.label }),
56585
- R.badge
56586
+ /* @__PURE__ */ f("span", { className: "flex-1 text-left truncate", children: E.label }),
56587
+ E.badge
56586
56588
  ]
56587
56589
  },
56588
- R.value
56590
+ E.value
56589
56591
  );
56590
56592
  };
56591
- return /* @__PURE__ */ b(it, { open: p, onOpenChange: T, children: [
56593
+ return /* @__PURE__ */ b(it, { open: p, onOpenChange: S, children: [
56592
56594
  /* @__PURE__ */ f(Ze, { asChild: !0, children: /* @__PURE__ */ b(
56593
- V,
56595
+ F,
56594
56596
  {
56595
56597
  ref: w,
56596
56598
  type: "button",
@@ -56605,36 +56607,36 @@ function MR({
56605
56607
  ),
56606
56608
  children: [
56607
56609
  /* @__PURE__ */ f("div", { className: "flex flex-wrap items-center gap-1 flex-1 min-w-0", children: t.length === 0 ? /* @__PURE__ */ f("span", { className: "truncate text-sm", children: l ? "Carregando..." : i }) : /* @__PURE__ */ b(Fe, { children: [
56608
- D.map((R) => /* @__PURE__ */ b(
56610
+ Y.map((E) => /* @__PURE__ */ b(
56609
56611
  he,
56610
56612
  {
56611
56613
  variant: "secondary",
56612
56614
  className: "rounded-sm h-5 gap-0.5 pr-1 font-normal max-w-[160px]",
56613
56615
  children: [
56614
- /* @__PURE__ */ f("span", { className: "truncate text-xs", children: R.label }),
56616
+ /* @__PURE__ */ f("span", { className: "truncate text-xs", children: E.label }),
56615
56617
  /* @__PURE__ */ f(
56616
56618
  "span",
56617
56619
  {
56618
56620
  role: "button",
56619
- "aria-label": `Remover ${R.label}`,
56621
+ "aria-label": `Remover ${E.label}`,
56620
56622
  className: "inline-flex items-center justify-center rounded-sm hover:bg-muted/80 cursor-pointer shrink-0",
56621
- onMouseDown: (O) => O.preventDefault(),
56622
- onClick: (O) => A(R.value, O),
56623
+ onMouseDown: (U) => U.preventDefault(),
56624
+ onClick: (U) => j(E.value, U),
56623
56625
  children: /* @__PURE__ */ f(er, { className: "h-3 w-3" })
56624
56626
  }
56625
56627
  )
56626
56628
  ]
56627
56629
  },
56628
- R.value
56630
+ E.value
56629
56631
  )),
56630
- U > 0 && /* @__PURE__ */ b(
56632
+ V > 0 && /* @__PURE__ */ b(
56631
56633
  he,
56632
56634
  {
56633
56635
  variant: "secondary",
56634
56636
  className: "rounded-sm h-5 px-1.5 font-normal text-xs shrink-0",
56635
56637
  children: [
56636
56638
  "+",
56637
- U
56639
+ V
56638
56640
  ]
56639
56641
  }
56640
56642
  )
@@ -56648,10 +56650,11 @@ function MR({
56648
56650
  {
56649
56651
  className: "p-0 overflow-hidden",
56650
56652
  style: {
56651
- width: (F = w.current) != null && F.offsetWidth ? `${w.current.offsetWidth}px` : "auto"
56653
+ width: (H = w.current) != null && H.offsetWidth ? `${w.current.offsetWidth}px` : "auto"
56652
56654
  },
56653
56655
  align: "start",
56654
- onOpenAutoFocus: (R) => R.preventDefault(),
56656
+ onOpenAutoFocus: (E) => E.preventDefault(),
56657
+ onWheel: (E) => E.stopPropagation(),
56655
56658
  children: [
56656
56659
  /* @__PURE__ */ b("div", { className: "flex items-center border-b px-3", children: [
56657
56660
  /* @__PURE__ */ f(Ia, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
@@ -56660,19 +56663,19 @@ function MR({
56660
56663
  {
56661
56664
  placeholder: a,
56662
56665
  value: m,
56663
- onChange: S,
56666
+ onChange: R,
56664
56667
  className: "h-10 border-0 focus-visible:ring-0 focus-visible:ring-offset-0 px-0",
56665
56668
  autoFocus: !0
56666
56669
  }
56667
56670
  )
56668
56671
  ] }),
56669
- /* @__PURE__ */ f("div", { className: "max-h-[280px] overflow-y-auto [&::-webkit-scrollbar]:w-2.5 [&::-webkit-scrollbar-track]:bg-transparent [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-primary/30 [&::-webkit-scrollbar-thumb:hover]:bg-primary/50", children: /* @__PURE__ */ f("div", { className: "p-1", role: "listbox", "aria-multiselectable": !0, children: l ? /* @__PURE__ */ b("div", { className: "flex items-center justify-center gap-2 py-6 text-sm text-muted-foreground", children: [
56672
+ /* @__PURE__ */ f("div", { ref: v, className: "max-h-70 overflow-y-auto [&::-webkit-scrollbar]:w-2.5 [&::-webkit-scrollbar-track]:bg-transparent [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-primary/30 [&::-webkit-scrollbar-thumb:hover]:bg-primary/50", children: /* @__PURE__ */ f("div", { className: "p-1", role: "listbox", "aria-multiselectable": !0, children: l ? /* @__PURE__ */ b("div", { className: "flex items-center justify-center gap-2 py-6 text-sm text-muted-foreground", children: [
56670
56673
  /* @__PURE__ */ f(Q1, { className: "h-4 w-4 animate-spin" }),
56671
56674
  "Carregando..."
56672
- ] }) : N ? r ? y == null ? void 0 : y.map((R) => /* @__PURE__ */ b("div", { children: [
56673
- /* @__PURE__ */ f("div", { className: "px-2 py-1.5 text-xs font-semibold text-muted-foreground uppercase tracking-wide", children: R.label }),
56674
- R.options.map(Y)
56675
- ] }, R.label)) : x.map(Y) : /* @__PURE__ */ f("div", { className: "py-6 text-center text-sm text-muted-foreground", children: o }) }) })
56675
+ ] }) : k ? r ? L == null ? void 0 : L.map((E) => /* @__PURE__ */ b("div", { children: [
56676
+ /* @__PURE__ */ f("div", { className: "px-2 py-1.5 text-xs font-semibold text-muted-foreground uppercase tracking-wide", children: E.label }),
56677
+ E.options.map(B)
56678
+ ] }, E.label)) : y.map(B) : /* @__PURE__ */ f("div", { className: "py-6 text-center text-sm text-muted-foreground", children: o }) }) })
56676
56679
  ]
56677
56680
  }
56678
56681
  )
@@ -56836,7 +56839,7 @@ function xR({
56836
56839
  g.status === "completed" && /* @__PURE__ */ b(Fe, { children: [
56837
56840
  o && r && /* @__PURE__ */ f(Kt, { children: /* @__PURE__ */ b(mt, { children: [
56838
56841
  /* @__PURE__ */ f(gt, { asChild: !0, children: /* @__PURE__ */ f(
56839
- V,
56842
+ F,
56840
56843
  {
56841
56844
  variant: "ghost",
56842
56845
  size: "icon",
@@ -56850,7 +56853,7 @@ function xR({
56850
56853
  ] }) }),
56851
56854
  i && e && /* @__PURE__ */ f(Kt, { children: /* @__PURE__ */ b(mt, { children: [
56852
56855
  /* @__PURE__ */ f(gt, { asChild: !0, children: /* @__PURE__ */ f(
56853
- V,
56856
+ F,
56854
56857
  {
56855
56858
  variant: "ghost",
56856
56859
  size: "icon",
@@ -56864,7 +56867,7 @@ function xR({
56864
56867
  ] }) }),
56865
56868
  a && n && /* @__PURE__ */ f(Kt, { children: /* @__PURE__ */ b(mt, { children: [
56866
56869
  /* @__PURE__ */ f(gt, { asChild: !0, children: /* @__PURE__ */ f(
56867
- V,
56870
+ F,
56868
56871
  {
56869
56872
  variant: "ghost",
56870
56873
  size: "icon",
@@ -56903,7 +56906,7 @@ function xR({
56903
56906
  g.status === "completed" && /* @__PURE__ */ b("div", { className: "flex items-center gap-1 flex-shrink-0", children: [
56904
56907
  o && r && /* @__PURE__ */ f(Kt, { children: /* @__PURE__ */ b(mt, { children: [
56905
56908
  /* @__PURE__ */ f(gt, { asChild: !0, children: /* @__PURE__ */ f(
56906
- V,
56909
+ F,
56907
56910
  {
56908
56911
  variant: "ghost",
56909
56912
  size: "icon",
@@ -56917,7 +56920,7 @@ function xR({
56917
56920
  ] }) }),
56918
56921
  i && e && /* @__PURE__ */ f(Kt, { children: /* @__PURE__ */ b(mt, { children: [
56919
56922
  /* @__PURE__ */ f(gt, { asChild: !0, children: /* @__PURE__ */ f(
56920
- V,
56923
+ F,
56921
56924
  {
56922
56925
  variant: "ghost",
56923
56926
  size: "icon",
@@ -56931,7 +56934,7 @@ function xR({
56931
56934
  ] }) }),
56932
56935
  a && n && /* @__PURE__ */ f(Kt, { children: /* @__PURE__ */ b(mt, { children: [
56933
56936
  /* @__PURE__ */ f(gt, { asChild: !0, children: /* @__PURE__ */ f(
56934
- V,
56937
+ F,
56935
56938
  {
56936
56939
  variant: "ghost",
56937
56940
  size: "icon",
@@ -57330,7 +57333,7 @@ function QR({
57330
57333
  return /* @__PURE__ */ b("div", { className: C("border-b bg-background", a), children: [
57331
57334
  /* @__PURE__ */ b("div", { className: "flex h-14 items-center gap-4 px-6", children: [
57332
57335
  i && /* @__PURE__ */ f(
57333
- V,
57336
+ F,
57334
57337
  {
57335
57338
  variant: "ghost",
57336
57339
  size: "icon",
@@ -57359,7 +57362,7 @@ function GR({
57359
57362
  }) {
57360
57363
  return /* @__PURE__ */ b("div", { className: C("flex h-14 items-center gap-3 border-b bg-background px-6", a), children: [
57361
57364
  i && /* @__PURE__ */ f(
57362
- V,
57365
+ F,
57363
57366
  {
57364
57367
  variant: "ghost",
57365
57368
  size: "icon",
@@ -57613,7 +57616,7 @@ function aO({
57613
57616
  }) {
57614
57617
  const a = t.filter((s) => s.isFavorite), o = t.filter((s) => !s.isFavorite);
57615
57618
  return /* @__PURE__ */ b(hl, { children: [
57616
- /* @__PURE__ */ f(pl, { asChild: !0, children: /* @__PURE__ */ b(V, { variant: "outline", size: "sm", className: C("gap-2", i), children: [
57619
+ /* @__PURE__ */ f(pl, { asChild: !0, children: /* @__PURE__ */ b(F, { variant: "outline", size: "sm", className: C("gap-2", i), children: [
57617
57620
  /* @__PURE__ */ f(ts, { className: "h-4 w-4" }),
57618
57621
  "Filtros salvos",
57619
57622
  t.length > 0 && /* @__PURE__ */ b("span", { className: "text-xs text-muted-foreground", children: [
@@ -57981,7 +57984,7 @@ function dO({
57981
57984
  }) {
57982
57985
  const { toggleSidebar: r } = sf();
57983
57986
  return /* @__PURE__ */ b(
57984
- V,
57987
+ F,
57985
57988
  {
57986
57989
  "data-sidebar": "trigger",
57987
57990
  "data-slot": "sidebar-trigger",
@@ -58589,7 +58592,7 @@ function TO({
58589
58592
  /* @__PURE__ */ f(Je, { children: "Data de Início *" }),
58590
58593
  /* @__PURE__ */ b(it, { open: l, onOpenChange: c, children: [
58591
58594
  /* @__PURE__ */ f(Ze, { asChild: !0, children: /* @__PURE__ */ b(
58592
- V,
58595
+ F,
58593
58596
  {
58594
58597
  variant: "outline",
58595
58598
  className: C(
@@ -58619,7 +58622,7 @@ function TO({
58619
58622
  /* @__PURE__ */ f(Je, { children: "Data de Término *" }),
58620
58623
  /* @__PURE__ */ b(it, { open: d, onOpenChange: u, children: [
58621
58624
  /* @__PURE__ */ f(Ze, { asChild: !0, children: /* @__PURE__ */ b(
58622
- V,
58625
+ F,
58623
58626
  {
58624
58627
  variant: "outline",
58625
58628
  className: C(
@@ -58770,8 +58773,8 @@ function TO({
58770
58773
  ] })
58771
58774
  ] }),
58772
58775
  /* @__PURE__ */ b(pd, { children: [
58773
- /* @__PURE__ */ f(V, { variant: "outline", onClick: () => n(!1), children: "Cancelar" }),
58774
- /* @__PURE__ */ f(V, { onClick: p, disabled: !w, children: "Salvar alterações" })
58776
+ /* @__PURE__ */ f(F, { variant: "outline", onClick: () => n(!1), children: "Cancelar" }),
58777
+ /* @__PURE__ */ f(F, { onClick: p, disabled: !w, children: "Salvar alterações" })
58775
58778
  ] })
58776
58779
  ] }) });
58777
58780
  }
@@ -58838,7 +58841,7 @@ const V5 = (t) => {
58838
58841
  t.metadata.fileName
58839
58842
  ] }),
58840
58843
  /* @__PURE__ */ f(i3, { asChild: !0, children: /* @__PURE__ */ b(
58841
- V,
58844
+ F,
58842
58845
  {
58843
58846
  variant: "ghost",
58844
58847
  size: "sm",
@@ -59097,22 +59100,22 @@ function YO({
59097
59100
  g(`Máximo de ${r} arquivo(s) permitido(s)`);
59098
59101
  return;
59099
59102
  }
59100
- const T = [], S = [];
59101
- for (const D of A) {
59102
- const U = H5(D, i);
59103
- if (U) {
59104
- S.push(`${D.name}: ${U}`);
59103
+ const j = [], S = [];
59104
+ for (const R of A) {
59105
+ const Y = H5(R, i);
59106
+ if (Y) {
59107
+ S.push(`${R.name}: ${Y}`);
59105
59108
  continue;
59106
59109
  }
59107
- const Y = Q5(D, e);
59108
- if (Y) {
59109
- S.push(`${D.name}: ${Y}`);
59110
+ const V = Q5(R, e);
59111
+ if (V) {
59112
+ S.push(`${R.name}: ${V}`);
59110
59113
  continue;
59111
59114
  }
59112
- T.push(D);
59115
+ j.push(R);
59113
59116
  }
59114
59117
  S.length > 0 && g(S.join(`
59115
- `)), T.length > 0 && t(T), m.current && (m.current.value = "");
59118
+ `)), j.length > 0 && t(j), m.current && (m.current.value = "");
59116
59119
  }, [r, i, e, t, g]), v = ke(() => {
59117
59120
  var k;
59118
59121
  a || o || (k = m.current) == null || k.click();
@@ -59127,7 +59130,7 @@ function YO({
59127
59130
  }, [a, o, w]), N = l || (() => {
59128
59131
  const k = [];
59129
59132
  if (e) {
59130
- const A = e.split(",").map((T) => T.trim().replace(".", "").toUpperCase()).join(", ");
59133
+ const A = e.split(",").map((j) => j.trim().replace(".", "").toUpperCase()).join(", ");
59131
59134
  k.push(A);
59132
59135
  }
59133
59136
  return i && k.push(`máx ${i}MB cada`), k.join(" • ");
@@ -59515,7 +59518,7 @@ export {
59515
59518
  Zv as BreadcrumbList,
59516
59519
  $v as BreadcrumbPage,
59517
59520
  e3 as BreadcrumbSeparator,
59518
- V as Button,
59521
+ F as Button,
59519
59522
  hd as Calendar,
59520
59523
  zr as Card,
59521
59524
  O8 as CardAction,