@sudobility/components 5.0.33 → 5.0.35

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.
@@ -1 +1 @@
1
- {"version":3,"file":"LanguageValidator.d.ts","sourceRoot":"","sources":["../../../src/core/i18n-routing/LanguageValidator.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAMH,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,mBAAmB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC;IAC/C;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,mBAAmB,EACnB,eAAsB,EACtB,UAAuB,EACvB,QAAe,GAChB,EAAE,sBAAsB,GAAG,KAAK,CAAC,YAAY,GAAG,IAAI,CA+BpD;AAED,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"LanguageValidator.d.ts","sourceRoot":"","sources":["../../../src/core/i18n-routing/LanguageValidator.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAMH,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,mBAAmB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC;IAC/C;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,mBAAmB,EACnB,eAAsB,EACtB,UAAuB,EACvB,QAAe,GAChB,EAAE,sBAAsB,GAAG,KAAK,CAAC,YAAY,GAAG,IAAI,CA8DpD;AAED,eAAe,iBAAiB,CAAC"}
package/dist/index.js CHANGED
@@ -1,27 +1,27 @@
1
- import { clsx as br } from "clsx";
2
- import { twMerge as pr } from "tailwind-merge";
1
+ import { clsx as pr } from "clsx";
2
+ import { twMerge as yr } from "tailwind-merge";
3
3
  import { jsx as a, jsxs as h, Fragment as O } from "react/jsx-runtime";
4
4
  import * as q from "react";
5
- import P, { useState as I, useRef as D, useEffect as A, useCallback as B, createContext as Be, useMemo as ee, useContext as Re, useLayoutEffect as yr, Component as Bt, memo as Le, lazy as oe, Suspense as Ee } from "react";
5
+ import P, { useState as I, useRef as D, useEffect as A, useCallback as B, createContext as Be, useMemo as ee, useContext as Re, useLayoutEffect as xr, Component as Bt, memo as Le, lazy as oe, Suspense as Ee } from "react";
6
6
  import { cva as G } from "class-variance-authority";
7
- import { textVariants as U, variants as j, getStatusIndicatorColor as ce, getSectionBadgeColors as xr, getCardVariantColors as vr, ui as wr } from "@sudobility/design";
7
+ import { textVariants as U, variants as j, getStatusIndicatorColor as ce, getSectionBadgeColors as vr, getCardVariantColors as wr, ui as kr } from "@sudobility/design";
8
8
  import { createPortal as et } from "react-dom";
9
- import { ExclamationCircleIcon as Ge, CheckCircleIcon as je, InformationCircleIcon as ge, XCircleIcon as tt, BellAlertIcon as kr, ExclamationTriangleIcon as rt, MinusIcon as bt, PlusIcon as pt, MagnifyingGlassIcon as Nr, XMarkIcon as Fe, CalendarIcon as Cr, CloudArrowUpIcon as Sr, DocumentIcon as Rt, Cog6ToothIcon as yt, CurrencyDollarIcon as Lr, AdjustmentsHorizontalIcon as Er, LinkIcon as Mr, FunnelIcon as Ir, ChatBubbleLeftRightIcon as Tr, ShieldCheckIcon as Ar, ArrowRightIcon as jt, ArrowTopRightOnSquareIcon as ze, ChevronLeftIcon as zr, ChevronRightIcon as at, TrashIcon as $r, PhotoIcon as xt, ArrowPathIcon as Ur, CheckIcon as Pr, ClipboardDocumentIcon as Dr, EnvelopeIcon as Br, LanguageIcon as Rr } from "@heroicons/react/24/outline";
9
+ import { ExclamationCircleIcon as Ge, CheckCircleIcon as je, InformationCircleIcon as ge, XCircleIcon as tt, BellAlertIcon as Nr, ExclamationTriangleIcon as rt, MinusIcon as bt, PlusIcon as pt, MagnifyingGlassIcon as Cr, XMarkIcon as Fe, CalendarIcon as Sr, CloudArrowUpIcon as Lr, DocumentIcon as Rt, Cog6ToothIcon as yt, CurrencyDollarIcon as Er, AdjustmentsHorizontalIcon as Mr, LinkIcon as Ir, FunnelIcon as Tr, ChatBubbleLeftRightIcon as Ar, ShieldCheckIcon as zr, ArrowRightIcon as jt, ArrowTopRightOnSquareIcon as ze, ChevronLeftIcon as $r, ChevronRightIcon as at, TrashIcon as Ur, PhotoIcon as xt, ArrowPathIcon as Pr, CheckIcon as Dr, ClipboardDocumentIcon as Br, EnvelopeIcon as Rr, LanguageIcon as jr } from "@heroicons/react/24/outline";
10
10
  import { ArrowLeftIcon as Pm, ArrowRightIcon as Dm, Bars3Icon as Bm, BellIcon as Rm, BellSlashIcon as jm, ChartBarIcon as Fm, CheckCircleIcon as Wm, CheckIcon as Om, ChevronDownIcon as Vm, ChevronLeftIcon as _m, ChevronRightIcon as Hm, ChevronUpIcon as qm, ClockIcon as Km, CodeBracketIcon as Gm, Cog6ToothIcon as Ym, CreditCardIcon as Qm, DocumentTextIcon as Jm, EnvelopeIcon as Xm, ExclamationTriangleIcon as Zm, EyeSlashIcon as eh, GlobeAltIcon as th, HomeIcon as rh, InboxIcon as ah, InformationCircleIcon as nh, KeyIcon as oh, MegaphoneIcon as sh, MinusIcon as lh, PaperAirplaneIcon as ih, PaperClipIcon as ch, PlusIcon as dh, RocketLaunchIcon as uh, ShieldCheckIcon as gh, SparklesIcon as mh, StarIcon as hh, TrashIcon as fh, UserGroupIcon as bh, XMarkIcon as ph } from "@heroicons/react/24/outline";
11
- import { XMarkIcon as jr, MinusIcon as Fr, CheckIcon as Wr } from "@heroicons/react/24/solid";
11
+ import { XMarkIcon as Fr, MinusIcon as Wr, CheckIcon as Or } from "@heroicons/react/24/solid";
12
12
  import { CheckCircleIcon as xh, CheckIcon as vh, ExclamationTriangleIcon as wh, StarIcon as kh } from "@heroicons/react/24/solid";
13
13
  import { ChainType as vt, InfoType as de } from "@sudobility/types";
14
- import { Root as Ft, Thumb as Or } from "@radix-ui/react-switch";
14
+ import { Root as Ft, Thumb as Vr } from "@radix-ui/react-switch";
15
15
  import * as _ from "@radix-ui/react-select";
16
- import { ChevronDownIcon as nt, ChevronUpIcon as Vr, CheckIcon as _r } from "@heroicons/react/20/solid";
16
+ import { ChevronDownIcon as nt, ChevronUpIcon as _r, CheckIcon as Hr } from "@heroicons/react/20/solid";
17
17
  import { Root as Wt } from "@radix-ui/react-label";
18
- import { Slot as Hr } from "@radix-ui/react-slot";
19
- import { Link as Me, useParams as We, useNavigate as ot, Outlet as qr, useLocation as Kr } from "react-router-dom";
20
- import { Root as Gr, List as Ot, Trigger as Vt, Content as _t } from "@radix-ui/react-tabs";
18
+ import { Slot as qr } from "@radix-ui/react-slot";
19
+ import { Link as Me, useParams as We, useNavigate as ot, useLocation as Ot, Outlet as Kr } from "react-router-dom";
20
+ import { Root as Gr, List as Vt, Trigger as _t, Content as Ht } from "@radix-ui/react-tabs";
21
21
  import { useTranslation as Oe } from "react-i18next";
22
22
  import { onCLS as Yr, onINP as Qr, onFCP as Jr, onLCP as Xr, onTTFB as Zr } from "web-vitals";
23
23
  function u(...t) {
24
- return pr(br(t));
24
+ return yr(pr(t));
25
25
  }
26
26
  const ea = ({
27
27
  children: t,
@@ -260,7 +260,7 @@ const ea = ({
260
260
  children: t
261
261
  }
262
262
  );
263
- }, Ht = ({
263
+ }, qt = ({
264
264
  children: t,
265
265
  direction: e = "vertical",
266
266
  spacing: r = "md",
@@ -350,7 +350,7 @@ const ea = ({
350
350
  ] }, p)) : t
351
351
  }
352
352
  );
353
- }, Ss = (t) => /* @__PURE__ */ a(Ht, { direction: "vertical", ...t }), Ls = (t) => /* @__PURE__ */ a(Ht, { direction: "horizontal", ...t }), Es = ({
353
+ }, Ss = (t) => /* @__PURE__ */ a(qt, { direction: "vertical", ...t }), Ls = (t) => /* @__PURE__ */ a(qt, { direction: "horizontal", ...t }), Es = ({
354
354
  children: t,
355
355
  axis: e = "both",
356
356
  inline: r = !1,
@@ -2045,7 +2045,7 @@ const ea = ({
2045
2045
  info: ge,
2046
2046
  success: je,
2047
2047
  warning: rt,
2048
- attention: kr,
2048
+ attention: Nr,
2049
2049
  error: tt
2050
2050
  }, ol = ({ children: t, className: e }) => /* @__PURE__ */ a("div", { className: u("font-medium mb-1", e), children: t }), sl = ({ children: t, className: e }) => /* @__PURE__ */ a("div", { className: u("text-sm break-words", e), children: t }), wt = ({
2051
2051
  variant: t = "info",
@@ -2314,7 +2314,7 @@ const ea = ({
2314
2314
  ]
2315
2315
  }
2316
2316
  ) : null;
2317
- }, qt = Be(null);
2317
+ }, Kt = Be(null);
2318
2318
  function ua() {
2319
2319
  return `toast-${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;
2320
2320
  }
@@ -2365,7 +2365,7 @@ function ul({
2365
2365
  }),
2366
2366
  [n, l, s, i, d, c, g]
2367
2367
  );
2368
- return /* @__PURE__ */ a(qt.Provider, { value: m, children: t });
2368
+ return /* @__PURE__ */ a(Kt.Provider, { value: m, children: t });
2369
2369
  }
2370
2370
  const ga = {
2371
2371
  success: /* @__PURE__ */ a(
@@ -2547,7 +2547,7 @@ function gl({
2547
2547
  );
2548
2548
  }
2549
2549
  function ml() {
2550
- const t = Re(qt);
2550
+ const t = Re(Kt);
2551
2551
  if (!t)
2552
2552
  throw new Error("useToast must be used within a ToastProvider");
2553
2553
  return t;
@@ -2693,7 +2693,7 @@ const hl = ({
2693
2693
  },
2694
2694
  className: "ml-1 hover:bg-black/10 dark:hover:bg-white/10 rounded-full p-0.5",
2695
2695
  "aria-label": "Dismiss",
2696
- children: /* @__PURE__ */ a(jr, { className: u(x[r]) })
2696
+ children: /* @__PURE__ */ a(Fr, { className: u(x[r]) })
2697
2697
  }
2698
2698
  )
2699
2699
  ] });
@@ -3266,7 +3266,7 @@ const Nl = ({
3266
3266
  C.iconLeft
3267
3267
  ),
3268
3268
  children: /* @__PURE__ */ a(
3269
- Nr,
3269
+ Cr,
3270
3270
  {
3271
3271
  className: u(C.icon, "text-gray-400 dark:text-gray-500")
3272
3272
  }
@@ -3400,7 +3400,7 @@ const Nl = ({
3400
3400
  y.iconLeft
3401
3401
  ),
3402
3402
  children: /* @__PURE__ */ a(
3403
- Cr,
3403
+ Sr,
3404
3404
  {
3405
3405
  className: u(y.icon, "text-gray-400 dark:text-gray-500")
3406
3406
  }
@@ -3887,7 +3887,7 @@ const va = ({
3887
3887
  z(),
3888
3888
  !s && "hover:border-opacity-75"
3889
3889
  ),
3890
- children: f ? /* @__PURE__ */ a(Fr, { className: u("text-white", W.check) }) : S ? N || /* @__PURE__ */ a(Wr, { className: u("text-white", W.check) }) : null
3890
+ children: f ? /* @__PURE__ */ a(Wr, { className: u("text-white", W.check) }) : S ? N || /* @__PURE__ */ a(Or, { className: u("text-white", W.check) }) : null
3891
3891
  }
3892
3892
  )
3893
3893
  ] }),
@@ -3939,7 +3939,7 @@ const va = ({
3939
3939
  ...s,
3940
3940
  ref: l,
3941
3941
  children: /* @__PURE__ */ a(
3942
- Or,
3942
+ Vr,
3943
3943
  {
3944
3944
  className: u(
3945
3945
  "pointer-events-none block h-5 w-5 rounded-full bg-white shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0"
@@ -4107,7 +4107,7 @@ const Il = ({
4107
4107
  }
4108
4108
  ));
4109
4109
  Ye.displayName = _.Trigger.displayName;
4110
- const Kt = q.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
4110
+ const Gt = q.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
4111
4111
  _.ScrollUpButton,
4112
4112
  {
4113
4113
  ref: r,
@@ -4116,11 +4116,11 @@ const Kt = q.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
4116
4116
  t
4117
4117
  ),
4118
4118
  ...e,
4119
- children: /* @__PURE__ */ a(Vr, { className: "h-4 w-4" })
4119
+ children: /* @__PURE__ */ a(_r, { className: "h-4 w-4" })
4120
4120
  }
4121
4121
  ));
4122
- Kt.displayName = _.ScrollUpButton.displayName;
4123
- const Gt = q.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
4122
+ Gt.displayName = _.ScrollUpButton.displayName;
4123
+ const Yt = q.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
4124
4124
  _.ScrollDownButton,
4125
4125
  {
4126
4126
  ref: r,
@@ -4132,7 +4132,7 @@ const Gt = q.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
4132
4132
  children: /* @__PURE__ */ a(nt, { className: "h-4 w-4" })
4133
4133
  }
4134
4134
  ));
4135
- Gt.displayName = _.ScrollDownButton.displayName;
4135
+ Yt.displayName = _.ScrollDownButton.displayName;
4136
4136
  const Qe = q.forwardRef(({ className: t, children: e, position: r = "popper", ...n }, o) => /* @__PURE__ */ a(_.Portal, { children: /* @__PURE__ */ h(
4137
4137
  _.Content,
4138
4138
  {
@@ -4146,7 +4146,7 @@ const Qe = q.forwardRef(({ className: t, children: e, position: r = "popper", ..
4146
4146
  position: r,
4147
4147
  ...n,
4148
4148
  children: [
4149
- /* @__PURE__ */ a(Kt, {}),
4149
+ /* @__PURE__ */ a(Gt, {}),
4150
4150
  /* @__PURE__ */ a(
4151
4151
  _.Viewport,
4152
4152
  {
@@ -4157,7 +4157,7 @@ const Qe = q.forwardRef(({ className: t, children: e, position: r = "popper", ..
4157
4157
  children: e
4158
4158
  }
4159
4159
  ),
4160
- /* @__PURE__ */ a(Gt, {})
4160
+ /* @__PURE__ */ a(Yt, {})
4161
4161
  ]
4162
4162
  }
4163
4163
  ) }));
@@ -4183,7 +4183,7 @@ const Je = q.forwardRef(({ className: t, children: e, ...r }, n) => /* @__PURE__
4183
4183
  ...r,
4184
4184
  children: [
4185
4185
  /* @__PURE__ */ a(_.ItemText, { children: e }),
4186
- /* @__PURE__ */ a("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ a(_.ItemIndicator, { children: /* @__PURE__ */ a(_r, { className: "h-4 w-4" }) }) })
4186
+ /* @__PURE__ */ a("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ a(_.ItemIndicator, { children: /* @__PURE__ */ a(Hr, { className: "h-4 w-4" }) }) })
4187
4187
  ]
4188
4188
  }
4189
4189
  ));
@@ -4994,7 +4994,7 @@ const Ul = ({
4994
4994
  s && "opacity-50 cursor-not-allowed"
4995
4995
  ),
4996
4996
  children: /* @__PURE__ */ h("div", { className: "flex flex-col items-center justify-center space-y-3", children: [
4997
- /* @__PURE__ */ a(Sr, { className: "h-12 w-12 text-gray-400 dark:text-gray-500" }),
4997
+ /* @__PURE__ */ a(Lr, { className: "h-12 w-12 text-gray-400 dark:text-gray-500" }),
4998
4998
  /* @__PURE__ */ a("p", { className: "text-sm text-gray-600 dark:text-gray-400 text-center", children: y }),
4999
4999
  n && /* @__PURE__ */ h("p", { className: "text-xs text-gray-500 dark:text-gray-500", children: [
5000
5000
  "Max file size: ",
@@ -5314,8 +5314,8 @@ const jl = ({
5314
5314
  ] });
5315
5315
  }, La = G(
5316
5316
  `${U.label.default()} peer-disabled:cursor-not-allowed peer-disabled:opacity-70`
5317
- ), Yt = q.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(Wt, { ref: r, className: u(La(), t), ...e }));
5318
- Yt.displayName = Wt.displayName;
5317
+ ), Qt = q.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(Wt, { ref: r, className: u(La(), t), ...e }));
5318
+ Qt.displayName = Wt.displayName;
5319
5319
  const Wl = ({
5320
5320
  id: t,
5321
5321
  label: e,
@@ -5334,7 +5334,7 @@ const Wl = ({
5334
5334
  }) => {
5335
5335
  const f = !!i, p = l || i ? `${t}-helper` : void 0;
5336
5336
  return /* @__PURE__ */ h("div", { className: u("space-y-2", y), children: [
5337
- /* @__PURE__ */ h(Yt, { htmlFor: t, children: [
5337
+ /* @__PURE__ */ h(Qt, { htmlFor: t, children: [
5338
5338
  e,
5339
5339
  d && /* @__PURE__ */ a("span", { className: "text-red-500 ml-1", children: "*" })
5340
5340
  ] }),
@@ -5644,7 +5644,7 @@ const Wl = ({
5644
5644
  children: c,
5645
5645
  ...g
5646
5646
  }, m) => {
5647
- const y = o ? Hr : "button", b = e || "default", f = r && r !== "default" && r !== "icon" ? r : void 0, p = (C) => C ? {
5647
+ const y = o ? qr : "button", b = e || "default", f = r && r !== "default" && r !== "icon" ? r : void 0, p = (C) => C ? {
5648
5648
  sm: "small",
5649
5649
  lg: "large",
5650
5650
  default: "default"
@@ -8447,7 +8447,7 @@ const zi = ({
8447
8447
  size: n = "md",
8448
8448
  className: o
8449
8449
  }) => {
8450
- const { container: s, icon: l } = xr(r), i = _a[n];
8450
+ const { container: s, icon: l } = vr(r), i = _a[n];
8451
8451
  return /* @__PURE__ */ h(
8452
8452
  "div",
8453
8453
  {
@@ -8514,18 +8514,18 @@ const zi = ({
8514
8514
  case "arrow-right":
8515
8515
  return jt;
8516
8516
  case "shield":
8517
- return Ar;
8517
+ return zr;
8518
8518
  case "reply":
8519
8519
  case "chat":
8520
- return Tr;
8520
+ return Ar;
8521
8521
  case "filter":
8522
- return Ir;
8522
+ return Tr;
8523
8523
  case "plug":
8524
- return Mr;
8524
+ return Ir;
8525
8525
  case "adjustments":
8526
- return Er;
8526
+ return Mr;
8527
8527
  case "currency-dollar":
8528
- return Lr;
8528
+ return Er;
8529
8529
  default:
8530
8530
  return yt;
8531
8531
  }
@@ -8813,7 +8813,7 @@ const zi = ({
8813
8813
  size: "default"
8814
8814
  }
8815
8815
  }
8816
- ), Qt = q.forwardRef(
8816
+ ), Jt = q.forwardRef(
8817
8817
  ({
8818
8818
  className: t,
8819
8819
  variant: e,
@@ -8876,7 +8876,7 @@ const zi = ({
8876
8876
  );
8877
8877
  }
8878
8878
  );
8879
- Qt.displayName = "SmartLink";
8879
+ Jt.displayName = "SmartLink";
8880
8880
  const Yi = (t, e) => q.useMemo(() => {
8881
8881
  let r = t;
8882
8882
  return Object.entries(e).forEach(([n, o]) => {
@@ -8966,7 +8966,7 @@ const Yi = (t, e) => q.useMemo(() => {
8966
8966
  );
8967
8967
  if (d) {
8968
8968
  const [, c, g] = d;
8969
- return /* @__PURE__ */ a(Qt, { to: c, variant: n, children: g }, i);
8969
+ return /* @__PURE__ */ a(Jt, { to: c, variant: n, children: g }, i);
8970
8970
  }
8971
8971
  return l;
8972
8972
  }) });
@@ -9210,32 +9210,32 @@ const tc = ({
9210
9210
  );
9211
9211
  Ya.displayName = "Tabs";
9212
9212
  const Qa = q.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
9213
- Ot,
9213
+ Vt,
9214
9214
  {
9215
9215
  ref: r,
9216
9216
  className: u(j.navigation.tabs.list(), t),
9217
9217
  ...e
9218
9218
  }
9219
9219
  ));
9220
- Qa.displayName = Ot.displayName;
9220
+ Qa.displayName = Vt.displayName;
9221
9221
  const Ja = q.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
9222
- Vt,
9222
+ _t,
9223
9223
  {
9224
9224
  ref: r,
9225
9225
  className: u(j.navigation.tabs.trigger(), t),
9226
9226
  ...e
9227
9227
  }
9228
9228
  ));
9229
- Ja.displayName = Vt.displayName;
9229
+ Ja.displayName = _t.displayName;
9230
9230
  const Xa = q.forwardRef(({ className: t, ...e }, r) => /* @__PURE__ */ a(
9231
- _t,
9231
+ Ht,
9232
9232
  {
9233
9233
  ref: r,
9234
9234
  className: u(j.navigation.tabs.content(), t),
9235
9235
  ...e
9236
9236
  }
9237
9237
  ));
9238
- Xa.displayName = _t.displayName;
9238
+ Xa.displayName = Ht.displayName;
9239
9239
  const ac = ({
9240
9240
  items: t,
9241
9241
  orientation: e = "horizontal",
@@ -9482,7 +9482,7 @@ const ac = ({
9482
9482
  disabled: t === 1,
9483
9483
  className: N,
9484
9484
  "aria-label": "Go to previous page",
9485
- children: /* @__PURE__ */ a(zr, { className: d.icon })
9485
+ children: /* @__PURE__ */ a($r, { className: d.icon })
9486
9486
  }
9487
9487
  ),
9488
9488
  g.map((v, C) => v === "ellipsis" ? /* @__PURE__ */ a(
@@ -10219,7 +10219,7 @@ const gc = ({
10219
10219
  children: t,
10220
10220
  onAction: e,
10221
10221
  actionText: r = "Remove",
10222
- actionIcon: n = $r,
10222
+ actionIcon: n = Ur,
10223
10223
  destructive: o = !0,
10224
10224
  isProcessing: s = !1,
10225
10225
  variant: l = "default",
@@ -10699,7 +10699,7 @@ const Sc = ({
10699
10699
  sm: "p-3",
10700
10700
  md: "p-6",
10701
10701
  lg: "p-8"
10702
- }, Jt = ({
10702
+ }, Xt = ({
10703
10703
  variant: t = "elevated",
10704
10704
  padding: e = "md",
10705
10705
  icon: r,
@@ -10710,7 +10710,7 @@ const Sc = ({
10710
10710
  }) => {
10711
10711
  const d = ["info", "success", "warning", "error"].includes(
10712
10712
  t
10713
- ) && (r || n), c = t === "callout" ? en : vr(
10713
+ ) && (r || n), c = t === "callout" ? en : wr(
10714
10714
  t
10715
10715
  );
10716
10716
  return /* @__PURE__ */ a(
@@ -10780,7 +10780,7 @@ const Sc = ({
10780
10780
  size: n = "default",
10781
10781
  className: o
10782
10782
  }) => /* @__PURE__ */ h(
10783
- Jt,
10783
+ Xt,
10784
10784
  {
10785
10785
  variant: r === "neutral" ? "bordered" : r,
10786
10786
  padding: { sm: "sm", default: "md", lg: "lg" }[n],
@@ -10808,7 +10808,7 @@ const Sc = ({
10808
10808
  centered: s = !1,
10809
10809
  className: l
10810
10810
  }) => /* @__PURE__ */ a(
10811
- Jt,
10811
+ Xt,
10812
10812
  {
10813
10813
  variant: n === "gradient" || n === "neutral" ? "callout" : n,
10814
10814
  padding: { sm: "sm", default: "md", lg: "lg" }[o],
@@ -13405,7 +13405,7 @@ const Sc = ({
13405
13405
  ),
13406
13406
  /* @__PURE__ */ a("p", { className: "text-xs text-gray-600 dark:text-gray-400 max-w-[200px] text-center break-all", children: t })
13407
13407
  ] });
13408
- }, Xt = ({
13408
+ }, Zt = ({
13409
13409
  isOpen: t,
13410
13410
  onClose: e,
13411
13411
  title: r,
@@ -13502,7 +13502,7 @@ const Sc = ({
13502
13502
  className: u(j.overlays.modal.header(), r),
13503
13503
  children: t
13504
13504
  }
13505
- ), Zt = ({
13505
+ ), er = ({
13506
13506
  children: t,
13507
13507
  variant: e = "default",
13508
13508
  className: r
@@ -13513,7 +13513,7 @@ const Sc = ({
13513
13513
  className: u(j.overlays.modal.body(), r),
13514
13514
  children: t
13515
13515
  }
13516
- ), er = ({
13516
+ ), tr = ({
13517
13517
  children: t,
13518
13518
  variant: e = "default",
13519
13519
  className: r
@@ -14167,7 +14167,7 @@ const Sc = ({
14167
14167
  p(l), N(null), e();
14168
14168
  }, w = y ? f.trim().length > 0 : !0;
14169
14169
  return /* @__PURE__ */ a(
14170
- Xt,
14170
+ Zt,
14171
14171
  {
14172
14172
  isOpen: t,
14173
14173
  onClose: C,
@@ -14177,7 +14177,7 @@ const Sc = ({
14177
14177
  closeOnEscape: !c,
14178
14178
  closeOnOverlayClick: !c,
14179
14179
  children: /* @__PURE__ */ h("form", { onSubmit: v, children: [
14180
- /* @__PURE__ */ h(Zt, { variant: "padded", children: [
14180
+ /* @__PURE__ */ h(er, { variant: "padded", children: [
14181
14181
  /* @__PURE__ */ a("h3", { id: "text-input-modal-title", className: U.heading.h4(), children: n }),
14182
14182
  /* @__PURE__ */ a(
14183
14183
  "p",
@@ -14211,7 +14211,7 @@ const Sc = ({
14211
14211
  }
14212
14212
  )
14213
14213
  ] }),
14214
- /* @__PURE__ */ h(er, { children: [
14214
+ /* @__PURE__ */ h(tr, { children: [
14215
14215
  /* @__PURE__ */ a(
14216
14216
  te,
14217
14217
  {
@@ -14404,7 +14404,7 @@ const Sc = ({
14404
14404
  }) => {
14405
14405
  const g = nn[d], m = on[d], y = sn[d];
14406
14406
  return /* @__PURE__ */ h(
14407
- Xt,
14407
+ Zt,
14408
14408
  {
14409
14409
  isOpen: t,
14410
14410
  onClose: e,
@@ -14413,7 +14413,7 @@ const Sc = ({
14413
14413
  "aria-labelledby": "confirmation-dialog-title",
14414
14414
  "aria-describedby": "confirmation-dialog-description",
14415
14415
  children: [
14416
- /* @__PURE__ */ h(Zt, { variant: "padded", children: [
14416
+ /* @__PURE__ */ h(er, { variant: "padded", children: [
14417
14417
  /* @__PURE__ */ h("div", { className: "flex items-center gap-3 mb-4", children: [
14418
14418
  /* @__PURE__ */ a(g, { className: m() }),
14419
14419
  /* @__PURE__ */ a(
@@ -14434,7 +14434,7 @@ const Sc = ({
14434
14434
  }
14435
14435
  )
14436
14436
  ] }),
14437
- /* @__PURE__ */ h(er, { children: [
14437
+ /* @__PURE__ */ h(tr, { children: [
14438
14438
  /* @__PURE__ */ a(te, { variant: "outline", onClick: e, disabled: c, children: l }),
14439
14439
  /* @__PURE__ */ a(
14440
14440
  te,
@@ -14900,7 +14900,7 @@ const Sc = ({
14900
14900
  },
14901
14901
  children: /* @__PURE__ */ h("div", { className: "flex flex-col items-center justify-center gap-2", children: [
14902
14902
  /* @__PURE__ */ a(
14903
- Ur,
14903
+ Pr,
14904
14904
  {
14905
14905
  className: `w-6 h-6 text-blue-600 dark:text-blue-400 transition-transform duration-200 ${m ? "animate-spin" : ""}`,
14906
14906
  style: {
@@ -15175,7 +15175,7 @@ const Sc = ({
15175
15175
  ] })
15176
15176
  ] })
15177
15177
  ] });
15178
- }, tr = ({
15178
+ }, rr = ({
15179
15179
  items: t,
15180
15180
  shareConfig: e,
15181
15181
  className: r,
@@ -15193,39 +15193,39 @@ const Sc = ({
15193
15193
  s < t.length - 1 && /* @__PURE__ */ a("li", { children: /* @__PURE__ */ a("span", { className: "text-gray-400 dark:text-gray-500", children: "/" }) })
15194
15194
  ] }, s)) }) }),
15195
15195
  e && /* @__PURE__ */ a(ln, { shareConfig: e })
15196
- ] }), Hd = tr, rr = {
15196
+ ] }), Hd = rr, ar = {
15197
15197
  standard: "max-w-7xl mx-auto px-4",
15198
15198
  wide: "max-w-[1920px] mx-auto px-4",
15199
15199
  full: "w-full px-4"
15200
- }, ar = {
15200
+ }, nr = {
15201
15201
  standard: "max-w-7xl mx-auto",
15202
15202
  wide: "max-w-[1920px] mx-auto",
15203
15203
  full: "w-full"
15204
- }, nr = "px-4", or = Be(void 0), cn = ({
15204
+ }, or = "px-4", sr = Be(void 0), cn = ({
15205
15205
  mode: t = "standard",
15206
15206
  children: e
15207
15207
  }) => {
15208
15208
  const r = {
15209
15209
  mode: t,
15210
- containerClass: rr[t],
15211
- maxWidthClass: ar[t],
15212
- paddingClass: nr
15210
+ containerClass: ar[t],
15211
+ maxWidthClass: nr[t],
15212
+ paddingClass: or
15213
15213
  };
15214
- return /* @__PURE__ */ a(or.Provider, { value: r, children: e });
15214
+ return /* @__PURE__ */ a(sr.Provider, { value: r, children: e });
15215
15215
  }, se = () => {
15216
- const t = Re(or);
15216
+ const t = Re(sr);
15217
15217
  return t || {
15218
15218
  mode: "standard",
15219
- containerClass: rr.standard,
15220
- maxWidthClass: ar.standard,
15221
- paddingClass: nr
15219
+ containerClass: ar.standard,
15220
+ maxWidthClass: nr.standard,
15221
+ paddingClass: or
15222
15222
  };
15223
15223
  }, qd = ({
15224
15224
  items: t,
15225
15225
  shareConfig: e
15226
15226
  }) => {
15227
15227
  const { containerClass: r } = se();
15228
- return /* @__PURE__ */ a("div", { className: "bg-white dark:bg-gray-800 border-b border-gray-200 dark:border-gray-700 relative z-50", children: /* @__PURE__ */ a("div", { className: `${r} py-3 relative`, children: /* @__PURE__ */ a(tr, { items: t, shareConfig: e }) }) });
15228
+ return /* @__PURE__ */ a("div", { className: "bg-white dark:bg-gray-800 border-b border-gray-200 dark:border-gray-700 relative z-50", children: /* @__PURE__ */ a("div", { className: `${r} py-3 relative`, children: /* @__PURE__ */ a(rr, { items: t, shareConfig: e }) }) });
15229
15229
  }, dn = (t) => {
15230
15230
  const [e, r] = I(""), [n, o] = I(!0), [s, l] = I(null);
15231
15231
  return A(() => {
@@ -15330,7 +15330,7 @@ const Sc = ({
15330
15330
  onClick: x,
15331
15331
  className: "p-2 text-gray-400 hover:text-green-400 hover:bg-gray-800 rounded-lg transition-all duration-200 group",
15332
15332
  title: i("copyCode", "Copy code"),
15333
- children: m ? /* @__PURE__ */ a(Pr, { className: "h-4 w-4 text-green-400" }) : /* @__PURE__ */ a(Dr, { className: "h-4 w-4 group-hover:scale-110 transition-transform" })
15333
+ children: m ? /* @__PURE__ */ a(Dr, { className: "h-4 w-4 text-green-400" }) : /* @__PURE__ */ a(Br, { className: "h-4 w-4 group-hover:scale-110 transition-transform" })
15334
15334
  }
15335
15335
  )
15336
15336
  ] }),
@@ -15352,7 +15352,7 @@ const Sc = ({
15352
15352
  onSubsectionSelect: o
15353
15353
  }) => {
15354
15354
  const s = D(null), [l, i] = I(void 0);
15355
- return yr(() => {
15355
+ return xr(() => {
15356
15356
  if (s.current) {
15357
15357
  const d = s.current.scrollHeight;
15358
15358
  i(e ? d + 16 : 0);
@@ -15442,7 +15442,7 @@ const Sc = ({
15442
15442
  className: d = ""
15443
15443
  }) => {
15444
15444
  const c = () => n === "envelope" || n === "both" ? /* @__PURE__ */ a(
15445
- Br,
15445
+ Rr,
15446
15446
  {
15447
15447
  className: o === "prominent" ? "h-5 w-5 mr-2" : "h-4 w-4 mr-1"
15448
15448
  }
@@ -15633,7 +15633,7 @@ const Sc = ({
15633
15633
  ) })
15634
15634
  ] }) }) : /* @__PURE__ */ h("div", { className: `space-y-2 ${e}`, children: [
15635
15635
  /* @__PURE__ */ h("label", { className: "text-sm font-medium text-gray-700 dark:text-gray-300 flex items-center space-x-2", children: [
15636
- /* @__PURE__ */ a(Rr, { className: "h-4 w-4 text-gray-500 dark:text-gray-400" }),
15636
+ /* @__PURE__ */ a(jr, { className: "h-4 w-4 text-gray-500 dark:text-gray-400" }),
15637
15637
  /* @__PURE__ */ a("span", { children: n("language", "Language") })
15638
15638
  ] }),
15639
15639
  /* @__PURE__ */ h(kt, { value: o, onValueChange: d, children: [
@@ -16069,24 +16069,45 @@ function p0({
16069
16069
  storageKey: r = "language",
16070
16070
  fallback: n = null
16071
16071
  }) {
16072
- const { lang: o } = We(), s = ot(), { i18n: l } = Oe();
16072
+ const { lang: o } = We(), s = ot(), l = Ot(), { i18n: i } = Oe();
16073
16073
  return A(() => {
16074
16074
  if (!o || !t(o)) {
16075
- s(`/${e}`, { replace: !0 });
16075
+ let d = e;
16076
+ try {
16077
+ const g = localStorage.getItem(r);
16078
+ g && t(g) && (d = g);
16079
+ } catch {
16080
+ }
16081
+ if (d === e) {
16082
+ const g = navigator.language.split("-")[0];
16083
+ t(g) && (d = g);
16084
+ }
16085
+ const c = `/${d}${l.pathname}${l.search}${l.hash}`;
16086
+ s(c, { replace: !0 });
16076
16087
  return;
16077
16088
  }
16078
- l.language !== o && l.changeLanguage(o);
16089
+ i.language !== o && i.changeLanguage(o);
16079
16090
  try {
16080
16091
  localStorage.setItem(r, o);
16081
16092
  } catch {
16082
16093
  }
16083
- }, [o, l, s, t, e, r]), !o || !t(o) ? /* @__PURE__ */ a(O, { children: n }) : /* @__PURE__ */ a(qr, {});
16094
+ }, [
16095
+ o,
16096
+ i,
16097
+ s,
16098
+ l.pathname,
16099
+ l.search,
16100
+ l.hash,
16101
+ t,
16102
+ e,
16103
+ r
16104
+ ]), !o || !t(o) ? /* @__PURE__ */ a(O, { children: n }) : /* @__PURE__ */ a(Kr, {});
16084
16105
  }
16085
16106
  function Et(t, e) {
16086
- const r = sr(t);
16107
+ const r = lr(t);
16087
16108
  return `/${e}${r.startsWith("/") ? r : `/${r}`}`;
16088
16109
  }
16089
- function sr(t, e) {
16110
+ function lr(t, e) {
16090
16111
  const r = t.split("/").filter(Boolean);
16091
16112
  if (r.length > 0) {
16092
16113
  const n = r[0];
@@ -16113,7 +16134,7 @@ function y0(t = {}) {
16113
16134
  ), c = B(
16114
16135
  (g, m) => {
16115
16136
  l.changeLanguage(g);
16116
- const y = sr(
16137
+ const y = lr(
16117
16138
  m || (typeof window < "u" ? window.location.pathname : "/"),
16118
16139
  e
16119
16140
  ), b = Et(y, g);
@@ -16222,7 +16243,7 @@ function v0({
16222
16243
  }
16223
16244
  );
16224
16245
  }
16225
- var Y = /* @__PURE__ */ ((t) => (t.LIGHT = "light", t.DARK = "dark", t.SYSTEM = "system", t))(Y || {}), lr = /* @__PURE__ */ ((t) => (t.SMALL = "small", t.MEDIUM = "medium", t.LARGE = "large", t))(lr || {});
16246
+ var Y = /* @__PURE__ */ ((t) => (t.LIGHT = "light", t.DARK = "dark", t.SYSTEM = "system", t))(Y || {}), ir = /* @__PURE__ */ ((t) => (t.SMALL = "small", t.MEDIUM = "medium", t.LARGE = "large", t))(ir || {});
16226
16247
  const Te = {
16227
16248
  getItem: (t) => {
16228
16249
  try {
@@ -16237,11 +16258,11 @@ const Te = {
16237
16258
  } catch {
16238
16259
  }
16239
16260
  }
16240
- }, ir = Be(
16261
+ }, cr = Be(
16241
16262
  void 0
16242
16263
  );
16243
16264
  function w0() {
16244
- const t = Re(ir);
16265
+ const t = Re(cr);
16245
16266
  if (t === void 0)
16246
16267
  throw new Error("useTheme must be used within a ThemeProvider");
16247
16268
  return t;
@@ -16251,7 +16272,7 @@ function k0({
16251
16272
  themeStorageKey: e = "theme",
16252
16273
  fontSizeStorageKey: r = "font-size",
16253
16274
  defaultTheme: n = Y.LIGHT,
16254
- defaultFontSize: o = lr.MEDIUM
16275
+ defaultFontSize: o = ir.MEDIUM
16255
16276
  }) {
16256
16277
  const [s, l] = I(() => Te.getItem(e) || n), [i, d] = I(() => Te.getItem(r) || o), [c, g] = I(
16257
16278
  () => s === Y.SYSTEM ? typeof window < "u" && window.matchMedia("(prefers-color-scheme: dark)").matches ? Y.DARK : Y.LIGHT : s
@@ -16293,7 +16314,7 @@ function k0({
16293
16314
  }),
16294
16315
  [s, i, m, y, c]
16295
16316
  );
16296
- return /* @__PURE__ */ a(ir.Provider, { value: b, children: t });
16317
+ return /* @__PURE__ */ a(cr.Provider, { value: b, children: t });
16297
16318
  }
16298
16319
  const N0 = ({
16299
16320
  icon: t,
@@ -16982,7 +17003,7 @@ const $0 = ({
16982
17003
  {
16983
17004
  className: u(
16984
17005
  "border-t mt-8 pt-8 text-center space-y-4",
16985
- wr.border.default,
17006
+ kr.border.default,
16986
17007
  e
16987
17008
  ),
16988
17009
  children: t
@@ -17407,7 +17428,7 @@ const $0 = ({
17407
17428
  style: { aspectRatio: t },
17408
17429
  children: e
17409
17430
  }
17410
- ) }), cr = Be(null), Cn = ({
17431
+ ) }), dr = Be(null), Cn = ({
17411
17432
  children: t,
17412
17433
  variant: e = "default",
17413
17434
  sticky: r = !0
@@ -17416,7 +17437,7 @@ const $0 = ({
17416
17437
  o((l) => !l);
17417
17438
  }, []);
17418
17439
  return /* @__PURE__ */ a(
17419
- cr.Provider,
17440
+ dr.Provider,
17420
17441
  {
17421
17442
  value: {
17422
17443
  variant: e,
@@ -17428,8 +17449,8 @@ const $0 = ({
17428
17449
  children: t
17429
17450
  }
17430
17451
  );
17431
- }, dr = () => {
17432
- const t = Re(cr);
17452
+ }, ur = () => {
17453
+ const t = Re(dr);
17433
17454
  if (!t)
17434
17455
  throw new Error("useTopbar must be used within a TopbarProvider");
17435
17456
  return t;
@@ -17599,7 +17620,7 @@ const $0 = ({
17599
17620
  menuItems: s,
17600
17621
  LinkComponent: l
17601
17622
  }) => {
17602
- const { mobileMenuOpen: i, toggleMobileMenu: d, setMobileMenuOpen: c } = dr(), [g, m] = I(!1), y = D(null);
17623
+ const { mobileMenuOpen: i, toggleMobileMenu: d, setMobileMenuOpen: c } = ur(), [g, m] = I(!1), y = D(null);
17603
17624
  it(y, () => {
17604
17625
  m(!1);
17605
17626
  });
@@ -17860,7 +17881,7 @@ const $0 = ({
17860
17881
  className: r,
17861
17882
  LinkComponent: n
17862
17883
  }) => {
17863
- const { mobileMenuOpen: o, setMobileMenuOpen: s } = dr();
17884
+ const { mobileMenuOpen: o, setMobileMenuOpen: s } = ur();
17864
17885
  return e ?? o ? /* @__PURE__ */ a(
17865
17886
  "div",
17866
17887
  {
@@ -18593,7 +18614,7 @@ function yu(t, e) {
18593
18614
  else
18594
18615
  return e;
18595
18616
  }
18596
- const ur = (t) => ({
18617
+ const gr = (t) => ({
18597
18618
  "default-src": ["'self'"],
18598
18619
  "script-src": [
18599
18620
  "'self'",
@@ -18659,8 +18680,8 @@ const ur = (t) => ({
18659
18680
  "object-src": ["'none'"],
18660
18681
  "base-uri": ["'self'"],
18661
18682
  "form-action": ["'self'"]
18662
- }), xu = ur(), Yn = (t) => {
18663
- const e = ur(t);
18683
+ }), xu = gr(), Yn = (t) => {
18684
+ const e = gr(t);
18664
18685
  return Object.entries(e).map(([r, n]) => `${r} ${n.join(" ")}`).join("; ");
18665
18686
  }, Qn = (t) => ({
18666
18687
  "X-Frame-Options": "DENY",
@@ -19576,7 +19597,7 @@ const Vu = {
19576
19597
  /* @__PURE__ */ a("div", { className: "animate-spin rounded-full h-6 w-6 border-b-2 border-blue-500" }),
19577
19598
  /* @__PURE__ */ a("span", { className: "ml-2 text-sm text-gray-600", children: t })
19578
19599
  ] }), He = /* @__PURE__ */ new Map(), ye = /* @__PURE__ */ new Set();
19579
- function gr() {
19600
+ function mr() {
19580
19601
  const t = [];
19581
19602
  return !!window.ethereum?.isMetaMask && (ye.add("metamask"), t.push({
19582
19603
  name: "MetaMask",
@@ -19596,7 +19617,7 @@ function gr() {
19596
19617
  priority: 4
19597
19618
  }), t.sort((o, s) => o.priority - s.priority);
19598
19619
  }
19599
- function mr(t) {
19620
+ function hr(t) {
19600
19621
  const e = `wallet-${t.toLowerCase()}`;
19601
19622
  if (He.has(e))
19602
19623
  return He.get(e);
@@ -19620,13 +19641,13 @@ function mr(t) {
19620
19641
  function _u({
19621
19642
  children: t
19622
19643
  }) {
19623
- const e = gr();
19644
+ const e = mr();
19624
19645
  return e.filter((r) => r.priority <= 2 && r.detected).forEach((r) => {
19625
19646
  setTimeout(() => {
19626
19647
  }, 1e3);
19627
19648
  }), /* @__PURE__ */ h(O, { children: [
19628
19649
  e.map((r) => {
19629
- const n = mr(r.name);
19650
+ const n = hr(r.name);
19630
19651
  return /* @__PURE__ */ a(n, {}, r.name);
19631
19652
  }),
19632
19653
  t
@@ -19636,7 +19657,7 @@ const ft = class ft {
19636
19657
  static preloadWallet(e) {
19637
19658
  const r = e.toLowerCase();
19638
19659
  this.preloadedWallets.has(r) || (this.preloadedWallets.add(r), setTimeout(() => {
19639
- mr(e);
19660
+ hr(e);
19640
19661
  }, 500));
19641
19662
  }
19642
19663
  static preloadCommonWallets() {
@@ -19654,7 +19675,7 @@ ft.preloadedWallets = /* @__PURE__ */ new Set();
19654
19675
  let Pe = ft;
19655
19676
  function Hu() {
19656
19677
  return {
19657
- availableWallets: gr(),
19678
+ availableWallets: mr(),
19658
19679
  preloadWallet: (n) => {
19659
19680
  Pe.preloadWallet(n);
19660
19681
  },
@@ -19968,9 +19989,9 @@ const qe = {
19968
19989
  t().catch(() => {
19969
19990
  });
19970
19991
  }, 100);
19971
- }, hr = {}, ag = (t) => {
19972
- hr[t.name] = t.value, process.env.NODE_ENV;
19973
- }, ng = () => hr, og = (t, e = "script") => {
19992
+ }, fr = {}, ag = (t) => {
19993
+ fr[t.name] = t.value, process.env.NODE_ENV;
19994
+ }, ng = () => fr, og = (t, e = "script") => {
19974
19995
  if (typeof document < "u") {
19975
19996
  const r = document.createElement("link");
19976
19997
  r.rel = "prefetch", r.href = t, r.as = e, document.head.appendChild(r);
@@ -21241,7 +21262,7 @@ const No = ({ direction: t, className: e }) => /* @__PURE__ */ a(
21241
21262
  };
21242
21263
  };
21243
21264
  function Ng() {
21244
- const t = Kr(), e = D(null), r = D(0);
21265
+ const t = Ot(), e = D(null), r = D(0);
21245
21266
  A(() => {
21246
21267
  const n = t.pathname;
21247
21268
  if (!e.current) {
@@ -22042,10 +22063,10 @@ function hm(t, e, r) {
22042
22063
  const n = document.createElement("link");
22043
22064
  n.rel = e, n.href = t, r && (e === "preload" || e === "prefetch") && (n.as = r), document.head.appendChild(n);
22044
22065
  }
22045
- var fr = /* @__PURE__ */ ((t) => (t[t.HIGH = 0] = "HIGH", t[t.MEDIUM = 1] = "MEDIUM", t[t.LOW = 2] = "LOW", t[t.IDLE = 3] = "IDLE", t))(fr || {});
22066
+ var br = /* @__PURE__ */ ((t) => (t[t.HIGH = 0] = "HIGH", t[t.MEDIUM = 1] = "MEDIUM", t[t.LOW = 2] = "LOW", t[t.IDLE = 3] = "IDLE", t))(br || {});
22046
22067
  class es {
22047
22068
  constructor() {
22048
- this.queues = /* @__PURE__ */ new Map(), this.isProcessing = !1, Object.values(fr).filter((e) => typeof e == "number").forEach((e) => {
22069
+ this.queues = /* @__PURE__ */ new Map(), this.isProcessing = !1, Object.values(br).filter((e) => typeof e == "number").forEach((e) => {
22049
22070
  this.queues.set(e, []);
22050
22071
  });
22051
22072
  }
@@ -22448,7 +22469,7 @@ export {
22448
22469
  Ma as Calendar,
22449
22470
  Ac as CalloutBox,
22450
22471
  mu as CancellableRequest,
22451
- Jt as Card,
22472
+ Xt as Card,
22452
22473
  Mc as CardContent,
22453
22474
  Ic as CardFooter,
22454
22475
  Ec as CardHeader,
@@ -22520,7 +22541,7 @@ export {
22520
22541
  xi as FloatingElement,
22521
22542
  Ps as FloatingPanel,
22522
22543
  Ld as FocusTrap,
22523
- lr as FontSize,
22544
+ ir as FontSize,
22524
22545
  $0 as Footer,
22525
22546
  R0 as FooterBottom,
22526
22547
  j0 as FooterBottomRow,
@@ -22567,10 +22588,10 @@ export {
22567
22588
  Gs as Kbd,
22568
22589
  oh as KeyIcon,
22569
22590
  Dc as KeyValuePair,
22570
- Yt as Label,
22591
+ Qt as Label,
22571
22592
  Xd as LanguageSelector,
22572
22593
  p0 as LanguageValidator,
22573
- or as LayoutContext,
22594
+ sr as LayoutContext,
22574
22595
  cn as LayoutProvider,
22575
22596
  g0 as LazyComponent,
22576
22597
  ut as LazyErrorBoundary,
@@ -22585,7 +22606,7 @@ export {
22585
22606
  vc as ListItem,
22586
22607
  wc as ListItemWithAction,
22587
22608
  hd as LiveStream,
22588
- fr as LoadPriority,
22609
+ br as LoadPriority,
22589
22610
  rl as LoadingDots,
22590
22611
  cu as LoadingOptimizer,
22591
22612
  tl as LoadingOverlay,
@@ -22601,9 +22622,9 @@ export {
22601
22622
  Fl as MentionInput,
22602
22623
  H as MetricRow,
22603
22624
  lh as MinusIcon,
22604
- Xt as Modal,
22605
- Zt as ModalContent,
22606
- er as ModalFooter,
22625
+ Zt as Modal,
22626
+ er as ModalContent,
22627
+ tr as ModalFooter,
22607
22628
  Cd as ModalHeader,
22608
22629
  Al as MultiSelect,
22609
22630
  nc as NavigationList,
@@ -22654,7 +22675,7 @@ export {
22654
22675
  cd as RetinaImage,
22655
22676
  uh as RocketLaunchIcon,
22656
22677
  Tt as RouteBasedLazyLoader,
22657
- tr as RouterBreadcrumb,
22678
+ rr as RouterBreadcrumb,
22658
22679
  o0 as SafeAppWrapper,
22659
22680
  bg as ScoreIndicator,
22660
22681
  Io as ScoreLegend,
@@ -22673,8 +22694,8 @@ export {
22673
22694
  Tl as SelectGroup,
22674
22695
  Je as SelectItem,
22675
22696
  Ca as SelectLabel,
22676
- Gt as SelectScrollDownButton,
22677
- Kt as SelectScrollUpButton,
22697
+ Yt as SelectScrollDownButton,
22698
+ Gt as SelectScrollUpButton,
22678
22699
  Sa as SelectSeparator,
22679
22700
  Ye as SelectTrigger,
22680
22701
  Na as SelectValue,
@@ -22689,14 +22710,14 @@ export {
22689
22710
  Dl as Slider,
22690
22711
  Bl as SliderInput,
22691
22712
  Qi as SmartContent,
22692
- Qt as SmartLink,
22713
+ Jt as SmartLink,
22693
22714
  _u as SmartWalletProviders,
22694
22715
  Ms as Spacer,
22695
22716
  mh as SparklesIcon,
22696
22717
  Gc as Sparkline,
22697
22718
  Ne as Spinner,
22698
22719
  Ds as SplitPane,
22699
- Ht as Stack,
22720
+ qt as Stack,
22700
22721
  T0 as StandardPageLayout,
22701
22722
  hh as StarIcon,
22702
22723
  kh as StarIconSolid,
@@ -22724,13 +22745,13 @@ export {
22724
22745
  Ad as TextInputModal,
22725
22746
  Hs as TextLink,
22726
22747
  Y as Theme,
22727
- ir as ThemeContext,
22748
+ cr as ThemeContext,
22728
22749
  k0 as ThemeProvider,
22729
22750
  va as TimePicker,
22730
22751
  Ki as TimerDisplay,
22731
22752
  ha as Toast,
22732
22753
  gl as ToastContainer,
22733
- qt as ToastContext,
22754
+ Kt as ToastContext,
22734
22755
  hl as ToastNotification,
22735
22756
  ul as ToastProvider,
22736
22757
  Pl as ToggleGroup,
@@ -22738,7 +22759,7 @@ export {
22738
22759
  Q0 as Topbar,
22739
22760
  ou as TopbarActions,
22740
22761
  X0 as TopbarCenter,
22741
- cr as TopbarContext,
22762
+ dr as TopbarContext,
22742
22763
  tu as TopbarDivider,
22743
22764
  su as TopbarIconButton,
22744
22765
  J0 as TopbarLeft,
@@ -22854,7 +22875,7 @@ export {
22854
22875
  ro as createLazyComponent,
22855
22876
  eg as createLazyComponentFactory,
22856
22877
  gm as createLazyRoute,
22857
- mr as createLazyWalletProvider,
22878
+ hr as createLazyWalletProvider,
22858
22879
  Tu as createLibraryImports,
22859
22880
  l0 as createMemoComponent,
22860
22881
  Mg as createOptimizedStyles,
@@ -22870,7 +22891,7 @@ export {
22870
22891
  xe as deadCodeElimination,
22871
22892
  zm as default,
22872
22893
  ho as defaultPerformanceBudget,
22873
- gr as detectAvailableWallets,
22894
+ mr as detectAvailableWallets,
22874
22895
  ts as detectWalletBrowser,
22875
22896
  gg as exportPerformanceData,
22876
22897
  Uo as formatBytes,
@@ -22879,7 +22900,7 @@ export {
22879
22900
  ju as generateAIMetaTags,
22880
22901
  Wu as generateAIStructuredData,
22881
22902
  Yn as generateCSP,
22882
- ur as generateCSPDirectives,
22903
+ gr as generateCSPDirectives,
22883
22904
  Fu as generateContentRelationships,
22884
22905
  lo as generateEntityRecognition,
22885
22906
  _g as generateImageSEO,
@@ -22953,7 +22974,7 @@ export {
22953
22974
  rg as preloadRoute,
22954
22975
  tm as preserveAspectRatio,
22955
22976
  bm as priorityLoader,
22956
- sr as removeLanguageFromPath,
22977
+ lr as removeLanguageFromPath,
22957
22978
  fg as reportApiCall,
22958
22979
  hg as reportCustomMetric,
22959
22980
  ko as reportRouteChange,
@@ -23006,7 +23027,7 @@ export {
23006
23027
  w0 as useTheme,
23007
23028
  ml as useToast,
23008
23029
  vg as useToggle,
23009
- dr as useTopbar,
23030
+ ur as useTopbar,
23010
23031
  Ao as useWebVitals,
23011
23032
  Yo as utils,
23012
23033
  xm as walletStorage,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sudobility/components",
3
- "version": "5.0.33",
3
+ "version": "5.0.35",
4
4
  "description": "Reusable UI components and design system - Reorganized for better maintainability",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",