@mt-gloss/ui 0.1.29 → 0.1.31

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/index.js CHANGED
@@ -1,13 +1,13 @@
1
- import { C as ut, P as mt } from "./Expandable-alOxKG0x.js";
2
- import { O as vr, U as br, Q as yr, T as wr, a4 as _r, b7 as Nr, aA as Dr, ai as Cr, _ as kr, ao as xr, N as Sr, a9 as Rr, bn as Mr, a as Tr, B as Ir, b as Pr, A as Fr, K as Er, bi as Ar, J as Or, L as Lr, E as $r, D as Br, H as zr, F as Kr, bx as Wr, c as Gr, d as Vr, q as Hr, ae as Ur, aO as jr, A as Zr, K as qr, J as Yr, L as Qr, E as Xr, D as Jr, H as es, F as ts, b0 as as, b3 as ns, b2 as rs, b1 as ss, b4 as is, aD as os, a6 as ls, a5 as cs, ar as ds, m as us, o as ms, aG as gs, ac as ps, b9 as hs, aa as fs, bo as vs, Z as bs, bH as ys, bG as ws, bI as _s, aq as Ns, aR as Ds, bb as Cs, bM as ks, bv as xs, p as Ss, an as Rs, bB as Ms, bs as Ts, a1 as Is, as as Ps, a3 as Fs, bA as Es, G as As, f as Os, ab as Ls, bJ as $s, aU as Bs, t as zs, x as Ks, I as Ws, i as Gs, ax as Vs, bN as Hs, M as Us, y as js, V as Zs, Y as qs, W as Ys, X as Qs, at as Xs, bh as Js, bP as ei, bL as ti, ap as ai, w as ni, bp as ri, aT as si, ak as ii, aL as oi, ah as li, am as ci, av as di, aS as ui, ad as mi, au as gi, e as pi, R as hi, l as fi, r as vi, aI as bi, by as yi, bz as wi, aj as _i, af as Ni, j as Di, z as Ci, b8 as ki, ag as xi, bO as Si, bd as Ri, bg as Mi, be as Ti, bf as Ii, k as Pi, ba as Fi, bm as Ei, S as Ai, bk as Oi, bl as Li, aw as $i, bc as Bi, bQ as zi, al as Ki, v as Wi, bK as Gi, n as Vi, h as Hi, s as Ui, $ as ji, a0 as Zi, a8 as qi, bj as Yi, bw as Qi, bD as Xi, aB as Ji, aC as eo, a7 as to, aP as ao, aQ as no, aE as ro, aF as so, aH as io, aW as oo, aX as lo, bq as co, bF as uo, bE as mo, aZ as go, a_ as po, ay as ho, az as fo, b6 as vo, b5 as bo, a$ as yo, aM as wo, aN as _o, aY as No, aJ as Do, aK as Co, u as ko, bC as xo, br as So, bt as Ro, bu as Mo, aV as To, a2 as Io, g as Po } from "./Expandable-alOxKG0x.js";
1
+ import { C as ut } from "./Expandable-BKqvjtRQ.js";
2
+ import { O as br, U as vr, Q as yr, T as wr, a4 as _r, b7 as Nr, aA as Dr, ai as Cr, _ as kr, ao as xr, L as Sr, a9 as Mr, bn as Rr, P as Tr, B as Ir, a as Pr, z as Fr, J as Er, bi as Ar, H as Or, K as Lr, D as $r, A as Br, F as zr, E as Kr, bx as Wr, b as Gr, c as Vr, N as Hr, p as Ur, ae as jr, aO as Zr, z as qr, J as Yr, H as Qr, K as Xr, D as Jr, A as es, F as ts, E as as, b0 as ns, b3 as rs, b2 as ss, b1 as is, b4 as os, aD as ls, a6 as cs, a5 as ds, ar as us, l as ms, n as gs, aG as ps, ac as hs, b9 as fs, aa as bs, bo as vs, Z as ys, bH as ws, bG as _s, bI as Ns, aq as Ds, aR as Cs, bb as ks, bM as xs, bv as Ss, o as Ms, an as Rs, bB as Ts, bs as Is, a1 as Ps, as as Fs, a3 as Es, bA as As, G as Os, e as Ls, ab as $s, bJ as Bs, aU as zs, s as Ks, w as Ws, I as Gs, h as Vs, ax as Hs, bN as Us, M as js, x as Zs, V as qs, Y as Ys, W as Qs, X as Xs, at as Js, bh as ei, bP as ti, bL as ai, ap as ni, v as ri, bp as si, aT as ii, ak as oi, aL as li, ah as ci, am as di, av as ui, aS as mi, ad as gi, au as pi, d as hi, R as fi, k as bi, q as vi, aI as yi, by as wi, bz as _i, aj as Ni, af as Di, i as Ci, y as ki, b8 as xi, ag as Si, bO as Mi, bd as Ri, bg as Ti, be as Ii, bf as Pi, j as Fi, ba as Ei, bm as Ai, S as Oi, bk as Li, bl as $i, aw as Bi, bc as zi, bQ as Ki, al as Wi, t as Gi, bK as Vi, m as Hi, g as Ui, r as ji, $ as Zi, a0 as qi, a8 as Yi, bj as Qi, bw as Xi, bD as Ji, aB as eo, aC as to, a7 as ao, aP as no, aQ as ro, aE as so, aF as io, aH as oo, aW as lo, aX as co, bq as uo, bF as mo, bE as go, aZ as po, a_ as ho, ay as fo, az as bo, b6 as vo, b5 as yo, a$ as wo, aM as _o, aN as No, aY as Do, aJ as Co, aK as ko, u as xo, bC as So, br as Mo, bt as Ro, bu as To, aV as Io, a2 as Po, f as Fo } from "./Expandable-BKqvjtRQ.js";
3
3
  import { jsxs as D, jsx as r, Fragment as te } from "react/jsx-runtime";
4
- import * as gt from "react";
5
- import H, { useRef as M, useEffect as L, useState as $, useCallback as w, forwardRef as pt, useMemo as ye, createContext as ht, useContext as ft } from "react";
6
- import { motion as De, useMotionValue as vt, animate as We, useDragControls as bt } from "framer-motion";
4
+ import * as mt from "react";
5
+ import H, { useRef as R, useEffect as O, useState as $, useCallback as w, useId as gt, forwardRef as pt, useMemo as ye, createContext as ht, useContext as ft } from "react";
6
+ import { motion as De, useMotionValue as bt, animate as We, useDragControls as vt } from "framer-motion";
7
7
  import { B as yt, a as pe, b as Te, U as Oe } from "./UIContext-CDdyubSF.js";
8
- import { c as Eo, u as Ao } from "./UIContext-CDdyubSF.js";
8
+ import { c as Ao, u as Oo } from "./UIContext-CDdyubSF.js";
9
9
  import { createPortal as wt } from "react-dom";
10
- import { DEFAULT_MARKET_PRESETS as Lo, DEFAULT_PINNED as $o, PERIOD_OPTIONS as Bo, ROLLING_OPTIONS as zo, TODAY_PRESET as Ko, findPreset as Wo, formatDateRange as Go, formatMarketDates as Vo, formatTrend as Ho, formatValue as Uo, generateMarketId as jo, getAllPresets as Zo, getDateRangeForPreset as qo, getPresetLabel as Yo, isInRange as Qo, isMarketActive as Xo, isSameDay as Jo, normalizePresetId as el, toUppercasePresetId as tl } from "@mt-gloss/utils";
10
+ import { DEFAULT_MARKET_PRESETS as $o, DEFAULT_PINNED as Bo, PERIOD_OPTIONS as zo, ROLLING_OPTIONS as Ko, TODAY_PRESET as Wo, findPreset as Go, formatDateRange as Vo, formatMarketDates as Ho, formatTrend as Uo, formatValue as jo, generateMarketId as Zo, getAllPresets as qo, getDateRangeForPreset as Yo, getPresetLabel as Qo, isInRange as Xo, isMarketActive as Jo, isSameDay as el, normalizePresetId as tl, toUppercasePresetId as al } from "@mt-gloss/utils";
11
11
  import _t from "@mui/icons-material/AccessTime";
12
12
  import Nt from "@mui/icons-material/Tune";
13
13
  import Dt from "@mui/icons-material/ViewColumn";
@@ -15,10 +15,10 @@ import Ct from "@mui/icons-material/AspectRatio";
15
15
  import kt from "@mui/icons-material/Palette";
16
16
  import xt from "@mui/icons-material/PushPin";
17
17
  function sn(e = {}) {
18
- const { enabled: t = !0, returnTo: n } = e, a = M(null);
19
- return L(() => {
18
+ const { enabled: t = !0, returnTo: n } = e, a = R(null);
19
+ return O(() => {
20
20
  t && (a.current = n || document.activeElement);
21
- }, [t, n]), L(() => () => {
21
+ }, [t, n]), O(() => () => {
22
22
  t && a.current && setTimeout(() => {
23
23
  a.current?.focus?.();
24
24
  }, 0);
@@ -33,65 +33,65 @@ function on(e) {
33
33
  orientation: i = "vertical",
34
34
  enabled: o = !0,
35
35
  isItemDisabled: l,
36
- onSelect: m,
36
+ onSelect: u,
37
37
  onEscape: d
38
- } = e, [g, f] = $(-1), u = n !== void 0 ? n : g, p = w(
38
+ } = e, [p, f] = $(-1), g = n !== void 0 ? n : p, m = w(
39
39
  (c) => {
40
40
  n === void 0 && f(c), a?.(c);
41
41
  },
42
42
  [n, a]
43
- ), N = w(() => t.map((c, v) => ({ item: c, index: v })).filter(({ item: c, index: v }) => !l?.(c, v)).map(({ index: c }) => c), [t, l]), y = w(
44
- (c, v) => {
43
+ ), N = w(() => t.map((c, b) => ({ item: c, index: b })).filter(({ item: c, index: b }) => !l?.(c, b)).map(({ index: c }) => c), [t, l]), y = w(
44
+ (c, b) => {
45
45
  const _ = N();
46
46
  if (_.length === 0) return -1;
47
47
  const S = _.indexOf(c);
48
48
  if (S === -1)
49
- return v === 1 ? _.find((x) => x > c) ?? (s ? _[0] : -1) : [..._].reverse().find((F) => F < c) ?? (s ? _[_.length - 1] : -1);
50
- let b = S + v;
51
- return s ? b = (b + _.length) % _.length : b = Math.max(0, Math.min(_.length - 1, b)), _[b];
49
+ return b === 1 ? _.find((x) => x > c) ?? (s ? _[0] : -1) : [..._].reverse().find((F) => F < c) ?? (s ? _[_.length - 1] : -1);
50
+ let v = S + b;
51
+ return s ? v = (v + _.length) % _.length : v = Math.max(0, Math.min(_.length - 1, v)), _[v];
52
52
  },
53
53
  [N, s]
54
54
  ), h = w(() => {
55
55
  const c = N();
56
- c.length > 0 && p(c[0]);
57
- }, [N, p]), R = w(() => {
56
+ c.length > 0 && m(c[0]);
57
+ }, [N, m]), M = w(() => {
58
58
  const c = N();
59
- c.length > 0 && p(c[c.length - 1]);
60
- }, [N, p]), P = w(() => {
61
- const c = y(u, 1);
62
- c !== -1 && p(c);
63
- }, [u, y, p]), k = w(() => {
64
- const c = y(u, -1);
65
- c !== -1 && p(c);
66
- }, [u, y, p]), T = w(() => {
67
- p(-1);
68
- }, [p]), I = w(
59
+ c.length > 0 && m(c[c.length - 1]);
60
+ }, [N, m]), P = w(() => {
61
+ const c = y(g, 1);
62
+ c !== -1 && m(c);
63
+ }, [g, y, m]), k = w(() => {
64
+ const c = y(g, -1);
65
+ c !== -1 && m(c);
66
+ }, [g, y, m]), T = w(() => {
67
+ m(-1);
68
+ }, [m]), I = w(
69
69
  (c) => {
70
70
  if (!o) return;
71
- const { key: v } = c, _ = v === "ArrowUp" && (i === "vertical" || i === "both"), S = v === "ArrowDown" && (i === "vertical" || i === "both"), b = v === "ArrowLeft" && (i === "horizontal" || i === "both"), x = v === "ArrowRight" && (i === "horizontal" || i === "both");
72
- if (_ || b) {
73
- c.preventDefault(), u === -1 ? R() : k();
71
+ const { key: b } = c, _ = b === "ArrowUp" && (i === "vertical" || i === "both"), S = b === "ArrowDown" && (i === "vertical" || i === "both"), v = b === "ArrowLeft" && (i === "horizontal" || i === "both"), x = b === "ArrowRight" && (i === "horizontal" || i === "both");
72
+ if (_ || v) {
73
+ c.preventDefault(), g === -1 ? M() : k();
74
74
  return;
75
75
  }
76
76
  if (S || x) {
77
- c.preventDefault(), u === -1 ? h() : P();
77
+ c.preventDefault(), g === -1 ? h() : P();
78
78
  return;
79
79
  }
80
- if (v === "Home") {
80
+ if (b === "Home") {
81
81
  c.preventDefault(), h();
82
82
  return;
83
83
  }
84
- if (v === "End") {
85
- c.preventDefault(), R();
84
+ if (b === "End") {
85
+ c.preventDefault(), M();
86
86
  return;
87
87
  }
88
- if ((v === "Enter" || v === " ") && u >= 0 && u < t.length) {
88
+ if ((b === "Enter" || b === " ") && g >= 0 && g < t.length) {
89
89
  c.preventDefault();
90
- const F = t[u];
91
- l?.(F, u) || m?.(F, u);
90
+ const F = t[g];
91
+ l?.(F, g) || u?.(F, g);
92
92
  return;
93
93
  }
94
- if (v === "Escape") {
94
+ if (b === "Escape") {
95
95
  d?.();
96
96
  return;
97
97
  }
@@ -99,23 +99,23 @@ function on(e) {
99
99
  [
100
100
  o,
101
101
  i,
102
- u,
102
+ g,
103
103
  t,
104
104
  h,
105
- R,
105
+ M,
106
106
  P,
107
107
  k,
108
108
  l,
109
- m,
109
+ u,
110
110
  d
111
111
  ]
112
112
  );
113
113
  return {
114
- focusedIndex: u,
115
- setFocusedIndex: p,
114
+ focusedIndex: g,
115
+ setFocusedIndex: m,
116
116
  handleKeyDown: I,
117
117
  focusFirst: h,
118
- focusLast: R,
118
+ focusLast: M,
119
119
  focusNext: P,
120
120
  focusPrevious: k,
121
121
  resetFocus: T
@@ -129,38 +129,38 @@ const St = ({
129
129
  onSkip: s,
130
130
  hint: i
131
131
  }) => {
132
- const [o, l] = $(n != null ? String(n) : ""), m = () => {
133
- const u = parseFloat(o);
134
- Number.isNaN(u) || a(u);
135
- }, d = (u) => {
136
- u.key === "Enter" ? (u.preventDefault(), m()) : u.key === "Escape" && (u.preventDefault(), s?.());
137
- }, g = "gloss-target-input-field", f = i ? "gloss-target-input-hint" : void 0;
132
+ const [o, l] = $(n != null ? String(n) : ""), u = () => {
133
+ const m = parseFloat(o);
134
+ Number.isNaN(m) || a(m);
135
+ }, d = (m) => {
136
+ m.key === "Enter" ? (m.preventDefault(), u()) : m.key === "Escape" && (m.preventDefault(), s?.());
137
+ }, p = gt(), f = `gloss-target-input-field-${p}`, g = i ? `gloss-target-input-hint-${p}` : void 0;
138
138
  return /* @__PURE__ */ D("div", { className: "gloss-target-input", children: [
139
- /* @__PURE__ */ r("label", { className: "gloss-target-input__label", htmlFor: g, children: e }),
139
+ /* @__PURE__ */ r("label", { className: "gloss-target-input__label", htmlFor: f, children: e }),
140
140
  /* @__PURE__ */ D("div", { className: "gloss-target-input__field-row", children: [
141
141
  /* @__PURE__ */ r(
142
142
  "input",
143
143
  {
144
- id: g,
144
+ id: f,
145
145
  type: "number",
146
146
  className: "gloss-target-input__field",
147
147
  value: o,
148
- onChange: (u) => l(u.target.value),
148
+ onChange: (m) => l(m.target.value),
149
149
  onKeyDown: d,
150
- "aria-describedby": f,
150
+ "aria-describedby": g,
151
151
  autoFocus: !0
152
152
  }
153
153
  ),
154
154
  t && /* @__PURE__ */ r("span", { className: "gloss-target-input__unit", children: t })
155
155
  ] }),
156
- i && /* @__PURE__ */ r("p", { id: f, className: "gloss-target-input__hint", children: i }),
156
+ i && /* @__PURE__ */ r("p", { id: g, className: "gloss-target-input__hint", children: i }),
157
157
  /* @__PURE__ */ D("div", { className: "gloss-target-input__actions", children: [
158
158
  /* @__PURE__ */ r(
159
159
  "button",
160
160
  {
161
161
  type: "button",
162
162
  className: "gloss-target-input__confirm",
163
- onClick: m,
163
+ onClick: u,
164
164
  children: "Confirm"
165
165
  }
166
166
  ),
@@ -176,13 +176,13 @@ const St = ({
176
176
  ] })
177
177
  ] });
178
178
  }, Ce = (e) => {
179
- }, Rt = {
179
+ }, Mt = {
180
180
  id: "entity-filter-1",
181
181
  label: "Customer: Acme Corp",
182
182
  field: "customer",
183
183
  value: "acme-corp-123",
184
184
  onRemove: Ce
185
- }, Mt = {
185
+ }, Rt = {
186
186
  id: "status-filter-1",
187
187
  label: "Status: Open",
188
188
  field: "status",
@@ -201,8 +201,8 @@ const St = ({
201
201
  value: "widget-co-456",
202
202
  onRemove: Ce
203
203
  }, ln = [
204
- Rt,
205
204
  Mt,
205
+ Rt,
206
206
  Tt,
207
207
  It
208
208
  ], cn = {
@@ -246,7 +246,7 @@ const St = ({
246
246
  ], fn = [
247
247
  { rows: 5, columns: 3, hasCheckbox: !1, rowHeight: 44 },
248
248
  { rows: 8, columns: 5, hasCheckbox: !0, rowHeight: 44 }
249
- ], vn = [
249
+ ], bn = [
250
250
  { variant: "value", colSpan: 1 },
251
251
  { variant: "trend", colSpan: 2 },
252
252
  { variant: "target", colSpan: 1 }
@@ -294,44 +294,44 @@ function Et({
294
294
  overflowActions: i,
295
295
  onClose: o
296
296
  }) {
297
- const [l, m] = $(null), d = M(null), g = w(() => {
297
+ const [l, u] = $(null), d = R(null), p = w(() => {
298
298
  if (!t) return { ...Ge, top: 0, left: 0 };
299
- const p = t.getBoundingClientRect();
299
+ const m = t.getBoundingClientRect();
300
300
  return {
301
301
  ...Ge,
302
- top: p.bottom + 4,
303
- left: p.left
302
+ top: m.bottom + 4,
303
+ left: m.left
304
304
  };
305
305
  }, [t]);
306
- if (L(() => {
306
+ if (O(() => {
307
307
  if (!e) return;
308
- const p = (N) => {
308
+ const m = (N) => {
309
309
  N.key === "Escape" && o();
310
310
  };
311
- return document.addEventListener("keydown", p), () => document.removeEventListener("keydown", p);
312
- }, [e, o]), L(() => {
311
+ return document.addEventListener("keydown", m), () => document.removeEventListener("keydown", m);
312
+ }, [e, o]), O(() => {
313
313
  if (!e) return;
314
- const p = (N) => {
314
+ const m = (N) => {
315
315
  d.current && !d.current.contains(N.target) && o();
316
316
  };
317
- return document.addEventListener("pointerdown", p, !0), () => document.removeEventListener("pointerdown", p, !0);
317
+ return document.addEventListener("pointerdown", m, !0), () => document.removeEventListener("pointerdown", m, !0);
318
318
  }, [e, o]), !e) return null;
319
- const f = i && i.length > 0, u = /* @__PURE__ */ D(
319
+ const f = i && i.length > 0, g = /* @__PURE__ */ D(
320
320
  "div",
321
321
  {
322
322
  ref: d,
323
323
  "data-status-chip-menu": n,
324
324
  role: "menu",
325
325
  "aria-label": "Status actions",
326
- style: g(),
326
+ style: p(),
327
327
  children: [
328
328
  /* @__PURE__ */ r(
329
329
  "button",
330
330
  {
331
331
  role: "menuitem",
332
332
  style: Pt(l === "__primary"),
333
- onMouseEnter: () => m("__primary"),
334
- onMouseLeave: () => m(null),
333
+ onMouseEnter: () => u("__primary"),
334
+ onMouseLeave: () => u(null),
335
335
  onClick: () => {
336
336
  a(n), o();
337
337
  },
@@ -343,8 +343,8 @@ function Et({
343
343
  {
344
344
  role: "menuitem",
345
345
  style: Ie(l === "__graph"),
346
- onMouseEnter: () => m("__graph"),
347
- onMouseLeave: () => m(null),
346
+ onMouseEnter: () => u("__graph"),
347
+ onMouseLeave: () => u(null),
348
348
  onClick: () => {
349
349
  s(n), o();
350
350
  },
@@ -352,27 +352,27 @@ function Et({
352
352
  }
353
353
  ),
354
354
  f && /* @__PURE__ */ r("div", { style: Ft }),
355
- f && i?.map((p) => /* @__PURE__ */ r(
355
+ f && i?.map((m) => /* @__PURE__ */ r(
356
356
  "button",
357
357
  {
358
358
  role: "menuitem",
359
- style: Ie(l === p.id),
360
- onMouseEnter: () => m(p.id),
361
- onMouseLeave: () => m(null),
359
+ style: Ie(l === m.id),
360
+ onMouseEnter: () => u(m.id),
361
+ onMouseLeave: () => u(null),
362
362
  onClick: () => {
363
- p.onSelect(n), o();
363
+ m.onSelect(n), o();
364
364
  },
365
- children: p.label
365
+ children: m.label
366
366
  },
367
- p.id
367
+ m.id
368
368
  ))
369
369
  ]
370
370
  }
371
371
  );
372
- return wt(u, document.body);
372
+ return wt(g, document.body);
373
373
  }
374
374
  Et.displayName = "StatusSlotChipMenu";
375
- const bn = {
375
+ const vn = {
376
376
  forwardStaggerMs: 50,
377
377
  reverseStaggerMs: 30,
378
378
  springStiffness: 380,
@@ -445,14 +445,14 @@ const Ze = ({ visible: e, variant: t, trigger: n, children: a, className: s }) =
445
445
  }
446
446
  );
447
447
  }, At = pt(
448
- function({ state: t, onPointerDown: n, onPointerUp: a, onPointerEnter: s, onPointerLeave: i, onKeyboardStep: o, onLostPointerCapture: l, edge: m = "right", ariaLabel: d = "Resize card" }, g) {
449
- const f = t === "handle-visible" || t === "dragging" || t === "settling", u = (y) => {
448
+ function({ state: t, onPointerDown: n, onPointerUp: a, onPointerEnter: s, onPointerLeave: i, onKeyboardStep: o, onLostPointerCapture: l, edge: u = "right", ariaLabel: d = "Resize card" }, p) {
449
+ const f = t === "handle-visible" || t === "dragging" || t === "settling", g = (y) => {
450
450
  try {
451
451
  y.currentTarget.setPointerCapture(y.pointerId);
452
452
  } catch {
453
453
  }
454
454
  n(y);
455
- }, p = (y) => {
455
+ }, m = (y) => {
456
456
  try {
457
457
  y.currentTarget.hasPointerCapture?.(y.pointerId) && y.currentTarget.releasePointerCapture(y.pointerId);
458
458
  } catch {
@@ -464,18 +464,18 @@ const Ze = ({ visible: e, variant: t, trigger: n, children: a, className: s }) =
464
464
  return /* @__PURE__ */ r(Ze, { visible: f, variant: "handle", trigger: "hover", children: /* @__PURE__ */ r(
465
465
  "button",
466
466
  {
467
- ref: g,
467
+ ref: p,
468
468
  type: "button",
469
469
  "aria-label": d,
470
- "data-edge": m,
470
+ "data-edge": u,
471
471
  "data-resize-state": t,
472
472
  className: [
473
473
  "gloss-edge-handle",
474
- `gloss-edge-handle--${m}`,
474
+ `gloss-edge-handle--${u}`,
475
475
  f ? "gloss-edge-handle--visible" : ""
476
476
  ].filter(Boolean).join(" "),
477
- onPointerDown: u,
478
- onPointerUp: p,
477
+ onPointerDown: g,
478
+ onPointerUp: m,
479
479
  onPointerEnter: s,
480
480
  onPointerLeave: i,
481
481
  onLostPointerCapture: l,
@@ -549,8 +549,8 @@ class Lt {
549
549
  const t = this.samples.length;
550
550
  if (t < 2) return 0;
551
551
  if (t === 2) {
552
- const [m, d] = this.samples, g = Math.max(1, d.t - m.t);
553
- return (d.x - m.x) / g * 1e3;
552
+ const [u, d] = this.samples, p = Math.max(1, d.t - u.t);
553
+ return (d.x - u.x) / p * 1e3;
554
554
  }
555
555
  const [n, a, s] = this.samples, i = (s.x - a.x) / Math.max(1, s.t - a.t) * 1e3, o = (a.x - n.x) / Math.max(1, a.t - n.t) * 1e3, l = o;
556
556
  return (i * 3 + o * 2 + l * 1) / 6;
@@ -585,18 +585,18 @@ function kn({
585
585
  gap: i = 0,
586
586
  tuning: o,
587
587
  dwellMs: l = 60,
588
- graceExitMs: m = 150,
588
+ graceExitMs: u = 150,
589
589
  enterMs: d = 180,
590
- exitMs: g = 120,
590
+ exitMs: p = 120,
591
591
  maxColSpan: f = 3,
592
- containerRef: u,
593
- forceIdle: p
592
+ containerRef: g,
593
+ forceIdle: m
594
594
  }) {
595
- const [N, y] = $("idle"), [h, R] = $(e), P = M(null), k = M(null), T = M(null), I = M(null), c = M(s), v = M(i), _ = M(f), S = M(0), b = M("idle");
596
- L(() => {
597
- b.current = N;
595
+ const [N, y] = $("idle"), [h, M] = $(e), P = R(null), k = R(null), T = R(null), I = R(null), c = R(s), b = R(i), _ = R(f), S = R(0), v = R("idle");
596
+ O(() => {
597
+ v.current = N;
598
598
  }, [N]);
599
- const x = vt(0), F = M(null), U = w(() => {
599
+ const x = bt(0), F = R(null), U = w(() => {
600
600
  const C = F.current;
601
601
  if (C) {
602
602
  try {
@@ -607,33 +607,33 @@ function kn({
607
607
  }
608
608
  }, []), q = w(
609
609
  (C) => {
610
- const E = c.current, A = v.current;
610
+ const E = c.current, A = b.current;
611
611
  return C * E + (C - 1) * A;
612
612
  },
613
613
  []
614
- ), j = M(new Lt()), G = M(e);
615
- L(() => {
614
+ ), j = R(new Lt()), G = R(e);
615
+ O(() => {
616
616
  G.current = h;
617
617
  }, [h]);
618
618
  const B = ye(() => ({ ...qe, ...o ?? {} }), [o]), Z = w(() => {
619
619
  P.current && (clearTimeout(P.current), P.current = null);
620
- }, []), O = w(() => {
620
+ }, []), L = w(() => {
621
621
  k.current && (clearTimeout(k.current), k.current = null);
622
622
  }, []), J = w(() => {
623
623
  T.current && (clearTimeout(T.current), T.current = null);
624
624
  }, []);
625
- L(() => {
626
- p && (b.current === "dragging" || b.current === "settling" || (Z(), O(), J(), b.current = "idle", y("idle")));
627
- }, [p, Z, O, J]);
625
+ O(() => {
626
+ m && (v.current === "dragging" || v.current === "settling" || (Z(), L(), J(), v.current = "idle", y("idle")));
627
+ }, [m, Z, L, J]);
628
628
  const Le = w(() => {
629
- O(), y((C) => C === "settling" || C !== "idle" ? C : (P.current = setTimeout(() => y("handle-visible"), l), "dwelling"));
630
- }, [l, O]), $e = w(() => {
629
+ L(), y((C) => C === "settling" || C !== "idle" ? C : (P.current = setTimeout(() => y("handle-visible"), l), "dwelling"));
630
+ }, [l, L]), $e = w(() => {
631
631
  Z();
632
- const C = b.current;
632
+ const C = v.current;
633
633
  C !== "dwelling" && C !== "handle-visible" || (k.current = setTimeout(() => {
634
- b.current = "idle", y("idle");
635
- }, m));
636
- }, [Z, m]), oe = w(
634
+ v.current = "idle", y("idle");
635
+ }, u));
636
+ }, [Z, u]), oe = w(
637
637
  (C, E, A) => {
638
638
  const z = c.current, ee = z * B.snapInFraction, Y = z * B.snapOutFraction, K = E - A, V = Math.max(
639
639
  A,
@@ -656,38 +656,38 @@ function kn({
656
656
  [B.snapInFraction, B.snapOutFraction, f]
657
657
  ), it = w(
658
658
  (C) => {
659
- if (b.current !== "handle-visible") return;
660
- U(), I.current = C.clientX, c.current = s, v.current = i, _.current = f;
659
+ if (v.current !== "handle-visible") return;
660
+ U(), I.current = C.clientX, c.current = s, b.current = i, _.current = f;
661
661
  const E = e * s + (e - 1) * i;
662
- S.current = E, j.current.clear(), j.current.push({ x: C.clientX, t: performance.now() }), x.jump(E), b.current = "dragging", y("dragging");
662
+ S.current = E, j.current.clear(), j.current.push({ x: C.clientX, t: performance.now() }), x.jump(E), v.current = "dragging", y("dragging");
663
663
  },
664
664
  [s, i, f, e, x, U]
665
665
  ), Be = w(
666
- (C) => C * c.current + (C - 1) * v.current,
666
+ (C) => C * c.current + (C - 1) * b.current,
667
667
  []
668
668
  ), ie = w(
669
669
  (C, E) => {
670
670
  const A = Be(C), z = C !== e;
671
671
  if (typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches) {
672
- x.jump(A), z && E ? n({ direction: E, targetColSpan: C, mode: t ? "slot-fill" : "sparkline-fidelity" }) : z || a?.(), x.jump(0), b.current = "idle", y("idle");
672
+ x.jump(A), z && E ? n({ direction: E, targetColSpan: C, mode: t ? "slot-fill" : "sparkline-fidelity" }) : z || a?.(), x.jump(0), v.current = "idle", y("idle");
673
673
  return;
674
674
  }
675
675
  const Y = j.current.getWeightedVelocity() * B.velocityMultiplier;
676
- b.current = "settling", y("settling"), U(), F.current = We(x, A, {
676
+ v.current = "settling", y("settling"), U(), F.current = We(x, A, {
677
677
  type: "spring",
678
678
  stiffness: B.stiffness,
679
679
  damping: B.damping,
680
680
  mass: B.mass,
681
681
  velocity: Y,
682
682
  onComplete: () => {
683
- F.current = null, z && E ? n({ direction: E, targetColSpan: C, mode: t ? "slot-fill" : "sparkline-fidelity" }) : z || a?.(), x.jump(0), b.current = "idle", y("idle");
683
+ F.current = null, z && E ? n({ direction: E, targetColSpan: C, mode: t ? "slot-fill" : "sparkline-fidelity" }) : z || a?.(), x.jump(0), v.current = "idle", y("idle");
684
684
  }
685
685
  });
686
686
  },
687
687
  [Be, e, t, n, a, x, B, U]
688
688
  ), ot = w(
689
689
  (C) => {
690
- if (b.current !== "dragging") return;
690
+ if (v.current !== "dragging") return;
691
691
  const E = C.clientX - (I.current ?? C.clientX), A = c.current, ee = ((_.current ?? f) - e) * A, Y = (1 - e) * A, K = Math.max(Y, Math.min(ee, E));
692
692
  j.current.push({ x: C.clientX, t: performance.now() });
693
693
  const V = oe(K, G.current, e), W = V > e ? "grow" : V < e ? "shrink" : null;
@@ -695,36 +695,36 @@ function kn({
695
695
  },
696
696
  [oe, e, f, ie]
697
697
  ), le = w(() => {
698
- if (Z(), b.current === "dragging") {
698
+ if (Z(), v.current === "dragging") {
699
699
  const C = S.current;
700
700
  if (typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches) {
701
- x.jump(C), a?.(), x.jump(0), b.current = "idle", y("idle");
701
+ x.jump(C), a?.(), x.jump(0), v.current = "idle", y("idle");
702
702
  return;
703
703
  }
704
704
  const A = j.current.getWeightedVelocity();
705
- b.current = "settling", y("settling"), U(), F.current = We(x, C, {
705
+ v.current = "settling", y("settling"), U(), F.current = We(x, C, {
706
706
  type: "spring",
707
707
  stiffness: B.stiffness,
708
708
  damping: B.damping,
709
709
  mass: B.mass,
710
710
  velocity: A,
711
711
  onComplete: () => {
712
- F.current = null, a?.(), x.jump(0), b.current = "idle", y("idle");
712
+ F.current = null, a?.(), x.jump(0), v.current = "idle", y("idle");
713
713
  }
714
714
  });
715
715
  return;
716
716
  }
717
- b.current === "handle-visible" && (a?.(), b.current = "cancelled", y("cancelled"));
717
+ v.current === "handle-visible" && (a?.(), v.current = "cancelled", y("cancelled"));
718
718
  }, [Z, x, a, B, U]);
719
- L(() => {
719
+ O(() => {
720
720
  if (N !== "dragging" && N !== "handle-visible") return;
721
721
  const C = (E) => {
722
722
  E.key === "Escape" && le();
723
723
  };
724
724
  return window.addEventListener("keydown", C), () => window.removeEventListener("keydown", C);
725
- }, [N, le]), L(() => {
725
+ }, [N, le]), O(() => {
726
726
  if (N !== "dragging") {
727
- R(e);
727
+ M(e);
728
728
  return;
729
729
  }
730
730
  const C = (K) => {
@@ -733,9 +733,9 @@ function kn({
733
733
  const _e = c.current, ke = (f - e) * _e, xe = (1 - e) * _e, de = Math.max(xe, Math.min(ke, V));
734
734
  j.current.push({ x: K.clientX, t: performance.now() });
735
735
  const ue = oe(de, G.current, e);
736
- ue !== G.current && (G.current = ue, R(ue));
736
+ ue !== G.current && (G.current = ue, M(ue));
737
737
  }, E = (K, V) => {
738
- if (b.current === "dragging")
738
+ if (v.current === "dragging")
739
739
  if (K === "pointerup") {
740
740
  const W = j.current.tail(), ce = V?.clientX ?? W?.x ?? I.current ?? 0, ae = ce - (I.current ?? ce), we = c.current, _e = ((_.current ?? f) - e) * we, ke = (1 - e) * we, xe = Math.max(ke, Math.min(_e, ae));
741
741
  V && j.current.push({ x: V.clientX, t: performance.now() });
@@ -749,31 +749,31 @@ function kn({
749
749
  return window.addEventListener("pointermove", C), window.addEventListener("pointerup", A), window.addEventListener("pointercancel", z), window.addEventListener("blur", ee), document.addEventListener("visibilitychange", Y), () => {
750
750
  window.removeEventListener("pointermove", C), window.removeEventListener("pointerup", A), window.removeEventListener("pointercancel", z), window.removeEventListener("blur", ee), document.removeEventListener("visibilitychange", Y);
751
751
  };
752
- }, [N, e, x, oe, f, q, le, ie]), L(() => () => {
753
- Z(), O(), J();
754
- }, [Z, O, J]), L(() => {
752
+ }, [N, e, x, oe, f, q, le, ie]), O(() => () => {
753
+ Z(), L(), J();
754
+ }, [Z, L, J]), O(() => {
755
755
  if (N !== "cancelled") return;
756
- const C = setTimeout(() => y("idle"), g);
756
+ const C = setTimeout(() => y("idle"), p);
757
757
  return () => clearTimeout(C);
758
- }, [N, g]);
758
+ }, [N, p]);
759
759
  const lt = w(
760
760
  (C) => {
761
- if (b.current === "settling") return;
761
+ if (v.current === "settling") return;
762
762
  const A = Math.min(f, Math.max(1, e + (C === "grow" ? 1 : -1)));
763
763
  if (A === e) return;
764
- c.current = s, v.current = i, _.current = f, j.current.clear();
764
+ c.current = s, b.current = i, _.current = f, j.current.clear();
765
765
  const z = e * s + (e - 1) * i;
766
766
  S.current = z, x.jump(z), ie(A, C);
767
767
  },
768
768
  [e, s, i, f, x, ie]
769
769
  ), ze = w(() => {
770
770
  J(), T.current = setTimeout(() => {
771
- b.current === "handle-visible" && (b.current = "idle", y("idle"));
771
+ v.current === "handle-visible" && (v.current = "idle", y("idle"));
772
772
  }, 5e3);
773
773
  }, [J]), ct = w(() => {
774
- b.current === "idle" && (Z(), b.current = "handle-visible", y("handle-visible"), ze());
774
+ v.current === "idle" && (Z(), v.current = "handle-visible", y("handle-visible"), ze());
775
775
  }, [Z, ze]), dt = w(() => {
776
- J(), b.current === "handle-visible" && (b.current = "idle", y("idle"));
776
+ J(), v.current === "handle-visible" && (v.current = "idle", y("idle"));
777
777
  }, [J]);
778
778
  return {
779
779
  state: N,
@@ -793,7 +793,7 @@ function kn({
793
793
  targetColSpan: h,
794
794
  ghostWidth: x,
795
795
  enterMs: d,
796
- exitMs: g
796
+ exitMs: p
797
797
  },
798
798
  onKeyboardStep: lt,
799
799
  onTouchReveal: ct,
@@ -1010,14 +1010,14 @@ const Sn = [
1010
1010
  donutMax: 100,
1011
1011
  accentColor: "#10b981",
1012
1012
  isStale: !0
1013
- }, Rn = [
1013
+ }, Mn = [
1014
1014
  $t,
1015
1015
  Bt,
1016
1016
  zt,
1017
1017
  Kt,
1018
1018
  Wt,
1019
1019
  Gt
1020
- ], Mn = {
1020
+ ], Rn = {
1021
1021
  variant: "sparkline",
1022
1022
  label: "Daily Orders",
1023
1023
  value: 847,
@@ -1111,17 +1111,17 @@ function Ye({
1111
1111
  onCreatePage: o,
1112
1112
  onManagePages: l
1113
1113
  }) {
1114
- const m = w(
1115
- (u) => {
1116
- i(u), t();
1114
+ const u = w(
1115
+ (g) => {
1116
+ i(g), t();
1117
1117
  },
1118
1118
  [i, t]
1119
1119
  ), d = w(
1120
- (u, p) => {
1121
- (p.key === "Enter" || p.key === " ") && (p.preventDefault(), m(u));
1120
+ (g, m) => {
1121
+ (m.key === "Enter" || m.key === " ") && (m.preventDefault(), u(g));
1122
1122
  },
1123
- [m]
1124
- ), g = w(() => {
1123
+ [u]
1124
+ ), p = w(() => {
1125
1125
  o(), t();
1126
1126
  }, [o, t]), f = w(() => {
1127
1127
  l(), t();
@@ -1140,36 +1140,36 @@ function Ye({
1140
1140
  anchorRef: n,
1141
1141
  className: "gloss-page-dropdown",
1142
1142
  children: [
1143
- /* @__PURE__ */ r("ul", { role: "menu", className: "gloss-page-dropdown__list", children: a.map((u) => {
1144
- const p = u.id === s;
1143
+ /* @__PURE__ */ r("ul", { role: "menu", className: "gloss-page-dropdown__list", children: a.map((g) => {
1144
+ const m = g.id === s;
1145
1145
  return /* @__PURE__ */ D(
1146
1146
  "li",
1147
1147
  {
1148
1148
  role: "menuitemradio",
1149
- "aria-checked": p,
1150
- "aria-current": p ? "page" : void 0,
1149
+ "aria-checked": m,
1150
+ "aria-current": m ? "page" : void 0,
1151
1151
  tabIndex: 0,
1152
- className: `gloss-page-dropdown__item${p ? " gloss-page-dropdown__item--active" : ""}`,
1153
- onClick: () => m(u.id),
1154
- onKeyDown: (N) => d(u.id, N),
1152
+ className: `gloss-page-dropdown__item${m ? " gloss-page-dropdown__item--active" : ""}`,
1153
+ onClick: () => u(g.id),
1154
+ onKeyDown: (N) => d(g.id, N),
1155
1155
  children: [
1156
1156
  /* @__PURE__ */ r(
1157
1157
  "span",
1158
1158
  {
1159
- className: `gloss-page-dropdown__dot${p ? " gloss-page-dropdown__dot--active" : ""}`
1159
+ className: `gloss-page-dropdown__dot${m ? " gloss-page-dropdown__dot--active" : ""}`
1160
1160
  }
1161
1161
  ),
1162
1162
  /* @__PURE__ */ r(
1163
1163
  "span",
1164
1164
  {
1165
- className: `gloss-page-dropdown__name${u.named ? "" : " gloss-page-dropdown__name--unnamed"}`,
1166
- children: u.name
1165
+ className: `gloss-page-dropdown__name${g.named ? "" : " gloss-page-dropdown__name--unnamed"}`,
1166
+ children: g.name
1167
1167
  }
1168
1168
  ),
1169
- /* @__PURE__ */ r("span", { className: "gloss-page-dropdown__count", children: u.cardCount })
1169
+ /* @__PURE__ */ r("span", { className: "gloss-page-dropdown__count", children: g.cardCount })
1170
1170
  ]
1171
1171
  },
1172
- u.id
1172
+ g.id
1173
1173
  );
1174
1174
  }) }),
1175
1175
  /* @__PURE__ */ r("hr", { className: "gloss-page-dropdown__separator" }),
@@ -1178,7 +1178,7 @@ function Ye({
1178
1178
  {
1179
1179
  role: "menuitem",
1180
1180
  className: "gloss-page-dropdown__action",
1181
- onClick: g,
1181
+ onClick: p,
1182
1182
  children: "+ New page"
1183
1183
  }
1184
1184
  ),
@@ -1205,23 +1205,23 @@ const Vt = function({
1205
1205
  onCreatePage: i,
1206
1206
  onManagePages: o,
1207
1207
  maskRadius: l = "var(--gloss-radius-md)",
1208
- displayMode: m = "count",
1208
+ displayMode: u = "count",
1209
1209
  activePage: d
1210
1210
  }) {
1211
- const g = M(null), [f, u] = $(!1), p = w(() => {
1212
- u((R) => !R);
1211
+ const p = R(null), [f, g] = $(!1), m = w(() => {
1212
+ g((M) => !M);
1213
1213
  }, []), N = w(() => {
1214
- u(!1);
1214
+ g(!1);
1215
1215
  }, []), y = a[t]?.id ?? "";
1216
1216
  return /* @__PURE__ */ D(
1217
1217
  "div",
1218
1218
  {
1219
1219
  className: "gloss-page-chip",
1220
- ref: g,
1221
- style: m === "name" ? { position: "relative", left: 0, right: "auto", top: 0 } : { position: "absolute", top: 0, right: 0 },
1220
+ ref: p,
1221
+ style: u === "name" ? { position: "relative", left: 0, right: "auto", top: 0 } : { position: "absolute", top: 0, right: 0 },
1222
1222
  "data-page-chip": !0,
1223
1223
  children: [
1224
- m !== "name" && /* @__PURE__ */ r(
1224
+ u !== "name" && /* @__PURE__ */ r(
1225
1225
  "div",
1226
1226
  {
1227
1227
  className: "gloss-page-chip__nuzzle",
@@ -1231,12 +1231,12 @@ const Vt = function({
1231
1231
  /* @__PURE__ */ r(
1232
1232
  "button",
1233
1233
  {
1234
- className: `gloss-page-chip__trigger${m === "name" ? " gloss-page-chip__trigger--name" : ""}`,
1234
+ className: `gloss-page-chip__trigger${u === "name" ? " gloss-page-chip__trigger--name" : ""}`,
1235
1235
  "aria-haspopup": "menu",
1236
1236
  "aria-expanded": f,
1237
- "aria-label": m === "name" ? `${d ?? "Page"}. Click to switch pages.` : `Page ${t + 1} of ${n}. Click to switch pages.`,
1238
- onClick: p,
1239
- children: m === "name" ? /* @__PURE__ */ D(te, { children: [
1237
+ "aria-label": u === "name" ? `${d ?? "Page"}. Click to switch pages.` : `Page ${t + 1} of ${n}. Click to switch pages.`,
1238
+ onClick: m,
1239
+ children: u === "name" ? /* @__PURE__ */ D(te, { children: [
1240
1240
  /* @__PURE__ */ r("span", { className: "gloss-page-chip__trigger-name", children: d ?? "" }),
1241
1241
  /* @__PURE__ */ r("span", { className: "gloss-page-chip__trigger-chevron", "aria-hidden": "true", children: "▾" })
1242
1242
  ] }) : /* @__PURE__ */ D(te, { children: [
@@ -1251,7 +1251,7 @@ const Vt = function({
1251
1251
  {
1252
1252
  open: f,
1253
1253
  onDismiss: N,
1254
- anchorRef: g,
1254
+ anchorRef: p,
1255
1255
  pages: a,
1256
1256
  activePageId: y,
1257
1257
  onPageChange: s,
@@ -1927,7 +1927,7 @@ function He(...e) {
1927
1927
  }
1928
1928
  function Jt() {
1929
1929
  const [e, t] = $(() => typeof window > "u" || typeof window.matchMedia != "function" ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches);
1930
- return L(() => {
1930
+ return O(() => {
1931
1931
  if (typeof window > "u" || typeof window.matchMedia != "function") return;
1932
1932
  const n = window.matchMedia("(prefers-reduced-motion: reduce)"), a = (s) => t(s.matches);
1933
1933
  return typeof n.addEventListener == "function" ? (n.addEventListener("change", a), () => n.removeEventListener("change", a)) : (n.addListener?.(a), () => {
@@ -1942,35 +1942,35 @@ const ea = ({
1942
1942
  ariaCardTypeLabel: a,
1943
1943
  className: s
1944
1944
  }) => {
1945
- const i = M(null), o = M([]), l = Jt(), m = ye(() => Array.from(e), [e]);
1946
- if (m.length === 0) return null;
1947
- const d = a ? `Configure ${a}: choose a dimension` : void 0, g = l ? "10ms" : "200ms", f = (u, p) => {
1948
- const N = m.length - 1, y = (h) => {
1949
- const R = o.current[h];
1950
- R && R.focus();
1945
+ const i = R(null), o = R([]), l = Jt(), u = ye(() => Array.from(e), [e]);
1946
+ if (u.length === 0) return null;
1947
+ const d = a ? `Configure ${a}: choose a dimension` : void 0, p = l ? "10ms" : "200ms", f = (g, m) => {
1948
+ const N = u.length - 1, y = (h) => {
1949
+ const M = o.current[h];
1950
+ M && M.focus();
1951
1951
  };
1952
- switch (u.key) {
1952
+ switch (g.key) {
1953
1953
  case "ArrowRight":
1954
1954
  case "ArrowDown": {
1955
- u.preventDefault(), y(p === N ? 0 : p + 1);
1955
+ g.preventDefault(), y(m === N ? 0 : m + 1);
1956
1956
  break;
1957
1957
  }
1958
1958
  case "ArrowLeft":
1959
1959
  case "ArrowUp": {
1960
- u.preventDefault(), y(p === 0 ? N : p - 1);
1960
+ g.preventDefault(), y(m === 0 ? N : m - 1);
1961
1961
  break;
1962
1962
  }
1963
1963
  case "Home": {
1964
- u.preventDefault(), y(0);
1964
+ g.preventDefault(), y(0);
1965
1965
  break;
1966
1966
  }
1967
1967
  case "End": {
1968
- u.preventDefault(), y(N);
1968
+ g.preventDefault(), y(N);
1969
1969
  break;
1970
1970
  }
1971
1971
  case "Enter":
1972
1972
  case " ": {
1973
- u.preventDefault(), t(m[p]);
1973
+ g.preventDefault(), t(u[m]);
1974
1974
  break;
1975
1975
  }
1976
1976
  }
@@ -1986,25 +1986,25 @@ const ea = ({
1986
1986
  // Expose the reduced-motion-resolved duration as a CSS custom prop
1987
1987
  // so the SCSS transition rule can consume it without a nested media
1988
1988
  // query in the JS. Also surfaces the value for the unit test.
1989
- "--gloss-reconfig-backside-buttons-transition-duration": g
1989
+ "--gloss-reconfig-backside-buttons-transition-duration": p
1990
1990
  },
1991
- children: m.map((u, p) => {
1992
- const N = Xt[u], y = n === u;
1991
+ children: u.map((g, m) => {
1992
+ const N = Xt[g], y = n === g;
1993
1993
  return /* @__PURE__ */ D(
1994
1994
  "button",
1995
1995
  {
1996
1996
  ref: (h) => {
1997
- o.current[p] = h;
1997
+ o.current[m] = h;
1998
1998
  },
1999
1999
  type: "button",
2000
- "data-dimension": u,
2000
+ "data-dimension": g,
2001
2001
  className: He(
2002
2002
  "gloss-reconfig-backside-buttons__button",
2003
2003
  y && "gloss-reconfig-backside-buttons__button--active"
2004
2004
  ),
2005
2005
  "aria-current": y ? "true" : void 0,
2006
- onClick: () => t(u),
2007
- onKeyDown: (h) => f(h, p),
2006
+ onClick: () => t(g),
2007
+ onKeyDown: (h) => f(h, m),
2008
2008
  children: [
2009
2009
  /* @__PURE__ */ r(
2010
2010
  N,
@@ -2013,10 +2013,10 @@ const ea = ({
2013
2013
  "aria-hidden": "true"
2014
2014
  }
2015
2015
  ),
2016
- /* @__PURE__ */ r("span", { className: "gloss-reconfig-backside-buttons__button-label", children: Qt[u] })
2016
+ /* @__PURE__ */ r("span", { className: "gloss-reconfig-backside-buttons__button-label", children: Qt[g] })
2017
2017
  ]
2018
2018
  },
2019
- u
2019
+ g
2020
2020
  );
2021
2021
  })
2022
2022
  }
@@ -2082,7 +2082,7 @@ const qn = [
2082
2082
  currentPage: 0,
2083
2083
  totalPages: 3
2084
2084
  };
2085
- function Re(e) {
2085
+ function Me(e) {
2086
2086
  return H.createElement("span", { style: { fontSize: 14 } }, e);
2087
2087
  }
2088
2088
  const Jn = [
@@ -2090,7 +2090,7 @@ const Jn = [
2090
2090
  id: "all-orders",
2091
2091
  type: "orders",
2092
2092
  name: "All Orders",
2093
- icon: Re("📋"),
2093
+ icon: Me("📋"),
2094
2094
  closable: !1,
2095
2095
  autoCreated: !0
2096
2096
  },
@@ -2098,14 +2098,14 @@ const Jn = [
2098
2098
  id: "open-orders",
2099
2099
  type: "orders",
2100
2100
  name: "Open Orders",
2101
- icon: Re("📦"),
2101
+ icon: Me("📦"),
2102
2102
  closable: !0
2103
2103
  },
2104
2104
  {
2105
2105
  id: "shipped-orders",
2106
2106
  type: "orders",
2107
2107
  name: "Shipped Orders",
2108
- icon: Re("🚚"),
2108
+ icon: Me("🚚"),
2109
2109
  closable: !0
2110
2110
  }
2111
2111
  ], er = [
@@ -2284,7 +2284,7 @@ function ra() {
2284
2284
  }
2285
2285
  function sa() {
2286
2286
  const [e, t] = $(() => ra());
2287
- L(() => {
2287
+ O(() => {
2288
2288
  if (!(typeof window > "u"))
2289
2289
  try {
2290
2290
  window.localStorage.setItem(et, JSON.stringify(e));
@@ -2400,16 +2400,16 @@ function ua(e = {}) {
2400
2400
  }
2401
2401
  ua.displayName = "DevTuningPanel";
2402
2402
  function ma() {
2403
- const e = sa(), { values: t, setValue: n, resetRow: a, resetAll: s } = e, [i, o] = $(null), l = M(null), m = w((u) => {
2404
- l.current && clearTimeout(l.current), o(u), l.current = setTimeout(() => {
2403
+ const e = sa(), { values: t, setValue: n, resetRow: a, resetAll: s } = e, [i, o] = $(null), l = R(null), u = w((g) => {
2404
+ l.current && clearTimeout(l.current), o(g), l.current = setTimeout(() => {
2405
2405
  o(null), l.current = null;
2406
2406
  }, 200);
2407
2407
  }, []), d = w(
2408
- (u, p) => {
2409
- n(u, p), u === "snapInPx" && p > t.snapOutPx && (n("snapOutPx", p), m("snapOutPx"));
2408
+ (g, m) => {
2409
+ n(g, m), g === "snapInPx" && m > t.snapOutPx && (n("snapOutPx", m), u("snapOutPx"));
2410
2410
  },
2411
- [n, t.snapOutPx, m]
2412
- ), g = ye(() => ia, []), f = bt();
2411
+ [n, t.snapOutPx, u]
2412
+ ), p = ye(() => ia, []), f = vt();
2413
2413
  return /* @__PURE__ */ D(
2414
2414
  De.div,
2415
2415
  {
@@ -2426,23 +2426,23 @@ function ma() {
2426
2426
  "div",
2427
2427
  {
2428
2428
  className: "gloss-dev-tuning-panel__header",
2429
- onPointerDown: (u) => f.start(u),
2429
+ onPointerDown: (g) => f.start(g),
2430
2430
  children: [
2431
2431
  /* @__PURE__ */ r("span", { className: "gloss-dev-tuning-panel__title", children: "Resize Tuning — dev only" }),
2432
2432
  /* @__PURE__ */ r("span", { className: "gloss-dev-tuning-panel__hint", children: "?devtune=1" })
2433
2433
  ]
2434
2434
  }
2435
2435
  ),
2436
- /* @__PURE__ */ r("div", { className: "gloss-dev-tuning-panel__body", children: g.map((u) => /* @__PURE__ */ r(
2436
+ /* @__PURE__ */ r("div", { className: "gloss-dev-tuning-panel__body", children: p.map((g) => /* @__PURE__ */ r(
2437
2437
  ca,
2438
2438
  {
2439
- spec: u,
2440
- value: t[u.key],
2441
- onChange: (p) => d(u.key, p),
2442
- onReset: () => a(u.key),
2443
- flashing: i === u.key
2439
+ spec: g,
2440
+ value: t[g.key],
2441
+ onChange: (m) => d(g.key, m),
2442
+ onReset: () => a(g.key),
2443
+ flashing: i === g.key
2444
2444
  },
2445
- u.key
2445
+ g.key
2446
2446
  )) }),
2447
2447
  /* @__PURE__ */ r("div", { className: "gloss-dev-tuning-panel__footer", children: /* @__PURE__ */ r(
2448
2448
  "button",
@@ -2466,23 +2466,23 @@ function nr({
2466
2466
  minBoundaryX: i,
2467
2467
  snapBoundariesX: o,
2468
2468
  topY: l,
2469
- bottomY: m,
2469
+ bottomY: u,
2470
2470
  enterMs: d = se.envelopeEnterMs,
2471
- exitMs: g = se.envelopeExitMs,
2471
+ exitMs: p = se.envelopeExitMs,
2472
2472
  className: f,
2473
- style: u
2473
+ style: g
2474
2474
  }) {
2475
2475
  if (e === "hidden") return null;
2476
- const p = Math.max(0, s - a), N = Math.max(0, m - l), y = {
2476
+ const m = Math.max(0, s - a), N = Math.max(0, u - l), y = {
2477
2477
  "--gloss-resize-envelope-enter-ms": `${d}ms`,
2478
- "--gloss-resize-envelope-exit-ms": `${g}ms`,
2478
+ "--gloss-resize-envelope-exit-ms": `${p}ms`,
2479
2479
  "--gloss-resize-envelope-origin-x": `${t - a}px`,
2480
2480
  "--gloss-resize-envelope-origin-y": `${n - l}px`,
2481
2481
  left: a,
2482
2482
  top: l,
2483
- width: p,
2483
+ width: m,
2484
2484
  height: N,
2485
- ...u
2485
+ ...g
2486
2486
  };
2487
2487
  return /* @__PURE__ */ D(
2488
2488
  "div",
@@ -2514,7 +2514,7 @@ function nr({
2514
2514
  {
2515
2515
  className: "gloss-resize-envelope__edge gloss-resize-envelope__edge--right",
2516
2516
  "data-edge": "right",
2517
- style: { left: p - 1 }
2517
+ style: { left: m - 1 }
2518
2518
  }
2519
2519
  ),
2520
2520
  o.filter((h) => h > i && h < s).map((h) => /* @__PURE__ */ r(
@@ -2603,7 +2603,7 @@ function ir({
2603
2603
  variant: i = "dashed",
2604
2604
  className: o,
2605
2605
  style: l,
2606
- ...m
2606
+ ...u
2607
2607
  }) {
2608
2608
  const d = {
2609
2609
  "--gloss-section-divider-fade-in-ms": `${n}ms`,
@@ -2614,7 +2614,7 @@ function ir({
2614
2614
  return /* @__PURE__ */ r(
2615
2615
  "div",
2616
2616
  {
2617
- ...m,
2617
+ ...u,
2618
2618
  "data-state": e,
2619
2619
  "data-testid": "gloss-section-divider",
2620
2620
  "aria-hidden": "true",
@@ -2659,7 +2659,7 @@ function lr({
2659
2659
  x: i,
2660
2660
  y: o,
2661
2661
  children: l,
2662
- className: m
2662
+ className: u
2663
2663
  }) {
2664
2664
  const d = t * n + (t - 1) * s;
2665
2665
  return /* @__PURE__ */ r(
@@ -2671,7 +2671,7 @@ function lr({
2671
2671
  className: [
2672
2672
  "gloss-drag-ghost",
2673
2673
  `gloss-drag-ghost--tint-${e}`,
2674
- m
2674
+ u
2675
2675
  ].filter(Boolean).join(" "),
2676
2676
  style: { x: i, y: o, width: d, height: a },
2677
2677
  children: l
@@ -2688,7 +2688,7 @@ function cr({
2688
2688
  transitionMs: i = 120,
2689
2689
  className: o
2690
2690
  }) {
2691
- const l = t * n + (t - 1) * a, d = (e.section * pa + e.col) * (n + a), g = e.row * (s + a);
2691
+ const l = t * n + (t - 1) * a, d = (e.section * pa + e.col) * (n + a), p = e.row * (s + a);
2692
2692
  return /* @__PURE__ */ r(
2693
2693
  "div",
2694
2694
  {
@@ -2696,7 +2696,7 @@ function cr({
2696
2696
  "data-testid": "gloss-snap-outline",
2697
2697
  "aria-hidden": "true",
2698
2698
  style: {
2699
- transform: `translate(${d}px, ${g}px)`,
2699
+ transform: `translate(${d}px, ${p}px)`,
2700
2700
  width: l,
2701
2701
  height: s,
2702
2702
  transition: `transform ${i}ms cubic-bezier(0.4, 0, 0.2, 1)`
@@ -2727,12 +2727,12 @@ const ha = ({
2727
2727
  elapsed: t,
2728
2728
  severity: n = "neutral"
2729
2729
  }) => {
2730
- const a = M(null), s = M(null);
2731
- L(() => {
2732
- const l = requestAnimationFrame(() => {
2733
- a.current && (a.current.style.width = `${e.value}%`), s.current && (s.current.style.width = `${t.value}%`);
2730
+ const a = R(null), s = R(null);
2731
+ O(() => {
2732
+ const l = Math.min(100, Math.max(0, e.value)), u = Math.min(100, Math.max(0, t.value)), d = requestAnimationFrame(() => {
2733
+ a.current && (a.current.style.width = `${l}%`), s.current && (s.current.style.width = `${u}%`);
2734
2734
  });
2735
- return () => cancelAnimationFrame(l);
2735
+ return () => cancelAnimationFrame(d);
2736
2736
  }, [e.value, t.value]);
2737
2737
  const i = e.label ?? "ACTUAL", o = t.label ?? "ELAPSED";
2738
2738
  return /* @__PURE__ */ D(
@@ -2751,7 +2751,7 @@ const ha = ({
2751
2751
  className: `gloss-dual-pace-bars__fill gloss-dual-pace-bars__fill--consumed gloss-dual-pace-bars__fill--${n}`,
2752
2752
  style: { width: "0%" },
2753
2753
  role: "meter",
2754
- "aria-valuenow": e.value,
2754
+ "aria-valuenow": Math.min(100, Math.max(0, e.value)),
2755
2755
  "aria-valuemin": 0,
2756
2756
  "aria-valuemax": 100,
2757
2757
  "aria-label": `${i}: ${e.value}%`
@@ -2771,7 +2771,7 @@ const ha = ({
2771
2771
  className: "gloss-dual-pace-bars__fill gloss-dual-pace-bars__fill--elapsed",
2772
2772
  style: { width: "0%" },
2773
2773
  role: "meter",
2774
- "aria-valuenow": t.value,
2774
+ "aria-valuenow": Math.min(100, Math.max(0, t.value)),
2775
2775
  "aria-valuemin": 0,
2776
2776
  "aria-valuemax": 100,
2777
2777
  "aria-label": `${o}: ${t.value}%`
@@ -2798,7 +2798,7 @@ const ha = ({
2798
2798
  ] })
2799
2799
  ]
2800
2800
  }
2801
- ), va = ({ label: e, onSetTarget: t }) => /* @__PURE__ */ D("div", { className: "gloss-pace-placeholder", children: [
2801
+ ), ba = ({ label: e, onSetTarget: t }) => /* @__PURE__ */ D("div", { className: "gloss-pace-placeholder", children: [
2802
2802
  /* @__PURE__ */ r("p", { className: "gloss-pace-placeholder__heading", children: "Set a target" }),
2803
2803
  /* @__PURE__ */ D("p", { className: "gloss-pace-placeholder__context", children: [
2804
2804
  "for ",
@@ -2840,6 +2840,7 @@ const ha = ({
2840
2840
  onRemove: e.onRemove,
2841
2841
  children: /* @__PURE__ */ D("div", { className: `gloss-pace-card ${e.isStale ? "gloss-metric-data-stale" : ""}`, children: [
2842
2842
  /* @__PURE__ */ r("div", { className: "gloss-pace-card__label", children: e.label }),
2843
+ e.subtitle && /* @__PURE__ */ r("div", { className: "gloss-pace-card__subtitle", children: e.subtitle }),
2843
2844
  /* @__PURE__ */ r("div", { className: "gloss-pace-card__body", children: s ? /* @__PURE__ */ D(te, { children: [
2844
2845
  /* @__PURE__ */ r(
2845
2846
  ha,
@@ -2851,7 +2852,7 @@ const ha = ({
2851
2852
  ),
2852
2853
  /* @__PURE__ */ r(fa, { label: "Gap", value: e.gapLabel, severity: e.severity })
2853
2854
  ] }) : /* @__PURE__ */ r(
2854
- va,
2855
+ ba,
2855
2856
  {
2856
2857
  label: e.label,
2857
2858
  onSetTarget: () => n(!0)
@@ -2877,7 +2878,7 @@ const ha = ({
2877
2878
  ),
2878
2879
  /* @__PURE__ */ r("div", { className: "gloss-pace-tile-preview__gap-strip" })
2879
2880
  ] });
2880
- function ba({ id: e, label: t, selected: n, focused: a, disabled: s, badge: i, onClick: o }) {
2881
+ function va({ id: e, label: t, selected: n, focused: a, disabled: s, badge: i, onClick: o }) {
2881
2882
  return /* @__PURE__ */ r(
2882
2883
  "span",
2883
2884
  {
@@ -2891,7 +2892,7 @@ function ba({ id: e, label: t, selected: n, focused: a, disabled: s, badge: i, o
2891
2892
  onClick: () => {
2892
2893
  s || o(e);
2893
2894
  },
2894
- children: /* @__PURE__ */ D(mt, { selected: n, disabled: s, variant: "soft", size: "sm", children: [
2895
+ children: /* @__PURE__ */ D("span", { className: "gloss-lens-chip__inner", children: [
2895
2896
  /* @__PURE__ */ r("span", { className: "gloss-lens-chip__label", children: t }),
2896
2897
  i && /* @__PURE__ */ r("span", { className: "gloss-lens-chip__badge", children: i })
2897
2898
  ] })
@@ -2904,11 +2905,13 @@ function ya({
2904
2905
  onChange: n,
2905
2906
  "aria-label": a = "Lens"
2906
2907
  }) {
2907
- if (e.length === 0) return null;
2908
2908
  const [s, i] = $(
2909
2909
  () => Math.max(0, e.findIndex((l) => l.id === t))
2910
2910
  );
2911
- return /* @__PURE__ */ r(
2911
+ return O(() => {
2912
+ const l = e.findIndex((u) => u.id === t);
2913
+ i(l >= 0 ? l : 0);
2914
+ }, [t, e]), e.length === 0 ? null : /* @__PURE__ */ r(
2912
2915
  "div",
2913
2916
  {
2914
2917
  role: "radiogroup",
@@ -2917,11 +2920,11 @@ function ya({
2917
2920
  switch (l.key) {
2918
2921
  case "ArrowRight":
2919
2922
  case "ArrowDown":
2920
- l.preventDefault(), i((m) => (m + 1) % e.length);
2923
+ l.preventDefault(), i((u) => (u + 1) % e.length);
2921
2924
  break;
2922
2925
  case "ArrowLeft":
2923
2926
  case "ArrowUp":
2924
- l.preventDefault(), i((m) => (m - 1 + e.length) % e.length);
2927
+ l.preventDefault(), i((u) => (u - 1 + e.length) % e.length);
2925
2928
  break;
2926
2929
  case "Home":
2927
2930
  l.preventDefault(), i(0);
@@ -2932,20 +2935,20 @@ function ya({
2932
2935
  case "Enter":
2933
2936
  case " ": {
2934
2937
  l.preventDefault();
2935
- const m = e[s];
2936
- m && !m.disabled && n(m.id);
2938
+ const u = e[s];
2939
+ u && !u.disabled && n(u.id);
2937
2940
  break;
2938
2941
  }
2939
2942
  }
2940
2943
  },
2941
2944
  className: "gloss-lens-chip-group",
2942
- children: e.map((l, m) => /* @__PURE__ */ r(
2943
- ba,
2945
+ children: e.map((l, u) => /* @__PURE__ */ r(
2946
+ va,
2944
2947
  {
2945
2948
  id: l.id,
2946
2949
  label: l.label,
2947
2950
  selected: l.id === t,
2948
- focused: m === s,
2951
+ focused: u === s,
2949
2952
  disabled: l.disabled,
2950
2953
  badge: l.badge,
2951
2954
  onClick: n
@@ -2983,21 +2986,21 @@ function X({
2983
2986
  variant: i = "default",
2984
2987
  onClick: o,
2985
2988
  className: l,
2986
- style: m
2989
+ style: u
2987
2990
  }) {
2988
2991
  const d = [
2989
2992
  "gloss-entity-row",
2990
2993
  `gloss-entity-row--${i}`,
2991
2994
  o ? "gloss-entity-row--clickable" : "",
2992
2995
  l ?? ""
2993
- ].filter(Boolean).join(" "), g = /* @__PURE__ */ D(te, { children: [
2996
+ ].filter(Boolean).join(" "), p = /* @__PURE__ */ D(te, { children: [
2994
2997
  e !== void 0 && /* @__PURE__ */ r("span", { className: "gloss-entity-row__lead", children: e }),
2995
2998
  /* @__PURE__ */ r("span", { className: "gloss-entity-row__name", title: t, children: t }),
2996
2999
  n !== void 0 && /* @__PURE__ */ r("span", { className: "gloss-entity-row__secondary", children: n }),
2997
3000
  /* @__PURE__ */ r("span", { className: "gloss-entity-row__value", children: a }),
2998
3001
  s !== void 0 && /* @__PURE__ */ r("span", { className: "gloss-entity-row__trail", children: s })
2999
3002
  ] });
3000
- return o ? /* @__PURE__ */ r("div", { role: "listitem", className: d, style: m, children: /* @__PURE__ */ r(
3003
+ return o ? /* @__PURE__ */ r("div", { role: "listitem", className: d, style: u, children: /* @__PURE__ */ r(
3001
3004
  "button",
3002
3005
  {
3003
3006
  type: "button",
@@ -3012,9 +3015,9 @@ function X({
3012
3015
  onClick: (f) => {
3013
3016
  f.stopPropagation(), o();
3014
3017
  },
3015
- children: g
3018
+ children: p
3016
3019
  }
3017
- ) }) : /* @__PURE__ */ r("div", { role: "listitem", className: d, style: m, children: g });
3020
+ ) }) : /* @__PURE__ */ r("div", { role: "listitem", className: d, style: u, children: p });
3018
3021
  }
3019
3022
  X.displayName = "EntityRow";
3020
3023
  const fe = ({ rank: e }) => {
@@ -3030,7 +3033,7 @@ const fe = ({ rank: e }) => {
3030
3033
  );
3031
3034
  };
3032
3035
  fe.displayName = "RankBadge";
3033
- function ve({ severity: e, "aria-label": t }) {
3036
+ function be({ severity: e, "aria-label": t }) {
3034
3037
  return /* @__PURE__ */ r(
3035
3038
  "span",
3036
3039
  {
@@ -3040,7 +3043,7 @@ function ve({ severity: e, "aria-label": t }) {
3040
3043
  }
3041
3044
  );
3042
3045
  }
3043
- ve.displayName = "SeverityDot";
3046
+ be.displayName = "SeverityDot";
3044
3047
  function tt({
3045
3048
  delta: e,
3046
3049
  direction: t = "flat",
@@ -3071,7 +3074,7 @@ function tt({
3071
3074
  );
3072
3075
  }
3073
3076
  tt.displayName = "RankDelta";
3074
- function be({ fill: e, variant: t = "default", className: n }) {
3077
+ function ve({ fill: e, variant: t = "default", className: n }) {
3075
3078
  const a = Math.max(0, Math.min(100, e));
3076
3079
  return /* @__PURE__ */ r(
3077
3080
  "div",
@@ -3087,7 +3090,7 @@ function be({ fill: e, variant: t = "default", className: n }) {
3087
3090
  }
3088
3091
  );
3089
3092
  }
3090
- be.displayName = "MagnitudeBar";
3093
+ ve.displayName = "MagnitudeBar";
3091
3094
  const Na = (e) => e.rankDelta === "new" ? "New entry" : e.direction === "up" ? `Rank up ${e.rankDelta}` : e.direction === "down" ? `Rank down ${e.rankDelta}` : "Rank unchanged";
3092
3095
  function Da({
3093
3096
  label: e,
@@ -3117,7 +3120,7 @@ function Da({
3117
3120
  lead: /* @__PURE__ */ r(fe, { rank: l + 1 }),
3118
3121
  name: o.name,
3119
3122
  secondary: /* @__PURE__ */ r(
3120
- be,
3123
+ ve,
3121
3124
  {
3122
3125
  fill: o.magnitude,
3123
3126
  variant: o.isBottom ? "bottom" : "default"
@@ -3153,9 +3156,9 @@ const Ca = () => /* @__PURE__ */ D(
3153
3156
  "aria-hidden": "true",
3154
3157
  style: { transform: "scale(0.6)", transformOrigin: "top left" },
3155
3158
  children: [
3156
- /* @__PURE__ */ r(X, { lead: /* @__PURE__ */ r(fe, { rank: 1 }), name: "Vendor A", secondary: /* @__PURE__ */ r(be, { fill: 96 }), value: "98%" }),
3157
- /* @__PURE__ */ r(X, { lead: /* @__PURE__ */ r(fe, { rank: 2 }), name: "Vendor B", secondary: /* @__PURE__ */ r(be, { fill: 72 }), value: "85%" }),
3158
- /* @__PURE__ */ r(X, { lead: /* @__PURE__ */ r(fe, { rank: 3 }), name: "Vendor C", secondary: /* @__PURE__ */ r(be, { fill: 48 }), value: "71%" })
3159
+ /* @__PURE__ */ r(X, { lead: /* @__PURE__ */ r(fe, { rank: 1 }), name: "Vendor A", secondary: /* @__PURE__ */ r(ve, { fill: 96 }), value: "98%" }),
3160
+ /* @__PURE__ */ r(X, { lead: /* @__PURE__ */ r(fe, { rank: 2 }), name: "Vendor B", secondary: /* @__PURE__ */ r(ve, { fill: 72 }), value: "85%" }),
3161
+ /* @__PURE__ */ r(X, { lead: /* @__PURE__ */ r(fe, { rank: 3 }), name: "Vendor C", secondary: /* @__PURE__ */ r(ve, { fill: 48 }), value: "71%" })
3159
3162
  ]
3160
3163
  }
3161
3164
  );
@@ -3187,7 +3190,7 @@ function Sa({
3187
3190
  ruleSubtitle: i,
3188
3191
  isStale: o
3189
3192
  }) {
3190
- const l = t.filter((d) => xa(d, n)), m = l.slice(0, a ?? 3);
3193
+ const l = t.filter((d) => xa(d, n)), u = l.slice(0, a ?? 3);
3191
3194
  return l.length === 0 ? /* @__PURE__ */ D(te, { children: [
3192
3195
  /* @__PURE__ */ r(
3193
3196
  pe,
@@ -3213,14 +3216,14 @@ function Sa({
3213
3216
  {
3214
3217
  className: `gloss-metric-card__zone-b gloss-exception-list ${o ? "gloss-metric-data-stale" : ""}`,
3215
3218
  style: { flex: 1, zIndex: 2, position: "relative", minHeight: 0 },
3216
- children: /* @__PURE__ */ r("div", { className: "gloss-exception-list__rows", role: "list", children: m.map((d, g) => /* @__PURE__ */ r(
3219
+ children: /* @__PURE__ */ r("div", { className: "gloss-exception-list__rows", role: "list", children: u.map((d, p) => /* @__PURE__ */ r(
3217
3220
  X,
3218
3221
  {
3219
- lead: /* @__PURE__ */ r(ve, { severity: d.severity, "aria-label": ka(d.severity) }),
3222
+ lead: /* @__PURE__ */ r(be, { severity: d.severity, "aria-label": ka(d.severity) }),
3220
3223
  name: d.name,
3221
3224
  value: d.value,
3222
3225
  variant: "exception",
3223
- style: { "--i": g }
3226
+ style: { "--i": p }
3224
3227
  },
3225
3228
  d.id
3226
3229
  )) })
@@ -3230,7 +3233,7 @@ function Sa({
3230
3233
  ] });
3231
3234
  }
3232
3235
  Sa.displayName = "ExceptionListCard";
3233
- const Ra = () => /* @__PURE__ */ D(
3236
+ const Ma = () => /* @__PURE__ */ D(
3234
3237
  "div",
3235
3238
  {
3236
3239
  className: "exception-list-tile-preview",
@@ -3240,7 +3243,7 @@ const Ra = () => /* @__PURE__ */ D(
3240
3243
  /* @__PURE__ */ r(
3241
3244
  X,
3242
3245
  {
3243
- lead: /* @__PURE__ */ r(ve, { severity: "critical", "aria-label": "Critical severity" }),
3246
+ lead: /* @__PURE__ */ r(be, { severity: "critical", "aria-label": "Critical severity" }),
3244
3247
  name: "SKU A",
3245
3248
  value: "0 on hand"
3246
3249
  }
@@ -3248,7 +3251,7 @@ const Ra = () => /* @__PURE__ */ D(
3248
3251
  /* @__PURE__ */ r(
3249
3252
  X,
3250
3253
  {
3251
- lead: /* @__PURE__ */ r(ve, { severity: "warn", "aria-label": "Warning severity" }),
3254
+ lead: /* @__PURE__ */ r(be, { severity: "warn", "aria-label": "Warning severity" }),
3252
3255
  name: "SKU B",
3253
3256
  value: "3 units"
3254
3257
  }
@@ -3256,7 +3259,7 @@ const Ra = () => /* @__PURE__ */ D(
3256
3259
  /* @__PURE__ */ r(
3257
3260
  X,
3258
3261
  {
3259
- lead: /* @__PURE__ */ r(ve, { severity: "info", "aria-label": "Info severity" }),
3262
+ lead: /* @__PURE__ */ r(be, { severity: "info", "aria-label": "Info severity" }),
3260
3263
  name: "SKU C",
3261
3264
  value: "12 days"
3262
3265
  }
@@ -3264,7 +3267,7 @@ const Ra = () => /* @__PURE__ */ D(
3264
3267
  ]
3265
3268
  }
3266
3269
  );
3267
- Ra.displayName = "ExceptionListTilePreview";
3270
+ Ma.displayName = "ExceptionListTilePreview";
3268
3271
  const ne = {
3269
3272
  "gloss-inline-nudge": "_gloss-inline-nudge_kdk88_34",
3270
3273
  "gloss-inline-nudge__message": "_gloss-inline-nudge__message_kdk88_65",
@@ -3273,7 +3276,7 @@ const ne = {
3273
3276
  "gloss-inline-nudge__btn--action": "_gloss-inline-nudge__btn--action_kdk88_88",
3274
3277
  "gloss-inline-nudge__btn--dismiss": "_gloss-inline-nudge__btn--dismiss_kdk88_96"
3275
3278
  };
3276
- function Ma({
3279
+ function Ra({
3277
3280
  message: e,
3278
3281
  primaryAction: t,
3279
3282
  onDismiss: n,
@@ -3291,19 +3294,19 @@ function Ma({
3291
3294
  }, [a, s]), H.useLayoutEffect(() => {
3292
3295
  let d = null;
3293
3296
  if (a ? d = a : s && (d = document.querySelector(s)), d) {
3294
- const g = d.getBoundingClientRect();
3297
+ const p = d.getBoundingClientRect();
3295
3298
  o({
3296
- top: g.bottom + window.scrollY + 6,
3297
- left: g.left + window.scrollX
3299
+ top: p.bottom + window.scrollY + 6,
3300
+ left: p.left + window.scrollX
3298
3301
  });
3299
3302
  }
3300
3303
  }, [a, s]);
3301
- const m = i ? { top: i.top, left: i.left } : {};
3304
+ const u = i ? { top: i.top, left: i.left } : {};
3302
3305
  return /* @__PURE__ */ D(
3303
3306
  "div",
3304
3307
  {
3305
3308
  className: ne["gloss-inline-nudge"],
3306
- style: m,
3309
+ style: u,
3307
3310
  role: "status",
3308
3311
  "aria-live": "polite",
3309
3312
  "data-reduced-motion": l ? "true" : void 0,
@@ -3334,7 +3337,7 @@ function Ma({
3334
3337
  }
3335
3338
  );
3336
3339
  }
3337
- Ma.displayName = "InlineNudge";
3340
+ Ra.displayName = "InlineNudge";
3338
3341
  function Ee(e) {
3339
3342
  return e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888";
3340
3343
  }
@@ -3365,103 +3368,103 @@ function Pa({
3365
3368
  ), 0.01) : s, l = w(
3366
3369
  (c) => Math.round(c / o) * o,
3367
3370
  [o]
3368
- ), m = M(null), [d, g] = $(null), [f, u] = $(e), p = Ia(e), N = M(p);
3369
- L(() => {
3370
- N.current !== p && (N.current = p, !d && u(e));
3371
- }, [p, e, d]);
3371
+ ), u = R(null), [d, p] = $(null), [f, g] = $(e), m = Ia(e), N = R(m);
3372
+ O(() => {
3373
+ N.current !== m && (N.current = m, !d && g(e));
3374
+ }, [m, e, d]);
3372
3375
  const y = ye(() => Ta(f, n, a), [f, n, a]), h = w(
3373
3376
  (c) => {
3374
- if (!m.current) return n;
3375
- const v = m.current.getBoundingClientRect(), _ = v.width || 1, S = Math.max(0, Math.min(1, (c - v.left) / _)), b = n + S * (a - n);
3376
- return l(b);
3377
+ if (!u.current) return n;
3378
+ const b = u.current.getBoundingClientRect(), _ = b.width || 1, S = Math.max(0, Math.min(1, (c - b.left) / _)), v = n + S * (a - n);
3379
+ return l(v);
3377
3380
  },
3378
3381
  [n, a, l]
3379
3382
  );
3380
- L(() => {
3383
+ O(() => {
3381
3384
  a <= n && process.env.NODE_ENV !== "production" && console.warn(
3382
3385
  `ThresholdRamp: max (${a}) must be greater than min (${n}); rendering degenerate strip.`
3383
3386
  );
3384
3387
  }, [n, a]);
3385
- const R = w(
3386
- (c, v) => {
3387
- const _ = f.find((S) => S.id === v);
3388
- i || _?.disabled || (c.preventDefault(), g(v));
3388
+ const M = w(
3389
+ (c, b) => {
3390
+ const _ = f.find((S) => S.id === b);
3391
+ i || _?.disabled || (c.preventDefault(), p(b));
3389
3392
  },
3390
3393
  [i, f]
3391
- ), P = M(f);
3394
+ ), P = R(f);
3392
3395
  P.current = f;
3393
- const k = M(t);
3394
- k.current = t, L(() => {
3396
+ const k = R(t);
3397
+ k.current = t, O(() => {
3395
3398
  if (!d) return;
3396
3399
  const c = (_) => {
3397
3400
  const S = h(_.clientX);
3398
- u(
3399
- (b) => b.map((x) => x.id === d ? { ...x, value: S } : x)
3401
+ g(
3402
+ (v) => v.map((x) => x.id === d ? { ...x, value: S } : x)
3400
3403
  );
3401
- }, v = (_) => {
3402
- const S = h(_.clientX), b = P.current.map(
3404
+ }, b = (_) => {
3405
+ const S = h(_.clientX), v = P.current.map(
3403
3406
  (x) => x.id === d ? { ...x, value: S } : x
3404
3407
  );
3405
- u(b), g(null), k.current(b);
3408
+ g(v), p(null), k.current(v);
3406
3409
  };
3407
- return window.addEventListener("pointermove", c), window.addEventListener("pointerup", v), window.addEventListener("pointercancel", v), () => {
3408
- window.removeEventListener("pointermove", c), window.removeEventListener("pointerup", v), window.removeEventListener("pointercancel", v);
3410
+ return window.addEventListener("pointermove", c), window.addEventListener("pointerup", b), window.addEventListener("pointercancel", b), () => {
3411
+ window.removeEventListener("pointermove", c), window.removeEventListener("pointerup", b), window.removeEventListener("pointercancel", b);
3409
3412
  };
3410
3413
  }, [d, h]);
3411
3414
  const T = a - n > 0 ? a - n : 1, I = w(
3412
- (c, v) => {
3413
- if (i || v.disabled) return;
3415
+ (c, b) => {
3416
+ if (i || b.disabled) return;
3414
3417
  const _ = a - n;
3415
3418
  if (_ <= 0) return;
3416
3419
  const S = c.shiftKey ? _ / 20 : _ / 100;
3417
- let b = v.value;
3420
+ let v = b.value;
3418
3421
  switch (c.key) {
3419
3422
  case "ArrowRight":
3420
3423
  case "ArrowUp":
3421
- b = v.value + S;
3424
+ v = b.value + S;
3422
3425
  break;
3423
3426
  case "ArrowLeft":
3424
3427
  case "ArrowDown":
3425
- b = v.value - S;
3428
+ v = b.value - S;
3426
3429
  break;
3427
3430
  case "Home":
3428
- b = n;
3431
+ v = n;
3429
3432
  break;
3430
3433
  case "End":
3431
- b = a;
3434
+ v = a;
3432
3435
  break;
3433
3436
  default:
3434
3437
  return;
3435
3438
  }
3436
3439
  c.preventDefault();
3437
- const x = Math.max(n, Math.min(a, b)), F = l(x);
3438
- if (F === v.value) return;
3440
+ const x = Math.max(n, Math.min(a, v)), F = l(x);
3441
+ if (F === b.value) return;
3439
3442
  const U = f.map(
3440
- (q) => q.id === v.id ? { ...q, value: F } : q
3443
+ (q) => q.id === b.id ? { ...q, value: F } : q
3441
3444
  );
3442
- u(U), t(U);
3445
+ g(U), t(U);
3443
3446
  },
3444
3447
  [i, n, a, f, t, l]
3445
3448
  );
3446
3449
  return /* @__PURE__ */ r("div", { className: "gloss-threshold-ramp", "data-disabled": i || void 0, children: /* @__PURE__ */ r(
3447
3450
  "div",
3448
3451
  {
3449
- ref: m,
3452
+ ref: u,
3450
3453
  className: "gloss-threshold-ramp__track",
3451
3454
  style: { background: y },
3452
3455
  children: f.map((c) => {
3453
- const v = (c.value - n) / T * 100;
3456
+ const b = (c.value - n) / T * 100;
3454
3457
  return /* @__PURE__ */ r(
3455
3458
  "span",
3456
3459
  {
3457
3460
  className: "gloss-threshold-ramp__stop",
3458
3461
  style: {
3459
- left: `${v}%`,
3462
+ left: `${b}%`,
3460
3463
  color: Ee(c)
3461
3464
  },
3462
3465
  "data-disabled": c.disabled || void 0,
3463
3466
  "data-dragging": d === c.id || void 0,
3464
- onPointerDown: (_) => R(_, c.id),
3467
+ onPointerDown: (_) => M(_, c.id),
3465
3468
  onKeyDown: (_) => I(_, c),
3466
3469
  "aria-label": c.label ?? `Stop at ${c.value}`,
3467
3470
  role: "slider",
@@ -3490,7 +3493,7 @@ function Ea({ option: e }) {
3490
3493
  a || t?.onKeyNav(d, e.value);
3491
3494
  },
3492
3495
  [a, t, e.value]
3493
- ), o = e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888", l = t?.firstFocusableValue === e.value, m = a ? -1 : l ? 0 : -1;
3496
+ ), o = e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888", l = t?.firstFocusableValue === e.value, u = a ? -1 : l ? 0 : -1;
3494
3497
  return /* @__PURE__ */ r(
3495
3498
  "button",
3496
3499
  {
@@ -3506,7 +3509,7 @@ function Ea({ option: e }) {
3506
3509
  "aria-label": e.label ?? e.value,
3507
3510
  "aria-disabled": a,
3508
3511
  disabled: a,
3509
- tabIndex: m,
3512
+ tabIndex: u,
3510
3513
  onClick: s,
3511
3514
  onKeyDown: i
3512
3515
  }
@@ -3520,63 +3523,63 @@ function Aa({
3520
3523
  disabled: s = !1,
3521
3524
  name: i
3522
3525
  }) {
3523
- const o = t !== void 0, [l, m] = $(n), d = o ? t : l, g = w(
3526
+ const o = t !== void 0, [l, u] = $(n), d = o ? t : l, p = w(
3524
3527
  (k) => {
3525
- o || m(k), a?.(k);
3528
+ o || u(k), a?.(k);
3526
3529
  },
3527
3530
  [o, a]
3528
3531
  ), f = w(
3529
3532
  (k) => d === k,
3530
3533
  [d]
3531
- ), u = M(/* @__PURE__ */ new Map()), p = w((k, T) => {
3532
- T ? u.current.set(k, T) : u.current.delete(k);
3534
+ ), g = R(/* @__PURE__ */ new Map()), m = w((k, T) => {
3535
+ T ? g.current.set(k, T) : g.current.delete(k);
3533
3536
  }, []), N = e.filter((k) => !k.disabled && !s), y = N.find((k) => k.value === d)?.value ?? N[0]?.value, h = w((k) => {
3534
- const T = u.current.get(k);
3537
+ const T = g.current.get(k);
3535
3538
  T && T.focus();
3536
- }, []), R = w(
3539
+ }, []), M = w(
3537
3540
  (k, T) => {
3538
3541
  if (s) return;
3539
3542
  const I = e.filter((S) => !S.disabled);
3540
3543
  if (I.length === 0) return;
3541
3544
  const c = I.findIndex((S) => S.value === T);
3542
3545
  if (c === -1) return;
3543
- let v = c;
3546
+ let b = c;
3544
3547
  switch (k.key) {
3545
3548
  case "ArrowRight":
3546
3549
  case "ArrowDown":
3547
- v = (c + 1) % I.length;
3550
+ b = (c + 1) % I.length;
3548
3551
  break;
3549
3552
  case "ArrowLeft":
3550
3553
  case "ArrowUp":
3551
- v = (c - 1 + I.length) % I.length;
3554
+ b = (c - 1 + I.length) % I.length;
3552
3555
  break;
3553
3556
  case "Home":
3554
- v = 0;
3557
+ b = 0;
3555
3558
  break;
3556
3559
  case "End":
3557
- v = I.length - 1;
3560
+ b = I.length - 1;
3558
3561
  break;
3559
3562
  case " ":
3560
3563
  case "Enter":
3561
- k.preventDefault(), g(T);
3564
+ k.preventDefault(), p(T);
3562
3565
  return;
3563
3566
  default:
3564
3567
  return;
3565
3568
  }
3566
3569
  k.preventDefault();
3567
- const _ = I[v].value;
3568
- h(_), g(_);
3570
+ const _ = I[b].value;
3571
+ h(_), p(_);
3569
3572
  },
3570
- [s, e, g, h]
3573
+ [s, e, p, h]
3571
3574
  ), P = {
3572
3575
  selectedValue: d,
3573
- select: g,
3576
+ select: p,
3574
3577
  isSelected: f,
3575
3578
  groupDisabled: s,
3576
3579
  name: i,
3577
- registerRef: p,
3580
+ registerRef: m,
3578
3581
  firstFocusableValue: y,
3579
- onKeyNav: R
3582
+ onKeyNav: M
3580
3583
  };
3581
3584
  return /* @__PURE__ */ r(at.Provider, { value: P, children: /* @__PURE__ */ r(
3582
3585
  "div",
@@ -3613,14 +3616,14 @@ function $a(e) {
3613
3616
  () => e.zones.map((h) => h.maxItems !== void 0 && h.items.length > h.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
3614
3617
  `useSortableZones: zone "${h.zoneKey}" exceeds maxItems (${h.items.length} > ${h.maxItems}); trimming to cap.`
3615
3618
  ), { ...h, items: h.items.slice(0, h.maxItems) }) : h)
3616
- ), [a, s] = $(null), [i, o] = $(null), l = M(null), m = M(e.onZoneChange);
3617
- m.current = e.onZoneChange;
3619
+ ), [a, s] = $(null), [i, o] = $(null), l = R(null), u = R(e.onZoneChange);
3620
+ u.current = e.onZoneChange;
3618
3621
  const d = ye(
3619
3622
  () => La(e.zones),
3620
3623
  [e.zones]
3621
- ), g = M(d);
3622
- L(() => {
3623
- g.current !== d && (g.current = d, !a && n(
3624
+ ), p = R(d);
3625
+ O(() => {
3626
+ p.current !== d && (p.current = d, !a && n(
3624
3627
  e.zones.map((h) => h.maxItems !== void 0 && h.items.length > h.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
3625
3628
  `useSortableZones: zone "${h.zoneKey}" exceeds maxItems (${h.items.length} > ${h.maxItems}); trimming to cap.`
3626
3629
  ), { ...h, items: h.items.slice(0, h.maxItems) }) : h)
@@ -3628,10 +3631,10 @@ function $a(e) {
3628
3631
  }, [d, e.zones, a]);
3629
3632
  const f = w(
3630
3633
  (h) => {
3631
- const R = h.active.id;
3634
+ const M = h.active.id;
3632
3635
  let P = null, k = null;
3633
3636
  for (const T of t) {
3634
- const I = T.items.find((c) => c.id === R);
3637
+ const I = T.items.find((c) => c.id === M);
3635
3638
  if (I) {
3636
3639
  P = I, k = T.zoneKey;
3637
3640
  break;
@@ -3640,57 +3643,57 @@ function $a(e) {
3640
3643
  l.current = k, s(P), o(k);
3641
3644
  },
3642
3645
  [t]
3643
- ), u = w(
3646
+ ), g = w(
3644
3647
  (h) => {
3645
3648
  if (!h.over) {
3646
3649
  o(l.current);
3647
3650
  return;
3648
3651
  }
3649
- const R = je(t, h.over.id);
3650
- o(R);
3652
+ const M = je(t, h.over.id);
3653
+ o(M);
3651
3654
  },
3652
3655
  [t]
3653
- ), p = w(
3656
+ ), m = w(
3654
3657
  (h) => {
3655
- const { active: R, over: P } = h, k = () => {
3658
+ const { active: M, over: P } = h, k = () => {
3656
3659
  l.current = null, s(null), o(null);
3657
3660
  };
3658
3661
  if (!P) {
3659
3662
  k();
3660
3663
  return;
3661
3664
  }
3662
- const T = Ae(t, R.id), I = je(t, P.id);
3665
+ const T = Ae(t, M.id), I = je(t, P.id);
3663
3666
  if (!T || !I) {
3664
3667
  k();
3665
3668
  return;
3666
3669
  }
3667
- let c = t.map((v) => ({ ...v, items: [...v.items] }));
3670
+ let c = t.map((b) => ({ ...b, items: [...b.items] }));
3668
3671
  if (T === I) {
3669
- const v = c.findIndex((F) => F.zoneKey === T), _ = c[v], S = _.items.findIndex((F) => F.id === R.id), b = _.items.findIndex((F) => F.id === P.id), x = b >= 0 ? b : Math.max(0, _.items.length - 1);
3670
- c[v] = {
3672
+ const b = c.findIndex((F) => F.zoneKey === T), _ = c[b], S = _.items.findIndex((F) => F.id === M.id), v = _.items.findIndex((F) => F.id === P.id), x = v >= 0 ? v : Math.max(0, _.items.length - 1);
3673
+ c[b] = {
3671
3674
  ..._,
3672
3675
  items: Oa(_.items, S, x)
3673
3676
  };
3674
3677
  } else {
3675
- const v = c.findIndex((O) => O.zoneKey === T), _ = c.findIndex((O) => O.zoneKey === I), S = c[v], b = c[_], x = S.items.find((O) => O.id === R.id);
3678
+ const b = c.findIndex((L) => L.zoneKey === T), _ = c.findIndex((L) => L.zoneKey === I), S = c[b], v = c[_], x = S.items.find((L) => L.id === M.id);
3676
3679
  if (!x) {
3677
3680
  k();
3678
3681
  return;
3679
3682
  }
3680
- const F = S.items.filter((O) => O.id !== R.id), U = b.items.findIndex((O) => O.id === P.id), q = U >= 0 ? U : b.items.length;
3681
- let j = F, G = [...b.items];
3682
- if (b.maxItems !== void 0 && G.length >= b.maxItems) {
3683
- const O = G[G.length - 1];
3684
- G = G.slice(0, b.maxItems - 1), j = [...F, O];
3683
+ const F = S.items.filter((L) => L.id !== M.id), U = v.items.findIndex((L) => L.id === P.id), q = U >= 0 ? U : v.items.length;
3684
+ let j = F, G = [...v.items];
3685
+ if (v.maxItems !== void 0 && G.length >= v.maxItems) {
3686
+ const L = G[G.length - 1];
3687
+ G = G.slice(0, v.maxItems - 1), j = [...F, L];
3685
3688
  }
3686
3689
  const B = Math.min(q, G.length), Z = [
3687
3690
  ...G.slice(0, B),
3688
3691
  x,
3689
3692
  ...G.slice(B)
3690
3693
  ];
3691
- c[v] = { ...S, items: j }, c[_] = { ...b, items: Z };
3694
+ c[b] = { ...S, items: j }, c[_] = { ...v, items: Z };
3692
3695
  }
3693
- n(c), m.current?.(c), k();
3696
+ n(c), u.current?.(c), k();
3694
3697
  },
3695
3698
  [t]
3696
3699
  ), N = w(
@@ -3701,11 +3704,11 @@ function $a(e) {
3701
3704
  []
3702
3705
  ), y = w(
3703
3706
  (h) => {
3704
- const R = Ae(t, h.id) ?? "";
3707
+ const M = Ae(t, h.id) ?? "";
3705
3708
  return {
3706
3709
  id: h.id,
3707
3710
  "data-item-id": h.id,
3708
- "data-zone-key": R
3711
+ "data-zone-key": M
3709
3712
  };
3710
3713
  },
3711
3714
  [t]
@@ -3717,11 +3720,11 @@ function $a(e) {
3717
3720
  getZoneProps: N,
3718
3721
  getItemProps: y,
3719
3722
  handleDragStart: f,
3720
- handleDragOver: u,
3721
- handleDragEnd: p
3723
+ handleDragOver: g,
3724
+ handleDragEnd: m
3722
3725
  };
3723
3726
  }
3724
- let ge = null, Ne = null, Me = !1;
3727
+ let ge = null, Ne = null, Re = !1;
3725
3728
  const Ba = [
3726
3729
  "DndContext",
3727
3730
  "DragOverlay",
@@ -3746,7 +3749,7 @@ function Ka(e, t) {
3746
3749
  return n.length === 0 ? { ok: !0 } : { ok: !1, missing: n };
3747
3750
  }
3748
3751
  function Wa() {
3749
- return ge ? Promise.resolve(ge) : Me ? Promise.resolve(null) : Ne || (Ne = (async () => {
3752
+ return ge ? Promise.resolve(ge) : Re ? Promise.resolve(null) : Ne || (Ne = (async () => {
3750
3753
  try {
3751
3754
  const [e, t, n] = await Promise.all([
3752
3755
  import("@dnd-kit/core"),
@@ -3759,21 +3762,21 @@ function Wa() {
3759
3762
  core: e,
3760
3763
  sortable: t,
3761
3764
  utilities: n
3762
- }, ge) : (Me = !0, process.env.NODE_ENV !== "production" && console.error(
3765
+ }, ge) : (Re = !0, process.env.NODE_ENV !== "production" && console.error(
3763
3766
  `SortableZones: @dnd-kit shape mismatch — missing exports: ${a.missing.join(", ")}. Check installed versions against optionalDependencies in @mt-gloss/ui.`
3764
3767
  ), null);
3765
3768
  } catch {
3766
- return Me = !0, null;
3769
+ return Re = !0, null;
3767
3770
  }
3768
3771
  })(), Ne);
3769
3772
  }
3770
3773
  function Ga(e) {
3771
- const { zones: t, onZoneChange: n, renderZone: a, renderItem: s, renderDragOverlay: i } = e, o = $a({ zones: t, onZoneChange: n }), [l, m] = H.useState(ge);
3774
+ const { zones: t, onZoneChange: n, renderZone: a, renderItem: s, renderDragOverlay: i } = e, o = $a({ zones: t, onZoneChange: n }), [l, u] = H.useState(ge);
3772
3775
  return H.useEffect(() => {
3773
3776
  if (l) return;
3774
3777
  let d = !0;
3775
- return Wa().then((g) => {
3776
- d && m(g);
3778
+ return Wa().then((p) => {
3779
+ d && u(p);
3777
3780
  }), () => {
3778
3781
  d = !1;
3779
3782
  };
@@ -3787,8 +3790,8 @@ function Ga(e) {
3787
3790
  renderDragOverlay: i
3788
3791
  }
3789
3792
  ) : /* @__PURE__ */ r("div", { "data-sortable-zones-passive": "true", children: o.zones.map((d) => {
3790
- const g = d.items.map((f) => /* @__PURE__ */ r(H.Fragment, { children: s(f) }, f.id));
3791
- return /* @__PURE__ */ r("div", { ...o.getZoneProps(d.zoneKey), children: a(d.zoneKey, d.items, g) }, d.zoneKey);
3793
+ const p = d.items.map((f) => /* @__PURE__ */ r(H.Fragment, { children: s(f) }, f.id));
3794
+ return /* @__PURE__ */ r("div", { ...o.getZoneProps(d.zoneKey), children: a(d.zoneKey, d.items, p) }, d.zoneKey);
3792
3795
  }) });
3793
3796
  }
3794
3797
  Ga.displayName = "SortableZones";
@@ -3799,10 +3802,10 @@ function nt({
3799
3802
  renderItem: a,
3800
3803
  renderDragOverlay: s
3801
3804
  }) {
3802
- const { core: i, sortable: o, utilities: l } = t, { DndContext: m, DragOverlay: d, useSensors: g, useSensor: f, useDroppable: u, PointerSensor: p, KeyboardSensor: N, closestCenter: y } = i, { SortableContext: h, verticalListSortingStrategy: R } = o, P = g(
3803
- f(p, { activationConstraint: { distance: 5 } }),
3805
+ const { core: i, sortable: o, utilities: l } = t, { DndContext: u, DragOverlay: d, useSensors: p, useSensor: f, useDroppable: g, PointerSensor: m, KeyboardSensor: N, closestCenter: y } = i, { SortableContext: h, verticalListSortingStrategy: M } = o, P = p(
3806
+ f(m, { activationConstraint: { distance: 5 } }),
3804
3807
  f(N)
3805
- ), k = m, T = d, I = h;
3808
+ ), k = u, T = d, I = h;
3806
3809
  return /* @__PURE__ */ D(
3807
3810
  k,
3808
3811
  {
@@ -3813,7 +3816,7 @@ function nt({
3813
3816
  onDragEnd: e.handleDragEnd,
3814
3817
  children: [
3815
3818
  e.zones.map((c) => {
3816
- const v = c.items.map((S) => S.id), _ = c.items.map((S) => /* @__PURE__ */ r(
3819
+ const b = c.items.map((S) => S.id), _ = c.items.map((S) => /* @__PURE__ */ r(
3817
3820
  rt,
3818
3821
  {
3819
3822
  id: S.id,
@@ -3828,8 +3831,8 @@ function nt({
3828
3831
  {
3829
3832
  zoneKey: c.zoneKey,
3830
3833
  zoneProps: e.getZoneProps(c.zoneKey),
3831
- useDroppable: u,
3832
- children: /* @__PURE__ */ r(I, { items: v, strategy: R, children: n(c.zoneKey, c.items, _) })
3834
+ useDroppable: g,
3835
+ children: /* @__PURE__ */ r(I, { items: b, strategy: M, children: n(c.zoneKey, c.items, _) })
3833
3836
  },
3834
3837
  c.zoneKey
3835
3838
  );
@@ -3841,12 +3844,12 @@ function nt({
3841
3844
  }
3842
3845
  nt.displayName = "SortableZonesInner";
3843
3846
  function rt({ id: e, useSortable: t, cssHelper: n, children: a }) {
3844
- const { attributes: s, listeners: i, setNodeRef: o, transform: l, transition: m, isDragging: d } = t({ id: e }), g = {
3847
+ const { attributes: s, listeners: i, setNodeRef: o, transform: l, transition: u, isDragging: d } = t({ id: e }), p = {
3845
3848
  transform: n?.Transform?.toString(l) ?? void 0,
3846
- transition: m,
3849
+ transition: u,
3847
3850
  opacity: d ? 0.5 : 1
3848
3851
  };
3849
- return /* @__PURE__ */ r("div", { ref: o, style: g, "data-sortable-item-id": e, ...s, ...i, children: a });
3852
+ return /* @__PURE__ */ r("div", { ref: o, style: p, "data-sortable-item-id": e, ...s, ...i, children: a });
3850
3853
  }
3851
3854
  rt.displayName = "SortableItem";
3852
3855
  function st({
@@ -3918,7 +3921,7 @@ function pr({
3918
3921
  pulseIndex: i,
3919
3922
  pulseNonce: o
3920
3923
  }) {
3921
- const l = gt.useRef([]);
3924
+ const l = mt.useRef([]);
3922
3925
  return l.current.length = e, /* @__PURE__ */ r(
3923
3926
  "div",
3924
3927
  {
@@ -3930,34 +3933,34 @@ function pr({
3930
3933
  if (e !== 0) {
3931
3934
  if (d.key === "ArrowRight") {
3932
3935
  d.preventDefault();
3933
- const g = (t + 1) % e;
3934
- n(g), requestAnimationFrame(() => l.current[g]?.focus());
3936
+ const p = (t + 1) % e;
3937
+ n(p), requestAnimationFrame(() => l.current[p]?.focus());
3935
3938
  } else if (d.key === "ArrowLeft") {
3936
3939
  d.preventDefault();
3937
- const g = (t - 1 + e) % e;
3938
- n(g), requestAnimationFrame(() => l.current[g]?.focus());
3940
+ const p = (t - 1 + e) % e;
3941
+ n(p), requestAnimationFrame(() => l.current[p]?.focus());
3939
3942
  }
3940
3943
  }
3941
3944
  },
3942
- children: Array.from({ length: e }, (d, g) => /* @__PURE__ */ r(
3945
+ children: Array.from({ length: e }, (d, p) => /* @__PURE__ */ r(
3943
3946
  "button",
3944
3947
  {
3945
3948
  ref: (f) => {
3946
- l.current[g] = f;
3949
+ l.current[p] = f;
3947
3950
  },
3948
3951
  type: "button",
3949
3952
  role: "tab",
3950
- "aria-selected": g === t,
3951
- "aria-label": g === s ? "Unconfirmed section" : `Section ${g + 1}`,
3952
- "data-state": g === s ? "provisional-hollow" : g === i ? "pulse" : g === t ? "current" : "hollow",
3953
- "data-section-index": g,
3953
+ "aria-selected": p === t,
3954
+ "aria-label": p === s ? "Unconfirmed section" : `Section ${p + 1}`,
3955
+ "data-state": p === s ? "provisional-hollow" : p === i ? "pulse" : p === t ? "current" : "hollow",
3956
+ "data-section-index": p,
3954
3957
  className: [
3955
3958
  "gloss-section-dots__dot",
3956
- g === t && "gloss-section-dots__dot--current"
3959
+ p === t && "gloss-section-dots__dot--current"
3957
3960
  ].filter(Boolean).join(" "),
3958
- onClick: () => n(g)
3961
+ onClick: () => n(p)
3959
3962
  },
3960
- g === i ? `${g}-${o ?? 0}` : g
3963
+ p === i ? `${p}-${o ?? 0}` : p
3961
3964
  ))
3962
3965
  }
3963
3966
  );
@@ -3982,8 +3985,8 @@ const Ua = H.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
3982
3985
  });
3983
3986
  Ua.displayName = "ContainerTable";
3984
3987
  export {
3985
- vr as Accordion,
3986
- br as AccordionContent,
3988
+ br as Accordion,
3989
+ vr as AccordionContent,
3987
3990
  yr as AccordionItem,
3988
3991
  wr as AccordionTrigger,
3989
3992
  _r as ActionStrip,
@@ -3993,8 +3996,8 @@ export {
3993
3996
  kr as AsyncLoader,
3994
3997
  xr as Autocomplete,
3995
3998
  Sr as Badge,
3996
- Rr as BarChartCard,
3997
- Mr as BarsBg,
3999
+ Mr as BarChartCard,
4000
+ Rr as BarsBg,
3998
4001
  gr as BottomToolbar,
3999
4002
  Tr as Button,
4000
4003
  Ir as ButtonGroup,
@@ -4013,254 +4016,254 @@ export {
4013
4016
  Wr as ChartControlBar,
4014
4017
  Gr as Checkbox,
4015
4018
  Vr as CheckboxGroup,
4016
- mt as Chip,
4017
- Hr as ColorPicker,
4018
- Ur as ComparisonCard,
4019
- jr as ContactForm,
4020
- Zr as ContainerCard,
4021
- qr as ContainerCardActions,
4022
- Yr as ContainerCardBody,
4023
- Qr as ContainerCardFooter,
4024
- Xr as ContainerCardHeader,
4025
- Jr as ContainerCardMedia,
4026
- es as ContainerCardSubtitle,
4027
- ts as ContainerCardTitle,
4028
- as as ContainerDialog,
4029
- ns as ContainerDialogActions,
4030
- rs as ContainerDialogBody,
4031
- ss as ContainerDialogHeader,
4019
+ Hr as Chip,
4020
+ Ur as ColorPicker,
4021
+ jr as ComparisonCard,
4022
+ Zr as ContactForm,
4023
+ qr as ContainerCard,
4024
+ Yr as ContainerCardActions,
4025
+ Qr as ContainerCardBody,
4026
+ Xr as ContainerCardFooter,
4027
+ Jr as ContainerCardHeader,
4028
+ es as ContainerCardMedia,
4029
+ ts as ContainerCardSubtitle,
4030
+ as as ContainerCardTitle,
4031
+ ns as ContainerDialog,
4032
+ rs as ContainerDialogActions,
4033
+ ss as ContainerDialogBody,
4034
+ is as ContainerDialogHeader,
4032
4035
  Ha as ContainerFormSection,
4033
- is as ContainerPanel,
4036
+ os as ContainerPanel,
4034
4037
  Ua as ContainerTable,
4035
4038
  Va as ContainerToolbar,
4036
- os as CreditCardForm,
4037
- ls as DEFAULT_FOOTER_IDS,
4039
+ ls as CreditCardForm,
4040
+ cs as DEFAULT_FOOTER_IDS,
4038
4041
  se as DEFAULT_GRID_INTERACTION_PHYSICS,
4039
- Lo as DEFAULT_MARKET_PRESETS,
4040
- cs as DEFAULT_OVERFLOW_IDS,
4041
- $o as DEFAULT_PINNED,
4042
+ $o as DEFAULT_MARKET_PRESETS,
4043
+ ds as DEFAULT_OVERFLOW_IDS,
4044
+ Bo as DEFAULT_PINNED,
4042
4045
  qe as DEFAULT_RESIZE_PHYSICS,
4043
- ds as DataTable,
4044
- us as DatePicker,
4045
- ms as DateRangePicker,
4046
- gs as DestructiveModal,
4046
+ us as DataTable,
4047
+ ms as DatePicker,
4048
+ gs as DateRangePicker,
4049
+ ps as DestructiveModal,
4047
4050
  ua as DevTuningPanel,
4048
- ps as DirectionCard,
4049
- hs as Dismissible,
4050
- fs as DistributionCard,
4051
+ hs as DirectionCard,
4052
+ fs as Dismissible,
4053
+ bs as DistributionCard,
4051
4054
  vs as DonutChart,
4052
4055
  lr as DragGhost,
4053
4056
  rr as DropAnchorCell,
4054
- bs as Dropdown,
4057
+ ys as Dropdown,
4055
4058
  ha as DualPaceBars,
4056
- ys as ENTITY_FILTER_KEYS,
4057
- ws as ENTITY_PROFILE_ROUTES,
4058
- _s as ENTITY_TYPE_PLURAL,
4059
+ ws as ENTITY_FILTER_KEYS,
4060
+ _s as ENTITY_PROFILE_ROUTES,
4061
+ Ns as ENTITY_TYPE_PLURAL,
4059
4062
  At as EdgeHoverHandle,
4060
4063
  or as EmptyCellPackAffordance,
4061
- Ns as EntityPicker,
4064
+ Ds as EntityPicker,
4062
4065
  X as EntityRow,
4063
- Ds as EntitySearchPanel,
4066
+ Cs as EntitySearchPanel,
4064
4067
  Sa as ExceptionListCard,
4065
- Ra as ExceptionListTilePreview,
4066
- Cs as Expandable,
4067
- ks as ExpandableChip,
4068
- xs as FLIP_AND_STAGE_TIMINGS,
4069
- Ss as FileUpload,
4068
+ Ma as ExceptionListTilePreview,
4069
+ ks as Expandable,
4070
+ xs as ExpandableChip,
4071
+ Ss as FLIP_AND_STAGE_TIMINGS,
4072
+ Ms as FileUpload,
4070
4073
  Rs as FilterChip,
4071
- Ms as FilterInput,
4072
- Ts as FlipAndStageProvider,
4073
- Is as Form,
4074
- Ps as FormDialog,
4075
- Fs as FormField,
4076
- Es as FusedShape,
4074
+ Ts as FilterInput,
4075
+ Is as FlipAndStageProvider,
4076
+ Ps as Form,
4077
+ Fs as FormDialog,
4078
+ Es as FormField,
4079
+ As as FusedShape,
4077
4080
  fa as GapReadout,
4078
4081
  Ot as GhostPreview,
4079
- As as GroupCheckbox,
4080
- Os as GroupRadio,
4082
+ Os as GroupCheckbox,
4083
+ Ls as GroupRadio,
4081
4084
  Nn as HARD_CLIP,
4082
- Ls as HighlightCard,
4083
- $s as HybridDatePicker,
4084
- Bs as ImportWizard,
4085
- Ma as InlineNudge,
4086
- zs as Input,
4087
- Ks as InputAddon,
4088
- Ws as InputGroup,
4085
+ $s as HighlightCard,
4086
+ Bs as HybridDatePicker,
4087
+ zs as ImportWizard,
4088
+ Ra as InlineNudge,
4089
+ Ks as Input,
4090
+ Ws as InputAddon,
4091
+ Gs as InputGroup,
4089
4092
  Da as LeaderboardCard,
4090
4093
  Ca as LeaderboardTilePreview,
4091
4094
  ya as LensChipGroup,
4092
- Gs as Link,
4093
- Vs as LoginForm,
4094
- be as MagnitudeBar,
4095
- Hs as MarketPresetRow,
4096
- Us as MaskPresets,
4097
- js as MaskedInput,
4098
- Zs as Menu,
4099
- qs as MenuDivider,
4100
- Ys as MenuGroup,
4101
- Qs as MenuItem,
4102
- Xs as MergePrompt,
4103
- Js as MetricCard,
4104
- ei as MetricCardGrid,
4095
+ Vs as Link,
4096
+ Hs as LoginForm,
4097
+ ve as MagnitudeBar,
4098
+ Us as MarketPresetRow,
4099
+ js as MaskPresets,
4100
+ Zs as MaskedInput,
4101
+ qs as Menu,
4102
+ Ys as MenuDivider,
4103
+ Qs as MenuGroup,
4104
+ Xs as MenuItem,
4105
+ Js as MergePrompt,
4106
+ ei as MetricCard,
4107
+ ti as MetricCardGrid,
4105
4108
  aa as MetricGroupContainer,
4106
- ti as MiniCalendar,
4109
+ ai as MiniCalendar,
4107
4110
  _a as MoreInLensRail,
4108
- ai as MultiSelect,
4109
- ni as NumberInput,
4110
- ri as ObjectArrow,
4111
- si as OrderFilterBar,
4112
- Bo as PERIOD_OPTIONS,
4111
+ ni as MultiSelect,
4112
+ ri as NumberInput,
4113
+ si as ObjectArrow,
4114
+ ii as OrderFilterBar,
4115
+ zo as PERIOD_OPTIONS,
4113
4116
  ur as PaceCard,
4114
4117
  mr as PaceTilePreview,
4115
4118
  Vt as PageChip,
4116
4119
  Ye as PageDropdown,
4117
- ii as PasswordInput,
4118
- oi as PaymentForm,
4119
- li as PaymentMethodSelect,
4120
- ci as PhoneInput,
4121
- di as PinToMetric,
4120
+ oi as PasswordInput,
4121
+ li as PaymentForm,
4122
+ ci as PaymentMethodSelect,
4123
+ di as PhoneInput,
4124
+ ui as PinToMetric,
4122
4125
  Aa as PresetSwatchRow,
4123
- ui as ProfileCard,
4124
- mi as ProgressCard,
4125
- gi as QuickConfigPanel,
4126
+ mi as ProfileCard,
4127
+ gi as ProgressCard,
4128
+ pi as QuickConfigPanel,
4126
4129
  Qt as RECONFIG_BACKSIDE_LABELS,
4127
- zo as ROLLING_OPTIONS,
4128
- pi as Radio,
4129
- hi as RadioGroup,
4130
- fi as RangeSlider,
4130
+ Ko as ROLLING_OPTIONS,
4131
+ hi as Radio,
4132
+ fi as RadioGroup,
4133
+ bi as RangeSlider,
4131
4134
  fe as RankBadge,
4132
4135
  tt as RankDelta,
4133
4136
  vi as Rating,
4134
4137
  ea as ReconfigBacksideButtons,
4135
- bi as RegistrationForm,
4138
+ yi as RegistrationForm,
4136
4139
  nr as ResizeEnvelope,
4137
- yi as Row1Controls,
4138
- wi as Row2FilterTray,
4139
- _i as SearchInput,
4140
+ wi as Row1Controls,
4141
+ _i as Row2FilterTray,
4142
+ Ni as SearchInput,
4140
4143
  ir as SectionDivider,
4141
4144
  pr as SectionDots,
4142
- Ni as SegmentCard,
4143
- Di as SegmentedControl,
4144
- Ci as Select,
4145
- ki as Selectable,
4146
- ve as SeverityDot,
4147
- xi as SimpleMetricCard,
4148
- Si as SimpleSelector,
4145
+ Di as SegmentCard,
4146
+ Ci as SegmentedControl,
4147
+ ki as Select,
4148
+ xi as Selectable,
4149
+ be as SeverityDot,
4150
+ Si as SimpleMetricCard,
4151
+ Mi as SimpleSelector,
4149
4152
  Ri as Skeleton,
4150
- Mi as SkeletonCard,
4151
- Ti as SkeletonChart,
4152
- Ii as SkeletonTable,
4153
- Pi as Slider,
4153
+ Ti as SkeletonCard,
4154
+ Ii as SkeletonChart,
4155
+ Pi as SkeletonTable,
4156
+ Fi as Slider,
4154
4157
  cr as SnapOutline,
4155
- Fi as Sortable,
4158
+ Ei as Sortable,
4156
4159
  Ga as SortableZones,
4157
- Ei as SparklineBg,
4160
+ Ai as SparklineBg,
4158
4161
  sr as SpilloverArc,
4159
- Ai as SplitButton,
4160
- Oi as StackedGroupCard,
4162
+ Oi as SplitButton,
4163
+ Li as StackedGroupCard,
4161
4164
  wa as StarterRail,
4162
- Li as StatusModeCard,
4165
+ $i as StatusModeCard,
4163
4166
  Et as StatusSlotChipMenu,
4164
- $i as Stepper,
4167
+ Bi as Stepper,
4165
4168
  Ze as SwingReveal,
4166
- Ko as TODAY_PRESET,
4169
+ Wo as TODAY_PRESET,
4167
4170
  re as TUNING_DEFAULTS,
4168
4171
  et as TUNING_STORAGE_KEY,
4169
- Bi as TabGroup,
4170
- zi as TabbedDataView,
4171
- Ki as TagInput,
4172
+ zi as TabGroup,
4173
+ Ki as TabbedDataView,
4174
+ Wi as TagInput,
4172
4175
  St as TargetInput,
4173
- Wi as Textarea,
4176
+ Gi as Textarea,
4174
4177
  Pa as ThresholdRamp,
4175
- Gi as TimeFrame,
4176
- Vi as TimePicker,
4177
- Hi as Toggle,
4178
- Ui as Tooltip,
4179
- ji as Transition,
4180
- Zi as TransitionGroup,
4181
- qi as TrendCard,
4182
- Yi as TrendIndicator,
4183
- Eo as UIContext,
4178
+ Vi as TimeFrame,
4179
+ Hi as TimePicker,
4180
+ Ui as Toggle,
4181
+ ji as Tooltip,
4182
+ Zi as Transition,
4183
+ qi as TransitionGroup,
4184
+ Yi as TrendCard,
4185
+ Qi as TrendIndicator,
4186
+ Ao as UIContext,
4184
4187
  Oe as UIContextProvider,
4185
- Qi as UnifiedBreakdownTable,
4186
- Xi as UnifiedContextMenu,
4188
+ Xi as UnifiedBreakdownTable,
4189
+ Ji as UnifiedContextMenu,
4187
4190
  Lt as VelocityBuffer,
4188
- Ji as addressGroupMetadata,
4189
- eo as addressSchema,
4191
+ eo as addressGroupMetadata,
4192
+ to as addressSchema,
4190
4193
  ln as allChips,
4191
- Rn as allStateFixtures,
4194
+ Mn as allStateFixtures,
4192
4195
  Sn as allVariantFixtures,
4193
4196
  mn as blockSamples,
4194
- to as buildDefaultOverflow,
4195
- vn as cardSamples,
4196
- bn as cascadePhysics,
4197
+ ao as buildDefaultOverflow,
4198
+ bn as cardSamples,
4199
+ vn as cascadePhysics,
4197
4200
  hn as chartSamples,
4198
4201
  pn as circleSamples,
4199
4202
  Dn as colorTokens,
4200
4203
  Yn as compactLayout,
4201
4204
  Bn as compactState,
4202
4205
  xn as computeGutterAnchorX,
4203
- ao as contactFormMetadata,
4204
- no as contactSchema,
4206
+ no as contactFormMetadata,
4207
+ ro as contactSchema,
4205
4208
  zn as contextMenuFixtures,
4206
- ro as creditCardFormMetadata,
4207
- so as creditCardSchema,
4209
+ so as creditCardFormMetadata,
4210
+ io as creditCardSchema,
4208
4211
  Tt as dateChip,
4209
4212
  Je as defaultControlBarState,
4210
- io as destructiveModalMetadata,
4211
- oo as durations,
4212
- lo as easings,
4213
+ oo as destructiveModalMetadata,
4214
+ lo as durations,
4215
+ co as easings,
4213
4216
  zt as emptyFixture,
4214
- Rt as entityChip,
4217
+ Mt as entityChip,
4215
4218
  Zt as entityNameActions,
4216
4219
  dn as entityTabGroup,
4217
4220
  Bt as errorFixture,
4218
- co as evaluateTintCondition,
4221
+ uo as evaluateTintCondition,
4219
4222
  $n as filteredState,
4220
- Wo as findPreset,
4221
- Go as formatDateRange,
4222
- Vo as formatMarketDates,
4223
- Ho as formatTrend,
4224
- Uo as formatValue,
4223
+ Go as findPreset,
4224
+ Vo as formatDateRange,
4225
+ Ho as formatMarketDates,
4226
+ Uo as formatTrend,
4227
+ jo as formatValue,
4225
4228
  Xn as fullLayout,
4226
- jo as generateMarketId,
4227
- uo as generateTabId,
4228
- Zo as getAllPresets,
4229
- qo as getDateRangeForPreset,
4230
- mo as getMenuActions,
4229
+ Zo as generateMarketId,
4230
+ mo as generateTabId,
4231
+ qo as getAllPresets,
4232
+ Yo as getDateRangeForPreset,
4233
+ go as getMenuActions,
4231
4234
  Cn as getMotionMode,
4232
- Yo as getPresetLabel,
4233
- go as getTransitionStyle,
4235
+ Qo as getPresetLabel,
4236
+ po as getTransitionStyle,
4234
4237
  qn as gridCards,
4235
- po as interpolate,
4236
- Qo as isInRange,
4237
- Xo as isMarketActive,
4238
- Jo as isSameDay,
4238
+ ho as interpolate,
4239
+ Xo as isInRange,
4240
+ Jo as isMarketActive,
4241
+ el as isSameDay,
4239
4242
  Ln as itemColumns,
4240
4243
  An as itemRows,
4241
4244
  $t as loadingFixture,
4242
- ho as loginFormMetadata,
4243
- fo as loginSchema,
4245
+ fo as loginFormMetadata,
4246
+ bo as loginSchema,
4244
4247
  It as manufacturerChip,
4245
4248
  ar as manyTabs,
4246
4249
  vo as mergeHandlers,
4247
- bo as mergeRefs,
4250
+ yo as mergeRefs,
4248
4251
  cn as metricTabGroup,
4249
4252
  er as mixedTabs,
4250
- el as normalizePresetId,
4253
+ tl as normalizePresetId,
4251
4254
  Yt as numericActions,
4252
4255
  On as orderColumns,
4253
4256
  qt as orderIdActions,
4254
4257
  En as orderRows,
4255
4258
  Jn as ordersTabs,
4256
- yo as parseNumericValue,
4257
- wo as paymentFormMetadata,
4258
- _o as paymentSchema,
4259
- No as presets,
4259
+ wo as parseNumericValue,
4260
+ _o as paymentFormMetadata,
4261
+ No as paymentSchema,
4262
+ Do as presets,
4260
4263
  wn as provisional,
4261
4264
  _n as reducedMotion,
4262
- Do as registrationFormMetadata,
4263
- Co as registrationSchema,
4265
+ Co as registrationFormMetadata,
4266
+ ko as registrationSchema,
4264
4267
  yn as rejectionFeedback,
4265
4268
  Wn as sampleCompareRanges,
4266
4269
  Hn as sampleCustomMarkets,
@@ -4271,7 +4274,7 @@ export {
4271
4274
  Gn as samplePreferences,
4272
4275
  jn as samplePresets,
4273
4276
  tr as singleTab,
4274
- Mn as sparklineFixture,
4277
+ Rn as sparklineFixture,
4275
4278
  Tn as sparklineUpFixture,
4276
4279
  Gt as staleDonutFixture,
4277
4280
  Kt as staleFixture,
@@ -4280,24 +4283,24 @@ export {
4280
4283
  Fn as standardFlatFixture,
4281
4284
  Qn as standardLayout,
4282
4285
  Pn as standardNegativeFixture,
4283
- Mt as statusChip,
4286
+ Rt as statusChip,
4284
4287
  me as swingReveal,
4285
4288
  fn as tableSamples,
4286
4289
  gn as textSamples,
4287
4290
  un as timeFrameTabGroup,
4288
- tl as toUppercasePresetId,
4291
+ al as toUppercasePresetId,
4289
4292
  on as useArrowNavigation,
4290
- ko as useCheckboxGroupContext,
4293
+ xo as useCheckboxGroupContext,
4291
4294
  kn as useEdgeHoverResize,
4292
- xo as useFilterLayout,
4293
- So as useFlipAndStage,
4295
+ So as useFilterLayout,
4296
+ Mo as useFlipAndStage,
4294
4297
  Ro as useFlipAndStageContext,
4295
- Mo as useFlipAndStageContextOptional,
4298
+ To as useFlipAndStageContextOptional,
4296
4299
  sn as useFocusReturn,
4297
- To as useFocusTrap,
4298
- Io as useFormContext,
4299
- Po as useRadioGroupContext,
4300
+ Io as useFocusTrap,
4301
+ Po as useFormContext,
4302
+ Fo as useRadioGroupContext,
4300
4303
  sa as useResizeTuning,
4301
4304
  $a as useSortableZones,
4302
- Ao as useUIContext
4305
+ Oo as useUIContext
4303
4306
  };