@espresso-lab/mantine-data-table 1.10.5 → 1.10.6

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.es.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as Ie from "react";
2
2
  import St, { createContext as Fn, useContext as Pi, useCallback as Le, createElement as Or, useRef as De, useImperativeHandle as ho, useEffect as $e, useState as ve, Fragment as ji, useMemo as Xe, useLayoutEffect as Oi } from "react";
3
- import { factory as Be, useProps as Ue, useStyles as Dt, createVarsResolver as gr, UnstyledButton as cr, getSize as Lr, Box as Oe, getSpacing as Rs, getFontSize as Ir, useResolvedStylesApi as Ai, AccordionChevron as fo, useInputProps as Es, Input as Ar, Popover as ur, Alert as Br, Stepper as Er, Group as Fe, Button as yt, TextInput as Mi, NumberInput as Ri, Checkbox as qt, Textarea as Ei, createSafeContext as Ts, rem as Et, Table as $s, ScrollArea as Ns, TableThead as Ls, TableTr as Ft, PopoverTarget as Ti, PopoverDropdown as $i, Stack as hr, TableTfoot as Is, Center as Yt, Loader as Bs, Text as lt, parseThemeColor as Ys, TableTh as mr, Flex as zs, ActionIcon as Wt, TableTd as Wn, Collapse as Ni, useMantineTheme as Li, Pagination as Ii, useDirection as Fs, Menu as at, MenuTarget as Ws, MenuDropdown as Us, MenuItem as qs, Skeleton as zt, Select as po, Divider as go, Tabs as Pn, Modal as fn, Title as Vs } from "@mantine/core";
3
+ import { factory as Be, useProps as Ue, useStyles as Dt, createVarsResolver as gr, UnstyledButton as cr, getSize as Lr, Box as Oe, getSpacing as Rs, getFontSize as Ir, useResolvedStylesApi as Mi, AccordionChevron as fo, useInputProps as Es, Input as Mr, Popover as ur, Alert as Br, Stepper as Er, Group as Fe, Button as yt, TextInput as Ai, NumberInput as Ri, Checkbox as qt, Textarea as Ei, createSafeContext as Ts, rem as Et, Table as $s, ScrollArea as Ns, TableThead as Ls, TableTr as Ft, PopoverTarget as Ti, PopoverDropdown as $i, Stack as hr, TableTfoot as Is, Center as Yt, Loader as Bs, Text as lt, parseThemeColor as Ys, TableTh as mr, Flex as zs, ActionIcon as Wt, TableTd as Wn, Collapse as Ni, useMantineTheme as Li, Pagination as Ii, useDirection as Fs, Menu as at, MenuTarget as Ws, MenuDropdown as Us, MenuItem as qs, Skeleton as zt, Select as po, Divider as go, Tabs as Pn, Modal as fn, Title as Vs } from "@mantine/core";
4
4
  import { useForm as Bi } from "@mantine/form";
5
5
  import { IconSortAscending as Hs, IconSortDescending as Gs, IconChevronDown as Qs, IconDotsVertical as Ks, IconCaretDownFilled as Zs, IconPencil as Js, IconTrash as Xs, IconRefresh as ea, IconInfoCircle as ta } from "@tabler/icons-react";
6
6
  import { useUncontrolled as Yi, clamp as ra, useDidUpdate as na, useClickOutside as zi, useMergedRef as mo, useLocalStorage as Un, useMediaQuery as oa, useDisclosure as ia, useTimeout as yo } from "@mantine/hooks";
@@ -383,14 +383,14 @@ var xa = class extends Yr {
383
383
  this.hasListeners() || this.destroy();
384
384
  }
385
385
  shouldFetchOnReconnect() {
386
- return An(
386
+ return Mn(
387
387
  this.#e,
388
388
  this.options,
389
389
  this.options.refetchOnReconnect
390
390
  );
391
391
  }
392
392
  shouldFetchOnWindowFocus() {
393
- return An(
393
+ return Mn(
394
394
  this.#e,
395
395
  this.options,
396
396
  this.options.refetchOnWindowFocus
@@ -624,9 +624,9 @@ function Ca(t, e) {
624
624
  return st(e.enabled, t) !== !1 && t.state.data === void 0 && !(t.state.status === "error" && e.retryOnMount === !1);
625
625
  }
626
626
  function Po(t, e) {
627
- return Ca(t, e) || t.state.data !== void 0 && An(t, e, e.refetchOnMount);
627
+ return Ca(t, e) || t.state.data !== void 0 && Mn(t, e, e.refetchOnMount);
628
628
  }
629
- function An(t, e, r) {
629
+ function Mn(t, e, r) {
630
630
  if (st(e.enabled, t) !== !1 && dr(e.staleTime, t) !== "static") {
631
631
  const n = typeof r == "function" ? r(t) : r;
632
632
  return n === "always" || n !== !1 && qn(t, e);
@@ -762,9 +762,9 @@ function Pa() {
762
762
  return Jt.Fragment = e, Jt.jsx = r, Jt.jsxs = r, Jt;
763
763
  }
764
764
  var Xt = {};
765
- var Ao;
765
+ var Mo;
766
766
  function ja() {
767
- return Ao || (Ao = 1, process.env.NODE_ENV !== "production" && (function() {
767
+ return Mo || (Mo = 1, process.env.NODE_ENV !== "production" && (function() {
768
768
  function t(u) {
769
769
  if (u == null) return null;
770
770
  if (typeof u == "function")
@@ -993,9 +993,9 @@ React keys must be passed directly to JSX without using spread:
993
993
  };
994
994
  })()), Xt;
995
995
  }
996
- var Mo;
996
+ var Ao;
997
997
  function Oa() {
998
- return Mo || (Mo = 1, process.env.NODE_ENV === "production" ? Sr.exports = Pa() : Sr.exports = ja()), Sr.exports;
998
+ return Ao || (Ao = 1, process.env.NODE_ENV === "production" ? Sr.exports = Pa() : Sr.exports = ja()), Sr.exports;
999
999
  }
1000
1000
  var v = Oa(), Ui = Ie.createContext(
1001
1001
  void 0
@@ -1009,9 +1009,9 @@ var v = Oa(), Ui = Ie.createContext(
1009
1009
  children: e
1010
1010
  }) => (Ie.useEffect(() => (t.mount(), () => {
1011
1011
  t.unmount();
1012
- }), [t]), /* @__PURE__ */ v.jsx(Ui.Provider, { value: t, children: e })), Hi = Ie.createContext(!1), Aa = () => Ie.useContext(Hi);
1012
+ }), [t]), /* @__PURE__ */ v.jsx(Ui.Provider, { value: t, children: e })), Hi = Ie.createContext(!1), Ma = () => Ie.useContext(Hi);
1013
1013
  Hi.Provider;
1014
- function Ma() {
1014
+ function Aa() {
1015
1015
  let t = !1;
1016
1016
  return {
1017
1017
  clearReset: () => {
@@ -1023,7 +1023,7 @@ function Ma() {
1023
1023
  isReset: () => t
1024
1024
  };
1025
1025
  }
1026
- var Ra = Ie.createContext(Ma()), Ea = () => Ie.useContext(Ra), Ta = (t, e) => {
1026
+ var Ra = Ie.createContext(Aa()), Ea = () => Ie.useContext(Ra), Ta = (t, e) => {
1027
1027
  (t.suspense || t.throwOnError || t.experimental_prefetchInRender) && (e.isReset() || (t.retryOnMount = !1));
1028
1028
  }, $a = (t) => {
1029
1029
  Ie.useEffect(() => {
@@ -1051,7 +1051,7 @@ function Ya(t, e, r) {
1051
1051
  throw new Error(
1052
1052
  'Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object'
1053
1053
  );
1054
- const n = Aa(), i = Ea(), l = qi(), d = l.defaultQueryOptions(t);
1054
+ const n = Ma(), i = Ea(), l = qi(), d = l.defaultQueryOptions(t);
1055
1055
  l.getDefaultOptions().queries?._experimental_beforeQuery?.(
1056
1056
  d
1057
1057
  ), process.env.NODE_ENV !== "production" && (d.queryFn || console.error(
@@ -1565,10 +1565,10 @@ function Ka() {
1565
1565
  s.poolSize = 8192, s._augment = function(o) {
1566
1566
  return o.__proto__ = s.prototype, o;
1567
1567
  };
1568
- function m(o, c, g, A) {
1568
+ function m(o, c, g, M) {
1569
1569
  if (typeof c == "number")
1570
1570
  throw new TypeError('"value" argument must not be a number');
1571
- return typeof ArrayBuffer < "u" && c instanceof ArrayBuffer ? k(o, c, g, A) : typeof c == "string" ? S(o, c, g) : O(o, c);
1571
+ return typeof ArrayBuffer < "u" && c instanceof ArrayBuffer ? k(o, c, g, M) : typeof c == "string" ? S(o, c, g) : O(o, c);
1572
1572
  }
1573
1573
  s.from = function(o, c, g) {
1574
1574
  return m(null, o, c, g);
@@ -1582,8 +1582,8 @@ function Ka() {
1582
1582
  if (o < 0)
1583
1583
  throw new RangeError('"size" argument must not be negative');
1584
1584
  }
1585
- function _(o, c, g, A) {
1586
- return y(c), c <= 0 ? d(o, c) : g !== void 0 ? typeof A == "string" ? d(o, c).fill(g, A) : d(o, c).fill(g) : d(o, c);
1585
+ function _(o, c, g, M) {
1586
+ return y(c), c <= 0 ? d(o, c) : g !== void 0 ? typeof M == "string" ? d(o, c).fill(g, M) : d(o, c).fill(g) : d(o, c);
1587
1587
  }
1588
1588
  s.alloc = function(o, c, g) {
1589
1589
  return _(null, o, c, g);
@@ -1602,24 +1602,24 @@ function Ka() {
1602
1602
  function S(o, c, g) {
1603
1603
  if ((typeof g != "string" || g === "") && (g = "utf8"), !s.isEncoding(g))
1604
1604
  throw new TypeError('"encoding" must be a valid string encoding');
1605
- var A = L(c, g) | 0;
1606
- o = d(o, A);
1605
+ var M = L(c, g) | 0;
1606
+ o = d(o, M);
1607
1607
  var T = o.write(c, g);
1608
- return T !== A && (o = o.slice(0, T)), o;
1608
+ return T !== M && (o = o.slice(0, T)), o;
1609
1609
  }
1610
1610
  function C(o, c) {
1611
1611
  var g = c.length < 0 ? 0 : $(c.length) | 0;
1612
1612
  o = d(o, g);
1613
- for (var A = 0; A < g; A += 1)
1614
- o[A] = c[A] & 255;
1613
+ for (var M = 0; M < g; M += 1)
1614
+ o[M] = c[M] & 255;
1615
1615
  return o;
1616
1616
  }
1617
- function k(o, c, g, A) {
1617
+ function k(o, c, g, M) {
1618
1618
  if (c.byteLength, g < 0 || c.byteLength < g)
1619
1619
  throw new RangeError("'offset' is out of bounds");
1620
- if (c.byteLength < g + (A || 0))
1620
+ if (c.byteLength < g + (M || 0))
1621
1621
  throw new RangeError("'length' is out of bounds");
1622
- return g === void 0 && A === void 0 ? c = new Uint8Array(c) : A === void 0 ? c = new Uint8Array(c, g) : c = new Uint8Array(c, g, A), s.TYPED_ARRAY_SUPPORT ? (o = c, o.__proto__ = s.prototype) : o = C(o, c), o;
1622
+ return g === void 0 && M === void 0 ? c = new Uint8Array(c) : M === void 0 ? c = new Uint8Array(c, g) : c = new Uint8Array(c, g, M), s.TYPED_ARRAY_SUPPORT ? (o = c, o.__proto__ = s.prototype) : o = C(o, c), o;
1623
1623
  }
1624
1624
  function O(o, c) {
1625
1625
  if (s.isBuffer(c)) {
@@ -1648,12 +1648,12 @@ function Ka() {
1648
1648
  if (!s.isBuffer(o) || !s.isBuffer(c))
1649
1649
  throw new TypeError("Arguments must be Buffers");
1650
1650
  if (o === c) return 0;
1651
- for (var g = o.length, A = c.length, T = 0, F = Math.min(g, A); T < F; ++T)
1651
+ for (var g = o.length, M = c.length, T = 0, F = Math.min(g, M); T < F; ++T)
1652
1652
  if (o[T] !== c[T]) {
1653
- g = o[T], A = c[T];
1653
+ g = o[T], M = c[T];
1654
1654
  break;
1655
1655
  }
1656
- return g < A ? -1 : A < g ? 1 : 0;
1656
+ return g < M ? -1 : M < g ? 1 : 0;
1657
1657
  }, s.isEncoding = function(o) {
1658
1658
  switch (String(o).toLowerCase()) {
1659
1659
  case "hex":
@@ -1680,14 +1680,14 @@ function Ka() {
1680
1680
  if (c === void 0)
1681
1681
  for (c = 0, g = 0; g < o.length; ++g)
1682
1682
  c += o[g].length;
1683
- var A = s.allocUnsafe(c), T = 0;
1683
+ var M = s.allocUnsafe(c), T = 0;
1684
1684
  for (g = 0; g < o.length; ++g) {
1685
1685
  var F = o[g];
1686
1686
  if (!s.isBuffer(F))
1687
1687
  throw new TypeError('"list" argument must be an Array of Buffers');
1688
- F.copy(A, T), T += F.length;
1688
+ F.copy(M, T), T += F.length;
1689
1689
  }
1690
- return A;
1690
+ return M;
1691
1691
  };
1692
1692
  function L(o, c) {
1693
1693
  if (s.isBuffer(o))
@@ -1697,7 +1697,7 @@ function Ka() {
1697
1697
  typeof o != "string" && (o = "" + o);
1698
1698
  var g = o.length;
1699
1699
  if (g === 0) return 0;
1700
- for (var A = !1; ; )
1700
+ for (var M = !1; ; )
1701
1701
  switch (c) {
1702
1702
  case "ascii":
1703
1703
  case "latin1":
@@ -1706,7 +1706,7 @@ function Ka() {
1706
1706
  case "utf8":
1707
1707
  case "utf-8":
1708
1708
  case void 0:
1709
- return M(o).length;
1709
+ return A(o).length;
1710
1710
  case "ucs2":
1711
1711
  case "ucs-2":
1712
1712
  case "utf16le":
@@ -1717,13 +1717,13 @@ function Ka() {
1717
1717
  case "base64":
1718
1718
  return Y(o).length;
1719
1719
  default:
1720
- if (A) return M(o).length;
1721
- c = ("" + c).toLowerCase(), A = !0;
1720
+ if (M) return A(o).length;
1721
+ c = ("" + c).toLowerCase(), M = !0;
1722
1722
  }
1723
1723
  }
1724
1724
  s.byteLength = L;
1725
1725
  function V(o, c, g) {
1726
- var A = !1;
1726
+ var M = !1;
1727
1727
  if ((c === void 0 || c < 0) && (c = 0), c > this.length || ((g === void 0 || g > this.length) && (g = this.length), g <= 0) || (g >>>= 0, c >>>= 0, g <= c))
1728
1728
  return "";
1729
1729
  for (o || (o = "utf8"); ; )
@@ -1746,14 +1746,14 @@ function Ka() {
1746
1746
  case "utf-16le":
1747
1747
  return f(this, c, g);
1748
1748
  default:
1749
- if (A) throw new TypeError("Unknown encoding: " + o);
1750
- o = (o + "").toLowerCase(), A = !0;
1749
+ if (M) throw new TypeError("Unknown encoding: " + o);
1750
+ o = (o + "").toLowerCase(), M = !0;
1751
1751
  }
1752
1752
  }
1753
1753
  s.prototype._isBuffer = !0;
1754
1754
  function W(o, c, g) {
1755
- var A = o[c];
1756
- o[c] = o[g], o[g] = A;
1755
+ var M = o[c];
1756
+ o[c] = o[g], o[g] = M;
1757
1757
  }
1758
1758
  s.prototype.swap16 = function() {
1759
1759
  var o = this.length;
@@ -1785,42 +1785,42 @@ function Ka() {
1785
1785
  }, s.prototype.inspect = function() {
1786
1786
  var o = "", c = t.INSPECT_MAX_BYTES;
1787
1787
  return this.length > 0 && (o = this.toString("hex", 0, c).match(/.{2}/g).join(" "), this.length > c && (o += " ... ")), "<Buffer " + o + ">";
1788
- }, s.prototype.compare = function(o, c, g, A, T) {
1788
+ }, s.prototype.compare = function(o, c, g, M, T) {
1789
1789
  if (!s.isBuffer(o))
1790
1790
  throw new TypeError("Argument must be a Buffer");
1791
- if (c === void 0 && (c = 0), g === void 0 && (g = o ? o.length : 0), A === void 0 && (A = 0), T === void 0 && (T = this.length), c < 0 || g > o.length || A < 0 || T > this.length)
1791
+ if (c === void 0 && (c = 0), g === void 0 && (g = o ? o.length : 0), M === void 0 && (M = 0), T === void 0 && (T = this.length), c < 0 || g > o.length || M < 0 || T > this.length)
1792
1792
  throw new RangeError("out of range index");
1793
- if (A >= T && c >= g)
1793
+ if (M >= T && c >= g)
1794
1794
  return 0;
1795
- if (A >= T)
1795
+ if (M >= T)
1796
1796
  return -1;
1797
1797
  if (c >= g)
1798
1798
  return 1;
1799
- if (c >>>= 0, g >>>= 0, A >>>= 0, T >>>= 0, this === o) return 0;
1800
- for (var F = T - A, se = g - c, ue = Math.min(F, se), he = this.slice(A, T), K = o.slice(c, g), de = 0; de < ue; ++de)
1799
+ if (c >>>= 0, g >>>= 0, M >>>= 0, T >>>= 0, this === o) return 0;
1800
+ for (var F = T - M, se = g - c, ue = Math.min(F, se), he = this.slice(M, T), K = o.slice(c, g), de = 0; de < ue; ++de)
1801
1801
  if (he[de] !== K[de]) {
1802
1802
  F = he[de], se = K[de];
1803
1803
  break;
1804
1804
  }
1805
1805
  return F < se ? -1 : se < F ? 1 : 0;
1806
1806
  };
1807
- function ee(o, c, g, A, T) {
1807
+ function ee(o, c, g, M, T) {
1808
1808
  if (o.length === 0) return -1;
1809
- if (typeof g == "string" ? (A = g, g = 0) : g > 2147483647 ? g = 2147483647 : g < -2147483648 && (g = -2147483648), g = +g, isNaN(g) && (g = T ? 0 : o.length - 1), g < 0 && (g = o.length + g), g >= o.length) {
1809
+ if (typeof g == "string" ? (M = g, g = 0) : g > 2147483647 ? g = 2147483647 : g < -2147483648 && (g = -2147483648), g = +g, isNaN(g) && (g = T ? 0 : o.length - 1), g < 0 && (g = o.length + g), g >= o.length) {
1810
1810
  if (T) return -1;
1811
1811
  g = o.length - 1;
1812
1812
  } else if (g < 0)
1813
1813
  if (T) g = 0;
1814
1814
  else return -1;
1815
- if (typeof c == "string" && (c = s.from(c, A)), s.isBuffer(c))
1816
- return c.length === 0 ? -1 : re(o, c, g, A, T);
1815
+ if (typeof c == "string" && (c = s.from(c, M)), s.isBuffer(c))
1816
+ return c.length === 0 ? -1 : re(o, c, g, M, T);
1817
1817
  if (typeof c == "number")
1818
- return c = c & 255, s.TYPED_ARRAY_SUPPORT && typeof Uint8Array.prototype.indexOf == "function" ? T ? Uint8Array.prototype.indexOf.call(o, c, g) : Uint8Array.prototype.lastIndexOf.call(o, c, g) : re(o, [c], g, A, T);
1818
+ return c = c & 255, s.TYPED_ARRAY_SUPPORT && typeof Uint8Array.prototype.indexOf == "function" ? T ? Uint8Array.prototype.indexOf.call(o, c, g) : Uint8Array.prototype.lastIndexOf.call(o, c, g) : re(o, [c], g, M, T);
1819
1819
  throw new TypeError("val must be string, number or Buffer");
1820
1820
  }
1821
- function re(o, c, g, A, T) {
1821
+ function re(o, c, g, M, T) {
1822
1822
  var F = 1, se = o.length, ue = c.length;
1823
- if (A !== void 0 && (A = String(A).toLowerCase(), A === "ucs2" || A === "ucs-2" || A === "utf16le" || A === "utf-16le")) {
1823
+ if (M !== void 0 && (M = String(M).toLowerCase(), M === "ucs2" || M === "ucs-2" || M === "utf16le" || M === "utf-16le")) {
1824
1824
  if (o.length < 2 || c.length < 2)
1825
1825
  return -1;
1826
1826
  F = 2, se /= 2, ue /= 2, g /= 2;
@@ -1854,42 +1854,42 @@ function Ka() {
1854
1854
  }, s.prototype.lastIndexOf = function(o, c, g) {
1855
1855
  return ee(this, o, c, g, !1);
1856
1856
  };
1857
- function Q(o, c, g, A) {
1857
+ function Q(o, c, g, M) {
1858
1858
  g = Number(g) || 0;
1859
1859
  var T = o.length - g;
1860
- A ? (A = Number(A), A > T && (A = T)) : A = T;
1860
+ M ? (M = Number(M), M > T && (M = T)) : M = T;
1861
1861
  var F = c.length;
1862
1862
  if (F % 2 !== 0) throw new TypeError("Invalid hex string");
1863
- A > F / 2 && (A = F / 2);
1864
- for (var se = 0; se < A; ++se) {
1863
+ M > F / 2 && (M = F / 2);
1864
+ for (var se = 0; se < M; ++se) {
1865
1865
  var ue = parseInt(c.substr(se * 2, 2), 16);
1866
1866
  if (isNaN(ue)) return se;
1867
1867
  o[g + se] = ue;
1868
1868
  }
1869
1869
  return se;
1870
1870
  }
1871
- function Z(o, c, g, A) {
1872
- return B(M(c, o.length - g), o, g, A);
1871
+ function Z(o, c, g, M) {
1872
+ return B(A(c, o.length - g), o, g, M);
1873
1873
  }
1874
- function U(o, c, g, A) {
1875
- return B(N(c), o, g, A);
1874
+ function U(o, c, g, M) {
1875
+ return B(N(c), o, g, M);
1876
1876
  }
1877
- function q(o, c, g, A) {
1878
- return U(o, c, g, A);
1877
+ function q(o, c, g, M) {
1878
+ return U(o, c, g, M);
1879
1879
  }
1880
- function H(o, c, g, A) {
1881
- return B(Y(c), o, g, A);
1880
+ function H(o, c, g, M) {
1881
+ return B(Y(c), o, g, M);
1882
1882
  }
1883
- function oe(o, c, g, A) {
1884
- return B(E(c, o.length - g), o, g, A);
1883
+ function oe(o, c, g, M) {
1884
+ return B(E(c, o.length - g), o, g, M);
1885
1885
  }
1886
- s.prototype.write = function(o, c, g, A) {
1886
+ s.prototype.write = function(o, c, g, M) {
1887
1887
  if (c === void 0)
1888
- A = "utf8", g = this.length, c = 0;
1888
+ M = "utf8", g = this.length, c = 0;
1889
1889
  else if (g === void 0 && typeof c == "string")
1890
- A = c, g = this.length, c = 0;
1890
+ M = c, g = this.length, c = 0;
1891
1891
  else if (isFinite(c))
1892
- c = c | 0, isFinite(g) ? (g = g | 0, A === void 0 && (A = "utf8")) : (A = g, g = void 0);
1892
+ c = c | 0, isFinite(g) ? (g = g | 0, M === void 0 && (M = "utf8")) : (M = g, g = void 0);
1893
1893
  else
1894
1894
  throw new Error(
1895
1895
  "Buffer.write(string, encoding, offset[, length]) is no longer supported"
@@ -1897,9 +1897,9 @@ function Ka() {
1897
1897
  var T = this.length - c;
1898
1898
  if ((g === void 0 || g > T) && (g = T), o.length > 0 && (g < 0 || c < 0) || c > this.length)
1899
1899
  throw new RangeError("Attempt to write outside buffer bounds");
1900
- A || (A = "utf8");
1900
+ M || (M = "utf8");
1901
1901
  for (var F = !1; ; )
1902
- switch (A) {
1902
+ switch (M) {
1903
1903
  case "hex":
1904
1904
  return Q(this, o, c, g);
1905
1905
  case "utf8":
@@ -1918,8 +1918,8 @@ function Ka() {
1918
1918
  case "utf-16le":
1919
1919
  return oe(this, o, c, g);
1920
1920
  default:
1921
- if (F) throw new TypeError("Unknown encoding: " + A);
1922
- A = ("" + A).toLowerCase(), F = !0;
1921
+ if (F) throw new TypeError("Unknown encoding: " + M);
1922
+ M = ("" + M).toLowerCase(), F = !0;
1923
1923
  }
1924
1924
  }, s.prototype.toJSON = function() {
1925
1925
  return {
@@ -1932,7 +1932,7 @@ function Ka() {
1932
1932
  }
1933
1933
  function P(o, c, g) {
1934
1934
  g = Math.min(o.length, g);
1935
- for (var A = [], T = c; T < g; ) {
1935
+ for (var M = [], T = c; T < g; ) {
1936
1936
  var F = o[T], se = null, ue = F > 239 ? 4 : F > 223 ? 3 : F > 191 ? 2 : 1;
1937
1937
  if (T + ue <= g) {
1938
1938
  var he, K, de, pe;
@@ -1950,61 +1950,61 @@ function Ka() {
1950
1950
  he = o[T + 1], K = o[T + 2], de = o[T + 3], (he & 192) === 128 && (K & 192) === 128 && (de & 192) === 128 && (pe = (F & 15) << 18 | (he & 63) << 12 | (K & 63) << 6 | de & 63, pe > 65535 && pe < 1114112 && (se = pe));
1951
1951
  }
1952
1952
  }
1953
- se === null ? (se = 65533, ue = 1) : se > 65535 && (se -= 65536, A.push(se >>> 10 & 1023 | 55296), se = 56320 | se & 1023), A.push(se), T += ue;
1953
+ se === null ? (se = 65533, ue = 1) : se > 65535 && (se -= 65536, M.push(se >>> 10 & 1023 | 55296), se = 56320 | se & 1023), M.push(se), T += ue;
1954
1954
  }
1955
- return w(A);
1955
+ return w(M);
1956
1956
  }
1957
1957
  var x = 4096;
1958
1958
  function w(o) {
1959
1959
  var c = o.length;
1960
1960
  if (c <= x)
1961
1961
  return String.fromCharCode.apply(String, o);
1962
- for (var g = "", A = 0; A < c; )
1962
+ for (var g = "", M = 0; M < c; )
1963
1963
  g += String.fromCharCode.apply(
1964
1964
  String,
1965
- o.slice(A, A += x)
1965
+ o.slice(M, M += x)
1966
1966
  );
1967
1967
  return g;
1968
1968
  }
1969
1969
  function h(o, c, g) {
1970
- var A = "";
1970
+ var M = "";
1971
1971
  g = Math.min(o.length, g);
1972
1972
  for (var T = c; T < g; ++T)
1973
- A += String.fromCharCode(o[T] & 127);
1974
- return A;
1973
+ M += String.fromCharCode(o[T] & 127);
1974
+ return M;
1975
1975
  }
1976
1976
  function a(o, c, g) {
1977
- var A = "";
1977
+ var M = "";
1978
1978
  g = Math.min(o.length, g);
1979
1979
  for (var T = c; T < g; ++T)
1980
- A += String.fromCharCode(o[T]);
1981
- return A;
1980
+ M += String.fromCharCode(o[T]);
1981
+ return M;
1982
1982
  }
1983
1983
  function p(o, c, g) {
1984
- var A = o.length;
1985
- (!c || c < 0) && (c = 0), (!g || g < 0 || g > A) && (g = A);
1984
+ var M = o.length;
1985
+ (!c || c < 0) && (c = 0), (!g || g < 0 || g > M) && (g = M);
1986
1986
  for (var T = "", F = c; F < g; ++F)
1987
1987
  T += ae(o[F]);
1988
1988
  return T;
1989
1989
  }
1990
1990
  function f(o, c, g) {
1991
- for (var A = o.slice(c, g), T = "", F = 0; F < A.length; F += 2)
1992
- T += String.fromCharCode(A[F] + A[F + 1] * 256);
1991
+ for (var M = o.slice(c, g), T = "", F = 0; F < M.length; F += 2)
1992
+ T += String.fromCharCode(M[F] + M[F + 1] * 256);
1993
1993
  return T;
1994
1994
  }
1995
1995
  s.prototype.slice = function(o, c) {
1996
1996
  var g = this.length;
1997
1997
  o = ~~o, c = c === void 0 ? g : ~~c, o < 0 ? (o += g, o < 0 && (o = 0)) : o > g && (o = g), c < 0 ? (c += g, c < 0 && (c = 0)) : c > g && (c = g), c < o && (c = o);
1998
- var A;
1998
+ var M;
1999
1999
  if (s.TYPED_ARRAY_SUPPORT)
2000
- A = this.subarray(o, c), A.__proto__ = s.prototype;
2000
+ M = this.subarray(o, c), M.__proto__ = s.prototype;
2001
2001
  else {
2002
2002
  var T = c - o;
2003
- A = new s(T, void 0);
2003
+ M = new s(T, void 0);
2004
2004
  for (var F = 0; F < T; ++F)
2005
- A[F] = this[F + o];
2005
+ M[F] = this[F + o];
2006
2006
  }
2007
- return A;
2007
+ return M;
2008
2008
  };
2009
2009
  function u(o, c, g) {
2010
2010
  if (o % 1 !== 0 || o < 0) throw new RangeError("offset is not uint");
@@ -2012,14 +2012,14 @@ function Ka() {
2012
2012
  }
2013
2013
  s.prototype.readUIntLE = function(o, c, g) {
2014
2014
  o = o | 0, c = c | 0, g || u(o, c, this.length);
2015
- for (var A = this[o], T = 1, F = 0; ++F < c && (T *= 256); )
2016
- A += this[o + F] * T;
2017
- return A;
2015
+ for (var M = this[o], T = 1, F = 0; ++F < c && (T *= 256); )
2016
+ M += this[o + F] * T;
2017
+ return M;
2018
2018
  }, s.prototype.readUIntBE = function(o, c, g) {
2019
2019
  o = o | 0, c = c | 0, g || u(o, c, this.length);
2020
- for (var A = this[o + --c], T = 1; c > 0 && (T *= 256); )
2021
- A += this[o + --c] * T;
2022
- return A;
2020
+ for (var M = this[o + --c], T = 1; c > 0 && (T *= 256); )
2021
+ M += this[o + --c] * T;
2022
+ return M;
2023
2023
  }, s.prototype.readUInt8 = function(o, c) {
2024
2024
  return c || u(o, 1, this.length), this[o];
2025
2025
  }, s.prototype.readUInt16LE = function(o, c) {
@@ -2032,13 +2032,13 @@ function Ka() {
2032
2032
  return c || u(o, 4, this.length), this[o] * 16777216 + (this[o + 1] << 16 | this[o + 2] << 8 | this[o + 3]);
2033
2033
  }, s.prototype.readIntLE = function(o, c, g) {
2034
2034
  o = o | 0, c = c | 0, g || u(o, c, this.length);
2035
- for (var A = this[o], T = 1, F = 0; ++F < c && (T *= 256); )
2036
- A += this[o + F] * T;
2037
- return T *= 128, A >= T && (A -= Math.pow(2, 8 * c)), A;
2035
+ for (var M = this[o], T = 1, F = 0; ++F < c && (T *= 256); )
2036
+ M += this[o + F] * T;
2037
+ return T *= 128, M >= T && (M -= Math.pow(2, 8 * c)), M;
2038
2038
  }, s.prototype.readIntBE = function(o, c, g) {
2039
2039
  o = o | 0, c = c | 0, g || u(o, c, this.length);
2040
- for (var A = c, T = 1, F = this[o + --A]; A > 0 && (T *= 256); )
2041
- F += this[o + --A] * T;
2040
+ for (var M = c, T = 1, F = this[o + --M]; M > 0 && (T *= 256); )
2041
+ F += this[o + --M] * T;
2042
2042
  return T *= 128, F >= T && (F -= Math.pow(2, 8 * c)), F;
2043
2043
  }, s.prototype.readInt8 = function(o, c) {
2044
2044
  return c || u(o, 1, this.length), this[o] & 128 ? (255 - this[o] + 1) * -1 : this[o];
@@ -2063,13 +2063,13 @@ function Ka() {
2063
2063
  }, s.prototype.readDoubleBE = function(o, c) {
2064
2064
  return c || u(o, 8, this.length), r.read(this, o, !1, 52, 8);
2065
2065
  };
2066
- function b(o, c, g, A, T, F) {
2066
+ function b(o, c, g, M, T, F) {
2067
2067
  if (!s.isBuffer(o)) throw new TypeError('"buffer" argument must be a Buffer instance');
2068
2068
  if (c > T || c < F) throw new RangeError('"value" argument is out of bounds');
2069
- if (g + A > o.length) throw new RangeError("Index out of range");
2069
+ if (g + M > o.length) throw new RangeError("Index out of range");
2070
2070
  }
2071
- s.prototype.writeUIntLE = function(o, c, g, A) {
2072
- if (o = +o, c = c | 0, g = g | 0, !A) {
2071
+ s.prototype.writeUIntLE = function(o, c, g, M) {
2072
+ if (o = +o, c = c | 0, g = g | 0, !M) {
2073
2073
  var T = Math.pow(2, 8 * g) - 1;
2074
2074
  b(this, o, c, g, T, 0);
2075
2075
  }
@@ -2077,8 +2077,8 @@ function Ka() {
2077
2077
  for (this[c] = o & 255; ++se < g && (F *= 256); )
2078
2078
  this[c + se] = o / F & 255;
2079
2079
  return c + g;
2080
- }, s.prototype.writeUIntBE = function(o, c, g, A) {
2081
- if (o = +o, c = c | 0, g = g | 0, !A) {
2080
+ }, s.prototype.writeUIntBE = function(o, c, g, M) {
2081
+ if (o = +o, c = c | 0, g = g | 0, !M) {
2082
2082
  var T = Math.pow(2, 8 * g) - 1;
2083
2083
  b(this, o, c, g, T, 0);
2084
2084
  }
@@ -2089,27 +2089,27 @@ function Ka() {
2089
2089
  }, s.prototype.writeUInt8 = function(o, c, g) {
2090
2090
  return o = +o, c = c | 0, g || b(this, o, c, 1, 255, 0), s.TYPED_ARRAY_SUPPORT || (o = Math.floor(o)), this[c] = o & 255, c + 1;
2091
2091
  };
2092
- function D(o, c, g, A) {
2092
+ function D(o, c, g, M) {
2093
2093
  c < 0 && (c = 65535 + c + 1);
2094
2094
  for (var T = 0, F = Math.min(o.length - g, 2); T < F; ++T)
2095
- o[g + T] = (c & 255 << 8 * (A ? T : 1 - T)) >>> (A ? T : 1 - T) * 8;
2095
+ o[g + T] = (c & 255 << 8 * (M ? T : 1 - T)) >>> (M ? T : 1 - T) * 8;
2096
2096
  }
2097
2097
  s.prototype.writeUInt16LE = function(o, c, g) {
2098
2098
  return o = +o, c = c | 0, g || b(this, o, c, 2, 65535, 0), s.TYPED_ARRAY_SUPPORT ? (this[c] = o & 255, this[c + 1] = o >>> 8) : D(this, o, c, !0), c + 2;
2099
2099
  }, s.prototype.writeUInt16BE = function(o, c, g) {
2100
2100
  return o = +o, c = c | 0, g || b(this, o, c, 2, 65535, 0), s.TYPED_ARRAY_SUPPORT ? (this[c] = o >>> 8, this[c + 1] = o & 255) : D(this, o, c, !1), c + 2;
2101
2101
  };
2102
- function R(o, c, g, A) {
2102
+ function R(o, c, g, M) {
2103
2103
  c < 0 && (c = 4294967295 + c + 1);
2104
2104
  for (var T = 0, F = Math.min(o.length - g, 4); T < F; ++T)
2105
- o[g + T] = c >>> (A ? T : 3 - T) * 8 & 255;
2105
+ o[g + T] = c >>> (M ? T : 3 - T) * 8 & 255;
2106
2106
  }
2107
2107
  s.prototype.writeUInt32LE = function(o, c, g) {
2108
2108
  return o = +o, c = c | 0, g || b(this, o, c, 4, 4294967295, 0), s.TYPED_ARRAY_SUPPORT ? (this[c + 3] = o >>> 24, this[c + 2] = o >>> 16, this[c + 1] = o >>> 8, this[c] = o & 255) : R(this, o, c, !0), c + 4;
2109
2109
  }, s.prototype.writeUInt32BE = function(o, c, g) {
2110
2110
  return o = +o, c = c | 0, g || b(this, o, c, 4, 4294967295, 0), s.TYPED_ARRAY_SUPPORT ? (this[c] = o >>> 24, this[c + 1] = o >>> 16, this[c + 2] = o >>> 8, this[c + 3] = o & 255) : R(this, o, c, !1), c + 4;
2111
- }, s.prototype.writeIntLE = function(o, c, g, A) {
2112
- if (o = +o, c = c | 0, !A) {
2111
+ }, s.prototype.writeIntLE = function(o, c, g, M) {
2112
+ if (o = +o, c = c | 0, !M) {
2113
2113
  var T = Math.pow(2, 8 * g - 1);
2114
2114
  b(this, o, c, g, T - 1, -T);
2115
2115
  }
@@ -2117,8 +2117,8 @@ function Ka() {
2117
2117
  for (this[c] = o & 255; ++F < g && (se *= 256); )
2118
2118
  o < 0 && ue === 0 && this[c + F - 1] !== 0 && (ue = 1), this[c + F] = (o / se >> 0) - ue & 255;
2119
2119
  return c + g;
2120
- }, s.prototype.writeIntBE = function(o, c, g, A) {
2121
- if (o = +o, c = c | 0, !A) {
2120
+ }, s.prototype.writeIntBE = function(o, c, g, M) {
2121
+ if (o = +o, c = c | 0, !M) {
2122
2122
  var T = Math.pow(2, 8 * g - 1);
2123
2123
  b(this, o, c, g, T - 1, -T);
2124
2124
  }
@@ -2137,34 +2137,34 @@ function Ka() {
2137
2137
  }, s.prototype.writeInt32BE = function(o, c, g) {
2138
2138
  return o = +o, c = c | 0, g || b(this, o, c, 4, 2147483647, -2147483648), o < 0 && (o = 4294967295 + o + 1), s.TYPED_ARRAY_SUPPORT ? (this[c] = o >>> 24, this[c + 1] = o >>> 16, this[c + 2] = o >>> 8, this[c + 3] = o & 255) : R(this, o, c, !1), c + 4;
2139
2139
  };
2140
- function I(o, c, g, A, T, F) {
2141
- if (g + A > o.length) throw new RangeError("Index out of range");
2140
+ function I(o, c, g, M, T, F) {
2141
+ if (g + M > o.length) throw new RangeError("Index out of range");
2142
2142
  if (g < 0) throw new RangeError("Index out of range");
2143
2143
  }
2144
- function G(o, c, g, A, T) {
2145
- return T || I(o, c, g, 4), r.write(o, c, g, A, 23, 4), g + 4;
2144
+ function G(o, c, g, M, T) {
2145
+ return T || I(o, c, g, 4), r.write(o, c, g, M, 23, 4), g + 4;
2146
2146
  }
2147
2147
  s.prototype.writeFloatLE = function(o, c, g) {
2148
2148
  return G(this, o, c, !0, g);
2149
2149
  }, s.prototype.writeFloatBE = function(o, c, g) {
2150
2150
  return G(this, o, c, !1, g);
2151
2151
  };
2152
- function te(o, c, g, A, T) {
2153
- return T || I(o, c, g, 8), r.write(o, c, g, A, 52, 8), g + 8;
2152
+ function te(o, c, g, M, T) {
2153
+ return T || I(o, c, g, 8), r.write(o, c, g, M, 52, 8), g + 8;
2154
2154
  }
2155
2155
  s.prototype.writeDoubleLE = function(o, c, g) {
2156
2156
  return te(this, o, c, !0, g);
2157
2157
  }, s.prototype.writeDoubleBE = function(o, c, g) {
2158
2158
  return te(this, o, c, !1, g);
2159
- }, s.prototype.copy = function(o, c, g, A) {
2160
- if (g || (g = 0), !A && A !== 0 && (A = this.length), c >= o.length && (c = o.length), c || (c = 0), A > 0 && A < g && (A = g), A === g || o.length === 0 || this.length === 0) return 0;
2159
+ }, s.prototype.copy = function(o, c, g, M) {
2160
+ if (g || (g = 0), !M && M !== 0 && (M = this.length), c >= o.length && (c = o.length), c || (c = 0), M > 0 && M < g && (M = g), M === g || o.length === 0 || this.length === 0) return 0;
2161
2161
  if (c < 0)
2162
2162
  throw new RangeError("targetStart out of bounds");
2163
2163
  if (g < 0 || g >= this.length) throw new RangeError("sourceStart out of bounds");
2164
- if (A < 0) throw new RangeError("sourceEnd out of bounds");
2165
- A > this.length && (A = this.length), o.length - c < A - g && (A = o.length - c + g);
2166
- var T = A - g, F;
2167
- if (this === o && g < c && c < A)
2164
+ if (M < 0) throw new RangeError("sourceEnd out of bounds");
2165
+ M > this.length && (M = this.length), o.length - c < M - g && (M = o.length - c + g);
2166
+ var T = M - g, F;
2167
+ if (this === o && g < c && c < M)
2168
2168
  for (F = T - 1; F >= 0; --F)
2169
2169
  o[F + c] = this[F + g];
2170
2170
  else if (T < 1e3 || !s.TYPED_ARRAY_SUPPORT)
@@ -2177,16 +2177,16 @@ function Ka() {
2177
2177
  c
2178
2178
  );
2179
2179
  return T;
2180
- }, s.prototype.fill = function(o, c, g, A) {
2180
+ }, s.prototype.fill = function(o, c, g, M) {
2181
2181
  if (typeof o == "string") {
2182
- if (typeof c == "string" ? (A = c, c = 0, g = this.length) : typeof g == "string" && (A = g, g = this.length), o.length === 1) {
2182
+ if (typeof c == "string" ? (M = c, c = 0, g = this.length) : typeof g == "string" && (M = g, g = this.length), o.length === 1) {
2183
2183
  var T = o.charCodeAt(0);
2184
2184
  T < 256 && (o = T);
2185
2185
  }
2186
- if (A !== void 0 && typeof A != "string")
2186
+ if (M !== void 0 && typeof M != "string")
2187
2187
  throw new TypeError("encoding must be a string");
2188
- if (typeof A == "string" && !s.isEncoding(A))
2189
- throw new TypeError("Unknown encoding: " + A);
2188
+ if (typeof M == "string" && !s.isEncoding(M))
2189
+ throw new TypeError("Unknown encoding: " + M);
2190
2190
  } else typeof o == "number" && (o = o & 255);
2191
2191
  if (c < 0 || this.length < c || this.length < g)
2192
2192
  throw new RangeError("Out of range index");
@@ -2198,7 +2198,7 @@ function Ka() {
2198
2198
  for (F = c; F < g; ++F)
2199
2199
  this[F] = o;
2200
2200
  else {
2201
- var se = s.isBuffer(o) ? o : M(new s(o, A).toString()), ue = se.length;
2201
+ var se = s.isBuffer(o) ? o : A(new s(o, M).toString()), ue = se.length;
2202
2202
  for (F = 0; F < g - c; ++F)
2203
2203
  this[F + c] = se[F % ue];
2204
2204
  }
@@ -2217,15 +2217,15 @@ function Ka() {
2217
2217
  function ae(o) {
2218
2218
  return o < 16 ? "0" + o.toString(16) : o.toString(16);
2219
2219
  }
2220
- function M(o, c) {
2220
+ function A(o, c) {
2221
2221
  c = c || 1 / 0;
2222
- for (var g, A = o.length, T = null, F = [], se = 0; se < A; ++se) {
2222
+ for (var g, M = o.length, T = null, F = [], se = 0; se < M; ++se) {
2223
2223
  if (g = o.charCodeAt(se), g > 55295 && g < 57344) {
2224
2224
  if (!T) {
2225
2225
  if (g > 56319) {
2226
2226
  (c -= 3) > -1 && F.push(239, 191, 189);
2227
2227
  continue;
2228
- } else if (se + 1 === A) {
2228
+ } else if (se + 1 === M) {
2229
2229
  (c -= 3) > -1 && F.push(239, 191, 189);
2230
2230
  continue;
2231
2231
  }
@@ -2273,15 +2273,15 @@ function Ka() {
2273
2273
  return c;
2274
2274
  }
2275
2275
  function E(o, c) {
2276
- for (var g, A, T, F = [], se = 0; se < o.length && !((c -= 2) < 0); ++se)
2277
- g = o.charCodeAt(se), A = g >> 8, T = g % 256, F.push(T), F.push(A);
2276
+ for (var g, M, T, F = [], se = 0; se < o.length && !((c -= 2) < 0); ++se)
2277
+ g = o.charCodeAt(se), M = g >> 8, T = g % 256, F.push(T), F.push(M);
2278
2278
  return F;
2279
2279
  }
2280
2280
  function Y(o) {
2281
2281
  return e.toByteArray(ie(o));
2282
2282
  }
2283
- function B(o, c, g, A) {
2284
- for (var T = 0; T < A && !(T + g >= c.length || T >= o.length); ++T)
2283
+ function B(o, c, g, M) {
2284
+ for (var T = 0; T < M && !(T + g >= c.length || T >= o.length); ++T)
2285
2285
  c[T + g] = o[T];
2286
2286
  return T;
2287
2287
  }
@@ -2301,15 +2301,15 @@ if (!Tt && typeof require == "function")
2301
2301
  } catch {
2302
2302
  }
2303
2303
  var Vo = {};
2304
- var Mn = function(t, e) {
2305
- return Mn = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
2304
+ var An = function(t, e) {
2305
+ return An = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
2306
2306
  r.__proto__ = n;
2307
2307
  } || function(r, n) {
2308
2308
  for (var i in n) n.hasOwnProperty(i) && (r[i] = n[i]);
2309
- }, Mn(t, e);
2309
+ }, An(t, e);
2310
2310
  };
2311
2311
  function Za(t, e) {
2312
- Mn(t, e);
2312
+ An(t, e);
2313
2313
  function r() {
2314
2314
  this.constructor = t;
2315
2315
  }
@@ -2820,7 +2820,7 @@ function Ol() {
2820
2820
  return ar.uint32ArrayFrom = t, ar;
2821
2821
  }
2822
2822
  var ei;
2823
- function Al() {
2823
+ function Ml() {
2824
2824
  return ei || (ei = 1, (function(t) {
2825
2825
  Object.defineProperty(t, "__esModule", { value: !0 }), t.uint32ArrayFrom = t.numToUint8 = t.isEmptyData = t.convertToBuffer = void 0;
2826
2826
  var e = kl();
@@ -2842,10 +2842,10 @@ function Al() {
2842
2842
  })(Qo)), Qo;
2843
2843
  }
2844
2844
  var ti;
2845
- function Ml() {
2845
+ function Al() {
2846
2846
  if (ti) return rr;
2847
2847
  ti = 1, Object.defineProperty(rr, "__esModule", { value: !0 }), rr.Sha256 = void 0;
2848
- var t = Ki, e = Zi(), r = yl(), n = Al(), i = (
2848
+ var t = Ki, e = Zi(), r = yl(), n = Ml(), i = (
2849
2849
  /** @class */
2850
2850
  (function() {
2851
2851
  function d(s) {
@@ -2897,7 +2897,7 @@ function Rl() {
2897
2897
  return ri || (ri = 1, (function(t) {
2898
2898
  Object.defineProperty(t, "__esModule", { value: !0 });
2899
2899
  var e = Ki;
2900
- (0, e.__exportStar)(Ml(), t);
2900
+ (0, e.__exportStar)(Al(), t);
2901
2901
  })(Vo)), Vo;
2902
2902
  }
2903
2903
  Rl();
@@ -3387,7 +3387,7 @@ async function Cc() {
3387
3387
  return t?.getIdToken().getJwtToken();
3388
3388
  }
3389
3389
  Fn(void 0);
3390
- var Sc = "undefined", Dc = "object", kr = "browser", di = "cpu", hi = "device", _n = "engine", Pr = "os", xt = "name", Nr = "type", Tn = "vendor", it = "version", $n = "architecture", Nn = "major", Ln = "model", kc = "console", Pc = "mobile", jc = "tablet", Oc = "smarttv", Ac = "wearable", Mc = "embedded", Rc = typeof window !== Sc, xn = Rc && window.navigator ? window.navigator : void 0;
3390
+ var Sc = "undefined", Dc = "object", kr = "browser", di = "cpu", hi = "device", _n = "engine", Pr = "os", xt = "name", Nr = "type", Tn = "vendor", it = "version", $n = "architecture", Nn = "major", Ln = "model", kc = "console", Pc = "mobile", jc = "tablet", Oc = "smarttv", Mc = "wearable", Ac = "embedded", Rc = typeof window !== Sc, xn = Rc && window.navigator ? window.navigator : void 0;
3391
3391
  xn && xn.userAgentData && xn.userAgentData;
3392
3392
  var Wr = function(t) {
3393
3393
  for (var e = {}, r = 0; r < t.length; r++)
@@ -3425,7 +3425,7 @@ var Wr = function(t) {
3425
3425
  })();
3426
3426
  Wr([xt, it, Nn, Nr]);
3427
3427
  Wr([$n]);
3428
- Wr([Ln, Tn, Nr, kc, Pc, Oc, jc, Ac, Mc]);
3428
+ Wr([Ln, Tn, Nr, kc, Pc, Oc, jc, Mc, Ac]);
3429
3429
  Wr([xt, it]);
3430
3430
  var In = { exports: {} }, Ec = In.exports, fi;
3431
3431
  function Tc() {
@@ -3436,61 +3436,61 @@ function Tc() {
3436
3436
  var r = { 873: (d, s) => {
3437
3437
  var m, y, _ = (function() {
3438
3438
  var j = function(P, x) {
3439
- var w = P, h = z[x], a = null, p = 0, f = null, u = [], b = {}, D = function(M, N) {
3439
+ var w = P, h = z[x], a = null, p = 0, f = null, u = [], b = {}, D = function(A, N) {
3440
3440
  a = (function(E) {
3441
3441
  for (var Y = new Array(E), B = 0; B < E; B += 1) {
3442
3442
  Y[B] = new Array(E);
3443
3443
  for (var le = 0; le < E; le += 1) Y[B][le] = null;
3444
3444
  }
3445
3445
  return Y;
3446
- })(p = 4 * w + 17), R(0, 0), R(p - 7, 0), R(0, p - 7), G(), I(), X(M, N), w >= 7 && te(M), f == null && (f = ne(w, h, u)), ie(f, N);
3447
- }, R = function(M, N) {
3448
- for (var E = -1; E <= 7; E += 1) if (!(M + E <= -1 || p <= M + E)) for (var Y = -1; Y <= 7; Y += 1) N + Y <= -1 || p <= N + Y || (a[M + E][N + Y] = 0 <= E && E <= 6 && (Y == 0 || Y == 6) || 0 <= Y && Y <= 6 && (E == 0 || E == 6) || 2 <= E && E <= 4 && 2 <= Y && Y <= 4);
3446
+ })(p = 4 * w + 17), R(0, 0), R(p - 7, 0), R(0, p - 7), G(), I(), X(A, N), w >= 7 && te(A), f == null && (f = ne(w, h, u)), ie(f, N);
3447
+ }, R = function(A, N) {
3448
+ for (var E = -1; E <= 7; E += 1) if (!(A + E <= -1 || p <= A + E)) for (var Y = -1; Y <= 7; Y += 1) N + Y <= -1 || p <= N + Y || (a[A + E][N + Y] = 0 <= E && E <= 6 && (Y == 0 || Y == 6) || 0 <= Y && Y <= 6 && (E == 0 || E == 6) || 2 <= E && E <= 4 && 2 <= Y && Y <= 4);
3449
3449
  }, I = function() {
3450
- for (var M = 8; M < p - 8; M += 1) a[M][6] == null && (a[M][6] = M % 2 == 0);
3450
+ for (var A = 8; A < p - 8; A += 1) a[A][6] == null && (a[A][6] = A % 2 == 0);
3451
3451
  for (var N = 8; N < p - 8; N += 1) a[6][N] == null && (a[6][N] = N % 2 == 0);
3452
3452
  }, G = function() {
3453
- for (var M = L.getPatternPosition(w), N = 0; N < M.length; N += 1) for (var E = 0; E < M.length; E += 1) {
3454
- var Y = M[N], B = M[E];
3453
+ for (var A = L.getPatternPosition(w), N = 0; N < A.length; N += 1) for (var E = 0; E < A.length; E += 1) {
3454
+ var Y = A[N], B = A[E];
3455
3455
  if (a[Y][B] == null) for (var le = -2; le <= 2; le += 1) for (var o = -2; o <= 2; o += 1) a[Y + le][B + o] = le == -2 || le == 2 || o == -2 || o == 2 || le == 0 && o == 0;
3456
3456
  }
3457
- }, te = function(M) {
3457
+ }, te = function(A) {
3458
3458
  for (var N = L.getBCHTypeNumber(w), E = 0; E < 18; E += 1) {
3459
- var Y = !M && (N >> E & 1) == 1;
3459
+ var Y = !A && (N >> E & 1) == 1;
3460
3460
  a[Math.floor(E / 3)][E % 3 + p - 8 - 3] = Y;
3461
3461
  }
3462
- for (E = 0; E < 18; E += 1) Y = !M && (N >> E & 1) == 1, a[E % 3 + p - 8 - 3][Math.floor(E / 3)] = Y;
3463
- }, X = function(M, N) {
3462
+ for (E = 0; E < 18; E += 1) Y = !A && (N >> E & 1) == 1, a[E % 3 + p - 8 - 3][Math.floor(E / 3)] = Y;
3463
+ }, X = function(A, N) {
3464
3464
  for (var E = h << 3 | N, Y = L.getBCHTypeInfo(E), B = 0; B < 15; B += 1) {
3465
- var le = !M && (Y >> B & 1) == 1;
3465
+ var le = !A && (Y >> B & 1) == 1;
3466
3466
  B < 6 ? a[B][8] = le : B < 8 ? a[B + 1][8] = le : a[p - 15 + B][8] = le;
3467
3467
  }
3468
- for (B = 0; B < 15; B += 1) le = !M && (Y >> B & 1) == 1, B < 8 ? a[8][p - B - 1] = le : B < 9 ? a[8][15 - B - 1 + 1] = le : a[8][15 - B - 1] = le;
3469
- a[p - 8][8] = !M;
3470
- }, ie = function(M, N) {
3468
+ for (B = 0; B < 15; B += 1) le = !A && (Y >> B & 1) == 1, B < 8 ? a[8][p - B - 1] = le : B < 9 ? a[8][15 - B - 1 + 1] = le : a[8][15 - B - 1] = le;
3469
+ a[p - 8][8] = !A;
3470
+ }, ie = function(A, N) {
3471
3471
  for (var E = -1, Y = p - 1, B = 7, le = 0, o = L.getMaskFunction(N), c = p - 1; c > 0; c -= 2) for (c == 6 && (c -= 1); ; ) {
3472
3472
  for (var g = 0; g < 2; g += 1) if (a[Y][c - g] == null) {
3473
- var A = !1;
3474
- le < M.length && (A = (M[le] >>> B & 1) == 1), o(Y, c - g) && (A = !A), a[Y][c - g] = A, (B -= 1) == -1 && (le += 1, B = 7);
3473
+ var M = !1;
3474
+ le < A.length && (M = (A[le] >>> B & 1) == 1), o(Y, c - g) && (M = !M), a[Y][c - g] = M, (B -= 1) == -1 && (le += 1, B = 7);
3475
3475
  }
3476
3476
  if ((Y += E) < 0 || p <= Y) {
3477
3477
  Y -= E, E = -E;
3478
3478
  break;
3479
3479
  }
3480
3480
  }
3481
- }, ne = function(M, N, E) {
3482
- for (var Y = ee.getRSBlocks(M, N), B = re(), le = 0; le < E.length; le += 1) {
3481
+ }, ne = function(A, N, E) {
3482
+ for (var Y = ee.getRSBlocks(A, N), B = re(), le = 0; le < E.length; le += 1) {
3483
3483
  var o = E[le];
3484
- B.put(o.getMode(), 4), B.put(o.getLength(), L.getLengthInBits(o.getMode(), M)), o.write(B);
3484
+ B.put(o.getMode(), 4), B.put(o.getLength(), L.getLengthInBits(o.getMode(), A)), o.write(B);
3485
3485
  }
3486
3486
  var c = 0;
3487
3487
  for (le = 0; le < Y.length; le += 1) c += Y[le].dataCount;
3488
3488
  if (B.getLengthInBits() > 8 * c) throw "code length overflow. (" + B.getLengthInBits() + ">" + 8 * c + ")";
3489
3489
  for (B.getLengthInBits() + 4 <= 8 * c && B.put(0, 4); B.getLengthInBits() % 8 != 0; ) B.putBit(!1);
3490
3490
  for (; !(B.getLengthInBits() >= 8 * c || (B.put(236, 8), B.getLengthInBits() >= 8 * c)); ) B.put(17, 8);
3491
- return (function(g, A) {
3492
- for (var T = 0, F = 0, se = 0, ue = new Array(A.length), he = new Array(A.length), K = 0; K < A.length; K += 1) {
3493
- var de = A[K].dataCount, pe = A[K].totalCount - de;
3491
+ return (function(g, M) {
3492
+ for (var T = 0, F = 0, se = 0, ue = new Array(M.length), he = new Array(M.length), K = 0; K < M.length; K += 1) {
3493
+ var de = M[K].dataCount, pe = M[K].totalCount - de;
3494
3494
  F = Math.max(F, de), se = Math.max(se, pe), ue[K] = new Array(de);
3495
3495
  for (var fe = 0; fe < ue[K].length; fe += 1) ue[K][fe] = 255 & g.getBuffer()[fe + T];
3496
3496
  T += de;
@@ -3501,92 +3501,92 @@ function Tc() {
3501
3501
  }
3502
3502
  }
3503
3503
  var He = 0;
3504
- for (fe = 0; fe < A.length; fe += 1) He += A[fe].totalCount;
3504
+ for (fe = 0; fe < M.length; fe += 1) He += M[fe].totalCount;
3505
3505
  var Ne = new Array(He), Pe = 0;
3506
- for (fe = 0; fe < F; fe += 1) for (K = 0; K < A.length; K += 1) fe < ue[K].length && (Ne[Pe] = ue[K][fe], Pe += 1);
3507
- for (fe = 0; fe < se; fe += 1) for (K = 0; K < A.length; K += 1) fe < he[K].length && (Ne[Pe] = he[K][fe], Pe += 1);
3506
+ for (fe = 0; fe < F; fe += 1) for (K = 0; K < M.length; K += 1) fe < ue[K].length && (Ne[Pe] = ue[K][fe], Pe += 1);
3507
+ for (fe = 0; fe < se; fe += 1) for (K = 0; K < M.length; K += 1) fe < he[K].length && (Ne[Pe] = he[K][fe], Pe += 1);
3508
3508
  return Ne;
3509
3509
  })(B, Y);
3510
3510
  };
3511
- b.addData = function(M, N) {
3511
+ b.addData = function(A, N) {
3512
3512
  var E = null;
3513
3513
  switch (N = N || "Byte") {
3514
3514
  case "Numeric":
3515
- E = Q(M);
3515
+ E = Q(A);
3516
3516
  break;
3517
3517
  case "Alphanumeric":
3518
- E = Z(M);
3518
+ E = Z(A);
3519
3519
  break;
3520
3520
  case "Byte":
3521
- E = U(M);
3521
+ E = U(A);
3522
3522
  break;
3523
3523
  case "Kanji":
3524
- E = q(M);
3524
+ E = q(A);
3525
3525
  break;
3526
3526
  default:
3527
3527
  throw "mode:" + N;
3528
3528
  }
3529
3529
  u.push(E), f = null;
3530
- }, b.isDark = function(M, N) {
3531
- if (M < 0 || p <= M || N < 0 || p <= N) throw M + "," + N;
3532
- return a[M][N];
3530
+ }, b.isDark = function(A, N) {
3531
+ if (A < 0 || p <= A || N < 0 || p <= N) throw A + "," + N;
3532
+ return a[A][N];
3533
3533
  }, b.getModuleCount = function() {
3534
3534
  return p;
3535
3535
  }, b.make = function() {
3536
3536
  if (w < 1) {
3537
- for (var M = 1; M < 40; M++) {
3538
- for (var N = ee.getRSBlocks(M, h), E = re(), Y = 0; Y < u.length; Y++) {
3537
+ for (var A = 1; A < 40; A++) {
3538
+ for (var N = ee.getRSBlocks(A, h), E = re(), Y = 0; Y < u.length; Y++) {
3539
3539
  var B = u[Y];
3540
- E.put(B.getMode(), 4), E.put(B.getLength(), L.getLengthInBits(B.getMode(), M)), B.write(E);
3540
+ E.put(B.getMode(), 4), E.put(B.getLength(), L.getLengthInBits(B.getMode(), A)), B.write(E);
3541
3541
  }
3542
3542
  var le = 0;
3543
3543
  for (Y = 0; Y < N.length; Y++) le += N[Y].dataCount;
3544
3544
  if (E.getLengthInBits() <= 8 * le) break;
3545
3545
  }
3546
- w = M;
3546
+ w = A;
3547
3547
  }
3548
3548
  D(!1, (function() {
3549
3549
  for (var o = 0, c = 0, g = 0; g < 8; g += 1) {
3550
3550
  D(!0, g);
3551
- var A = L.getLostPoint(b);
3552
- (g == 0 || o > A) && (o = A, c = g);
3551
+ var M = L.getLostPoint(b);
3552
+ (g == 0 || o > M) && (o = M, c = g);
3553
3553
  }
3554
3554
  return c;
3555
3555
  })());
3556
- }, b.createTableTag = function(M, N) {
3557
- M = M || 2;
3556
+ }, b.createTableTag = function(A, N) {
3557
+ A = A || 2;
3558
3558
  var E = "";
3559
- E += '<table style="', E += " border-width: 0px; border-style: none;", E += " border-collapse: collapse;", E += " padding: 0px; margin: " + (N = N === void 0 ? 4 * M : N) + "px;", E += '">', E += "<tbody>";
3559
+ E += '<table style="', E += " border-width: 0px; border-style: none;", E += " border-collapse: collapse;", E += " padding: 0px; margin: " + (N = N === void 0 ? 4 * A : N) + "px;", E += '">', E += "<tbody>";
3560
3560
  for (var Y = 0; Y < b.getModuleCount(); Y += 1) {
3561
3561
  E += "<tr>";
3562
- for (var B = 0; B < b.getModuleCount(); B += 1) E += '<td style="', E += " border-width: 0px; border-style: none;", E += " border-collapse: collapse;", E += " padding: 0px; margin: 0px;", E += " width: " + M + "px;", E += " height: " + M + "px;", E += " background-color: ", E += b.isDark(Y, B) ? "#000000" : "#ffffff", E += ";", E += '"/>';
3562
+ for (var B = 0; B < b.getModuleCount(); B += 1) E += '<td style="', E += " border-width: 0px; border-style: none;", E += " border-collapse: collapse;", E += " padding: 0px; margin: 0px;", E += " width: " + A + "px;", E += " height: " + A + "px;", E += " background-color: ", E += b.isDark(Y, B) ? "#000000" : "#ffffff", E += ";", E += '"/>';
3563
3563
  E += "</tr>";
3564
3564
  }
3565
3565
  return (E += "</tbody>") + "</table>";
3566
- }, b.createSvgTag = function(M, N, E, Y) {
3566
+ }, b.createSvgTag = function(A, N, E, Y) {
3567
3567
  var B = {};
3568
- typeof arguments[0] == "object" && (M = (B = arguments[0]).cellSize, N = B.margin, E = B.alt, Y = B.title), M = M || 2, N = N === void 0 ? 4 * M : N, (E = typeof E == "string" ? { text: E } : E || {}).text = E.text || null, E.id = E.text ? E.id || "qrcode-description" : null, (Y = typeof Y == "string" ? { text: Y } : Y || {}).text = Y.text || null, Y.id = Y.text ? Y.id || "qrcode-title" : null;
3569
- var le, o, c, g, A = b.getModuleCount() * M + 2 * N, T = "";
3570
- for (g = "l" + M + ",0 0," + M + " -" + M + ",0 0,-" + M + "z ", T += '<svg version="1.1" xmlns="http://www.w3.org/2000/svg"', T += B.scalable ? "" : ' width="' + A + 'px" height="' + A + 'px"', T += ' viewBox="0 0 ' + A + " " + A + '" ', T += ' preserveAspectRatio="xMinYMin meet"', T += Y.text || E.text ? ' role="img" aria-labelledby="' + ae([Y.id, E.id].join(" ").trim()) + '"' : "", T += ">", T += Y.text ? '<title id="' + ae(Y.id) + '">' + ae(Y.text) + "</title>" : "", T += E.text ? '<description id="' + ae(E.id) + '">' + ae(E.text) + "</description>" : "", T += '<rect width="100%" height="100%" fill="white" cx="0" cy="0"/>', T += '<path d="', o = 0; o < b.getModuleCount(); o += 1) for (c = o * M + N, le = 0; le < b.getModuleCount(); le += 1) b.isDark(o, le) && (T += "M" + (le * M + N) + "," + c + g);
3568
+ typeof arguments[0] == "object" && (A = (B = arguments[0]).cellSize, N = B.margin, E = B.alt, Y = B.title), A = A || 2, N = N === void 0 ? 4 * A : N, (E = typeof E == "string" ? { text: E } : E || {}).text = E.text || null, E.id = E.text ? E.id || "qrcode-description" : null, (Y = typeof Y == "string" ? { text: Y } : Y || {}).text = Y.text || null, Y.id = Y.text ? Y.id || "qrcode-title" : null;
3569
+ var le, o, c, g, M = b.getModuleCount() * A + 2 * N, T = "";
3570
+ for (g = "l" + A + ",0 0," + A + " -" + A + ",0 0,-" + A + "z ", T += '<svg version="1.1" xmlns="http://www.w3.org/2000/svg"', T += B.scalable ? "" : ' width="' + M + 'px" height="' + M + 'px"', T += ' viewBox="0 0 ' + M + " " + M + '" ', T += ' preserveAspectRatio="xMinYMin meet"', T += Y.text || E.text ? ' role="img" aria-labelledby="' + ae([Y.id, E.id].join(" ").trim()) + '"' : "", T += ">", T += Y.text ? '<title id="' + ae(Y.id) + '">' + ae(Y.text) + "</title>" : "", T += E.text ? '<description id="' + ae(E.id) + '">' + ae(E.text) + "</description>" : "", T += '<rect width="100%" height="100%" fill="white" cx="0" cy="0"/>', T += '<path d="', o = 0; o < b.getModuleCount(); o += 1) for (c = o * A + N, le = 0; le < b.getModuleCount(); le += 1) b.isDark(o, le) && (T += "M" + (le * A + N) + "," + c + g);
3571
3571
  return (T += '" stroke="transparent" fill="black"/>') + "</svg>";
3572
- }, b.createDataURL = function(M, N) {
3573
- M = M || 2, N = N === void 0 ? 4 * M : N;
3574
- var E = b.getModuleCount() * M + 2 * N, Y = N, B = E - N;
3572
+ }, b.createDataURL = function(A, N) {
3573
+ A = A || 2, N = N === void 0 ? 4 * A : N;
3574
+ var E = b.getModuleCount() * A + 2 * N, Y = N, B = E - N;
3575
3575
  return J(E, E, function(le, o) {
3576
3576
  if (Y <= le && le < B && Y <= o && o < B) {
3577
- var c = Math.floor((le - Y) / M), g = Math.floor((o - Y) / M);
3577
+ var c = Math.floor((le - Y) / A), g = Math.floor((o - Y) / A);
3578
3578
  return b.isDark(g, c) ? 0 : 1;
3579
3579
  }
3580
3580
  return 1;
3581
3581
  });
3582
- }, b.createImgTag = function(M, N, E) {
3583
- M = M || 2, N = N === void 0 ? 4 * M : N;
3584
- var Y = b.getModuleCount() * M + 2 * N, B = "";
3585
- return B += "<img", B += ' src="', B += b.createDataURL(M, N), B += '"', B += ' width="', B += Y, B += '"', B += ' height="', B += Y, B += '"', E && (B += ' alt="', B += ae(E), B += '"'), B + "/>";
3582
+ }, b.createImgTag = function(A, N, E) {
3583
+ A = A || 2, N = N === void 0 ? 4 * A : N;
3584
+ var Y = b.getModuleCount() * A + 2 * N, B = "";
3585
+ return B += "<img", B += ' src="', B += b.createDataURL(A, N), B += '"', B += ' width="', B += Y, B += '"', B += ' height="', B += Y, B += '"', E && (B += ' alt="', B += ae(E), B += '"'), B + "/>";
3586
3586
  };
3587
- var ae = function(M) {
3588
- for (var N = "", E = 0; E < M.length; E += 1) {
3589
- var Y = M.charAt(E);
3587
+ var ae = function(A) {
3588
+ for (var N = "", E = 0; E < A.length; E += 1) {
3589
+ var Y = A.charAt(E);
3590
3590
  switch (Y) {
3591
3591
  case "<":
3592
3592
  N += "&lt;";
@@ -3606,8 +3606,8 @@ function Tc() {
3606
3606
  }
3607
3607
  return N;
3608
3608
  };
3609
- return b.createASCII = function(M, N) {
3610
- if ((M = M || 1) < 2) return (function(ue) {
3609
+ return b.createASCII = function(A, N) {
3610
+ if ((A = A || 1) < 2) return (function(ue) {
3611
3611
  ue = ue === void 0 ? 2 : ue;
3612
3612
  var he, K, de, pe, fe, xe = 1 * b.getModuleCount() + 2 * ue, we = ue, ke = xe - ue, He = { "██": "█", "█ ": "▀", " █": "▄", " ": " " }, Ne = { "██": "▀", "█ ": "▀", " █": " ", " ": " " }, Pe = "";
3613
3613
  for (he = 0; he < xe; he += 2) {
@@ -3617,17 +3617,17 @@ function Tc() {
3617
3617
  }
3618
3618
  return xe % 2 && ue > 0 ? Pe.substring(0, Pe.length - xe - 1) + Array(xe + 1).join("▀") : Pe.substring(0, Pe.length - 1);
3619
3619
  })(N);
3620
- M -= 1, N = N === void 0 ? 2 * M : N;
3621
- var E, Y, B, le, o = b.getModuleCount() * M + 2 * N, c = N, g = o - N, A = Array(M + 1).join("██"), T = Array(M + 1).join(" "), F = "", se = "";
3620
+ A -= 1, N = N === void 0 ? 2 * A : N;
3621
+ var E, Y, B, le, o = b.getModuleCount() * A + 2 * N, c = N, g = o - N, M = Array(A + 1).join("██"), T = Array(A + 1).join(" "), F = "", se = "";
3622
3622
  for (E = 0; E < o; E += 1) {
3623
- for (B = Math.floor((E - c) / M), se = "", Y = 0; Y < o; Y += 1) le = 1, c <= Y && Y < g && c <= E && E < g && b.isDark(B, Math.floor((Y - c) / M)) && (le = 0), se += le ? A : T;
3624
- for (B = 0; B < M; B += 1) F += se + `
3623
+ for (B = Math.floor((E - c) / A), se = "", Y = 0; Y < o; Y += 1) le = 1, c <= Y && Y < g && c <= E && E < g && b.isDark(B, Math.floor((Y - c) / A)) && (le = 0), se += le ? M : T;
3624
+ for (B = 0; B < A; B += 1) F += se + `
3625
3625
  `;
3626
3626
  }
3627
3627
  return F.substring(0, F.length - 1);
3628
- }, b.renderTo2dContext = function(M, N) {
3628
+ }, b.renderTo2dContext = function(A, N) {
3629
3629
  N = N || 2;
3630
- for (var E = b.getModuleCount(), Y = 0; Y < E; Y++) for (var B = 0; B < E; B++) M.fillStyle = b.isDark(Y, B) ? "black" : "white", M.fillRect(Y * N, B * N, N, N);
3630
+ for (var E = b.getModuleCount(), Y = 0; Y < E; Y++) for (var B = 0; B < E; B++) A.fillStyle = b.isDark(Y, B) ? "black" : "white", A.fillRect(Y * N, B * N, N, N);
3631
3631
  }, b;
3632
3632
  };
3633
3633
  j.stringToBytes = (j.stringToBytesFuncs = { default: function(P) {
@@ -3967,18 +3967,18 @@ function Tc() {
3967
3967
  return p;
3968
3968
  }, J = function(P, x, w) {
3969
3969
  for (var h = (function(R, I) {
3970
- var G = R, te = I, X = new Array(R * I), ie = { setPixel: function(M, N, E) {
3971
- X[N * G + M] = E;
3972
- }, write: function(M) {
3973
- M.writeString("GIF87a"), M.writeShort(G), M.writeShort(te), M.writeByte(128), M.writeByte(0), M.writeByte(0), M.writeByte(0), M.writeByte(0), M.writeByte(0), M.writeByte(255), M.writeByte(255), M.writeByte(255), M.writeString(","), M.writeShort(0), M.writeShort(0), M.writeShort(G), M.writeShort(te), M.writeByte(0);
3970
+ var G = R, te = I, X = new Array(R * I), ie = { setPixel: function(A, N, E) {
3971
+ X[N * G + A] = E;
3972
+ }, write: function(A) {
3973
+ A.writeString("GIF87a"), A.writeShort(G), A.writeShort(te), A.writeByte(128), A.writeByte(0), A.writeByte(0), A.writeByte(0), A.writeByte(0), A.writeByte(0), A.writeByte(255), A.writeByte(255), A.writeByte(255), A.writeString(","), A.writeShort(0), A.writeShort(0), A.writeShort(G), A.writeShort(te), A.writeByte(0);
3974
3974
  var N = ne(2);
3975
- M.writeByte(2);
3976
- for (var E = 0; N.length - E > 255; ) M.writeByte(255), M.writeBytes(N, E, 255), E += 255;
3977
- M.writeByte(N.length - E), M.writeBytes(N, E, N.length - E), M.writeByte(0), M.writeString(";");
3978
- } }, ne = function(M) {
3979
- for (var N = 1 << M, E = 1 + (1 << M), Y = M + 1, B = ae(), le = 0; le < N; le += 1) B.add(String.fromCharCode(le));
3975
+ A.writeByte(2);
3976
+ for (var E = 0; N.length - E > 255; ) A.writeByte(255), A.writeBytes(N, E, 255), E += 255;
3977
+ A.writeByte(N.length - E), A.writeBytes(N, E, N.length - E), A.writeByte(0), A.writeString(";");
3978
+ } }, ne = function(A) {
3979
+ for (var N = 1 << A, E = 1 + (1 << A), Y = A + 1, B = ae(), le = 0; le < N; le += 1) B.add(String.fromCharCode(le));
3980
3980
  B.add(String.fromCharCode(N)), B.add(String.fromCharCode(E));
3981
- var o, c, g, A = H(), T = (o = A, c = 0, g = 0, { write: function(he, K) {
3981
+ var o, c, g, M = H(), T = (o = M, c = 0, g = 0, { write: function(he, K) {
3982
3982
  if (he >>> K) throw "length over";
3983
3983
  for (; c + K >= 8; ) o.writeByte(255 & (he << c | g)), K -= 8 - c, he >>>= 8 - c, g = 0, c = 0;
3984
3984
  g |= he << c, c += K;
@@ -3991,17 +3991,17 @@ function Tc() {
3991
3991
  var ue = String.fromCharCode(X[F]);
3992
3992
  F += 1, B.contains(se + ue) ? se += ue : (T.write(B.indexOf(se), Y), B.size() < 4095 && (B.size() == 1 << Y && (Y += 1), B.add(se + ue)), se = ue);
3993
3993
  }
3994
- return T.write(B.indexOf(se), Y), T.write(E, Y), T.flush(), A.toByteArray();
3994
+ return T.write(B.indexOf(se), Y), T.write(E, Y), T.flush(), M.toByteArray();
3995
3995
  }, ae = function() {
3996
- var M = {}, N = 0, E = { add: function(Y) {
3996
+ var A = {}, N = 0, E = { add: function(Y) {
3997
3997
  if (E.contains(Y)) throw "dup key:" + Y;
3998
- M[Y] = N, N += 1;
3998
+ A[Y] = N, N += 1;
3999
3999
  }, size: function() {
4000
4000
  return N;
4001
4001
  }, indexOf: function(Y) {
4002
- return M[Y];
4002
+ return A[Y];
4003
4003
  }, contains: function(Y) {
4004
- return M[Y] !== void 0;
4004
+ return A[Y] !== void 0;
4005
4005
  } };
4006
4006
  return E;
4007
4007
  };
@@ -4025,7 +4025,7 @@ function Tc() {
4025
4025
  return X.writeByte = function(ae) {
4026
4026
  for (R = R << 8 | 255 & ae, I += 8, G += 1; I >= 6; ) ie(R >>> I - 6), I -= 6;
4027
4027
  }, X.flush = function() {
4028
- if (I > 0 && (ie(R << 6 - I), R = 0, I = 0), G % 3 != 0) for (var ae = 3 - G % 3, M = 0; M < ae; M += 1) te += "=";
4028
+ if (I > 0 && (ie(R << 6 - I), R = 0, I = 0), G % 3 != 0) for (var ae = 3 - G % 3, A = 0; A < ae; A += 1) te += "=";
4029
4029
  }, X.toString = function() {
4030
4030
  return te;
4031
4031
  }, X;
@@ -4294,10 +4294,10 @@ function Tc() {
4294
4294
  if (await this.loadImage(), !this._image) return;
4295
4295
  const { imageOptions: D, qrOptions: R } = this._options, I = D.imageSize * y[R.errorCorrectionLevel], G = Math.floor(I * a * a);
4296
4296
  b = (function({ originalHeight: te, originalWidth: X, maxHiddenDots: ie, maxHiddenAxisDots: ne, dotSize: ae }) {
4297
- const M = { x: 0, y: 0 }, N = { x: 0, y: 0 };
4297
+ const A = { x: 0, y: 0 }, N = { x: 0, y: 0 };
4298
4298
  if (te <= 0 || X <= 0 || ie <= 0 || ae <= 0) return { height: 0, width: 0, hideYDots: 0, hideXDots: 0 };
4299
4299
  const E = te / X;
4300
- return M.x = Math.floor(Math.sqrt(ie / E)), M.x <= 0 && (M.x = 1), ne && ne < M.x && (M.x = ne), M.x % 2 == 0 && M.x--, N.x = M.x * ae, M.y = 1 + 2 * Math.ceil((M.x * E - 1) / 2), N.y = Math.round(N.x * E), (M.y * M.x > ie || ne && ne < M.y) && (ne && ne < M.y ? (M.y = ne, M.y % 2 == 0 && M.x--) : M.y -= 2, N.y = M.y * ae, M.x = 1 + 2 * Math.ceil((M.y / E - 1) / 2), N.x = Math.round(N.y / E)), { height: N.y, width: N.x, hideYDots: M.y, hideXDots: M.x };
4300
+ return A.x = Math.floor(Math.sqrt(ie / E)), A.x <= 0 && (A.x = 1), ne && ne < A.x && (A.x = ne), A.x % 2 == 0 && A.x--, N.x = A.x * ae, A.y = 1 + 2 * Math.ceil((A.x * E - 1) / 2), N.y = Math.round(N.x * E), (A.y * A.x > ie || ne && ne < A.y) && (ne && ne < A.y ? (A.y = ne, A.y % 2 == 0 && A.x--) : A.y -= 2, N.y = A.y * ae, A.x = 1 + 2 * Math.ceil((A.y / E - 1) / 2), N.x = Math.round(N.y / E)), { height: N.y, width: N.x, hideYDots: A.y, hideXDots: A.x };
4301
4301
  })({ originalWidth: this._image.width, originalHeight: this._image.height, maxHiddenDots: G, maxHiddenAxisDots: a - 14, dotSize: u });
4302
4302
  }
4303
4303
  this.drawBackground(), this.drawDots((D, R) => {
@@ -4326,14 +4326,14 @@ function Tc() {
4326
4326
  this._dotsClipPath = this._window.document.createElementNS("http://www.w3.org/2000/svg", "clipPath"), this._dotsClipPath.setAttribute("id", `clip-path-dot-color-${this._instanceId}`), this._defs.appendChild(this._dotsClipPath), this._createColor({ options: (a = f.dotsOptions) === null || a === void 0 ? void 0 : a.gradient, color: f.dotsOptions.color, additionalRotation: 0, x: 0, y: 0, height: f.height, width: f.width, name: `dot-color-${this._instanceId}` });
4327
4327
  for (let X = 0; X < u; X++) for (let ie = 0; ie < u; ie++) h && !h(X, ie) || !((p = this._qr) === null || p === void 0) && p.isDark(X, ie) && (te.draw(I + ie * R, G + X * R, R, (ne, ae) => !(ie + ne < 0 || X + ae < 0 || ie + ne >= u || X + ae >= u) && !(h && !h(X + ae, ie + ne)) && !!this._qr && this._qr.isDark(X + ae, ie + ne)), te._element && this._dotsClipPath && this._dotsClipPath.appendChild(te._element));
4328
4328
  if (f.shape === z) {
4329
- const X = this._roundSize((b / R - u) / 2), ie = u + 2 * X, ne = I - X * R, ae = G - X * R, M = [], N = this._roundSize(ie / 2);
4329
+ const X = this._roundSize((b / R - u) / 2), ie = u + 2 * X, ne = I - X * R, ae = G - X * R, A = [], N = this._roundSize(ie / 2);
4330
4330
  for (let E = 0; E < ie; E++) {
4331
- M[E] = [];
4332
- for (let Y = 0; Y < ie; Y++) E >= X - 1 && E <= ie - X && Y >= X - 1 && Y <= ie - X || Math.sqrt((E - N) * (E - N) + (Y - N) * (Y - N)) > N ? M[E][Y] = 0 : M[E][Y] = this._qr.isDark(Y - 2 * X < 0 ? Y : Y >= u ? Y - 2 * X : Y - X, E - 2 * X < 0 ? E : E >= u ? E - 2 * X : E - X) ? 1 : 0;
4331
+ A[E] = [];
4332
+ for (let Y = 0; Y < ie; Y++) E >= X - 1 && E <= ie - X && Y >= X - 1 && Y <= ie - X || Math.sqrt((E - N) * (E - N) + (Y - N) * (Y - N)) > N ? A[E][Y] = 0 : A[E][Y] = this._qr.isDark(Y - 2 * X < 0 ? Y : Y >= u ? Y - 2 * X : Y - X, E - 2 * X < 0 ? E : E >= u ? E - 2 * X : E - X) ? 1 : 0;
4333
4333
  }
4334
- for (let E = 0; E < ie; E++) for (let Y = 0; Y < ie; Y++) M[E][Y] && (te.draw(ne + Y * R, ae + E * R, R, (B, le) => {
4334
+ for (let E = 0; E < ie; E++) for (let Y = 0; Y < ie; Y++) A[E][Y] && (te.draw(ne + Y * R, ae + E * R, R, (B, le) => {
4335
4335
  var o;
4336
- return !!(!((o = M[E + le]) === null || o === void 0) && o[Y + B]);
4336
+ return !!(!((o = A[E + le]) === null || o === void 0) && o[Y + B]);
4337
4337
  }), te._element && this._dotsClipPath && this._dotsClipPath.appendChild(te._element));
4338
4338
  }
4339
4339
  }
@@ -4343,10 +4343,10 @@ function Tc() {
4343
4343
  if (!h) throw "Element code is not defined";
4344
4344
  const p = this._qr.getModuleCount(), f = Math.min(a.width, a.height) - 2 * a.margin, u = a.shape === z ? f / Math.sqrt(2) : f, b = this._roundSize(u / p), D = 7 * b, R = 3 * b, I = this._roundSize((a.width - p * b) / 2), G = this._roundSize((a.height - p * b) / 2);
4345
4345
  [[0, 0, 0], [1, 0, Math.PI / 2], [0, 1, -Math.PI / 2]].forEach(([te, X, ie]) => {
4346
- var ne, ae, M, N, E, Y, B, le, o, c, g, A, T, F;
4346
+ var ne, ae, A, N, E, Y, B, le, o, c, g, M, T, F;
4347
4347
  const se = I + te * b * (p - 7), ue = G + X * b * (p - 7);
4348
4348
  let he = this._dotsClipPath, K = this._dotsClipPath;
4349
- if ((!((ne = a.cornersSquareOptions) === null || ne === void 0) && ne.gradient || !((ae = a.cornersSquareOptions) === null || ae === void 0) && ae.color) && (he = this._window.document.createElementNS("http://www.w3.org/2000/svg", "clipPath"), he.setAttribute("id", `clip-path-corners-square-color-${te}-${X}-${this._instanceId}`), this._defs.appendChild(he), this._cornersSquareClipPath = this._cornersDotClipPath = K = he, this._createColor({ options: (M = a.cornersSquareOptions) === null || M === void 0 ? void 0 : M.gradient, color: (N = a.cornersSquareOptions) === null || N === void 0 ? void 0 : N.color, additionalRotation: ie, x: se, y: ue, height: D, width: D, name: `corners-square-color-${te}-${X}-${this._instanceId}` })), ((E = a.cornersSquareOptions) === null || E === void 0 ? void 0 : E.type) && S.includes(a.cornersSquareOptions.type)) {
4349
+ if ((!((ne = a.cornersSquareOptions) === null || ne === void 0) && ne.gradient || !((ae = a.cornersSquareOptions) === null || ae === void 0) && ae.color) && (he = this._window.document.createElementNS("http://www.w3.org/2000/svg", "clipPath"), he.setAttribute("id", `clip-path-corners-square-color-${te}-${X}-${this._instanceId}`), this._defs.appendChild(he), this._cornersSquareClipPath = this._cornersDotClipPath = K = he, this._createColor({ options: (A = a.cornersSquareOptions) === null || A === void 0 ? void 0 : A.gradient, color: (N = a.cornersSquareOptions) === null || N === void 0 ? void 0 : N.color, additionalRotation: ie, x: se, y: ue, height: D, width: D, name: `corners-square-color-${te}-${X}-${this._instanceId}` })), ((E = a.cornersSquareOptions) === null || E === void 0 ? void 0 : E.type) && S.includes(a.cornersSquareOptions.type)) {
4350
4350
  const de = new C({ svg: this._element, type: a.cornersSquareOptions.type, window: this._window });
4351
4351
  de.draw(se, ue, D, ie), de._element && he && he.appendChild(de._element);
4352
4352
  } else {
@@ -4356,7 +4356,7 @@ function Tc() {
4356
4356
  return !!(!((ke = L[pe + we]) === null || ke === void 0) && ke[fe + xe]);
4357
4357
  }), de._element && he && he.appendChild(de._element));
4358
4358
  }
4359
- if ((!((le = a.cornersDotOptions) === null || le === void 0) && le.gradient || !((o = a.cornersDotOptions) === null || o === void 0) && o.color) && (K = this._window.document.createElementNS("http://www.w3.org/2000/svg", "clipPath"), K.setAttribute("id", `clip-path-corners-dot-color-${te}-${X}-${this._instanceId}`), this._defs.appendChild(K), this._cornersDotClipPath = K, this._createColor({ options: (c = a.cornersDotOptions) === null || c === void 0 ? void 0 : c.gradient, color: (g = a.cornersDotOptions) === null || g === void 0 ? void 0 : g.color, additionalRotation: ie, x: se + 2 * b, y: ue + 2 * b, height: R, width: R, name: `corners-dot-color-${te}-${X}-${this._instanceId}` })), ((A = a.cornersDotOptions) === null || A === void 0 ? void 0 : A.type) && O.includes(a.cornersDotOptions.type)) {
4359
+ if ((!((le = a.cornersDotOptions) === null || le === void 0) && le.gradient || !((o = a.cornersDotOptions) === null || o === void 0) && o.color) && (K = this._window.document.createElementNS("http://www.w3.org/2000/svg", "clipPath"), K.setAttribute("id", `clip-path-corners-dot-color-${te}-${X}-${this._instanceId}`), this._defs.appendChild(K), this._cornersDotClipPath = K, this._createColor({ options: (c = a.cornersDotOptions) === null || c === void 0 ? void 0 : c.gradient, color: (g = a.cornersDotOptions) === null || g === void 0 ? void 0 : g.color, additionalRotation: ie, x: se + 2 * b, y: ue + 2 * b, height: R, width: R, name: `corners-dot-color-${te}-${X}-${this._instanceId}` })), ((M = a.cornersDotOptions) === null || M === void 0 ? void 0 : M.type) && O.includes(a.cornersDotOptions.type)) {
4360
4360
  const de = new $({ svg: this._element, type: a.cornersDotOptions.type, window: this._window });
4361
4361
  de.draw(se + 2 * b, ue + 2 * b, R, ie), de._element && K && K.appendChild(de._element);
4362
4362
  } else {
@@ -4410,8 +4410,8 @@ function Tc() {
4410
4410
  if (h.type === "radial") te = this._window.document.createElementNS("http://www.w3.org/2000/svg", "radialGradient"), te.setAttribute("id", R), te.setAttribute("gradientUnits", "userSpaceOnUse"), te.setAttribute("fx", String(f + D / 2)), te.setAttribute("fy", String(u + b / 2)), te.setAttribute("cx", String(f + D / 2)), te.setAttribute("cy", String(u + b / 2)), te.setAttribute("r", String(I / 2));
4411
4411
  else {
4412
4412
  const X = ((h.rotation || 0) + p) % (2 * Math.PI), ie = (X + 2 * Math.PI) % (2 * Math.PI);
4413
- let ne = f + D / 2, ae = u + b / 2, M = f + D / 2, N = u + b / 2;
4414
- ie >= 0 && ie <= 0.25 * Math.PI || ie > 1.75 * Math.PI && ie <= 2 * Math.PI ? (ne -= D / 2, ae -= b / 2 * Math.tan(X), M += D / 2, N += b / 2 * Math.tan(X)) : ie > 0.25 * Math.PI && ie <= 0.75 * Math.PI ? (ae -= b / 2, ne -= D / 2 / Math.tan(X), N += b / 2, M += D / 2 / Math.tan(X)) : ie > 0.75 * Math.PI && ie <= 1.25 * Math.PI ? (ne += D / 2, ae += b / 2 * Math.tan(X), M -= D / 2, N -= b / 2 * Math.tan(X)) : ie > 1.25 * Math.PI && ie <= 1.75 * Math.PI && (ae += b / 2, ne += D / 2 / Math.tan(X), N -= b / 2, M -= D / 2 / Math.tan(X)), te = this._window.document.createElementNS("http://www.w3.org/2000/svg", "linearGradient"), te.setAttribute("id", R), te.setAttribute("gradientUnits", "userSpaceOnUse"), te.setAttribute("x1", String(Math.round(ne))), te.setAttribute("y1", String(Math.round(ae))), te.setAttribute("x2", String(Math.round(M))), te.setAttribute("y2", String(Math.round(N)));
4413
+ let ne = f + D / 2, ae = u + b / 2, A = f + D / 2, N = u + b / 2;
4414
+ ie >= 0 && ie <= 0.25 * Math.PI || ie > 1.75 * Math.PI && ie <= 2 * Math.PI ? (ne -= D / 2, ae -= b / 2 * Math.tan(X), A += D / 2, N += b / 2 * Math.tan(X)) : ie > 0.25 * Math.PI && ie <= 0.75 * Math.PI ? (ae -= b / 2, ne -= D / 2 / Math.tan(X), N += b / 2, A += D / 2 / Math.tan(X)) : ie > 0.75 * Math.PI && ie <= 1.25 * Math.PI ? (ne += D / 2, ae += b / 2 * Math.tan(X), A -= D / 2, N -= b / 2 * Math.tan(X)) : ie > 1.25 * Math.PI && ie <= 1.75 * Math.PI && (ae += b / 2, ne += D / 2 / Math.tan(X), N -= b / 2, A -= D / 2 / Math.tan(X)), te = this._window.document.createElementNS("http://www.w3.org/2000/svg", "linearGradient"), te.setAttribute("id", R), te.setAttribute("gradientUnits", "userSpaceOnUse"), te.setAttribute("x1", String(Math.round(ne))), te.setAttribute("y1", String(Math.round(ae))), te.setAttribute("x2", String(Math.round(A))), te.setAttribute("y2", String(Math.round(N)));
4415
4415
  }
4416
4416
  h.colorStops.forEach(({ offset: X, color: ie }) => {
4417
4417
  const ne = this._window.document.createElementNS("http://www.w3.org/2000/svg", "stop");
@@ -4785,7 +4785,7 @@ function Zc(t) {
4785
4785
  function Jc(t) {
4786
4786
  return t.toString();
4787
4787
  }
4788
- var Mr = { exports: {} }, Xc = Mr.exports, pi;
4788
+ var Ar = { exports: {} }, Xc = Ar.exports, pi;
4789
4789
  function eu() {
4790
4790
  return pi || (pi = 1, (function(t, e) {
4791
4791
  (function(r, n) {
@@ -4933,17 +4933,17 @@ function eu() {
4933
4933
  }, x.format = function(w) {
4934
4934
  var h = this, a = this.$locale();
4935
4935
  if (!this.isValid()) return a.invalidDate || O;
4936
- var p = w || "YYYY-MM-DDTHH:mm:ssZ", f = H.z(this), u = this.$H, b = this.$m, D = this.$M, R = a.weekdays, I = a.months, G = a.meridiem, te = function(ne, ae, M, N) {
4937
- return ne && (ne[ae] || ne(h, p)) || M[ae].slice(0, N);
4936
+ var p = w || "YYYY-MM-DDTHH:mm:ssZ", f = H.z(this), u = this.$H, b = this.$m, D = this.$M, R = a.weekdays, I = a.months, G = a.meridiem, te = function(ne, ae, A, N) {
4937
+ return ne && (ne[ae] || ne(h, p)) || A[ae].slice(0, N);
4938
4938
  }, X = function(ne) {
4939
4939
  return H.s(u % 12 || 12, ne, "0");
4940
- }, ie = G || function(ne, ae, M) {
4940
+ }, ie = G || function(ne, ae, A) {
4941
4941
  var N = ne < 12 ? "AM" : "PM";
4942
- return M ? N.toLowerCase() : N;
4942
+ return A ? N.toLowerCase() : N;
4943
4943
  };
4944
4944
  return p.replace(z, (function(ne, ae) {
4945
- return ae || (function(M) {
4946
- switch (M) {
4945
+ return ae || (function(A) {
4946
+ switch (A) {
4947
4947
  case "YY":
4948
4948
  return String(h.$y).slice(-2);
4949
4949
  case "YYYY":
@@ -5061,7 +5061,7 @@ function eu() {
5061
5061
  return q(1e3 * P);
5062
5062
  }, q.en = re[ee], q.Ls = re, q.p = {}, q;
5063
5063
  }));
5064
- })(Mr)), Mr.exports;
5064
+ })(Ar)), Ar.exports;
5065
5065
  }
5066
5066
  var tu = eu();
5067
5067
  const ce = /* @__PURE__ */ Fi(tu);
@@ -5241,7 +5241,7 @@ function ns(t) {
5241
5241
  } else for (r in t) t[r] && (n && (n += " "), n += r);
5242
5242
  return n;
5243
5243
  }
5244
- function Ae() {
5244
+ function Me() {
5245
5245
  for (var t, e, r = 0, n = "", i = arguments.length; r < i; r++) (t = arguments[r]) && (e = ns(t)) && (n && (n += " "), n += e);
5246
5246
  return n;
5247
5247
  }
@@ -5540,13 +5540,13 @@ const wu = {
5540
5540
  excludeDate: $,
5541
5541
  hideOutsideDates: W,
5542
5542
  month: C
5543
- }), { resolvedClassNames: R, resolvedStyles: I } = Ai({
5543
+ }), { resolvedClassNames: R, resolvedStyles: I } = Mi({
5544
5544
  classNames: n,
5545
5545
  styles: d,
5546
5546
  props: r
5547
5547
  }), G = b.map((te, X) => {
5548
5548
  const ie = te.map((ne, ae) => {
5549
- const M = !to(ne, C), N = re?.(ne) || ce(ne).locale(_ || u.locale).format("D MMMM YYYY"), E = O?.(ne), Y = ce(ne).isSame(D, "date");
5549
+ const A = !to(ne, C), N = re?.(ne) || ce(ne).locale(_ || u.locale).format("D MMMM YYYY"), E = O?.(ne), Y = ce(ne).isSame(D, "date");
5550
5550
  return /* @__PURE__ */ v.jsx(
5551
5551
  "td",
5552
5552
  {
@@ -5565,8 +5565,8 @@ const wu = {
5565
5565
  date: ne,
5566
5566
  size: x,
5567
5567
  weekend: u.getWeekendDays(k).includes(ce(ne).get("day")),
5568
- outside: M,
5569
- hidden: W ? M : !1,
5568
+ outside: A,
5569
+ hidden: W ? A : !1,
5570
5570
  "aria-label": N,
5571
5571
  static: Q,
5572
5572
  disabled: $?.(ne) || !as(ne, tt(L)) || !ss(ne, tt(z)),
@@ -6034,14 +6034,14 @@ const ju = {
6034
6034
  });
6035
6035
  Pt.classes = gs;
6036
6036
  Pt.displayName = "@mantine/dates/CalendarHeader";
6037
- function Au(t) {
6037
+ function Mu(t) {
6038
6038
  const e = ds(t);
6039
6039
  return [e[0][0], e[3][0]];
6040
6040
  }
6041
- const Mu = {
6041
+ const Au = {
6042
6042
  decadeLabelFormat: "YYYY"
6043
6043
  }, Gr = Be((t, e) => {
6044
- const r = Ue("DecadeLevel", Mu, t), {
6044
+ const r = Ue("DecadeLevel", Au, t), {
6045
6045
  // YearsList settings
6046
6046
  decade: n,
6047
6047
  locale: i,
@@ -6078,7 +6078,7 @@ const Mu = {
6078
6078
  size: h,
6079
6079
  attributes: a,
6080
6080
  ...p
6081
- } = r, f = kt(), [u, b] = Au(n), D = {
6081
+ } = r, f = kt(), [u, b] = Mu(n), D = {
6082
6082
  __staticSelector: x || "DecadeLevel",
6083
6083
  classNames: oe,
6084
6084
  styles: J,
@@ -6284,7 +6284,7 @@ const Eu = {
6284
6284
  static: ie,
6285
6285
  attributes: ne,
6286
6286
  ...ae
6287
- } = r, M = kt(), N = {
6287
+ } = r, A = kt(), N = {
6288
6288
  __staticSelector: te || "MonthLevel",
6289
6289
  classNames: R,
6290
6290
  styles: I,
@@ -6296,7 +6296,7 @@ const Eu = {
6296
6296
  /* @__PURE__ */ v.jsx(
6297
6297
  Pt,
6298
6298
  {
6299
- label: typeof D == "function" ? D(n) : ce(n).locale(i || M.locale).format(D),
6299
+ label: typeof D == "function" ? D(n) : ce(n).locale(i || A.locale).format(D),
6300
6300
  __preventFocus: Q,
6301
6301
  __stopPropagation: Z,
6302
6302
  nextIcon: U,
@@ -6640,7 +6640,7 @@ const Nu = {
6640
6640
  vars: te,
6641
6641
  attributes: X,
6642
6642
  ...ie
6643
- } = r, ne = De([]), ae = Array(f).fill(0).map((M, N) => {
6643
+ } = r, ne = De([]), ae = Array(f).fill(0).map((A, N) => {
6644
6644
  const E = ce(n).add(N, "months").format("YYYY-MM-DD");
6645
6645
  return /* @__PURE__ */ v.jsx(
6646
6646
  Kr,
@@ -6809,7 +6809,7 @@ const Iu = {
6809
6809
  // DecadeLevelGroup props
6810
6810
  yearsListFormat: ne,
6811
6811
  getYearControlProps: ae,
6812
- decadeLabelFormat: M,
6812
+ decadeLabelFormat: A,
6813
6813
  // Other props
6814
6814
  classNames: N,
6815
6815
  styles: E,
@@ -6819,7 +6819,7 @@ const Iu = {
6819
6819
  locale: o,
6820
6820
  __staticSelector: c,
6821
6821
  size: g,
6822
- __preventFocus: A,
6822
+ __preventFocus: M,
6823
6823
  __stopPropagation: T,
6824
6824
  onNextDecade: F,
6825
6825
  onPreviousDecade: se,
@@ -6831,7 +6831,7 @@ const Iu = {
6831
6831
  enableKeyboardNavigation: fe,
6832
6832
  attributes: xe,
6833
6833
  ...we
6834
- } = r, { resolvedClassNames: ke, resolvedStyles: He } = Ai({
6834
+ } = r, { resolvedClassNames: ke, resolvedStyles: He } = Mi({
6835
6835
  classNames: N,
6836
6836
  styles: E,
6837
6837
  props: r
@@ -6942,7 +6942,7 @@ const Iu = {
6942
6942
  monthLabelFormat: p,
6943
6943
  __onDayClick: b,
6944
6944
  __onDayMouseEnter: D,
6945
- __preventFocus: A,
6945
+ __preventFocus: M,
6946
6946
  __stopPropagation: T,
6947
6947
  static: pe,
6948
6948
  withCellSpacing: R,
@@ -6976,7 +6976,7 @@ const Iu = {
6976
6976
  __onControlClick: (me, je) => {
6977
6977
  Q && Ee(je), Pe(lr("month", l, i)), L?.(je);
6978
6978
  },
6979
- __preventFocus: A,
6979
+ __preventFocus: M,
6980
6980
  __stopPropagation: T,
6981
6981
  withCellSpacing: R,
6982
6982
  headerControlsOrder: ee,
@@ -6999,12 +6999,12 @@ const Iu = {
6999
6999
  nextIcon: f,
7000
7000
  previousLabel: k?.previousDecade ?? $,
7001
7001
  previousIcon: u,
7002
- decadeLabelFormat: M,
7002
+ decadeLabelFormat: A,
7003
7003
  __onControlMouseEnter: V,
7004
7004
  __onControlClick: (me, je) => {
7005
7005
  re && Ee(je), Pe(lr("year", l, i)), z?.(je);
7006
7006
  },
7007
- __preventFocus: A,
7007
+ __preventFocus: M,
7008
7008
  __stopPropagation: T,
7009
7009
  withCellSpacing: R,
7010
7010
  headerControlsOrder: ee,
@@ -7071,7 +7071,7 @@ function Bu(t) {
7071
7071
  yearLabelFormat: ne,
7072
7072
  // DecadeLevelGroup props
7073
7073
  yearsListFormat: ae,
7074
- getYearControlProps: M,
7074
+ getYearControlProps: A,
7075
7075
  decadeLabelFormat: N,
7076
7076
  // External picker props
7077
7077
  allowSingleDateInRange: E,
@@ -7133,7 +7133,7 @@ function Bu(t) {
7133
7133
  yearLabelFormat: ne,
7134
7134
  // DecadeLevelGroup props
7135
7135
  yearsListFormat: ae,
7136
- getYearControlProps: M,
7136
+ getYearControlProps: A,
7137
7137
  decadeLabelFormat: N,
7138
7138
  // External picker props
7139
7139
  allowSingleDateInRange: E,
@@ -7198,7 +7198,7 @@ const Fu = {
7198
7198
  } = r, u = De(null), b = De(null), [D, R] = ve(!1), { calendarProps: I, others: G } = Bu(f), te = kt(), ie = k || ((K) => {
7199
7199
  const de = ce(K, C, te.getLocale(S)).toDate();
7200
7200
  return Number.isNaN(de.getTime()) ? Yu(K) : ce(de).format("YYYY-MM-DD");
7201
- }), ne = J !== void 0 ? J : m, ae = (K) => K ? ce(K).locale(te.getLocale(S)).format(C) : "", [M, N, E] = Bn({
7201
+ }), ne = J !== void 0 ? J : m, ae = (K) => K ? ce(K).locale(te.getLocale(S)).format(C) : "", [A, N, E] = Bn({
7202
7202
  type: "default",
7203
7203
  value: l,
7204
7204
  defaultValue: d,
@@ -7212,9 +7212,9 @@ const Fu = {
7212
7212
  $e(() => {
7213
7213
  E && l !== null && B(l);
7214
7214
  }, [E, l]);
7215
- const [le, o] = ve(ae(M));
7215
+ const [le, o] = ve(ae(A));
7216
7216
  $e(() => {
7217
- o(ae(M));
7217
+ o(ae(A));
7218
7218
  }, [te.getLocale(S)]);
7219
7219
  const c = (K) => {
7220
7220
  const de = K.currentTarget.value;
@@ -7225,8 +7225,8 @@ const Fu = {
7225
7225
  pe && zu({ date: pe, minDate: O, maxDate: $ }) && (N(pe), B(pe));
7226
7226
  }
7227
7227
  }, g = (K) => {
7228
- V?.(K), R(!1), z && o(ae(M));
7229
- }, A = (K) => {
7228
+ V?.(K), R(!1), z && o(ae(A));
7229
+ }, M = (K) => {
7230
7230
  L?.(K), R(!0);
7231
7231
  }, T = (K) => {
7232
7232
  W?.(K), R(!0);
@@ -7234,14 +7234,14 @@ const Fu = {
7234
7234
  K.key === "Escape" && R(!1), ee?.(K);
7235
7235
  }, se = (K) => ({
7236
7236
  ...j?.(K),
7237
- selected: ce(M).isSame(K, "day"),
7237
+ selected: ce(A).isSame(K, "day"),
7238
7238
  onClick: (de) => {
7239
7239
  j?.(K).onClick?.(de);
7240
- const pe = ne && ce(M).isSame(K, "day") ? null : K;
7240
+ const pe = ne && ce(A).isSame(K, "day") ? null : K;
7241
7241
  N(pe), !E && pe && o(ae(pe)), R(!1);
7242
7242
  }
7243
7243
  }), ue = /* @__PURE__ */ v.jsx(
7244
- Ar.ClearButton,
7244
+ Mr.ClearButton,
7245
7245
  {
7246
7246
  onClick: () => {
7247
7247
  N(null), !E && o(""), R(!1);
@@ -7249,14 +7249,14 @@ const Fu = {
7249
7249
  unstyled: q,
7250
7250
  ...y
7251
7251
  }
7252
- ), he = m && !!M && !re && !p;
7252
+ ), he = m && !!A && !re && !p;
7253
7253
  return na(() => {
7254
- M !== void 0 && !D && o(ae(M));
7255
- }, [M]), zi(() => R(!1), void 0, [
7254
+ A !== void 0 && !D && o(ae(A));
7255
+ }, [A]), zi(() => R(!1), void 0, [
7256
7256
  u.current,
7257
7257
  b.current
7258
7258
  ]), /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
7259
- /* @__PURE__ */ v.jsx(Ar.Wrapper, { ...i, __staticSelector: "DateInput", ref: u, children: /* @__PURE__ */ v.jsxs(
7259
+ /* @__PURE__ */ v.jsx(Mr.Wrapper, { ...i, __staticSelector: "DateInput", ref: u, children: /* @__PURE__ */ v.jsxs(
7260
7260
  ur,
7261
7261
  {
7262
7262
  opened: D,
@@ -7268,7 +7268,7 @@ const Fu = {
7268
7268
  ..._,
7269
7269
  children: [
7270
7270
  /* @__PURE__ */ v.jsx(ur.Target, { children: /* @__PURE__ */ v.jsx(
7271
- Ar,
7271
+ Mr,
7272
7272
  {
7273
7273
  "data-dates-input": !0,
7274
7274
  "data-read-only": re || void 0,
@@ -7277,7 +7277,7 @@ const Fu = {
7277
7277
  value: le,
7278
7278
  onChange: c,
7279
7279
  onBlur: g,
7280
- onFocus: A,
7280
+ onFocus: M,
7281
7281
  onClick: T,
7282
7282
  onKeyDown: F,
7283
7283
  readOnly: re,
@@ -7313,11 +7313,11 @@ const Fu = {
7313
7313
  date: Y,
7314
7314
  onDateChange: B,
7315
7315
  getMonthControlProps: (K) => ({
7316
- selected: typeof M == "string" ? to(K, M) : !1,
7316
+ selected: typeof A == "string" ? to(K, A) : !1,
7317
7317
  ...h?.(K)
7318
7318
  }),
7319
7319
  getYearControlProps: (K) => ({
7320
- selected: typeof M == "string" ? ce(K).isSame(M, "year") : !1,
7320
+ selected: typeof A == "string" ? ce(K).isSame(A, "year") : !1,
7321
7321
  ...a?.(K)
7322
7322
  }),
7323
7323
  attributes: i.attributes
@@ -7328,10 +7328,10 @@ const Fu = {
7328
7328
  ]
7329
7329
  }
7330
7330
  ) }),
7331
- /* @__PURE__ */ v.jsx(rs, { name: Q, form: Z, value: M, type: "default" })
7331
+ /* @__PURE__ */ v.jsx(rs, { name: Q, form: Z, value: A, type: "default" })
7332
7332
  ] });
7333
7333
  });
7334
- tn.classes = { ...Ar.classes, ...en.classes };
7334
+ tn.classes = { ...Mr.classes, ...en.classes };
7335
7335
  tn.displayName = "@mantine/dates/DateInput";
7336
7336
  function Wu(t) {
7337
7337
  const e = Ve.c(49), {
@@ -7382,7 +7382,7 @@ function Wu(t) {
7382
7382
  return null;
7383
7383
  const I = U(D, R);
7384
7384
  return /* @__PURE__ */ v.jsxs(ji, { children: [
7385
- (D.type === void 0 || D.type == "text") && /* @__PURE__ */ v.jsx(Mi, { label: D.column.title, placeholder: D.placeholder ?? "", ...J.getInputProps(D.id), type: D.id.includes("email") ? "email" : void 0, required: I }, J.key(D.id)),
7385
+ (D.type === void 0 || D.type == "text") && /* @__PURE__ */ v.jsx(Ai, { label: D.column.title, placeholder: D.placeholder ?? "", ...J.getInputProps(D.id), type: D.id.includes("email") ? "email" : void 0, required: I }, J.key(D.id)),
7386
7386
  D.type === "number" && /* @__PURE__ */ v.jsx(Ri, { decimalSeparator: ",", label: D.column.title, placeholder: D.placeholder ?? "", ...J.getInputProps(D.id), required: I }, J.key(D.id)),
7387
7387
  D.type === "date" && /* @__PURE__ */ v.jsx(tn, { label: D.column.title, placeholder: D.placeholder ?? "", valueFormat: "DD.MM.YYYY", clearable: !0, ...J.getInputProps(D.id), required: I }, J.key(D.id)),
7388
7388
  D.type === "boolean" && /* @__PURE__ */ v.jsx(qt, { mt: "md", label: D.column.title, ...J.getInputProps(D.id, {
@@ -7768,13 +7768,13 @@ function dd(t, e) {
7768
7768
  }
7769
7769
  var io = "mantine-datatable-nowrap", so = "mantine-datatable-ellipsis", Ut = "mantine-datatable-pointer-cursor", ws = "mantine-datatable-context-menu-cursor", hd = "mantine-datatable-text-selection-disabled", nn = "mantine-datatable-text-align-left", on = "mantine-datatable-text-align-center", sn = "mantine-datatable-text-align-right";
7770
7770
  function fd({ className: t, style: e, visibleMediaQuery: r, title: n, noWrap: i, ellipsis: l, textAlign: d, width: s }) {
7771
- return rn(r) ? v.jsx(mr, { className: Ae({ [io]: i || l, [so]: l, [nn]: d === "left", [on]: d === "center", [sn]: d === "right" }, t), style: [{ width: s, minWidth: s, maxWidth: s }, e], children: n }) : null;
7771
+ return rn(r) ? v.jsx(mr, { className: Me({ [io]: i || l, [so]: l, [nn]: d === "left", [on]: d === "center", [sn]: d === "right" }, t), style: [{ width: s, minWidth: s, maxWidth: s }, e], children: n }) : null;
7772
7772
  }
7773
7773
  function pd({ shadowVisible: t }) {
7774
7774
  return v.jsx(mr, { className: "mantine-datatable-footer-selector-placeholder-cell", "data-shadow-visible": t || void 0 });
7775
7775
  }
7776
7776
  function gd({ className: t, style: e, columns: r, defaultColumnProps: n, selectionVisible: i, selectorCellShadowVisible: l, ref: d }) {
7777
- return v.jsx(Is, { ref: d, className: Ae("mantine-datatable-footer", t), style: e, children: v.jsxs(Ft, { children: [i && v.jsx(pd, { shadowVisible: l }), r.map(({ hidden: s, ...m }) => {
7777
+ return v.jsx(Is, { ref: d, className: Me("mantine-datatable-footer", t), style: e, children: v.jsxs(Ft, { children: [i && v.jsx(pd, { shadowVisible: l }), r.map(({ hidden: s, ...m }) => {
7778
7778
  if (s) return null;
7779
7779
  let { accessor: y, visibleMediaQuery: _, textAlign: j, width: S, footer: C, footerClassName: k, footerStyle: O, noWrap: $, ellipsis: z } = { ...n, ...m };
7780
7780
  return v.jsx(fd, { className: k, style: O, visibleMediaQuery: _, textAlign: j, width: S, title: C, noWrap: $, ellipsis: z }, y);
@@ -7782,7 +7782,7 @@ function gd({ className: t, style: e, columns: r, defaultColumnProps: n, selecti
7782
7782
  }
7783
7783
  function md({ group: { id: t, columns: e, groups: r, title: n, textAlign: i, className: l, style: d }, maxDepth: s, currentDepth: m, previousGroups: y, isLastGroup: _, withColumnBorders: j = !1, totalTableColumns: S }) {
7784
7784
  let C = Xe(() => e && e.length > 0 ? e : r && r.length > 0 ? oo([{ id: t, columns: e, groups: r }]) : [], [e, r, t]), k = Xe(() => C.map(({ visibleMediaQuery: ee }) => ee), [C]), O = ad(k), $ = Xe(() => zn({ columns: e, groups: r }, O), [t, e, r, O]), z = Xe(() => y.reduce((ee, re) => ee + zn(re, O), 0), [y, O]), L = r && r.length > 0 ? 1 : s - m, V = z + $ < S, W = cd(_, V, j);
7785
- return $ > 0 ? v.jsx(mr, { colSpan: $, rowSpan: L > 1 ? L : void 0, className: Ae("mantine-datatable-column-group-header-cell", { [nn]: i === "left", [on]: i === "center", [sn]: i === "right", "mantine-datatable-column-group-header-cell--needs-border": W }, l), style: d, children: n ?? no(t) }) : null;
7785
+ return $ > 0 ? v.jsx(mr, { colSpan: $, rowSpan: L > 1 ? L : void 0, className: Me("mantine-datatable-column-group-header-cell", { [nn]: i === "left", [on]: i === "center", [sn]: i === "right", "mantine-datatable-column-group-header-cell--needs-border": W }, l), style: d, children: n ?? no(t) }) : null;
7786
7786
  }
7787
7787
  function yd() {
7788
7788
  return v.jsxs("svg", { width: "14", height: "14", viewBox: "0 0 24 24", strokeWidth: "2", stroke: "currentColor", fill: "none", strokeLinecap: "round", strokeLinejoin: "round", children: [v.jsx("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }), v.jsx("path", { d: "M4 4h16v2.172a2 2 0 0 1 -.586 1.414l-4.414 4.414v7l-6 2v-8.5l-4.48 -4.928a2 2 0 0 1 -.52 -1.345v-2.227z" })] });
@@ -7880,31 +7880,31 @@ function Dd({ className: t, style: e, accessor: r, visibleMediaQuery: n, title:
7880
7880
  }, a = (p) => {
7881
7881
  p.stopPropagation(), re((f) => f.map((u) => u.accessor === r ? { ...u, toggled: !1 } : u));
7882
7882
  };
7883
- return v.jsxs(mr, { "data-accessor": r, className: Ae({ "mantine-datatable-header-cell-sortable": l, "mantine-datatable-header-cell-toggleable": s, "mantine-datatable-header-cell-resizable": m }, t), style: [{ width: j, ...m ? {} : { minWidth: j, maxWidth: j } }, e], role: l ? "button" : void 0, tabIndex: l ? 0 : void 0, onClick: oe, onKeyDown: (p) => p.key === "Enter" && oe?.(), ref: U, children: [v.jsxs(Fe, { className: "mantine-datatable-header-cell-sortable-group", justify: "space-between", wrap: "nowrap", children: [v.jsxs(zs, { align: "center", w: "100%", className: Ae({ "mantine-datatable-header-cell-draggable": d, "mantine-datatable-header-cell-drag-over": Q }), draggable: d, onDragStart: d ? J : void 0, onDragEnter: d ? w : void 0, onDragOver: d ? P : void 0, onDrop: d ? x : void 0, onDragLeave: d ? h : void 0, children: [d ? v.jsx(Yt, { role: "img", "aria-label": "Drag column", children: v.jsx(Wt, { className: "mantine-datatable-header-cell-draggable-action-icon", variant: "subtle", size: "xs", onClick: (p) => {
7883
+ return v.jsxs(mr, { "data-accessor": r, className: Me({ "mantine-datatable-header-cell-sortable": l, "mantine-datatable-header-cell-toggleable": s, "mantine-datatable-header-cell-resizable": m }, t), style: [{ width: j, ...m ? {} : { minWidth: j, maxWidth: j } }, e], role: l ? "button" : void 0, tabIndex: l ? 0 : void 0, onClick: oe, onKeyDown: (p) => p.key === "Enter" && oe?.(), ref: U, children: [v.jsxs(Fe, { className: "mantine-datatable-header-cell-sortable-group", justify: "space-between", wrap: "nowrap", children: [v.jsxs(zs, { align: "center", w: "100%", className: Me({ "mantine-datatable-header-cell-draggable": d, "mantine-datatable-header-cell-drag-over": Q }), draggable: d, onDragStart: d ? J : void 0, onDragEnter: d ? w : void 0, onDragOver: d ? P : void 0, onDrop: d ? x : void 0, onDragLeave: d ? h : void 0, children: [d ? v.jsx(Yt, { role: "img", "aria-label": "Drag column", children: v.jsx(Wt, { className: "mantine-datatable-header-cell-draggable-action-icon", variant: "subtle", size: "xs", onClick: (p) => {
7884
7884
  p.stopPropagation();
7885
- }, children: v.jsx(Cd, {}) }) }) : null, v.jsx(Oe, { className: Ae("mantine-datatable-header-cell-sortable-text", { [nn]: _ === "left", [on]: _ === "center", [sn]: _ === "right" }, io, so), title: H, children: q })] }), s ? v.jsx(Yt, { className: "mantine-datatable-header-cell-toggleable-icon", role: "img", "aria-label": "Toggle column", children: v.jsx(Wt, { size: "xs", variant: "light", onClick: a, children: v.jsx(Sd, {}) }) }) : null, l || S?.columnAccessor === r ? v.jsx(v.Fragment, { children: S?.columnAccessor === r ? v.jsx(Yt, { className: Ae("mantine-datatable-header-cell-sortable-icon", { "mantine-datatable-header-cell-sortable-icon-reversed": S.direction === "desc" }), role: "img", "aria-label": `Sorted ${S.direction === "desc" ? "descending" : "ascending"}`, children: y?.sorted || v.jsx(_d, {}) }) : v.jsx(Yt, { className: "mantine-datatable-header-cell-sortable-unsorted-icon", role: "img", "aria-label": "Not sorted", children: y?.unsorted || v.jsx(xd, {}) }) }) : null, k ? v.jsx(bd, { filterPopoverProps: O, isActive: !!z, filterPopoverDisableClickOutside: $, children: k }) : null] }), m && r !== "__selection__" ? v.jsx(wd, { accessor: r, columnRef: U }) : null] });
7885
+ }, children: v.jsx(Cd, {}) }) }) : null, v.jsx(Oe, { className: Me("mantine-datatable-header-cell-sortable-text", { [nn]: _ === "left", [on]: _ === "center", [sn]: _ === "right" }, io, so), title: H, children: q })] }), s ? v.jsx(Yt, { className: "mantine-datatable-header-cell-toggleable-icon", role: "img", "aria-label": "Toggle column", children: v.jsx(Wt, { size: "xs", variant: "light", onClick: a, children: v.jsx(Sd, {}) }) }) : null, l || S?.columnAccessor === r ? v.jsx(v.Fragment, { children: S?.columnAccessor === r ? v.jsx(Yt, { className: Me("mantine-datatable-header-cell-sortable-icon", { "mantine-datatable-header-cell-sortable-icon-reversed": S.direction === "desc" }), role: "img", "aria-label": `Sorted ${S.direction === "desc" ? "descending" : "ascending"}`, children: y?.sorted || v.jsx(_d, {}) }) : v.jsx(Yt, { className: "mantine-datatable-header-cell-sortable-unsorted-icon", role: "img", "aria-label": "Not sorted", children: y?.unsorted || v.jsx(xd, {}) }) }) : null, k ? v.jsx(bd, { filterPopoverProps: O, isActive: !!z, filterPopoverDisableClickOutside: $, children: k }) : null] }), m && r !== "__selection__" ? v.jsx(wd, { accessor: r, columnRef: U }) : null] });
7886
7886
  }
7887
7887
  function kd({ className: t, style: e, trigger: r, shadowVisible: n, checked: i, indeterminate: l, checkboxProps: d, onChange: s, rowSpan: m, ref: y }) {
7888
7888
  let _ = !d.disabled;
7889
- return v.jsx(mr, { ref: y, className: Ae("mantine-datatable-header-selector-cell", { [Ut]: r === "cell" && _ }, t), style: e, rowSpan: m, "data-shadow-visible": n || void 0, "data-accessor": "__selection__", onClick: r === "cell" && _ ? s : void 0, children: v.jsx(qt, { classNames: _ ? { input: Ut } : void 0, checked: i, indeterminate: l, onChange: s, ...d, disabled: !(s || d.onChange) || d.disabled }) });
7889
+ return v.jsx(mr, { ref: y, className: Me("mantine-datatable-header-selector-cell", { [Ut]: r === "cell" && _ }, t), style: e, rowSpan: m, "data-shadow-visible": n || void 0, "data-accessor": "__selection__", onClick: r === "cell" && _ ? s : void 0, children: v.jsx(qt, { classNames: _ ? { input: Ut } : void 0, checked: i, indeterminate: l, onChange: s, ...d, disabled: !(s || d.onChange) || d.disabled }) });
7890
7890
  }
7891
7891
  function Pd({ selectionColumnHeaderRef: t, className: e, style: r, sortStatus: n, sortIcons: i, onSortStatusChange: l, columns: d, defaultColumnProps: s, groups: m, selectionTrigger: y, selectionVisible: _, selectionChecked: j, selectionIndeterminate: S, onSelectionChange: C, selectionCheckboxProps: k, selectorCellShadowVisible: O, selectionColumnClassName: $, selectionColumnStyle: z, withColumnBorders: L = !1, ref: V }) {
7892
- let W = m ? vs(m) : 0, ee = W > 0 ? W + 1 : 1, re = _ ? v.jsx(kd, { ref: t, className: $, style: z, trigger: y, shadowVisible: O, checked: j, indeterminate: S, checkboxProps: k, onChange: C, rowSpan: m ? ee : void 0 }) : null, { columnsToggle: Q, setColumnsToggle: Z } = ro(), [U, q] = ve(!1), H = d.some((P) => P.toggleable), oe = H ? Object.fromEntries(d.map(({ accessor: P, title: x }) => [P, x ?? no(String(P))])) : void 0, J = v.jsxs(Ls, { className: Ae("mantine-datatable-header", e), style: r, ref: V, onContextMenu: H ? (P) => {
7892
+ let W = m ? vs(m) : 0, ee = W > 0 ? W + 1 : 1, re = _ ? v.jsx(kd, { ref: t, className: $, style: z, trigger: y, shadowVisible: O, checked: j, indeterminate: S, checkboxProps: k, onChange: C, rowSpan: m ? ee : void 0 }) : null, { columnsToggle: Q, setColumnsToggle: Z } = ro(), [U, q] = ve(!1), H = d.some((P) => P.toggleable), oe = H ? Object.fromEntries(d.map(({ accessor: P, title: x }) => [P, x ?? no(String(P))])) : void 0, J = v.jsxs(Ls, { className: Me("mantine-datatable-header", e), style: r, ref: V, onContextMenu: H ? (P) => {
7893
7893
  P.preventDefault(), q((x) => !x);
7894
7894
  } : void 0, children: [m && Array.from({ length: W }, (P, x) => {
7895
7895
  let w = bs(m, x);
7896
7896
  return v.jsxs(Ft, { children: [x === 0 && re, w.map((h, a) => v.jsx(md, { group: h, maxDepth: W, currentDepth: x, previousGroups: w.slice(0, a), isLastGroup: a === w.length - 1, withColumnBorders: L, totalTableColumns: d.length }, h.id))] }, `group-depth-${x}`);
7897
7897
  }), v.jsxs(Ft, { children: [!m && re, d.map(({ hidden: P, ...x }, w) => {
7898
7898
  if (P) return null;
7899
- let { accessor: h, visibleMediaQuery: a, textAlign: p, width: f, title: u, sortable: b, draggable: D, toggleable: R, resizable: I, titleClassName: G, titleStyle: te, filter: X, filterPopoverProps: ie, filterPopoverDisableClickOutside: ne, filtering: ae, sortKey: M } = { ...s, ...x };
7900
- return v.jsx(Dd, { accessor: h, className: G, style: te, visibleMediaQuery: a, textAlign: p, width: f, title: u, sortable: b, draggable: D, toggleable: R, resizable: I && w < d.length - 1, sortStatus: n, sortIcons: i, sortKey: M, onSortStatusChange: l, filter: X, filterPopoverProps: ie, filterPopoverDisableClickOutside: ne, filtering: ae }, h);
7899
+ let { accessor: h, visibleMediaQuery: a, textAlign: p, width: f, title: u, sortable: b, draggable: D, toggleable: R, resizable: I, titleClassName: G, titleStyle: te, filter: X, filterPopoverProps: ie, filterPopoverDisableClickOutside: ne, filtering: ae, sortKey: A } = { ...s, ...x };
7900
+ return v.jsx(Dd, { accessor: h, className: G, style: te, visibleMediaQuery: a, textAlign: p, width: f, title: u, sortable: b, draggable: D, toggleable: R, resizable: I && w < d.length - 1, sortStatus: n, sortIcons: i, sortKey: A, onSortStatusChange: l, filter: X, filterPopoverProps: ie, filterPopoverDisableClickOutside: ne, filtering: ae }, h);
7901
7901
  })] })] });
7902
7902
  return H ? v.jsxs(ur, { position: "bottom", withArrow: !0, shadow: "md", opened: U, onChange: q, children: [v.jsx(Ti, { children: J }), v.jsx($i, { children: v.jsx(hr, { children: Q.filter((P) => P.toggleable).map((P) => v.jsx(Fe, { children: v.jsx(qt, { classNames: { label: "mantine-datatable-header-column-toggle-checkbox-label" }, size: "xs", label: oe[P.accessor], checked: P.toggled, onChange: (x) => {
7903
7903
  Z(Q.map((w) => w.accessor === P.accessor ? { ...w, toggled: x.currentTarget.checked } : w));
7904
7904
  } }) }, P.accessor)) }) })] }) : J;
7905
7905
  }
7906
7906
  function jd({ fetching: t, customContent: e, backgroundBlur: r, size: n, type: i, color: l }) {
7907
- return v.jsx(Yt, { className: Ae("mantine-datatable-loader", { "mantine-datatable-loader-fetching": t }), style: [{ backdropFilter: r ? `blur(${r}px)` : void 0 }], children: t && (e || v.jsx(Bs, { size: n, type: i, color: l })) });
7907
+ return v.jsx(Yt, { className: Me("mantine-datatable-loader", { "mantine-datatable-loader-fetching": t }), style: [{ backdropFilter: r ? `blur(${r}px)` : void 0 }], children: t && (e || v.jsx(Bs, { size: n, type: i, color: l })) });
7908
7908
  }
7909
7909
  function Re(t, e, r) {
7910
7910
  return t ? Ys({ color: typeof t == "object" ? t[r] : t, theme: e }).value : void 0;
@@ -7915,17 +7915,17 @@ function Od({ theme: t, c: e, backgroundColor: r, borderColor: n, rowBorderColor
7915
7915
  function _s({ theme: t, paginationActiveTextColor: e, paginationActiveBackgroundColor: r }) {
7916
7916
  return { "--mantine-datatable-pagination-active-text-color-light": Re(e, t, "light"), "--mantine-datatable-pagination-active-text-color-dark": Re(e, t, "dark"), "--mantine-datatable-pagination-active-background-color-light": Re(r, t, "light"), "--mantine-datatable-pagination-active-background-color-dark": Re(r, t, "dark") };
7917
7917
  }
7918
- function Ad({ theme: t, color: e, backgroundColor: r }) {
7918
+ function Md({ theme: t, color: e, backgroundColor: r }) {
7919
7919
  return { "--mantine-datatable-row-color-light": Re(e, t, "light"), "--mantine-datatable-row-color-dark": Re(e, t, "dark"), "--mantine-datatable-row-background-color-light": Re(r, t, "light"), "--mantine-datatable-row-background-color-dark": Re(r, t, "dark") };
7920
7920
  }
7921
- function Md() {
7921
+ function Ad() {
7922
7922
  return v.jsxs("svg", { width: "14", height: "14", viewBox: "0 0 24 24", strokeWidth: "2", stroke: "currentColor", fill: "none", strokeLinecap: "round", strokeLinejoin: "round", children: [v.jsx("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }), v.jsx("path", { d: "M8 9l4 -4l4 4" }), v.jsx("path", { d: "M16 15l-4 4l-4 -4" })] });
7923
7923
  }
7924
7924
  var Di = { xs: Et(22), sm: Et(26), md: Et(32), lg: Et(38), xl: Et(44) };
7925
7925
  function Rd({ size: t, label: e, values: r, value: n, activeTextColor: i, activeBackgroundColor: l, onChange: d }) {
7926
- return v.jsxs(Fe, { gap: "xs", children: [v.jsx(lt, { component: "div", size: t, children: e }), v.jsxs(at, { withinPortal: !0, withArrow: !0, offset: 2, classNames: { arrow: "mantine-datatable-page-size-selector-menu-arrow" }, children: [v.jsx(Ws, { children: v.jsx(yt, { size: t, variant: "default", classNames: { section: "mantine-datatable-page-size-selector-button-icon" }, rightSection: v.jsx(Md, {}), style: [{ fontWeight: "normal" }, (s) => ({ height: Di[t], paddingLeft: s.spacing[t], paddingRight: s.spacing[t] })], children: n }) }), v.jsx(Us, { children: r.map((s) => {
7926
+ return v.jsxs(Fe, { gap: "xs", children: [v.jsx(lt, { component: "div", size: t, children: e }), v.jsxs(at, { withinPortal: !0, withArrow: !0, offset: 2, classNames: { arrow: "mantine-datatable-page-size-selector-menu-arrow" }, children: [v.jsx(Ws, { children: v.jsx(yt, { size: t, variant: "default", classNames: { section: "mantine-datatable-page-size-selector-button-icon" }, rightSection: v.jsx(Ad, {}), style: [{ fontWeight: "normal" }, (s) => ({ height: Di[t], paddingLeft: s.spacing[t], paddingRight: s.spacing[t] })], children: n }) }), v.jsx(Us, { children: r.map((s) => {
7927
7927
  let m = s === n;
7928
- return v.jsx(qs, { className: Ae({ "mantine-datatable-page-size-selector-active": m }), style: [{ height: Di[t] }, m && (i || l) ? (y) => _s({ theme: y, paginationActiveTextColor: i, paginationActiveBackgroundColor: l }) : void 0], disabled: m, onClick: () => d(s), children: v.jsx(lt, { component: "div", size: t, children: s }) }, s);
7928
+ return v.jsx(qs, { className: Me({ "mantine-datatable-page-size-selector-active": m }), style: [{ height: Di[t] }, m && (i || l) ? (y) => _s({ theme: y, paginationActiveTextColor: i, paginationActiveBackgroundColor: l }) : void 0], disabled: m, onClick: () => d(s), children: v.jsx(lt, { component: "div", size: t, children: s }) }, s);
7929
7929
  }) })] })] });
7930
7930
  }
7931
7931
  function Ed({ className: t, style: e, fetching: r, page: n, onPageChange: i, paginationWithEdges: l, paginationWithControls: d, paginationActiveTextColor: s, paginationActiveBackgroundColor: m, paginationSize: y, loadingText: _, noRecordsText: j, paginationText: S, totalRecords: C, recordsPerPage: k, onRecordsPerPageChange: O, recordsPerPageLabel: $, recordsPerPageOptions: z, recordsLength: L, horizontalSpacing: V, paginationWrapBreakpoint: W, getPaginationControlProps: ee, getPaginationItemProps: re, renderPagination: Q }) {
@@ -7934,11 +7934,11 @@ function Ed({ className: t, style: e, fetching: r, page: n, onPageChange: i, pag
7934
7934
  let x = (n - 1) * k + 1, w = x + (L || 0) - 1;
7935
7935
  Z = S({ from: x, to: w, totalRecords: C });
7936
7936
  } else Z = r ? _ : j;
7937
- let U = C && k ? Math.max(1, Math.ceil(C / k)) : 1, q = C ? (n - 1) * (k ?? 0) + 1 : void 0, H = C ? (q ?? 1) + (L ?? 0) - 1 : void 0, oe = !rn(({ breakpoints: x }) => `(min-width: ${typeof W == "number" ? `${Et(W)}rem` : x[W] || W})`), J = { Text: (x) => v.jsx(lt, { component: "div", className: "mantine-datatable-pagination-text", size: y, ...x, children: Z }), PageSizeSelector: (x) => z ? v.jsx(Rd, { activeTextColor: s, activeBackgroundColor: m, size: y, label: $, values: z, value: k, onChange: O, ...x }) : v.jsx(v.Fragment, {}), Pagination: (x) => v.jsx(Ii, { classNames: { root: Ae("mantine-datatable-pagination-pages", { "mantine-datatable-pagination-pages-fetching": r || !L }), control: "mantine-datatable-pagination-pages-control" }, style: s || m ? (w) => _s({ theme: w, paginationActiveTextColor: s, paginationActiveBackgroundColor: m }) : void 0, withEdges: l, withControls: d, value: n, onChange: i, size: y, total: U, getControlProps: ee, getItemProps: re, ...x }) }, P = { state: { paginationSize: y, page: n, totalPages: U, totalRecords: C, recordsPerPage: k, recordsLength: L, fetching: r, from: q, to: H, isWrapped: oe }, actions: { setPage: (x) => i?.(x), setRecordsPerPage: O ? (x) => O(x) : void 0 }, Controls: J };
7938
- return v.jsx(Oe, { px: V ?? "xs", py: "xs", className: Ae("mantine-datatable-pagination", t), style: [{ flexDirection: oe ? "column" : "row" }, e], children: typeof Q == "function" ? Q(P) : v.jsxs(v.Fragment, { children: [v.jsx(J.Text, {}), v.jsx(J.PageSizeSelector, {}), v.jsx(J.Pagination, {})] }) });
7937
+ let U = C && k ? Math.max(1, Math.ceil(C / k)) : 1, q = C ? (n - 1) * (k ?? 0) + 1 : void 0, H = C ? (q ?? 1) + (L ?? 0) - 1 : void 0, oe = !rn(({ breakpoints: x }) => `(min-width: ${typeof W == "number" ? `${Et(W)}rem` : x[W] || W})`), J = { Text: (x) => v.jsx(lt, { component: "div", className: "mantine-datatable-pagination-text", size: y, ...x, children: Z }), PageSizeSelector: (x) => z ? v.jsx(Rd, { activeTextColor: s, activeBackgroundColor: m, size: y, label: $, values: z, value: k, onChange: O, ...x }) : v.jsx(v.Fragment, {}), Pagination: (x) => v.jsx(Ii, { classNames: { root: Me("mantine-datatable-pagination-pages", { "mantine-datatable-pagination-pages-fetching": r || !L }), control: "mantine-datatable-pagination-pages-control" }, style: s || m ? (w) => _s({ theme: w, paginationActiveTextColor: s, paginationActiveBackgroundColor: m }) : void 0, withEdges: l, withControls: d, value: n, onChange: i, size: y, total: U, getControlProps: ee, getItemProps: re, ...x }) }, P = { state: { paginationSize: y, page: n, totalPages: U, totalRecords: C, recordsPerPage: k, recordsLength: L, fetching: r, from: q, to: H, isWrapped: oe }, actions: { setPage: (x) => i?.(x), setRecordsPerPage: O ? (x) => O(x) : void 0 }, Controls: J };
7938
+ return v.jsx(Oe, { px: V ?? "xs", py: "xs", className: Me("mantine-datatable-pagination", t), style: [{ flexDirection: oe ? "column" : "row" }, e], children: typeof Q == "function" ? Q(P) : v.jsxs(v.Fragment, { children: [v.jsx(J.Text, {}), v.jsx(J.PageSizeSelector, {}), v.jsx(J.Pagination, {})] }) });
7939
7939
  }
7940
7940
  function Td({ className: t, style: e, visibleMediaQuery: r, record: n, index: i, onClick: l, onDoubleClick: d, onContextMenu: s, noWrap: m, ellipsis: y, textAlign: _, width: j, accessor: S, render: C, defaultRender: k, customCellAttributes: O }) {
7941
- return rn(r) ? v.jsx(Wn, { className: Ae({ [io]: m || y, [so]: y, [Ut]: l || d, [ws]: s, [nn]: _ === "left", [on]: _ === "center", [sn]: _ === "right" }, t), style: [{ width: j, minWidth: j, maxWidth: j }, e], onClick: l, onDoubleClick: d, onContextMenu: s, ...O?.(n, i), children: C ? C(n, i) : k ? k(n, i, S) : ys(n, S) }) : null;
7941
+ return rn(r) ? v.jsx(Wn, { className: Me({ [io]: m || y, [so]: y, [Ut]: l || d, [ws]: s, [nn]: _ === "left", [on]: _ === "center", [sn]: _ === "right" }, t), style: [{ width: j, minWidth: j, maxWidth: j }, e], onClick: l, onDoubleClick: d, onContextMenu: s, ...O?.(n, i), children: C ? C(n, i) : k ? k(n, i, S) : ys(n, S) }) : null;
7942
7942
  }
7943
7943
  function $d({ open: t, colSpan: e, content: r, collapseProps: n }) {
7944
7944
  let { expanded: i, visible: l } = dd(t, n?.transitionDuration);
@@ -7948,7 +7948,7 @@ function Nd({ className: t, style: e, record: r, index: n, trigger: i, onChange:
7948
7948
  let _ = { ...s, ...m(r, n) }, j = !y.disabled && !_.disabled, S = (C) => {
7949
7949
  C.stopPropagation(), i === "cell" && j && l?.(C);
7950
7950
  };
7951
- return v.jsx(Wn, { className: Ae("mantine-datatable-row-selector-cell", { [Ut]: i === "cell" && j }, t), style: e, "data-shadow-visible": d || void 0, onClick: S, children: v.jsx(qt, { classNames: j ? { input: Ut } : void 0, onChange: l, ...y, ..._ }) });
7951
+ return v.jsx(Wn, { className: Me("mantine-datatable-row-selector-cell", { [Ut]: i === "cell" && j }, t), style: e, "data-shadow-visible": d || void 0, onClick: S, children: v.jsx(qt, { classNames: j ? { input: Ut } : void 0, onChange: l, ...y, ..._ }) });
7952
7952
  }
7953
7953
  function Ld({ record: t, index: e, columns: r, defaultColumnProps: n, defaultColumnRender: i, selectionTrigger: l, selectionVisible: d, selectionChecked: s, onSelectionChange: m, isRecordSelectable: y, selectionCheckboxProps: _, getSelectionCheckboxProps: j, onClick: S, onDoubleClick: C, onContextMenu: k, onCellClick: O, onCellDoubleClick: $, onCellContextMenu: z, expansion: L, customAttributes: V, color: W, backgroundColor: ee, className: re, style: Q, selectorCellShadowVisible: Z, selectionColumnClassName: U, selectionColumnStyle: q, rowFactory: H }) {
7954
7954
  let oe = v.jsxs(v.Fragment, { children: [d && v.jsx(Nd, { className: U, style: q, record: t, index: e, trigger: l, withRightShadow: Z, checked: s, disabled: !m || (y ? !y(t, e) : !1), onChange: m, checkboxProps: _, getCheckboxProps: j }), r.map(({ hidden: x, hiddenContent: w, ...h }, a) => {
@@ -7959,7 +7959,7 @@ function Ld({ record: t, index: e, columns: r, defaultColumnProps: n, defaultCol
7959
7959
  return H ? H({ record: t, index: e, rowProps: P, children: oe, expandedElement: J }) : v.jsxs(v.Fragment, { children: [v.jsx(Ft, { ...P, children: oe }), J] });
7960
7960
  }
7961
7961
  function Id({ record: t, index: e, selectionChecked: r, onClick: n, onDoubleClick: i, onContextMenu: l, expansion: d, customAttributes: s, color: m, backgroundColor: y, className: _, style: j }) {
7962
- return { className: Ae("mantine-datatable-row", { [Ut]: n || i || d?.isExpandable({ record: t, index: e }) && d?.expandOnClick }, { [ws]: l }, typeof _ == "function" ? _(t, e) : _), "data-selected": r || void 0, onClick: (S) => {
7962
+ return { className: Me("mantine-datatable-row", { [Ut]: n || i || d?.isExpandable({ record: t, index: e }) && d?.expandOnClick }, { [ws]: l }, typeof _ == "function" ? _(t, e) : _), "data-selected": r || void 0, onClick: (S) => {
7963
7963
  if (d) {
7964
7964
  let { isExpandable: C, isRowExpanded: k, expandOnClick: O, expandRow: $, collapseRow: z } = d;
7965
7965
  C({ record: t, index: e }) && O && (k(t) ? z(t) : $(t));
@@ -7967,14 +7967,14 @@ function Id({ record: t, index: e, selectionChecked: r, onClick: n, onDoubleClic
7967
7967
  n?.({ event: S, record: t, index: e });
7968
7968
  }, onDoubleClick: i ? (S) => i({ event: S, record: t, index: e }) : void 0, onContextMenu: l ? (S) => l({ event: S, record: t, index: e }) : void 0, style: [m || y ? (S) => {
7969
7969
  let C = m?.(t, e), k = y?.(t, e);
7970
- return Ad({ theme: S, color: C, backgroundColor: k });
7970
+ return Md({ theme: S, color: C, backgroundColor: k });
7971
7971
  } : void 0, j?.(t, e)], ...s?.(t, e) ?? {} };
7972
7972
  }
7973
7973
  function Bd({ leftShadowBehind: t, rightShadowBehind: e, onScrollPositionChange: r, children: n, viewportRef: i, scrollAreaProps: l }) {
7974
- return v.jsxs(Ns, { ...l, viewportRef: i, classNames: { root: "mantine-datatable-scroll-area", scrollbar: "mantine-datatable-scroll-area-scrollbar", thumb: "mantine-datatable-scroll-area-thumb", corner: "mantine-datatable-scroll-area-corner" }, onScrollPositionChange: r, children: [n, v.jsx(Oe, { className: Ae("mantine-datatable-scroll-area-shadow", "mantine-datatable-scroll-area-top-shadow") }), v.jsx("div", { className: Ae("mantine-datatable-scroll-area-shadow", "mantine-datatable-scroll-area-left-shadow", { "mantine-datatable-scroll-area-shadow-behind": t }) }), v.jsx("div", { className: Ae("mantine-datatable-scroll-area-shadow", "mantine-datatable-scroll-area-right-shadow", { "mantine-datatable-scroll-area-shadow-behind": e }) }), v.jsx(Oe, { className: Ae("mantine-datatable-scroll-area-shadow", "mantine-datatable-scroll-area-bottom-shadow") })] });
7974
+ return v.jsxs(Ns, { ...l, viewportRef: i, classNames: { root: "mantine-datatable-scroll-area", scrollbar: "mantine-datatable-scroll-area-scrollbar", thumb: "mantine-datatable-scroll-area-thumb", corner: "mantine-datatable-scroll-area-corner" }, onScrollPositionChange: r, children: [n, v.jsx(Oe, { className: Me("mantine-datatable-scroll-area-shadow", "mantine-datatable-scroll-area-top-shadow") }), v.jsx("div", { className: Me("mantine-datatable-scroll-area-shadow", "mantine-datatable-scroll-area-left-shadow", { "mantine-datatable-scroll-area-shadow-behind": t }) }), v.jsx("div", { className: Me("mantine-datatable-scroll-area-shadow", "mantine-datatable-scroll-area-right-shadow", { "mantine-datatable-scroll-area-shadow-behind": e }) }), v.jsx(Oe, { className: Me("mantine-datatable-scroll-area-shadow", "mantine-datatable-scroll-area-bottom-shadow") })] });
7975
7975
  }
7976
- function Yd({ withTableBorder: t, borderRadius: e, textSelectionDisabled: r, height: n = "100%", minHeight: i, maxHeight: l, shadow: d, verticalAlign: s = "center", fetching: m, columns: y, storeColumnsKey: _, groups: j, pinFirstColumn: S, pinLastColumn: C, defaultColumnProps: k, defaultColumnRender: O, idAccessor: $ = "id", records: z, selectionTrigger: L = "checkbox", selectedRecords: V, onSelectedRecordsChange: W, selectionColumnClassName: ee, selectionColumnStyle: re, isRecordSelectable: Q, selectionCheckboxProps: Z, allRecordsSelectionCheckboxProps: U = { "aria-label": "Select all records" }, getRecordSelectionCheckboxProps: q = (_e, be) => ({ "aria-label": `Select record ${be + 1}` }), sortStatus: H, sortIcons: oe, onSortStatusChange: J, horizontalSpacing: P, page: x, onPageChange: w, totalRecords: h, recordsPerPage: a, onRecordsPerPageChange: p, recordsPerPageOptions: f, recordsPerPageLabel: u = "Records per page", paginationWithEdges: b, paginationWithControls: D, paginationActiveTextColor: R, paginationActiveBackgroundColor: I, paginationSize: G = "sm", paginationText: te = ({ from: _e, to: be, totalRecords: qe }) => `${_e} - ${be} / ${qe}`, paginationWrapBreakpoint: X = "sm", getPaginationControlProps: ie = (_e) => _e === "previous" ? { "aria-label": "Previous page" } : _e === "next" ? { "aria-label": "Next page" } : {}, getPaginationItemProps: ne, renderPagination: ae, loaderBackgroundBlur: M, customLoader: N, loaderSize: E, loaderType: Y, loaderColor: B, loadingText: le = "...", emptyState: o, noRecordsText: c = "No records", noRecordsIcon: g, highlightOnHover: A, striped: T, noHeader: F, onRowClick: se, onRowDoubleClick: ue, onRowContextMenu: he, onCellClick: K, onCellDoubleClick: de, onCellContextMenu: pe, onScroll: fe, onScrollToTop: xe, onScrollToBottom: we, onScrollToLeft: ke, onScrollToRight: He, c: Ne, backgroundColor: Pe, borderColor: Ot, rowBorderColor: Ee, stripedColor: ct, highlightOnHoverColor: Ye, rowColor: rt, rowBackgroundColor: ut, rowExpansion: Te, rowClassName: dt, rowStyle: ht, customRowAttributes: Ge, scrollViewportRef: Qe, scrollAreaProps: Ke, tableRef: ft, bodyRef: vt, m: pt, my: me, mx: je, mt: nt, mb: bt, ml: Kt, mr: Nt, className: wt, classNames: Ze, style: _t, styles: gt, rowFactory: Ce, tableWrapper: Se, ...mt }) {
7977
- let _e = Xe(() => j ? oo(j) : y, [y, j]), [be, qe] = ve(!1), { refs: Me, onScroll: Lt } = rd({ scrollCallbacks: { onScroll: fe, onScrollToTop: xe, onScrollToBottom: we, onScrollToLeft: ke, onScrollToRight: He }, withRowBorders: mt.withRowBorders }), an = td({ key: _, columns: _e, headerRef: Me.header, scrollViewportRef: Me.scrollViewport, onFixedLayoutChange: qe }), xs = mo(Me.table, ft), Cs = mo(Me.scrollViewport, Qe), Ss = ud({ rowExpansion: Te, records: z, idAccessor: $ }), yr = De(!1), ao = De(x), ln = De(z), Ds = Le((ye) => {
7976
+ function Yd({ withTableBorder: t, borderRadius: e, textSelectionDisabled: r, height: n = "100%", minHeight: i, maxHeight: l, shadow: d, verticalAlign: s = "center", fetching: m, columns: y, storeColumnsKey: _, groups: j, pinFirstColumn: S, pinLastColumn: C, defaultColumnProps: k, defaultColumnRender: O, idAccessor: $ = "id", records: z, selectionTrigger: L = "checkbox", selectedRecords: V, onSelectedRecordsChange: W, selectionColumnClassName: ee, selectionColumnStyle: re, isRecordSelectable: Q, selectionCheckboxProps: Z, allRecordsSelectionCheckboxProps: U = { "aria-label": "Select all records" }, getRecordSelectionCheckboxProps: q = (_e, be) => ({ "aria-label": `Select record ${be + 1}` }), sortStatus: H, sortIcons: oe, onSortStatusChange: J, horizontalSpacing: P, page: x, onPageChange: w, totalRecords: h, recordsPerPage: a, onRecordsPerPageChange: p, recordsPerPageOptions: f, recordsPerPageLabel: u = "Records per page", paginationWithEdges: b, paginationWithControls: D, paginationActiveTextColor: R, paginationActiveBackgroundColor: I, paginationSize: G = "sm", paginationText: te = ({ from: _e, to: be, totalRecords: qe }) => `${_e} - ${be} / ${qe}`, paginationWrapBreakpoint: X = "sm", getPaginationControlProps: ie = (_e) => _e === "previous" ? { "aria-label": "Previous page" } : _e === "next" ? { "aria-label": "Next page" } : {}, getPaginationItemProps: ne, renderPagination: ae, loaderBackgroundBlur: A, customLoader: N, loaderSize: E, loaderType: Y, loaderColor: B, loadingText: le = "...", emptyState: o, noRecordsText: c = "No records", noRecordsIcon: g, highlightOnHover: M, striped: T, noHeader: F, onRowClick: se, onRowDoubleClick: ue, onRowContextMenu: he, onCellClick: K, onCellDoubleClick: de, onCellContextMenu: pe, onScroll: fe, onScrollToTop: xe, onScrollToBottom: we, onScrollToLeft: ke, onScrollToRight: He, c: Ne, backgroundColor: Pe, borderColor: Ot, rowBorderColor: Ee, stripedColor: ct, highlightOnHoverColor: Ye, rowColor: rt, rowBackgroundColor: ut, rowExpansion: Te, rowClassName: dt, rowStyle: ht, customRowAttributes: Ge, scrollViewportRef: Qe, scrollAreaProps: Ke, tableRef: ft, bodyRef: vt, m: pt, my: me, mx: je, mt: nt, mb: bt, ml: Kt, mr: Nt, className: wt, classNames: Ze, style: _t, styles: gt, rowFactory: Ce, tableWrapper: Se, ...mt }) {
7977
+ let _e = Xe(() => j ? oo(j) : y, [y, j]), [be, qe] = ve(!1), { refs: Ae, onScroll: Lt } = rd({ scrollCallbacks: { onScroll: fe, onScrollToTop: xe, onScrollToBottom: we, onScrollToLeft: ke, onScrollToRight: He }, withRowBorders: mt.withRowBorders }), an = td({ key: _, columns: _e, headerRef: Ae.header, scrollViewportRef: Ae.scrollViewport, onFixedLayoutChange: qe }), xs = mo(Ae.table, ft), Cs = mo(Ae.scrollViewport, Qe), Ss = ud({ rowExpansion: Te, records: z, idAccessor: $ }), yr = De(!1), ao = De(x), ln = De(z), Ds = Le((ye) => {
7978
7978
  yr.current = !0, ln.current = z, w(ye);
7979
7979
  }, [w, z]);
7980
7980
  $e(() => {
@@ -7983,26 +7983,26 @@ function Yd({ withTableBorder: t, borderRadius: e, textSelectionDisabled: r, hei
7983
7983
  let vr = z?.length;
7984
7984
  Oi(() => {
7985
7985
  if (!yr.current || m || z === ln.current) return;
7986
- let ye = Me.scrollViewport.current;
7986
+ let ye = Ae.scrollViewport.current;
7987
7987
  if (!ye) return;
7988
- let At = requestAnimationFrame(() => {
7988
+ let Mt = requestAnimationFrame(() => {
7989
7989
  ye.scrollTo({ top: 0, left: 0 }), yr.current = !1;
7990
7990
  });
7991
- return () => cancelAnimationFrame(At);
7992
- }, [m, z, Me.scrollViewport]);
7991
+ return () => cancelAnimationFrame(Mt);
7992
+ }, [m, z, Ae.scrollViewport]);
7993
7993
  let lo = z?.map((ye) => ze(ye, $)), It = !!V, Zt = V?.map((ye) => ze(ye, $)), co = lo !== void 0 && Zt !== void 0 && Zt.length > 0, cn = Q ? z?.filter(Q) : z, br = cn?.map((ye) => ze(ye, $)), wr = co && br.every((ye) => Zt.includes(ye)), ks = co && br.some((ye) => Zt.includes(ye)), Ps = Le(() => {
7994
7994
  V && W && W(wr ? V.filter((ye) => !br.includes(ze(ye, $))) : Dn([...V, ...cn], (ye) => ze(ye, $)));
7995
- }, [wr, $, W, br, cn, V]), { lastSelectionChangeIndex: _r, setLastSelectionChangeIndex: js } = nd(lo), un = It && !S, Os = { m: pt, my: me, mx: je, mt: nt, mb: bt, ml: Kt, mr: Nt }, As = Le(({ children: ye }) => Se ? Se({ children: ye }) : ye, [Se]);
7996
- return v.jsx(vi, { ...an, children: v.jsxs(Oe, { ref: Me.root, ...Os, className: Ae("mantine-datatable", { "mantine-datatable-with-border": t }, wt, Ze?.root), style: [(ye) => ({ ...Od({ theme: ye, c: Ne, backgroundColor: Pe, borderColor: Ot, rowBorderColor: Ee, stripedColor: ct, highlightOnHoverColor: Ye }), borderRadius: ye.radius[e] || e, boxShadow: ye.shadows[d] || d, height: n, minHeight: i, maxHeight: l }), _t, gt?.root, { position: "relative" }], children: [v.jsx(Bd, { viewportRef: Cs, leftShadowBehind: It || !!S, rightShadowBehind: C, onScrollPositionChange: Lt, scrollAreaProps: Ke, children: v.jsx(As, { children: v.jsxs($s, { ref: xs, horizontalSpacing: P, className: Ae("mantine-datatable-table", { [hd]: r, "mantine-datatable-vertical-align-top": s === "top", "mantine-datatable-vertical-align-bottom": s === "bottom", "mantine-datatable-pin-last-column": C, "mantine-datatable-selection-column-visible": It, "mantine-datatable-pin-first-column": S, "mantine-datatable-resizable-columns": an.hasResizableColumns && be }, Ze?.table), style: { ...gt?.table }, "data-striped": vr && T || void 0, "data-highlight-on-hover": A || void 0, ...mt, children: [F ? null : v.jsx(vi, { ...an, children: v.jsx(Pd, { ref: Me.header, selectionColumnHeaderRef: Me.selectionColumnHeader, className: Ze?.header, style: gt?.header, columns: _e, defaultColumnProps: k, groups: j, sortStatus: H, sortIcons: oe, onSortStatusChange: J, selectionTrigger: L, selectionVisible: It, selectionChecked: wr, selectionIndeterminate: ks && !wr, onSelectionChange: Ps, selectionCheckboxProps: { ...Z, ...U }, selectorCellShadowVisible: un, selectionColumnClassName: ee, selectionColumnStyle: re, withColumnBorders: mt.withColumnBorders }) }), v.jsx("tbody", { ref: vt, children: vr ? z.map((ye, At) => {
7995
+ }, [wr, $, W, br, cn, V]), { lastSelectionChangeIndex: _r, setLastSelectionChangeIndex: js } = nd(lo), un = It && !S, Os = { m: pt, my: me, mx: je, mt: nt, mb: bt, ml: Kt, mr: Nt }, Ms = Le(({ children: ye }) => Se ? Se({ children: ye }) : ye, [Se]);
7996
+ return v.jsx(vi, { ...an, children: v.jsxs(Oe, { ref: Ae.root, ...Os, className: Me("mantine-datatable", { "mantine-datatable-with-border": t }, wt, Ze?.root), style: [(ye) => ({ ...Od({ theme: ye, c: Ne, backgroundColor: Pe, borderColor: Ot, rowBorderColor: Ee, stripedColor: ct, highlightOnHoverColor: Ye }), borderRadius: ye.radius[e] || e, boxShadow: ye.shadows[d] || d, height: n, minHeight: i, maxHeight: l }), _t, gt?.root, { position: "relative" }], children: [v.jsx(Bd, { viewportRef: Cs, leftShadowBehind: It || !!S, rightShadowBehind: C, onScrollPositionChange: Lt, scrollAreaProps: Ke, children: v.jsx(Ms, { children: v.jsxs($s, { ref: xs, horizontalSpacing: P, className: Me("mantine-datatable-table", { [hd]: r, "mantine-datatable-vertical-align-top": s === "top", "mantine-datatable-vertical-align-bottom": s === "bottom", "mantine-datatable-pin-last-column": C, "mantine-datatable-selection-column-visible": It, "mantine-datatable-pin-first-column": S, "mantine-datatable-resizable-columns": an.hasResizableColumns && be }, Ze?.table), style: { ...gt?.table }, "data-striped": vr && T || void 0, "data-highlight-on-hover": M || void 0, ...mt, children: [F ? null : v.jsx(vi, { ...an, children: v.jsx(Pd, { ref: Ae.header, selectionColumnHeaderRef: Ae.selectionColumnHeader, className: Ze?.header, style: gt?.header, columns: _e, defaultColumnProps: k, groups: j, sortStatus: H, sortIcons: oe, onSortStatusChange: J, selectionTrigger: L, selectionVisible: It, selectionChecked: wr, selectionIndeterminate: ks && !wr, onSelectionChange: Ps, selectionCheckboxProps: { ...Z, ...U }, selectorCellShadowVisible: un, selectionColumnClassName: ee, selectionColumnStyle: re, withColumnBorders: mt.withColumnBorders }) }), v.jsx("tbody", { ref: vt, children: vr ? z.map((ye, Mt) => {
7997
7997
  let dn = ze(ye, $), hn = Zt?.includes(dn) || !1, uo;
7998
- return W && V && (uo = (Ms) => {
7999
- if (Ms.nativeEvent.shiftKey && _r !== null) {
8000
- let Bt = z.filter(At > _r ? (Mt, Rt) => Rt >= _r && Rt <= At && (Q ? Q(Mt, Rt) : !0) : (Mt, Rt) => Rt >= At && Rt <= _r && (Q ? Q(Mt, Rt) : !0));
8001
- W(hn ? ld(V, Bt, (Mt) => ze(Mt, $)) : Dn([...V, ...Bt], (Mt) => ze(Mt, $)));
7998
+ return W && V && (uo = (As) => {
7999
+ if (As.nativeEvent.shiftKey && _r !== null) {
8000
+ let Bt = z.filter(Mt > _r ? (At, Rt) => Rt >= _r && Rt <= Mt && (Q ? Q(At, Rt) : !0) : (At, Rt) => Rt >= Mt && Rt <= _r && (Q ? Q(At, Rt) : !0));
8001
+ W(hn ? ld(V, Bt, (At) => ze(At, $)) : Dn([...V, ...Bt], (At) => ze(At, $)));
8002
8002
  } else W(hn ? V.filter((Bt) => ze(Bt, $) !== dn) : Dn([...V, ye], (Bt) => ze(Bt, $)));
8003
- js(At);
8004
- }), v.jsx(Ld, { record: ye, index: At, columns: _e, defaultColumnProps: k, defaultColumnRender: O, selectionTrigger: L, selectionVisible: It, selectionChecked: hn, onSelectionChange: uo, isRecordSelectable: Q, selectionCheckboxProps: Z, getSelectionCheckboxProps: q, onClick: se, onDoubleClick: ue, onCellClick: K, onCellDoubleClick: de, onContextMenu: he, onCellContextMenu: pe, expansion: Ss, color: rt, backgroundColor: ut, className: dt, style: ht, customAttributes: Ge, selectorCellShadowVisible: un, selectionColumnClassName: ee, selectionColumnStyle: re, idAccessor: $, rowFactory: Ce }, dn);
8005
- }) : v.jsx(Qu, {}) }), _e.some(({ footer: ye }) => ye) && v.jsx(gd, { ref: Me.footer, className: Ze?.footer, style: gt?.footer, columns: _e, defaultColumnProps: k, selectionVisible: It, selectorCellShadowVisible: un })] }) }) }), x && v.jsx(Ed, { className: Ze?.pagination, style: gt?.pagination, horizontalSpacing: P, fetching: m, page: x, onPageChange: Ds, totalRecords: h, recordsPerPage: a, onRecordsPerPageChange: p, recordsPerPageOptions: f, recordsPerPageLabel: u, paginationWithEdges: b, paginationWithControls: D, paginationActiveTextColor: R, paginationActiveBackgroundColor: I, paginationSize: G, paginationText: te, paginationWrapBreakpoint: X, getPaginationControlProps: ie, getPaginationItemProps: ne, noRecordsText: c, loadingText: le, recordsLength: vr, renderPagination: ae }), v.jsx(jd, { fetching: m, backgroundBlur: M, customContent: N, size: E, type: Y, color: B }), v.jsx(Zu, { icon: g, text: c, active: !m && !vr, children: o })] }) });
8003
+ js(Mt);
8004
+ }), v.jsx(Ld, { record: ye, index: Mt, columns: _e, defaultColumnProps: k, defaultColumnRender: O, selectionTrigger: L, selectionVisible: It, selectionChecked: hn, onSelectionChange: uo, isRecordSelectable: Q, selectionCheckboxProps: Z, getSelectionCheckboxProps: q, onClick: se, onDoubleClick: ue, onCellClick: K, onCellDoubleClick: de, onContextMenu: he, onCellContextMenu: pe, expansion: Ss, color: rt, backgroundColor: ut, className: dt, style: ht, customAttributes: Ge, selectorCellShadowVisible: un, selectionColumnClassName: ee, selectionColumnStyle: re, idAccessor: $, rowFactory: Ce }, dn);
8005
+ }) : v.jsx(Qu, {}) }), _e.some(({ footer: ye }) => ye) && v.jsx(gd, { ref: Ae.footer, className: Ze?.footer, style: gt?.footer, columns: _e, defaultColumnProps: k, selectionVisible: It, selectorCellShadowVisible: un })] }) }) }), x && v.jsx(Ed, { className: Ze?.pagination, style: gt?.pagination, horizontalSpacing: P, fetching: m, page: x, onPageChange: Ds, totalRecords: h, recordsPerPage: a, onRecordsPerPageChange: p, recordsPerPageOptions: f, recordsPerPageLabel: u, paginationWithEdges: b, paginationWithControls: D, paginationActiveTextColor: R, paginationActiveBackgroundColor: I, paginationSize: G, paginationText: te, paginationWrapBreakpoint: X, getPaginationControlProps: ie, getPaginationItemProps: ne, noRecordsText: c, loadingText: le, recordsLength: vr, renderPagination: ae }), v.jsx(jd, { fetching: m, backgroundBlur: A, customContent: N, size: E, type: Y, color: B }), v.jsx(Zu, { icon: g, text: c, active: !m && !vr, children: o })] }) });
8006
8006
  }
8007
8007
  function zd(t) {
8008
8008
  const e = Ve.c(42), {
@@ -8063,7 +8063,7 @@ function zd(t) {
8063
8063
  return null;
8064
8064
  const u = oe(p, f);
8065
8065
  return /* @__PURE__ */ v.jsxs(ji, { children: [
8066
- (p.type === void 0 || p.type == "text") && /* @__PURE__ */ v.jsx(Mi, { label: p.column.title, placeholder: p.placeholder ?? "", ...Z.getInputProps(p.id), type: p.id.includes("email") ? "email" : void 0, required: u }, Z.key(p.id)),
8066
+ (p.type === void 0 || p.type == "text") && /* @__PURE__ */ v.jsx(Ai, { label: p.column.title, placeholder: p.placeholder ?? "", ...Z.getInputProps(p.id), type: p.id.includes("email") ? "email" : void 0, required: u }, Z.key(p.id)),
8067
8067
  p.type === "number" && /* @__PURE__ */ v.jsx(Ri, { decimalSeparator: ",", label: p.column.title, placeholder: p.placeholder ?? "", ...Z.getInputProps(p.id), required: u }, Z.key(p.id)),
8068
8068
  p.type === "date" && /* @__PURE__ */ v.jsx(tn, { label: p.column.title, placeholder: p.placeholder ?? "", valueFormat: "DD.MM.YYYY", clearable: !0, ...Z.getInputProps(p.id), required: u }, Z.key(p.id)),
8069
8069
  p.type === "boolean" && /* @__PURE__ */ v.jsx(qt, { mt: "md", label: p.column.title, ...Z.getInputProps(p.id, {
@@ -8298,7 +8298,7 @@ function th(t) {
8298
8298
  selectedRecords: l,
8299
8299
  onSelectedRecordsChange: d,
8300
8300
  onRowClick: s,
8301
- cardActions: m,
8301
+ actions: m,
8302
8302
  pagination: y,
8303
8303
  sort: _,
8304
8304
  rowExpansion: j
@@ -8376,8 +8376,8 @@ function th(t) {
8376
8376
  ] }),
8377
8377
  m && m.length > 0 && /* @__PURE__ */ v.jsxs(at, { shadow: "md", position: "bottom-end", children: [
8378
8378
  /* @__PURE__ */ v.jsx(at.Target, { children: /* @__PURE__ */ v.jsx(Wt, { variant: "subtle", color: "gray", size: "sm", onClick: nh, children: /* @__PURE__ */ v.jsx(Ks, { size: 16 }) }) }),
8379
- /* @__PURE__ */ v.jsx(at.Dropdown, { children: m.map((I, G) => /* @__PURE__ */ v.jsx(at.Item, { leftSection: I.icon, color: I.color, onClick: (te) => {
8380
- te.stopPropagation(), I.onClick(p);
8379
+ /* @__PURE__ */ v.jsx(at.Dropdown, { children: m.map((I, G) => /* @__PURE__ */ v.jsx(at.Item, { leftSection: I.icon, onClick: (te) => {
8380
+ te.stopPropagation(), I.onClick([p]);
8381
8381
  }, children: I.label }, `card_action_${G}`)) })
8382
8382
  ] })
8383
8383
  ] }),
@@ -8440,7 +8440,7 @@ function ah(t) {
8440
8440
  }
8441
8441
  const kn = [10, 15, 50, 100, 500];
8442
8442
  function lh(t) {
8443
- const e = Ve.c(117), {
8443
+ const e = Ve.c(118), {
8444
8444
  title: r,
8445
8445
  queryKey: n,
8446
8446
  connectedQueryKeys: i,
@@ -8493,7 +8493,7 @@ function lh(t) {
8493
8493
  queryKey: Ce
8494
8494
  }));
8495
8495
  }, ae = [R, i, ie], e[6] = R, e[7] = i, e[8] = ie, e[9] = ne, e[10] = ae) : (ne = e[9], ae = e[10]), $e(ne, ae);
8496
- const M = !R || !Array.isArray(R) ? [] : !j || j.length === 0 ? R : R.filter((Ce) => j.every((Se) => {
8496
+ const A = !R || !Array.isArray(R) ? [] : !j || j.length === 0 ? R : R.filter((Ce) => j.every((Se) => {
8497
8497
  if (Se.value === void 0)
8498
8498
  return !0;
8499
8499
  const mt = Se.id;
@@ -8506,8 +8506,8 @@ function lh(t) {
8506
8506
  if ("id" in be && Se.value.includes(be.id))
8507
8507
  return !0;
8508
8508
  for (const qe in be) {
8509
- const Me = be[qe];
8510
- if (typeof Me == "string" && Se.value.includes(Me) || Me && typeof Me == "object" && "id" in Me && Se.value.includes(Me.id))
8509
+ const Ae = be[qe];
8510
+ if (typeof Ae == "string" && Se.value.includes(Ae) || Ae && typeof Ae == "object" && "id" in Ae && Se.value.includes(Ae.id))
8511
8511
  return !0;
8512
8512
  }
8513
8513
  }
@@ -8520,9 +8520,9 @@ function lh(t) {
8520
8520
  const [be, qe] = _e;
8521
8521
  if (!be && !qe)
8522
8522
  return !0;
8523
- const Me = Ce[mt];
8524
- if (typeof Me == "string") {
8525
- const Lt = Me.split(" ")[0];
8523
+ const Ae = Ce[mt];
8524
+ if (typeof Ae == "string") {
8525
+ const Lt = Ae.split(" ")[0];
8526
8526
  if (be && qe)
8527
8527
  return Lt >= be && Lt <= qe;
8528
8528
  if (be && !qe)
@@ -8545,7 +8545,7 @@ function lh(t) {
8545
8545
  e[14] !== O ? (o = (Ce) => {
8546
8546
  le(Ce), O && O(String(Ce.columnAccessor), Ce.direction);
8547
8547
  }, e[14] = O, e[15] = o) : o = e[15];
8548
- const c = o, g = Zd(M, B.columnAccessor, B.direction), [A, T] = Qd(kn[1], "mantine-table-page-size"), [F, se] = ve(1), ue = _ ? g.slice((F - 1) * A, F * A) : g;
8548
+ const c = o, g = Zd(A, B.columnAccessor, B.direction), [M, T] = Qd(kn[1], "mantine-table-page-size"), [F, se] = ve(1), ue = _ ? g.slice((F - 1) * M, F * M) : g;
8549
8549
  let he;
8550
8550
  e[16] === Symbol.for("react.memo_cache_sentinel") ? (he = [], e[16] = he) : he = e[16];
8551
8551
  const [K, de] = ve(he);
@@ -8604,7 +8604,7 @@ function lh(t) {
8604
8604
  Array(5).fill(0).map(hh)
8605
8605
  ] }), e[53] = I, e[54] = te, e[55] = Qe) : Qe = e[55];
8606
8606
  let Ke;
8607
- e[56] !== m || e[57] !== c || e[58] !== G || e[59] !== I || e[60] !== te || e[61] !== J || e[62] !== q || e[63] !== F || e[64] !== A || e[65] !== _ || e[66] !== ue || e[67] !== U || e[68] !== K || e[69] !== y || e[70] !== se || e[71] !== T || e[72] !== B || e[73] !== g ? (Ke = !I && !te && /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
8607
+ e[56] !== S || e[57] !== m || e[58] !== c || e[59] !== G || e[60] !== I || e[61] !== te || e[62] !== J || e[63] !== q || e[64] !== F || e[65] !== M || e[66] !== _ || e[67] !== ue || e[68] !== U || e[69] !== K || e[70] !== y || e[71] !== se || e[72] !== T || e[73] !== B || e[74] !== g ? (Ke = !I && !te && /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
8608
8608
  /* @__PURE__ */ v.jsx(Oe, { ...J ? {
8609
8609
  visibleFrom: "sm"
8610
8610
  } : {}, children: /* @__PURE__ */ v.jsx(Yd, { my: "md", striped: !0, highlightOnHover: !0, minHeight: 150, fetching: G, records: ue, sortStatus: B, onSortStatusChange: c, ...y && {
@@ -8612,7 +8612,7 @@ function lh(t) {
8612
8612
  onSelectedRecordsChange: de
8613
8613
  }, ..._ && ue.length && {
8614
8614
  totalRecords: g.length,
8615
- recordsPerPage: A,
8615
+ recordsPerPage: M,
8616
8616
  onPageChange: se,
8617
8617
  page: F,
8618
8618
  recordsPerPageOptions: kn,
@@ -8648,7 +8648,7 @@ function lh(t) {
8648
8648
  }, ..._ && ue.length && {
8649
8649
  pagination: {
8650
8650
  totalRecords: g.length,
8651
- recordsPerPage: A,
8651
+ recordsPerPage: M,
8652
8652
  page: F,
8653
8653
  onPageChange: se,
8654
8654
  recordsPerPageOptions: kn,
@@ -8660,42 +8660,44 @@ function lh(t) {
8660
8660
  rowExpansion: {
8661
8661
  content: U.content
8662
8662
  }
8663
+ }, ...S && S.length > 0 && {
8664
+ actions: S
8663
8665
  } }) })
8664
- ] }), e[56] = m, e[57] = c, e[58] = G, e[59] = I, e[60] = te, e[61] = J, e[62] = q, e[63] = F, e[64] = A, e[65] = _, e[66] = ue, e[67] = U, e[68] = K, e[69] = y, e[70] = se, e[71] = T, e[72] = B, e[73] = g, e[74] = Ke) : Ke = e[74];
8666
+ ] }), e[56] = S, e[57] = m, e[58] = c, e[59] = G, e[60] = I, e[61] = te, e[62] = J, e[63] = q, e[64] = F, e[65] = M, e[66] = _, e[67] = ue, e[68] = U, e[69] = K, e[70] = y, e[71] = se, e[72] = T, e[73] = B, e[74] = g, e[75] = Ke) : Ke = e[75];
8665
8667
  let ft;
8666
- e[75] === Symbol.for("react.memo_cache_sentinel") ? (ft = () => {
8668
+ e[76] === Symbol.for("react.memo_cache_sentinel") ? (ft = () => {
8667
8669
  He(!1), de([]);
8668
- }, e[75] = ft) : ft = e[75];
8670
+ }, e[76] = ft) : ft = e[76];
8669
8671
  const vt = r ?? "Bearbeiten";
8670
8672
  let pt;
8671
- e[76] !== l || e[77] !== m || e[78] !== d || e[79] !== n || e[80] !== K[0] || e[81] !== K.length || e[82] !== C ? (pt = K.length > 0 && /* @__PURE__ */ v.jsx(zd, { fields: m.filter(uh), queryKey: n, apiPath: d ?? l, id: K[0].id, onClose: () => {
8673
+ e[77] !== l || e[78] !== m || e[79] !== d || e[80] !== n || e[81] !== K[0] || e[82] !== K.length || e[83] !== C ? (pt = K.length > 0 && /* @__PURE__ */ v.jsx(zd, { fields: m.filter(uh), queryKey: n, apiPath: d ?? l, id: K[0].id, onClose: () => {
8672
8674
  He(!1), de([]);
8673
- }, steps: C }), e[76] = l, e[77] = m, e[78] = d, e[79] = n, e[80] = K[0], e[81] = K.length, e[82] = C, e[83] = pt) : pt = e[83];
8675
+ }, steps: C }), e[77] = l, e[78] = m, e[79] = d, e[80] = n, e[81] = K[0], e[82] = K.length, e[83] = C, e[84] = pt) : pt = e[84];
8674
8676
  let me;
8675
- e[84] !== vt || e[85] !== pt || e[86] !== ke ? (me = /* @__PURE__ */ v.jsx(fn, { opened: ke, onClose: ft, title: vt, children: pt }), e[84] = vt, e[85] = pt, e[86] = ke, e[87] = me) : me = e[87];
8677
+ e[85] !== vt || e[86] !== pt || e[87] !== ke ? (me = /* @__PURE__ */ v.jsx(fn, { opened: ke, onClose: ft, title: vt, children: pt }), e[85] = vt, e[86] = pt, e[87] = ke, e[88] = me) : me = e[88];
8676
8678
  let je;
8677
- e[88] !== l || e[89] !== Ne || e[90] !== d || e[91] !== n || e[92] !== K || e[93] !== r ? (je = K.length > 0 && /* @__PURE__ */ v.jsx(fn, { opened: Ne, onClose: () => {
8679
+ e[89] !== l || e[90] !== Ne || e[91] !== d || e[92] !== n || e[93] !== K || e[94] !== r ? (je = K.length > 0 && /* @__PURE__ */ v.jsx(fn, { opened: Ne, onClose: () => {
8678
8680
  Pe(!1), de([]);
8679
8681
  }, title: r ?? "Löschen", children: /* @__PURE__ */ v.jsx(Gd, { onClose: () => {
8680
8682
  Pe(!1), de([]);
8681
- }, queryKey: n, apiPath: d ?? l, selectedRecords: K }) }), e[88] = l, e[89] = Ne, e[90] = d, e[91] = n, e[92] = K, e[93] = r, e[94] = je) : je = e[94];
8683
+ }, queryKey: n, apiPath: d ?? l, selectedRecords: K }) }), e[89] = l, e[90] = Ne, e[91] = d, e[92] = n, e[93] = K, e[94] = r, e[95] = je) : je = e[95];
8682
8684
  let nt;
8683
- e[95] === Symbol.for("react.memo_cache_sentinel") ? (nt = () => {
8685
+ e[96] === Symbol.for("react.memo_cache_sentinel") ? (nt = () => {
8684
8686
  we(!1);
8685
- }, e[95] = nt) : nt = e[95];
8687
+ }, e[96] = nt) : nt = e[96];
8686
8688
  const bt = r ?? "Anlegen", Kt = d ?? l;
8687
8689
  let Nt;
8688
- e[96] === Symbol.for("react.memo_cache_sentinel") ? (Nt = () => {
8690
+ e[97] === Symbol.for("react.memo_cache_sentinel") ? (Nt = () => {
8689
8691
  we(!1);
8690
- }, e[96] = Nt) : Nt = e[96];
8692
+ }, e[97] = Nt) : Nt = e[97];
8691
8693
  let wt;
8692
- e[97] !== m ? (wt = m.filter(ch), e[97] = m, e[98] = wt) : wt = e[98];
8694
+ e[98] !== m ? (wt = m.filter(ch), e[98] = m, e[99] = wt) : wt = e[99];
8693
8695
  let Ze;
8694
- e[99] !== n || e[100] !== C || e[101] !== Kt || e[102] !== wt ? (Ze = /* @__PURE__ */ v.jsx(Wu, { queryKey: n, apiPath: Kt, onClose: Nt, fields: wt, steps: C }), e[99] = n, e[100] = C, e[101] = Kt, e[102] = wt, e[103] = Ze) : Ze = e[103];
8696
+ e[100] !== n || e[101] !== C || e[102] !== Kt || e[103] !== wt ? (Ze = /* @__PURE__ */ v.jsx(Wu, { queryKey: n, apiPath: Kt, onClose: Nt, fields: wt, steps: C }), e[100] = n, e[101] = C, e[102] = Kt, e[103] = wt, e[104] = Ze) : Ze = e[104];
8695
8697
  let _t;
8696
- e[104] !== xe || e[105] !== bt || e[106] !== Ze ? (_t = /* @__PURE__ */ v.jsx(fn, { opened: xe, onClose: nt, title: bt, children: Ze }), e[104] = xe, e[105] = bt, e[106] = Ze, e[107] = _t) : _t = e[107];
8698
+ e[105] !== xe || e[106] !== bt || e[107] !== Ze ? (_t = /* @__PURE__ */ v.jsx(fn, { opened: xe, onClose: nt, title: bt, children: Ze }), e[105] = xe, e[106] = bt, e[107] = Ze, e[108] = _t) : _t = e[108];
8697
8699
  let gt;
8698
- return e[108] !== dt || e[109] !== ht || e[110] !== Ge || e[111] !== Qe || e[112] !== Ke || e[113] !== me || e[114] !== je || e[115] !== _t ? (gt = /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
8700
+ return e[109] !== dt || e[110] !== ht || e[111] !== Ge || e[112] !== Qe || e[113] !== Ke || e[114] !== me || e[115] !== je || e[116] !== _t ? (gt = /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
8699
8701
  dt,
8700
8702
  ht,
8701
8703
  Ge,
@@ -8704,7 +8706,7 @@ function lh(t) {
8704
8706
  me,
8705
8707
  je,
8706
8708
  _t
8707
- ] }), e[108] = dt, e[109] = ht, e[110] = Ge, e[111] = Qe, e[112] = Ke, e[113] = me, e[114] = je, e[115] = _t, e[116] = gt) : gt = e[116], gt;
8709
+ ] }), e[109] = dt, e[110] = ht, e[111] = Ge, e[112] = Qe, e[113] = Ke, e[114] = me, e[115] = je, e[116] = _t, e[117] = gt) : gt = e[117], gt;
8708
8710
  }
8709
8711
  function ch(t) {
8710
8712
  return t.create;