@mt-gloss/ui 0.1.27 → 0.1.29

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,21 +1,21 @@
1
- import { C as rt, P as st } from "./Expandable-D7_L8KoV.js";
2
- import { O as nr, U as rr, Q as sr, T as ir, a4 as or, b7 as lr, aA as cr, ai as dr, _ as ur, ao as mr, N as gr, a9 as pr, bn as fr, a as hr, B as br, b as vr, A as yr, K as wr, bi as Dr, J as _r, L as Nr, E as Cr, D as kr, H as xr, F as Sr, bx as Mr, c as Tr, d as Rr, q as Ir, ae as Pr, aO as Fr, A as Er, K as Ar, J as Or, L as Lr, E as $r, D as Br, H as Kr, F as zr, b0 as Gr, b3 as Wr, b2 as Hr, b1 as Vr, b4 as Ur, aD as jr, a6 as Zr, a5 as qr, ar as Yr, m as Qr, o as Xr, aG as Jr, ac as es, b9 as ts, aa as as, bo as ns, Z as rs, bH as ss, bG as is, bI as os, aq as ls, aR as cs, bb as ds, bM as us, bv as ms, p as gs, an as ps, bB as fs, bs as hs, a1 as bs, as as vs, a3 as ys, bA as ws, G as Ds, f as _s, ab as Ns, bJ as Cs, aU as ks, t as xs, x as Ss, I as Ms, i as Ts, ax as Rs, bN as Is, M as Ps, y as Fs, V as Es, Y as As, W as Os, X as Ls, at as $s, bh as Bs, bP as Ks, bL as zs, ap as Gs, w as Ws, bp as Hs, aT as Vs, ak as Us, aL as js, ah as Zs, am as qs, av as Ys, aS as Qs, ad as Xs, au as Js, e as ei, R as ti, l as ai, r as ni, aI as ri, by as si, bz as ii, aj as oi, af as li, j as ci, z as di, b8 as ui, ag as mi, bO as gi, bd as pi, bg as fi, be as hi, bf as bi, k as vi, ba as yi, bm as wi, S as Di, bk as _i, bl as Ni, aw as Ci, bc as ki, bQ as xi, al as Si, v as Mi, bK as Ti, n as Ri, h as Ii, s as Pi, $ as Fi, a0 as Ei, a8 as Ai, bj as Oi, bw as Li, bD as $i, aB as Bi, aC as Ki, a7 as zi, aP as Gi, aQ as Wi, aE as Hi, aF as Vi, aH as Ui, aW as ji, aX as Zi, bq as qi, bF as Yi, bE as Qi, aZ as Xi, a_ as Ji, ay as eo, az as to, b6 as ao, b5 as no, a$ as ro, aM as so, aN as io, aY as oo, aJ as lo, aK as co, u as uo, bC as mo, br as go, bt as po, bu as fo, aV as ho, a2 as bo, g as vo } from "./Expandable-D7_L8KoV.js";
3
- import { jsxs as k, jsx as i, Fragment as be } from "react/jsx-runtime";
4
- import * as it from "react";
5
- import V, { useRef as T, useEffect as L, useState as $, useCallback as w, forwardRef as ot, useMemo as ge, createContext as lt, useContext as ct } from "react";
6
- import { motion as ve, useMotionValue as dt, animate as Oe, useDragControls as ut } from "framer-motion";
7
- import { B as mt, U as Re } from "./UIContext-C3E-k7HI.js";
8
- import { a as wo, u as Do } from "./UIContext-C3E-k7HI.js";
9
- import { createPortal as gt } from "react-dom";
10
- import { DEFAULT_MARKET_PRESETS as No, DEFAULT_PINNED as Co, PERIOD_OPTIONS as ko, ROLLING_OPTIONS as xo, TODAY_PRESET as So, findPreset as Mo, formatDateRange as To, formatMarketDates as Ro, formatTrend as Io, formatValue as Po, generateMarketId as Fo, getAllPresets as Eo, getDateRangeForPreset as Ao, getPresetLabel as Oo, isInRange as Lo, isMarketActive as $o, isSameDay as Bo, normalizePresetId as Ko, toUppercasePresetId as zo } from "@mt-gloss/utils";
11
- import pt from "@mui/icons-material/AccessTime";
12
- import ft from "@mui/icons-material/Tune";
13
- import ht from "@mui/icons-material/ViewColumn";
14
- import bt from "@mui/icons-material/AspectRatio";
15
- import vt from "@mui/icons-material/Palette";
16
- import yt from "@mui/icons-material/PushPin";
17
- function Va(e = {}) {
18
- const { enabled: t = !0, returnTo: n } = e, a = T(null);
1
+ import { C as ut, P as mt } from "./Expandable-alOxKG0x.js";
2
+ import { O as vr, U as br, Q as yr, T as wr, a4 as _r, b7 as Nr, aA as Dr, ai as Cr, _ as kr, ao as xr, N as Sr, a9 as Rr, bn as Mr, a as Tr, B as Ir, b as Pr, A as Fr, K as Er, bi as Ar, J as Or, L as Lr, E as $r, D as Br, H as zr, F as Kr, bx as Wr, c as Gr, d as Vr, q as Hr, ae as Ur, aO as jr, A as Zr, K as qr, J as Yr, L as Qr, E as Xr, D as Jr, H as es, F as ts, b0 as as, b3 as ns, b2 as rs, b1 as ss, b4 as is, aD as os, a6 as ls, a5 as cs, ar as ds, m as us, o as ms, aG as gs, ac as ps, b9 as hs, aa as fs, bo as vs, Z as bs, bH as ys, bG as ws, bI as _s, aq as Ns, aR as Ds, bb as Cs, bM as ks, bv as xs, p as Ss, an as Rs, bB as Ms, bs as Ts, a1 as Is, as as Ps, a3 as Fs, bA as Es, G as As, f as Os, ab as Ls, bJ as $s, aU as Bs, t as zs, x as Ks, I as Ws, i as Gs, ax as Vs, bN as Hs, M as Us, y as js, V as Zs, Y as qs, W as Ys, X as Qs, at as Xs, bh as Js, bP as ei, bL as ti, ap as ai, w as ni, bp as ri, aT as si, ak as ii, aL as oi, ah as li, am as ci, av as di, aS as ui, ad as mi, au as gi, e as pi, R as hi, l as fi, r as vi, aI as bi, by as yi, bz as wi, aj as _i, af as Ni, j as Di, z as Ci, b8 as ki, ag as xi, bO as Si, bd as Ri, bg as Mi, be as Ti, bf as Ii, k as Pi, ba as Fi, bm as Ei, S as Ai, bk as Oi, bl as Li, aw as $i, bc as Bi, bQ as zi, al as Ki, v as Wi, bK as Gi, n as Vi, h as Hi, s as Ui, $ as ji, a0 as Zi, a8 as qi, bj as Yi, bw as Qi, bD as Xi, aB as Ji, aC as eo, a7 as to, aP as ao, aQ as no, aE as ro, aF as so, aH as io, aW as oo, aX as lo, bq as co, bF as uo, bE as mo, aZ as go, a_ as po, ay as ho, az as fo, b6 as vo, b5 as bo, a$ as yo, aM as wo, aN as _o, aY as No, aJ as Do, aK as Co, u as ko, bC as xo, br as So, bt as Ro, bu as Mo, aV as To, a2 as Io, g as Po } from "./Expandable-alOxKG0x.js";
3
+ import { jsxs as D, jsx as r, Fragment as te } from "react/jsx-runtime";
4
+ import * as gt from "react";
5
+ import H, { useRef as M, useEffect as L, useState as $, useCallback as w, forwardRef as pt, useMemo as ye, createContext as ht, useContext as ft } from "react";
6
+ import { motion as De, useMotionValue as vt, animate as We, useDragControls as bt } from "framer-motion";
7
+ import { B as yt, a as pe, b as Te, U as Oe } from "./UIContext-CDdyubSF.js";
8
+ import { c as Eo, u as Ao } from "./UIContext-CDdyubSF.js";
9
+ import { createPortal as wt } from "react-dom";
10
+ import { DEFAULT_MARKET_PRESETS as Lo, DEFAULT_PINNED as $o, PERIOD_OPTIONS as Bo, ROLLING_OPTIONS as zo, TODAY_PRESET as Ko, findPreset as Wo, formatDateRange as Go, formatMarketDates as Vo, formatTrend as Ho, formatValue as Uo, generateMarketId as jo, getAllPresets as Zo, getDateRangeForPreset as qo, getPresetLabel as Yo, isInRange as Qo, isMarketActive as Xo, isSameDay as Jo, normalizePresetId as el, toUppercasePresetId as tl } from "@mt-gloss/utils";
11
+ import _t from "@mui/icons-material/AccessTime";
12
+ import Nt from "@mui/icons-material/Tune";
13
+ import Dt from "@mui/icons-material/ViewColumn";
14
+ import Ct from "@mui/icons-material/AspectRatio";
15
+ import kt from "@mui/icons-material/Palette";
16
+ import xt from "@mui/icons-material/PushPin";
17
+ function sn(e = {}) {
18
+ const { enabled: t = !0, returnTo: n } = e, a = M(null);
19
19
  return L(() => {
20
20
  t && (a.current = n || document.activeElement);
21
21
  }, [t, n]), L(() => () => {
@@ -24,138 +24,138 @@ function Va(e = {}) {
24
24
  }, 0);
25
25
  }, [t]), a;
26
26
  }
27
- function Ua(e) {
27
+ function on(e) {
28
28
  const {
29
29
  items: t,
30
30
  activeIndex: n,
31
31
  onActiveIndexChange: a,
32
- loop: r = !0,
33
- orientation: s = "vertical",
32
+ loop: s = !0,
33
+ orientation: i = "vertical",
34
34
  enabled: o = !0,
35
35
  isItemDisabled: l,
36
36
  onSelect: m,
37
- onEscape: u
38
- } = e, [p, h] = $(-1), d = n !== void 0 ? n : p, g = w(
37
+ onEscape: d
38
+ } = e, [g, f] = $(-1), u = n !== void 0 ? n : g, p = w(
39
39
  (c) => {
40
- n === void 0 && h(c), a?.(c);
40
+ n === void 0 && f(c), a?.(c);
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]), y = w(
44
- (c, b) => {
45
- const D = _();
46
- if (D.length === 0) return -1;
47
- const S = D.indexOf(c);
43
+ ), N = w(() => t.map((c, v) => ({ item: c, index: v })).filter(({ item: c, index: v }) => !l?.(c, v)).map(({ index: c }) => c), [t, l]), y = w(
44
+ (c, v) => {
45
+ const _ = N();
46
+ if (_.length === 0) return -1;
47
+ const S = _.indexOf(c);
48
48
  if (S === -1)
49
- return b === 1 ? D.find((x) => x > c) ?? (r ? D[0] : -1) : [...D].reverse().find((F) => F < c) ?? (r ? D[D.length - 1] : -1);
50
- let v = S + b;
51
- return r ? v = (v + D.length) % D.length : v = Math.max(0, Math.min(D.length - 1, v)), D[v];
49
+ return v === 1 ? _.find((x) => x > c) ?? (s ? _[0] : -1) : [..._].reverse().find((F) => F < c) ?? (s ? _[_.length - 1] : -1);
50
+ let b = S + v;
51
+ return s ? b = (b + _.length) % _.length : b = Math.max(0, Math.min(_.length - 1, b)), _[b];
52
52
  },
53
- [_, r]
54
- ), f = 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 = y(d, 1);
62
- c !== -1 && g(c);
63
- }, [d, y, g]), C = w(() => {
64
- const c = y(d, -1);
65
- c !== -1 && g(c);
66
- }, [d, y, g]), R = w(() => {
67
- g(-1);
68
- }, [g]), I = w(
53
+ [N, s]
54
+ ), h = w(() => {
55
+ const c = N();
56
+ c.length > 0 && p(c[0]);
57
+ }, [N, p]), R = w(() => {
58
+ const c = N();
59
+ c.length > 0 && p(c[c.length - 1]);
60
+ }, [N, p]), P = w(() => {
61
+ const c = y(u, 1);
62
+ c !== -1 && p(c);
63
+ }, [u, y, p]), k = w(() => {
64
+ const c = y(u, -1);
65
+ c !== -1 && p(c);
66
+ }, [u, y, p]), T = w(() => {
67
+ p(-1);
68
+ }, [p]), I = w(
69
69
  (c) => {
70
70
  if (!o) return;
71
- const { key: b } = c, D = b === "ArrowUp" && (s === "vertical" || s === "both"), S = b === "ArrowDown" && (s === "vertical" || s === "both"), v = b === "ArrowLeft" && (s === "horizontal" || s === "both"), x = b === "ArrowRight" && (s === "horizontal" || s === "both");
72
- if (D || v) {
73
- c.preventDefault(), d === -1 ? M() : C();
71
+ const { key: v } = c, _ = v === "ArrowUp" && (i === "vertical" || i === "both"), S = v === "ArrowDown" && (i === "vertical" || i === "both"), b = v === "ArrowLeft" && (i === "horizontal" || i === "both"), x = v === "ArrowRight" && (i === "horizontal" || i === "both");
72
+ if (_ || b) {
73
+ c.preventDefault(), u === -1 ? R() : k();
74
74
  return;
75
75
  }
76
76
  if (S || x) {
77
- c.preventDefault(), d === -1 ? f() : P();
77
+ c.preventDefault(), u === -1 ? h() : P();
78
78
  return;
79
79
  }
80
- if (b === "Home") {
81
- c.preventDefault(), f();
80
+ if (v === "Home") {
81
+ c.preventDefault(), h();
82
82
  return;
83
83
  }
84
- if (b === "End") {
85
- c.preventDefault(), M();
84
+ if (v === "End") {
85
+ c.preventDefault(), R();
86
86
  return;
87
87
  }
88
- if ((b === "Enter" || b === " ") && d >= 0 && d < t.length) {
88
+ if ((v === "Enter" || v === " ") && u >= 0 && u < t.length) {
89
89
  c.preventDefault();
90
- const F = t[d];
91
- l?.(F, d) || m?.(F, d);
90
+ const F = t[u];
91
+ l?.(F, u) || m?.(F, u);
92
92
  return;
93
93
  }
94
- if (b === "Escape") {
95
- u?.();
94
+ if (v === "Escape") {
95
+ d?.();
96
96
  return;
97
97
  }
98
98
  },
99
99
  [
100
100
  o,
101
- s,
102
- d,
101
+ i,
102
+ u,
103
103
  t,
104
- f,
105
- M,
104
+ h,
105
+ R,
106
106
  P,
107
- C,
107
+ k,
108
108
  l,
109
109
  m,
110
- u
110
+ d
111
111
  ]
112
112
  );
113
113
  return {
114
- focusedIndex: d,
115
- setFocusedIndex: g,
114
+ focusedIndex: u,
115
+ setFocusedIndex: p,
116
116
  handleKeyDown: I,
117
- focusFirst: f,
118
- focusLast: M,
117
+ focusFirst: h,
118
+ focusLast: R,
119
119
  focusNext: P,
120
- focusPrevious: C,
121
- resetFocus: R
120
+ focusPrevious: k,
121
+ resetFocus: T
122
122
  };
123
123
  }
124
- const wt = ({
124
+ const St = ({
125
125
  label: e = "Set a target",
126
126
  unit: t,
127
127
  currentValue: n,
128
128
  onConfirm: a,
129
- onSkip: r,
130
- hint: s
129
+ onSkip: s,
130
+ hint: i
131
131
  }) => {
132
132
  const [o, l] = $(n != null ? String(n) : ""), m = () => {
133
- const d = parseFloat(o);
134
- Number.isNaN(d) || a(d);
135
- }, u = (d) => {
136
- d.key === "Enter" ? (d.preventDefault(), m()) : d.key === "Escape" && (d.preventDefault(), r?.());
137
- }, p = "gloss-target-input-field", h = s ? "gloss-target-input-hint" : void 0;
138
- return /* @__PURE__ */ k("div", { className: "gloss-target-input", children: [
139
- /* @__PURE__ */ i("label", { className: "gloss-target-input__label", htmlFor: p, children: e }),
140
- /* @__PURE__ */ k("div", { className: "gloss-target-input__field-row", children: [
141
- /* @__PURE__ */ i(
133
+ const u = parseFloat(o);
134
+ Number.isNaN(u) || a(u);
135
+ }, d = (u) => {
136
+ u.key === "Enter" ? (u.preventDefault(), m()) : u.key === "Escape" && (u.preventDefault(), s?.());
137
+ }, g = "gloss-target-input-field", f = i ? "gloss-target-input-hint" : void 0;
138
+ return /* @__PURE__ */ D("div", { className: "gloss-target-input", children: [
139
+ /* @__PURE__ */ r("label", { className: "gloss-target-input__label", htmlFor: g, children: e }),
140
+ /* @__PURE__ */ D("div", { className: "gloss-target-input__field-row", children: [
141
+ /* @__PURE__ */ r(
142
142
  "input",
143
143
  {
144
- id: p,
144
+ id: g,
145
145
  type: "number",
146
146
  className: "gloss-target-input__field",
147
147
  value: o,
148
- onChange: (d) => l(d.target.value),
149
- onKeyDown: u,
150
- "aria-describedby": h,
148
+ onChange: (u) => l(u.target.value),
149
+ onKeyDown: d,
150
+ "aria-describedby": f,
151
151
  autoFocus: !0
152
152
  }
153
153
  ),
154
- t && /* @__PURE__ */ i("span", { className: "gloss-target-input__unit", children: t })
154
+ t && /* @__PURE__ */ r("span", { className: "gloss-target-input__unit", children: t })
155
155
  ] }),
156
- s && /* @__PURE__ */ i("p", { id: h, className: "gloss-target-input__hint", children: s }),
157
- /* @__PURE__ */ k("div", { className: "gloss-target-input__actions", children: [
158
- /* @__PURE__ */ i(
156
+ i && /* @__PURE__ */ r("p", { id: f, className: "gloss-target-input__hint", children: i }),
157
+ /* @__PURE__ */ D("div", { className: "gloss-target-input__actions", children: [
158
+ /* @__PURE__ */ r(
159
159
  "button",
160
160
  {
161
161
  type: "button",
@@ -164,54 +164,54 @@ const wt = ({
164
164
  children: "Confirm"
165
165
  }
166
166
  ),
167
- r && /* @__PURE__ */ i(
167
+ s && /* @__PURE__ */ r(
168
168
  "button",
169
169
  {
170
170
  type: "button",
171
171
  className: "gloss-target-input__skip",
172
- onClick: r,
172
+ onClick: s,
173
173
  children: "Skip"
174
174
  }
175
175
  )
176
176
  ] })
177
177
  ] });
178
- }, ye = (e) => {
179
- }, Dt = {
178
+ }, Ce = (e) => {
179
+ }, Rt = {
180
180
  id: "entity-filter-1",
181
181
  label: "Customer: Acme Corp",
182
182
  field: "customer",
183
183
  value: "acme-corp-123",
184
- onRemove: ye
185
- }, _t = {
184
+ onRemove: Ce
185
+ }, Mt = {
186
186
  id: "status-filter-1",
187
187
  label: "Status: Open",
188
188
  field: "status",
189
189
  value: "open",
190
- onRemove: ye
191
- }, Nt = {
190
+ onRemove: Ce
191
+ }, Tt = {
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: ye
197
- }, Ct = {
196
+ onRemove: Ce
197
+ }, It = {
198
198
  id: "mfg-filter-1",
199
199
  label: "Manufacturer: Widget Co",
200
200
  field: "manufacturer",
201
201
  value: "widget-co-456",
202
- onRemove: ye
203
- }, ja = [
204
- Dt,
205
- _t,
206
- Nt,
207
- Ct
208
- ], Za = {
202
+ onRemove: Ce
203
+ }, ln = [
204
+ Rt,
205
+ Mt,
206
+ Tt,
207
+ It
208
+ ], cn = {
209
209
  id: "metric-toggle",
210
210
  tabs: [
211
211
  { id: "$", label: "$", mono: !0 },
212
212
  { id: "#", label: "#", mono: !0 }
213
213
  ]
214
- }, qa = {
214
+ }, dn = {
215
215
  id: "entity-type",
216
216
  tabs: [
217
217
  { id: "orders", label: "Orders" },
@@ -219,7 +219,7 @@ const wt = ({
219
219
  { id: "customers", label: "Customers" },
220
220
  { id: "manufacturers", label: "Manufacturers" }
221
221
  ]
222
- }, Ya = {
222
+ }, un = {
223
223
  id: "time-frame",
224
224
  tabs: [
225
225
  { id: "MTD", label: "MTD" },
@@ -227,30 +227,30 @@ const wt = ({
227
227
  { id: "YTD", label: "YTD" },
228
228
  { id: "LYTD", label: "LYTD" }
229
229
  ]
230
- }, Qa = [
230
+ }, mn = [
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
- ], Xa = [
235
+ ], gn = [
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
- ], Ja = [
239
+ ], pn = [
240
240
  { variant: "circle", size: 24 },
241
241
  { variant: "circle", size: 40 },
242
242
  { variant: "circle", size: 64 }
243
- ], en = [
243
+ ], hn = [
244
244
  { bars: 10, maxHeight: 120 },
245
245
  { bars: 5, maxHeight: 80 }
246
- ], tn = [
246
+ ], fn = [
247
247
  { rows: 5, columns: 3, hasCheckbox: !1, rowHeight: 44 },
248
248
  { rows: 8, columns: 5, hasCheckbox: !0, rowHeight: 44 }
249
- ], an = [
249
+ ], vn = [
250
250
  { variant: "value", colSpan: 1 },
251
251
  { variant: "trend", colSpan: 2 },
252
252
  { variant: "target", colSpan: 1 }
253
- ], Le = {
253
+ ], Ge = {
254
254
  position: "fixed",
255
255
  zIndex: 9999,
256
256
  background: "rgba(255,255,255,0.92)",
@@ -262,7 +262,7 @@ const wt = ({
262
262
  minWidth: 148,
263
263
  paddingTop: 4,
264
264
  paddingBottom: 4
265
- }, ke = (e) => ({
265
+ }, Ie = (e) => ({
266
266
  padding: "6px 12px",
267
267
  fontSize: 12,
268
268
  lineHeight: 1.4,
@@ -276,60 +276,60 @@ const wt = ({
276
276
  width: "100%",
277
277
  textAlign: "left",
278
278
  border: "none"
279
- }), kt = (e) => ({
280
- ...ke(e),
279
+ }), Pt = (e) => ({
280
+ ...Ie(e),
281
281
  color: e ? "#4338ca" : "#4f46e5",
282
282
  fontWeight: 600
283
- }), xt = {
283
+ }), Ft = {
284
284
  height: 1,
285
285
  background: "rgba(0,0,0,0.06)",
286
286
  margin: "3px 10px"
287
287
  };
288
- function St({
288
+ function Et({
289
289
  open: e,
290
290
  anchorEl: t,
291
291
  statusId: n,
292
292
  onOpenInTable: a,
293
- onShowOnGraph: r,
294
- overflowActions: s,
293
+ onShowOnGraph: s,
294
+ overflowActions: i,
295
295
  onClose: o
296
296
  }) {
297
- const [l, m] = $(null), u = T(null), p = w(() => {
298
- if (!t) return { ...Le, top: 0, left: 0 };
299
- const g = t.getBoundingClientRect();
297
+ const [l, m] = $(null), d = M(null), g = w(() => {
298
+ if (!t) return { ...Ge, top: 0, left: 0 };
299
+ const p = t.getBoundingClientRect();
300
300
  return {
301
- ...Le,
302
- top: g.bottom + 4,
303
- left: g.left
301
+ ...Ge,
302
+ top: p.bottom + 4,
303
+ left: p.left
304
304
  };
305
305
  }, [t]);
306
306
  if (L(() => {
307
307
  if (!e) return;
308
- const g = (_) => {
309
- _.key === "Escape" && o();
308
+ const p = (N) => {
309
+ N.key === "Escape" && o();
310
310
  };
311
- return document.addEventListener("keydown", g), () => document.removeEventListener("keydown", g);
311
+ return document.addEventListener("keydown", p), () => document.removeEventListener("keydown", p);
312
312
  }, [e, o]), L(() => {
313
313
  if (!e) return;
314
- const g = (_) => {
315
- u.current && !u.current.contains(_.target) && o();
314
+ const p = (N) => {
315
+ d.current && !d.current.contains(N.target) && o();
316
316
  };
317
- return document.addEventListener("pointerdown", g, !0), () => document.removeEventListener("pointerdown", g, !0);
317
+ return document.addEventListener("pointerdown", p, !0), () => document.removeEventListener("pointerdown", p, !0);
318
318
  }, [e, o]), !e) return null;
319
- const h = s && s.length > 0, d = /* @__PURE__ */ k(
319
+ const f = i && i.length > 0, u = /* @__PURE__ */ D(
320
320
  "div",
321
321
  {
322
- ref: u,
322
+ ref: d,
323
323
  "data-status-chip-menu": n,
324
324
  role: "menu",
325
325
  "aria-label": "Status actions",
326
- style: p(),
326
+ style: g(),
327
327
  children: [
328
- /* @__PURE__ */ i(
328
+ /* @__PURE__ */ r(
329
329
  "button",
330
330
  {
331
331
  role: "menuitem",
332
- style: kt(l === "__primary"),
332
+ style: Pt(l === "__primary"),
333
333
  onMouseEnter: () => m("__primary"),
334
334
  onMouseLeave: () => m(null),
335
335
  onClick: () => {
@@ -338,64 +338,64 @@ function St({
338
338
  children: "Open in table"
339
339
  }
340
340
  ),
341
- /* @__PURE__ */ i(
341
+ /* @__PURE__ */ r(
342
342
  "button",
343
343
  {
344
344
  role: "menuitem",
345
- style: ke(l === "__graph"),
345
+ style: Ie(l === "__graph"),
346
346
  onMouseEnter: () => m("__graph"),
347
347
  onMouseLeave: () => m(null),
348
348
  onClick: () => {
349
- r(n), o();
349
+ s(n), o();
350
350
  },
351
351
  children: "Show on graph"
352
352
  }
353
353
  ),
354
- h && /* @__PURE__ */ i("div", { style: xt }),
355
- h && s?.map((g) => /* @__PURE__ */ i(
354
+ f && /* @__PURE__ */ r("div", { style: Ft }),
355
+ f && i?.map((p) => /* @__PURE__ */ r(
356
356
  "button",
357
357
  {
358
358
  role: "menuitem",
359
- style: ke(l === g.id),
360
- onMouseEnter: () => m(g.id),
359
+ style: Ie(l === p.id),
360
+ onMouseEnter: () => m(p.id),
361
361
  onMouseLeave: () => m(null),
362
362
  onClick: () => {
363
- g.onSelect(n), o();
363
+ p.onSelect(n), o();
364
364
  },
365
- children: g.label
365
+ children: p.label
366
366
  },
367
- g.id
367
+ p.id
368
368
  ))
369
369
  ]
370
370
  }
371
371
  );
372
- return gt(d, document.body);
372
+ return wt(u, document.body);
373
373
  }
374
- St.displayName = "StatusSlotChipMenu";
375
- const nn = {
374
+ Et.displayName = "StatusSlotChipMenu";
375
+ const bn = {
376
376
  forwardStaggerMs: 50,
377
377
  reverseStaggerMs: 30,
378
378
  springStiffness: 380,
379
379
  springDamping: 32,
380
380
  reverseVelocityMultiplier: 1.4
381
- }, de = {
381
+ }, me = {
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
- }, rn = {
387
+ }, yn = {
388
388
  shiverCycles: 3,
389
389
  shiverAmplitudePx: 2,
390
390
  shiverDurationMs: 180,
391
391
  validCellOpacity: 0.6
392
- }, sn = {
392
+ }, wn = {
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
- }, on = {
398
+ }, _n = {
399
399
  cascadeStaggerMs: 0,
400
400
  cascadeSpringCapMs: 120,
401
401
  swingEnterMs: 100,
@@ -404,7 +404,7 @@ const nn = {
404
404
  provisionalStyle: "opacity",
405
405
  shiverMs: 200,
406
406
  shiverStyle: "color-flash"
407
- }, ln = !0, cn = {
407
+ }, Nn = !0, Dn = {
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 nn = {
412
412
  validCellStroke: "var(--gloss-valid-cell-stroke)",
413
413
  provisionalWash: "var(--gloss-provisional-wash)"
414
414
  };
415
- function dn() {
415
+ function Cn() {
416
416
  if (typeof window > "u") return "full";
417
417
  try {
418
418
  return window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "reduced" : "full";
@@ -420,81 +420,81 @@ function dn() {
420
420
  return "full";
421
421
  }
422
422
  }
423
- const Ge = ({ visible: e, variant: t, trigger: n, children: a, className: r }) => {
424
- const s = {
425
- "--gloss-swing-enter-ms": `${de.enterDurationMs}ms`,
426
- "--gloss-swing-exit-ms": `${de.exitDurationMs}ms`,
427
- "--gloss-swing-offset": `${de.translateOffsetPx}px`,
428
- "--gloss-swing-enter-easing": de.enterEasing,
429
- "--gloss-swing-exit-easing": de.exitEasing
423
+ const Ze = ({ visible: e, variant: t, trigger: n, children: a, className: s }) => {
424
+ const i = {
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
430
430
  }, o = [
431
431
  "gloss-swing-reveal",
432
432
  `gloss-swing-reveal--${t}`,
433
433
  n === "hover+focus" ? "gloss-swing-reveal--hover-focus" : "",
434
- r ?? ""
434
+ s ?? ""
435
435
  ].filter(Boolean).join(" ");
436
- return /* @__PURE__ */ i(
436
+ return /* @__PURE__ */ r(
437
437
  "span",
438
438
  {
439
439
  "data-testid": "gloss-swing-reveal",
440
440
  "data-variant": t,
441
441
  "data-visible": e ? "true" : "false",
442
442
  className: o,
443
- style: s,
443
+ style: i,
444
444
  children: a
445
445
  }
446
446
  );
447
- }, Mt = ot(
448
- function({ state: t, onPointerDown: n, onPointerUp: a, onPointerEnter: r, onPointerLeave: s, onKeyboardStep: o, onLostPointerCapture: l, edge: m = "right", ariaLabel: u = "Resize card" }, p) {
449
- const h = t === "handle-visible" || t === "dragging" || t === "settling", d = (y) => {
447
+ }, At = pt(
448
+ function({ state: t, onPointerDown: n, onPointerUp: a, onPointerEnter: s, onPointerLeave: i, onKeyboardStep: o, onLostPointerCapture: l, edge: m = "right", ariaLabel: d = "Resize card" }, g) {
449
+ const f = t === "handle-visible" || t === "dragging" || t === "settling", u = (y) => {
450
450
  try {
451
451
  y.currentTarget.setPointerCapture(y.pointerId);
452
452
  } catch {
453
453
  }
454
454
  n(y);
455
- }, g = (y) => {
455
+ }, p = (y) => {
456
456
  try {
457
457
  y.currentTarget.hasPointerCapture?.(y.pointerId) && y.currentTarget.releasePointerCapture(y.pointerId);
458
458
  } catch {
459
459
  }
460
460
  a(y);
461
- }, _ = (y) => {
462
- !h || !o || (y.key === "ArrowRight" ? (y.preventDefault(), o("grow")) : y.key === "ArrowLeft" && (y.preventDefault(), o("shrink")));
461
+ }, N = (y) => {
462
+ !f || !o || (y.key === "ArrowRight" ? (y.preventDefault(), o("grow")) : y.key === "ArrowLeft" && (y.preventDefault(), o("shrink")));
463
463
  };
464
- return /* @__PURE__ */ i(Ge, { visible: h, variant: "handle", trigger: "hover", children: /* @__PURE__ */ i(
464
+ return /* @__PURE__ */ r(Ze, { visible: f, variant: "handle", trigger: "hover", children: /* @__PURE__ */ r(
465
465
  "button",
466
466
  {
467
- ref: p,
467
+ ref: g,
468
468
  type: "button",
469
- "aria-label": u,
469
+ "aria-label": d,
470
470
  "data-edge": m,
471
471
  "data-resize-state": t,
472
472
  className: [
473
473
  "gloss-edge-handle",
474
474
  `gloss-edge-handle--${m}`,
475
- h ? "gloss-edge-handle--visible" : ""
475
+ f ? "gloss-edge-handle--visible" : ""
476
476
  ].filter(Boolean).join(" "),
477
- onPointerDown: d,
478
- onPointerUp: g,
479
- onPointerEnter: r,
480
- onPointerLeave: s,
477
+ onPointerDown: u,
478
+ onPointerUp: p,
479
+ onPointerEnter: s,
480
+ onPointerLeave: i,
481
481
  onLostPointerCapture: l,
482
- onKeyDown: _,
483
- tabIndex: h ? 0 : -1
482
+ onKeyDown: N,
483
+ tabIndex: f ? 0 : -1
484
484
  }
485
485
  ) });
486
486
  }
487
487
  );
488
- Mt.displayName = "EdgeHoverHandle";
489
- function Tt({
488
+ At.displayName = "EdgeHoverHandle";
489
+ function Ot({
490
490
  visible: e,
491
491
  targetColSpan: t,
492
492
  ghostWidth: n,
493
493
  enterMs: a = 180,
494
- exitMs: r = 120
494
+ exitMs: s = 120
495
495
  }) {
496
- return /* @__PURE__ */ i(
497
- ve.div,
496
+ return /* @__PURE__ */ r(
497
+ De.div,
498
498
  {
499
499
  "aria-hidden": "true",
500
500
  "data-ghost-preview": e ? "visible" : "hidden",
@@ -505,13 +505,13 @@ function Tt({
505
505
  ].filter(Boolean).join(" "),
506
506
  style: {
507
507
  width: n,
508
- transitionDuration: `${e ? a : r}ms`
508
+ transitionDuration: `${e ? a : s}ms`
509
509
  }
510
510
  }
511
511
  );
512
512
  }
513
- Tt.displayName = "GhostPreview";
514
- class Rt {
513
+ Ot.displayName = "GhostPreview";
514
+ class Lt {
515
515
  constructor() {
516
516
  this.samples = [], this.capacity = 3;
517
517
  }
@@ -549,14 +549,14 @@ class Rt {
549
549
  const t = this.samples.length;
550
550
  if (t < 2) return 0;
551
551
  if (t === 2) {
552
- const [m, u] = this.samples, p = Math.max(1, u.t - m.t);
553
- return (u.x - m.x) / p * 1e3;
552
+ const [m, d] = this.samples, g = Math.max(1, d.t - m.t);
553
+ return (d.x - m.x) / g * 1e3;
554
554
  }
555
- const [n, a, r] = this.samples, s = (r.x - a.x) / Math.max(1, r.t - a.t) * 1e3, o = (a.x - n.x) / Math.max(1, a.t - n.t) * 1e3, l = o;
556
- return (s * 3 + o * 2 + l * 1) / 6;
555
+ const [n, a, s] = this.samples, i = (s.x - a.x) / Math.max(1, s.t - a.t) * 1e3, o = (a.x - n.x) / Math.max(1, a.t - n.t) * 1e3, l = o;
556
+ return (i * 3 + o * 2 + l * 1) / 6;
557
557
  }
558
558
  }
559
- const We = {
559
+ const qe = {
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,232 +576,232 @@ const We = {
576
576
  // Velocity multiplier (D-03b panel)
577
577
  velocityMultiplier: 1
578
578
  };
579
- function un({
579
+ function kn({
580
580
  currentColSpan: e,
581
581
  stackable: t,
582
582
  onResize: n,
583
583
  onCancel: a,
584
- step: r = 180,
585
- gap: s = 0,
584
+ step: s = 180,
585
+ gap: i = 0,
586
586
  tuning: o,
587
587
  dwellMs: l = 60,
588
588
  graceExitMs: m = 150,
589
- enterMs: u = 180,
590
- exitMs: p = 120,
591
- maxColSpan: h = 3,
592
- containerRef: d,
593
- forceIdle: g
589
+ enterMs: d = 180,
590
+ exitMs: g = 120,
591
+ maxColSpan: f = 3,
592
+ containerRef: u,
593
+ forceIdle: p
594
594
  }) {
595
- const [_, y] = $("idle"), [f, M] = $(e), P = T(null), C = T(null), R = T(null), I = T(null), c = T(r), b = T(s), D = T(h), S = T(0), v = T("idle");
595
+ const [N, y] = $("idle"), [h, R] = $(e), P = M(null), k = M(null), T = M(null), I = M(null), c = M(s), v = M(i), _ = M(f), S = M(0), b = M("idle");
596
596
  L(() => {
597
- v.current = _;
598
- }, [_]);
599
- const x = dt(0), F = T(null), U = w(() => {
600
- const N = F.current;
601
- if (N) {
597
+ b.current = N;
598
+ }, [N]);
599
+ const x = vt(0), F = M(null), U = w(() => {
600
+ const C = F.current;
601
+ if (C) {
602
602
  try {
603
- N.stop();
603
+ C.stop();
604
604
  } catch {
605
605
  }
606
606
  F.current = null;
607
607
  }
608
608
  }, []), q = w(
609
- (N) => {
610
- const E = c.current, A = b.current;
611
- return N * E + (N - 1) * A;
609
+ (C) => {
610
+ const E = c.current, A = v.current;
611
+ return C * E + (C - 1) * A;
612
612
  },
613
613
  []
614
- ), j = T(new Rt()), W = T(e);
614
+ ), j = M(new Lt()), G = M(e);
615
615
  L(() => {
616
- W.current = f;
617
- }, [f]);
618
- const B = ge(() => ({ ...We, ...o ?? {} }), [o]), Z = w(() => {
616
+ G.current = h;
617
+ }, [h]);
618
+ const B = ye(() => ({ ...qe, ...o ?? {} }), [o]), Z = w(() => {
619
619
  P.current && (clearTimeout(P.current), P.current = null);
620
620
  }, []), O = w(() => {
621
- C.current && (clearTimeout(C.current), C.current = null);
622
- }, []), X = w(() => {
623
- R.current && (clearTimeout(R.current), R.current = null);
621
+ k.current && (clearTimeout(k.current), k.current = null);
622
+ }, []), J = w(() => {
623
+ T.current && (clearTimeout(T.current), T.current = null);
624
624
  }, []);
625
625
  L(() => {
626
- g && (v.current === "dragging" || v.current === "settling" || (Z(), O(), X(), v.current = "idle", y("idle")));
627
- }, [g, Z, O, X]);
628
- const Ie = w(() => {
629
- O(), y((N) => N === "settling" || N !== "idle" ? N : (P.current = setTimeout(() => y("handle-visible"), l), "dwelling"));
630
- }, [l, O]), Pe = w(() => {
626
+ p && (b.current === "dragging" || b.current === "settling" || (Z(), O(), J(), b.current = "idle", y("idle")));
627
+ }, [p, Z, O, J]);
628
+ const Le = w(() => {
629
+ O(), y((C) => C === "settling" || C !== "idle" ? C : (P.current = setTimeout(() => y("handle-visible"), l), "dwelling"));
630
+ }, [l, O]), $e = w(() => {
631
631
  Z();
632
- const N = v.current;
633
- N !== "dwelling" && N !== "handle-visible" || (C.current = setTimeout(() => {
634
- v.current = "idle", y("idle");
632
+ const C = b.current;
633
+ C !== "dwelling" && C !== "handle-visible" || (k.current = setTimeout(() => {
634
+ b.current = "idle", y("idle");
635
635
  }, m));
636
- }, [Z, m]), se = w(
637
- (N, E, A) => {
638
- const K = c.current, J = K * B.snapInFraction, Y = K * B.snapOutFraction, z = E - A, H = Math.max(
636
+ }, [Z, m]), oe = w(
637
+ (C, E, A) => {
638
+ const z = c.current, ee = z * B.snapInFraction, Y = z * B.snapOutFraction, K = E - A, V = Math.max(
639
639
  A,
640
- D.current ?? h
640
+ _.current ?? f
641
641
  );
642
- let G = z;
643
- for (; A + G < H; ) {
644
- const ee = G * K + (G < 0 ? Y : J);
645
- if (N >= ee) G += 1;
642
+ let W = K;
643
+ for (; A + W < V; ) {
644
+ const ae = W * z + (W < 0 ? Y : ee);
645
+ if (C >= ae) W += 1;
646
646
  else break;
647
647
  }
648
- if (G === z)
649
- for (; A + G > 1; ) {
650
- const ee = G * K - (G > 0 ? Y : J);
651
- if (N <= ee) G -= 1;
648
+ if (W === K)
649
+ for (; A + W > 1; ) {
650
+ const ae = W * z - (W > 0 ? Y : ee);
651
+ if (C <= ae) W -= 1;
652
652
  else break;
653
653
  }
654
- return Math.min(H, Math.max(1, A + G));
654
+ return Math.min(V, Math.max(1, A + W));
655
655
  },
656
- [B.snapInFraction, B.snapOutFraction, h]
657
- ), Je = w(
658
- (N) => {
659
- if (v.current !== "handle-visible") return;
660
- U(), I.current = N.clientX, c.current = r, b.current = s, D.current = h;
661
- const E = e * r + (e - 1) * s;
662
- S.current = E, j.current.clear(), j.current.push({ x: N.clientX, t: performance.now() }), x.jump(E), v.current = "dragging", y("dragging");
656
+ [B.snapInFraction, B.snapOutFraction, f]
657
+ ), it = w(
658
+ (C) => {
659
+ if (b.current !== "handle-visible") return;
660
+ U(), I.current = C.clientX, c.current = s, v.current = i, _.current = f;
661
+ const E = e * s + (e - 1) * i;
662
+ S.current = E, j.current.clear(), j.current.push({ x: C.clientX, t: performance.now() }), x.jump(E), b.current = "dragging", y("dragging");
663
663
  },
664
- [r, s, h, e, x, U]
665
- ), Fe = w(
666
- (N) => N * c.current + (N - 1) * b.current,
664
+ [s, i, f, e, x, U]
665
+ ), Be = w(
666
+ (C) => C * c.current + (C - 1) * v.current,
667
667
  []
668
- ), re = w(
669
- (N, E) => {
670
- const A = Fe(N), K = N !== e;
668
+ ), ie = w(
669
+ (C, E) => {
670
+ const A = Be(C), z = C !== e;
671
671
  if (typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches) {
672
- x.jump(A), K && E ? n({ direction: E, targetColSpan: N, mode: t ? "slot-fill" : "sparkline-fidelity" }) : K || a?.(), x.jump(0), v.current = "idle", y("idle");
672
+ x.jump(A), z && E ? n({ direction: E, targetColSpan: C, mode: t ? "slot-fill" : "sparkline-fidelity" }) : z || a?.(), x.jump(0), b.current = "idle", y("idle");
673
673
  return;
674
674
  }
675
675
  const Y = j.current.getWeightedVelocity() * B.velocityMultiplier;
676
- v.current = "settling", y("settling"), U(), F.current = Oe(x, A, {
676
+ b.current = "settling", y("settling"), U(), F.current = We(x, A, {
677
677
  type: "spring",
678
678
  stiffness: B.stiffness,
679
679
  damping: B.damping,
680
680
  mass: B.mass,
681
681
  velocity: Y,
682
682
  onComplete: () => {
683
- F.current = null, K && E ? n({ direction: E, targetColSpan: N, mode: t ? "slot-fill" : "sparkline-fidelity" }) : K || a?.(), x.jump(0), v.current = "idle", y("idle");
683
+ F.current = null, z && E ? n({ direction: E, targetColSpan: C, mode: t ? "slot-fill" : "sparkline-fidelity" }) : z || a?.(), x.jump(0), b.current = "idle", y("idle");
684
684
  }
685
685
  });
686
686
  },
687
- [Fe, e, t, n, a, x, B, U]
688
- ), et = w(
689
- (N) => {
690
- if (v.current !== "dragging") return;
691
- const E = N.clientX - (I.current ?? N.clientX), A = c.current, J = ((D.current ?? h) - e) * A, Y = (1 - e) * A, z = Math.max(Y, Math.min(J, E));
692
- j.current.push({ x: N.clientX, t: performance.now() });
693
- const H = se(z, W.current, e), G = H > e ? "grow" : H < e ? "shrink" : null;
694
- re(H, G);
687
+ [Be, e, t, n, a, x, B, U]
688
+ ), ot = w(
689
+ (C) => {
690
+ if (b.current !== "dragging") return;
691
+ const E = C.clientX - (I.current ?? C.clientX), A = c.current, ee = ((_.current ?? f) - e) * A, Y = (1 - e) * A, K = Math.max(Y, Math.min(ee, E));
692
+ j.current.push({ x: C.clientX, t: performance.now() });
693
+ const V = oe(K, G.current, e), W = V > e ? "grow" : V < e ? "shrink" : null;
694
+ ie(V, W);
695
695
  },
696
- [se, e, h, re]
697
- ), ie = w(() => {
698
- if (Z(), v.current === "dragging") {
699
- const N = S.current;
696
+ [oe, e, f, ie]
697
+ ), le = w(() => {
698
+ if (Z(), b.current === "dragging") {
699
+ const C = S.current;
700
700
  if (typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches) {
701
- x.jump(N), a?.(), x.jump(0), v.current = "idle", y("idle");
701
+ x.jump(C), a?.(), x.jump(0), b.current = "idle", y("idle");
702
702
  return;
703
703
  }
704
704
  const A = j.current.getWeightedVelocity();
705
- v.current = "settling", y("settling"), U(), F.current = Oe(x, N, {
705
+ b.current = "settling", y("settling"), U(), F.current = We(x, C, {
706
706
  type: "spring",
707
707
  stiffness: B.stiffness,
708
708
  damping: B.damping,
709
709
  mass: B.mass,
710
710
  velocity: A,
711
711
  onComplete: () => {
712
- F.current = null, a?.(), x.jump(0), v.current = "idle", y("idle");
712
+ F.current = null, a?.(), x.jump(0), b.current = "idle", y("idle");
713
713
  }
714
714
  });
715
715
  return;
716
716
  }
717
- v.current === "handle-visible" && (a?.(), v.current = "cancelled", y("cancelled"));
717
+ b.current === "handle-visible" && (a?.(), b.current = "cancelled", y("cancelled"));
718
718
  }, [Z, x, a, B, U]);
719
719
  L(() => {
720
- if (_ !== "dragging" && _ !== "handle-visible") return;
721
- const N = (E) => {
722
- E.key === "Escape" && ie();
720
+ if (N !== "dragging" && N !== "handle-visible") return;
721
+ const C = (E) => {
722
+ E.key === "Escape" && le();
723
723
  };
724
- return window.addEventListener("keydown", N), () => window.removeEventListener("keydown", N);
725
- }, [_, ie]), L(() => {
726
- if (_ !== "dragging") {
727
- M(e);
724
+ return window.addEventListener("keydown", C), () => window.removeEventListener("keydown", C);
725
+ }, [N, le]), L(() => {
726
+ if (N !== "dragging") {
727
+ R(e);
728
728
  return;
729
729
  }
730
- const N = (z) => {
731
- const H = z.clientX - (I.current ?? z.clientX), G = S.current, oe = q(1), ee = q(h), pe = G + H, Ae = Math.max(oe, Math.min(ee, pe));
732
- x.set(Ae);
733
- const fe = c.current, we = (h - e) * fe, De = (1 - e) * fe, le = Math.max(De, Math.min(we, H));
734
- j.current.push({ x: z.clientX, t: performance.now() });
735
- const ce = se(le, W.current, e);
736
- ce !== W.current && (W.current = ce, M(ce));
737
- }, E = (z, H) => {
738
- if (v.current === "dragging")
739
- if (z === "pointerup") {
740
- const G = j.current.tail(), oe = H?.clientX ?? G?.x ?? I.current ?? 0, ee = oe - (I.current ?? oe), pe = c.current, fe = ((D.current ?? h) - e) * pe, we = (1 - e) * pe, De = Math.max(we, Math.min(fe, ee));
741
- H && j.current.push({ x: H.clientX, t: performance.now() });
742
- const le = se(De, W.current, e), ce = le > e ? "grow" : le < e ? "shrink" : null;
743
- re(le, ce);
730
+ const C = (K) => {
731
+ const V = K.clientX - (I.current ?? K.clientX), W = S.current, ce = q(1), ae = q(f), we = W + V, Ke = Math.max(ce, Math.min(ae, we));
732
+ x.set(Ke);
733
+ const _e = c.current, ke = (f - e) * _e, xe = (1 - e) * _e, de = Math.max(xe, Math.min(ke, V));
734
+ j.current.push({ x: K.clientX, t: performance.now() });
735
+ const ue = oe(de, G.current, e);
736
+ ue !== G.current && (G.current = ue, R(ue));
737
+ }, E = (K, V) => {
738
+ if (b.current === "dragging")
739
+ if (K === "pointerup") {
740
+ const W = j.current.tail(), ce = V?.clientX ?? W?.x ?? I.current ?? 0, ae = ce - (I.current ?? ce), we = c.current, _e = ((_.current ?? f) - e) * we, ke = (1 - e) * we, xe = Math.max(ke, Math.min(_e, ae));
741
+ V && j.current.push({ x: V.clientX, t: performance.now() });
742
+ const de = oe(xe, G.current, e), ue = de > e ? "grow" : de < e ? "shrink" : null;
743
+ ie(de, ue);
744
744
  } else
745
- ie();
746
- }, A = (z) => E("pointerup", z), K = (z) => E("pointercancel", z), J = () => E("blur"), Y = () => {
745
+ le();
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", N), window.addEventListener("pointerup", A), window.addEventListener("pointercancel", K), window.addEventListener("blur", J), document.addEventListener("visibilitychange", Y), () => {
750
- window.removeEventListener("pointermove", N), window.removeEventListener("pointerup", A), window.removeEventListener("pointercancel", K), window.removeEventListener("blur", J), document.removeEventListener("visibilitychange", Y);
749
+ return window.addEventListener("pointermove", C), window.addEventListener("pointerup", A), window.addEventListener("pointercancel", z), window.addEventListener("blur", ee), document.addEventListener("visibilitychange", Y), () => {
750
+ window.removeEventListener("pointermove", C), window.removeEventListener("pointerup", A), window.removeEventListener("pointercancel", z), window.removeEventListener("blur", ee), document.removeEventListener("visibilitychange", Y);
751
751
  };
752
- }, [_, e, x, se, h, q, ie, re]), L(() => () => {
753
- Z(), O(), X();
754
- }, [Z, O, X]), L(() => {
755
- if (_ !== "cancelled") return;
756
- const N = setTimeout(() => y("idle"), p);
757
- return () => clearTimeout(N);
758
- }, [_, p]);
759
- const tt = w(
760
- (N) => {
761
- if (v.current === "settling") return;
762
- const A = Math.min(h, Math.max(1, e + (N === "grow" ? 1 : -1)));
752
+ }, [N, e, x, oe, f, q, le, ie]), L(() => () => {
753
+ Z(), O(), J();
754
+ }, [Z, O, J]), L(() => {
755
+ if (N !== "cancelled") return;
756
+ const C = setTimeout(() => y("idle"), g);
757
+ return () => clearTimeout(C);
758
+ }, [N, g]);
759
+ const lt = w(
760
+ (C) => {
761
+ if (b.current === "settling") return;
762
+ const A = Math.min(f, Math.max(1, e + (C === "grow" ? 1 : -1)));
763
763
  if (A === e) return;
764
- c.current = r, b.current = s, D.current = h, j.current.clear();
765
- const K = e * r + (e - 1) * s;
766
- S.current = K, x.jump(K), re(A, N);
764
+ c.current = s, v.current = i, _.current = f, j.current.clear();
765
+ const z = e * s + (e - 1) * i;
766
+ S.current = z, x.jump(z), ie(A, C);
767
767
  },
768
- [e, r, s, h, x, re]
769
- ), Ee = w(() => {
770
- X(), R.current = setTimeout(() => {
771
- v.current === "handle-visible" && (v.current = "idle", y("idle"));
768
+ [e, s, i, f, x, ie]
769
+ ), ze = w(() => {
770
+ J(), T.current = setTimeout(() => {
771
+ b.current === "handle-visible" && (b.current = "idle", y("idle"));
772
772
  }, 5e3);
773
- }, [X]), at = w(() => {
774
- v.current === "idle" && (Z(), v.current = "handle-visible", y("handle-visible"), Ee());
775
- }, [Z, Ee]), nt = w(() => {
776
- X(), v.current === "handle-visible" && (v.current = "idle", y("idle"));
777
- }, [X]);
773
+ }, [J]), ct = w(() => {
774
+ b.current === "idle" && (Z(), b.current = "handle-visible", y("handle-visible"), ze());
775
+ }, [Z, ze]), dt = w(() => {
776
+ J(), b.current === "handle-visible" && (b.current = "idle", y("idle"));
777
+ }, [J]);
778
778
  return {
779
- state: _,
780
- enterEdgeZone: Ie,
781
- leaveEdgeZone: Pe,
779
+ state: N,
780
+ enterEdgeZone: Le,
781
+ leaveEdgeZone: $e,
782
782
  handleProps: {
783
- onPointerDown: Je,
784
- onPointerUp: et,
783
+ onPointerDown: it,
784
+ onPointerUp: ot,
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: Ie,
788
- onPointerLeave: Pe
787
+ onPointerEnter: Le,
788
+ onPointerLeave: $e
789
789
  },
790
- previewColSpan: f,
790
+ previewColSpan: h,
791
791
  ghostProps: {
792
- visible: _ === "dragging" || _ === "settling",
793
- targetColSpan: f,
792
+ visible: N === "dragging" || N === "settling",
793
+ targetColSpan: h,
794
794
  ghostWidth: x,
795
- enterMs: u,
796
- exitMs: p
795
+ enterMs: d,
796
+ exitMs: g
797
797
  },
798
- onKeyboardStep: tt,
799
- onTouchReveal: at,
800
- onTouchDismiss: nt,
801
- cancel: ie
798
+ onKeyboardStep: lt,
799
+ onTouchReveal: ct,
800
+ onTouchDismiss: dt,
801
+ cancel: le
802
802
  };
803
803
  }
804
- const ne = {
804
+ const se = {
805
805
  // Cascade (D-08, D-10)
806
806
  staggerMs: 50,
807
807
  reverseStaggerMs: 30,
@@ -826,14 +826,14 @@ const ne = {
826
826
  sectionDividerFadeOutMs: 80,
827
827
  sectionDividerStaggerMs: 40
828
828
  };
829
- function mn(e) {
830
- const { cardWidthPx: t, slotCount: n, activeSlotIdx: a, pillWidthPx: r } = e;
829
+ function xn(e) {
830
+ const { cardWidthPx: t, slotCount: n, activeSlotIdx: a, pillWidthPx: s } = 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
- const s = (a + 0.5) * (t / n);
834
- return r != null && Number.isFinite(r) && r > 0 ? s - r / 2 : s;
833
+ const i = (a + 0.5) * (t / n);
834
+ return s != null && Number.isFinite(s) && s > 0 ? i - s / 2 : i;
835
835
  }
836
- const gn = [
836
+ const Sn = [
837
837
  // 1. Standard: Total Revenue
838
838
  {
839
839
  variant: "standard",
@@ -965,24 +965,24 @@ const gn = [
965
965
  subtitle: "Awaiting QA",
966
966
  highlightColor: "neutral"
967
967
  }
968
- ], It = {
968
+ ], $t = {
969
969
  variant: "standard",
970
970
  label: "Total Revenue",
971
971
  isLoading: !0
972
- }, Pt = {
972
+ }, Bt = {
973
973
  variant: "standard",
974
974
  label: "Total Revenue",
975
975
  value: 125430,
976
976
  valueFormat: { prefix: "$", abbreviated: !0 },
977
977
  isError: !0
978
- }, Ft = {
978
+ }, zt = {
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
- }, Et = {
985
+ }, Kt = {
986
986
  variant: "standard",
987
987
  label: "Total Revenue",
988
988
  value: 125430,
@@ -990,7 +990,7 @@ const gn = [
990
990
  trend: { value: 12.5, direction: "up" },
991
991
  subtitle: "MTD",
992
992
  isStale: !0
993
- }, At = {
993
+ }, Wt = {
994
994
  variant: "sparkline",
995
995
  label: "Daily Orders",
996
996
  value: 847,
@@ -999,7 +999,7 @@ const gn = [
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
- }, Ot = {
1002
+ }, Gt = {
1003
1003
  variant: "donut",
1004
1004
  label: "Order Fill Rate",
1005
1005
  value: 78,
@@ -1010,14 +1010,14 @@ const gn = [
1010
1010
  donutMax: 100,
1011
1011
  accentColor: "#10b981",
1012
1012
  isStale: !0
1013
- }, pn = [
1014
- It,
1015
- Pt,
1016
- Ft,
1017
- Et,
1018
- At,
1019
- Ot
1020
- ], fn = {
1013
+ }, Rn = [
1014
+ $t,
1015
+ Bt,
1016
+ zt,
1017
+ Kt,
1018
+ Wt,
1019
+ Gt
1020
+ ], Mn = {
1021
1021
  variant: "sparkline",
1022
1022
  label: "Daily Orders",
1023
1023
  value: 847,
@@ -1040,7 +1040,7 @@ const gn = [
1040
1040
  59
1041
1041
  ],
1042
1042
  accentColor: "#6366f1"
1043
- }, hn = {
1043
+ }, Tn = {
1044
1044
  variant: "sparkline",
1045
1045
  label: "New Customers",
1046
1046
  value: 23,
@@ -1079,21 +1079,21 @@ const gn = [
1079
1079
  19
1080
1080
  ],
1081
1081
  accentColor: "#10b981"
1082
- }, bn = {
1082
+ }, In = {
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
- }, vn = {
1089
+ }, Pn = {
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
- }, yn = {
1096
+ }, Fn = {
1097
1097
  variant: "standard",
1098
1098
  label: "Avg Order Value",
1099
1099
  value: 487,
@@ -1101,33 +1101,33 @@ const gn = [
1101
1101
  trend: { value: 0, direction: "flat" },
1102
1102
  subtitle: "QTD"
1103
1103
  };
1104
- function He({
1104
+ function Ye({
1105
1105
  open: e,
1106
1106
  onDismiss: t,
1107
1107
  anchorRef: n,
1108
1108
  pages: a,
1109
- activePageId: r,
1110
- onPageChange: s,
1109
+ activePageId: s,
1110
+ onPageChange: i,
1111
1111
  onCreatePage: o,
1112
1112
  onManagePages: l
1113
1113
  }) {
1114
1114
  const m = w(
1115
- (d) => {
1116
- s(d), t();
1115
+ (u) => {
1116
+ i(u), t();
1117
1117
  },
1118
- [s, t]
1119
- ), u = w(
1120
- (d, g) => {
1121
- (g.key === "Enter" || g.key === " ") && (g.preventDefault(), m(d));
1118
+ [i, t]
1119
+ ), d = w(
1120
+ (u, p) => {
1121
+ (p.key === "Enter" || p.key === " ") && (p.preventDefault(), m(u));
1122
1122
  },
1123
1123
  [m]
1124
- ), p = w(() => {
1124
+ ), g = w(() => {
1125
1125
  o(), t();
1126
- }, [o, t]), h = w(() => {
1126
+ }, [o, t]), f = w(() => {
1127
1127
  l(), t();
1128
1128
  }, [l, t]);
1129
- return /* @__PURE__ */ k(
1130
- mt,
1129
+ return /* @__PURE__ */ D(
1130
+ yt,
1131
1131
  {
1132
1132
  definition: {
1133
1133
  placement: "bottom-end",
@@ -1140,55 +1140,55 @@ function He({
1140
1140
  anchorRef: n,
1141
1141
  className: "gloss-page-dropdown",
1142
1142
  children: [
1143
- /* @__PURE__ */ i("ul", { role: "menu", className: "gloss-page-dropdown__list", children: a.map((d) => {
1144
- const g = d.id === r;
1145
- return /* @__PURE__ */ k(
1143
+ /* @__PURE__ */ r("ul", { role: "menu", className: "gloss-page-dropdown__list", children: a.map((u) => {
1144
+ const p = u.id === s;
1145
+ return /* @__PURE__ */ D(
1146
1146
  "li",
1147
1147
  {
1148
1148
  role: "menuitemradio",
1149
- "aria-checked": g,
1150
- "aria-current": g ? "page" : void 0,
1149
+ "aria-checked": p,
1150
+ "aria-current": p ? "page" : void 0,
1151
1151
  tabIndex: 0,
1152
- className: `gloss-page-dropdown__item${g ? " gloss-page-dropdown__item--active" : ""}`,
1153
- onClick: () => m(d.id),
1154
- onKeyDown: (_) => u(d.id, _),
1152
+ className: `gloss-page-dropdown__item${p ? " gloss-page-dropdown__item--active" : ""}`,
1153
+ onClick: () => m(u.id),
1154
+ onKeyDown: (N) => d(u.id, N),
1155
1155
  children: [
1156
- /* @__PURE__ */ i(
1156
+ /* @__PURE__ */ r(
1157
1157
  "span",
1158
1158
  {
1159
- className: `gloss-page-dropdown__dot${g ? " gloss-page-dropdown__dot--active" : ""}`
1159
+ className: `gloss-page-dropdown__dot${p ? " gloss-page-dropdown__dot--active" : ""}`
1160
1160
  }
1161
1161
  ),
1162
- /* @__PURE__ */ i(
1162
+ /* @__PURE__ */ r(
1163
1163
  "span",
1164
1164
  {
1165
- className: `gloss-page-dropdown__name${d.named ? "" : " gloss-page-dropdown__name--unnamed"}`,
1166
- children: d.name
1165
+ className: `gloss-page-dropdown__name${u.named ? "" : " gloss-page-dropdown__name--unnamed"}`,
1166
+ children: u.name
1167
1167
  }
1168
1168
  ),
1169
- /* @__PURE__ */ i("span", { className: "gloss-page-dropdown__count", children: d.cardCount })
1169
+ /* @__PURE__ */ r("span", { className: "gloss-page-dropdown__count", children: u.cardCount })
1170
1170
  ]
1171
1171
  },
1172
- d.id
1172
+ u.id
1173
1173
  );
1174
1174
  }) }),
1175
- /* @__PURE__ */ i("hr", { className: "gloss-page-dropdown__separator" }),
1176
- /* @__PURE__ */ i(
1175
+ /* @__PURE__ */ r("hr", { className: "gloss-page-dropdown__separator" }),
1176
+ /* @__PURE__ */ r(
1177
1177
  "button",
1178
1178
  {
1179
1179
  role: "menuitem",
1180
1180
  className: "gloss-page-dropdown__action",
1181
- onClick: p,
1181
+ onClick: g,
1182
1182
  children: "+ New page"
1183
1183
  }
1184
1184
  ),
1185
- /* @__PURE__ */ i("hr", { className: "gloss-page-dropdown__separator" }),
1186
- /* @__PURE__ */ i(
1185
+ /* @__PURE__ */ r("hr", { className: "gloss-page-dropdown__separator" }),
1186
+ /* @__PURE__ */ r(
1187
1187
  "button",
1188
1188
  {
1189
1189
  role: "menuitem",
1190
1190
  className: "gloss-page-dropdown__action gloss-page-dropdown__action--muted",
1191
- onClick: h,
1191
+ onClick: f,
1192
1192
  children: "Manage pages"
1193
1193
  }
1194
1194
  )
@@ -1196,66 +1196,66 @@ function He({
1196
1196
  }
1197
1197
  );
1198
1198
  }
1199
- He.displayName = "PageDropdown";
1200
- const Lt = function({
1199
+ Ye.displayName = "PageDropdown";
1200
+ const Vt = function({
1201
1201
  currentIndex: t,
1202
1202
  total: n,
1203
1203
  pages: a,
1204
- onPageChange: r,
1205
- onCreatePage: s,
1204
+ onPageChange: s,
1205
+ onCreatePage: i,
1206
1206
  onManagePages: o,
1207
1207
  maskRadius: l = "var(--gloss-radius-md)",
1208
1208
  displayMode: m = "count",
1209
- activePage: u
1209
+ activePage: d
1210
1210
  }) {
1211
- const p = T(null), [h, d] = $(!1), g = w(() => {
1212
- d((M) => !M);
1213
- }, []), _ = w(() => {
1214
- d(!1);
1211
+ const g = M(null), [f, u] = $(!1), p = w(() => {
1212
+ u((R) => !R);
1213
+ }, []), N = w(() => {
1214
+ u(!1);
1215
1215
  }, []), y = a[t]?.id ?? "";
1216
- return /* @__PURE__ */ k(
1216
+ return /* @__PURE__ */ D(
1217
1217
  "div",
1218
1218
  {
1219
1219
  className: "gloss-page-chip",
1220
- ref: p,
1220
+ ref: g,
1221
1221
  style: m === "name" ? { position: "relative", left: 0, right: "auto", top: 0 } : { position: "absolute", top: 0, right: 0 },
1222
1222
  "data-page-chip": !0,
1223
1223
  children: [
1224
- m !== "name" && /* @__PURE__ */ i(
1224
+ m !== "name" && /* @__PURE__ */ r(
1225
1225
  "div",
1226
1226
  {
1227
1227
  className: "gloss-page-chip__nuzzle",
1228
1228
  style: { "--_nuzzle-r": l }
1229
1229
  }
1230
1230
  ),
1231
- /* @__PURE__ */ i(
1231
+ /* @__PURE__ */ r(
1232
1232
  "button",
1233
1233
  {
1234
1234
  className: `gloss-page-chip__trigger${m === "name" ? " gloss-page-chip__trigger--name" : ""}`,
1235
1235
  "aria-haspopup": "menu",
1236
- "aria-expanded": h,
1237
- "aria-label": m === "name" ? `${u ?? "Page"}. Click to switch pages.` : `Page ${t + 1} of ${n}. Click to switch pages.`,
1238
- onClick: g,
1239
- children: m === "name" ? /* @__PURE__ */ k(be, { children: [
1240
- /* @__PURE__ */ i("span", { className: "gloss-page-chip__trigger-name", children: u ?? "" }),
1241
- /* @__PURE__ */ i("span", { className: "gloss-page-chip__trigger-chevron", "aria-hidden": "true", children: "▾" })
1242
- ] }) : /* @__PURE__ */ k(be, { children: [
1236
+ "aria-expanded": f,
1237
+ "aria-label": m === "name" ? `${d ?? "Page"}. Click to switch pages.` : `Page ${t + 1} of ${n}. Click to switch pages.`,
1238
+ onClick: p,
1239
+ children: m === "name" ? /* @__PURE__ */ D(te, { children: [
1240
+ /* @__PURE__ */ r("span", { className: "gloss-page-chip__trigger-name", children: d ?? "" }),
1241
+ /* @__PURE__ */ r("span", { className: "gloss-page-chip__trigger-chevron", "aria-hidden": "true", children: "▾" })
1242
+ ] }) : /* @__PURE__ */ D(te, { children: [
1243
1243
  t + 1,
1244
1244
  " / ",
1245
1245
  n
1246
1246
  ] })
1247
1247
  }
1248
1248
  ),
1249
- /* @__PURE__ */ i(
1250
- He,
1249
+ /* @__PURE__ */ r(
1250
+ Ye,
1251
1251
  {
1252
- open: h,
1253
- onDismiss: _,
1254
- anchorRef: p,
1252
+ open: f,
1253
+ onDismiss: N,
1254
+ anchorRef: g,
1255
1255
  pages: a,
1256
1256
  activePageId: y,
1257
- onPageChange: r,
1258
- onCreatePage: s,
1257
+ onPageChange: s,
1258
+ onCreatePage: i,
1259
1259
  onManagePages: o
1260
1260
  }
1261
1261
  )
@@ -1263,8 +1263,8 @@ const Lt = function({
1263
1263
  }
1264
1264
  );
1265
1265
  };
1266
- Lt.displayName = "PageChip";
1267
- const wn = [
1266
+ Vt.displayName = "PageChip";
1267
+ const En = [
1268
1268
  {
1269
1269
  id: "ORD-1001",
1270
1270
  orderNumber: "ORD-1001",
@@ -1397,7 +1397,7 @@ const wn = [
1397
1397
  date: "2026-03-01",
1398
1398
  skuCount: 9
1399
1399
  }
1400
- ], Dn = [
1400
+ ], An = [
1401
1401
  {
1402
1402
  id: "ITEM-001",
1403
1403
  sku: "PB-4520",
@@ -1531,16 +1531,16 @@ const wn = [
1531
1531
  lastDate: "2026-03-01"
1532
1532
  }
1533
1533
  ];
1534
- function xe(e) {
1534
+ function Pe(e) {
1535
1535
  return "$" + e.toLocaleString("en-US", { minimumFractionDigits: 2, maximumFractionDigits: 2 });
1536
1536
  }
1537
- function Ve(e) {
1537
+ function Qe(e) {
1538
1538
  return e.toLocaleString("en-US");
1539
1539
  }
1540
- function Ue(e) {
1540
+ function Xe(e) {
1541
1541
  return new Date(e).toLocaleDateString("en-US", { month: "short", day: "numeric", year: "numeric" });
1542
1542
  }
1543
- const me = V.createElement("span", { style: { color: "var(--color-text-muted)" } }, "—"), _n = [
1543
+ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" } }, "—"), On = [
1544
1544
  {
1545
1545
  field: "id",
1546
1546
  headerName: "Order",
@@ -1570,7 +1570,7 @@ const me = V.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 ? Ve(e.skuCount) : me
1573
+ renderCell: ({ row: e }) => e.skuCount ? Qe(e.skuCount) : he
1574
1574
  },
1575
1575
  {
1576
1576
  field: "total",
@@ -1580,7 +1580,7 @@ const me = V.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 ? xe(e.total) : me
1583
+ renderCell: ({ row: e }) => e.total ? Pe(e.total) : he
1584
1584
  },
1585
1585
  {
1586
1586
  field: "date",
@@ -1590,9 +1590,9 @@ const me = V.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 ? Ue(e.date) : ""
1593
+ renderCell: ({ row: e }) => e.date ? Xe(e.date) : ""
1594
1594
  }
1595
- ], Nn = [
1595
+ ], Ln = [
1596
1596
  {
1597
1597
  field: "sku",
1598
1598
  headerName: "Item ID",
@@ -1624,7 +1624,7 @@ const me = V.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 ? xe(e.price) : me
1627
+ renderCell: ({ row: e }) => e.price ? Pe(e.price) : he
1628
1628
  },
1629
1629
  {
1630
1630
  field: "quantity",
@@ -1634,7 +1634,7 @@ const me = V.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 ? Ve(e.quantity) : me
1637
+ renderCell: ({ row: e }) => e.quantity ? Qe(e.quantity) : he
1638
1638
  },
1639
1639
  {
1640
1640
  field: "total",
@@ -1644,7 +1644,7 @@ const me = V.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 ? xe(e.total) : me
1647
+ renderCell: ({ row: e }) => e.total ? Pe(e.total) : he
1648
1648
  },
1649
1649
  {
1650
1650
  field: "lastDate",
@@ -1654,24 +1654,24 @@ const me = V.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 ? Ue(e.lastDate) : ""
1657
+ renderCell: ({ row: e }) => e.lastDate ? Xe(e.lastDate) : ""
1658
1658
  }
1659
- ], $t = [
1659
+ ], Ht = [
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
- ], Bt = [
1665
+ ], Ut = [
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
- ], _e = (e) => {
1672
- }, Kt = (e) => {
1673
- }, $e = (e, t) => {
1674
- }, je = {
1671
+ ], Se = (e) => {
1672
+ }, jt = (e) => {
1673
+ }, Ve = (e, t) => {
1674
+ }, Je = {
1675
1675
  vizState: {
1676
1676
  type: "orders",
1677
1677
  quant: "$",
@@ -1679,17 +1679,17 @@ const me = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1679
1679
  byItem: { id: null, name: null },
1680
1680
  timeFrame: "MTD"
1681
1681
  },
1682
- onTypeChange: _e,
1683
- onQuantChange: Kt,
1684
- onEntityTypeChange: _e,
1685
- onEntitySelect: $e,
1686
- onItemSelect: $e,
1687
- onTimeFrameChange: _e,
1682
+ onTypeChange: Se,
1683
+ onQuantChange: jt,
1684
+ onEntityTypeChange: Se,
1685
+ onEntitySelect: Ve,
1686
+ onItemSelect: Ve,
1687
+ onTimeFrameChange: Se,
1688
1688
  userType: "sales-agency",
1689
- entityFilterOptions: $t,
1690
- itemFilterOptions: Bt
1691
- }, Cn = {
1692
- ...je,
1689
+ entityFilterOptions: Ht,
1690
+ itemFilterOptions: Ut
1691
+ }, $n = {
1692
+ ...Je,
1693
1693
  vizState: {
1694
1694
  type: "items",
1695
1695
  quant: "$",
@@ -1697,8 +1697,8 @@ const me = V.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
- }, kn = {
1701
- ...je,
1700
+ }, Bn = {
1701
+ ...Je,
1702
1702
  vizState: {
1703
1703
  type: "orders",
1704
1704
  quant: "#",
@@ -1710,7 +1710,7 @@ const me = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1710
1710
  entityFilterOptions: [
1711
1711
  { id: "customers", label: "Customers" }
1712
1712
  ]
1713
- }, zt = [
1713
+ }, Zt = [
1714
1714
  {
1715
1715
  id: "recent-orders",
1716
1716
  label: "Recent Orders",
@@ -1756,7 +1756,7 @@ const me = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1756
1756
  routeKey: "customer.profile",
1757
1757
  subtitle: "Opens in RepTime"
1758
1758
  }
1759
- ], Gt = [
1759
+ ], qt = [
1760
1760
  {
1761
1761
  id: "order-items",
1762
1762
  label: "Items in Order",
@@ -1785,7 +1785,7 @@ const me = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1785
1785
  cellKinds: ["orderId"],
1786
1786
  graphType: "timeline"
1787
1787
  }
1788
- ], Wt = [
1788
+ ], Yt = [
1789
1789
  {
1790
1790
  id: "graph-metric",
1791
1791
  label: "Graph This Metric",
@@ -1813,14 +1813,14 @@ const me = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1813
1813
  cellKinds: ["numeric"],
1814
1814
  tabType: "orders"
1815
1815
  }
1816
- ], xn = {
1817
- entityName: zt,
1818
- orderId: Gt,
1819
- numeric: Wt
1820
- }, Sn = [
1816
+ ], zn = {
1817
+ entityName: Zt,
1818
+ orderId: qt,
1819
+ numeric: Yt
1820
+ }, Kn = [
1821
1821
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), (/* @__PURE__ */ new Date()).getDate() - 29),
1822
1822
  /* @__PURE__ */ new Date()
1823
- ], Mn = {
1823
+ ], Wn = {
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 me = V.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
- }, Tn = {
1836
+ }, Gn = {
1837
1837
  version: 4,
1838
1838
  lastPreset: "mtd",
1839
1839
  pinnedPreset: "mtd",
@@ -1841,7 +1841,7 @@ const me = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1841
1841
  rangeCount: 1,
1842
1842
  lastPresetB: null,
1843
1843
  lastPresetC: null
1844
- }, Rn = [
1844
+ }, Vn = [
1845
1845
  {
1846
1846
  id: "atlanta-jan",
1847
1847
  label: "Atlanta Market",
@@ -1863,7 +1863,7 @@ const me = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1863
1863
  endDate: new Date(2026, 3, 22),
1864
1864
  location: "Chicago, IL"
1865
1865
  }
1866
- ], In = [
1866
+ ], Hn = [
1867
1867
  {
1868
1868
  id: "custom-regional-1",
1869
1869
  label: "Southeast Regional Expo",
@@ -1880,7 +1880,7 @@ const me = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1880
1880
  location: "Portland, OR",
1881
1881
  isCustom: !0
1882
1882
  }
1883
- ], Pn = [
1883
+ ], Un = [
1884
1884
  {
1885
1885
  id: "atlanta-jan",
1886
1886
  label: "Atlanta Market",
@@ -1897,137 +1897,137 @@ const me = V.createElement("span", { style: { color: "var(--color-text-muted)" }
1897
1897
  location: "New York, NY",
1898
1898
  active: !0
1899
1899
  }
1900
- ], Fn = [
1900
+ ], jn = [
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
- ], En = [
1905
+ ], Zn = [
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
- ], Ht = {
1910
+ ], Qt = {
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
- }, Vt = {
1918
- timeframe: pt,
1919
- threshold: ft,
1920
- slots: ht,
1921
- size: bt,
1922
- color: vt,
1923
- pinned: yt
1917
+ }, Xt = {
1918
+ timeframe: _t,
1919
+ threshold: Nt,
1920
+ slots: Dt,
1921
+ size: Ct,
1922
+ color: kt,
1923
+ pinned: xt
1924
1924
  };
1925
- function Be(...e) {
1925
+ function He(...e) {
1926
1926
  return e.filter(Boolean).join(" ");
1927
1927
  }
1928
- function Ut() {
1928
+ function Jt() {
1929
1929
  const [e, t] = $(() => typeof window > "u" || typeof window.matchMedia != "function" ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches);
1930
1930
  return L(() => {
1931
1931
  if (typeof window > "u" || typeof window.matchMedia != "function") return;
1932
- const n = window.matchMedia("(prefers-reduced-motion: reduce)"), a = (r) => t(r.matches);
1932
+ const n = window.matchMedia("(prefers-reduced-motion: reduce)"), a = (s) => t(s.matches);
1933
1933
  return typeof n.addEventListener == "function" ? (n.addEventListener("change", a), () => n.removeEventListener("change", a)) : (n.addListener?.(a), () => {
1934
1934
  n.removeListener?.(a);
1935
1935
  });
1936
1936
  }, []), e;
1937
1937
  }
1938
- const jt = ({
1938
+ const ea = ({
1939
1939
  dimensions: e,
1940
1940
  onDimensionSelect: t,
1941
1941
  activeDimension: n,
1942
1942
  ariaCardTypeLabel: a,
1943
- className: r
1943
+ className: s
1944
1944
  }) => {
1945
- const s = T(null), o = T([]), l = Ut(), m = ge(() => Array.from(e), [e]);
1945
+ const i = M(null), o = M([]), l = Jt(), m = ye(() => Array.from(e), [e]);
1946
1946
  if (m.length === 0) return null;
1947
- const u = a ? `Configure ${a}: choose a dimension` : void 0, p = l ? "10ms" : "200ms", h = (d, g) => {
1948
- const _ = m.length - 1, y = (f) => {
1949
- const M = o.current[f];
1950
- M && M.focus();
1947
+ const d = a ? `Configure ${a}: choose a dimension` : void 0, g = l ? "10ms" : "200ms", f = (u, p) => {
1948
+ const N = m.length - 1, y = (h) => {
1949
+ const R = o.current[h];
1950
+ R && R.focus();
1951
1951
  };
1952
- switch (d.key) {
1952
+ switch (u.key) {
1953
1953
  case "ArrowRight":
1954
1954
  case "ArrowDown": {
1955
- d.preventDefault(), y(g === _ ? 0 : g + 1);
1955
+ u.preventDefault(), y(p === N ? 0 : p + 1);
1956
1956
  break;
1957
1957
  }
1958
1958
  case "ArrowLeft":
1959
1959
  case "ArrowUp": {
1960
- d.preventDefault(), y(g === 0 ? _ : g - 1);
1960
+ u.preventDefault(), y(p === 0 ? N : p - 1);
1961
1961
  break;
1962
1962
  }
1963
1963
  case "Home": {
1964
- d.preventDefault(), y(0);
1964
+ u.preventDefault(), y(0);
1965
1965
  break;
1966
1966
  }
1967
1967
  case "End": {
1968
- d.preventDefault(), y(_);
1968
+ u.preventDefault(), y(N);
1969
1969
  break;
1970
1970
  }
1971
1971
  case "Enter":
1972
1972
  case " ": {
1973
- d.preventDefault(), t(m[g]);
1973
+ u.preventDefault(), t(m[p]);
1974
1974
  break;
1975
1975
  }
1976
1976
  }
1977
1977
  };
1978
- return /* @__PURE__ */ i(
1978
+ return /* @__PURE__ */ r(
1979
1979
  "div",
1980
1980
  {
1981
- ref: s,
1981
+ ref: i,
1982
1982
  role: "group",
1983
- "aria-label": u,
1984
- className: Be("gloss-reconfig-backside-buttons", r),
1983
+ "aria-label": d,
1984
+ className: He("gloss-reconfig-backside-buttons", s),
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": p
1989
+ "--gloss-reconfig-backside-buttons-transition-duration": g
1990
1990
  },
1991
- children: m.map((d, g) => {
1992
- const _ = Vt[d], y = n === d;
1993
- return /* @__PURE__ */ k(
1991
+ children: m.map((u, p) => {
1992
+ const N = Xt[u], y = n === u;
1993
+ return /* @__PURE__ */ D(
1994
1994
  "button",
1995
1995
  {
1996
- ref: (f) => {
1997
- o.current[g] = f;
1996
+ ref: (h) => {
1997
+ o.current[p] = h;
1998
1998
  },
1999
1999
  type: "button",
2000
- "data-dimension": d,
2001
- className: Be(
2000
+ "data-dimension": u,
2001
+ className: He(
2002
2002
  "gloss-reconfig-backside-buttons__button",
2003
2003
  y && "gloss-reconfig-backside-buttons__button--active"
2004
2004
  ),
2005
2005
  "aria-current": y ? "true" : void 0,
2006
- onClick: () => t(d),
2007
- onKeyDown: (f) => h(f, g),
2006
+ onClick: () => t(u),
2007
+ onKeyDown: (h) => f(h, p),
2008
2008
  children: [
2009
- /* @__PURE__ */ i(
2010
- _,
2009
+ /* @__PURE__ */ r(
2010
+ N,
2011
2011
  {
2012
2012
  className: "gloss-reconfig-backside-buttons__button-icon",
2013
2013
  "aria-hidden": "true"
2014
2014
  }
2015
2015
  ),
2016
- /* @__PURE__ */ i("span", { className: "gloss-reconfig-backside-buttons__button-label", children: Ht[d] })
2016
+ /* @__PURE__ */ r("span", { className: "gloss-reconfig-backside-buttons__button-label", children: Qt[u] })
2017
2017
  ]
2018
2018
  },
2019
- d
2019
+ u
2020
2020
  );
2021
2021
  })
2022
2022
  }
2023
2023
  );
2024
2024
  };
2025
- jt.displayName = "ReconfigBacksideButtons";
2025
+ ea.displayName = "ReconfigBacksideButtons";
2026
2026
  function Q(e, t) {
2027
2027
  return {
2028
2028
  id: e,
2029
2029
  colSpan: 1,
2030
- content: V.createElement("div", {
2030
+ content: H.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 Ke(e, t) {
2046
+ function Ue(e, t) {
2047
2047
  return {
2048
2048
  ...Q(e, t),
2049
2049
  colSpan: 2
2050
2050
  };
2051
2051
  }
2052
- const An = [
2052
+ const qn = [
2053
2053
  Q("total-revenue", "Total Revenue"),
2054
2054
  Q("total-orders", "Total Orders"),
2055
- Ke("revenue-trend", "Revenue Trend (2x)"),
2055
+ Ue("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
- Ke("order-trend", "Order Trend (2x)"),
2059
+ Ue("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
- ], On = {
2063
+ ], Yn = {
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
- }, Ln = {
2070
+ }, Qn = {
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
- }, $n = {
2077
+ }, Xn = {
2078
2078
  columns: 12,
2079
2079
  rowHeight: 120,
2080
2080
  gap: 15,
@@ -2082,15 +2082,15 @@ const An = [
2082
2082
  currentPage: 0,
2083
2083
  totalPages: 3
2084
2084
  };
2085
- function Ne(e) {
2086
- return V.createElement("span", { style: { fontSize: 14 } }, e);
2085
+ function Re(e) {
2086
+ return H.createElement("span", { style: { fontSize: 14 } }, e);
2087
2087
  }
2088
- const Bn = [
2088
+ const Jn = [
2089
2089
  {
2090
2090
  id: "all-orders",
2091
2091
  type: "orders",
2092
2092
  name: "All Orders",
2093
- icon: Ne("📋"),
2093
+ icon: Re("📋"),
2094
2094
  closable: !1,
2095
2095
  autoCreated: !0
2096
2096
  },
@@ -2098,17 +2098,17 @@ const Bn = [
2098
2098
  id: "open-orders",
2099
2099
  type: "orders",
2100
2100
  name: "Open Orders",
2101
- icon: Ne("📦"),
2101
+ icon: Re("📦"),
2102
2102
  closable: !0
2103
2103
  },
2104
2104
  {
2105
2105
  id: "shipped-orders",
2106
2106
  type: "orders",
2107
2107
  name: "Shipped Orders",
2108
- icon: Ne("🚚"),
2108
+ icon: Re("🚚"),
2109
2109
  closable: !0
2110
2110
  }
2111
- ], Kn = [
2111
+ ], er = [
2112
2112
  {
2113
2113
  id: "orders-main",
2114
2114
  type: "orders",
@@ -2134,7 +2134,7 @@ const Bn = [
2134
2134
  name: "Customers",
2135
2135
  closable: !0
2136
2136
  }
2137
- ], zn = [
2137
+ ], tr = [
2138
2138
  {
2139
2139
  id: "only-tab",
2140
2140
  type: "orders",
@@ -2142,7 +2142,7 @@ const Bn = [
2142
2142
  closable: !1,
2143
2143
  autoCreated: !0
2144
2144
  }
2145
- ], Gn = [
2145
+ ], ar = [
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 Bn = [
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 Se(e) {
2157
+ function Fe(e) {
2158
2158
  switch (e) {
2159
2159
  case "wide":
2160
2160
  return { cols: 2, rows: 1 };
@@ -2165,40 +2165,40 @@ function Se(e) {
2165
2165
  return { cols: 1, rows: 1 };
2166
2166
  }
2167
2167
  }
2168
- function Zt(e) {
2168
+ function ta(e) {
2169
2169
  let t = 0;
2170
2170
  for (const a of e) {
2171
- const r = Se(a.size), s = a.gridPosition.col + r.cols - 1;
2172
- s > t && (t = s);
2171
+ const s = Fe(a.size), i = a.gridPosition.col + s.cols - 1;
2172
+ i > t && (t = i);
2173
2173
  }
2174
2174
  return `repeat(${t > 0 ? t : Math.max(e.length, 1)}, minmax(0, 1fr))`;
2175
2175
  }
2176
- const qt = function(t) {
2176
+ const aa = function(t) {
2177
2177
  if (t.renderMode === "discrete")
2178
- return /* @__PURE__ */ i(
2178
+ return /* @__PURE__ */ r(
2179
2179
  "div",
2180
2180
  {
2181
2181
  className: "gloss-metric-group gloss-metric-group--discrete",
2182
2182
  style: { display: "contents" },
2183
- children: t.cards.map((r) => {
2184
- const s = Se(r.size);
2185
- return /* @__PURE__ */ i(
2183
+ children: t.cards.map((s) => {
2184
+ const i = Fe(s.size);
2185
+ return /* @__PURE__ */ r(
2186
2186
  "div",
2187
2187
  {
2188
2188
  className: "gloss-metric-group__slot",
2189
2189
  style: {
2190
- gridColumn: `${r.gridPosition.col} / span ${s.cols}`,
2191
- gridRow: `${r.gridPosition.row} / span ${s.rows}`
2190
+ gridColumn: `${s.gridPosition.col} / span ${i.cols}`,
2191
+ gridRow: `${s.gridPosition.row} / span ${i.rows}`
2192
2192
  },
2193
- children: r.children
2193
+ children: s.children
2194
2194
  },
2195
- r.key
2195
+ s.key
2196
2196
  );
2197
2197
  })
2198
2198
  }
2199
2199
  );
2200
2200
  const { cards: n, composite: a } = t;
2201
- return /* @__PURE__ */ k(
2201
+ return /* @__PURE__ */ D(
2202
2202
  "div",
2203
2203
  {
2204
2204
  className: "gloss-metric-group gloss-metric-group--composite",
@@ -2217,16 +2217,16 @@ const qt = function(t) {
2217
2217
  "aria-label": a?.label,
2218
2218
  tabIndex: void 0,
2219
2219
  children: [
2220
- a?.accentColor && /* @__PURE__ */ i(
2220
+ a?.accentColor && /* @__PURE__ */ r(
2221
2221
  "div",
2222
2222
  {
2223
2223
  className: "gloss-metric-group__accent",
2224
2224
  style: { background: a.accentColor }
2225
2225
  }
2226
2226
  ),
2227
- a?.label && /* @__PURE__ */ k("div", { className: "gloss-metric-group__label", children: [
2228
- /* @__PURE__ */ i("span", { children: a.label }),
2229
- a?.trend && /* @__PURE__ */ i(
2227
+ a?.label && /* @__PURE__ */ D("div", { className: "gloss-metric-group__label", children: [
2228
+ /* @__PURE__ */ r("span", { children: a.label }),
2229
+ a?.trend && /* @__PURE__ */ r(
2230
2230
  "span",
2231
2231
  {
2232
2232
  className: "gloss-metric-group__trend",
@@ -2235,28 +2235,28 @@ const qt = function(t) {
2235
2235
  }
2236
2236
  )
2237
2237
  ] }),
2238
- /* @__PURE__ */ i(
2238
+ /* @__PURE__ */ r(
2239
2239
  "div",
2240
2240
  {
2241
2241
  className: "gloss-metric-group__slots",
2242
2242
  style: {
2243
2243
  display: "grid",
2244
2244
  gap: "var(--gloss-spacing-2, 8px)",
2245
- gridTemplateColumns: Zt(n)
2245
+ gridTemplateColumns: ta(n)
2246
2246
  },
2247
- children: n.map((r) => {
2248
- const s = Se(r.size);
2249
- return /* @__PURE__ */ i(
2247
+ children: n.map((s) => {
2248
+ const i = Fe(s.size);
2249
+ return /* @__PURE__ */ r(
2250
2250
  "div",
2251
2251
  {
2252
2252
  className: "gloss-metric-group__slot--composite",
2253
2253
  style: {
2254
- gridColumn: `${r.gridPosition.col} / span ${s.cols}`,
2255
- gridRow: `${r.gridPosition.row} / span ${s.rows}`
2254
+ gridColumn: `${s.gridPosition.col} / span ${i.cols}`,
2255
+ gridRow: `${s.gridPosition.row} / span ${i.rows}`
2256
2256
  },
2257
- children: r.children
2257
+ children: s.children
2258
2258
  },
2259
- r.key
2259
+ s.key
2260
2260
  );
2261
2261
  })
2262
2262
  }
@@ -2265,48 +2265,48 @@ const qt = function(t) {
2265
2265
  }
2266
2266
  );
2267
2267
  };
2268
- qt.displayName = "MetricGroupContainer";
2269
- const Ze = "resize.tuning.dev", Yt = {
2270
- ...We,
2268
+ aa.displayName = "MetricGroupContainer";
2269
+ const et = "resize.tuning.dev", na = {
2270
+ ...qe,
2271
2271
  snapInPx: 60,
2272
2272
  snapOutPx: 90
2273
- }, ae = Yt;
2274
- function Qt() {
2275
- if (typeof window > "u") return { ...ae };
2273
+ }, re = na;
2274
+ function ra() {
2275
+ if (typeof window > "u") return { ...re };
2276
2276
  try {
2277
- const e = window.localStorage.getItem(Ze);
2278
- if (!e) return { ...ae };
2277
+ const e = window.localStorage.getItem(et);
2278
+ if (!e) return { ...re };
2279
2279
  const t = JSON.parse(e);
2280
- return !t || typeof t != "object" || Array.isArray(t) ? { ...ae } : { ...ae, ...t };
2280
+ return !t || typeof t != "object" || Array.isArray(t) ? { ...re } : { ...re, ...t };
2281
2281
  } catch {
2282
- return { ...ae };
2282
+ return { ...re };
2283
2283
  }
2284
2284
  }
2285
- function Xt() {
2286
- const [e, t] = $(() => Qt());
2285
+ function sa() {
2286
+ const [e, t] = $(() => ra());
2287
2287
  L(() => {
2288
2288
  if (!(typeof window > "u"))
2289
2289
  try {
2290
- window.localStorage.setItem(Ze, JSON.stringify(e));
2290
+ window.localStorage.setItem(et, JSON.stringify(e));
2291
2291
  } catch {
2292
2292
  }
2293
2293
  }, [e]);
2294
2294
  const n = w(
2295
- (s, o) => {
2296
- t((l) => ({ ...l, [s]: o }));
2295
+ (i, o) => {
2296
+ t((l) => ({ ...l, [i]: o }));
2297
2297
  },
2298
2298
  []
2299
2299
  ), a = w(
2300
- (s) => {
2301
- t((o) => ({ ...o, [s]: ae[s] }));
2300
+ (i) => {
2301
+ t((o) => ({ ...o, [i]: re[i] }));
2302
2302
  },
2303
2303
  []
2304
- ), r = w(() => {
2305
- t({ ...ae });
2304
+ ), s = w(() => {
2305
+ t({ ...re });
2306
2306
  }, []);
2307
- return { values: e, setValue: n, resetRow: a, resetAll: r };
2307
+ return { values: e, setValue: n, resetRow: a, resetAll: s };
2308
2308
  }
2309
- const Jt = [
2309
+ const ia = [
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,11 +2317,11 @@ const Jt = [
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 ea(e, t) {
2320
+ function oa(e, t) {
2321
2321
  return t >= 1 ? String(Math.round(e)) : t >= 0.1 ? e.toFixed(1) : e.toFixed(2);
2322
2322
  }
2323
- function ta() {
2324
- return /* @__PURE__ */ k(
2323
+ function la() {
2324
+ return /* @__PURE__ */ D(
2325
2325
  "svg",
2326
2326
  {
2327
2327
  width: "14",
@@ -2334,32 +2334,32 @@ function ta() {
2334
2334
  strokeLinejoin: "round",
2335
2335
  "aria-hidden": "true",
2336
2336
  children: [
2337
- /* @__PURE__ */ i("path", { d: "M3 12a9 9 0 1 0 3-6.7L3 8" }),
2338
- /* @__PURE__ */ i("polyline", { points: "3 3 3 8 8 8" })
2337
+ /* @__PURE__ */ r("path", { d: "M3 12a9 9 0 1 0 3-6.7L3 8" }),
2338
+ /* @__PURE__ */ r("polyline", { points: "3 3 3 8 8 8" })
2339
2339
  ]
2340
2340
  }
2341
2341
  );
2342
2342
  }
2343
- function aa({ spec: e, value: t, onChange: n, onReset: a, flashing: r }) {
2344
- const s = w(
2343
+ function ca({ spec: e, value: t, onChange: n, onReset: a, flashing: s }) {
2344
+ const i = w(
2345
2345
  (o) => {
2346
2346
  (o.key === "r" || o.key === "R") && (o.preventDefault(), a());
2347
2347
  },
2348
2348
  [a]
2349
2349
  );
2350
- return /* @__PURE__ */ k(
2350
+ return /* @__PURE__ */ D(
2351
2351
  "div",
2352
2352
  {
2353
- className: `gloss-dev-tuning-panel__row${r ? " gloss-dev-tuning-panel__row--flash" : ""}`,
2353
+ className: `gloss-dev-tuning-panel__row${s ? " gloss-dev-tuning-panel__row--flash" : ""}`,
2354
2354
  "data-tuning-row": e.key,
2355
- onKeyDown: s,
2355
+ onKeyDown: i,
2356
2356
  children: [
2357
- /* @__PURE__ */ i("label", { className: "gloss-dev-tuning-panel__label", htmlFor: `gloss-dtp-${e.key}`, children: e.label }),
2358
- /* @__PURE__ */ k("span", { className: "gloss-dev-tuning-panel__value", "aria-live": "off", children: [
2359
- ea(t, e.step),
2357
+ /* @__PURE__ */ r("label", { className: "gloss-dev-tuning-panel__label", htmlFor: `gloss-dtp-${e.key}`, children: e.label }),
2358
+ /* @__PURE__ */ D("span", { className: "gloss-dev-tuning-panel__value", "aria-live": "off", children: [
2359
+ oa(t, e.step),
2360
2360
  e.unit ? ` ${e.unit}` : ""
2361
2361
  ] }),
2362
- /* @__PURE__ */ i(
2362
+ /* @__PURE__ */ r(
2363
2363
  "input",
2364
2364
  {
2365
2365
  id: `gloss-dtp-${e.key}`,
@@ -2373,21 +2373,21 @@ function aa({ spec: e, value: t, onChange: n, onReset: a, flashing: r }) {
2373
2373
  onChange: (o) => n(Number(o.target.value))
2374
2374
  }
2375
2375
  ),
2376
- /* @__PURE__ */ i(
2376
+ /* @__PURE__ */ r(
2377
2377
  "button",
2378
2378
  {
2379
2379
  type: "button",
2380
2380
  className: "gloss-dev-tuning-panel__reset",
2381
2381
  "aria-label": `Reset ${e.label}`,
2382
2382
  onClick: a,
2383
- children: /* @__PURE__ */ i(ta, {})
2383
+ children: /* @__PURE__ */ r(la, {})
2384
2384
  }
2385
2385
  )
2386
2386
  ]
2387
2387
  }
2388
2388
  );
2389
2389
  }
2390
- function na() {
2390
+ function da() {
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 na() {
2395
2395
  return !1;
2396
2396
  }
2397
2397
  }
2398
- function ra(e = {}) {
2399
- return na() ? /* @__PURE__ */ i(sa, {}) : null;
2398
+ function ua(e = {}) {
2399
+ return da() ? /* @__PURE__ */ r(ma, {}) : null;
2400
2400
  }
2401
- ra.displayName = "DevTuningPanel";
2402
- function sa() {
2403
- const e = Xt(), { values: t, setValue: n, resetRow: a, resetAll: r } = e, [s, o] = $(null), l = T(null), m = w((d) => {
2404
- l.current && clearTimeout(l.current), o(d), l.current = setTimeout(() => {
2401
+ ua.displayName = "DevTuningPanel";
2402
+ function ma() {
2403
+ const e = sa(), { values: t, setValue: n, resetRow: a, resetAll: s } = e, [i, o] = $(null), l = M(null), m = w((u) => {
2404
+ l.current && clearTimeout(l.current), o(u), l.current = setTimeout(() => {
2405
2405
  o(null), l.current = null;
2406
2406
  }, 200);
2407
- }, []), u = w(
2408
- (d, g) => {
2409
- n(d, g), d === "snapInPx" && g > t.snapOutPx && (n("snapOutPx", g), m("snapOutPx"));
2407
+ }, []), d = w(
2408
+ (u, p) => {
2409
+ n(u, p), u === "snapInPx" && p > t.snapOutPx && (n("snapOutPx", p), m("snapOutPx"));
2410
2410
  },
2411
2411
  [n, t.snapOutPx, m]
2412
- ), p = ge(() => Jt, []), h = ut();
2413
- return /* @__PURE__ */ k(
2414
- ve.div,
2412
+ ), g = ye(() => ia, []), f = bt();
2413
+ return /* @__PURE__ */ D(
2414
+ De.div,
2415
2415
  {
2416
2416
  className: "gloss-dev-tuning-panel",
2417
2417
  role: "region",
@@ -2419,37 +2419,37 @@ function sa() {
2419
2419
  "data-testid": "gloss-dev-tuning-panel",
2420
2420
  drag: !0,
2421
2421
  dragListener: !1,
2422
- dragControls: h,
2422
+ dragControls: f,
2423
2423
  dragMomentum: !1,
2424
2424
  children: [
2425
- /* @__PURE__ */ k(
2425
+ /* @__PURE__ */ D(
2426
2426
  "div",
2427
2427
  {
2428
2428
  className: "gloss-dev-tuning-panel__header",
2429
- onPointerDown: (d) => h.start(d),
2429
+ onPointerDown: (u) => f.start(u),
2430
2430
  children: [
2431
- /* @__PURE__ */ i("span", { className: "gloss-dev-tuning-panel__title", children: "Resize Tuning — dev only" }),
2432
- /* @__PURE__ */ i("span", { className: "gloss-dev-tuning-panel__hint", children: "?devtune=1" })
2431
+ /* @__PURE__ */ r("span", { className: "gloss-dev-tuning-panel__title", children: "Resize Tuning — dev only" }),
2432
+ /* @__PURE__ */ r("span", { className: "gloss-dev-tuning-panel__hint", children: "?devtune=1" })
2433
2433
  ]
2434
2434
  }
2435
2435
  ),
2436
- /* @__PURE__ */ i("div", { className: "gloss-dev-tuning-panel__body", children: p.map((d) => /* @__PURE__ */ i(
2437
- aa,
2436
+ /* @__PURE__ */ r("div", { className: "gloss-dev-tuning-panel__body", children: g.map((u) => /* @__PURE__ */ r(
2437
+ ca,
2438
2438
  {
2439
- spec: d,
2440
- value: t[d.key],
2441
- onChange: (g) => u(d.key, g),
2442
- onReset: () => a(d.key),
2443
- flashing: s === d.key
2439
+ spec: u,
2440
+ value: t[u.key],
2441
+ onChange: (p) => d(u.key, p),
2442
+ onReset: () => a(u.key),
2443
+ flashing: i === u.key
2444
2444
  },
2445
- d.key
2445
+ u.key
2446
2446
  )) }),
2447
- /* @__PURE__ */ i("div", { className: "gloss-dev-tuning-panel__footer", children: /* @__PURE__ */ i(
2447
+ /* @__PURE__ */ r("div", { className: "gloss-dev-tuning-panel__footer", children: /* @__PURE__ */ r(
2448
2448
  "button",
2449
2449
  {
2450
2450
  type: "button",
2451
2451
  className: "gloss-dev-tuning-panel__reset-all",
2452
- onClick: r,
2452
+ onClick: s,
2453
2453
  children: "Reset all"
2454
2454
  }
2455
2455
  ) })
@@ -2457,43 +2457,43 @@ function sa() {
2457
2457
  }
2458
2458
  );
2459
2459
  }
2460
- function Wn({
2460
+ function nr({
2461
2461
  state: e,
2462
2462
  originX: t,
2463
2463
  originY: n,
2464
2464
  leftEdgeX: a,
2465
- rightEdgeX: r,
2466
- minBoundaryX: s,
2465
+ rightEdgeX: s,
2466
+ minBoundaryX: i,
2467
2467
  snapBoundariesX: o,
2468
2468
  topY: l,
2469
2469
  bottomY: m,
2470
- enterMs: u = ne.envelopeEnterMs,
2471
- exitMs: p = ne.envelopeExitMs,
2472
- className: h,
2473
- style: d
2470
+ enterMs: d = se.envelopeEnterMs,
2471
+ exitMs: g = se.envelopeExitMs,
2472
+ className: f,
2473
+ style: u
2474
2474
  }) {
2475
2475
  if (e === "hidden") return null;
2476
- const g = Math.max(0, r - a), _ = Math.max(0, m - l), y = {
2477
- "--gloss-resize-envelope-enter-ms": `${u}ms`,
2478
- "--gloss-resize-envelope-exit-ms": `${p}ms`,
2476
+ const p = Math.max(0, s - a), N = Math.max(0, m - l), y = {
2477
+ "--gloss-resize-envelope-enter-ms": `${d}ms`,
2478
+ "--gloss-resize-envelope-exit-ms": `${g}ms`,
2479
2479
  "--gloss-resize-envelope-origin-x": `${t - a}px`,
2480
2480
  "--gloss-resize-envelope-origin-y": `${n - l}px`,
2481
2481
  left: a,
2482
2482
  top: l,
2483
- width: g,
2484
- height: _,
2485
- ...d
2483
+ width: p,
2484
+ height: N,
2485
+ ...u
2486
2486
  };
2487
- return /* @__PURE__ */ k(
2487
+ return /* @__PURE__ */ D(
2488
2488
  "div",
2489
2489
  {
2490
- className: ["gloss-resize-envelope", `gloss-resize-envelope--state-${e}`, h].filter(Boolean).join(" "),
2490
+ className: ["gloss-resize-envelope", `gloss-resize-envelope--state-${e}`, f].filter(Boolean).join(" "),
2491
2491
  "data-state": e,
2492
2492
  "data-testid": "gloss-resize-envelope",
2493
2493
  style: y,
2494
2494
  "aria-hidden": "true",
2495
2495
  children: [
2496
- /* @__PURE__ */ i(
2496
+ /* @__PURE__ */ r(
2497
2497
  "div",
2498
2498
  {
2499
2499
  className: "gloss-resize-envelope__edge gloss-resize-envelope__edge--left",
@@ -2501,46 +2501,46 @@ function Wn({
2501
2501
  style: { left: 0 }
2502
2502
  }
2503
2503
  ),
2504
- /* @__PURE__ */ i(
2504
+ /* @__PURE__ */ r(
2505
2505
  "div",
2506
2506
  {
2507
2507
  className: "gloss-resize-envelope__edge gloss-resize-envelope__edge--min-boundary",
2508
2508
  "data-edge": "min-boundary",
2509
- style: { left: s - a }
2509
+ style: { left: i - a }
2510
2510
  }
2511
2511
  ),
2512
- /* @__PURE__ */ i(
2512
+ /* @__PURE__ */ r(
2513
2513
  "div",
2514
2514
  {
2515
2515
  className: "gloss-resize-envelope__edge gloss-resize-envelope__edge--right",
2516
2516
  "data-edge": "right",
2517
- style: { left: g - 1 }
2517
+ style: { left: p - 1 }
2518
2518
  }
2519
2519
  ),
2520
- o.filter((f) => f > s && f < r).map((f) => /* @__PURE__ */ i(
2520
+ o.filter((h) => h > i && h < s).map((h) => /* @__PURE__ */ r(
2521
2521
  "div",
2522
2522
  {
2523
2523
  className: "gloss-resize-envelope__snap-line",
2524
2524
  "data-snap-line": !0,
2525
- style: { left: f - a }
2525
+ style: { left: h - a }
2526
2526
  },
2527
- f
2527
+ h
2528
2528
  ))
2529
2529
  ]
2530
2530
  }
2531
2531
  );
2532
2532
  }
2533
- function Hn({
2533
+ function rr({
2534
2534
  density: e,
2535
2535
  canAccept: t,
2536
2536
  blocked: n = !1,
2537
2537
  proximityOpacity: a,
2538
- className: r,
2539
- children: s,
2538
+ className: s,
2539
+ children: i,
2540
2540
  ...o
2541
2541
  }) {
2542
2542
  const l = a != null ? { ...o.style, "--_proximity-opacity": String(a) } : o.style;
2543
- return /* @__PURE__ */ i(
2543
+ return /* @__PURE__ */ r(
2544
2544
  "div",
2545
2545
  {
2546
2546
  ...o,
@@ -2553,65 +2553,65 @@ function Hn({
2553
2553
  className: [
2554
2554
  "gloss-drop-anchor-cell",
2555
2555
  n && "gloss-drop-anchor-cell--blocked-pulse",
2556
- r
2556
+ s
2557
2557
  ].filter(Boolean).join(" "),
2558
- children: s
2558
+ children: i
2559
2559
  }
2560
2560
  );
2561
2561
  }
2562
- function ia(e, t, n, a) {
2563
- const r = (e + n) / 2, s = Math.min(t, a) - 40;
2564
- return `M${e},${t} Q${r},${s} ${n},${a}`;
2562
+ function ga(e, t, n, a) {
2563
+ const s = (e + n) / 2, i = Math.min(t, a) - 40;
2564
+ return `M${e},${t} Q${s},${i} ${n},${a}`;
2565
2565
  }
2566
- function Vn({
2566
+ function sr({
2567
2567
  segments: e,
2568
- durationMs: t = ne.spilloverArcDurationMs,
2569
- staggerMs: n = ne.spilloverStaggerMs,
2568
+ durationMs: t = se.spilloverArcDurationMs,
2569
+ staggerMs: n = se.spilloverStaggerMs,
2570
2570
  className: a,
2571
- style: r
2571
+ style: s
2572
2572
  }) {
2573
- return e.length === 0 ? null : /* @__PURE__ */ i(
2573
+ return e.length === 0 ? null : /* @__PURE__ */ r(
2574
2574
  "svg",
2575
2575
  {
2576
2576
  className: ["gloss-spillover-arc", a].filter(Boolean).join(" "),
2577
2577
  "data-testid": "gloss-spillover-arc",
2578
2578
  "aria-hidden": "true",
2579
2579
  overflow: "visible",
2580
- style: { position: "absolute", inset: 0, pointerEvents: "none", ...r },
2581
- children: e.map((s, o) => /* @__PURE__ */ i(
2580
+ style: { position: "absolute", inset: 0, pointerEvents: "none", ...s },
2581
+ children: e.map((i, o) => /* @__PURE__ */ r(
2582
2582
  "path",
2583
2583
  {
2584
- "data-arc-id": s.id,
2584
+ "data-arc-id": i.id,
2585
2585
  className: "gloss-spillover-arc__path",
2586
- d: ia(s.fromX, s.fromY, s.toX, s.toY),
2586
+ d: ga(i.fromX, i.fromY, i.toX, i.toY),
2587
2587
  style: {
2588
2588
  animationDelay: `${o * n}ms`,
2589
2589
  animationDuration: `${t}ms`
2590
2590
  }
2591
2591
  },
2592
- s.id
2592
+ i.id
2593
2593
  ))
2594
2594
  }
2595
2595
  );
2596
2596
  }
2597
- function Un({
2597
+ function ir({
2598
2598
  state: e,
2599
2599
  staggerIndex: t = 0,
2600
- fadeInMs: n = ne.sectionDividerFadeInMs,
2601
- fadeOutMs: a = ne.sectionDividerFadeOutMs,
2602
- staggerMs: r = ne.sectionDividerStaggerMs,
2603
- variant: s = "dashed",
2600
+ fadeInMs: n = se.sectionDividerFadeInMs,
2601
+ fadeOutMs: a = se.sectionDividerFadeOutMs,
2602
+ staggerMs: s = se.sectionDividerStaggerMs,
2603
+ variant: i = "dashed",
2604
2604
  className: o,
2605
2605
  style: l,
2606
2606
  ...m
2607
2607
  }) {
2608
- const u = {
2608
+ const d = {
2609
2609
  "--gloss-section-divider-fade-in-ms": `${n}ms`,
2610
2610
  "--gloss-section-divider-fade-out-ms": `${a}ms`,
2611
- "--gloss-section-divider-stagger-delay": `${t * r}ms`,
2611
+ "--gloss-section-divider-stagger-delay": `${t * s}ms`,
2612
2612
  ...l
2613
2613
  };
2614
- return /* @__PURE__ */ i(
2614
+ return /* @__PURE__ */ r(
2615
2615
  "div",
2616
2616
  {
2617
2617
  ...m,
@@ -2621,49 +2621,49 @@ function Un({
2621
2621
  className: [
2622
2622
  "gloss-section-divider",
2623
2623
  `gloss-section-divider--state-${e}`,
2624
- s === "seam-bleed" ? "gloss-section-divider--variant-seam-bleed" : "",
2624
+ i === "seam-bleed" ? "gloss-section-divider--variant-seam-bleed" : "",
2625
2625
  o
2626
2626
  ].filter(Boolean).join(" "),
2627
- style: u
2627
+ style: d
2628
2628
  }
2629
2629
  );
2630
2630
  }
2631
- function jn({
2631
+ function or({
2632
2632
  enabled: e,
2633
2633
  onPack: t,
2634
2634
  ariaLabel: n = "Pack row (shift cards left)",
2635
2635
  className: a,
2636
- style: r
2636
+ style: s
2637
2637
  }) {
2638
- return /* @__PURE__ */ i(Ge, { visible: e, variant: "pack", trigger: "hover+focus", children: /* @__PURE__ */ i(
2638
+ return /* @__PURE__ */ r(Ze, { visible: e, variant: "pack", trigger: "hover+focus", children: /* @__PURE__ */ r(
2639
2639
  "button",
2640
2640
  {
2641
2641
  type: "button",
2642
2642
  "data-testid": "gloss-empty-cell-pack",
2643
2643
  "aria-label": n,
2644
2644
  className: ["gloss-empty-cell-pack-affordance", a].filter(Boolean).join(" "),
2645
- style: r,
2646
- onClick: (s) => {
2647
- s.stopPropagation(), t();
2645
+ style: s,
2646
+ onClick: (i) => {
2647
+ i.stopPropagation(), t();
2648
2648
  },
2649
- children: /* @__PURE__ */ i("span", { "aria-hidden": "true", className: "gloss-empty-cell-pack-affordance__glyph", children: "×" })
2649
+ children: /* @__PURE__ */ r("span", { "aria-hidden": "true", className: "gloss-empty-cell-pack-affordance__glyph", children: "×" })
2650
2650
  }
2651
2651
  ) });
2652
2652
  }
2653
- function Zn({
2653
+ function lr({
2654
2654
  tint: e,
2655
2655
  colSpan: t,
2656
2656
  colWidth: n,
2657
2657
  rowHeight: a,
2658
- gap: r,
2659
- x: s,
2658
+ gap: s,
2659
+ x: i,
2660
2660
  y: o,
2661
2661
  children: l,
2662
2662
  className: m
2663
2663
  }) {
2664
- const u = t * n + (t - 1) * r;
2665
- return /* @__PURE__ */ i(
2666
- ve.div,
2664
+ const d = t * n + (t - 1) * s;
2665
+ return /* @__PURE__ */ r(
2666
+ De.div,
2667
2667
  {
2668
2668
  "data-testid": "gloss-drag-ghost",
2669
2669
  "data-tint": e,
@@ -2673,44 +2673,44 @@ function Zn({
2673
2673
  `gloss-drag-ghost--tint-${e}`,
2674
2674
  m
2675
2675
  ].filter(Boolean).join(" "),
2676
- style: { x: s, y: o, width: u, height: a },
2676
+ style: { x: i, y: o, width: d, height: a },
2677
2677
  children: l
2678
2678
  }
2679
2679
  );
2680
2680
  }
2681
- const oa = 3;
2682
- function qn({
2681
+ const pa = 3;
2682
+ function cr({
2683
2683
  cell: e,
2684
2684
  colSpan: t,
2685
2685
  colWidth: n,
2686
2686
  gap: a,
2687
- rowHeight: r,
2688
- transitionMs: s = 120,
2687
+ rowHeight: s,
2688
+ transitionMs: i = 120,
2689
2689
  className: o
2690
2690
  }) {
2691
- const l = t * n + (t - 1) * a, u = (e.section * oa + e.col) * (n + a), p = e.row * (r + a);
2692
- return /* @__PURE__ */ i(
2691
+ const l = t * n + (t - 1) * a, d = (e.section * pa + e.col) * (n + a), g = e.row * (s + a);
2692
+ return /* @__PURE__ */ r(
2693
2693
  "div",
2694
2694
  {
2695
2695
  className: ["gloss-drag-feedback-snap-outline", o].filter(Boolean).join(" "),
2696
2696
  "data-testid": "gloss-snap-outline",
2697
2697
  "aria-hidden": "true",
2698
2698
  style: {
2699
- transform: `translate(${u}px, ${p}px)`,
2699
+ transform: `translate(${d}px, ${g}px)`,
2700
2700
  width: l,
2701
- height: r,
2702
- transition: `transform ${s}ms cubic-bezier(0.4, 0, 0.2, 1)`
2701
+ height: s,
2702
+ transition: `transform ${i}ms cubic-bezier(0.4, 0, 0.2, 1)`
2703
2703
  }
2704
2704
  }
2705
2705
  );
2706
2706
  }
2707
- function Yn({
2707
+ function dr({
2708
2708
  items: e,
2709
2709
  children: t,
2710
2710
  className: n
2711
2711
  }) {
2712
- return e.length === 0 ? null : /* @__PURE__ */ i(be, { children: e.map((a) => /* @__PURE__ */ i(
2713
- ve.div,
2712
+ return e.length === 0 ? null : /* @__PURE__ */ r(te, { children: e.map((a) => /* @__PURE__ */ r(
2713
+ De.div,
2714
2714
  {
2715
2715
  "data-card-id": a.cardId,
2716
2716
  "data-testid": "gloss-cascade-preview-item",
@@ -2722,29 +2722,29 @@ function Yn({
2722
2722
  a.cardId
2723
2723
  )) });
2724
2724
  }
2725
- const la = ({
2725
+ const ha = ({
2726
2726
  consumed: e,
2727
2727
  elapsed: t,
2728
2728
  severity: n = "neutral"
2729
2729
  }) => {
2730
- const a = T(null), r = T(null);
2730
+ const a = M(null), s = M(null);
2731
2731
  L(() => {
2732
2732
  const l = requestAnimationFrame(() => {
2733
- a.current && (a.current.style.width = `${e.value}%`), r.current && (r.current.style.width = `${t.value}%`);
2733
+ a.current && (a.current.style.width = `${e.value}%`), s.current && (s.current.style.width = `${t.value}%`);
2734
2734
  });
2735
2735
  return () => cancelAnimationFrame(l);
2736
2736
  }, [e.value, t.value]);
2737
- const s = e.label ?? "ACTUAL", o = t.label ?? "ELAPSED";
2738
- return /* @__PURE__ */ k(
2737
+ const i = e.label ?? "ACTUAL", o = t.label ?? "ELAPSED";
2738
+ return /* @__PURE__ */ D(
2739
2739
  "div",
2740
2740
  {
2741
2741
  className: "gloss-dual-pace-bars",
2742
2742
  role: "img",
2743
- "aria-label": `${s}: ${e.value}%, ${o}: ${t.value}%`,
2743
+ "aria-label": `${i}: ${e.value}%, ${o}: ${t.value}%`,
2744
2744
  children: [
2745
- /* @__PURE__ */ k("div", { className: "gloss-dual-pace-bars__row", children: [
2746
- /* @__PURE__ */ i("span", { className: "gloss-dual-pace-bars__track-label", children: s }),
2747
- /* @__PURE__ */ i("div", { className: "gloss-dual-pace-bars__track", children: /* @__PURE__ */ i(
2745
+ /* @__PURE__ */ D("div", { className: "gloss-dual-pace-bars__row", children: [
2746
+ /* @__PURE__ */ r("span", { className: "gloss-dual-pace-bars__track-label", children: i }),
2747
+ /* @__PURE__ */ r("div", { className: "gloss-dual-pace-bars__track", children: /* @__PURE__ */ r(
2748
2748
  "div",
2749
2749
  {
2750
2750
  ref: a,
@@ -2754,20 +2754,20 @@ const la = ({
2754
2754
  "aria-valuenow": e.value,
2755
2755
  "aria-valuemin": 0,
2756
2756
  "aria-valuemax": 100,
2757
- "aria-label": `${s}: ${e.value}%`
2757
+ "aria-label": `${i}: ${e.value}%`
2758
2758
  }
2759
2759
  ) }),
2760
- /* @__PURE__ */ k("span", { className: "gloss-dual-pace-bars__track-value", children: [
2760
+ /* @__PURE__ */ D("span", { className: "gloss-dual-pace-bars__track-value", children: [
2761
2761
  e.value,
2762
2762
  "%"
2763
2763
  ] })
2764
2764
  ] }),
2765
- /* @__PURE__ */ k("div", { className: "gloss-dual-pace-bars__row", children: [
2766
- /* @__PURE__ */ i("span", { className: "gloss-dual-pace-bars__track-label", children: o }),
2767
- /* @__PURE__ */ i("div", { className: "gloss-dual-pace-bars__track", children: /* @__PURE__ */ i(
2765
+ /* @__PURE__ */ D("div", { className: "gloss-dual-pace-bars__row", children: [
2766
+ /* @__PURE__ */ r("span", { className: "gloss-dual-pace-bars__track-label", children: o }),
2767
+ /* @__PURE__ */ r("div", { className: "gloss-dual-pace-bars__track", children: /* @__PURE__ */ r(
2768
2768
  "div",
2769
2769
  {
2770
- ref: r,
2770
+ ref: s,
2771
2771
  className: "gloss-dual-pace-bars__fill gloss-dual-pace-bars__fill--elapsed",
2772
2772
  style: { width: "0%" },
2773
2773
  role: "meter",
@@ -2777,7 +2777,7 @@ const la = ({
2777
2777
  "aria-label": `${o}: ${t.value}%`
2778
2778
  }
2779
2779
  ) }),
2780
- /* @__PURE__ */ k("span", { className: "gloss-dual-pace-bars__track-value", children: [
2780
+ /* @__PURE__ */ D("span", { className: "gloss-dual-pace-bars__track-value", children: [
2781
2781
  t.value,
2782
2782
  "%"
2783
2783
  ] })
@@ -2785,26 +2785,26 @@ const la = ({
2785
2785
  ]
2786
2786
  }
2787
2787
  );
2788
- }, ca = ({ label: e, value: t, severity: n }) => /* @__PURE__ */ k(
2788
+ }, fa = ({ label: e, value: t, severity: n }) => /* @__PURE__ */ D(
2789
2789
  "div",
2790
2790
  {
2791
2791
  className: `gloss-gap-readout gloss-gap-readout--${n}`,
2792
2792
  "aria-label": `${e}: ${t}`,
2793
2793
  children: [
2794
- /* @__PURE__ */ i("hr", { className: "gloss-gap-readout__separator" }),
2795
- /* @__PURE__ */ k("div", { className: "gloss-gap-readout__strip", children: [
2796
- /* @__PURE__ */ i("span", { className: "gloss-gap-readout__label", children: e }),
2797
- /* @__PURE__ */ i("span", { className: "gloss-gap-readout__value", children: t })
2794
+ /* @__PURE__ */ r("hr", { className: "gloss-gap-readout__separator" }),
2795
+ /* @__PURE__ */ D("div", { className: "gloss-gap-readout__strip", children: [
2796
+ /* @__PURE__ */ r("span", { className: "gloss-gap-readout__label", children: e }),
2797
+ /* @__PURE__ */ r("span", { className: "gloss-gap-readout__value", children: t })
2798
2798
  ] })
2799
2799
  ]
2800
2800
  }
2801
- ), da = ({ label: e, onSetTarget: t }) => /* @__PURE__ */ k("div", { className: "gloss-pace-placeholder", children: [
2802
- /* @__PURE__ */ i("p", { className: "gloss-pace-placeholder__heading", children: "Set a target" }),
2803
- /* @__PURE__ */ k("p", { className: "gloss-pace-placeholder__context", children: [
2801
+ ), va = ({ label: e, onSetTarget: t }) => /* @__PURE__ */ D("div", { className: "gloss-pace-placeholder", children: [
2802
+ /* @__PURE__ */ r("p", { className: "gloss-pace-placeholder__heading", children: "Set a target" }),
2803
+ /* @__PURE__ */ D("p", { className: "gloss-pace-placeholder__context", children: [
2804
2804
  "for ",
2805
2805
  e
2806
2806
  ] }),
2807
- /* @__PURE__ */ i(
2807
+ /* @__PURE__ */ r(
2808
2808
  "button",
2809
2809
  {
2810
2810
  type: "button",
@@ -2814,12 +2814,12 @@ const la = ({
2814
2814
  children: "Set target"
2815
2815
  }
2816
2816
  )
2817
- ] }), Qn = (e) => {
2818
- const [t, n] = $(!1), a = e.target?.value, r = a !== void 0, s = e.paceGapUnit === "usd" ? "$" : "%", o = /* @__PURE__ */ i(
2819
- wt,
2817
+ ] }), ur = (e) => {
2818
+ const [t, n] = $(!1), a = e.target?.value, s = a !== void 0, i = e.paceGapUnit === "usd" ? "$" : "%", o = /* @__PURE__ */ r(
2819
+ St,
2820
2820
  {
2821
2821
  label: `Set a target for ${e.label}`,
2822
- unit: s,
2822
+ unit: i,
2823
2823
  currentValue: a,
2824
2824
  onConfirm: (l) => {
2825
2825
  e.onTargetChange(l), n(!1);
@@ -2829,28 +2829,29 @@ const la = ({
2829
2829
  }
2830
2830
  }
2831
2831
  );
2832
- return /* @__PURE__ */ i(
2833
- rt,
2832
+ return /* @__PURE__ */ r(
2833
+ ut,
2834
2834
  {
2835
2835
  colSpan: 2,
2836
2836
  enableQuickSettings: !0,
2837
2837
  isFlipped: t,
2838
2838
  onFlipChange: n,
2839
2839
  quickConfigSlot: o,
2840
- children: /* @__PURE__ */ k("div", { className: `gloss-pace-card ${e.isStale ? "gloss-metric-data-stale" : ""}`, children: [
2841
- /* @__PURE__ */ i("div", { className: "gloss-pace-card__label", children: e.label }),
2842
- /* @__PURE__ */ i("div", { className: "gloss-pace-card__body", children: r ? /* @__PURE__ */ k(be, { children: [
2843
- /* @__PURE__ */ i(
2844
- la,
2840
+ onRemove: e.onRemove,
2841
+ children: /* @__PURE__ */ D("div", { className: `gloss-pace-card ${e.isStale ? "gloss-metric-data-stale" : ""}`, children: [
2842
+ /* @__PURE__ */ r("div", { className: "gloss-pace-card__label", children: e.label }),
2843
+ /* @__PURE__ */ r("div", { className: "gloss-pace-card__body", children: s ? /* @__PURE__ */ D(te, { children: [
2844
+ /* @__PURE__ */ r(
2845
+ ha,
2845
2846
  {
2846
2847
  consumed: e.consumed,
2847
2848
  elapsed: e.elapsed,
2848
2849
  severity: e.severity
2849
2850
  }
2850
2851
  ),
2851
- /* @__PURE__ */ i(ca, { label: "Gap", value: e.gapLabel, severity: e.severity })
2852
- ] }) : /* @__PURE__ */ i(
2853
- da,
2852
+ /* @__PURE__ */ r(fa, { label: "Gap", value: e.gapLabel, severity: e.severity })
2853
+ ] }) : /* @__PURE__ */ r(
2854
+ va,
2854
2855
  {
2855
2856
  label: e.label,
2856
2857
  onSetTarget: () => n(!0)
@@ -2859,55 +2860,55 @@ const la = ({
2859
2860
  ] })
2860
2861
  }
2861
2862
  );
2862
- }, Xn = () => /* @__PURE__ */ k("div", { className: "gloss-pace-tile-preview", "aria-hidden": "true", children: [
2863
- /* @__PURE__ */ i(
2863
+ }, mr = () => /* @__PURE__ */ D("div", { className: "gloss-pace-tile-preview", "aria-hidden": "true", children: [
2864
+ /* @__PURE__ */ r(
2864
2865
  "div",
2865
2866
  {
2866
2867
  className: "gloss-pace-tile-preview__bar gloss-pace-tile-preview__bar--consumed",
2867
2868
  style: { width: "78%" }
2868
2869
  }
2869
2870
  ),
2870
- /* @__PURE__ */ i(
2871
+ /* @__PURE__ */ r(
2871
2872
  "div",
2872
2873
  {
2873
2874
  className: "gloss-pace-tile-preview__bar gloss-pace-tile-preview__bar--elapsed",
2874
2875
  style: { width: "60%" }
2875
2876
  }
2876
2877
  ),
2877
- /* @__PURE__ */ i("div", { className: "gloss-pace-tile-preview__gap-strip" })
2878
+ /* @__PURE__ */ r("div", { className: "gloss-pace-tile-preview__gap-strip" })
2878
2879
  ] });
2879
- function ua({ id: e, label: t, selected: n, focused: a, disabled: r, badge: s, onClick: o }) {
2880
- return /* @__PURE__ */ i(
2880
+ function ba({ id: e, label: t, selected: n, focused: a, disabled: s, badge: i, onClick: o }) {
2881
+ return /* @__PURE__ */ r(
2881
2882
  "span",
2882
2883
  {
2883
2884
  role: "radio",
2884
2885
  "aria-checked": n,
2885
- "aria-disabled": r || void 0,
2886
+ "aria-disabled": s || void 0,
2886
2887
  tabIndex: a ? 0 : -1,
2887
2888
  className: "gloss-lens-chip",
2888
2889
  "data-selected": n || void 0,
2889
- "data-disabled": r || void 0,
2890
+ "data-disabled": s || void 0,
2890
2891
  onClick: () => {
2891
- r || o(e);
2892
+ s || o(e);
2892
2893
  },
2893
- children: /* @__PURE__ */ k(st, { selected: n, disabled: r, variant: "soft", size: "sm", children: [
2894
- /* @__PURE__ */ i("span", { className: "gloss-lens-chip__label", children: t }),
2895
- s && /* @__PURE__ */ i("span", { className: "gloss-lens-chip__badge", children: s })
2894
+ children: /* @__PURE__ */ D(mt, { selected: n, disabled: s, variant: "soft", size: "sm", children: [
2895
+ /* @__PURE__ */ r("span", { className: "gloss-lens-chip__label", children: t }),
2896
+ i && /* @__PURE__ */ r("span", { className: "gloss-lens-chip__badge", children: i })
2896
2897
  ] })
2897
2898
  }
2898
2899
  );
2899
2900
  }
2900
- function ma({
2901
+ function ya({
2901
2902
  lenses: e,
2902
2903
  value: t,
2903
2904
  onChange: n,
2904
2905
  "aria-label": a = "Lens"
2905
2906
  }) {
2906
2907
  if (e.length === 0) return null;
2907
- const [r, s] = $(
2908
+ const [s, i] = $(
2908
2909
  () => Math.max(0, e.findIndex((l) => l.id === t))
2909
2910
  );
2910
- return /* @__PURE__ */ i(
2911
+ return /* @__PURE__ */ r(
2911
2912
  "div",
2912
2913
  {
2913
2914
  role: "radiogroup",
@@ -2916,35 +2917,35 @@ function ma({
2916
2917
  switch (l.key) {
2917
2918
  case "ArrowRight":
2918
2919
  case "ArrowDown":
2919
- l.preventDefault(), s((m) => (m + 1) % e.length);
2920
+ l.preventDefault(), i((m) => (m + 1) % e.length);
2920
2921
  break;
2921
2922
  case "ArrowLeft":
2922
2923
  case "ArrowUp":
2923
- l.preventDefault(), s((m) => (m - 1 + e.length) % e.length);
2924
+ l.preventDefault(), i((m) => (m - 1 + e.length) % e.length);
2924
2925
  break;
2925
2926
  case "Home":
2926
- l.preventDefault(), s(0);
2927
+ l.preventDefault(), i(0);
2927
2928
  break;
2928
2929
  case "End":
2929
- l.preventDefault(), s(e.length - 1);
2930
+ l.preventDefault(), i(e.length - 1);
2930
2931
  break;
2931
2932
  case "Enter":
2932
2933
  case " ": {
2933
2934
  l.preventDefault();
2934
- const m = e[r];
2935
+ const m = e[s];
2935
2936
  m && !m.disabled && n(m.id);
2936
2937
  break;
2937
2938
  }
2938
2939
  }
2939
2940
  },
2940
2941
  className: "gloss-lens-chip-group",
2941
- children: e.map((l, m) => /* @__PURE__ */ i(
2942
- ua,
2942
+ children: e.map((l, m) => /* @__PURE__ */ r(
2943
+ ba,
2943
2944
  {
2944
2945
  id: l.id,
2945
2946
  label: l.label,
2946
2947
  selected: l.id === t,
2947
- focused: m === r,
2948
+ focused: m === s,
2948
2949
  disabled: l.disabled,
2949
2950
  badge: l.badge,
2950
2951
  onClick: n
@@ -2954,26 +2955,317 @@ function ma({
2954
2955
  }
2955
2956
  );
2956
2957
  }
2957
- ma.displayName = "LensChipGroup";
2958
- function ga({ heading: e, children: t }) {
2959
- return !t || Array.isArray(t) && t.length === 0 ? null : /* @__PURE__ */ k("section", { className: "gloss-starter-rail", "aria-label": e, children: [
2960
- /* @__PURE__ */ i("header", { className: "gloss-starter-rail__heading", children: e }),
2961
- /* @__PURE__ */ i("div", { className: "gloss-starter-rail__tiles", children: t })
2958
+ ya.displayName = "LensChipGroup";
2959
+ function wa({ heading: e, children: t }) {
2960
+ return !t || Array.isArray(t) && t.length === 0 ? null : /* @__PURE__ */ D("section", { className: "gloss-starter-rail", "aria-label": e, children: [
2961
+ /* @__PURE__ */ r("header", { className: "gloss-starter-rail__heading", children: e }),
2962
+ /* @__PURE__ */ r("div", { className: "gloss-starter-rail__tiles", children: t })
2962
2963
  ] });
2963
2964
  }
2964
- ga.displayName = "StarterRail";
2965
- function pa({ heading: e, children: t, emptyStateLabel: n }) {
2965
+ wa.displayName = "StarterRail";
2966
+ function _a({ heading: e, children: t, emptyStateLabel: n }) {
2966
2967
  const a = !t || Array.isArray(t) && t.length === 0;
2967
- return /* @__PURE__ */ k("section", { className: "gloss-more-in-lens-rail", "aria-label": e, children: [
2968
- /* @__PURE__ */ i("header", { className: "gloss-more-in-lens-rail__heading", children: e }),
2969
- /* @__PURE__ */ k("div", { className: "gloss-more-in-lens-rail__tiles", children: [
2968
+ return /* @__PURE__ */ D("section", { className: "gloss-more-in-lens-rail", "aria-label": e, children: [
2969
+ /* @__PURE__ */ r("header", { className: "gloss-more-in-lens-rail__heading", children: e }),
2970
+ /* @__PURE__ */ D("div", { className: "gloss-more-in-lens-rail__tiles", children: [
2970
2971
  t,
2971
- a && n && /* @__PURE__ */ i("p", { className: "gloss-more-in-lens-rail__empty", children: n })
2972
+ a && n && /* @__PURE__ */ r("p", { className: "gloss-more-in-lens-rail__empty", children: n })
2973
+ ] })
2974
+ ] });
2975
+ }
2976
+ _a.displayName = "MoreInLensRail";
2977
+ function X({
2978
+ lead: e,
2979
+ name: t,
2980
+ secondary: n,
2981
+ value: a,
2982
+ trail: s,
2983
+ variant: i = "default",
2984
+ onClick: o,
2985
+ className: l,
2986
+ style: m
2987
+ }) {
2988
+ const d = [
2989
+ "gloss-entity-row",
2990
+ `gloss-entity-row--${i}`,
2991
+ o ? "gloss-entity-row--clickable" : "",
2992
+ l ?? ""
2993
+ ].filter(Boolean).join(" "), g = /* @__PURE__ */ D(te, { children: [
2994
+ e !== void 0 && /* @__PURE__ */ r("span", { className: "gloss-entity-row__lead", children: e }),
2995
+ /* @__PURE__ */ r("span", { className: "gloss-entity-row__name", title: t, children: t }),
2996
+ n !== void 0 && /* @__PURE__ */ r("span", { className: "gloss-entity-row__secondary", children: n }),
2997
+ /* @__PURE__ */ r("span", { className: "gloss-entity-row__value", children: a }),
2998
+ s !== void 0 && /* @__PURE__ */ r("span", { className: "gloss-entity-row__trail", children: s })
2999
+ ] });
3000
+ return o ? /* @__PURE__ */ r("div", { role: "listitem", className: d, style: m, children: /* @__PURE__ */ r(
3001
+ "button",
3002
+ {
3003
+ type: "button",
3004
+ style: {
3005
+ all: "unset",
3006
+ display: "flex",
3007
+ width: "100%",
3008
+ alignItems: "center",
3009
+ gap: 4,
3010
+ cursor: "pointer"
3011
+ },
3012
+ onClick: (f) => {
3013
+ f.stopPropagation(), o();
3014
+ },
3015
+ children: g
3016
+ }
3017
+ ) }) : /* @__PURE__ */ r("div", { role: "listitem", className: d, style: m, children: g });
3018
+ }
3019
+ X.displayName = "EntityRow";
3020
+ const fe = ({ rank: e }) => {
3021
+ const t = e === 1 ? "first" : "other";
3022
+ return /* @__PURE__ */ r(
3023
+ "span",
3024
+ {
3025
+ role: "img",
3026
+ "aria-label": `Rank ${e}`,
3027
+ className: `gloss-rank-badge gloss-rank-badge--${t}`,
3028
+ children: e
3029
+ }
3030
+ );
3031
+ };
3032
+ fe.displayName = "RankBadge";
3033
+ function ve({ severity: e, "aria-label": t }) {
3034
+ return /* @__PURE__ */ r(
3035
+ "span",
3036
+ {
3037
+ role: "img",
3038
+ "aria-label": t,
3039
+ className: `gloss-severity-dot gloss-severity-dot--${e}`
3040
+ }
3041
+ );
3042
+ }
3043
+ ve.displayName = "SeverityDot";
3044
+ function tt({
3045
+ delta: e,
3046
+ direction: t = "flat",
3047
+ "aria-label": n
3048
+ }) {
3049
+ if (e === "new")
3050
+ return /* @__PURE__ */ r(
3051
+ "span",
3052
+ {
3053
+ role: "img",
3054
+ "aria-label": n,
3055
+ className: "gloss-rank-delta gloss-rank-delta--new",
3056
+ children: "NEW"
3057
+ }
3058
+ );
3059
+ const a = t === "up" ? "▲" : t === "down" ? "▼" : "—";
3060
+ return /* @__PURE__ */ D(
3061
+ "span",
3062
+ {
3063
+ role: "img",
3064
+ "aria-label": n,
3065
+ className: `gloss-rank-delta gloss-rank-delta--${t}`,
3066
+ children: [
3067
+ a,
3068
+ e
3069
+ ]
3070
+ }
3071
+ );
3072
+ }
3073
+ tt.displayName = "RankDelta";
3074
+ function be({ fill: e, variant: t = "default", className: n }) {
3075
+ const a = Math.max(0, Math.min(100, e));
3076
+ return /* @__PURE__ */ r(
3077
+ "div",
3078
+ {
3079
+ "aria-hidden": "true",
3080
+ className: [
3081
+ "gloss-magnitude-bar",
3082
+ `gloss-magnitude-bar--${t}`,
3083
+ n ?? ""
3084
+ ].filter(Boolean).join(" "),
3085
+ style: { "--_fill": `${a}%` },
3086
+ children: /* @__PURE__ */ r("div", { className: "gloss-magnitude-bar__fill" })
3087
+ }
3088
+ );
3089
+ }
3090
+ be.displayName = "MagnitudeBar";
3091
+ const Na = (e) => e.rankDelta === "new" ? "New entry" : e.direction === "up" ? `Rank up ${e.rankDelta}` : e.direction === "down" ? `Rank down ${e.rankDelta}` : "Rank unchanged";
3092
+ function Da({
3093
+ label: e,
3094
+ rows: t,
3095
+ rowCount: n,
3096
+ rankDeltaPeriod: a,
3097
+ isStale: s
3098
+ }) {
3099
+ const i = n ?? 3;
3100
+ return /* @__PURE__ */ D(te, { children: [
3101
+ /* @__PURE__ */ r(
3102
+ pe,
3103
+ {
3104
+ className: "gloss-metric-card__zone-a",
3105
+ style: { height: 28, flexShrink: 0, zIndex: 2, position: "relative" },
3106
+ children: /* @__PURE__ */ r(Te, { className: "gloss-metric-card__label", children: e })
3107
+ }
3108
+ ),
3109
+ /* @__PURE__ */ r(
3110
+ pe,
3111
+ {
3112
+ className: `gloss-metric-card__zone-b gloss-leaderboard ${s ? "gloss-metric-data-stale" : ""}`,
3113
+ style: { flex: 1, zIndex: 2, position: "relative", minHeight: 0 },
3114
+ children: /* @__PURE__ */ r("div", { className: "gloss-leaderboard__rows", role: "list", children: t.slice(0, i).map((o, l) => /* @__PURE__ */ r(
3115
+ X,
3116
+ {
3117
+ lead: /* @__PURE__ */ r(fe, { rank: l + 1 }),
3118
+ name: o.name,
3119
+ secondary: /* @__PURE__ */ r(
3120
+ be,
3121
+ {
3122
+ fill: o.magnitude,
3123
+ variant: o.isBottom ? "bottom" : "default"
3124
+ }
3125
+ ),
3126
+ value: o.value,
3127
+ trail: /* @__PURE__ */ r(
3128
+ tt,
3129
+ {
3130
+ delta: o.rankDelta,
3131
+ direction: o.direction,
3132
+ "aria-label": Na(o)
3133
+ }
3134
+ ),
3135
+ variant: "leaderboard",
3136
+ style: { "--i": l }
3137
+ },
3138
+ o.id
3139
+ )) })
3140
+ }
3141
+ ),
3142
+ /* @__PURE__ */ D("div", { className: "gloss-leaderboard__zone-c", children: [
3143
+ a ?? "WoW",
3144
+ " rank change"
2972
3145
  ] })
2973
3146
  ] });
2974
3147
  }
2975
- pa.displayName = "MoreInLensRail";
2976
- const te = {
3148
+ Da.displayName = "LeaderboardCard";
3149
+ const Ca = () => /* @__PURE__ */ D(
3150
+ "div",
3151
+ {
3152
+ className: "leaderboard-tile-preview",
3153
+ "aria-hidden": "true",
3154
+ style: { transform: "scale(0.6)", transformOrigin: "top left" },
3155
+ children: [
3156
+ /* @__PURE__ */ r(X, { lead: /* @__PURE__ */ r(fe, { rank: 1 }), name: "Vendor A", secondary: /* @__PURE__ */ r(be, { fill: 96 }), value: "98%" }),
3157
+ /* @__PURE__ */ r(X, { lead: /* @__PURE__ */ r(fe, { rank: 2 }), name: "Vendor B", secondary: /* @__PURE__ */ r(be, { fill: 72 }), value: "85%" }),
3158
+ /* @__PURE__ */ r(X, { lead: /* @__PURE__ */ r(fe, { rank: 3 }), name: "Vendor C", secondary: /* @__PURE__ */ r(be, { fill: 48 }), value: "71%" })
3159
+ ]
3160
+ }
3161
+ );
3162
+ Ca.displayName = "LeaderboardTilePreview";
3163
+ const ka = (e) => e === "critical" ? "Critical severity" : e === "warn" ? "Warning severity" : "Info severity", xa = (e, t) => {
3164
+ const n = e.sourceValue;
3165
+ if (typeof n != "number") return !1;
3166
+ switch (t.condition) {
3167
+ case "lt":
3168
+ return n < t.threshold;
3169
+ case "gt":
3170
+ return n > t.threshold;
3171
+ case "eq":
3172
+ return n === t.threshold;
3173
+ case "gte":
3174
+ return n >= t.threshold;
3175
+ case "lte":
3176
+ return n <= t.threshold;
3177
+ default:
3178
+ return !1;
3179
+ }
3180
+ };
3181
+ function Sa({
3182
+ label: e,
3183
+ rows: t,
3184
+ rule: n,
3185
+ rowCount: a,
3186
+ emptyStateLabel: s,
3187
+ ruleSubtitle: i,
3188
+ isStale: o
3189
+ }) {
3190
+ const l = t.filter((d) => xa(d, n)), m = l.slice(0, a ?? 3);
3191
+ return l.length === 0 ? /* @__PURE__ */ D(te, { children: [
3192
+ /* @__PURE__ */ r(
3193
+ pe,
3194
+ {
3195
+ className: "gloss-metric-card__zone-a",
3196
+ style: { height: 28, flexShrink: 0, zIndex: 2, position: "relative" },
3197
+ children: /* @__PURE__ */ r(Te, { className: "gloss-metric-card__label", children: e })
3198
+ }
3199
+ ),
3200
+ /* @__PURE__ */ r("div", { className: "gloss-exception-list__empty", role: "status", children: s ?? "No exceptions" }),
3201
+ i && /* @__PURE__ */ r("div", { className: "gloss-exception-list__zone-c", children: i })
3202
+ ] }) : /* @__PURE__ */ D(te, { children: [
3203
+ /* @__PURE__ */ r(
3204
+ pe,
3205
+ {
3206
+ className: "gloss-metric-card__zone-a",
3207
+ style: { height: 28, flexShrink: 0, zIndex: 2, position: "relative" },
3208
+ children: /* @__PURE__ */ r(Te, { className: "gloss-metric-card__label", children: e })
3209
+ }
3210
+ ),
3211
+ /* @__PURE__ */ r(
3212
+ pe,
3213
+ {
3214
+ className: `gloss-metric-card__zone-b gloss-exception-list ${o ? "gloss-metric-data-stale" : ""}`,
3215
+ style: { flex: 1, zIndex: 2, position: "relative", minHeight: 0 },
3216
+ children: /* @__PURE__ */ r("div", { className: "gloss-exception-list__rows", role: "list", children: m.map((d, g) => /* @__PURE__ */ r(
3217
+ X,
3218
+ {
3219
+ lead: /* @__PURE__ */ r(ve, { severity: d.severity, "aria-label": ka(d.severity) }),
3220
+ name: d.name,
3221
+ value: d.value,
3222
+ variant: "exception",
3223
+ style: { "--i": g }
3224
+ },
3225
+ d.id
3226
+ )) })
3227
+ }
3228
+ ),
3229
+ i && /* @__PURE__ */ r("div", { className: "gloss-exception-list__zone-c", children: i })
3230
+ ] });
3231
+ }
3232
+ Sa.displayName = "ExceptionListCard";
3233
+ const Ra = () => /* @__PURE__ */ D(
3234
+ "div",
3235
+ {
3236
+ className: "exception-list-tile-preview",
3237
+ "aria-hidden": "true",
3238
+ style: { transform: "scale(0.6)", transformOrigin: "top left" },
3239
+ children: [
3240
+ /* @__PURE__ */ r(
3241
+ X,
3242
+ {
3243
+ lead: /* @__PURE__ */ r(ve, { severity: "critical", "aria-label": "Critical severity" }),
3244
+ name: "SKU A",
3245
+ value: "0 on hand"
3246
+ }
3247
+ ),
3248
+ /* @__PURE__ */ r(
3249
+ X,
3250
+ {
3251
+ lead: /* @__PURE__ */ r(ve, { severity: "warn", "aria-label": "Warning severity" }),
3252
+ name: "SKU B",
3253
+ value: "3 units"
3254
+ }
3255
+ ),
3256
+ /* @__PURE__ */ r(
3257
+ X,
3258
+ {
3259
+ lead: /* @__PURE__ */ r(ve, { severity: "info", "aria-label": "Info severity" }),
3260
+ name: "SKU C",
3261
+ value: "12 days"
3262
+ }
3263
+ )
3264
+ ]
3265
+ }
3266
+ );
3267
+ Ra.displayName = "ExceptionListTilePreview";
3268
+ const ne = {
2977
3269
  "gloss-inline-nudge": "_gloss-inline-nudge_kdk88_34",
2978
3270
  "gloss-inline-nudge__message": "_gloss-inline-nudge__message_kdk88_65",
2979
3271
  "gloss-inline-nudge__actions": "_gloss-inline-nudge__actions_kdk88_72",
@@ -2981,57 +3273,57 @@ const te = {
2981
3273
  "gloss-inline-nudge__btn--action": "_gloss-inline-nudge__btn--action_kdk88_88",
2982
3274
  "gloss-inline-nudge__btn--dismiss": "_gloss-inline-nudge__btn--dismiss_kdk88_96"
2983
3275
  };
2984
- function fa({
3276
+ function Ma({
2985
3277
  message: e,
2986
3278
  primaryAction: t,
2987
3279
  onDismiss: n,
2988
3280
  anchorEl: a,
2989
- anchorSelector: r
3281
+ anchorSelector: s
2990
3282
  }) {
2991
- const [s, o] = V.useState(null), l = V.useMemo(
3283
+ const [i, o] = H.useState(null), l = H.useMemo(
2992
3284
  () => typeof window < "u" && window.matchMedia ? window.matchMedia("(prefers-reduced-motion: reduce)").matches : !1,
2993
3285
  []
2994
3286
  );
2995
- V.useEffect(() => {
2996
- !a && !r && (typeof process > "u" || process.env.NODE_ENV !== "production") && console.error(
3287
+ H.useEffect(() => {
3288
+ !a && !s && (typeof process > "u" || process.env.NODE_ENV !== "production") && console.error(
2997
3289
  "[InlineNudge] requires anchorEl or anchorSelector. AP-07: Do not mount InlineNudge in Layout/** or _app.tsx."
2998
3290
  );
2999
- }, [a, r]), V.useLayoutEffect(() => {
3000
- let u = null;
3001
- if (a ? u = a : r && (u = document.querySelector(r)), u) {
3002
- const p = u.getBoundingClientRect();
3291
+ }, [a, s]), H.useLayoutEffect(() => {
3292
+ let d = null;
3293
+ if (a ? d = a : s && (d = document.querySelector(s)), d) {
3294
+ const g = d.getBoundingClientRect();
3003
3295
  o({
3004
- top: p.bottom + window.scrollY + 6,
3005
- left: p.left + window.scrollX
3296
+ top: g.bottom + window.scrollY + 6,
3297
+ left: g.left + window.scrollX
3006
3298
  });
3007
3299
  }
3008
- }, [a, r]);
3009
- const m = s ? { top: s.top, left: s.left } : {};
3010
- return /* @__PURE__ */ k(
3300
+ }, [a, s]);
3301
+ const m = i ? { top: i.top, left: i.left } : {};
3302
+ return /* @__PURE__ */ D(
3011
3303
  "div",
3012
3304
  {
3013
- className: te["gloss-inline-nudge"],
3305
+ className: ne["gloss-inline-nudge"],
3014
3306
  style: m,
3015
3307
  role: "status",
3016
3308
  "aria-live": "polite",
3017
3309
  "data-reduced-motion": l ? "true" : void 0,
3018
3310
  children: [
3019
- /* @__PURE__ */ i("span", { className: te["gloss-inline-nudge__message"], children: e }),
3020
- /* @__PURE__ */ k("div", { className: te["gloss-inline-nudge__actions"], children: [
3021
- /* @__PURE__ */ i(
3311
+ /* @__PURE__ */ r("span", { className: ne["gloss-inline-nudge__message"], children: e }),
3312
+ /* @__PURE__ */ D("div", { className: ne["gloss-inline-nudge__actions"], children: [
3313
+ /* @__PURE__ */ r(
3022
3314
  "button",
3023
3315
  {
3024
3316
  type: "button",
3025
- className: `${te["gloss-inline-nudge__btn"]} ${te["gloss-inline-nudge__btn--action"]}`,
3317
+ className: `${ne["gloss-inline-nudge__btn"]} ${ne["gloss-inline-nudge__btn--action"]}`,
3026
3318
  onClick: t.onClick,
3027
3319
  children: t.label
3028
3320
  }
3029
3321
  ),
3030
- /* @__PURE__ */ i(
3322
+ /* @__PURE__ */ r(
3031
3323
  "button",
3032
3324
  {
3033
3325
  type: "button",
3034
- className: `${te["gloss-inline-nudge__btn"]} ${te["gloss-inline-nudge__btn--dismiss"]}`,
3326
+ className: `${ne["gloss-inline-nudge__btn"]} ${ne["gloss-inline-nudge__btn--dismiss"]}`,
3035
3327
  onClick: n,
3036
3328
  "aria-label": "Dismiss",
3037
3329
  children: "Dismiss"
@@ -3042,46 +3334,46 @@ function fa({
3042
3334
  }
3043
3335
  );
3044
3336
  }
3045
- fa.displayName = "InlineNudge";
3046
- function Me(e) {
3337
+ Ma.displayName = "InlineNudge";
3338
+ function Ee(e) {
3047
3339
  return e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888";
3048
3340
  }
3049
- function ha(e, t, n) {
3341
+ function Ta(e, t, n) {
3050
3342
  if (n <= t) {
3051
- const o = e[0], l = o ? Me(o) : "#888";
3343
+ const o = e[0], l = o ? Ee(o) : "#888";
3052
3344
  return `linear-gradient(to right, ${l}, ${l})`;
3053
3345
  }
3054
- const a = n - t, s = [...e].sort((o, l) => o.value - l.value).map((o) => {
3346
+ const a = n - t, i = [...e].sort((o, l) => o.value - l.value).map((o) => {
3055
3347
  const l = (o.value - t) / a * 100;
3056
- return `${Me(o)} ${l.toFixed(2)}%`;
3348
+ return `${Ee(o)} ${l.toFixed(2)}%`;
3057
3349
  });
3058
- 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(", ")})`;
3350
+ return i.length === 0 ? "linear-gradient(to right, #888 0%, #888 100%)" : i.length === 1 ? `linear-gradient(to right, ${i[0]}, ${i[0]})` : `linear-gradient(to right, ${i.join(", ")})`;
3059
3351
  }
3060
- function ba(e) {
3352
+ function Ia(e) {
3061
3353
  return e.map((t) => `${t.id}:${t.value}`).join("|");
3062
3354
  }
3063
- function va({
3355
+ function Pa({
3064
3356
  stops: e,
3065
3357
  onChange: t,
3066
3358
  min: n = 0,
3067
3359
  max: a = 100,
3068
- step: r,
3069
- disabled: s = !1
3360
+ step: s,
3361
+ disabled: i = !1
3070
3362
  }) {
3071
- const o = r === void 0 ? 0.01 : !Number.isFinite(r) || r <= 0 ? (process.env.NODE_ENV !== "production" && console.warn(
3072
- `ThresholdRamp: step (${r}) must be a positive finite number; falling back to 0.01.`
3073
- ), 0.01) : r, l = w(
3363
+ const o = s === void 0 ? 0.01 : !Number.isFinite(s) || s <= 0 ? (process.env.NODE_ENV !== "production" && console.warn(
3364
+ `ThresholdRamp: step (${s}) must be a positive finite number; falling back to 0.01.`
3365
+ ), 0.01) : s, l = w(
3074
3366
  (c) => Math.round(c / o) * o,
3075
3367
  [o]
3076
- ), m = T(null), [u, p] = $(null), [h, d] = $(e), g = ba(e), _ = T(g);
3368
+ ), m = M(null), [d, g] = $(null), [f, u] = $(e), p = Ia(e), N = M(p);
3077
3369
  L(() => {
3078
- _.current !== g && (_.current = g, !u && d(e));
3079
- }, [g, e, u]);
3080
- const y = ge(() => ha(h, n, a), [h, n, a]), f = w(
3370
+ N.current !== p && (N.current = p, !d && u(e));
3371
+ }, [p, e, d]);
3372
+ const y = ye(() => Ta(f, n, a), [f, n, a]), h = w(
3081
3373
  (c) => {
3082
3374
  if (!m.current) return n;
3083
- const b = m.current.getBoundingClientRect(), D = b.width || 1, S = Math.max(0, Math.min(1, (c - b.left) / D)), v = n + S * (a - n);
3084
- return l(v);
3375
+ const v = m.current.getBoundingClientRect(), _ = v.width || 1, S = Math.max(0, Math.min(1, (c - v.left) / _)), b = n + S * (a - n);
3376
+ return l(b);
3085
3377
  },
3086
3378
  [n, a, l]
3087
3379
  );
@@ -3090,94 +3382,94 @@ function va({
3090
3382
  `ThresholdRamp: max (${a}) must be greater than min (${n}); rendering degenerate strip.`
3091
3383
  );
3092
3384
  }, [n, a]);
3093
- const M = w(
3094
- (c, b) => {
3095
- const D = h.find((S) => S.id === b);
3096
- s || D?.disabled || (c.preventDefault(), p(b));
3385
+ const R = w(
3386
+ (c, v) => {
3387
+ const _ = f.find((S) => S.id === v);
3388
+ i || _?.disabled || (c.preventDefault(), g(v));
3097
3389
  },
3098
- [s, h]
3099
- ), P = T(h);
3100
- P.current = h;
3101
- const C = T(t);
3102
- C.current = t, L(() => {
3103
- if (!u) return;
3104
- const c = (D) => {
3105
- const S = f(D.clientX);
3106
- d(
3107
- (v) => v.map((x) => x.id === u ? { ...x, value: S } : x)
3390
+ [i, f]
3391
+ ), P = M(f);
3392
+ P.current = f;
3393
+ const k = M(t);
3394
+ k.current = t, L(() => {
3395
+ if (!d) return;
3396
+ const c = (_) => {
3397
+ const S = h(_.clientX);
3398
+ u(
3399
+ (b) => b.map((x) => x.id === d ? { ...x, value: S } : x)
3108
3400
  );
3109
- }, b = (D) => {
3110
- const S = f(D.clientX), v = P.current.map(
3111
- (x) => x.id === u ? { ...x, value: S } : x
3401
+ }, v = (_) => {
3402
+ const S = h(_.clientX), b = P.current.map(
3403
+ (x) => x.id === d ? { ...x, value: S } : x
3112
3404
  );
3113
- d(v), p(null), C.current(v);
3405
+ u(b), g(null), k.current(b);
3114
3406
  };
3115
- return window.addEventListener("pointermove", c), window.addEventListener("pointerup", b), window.addEventListener("pointercancel", b), () => {
3116
- window.removeEventListener("pointermove", c), window.removeEventListener("pointerup", b), window.removeEventListener("pointercancel", b);
3407
+ return window.addEventListener("pointermove", c), window.addEventListener("pointerup", v), window.addEventListener("pointercancel", v), () => {
3408
+ window.removeEventListener("pointermove", c), window.removeEventListener("pointerup", v), window.removeEventListener("pointercancel", v);
3117
3409
  };
3118
- }, [u, f]);
3119
- const R = a - n > 0 ? a - n : 1, I = w(
3120
- (c, b) => {
3121
- if (s || b.disabled) return;
3122
- const D = a - n;
3123
- if (D <= 0) return;
3124
- const S = c.shiftKey ? D / 20 : D / 100;
3125
- let v = b.value;
3410
+ }, [d, h]);
3411
+ const T = a - n > 0 ? a - n : 1, I = w(
3412
+ (c, v) => {
3413
+ if (i || v.disabled) return;
3414
+ const _ = a - n;
3415
+ if (_ <= 0) return;
3416
+ const S = c.shiftKey ? _ / 20 : _ / 100;
3417
+ let b = v.value;
3126
3418
  switch (c.key) {
3127
3419
  case "ArrowRight":
3128
3420
  case "ArrowUp":
3129
- v = b.value + S;
3421
+ b = v.value + S;
3130
3422
  break;
3131
3423
  case "ArrowLeft":
3132
3424
  case "ArrowDown":
3133
- v = b.value - S;
3425
+ b = v.value - S;
3134
3426
  break;
3135
3427
  case "Home":
3136
- v = n;
3428
+ b = n;
3137
3429
  break;
3138
3430
  case "End":
3139
- v = a;
3431
+ b = a;
3140
3432
  break;
3141
3433
  default:
3142
3434
  return;
3143
3435
  }
3144
3436
  c.preventDefault();
3145
- const x = Math.max(n, Math.min(a, v)), F = l(x);
3146
- if (F === b.value) return;
3147
- const U = h.map(
3148
- (q) => q.id === b.id ? { ...q, value: F } : q
3437
+ const x = Math.max(n, Math.min(a, b)), F = l(x);
3438
+ if (F === v.value) return;
3439
+ const U = f.map(
3440
+ (q) => q.id === v.id ? { ...q, value: F } : q
3149
3441
  );
3150
- d(U), t(U);
3442
+ u(U), t(U);
3151
3443
  },
3152
- [s, n, a, h, t, l]
3444
+ [i, n, a, f, t, l]
3153
3445
  );
3154
- return /* @__PURE__ */ i("div", { className: "gloss-threshold-ramp", "data-disabled": s || void 0, children: /* @__PURE__ */ i(
3446
+ return /* @__PURE__ */ r("div", { className: "gloss-threshold-ramp", "data-disabled": i || void 0, children: /* @__PURE__ */ r(
3155
3447
  "div",
3156
3448
  {
3157
3449
  ref: m,
3158
3450
  className: "gloss-threshold-ramp__track",
3159
3451
  style: { background: y },
3160
- children: h.map((c) => {
3161
- const b = (c.value - n) / R * 100;
3162
- return /* @__PURE__ */ i(
3452
+ children: f.map((c) => {
3453
+ const v = (c.value - n) / T * 100;
3454
+ return /* @__PURE__ */ r(
3163
3455
  "span",
3164
3456
  {
3165
3457
  className: "gloss-threshold-ramp__stop",
3166
3458
  style: {
3167
- left: `${b}%`,
3168
- color: Me(c)
3459
+ left: `${v}%`,
3460
+ color: Ee(c)
3169
3461
  },
3170
3462
  "data-disabled": c.disabled || void 0,
3171
- "data-dragging": u === c.id || void 0,
3172
- onPointerDown: (D) => M(D, c.id),
3173
- onKeyDown: (D) => I(D, c),
3463
+ "data-dragging": d === c.id || void 0,
3464
+ onPointerDown: (_) => R(_, c.id),
3465
+ onKeyDown: (_) => I(_, c),
3174
3466
  "aria-label": c.label ?? `Stop at ${c.value}`,
3175
3467
  role: "slider",
3176
3468
  "aria-valuenow": c.value,
3177
3469
  "aria-valuemin": n,
3178
3470
  "aria-valuemax": a,
3179
- "aria-disabled": c.disabled || s || void 0,
3180
- tabIndex: c.disabled || s ? -1 : 0
3471
+ "aria-disabled": c.disabled || i || void 0,
3472
+ tabIndex: c.disabled || i ? -1 : 0
3181
3473
  },
3182
3474
  c.id
3183
3475
  );
@@ -3185,24 +3477,24 @@ function va({
3185
3477
  }
3186
3478
  ) });
3187
3479
  }
3188
- va.displayName = "ThresholdRamp";
3189
- const qe = lt(null);
3190
- function ya() {
3191
- return ct(qe);
3480
+ Pa.displayName = "ThresholdRamp";
3481
+ const at = ht(null);
3482
+ function Fa() {
3483
+ return ft(at);
3192
3484
  }
3193
- function wa({ option: e }) {
3194
- const t = ya(), n = t?.isSelected(e.value) ?? !1, a = e.disabled || t?.groupDisabled, r = w(() => {
3485
+ function Ea({ option: e }) {
3486
+ const t = Fa(), n = t?.isSelected(e.value) ?? !1, a = e.disabled || t?.groupDisabled, s = w(() => {
3195
3487
  a || t?.select(e.value);
3196
- }, [a, t, e.value]), s = w(
3197
- (u) => {
3198
- a || t?.onKeyNav(u, e.value);
3488
+ }, [a, t, e.value]), i = w(
3489
+ (d) => {
3490
+ a || t?.onKeyNav(d, e.value);
3199
3491
  },
3200
3492
  [a, t, e.value]
3201
3493
  ), o = e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888", l = t?.firstFocusableValue === e.value, m = a ? -1 : l ? 0 : -1;
3202
- return /* @__PURE__ */ i(
3494
+ return /* @__PURE__ */ r(
3203
3495
  "button",
3204
3496
  {
3205
- ref: (u) => t?.registerRef(e.value, u),
3497
+ ref: (d) => t?.registerRef(e.value, d),
3206
3498
  type: "button",
3207
3499
  role: "radio",
3208
3500
  "aria-checked": n,
@@ -3215,222 +3507,222 @@ function wa({ option: e }) {
3215
3507
  "aria-disabled": a,
3216
3508
  disabled: a,
3217
3509
  tabIndex: m,
3218
- onClick: r,
3219
- onKeyDown: s
3510
+ onClick: s,
3511
+ onKeyDown: i
3220
3512
  }
3221
3513
  );
3222
3514
  }
3223
- function Da({
3515
+ function Aa({
3224
3516
  swatches: e,
3225
3517
  value: t,
3226
3518
  defaultValue: n,
3227
3519
  onChange: a,
3228
- disabled: r = !1,
3229
- name: s
3520
+ disabled: s = !1,
3521
+ name: i
3230
3522
  }) {
3231
- const o = t !== void 0, [l, m] = $(n), u = o ? t : l, p = w(
3232
- (C) => {
3233
- o || m(C), a?.(C);
3523
+ const o = t !== void 0, [l, m] = $(n), d = o ? t : l, g = w(
3524
+ (k) => {
3525
+ o || m(k), a?.(k);
3234
3526
  },
3235
3527
  [o, a]
3236
- ), h = w(
3237
- (C) => u === C,
3238
- [u]
3239
- ), d = T(/* @__PURE__ */ new Map()), g = w((C, R) => {
3240
- R ? d.current.set(C, R) : d.current.delete(C);
3241
- }, []), _ = e.filter((C) => !C.disabled && !r), y = _.find((C) => C.value === u)?.value ?? _[0]?.value, f = w((C) => {
3242
- const R = d.current.get(C);
3243
- R && R.focus();
3244
- }, []), M = w(
3245
- (C, R) => {
3246
- if (r) return;
3528
+ ), f = w(
3529
+ (k) => d === k,
3530
+ [d]
3531
+ ), u = M(/* @__PURE__ */ new Map()), p = w((k, T) => {
3532
+ T ? u.current.set(k, T) : u.current.delete(k);
3533
+ }, []), N = e.filter((k) => !k.disabled && !s), y = N.find((k) => k.value === d)?.value ?? N[0]?.value, h = w((k) => {
3534
+ const T = u.current.get(k);
3535
+ T && T.focus();
3536
+ }, []), R = w(
3537
+ (k, T) => {
3538
+ if (s) return;
3247
3539
  const I = e.filter((S) => !S.disabled);
3248
3540
  if (I.length === 0) return;
3249
- const c = I.findIndex((S) => S.value === R);
3541
+ const c = I.findIndex((S) => S.value === T);
3250
3542
  if (c === -1) return;
3251
- let b = c;
3252
- switch (C.key) {
3543
+ let v = c;
3544
+ switch (k.key) {
3253
3545
  case "ArrowRight":
3254
3546
  case "ArrowDown":
3255
- b = (c + 1) % I.length;
3547
+ v = (c + 1) % I.length;
3256
3548
  break;
3257
3549
  case "ArrowLeft":
3258
3550
  case "ArrowUp":
3259
- b = (c - 1 + I.length) % I.length;
3551
+ v = (c - 1 + I.length) % I.length;
3260
3552
  break;
3261
3553
  case "Home":
3262
- b = 0;
3554
+ v = 0;
3263
3555
  break;
3264
3556
  case "End":
3265
- b = I.length - 1;
3557
+ v = I.length - 1;
3266
3558
  break;
3267
3559
  case " ":
3268
3560
  case "Enter":
3269
- C.preventDefault(), p(R);
3561
+ k.preventDefault(), g(T);
3270
3562
  return;
3271
3563
  default:
3272
3564
  return;
3273
3565
  }
3274
- C.preventDefault();
3275
- const D = I[b].value;
3276
- f(D), p(D);
3566
+ k.preventDefault();
3567
+ const _ = I[v].value;
3568
+ h(_), g(_);
3277
3569
  },
3278
- [r, e, p, f]
3570
+ [s, e, g, h]
3279
3571
  ), P = {
3280
- selectedValue: u,
3281
- select: p,
3282
- isSelected: h,
3283
- groupDisabled: r,
3284
- name: s,
3285
- registerRef: g,
3572
+ selectedValue: d,
3573
+ select: g,
3574
+ isSelected: f,
3575
+ groupDisabled: s,
3576
+ name: i,
3577
+ registerRef: p,
3286
3578
  firstFocusableValue: y,
3287
- onKeyNav: M
3579
+ onKeyNav: R
3288
3580
  };
3289
- return /* @__PURE__ */ i(qe.Provider, { value: P, children: /* @__PURE__ */ i(
3581
+ return /* @__PURE__ */ r(at.Provider, { value: P, children: /* @__PURE__ */ r(
3290
3582
  "div",
3291
3583
  {
3292
3584
  className: "gloss-preset-swatch-row",
3293
3585
  role: "radiogroup",
3294
- "aria-label": s,
3295
- "aria-disabled": r,
3296
- "data-disabled": r || void 0,
3297
- children: e.map((C) => /* @__PURE__ */ i(wa, { option: C }, C.value))
3586
+ "aria-label": i,
3587
+ "aria-disabled": s,
3588
+ "data-disabled": s || void 0,
3589
+ children: e.map((k) => /* @__PURE__ */ r(Ea, { option: k }, k.value))
3298
3590
  }
3299
3591
  ) });
3300
3592
  }
3301
- Da.displayName = "PresetSwatchRow";
3302
- function Te(e, t) {
3593
+ Aa.displayName = "PresetSwatchRow";
3594
+ function Ae(e, t) {
3303
3595
  for (const n of e)
3304
3596
  if (n.items.some((a) => a.id === t))
3305
3597
  return n.zoneKey;
3306
3598
  return null;
3307
3599
  }
3308
- function ze(e, t) {
3600
+ function je(e, t) {
3309
3601
  const n = e.find((a) => a.zoneKey === t);
3310
- return n ? n.zoneKey : Te(e, t);
3602
+ return n ? n.zoneKey : Ae(e, t);
3311
3603
  }
3312
- function _a(e, t, n) {
3313
- const a = [...e], [r] = a.splice(t, 1);
3314
- return a.splice(n, 0, r), a;
3604
+ function Oa(e, t, n) {
3605
+ const a = [...e], [s] = a.splice(t, 1);
3606
+ return a.splice(n, 0, s), a;
3315
3607
  }
3316
- function Na(e) {
3608
+ function La(e) {
3317
3609
  return e.map((t) => `${t.zoneKey}:${t.items.map((n) => n.id).join(",")}`).join("|");
3318
3610
  }
3319
- function Ca(e) {
3611
+ function $a(e) {
3320
3612
  const [t, n] = $(
3321
- () => e.zones.map((f) => f.maxItems !== void 0 && f.items.length > f.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
3322
- `useSortableZones: zone "${f.zoneKey}" exceeds maxItems (${f.items.length} > ${f.maxItems}); trimming to cap.`
3323
- ), { ...f, items: f.items.slice(0, f.maxItems) }) : f)
3324
- ), [a, r] = $(null), [s, o] = $(null), l = T(null), m = T(e.onZoneChange);
3613
+ () => e.zones.map((h) => h.maxItems !== void 0 && h.items.length > h.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
3614
+ `useSortableZones: zone "${h.zoneKey}" exceeds maxItems (${h.items.length} > ${h.maxItems}); trimming to cap.`
3615
+ ), { ...h, items: h.items.slice(0, h.maxItems) }) : h)
3616
+ ), [a, s] = $(null), [i, o] = $(null), l = M(null), m = M(e.onZoneChange);
3325
3617
  m.current = e.onZoneChange;
3326
- const u = ge(
3327
- () => Na(e.zones),
3618
+ const d = ye(
3619
+ () => La(e.zones),
3328
3620
  [e.zones]
3329
- ), p = T(u);
3621
+ ), g = M(d);
3330
3622
  L(() => {
3331
- p.current !== u && (p.current = u, !a && n(
3332
- e.zones.map((f) => f.maxItems !== void 0 && f.items.length > f.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
3333
- `useSortableZones: zone "${f.zoneKey}" exceeds maxItems (${f.items.length} > ${f.maxItems}); trimming to cap.`
3334
- ), { ...f, items: f.items.slice(0, f.maxItems) }) : f)
3623
+ g.current !== d && (g.current = d, !a && n(
3624
+ e.zones.map((h) => h.maxItems !== void 0 && h.items.length > h.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
3625
+ `useSortableZones: zone "${h.zoneKey}" exceeds maxItems (${h.items.length} > ${h.maxItems}); trimming to cap.`
3626
+ ), { ...h, items: h.items.slice(0, h.maxItems) }) : h)
3335
3627
  ));
3336
- }, [u, e.zones, a]);
3337
- const h = w(
3338
- (f) => {
3339
- const M = f.active.id;
3340
- let P = null, C = null;
3341
- for (const R of t) {
3342
- const I = R.items.find((c) => c.id === M);
3628
+ }, [d, e.zones, a]);
3629
+ const f = w(
3630
+ (h) => {
3631
+ const R = h.active.id;
3632
+ let P = null, k = null;
3633
+ for (const T of t) {
3634
+ const I = T.items.find((c) => c.id === R);
3343
3635
  if (I) {
3344
- P = I, C = R.zoneKey;
3636
+ P = I, k = T.zoneKey;
3345
3637
  break;
3346
3638
  }
3347
3639
  }
3348
- l.current = C, r(P), o(C);
3640
+ l.current = k, s(P), o(k);
3349
3641
  },
3350
3642
  [t]
3351
- ), d = w(
3352
- (f) => {
3353
- if (!f.over) {
3643
+ ), u = w(
3644
+ (h) => {
3645
+ if (!h.over) {
3354
3646
  o(l.current);
3355
3647
  return;
3356
3648
  }
3357
- const M = ze(t, f.over.id);
3358
- o(M);
3649
+ const R = je(t, h.over.id);
3650
+ o(R);
3359
3651
  },
3360
3652
  [t]
3361
- ), g = w(
3362
- (f) => {
3363
- const { active: M, over: P } = f, C = () => {
3364
- l.current = null, r(null), o(null);
3653
+ ), p = w(
3654
+ (h) => {
3655
+ const { active: R, over: P } = h, k = () => {
3656
+ l.current = null, s(null), o(null);
3365
3657
  };
3366
3658
  if (!P) {
3367
- C();
3659
+ k();
3368
3660
  return;
3369
3661
  }
3370
- const R = Te(t, M.id), I = ze(t, P.id);
3371
- if (!R || !I) {
3372
- C();
3662
+ const T = Ae(t, R.id), I = je(t, P.id);
3663
+ if (!T || !I) {
3664
+ k();
3373
3665
  return;
3374
3666
  }
3375
- let c = t.map((b) => ({ ...b, items: [...b.items] }));
3376
- if (R === I) {
3377
- const b = c.findIndex((F) => F.zoneKey === R), D = c[b], S = D.items.findIndex((F) => F.id === M.id), v = D.items.findIndex((F) => F.id === P.id), x = v >= 0 ? v : Math.max(0, D.items.length - 1);
3378
- c[b] = {
3379
- ...D,
3380
- items: _a(D.items, S, x)
3667
+ let c = t.map((v) => ({ ...v, items: [...v.items] }));
3668
+ if (T === I) {
3669
+ const v = c.findIndex((F) => F.zoneKey === T), _ = c[v], S = _.items.findIndex((F) => F.id === R.id), b = _.items.findIndex((F) => F.id === P.id), x = b >= 0 ? b : Math.max(0, _.items.length - 1);
3670
+ c[v] = {
3671
+ ..._,
3672
+ items: Oa(_.items, S, x)
3381
3673
  };
3382
3674
  } else {
3383
- const b = c.findIndex((O) => O.zoneKey === R), D = c.findIndex((O) => O.zoneKey === I), S = c[b], v = c[D], x = S.items.find((O) => O.id === M.id);
3675
+ const v = c.findIndex((O) => O.zoneKey === T), _ = c.findIndex((O) => O.zoneKey === I), S = c[v], b = c[_], x = S.items.find((O) => O.id === R.id);
3384
3676
  if (!x) {
3385
- C();
3677
+ k();
3386
3678
  return;
3387
3679
  }
3388
- const F = S.items.filter((O) => O.id !== M.id), U = v.items.findIndex((O) => O.id === P.id), q = U >= 0 ? U : v.items.length;
3389
- let j = F, W = [...v.items];
3390
- if (v.maxItems !== void 0 && W.length >= v.maxItems) {
3391
- const O = W[W.length - 1];
3392
- W = W.slice(0, v.maxItems - 1), j = [...F, O];
3680
+ const F = S.items.filter((O) => O.id !== R.id), U = b.items.findIndex((O) => O.id === P.id), q = U >= 0 ? U : b.items.length;
3681
+ let j = F, G = [...b.items];
3682
+ if (b.maxItems !== void 0 && G.length >= b.maxItems) {
3683
+ const O = G[G.length - 1];
3684
+ G = G.slice(0, b.maxItems - 1), j = [...F, O];
3393
3685
  }
3394
- const B = Math.min(q, W.length), Z = [
3395
- ...W.slice(0, B),
3686
+ const B = Math.min(q, G.length), Z = [
3687
+ ...G.slice(0, B),
3396
3688
  x,
3397
- ...W.slice(B)
3689
+ ...G.slice(B)
3398
3690
  ];
3399
- c[b] = { ...S, items: j }, c[D] = { ...v, items: Z };
3691
+ c[v] = { ...S, items: j }, c[_] = { ...b, items: Z };
3400
3692
  }
3401
- n(c), m.current?.(c), C();
3693
+ n(c), m.current?.(c), k();
3402
3694
  },
3403
3695
  [t]
3404
- ), _ = w(
3405
- (f) => ({
3406
- id: f,
3407
- "data-zone-key": f
3696
+ ), N = w(
3697
+ (h) => ({
3698
+ id: h,
3699
+ "data-zone-key": h
3408
3700
  }),
3409
3701
  []
3410
3702
  ), y = w(
3411
- (f) => {
3412
- const M = Te(t, f.id) ?? "";
3703
+ (h) => {
3704
+ const R = Ae(t, h.id) ?? "";
3413
3705
  return {
3414
- id: f.id,
3415
- "data-item-id": f.id,
3416
- "data-zone-key": M
3706
+ id: h.id,
3707
+ "data-item-id": h.id,
3708
+ "data-zone-key": R
3417
3709
  };
3418
3710
  },
3419
3711
  [t]
3420
3712
  );
3421
3713
  return {
3422
3714
  zones: t,
3423
- activeZone: s,
3715
+ activeZone: i,
3424
3716
  activeItem: a,
3425
- getZoneProps: _,
3717
+ getZoneProps: N,
3426
3718
  getItemProps: y,
3427
- handleDragStart: h,
3428
- handleDragOver: d,
3429
- handleDragEnd: g
3719
+ handleDragStart: f,
3720
+ handleDragOver: u,
3721
+ handleDragEnd: p
3430
3722
  };
3431
3723
  }
3432
- let ue = null, he = null, Ce = !1;
3433
- const ka = [
3724
+ let ge = null, Ne = null, Me = !1;
3725
+ const Ba = [
3434
3726
  "DndContext",
3435
3727
  "DragOverlay",
3436
3728
  "useSensors",
@@ -3439,22 +3731,22 @@ const ka = [
3439
3731
  "PointerSensor",
3440
3732
  "KeyboardSensor",
3441
3733
  "closestCenter"
3442
- ], xa = [
3734
+ ], za = [
3443
3735
  "SortableContext",
3444
3736
  "useSortable",
3445
3737
  "verticalListSortingStrategy"
3446
3738
  ];
3447
- function Sa(e, t) {
3739
+ function Ka(e, t) {
3448
3740
  const n = [], a = e ?? {};
3449
- for (const s of ka)
3450
- a[s] === void 0 && n.push(`@dnd-kit/core:${s}`);
3451
- const r = t ?? {};
3452
- for (const s of xa)
3453
- r[s] === void 0 && n.push(`@dnd-kit/sortable:${s}`);
3741
+ for (const i of Ba)
3742
+ a[i] === void 0 && n.push(`@dnd-kit/core:${i}`);
3743
+ const s = t ?? {};
3744
+ for (const i of za)
3745
+ s[i] === void 0 && n.push(`@dnd-kit/sortable:${i}`);
3454
3746
  return n.length === 0 ? { ok: !0 } : { ok: !1, missing: n };
3455
3747
  }
3456
- function Ma() {
3457
- return ue ? Promise.resolve(ue) : Ce ? Promise.resolve(null) : he || (he = (async () => {
3748
+ function Wa() {
3749
+ return ge ? Promise.resolve(ge) : Me ? Promise.resolve(null) : Ne || (Ne = (async () => {
3458
3750
  try {
3459
3751
  const [e, t, n] = await Promise.all([
3460
3752
  import("@dnd-kit/core"),
@@ -3462,57 +3754,57 @@ function Ma() {
3462
3754
  import("@dnd-kit/utilities").catch(() => (process.env.NODE_ENV !== "production" && console.warn(
3463
3755
  "SortableZones: @dnd-kit/utilities failed to load; drag-overlay positioning will fall back (items may teleport instead of slide)."
3464
3756
  ), {}))
3465
- ]), a = Sa(e, t);
3466
- return a.ok ? (ue = {
3757
+ ]), a = Ka(e, t);
3758
+ return a.ok ? (ge = {
3467
3759
  core: e,
3468
3760
  sortable: t,
3469
3761
  utilities: n
3470
- }, ue) : (Ce = !0, process.env.NODE_ENV !== "production" && console.error(
3762
+ }, ge) : (Me = !0, process.env.NODE_ENV !== "production" && console.error(
3471
3763
  `SortableZones: @dnd-kit shape mismatch — missing exports: ${a.missing.join(", ")}. Check installed versions against optionalDependencies in @mt-gloss/ui.`
3472
3764
  ), null);
3473
3765
  } catch {
3474
- return Ce = !0, null;
3766
+ return Me = !0, null;
3475
3767
  }
3476
- })(), he);
3768
+ })(), Ne);
3477
3769
  }
3478
- function Ta(e) {
3479
- const { zones: t, onZoneChange: n, renderZone: a, renderItem: r, renderDragOverlay: s } = e, o = Ca({ zones: t, onZoneChange: n }), [l, m] = V.useState(ue);
3480
- return V.useEffect(() => {
3770
+ function Ga(e) {
3771
+ const { zones: t, onZoneChange: n, renderZone: a, renderItem: s, renderDragOverlay: i } = e, o = $a({ zones: t, onZoneChange: n }), [l, m] = H.useState(ge);
3772
+ return H.useEffect(() => {
3481
3773
  if (l) return;
3482
- let u = !0;
3483
- return Ma().then((p) => {
3484
- u && m(p);
3774
+ let d = !0;
3775
+ return Wa().then((g) => {
3776
+ d && m(g);
3485
3777
  }), () => {
3486
- u = !1;
3778
+ d = !1;
3487
3779
  };
3488
- }, [l]), l ? /* @__PURE__ */ i(
3489
- Ye,
3780
+ }, [l]), l ? /* @__PURE__ */ r(
3781
+ nt,
3490
3782
  {
3491
3783
  state: o,
3492
3784
  modules: l,
3493
3785
  renderZone: a,
3494
- renderItem: r,
3495
- renderDragOverlay: s
3786
+ renderItem: s,
3787
+ renderDragOverlay: i
3496
3788
  }
3497
- ) : /* @__PURE__ */ i("div", { "data-sortable-zones-passive": "true", children: o.zones.map((u) => {
3498
- const p = u.items.map((h) => /* @__PURE__ */ i(V.Fragment, { children: r(h) }, h.id));
3499
- return /* @__PURE__ */ i("div", { ...o.getZoneProps(u.zoneKey), children: a(u.zoneKey, u.items, p) }, u.zoneKey);
3789
+ ) : /* @__PURE__ */ r("div", { "data-sortable-zones-passive": "true", children: o.zones.map((d) => {
3790
+ const g = d.items.map((f) => /* @__PURE__ */ r(H.Fragment, { children: s(f) }, f.id));
3791
+ return /* @__PURE__ */ r("div", { ...o.getZoneProps(d.zoneKey), children: a(d.zoneKey, d.items, g) }, d.zoneKey);
3500
3792
  }) });
3501
3793
  }
3502
- Ta.displayName = "SortableZones";
3503
- function Ye({
3794
+ Ga.displayName = "SortableZones";
3795
+ function nt({
3504
3796
  state: e,
3505
3797
  modules: t,
3506
3798
  renderZone: n,
3507
3799
  renderItem: a,
3508
- renderDragOverlay: r
3800
+ renderDragOverlay: s
3509
3801
  }) {
3510
- const { core: s, sortable: o, utilities: l } = t, { DndContext: m, DragOverlay: u, useSensors: p, useSensor: h, useDroppable: d, PointerSensor: g, KeyboardSensor: _, closestCenter: y } = s, { SortableContext: f, verticalListSortingStrategy: M } = o, P = p(
3511
- h(g, { activationConstraint: { distance: 5 } }),
3512
- h(_)
3513
- ), C = m, R = u, I = f;
3514
- return /* @__PURE__ */ k(
3515
- C,
3802
+ const { core: i, sortable: o, utilities: l } = t, { DndContext: m, DragOverlay: d, useSensors: g, useSensor: f, useDroppable: u, PointerSensor: p, KeyboardSensor: N, closestCenter: y } = i, { SortableContext: h, verticalListSortingStrategy: R } = o, P = g(
3803
+ f(p, { activationConstraint: { distance: 5 } }),
3804
+ f(N)
3805
+ ), k = m, T = d, I = h;
3806
+ return /* @__PURE__ */ D(
3807
+ k,
3516
3808
  {
3517
3809
  sensors: P,
3518
3810
  collisionDetection: y,
@@ -3521,8 +3813,8 @@ function Ye({
3521
3813
  onDragEnd: e.handleDragEnd,
3522
3814
  children: [
3523
3815
  e.zones.map((c) => {
3524
- const b = c.items.map((S) => S.id), D = c.items.map((S) => /* @__PURE__ */ i(
3525
- Qe,
3816
+ const v = c.items.map((S) => S.id), _ = c.items.map((S) => /* @__PURE__ */ r(
3817
+ rt,
3526
3818
  {
3527
3819
  id: S.id,
3528
3820
  useSortable: o.useSortable,
@@ -3531,65 +3823,65 @@ function Ye({
3531
3823
  },
3532
3824
  S.id
3533
3825
  ));
3534
- return /* @__PURE__ */ i(
3535
- Xe,
3826
+ return /* @__PURE__ */ r(
3827
+ st,
3536
3828
  {
3537
3829
  zoneKey: c.zoneKey,
3538
3830
  zoneProps: e.getZoneProps(c.zoneKey),
3539
- useDroppable: d,
3540
- children: /* @__PURE__ */ i(I, { items: b, strategy: M, children: n(c.zoneKey, c.items, D) })
3831
+ useDroppable: u,
3832
+ children: /* @__PURE__ */ r(I, { items: v, strategy: R, children: n(c.zoneKey, c.items, _) })
3541
3833
  },
3542
3834
  c.zoneKey
3543
3835
  );
3544
3836
  }),
3545
- /* @__PURE__ */ i(R, { children: e.activeItem ? r?.(e.activeItem) ?? a(e.activeItem) : null })
3837
+ /* @__PURE__ */ r(T, { children: e.activeItem ? s?.(e.activeItem) ?? a(e.activeItem) : null })
3546
3838
  ]
3547
3839
  }
3548
3840
  );
3549
3841
  }
3550
- Ye.displayName = "SortableZonesInner";
3551
- function Qe({ id: e, useSortable: t, cssHelper: n, children: a }) {
3552
- const { attributes: r, listeners: s, setNodeRef: o, transform: l, transition: m, isDragging: u } = t({ id: e }), p = {
3842
+ nt.displayName = "SortableZonesInner";
3843
+ function rt({ id: e, useSortable: t, cssHelper: n, children: a }) {
3844
+ const { attributes: s, listeners: i, setNodeRef: o, transform: l, transition: m, isDragging: d } = t({ id: e }), g = {
3553
3845
  transform: n?.Transform?.toString(l) ?? void 0,
3554
3846
  transition: m,
3555
- opacity: u ? 0.5 : 1
3847
+ opacity: d ? 0.5 : 1
3556
3848
  };
3557
- return /* @__PURE__ */ i("div", { ref: o, style: p, "data-sortable-item-id": e, ...r, ...s, children: a });
3849
+ return /* @__PURE__ */ r("div", { ref: o, style: g, "data-sortable-item-id": e, ...s, ...i, children: a });
3558
3850
  }
3559
- Qe.displayName = "SortableItem";
3560
- function Xe({
3851
+ rt.displayName = "SortableItem";
3852
+ function st({
3561
3853
  zoneKey: e,
3562
3854
  zoneProps: t,
3563
3855
  useDroppable: n,
3564
3856
  children: a
3565
3857
  }) {
3566
- const { setNodeRef: r, isOver: s } = n({ id: e });
3567
- return /* @__PURE__ */ i("div", { ref: r, "data-zone-is-over": s || void 0, ...t, children: a });
3858
+ const { setNodeRef: s, isOver: i } = n({ id: e });
3859
+ return /* @__PURE__ */ r("div", { ref: s, "data-zone-is-over": i || void 0, ...t, children: a });
3568
3860
  }
3569
- Xe.displayName = "ZoneDroppable";
3570
- function Jn({
3861
+ st.displayName = "ZoneDroppable";
3862
+ function gr({
3571
3863
  slotLeft: e,
3572
3864
  slotCenter: t,
3573
3865
  slotRight: n,
3574
3866
  height: a = 36,
3575
- className: r,
3576
- style: s,
3867
+ className: s,
3868
+ style: i,
3577
3869
  "aria-label": o = "Dashboard navigation"
3578
3870
  }) {
3579
3871
  const l = {
3580
3872
  "--gloss-bottom-toolbar-height": `${a}px`,
3581
- ...s
3873
+ ...i
3582
3874
  };
3583
- return /* @__PURE__ */ k(
3875
+ return /* @__PURE__ */ D(
3584
3876
  "div",
3585
3877
  {
3586
3878
  role: "toolbar",
3587
3879
  "aria-label": o,
3588
3880
  "data-testid": "gloss-bottom-toolbar",
3589
- className: ["gloss-bottom-toolbar", r].filter(Boolean).join(" "),
3881
+ className: ["gloss-bottom-toolbar", s].filter(Boolean).join(" "),
3590
3882
  style: l,
3591
3883
  children: [
3592
- /* @__PURE__ */ i(
3884
+ /* @__PURE__ */ r(
3593
3885
  "div",
3594
3886
  {
3595
3887
  className: "gloss-bottom-toolbar__slot gloss-bottom-toolbar__slot--left",
@@ -3597,7 +3889,7 @@ function Jn({
3597
3889
  children: e
3598
3890
  }
3599
3891
  ),
3600
- /* @__PURE__ */ i(
3892
+ /* @__PURE__ */ r(
3601
3893
  "div",
3602
3894
  {
3603
3895
  className: "gloss-bottom-toolbar__slot gloss-bottom-toolbar__slot--center",
@@ -3605,7 +3897,7 @@ function Jn({
3605
3897
  children: t
3606
3898
  }
3607
3899
  ),
3608
- /* @__PURE__ */ i(
3900
+ /* @__PURE__ */ r(
3609
3901
  "div",
3610
3902
  {
3611
3903
  className: "gloss-bottom-toolbar__slot gloss-bottom-toolbar__slot--right",
@@ -3617,386 +3909,395 @@ function Jn({
3617
3909
  }
3618
3910
  );
3619
3911
  }
3620
- function er({
3912
+ function pr({
3621
3913
  count: e,
3622
3914
  currentIndex: t,
3623
3915
  onSelect: n,
3624
3916
  "aria-label": a = "Sections",
3625
- provisionalIndex: r,
3626
- pulseIndex: s,
3917
+ provisionalIndex: s,
3918
+ pulseIndex: i,
3627
3919
  pulseNonce: o
3628
3920
  }) {
3629
- const l = it.useRef([]);
3630
- return l.current.length = e, /* @__PURE__ */ i(
3921
+ const l = gt.useRef([]);
3922
+ return l.current.length = e, /* @__PURE__ */ r(
3631
3923
  "div",
3632
3924
  {
3633
3925
  role: "tablist",
3634
3926
  "aria-label": a,
3635
3927
  "data-testid": "gloss-section-dots",
3636
3928
  className: "gloss-section-dots",
3637
- onKeyDown: (u) => {
3929
+ onKeyDown: (d) => {
3638
3930
  if (e !== 0) {
3639
- if (u.key === "ArrowRight") {
3640
- u.preventDefault();
3641
- const p = (t + 1) % e;
3642
- n(p), requestAnimationFrame(() => l.current[p]?.focus());
3643
- } else if (u.key === "ArrowLeft") {
3644
- u.preventDefault();
3645
- const p = (t - 1 + e) % e;
3646
- n(p), requestAnimationFrame(() => l.current[p]?.focus());
3931
+ if (d.key === "ArrowRight") {
3932
+ d.preventDefault();
3933
+ const g = (t + 1) % e;
3934
+ n(g), requestAnimationFrame(() => l.current[g]?.focus());
3935
+ } else if (d.key === "ArrowLeft") {
3936
+ d.preventDefault();
3937
+ const g = (t - 1 + e) % e;
3938
+ n(g), requestAnimationFrame(() => l.current[g]?.focus());
3647
3939
  }
3648
3940
  }
3649
3941
  },
3650
- children: Array.from({ length: e }, (u, p) => /* @__PURE__ */ i(
3942
+ children: Array.from({ length: e }, (d, g) => /* @__PURE__ */ r(
3651
3943
  "button",
3652
3944
  {
3653
- ref: (h) => {
3654
- l.current[p] = h;
3945
+ ref: (f) => {
3946
+ l.current[g] = f;
3655
3947
  },
3656
3948
  type: "button",
3657
3949
  role: "tab",
3658
- "aria-selected": p === t,
3659
- "aria-label": p === r ? "Unconfirmed section" : `Section ${p + 1}`,
3660
- "data-state": p === r ? "provisional-hollow" : p === s ? "pulse" : p === t ? "current" : "hollow",
3661
- "data-section-index": p,
3950
+ "aria-selected": g === t,
3951
+ "aria-label": g === s ? "Unconfirmed section" : `Section ${g + 1}`,
3952
+ "data-state": g === s ? "provisional-hollow" : g === i ? "pulse" : g === t ? "current" : "hollow",
3953
+ "data-section-index": g,
3662
3954
  className: [
3663
3955
  "gloss-section-dots__dot",
3664
- p === t && "gloss-section-dots__dot--current"
3956
+ g === t && "gloss-section-dots__dot--current"
3665
3957
  ].filter(Boolean).join(" "),
3666
- onClick: () => n(p)
3958
+ onClick: () => n(g)
3667
3959
  },
3668
- p === s ? `${p}-${o ?? 0}` : p
3960
+ g === i ? `${g}-${o ?? 0}` : g
3669
3961
  ))
3670
3962
  }
3671
3963
  );
3672
3964
  }
3673
- const Ra = V.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
3674
- const r = { ...n };
3675
- return delete r.className, delete r.style, /* @__PURE__ */ i("div", { ref: a, className: "gloss-container-toolbar", role: "toolbar", ...r, children: /* @__PURE__ */ i(Re, { region: "toolbar", density: e, children: t }) });
3965
+ const Va = H.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
3966
+ const s = { ...n };
3967
+ return delete s.className, delete s.style, /* @__PURE__ */ r("div", { ref: a, className: "gloss-container-toolbar", role: "toolbar", ...s, children: /* @__PURE__ */ r(Oe, { region: "toolbar", density: e, children: t }) });
3676
3968
  });
3677
- Ra.displayName = "ContainerToolbar";
3678
- const Ia = V.forwardRef(({ legend: e, description: t, density: n = "default", children: a, ...r }, s) => {
3679
- const o = { ...r };
3680
- return delete o.className, delete o.style, /* @__PURE__ */ k("fieldset", { ref: s, className: "gloss-container-form-section", ...o, children: [
3681
- e && /* @__PURE__ */ i("legend", { className: "gloss-container-form-section__legend", children: e }),
3682
- t && /* @__PURE__ */ i("p", { className: "gloss-container-form-section__description", children: t }),
3683
- /* @__PURE__ */ i(Re, { region: "form-section", density: n, children: a })
3969
+ Va.displayName = "ContainerToolbar";
3970
+ const Ha = H.forwardRef(({ legend: e, description: t, density: n = "default", children: a, ...s }, i) => {
3971
+ const o = { ...s };
3972
+ return delete o.className, delete o.style, /* @__PURE__ */ D("fieldset", { ref: i, className: "gloss-container-form-section", ...o, children: [
3973
+ e && /* @__PURE__ */ r("legend", { className: "gloss-container-form-section__legend", children: e }),
3974
+ t && /* @__PURE__ */ r("p", { className: "gloss-container-form-section__description", children: t }),
3975
+ /* @__PURE__ */ r(Oe, { region: "form-section", density: n, children: a })
3684
3976
  ] });
3685
3977
  });
3686
- Ia.displayName = "ContainerFormSection";
3687
- const Pa = V.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
3688
- const r = { ...n };
3689
- return delete r.className, delete r.style, /* @__PURE__ */ i("div", { ref: a, className: "gloss-container-table", ...r, children: /* @__PURE__ */ i(Re, { region: "table", density: e, children: t }) });
3978
+ Ha.displayName = "ContainerFormSection";
3979
+ const Ua = H.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
3980
+ const s = { ...n };
3981
+ return delete s.className, delete s.style, /* @__PURE__ */ r("div", { ref: a, className: "gloss-container-table", ...s, children: /* @__PURE__ */ r(Oe, { region: "table", density: e, children: t }) });
3690
3982
  });
3691
- Pa.displayName = "ContainerTable";
3983
+ Ua.displayName = "ContainerTable";
3692
3984
  export {
3693
- nr as Accordion,
3694
- rr as AccordionContent,
3695
- sr as AccordionItem,
3696
- ir as AccordionTrigger,
3697
- or as ActionStrip,
3698
- lr as Actionable,
3699
- cr as AddressGroup,
3700
- dr as AddressSelect,
3701
- ur as AsyncLoader,
3702
- mr as Autocomplete,
3703
- gr as Badge,
3704
- pr as BarChartCard,
3705
- fr as BarsBg,
3706
- Jn as BottomToolbar,
3707
- hr as Button,
3708
- br as ButtonGroup,
3709
- vr as ButtonGroupContext,
3710
- yr as Card,
3711
- wr as CardActions,
3712
- Dr as CardBack,
3713
- _r as CardBody,
3714
- Nr as CardFooter,
3715
- Cr as CardHeader,
3716
- kr as CardMedia,
3717
- rt as CardShell,
3718
- xr as CardSubtitle,
3719
- Sr as CardTitle,
3720
- Yn as CascadePreview,
3721
- Mr as ChartControlBar,
3722
- Tr as Checkbox,
3723
- Rr as CheckboxGroup,
3724
- st as Chip,
3725
- Ir as ColorPicker,
3726
- Pr as ComparisonCard,
3727
- Fr as ContactForm,
3728
- Er as ContainerCard,
3729
- Ar as ContainerCardActions,
3730
- Or as ContainerCardBody,
3731
- Lr as ContainerCardFooter,
3732
- $r as ContainerCardHeader,
3733
- Br as ContainerCardMedia,
3734
- Kr as ContainerCardSubtitle,
3735
- zr as ContainerCardTitle,
3736
- Gr as ContainerDialog,
3737
- Wr as ContainerDialogActions,
3738
- Hr as ContainerDialogBody,
3739
- Vr as ContainerDialogHeader,
3740
- Ia as ContainerFormSection,
3741
- Ur as ContainerPanel,
3742
- Pa as ContainerTable,
3743
- Ra as ContainerToolbar,
3744
- jr as CreditCardForm,
3745
- Zr as DEFAULT_FOOTER_IDS,
3746
- ne as DEFAULT_GRID_INTERACTION_PHYSICS,
3747
- No as DEFAULT_MARKET_PRESETS,
3748
- qr as DEFAULT_OVERFLOW_IDS,
3749
- Co as DEFAULT_PINNED,
3750
- We as DEFAULT_RESIZE_PHYSICS,
3751
- Yr as DataTable,
3752
- Qr as DatePicker,
3753
- Xr as DateRangePicker,
3754
- Jr as DestructiveModal,
3755
- ra as DevTuningPanel,
3756
- es as DirectionCard,
3757
- ts as Dismissible,
3758
- as as DistributionCard,
3759
- ns as DonutChart,
3760
- Zn as DragGhost,
3761
- Hn as DropAnchorCell,
3762
- rs as Dropdown,
3763
- la as DualPaceBars,
3764
- ss as ENTITY_FILTER_KEYS,
3765
- is as ENTITY_PROFILE_ROUTES,
3766
- os as ENTITY_TYPE_PLURAL,
3767
- Mt as EdgeHoverHandle,
3768
- jn as EmptyCellPackAffordance,
3769
- ls as EntityPicker,
3770
- cs as EntitySearchPanel,
3771
- ds as Expandable,
3772
- us as ExpandableChip,
3773
- ms as FLIP_AND_STAGE_TIMINGS,
3774
- gs as FileUpload,
3775
- ps as FilterChip,
3776
- fs as FilterInput,
3777
- hs as FlipAndStageProvider,
3778
- bs as Form,
3779
- vs as FormDialog,
3780
- ys as FormField,
3781
- ws as FusedShape,
3782
- ca as GapReadout,
3783
- Tt as GhostPreview,
3784
- Ds as GroupCheckbox,
3785
- _s as GroupRadio,
3786
- ln as HARD_CLIP,
3787
- Ns as HighlightCard,
3788
- Cs as HybridDatePicker,
3789
- ks as ImportWizard,
3790
- fa as InlineNudge,
3791
- xs as Input,
3792
- Ss as InputAddon,
3793
- Ms as InputGroup,
3794
- ma as LensChipGroup,
3795
- Ts as Link,
3796
- Rs as LoginForm,
3797
- Is as MarketPresetRow,
3798
- Ps as MaskPresets,
3799
- Fs as MaskedInput,
3800
- Es as Menu,
3801
- As as MenuDivider,
3802
- Os as MenuGroup,
3803
- Ls as MenuItem,
3804
- $s as MergePrompt,
3805
- Bs as MetricCard,
3806
- Ks as MetricCardGrid,
3807
- qt as MetricGroupContainer,
3808
- zs as MiniCalendar,
3809
- pa as MoreInLensRail,
3810
- Gs as MultiSelect,
3811
- Ws as NumberInput,
3812
- Hs as ObjectArrow,
3813
- Vs as OrderFilterBar,
3814
- ko as PERIOD_OPTIONS,
3815
- Qn as PaceCard,
3816
- Xn as PaceTilePreview,
3817
- Lt as PageChip,
3818
- He as PageDropdown,
3819
- Us as PasswordInput,
3820
- js as PaymentForm,
3821
- Zs as PaymentMethodSelect,
3822
- qs as PhoneInput,
3823
- Ys as PinToMetric,
3824
- Da as PresetSwatchRow,
3825
- Qs as ProfileCard,
3826
- Xs as ProgressCard,
3827
- Js as QuickConfigPanel,
3828
- Ht as RECONFIG_BACKSIDE_LABELS,
3829
- xo as ROLLING_OPTIONS,
3830
- ei as Radio,
3831
- ti as RadioGroup,
3832
- ai as RangeSlider,
3833
- ni as Rating,
3834
- jt as ReconfigBacksideButtons,
3835
- ri as RegistrationForm,
3836
- Wn as ResizeEnvelope,
3837
- si as Row1Controls,
3838
- ii as Row2FilterTray,
3839
- oi as SearchInput,
3840
- Un as SectionDivider,
3841
- er as SectionDots,
3842
- li as SegmentCard,
3843
- ci as SegmentedControl,
3844
- di as Select,
3845
- ui as Selectable,
3846
- mi as SimpleMetricCard,
3847
- gi as SimpleSelector,
3848
- pi as Skeleton,
3849
- fi as SkeletonCard,
3850
- hi as SkeletonChart,
3851
- bi as SkeletonTable,
3852
- vi as Slider,
3853
- qn as SnapOutline,
3854
- yi as Sortable,
3855
- Ta as SortableZones,
3856
- wi as SparklineBg,
3857
- Vn as SpilloverArc,
3858
- Di as SplitButton,
3859
- _i as StackedGroupCard,
3860
- ga as StarterRail,
3861
- Ni as StatusModeCard,
3862
- St as StatusSlotChipMenu,
3863
- Ci as Stepper,
3864
- Ge as SwingReveal,
3865
- So as TODAY_PRESET,
3866
- ae as TUNING_DEFAULTS,
3867
- Ze as TUNING_STORAGE_KEY,
3868
- ki as TabGroup,
3869
- xi as TabbedDataView,
3870
- Si as TagInput,
3871
- wt as TargetInput,
3872
- Mi as Textarea,
3873
- va as ThresholdRamp,
3874
- Ti as TimeFrame,
3875
- Ri as TimePicker,
3876
- Ii as Toggle,
3877
- Pi as Tooltip,
3878
- Fi as Transition,
3879
- Ei as TransitionGroup,
3880
- Ai as TrendCard,
3881
- Oi as TrendIndicator,
3882
- wo as UIContext,
3883
- Re as UIContextProvider,
3884
- Li as UnifiedBreakdownTable,
3885
- $i as UnifiedContextMenu,
3886
- Rt as VelocityBuffer,
3887
- Bi as addressGroupMetadata,
3888
- Ki as addressSchema,
3889
- ja as allChips,
3890
- pn as allStateFixtures,
3891
- gn as allVariantFixtures,
3892
- Qa as blockSamples,
3893
- zi as buildDefaultOverflow,
3894
- an as cardSamples,
3895
- nn as cascadePhysics,
3896
- en as chartSamples,
3897
- Ja as circleSamples,
3898
- cn as colorTokens,
3899
- On as compactLayout,
3900
- kn as compactState,
3901
- mn as computeGutterAnchorX,
3902
- Gi as contactFormMetadata,
3903
- Wi as contactSchema,
3904
- xn as contextMenuFixtures,
3905
- Hi as creditCardFormMetadata,
3906
- Vi as creditCardSchema,
3907
- Nt as dateChip,
3908
- je as defaultControlBarState,
3909
- Ui as destructiveModalMetadata,
3910
- ji as durations,
3911
- Zi as easings,
3912
- Ft as emptyFixture,
3913
- Dt as entityChip,
3914
- zt as entityNameActions,
3915
- qa as entityTabGroup,
3916
- Pt as errorFixture,
3917
- qi as evaluateTintCondition,
3918
- Cn as filteredState,
3919
- Mo as findPreset,
3920
- To as formatDateRange,
3921
- Ro as formatMarketDates,
3922
- Io as formatTrend,
3923
- Po as formatValue,
3924
- $n as fullLayout,
3925
- Fo as generateMarketId,
3926
- Yi as generateTabId,
3927
- Eo as getAllPresets,
3928
- Ao as getDateRangeForPreset,
3929
- Qi as getMenuActions,
3930
- dn as getMotionMode,
3931
- Oo as getPresetLabel,
3932
- Xi as getTransitionStyle,
3933
- An as gridCards,
3934
- Ji as interpolate,
3935
- Lo as isInRange,
3936
- $o as isMarketActive,
3937
- Bo as isSameDay,
3938
- Nn as itemColumns,
3939
- Dn as itemRows,
3940
- It as loadingFixture,
3941
- eo as loginFormMetadata,
3942
- to as loginSchema,
3943
- Ct as manufacturerChip,
3944
- Gn as manyTabs,
3945
- ao as mergeHandlers,
3946
- no as mergeRefs,
3947
- Za as metricTabGroup,
3948
- Kn as mixedTabs,
3949
- Ko as normalizePresetId,
3950
- Wt as numericActions,
3951
- _n as orderColumns,
3952
- Gt as orderIdActions,
3953
- wn as orderRows,
3954
- Bn as ordersTabs,
3955
- ro as parseNumericValue,
3956
- so as paymentFormMetadata,
3957
- io as paymentSchema,
3958
- oo as presets,
3959
- sn as provisional,
3960
- on as reducedMotion,
3961
- lo as registrationFormMetadata,
3962
- co as registrationSchema,
3963
- rn as rejectionFeedback,
3964
- Mn as sampleCompareRanges,
3965
- In as sampleCustomMarkets,
3966
- Sn as sampleDateRange,
3967
- Pn as sampleMarketPresetData,
3968
- Rn as sampleMarkets,
3969
- En as samplePeriodPresets,
3970
- Tn as samplePreferences,
3971
- Fn as samplePresets,
3972
- zn as singleTab,
3973
- fn as sparklineFixture,
3974
- hn as sparklineUpFixture,
3975
- Ot as staleDonutFixture,
3976
- Et as staleFixture,
3977
- At as staleSparklineFixture,
3978
- bn as standardFixture,
3979
- yn as standardFlatFixture,
3980
- Ln as standardLayout,
3981
- vn as standardNegativeFixture,
3982
- _t as statusChip,
3983
- de as swingReveal,
3984
- tn as tableSamples,
3985
- Xa as textSamples,
3986
- Ya as timeFrameTabGroup,
3987
- zo as toUppercasePresetId,
3988
- Ua as useArrowNavigation,
3989
- uo as useCheckboxGroupContext,
3990
- un as useEdgeHoverResize,
3991
- mo as useFilterLayout,
3992
- go as useFlipAndStage,
3993
- po as useFlipAndStageContext,
3994
- fo as useFlipAndStageContextOptional,
3995
- Va as useFocusReturn,
3996
- ho as useFocusTrap,
3997
- bo as useFormContext,
3998
- vo as useRadioGroupContext,
3999
- Xt as useResizeTuning,
4000
- Ca as useSortableZones,
4001
- Do as useUIContext
3985
+ vr as Accordion,
3986
+ br as AccordionContent,
3987
+ yr as AccordionItem,
3988
+ wr as AccordionTrigger,
3989
+ _r as ActionStrip,
3990
+ Nr as Actionable,
3991
+ Dr as AddressGroup,
3992
+ Cr as AddressSelect,
3993
+ kr as AsyncLoader,
3994
+ xr as Autocomplete,
3995
+ Sr as Badge,
3996
+ Rr as BarChartCard,
3997
+ Mr as BarsBg,
3998
+ gr as BottomToolbar,
3999
+ Tr as Button,
4000
+ Ir as ButtonGroup,
4001
+ Pr as ButtonGroupContext,
4002
+ Fr as Card,
4003
+ Er as CardActions,
4004
+ Ar as CardBack,
4005
+ Or as CardBody,
4006
+ Lr as CardFooter,
4007
+ $r as CardHeader,
4008
+ Br as CardMedia,
4009
+ ut as CardShell,
4010
+ zr as CardSubtitle,
4011
+ Kr as CardTitle,
4012
+ dr as CascadePreview,
4013
+ Wr as ChartControlBar,
4014
+ Gr as Checkbox,
4015
+ Vr as CheckboxGroup,
4016
+ mt as Chip,
4017
+ Hr as ColorPicker,
4018
+ Ur as ComparisonCard,
4019
+ jr as ContactForm,
4020
+ Zr as ContainerCard,
4021
+ qr as ContainerCardActions,
4022
+ Yr as ContainerCardBody,
4023
+ Qr as ContainerCardFooter,
4024
+ Xr as ContainerCardHeader,
4025
+ Jr as ContainerCardMedia,
4026
+ es as ContainerCardSubtitle,
4027
+ ts as ContainerCardTitle,
4028
+ as as ContainerDialog,
4029
+ ns as ContainerDialogActions,
4030
+ rs as ContainerDialogBody,
4031
+ ss as ContainerDialogHeader,
4032
+ Ha as ContainerFormSection,
4033
+ is as ContainerPanel,
4034
+ Ua as ContainerTable,
4035
+ Va as ContainerToolbar,
4036
+ os as CreditCardForm,
4037
+ ls as DEFAULT_FOOTER_IDS,
4038
+ se as DEFAULT_GRID_INTERACTION_PHYSICS,
4039
+ Lo as DEFAULT_MARKET_PRESETS,
4040
+ cs as DEFAULT_OVERFLOW_IDS,
4041
+ $o as DEFAULT_PINNED,
4042
+ qe as DEFAULT_RESIZE_PHYSICS,
4043
+ ds as DataTable,
4044
+ us as DatePicker,
4045
+ ms as DateRangePicker,
4046
+ gs as DestructiveModal,
4047
+ ua as DevTuningPanel,
4048
+ ps as DirectionCard,
4049
+ hs as Dismissible,
4050
+ fs as DistributionCard,
4051
+ vs as DonutChart,
4052
+ lr as DragGhost,
4053
+ rr as DropAnchorCell,
4054
+ bs as Dropdown,
4055
+ ha as DualPaceBars,
4056
+ ys as ENTITY_FILTER_KEYS,
4057
+ ws as ENTITY_PROFILE_ROUTES,
4058
+ _s as ENTITY_TYPE_PLURAL,
4059
+ At as EdgeHoverHandle,
4060
+ or as EmptyCellPackAffordance,
4061
+ Ns as EntityPicker,
4062
+ X as EntityRow,
4063
+ Ds as EntitySearchPanel,
4064
+ Sa as ExceptionListCard,
4065
+ Ra as ExceptionListTilePreview,
4066
+ Cs as Expandable,
4067
+ ks as ExpandableChip,
4068
+ xs as FLIP_AND_STAGE_TIMINGS,
4069
+ Ss as FileUpload,
4070
+ Rs as FilterChip,
4071
+ Ms as FilterInput,
4072
+ Ts as FlipAndStageProvider,
4073
+ Is as Form,
4074
+ Ps as FormDialog,
4075
+ Fs as FormField,
4076
+ Es as FusedShape,
4077
+ fa as GapReadout,
4078
+ Ot as GhostPreview,
4079
+ As as GroupCheckbox,
4080
+ Os as GroupRadio,
4081
+ Nn as HARD_CLIP,
4082
+ Ls as HighlightCard,
4083
+ $s as HybridDatePicker,
4084
+ Bs as ImportWizard,
4085
+ Ma as InlineNudge,
4086
+ zs as Input,
4087
+ Ks as InputAddon,
4088
+ Ws as InputGroup,
4089
+ Da as LeaderboardCard,
4090
+ Ca as LeaderboardTilePreview,
4091
+ ya as LensChipGroup,
4092
+ Gs as Link,
4093
+ Vs as LoginForm,
4094
+ be as MagnitudeBar,
4095
+ Hs as MarketPresetRow,
4096
+ Us as MaskPresets,
4097
+ js as MaskedInput,
4098
+ Zs as Menu,
4099
+ qs as MenuDivider,
4100
+ Ys as MenuGroup,
4101
+ Qs as MenuItem,
4102
+ Xs as MergePrompt,
4103
+ Js as MetricCard,
4104
+ ei as MetricCardGrid,
4105
+ aa as MetricGroupContainer,
4106
+ ti as MiniCalendar,
4107
+ _a as MoreInLensRail,
4108
+ ai as MultiSelect,
4109
+ ni as NumberInput,
4110
+ ri as ObjectArrow,
4111
+ si as OrderFilterBar,
4112
+ Bo as PERIOD_OPTIONS,
4113
+ ur as PaceCard,
4114
+ mr as PaceTilePreview,
4115
+ Vt as PageChip,
4116
+ Ye as PageDropdown,
4117
+ ii as PasswordInput,
4118
+ oi as PaymentForm,
4119
+ li as PaymentMethodSelect,
4120
+ ci as PhoneInput,
4121
+ di as PinToMetric,
4122
+ Aa as PresetSwatchRow,
4123
+ ui as ProfileCard,
4124
+ mi as ProgressCard,
4125
+ gi as QuickConfigPanel,
4126
+ Qt as RECONFIG_BACKSIDE_LABELS,
4127
+ zo as ROLLING_OPTIONS,
4128
+ pi as Radio,
4129
+ hi as RadioGroup,
4130
+ fi as RangeSlider,
4131
+ fe as RankBadge,
4132
+ tt as RankDelta,
4133
+ vi as Rating,
4134
+ ea as ReconfigBacksideButtons,
4135
+ bi as RegistrationForm,
4136
+ nr as ResizeEnvelope,
4137
+ yi as Row1Controls,
4138
+ wi as Row2FilterTray,
4139
+ _i as SearchInput,
4140
+ ir as SectionDivider,
4141
+ pr as SectionDots,
4142
+ Ni as SegmentCard,
4143
+ Di as SegmentedControl,
4144
+ Ci as Select,
4145
+ ki as Selectable,
4146
+ ve as SeverityDot,
4147
+ xi as SimpleMetricCard,
4148
+ Si as SimpleSelector,
4149
+ Ri as Skeleton,
4150
+ Mi as SkeletonCard,
4151
+ Ti as SkeletonChart,
4152
+ Ii as SkeletonTable,
4153
+ Pi as Slider,
4154
+ cr as SnapOutline,
4155
+ Fi as Sortable,
4156
+ Ga as SortableZones,
4157
+ Ei as SparklineBg,
4158
+ sr as SpilloverArc,
4159
+ Ai as SplitButton,
4160
+ Oi as StackedGroupCard,
4161
+ wa as StarterRail,
4162
+ Li as StatusModeCard,
4163
+ Et as StatusSlotChipMenu,
4164
+ $i as Stepper,
4165
+ Ze as SwingReveal,
4166
+ Ko as TODAY_PRESET,
4167
+ re as TUNING_DEFAULTS,
4168
+ et as TUNING_STORAGE_KEY,
4169
+ Bi as TabGroup,
4170
+ zi as TabbedDataView,
4171
+ Ki as TagInput,
4172
+ St as TargetInput,
4173
+ Wi as Textarea,
4174
+ Pa as ThresholdRamp,
4175
+ Gi as TimeFrame,
4176
+ Vi as TimePicker,
4177
+ Hi as Toggle,
4178
+ Ui as Tooltip,
4179
+ ji as Transition,
4180
+ Zi as TransitionGroup,
4181
+ qi as TrendCard,
4182
+ Yi as TrendIndicator,
4183
+ Eo as UIContext,
4184
+ Oe as UIContextProvider,
4185
+ Qi as UnifiedBreakdownTable,
4186
+ Xi as UnifiedContextMenu,
4187
+ Lt as VelocityBuffer,
4188
+ Ji as addressGroupMetadata,
4189
+ eo as addressSchema,
4190
+ ln as allChips,
4191
+ Rn as allStateFixtures,
4192
+ Sn as allVariantFixtures,
4193
+ mn as blockSamples,
4194
+ to as buildDefaultOverflow,
4195
+ vn as cardSamples,
4196
+ bn as cascadePhysics,
4197
+ hn as chartSamples,
4198
+ pn as circleSamples,
4199
+ Dn as colorTokens,
4200
+ Yn as compactLayout,
4201
+ Bn as compactState,
4202
+ xn as computeGutterAnchorX,
4203
+ ao as contactFormMetadata,
4204
+ no as contactSchema,
4205
+ zn as contextMenuFixtures,
4206
+ ro as creditCardFormMetadata,
4207
+ so as creditCardSchema,
4208
+ Tt as dateChip,
4209
+ Je as defaultControlBarState,
4210
+ io as destructiveModalMetadata,
4211
+ oo as durations,
4212
+ lo as easings,
4213
+ zt as emptyFixture,
4214
+ Rt as entityChip,
4215
+ Zt as entityNameActions,
4216
+ dn as entityTabGroup,
4217
+ Bt as errorFixture,
4218
+ co as evaluateTintCondition,
4219
+ $n as filteredState,
4220
+ Wo as findPreset,
4221
+ Go as formatDateRange,
4222
+ Vo as formatMarketDates,
4223
+ Ho as formatTrend,
4224
+ Uo as formatValue,
4225
+ Xn as fullLayout,
4226
+ jo as generateMarketId,
4227
+ uo as generateTabId,
4228
+ Zo as getAllPresets,
4229
+ qo as getDateRangeForPreset,
4230
+ mo as getMenuActions,
4231
+ Cn as getMotionMode,
4232
+ Yo as getPresetLabel,
4233
+ go as getTransitionStyle,
4234
+ qn as gridCards,
4235
+ po as interpolate,
4236
+ Qo as isInRange,
4237
+ Xo as isMarketActive,
4238
+ Jo as isSameDay,
4239
+ Ln as itemColumns,
4240
+ An as itemRows,
4241
+ $t as loadingFixture,
4242
+ ho as loginFormMetadata,
4243
+ fo as loginSchema,
4244
+ It as manufacturerChip,
4245
+ ar as manyTabs,
4246
+ vo as mergeHandlers,
4247
+ bo as mergeRefs,
4248
+ cn as metricTabGroup,
4249
+ er as mixedTabs,
4250
+ el as normalizePresetId,
4251
+ Yt as numericActions,
4252
+ On as orderColumns,
4253
+ qt as orderIdActions,
4254
+ En as orderRows,
4255
+ Jn as ordersTabs,
4256
+ yo as parseNumericValue,
4257
+ wo as paymentFormMetadata,
4258
+ _o as paymentSchema,
4259
+ No as presets,
4260
+ wn as provisional,
4261
+ _n as reducedMotion,
4262
+ Do as registrationFormMetadata,
4263
+ Co as registrationSchema,
4264
+ yn as rejectionFeedback,
4265
+ Wn as sampleCompareRanges,
4266
+ Hn as sampleCustomMarkets,
4267
+ Kn as sampleDateRange,
4268
+ Un as sampleMarketPresetData,
4269
+ Vn as sampleMarkets,
4270
+ Zn as samplePeriodPresets,
4271
+ Gn as samplePreferences,
4272
+ jn as samplePresets,
4273
+ tr as singleTab,
4274
+ Mn as sparklineFixture,
4275
+ Tn as sparklineUpFixture,
4276
+ Gt as staleDonutFixture,
4277
+ Kt as staleFixture,
4278
+ Wt as staleSparklineFixture,
4279
+ In as standardFixture,
4280
+ Fn as standardFlatFixture,
4281
+ Qn as standardLayout,
4282
+ Pn as standardNegativeFixture,
4283
+ Mt as statusChip,
4284
+ me as swingReveal,
4285
+ fn as tableSamples,
4286
+ gn as textSamples,
4287
+ un as timeFrameTabGroup,
4288
+ tl as toUppercasePresetId,
4289
+ on as useArrowNavigation,
4290
+ ko as useCheckboxGroupContext,
4291
+ kn as useEdgeHoverResize,
4292
+ xo as useFilterLayout,
4293
+ So as useFlipAndStage,
4294
+ Ro as useFlipAndStageContext,
4295
+ Mo as useFlipAndStageContextOptional,
4296
+ sn as useFocusReturn,
4297
+ To as useFocusTrap,
4298
+ Io as useFormContext,
4299
+ Po as useRadioGroupContext,
4300
+ sa as useResizeTuning,
4301
+ $a as useSortableZones,
4302
+ Ao as useUIContext
4002
4303
  };