@eliseubatista99/react-scaffold-core 0.1.100 → 0.2.1

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,10 +1,10 @@
1
1
  import * as M from "react";
2
- import V, { forwardRef as kn, useContext as Yt, useEffect as Ir, useState as Ar, useMemo as Hr, useCallback as _e, useRef as Cn } from "react";
2
+ import V, { forwardRef as Cn, useContext as Yt, useEffect as Ir, useState as Ar, useMemo as Hr, useCallback as _e, useRef as Pn } from "react";
3
3
  var rt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
4
4
  function Vt(e) {
5
5
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
6
6
  }
7
- function Pn(e) {
7
+ function En(e) {
8
8
  if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
9
9
  var t = e.default;
10
10
  if (typeof t == "function") {
@@ -39,7 +39,7 @@ var nt = { exports: {} }, He = {};
39
39
  * LICENSE file in the root directory of this source tree.
40
40
  */
41
41
  var rr;
42
- function En() {
42
+ function Rn() {
43
43
  if (rr) return He;
44
44
  rr = 1;
45
45
  var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
@@ -71,7 +71,7 @@ var ze = {};
71
71
  * LICENSE file in the root directory of this source tree.
72
72
  */
73
73
  var nr;
74
- function Rn() {
74
+ function _n() {
75
75
  return nr || (nr = 1, process.env.NODE_ENV !== "production" && function() {
76
76
  function e(n) {
77
77
  if (n == null) return null;
@@ -304,11 +304,11 @@ React keys must be passed directly to JSX without using spread:
304
304
  }()), ze;
305
305
  }
306
306
  var ir;
307
- function _n() {
308
- return ir || (ir = 1, process.env.NODE_ENV === "production" ? nt.exports = En() : nt.exports = Rn()), nt.exports;
307
+ function Tn() {
308
+ return ir || (ir = 1, process.env.NODE_ENV === "production" ? nt.exports = Rn() : nt.exports = _n()), nt.exports;
309
309
  }
310
- var X = _n();
311
- const is = ({ children: e, onClick: t, styles: r }) => /* @__PURE__ */ X.jsx(
310
+ var X = Tn();
311
+ const as = ({ children: e, onClick: t, styles: r }) => /* @__PURE__ */ X.jsx(
312
312
  "button",
313
313
  {
314
314
  style: {
@@ -331,7 +331,7 @@ const is = ({ children: e, onClick: t, styles: r }) => /* @__PURE__ */ X.jsx(
331
331
  }
332
332
  );
333
333
  var Pt = {}, Et = {}, Ne = {}, Rt = {}, ar;
334
- function Tn() {
334
+ function jn() {
335
335
  return ar || (ar = 1, function(e) {
336
336
  Object.defineProperty(e, "__esModule", {
337
337
  value: !0
@@ -371,7 +371,7 @@ function Tn() {
371
371
  }(Rt)), Rt;
372
372
  }
373
373
  var _t, or;
374
- function jn() {
374
+ function Ln() {
375
375
  if (or) return _t;
376
376
  or = 1;
377
377
  var e = "Expected a function", t = NaN, r = "[object Symbol]", i = /^\s+|\s+$/g, a = /^[-+]0x[0-9a-f]+$/i, s = /^0b[01]+$/i, d = /^0o[0-7]+$/i, l = parseInt, u = typeof rt == "object" && rt && rt.Object === Object && rt, c = typeof self == "object" && self && self.Object === Object && self, v = u || c || Function("return this")(), w = Object.prototype, x = w.toString, L = Math.max, k = Math.min, p = function() {
@@ -782,8 +782,8 @@ function Ke() {
782
782
  N && (Q.swipeLength = tr);
783
783
  var Ie = (W ? -1 : 1) * (Q.curX > Q.startX ? 1 : -1);
784
784
  N && (Ie = Q.curY > Q.startY ? 1 : -1);
785
- var On = Math.ceil(ee / ie), Ce = F(f.touchObject, N), Ae = Q.swipeLength;
786
- return le || (B === 0 && (Ce === "right" || Ce === "down") || B + 1 >= On && (Ce === "left" || Ce === "up") || !U(f) && (Ce === "left" || Ce === "up")) && (Ae = Q.swipeLength * K, G === !1 && J && (J(Ce), Ee.edgeDragged = !0)), !te && oe && (oe(Ce), Ee.swiped = !0), D ? pe = tt + Ae * (ue / ce) * Ie : W ? pe = tt - Ae * Ie : pe = tt + Ae * Ie, N && (pe = tt + Ae * Ie), Ee = s(s({}, Ee), {}, {
785
+ var kn = Math.ceil(ee / ie), Ce = F(f.touchObject, N), Ae = Q.swipeLength;
786
+ return le || (B === 0 && (Ce === "right" || Ce === "down") || B + 1 >= kn && (Ce === "left" || Ce === "up") || !U(f) && (Ce === "left" || Ce === "up")) && (Ae = Q.swipeLength * K, G === !1 && J && (J(Ce), Ee.edgeDragged = !0)), !te && oe && (oe(Ce), Ee.swiped = !0), D ? pe = tt + Ae * (ue / ce) * Ie : W ? pe = tt - Ae * Ie : pe = tt + Ae * Ie, N && (pe = tt + Ae * Ie), Ee = s(s({}, Ee), {}, {
787
787
  touchObject: Q,
788
788
  swipeLeft: pe,
789
789
  trackStyle: R(s(s({}, f), {}, {
@@ -951,7 +951,7 @@ function Ke() {
951
951
  return Y;
952
952
  }
953
953
  var Fe = {}, cr;
954
- function Ln() {
954
+ function Dn() {
955
955
  if (cr) return Fe;
956
956
  cr = 1, Object.defineProperty(Fe, "__esModule", {
957
957
  value: !0
@@ -1178,7 +1178,7 @@ function Ln() {
1178
1178
  }(e.default.PureComponent), Fe;
1179
1179
  }
1180
1180
  var We = {}, fr;
1181
- function Dn() {
1181
+ function Mn() {
1182
1182
  if (fr) return We;
1183
1183
  fr = 1;
1184
1184
  function e(g) {
@@ -1341,7 +1341,7 @@ function Dn() {
1341
1341
  }(t.default.PureComponent), We;
1342
1342
  }
1343
1343
  var Re = {}, dr;
1344
- function Mn() {
1344
+ function $n() {
1345
1345
  if (dr) return Re;
1346
1346
  dr = 1;
1347
1347
  function e(g) {
@@ -1591,25 +1591,25 @@ var Nr = function() {
1591
1591
  );
1592
1592
  }(), At = typeof window < "u" && typeof document < "u" && window.document === document, pt = function() {
1593
1593
  return typeof global < "u" && global.Math === Math ? global : typeof self < "u" && self.Math === Math ? self : typeof window < "u" && window.Math === Math ? window : Function("return this")();
1594
- }(), $n = function() {
1594
+ }(), In = function() {
1595
1595
  return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(pt) : function(e) {
1596
1596
  return setTimeout(function() {
1597
1597
  return e(Date.now());
1598
1598
  }, 1e3 / 60);
1599
1599
  };
1600
- }(), In = 2;
1601
- function An(e, t) {
1600
+ }(), An = 2;
1601
+ function Hn(e, t) {
1602
1602
  var r = !1, i = !1, a = 0;
1603
1603
  function s() {
1604
1604
  r && (r = !1, e()), i && l();
1605
1605
  }
1606
1606
  function d() {
1607
- $n(s);
1607
+ In(s);
1608
1608
  }
1609
1609
  function l() {
1610
1610
  var u = Date.now();
1611
1611
  if (r) {
1612
- if (u - a < In)
1612
+ if (u - a < An)
1613
1613
  return;
1614
1614
  i = !0;
1615
1615
  } else
@@ -1618,11 +1618,11 @@ function An(e, t) {
1618
1618
  }
1619
1619
  return l;
1620
1620
  }
1621
- var Hn = 20, zn = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], Nn = typeof MutationObserver < "u", Fn = (
1621
+ var zn = 20, Nn = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], Fn = typeof MutationObserver < "u", Wn = (
1622
1622
  /** @class */
1623
1623
  function() {
1624
1624
  function e() {
1625
- this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.observers_ = [], this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = An(this.refresh.bind(this), Hn);
1625
+ this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.observers_ = [], this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = Hn(this.refresh.bind(this), zn);
1626
1626
  }
1627
1627
  return e.prototype.addObserver = function(t) {
1628
1628
  ~this.observers_.indexOf(t) || this.observers_.push(t), this.connected_ || this.connect_();
@@ -1640,7 +1640,7 @@ var Hn = 20, zn = ["top", "right", "bottom", "left", "width", "height", "size",
1640
1640
  return r.broadcastActive();
1641
1641
  }), t.length > 0;
1642
1642
  }, e.prototype.connect_ = function() {
1643
- !At || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), Nn ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
1643
+ !At || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), Fn ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
1644
1644
  attributes: !0,
1645
1645
  childList: !0,
1646
1646
  characterData: !0,
@@ -1649,7 +1649,7 @@ var Hn = 20, zn = ["top", "right", "bottom", "left", "width", "height", "size",
1649
1649
  }, e.prototype.disconnect_ = function() {
1650
1650
  !At || !this.connected_ || (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
1651
1651
  }, e.prototype.onTransitionEnd_ = function(t) {
1652
- var r = t.propertyName, i = r === void 0 ? "" : r, a = zn.some(function(s) {
1652
+ var r = t.propertyName, i = r === void 0 ? "" : r, a = Nn.some(function(s) {
1653
1653
  return !!~i.indexOf(s);
1654
1654
  });
1655
1655
  a && this.refresh();
@@ -1683,42 +1683,42 @@ function hr(e) {
1683
1683
  return i + mt(s);
1684
1684
  }, 0);
1685
1685
  }
1686
- function Wn(e) {
1686
+ function Un(e) {
1687
1687
  for (var t = ["top", "right", "bottom", "left"], r = {}, i = 0, a = t; i < a.length; i++) {
1688
1688
  var s = a[i], d = e["padding-" + s];
1689
1689
  r[s] = mt(d);
1690
1690
  }
1691
1691
  return r;
1692
1692
  }
1693
- function Un(e) {
1693
+ function Yn(e) {
1694
1694
  var t = e.getBBox();
1695
1695
  return bt(0, 0, t.width, t.height);
1696
1696
  }
1697
- function Yn(e) {
1697
+ function Vn(e) {
1698
1698
  var t = e.clientWidth, r = e.clientHeight;
1699
1699
  if (!t && !r)
1700
1700
  return Wr;
1701
- var i = je(e).getComputedStyle(e), a = Wn(i), s = a.left + a.right, d = a.top + a.bottom, l = mt(i.width), u = mt(i.height);
1702
- if (i.boxSizing === "border-box" && (Math.round(l + s) !== t && (l -= hr(i, "left", "right") + s), Math.round(u + d) !== r && (u -= hr(i, "top", "bottom") + d)), !qn(e)) {
1701
+ var i = je(e).getComputedStyle(e), a = Un(i), s = a.left + a.right, d = a.top + a.bottom, l = mt(i.width), u = mt(i.height);
1702
+ if (i.boxSizing === "border-box" && (Math.round(l + s) !== t && (l -= hr(i, "left", "right") + s), Math.round(u + d) !== r && (u -= hr(i, "top", "bottom") + d)), !Bn(e)) {
1703
1703
  var c = Math.round(l + s) - t, v = Math.round(u + d) - r;
1704
1704
  Math.abs(c) !== 1 && (l -= c), Math.abs(v) !== 1 && (u -= v);
1705
1705
  }
1706
1706
  return bt(a.left, a.top, l, u);
1707
1707
  }
1708
- var Vn = /* @__PURE__ */ function() {
1708
+ var qn = /* @__PURE__ */ function() {
1709
1709
  return typeof SVGGraphicsElement < "u" ? function(e) {
1710
1710
  return e instanceof je(e).SVGGraphicsElement;
1711
1711
  } : function(e) {
1712
1712
  return e instanceof je(e).SVGElement && typeof e.getBBox == "function";
1713
1713
  };
1714
1714
  }();
1715
- function qn(e) {
1716
- return e === je(e).document.documentElement;
1717
- }
1718
1715
  function Bn(e) {
1719
- return At ? Vn(e) ? Un(e) : Yn(e) : Wr;
1716
+ return e === je(e).document.documentElement;
1720
1717
  }
1721
1718
  function Xn(e) {
1719
+ return At ? qn(e) ? Yn(e) : Vn(e) : Wr;
1720
+ }
1721
+ function Gn(e) {
1722
1722
  var t = e.x, r = e.y, i = e.width, a = e.height, s = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object, d = Object.create(s.prototype);
1723
1723
  return Fr(d, {
1724
1724
  x: t,
@@ -1734,30 +1734,30 @@ function Xn(e) {
1734
1734
  function bt(e, t, r, i) {
1735
1735
  return { x: e, y: t, width: r, height: i };
1736
1736
  }
1737
- var Gn = (
1737
+ var Kn = (
1738
1738
  /** @class */
1739
1739
  function() {
1740
1740
  function e(t) {
1741
1741
  this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = bt(0, 0, 0, 0), this.target = t;
1742
1742
  }
1743
1743
  return e.prototype.isActive = function() {
1744
- var t = Bn(this.target);
1744
+ var t = Xn(this.target);
1745
1745
  return this.contentRect_ = t, t.width !== this.broadcastWidth || t.height !== this.broadcastHeight;
1746
1746
  }, e.prototype.broadcastRect = function() {
1747
1747
  var t = this.contentRect_;
1748
1748
  return this.broadcastWidth = t.width, this.broadcastHeight = t.height, t;
1749
1749
  }, e;
1750
1750
  }()
1751
- ), Kn = (
1751
+ ), Jn = (
1752
1752
  /** @class */
1753
1753
  /* @__PURE__ */ function() {
1754
1754
  function e(t, r) {
1755
- var i = Xn(r);
1755
+ var i = Gn(r);
1756
1756
  Fr(this, { target: t, contentRect: i });
1757
1757
  }
1758
1758
  return e;
1759
1759
  }()
1760
- ), Jn = (
1760
+ ), Zn = (
1761
1761
  /** @class */
1762
1762
  function() {
1763
1763
  function e(t, r, i) {
@@ -1772,7 +1772,7 @@ var Gn = (
1772
1772
  if (!(t instanceof je(t).Element))
1773
1773
  throw new TypeError('parameter 1 is not of type "Element".');
1774
1774
  var r = this.observations_;
1775
- r.has(t) || (r.set(t, new Gn(t)), this.controller_.addObserver(this), this.controller_.refresh());
1775
+ r.has(t) || (r.set(t, new Kn(t)), this.controller_.addObserver(this), this.controller_.refresh());
1776
1776
  }
1777
1777
  }, e.prototype.unobserve = function(t) {
1778
1778
  if (!arguments.length)
@@ -1793,7 +1793,7 @@ var Gn = (
1793
1793
  }, e.prototype.broadcastActive = function() {
1794
1794
  if (this.hasActive()) {
1795
1795
  var t = this.callbackCtx_, r = this.activeObservations_.map(function(i) {
1796
- return new Kn(i.target, i.broadcastRect());
1796
+ return new Jn(i.target, i.broadcastRect());
1797
1797
  });
1798
1798
  this.callback_.call(t, r, t), this.clearActive();
1799
1799
  }
@@ -1811,7 +1811,7 @@ var Gn = (
1811
1811
  throw new TypeError("Cannot call a class as a function.");
1812
1812
  if (!arguments.length)
1813
1813
  throw new TypeError("1 argument required, but only 0 present.");
1814
- var r = Fn.getInstance(), i = new Jn(t, r, this);
1814
+ var r = Wn.getInstance(), i = new Zn(t, r, this);
1815
1815
  Ur.set(this, i);
1816
1816
  }
1817
1817
  return e;
@@ -1827,20 +1827,20 @@ var Gn = (
1827
1827
  return (t = Ur.get(this))[e].apply(t, arguments);
1828
1828
  };
1829
1829
  });
1830
- var Zn = function() {
1830
+ var Qn = function() {
1831
1831
  return typeof pt.ResizeObserver < "u" ? pt.ResizeObserver : Yr;
1832
1832
  }();
1833
- const Qn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1833
+ const ei = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1834
1834
  __proto__: null,
1835
- default: Zn
1836
- }, Symbol.toStringTag, { value: "Module" })), ei = /* @__PURE__ */ Pn(Qn);
1835
+ default: Qn
1836
+ }, Symbol.toStringTag, { value: "Module" })), ti = /* @__PURE__ */ En(ei);
1837
1837
  var pr;
1838
- function ti() {
1838
+ function ri() {
1839
1839
  if (pr) return Ne;
1840
1840
  pr = 1, Object.defineProperty(Ne, "__esModule", {
1841
1841
  value: !0
1842
1842
  }), Ne.InnerSlider = void 0;
1843
- var e = c(V), t = c(Tn()), r = c(jn()), i = c(yt()), a = Ke(), s = Ln(), d = Dn(), l = Mn(), u = c(ei);
1843
+ var e = c(V), t = c(jn()), r = c(Ln()), i = c(yt()), a = Ke(), s = Dn(), d = Mn(), l = $n(), u = c(ti);
1844
1844
  function c(_) {
1845
1845
  return _ && _.__esModule ? _ : { default: _ };
1846
1846
  }
@@ -2369,7 +2369,7 @@ function ti() {
2369
2369
  }(e.default.Component), Ne;
2370
2370
  }
2371
2371
  var Lt, mr;
2372
- function ri() {
2372
+ function ni() {
2373
2373
  if (mr) return Lt;
2374
2374
  mr = 1;
2375
2375
  var e = function(t) {
@@ -2380,10 +2380,10 @@ function ri() {
2380
2380
  return Lt = e, Lt;
2381
2381
  }
2382
2382
  var Dt, vr;
2383
- function ni() {
2383
+ function ii() {
2384
2384
  if (vr) return Dt;
2385
2385
  vr = 1;
2386
- var e = ri(), t = function(a) {
2386
+ var e = ni(), t = function(a) {
2387
2387
  var s = /[height|width]$/;
2388
2388
  return s.test(a);
2389
2389
  }, r = function(a) {
@@ -2401,12 +2401,12 @@ function ni() {
2401
2401
  return Dt = i, Dt;
2402
2402
  }
2403
2403
  var gr;
2404
- function ii() {
2404
+ function ai() {
2405
2405
  return gr || (gr = 1, function(e) {
2406
2406
  Object.defineProperty(e, "__esModule", {
2407
2407
  value: !0
2408
2408
  }), e.default = void 0;
2409
- var t = d(V), r = ti(), i = d(ni()), a = d(zr()), s = Ke();
2409
+ var t = d(V), r = ri(), i = d(ii()), a = d(zr()), s = Ke();
2410
2410
  function d(R) {
2411
2411
  return R && R.__esModule ? R : { default: R };
2412
2412
  }
@@ -2650,20 +2650,20 @@ function ii() {
2650
2650
  }(Et)), Et;
2651
2651
  }
2652
2652
  var yr;
2653
- function ai() {
2653
+ function oi() {
2654
2654
  return yr || (yr = 1, function(e) {
2655
2655
  Object.defineProperty(e, "__esModule", {
2656
2656
  value: !0
2657
2657
  }), e.default = void 0;
2658
- var t = r(ii());
2658
+ var t = r(ai());
2659
2659
  function r(i) {
2660
2660
  return i && i.__esModule ? i : { default: i };
2661
2661
  }
2662
2662
  e.default = t.default;
2663
2663
  }(Pt)), Pt;
2664
2664
  }
2665
- var oi = ai();
2666
- const si = /* @__PURE__ */ Vt(oi);
2665
+ var si = oi();
2666
+ const li = /* @__PURE__ */ Vt(si);
2667
2667
  function Ht() {
2668
2668
  return Ht = Object.assign ? Object.assign.bind() : function(e) {
2669
2669
  for (var t = 1; t < arguments.length; t++) {
@@ -2673,18 +2673,18 @@ function Ht() {
2673
2673
  return e;
2674
2674
  }, Ht.apply(null, arguments);
2675
2675
  }
2676
- function li(e) {
2676
+ function ui(e) {
2677
2677
  if (e.sheet)
2678
2678
  return e.sheet;
2679
2679
  for (var t = 0; t < document.styleSheets.length; t++)
2680
2680
  if (document.styleSheets[t].ownerNode === e)
2681
2681
  return document.styleSheets[t];
2682
2682
  }
2683
- function ui(e) {
2683
+ function ci(e) {
2684
2684
  var t = document.createElement("style");
2685
2685
  return t.setAttribute("data-emotion", e.key), e.nonce !== void 0 && t.setAttribute("nonce", e.nonce), t.appendChild(document.createTextNode("")), t.setAttribute("data-s", ""), t;
2686
2686
  }
2687
- var ci = /* @__PURE__ */ function() {
2687
+ var fi = /* @__PURE__ */ function() {
2688
2688
  function e(r) {
2689
2689
  var i = this;
2690
2690
  this._insertTag = function(a) {
@@ -2696,10 +2696,10 @@ var ci = /* @__PURE__ */ function() {
2696
2696
  return t.hydrate = function(i) {
2697
2697
  i.forEach(this._insertTag);
2698
2698
  }, t.insert = function(i) {
2699
- this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(ui(this));
2699
+ this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(ci(this));
2700
2700
  var a = this.tags[this.tags.length - 1];
2701
2701
  if (this.isSpeedy) {
2702
- var s = li(a);
2702
+ var s = ui(a);
2703
2703
  try {
2704
2704
  s.insertRule(i, s.cssRules.length);
2705
2705
  } catch {
@@ -2713,14 +2713,14 @@ var ci = /* @__PURE__ */ function() {
2713
2713
  return (a = i.parentNode) == null ? void 0 : a.removeChild(i);
2714
2714
  }), this.tags = [], this.ctr = 0;
2715
2715
  }, e;
2716
- }(), de = "-ms-", vt = "-moz-", re = "-webkit-", Vr = "comm", qt = "rule", Bt = "decl", fi = "@import", qr = "@keyframes", di = "@layer", hi = Math.abs, wt = String.fromCharCode, pi = Object.assign;
2717
- function mi(e, t) {
2716
+ }(), de = "-ms-", vt = "-moz-", re = "-webkit-", Vr = "comm", qt = "rule", Bt = "decl", di = "@import", qr = "@keyframes", hi = "@layer", pi = Math.abs, wt = String.fromCharCode, mi = Object.assign;
2717
+ function vi(e, t) {
2718
2718
  return fe(e, 0) ^ 45 ? (((t << 2 ^ fe(e, 0)) << 2 ^ fe(e, 1)) << 2 ^ fe(e, 2)) << 2 ^ fe(e, 3) : 0;
2719
2719
  }
2720
2720
  function Br(e) {
2721
2721
  return e.trim();
2722
2722
  }
2723
- function vi(e, t) {
2723
+ function gi(e, t) {
2724
2724
  return (e = t.exec(e)) ? e[0] : e;
2725
2725
  }
2726
2726
  function ne(e, t, r) {
@@ -2744,7 +2744,7 @@ function Xt(e) {
2744
2744
  function it(e, t) {
2745
2745
  return t.push(e), e;
2746
2746
  }
2747
- function gi(e, t) {
2747
+ function yi(e, t) {
2748
2748
  return e.map(t).join("");
2749
2749
  }
2750
2750
  var St = 1, Le = 1, Xr = 0, he = 0, se = 0, De = "";
@@ -2752,12 +2752,12 @@ function xt(e, t, r, i, a, s, d) {
2752
2752
  return { value: e, root: t, parent: r, type: i, props: a, children: s, line: St, column: Le, length: d, return: "" };
2753
2753
  }
2754
2754
  function Ue(e, t) {
2755
- return pi(xt("", null, null, "", null, null, 0), e, { length: -e.length }, t);
2755
+ return mi(xt("", null, null, "", null, null, 0), e, { length: -e.length }, t);
2756
2756
  }
2757
- function yi() {
2757
+ function bi() {
2758
2758
  return se;
2759
2759
  }
2760
- function bi() {
2760
+ function wi() {
2761
2761
  return se = he > 0 ? fe(De, --he) : 0, Le--, se === 10 && (Le = 1, St--), se;
2762
2762
  }
2763
2763
  function me() {
@@ -2819,12 +2819,12 @@ function Kr(e) {
2819
2819
  function st(e) {
2820
2820
  return Br(Je(he - 1, Nt(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
2821
2821
  }
2822
- function wi(e) {
2822
+ function Si(e) {
2823
2823
  for (; (se = be()) && se < 33; )
2824
2824
  me();
2825
2825
  return Be(e) > 2 || Be(se) > 3 ? "" : " ";
2826
2826
  }
2827
- function Si(e, t) {
2827
+ function xi(e, t) {
2828
2828
  for (; --t && me() && !(se < 48 || se > 102 || se > 57 && se < 65 || se > 70 && se < 97); )
2829
2829
  ;
2830
2830
  return Je(e, ot() + (t < 6 && be() == 32 && me() == 32));
@@ -2851,18 +2851,18 @@ function Nt(e) {
2851
2851
  }
2852
2852
  return he;
2853
2853
  }
2854
- function xi(e, t) {
2854
+ function Oi(e, t) {
2855
2855
  for (; me() && e + se !== 57; )
2856
2856
  if (e + se === 84 && be() === 47)
2857
2857
  break;
2858
2858
  return "/*" + Je(t, he - 1) + "*" + wt(e === 47 ? e : me());
2859
2859
  }
2860
- function Oi(e) {
2860
+ function ki(e) {
2861
2861
  for (; !Be(be()); )
2862
2862
  me();
2863
2863
  return Je(e, he);
2864
2864
  }
2865
- function ki(e) {
2865
+ function Ci(e) {
2866
2866
  return Kr(lt("", null, null, null, [""], e = Gr(e), 0, [0], e));
2867
2867
  }
2868
2868
  function lt(e, t, r, i, a, s, d, l, u) {
@@ -2885,18 +2885,18 @@ function lt(e, t, r, i, a, s, d, l, u) {
2885
2885
  case 10:
2886
2886
  case 13:
2887
2887
  case 32:
2888
- S += wi(k);
2888
+ S += Si(k);
2889
2889
  break;
2890
2890
  // \
2891
2891
  case 92:
2892
- S += Si(ot() - 1, 7);
2892
+ S += xi(ot() - 1, 7);
2893
2893
  continue;
2894
2894
  // /
2895
2895
  case 47:
2896
2896
  switch (be()) {
2897
2897
  case 42:
2898
2898
  case 47:
2899
- it(Ci(xi(me(), ot()), t, r), u);
2899
+ it(Pi(Oi(me(), ot()), t, r), u);
2900
2900
  break;
2901
2901
  default:
2902
2902
  S += "/";
@@ -2948,7 +2948,7 @@ function lt(e, t, r, i, a, s, d, l, u) {
2948
2948
  if (p < 1) {
2949
2949
  if (F == 123)
2950
2950
  --p;
2951
- else if (F == 125 && p++ == 0 && bi() == 125)
2951
+ else if (F == 125 && p++ == 0 && wi() == 125)
2952
2952
  continue;
2953
2953
  }
2954
2954
  switch (S += wt(F), F * p) {
@@ -2962,7 +2962,7 @@ function lt(e, t, r, i, a, s, d, l, u) {
2962
2962
  break;
2963
2963
  // @
2964
2964
  case 64:
2965
- be() === 45 && (S += st(me())), x = be(), v = w = ge(U = S += Oi(ot())), F++;
2965
+ be() === 45 && (S += st(me())), x = be(), v = w = ge(U = S += ki(ot())), F++;
2966
2966
  break;
2967
2967
  // -
2968
2968
  case 45:
@@ -2973,12 +2973,12 @@ function lt(e, t, r, i, a, s, d, l, u) {
2973
2973
  }
2974
2974
  function br(e, t, r, i, a, s, d, l, u, c, v) {
2975
2975
  for (var w = a - 1, x = a === 0 ? s : [""], L = Xt(x), k = 0, p = 0, I = 0; k < i; ++k)
2976
- for (var C = 0, F = qe(e, w + 1, w = hi(p = d[k])), U = e; C < L; ++C)
2976
+ for (var C = 0, F = qe(e, w + 1, w = pi(p = d[k])), U = e; C < L; ++C)
2977
2977
  (U = Br(p > 0 ? x[C] + " " + F : ne(F, /&\f/g, x[C]))) && (u[I++] = U);
2978
2978
  return xt(e, t, r, a === 0 ? qt : l, u, c, v);
2979
2979
  }
2980
- function Ci(e, t, r) {
2981
- return xt(e, t, r, Vr, wt(yi()), qe(e, 2, -2), 0);
2980
+ function Pi(e, t, r) {
2981
+ return xt(e, t, r, Vr, wt(bi()), qe(e, 2, -2), 0);
2982
2982
  }
2983
2983
  function wr(e, t, r, i) {
2984
2984
  return xt(e, t, r, Bt, qe(e, 0, i), qe(e, i + 1, -1), i);
@@ -2988,11 +2988,11 @@ function Te(e, t) {
2988
2988
  r += t(e[a], a, e, t) || "";
2989
2989
  return r;
2990
2990
  }
2991
- function Pi(e, t, r, i) {
2991
+ function Ei(e, t, r, i) {
2992
2992
  switch (e.type) {
2993
- case di:
2993
+ case hi:
2994
2994
  if (e.children.length) break;
2995
- case fi:
2995
+ case di:
2996
2996
  case Bt:
2997
2997
  return e.return = e.return || e.value;
2998
2998
  case Vr:
@@ -3004,7 +3004,7 @@ function Pi(e, t, r, i) {
3004
3004
  }
3005
3005
  return ge(r = Te(e.children, i)) ? e.return = e.value + "{" + r + "}" : "";
3006
3006
  }
3007
- function Ei(e) {
3007
+ function Ri(e) {
3008
3008
  var t = Xt(e);
3009
3009
  return function(r, i, a, s) {
3010
3010
  for (var d = "", l = 0; l < t; l++)
@@ -3012,7 +3012,7 @@ function Ei(e) {
3012
3012
  return d;
3013
3013
  };
3014
3014
  }
3015
- function Ri(e) {
3015
+ function _i(e) {
3016
3016
  return function(t) {
3017
3017
  t.root || (t = t.return) && e(t);
3018
3018
  };
@@ -3023,16 +3023,16 @@ function Jr(e) {
3023
3023
  return t[r] === void 0 && (t[r] = e(r)), t[r];
3024
3024
  };
3025
3025
  }
3026
- var _i = function(t, r, i) {
3026
+ var Ti = function(t, r, i) {
3027
3027
  for (var a = 0, s = 0; a = s, s = be(), a === 38 && s === 12 && (r[i] = 1), !Be(s); )
3028
3028
  me();
3029
3029
  return Je(t, he);
3030
- }, Ti = function(t, r) {
3030
+ }, ji = function(t, r) {
3031
3031
  var i = -1, a = 44;
3032
3032
  do
3033
3033
  switch (Be(a)) {
3034
3034
  case 0:
3035
- a === 38 && be() === 12 && (r[i] = 1), t[i] += _i(he - 1, r, i);
3035
+ a === 38 && be() === 12 && (r[i] = 1), t[i] += Ti(he - 1, r, i);
3036
3036
  break;
3037
3037
  case 2:
3038
3038
  t[i] += st(a);
@@ -3048,9 +3048,9 @@ var _i = function(t, r, i) {
3048
3048
  }
3049
3049
  while (a = me());
3050
3050
  return t;
3051
- }, ji = function(t, r) {
3052
- return Kr(Ti(Gr(t), r));
3053
- }, Sr = /* @__PURE__ */ new WeakMap(), Li = function(t) {
3051
+ }, Li = function(t, r) {
3052
+ return Kr(ji(Gr(t), r));
3053
+ }, Sr = /* @__PURE__ */ new WeakMap(), Di = function(t) {
3054
3054
  if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo
3055
3055
  // negative .length indicates that this rule has been already prefixed
3056
3056
  t.length < 1)) {
@@ -3058,12 +3058,12 @@ var _i = function(t, r, i) {
3058
3058
  if (i = i.parent, !i) return;
3059
3059
  if (!(t.props.length === 1 && r.charCodeAt(0) !== 58 && !Sr.get(i)) && !a) {
3060
3060
  Sr.set(t, !0);
3061
- for (var s = [], d = ji(r, s), l = i.props, u = 0, c = 0; u < d.length; u++)
3061
+ for (var s = [], d = Li(r, s), l = i.props, u = 0, c = 0; u < d.length; u++)
3062
3062
  for (var v = 0; v < l.length; v++, c++)
3063
3063
  t.props[c] = s[u] ? d[u].replace(/&\f/g, l[v]) : l[v] + " " + d[u];
3064
3064
  }
3065
3065
  }
3066
- }, Di = function(t) {
3066
+ }, Mi = function(t) {
3067
3067
  if (t.type === "decl") {
3068
3068
  var r = t.value;
3069
3069
  // charcode for l
@@ -3072,7 +3072,7 @@ var _i = function(t, r, i) {
3072
3072
  }
3073
3073
  };
3074
3074
  function Zr(e, t) {
3075
- switch (mi(e, t)) {
3075
+ switch (vi(e, t)) {
3076
3076
  // color-adjust
3077
3077
  case 5103:
3078
3078
  return re + "print-" + e + e;
@@ -3213,7 +3213,7 @@ function Zr(e, t) {
3213
3213
  }
3214
3214
  return e;
3215
3215
  }
3216
- var Mi = function(t, r, i, a) {
3216
+ var $i = function(t, r, i, a) {
3217
3217
  if (t.length > -1 && !t.return) switch (t.type) {
3218
3218
  case Bt:
3219
3219
  t.return = Zr(t.value, t.length);
@@ -3223,8 +3223,8 @@ var Mi = function(t, r, i, a) {
3223
3223
  value: ne(t.value, "@", "@" + re)
3224
3224
  })], a);
3225
3225
  case qt:
3226
- if (t.length) return gi(t.props, function(s) {
3227
- switch (vi(s, /(::plac\w+|:read-\w+)/)) {
3226
+ if (t.length) return yi(t.props, function(s) {
3227
+ switch (gi(s, /(::plac\w+|:read-\w+)/)) {
3228
3228
  // :read-(only|write)
3229
3229
  case ":read-only":
3230
3230
  case ":read-write":
@@ -3244,7 +3244,7 @@ var Mi = function(t, r, i, a) {
3244
3244
  return "";
3245
3245
  });
3246
3246
  }
3247
- }, $i = [Mi], Ii = function(t) {
3247
+ }, Ii = [$i], Ai = function(t) {
3248
3248
  var r = t.key;
3249
3249
  if (r === "css") {
3250
3250
  var i = document.querySelectorAll("style[data-emotion]:not([data-s])");
@@ -3253,7 +3253,7 @@ var Mi = function(t, r, i, a) {
3253
3253
  I.indexOf(" ") !== -1 && (document.head.appendChild(p), p.setAttribute("data-s", ""));
3254
3254
  });
3255
3255
  }
3256
- var a = t.stylisPlugins || $i, s = {}, d, l = [];
3256
+ var a = t.stylisPlugins || Ii, s = {}, d, l = [];
3257
3257
  d = t.container || document.head, Array.prototype.forEach.call(
3258
3258
  // this means we will ignore elements which don't have a space in them which
3259
3259
  // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
@@ -3264,12 +3264,12 @@ var Mi = function(t, r, i, a) {
3264
3264
  l.push(p);
3265
3265
  }
3266
3266
  );
3267
- var u, c = [Li, Di];
3267
+ var u, c = [Di, Mi];
3268
3268
  {
3269
- var v, w = [Pi, Ri(function(p) {
3269
+ var v, w = [Ei, _i(function(p) {
3270
3270
  v.insert(p);
3271
- })], x = Ei(c.concat(a, w)), L = function(I) {
3272
- return Te(ki(I), x);
3271
+ })], x = Ri(c.concat(a, w)), L = function(I) {
3272
+ return Te(Ci(I), x);
3273
3273
  };
3274
3274
  u = function(I, C, F, U) {
3275
3275
  v = F, L(I ? I + "{" + C.styles + "}" : C.styles), U && (k.inserted[C.name] = !0);
@@ -3277,7 +3277,7 @@ var Mi = function(t, r, i, a) {
3277
3277
  }
3278
3278
  var k = {
3279
3279
  key: r,
3280
- sheet: new ci({
3280
+ sheet: new fi({
3281
3281
  key: r,
3282
3282
  container: d,
3283
3283
  nonce: t.nonce,
@@ -3291,8 +3291,8 @@ var Mi = function(t, r, i, a) {
3291
3291
  insert: u
3292
3292
  };
3293
3293
  return k.sheet.hydrate(l), k;
3294
- }, Ai = !0;
3295
- function Hi(e, t, r) {
3294
+ }, Hi = !0;
3295
+ function zi(e, t, r) {
3296
3296
  var i = "";
3297
3297
  return r.split(" ").forEach(function(a) {
3298
3298
  e[a] !== void 0 ? t.push(e[a] + ";") : a && (i += a + " ");
@@ -3309,8 +3309,8 @@ var Qr = function(t, r, i) {
3309
3309
  // in node since emotion-server relies on whether a style is in
3310
3310
  // the registered cache to know whether a style is global or not
3311
3311
  // also, note that this check will be dead code eliminated in the browser
3312
- Ai === !1) && t.registered[a] === void 0 && (t.registered[a] = r.styles);
3313
- }, zi = function(t, r, i) {
3312
+ Hi === !1) && t.registered[a] === void 0 && (t.registered[a] = r.styles);
3313
+ }, Ni = function(t, r, i) {
3314
3314
  Qr(t, r, i);
3315
3315
  var a = t.key + "-" + r.name;
3316
3316
  if (t.inserted[r.name] === void 0) {
@@ -3320,7 +3320,7 @@ var Qr = function(t, r, i) {
3320
3320
  while (s !== void 0);
3321
3321
  }
3322
3322
  };
3323
- function Ni(e) {
3323
+ function Fi(e) {
3324
3324
  for (var t = 0, r, i = 0, a = e.length; a >= 4; ++i, a -= 4)
3325
3325
  r = e.charCodeAt(i) & 255 | (e.charCodeAt(++i) & 255) << 8 | (e.charCodeAt(++i) & 255) << 16 | (e.charCodeAt(++i) & 255) << 24, r = /* Math.imul(k, m): */
3326
3326
  (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), r ^= /* k >>> r: */
@@ -3339,7 +3339,7 @@ function Ni(e) {
3339
3339
  return t ^= t >>> 13, t = /* Math.imul(h, m): */
3340
3340
  (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
3341
3341
  }
3342
- var Fi = {
3342
+ var Wi = {
3343
3343
  animationIterationCount: 1,
3344
3344
  aspectRatio: 1,
3345
3345
  borderImageOutset: 1,
@@ -3388,18 +3388,18 @@ var Fi = {
3388
3388
  strokeMiterlimit: 1,
3389
3389
  strokeOpacity: 1,
3390
3390
  strokeWidth: 1
3391
- }, Wi = /[A-Z]|^ms/g, Ui = /_EMO_([^_]+?)_([^]*?)_EMO_/g, en = function(t) {
3391
+ }, Ui = /[A-Z]|^ms/g, Yi = /_EMO_([^_]+?)_([^]*?)_EMO_/g, en = function(t) {
3392
3392
  return t.charCodeAt(1) === 45;
3393
3393
  }, xr = function(t) {
3394
3394
  return t != null && typeof t != "boolean";
3395
3395
  }, Mt = /* @__PURE__ */ Jr(function(e) {
3396
- return en(e) ? e : e.replace(Wi, "-$&").toLowerCase();
3396
+ return en(e) ? e : e.replace(Ui, "-$&").toLowerCase();
3397
3397
  }), Or = function(t, r) {
3398
3398
  switch (t) {
3399
3399
  case "animation":
3400
3400
  case "animationName":
3401
3401
  if (typeof r == "string")
3402
- return r.replace(Ui, function(i, a, s) {
3402
+ return r.replace(Yi, function(i, a, s) {
3403
3403
  return ye = {
3404
3404
  name: a,
3405
3405
  styles: s,
@@ -3407,7 +3407,7 @@ var Fi = {
3407
3407
  }, a;
3408
3408
  });
3409
3409
  }
3410
- return Fi[t] !== 1 && !en(t) && typeof r == "number" && r !== 0 ? r + "px" : r;
3410
+ return Wi[t] !== 1 && !en(t) && typeof r == "number" && r !== 0 ? r + "px" : r;
3411
3411
  };
3412
3412
  function Xe(e, t, r) {
3413
3413
  if (r == null)
@@ -3439,7 +3439,7 @@ function Xe(e, t, r) {
3439
3439
  var l = s.styles + ";";
3440
3440
  return l;
3441
3441
  }
3442
- return Yi(e, t, r);
3442
+ return Vi(e, t, r);
3443
3443
  }
3444
3444
  case "function": {
3445
3445
  if (e !== void 0) {
@@ -3455,7 +3455,7 @@ function Xe(e, t, r) {
3455
3455
  var w = t[v];
3456
3456
  return w !== void 0 ? w : v;
3457
3457
  }
3458
- function Yi(e, t, r) {
3458
+ function Vi(e, t, r) {
3459
3459
  var i = "";
3460
3460
  if (Array.isArray(r))
3461
3461
  for (var a = 0; a < r.length; a++)
@@ -3485,7 +3485,7 @@ function Yi(e, t, r) {
3485
3485
  return i;
3486
3486
  }
3487
3487
  var kr = /label:\s*([^\s;{]+)\s*(;|$)/g, ye;
3488
- function Vi(e, t, r) {
3488
+ function qi(e, t, r) {
3489
3489
  if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
3490
3490
  return e[0];
3491
3491
  var i = !0, a = "";
@@ -3505,44 +3505,44 @@ function Vi(e, t, r) {
3505
3505
  kr.lastIndex = 0;
3506
3506
  for (var c = "", v; (v = kr.exec(a)) !== null; )
3507
3507
  c += "-" + v[1];
3508
- var w = Ni(a) + c;
3508
+ var w = Fi(a) + c;
3509
3509
  return {
3510
3510
  name: w,
3511
3511
  styles: a,
3512
3512
  next: ye
3513
3513
  };
3514
3514
  }
3515
- var qi = function(t) {
3515
+ var Bi = function(t) {
3516
3516
  return t();
3517
- }, Bi = M.useInsertionEffect ? M.useInsertionEffect : !1, Xi = Bi || qi, tn = /* @__PURE__ */ M.createContext(
3517
+ }, Xi = M.useInsertionEffect ? M.useInsertionEffect : !1, Gi = Xi || Bi, tn = /* @__PURE__ */ M.createContext(
3518
3518
  // we're doing this to avoid preconstruct's dead code elimination in this one case
3519
3519
  // because this module is primarily intended for the browser and node
3520
3520
  // but it's also required in react native and similar environments sometimes
3521
3521
  // and we could have a special build just for that
3522
3522
  // but this is much easier and the native packages
3523
3523
  // might use a different theme context in the future anyway
3524
- typeof HTMLElement < "u" ? /* @__PURE__ */ Ii({
3524
+ typeof HTMLElement < "u" ? /* @__PURE__ */ Ai({
3525
3525
  key: "css"
3526
3526
  }) : null
3527
3527
  );
3528
3528
  tn.Provider;
3529
- var Gi = function(t) {
3530
- return /* @__PURE__ */ kn(function(r, i) {
3529
+ var Ki = function(t) {
3530
+ return /* @__PURE__ */ Cn(function(r, i) {
3531
3531
  var a = Yt(tn);
3532
3532
  return t(r, a, i);
3533
3533
  });
3534
- }, Ki = /* @__PURE__ */ M.createContext({}), Ji = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, Zi = /* @__PURE__ */ Jr(
3534
+ }, Ji = /* @__PURE__ */ M.createContext({}), Zi = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, Qi = /* @__PURE__ */ Jr(
3535
3535
  function(e) {
3536
- return Ji.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
3536
+ return Zi.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
3537
3537
  }
3538
3538
  /* Z+1 */
3539
- ), Qi = Zi, ea = function(t) {
3539
+ ), ea = Qi, ta = function(t) {
3540
3540
  return t !== "theme";
3541
3541
  }, Cr = function(t) {
3542
3542
  return typeof t == "string" && // 96 is one less than the char code
3543
3543
  // for "a" so this is checking that
3544
3544
  // it's a lowercase character
3545
- t.charCodeAt(0) > 96 ? Qi : ea;
3545
+ t.charCodeAt(0) > 96 ? ea : ta;
3546
3546
  }, Pr = function(t, r, i) {
3547
3547
  var a;
3548
3548
  if (r) {
@@ -3552,12 +3552,12 @@ var Gi = function(t) {
3552
3552
  } : s;
3553
3553
  }
3554
3554
  return typeof a != "function" && i && (a = t.__emotion_forwardProp), a;
3555
- }, ta = function(t) {
3555
+ }, ra = function(t) {
3556
3556
  var r = t.cache, i = t.serialized, a = t.isStringTag;
3557
- return Qr(r, i, a), Xi(function() {
3558
- return zi(r, i, a);
3557
+ return Qr(r, i, a), Gi(function() {
3558
+ return Ni(r, i, a);
3559
3559
  }), null;
3560
- }, ra = function e(t, r) {
3560
+ }, na = function e(t, r) {
3561
3561
  var i = t.__emotion_real === t, a = i && t.__emotion_base || t, s, d;
3562
3562
  r !== void 0 && (s = r.label, d = r.target);
3563
3563
  var l = Pr(t, r, i), u = l || Cr(a), c = !u("as");
@@ -3571,21 +3571,21 @@ var Gi = function(t) {
3571
3571
  for (var L = v.length, k = 1; k < L; k++)
3572
3572
  w.push(v[k], x[k]);
3573
3573
  }
3574
- var p = Gi(function(I, C, F) {
3574
+ var p = Ki(function(I, C, F) {
3575
3575
  var U = c && I.as || a, q = "", g = [], b = I;
3576
3576
  if (I.theme == null) {
3577
3577
  b = {};
3578
3578
  for (var S in I)
3579
3579
  b[S] = I[S];
3580
- b.theme = M.useContext(Ki);
3580
+ b.theme = M.useContext(Ji);
3581
3581
  }
3582
- typeof I.className == "string" ? q = Hi(C.registered, g, I.className) : I.className != null && (q = I.className + " ");
3583
- var R = Vi(w.concat(g), C.registered, b);
3582
+ typeof I.className == "string" ? q = zi(C.registered, g, I.className) : I.className != null && (q = I.className + " ");
3583
+ var R = qi(w.concat(g), C.registered, b);
3584
3584
  q += C.key + "-" + R.name, d !== void 0 && (q += " " + d);
3585
3585
  var y = c && l === void 0 ? Cr(U) : u, h = {};
3586
3586
  for (var P in I)
3587
3587
  c && P === "as" || y(P) && (h[P] = I[P]);
3588
- return h.className = q, F && (h.ref = F), /* @__PURE__ */ M.createElement(M.Fragment, null, /* @__PURE__ */ M.createElement(ta, {
3588
+ return h.className = q, F && (h.ref = F), /* @__PURE__ */ M.createElement(M.Fragment, null, /* @__PURE__ */ M.createElement(ra, {
3589
3589
  cache: C,
3590
3590
  serialized: R,
3591
3591
  isStringTag: typeof U == "string"
@@ -3602,7 +3602,7 @@ var Gi = function(t) {
3602
3602
  return F.apply(void 0, w);
3603
3603
  }, p;
3604
3604
  };
3605
- }, na = [
3605
+ }, ia = [
3606
3606
  "a",
3607
3607
  "abbr",
3608
3608
  "address",
@@ -3738,11 +3738,11 @@ var Gi = function(t) {
3738
3738
  "svg",
3739
3739
  "text",
3740
3740
  "tspan"
3741
- ], Pe = ra.bind(null);
3742
- na.forEach(function(e) {
3741
+ ], Pe = na.bind(null);
3742
+ ia.forEach(function(e) {
3743
3743
  Pe[e] = Pe(e);
3744
3744
  });
3745
- const ia = Pe.div`
3745
+ const aa = Pe.div`
3746
3746
  width: 100%;
3747
3747
  height: fit-content;
3748
3748
 
@@ -3818,7 +3818,7 @@ const ia = Pe.div`
3818
3818
  opacity: 0.75;
3819
3819
  color: black;
3820
3820
  }
3821
- `, aa = Pe.div`
3821
+ `, oa = Pe.div`
3822
3822
  box-sizing: border-box;
3823
3823
  display: flex;
3824
3824
  flex-direction: column;
@@ -3831,7 +3831,7 @@ const ia = Pe.div`
3831
3831
  box-sizing: border-box;
3832
3832
  display: flex;
3833
3833
  }
3834
- `, as = ({
3834
+ `, os = ({
3835
3835
  styles: e,
3836
3836
  content: t,
3837
3837
  settings: r,
@@ -3849,7 +3849,7 @@ const ia = Pe.div`
3849
3849
  ...r
3850
3850
  };
3851
3851
  const c = t.map((w, x) => /* @__PURE__ */ X.jsx(
3852
- aa,
3852
+ oa,
3853
3853
  {
3854
3854
  ref: x === 0 ? l : void 0,
3855
3855
  styles: {
@@ -3876,8 +3876,8 @@ const ia = Pe.div`
3876
3876
  };
3877
3877
  return V.useEffect(() => {
3878
3878
  v();
3879
- }, [d, l]), /* @__PURE__ */ X.jsx(ia, { ref: d, styles: { ...e }, children: c.length > 0 && /* @__PURE__ */ X.jsx(si, { ...u, slidesToShow: a, children: c }) });
3880
- }, os = ({
3879
+ }, [d, l]), /* @__PURE__ */ X.jsx(aa, { ref: d, styles: { ...e }, children: c.length > 0 && /* @__PURE__ */ X.jsx(li, { ...u, slidesToShow: a, children: c }) });
3880
+ }, ss = ({
3881
3881
  name: e,
3882
3882
  checked: t,
3883
3883
  onToggle: r,
@@ -3957,7 +3957,7 @@ const ia = Pe.div`
3957
3957
  a
3958
3958
  ]
3959
3959
  }
3960
- ), ss = (e) => Ir(e, []), oa = () => {
3960
+ ), ls = (e) => Ir(e, []), sa = () => {
3961
3961
  const [e, t] = V.useState(
3962
3962
  {}
3963
3963
  ), [r, i] = V.useState(!1);
@@ -3976,13 +3976,13 @@ const ia = Pe.div`
3976
3976
  pointerPosition: e,
3977
3977
  isPointerDown: r
3978
3978
  };
3979
- }, sa = ({
3979
+ }, la = ({
3980
3980
  ref: e,
3981
3981
  onDrag: t,
3982
3982
  onDragStart: r,
3983
3983
  onDragEnd: i
3984
3984
  }) => {
3985
- const a = V.useRef(!1), s = V.useRef(!1), { pointerPosition: d, isPointerDown: l } = oa(), u = V.useRef({
3985
+ const a = V.useRef(!1), s = V.useRef(!1), { pointerPosition: d, isPointerDown: l } = sa(), u = V.useRef({
3986
3986
  isDragging: !1
3987
3987
  }), c = V.useCallback(
3988
3988
  (k) => {
@@ -4031,7 +4031,7 @@ const ia = Pe.div`
4031
4031
  }, [d]), V.useEffect(() => {
4032
4032
  l !== s.current && (s.current = l, l || w());
4033
4033
  }, [l, s.current]);
4034
- }, ls = () => {
4034
+ }, us = () => {
4035
4035
  const e = (l, u) => {
4036
4036
  if (!u) return l;
4037
4037
  const c = new URLSearchParams();
@@ -4075,7 +4075,7 @@ const ia = Pe.div`
4075
4075
  }
4076
4076
  };
4077
4077
  };
4078
- function us(e) {
4078
+ function cs(e) {
4079
4079
  const [t, r] = Ar(!1), i = V.useMemo(
4080
4080
  () => new IntersectionObserver(
4081
4081
  ([a]) => r(a.isIntersecting)
@@ -4084,16 +4084,16 @@ function us(e) {
4084
4084
  );
4085
4085
  return V.useEffect(() => (e?.current && i.observe(e?.current), () => i.disconnect()), [e, i.disconnect, i.observe]), t;
4086
4086
  }
4087
- const la = {
4087
+ const ua = {
4088
4088
  xs: 0,
4089
4089
  sm: 420,
4090
4090
  md: 768,
4091
4091
  lg: 991,
4092
4092
  xl: 1200,
4093
4093
  xxl: 1440
4094
- }, cs = (e) => {
4094
+ }, fs = (e) => {
4095
4095
  const t = {
4096
- ...la,
4096
+ ...ua,
4097
4097
  ...e?.breakpointConfiguration
4098
4098
  }, [r, i] = Ar(
4099
4099
  Er(t)
@@ -4103,10 +4103,10 @@ const la = {
4103
4103
  return Ir(() => (window.addEventListener("resize", a), () => {
4104
4104
  window.removeEventListener("resize", a);
4105
4105
  }), []), Hr(() => r, [r]);
4106
- }, ua = (e, t) => e < t.sm ? "xs" : e < t.md ? "sm" : e < t.lg ? "md" : e < t.xl ? "lg" : e < t.xxl ? "xl" : "xxl", ca = (e, t) => e <= t.sm ? "mobile" : e <= t.md ? "tablet" : "desktop", Er = (e) => {
4107
- const t = window.innerWidth, r = window.innerHeight, i = ua(t, e), a = ca(t, e);
4106
+ }, ca = (e, t) => e < t.sm ? "xs" : e < t.md ? "sm" : e < t.lg ? "md" : e < t.xl ? "lg" : e < t.xxl ? "xl" : "xxl", fa = (e, t) => e <= t.sm ? "mobile" : e <= t.md ? "tablet" : "desktop", Er = (e) => {
4107
+ const t = window.innerWidth, r = window.innerHeight, i = ca(t, e), a = fa(t, e);
4108
4108
  return { currentWidth: t, currentHeight: r, currentBreakpoint: i, currentSize: a };
4109
- }, fs = (e) => {
4109
+ }, ds = (e) => {
4110
4110
  const t = e.translations, r = e.language, i = (s, d) => {
4111
4111
  if (!s)
4112
4112
  return;
@@ -4129,7 +4129,7 @@ const la = {
4129
4129
  };
4130
4130
  };
4131
4131
  var Ye = {}, Rr;
4132
- function fa() {
4132
+ function da() {
4133
4133
  if (Rr) return Ye;
4134
4134
  Rr = 1, Object.defineProperty(Ye, "__esModule", { value: !0 }), Ye.parse = d, Ye.serialize = c;
4135
4135
  const e = /^[\u0021-\u003A\u003C\u003E-\u007E]+$/, t = /^[\u0021-\u003A\u003C-\u007E]*$/, r = /^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i, i = /^[\u0020-\u003A\u003D-\u007E]*$/, a = Object.prototype.toString, s = /* @__PURE__ */ (() => {
@@ -4253,7 +4253,7 @@ function fa() {
4253
4253
  }
4254
4254
  return Ye;
4255
4255
  }
4256
- fa();
4256
+ da();
4257
4257
  /**
4258
4258
  * react-router v7.6.3
4259
4259
  *
@@ -4265,7 +4265,7 @@ fa();
4265
4265
  * @license MIT
4266
4266
  */
4267
4267
  var _r = "popstate";
4268
- function da(e = {}) {
4268
+ function ha(e = {}) {
4269
4269
  function t(i, a) {
4270
4270
  let { pathname: s, search: d, hash: l } = i.location;
4271
4271
  return Ft(
@@ -4279,7 +4279,7 @@ function da(e = {}) {
4279
4279
  function r(i, a) {
4280
4280
  return typeof a == "string" ? a : Ge(a);
4281
4281
  }
4282
- return pa(
4282
+ return ma(
4283
4283
  t,
4284
4284
  r,
4285
4285
  null,
@@ -4299,7 +4299,7 @@ function ve(e, t) {
4299
4299
  }
4300
4300
  }
4301
4301
  }
4302
- function ha() {
4302
+ function pa() {
4303
4303
  return Math.random().toString(36).substring(2, 10);
4304
4304
  }
4305
4305
  function Tr(e, t) {
@@ -4320,7 +4320,7 @@ function Ft(e, t, r = null, i) {
4320
4320
  // full Locations now and avoid the need to run through this flow at all
4321
4321
  // But that's a pretty big refactor to the current test suite so going to
4322
4322
  // keep as is for the time being and just let any incoming keys take precedence
4323
- key: t && t.key || i || ha()
4323
+ key: t && t.key || i || pa()
4324
4324
  };
4325
4325
  }
4326
4326
  function Ge({
@@ -4340,7 +4340,7 @@ function Me(e) {
4340
4340
  }
4341
4341
  return t;
4342
4342
  }
4343
- function pa(e, t, r, i = {}) {
4343
+ function ma(e, t, r, i = {}) {
4344
4344
  let { window: a = document.defaultView, v5Compat: s = !1 } = i, d = a.history, l = "POP", u = null, c = v();
4345
4345
  c == null && (c = 0, d.replaceState({ ...d.state, idx: c }, ""));
4346
4346
  function v() {
@@ -4373,7 +4373,7 @@ function pa(e, t, r, i = {}) {
4373
4373
  d.replaceState(U, "", q), s && u && u({ action: l, location: p.location, delta: 0 });
4374
4374
  }
4375
4375
  function k(I) {
4376
- return ma(I);
4376
+ return va(I);
4377
4377
  }
4378
4378
  let p = {
4379
4379
  get action() {
@@ -4409,25 +4409,25 @@ function pa(e, t, r, i = {}) {
4409
4409
  };
4410
4410
  return p;
4411
4411
  }
4412
- function ma(e, t = !1) {
4412
+ function va(e, t = !1) {
4413
4413
  let r = "http://localhost";
4414
4414
  typeof window < "u" && (r = window.location.origin !== "null" ? window.location.origin : window.location.href), ae(r, "No window.location.(origin|href) available to create URL");
4415
4415
  let i = typeof e == "string" ? e : Ge(e);
4416
4416
  return i = i.replace(/ $/, "%20"), !t && i.startsWith("//") && (i = r + i), new URL(i, r);
4417
4417
  }
4418
4418
  function rn(e, t, r = "/") {
4419
- return va(e, t, r, !1);
4419
+ return ga(e, t, r, !1);
4420
4420
  }
4421
- function va(e, t, r, i) {
4421
+ function ga(e, t, r, i) {
4422
4422
  let a = typeof t == "string" ? Me(t) : t, s = xe(a.pathname || "/", r);
4423
4423
  if (s == null)
4424
4424
  return null;
4425
4425
  let d = nn(e);
4426
- ga(d);
4426
+ ya(d);
4427
4427
  let l = null;
4428
4428
  for (let u = 0; l == null && u < d.length; ++u) {
4429
- let c = Ra(s);
4430
- l = Pa(
4429
+ let c = _a(s);
4430
+ l = Ea(
4431
4431
  d[u],
4432
4432
  c,
4433
4433
  i
@@ -4455,7 +4455,7 @@ function nn(e, t = [], r = [], i = "") {
4455
4455
  `Index routes must not have child routes. Please remove all child routes from route path "${c}".`
4456
4456
  ), nn(s.children, t, v, c)), !(s.path == null && !s.index) && t.push({
4457
4457
  path: c,
4458
- score: ka(c, s.index),
4458
+ score: Ca(c, s.index),
4459
4459
  routesMeta: v
4460
4460
  });
4461
4461
  };
@@ -4482,23 +4482,23 @@ function an(e) {
4482
4482
  (u) => e.startsWith("/") && u === "" ? "/" : u
4483
4483
  );
4484
4484
  }
4485
- function ga(e) {
4485
+ function ya(e) {
4486
4486
  e.sort(
4487
- (t, r) => t.score !== r.score ? r.score - t.score : Ca(
4487
+ (t, r) => t.score !== r.score ? r.score - t.score : Pa(
4488
4488
  t.routesMeta.map((i) => i.childrenIndex),
4489
4489
  r.routesMeta.map((i) => i.childrenIndex)
4490
4490
  )
4491
4491
  );
4492
4492
  }
4493
- var ya = /^:[\w-]+$/, ba = 3, wa = 2, Sa = 1, xa = 10, Oa = -2, jr = (e) => e === "*";
4494
- function ka(e, t) {
4493
+ var ba = /^:[\w-]+$/, wa = 3, Sa = 2, xa = 1, Oa = 10, ka = -2, jr = (e) => e === "*";
4494
+ function Ca(e, t) {
4495
4495
  let r = e.split("/"), i = r.length;
4496
- return r.some(jr) && (i += Oa), t && (i += wa), r.filter((a) => !jr(a)).reduce(
4497
- (a, s) => a + (ya.test(s) ? ba : s === "" ? Sa : xa),
4496
+ return r.some(jr) && (i += ka), t && (i += Sa), r.filter((a) => !jr(a)).reduce(
4497
+ (a, s) => a + (ba.test(s) ? wa : s === "" ? xa : Oa),
4498
4498
  i
4499
4499
  );
4500
4500
  }
4501
- function Ca(e, t) {
4501
+ function Pa(e, t) {
4502
4502
  return e.length === t.length && e.slice(0, -1).every((i, a) => i === t[a]) ? (
4503
4503
  // If two routes are siblings, we should try to match the earlier sibling
4504
4504
  // first. This allows people to have fine-grained control over the matching
@@ -4511,7 +4511,7 @@ function Ca(e, t) {
4511
4511
  0
4512
4512
  );
4513
4513
  }
4514
- function Pa(e, t, r = !1) {
4514
+ function Ea(e, t, r = !1) {
4515
4515
  let { routesMeta: i } = e, a = {}, s = "/", d = [];
4516
4516
  for (let l = 0; l < i.length; ++l) {
4517
4517
  let u = i[l], c = l === i.length - 1, v = s === "/" ? t : t.slice(s.length) || "/", w = gt(
@@ -4531,7 +4531,7 @@ function Pa(e, t, r = !1) {
4531
4531
  // TODO: Can this as be avoided?
4532
4532
  params: a,
4533
4533
  pathname: Se([s, w.pathname]),
4534
- pathnameBase: La(
4534
+ pathnameBase: Da(
4535
4535
  Se([s, w.pathnameBase])
4536
4536
  ),
4537
4537
  route: x
@@ -4541,7 +4541,7 @@ function Pa(e, t, r = !1) {
4541
4541
  }
4542
4542
  function gt(e, t) {
4543
4543
  typeof e == "string" && (e = { path: e, caseSensitive: !1, end: !0 });
4544
- let [r, i] = Ea(
4544
+ let [r, i] = Ra(
4545
4545
  e.path,
4546
4546
  e.caseSensitive,
4547
4547
  e.end
@@ -4565,7 +4565,7 @@ function gt(e, t) {
4565
4565
  pattern: e
4566
4566
  };
4567
4567
  }
4568
- function Ea(e, t = !1, r = !0) {
4568
+ function Ra(e, t = !1, r = !0) {
4569
4569
  ve(
4570
4570
  e === "*" || !e.endsWith("*") || e.endsWith("/*"),
4571
4571
  `Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`
@@ -4576,7 +4576,7 @@ function Ea(e, t = !1, r = !0) {
4576
4576
  );
4577
4577
  return e.endsWith("*") ? (i.push({ paramName: "*" }), a += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : r ? a += "\\/*$" : e !== "" && e !== "/" && (a += "(?:(?=\\/|$))"), [new RegExp(a, t ? void 0 : "i"), i];
4578
4578
  }
4579
- function Ra(e) {
4579
+ function _a(e) {
4580
4580
  try {
4581
4581
  return e.split("/").map((t) => decodeURIComponent(t).replace(/\//g, "%2F")).join("/");
4582
4582
  } catch (t) {
@@ -4593,19 +4593,19 @@ function xe(e, t) {
4593
4593
  let r = t.endsWith("/") ? t.length - 1 : t.length, i = e.charAt(r);
4594
4594
  return i && i !== "/" ? null : e.slice(r) || "/";
4595
4595
  }
4596
- function _a(e, t = "/") {
4596
+ function Ta(e, t = "/") {
4597
4597
  let {
4598
4598
  pathname: r,
4599
4599
  search: i = "",
4600
4600
  hash: a = ""
4601
4601
  } = typeof e == "string" ? Me(e) : e;
4602
4602
  return {
4603
- pathname: r ? r.startsWith("/") ? r : Ta(r, t) : t,
4604
- search: Da(i),
4605
- hash: Ma(a)
4603
+ pathname: r ? r.startsWith("/") ? r : ja(r, t) : t,
4604
+ search: Ma(i),
4605
+ hash: $a(a)
4606
4606
  };
4607
4607
  }
4608
- function Ta(e, t) {
4608
+ function ja(e, t) {
4609
4609
  let r = t.replace(/\/+$/, "").split("/");
4610
4610
  return e.split("/").forEach((a) => {
4611
4611
  a === ".." ? r.length > 1 && r.pop() : a !== "." && r.push(a);
@@ -4616,13 +4616,13 @@ function $t(e, t, r, i) {
4616
4616
  i
4617
4617
  )}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`;
4618
4618
  }
4619
- function ja(e) {
4619
+ function La(e) {
4620
4620
  return e.filter(
4621
4621
  (t, r) => r === 0 || t.route.path && t.route.path.length > 0
4622
4622
  );
4623
4623
  }
4624
4624
  function on(e) {
4625
- let t = ja(e);
4625
+ let t = La(e);
4626
4626
  return t.map(
4627
4627
  (r, i) => i === t.length - 1 ? r.pathname : r.pathnameBase
4628
4628
  );
@@ -4652,11 +4652,11 @@ function sn(e, t, r, i = !1) {
4652
4652
  }
4653
4653
  l = w >= 0 ? t[w] : "/";
4654
4654
  }
4655
- let u = _a(a, l), c = d && d !== "/" && d.endsWith("/"), v = (s || d === ".") && r.endsWith("/");
4655
+ let u = Ta(a, l), c = d && d !== "/" && d.endsWith("/"), v = (s || d === ".") && r.endsWith("/");
4656
4656
  return !u.pathname.endsWith("/") && (c || v) && (u.pathname += "/"), u;
4657
4657
  }
4658
- var Se = (e) => e.join("/").replace(/\/\/+/g, "/"), La = (e) => e.replace(/\/+$/, "").replace(/^\/*/, "/"), Da = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Ma = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e;
4659
- function $a(e) {
4658
+ var Se = (e) => e.join("/").replace(/\/\/+/g, "/"), Da = (e) => e.replace(/\/+$/, "").replace(/^\/*/, "/"), Ma = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, $a = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e;
4659
+ function Ia(e) {
4660
4660
  return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;
4661
4661
  }
4662
4662
  var ln = [
@@ -4668,11 +4668,11 @@ var ln = [
4668
4668
  new Set(
4669
4669
  ln
4670
4670
  );
4671
- var Ia = [
4671
+ var Aa = [
4672
4672
  "GET",
4673
4673
  ...ln
4674
4674
  ];
4675
- new Set(Ia);
4675
+ new Set(Aa);
4676
4676
  var $e = M.createContext(null);
4677
4677
  $e.displayName = "DataRouter";
4678
4678
  var Ot = M.createContext(null);
@@ -4681,12 +4681,12 @@ var un = M.createContext({
4681
4681
  isTransitioning: !1
4682
4682
  });
4683
4683
  un.displayName = "ViewTransition";
4684
- var Aa = M.createContext(
4684
+ var Ha = M.createContext(
4685
4685
  /* @__PURE__ */ new Map()
4686
4686
  );
4687
- Aa.displayName = "Fetchers";
4688
- var Ha = M.createContext(null);
4689
- Ha.displayName = "Await";
4687
+ Ha.displayName = "Fetchers";
4688
+ var za = M.createContext(null);
4689
+ za.displayName = "Await";
4690
4690
  var we = M.createContext(
4691
4691
  null
4692
4692
  );
@@ -4703,7 +4703,7 @@ var Oe = M.createContext({
4703
4703
  Oe.displayName = "Route";
4704
4704
  var Gt = M.createContext(null);
4705
4705
  Gt.displayName = "RouteError";
4706
- function za(e, { relative: t } = {}) {
4706
+ function Na(e, { relative: t } = {}) {
4707
4707
  ae(
4708
4708
  Qe(),
4709
4709
  // TODO: This error is probably because they somehow have 2 versions of the
@@ -4730,9 +4730,9 @@ function fn(e) {
4730
4730
  }
4731
4731
  function Kt() {
4732
4732
  let { isDataRoute: e } = M.useContext(Oe);
4733
- return e ? Za() : Na();
4733
+ return e ? Qa() : Fa();
4734
4734
  }
4735
- function Na() {
4735
+ function Fa() {
4736
4736
  ae(
4737
4737
  Qe(),
4738
4738
  // TODO: This error is probably because they somehow have 2 versions of the
@@ -4783,7 +4783,7 @@ function et(e, { relative: t } = {}) {
4783
4783
  [e, a, i, t]
4784
4784
  );
4785
4785
  }
4786
- function Fa(e, t) {
4786
+ function Wa(e, t) {
4787
4787
  return dn(e, t);
4788
4788
  }
4789
4789
  function dn(e, t, r, i) {
@@ -4826,7 +4826,7 @@ Please change the parent <Route path="${C}"> to <Route path="${C === "/" ? "*" :
4826
4826
  p == null || p[p.length - 1].route.element !== void 0 || p[p.length - 1].route.Component !== void 0 || p[p.length - 1].route.lazy !== void 0,
4827
4827
  `Matched leaf route at location "${x.pathname}${x.search}${x.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`
4828
4828
  );
4829
- let I = qa(
4829
+ let I = Ba(
4830
4830
  p && p.map(
4831
4831
  (C) => Object.assign({}, C, {
4832
4832
  params: Object.assign({}, l, C.params),
@@ -4865,14 +4865,14 @@ Please change the parent <Route path="${C}"> to <Route path="${C === "/" ? "*" :
4865
4865
  I
4866
4866
  ) : I;
4867
4867
  }
4868
- function Wa() {
4869
- let e = Ja(), t = $a(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), r = e instanceof Error ? e.stack : null, i = "rgba(200,200,200, 0.5)", a = { padding: "0.5rem", backgroundColor: i }, s = { padding: "2px 4px", backgroundColor: i }, d = null;
4868
+ function Ua() {
4869
+ let e = Za(), t = Ia(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), r = e instanceof Error ? e.stack : null, i = "rgba(200,200,200, 0.5)", a = { padding: "0.5rem", backgroundColor: i }, s = { padding: "2px 4px", backgroundColor: i }, d = null;
4870
4870
  return console.error(
4871
4871
  "Error handled by React Router default ErrorBoundary:",
4872
4872
  e
4873
4873
  ), d = /* @__PURE__ */ M.createElement(M.Fragment, null, /* @__PURE__ */ M.createElement("p", null, "💿 Hey developer 👋"), /* @__PURE__ */ M.createElement("p", null, "You can provide a way better UX than this when your app throws errors by providing your own ", /* @__PURE__ */ M.createElement("code", { style: s }, "ErrorBoundary"), " or", " ", /* @__PURE__ */ M.createElement("code", { style: s }, "errorElement"), " prop on your route.")), /* @__PURE__ */ M.createElement(M.Fragment, null, /* @__PURE__ */ M.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ M.createElement("h3", { style: { fontStyle: "italic" } }, t), r ? /* @__PURE__ */ M.createElement("pre", { style: a }, r) : null, d);
4874
4874
  }
4875
- var Ua = /* @__PURE__ */ M.createElement(Wa, null), Ya = class extends M.Component {
4875
+ var Ya = /* @__PURE__ */ M.createElement(Ua, null), Va = class extends M.Component {
4876
4876
  constructor(e) {
4877
4877
  super(e), this.state = {
4878
4878
  location: e.location,
@@ -4911,11 +4911,11 @@ var Ua = /* @__PURE__ */ M.createElement(Wa, null), Ya = class extends M.Compone
4911
4911
  )) : this.props.children;
4912
4912
  }
4913
4913
  };
4914
- function Va({ routeContext: e, match: t, children: r }) {
4914
+ function qa({ routeContext: e, match: t, children: r }) {
4915
4915
  let i = M.useContext($e);
4916
4916
  return i && i.static && i.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (i.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ M.createElement(Oe.Provider, { value: e }, r);
4917
4917
  }
4918
- function qa(e, t = [], r = null, i = null) {
4918
+ function Ba(e, t = [], r = null, i = null) {
4919
4919
  if (e == null) {
4920
4920
  if (!r)
4921
4921
  return null;
@@ -4955,7 +4955,7 @@ function qa(e, t = [], r = null, i = null) {
4955
4955
  }
4956
4956
  return a.reduceRight((u, c, v) => {
4957
4957
  let w, x = !1, L = null, k = null;
4958
- r && (w = s && c.route.id ? s[c.route.id] : void 0, L = c.route.errorElement || Ua, d && (l < 0 && v === 0 ? (hn(
4958
+ r && (w = s && c.route.id ? s[c.route.id] : void 0, L = c.route.errorElement || Ya, d && (l < 0 && v === 0 ? (hn(
4959
4959
  "route-fallback",
4960
4960
  !1,
4961
4961
  "No `HydrateFallback` element provided to render during initial hydration"
@@ -4963,7 +4963,7 @@ function qa(e, t = [], r = null, i = null) {
4963
4963
  let p = t.concat(a.slice(0, v + 1)), I = () => {
4964
4964
  let C;
4965
4965
  return w ? C = L : x ? C = k : c.route.Component ? C = /* @__PURE__ */ M.createElement(c.route.Component, null) : c.route.element ? C = c.route.element : C = u, /* @__PURE__ */ M.createElement(
4966
- Va,
4966
+ qa,
4967
4967
  {
4968
4968
  match: c,
4969
4969
  routeContext: {
@@ -4976,7 +4976,7 @@ function qa(e, t = [], r = null, i = null) {
4976
4976
  );
4977
4977
  };
4978
4978
  return r && (c.route.ErrorBoundary || c.route.errorElement || v === 0) ? /* @__PURE__ */ M.createElement(
4979
- Ya,
4979
+ Va,
4980
4980
  {
4981
4981
  location: r.location,
4982
4982
  revalidation: r.revalidation,
@@ -4991,33 +4991,33 @@ function qa(e, t = [], r = null, i = null) {
4991
4991
  function Jt(e) {
4992
4992
  return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
4993
4993
  }
4994
- function Ba(e) {
4994
+ function Xa(e) {
4995
4995
  let t = M.useContext($e);
4996
4996
  return ae(t, Jt(e)), t;
4997
4997
  }
4998
- function Xa(e) {
4998
+ function Ga(e) {
4999
4999
  let t = M.useContext(Ot);
5000
5000
  return ae(t, Jt(e)), t;
5001
5001
  }
5002
- function Ga(e) {
5002
+ function Ka(e) {
5003
5003
  let t = M.useContext(Oe);
5004
5004
  return ae(t, Jt(e)), t;
5005
5005
  }
5006
5006
  function Zt(e) {
5007
- let t = Ga(e), r = t.matches[t.matches.length - 1];
5007
+ let t = Ka(e), r = t.matches[t.matches.length - 1];
5008
5008
  return ae(
5009
5009
  r.route.id,
5010
5010
  `${e} can only be used on routes that contain a unique "id"`
5011
5011
  ), r.route.id;
5012
5012
  }
5013
- function Ka() {
5013
+ function Ja() {
5014
5014
  return Zt(
5015
5015
  "useRouteId"
5016
5016
  /* UseRouteId */
5017
5017
  );
5018
5018
  }
5019
- function Ja() {
5020
- let e = M.useContext(Gt), t = Xa(
5019
+ function Za() {
5020
+ let e = M.useContext(Gt), t = Ga(
5021
5021
  "useRouteError"
5022
5022
  /* UseRouteError */
5023
5023
  ), r = Zt(
@@ -5026,8 +5026,8 @@ function Ja() {
5026
5026
  );
5027
5027
  return e !== void 0 ? e : t.errors?.[r];
5028
5028
  }
5029
- function Za() {
5030
- let { router: e } = Ba(
5029
+ function Qa() {
5030
+ let { router: e } = Xa(
5031
5031
  "useNavigate"
5032
5032
  /* UseNavigateStable */
5033
5033
  ), t = Zt(
@@ -5047,8 +5047,8 @@ var Lr = {};
5047
5047
  function hn(e, t, r) {
5048
5048
  !t && !Lr[e] && (Lr[e] = !0, ve(!1, r));
5049
5049
  }
5050
- M.memo(Qa);
5051
- function Qa({
5050
+ M.memo(eo);
5051
+ function eo({
5052
5052
  routes: e,
5053
5053
  future: t,
5054
5054
  state: r
@@ -5061,7 +5061,7 @@ function pn(e) {
5061
5061
  "A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>."
5062
5062
  );
5063
5063
  }
5064
- function eo({
5064
+ function to({
5065
5065
  basename: e = "/",
5066
5066
  children: t = null,
5067
5067
  location: r,
@@ -5107,11 +5107,11 @@ function eo({
5107
5107
  `<Router basename="${d}"> is not able to match the URL "${u}${c}${v}" because it does not start with the basename, so the <Router> won't render anything.`
5108
5108
  ), L == null ? null : /* @__PURE__ */ M.createElement(we.Provider, { value: l }, /* @__PURE__ */ M.createElement(Ze.Provider, { children: t, value: L }));
5109
5109
  }
5110
- function to({
5110
+ function ro({
5111
5111
  children: e,
5112
5112
  location: t
5113
5113
  }) {
5114
- return Fa(Wt(e), t);
5114
+ return Wa(Wt(e), t);
5115
5115
  }
5116
5116
  function Wt(e, t = []) {
5117
5117
  let r = [];
@@ -5161,22 +5161,22 @@ var ut = "get", ct = "application/x-www-form-urlencoded";
5161
5161
  function kt(e) {
5162
5162
  return e != null && typeof e.tagName == "string";
5163
5163
  }
5164
- function ro(e) {
5164
+ function no(e) {
5165
5165
  return kt(e) && e.tagName.toLowerCase() === "button";
5166
5166
  }
5167
- function no(e) {
5167
+ function io(e) {
5168
5168
  return kt(e) && e.tagName.toLowerCase() === "form";
5169
5169
  }
5170
- function io(e) {
5170
+ function ao(e) {
5171
5171
  return kt(e) && e.tagName.toLowerCase() === "input";
5172
5172
  }
5173
- function ao(e) {
5173
+ function oo(e) {
5174
5174
  return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
5175
5175
  }
5176
- function oo(e, t) {
5176
+ function so(e, t) {
5177
5177
  return e.button === 0 && // Ignore everything but left clicks
5178
5178
  (!t || t === "_self") && // Let browser handle "target=_blank" etc.
5179
- !ao(e);
5179
+ !oo(e);
5180
5180
  }
5181
5181
  function Ut(e = "") {
5182
5182
  return new URLSearchParams(
@@ -5188,7 +5188,7 @@ function Ut(e = "") {
5188
5188
  }, [])
5189
5189
  );
5190
5190
  }
5191
- function so(e, t) {
5191
+ function lo(e, t) {
5192
5192
  let r = Ut(e);
5193
5193
  return t && t.forEach((i, a) => {
5194
5194
  r.has(a) || t.getAll(a).forEach((s) => {
@@ -5197,7 +5197,7 @@ function so(e, t) {
5197
5197
  }), r;
5198
5198
  }
5199
5199
  var at = null;
5200
- function lo() {
5200
+ function uo() {
5201
5201
  if (at === null)
5202
5202
  try {
5203
5203
  new FormData(
@@ -5210,30 +5210,30 @@ function lo() {
5210
5210
  }
5211
5211
  return at;
5212
5212
  }
5213
- var uo = /* @__PURE__ */ new Set([
5213
+ var co = /* @__PURE__ */ new Set([
5214
5214
  "application/x-www-form-urlencoded",
5215
5215
  "multipart/form-data",
5216
5216
  "text/plain"
5217
5217
  ]);
5218
5218
  function It(e) {
5219
- return e != null && !uo.has(e) ? (ve(
5219
+ return e != null && !co.has(e) ? (ve(
5220
5220
  !1,
5221
5221
  `"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${ct}"`
5222
5222
  ), null) : e;
5223
5223
  }
5224
- function co(e, t) {
5224
+ function fo(e, t) {
5225
5225
  let r, i, a, s, d;
5226
- if (no(e)) {
5226
+ if (io(e)) {
5227
5227
  let l = e.getAttribute("action");
5228
5228
  i = l ? xe(l, t) : null, r = e.getAttribute("method") || ut, a = It(e.getAttribute("enctype")) || ct, s = new FormData(e);
5229
- } else if (ro(e) || io(e) && (e.type === "submit" || e.type === "image")) {
5229
+ } else if (no(e) || ao(e) && (e.type === "submit" || e.type === "image")) {
5230
5230
  let l = e.form;
5231
5231
  if (l == null)
5232
5232
  throw new Error(
5233
5233
  'Cannot submit a <button> or <input type="submit"> without a <form>'
5234
5234
  );
5235
5235
  let u = e.getAttribute("formaction") || l.getAttribute("action");
5236
- if (i = u ? xe(u, t) : null, r = e.getAttribute("formmethod") || l.getAttribute("method") || ut, a = It(e.getAttribute("formenctype")) || It(l.getAttribute("enctype")) || ct, s = new FormData(l, e), !lo()) {
5236
+ if (i = u ? xe(u, t) : null, r = e.getAttribute("formmethod") || l.getAttribute("method") || ut, a = It(e.getAttribute("formenctype")) || It(l.getAttribute("enctype")) || ct, s = new FormData(l, e), !uo()) {
5237
5237
  let { name: c, type: v, value: w } = e;
5238
5238
  if (v === "image") {
5239
5239
  let x = c ? `${c}.` : "";
@@ -5253,7 +5253,7 @@ function Qt(e, t) {
5253
5253
  if (e === !1 || e === null || typeof e > "u")
5254
5254
  throw new Error(t);
5255
5255
  }
5256
- async function fo(e, t) {
5256
+ async function ho(e, t) {
5257
5257
  if (e.id in t)
5258
5258
  return t[e.id];
5259
5259
  try {
@@ -5270,22 +5270,22 @@ async function fo(e, t) {
5270
5270
  });
5271
5271
  }
5272
5272
  }
5273
- function ho(e) {
5273
+ function po(e) {
5274
5274
  return e == null ? !1 : e.href == null ? e.rel === "preload" && typeof e.imageSrcSet == "string" && typeof e.imageSizes == "string" : typeof e.rel == "string" && typeof e.href == "string";
5275
5275
  }
5276
- async function po(e, t, r) {
5276
+ async function mo(e, t, r) {
5277
5277
  let i = await Promise.all(
5278
5278
  e.map(async (a) => {
5279
5279
  let s = t.routes[a.route.id];
5280
5280
  if (s) {
5281
- let d = await fo(s, r);
5281
+ let d = await ho(s, r);
5282
5282
  return d.links ? d.links() : [];
5283
5283
  }
5284
5284
  return [];
5285
5285
  })
5286
5286
  );
5287
- return yo(
5288
- i.flat(1).filter(ho).filter((a) => a.rel === "stylesheet" || a.rel === "preload").map(
5287
+ return bo(
5288
+ i.flat(1).filter(po).filter((a) => a.rel === "stylesheet" || a.rel === "preload").map(
5289
5289
  (a) => a.rel === "stylesheet" ? { ...a, rel: "prefetch", as: "style" } : { ...a, rel: "prefetch" }
5290
5290
  )
5291
5291
  );
@@ -5322,8 +5322,8 @@ function Dr(e, t, r, i, a, s) {
5322
5322
  return !0;
5323
5323
  }) : [];
5324
5324
  }
5325
- function mo(e, t, { includeHydrateFallback: r } = {}) {
5326
- return vo(
5325
+ function vo(e, t, { includeHydrateFallback: r } = {}) {
5326
+ return go(
5327
5327
  e.map((i) => {
5328
5328
  let a = t.routes[i.route.id];
5329
5329
  if (!a) return [];
@@ -5332,25 +5332,25 @@ function mo(e, t, { includeHydrateFallback: r } = {}) {
5332
5332
  }).flat(1)
5333
5333
  );
5334
5334
  }
5335
- function vo(e) {
5335
+ function go(e) {
5336
5336
  return [...new Set(e)];
5337
5337
  }
5338
- function go(e) {
5338
+ function yo(e) {
5339
5339
  let t = {}, r = Object.keys(e).sort();
5340
5340
  for (let i of r)
5341
5341
  t[i] = e[i];
5342
5342
  return t;
5343
5343
  }
5344
- function yo(e, t) {
5344
+ function bo(e, t) {
5345
5345
  let r = /* @__PURE__ */ new Set();
5346
5346
  return new Set(t), e.reduce((i, a) => {
5347
- let s = JSON.stringify(go(a));
5347
+ let s = JSON.stringify(yo(a));
5348
5348
  return r.has(s) || (r.add(s), i.push({ key: s, link: a })), i;
5349
5349
  }, []);
5350
5350
  }
5351
5351
  Object.getOwnPropertyNames(Object.prototype).sort().join("\0");
5352
- var bo = /* @__PURE__ */ new Set([100, 101, 204, 205]);
5353
- function wo(e, t) {
5352
+ var wo = /* @__PURE__ */ new Set([100, 101, 204, 205]);
5353
+ function So(e, t) {
5354
5354
  let r = typeof e == "string" ? new URL(
5355
5355
  e,
5356
5356
  // This can be called during the SSR flow via PrefetchPageLinksImpl so
@@ -5366,7 +5366,7 @@ function mn() {
5366
5366
  "You must render this element inside a <DataRouterContext.Provider> element"
5367
5367
  ), e;
5368
5368
  }
5369
- function So() {
5369
+ function xo() {
5370
5370
  let e = M.useContext(Ot);
5371
5371
  return Qt(
5372
5372
  e,
@@ -5382,7 +5382,7 @@ function vn() {
5382
5382
  "You must render this element inside a <HydratedRouter> element"
5383
5383
  ), e;
5384
5384
  }
5385
- function xo(e, t) {
5385
+ function Oo(e, t) {
5386
5386
  let r = M.useContext(er), [i, a] = M.useState(!1), [s, d] = M.useState(!1), { onFocus: l, onBlur: u, onMouseEnter: c, onMouseLeave: v, onTouchStart: w } = t, x = M.useRef(null);
5387
5387
  M.useEffect(() => {
5388
5388
  if (e === "render" && d(!0), e === "viewport") {
@@ -5427,7 +5427,7 @@ function Ve(e, t) {
5427
5427
  e && e(r), r.defaultPrevented || t(r);
5428
5428
  };
5429
5429
  }
5430
- function Oo({
5430
+ function ko({
5431
5431
  page: e,
5432
5432
  ...t
5433
5433
  }) {
@@ -5435,13 +5435,13 @@ function Oo({
5435
5435
  () => rn(r.routes, e, r.basename),
5436
5436
  [r.routes, e, r.basename]
5437
5437
  );
5438
- return i ? /* @__PURE__ */ M.createElement(Co, { page: e, matches: i, ...t }) : null;
5438
+ return i ? /* @__PURE__ */ M.createElement(Po, { page: e, matches: i, ...t }) : null;
5439
5439
  }
5440
- function ko(e) {
5440
+ function Co(e) {
5441
5441
  let { manifest: t, routeModules: r } = vn(), [i, a] = M.useState([]);
5442
5442
  return M.useEffect(() => {
5443
5443
  let s = !1;
5444
- return po(e, t, r).then(
5444
+ return mo(e, t, r).then(
5445
5445
  (d) => {
5446
5446
  s || a(d);
5447
5447
  }
@@ -5450,12 +5450,12 @@ function ko(e) {
5450
5450
  };
5451
5451
  }, [e, t, r]), i;
5452
5452
  }
5453
- function Co({
5453
+ function Po({
5454
5454
  page: e,
5455
5455
  matches: t,
5456
5456
  ...r
5457
5457
  }) {
5458
- let i = ke(), { manifest: a, routeModules: s } = vn(), { basename: d } = mn(), { loaderData: l, matches: u } = So(), c = M.useMemo(
5458
+ let i = ke(), { manifest: a, routeModules: s } = vn(), { basename: d } = mn(), { loaderData: l, matches: u } = xo(), c = M.useMemo(
5459
5459
  () => Dr(
5460
5460
  e,
5461
5461
  t,
@@ -5484,7 +5484,7 @@ function Co({
5484
5484
  !F || !F.hasLoader || (!c.some((U) => U.route.id === C.route.id) && C.route.id in l && s[C.route.id]?.shouldRevalidate || F.hasClientLoader ? p = !0 : k.add(C.route.id));
5485
5485
  }), k.size === 0)
5486
5486
  return [];
5487
- let I = wo(e, d);
5487
+ let I = So(e, d);
5488
5488
  return p && k.size > 0 && I.searchParams.set(
5489
5489
  "_routes",
5490
5490
  t.filter((C) => k.has(C.route.id)).map((C) => C.route.id).join(",")
@@ -5499,16 +5499,16 @@ function Co({
5499
5499
  e,
5500
5500
  s
5501
5501
  ]), x = M.useMemo(
5502
- () => mo(v, a),
5502
+ () => vo(v, a),
5503
5503
  [v, a]
5504
- ), L = ko(v);
5504
+ ), L = Co(v);
5505
5505
  return /* @__PURE__ */ M.createElement(M.Fragment, null, w.map((k) => /* @__PURE__ */ M.createElement("link", { key: k, rel: "prefetch", as: "fetch", href: k, ...r })), x.map((k) => /* @__PURE__ */ M.createElement("link", { key: k, rel: "modulepreload", href: k, ...r })), L.map(({ key: k, link: p }) => (
5506
5506
  // these don't spread `linkProps` because they are full link descriptors
5507
5507
  // already with their own props
5508
5508
  /* @__PURE__ */ M.createElement("link", { key: k, ...p })
5509
5509
  )));
5510
5510
  }
5511
- function Po(...e) {
5511
+ function Eo(...e) {
5512
5512
  return (t) => {
5513
5513
  e.forEach((r) => {
5514
5514
  typeof r == "function" ? r(t) : r != null && (r.current = t);
@@ -5520,13 +5520,13 @@ try {
5520
5520
  gn && (window.__reactRouterVersion = "7.6.3");
5521
5521
  } catch {
5522
5522
  }
5523
- function Eo({
5523
+ function Ro({
5524
5524
  basename: e,
5525
5525
  children: t,
5526
5526
  window: r
5527
5527
  }) {
5528
5528
  let i = M.useRef();
5529
- i.current == null && (i.current = da({ window: r, v5Compat: !0 }));
5529
+ i.current == null && (i.current = ha({ window: r, v5Compat: !0 }));
5530
5530
  let a = i.current, [s, d] = M.useState({
5531
5531
  action: a.action,
5532
5532
  location: a.location
@@ -5537,7 +5537,7 @@ function Eo({
5537
5537
  [d]
5538
5538
  );
5539
5539
  return M.useLayoutEffect(() => a.listen(l), [a, l]), /* @__PURE__ */ M.createElement(
5540
- eo,
5540
+ to,
5541
5541
  {
5542
5542
  basename: e,
5543
5543
  children: t,
@@ -5573,10 +5573,10 @@ var yn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, bn = M.forwardRef(
5573
5573
  `<Link to="${c}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`
5574
5574
  );
5575
5575
  }
5576
- let F = za(c, { relative: a }), [U, q, g] = xo(
5576
+ let F = Na(c, { relative: a }), [U, q, g] = Oo(
5577
5577
  i,
5578
5578
  x
5579
- ), b = jo(c, {
5579
+ ), b = Lo(c, {
5580
5580
  replace: d,
5581
5581
  state: l,
5582
5582
  target: u,
@@ -5596,17 +5596,17 @@ var yn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, bn = M.forwardRef(
5596
5596
  ...g,
5597
5597
  href: I || F,
5598
5598
  onClick: C || s ? t : S,
5599
- ref: Po(L, q),
5599
+ ref: Eo(L, q),
5600
5600
  target: u,
5601
5601
  "data-discover": !p && r === "render" ? "true" : void 0
5602
5602
  }
5603
5603
  )
5604
5604
  );
5605
- return U && !p ? /* @__PURE__ */ M.createElement(M.Fragment, null, R, /* @__PURE__ */ M.createElement(Oo, { page: F })) : R;
5605
+ return U && !p ? /* @__PURE__ */ M.createElement(M.Fragment, null, R, /* @__PURE__ */ M.createElement(ko, { page: F })) : R;
5606
5606
  }
5607
5607
  );
5608
5608
  bn.displayName = "Link";
5609
- var Ro = M.forwardRef(
5609
+ var _o = M.forwardRef(
5610
5610
  function({
5611
5611
  "aria-current": t = "page",
5612
5612
  caseSensitive: r = !1,
@@ -5620,7 +5620,7 @@ var Ro = M.forwardRef(
5620
5620
  }, v) {
5621
5621
  let w = et(d, { relative: c.relative }), x = ke(), L = M.useContext(Ot), { navigator: k, basename: p } = M.useContext(we), I = L != null && // Conditional usage is OK here because the usage of a data router is static
5622
5622
  // eslint-disable-next-line react-hooks/rules-of-hooks
5623
- Ao(w) && l === !0, C = k.encodeLocation ? k.encodeLocation(w).pathname : w.pathname, F = x.pathname, U = L && L.navigation && L.navigation.location ? L.navigation.location.pathname : null;
5623
+ Ho(w) && l === !0, C = k.encodeLocation ? k.encodeLocation(w).pathname : w.pathname, F = x.pathname, U = L && L.navigation && L.navigation.location ? L.navigation.location.pathname : null;
5624
5624
  r || (F = F.toLowerCase(), U = U ? U.toLowerCase() : null, C = C.toLowerCase()), U && p && (U = xe(U, p) || U);
5625
5625
  const q = C !== "/" && C.endsWith("/") ? C.length - 1 : C.length;
5626
5626
  let g = F === C || !a && F.startsWith(C) && F.charAt(q) === "/", b = U != null && (U === C || !a && U.startsWith(C) && U.charAt(C.length) === "/"), S = {
@@ -5650,8 +5650,8 @@ var Ro = M.forwardRef(
5650
5650
  );
5651
5651
  }
5652
5652
  );
5653
- Ro.displayName = "NavLink";
5654
- var _o = M.forwardRef(
5653
+ _o.displayName = "NavLink";
5654
+ var To = M.forwardRef(
5655
5655
  ({
5656
5656
  discover: e = "render",
5657
5657
  fetcherKey: t,
@@ -5667,7 +5667,7 @@ var _o = M.forwardRef(
5667
5667
  viewTransition: w,
5668
5668
  ...x
5669
5669
  }, L) => {
5670
- let k = $o(), p = Io(l, { relative: c }), I = d.toLowerCase() === "get" ? "get" : "post", C = typeof l == "string" && yn.test(l), F = (U) => {
5670
+ let k = Io(), p = Ao(l, { relative: c }), I = d.toLowerCase() === "get" ? "get" : "post", C = typeof l == "string" && yn.test(l), F = (U) => {
5671
5671
  if (u && u(U), U.defaultPrevented) return;
5672
5672
  U.preventDefault();
5673
5673
  let q = U.nativeEvent.submitter, g = q?.getAttribute("formmethod") || d;
@@ -5695,15 +5695,15 @@ var _o = M.forwardRef(
5695
5695
  );
5696
5696
  }
5697
5697
  );
5698
- _o.displayName = "Form";
5699
- function To(e) {
5698
+ To.displayName = "Form";
5699
+ function jo(e) {
5700
5700
  return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
5701
5701
  }
5702
5702
  function wn(e) {
5703
5703
  let t = M.useContext($e);
5704
- return ae(t, To(e)), t;
5704
+ return ae(t, jo(e)), t;
5705
5705
  }
5706
- function jo(e, {
5706
+ function Lo(e, {
5707
5707
  target: t,
5708
5708
  replace: r,
5709
5709
  state: i,
@@ -5714,7 +5714,7 @@ function jo(e, {
5714
5714
  let l = Kt(), u = ke(), c = et(e, { relative: s });
5715
5715
  return M.useCallback(
5716
5716
  (v) => {
5717
- if (oo(v, t)) {
5717
+ if (so(v, t)) {
5718
5718
  v.preventDefault();
5719
5719
  let w = r !== void 0 ? r : Ge(u) === Ge(c);
5720
5720
  l(e, {
@@ -5740,7 +5740,7 @@ function jo(e, {
5740
5740
  ]
5741
5741
  );
5742
5742
  }
5743
- function Lo(e) {
5743
+ function Do(e) {
5744
5744
  ve(
5745
5745
  typeof URLSearchParams < "u",
5746
5746
  "You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params."
@@ -5750,7 +5750,7 @@ function Lo(e) {
5750
5750
  // Only merge in the defaults if we haven't yet called setSearchParams.
5751
5751
  // Once we call that we want those to take precedence, otherwise you can't
5752
5752
  // remove a param with setSearchParams({}) if it has an initial value
5753
- so(
5753
+ lo(
5754
5754
  i.search,
5755
5755
  r.current ? null : t.current
5756
5756
  )
@@ -5767,20 +5767,20 @@ function Lo(e) {
5767
5767
  );
5768
5768
  return [a, d];
5769
5769
  }
5770
- var Do = 0, Mo = () => `__${String(++Do)}__`;
5771
- function $o() {
5770
+ var Mo = 0, $o = () => `__${String(++Mo)}__`;
5771
+ function Io() {
5772
5772
  let { router: e } = wn(
5773
5773
  "useSubmit"
5774
5774
  /* UseSubmit */
5775
- ), { basename: t } = M.useContext(we), r = Ka();
5775
+ ), { basename: t } = M.useContext(we), r = Ja();
5776
5776
  return M.useCallback(
5777
5777
  async (i, a = {}) => {
5778
- let { action: s, method: d, encType: l, formData: u, body: c } = co(
5778
+ let { action: s, method: d, encType: l, formData: u, body: c } = fo(
5779
5779
  i,
5780
5780
  t
5781
5781
  );
5782
5782
  if (a.navigate === !1) {
5783
- let v = a.fetcherKey || Mo();
5783
+ let v = a.fetcherKey || $o();
5784
5784
  await e.fetch(v, r, a.action || s, {
5785
5785
  preventScrollReset: a.preventScrollReset,
5786
5786
  formData: u,
@@ -5806,7 +5806,7 @@ function $o() {
5806
5806
  [e, t, r]
5807
5807
  );
5808
5808
  }
5809
- function Io(e, { relative: t } = {}) {
5809
+ function Ao(e, { relative: t } = {}) {
5810
5810
  let { basename: r } = M.useContext(we), i = M.useContext(Oe);
5811
5811
  ae(i, "useFormAction must be used inside a RouteContext");
5812
5812
  let [a] = i.matches.slice(-1), s = { ...et(e || ".", { relative: t }) }, d = ke();
@@ -5821,7 +5821,7 @@ function Io(e, { relative: t } = {}) {
5821
5821
  }
5822
5822
  return (!e || e === ".") && a.route.index && (s.search = s.search ? s.search.replace(/^\?/, "?index&") : "?index"), r !== "/" && (s.pathname = s.pathname === "/" ? r : Se([r, s.pathname])), Ge(s);
5823
5823
  }
5824
- function Ao(e, t = {}) {
5824
+ function Ho(e, t = {}) {
5825
5825
  let r = M.useContext(un);
5826
5826
  ae(
5827
5827
  r != null,
@@ -5837,7 +5837,7 @@ function Ao(e, t = {}) {
5837
5837
  return gt(a.pathname, d) != null || gt(a.pathname, s) != null;
5838
5838
  }
5839
5839
  [
5840
- ...bo
5840
+ ...wo
5841
5841
  ];
5842
5842
  const Sn = V.createContext({
5843
5843
  history: [],
@@ -5846,8 +5846,8 @@ const Sn = V.createContext({
5846
5846
  popFromHistory: () => "",
5847
5847
  replaceHistory: () => {
5848
5848
  }
5849
- }), Ho = () => {
5850
- const [e, t] = Lo(), r = Hr(
5849
+ }), zo = () => {
5850
+ const [e, t] = Do(), r = Hr(
5851
5851
  () => Object.fromEntries(e.entries()),
5852
5852
  [e]
5853
5853
  ), i = _e(
@@ -5902,8 +5902,8 @@ const Sn = V.createContext({
5902
5902
  remove: l,
5903
5903
  removeMany: u
5904
5904
  };
5905
- }, ds = () => {
5906
- const e = Kt(), t = ke(), r = Ho(), i = Yt(Sn), a = (l) => {
5905
+ }, hs = () => {
5906
+ const e = Kt(), t = ke(), r = zo(), i = Yt(Sn), a = (l) => {
5907
5907
  const u = new URL(l.path, "http://dummy-base");
5908
5908
  return l.params && Object.entries(l.params).forEach(([c, v]) => {
5909
5909
  v != null && u.searchParams.set(c, String(v));
@@ -5928,7 +5928,7 @@ const Sn = V.createContext({
5928
5928
  goBack: d,
5929
5929
  goTo: s
5930
5930
  };
5931
- }, hs = ({
5931
+ }, ps = ({
5932
5932
  isReady: e = !0,
5933
5933
  routes: t,
5934
5934
  children: r
@@ -5956,9 +5956,9 @@ const Sn = V.createContext({
5956
5956
  popFromHistory: u,
5957
5957
  replaceHistory: c
5958
5958
  },
5959
- children: /* @__PURE__ */ X.jsx(Eo, { children: e && /* @__PURE__ */ X.jsxs(X.Fragment, { children: [
5959
+ children: /* @__PURE__ */ X.jsx(Ro, { children: e && /* @__PURE__ */ X.jsxs(X.Fragment, { children: [
5960
5960
  r,
5961
- /* @__PURE__ */ X.jsx(to, { children: v })
5961
+ /* @__PURE__ */ X.jsx(ro, { children: v })
5962
5962
  ] }) })
5963
5963
  }
5964
5964
  );
@@ -5971,7 +5971,7 @@ const Sn = V.createContext({
5971
5971
  hideItem: () => {
5972
5972
  }
5973
5973
  }
5974
- ), ps = ({ children: e }) => {
5974
+ ), ms = ({ children: e }) => {
5975
5975
  const t = V.useRef([]), [r, i] = V.useState([]), a = V.useCallback((u) => {
5976
5976
  t.current = u, i(u);
5977
5977
  }, []), s = V.useCallback((u) => t.current.some((c) => c === u), []), d = V.useCallback(
@@ -6011,7 +6011,7 @@ const Sn = V.createContext({
6011
6011
  showItem: r,
6012
6012
  hideItem: i
6013
6013
  };
6014
- }, zo = ({
6014
+ }, No = ({
6015
6015
  id: e,
6016
6016
  onCloseDrawer: t,
6017
6017
  drawerCloseOffset: r = 15
@@ -6023,7 +6023,7 @@ const Sn = V.createContext({
6023
6023
  }, x = (k) => {
6024
6024
  s(k), v(0);
6025
6025
  };
6026
- return sa({
6026
+ return la({
6027
6027
  ref: u,
6028
6028
  onDrag: (k) => {
6029
6029
  s(k);
@@ -6039,14 +6039,14 @@ const Sn = V.createContext({
6039
6039
  drawerBottomDistance: c,
6040
6040
  handleRef: u
6041
6041
  };
6042
- }, ms = (e) => {
6042
+ }, vs = (e) => {
6043
6043
  const { children: t, backgroundStyles: r, contentStyles: i, handle: a } = e, {
6044
6044
  isVisible: s,
6045
6045
  drawerParentRef: d,
6046
6046
  drawerRef: l,
6047
6047
  handleRef: u,
6048
6048
  drawerBottomDistance: c
6049
- } = zo(e);
6049
+ } = No(e);
6050
6050
  return /* @__PURE__ */ X.jsx(X.Fragment, { children: s && /* @__PURE__ */ X.jsx(
6051
6051
  "div",
6052
6052
  {
@@ -6115,7 +6115,7 @@ const Sn = V.createContext({
6115
6115
  )
6116
6116
  }
6117
6117
  ) });
6118
- }, No = ({ onPreSubmit: e, onSubmit: t, fields: r }) => {
6118
+ }, Fo = ({ onPreSubmit: e, onSubmit: t, fields: r }) => {
6119
6119
  const i = V.useRef(null), a = V.useRef(!1), s = (c) => {
6120
6120
  const v = Array.from(c.currentTarget.elements).filter(
6121
6121
  (x) => !!x.getAttribute("name")
@@ -6178,7 +6178,7 @@ const Sn = V.createContext({
6178
6178
  },
6179
6179
  handleFormSubmission: l
6180
6180
  };
6181
- }, Fo = Pe.div`
6181
+ }, Wo = Pe.div`
6182
6182
  display: flex;
6183
6183
  width: 100%;
6184
6184
  align-items: center;
@@ -6193,8 +6193,8 @@ const Sn = V.createContext({
6193
6193
  > * {
6194
6194
  pointer-events: none;
6195
6195
  }
6196
- `, vs = (e) => {
6197
- const { fields: t, styles: r, submitButton: i } = e, { ref: a, handleFormSubmission: s, submitForm: d } = No(e), l = V.useCallback(() => t.list.map((u) => ({ ...u.content, key: u.name })), [t]);
6196
+ `, gs = (e) => {
6197
+ const { fields: t, styles: r, submitButton: i } = e, { ref: a, handleFormSubmission: s, submitForm: d } = Fo(e), l = V.useCallback(() => t.list.map((u) => ({ ...u.content, key: u.name })), [t]);
6198
6198
  return /* @__PURE__ */ X.jsxs(
6199
6199
  "form",
6200
6200
  {
@@ -6224,7 +6224,7 @@ const Sn = V.createContext({
6224
6224
  }
6225
6225
  ),
6226
6226
  /* @__PURE__ */ X.jsx(
6227
- Fo,
6227
+ Wo,
6228
6228
  {
6229
6229
  onClick: d,
6230
6230
  styles: {
@@ -6236,7 +6236,7 @@ const Sn = V.createContext({
6236
6236
  ]
6237
6237
  }
6238
6238
  );
6239
- }, gs = ({ src: e, alt: t = "", onClick: r, styles: i }) => /* @__PURE__ */ X.jsx(
6239
+ }, ys = ({ src: e, alt: t = "", onClick: r, styles: i }) => /* @__PURE__ */ X.jsx(
6240
6240
  "img",
6241
6241
  {
6242
6242
  src: e,
@@ -6255,7 +6255,7 @@ const Sn = V.createContext({
6255
6255
  r?.();
6256
6256
  }
6257
6257
  }
6258
- ), Wo = (e) => ({
6258
+ ), Uo = (e) => ({
6259
6259
  handleOnBlur: (a) => {
6260
6260
  e.onBlur?.();
6261
6261
  },
@@ -6265,7 +6265,7 @@ const Sn = V.createContext({
6265
6265
  onValueChanged: (a) => {
6266
6266
  e.onChange?.(a.currentTarget.value);
6267
6267
  }
6268
- }), Uo = Pe.div`
6268
+ }), Yo = Pe.div`
6269
6269
  display: flex;
6270
6270
  flex-direction: column;
6271
6271
  font-family: inherit;
@@ -6283,8 +6283,8 @@ const Sn = V.createContext({
6283
6283
  input:-webkit-autofill {
6284
6284
  background-color: #00000000;
6285
6285
  }
6286
- `, Yo = (e) => {
6287
- const { onValueChanged: t, handleOnBlur: r, handleOnFocus: i } = Wo(e), {
6286
+ `, Vo = (e) => {
6287
+ const { onValueChanged: t, handleOnBlur: r, handleOnFocus: i } = Uo(e), {
6288
6288
  name: a,
6289
6289
  label: s,
6290
6290
  leftIcon: d,
@@ -6304,7 +6304,7 @@ const Sn = V.createContext({
6304
6304
  onInput: q
6305
6305
  } = e;
6306
6306
  return /* @__PURE__ */ X.jsxs(
6307
- Uo,
6307
+ Yo,
6308
6308
  {
6309
6309
  style: {
6310
6310
  width: "100%",
@@ -6378,7 +6378,7 @@ const Sn = V.createContext({
6378
6378
  ]
6379
6379
  }
6380
6380
  );
6381
- }, ys = ({ id: e, styles: t, children: r }) => {
6381
+ }, bs = ({ id: e, styles: t, children: r }) => {
6382
6382
  const { isItemVisible: i } = Ct();
6383
6383
  return /* @__PURE__ */ X.jsx(X.Fragment, { children: i(e) && /* @__PURE__ */ X.jsx(
6384
6384
  "div",
@@ -6399,7 +6399,7 @@ const Sn = V.createContext({
6399
6399
  children: r
6400
6400
  }
6401
6401
  ) });
6402
- }, bs = ({
6402
+ }, ws = ({
6403
6403
  id: e,
6404
6404
  children: t,
6405
6405
  backgroundStyles: r,
@@ -6457,8 +6457,8 @@ const Sn = V.createContext({
6457
6457
  )
6458
6458
  }
6459
6459
  ) });
6460
- }, Vo = (e) => {
6461
- const t = Cn("");
6460
+ }, qo = (e) => {
6461
+ const t = Pn("");
6462
6462
  function r(l) {
6463
6463
  return e.allowNegatives ? (l = l.replace(/-/g, (u, c) => c === 0 ? "-" : ""), l.indexOf("-") > 0 && (l = l.replace(/-/g, ""), l = "-" + l)) : l = l.replace(/-/g, ""), l;
6464
6464
  }
@@ -6494,20 +6494,20 @@ const Sn = V.createContext({
6494
6494
  onInput: s
6495
6495
  }), [])()
6496
6496
  };
6497
- }, ws = ({
6497
+ }, Ss = ({
6498
6498
  allowNegatives: e = !0,
6499
6499
  allowDecimals: t = !0,
6500
6500
  decimalScale: r = 2,
6501
6501
  ...i
6502
6502
  }) => {
6503
- const { props: a } = Vo({
6503
+ const { props: a } = qo({
6504
6504
  allowNegatives: e,
6505
6505
  allowDecimals: t,
6506
6506
  decimalScale: r,
6507
6507
  ...i
6508
6508
  });
6509
- return /* @__PURE__ */ X.jsx(Yo, { type: "text", ...a });
6510
- }, qo = (e) => {
6509
+ return /* @__PURE__ */ X.jsx(Vo, { type: "text", ...a });
6510
+ }, Bo = (e) => {
6511
6511
  const t = V.useRef(null), r = V.useRef(null), [i, a] = V.useState(24), [s, d] = V.useState(24), l = V.useCallback(() => {
6512
6512
  t.current && a(t.current.clientHeight);
6513
6513
  }, [t, t.current]), u = V.useCallback(() => {
@@ -6537,7 +6537,7 @@ const Sn = V.createContext({
6537
6537
  extraHeight: c()
6538
6538
  }
6539
6539
  };
6540
- }, Bo = Pe.div`
6540
+ }, Xo = Pe.div`
6541
6541
  min-height: 100%;
6542
6542
  max-height: 100%;
6543
6543
  width: 100%;
@@ -6557,7 +6557,7 @@ const Sn = V.createContext({
6557
6557
  box-sizing: border-box;
6558
6558
  position: relative;
6559
6559
  }
6560
- `, Ss = (e) => {
6560
+ `, xs = (e) => {
6561
6561
  const {
6562
6562
  containerStyles: t,
6563
6563
  pageStyles: r,
@@ -6565,9 +6565,9 @@ const Sn = V.createContext({
6565
6565
  allowScroll: a = !0,
6566
6566
  floatingContent: s,
6567
6567
  reserveSpaceForScrollbar: d
6568
- } = e, { footer: l, header: u } = qo(e);
6568
+ } = e, { footer: l, header: u } = Bo(e);
6569
6569
  return /* @__PURE__ */ X.jsxs(
6570
- Bo,
6570
+ Xo,
6571
6571
  {
6572
6572
  id: "page-container",
6573
6573
  styles: {
@@ -6656,7 +6656,7 @@ const Sn = V.createContext({
6656
6656
  }
6657
6657
  );
6658
6658
  };
6659
- class xs {
6659
+ class On {
6660
6660
  static getField = (t, r) => {
6661
6661
  const i = t.find((a) => a.name === r);
6662
6662
  if (i)
@@ -6666,8 +6666,12 @@ class xs {
6666
6666
  if (!(!t || !t.value))
6667
6667
  return t.value;
6668
6668
  };
6669
+ static getFieldValueOrDefault = (t, r) => {
6670
+ const i = On.getFieldValue(t);
6671
+ return i || r;
6672
+ };
6669
6673
  }
6670
- class Xo {
6674
+ class Go {
6671
6675
  static clamp = (t, r, i) => t > i ? i : t < r ? r : t;
6672
6676
  }
6673
6677
  class Os {
@@ -6685,12 +6689,12 @@ class ks {
6685
6689
  });
6686
6690
  static isEqual = (t, r, i = !0) => i ? t === r : t.toUpperCase() === r.toUpperCase();
6687
6691
  }
6688
- var ft = { exports: {} }, Go = ft.exports, Mr;
6689
- function Ko() {
6692
+ var ft = { exports: {} }, Ko = ft.exports, Mr;
6693
+ function Jo() {
6690
6694
  return Mr || (Mr = 1, function(e, t) {
6691
6695
  (function(r, i) {
6692
6696
  e.exports = i();
6693
- })(Go, function() {
6697
+ })(Ko, function() {
6694
6698
  var r = 1e3, i = 6e4, a = 36e5, s = "millisecond", d = "second", l = "minute", u = "hour", c = "day", v = "week", w = "month", x = "quarter", L = "year", k = "date", p = "Invalid Date", I = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, C = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, F = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(T) {
6695
6699
  var E = ["th", "st", "nd", "rd"], j = T % 100;
6696
6700
  return "[" + T + (E[(j - 20) % 10] || E[j] || E[0]) + "]";
@@ -6963,14 +6967,14 @@ function Ko() {
6963
6967
  });
6964
6968
  }(ft)), ft.exports;
6965
6969
  }
6966
- var Jo = Ko();
6967
- const dt = /* @__PURE__ */ Vt(Jo);
6968
- var ht = { exports: {} }, Zo = ht.exports, $r;
6969
- function Qo() {
6970
+ var Zo = Jo();
6971
+ const dt = /* @__PURE__ */ Vt(Zo);
6972
+ var ht = { exports: {} }, Qo = ht.exports, $r;
6973
+ function es() {
6970
6974
  return $r || ($r = 1, function(e, t) {
6971
6975
  (function(r, i) {
6972
6976
  e.exports = i();
6973
- })(Zo, function() {
6977
+ })(Qo, function() {
6974
6978
  var r = "minute", i = /[+-]\d\d(?::?\d\d)?/g, a = /([+-]|\d\d)/g;
6975
6979
  return function(s, d, l) {
6976
6980
  var u = d.prototype;
@@ -7040,9 +7044,9 @@ function Qo() {
7040
7044
  });
7041
7045
  }(ht)), ht.exports;
7042
7046
  }
7043
- var es = Qo();
7044
- const ts = /* @__PURE__ */ Vt(es);
7045
- dt.extend(ts);
7047
+ var ts = es();
7048
+ const rs = /* @__PURE__ */ Vt(ts);
7049
+ dt.extend(rs);
7046
7050
  class Cs {
7047
7051
  static waitForMilliseconds = (t) => new Promise((r) => setTimeout(r, t));
7048
7052
  static waitForCondition = (t) => new Promise((r) => {
@@ -7088,7 +7092,7 @@ const Ps = ({
7088
7092
  styles: i,
7089
7093
  barStyles: a
7090
7094
  }) => {
7091
- const s = Xo.clamp(e, t, r);
7095
+ const s = Go.clamp(e, t, r);
7092
7096
  return /* @__PURE__ */ X.jsx(
7093
7097
  "div",
7094
7098
  {
@@ -7198,7 +7202,7 @@ const Ps = ({
7198
7202
  }
7199
7203
  )
7200
7204
  }
7201
- ), rs = Pe.div`
7205
+ ), ns = Pe.div`
7202
7206
  display: flex;
7203
7207
  flex-direction: column;
7204
7208
  font-family: inherit;
@@ -7244,7 +7248,7 @@ const Ps = ({
7244
7248
  v?.();
7245
7249
  };
7246
7250
  return /* @__PURE__ */ X.jsxs(
7247
- rs,
7251
+ ns,
7248
7252
  {
7249
7253
  style: {
7250
7254
  width: "100%",
@@ -7377,21 +7381,21 @@ const Ps = ({
7377
7381
  }
7378
7382
  );
7379
7383
  export {
7380
- is as Button,
7381
- as as Carousel,
7382
- os as Checkbox,
7383
- ms as Drawer,
7384
- ps as FeedbackProvider,
7385
- vs as Form,
7386
- xs as FormsHelper,
7387
- gs as Image,
7388
- Yo as InputField,
7389
- ys as Loader,
7390
- bs as Modal,
7391
- hs as NavigationProvider,
7392
- Xo as NumberHelper,
7393
- ws as NumericInputField,
7394
- Ss as PageLayout,
7384
+ as as Button,
7385
+ os as Carousel,
7386
+ ss as Checkbox,
7387
+ vs as Drawer,
7388
+ ms as FeedbackProvider,
7389
+ gs as Form,
7390
+ On as FormsHelper,
7391
+ ys as Image,
7392
+ Vo as InputField,
7393
+ bs as Loader,
7394
+ ws as Modal,
7395
+ ps as NavigationProvider,
7396
+ Go as NumberHelper,
7397
+ Ss as NumericInputField,
7398
+ xs as PageLayout,
7395
7399
  Ps as ProgressBar,
7396
7400
  Es as RadioButton,
7397
7401
  Os as ScrollHelper,
@@ -7401,14 +7405,14 @@ export {
7401
7405
  Cs as TimeHelper,
7402
7406
  Ts as Toast,
7403
7407
  js as Typography,
7404
- la as defaultBreakpoints,
7405
- ss as useDidMount,
7406
- sa as useDrag,
7408
+ ua as defaultBreakpoints,
7409
+ ls as useDidMount,
7410
+ la as useDrag,
7407
7411
  Ct as useFeedback,
7408
- ls as useFetch,
7409
- ds as useNavigation,
7410
- us as useOnScreen,
7411
- oa as usePointer,
7412
- cs as useResponsive,
7413
- fs as useTranslations
7412
+ us as useFetch,
7413
+ hs as useNavigation,
7414
+ cs as useOnScreen,
7415
+ sa as usePointer,
7416
+ fs as useResponsive,
7417
+ ds as useTranslations
7414
7418
  };