@mt-gloss/ui 0.1.47 → 0.1.48

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,30 +1,30 @@
1
- import { u as ht, C as ft } from "./Expandable-BgEhifn0.js";
2
- import { Q as Rr, V as Ir, T as Pr, U as Fr, a5 as Er, b8 as Ar, aB as Lr, aj as Or, $ as $r, ap as Br, N as Kr, aa as zr, bo as Gr, P as Wr, B as Vr, a as Hr, A as jr, K as Ur, bj as Zr, J as qr, L as Yr, E as Qr, D as Xr, H as Jr, F as es, by as ts, b as as, c as ns, O as rs, q as ss, af as is, aP as os, A as ls, K as cs, J as ds, L as us, E as ms, D as gs, H as ps, F as hs, b1 as fs, b4 as vs, b3 as bs, b2 as ys, b5 as ws, aE as _s, a7 as Ns, a6 as Ds, as as ks, m as Cs, o as xs, aH as Ss, ad as Ms, ba as Ts, ab as Rs, bp as Is, _ as Ps, bI as Fs, bH as Es, bJ as As, ar as Ls, aS as Os, bc as $s, bN as Bs, bw as Ks, p as zs, ao as Gs, bC as Ws, bt as Vs, a2 as Hs, at as js, a4 as Us, bB as Zs, bS as qs, G as Ys, f as Qs, ac as Xs, bK as Js, aV as ei, t as ti, x as ai, I as ni, i as ri, ay as si, bO as ii, M as oi, y as li, W as ci, Z as di, X as ui, Y as mi, au as gi, bi as pi, bQ as hi, bM as fi, aq as vi, w as bi, bq as yi, aU as wi, al as _i, aM as Ni, ai as Di, an as ki, aw as Ci, aT as xi, ae as Si, av as Mi, e as Ti, R as Ri, l as Ii, r as Pi, aJ as Fi, bz as Ei, bA as Ai, ak as Li, ag as Oi, j as $i, z as Bi, b9 as Ki, ah as zi, bP as Gi, be as Wi, bh as Vi, bf as Hi, bg as ji, k as Ui, bb as Zi, bn as qi, S as Yi, bl as Qi, bm as Xi, ax as Ji, bd as eo, bR as to, am as ao, v as no, bL as ro, n as so, h as io, s as oo, a0 as lo, a1 as co, a9 as uo, bk as mo, bx as go, bE as po, aC as ho, aD as fo, a8 as vo, aQ as bo, aR as yo, aF as wo, aG as _o, aI as No, aX as Do, aY as ko, br as Co, bG as xo, bF as So, a_ as Mo, a$ as To, az as Ro, aA as Io, b7 as Po, b6 as Fo, b0 as Eo, aN as Ao, aO as Lo, aZ as Oo, aK as $o, aL as Bo, d as Ko, bD as zo, bs as Go, bu as Wo, bv as Vo, aW as Ho, a3 as jo, g as Uo } from "./Expandable-BgEhifn0.js";
1
+ import { u as bt, C as vt } from "./Expandable-BgEhifn0.js";
2
+ import { Q as Lr, V as $r, T as Br, U as zr, a5 as Kr, b8 as Wr, aB as Gr, aj as Vr, $ as jr, ap as Hr, N as Ur, aa as Zr, bo as qr, P as Yr, B as Qr, a as Xr, A as Jr, K as es, bj as ts, J as as, L as ns, E as rs, D as ss, H as is, F as os, by as ls, b as cs, c as ds, O as us, q as ms, af as gs, aP as ps, A as hs, K as fs, J as bs, L as vs, E as ys, D as ws, H as _s, F as Ns, b1 as Ds, b4 as ks, b3 as Cs, b2 as xs, b5 as Ss, aE as Rs, a7 as Ts, a6 as Ms, as as Is, m as Ps, o as Fs, aH as Es, ad as As, ba as Os, ab as Ls, bp as $s, _ as Bs, bI as zs, bH as Ks, bJ as Ws, ar as Gs, aS as Vs, bc as js, bN as Hs, bw as Us, p as Zs, ao as qs, bC as Ys, bt as Qs, a2 as Xs, at as Js, a4 as ei, bB as ti, bS as ai, G as ni, f as ri, ac as si, bK as ii, aV as oi, t as li, x as ci, I as di, i as ui, ay as mi, bO as gi, M as pi, y as hi, W as fi, Z as bi, X as vi, Y as yi, au as wi, bi as _i, bQ as Ni, bM as Di, aq as ki, w as Ci, bq as xi, aU as Si, al as Ri, aM as Ti, ai as Mi, an as Ii, aw as Pi, aT as Fi, ae as Ei, av as Ai, e as Oi, R as Li, l as $i, r as Bi, aJ as zi, bz as Ki, bA as Wi, ak as Gi, ag as Vi, j as ji, z as Hi, b9 as Ui, ah as Zi, bP as qi, be as Yi, bh as Qi, bf as Xi, bg as Ji, k as eo, bb as to, bn as ao, S as no, bl as ro, bm as so, ax as io, bd as oo, bR as lo, am as co, v as uo, bL as mo, n as go, h as po, s as ho, a0 as fo, a1 as bo, a9 as vo, bk as yo, bx as wo, bE as _o, aC as No, aD as Do, a8 as ko, aQ as Co, aR as xo, aF as So, aG as Ro, aI as To, aX as Mo, aY as Io, br as Po, bG as Fo, bF as Eo, a_ as Ao, a$ as Oo, az as Lo, aA as $o, b7 as Bo, b6 as zo, b0 as Ko, aN as Wo, aO as Go, aZ as Vo, aK as jo, aL as Ho, d as Uo, bD as Zo, bs as qo, bu as Yo, bv as Qo, aW as Xo, a3 as Jo, g as el } from "./Expandable-BgEhifn0.js";
3
3
  import { jsxs as N, jsx as r, Fragment as te } from "react/jsx-runtime";
4
- import * as Xe from "react";
5
- import H, { useRef as T, useEffect as L, useState as $, useCallback as w, useId as vt, forwardRef as bt, useMemo as ye, createContext as yt, useContext as wt } from "react";
6
- import { motion as De, useMotionValue as _t, animate as We, useDragControls as Nt } from "framer-motion";
7
- import { B as Dt, a as pe, b as Re, U as Oe } from "./UIContext-CDdyubSF.js";
8
- import { c as qo, u as Yo } from "./UIContext-CDdyubSF.js";
9
- import { createPortal as kt } from "react-dom";
10
- import { DEFAULT_MARKET_PRESETS as Xo, DEFAULT_PINNED as Jo, PERIOD_OPTIONS as el, ROLLING_OPTIONS as tl, TODAY_PRESET as al, findPreset as nl, formatDateRange as rl, formatMarketDates as sl, formatTrend as il, formatValue as ol, generateMarketId as ll, getAllPresets as cl, getDateRangeForPreset as dl, getPresetLabel as ul, isInRange as ml, isMarketActive as gl, isSameDay as pl, normalizePresetId as hl, toUppercasePresetId as fl } from "@mt-gloss/utils";
11
- import Ct from "@mui/icons-material/AccessTime";
12
- import xt from "@mui/icons-material/Tune";
13
- import St from "@mui/icons-material/ViewColumn";
4
+ import * as Je from "react";
5
+ import j, { useRef as T, useEffect as O, useState as $, useCallback as _, useId as yt, forwardRef as wt, useMemo as we, createContext as _t, useContext as Nt } from "react";
6
+ import { motion as ke, useMotionValue as Dt, animate as Ve, useDragControls as kt } from "framer-motion";
7
+ import { B as Ct, a as he, b as Ie, U as $e } from "./UIContext-CDdyubSF.js";
8
+ import { c as al, u as nl } from "./UIContext-CDdyubSF.js";
9
+ import { createPortal as xt } from "react-dom";
10
+ import { DEFAULT_MARKET_PRESETS as sl, DEFAULT_PINNED as il, PERIOD_OPTIONS as ol, ROLLING_OPTIONS as ll, TODAY_PRESET as cl, findPreset as dl, formatDateRange as ul, formatMarketDates as ml, formatTrend as gl, formatValue as pl, generateMarketId as hl, getAllPresets as fl, getDateRangeForPreset as bl, getPresetLabel as vl, isInRange as yl, isMarketActive as wl, isSameDay as _l, normalizePresetId as Nl, toUppercasePresetId as Dl } from "@mt-gloss/utils";
11
+ import St from "@mui/icons-material/AccessTime";
12
+ import Rt from "@mui/icons-material/Tune";
13
+ import Tt from "@mui/icons-material/ViewColumn";
14
14
  import Mt from "@mui/icons-material/AspectRatio";
15
- import Tt from "@mui/icons-material/Palette";
16
- import Rt from "@mui/icons-material/PushPin";
17
- function un(e = {}) {
15
+ import It from "@mui/icons-material/Palette";
16
+ import Pt from "@mui/icons-material/PushPin";
17
+ function bn(e = {}) {
18
18
  const { enabled: t = !0, returnTo: n } = e, a = T(null);
19
- return L(() => {
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);
25
25
  }, [t]), a;
26
26
  }
27
- function mn(e) {
27
+ function vn(e) {
28
28
  const {
29
29
  items: t,
30
30
  activeIndex: n,
@@ -33,65 +33,65 @@ function mn(e) {
33
33
  orientation: s = "vertical",
34
34
  enabled: o = !0,
35
35
  isItemDisabled: l,
36
- onSelect: d,
36
+ onSelect: c,
37
37
  onEscape: u
38
- } = e, [v, f] = $(-1), m = n !== void 0 ? n : v, g = w(
39
- (c) => {
40
- n === void 0 && f(c), a?.(c);
38
+ } = e, [f, h] = $(-1), m = n !== void 0 ? n : f, g = _(
39
+ (d) => {
40
+ n === void 0 && h(d), a?.(d);
41
41
  },
42
42
  [n, a]
43
- ), _ = w(() => t.map((c, b) => ({ item: c, index: b })).filter(({ item: c, index: b }) => !l?.(c, b)).map(({ index: c }) => c), [t, l]), p = w(
44
- (c, b) => {
45
- const D = _();
43
+ ), w = _(() => t.map((d, v) => ({ item: d, index: v })).filter(({ item: d, index: v }) => !l?.(d, v)).map(({ index: d }) => d), [t, l]), p = _(
44
+ (d, v) => {
45
+ const D = w();
46
46
  if (D.length === 0) return -1;
47
- const S = D.indexOf(c);
47
+ const S = D.indexOf(d);
48
48
  if (S === -1)
49
- return b === 1 ? D.find((x) => x > c) ?? (i ? D[0] : -1) : [...D].reverse().find((F) => F < c) ?? (i ? D[D.length - 1] : -1);
50
- let y = S + b;
49
+ return v === 1 ? D.find((x) => x > d) ?? (i ? D[0] : -1) : [...D].reverse().find((F) => F < d) ?? (i ? D[D.length - 1] : -1);
50
+ let y = S + v;
51
51
  return i ? y = (y + D.length) % D.length : y = Math.max(0, Math.min(D.length - 1, y)), D[y];
52
52
  },
53
- [_, i]
54
- ), h = w(() => {
55
- const c = _();
56
- c.length > 0 && g(c[0]);
57
- }, [_, g]), M = w(() => {
58
- const c = _();
59
- c.length > 0 && g(c[c.length - 1]);
60
- }, [_, g]), P = w(() => {
61
- const c = p(m, 1);
62
- c !== -1 && g(c);
63
- }, [m, p, g]), C = w(() => {
64
- const c = p(m, -1);
65
- c !== -1 && g(c);
66
- }, [m, p, g]), R = w(() => {
53
+ [w, i]
54
+ ), b = _(() => {
55
+ const d = w();
56
+ d.length > 0 && g(d[0]);
57
+ }, [w, g]), R = _(() => {
58
+ const d = w();
59
+ d.length > 0 && g(d[d.length - 1]);
60
+ }, [w, g]), P = _(() => {
61
+ const d = p(m, 1);
62
+ d !== -1 && g(d);
63
+ }, [m, p, g]), C = _(() => {
64
+ const d = p(m, -1);
65
+ d !== -1 && g(d);
66
+ }, [m, p, g]), M = _(() => {
67
67
  g(-1);
68
- }, [g]), I = w(
69
- (c) => {
68
+ }, [g]), I = _(
69
+ (d) => {
70
70
  if (!o) return;
71
- const { key: b } = c, D = b === "ArrowUp" && (s === "vertical" || s === "both"), S = b === "ArrowDown" && (s === "vertical" || s === "both"), y = b === "ArrowLeft" && (s === "horizontal" || s === "both"), x = b === "ArrowRight" && (s === "horizontal" || s === "both");
71
+ const { key: v } = d, D = v === "ArrowUp" && (s === "vertical" || s === "both"), S = v === "ArrowDown" && (s === "vertical" || s === "both"), y = v === "ArrowLeft" && (s === "horizontal" || s === "both"), x = v === "ArrowRight" && (s === "horizontal" || s === "both");
72
72
  if (D || y) {
73
- c.preventDefault(), m === -1 ? M() : C();
73
+ d.preventDefault(), m === -1 ? R() : C();
74
74
  return;
75
75
  }
76
76
  if (S || x) {
77
- c.preventDefault(), m === -1 ? h() : P();
77
+ d.preventDefault(), m === -1 ? b() : P();
78
78
  return;
79
79
  }
80
- if (b === "Home") {
81
- c.preventDefault(), h();
80
+ if (v === "Home") {
81
+ d.preventDefault(), b();
82
82
  return;
83
83
  }
84
- if (b === "End") {
85
- c.preventDefault(), M();
84
+ if (v === "End") {
85
+ d.preventDefault(), R();
86
86
  return;
87
87
  }
88
- if ((b === "Enter" || b === " ") && m >= 0 && m < t.length) {
89
- c.preventDefault();
88
+ if ((v === "Enter" || v === " ") && m >= 0 && m < t.length) {
89
+ d.preventDefault();
90
90
  const F = t[m];
91
- l?.(F, m) || d?.(F, m);
91
+ l?.(F, m) || c?.(F, m);
92
92
  return;
93
93
  }
94
- if (b === "Escape") {
94
+ if (v === "Escape") {
95
95
  u?.();
96
96
  return;
97
97
  }
@@ -101,12 +101,12 @@ function mn(e) {
101
101
  s,
102
102
  m,
103
103
  t,
104
- h,
105
- M,
104
+ b,
105
+ R,
106
106
  P,
107
107
  C,
108
108
  l,
109
- d,
109
+ c,
110
110
  u
111
111
  ]
112
112
  );
@@ -114,14 +114,14 @@ function mn(e) {
114
114
  focusedIndex: m,
115
115
  setFocusedIndex: g,
116
116
  handleKeyDown: I,
117
- focusFirst: h,
118
- focusLast: M,
117
+ focusFirst: b,
118
+ focusLast: R,
119
119
  focusNext: P,
120
120
  focusPrevious: C,
121
- resetFocus: R
121
+ resetFocus: M
122
122
  };
123
123
  }
124
- const It = ({
124
+ const Ft = ({
125
125
  label: e = "Set a target",
126
126
  unit: t,
127
127
  currentValue: n,
@@ -129,19 +129,19 @@ const It = ({
129
129
  onSkip: i,
130
130
  hint: s
131
131
  }) => {
132
- const [o, l] = $(n != null ? String(n) : ""), d = () => {
132
+ const [o, l] = $(n != null ? String(n) : ""), c = () => {
133
133
  const g = parseFloat(o);
134
134
  Number.isNaN(g) || a(g);
135
135
  }, u = (g) => {
136
- g.key === "Enter" ? (g.preventDefault(), d()) : g.key === "Escape" && (g.preventDefault(), i?.());
137
- }, v = vt(), f = `gloss-target-input-field-${v}`, m = s ? `gloss-target-input-hint-${v}` : void 0;
136
+ g.key === "Enter" ? (g.preventDefault(), c()) : g.key === "Escape" && (g.preventDefault(), i?.());
137
+ }, f = yt(), h = `gloss-target-input-field-${f}`, m = s ? `gloss-target-input-hint-${f}` : void 0;
138
138
  return /* @__PURE__ */ N("div", { className: "gloss-target-input", children: [
139
- /* @__PURE__ */ r("label", { className: "gloss-target-input__label", htmlFor: f, children: e }),
139
+ /* @__PURE__ */ r("label", { className: "gloss-target-input__label", htmlFor: h, children: e }),
140
140
  /* @__PURE__ */ N("div", { className: "gloss-target-input__field-row", children: [
141
141
  /* @__PURE__ */ r(
142
142
  "input",
143
143
  {
144
- id: f,
144
+ id: h,
145
145
  type: "number",
146
146
  className: "gloss-target-input__field",
147
147
  value: o,
@@ -160,7 +160,7 @@ const It = ({
160
160
  {
161
161
  type: "button",
162
162
  className: "gloss-target-input__confirm",
163
- onClick: d,
163
+ onClick: c,
164
164
  children: "Confirm"
165
165
  }
166
166
  ),
@@ -175,43 +175,43 @@ const It = ({
175
175
  )
176
176
  ] })
177
177
  ] });
178
- }, ke = (e) => {
179
- }, Pt = {
178
+ }, Ce = (e) => {
179
+ }, Et = {
180
180
  id: "entity-filter-1",
181
181
  label: "Customer: Acme Corp",
182
182
  field: "customer",
183
183
  value: "acme-corp-123",
184
- onRemove: ke
185
- }, Ft = {
184
+ onRemove: Ce
185
+ }, At = {
186
186
  id: "status-filter-1",
187
187
  label: "Status: Open",
188
188
  field: "status",
189
189
  value: "open",
190
- onRemove: ke
191
- }, Et = {
190
+ onRemove: Ce
191
+ }, Ot = {
192
192
  id: "date-filter-1",
193
193
  label: "Date: Mar 1 - Mar 15",
194
194
  field: "dateRange",
195
195
  value: "2026-03-01..2026-03-15",
196
- onRemove: ke
197
- }, At = {
196
+ onRemove: Ce
197
+ }, Lt = {
198
198
  id: "mfg-filter-1",
199
199
  label: "Manufacturer: Widget Co",
200
200
  field: "manufacturer",
201
201
  value: "widget-co-456",
202
- onRemove: ke
203
- }, gn = [
204
- Pt,
205
- Ft,
202
+ onRemove: Ce
203
+ }, yn = [
206
204
  Et,
207
- At
208
- ], pn = {
205
+ At,
206
+ Ot,
207
+ Lt
208
+ ], wn = {
209
209
  id: "metric-toggle",
210
210
  tabs: [
211
211
  { id: "$", label: "$", mono: !0 },
212
212
  { id: "#", label: "#", mono: !0 }
213
213
  ]
214
- }, hn = {
214
+ }, _n = {
215
215
  id: "entity-type",
216
216
  tabs: [
217
217
  { id: "orders", label: "Orders" },
@@ -219,7 +219,7 @@ const It = ({
219
219
  { id: "customers", label: "Customers" },
220
220
  { id: "manufacturers", label: "Manufacturers" }
221
221
  ]
222
- }, fn = {
222
+ }, Nn = {
223
223
  id: "time-frame",
224
224
  tabs: [
225
225
  { id: "MTD", label: "MTD" },
@@ -227,30 +227,30 @@ const It = ({
227
227
  { id: "YTD", label: "YTD" },
228
228
  { id: "LYTD", label: "LYTD" }
229
229
  ]
230
- }, vn = [
230
+ }, Dn = [
231
231
  { variant: "block", width: "100%", height: 16 },
232
232
  { variant: "block", width: 200, height: 32, borderRadius: 8 },
233
233
  { variant: "block", width: "80%", height: 12, borderRadius: "4px" },
234
234
  { variant: "block", width: 120, height: 44, borderRadius: 22 }
235
- ], bn = [
235
+ ], kn = [
236
236
  { variant: "text", lines: 3, lineHeight: 14, gap: 8 },
237
237
  { variant: "text", lines: 2, lineHeight: 16, gap: 10 },
238
238
  { variant: "text", lines: 5, lineHeight: 12, gap: 6 }
239
- ], yn = [
239
+ ], Cn = [
240
240
  { variant: "circle", size: 24 },
241
241
  { variant: "circle", size: 40 },
242
242
  { variant: "circle", size: 64 }
243
- ], wn = [
243
+ ], xn = [
244
244
  { bars: 10, maxHeight: 120 },
245
245
  { bars: 5, maxHeight: 80 }
246
- ], _n = [
246
+ ], Sn = [
247
247
  { rows: 5, columns: 3, hasCheckbox: !1, rowHeight: 44 },
248
248
  { rows: 8, columns: 5, hasCheckbox: !0, rowHeight: 44 }
249
- ], Nn = [
249
+ ], Rn = [
250
250
  { variant: "value", colSpan: 1 },
251
251
  { variant: "trend", colSpan: 2 },
252
252
  { variant: "target", colSpan: 1 }
253
- ], Ve = {
253
+ ], je = {
254
254
  position: "fixed",
255
255
  zIndex: 9999,
256
256
  background: "rgba(255,255,255,0.92)",
@@ -262,7 +262,7 @@ const It = ({
262
262
  minWidth: 148,
263
263
  paddingTop: 4,
264
264
  paddingBottom: 4
265
- }, Ie = (e) => ({
265
+ }, Pe = (e) => ({
266
266
  padding: "6px 12px",
267
267
  fontSize: 12,
268
268
  lineHeight: 1.4,
@@ -276,16 +276,16 @@ const It = ({
276
276
  width: "100%",
277
277
  textAlign: "left",
278
278
  border: "none"
279
- }), Lt = (e) => ({
280
- ...Ie(e),
279
+ }), $t = (e) => ({
280
+ ...Pe(e),
281
281
  color: e ? "#4338ca" : "#4f46e5",
282
282
  fontWeight: 600
283
- }), Ot = {
283
+ }), Bt = {
284
284
  height: 1,
285
285
  background: "rgba(0,0,0,0.06)",
286
286
  margin: "3px 10px"
287
287
  };
288
- function $t({
288
+ function zt({
289
289
  open: e,
290
290
  anchorEl: t,
291
291
  statusId: n,
@@ -294,44 +294,44 @@ function $t({
294
294
  overflowActions: s,
295
295
  onClose: o
296
296
  }) {
297
- const [l, d] = $(null), u = T(null), v = w(() => {
298
- if (!t) return { ...Ve, top: 0, left: 0 };
297
+ const [l, c] = $(null), u = T(null), f = _(() => {
298
+ if (!t) return { ...je, top: 0, left: 0 };
299
299
  const g = t.getBoundingClientRect();
300
300
  return {
301
- ...Ve,
301
+ ...je,
302
302
  top: g.bottom + 4,
303
303
  left: g.left
304
304
  };
305
305
  }, [t]);
306
- if (L(() => {
306
+ if (O(() => {
307
307
  if (!e) return;
308
- const g = (_) => {
309
- _.key === "Escape" && o();
308
+ const g = (w) => {
309
+ w.key === "Escape" && o();
310
310
  };
311
311
  return document.addEventListener("keydown", g), () => document.removeEventListener("keydown", g);
312
- }, [e, o]), L(() => {
312
+ }, [e, o]), O(() => {
313
313
  if (!e) return;
314
- const g = (_) => {
315
- u.current && !u.current.contains(_.target) && o();
314
+ const g = (w) => {
315
+ u.current && !u.current.contains(w.target) && o();
316
316
  };
317
317
  return document.addEventListener("pointerdown", g, !0), () => document.removeEventListener("pointerdown", g, !0);
318
318
  }, [e, o]), !e) return null;
319
- const f = s && s.length > 0, m = /* @__PURE__ */ N(
319
+ const h = s && s.length > 0, m = /* @__PURE__ */ N(
320
320
  "div",
321
321
  {
322
322
  ref: u,
323
323
  "data-status-chip-menu": n,
324
324
  role: "menu",
325
325
  "aria-label": "Status actions",
326
- style: v(),
326
+ style: f(),
327
327
  children: [
328
328
  /* @__PURE__ */ r(
329
329
  "button",
330
330
  {
331
331
  role: "menuitem",
332
- style: Lt(l === "__primary"),
333
- onMouseEnter: () => d("__primary"),
334
- onMouseLeave: () => d(null),
332
+ style: $t(l === "__primary"),
333
+ onMouseEnter: () => c("__primary"),
334
+ onMouseLeave: () => c(null),
335
335
  onClick: () => {
336
336
  a(n), o();
337
337
  },
@@ -342,23 +342,23 @@ function $t({
342
342
  "button",
343
343
  {
344
344
  role: "menuitem",
345
- style: Ie(l === "__graph"),
346
- onMouseEnter: () => d("__graph"),
347
- onMouseLeave: () => d(null),
345
+ style: Pe(l === "__graph"),
346
+ onMouseEnter: () => c("__graph"),
347
+ onMouseLeave: () => c(null),
348
348
  onClick: () => {
349
349
  i(n), o();
350
350
  },
351
351
  children: "Show on graph"
352
352
  }
353
353
  ),
354
- f && /* @__PURE__ */ r("div", { style: Ot }),
355
- f && s?.map((g) => /* @__PURE__ */ r(
354
+ h && /* @__PURE__ */ r("div", { style: Bt }),
355
+ h && s?.map((g) => /* @__PURE__ */ r(
356
356
  "button",
357
357
  {
358
358
  role: "menuitem",
359
- style: Ie(l === g.id),
360
- onMouseEnter: () => d(g.id),
361
- onMouseLeave: () => d(null),
359
+ style: Pe(l === g.id),
360
+ onMouseEnter: () => c(g.id),
361
+ onMouseLeave: () => c(null),
362
362
  onClick: () => {
363
363
  g.onSelect(n), o();
364
364
  },
@@ -369,33 +369,33 @@ function $t({
369
369
  ]
370
370
  }
371
371
  );
372
- return kt(m, document.body);
372
+ return xt(m, document.body);
373
373
  }
374
- $t.displayName = "StatusSlotChipMenu";
375
- const Dn = {
374
+ zt.displayName = "StatusSlotChipMenu";
375
+ const Tn = {
376
376
  forwardStaggerMs: 50,
377
377
  reverseStaggerMs: 30,
378
378
  springStiffness: 380,
379
379
  springDamping: 32,
380
380
  reverseVelocityMultiplier: 1.4
381
- }, me = {
381
+ }, ge = {
382
382
  enterDurationMs: 220,
383
383
  exitDurationMs: 140,
384
384
  enterEasing: "cubic-bezier(0.34, 1.56, 0.64, 1)",
385
385
  exitEasing: "cubic-bezier(0.4, 0, 1, 1)",
386
386
  translateOffsetPx: 8
387
- }, kn = {
387
+ }, Mn = {
388
388
  shiverCycles: 3,
389
389
  shiverAmplitudePx: 2,
390
390
  shiverDurationMs: 180,
391
391
  validCellOpacity: 0.6
392
- }, Cn = {
392
+ }, In = {
393
393
  materializeMs: 180,
394
394
  dematerializeMs: 140,
395
395
  easing: "cubic-bezier(0.22, 1, 0.36, 1)",
396
396
  dotStrokePx: 2,
397
397
  dividerDashGapPx: 4
398
- }, xn = {
398
+ }, Pn = {
399
399
  cascadeStaggerMs: 0,
400
400
  cascadeSpringCapMs: 120,
401
401
  swingEnterMs: 100,
@@ -404,7 +404,7 @@ const Dn = {
404
404
  provisionalStyle: "opacity",
405
405
  shiverMs: 200,
406
406
  shiverStyle: "color-flash"
407
- }, Sn = !0, Mn = {
407
+ }, Fn = !0, En = {
408
408
  rejectionFill: "var(--gloss-rejection-fill)",
409
409
  rejectionStroke: "var(--gloss-rejection-stroke)",
410
410
  validFill: "var(--gloss-valid-fill)",
@@ -412,7 +412,7 @@ const Dn = {
412
412
  validCellStroke: "var(--gloss-valid-cell-stroke)",
413
413
  provisionalWash: "var(--gloss-provisional-wash)"
414
414
  };
415
- function Tn() {
415
+ function Kt() {
416
416
  if (typeof window > "u") return "full";
417
417
  try {
418
418
  return window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "reduced" : "full";
@@ -420,13 +420,13 @@ function Tn() {
420
420
  return "full";
421
421
  }
422
422
  }
423
- const Pe = ({ visible: e, variant: t, trigger: n, children: a, className: i }) => {
423
+ const Fe = ({ visible: e, variant: t, trigger: n, children: a, className: i }) => {
424
424
  const s = {
425
- "--gloss-swing-enter-ms": `${me.enterDurationMs}ms`,
426
- "--gloss-swing-exit-ms": `${me.exitDurationMs}ms`,
427
- "--gloss-swing-offset": `${me.translateOffsetPx}px`,
428
- "--gloss-swing-enter-easing": me.enterEasing,
429
- "--gloss-swing-exit-easing": me.exitEasing
425
+ "--gloss-swing-enter-ms": `${ge.enterDurationMs}ms`,
426
+ "--gloss-swing-exit-ms": `${ge.exitDurationMs}ms`,
427
+ "--gloss-swing-offset": `${ge.translateOffsetPx}px`,
428
+ "--gloss-swing-enter-easing": ge.enterEasing,
429
+ "--gloss-swing-exit-easing": ge.exitEasing
430
430
  }, o = [
431
431
  "gloss-swing-reveal",
432
432
  `gloss-swing-reveal--${t}`,
@@ -444,9 +444,9 @@ const Pe = ({ visible: e, variant: t, trigger: n, children: a, className: i }) =
444
444
  children: a
445
445
  }
446
446
  );
447
- }, Bt = bt(
448
- function({ state: t, onPointerDown: n, onPointerUp: a, onPointerEnter: i, onPointerLeave: s, onKeyboardStep: o, onLostPointerCapture: l, edge: d = "right", ariaLabel: u = "Resize card" }, v) {
449
- const f = t === "handle-visible" || t === "dragging" || t === "settling", m = (p) => {
447
+ }, Wt = wt(
448
+ function({ state: t, onPointerDown: n, onPointerUp: a, onPointerEnter: i, onPointerLeave: s, onKeyboardStep: o, onLostPointerCapture: l, edge: c = "right", ariaLabel: u = "Resize card" }, f) {
449
+ const h = t === "handle-visible" || t === "dragging" || t === "settling", m = (p) => {
450
450
  try {
451
451
  p.currentTarget.setPointerCapture(p.pointerId);
452
452
  } catch {
@@ -458,35 +458,35 @@ const Pe = ({ visible: e, variant: t, trigger: n, children: a, className: i }) =
458
458
  } catch {
459
459
  }
460
460
  a(p);
461
- }, _ = (p) => {
462
- !f || !o || (p.key === "ArrowRight" ? (p.preventDefault(), o("grow")) : p.key === "ArrowLeft" && (p.preventDefault(), o("shrink")));
461
+ }, w = (p) => {
462
+ !h || !o || (p.key === "ArrowRight" ? (p.preventDefault(), o("grow")) : p.key === "ArrowLeft" && (p.preventDefault(), o("shrink")));
463
463
  };
464
- return /* @__PURE__ */ r(Pe, { visible: f, variant: "handle", trigger: "hover", children: /* @__PURE__ */ r(
464
+ return /* @__PURE__ */ r(Fe, { visible: h, variant: "handle", trigger: "hover", children: /* @__PURE__ */ r(
465
465
  "button",
466
466
  {
467
- ref: v,
467
+ ref: f,
468
468
  type: "button",
469
469
  "aria-label": u,
470
- "data-edge": d,
470
+ "data-edge": c,
471
471
  "data-resize-state": t,
472
472
  className: [
473
473
  "gloss-edge-handle",
474
- `gloss-edge-handle--${d}`,
475
- f ? "gloss-edge-handle--visible" : ""
474
+ `gloss-edge-handle--${c}`,
475
+ h ? "gloss-edge-handle--visible" : ""
476
476
  ].filter(Boolean).join(" "),
477
477
  onPointerDown: m,
478
478
  onPointerUp: g,
479
479
  onPointerEnter: i,
480
480
  onPointerLeave: s,
481
481
  onLostPointerCapture: l,
482
- onKeyDown: _,
483
- tabIndex: f ? 0 : -1
482
+ onKeyDown: w,
483
+ tabIndex: h ? 0 : -1
484
484
  }
485
485
  ) });
486
486
  }
487
487
  );
488
- Bt.displayName = "EdgeHoverHandle";
489
- function Kt({
488
+ Wt.displayName = "EdgeHoverHandle";
489
+ function Gt({
490
490
  visible: e,
491
491
  targetColSpan: t,
492
492
  ghostWidth: n,
@@ -494,7 +494,7 @@ function Kt({
494
494
  exitMs: i = 120
495
495
  }) {
496
496
  return /* @__PURE__ */ r(
497
- De.div,
497
+ ke.div,
498
498
  {
499
499
  "aria-hidden": "true",
500
500
  "data-ghost-preview": e ? "visible" : "hidden",
@@ -510,8 +510,8 @@ function Kt({
510
510
  }
511
511
  );
512
512
  }
513
- Kt.displayName = "GhostPreview";
514
- class zt {
513
+ Gt.displayName = "GhostPreview";
514
+ class Vt {
515
515
  constructor() {
516
516
  this.samples = [], this.capacity = 3;
517
517
  }
@@ -549,14 +549,14 @@ class zt {
549
549
  const t = this.samples.length;
550
550
  if (t < 2) return 0;
551
551
  if (t === 2) {
552
- const [d, u] = this.samples, v = Math.max(1, u.t - d.t);
553
- return (u.x - d.x) / v * 1e3;
552
+ const [c, u] = this.samples, f = Math.max(1, u.t - c.t);
553
+ return (u.x - c.x) / f * 1e3;
554
554
  }
555
555
  const [n, a, i] = this.samples, s = (i.x - a.x) / Math.max(1, i.t - a.t) * 1e3, o = (a.x - n.x) / Math.max(1, a.t - n.t) * 1e3, l = o;
556
556
  return (s * 3 + o * 2 + l * 1) / 6;
557
557
  }
558
558
  }
559
- const Je = {
559
+ const et = {
560
560
  // Spring (D-08). Retuned 260419 — damping 35 → 22 so the commit spring
561
561
  // has visible overshoot (ζ ≈ 0.49, ~13–17% overshoot, ~350ms settle). The
562
562
  // prior ζ ≈ 0.78 was imperceptible to users. Debug slug:
@@ -576,7 +576,7 @@ const Je = {
576
576
  // Velocity multiplier (D-03b panel)
577
577
  velocityMultiplier: 1
578
578
  };
579
- function Rn({
579
+ function An({
580
580
  currentColSpan: e,
581
581
  stackable: t,
582
582
  onResize: n,
@@ -585,18 +585,18 @@ function Rn({
585
585
  gap: s = 0,
586
586
  tuning: o,
587
587
  dwellMs: l = 60,
588
- graceExitMs: d = 150,
588
+ graceExitMs: c = 150,
589
589
  enterMs: u = 180,
590
- exitMs: v = 120,
591
- maxColSpan: f = 3,
590
+ exitMs: f = 120,
591
+ maxColSpan: h = 3,
592
592
  containerRef: m,
593
593
  forceIdle: g
594
594
  }) {
595
- const [_, p] = $("idle"), [h, M] = $(e), P = T(null), C = T(null), R = T(null), I = T(null), c = T(i), b = T(s), D = T(f), S = T(0), y = T("idle");
596
- L(() => {
597
- y.current = _;
598
- }, [_]);
599
- const x = _t(0), F = T(null), j = w(() => {
595
+ const [w, p] = $("idle"), [b, R] = $(e), P = T(null), C = T(null), M = T(null), I = T(null), d = T(i), v = T(s), D = T(h), S = T(0), y = T("idle");
596
+ O(() => {
597
+ y.current = w;
598
+ }, [w]);
599
+ const x = Dt(0), F = T(null), H = _(() => {
600
600
  const k = F.current;
601
601
  if (k) {
602
602
  try {
@@ -605,96 +605,96 @@ function Rn({
605
605
  }
606
606
  F.current = null;
607
607
  }
608
- }, []), q = w(
608
+ }, []), q = _(
609
609
  (k) => {
610
- const E = c.current, A = b.current;
610
+ const E = d.current, A = v.current;
611
611
  return k * E + (k - 1) * A;
612
612
  },
613
613
  []
614
- ), U = T(new zt()), W = T(e);
615
- L(() => {
616
- W.current = h;
617
- }, [h]);
618
- const B = ye(() => ({ ...Je, ...o ?? {} }), [o]), Z = w(() => {
614
+ ), U = T(new Vt()), G = T(e);
615
+ O(() => {
616
+ G.current = b;
617
+ }, [b]);
618
+ const B = we(() => ({ ...et, ...o ?? {} }), [o]), Z = _(() => {
619
619
  P.current && (clearTimeout(P.current), P.current = null);
620
- }, []), O = w(() => {
620
+ }, []), L = _(() => {
621
621
  C.current && (clearTimeout(C.current), C.current = null);
622
- }, []), J = w(() => {
623
- R.current && (clearTimeout(R.current), R.current = null);
622
+ }, []), J = _(() => {
623
+ M.current && (clearTimeout(M.current), M.current = null);
624
624
  }, []);
625
- L(() => {
626
- g && (y.current === "dragging" || y.current === "settling" || (Z(), O(), J(), y.current = "idle", p("idle")));
627
- }, [g, Z, O, J]);
628
- const $e = w(() => {
629
- O(), p((k) => k === "settling" || k !== "idle" ? k : (P.current = setTimeout(() => p("handle-visible"), l), "dwelling"));
630
- }, [l, O]), Be = w(() => {
625
+ O(() => {
626
+ g && (y.current === "dragging" || y.current === "settling" || (Z(), L(), J(), y.current = "idle", p("idle")));
627
+ }, [g, Z, L, J]);
628
+ const Be = _(() => {
629
+ L(), p((k) => k === "settling" || k !== "idle" ? k : (P.current = setTimeout(() => p("handle-visible"), l), "dwelling"));
630
+ }, [l, L]), ze = _(() => {
631
631
  Z();
632
632
  const k = y.current;
633
633
  k !== "dwelling" && k !== "handle-visible" || (C.current = setTimeout(() => {
634
634
  y.current = "idle", p("idle");
635
- }, d));
636
- }, [Z, d]), oe = w(
635
+ }, c));
636
+ }, [Z, c]), le = _(
637
637
  (k, E, A) => {
638
- const K = c.current, ee = K * B.snapInFraction, Y = K * B.snapOutFraction, z = E - A, V = Math.max(
638
+ const z = d.current, ee = z * B.snapInFraction, Y = z * B.snapOutFraction, K = E - A, V = Math.max(
639
639
  A,
640
- D.current ?? f
640
+ D.current ?? h
641
641
  );
642
- let G = z;
643
- for (; A + G < V; ) {
644
- const ae = G * K + (G < 0 ? Y : ee);
645
- if (k >= ae) G += 1;
642
+ let W = K;
643
+ for (; A + W < V; ) {
644
+ const ae = W * z + (W < 0 ? Y : ee);
645
+ if (k >= ae) W += 1;
646
646
  else break;
647
647
  }
648
- if (G === z)
649
- for (; A + G > 1; ) {
650
- const ae = G * K - (G > 0 ? Y : ee);
651
- if (k <= ae) G -= 1;
648
+ if (W === K)
649
+ for (; A + W > 1; ) {
650
+ const ae = W * z - (W > 0 ? Y : ee);
651
+ if (k <= ae) W -= 1;
652
652
  else break;
653
653
  }
654
- return Math.min(V, Math.max(1, A + G));
654
+ return Math.min(V, Math.max(1, A + W));
655
655
  },
656
- [B.snapInFraction, B.snapOutFraction, f]
657
- ), dt = w(
656
+ [B.snapInFraction, B.snapOutFraction, h]
657
+ ), mt = _(
658
658
  (k) => {
659
659
  if (y.current !== "handle-visible") return;
660
- j(), I.current = k.clientX, c.current = i, b.current = s, D.current = f;
660
+ H(), I.current = k.clientX, d.current = i, v.current = s, D.current = h;
661
661
  const E = e * i + (e - 1) * s;
662
662
  S.current = E, U.current.clear(), U.current.push({ x: k.clientX, t: performance.now() }), x.jump(E), y.current = "dragging", p("dragging");
663
663
  },
664
- [i, s, f, e, x, j]
665
- ), Ke = w(
666
- (k) => k * c.current + (k - 1) * b.current,
664
+ [i, s, h, e, x, H]
665
+ ), Ke = _(
666
+ (k) => k * d.current + (k - 1) * v.current,
667
667
  []
668
- ), ie = w(
668
+ ), oe = _(
669
669
  (k, E) => {
670
- const A = Ke(k), K = k !== e;
670
+ const A = Ke(k), z = k !== e;
671
671
  if (typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches) {
672
- x.jump(A), K && E ? n({ direction: E, targetColSpan: k, mode: t ? "slot-fill" : "sparkline-fidelity" }) : K || a?.(), x.jump(0), y.current = "idle", p("idle");
672
+ x.jump(A), z && E ? n({ direction: E, targetColSpan: k, mode: t ? "slot-fill" : "sparkline-fidelity" }) : z || a?.(), x.jump(0), y.current = "idle", p("idle");
673
673
  return;
674
674
  }
675
675
  const Y = U.current.getWeightedVelocity() * B.velocityMultiplier;
676
- y.current = "settling", p("settling"), j(), F.current = We(x, A, {
676
+ y.current = "settling", p("settling"), H(), F.current = Ve(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, K && E ? n({ direction: E, targetColSpan: k, mode: t ? "slot-fill" : "sparkline-fidelity" }) : K || a?.(), x.jump(0), y.current = "idle", p("idle");
683
+ F.current = null, z && E ? n({ direction: E, targetColSpan: k, mode: t ? "slot-fill" : "sparkline-fidelity" }) : z || a?.(), x.jump(0), y.current = "idle", p("idle");
684
684
  }
685
685
  });
686
686
  },
687
- [Ke, e, t, n, a, x, B, j]
688
- ), ut = w(
687
+ [Ke, e, t, n, a, x, B, H]
688
+ ), gt = _(
689
689
  (k) => {
690
690
  if (y.current !== "dragging") return;
691
- const E = k.clientX - (I.current ?? k.clientX), A = c.current, ee = ((D.current ?? f) - e) * A, Y = (1 - e) * A, z = Math.max(Y, Math.min(ee, E));
691
+ const E = k.clientX - (I.current ?? k.clientX), A = d.current, ee = ((D.current ?? h) - e) * A, Y = (1 - e) * A, K = Math.max(Y, Math.min(ee, E));
692
692
  U.current.push({ x: k.clientX, t: performance.now() });
693
- const V = oe(z, W.current, e), G = V > e ? "grow" : V < e ? "shrink" : null;
694
- ie(V, G);
693
+ const V = le(K, G.current, e), W = V > e ? "grow" : V < e ? "shrink" : null;
694
+ oe(V, W);
695
695
  },
696
- [oe, e, f, ie]
697
- ), le = w(() => {
696
+ [le, e, h, oe]
697
+ ), ce = _(() => {
698
698
  if (Z(), y.current === "dragging") {
699
699
  const k = S.current;
700
700
  if (typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches) {
@@ -702,7 +702,7 @@ function Rn({
702
702
  return;
703
703
  }
704
704
  const A = U.current.getWeightedVelocity();
705
- y.current = "settling", p("settling"), j(), F.current = We(x, k, {
705
+ y.current = "settling", p("settling"), H(), F.current = Ve(x, k, {
706
706
  type: "spring",
707
707
  stiffness: B.stiffness,
708
708
  damping: B.damping,
@@ -715,93 +715,93 @@ function Rn({
715
715
  return;
716
716
  }
717
717
  y.current === "handle-visible" && (a?.(), y.current = "cancelled", p("cancelled"));
718
- }, [Z, x, a, B, j]);
719
- L(() => {
720
- if (_ !== "dragging" && _ !== "handle-visible") return;
718
+ }, [Z, x, a, B, H]);
719
+ O(() => {
720
+ if (w !== "dragging" && w !== "handle-visible") return;
721
721
  const k = (E) => {
722
- E.key === "Escape" && le();
722
+ E.key === "Escape" && ce();
723
723
  };
724
724
  return window.addEventListener("keydown", k), () => window.removeEventListener("keydown", k);
725
- }, [_, le]), L(() => {
726
- if (_ !== "dragging") {
727
- M(e);
725
+ }, [w, ce]), O(() => {
726
+ if (w !== "dragging") {
727
+ R(e);
728
728
  return;
729
729
  }
730
- const k = (z) => {
731
- const V = z.clientX - (I.current ?? z.clientX), G = S.current, ce = q(1), ae = q(f), we = G + V, Ge = Math.max(ce, Math.min(ae, we));
730
+ const k = (K) => {
731
+ const V = K.clientX - (I.current ?? K.clientX), W = S.current, de = q(1), ae = q(h), _e = W + V, Ge = Math.max(de, Math.min(ae, _e));
732
732
  x.set(Ge);
733
- const _e = c.current, Ce = (f - e) * _e, xe = (1 - e) * _e, de = Math.max(xe, Math.min(Ce, V));
734
- U.current.push({ x: z.clientX, t: performance.now() });
735
- const ue = oe(de, W.current, e);
736
- ue !== W.current && (W.current = ue, M(ue));
737
- }, E = (z, V) => {
733
+ const Ne = d.current, xe = (h - e) * Ne, Se = (1 - e) * Ne, ue = Math.max(Se, Math.min(xe, V));
734
+ U.current.push({ x: K.clientX, t: performance.now() });
735
+ const me = le(ue, G.current, e);
736
+ me !== G.current && (G.current = me, R(me));
737
+ }, E = (K, V) => {
738
738
  if (y.current === "dragging")
739
- if (z === "pointerup") {
740
- const G = U.current.tail(), ce = V?.clientX ?? G?.x ?? I.current ?? 0, ae = ce - (I.current ?? ce), we = c.current, _e = ((D.current ?? f) - e) * we, Ce = (1 - e) * we, xe = Math.max(Ce, Math.min(_e, ae));
739
+ if (K === "pointerup") {
740
+ const W = U.current.tail(), de = V?.clientX ?? W?.x ?? I.current ?? 0, ae = de - (I.current ?? de), _e = d.current, Ne = ((D.current ?? h) - e) * _e, xe = (1 - e) * _e, Se = Math.max(xe, Math.min(Ne, ae));
741
741
  V && U.current.push({ x: V.clientX, t: performance.now() });
742
- const de = oe(xe, W.current, e), ue = de > e ? "grow" : de < e ? "shrink" : null;
743
- ie(de, ue);
742
+ const ue = le(Se, G.current, e), me = ue > e ? "grow" : ue < e ? "shrink" : null;
743
+ oe(ue, me);
744
744
  } else
745
- le();
746
- }, A = (z) => E("pointerup", z), K = (z) => E("pointercancel", z), ee = () => E("blur"), Y = () => {
745
+ ce();
746
+ }, A = (K) => E("pointerup", K), z = (K) => E("pointercancel", K), ee = () => E("blur"), Y = () => {
747
747
  document.visibilityState === "hidden" && E("visibility-hidden");
748
748
  };
749
- return window.addEventListener("pointermove", k), window.addEventListener("pointerup", A), window.addEventListener("pointercancel", K), window.addEventListener("blur", ee), document.addEventListener("visibilitychange", Y), () => {
750
- window.removeEventListener("pointermove", k), window.removeEventListener("pointerup", A), window.removeEventListener("pointercancel", K), window.removeEventListener("blur", ee), document.removeEventListener("visibilitychange", Y);
749
+ return window.addEventListener("pointermove", k), window.addEventListener("pointerup", A), window.addEventListener("pointercancel", z), window.addEventListener("blur", ee), document.addEventListener("visibilitychange", Y), () => {
750
+ window.removeEventListener("pointermove", k), window.removeEventListener("pointerup", A), window.removeEventListener("pointercancel", z), window.removeEventListener("blur", ee), document.removeEventListener("visibilitychange", Y);
751
751
  };
752
- }, [_, e, x, oe, f, q, le, ie]), L(() => () => {
753
- Z(), O(), J();
754
- }, [Z, O, J]), L(() => {
755
- if (_ !== "cancelled") return;
756
- const k = setTimeout(() => p("idle"), v);
752
+ }, [w, e, x, le, h, q, ce, oe]), O(() => () => {
753
+ Z(), L(), J();
754
+ }, [Z, L, J]), O(() => {
755
+ if (w !== "cancelled") return;
756
+ const k = setTimeout(() => p("idle"), f);
757
757
  return () => clearTimeout(k);
758
- }, [_, v]);
759
- const mt = w(
758
+ }, [w, f]);
759
+ const pt = _(
760
760
  (k) => {
761
761
  if (y.current === "settling") return;
762
- const A = Math.min(f, Math.max(1, e + (k === "grow" ? 1 : -1)));
762
+ const A = Math.min(h, Math.max(1, e + (k === "grow" ? 1 : -1)));
763
763
  if (A === e) return;
764
- c.current = i, b.current = s, D.current = f, U.current.clear();
765
- const K = e * i + (e - 1) * s;
766
- S.current = K, x.jump(K), ie(A, k);
764
+ d.current = i, v.current = s, D.current = h, U.current.clear();
765
+ const z = e * i + (e - 1) * s;
766
+ S.current = z, x.jump(z), oe(A, k);
767
767
  },
768
- [e, i, s, f, x, ie]
769
- ), ze = w(() => {
770
- J(), R.current = setTimeout(() => {
768
+ [e, i, s, h, x, oe]
769
+ ), We = _(() => {
770
+ J(), M.current = setTimeout(() => {
771
771
  y.current === "handle-visible" && (y.current = "idle", p("idle"));
772
772
  }, 5e3);
773
- }, [J]), gt = w(() => {
774
- y.current === "idle" && (Z(), y.current = "handle-visible", p("handle-visible"), ze());
775
- }, [Z, ze]), pt = w(() => {
773
+ }, [J]), ht = _(() => {
774
+ y.current === "idle" && (Z(), y.current = "handle-visible", p("handle-visible"), We());
775
+ }, [Z, We]), ft = _(() => {
776
776
  J(), y.current === "handle-visible" && (y.current = "idle", p("idle"));
777
777
  }, [J]);
778
778
  return {
779
- state: _,
780
- enterEdgeZone: $e,
781
- leaveEdgeZone: Be,
779
+ state: w,
780
+ enterEdgeZone: Be,
781
+ leaveEdgeZone: ze,
782
782
  handleProps: {
783
- onPointerDown: dt,
784
- onPointerUp: ut,
783
+ onPointerDown: mt,
784
+ onPointerUp: gt,
785
785
  // Bug E: handle continues zone presence so pointer crossing sentinel→handle
786
786
  // doesn't collapse state. handle's pointerenter = stay in zone.
787
- onPointerEnter: $e,
788
- onPointerLeave: Be
787
+ onPointerEnter: Be,
788
+ onPointerLeave: ze
789
789
  },
790
- previewColSpan: h,
790
+ previewColSpan: b,
791
791
  ghostProps: {
792
- visible: _ === "dragging" || _ === "settling",
793
- targetColSpan: h,
792
+ visible: w === "dragging" || w === "settling",
793
+ targetColSpan: b,
794
794
  ghostWidth: x,
795
795
  enterMs: u,
796
- exitMs: v
796
+ exitMs: f
797
797
  },
798
- onKeyboardStep: mt,
799
- onTouchReveal: gt,
800
- onTouchDismiss: pt,
801
- cancel: le
798
+ onKeyboardStep: pt,
799
+ onTouchReveal: ht,
800
+ onTouchDismiss: ft,
801
+ cancel: ce
802
802
  };
803
803
  }
804
- const se = {
804
+ const ie = {
805
805
  // Cascade (D-08, D-10)
806
806
  staggerMs: 50,
807
807
  reverseStaggerMs: 30,
@@ -826,14 +826,14 @@ const se = {
826
826
  sectionDividerFadeOutMs: 80,
827
827
  sectionDividerStaggerMs: 40
828
828
  };
829
- function In(e) {
829
+ function On(e) {
830
830
  const { cardWidthPx: t, slotCount: n, activeSlotIdx: a, pillWidthPx: i } = e;
831
831
  if (a == null || !Number.isFinite(t) || t <= 0 || !Number.isFinite(n) || n <= 0 || !Number.isInteger(a) || a < 0 || a >= n)
832
832
  return;
833
833
  const s = (a + 0.5) * (t / n);
834
834
  return i != null && Number.isFinite(i) && i > 0 ? s - i / 2 : s;
835
835
  }
836
- const Pn = [
836
+ const Ln = [
837
837
  // 1. Standard: Total Revenue
838
838
  {
839
839
  variant: "standard",
@@ -965,24 +965,24 @@ const Pn = [
965
965
  subtitle: "Awaiting QA",
966
966
  highlightColor: "neutral"
967
967
  }
968
- ], Gt = {
968
+ ], jt = {
969
969
  variant: "standard",
970
970
  label: "Total Revenue",
971
971
  isLoading: !0
972
- }, Wt = {
972
+ }, Ht = {
973
973
  variant: "standard",
974
974
  label: "Total Revenue",
975
975
  value: 125430,
976
976
  valueFormat: { prefix: "$", abbreviated: !0 },
977
977
  isError: !0
978
- }, Vt = {
978
+ }, Ut = {
979
979
  variant: "standard",
980
980
  label: "Total Revenue",
981
981
  value: null,
982
982
  valueFormat: { prefix: "$", abbreviated: !0 },
983
983
  isEmpty: !0,
984
984
  subtitle: "No data"
985
- }, Ht = {
985
+ }, Zt = {
986
986
  variant: "standard",
987
987
  label: "Total Revenue",
988
988
  value: 125430,
@@ -990,7 +990,7 @@ const Pn = [
990
990
  trend: { value: 12.5, direction: "up" },
991
991
  subtitle: "MTD",
992
992
  isStale: !0
993
- }, jt = {
993
+ }, qt = {
994
994
  variant: "sparkline",
995
995
  label: "Daily Orders",
996
996
  value: 847,
@@ -999,7 +999,7 @@ const Pn = [
999
999
  sparklineData: [42, 38, 51, 47, 55, 60, 58, 63, 57, 62, 68, 71, 65, 59],
1000
1000
  accentColor: "#6366f1",
1001
1001
  isStale: !0
1002
- }, Ut = {
1002
+ }, Yt = {
1003
1003
  variant: "donut",
1004
1004
  label: "Order Fill Rate",
1005
1005
  value: 78,
@@ -1010,14 +1010,14 @@ const Pn = [
1010
1010
  donutMax: 100,
1011
1011
  accentColor: "#10b981",
1012
1012
  isStale: !0
1013
- }, Fn = [
1014
- Gt,
1015
- Wt,
1016
- Vt,
1017
- Ht,
1013
+ }, $n = [
1018
1014
  jt,
1019
- Ut
1020
- ], En = {
1015
+ Ht,
1016
+ Ut,
1017
+ Zt,
1018
+ qt,
1019
+ Yt
1020
+ ], Bn = {
1021
1021
  variant: "sparkline",
1022
1022
  label: "Daily Orders",
1023
1023
  value: 847,
@@ -1040,7 +1040,7 @@ const Pn = [
1040
1040
  59
1041
1041
  ],
1042
1042
  accentColor: "#6366f1"
1043
- }, An = {
1043
+ }, zn = {
1044
1044
  variant: "sparkline",
1045
1045
  label: "New Customers",
1046
1046
  value: 23,
@@ -1079,21 +1079,21 @@ const Pn = [
1079
1079
  19
1080
1080
  ],
1081
1081
  accentColor: "#10b981"
1082
- }, Ln = {
1082
+ }, Kn = {
1083
1083
  variant: "standard",
1084
1084
  label: "Total Revenue",
1085
1085
  value: 125430,
1086
1086
  valueFormat: { prefix: "$", abbreviated: !0 },
1087
1087
  trend: { value: 12.5, direction: "up" },
1088
1088
  subtitle: "MTD"
1089
- }, On = {
1089
+ }, Wn = {
1090
1090
  variant: "standard",
1091
1091
  label: "Returns",
1092
1092
  value: 3280,
1093
1093
  valueFormat: { prefix: "$", abbreviated: !0 },
1094
1094
  trend: { value: -8.3, direction: "down" },
1095
1095
  subtitle: "MTD"
1096
- }, $n = {
1096
+ }, Gn = {
1097
1097
  variant: "standard",
1098
1098
  label: "Avg Order Value",
1099
1099
  value: 487,
@@ -1101,7 +1101,7 @@ const Pn = [
1101
1101
  trend: { value: 0, direction: "flat" },
1102
1102
  subtitle: "QTD"
1103
1103
  };
1104
- function et({
1104
+ function tt({
1105
1105
  open: e,
1106
1106
  onDismiss: t,
1107
1107
  anchorRef: n,
@@ -1111,23 +1111,23 @@ function et({
1111
1111
  onCreatePage: o,
1112
1112
  onManagePages: l
1113
1113
  }) {
1114
- const d = w(
1114
+ const c = _(
1115
1115
  (m) => {
1116
1116
  s(m), t();
1117
1117
  },
1118
1118
  [s, t]
1119
- ), u = w(
1119
+ ), u = _(
1120
1120
  (m, g) => {
1121
- (g.key === "Enter" || g.key === " ") && (g.preventDefault(), d(m));
1121
+ (g.key === "Enter" || g.key === " ") && (g.preventDefault(), c(m));
1122
1122
  },
1123
- [d]
1124
- ), v = w(() => {
1123
+ [c]
1124
+ ), f = _(() => {
1125
1125
  o(), t();
1126
- }, [o, t]), f = w(() => {
1126
+ }, [o, t]), h = _(() => {
1127
1127
  l(), t();
1128
1128
  }, [l, t]);
1129
1129
  return /* @__PURE__ */ N(
1130
- Dt,
1130
+ Ct,
1131
1131
  {
1132
1132
  definition: {
1133
1133
  placement: "bottom-end",
@@ -1150,8 +1150,8 @@ function et({
1150
1150
  "aria-current": g ? "page" : void 0,
1151
1151
  tabIndex: 0,
1152
1152
  className: `gloss-page-dropdown__item${g ? " gloss-page-dropdown__item--active" : ""}`,
1153
- onClick: () => d(m.id),
1154
- onKeyDown: (_) => u(m.id, _),
1153
+ onClick: () => c(m.id),
1154
+ onKeyDown: (w) => u(m.id, w),
1155
1155
  children: [
1156
1156
  /* @__PURE__ */ r(
1157
1157
  "span",
@@ -1178,7 +1178,7 @@ function et({
1178
1178
  {
1179
1179
  role: "menuitem",
1180
1180
  className: "gloss-page-dropdown__action",
1181
- onClick: v,
1181
+ onClick: f,
1182
1182
  children: "+ New page"
1183
1183
  }
1184
1184
  ),
@@ -1188,7 +1188,7 @@ function et({
1188
1188
  {
1189
1189
  role: "menuitem",
1190
1190
  className: "gloss-page-dropdown__action gloss-page-dropdown__action--muted",
1191
- onClick: f,
1191
+ onClick: h,
1192
1192
  children: "Manage pages"
1193
1193
  }
1194
1194
  )
@@ -1196,8 +1196,8 @@ function et({
1196
1196
  }
1197
1197
  );
1198
1198
  }
1199
- et.displayName = "PageDropdown";
1200
- const Zt = function({
1199
+ tt.displayName = "PageDropdown";
1200
+ const Qt = function({
1201
1201
  currentIndex: t,
1202
1202
  total: n,
1203
1203
  pages: a,
@@ -1205,23 +1205,23 @@ const Zt = function({
1205
1205
  onCreatePage: s,
1206
1206
  onManagePages: o,
1207
1207
  maskRadius: l = "var(--gloss-radius-md)",
1208
- displayMode: d = "count",
1208
+ displayMode: c = "count",
1209
1209
  activePage: u
1210
1210
  }) {
1211
- const v = T(null), [f, m] = $(!1), g = w(() => {
1212
- m((M) => !M);
1213
- }, []), _ = w(() => {
1211
+ const f = T(null), [h, m] = $(!1), g = _(() => {
1212
+ m((R) => !R);
1213
+ }, []), w = _(() => {
1214
1214
  m(!1);
1215
1215
  }, []), p = a[t]?.id ?? "";
1216
1216
  return /* @__PURE__ */ N(
1217
1217
  "div",
1218
1218
  {
1219
1219
  className: "gloss-page-chip",
1220
- ref: v,
1221
- style: d === "name" ? { position: "relative", left: 0, right: "auto", top: 0 } : { position: "absolute", top: 0, right: 0 },
1220
+ ref: f,
1221
+ style: c === "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
- d !== "name" && /* @__PURE__ */ r(
1224
+ c !== "name" && /* @__PURE__ */ r(
1225
1225
  "div",
1226
1226
  {
1227
1227
  className: "gloss-page-chip__nuzzle",
@@ -1231,12 +1231,12 @@ const Zt = function({
1231
1231
  /* @__PURE__ */ r(
1232
1232
  "button",
1233
1233
  {
1234
- className: `gloss-page-chip__trigger${d === "name" ? " gloss-page-chip__trigger--name" : ""}`,
1234
+ className: `gloss-page-chip__trigger${c === "name" ? " gloss-page-chip__trigger--name" : ""}`,
1235
1235
  "aria-haspopup": "menu",
1236
- "aria-expanded": f,
1237
- "aria-label": d === "name" ? `${u ?? "Page"}. Click to switch pages.` : `Page ${t + 1} of ${n}. Click to switch pages.`,
1236
+ "aria-expanded": h,
1237
+ "aria-label": c === "name" ? `${u ?? "Page"}. Click to switch pages.` : `Page ${t + 1} of ${n}. Click to switch pages.`,
1238
1238
  onClick: g,
1239
- children: d === "name" ? /* @__PURE__ */ N(te, { children: [
1239
+ children: c === "name" ? /* @__PURE__ */ N(te, { children: [
1240
1240
  /* @__PURE__ */ r("span", { className: "gloss-page-chip__trigger-name", children: u ?? "" }),
1241
1241
  /* @__PURE__ */ r("span", { className: "gloss-page-chip__trigger-chevron", "aria-hidden": "true", children: "▾" })
1242
1242
  ] }) : /* @__PURE__ */ N(te, { children: [
@@ -1247,11 +1247,11 @@ const Zt = function({
1247
1247
  }
1248
1248
  ),
1249
1249
  /* @__PURE__ */ r(
1250
- et,
1250
+ tt,
1251
1251
  {
1252
- open: f,
1253
- onDismiss: _,
1254
- anchorRef: v,
1252
+ open: h,
1253
+ onDismiss: w,
1254
+ anchorRef: f,
1255
1255
  pages: a,
1256
1256
  activePageId: p,
1257
1257
  onPageChange: i,
@@ -1263,8 +1263,8 @@ const Zt = function({
1263
1263
  }
1264
1264
  );
1265
1265
  };
1266
- Zt.displayName = "PageChip";
1267
- const Bn = [
1266
+ Qt.displayName = "PageChip";
1267
+ const Vn = [
1268
1268
  {
1269
1269
  id: "ORD-1001",
1270
1270
  orderNumber: "ORD-1001",
@@ -1397,7 +1397,7 @@ const Bn = [
1397
1397
  date: "2026-03-01",
1398
1398
  skuCount: 9
1399
1399
  }
1400
- ], Kn = [
1400
+ ], jn = [
1401
1401
  {
1402
1402
  id: "ITEM-001",
1403
1403
  sku: "PB-4520",
@@ -1531,16 +1531,16 @@ const Bn = [
1531
1531
  lastDate: "2026-03-01"
1532
1532
  }
1533
1533
  ];
1534
- function Fe(e) {
1534
+ function Ee(e) {
1535
1535
  return "$" + e.toLocaleString("en-US", { minimumFractionDigits: 2, maximumFractionDigits: 2 });
1536
1536
  }
1537
- function tt(e) {
1537
+ function at(e) {
1538
1538
  return e.toLocaleString("en-US");
1539
1539
  }
1540
- function at(e) {
1540
+ function nt(e) {
1541
1541
  return new Date(e).toLocaleDateString("en-US", { month: "short", day: "numeric", year: "numeric" });
1542
1542
  }
1543
- const he = H.createElement("span", { style: { color: "var(--color-text-muted)" } }, "—"), zn = [
1543
+ const fe = j.createElement("span", { style: { color: "var(--color-text-muted)" } }, "—"), Hn = [
1544
1544
  {
1545
1545
  field: "id",
1546
1546
  headerName: "Order",
@@ -1570,7 +1570,7 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
1570
1570
  align: "right",
1571
1571
  headerAlign: "right",
1572
1572
  cellClassName: "gloss-tabular-nums",
1573
- renderCell: ({ row: e }) => e.skuCount ? tt(e.skuCount) : he
1573
+ renderCell: ({ row: e }) => e.skuCount ? at(e.skuCount) : fe
1574
1574
  },
1575
1575
  {
1576
1576
  field: "total",
@@ -1580,7 +1580,7 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
1580
1580
  align: "right",
1581
1581
  headerAlign: "right",
1582
1582
  cellClassName: "gloss-tabular-nums",
1583
- renderCell: ({ row: e }) => e.total ? Fe(e.total) : he
1583
+ renderCell: ({ row: e }) => e.total ? Ee(e.total) : fe
1584
1584
  },
1585
1585
  {
1586
1586
  field: "date",
@@ -1590,9 +1590,9 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
1590
1590
  align: "right",
1591
1591
  headerAlign: "right",
1592
1592
  cellClassName: "gloss-tabular-nums",
1593
- renderCell: ({ row: e }) => e.date ? at(e.date) : ""
1593
+ renderCell: ({ row: e }) => e.date ? nt(e.date) : ""
1594
1594
  }
1595
- ], Gn = [
1595
+ ], Un = [
1596
1596
  {
1597
1597
  field: "sku",
1598
1598
  headerName: "Item ID",
@@ -1624,7 +1624,7 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
1624
1624
  align: "right",
1625
1625
  headerAlign: "right",
1626
1626
  cellClassName: "gloss-tabular-nums",
1627
- renderCell: ({ row: e }) => e.price ? Fe(e.price) : he
1627
+ renderCell: ({ row: e }) => e.price ? Ee(e.price) : fe
1628
1628
  },
1629
1629
  {
1630
1630
  field: "quantity",
@@ -1634,7 +1634,7 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
1634
1634
  align: "right",
1635
1635
  headerAlign: "right",
1636
1636
  cellClassName: "gloss-tabular-nums gloss-drillable",
1637
- renderCell: ({ row: e }) => e.quantity ? tt(e.quantity) : he
1637
+ renderCell: ({ row: e }) => e.quantity ? at(e.quantity) : fe
1638
1638
  },
1639
1639
  {
1640
1640
  field: "total",
@@ -1644,7 +1644,7 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
1644
1644
  align: "right",
1645
1645
  headerAlign: "right",
1646
1646
  cellClassName: "gloss-tabular-nums gloss-drillable",
1647
- renderCell: ({ row: e }) => e.total ? Fe(e.total) : he
1647
+ renderCell: ({ row: e }) => e.total ? Ee(e.total) : fe
1648
1648
  },
1649
1649
  {
1650
1650
  field: "lastDate",
@@ -1654,24 +1654,24 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
1654
1654
  align: "right",
1655
1655
  headerAlign: "right",
1656
1656
  cellClassName: "gloss-tabular-nums",
1657
- renderCell: ({ row: e }) => e.lastDate ? at(e.lastDate) : ""
1657
+ renderCell: ({ row: e }) => e.lastDate ? nt(e.lastDate) : ""
1658
1658
  }
1659
- ], qt = [
1659
+ ], Xt = [
1660
1660
  { id: "c-001", label: "ABC Home Goods" },
1661
1661
  { id: "c-002", label: "Riverside Retail" },
1662
1662
  { id: "c-003", label: "Mountain View Store" },
1663
1663
  { id: "c-004", label: "Downtown Decor" },
1664
1664
  { id: "c-005", label: "Pacific Coast Imports" }
1665
- ], Yt = [
1665
+ ], Jt = [
1666
1666
  { id: "i-001", label: "Classic Linen Throw Pillow" },
1667
1667
  { id: "i-002", label: "Coastal Wave Candle Set" },
1668
1668
  { id: "i-003", label: "Walnut Console Table" },
1669
1669
  { id: "i-004", label: "Hand-Blown Glass Vase" },
1670
1670
  { id: "i-005", label: "Velvet Accent Cushion" }
1671
- ], Se = (e) => {
1672
- }, Qt = (e) => {
1671
+ ], Re = (e) => {
1672
+ }, ea = (e) => {
1673
1673
  }, He = (e, t) => {
1674
- }, nt = {
1674
+ }, rt = {
1675
1675
  vizState: {
1676
1676
  type: "orders",
1677
1677
  quant: "$",
@@ -1679,17 +1679,17 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
1679
1679
  byItem: { id: null, name: null },
1680
1680
  timeFrame: "MTD"
1681
1681
  },
1682
- onTypeChange: Se,
1683
- onQuantChange: Qt,
1684
- onEntityTypeChange: Se,
1682
+ onTypeChange: Re,
1683
+ onQuantChange: ea,
1684
+ onEntityTypeChange: Re,
1685
1685
  onEntitySelect: He,
1686
1686
  onItemSelect: He,
1687
- onTimeFrameChange: Se,
1687
+ onTimeFrameChange: Re,
1688
1688
  userType: "sales-agency",
1689
- entityFilterOptions: qt,
1690
- itemFilterOptions: Yt
1691
- }, Wn = {
1692
- ...nt,
1689
+ entityFilterOptions: Xt,
1690
+ itemFilterOptions: Jt
1691
+ }, Zn = {
1692
+ ...rt,
1693
1693
  vizState: {
1694
1694
  type: "items",
1695
1695
  quant: "$",
@@ -1697,8 +1697,8 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
1697
1697
  byItem: { id: "i-003", name: "Walnut Console Table" },
1698
1698
  timeFrame: "YTD"
1699
1699
  }
1700
- }, Vn = {
1701
- ...nt,
1700
+ }, qn = {
1701
+ ...rt,
1702
1702
  vizState: {
1703
1703
  type: "orders",
1704
1704
  quant: "#",
@@ -1710,7 +1710,7 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
1710
1710
  entityFilterOptions: [
1711
1711
  { id: "customers", label: "Customers" }
1712
1712
  ]
1713
- }, Xt = [
1713
+ }, ta = [
1714
1714
  {
1715
1715
  id: "recent-orders",
1716
1716
  label: "Recent Orders",
@@ -1756,7 +1756,7 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
1756
1756
  routeKey: "customer.profile",
1757
1757
  subtitle: "Opens in RepTime"
1758
1758
  }
1759
- ], Jt = [
1759
+ ], aa = [
1760
1760
  {
1761
1761
  id: "order-items",
1762
1762
  label: "Items in Order",
@@ -1785,7 +1785,7 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
1785
1785
  cellKinds: ["orderId"],
1786
1786
  graphType: "timeline"
1787
1787
  }
1788
- ], ea = [
1788
+ ], na = [
1789
1789
  {
1790
1790
  id: "graph-metric",
1791
1791
  label: "Graph This Metric",
@@ -1813,14 +1813,14 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
1813
1813
  cellKinds: ["numeric"],
1814
1814
  tabType: "orders"
1815
1815
  }
1816
- ], Hn = {
1817
- entityName: Xt,
1818
- orderId: Jt,
1819
- numeric: ea
1820
- }, jn = [
1816
+ ], Yn = {
1817
+ entityName: ta,
1818
+ orderId: aa,
1819
+ numeric: na
1820
+ }, Qn = [
1821
1821
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), (/* @__PURE__ */ new Date()).getDate() - 29),
1822
1822
  /* @__PURE__ */ new Date()
1823
- ], Un = {
1823
+ ], Xn = {
1824
1824
  rangeA: [
1825
1825
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), 1),
1826
1826
  /* @__PURE__ */ new Date()
@@ -1833,7 +1833,7 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
1833
1833
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth() - 2, 1),
1834
1834
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth() - 1, 0)
1835
1835
  ]
1836
- }, Zn = {
1836
+ }, Jn = {
1837
1837
  version: 4,
1838
1838
  lastPreset: "mtd",
1839
1839
  pinnedPreset: "mtd",
@@ -1841,7 +1841,7 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
1841
1841
  rangeCount: 1,
1842
1842
  lastPresetB: null,
1843
1843
  lastPresetC: null
1844
- }, qn = [
1844
+ }, er = [
1845
1845
  {
1846
1846
  id: "atlanta-jan",
1847
1847
  label: "Atlanta Market",
@@ -1863,7 +1863,7 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
1863
1863
  endDate: new Date(2026, 3, 22),
1864
1864
  location: "Chicago, IL"
1865
1865
  }
1866
- ], Yn = [
1866
+ ], tr = [
1867
1867
  {
1868
1868
  id: "custom-regional-1",
1869
1869
  label: "Southeast Regional Expo",
@@ -1880,7 +1880,7 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
1880
1880
  location: "Portland, OR",
1881
1881
  isCustom: !0
1882
1882
  }
1883
- ], Qn = [
1883
+ ], ar = [
1884
1884
  {
1885
1885
  id: "atlanta-jan",
1886
1886
  label: "Atlanta Market",
@@ -1897,37 +1897,37 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
1897
1897
  location: "New York, NY",
1898
1898
  active: !0
1899
1899
  }
1900
- ], Xn = [
1900
+ ], nr = [
1901
1901
  { id: "7d", label: "7D" },
1902
1902
  { id: "30d", label: "30D" },
1903
1903
  { id: "60d", label: "60D" },
1904
1904
  { id: "90d", label: "90D" }
1905
- ], Jn = [
1905
+ ], rr = [
1906
1906
  { id: "mtd", label: "MTD" },
1907
1907
  { id: "qtd", label: "QTD" },
1908
1908
  { id: "ytd", label: "YTD" },
1909
1909
  { id: "lytd", label: "LYTD" }
1910
- ], ta = {
1910
+ ], ra = {
1911
1911
  timeframe: "Time Frame",
1912
1912
  threshold: "Thresholds",
1913
1913
  slots: "Slots",
1914
1914
  size: "Size",
1915
1915
  color: "Color",
1916
1916
  pinned: "Pinned"
1917
- }, aa = {
1918
- timeframe: Ct,
1919
- threshold: xt,
1920
- slots: St,
1917
+ }, sa = {
1918
+ timeframe: St,
1919
+ threshold: Rt,
1920
+ slots: Tt,
1921
1921
  size: Mt,
1922
- color: Tt,
1923
- pinned: Rt
1922
+ color: It,
1923
+ pinned: Pt
1924
1924
  };
1925
- function je(...e) {
1925
+ function Ue(...e) {
1926
1926
  return e.filter(Boolean).join(" ");
1927
1927
  }
1928
- function na() {
1928
+ function ia() {
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 = (i) => t(i.matches);
1933
1933
  return typeof n.addEventListener == "function" ? (n.addEventListener("change", a), () => n.removeEventListener("change", a)) : (n.addListener?.(a), () => {
@@ -1935,29 +1935,29 @@ function na() {
1935
1935
  });
1936
1936
  }, []), e;
1937
1937
  }
1938
- const ra = ({
1938
+ const oa = ({
1939
1939
  dimensions: e,
1940
1940
  onDimensionSelect: t,
1941
1941
  activeDimension: n,
1942
1942
  ariaCardTypeLabel: a,
1943
1943
  className: i
1944
1944
  }) => {
1945
- const s = T(null), o = T([]), l = na(), d = ye(() => Array.from(e), [e]);
1946
- if (d.length === 0) return null;
1947
- const u = a ? `Configure ${a}: choose a dimension` : void 0, v = l ? "10ms" : "200ms", f = (m, g) => {
1948
- const _ = d.length - 1, p = (h) => {
1949
- const M = o.current[h];
1950
- M && M.focus();
1945
+ const s = T(null), o = T([]), l = ia(), c = we(() => Array.from(e), [e]);
1946
+ if (c.length === 0) return null;
1947
+ const u = a ? `Configure ${a}: choose a dimension` : void 0, f = l ? "10ms" : "200ms", h = (m, g) => {
1948
+ const w = c.length - 1, p = (b) => {
1949
+ const R = o.current[b];
1950
+ R && R.focus();
1951
1951
  };
1952
1952
  switch (m.key) {
1953
1953
  case "ArrowRight":
1954
1954
  case "ArrowDown": {
1955
- m.preventDefault(), p(g === _ ? 0 : g + 1);
1955
+ m.preventDefault(), p(g === w ? 0 : g + 1);
1956
1956
  break;
1957
1957
  }
1958
1958
  case "ArrowLeft":
1959
1959
  case "ArrowUp": {
1960
- m.preventDefault(), p(g === 0 ? _ : g - 1);
1960
+ m.preventDefault(), p(g === 0 ? w : g - 1);
1961
1961
  break;
1962
1962
  }
1963
1963
  case "Home": {
@@ -1965,12 +1965,12 @@ const ra = ({
1965
1965
  break;
1966
1966
  }
1967
1967
  case "End": {
1968
- m.preventDefault(), p(_);
1968
+ m.preventDefault(), p(w);
1969
1969
  break;
1970
1970
  }
1971
1971
  case "Enter":
1972
1972
  case " ": {
1973
- m.preventDefault(), t(d[g]);
1973
+ m.preventDefault(), t(c[g]);
1974
1974
  break;
1975
1975
  }
1976
1976
  }
@@ -1981,39 +1981,39 @@ const ra = ({
1981
1981
  ref: s,
1982
1982
  role: "group",
1983
1983
  "aria-label": u,
1984
- className: je("gloss-reconfig-backside-buttons", i),
1984
+ className: Ue("gloss-reconfig-backside-buttons", i),
1985
1985
  style: {
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": v
1989
+ "--gloss-reconfig-backside-buttons-transition-duration": f
1990
1990
  },
1991
- children: d.map((m, g) => {
1992
- const _ = aa[m], p = n === m;
1991
+ children: c.map((m, g) => {
1992
+ const w = sa[m], p = n === m;
1993
1993
  return /* @__PURE__ */ N(
1994
1994
  "button",
1995
1995
  {
1996
- ref: (h) => {
1997
- o.current[g] = h;
1996
+ ref: (b) => {
1997
+ o.current[g] = b;
1998
1998
  },
1999
1999
  type: "button",
2000
2000
  "data-dimension": m,
2001
- className: je(
2001
+ className: Ue(
2002
2002
  "gloss-reconfig-backside-buttons__button",
2003
2003
  p && "gloss-reconfig-backside-buttons__button--active"
2004
2004
  ),
2005
2005
  "aria-current": p ? "true" : void 0,
2006
2006
  onClick: () => t(m),
2007
- onKeyDown: (h) => f(h, g),
2007
+ onKeyDown: (b) => h(b, g),
2008
2008
  children: [
2009
2009
  /* @__PURE__ */ r(
2010
- _,
2010
+ w,
2011
2011
  {
2012
2012
  className: "gloss-reconfig-backside-buttons__button-icon",
2013
2013
  "aria-hidden": "true"
2014
2014
  }
2015
2015
  ),
2016
- /* @__PURE__ */ r("span", { className: "gloss-reconfig-backside-buttons__button-label", children: ta[m] })
2016
+ /* @__PURE__ */ r("span", { className: "gloss-reconfig-backside-buttons__button-label", children: ra[m] })
2017
2017
  ]
2018
2018
  },
2019
2019
  m
@@ -2022,12 +2022,12 @@ const ra = ({
2022
2022
  }
2023
2023
  );
2024
2024
  };
2025
- ra.displayName = "ReconfigBacksideButtons";
2025
+ oa.displayName = "ReconfigBacksideButtons";
2026
2026
  function Q(e, t) {
2027
2027
  return {
2028
2028
  id: e,
2029
2029
  colSpan: 1,
2030
- content: H.createElement("div", {
2030
+ content: j.createElement("div", {
2031
2031
  style: {
2032
2032
  width: "100%",
2033
2033
  height: "100%",
@@ -2043,38 +2043,38 @@ function Q(e, t) {
2043
2043
  }, t)
2044
2044
  };
2045
2045
  }
2046
- function Ue(e, t) {
2046
+ function Ze(e, t) {
2047
2047
  return {
2048
2048
  ...Q(e, t),
2049
2049
  colSpan: 2
2050
2050
  };
2051
2051
  }
2052
- const er = [
2052
+ const sr = [
2053
2053
  Q("total-revenue", "Total Revenue"),
2054
2054
  Q("total-orders", "Total Orders"),
2055
- Ue("revenue-trend", "Revenue Trend (2x)"),
2055
+ Ze("revenue-trend", "Revenue Trend (2x)"),
2056
2056
  Q("avg-order", "Avg Order Value"),
2057
2057
  Q("new-customers", "New Customers"),
2058
2058
  Q("top-salesperson", "Top Salesperson"),
2059
- Ue("order-trend", "Order Trend (2x)"),
2059
+ Ze("order-trend", "Order Trend (2x)"),
2060
2060
  Q("repeat-rate", "Repeat Rate"),
2061
2061
  Q("open-orders", "Open Orders"),
2062
2062
  Q("shipped-orders", "Shipped Orders")
2063
- ], tr = {
2063
+ ], ir = {
2064
2064
  columns: 6,
2065
2065
  rowHeight: 120,
2066
2066
  gap: 15,
2067
2067
  maxRows: 3,
2068
2068
  currentPage: 0,
2069
2069
  totalPages: 1
2070
- }, ar = {
2070
+ }, or = {
2071
2071
  columns: 9,
2072
2072
  rowHeight: 120,
2073
2073
  gap: 15,
2074
2074
  maxRows: 3,
2075
2075
  currentPage: 0,
2076
2076
  totalPages: 2
2077
- }, nr = {
2077
+ }, lr = {
2078
2078
  columns: 12,
2079
2079
  rowHeight: 120,
2080
2080
  gap: 15,
@@ -2082,15 +2082,15 @@ const er = [
2082
2082
  currentPage: 0,
2083
2083
  totalPages: 3
2084
2084
  };
2085
- function Me(e) {
2086
- return H.createElement("span", { style: { fontSize: 14 } }, e);
2085
+ function Te(e) {
2086
+ return j.createElement("span", { style: { fontSize: 14 } }, e);
2087
2087
  }
2088
- const rr = [
2088
+ const cr = [
2089
2089
  {
2090
2090
  id: "all-orders",
2091
2091
  type: "orders",
2092
2092
  name: "All Orders",
2093
- icon: Me("📋"),
2093
+ icon: Te("📋"),
2094
2094
  closable: !1,
2095
2095
  autoCreated: !0
2096
2096
  },
@@ -2098,17 +2098,17 @@ const rr = [
2098
2098
  id: "open-orders",
2099
2099
  type: "orders",
2100
2100
  name: "Open Orders",
2101
- icon: Me("📦"),
2101
+ icon: Te("📦"),
2102
2102
  closable: !0
2103
2103
  },
2104
2104
  {
2105
2105
  id: "shipped-orders",
2106
2106
  type: "orders",
2107
2107
  name: "Shipped Orders",
2108
- icon: Me("🚚"),
2108
+ icon: Te("🚚"),
2109
2109
  closable: !0
2110
2110
  }
2111
- ], sr = [
2111
+ ], dr = [
2112
2112
  {
2113
2113
  id: "orders-main",
2114
2114
  type: "orders",
@@ -2134,7 +2134,7 @@ const rr = [
2134
2134
  name: "Customers",
2135
2135
  closable: !0
2136
2136
  }
2137
- ], ir = [
2137
+ ], ur = [
2138
2138
  {
2139
2139
  id: "only-tab",
2140
2140
  type: "orders",
@@ -2142,7 +2142,7 @@ const rr = [
2142
2142
  closable: !1,
2143
2143
  autoCreated: !0
2144
2144
  }
2145
- ], or = [
2145
+ ], mr = [
2146
2146
  { id: "tab-1", type: "orders", name: "All Orders", closable: !1, autoCreated: !0 },
2147
2147
  { id: "tab-2", type: "orders", name: "Open Orders", closable: !0 },
2148
2148
  { id: "tab-3", type: "orders", name: "Shipped Orders", closable: !0 },
@@ -2154,7 +2154,7 @@ const rr = [
2154
2154
  { id: "tab-9", type: "order-items", name: "Order #12345", closable: !0 },
2155
2155
  { id: "tab-10", type: "orders", name: "Recent 30D", closable: !0 }
2156
2156
  ];
2157
- function Ee(e) {
2157
+ function Ae(e) {
2158
2158
  switch (e) {
2159
2159
  case "wide":
2160
2160
  return { cols: 2, rows: 1 };
@@ -2165,15 +2165,15 @@ function Ee(e) {
2165
2165
  return { cols: 1, rows: 1 };
2166
2166
  }
2167
2167
  }
2168
- function sa(e) {
2168
+ function la(e) {
2169
2169
  let t = 0;
2170
2170
  for (const a of e) {
2171
- const i = Ee(a.size), s = a.gridPosition.col + i.cols - 1;
2171
+ const i = Ae(a.size), s = a.gridPosition.col + i.cols - 1;
2172
2172
  s > t && (t = s);
2173
2173
  }
2174
2174
  return `repeat(${t > 0 ? t : Math.max(e.length, 1)}, minmax(0, 1fr))`;
2175
2175
  }
2176
- const ia = function(t) {
2176
+ const ca = function(t) {
2177
2177
  if (t.renderMode === "discrete")
2178
2178
  return /* @__PURE__ */ r(
2179
2179
  "div",
@@ -2181,7 +2181,7 @@ const ia = function(t) {
2181
2181
  className: "gloss-metric-group gloss-metric-group--discrete",
2182
2182
  style: { display: "contents" },
2183
2183
  children: t.cards.map((i) => {
2184
- const s = Ee(i.size);
2184
+ const s = Ae(i.size);
2185
2185
  return /* @__PURE__ */ r(
2186
2186
  "div",
2187
2187
  {
@@ -2242,10 +2242,10 @@ const ia = function(t) {
2242
2242
  style: {
2243
2243
  display: "grid",
2244
2244
  gap: "var(--gloss-spacing-2, 8px)",
2245
- gridTemplateColumns: sa(n)
2245
+ gridTemplateColumns: la(n)
2246
2246
  },
2247
2247
  children: n.map((i) => {
2248
- const s = Ee(i.size);
2248
+ const s = Ae(i.size);
2249
2249
  return /* @__PURE__ */ r(
2250
2250
  "div",
2251
2251
  {
@@ -2265,16 +2265,16 @@ const ia = function(t) {
2265
2265
  }
2266
2266
  );
2267
2267
  };
2268
- ia.displayName = "MetricGroupContainer";
2269
- const rt = "resize.tuning.dev", oa = {
2270
- ...Je,
2268
+ ca.displayName = "MetricGroupContainer";
2269
+ const st = "resize.tuning.dev", da = {
2270
+ ...et,
2271
2271
  snapInPx: 60,
2272
2272
  snapOutPx: 90
2273
- }, re = oa;
2274
- function la() {
2273
+ }, re = da;
2274
+ function ua() {
2275
2275
  if (typeof window > "u") return { ...re };
2276
2276
  try {
2277
- const e = window.localStorage.getItem(rt);
2277
+ const e = window.localStorage.getItem(st);
2278
2278
  if (!e) return { ...re };
2279
2279
  const t = JSON.parse(e);
2280
2280
  return !t || typeof t != "object" || Array.isArray(t) ? { ...re } : { ...re, ...t };
@@ -2282,31 +2282,31 @@ function la() {
2282
2282
  return { ...re };
2283
2283
  }
2284
2284
  }
2285
- function ca() {
2286
- const [e, t] = $(() => la());
2287
- L(() => {
2285
+ function ma() {
2286
+ const [e, t] = $(() => ua());
2287
+ O(() => {
2288
2288
  if (!(typeof window > "u"))
2289
2289
  try {
2290
- window.localStorage.setItem(rt, JSON.stringify(e));
2290
+ window.localStorage.setItem(st, JSON.stringify(e));
2291
2291
  } catch {
2292
2292
  }
2293
2293
  }, [e]);
2294
- const n = w(
2294
+ const n = _(
2295
2295
  (s, o) => {
2296
2296
  t((l) => ({ ...l, [s]: o }));
2297
2297
  },
2298
2298
  []
2299
- ), a = w(
2299
+ ), a = _(
2300
2300
  (s) => {
2301
2301
  t((o) => ({ ...o, [s]: re[s] }));
2302
2302
  },
2303
2303
  []
2304
- ), i = w(() => {
2304
+ ), i = _(() => {
2305
2305
  t({ ...re });
2306
2306
  }, []);
2307
2307
  return { values: e, setValue: n, resetRow: a, resetAll: i };
2308
2308
  }
2309
- const da = [
2309
+ const ga = [
2310
2310
  { key: "stiffness", label: "Spring stiffness", unit: "", min: 100, max: 1e3, step: 10 },
2311
2311
  { key: "damping", label: "Spring damping", unit: "", min: 10, max: 60, step: 1 },
2312
2312
  { key: "mass", label: "Spring mass", unit: "", min: 0.5, max: 2, step: 0.1 },
@@ -2317,10 +2317,10 @@ const da = [
2317
2317
  { key: "blueprintFadeOutMs", label: "Blueprint fade out", unit: "ms", min: 60, max: 400, step: 10 },
2318
2318
  { key: "velocityMultiplier", label: "Velocity multiplier", unit: "×", min: 0, max: 2, step: 0.05 }
2319
2319
  ];
2320
- function ua(e, t) {
2320
+ function pa(e, t) {
2321
2321
  return t >= 1 ? String(Math.round(e)) : t >= 0.1 ? e.toFixed(1) : e.toFixed(2);
2322
2322
  }
2323
- function ma() {
2323
+ function ha() {
2324
2324
  return /* @__PURE__ */ N(
2325
2325
  "svg",
2326
2326
  {
@@ -2340,8 +2340,8 @@ function ma() {
2340
2340
  }
2341
2341
  );
2342
2342
  }
2343
- function ga({ spec: e, value: t, onChange: n, onReset: a, flashing: i }) {
2344
- const s = w(
2343
+ function fa({ spec: e, value: t, onChange: n, onReset: a, flashing: i }) {
2344
+ const s = _(
2345
2345
  (o) => {
2346
2346
  (o.key === "r" || o.key === "R") && (o.preventDefault(), a());
2347
2347
  },
@@ -2356,7 +2356,7 @@ function ga({ spec: e, value: t, onChange: n, onReset: a, flashing: i }) {
2356
2356
  children: [
2357
2357
  /* @__PURE__ */ r("label", { className: "gloss-dev-tuning-panel__label", htmlFor: `gloss-dtp-${e.key}`, children: e.label }),
2358
2358
  /* @__PURE__ */ N("span", { className: "gloss-dev-tuning-panel__value", "aria-live": "off", children: [
2359
- ua(t, e.step),
2359
+ pa(t, e.step),
2360
2360
  e.unit ? ` ${e.unit}` : ""
2361
2361
  ] }),
2362
2362
  /* @__PURE__ */ r(
@@ -2380,14 +2380,14 @@ function ga({ spec: e, value: t, onChange: n, onReset: a, flashing: i }) {
2380
2380
  className: "gloss-dev-tuning-panel__reset",
2381
2381
  "aria-label": `Reset ${e.label}`,
2382
2382
  onClick: a,
2383
- children: /* @__PURE__ */ r(ma, {})
2383
+ children: /* @__PURE__ */ r(ha, {})
2384
2384
  }
2385
2385
  )
2386
2386
  ]
2387
2387
  }
2388
2388
  );
2389
2389
  }
2390
- function pa() {
2390
+ function ba() {
2391
2391
  if (typeof process < "u" && process.env && process.env.NODE_ENV === "production" || typeof window > "u") return !1;
2392
2392
  try {
2393
2393
  return new URLSearchParams(window.location.search).has("devtune");
@@ -2395,23 +2395,23 @@ function pa() {
2395
2395
  return !1;
2396
2396
  }
2397
2397
  }
2398
- function ha(e = {}) {
2399
- return pa() ? /* @__PURE__ */ r(fa, {}) : null;
2398
+ function va(e = {}) {
2399
+ return ba() ? /* @__PURE__ */ r(ya, {}) : null;
2400
2400
  }
2401
- ha.displayName = "DevTuningPanel";
2402
- function fa() {
2403
- const e = ca(), { values: t, setValue: n, resetRow: a, resetAll: i } = e, [s, o] = $(null), l = T(null), d = w((m) => {
2401
+ va.displayName = "DevTuningPanel";
2402
+ function ya() {
2403
+ const e = ma(), { values: t, setValue: n, resetRow: a, resetAll: i } = e, [s, o] = $(null), l = T(null), c = _((m) => {
2404
2404
  l.current && clearTimeout(l.current), o(m), l.current = setTimeout(() => {
2405
2405
  o(null), l.current = null;
2406
2406
  }, 200);
2407
- }, []), u = w(
2407
+ }, []), u = _(
2408
2408
  (m, g) => {
2409
- n(m, g), m === "snapInPx" && g > t.snapOutPx && (n("snapOutPx", g), d("snapOutPx"));
2409
+ n(m, g), m === "snapInPx" && g > t.snapOutPx && (n("snapOutPx", g), c("snapOutPx"));
2410
2410
  },
2411
- [n, t.snapOutPx, d]
2412
- ), v = ye(() => da, []), f = Nt();
2411
+ [n, t.snapOutPx, c]
2412
+ ), f = we(() => ga, []), h = kt();
2413
2413
  return /* @__PURE__ */ N(
2414
- De.div,
2414
+ ke.div,
2415
2415
  {
2416
2416
  className: "gloss-dev-tuning-panel",
2417
2417
  role: "region",
@@ -2419,22 +2419,22 @@ function fa() {
2419
2419
  "data-testid": "gloss-dev-tuning-panel",
2420
2420
  drag: !0,
2421
2421
  dragListener: !1,
2422
- dragControls: f,
2422
+ dragControls: h,
2423
2423
  dragMomentum: !1,
2424
2424
  children: [
2425
2425
  /* @__PURE__ */ N(
2426
2426
  "div",
2427
2427
  {
2428
2428
  className: "gloss-dev-tuning-panel__header",
2429
- onPointerDown: (m) => f.start(m),
2429
+ onPointerDown: (m) => h.start(m),
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: v.map((m) => /* @__PURE__ */ r(
2437
- ga,
2436
+ /* @__PURE__ */ r("div", { className: "gloss-dev-tuning-panel__body", children: f.map((m) => /* @__PURE__ */ r(
2437
+ fa,
2438
2438
  {
2439
2439
  spec: m,
2440
2440
  value: t[m.key],
@@ -2457,7 +2457,7 @@ function fa() {
2457
2457
  }
2458
2458
  );
2459
2459
  }
2460
- function lr({
2460
+ function gr({
2461
2461
  state: e,
2462
2462
  originX: t,
2463
2463
  originY: n,
@@ -2466,28 +2466,28 @@ function lr({
2466
2466
  minBoundaryX: s,
2467
2467
  snapBoundariesX: o,
2468
2468
  topY: l,
2469
- bottomY: d,
2470
- enterMs: u = se.envelopeEnterMs,
2471
- exitMs: v = se.envelopeExitMs,
2472
- className: f,
2469
+ bottomY: c,
2470
+ enterMs: u = ie.envelopeEnterMs,
2471
+ exitMs: f = ie.envelopeExitMs,
2472
+ className: h,
2473
2473
  style: m
2474
2474
  }) {
2475
2475
  if (e === "hidden") return null;
2476
- const g = Math.max(0, i - a), _ = Math.max(0, d - l), p = {
2476
+ const g = Math.max(0, i - a), w = Math.max(0, c - l), p = {
2477
2477
  "--gloss-resize-envelope-enter-ms": `${u}ms`,
2478
- "--gloss-resize-envelope-exit-ms": `${v}ms`,
2478
+ "--gloss-resize-envelope-exit-ms": `${f}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
2483
  width: g,
2484
- height: _,
2484
+ height: w,
2485
2485
  ...m
2486
2486
  };
2487
2487
  return /* @__PURE__ */ N(
2488
2488
  "div",
2489
2489
  {
2490
- className: ["gloss-resize-envelope", `gloss-resize-envelope--state-${e}`, f].filter(Boolean).join(" "),
2490
+ className: ["gloss-resize-envelope", `gloss-resize-envelope--state-${e}`, h].filter(Boolean).join(" "),
2491
2491
  "data-state": e,
2492
2492
  "data-testid": "gloss-resize-envelope",
2493
2493
  style: p,
@@ -2517,20 +2517,20 @@ function lr({
2517
2517
  style: { left: g - 1 }
2518
2518
  }
2519
2519
  ),
2520
- o.filter((h) => h > s && h < i).map((h) => /* @__PURE__ */ r(
2520
+ o.filter((b) => b > s && b < i).map((b) => /* @__PURE__ */ r(
2521
2521
  "div",
2522
2522
  {
2523
2523
  className: "gloss-resize-envelope__snap-line",
2524
2524
  "data-snap-line": !0,
2525
- style: { left: h - a }
2525
+ style: { left: b - a }
2526
2526
  },
2527
- h
2527
+ b
2528
2528
  ))
2529
2529
  ]
2530
2530
  }
2531
2531
  );
2532
2532
  }
2533
- function cr({
2533
+ function pr({
2534
2534
  density: e,
2535
2535
  canAccept: t,
2536
2536
  blocked: n = !1,
@@ -2540,12 +2540,12 @@ function cr({
2540
2540
  children: o,
2541
2541
  ...l
2542
2542
  }) {
2543
- const d = a != null ? { ...l.style, "--_proximity-opacity": String(a) } : l.style;
2543
+ const c = a != null ? { ...l.style, "--_proximity-opacity": String(a) } : l.style;
2544
2544
  return /* @__PURE__ */ r(
2545
2545
  "div",
2546
2546
  {
2547
2547
  ...l,
2548
- style: d,
2548
+ style: c,
2549
2549
  "data-density": e,
2550
2550
  "data-can-accept": t ? "true" : "false",
2551
2551
  "data-blocked": n ? "true" : void 0,
@@ -2561,14 +2561,14 @@ function cr({
2561
2561
  }
2562
2562
  );
2563
2563
  }
2564
- function va(e, t, n, a) {
2564
+ function wa(e, t, n, a) {
2565
2565
  const i = (e + n) / 2, s = Math.min(t, a) - 40;
2566
2566
  return `M${e},${t} Q${i},${s} ${n},${a}`;
2567
2567
  }
2568
- function dr({
2568
+ function hr({
2569
2569
  segments: e,
2570
- durationMs: t = se.spilloverArcDurationMs,
2571
- staggerMs: n = se.spilloverStaggerMs,
2570
+ durationMs: t = ie.spilloverArcDurationMs,
2571
+ staggerMs: n = ie.spilloverStaggerMs,
2572
2572
  className: a,
2573
2573
  style: i
2574
2574
  }) {
@@ -2585,7 +2585,7 @@ function dr({
2585
2585
  {
2586
2586
  "data-arc-id": s.id,
2587
2587
  className: "gloss-spillover-arc__path",
2588
- d: va(s.fromX, s.fromY, s.toX, s.toY),
2588
+ d: wa(s.fromX, s.fromY, s.toX, s.toY),
2589
2589
  style: {
2590
2590
  animationDelay: `${o * n}ms`,
2591
2591
  animationDuration: `${t}ms`
@@ -2596,16 +2596,16 @@ function dr({
2596
2596
  }
2597
2597
  );
2598
2598
  }
2599
- function ur({
2599
+ function fr({
2600
2600
  state: e,
2601
2601
  staggerIndex: t = 0,
2602
- fadeInMs: n = se.sectionDividerFadeInMs,
2603
- fadeOutMs: a = se.sectionDividerFadeOutMs,
2604
- staggerMs: i = se.sectionDividerStaggerMs,
2602
+ fadeInMs: n = ie.sectionDividerFadeInMs,
2603
+ fadeOutMs: a = ie.sectionDividerFadeOutMs,
2604
+ staggerMs: i = ie.sectionDividerStaggerMs,
2605
2605
  variant: s = "dashed",
2606
2606
  className: o,
2607
2607
  style: l,
2608
- ...d
2608
+ ...c
2609
2609
  }) {
2610
2610
  const u = {
2611
2611
  "--gloss-section-divider-fade-in-ms": `${n}ms`,
@@ -2616,7 +2616,7 @@ function ur({
2616
2616
  return /* @__PURE__ */ r(
2617
2617
  "div",
2618
2618
  {
2619
- ...d,
2619
+ ...c,
2620
2620
  "data-state": e,
2621
2621
  "data-testid": "gloss-section-divider",
2622
2622
  "aria-hidden": "true",
@@ -2630,7 +2630,7 @@ function ur({
2630
2630
  }
2631
2631
  );
2632
2632
  }
2633
- function mr({
2633
+ function br({
2634
2634
  enabled: e,
2635
2635
  onCollapse: t,
2636
2636
  onAdd: n,
@@ -2639,11 +2639,11 @@ function mr({
2639
2639
  className: s,
2640
2640
  style: o,
2641
2641
  onPack: l,
2642
- ariaLabel: d
2642
+ ariaLabel: c
2643
2643
  }) {
2644
- const u = a ?? "Add card to this cell", v = i ?? d ?? "Pack row — shift cards left", f = t ?? l, m = ht();
2645
- return /* @__PURE__ */ N(Xe.Fragment, { children: [
2646
- /* @__PURE__ */ r(Pe, { visible: !m.isActive, variant: "pack", trigger: "hover+focus", children: /* @__PURE__ */ r(
2644
+ const u = a ?? "Add card to this cell", f = i ?? c ?? "Pack row — shift cards left", h = t ?? l, m = bt();
2645
+ return /* @__PURE__ */ N(Je.Fragment, { children: [
2646
+ /* @__PURE__ */ r(Fe, { visible: !m.isActive, variant: "pack", trigger: "hover+focus", children: /* @__PURE__ */ r(
2647
2647
  "button",
2648
2648
  {
2649
2649
  type: "button",
@@ -2661,26 +2661,26 @@ function mr({
2661
2661
  children: /* @__PURE__ */ r("span", { "aria-hidden": "true", className: "gloss-empty-cell-pack-affordance__glyph", children: "+" })
2662
2662
  }
2663
2663
  ) }),
2664
- /* @__PURE__ */ r(Pe, { visible: e && !m.isActive, variant: "pack", trigger: "hover+focus", children: /* @__PURE__ */ r(
2664
+ /* @__PURE__ */ r(Fe, { visible: e && !m.isActive, variant: "pack", trigger: "hover+focus", children: /* @__PURE__ */ r(
2665
2665
  "button",
2666
2666
  {
2667
2667
  type: "button",
2668
2668
  "data-testid": "gloss-empty-cell-pack",
2669
- "aria-label": v,
2669
+ "aria-label": f,
2670
2670
  className: ["gloss-empty-cell-pack-affordance", s].filter(Boolean).join(" "),
2671
2671
  style: o,
2672
2672
  onClick: (g) => {
2673
- g.stopPropagation(), f?.();
2673
+ g.stopPropagation(), h?.();
2674
2674
  },
2675
2675
  children: /* @__PURE__ */ r("span", { "aria-hidden": "true", className: "gloss-empty-cell-pack-affordance__glyph", children: "×" })
2676
2676
  }
2677
2677
  ) })
2678
2678
  ] });
2679
2679
  }
2680
- function gr() {
2680
+ function vr() {
2681
2681
  return { affordancesVisible: !0 };
2682
2682
  }
2683
- function pr({
2683
+ function yr({
2684
2684
  tint: e,
2685
2685
  colSpan: t,
2686
2686
  colWidth: n,
@@ -2689,11 +2689,11 @@ function pr({
2689
2689
  x: s,
2690
2690
  y: o,
2691
2691
  children: l,
2692
- className: d
2692
+ className: c
2693
2693
  }) {
2694
2694
  const u = t * n + (t - 1) * i;
2695
2695
  return /* @__PURE__ */ r(
2696
- De.div,
2696
+ ke.div,
2697
2697
  {
2698
2698
  "data-testid": "gloss-drag-ghost",
2699
2699
  "data-tint": e,
@@ -2701,40 +2701,58 @@ function pr({
2701
2701
  className: [
2702
2702
  "gloss-drag-ghost",
2703
2703
  `gloss-drag-ghost--tint-${e}`,
2704
- d
2704
+ c
2705
2705
  ].filter(Boolean).join(" "),
2706
2706
  style: { x: s, y: o, width: u, height: a },
2707
2707
  children: l
2708
2708
  }
2709
2709
  );
2710
2710
  }
2711
- const ba = 3;
2712
- function hr({
2713
- cell: e,
2714
- colSpan: t,
2715
- colWidth: n,
2716
- gap: a,
2717
- rowHeight: i,
2718
- transitionMs: s = 120,
2719
- className: o
2711
+ const _a = 3;
2712
+ function it({
2713
+ gesture: e,
2714
+ cell: t,
2715
+ colSpan: n,
2716
+ colWidth: a,
2717
+ gap: i,
2718
+ rowHeight: s,
2719
+ pattern: o = "solid",
2720
+ transitionMs: l = 120,
2721
+ className: c
2720
2722
  }) {
2721
- const l = t * n + (t - 1) * a, u = (e.section * ba + e.col) * (n + a), v = e.row * (i + a);
2723
+ const u = n * a + (n - 1) * i, h = (t.section * _a + t.col) * (a + i), m = t.row * (s + i), g = e === "resize" ? 2.5 : 2, w = o === "dashed-retreated" ? "dashed" : "solid", p = e === "drag" ? "gloss-snap-outline" : "gloss-tracking-outline";
2722
2724
  return /* @__PURE__ */ r(
2723
2725
  "div",
2724
2726
  {
2725
- className: ["gloss-drag-feedback-snap-outline", o].filter(Boolean).join(" "),
2726
- "data-testid": "gloss-snap-outline",
2727
+ className: [
2728
+ "gloss-tracking-outline",
2729
+ `gloss-tracking-outline--${e}`,
2730
+ `gloss-tracking-outline--${o}`,
2731
+ // D-15 #4 parity: drag callers must keep the legacy class so reptime
2732
+ // metric-card-grid.scss nested selectors continue to match.
2733
+ e === "drag" ? "gloss-drag-feedback-snap-outline" : null,
2734
+ c
2735
+ ].filter(Boolean).join(" "),
2736
+ "data-testid": p,
2737
+ "data-tracking-outline": "",
2738
+ "data-gesture": e,
2739
+ "data-pattern": o,
2727
2740
  "aria-hidden": "true",
2728
2741
  style: {
2729
- transform: `translate(${u}px, ${v}px)`,
2730
- width: l,
2731
- height: i,
2732
- transition: `transform ${s}ms cubic-bezier(0.4, 0, 0.2, 1)`
2742
+ transform: `translate(${h}px, ${m}px)`,
2743
+ width: u,
2744
+ height: s,
2745
+ borderWidth: g,
2746
+ borderStyle: w,
2747
+ transition: `transform ${l}ms cubic-bezier(0.4, 0, 0.2, 1)`
2733
2748
  }
2734
2749
  }
2735
2750
  );
2736
2751
  }
2737
- function fr({
2752
+ function wr(e) {
2753
+ return /* @__PURE__ */ r(it, { gesture: "drag", pattern: "solid", ...e });
2754
+ }
2755
+ function _r({
2738
2756
  items: e,
2739
2757
  children: t,
2740
2758
  className: n,
@@ -2742,7 +2760,7 @@ function fr({
2742
2760
  }) {
2743
2761
  const i = process.env.NODE_ENV !== "production" && (a || typeof window < "u" && window.__GLOSS_CASCADE_PREVIEW_DEBUG__ === !0);
2744
2762
  return e.length === 0 ? null : /* @__PURE__ */ r(te, { children: e.map((s) => /* @__PURE__ */ r(
2745
- De.div,
2763
+ ke.div,
2746
2764
  {
2747
2765
  "data-card-id": s.cardId,
2748
2766
  "data-testid": "gloss-cascade-preview-item",
@@ -2761,15 +2779,15 @@ function fr({
2761
2779
  s.cardId
2762
2780
  )) });
2763
2781
  }
2764
- const ya = ({
2782
+ const Na = ({
2765
2783
  consumed: e,
2766
2784
  elapsed: t,
2767
2785
  severity: n = "neutral"
2768
2786
  }) => {
2769
2787
  const a = T(null), i = T(null);
2770
- L(() => {
2771
- const l = Math.min(100, Math.max(0, e.value)), d = Math.min(100, Math.max(0, t.value)), u = requestAnimationFrame(() => {
2772
- a.current && (a.current.style.width = `${l}%`), i.current && (i.current.style.width = `${d}%`);
2788
+ O(() => {
2789
+ const l = Math.min(100, Math.max(0, e.value)), c = Math.min(100, Math.max(0, t.value)), u = requestAnimationFrame(() => {
2790
+ a.current && (a.current.style.width = `${l}%`), i.current && (i.current.style.width = `${c}%`);
2773
2791
  });
2774
2792
  return () => cancelAnimationFrame(u);
2775
2793
  }, [e.value, t.value]);
@@ -2824,7 +2842,7 @@ const ya = ({
2824
2842
  ]
2825
2843
  }
2826
2844
  );
2827
- }, wa = ({ label: e, value: t, severity: n }) => /* @__PURE__ */ N(
2845
+ }, Da = ({ label: e, value: t, severity: n }) => /* @__PURE__ */ N(
2828
2846
  "div",
2829
2847
  {
2830
2848
  className: `gloss-gap-readout gloss-gap-readout--${n}`,
@@ -2837,7 +2855,7 @@ const ya = ({
2837
2855
  ] })
2838
2856
  ]
2839
2857
  }
2840
- ), _a = ({ label: e, onSetTarget: t }) => /* @__PURE__ */ N("div", { className: "gloss-pace-placeholder", children: [
2858
+ ), ka = ({ label: e, onSetTarget: t }) => /* @__PURE__ */ N("div", { className: "gloss-pace-placeholder", children: [
2841
2859
  /* @__PURE__ */ r("p", { className: "gloss-pace-placeholder__heading", children: "Set a target" }),
2842
2860
  /* @__PURE__ */ N("p", { className: "gloss-pace-placeholder__context", children: [
2843
2861
  "for ",
@@ -2853,9 +2871,9 @@ const ya = ({
2853
2871
  children: "Set target"
2854
2872
  }
2855
2873
  )
2856
- ] }), vr = (e) => {
2874
+ ] }), Nr = (e) => {
2857
2875
  const [t, n] = $(!1), a = e.target?.value, i = a !== void 0, s = e.paceGapUnit === "usd" ? "$" : "%", o = /* @__PURE__ */ r(
2858
- It,
2876
+ Ft,
2859
2877
  {
2860
2878
  label: `Set a target for ${e.label}`,
2861
2879
  unit: s,
@@ -2869,7 +2887,7 @@ const ya = ({
2869
2887
  }
2870
2888
  );
2871
2889
  return /* @__PURE__ */ r(
2872
- ft,
2890
+ vt,
2873
2891
  {
2874
2892
  colSpan: 2,
2875
2893
  enableQuickSettings: !0,
@@ -2882,16 +2900,16 @@ const ya = ({
2882
2900
  e.subtitle && /* @__PURE__ */ r("div", { className: "gloss-pace-card__subtitle", children: e.subtitle }),
2883
2901
  /* @__PURE__ */ r("div", { className: "gloss-pace-card__body", children: i ? /* @__PURE__ */ N(te, { children: [
2884
2902
  /* @__PURE__ */ r(
2885
- ya,
2903
+ Na,
2886
2904
  {
2887
2905
  consumed: e.consumed,
2888
2906
  elapsed: e.elapsed,
2889
2907
  severity: e.severity
2890
2908
  }
2891
2909
  ),
2892
- /* @__PURE__ */ r(wa, { label: "Gap", value: e.gapLabel, severity: e.severity })
2910
+ /* @__PURE__ */ r(Da, { label: "Gap", value: e.gapLabel, severity: e.severity })
2893
2911
  ] }) : /* @__PURE__ */ r(
2894
- _a,
2912
+ ka,
2895
2913
  {
2896
2914
  label: e.label,
2897
2915
  onSetTarget: () => n(!0)
@@ -2900,7 +2918,7 @@ const ya = ({
2900
2918
  ] })
2901
2919
  }
2902
2920
  );
2903
- }, br = () => /* @__PURE__ */ N("div", { className: "gloss-pace-tile-preview", "aria-hidden": "true", children: [
2921
+ }, Dr = () => /* @__PURE__ */ N("div", { className: "gloss-pace-tile-preview", "aria-hidden": "true", children: [
2904
2922
  /* @__PURE__ */ r(
2905
2923
  "div",
2906
2924
  {
@@ -2917,7 +2935,7 @@ const ya = ({
2917
2935
  ),
2918
2936
  /* @__PURE__ */ r("div", { className: "gloss-pace-tile-preview__gap-strip" })
2919
2937
  ] });
2920
- function Na({ id: e, label: t, selected: n, focused: a, disabled: i, badge: s, onClick: o }) {
2938
+ function Ca({ id: e, label: t, selected: n, focused: a, disabled: i, badge: s, onClick: o }) {
2921
2939
  return /* @__PURE__ */ r(
2922
2940
  "span",
2923
2941
  {
@@ -2938,7 +2956,7 @@ function Na({ id: e, label: t, selected: n, focused: a, disabled: i, badge: s, o
2938
2956
  }
2939
2957
  );
2940
2958
  }
2941
- function Da({
2959
+ function xa({
2942
2960
  lenses: e,
2943
2961
  value: t,
2944
2962
  onChange: n,
@@ -2947,8 +2965,8 @@ function Da({
2947
2965
  const [i, s] = $(
2948
2966
  () => Math.max(0, e.findIndex((l) => l.id === t))
2949
2967
  );
2950
- return L(() => {
2951
- const l = e.findIndex((d) => d.id === t);
2968
+ return O(() => {
2969
+ const l = e.findIndex((c) => c.id === t);
2952
2970
  s(l >= 0 ? l : 0);
2953
2971
  }, [t, e]), e.length === 0 ? null : /* @__PURE__ */ r(
2954
2972
  "div",
@@ -2959,11 +2977,11 @@ function Da({
2959
2977
  switch (l.key) {
2960
2978
  case "ArrowRight":
2961
2979
  case "ArrowDown":
2962
- l.preventDefault(), s((d) => (d + 1) % e.length);
2980
+ l.preventDefault(), s((c) => (c + 1) % e.length);
2963
2981
  break;
2964
2982
  case "ArrowLeft":
2965
2983
  case "ArrowUp":
2966
- l.preventDefault(), s((d) => (d - 1 + e.length) % e.length);
2984
+ l.preventDefault(), s((c) => (c - 1 + e.length) % e.length);
2967
2985
  break;
2968
2986
  case "Home":
2969
2987
  l.preventDefault(), s(0);
@@ -2974,20 +2992,20 @@ function Da({
2974
2992
  case "Enter":
2975
2993
  case " ": {
2976
2994
  l.preventDefault();
2977
- const d = e[i];
2978
- d && !d.disabled && n(d.id);
2995
+ const c = e[i];
2996
+ c && !c.disabled && n(c.id);
2979
2997
  break;
2980
2998
  }
2981
2999
  }
2982
3000
  },
2983
3001
  className: "gloss-lens-chip-group",
2984
- children: e.map((l, d) => /* @__PURE__ */ r(
2985
- Na,
3002
+ children: e.map((l, c) => /* @__PURE__ */ r(
3003
+ Ca,
2986
3004
  {
2987
3005
  id: l.id,
2988
3006
  label: l.label,
2989
3007
  selected: l.id === t,
2990
- focused: d === i,
3008
+ focused: c === i,
2991
3009
  disabled: l.disabled,
2992
3010
  badge: l.badge,
2993
3011
  onClick: n
@@ -2997,15 +3015,15 @@ function Da({
2997
3015
  }
2998
3016
  );
2999
3017
  }
3000
- Da.displayName = "LensChipGroup";
3001
- function ka({ heading: e, children: t }) {
3018
+ xa.displayName = "LensChipGroup";
3019
+ function Sa({ heading: e, children: t }) {
3002
3020
  return !t || Array.isArray(t) && t.length === 0 ? null : /* @__PURE__ */ N("section", { className: "gloss-starter-rail", "aria-label": e, children: [
3003
3021
  /* @__PURE__ */ r("header", { className: "gloss-starter-rail__heading", children: e }),
3004
3022
  /* @__PURE__ */ r("div", { className: "gloss-starter-rail__tiles", children: t })
3005
3023
  ] });
3006
3024
  }
3007
- ka.displayName = "StarterRail";
3008
- function Ca({ heading: e, children: t, emptyStateLabel: n }) {
3025
+ Sa.displayName = "StarterRail";
3026
+ function Ra({ heading: e, children: t, emptyStateLabel: n }) {
3009
3027
  const a = !t || Array.isArray(t) && t.length === 0;
3010
3028
  return /* @__PURE__ */ N("section", { className: "gloss-more-in-lens-rail", "aria-label": e, children: [
3011
3029
  /* @__PURE__ */ r("header", { className: "gloss-more-in-lens-rail__heading", children: e }),
@@ -3015,7 +3033,7 @@ function Ca({ heading: e, children: t, emptyStateLabel: n }) {
3015
3033
  ] })
3016
3034
  ] });
3017
3035
  }
3018
- Ca.displayName = "MoreInLensRail";
3036
+ Ra.displayName = "MoreInLensRail";
3019
3037
  function X({
3020
3038
  lead: e,
3021
3039
  name: t,
@@ -3025,21 +3043,21 @@ function X({
3025
3043
  variant: s = "default",
3026
3044
  onClick: o,
3027
3045
  className: l,
3028
- style: d
3046
+ style: c
3029
3047
  }) {
3030
3048
  const u = [
3031
3049
  "gloss-entity-row",
3032
3050
  `gloss-entity-row--${s}`,
3033
3051
  o ? "gloss-entity-row--clickable" : "",
3034
3052
  l ?? ""
3035
- ].filter(Boolean).join(" "), v = /* @__PURE__ */ N(te, { children: [
3053
+ ].filter(Boolean).join(" "), f = /* @__PURE__ */ N(te, { children: [
3036
3054
  e !== void 0 && /* @__PURE__ */ r("span", { className: "gloss-entity-row__lead", children: e }),
3037
3055
  /* @__PURE__ */ r("span", { className: "gloss-entity-row__name", title: t, children: t }),
3038
3056
  n !== void 0 && /* @__PURE__ */ r("span", { className: "gloss-entity-row__secondary", children: n }),
3039
3057
  /* @__PURE__ */ r("span", { className: "gloss-entity-row__value", children: a }),
3040
3058
  i !== void 0 && /* @__PURE__ */ r("span", { className: "gloss-entity-row__trail", children: i })
3041
3059
  ] });
3042
- return o ? /* @__PURE__ */ r("div", { role: "listitem", className: u, style: d, children: /* @__PURE__ */ r(
3060
+ return o ? /* @__PURE__ */ r("div", { role: "listitem", className: u, style: c, children: /* @__PURE__ */ r(
3043
3061
  "button",
3044
3062
  {
3045
3063
  type: "button",
@@ -3051,15 +3069,15 @@ function X({
3051
3069
  gap: 4,
3052
3070
  cursor: "pointer"
3053
3071
  },
3054
- onClick: (f) => {
3055
- f.stopPropagation(), o();
3072
+ onClick: (h) => {
3073
+ h.stopPropagation(), o();
3056
3074
  },
3057
- children: v
3075
+ children: f
3058
3076
  }
3059
- ) }) : /* @__PURE__ */ r("div", { role: "listitem", className: u, style: d, children: v });
3077
+ ) }) : /* @__PURE__ */ r("div", { role: "listitem", className: u, style: c, children: f });
3060
3078
  }
3061
3079
  X.displayName = "EntityRow";
3062
- const fe = ({ rank: e }) => {
3080
+ const be = ({ rank: e }) => {
3063
3081
  const t = e === 1 ? "first" : "other";
3064
3082
  return /* @__PURE__ */ r(
3065
3083
  "span",
@@ -3071,7 +3089,7 @@ const fe = ({ rank: e }) => {
3071
3089
  }
3072
3090
  );
3073
3091
  };
3074
- fe.displayName = "RankBadge";
3092
+ be.displayName = "RankBadge";
3075
3093
  function ve({ severity: e, "aria-label": t }) {
3076
3094
  return /* @__PURE__ */ r(
3077
3095
  "span",
@@ -3083,7 +3101,7 @@ function ve({ severity: e, "aria-label": t }) {
3083
3101
  );
3084
3102
  }
3085
3103
  ve.displayName = "SeverityDot";
3086
- function st({
3104
+ function ot({
3087
3105
  delta: e,
3088
3106
  direction: t = "flat",
3089
3107
  "aria-label": n
@@ -3112,8 +3130,8 @@ function st({
3112
3130
  }
3113
3131
  );
3114
3132
  }
3115
- st.displayName = "RankDelta";
3116
- function be({ fill: e, variant: t = "default", className: n }) {
3133
+ ot.displayName = "RankDelta";
3134
+ function ye({ fill: e, variant: t = "default", className: n }) {
3117
3135
  const a = Math.max(0, Math.min(100, e));
3118
3136
  return /* @__PURE__ */ r(
3119
3137
  "div",
@@ -3129,9 +3147,9 @@ function be({ fill: e, variant: t = "default", className: n }) {
3129
3147
  }
3130
3148
  );
3131
3149
  }
3132
- be.displayName = "MagnitudeBar";
3133
- const xa = (e) => e.rankDelta === "new" ? "New entry" : e.direction === "up" ? `Rank up ${e.rankDelta}` : e.direction === "down" ? `Rank down ${e.rankDelta}` : "Rank unchanged";
3134
- function Sa({
3150
+ ye.displayName = "MagnitudeBar";
3151
+ const Ta = (e) => e.rankDelta === "new" ? "New entry" : e.direction === "up" ? `Rank up ${e.rankDelta}` : e.direction === "down" ? `Rank down ${e.rankDelta}` : "Rank unchanged";
3152
+ function Ma({
3135
3153
  label: e,
3136
3154
  rows: t,
3137
3155
  rowCount: n,
@@ -3141,25 +3159,25 @@ function Sa({
3141
3159
  const s = n ?? 3;
3142
3160
  return /* @__PURE__ */ N(te, { children: [
3143
3161
  /* @__PURE__ */ r(
3144
- pe,
3162
+ he,
3145
3163
  {
3146
3164
  className: "gloss-metric-card__zone-a",
3147
3165
  style: { height: 28, flexShrink: 0, zIndex: 2, position: "relative" },
3148
- children: /* @__PURE__ */ r(Re, { className: "gloss-metric-card__label", children: e })
3166
+ children: /* @__PURE__ */ r(Ie, { className: "gloss-metric-card__label", children: e })
3149
3167
  }
3150
3168
  ),
3151
3169
  /* @__PURE__ */ r(
3152
- pe,
3170
+ he,
3153
3171
  {
3154
3172
  className: `gloss-metric-card__zone-b gloss-leaderboard ${i ? "gloss-metric-data-stale" : ""}`,
3155
3173
  style: { flex: 1, zIndex: 2, position: "relative", minHeight: 0 },
3156
3174
  children: /* @__PURE__ */ r("div", { className: "gloss-leaderboard__rows", role: "list", children: t.slice(0, s).map((o, l) => /* @__PURE__ */ r(
3157
3175
  X,
3158
3176
  {
3159
- lead: /* @__PURE__ */ r(fe, { rank: l + 1 }),
3177
+ lead: /* @__PURE__ */ r(be, { rank: l + 1 }),
3160
3178
  name: o.name,
3161
3179
  secondary: /* @__PURE__ */ r(
3162
- be,
3180
+ ye,
3163
3181
  {
3164
3182
  fill: o.magnitude,
3165
3183
  variant: o.isBottom ? "bottom" : "default"
@@ -3167,11 +3185,11 @@ function Sa({
3167
3185
  ),
3168
3186
  value: o.value,
3169
3187
  trail: /* @__PURE__ */ r(
3170
- st,
3188
+ ot,
3171
3189
  {
3172
3190
  delta: o.rankDelta,
3173
3191
  direction: o.direction,
3174
- "aria-label": xa(o)
3192
+ "aria-label": Ta(o)
3175
3193
  }
3176
3194
  ),
3177
3195
  variant: "leaderboard",
@@ -3187,22 +3205,22 @@ function Sa({
3187
3205
  ] })
3188
3206
  ] });
3189
3207
  }
3190
- Sa.displayName = "LeaderboardCard";
3191
- const Ma = () => /* @__PURE__ */ N(
3208
+ Ma.displayName = "LeaderboardCard";
3209
+ const Ia = () => /* @__PURE__ */ N(
3192
3210
  "div",
3193
3211
  {
3194
3212
  className: "leaderboard-tile-preview",
3195
3213
  "aria-hidden": "true",
3196
3214
  style: { transform: "scale(0.6)", transformOrigin: "top left" },
3197
3215
  children: [
3198
- /* @__PURE__ */ r(X, { lead: /* @__PURE__ */ r(fe, { rank: 1 }), name: "Vendor A", secondary: /* @__PURE__ */ r(be, { fill: 96 }), value: "98%" }),
3199
- /* @__PURE__ */ r(X, { lead: /* @__PURE__ */ r(fe, { rank: 2 }), name: "Vendor B", secondary: /* @__PURE__ */ r(be, { fill: 72 }), value: "85%" }),
3200
- /* @__PURE__ */ r(X, { lead: /* @__PURE__ */ r(fe, { rank: 3 }), name: "Vendor C", secondary: /* @__PURE__ */ r(be, { fill: 48 }), value: "71%" })
3216
+ /* @__PURE__ */ r(X, { lead: /* @__PURE__ */ r(be, { rank: 1 }), name: "Vendor A", secondary: /* @__PURE__ */ r(ye, { fill: 96 }), value: "98%" }),
3217
+ /* @__PURE__ */ r(X, { lead: /* @__PURE__ */ r(be, { rank: 2 }), name: "Vendor B", secondary: /* @__PURE__ */ r(ye, { fill: 72 }), value: "85%" }),
3218
+ /* @__PURE__ */ r(X, { lead: /* @__PURE__ */ r(be, { rank: 3 }), name: "Vendor C", secondary: /* @__PURE__ */ r(ye, { fill: 48 }), value: "71%" })
3201
3219
  ]
3202
3220
  }
3203
3221
  );
3204
- Ma.displayName = "LeaderboardTilePreview";
3205
- const Ta = (e) => e === "critical" ? "Critical severity" : e === "warn" ? "Warning severity" : "Info severity", Ra = (e, t) => {
3222
+ Ia.displayName = "LeaderboardTilePreview";
3223
+ const Pa = (e) => e === "critical" ? "Critical severity" : e === "warn" ? "Warning severity" : "Info severity", Fa = (e, t) => {
3206
3224
  const n = e.sourceValue;
3207
3225
  if (typeof n != "number") return !1;
3208
3226
  switch (t.condition) {
@@ -3220,7 +3238,7 @@ const Ta = (e) => e === "critical" ? "Critical severity" : e === "warn" ? "Warni
3220
3238
  return !1;
3221
3239
  }
3222
3240
  };
3223
- function Ia({
3241
+ function Ea({
3224
3242
  label: e,
3225
3243
  rows: t,
3226
3244
  rule: n,
@@ -3229,40 +3247,40 @@ function Ia({
3229
3247
  ruleSubtitle: s,
3230
3248
  isStale: o
3231
3249
  }) {
3232
- const l = t.filter((u) => Ra(u, n)), d = l.slice(0, a ?? 3);
3250
+ const l = t.filter((u) => Fa(u, n)), c = l.slice(0, a ?? 3);
3233
3251
  return l.length === 0 ? /* @__PURE__ */ N(te, { children: [
3234
3252
  /* @__PURE__ */ r(
3235
- pe,
3253
+ he,
3236
3254
  {
3237
3255
  className: "gloss-metric-card__zone-a",
3238
3256
  style: { height: 28, flexShrink: 0, zIndex: 2, position: "relative" },
3239
- children: /* @__PURE__ */ r(Re, { className: "gloss-metric-card__label", children: e })
3257
+ children: /* @__PURE__ */ r(Ie, { className: "gloss-metric-card__label", children: e })
3240
3258
  }
3241
3259
  ),
3242
3260
  /* @__PURE__ */ r("div", { className: "gloss-exception-list__empty", role: "status", children: i ?? "No exceptions" }),
3243
3261
  s && /* @__PURE__ */ r("div", { className: "gloss-exception-list__zone-c", children: s })
3244
3262
  ] }) : /* @__PURE__ */ N(te, { children: [
3245
3263
  /* @__PURE__ */ r(
3246
- pe,
3264
+ he,
3247
3265
  {
3248
3266
  className: "gloss-metric-card__zone-a",
3249
3267
  style: { height: 28, flexShrink: 0, zIndex: 2, position: "relative" },
3250
- children: /* @__PURE__ */ r(Re, { className: "gloss-metric-card__label", children: e })
3268
+ children: /* @__PURE__ */ r(Ie, { className: "gloss-metric-card__label", children: e })
3251
3269
  }
3252
3270
  ),
3253
3271
  /* @__PURE__ */ r(
3254
- pe,
3272
+ he,
3255
3273
  {
3256
3274
  className: `gloss-metric-card__zone-b gloss-exception-list ${o ? "gloss-metric-data-stale" : ""}`,
3257
3275
  style: { flex: 1, zIndex: 2, position: "relative", minHeight: 0 },
3258
- children: /* @__PURE__ */ r("div", { className: "gloss-exception-list__rows", role: "list", children: d.map((u, v) => /* @__PURE__ */ r(
3276
+ children: /* @__PURE__ */ r("div", { className: "gloss-exception-list__rows", role: "list", children: c.map((u, f) => /* @__PURE__ */ r(
3259
3277
  X,
3260
3278
  {
3261
- lead: /* @__PURE__ */ r(ve, { severity: u.severity, "aria-label": Ta(u.severity) }),
3279
+ lead: /* @__PURE__ */ r(ve, { severity: u.severity, "aria-label": Pa(u.severity) }),
3262
3280
  name: u.name,
3263
3281
  value: u.value,
3264
3282
  variant: "exception",
3265
- style: { "--i": v }
3283
+ style: { "--i": f }
3266
3284
  },
3267
3285
  u.id
3268
3286
  )) })
@@ -3271,8 +3289,8 @@ function Ia({
3271
3289
  s && /* @__PURE__ */ r("div", { className: "gloss-exception-list__zone-c", children: s })
3272
3290
  ] });
3273
3291
  }
3274
- Ia.displayName = "ExceptionListCard";
3275
- const Pa = () => /* @__PURE__ */ N(
3292
+ Ea.displayName = "ExceptionListCard";
3293
+ const Aa = () => /* @__PURE__ */ N(
3276
3294
  "div",
3277
3295
  {
3278
3296
  className: "exception-list-tile-preview",
@@ -3306,22 +3324,22 @@ const Pa = () => /* @__PURE__ */ N(
3306
3324
  ]
3307
3325
  }
3308
3326
  );
3309
- Pa.displayName = "ExceptionListTilePreview";
3310
- const Ze = ["MTD", "QTD", "YTD", "LYTD", "7D"], qe = ["$248K", "$612K", "$1.24M", "$980K", "$54K"], Ye = [
3327
+ Aa.displayName = "ExceptionListTilePreview";
3328
+ const qe = ["MTD", "QTD", "YTD", "LYTD", "7D"], Ye = ["$248K", "$612K", "$1.24M", "$980K", "$54K"], Qe = [
3311
3329
  "M0,7 L10,5 L20,6 L30,3 L40,2",
3312
3330
  "M0,6 L10,4 L20,5 L30,2 L40,1",
3313
3331
  "M0,8 L10,7 L20,5 L30,4 L40,2",
3314
3332
  "M0,5 L10,6 L20,3 L30,4 L40,1",
3315
3333
  "M0,7 L10,4 L20,5 L30,3 L40,2"
3316
- ], Fa = ({
3334
+ ], Oa = ({
3317
3335
  slotCount: e = 3,
3318
- labels: t = Ze,
3319
- sampleValues: n = qe
3336
+ labels: t = qe,
3337
+ sampleValues: n = Ye
3320
3338
  }) => {
3321
3339
  const a = Array.from({ length: e }, (i, s) => ({
3322
- label: t[s] ?? Ze[s] ?? "",
3323
- value: n[s] ?? qe[s] ?? "",
3324
- sparkPath: Ye[s % Ye.length]
3340
+ label: t[s] ?? qe[s] ?? "",
3341
+ value: n[s] ?? Ye[s] ?? "",
3342
+ sparkPath: Qe[s % Qe.length]
3325
3343
  }));
3326
3344
  return e === 1 ? /* @__PURE__ */ r("div", { className: "gloss-stacked-group-tile-preview gloss-stacked-group-tile-preview--single", "aria-hidden": "true", children: /* @__PURE__ */ r("div", { className: "gloss-stacked-group-tile-preview__single-value", children: a[0].value }) }) : /* @__PURE__ */ r(
3327
3345
  "div",
@@ -3347,8 +3365,8 @@ const Ze = ["MTD", "QTD", "YTD", "LYTD", "7D"], qe = ["$248K", "$612K", "$1.24M"
3347
3365
  }
3348
3366
  );
3349
3367
  };
3350
- Fa.displayName = "StackedGroupTilePreview";
3351
- const yr = {
3368
+ Oa.displayName = "StackedGroupTilePreview";
3369
+ const kr = {
3352
3370
  /** GEV-01 — Eligibility tint. Contiguous-from-source paint; blocked by first occupied cell (Principle 4). */
3353
3371
  eligibilityTint: { applicableStates: ["arming", "active"] },
3354
3372
  /** GEV-01 — Commit tint. Fill+stroke emphasis on the commit-target cell footprint (G-02). */
@@ -3367,7 +3385,7 @@ const yr = {
3367
3385
  hideOnActive: { applicableStates: ["active"] },
3368
3386
  /** GEV-01 — Refuse pulse. Discrete moment of crossing into rejection. Fires ONCE per transition (Principle 2). No strobing. */
3369
3387
  refusePulse: { applicableStates: ["active"] }
3370
- }, wr = {
3388
+ }, Cr = {
3371
3389
  baseCellTint: "#F1F4F8",
3372
3390
  // Grey · Neutral −2
3373
3391
  eligibilityFill: "#6F87D2",
@@ -3382,7 +3400,7 @@ const yr = {
3382
3400
  // Rejection +2 stroke (sparse-dash)
3383
3401
  trackingOutline: "#2541A1"
3384
3402
  // Action +3 — same hex as commitStroke per D-01
3385
- }, _r = {
3403
+ }, se = {
3386
3404
  baseCellTint: "var(--gloss-g02-base-cell-tint)",
3387
3405
  eligibilityFill: "var(--gloss-g02-eligibility-fill)",
3388
3406
  commitFill: "var(--gloss-g02-commit-fill)",
@@ -3390,7 +3408,133 @@ const yr = {
3390
3408
  rejectionFill: "var(--gloss-g02-rejection-fill)",
3391
3409
  rejectionStroke: "var(--gloss-g02-rejection-stroke)",
3392
3410
  trackingOutline: "var(--gloss-g02-tracking-outline)"
3393
- }, Nr = "dashed", Dr = "solid", kr = "sparse-dash", Cr = "2px no-fill", ne = {
3411
+ }, xr = "dashed", Sr = "solid", Rr = "sparse-dash", Tr = "2px no-fill", La = 3;
3412
+ function Mr({
3413
+ cell: e,
3414
+ variant: t,
3415
+ rampColor: n,
3416
+ colWidth: a,
3417
+ rowHeight: i,
3418
+ gap: s,
3419
+ className: o
3420
+ }) {
3421
+ const c = (e.section * La + e.col) * (a + s), u = e.row * (i + s), f = t === "eligibility" ? se.eligibilityFill : t === "commit" ? se.commitFill : t === "rejection" ? se.rejectionFill : (
3422
+ /* ramp */
3423
+ n ?? se.eligibilityFill
3424
+ ), h = t === "rejection", m = h ? se.rejectionStroke : "transparent", g = h ? "dashed" : "solid";
3425
+ return /* @__PURE__ */ r(
3426
+ "div",
3427
+ {
3428
+ className: [
3429
+ "gloss-cell-tint-overlay",
3430
+ `gloss-cell-tint-overlay--${t}`,
3431
+ o
3432
+ ].filter(Boolean).join(" "),
3433
+ "data-testid": "gloss-cell-tint-overlay",
3434
+ "data-variant": t,
3435
+ "aria-hidden": "true",
3436
+ style: {
3437
+ transform: `translate(${c}px, ${u}px)`,
3438
+ width: a,
3439
+ height: i,
3440
+ // Use background-color longhand (NOT background shorthand) so jsdom + DOM
3441
+ // both preserve `var(...)` in inline cssText. The shorthand getter strips
3442
+ // unknown values and breaks both unit-test introspection and styling.
3443
+ backgroundColor: f,
3444
+ borderColor: m,
3445
+ borderStyle: g
3446
+ }
3447
+ }
3448
+ );
3449
+ }
3450
+ const $a = 3, Ba = [
3451
+ { idx: 0, peakR: 22, peakOpacity: 0.45, strokeW: 1.5 },
3452
+ { idx: 1, peakR: 34, peakOpacity: 0.22, strokeW: 1 },
3453
+ { idx: 2, peakR: 46, peakOpacity: 0.1, strokeW: 0.8 }
3454
+ ];
3455
+ function Ir({
3456
+ cell: e,
3457
+ fireKey: t,
3458
+ colWidth: n,
3459
+ rowHeight: a,
3460
+ gap: i,
3461
+ className: s
3462
+ }) {
3463
+ const l = (e.section * $a + e.col) * (n + i) + n / 2, c = e.row * (a + i) + a / 2;
3464
+ return Kt() === "reduced" ? /* @__PURE__ */ r(
3465
+ "div",
3466
+ {
3467
+ className: ["gloss-refuse-pulse-flash", s].filter(Boolean).join(" "),
3468
+ "data-testid": "gloss-refuse-pulse-flash",
3469
+ "data-fire-key": t,
3470
+ "aria-hidden": "true",
3471
+ style: {
3472
+ position: "absolute",
3473
+ left: l - 24,
3474
+ top: c - 24,
3475
+ width: 48,
3476
+ height: 48,
3477
+ borderRadius: "50%",
3478
+ background: se.rejectionStroke,
3479
+ opacity: 0.45,
3480
+ pointerEvents: "none",
3481
+ animation: "gloss-refuse-pulse-instant-flash 80ms linear forwards"
3482
+ }
3483
+ },
3484
+ t
3485
+ ) : /* @__PURE__ */ r(
3486
+ "div",
3487
+ {
3488
+ className: ["gloss-refuse-pulse", s].filter(Boolean).join(" "),
3489
+ "data-testid": "gloss-refuse-pulse",
3490
+ "data-fire-key": t,
3491
+ "data-cx": l,
3492
+ "data-cy": c,
3493
+ "aria-hidden": "true",
3494
+ style: {
3495
+ position: "absolute",
3496
+ left: 0,
3497
+ top: 0,
3498
+ pointerEvents: "none"
3499
+ },
3500
+ children: Ba.map((f) => {
3501
+ const h = f.peakR * 2;
3502
+ return /* @__PURE__ */ r(
3503
+ "div",
3504
+ {
3505
+ className: `gloss-refuse-pulse__ring gloss-refuse-pulse__ring--${f.idx}`,
3506
+ "data-ring-index": f.idx,
3507
+ "data-peak-radius": f.peakR,
3508
+ "data-peak-opacity": f.peakOpacity,
3509
+ style: {
3510
+ position: "absolute",
3511
+ left: l - f.peakR,
3512
+ top: c - f.peakR,
3513
+ width: h,
3514
+ height: h,
3515
+ borderRadius: "50%",
3516
+ borderStyle: "solid",
3517
+ borderWidth: f.strokeW,
3518
+ borderColor: se.rejectionStroke,
3519
+ background: "transparent",
3520
+ opacity: 0,
3521
+ transform: "scale(0)",
3522
+ // CSS custom property feeds the keyframe peak opacity.
3523
+ "--peak-opacity": f.peakOpacity,
3524
+ animation: `gloss-refuse-pulse-ring-${f.idx} 360ms cubic-bezier(0.22, 1, 0.36, 1) forwards`
3525
+ }
3526
+ },
3527
+ f.idx
3528
+ );
3529
+ })
3530
+ },
3531
+ t
3532
+ );
3533
+ }
3534
+ function Pr(e) {
3535
+ return /* @__PURE__ */ r(it, { gesture: "resize", ...e });
3536
+ }
3537
+ const ne = {
3394
3538
  "gloss-inline-nudge": "_gloss-inline-nudge_kdk88_34",
3395
3539
  "gloss-inline-nudge__message": "_gloss-inline-nudge__message_kdk88_65",
3396
3540
  "gloss-inline-nudge__actions": "_gloss-inline-nudge__actions_kdk88_72",
@@ -3398,37 +3542,37 @@ const yr = {
3398
3542
  "gloss-inline-nudge__btn--action": "_gloss-inline-nudge__btn--action_kdk88_88",
3399
3543
  "gloss-inline-nudge__btn--dismiss": "_gloss-inline-nudge__btn--dismiss_kdk88_96"
3400
3544
  };
3401
- function Ea({
3545
+ function za({
3402
3546
  message: e,
3403
3547
  primaryAction: t,
3404
3548
  onDismiss: n,
3405
3549
  anchorEl: a,
3406
3550
  anchorSelector: i
3407
3551
  }) {
3408
- const [s, o] = H.useState(null), l = H.useMemo(
3552
+ const [s, o] = j.useState(null), l = j.useMemo(
3409
3553
  () => typeof window < "u" && window.matchMedia ? window.matchMedia("(prefers-reduced-motion: reduce)").matches : !1,
3410
3554
  []
3411
3555
  );
3412
- H.useEffect(() => {
3556
+ j.useEffect(() => {
3413
3557
  !a && !i && (typeof process > "u" || process.env.NODE_ENV !== "production") && console.error(
3414
3558
  "[InlineNudge] requires anchorEl or anchorSelector. AP-07: Do not mount InlineNudge in Layout/** or _app.tsx."
3415
3559
  );
3416
- }, [a, i]), H.useLayoutEffect(() => {
3560
+ }, [a, i]), j.useLayoutEffect(() => {
3417
3561
  let u = null;
3418
3562
  if (a ? u = a : i && (u = document.querySelector(i)), u) {
3419
- const v = u.getBoundingClientRect();
3563
+ const f = u.getBoundingClientRect();
3420
3564
  o({
3421
- top: v.bottom + window.scrollY + 6,
3422
- left: v.left + window.scrollX
3565
+ top: f.bottom + window.scrollY + 6,
3566
+ left: f.left + window.scrollX
3423
3567
  });
3424
3568
  }
3425
3569
  }, [a, i]);
3426
- const d = s ? { top: s.top, left: s.left } : {};
3570
+ const c = s ? { top: s.top, left: s.left } : {};
3427
3571
  return /* @__PURE__ */ N(
3428
3572
  "div",
3429
3573
  {
3430
3574
  className: ne["gloss-inline-nudge"],
3431
- style: d,
3575
+ style: c,
3432
3576
  role: "status",
3433
3577
  "aria-live": "polite",
3434
3578
  "data-reduced-motion": l ? "true" : void 0,
@@ -3459,25 +3603,25 @@ function Ea({
3459
3603
  }
3460
3604
  );
3461
3605
  }
3462
- Ea.displayName = "InlineNudge";
3463
- function Ae(e) {
3606
+ za.displayName = "InlineNudge";
3607
+ function Oe(e) {
3464
3608
  return e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888";
3465
3609
  }
3466
- function Aa(e, t, n) {
3610
+ function Ka(e, t, n) {
3467
3611
  if (n <= t) {
3468
- const o = e[0], l = o ? Ae(o) : "#888";
3612
+ const o = e[0], l = o ? Oe(o) : "#888";
3469
3613
  return `linear-gradient(to right, ${l}, ${l})`;
3470
3614
  }
3471
3615
  const a = n - t, s = [...e].sort((o, l) => o.value - l.value).map((o) => {
3472
3616
  const l = (o.value - t) / a * 100;
3473
- return `${Ae(o)} ${l.toFixed(2)}%`;
3617
+ return `${Oe(o)} ${l.toFixed(2)}%`;
3474
3618
  });
3475
3619
  return s.length === 0 ? "linear-gradient(to right, #888 0%, #888 100%)" : s.length === 1 ? `linear-gradient(to right, ${s[0]}, ${s[0]})` : `linear-gradient(to right, ${s.join(", ")})`;
3476
3620
  }
3477
- function La(e) {
3621
+ function Wa(e) {
3478
3622
  return e.map((t) => `${t.id}:${t.value}`).join("|");
3479
3623
  }
3480
- function Oa({
3624
+ function Ga({
3481
3625
  stops: e,
3482
3626
  onChange: t,
3483
3627
  min: n = 0,
@@ -3487,67 +3631,67 @@ function Oa({
3487
3631
  }) {
3488
3632
  const o = i === void 0 ? 0.01 : !Number.isFinite(i) || i <= 0 ? (process.env.NODE_ENV !== "production" && console.warn(
3489
3633
  `ThresholdRamp: step (${i}) must be a positive finite number; falling back to 0.01.`
3490
- ), 0.01) : i, l = w(
3491
- (c) => Math.round(c / o) * o,
3634
+ ), 0.01) : i, l = _(
3635
+ (d) => Math.round(d / o) * o,
3492
3636
  [o]
3493
- ), d = T(null), [u, v] = $(null), [f, m] = $(e), g = La(e), _ = T(g);
3494
- L(() => {
3495
- _.current !== g && (_.current = g, !u && m(e));
3637
+ ), c = T(null), [u, f] = $(null), [h, m] = $(e), g = Wa(e), w = T(g);
3638
+ O(() => {
3639
+ w.current !== g && (w.current = g, !u && m(e));
3496
3640
  }, [g, e, u]);
3497
- const p = ye(() => Aa(f, n, a), [f, n, a]), h = w(
3498
- (c) => {
3499
- if (!d.current) return n;
3500
- const b = d.current.getBoundingClientRect(), D = b.width || 1, S = Math.max(0, Math.min(1, (c - b.left) / D)), y = n + S * (a - n);
3641
+ const p = we(() => Ka(h, n, a), [h, n, a]), b = _(
3642
+ (d) => {
3643
+ if (!c.current) return n;
3644
+ const v = c.current.getBoundingClientRect(), D = v.width || 1, S = Math.max(0, Math.min(1, (d - v.left) / D)), y = n + S * (a - n);
3501
3645
  return l(y);
3502
3646
  },
3503
3647
  [n, a, l]
3504
3648
  );
3505
- L(() => {
3649
+ O(() => {
3506
3650
  a <= n && process.env.NODE_ENV !== "production" && console.warn(
3507
3651
  `ThresholdRamp: max (${a}) must be greater than min (${n}); rendering degenerate strip.`
3508
3652
  );
3509
3653
  }, [n, a]);
3510
- const M = w(
3511
- (c, b) => {
3512
- const D = f.find((S) => S.id === b);
3513
- s || D?.disabled || (c.preventDefault(), v(b));
3654
+ const R = _(
3655
+ (d, v) => {
3656
+ const D = h.find((S) => S.id === v);
3657
+ s || D?.disabled || (d.preventDefault(), f(v));
3514
3658
  },
3515
- [s, f]
3516
- ), P = T(f);
3517
- P.current = f;
3659
+ [s, h]
3660
+ ), P = T(h);
3661
+ P.current = h;
3518
3662
  const C = T(t);
3519
- C.current = t, L(() => {
3663
+ C.current = t, O(() => {
3520
3664
  if (!u) return;
3521
- const c = (D) => {
3522
- const S = h(D.clientX);
3665
+ const d = (D) => {
3666
+ const S = b(D.clientX);
3523
3667
  m(
3524
3668
  (y) => y.map((x) => x.id === u ? { ...x, value: S } : x)
3525
3669
  );
3526
- }, b = (D) => {
3527
- const S = h(D.clientX), y = P.current.map(
3670
+ }, v = (D) => {
3671
+ const S = b(D.clientX), y = P.current.map(
3528
3672
  (x) => x.id === u ? { ...x, value: S } : x
3529
3673
  );
3530
- m(y), v(null), C.current(y);
3674
+ m(y), f(null), C.current(y);
3531
3675
  };
3532
- return window.addEventListener("pointermove", c), window.addEventListener("pointerup", b), window.addEventListener("pointercancel", b), () => {
3533
- window.removeEventListener("pointermove", c), window.removeEventListener("pointerup", b), window.removeEventListener("pointercancel", b);
3676
+ return window.addEventListener("pointermove", d), window.addEventListener("pointerup", v), window.addEventListener("pointercancel", v), () => {
3677
+ window.removeEventListener("pointermove", d), window.removeEventListener("pointerup", v), window.removeEventListener("pointercancel", v);
3534
3678
  };
3535
- }, [u, h]);
3536
- const R = a - n > 0 ? a - n : 1, I = w(
3537
- (c, b) => {
3538
- if (s || b.disabled) return;
3679
+ }, [u, b]);
3680
+ const M = a - n > 0 ? a - n : 1, I = _(
3681
+ (d, v) => {
3682
+ if (s || v.disabled) return;
3539
3683
  const D = a - n;
3540
3684
  if (D <= 0) return;
3541
- const S = c.shiftKey ? D / 20 : D / 100;
3542
- let y = b.value;
3543
- switch (c.key) {
3685
+ const S = d.shiftKey ? D / 20 : D / 100;
3686
+ let y = v.value;
3687
+ switch (d.key) {
3544
3688
  case "ArrowRight":
3545
3689
  case "ArrowUp":
3546
- y = b.value + S;
3690
+ y = v.value + S;
3547
3691
  break;
3548
3692
  case "ArrowLeft":
3549
3693
  case "ArrowDown":
3550
- y = b.value - S;
3694
+ y = v.value - S;
3551
3695
  break;
3552
3696
  case "Home":
3553
3697
  y = n;
@@ -3558,64 +3702,64 @@ function Oa({
3558
3702
  default:
3559
3703
  return;
3560
3704
  }
3561
- c.preventDefault();
3705
+ d.preventDefault();
3562
3706
  const x = Math.max(n, Math.min(a, y)), F = l(x);
3563
- if (F === b.value) return;
3564
- const j = f.map(
3565
- (q) => q.id === b.id ? { ...q, value: F } : q
3707
+ if (F === v.value) return;
3708
+ const H = h.map(
3709
+ (q) => q.id === v.id ? { ...q, value: F } : q
3566
3710
  );
3567
- m(j), t(j);
3711
+ m(H), t(H);
3568
3712
  },
3569
- [s, n, a, f, t, l]
3713
+ [s, n, a, h, t, l]
3570
3714
  );
3571
3715
  return /* @__PURE__ */ r("div", { className: "gloss-threshold-ramp", "data-disabled": s || void 0, children: /* @__PURE__ */ r(
3572
3716
  "div",
3573
3717
  {
3574
- ref: d,
3718
+ ref: c,
3575
3719
  className: "gloss-threshold-ramp__track",
3576
3720
  style: { background: p },
3577
- children: f.map((c) => {
3578
- const b = (c.value - n) / R * 100;
3721
+ children: h.map((d) => {
3722
+ const v = (d.value - n) / M * 100;
3579
3723
  return /* @__PURE__ */ r(
3580
3724
  "span",
3581
3725
  {
3582
3726
  className: "gloss-threshold-ramp__stop",
3583
3727
  style: {
3584
- left: `${b}%`,
3585
- color: Ae(c)
3728
+ left: `${v}%`,
3729
+ color: Oe(d)
3586
3730
  },
3587
- "data-disabled": c.disabled || void 0,
3588
- "data-dragging": u === c.id || void 0,
3589
- onPointerDown: (D) => M(D, c.id),
3590
- onKeyDown: (D) => I(D, c),
3591
- "aria-label": c.label ?? `Stop at ${c.value}`,
3731
+ "data-disabled": d.disabled || void 0,
3732
+ "data-dragging": u === d.id || void 0,
3733
+ onPointerDown: (D) => R(D, d.id),
3734
+ onKeyDown: (D) => I(D, d),
3735
+ "aria-label": d.label ?? `Stop at ${d.value}`,
3592
3736
  role: "slider",
3593
- "aria-valuenow": c.value,
3737
+ "aria-valuenow": d.value,
3594
3738
  "aria-valuemin": n,
3595
3739
  "aria-valuemax": a,
3596
- "aria-disabled": c.disabled || s || void 0,
3597
- tabIndex: c.disabled || s ? -1 : 0
3740
+ "aria-disabled": d.disabled || s || void 0,
3741
+ tabIndex: d.disabled || s ? -1 : 0
3598
3742
  },
3599
- c.id
3743
+ d.id
3600
3744
  );
3601
3745
  })
3602
3746
  }
3603
3747
  ) });
3604
3748
  }
3605
- Oa.displayName = "ThresholdRamp";
3606
- const it = yt(null);
3607
- function $a() {
3608
- return wt(it);
3749
+ Ga.displayName = "ThresholdRamp";
3750
+ const lt = _t(null);
3751
+ function Va() {
3752
+ return Nt(lt);
3609
3753
  }
3610
- function Ba({ option: e }) {
3611
- const t = $a(), n = t?.isSelected(e.value) ?? !1, a = e.disabled || t?.groupDisabled, i = w(() => {
3754
+ function ja({ option: e }) {
3755
+ const t = Va(), n = t?.isSelected(e.value) ?? !1, a = e.disabled || t?.groupDisabled, i = _(() => {
3612
3756
  a || t?.select(e.value);
3613
- }, [a, t, e.value]), s = w(
3757
+ }, [a, t, e.value]), s = _(
3614
3758
  (u) => {
3615
3759
  a || t?.onKeyNav(u, e.value);
3616
3760
  },
3617
3761
  [a, t, e.value]
3618
- ), o = e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888", l = t?.firstFocusableValue === e.value, d = a ? -1 : l ? 0 : -1;
3762
+ ), o = e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888", l = t?.firstFocusableValue === e.value, c = a ? -1 : l ? 0 : -1;
3619
3763
  return /* @__PURE__ */ r(
3620
3764
  "button",
3621
3765
  {
@@ -3631,13 +3775,13 @@ function Ba({ option: e }) {
3631
3775
  "aria-label": e.label ?? e.value,
3632
3776
  "aria-disabled": a,
3633
3777
  disabled: a,
3634
- tabIndex: d,
3778
+ tabIndex: c,
3635
3779
  onClick: i,
3636
3780
  onKeyDown: s
3637
3781
  }
3638
3782
  );
3639
3783
  }
3640
- function Ka({
3784
+ function Ha({
3641
3785
  swatches: e,
3642
3786
  value: t,
3643
3787
  defaultValue: n,
@@ -3645,65 +3789,65 @@ function Ka({
3645
3789
  disabled: i = !1,
3646
3790
  name: s
3647
3791
  }) {
3648
- const o = t !== void 0, [l, d] = $(n), u = o ? t : l, v = w(
3792
+ const o = t !== void 0, [l, c] = $(n), u = o ? t : l, f = _(
3649
3793
  (C) => {
3650
- o || d(C), a?.(C);
3794
+ o || c(C), a?.(C);
3651
3795
  },
3652
3796
  [o, a]
3653
- ), f = w(
3797
+ ), h = _(
3654
3798
  (C) => u === C,
3655
3799
  [u]
3656
- ), m = T(/* @__PURE__ */ new Map()), g = w((C, R) => {
3657
- R ? m.current.set(C, R) : m.current.delete(C);
3658
- }, []), _ = e.filter((C) => !C.disabled && !i), p = _.find((C) => C.value === u)?.value ?? _[0]?.value, h = w((C) => {
3659
- const R = m.current.get(C);
3660
- R && R.focus();
3661
- }, []), M = w(
3662
- (C, R) => {
3800
+ ), m = T(/* @__PURE__ */ new Map()), g = _((C, M) => {
3801
+ M ? m.current.set(C, M) : m.current.delete(C);
3802
+ }, []), w = e.filter((C) => !C.disabled && !i), p = w.find((C) => C.value === u)?.value ?? w[0]?.value, b = _((C) => {
3803
+ const M = m.current.get(C);
3804
+ M && M.focus();
3805
+ }, []), R = _(
3806
+ (C, M) => {
3663
3807
  if (i) return;
3664
3808
  const I = e.filter((S) => !S.disabled);
3665
3809
  if (I.length === 0) return;
3666
- const c = I.findIndex((S) => S.value === R);
3667
- if (c === -1) return;
3668
- let b = c;
3810
+ const d = I.findIndex((S) => S.value === M);
3811
+ if (d === -1) return;
3812
+ let v = d;
3669
3813
  switch (C.key) {
3670
3814
  case "ArrowRight":
3671
3815
  case "ArrowDown":
3672
- b = (c + 1) % I.length;
3816
+ v = (d + 1) % I.length;
3673
3817
  break;
3674
3818
  case "ArrowLeft":
3675
3819
  case "ArrowUp":
3676
- b = (c - 1 + I.length) % I.length;
3820
+ v = (d - 1 + I.length) % I.length;
3677
3821
  break;
3678
3822
  case "Home":
3679
- b = 0;
3823
+ v = 0;
3680
3824
  break;
3681
3825
  case "End":
3682
- b = I.length - 1;
3826
+ v = I.length - 1;
3683
3827
  break;
3684
3828
  case " ":
3685
3829
  case "Enter":
3686
- C.preventDefault(), v(R);
3830
+ C.preventDefault(), f(M);
3687
3831
  return;
3688
3832
  default:
3689
3833
  return;
3690
3834
  }
3691
3835
  C.preventDefault();
3692
- const D = I[b].value;
3693
- h(D), v(D);
3836
+ const D = I[v].value;
3837
+ b(D), f(D);
3694
3838
  },
3695
- [i, e, v, h]
3839
+ [i, e, f, b]
3696
3840
  ), P = {
3697
3841
  selectedValue: u,
3698
- select: v,
3699
- isSelected: f,
3842
+ select: f,
3843
+ isSelected: h,
3700
3844
  groupDisabled: i,
3701
3845
  name: s,
3702
3846
  registerRef: g,
3703
3847
  firstFocusableValue: p,
3704
- onKeyNav: M
3848
+ onKeyNav: R
3705
3849
  };
3706
- return /* @__PURE__ */ r(it.Provider, { value: P, children: /* @__PURE__ */ r(
3850
+ return /* @__PURE__ */ r(lt.Provider, { value: P, children: /* @__PURE__ */ r(
3707
3851
  "div",
3708
3852
  {
3709
3853
  className: "gloss-preset-swatch-row",
@@ -3711,126 +3855,126 @@ function Ka({
3711
3855
  "aria-label": s,
3712
3856
  "aria-disabled": i,
3713
3857
  "data-disabled": i || void 0,
3714
- children: e.map((C) => /* @__PURE__ */ r(Ba, { option: C }, C.value))
3858
+ children: e.map((C) => /* @__PURE__ */ r(ja, { option: C }, C.value))
3715
3859
  }
3716
3860
  ) });
3717
3861
  }
3718
- Ka.displayName = "PresetSwatchRow";
3862
+ Ha.displayName = "PresetSwatchRow";
3719
3863
  function Le(e, t) {
3720
3864
  for (const n of e)
3721
3865
  if (n.items.some((a) => a.id === t))
3722
3866
  return n.zoneKey;
3723
3867
  return null;
3724
3868
  }
3725
- function Qe(e, t) {
3869
+ function Xe(e, t) {
3726
3870
  const n = e.find((a) => a.zoneKey === t);
3727
3871
  return n ? n.zoneKey : Le(e, t);
3728
3872
  }
3729
- function za(e, t, n) {
3873
+ function Ua(e, t, n) {
3730
3874
  const a = [...e], [i] = a.splice(t, 1);
3731
3875
  return a.splice(n, 0, i), a;
3732
3876
  }
3733
- function Ga(e) {
3877
+ function Za(e) {
3734
3878
  return e.map((t) => `${t.zoneKey}:${t.items.map((n) => n.id).join(",")}`).join("|");
3735
3879
  }
3736
- function Wa(e) {
3880
+ function qa(e) {
3737
3881
  const [t, n] = $(
3738
- () => e.zones.map((h) => h.maxItems !== void 0 && h.items.length > h.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
3739
- `useSortableZones: zone "${h.zoneKey}" exceeds maxItems (${h.items.length} > ${h.maxItems}); trimming to cap.`
3740
- ), { ...h, items: h.items.slice(0, h.maxItems) }) : h)
3741
- ), [a, i] = $(null), [s, o] = $(null), l = T(null), d = T(e.onZoneChange);
3742
- d.current = e.onZoneChange;
3743
- const u = ye(
3744
- () => Ga(e.zones),
3882
+ () => e.zones.map((b) => b.maxItems !== void 0 && b.items.length > b.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
3883
+ `useSortableZones: zone "${b.zoneKey}" exceeds maxItems (${b.items.length} > ${b.maxItems}); trimming to cap.`
3884
+ ), { ...b, items: b.items.slice(0, b.maxItems) }) : b)
3885
+ ), [a, i] = $(null), [s, o] = $(null), l = T(null), c = T(e.onZoneChange);
3886
+ c.current = e.onZoneChange;
3887
+ const u = we(
3888
+ () => Za(e.zones),
3745
3889
  [e.zones]
3746
- ), v = T(u);
3747
- L(() => {
3748
- v.current !== u && (v.current = u, !a && n(
3749
- e.zones.map((h) => h.maxItems !== void 0 && h.items.length > h.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
3750
- `useSortableZones: zone "${h.zoneKey}" exceeds maxItems (${h.items.length} > ${h.maxItems}); trimming to cap.`
3751
- ), { ...h, items: h.items.slice(0, h.maxItems) }) : h)
3890
+ ), f = T(u);
3891
+ O(() => {
3892
+ f.current !== u && (f.current = u, !a && n(
3893
+ e.zones.map((b) => b.maxItems !== void 0 && b.items.length > b.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
3894
+ `useSortableZones: zone "${b.zoneKey}" exceeds maxItems (${b.items.length} > ${b.maxItems}); trimming to cap.`
3895
+ ), { ...b, items: b.items.slice(0, b.maxItems) }) : b)
3752
3896
  ));
3753
3897
  }, [u, e.zones, a]);
3754
- const f = w(
3755
- (h) => {
3756
- const M = h.active.id;
3898
+ const h = _(
3899
+ (b) => {
3900
+ const R = b.active.id;
3757
3901
  let P = null, C = null;
3758
- for (const R of t) {
3759
- const I = R.items.find((c) => c.id === M);
3902
+ for (const M of t) {
3903
+ const I = M.items.find((d) => d.id === R);
3760
3904
  if (I) {
3761
- P = I, C = R.zoneKey;
3905
+ P = I, C = M.zoneKey;
3762
3906
  break;
3763
3907
  }
3764
3908
  }
3765
3909
  l.current = C, i(P), o(C);
3766
3910
  },
3767
3911
  [t]
3768
- ), m = w(
3769
- (h) => {
3770
- if (!h.over) {
3912
+ ), m = _(
3913
+ (b) => {
3914
+ if (!b.over) {
3771
3915
  o(l.current);
3772
3916
  return;
3773
3917
  }
3774
- const M = Qe(t, h.over.id);
3775
- o(M);
3918
+ const R = Xe(t, b.over.id);
3919
+ o(R);
3776
3920
  },
3777
3921
  [t]
3778
- ), g = w(
3779
- (h) => {
3780
- const { active: M, over: P } = h, C = () => {
3922
+ ), g = _(
3923
+ (b) => {
3924
+ const { active: R, over: P } = b, C = () => {
3781
3925
  l.current = null, i(null), o(null);
3782
3926
  };
3783
3927
  if (!P) {
3784
3928
  C();
3785
3929
  return;
3786
3930
  }
3787
- const R = Le(t, M.id), I = Qe(t, P.id);
3788
- if (!R || !I) {
3931
+ const M = Le(t, R.id), I = Xe(t, P.id);
3932
+ if (!M || !I) {
3789
3933
  C();
3790
3934
  return;
3791
3935
  }
3792
- let c = t.map((b) => ({ ...b, items: [...b.items] }));
3793
- if (R === I) {
3794
- const b = c.findIndex((F) => F.zoneKey === R), D = c[b], S = D.items.findIndex((F) => F.id === M.id), y = D.items.findIndex((F) => F.id === P.id), x = y >= 0 ? y : Math.max(0, D.items.length - 1);
3795
- c[b] = {
3936
+ let d = t.map((v) => ({ ...v, items: [...v.items] }));
3937
+ if (M === I) {
3938
+ const v = d.findIndex((F) => F.zoneKey === M), D = d[v], S = D.items.findIndex((F) => F.id === R.id), y = D.items.findIndex((F) => F.id === P.id), x = y >= 0 ? y : Math.max(0, D.items.length - 1);
3939
+ d[v] = {
3796
3940
  ...D,
3797
- items: za(D.items, S, x)
3941
+ items: Ua(D.items, S, x)
3798
3942
  };
3799
3943
  } else {
3800
- const b = c.findIndex((O) => O.zoneKey === R), D = c.findIndex((O) => O.zoneKey === I), S = c[b], y = c[D], x = S.items.find((O) => O.id === M.id);
3944
+ const v = d.findIndex((L) => L.zoneKey === M), D = d.findIndex((L) => L.zoneKey === I), S = d[v], y = d[D], x = S.items.find((L) => L.id === R.id);
3801
3945
  if (!x) {
3802
3946
  C();
3803
3947
  return;
3804
3948
  }
3805
- const F = S.items.filter((O) => O.id !== M.id), j = y.items.findIndex((O) => O.id === P.id), q = j >= 0 ? j : y.items.length;
3806
- let U = F, W = [...y.items];
3807
- if (y.maxItems !== void 0 && W.length >= y.maxItems) {
3808
- const O = W[W.length - 1];
3809
- W = W.slice(0, y.maxItems - 1), U = [...F, O];
3949
+ const F = S.items.filter((L) => L.id !== R.id), H = y.items.findIndex((L) => L.id === P.id), q = H >= 0 ? H : y.items.length;
3950
+ let U = F, G = [...y.items];
3951
+ if (y.maxItems !== void 0 && G.length >= y.maxItems) {
3952
+ const L = G[G.length - 1];
3953
+ G = G.slice(0, y.maxItems - 1), U = [...F, L];
3810
3954
  }
3811
- const B = Math.min(q, W.length), Z = [
3812
- ...W.slice(0, B),
3955
+ const B = Math.min(q, G.length), Z = [
3956
+ ...G.slice(0, B),
3813
3957
  x,
3814
- ...W.slice(B)
3958
+ ...G.slice(B)
3815
3959
  ];
3816
- c[b] = { ...S, items: U }, c[D] = { ...y, items: Z };
3960
+ d[v] = { ...S, items: U }, d[D] = { ...y, items: Z };
3817
3961
  }
3818
- n(c), d.current?.(c), C();
3962
+ n(d), c.current?.(d), C();
3819
3963
  },
3820
3964
  [t]
3821
- ), _ = w(
3822
- (h) => ({
3823
- id: h,
3824
- "data-zone-key": h
3965
+ ), w = _(
3966
+ (b) => ({
3967
+ id: b,
3968
+ "data-zone-key": b
3825
3969
  }),
3826
3970
  []
3827
- ), p = w(
3828
- (h) => {
3829
- const M = Le(t, h.id) ?? "";
3971
+ ), p = _(
3972
+ (b) => {
3973
+ const R = Le(t, b.id) ?? "";
3830
3974
  return {
3831
- id: h.id,
3832
- "data-item-id": h.id,
3833
- "data-zone-key": M
3975
+ id: b.id,
3976
+ "data-item-id": b.id,
3977
+ "data-zone-key": R
3834
3978
  };
3835
3979
  },
3836
3980
  [t]
@@ -3839,15 +3983,15 @@ function Wa(e) {
3839
3983
  zones: t,
3840
3984
  activeZone: s,
3841
3985
  activeItem: a,
3842
- getZoneProps: _,
3986
+ getZoneProps: w,
3843
3987
  getItemProps: p,
3844
- handleDragStart: f,
3988
+ handleDragStart: h,
3845
3989
  handleDragOver: m,
3846
3990
  handleDragEnd: g
3847
3991
  };
3848
3992
  }
3849
- let ge = null, Ne = null, Te = !1;
3850
- const Va = [
3993
+ let pe = null, De = null, Me = !1;
3994
+ const Ya = [
3851
3995
  "DndContext",
3852
3996
  "DragOverlay",
3853
3997
  "useSensors",
@@ -3856,22 +4000,22 @@ const Va = [
3856
4000
  "PointerSensor",
3857
4001
  "KeyboardSensor",
3858
4002
  "closestCenter"
3859
- ], Ha = [
4003
+ ], Qa = [
3860
4004
  "SortableContext",
3861
4005
  "useSortable",
3862
4006
  "verticalListSortingStrategy"
3863
4007
  ];
3864
- function ja(e, t) {
4008
+ function Xa(e, t) {
3865
4009
  const n = [], a = e ?? {};
3866
- for (const s of Va)
4010
+ for (const s of Ya)
3867
4011
  a[s] === void 0 && n.push(`@dnd-kit/core:${s}`);
3868
4012
  const i = t ?? {};
3869
- for (const s of Ha)
4013
+ for (const s of Qa)
3870
4014
  i[s] === void 0 && n.push(`@dnd-kit/sortable:${s}`);
3871
4015
  return n.length === 0 ? { ok: !0 } : { ok: !1, missing: n };
3872
4016
  }
3873
- function Ua() {
3874
- return ge ? Promise.resolve(ge) : Te ? Promise.resolve(null) : Ne || (Ne = (async () => {
4017
+ function Ja() {
4018
+ return pe ? Promise.resolve(pe) : Me ? Promise.resolve(null) : De || (De = (async () => {
3875
4019
  try {
3876
4020
  const [e, t, n] = await Promise.all([
3877
4021
  import("@dnd-kit/core"),
@@ -3879,31 +4023,31 @@ function Ua() {
3879
4023
  import("@dnd-kit/utilities").catch(() => (process.env.NODE_ENV !== "production" && console.warn(
3880
4024
  "SortableZones: @dnd-kit/utilities failed to load; drag-overlay positioning will fall back (items may teleport instead of slide)."
3881
4025
  ), {}))
3882
- ]), a = ja(e, t);
3883
- return a.ok ? (ge = {
4026
+ ]), a = Xa(e, t);
4027
+ return a.ok ? (pe = {
3884
4028
  core: e,
3885
4029
  sortable: t,
3886
4030
  utilities: n
3887
- }, ge) : (Te = !0, process.env.NODE_ENV !== "production" && console.error(
4031
+ }, pe) : (Me = !0, process.env.NODE_ENV !== "production" && console.error(
3888
4032
  `SortableZones: @dnd-kit shape mismatch — missing exports: ${a.missing.join(", ")}. Check installed versions against optionalDependencies in @mt-gloss/ui.`
3889
4033
  ), null);
3890
4034
  } catch {
3891
- return Te = !0, null;
4035
+ return Me = !0, null;
3892
4036
  }
3893
- })(), Ne);
4037
+ })(), De);
3894
4038
  }
3895
- function Za(e) {
3896
- const { zones: t, onZoneChange: n, renderZone: a, renderItem: i, renderDragOverlay: s } = e, o = Wa({ zones: t, onZoneChange: n }), [l, d] = H.useState(ge);
3897
- return H.useEffect(() => {
4039
+ function en(e) {
4040
+ const { zones: t, onZoneChange: n, renderZone: a, renderItem: i, renderDragOverlay: s } = e, o = qa({ zones: t, onZoneChange: n }), [l, c] = j.useState(pe);
4041
+ return j.useEffect(() => {
3898
4042
  if (l) return;
3899
4043
  let u = !0;
3900
- return Ua().then((v) => {
3901
- u && d(v);
4044
+ return Ja().then((f) => {
4045
+ u && c(f);
3902
4046
  }), () => {
3903
4047
  u = !1;
3904
4048
  };
3905
4049
  }, [l]), l ? /* @__PURE__ */ r(
3906
- ot,
4050
+ ct,
3907
4051
  {
3908
4052
  state: o,
3909
4053
  modules: l,
@@ -3912,22 +4056,22 @@ function Za(e) {
3912
4056
  renderDragOverlay: s
3913
4057
  }
3914
4058
  ) : /* @__PURE__ */ r("div", { "data-sortable-zones-passive": "true", children: o.zones.map((u) => {
3915
- const v = u.items.map((f) => /* @__PURE__ */ r(H.Fragment, { children: i(f) }, f.id));
3916
- return /* @__PURE__ */ r("div", { ...o.getZoneProps(u.zoneKey), children: a(u.zoneKey, u.items, v) }, u.zoneKey);
4059
+ const f = u.items.map((h) => /* @__PURE__ */ r(j.Fragment, { children: i(h) }, h.id));
4060
+ return /* @__PURE__ */ r("div", { ...o.getZoneProps(u.zoneKey), children: a(u.zoneKey, u.items, f) }, u.zoneKey);
3917
4061
  }) });
3918
4062
  }
3919
- Za.displayName = "SortableZones";
3920
- function ot({
4063
+ en.displayName = "SortableZones";
4064
+ function ct({
3921
4065
  state: e,
3922
4066
  modules: t,
3923
4067
  renderZone: n,
3924
4068
  renderItem: a,
3925
4069
  renderDragOverlay: i
3926
4070
  }) {
3927
- const { core: s, sortable: o, utilities: l } = t, { DndContext: d, DragOverlay: u, useSensors: v, useSensor: f, useDroppable: m, PointerSensor: g, KeyboardSensor: _, closestCenter: p } = s, { SortableContext: h, verticalListSortingStrategy: M } = o, P = v(
3928
- f(g, { activationConstraint: { distance: 5 } }),
3929
- f(_)
3930
- ), C = d, R = u, I = h;
4071
+ const { core: s, sortable: o, utilities: l } = t, { DndContext: c, DragOverlay: u, useSensors: f, useSensor: h, useDroppable: m, PointerSensor: g, KeyboardSensor: w, closestCenter: p } = s, { SortableContext: b, verticalListSortingStrategy: R } = o, P = f(
4072
+ h(g, { activationConstraint: { distance: 5 } }),
4073
+ h(w)
4074
+ ), C = c, M = u, I = b;
3931
4075
  return /* @__PURE__ */ N(
3932
4076
  C,
3933
4077
  {
@@ -3937,9 +4081,9 @@ function ot({
3937
4081
  onDragOver: e.handleDragOver,
3938
4082
  onDragEnd: e.handleDragEnd,
3939
4083
  children: [
3940
- e.zones.map((c) => {
3941
- const b = c.items.map((S) => S.id), D = c.items.map((S) => /* @__PURE__ */ r(
3942
- lt,
4084
+ e.zones.map((d) => {
4085
+ const v = d.items.map((S) => S.id), D = d.items.map((S) => /* @__PURE__ */ r(
4086
+ dt,
3943
4087
  {
3944
4088
  id: S.id,
3945
4089
  useSortable: o.useSortable,
@@ -3949,32 +4093,32 @@ function ot({
3949
4093
  S.id
3950
4094
  ));
3951
4095
  return /* @__PURE__ */ r(
3952
- ct,
4096
+ ut,
3953
4097
  {
3954
- zoneKey: c.zoneKey,
3955
- zoneProps: e.getZoneProps(c.zoneKey),
4098
+ zoneKey: d.zoneKey,
4099
+ zoneProps: e.getZoneProps(d.zoneKey),
3956
4100
  useDroppable: m,
3957
- children: /* @__PURE__ */ r(I, { items: b, strategy: M, children: n(c.zoneKey, c.items, D) })
4101
+ children: /* @__PURE__ */ r(I, { items: v, strategy: R, children: n(d.zoneKey, d.items, D) })
3958
4102
  },
3959
- c.zoneKey
4103
+ d.zoneKey
3960
4104
  );
3961
4105
  }),
3962
- /* @__PURE__ */ r(R, { children: e.activeItem ? i?.(e.activeItem) ?? a(e.activeItem) : null })
4106
+ /* @__PURE__ */ r(M, { children: e.activeItem ? i?.(e.activeItem) ?? a(e.activeItem) : null })
3963
4107
  ]
3964
4108
  }
3965
4109
  );
3966
4110
  }
3967
- ot.displayName = "SortableZonesInner";
3968
- function lt({ id: e, useSortable: t, cssHelper: n, children: a }) {
3969
- const { attributes: i, listeners: s, setNodeRef: o, transform: l, transition: d, isDragging: u } = t({ id: e }), v = {
4111
+ ct.displayName = "SortableZonesInner";
4112
+ function dt({ id: e, useSortable: t, cssHelper: n, children: a }) {
4113
+ const { attributes: i, listeners: s, setNodeRef: o, transform: l, transition: c, isDragging: u } = t({ id: e }), f = {
3970
4114
  transform: n?.Transform?.toString(l) ?? void 0,
3971
- transition: d,
4115
+ transition: c,
3972
4116
  opacity: u ? 0.5 : 1
3973
4117
  };
3974
- return /* @__PURE__ */ r("div", { ref: o, style: v, "data-sortable-item-id": e, ...i, ...s, children: a });
4118
+ return /* @__PURE__ */ r("div", { ref: o, style: f, "data-sortable-item-id": e, ...i, ...s, children: a });
3975
4119
  }
3976
- lt.displayName = "SortableItem";
3977
- function ct({
4120
+ dt.displayName = "SortableItem";
4121
+ function ut({
3978
4122
  zoneKey: e,
3979
4123
  zoneProps: t,
3980
4124
  useDroppable: n,
@@ -3983,8 +4127,8 @@ function ct({
3983
4127
  const { setNodeRef: i, isOver: s } = n({ id: e });
3984
4128
  return /* @__PURE__ */ r("div", { ref: i, "data-zone-is-over": s || void 0, ...t, children: a });
3985
4129
  }
3986
- ct.displayName = "ZoneDroppable";
3987
- function xr({
4130
+ ut.displayName = "ZoneDroppable";
4131
+ function Fr({
3988
4132
  slotLeft: e,
3989
4133
  slotCenter: t,
3990
4134
  slotRight: n,
@@ -4034,7 +4178,7 @@ function xr({
4034
4178
  }
4035
4179
  );
4036
4180
  }
4037
- function Sr({
4181
+ function Er({
4038
4182
  count: e,
4039
4183
  currentIndex: t,
4040
4184
  onSelect: n,
@@ -4044,25 +4188,25 @@ function Sr({
4044
4188
  pulseNonce: o,
4045
4189
  currentSection: l = t,
4046
4190
  // D-08 back-compat shim
4047
- sectionsPerView: d = 1
4191
+ sectionsPerView: c = 1
4048
4192
  // D-09 default
4049
4193
  }) {
4050
- const u = Math.max(0, Math.min(e - 1, l)), v = Math.min(e - 1, u + Math.max(0, d - 1)), f = [u, v], m = Xe.useRef([]);
4051
- return m.current.length = e, e <= 1 || f[0] === 0 && f[1] === e - 1 ? null : /* @__PURE__ */ N(
4194
+ const u = Math.max(0, Math.min(e - 1, l)), f = Math.min(e - 1, u + Math.max(0, c - 1)), h = [u, f], m = Je.useRef([]);
4195
+ return m.current.length = e, e <= 1 || h[0] === 0 && h[1] === e - 1 ? null : /* @__PURE__ */ N(
4052
4196
  "div",
4053
4197
  {
4054
4198
  role: "tablist",
4055
4199
  "aria-label": a,
4056
4200
  "data-testid": "gloss-section-dots",
4057
4201
  className: "gloss-section-dots",
4058
- onKeyDown: (_) => {
4202
+ onKeyDown: (w) => {
4059
4203
  if (e !== 0) {
4060
- if (_.key === "ArrowRight") {
4061
- _.preventDefault();
4204
+ if (w.key === "ArrowRight") {
4205
+ w.preventDefault();
4062
4206
  const p = (t + 1) % e;
4063
4207
  n(p), requestAnimationFrame(() => m.current[p]?.focus());
4064
- } else if (_.key === "ArrowLeft") {
4065
- _.preventDefault();
4208
+ } else if (w.key === "ArrowLeft") {
4209
+ w.preventDefault();
4066
4210
  const p = (t - 1 + e) % e;
4067
4211
  n(p), requestAnimationFrame(() => m.current[p]?.focus());
4068
4212
  }
@@ -4075,16 +4219,16 @@ function Sr({
4075
4219
  className: "gloss-section-dots__blob",
4076
4220
  "aria-hidden": "true",
4077
4221
  style: {
4078
- "--blob-start": f[0],
4079
- "--blob-end": f[1]
4222
+ "--blob-start": h[0],
4223
+ "--blob-end": h[1]
4080
4224
  }
4081
4225
  }
4082
4226
  ),
4083
- Array.from({ length: e }, (_, p) => /* @__PURE__ */ r(
4227
+ Array.from({ length: e }, (w, p) => /* @__PURE__ */ r(
4084
4228
  "button",
4085
4229
  {
4086
- ref: (h) => {
4087
- m.current[p] = h;
4230
+ ref: (b) => {
4231
+ m.current[p] = b;
4088
4232
  },
4089
4233
  type: "button",
4090
4234
  role: "tab",
@@ -4104,353 +4248,357 @@ function Sr({
4104
4248
  }
4105
4249
  );
4106
4250
  }
4107
- const qa = H.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
4251
+ const tn = j.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
4108
4252
  const i = { ...n };
4109
- return delete i.className, delete i.style, /* @__PURE__ */ r("div", { ref: a, className: "gloss-container-toolbar", role: "toolbar", ...i, children: /* @__PURE__ */ r(Oe, { region: "toolbar", density: e, children: t }) });
4253
+ return delete i.className, delete i.style, /* @__PURE__ */ r("div", { ref: a, className: "gloss-container-toolbar", role: "toolbar", ...i, children: /* @__PURE__ */ r($e, { region: "toolbar", density: e, children: t }) });
4110
4254
  });
4111
- qa.displayName = "ContainerToolbar";
4112
- const Ya = H.forwardRef(({ legend: e, description: t, density: n = "default", children: a, ...i }, s) => {
4255
+ tn.displayName = "ContainerToolbar";
4256
+ const an = j.forwardRef(({ legend: e, description: t, density: n = "default", children: a, ...i }, s) => {
4113
4257
  const o = { ...i };
4114
4258
  return delete o.className, delete o.style, /* @__PURE__ */ N("fieldset", { ref: s, className: "gloss-container-form-section", ...o, children: [
4115
4259
  e && /* @__PURE__ */ r("legend", { className: "gloss-container-form-section__legend", children: e }),
4116
4260
  t && /* @__PURE__ */ r("p", { className: "gloss-container-form-section__description", children: t }),
4117
- /* @__PURE__ */ r(Oe, { region: "form-section", density: n, children: a })
4261
+ /* @__PURE__ */ r($e, { region: "form-section", density: n, children: a })
4118
4262
  ] });
4119
4263
  });
4120
- Ya.displayName = "ContainerFormSection";
4121
- const Qa = H.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
4264
+ an.displayName = "ContainerFormSection";
4265
+ const nn = j.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
4122
4266
  const i = { ...n };
4123
- return delete i.className, delete i.style, /* @__PURE__ */ r("div", { ref: a, className: "gloss-container-table", ...i, children: /* @__PURE__ */ r(Oe, { region: "table", density: e, children: t }) });
4267
+ return delete i.className, delete i.style, /* @__PURE__ */ r("div", { ref: a, className: "gloss-container-table", ...i, children: /* @__PURE__ */ r($e, { region: "table", density: e, children: t }) });
4124
4268
  });
4125
- Qa.displayName = "ContainerTable";
4269
+ nn.displayName = "ContainerTable";
4126
4270
  export {
4127
- Rr as Accordion,
4128
- Ir as AccordionContent,
4129
- Pr as AccordionItem,
4130
- Fr as AccordionTrigger,
4131
- Er as ActionStrip,
4132
- Ar as Actionable,
4133
- Lr as AddressGroup,
4134
- Or as AddressSelect,
4135
- $r as AsyncLoader,
4136
- Br as Autocomplete,
4137
- Kr as Badge,
4138
- zr as BarChartCard,
4139
- Gr as BarsBg,
4140
- xr as BottomToolbar,
4141
- Wr as Button,
4142
- Vr as ButtonGroup,
4143
- Hr as ButtonGroupContext,
4144
- jr as Card,
4145
- Ur as CardActions,
4146
- Zr as CardBack,
4147
- qr as CardBody,
4148
- Yr as CardFooter,
4149
- Qr as CardHeader,
4150
- Xr as CardMedia,
4151
- ft as CardShell,
4152
- Jr as CardSubtitle,
4153
- es as CardTitle,
4154
- fr as CascadePreview,
4155
- ts as ChartControlBar,
4156
- as as Checkbox,
4157
- ns as CheckboxGroup,
4158
- rs as Chip,
4159
- ss as ColorPicker,
4160
- is as ComparisonCard,
4161
- os as ContactForm,
4162
- ls as ContainerCard,
4163
- cs as ContainerCardActions,
4164
- ds as ContainerCardBody,
4165
- us as ContainerCardFooter,
4166
- ms as ContainerCardHeader,
4167
- gs as ContainerCardMedia,
4168
- ps as ContainerCardSubtitle,
4169
- hs as ContainerCardTitle,
4170
- fs as ContainerDialog,
4171
- vs as ContainerDialogActions,
4172
- bs as ContainerDialogBody,
4173
- ys as ContainerDialogHeader,
4174
- Ya as ContainerFormSection,
4175
- ws as ContainerPanel,
4176
- Qa as ContainerTable,
4177
- qa as ContainerToolbar,
4178
- _s as CreditCardForm,
4179
- Ns as DEFAULT_FOOTER_IDS,
4180
- se as DEFAULT_GRID_INTERACTION_PHYSICS,
4181
- Xo as DEFAULT_MARKET_PRESETS,
4182
- Ds as DEFAULT_OVERFLOW_IDS,
4183
- Jo as DEFAULT_PINNED,
4184
- Je as DEFAULT_RESIZE_PHYSICS,
4185
- ks as DataTable,
4186
- Cs as DatePicker,
4187
- xs as DateRangePicker,
4188
- Ss as DestructiveModal,
4189
- ha as DevTuningPanel,
4190
- Ms as DirectionCard,
4191
- Ts as Dismissible,
4192
- Rs as DistributionCard,
4193
- Is as DonutChart,
4194
- pr as DragGhost,
4195
- cr as DropAnchorCell,
4196
- Ps as Dropdown,
4197
- ya as DualPaceBars,
4198
- Fs as ENTITY_FILTER_KEYS,
4199
- Es as ENTITY_PROFILE_ROUTES,
4200
- As as ENTITY_TYPE_PLURAL,
4201
- Bt as EdgeHoverHandle,
4202
- mr as EmptyCellPackAffordance,
4203
- Ls as EntityPicker,
4271
+ Lr as Accordion,
4272
+ $r as AccordionContent,
4273
+ Br as AccordionItem,
4274
+ zr as AccordionTrigger,
4275
+ Kr as ActionStrip,
4276
+ Wr as Actionable,
4277
+ Gr as AddressGroup,
4278
+ Vr as AddressSelect,
4279
+ jr as AsyncLoader,
4280
+ Hr as Autocomplete,
4281
+ Ur as Badge,
4282
+ Zr as BarChartCard,
4283
+ qr as BarsBg,
4284
+ Fr as BottomToolbar,
4285
+ Yr as Button,
4286
+ Qr as ButtonGroup,
4287
+ Xr as ButtonGroupContext,
4288
+ Jr as Card,
4289
+ es as CardActions,
4290
+ ts as CardBack,
4291
+ as as CardBody,
4292
+ ns as CardFooter,
4293
+ rs as CardHeader,
4294
+ ss as CardMedia,
4295
+ vt as CardShell,
4296
+ is as CardSubtitle,
4297
+ os as CardTitle,
4298
+ _r as CascadePreview,
4299
+ Mr as CellTintOverlay,
4300
+ ls as ChartControlBar,
4301
+ cs as Checkbox,
4302
+ ds as CheckboxGroup,
4303
+ us as Chip,
4304
+ ms as ColorPicker,
4305
+ gs as ComparisonCard,
4306
+ ps as ContactForm,
4307
+ hs as ContainerCard,
4308
+ fs as ContainerCardActions,
4309
+ bs as ContainerCardBody,
4310
+ vs as ContainerCardFooter,
4311
+ ys as ContainerCardHeader,
4312
+ ws as ContainerCardMedia,
4313
+ _s as ContainerCardSubtitle,
4314
+ Ns as ContainerCardTitle,
4315
+ Ds as ContainerDialog,
4316
+ ks as ContainerDialogActions,
4317
+ Cs as ContainerDialogBody,
4318
+ xs as ContainerDialogHeader,
4319
+ an as ContainerFormSection,
4320
+ Ss as ContainerPanel,
4321
+ nn as ContainerTable,
4322
+ tn as ContainerToolbar,
4323
+ Rs as CreditCardForm,
4324
+ Ts as DEFAULT_FOOTER_IDS,
4325
+ ie as DEFAULT_GRID_INTERACTION_PHYSICS,
4326
+ sl as DEFAULT_MARKET_PRESETS,
4327
+ Ms as DEFAULT_OVERFLOW_IDS,
4328
+ il as DEFAULT_PINNED,
4329
+ et as DEFAULT_RESIZE_PHYSICS,
4330
+ Is as DataTable,
4331
+ Ps as DatePicker,
4332
+ Fs as DateRangePicker,
4333
+ Es as DestructiveModal,
4334
+ va as DevTuningPanel,
4335
+ As as DirectionCard,
4336
+ Os as Dismissible,
4337
+ Ls as DistributionCard,
4338
+ $s as DonutChart,
4339
+ yr as DragGhost,
4340
+ pr as DropAnchorCell,
4341
+ Bs as Dropdown,
4342
+ Na as DualPaceBars,
4343
+ zs as ENTITY_FILTER_KEYS,
4344
+ Ks as ENTITY_PROFILE_ROUTES,
4345
+ Ws as ENTITY_TYPE_PLURAL,
4346
+ Wt as EdgeHoverHandle,
4347
+ br as EmptyCellPackAffordance,
4348
+ Gs as EntityPicker,
4204
4349
  X as EntityRow,
4205
- Os as EntitySearchPanel,
4206
- Ia as ExceptionListCard,
4207
- Pa as ExceptionListTilePreview,
4208
- $s as Expandable,
4209
- Bs as ExpandableChip,
4210
- Ks as FLIP_AND_STAGE_TIMINGS,
4211
- zs as FileUpload,
4212
- Gs as FilterChip,
4213
- Ws as FilterInput,
4214
- Vs as FlipAndStageProvider,
4215
- Hs as Form,
4216
- js as FormDialog,
4217
- Us as FormField,
4218
- Zs as FusedShape,
4219
- wa as GapReadout,
4220
- qs as GestureStateProvider,
4221
- Kt as GhostPreview,
4222
- Ys as GroupCheckbox,
4223
- Qs as GroupRadio,
4224
- Sn as HARD_CLIP,
4225
- Xs as HighlightCard,
4226
- Js as HybridDatePicker,
4227
- ei as ImportWizard,
4228
- Ea as InlineNudge,
4229
- ti as Input,
4230
- ai as InputAddon,
4231
- ni as InputGroup,
4232
- Sa as LeaderboardCard,
4233
- Ma as LeaderboardTilePreview,
4234
- Da as LensChipGroup,
4235
- ri as Link,
4236
- si as LoginForm,
4237
- be as MagnitudeBar,
4238
- ii as MarketPresetRow,
4239
- oi as MaskPresets,
4240
- li as MaskedInput,
4241
- ci as Menu,
4242
- di as MenuDivider,
4243
- ui as MenuGroup,
4244
- mi as MenuItem,
4245
- gi as MergePrompt,
4246
- pi as MetricCard,
4247
- hi as MetricCardGrid,
4248
- ia as MetricGroupContainer,
4249
- fi as MiniCalendar,
4250
- Ca as MoreInLensRail,
4251
- vi as MultiSelect,
4252
- bi as NumberInput,
4253
- yi as ObjectArrow,
4254
- wi as OrderFilterBar,
4255
- el as PERIOD_OPTIONS,
4256
- vr as PaceCard,
4257
- br as PaceTilePreview,
4258
- Zt as PageChip,
4259
- et as PageDropdown,
4260
- _i as PasswordInput,
4261
- Ni as PaymentForm,
4262
- Di as PaymentMethodSelect,
4263
- ki as PhoneInput,
4264
- Ci as PinToMetric,
4265
- Ka as PresetSwatchRow,
4266
- xi as ProfileCard,
4267
- Si as ProgressCard,
4268
- Mi as QuickConfigPanel,
4269
- ta as RECONFIG_BACKSIDE_LABELS,
4270
- tl as ROLLING_OPTIONS,
4271
- Ti as Radio,
4272
- Ri as RadioGroup,
4273
- Ii as RangeSlider,
4274
- fe as RankBadge,
4275
- st as RankDelta,
4276
- Pi as Rating,
4277
- ra as ReconfigBacksideButtons,
4278
- Fi as RegistrationForm,
4279
- lr as ResizeEnvelope,
4280
- Ei as Row1Controls,
4281
- Ai as Row2FilterTray,
4282
- Nr as STROKE_DASHED,
4283
- Cr as STROKE_OUTLINE,
4284
- Dr as STROKE_SOLID,
4285
- kr as STROKE_SPARSE_DASH,
4286
- Li as SearchInput,
4287
- ur as SectionDivider,
4288
- Sr as SectionDots,
4289
- Oi as SegmentCard,
4290
- $i as SegmentedControl,
4291
- Bi as Select,
4292
- Ki as Selectable,
4350
+ Vs as EntitySearchPanel,
4351
+ Ea as ExceptionListCard,
4352
+ Aa as ExceptionListTilePreview,
4353
+ js as Expandable,
4354
+ Hs as ExpandableChip,
4355
+ Us as FLIP_AND_STAGE_TIMINGS,
4356
+ Zs as FileUpload,
4357
+ qs as FilterChip,
4358
+ Ys as FilterInput,
4359
+ Qs as FlipAndStageProvider,
4360
+ Xs as Form,
4361
+ Js as FormDialog,
4362
+ ei as FormField,
4363
+ ti as FusedShape,
4364
+ Da as GapReadout,
4365
+ ai as GestureStateProvider,
4366
+ Gt as GhostPreview,
4367
+ ni as GroupCheckbox,
4368
+ ri as GroupRadio,
4369
+ Fn as HARD_CLIP,
4370
+ si as HighlightCard,
4371
+ ii as HybridDatePicker,
4372
+ oi as ImportWizard,
4373
+ za as InlineNudge,
4374
+ li as Input,
4375
+ ci as InputAddon,
4376
+ di as InputGroup,
4377
+ Ma as LeaderboardCard,
4378
+ Ia as LeaderboardTilePreview,
4379
+ xa as LensChipGroup,
4380
+ ui as Link,
4381
+ mi as LoginForm,
4382
+ ye as MagnitudeBar,
4383
+ gi as MarketPresetRow,
4384
+ pi as MaskPresets,
4385
+ hi as MaskedInput,
4386
+ fi as Menu,
4387
+ bi as MenuDivider,
4388
+ vi as MenuGroup,
4389
+ yi as MenuItem,
4390
+ wi as MergePrompt,
4391
+ _i as MetricCard,
4392
+ Ni as MetricCardGrid,
4393
+ ca as MetricGroupContainer,
4394
+ Di as MiniCalendar,
4395
+ Ra as MoreInLensRail,
4396
+ ki as MultiSelect,
4397
+ Ci as NumberInput,
4398
+ xi as ObjectArrow,
4399
+ Si as OrderFilterBar,
4400
+ ol as PERIOD_OPTIONS,
4401
+ Nr as PaceCard,
4402
+ Dr as PaceTilePreview,
4403
+ Qt as PageChip,
4404
+ tt as PageDropdown,
4405
+ Ri as PasswordInput,
4406
+ Ti as PaymentForm,
4407
+ Mi as PaymentMethodSelect,
4408
+ Ii as PhoneInput,
4409
+ Pi as PinToMetric,
4410
+ Ha as PresetSwatchRow,
4411
+ Fi as ProfileCard,
4412
+ Ei as ProgressCard,
4413
+ Ai as QuickConfigPanel,
4414
+ ra as RECONFIG_BACKSIDE_LABELS,
4415
+ ll as ROLLING_OPTIONS,
4416
+ Oi as Radio,
4417
+ Li as RadioGroup,
4418
+ $i as RangeSlider,
4419
+ be as RankBadge,
4420
+ ot as RankDelta,
4421
+ Bi as Rating,
4422
+ oa as ReconfigBacksideButtons,
4423
+ Ir as RefusePulse,
4424
+ zi as RegistrationForm,
4425
+ gr as ResizeEnvelope,
4426
+ Pr as ResizeTrackingOutline,
4427
+ Ki as Row1Controls,
4428
+ Wi as Row2FilterTray,
4429
+ xr as STROKE_DASHED,
4430
+ Tr as STROKE_OUTLINE,
4431
+ Sr as STROKE_SOLID,
4432
+ Rr as STROKE_SPARSE_DASH,
4433
+ Gi as SearchInput,
4434
+ fr as SectionDivider,
4435
+ Er as SectionDots,
4436
+ Vi as SegmentCard,
4437
+ ji as SegmentedControl,
4438
+ Hi as Select,
4439
+ Ui as Selectable,
4293
4440
  ve as SeverityDot,
4294
- zi as SimpleMetricCard,
4295
- Gi as SimpleSelector,
4296
- Wi as Skeleton,
4297
- Vi as SkeletonCard,
4298
- Hi as SkeletonChart,
4299
- ji as SkeletonTable,
4300
- Ui as Slider,
4301
- hr as SnapOutline,
4302
- Zi as Sortable,
4303
- Za as SortableZones,
4304
- qi as SparklineBg,
4305
- dr as SpilloverArc,
4306
- Yi as SplitButton,
4307
- Qi as StackedGroupCard,
4308
- Fa as StackedGroupTilePreview,
4309
- ka as StarterRail,
4310
- Xi as StatusModeCard,
4311
- $t as StatusSlotChipMenu,
4312
- Ji as Stepper,
4313
- Pe as SwingReveal,
4314
- al as TODAY_PRESET,
4441
+ Zi as SimpleMetricCard,
4442
+ qi as SimpleSelector,
4443
+ Yi as Skeleton,
4444
+ Qi as SkeletonCard,
4445
+ Xi as SkeletonChart,
4446
+ Ji as SkeletonTable,
4447
+ eo as Slider,
4448
+ wr as SnapOutline,
4449
+ to as Sortable,
4450
+ en as SortableZones,
4451
+ ao as SparklineBg,
4452
+ hr as SpilloverArc,
4453
+ no as SplitButton,
4454
+ ro as StackedGroupCard,
4455
+ Oa as StackedGroupTilePreview,
4456
+ Sa as StarterRail,
4457
+ so as StatusModeCard,
4458
+ zt as StatusSlotChipMenu,
4459
+ io as Stepper,
4460
+ Fe as SwingReveal,
4461
+ cl as TODAY_PRESET,
4315
4462
  re as TUNING_DEFAULTS,
4316
- rt as TUNING_STORAGE_KEY,
4317
- eo as TabGroup,
4318
- to as TabbedDataView,
4319
- ao as TagInput,
4320
- It as TargetInput,
4321
- no as Textarea,
4322
- Oa as ThresholdRamp,
4323
- ro as TimeFrame,
4324
- so as TimePicker,
4325
- io as Toggle,
4326
- oo as Tooltip,
4327
- lo as Transition,
4328
- co as TransitionGroup,
4329
- uo as TrendCard,
4330
- mo as TrendIndicator,
4331
- qo as UIContext,
4332
- Oe as UIContextProvider,
4333
- go as UnifiedBreakdownTable,
4334
- po as UnifiedContextMenu,
4335
- zt as VelocityBuffer,
4336
- ho as addressGroupMetadata,
4337
- fo as addressSchema,
4338
- gn as allChips,
4339
- Fn as allStateFixtures,
4340
- Pn as allVariantFixtures,
4341
- vn as blockSamples,
4342
- vo as buildDefaultOverflow,
4343
- Nn as cardSamples,
4344
- Dn as cascadePhysics,
4345
- wn as chartSamples,
4346
- yn as circleSamples,
4347
- Mn as colorTokens,
4348
- tr as compactLayout,
4349
- Vn as compactState,
4350
- In as computeGutterAnchorX,
4351
- bo as contactFormMetadata,
4352
- yo as contactSchema,
4353
- Hn as contextMenuFixtures,
4354
- wo as creditCardFormMetadata,
4355
- _o as creditCardSchema,
4356
- Et as dateChip,
4357
- nt as defaultControlBarState,
4358
- No as destructiveModalMetadata,
4359
- Do as durations,
4360
- ko as easings,
4361
- Vt as emptyFixture,
4362
- Pt as entityChip,
4363
- Xt as entityNameActions,
4364
- hn as entityTabGroup,
4365
- Wt as errorFixture,
4366
- Co as evaluateTintCondition,
4367
- Wn as filteredState,
4368
- nl as findPreset,
4369
- rl as formatDateRange,
4370
- sl as formatMarketDates,
4371
- il as formatTrend,
4372
- ol as formatValue,
4373
- nr as fullLayout,
4374
- ll as generateMarketId,
4375
- xo as generateTabId,
4376
- cl as getAllPresets,
4377
- dl as getDateRangeForPreset,
4378
- So as getMenuActions,
4379
- Tn as getMotionMode,
4380
- ul as getPresetLabel,
4381
- Mo as getTransitionStyle,
4382
- er as gridCards,
4383
- yr as gridChannels,
4384
- To as interpolate,
4385
- ml as isInRange,
4386
- gl as isMarketActive,
4387
- pl as isSameDay,
4388
- Gn as itemColumns,
4389
- Kn as itemRows,
4390
- Gt as loadingFixture,
4391
- Ro as loginFormMetadata,
4392
- Io as loginSchema,
4393
- At as manufacturerChip,
4394
- or as manyTabs,
4395
- Po as mergeHandlers,
4396
- Fo as mergeRefs,
4397
- pn as metricTabGroup,
4398
- sr as mixedTabs,
4399
- hl as normalizePresetId,
4400
- ea as numericActions,
4401
- zn as orderColumns,
4402
- Jt as orderIdActions,
4403
- Bn as orderRows,
4404
- rr as ordersTabs,
4405
- wr as paletteHex,
4406
- _r as paletteVars,
4407
- Eo as parseNumericValue,
4408
- Ao as paymentFormMetadata,
4409
- Lo as paymentSchema,
4410
- Oo as presets,
4411
- Cn as provisional,
4412
- xn as reducedMotion,
4413
- $o as registrationFormMetadata,
4414
- Bo as registrationSchema,
4415
- kn as rejectionFeedback,
4416
- Un as sampleCompareRanges,
4417
- Yn as sampleCustomMarkets,
4418
- jn as sampleDateRange,
4419
- Qn as sampleMarketPresetData,
4420
- qn as sampleMarkets,
4421
- Jn as samplePeriodPresets,
4422
- Zn as samplePreferences,
4423
- Xn as samplePresets,
4424
- ir as singleTab,
4425
- En as sparklineFixture,
4426
- An as sparklineUpFixture,
4427
- Ut as staleDonutFixture,
4428
- Ht as staleFixture,
4429
- jt as staleSparklineFixture,
4430
- Ln as standardFixture,
4431
- $n as standardFlatFixture,
4432
- ar as standardLayout,
4433
- On as standardNegativeFixture,
4434
- Ft as statusChip,
4435
- me as swingReveal,
4436
- _n as tableSamples,
4437
- bn as textSamples,
4438
- fn as timeFrameTabGroup,
4439
- fl as toUppercasePresetId,
4440
- gr as useAffordanceVisibility,
4441
- mn as useArrowNavigation,
4442
- Ko as useCheckboxGroupContext,
4443
- Rn as useEdgeHoverResize,
4444
- zo as useFilterLayout,
4445
- Go as useFlipAndStage,
4446
- Wo as useFlipAndStageContext,
4447
- Vo as useFlipAndStageContextOptional,
4448
- un as useFocusReturn,
4449
- Ho as useFocusTrap,
4450
- jo as useFormContext,
4451
- ht as useGestureState,
4452
- Uo as useRadioGroupContext,
4453
- ca as useResizeTuning,
4454
- Wa as useSortableZones,
4455
- Yo as useUIContext
4463
+ st as TUNING_STORAGE_KEY,
4464
+ oo as TabGroup,
4465
+ lo as TabbedDataView,
4466
+ co as TagInput,
4467
+ Ft as TargetInput,
4468
+ uo as Textarea,
4469
+ Ga as ThresholdRamp,
4470
+ mo as TimeFrame,
4471
+ go as TimePicker,
4472
+ po as Toggle,
4473
+ ho as Tooltip,
4474
+ it as TrackingOutline,
4475
+ fo as Transition,
4476
+ bo as TransitionGroup,
4477
+ vo as TrendCard,
4478
+ yo as TrendIndicator,
4479
+ al as UIContext,
4480
+ $e as UIContextProvider,
4481
+ wo as UnifiedBreakdownTable,
4482
+ _o as UnifiedContextMenu,
4483
+ Vt as VelocityBuffer,
4484
+ No as addressGroupMetadata,
4485
+ Do as addressSchema,
4486
+ yn as allChips,
4487
+ $n as allStateFixtures,
4488
+ Ln as allVariantFixtures,
4489
+ Dn as blockSamples,
4490
+ ko as buildDefaultOverflow,
4491
+ Rn as cardSamples,
4492
+ Tn as cascadePhysics,
4493
+ xn as chartSamples,
4494
+ Cn as circleSamples,
4495
+ En as colorTokens,
4496
+ ir as compactLayout,
4497
+ qn as compactState,
4498
+ On as computeGutterAnchorX,
4499
+ Co as contactFormMetadata,
4500
+ xo as contactSchema,
4501
+ Yn as contextMenuFixtures,
4502
+ So as creditCardFormMetadata,
4503
+ Ro as creditCardSchema,
4504
+ Ot as dateChip,
4505
+ rt as defaultControlBarState,
4506
+ To as destructiveModalMetadata,
4507
+ Mo as durations,
4508
+ Io as easings,
4509
+ Ut as emptyFixture,
4510
+ Et as entityChip,
4511
+ ta as entityNameActions,
4512
+ _n as entityTabGroup,
4513
+ Ht as errorFixture,
4514
+ Po as evaluateTintCondition,
4515
+ Zn as filteredState,
4516
+ dl as findPreset,
4517
+ ul as formatDateRange,
4518
+ ml as formatMarketDates,
4519
+ gl as formatTrend,
4520
+ pl as formatValue,
4521
+ lr as fullLayout,
4522
+ hl as generateMarketId,
4523
+ Fo as generateTabId,
4524
+ fl as getAllPresets,
4525
+ bl as getDateRangeForPreset,
4526
+ Eo as getMenuActions,
4527
+ Kt as getMotionMode,
4528
+ vl as getPresetLabel,
4529
+ Ao as getTransitionStyle,
4530
+ sr as gridCards,
4531
+ kr as gridChannels,
4532
+ Oo as interpolate,
4533
+ yl as isInRange,
4534
+ wl as isMarketActive,
4535
+ _l as isSameDay,
4536
+ Un as itemColumns,
4537
+ jn as itemRows,
4538
+ jt as loadingFixture,
4539
+ Lo as loginFormMetadata,
4540
+ $o as loginSchema,
4541
+ Lt as manufacturerChip,
4542
+ mr as manyTabs,
4543
+ Bo as mergeHandlers,
4544
+ zo as mergeRefs,
4545
+ wn as metricTabGroup,
4546
+ dr as mixedTabs,
4547
+ Nl as normalizePresetId,
4548
+ na as numericActions,
4549
+ Hn as orderColumns,
4550
+ aa as orderIdActions,
4551
+ Vn as orderRows,
4552
+ cr as ordersTabs,
4553
+ Cr as paletteHex,
4554
+ se as paletteVars,
4555
+ Ko as parseNumericValue,
4556
+ Wo as paymentFormMetadata,
4557
+ Go as paymentSchema,
4558
+ Vo as presets,
4559
+ In as provisional,
4560
+ Pn as reducedMotion,
4561
+ jo as registrationFormMetadata,
4562
+ Ho as registrationSchema,
4563
+ Mn as rejectionFeedback,
4564
+ Xn as sampleCompareRanges,
4565
+ tr as sampleCustomMarkets,
4566
+ Qn as sampleDateRange,
4567
+ ar as sampleMarketPresetData,
4568
+ er as sampleMarkets,
4569
+ rr as samplePeriodPresets,
4570
+ Jn as samplePreferences,
4571
+ nr as samplePresets,
4572
+ ur as singleTab,
4573
+ Bn as sparklineFixture,
4574
+ zn as sparklineUpFixture,
4575
+ Yt as staleDonutFixture,
4576
+ Zt as staleFixture,
4577
+ qt as staleSparklineFixture,
4578
+ Kn as standardFixture,
4579
+ Gn as standardFlatFixture,
4580
+ or as standardLayout,
4581
+ Wn as standardNegativeFixture,
4582
+ At as statusChip,
4583
+ ge as swingReveal,
4584
+ Sn as tableSamples,
4585
+ kn as textSamples,
4586
+ Nn as timeFrameTabGroup,
4587
+ Dl as toUppercasePresetId,
4588
+ vr as useAffordanceVisibility,
4589
+ vn as useArrowNavigation,
4590
+ Uo as useCheckboxGroupContext,
4591
+ An as useEdgeHoverResize,
4592
+ Zo as useFilterLayout,
4593
+ qo as useFlipAndStage,
4594
+ Yo as useFlipAndStageContext,
4595
+ Qo as useFlipAndStageContextOptional,
4596
+ bn as useFocusReturn,
4597
+ Xo as useFocusTrap,
4598
+ Jo as useFormContext,
4599
+ bt as useGestureState,
4600
+ el as useRadioGroupContext,
4601
+ ma as useResizeTuning,
4602
+ qa as useSortableZones,
4603
+ nl as useUIContext
4456
4604
  };