@eliseubatista99/react-scaffold-core 0.1.89 → 0.1.91

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 q, { 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 q, { 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 qt(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;
@@ -244,8 +244,8 @@ React keys must be passed directly to JSX without using spread:
244
244
  }
245
245
  if (V = null, S !== void 0 && (r(S), V = "" + S), c(f) && (r(f.key), V = "" + f.key), "key" in f) {
246
246
  S = {};
247
- for (var X in f)
248
- X !== "key" && (S[X] = f[X]);
247
+ for (var G in f)
248
+ G !== "key" && (S[G] = f[G]);
249
249
  } else S = f;
250
250
  return V && l(
251
251
  S,
@@ -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 G = _n();
311
- const is = ({ children: e, onClick: t, styles: r }) => /* @__PURE__ */ G.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__ */ G.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 Dn() {
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, c = /^0o[0-7]+$/i, l = parseInt, u = typeof rt == "object" && rt && rt.Object === Object && rt, h = typeof self == "object" && self && self.Object === Object && self, g = u || h || Function("return this")(), x = Object.prototype, T = x.toString, D = Math.max, P = Math.min, p = function() {
@@ -390,8 +390,8 @@ function jn() {
390
390
  return _ = W, A = setTimeout(S, b), C ? H(W) : k;
391
391
  }
392
392
  function n(W) {
393
- var V = W - R, K = W - _, X = b - V;
394
- return j ? P(X, d - K) : X;
393
+ var V = W - R, K = W - _, G = b - V;
394
+ return j ? P(G, d - K) : G;
395
395
  }
396
396
  function f(W) {
397
397
  var V = W - R, K = W - _;
@@ -670,10 +670,10 @@ function Ke() {
670
670
  var W = n.centerMode && parseInt(n.centerPadding) * 2;
671
671
  typeof n.centerPadding == "string" && n.centerPadding.slice(-1) === "%" && (W *= $ / 100), N = Math.ceil(($ - W) / n.slidesToShow);
672
672
  }
673
- var V = S && O(S.querySelector('[data-index="0"]')), K = V * n.slidesToShow, X = n.currentSlide === void 0 ? n.initialSlide : n.currentSlide;
674
- n.rtl && n.currentSlide === void 0 && (X = f - 1 - n.initialSlide);
673
+ var V = S && O(S.querySelector('[data-index="0"]')), K = V * n.slidesToShow, G = n.currentSlide === void 0 ? n.initialSlide : n.currentSlide;
674
+ n.rtl && n.currentSlide === void 0 && (G = f - 1 - n.initialSlide);
675
675
  var J = n.lazyLoadedList || [], te = x(s(s({}, n), {}, {
676
- currentSlide: X,
676
+ currentSlide: G,
677
677
  lazyLoadedList: J
678
678
  }));
679
679
  J = J.concat(te);
@@ -682,14 +682,14 @@ function Ke() {
682
682
  slideWidth: N,
683
683
  listWidth: $,
684
684
  trackWidth: z,
685
- currentSlide: X,
685
+ currentSlide: G,
686
686
  slideHeight: V,
687
687
  listHeight: K,
688
688
  lazyLoadedList: J
689
689
  };
690
690
  return n.autoplaying === null && n.autoplay && (Z.autoplaying = "playing"), Z;
691
691
  }, Y.slideHandler = function(n) {
692
- var f = n.waitForAnimate, S = n.animating, $ = n.fade, L = n.infinite, z = n.index, N = n.slideCount, W = n.lazyLoad, V = n.currentSlide, K = n.centerMode, X = n.slidesToScroll, J = n.slidesToShow, te = n.useCSS, Z = n.lazyLoadedList;
692
+ var f = n.waitForAnimate, S = n.animating, $ = n.fade, L = n.infinite, z = n.index, N = n.slideCount, W = n.lazyLoad, V = n.currentSlide, K = n.centerMode, G = n.slidesToScroll, J = n.slidesToShow, te = n.useCSS, Z = n.lazyLoadedList;
693
693
  if (f && S) return {};
694
694
  var ee = z, ie, le, Q, oe = {}, ue = {}, ce = L ? z : h(z, 0, N - 1);
695
695
  if ($) {
@@ -704,7 +704,7 @@ function Ke() {
704
704
  targetSlide: ee
705
705
  };
706
706
  } else
707
- ie = ee, ee < 0 ? (ie = ee + N, L ? N % X !== 0 && (ie = N - N % X) : ie = 0) : !U(n) && ee > V ? ee = ie = V : K && ee >= N ? (ee = L ? N : N - 1, ie = L ? 0 : N - 1) : ee >= N && (ie = ee - N, L ? N % X !== 0 && (ie = 0) : ie = N - J), !L && ee + J >= N && (ie = N - J), le = d(s(s({}, n), {}, {
707
+ ie = ee, ee < 0 ? (ie = ee + N, L ? N % G !== 0 && (ie = N - N % G) : ie = 0) : !U(n) && ee > V ? ee = ie = V : K && ee >= N ? (ee = L ? N : N - 1, ie = L ? 0 : N - 1) : ee >= N && (ie = ee - N, L ? N % G !== 0 && (ie = 0) : ie = N - J), !L && ee + J >= N && (ie = N - J), le = d(s(s({}, n), {}, {
708
708
  slideIndex: ee
709
709
  })), Q = d(s(s({}, n), {}, {
710
710
  slideIndex: ie
@@ -739,11 +739,11 @@ function Ke() {
739
739
  nextState: ue
740
740
  };
741
741
  }, Y.changeSlide = function(n, f) {
742
- var S, $, L, z, N, W = n.slidesToScroll, V = n.slidesToShow, K = n.slideCount, X = n.currentSlide, J = n.targetSlide, te = n.lazyLoad, Z = n.infinite;
743
- if (z = K % W !== 0, S = z ? 0 : (K - X) % W, f.message === "previous")
744
- L = S === 0 ? W : V - S, N = X - L, te && !Z && ($ = X - L, N = $ === -1 ? K - 1 : $), Z || (N = J - W);
742
+ var S, $, L, z, N, W = n.slidesToScroll, V = n.slidesToShow, K = n.slideCount, G = n.currentSlide, J = n.targetSlide, te = n.lazyLoad, Z = n.infinite;
743
+ if (z = K % W !== 0, S = z ? 0 : (K - G) % W, f.message === "previous")
744
+ L = S === 0 ? W : V - S, N = G - L, te && !Z && ($ = G - L, N = $ === -1 ? K - 1 : $), Z || (N = J - W);
745
745
  else if (f.message === "next")
746
- L = S === 0 ? W : S, N = X + L, te && !Z && (N = (X + W) % K + S), Z || (N = J + W);
746
+ L = S === 0 ? W : S, N = G + L, te && !Z && (N = (G + W) % K + S), Z || (N = J + W);
747
747
  else if (f.message === "dots")
748
748
  N = f.index * f.slidesToScroll;
749
749
  else if (f.message === "children") {
@@ -768,7 +768,7 @@ function Ke() {
768
768
  }
769
769
  };
770
770
  }, Y.swipeMove = function(n, f) {
771
- var S = f.scrolling, $ = f.animating, L = f.vertical, z = f.swipeToSlide, N = f.verticalSwiping, W = f.rtl, V = f.currentSlide, K = f.edgeFriction, X = f.edgeDragged, J = f.onEdge, te = f.swiped, Z = f.swiping, ee = f.slideCount, ie = f.slidesToScroll, le = f.infinite, Q = f.touchObject, oe = f.swipeEvent, ue = f.listHeight, ce = f.listWidth;
771
+ var S = f.scrolling, $ = f.animating, L = f.vertical, z = f.swipeToSlide, N = f.verticalSwiping, W = f.rtl, V = f.currentSlide, K = f.edgeFriction, G = f.edgeDragged, J = f.onEdge, te = f.swiped, Z = f.swiping, ee = f.slideCount, ie = f.slidesToScroll, le = f.infinite, Q = f.touchObject, oe = f.swipeEvent, ue = f.listHeight, ce = f.listWidth;
772
772
  if (!S) {
773
773
  if ($) return g(n);
774
774
  L && z && N && g(n);
@@ -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 || (V === 0 && (Ce === "right" || Ce === "down") || V + 1 >= On && (Ce === "left" || Ce === "up") || !U(f) && (Ce === "left" || Ce === "up")) && (Ae = Q.swipeLength * K, X === !1 && J && (J(Ce), Ee.edgeDragged = !0)), !te && oe && (oe(Ce), Ee.swiped = !0), L ? 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 || (V === 0 && (Ce === "right" || Ce === "down") || V + 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), L ? 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: E(s(s({}, f), {}, {
@@ -792,7 +792,7 @@ function Ke() {
792
792
  }), Math.abs(Q.curX - Q.startX) < Math.abs(Q.curY - Q.startY) * 0.8 || Q.swipeLength > 10 && (Ee.swiping = !0, g(n)), Ee;
793
793
  }
794
794
  }, Y.swipeEnd = function(n, f) {
795
- var S = f.dragging, $ = f.swipe, L = f.touchObject, z = f.listWidth, N = f.touchThreshold, W = f.verticalSwiping, V = f.listHeight, K = f.swipeToSlide, X = f.scrolling, J = f.onSwipe, te = f.targetSlide, Z = f.currentSlide, ee = f.infinite;
795
+ var S = f.dragging, $ = f.swipe, L = f.touchObject, z = f.listWidth, N = f.touchThreshold, W = f.verticalSwiping, V = f.listHeight, K = f.swipeToSlide, G = f.scrolling, J = f.onSwipe, te = f.targetSlide, Z = f.currentSlide, ee = f.infinite;
796
796
  if (!S)
797
797
  return $ && g(n), {};
798
798
  var ie = W ? V / N : z / N, le = F(L, W), Q = {
@@ -804,7 +804,7 @@ function Ke() {
804
804
  swipeLeft: null,
805
805
  touchObject: {}
806
806
  };
807
- if (X || !L.swipeLength)
807
+ if (G || !L.swipeLength)
808
808
  return Q;
809
809
  if (L.swipeLength > ie) {
810
810
  g(n), J && J(le);
@@ -902,11 +902,11 @@ function Ke() {
902
902
  if (n.unslick)
903
903
  return 0;
904
904
  w(n, ["slideIndex", "trackRef", "infinite", "centerMode", "slideCount", "slidesToShow", "slidesToScroll", "slideWidth", "listWidth", "variableWidth", "slideHeight"]);
905
- var f = n.slideIndex, S = n.trackRef, $ = n.infinite, L = n.centerMode, z = n.slideCount, N = n.slidesToShow, W = n.slidesToScroll, V = n.slideWidth, K = n.listWidth, X = n.variableWidth, J = n.slideHeight, te = n.fade, Z = n.vertical, ee = 0, ie, le, Q = 0;
905
+ var f = n.slideIndex, S = n.trackRef, $ = n.infinite, L = n.centerMode, z = n.slideCount, N = n.slidesToShow, W = n.slidesToScroll, V = n.slideWidth, K = n.listWidth, G = n.variableWidth, J = n.slideHeight, te = n.fade, Z = n.vertical, ee = 0, ie, le, Q = 0;
906
906
  if (te || n.slideCount === 1)
907
907
  return 0;
908
908
  var oe = 0;
909
- if ($ ? (oe = -k(n), z % W !== 0 && f + W > z && (oe = -(f > z ? N - (f - z) : z % W)), L && (oe += parseInt(N / 2))) : (z % W !== 0 && f + W > z && (oe = N - z % W), L && (oe = parseInt(N / 2))), ee = oe * V, Q = oe * J, Z ? ie = f * J * -1 + Q : ie = f * V * -1 + ee, X === !0) {
909
+ if ($ ? (oe = -k(n), z % W !== 0 && f + W > z && (oe = -(f > z ? N - (f - z) : z % W)), L && (oe += parseInt(N / 2))) : (z % W !== 0 && f + W > z && (oe = N - z % W), L && (oe = parseInt(N / 2))), ee = oe * V, Q = oe * J, Z ? ie = f * J * -1 + Q : ie = f * V * -1 + ee, G === !0) {
910
910
  var ue, ce = S && S.node;
911
911
  if (ue = f + k(n), le = ce && ce.childNodes[ue], ie = le ? le.offsetLeft * -1 : 0, L === !0) {
912
912
  ue = $ ? f + k(n) : f, le = ce && ce.children[ue], ie = 0;
@@ -951,7 +951,7 @@ function Ke() {
951
951
  return Y;
952
952
  }
953
953
  var Fe = {}, cr;
954
- function Dn() {
954
+ function Ln() {
955
955
  if (cr) return Fe;
956
956
  cr = 1, Object.defineProperty(Fe, "__esModule", {
957
957
  value: !0
@@ -1178,7 +1178,7 @@ function Dn() {
1178
1178
  }(e.default.PureComponent), Fe;
1179
1179
  }
1180
1180
  var We = {}, fr;
1181
- function Ln() {
1181
+ function Mn() {
1182
1182
  if (fr) return We;
1183
1183
  fr = 1;
1184
1184
  function e(v) {
@@ -1341,7 +1341,7 @@ function Ln() {
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(v) {
@@ -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 c() {
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], c = e["padding-" + s];
1689
1689
  r[s] = mt(c);
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 qn(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, c = 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 + c) !== r && (u -= hr(i, "top", "bottom") + c)), !Bn(e)) {
1701
+ var i = je(e).getComputedStyle(e), a = Un(i), s = a.left + a.right, c = 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 + c) !== r && (u -= hr(i, "top", "bottom") + c)), !Vn(e)) {
1703
1703
  var h = Math.round(l + s) - t, g = Math.round(u + c) - r;
1704
1704
  Math.abs(h) !== 1 && (l -= h), Math.abs(g) !== 1 && (u -= g);
1705
1705
  }
1706
1706
  return bt(a.left, a.top, l, u);
1707
1707
  }
1708
- var qn = /* @__PURE__ */ function() {
1708
+ var Bn = /* @__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 Bn(e) {
1716
- return e === je(e).document.documentElement;
1717
- }
1718
1715
  function Vn(e) {
1719
- return At ? qn(e) ? Un(e) : Yn(e) : Wr;
1716
+ return e === je(e).document.documentElement;
1720
1717
  }
1721
1718
  function Xn(e) {
1719
+ return At ? Bn(e) ? Yn(e) : qn(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, c = Object.create(s.prototype);
1723
1723
  return Fr(c, {
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 = Vn(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 = h(q), t = h(Tn()), r = h(jn()), i = h(yt()), a = Ke(), s = Dn(), c = Ln(), l = Mn(), u = h(ei);
1843
+ var e = h(q), t = h(jn()), r = h(Dn()), i = h(yt()), a = Ke(), s = Ln(), c = Mn(), l = $n(), u = h(ti);
1844
1844
  function h(R) {
1845
1845
  return R && R.__esModule ? R : { default: R };
1846
1846
  }
@@ -2093,9 +2093,9 @@ function ti() {
2093
2093
  trackStyle: W
2094
2094
  };
2095
2095
  }
2096
- var K = e.default.Children.count(o.props.children), X = p(p(p({}, o.props), o.state), {}, {
2096
+ var K = e.default.Children.count(o.props.children), G = p(p(p({}, o.props), o.state), {}, {
2097
2097
  slideCount: K
2098
- }), J = (0, a.getPreClones)(X) + (0, a.getPostClones)(X) + K, te = 100 / o.props.slidesToShow * J, Z = 100 / J, ee = -Z * ((0, a.getPreClones)(X) + o.state.currentSlide) * te / 100;
2098
+ }), J = (0, a.getPreClones)(G) + (0, a.getPostClones)(G) + K, te = 100 / o.props.slidesToShow * J, Z = 100 / J, ee = -Z * ((0, a.getPreClones)(G) + o.state.currentSlide) * te / 100;
2099
2099
  o.props.centerMode && (ee += (100 - Z * te / 100) / 2);
2100
2100
  var ie = {
2101
2101
  width: te + "%",
@@ -2149,15 +2149,15 @@ function ti() {
2149
2149
  }, o.props), o.state), {}, {
2150
2150
  trackRef: o.track,
2151
2151
  useCSS: o.props.useCSS && !n
2152
- })), K = V.state, X = V.nextState;
2152
+ })), K = V.state, G = V.nextState;
2153
2153
  if (K) {
2154
2154
  $ && $(W, K.currentSlide);
2155
2155
  var J = K.lazyLoadedList.filter(function(te) {
2156
2156
  return o.state.lazyLoadedList.indexOf(te) < 0;
2157
2157
  });
2158
2158
  L && J.length > 0 && L(J), !o.props.waitForAnimate && o.animationEndCallback && (clearTimeout(o.animationEndCallback), N && N(W), delete o.animationEndCallback), o.setState(K, function() {
2159
- S && o.asNavForIndex !== m && (o.asNavForIndex = m, S.innerSlider.slideHandler(m)), X && (o.animationEndCallback = setTimeout(function() {
2160
- var te = X.animating, Z = T(X, ["animating"]);
2159
+ S && o.asNavForIndex !== m && (o.asNavForIndex = m, S.innerSlider.slideHandler(m)), G && (o.animationEndCallback = setTimeout(function() {
2160
+ var te = G.animating, Z = T(G, ["animating"]);
2161
2161
  o.setState(Z, function() {
2162
2162
  o.callbackTimers.push(setTimeout(function() {
2163
2163
  return o.setState({
@@ -2307,13 +2307,13 @@ function ti() {
2307
2307
  o.props.vertical && (K = {
2308
2308
  height: o.state.listHeight
2309
2309
  });
2310
- var X = null;
2311
- o.props.vertical === !1 ? o.props.centerMode === !0 && (X = {
2310
+ var G = null;
2311
+ o.props.vertical === !1 ? o.props.centerMode === !0 && (G = {
2312
2312
  padding: "0px " + o.props.centerPadding
2313
- }) : o.props.centerMode === !0 && (X = {
2313
+ }) : o.props.centerMode === !0 && (G = {
2314
2314
  padding: o.props.centerPadding + " 0px"
2315
2315
  });
2316
- var J = p(p({}, K), X), te = o.props.touchMove, Z = {
2316
+ var J = p(p({}, K), G), te = o.props.touchMove, Z = {
2317
2317
  className: "slick-list",
2318
2318
  style: J,
2319
2319
  onClick: o.clickHandler,
@@ -2369,7 +2369,7 @@ function ti() {
2369
2369
  }(e.default.Component), Ne;
2370
2370
  }
2371
2371
  var Dt, mr;
2372
- function ri() {
2372
+ function ni() {
2373
2373
  if (mr) return Dt;
2374
2374
  mr = 1;
2375
2375
  var e = function(t) {
@@ -2380,10 +2380,10 @@ function ri() {
2380
2380
  return Dt = e, Dt;
2381
2381
  }
2382
2382
  var Lt, vr;
2383
- function ni() {
2383
+ function ii() {
2384
2384
  if (vr) return Lt;
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 Lt = i, Lt;
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 = c(q), r = ti(), i = c(ni()), a = c(zr()), s = Ke();
2409
+ var t = c(q), r = ri(), i = c(ii()), a = c(zr()), s = Ke();
2410
2410
  function c(E) {
2411
2411
  return E && E.__esModule ? E : { default: E };
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__ */ qt(oi);
2665
+ var si = oi();
2666
+ const li = /* @__PURE__ */ qt(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-", qr = "comm", Bt = "rule", Vt = "decl", fi = "@import", Br = "@keyframes", di = "@layer", hi = Math.abs, wt = String.fromCharCode, pi = Object.assign;
2717
- function mi(e, t) {
2716
+ }(), de = "-ms-", vt = "-moz-", re = "-webkit-", qr = "comm", Bt = "rule", Vt = "decl", di = "@import", Br = "@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 Vr(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, De = 1, Xr = 0, he = 0, se = 0, Le = "";
@@ -2752,12 +2752,12 @@ function xt(e, t, r, i, a, s, c) {
2752
2752
  return { value: e, root: t, parent: r, type: i, props: a, children: s, line: St, column: De, length: c, 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(Le, --he) : 0, De--, se === 10 && (De = 1, St--), se;
2762
2762
  }
2763
2763
  function me() {
@@ -2819,12 +2819,12 @@ function Kr(e) {
2819
2819
  function st(e) {
2820
2820
  return Vr(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 Ve(e) > 2 || Ve(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 (; !Ve(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, c, l, u) {
@@ -2885,18 +2885,18 @@ function lt(e, t, r, i, a, s, c, l, u) {
2885
2885
  case 10:
2886
2886
  case 13:
2887
2887
  case 32:
2888
- w += wi(P);
2888
+ w += Si(P);
2889
2889
  break;
2890
2890
  // \
2891
2891
  case 92:
2892
- w += Si(ot() - 1, 7);
2892
+ w += 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
  w += "/";
@@ -2948,7 +2948,7 @@ function lt(e, t, r, i, a, s, c, 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 (w += wt(F), F * p) {
@@ -2962,7 +2962,7 @@ function lt(e, t, r, i, a, s, c, l, u) {
2962
2962
  break;
2963
2963
  // @
2964
2964
  case 64:
2965
- be() === 45 && (w += st(me())), T = be(), g = x = ge(U = w += Oi(ot())), F++;
2965
+ be() === 45 && (w += st(me())), T = be(), g = x = ge(U = w += ki(ot())), F++;
2966
2966
  break;
2967
2967
  // -
2968
2968
  case 45:
@@ -2973,12 +2973,12 @@ function lt(e, t, r, i, a, s, c, l, u) {
2973
2973
  }
2974
2974
  function br(e, t, r, i, a, s, c, l, u, h, g) {
2975
2975
  for (var x = a - 1, T = a === 0 ? s : [""], D = Xt(T), P = 0, p = 0, I = 0; P < i; ++P)
2976
- for (var O = 0, F = Be(e, x + 1, x = hi(p = c[P])), U = e; O < D; ++O)
2976
+ for (var O = 0, F = Be(e, x + 1, x = pi(p = c[P])), U = e; O < D; ++O)
2977
2977
  (U = Vr(p > 0 ? T[O] + " " + F : ne(F, /&\f/g, T[O]))) && (u[I++] = U);
2978
2978
  return xt(e, t, r, a === 0 ? Bt : l, u, h, g);
2979
2979
  }
2980
- function Ci(e, t, r) {
2981
- return xt(e, t, r, qr, wt(yi()), Be(e, 2, -2), 0);
2980
+ function Pi(e, t, r) {
2981
+ return xt(e, t, r, qr, wt(bi()), Be(e, 2, -2), 0);
2982
2982
  }
2983
2983
  function wr(e, t, r, i) {
2984
2984
  return xt(e, t, r, Vt, Be(e, 0, i), Be(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 Vt:
2997
2997
  return e.return = e.return || e.value;
2998
2998
  case qr:
@@ -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 c = "", l = 0; l < t; l++)
@@ -3012,7 +3012,7 @@ function Ei(e) {
3012
3012
  return c;
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), !Ve(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 (Ve(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(), Di = function(t) {
3051
+ }, Di = function(t, r) {
3052
+ return Kr(ji(Gr(t), r));
3053
+ }, Sr = /* @__PURE__ */ new WeakMap(), Li = 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 = [], c = ji(r, s), l = i.props, u = 0, h = 0; u < c.length; u++)
3061
+ for (var s = [], c = Di(r, s), l = i.props, u = 0, h = 0; u < c.length; u++)
3062
3062
  for (var g = 0; g < l.length; g++, h++)
3063
3063
  t.props[h] = s[u] ? c[u].replace(/&\f/g, l[g]) : l[g] + " " + c[u];
3064
3064
  }
3065
3065
  }
3066
- }, Li = 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 Vt:
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 Bt:
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 = {}, c, l = [];
3256
+ var a = t.stylisPlugins || Ii, s = {}, c, l = [];
3257
3257
  c = 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, h = [Di, Li];
3267
+ var u, h = [Li, Mi];
3268
3268
  {
3269
- var g, x = [Pi, Ri(function(p) {
3269
+ var g, x = [Ei, _i(function(p) {
3270
3270
  g.insert(p);
3271
- })], T = Ei(h.concat(a, x)), D = function(I) {
3272
- return Te(ki(I), T);
3271
+ })], T = Ri(h.concat(a, x)), D = function(I) {
3272
+ return Te(Ci(I), T);
3273
3273
  };
3274
3274
  u = function(I, O, F, U) {
3275
3275
  g = F, D(I ? I + "{" + O.styles + "}" : O.styles), U && (P.inserted[O.name] = !0);
@@ -3277,7 +3277,7 @@ var Mi = function(t, r, i, a) {
3277
3277
  }
3278
3278
  var P = {
3279
3279
  key: r,
3280
- sheet: new ci({
3280
+ sheet: new fi({
3281
3281
  key: r,
3282
3282
  container: c,
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 P.sheet.hydrate(l), P;
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 qi(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 x = t[g];
3456
3456
  return x !== void 0 ? x : g;
3457
3457
  }
3458
- function Yi(e, t, r) {
3458
+ function qi(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 qi(e, t, r) {
3488
+ function Bi(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 qi(e, t, r) {
3505
3505
  kr.lastIndex = 0;
3506
3506
  for (var h = "", g; (g = kr.exec(a)) !== null; )
3507
3507
  h += "-" + g[1];
3508
- var x = Ni(a) + h;
3508
+ var x = Fi(a) + h;
3509
3509
  return {
3510
3510
  name: x,
3511
3511
  styles: a,
3512
3512
  next: ye
3513
3513
  };
3514
3514
  }
3515
- var Bi = function(t) {
3515
+ var Vi = function(t) {
3516
3516
  return t();
3517
- }, Vi = M.useInsertionEffect ? M.useInsertionEffect : !1, Xi = Vi || Bi, tn = /* @__PURE__ */ M.createContext(
3517
+ }, Xi = M.useInsertionEffect ? M.useInsertionEffect : !1, Gi = Xi || Vi, 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, c;
3562
3562
  r !== void 0 && (s = r.label, c = r.target);
3563
3563
  var l = Pr(t, r, i), u = l || Cr(a), h = !u("as");
@@ -3571,21 +3571,21 @@ var Gi = function(t) {
3571
3571
  for (var D = g.length, P = 1; P < D; P++)
3572
3572
  x.push(g[P], T[P]);
3573
3573
  }
3574
- var p = Gi(function(I, O, F) {
3574
+ var p = Ki(function(I, O, F) {
3575
3575
  var U = h && I.as || a, B = "", v = [], b = I;
3576
3576
  if (I.theme == null) {
3577
3577
  b = {};
3578
3578
  for (var w in I)
3579
3579
  b[w] = I[w];
3580
- b.theme = M.useContext(Ki);
3580
+ b.theme = M.useContext(Ji);
3581
3581
  }
3582
- typeof I.className == "string" ? B = Hi(O.registered, v, I.className) : I.className != null && (B = I.className + " ");
3583
- var E = qi(x.concat(v), O.registered, b);
3582
+ typeof I.className == "string" ? B = zi(O.registered, v, I.className) : I.className != null && (B = I.className + " ");
3583
+ var E = Bi(x.concat(v), O.registered, b);
3584
3584
  B += O.key + "-" + E.name, c !== void 0 && (B += " " + c);
3585
3585
  var y = h && l === void 0 ? Cr(U) : u, d = {};
3586
3586
  for (var k in I)
3587
3587
  h && k === "as" || y(k) && (d[k] = I[k]);
3588
- return d.className = B, F && (d.ref = F), /* @__PURE__ */ M.createElement(M.Fragment, null, /* @__PURE__ */ M.createElement(ta, {
3588
+ return d.className = B, F && (d.ref = F), /* @__PURE__ */ M.createElement(M.Fragment, null, /* @__PURE__ */ M.createElement(ra, {
3589
3589
  cache: O,
3590
3590
  serialized: E,
3591
3591
  isStringTag: typeof U == "string"
@@ -3602,7 +3602,7 @@ var Gi = function(t) {
3602
3602
  return F.apply(void 0, x);
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,
@@ -3848,8 +3848,8 @@ const ia = Pe.div`
3848
3848
  rows: 1,
3849
3849
  ...r
3850
3850
  };
3851
- const h = t.map((x, T) => /* @__PURE__ */ G.jsx(
3852
- aa,
3851
+ const h = t.map((x, T) => /* @__PURE__ */ X.jsx(
3852
+ oa,
3853
3853
  {
3854
3854
  ref: T === 0 ? l : void 0,
3855
3855
  styles: {
@@ -3876,42 +3876,76 @@ const ia = Pe.div`
3876
3876
  };
3877
3877
  return q.useEffect(() => {
3878
3878
  g();
3879
- }, [c, l]), /* @__PURE__ */ G.jsx(ia, { ref: c, styles: { ...e }, children: h.length > 0 && /* @__PURE__ */ G.jsx(si, { ...u, slidesToShow: a, children: h }) });
3880
- }, os = ({
3881
- checked: e,
3882
- onToggle: t,
3883
- styles: r,
3884
- checkedStyles: i,
3885
- customCheckedRender: a,
3886
- customUncheckedRender: s
3879
+ }, [c, l]), /* @__PURE__ */ X.jsx(aa, { ref: c, styles: { ...e }, children: h.length > 0 && /* @__PURE__ */ X.jsx(li, { ...u, slidesToShow: a, children: h }) });
3880
+ }, ss = ({
3881
+ name: e,
3882
+ checked: t,
3883
+ onToggle: r,
3884
+ styles: i,
3885
+ checkedStyles: a,
3886
+ customCheckedRender: s,
3887
+ customUncheckedRender: c
3887
3888
  }) => {
3888
- const c = e ? { ...r, ...i } : { ...r };
3889
- return /* @__PURE__ */ G.jsxs(
3889
+ const l = t ? { ...i, ...a } : { ...i };
3890
+ return /* @__PURE__ */ X.jsxs(
3890
3891
  "div",
3891
3892
  {
3892
- onClick: (l) => {
3893
- l.preventDefault(), l.stopPropagation(), t?.(!e);
3894
- },
3895
3893
  style: {
3896
- width: "25px",
3897
- height: "25px",
3898
- borderRadius: "4px",
3899
- border: "1px solid #969696ff",
3900
- background: e ? "#000000" : "#ffffff",
3901
- overflow: "hidden",
3902
- objectFit: "contain",
3903
- alignItems: "center",
3904
- justifyContent: "center",
3905
- display: "flex",
3906
- ...c
3894
+ width: "fit-content",
3895
+ height: "fit-content",
3896
+ position: "relative",
3897
+ display: "flex"
3907
3898
  },
3908
3899
  children: [
3909
- e && a,
3910
- !e && s
3900
+ /* @__PURE__ */ X.jsx(
3901
+ "input",
3902
+ {
3903
+ name: e,
3904
+ type: "checkbox",
3905
+ onChange: (u) => {
3906
+ u.stopPropagation(), r?.(u.currentTarget.checked);
3907
+ },
3908
+ checked: t,
3909
+ style: {
3910
+ appearance: "none",
3911
+ width: "25px",
3912
+ height: "25px",
3913
+ borderRadius: "4px",
3914
+ border: "1px solid #969696ff",
3915
+ background: t ? "#000000" : "#ffffff",
3916
+ overflow: "hidden",
3917
+ objectFit: "contain",
3918
+ alignItems: "center",
3919
+ justifyContent: "center",
3920
+ display: "flex",
3921
+ ...l
3922
+ }
3923
+ }
3924
+ ),
3925
+ /* @__PURE__ */ X.jsxs(
3926
+ "div",
3927
+ {
3928
+ style: {
3929
+ display: "flex",
3930
+ position: "absolute",
3931
+ top: 0,
3932
+ left: 0,
3933
+ width: "100%",
3934
+ height: "100%",
3935
+ alignItems: "center",
3936
+ justifyContent: "center",
3937
+ pointerEvents: "none"
3938
+ },
3939
+ children: [
3940
+ t && s,
3941
+ !t && c
3942
+ ]
3943
+ }
3944
+ )
3911
3945
  ]
3912
3946
  }
3913
3947
  );
3914
- }, ss = (e) => Ir(e, []), oa = () => {
3948
+ }, ls = (e) => Ir(e, []), sa = () => {
3915
3949
  const [e, t] = q.useState(
3916
3950
  {}
3917
3951
  ), [r, i] = q.useState(!1);
@@ -3930,13 +3964,13 @@ const ia = Pe.div`
3930
3964
  pointerPosition: e,
3931
3965
  isPointerDown: r
3932
3966
  };
3933
- }, sa = ({
3967
+ }, la = ({
3934
3968
  ref: e,
3935
3969
  onDrag: t,
3936
3970
  onDragStart: r,
3937
3971
  onDragEnd: i
3938
3972
  }) => {
3939
- const a = q.useRef(!1), s = q.useRef(!1), { pointerPosition: c, isPointerDown: l } = oa(), u = q.useRef({
3973
+ const a = q.useRef(!1), s = q.useRef(!1), { pointerPosition: c, isPointerDown: l } = sa(), u = q.useRef({
3940
3974
  isDragging: !1
3941
3975
  }), h = q.useCallback(
3942
3976
  (P) => {
@@ -3985,7 +4019,7 @@ const ia = Pe.div`
3985
4019
  }, [c]), q.useEffect(() => {
3986
4020
  l !== s.current && (s.current = l, l || x());
3987
4021
  }, [l, s.current]);
3988
- }, ls = () => {
4022
+ }, us = () => {
3989
4023
  const e = (l, u) => {
3990
4024
  if (!u) return l;
3991
4025
  const h = new URLSearchParams();
@@ -4029,7 +4063,7 @@ const ia = Pe.div`
4029
4063
  }
4030
4064
  };
4031
4065
  };
4032
- function us(e) {
4066
+ function cs(e) {
4033
4067
  const [t, r] = Ar(!1), i = q.useMemo(
4034
4068
  () => new IntersectionObserver(
4035
4069
  ([a]) => r(a.isIntersecting)
@@ -4038,16 +4072,16 @@ function us(e) {
4038
4072
  );
4039
4073
  return q.useEffect(() => (e?.current && i.observe(e?.current), () => i.disconnect()), [e, i.disconnect, i.observe]), t;
4040
4074
  }
4041
- const la = {
4075
+ const ua = {
4042
4076
  xs: 0,
4043
4077
  sm: 420,
4044
4078
  md: 768,
4045
4079
  lg: 991,
4046
4080
  xl: 1200,
4047
4081
  xxl: 1440
4048
- }, cs = (e) => {
4082
+ }, fs = (e) => {
4049
4083
  const t = {
4050
- ...la,
4084
+ ...ua,
4051
4085
  ...e?.breakpointConfiguration
4052
4086
  }, [r, i] = Ar(
4053
4087
  Er(t)
@@ -4057,10 +4091,10 @@ const la = {
4057
4091
  return Ir(() => (window.addEventListener("resize", a), () => {
4058
4092
  window.removeEventListener("resize", a);
4059
4093
  }), []), Hr(() => r, [r]);
4060
- }, 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) => {
4061
- const t = window.innerWidth, r = window.innerHeight, i = ua(t, e), a = ca(t, e);
4094
+ }, 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) => {
4095
+ const t = window.innerWidth, r = window.innerHeight, i = ca(t, e), a = fa(t, e);
4062
4096
  return { currentWidth: t, currentHeight: r, currentBreakpoint: i, currentSize: a };
4063
- }, fs = (e) => {
4097
+ }, ds = (e) => {
4064
4098
  const t = e.translations, r = e.language, i = (s, c) => {
4065
4099
  if (!s)
4066
4100
  return;
@@ -4083,7 +4117,7 @@ const la = {
4083
4117
  };
4084
4118
  };
4085
4119
  var Ye = {}, Rr;
4086
- function fa() {
4120
+ function da() {
4087
4121
  if (Rr) return Ye;
4088
4122
  Rr = 1, Object.defineProperty(Ye, "__esModule", { value: !0 }), Ye.parse = c, Ye.serialize = h;
4089
4123
  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__ */ (() => {
@@ -4207,7 +4241,7 @@ function fa() {
4207
4241
  }
4208
4242
  return Ye;
4209
4243
  }
4210
- fa();
4244
+ da();
4211
4245
  /**
4212
4246
  * react-router v7.6.3
4213
4247
  *
@@ -4219,7 +4253,7 @@ fa();
4219
4253
  * @license MIT
4220
4254
  */
4221
4255
  var _r = "popstate";
4222
- function da(e = {}) {
4256
+ function ha(e = {}) {
4223
4257
  function t(i, a) {
4224
4258
  let { pathname: s, search: c, hash: l } = i.location;
4225
4259
  return Ft(
@@ -4233,7 +4267,7 @@ function da(e = {}) {
4233
4267
  function r(i, a) {
4234
4268
  return typeof a == "string" ? a : Ge(a);
4235
4269
  }
4236
- return pa(
4270
+ return ma(
4237
4271
  t,
4238
4272
  r,
4239
4273
  null,
@@ -4253,7 +4287,7 @@ function ve(e, t) {
4253
4287
  }
4254
4288
  }
4255
4289
  }
4256
- function ha() {
4290
+ function pa() {
4257
4291
  return Math.random().toString(36).substring(2, 10);
4258
4292
  }
4259
4293
  function Tr(e, t) {
@@ -4274,7 +4308,7 @@ function Ft(e, t, r = null, i) {
4274
4308
  // full Locations now and avoid the need to run through this flow at all
4275
4309
  // But that's a pretty big refactor to the current test suite so going to
4276
4310
  // keep as is for the time being and just let any incoming keys take precedence
4277
- key: t && t.key || i || ha()
4311
+ key: t && t.key || i || pa()
4278
4312
  };
4279
4313
  }
4280
4314
  function Ge({
@@ -4294,7 +4328,7 @@ function Me(e) {
4294
4328
  }
4295
4329
  return t;
4296
4330
  }
4297
- function pa(e, t, r, i = {}) {
4331
+ function ma(e, t, r, i = {}) {
4298
4332
  let { window: a = document.defaultView, v5Compat: s = !1 } = i, c = a.history, l = "POP", u = null, h = g();
4299
4333
  h == null && (h = 0, c.replaceState({ ...c.state, idx: h }, ""));
4300
4334
  function g() {
@@ -4327,7 +4361,7 @@ function pa(e, t, r, i = {}) {
4327
4361
  c.replaceState(U, "", B), s && u && u({ action: l, location: p.location, delta: 0 });
4328
4362
  }
4329
4363
  function P(I) {
4330
- return ma(I);
4364
+ return va(I);
4331
4365
  }
4332
4366
  let p = {
4333
4367
  get action() {
@@ -4363,25 +4397,25 @@ function pa(e, t, r, i = {}) {
4363
4397
  };
4364
4398
  return p;
4365
4399
  }
4366
- function ma(e, t = !1) {
4400
+ function va(e, t = !1) {
4367
4401
  let r = "http://localhost";
4368
4402
  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");
4369
4403
  let i = typeof e == "string" ? e : Ge(e);
4370
4404
  return i = i.replace(/ $/, "%20"), !t && i.startsWith("//") && (i = r + i), new URL(i, r);
4371
4405
  }
4372
4406
  function rn(e, t, r = "/") {
4373
- return va(e, t, r, !1);
4407
+ return ga(e, t, r, !1);
4374
4408
  }
4375
- function va(e, t, r, i) {
4409
+ function ga(e, t, r, i) {
4376
4410
  let a = typeof t == "string" ? Me(t) : t, s = xe(a.pathname || "/", r);
4377
4411
  if (s == null)
4378
4412
  return null;
4379
4413
  let c = nn(e);
4380
- ga(c);
4414
+ ya(c);
4381
4415
  let l = null;
4382
4416
  for (let u = 0; l == null && u < c.length; ++u) {
4383
- let h = Ra(s);
4384
- l = Pa(
4417
+ let h = _a(s);
4418
+ l = Ea(
4385
4419
  c[u],
4386
4420
  h,
4387
4421
  i
@@ -4409,7 +4443,7 @@ function nn(e, t = [], r = [], i = "") {
4409
4443
  `Index routes must not have child routes. Please remove all child routes from route path "${h}".`
4410
4444
  ), nn(s.children, t, g, h)), !(s.path == null && !s.index) && t.push({
4411
4445
  path: h,
4412
- score: ka(h, s.index),
4446
+ score: Ca(h, s.index),
4413
4447
  routesMeta: g
4414
4448
  });
4415
4449
  };
@@ -4436,23 +4470,23 @@ function an(e) {
4436
4470
  (u) => e.startsWith("/") && u === "" ? "/" : u
4437
4471
  );
4438
4472
  }
4439
- function ga(e) {
4473
+ function ya(e) {
4440
4474
  e.sort(
4441
- (t, r) => t.score !== r.score ? r.score - t.score : Ca(
4475
+ (t, r) => t.score !== r.score ? r.score - t.score : Pa(
4442
4476
  t.routesMeta.map((i) => i.childrenIndex),
4443
4477
  r.routesMeta.map((i) => i.childrenIndex)
4444
4478
  )
4445
4479
  );
4446
4480
  }
4447
- var ya = /^:[\w-]+$/, ba = 3, wa = 2, Sa = 1, xa = 10, Oa = -2, jr = (e) => e === "*";
4448
- function ka(e, t) {
4481
+ var ba = /^:[\w-]+$/, wa = 3, Sa = 2, xa = 1, Oa = 10, ka = -2, jr = (e) => e === "*";
4482
+ function Ca(e, t) {
4449
4483
  let r = e.split("/"), i = r.length;
4450
- return r.some(jr) && (i += Oa), t && (i += wa), r.filter((a) => !jr(a)).reduce(
4451
- (a, s) => a + (ya.test(s) ? ba : s === "" ? Sa : xa),
4484
+ return r.some(jr) && (i += ka), t && (i += Sa), r.filter((a) => !jr(a)).reduce(
4485
+ (a, s) => a + (ba.test(s) ? wa : s === "" ? xa : Oa),
4452
4486
  i
4453
4487
  );
4454
4488
  }
4455
- function Ca(e, t) {
4489
+ function Pa(e, t) {
4456
4490
  return e.length === t.length && e.slice(0, -1).every((i, a) => i === t[a]) ? (
4457
4491
  // If two routes are siblings, we should try to match the earlier sibling
4458
4492
  // first. This allows people to have fine-grained control over the matching
@@ -4465,7 +4499,7 @@ function Ca(e, t) {
4465
4499
  0
4466
4500
  );
4467
4501
  }
4468
- function Pa(e, t, r = !1) {
4502
+ function Ea(e, t, r = !1) {
4469
4503
  let { routesMeta: i } = e, a = {}, s = "/", c = [];
4470
4504
  for (let l = 0; l < i.length; ++l) {
4471
4505
  let u = i[l], h = l === i.length - 1, g = s === "/" ? t : t.slice(s.length) || "/", x = gt(
@@ -4485,7 +4519,7 @@ function Pa(e, t, r = !1) {
4485
4519
  // TODO: Can this as be avoided?
4486
4520
  params: a,
4487
4521
  pathname: Se([s, x.pathname]),
4488
- pathnameBase: Da(
4522
+ pathnameBase: La(
4489
4523
  Se([s, x.pathnameBase])
4490
4524
  ),
4491
4525
  route: T
@@ -4495,7 +4529,7 @@ function Pa(e, t, r = !1) {
4495
4529
  }
4496
4530
  function gt(e, t) {
4497
4531
  typeof e == "string" && (e = { path: e, caseSensitive: !1, end: !0 });
4498
- let [r, i] = Ea(
4532
+ let [r, i] = Ra(
4499
4533
  e.path,
4500
4534
  e.caseSensitive,
4501
4535
  e.end
@@ -4519,7 +4553,7 @@ function gt(e, t) {
4519
4553
  pattern: e
4520
4554
  };
4521
4555
  }
4522
- function Ea(e, t = !1, r = !0) {
4556
+ function Ra(e, t = !1, r = !0) {
4523
4557
  ve(
4524
4558
  e === "*" || !e.endsWith("*") || e.endsWith("/*"),
4525
4559
  `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(/\*$/, "/*")}".`
@@ -4530,7 +4564,7 @@ function Ea(e, t = !1, r = !0) {
4530
4564
  );
4531
4565
  return e.endsWith("*") ? (i.push({ paramName: "*" }), a += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : r ? a += "\\/*$" : e !== "" && e !== "/" && (a += "(?:(?=\\/|$))"), [new RegExp(a, t ? void 0 : "i"), i];
4532
4566
  }
4533
- function Ra(e) {
4567
+ function _a(e) {
4534
4568
  try {
4535
4569
  return e.split("/").map((t) => decodeURIComponent(t).replace(/\//g, "%2F")).join("/");
4536
4570
  } catch (t) {
@@ -4547,19 +4581,19 @@ function xe(e, t) {
4547
4581
  let r = t.endsWith("/") ? t.length - 1 : t.length, i = e.charAt(r);
4548
4582
  return i && i !== "/" ? null : e.slice(r) || "/";
4549
4583
  }
4550
- function _a(e, t = "/") {
4584
+ function Ta(e, t = "/") {
4551
4585
  let {
4552
4586
  pathname: r,
4553
4587
  search: i = "",
4554
4588
  hash: a = ""
4555
4589
  } = typeof e == "string" ? Me(e) : e;
4556
4590
  return {
4557
- pathname: r ? r.startsWith("/") ? r : Ta(r, t) : t,
4558
- search: La(i),
4559
- hash: Ma(a)
4591
+ pathname: r ? r.startsWith("/") ? r : ja(r, t) : t,
4592
+ search: Ma(i),
4593
+ hash: $a(a)
4560
4594
  };
4561
4595
  }
4562
- function Ta(e, t) {
4596
+ function ja(e, t) {
4563
4597
  let r = t.replace(/\/+$/, "").split("/");
4564
4598
  return e.split("/").forEach((a) => {
4565
4599
  a === ".." ? r.length > 1 && r.pop() : a !== "." && r.push(a);
@@ -4570,13 +4604,13 @@ function $t(e, t, r, i) {
4570
4604
  i
4571
4605
  )}]. 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.`;
4572
4606
  }
4573
- function ja(e) {
4607
+ function Da(e) {
4574
4608
  return e.filter(
4575
4609
  (t, r) => r === 0 || t.route.path && t.route.path.length > 0
4576
4610
  );
4577
4611
  }
4578
4612
  function on(e) {
4579
- let t = ja(e);
4613
+ let t = Da(e);
4580
4614
  return t.map(
4581
4615
  (r, i) => i === t.length - 1 ? r.pathname : r.pathnameBase
4582
4616
  );
@@ -4606,11 +4640,11 @@ function sn(e, t, r, i = !1) {
4606
4640
  }
4607
4641
  l = x >= 0 ? t[x] : "/";
4608
4642
  }
4609
- let u = _a(a, l), h = c && c !== "/" && c.endsWith("/"), g = (s || c === ".") && r.endsWith("/");
4643
+ let u = Ta(a, l), h = c && c !== "/" && c.endsWith("/"), g = (s || c === ".") && r.endsWith("/");
4610
4644
  return !u.pathname.endsWith("/") && (h || g) && (u.pathname += "/"), u;
4611
4645
  }
4612
- var Se = (e) => e.join("/").replace(/\/\/+/g, "/"), Da = (e) => e.replace(/\/+$/, "").replace(/^\/*/, "/"), La = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Ma = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e;
4613
- function $a(e) {
4646
+ var Se = (e) => e.join("/").replace(/\/\/+/g, "/"), La = (e) => e.replace(/\/+$/, "").replace(/^\/*/, "/"), Ma = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, $a = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e;
4647
+ function Ia(e) {
4614
4648
  return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;
4615
4649
  }
4616
4650
  var ln = [
@@ -4622,11 +4656,11 @@ var ln = [
4622
4656
  new Set(
4623
4657
  ln
4624
4658
  );
4625
- var Ia = [
4659
+ var Aa = [
4626
4660
  "GET",
4627
4661
  ...ln
4628
4662
  ];
4629
- new Set(Ia);
4663
+ new Set(Aa);
4630
4664
  var $e = M.createContext(null);
4631
4665
  $e.displayName = "DataRouter";
4632
4666
  var Ot = M.createContext(null);
@@ -4635,12 +4669,12 @@ var un = M.createContext({
4635
4669
  isTransitioning: !1
4636
4670
  });
4637
4671
  un.displayName = "ViewTransition";
4638
- var Aa = M.createContext(
4672
+ var Ha = M.createContext(
4639
4673
  /* @__PURE__ */ new Map()
4640
4674
  );
4641
- Aa.displayName = "Fetchers";
4642
- var Ha = M.createContext(null);
4643
- Ha.displayName = "Await";
4675
+ Ha.displayName = "Fetchers";
4676
+ var za = M.createContext(null);
4677
+ za.displayName = "Await";
4644
4678
  var we = M.createContext(
4645
4679
  null
4646
4680
  );
@@ -4657,7 +4691,7 @@ var Oe = M.createContext({
4657
4691
  Oe.displayName = "Route";
4658
4692
  var Gt = M.createContext(null);
4659
4693
  Gt.displayName = "RouteError";
4660
- function za(e, { relative: t } = {}) {
4694
+ function Na(e, { relative: t } = {}) {
4661
4695
  ae(
4662
4696
  Qe(),
4663
4697
  // TODO: This error is probably because they somehow have 2 versions of the
@@ -4684,9 +4718,9 @@ function fn(e) {
4684
4718
  }
4685
4719
  function Kt() {
4686
4720
  let { isDataRoute: e } = M.useContext(Oe);
4687
- return e ? Za() : Na();
4721
+ return e ? Qa() : Fa();
4688
4722
  }
4689
- function Na() {
4723
+ function Fa() {
4690
4724
  ae(
4691
4725
  Qe(),
4692
4726
  // TODO: This error is probably because they somehow have 2 versions of the
@@ -4737,7 +4771,7 @@ function et(e, { relative: t } = {}) {
4737
4771
  [e, a, i, t]
4738
4772
  );
4739
4773
  }
4740
- function Fa(e, t) {
4774
+ function Wa(e, t) {
4741
4775
  return dn(e, t);
4742
4776
  }
4743
4777
  function dn(e, t, r, i) {
@@ -4780,7 +4814,7 @@ Please change the parent <Route path="${O}"> to <Route path="${O === "/" ? "*" :
4780
4814
  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,
4781
4815
  `Matched leaf route at location "${T.pathname}${T.search}${T.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.`
4782
4816
  );
4783
- let I = Ba(
4817
+ let I = Va(
4784
4818
  p && p.map(
4785
4819
  (O) => Object.assign({}, O, {
4786
4820
  params: Object.assign({}, l, O.params),
@@ -4819,14 +4853,14 @@ Please change the parent <Route path="${O}"> to <Route path="${O === "/" ? "*" :
4819
4853
  I
4820
4854
  ) : I;
4821
4855
  }
4822
- function Wa() {
4823
- 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 }, c = null;
4856
+ function Ua() {
4857
+ 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 }, c = null;
4824
4858
  return console.error(
4825
4859
  "Error handled by React Router default ErrorBoundary:",
4826
4860
  e
4827
4861
  ), c = /* @__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, c);
4828
4862
  }
4829
- var Ua = /* @__PURE__ */ M.createElement(Wa, null), Ya = class extends M.Component {
4863
+ var Ya = /* @__PURE__ */ M.createElement(Ua, null), qa = class extends M.Component {
4830
4864
  constructor(e) {
4831
4865
  super(e), this.state = {
4832
4866
  location: e.location,
@@ -4865,11 +4899,11 @@ var Ua = /* @__PURE__ */ M.createElement(Wa, null), Ya = class extends M.Compone
4865
4899
  )) : this.props.children;
4866
4900
  }
4867
4901
  };
4868
- function qa({ routeContext: e, match: t, children: r }) {
4902
+ function Ba({ routeContext: e, match: t, children: r }) {
4869
4903
  let i = M.useContext($e);
4870
4904
  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);
4871
4905
  }
4872
- function Ba(e, t = [], r = null, i = null) {
4906
+ function Va(e, t = [], r = null, i = null) {
4873
4907
  if (e == null) {
4874
4908
  if (!r)
4875
4909
  return null;
@@ -4909,7 +4943,7 @@ function Ba(e, t = [], r = null, i = null) {
4909
4943
  }
4910
4944
  return a.reduceRight((u, h, g) => {
4911
4945
  let x, T = !1, D = null, P = null;
4912
- r && (x = s && h.route.id ? s[h.route.id] : void 0, D = h.route.errorElement || Ua, c && (l < 0 && g === 0 ? (hn(
4946
+ r && (x = s && h.route.id ? s[h.route.id] : void 0, D = h.route.errorElement || Ya, c && (l < 0 && g === 0 ? (hn(
4913
4947
  "route-fallback",
4914
4948
  !1,
4915
4949
  "No `HydrateFallback` element provided to render during initial hydration"
@@ -4917,7 +4951,7 @@ function Ba(e, t = [], r = null, i = null) {
4917
4951
  let p = t.concat(a.slice(0, g + 1)), I = () => {
4918
4952
  let O;
4919
4953
  return x ? O = D : T ? O = P : h.route.Component ? O = /* @__PURE__ */ M.createElement(h.route.Component, null) : h.route.element ? O = h.route.element : O = u, /* @__PURE__ */ M.createElement(
4920
- qa,
4954
+ Ba,
4921
4955
  {
4922
4956
  match: h,
4923
4957
  routeContext: {
@@ -4930,7 +4964,7 @@ function Ba(e, t = [], r = null, i = null) {
4930
4964
  );
4931
4965
  };
4932
4966
  return r && (h.route.ErrorBoundary || h.route.errorElement || g === 0) ? /* @__PURE__ */ M.createElement(
4933
- Ya,
4967
+ qa,
4934
4968
  {
4935
4969
  location: r.location,
4936
4970
  revalidation: r.revalidation,
@@ -4945,33 +4979,33 @@ function Ba(e, t = [], r = null, i = null) {
4945
4979
  function Jt(e) {
4946
4980
  return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
4947
4981
  }
4948
- function Va(e) {
4982
+ function Xa(e) {
4949
4983
  let t = M.useContext($e);
4950
4984
  return ae(t, Jt(e)), t;
4951
4985
  }
4952
- function Xa(e) {
4986
+ function Ga(e) {
4953
4987
  let t = M.useContext(Ot);
4954
4988
  return ae(t, Jt(e)), t;
4955
4989
  }
4956
- function Ga(e) {
4990
+ function Ka(e) {
4957
4991
  let t = M.useContext(Oe);
4958
4992
  return ae(t, Jt(e)), t;
4959
4993
  }
4960
4994
  function Zt(e) {
4961
- let t = Ga(e), r = t.matches[t.matches.length - 1];
4995
+ let t = Ka(e), r = t.matches[t.matches.length - 1];
4962
4996
  return ae(
4963
4997
  r.route.id,
4964
4998
  `${e} can only be used on routes that contain a unique "id"`
4965
4999
  ), r.route.id;
4966
5000
  }
4967
- function Ka() {
5001
+ function Ja() {
4968
5002
  return Zt(
4969
5003
  "useRouteId"
4970
5004
  /* UseRouteId */
4971
5005
  );
4972
5006
  }
4973
- function Ja() {
4974
- let e = M.useContext(Gt), t = Xa(
5007
+ function Za() {
5008
+ let e = M.useContext(Gt), t = Ga(
4975
5009
  "useRouteError"
4976
5010
  /* UseRouteError */
4977
5011
  ), r = Zt(
@@ -4980,8 +5014,8 @@ function Ja() {
4980
5014
  );
4981
5015
  return e !== void 0 ? e : t.errors?.[r];
4982
5016
  }
4983
- function Za() {
4984
- let { router: e } = Va(
5017
+ function Qa() {
5018
+ let { router: e } = Xa(
4985
5019
  "useNavigate"
4986
5020
  /* UseNavigateStable */
4987
5021
  ), t = Zt(
@@ -5001,8 +5035,8 @@ var Dr = {};
5001
5035
  function hn(e, t, r) {
5002
5036
  !t && !Dr[e] && (Dr[e] = !0, ve(!1, r));
5003
5037
  }
5004
- M.memo(Qa);
5005
- function Qa({
5038
+ M.memo(eo);
5039
+ function eo({
5006
5040
  routes: e,
5007
5041
  future: t,
5008
5042
  state: r
@@ -5015,7 +5049,7 @@ function pn(e) {
5015
5049
  "A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>."
5016
5050
  );
5017
5051
  }
5018
- function eo({
5052
+ function to({
5019
5053
  basename: e = "/",
5020
5054
  children: t = null,
5021
5055
  location: r,
@@ -5061,11 +5095,11 @@ function eo({
5061
5095
  `<Router basename="${c}"> is not able to match the URL "${u}${h}${g}" because it does not start with the basename, so the <Router> won't render anything.`
5062
5096
  ), D == null ? null : /* @__PURE__ */ M.createElement(we.Provider, { value: l }, /* @__PURE__ */ M.createElement(Ze.Provider, { children: t, value: D }));
5063
5097
  }
5064
- function to({
5098
+ function ro({
5065
5099
  children: e,
5066
5100
  location: t
5067
5101
  }) {
5068
- return Fa(Wt(e), t);
5102
+ return Wa(Wt(e), t);
5069
5103
  }
5070
5104
  function Wt(e, t = []) {
5071
5105
  let r = [];
@@ -5115,22 +5149,22 @@ var ut = "get", ct = "application/x-www-form-urlencoded";
5115
5149
  function kt(e) {
5116
5150
  return e != null && typeof e.tagName == "string";
5117
5151
  }
5118
- function ro(e) {
5152
+ function no(e) {
5119
5153
  return kt(e) && e.tagName.toLowerCase() === "button";
5120
5154
  }
5121
- function no(e) {
5155
+ function io(e) {
5122
5156
  return kt(e) && e.tagName.toLowerCase() === "form";
5123
5157
  }
5124
- function io(e) {
5158
+ function ao(e) {
5125
5159
  return kt(e) && e.tagName.toLowerCase() === "input";
5126
5160
  }
5127
- function ao(e) {
5161
+ function oo(e) {
5128
5162
  return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
5129
5163
  }
5130
- function oo(e, t) {
5164
+ function so(e, t) {
5131
5165
  return e.button === 0 && // Ignore everything but left clicks
5132
5166
  (!t || t === "_self") && // Let browser handle "target=_blank" etc.
5133
- !ao(e);
5167
+ !oo(e);
5134
5168
  }
5135
5169
  function Ut(e = "") {
5136
5170
  return new URLSearchParams(
@@ -5142,7 +5176,7 @@ function Ut(e = "") {
5142
5176
  }, [])
5143
5177
  );
5144
5178
  }
5145
- function so(e, t) {
5179
+ function lo(e, t) {
5146
5180
  let r = Ut(e);
5147
5181
  return t && t.forEach((i, a) => {
5148
5182
  r.has(a) || t.getAll(a).forEach((s) => {
@@ -5151,7 +5185,7 @@ function so(e, t) {
5151
5185
  }), r;
5152
5186
  }
5153
5187
  var at = null;
5154
- function lo() {
5188
+ function uo() {
5155
5189
  if (at === null)
5156
5190
  try {
5157
5191
  new FormData(
@@ -5164,30 +5198,30 @@ function lo() {
5164
5198
  }
5165
5199
  return at;
5166
5200
  }
5167
- var uo = /* @__PURE__ */ new Set([
5201
+ var co = /* @__PURE__ */ new Set([
5168
5202
  "application/x-www-form-urlencoded",
5169
5203
  "multipart/form-data",
5170
5204
  "text/plain"
5171
5205
  ]);
5172
5206
  function It(e) {
5173
- return e != null && !uo.has(e) ? (ve(
5207
+ return e != null && !co.has(e) ? (ve(
5174
5208
  !1,
5175
5209
  `"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${ct}"`
5176
5210
  ), null) : e;
5177
5211
  }
5178
- function co(e, t) {
5212
+ function fo(e, t) {
5179
5213
  let r, i, a, s, c;
5180
- if (no(e)) {
5214
+ if (io(e)) {
5181
5215
  let l = e.getAttribute("action");
5182
5216
  i = l ? xe(l, t) : null, r = e.getAttribute("method") || ut, a = It(e.getAttribute("enctype")) || ct, s = new FormData(e);
5183
- } else if (ro(e) || io(e) && (e.type === "submit" || e.type === "image")) {
5217
+ } else if (no(e) || ao(e) && (e.type === "submit" || e.type === "image")) {
5184
5218
  let l = e.form;
5185
5219
  if (l == null)
5186
5220
  throw new Error(
5187
5221
  'Cannot submit a <button> or <input type="submit"> without a <form>'
5188
5222
  );
5189
5223
  let u = e.getAttribute("formaction") || l.getAttribute("action");
5190
- 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()) {
5224
+ 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()) {
5191
5225
  let { name: h, type: g, value: x } = e;
5192
5226
  if (g === "image") {
5193
5227
  let T = h ? `${h}.` : "";
@@ -5207,7 +5241,7 @@ function Qt(e, t) {
5207
5241
  if (e === !1 || e === null || typeof e > "u")
5208
5242
  throw new Error(t);
5209
5243
  }
5210
- async function fo(e, t) {
5244
+ async function ho(e, t) {
5211
5245
  if (e.id in t)
5212
5246
  return t[e.id];
5213
5247
  try {
@@ -5224,22 +5258,22 @@ async function fo(e, t) {
5224
5258
  });
5225
5259
  }
5226
5260
  }
5227
- function ho(e) {
5261
+ function po(e) {
5228
5262
  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";
5229
5263
  }
5230
- async function po(e, t, r) {
5264
+ async function mo(e, t, r) {
5231
5265
  let i = await Promise.all(
5232
5266
  e.map(async (a) => {
5233
5267
  let s = t.routes[a.route.id];
5234
5268
  if (s) {
5235
- let c = await fo(s, r);
5269
+ let c = await ho(s, r);
5236
5270
  return c.links ? c.links() : [];
5237
5271
  }
5238
5272
  return [];
5239
5273
  })
5240
5274
  );
5241
- return yo(
5242
- i.flat(1).filter(ho).filter((a) => a.rel === "stylesheet" || a.rel === "preload").map(
5275
+ return bo(
5276
+ i.flat(1).filter(po).filter((a) => a.rel === "stylesheet" || a.rel === "preload").map(
5243
5277
  (a) => a.rel === "stylesheet" ? { ...a, rel: "prefetch", as: "style" } : { ...a, rel: "prefetch" }
5244
5278
  )
5245
5279
  );
@@ -5276,8 +5310,8 @@ function Lr(e, t, r, i, a, s) {
5276
5310
  return !0;
5277
5311
  }) : [];
5278
5312
  }
5279
- function mo(e, t, { includeHydrateFallback: r } = {}) {
5280
- return vo(
5313
+ function vo(e, t, { includeHydrateFallback: r } = {}) {
5314
+ return go(
5281
5315
  e.map((i) => {
5282
5316
  let a = t.routes[i.route.id];
5283
5317
  if (!a) return [];
@@ -5286,25 +5320,25 @@ function mo(e, t, { includeHydrateFallback: r } = {}) {
5286
5320
  }).flat(1)
5287
5321
  );
5288
5322
  }
5289
- function vo(e) {
5323
+ function go(e) {
5290
5324
  return [...new Set(e)];
5291
5325
  }
5292
- function go(e) {
5326
+ function yo(e) {
5293
5327
  let t = {}, r = Object.keys(e).sort();
5294
5328
  for (let i of r)
5295
5329
  t[i] = e[i];
5296
5330
  return t;
5297
5331
  }
5298
- function yo(e, t) {
5332
+ function bo(e, t) {
5299
5333
  let r = /* @__PURE__ */ new Set();
5300
5334
  return new Set(t), e.reduce((i, a) => {
5301
- let s = JSON.stringify(go(a));
5335
+ let s = JSON.stringify(yo(a));
5302
5336
  return r.has(s) || (r.add(s), i.push({ key: s, link: a })), i;
5303
5337
  }, []);
5304
5338
  }
5305
5339
  Object.getOwnPropertyNames(Object.prototype).sort().join("\0");
5306
- var bo = /* @__PURE__ */ new Set([100, 101, 204, 205]);
5307
- function wo(e, t) {
5340
+ var wo = /* @__PURE__ */ new Set([100, 101, 204, 205]);
5341
+ function So(e, t) {
5308
5342
  let r = typeof e == "string" ? new URL(
5309
5343
  e,
5310
5344
  // This can be called during the SSR flow via PrefetchPageLinksImpl so
@@ -5320,7 +5354,7 @@ function mn() {
5320
5354
  "You must render this element inside a <DataRouterContext.Provider> element"
5321
5355
  ), e;
5322
5356
  }
5323
- function So() {
5357
+ function xo() {
5324
5358
  let e = M.useContext(Ot);
5325
5359
  return Qt(
5326
5360
  e,
@@ -5336,7 +5370,7 @@ function vn() {
5336
5370
  "You must render this element inside a <HydratedRouter> element"
5337
5371
  ), e;
5338
5372
  }
5339
- function xo(e, t) {
5373
+ function Oo(e, t) {
5340
5374
  let r = M.useContext(er), [i, a] = M.useState(!1), [s, c] = M.useState(!1), { onFocus: l, onBlur: u, onMouseEnter: h, onMouseLeave: g, onTouchStart: x } = t, T = M.useRef(null);
5341
5375
  M.useEffect(() => {
5342
5376
  if (e === "render" && c(!0), e === "viewport") {
@@ -5381,7 +5415,7 @@ function qe(e, t) {
5381
5415
  e && e(r), r.defaultPrevented || t(r);
5382
5416
  };
5383
5417
  }
5384
- function Oo({
5418
+ function ko({
5385
5419
  page: e,
5386
5420
  ...t
5387
5421
  }) {
@@ -5389,13 +5423,13 @@ function Oo({
5389
5423
  () => rn(r.routes, e, r.basename),
5390
5424
  [r.routes, e, r.basename]
5391
5425
  );
5392
- return i ? /* @__PURE__ */ M.createElement(Co, { page: e, matches: i, ...t }) : null;
5426
+ return i ? /* @__PURE__ */ M.createElement(Po, { page: e, matches: i, ...t }) : null;
5393
5427
  }
5394
- function ko(e) {
5428
+ function Co(e) {
5395
5429
  let { manifest: t, routeModules: r } = vn(), [i, a] = M.useState([]);
5396
5430
  return M.useEffect(() => {
5397
5431
  let s = !1;
5398
- return po(e, t, r).then(
5432
+ return mo(e, t, r).then(
5399
5433
  (c) => {
5400
5434
  s || a(c);
5401
5435
  }
@@ -5404,12 +5438,12 @@ function ko(e) {
5404
5438
  };
5405
5439
  }, [e, t, r]), i;
5406
5440
  }
5407
- function Co({
5441
+ function Po({
5408
5442
  page: e,
5409
5443
  matches: t,
5410
5444
  ...r
5411
5445
  }) {
5412
- let i = ke(), { manifest: a, routeModules: s } = vn(), { basename: c } = mn(), { loaderData: l, matches: u } = So(), h = M.useMemo(
5446
+ let i = ke(), { manifest: a, routeModules: s } = vn(), { basename: c } = mn(), { loaderData: l, matches: u } = xo(), h = M.useMemo(
5413
5447
  () => Lr(
5414
5448
  e,
5415
5449
  t,
@@ -5438,7 +5472,7 @@ function Co({
5438
5472
  !F || !F.hasLoader || (!h.some((U) => U.route.id === O.route.id) && O.route.id in l && s[O.route.id]?.shouldRevalidate || F.hasClientLoader ? p = !0 : P.add(O.route.id));
5439
5473
  }), P.size === 0)
5440
5474
  return [];
5441
- let I = wo(e, c);
5475
+ let I = So(e, c);
5442
5476
  return p && P.size > 0 && I.searchParams.set(
5443
5477
  "_routes",
5444
5478
  t.filter((O) => P.has(O.route.id)).map((O) => O.route.id).join(",")
@@ -5453,16 +5487,16 @@ function Co({
5453
5487
  e,
5454
5488
  s
5455
5489
  ]), T = M.useMemo(
5456
- () => mo(g, a),
5490
+ () => vo(g, a),
5457
5491
  [g, a]
5458
- ), D = ko(g);
5492
+ ), D = Co(g);
5459
5493
  return /* @__PURE__ */ M.createElement(M.Fragment, null, x.map((P) => /* @__PURE__ */ M.createElement("link", { key: P, rel: "prefetch", as: "fetch", href: P, ...r })), T.map((P) => /* @__PURE__ */ M.createElement("link", { key: P, rel: "modulepreload", href: P, ...r })), D.map(({ key: P, link: p }) => (
5460
5494
  // these don't spread `linkProps` because they are full link descriptors
5461
5495
  // already with their own props
5462
5496
  /* @__PURE__ */ M.createElement("link", { key: P, ...p })
5463
5497
  )));
5464
5498
  }
5465
- function Po(...e) {
5499
+ function Eo(...e) {
5466
5500
  return (t) => {
5467
5501
  e.forEach((r) => {
5468
5502
  typeof r == "function" ? r(t) : r != null && (r.current = t);
@@ -5474,13 +5508,13 @@ try {
5474
5508
  gn && (window.__reactRouterVersion = "7.6.3");
5475
5509
  } catch {
5476
5510
  }
5477
- function Eo({
5511
+ function Ro({
5478
5512
  basename: e,
5479
5513
  children: t,
5480
5514
  window: r
5481
5515
  }) {
5482
5516
  let i = M.useRef();
5483
- i.current == null && (i.current = da({ window: r, v5Compat: !0 }));
5517
+ i.current == null && (i.current = ha({ window: r, v5Compat: !0 }));
5484
5518
  let a = i.current, [s, c] = M.useState({
5485
5519
  action: a.action,
5486
5520
  location: a.location
@@ -5491,7 +5525,7 @@ function Eo({
5491
5525
  [c]
5492
5526
  );
5493
5527
  return M.useLayoutEffect(() => a.listen(l), [a, l]), /* @__PURE__ */ M.createElement(
5494
- eo,
5528
+ to,
5495
5529
  {
5496
5530
  basename: e,
5497
5531
  children: t,
@@ -5527,10 +5561,10 @@ var yn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, bn = M.forwardRef(
5527
5561
  `<Link to="${h}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`
5528
5562
  );
5529
5563
  }
5530
- let F = za(h, { relative: a }), [U, B, v] = xo(
5564
+ let F = Na(h, { relative: a }), [U, B, v] = Oo(
5531
5565
  i,
5532
5566
  T
5533
- ), b = jo(h, {
5567
+ ), b = Do(h, {
5534
5568
  replace: c,
5535
5569
  state: l,
5536
5570
  target: u,
@@ -5550,17 +5584,17 @@ var yn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, bn = M.forwardRef(
5550
5584
  ...v,
5551
5585
  href: I || F,
5552
5586
  onClick: O || s ? t : w,
5553
- ref: Po(D, B),
5587
+ ref: Eo(D, B),
5554
5588
  target: u,
5555
5589
  "data-discover": !p && r === "render" ? "true" : void 0
5556
5590
  }
5557
5591
  )
5558
5592
  );
5559
- return U && !p ? /* @__PURE__ */ M.createElement(M.Fragment, null, E, /* @__PURE__ */ M.createElement(Oo, { page: F })) : E;
5593
+ return U && !p ? /* @__PURE__ */ M.createElement(M.Fragment, null, E, /* @__PURE__ */ M.createElement(ko, { page: F })) : E;
5560
5594
  }
5561
5595
  );
5562
5596
  bn.displayName = "Link";
5563
- var Ro = M.forwardRef(
5597
+ var _o = M.forwardRef(
5564
5598
  function({
5565
5599
  "aria-current": t = "page",
5566
5600
  caseSensitive: r = !1,
@@ -5574,7 +5608,7 @@ var Ro = M.forwardRef(
5574
5608
  }, g) {
5575
5609
  let x = et(c, { relative: h.relative }), T = ke(), D = M.useContext(Ot), { navigator: P, basename: p } = M.useContext(we), I = D != null && // Conditional usage is OK here because the usage of a data router is static
5576
5610
  // eslint-disable-next-line react-hooks/rules-of-hooks
5577
- Ao(x) && l === !0, O = P.encodeLocation ? P.encodeLocation(x).pathname : x.pathname, F = T.pathname, U = D && D.navigation && D.navigation.location ? D.navigation.location.pathname : null;
5611
+ Ho(x) && l === !0, O = P.encodeLocation ? P.encodeLocation(x).pathname : x.pathname, F = T.pathname, U = D && D.navigation && D.navigation.location ? D.navigation.location.pathname : null;
5578
5612
  r || (F = F.toLowerCase(), U = U ? U.toLowerCase() : null, O = O.toLowerCase()), U && p && (U = xe(U, p) || U);
5579
5613
  const B = O !== "/" && O.endsWith("/") ? O.length - 1 : O.length;
5580
5614
  let v = F === O || !a && F.startsWith(O) && F.charAt(B) === "/", b = U != null && (U === O || !a && U.startsWith(O) && U.charAt(O.length) === "/"), w = {
@@ -5604,8 +5638,8 @@ var Ro = M.forwardRef(
5604
5638
  );
5605
5639
  }
5606
5640
  );
5607
- Ro.displayName = "NavLink";
5608
- var _o = M.forwardRef(
5641
+ _o.displayName = "NavLink";
5642
+ var To = M.forwardRef(
5609
5643
  ({
5610
5644
  discover: e = "render",
5611
5645
  fetcherKey: t,
@@ -5621,7 +5655,7 @@ var _o = M.forwardRef(
5621
5655
  viewTransition: x,
5622
5656
  ...T
5623
5657
  }, D) => {
5624
- let P = $o(), p = Io(l, { relative: h }), I = c.toLowerCase() === "get" ? "get" : "post", O = typeof l == "string" && yn.test(l), F = (U) => {
5658
+ let P = Io(), p = Ao(l, { relative: h }), I = c.toLowerCase() === "get" ? "get" : "post", O = typeof l == "string" && yn.test(l), F = (U) => {
5625
5659
  if (u && u(U), U.defaultPrevented) return;
5626
5660
  U.preventDefault();
5627
5661
  let B = U.nativeEvent.submitter, v = B?.getAttribute("formmethod") || c;
@@ -5649,15 +5683,15 @@ var _o = M.forwardRef(
5649
5683
  );
5650
5684
  }
5651
5685
  );
5652
- _o.displayName = "Form";
5653
- function To(e) {
5686
+ To.displayName = "Form";
5687
+ function jo(e) {
5654
5688
  return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
5655
5689
  }
5656
5690
  function wn(e) {
5657
5691
  let t = M.useContext($e);
5658
- return ae(t, To(e)), t;
5692
+ return ae(t, jo(e)), t;
5659
5693
  }
5660
- function jo(e, {
5694
+ function Do(e, {
5661
5695
  target: t,
5662
5696
  replace: r,
5663
5697
  state: i,
@@ -5668,7 +5702,7 @@ function jo(e, {
5668
5702
  let l = Kt(), u = ke(), h = et(e, { relative: s });
5669
5703
  return M.useCallback(
5670
5704
  (g) => {
5671
- if (oo(g, t)) {
5705
+ if (so(g, t)) {
5672
5706
  g.preventDefault();
5673
5707
  let x = r !== void 0 ? r : Ge(u) === Ge(h);
5674
5708
  l(e, {
@@ -5694,7 +5728,7 @@ function jo(e, {
5694
5728
  ]
5695
5729
  );
5696
5730
  }
5697
- function Do(e) {
5731
+ function Lo(e) {
5698
5732
  ve(
5699
5733
  typeof URLSearchParams < "u",
5700
5734
  "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."
@@ -5704,7 +5738,7 @@ function Do(e) {
5704
5738
  // Only merge in the defaults if we haven't yet called setSearchParams.
5705
5739
  // Once we call that we want those to take precedence, otherwise you can't
5706
5740
  // remove a param with setSearchParams({}) if it has an initial value
5707
- so(
5741
+ lo(
5708
5742
  i.search,
5709
5743
  r.current ? null : t.current
5710
5744
  )
@@ -5721,20 +5755,20 @@ function Do(e) {
5721
5755
  );
5722
5756
  return [a, c];
5723
5757
  }
5724
- var Lo = 0, Mo = () => `__${String(++Lo)}__`;
5725
- function $o() {
5758
+ var Mo = 0, $o = () => `__${String(++Mo)}__`;
5759
+ function Io() {
5726
5760
  let { router: e } = wn(
5727
5761
  "useSubmit"
5728
5762
  /* UseSubmit */
5729
- ), { basename: t } = M.useContext(we), r = Ka();
5763
+ ), { basename: t } = M.useContext(we), r = Ja();
5730
5764
  return M.useCallback(
5731
5765
  async (i, a = {}) => {
5732
- let { action: s, method: c, encType: l, formData: u, body: h } = co(
5766
+ let { action: s, method: c, encType: l, formData: u, body: h } = fo(
5733
5767
  i,
5734
5768
  t
5735
5769
  );
5736
5770
  if (a.navigate === !1) {
5737
- let g = a.fetcherKey || Mo();
5771
+ let g = a.fetcherKey || $o();
5738
5772
  await e.fetch(g, r, a.action || s, {
5739
5773
  preventScrollReset: a.preventScrollReset,
5740
5774
  formData: u,
@@ -5760,7 +5794,7 @@ function $o() {
5760
5794
  [e, t, r]
5761
5795
  );
5762
5796
  }
5763
- function Io(e, { relative: t } = {}) {
5797
+ function Ao(e, { relative: t } = {}) {
5764
5798
  let { basename: r } = M.useContext(we), i = M.useContext(Oe);
5765
5799
  ae(i, "useFormAction must be used inside a RouteContext");
5766
5800
  let [a] = i.matches.slice(-1), s = { ...et(e || ".", { relative: t }) }, c = ke();
@@ -5775,7 +5809,7 @@ function Io(e, { relative: t } = {}) {
5775
5809
  }
5776
5810
  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);
5777
5811
  }
5778
- function Ao(e, t = {}) {
5812
+ function Ho(e, t = {}) {
5779
5813
  let r = M.useContext(un);
5780
5814
  ae(
5781
5815
  r != null,
@@ -5791,7 +5825,7 @@ function Ao(e, t = {}) {
5791
5825
  return gt(a.pathname, c) != null || gt(a.pathname, s) != null;
5792
5826
  }
5793
5827
  [
5794
- ...bo
5828
+ ...wo
5795
5829
  ];
5796
5830
  const Sn = q.createContext({
5797
5831
  history: [],
@@ -5800,8 +5834,8 @@ const Sn = q.createContext({
5800
5834
  popFromHistory: () => "",
5801
5835
  replaceHistory: () => {
5802
5836
  }
5803
- }), Ho = () => {
5804
- const [e, t] = Do(), r = Hr(
5837
+ }), zo = () => {
5838
+ const [e, t] = Lo(), r = Hr(
5805
5839
  () => Object.fromEntries(e.entries()),
5806
5840
  [e]
5807
5841
  ), i = _e(
@@ -5856,8 +5890,8 @@ const Sn = q.createContext({
5856
5890
  remove: l,
5857
5891
  removeMany: u
5858
5892
  };
5859
- }, ds = () => {
5860
- const e = Kt(), t = ke(), r = Ho(), i = Yt(Sn), a = (l) => {
5893
+ }, hs = () => {
5894
+ const e = Kt(), t = ke(), r = zo(), i = Yt(Sn), a = (l) => {
5861
5895
  const u = new URL(l.path, "http://dummy-base");
5862
5896
  return l.params && Object.entries(l.params).forEach(([h, g]) => {
5863
5897
  g != null && u.searchParams.set(h, String(g));
@@ -5882,7 +5916,7 @@ const Sn = q.createContext({
5882
5916
  goBack: c,
5883
5917
  goTo: s
5884
5918
  };
5885
- }, hs = ({
5919
+ }, ps = ({
5886
5920
  isReady: e = !0,
5887
5921
  routes: t,
5888
5922
  children: r
@@ -5900,8 +5934,8 @@ const Sn = q.createContext({
5900
5934
  ), T = D[D.length - 1]), c(D), T);
5901
5935
  }, h = (x) => {
5902
5936
  c(x);
5903
- }, g = t.map((x) => /* @__PURE__ */ G.jsx(pn, { path: x.path, element: x.render }));
5904
- return /* @__PURE__ */ G.jsx(
5937
+ }, g = t.map((x) => /* @__PURE__ */ X.jsx(pn, { path: x.path, element: x.render }));
5938
+ return /* @__PURE__ */ X.jsx(
5905
5939
  Sn.Provider,
5906
5940
  {
5907
5941
  value: {
@@ -5910,9 +5944,9 @@ const Sn = q.createContext({
5910
5944
  popFromHistory: u,
5911
5945
  replaceHistory: h
5912
5946
  },
5913
- children: /* @__PURE__ */ G.jsx(Eo, { children: e && /* @__PURE__ */ G.jsxs(G.Fragment, { children: [
5947
+ children: /* @__PURE__ */ X.jsx(Ro, { children: e && /* @__PURE__ */ X.jsxs(X.Fragment, { children: [
5914
5948
  r,
5915
- /* @__PURE__ */ G.jsx(to, { children: g })
5949
+ /* @__PURE__ */ X.jsx(ro, { children: g })
5916
5950
  ] }) })
5917
5951
  }
5918
5952
  );
@@ -5925,7 +5959,7 @@ const Sn = q.createContext({
5925
5959
  hideItem: () => {
5926
5960
  }
5927
5961
  }
5928
- ), ps = ({ children: e }) => {
5962
+ ), ms = ({ children: e }) => {
5929
5963
  const t = q.useRef([]), [r, i] = q.useState([]), a = q.useCallback((u) => {
5930
5964
  t.current = u, i(u);
5931
5965
  }, []), s = q.useCallback((u) => t.current.some((h) => h === u), []), c = q.useCallback(
@@ -5941,7 +5975,7 @@ const Sn = q.createContext({
5941
5975
  },
5942
5976
  [s, a]
5943
5977
  );
5944
- return /* @__PURE__ */ G.jsx(
5978
+ return /* @__PURE__ */ X.jsx(
5945
5979
  xn.Provider,
5946
5980
  {
5947
5981
  value: {
@@ -5965,7 +5999,7 @@ const Sn = q.createContext({
5965
5999
  showItem: r,
5966
6000
  hideItem: i
5967
6001
  };
5968
- }, zo = ({
6002
+ }, No = ({
5969
6003
  id: e,
5970
6004
  onCloseDrawer: t,
5971
6005
  drawerCloseOffset: r = 15
@@ -5977,7 +6011,7 @@ const Sn = q.createContext({
5977
6011
  }, T = (P) => {
5978
6012
  s(P), g(0);
5979
6013
  };
5980
- return sa({
6014
+ return la({
5981
6015
  ref: u,
5982
6016
  onDrag: (P) => {
5983
6017
  s(P);
@@ -5993,15 +6027,15 @@ const Sn = q.createContext({
5993
6027
  drawerBottomDistance: h,
5994
6028
  handleRef: u
5995
6029
  };
5996
- }, ms = (e) => {
6030
+ }, vs = (e) => {
5997
6031
  const { children: t, backgroundStyles: r, contentStyles: i, handle: a } = e, {
5998
6032
  isVisible: s,
5999
6033
  drawerParentRef: c,
6000
6034
  drawerRef: l,
6001
6035
  handleRef: u,
6002
6036
  drawerBottomDistance: h
6003
- } = zo(e);
6004
- return /* @__PURE__ */ G.jsx(G.Fragment, { children: s && /* @__PURE__ */ G.jsx(
6037
+ } = No(e);
6038
+ return /* @__PURE__ */ X.jsx(X.Fragment, { children: s && /* @__PURE__ */ X.jsx(
6005
6039
  "div",
6006
6040
  {
6007
6041
  ref: c,
@@ -6019,7 +6053,7 @@ const Sn = q.createContext({
6019
6053
  touchAction: "none",
6020
6054
  ...r
6021
6055
  },
6022
- children: /* @__PURE__ */ G.jsxs(
6056
+ children: /* @__PURE__ */ X.jsxs(
6023
6057
  "div",
6024
6058
  {
6025
6059
  ref: l,
@@ -6045,7 +6079,7 @@ const Sn = q.createContext({
6045
6079
  g.stopPropagation();
6046
6080
  },
6047
6081
  children: [
6048
- /* @__PURE__ */ G.jsx(
6082
+ /* @__PURE__ */ X.jsx(
6049
6083
  "div",
6050
6084
  {
6051
6085
  ref: u,
@@ -6069,7 +6103,7 @@ const Sn = q.createContext({
6069
6103
  )
6070
6104
  }
6071
6105
  ) });
6072
- }, No = ({ onSubmit: e, fields: t }) => {
6106
+ }, Fo = ({ onSubmit: e, fields: t }) => {
6073
6107
  const r = q.useRef(null), i = q.useCallback(
6074
6108
  (c) => {
6075
6109
  const l = Array.from(c.currentTarget.elements).filter(
@@ -6100,7 +6134,7 @@ const Sn = q.createContext({
6100
6134
  },
6101
6135
  handleFormSubmission: a
6102
6136
  };
6103
- }, Fo = Pe.div`
6137
+ }, Wo = Pe.div`
6104
6138
  display: flex;
6105
6139
  width: 100%;
6106
6140
  align-items: center;
@@ -6115,9 +6149,9 @@ const Sn = q.createContext({
6115
6149
  > * {
6116
6150
  pointer-events: none;
6117
6151
  }
6118
- `, vs = (e) => {
6119
- const { fields: t, styles: r, submitButton: i } = e, { ref: a, handleFormSubmission: s, submitForm: c } = No(e), l = q.useCallback(() => t.list.map((u) => ({ ...u.content, key: u.name })), [t]);
6120
- return /* @__PURE__ */ G.jsxs(
6152
+ `, gs = (e) => {
6153
+ const { fields: t, styles: r, submitButton: i } = e, { ref: a, handleFormSubmission: s, submitForm: c } = Fo(e), l = q.useCallback(() => t.list.map((u) => ({ ...u.content, key: u.name })), [t]);
6154
+ return /* @__PURE__ */ X.jsxs(
6121
6155
  "form",
6122
6156
  {
6123
6157
  ref: a,
@@ -6131,7 +6165,7 @@ const Sn = q.createContext({
6131
6165
  ...r
6132
6166
  },
6133
6167
  children: [
6134
- /* @__PURE__ */ G.jsx(
6168
+ /* @__PURE__ */ X.jsx(
6135
6169
  "div",
6136
6170
  {
6137
6171
  style: {
@@ -6145,8 +6179,8 @@ const Sn = q.createContext({
6145
6179
  children: l()
6146
6180
  }
6147
6181
  ),
6148
- /* @__PURE__ */ G.jsx(
6149
- Fo,
6182
+ /* @__PURE__ */ X.jsx(
6183
+ Wo,
6150
6184
  {
6151
6185
  onClick: c,
6152
6186
  styles: {
@@ -6158,7 +6192,7 @@ const Sn = q.createContext({
6158
6192
  ]
6159
6193
  }
6160
6194
  );
6161
- }, gs = ({ src: e, alt: t = "", onClick: r, styles: i }) => /* @__PURE__ */ G.jsx(
6195
+ }, ys = ({ src: e, alt: t = "", onClick: r, styles: i }) => /* @__PURE__ */ X.jsx(
6162
6196
  "img",
6163
6197
  {
6164
6198
  src: e,
@@ -6177,7 +6211,7 @@ const Sn = q.createContext({
6177
6211
  r?.();
6178
6212
  }
6179
6213
  }
6180
- ), Wo = (e) => ({
6214
+ ), Uo = (e) => ({
6181
6215
  handleOnBlur: (a) => {
6182
6216
  e.onBlur?.();
6183
6217
  },
@@ -6187,7 +6221,7 @@ const Sn = q.createContext({
6187
6221
  onValueChanged: (a) => {
6188
6222
  e.onChange?.(a.currentTarget.value);
6189
6223
  }
6190
- }), Uo = Pe.div`
6224
+ }), Yo = Pe.div`
6191
6225
  display: flex;
6192
6226
  flex-direction: column;
6193
6227
  font-family: inherit;
@@ -6205,8 +6239,8 @@ const Sn = q.createContext({
6205
6239
  input:-webkit-autofill {
6206
6240
  background-color: #00000000;
6207
6241
  }
6208
- `, Yo = (e) => {
6209
- const { onValueChanged: t, handleOnBlur: r, handleOnFocus: i } = Wo(e), {
6242
+ `, qo = (e) => {
6243
+ const { onValueChanged: t, handleOnBlur: r, handleOnFocus: i } = Uo(e), {
6210
6244
  name: a,
6211
6245
  label: s,
6212
6246
  leftIcon: c,
@@ -6225,8 +6259,8 @@ const Sn = q.createContext({
6225
6259
  pattern: U,
6226
6260
  onInput: B
6227
6261
  } = e;
6228
- return /* @__PURE__ */ G.jsxs(
6229
- Uo,
6262
+ return /* @__PURE__ */ X.jsxs(
6263
+ Yo,
6230
6264
  {
6231
6265
  style: {
6232
6266
  width: "100%",
@@ -6236,7 +6270,7 @@ const Sn = q.createContext({
6236
6270
  },
6237
6271
  children: [
6238
6272
  s,
6239
- /* @__PURE__ */ G.jsxs(
6273
+ /* @__PURE__ */ X.jsxs(
6240
6274
  "div",
6241
6275
  {
6242
6276
  style: {
@@ -6261,7 +6295,7 @@ const Sn = q.createContext({
6261
6295
  },
6262
6296
  children: [
6263
6297
  c,
6264
- /* @__PURE__ */ G.jsx(
6298
+ /* @__PURE__ */ X.jsx(
6265
6299
  "input",
6266
6300
  {
6267
6301
  name: a,
@@ -6300,9 +6334,9 @@ const Sn = q.createContext({
6300
6334
  ]
6301
6335
  }
6302
6336
  );
6303
- }, ys = ({ id: e, styles: t, children: r }) => {
6337
+ }, bs = ({ id: e, styles: t, children: r }) => {
6304
6338
  const { isItemVisible: i } = Ct();
6305
- return /* @__PURE__ */ G.jsx(G.Fragment, { children: i(e) && /* @__PURE__ */ G.jsx(
6339
+ return /* @__PURE__ */ X.jsx(X.Fragment, { children: i(e) && /* @__PURE__ */ X.jsx(
6306
6340
  "div",
6307
6341
  {
6308
6342
  style: {
@@ -6321,7 +6355,7 @@ const Sn = q.createContext({
6321
6355
  children: r
6322
6356
  }
6323
6357
  ) });
6324
- }, bs = ({
6358
+ }, ws = ({
6325
6359
  id: e,
6326
6360
  children: t,
6327
6361
  backgroundStyles: r,
@@ -6329,7 +6363,7 @@ const Sn = q.createContext({
6329
6363
  onClickOutsideModal: a
6330
6364
  }) => {
6331
6365
  const { isItemVisible: s } = Ct();
6332
- return /* @__PURE__ */ G.jsx(G.Fragment, { children: s(e) && /* @__PURE__ */ G.jsx(
6366
+ return /* @__PURE__ */ X.jsx(X.Fragment, { children: s(e) && /* @__PURE__ */ X.jsx(
6333
6367
  "div",
6334
6368
  {
6335
6369
  style: {
@@ -6351,7 +6385,7 @@ const Sn = q.createContext({
6351
6385
  onClick: () => {
6352
6386
  a?.();
6353
6387
  },
6354
- children: /* @__PURE__ */ G.jsx(
6388
+ children: /* @__PURE__ */ X.jsx(
6355
6389
  "div",
6356
6390
  {
6357
6391
  style: {
@@ -6379,8 +6413,8 @@ const Sn = q.createContext({
6379
6413
  )
6380
6414
  }
6381
6415
  ) });
6382
- }, qo = (e) => {
6383
- const t = Cn("");
6416
+ }, Bo = (e) => {
6417
+ const t = Pn("");
6384
6418
  function r(l) {
6385
6419
  return e.allowNegatives ? (l = l.replace(/-/g, (u, h) => h === 0 ? "-" : ""), l.indexOf("-") > 0 && (l = l.replace(/-/g, ""), l = "-" + l)) : l = l.replace(/-/g, ""), l;
6386
6420
  }
@@ -6416,20 +6450,20 @@ const Sn = q.createContext({
6416
6450
  onInput: s
6417
6451
  }), [])()
6418
6452
  };
6419
- }, ws = ({
6453
+ }, Ss = ({
6420
6454
  allowNegatives: e = !0,
6421
6455
  allowDecimals: t = !0,
6422
6456
  decimalScale: r = 2,
6423
6457
  ...i
6424
6458
  }) => {
6425
- const { props: a } = qo({
6459
+ const { props: a } = Bo({
6426
6460
  allowNegatives: e,
6427
6461
  allowDecimals: t,
6428
6462
  decimalScale: r,
6429
6463
  ...i
6430
6464
  });
6431
- return /* @__PURE__ */ G.jsx(Yo, { type: "text", ...a });
6432
- }, Bo = (e) => {
6465
+ return /* @__PURE__ */ X.jsx(qo, { type: "text", ...a });
6466
+ }, Vo = (e) => {
6433
6467
  const t = q.useRef(null), r = q.useRef(null), [i, a] = q.useState(24), [s, c] = q.useState(24), l = q.useCallback(() => {
6434
6468
  t.current && a(t.current.clientHeight);
6435
6469
  }, [t, t.current]), u = q.useCallback(() => {
@@ -6459,7 +6493,7 @@ const Sn = q.createContext({
6459
6493
  extraHeight: h()
6460
6494
  }
6461
6495
  };
6462
- }, Vo = Pe.div`
6496
+ }, Xo = Pe.div`
6463
6497
  min-height: 100%;
6464
6498
  max-height: 100%;
6465
6499
  width: 100%;
@@ -6479,7 +6513,7 @@ const Sn = q.createContext({
6479
6513
  box-sizing: border-box;
6480
6514
  position: relative;
6481
6515
  }
6482
- `, Ss = (e) => {
6516
+ `, xs = (e) => {
6483
6517
  const {
6484
6518
  containerStyles: t,
6485
6519
  pageStyles: r,
@@ -6487,16 +6521,16 @@ const Sn = q.createContext({
6487
6521
  allowScroll: a = !0,
6488
6522
  floatingContent: s,
6489
6523
  reserveSpaceForScrollbar: c
6490
- } = e, { footer: l, header: u } = Bo(e);
6491
- return /* @__PURE__ */ G.jsxs(
6492
- Vo,
6524
+ } = e, { footer: l, header: u } = Vo(e);
6525
+ return /* @__PURE__ */ X.jsxs(
6526
+ Xo,
6493
6527
  {
6494
6528
  id: "page-container",
6495
6529
  styles: {
6496
6530
  ...t
6497
6531
  },
6498
6532
  children: [
6499
- u.visible && /* @__PURE__ */ G.jsx(
6533
+ u.visible && /* @__PURE__ */ X.jsx(
6500
6534
  "div",
6501
6535
  {
6502
6536
  ref: u.ref,
@@ -6517,7 +6551,7 @@ const Sn = q.createContext({
6517
6551
  children: u.content
6518
6552
  }
6519
6553
  ),
6520
- /* @__PURE__ */ G.jsx(
6554
+ /* @__PURE__ */ X.jsx(
6521
6555
  "div",
6522
6556
  {
6523
6557
  id: "page-body",
@@ -6529,7 +6563,7 @@ const Sn = q.createContext({
6529
6563
  marginTop: `-${u.height}px`,
6530
6564
  marginBottom: `-${l.height}px`
6531
6565
  },
6532
- children: /* @__PURE__ */ G.jsx(
6566
+ children: /* @__PURE__ */ X.jsx(
6533
6567
  "div",
6534
6568
  {
6535
6569
  id: "page-content",
@@ -6553,7 +6587,7 @@ const Sn = q.createContext({
6553
6587
  )
6554
6588
  }
6555
6589
  ),
6556
- l.visible && /* @__PURE__ */ G.jsx(
6590
+ l.visible && /* @__PURE__ */ X.jsx(
6557
6591
  "div",
6558
6592
  {
6559
6593
  ref: l.ref,
@@ -6578,14 +6612,18 @@ const Sn = q.createContext({
6578
6612
  }
6579
6613
  );
6580
6614
  };
6581
- class xs {
6615
+ class On {
6582
6616
  static getField = (t, r) => {
6583
6617
  const i = t.find((a) => a.name === r);
6584
6618
  if (!(!i || !i.value))
6585
6619
  return i.value;
6586
6620
  };
6621
+ static getFieldOrDefault = (t, r, i) => {
6622
+ const a = On.getField(t, r);
6623
+ return a === void 0 ? i : a;
6624
+ };
6587
6625
  }
6588
- class Xo {
6626
+ class Go {
6589
6627
  static clamp = (t, r, i) => t > i ? i : t < r ? r : t;
6590
6628
  }
6591
6629
  class Os {
@@ -6603,12 +6641,12 @@ class ks {
6603
6641
  });
6604
6642
  static isEqual = (t, r, i = !0) => i ? t === r : t.toUpperCase() === r.toUpperCase();
6605
6643
  }
6606
- var ft = { exports: {} }, Go = ft.exports, Mr;
6607
- function Ko() {
6644
+ var ft = { exports: {} }, Ko = ft.exports, Mr;
6645
+ function Jo() {
6608
6646
  return Mr || (Mr = 1, function(e, t) {
6609
6647
  (function(r, i) {
6610
6648
  e.exports = i();
6611
- })(Go, function() {
6649
+ })(Ko, function() {
6612
6650
  var r = 1e3, i = 6e4, a = 36e5, s = "millisecond", c = "second", l = "minute", u = "hour", h = "day", g = "week", x = "month", T = "quarter", D = "year", P = "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+)?$/, O = /\[([^\]]+)]|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(_) {
6613
6651
  var C = ["th", "st", "nd", "rd"], j = _ % 100;
6614
6652
  return "[" + _ + (C[(j - 20) % 10] || C[j] || C[0]) + "]";
@@ -6694,11 +6732,11 @@ function Ko() {
6694
6732
  }, C.valueOf = function() {
6695
6733
  return this.$d.getTime();
6696
6734
  }, C.startOf = function(j, o) {
6697
- var H = this, m = !!k.u(o) || o, n = k.p(j), f = function(K, X) {
6698
- var J = k.w(H.$u ? Date.UTC(H.$y, X, K) : new Date(H.$y, X, K), H);
6735
+ var H = this, m = !!k.u(o) || o, n = k.p(j), f = function(K, G) {
6736
+ var J = k.w(H.$u ? Date.UTC(H.$y, G, K) : new Date(H.$y, G, K), H);
6699
6737
  return m ? J : J.endOf(h);
6700
- }, S = function(K, X) {
6701
- return k.w(H.toDate()[K].apply(H.toDate("s"), (m ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(X)), H);
6738
+ }, S = function(K, G) {
6739
+ return k.w(H.toDate()[K].apply(H.toDate("s"), (m ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(G)), H);
6702
6740
  }, $ = this.$W, L = this.$M, z = this.$D, N = "set" + (this.$u ? "UTC" : "");
6703
6741
  switch (n) {
6704
6742
  case D:
@@ -6751,15 +6789,15 @@ function Ko() {
6751
6789
  }, C.format = function(j) {
6752
6790
  var o = this, H = this.$locale();
6753
6791
  if (!this.isValid()) return H.invalidDate || p;
6754
- var m = j || "YYYY-MM-DDTHH:mm:ssZ", n = k.z(this), f = this.$H, S = this.$m, $ = this.$M, L = H.weekdays, z = H.months, N = H.meridiem, W = function(X, J, te, Z) {
6755
- return X && (X[J] || X(o, m)) || te[J].slice(0, Z);
6756
- }, V = function(X) {
6757
- return k.s(f % 12 || 12, X, "0");
6758
- }, K = N || function(X, J, te) {
6759
- var Z = X < 12 ? "AM" : "PM";
6792
+ var m = j || "YYYY-MM-DDTHH:mm:ssZ", n = k.z(this), f = this.$H, S = this.$m, $ = this.$M, L = H.weekdays, z = H.months, N = H.meridiem, W = function(G, J, te, Z) {
6793
+ return G && (G[J] || G(o, m)) || te[J].slice(0, Z);
6794
+ }, V = function(G) {
6795
+ return k.s(f % 12 || 12, G, "0");
6796
+ }, K = N || function(G, J, te) {
6797
+ var Z = G < 12 ? "AM" : "PM";
6760
6798
  return te ? Z.toLowerCase() : Z;
6761
6799
  };
6762
- return m.replace(O, function(X, J) {
6800
+ return m.replace(O, function(G, J) {
6763
6801
  return J || function(te) {
6764
6802
  switch (te) {
6765
6803
  case "YY":
@@ -6812,7 +6850,7 @@ function Ko() {
6812
6850
  return n;
6813
6851
  }
6814
6852
  return null;
6815
- }(X) || n.replace(":", "");
6853
+ }(G) || n.replace(":", "");
6816
6854
  });
6817
6855
  }, C.utcOffset = function() {
6818
6856
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
@@ -6881,14 +6919,14 @@ function Ko() {
6881
6919
  });
6882
6920
  }(ft)), ft.exports;
6883
6921
  }
6884
- var Jo = Ko();
6885
- const dt = /* @__PURE__ */ qt(Jo);
6886
- var ht = { exports: {} }, Zo = ht.exports, $r;
6887
- function Qo() {
6922
+ var Zo = Jo();
6923
+ const dt = /* @__PURE__ */ qt(Zo);
6924
+ var ht = { exports: {} }, Qo = ht.exports, $r;
6925
+ function es() {
6888
6926
  return $r || ($r = 1, function(e, t) {
6889
6927
  (function(r, i) {
6890
6928
  e.exports = i();
6891
- })(Zo, function() {
6929
+ })(Qo, function() {
6892
6930
  var r = "minute", i = /[+-]\d\d(?::?\d\d)?/g, a = /([+-]|\d\d)/g;
6893
6931
  return function(s, c, l) {
6894
6932
  var u = c.prototype;
@@ -6958,9 +6996,9 @@ function Qo() {
6958
6996
  });
6959
6997
  }(ht)), ht.exports;
6960
6998
  }
6961
- var es = Qo();
6962
- const ts = /* @__PURE__ */ qt(es);
6963
- dt.extend(ts);
6999
+ var ts = es();
7000
+ const rs = /* @__PURE__ */ qt(ts);
7001
+ dt.extend(rs);
6964
7002
  class Cs {
6965
7003
  static waitForMilliseconds = (t) => new Promise((r) => setTimeout(r, t));
6966
7004
  static waitForCondition = (t) => new Promise((r) => {
@@ -7006,8 +7044,8 @@ const Ps = ({
7006
7044
  styles: i,
7007
7045
  barStyles: a
7008
7046
  }) => {
7009
- const s = Xo.clamp(e, t, r);
7010
- return /* @__PURE__ */ G.jsx(
7047
+ const s = Go.clamp(e, t, r);
7048
+ return /* @__PURE__ */ X.jsx(
7011
7049
  "div",
7012
7050
  {
7013
7051
  style: {
@@ -7018,7 +7056,7 @@ const Ps = ({
7018
7056
  background: "#ffffff",
7019
7057
  ...i
7020
7058
  },
7021
- children: /* @__PURE__ */ G.jsx(
7059
+ children: /* @__PURE__ */ X.jsx(
7022
7060
  "div",
7023
7061
  {
7024
7062
  style: {
@@ -7040,7 +7078,7 @@ const Ps = ({
7040
7078
  customUncheckedRender: s
7041
7079
  }) => {
7042
7080
  const c = e ? { ...r, ...i } : { ...r };
7043
- return /* @__PURE__ */ G.jsxs(
7081
+ return /* @__PURE__ */ X.jsxs(
7044
7082
  "div",
7045
7083
  {
7046
7084
  onClick: (l) => {
@@ -7060,8 +7098,8 @@ const Ps = ({
7060
7098
  ...c
7061
7099
  },
7062
7100
  children: [
7063
- e && /* @__PURE__ */ G.jsxs(G.Fragment, { children: [
7064
- !a && /* @__PURE__ */ G.jsx(
7101
+ e && /* @__PURE__ */ X.jsxs(X.Fragment, { children: [
7102
+ !a && /* @__PURE__ */ X.jsx(
7065
7103
  "div",
7066
7104
  {
7067
7105
  style: {
@@ -7088,7 +7126,7 @@ const Ps = ({
7088
7126
  alt: c = "",
7089
7127
  onClick: l,
7090
7128
  styles: u
7091
- }) => /* @__PURE__ */ G.jsx(
7129
+ }) => /* @__PURE__ */ X.jsx(
7092
7130
  "div",
7093
7131
  {
7094
7132
  style: {
@@ -7100,7 +7138,7 @@ const Ps = ({
7100
7138
  ...u
7101
7139
  },
7102
7140
  onClick: () => l?.(),
7103
- children: /* @__PURE__ */ G.jsx(
7141
+ children: /* @__PURE__ */ X.jsx(
7104
7142
  "svg",
7105
7143
  {
7106
7144
  width: t,
@@ -7116,7 +7154,7 @@ const Ps = ({
7116
7154
  }
7117
7155
  )
7118
7156
  }
7119
- ), rs = Pe.div`
7157
+ ), ns = Pe.div`
7120
7158
  display: flex;
7121
7159
  flex-direction: column;
7122
7160
  font-family: inherit;
@@ -7161,8 +7199,8 @@ const Ps = ({
7161
7199
  }, I = (O) => {
7162
7200
  g?.();
7163
7201
  };
7164
- return /* @__PURE__ */ G.jsxs(
7165
- rs,
7202
+ return /* @__PURE__ */ X.jsxs(
7203
+ ns,
7166
7204
  {
7167
7205
  style: {
7168
7206
  width: "100%",
@@ -7172,7 +7210,7 @@ const Ps = ({
7172
7210
  },
7173
7211
  children: [
7174
7212
  t,
7175
- /* @__PURE__ */ G.jsxs(
7213
+ /* @__PURE__ */ X.jsxs(
7176
7214
  "div",
7177
7215
  {
7178
7216
  style: {
@@ -7193,7 +7231,7 @@ const Ps = ({
7193
7231
  },
7194
7232
  children: [
7195
7233
  r,
7196
- /* @__PURE__ */ G.jsx(
7234
+ /* @__PURE__ */ X.jsx(
7197
7235
  "textarea",
7198
7236
  {
7199
7237
  name: e,
@@ -7238,7 +7276,7 @@ const Ps = ({
7238
7276
  return q.useEffect(() => {
7239
7277
  const l = s(e);
7240
7278
  a.current !== l && (a.current = l, l && setTimeout(() => c(e), i * 1e3));
7241
- }, [a, s, c]), /* @__PURE__ */ G.jsx(G.Fragment, { children: s(e) && /* @__PURE__ */ G.jsx(
7279
+ }, [a, s, c]), /* @__PURE__ */ X.jsx(X.Fragment, { children: s(e) && /* @__PURE__ */ X.jsx(
7242
7280
  "div",
7243
7281
  {
7244
7282
  style: {
@@ -7270,7 +7308,7 @@ const Ps = ({
7270
7308
  maxNumberOfLines: t,
7271
7309
  children: r,
7272
7310
  styles: i
7273
- }) => /* @__PURE__ */ G.jsx(
7311
+ }) => /* @__PURE__ */ X.jsx(
7274
7312
  "p",
7275
7313
  {
7276
7314
  style: {
@@ -7295,21 +7333,21 @@ const Ps = ({
7295
7333
  }
7296
7334
  );
7297
7335
  export {
7298
- is as Button,
7299
- as as Carousel,
7300
- os as Checkbox,
7301
- ms as Drawer,
7302
- ps as FeedbackProvider,
7303
- vs as Form,
7304
- xs as FormsHelper,
7305
- gs as Image,
7306
- Yo as InputField,
7307
- ys as Loader,
7308
- bs as Modal,
7309
- hs as NavigationProvider,
7310
- Xo as NumberHelper,
7311
- ws as NumericInputField,
7312
- Ss as PageLayout,
7336
+ as as Button,
7337
+ os as Carousel,
7338
+ ss as Checkbox,
7339
+ vs as Drawer,
7340
+ ms as FeedbackProvider,
7341
+ gs as Form,
7342
+ On as FormsHelper,
7343
+ ys as Image,
7344
+ qo as InputField,
7345
+ bs as Loader,
7346
+ ws as Modal,
7347
+ ps as NavigationProvider,
7348
+ Go as NumberHelper,
7349
+ Ss as NumericInputField,
7350
+ xs as PageLayout,
7313
7351
  Ps as ProgressBar,
7314
7352
  Es as RadioButton,
7315
7353
  Os as ScrollHelper,
@@ -7319,14 +7357,14 @@ export {
7319
7357
  Cs as TimeHelper,
7320
7358
  Ts as Toast,
7321
7359
  js as Typography,
7322
- la as defaultBreakpoints,
7323
- ss as useDidMount,
7324
- sa as useDrag,
7360
+ ua as defaultBreakpoints,
7361
+ ls as useDidMount,
7362
+ la as useDrag,
7325
7363
  Ct as useFeedback,
7326
- ls as useFetch,
7327
- ds as useNavigation,
7328
- us as useOnScreen,
7329
- oa as usePointer,
7330
- cs as useResponsive,
7331
- fs as useTranslations
7364
+ us as useFetch,
7365
+ hs as useNavigation,
7366
+ cs as useOnScreen,
7367
+ sa as usePointer,
7368
+ fs as useResponsive,
7369
+ ds as useTranslations
7332
7370
  };