@iota/apps-ui-kit 0.7.1 → 0.7.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.
package/dist/index.es.js CHANGED
@@ -573,8 +573,8 @@ const Vn = /* @__PURE__ */ Pr(Ti), Li = Vn(({ addVariant: e }) => {
573
573
  var Zt = { exports: {} };
574
574
  Zt.exports;
575
575
  (function(e, t) {
576
- var r = 200, n = "__lodash_hash_undefined__", a = 800, i = 16, c = 9007199254740991, s = "[object Arguments]", d = "[object Array]", f = "[object AsyncFunction]", g = "[object Boolean]", h = "[object Date]", x = "[object Error]", w = "[object Function]", y = "[object GeneratorFunction]", p = "[object Map]", S = "[object Number]", E = "[object Null]", D = "[object Object]", N = "[object Proxy]", T = "[object RegExp]", P = "[object Set]", L = "[object String]", _ = "[object Undefined]", I = "[object WeakMap]", k = "[object ArrayBuffer]", q = "[object DataView]", ae = "[object Float32Array]", be = "[object Float64Array]", xe = "[object Int8Array]", Le = "[object Int16Array]", Ve = "[object Int32Array]", F = "[object Uint8Array]", M = "[object Uint8ClampedArray]", X = "[object Uint16Array]", ee = "[object Uint32Array]", re = /[\\^$.*+?()[\]{}|]/g, Q = /^\[object .+?Constructor\]$/, ne = /^(?:0|[1-9]\d*)$/, j = {};
577
- j[ae] = j[be] = j[xe] = j[Le] = j[Ve] = j[F] = j[M] = j[X] = j[ee] = !0, j[s] = j[d] = j[k] = j[g] = j[q] = j[h] = j[x] = j[w] = j[p] = j[S] = j[D] = j[T] = j[P] = j[L] = j[I] = !1;
576
+ var r = 200, n = "__lodash_hash_undefined__", a = 800, i = 16, c = 9007199254740991, s = "[object Arguments]", d = "[object Array]", f = "[object AsyncFunction]", g = "[object Boolean]", h = "[object Date]", x = "[object Error]", y = "[object Function]", w = "[object GeneratorFunction]", p = "[object Map]", S = "[object Number]", E = "[object Null]", D = "[object Object]", N = "[object Proxy]", T = "[object RegExp]", P = "[object Set]", L = "[object String]", _ = "[object Undefined]", I = "[object WeakMap]", k = "[object ArrayBuffer]", q = "[object DataView]", ae = "[object Float32Array]", be = "[object Float64Array]", xe = "[object Int8Array]", Le = "[object Int16Array]", Ve = "[object Int32Array]", F = "[object Uint8Array]", M = "[object Uint8ClampedArray]", X = "[object Uint16Array]", ee = "[object Uint32Array]", re = /[\\^$.*+?()[\]{}|]/g, Q = /^\[object .+?Constructor\]$/, ne = /^(?:0|[1-9]\d*)$/, j = {};
577
+ j[ae] = j[be] = j[xe] = j[Le] = j[Ve] = j[F] = j[M] = j[X] = j[ee] = !0, j[s] = j[d] = j[k] = j[g] = j[q] = j[h] = j[x] = j[y] = j[p] = j[S] = j[D] = j[T] = j[P] = j[L] = j[I] = !1;
578
578
  var Je = typeof kt == "object" && kt && kt.Object === Object && kt, Ue = typeof self == "object" && self && self.Object === Object && self, we = Je || Ue || Function("return this")(), et = t && !t.nodeType && t, Ae = et && !0 && e && !e.nodeType && e, Nt = Ae && Ae.exports === et, gt = Nt && Je.process, _t = function() {
579
579
  try {
580
580
  var l = Ae && Ae.require && Ae.require("util").types;
@@ -1002,7 +1002,7 @@ Zt.exports;
1002
1002
  if (!Ge(l))
1003
1003
  return !1;
1004
1004
  var u = Lt(l);
1005
- return u == w || u == y || u == f || u == N;
1005
+ return u == y || u == w || u == f || u == N;
1006
1006
  }
1007
1007
  function nn(l) {
1008
1008
  return typeof l == "number" && l > -1 && l % 1 == 0 && l <= c;
@@ -1200,7 +1200,7 @@ function ge({
1200
1200
  tabIndex: f = 0,
1201
1201
  testId: g
1202
1202
  }) {
1203
- const h = e && !t ? $i[c] : Hi[c], x = Zi[c], w = r ? Xi[s] : zi[s], y = r ? Yi[s] : Ki[s];
1203
+ const h = e && !t ? $i[c] : Hi[c], x = Zi[c], y = r ? Xi[s] : zi[s], w = r ? Yi[s] : Ki[s];
1204
1204
  return /* @__PURE__ */ C(
1205
1205
  "button",
1206
1206
  {
@@ -1209,7 +1209,7 @@ function ge({
1209
1209
  className: b(
1210
1210
  "state-layer relative flex items-center justify-center gap-2 rounded-full transition-all duration-150 ease-in disabled:cursor-not-allowed disabled:opacity-40",
1211
1211
  h,
1212
- w,
1212
+ y,
1213
1213
  a && "w-full",
1214
1214
  d ? "flex-row-reverse" : "flex-row",
1215
1215
  `btn btn-${s}`
@@ -1218,8 +1218,8 @@ function ge({
1218
1218
  tabIndex: f,
1219
1219
  "data-testid": g,
1220
1220
  children: [
1221
- e && /* @__PURE__ */ o("span", { className: b(y), children: e }),
1222
- t && /* @__PURE__ */ o("span", { className: b("font-inter", y, x), children: t })
1221
+ e && /* @__PURE__ */ o("span", { className: b(w), children: e }),
1222
+ t && /* @__PURE__ */ o("span", { className: b("font-inter", w, x), children: t })
1223
1223
  ]
1224
1224
  }
1225
1225
  );
@@ -1941,7 +1941,7 @@ function sd({
1941
1941
  type: i = st.Rounded,
1942
1942
  isNested: c = !1
1943
1943
  }) {
1944
- const s = i === st.Underlined, d = r ? s ? "bg-transparent" : vl : ml, f = s ? r ? Sl : yl : "", g = r ? wl : xl, h = s ? c ? "px-md py-sm" : "px-lg py-md" : "px-sm py-[6px]", x = s ? "" : "rounded-full", w = c ? s ? "text-title-sm" : "text-label-md" : s ? "text-title-md" : "text-label-lg";
1944
+ const s = i === st.Underlined, d = r ? s ? "bg-transparent" : vl : ml, f = s ? r ? Sl : yl : "", g = r ? wl : xl, h = s ? c ? "px-md py-sm" : "px-lg py-md" : "px-sm py-[6px]", x = s ? "" : "rounded-full", y = c ? s ? "text-title-sm" : "text-label-md" : s ? "text-title-md" : "text-label-lg";
1945
1945
  return /* @__PURE__ */ o(
1946
1946
  ce,
1947
1947
  {
@@ -1958,7 +1958,7 @@ function sd({
1958
1958
  }
1959
1959
  ),
1960
1960
  disabled: n,
1961
- children: /* @__PURE__ */ C("div", { className: b("flex flex-row items-center justify-center gap-2", w), children: [
1961
+ children: /* @__PURE__ */ C("div", { className: b("flex flex-row items-center justify-center gap-2", y), children: [
1962
1962
  e && /* @__PURE__ */ o("span", { children: e }),
1963
1963
  /* @__PURE__ */ o("span", { className: "shrink-0 font-inter", children: t })
1964
1964
  ] })
@@ -2066,12 +2066,12 @@ function vt({
2066
2066
  closeDelay: i = 100,
2067
2067
  children: c
2068
2068
  }) {
2069
- const s = le(null), d = le(null), [f, g] = he(!1), [h, x] = he({ top: 0, left: 0 }), w = le(), y = le(), p = () => {
2070
- clearTimeout(w.current), clearTimeout(y.current);
2069
+ const s = le(null), d = le(null), [f, g] = he(!1), [h, x] = he({ top: 0, left: 0 }), y = le(), w = le(), p = () => {
2070
+ clearTimeout(y.current), clearTimeout(w.current);
2071
2071
  }, S = () => {
2072
- p(), w.current = setTimeout(() => g(!0), a);
2072
+ p(), y.current = setTimeout(() => g(!0), a);
2073
2073
  }, E = () => {
2074
- p(), y.current = setTimeout(() => g(!1), i);
2074
+ p(), w.current = setTimeout(() => g(!1), i);
2075
2075
  };
2076
2076
  return Ar(() => {
2077
2077
  var P;
@@ -2162,8 +2162,8 @@ function ud({
2162
2162
  isReverse: h = !1,
2163
2163
  valueHoverTitle: x
2164
2164
  }) {
2165
- const w = h ? "flex-row-reverse" : "flex-row";
2166
- async function y(p) {
2165
+ const y = h ? "flex-row-reverse" : "flex-row";
2166
+ async function w(p) {
2167
2167
  if (navigator.clipboard && s)
2168
2168
  try {
2169
2169
  await navigator.clipboard.writeText(s), d == null || d(p, s);
@@ -2176,7 +2176,7 @@ function ud({
2176
2176
  {
2177
2177
  className: b(
2178
2178
  "flex w-full items-baseline gap-xs py-xxs font-inter",
2179
- w,
2179
+ y,
2180
2180
  {
2181
2181
  "justify-between": g
2182
2182
  }
@@ -2224,7 +2224,7 @@ function ud({
2224
2224
  children: a
2225
2225
  }
2226
2226
  ),
2227
- /* @__PURE__ */ o("div", { className: "self-center", children: s && /* @__PURE__ */ o(ce, { onClick: y, children: /* @__PURE__ */ o(Mr, { className: "key-supporting-text-color" }) }) })
2227
+ /* @__PURE__ */ o("div", { className: "self-center", children: s && /* @__PURE__ */ o(ce, { onClick: w, children: /* @__PURE__ */ o(Mr, { className: "key-supporting-text-color" }) }) })
2228
2228
  ]
2229
2229
  }
2230
2230
  )
@@ -2598,19 +2598,19 @@ const Wl = "relative inline-flex items-center p-xxs border rounded-full cursor-p
2598
2598
  [Mt.disabledActive]: n && t,
2599
2599
  [Mt.disabled]: n,
2600
2600
  [jl[c]]: !0
2601
- }), w = b(Gl, {
2601
+ }), y = b(Gl, {
2602
2602
  [fn[c].unchecked]: !t,
2603
2603
  [fn[c].checked]: t,
2604
2604
  [hn.unchecked]: !t,
2605
2605
  [hn.checked]: t,
2606
2606
  [Hl[c]]: !0
2607
- }), y = b($l, {
2607
+ }), w = b($l, {
2608
2608
  "flex-row-reverse": r === Rr.Left,
2609
2609
  "cursor-not-allowed": n
2610
2610
  }), p = b(zl, {
2611
2611
  "opacity-40": n && !t
2612
2612
  });
2613
- return /* @__PURE__ */ C("div", { className: y, children: [
2613
+ return /* @__PURE__ */ C("div", { className: w, children: [
2614
2614
  /* @__PURE__ */ o(
2615
2615
  "input",
2616
2616
  {
@@ -2634,7 +2634,7 @@ const Wl = "relative inline-flex items-center p-xxs border rounded-full cursor-p
2634
2634
  return (S = f.current) == null ? void 0 : S.click();
2635
2635
  },
2636
2636
  className: x,
2637
- children: /* @__PURE__ */ o("span", { className: w })
2637
+ children: /* @__PURE__ */ o("span", { className: y })
2638
2638
  }
2639
2639
  ),
2640
2640
  e && /* @__PURE__ */ o("label", { htmlFor: i, className: p, children: e })
@@ -2754,10 +2754,10 @@ function xd({
2754
2754
  disabled: f,
2755
2755
  size: g = Dr.Default
2756
2756
  }) {
2757
- const h = t === K.Outline && r, x = r ? t === K.Outline ? "outline-transparent names:outline-names-neutral-20" : "chip-outline-color" : "outline-transparent", w = b(
2757
+ const h = t === K.Outline && r, x = r ? t === K.Outline ? "outline-transparent names:outline-names-neutral-20" : "chip-outline-color" : "outline-transparent", y = b(
2758
2758
  "group-focus:chip-outline-color-active",
2759
2759
  t === K.Outline && "names:group-focus:outline-transparent"
2760
- ), y = r && !f && t !== K.Outline ? ec : "";
2760
+ ), w = r && !f && t !== K.Outline ? ec : "";
2761
2761
  return /* @__PURE__ */ o(
2762
2762
  ce,
2763
2763
  {
@@ -2780,10 +2780,10 @@ function xd({
2780
2780
  mn,
2781
2781
  h ? tc[K.Outline] : nc[t],
2782
2782
  x,
2783
- !f && w,
2783
+ !f && y,
2784
2784
  !f && Ql,
2785
2785
  ac,
2786
- y
2786
+ w
2787
2787
  ),
2788
2788
  children: [
2789
2789
  c ?? s,
@@ -3028,8 +3028,8 @@ function gn(e, t, r) {
3028
3028
  i && Number(g[0]) && (h = i.split("").reverse().reduce(function(p, S, E) {
3029
3029
  return p.length > E ? (Number(p[0]) + Number(S)).toString() + p.substring(1, p.length) : S + p;
3030
3030
  }, g[0]));
3031
- var x = ia(g[1] || "", t, r), w = s ? "-" : "", y = n ? "." : "";
3032
- return "" + w + h + y + x;
3031
+ var x = ia(g[1] || "", t, r), y = s ? "-" : "", w = n ? "." : "";
3032
+ return "" + y + h + w + x;
3033
3033
  }
3034
3034
  function $e(e, t) {
3035
3035
  if (e.value = e.value, e !== null) {
@@ -3088,18 +3088,18 @@ function Nc(e, t, r, n, a, i, c) {
3088
3088
  return T;
3089
3089
  }), d = e.slice(0, s);
3090
3090
  !t && !r.startsWith(d) && (t = d, r = d + r, n = n + d.length);
3091
- for (var f = r.length, g = e.length, h = {}, x = new Array(f), w = 0; w < f; w++) {
3092
- x[w] = -1;
3093
- for (var y = 0, p = g; y < p; y++) {
3091
+ for (var f = r.length, g = e.length, h = {}, x = new Array(f), y = 0; y < f; y++) {
3092
+ x[y] = -1;
3093
+ for (var w = 0, p = g; w < p; w++) {
3094
3094
  var S = c({
3095
3095
  currentValue: r,
3096
3096
  lastValue: t,
3097
3097
  formattedValue: e,
3098
- currentValueIndex: w,
3099
- formattedValueIndex: y
3098
+ currentValueIndex: y,
3099
+ formattedValueIndex: w
3100
3100
  });
3101
- if (S && h[y] !== !0) {
3102
- x[w] = y, h[y] = !0;
3101
+ if (S && h[w] !== !0) {
3102
+ x[y] = w, h[w] = !0;
3103
3103
  break;
3104
3104
  }
3105
3105
  }
@@ -3134,22 +3134,22 @@ function _c(e) {
3134
3134
  }
3135
3135
  function sa(e, t, r, n, a, i) {
3136
3136
  i === void 0 && (i = Pe);
3137
- var c = bc(function(y, p) {
3137
+ var c = bc(function(w, p) {
3138
3138
  var S, E;
3139
- return aa(y) ? (E = "", S = "") : typeof y == "number" || p ? (E = typeof y == "number" ? la(y) : y, S = n(E)) : (E = a(y, void 0), S = n(E)), { formattedValue: S, numAsString: E };
3139
+ return aa(w) ? (E = "", S = "") : typeof w == "number" || p ? (E = typeof w == "number" ? la(w) : w, S = n(E)) : (E = a(w, void 0), S = n(E)), { formattedValue: S, numAsString: E };
3140
3140
  }), s = he(function() {
3141
3141
  return c(dt(e) ? t : e, r);
3142
- }), d = s[0], f = s[1], g = function(y, p) {
3143
- y.formattedValue !== d.formattedValue && f({
3144
- formattedValue: y.formattedValue,
3145
- numAsString: y.value
3146
- }), i(y, p);
3142
+ }), d = s[0], f = s[1], g = function(w, p) {
3143
+ w.formattedValue !== d.formattedValue && f({
3144
+ formattedValue: w.formattedValue,
3145
+ numAsString: w.value
3146
+ }), i(w, p);
3147
3147
  }, h = e, x = r;
3148
3148
  dt(e) && (h = d.numAsString, x = !0);
3149
- var w = c(h, x);
3149
+ var y = c(h, x);
3150
3150
  return ii(function() {
3151
- f(w);
3152
- }, [w.formattedValue]), [d, g];
3151
+ f(y);
3152
+ }, [y.formattedValue]), [d, g];
3153
3153
  }
3154
3154
  function Oc(e) {
3155
3155
  return e.replace(/[^0-9]/g, "");
@@ -3168,10 +3168,10 @@ function Rc(e) {
3168
3168
  s === void 0 && (s = Oc);
3169
3169
  var d = e.defaultValue, f = e.valueIsNumericString, g = e.onValueChange, h = e.isAllowed, x = e.onChange;
3170
3170
  x === void 0 && (x = Pe);
3171
- var w = e.onKeyDown;
3172
- w === void 0 && (w = Pe);
3173
- var y = e.onMouseUp;
3171
+ var y = e.onKeyDown;
3174
3172
  y === void 0 && (y = Pe);
3173
+ var w = e.onMouseUp;
3174
+ w === void 0 && (w = Pe);
3175
3175
  var p = e.onFocus;
3176
3176
  p === void 0 && (p = Pe);
3177
3177
  var S = e.onBlur;
@@ -3262,7 +3262,7 @@ function Rc(e) {
3262
3262
  B === "Delete" && H === oe && (ue = 1);
3263
3263
  var me = B === "ArrowLeft" || B === "ArrowRight";
3264
3264
  if (V === void 0 || H !== oe && !me) {
3265
- w(O), Ae(R, ue);
3265
+ y(O), Ae(R, ue);
3266
3266
  return;
3267
3267
  }
3268
3268
  var ye = V;
@@ -3270,7 +3270,7 @@ function Rc(e) {
3270
3270
  var pt = B === "ArrowLeft" ? "left" : "right";
3271
3271
  ye = ne($, V, pt), ye !== V && O.preventDefault();
3272
3272
  } else B === "Delete" && !N($[V]) ? ye = ne($, V, "right") : B === "Backspace" && !N($[V]) && (ye = ne($, V, "left"));
3273
- ye !== V && Q(R, ye, $), w(O), Ae(R, ue);
3273
+ ye !== V && Q(R, ye, $), y(O), Ae(R, ue);
3274
3274
  }, _t = function(O) {
3275
3275
  var R = O.target, B = function() {
3276
3276
  var H = R.selectionStart, oe = R.selectionEnd, $ = R.value;
@@ -3281,7 +3281,7 @@ function Rc(e) {
3281
3281
  };
3282
3282
  B(), requestAnimationFrame(function() {
3283
3283
  B();
3284
- }), y(O), Ae(R);
3284
+ }), w(O), Ae(R);
3285
3285
  }, Ot = function(O) {
3286
3286
  O.persist && O.persist();
3287
3287
  var R = O.target, B = O.currentTarget;
@@ -3318,8 +3318,8 @@ function bn(e, t) {
3318
3318
  var c = t.allowNegative, s = t.thousandsGroupStyle;
3319
3319
  if (s === void 0 && (s = "thousand"), e === "" || e === "-")
3320
3320
  return e;
3321
- var d = rr(t), f = d.thousandSeparator, g = d.decimalSeparator, h = r !== 0 && e.indexOf(".") !== -1 || r && n, x = Fr(e, c), w = x.beforeDecimal, y = x.afterDecimal, p = x.addNegation;
3322
- return r !== void 0 && (y = ia(y, r, !!n)), f && (w = pc(w, f, s)), a && (w = a + w), i && (y = y + i), p && (w = "-" + w), e = w + (h && g || "") + y, e;
3321
+ var d = rr(t), f = d.thousandSeparator, g = d.decimalSeparator, h = r !== 0 && e.indexOf(".") !== -1 || r && n, x = Fr(e, c), y = x.beforeDecimal, w = x.afterDecimal, p = x.addNegation;
3322
+ return r !== void 0 && (w = ia(w, r, !!n)), f && (y = pc(y, f, s)), a && (y = a + y), i && (w = w + i), p && (y = "-" + y), e = y + (h && g || "") + w, e;
3323
3323
  }
3324
3324
  function rr(e) {
3325
3325
  var t = e.decimalSeparator;
@@ -3349,11 +3349,11 @@ function Ic(e, t, r) {
3349
3349
  i === void 0 && (i = "");
3350
3350
  var c = r.suffix;
3351
3351
  c === void 0 && (c = "");
3352
- var s = r.decimalScale, d = t.from, f = t.to, g = f.start, h = f.end, x = rr(r), w = x.allowedDecimalSeparators, y = x.decimalSeparator, p = e[h] === y;
3352
+ var s = r.decimalScale, d = t.from, f = t.to, g = f.start, h = f.end, x = rr(r), y = x.allowedDecimalSeparators, w = x.decimalSeparator, p = e[h] === w;
3353
3353
  if (Ct(e) && (e === i || e === c) && t.lastValue === "")
3354
3354
  return e;
3355
- if (h - g === 1 && w.indexOf(e[g]) !== -1) {
3356
- var S = s === 0 ? "" : y;
3355
+ if (h - g === 1 && y.indexOf(e[g]) !== -1) {
3356
+ var S = s === 0 ? "" : w;
3357
3357
  e = e.substring(0, g) + S + e.substring(g + 1, e.length);
3358
3358
  }
3359
3359
  var E = function(M, X, ee) {
@@ -3368,9 +3368,9 @@ function Ic(e, t, r) {
3368
3368
  var k = 0;
3369
3369
  e.startsWith(i) ? k += i.length : g < i.length && (k = g), e = e.substring(k), h -= k;
3370
3370
  var q = e.length, ae = e.length - c.length;
3371
- e.endsWith(c) ? q = ae : (h > ae || h > e.length - c.length) && (q = h), e = e.substring(0, q), e = Dc(N ? "-" + e : e, a), e = (e.match(Tc(y)) || []).join("");
3372
- var be = e.indexOf(y);
3373
- e = e.replace(new RegExp(oa(y), "g"), function(M, X) {
3371
+ e.endsWith(c) ? q = ae : (h > ae || h > e.length - c.length) && (q = h), e = e.substring(0, q), e = Dc(N ? "-" + e : e, a), e = (e.match(Tc(w)) || []).join("");
3372
+ var be = e.indexOf(w);
3373
+ e = e.replace(new RegExp(oa(w), "g"), function(M, X) {
3374
3374
  return X === be ? "." : "";
3375
3375
  });
3376
3376
  var xe = Fr(e, a), Le = xe.beforeDecimal, Ve = xe.afterDecimal, F = xe.addNegation;
@@ -3412,7 +3412,7 @@ function Mc(e) {
3412
3412
  i === void 0 && (i = Pe);
3413
3413
  var c = e.thousandSeparator, s = e.decimalScale, d = e.fixedDecimalScale, f = e.prefix;
3414
3414
  f === void 0 && (f = "");
3415
- var g = e.defaultValue, h = e.value, x = e.valueIsNumericString, w = e.onValueChange, y = na(e, ["decimalSeparator", "allowedDecimalSeparators", "thousandsGroupStyle", "suffix", "allowNegative", "allowLeadingZeros", "onKeyDown", "onBlur", "thousandSeparator", "decimalScale", "fixedDecimalScale", "prefix", "defaultValue", "value", "valueIsNumericString", "onValueChange"]), p = rr(e), S = p.decimalSeparator, E = p.allowedDecimalSeparators, D = function(F) {
3415
+ var g = e.defaultValue, h = e.value, x = e.valueIsNumericString, y = e.onValueChange, w = na(e, ["decimalSeparator", "allowedDecimalSeparators", "thousandsGroupStyle", "suffix", "allowNegative", "allowLeadingZeros", "onKeyDown", "onBlur", "thousandSeparator", "decimalScale", "fixedDecimalScale", "prefix", "defaultValue", "value", "valueIsNumericString", "onValueChange"]), p = rr(e), S = p.decimalSeparator, E = p.allowedDecimalSeparators, D = function(F) {
3416
3416
  return bn(F, e);
3417
3417
  }, N = function(F, M) {
3418
3418
  return Ic(F, M, e);
@@ -3420,7 +3420,7 @@ function Mc(e) {
3420
3420
  dt(h) ? dt(g) || (P = P || typeof g == "number") : P = P || typeof h == "number";
3421
3421
  var L = function(F) {
3422
3422
  return aa(F) ? F : (typeof F == "number" && (F = la(F)), P && typeof s == "number" ? gn(F, s, !!d) : F);
3423
- }, _ = sa(L(h), L(g), !!P, D, N, w), I = _[0], k = I.numAsString, q = I.formattedValue, ae = _[1], be = function(F) {
3423
+ }, _ = sa(L(h), L(g), !!P, D, N, y), I = _[0], k = I.numAsString, q = I.formattedValue, ae = _[1], be = function(F) {
3424
3424
  var M = F.target, X = F.key, ee = M.selectionStart, re = M.selectionEnd, Q = M.value;
3425
3425
  if (Q === void 0 && (Q = ""), (X === "Backspace" || X === "Delete") && re < f.length) {
3426
3426
  F.preventDefault();
@@ -3455,7 +3455,7 @@ function Mc(e) {
3455
3455
  };
3456
3456
  return h === 0 && d && s && M[Ue.start] === S && we(M) < re && we(ee) > Q ? !1 : re >= Ue.start && re < Ue.end && E && E.includes(ne) && j === S ? !0 : ne === j;
3457
3457
  };
3458
- return Object.assign(Object.assign({}, y), {
3458
+ return Object.assign(Object.assign({}, w), {
3459
3459
  value: q,
3460
3460
  valueIsNumericString: !1,
3461
3461
  isValidInputCharacter: Le,
@@ -3487,12 +3487,12 @@ const Sd = Fe(function({
3487
3487
  value: g,
3488
3488
  supportingValue: h,
3489
3489
  defaultValue: x,
3490
- onClearInput: w,
3491
- isVisibilityToggleEnabled: y,
3490
+ onClearInput: y,
3491
+ isVisibilityToggleEnabled: w,
3492
3492
  type: p,
3493
3493
  ...S
3494
3494
  }, E) {
3495
- y ?? (y = p === Se.Password);
3495
+ w ?? (w = p === Se.Password);
3496
3496
  const D = le(null), [N, T] = he(
3497
3497
  f ?? p !== Se.Password
3498
3498
  );
@@ -3551,10 +3551,10 @@ const Sd = Fe(function({
3551
3551
  {
3552
3552
  value: g,
3553
3553
  type: p,
3554
- onClearInput: w,
3554
+ onClearInput: y,
3555
3555
  isContentVisible: N,
3556
3556
  trailingElement: d,
3557
- isVisibilityToggleEnabled: y,
3557
+ isVisibilityToggleEnabled: w,
3558
3558
  onToggleButtonClick: P
3559
3559
  }
3560
3560
  )
@@ -3650,16 +3650,17 @@ const Cd = Fe(function({
3650
3650
  isResizeEnabled: d,
3651
3651
  required: f,
3652
3652
  isContentVisible: g,
3653
- ...h
3654
- }, x) {
3655
- const [w, y] = he(
3653
+ defaultValue: h,
3654
+ ...x
3655
+ }, y) {
3656
+ const [w, p] = he(
3656
3657
  g ?? !0
3657
3658
  );
3658
3659
  de(() => {
3659
- y(g ?? !0);
3660
+ p(g ?? !0);
3660
3661
  }, [g]);
3661
- function p() {
3662
- y((S) => !S);
3662
+ function S() {
3663
+ p((E) => !E);
3663
3664
  }
3664
3665
  return /* @__PURE__ */ o(
3665
3666
  Br,
@@ -3676,7 +3677,7 @@ const Cd = Fe(function({
3676
3677
  {
3677
3678
  disabled: n || !w,
3678
3679
  required: f,
3679
- ref: x,
3680
+ ref: y,
3680
3681
  className: b(
3681
3682
  "text-area-container peer block min-h-[50px]",
3682
3683
  ta,
@@ -3686,15 +3687,16 @@ const Cd = Fe(function({
3686
3687
  w && d ? "resize-y" : "resize-none",
3687
3688
  !w && "not-visible select-none text-transparent"
3688
3689
  ),
3689
- value: w ? i : "",
3690
- ...h
3690
+ defaultValue: w && h ? h : void 0,
3691
+ value: w && i ? i : void 0,
3692
+ ...x
3691
3693
  }
3692
3694
  ),
3693
3695
  !w && /* @__PURE__ */ o("div", { className: "absolute left-0 top-0 flex h-full w-full flex-col items-stretch gap-y-2 px-md py-sm peer-[.not-visible]:select-none", children: /* @__PURE__ */ o(Wc, { rows: 3, halfWidthRow: 3 }) }),
3694
3696
  s && /* @__PURE__ */ o("span", { className: "absolute bottom-4 right-4 flex", children: /* @__PURE__ */ o(
3695
3697
  ce,
3696
3698
  {
3697
- onClick: p,
3699
+ onClick: S,
3698
3700
  className: "input-icon-color [&_svg]:h-5 [&_svg]:w-5",
3699
3701
  tabIndex: -1,
3700
3702
  children: w ? /* @__PURE__ */ o(Kn, {}) : /* @__PURE__ */ o(Xn, {})
@@ -3724,12 +3726,12 @@ function zc({
3724
3726
  return /* @__PURE__ */ C(
3725
3727
  "div",
3726
3728
  {
3727
- onClick: (w) => {
3729
+ onClick: (y) => {
3728
3730
  if (i) {
3729
- w.preventDefault();
3731
+ y.preventDefault();
3730
3732
  return;
3731
3733
  }
3732
- a == null || a(w);
3734
+ a == null || a(y);
3733
3735
  },
3734
3736
  className: b(
3735
3737
  "inline-flex cursor-pointer flex-col items-center justify-center space-y-1"
@@ -3807,8 +3809,8 @@ function Ed({
3807
3809
  copyText: g,
3808
3810
  onOpen: h,
3809
3811
  isCopyable: x,
3810
- isExternal: w,
3811
- isSelected: y,
3812
+ isExternal: y,
3813
+ isSelected: w,
3812
3814
  isActive: p,
3813
3815
  showSelected: S,
3814
3816
  badgeTooltipText: E,
@@ -3841,7 +3843,7 @@ function Ed({
3841
3843
  copyText: g,
3842
3844
  onOpen: h,
3843
3845
  isCopyable: x,
3844
- isExternal: w
3846
+ isExternal: y
3845
3847
  }
3846
3848
  )
3847
3849
  ] })
@@ -3859,7 +3861,7 @@ function Ed({
3859
3861
  }
3860
3862
  ) }) : /* @__PURE__ */ o(ce, { onClick: s, testId: "account-lock", children: /* @__PURE__ */ o(ll, {}) }))
3861
3863
  ] }),
3862
- S && /* @__PURE__ */ o(ce, { children: y ? /* @__PURE__ */ o(tl, { className: "account-check-active-color h-5 w-5" }) : /* @__PURE__ */ o(zn, { className: "account-check-inactive-color h-5 w-5" }) })
3864
+ S && /* @__PURE__ */ o(ce, { children: w ? /* @__PURE__ */ o(tl, { className: "account-check-active-color h-5 w-5" }) : /* @__PURE__ */ o(zn, { className: "account-check-inactive-color h-5 w-5" }) })
3863
3865
  ] })
3864
3866
  ]
3865
3867
  }
@@ -3914,12 +3916,12 @@ const Od = Fe(
3914
3916
  value: g,
3915
3917
  dropdownPosition: h = Ht.Bottom,
3916
3918
  size: x = $t.Default
3917
- }, w) => {
3918
- const [y, p] = he(!1), S = P(g, c), E = le(null), D = S || s, N = x === $t.Small ? "px-sm" : "px-md", T = x === $t.Small ? "text-body-md" : "text-body-lg";
3919
+ }, y) => {
3920
+ const [w, p] = he(!1), S = P(g, c), E = le(null), D = S || s, N = x === $t.Small ? "px-sm" : "px-md", T = x === $t.Small ? "text-body-md" : "text-body-lg";
3919
3921
  de(() => {
3920
- e && y && I();
3921
- }, [e, y]), de(() => {
3922
- if (!y) return;
3922
+ e && w && I();
3923
+ }, [e, w]), de(() => {
3924
+ if (!w) return;
3923
3925
  const k = (q) => {
3924
3926
  const ae = q.target;
3925
3927
  E.current && !E.current.contains(ae) && I();
@@ -3927,7 +3929,7 @@ const Od = Fe(
3927
3929
  return document.addEventListener("mousedown", k), () => {
3928
3930
  document.removeEventListener("mousedown", k);
3929
3931
  };
3930
- }, [y]);
3932
+ }, [w]);
3931
3933
  function P(k, q = []) {
3932
3934
  return q.find(
3933
3935
  (ae) => typeof ae == "string" ? ae === k : ae.id === k
@@ -3956,7 +3958,7 @@ const Od = Fe(
3956
3958
  /* @__PURE__ */ C(
3957
3959
  ce,
3958
3960
  {
3959
- ref: w,
3961
+ ref: y,
3960
3962
  onClick: L,
3961
3963
  disabled: e,
3962
3964
  className: b(
@@ -3982,14 +3984,14 @@ const Od = Fe(
3982
3984
  hl,
3983
3985
  {
3984
3986
  className: b("select-icon-color transition-transform", {
3985
- " rotate-180": y
3987
+ " rotate-180": w
3986
3988
  })
3987
3989
  }
3988
3990
  )
3989
3991
  ]
3990
3992
  }
3991
3993
  ),
3992
- y && /* @__PURE__ */ o(
3994
+ w && /* @__PURE__ */ o(
3993
3995
  "div",
3994
3996
  {
3995
3997
  className: "fixed left-0 top-0 z-[49] bg-transparent",
@@ -4000,7 +4002,7 @@ const Od = Fe(
4000
4002
  "div",
4001
4003
  {
4002
4004
  className: b("absolute z-50 min-w-full", {
4003
- hidden: !y,
4005
+ hidden: !w,
4004
4006
  "top-full": !h || h === Ht.Bottom,
4005
4007
  "bottom-full": h === Ht.Top
4006
4008
  }),
@@ -4037,9 +4039,9 @@ function Yc({
4037
4039
  sortOrder: f
4038
4040
  }) {
4039
4041
  const g = () => {
4040
- const y = f === lt.Asc ? lt.Desc : lt.Asc;
4041
- s && s(t, y);
4042
- }, h = "table-header-text-color", x = "text-label-lg", w = r ? f === lt.Asc ? /* @__PURE__ */ o(un, { className: "shrink-0" }) : f === lt.Desc ? /* @__PURE__ */ o(fl, { className: "shrink-0" }) : /* @__PURE__ */ o(un, { className: "invisible shrink-0 group-hover:visible" }) : null;
4042
+ const w = f === lt.Asc ? lt.Desc : lt.Asc;
4043
+ s && s(t, w);
4044
+ }, h = "table-header-text-color", x = "text-label-lg", y = r ? f === lt.Asc ? /* @__PURE__ */ o(un, { className: "shrink-0" }) : f === lt.Desc ? /* @__PURE__ */ o(fl, { className: "shrink-0" }) : /* @__PURE__ */ o(un, { className: "invisible shrink-0 group-hover:visible" }) : null;
4043
4045
  return /* @__PURE__ */ o(
4044
4046
  "th",
4045
4047
  {
@@ -4078,7 +4080,7 @@ function Yc({
4078
4080
  children: e
4079
4081
  }
4080
4082
  ),
4081
- w
4083
+ y
4082
4084
  ]
4083
4085
  }
4084
4086
  )
@@ -4106,8 +4108,8 @@ function Ad({
4106
4108
  type: c = Ne.Outlined,
4107
4109
  renderSuggestion: s
4108
4110
  }) {
4109
- const d = le(null), f = le(null), [g, h] = he(!0), [x, w] = he(null);
4110
- function y(L) {
4111
+ const d = le(null), f = le(null), [g, h] = he(!0), [x, y] = he(null);
4112
+ function w(L) {
4111
4113
  const _ = L.target.value;
4112
4114
  r(_);
4113
4115
  }
@@ -4134,11 +4136,11 @@ function Ad({
4134
4136
  c === Ne.Outlined ? "[&:not(.dark_*,.names_*)]:border-b-transparent" : "border-b-transparent"
4135
4137
  ) : c === Ne.Outlined ? "rounded-3xl border-b" : "rounded-full", E = Qc[c], D = qc[c], N = Jc[c], T = (L) => {
4136
4138
  var _;
4137
- n == null || n(L), r(""), h(!1), w(null), (_ = d.current) == null || _.blur();
4139
+ n == null || n(L), r(""), h(!1), y(null), (_ = d.current) == null || _.blur();
4138
4140
  }, P = (L) => {
4139
- t && (t == null ? void 0 : t.length) > 0 && (L.key === "ArrowDown" ? (L.preventDefault(), w(
4141
+ t && (t == null ? void 0 : t.length) > 0 && (L.key === "ArrowDown" ? (L.preventDefault(), y(
4140
4142
  (_) => _ === null || _ >= t.length - 1 ? 0 : _ + 1
4141
- )) : L.key === "ArrowUp" ? (L.preventDefault(), w(
4143
+ )) : L.key === "ArrowUp" ? (L.preventDefault(), y(
4142
4144
  (_) => _ === null || _ <= 0 ? t.length - 1 : _ - 1
4143
4145
  )) : L.key === "Enter" && (L.preventDefault(), x !== null && t[x] ? T(t[x]) : t.length === 1 && T(t[0])));
4144
4146
  };
@@ -4158,7 +4160,7 @@ function Ad({
4158
4160
  ref: d,
4159
4161
  type: "text",
4160
4162
  value: e,
4161
- onChange: y,
4163
+ onChange: w,
4162
4164
  onKeyDown: P,
4163
4165
  onFocus: () => h(!0),
4164
4166
  placeholder: a,
@@ -4186,7 +4188,7 @@ function Ad({
4186
4188
  "div",
4187
4189
  {
4188
4190
  onClick: () => T(L),
4189
- onMouseEnter: () => w(_),
4191
+ onMouseEnter: () => y(_),
4190
4192
  className: b(
4191
4193
  "w-full cursor-pointer px-md py-sm",
4192
4194
  x === _ ? "search-selected-index-bg-color" : ""
@@ -4571,7 +4573,7 @@ function Id({
4571
4573
  onCopySuccess: f,
4572
4574
  onCopyError: g
4573
4575
  }) {
4574
- const h = is[i], x = cs[c], w = ls[i], y = ss[c], p = ds[c], S = us[c];
4576
+ const h = is[i], x = cs[c], y = ls[i], w = ss[c], p = ds[c], S = us[c];
4575
4577
  async function E(D) {
4576
4578
  if (navigator.clipboard && d)
4577
4579
  try {
@@ -4587,7 +4589,7 @@ function Id({
4587
4589
  "flex h-full w-full flex-col justify-between rounded-2xl p-md--rs",
4588
4590
  h,
4589
4591
  x,
4590
- w
4592
+ y
4591
4593
  ),
4592
4594
  children: [
4593
4595
  /* @__PURE__ */ C(
@@ -4606,7 +4608,7 @@ function Id({
4606
4608
  }
4607
4609
  ),
4608
4610
  /* @__PURE__ */ C("div", { className: "flex w-full flex-row items-baseline gap-xxs", children: [
4609
- /* @__PURE__ */ o("span", { className: b("break-all", y), children: n }),
4611
+ /* @__PURE__ */ o("span", { className: b("break-all", w), children: n }),
4610
4612
  a && /* @__PURE__ */ o("span", { className: b("opacity-40", S), children: a }),
4611
4613
  d && /* @__PURE__ */ o("div", { className: "self-center", children: /* @__PURE__ */ o(ce, { onClick: E, children: /* @__PURE__ */ o(Mr, { className: "display-stats-copy-icon-color" }) }) })
4612
4614
  ] })
@@ -4684,12 +4686,12 @@ function ms(e, t = []) {
4684
4686
  const s = v.createContext(c), d = r.length;
4685
4687
  r = [...r, c];
4686
4688
  function f(h) {
4687
- const { scope: x, children: w, ...y } = h, p = (x == null ? void 0 : x[e][d]) || s, S = v.useMemo(() => y, Object.values(y));
4688
- return /* @__PURE__ */ o(p.Provider, { value: S, children: w });
4689
+ const { scope: x, children: y, ...w } = h, p = (x == null ? void 0 : x[e][d]) || s, S = v.useMemo(() => w, Object.values(w));
4690
+ return /* @__PURE__ */ o(p.Provider, { value: S, children: y });
4689
4691
  }
4690
4692
  function g(h, x) {
4691
- const w = (x == null ? void 0 : x[e][d]) || s, y = v.useContext(w);
4692
- if (y) return y;
4693
+ const y = (x == null ? void 0 : x[e][d]) || s, w = v.useContext(y);
4694
+ if (w) return w;
4693
4695
  if (c !== void 0) return c;
4694
4696
  throw new Error(`\`${h}\` must be used within \`${i}\``);
4695
4697
  }
@@ -4861,7 +4863,7 @@ var Os = "DismissableLayer", Lr = "dismissableLayer.update", As = "dismissableLa
4861
4863
  onInteractOutside: c,
4862
4864
  onDismiss: s,
4863
4865
  ...d
4864
- } = e, f = v.useContext(pa), [g, h] = v.useState(null), x = (g == null ? void 0 : g.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, w] = v.useState({}), y = Qe(t, (_) => h(_)), p = Array.from(f.layers), [S] = [...f.layersWithOutsidePointerEventsDisabled].slice(-1), E = p.indexOf(S), D = g ? p.indexOf(g) : -1, N = f.layersWithOutsidePointerEventsDisabled.size > 0, T = D >= E, P = Ls((_) => {
4866
+ } = e, f = v.useContext(pa), [g, h] = v.useState(null), x = (g == null ? void 0 : g.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, y] = v.useState({}), w = Qe(t, (_) => h(_)), p = Array.from(f.layers), [S] = [...f.layersWithOutsidePointerEventsDisabled].slice(-1), E = p.indexOf(S), D = g ? p.indexOf(g) : -1, N = f.layersWithOutsidePointerEventsDisabled.size > 0, T = D >= E, P = Ls((_) => {
4865
4867
  const I = _.target, k = [...f.branches].some((q) => q.contains(I));
4866
4868
  !T || k || (a == null || a(_), c == null || c(_), _.defaultPrevented || s == null || s());
4867
4869
  }, x), L = Is((_) => {
@@ -4878,13 +4880,13 @@ var Os = "DismissableLayer", Lr = "dismissableLayer.update", As = "dismissableLa
4878
4880
  }, [g, x, r, f]), v.useEffect(() => () => {
4879
4881
  g && (f.layers.delete(g), f.layersWithOutsidePointerEventsDisabled.delete(g), Cn());
4880
4882
  }, [g, f]), v.useEffect(() => {
4881
- const _ = () => w({});
4883
+ const _ = () => y({});
4882
4884
  return document.addEventListener(Lr, _), () => document.removeEventListener(Lr, _);
4883
4885
  }, []), /* @__PURE__ */ o(
4884
4886
  Oe.div,
4885
4887
  {
4886
4888
  ...d,
4887
- ref: y,
4889
+ ref: w,
4888
4890
  style: {
4889
4891
  pointerEvents: N ? T ? "auto" : "none" : void 0,
4890
4892
  ...e.style
@@ -4970,7 +4972,7 @@ var yr = "focusScope.autoFocusOnMount", Sr = "focusScope.autoFocusOnUnmount", En
4970
4972
  onMountAutoFocus: a,
4971
4973
  onUnmountAutoFocus: i,
4972
4974
  ...c
4973
- } = e, [s, d] = v.useState(null), f = Ye(a), g = Ye(i), h = v.useRef(null), x = Qe(t, (p) => d(p)), w = v.useRef({
4975
+ } = e, [s, d] = v.useState(null), f = Ye(a), g = Ye(i), h = v.useRef(null), x = Qe(t, (p) => d(p)), y = v.useRef({
4974
4976
  paused: !1,
4975
4977
  pause() {
4976
4978
  this.paused = !0;
@@ -4982,11 +4984,11 @@ var yr = "focusScope.autoFocusOnMount", Sr = "focusScope.autoFocusOnUnmount", En
4982
4984
  v.useEffect(() => {
4983
4985
  if (n) {
4984
4986
  let p = function(N) {
4985
- if (w.paused || !s) return;
4987
+ if (y.paused || !s) return;
4986
4988
  const T = N.target;
4987
4989
  s.contains(T) ? h.current = T : Ie(h.current, { select: !0 });
4988
4990
  }, S = function(N) {
4989
- if (w.paused || !s) return;
4991
+ if (y.paused || !s) return;
4990
4992
  const T = N.relatedTarget;
4991
4993
  T !== null && (s.contains(T) || Ie(h.current, { select: !0 }));
4992
4994
  }, E = function(N) {
@@ -5000,9 +5002,9 @@ var yr = "focusScope.autoFocusOnMount", Sr = "focusScope.autoFocusOnUnmount", En
5000
5002
  document.removeEventListener("focusin", p), document.removeEventListener("focusout", S), D.disconnect();
5001
5003
  };
5002
5004
  }
5003
- }, [n, s, w.paused]), v.useEffect(() => {
5005
+ }, [n, s, y.paused]), v.useEffect(() => {
5004
5006
  if (s) {
5005
- _n.add(w);
5007
+ _n.add(y);
5006
5008
  const p = document.activeElement;
5007
5009
  if (!s.contains(p)) {
5008
5010
  const E = new CustomEvent(yr, En);
@@ -5011,23 +5013,23 @@ var yr = "focusScope.autoFocusOnMount", Sr = "focusScope.autoFocusOnUnmount", En
5011
5013
  return () => {
5012
5014
  s.removeEventListener(yr, f), setTimeout(() => {
5013
5015
  const E = new CustomEvent(Sr, En);
5014
- s.addEventListener(Sr, g), s.dispatchEvent(E), E.defaultPrevented || Ie(p ?? document.body, { select: !0 }), s.removeEventListener(Sr, g), _n.remove(w);
5016
+ s.addEventListener(Sr, g), s.dispatchEvent(E), E.defaultPrevented || Ie(p ?? document.body, { select: !0 }), s.removeEventListener(Sr, g), _n.remove(y);
5015
5017
  }, 0);
5016
5018
  };
5017
5019
  }
5018
- }, [s, f, g, w]);
5019
- const y = v.useCallback(
5020
+ }, [s, f, g, y]);
5021
+ const w = v.useCallback(
5020
5022
  (p) => {
5021
- if (!r && !n || w.paused) return;
5023
+ if (!r && !n || y.paused) return;
5022
5024
  const S = p.key === "Tab" && !p.altKey && !p.ctrlKey && !p.metaKey, E = document.activeElement;
5023
5025
  if (S && E) {
5024
5026
  const D = p.currentTarget, [N, T] = Ms(D);
5025
5027
  N && T ? !p.shiftKey && E === T ? (p.preventDefault(), r && Ie(N, { select: !0 })) : p.shiftKey && E === N && (p.preventDefault(), r && Ie(T, { select: !0 })) : E === D && p.preventDefault();
5026
5028
  }
5027
5029
  },
5028
- [r, n, w.paused]
5030
+ [r, n, y.paused]
5029
5031
  );
5030
- return /* @__PURE__ */ o(Oe.div, { tabIndex: -1, ...c, ref: x, onKeyDown: y });
5032
+ return /* @__PURE__ */ o(Oe.div, { tabIndex: -1, ...c, ref: x, onKeyDown: w });
5031
5033
  });
5032
5034
  wa.displayName = Ps;
5033
5035
  function ks(e, { select: t = !1 } = {}) {
@@ -5128,14 +5130,14 @@ function Gs(e) {
5128
5130
  }, [s]), Qt(() => {
5129
5131
  const f = n.current, g = a.current;
5130
5132
  if (g !== e) {
5131
- const x = i.current, w = Bt(f);
5132
- e ? d("MOUNT") : w === "none" || (f == null ? void 0 : f.display) === "none" ? d("UNMOUNT") : d(g && x !== w ? "ANIMATION_OUT" : "UNMOUNT"), a.current = e;
5133
+ const x = i.current, y = Bt(f);
5134
+ e ? d("MOUNT") : y === "none" || (f == null ? void 0 : f.display) === "none" ? d("UNMOUNT") : d(g && x !== y ? "ANIMATION_OUT" : "UNMOUNT"), a.current = e;
5133
5135
  }
5134
5136
  }, [e, d]), Qt(() => {
5135
5137
  if (t) {
5136
5138
  const f = (h) => {
5137
- const w = Bt(n.current).includes(h.animationName);
5138
- h.target === t && w && Pn.flushSync(() => d("ANIMATION_END"));
5139
+ const y = Bt(n.current).includes(h.animationName);
5140
+ h.target === t && y && Pn.flushSync(() => d("ANIMATION_END"));
5139
5141
  }, g = (h) => {
5140
5142
  h.target === t && (i.current = Bt(n.current));
5141
5143
  };
@@ -5321,11 +5323,11 @@ var Na = eu(), Nr = function() {
5321
5323
  onScrollCapture: Nr,
5322
5324
  onWheelCapture: Nr,
5323
5325
  onTouchMoveCapture: Nr
5324
- }), a = n[0], i = n[1], c = e.forwardProps, s = e.children, d = e.className, f = e.removeScrollBar, g = e.enabled, h = e.shards, x = e.sideCar, w = e.noIsolation, y = e.inert, p = e.allowPinchZoom, S = e.as, E = S === void 0 ? "div" : S, D = e.gapMode, N = Ca(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), T = x, P = qs([r, t]), L = Ce(Ce({}, N), a);
5326
+ }), a = n[0], i = n[1], c = e.forwardProps, s = e.children, d = e.className, f = e.removeScrollBar, g = e.enabled, h = e.shards, x = e.sideCar, y = e.noIsolation, w = e.inert, p = e.allowPinchZoom, S = e.as, E = S === void 0 ? "div" : S, D = e.gapMode, N = Ca(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), T = x, P = qs([r, t]), L = Ce(Ce({}, N), a);
5325
5327
  return v.createElement(
5326
5328
  v.Fragment,
5327
5329
  null,
5328
- g && v.createElement(T, { sideCar: Na, removeScrollBar: f, shards: h, noIsolation: w, inert: y, setCallbacks: i, allowPinchZoom: !!p, lockRef: r, gapMode: D }),
5330
+ g && v.createElement(T, { sideCar: Na, removeScrollBar: f, shards: h, noIsolation: y, inert: w, setCallbacks: i, allowPinchZoom: !!p, lockRef: r, gapMode: D }),
5329
5331
  c ? v.cloneElement(v.Children.only(s), Ce(Ce({}, L), { ref: P })) : v.createElement(E, Ce({}, L, { className: d, ref: P }), s)
5330
5332
  );
5331
5333
  });
@@ -5524,8 +5526,8 @@ var nt = Ir ? { passive: !1 } : !1, vu = function(e) {
5524
5526
  }, yu = function(e, t, r, n, a) {
5525
5527
  var i = wu(e, window.getComputedStyle(t).direction), c = i * n, s = r.target, d = t.contains(s), f = !1, g = c > 0, h = 0, x = 0;
5526
5528
  do {
5527
- var w = Ra(e, s), y = w[0], p = w[1], S = w[2], E = p - S - i * y;
5528
- (y || E) && Aa(e, s) && (h += E, x += y), s instanceof ShadowRoot ? s = s.host : s = s.parentNode;
5529
+ var y = Ra(e, s), w = y[0], p = y[1], S = y[2], E = p - S - i * w;
5530
+ (w || E) && Aa(e, s) && (h += E, x += w), s instanceof ShadowRoot ? s = s.host : s = s.parentNode;
5529
5531
  } while (
5530
5532
  // portaled content
5531
5533
  !d && s !== document.body || // self content
@@ -5620,12 +5622,12 @@ function Nu(e) {
5620
5622
  }), document.removeEventListener("wheel", d, nt), document.removeEventListener("touchmove", d, nt), document.removeEventListener("touchstart", g, nt);
5621
5623
  };
5622
5624
  }, []);
5623
- var w = e.removeScrollBar, y = e.inert;
5625
+ var y = e.removeScrollBar, w = e.inert;
5624
5626
  return v.createElement(
5625
5627
  v.Fragment,
5626
5628
  null,
5627
- y ? v.createElement(i, { styles: Cu(a) }) : null,
5628
- w ? v.createElement(mu, { gapMode: e.gapMode }) : null
5629
+ w ? v.createElement(i, { styles: Cu(a) }) : null,
5630
+ y ? v.createElement(mu, { gapMode: e.gapMode }) : null
5629
5631
  );
5630
5632
  }
5631
5633
  function _u(e) {
@@ -5667,8 +5669,8 @@ var Au = function(e) {
5667
5669
  g(x);
5668
5670
  else
5669
5671
  try {
5670
- var w = x.getAttribute(n), y = w !== null && w !== "false", p = (ot.get(x) || 0) + 1, S = (i.get(x) || 0) + 1;
5671
- ot.set(x, p), i.set(x, S), c.push(x), p === 1 && y && Ut.set(x, !0), S === 1 && x.setAttribute(r, "true"), y || x.setAttribute(n, "true");
5672
+ var y = x.getAttribute(n), w = y !== null && y !== "false", p = (ot.get(x) || 0) + 1, S = (i.get(x) || 0) + 1;
5673
+ ot.set(x, p), i.set(x, S), c.push(x), p === 1 && w && Ut.set(x, !0), S === 1 && x.setAttribute(r, "true"), w || x.setAttribute(n, "true");
5672
5674
  } catch (E) {
5673
5675
  console.error("aria-hidden: cannot operate on ", x, E);
5674
5676
  }
@@ -5676,8 +5678,8 @@ var Au = function(e) {
5676
5678
  };
5677
5679
  return g(t), s.clear(), Or++, function() {
5678
5680
  c.forEach(function(h) {
5679
- var x = ot.get(h) - 1, w = i.get(h) - 1;
5680
- ot.set(h, x), i.set(h, w), x || (Ut.has(h) || h.removeAttribute(n), Ut.delete(h)), w || h.removeAttribute(r);
5681
+ var x = ot.get(h) - 1, y = i.get(h) - 1;
5682
+ ot.set(h, x), i.set(h, y), x || (Ut.has(h) || h.removeAttribute(n), Ut.delete(h)), y || h.removeAttribute(r);
5681
5683
  }), Or--, Or || (ot = /* @__PURE__ */ new WeakMap(), ot = /* @__PURE__ */ new WeakMap(), Ut = /* @__PURE__ */ new WeakMap(), Wt = {});
5682
5684
  };
5683
5685
  }, Tu = function(e, t, r) {
@@ -5977,10 +5979,10 @@ const Ku = v.forwardRef((e, t) => /* @__PURE__ */ o(
5977
5979
  void 0
5978
5980
  );
5979
5981
  de(() => {
5980
- const y = t ? document.getElementById(t) : void 0;
5981
- g(y ?? void 0);
5982
+ const w = t ? document.getElementById(t) : void 0;
5983
+ g(w ?? void 0);
5982
5984
  }, [t]);
5983
- const h = a === ct.Right ? "overflow-hidden right-0 h-screen top-0 w-full" : "overflow-y-auto overflow-x-hidden left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 rounded-xl", x = a === ct.Right ? "md:w-96 max-w-[500px]" : i, w = a === ct.Right ? "h-screen" : "max-h-[80vh] h-full";
5985
+ const h = a === ct.Right ? "overflow-hidden right-0 h-screen top-0 w-full" : "overflow-y-auto overflow-x-hidden left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 rounded-xl", x = a === ct.Right ? "md:w-96 max-w-[500px]" : i, y = a === ct.Right ? "h-screen" : "max-h-[80vh] h-full";
5984
5986
  return /* @__PURE__ */ o(ju, { container: f, children: /* @__PURE__ */ C(Ku, { isFixedPosition: c, children: [
5985
5987
  /* @__PURE__ */ o(qa, { showCloseIcon: r, position: a }),
5986
5988
  /* @__PURE__ */ C(
@@ -5998,7 +6000,7 @@ const Ku = v.forwardRef((e, t) => /* @__PURE__ */ o(
5998
6000
  /* @__PURE__ */ o($r, {}),
5999
6001
  /* @__PURE__ */ o(Gu, {})
6000
6002
  ] }),
6001
- /* @__PURE__ */ o("div", { className: b("flex flex-1 flex-col", w), children: n })
6003
+ /* @__PURE__ */ o("div", { className: b("flex flex-1 flex-col", y), children: n })
6002
6004
  ]
6003
6005
  }
6004
6006
  )