@eliseubatista99/react-scaffold-core 0.1.11 → 0.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as _ from "react";
2
2
  import U, { forwardRef as hn, useContext as Ht, useEffect as Er, useState as vn, useMemo as mn } from "react";
3
- var et = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
3
+ var tt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
4
4
  function yn(e) {
5
5
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
6
6
  }
@@ -28,7 +28,7 @@ function gn(e) {
28
28
  });
29
29
  }), r;
30
30
  }
31
- var tt = { exports: {} }, Ae = {};
31
+ var rt = { exports: {} }, Ae = {};
32
32
  /**
33
33
  * @license React
34
34
  * react-jsx-runtime.production.js
@@ -305,10 +305,10 @@ React keys must be passed directly to JSX without using spread:
305
305
  }
306
306
  var Jt;
307
307
  function Sn() {
308
- return Jt || (Jt = 1, process.env.NODE_ENV === "production" ? tt.exports = bn() : tt.exports = wn()), tt.exports;
308
+ return Jt || (Jt = 1, process.env.NODE_ENV === "production" ? rt.exports = bn() : rt.exports = wn()), rt.exports;
309
309
  }
310
310
  var G = Sn();
311
- const La = ({ children: e, onClick: t, styles: r }) => /* @__PURE__ */ G.jsx(
311
+ const Da = ({ children: e, onClick: t, styles: r }) => /* @__PURE__ */ G.jsx(
312
312
  "button",
313
313
  {
314
314
  style: {
@@ -372,7 +372,7 @@ var Ct, Qt;
372
372
  function kn() {
373
373
  if (Qt) return Ct;
374
374
  Qt = 1;
375
- var e = "Expected a function", t = NaN, r = "[object Symbol]", o = /^\s+|\s+$/g, i = /^[-+]0x[0-9a-f]+$/i, a = /^0b[01]+$/i, l = /^0o[0-7]+$/i, f = parseInt, d = typeof et == "object" && et && et.Object === Object && et, h = typeof self == "object" && self && self.Object === Object && self, w = d || h || Function("return this")(), R = Object.prototype, E = R.toString, z = Math.max, C = Math.min, v = function() {
375
+ var e = "Expected a function", t = NaN, r = "[object Symbol]", o = /^\s+|\s+$/g, i = /^[-+]0x[0-9a-f]+$/i, a = /^0b[01]+$/i, l = /^0o[0-7]+$/i, f = parseInt, d = typeof tt == "object" && tt && tt.Object === Object && tt, h = typeof self == "object" && self && self.Object === Object && self, w = d || h || Function("return this")(), R = Object.prototype, E = R.toString, z = Math.max, C = Math.min, v = function() {
376
376
  return w.Date.now();
377
377
  };
378
378
  function I(p, y, g) {
@@ -565,7 +565,7 @@ function Rr() {
565
565
  }(Et)), Et;
566
566
  }
567
567
  var rr;
568
- function Xe() {
568
+ function Ge() {
569
569
  if (rr) return W;
570
570
  rr = 1, Object.defineProperty(W, "__esModule", {
571
571
  value: !0
@@ -770,7 +770,7 @@ function Xe() {
770
770
  if (!S) {
771
771
  if (M) return w(n);
772
772
  j && N && A && w(n);
773
- var he, Pe = {}, Qe = c(u);
773
+ var he, Pe = {}, et = c(u);
774
774
  K.curX = n.touches ? n.touches[0].pageX : n.clientX, K.curY = n.touches ? n.touches[0].pageY : n.clientY, K.swipeLength = Math.round(Math.sqrt(Math.pow(K.curX - K.startX, 2)));
775
775
  var Xt = Math.round(Math.sqrt(Math.pow(K.curY - K.startY, 2)));
776
776
  if (!A && !Q && Xt > 10)
@@ -781,7 +781,7 @@ function Xe() {
781
781
  var Me = (F ? -1 : 1) * (K.curX > K.startX ? 1 : -1);
782
782
  A && (Me = K.curY > K.startY ? 1 : -1);
783
783
  var pn = Math.ceil(Z / ne), Oe = H(u.touchObject, A), Ie = K.swipeLength;
784
- return le || (Y === 0 && (Oe === "right" || Oe === "down") || Y + 1 >= pn && (Oe === "left" || Oe === "up") || !q(u) && (Oe === "left" || Oe === "up")) && (Ie = K.swipeLength * V, X === !1 && re && (re(Oe), Pe.edgeDragged = !0)), !ie && ae && (ae(Oe), Pe.swiped = !0), j ? he = Qe + Ie * (ue / ce) * Me : F ? he = Qe - Ie * Me : he = Qe + Ie * Me, A && (he = Qe + Ie * Me), Pe = a(a({}, Pe), {}, {
784
+ return le || (Y === 0 && (Oe === "right" || Oe === "down") || Y + 1 >= pn && (Oe === "left" || Oe === "up") || !q(u) && (Oe === "left" || Oe === "up")) && (Ie = K.swipeLength * V, X === !1 && re && (re(Oe), Pe.edgeDragged = !0)), !ie && ae && (ae(Oe), Pe.swiped = !0), j ? he = et + Ie * (ue / ce) * Me : F ? he = et - Ie * Me : he = et + Ie * Me, A && (he = et + Ie * Me), Pe = a(a({}, Pe), {}, {
785
785
  touchObject: K,
786
786
  swipeLeft: he,
787
787
  trackStyle: k(a(a({}, u), {}, {
@@ -954,7 +954,7 @@ function On() {
954
954
  nr = 1, Object.defineProperty(He, "__esModule", {
955
955
  value: !0
956
956
  }), He.Track = void 0;
957
- var e = o(U), t = o(ht()), r = Xe();
957
+ var e = o(U), t = o(ht()), r = Ge();
958
958
  function o(m) {
959
959
  return m && m.__esModule ? m : { default: m };
960
960
  }
@@ -1190,7 +1190,7 @@ function Cn() {
1190
1190
  Object.defineProperty($e, "__esModule", {
1191
1191
  value: !0
1192
1192
  }), $e.Dots = void 0;
1193
- var t = i(U), r = i(ht()), o = Xe();
1193
+ var t = i(U), r = i(ht()), o = Ge();
1194
1194
  function i(p) {
1195
1195
  return p && p.__esModule ? p : { default: p };
1196
1196
  }
@@ -1353,7 +1353,7 @@ function Pn() {
1353
1353
  Object.defineProperty(Ee, "__esModule", {
1354
1354
  value: !0
1355
1355
  }), Ee.PrevArrow = Ee.NextArrow = void 0;
1356
- var t = i(U), r = i(ht()), o = Xe();
1356
+ var t = i(U), r = i(ht()), o = Ge();
1357
1357
  function i(p) {
1358
1358
  return p && p.__esModule ? p : { default: p };
1359
1359
  }
@@ -1587,10 +1587,10 @@ var _r = function() {
1587
1587
  }, t;
1588
1588
  }()
1589
1589
  );
1590
- }(), Dt = typeof window < "u" && typeof document < "u" && window.document === document, ut = function() {
1590
+ }(), Dt = typeof window < "u" && typeof document < "u" && window.document === document, ct = function() {
1591
1591
  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")();
1592
1592
  }(), En = function() {
1593
- return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(ut) : function(e) {
1593
+ return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(ct) : function(e) {
1594
1594
  return setTimeout(function() {
1595
1595
  return e(Date.now());
1596
1596
  }, 1e3 / 60);
@@ -1668,9 +1668,9 @@ var Tn = 20, jn = ["top", "right", "bottom", "left", "width", "height", "size",
1668
1668
  return e;
1669
1669
  }, _e = function(e) {
1670
1670
  var t = e && e.ownerDocument && e.ownerDocument.defaultView;
1671
- return t || ut;
1671
+ return t || ct;
1672
1672
  }, jr = vt(0, 0, 0, 0);
1673
- function ct(e) {
1673
+ function ft(e) {
1674
1674
  return parseFloat(e) || 0;
1675
1675
  }
1676
1676
  function ar(e) {
@@ -1678,13 +1678,13 @@ function ar(e) {
1678
1678
  t[r - 1] = arguments[r];
1679
1679
  return t.reduce(function(o, i) {
1680
1680
  var a = e["border-" + i + "-width"];
1681
- return o + ct(a);
1681
+ return o + ft(a);
1682
1682
  }, 0);
1683
1683
  }
1684
1684
  function Mn(e) {
1685
1685
  for (var t = ["top", "right", "bottom", "left"], r = {}, o = 0, i = t; o < i.length; o++) {
1686
1686
  var a = i[o], l = e["padding-" + a];
1687
- r[a] = ct(l);
1687
+ r[a] = ft(l);
1688
1688
  }
1689
1689
  return r;
1690
1690
  }
@@ -1696,7 +1696,7 @@ function An(e) {
1696
1696
  var t = e.clientWidth, r = e.clientHeight;
1697
1697
  if (!t && !r)
1698
1698
  return jr;
1699
- var o = _e(e).getComputedStyle(e), i = Mn(o), a = i.left + i.right, l = i.top + i.bottom, f = ct(o.width), d = ct(o.height);
1699
+ var o = _e(e).getComputedStyle(e), i = Mn(o), a = i.left + i.right, l = i.top + i.bottom, f = ft(o.width), d = ft(o.height);
1700
1700
  if (o.boxSizing === "border-box" && (Math.round(f + a) !== t && (f -= ar(o, "left", "right") + a), Math.round(d + l) !== r && (d -= ar(o, "top", "bottom") + l)), !Nn(e)) {
1701
1701
  var h = Math.round(f + a) - t, w = Math.round(d + l) - r;
1702
1702
  Math.abs(h) !== 1 && (f -= h), Math.abs(w) !== 1 && (d -= w);
@@ -1826,7 +1826,7 @@ var Fn = (
1826
1826
  };
1827
1827
  });
1828
1828
  var Un = function() {
1829
- return typeof ut.ResizeObserver < "u" ? ut.ResizeObserver : Dr;
1829
+ return typeof ct.ResizeObserver < "u" ? ct.ResizeObserver : Dr;
1830
1830
  }();
1831
1831
  const Bn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1832
1832
  __proto__: null,
@@ -1838,7 +1838,7 @@ function Vn() {
1838
1838
  sr = 1, Object.defineProperty(Ne, "__esModule", {
1839
1839
  value: !0
1840
1840
  }), Ne.InnerSlider = void 0;
1841
- var e = h(U), t = h(xn()), r = h(kn()), o = h(ht()), i = Xe(), a = On(), l = Cn(), f = Pn(), d = h(Yn);
1841
+ var e = h(U), t = h(xn()), r = h(kn()), o = h(ht()), i = Ge(), a = On(), l = Cn(), f = Pn(), d = h(Yn);
1842
1842
  function h(x) {
1843
1843
  return x && x.__esModule ? x : { default: x };
1844
1844
  }
@@ -2404,7 +2404,7 @@ function Kn() {
2404
2404
  Object.defineProperty(e, "__esModule", {
2405
2405
  value: !0
2406
2406
  }), e.default = void 0;
2407
- var t = l(U), r = Vn(), o = l(Gn()), i = l(Rr()), a = Xe();
2407
+ var t = l(U), r = Vn(), o = l(Gn()), i = l(Rr()), a = Ge();
2408
2408
  function l(k) {
2409
2409
  return k && k.__esModule ? k : { default: k };
2410
2410
  }
@@ -2711,7 +2711,7 @@ var ri = /* @__PURE__ */ function() {
2711
2711
  return (i = o.parentNode) == null ? void 0 : i.removeChild(o);
2712
2712
  }), this.tags = [], this.ctr = 0;
2713
2713
  }, e;
2714
- }(), de = "-ms-", ft = "-moz-", ee = "-webkit-", Mr = "comm", $t = "rule", Ft = "decl", ni = "@import", Ir = "@keyframes", ii = "@layer", oi = Math.abs, mt = String.fromCharCode, ai = Object.assign;
2714
+ }(), de = "-ms-", dt = "-moz-", ee = "-webkit-", Mr = "comm", $t = "rule", Ft = "decl", ni = "@import", Ir = "@keyframes", ii = "@layer", oi = Math.abs, mt = String.fromCharCode, ai = Object.assign;
2715
2715
  function si(e, t) {
2716
2716
  return fe(e, 0) ^ 45 ? (((t << 2 ^ fe(e, 0)) << 2 ^ fe(e, 1)) << 2 ^ fe(e, 2)) << 2 ^ fe(e, 3) : 0;
2717
2717
  }
@@ -2739,7 +2739,7 @@ function me(e) {
2739
2739
  function Wt(e) {
2740
2740
  return e.length;
2741
2741
  }
2742
- function rt(e, t) {
2742
+ function nt(e, t) {
2743
2743
  return t.push(e), e;
2744
2744
  }
2745
2745
  function ui(e, t) {
@@ -2764,10 +2764,10 @@ function ve() {
2764
2764
  function ge() {
2765
2765
  return fe(je, pe);
2766
2766
  }
2767
- function it() {
2767
+ function ot() {
2768
2768
  return pe;
2769
2769
  }
2770
- function Ge(e, t) {
2770
+ function Ke(e, t) {
2771
2771
  return Ue(je, e, t);
2772
2772
  }
2773
2773
  function Be(e) {
@@ -2814,8 +2814,8 @@ function Nr(e) {
2814
2814
  function Hr(e) {
2815
2815
  return je = "", e;
2816
2816
  }
2817
- function ot(e) {
2818
- return Ar(Ge(pe - 1, At(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
2817
+ function at(e) {
2818
+ return Ar(Ke(pe - 1, At(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
2819
2819
  }
2820
2820
  function di(e) {
2821
2821
  for (; (se = ge()) && se < 33; )
@@ -2825,7 +2825,7 @@ function di(e) {
2825
2825
  function pi(e, t) {
2826
2826
  for (; --t && ve() && !(se < 48 || se > 102 || se > 57 && se < 65 || se > 70 && se < 97); )
2827
2827
  ;
2828
- return Ge(e, it() + (t < 6 && ge() == 32 && ve() == 32));
2828
+ return Ke(e, ot() + (t < 6 && ge() == 32 && ve() == 32));
2829
2829
  }
2830
2830
  function At(e) {
2831
2831
  for (; ve(); )
@@ -2853,30 +2853,30 @@ function hi(e, t) {
2853
2853
  for (; ve() && e + se !== 57; )
2854
2854
  if (e + se === 84 && ge() === 47)
2855
2855
  break;
2856
- return "/*" + Ge(t, pe - 1) + "*" + mt(e === 47 ? e : ve());
2856
+ return "/*" + Ke(t, pe - 1) + "*" + mt(e === 47 ? e : ve());
2857
2857
  }
2858
2858
  function vi(e) {
2859
2859
  for (; !Be(ge()); )
2860
2860
  ve();
2861
- return Ge(e, pe);
2861
+ return Ke(e, pe);
2862
2862
  }
2863
2863
  function mi(e) {
2864
- return Hr(at("", null, null, null, [""], e = Nr(e), 0, [0], e));
2864
+ return Hr(st("", null, null, null, [""], e = Nr(e), 0, [0], e));
2865
2865
  }
2866
- function at(e, t, r, o, i, a, l, f, d) {
2866
+ function st(e, t, r, o, i, a, l, f, d) {
2867
2867
  for (var h = 0, w = 0, R = l, E = 0, z = 0, C = 0, v = 1, I = 1, O = 1, H = 0, q = "", B = i, p = a, y = o, g = q; I; )
2868
2868
  switch (C = H, H = ve()) {
2869
2869
  // (
2870
2870
  case 40:
2871
2871
  if (C != 108 && fe(g, R - 1) == 58) {
2872
- It(g += te(ot(H), "&", "&\f"), "&\f") != -1 && (O = -1);
2872
+ It(g += te(at(H), "&", "&\f"), "&\f") != -1 && (O = -1);
2873
2873
  break;
2874
2874
  }
2875
2875
  // " ' [
2876
2876
  case 34:
2877
2877
  case 39:
2878
2878
  case 91:
2879
- g += ot(H);
2879
+ g += at(H);
2880
2880
  break;
2881
2881
  // \t \n \r \s
2882
2882
  case 9:
@@ -2887,14 +2887,14 @@ function at(e, t, r, o, i, a, l, f, d) {
2887
2887
  break;
2888
2888
  // \
2889
2889
  case 92:
2890
- g += pi(it() - 1, 7);
2890
+ g += pi(ot() - 1, 7);
2891
2891
  continue;
2892
2892
  // /
2893
2893
  case 47:
2894
2894
  switch (ge()) {
2895
2895
  case 42:
2896
2896
  case 47:
2897
- rt(yi(hi(ve(), it()), t, r), d);
2897
+ nt(yi(hi(ve(), ot()), t, r), d);
2898
2898
  break;
2899
2899
  default:
2900
2900
  g += "/";
@@ -2914,16 +2914,16 @@ function at(e, t, r, o, i, a, l, f, d) {
2914
2914
  I = 0;
2915
2915
  // ;
2916
2916
  case 59 + w:
2917
- O == -1 && (g = te(g, /\f/g, "")), z > 0 && me(g) - R && rt(z > 32 ? pr(g + ";", o, r, R - 1) : pr(te(g, " ", "") + ";", o, r, R - 2), d);
2917
+ O == -1 && (g = te(g, /\f/g, "")), z > 0 && me(g) - R && nt(z > 32 ? pr(g + ";", o, r, R - 1) : pr(te(g, " ", "") + ";", o, r, R - 2), d);
2918
2918
  break;
2919
2919
  // @ ;
2920
2920
  case 59:
2921
2921
  g += ";";
2922
2922
  // { rule/at-rule
2923
2923
  default:
2924
- if (rt(y = dr(g, t, r, h, w, i, f, q, B = [], p = [], R), a), H === 123)
2924
+ if (nt(y = dr(g, t, r, h, w, i, f, q, B = [], p = [], R), a), H === 123)
2925
2925
  if (w === 0)
2926
- at(g, t, y, y, B, a, R, f, p);
2926
+ st(g, t, y, y, B, a, R, f, p);
2927
2927
  else
2928
2928
  switch (E === 99 && fe(g, 3) === 110 ? 100 : E) {
2929
2929
  // d l m s
@@ -2931,10 +2931,10 @@ function at(e, t, r, o, i, a, l, f, d) {
2931
2931
  case 108:
2932
2932
  case 109:
2933
2933
  case 115:
2934
- at(e, y, y, o && rt(dr(e, y, y, 0, 0, i, f, q, i, B = [], R), p), i, p, R, f, o ? B : p);
2934
+ st(e, y, y, o && nt(dr(e, y, y, 0, 0, i, f, q, i, B = [], R), p), i, p, R, f, o ? B : p);
2935
2935
  break;
2936
2936
  default:
2937
- at(g, y, y, y, [""], p, 0, f, p);
2937
+ st(g, y, y, y, [""], p, 0, f, p);
2938
2938
  }
2939
2939
  }
2940
2940
  h = w = z = 0, v = O = 1, q = g = "", R = l;
@@ -2960,7 +2960,7 @@ function at(e, t, r, o, i, a, l, f, d) {
2960
2960
  break;
2961
2961
  // @
2962
2962
  case 64:
2963
- ge() === 45 && (g += ot(ve())), E = ge(), w = R = me(q = g += vi(it())), H++;
2963
+ ge() === 45 && (g += at(ve())), E = ge(), w = R = me(q = g += vi(ot())), H++;
2964
2964
  break;
2965
2965
  // -
2966
2966
  case 45:
@@ -3024,7 +3024,7 @@ function $r(e) {
3024
3024
  var Si = function(t, r, o) {
3025
3025
  for (var i = 0, a = 0; i = a, a = ge(), i === 38 && a === 12 && (r[o] = 1), !Be(a); )
3026
3026
  ve();
3027
- return Ge(t, pe);
3027
+ return Ke(t, pe);
3028
3028
  }, xi = function(t, r) {
3029
3029
  var o = -1, i = 44;
3030
3030
  do
@@ -3033,7 +3033,7 @@ var Si = function(t, r, o) {
3033
3033
  i === 38 && ge() === 12 && (r[o] = 1), t[o] += Si(pe - 1, r, o);
3034
3034
  break;
3035
3035
  case 2:
3036
- t[o] += ot(i);
3036
+ t[o] += at(i);
3037
3037
  break;
3038
3038
  case 4:
3039
3039
  if (i === 44) {
@@ -3110,7 +3110,7 @@ function Fr(e, t) {
3110
3110
  case 4810:
3111
3111
  case 6968:
3112
3112
  case 2756:
3113
- return ee + e + ft + e + de + e + e;
3113
+ return ee + e + dt + e + de + e + e;
3114
3114
  // flex, flex-direction
3115
3115
  case 6828:
3116
3116
  case 4268:
@@ -3174,7 +3174,7 @@ function Fr(e, t) {
3174
3174
  if (fe(e, t + 4) !== 45) break;
3175
3175
  // (f)ill-available, (f)it-content
3176
3176
  case 102:
3177
- return te(e, /(.+:)(.+)-([^]+)/, "$1" + ee + "$2-$3$1" + ft + (fe(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
3177
+ return te(e, /(.+:)(.+)-([^]+)/, "$1" + ee + "$2-$3$1" + dt + (fe(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
3178
3178
  // (s)tretch
3179
3179
  case 115:
3180
3180
  return ~It(e, "stretch") ? Fr(te(e, "stretch", "fill-available"), t) + e : e;
@@ -3227,14 +3227,14 @@ var Pi = function(t, r, o, i) {
3227
3227
  case ":read-only":
3228
3228
  case ":read-write":
3229
3229
  return Re([Fe(t, {
3230
- props: [te(a, /:(read-\w+)/, ":" + ft + "$1")]
3230
+ props: [te(a, /:(read-\w+)/, ":" + dt + "$1")]
3231
3231
  })], i);
3232
3232
  // :placeholder
3233
3233
  case "::placeholder":
3234
3234
  return Re([Fe(t, {
3235
3235
  props: [te(a, /:(plac\w+)/, ":" + ee + "input-$1")]
3236
3236
  }), Fe(t, {
3237
- props: [te(a, /:(plac\w+)/, ":" + ft + "$1")]
3237
+ props: [te(a, /:(plac\w+)/, ":" + dt + "$1")]
3238
3238
  }), Fe(t, {
3239
3239
  props: [te(a, /:(plac\w+)/, de + "input-$1")]
3240
3240
  })], i);
@@ -3736,11 +3736,20 @@ var Fi = function(t) {
3736
3736
  "svg",
3737
3737
  "text",
3738
3738
  "tspan"
3739
- ], dt = Xi.bind(null);
3739
+ ], Ve = Xi.bind(null);
3740
3740
  Gi.forEach(function(e) {
3741
- dt[e] = dt(e);
3741
+ Ve[e] = Ve(e);
3742
3742
  });
3743
- const Ki = dt.div`
3743
+ const Ki = Ve.div`
3744
+ width: 100%;
3745
+ height: fit-content;
3746
+
3747
+ ${({ styles: e }) => e && { ...e }}
3748
+
3749
+ .slick-list {
3750
+ overflow: visible;
3751
+ }
3752
+ `, Ji = Ve.div`
3744
3753
  box-sizing: border-box;
3745
3754
  display: flex;
3746
3755
  flex-direction: column;
@@ -3753,28 +3762,35 @@ const Ki = dt.div`
3753
3762
  box-sizing: border-box;
3754
3763
  display: flex;
3755
3764
  }
3756
- `, Da = ({ styles: e, content: t, settings: r }) => {
3757
- var o = {
3765
+ `, Ma = ({
3766
+ styles: e,
3767
+ content: t,
3768
+ settings: r,
3769
+ gap: o = "15px"
3770
+ }) => {
3771
+ var i = {
3758
3772
  dots: !1,
3759
3773
  speed: 500,
3760
3774
  slidesToScroll: 1,
3761
3775
  infinite: !1,
3762
3776
  variableWidth: !0,
3777
+ arrows: !1,
3763
3778
  ...r
3764
3779
  };
3765
- const i = t.map((a, l) => /* @__PURE__ */ G.jsx(
3766
- Ki,
3780
+ const a = t.map((l, f) => /* @__PURE__ */ G.jsx(
3781
+ Ji,
3767
3782
  {
3768
3783
  styles: {
3769
- paddingRight: l === t.length - 1 ? "0px" : "15px",
3770
- ...a.styles
3784
+ paddingLeft: f === 0 ? "0px" : o,
3785
+ // marginLeft: index !== 0 ? "0px" : margin,
3786
+ ...l.styles
3771
3787
  },
3772
3788
  "data-testid": "carousel-slide-item",
3773
- children: a.content
3789
+ children: l.content
3774
3790
  }
3775
3791
  ));
3776
- return /* @__PURE__ */ G.jsx("div", { style: { width: "100%", height: "fit-content", ...e }, children: /* @__PURE__ */ G.jsx(Qn, { ...o, children: i }) });
3777
- }, Ma = (e) => Er(e, []), Ji = () => {
3792
+ return /* @__PURE__ */ G.jsx(Ki, { styles: { ...e }, children: /* @__PURE__ */ G.jsx(Qn, { ...i, children: a }) });
3793
+ }, Ia = (e) => Er(e, []), Zi = () => {
3778
3794
  const [e, t] = U.useState(
3779
3795
  {}
3780
3796
  ), [r, o] = U.useState(!1);
@@ -3793,13 +3809,13 @@ const Ki = dt.div`
3793
3809
  pointerPosition: e,
3794
3810
  isPointerDown: r
3795
3811
  };
3796
- }, Zi = ({
3812
+ }, Qi = ({
3797
3813
  ref: e,
3798
3814
  onDrag: t,
3799
3815
  onDragStart: r,
3800
3816
  onDragEnd: o
3801
3817
  }) => {
3802
- const i = U.useRef(!1), a = U.useRef(!1), { pointerPosition: l, isPointerDown: f } = Ji(), d = U.useRef({
3818
+ const i = U.useRef(!1), a = U.useRef(!1), { pointerPosition: l, isPointerDown: f } = Zi(), d = U.useRef({
3803
3819
  isDragging: !1
3804
3820
  }), h = U.useCallback(
3805
3821
  (C) => {
@@ -3848,7 +3864,7 @@ const Ki = dt.div`
3848
3864
  }, [l]), U.useEffect(() => {
3849
3865
  f !== a.current && (a.current = f, f || R());
3850
3866
  }, [f, a.current]);
3851
- }, Ia = () => {
3867
+ }, Aa = () => {
3852
3868
  const e = (r, o) => {
3853
3869
  let i = 0, a = `${r}?`;
3854
3870
  for (const l in o) {
@@ -3861,16 +3877,16 @@ const Ki = dt.div`
3861
3877
  const i = e(r, o);
3862
3878
  return await (await fetch(i)).json();
3863
3879
  };
3864
- }, Qi = {
3880
+ }, eo = {
3865
3881
  xs: 0,
3866
3882
  sm: 420,
3867
3883
  md: 768,
3868
3884
  lg: 991,
3869
3885
  xl: 1200,
3870
3886
  xxl: 1440
3871
- }, Aa = (e) => {
3887
+ }, za = (e) => {
3872
3888
  const t = {
3873
- ...Qi,
3889
+ ...eo,
3874
3890
  ...e?.breakpointConfiguration
3875
3891
  }, [r, o] = vn(
3876
3892
  wr(t)
@@ -3880,10 +3896,10 @@ const Ki = dt.div`
3880
3896
  return Er(() => (window.addEventListener("resize", i), () => {
3881
3897
  window.removeEventListener("resize", i);
3882
3898
  }), []), mn(() => r, [r]);
3883
- }, eo = (e, t) => e < t.sm ? "xs" : e < t.md ? "sm" : e < t.lg ? "md" : e < t.xl ? "lg" : e < t.xxl ? "xl" : "xxl", to = (e, t) => e <= t.sm ? "mobile" : e <= t.md ? "tablet" : "desktop", wr = (e) => {
3884
- const t = window.innerWidth, r = window.innerHeight, o = eo(t, e), i = to(t, e);
3899
+ }, to = (e, t) => e < t.sm ? "xs" : e < t.md ? "sm" : e < t.lg ? "md" : e < t.xl ? "lg" : e < t.xxl ? "xl" : "xxl", ro = (e, t) => e <= t.sm ? "mobile" : e <= t.md ? "tablet" : "desktop", wr = (e) => {
3900
+ const t = window.innerWidth, r = window.innerHeight, o = to(t, e), i = ro(t, e);
3885
3901
  return { currentWidth: t, currentHeight: r, currentBreakpoint: o, currentSize: i };
3886
- }, za = (e) => {
3902
+ }, Na = (e) => {
3887
3903
  const t = e.translations, r = e.language, o = (a, l) => {
3888
3904
  if (!a)
3889
3905
  return;
@@ -3906,7 +3922,7 @@ const Ki = dt.div`
3906
3922
  };
3907
3923
  };
3908
3924
  var We = {}, Sr;
3909
- function ro() {
3925
+ function no() {
3910
3926
  if (Sr) return We;
3911
3927
  Sr = 1, Object.defineProperty(We, "__esModule", { value: !0 }), We.parse = l, We.serialize = h;
3912
3928
  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, o = /^[\u0020-\u003A\u003D-\u007E]*$/, i = Object.prototype.toString, a = /* @__PURE__ */ (() => {
@@ -4030,7 +4046,7 @@ function ro() {
4030
4046
  }
4031
4047
  return We;
4032
4048
  }
4033
- ro();
4049
+ no();
4034
4050
  /**
4035
4051
  * react-router v7.6.3
4036
4052
  *
@@ -4042,7 +4058,7 @@ ro();
4042
4058
  * @license MIT
4043
4059
  */
4044
4060
  var xr = "popstate";
4045
- function no(e = {}) {
4061
+ function io(e = {}) {
4046
4062
  function t(o, i) {
4047
4063
  let { pathname: a, search: l, hash: f } = o.location;
4048
4064
  return zt(
@@ -4054,9 +4070,9 @@ function no(e = {}) {
4054
4070
  );
4055
4071
  }
4056
4072
  function r(o, i) {
4057
- return typeof i == "string" ? i : Ve(i);
4073
+ return typeof i == "string" ? i : Xe(i);
4058
4074
  }
4059
- return oo(
4075
+ return ao(
4060
4076
  t,
4061
4077
  r,
4062
4078
  null,
@@ -4076,7 +4092,7 @@ function be(e, t) {
4076
4092
  }
4077
4093
  }
4078
4094
  }
4079
- function io() {
4095
+ function oo() {
4080
4096
  return Math.random().toString(36).substring(2, 10);
4081
4097
  }
4082
4098
  function kr(e, t) {
@@ -4097,10 +4113,10 @@ function zt(e, t, r = null, o) {
4097
4113
  // full Locations now and avoid the need to run through this flow at all
4098
4114
  // But that's a pretty big refactor to the current test suite so going to
4099
4115
  // keep as is for the time being and just let any incoming keys take precedence
4100
- key: t && t.key || o || io()
4116
+ key: t && t.key || o || oo()
4101
4117
  };
4102
4118
  }
4103
- function Ve({
4119
+ function Xe({
4104
4120
  pathname: e = "/",
4105
4121
  search: t = "",
4106
4122
  hash: r = ""
@@ -4117,7 +4133,7 @@ function Le(e) {
4117
4133
  }
4118
4134
  return t;
4119
4135
  }
4120
- function oo(e, t, r, o = {}) {
4136
+ function ao(e, t, r, o = {}) {
4121
4137
  let { window: i = document.defaultView, v5Compat: a = !1 } = o, l = i.history, f = "POP", d = null, h = w();
4122
4138
  h == null && (h = 0, l.replaceState({ ...l.state, idx: h }, ""));
4123
4139
  function w() {
@@ -4150,7 +4166,7 @@ function oo(e, t, r, o = {}) {
4150
4166
  l.replaceState(q, "", B), a && d && d({ action: f, location: v.location, delta: 0 });
4151
4167
  }
4152
4168
  function C(I) {
4153
- return ao(I);
4169
+ return so(I);
4154
4170
  }
4155
4171
  let v = {
4156
4172
  get action() {
@@ -4186,25 +4202,25 @@ function oo(e, t, r, o = {}) {
4186
4202
  };
4187
4203
  return v;
4188
4204
  }
4189
- function ao(e, t = !1) {
4205
+ function so(e, t = !1) {
4190
4206
  let r = "http://localhost";
4191
4207
  typeof window < "u" && (r = window.location.origin !== "null" ? window.location.origin : window.location.href), oe(r, "No window.location.(origin|href) available to create URL");
4192
- let o = typeof e == "string" ? e : Ve(e);
4208
+ let o = typeof e == "string" ? e : Xe(e);
4193
4209
  return o = o.replace(/ $/, "%20"), !t && o.startsWith("//") && (o = r + o), new URL(o, r);
4194
4210
  }
4195
4211
  function Br(e, t, r = "/") {
4196
- return so(e, t, r, !1);
4212
+ return lo(e, t, r, !1);
4197
4213
  }
4198
- function so(e, t, r, o) {
4214
+ function lo(e, t, r, o) {
4199
4215
  let i = typeof t == "string" ? Le(t) : t, a = xe(i.pathname || "/", r);
4200
4216
  if (a == null)
4201
4217
  return null;
4202
4218
  let l = Yr(e);
4203
- lo(l);
4219
+ uo(l);
4204
4220
  let f = null;
4205
4221
  for (let d = 0; f == null && d < l.length; ++d) {
4206
- let h = wo(a);
4207
- f = go(
4222
+ let h = So(a);
4223
+ f = bo(
4208
4224
  l[d],
4209
4225
  h,
4210
4226
  o
@@ -4232,7 +4248,7 @@ function Yr(e, t = [], r = [], o = "") {
4232
4248
  `Index routes must not have child routes. Please remove all child routes from route path "${h}".`
4233
4249
  ), Yr(a.children, t, w, h)), !(a.path == null && !a.index) && t.push({
4234
4250
  path: h,
4235
- score: mo(h, a.index),
4251
+ score: yo(h, a.index),
4236
4252
  routesMeta: w
4237
4253
  });
4238
4254
  };
@@ -4259,23 +4275,23 @@ function Vr(e) {
4259
4275
  (d) => e.startsWith("/") && d === "" ? "/" : d
4260
4276
  );
4261
4277
  }
4262
- function lo(e) {
4278
+ function uo(e) {
4263
4279
  e.sort(
4264
- (t, r) => t.score !== r.score ? r.score - t.score : yo(
4280
+ (t, r) => t.score !== r.score ? r.score - t.score : go(
4265
4281
  t.routesMeta.map((o) => o.childrenIndex),
4266
4282
  r.routesMeta.map((o) => o.childrenIndex)
4267
4283
  )
4268
4284
  );
4269
4285
  }
4270
- var uo = /^:[\w-]+$/, co = 3, fo = 2, po = 1, ho = 10, vo = -2, Or = (e) => e === "*";
4271
- function mo(e, t) {
4286
+ var co = /^:[\w-]+$/, fo = 3, po = 2, ho = 1, vo = 10, mo = -2, Or = (e) => e === "*";
4287
+ function yo(e, t) {
4272
4288
  let r = e.split("/"), o = r.length;
4273
- return r.some(Or) && (o += vo), t && (o += fo), r.filter((i) => !Or(i)).reduce(
4274
- (i, a) => i + (uo.test(a) ? co : a === "" ? po : ho),
4289
+ return r.some(Or) && (o += mo), t && (o += po), r.filter((i) => !Or(i)).reduce(
4290
+ (i, a) => i + (co.test(a) ? fo : a === "" ? ho : vo),
4275
4291
  o
4276
4292
  );
4277
4293
  }
4278
- function yo(e, t) {
4294
+ function go(e, t) {
4279
4295
  return e.length === t.length && e.slice(0, -1).every((o, i) => o === t[i]) ? (
4280
4296
  // If two routes are siblings, we should try to match the earlier sibling
4281
4297
  // first. This allows people to have fine-grained control over the matching
@@ -4288,7 +4304,7 @@ function yo(e, t) {
4288
4304
  0
4289
4305
  );
4290
4306
  }
4291
- function go(e, t, r = !1) {
4307
+ function bo(e, t, r = !1) {
4292
4308
  let { routesMeta: o } = e, i = {}, a = "/", l = [];
4293
4309
  for (let f = 0; f < o.length; ++f) {
4294
4310
  let d = o[f], h = f === o.length - 1, w = a === "/" ? t : t.slice(a.length) || "/", R = pt(
@@ -4308,7 +4324,7 @@ function go(e, t, r = !1) {
4308
4324
  // TODO: Can this as be avoided?
4309
4325
  params: i,
4310
4326
  pathname: Se([a, R.pathname]),
4311
- pathnameBase: Oo(
4327
+ pathnameBase: Co(
4312
4328
  Se([a, R.pathnameBase])
4313
4329
  ),
4314
4330
  route: E
@@ -4318,7 +4334,7 @@ function go(e, t, r = !1) {
4318
4334
  }
4319
4335
  function pt(e, t) {
4320
4336
  typeof e == "string" && (e = { path: e, caseSensitive: !1, end: !0 });
4321
- let [r, o] = bo(
4337
+ let [r, o] = wo(
4322
4338
  e.path,
4323
4339
  e.caseSensitive,
4324
4340
  e.end
@@ -4342,7 +4358,7 @@ function pt(e, t) {
4342
4358
  pattern: e
4343
4359
  };
4344
4360
  }
4345
- function bo(e, t = !1, r = !0) {
4361
+ function wo(e, t = !1, r = !0) {
4346
4362
  be(
4347
4363
  e === "*" || !e.endsWith("*") || e.endsWith("/*"),
4348
4364
  `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(/\*$/, "/*")}".`
@@ -4353,7 +4369,7 @@ function bo(e, t = !1, r = !0) {
4353
4369
  );
4354
4370
  return e.endsWith("*") ? (o.push({ paramName: "*" }), i += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : r ? i += "\\/*$" : e !== "" && e !== "/" && (i += "(?:(?=\\/|$))"), [new RegExp(i, t ? void 0 : "i"), o];
4355
4371
  }
4356
- function wo(e) {
4372
+ function So(e) {
4357
4373
  try {
4358
4374
  return e.split("/").map((t) => decodeURIComponent(t).replace(/\//g, "%2F")).join("/");
4359
4375
  } catch (t) {
@@ -4370,19 +4386,19 @@ function xe(e, t) {
4370
4386
  let r = t.endsWith("/") ? t.length - 1 : t.length, o = e.charAt(r);
4371
4387
  return o && o !== "/" ? null : e.slice(r) || "/";
4372
4388
  }
4373
- function So(e, t = "/") {
4389
+ function xo(e, t = "/") {
4374
4390
  let {
4375
4391
  pathname: r,
4376
4392
  search: o = "",
4377
4393
  hash: i = ""
4378
4394
  } = typeof e == "string" ? Le(e) : e;
4379
4395
  return {
4380
- pathname: r ? r.startsWith("/") ? r : xo(r, t) : t,
4381
- search: Co(o),
4382
- hash: Po(i)
4396
+ pathname: r ? r.startsWith("/") ? r : ko(r, t) : t,
4397
+ search: Po(o),
4398
+ hash: Eo(i)
4383
4399
  };
4384
4400
  }
4385
- function xo(e, t) {
4401
+ function ko(e, t) {
4386
4402
  let r = t.replace(/\/+$/, "").split("/");
4387
4403
  return e.split("/").forEach((i) => {
4388
4404
  i === ".." ? r.length > 1 && r.pop() : i !== "." && r.push(i);
@@ -4393,13 +4409,13 @@ function jt(e, t, r, o) {
4393
4409
  o
4394
4410
  )}]. 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.`;
4395
4411
  }
4396
- function ko(e) {
4412
+ function Oo(e) {
4397
4413
  return e.filter(
4398
4414
  (t, r) => r === 0 || t.route.path && t.route.path.length > 0
4399
4415
  );
4400
4416
  }
4401
4417
  function Xr(e) {
4402
- let t = ko(e);
4418
+ let t = Oo(e);
4403
4419
  return t.map(
4404
4420
  (r, o) => o === t.length - 1 ? r.pathname : r.pathnameBase
4405
4421
  );
@@ -4429,11 +4445,11 @@ function Gr(e, t, r, o = !1) {
4429
4445
  }
4430
4446
  f = R >= 0 ? t[R] : "/";
4431
4447
  }
4432
- let d = So(i, f), h = l && l !== "/" && l.endsWith("/"), w = (a || l === ".") && r.endsWith("/");
4448
+ let d = xo(i, f), h = l && l !== "/" && l.endsWith("/"), w = (a || l === ".") && r.endsWith("/");
4433
4449
  return !d.pathname.endsWith("/") && (h || w) && (d.pathname += "/"), d;
4434
4450
  }
4435
- var Se = (e) => e.join("/").replace(/\/\/+/g, "/"), Oo = (e) => e.replace(/\/+$/, "").replace(/^\/*/, "/"), Co = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Po = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e;
4436
- function Eo(e) {
4451
+ var Se = (e) => e.join("/").replace(/\/\/+/g, "/"), Co = (e) => e.replace(/\/+$/, "").replace(/^\/*/, "/"), Po = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Eo = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e;
4452
+ function Ro(e) {
4437
4453
  return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;
4438
4454
  }
4439
4455
  var Kr = [
@@ -4445,11 +4461,11 @@ var Kr = [
4445
4461
  new Set(
4446
4462
  Kr
4447
4463
  );
4448
- var Ro = [
4464
+ var _o = [
4449
4465
  "GET",
4450
4466
  ...Kr
4451
4467
  ];
4452
- new Set(Ro);
4468
+ new Set(_o);
4453
4469
  var De = _.createContext(null);
4454
4470
  De.displayName = "DataRouter";
4455
4471
  var bt = _.createContext(null);
@@ -4458,20 +4474,20 @@ var Jr = _.createContext({
4458
4474
  isTransitioning: !1
4459
4475
  });
4460
4476
  Jr.displayName = "ViewTransition";
4461
- var _o = _.createContext(
4477
+ var To = _.createContext(
4462
4478
  /* @__PURE__ */ new Map()
4463
4479
  );
4464
- _o.displayName = "Fetchers";
4465
- var To = _.createContext(null);
4466
- To.displayName = "Await";
4480
+ To.displayName = "Fetchers";
4481
+ var jo = _.createContext(null);
4482
+ jo.displayName = "Await";
4467
4483
  var we = _.createContext(
4468
4484
  null
4469
4485
  );
4470
4486
  we.displayName = "Navigation";
4471
- var Ke = _.createContext(
4487
+ var Je = _.createContext(
4472
4488
  null
4473
4489
  );
4474
- Ke.displayName = "Location";
4490
+ Je.displayName = "Location";
4475
4491
  var ke = _.createContext({
4476
4492
  outlet: null,
4477
4493
  matches: [],
@@ -4480,26 +4496,26 @@ var ke = _.createContext({
4480
4496
  ke.displayName = "Route";
4481
4497
  var qt = _.createContext(null);
4482
4498
  qt.displayName = "RouteError";
4483
- function jo(e, { relative: t } = {}) {
4499
+ function Lo(e, { relative: t } = {}) {
4484
4500
  oe(
4485
- Je(),
4501
+ Ze(),
4486
4502
  // TODO: This error is probably because they somehow have 2 versions of the
4487
4503
  // router loaded. We can help them understand how to avoid that.
4488
4504
  "useHref() may be used only in the context of a <Router> component."
4489
4505
  );
4490
- let { basename: r, navigator: o } = _.useContext(we), { hash: i, pathname: a, search: l } = Ze(e, { relative: t }), f = a;
4506
+ let { basename: r, navigator: o } = _.useContext(we), { hash: i, pathname: a, search: l } = Qe(e, { relative: t }), f = a;
4491
4507
  return r !== "/" && (f = a === "/" ? r : Se([r, a])), o.createHref({ pathname: f, search: l, hash: i });
4492
4508
  }
4493
- function Je() {
4494
- return _.useContext(Ke) != null;
4509
+ function Ze() {
4510
+ return _.useContext(Je) != null;
4495
4511
  }
4496
4512
  function Ce() {
4497
4513
  return oe(
4498
- Je(),
4514
+ Ze(),
4499
4515
  // TODO: This error is probably because they somehow have 2 versions of the
4500
4516
  // router loaded. We can help them understand how to avoid that.
4501
4517
  "useLocation() may be used only in the context of a <Router> component."
4502
- ), _.useContext(Ke).location;
4518
+ ), _.useContext(Je).location;
4503
4519
  }
4504
4520
  var Zr = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
4505
4521
  function Qr(e) {
@@ -4507,11 +4523,11 @@ function Qr(e) {
4507
4523
  }
4508
4524
  function en() {
4509
4525
  let { isDataRoute: e } = _.useContext(ke);
4510
- return e ? Uo() : Lo();
4526
+ return e ? Bo() : Do();
4511
4527
  }
4512
- function Lo() {
4528
+ function Do() {
4513
4529
  oe(
4514
- Je(),
4530
+ Ze(),
4515
4531
  // TODO: This error is probably because they somehow have 2 versions of the
4516
4532
  // router loaded. We can help them understand how to avoid that.
4517
4533
  "useNavigate() may be used only in the context of a <Router> component."
@@ -4548,7 +4564,7 @@ function Lo() {
4548
4564
  );
4549
4565
  }
4550
4566
  _.createContext(null);
4551
- function Ze(e, { relative: t } = {}) {
4567
+ function Qe(e, { relative: t } = {}) {
4552
4568
  let { matches: r } = _.useContext(ke), { pathname: o } = Ce(), i = JSON.stringify(Xr(r));
4553
4569
  return _.useMemo(
4554
4570
  () => Gr(
@@ -4560,12 +4576,12 @@ function Ze(e, { relative: t } = {}) {
4560
4576
  [e, i, o, t]
4561
4577
  );
4562
4578
  }
4563
- function Do(e, t) {
4579
+ function Mo(e, t) {
4564
4580
  return tn(e, t);
4565
4581
  }
4566
4582
  function tn(e, t, r, o) {
4567
4583
  oe(
4568
- Je(),
4584
+ Ze(),
4569
4585
  // TODO: This error is probably because they somehow have 2 versions of the
4570
4586
  // router loaded. We can help them understand how to avoid that.
4571
4587
  "useRoutes() may be used only in the context of a <Router> component."
@@ -4603,7 +4619,7 @@ Please change the parent <Route path="${O}"> to <Route path="${O === "/" ? "*" :
4603
4619
  v == null || v[v.length - 1].route.element !== void 0 || v[v.length - 1].route.Component !== void 0 || v[v.length - 1].route.lazy !== void 0,
4604
4620
  `Matched leaf route at location "${E.pathname}${E.search}${E.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.`
4605
4621
  );
4606
- let I = No(
4622
+ let I = Ho(
4607
4623
  v && v.map(
4608
4624
  (O) => Object.assign({}, O, {
4609
4625
  params: Object.assign({}, f, O.params),
@@ -4624,7 +4640,7 @@ Please change the parent <Route path="${O}"> to <Route path="${O === "/" ? "*" :
4624
4640
  o
4625
4641
  );
4626
4642
  return t && I ? /* @__PURE__ */ _.createElement(
4627
- Ke.Provider,
4643
+ Je.Provider,
4628
4644
  {
4629
4645
  value: {
4630
4646
  location: {
@@ -4642,14 +4658,14 @@ Please change the parent <Route path="${O}"> to <Route path="${O === "/" ? "*" :
4642
4658
  I
4643
4659
  ) : I;
4644
4660
  }
4645
- function Mo() {
4646
- let e = qo(), t = Eo(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), r = e instanceof Error ? e.stack : null, o = "rgba(200,200,200, 0.5)", i = { padding: "0.5rem", backgroundColor: o }, a = { padding: "2px 4px", backgroundColor: o }, l = null;
4661
+ function Io() {
4662
+ let e = Uo(), t = Ro(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), r = e instanceof Error ? e.stack : null, o = "rgba(200,200,200, 0.5)", i = { padding: "0.5rem", backgroundColor: o }, a = { padding: "2px 4px", backgroundColor: o }, l = null;
4647
4663
  return console.error(
4648
4664
  "Error handled by React Router default ErrorBoundary:",
4649
4665
  e
4650
4666
  ), l = /* @__PURE__ */ _.createElement(_.Fragment, null, /* @__PURE__ */ _.createElement("p", null, "💿 Hey developer 👋"), /* @__PURE__ */ _.createElement("p", null, "You can provide a way better UX than this when your app throws errors by providing your own ", /* @__PURE__ */ _.createElement("code", { style: a }, "ErrorBoundary"), " or", " ", /* @__PURE__ */ _.createElement("code", { style: a }, "errorElement"), " prop on your route.")), /* @__PURE__ */ _.createElement(_.Fragment, null, /* @__PURE__ */ _.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ _.createElement("h3", { style: { fontStyle: "italic" } }, t), r ? /* @__PURE__ */ _.createElement("pre", { style: i }, r) : null, l);
4651
4667
  }
4652
- var Io = /* @__PURE__ */ _.createElement(Mo, null), Ao = class extends _.Component {
4668
+ var Ao = /* @__PURE__ */ _.createElement(Io, null), zo = class extends _.Component {
4653
4669
  constructor(e) {
4654
4670
  super(e), this.state = {
4655
4671
  location: e.location,
@@ -4688,11 +4704,11 @@ var Io = /* @__PURE__ */ _.createElement(Mo, null), Ao = class extends _.Compone
4688
4704
  )) : this.props.children;
4689
4705
  }
4690
4706
  };
4691
- function zo({ routeContext: e, match: t, children: r }) {
4707
+ function No({ routeContext: e, match: t, children: r }) {
4692
4708
  let o = _.useContext(De);
4693
4709
  return o && o.static && o.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (o.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ _.createElement(ke.Provider, { value: e }, r);
4694
4710
  }
4695
- function No(e, t = [], r = null, o = null) {
4711
+ function Ho(e, t = [], r = null, o = null) {
4696
4712
  if (e == null) {
4697
4713
  if (!r)
4698
4714
  return null;
@@ -4732,7 +4748,7 @@ function No(e, t = [], r = null, o = null) {
4732
4748
  }
4733
4749
  return i.reduceRight((d, h, w) => {
4734
4750
  let R, E = !1, z = null, C = null;
4735
- r && (R = a && h.route.id ? a[h.route.id] : void 0, z = h.route.errorElement || Io, l && (f < 0 && w === 0 ? (rn(
4751
+ r && (R = a && h.route.id ? a[h.route.id] : void 0, z = h.route.errorElement || Ao, l && (f < 0 && w === 0 ? (rn(
4736
4752
  "route-fallback",
4737
4753
  !1,
4738
4754
  "No `HydrateFallback` element provided to render during initial hydration"
@@ -4740,7 +4756,7 @@ function No(e, t = [], r = null, o = null) {
4740
4756
  let v = t.concat(i.slice(0, w + 1)), I = () => {
4741
4757
  let O;
4742
4758
  return R ? O = z : E ? O = C : h.route.Component ? O = /* @__PURE__ */ _.createElement(h.route.Component, null) : h.route.element ? O = h.route.element : O = d, /* @__PURE__ */ _.createElement(
4743
- zo,
4759
+ No,
4744
4760
  {
4745
4761
  match: h,
4746
4762
  routeContext: {
@@ -4753,7 +4769,7 @@ function No(e, t = [], r = null, o = null) {
4753
4769
  );
4754
4770
  };
4755
4771
  return r && (h.route.ErrorBoundary || h.route.errorElement || w === 0) ? /* @__PURE__ */ _.createElement(
4756
- Ao,
4772
+ zo,
4757
4773
  {
4758
4774
  location: r.location,
4759
4775
  revalidation: r.revalidation,
@@ -4768,33 +4784,33 @@ function No(e, t = [], r = null, o = null) {
4768
4784
  function Ut(e) {
4769
4785
  return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
4770
4786
  }
4771
- function Ho(e) {
4787
+ function $o(e) {
4772
4788
  let t = _.useContext(De);
4773
4789
  return oe(t, Ut(e)), t;
4774
4790
  }
4775
- function $o(e) {
4791
+ function Fo(e) {
4776
4792
  let t = _.useContext(bt);
4777
4793
  return oe(t, Ut(e)), t;
4778
4794
  }
4779
- function Fo(e) {
4795
+ function Wo(e) {
4780
4796
  let t = _.useContext(ke);
4781
4797
  return oe(t, Ut(e)), t;
4782
4798
  }
4783
4799
  function Bt(e) {
4784
- let t = Fo(e), r = t.matches[t.matches.length - 1];
4800
+ let t = Wo(e), r = t.matches[t.matches.length - 1];
4785
4801
  return oe(
4786
4802
  r.route.id,
4787
4803
  `${e} can only be used on routes that contain a unique "id"`
4788
4804
  ), r.route.id;
4789
4805
  }
4790
- function Wo() {
4806
+ function qo() {
4791
4807
  return Bt(
4792
4808
  "useRouteId"
4793
4809
  /* UseRouteId */
4794
4810
  );
4795
4811
  }
4796
- function qo() {
4797
- let e = _.useContext(qt), t = $o(
4812
+ function Uo() {
4813
+ let e = _.useContext(qt), t = Fo(
4798
4814
  "useRouteError"
4799
4815
  /* UseRouteError */
4800
4816
  ), r = Bt(
@@ -4803,8 +4819,8 @@ function qo() {
4803
4819
  );
4804
4820
  return e !== void 0 ? e : t.errors?.[r];
4805
4821
  }
4806
- function Uo() {
4807
- let { router: e } = Ho(
4822
+ function Bo() {
4823
+ let { router: e } = $o(
4808
4824
  "useNavigate"
4809
4825
  /* UseNavigateStable */
4810
4826
  ), t = Bt(
@@ -4824,8 +4840,8 @@ var Cr = {};
4824
4840
  function rn(e, t, r) {
4825
4841
  !t && !Cr[e] && (Cr[e] = !0, be(!1, r));
4826
4842
  }
4827
- _.memo(Bo);
4828
- function Bo({
4843
+ _.memo(Yo);
4844
+ function Yo({
4829
4845
  routes: e,
4830
4846
  future: t,
4831
4847
  state: r
@@ -4838,7 +4854,7 @@ function nn(e) {
4838
4854
  "A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>."
4839
4855
  );
4840
4856
  }
4841
- function Yo({
4857
+ function Vo({
4842
4858
  basename: e = "/",
4843
4859
  children: t = null,
4844
4860
  location: r,
@@ -4847,7 +4863,7 @@ function Yo({
4847
4863
  static: a = !1
4848
4864
  }) {
4849
4865
  oe(
4850
- !Je(),
4866
+ !Ze(),
4851
4867
  "You cannot render a <Router> inside another <Router>. You should never have more than one in your app."
4852
4868
  );
4853
4869
  let l = e.replace(/^\/*/, "/"), f = _.useMemo(
@@ -4882,13 +4898,13 @@ function Yo({
4882
4898
  return be(
4883
4899
  z != null,
4884
4900
  `<Router basename="${l}"> is not able to match the URL "${d}${h}${w}" because it does not start with the basename, so the <Router> won't render anything.`
4885
- ), z == null ? null : /* @__PURE__ */ _.createElement(we.Provider, { value: f }, /* @__PURE__ */ _.createElement(Ke.Provider, { children: t, value: z }));
4901
+ ), z == null ? null : /* @__PURE__ */ _.createElement(we.Provider, { value: f }, /* @__PURE__ */ _.createElement(Je.Provider, { children: t, value: z }));
4886
4902
  }
4887
- function Vo({
4903
+ function Xo({
4888
4904
  children: e,
4889
4905
  location: t
4890
4906
  }) {
4891
- return Do(Nt(e), t);
4907
+ return Mo(Nt(e), t);
4892
4908
  }
4893
4909
  function Nt(e, t = []) {
4894
4910
  let r = [];
@@ -4934,65 +4950,65 @@ function Nt(e, t = []) {
4934
4950
  )), r.push(l);
4935
4951
  }), r;
4936
4952
  }
4937
- var st = "get", lt = "application/x-www-form-urlencoded";
4953
+ var lt = "get", ut = "application/x-www-form-urlencoded";
4938
4954
  function wt(e) {
4939
4955
  return e != null && typeof e.tagName == "string";
4940
4956
  }
4941
- function Xo(e) {
4957
+ function Go(e) {
4942
4958
  return wt(e) && e.tagName.toLowerCase() === "button";
4943
4959
  }
4944
- function Go(e) {
4960
+ function Ko(e) {
4945
4961
  return wt(e) && e.tagName.toLowerCase() === "form";
4946
4962
  }
4947
- function Ko(e) {
4963
+ function Jo(e) {
4948
4964
  return wt(e) && e.tagName.toLowerCase() === "input";
4949
4965
  }
4950
- function Jo(e) {
4966
+ function Zo(e) {
4951
4967
  return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
4952
4968
  }
4953
- function Zo(e, t) {
4969
+ function Qo(e, t) {
4954
4970
  return e.button === 0 && // Ignore everything but left clicks
4955
4971
  (!t || t === "_self") && // Let browser handle "target=_blank" etc.
4956
- !Jo(e);
4972
+ !Zo(e);
4957
4973
  }
4958
- var nt = null;
4959
- function Qo() {
4960
- if (nt === null)
4974
+ var it = null;
4975
+ function ea() {
4976
+ if (it === null)
4961
4977
  try {
4962
4978
  new FormData(
4963
4979
  document.createElement("form"),
4964
4980
  // @ts-expect-error if FormData supports the submitter parameter, this will throw
4965
4981
  0
4966
- ), nt = !1;
4982
+ ), it = !1;
4967
4983
  } catch {
4968
- nt = !0;
4984
+ it = !0;
4969
4985
  }
4970
- return nt;
4986
+ return it;
4971
4987
  }
4972
- var ea = /* @__PURE__ */ new Set([
4988
+ var ta = /* @__PURE__ */ new Set([
4973
4989
  "application/x-www-form-urlencoded",
4974
4990
  "multipart/form-data",
4975
4991
  "text/plain"
4976
4992
  ]);
4977
4993
  function Lt(e) {
4978
- return e != null && !ea.has(e) ? (be(
4994
+ return e != null && !ta.has(e) ? (be(
4979
4995
  !1,
4980
- `"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${lt}"`
4996
+ `"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${ut}"`
4981
4997
  ), null) : e;
4982
4998
  }
4983
- function ta(e, t) {
4999
+ function ra(e, t) {
4984
5000
  let r, o, i, a, l;
4985
- if (Go(e)) {
5001
+ if (Ko(e)) {
4986
5002
  let f = e.getAttribute("action");
4987
- o = f ? xe(f, t) : null, r = e.getAttribute("method") || st, i = Lt(e.getAttribute("enctype")) || lt, a = new FormData(e);
4988
- } else if (Xo(e) || Ko(e) && (e.type === "submit" || e.type === "image")) {
5003
+ o = f ? xe(f, t) : null, r = e.getAttribute("method") || lt, i = Lt(e.getAttribute("enctype")) || ut, a = new FormData(e);
5004
+ } else if (Go(e) || Jo(e) && (e.type === "submit" || e.type === "image")) {
4989
5005
  let f = e.form;
4990
5006
  if (f == null)
4991
5007
  throw new Error(
4992
5008
  'Cannot submit a <button> or <input type="submit"> without a <form>'
4993
5009
  );
4994
5010
  let d = e.getAttribute("formaction") || f.getAttribute("action");
4995
- if (o = d ? xe(d, t) : null, r = e.getAttribute("formmethod") || f.getAttribute("method") || st, i = Lt(e.getAttribute("formenctype")) || Lt(f.getAttribute("enctype")) || lt, a = new FormData(f, e), !Qo()) {
5011
+ if (o = d ? xe(d, t) : null, r = e.getAttribute("formmethod") || f.getAttribute("method") || lt, i = Lt(e.getAttribute("formenctype")) || Lt(f.getAttribute("enctype")) || ut, a = new FormData(f, e), !ea()) {
4996
5012
  let { name: h, type: w, value: R } = e;
4997
5013
  if (w === "image") {
4998
5014
  let E = h ? `${h}.` : "";
@@ -5004,7 +5020,7 @@ function ta(e, t) {
5004
5020
  throw new Error(
5005
5021
  'Cannot submit element that is not <form>, <button>, or <input type="submit|image">'
5006
5022
  );
5007
- r = st, o = null, i = lt, l = e;
5023
+ r = lt, o = null, i = ut, l = e;
5008
5024
  }
5009
5025
  return a && i === "text/plain" && (l = a, a = void 0), { action: o, method: r.toLowerCase(), encType: i, formData: a, body: l };
5010
5026
  }
@@ -5012,7 +5028,7 @@ function Yt(e, t) {
5012
5028
  if (e === !1 || e === null || typeof e > "u")
5013
5029
  throw new Error(t);
5014
5030
  }
5015
- async function ra(e, t) {
5031
+ async function na(e, t) {
5016
5032
  if (e.id in t)
5017
5033
  return t[e.id];
5018
5034
  try {
@@ -5029,22 +5045,22 @@ async function ra(e, t) {
5029
5045
  });
5030
5046
  }
5031
5047
  }
5032
- function na(e) {
5048
+ function ia(e) {
5033
5049
  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";
5034
5050
  }
5035
- async function ia(e, t, r) {
5051
+ async function oa(e, t, r) {
5036
5052
  let o = await Promise.all(
5037
5053
  e.map(async (i) => {
5038
5054
  let a = t.routes[i.route.id];
5039
5055
  if (a) {
5040
- let l = await ra(a, r);
5056
+ let l = await na(a, r);
5041
5057
  return l.links ? l.links() : [];
5042
5058
  }
5043
5059
  return [];
5044
5060
  })
5045
5061
  );
5046
- return la(
5047
- o.flat(1).filter(na).filter((i) => i.rel === "stylesheet" || i.rel === "preload").map(
5062
+ return ua(
5063
+ o.flat(1).filter(ia).filter((i) => i.rel === "stylesheet" || i.rel === "preload").map(
5048
5064
  (i) => i.rel === "stylesheet" ? { ...i, rel: "prefetch", as: "style" } : { ...i, rel: "prefetch" }
5049
5065
  )
5050
5066
  );
@@ -5081,8 +5097,8 @@ function Pr(e, t, r, o, i, a) {
5081
5097
  return !0;
5082
5098
  }) : [];
5083
5099
  }
5084
- function oa(e, t, { includeHydrateFallback: r } = {}) {
5085
- return aa(
5100
+ function aa(e, t, { includeHydrateFallback: r } = {}) {
5101
+ return sa(
5086
5102
  e.map((o) => {
5087
5103
  let i = t.routes[o.route.id];
5088
5104
  if (!i) return [];
@@ -5091,25 +5107,25 @@ function oa(e, t, { includeHydrateFallback: r } = {}) {
5091
5107
  }).flat(1)
5092
5108
  );
5093
5109
  }
5094
- function aa(e) {
5110
+ function sa(e) {
5095
5111
  return [...new Set(e)];
5096
5112
  }
5097
- function sa(e) {
5113
+ function la(e) {
5098
5114
  let t = {}, r = Object.keys(e).sort();
5099
5115
  for (let o of r)
5100
5116
  t[o] = e[o];
5101
5117
  return t;
5102
5118
  }
5103
- function la(e, t) {
5119
+ function ua(e, t) {
5104
5120
  let r = /* @__PURE__ */ new Set();
5105
5121
  return new Set(t), e.reduce((o, i) => {
5106
- let a = JSON.stringify(sa(i));
5122
+ let a = JSON.stringify(la(i));
5107
5123
  return r.has(a) || (r.add(a), o.push({ key: a, link: i })), o;
5108
5124
  }, []);
5109
5125
  }
5110
5126
  Object.getOwnPropertyNames(Object.prototype).sort().join("\0");
5111
- var ua = /* @__PURE__ */ new Set([100, 101, 204, 205]);
5112
- function ca(e, t) {
5127
+ var ca = /* @__PURE__ */ new Set([100, 101, 204, 205]);
5128
+ function fa(e, t) {
5113
5129
  let r = typeof e == "string" ? new URL(
5114
5130
  e,
5115
5131
  // This can be called during the SSR flow via PrefetchPageLinksImpl so
@@ -5125,7 +5141,7 @@ function on() {
5125
5141
  "You must render this element inside a <DataRouterContext.Provider> element"
5126
5142
  ), e;
5127
5143
  }
5128
- function fa() {
5144
+ function da() {
5129
5145
  let e = _.useContext(bt);
5130
5146
  return Yt(
5131
5147
  e,
@@ -5141,7 +5157,7 @@ function an() {
5141
5157
  "You must render this element inside a <HydratedRouter> element"
5142
5158
  ), e;
5143
5159
  }
5144
- function da(e, t) {
5160
+ function pa(e, t) {
5145
5161
  let r = _.useContext(Vt), [o, i] = _.useState(!1), [a, l] = _.useState(!1), { onFocus: f, onBlur: d, onMouseEnter: h, onMouseLeave: w, onTouchStart: R } = t, E = _.useRef(null);
5146
5162
  _.useEffect(() => {
5147
5163
  if (e === "render" && l(!0), e === "viewport") {
@@ -5186,7 +5202,7 @@ function qe(e, t) {
5186
5202
  e && e(r), r.defaultPrevented || t(r);
5187
5203
  };
5188
5204
  }
5189
- function pa({
5205
+ function ha({
5190
5206
  page: e,
5191
5207
  ...t
5192
5208
  }) {
@@ -5194,13 +5210,13 @@ function pa({
5194
5210
  () => Br(r.routes, e, r.basename),
5195
5211
  [r.routes, e, r.basename]
5196
5212
  );
5197
- return o ? /* @__PURE__ */ _.createElement(va, { page: e, matches: o, ...t }) : null;
5213
+ return o ? /* @__PURE__ */ _.createElement(ma, { page: e, matches: o, ...t }) : null;
5198
5214
  }
5199
- function ha(e) {
5215
+ function va(e) {
5200
5216
  let { manifest: t, routeModules: r } = an(), [o, i] = _.useState([]);
5201
5217
  return _.useEffect(() => {
5202
5218
  let a = !1;
5203
- return ia(e, t, r).then(
5219
+ return oa(e, t, r).then(
5204
5220
  (l) => {
5205
5221
  a || i(l);
5206
5222
  }
@@ -5209,12 +5225,12 @@ function ha(e) {
5209
5225
  };
5210
5226
  }, [e, t, r]), o;
5211
5227
  }
5212
- function va({
5228
+ function ma({
5213
5229
  page: e,
5214
5230
  matches: t,
5215
5231
  ...r
5216
5232
  }) {
5217
- let o = Ce(), { manifest: i, routeModules: a } = an(), { basename: l } = on(), { loaderData: f, matches: d } = fa(), h = _.useMemo(
5233
+ let o = Ce(), { manifest: i, routeModules: a } = an(), { basename: l } = on(), { loaderData: f, matches: d } = da(), h = _.useMemo(
5218
5234
  () => Pr(
5219
5235
  e,
5220
5236
  t,
@@ -5243,7 +5259,7 @@ function va({
5243
5259
  !H || !H.hasLoader || (!h.some((q) => q.route.id === O.route.id) && O.route.id in f && a[O.route.id]?.shouldRevalidate || H.hasClientLoader ? v = !0 : C.add(O.route.id));
5244
5260
  }), C.size === 0)
5245
5261
  return [];
5246
- let I = ca(e, l);
5262
+ let I = fa(e, l);
5247
5263
  return v && C.size > 0 && I.searchParams.set(
5248
5264
  "_routes",
5249
5265
  t.filter((O) => C.has(O.route.id)).map((O) => O.route.id).join(",")
@@ -5258,16 +5274,16 @@ function va({
5258
5274
  e,
5259
5275
  a
5260
5276
  ]), E = _.useMemo(
5261
- () => oa(w, i),
5277
+ () => aa(w, i),
5262
5278
  [w, i]
5263
- ), z = ha(w);
5279
+ ), z = va(w);
5264
5280
  return /* @__PURE__ */ _.createElement(_.Fragment, null, R.map((C) => /* @__PURE__ */ _.createElement("link", { key: C, rel: "prefetch", as: "fetch", href: C, ...r })), E.map((C) => /* @__PURE__ */ _.createElement("link", { key: C, rel: "modulepreload", href: C, ...r })), z.map(({ key: C, link: v }) => (
5265
5281
  // these don't spread `linkProps` because they are full link descriptors
5266
5282
  // already with their own props
5267
5283
  /* @__PURE__ */ _.createElement("link", { key: C, ...v })
5268
5284
  )));
5269
5285
  }
5270
- function ma(...e) {
5286
+ function ya(...e) {
5271
5287
  return (t) => {
5272
5288
  e.forEach((r) => {
5273
5289
  typeof r == "function" ? r(t) : r != null && (r.current = t);
@@ -5279,13 +5295,13 @@ try {
5279
5295
  sn && (window.__reactRouterVersion = "7.6.3");
5280
5296
  } catch {
5281
5297
  }
5282
- function ya({
5298
+ function ga({
5283
5299
  basename: e,
5284
5300
  children: t,
5285
5301
  window: r
5286
5302
  }) {
5287
5303
  let o = _.useRef();
5288
- o.current == null && (o.current = no({ window: r, v5Compat: !0 }));
5304
+ o.current == null && (o.current = io({ window: r, v5Compat: !0 }));
5289
5305
  let i = o.current, [a, l] = _.useState({
5290
5306
  action: i.action,
5291
5307
  location: i.location
@@ -5296,7 +5312,7 @@ function ya({
5296
5312
  [l]
5297
5313
  );
5298
5314
  return _.useLayoutEffect(() => i.listen(f), [i, f]), /* @__PURE__ */ _.createElement(
5299
- Yo,
5315
+ Vo,
5300
5316
  {
5301
5317
  basename: e,
5302
5318
  children: t,
@@ -5332,10 +5348,10 @@ var ln = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, un = _.forwardRef(
5332
5348
  `<Link to="${h}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`
5333
5349
  );
5334
5350
  }
5335
- let H = jo(h, { relative: i }), [q, B, p] = da(
5351
+ let H = Lo(h, { relative: i }), [q, B, p] = pa(
5336
5352
  o,
5337
5353
  E
5338
- ), y = Sa(h, {
5354
+ ), y = xa(h, {
5339
5355
  replace: l,
5340
5356
  state: f,
5341
5357
  target: d,
@@ -5355,17 +5371,17 @@ var ln = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, un = _.forwardRef(
5355
5371
  ...p,
5356
5372
  href: I || H,
5357
5373
  onClick: O || a ? t : g,
5358
- ref: ma(z, B),
5374
+ ref: ya(z, B),
5359
5375
  target: d,
5360
5376
  "data-discover": !v && r === "render" ? "true" : void 0
5361
5377
  }
5362
5378
  )
5363
5379
  );
5364
- return q && !v ? /* @__PURE__ */ _.createElement(_.Fragment, null, k, /* @__PURE__ */ _.createElement(pa, { page: H })) : k;
5380
+ return q && !v ? /* @__PURE__ */ _.createElement(_.Fragment, null, k, /* @__PURE__ */ _.createElement(ha, { page: H })) : k;
5365
5381
  }
5366
5382
  );
5367
5383
  un.displayName = "Link";
5368
- var ga = _.forwardRef(
5384
+ var ba = _.forwardRef(
5369
5385
  function({
5370
5386
  "aria-current": t = "page",
5371
5387
  caseSensitive: r = !1,
@@ -5377,9 +5393,9 @@ var ga = _.forwardRef(
5377
5393
  children: d,
5378
5394
  ...h
5379
5395
  }, w) {
5380
- let R = Ze(l, { relative: h.relative }), E = Ce(), z = _.useContext(bt), { navigator: C, basename: v } = _.useContext(we), I = z != null && // Conditional usage is OK here because the usage of a data router is static
5396
+ let R = Qe(l, { relative: h.relative }), E = Ce(), z = _.useContext(bt), { navigator: C, basename: v } = _.useContext(we), I = z != null && // Conditional usage is OK here because the usage of a data router is static
5381
5397
  // eslint-disable-next-line react-hooks/rules-of-hooks
5382
- Pa(R) && f === !0, O = C.encodeLocation ? C.encodeLocation(R).pathname : R.pathname, H = E.pathname, q = z && z.navigation && z.navigation.location ? z.navigation.location.pathname : null;
5398
+ Ea(R) && f === !0, O = C.encodeLocation ? C.encodeLocation(R).pathname : R.pathname, H = E.pathname, q = z && z.navigation && z.navigation.location ? z.navigation.location.pathname : null;
5383
5399
  r || (H = H.toLowerCase(), q = q ? q.toLowerCase() : null, O = O.toLowerCase()), q && v && (q = xe(q, v) || q);
5384
5400
  const B = O !== "/" && O.endsWith("/") ? O.length - 1 : O.length;
5385
5401
  let p = H === O || !i && H.startsWith(O) && H.charAt(B) === "/", y = q != null && (q === O || !i && q.startsWith(O) && q.charAt(O.length) === "/"), g = {
@@ -5409,8 +5425,8 @@ var ga = _.forwardRef(
5409
5425
  );
5410
5426
  }
5411
5427
  );
5412
- ga.displayName = "NavLink";
5413
- var ba = _.forwardRef(
5428
+ ba.displayName = "NavLink";
5429
+ var wa = _.forwardRef(
5414
5430
  ({
5415
5431
  discover: e = "render",
5416
5432
  fetcherKey: t,
@@ -5418,7 +5434,7 @@ var ba = _.forwardRef(
5418
5434
  reloadDocument: o,
5419
5435
  replace: i,
5420
5436
  state: a,
5421
- method: l = st,
5437
+ method: l = lt,
5422
5438
  action: f,
5423
5439
  onSubmit: d,
5424
5440
  relative: h,
@@ -5426,7 +5442,7 @@ var ba = _.forwardRef(
5426
5442
  viewTransition: R,
5427
5443
  ...E
5428
5444
  }, z) => {
5429
- let C = Oa(), v = Ca(f, { relative: h }), I = l.toLowerCase() === "get" ? "get" : "post", O = typeof f == "string" && ln.test(f), H = (q) => {
5445
+ let C = Ca(), v = Pa(f, { relative: h }), I = l.toLowerCase() === "get" ? "get" : "post", O = typeof f == "string" && ln.test(f), H = (q) => {
5430
5446
  if (d && d(q), q.defaultPrevented) return;
5431
5447
  q.preventDefault();
5432
5448
  let B = q.nativeEvent.submitter, p = B?.getAttribute("formmethod") || l;
@@ -5454,15 +5470,15 @@ var ba = _.forwardRef(
5454
5470
  );
5455
5471
  }
5456
5472
  );
5457
- ba.displayName = "Form";
5458
- function wa(e) {
5473
+ wa.displayName = "Form";
5474
+ function Sa(e) {
5459
5475
  return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
5460
5476
  }
5461
5477
  function cn(e) {
5462
5478
  let t = _.useContext(De);
5463
- return oe(t, wa(e)), t;
5479
+ return oe(t, Sa(e)), t;
5464
5480
  }
5465
- function Sa(e, {
5481
+ function xa(e, {
5466
5482
  target: t,
5467
5483
  replace: r,
5468
5484
  state: o,
@@ -5470,12 +5486,12 @@ function Sa(e, {
5470
5486
  relative: a,
5471
5487
  viewTransition: l
5472
5488
  } = {}) {
5473
- let f = en(), d = Ce(), h = Ze(e, { relative: a });
5489
+ let f = en(), d = Ce(), h = Qe(e, { relative: a });
5474
5490
  return _.useCallback(
5475
5491
  (w) => {
5476
- if (Zo(w, t)) {
5492
+ if (Qo(w, t)) {
5477
5493
  w.preventDefault();
5478
- let R = r !== void 0 ? r : Ve(d) === Ve(h);
5494
+ let R = r !== void 0 ? r : Xe(d) === Xe(h);
5479
5495
  f(e, {
5480
5496
  replace: R,
5481
5497
  state: o,
@@ -5499,20 +5515,20 @@ function Sa(e, {
5499
5515
  ]
5500
5516
  );
5501
5517
  }
5502
- var xa = 0, ka = () => `__${String(++xa)}__`;
5503
- function Oa() {
5518
+ var ka = 0, Oa = () => `__${String(++ka)}__`;
5519
+ function Ca() {
5504
5520
  let { router: e } = cn(
5505
5521
  "useSubmit"
5506
5522
  /* UseSubmit */
5507
- ), { basename: t } = _.useContext(we), r = Wo();
5523
+ ), { basename: t } = _.useContext(we), r = qo();
5508
5524
  return _.useCallback(
5509
5525
  async (o, i = {}) => {
5510
- let { action: a, method: l, encType: f, formData: d, body: h } = ta(
5526
+ let { action: a, method: l, encType: f, formData: d, body: h } = ra(
5511
5527
  o,
5512
5528
  t
5513
5529
  );
5514
5530
  if (i.navigate === !1) {
5515
- let w = i.fetcherKey || ka();
5531
+ let w = i.fetcherKey || Oa();
5516
5532
  await e.fetch(w, r, i.action || a, {
5517
5533
  preventScrollReset: i.preventScrollReset,
5518
5534
  formData: d,
@@ -5538,10 +5554,10 @@ function Oa() {
5538
5554
  [e, t, r]
5539
5555
  );
5540
5556
  }
5541
- function Ca(e, { relative: t } = {}) {
5557
+ function Pa(e, { relative: t } = {}) {
5542
5558
  let { basename: r } = _.useContext(we), o = _.useContext(ke);
5543
5559
  oe(o, "useFormAction must be used inside a RouteContext");
5544
- let [i] = o.matches.slice(-1), a = { ...Ze(e || ".", { relative: t }) }, l = Ce();
5560
+ let [i] = o.matches.slice(-1), a = { ...Qe(e || ".", { relative: t }) }, l = Ce();
5545
5561
  if (e == null) {
5546
5562
  a.search = l.search;
5547
5563
  let f = new URLSearchParams(a.search), d = f.getAll("index");
@@ -5551,9 +5567,9 @@ function Ca(e, { relative: t } = {}) {
5551
5567
  a.search = w ? `?${w}` : "";
5552
5568
  }
5553
5569
  }
5554
- return (!e || e === ".") && i.route.index && (a.search = a.search ? a.search.replace(/^\?/, "?index&") : "?index"), r !== "/" && (a.pathname = a.pathname === "/" ? r : Se([r, a.pathname])), Ve(a);
5570
+ return (!e || e === ".") && i.route.index && (a.search = a.search ? a.search.replace(/^\?/, "?index&") : "?index"), r !== "/" && (a.pathname = a.pathname === "/" ? r : Se([r, a.pathname])), Xe(a);
5555
5571
  }
5556
- function Pa(e, t = {}) {
5572
+ function Ea(e, t = {}) {
5557
5573
  let r = _.useContext(Jr);
5558
5574
  oe(
5559
5575
  r != null,
@@ -5562,14 +5578,14 @@ function Pa(e, t = {}) {
5562
5578
  let { basename: o } = cn(
5563
5579
  "useViewTransitionState"
5564
5580
  /* useViewTransitionState */
5565
- ), i = Ze(e, { relative: t.relative });
5581
+ ), i = Qe(e, { relative: t.relative });
5566
5582
  if (!r.isTransitioning)
5567
5583
  return !1;
5568
5584
  let a = xe(r.currentLocation.pathname, o) || r.currentLocation.pathname, l = xe(r.nextLocation.pathname, o) || r.nextLocation.pathname;
5569
5585
  return pt(i.pathname, l) != null || pt(i.pathname, a) != null;
5570
5586
  }
5571
5587
  [
5572
- ...ua
5588
+ ...ca
5573
5589
  ];
5574
5590
  const fn = U.createContext({
5575
5591
  history: [],
@@ -5578,7 +5594,7 @@ const fn = U.createContext({
5578
5594
  popFromHistory: () => "",
5579
5595
  replaceHistory: () => {
5580
5596
  }
5581
- }), Na = ({
5597
+ }), Ha = ({
5582
5598
  routes: e,
5583
5599
  children: t
5584
5600
  }) => {
@@ -5604,13 +5620,13 @@ const fn = U.createContext({
5604
5620
  popFromHistory: f,
5605
5621
  replaceHistory: d
5606
5622
  },
5607
- children: /* @__PURE__ */ G.jsxs(ya, { children: [
5623
+ children: /* @__PURE__ */ G.jsxs(ga, { children: [
5608
5624
  t,
5609
- /* @__PURE__ */ G.jsx(Vo, { children: h })
5625
+ /* @__PURE__ */ G.jsx(Xo, { children: h })
5610
5626
  ] })
5611
5627
  }
5612
5628
  );
5613
- }, Ha = () => {
5629
+ }, $a = () => {
5614
5630
  const e = en(), t = Ce(), r = Ht(fn), o = U.useCallback(
5615
5631
  (l, f = !0) => {
5616
5632
  l !== t.pathname && e(l, { replace: !0 }), f && r.addToHistory(l);
@@ -5644,7 +5660,7 @@ const fn = U.createContext({
5644
5660
  hideItem: () => {
5645
5661
  }
5646
5662
  }
5647
- ), $a = ({ children: e }) => {
5663
+ ), Fa = ({ children: e }) => {
5648
5664
  const t = U.useRef([]), [r, o] = U.useState([]), i = U.useCallback((d) => {
5649
5665
  t.current = d, o(d);
5650
5666
  }, []), a = U.useCallback((d) => t.current.some((h) => h === d), []), l = U.useCallback(
@@ -5684,7 +5700,7 @@ const fn = U.createContext({
5684
5700
  showItem: r,
5685
5701
  hideItem: o
5686
5702
  };
5687
- }, Ea = ({
5703
+ }, Ra = ({
5688
5704
  id: e,
5689
5705
  onCloseDrawer: t,
5690
5706
  drawerCloseOffset: r = 15
@@ -5696,7 +5712,7 @@ const fn = U.createContext({
5696
5712
  }, E = (C) => {
5697
5713
  a(C), w(0);
5698
5714
  };
5699
- return Zi({
5715
+ return Qi({
5700
5716
  ref: d,
5701
5717
  onDrag: (C) => {
5702
5718
  a(C);
@@ -5712,14 +5728,14 @@ const fn = U.createContext({
5712
5728
  drawerBottomDistance: h,
5713
5729
  handleRef: d
5714
5730
  };
5715
- }, Fa = (e) => {
5731
+ }, Wa = (e) => {
5716
5732
  const { children: t, backgroundStyles: r, contentStyles: o, handle: i } = e, {
5717
5733
  isVisible: a,
5718
5734
  drawerParentRef: l,
5719
5735
  drawerRef: f,
5720
5736
  handleRef: d,
5721
5737
  drawerBottomDistance: h
5722
- } = Ea(e);
5738
+ } = Ra(e);
5723
5739
  return /* @__PURE__ */ G.jsx(G.Fragment, { children: a && /* @__PURE__ */ G.jsx(
5724
5740
  "div",
5725
5741
  {
@@ -5788,7 +5804,7 @@ const fn = U.createContext({
5788
5804
  )
5789
5805
  }
5790
5806
  ) });
5791
- }, Ra = ({ onSubmit: e, fields: t }) => {
5807
+ }, _a = ({ onSubmit: e, fields: t }) => {
5792
5808
  const r = U.useRef(null), o = U.useCallback(
5793
5809
  (l) => {
5794
5810
  var f = Object.keys(l.currentTarget.elements), d = Object.values(l.currentTarget.elements), h = [];
@@ -5820,8 +5836,8 @@ const fn = U.createContext({
5820
5836
  },
5821
5837
  handleFormSubmission: i
5822
5838
  };
5823
- }, Wa = (e) => {
5824
- const { fields: t, styles: r, submitButton: o } = e, { ref: i, handleFormSubmission: a, submitForm: l } = Ra(e), f = U.useCallback(() => t.map((d) => ({ ...d.content, key: d.name })), [t]);
5839
+ }, qa = (e) => {
5840
+ const { fields: t, styles: r, submitButton: o } = e, { ref: i, handleFormSubmission: a, submitForm: l } = _a(e), f = U.useCallback(() => t.map((d) => ({ ...d.content, key: d.name })), [t]);
5825
5841
  return /* @__PURE__ */ G.jsxs(
5826
5842
  "form",
5827
5843
  {
@@ -5854,7 +5870,7 @@ const fn = U.createContext({
5854
5870
  ]
5855
5871
  }
5856
5872
  );
5857
- }, qa = ({ src: e, alt: t = "", onClick: r, styles: o }) => /* @__PURE__ */ G.jsx(
5873
+ }, Ua = ({ src: e, alt: t = "", onClick: r, styles: o }) => /* @__PURE__ */ G.jsx(
5858
5874
  "img",
5859
5875
  {
5860
5876
  src: e,
@@ -5871,7 +5887,7 @@ const fn = U.createContext({
5871
5887
  },
5872
5888
  onClick: () => r?.()
5873
5889
  }
5874
- ), _a = dt.div`
5890
+ ), Ta = Ve.div`
5875
5891
  display: flex;
5876
5892
  flex-direction: column;
5877
5893
  font-family: inherit;
@@ -5889,7 +5905,7 @@ const fn = U.createContext({
5889
5905
  input:-webkit-autofill {
5890
5906
  background-color: #00000000;
5891
5907
  }
5892
- `, Ua = ({
5908
+ `, Ba = ({
5893
5909
  name: e,
5894
5910
  label: t,
5895
5911
  leftIcon: r,
@@ -5909,7 +5925,7 @@ const fn = U.createContext({
5909
5925
  w?.(v.currentTarget.value);
5910
5926
  };
5911
5927
  return /* @__PURE__ */ G.jsxs(
5912
- _a,
5928
+ Ta,
5913
5929
  {
5914
5930
  style: {
5915
5931
  width: "100%",
@@ -5977,7 +5993,7 @@ const fn = U.createContext({
5977
5993
  ]
5978
5994
  }
5979
5995
  );
5980
- }, Ba = ({ id: e, styles: t, children: r }) => {
5996
+ }, Ya = ({ id: e, styles: t, children: r }) => {
5981
5997
  const { isItemVisible: o } = St();
5982
5998
  return /* @__PURE__ */ G.jsx(G.Fragment, { children: o(e) && /* @__PURE__ */ G.jsx(
5983
5999
  "div",
@@ -5998,7 +6014,7 @@ const fn = U.createContext({
5998
6014
  children: r
5999
6015
  }
6000
6016
  ) });
6001
- }, Ya = ({
6017
+ }, Va = ({
6002
6018
  id: e,
6003
6019
  children: t,
6004
6020
  backgroundStyles: r,
@@ -6056,7 +6072,7 @@ const fn = U.createContext({
6056
6072
  )
6057
6073
  }
6058
6074
  ) });
6059
- }, Ta = (e) => {
6075
+ }, ja = (e) => {
6060
6076
  const t = U.useRef(null), r = U.useRef(null), [o, i] = U.useState(24), [a, l] = U.useState(24), f = U.useCallback(() => {
6061
6077
  t.current && i(t.current.clientHeight);
6062
6078
  }, [t, t.current]), d = U.useCallback(() => {
@@ -6080,14 +6096,14 @@ const fn = U.createContext({
6080
6096
  ref: r
6081
6097
  }
6082
6098
  };
6083
- }, Va = (e) => {
6099
+ }, Xa = (e) => {
6084
6100
  const {
6085
6101
  containerStyles: t,
6086
6102
  pageStyles: r,
6087
6103
  children: o,
6088
6104
  allowScroll: i = !0,
6089
6105
  floatingContent: a
6090
- } = e, { footer: l, header: f } = Ta(e);
6106
+ } = e, { footer: l, header: f } = ja(e);
6091
6107
  return /* @__PURE__ */ G.jsxs(
6092
6108
  "div",
6093
6109
  {
@@ -6186,7 +6202,7 @@ const fn = U.createContext({
6186
6202
  ]
6187
6203
  }
6188
6204
  );
6189
- }, Xa = ({
6205
+ }, Ga = ({
6190
6206
  src: e,
6191
6207
  width: t = "22",
6192
6208
  height: r = "28",
@@ -6224,7 +6240,7 @@ const fn = U.createContext({
6224
6240
  }
6225
6241
  )
6226
6242
  }
6227
- ), Ga = ({
6243
+ ), Ka = ({
6228
6244
  id: e,
6229
6245
  children: t,
6230
6246
  styles: r,
@@ -6261,7 +6277,7 @@ const fn = U.createContext({
6261
6277
  children: t
6262
6278
  }
6263
6279
  ) });
6264
- }, Ka = ({
6280
+ }, Ja = ({
6265
6281
  overflowEllipsis: e,
6266
6282
  children: t,
6267
6283
  styles: r
@@ -6283,7 +6299,7 @@ const fn = U.createContext({
6283
6299
  children: t
6284
6300
  }
6285
6301
  );
6286
- class Ja {
6302
+ class Za {
6287
6303
  static isScrollEnabled = () => document.body.style.overflow === "unset" || document.body.style.overflow === "auto";
6288
6304
  static disableScroll = () => {
6289
6305
  document.body.style.overflow = "hidden";
@@ -6292,36 +6308,36 @@ class Ja {
6292
6308
  document.body.style.overflow = "unset";
6293
6309
  };
6294
6310
  }
6295
- class Za {
6311
+ class Qa {
6296
6312
  static getPascalCase = (t) => t.replace(/\w+/g, function(r) {
6297
6313
  return r[0].toUpperCase() + r.slice(1).toLowerCase();
6298
6314
  });
6299
6315
  static isEqual = (t, r, o = !0) => o ? t === r : t.toUpperCase() === r.toUpperCase();
6300
6316
  }
6301
6317
  export {
6302
- La as Button,
6303
- Da as Carousel,
6304
- Fa as Drawer,
6305
- $a as FeedbackProvider,
6306
- Wa as Form,
6307
- qa as Image,
6308
- Ua as InputField,
6309
- Ba as Loader,
6310
- Ya as Modal,
6311
- Na as NavigationProvider,
6312
- Va as PageLayout,
6313
- Ja as ScrollHelper,
6314
- Xa as SvgImage,
6315
- Za as TextHelper,
6316
- Ga as Toast,
6317
- Ka as Typography,
6318
- Qi as defaultBreakpoints,
6319
- Ma as useDidMount,
6320
- Zi as useDrag,
6318
+ Da as Button,
6319
+ Ma as Carousel,
6320
+ Wa as Drawer,
6321
+ Fa as FeedbackProvider,
6322
+ qa as Form,
6323
+ Ua as Image,
6324
+ Ba as InputField,
6325
+ Ya as Loader,
6326
+ Va as Modal,
6327
+ Ha as NavigationProvider,
6328
+ Xa as PageLayout,
6329
+ Za as ScrollHelper,
6330
+ Ga as SvgImage,
6331
+ Qa as TextHelper,
6332
+ Ka as Toast,
6333
+ Ja as Typography,
6334
+ eo as defaultBreakpoints,
6335
+ Ia as useDidMount,
6336
+ Qi as useDrag,
6321
6337
  St as useFeedback,
6322
- Ia as useFetch,
6323
- Ha as useNavigation,
6324
- Ji as usePointer,
6325
- Aa as useResponsive,
6326
- za as useTranslations
6338
+ Aa as useFetch,
6339
+ $a as useNavigation,
6340
+ Zi as usePointer,
6341
+ za as useResponsive,
6342
+ Na as useTranslations
6327
6343
  };