@danxbot/ui 15.21.0 → 15.23.0

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.js CHANGED
@@ -61,6 +61,8 @@ const NT = {
61
61
  "shield-check": [["path", { d: "M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z" }], ["path", { d: "m9 12 2 2 4-4" }]],
62
62
  "triangle-alert": [["path", { d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3" }], ["path", { d: "M12 9v4" }], ["path", { d: "M12 17h.01" }]],
63
63
  /* --- objects --- */
64
+ archive: [["rect", { width: "20", height: "5", x: "2", y: "3", rx: "1" }], ["path", { d: "M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8" }], ["path", { d: "M10 12h4" }]],
65
+ "archive-restore": [["rect", { width: "20", height: "5", x: "2", y: "3", rx: "1" }], ["path", { d: "M4 8v11a2 2 0 0 0 2 2h2" }], ["path", { d: "M20 8v11a2 2 0 0 1-2 2h-2" }], ["path", { d: "m9 15 3-3 3 3" }], ["path", { d: "M12 12v9" }]],
64
66
  bell: [["path", { d: "M10.268 21a2 2 0 0 0 3.464 0" }], ["path", { d: "M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326" }]],
65
67
  "bell-off": [["path", { d: "M10.268 21a2 2 0 0 0 3.464 0" }], ["path", { d: "M17 17H4a1 1 0 0 1-.74-1.673C4.59 13.956 6 12.499 6 8a6 6 0 0 1 .258-1.742" }], ["path", { d: "m2 2 20 20" }], ["path", { d: "M8.668 3.01A6 6 0 0 1 18 8c0 2.687.77 4.653 1.707 6.05" }]],
66
68
  "book-open": [["path", { d: "M12 7v14" }], ["path", { d: "M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z" }]],
@@ -28561,7 +28563,7 @@ const Z5 = {
28561
28563
  "data-swipe-direction": e
28562
28564
  } : null;
28563
28565
  }
28564
- }, Dy = 40, Q5 = 10, _y = 0.5, J5 = 1, e4 = `${kA},${NA}`, Tk = /* @__PURE__ */ y.forwardRef(function(t, n) {
28566
+ }, Dy = 40, Q5 = 10, _y = 0.5, J5 = 1, e3 = `${kA},${NA}`, Tk = /* @__PURE__ */ y.forwardRef(function(t, n) {
28565
28567
  const {
28566
28568
  toast: r,
28567
28569
  render: o,
@@ -28666,7 +28668,7 @@ const Z5 = {
28666
28668
  }), m(void 0));
28667
28669
  });
28668
28670
  function J(oe) {
28669
- if (oe.button !== 0 || (oe.pointerType === "touch" && f.pauseTimers(), Ct(oe.nativeEvent)?.closest(`button,a,input,textarea,[role="button"],${e4}`)))
28671
+ if (oe.button !== 0 || (oe.pointerType === "touch" && f.pauseTimers(), Ct(oe.nativeEvent)?.closest(`button,a,input,textarea,[role="button"],${e3}`)))
28670
28672
  return;
28671
28673
  B.current = !1, z.current = void 0, F.current = 0, H.current = oe.pointerId, _.current = {
28672
28674
  x: oe.clientX,
@@ -28976,7 +28978,7 @@ const Fy = {
28976
28978
  warning: { icon: "triangle-alert", className: "text-warning" },
28977
28979
  error: { icon: "circle-x", className: "text-danger" },
28978
28980
  loading: { icon: "loader-circle", className: "text-accent animate-spin" }
28979
- }, t4 = {
28981
+ }, t3 = {
28980
28982
  "top-right": "top-4 right-4",
28981
28983
  "top-center": "top-4 left-1/2 -translate-x-1/2",
28982
28984
  "bottom-right": "bottom-4 right-4",
@@ -28989,7 +28991,7 @@ function ZK({ position: e = "bottom-right" }) {
28989
28991
  {
28990
28992
  className: U(
28991
28993
  "fixed z-(--z-toast) flex w-[min(24rem,calc(100vw-2rem))] flex-col outline-none",
28992
- t4[e]
28994
+ t3[e]
28993
28995
  ),
28994
28996
  children: t.map((r, o) => {
28995
28997
  const s = Fy[r.type ?? "info"] ?? Fy.info;
@@ -29127,7 +29129,7 @@ function JK() {
29127
29129
  function Cd(e, t, n = (r, o) => r === o) {
29128
29130
  return e.length === t.length && e.every((r, o) => n(r, t[o]));
29129
29131
  }
29130
- function n4(e) {
29132
+ function n3(e) {
29131
29133
  return e == null ? void 0 : `${e}-label`;
29132
29134
  }
29133
29135
  function zg(e, t) {
@@ -29168,7 +29170,7 @@ function Ja() {
29168
29170
  throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: SliderRootContext is missing. Slider parts must be placed within <Slider.Root>." : Qe(62));
29169
29171
  return e;
29170
29172
  }
29171
- function r4(e, t) {
29173
+ function r3(e, t) {
29172
29174
  return e === t || Array.isArray(e) && Array.isArray(t) && Cd(e, t);
29173
29175
  }
29174
29176
  const jk = /* @__PURE__ */ y.forwardRef(function(t, n) {
@@ -29196,7 +29198,7 @@ const jk = /* @__PURE__ */ y.forwardRef(function(t, n) {
29196
29198
  value: N,
29197
29199
  style: k,
29198
29200
  ...R
29199
- } = t, M = Et(a), I = n4(M), P = ge(x), A = ge(w), {
29201
+ } = t, M = Et(a), I = n3(M), P = ge(x), A = ge(w), {
29200
29202
  clearErrors: D
29201
29203
  } = Un(), {
29202
29204
  state: _,
@@ -29224,7 +29226,7 @@ const jk = /* @__PURE__ */ y.forwardRef(function(t, n) {
29224
29226
  Array.isArray(Ae) && Array.isArray(Le) ? Me = !Cd(Ae, Le) : Me = Ae !== Le, B(Me);
29225
29227
  });
29226
29228
  const Te = ge((Le, Me) => {
29227
- if (Number.isNaN(Le) || r4(Le, W))
29229
+ if (Number.isNaN(Le) || r3(Le, W))
29228
29230
  return !1;
29229
29231
  const Fe = Me.event, We = Fe.constructor, tt = new We(Fe.type, Fe);
29230
29232
  return Object.defineProperty(tt, "target", {
@@ -29409,7 +29411,7 @@ function Ly(e, t, n, r, o, s, i, a) {
29409
29411
  l[m] = Number(l[m].toFixed(12));
29410
29412
  return l;
29411
29413
  }
29412
- function o4(e, t, n, r, o, s, i, a, l, c) {
29414
+ function o3(e, t, n, r, o, s, i, a, l, c) {
29413
29415
  const u = n ?? t, p = r ?? t;
29414
29416
  if (!(u.length > 1))
29415
29417
  return {
@@ -29462,8 +29464,8 @@ function o4(e, t, n, r, o, s, i, a, l, c) {
29462
29464
  };
29463
29465
  }
29464
29466
  }
29465
- const s4 = 2;
29466
- function i4(e, t) {
29467
+ const s3 = 2;
29468
+ function i3(e, t) {
29467
29469
  if (!e)
29468
29470
  return {
29469
29471
  start: 0,
@@ -29479,7 +29481,7 @@ function i4(e, t) {
29479
29481
  end: n(e[`border${o}Width`]) + n(e[`padding${o}`])
29480
29482
  };
29481
29483
  }
29482
- function a4(e, t) {
29484
+ function a3(e, t) {
29483
29485
  if (t.current != null && e.changedTouches) {
29484
29486
  const n = e;
29485
29487
  for (let r = 0; r < n.changedTouches.length; r += 1) {
@@ -29551,9 +29553,9 @@ const qk = /* @__PURE__ */ y.forwardRef(function(t, n) {
29551
29553
  bottom: oe,
29552
29554
  left: ee,
29553
29555
  right: ce
29554
- } = ae.getBoundingClientRect(), xe = i4(z.current, _), Q = L.current, re = (_ ? we : he) - xe.start - xe.end - Q * 2, be = b.current ?? 0, Ce = le.x - be, Ae = le.y - be, Te = _ ? oe - Ae - xe.end : (A === "rtl" ? ce - Ce : Ce - ee) - xe.start, Ie = Vt((Te - Q) / re, 0, 1);
29556
+ } = ae.getBoundingClientRect(), xe = i3(z.current, _), Q = L.current, re = (_ ? we : he) - xe.start - xe.end - Q * 2, be = b.current ?? 0, Ce = le.x - be, Ae = le.y - be, Te = _ ? oe - Ae - xe.end : (A === "rtl" ? ce - Ce : Ce - ee) - xe.start, Ie = Vt((Te - Q) / re, 0, 1);
29555
29557
  let Ne = (p - f) * Ie + f;
29556
- return Ne = Kk(Ne, R, f), Ne = Vt(Ne, f, p), D ? o4(M, P, H.current, w.current, ie, Ne, f, p, R, h) : {
29558
+ return Ne = Kk(Ne, R, f), Ne = Vt(Ne, f, p), D ? o3(M, P, H.current, w.current, ie, Ne, f, p, R, h) : {
29557
29559
  value: Ne,
29558
29560
  thumbIndex: ie,
29559
29561
  didSwap: !1
@@ -29606,7 +29608,7 @@ const qk = /* @__PURE__ */ y.forwardRef(function(t, n) {
29606
29608
  return he && ($.current = le.value, H.current = Array.isArray(le.value) ? le.value : [le.value], le.didSwap && (Y(le.thumbIndex), Z(le.thumbIndex))), he;
29607
29609
  }
29608
29610
  const te = ge((le) => {
29609
- const ae = a4(le, B);
29611
+ const ae = a3(le, B);
29610
29612
  if (ae == null)
29611
29613
  return;
29612
29614
  if (O.current += 1, le.type === "pointermove" && le.buttons === 0) {
@@ -29614,7 +29616,7 @@ const qk = /* @__PURE__ */ y.forwardRef(function(t, n) {
29614
29616
  return;
29615
29617
  }
29616
29618
  const ie = W(ae);
29617
- ie != null && Uk(ie.value, R, h) && (!l && O.current > s4 && S(!0), ne(ie, jO, le));
29619
+ ie != null && Uk(ie.value, R, h) && (!l && O.current > s3 && S(!0), ne(ie, jO, le));
29618
29620
  }), q = ge((le) => {
29619
29621
  E(-1), S(!1), b.current = null;
29620
29622
  const ae = $.current;
@@ -29724,17 +29726,17 @@ const Yk = /* @__PURE__ */ y.forwardRef(function(t, n) {
29724
29726
  });
29725
29727
  process.env.NODE_ENV !== "production" && (Yk.displayName = "SliderTrack");
29726
29728
  const Xk = "";
29727
- function l4() {
29729
+ function l3() {
29728
29730
  return mt;
29729
29731
  }
29730
- function c4() {
29732
+ function c3() {
29731
29733
  return !1;
29732
29734
  }
29733
- function u4() {
29735
+ function u3() {
29734
29736
  return !0;
29735
29737
  }
29736
29738
  function Ug() {
29737
- return Au.useSyncExternalStore(l4, c4, u4);
29739
+ return Au.useSyncExternalStore(l3, c3, u3);
29738
29740
  }
29739
29741
  function Ea(e, t, n) {
29740
29742
  return (e - t) * 100 / (n - t);
@@ -29754,12 +29756,12 @@ function Zk(e) {
29754
29756
  }) : null;
29755
29757
  }
29756
29758
  var zy;
29757
- const d4 = /* @__PURE__ */ new Set([...ws, yC, wC]);
29758
- function f4(e, t, n, r) {
29759
+ const d3 = /* @__PURE__ */ new Set([...ws, yC, wC]);
29760
+ function f3(e, t, n, r) {
29759
29761
  if (!(t < 0))
29760
29762
  return e.length === 2 ? `${fr(e[t], r, n)} ${t === 0 ? "start" : "end"} range` : n ? fr(e[t], r, n) : void 0;
29761
29763
  }
29762
- function p4(e, t, n, r, o) {
29764
+ function p3(e, t, n, r, o) {
29763
29765
  const s = e + t * n, i = Number(s.toFixed(Math.max(na(e), na(t), na(r))));
29764
29766
  return Vt(i, r, o);
29765
29767
  }
@@ -29874,7 +29876,7 @@ const Qk = /* @__PURE__ */ y.forwardRef(function(t, n) {
29874
29876
  "aria-describedby": i,
29875
29877
  "aria-orientation": H,
29876
29878
  "aria-valuenow": Ne,
29877
- "aria-valuetext": typeof f == "function" ? f(fr(Ne, z, P), Ne, Te) : c ?? f4(te, Te, P, z),
29879
+ "aria-valuetext": typeof f == "function" ? f(fr(Ne, z, P), Ne, Te) : c ?? f3(te, Te, P, z),
29878
29880
  disabled: J,
29879
29881
  form: L,
29880
29882
  id: re,
@@ -29896,7 +29898,7 @@ const Qk = /* @__PURE__ */ y.forwardRef(function(t, n) {
29896
29898
  X(-1), !ne.current.some((Rt) => Pe(Rt, _e.relatedTarget)) && (le(!0), ae(!1), ie === "onBlur" && I.commit(Hk(Ne, Te, B, F, se, te)));
29897
29899
  },
29898
29900
  onKeyDown(_e) {
29899
- if (_e.defaultPrevented || !d4.has(_e.key))
29901
+ if (_e.defaultPrevented || !d3.has(_e.key))
29900
29902
  return;
29901
29903
  ws.has(_e.key) && _e.stopPropagation();
29902
29904
  let Rt = null, It = 0, qe = _e.shiftKey ? V : Z;
@@ -29927,7 +29929,7 @@ const Qk = /* @__PURE__ */ y.forwardRef(function(t, n) {
29927
29929
  Rt = se && Number.isFinite(te[Te - 1]) ? te[Te - 1] + Z * O : B;
29928
29930
  break;
29929
29931
  }
29930
- if (It !== 0 && (Rt = p4(vt, qe, It, B, F)), Rt !== null) {
29932
+ if (It !== 0 && (Rt = p3(vt, qe, It, B, F)), Rt !== null) {
29931
29933
  const Ht = _e.currentTarget;
29932
29934
  la(Ht) || (oe.current = !0, Ht.blur(), Ht.focus({
29933
29935
  preventScroll: !0,
@@ -29982,7 +29984,7 @@ const Qk = /* @__PURE__ */ y.forwardRef(function(t, n) {
29982
29984
  });
29983
29985
  });
29984
29986
  process.env.NODE_ENV !== "production" && (Qk.displayName = "SliderThumb");
29985
- function h4(e, t, n, r, o, s) {
29987
+ function h3(e, t, n, r, o, s) {
29986
29988
  const i = {
29987
29989
  visibility: s || n && (r === void 0 || t && o === void 0) ? "hidden" : void 0,
29988
29990
  position: e ? "absolute" : "relative",
@@ -30006,7 +30008,7 @@ const Jk = /* @__PURE__ */ y.forwardRef(function(t, n) {
30006
30008
  renderBeforeHydration: f,
30007
30009
  state: h,
30008
30010
  values: m
30009
- } = Ja(), g = Ug(), b = p === "vertical", x = m.length > 1, w = h4(b, x, l, l ? a[0] : Ea(m[0], u, c), l ? a[1] : Ea(m[m.length - 1], u, c), l && f && g);
30011
+ } = Ja(), g = Ug(), b = p === "vertical", x = m.length > 1, w = h3(b, x, l, l ? a[0] : Ea(m[0], u, c), l ? a[1] : Ea(m[m.length - 1], u, c), l && f && g);
30010
30012
  return Ee("div", t, {
30011
30013
  state: h,
30012
30014
  ref: n,
@@ -30019,7 +30021,7 @@ const Jk = /* @__PURE__ */ y.forwardRef(function(t, n) {
30019
30021
  });
30020
30022
  });
30021
30023
  process.env.NODE_ENV !== "production" && (Jk.displayName = "SliderIndicator");
30022
- const m4 = ht({
30024
+ const m3 = ht({
30023
30025
  slots: {
30024
30026
  root: "flex w-full min-w-0 flex-col gap-2",
30025
30027
  header: "flex items-baseline justify-between gap-4",
@@ -30079,7 +30081,7 @@ const m4 = ht({
30079
30081
  }
30080
30082
  },
30081
30083
  defaultVariants: { size: "md", tone: "accent", disabled: !1 }
30082
- }), g4 = (e) => String(e);
30084
+ }), g3 = (e) => String(e);
30083
30085
  function eN({
30084
30086
  value: e,
30085
30087
  defaultValue: t,
@@ -30090,7 +30092,7 @@ function eN({
30090
30092
  step: i = 1,
30091
30093
  minStepsBetweenValues: a,
30092
30094
  label: l,
30093
- format: c = g4,
30095
+ format: c = g3,
30094
30096
  showValue: u = !0,
30095
30097
  marks: p = !1,
30096
30098
  tooltip: f = "drag",
@@ -30100,7 +30102,7 @@ function eN({
30100
30102
  className: b,
30101
30103
  ref: x
30102
30104
  }) {
30103
- const w = m4({ size: h, tone: m, disabled: g }), [v, C] = fe(
30105
+ const w = m3({ size: h, tone: m, disabled: g }), [v, C] = fe(
30104
30106
  e ?? t ?? o
30105
30107
  ), E = e ?? v, S = Array.isArray(E) ? E : [E], N = Oe(() => {
30106
30108
  if (Array.isArray(p)) return p;
@@ -30233,7 +30235,7 @@ function Gg(e, t) {
30233
30235
  } catch {
30234
30236
  }
30235
30237
  }
30236
- function b4(e) {
30238
+ function b3(e) {
30237
30239
  if (typeof window > "u") return null;
30238
30240
  try {
30239
30241
  return window.localStorage.getItem(tl(e));
@@ -30241,14 +30243,14 @@ function b4(e) {
30241
30243
  return null;
30242
30244
  }
30243
30245
  }
30244
- function x4(e, t) {
30246
+ function x3(e, t) {
30245
30247
  if (!(typeof window > "u"))
30246
30248
  try {
30247
30249
  window.localStorage.setItem(tl(e), t);
30248
30250
  } catch {
30249
30251
  }
30250
30252
  }
30251
- function v4(e) {
30253
+ function v3(e) {
30252
30254
  if (!(typeof window > "u"))
30253
30255
  try {
30254
30256
  window.localStorage.removeItem(tl(e));
@@ -30275,11 +30277,11 @@ function tN(e, t, { isValid: n, enabled: r = !0 }) {
30275
30277
  }
30276
30278
  }, [e, r, s]);
30277
30279
  const l = Re(() => {
30278
- e && v4(e), i(o());
30280
+ e && v3(e), i(o());
30279
30281
  }, [e, o]);
30280
30282
  return [s, i, l];
30281
30283
  }
30282
- function y4(e, t) {
30284
+ function y3(e, t) {
30283
30285
  const n = document.documentElement;
30284
30286
  n.setAttribute("data-motion-suspend", ""), n.setAttribute(`data-${e}`, t), getComputedStyle(n).backgroundColor, n.removeAttribute("data-motion-suspend");
30285
30287
  }
@@ -30291,43 +30293,43 @@ function Ed({
30291
30293
  }) {
30292
30294
  const [o, s] = fe(() => {
30293
30295
  if (typeof window > "u") return r();
30294
- const a = b4(t);
30296
+ const a = b3(t);
30295
30297
  return n.includes(a ?? "") ? a : r();
30296
30298
  });
30297
30299
  Ve(() => {
30298
- y4(e, o), x4(t, o);
30300
+ y3(e, o), x3(t, o);
30299
30301
  }, [e, t, o]);
30300
30302
  const i = Re(() => {
30301
30303
  s((a) => n[(n.indexOf(a) + 1) % n.length]);
30302
30304
  }, [n]);
30303
30305
  return { value: o, setValue: s, cycle: i };
30304
30306
  }
30305
- const w4 = ["light", "dark"];
30306
- function C4() {
30307
+ const w3 = ["light", "dark"];
30308
+ function C3() {
30307
30309
  const { value: e, setValue: t, cycle: n } = Ed({
30308
30310
  attribute: "theme",
30309
30311
  storageKey: "danxbot-theme",
30310
- values: w4,
30312
+ values: w3,
30311
30313
  fallback: () => window.matchMedia("(prefers-color-scheme: light)").matches ? "light" : "dark"
30312
30314
  });
30313
30315
  return { theme: e, setTheme: t, toggle: n };
30314
30316
  }
30315
- const E4 = ["sm", "md", "lg"];
30316
- function S4() {
30317
+ const E3 = ["sm", "md", "lg"];
30318
+ function S3() {
30317
30319
  const { value: e, setValue: t, cycle: n } = Ed({
30318
30320
  attribute: "ui-scale",
30319
30321
  storageKey: "danxbot-ui-scale",
30320
- values: E4,
30322
+ values: E3,
30321
30323
  fallback: () => "md"
30322
30324
  });
30323
30325
  return { scale: e, setScale: t, cycle: n };
30324
30326
  }
30325
- const k4 = ["design", "aa"];
30326
- function N4() {
30327
+ const k3 = ["design", "aa"];
30328
+ function N3() {
30327
30329
  const { value: e, setValue: t, cycle: n } = Ed({
30328
30330
  attribute: "contrast",
30329
30331
  storageKey: "danxbot-contrast",
30330
- values: k4,
30332
+ values: k3,
30331
30333
  fallback: () => (
30332
30334
  /* Someone who has asked their OS for more contrast has already answered
30333
30335
  this question; honouring it silently is better than making them find
@@ -30337,17 +30339,17 @@ function N4() {
30337
30339
  });
30338
30340
  return { contrast: e, setContrast: t, toggle: n };
30339
30341
  }
30340
- const R4 = ["system", "full", "reduced"];
30341
- function I4() {
30342
+ const R3 = ["system", "full", "reduced"];
30343
+ function I3() {
30342
30344
  const { value: e, setValue: t, cycle: n } = Ed({
30343
30345
  attribute: "motion",
30344
30346
  storageKey: "danxbot-motion",
30345
- values: R4,
30347
+ values: R3,
30346
30348
  fallback: () => "system"
30347
30349
  });
30348
30350
  return { motion: e, setMotion: t, cycle: n };
30349
30351
  }
30350
- const jo = ["sm", "md", "lg"], Hy = { sm: "Small", md: "Medium", lg: "Large" }, M4 = { sm: "0.85rem", md: "1.05rem", lg: "1.3rem" };
30352
+ const jo = ["sm", "md", "lg"], Hy = { sm: "Small", md: "Medium", lg: "Large" }, M3 = { sm: "0.85rem", md: "1.05rem", lg: "1.3rem" };
30351
30353
  function Uy({
30352
30354
  label: e,
30353
30355
  hint: t,
@@ -30362,7 +30364,7 @@ function Uy({
30362
30364
  ] });
30363
30365
  }
30364
30366
  function eq({ className: e, triggerClassName: t, iconOnly: n = !1 }) {
30365
- const { theme: r, setTheme: o } = C4(), { scale: s, setScale: i } = S4(), { contrast: a, setContrast: l } = N4(), { motion: c, setMotion: u } = I4(), p = jo.indexOf(s);
30367
+ const { theme: r, setTheme: o } = C3(), { scale: s, setScale: i } = S3(), { contrast: a, setContrast: l } = N3(), { motion: c, setMotion: u } = I3(), p = jo.indexOf(s);
30366
30368
  return /* @__PURE__ */ d(
30367
30369
  Hn,
30368
30370
  {
@@ -30398,7 +30400,7 @@ function eq({ className: e, triggerClassName: t, iconOnly: n = !1 }) {
30398
30400
  role: "radio",
30399
30401
  "aria-checked": r === f,
30400
30402
  onClick: () => o(f),
30401
- className: T4(r === f),
30403
+ className: T3(r === f),
30402
30404
  children: [
30403
30405
  /* @__PURE__ */ d(ue, { name: f === "dark" ? "moon" : "sun", size: "sm" }),
30404
30406
  /* @__PURE__ */ d("span", { className: "capitalize", children: f })
@@ -30418,7 +30420,7 @@ function eq({ className: e, triggerClassName: t, iconOnly: n = !1 }) {
30418
30420
  className: s === f ? "absolute bottom-0 -translate-x-1/2 font-display leading-none text-accent-text" : "absolute bottom-0 -translate-x-1/2 font-display leading-none text-tertiary",
30419
30421
  style: {
30420
30422
  left: `${h / (jo.length - 1) * 100}%`,
30421
- fontSize: M4[f],
30423
+ fontSize: M3[f],
30422
30424
  /* `translate`, not `transform` — same Tailwind v4 property as
30423
30425
  the Slider's own extreme labels. */
30424
30426
  ...h === 0 ? { translate: "none", left: 0 } : {},
@@ -30482,7 +30484,7 @@ function eq({ className: e, triggerClassName: t, iconOnly: n = !1 }) {
30482
30484
  }
30483
30485
  );
30484
30486
  }
30485
- function T4(e) {
30487
+ function T3(e) {
30486
30488
  return [
30487
30489
  "dx-tap flex flex-1 items-center justify-center gap-2 rounded-md px-3 py-2",
30488
30490
  "text-sm font-medium",
@@ -30490,7 +30492,7 @@ function T4(e) {
30490
30492
  e ? "bg-surface text-primary shadow-sm" : "text-tertiary hover:text-secondary"
30491
30493
  ].join(" ");
30492
30494
  }
30493
- const P4 = (e) => typeof e == "boolean";
30495
+ const P3 = (e) => typeof e == "boolean";
30494
30496
  function tq({
30495
30497
  brand: e,
30496
30498
  brandCollapsed: t,
@@ -30509,7 +30511,7 @@ function tq({
30509
30511
  const h = i === "main" ? "main" : "div", m = l === "content", [g, b] = tN(
30510
30512
  u === !1 ? void 0 : u,
30511
30513
  !1,
30512
- { isValid: P4 }
30514
+ { isValid: P3 }
30513
30515
  ), x = ye(null);
30514
30516
  Ve(() => {
30515
30517
  c !== void 0 && x.current?.scrollTo({ top: 0, behavior: "instant" });
@@ -30728,9 +30730,9 @@ function $s(e) {
30728
30730
  return `${n < 10 ? n.toFixed(1) : Math.round(n)} ${t[r]}`;
30729
30731
  }
30730
30732
  function Hl(e) {
30731
- return O4(e);
30733
+ return O3(e);
30732
30734
  }
30733
- function O4(e) {
30735
+ function O3(e) {
30734
30736
  if (e == null || !Number.isFinite(e)) return "—";
30735
30737
  const t = e < 0 ? "-" : "", n = Math.abs(e), r = [
30736
30738
  [1e12, "T"],
@@ -31045,7 +31047,7 @@ const dN = ht({
31045
31047
  },
31046
31048
  defaultVariants: { size: "md", tone: "accent" }
31047
31049
  });
31048
- function A4({
31050
+ function A3({
31049
31051
  value: e,
31050
31052
  label: t,
31051
31053
  format: n = (l) => `${Math.round(l)}%`,
@@ -31076,7 +31078,7 @@ function A4({
31076
31078
  ) })
31077
31079
  ] });
31078
31080
  }
31079
- function D4({
31081
+ function D3({
31080
31082
  value: e,
31081
31083
  min: t = 0,
31082
31084
  max: n = 100,
@@ -31135,8 +31137,8 @@ const fN = ht({
31135
31137
  info: "text-info",
31136
31138
  // DX-3662 — see the matching `muted` tone on `bar`'s variants above.
31137
31139
  muted: "text-muted"
31138
- }, _4 = 4e-3, F4 = 1e-9;
31139
- function V4(e, t) {
31140
+ }, _3 = 4e-3, F3 = 1e-9;
31141
+ function V3(e, t) {
31140
31142
  const n = e.reduce((c, u) => c + Math.max(0, u.value), 0), r = Math.max(0, n - t), o = (c) => t > 0 ? Math.max(0, c) / t : 0, s = [];
31141
31143
  let i = 0;
31142
31144
  for (const c of e) {
@@ -31149,14 +31151,14 @@ function V4(e, t) {
31149
31151
  length: p
31150
31152
  }), i += p;
31151
31153
  }
31152
- const a = i >= 1 - F4 && s.length > 1;
31153
- return { arcs: s.map((c, u) => u < s.length - 1 || a ? { ...c, length: Math.max(0, c.length - _4) } : c), used: n, overflow: r };
31154
+ const a = i >= 1 - F3 && s.length > 1;
31155
+ return { arcs: s.map((c, u) => u < s.length - 1 || a ? { ...c, length: Math.max(0, c.length - _3) } : c), used: n, overflow: r };
31154
31156
  }
31155
31157
  const Ul = (e, t) => t > 0 ? Math.round(e / t * 100) : 0;
31156
- function $4(e) {
31157
- return e.segments === void 0 ? /* @__PURE__ */ d(L4, { ...e }) : /* @__PURE__ */ d(z4, { ...e });
31158
+ function $3(e) {
31159
+ return e.segments === void 0 ? /* @__PURE__ */ d(L3, { ...e }) : /* @__PURE__ */ d(z3, { ...e });
31158
31160
  }
31159
- function L4({
31161
+ function L3({
31160
31162
  value: e,
31161
31163
  label: t,
31162
31164
  size: n,
@@ -31205,7 +31207,7 @@ function L4({
31205
31207
  }
31206
31208
  );
31207
31209
  }
31208
- function z4({
31210
+ function z3({
31209
31211
  segments: e,
31210
31212
  total: t,
31211
31213
  label: n,
@@ -31215,7 +31217,7 @@ function z4({
31215
31217
  centerValue: i,
31216
31218
  className: a
31217
31219
  }) {
31218
- const { arcs: l, used: c, overflow: u } = V4(e, t), p = Ul(c, t), f = i ?? p, h = t - c, m = e.filter((x) => x.value > 0).map((x) => `${x.label} ${Ul(x.value, t)}%`);
31220
+ const { arcs: l, used: c, overflow: u } = V3(e, t), p = Ul(c, t), f = i ?? p, h = t - c, m = e.filter((x) => x.value > 0).map((x) => `${x.label} ${Ul(x.value, t)}%`);
31219
31221
  h > 0 && m.push(`${o} ${Ul(h, t)}%`);
31220
31222
  const g = u > 0 ? `${m.join(", ")} — over the total by ${Ul(u, t)}%` : m.join(", "), b = `dx-ring-${_t()}`;
31221
31223
  return /* @__PURE__ */ T(
@@ -31266,7 +31268,7 @@ function z4({
31266
31268
  }
31267
31269
  );
31268
31270
  }
31269
- function B4({
31271
+ function B3({
31270
31272
  files: e = [],
31271
31273
  onFilesAdded: t,
31272
31274
  onFileRemoved: n,
@@ -31368,7 +31370,7 @@ function B4({
31368
31370
  /* @__PURE__ */ d("span", { className: "truncate text-sm font-medium text-primary", children: x.file.name }),
31369
31371
  /* @__PURE__ */ d("span", { className: "shrink-0 font-mono text-2xs tabular-nums text-tertiary", children: $s(x.file.size) })
31370
31372
  ] }),
31371
- x.error ? /* @__PURE__ */ d("span", { className: "text-2xs text-danger-text", children: x.error }) : x.progress !== void 0 && x.progress < 100 && /* @__PURE__ */ d(A4, { value: x.progress, size: "sm", showValue: !1 })
31373
+ x.error ? /* @__PURE__ */ d("span", { className: "text-2xs text-danger-text", children: x.error }) : x.progress !== void 0 && x.progress < 100 && /* @__PURE__ */ d(A3, { value: x.progress, size: "sm", showValue: !1 })
31372
31374
  ] }),
31373
31375
  /* @__PURE__ */ d(
31374
31376
  bt,
@@ -31386,7 +31388,7 @@ function B4({
31386
31388
  )) })
31387
31389
  ] });
31388
31390
  }
31389
- const H4 = {
31391
+ const H3 = {
31390
31392
  sm: "size-14",
31391
31393
  md: "size-20",
31392
31394
  lg: "size-28",
@@ -31440,7 +31442,7 @@ function hN({
31440
31442
  {
31441
31443
  className: U(
31442
31444
  "relative shrink-0 overflow-hidden border border-border bg-surface-inset",
31443
- H4[o],
31445
+ H3[o],
31444
31446
  P
31445
31447
  ),
31446
31448
  children: [
@@ -31500,7 +31502,7 @@ function hN({
31500
31502
  )
31501
31503
  ] })
31502
31504
  ] }) : /* @__PURE__ */ d(
31503
- B4,
31505
+ B3,
31504
31506
  {
31505
31507
  multiple: !1,
31506
31508
  accept: i,
@@ -31520,9 +31522,9 @@ function hN({
31520
31522
  ] }) : u && /* @__PURE__ */ d("p", { className: "text-2xs text-tertiary", children: u })
31521
31523
  ] });
31522
31524
  }
31523
- const U4 = ["Mo", "Tu", "We", "Th", "Fr", "Sa", "Su"], nl = (e, t, n) => new Date(e, t, n), jl = (e) => nl(e.getFullYear(), e.getMonth(), e.getDate()), Fi = (e, t) => !!e && !!t && e.getFullYear() === t.getFullYear() && e.getMonth() === t.getMonth() && e.getDate() === t.getDate(), Xp = (e, t) => nl(e.getFullYear(), e.getMonth(), e.getDate() + t), _f = (e, t) => nl(e.getFullYear(), e.getMonth() + t, 1), j4 = (e) => (e.getDay() + 6) % 7;
31524
- function G4(e) {
31525
- const t = nl(e.getFullYear(), e.getMonth(), 1), n = Xp(t, -j4(t));
31525
+ const U3 = ["Mo", "Tu", "We", "Th", "Fr", "Sa", "Su"], nl = (e, t, n) => new Date(e, t, n), jl = (e) => nl(e.getFullYear(), e.getMonth(), e.getDate()), Fi = (e, t) => !!e && !!t && e.getFullYear() === t.getFullYear() && e.getMonth() === t.getMonth() && e.getDate() === t.getDate(), Xp = (e, t) => nl(e.getFullYear(), e.getMonth(), e.getDate() + t), _f = (e, t) => nl(e.getFullYear(), e.getMonth() + t, 1), j3 = (e) => (e.getDay() + 6) % 7;
31526
+ function G3(e) {
31527
+ const t = nl(e.getFullYear(), e.getMonth(), 1), n = Xp(t, -j3(t));
31526
31528
  return Array.from({ length: 42 }, (r, o) => Xp(n, o));
31527
31529
  }
31528
31530
  const mN = "w-[19rem] p-3 pointer-coarse:w-[22rem] pointer-coarse:p-2";
@@ -31535,7 +31537,7 @@ function gN({
31535
31537
  isDateDisabled: s,
31536
31538
  className: i
31537
31539
  }) {
31538
- const a = e ?? null, l = n ? a ?? { from: null, to: null } : null, c = n ? null : a, [u, p] = fe(() => jl(c ?? l?.from ?? /* @__PURE__ */ new Date())), [f, h] = fe(null), m = Oe(() => G4(u), [u]), g = jl(/* @__PURE__ */ new Date()), b = l?.to ?? (l?.from && f ? f : null), [x, w] = l?.from && b && b < l.from ? [b, l.from] : [l?.from ?? null, b];
31540
+ const a = e ?? null, l = n ? a ?? { from: null, to: null } : null, c = n ? null : a, [u, p] = fe(() => jl(c ?? l?.from ?? /* @__PURE__ */ new Date())), [f, h] = fe(null), m = Oe(() => G3(u), [u]), g = jl(/* @__PURE__ */ new Date()), b = l?.to ?? (l?.from && f ? f : null), [x, w] = l?.from && b && b < l.from ? [b, l.from] : [l?.from ?? null, b];
31539
31541
  function v(S) {
31540
31542
  return r && S < jl(r) || o && S > jl(o) ? !0 : s?.(S) ?? !1;
31541
31543
  }
@@ -31593,7 +31595,7 @@ function gN({
31593
31595
  )
31594
31596
  ] }),
31595
31597
  /* @__PURE__ */ T("div", { className: "grid grid-cols-7 gap-0.5 pointer-coarse:gap-0", role: "grid", children: [
31596
- U4.map((S) => /* @__PURE__ */ d(
31598
+ U3.map((S) => /* @__PURE__ */ d(
31597
31599
  "span",
31598
31600
  {
31599
31601
  role: "columnheader",
@@ -31658,7 +31660,7 @@ function gN({
31658
31660
  ] })
31659
31661
  );
31660
31662
  }
31661
- const W4 = (e) => e.toLocaleDateString(void 0, { day: "numeric", month: "short", year: "numeric" });
31663
+ const W3 = (e) => e.toLocaleDateString(void 0, { day: "numeric", month: "short", year: "numeric" });
31662
31664
  function nq({
31663
31665
  value: e,
31664
31666
  onValueChange: t,
@@ -31668,7 +31670,7 @@ function nq({
31668
31670
  isDateDisabled: s,
31669
31671
  placeholder: i = "Pick a date",
31670
31672
  disabled: a = !1,
31671
- format: l = W4,
31673
+ format: l = W3,
31672
31674
  className: c
31673
31675
  }) {
31674
31676
  const u = e ?? null, p = n ? u ?? { from: null, to: null } : null, f = n ? null : u, h = n ? p?.from ? `${l(p.from)}${p.to ? ` – ${l(p.to)}` : " – …"}` : null : f ? l(f) : null;
@@ -31724,7 +31726,7 @@ function ii(e, t) {
31724
31726
  const n = /* @__PURE__ */ new Date(0);
31725
31727
  return n.setUTCFullYear(e, t, 0), n.getUTCDate();
31726
31728
  }
31727
- function K4(e) {
31729
+ function K3(e) {
31728
31730
  return { year: e.getUTCFullYear(), month: e.getUTCMonth() + 1, day: e.getUTCDate() };
31729
31731
  }
31730
31732
  function Qc(e) {
@@ -31733,7 +31735,7 @@ function Qc(e) {
31733
31735
  }
31734
31736
  function Tr(e, t) {
31735
31737
  const n = Qc(e);
31736
- return n.setUTCDate(n.getUTCDate() + t), K4(n);
31738
+ return n.setUTCDate(n.getUTCDate() + t), K3(n);
31737
31739
  }
31738
31740
  function Ky(e, t) {
31739
31741
  const n = e.year * 12 + (e.month - 1) + t, r = Math.floor(n / 12), o = n % 12 + 1;
@@ -31748,21 +31750,21 @@ function ra(e, t) {
31748
31750
  function rs(e, t) {
31749
31751
  return ra(e, t) === 0;
31750
31752
  }
31751
- function q4(e) {
31753
+ function q3(e) {
31752
31754
  return Qc(e).getUTCDay();
31753
31755
  }
31754
31756
  function Sa(e, t) {
31755
- const n = (q4(e) - t + 7) % 7;
31757
+ const n = (q3(e) - t + 7) % 7;
31756
31758
  return Tr(e, -n);
31757
31759
  }
31758
- function Y4(e) {
31760
+ function Y3(e) {
31759
31761
  return { year: e.year, month: e.month, day: 1 };
31760
31762
  }
31761
- function X4(e) {
31763
+ function X3(e) {
31762
31764
  return { year: e.year, month: e.month, day: ii(e.year, e.month) };
31763
31765
  }
31764
- function Z4(e, t) {
31765
- const n = Sa(Y4(e), t), r = X4(e), o = Tr(Sa(r, t), 6), s = [];
31766
+ function Z3(e, t) {
31767
+ const n = Sa(Y3(e), t), r = X3(e), o = Tr(Sa(r, t), 6), s = [];
31766
31768
  for (let i = n; ra(i, o) <= 0; i = Tr(i, 1)) s.push(i);
31767
31769
  return s;
31768
31770
  }
@@ -31786,7 +31788,7 @@ function sq(e, t, n = 0) {
31786
31788
  return { ...e, hour: t, minute: n, second: 0, millisecond: 0 };
31787
31789
  }
31788
31790
  const kd = "—";
31789
- function Q4(e) {
31791
+ function Q3(e) {
31790
31792
  if (e == null || e === "") return kd;
31791
31793
  let t;
31792
31794
  try {
@@ -31796,16 +31798,16 @@ function Q4(e) {
31796
31798
  }
31797
31799
  return `${mn(t.month)}/${mn(t.day)}/${t.year}`;
31798
31800
  }
31799
- const J4 = /^(\d{1,2})\/(\d{1,2})\/(\d{4})$/, e3 = /^(\d{4})-(\d{1,2})-(\d{1,2})$/;
31800
- function t3(e) {
31801
+ const J3 = /^(\d{1,2})\/(\d{1,2})\/(\d{4})$/, e4 = /^(\d{4})-(\d{1,2})-(\d{1,2})$/;
31802
+ function t4(e) {
31801
31803
  const t = e.trim();
31802
31804
  if (t === "") return null;
31803
31805
  let n, r, o;
31804
- const s = e3.exec(t);
31806
+ const s = e4.exec(t);
31805
31807
  if (s)
31806
31808
  n = Number(s[1]), r = Number(s[2]), o = Number(s[3]);
31807
31809
  else {
31808
- const i = J4.exec(t);
31810
+ const i = J3.exec(t);
31809
31811
  if (!i) return null;
31810
31812
  r = Number(i[1]), o = Number(i[2]), n = Number(i[3]);
31811
31813
  }
@@ -31823,8 +31825,8 @@ function xN(e) {
31823
31825
  function vN(e) {
31824
31826
  return Vn({ year: e.getFullYear(), month: e.getMonth() + 1, day: e.getDate() });
31825
31827
  }
31826
- const Vi = (e) => e ? Q4(e) : "";
31827
- function n3({
31828
+ const Vi = (e) => e ? Q3(e) : "";
31829
+ function n4({
31828
31830
  value: e,
31829
31831
  onValueChange: t,
31830
31832
  onEditingChange: n,
@@ -31840,7 +31842,7 @@ function n3({
31840
31842
  m(!1), f(""), e !== null && t(null);
31841
31843
  return;
31842
31844
  }
31843
- const k = t3(N);
31845
+ const k = t4(N);
31844
31846
  if (k === null) {
31845
31847
  m(!0);
31846
31848
  return;
@@ -31905,7 +31907,7 @@ function n3({
31905
31907
  h ? /* @__PURE__ */ d("p", { id: l, className: "text-2xs text-danger-text", children: i }) : null
31906
31908
  ] });
31907
31909
  }
31908
- function r3(e) {
31910
+ function r4(e) {
31909
31911
  if (!e) return { date: null, time: "" };
31910
31912
  const t = new Date(e);
31911
31913
  return Number.isNaN(t.getTime()) ? { date: null, time: "" } : { date: vN(t), time: `${mn(t.getHours())}:${mn(t.getMinutes())}` };
@@ -31924,12 +31926,12 @@ function iq({
31924
31926
  disabled: o = !1,
31925
31927
  className: s
31926
31928
  }) {
31927
- const i = r3(e), [a, l] = fe(null), c = a ?? i.time, u = () => n?.(!0), p = (f) => {
31929
+ const i = r4(e), [a, l] = fe(null), c = a ?? i.time, u = () => n?.(!0), p = (f) => {
31928
31930
  f.currentTarget.contains(f.relatedTarget) || n?.(!1);
31929
31931
  };
31930
31932
  return /* @__PURE__ */ T("div", { className: U("flex flex-wrap items-start gap-2", s), onFocus: u, onBlur: p, children: [
31931
31933
  /* @__PURE__ */ d(
31932
- n3,
31934
+ n4,
31933
31935
  {
31934
31936
  className: "min-w-[11rem] flex-1",
31935
31937
  value: i.date,
@@ -32241,18 +32243,18 @@ const Ei = {
32241
32243
  inputValue: () => null,
32242
32244
  value: () => null,
32243
32245
  ...Pn
32244
- }, o3 = "零〇一二三四五六七八九", s3 = /[٠-٩۰-۹0-9]/g, i3 = /[零〇一二三四五六七八九]/g, a3 = ["%", "٪", "%", "﹪"], l3 = ["‰", "؉"], c3 = ".", u3 = ",", d3 = /[%٪%﹪]/, f3 = /[‰؉]/, p3 = /[%٪%﹪]/g, h3 = /[‰؉]/g, m3 = /[٠-٩۰-۹]/, g3 = /[零〇一二三四五六七八九]/, b3 = /[0-9٠-٩۰-۹0-9零〇一二三四五六七八九]/;
32246
+ }, o4 = "零〇一二三四五六七八九", s4 = /[٠-٩۰-۹0-9]/g, i4 = /[零〇一二三四五六七八九]/g, a4 = ["%", "٪", "%", "﹪"], l4 = ["‰", "؉"], c4 = ".", u4 = ",", d4 = /[%٪%﹪]/, f4 = /[‰؉]/, p4 = /[%٪%﹪]/g, h4 = /[‰؉]/g, m4 = /[٠-٩۰-۹]/, g4 = /[零〇一二三四五六七八九]/, b4 = /[0-9٠-٩۰-۹0-9零〇一二三四五六七八九]/;
32245
32247
  function Zy(e) {
32246
- return b3.test(e);
32248
+ return b4.test(e);
32247
32249
  }
32248
- const x3 = [".", ",", c3, u3, "٫", "٬"], v3 = new RegExp("\\p{Zs}", "u"), y3 = new RegExp("\\p{Cf}", "u"), w3 = new RegExp("\\p{Cf}", "gu"), C3 = ["+", "+", "﹢"], E3 = ["-", "−", "-", "‒", "–", "—", "﹣"], $i = (e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
32250
+ const x4 = [".", ",", c4, u4, "٫", "٬"], v4 = new RegExp("\\p{Zs}", "u"), y4 = new RegExp("\\p{Cf}", "u"), w4 = new RegExp("\\p{Cf}", "gu"), C4 = ["+", "+", "﹢"], E4 = ["-", "−", "-", "‒", "–", "—", "﹣"], $i = (e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
32249
32251
  function Qy(e, t) {
32250
32252
  const [n, r = "0"] = String(e).split("e");
32251
32253
  return +`${n}e${Number(r) + t}`;
32252
32254
  }
32253
- const yN = /[-−-‒–—﹣]/gu, wN = /[++﹢]/gu, Ff = /[-−-‒–—﹣]/, Jy = /[++﹢]/, S3 = 11111.1;
32255
+ const yN = /[-−-‒–—﹣]/gu, wN = /[++﹢]/gu, Ff = /[-−-‒–—﹣]/, Jy = /[++﹢]/, S4 = 11111.1;
32254
32256
  function CN(e, t) {
32255
- return el(e, t).formatToParts(S3);
32257
+ return el(e, t).formatToParts(S4);
32256
32258
  }
32257
32259
  function Xg(e, t) {
32258
32260
  const n = CN(e, t), r = {};
@@ -32268,13 +32270,13 @@ function Xg(e, t) {
32268
32270
  };
32269
32271
  }
32270
32272
  function Ls(e, t, n) {
32271
- let r = e.replace(w3, "").trim();
32273
+ let r = e.replace(w4, "").trim();
32272
32274
  r = r.replace(yN, "-").replace(wN, "+");
32273
32275
  let o = !1;
32274
32276
  const s = (N, k) => (k === "-" && (o = !0), "");
32275
32277
  r = r.replace(/([+-])\s*$/, s).replace(/^\s*([+-])/, s);
32276
32278
  let i = t;
32277
- i === void 0 && (m3.test(r) ? i = "ar" : g3.test(r) && (i = "zh"));
32279
+ i === void 0 && (m4.test(r) ? i = "ar" : g4.test(r) && (i = "zh"));
32278
32280
  const {
32279
32281
  group: a,
32280
32282
  decimal: l,
@@ -32294,22 +32296,22 @@ function Ls(e, t, n) {
32294
32296
  // Currency & unit labels
32295
32297
  [c ? new RegExp($i(c), "g") : null, ""],
32296
32298
  [f, ""],
32297
- [p3, ""],
32298
- [h3, ""],
32299
+ [p4, ""],
32300
+ [h4, ""],
32299
32301
  [u ? new RegExp($i(u), "g") : null, "e"],
32300
32302
  // Numeral systems to ASCII digits
32301
- [s3, (N) => String(N.charCodeAt(0) % 16)],
32302
- [i3, (N) => String(Math.max(o3.indexOf(N) - 1, 0))]
32303
+ [s4, (N) => String(N.charCodeAt(0) % 16)],
32304
+ [i4, (N) => String(Math.max(o4.indexOf(N) - 1, 0))]
32303
32305
  ].reduce((N, [k, R]) => k ? N.replace(k, R) : N, r);
32304
32306
  const b = g.lastIndexOf(".");
32305
32307
  if (b !== -1 && (g = `${g.slice(0, b).replace(/\./g, "")}.${g.slice(b + 1).replace(/\./g, "")}`), /^[-+]?Infinity$/i.test(r) || r.includes("∞"))
32306
32308
  return null;
32307
32309
  const x = (o ? "-" : "") + g;
32308
32310
  let w = parseFloat(x);
32309
- const v = n?.style, C = v === "unit" && n?.unit === "percent", E = d3.test(e) || v === "percent";
32310
- return f3.test(e) ? w = Qy(w, -3) : !C && E && (w = Qy(w, -2)), Number.isFinite(w) ? w : null;
32311
+ const v = n?.style, C = v === "unit" && n?.unit === "percent", E = d4.test(e) || v === "percent";
32312
+ return f4.test(e) ? w = Qy(w, -3) : !C && E && (w = Qy(w, -2)), Number.isFinite(w) ? w : null;
32311
32313
  }
32312
- const k3 = 1e-10, N3 = 1e-10;
32314
+ const k4 = 1e-10, N4 = 1e-10;
32313
32315
  function Zg(e) {
32314
32316
  return e?.maximumFractionDigits != null || e?.minimumFractionDigits != null || e?.maximumSignificantDigits != null || e?.minimumSignificantDigits != null || e?.roundingIncrement != null || e?.roundingMode != null || e?.roundingPriority != null;
32315
32317
  }
@@ -32317,7 +32319,7 @@ function EN(e, t) {
32317
32319
  if (!Number.isFinite(e))
32318
32320
  return e;
32319
32321
  if (!Zg(t)) {
32320
- const s = parseFloat(e.toPrecision(15)), i = Math.abs(s - e), a = Math.min(Number.EPSILON * Math.max(1, Math.abs(e)), N3);
32322
+ const s = parseFloat(e.toPrecision(15)), i = Math.abs(s - e), a = Math.min(Number.EPSILON * Math.max(1, Math.abs(e)), N4);
32321
32323
  return i <= a ? s : e;
32322
32324
  }
32323
32325
  const n = el("en-US", {
@@ -32330,20 +32332,20 @@ function EN(e, t) {
32330
32332
  }), r = n.format(e), o = Ls(r, "en-US", t);
32331
32333
  return o === null ? e : n.format(o) === r ? o : e;
32332
32334
  }
32333
- function R3(e, t, n, r) {
32334
- const o = Math.abs(n), s = Math.sign(n), i = o * k3 * s, a = e - t + i;
32335
+ function R4(e, t, n, r) {
32336
+ const o = Math.abs(n), s = Math.sign(n), i = o * k4 * s, a = e - t + i;
32335
32337
  if (r)
32336
32338
  return t + Math.round(a / n) * n;
32337
32339
  const l = s > 0 ? Math.floor(a / o) : Math.ceil(a / o);
32338
32340
  return t + l * o;
32339
32341
  }
32340
- function I3(e, t, n, r, o, s, i, a, l) {
32342
+ function I4(e, t, n, r, o, s, i, a, l) {
32341
32343
  if (e === null)
32342
32344
  return e;
32343
32345
  let c = e;
32344
32346
  if (t != null && i && t !== 0) {
32345
32347
  const p = a || n === Number.MIN_SAFE_INTEGER ? o : n;
32346
- c = R3(c, p, t, a);
32348
+ c = R4(c, p, t, a);
32347
32349
  }
32348
32350
  if (l && (c = Vt(c, n, r)), t == null && !Zg(s))
32349
32351
  return c;
@@ -32401,14 +32403,14 @@ const SN = /* @__PURE__ */ y.forwardRef(function(t, n) {
32401
32403
  const de = rC(), pe = Pt(E), le = y.useRef(!1), ae = ge((Ie, Ne) => {
32402
32404
  le.current = !1, x?.(Ie, Ne);
32403
32405
  }), ie = y.useRef(!0), he = y.useRef(null), [we, oe] = y.useState(() => fr(J, S, E)), [ee, ce] = y.useState("numeric"), xe = ge(() => {
32404
- const Ie = CN(S, E), Ne = new Set(x3), Ye = (Fe) => Fe.forEach((We) => Ne.add(We)), Ue = Ie.find((Fe) => Fe.type === "decimal")?.value ?? Xg(S, E).decimal;
32406
+ const Ie = CN(S, E), Ne = new Set(x4), Ye = (Fe) => Fe.forEach((We) => Ne.add(We)), Ue = Ie.find((Fe) => Fe.type === "decimal")?.value ?? Xg(S, E).decimal;
32405
32407
  Ne.add(Ue), Ie.forEach((Fe) => {
32406
- Fe.type === "integer" || Fe.type === "fraction" || Fe.type === "exponentInteger" || Fe.type === "compact" || (Ye(Array.from(Fe.value)), v3.test(Fe.value) && Ne.add(" "));
32408
+ Fe.type === "integer" || Fe.type === "fraction" || Fe.type === "exponentInteger" || Fe.type === "compact" || (Ye(Array.from(Fe.value)), v4.test(Fe.value) && Ne.add(" "));
32407
32409
  });
32408
32410
  const Le = W === "percent" || W === "unit" && E?.unit === "percent", Me = W === "percent" || W === "unit" && E?.unit === "permille";
32409
- return Le && Ye(a3), Me && Ye(l3), Ye(C3), (Y < 0 || C) && Ye(E3), Ne;
32411
+ return Le && Ye(a4), Me && Ye(l4), Ye(C4), (Y < 0 || C) && Ye(E4), Ne;
32410
32412
  }), Q = ge((Ie) => Ie?.altKey ? i : Ie?.shiftKey ? l : $), re = ge((Ie, Ne) => {
32411
- const Ye = Ne.event, Ue = Ne.direction, Le = Ne.reason.startsWith("input-") || Ne.reason === Mt, Me = !C || !Le, Fe = I3(Ie, Ue ? Q(Ye) * Ue : void 0, Y, K, X, pe.current, v, Ye?.altKey ?? !1, Me), We = Fe !== J || Le && (Ie !== J || ie.current === !1);
32413
+ const Ye = Ne.event, Ue = Ne.direction, Le = Ne.reason.startsWith("input-") || Ne.reason === Mt, Me = !C || !Le, Fe = I4(Ie, Ue ? Q(Ye) * Ue : void 0, Y, K, X, pe.current, v, Ye?.altKey ?? !1, Me), We = Fe !== J || Le && (Ie !== J || ie.current === !1);
32412
32414
  if (We) {
32413
32415
  if (b?.(Fe, Ne), Ne.isCanceled)
32414
32416
  return !1;
@@ -32563,24 +32565,24 @@ class Qg extends Rn {
32563
32565
  this.currentId !== ew && (clearInterval(this.currentId), this.currentId = ew);
32564
32566
  };
32565
32567
  }
32566
- function M3() {
32568
+ function M4() {
32567
32569
  const e = $t(Qg.create).current;
32568
32570
  return Ta(e.disposeEffect), e;
32569
32571
  }
32570
- const T3 = 60, P3 = 400, O3 = 8, A3 = 50, D3 = 3;
32572
+ const T4 = 60, P4 = 400, O4 = 8, A4 = 50, D4 = 3;
32571
32573
  function _s(e) {
32572
32574
  return e === "touch" || e === "pen";
32573
32575
  }
32574
- function _3(e) {
32576
+ function _4(e) {
32575
32577
  const {
32576
32578
  disabled: t,
32577
32579
  tick: n,
32578
32580
  onStop: r,
32579
- tickDelay: o = T3,
32580
- startDelay: s = P3,
32581
- scrollDistance: i = O3,
32581
+ tickDelay: o = T4,
32582
+ startDelay: s = P4,
32583
+ scrollDistance: i = O4,
32582
32584
  elementRef: a
32583
- } = e, l = Nt(), c = M3(), u = Nt(), p = y.useRef(!1), f = y.useRef(0), h = y.useRef({
32585
+ } = e, l = Nt(), c = M4(), u = Nt(), p = y.useRef(!1), f = y.useRef(0), h = y.useRef({
32584
32586
  x: 0,
32585
32587
  y: 0
32586
32588
  }), m = y.useRef(!1), g = y.useRef(!1), b = y.useRef(""), x = y.useRef(mt), w = y.useRef(mt), v = ge(() => {
@@ -32625,9 +32627,9 @@ function _3(e) {
32625
32627
  b.current = N.pointerType, g.current = !1, p.current = !0, h.current = {
32626
32628
  x: N.clientX,
32627
32629
  y: N.clientY
32628
- }, _s(N.pointerType) ? u.start(A3, () => {
32630
+ }, _s(N.pointerType) ? u.start(A4, () => {
32629
32631
  const R = f.current;
32630
- f.current = 0, p.current && R < D3 ? (C(N.nativeEvent), g.current = !0) : (g.current = !1, v());
32632
+ f.current = 0, p.current && R < D4 ? (C(N.nativeEvent), g.current = !0) : (g.current = !1, v());
32631
32633
  }) : (N.preventDefault(), C(N.nativeEvent));
32632
32634
  },
32633
32635
  onPointerUp(N) {
@@ -32658,7 +32660,7 @@ function _3(e) {
32658
32660
  shouldSkipClick: S
32659
32661
  };
32660
32662
  }
32661
- const F3 = {
32663
+ const F4 = {
32662
32664
  WebkitUserSelect: "none",
32663
32665
  userSelect: "none"
32664
32666
  };
@@ -32706,7 +32708,7 @@ function NN(e, t, n) {
32706
32708
  const {
32707
32709
  pointerHandlers: _,
32708
32710
  shouldSkipClick: V
32709
- } = _3({
32711
+ } = _4({
32710
32712
  disabled: P || k,
32711
32713
  elementRef: m,
32712
32714
  tick(L) {
@@ -32729,7 +32731,7 @@ function NN(e, t, n) {
32729
32731
  // to change the value. On the other hand, `aria-hidden` is not applied because touch screen
32730
32732
  // readers should be able to use the buttons.
32731
32733
  tabIndex: -1,
32732
- style: F3,
32734
+ style: F4,
32733
32735
  ..._,
32734
32736
  onClick(L) {
32735
32737
  const $ = P || k;
@@ -32777,7 +32779,7 @@ const IN = /* @__PURE__ */ y.forwardRef(function(t, n) {
32777
32779
  return NN(t, n, !1);
32778
32780
  });
32779
32781
  process.env.NODE_ENV !== "production" && (IN.displayName = "NumberFieldDecrement");
32780
- const V3 = /* @__PURE__ */ new Set(["Backspace", "Delete", "ArrowLeft", "ArrowRight", "Tab", "Enter", "Escape"]), MN = /* @__PURE__ */ y.forwardRef(function(t, n) {
32782
+ const V4 = /* @__PURE__ */ new Set(["Backspace", "Delete", "ArrowLeft", "ArrowRight", "Tab", "Enter", "Escape"]), MN = /* @__PURE__ */ y.forwardRef(function(t, n) {
32781
32783
  const {
32782
32784
  render: r,
32783
32785
  className: o,
@@ -32903,7 +32905,7 @@ const V3 = /* @__PURE__ */ new Set(["Backspace", "Delete", "ArrowLeft", "ArrowRi
32903
32905
  const ne = c();
32904
32906
  if (!Array.from(Z).every((J) => Zy(J) || Ff.test(J) || ne.has(J) || // Bidi/format controls are stripped by `parseNumber`; don't let them reject the string
32905
32907
  // (RTL locales insert them around exponent/currency signs, e.g. scientific notation).
32906
- y3.test(J)))
32908
+ y4.test(J)))
32907
32909
  return;
32908
32910
  const q = Ls(Z, E, l.current);
32909
32911
  C(Z), q !== null && w(q, Se(nr, j.nativeEvent));
@@ -32929,7 +32931,7 @@ const V3 = /* @__PURE__ */ new Set(["Backspace", "Delete", "ArrowLeft", "ArrowRi
32929
32931
  q = Ce === -1 || ae || Ae;
32930
32932
  }
32931
32933
  });
32932
- const we = V3.has(j.key), oe = j.key === "ArrowUp" || j.key === "ArrowDown";
32934
+ const we = V4.has(j.key), oe = j.key === "ArrowUp" || j.key === "ArrowDown";
32933
32935
  if (
32934
32936
  // Allow composition events (e.g., pinyin)
32935
32937
  // event.nativeEvent.isComposing does not work in Safari:
@@ -32975,13 +32977,13 @@ const V3 = /* @__PURE__ */ new Set(["Backspace", "Delete", "ArrowLeft", "ArrowRi
32975
32977
  process.env.NODE_ENV !== "production" && (MN.displayName = "NumberFieldInput");
32976
32978
  const Jg = /* @__PURE__ */ y.createContext(void 0);
32977
32979
  process.env.NODE_ENV !== "production" && (Jg.displayName = "NumberFieldScrubAreaContext");
32978
- function $3() {
32980
+ function $4() {
32979
32981
  const e = y.useContext(Jg);
32980
32982
  if (e === void 0)
32981
32983
  throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: NumberFieldScrubAreaContext is missing. NumberFieldScrubArea parts must be placed within <NumberField.ScrubArea>." : Qe(44));
32982
32984
  return e;
32983
32985
  }
32984
- function L3(e, t) {
32986
+ function L4(e, t) {
32985
32987
  const n = gt(t);
32986
32988
  if (e != null) {
32987
32989
  const o = t.getBoundingClientRect();
@@ -33005,7 +33007,7 @@ function L3(e, t) {
33005
33007
  bottom: n.document.documentElement.clientHeight
33006
33008
  };
33007
33009
  }
33008
- const z3 = {
33010
+ const z4 = {
33009
33011
  touchAction: "none",
33010
33012
  WebkitUserSelect: "none",
33011
33013
  userSelect: "none"
@@ -33046,7 +33048,7 @@ const z3 = {
33046
33048
  const K = R.current, X = E.current;
33047
33049
  if (!K || !X)
33048
33050
  return;
33049
- const W = L3(a, X), j = M.current, Z = (te, q, J, se) => te + q < J ? se - q : te + q > se ? J - q : te, ne = {
33051
+ const W = L4(a, X), j = M.current, Z = (te, q, J, se) => te + q < J ? se - q : te + q > se ? J - q : te, ne = {
33050
33052
  x: Z(Math.round(j.x + G), K.offsetWidth / 2, W.left, W.right),
33051
33053
  y: Z(Math.round(j.y + Y), K.offsetHeight / 2, W.top, W.bottom)
33052
33054
  };
@@ -33131,7 +33133,7 @@ const z3 = {
33131
33133
  state: u,
33132
33134
  props: [{
33133
33135
  role: "presentation",
33134
- style: z3,
33136
+ style: z4,
33135
33137
  async onPointerDown(G) {
33136
33138
  if (G.defaultPrevented || C || G.button || v)
33137
33139
  return;
@@ -33159,7 +33161,7 @@ const z3 = {
33159
33161
  });
33160
33162
  });
33161
33163
  process.env.NODE_ENV !== "production" && (TN.displayName = "NumberFieldScrubArea");
33162
- const B3 = {
33164
+ const B4 = {
33163
33165
  position: "fixed",
33164
33166
  top: 0,
33165
33167
  left: 0,
@@ -33177,29 +33179,29 @@ const B3 = {
33177
33179
  isTouchInput: c,
33178
33180
  isPointerLockDenied: u,
33179
33181
  scrubAreaCursorRef: p
33180
- } = $3(), [f, h] = y.useState(null), g = Ee("span", t, {
33182
+ } = $4(), [f, h] = y.useState(null), g = Ee("span", t, {
33181
33183
  enabled: l && !ar && !c && !u,
33182
33184
  ref: [n, p, h],
33183
33185
  state: a,
33184
33186
  props: [{
33185
33187
  role: "presentation",
33186
- style: B3
33188
+ style: B4
33187
33189
  }, i],
33188
33190
  stateAttributesMapping: Ei
33189
33191
  });
33190
33192
  return g && /* @__PURE__ */ Nn.createPortal(g, Ze(f).body);
33191
33193
  });
33192
33194
  process.env.NODE_ENV !== "production" && (PN.displayName = "NumberFieldScrubAreaCursor");
33193
- const H3 = new Intl.NumberFormat("en-US", {
33195
+ const H4 = new Intl.NumberFormat("en-US", {
33194
33196
  style: "currency",
33195
33197
  currency: "USD",
33196
33198
  minimumFractionDigits: 2,
33197
33199
  maximumFractionDigits: 2
33198
33200
  });
33199
33201
  function uq(e) {
33200
- return e == null || !Number.isFinite(e) ? kd : H3.format(e);
33202
+ return e == null || !Number.isFinite(e) ? kd : H4.format(e);
33201
33203
  }
33202
- function U3(e) {
33204
+ function U4(e) {
33203
33205
  const t = e.trim();
33204
33206
  if (t === "") return null;
33205
33207
  const n = /^\((.*)\)$/.exec(t), r = n !== null, s = (n ? n[1] : t).replace(/[$,\s]/g, "");
@@ -33207,7 +33209,7 @@ function U3(e) {
33207
33209
  const i = Number(s);
33208
33210
  return Number.isFinite(i) ? r ? -Math.abs(i) : i : null;
33209
33211
  }
33210
- const j3 = ht({
33212
+ const j4 = ht({
33211
33213
  slots: {
33212
33214
  group: [
33213
33215
  "flex w-full min-w-0 items-stretch overflow-hidden rounded-md",
@@ -33256,8 +33258,8 @@ const j3 = ht({
33256
33258
  }
33257
33259
  },
33258
33260
  defaultVariants: { size: "md", align: "center" }
33259
- }), G3 = /[-−-‒–—﹣]/;
33260
- function W3({
33261
+ }), G4 = /[-−-‒–—﹣]/;
33262
+ function W4({
33261
33263
  size: e,
33262
33264
  align: t,
33263
33265
  className: n,
@@ -33273,10 +33275,10 @@ function W3({
33273
33275
  onPaste: f,
33274
33276
  ...h
33275
33277
  }) {
33276
- const m = j3({ size: e, align: t }), g = h.min, b = h.format, x = u ?? b?.maximumFractionDigits !== 0, w = g != null && g >= 0, v = (E) => {
33277
- !x && E.key === "." && !E.ctrlKey && !E.metaKey && !E.altKey || w && G3.test(E.key) && !E.ctrlKey && !E.metaKey && !E.altKey ? E.preventDefault() : p?.(E);
33278
+ const m = j4({ size: e, align: t }), g = h.min, b = h.format, x = u ?? b?.maximumFractionDigits !== 0, w = g != null && g >= 0, v = (E) => {
33279
+ !x && E.key === "." && !E.ctrlKey && !E.metaKey && !E.altKey || w && G4.test(E.key) && !E.ctrlKey && !E.metaKey && !E.altKey ? E.preventDefault() : p?.(E);
33278
33280
  }, C = (E) => {
33279
- const S = E.clipboardData?.getData("text/plain") ?? "", N = U3(S);
33281
+ const S = E.clipboardData?.getData("text/plain") ?? "", N = U4(S);
33280
33282
  if (N !== null) {
33281
33283
  if (!x && !Number.isInteger(N)) {
33282
33284
  E.preventDefault();
@@ -33317,13 +33319,13 @@ function W3({
33317
33319
  }
33318
33320
  const eb = /* @__PURE__ */ y.createContext(void 0);
33319
33321
  process.env.NODE_ENV !== "production" && (eb.displayName = "OTPFieldRootContext");
33320
- function K3() {
33322
+ function K4() {
33321
33323
  const e = y.useContext(eb);
33322
33324
  if (e === void 0)
33323
33325
  throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: OTPFieldRootContext is missing. OTPField parts must be placed within <OTPField.Root>." : Qe(98));
33324
33326
  return e;
33325
33327
  }
33326
- function q3(e, t, n) {
33328
+ function q4(e, t, n) {
33327
33329
  return {
33328
33330
  ...e,
33329
33331
  value: t,
@@ -33331,15 +33333,15 @@ function q3(e, t, n) {
33331
33333
  filled: t !== ""
33332
33334
  };
33333
33335
  }
33334
- const Y3 = {
33336
+ const Y4 = {
33335
33337
  value: () => null,
33336
33338
  length: () => null,
33337
33339
  ...Pn
33338
- }, X3 = {
33340
+ }, X4 = {
33339
33341
  value: () => null,
33340
33342
  index: () => null,
33341
33343
  ...Pn
33342
- }, Z3 = {
33344
+ }, Z4 = {
33343
33345
  numeric: {
33344
33346
  slotPattern: "\\d{1}",
33345
33347
  getRootPattern: (e) => `\\d{${e}}`,
@@ -33360,16 +33362,16 @@ const Y3 = {
33360
33362
  }
33361
33363
  };
33362
33364
  function ON(e) {
33363
- return e === "none" ? null : Z3[e];
33365
+ return e === "none" ? null : Z4[e];
33364
33366
  }
33365
- function Q3(e) {
33367
+ function Q4(e) {
33366
33368
  return (e ?? "").replace(/\s/g, "");
33367
33369
  }
33368
33370
  function tw(e, t) {
33369
33371
  return t ? e.replace(t.regexp, "") : e;
33370
33372
  }
33371
33373
  function Jc(e, t, n, r) {
33372
- const o = Q3(e), s = ON(n);
33374
+ const o = Q4(e), s = ON(n);
33373
33375
  let i = tw(o, s), a = o.length > i.length;
33374
33376
  if (r) {
33375
33377
  const u = r(i);
@@ -33442,7 +33444,7 @@ const AN = /* @__PURE__ */ y.forwardRef(function(t, n) {
33442
33444
  }
33443
33445
  }), []), J = Lr({
33444
33446
  id: s
33445
- }), se = Qu(o, G, q, !0, J), de = o == null ? se : void 0, pe = H({}), le = J3(r, pe["aria-describedby"]), ae = ON(b), ie = ae?.slotPattern, he = ae?.getRootPattern(f), we = g ?? ae?.inputMode, oe = Number.isInteger(f) && f > 0, ee = eu(X, f, b, x), ce = Pt(ee), xe = ee !== "", [Q, re] = y.useState(0), [be, Ce] = y.useState(() => Math.min(ee.length, f - 1)), [Ae, Te] = y.useState(!1), Ie = Ae ? Math.min(be, Math.max(f - 1, 0)) : Math.min(ee.length, f - 1);
33447
+ }), se = Qu(o, G, q, !0, J), de = o == null ? se : void 0, pe = H({}), le = J4(r, pe["aria-describedby"]), ae = ON(b), ie = ae?.slotPattern, he = ae?.getRootPattern(f), we = g ?? ae?.inputMode, oe = Number.isInteger(f) && f > 0, ee = eu(X, f, b, x), ce = Pt(ee), xe = ee !== "", [Q, re] = y.useState(0), [be, Ce] = y.useState(() => Math.min(ee.length, f - 1)), [Ae, Te] = y.useState(!1), Ie = Ae ? Math.min(be, Math.max(f - 1, 0)) : Math.min(ee.length, f - 1);
33446
33448
  ve(() => {
33447
33449
  D(xe);
33448
33450
  }, [xe, D]), process.env.NODE_ENV !== "production" && eB({
@@ -33537,7 +33539,7 @@ const AN = /* @__PURE__ */ y.forwardRef(function(t, n) {
33537
33539
  "aria-describedby": le,
33538
33540
  "aria-labelledby": se
33539
33541
  }, M],
33540
- stateAttributesMapping: Y3
33542
+ stateAttributesMapping: Y4
33541
33543
  });
33542
33544
  return /* @__PURE__ */ d(ao, {
33543
33545
  elementsRef: Z,
@@ -33582,7 +33584,7 @@ const AN = /* @__PURE__ */ y.forwardRef(function(t, n) {
33582
33584
  });
33583
33585
  });
33584
33586
  process.env.NODE_ENV !== "production" && (AN.displayName = "OTPFieldRoot");
33585
- function J3(...e) {
33587
+ function J4(...e) {
33586
33588
  const t = e.flatMap((n) => n?.split(/\s+/).filter(Boolean) ?? []);
33587
33589
  return t.length > 0 ? Array.from(new Set(t)).join(" ") : void 0;
33588
33590
  }
@@ -33635,12 +33637,12 @@ const DN = /* @__PURE__ */ y.forwardRef(function(t, n) {
33635
33637
  state: A,
33636
33638
  validationType: D,
33637
33639
  value: _
33638
- } = K3(), {
33640
+ } = K4(), {
33639
33641
  ref: V,
33640
33642
  index: z
33641
33643
  } = xr({
33642
33644
  guess: !0
33643
- }), F = y.useRef(null), B = lr(), O = _[z] ?? "", L = q3(A, O, z), $ = r, H = o ?? v, G = z === 0 ? void 0 : $;
33645
+ }), F = y.useRef(null), B = lr(), O = _[z] ?? "", L = q4(A, O, z), $ = r, H = o ?? v, G = z === 0 ? void 0 : $;
33644
33646
  process.env.NODE_ENV !== "production" && y.useEffect(() => {
33645
33647
  if (z !== 0 || $ == null || F.current?.labels?.length)
33646
33648
  return;
@@ -33763,7 +33765,7 @@ const DN = /* @__PURE__ */ y.forwardRef(function(t, n) {
33763
33765
  ref: [n, V, F],
33764
33766
  state: L,
33765
33767
  props: [Y, l],
33766
- stateAttributesMapping: X3
33768
+ stateAttributesMapping: X4
33767
33769
  });
33768
33770
  });
33769
33771
  process.env.NODE_ENV !== "production" && (DN.displayName = "OTPFieldInput");
@@ -44902,7 +44904,7 @@ function kU({
44902
44904
  function NU({ fraction: e, tone: t }) {
44903
44905
  const n = t === "danger" ? "danger" : t === "warning" ? "warning" : "accent";
44904
44906
  return /* @__PURE__ */ d(
44905
- $4,
44907
+ $3,
44906
44908
  {
44907
44909
  value: Math.min(1, Math.max(0, e)) * 100,
44908
44910
  tone: n,
@@ -46216,7 +46218,7 @@ function Jq({
46216
46218
  label: h = "Month"
46217
46219
  }) {
46218
46220
  const m = rj(), g = _t(), b = Oe(
46219
- () => Z4(e, r),
46221
+ () => Z3(e, r),
46220
46222
  [e.year, e.month, e.day, r]
46221
46223
  ), x = Oe(() => {
46222
46224
  const N = [];
@@ -48510,7 +48512,7 @@ function hY({ tokens: e, onCreate: t, onRevoke: n, busyId: r, emptyState: o, cla
48510
48512
  }
48511
48513
  ) }),
48512
48514
  /* @__PURE__ */ d(St, { label: "Expires in (days)", description: "Leave blank for a token that never expires.", children: /* @__PURE__ */ d(
48513
- W3,
48515
+ W4,
48514
48516
  {
48515
48517
  value: u ?? void 0,
48516
48518
  onValueChange: (k) => p(k ?? null),
@@ -49755,7 +49757,7 @@ function Hw({
49755
49757
  return /* @__PURE__ */ d("p", { className: U("text-xs text-tertiary", r), "data-band": "none", children: t });
49756
49758
  const o = sG(e), s = Math.round(e * 100);
49757
49759
  return /* @__PURE__ */ d("div", { className: U("flex flex-col gap-1", r), "data-band": o, children: /* @__PURE__ */ d(
49758
- D4,
49760
+ D3,
49759
49761
  {
49760
49762
  value: s,
49761
49763
  tone: iG[o],
@@ -55885,7 +55887,7 @@ export {
55885
55887
  vY as DangerZone,
55886
55888
  _d as DataTable,
55887
55889
  gN as DateCalendar,
55888
- n3 as DateField,
55890
+ n4 as DateField,
55889
55891
  nq as DatePicker,
55890
55892
  iq as DateTimeField,
55891
55893
  Og as DescriptionList,
@@ -55910,7 +55912,7 @@ export {
55910
55912
  pj as EventActions,
55911
55913
  St as Field,
55912
55914
  EK as FieldSet,
55913
- B4 as FileUpload,
55915
+ B3 as FileUpload,
55914
55916
  FY as FocusWeb,
55915
55917
  EY as ForgotPasswordForm,
55916
55918
  C7 as GraphExplorer,
@@ -55948,11 +55950,11 @@ export {
55948
55950
  PU as Message,
55949
55951
  TU as MessagePartView,
55950
55952
  OU as MessageScroller,
55951
- D4 as Meter,
55953
+ D3 as Meter,
55952
55954
  AU as ModelSelector,
55953
55955
  mq as MultiCombobox,
55954
55956
  _Y as NodeCanvas,
55955
- W3 as NumberInput,
55957
+ W4 as NumberInput,
55956
55958
  dq as OTPInput,
55957
55959
  LY as OpenApiViewer,
55958
55960
  $Y as OperationCard,
@@ -55971,8 +55973,8 @@ export {
55971
55973
  Vs as PopoverClose,
55972
55974
  Aj as ProfileForm,
55973
55975
  cY as ProfilePage,
55974
- A4 as Progress,
55975
- $4 as ProgressRing,
55976
+ A3 as Progress,
55977
+ $3 as ProgressRing,
55976
55978
  Rf as ProjectionError,
55977
55979
  eM as ProvenanceBadge,
55978
55980
  pG as ProvenanceDetail,
@@ -56088,7 +56090,7 @@ export {
56088
56090
  RK as checkCoverage,
56089
56091
  IL as chordsOf,
56090
56092
  OM as clampScale,
56091
- v4 as clearStored,
56093
+ v3 as clearStored,
56092
56094
  U as cn,
56093
56095
  ra as comparePlainDate,
56094
56096
  sG as confidenceBand,
@@ -56103,7 +56105,7 @@ export {
56103
56105
  Na as dayFraction,
56104
56106
  Zq as dayKey,
56105
56107
  qb as dayLengthMs,
56106
- q4 as dayOfWeek,
56108
+ q3 as dayOfWeek,
56107
56109
  Pw as daySlots,
56108
56110
  qy as daysBetween,
56109
56111
  ii as daysInMonth,
@@ -56121,7 +56123,7 @@ export {
56121
56123
  TM as edgePath,
56122
56124
  Tz as editConstruct,
56123
56125
  GW as emptySlotSnapshot,
56124
- X4 as endOfMonth,
56126
+ X3 as endOfMonth,
56125
56127
  su as eventLabel,
56126
56128
  wi as fenceAround,
56127
56129
  Q$ as findUnstoredImages,
@@ -56130,9 +56132,9 @@ export {
56130
56132
  So as flushRecordNotifications,
56131
56133
  Kq as formatBoolean,
56132
56134
  $s as formatBytes,
56133
- O4 as formatCompactNumber,
56135
+ O3 as formatCompactNumber,
56134
56136
  uq as formatCurrency,
56135
- Q4 as formatDate,
56137
+ Q3 as formatDate,
56136
56138
  WU as formatDateRange,
56137
56139
  LI as formatDateTime,
56138
56140
  Gq as formatNumber,
@@ -56182,7 +56184,7 @@ export {
56182
56184
  o$ as listLanguages,
56183
56185
  ou as longDate,
56184
56186
  L7 as mergedParameters,
56185
- Z4 as monthGridDays,
56187
+ Z3 as monthGridDays,
56186
56188
  Qq as monthTitle,
56187
56189
  Qn as nearestStop,
56188
56190
  PM as neighbourhood,
@@ -56200,8 +56202,8 @@ export {
56200
56202
  ij as packLanes,
56201
56203
  Ra as paletteFor,
56202
56204
  qq as parseBoolean,
56203
- U3 as parseCurrency,
56204
- t3 as parseDate,
56205
+ U4 as parseCurrency,
56206
+ t4 as parseDate,
56205
56207
  jq as parseDateTime,
56206
56208
  gE as parseMarkdown,
56207
56209
  Wq as parseNumber,
@@ -56256,7 +56258,7 @@ export {
56256
56258
  lj as snapInstant,
56257
56259
  to as sourceOffsetAt,
56258
56260
  dn as startOfDay,
56259
- Y4 as startOfMonth,
56261
+ Y3 as startOfMonth,
56260
56262
  Sa as startOfWeek,
56261
56263
  _K as stepOffset,
56262
56264
  JB as stepStatus,
@@ -56296,7 +56298,7 @@ export {
56296
56298
  II as useBoard,
56297
56299
  cj as useCalendarDrag,
56298
56300
  cq as useCommandPalette,
56299
- N4 as useContrast,
56301
+ N3 as useContrast,
56300
56302
  F6 as useCreateDragSession,
56301
56303
  z6 as useDragAnnouncements,
56302
56304
  Dq as useDragSession,
@@ -56307,7 +56309,7 @@ export {
56307
56309
  nU as useFillHeight,
56308
56310
  ej as useGridNavigation,
56309
56311
  rY as useHasPermission,
56310
- I4 as useMotionPreference,
56312
+ I3 as useMotionPreference,
56311
56313
  aj as useNow,
56312
56314
  tN as usePersistedState,
56313
56315
  ks as useRBAC,
@@ -56322,9 +56324,9 @@ export {
56322
56324
  GY as useRecords,
56323
56325
  Nj as useSimSettings,
56324
56326
  WY as useStaleness,
56325
- C4 as useTheme,
56327
+ C3 as useTheme,
56326
56328
  JK as useToast,
56327
- S4 as useUiScale,
56329
+ S3 as useUiScale,
56328
56330
  rq as weekDays,
56329
56331
  ch as weekdayName,
56330
56332
  Pr as write,