@blockend/widget 1.0.55-beta.1 → 1.0.55-beta.2

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.
Files changed (122) hide show
  1. package/dist/{AllRoutes-D6S-NFxZ.js → AllRoutes-DIde2MHr.js} +910 -929
  2. package/dist/{Box-DESo1bHm.js → Box-DQB1ZyEK.js} +15 -15
  3. package/dist/EstGas-C7sLxEX_.js +1523 -0
  4. package/dist/{Grow-DzEr7XrA.js → Grow-CxaAxl6-.js} +300 -303
  5. package/dist/InputComp-CDuJJKaD.js +105 -0
  6. package/dist/LoadRoute-CVas28CM.js +123 -0
  7. package/dist/QuotesProgress-DaL4L4Db.js +27 -0
  8. package/dist/{SwapAsset-MBXcdeBf.js → SwapAsset-DSV6l90O.js} +13 -14
  9. package/dist/{Tooltip-DSAJT2x7.js → Tooltip-PAQ9gquY.js} +35 -35
  10. package/dist/TxnButton-BiO4vJ-y.js +207 -0
  11. package/dist/ccip-B6-4PQvj.js +226 -0
  12. package/dist/core-SB441dD5.js +13166 -0
  13. package/dist/{down-BFx-Bg5Q.js → down-DJH_apvy.js} +267 -270
  14. package/dist/{getChainIds-CeLEUxe0.js → getChainIds-CBclVfs9.js} +221 -223
  15. package/dist/getCosmosAddress-CI7CTn-0.js +57 -0
  16. package/dist/{hamburger-BzMrQx9y.js → hamburger-Dp-PI6Yn.js} +153 -153
  17. package/dist/{index-DpHhW0_2.js → index-5WTwgH9q.js} +3 -3
  18. package/dist/index-B-FRPlBv.js +3240 -0
  19. package/dist/index-B158Vaz9.js +146 -0
  20. package/dist/{index-BK0BZT6j.js → index-B9PIELoY.js} +5118 -5241
  21. package/dist/{index-DHYWnqST.js → index-BGt3GtoG.js} +1 -1
  22. package/dist/index-BuGCRLd5.js +198 -0
  23. package/dist/index-CRhXLwtt.js +7445 -0
  24. package/dist/{index-A8ClQmZo.js → index-Dmf6i8k4.js} +3 -4
  25. package/dist/{index-SkYFFVLL.js → index-PxQusjX0.js} +3368 -3415
  26. package/dist/{index-C5bv1F_u.js → index-UFdEurQ_.js} +12086 -12350
  27. package/dist/{index.es-DB9y_DEM.js → index.es-AaEds8Wm.js} +81 -83
  28. package/dist/{index.es-vIyUKt0W.js → index.es-Df0KTgu4.js} +4523 -4628
  29. package/dist/index.es.js +1 -1
  30. package/dist/{unsupportedProp-BLzY2-w_.js → unsupportedProp-BlS305Lt.js} +1 -1
  31. package/dist/{useRegisterError-Cf6oylnR.js → useRegisterError-BvjIv1Yc.js} +1668 -1701
  32. package/dist/widget.css +1 -1
  33. package/package.json +4 -5
  34. package/dist/EstGas-Dy3XfCzY.js +0 -1496
  35. package/dist/InputComp-GcnDqx_s.js +0 -105
  36. package/dist/LoadRoute-BmUgvDid.js +0 -125
  37. package/dist/QuotesProgress-E5JnUMS0.js +0 -28
  38. package/dist/TxnButton-Br8R19rF.js +0 -215
  39. package/dist/add-BryKCrpI.js +0 -19
  40. package/dist/all-wallets-BMVOK2Ci.js +0 -10
  41. package/dist/app-store-3WurbJdI.js +0 -21
  42. package/dist/apple-eM872Ubz.js +0 -22
  43. package/dist/arrow-bottom-HMc73fJ8.js +0 -12
  44. package/dist/arrow-bottom-circle-B1N_R8Ux.js +0 -15
  45. package/dist/arrow-left-Q7GAZkD7.js +0 -12
  46. package/dist/arrow-right-ft3TcIM3.js +0 -12
  47. package/dist/arrow-top-C2xmF6tK.js +0 -12
  48. package/dist/bank-Bk-2ZR5E.js +0 -18
  49. package/dist/basic-CWrKgDAB.js +0 -5783
  50. package/dist/browser-BFB3TFfv.js +0 -18
  51. package/dist/card-DCx59si8.js +0 -18
  52. package/dist/ccip-CXr08uP1.js +0 -228
  53. package/dist/checkmark-BGsuJuhE.js +0 -15
  54. package/dist/checkmark-bold-DvjIl-51.js +0 -12
  55. package/dist/chevron-bottom-DAEnG7QP.js +0 -12
  56. package/dist/chevron-left-D33h2ppx.js +0 -12
  57. package/dist/chevron-right-C8Z_feNK.js +0 -12
  58. package/dist/chevron-top-DwDMd3p9.js +0 -12
  59. package/dist/chrome-store-B7ZDs2Fj.js +0 -65
  60. package/dist/clock-DnELUxSR.js +0 -12
  61. package/dist/close-Dnt29Pss.js +0 -12
  62. package/dist/coinPlaceholder-C09pzuXv.js +0 -12
  63. package/dist/compass-D8ZY16nH.js +0 -12
  64. package/dist/copy-DEh4RBKI.js +0 -19
  65. package/dist/core-CgIQaiRa.js +0 -14966
  66. package/dist/cursor-BtzkAOER.js +0 -7
  67. package/dist/cursor-transparent-B0nCflmb.js +0 -16
  68. package/dist/desktop-toTG92uH.js +0 -13
  69. package/dist/disconnect-C97lbAtY.js +0 -12
  70. package/dist/discord-BNJ3JePY.js +0 -21
  71. package/dist/etherscan-CK87TQMS.js +0 -10
  72. package/dist/exclamation-triangle-LWnOk0uz.js +0 -8
  73. package/dist/extension-5eIZU28A.js +0 -12
  74. package/dist/external-link-DDlCfigP.js +0 -12
  75. package/dist/facebook-1lTMXKeH.js +0 -30
  76. package/dist/farcaster-Di2TUKlZ.js +0 -16
  77. package/dist/filters-B_THnHaX.js +0 -12
  78. package/dist/getCosmosAddress-B8s9Ycj4.js +0 -6075
  79. package/dist/github-D5B1FE4K.js +0 -22
  80. package/dist/google-C8_WSUfw.js +0 -22
  81. package/dist/help-circle-C-ZOzjAP.js +0 -16
  82. package/dist/id-BynpKmej.js +0 -16
  83. package/dist/image-BRYUh760.js +0 -8
  84. package/dist/index-BFUVWgoD.js +0 -992
  85. package/dist/index-CN6pVc2G.js +0 -1483
  86. package/dist/index-CZwuzz6v.js +0 -6712
  87. package/dist/index-Dnyeih-W.js +0 -3261
  88. package/dist/index-krrwn6Pi.js +0 -206
  89. package/dist/info-DSQyHS8b.js +0 -7
  90. package/dist/info-circle-BfpWcI4c.js +0 -16
  91. package/dist/lightbulb-DEMYYsZd.js +0 -7
  92. package/dist/mail-DNZ2to_6.js +0 -12
  93. package/dist/mobile-qsyS8oMK.js +0 -13
  94. package/dist/more-CnBuKwll.js +0 -15
  95. package/dist/network-placeholder-DhJITakA.js +0 -18
  96. package/dist/nftPlaceholder-DD3-Cc9U.js +0 -12
  97. package/dist/off-CBApAdDk.js +0 -12
  98. package/dist/play-store-DDoeRc-b.js +0 -36
  99. package/dist/plus-C3J-XWCn.js +0 -17
  100. package/dist/qr-code-CEoOYtHk.js +0 -10
  101. package/dist/recycle-horizontal-BHJ_s9Yx.js +0 -13
  102. package/dist/refresh-CtzOoHls.js +0 -12
  103. package/dist/reown-logo-BOj4YDUQ.js +0 -16
  104. package/dist/search--Miza3A_.js +0 -12
  105. package/dist/send-Bhl1lz4j.js +0 -19
  106. package/dist/swapHorizontal-CCvKCngz.js +0 -12
  107. package/dist/swapHorizontalBold-B90V-dXL.js +0 -12
  108. package/dist/swapHorizontalMedium-CYjeHjnI.js +0 -20
  109. package/dist/swapHorizontalRoundedBold-DSMWeXdW.js +0 -12
  110. package/dist/swapVertical-DOJUNIvk.js +0 -12
  111. package/dist/telegram-CufEY_4d.js +0 -20
  112. package/dist/three-dots-J2ngva7G.js +0 -9
  113. package/dist/twitch-B4vTKVf5.js +0 -22
  114. package/dist/twitterIcon-DLrxpAGg.js +0 -10
  115. package/dist/verify-CbHqPQKs.js +0 -12
  116. package/dist/verify-filled-CzKx9Cph.js +0 -12
  117. package/dist/w3m-modal-DhpjK4cG.js +0 -1471
  118. package/dist/wallet-CvIeO6On.js +0 -12
  119. package/dist/wallet-placeholder-BqELXTBj.js +0 -18
  120. package/dist/walletconnect-BN4c4XQ5.js +0 -36
  121. package/dist/warning-circle--dqxXujk.js +0 -16
  122. package/dist/x-CkCp5gtL.js +0 -16
@@ -1,16 +1,16 @@
1
- import { P as e, d as M, _ as Z, p as z, e as U, b as he, i as me, s as ee, F as Pe, g as ke, h as Me, u as ln, l as cn } from "./index-C5bv1F_u.js";
1
+ import { P as e, e as M, _ as Z, p as z, f as U, a as he, d as me, s as ee, a0 as Ce, c as Pe, i as Me, u as ln, l as cn } from "./index-UFdEurQ_.js";
2
2
  import * as u from "react";
3
3
  import ue, { isValidElement as de, cloneElement as pe, Children as un } from "react";
4
4
  import { jsx as A, jsxs as Ne } from "react/jsx-runtime";
5
- import { h as dn, o as Y, _ as pn, p as Le, q as fn, b as re, s as hn, l as Q, r as mn, j as bn, T as gn, n as We, t as Ve, v as En, w as we, x as yn, y as Tn, m as Ae, P as Rn, H as xn } from "./useRegisterError-Cf6oylnR.js";
6
- import { getWallet as vn, WalletType as Cn } from "graz";
7
- function Pn(n) {
5
+ import { o as dn, p as Y, _ as pn, q as Le, e as fn, j as re, h as hn, g as Q, r as mn, d as bn, k as We, s as gn, t as Ve, m as we, v as En, w as yn, x as Ae, P as Tn, H as Rn } from "./useRegisterError-BvjIv1Yc.js";
6
+ import { getWallet as xn, WalletType as vn } from "graz";
7
+ function kn(n) {
8
8
  const {
9
9
  prototype: t = {}
10
10
  } = n;
11
11
  return !!t.isReactComponent;
12
12
  }
13
- function kn(n, t, s, o, i) {
13
+ function Cn(n, t, s, o, i) {
14
14
  const r = n[t], a = i || t;
15
15
  if (r == null || // When server-side rendering React doesn't warn either.
16
16
  // This is not an accurate check for SSR.
@@ -19,9 +19,9 @@ function kn(n, t, s, o, i) {
19
19
  typeof window > "u")
20
20
  return null;
21
21
  let l;
22
- return typeof r == "function" && !Pn(r) && (l = "Did you accidentally provide a plain function component instead?"), l !== void 0 ? new Error(`Invalid ${o} \`${a}\` supplied to \`${s}\`. Expected an element type that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
22
+ return typeof r == "function" && !kn(r) && (l = "Did you accidentally provide a plain function component instead?"), l !== void 0 ? new Error(`Invalid ${o} \`${a}\` supplied to \`${s}\`. Expected an element type that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
23
23
  }
24
- const Mn = dn(e.elementType, kn);
24
+ const Pn = dn(e.elementType, Cn);
25
25
  function _e(...n) {
26
26
  return n.reduce((t, s) => s == null ? t : function(...i) {
27
27
  t.apply(this, i), s.apply(this, i);
@@ -31,11 +31,11 @@ function _e(...n) {
31
31
  function Se(n) {
32
32
  return Y(n).defaultView || window;
33
33
  }
34
- function Nn(n) {
34
+ function Mn(n) {
35
35
  const t = n.documentElement.clientWidth;
36
36
  return Math.abs(window.innerWidth - t);
37
37
  }
38
- function wn(n) {
38
+ function Nn(n) {
39
39
  if (n === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
40
40
  return n;
41
41
  }
@@ -49,7 +49,7 @@ function Ie(n, t) {
49
49
  o[i.key] = s(i);
50
50
  }), o;
51
51
  }
52
- function Sn(n, t) {
52
+ function wn(n, t) {
53
53
  n = n || {}, t = t || {};
54
54
  function s(b) {
55
55
  return b in t ? t[b] : n[b];
@@ -73,7 +73,7 @@ function Sn(n, t) {
73
73
  function X(n, t, s) {
74
74
  return s[t] != null ? s[t] : n.props[t];
75
75
  }
76
- function In(n, t) {
76
+ function Sn(n, t) {
77
77
  return Ie(n.children, function(s) {
78
78
  return pe(s, {
79
79
  onExited: t.bind(null, s),
@@ -84,8 +84,8 @@ function In(n, t) {
84
84
  });
85
85
  });
86
86
  }
87
- function Fn(n, t, s) {
88
- var o = Ie(n.children), i = Sn(t, o);
87
+ function In(n, t, s) {
88
+ var o = Ie(n.children), i = wn(t, o);
89
89
  return Object.keys(i).forEach(function(r) {
90
90
  var a = i[r];
91
91
  if (de(a)) {
@@ -115,12 +115,12 @@ var On = Object.values || function(n) {
115
115
  childFactory: function(t) {
116
116
  return t;
117
117
  }
118
- }, Fe = /* @__PURE__ */ function(n) {
118
+ }, Oe = /* @__PURE__ */ function(n) {
119
119
  pn(t, n);
120
120
  function t(o, i) {
121
121
  var r;
122
122
  r = n.call(this, o, i) || this;
123
- var a = r.handleExited.bind(wn(r));
123
+ var a = r.handleExited.bind(Nn(r));
124
124
  return r.state = {
125
125
  contextValue: {
126
126
  isMounting: !0
@@ -141,7 +141,7 @@ var On = Object.values || function(n) {
141
141
  }, t.getDerivedStateFromProps = function(i, r) {
142
142
  var a = r.children, l = r.handleExited, c = r.firstRender;
143
143
  return {
144
- children: c ? In(i, l) : Fn(i, a, l),
144
+ children: c ? Sn(i, l) : In(i, a, l),
145
145
  firstRender: !1
146
146
  };
147
147
  }, s.handleExited = function(i, r) {
@@ -161,7 +161,7 @@ var On = Object.values || function(n) {
161
161
  }, /* @__PURE__ */ ue.createElement(r, l, d));
162
162
  }, t;
163
163
  }(ue.Component);
164
- Fe.propTypes = z.env.NODE_ENV !== "production" ? {
164
+ Oe.propTypes = z.env.NODE_ENV !== "production" ? {
165
165
  /**
166
166
  * `<TransitionGroup>` renders a `<div>` by default. You can change this
167
167
  * behavior by providing a `component` prop.
@@ -214,7 +214,7 @@ Fe.propTypes = z.env.NODE_ENV !== "production" ? {
214
214
  */
215
215
  childFactory: e.func
216
216
  } : {};
217
- Fe.defaultProps = Bn;
217
+ Oe.defaultProps = Bn;
218
218
  function qe(n) {
219
219
  const {
220
220
  className: t,
@@ -282,9 +282,9 @@ z.env.NODE_ENV !== "production" && (qe.propTypes = {
282
282
  */
283
283
  timeout: e.number.isRequired
284
284
  });
285
- const H = he("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsate", "child", "childLeaving", "childPulsate"]), Dn = ["center", "classes", "className"];
285
+ const H = he("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsate", "child", "childLeaving", "childPulsate"]), Fn = ["center", "classes", "className"];
286
286
  let be = (n) => n, $e, je, Ue, He;
287
- const Ce = 550, Ln = 80, Vn = Pe($e || ($e = be`
287
+ const ke = 550, Dn = 80, Ln = Ce($e || ($e = be`
288
288
  0% {
289
289
  transform: scale(0);
290
290
  opacity: 0.1;
@@ -294,7 +294,7 @@ const Ce = 550, Ln = 80, Vn = Pe($e || ($e = be`
294
294
  transform: scale(1);
295
295
  opacity: 0.3;
296
296
  }
297
- `)), An = Pe(je || (je = be`
297
+ `)), Vn = Ce(je || (je = be`
298
298
  0% {
299
299
  opacity: 1;
300
300
  }
@@ -302,7 +302,7 @@ const Ce = 550, Ln = 80, Vn = Pe($e || ($e = be`
302
302
  100% {
303
303
  opacity: 0;
304
304
  }
305
- `)), _n = Pe(Ue || (Ue = be`
305
+ `)), An = Ce(Ue || (Ue = be`
306
306
  0% {
307
307
  transform: scale(1);
308
308
  }
@@ -314,7 +314,7 @@ const Ce = 550, Ln = 80, Vn = Pe($e || ($e = be`
314
314
  100% {
315
315
  transform: scale(1);
316
316
  }
317
- `)), $n = ee("span", {
317
+ `)), _n = ee("span", {
318
318
  name: "MuiTouchRipple",
319
319
  slot: "Root"
320
320
  })({
@@ -327,7 +327,7 @@ const Ce = 550, Ln = 80, Vn = Pe($e || ($e = be`
327
327
  bottom: 0,
328
328
  left: 0,
329
329
  borderRadius: "inherit"
330
- }), jn = ee(qe, {
330
+ }), $n = ee(qe, {
331
331
  name: "MuiTouchRipple",
332
332
  slot: "Ripple"
333
333
  })(He || (He = be`
@@ -373,13 +373,13 @@ const Ce = 550, Ln = 80, Vn = Pe($e || ($e = be`
373
373
  animation-iteration-count: infinite;
374
374
  animation-delay: 200ms;
375
375
  }
376
- `), H.rippleVisible, Vn, Ce, ({
376
+ `), H.rippleVisible, Ln, ke, ({
377
377
  theme: n
378
378
  }) => n.transitions.easing.easeInOut, H.ripplePulsate, ({
379
379
  theme: n
380
- }) => n.transitions.duration.shorter, H.child, H.childLeaving, An, Ce, ({
380
+ }) => n.transitions.duration.shorter, H.child, H.childLeaving, Vn, ke, ({
381
381
  theme: n
382
- }) => n.transitions.easing.easeInOut, H.childPulsate, _n, ({
382
+ }) => n.transitions.easing.easeInOut, H.childPulsate, An, ({
383
383
  theme: n
384
384
  }) => n.transitions.easing.easeInOut), Ye = /* @__PURE__ */ u.forwardRef(function(t, s) {
385
385
  const o = me({
@@ -389,19 +389,19 @@ const Ce = 550, Ln = 80, Vn = Pe($e || ($e = be`
389
389
  center: i = !1,
390
390
  classes: r = {},
391
391
  className: a
392
- } = o, l = Z(o, Dn), [c, d] = u.useState([]), b = u.useRef(0), y = u.useRef(null);
392
+ } = o, l = Z(o, Fn), [c, d] = u.useState([]), b = u.useRef(0), y = u.useRef(null);
393
393
  u.useEffect(() => {
394
394
  y.current && (y.current(), y.current = null);
395
395
  }, [c]);
396
- const x = u.useRef(!1), v = fn(), p = u.useRef(null), w = u.useRef(null), O = u.useCallback((f) => {
396
+ const x = u.useRef(!1), v = fn(), p = u.useRef(null), w = u.useRef(null), B = u.useCallback((f) => {
397
397
  const {
398
398
  pulsate: T,
399
- rippleX: C,
400
- rippleY: k,
399
+ rippleX: k,
400
+ rippleY: P,
401
401
  rippleSize: I,
402
402
  cb: _
403
403
  } = f;
404
- d((P) => [...P, /* @__PURE__ */ A(jn, {
404
+ d((C) => [...C, /* @__PURE__ */ A($n, {
405
405
  classes: {
406
406
  ripple: U(r.ripple, H.ripple),
407
407
  rippleVisible: U(r.rippleVisible, H.rippleVisible),
@@ -410,26 +410,26 @@ const Ce = 550, Ln = 80, Vn = Pe($e || ($e = be`
410
410
  childLeaving: U(r.childLeaving, H.childLeaving),
411
411
  childPulsate: U(r.childPulsate, H.childPulsate)
412
412
  },
413
- timeout: Ce,
413
+ timeout: ke,
414
414
  pulsate: T,
415
- rippleX: C,
416
- rippleY: k,
415
+ rippleX: k,
416
+ rippleY: P,
417
417
  rippleSize: I
418
418
  }, b.current)]), b.current += 1, y.current = _;
419
- }, [r]), S = u.useCallback((f = {}, T = {}, C = () => {
419
+ }, [r]), S = u.useCallback((f = {}, T = {}, k = () => {
420
420
  }) => {
421
421
  const {
422
- pulsate: k = !1,
422
+ pulsate: P = !1,
423
423
  center: I = i || T.pulsate,
424
424
  fakeElement: _ = !1
425
425
  // For test purposes
426
426
  } = T;
427
- if ((f == null ? void 0 : f.type) === "mousedown" && x.current) {
427
+ if (f?.type === "mousedown" && x.current) {
428
428
  x.current = !1;
429
429
  return;
430
430
  }
431
- (f == null ? void 0 : f.type) === "touchstart" && (x.current = !0);
432
- const P = _ ? null : w.current, V = P ? P.getBoundingClientRect() : {
431
+ f?.type === "touchstart" && (x.current = !0);
432
+ const C = _ ? null : w.current, V = C ? C.getBoundingClientRect() : {
433
433
  width: 0,
434
434
  height: 0,
435
435
  left: 0,
@@ -440,56 +440,56 @@ const Ce = 550, Ln = 80, Vn = Pe($e || ($e = be`
440
440
  D = Math.round(V.width / 2), L = Math.round(V.height / 2);
441
441
  else {
442
442
  const {
443
- clientX: F,
443
+ clientX: O,
444
444
  clientY: g
445
445
  } = f.touches && f.touches.length > 0 ? f.touches[0] : f;
446
- D = Math.round(F - V.left), L = Math.round(g - V.top);
446
+ D = Math.round(O - V.left), L = Math.round(g - V.top);
447
447
  }
448
448
  if (I)
449
449
  E = Math.sqrt((2 * V.width ** 2 + V.height ** 2) / 3), E % 2 === 0 && (E += 1);
450
450
  else {
451
- const F = Math.max(Math.abs((P ? P.clientWidth : 0) - D), D) * 2 + 2, g = Math.max(Math.abs((P ? P.clientHeight : 0) - L), L) * 2 + 2;
452
- E = Math.sqrt(F ** 2 + g ** 2);
451
+ const O = Math.max(Math.abs((C ? C.clientWidth : 0) - D), D) * 2 + 2, g = Math.max(Math.abs((C ? C.clientHeight : 0) - L), L) * 2 + 2;
452
+ E = Math.sqrt(O ** 2 + g ** 2);
453
453
  }
454
454
  f != null && f.touches ? p.current === null && (p.current = () => {
455
- O({
456
- pulsate: k,
455
+ B({
456
+ pulsate: P,
457
457
  rippleX: D,
458
458
  rippleY: L,
459
459
  rippleSize: E,
460
- cb: C
460
+ cb: k
461
461
  });
462
- }, v.start(Ln, () => {
462
+ }, v.start(Dn, () => {
463
463
  p.current && (p.current(), p.current = null);
464
- })) : O({
465
- pulsate: k,
464
+ })) : B({
465
+ pulsate: P,
466
466
  rippleX: D,
467
467
  rippleY: L,
468
468
  rippleSize: E,
469
- cb: C
469
+ cb: k
470
470
  });
471
- }, [i, O, v]), B = u.useCallback(() => {
471
+ }, [i, B, v]), F = u.useCallback(() => {
472
472
  S({}, {
473
473
  pulsate: !0
474
474
  });
475
475
  }, [S]), h = u.useCallback((f, T) => {
476
- if (v.clear(), (f == null ? void 0 : f.type) === "touchend" && p.current) {
476
+ if (v.clear(), f?.type === "touchend" && p.current) {
477
477
  p.current(), p.current = null, v.start(0, () => {
478
478
  h(f, T);
479
479
  });
480
480
  return;
481
481
  }
482
- p.current = null, d((C) => C.length > 0 ? C.slice(1) : C), y.current = T;
482
+ p.current = null, d((k) => k.length > 0 ? k.slice(1) : k), y.current = T;
483
483
  }, [v]);
484
484
  return u.useImperativeHandle(s, () => ({
485
- pulsate: B,
485
+ pulsate: F,
486
486
  start: S,
487
487
  stop: h
488
- }), [B, S, h]), /* @__PURE__ */ A($n, M({
488
+ }), [F, S, h]), /* @__PURE__ */ A(_n, M({
489
489
  className: U(H.root, r.root, a),
490
490
  ref: w
491
491
  }, l, {
492
- children: /* @__PURE__ */ A(Fe, {
492
+ children: /* @__PURE__ */ A(Oe, {
493
493
  component: null,
494
494
  exit: !0,
495
495
  children: c
@@ -511,10 +511,10 @@ z.env.NODE_ENV !== "production" && (Ye.propTypes = {
511
511
  */
512
512
  className: e.string
513
513
  });
514
- function Un(n) {
515
- return ke("MuiButtonBase", n);
514
+ function jn(n) {
515
+ return Pe("MuiButtonBase", n);
516
516
  }
517
- const Hn = he("MuiButtonBase", ["root", "disabled", "focusVisible"]), Kn = ["action", "centerRipple", "children", "className", "component", "disabled", "disableRipple", "disableTouchRipple", "focusRipple", "focusVisibleClassName", "LinkComponent", "onBlur", "onClick", "onContextMenu", "onDragLeave", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseDown", "onMouseLeave", "onMouseUp", "onTouchEnd", "onTouchMove", "onTouchStart", "tabIndex", "TouchRippleProps", "touchRippleRef", "type"], zn = (n) => {
517
+ const Un = he("MuiButtonBase", ["root", "disabled", "focusVisible"]), Hn = ["action", "centerRipple", "children", "className", "component", "disabled", "disableRipple", "disableTouchRipple", "focusRipple", "focusVisibleClassName", "LinkComponent", "onBlur", "onClick", "onContextMenu", "onDragLeave", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseDown", "onMouseLeave", "onMouseUp", "onTouchEnd", "onTouchMove", "onTouchStart", "tabIndex", "TouchRippleProps", "touchRippleRef", "type"], Kn = (n) => {
518
518
  const {
519
519
  disabled: t,
520
520
  focusVisible: s,
@@ -522,9 +522,9 @@ const Hn = he("MuiButtonBase", ["root", "disabled", "focusVisible"]), Kn = ["act
522
522
  classes: i
523
523
  } = n, a = Me({
524
524
  root: ["root", t && "disabled", s && "focusVisible"]
525
- }, Un, i);
525
+ }, jn, i);
526
526
  return s && o && (a.root += ` ${o}`), a;
527
- }, Wn = ee("button", {
527
+ }, zn = ee("button", {
528
528
  name: "MuiButtonBase",
529
529
  slot: "Root",
530
530
  overridesResolver: (n, t) => t.root
@@ -559,7 +559,7 @@ const Hn = he("MuiButtonBase", ["root", "disabled", "focusVisible"]), Kn = ["act
559
559
  borderStyle: "none"
560
560
  // Remove Firefox dotted outline.
561
561
  },
562
- [`&.${Hn.disabled}`]: {
562
+ [`&.${Un.disabled}`]: {
563
563
  pointerEvents: "none",
564
564
  // Disable link interactions
565
565
  cursor: "default"
@@ -567,7 +567,7 @@ const Hn = he("MuiButtonBase", ["root", "disabled", "focusVisible"]), Kn = ["act
567
567
  "@media print": {
568
568
  colorAdjust: "exact"
569
569
  }
570
- }), qn = /* @__PURE__ */ u.forwardRef(function(t, s) {
570
+ }), Wn = /* @__PURE__ */ u.forwardRef(function(t, s) {
571
571
  const o = me({
572
572
  props: t,
573
573
  name: "MuiButtonBase"
@@ -584,23 +584,23 @@ const Hn = he("MuiButtonBase", ["root", "disabled", "focusVisible"]), Kn = ["act
584
584
  LinkComponent: v = "a",
585
585
  onBlur: p,
586
586
  onClick: w,
587
- onContextMenu: O,
587
+ onContextMenu: B,
588
588
  onDragLeave: S,
589
- onFocus: B,
589
+ onFocus: F,
590
590
  onFocusVisible: h,
591
591
  onKeyDown: f,
592
592
  onKeyUp: T,
593
- onMouseDown: C,
594
- onMouseLeave: k,
593
+ onMouseDown: k,
594
+ onMouseLeave: P,
595
595
  onMouseUp: I,
596
596
  onTouchEnd: _,
597
- onTouchMove: P,
597
+ onTouchMove: C,
598
598
  onTouchStart: V,
599
599
  tabIndex: D = 0,
600
600
  TouchRippleProps: L,
601
601
  touchRippleRef: E,
602
- type: F
603
- } = o, g = Z(o, Kn), R = u.useRef(null), N = u.useRef(null), ge = re(N, E), {
602
+ type: O
603
+ } = o, g = Z(o, Hn), R = u.useRef(null), N = u.useRef(null), ge = re(N, E), {
604
604
  isFocusVisibleRef: se,
605
605
  onFocus: Ee,
606
606
  onBlur: ie,
@@ -619,15 +619,15 @@ const Hn = he("MuiButtonBase", ["root", "disabled", "focusVisible"]), Kn = ["act
619
619
  u.useEffect(() => {
620
620
  $ && x && !b && W && N.current.pulsate();
621
621
  }, [b, x, $, W]);
622
- function j(m, Be, an = y) {
623
- return Q((De) => (Be && Be(De), !an && N.current && N.current[m](De), !0));
622
+ function j(m, Fe, an = y) {
623
+ return Q((De) => (Fe && Fe(De), !an && N.current && N.current[m](De), !0));
624
624
  }
625
- const ne = j("start", C), ye = j("stop", O), Te = j("stop", S), q = j("stop", I), J = j("stop", (m) => {
626
- $ && m.preventDefault(), k && k(m);
627
- }), Je = j("start", V), Qe = j("stop", _), Ze = j("stop", P), en = j("stop", (m) => {
625
+ const ne = j("start", k), ye = j("stop", B), Te = j("stop", S), q = j("stop", I), J = j("stop", (m) => {
626
+ $ && m.preventDefault(), P && P(m);
627
+ }), Je = j("start", V), Qe = j("stop", _), Ze = j("stop", C), en = j("stop", (m) => {
628
628
  ie(m), se.current === !1 && K(!1), p && p(m);
629
629
  }, !1), nn = Q((m) => {
630
- R.current || (R.current = m.currentTarget), Ee(m), se.current === !0 && (K(!0), h && h(m)), B && B(m);
630
+ R.current || (R.current = m.currentTarget), Ee(m), se.current === !0 && (K(!0), h && h(m)), F && F(m);
631
631
  }), Re = () => {
632
632
  const m = R.current;
633
633
  return c && c !== "button" && !(m.tagName === "A" && m.href);
@@ -643,12 +643,12 @@ const Hn = he("MuiButtonBase", ["root", "disabled", "focusVisible"]), Kn = ["act
643
643
  let ce = c;
644
644
  ce === "button" && (g.href || g.to) && (ce = v);
645
645
  const te = {};
646
- ce === "button" ? (te.type = F === void 0 ? "button" : F, te.disabled = d) : (!g.href && !g.to && (te.role = "button"), d && (te["aria-disabled"] = d));
646
+ ce === "button" ? (te.type = O === void 0 ? "button" : O, te.disabled = d) : (!g.href && !g.to && (te.role = "button"), d && (te["aria-disabled"] = d));
647
647
  const rn = re(s, ae, R);
648
648
  z.env.NODE_ENV !== "production" && u.useEffect(() => {
649
649
  G && N.current;
650
650
  }, [G]);
651
- const Oe = M({}, o, {
651
+ const Be = M({}, o, {
652
652
  centerRipple: r,
653
653
  component: c,
654
654
  disabled: d,
@@ -657,11 +657,11 @@ const Hn = he("MuiButtonBase", ["root", "disabled", "focusVisible"]), Kn = ["act
657
657
  focusRipple: x,
658
658
  tabIndex: D,
659
659
  focusVisible: $
660
- }), sn = zn(Oe);
661
- return /* @__PURE__ */ Ne(Wn, M({
660
+ }), sn = Kn(Be);
661
+ return /* @__PURE__ */ Ne(zn, M({
662
662
  as: ce,
663
663
  className: U(sn.root, l),
664
- ownerState: Oe,
664
+ ownerState: Be,
665
665
  onBlur: en,
666
666
  onClick: w,
667
667
  onContextMenu: ye,
@@ -677,7 +677,7 @@ const Hn = he("MuiButtonBase", ["root", "disabled", "focusVisible"]), Kn = ["act
677
677
  onTouchStart: Je,
678
678
  ref: rn,
679
679
  tabIndex: d ? -1 : D,
680
- type: F
680
+ type: O
681
681
  }, te, g, {
682
682
  children: [a, G ? (
683
683
  /* TouchRipple is only needed client-side, x2 boost on the server. */
@@ -688,7 +688,7 @@ const Hn = he("MuiButtonBase", ["root", "disabled", "focusVisible"]), Kn = ["act
688
688
  ) : null]
689
689
  }));
690
690
  });
691
- z.env.NODE_ENV !== "production" && (qn.propTypes = {
691
+ z.env.NODE_ENV !== "production" && (Wn.propTypes = {
692
692
  // ┌────────────────────────────── Warning ──────────────────────────────┐
693
693
  // │ These PropTypes are generated from the TypeScript type definitions. │
694
694
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -720,7 +720,7 @@ z.env.NODE_ENV !== "production" && (qn.propTypes = {
720
720
  * The component used for the root node.
721
721
  * Either a string to use a HTML element or a component.
722
722
  */
723
- component: Mn,
723
+ component: Pn,
724
724
  /**
725
725
  * If `true`, the component is disabled.
726
726
  * @default false
@@ -846,7 +846,7 @@ z.env.NODE_ENV !== "production" && (qn.propTypes = {
846
846
  */
847
847
  type: e.oneOfType([e.oneOf(["button", "reset", "submit"]), e.string])
848
848
  });
849
- const Yn = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"], Xn = {
849
+ const qn = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"], Yn = {
850
850
  entering: {
851
851
  opacity: 1
852
852
  },
@@ -869,57 +869,56 @@ const Yn = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
869
869
  onExit: v,
870
870
  onExited: p,
871
871
  onExiting: w,
872
- style: O,
872
+ style: B,
873
873
  timeout: S = i,
874
874
  // eslint-disable-next-line react/prop-types
875
- TransitionComponent: B = gn
876
- } = t, h = Z(t, Yn), f = u.useRef(null), T = re(f, We(l), s), C = (E) => (F) => {
875
+ TransitionComponent: F = gn
876
+ } = t, h = Z(t, qn), f = u.useRef(null), T = re(f, We(l), s), k = (E) => (O) => {
877
877
  if (E) {
878
878
  const g = f.current;
879
- F === void 0 ? E(g) : E(g, F);
879
+ O === void 0 ? E(g) : E(g, O);
880
880
  }
881
- }, k = C(x), I = C((E, F) => {
882
- En(E);
881
+ }, P = k(x), I = k((E, O) => {
883
882
  const g = Ve({
884
- style: O,
883
+ style: B,
885
884
  timeout: S,
886
885
  easing: c
887
886
  }, {
888
887
  mode: "enter"
889
888
  });
890
- E.style.webkitTransition = o.transitions.create("opacity", g), E.style.transition = o.transitions.create("opacity", g), b && b(E, F);
891
- }), _ = C(y), P = C(w), V = C((E) => {
892
- const F = Ve({
893
- style: O,
889
+ E.style.webkitTransition = o.transitions.create("opacity", g), E.style.transition = o.transitions.create("opacity", g), b && b(E, O);
890
+ }), _ = k(y), C = k(w), V = k((E) => {
891
+ const O = Ve({
892
+ style: B,
894
893
  timeout: S,
895
894
  easing: c
896
895
  }, {
897
896
  mode: "exit"
898
897
  });
899
- E.style.webkitTransition = o.transitions.create("opacity", F), E.style.transition = o.transitions.create("opacity", F), v && v(E);
900
- }), D = C(p);
901
- return /* @__PURE__ */ A(B, M({
898
+ E.style.webkitTransition = o.transitions.create("opacity", O), E.style.transition = o.transitions.create("opacity", O), v && v(E);
899
+ }), D = k(p);
900
+ return /* @__PURE__ */ A(F, M({
902
901
  appear: a,
903
902
  in: d,
904
903
  nodeRef: f,
905
904
  onEnter: I,
906
905
  onEntered: _,
907
- onEntering: k,
906
+ onEntering: P,
908
907
  onExit: V,
909
908
  onExited: D,
910
- onExiting: P,
909
+ onExiting: C,
911
910
  addEndListener: (E) => {
912
911
  r && r(f.current, E);
913
912
  },
914
913
  timeout: S
915
914
  }, h, {
916
- children: (E, F) => /* @__PURE__ */ u.cloneElement(l, M({
915
+ children: (E, O) => /* @__PURE__ */ u.cloneElement(l, M({
917
916
  style: M({
918
917
  opacity: 0,
919
918
  visibility: E === "exited" && !d ? "hidden" : void 0
920
- }, Xn[E], O, l.props.style),
919
+ }, Yn[E], B, l.props.style),
921
920
  ref: T
922
- }, F))
921
+ }, O))
923
922
  }));
924
923
  });
925
924
  z.env.NODE_ENV !== "production" && (Xe.propTypes = {
@@ -997,19 +996,19 @@ z.env.NODE_ENV !== "production" && (Xe.propTypes = {
997
996
  exit: e.number
998
997
  })])
999
998
  });
1000
- function Gn(n) {
1001
- return ke("MuiBackdrop", n);
999
+ function Xn(n) {
1000
+ return Pe("MuiBackdrop", n);
1002
1001
  }
1003
1002
  he("MuiBackdrop", ["root", "invisible"]);
1004
- const Jn = ["children", "className", "component", "components", "componentsProps", "invisible", "open", "slotProps", "slots", "TransitionComponent", "transitionDuration"], Qn = (n) => {
1003
+ const Gn = ["children", "className", "component", "components", "componentsProps", "invisible", "open", "slotProps", "slots", "TransitionComponent", "transitionDuration"], Jn = (n) => {
1005
1004
  const {
1006
1005
  classes: t,
1007
1006
  invisible: s
1008
1007
  } = n;
1009
1008
  return Me({
1010
1009
  root: ["root", s && "invisible"]
1011
- }, Gn, t);
1012
- }, Zn = ee("div", {
1010
+ }, Xn, t);
1011
+ }, Qn = ee("div", {
1013
1012
  name: "MuiBackdrop",
1014
1013
  slot: "Root",
1015
1014
  overridesResolver: (n, t) => {
@@ -1048,22 +1047,22 @@ const Jn = ["children", "className", "component", "components", "componentsProps
1048
1047
  open: v,
1049
1048
  slotProps: p = {},
1050
1049
  slots: w = {},
1051
- TransitionComponent: O = Xe,
1050
+ TransitionComponent: B = Xe,
1052
1051
  transitionDuration: S
1053
- } = a, B = Z(a, Jn), h = M({}, a, {
1052
+ } = a, F = Z(a, Gn), h = M({}, a, {
1054
1053
  component: d,
1055
1054
  invisible: x
1056
- }), f = Qn(h), T = (o = p.root) != null ? o : y.root;
1057
- return /* @__PURE__ */ A(O, M({
1055
+ }), f = Jn(h), T = (o = p.root) != null ? o : y.root;
1056
+ return /* @__PURE__ */ A(B, M({
1058
1057
  in: v,
1059
1058
  timeout: S
1060
- }, B, {
1061
- children: /* @__PURE__ */ A(Zn, M({
1059
+ }, F, {
1060
+ children: /* @__PURE__ */ A(Qn, M({
1062
1061
  "aria-hidden": !0
1063
1062
  }, T, {
1064
1063
  as: (i = (r = w.root) != null ? r : b.Root) != null ? i : d,
1065
- className: U(f.root, c, T == null ? void 0 : T.className),
1066
- ownerState: M({}, h, T == null ? void 0 : T.ownerState),
1064
+ className: U(f.root, c, T?.className),
1065
+ ownerState: M({}, h, T?.ownerState),
1067
1066
  classes: f,
1068
1067
  ref: s,
1069
1068
  children: l
@@ -1166,7 +1165,7 @@ z.env.NODE_ENV !== "production" && (Ge.propTypes = {
1166
1165
  exit: e.number
1167
1166
  })])
1168
1167
  });
1169
- function et(n) {
1168
+ function Zn(n) {
1170
1169
  const t = Y(n);
1171
1170
  return t.body === n ? Se(n).innerWidth > t.documentElement.clientWidth : n.scrollHeight > n.clientHeight;
1172
1171
  }
@@ -1176,14 +1175,14 @@ function oe(n, t) {
1176
1175
  function Ke(n) {
1177
1176
  return parseInt(Se(n).getComputedStyle(n).paddingRight, 10) || 0;
1178
1177
  }
1179
- function nt(n) {
1178
+ function et(n) {
1180
1179
  const s = ["TEMPLATE", "SCRIPT", "STYLE", "LINK", "MAP", "META", "NOSCRIPT", "PICTURE", "COL", "COLGROUP", "PARAM", "SLOT", "SOURCE", "TRACK"].indexOf(n.tagName) !== -1, o = n.tagName === "INPUT" && n.getAttribute("type") === "hidden";
1181
1180
  return s || o;
1182
1181
  }
1183
1182
  function ze(n, t, s, o, i) {
1184
1183
  const r = [t, s, ...o];
1185
1184
  [].forEach.call(n.children, (a) => {
1186
- const l = r.indexOf(a) === -1, c = !nt(a);
1185
+ const l = r.indexOf(a) === -1, c = !et(a);
1187
1186
  l && c && oe(a, i);
1188
1187
  });
1189
1188
  }
@@ -1191,11 +1190,11 @@ function ve(n, t) {
1191
1190
  let s = -1;
1192
1191
  return n.some((o, i) => t(o) ? (s = i, !0) : !1), s;
1193
1192
  }
1194
- function tt(n, t) {
1193
+ function nt(n, t) {
1195
1194
  const s = [], o = n.container;
1196
1195
  if (!t.disableScrollLock) {
1197
- if (et(o)) {
1198
- const a = Nn(Y(o));
1196
+ if (Zn(o)) {
1197
+ const a = Mn(Y(o));
1199
1198
  s.push({
1200
1199
  value: o.style.paddingRight,
1201
1200
  property: "padding-right",
@@ -1215,7 +1214,7 @@ function tt(n, t) {
1215
1214
  r = Y(o).body;
1216
1215
  else {
1217
1216
  const a = o.parentElement, l = Se(o);
1218
- r = (a == null ? void 0 : a.nodeName) === "HTML" && l.getComputedStyle(a).overflowY === "scroll" ? a : o;
1217
+ r = a?.nodeName === "HTML" && l.getComputedStyle(a).overflowY === "scroll" ? a : o;
1219
1218
  }
1220
1219
  s.push({
1221
1220
  value: r.style.overflow,
@@ -1241,13 +1240,13 @@ function tt(n, t) {
1241
1240
  });
1242
1241
  };
1243
1242
  }
1244
- function ot(n) {
1243
+ function tt(n) {
1245
1244
  const t = [];
1246
1245
  return [].forEach.call(n.children, (s) => {
1247
1246
  s.getAttribute("aria-hidden") === "true" && t.push(s);
1248
1247
  }), t;
1249
1248
  }
1250
- class rt {
1249
+ class ot {
1251
1250
  constructor() {
1252
1251
  this.containers = void 0, this.modals = void 0, this.modals = [], this.containers = [];
1253
1252
  }
@@ -1256,7 +1255,7 @@ class rt {
1256
1255
  if (o !== -1)
1257
1256
  return o;
1258
1257
  o = this.modals.length, this.modals.push(t), t.modalRef && oe(t.modalRef, !1);
1259
- const i = ot(s);
1258
+ const i = tt(s);
1260
1259
  ze(s, t.mount, t.modalRef, i, !0);
1261
1260
  const r = ve(this.containers, (a) => a.container === s);
1262
1261
  return r !== -1 ? (this.containers[r].modals.push(t), o) : (this.containers.push({
@@ -1268,7 +1267,7 @@ class rt {
1268
1267
  }
1269
1268
  mount(t, s) {
1270
1269
  const o = ve(this.containers, (r) => r.modals.indexOf(t) !== -1), i = this.containers[o];
1271
- i.restore || (i.restore = tt(i, s));
1270
+ i.restore || (i.restore = nt(i, s));
1272
1271
  }
1273
1272
  remove(t, s = !0) {
1274
1273
  const o = this.modals.indexOf(t);
@@ -1287,33 +1286,33 @@ class rt {
1287
1286
  return this.modals.length > 0 && this.modals[this.modals.length - 1] === t;
1288
1287
  }
1289
1288
  }
1290
- const st = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(",");
1291
- function it(n) {
1289
+ const rt = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(",");
1290
+ function st(n) {
1292
1291
  const t = parseInt(n.getAttribute("tabindex") || "", 10);
1293
1292
  return Number.isNaN(t) ? n.contentEditable === "true" || (n.nodeName === "AUDIO" || n.nodeName === "VIDEO" || n.nodeName === "DETAILS") && n.getAttribute("tabindex") === null ? 0 : n.tabIndex : t;
1294
1293
  }
1295
- function at(n) {
1294
+ function it(n) {
1296
1295
  if (n.tagName !== "INPUT" || n.type !== "radio" || !n.name)
1297
1296
  return !1;
1298
1297
  const t = (o) => n.ownerDocument.querySelector(`input[type="radio"]${o}`);
1299
1298
  let s = t(`[name="${n.name}"]:checked`);
1300
1299
  return s || (s = t(`[name="${n.name}"]`)), s !== n;
1301
1300
  }
1302
- function lt(n) {
1303
- return !(n.disabled || n.tagName === "INPUT" && n.type === "hidden" || at(n));
1301
+ function at(n) {
1302
+ return !(n.disabled || n.tagName === "INPUT" && n.type === "hidden" || it(n));
1304
1303
  }
1305
- function ct(n) {
1304
+ function lt(n) {
1306
1305
  const t = [], s = [];
1307
- return Array.from(n.querySelectorAll(st)).forEach((o, i) => {
1308
- const r = it(o);
1309
- r === -1 || !lt(o) || (r === 0 ? t.push(o) : s.push({
1306
+ return Array.from(n.querySelectorAll(rt)).forEach((o, i) => {
1307
+ const r = st(o);
1308
+ r === -1 || !at(o) || (r === 0 ? t.push(o) : s.push({
1310
1309
  documentOrder: i,
1311
1310
  tabIndex: r,
1312
1311
  node: o
1313
1312
  }));
1314
1313
  }), s.sort((o, i) => o.tabIndex === i.tabIndex ? o.documentOrder - i.documentOrder : o.tabIndex - i.tabIndex).map((o) => o.node).concat(t);
1315
1314
  }
1316
- function ut() {
1315
+ function ct() {
1317
1316
  return !0;
1318
1317
  }
1319
1318
  function fe(n) {
@@ -1322,10 +1321,10 @@ function fe(n) {
1322
1321
  disableAutoFocus: s = !1,
1323
1322
  disableEnforceFocus: o = !1,
1324
1323
  disableRestoreFocus: i = !1,
1325
- getTabbable: r = ct,
1326
- isEnabled: a = ut,
1324
+ getTabbable: r = lt,
1325
+ isEnabled: a = ct,
1327
1326
  open: l
1328
- } = n, c = u.useRef(!1), d = u.useRef(null), b = u.useRef(null), y = u.useRef(null), x = u.useRef(null), v = u.useRef(!1), p = u.useRef(null), w = re(We(t), p), O = u.useRef(null);
1327
+ } = n, c = u.useRef(!1), d = u.useRef(null), b = u.useRef(null), y = u.useRef(null), x = u.useRef(null), v = u.useRef(!1), p = u.useRef(null), w = re(We(t), p), B = u.useRef(null);
1329
1328
  u.useEffect(() => {
1330
1329
  !l || !p.current || (v.current = !s);
1331
1330
  }, [s, l]), u.useEffect(() => {
@@ -1338,17 +1337,17 @@ function fe(n) {
1338
1337
  }, [l]), u.useEffect(() => {
1339
1338
  if (!l || !p.current)
1340
1339
  return;
1341
- const h = Y(p.current), f = (k) => {
1342
- O.current = k, !(o || !a() || k.key !== "Tab") && h.activeElement === p.current && k.shiftKey && (c.current = !0, b.current && b.current.focus());
1340
+ const h = Y(p.current), f = (P) => {
1341
+ B.current = P, !(o || !a() || P.key !== "Tab") && h.activeElement === p.current && P.shiftKey && (c.current = !0, b.current && b.current.focus());
1343
1342
  }, T = () => {
1344
- const k = p.current;
1345
- if (k === null)
1343
+ const P = p.current;
1344
+ if (P === null)
1346
1345
  return;
1347
1346
  if (!h.hasFocus() || !a() || c.current) {
1348
1347
  c.current = !1;
1349
1348
  return;
1350
1349
  }
1351
- if (k.contains(h.activeElement) || o && h.activeElement !== d.current && h.activeElement !== b.current)
1350
+ if (P.contains(h.activeElement) || o && h.activeElement !== d.current && h.activeElement !== b.current)
1352
1351
  return;
1353
1352
  if (h.activeElement !== x.current)
1354
1353
  x.current = null;
@@ -1358,31 +1357,31 @@ function fe(n) {
1358
1357
  return;
1359
1358
  let I = [];
1360
1359
  if ((h.activeElement === d.current || h.activeElement === b.current) && (I = r(p.current)), I.length > 0) {
1361
- var _, P;
1362
- const V = !!((_ = O.current) != null && _.shiftKey && ((P = O.current) == null ? void 0 : P.key) === "Tab"), D = I[0], L = I[I.length - 1];
1360
+ var _, C;
1361
+ const V = !!((_ = B.current) != null && _.shiftKey && ((C = B.current) == null ? void 0 : C.key) === "Tab"), D = I[0], L = I[I.length - 1];
1363
1362
  typeof D != "string" && typeof L != "string" && (V ? L.focus() : D.focus());
1364
1363
  } else
1365
- k.focus();
1364
+ P.focus();
1366
1365
  };
1367
1366
  h.addEventListener("focusin", T), h.addEventListener("keydown", f, !0);
1368
- const C = setInterval(() => {
1367
+ const k = setInterval(() => {
1369
1368
  h.activeElement && h.activeElement.tagName === "BODY" && T();
1370
1369
  }, 50);
1371
1370
  return () => {
1372
- clearInterval(C), h.removeEventListener("focusin", T), h.removeEventListener("keydown", f, !0);
1371
+ clearInterval(k), h.removeEventListener("focusin", T), h.removeEventListener("keydown", f, !0);
1373
1372
  };
1374
1373
  }, [s, o, i, a, l, r]);
1375
1374
  const S = (h) => {
1376
1375
  y.current === null && (y.current = h.relatedTarget), v.current = !0, x.current = h.target;
1377
1376
  const f = t.props.onFocus;
1378
1377
  f && f(h);
1379
- }, B = (h) => {
1378
+ }, F = (h) => {
1380
1379
  y.current === null && (y.current = h.relatedTarget), v.current = !0;
1381
1380
  };
1382
1381
  return /* @__PURE__ */ Ne(u.Fragment, {
1383
1382
  children: [/* @__PURE__ */ A("div", {
1384
1383
  tabIndex: l ? 0 : -1,
1385
- onFocus: B,
1384
+ onFocus: F,
1386
1385
  ref: d,
1387
1386
  "data-testid": "sentinelStart"
1388
1387
  }), /* @__PURE__ */ u.cloneElement(t, {
@@ -1390,7 +1389,7 @@ function fe(n) {
1390
1389
  onFocus: S
1391
1390
  }), /* @__PURE__ */ A("div", {
1392
1391
  tabIndex: l ? 0 : -1,
1393
- onFocus: B,
1392
+ onFocus: F,
1394
1393
  ref: b,
1395
1394
  "data-testid": "sentinelEnd"
1396
1395
  })]
@@ -1450,21 +1449,21 @@ z.env.NODE_ENV !== "production" && (fe.propTypes = {
1450
1449
  */
1451
1450
  open: e.bool.isRequired
1452
1451
  });
1453
- z.env.NODE_ENV !== "production" && (fe.propTypes = yn(fe.propTypes));
1454
- function dt(n) {
1452
+ z.env.NODE_ENV !== "production" && (fe.propTypes = En(fe.propTypes));
1453
+ function ut(n) {
1455
1454
  return typeof n == "function" ? n() : n;
1456
1455
  }
1457
- function pt(n) {
1456
+ function dt(n) {
1458
1457
  return n ? n.props.hasOwnProperty("in") : !1;
1459
1458
  }
1460
- const ft = new rt();
1461
- function ht(n) {
1459
+ const pt = new ot();
1460
+ function ft(n) {
1462
1461
  const {
1463
1462
  container: t,
1464
1463
  disableEscapeKeyDown: s = !1,
1465
1464
  disableScrollLock: o = !1,
1466
1465
  // @ts-ignore internal logic - Base UI supports the manager as a prop too
1467
- manager: i = ft,
1466
+ manager: i = pt,
1468
1467
  closeAfterTransition: r = !1,
1469
1468
  onTransitionEnter: a,
1470
1469
  onTransitionExited: l,
@@ -1472,26 +1471,26 @@ function ht(n) {
1472
1471
  onClose: d,
1473
1472
  open: b,
1474
1473
  rootRef: y
1475
- } = n, x = u.useRef({}), v = u.useRef(null), p = u.useRef(null), w = re(p, y), [O, S] = u.useState(!b), B = pt(c);
1474
+ } = n, x = u.useRef({}), v = u.useRef(null), p = u.useRef(null), w = re(p, y), [B, S] = u.useState(!b), F = dt(c);
1476
1475
  let h = !0;
1477
1476
  (n["aria-hidden"] === "false" || n["aria-hidden"] === !1) && (h = !1);
1478
- const f = () => Y(v.current), T = () => (x.current.modalRef = p.current, x.current.mount = v.current, x.current), C = () => {
1477
+ const f = () => Y(v.current), T = () => (x.current.modalRef = p.current, x.current.mount = v.current, x.current), k = () => {
1479
1478
  i.mount(T(), {
1480
1479
  disableScrollLock: o
1481
1480
  }), p.current && (p.current.scrollTop = 0);
1482
- }, k = Q(() => {
1483
- const g = dt(t) || f().body;
1484
- i.add(T(), g), p.current && C();
1481
+ }, P = Q(() => {
1482
+ const g = ut(t) || f().body;
1483
+ i.add(T(), g), p.current && k();
1485
1484
  }), I = u.useCallback(() => i.isTopModal(T()), [i]), _ = Q((g) => {
1486
- v.current = g, g && (b && I() ? C() : p.current && oe(p.current, h));
1487
- }), P = u.useCallback(() => {
1485
+ v.current = g, g && (b && I() ? k() : p.current && oe(p.current, h));
1486
+ }), C = u.useCallback(() => {
1488
1487
  i.remove(T(), h);
1489
1488
  }, [h, i]);
1490
1489
  u.useEffect(() => () => {
1491
- P();
1492
- }, [P]), u.useEffect(() => {
1493
- b ? k() : (!B || !r) && P();
1494
- }, [b, P, B, r, k]);
1490
+ C();
1491
+ }, [C]), u.useEffect(() => {
1492
+ b ? P() : (!F || !r) && C();
1493
+ }, [b, C, F, r, P]);
1495
1494
  const V = (g) => (R) => {
1496
1495
  var N;
1497
1496
  (N = g.onKeyDown) == null || N.call(g, R), !(R.key !== "Escape" || R.which === 229 || // Wait until IME is settled.
@@ -1502,7 +1501,7 @@ function ht(n) {
1502
1501
  };
1503
1502
  return {
1504
1503
  getRootProps: (g = {}) => {
1505
- const R = Tn(n);
1504
+ const R = yn(n);
1506
1505
  delete R.onTransitionEnter, delete R.onTransitionExited;
1507
1506
  const N = M({}, R, g);
1508
1507
  return M({
@@ -1525,25 +1524,25 @@ function ht(n) {
1525
1524
  const g = () => {
1526
1525
  S(!1), a && a();
1527
1526
  }, R = () => {
1528
- S(!0), l && l(), r && P();
1527
+ S(!0), l && l(), r && C();
1529
1528
  };
1530
1529
  return {
1531
- onEnter: _e(g, c == null ? void 0 : c.props.onEnter),
1532
- onExited: _e(R, c == null ? void 0 : c.props.onExited)
1530
+ onEnter: _e(g, c?.props.onEnter),
1531
+ onExited: _e(R, c?.props.onExited)
1533
1532
  };
1534
1533
  },
1535
1534
  rootRef: w,
1536
1535
  portalRef: _,
1537
1536
  isTopModal: I,
1538
- exited: O,
1539
- hasTransition: B
1537
+ exited: B,
1538
+ hasTransition: F
1540
1539
  };
1541
1540
  }
1542
- function mt(n) {
1543
- return ke("MuiModal", n);
1541
+ function ht(n) {
1542
+ return Pe("MuiModal", n);
1544
1543
  }
1545
1544
  he("MuiModal", ["root", "hidden", "backdrop"]);
1546
- const bt = ["BackdropComponent", "BackdropProps", "classes", "className", "closeAfterTransition", "children", "container", "component", "components", "componentsProps", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "onBackdropClick", "onClose", "onTransitionEnter", "onTransitionExited", "open", "slotProps", "slots", "theme"], gt = (n) => {
1545
+ const mt = ["BackdropComponent", "BackdropProps", "classes", "className", "closeAfterTransition", "children", "container", "component", "components", "componentsProps", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "onBackdropClick", "onClose", "onTransitionEnter", "onTransitionExited", "open", "slotProps", "slots", "theme"], bt = (n) => {
1547
1546
  const {
1548
1547
  open: t,
1549
1548
  exited: s,
@@ -1552,8 +1551,8 @@ const bt = ["BackdropComponent", "BackdropProps", "classes", "className", "close
1552
1551
  return Me({
1553
1552
  root: ["root", !t && s && "hidden"],
1554
1553
  backdrop: ["backdrop"]
1555
- }, mt, o);
1556
- }, Et = ee("div", {
1554
+ }, ht, o);
1555
+ }, gt = ee("div", {
1557
1556
  name: "MuiModal",
1558
1557
  slot: "Root",
1559
1558
  overridesResolver: (n, t) => {
@@ -1574,50 +1573,50 @@ const bt = ["BackdropComponent", "BackdropProps", "classes", "className", "close
1574
1573
  left: 0
1575
1574
  }, !t.open && t.exited && {
1576
1575
  visibility: "hidden"
1577
- })), yt = ee(Ge, {
1576
+ })), Et = ee(Ge, {
1578
1577
  name: "MuiModal",
1579
1578
  slot: "Backdrop",
1580
1579
  overridesResolver: (n, t) => t.backdrop
1581
1580
  })({
1582
1581
  zIndex: -1
1583
- }), Tt = /* @__PURE__ */ u.forwardRef(function(t, s) {
1582
+ }), yt = /* @__PURE__ */ u.forwardRef(function(t, s) {
1584
1583
  var o, i, r, a, l, c;
1585
1584
  const d = me({
1586
1585
  name: "MuiModal",
1587
1586
  props: t
1588
1587
  }), {
1589
- BackdropComponent: b = yt,
1588
+ BackdropComponent: b = Et,
1590
1589
  BackdropProps: y,
1591
1590
  className: x,
1592
1591
  closeAfterTransition: v = !1,
1593
1592
  children: p,
1594
1593
  container: w,
1595
- component: O,
1594
+ component: B,
1596
1595
  components: S = {},
1597
- componentsProps: B = {},
1596
+ componentsProps: F = {},
1598
1597
  disableAutoFocus: h = !1,
1599
1598
  disableEnforceFocus: f = !1,
1600
1599
  disableEscapeKeyDown: T = !1,
1601
- disablePortal: C = !1,
1602
- disableRestoreFocus: k = !1,
1600
+ disablePortal: k = !1,
1601
+ disableRestoreFocus: P = !1,
1603
1602
  disableScrollLock: I = !1,
1604
1603
  hideBackdrop: _ = !1,
1605
- keepMounted: P = !1,
1604
+ keepMounted: C = !1,
1606
1605
  onBackdropClick: V,
1607
1606
  open: D,
1608
1607
  slotProps: L,
1609
1608
  slots: E
1610
1609
  // eslint-disable-next-line react/prop-types
1611
- } = d, F = Z(d, bt), g = M({}, d, {
1610
+ } = d, O = Z(d, mt), g = M({}, d, {
1612
1611
  closeAfterTransition: v,
1613
1612
  disableAutoFocus: h,
1614
1613
  disableEnforceFocus: f,
1615
1614
  disableEscapeKeyDown: T,
1616
- disablePortal: C,
1617
- disableRestoreFocus: k,
1615
+ disablePortal: k,
1616
+ disableRestoreFocus: P,
1618
1617
  disableScrollLock: I,
1619
1618
  hideBackdrop: _,
1620
- keepMounted: P
1619
+ keepMounted: C
1621
1620
  }), {
1622
1621
  getRootProps: R,
1623
1622
  getBackdropProps: N,
@@ -1626,11 +1625,11 @@ const bt = ["BackdropComponent", "BackdropProps", "classes", "className", "close
1626
1625
  isTopModal: Ee,
1627
1626
  exited: ie,
1628
1627
  hasTransition: ae
1629
- } = ht(M({}, g, {
1628
+ } = ft(M({}, g, {
1630
1629
  rootRef: s
1631
1630
  })), $ = M({}, g, {
1632
1631
  exited: ie
1633
- }), K = gt($), W = {};
1632
+ }), K = bt($), W = {};
1634
1633
  if (p.props.tabIndex === void 0 && (W.tabIndex = "-1"), ae) {
1635
1634
  const {
1636
1635
  onEnter: q,
@@ -1638,17 +1637,17 @@ const bt = ["BackdropComponent", "BackdropProps", "classes", "className", "close
1638
1637
  } = ge();
1639
1638
  W.onEnter = q, W.onExited = J;
1640
1639
  }
1641
- const le = (o = (i = E == null ? void 0 : E.root) != null ? i : S.Root) != null ? o : Et, G = (r = (a = E == null ? void 0 : E.backdrop) != null ? a : S.Backdrop) != null ? r : b, j = (l = L == null ? void 0 : L.root) != null ? l : B.root, ne = (c = L == null ? void 0 : L.backdrop) != null ? c : B.backdrop, ye = Ae({
1640
+ const le = (o = (i = E?.root) != null ? i : S.Root) != null ? o : gt, G = (r = (a = E?.backdrop) != null ? a : S.Backdrop) != null ? r : b, j = (l = L?.root) != null ? l : F.root, ne = (c = L?.backdrop) != null ? c : F.backdrop, ye = Ae({
1642
1641
  elementType: le,
1643
1642
  externalSlotProps: j,
1644
- externalForwardedProps: F,
1643
+ externalForwardedProps: O,
1645
1644
  getSlotProps: R,
1646
1645
  additionalProps: {
1647
1646
  ref: s,
1648
- as: O
1647
+ as: B
1649
1648
  },
1650
1649
  ownerState: $,
1651
- className: U(x, j == null ? void 0 : j.className, K == null ? void 0 : K.root, !$.open && $.exited && (K == null ? void 0 : K.hidden))
1650
+ className: U(x, j?.className, K?.root, !$.open && $.exited && K?.hidden)
1652
1651
  }), Te = Ae({
1653
1652
  elementType: G,
1654
1653
  externalSlotProps: ne,
@@ -1658,18 +1657,18 @@ const bt = ["BackdropComponent", "BackdropProps", "classes", "className", "close
1658
1657
  V && V(J), q != null && q.onClick && q.onClick(J);
1659
1658
  }
1660
1659
  })),
1661
- className: U(ne == null ? void 0 : ne.className, y == null ? void 0 : y.className, K == null ? void 0 : K.backdrop),
1660
+ className: U(ne?.className, y?.className, K?.backdrop),
1662
1661
  ownerState: $
1663
1662
  });
1664
- return !P && !D && (!ae || ie) ? null : /* @__PURE__ */ A(Rn, {
1663
+ return !C && !D && (!ae || ie) ? null : /* @__PURE__ */ A(Tn, {
1665
1664
  ref: se,
1666
1665
  container: w,
1667
- disablePortal: C,
1666
+ disablePortal: k,
1668
1667
  children: /* @__PURE__ */ Ne(le, M({}, ye, {
1669
1668
  children: [!_ && b ? /* @__PURE__ */ A(G, M({}, Te)) : null, /* @__PURE__ */ A(fe, {
1670
1669
  disableEnforceFocus: f,
1671
1670
  disableAutoFocus: h,
1672
- disableRestoreFocus: k,
1671
+ disableRestoreFocus: P,
1673
1672
  isEnabled: Ee,
1674
1673
  open: D,
1675
1674
  children: /* @__PURE__ */ u.cloneElement(p, W)
@@ -1677,7 +1676,7 @@ const bt = ["BackdropComponent", "BackdropProps", "classes", "className", "close
1677
1676
  }))
1678
1677
  });
1679
1678
  });
1680
- z.env.NODE_ENV !== "production" && (Tt.propTypes = {
1679
+ z.env.NODE_ENV !== "production" && (yt.propTypes = {
1681
1680
  // ┌────────────────────────────── Warning ──────────────────────────────┐
1682
1681
  // │ These PropTypes are generated from the TypeScript type definitions. │
1683
1682
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -1759,7 +1758,7 @@ z.env.NODE_ENV !== "production" && (Tt.propTypes = {
1759
1758
  * By default, it uses the body of the top-level document object,
1760
1759
  * so it's simply `document.body` most of the time.
1761
1760
  */
1762
- container: e.oneOfType([xn, e.func]),
1761
+ container: e.oneOfType([Rn, e.func]),
1763
1762
  /**
1764
1763
  * If `true`, the modal will not automatically shift focus to itself when it opens, and
1765
1764
  * replace it to the last focused element when it closes.
@@ -1858,31 +1857,30 @@ z.env.NODE_ENV !== "production" && (Tt.propTypes = {
1858
1857
  */
1859
1858
  sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
1860
1859
  });
1861
- function Mt({ fill: n }) {
1860
+ function Pt({ fill: n }) {
1862
1861
  return /* @__PURE__ */ A("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ A("path", { d: "M1 1L11 11M9.57143 1L1 11", stroke: n, "stroke-width": "2" }) });
1863
1862
  }
1864
- async function Nt() {
1865
- var r;
1866
- let t = await vn(Cn.KEPLR).getChainInfosWithoutEndpoints(), s = ((r = ln.getState()) == null ? void 0 : r.cosmosChains) || [];
1863
+ async function Mt() {
1864
+ let t = await xn(vn.KEPLR).getChainInfosWithoutEndpoints(), s = ln.getState()?.cosmosChains || [];
1867
1865
  const o = cn.keyBy(t, "chainId");
1868
1866
  let i = [];
1869
- return s.forEach((a) => {
1870
- if (o[a.chainId]) i.push(a.chainId);
1867
+ return s.forEach((r) => {
1868
+ if (o[r.chainId]) i.push(r.chainId);
1871
1869
  else
1872
1870
  return;
1873
1871
  }), i;
1874
1872
  }
1875
1873
  export {
1876
- qn as B,
1877
- Mt as C,
1874
+ Wn as B,
1875
+ Pt as C,
1878
1876
  Xe as F,
1879
- Tt as M,
1880
- Fe as T,
1881
- wn as _,
1882
- Ge as a,
1883
- fe as b,
1884
- Nn as c,
1885
- Mn as e,
1886
- Nt as g,
1877
+ yt as M,
1878
+ Oe as T,
1879
+ Nn as _,
1880
+ Mt as a,
1881
+ Ge as b,
1882
+ fe as c,
1883
+ Pn as e,
1884
+ Mn as g,
1887
1885
  Se as o
1888
1886
  };