@mt-gloss/ui 0.1.4 → 0.1.6

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,23 +1,23 @@
1
- import { N as Dn, T as Cn, O as Nn, Q as _n, a3 as kn, b6 as Sn, az as xn, ah as Tn, Z as In, an as Rn, K as Mn, a8 as Fn, bn as Pn, P as En, B as On, a as An, y as Ln, H as $n, bi as Bn, F as Kn, J as zn, A as Wn, z as Gn, bh as Hn, E as Vn, D as Un, bw as Zn, b as jn, C as Yn, L as qn, o as Qn, ad as Xn, aN as Jn, y as er, H as tr, F as ar, J as nr, A as rr, z as sr, E as or, D as ir, a$ as lr, b2 as dr, b1 as cr, b0 as ur, b3 as mr, aC as pr, a5 as gr, a4 as fr, aq as hr, k as br, m as vr, aF as yr, ab as wr, b8 as Dr, a9 as Cr, bo as Nr, Y as _r, bG as kr, bF as Sr, bH as xr, ap as Tr, aQ as Ir, ba as Rr, bL as Mr, bu as Fr, n as Pr, am as Er, bA as Or, br as Ar, a0 as Lr, ar as $r, a2 as Br, bz as Kr, G as zr, d as Wr, aa as Gr, bI as Hr, aT as Vr, r as Ur, v as Zr, I as jr, g as Yr, aw as qr, bM as Qr, M as Xr, w as Jr, U as es, X as ts, V as as, W as ns, as as rs, bg as ss, bO as os, bK as is, ao as ls, t as ds, bp as cs, aS as us, aj as ms, aK as ps, ag as gs, al as fs, au as hs, aR as bs, ac as vs, at as ys, c as ws, R as Ds, j as Cs, p as Ns, aH as _s, bx as ks, by as Ss, ai as xs, ae as Ts, h as Is, x as Rs, b7 as Ms, af as Fs, bN as Ps, bc as Es, bf as Os, bd as As, be as Ls, i as $s, b9 as Bs, bm as Ks, S as zs, bk as Ws, bl as Gs, av as Hs, bb as Vs, bP as Us, ak as Zs, s as js, bJ as Ys, l as qs, f as Qs, q as Xs, _ as Js, $ as eo, a7 as to, bj as ao, bv as no, bC as ro, aA as so, aB as oo, a6 as io, aO as lo, aP as co, aD as uo, aE as mo, aG as po, aV as go, aW as fo, bE as ho, bD as bo, aY as vo, aZ as yo, ax as wo, ay as Do, b5 as Co, b4 as No, a_ as _o, aL as ko, aM as So, aX as xo, aI as To, aJ as Io, u as Ro, bB as Mo, bq as Fo, bs as Po, bt as Eo, aU as Oo, a1 as Ao, e as Lo } from "./Expandable-CsLVYNv3.js";
2
- import { jsxs as A, jsx as c } from "react/jsx-runtime";
3
- import * as Ue from "react";
4
- import G, { useRef as R, useEffect as $, useState as z, useCallback as v, forwardRef as Ze, useMemo as ne, createContext as je, useContext as Ye } from "react";
5
- import { motion as Te, useMotionValue as qe, animate as Ce, useDragControls as Qe } from "framer-motion";
6
- import { B as Xe, U as ye } from "./UIContext-C3E-k7HI.js";
7
- import { a as Bo, u as Ko } from "./UIContext-C3E-k7HI.js";
8
- import { createPortal as Je } from "react-dom";
9
- import { DEFAULT_MARKET_PRESETS as Wo, DEFAULT_PINNED as Go, PERIOD_OPTIONS as Ho, ROLLING_OPTIONS as Vo, TODAY_PRESET as Uo, findPreset as Zo, formatDateRange as jo, formatMarketDates as Yo, formatTrend as qo, formatValue as Qo, generateMarketId as Xo, getAllPresets as Jo, getDateRangeForPreset as ei, getPresetLabel as ti, isInRange as ai, isMarketActive as ni, isSameDay as ri, normalizePresetId as si, toUppercasePresetId as oi } from "@mt-gloss/utils";
10
- import et from "@mui/icons-material/AccessTime";
11
- import tt from "@mui/icons-material/Tune";
12
- import at from "@mui/icons-material/ViewColumn";
13
- import nt from "@mui/icons-material/AspectRatio";
14
- import rt from "@mui/icons-material/Palette";
15
- import st from "@mui/icons-material/PushPin";
16
- function Da(e = {}) {
17
- const { enabled: t = !0, returnTo: n } = e, a = R(null);
18
- return $(() => {
1
+ import { N as Nn, T as Cn, O as _n, Q as kn, a3 as xn, b6 as Sn, az as Tn, ah as Rn, Z as In, an as Mn, K as Fn, a8 as Pn, bn as En, P as On, B as An, a as Ln, y as $n, H as Bn, bi as Kn, F as zn, J as Wn, A as Gn, z as Hn, bh as Vn, E as Un, D as Zn, bw as jn, b as Yn, C as qn, L as Qn, o as Xn, ad as Jn, aN as er, y as tr, H as ar, F as nr, J as rr, A as sr, z as or, E as ir, D as lr, a$ as cr, b2 as dr, b1 as ur, b0 as mr, b3 as pr, aC as gr, a5 as fr, a4 as hr, aq as br, k as vr, m as yr, aF as wr, ab as Dr, b8 as Nr, a9 as Cr, bo as _r, Y as kr, bG as xr, bF as Sr, bH as Tr, ap as Rr, aQ as Ir, ba as Mr, bL as Fr, bu as Pr, n as Er, am as Or, bA as Ar, br as Lr, a0 as $r, ar as Br, a2 as Kr, bz as zr, G as Wr, d as Gr, aa as Hr, bI as Vr, aT as Ur, r as Zr, v as jr, I as Yr, g as qr, aw as Qr, bM as Xr, M as Jr, w as es, U as ts, X as as, V as ns, W as rs, as as ss, bg as os, bO as is, bK as ls, ao as cs, t as ds, bp as us, aS as ms, aj as ps, aK as gs, ag as fs, al as hs, au as bs, aR as vs, ac as ys, at as ws, c as Ds, R as Ns, j as Cs, p as _s, aH as ks, bx as xs, by as Ss, ai as Ts, ae as Rs, h as Is, x as Ms, b7 as Fs, af as Ps, bN as Es, bc as Os, bf as As, bd as Ls, be as $s, i as Bs, b9 as Ks, bm as zs, S as Ws, bk as Gs, bl as Hs, av as Vs, bb as Us, bP as Zs, ak as js, s as Ys, bJ as qs, l as Qs, f as Xs, q as Js, _ as eo, $ as to, a7 as ao, bj as no, bv as ro, bC as so, aA as oo, aB as io, a6 as lo, aO as co, aP as uo, aD as mo, aE as po, aG as go, aV as fo, aW as ho, bE as bo, bD as vo, aY as yo, aZ as wo, ax as Do, ay as No, b5 as Co, b4 as _o, a_ as ko, aL as xo, aM as So, aX as To, aI as Ro, aJ as Io, u as Mo, bB as Fo, bq as Po, bs as Eo, bt as Oo, aU as Ao, a1 as Lo, e as $o } from "./Expandable-CsLVYNv3.js";
2
+ import { jsxs as A, jsx as d } from "react/jsx-runtime";
3
+ import * as Ze from "react";
4
+ import H, { useRef as I, useEffect as L, useState as W, useCallback as y, forwardRef as je, useMemo as re, createContext as Ye, useContext as qe } from "react";
5
+ import { motion as Ie, useMotionValue as Qe, animate as _e, useDragControls as Xe } from "framer-motion";
6
+ import { B as Je, U as we } from "./UIContext-C3E-k7HI.js";
7
+ import { a as Ko, u as zo } from "./UIContext-C3E-k7HI.js";
8
+ import { createPortal as et } from "react-dom";
9
+ import { DEFAULT_MARKET_PRESETS as Go, DEFAULT_PINNED as Ho, PERIOD_OPTIONS as Vo, ROLLING_OPTIONS as Uo, TODAY_PRESET as Zo, findPreset as jo, formatDateRange as Yo, formatMarketDates as qo, formatTrend as Qo, formatValue as Xo, generateMarketId as Jo, getAllPresets as ei, getDateRangeForPreset as ti, getPresetLabel as ai, isInRange as ni, isMarketActive as ri, isSameDay as si, normalizePresetId as oi, toUppercasePresetId as ii } from "@mt-gloss/utils";
10
+ import tt from "@mui/icons-material/AccessTime";
11
+ import at from "@mui/icons-material/Tune";
12
+ import nt from "@mui/icons-material/ViewColumn";
13
+ import rt from "@mui/icons-material/AspectRatio";
14
+ import st from "@mui/icons-material/Palette";
15
+ import ot from "@mui/icons-material/PushPin";
16
+ function Na(e = {}) {
17
+ const { enabled: t = !0, returnTo: n } = e, a = I(null);
18
+ return L(() => {
19
19
  t && (a.current = n || document.activeElement);
20
- }, [t, n]), $(() => () => {
20
+ }, [t, n]), L(() => () => {
21
21
  t && a.current && setTimeout(() => {
22
22
  a.current?.focus?.();
23
23
  }, 0);
@@ -34,63 +34,63 @@ function Ca(e) {
34
34
  isItemDisabled: l,
35
35
  onSelect: b,
36
36
  onEscape: p
37
- } = e, [y, C] = z(-1), u = n !== void 0 ? n : y, d = v(
37
+ } = e, [v, C] = W(-1), u = n !== void 0 ? n : v, c = y(
38
38
  (i) => {
39
39
  n === void 0 && C(i), a?.(i);
40
40
  },
41
41
  [n, a]
42
- ), g = v(() => t.map((i, m) => ({ item: i, index: m })).filter(({ item: i, index: m }) => !l?.(i, m)).map(({ index: i }) => i), [t, l]), x = v(
43
- (i, m) => {
44
- const h = g();
45
- if (h.length === 0) return -1;
46
- const N = h.indexOf(i);
47
- if (N === -1)
48
- return m === 1 ? h.find((F) => F > i) ?? (r ? h[0] : -1) : [...h].reverse().find((I) => I < i) ?? (r ? h[h.length - 1] : -1);
49
- let _ = N + m;
50
- return r ? _ = (_ + h.length) % h.length : _ = Math.max(0, Math.min(h.length - 1, _)), h[_];
42
+ ), g = y(() => t.map((i, h) => ({ item: i, index: h })).filter(({ item: i, index: h }) => !l?.(i, h)).map(({ index: i }) => i), [t, l]), S = y(
43
+ (i, h) => {
44
+ const m = g();
45
+ if (m.length === 0) return -1;
46
+ const w = m.indexOf(i);
47
+ if (w === -1)
48
+ return h === 1 ? m.find((T) => T > i) ?? (r ? m[0] : -1) : [...m].reverse().find((E) => E < i) ?? (r ? m[m.length - 1] : -1);
49
+ let _ = w + h;
50
+ return r ? _ = (_ + m.length) % m.length : _ = Math.max(0, Math.min(m.length - 1, _)), m[_];
51
51
  },
52
52
  [g, r]
53
- ), f = v(() => {
53
+ ), f = y(() => {
54
54
  const i = g();
55
- i.length > 0 && d(i[0]);
56
- }, [g, d]), k = v(() => {
55
+ i.length > 0 && c(i[0]);
56
+ }, [g, c]), x = y(() => {
57
57
  const i = g();
58
- i.length > 0 && d(i[i.length - 1]);
59
- }, [g, d]), M = v(() => {
60
- const i = x(u, 1);
61
- i !== -1 && d(i);
62
- }, [u, x, d]), D = v(() => {
63
- const i = x(u, -1);
64
- i !== -1 && d(i);
65
- }, [u, x, d]), S = v(() => {
66
- d(-1);
67
- }, [d]), T = v(
58
+ i.length > 0 && c(i[i.length - 1]);
59
+ }, [g, c]), M = y(() => {
60
+ const i = S(u, 1);
61
+ i !== -1 && c(i);
62
+ }, [u, S, c]), N = y(() => {
63
+ const i = S(u, -1);
64
+ i !== -1 && c(i);
65
+ }, [u, S, c]), k = y(() => {
66
+ c(-1);
67
+ }, [c]), R = y(
68
68
  (i) => {
69
69
  if (!o) return;
70
- const { key: m } = i, h = m === "ArrowUp" && (s === "vertical" || s === "both"), N = m === "ArrowDown" && (s === "vertical" || s === "both"), _ = m === "ArrowLeft" && (s === "horizontal" || s === "both"), F = m === "ArrowRight" && (s === "horizontal" || s === "both");
71
- if (h || _) {
72
- i.preventDefault(), u === -1 ? k() : D();
70
+ const { key: h } = i, m = h === "ArrowUp" && (s === "vertical" || s === "both"), w = h === "ArrowDown" && (s === "vertical" || s === "both"), _ = h === "ArrowLeft" && (s === "horizontal" || s === "both"), T = h === "ArrowRight" && (s === "horizontal" || s === "both");
71
+ if (m || _) {
72
+ i.preventDefault(), u === -1 ? x() : N();
73
73
  return;
74
74
  }
75
- if (N || F) {
75
+ if (w || T) {
76
76
  i.preventDefault(), u === -1 ? f() : M();
77
77
  return;
78
78
  }
79
- if (m === "Home") {
79
+ if (h === "Home") {
80
80
  i.preventDefault(), f();
81
81
  return;
82
82
  }
83
- if (m === "End") {
84
- i.preventDefault(), k();
83
+ if (h === "End") {
84
+ i.preventDefault(), x();
85
85
  return;
86
86
  }
87
- if ((m === "Enter" || m === " ") && u >= 0 && u < t.length) {
87
+ if ((h === "Enter" || h === " ") && u >= 0 && u < t.length) {
88
88
  i.preventDefault();
89
- const I = t[u];
90
- l?.(I, u) || b?.(I, u);
89
+ const E = t[u];
90
+ l?.(E, u) || b?.(E, u);
91
91
  return;
92
92
  }
93
- if (m === "Escape") {
93
+ if (h === "Escape") {
94
94
  p?.();
95
95
  return;
96
96
  }
@@ -101,9 +101,9 @@ function Ca(e) {
101
101
  u,
102
102
  t,
103
103
  f,
104
- k,
104
+ x,
105
105
  M,
106
- D,
106
+ N,
107
107
  l,
108
108
  b,
109
109
  p
@@ -111,52 +111,52 @@ function Ca(e) {
111
111
  );
112
112
  return {
113
113
  focusedIndex: u,
114
- setFocusedIndex: d,
115
- handleKeyDown: T,
114
+ setFocusedIndex: c,
115
+ handleKeyDown: R,
116
116
  focusFirst: f,
117
- focusLast: k,
117
+ focusLast: x,
118
118
  focusNext: M,
119
- focusPrevious: D,
120
- resetFocus: S
119
+ focusPrevious: N,
120
+ resetFocus: k
121
121
  };
122
122
  }
123
- const ie = (e) => {
124
- }, ot = {
123
+ const ce = (e) => {
124
+ }, it = {
125
125
  id: "entity-filter-1",
126
126
  label: "Customer: Acme Corp",
127
127
  field: "customer",
128
128
  value: "acme-corp-123",
129
- onRemove: ie
130
- }, it = {
129
+ onRemove: ce
130
+ }, lt = {
131
131
  id: "status-filter-1",
132
132
  label: "Status: Open",
133
133
  field: "status",
134
134
  value: "open",
135
- onRemove: ie
136
- }, lt = {
135
+ onRemove: ce
136
+ }, ct = {
137
137
  id: "date-filter-1",
138
138
  label: "Date: Mar 1 - Mar 15",
139
139
  field: "dateRange",
140
140
  value: "2026-03-01..2026-03-15",
141
- onRemove: ie
141
+ onRemove: ce
142
142
  }, dt = {
143
143
  id: "mfg-filter-1",
144
144
  label: "Manufacturer: Widget Co",
145
145
  field: "manufacturer",
146
146
  value: "widget-co-456",
147
- onRemove: ie
148
- }, Na = [
149
- ot,
147
+ onRemove: ce
148
+ }, _a = [
150
149
  it,
151
150
  lt,
151
+ ct,
152
152
  dt
153
- ], _a = {
153
+ ], ka = {
154
154
  id: "metric-toggle",
155
155
  tabs: [
156
156
  { id: "$", label: "$", mono: !0 },
157
157
  { id: "#", label: "#", mono: !0 }
158
158
  ]
159
- }, ka = {
159
+ }, xa = {
160
160
  id: "entity-type",
161
161
  tabs: [
162
162
  { id: "orders", label: "Orders" },
@@ -172,12 +172,12 @@ const ie = (e) => {
172
172
  { id: "YTD", label: "YTD" },
173
173
  { id: "LYTD", label: "LYTD" }
174
174
  ]
175
- }, xa = [
175
+ }, Ta = [
176
176
  { variant: "block", width: "100%", height: 16 },
177
177
  { variant: "block", width: 200, height: 32, borderRadius: 8 },
178
178
  { variant: "block", width: "80%", height: 12, borderRadius: "4px" },
179
179
  { variant: "block", width: 120, height: 44, borderRadius: 22 }
180
- ], Ta = [
180
+ ], Ra = [
181
181
  { variant: "text", lines: 3, lineHeight: 14, gap: 8 },
182
182
  { variant: "text", lines: 2, lineHeight: 16, gap: 10 },
183
183
  { variant: "text", lines: 5, lineHeight: 12, gap: 6 }
@@ -185,17 +185,17 @@ const ie = (e) => {
185
185
  { variant: "circle", size: 24 },
186
186
  { variant: "circle", size: 40 },
187
187
  { variant: "circle", size: 64 }
188
- ], Ra = [
188
+ ], Ma = [
189
189
  { bars: 10, maxHeight: 120 },
190
190
  { bars: 5, maxHeight: 80 }
191
- ], Ma = [
191
+ ], Fa = [
192
192
  { rows: 5, columns: 3, hasCheckbox: !1, rowHeight: 44 },
193
193
  { rows: 8, columns: 5, hasCheckbox: !0, rowHeight: 44 }
194
- ], Fa = [
194
+ ], Pa = [
195
195
  { variant: "value", colSpan: 1 },
196
196
  { variant: "trend", colSpan: 2 },
197
197
  { variant: "target", colSpan: 1 }
198
- ], Ne = {
198
+ ], ke = {
199
199
  position: "fixed",
200
200
  zIndex: 9999,
201
201
  background: "rgba(255,255,255,0.92)",
@@ -207,7 +207,7 @@ const ie = (e) => {
207
207
  minWidth: 148,
208
208
  paddingTop: 4,
209
209
  paddingBottom: 4
210
- }, ge = (e) => ({
210
+ }, fe = (e) => ({
211
211
  padding: "6px 12px",
212
212
  fontSize: 12,
213
213
  lineHeight: 1.4,
@@ -221,16 +221,16 @@ const ie = (e) => {
221
221
  width: "100%",
222
222
  textAlign: "left",
223
223
  border: "none"
224
- }), ct = (e) => ({
225
- ...ge(e),
224
+ }), ut = (e) => ({
225
+ ...fe(e),
226
226
  color: e ? "#4338ca" : "#4f46e5",
227
227
  fontWeight: 600
228
- }), ut = {
228
+ }), mt = {
229
229
  height: 1,
230
230
  background: "rgba(0,0,0,0.06)",
231
231
  margin: "3px 10px"
232
232
  };
233
- function mt({
233
+ function pt({
234
234
  open: e,
235
235
  anchorEl: t,
236
236
  statusId: n,
@@ -239,27 +239,27 @@ function mt({
239
239
  overflowActions: s,
240
240
  onClose: o
241
241
  }) {
242
- const [l, b] = z(null), p = R(null), y = v(() => {
243
- if (!t) return { ...Ne, top: 0, left: 0 };
244
- const d = t.getBoundingClientRect();
242
+ const [l, b] = W(null), p = I(null), v = y(() => {
243
+ if (!t) return { ...ke, top: 0, left: 0 };
244
+ const c = t.getBoundingClientRect();
245
245
  return {
246
- ...Ne,
247
- top: d.bottom + 4,
248
- left: d.left
246
+ ...ke,
247
+ top: c.bottom + 4,
248
+ left: c.left
249
249
  };
250
250
  }, [t]);
251
- if ($(() => {
251
+ if (L(() => {
252
252
  if (!e) return;
253
- const d = (g) => {
253
+ const c = (g) => {
254
254
  g.key === "Escape" && o();
255
255
  };
256
- return document.addEventListener("keydown", d), () => document.removeEventListener("keydown", d);
257
- }, [e, o]), $(() => {
256
+ return document.addEventListener("keydown", c), () => document.removeEventListener("keydown", c);
257
+ }, [e, o]), L(() => {
258
258
  if (!e) return;
259
- const d = (g) => {
259
+ const c = (g) => {
260
260
  p.current && !p.current.contains(g.target) && o();
261
261
  };
262
- return document.addEventListener("pointerdown", d, !0), () => document.removeEventListener("pointerdown", d, !0);
262
+ return document.addEventListener("pointerdown", c, !0), () => document.removeEventListener("pointerdown", c, !0);
263
263
  }, [e, o]), !e) return null;
264
264
  const C = s && s.length > 0, u = /* @__PURE__ */ A(
265
265
  "div",
@@ -268,13 +268,13 @@ function mt({
268
268
  "data-status-chip-menu": n,
269
269
  role: "menu",
270
270
  "aria-label": "Status actions",
271
- style: y(),
271
+ style: v(),
272
272
  children: [
273
- /* @__PURE__ */ c(
273
+ /* @__PURE__ */ d(
274
274
  "button",
275
275
  {
276
276
  role: "menuitem",
277
- style: ct(l === "__primary"),
277
+ style: ut(l === "__primary"),
278
278
  onMouseEnter: () => b("__primary"),
279
279
  onMouseLeave: () => b(null),
280
280
  onClick: () => {
@@ -283,11 +283,11 @@ function mt({
283
283
  children: "Open in table"
284
284
  }
285
285
  ),
286
- /* @__PURE__ */ c(
286
+ /* @__PURE__ */ d(
287
287
  "button",
288
288
  {
289
289
  role: "menuitem",
290
- style: ge(l === "__graph"),
290
+ style: fe(l === "__graph"),
291
291
  onMouseEnter: () => b("__graph"),
292
292
  onMouseLeave: () => b(null),
293
293
  onClick: () => {
@@ -296,30 +296,30 @@ function mt({
296
296
  children: "Show on graph"
297
297
  }
298
298
  ),
299
- C && /* @__PURE__ */ c("div", { style: ut }),
300
- C && s?.map((d) => /* @__PURE__ */ c(
299
+ C && /* @__PURE__ */ d("div", { style: mt }),
300
+ C && s?.map((c) => /* @__PURE__ */ d(
301
301
  "button",
302
302
  {
303
303
  role: "menuitem",
304
- style: ge(l === d.id),
305
- onMouseEnter: () => b(d.id),
304
+ style: fe(l === c.id),
305
+ onMouseEnter: () => b(c.id),
306
306
  onMouseLeave: () => b(null),
307
307
  onClick: () => {
308
- d.onSelect(n), o();
308
+ c.onSelect(n), o();
309
309
  },
310
- children: d.label
310
+ children: c.label
311
311
  },
312
- d.id
312
+ c.id
313
313
  ))
314
314
  ]
315
315
  }
316
316
  );
317
- return Je(u, document.body);
317
+ return et(u, document.body);
318
318
  }
319
- mt.displayName = "StatusSlotChipMenu";
320
- const pt = Ze(
319
+ pt.displayName = "StatusSlotChipMenu";
320
+ const gt = je(
321
321
  function({ state: t, onPointerDown: n, onPointerUp: a, onPointerEnter: r, onPointerLeave: s, onKeyboardStep: o, edge: l = "right", ariaLabel: b = "Resize card" }, p) {
322
- const y = t === "handle-visible" || t === "dragging" || t === "settling", C = (g) => {
322
+ const v = t === "handle-visible" || t === "dragging" || t === "settling", C = (g) => {
323
323
  try {
324
324
  g.currentTarget.setPointerCapture(g.pointerId);
325
325
  } catch {
@@ -331,10 +331,10 @@ const pt = Ze(
331
331
  } catch {
332
332
  }
333
333
  a(g);
334
- }, d = (g) => {
335
- !y || !o || (g.key === "ArrowRight" ? (g.preventDefault(), o("grow")) : g.key === "ArrowLeft" && (g.preventDefault(), o("shrink")));
334
+ }, c = (g) => {
335
+ !v || !o || (g.key === "ArrowRight" ? (g.preventDefault(), o("grow")) : g.key === "ArrowLeft" && (g.preventDefault(), o("shrink")));
336
336
  };
337
- return /* @__PURE__ */ c(
337
+ return /* @__PURE__ */ d(
338
338
  "button",
339
339
  {
340
340
  ref: p,
@@ -345,28 +345,28 @@ const pt = Ze(
345
345
  className: [
346
346
  "gloss-edge-handle",
347
347
  `gloss-edge-handle--${l}`,
348
- y ? "gloss-edge-handle--visible" : ""
348
+ v ? "gloss-edge-handle--visible" : ""
349
349
  ].filter(Boolean).join(" "),
350
350
  onPointerDown: C,
351
351
  onPointerUp: u,
352
352
  onPointerEnter: r,
353
353
  onPointerLeave: s,
354
- onKeyDown: d,
355
- tabIndex: y ? 0 : -1
354
+ onKeyDown: c,
355
+ tabIndex: v ? 0 : -1
356
356
  }
357
357
  );
358
358
  }
359
359
  );
360
- pt.displayName = "EdgeHoverHandle";
361
- function gt({
360
+ gt.displayName = "EdgeHoverHandle";
361
+ function ft({
362
362
  visible: e,
363
363
  targetColSpan: t,
364
364
  ghostWidth: n,
365
365
  enterMs: a = 180,
366
366
  exitMs: r = 120
367
367
  }) {
368
- return /* @__PURE__ */ c(
369
- Te.div,
368
+ return /* @__PURE__ */ d(
369
+ Ie.div,
370
370
  {
371
371
  "aria-hidden": "true",
372
372
  "data-ghost-preview": e ? "visible" : "hidden",
@@ -382,8 +382,8 @@ function gt({
382
382
  }
383
383
  );
384
384
  }
385
- gt.displayName = "GhostPreview";
386
- class ft {
385
+ ft.displayName = "GhostPreview";
386
+ class ht {
387
387
  constructor() {
388
388
  this.samples = [], this.capacity = 3;
389
389
  }
@@ -407,14 +407,14 @@ class ft {
407
407
  const t = this.samples.length;
408
408
  if (t < 2) return 0;
409
409
  if (t === 2) {
410
- const [b, p] = this.samples, y = Math.max(1, p.t - b.t);
411
- return (p.x - b.x) / y * 1e3;
410
+ const [b, p] = this.samples, v = Math.max(1, p.t - b.t);
411
+ return (p.x - b.x) / v * 1e3;
412
412
  }
413
413
  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;
414
414
  return (s * 3 + o * 2 + l * 1) / 6;
415
415
  }
416
416
  }
417
- const Ie = {
417
+ const Me = {
418
418
  // Spring (D-08). Retuned 260419 — damping 35 → 22 so the commit spring
419
419
  // has visible overshoot (ζ ≈ 0.49, ~13–17% overshoot, ~350ms settle). The
420
420
  // prior ζ ≈ 0.78 was imperceptible to users. Debug slug:
@@ -434,7 +434,7 @@ const Ie = {
434
434
  // Velocity multiplier (D-03b panel)
435
435
  velocityMultiplier: 1
436
436
  };
437
- function Pa({
437
+ function Ea({
438
438
  currentColSpan: e,
439
439
  stackable: t,
440
440
  onResize: n,
@@ -445,198 +445,201 @@ function Pa({
445
445
  dwellMs: l = 120,
446
446
  enterMs: b = 180,
447
447
  exitMs: p = 120,
448
- maxColSpan: y = 3,
448
+ maxColSpan: v = 3,
449
449
  containerRef: C,
450
450
  forceIdle: u
451
451
  }) {
452
- const [d, g] = z("idle"), [x, f] = z(e), k = R(null), M = R(null), D = R(null), S = R(r), T = R(s), i = R(0), m = R("idle");
453
- $(() => {
454
- m.current = d;
455
- }, [d]);
456
- const h = qe(0), N = R(null), _ = v(() => {
457
- const w = N.current;
458
- if (w) {
452
+ const [c, g] = W("idle"), [S, f] = W(e), x = I(null), M = I(null), N = I(null), k = I(r), R = I(s), i = I(v), h = I(0), m = I("idle");
453
+ L(() => {
454
+ m.current = c;
455
+ }, [c]);
456
+ const w = Qe(0), _ = I(null), T = y(() => {
457
+ const D = _.current;
458
+ if (D) {
459
459
  try {
460
- w.stop();
460
+ D.stop();
461
461
  } catch {
462
462
  }
463
- N.current = null;
463
+ _.current = null;
464
464
  }
465
- }, []), F = v(
466
- (w) => {
467
- const P = S.current, E = T.current;
468
- return w * P + (w - 1) * E;
465
+ }, []), E = y(
466
+ (D) => {
467
+ const F = k.current, P = R.current;
468
+ return D * F + (D - 1) * P;
469
469
  },
470
470
  []
471
- ), I = R(new ft()), V = R(e);
472
- $(() => {
473
- V.current = x;
474
- }, [x]);
475
- const O = ne(() => ({ ...Ie, ...o ?? {} }), [o]), W = v(() => {
476
- k.current && (clearTimeout(k.current), k.current = null);
477
- }, []), L = v(() => {
471
+ ), G = I(new ht()), V = I(e);
472
+ L(() => {
473
+ V.current = S;
474
+ }, [S]);
475
+ const $ = re(() => ({ ...Me, ...o ?? {} }), [o]), O = y(() => {
476
+ x.current && (clearTimeout(x.current), x.current = null);
477
+ }, []), U = y(() => {
478
478
  M.current && (clearTimeout(M.current), M.current = null);
479
479
  }, []);
480
- $(() => {
481
- u && (m.current === "dragging" || m.current === "settling" || (W(), L(), m.current = "idle", g("idle")));
482
- }, [u, W, L]);
483
- const X = v(() => {
484
- g((w) => w === "settling" || w !== "idle" ? w : (k.current = setTimeout(() => g("handle-visible"), l), "dwelling"));
485
- }, [l]), re = v(() => {
486
- W(), g((w) => w === "dwelling" || w === "handle-visible" ? "idle" : w);
487
- }, [W]), B = v(
488
- (w, P, E) => {
489
- const K = S.current, J = K * O.snapInFraction, q = K * O.snapOutFraction, Q = P - E;
490
- let H = Q;
491
- for (; E + H < 3; ) {
492
- const ee = H * K + (H < 0 ? q : J);
493
- if (w >= ee) H += 1;
480
+ L(() => {
481
+ u && (m.current === "dragging" || m.current === "settling" || (O(), U(), m.current = "idle", g("idle")));
482
+ }, [u, O, U]);
483
+ const se = y(() => {
484
+ g((D) => D === "settling" || D !== "idle" ? D : (x.current = setTimeout(() => g("handle-visible"), l), "dwelling"));
485
+ }, [l]), z = y(() => {
486
+ O(), g((D) => D === "dwelling" || D === "handle-visible" ? "idle" : D);
487
+ }, [O]), oe = y(
488
+ (D, F, P) => {
489
+ const B = k.current, Q = B * $.snapInFraction, j = B * $.snapOutFraction, Y = F - P, q = Math.max(
490
+ P,
491
+ i.current ?? v
492
+ );
493
+ let K = Y;
494
+ for (; P + K < q; ) {
495
+ const te = K * B + (K < 0 ? j : Q);
496
+ if (D >= te) K += 1;
494
497
  else break;
495
498
  }
496
- if (H === Q)
497
- for (; E + H > 1; ) {
498
- const ee = H * K - (H > 0 ? q : J);
499
- if (w <= ee) H -= 1;
499
+ if (K === Y)
500
+ for (; P + K > 1; ) {
501
+ const te = K * B - (K > 0 ? j : Q);
502
+ if (D <= te) K -= 1;
500
503
  else break;
501
504
  }
502
- return Math.min(3, Math.max(1, E + H));
505
+ return Math.min(q, Math.max(1, P + K));
503
506
  },
504
- [O.snapInFraction, O.snapOutFraction]
505
- ), Be = v(
506
- (w) => {
507
+ [$.snapInFraction, $.snapOutFraction, v]
508
+ ), ze = y(
509
+ (D) => {
507
510
  if (m.current !== "handle-visible") return;
508
- _(), D.current = w.clientX, S.current = r, T.current = s;
509
- const P = e * r + (e - 1) * s;
510
- i.current = P, I.current.clear(), I.current.push({ x: w.clientX, t: performance.now() }), h.jump(P), m.current = "dragging", g("dragging");
511
+ T(), N.current = D.clientX, k.current = r, R.current = s, i.current = v;
512
+ const F = e * r + (e - 1) * s;
513
+ h.current = F, G.current.clear(), G.current.push({ x: D.clientX, t: performance.now() }), w.jump(F), m.current = "dragging", g("dragging");
511
514
  },
512
- [r, s, e, h, _]
513
- ), we = v(
514
- (w) => w * S.current + (w - 1) * T.current,
515
+ [r, s, v, e, w, T]
516
+ ), De = y(
517
+ (D) => D * k.current + (D - 1) * R.current,
515
518
  []
516
- ), se = v(
517
- (w, P) => {
518
- const E = we(w), K = w !== e;
519
+ ), ie = y(
520
+ (D, F) => {
521
+ const P = De(D), B = D !== e;
519
522
  if (typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches) {
520
- h.jump(E), K && P ? n({ direction: P, targetColSpan: w, mode: t ? "slot-fill" : "sparkline-fidelity" }) : K || a?.(), h.jump(0), m.current = "idle", g("idle");
523
+ w.jump(P), B && F ? n({ direction: F, targetColSpan: D, mode: t ? "slot-fill" : "sparkline-fidelity" }) : B || a?.(), w.jump(0), m.current = "idle", g("idle");
521
524
  return;
522
525
  }
523
- const q = I.current.getWeightedVelocity() * O.velocityMultiplier;
524
- m.current = "settling", g("settling"), _(), N.current = Ce(h, E, {
526
+ const j = G.current.getWeightedVelocity() * $.velocityMultiplier;
527
+ m.current = "settling", g("settling"), T(), _.current = _e(w, P, {
525
528
  type: "spring",
526
- stiffness: O.stiffness,
527
- damping: O.damping,
528
- mass: O.mass,
529
- velocity: q,
529
+ stiffness: $.stiffness,
530
+ damping: $.damping,
531
+ mass: $.mass,
532
+ velocity: j,
530
533
  onComplete: () => {
531
- N.current = null, K && P ? n({ direction: P, targetColSpan: w, mode: t ? "slot-fill" : "sparkline-fidelity" }) : K || a?.(), h.jump(0), m.current = "idle", g("idle");
534
+ _.current = null, B && F ? n({ direction: F, targetColSpan: D, mode: t ? "slot-fill" : "sparkline-fidelity" }) : B || a?.(), w.jump(0), m.current = "idle", g("idle");
532
535
  }
533
536
  });
534
537
  },
535
- [we, e, t, n, a, h, O, _]
536
- ), Ke = v(
537
- (w) => {
538
+ [De, e, t, n, a, w, $, T]
539
+ ), We = y(
540
+ (D) => {
538
541
  if (m.current !== "dragging") return;
539
- const P = w.clientX - (D.current ?? w.clientX);
540
- I.current.push({ x: w.clientX, t: performance.now() });
541
- const E = B(P, V.current, e), K = E > e ? "grow" : E < e ? "shrink" : null;
542
- se(E, K);
542
+ const F = D.clientX - (N.current ?? D.clientX), P = k.current, Q = ((i.current ?? v) - e) * P, j = (1 - e) * P, Y = Math.max(j, Math.min(Q, F));
543
+ G.current.push({ x: D.clientX, t: performance.now() });
544
+ const q = oe(Y, V.current, e), K = q > e ? "grow" : q < e ? "shrink" : null;
545
+ ie(q, K);
543
546
  },
544
- [B, e, se]
545
- ), le = v(() => {
546
- if (W(), m.current === "dragging") {
547
- const w = i.current;
547
+ [oe, e, v, ie]
548
+ ), de = y(() => {
549
+ if (O(), m.current === "dragging") {
550
+ const D = h.current;
548
551
  if (typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches) {
549
- h.jump(w), a?.(), h.jump(0), m.current = "idle", g("idle");
552
+ w.jump(D), a?.(), w.jump(0), m.current = "idle", g("idle");
550
553
  return;
551
554
  }
552
- const E = I.current.getWeightedVelocity();
553
- m.current = "settling", g("settling"), _(), N.current = Ce(h, w, {
555
+ const P = G.current.getWeightedVelocity();
556
+ m.current = "settling", g("settling"), T(), _.current = _e(w, D, {
554
557
  type: "spring",
555
- stiffness: O.stiffness,
556
- damping: O.damping,
557
- mass: O.mass,
558
- velocity: E,
558
+ stiffness: $.stiffness,
559
+ damping: $.damping,
560
+ mass: $.mass,
561
+ velocity: P,
559
562
  onComplete: () => {
560
- N.current = null, a?.(), h.jump(0), m.current = "idle", g("idle");
563
+ _.current = null, a?.(), w.jump(0), m.current = "idle", g("idle");
561
564
  }
562
565
  });
563
566
  return;
564
567
  }
565
568
  m.current === "handle-visible" && (a?.(), m.current = "cancelled", g("cancelled"));
566
- }, [W, h, a, O, _]);
567
- $(() => {
568
- if (d !== "dragging" && d !== "handle-visible") return;
569
- const w = (P) => {
570
- P.key === "Escape" && le();
569
+ }, [O, w, a, $, T]);
570
+ L(() => {
571
+ if (c !== "dragging" && c !== "handle-visible") return;
572
+ const D = (F) => {
573
+ F.key === "Escape" && de();
571
574
  };
572
- return window.addEventListener("keydown", w), () => window.removeEventListener("keydown", w);
573
- }, [d, le]), $(() => {
574
- if (d !== "dragging") {
575
+ return window.addEventListener("keydown", D), () => window.removeEventListener("keydown", D);
576
+ }, [c, de]), L(() => {
577
+ if (c !== "dragging") {
575
578
  f(e);
576
579
  return;
577
580
  }
578
- const w = (P) => {
579
- const E = P.clientX - (D.current ?? P.clientX), K = i.current, J = F(1), q = F(y), Q = K + E, H = Math.max(J, Math.min(q, Q));
580
- h.set(H);
581
- const de = S.current, ee = (y - e) * de, He = (1 - e) * de, Ve = Math.max(He, Math.min(ee, E));
582
- I.current.push({ x: P.clientX, t: performance.now() });
583
- const ce = B(Ve, V.current, e);
584
- ce !== V.current && (V.current = ce, f(ce));
581
+ const D = (F) => {
582
+ const P = F.clientX - (N.current ?? F.clientX), B = h.current, Q = E(1), j = E(v), Y = B + P, q = Math.max(Q, Math.min(j, Y));
583
+ w.set(q);
584
+ const K = k.current, Ce = (v - e) * K, te = (1 - e) * K, Ue = Math.max(te, Math.min(Ce, P));
585
+ G.current.push({ x: F.clientX, t: performance.now() });
586
+ const ue = oe(Ue, V.current, e);
587
+ ue !== V.current && (V.current = ue, f(ue));
585
588
  };
586
- return window.addEventListener("pointermove", w), () => window.removeEventListener("pointermove", w);
587
- }, [d, e, h, B, y, F]), $(() => () => {
588
- W(), L();
589
- }, [W, L]), $(() => {
590
- if (d !== "cancelled") return;
591
- const w = setTimeout(() => g("idle"), p);
592
- return () => clearTimeout(w);
593
- }, [d, p]);
594
- const ze = v(
595
- (w) => {
589
+ return window.addEventListener("pointermove", D), () => window.removeEventListener("pointermove", D);
590
+ }, [c, e, w, oe, v, E]), L(() => () => {
591
+ O(), U();
592
+ }, [O, U]), L(() => {
593
+ if (c !== "cancelled") return;
594
+ const D = setTimeout(() => g("idle"), p);
595
+ return () => clearTimeout(D);
596
+ }, [c, p]);
597
+ const Ge = y(
598
+ (D) => {
596
599
  if (m.current === "settling") return;
597
- const E = Math.min(3, Math.max(1, e + (w === "grow" ? 1 : -1)));
598
- if (E === e) return;
599
- S.current = r, T.current = s, I.current.clear();
600
- const K = e * r + (e - 1) * s;
601
- i.current = K, h.jump(K), se(E, w);
600
+ const P = Math.min(v, Math.max(1, e + (D === "grow" ? 1 : -1)));
601
+ if (P === e) return;
602
+ k.current = r, R.current = s, i.current = v, G.current.clear();
603
+ const B = e * r + (e - 1) * s;
604
+ h.current = B, w.jump(B), ie(P, D);
602
605
  },
603
- [e, r, s, h, se]
604
- ), De = v(() => {
605
- L(), M.current = setTimeout(() => {
606
+ [e, r, s, v, w, ie]
607
+ ), Ne = y(() => {
608
+ U(), M.current = setTimeout(() => {
606
609
  m.current === "handle-visible" && (m.current = "idle", g("idle"));
607
610
  }, 5e3);
608
- }, [L]), We = v(() => {
609
- m.current === "idle" && (W(), m.current = "handle-visible", g("handle-visible"), De());
610
- }, [W, De]), Ge = v(() => {
611
- L(), m.current === "handle-visible" && (m.current = "idle", g("idle"));
612
- }, [L]);
611
+ }, [U]), He = y(() => {
612
+ m.current === "idle" && (O(), m.current = "handle-visible", g("handle-visible"), Ne());
613
+ }, [O, Ne]), Ve = y(() => {
614
+ U(), m.current === "handle-visible" && (m.current = "idle", g("idle"));
615
+ }, [U]);
613
616
  return {
614
- state: d,
615
- enterEdgeZone: X,
616
- leaveEdgeZone: re,
617
+ state: c,
618
+ enterEdgeZone: se,
619
+ leaveEdgeZone: z,
617
620
  handleProps: {
618
- onPointerDown: Be,
619
- onPointerUp: Ke,
621
+ onPointerDown: ze,
622
+ onPointerUp: We,
620
623
  // Bug E: handle continues zone presence so pointer crossing sentinel→handle
621
624
  // doesn't collapse state. handle's pointerenter = stay in zone.
622
- onPointerEnter: X,
623
- onPointerLeave: re
625
+ onPointerEnter: se,
626
+ onPointerLeave: z
624
627
  },
625
- previewColSpan: x,
628
+ previewColSpan: S,
626
629
  ghostProps: {
627
- visible: d === "dragging" || d === "settling",
628
- targetColSpan: x,
629
- ghostWidth: h,
630
+ visible: c === "dragging" || c === "settling",
631
+ targetColSpan: S,
632
+ ghostWidth: w,
630
633
  enterMs: b,
631
634
  exitMs: p
632
635
  },
633
- onKeyboardStep: ze,
634
- onTouchReveal: We,
635
- onTouchDismiss: Ge,
636
- cancel: le
636
+ onKeyboardStep: Ge,
637
+ onTouchReveal: He,
638
+ onTouchDismiss: Ve,
639
+ cancel: de
637
640
  };
638
641
  }
639
- const Y = {
642
+ const ee = {
640
643
  // Cascade (D-08, D-10)
641
644
  staggerMs: 50,
642
645
  reverseStaggerMs: 30,
@@ -661,14 +664,14 @@ const Y = {
661
664
  sectionDividerFadeOutMs: 80,
662
665
  sectionDividerStaggerMs: 40
663
666
  };
664
- function Ea(e) {
667
+ function Oa(e) {
665
668
  const { cardWidthPx: t, slotCount: n, activeSlotIdx: a, pillWidthPx: r } = e;
666
669
  if (a == null || !Number.isFinite(t) || t <= 0 || !Number.isFinite(n) || n <= 0 || !Number.isInteger(a) || a < 0 || a >= n)
667
670
  return;
668
671
  const s = (a + 0.5) * (t / n);
669
672
  return r != null && Number.isFinite(r) && r > 0 ? s - r / 2 : s;
670
673
  }
671
- const Oa = [
674
+ const Aa = [
672
675
  // 1. Standard: Total Revenue
673
676
  {
674
677
  variant: "standard",
@@ -772,24 +775,24 @@ const Oa = [
772
775
  { value: 9, color: "#6b7280", label: "Other" }
773
776
  ]
774
777
  }
775
- ], ht = {
778
+ ], bt = {
776
779
  variant: "standard",
777
780
  label: "Total Revenue",
778
781
  isLoading: !0
779
- }, bt = {
782
+ }, vt = {
780
783
  variant: "standard",
781
784
  label: "Total Revenue",
782
785
  value: 125430,
783
786
  valueFormat: { prefix: "$", abbreviated: !0 },
784
787
  isError: !0
785
- }, vt = {
788
+ }, yt = {
786
789
  variant: "standard",
787
790
  label: "Total Revenue",
788
791
  value: null,
789
792
  valueFormat: { prefix: "$", abbreviated: !0 },
790
793
  isEmpty: !0,
791
794
  subtitle: "No data"
792
- }, yt = {
795
+ }, wt = {
793
796
  variant: "standard",
794
797
  label: "Total Revenue",
795
798
  value: 125430,
@@ -797,7 +800,7 @@ const Oa = [
797
800
  trend: { value: 12.5, direction: "up" },
798
801
  subtitle: "MTD",
799
802
  isStale: !0
800
- }, wt = {
803
+ }, Dt = {
801
804
  variant: "sparkline",
802
805
  label: "Daily Orders",
803
806
  value: 847,
@@ -806,7 +809,7 @@ const Oa = [
806
809
  sparklineData: [42, 38, 51, 47, 55, 60, 58, 63, 57, 62, 68, 71, 65, 59],
807
810
  accentColor: "#6366f1",
808
811
  isStale: !0
809
- }, Dt = {
812
+ }, Nt = {
810
813
  variant: "donut",
811
814
  label: "Order Fill Rate",
812
815
  value: 78,
@@ -817,14 +820,14 @@ const Oa = [
817
820
  donutMax: 100,
818
821
  accentColor: "#10b981",
819
822
  isStale: !0
820
- }, Aa = [
821
- ht,
823
+ }, La = [
822
824
  bt,
823
825
  vt,
824
826
  yt,
825
827
  wt,
826
- Dt
827
- ], La = {
828
+ Dt,
829
+ Nt
830
+ ], $a = {
828
831
  variant: "sparkline",
829
832
  label: "Daily Orders",
830
833
  value: 847,
@@ -847,7 +850,7 @@ const Oa = [
847
850
  59
848
851
  ],
849
852
  accentColor: "#6366f1"
850
- }, $a = {
853
+ }, Ba = {
851
854
  variant: "sparkline",
852
855
  label: "New Customers",
853
856
  value: 23,
@@ -886,21 +889,21 @@ const Oa = [
886
889
  19
887
890
  ],
888
891
  accentColor: "#10b981"
889
- }, Ba = {
892
+ }, Ka = {
890
893
  variant: "standard",
891
894
  label: "Total Revenue",
892
895
  value: 125430,
893
896
  valueFormat: { prefix: "$", abbreviated: !0 },
894
897
  trend: { value: 12.5, direction: "up" },
895
898
  subtitle: "MTD"
896
- }, Ka = {
899
+ }, za = {
897
900
  variant: "standard",
898
901
  label: "Returns",
899
902
  value: 3280,
900
903
  valueFormat: { prefix: "$", abbreviated: !0 },
901
904
  trend: { value: -8.3, direction: "down" },
902
905
  subtitle: "MTD"
903
- }, za = {
906
+ }, Wa = {
904
907
  variant: "standard",
905
908
  label: "Avg Order Value",
906
909
  value: 487,
@@ -908,7 +911,7 @@ const Oa = [
908
911
  trend: { value: 0, direction: "flat" },
909
912
  subtitle: "QTD"
910
913
  };
911
- function Re({
914
+ function Fe({
912
915
  open: e,
913
916
  onDismiss: t,
914
917
  anchorRef: n,
@@ -918,23 +921,23 @@ function Re({
918
921
  onCreatePage: o,
919
922
  onManagePages: l
920
923
  }) {
921
- const b = v(
924
+ const b = y(
922
925
  (u) => {
923
926
  s(u), t();
924
927
  },
925
928
  [s, t]
926
- ), p = v(
927
- (u, d) => {
928
- (d.key === "Enter" || d.key === " ") && (d.preventDefault(), b(u));
929
+ ), p = y(
930
+ (u, c) => {
931
+ (c.key === "Enter" || c.key === " ") && (c.preventDefault(), b(u));
929
932
  },
930
933
  [b]
931
- ), y = v(() => {
934
+ ), v = y(() => {
932
935
  o(), t();
933
- }, [o, t]), C = v(() => {
936
+ }, [o, t]), C = y(() => {
934
937
  l(), t();
935
938
  }, [l, t]);
936
939
  return /* @__PURE__ */ A(
937
- Xe,
940
+ Je,
938
941
  {
939
942
  definition: {
940
943
  placement: "bottom-end",
@@ -947,50 +950,50 @@ function Re({
947
950
  anchorRef: n,
948
951
  className: "gloss-page-dropdown",
949
952
  children: [
950
- /* @__PURE__ */ c("ul", { role: "menu", className: "gloss-page-dropdown__list", children: a.map((u) => {
951
- const d = u.id === r;
953
+ /* @__PURE__ */ d("ul", { role: "menu", className: "gloss-page-dropdown__list", children: a.map((u) => {
954
+ const c = u.id === r;
952
955
  return /* @__PURE__ */ A(
953
956
  "li",
954
957
  {
955
958
  role: "menuitemradio",
956
- "aria-checked": d,
957
- "aria-current": d ? "page" : void 0,
959
+ "aria-checked": c,
960
+ "aria-current": c ? "page" : void 0,
958
961
  tabIndex: 0,
959
- className: `gloss-page-dropdown__item${d ? " gloss-page-dropdown__item--active" : ""}`,
962
+ className: `gloss-page-dropdown__item${c ? " gloss-page-dropdown__item--active" : ""}`,
960
963
  onClick: () => b(u.id),
961
964
  onKeyDown: (g) => p(u.id, g),
962
965
  children: [
963
- /* @__PURE__ */ c(
966
+ /* @__PURE__ */ d(
964
967
  "span",
965
968
  {
966
- className: `gloss-page-dropdown__dot${d ? " gloss-page-dropdown__dot--active" : ""}`
969
+ className: `gloss-page-dropdown__dot${c ? " gloss-page-dropdown__dot--active" : ""}`
967
970
  }
968
971
  ),
969
- /* @__PURE__ */ c(
972
+ /* @__PURE__ */ d(
970
973
  "span",
971
974
  {
972
975
  className: `gloss-page-dropdown__name${u.named ? "" : " gloss-page-dropdown__name--unnamed"}`,
973
976
  children: u.name
974
977
  }
975
978
  ),
976
- /* @__PURE__ */ c("span", { className: "gloss-page-dropdown__count", children: u.cardCount })
979
+ /* @__PURE__ */ d("span", { className: "gloss-page-dropdown__count", children: u.cardCount })
977
980
  ]
978
981
  },
979
982
  u.id
980
983
  );
981
984
  }) }),
982
- /* @__PURE__ */ c("hr", { className: "gloss-page-dropdown__separator" }),
983
- /* @__PURE__ */ c(
985
+ /* @__PURE__ */ d("hr", { className: "gloss-page-dropdown__separator" }),
986
+ /* @__PURE__ */ d(
984
987
  "button",
985
988
  {
986
989
  role: "menuitem",
987
990
  className: "gloss-page-dropdown__action",
988
- onClick: y,
991
+ onClick: v,
989
992
  children: "+ New page"
990
993
  }
991
994
  ),
992
- /* @__PURE__ */ c("hr", { className: "gloss-page-dropdown__separator" }),
993
- /* @__PURE__ */ c(
995
+ /* @__PURE__ */ d("hr", { className: "gloss-page-dropdown__separator" }),
996
+ /* @__PURE__ */ d(
994
997
  "button",
995
998
  {
996
999
  role: "menuitem",
@@ -1003,7 +1006,7 @@ function Re({
1003
1006
  }
1004
1007
  );
1005
1008
  }
1006
- Re.displayName = "PageDropdown";
1009
+ Fe.displayName = "PageDropdown";
1007
1010
  const Ct = function({
1008
1011
  currentIndex: t,
1009
1012
  total: n,
@@ -1013,11 +1016,11 @@ const Ct = function({
1013
1016
  onManagePages: o,
1014
1017
  maskRadius: l = "var(--gloss-radius-md)"
1015
1018
  }) {
1016
- const b = R(null), [p, y] = z(!1), C = v(() => {
1017
- y((g) => !g);
1018
- }, []), u = v(() => {
1019
- y(!1);
1020
- }, []), d = a[t]?.id ?? "";
1019
+ const b = I(null), [p, v] = W(!1), C = y(() => {
1020
+ v((g) => !g);
1021
+ }, []), u = y(() => {
1022
+ v(!1);
1023
+ }, []), c = a[t]?.id ?? "";
1021
1024
  return /* @__PURE__ */ A(
1022
1025
  "div",
1023
1026
  {
@@ -1026,7 +1029,7 @@ const Ct = function({
1026
1029
  style: { position: "absolute", top: 0, right: 0 },
1027
1030
  "data-page-chip": !0,
1028
1031
  children: [
1029
- /* @__PURE__ */ c(
1032
+ /* @__PURE__ */ d(
1030
1033
  "div",
1031
1034
  {
1032
1035
  className: "gloss-page-chip__nuzzle",
@@ -1048,14 +1051,14 @@ const Ct = function({
1048
1051
  ]
1049
1052
  }
1050
1053
  ),
1051
- /* @__PURE__ */ c(
1052
- Re,
1054
+ /* @__PURE__ */ d(
1055
+ Fe,
1053
1056
  {
1054
1057
  open: p,
1055
1058
  onDismiss: u,
1056
1059
  anchorRef: b,
1057
1060
  pages: a,
1058
- activePageId: d,
1061
+ activePageId: c,
1059
1062
  onPageChange: r,
1060
1063
  onCreatePage: s,
1061
1064
  onManagePages: o
@@ -1066,7 +1069,7 @@ const Ct = function({
1066
1069
  );
1067
1070
  };
1068
1071
  Ct.displayName = "PageChip";
1069
- const Wa = [
1072
+ const Ga = [
1070
1073
  {
1071
1074
  id: "ORD-1001",
1072
1075
  orderNumber: "ORD-1001",
@@ -1199,7 +1202,7 @@ const Wa = [
1199
1202
  date: "2026-03-01",
1200
1203
  skuCount: 9
1201
1204
  }
1202
- ], Ga = [
1205
+ ], Ha = [
1203
1206
  {
1204
1207
  id: "ITEM-001",
1205
1208
  sku: "PB-4520",
@@ -1333,16 +1336,16 @@ const Wa = [
1333
1336
  lastDate: "2026-03-01"
1334
1337
  }
1335
1338
  ];
1336
- function fe(e) {
1339
+ function he(e) {
1337
1340
  return "$" + e.toLocaleString("en-US", { minimumFractionDigits: 2, maximumFractionDigits: 2 });
1338
1341
  }
1339
- function Me(e) {
1342
+ function Pe(e) {
1340
1343
  return e.toLocaleString("en-US");
1341
1344
  }
1342
- function Fe(e) {
1345
+ function Ee(e) {
1343
1346
  return new Date(e).toLocaleDateString("en-US", { month: "short", day: "numeric", year: "numeric" });
1344
1347
  }
1345
- const ae = G.createElement("span", { style: { color: "var(--color-text-muted)" } }, "—"), Ha = [
1348
+ const ne = H.createElement("span", { style: { color: "var(--color-text-muted)" } }, "—"), Va = [
1346
1349
  {
1347
1350
  field: "id",
1348
1351
  headerName: "Order",
@@ -1372,7 +1375,7 @@ const ae = G.createElement("span", { style: { color: "var(--color-text-muted)" }
1372
1375
  align: "right",
1373
1376
  headerAlign: "right",
1374
1377
  cellClassName: "gloss-tabular-nums",
1375
- renderCell: ({ row: e }) => e.skuCount ? Me(e.skuCount) : ae
1378
+ renderCell: ({ row: e }) => e.skuCount ? Pe(e.skuCount) : ne
1376
1379
  },
1377
1380
  {
1378
1381
  field: "total",
@@ -1382,7 +1385,7 @@ const ae = G.createElement("span", { style: { color: "var(--color-text-muted)" }
1382
1385
  align: "right",
1383
1386
  headerAlign: "right",
1384
1387
  cellClassName: "gloss-tabular-nums",
1385
- renderCell: ({ row: e }) => e.total ? fe(e.total) : ae
1388
+ renderCell: ({ row: e }) => e.total ? he(e.total) : ne
1386
1389
  },
1387
1390
  {
1388
1391
  field: "date",
@@ -1392,9 +1395,9 @@ const ae = G.createElement("span", { style: { color: "var(--color-text-muted)" }
1392
1395
  align: "right",
1393
1396
  headerAlign: "right",
1394
1397
  cellClassName: "gloss-tabular-nums",
1395
- renderCell: ({ row: e }) => e.date ? Fe(e.date) : ""
1398
+ renderCell: ({ row: e }) => e.date ? Ee(e.date) : ""
1396
1399
  }
1397
- ], Va = [
1400
+ ], Ua = [
1398
1401
  {
1399
1402
  field: "sku",
1400
1403
  headerName: "Item ID",
@@ -1426,7 +1429,7 @@ const ae = G.createElement("span", { style: { color: "var(--color-text-muted)" }
1426
1429
  align: "right",
1427
1430
  headerAlign: "right",
1428
1431
  cellClassName: "gloss-tabular-nums",
1429
- renderCell: ({ row: e }) => e.price ? fe(e.price) : ae
1432
+ renderCell: ({ row: e }) => e.price ? he(e.price) : ne
1430
1433
  },
1431
1434
  {
1432
1435
  field: "quantity",
@@ -1436,7 +1439,7 @@ const ae = G.createElement("span", { style: { color: "var(--color-text-muted)" }
1436
1439
  align: "right",
1437
1440
  headerAlign: "right",
1438
1441
  cellClassName: "gloss-tabular-nums gloss-drillable",
1439
- renderCell: ({ row: e }) => e.quantity ? Me(e.quantity) : ae
1442
+ renderCell: ({ row: e }) => e.quantity ? Pe(e.quantity) : ne
1440
1443
  },
1441
1444
  {
1442
1445
  field: "total",
@@ -1446,7 +1449,7 @@ const ae = G.createElement("span", { style: { color: "var(--color-text-muted)" }
1446
1449
  align: "right",
1447
1450
  headerAlign: "right",
1448
1451
  cellClassName: "gloss-tabular-nums gloss-drillable",
1449
- renderCell: ({ row: e }) => e.total ? fe(e.total) : ae
1452
+ renderCell: ({ row: e }) => e.total ? he(e.total) : ne
1450
1453
  },
1451
1454
  {
1452
1455
  field: "lastDate",
@@ -1456,24 +1459,24 @@ const ae = G.createElement("span", { style: { color: "var(--color-text-muted)" }
1456
1459
  align: "right",
1457
1460
  headerAlign: "right",
1458
1461
  cellClassName: "gloss-tabular-nums",
1459
- renderCell: ({ row: e }) => e.lastDate ? Fe(e.lastDate) : ""
1462
+ renderCell: ({ row: e }) => e.lastDate ? Ee(e.lastDate) : ""
1460
1463
  }
1461
- ], Nt = [
1464
+ ], _t = [
1462
1465
  { id: "c-001", label: "ABC Home Goods" },
1463
1466
  { id: "c-002", label: "Riverside Retail" },
1464
1467
  { id: "c-003", label: "Mountain View Store" },
1465
1468
  { id: "c-004", label: "Downtown Decor" },
1466
1469
  { id: "c-005", label: "Pacific Coast Imports" }
1467
- ], _t = [
1470
+ ], kt = [
1468
1471
  { id: "i-001", label: "Classic Linen Throw Pillow" },
1469
1472
  { id: "i-002", label: "Coastal Wave Candle Set" },
1470
1473
  { id: "i-003", label: "Walnut Console Table" },
1471
1474
  { id: "i-004", label: "Hand-Blown Glass Vase" },
1472
1475
  { id: "i-005", label: "Velvet Accent Cushion" }
1473
- ], ue = (e) => {
1474
- }, kt = (e) => {
1475
- }, _e = (e, t) => {
1476
- }, Pe = {
1476
+ ], me = (e) => {
1477
+ }, xt = (e) => {
1478
+ }, xe = (e, t) => {
1479
+ }, Oe = {
1477
1480
  vizState: {
1478
1481
  type: "orders",
1479
1482
  quant: "$",
@@ -1481,17 +1484,17 @@ const ae = G.createElement("span", { style: { color: "var(--color-text-muted)" }
1481
1484
  byItem: { id: null, name: null },
1482
1485
  timeFrame: "MTD"
1483
1486
  },
1484
- onTypeChange: ue,
1485
- onQuantChange: kt,
1486
- onEntityTypeChange: ue,
1487
- onEntitySelect: _e,
1488
- onItemSelect: _e,
1489
- onTimeFrameChange: ue,
1487
+ onTypeChange: me,
1488
+ onQuantChange: xt,
1489
+ onEntityTypeChange: me,
1490
+ onEntitySelect: xe,
1491
+ onItemSelect: xe,
1492
+ onTimeFrameChange: me,
1490
1493
  userType: "sales-agency",
1491
- entityFilterOptions: Nt,
1492
- itemFilterOptions: _t
1493
- }, Ua = {
1494
- ...Pe,
1494
+ entityFilterOptions: _t,
1495
+ itemFilterOptions: kt
1496
+ }, Za = {
1497
+ ...Oe,
1495
1498
  vizState: {
1496
1499
  type: "items",
1497
1500
  quant: "$",
@@ -1499,8 +1502,8 @@ const ae = G.createElement("span", { style: { color: "var(--color-text-muted)" }
1499
1502
  byItem: { id: "i-003", name: "Walnut Console Table" },
1500
1503
  timeFrame: "YTD"
1501
1504
  }
1502
- }, Za = {
1503
- ...Pe,
1505
+ }, ja = {
1506
+ ...Oe,
1504
1507
  vizState: {
1505
1508
  type: "orders",
1506
1509
  quant: "#",
@@ -1558,7 +1561,7 @@ const ae = G.createElement("span", { style: { color: "var(--color-text-muted)" }
1558
1561
  routeKey: "customer.profile",
1559
1562
  subtitle: "Opens in RepTime"
1560
1563
  }
1561
- ], xt = [
1564
+ ], Tt = [
1562
1565
  {
1563
1566
  id: "order-items",
1564
1567
  label: "Items in Order",
@@ -1587,7 +1590,7 @@ const ae = G.createElement("span", { style: { color: "var(--color-text-muted)" }
1587
1590
  cellKinds: ["orderId"],
1588
1591
  graphType: "timeline"
1589
1592
  }
1590
- ], Tt = [
1593
+ ], Rt = [
1591
1594
  {
1592
1595
  id: "graph-metric",
1593
1596
  label: "Graph This Metric",
@@ -1615,14 +1618,14 @@ const ae = G.createElement("span", { style: { color: "var(--color-text-muted)" }
1615
1618
  cellKinds: ["numeric"],
1616
1619
  tabType: "orders"
1617
1620
  }
1618
- ], ja = {
1621
+ ], Ya = {
1619
1622
  entityName: St,
1620
- orderId: xt,
1621
- numeric: Tt
1622
- }, Ya = [
1623
+ orderId: Tt,
1624
+ numeric: Rt
1625
+ }, qa = [
1623
1626
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), (/* @__PURE__ */ new Date()).getDate() - 29),
1624
1627
  /* @__PURE__ */ new Date()
1625
- ], qa = {
1628
+ ], Qa = {
1626
1629
  rangeA: [
1627
1630
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), 1),
1628
1631
  /* @__PURE__ */ new Date()
@@ -1635,7 +1638,7 @@ const ae = G.createElement("span", { style: { color: "var(--color-text-muted)" }
1635
1638
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth() - 2, 1),
1636
1639
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth() - 1, 0)
1637
1640
  ]
1638
- }, Qa = {
1641
+ }, Xa = {
1639
1642
  version: 4,
1640
1643
  lastPreset: "mtd",
1641
1644
  pinnedPreset: "mtd",
@@ -1643,7 +1646,7 @@ const ae = G.createElement("span", { style: { color: "var(--color-text-muted)" }
1643
1646
  rangeCount: 1,
1644
1647
  lastPresetB: null,
1645
1648
  lastPresetC: null
1646
- }, Xa = [
1649
+ }, Ja = [
1647
1650
  {
1648
1651
  id: "atlanta-jan",
1649
1652
  label: "Atlanta Market",
@@ -1665,7 +1668,7 @@ const ae = G.createElement("span", { style: { color: "var(--color-text-muted)" }
1665
1668
  endDate: new Date(2026, 3, 22),
1666
1669
  location: "Chicago, IL"
1667
1670
  }
1668
- ], Ja = [
1671
+ ], en = [
1669
1672
  {
1670
1673
  id: "custom-regional-1",
1671
1674
  label: "Southeast Regional Expo",
@@ -1682,7 +1685,7 @@ const ae = G.createElement("span", { style: { color: "var(--color-text-muted)" }
1682
1685
  location: "Portland, OR",
1683
1686
  isCustom: !0
1684
1687
  }
1685
- ], en = [
1688
+ ], tn = [
1686
1689
  {
1687
1690
  id: "atlanta-jan",
1688
1691
  label: "Atlanta Market",
@@ -1699,12 +1702,12 @@ const ae = G.createElement("span", { style: { color: "var(--color-text-muted)" }
1699
1702
  location: "New York, NY",
1700
1703
  active: !0
1701
1704
  }
1702
- ], tn = [
1705
+ ], an = [
1703
1706
  { id: "7d", label: "7D" },
1704
1707
  { id: "30d", label: "30D" },
1705
1708
  { id: "60d", label: "60D" },
1706
1709
  { id: "90d", label: "90D" }
1707
- ], an = [
1710
+ ], nn = [
1708
1711
  { id: "mtd", label: "MTD" },
1709
1712
  { id: "qtd", label: "QTD" },
1710
1713
  { id: "ytd", label: "YTD" },
@@ -1716,20 +1719,20 @@ const ae = G.createElement("span", { style: { color: "var(--color-text-muted)" }
1716
1719
  size: "Size",
1717
1720
  color: "Color",
1718
1721
  pinned: "Pinned"
1719
- }, Rt = {
1720
- timeframe: et,
1721
- threshold: tt,
1722
- slots: at,
1723
- size: nt,
1724
- color: rt,
1725
- pinned: st
1722
+ }, Mt = {
1723
+ timeframe: tt,
1724
+ threshold: at,
1725
+ slots: nt,
1726
+ size: rt,
1727
+ color: st,
1728
+ pinned: ot
1726
1729
  };
1727
- function ke(...e) {
1730
+ function Se(...e) {
1728
1731
  return e.filter(Boolean).join(" ");
1729
1732
  }
1730
- function Mt() {
1731
- const [e, t] = z(() => typeof window > "u" || typeof window.matchMedia != "function" ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches);
1732
- return $(() => {
1733
+ function Ft() {
1734
+ const [e, t] = W(() => typeof window > "u" || typeof window.matchMedia != "function" ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches);
1735
+ return L(() => {
1733
1736
  if (typeof window > "u" || typeof window.matchMedia != "function") return;
1734
1737
  const n = window.matchMedia("(prefers-reduced-motion: reduce)"), a = (r) => t(r.matches);
1735
1738
  return typeof n.addEventListener == "function" ? (n.addEventListener("change", a), () => n.removeEventListener("change", a)) : (n.addListener?.(a), () => {
@@ -1737,85 +1740,85 @@ function Mt() {
1737
1740
  });
1738
1741
  }, []), e;
1739
1742
  }
1740
- const Ft = ({
1743
+ const Pt = ({
1741
1744
  dimensions: e,
1742
1745
  onDimensionSelect: t,
1743
1746
  activeDimension: n,
1744
1747
  ariaCardTypeLabel: a,
1745
1748
  className: r
1746
1749
  }) => {
1747
- const s = R(null), o = R([]), l = Mt(), b = ne(() => Array.from(e), [e]);
1750
+ const s = I(null), o = I([]), l = Ft(), b = re(() => Array.from(e), [e]);
1748
1751
  if (b.length === 0) return null;
1749
- const p = a ? `Configure ${a}: choose a dimension` : void 0, y = l ? "10ms" : "200ms", C = (u, d) => {
1750
- const g = b.length - 1, x = (f) => {
1751
- const k = o.current[f];
1752
- k && k.focus();
1752
+ const p = a ? `Configure ${a}: choose a dimension` : void 0, v = l ? "10ms" : "200ms", C = (u, c) => {
1753
+ const g = b.length - 1, S = (f) => {
1754
+ const x = o.current[f];
1755
+ x && x.focus();
1753
1756
  };
1754
1757
  switch (u.key) {
1755
1758
  case "ArrowRight":
1756
1759
  case "ArrowDown": {
1757
- u.preventDefault(), x(d === g ? 0 : d + 1);
1760
+ u.preventDefault(), S(c === g ? 0 : c + 1);
1758
1761
  break;
1759
1762
  }
1760
1763
  case "ArrowLeft":
1761
1764
  case "ArrowUp": {
1762
- u.preventDefault(), x(d === 0 ? g : d - 1);
1765
+ u.preventDefault(), S(c === 0 ? g : c - 1);
1763
1766
  break;
1764
1767
  }
1765
1768
  case "Home": {
1766
- u.preventDefault(), x(0);
1769
+ u.preventDefault(), S(0);
1767
1770
  break;
1768
1771
  }
1769
1772
  case "End": {
1770
- u.preventDefault(), x(g);
1773
+ u.preventDefault(), S(g);
1771
1774
  break;
1772
1775
  }
1773
1776
  case "Enter":
1774
1777
  case " ": {
1775
- u.preventDefault(), t(b[d]);
1778
+ u.preventDefault(), t(b[c]);
1776
1779
  break;
1777
1780
  }
1778
1781
  }
1779
1782
  };
1780
- return /* @__PURE__ */ c(
1783
+ return /* @__PURE__ */ d(
1781
1784
  "div",
1782
1785
  {
1783
1786
  ref: s,
1784
1787
  role: "group",
1785
1788
  "aria-label": p,
1786
- className: ke("gloss-reconfig-backside-buttons", r),
1789
+ className: Se("gloss-reconfig-backside-buttons", r),
1787
1790
  style: {
1788
1791
  // Expose the reduced-motion-resolved duration as a CSS custom prop
1789
1792
  // so the SCSS transition rule can consume it without a nested media
1790
1793
  // query in the JS. Also surfaces the value for the unit test.
1791
- "--gloss-reconfig-backside-buttons-transition-duration": y
1794
+ "--gloss-reconfig-backside-buttons-transition-duration": v
1792
1795
  },
1793
- children: b.map((u, d) => {
1794
- const g = Rt[u], x = n === u;
1796
+ children: b.map((u, c) => {
1797
+ const g = Mt[u], S = n === u;
1795
1798
  return /* @__PURE__ */ A(
1796
1799
  "button",
1797
1800
  {
1798
1801
  ref: (f) => {
1799
- o.current[d] = f;
1802
+ o.current[c] = f;
1800
1803
  },
1801
1804
  type: "button",
1802
1805
  "data-dimension": u,
1803
- className: ke(
1806
+ className: Se(
1804
1807
  "gloss-reconfig-backside-buttons__button",
1805
- x && "gloss-reconfig-backside-buttons__button--active"
1808
+ S && "gloss-reconfig-backside-buttons__button--active"
1806
1809
  ),
1807
- "aria-current": x ? "true" : void 0,
1810
+ "aria-current": S ? "true" : void 0,
1808
1811
  onClick: () => t(u),
1809
- onKeyDown: (f) => C(f, d),
1812
+ onKeyDown: (f) => C(f, c),
1810
1813
  children: [
1811
- /* @__PURE__ */ c(
1814
+ /* @__PURE__ */ d(
1812
1815
  g,
1813
1816
  {
1814
1817
  className: "gloss-reconfig-backside-buttons__button-icon",
1815
1818
  "aria-hidden": "true"
1816
1819
  }
1817
1820
  ),
1818
- /* @__PURE__ */ c("span", { className: "gloss-reconfig-backside-buttons__button-label", children: It[u] })
1821
+ /* @__PURE__ */ d("span", { className: "gloss-reconfig-backside-buttons__button-label", children: It[u] })
1819
1822
  ]
1820
1823
  },
1821
1824
  u
@@ -1824,12 +1827,12 @@ const Ft = ({
1824
1827
  }
1825
1828
  );
1826
1829
  };
1827
- Ft.displayName = "ReconfigBacksideButtons";
1828
- function U(e, t) {
1830
+ Pt.displayName = "ReconfigBacksideButtons";
1831
+ function Z(e, t) {
1829
1832
  return {
1830
1833
  id: e,
1831
1834
  colSpan: 1,
1832
- content: G.createElement("div", {
1835
+ content: H.createElement("div", {
1833
1836
  style: {
1834
1837
  width: "100%",
1835
1838
  height: "100%",
@@ -1845,38 +1848,38 @@ function U(e, t) {
1845
1848
  }, t)
1846
1849
  };
1847
1850
  }
1848
- function Se(e, t) {
1851
+ function Te(e, t) {
1849
1852
  return {
1850
- ...U(e, t),
1853
+ ...Z(e, t),
1851
1854
  colSpan: 2
1852
1855
  };
1853
1856
  }
1854
- const nn = [
1855
- U("total-revenue", "Total Revenue"),
1856
- U("total-orders", "Total Orders"),
1857
- Se("revenue-trend", "Revenue Trend (2x)"),
1858
- U("avg-order", "Avg Order Value"),
1859
- U("new-customers", "New Customers"),
1860
- U("top-salesperson", "Top Salesperson"),
1861
- Se("order-trend", "Order Trend (2x)"),
1862
- U("repeat-rate", "Repeat Rate"),
1863
- U("open-orders", "Open Orders"),
1864
- U("shipped-orders", "Shipped Orders")
1865
- ], rn = {
1857
+ const rn = [
1858
+ Z("total-revenue", "Total Revenue"),
1859
+ Z("total-orders", "Total Orders"),
1860
+ Te("revenue-trend", "Revenue Trend (2x)"),
1861
+ Z("avg-order", "Avg Order Value"),
1862
+ Z("new-customers", "New Customers"),
1863
+ Z("top-salesperson", "Top Salesperson"),
1864
+ Te("order-trend", "Order Trend (2x)"),
1865
+ Z("repeat-rate", "Repeat Rate"),
1866
+ Z("open-orders", "Open Orders"),
1867
+ Z("shipped-orders", "Shipped Orders")
1868
+ ], sn = {
1866
1869
  columns: 6,
1867
1870
  rowHeight: 120,
1868
1871
  gap: 15,
1869
1872
  maxRows: 3,
1870
1873
  currentPage: 0,
1871
1874
  totalPages: 1
1872
- }, sn = {
1875
+ }, on = {
1873
1876
  columns: 9,
1874
1877
  rowHeight: 120,
1875
1878
  gap: 15,
1876
1879
  maxRows: 3,
1877
1880
  currentPage: 0,
1878
1881
  totalPages: 2
1879
- }, on = {
1882
+ }, ln = {
1880
1883
  columns: 12,
1881
1884
  rowHeight: 120,
1882
1885
  gap: 15,
@@ -1884,15 +1887,15 @@ const nn = [
1884
1887
  currentPage: 0,
1885
1888
  totalPages: 3
1886
1889
  };
1887
- function me(e) {
1888
- return G.createElement("span", { style: { fontSize: 14 } }, e);
1890
+ function pe(e) {
1891
+ return H.createElement("span", { style: { fontSize: 14 } }, e);
1889
1892
  }
1890
- const ln = [
1893
+ const cn = [
1891
1894
  {
1892
1895
  id: "all-orders",
1893
1896
  type: "orders",
1894
1897
  name: "All Orders",
1895
- icon: me("📋"),
1898
+ icon: pe("📋"),
1896
1899
  closable: !1,
1897
1900
  autoCreated: !0
1898
1901
  },
@@ -1900,14 +1903,14 @@ const ln = [
1900
1903
  id: "open-orders",
1901
1904
  type: "orders",
1902
1905
  name: "Open Orders",
1903
- icon: me("📦"),
1906
+ icon: pe("📦"),
1904
1907
  closable: !0
1905
1908
  },
1906
1909
  {
1907
1910
  id: "shipped-orders",
1908
1911
  type: "orders",
1909
1912
  name: "Shipped Orders",
1910
- icon: me("🚚"),
1913
+ icon: pe("🚚"),
1911
1914
  closable: !0
1912
1915
  }
1913
1916
  ], dn = [
@@ -1936,7 +1939,7 @@ const ln = [
1936
1939
  name: "Customers",
1937
1940
  closable: !0
1938
1941
  }
1939
- ], cn = [
1942
+ ], un = [
1940
1943
  {
1941
1944
  id: "only-tab",
1942
1945
  type: "orders",
@@ -1944,7 +1947,7 @@ const ln = [
1944
1947
  closable: !1,
1945
1948
  autoCreated: !0
1946
1949
  }
1947
- ], un = [
1950
+ ], mn = [
1948
1951
  { id: "tab-1", type: "orders", name: "All Orders", closable: !1, autoCreated: !0 },
1949
1952
  { id: "tab-2", type: "orders", name: "Open Orders", closable: !0 },
1950
1953
  { id: "tab-3", type: "orders", name: "Shipped Orders", closable: !0 },
@@ -1956,7 +1959,7 @@ const ln = [
1956
1959
  { id: "tab-9", type: "order-items", name: "Order #12345", closable: !0 },
1957
1960
  { id: "tab-10", type: "orders", name: "Recent 30D", closable: !0 }
1958
1961
  ];
1959
- function he(e) {
1962
+ function be(e) {
1960
1963
  switch (e) {
1961
1964
  case "wide":
1962
1965
  return { cols: 2, rows: 1 };
@@ -1967,24 +1970,24 @@ function he(e) {
1967
1970
  return { cols: 1, rows: 1 };
1968
1971
  }
1969
1972
  }
1970
- function Pt(e) {
1973
+ function Et(e) {
1971
1974
  let t = 0;
1972
1975
  for (const a of e) {
1973
- const r = he(a.size), s = a.gridPosition.col + r.cols - 1;
1976
+ const r = be(a.size), s = a.gridPosition.col + r.cols - 1;
1974
1977
  s > t && (t = s);
1975
1978
  }
1976
1979
  return `repeat(${t > 0 ? t : Math.max(e.length, 1)}, minmax(0, 1fr))`;
1977
1980
  }
1978
- const Et = function(t) {
1981
+ const Ot = function(t) {
1979
1982
  if (t.renderMode === "discrete")
1980
- return /* @__PURE__ */ c(
1983
+ return /* @__PURE__ */ d(
1981
1984
  "div",
1982
1985
  {
1983
1986
  className: "gloss-metric-group gloss-metric-group--discrete",
1984
1987
  style: { display: "contents" },
1985
1988
  children: t.cards.map((r) => {
1986
- const s = he(r.size);
1987
- return /* @__PURE__ */ c(
1989
+ const s = be(r.size);
1990
+ return /* @__PURE__ */ d(
1988
1991
  "div",
1989
1992
  {
1990
1993
  className: "gloss-metric-group__slot",
@@ -2019,7 +2022,7 @@ const Et = function(t) {
2019
2022
  "aria-label": a?.label,
2020
2023
  tabIndex: void 0,
2021
2024
  children: [
2022
- a?.accentColor && /* @__PURE__ */ c(
2025
+ a?.accentColor && /* @__PURE__ */ d(
2023
2026
  "div",
2024
2027
  {
2025
2028
  className: "gloss-metric-group__accent",
@@ -2027,8 +2030,8 @@ const Et = function(t) {
2027
2030
  }
2028
2031
  ),
2029
2032
  a?.label && /* @__PURE__ */ A("div", { className: "gloss-metric-group__label", children: [
2030
- /* @__PURE__ */ c("span", { children: a.label }),
2031
- a?.trend && /* @__PURE__ */ c(
2033
+ /* @__PURE__ */ d("span", { children: a.label }),
2034
+ a?.trend && /* @__PURE__ */ d(
2032
2035
  "span",
2033
2036
  {
2034
2037
  className: "gloss-metric-group__trend",
@@ -2037,18 +2040,18 @@ const Et = function(t) {
2037
2040
  }
2038
2041
  )
2039
2042
  ] }),
2040
- /* @__PURE__ */ c(
2043
+ /* @__PURE__ */ d(
2041
2044
  "div",
2042
2045
  {
2043
2046
  className: "gloss-metric-group__slots",
2044
2047
  style: {
2045
2048
  display: "grid",
2046
2049
  gap: "var(--gloss-spacing-2, 8px)",
2047
- gridTemplateColumns: Pt(n)
2050
+ gridTemplateColumns: Et(n)
2048
2051
  },
2049
2052
  children: n.map((r) => {
2050
- const s = he(r.size);
2051
- return /* @__PURE__ */ c(
2053
+ const s = be(r.size);
2054
+ return /* @__PURE__ */ d(
2052
2055
  "div",
2053
2056
  {
2054
2057
  className: "gloss-metric-group__slot--composite",
@@ -2067,48 +2070,48 @@ const Et = function(t) {
2067
2070
  }
2068
2071
  );
2069
2072
  };
2070
- Et.displayName = "MetricGroupContainer";
2071
- const Ee = "resize.tuning.dev", Ot = {
2072
- ...Ie,
2073
+ Ot.displayName = "MetricGroupContainer";
2074
+ const Ae = "resize.tuning.dev", At = {
2075
+ ...Me,
2073
2076
  snapInPx: 60,
2074
2077
  snapOutPx: 90
2075
- }, j = Ot;
2076
- function At() {
2077
- if (typeof window > "u") return { ...j };
2078
+ }, J = At;
2079
+ function Lt() {
2080
+ if (typeof window > "u") return { ...J };
2078
2081
  try {
2079
- const e = window.localStorage.getItem(Ee);
2080
- if (!e) return { ...j };
2082
+ const e = window.localStorage.getItem(Ae);
2083
+ if (!e) return { ...J };
2081
2084
  const t = JSON.parse(e);
2082
- return !t || typeof t != "object" || Array.isArray(t) ? { ...j } : { ...j, ...t };
2085
+ return !t || typeof t != "object" || Array.isArray(t) ? { ...J } : { ...J, ...t };
2083
2086
  } catch {
2084
- return { ...j };
2087
+ return { ...J };
2085
2088
  }
2086
2089
  }
2087
- function Lt() {
2088
- const [e, t] = z(() => At());
2089
- $(() => {
2090
+ function $t() {
2091
+ const [e, t] = W(() => Lt());
2092
+ L(() => {
2090
2093
  if (!(typeof window > "u"))
2091
2094
  try {
2092
- window.localStorage.setItem(Ee, JSON.stringify(e));
2095
+ window.localStorage.setItem(Ae, JSON.stringify(e));
2093
2096
  } catch {
2094
2097
  }
2095
2098
  }, [e]);
2096
- const n = v(
2099
+ const n = y(
2097
2100
  (s, o) => {
2098
2101
  t((l) => ({ ...l, [s]: o }));
2099
2102
  },
2100
2103
  []
2101
- ), a = v(
2104
+ ), a = y(
2102
2105
  (s) => {
2103
- t((o) => ({ ...o, [s]: j[s] }));
2106
+ t((o) => ({ ...o, [s]: J[s] }));
2104
2107
  },
2105
2108
  []
2106
- ), r = v(() => {
2107
- t({ ...j });
2109
+ ), r = y(() => {
2110
+ t({ ...J });
2108
2111
  }, []);
2109
2112
  return { values: e, setValue: n, resetRow: a, resetAll: r };
2110
2113
  }
2111
- const $t = [
2114
+ const Bt = [
2112
2115
  { key: "stiffness", label: "Spring stiffness", unit: "", min: 100, max: 1e3, step: 10 },
2113
2116
  { key: "damping", label: "Spring damping", unit: "", min: 10, max: 60, step: 1 },
2114
2117
  { key: "mass", label: "Spring mass", unit: "", min: 0.5, max: 2, step: 0.1 },
@@ -2119,10 +2122,10 @@ const $t = [
2119
2122
  { key: "blueprintFadeOutMs", label: "Blueprint fade out", unit: "ms", min: 60, max: 400, step: 10 },
2120
2123
  { key: "velocityMultiplier", label: "Velocity multiplier", unit: "×", min: 0, max: 2, step: 0.05 }
2121
2124
  ];
2122
- function Bt(e, t) {
2125
+ function Kt(e, t) {
2123
2126
  return t >= 1 ? String(Math.round(e)) : t >= 0.1 ? e.toFixed(1) : e.toFixed(2);
2124
2127
  }
2125
- function Kt() {
2128
+ function zt() {
2126
2129
  return /* @__PURE__ */ A(
2127
2130
  "svg",
2128
2131
  {
@@ -2136,14 +2139,14 @@ function Kt() {
2136
2139
  strokeLinejoin: "round",
2137
2140
  "aria-hidden": "true",
2138
2141
  children: [
2139
- /* @__PURE__ */ c("path", { d: "M3 12a9 9 0 1 0 3-6.7L3 8" }),
2140
- /* @__PURE__ */ c("polyline", { points: "3 3 3 8 8 8" })
2142
+ /* @__PURE__ */ d("path", { d: "M3 12a9 9 0 1 0 3-6.7L3 8" }),
2143
+ /* @__PURE__ */ d("polyline", { points: "3 3 3 8 8 8" })
2141
2144
  ]
2142
2145
  }
2143
2146
  );
2144
2147
  }
2145
- function zt({ spec: e, value: t, onChange: n, onReset: a, flashing: r }) {
2146
- const s = v(
2148
+ function Wt({ spec: e, value: t, onChange: n, onReset: a, flashing: r }) {
2149
+ const s = y(
2147
2150
  (o) => {
2148
2151
  (o.key === "r" || o.key === "R") && (o.preventDefault(), a());
2149
2152
  },
@@ -2156,12 +2159,12 @@ function zt({ spec: e, value: t, onChange: n, onReset: a, flashing: r }) {
2156
2159
  "data-tuning-row": e.key,
2157
2160
  onKeyDown: s,
2158
2161
  children: [
2159
- /* @__PURE__ */ c("label", { className: "gloss-dev-tuning-panel__label", htmlFor: `gloss-dtp-${e.key}`, children: e.label }),
2162
+ /* @__PURE__ */ d("label", { className: "gloss-dev-tuning-panel__label", htmlFor: `gloss-dtp-${e.key}`, children: e.label }),
2160
2163
  /* @__PURE__ */ A("span", { className: "gloss-dev-tuning-panel__value", "aria-live": "off", children: [
2161
- Bt(t, e.step),
2164
+ Kt(t, e.step),
2162
2165
  e.unit ? ` ${e.unit}` : ""
2163
2166
  ] }),
2164
- /* @__PURE__ */ c(
2167
+ /* @__PURE__ */ d(
2165
2168
  "input",
2166
2169
  {
2167
2170
  id: `gloss-dtp-${e.key}`,
@@ -2175,21 +2178,21 @@ function zt({ spec: e, value: t, onChange: n, onReset: a, flashing: r }) {
2175
2178
  onChange: (o) => n(Number(o.target.value))
2176
2179
  }
2177
2180
  ),
2178
- /* @__PURE__ */ c(
2181
+ /* @__PURE__ */ d(
2179
2182
  "button",
2180
2183
  {
2181
2184
  type: "button",
2182
2185
  className: "gloss-dev-tuning-panel__reset",
2183
2186
  "aria-label": `Reset ${e.label}`,
2184
2187
  onClick: a,
2185
- children: /* @__PURE__ */ c(Kt, {})
2188
+ children: /* @__PURE__ */ d(zt, {})
2186
2189
  }
2187
2190
  )
2188
2191
  ]
2189
2192
  }
2190
2193
  );
2191
2194
  }
2192
- function Wt() {
2195
+ function Gt() {
2193
2196
  if (typeof process < "u" && process.env && process.env.NODE_ENV === "production" || typeof window > "u") return !1;
2194
2197
  try {
2195
2198
  return new URLSearchParams(window.location.search).has("devtune");
@@ -2197,23 +2200,23 @@ function Wt() {
2197
2200
  return !1;
2198
2201
  }
2199
2202
  }
2200
- function Gt(e = {}) {
2201
- return Wt() ? /* @__PURE__ */ c(Ht, {}) : null;
2203
+ function Ht(e = {}) {
2204
+ return Gt() ? /* @__PURE__ */ d(Vt, {}) : null;
2202
2205
  }
2203
- Gt.displayName = "DevTuningPanel";
2204
- function Ht() {
2205
- const e = Lt(), { values: t, setValue: n, resetRow: a, resetAll: r } = e, [s, o] = z(null), l = R(null), b = v((u) => {
2206
+ Ht.displayName = "DevTuningPanel";
2207
+ function Vt() {
2208
+ const e = $t(), { values: t, setValue: n, resetRow: a, resetAll: r } = e, [s, o] = W(null), l = I(null), b = y((u) => {
2206
2209
  l.current && clearTimeout(l.current), o(u), l.current = setTimeout(() => {
2207
2210
  o(null), l.current = null;
2208
2211
  }, 200);
2209
- }, []), p = v(
2210
- (u, d) => {
2211
- n(u, d), u === "snapInPx" && d > t.snapOutPx && (n("snapOutPx", d), b("snapOutPx"));
2212
+ }, []), p = y(
2213
+ (u, c) => {
2214
+ n(u, c), u === "snapInPx" && c > t.snapOutPx && (n("snapOutPx", c), b("snapOutPx"));
2212
2215
  },
2213
2216
  [n, t.snapOutPx, b]
2214
- ), y = ne(() => $t, []), C = Qe();
2217
+ ), v = re(() => Bt, []), C = Xe();
2215
2218
  return /* @__PURE__ */ A(
2216
- Te.div,
2219
+ Ie.div,
2217
2220
  {
2218
2221
  className: "gloss-dev-tuning-panel",
2219
2222
  role: "region",
@@ -2230,23 +2233,23 @@ function Ht() {
2230
2233
  className: "gloss-dev-tuning-panel__header",
2231
2234
  onPointerDown: (u) => C.start(u),
2232
2235
  children: [
2233
- /* @__PURE__ */ c("span", { className: "gloss-dev-tuning-panel__title", children: "Resize Tuning — dev only" }),
2234
- /* @__PURE__ */ c("span", { className: "gloss-dev-tuning-panel__hint", children: "?devtune=1" })
2236
+ /* @__PURE__ */ d("span", { className: "gloss-dev-tuning-panel__title", children: "Resize Tuning — dev only" }),
2237
+ /* @__PURE__ */ d("span", { className: "gloss-dev-tuning-panel__hint", children: "?devtune=1" })
2235
2238
  ]
2236
2239
  }
2237
2240
  ),
2238
- /* @__PURE__ */ c("div", { className: "gloss-dev-tuning-panel__body", children: y.map((u) => /* @__PURE__ */ c(
2239
- zt,
2241
+ /* @__PURE__ */ d("div", { className: "gloss-dev-tuning-panel__body", children: v.map((u) => /* @__PURE__ */ d(
2242
+ Wt,
2240
2243
  {
2241
2244
  spec: u,
2242
2245
  value: t[u.key],
2243
- onChange: (d) => p(u.key, d),
2246
+ onChange: (c) => p(u.key, c),
2244
2247
  onReset: () => a(u.key),
2245
2248
  flashing: s === u.key
2246
2249
  },
2247
2250
  u.key
2248
2251
  )) }),
2249
- /* @__PURE__ */ c("div", { className: "gloss-dev-tuning-panel__footer", children: /* @__PURE__ */ c(
2252
+ /* @__PURE__ */ d("div", { className: "gloss-dev-tuning-panel__footer", children: /* @__PURE__ */ d(
2250
2253
  "button",
2251
2254
  {
2252
2255
  type: "button",
@@ -2259,7 +2262,7 @@ function Ht() {
2259
2262
  }
2260
2263
  );
2261
2264
  }
2262
- function mn({
2265
+ function pn({
2263
2266
  state: e,
2264
2267
  originX: t,
2265
2268
  originY: n,
@@ -2269,20 +2272,20 @@ function mn({
2269
2272
  snapBoundariesX: o,
2270
2273
  topY: l,
2271
2274
  bottomY: b,
2272
- enterMs: p = Y.envelopeEnterMs,
2273
- exitMs: y = Y.envelopeExitMs,
2275
+ enterMs: p = ee.envelopeEnterMs,
2276
+ exitMs: v = ee.envelopeExitMs,
2274
2277
  className: C,
2275
2278
  style: u
2276
2279
  }) {
2277
2280
  if (e === "hidden") return null;
2278
- const d = Math.max(0, r - a), g = Math.max(0, b - l), x = {
2281
+ const c = Math.max(0, r - a), g = Math.max(0, b - l), S = {
2279
2282
  "--gloss-resize-envelope-enter-ms": `${p}ms`,
2280
- "--gloss-resize-envelope-exit-ms": `${y}ms`,
2283
+ "--gloss-resize-envelope-exit-ms": `${v}ms`,
2281
2284
  "--gloss-resize-envelope-origin-x": `${t - a}px`,
2282
2285
  "--gloss-resize-envelope-origin-y": `${n - l}px`,
2283
2286
  left: a,
2284
2287
  top: l,
2285
- width: d,
2288
+ width: c,
2286
2289
  height: g,
2287
2290
  ...u
2288
2291
  };
@@ -2292,10 +2295,10 @@ function mn({
2292
2295
  className: ["gloss-resize-envelope", `gloss-resize-envelope--state-${e}`, C].filter(Boolean).join(" "),
2293
2296
  "data-state": e,
2294
2297
  "data-testid": "gloss-resize-envelope",
2295
- style: x,
2298
+ style: S,
2296
2299
  "aria-hidden": "true",
2297
2300
  children: [
2298
- /* @__PURE__ */ c(
2301
+ /* @__PURE__ */ d(
2299
2302
  "div",
2300
2303
  {
2301
2304
  className: "gloss-resize-envelope__edge gloss-resize-envelope__edge--left",
@@ -2303,7 +2306,7 @@ function mn({
2303
2306
  style: { left: 0 }
2304
2307
  }
2305
2308
  ),
2306
- /* @__PURE__ */ c(
2309
+ /* @__PURE__ */ d(
2307
2310
  "div",
2308
2311
  {
2309
2312
  className: "gloss-resize-envelope__edge gloss-resize-envelope__edge--min-boundary",
@@ -2311,15 +2314,15 @@ function mn({
2311
2314
  style: { left: s - a }
2312
2315
  }
2313
2316
  ),
2314
- /* @__PURE__ */ c(
2317
+ /* @__PURE__ */ d(
2315
2318
  "div",
2316
2319
  {
2317
2320
  className: "gloss-resize-envelope__edge gloss-resize-envelope__edge--right",
2318
2321
  "data-edge": "right",
2319
- style: { left: d - 1 }
2322
+ style: { left: c - 1 }
2320
2323
  }
2321
2324
  ),
2322
- o.filter((f) => f > s && f < r).map((f) => /* @__PURE__ */ c(
2325
+ o.filter((f) => f > s && f < r).map((f) => /* @__PURE__ */ d(
2323
2326
  "div",
2324
2327
  {
2325
2328
  className: "gloss-resize-envelope__snap-line",
@@ -2332,7 +2335,7 @@ function mn({
2332
2335
  }
2333
2336
  );
2334
2337
  }
2335
- function pn({
2338
+ function gn({
2336
2339
  density: e,
2337
2340
  canAccept: t,
2338
2341
  blocked: n = !1,
@@ -2340,7 +2343,7 @@ function pn({
2340
2343
  children: r,
2341
2344
  ...s
2342
2345
  }) {
2343
- return /* @__PURE__ */ c(
2346
+ return /* @__PURE__ */ d(
2344
2347
  "div",
2345
2348
  {
2346
2349
  ...s,
@@ -2357,18 +2360,18 @@ function pn({
2357
2360
  }
2358
2361
  );
2359
2362
  }
2360
- function Vt(e, t, n, a) {
2363
+ function Ut(e, t, n, a) {
2361
2364
  const r = (e + n) / 2, s = Math.min(t, a) - 40;
2362
2365
  return `M${e},${t} Q${r},${s} ${n},${a}`;
2363
2366
  }
2364
- function gn({
2367
+ function fn({
2365
2368
  segments: e,
2366
- durationMs: t = Y.spilloverArcDurationMs,
2367
- staggerMs: n = Y.spilloverStaggerMs,
2369
+ durationMs: t = ee.spilloverArcDurationMs,
2370
+ staggerMs: n = ee.spilloverStaggerMs,
2368
2371
  className: a,
2369
2372
  style: r
2370
2373
  }) {
2371
- return e.length === 0 ? null : /* @__PURE__ */ c(
2374
+ return e.length === 0 ? null : /* @__PURE__ */ d(
2372
2375
  "svg",
2373
2376
  {
2374
2377
  className: ["gloss-spillover-arc", a].filter(Boolean).join(" "),
@@ -2376,12 +2379,12 @@ function gn({
2376
2379
  "aria-hidden": "true",
2377
2380
  overflow: "visible",
2378
2381
  style: { position: "absolute", inset: 0, pointerEvents: "none", ...r },
2379
- children: e.map((s, o) => /* @__PURE__ */ c(
2382
+ children: e.map((s, o) => /* @__PURE__ */ d(
2380
2383
  "path",
2381
2384
  {
2382
2385
  "data-arc-id": s.id,
2383
2386
  className: "gloss-spillover-arc__path",
2384
- d: Vt(s.fromX, s.fromY, s.toX, s.toY),
2387
+ d: Ut(s.fromX, s.fromY, s.toX, s.toY),
2385
2388
  style: {
2386
2389
  animationDelay: `${o * n}ms`,
2387
2390
  animationDuration: `${t}ms`
@@ -2392,12 +2395,12 @@ function gn({
2392
2395
  }
2393
2396
  );
2394
2397
  }
2395
- function fn({
2398
+ function hn({
2396
2399
  state: e,
2397
2400
  staggerIndex: t = 0,
2398
- fadeInMs: n = Y.sectionDividerFadeInMs,
2399
- fadeOutMs: a = Y.sectionDividerFadeOutMs,
2400
- staggerMs: r = Y.sectionDividerStaggerMs,
2401
+ fadeInMs: n = ee.sectionDividerFadeInMs,
2402
+ fadeOutMs: a = ee.sectionDividerFadeOutMs,
2403
+ staggerMs: r = ee.sectionDividerStaggerMs,
2401
2404
  className: s,
2402
2405
  style: o,
2403
2406
  ...l
@@ -2408,7 +2411,7 @@ function fn({
2408
2411
  "--gloss-section-divider-stagger-delay": `${t * r}ms`,
2409
2412
  ...o
2410
2413
  };
2411
- return /* @__PURE__ */ c(
2414
+ return /* @__PURE__ */ d(
2412
2415
  "div",
2413
2416
  {
2414
2417
  ...l,
@@ -2424,14 +2427,14 @@ function fn({
2424
2427
  }
2425
2428
  );
2426
2429
  }
2427
- function hn({
2430
+ function bn({
2428
2431
  enabled: e,
2429
2432
  onPack: t,
2430
2433
  ariaLabel: n = "Pack row (shift cards left)",
2431
2434
  className: a,
2432
2435
  style: r
2433
2436
  }) {
2434
- return e ? /* @__PURE__ */ c(
2437
+ return e ? /* @__PURE__ */ d(
2435
2438
  "button",
2436
2439
  {
2437
2440
  type: "button",
@@ -2440,11 +2443,11 @@ function hn({
2440
2443
  className: ["gloss-empty-cell-pack-affordance", a].filter(Boolean).join(" "),
2441
2444
  style: r,
2442
2445
  onClick: t,
2443
- children: /* @__PURE__ */ c("span", { "aria-hidden": "true", className: "gloss-empty-cell-pack-affordance__glyph", children: "×" })
2446
+ children: /* @__PURE__ */ d("span", { "aria-hidden": "true", className: "gloss-empty-cell-pack-affordance__glyph", children: "×" })
2444
2447
  }
2445
2448
  ) : null;
2446
2449
  }
2447
- const Z = {
2450
+ const X = {
2448
2451
  "gloss-inline-nudge": "_gloss-inline-nudge_kdk88_34",
2449
2452
  "gloss-inline-nudge__message": "_gloss-inline-nudge__message_kdk88_65",
2450
2453
  "gloss-inline-nudge__actions": "_gloss-inline-nudge__actions_kdk88_72",
@@ -2452,28 +2455,28 @@ const Z = {
2452
2455
  "gloss-inline-nudge__btn--action": "_gloss-inline-nudge__btn--action_kdk88_88",
2453
2456
  "gloss-inline-nudge__btn--dismiss": "_gloss-inline-nudge__btn--dismiss_kdk88_96"
2454
2457
  };
2455
- function Ut({
2458
+ function Zt({
2456
2459
  message: e,
2457
2460
  primaryAction: t,
2458
2461
  onDismiss: n,
2459
2462
  anchorEl: a,
2460
2463
  anchorSelector: r
2461
2464
  }) {
2462
- const [s, o] = G.useState(null), l = G.useMemo(
2465
+ const [s, o] = H.useState(null), l = H.useMemo(
2463
2466
  () => typeof window < "u" && window.matchMedia ? window.matchMedia("(prefers-reduced-motion: reduce)").matches : !1,
2464
2467
  []
2465
2468
  );
2466
- G.useEffect(() => {
2469
+ H.useEffect(() => {
2467
2470
  !a && !r && (typeof process > "u" || process.env.NODE_ENV !== "production") && console.error(
2468
2471
  "[InlineNudge] requires anchorEl or anchorSelector. AP-07: Do not mount InlineNudge in Layout/** or _app.tsx."
2469
2472
  );
2470
- }, [a, r]), G.useLayoutEffect(() => {
2473
+ }, [a, r]), H.useLayoutEffect(() => {
2471
2474
  let p = null;
2472
2475
  if (a ? p = a : r && (p = document.querySelector(r)), p) {
2473
- const y = p.getBoundingClientRect();
2476
+ const v = p.getBoundingClientRect();
2474
2477
  o({
2475
- top: y.bottom + window.scrollY + 6,
2476
- left: y.left + window.scrollX
2478
+ top: v.bottom + window.scrollY + 6,
2479
+ left: v.left + window.scrollX
2477
2480
  });
2478
2481
  }
2479
2482
  }, [a, r]);
@@ -2481,28 +2484,28 @@ function Ut({
2481
2484
  return /* @__PURE__ */ A(
2482
2485
  "div",
2483
2486
  {
2484
- className: Z["gloss-inline-nudge"],
2487
+ className: X["gloss-inline-nudge"],
2485
2488
  style: b,
2486
2489
  role: "status",
2487
2490
  "aria-live": "polite",
2488
2491
  "data-reduced-motion": l ? "true" : void 0,
2489
2492
  children: [
2490
- /* @__PURE__ */ c("span", { className: Z["gloss-inline-nudge__message"], children: e }),
2491
- /* @__PURE__ */ A("div", { className: Z["gloss-inline-nudge__actions"], children: [
2492
- /* @__PURE__ */ c(
2493
+ /* @__PURE__ */ d("span", { className: X["gloss-inline-nudge__message"], children: e }),
2494
+ /* @__PURE__ */ A("div", { className: X["gloss-inline-nudge__actions"], children: [
2495
+ /* @__PURE__ */ d(
2493
2496
  "button",
2494
2497
  {
2495
2498
  type: "button",
2496
- className: `${Z["gloss-inline-nudge__btn"]} ${Z["gloss-inline-nudge__btn--action"]}`,
2499
+ className: `${X["gloss-inline-nudge__btn"]} ${X["gloss-inline-nudge__btn--action"]}`,
2497
2500
  onClick: t.onClick,
2498
2501
  children: t.label
2499
2502
  }
2500
2503
  ),
2501
- /* @__PURE__ */ c(
2504
+ /* @__PURE__ */ d(
2502
2505
  "button",
2503
2506
  {
2504
2507
  type: "button",
2505
- className: `${Z["gloss-inline-nudge__btn"]} ${Z["gloss-inline-nudge__btn--dismiss"]}`,
2508
+ className: `${X["gloss-inline-nudge__btn"]} ${X["gloss-inline-nudge__btn--dismiss"]}`,
2506
2509
  onClick: n,
2507
2510
  "aria-label": "Dismiss",
2508
2511
  children: "Dismiss"
@@ -2513,25 +2516,25 @@ function Ut({
2513
2516
  }
2514
2517
  );
2515
2518
  }
2516
- Ut.displayName = "InlineNudge";
2517
- function be(e) {
2519
+ Zt.displayName = "InlineNudge";
2520
+ function ve(e) {
2518
2521
  return e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888";
2519
2522
  }
2520
- function Zt(e, t, n) {
2523
+ function jt(e, t, n) {
2521
2524
  if (n <= t) {
2522
- const o = e[0], l = o ? be(o) : "#888";
2525
+ const o = e[0], l = o ? ve(o) : "#888";
2523
2526
  return `linear-gradient(to right, ${l}, ${l})`;
2524
2527
  }
2525
2528
  const a = n - t, s = [...e].sort((o, l) => o.value - l.value).map((o) => {
2526
2529
  const l = (o.value - t) / a * 100;
2527
- return `${be(o)} ${l.toFixed(2)}%`;
2530
+ return `${ve(o)} ${l.toFixed(2)}%`;
2528
2531
  });
2529
2532
  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(", ")})`;
2530
2533
  }
2531
- function jt(e) {
2534
+ function Yt(e) {
2532
2535
  return e.map((t) => `${t.id}:${t.value}`).join("|");
2533
2536
  }
2534
- function Yt({
2537
+ function qt({
2535
2538
  stops: e,
2536
2539
  onChange: t,
2537
2540
  min: n = 0,
@@ -2541,67 +2544,67 @@ function Yt({
2541
2544
  }) {
2542
2545
  const o = r === void 0 ? 0.01 : !Number.isFinite(r) || r <= 0 ? (process.env.NODE_ENV !== "production" && console.warn(
2543
2546
  `ThresholdRamp: step (${r}) must be a positive finite number; falling back to 0.01.`
2544
- ), 0.01) : r, l = v(
2547
+ ), 0.01) : r, l = y(
2545
2548
  (i) => Math.round(i / o) * o,
2546
2549
  [o]
2547
- ), b = R(null), [p, y] = z(null), [C, u] = z(e), d = jt(e), g = R(d);
2548
- $(() => {
2549
- g.current !== d && (g.current = d, !p && u(e));
2550
- }, [d, e, p]);
2551
- const x = ne(() => Zt(C, n, a), [C, n, a]), f = v(
2550
+ ), b = I(null), [p, v] = W(null), [C, u] = W(e), c = Yt(e), g = I(c);
2551
+ L(() => {
2552
+ g.current !== c && (g.current = c, !p && u(e));
2553
+ }, [c, e, p]);
2554
+ const S = re(() => jt(C, n, a), [C, n, a]), f = y(
2552
2555
  (i) => {
2553
2556
  if (!b.current) return n;
2554
- const m = b.current.getBoundingClientRect(), h = m.width || 1, N = Math.max(0, Math.min(1, (i - m.left) / h)), _ = n + N * (a - n);
2557
+ const h = b.current.getBoundingClientRect(), m = h.width || 1, w = Math.max(0, Math.min(1, (i - h.left) / m)), _ = n + w * (a - n);
2555
2558
  return l(_);
2556
2559
  },
2557
2560
  [n, a, l]
2558
2561
  );
2559
- $(() => {
2562
+ L(() => {
2560
2563
  a <= n && process.env.NODE_ENV !== "production" && console.warn(
2561
2564
  `ThresholdRamp: max (${a}) must be greater than min (${n}); rendering degenerate strip.`
2562
2565
  );
2563
2566
  }, [n, a]);
2564
- const k = v(
2565
- (i, m) => {
2566
- const h = C.find((N) => N.id === m);
2567
- s || h?.disabled || (i.preventDefault(), y(m));
2567
+ const x = y(
2568
+ (i, h) => {
2569
+ const m = C.find((w) => w.id === h);
2570
+ s || m?.disabled || (i.preventDefault(), v(h));
2568
2571
  },
2569
2572
  [s, C]
2570
- ), M = R(C);
2573
+ ), M = I(C);
2571
2574
  M.current = C;
2572
- const D = R(t);
2573
- D.current = t, $(() => {
2575
+ const N = I(t);
2576
+ N.current = t, L(() => {
2574
2577
  if (!p) return;
2575
- const i = (h) => {
2576
- const N = f(h.clientX);
2578
+ const i = (m) => {
2579
+ const w = f(m.clientX);
2577
2580
  u(
2578
- (_) => _.map((F) => F.id === p ? { ...F, value: N } : F)
2581
+ (_) => _.map((T) => T.id === p ? { ...T, value: w } : T)
2579
2582
  );
2580
- }, m = (h) => {
2581
- const N = f(h.clientX), _ = M.current.map(
2582
- (F) => F.id === p ? { ...F, value: N } : F
2583
+ }, h = (m) => {
2584
+ const w = f(m.clientX), _ = M.current.map(
2585
+ (T) => T.id === p ? { ...T, value: w } : T
2583
2586
  );
2584
- u(_), y(null), D.current(_);
2587
+ u(_), v(null), N.current(_);
2585
2588
  };
2586
- return window.addEventListener("pointermove", i), window.addEventListener("pointerup", m), window.addEventListener("pointercancel", m), () => {
2587
- window.removeEventListener("pointermove", i), window.removeEventListener("pointerup", m), window.removeEventListener("pointercancel", m);
2589
+ return window.addEventListener("pointermove", i), window.addEventListener("pointerup", h), window.addEventListener("pointercancel", h), () => {
2590
+ window.removeEventListener("pointermove", i), window.removeEventListener("pointerup", h), window.removeEventListener("pointercancel", h);
2588
2591
  };
2589
2592
  }, [p, f]);
2590
- const S = a - n > 0 ? a - n : 1, T = v(
2591
- (i, m) => {
2592
- if (s || m.disabled) return;
2593
- const h = a - n;
2594
- if (h <= 0) return;
2595
- const N = i.shiftKey ? h / 20 : h / 100;
2596
- let _ = m.value;
2593
+ const k = a - n > 0 ? a - n : 1, R = y(
2594
+ (i, h) => {
2595
+ if (s || h.disabled) return;
2596
+ const m = a - n;
2597
+ if (m <= 0) return;
2598
+ const w = i.shiftKey ? m / 20 : m / 100;
2599
+ let _ = h.value;
2597
2600
  switch (i.key) {
2598
2601
  case "ArrowRight":
2599
2602
  case "ArrowUp":
2600
- _ = m.value + N;
2603
+ _ = h.value + w;
2601
2604
  break;
2602
2605
  case "ArrowLeft":
2603
2606
  case "ArrowDown":
2604
- _ = m.value - N;
2607
+ _ = h.value - w;
2605
2608
  break;
2606
2609
  case "Home":
2607
2610
  _ = n;
@@ -2613,35 +2616,35 @@ function Yt({
2613
2616
  return;
2614
2617
  }
2615
2618
  i.preventDefault();
2616
- const F = Math.max(n, Math.min(a, _)), I = l(F);
2617
- if (I === m.value) return;
2618
- const V = C.map(
2619
- (O) => O.id === m.id ? { ...O, value: I } : O
2619
+ const T = Math.max(n, Math.min(a, _)), E = l(T);
2620
+ if (E === h.value) return;
2621
+ const G = C.map(
2622
+ (V) => V.id === h.id ? { ...V, value: E } : V
2620
2623
  );
2621
- u(V), t(V);
2624
+ u(G), t(G);
2622
2625
  },
2623
2626
  [s, n, a, C, t, l]
2624
2627
  );
2625
- return /* @__PURE__ */ c("div", { className: "gloss-threshold-ramp", "data-disabled": s || void 0, children: /* @__PURE__ */ c(
2628
+ return /* @__PURE__ */ d("div", { className: "gloss-threshold-ramp", "data-disabled": s || void 0, children: /* @__PURE__ */ d(
2626
2629
  "div",
2627
2630
  {
2628
2631
  ref: b,
2629
2632
  className: "gloss-threshold-ramp__track",
2630
- style: { background: x },
2633
+ style: { background: S },
2631
2634
  children: C.map((i) => {
2632
- const m = (i.value - n) / S * 100;
2633
- return /* @__PURE__ */ c(
2635
+ const h = (i.value - n) / k * 100;
2636
+ return /* @__PURE__ */ d(
2634
2637
  "span",
2635
2638
  {
2636
2639
  className: "gloss-threshold-ramp__stop",
2637
2640
  style: {
2638
- left: `${m}%`,
2639
- color: be(i)
2641
+ left: `${h}%`,
2642
+ color: ve(i)
2640
2643
  },
2641
2644
  "data-disabled": i.disabled || void 0,
2642
2645
  "data-dragging": p === i.id || void 0,
2643
- onPointerDown: (h) => k(h, i.id),
2644
- onKeyDown: (h) => T(h, i),
2646
+ onPointerDown: (m) => x(m, i.id),
2647
+ onKeyDown: (m) => R(m, i),
2645
2648
  "aria-label": i.label ?? `Stop at ${i.value}`,
2646
2649
  role: "slider",
2647
2650
  "aria-valuenow": i.value,
@@ -2656,21 +2659,21 @@ function Yt({
2656
2659
  }
2657
2660
  ) });
2658
2661
  }
2659
- Yt.displayName = "ThresholdRamp";
2660
- const Oe = je(null);
2661
- function qt() {
2662
- return Ye(Oe);
2662
+ qt.displayName = "ThresholdRamp";
2663
+ const Le = Ye(null);
2664
+ function Qt() {
2665
+ return qe(Le);
2663
2666
  }
2664
- function Qt({ option: e }) {
2665
- const t = qt(), n = t?.isSelected(e.value) ?? !1, a = e.disabled || t?.groupDisabled, r = v(() => {
2667
+ function Xt({ option: e }) {
2668
+ const t = Qt(), n = t?.isSelected(e.value) ?? !1, a = e.disabled || t?.groupDisabled, r = y(() => {
2666
2669
  a || t?.select(e.value);
2667
- }, [a, t, e.value]), s = v(
2670
+ }, [a, t, e.value]), s = y(
2668
2671
  (p) => {
2669
2672
  a || t?.onKeyNav(p, e.value);
2670
2673
  },
2671
2674
  [a, t, e.value]
2672
2675
  ), o = e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888", l = t?.firstFocusableValue === e.value, b = a ? -1 : l ? 0 : -1;
2673
- return /* @__PURE__ */ c(
2676
+ return /* @__PURE__ */ d(
2674
2677
  "button",
2675
2678
  {
2676
2679
  ref: (p) => t?.registerRef(e.value, p),
@@ -2691,7 +2694,7 @@ function Qt({ option: e }) {
2691
2694
  }
2692
2695
  );
2693
2696
  }
2694
- function Xt({
2697
+ function Jt({
2695
2698
  swatches: e,
2696
2699
  value: t,
2697
2700
  defaultValue: n,
@@ -2699,65 +2702,65 @@ function Xt({
2699
2702
  disabled: r = !1,
2700
2703
  name: s
2701
2704
  }) {
2702
- const o = t !== void 0, [l, b] = z(n), p = o ? t : l, y = v(
2703
- (D) => {
2704
- o || b(D), a?.(D);
2705
+ const o = t !== void 0, [l, b] = W(n), p = o ? t : l, v = y(
2706
+ (N) => {
2707
+ o || b(N), a?.(N);
2705
2708
  },
2706
2709
  [o, a]
2707
- ), C = v(
2708
- (D) => p === D,
2710
+ ), C = y(
2711
+ (N) => p === N,
2709
2712
  [p]
2710
- ), u = R(/* @__PURE__ */ new Map()), d = v((D, S) => {
2711
- S ? u.current.set(D, S) : u.current.delete(D);
2712
- }, []), g = e.filter((D) => !D.disabled && !r), x = g.find((D) => D.value === p)?.value ?? g[0]?.value, f = v((D) => {
2713
- const S = u.current.get(D);
2714
- S && S.focus();
2715
- }, []), k = v(
2716
- (D, S) => {
2713
+ ), u = I(/* @__PURE__ */ new Map()), c = y((N, k) => {
2714
+ k ? u.current.set(N, k) : u.current.delete(N);
2715
+ }, []), g = e.filter((N) => !N.disabled && !r), S = g.find((N) => N.value === p)?.value ?? g[0]?.value, f = y((N) => {
2716
+ const k = u.current.get(N);
2717
+ k && k.focus();
2718
+ }, []), x = y(
2719
+ (N, k) => {
2717
2720
  if (r) return;
2718
- const T = e.filter((N) => !N.disabled);
2719
- if (T.length === 0) return;
2720
- const i = T.findIndex((N) => N.value === S);
2721
+ const R = e.filter((w) => !w.disabled);
2722
+ if (R.length === 0) return;
2723
+ const i = R.findIndex((w) => w.value === k);
2721
2724
  if (i === -1) return;
2722
- let m = i;
2723
- switch (D.key) {
2725
+ let h = i;
2726
+ switch (N.key) {
2724
2727
  case "ArrowRight":
2725
2728
  case "ArrowDown":
2726
- m = (i + 1) % T.length;
2729
+ h = (i + 1) % R.length;
2727
2730
  break;
2728
2731
  case "ArrowLeft":
2729
2732
  case "ArrowUp":
2730
- m = (i - 1 + T.length) % T.length;
2733
+ h = (i - 1 + R.length) % R.length;
2731
2734
  break;
2732
2735
  case "Home":
2733
- m = 0;
2736
+ h = 0;
2734
2737
  break;
2735
2738
  case "End":
2736
- m = T.length - 1;
2739
+ h = R.length - 1;
2737
2740
  break;
2738
2741
  case " ":
2739
2742
  case "Enter":
2740
- D.preventDefault(), y(S);
2743
+ N.preventDefault(), v(k);
2741
2744
  return;
2742
2745
  default:
2743
2746
  return;
2744
2747
  }
2745
- D.preventDefault();
2746
- const h = T[m].value;
2747
- f(h), y(h);
2748
+ N.preventDefault();
2749
+ const m = R[h].value;
2750
+ f(m), v(m);
2748
2751
  },
2749
- [r, e, y, f]
2752
+ [r, e, v, f]
2750
2753
  ), M = {
2751
2754
  selectedValue: p,
2752
- select: y,
2755
+ select: v,
2753
2756
  isSelected: C,
2754
2757
  groupDisabled: r,
2755
2758
  name: s,
2756
- registerRef: d,
2757
- firstFocusableValue: x,
2758
- onKeyNav: k
2759
+ registerRef: c,
2760
+ firstFocusableValue: S,
2761
+ onKeyNav: x
2759
2762
  };
2760
- return /* @__PURE__ */ c(Oe.Provider, { value: M, children: /* @__PURE__ */ c(
2763
+ return /* @__PURE__ */ d(Le.Provider, { value: M, children: /* @__PURE__ */ d(
2761
2764
  "div",
2762
2765
  {
2763
2766
  className: "gloss-preset-swatch-row",
@@ -2765,126 +2768,126 @@ function Xt({
2765
2768
  "aria-label": s,
2766
2769
  "aria-disabled": r,
2767
2770
  "data-disabled": r || void 0,
2768
- children: e.map((D) => /* @__PURE__ */ c(Qt, { option: D }, D.value))
2771
+ children: e.map((N) => /* @__PURE__ */ d(Xt, { option: N }, N.value))
2769
2772
  }
2770
2773
  ) });
2771
2774
  }
2772
- Xt.displayName = "PresetSwatchRow";
2773
- function ve(e, t) {
2775
+ Jt.displayName = "PresetSwatchRow";
2776
+ function ye(e, t) {
2774
2777
  for (const n of e)
2775
2778
  if (n.items.some((a) => a.id === t))
2776
2779
  return n.zoneKey;
2777
2780
  return null;
2778
2781
  }
2779
- function xe(e, t) {
2782
+ function Re(e, t) {
2780
2783
  const n = e.find((a) => a.zoneKey === t);
2781
- return n ? n.zoneKey : ve(e, t);
2784
+ return n ? n.zoneKey : ye(e, t);
2782
2785
  }
2783
- function Jt(e, t, n) {
2786
+ function ea(e, t, n) {
2784
2787
  const a = [...e], [r] = a.splice(t, 1);
2785
2788
  return a.splice(n, 0, r), a;
2786
2789
  }
2787
- function ea(e) {
2790
+ function ta(e) {
2788
2791
  return e.map((t) => `${t.zoneKey}:${t.items.map((n) => n.id).join(",")}`).join("|");
2789
2792
  }
2790
- function ta(e) {
2791
- const [t, n] = z(
2793
+ function aa(e) {
2794
+ const [t, n] = W(
2792
2795
  () => e.zones.map((f) => f.maxItems !== void 0 && f.items.length > f.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
2793
2796
  `useSortableZones: zone "${f.zoneKey}" exceeds maxItems (${f.items.length} > ${f.maxItems}); trimming to cap.`
2794
2797
  ), { ...f, items: f.items.slice(0, f.maxItems) }) : f)
2795
- ), [a, r] = z(null), [s, o] = z(null), l = R(null), b = R(e.onZoneChange);
2798
+ ), [a, r] = W(null), [s, o] = W(null), l = I(null), b = I(e.onZoneChange);
2796
2799
  b.current = e.onZoneChange;
2797
- const p = ne(
2798
- () => ea(e.zones),
2800
+ const p = re(
2801
+ () => ta(e.zones),
2799
2802
  [e.zones]
2800
- ), y = R(p);
2801
- $(() => {
2802
- y.current !== p && (y.current = p, !a && n(
2803
+ ), v = I(p);
2804
+ L(() => {
2805
+ v.current !== p && (v.current = p, !a && n(
2803
2806
  e.zones.map((f) => f.maxItems !== void 0 && f.items.length > f.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
2804
2807
  `useSortableZones: zone "${f.zoneKey}" exceeds maxItems (${f.items.length} > ${f.maxItems}); trimming to cap.`
2805
2808
  ), { ...f, items: f.items.slice(0, f.maxItems) }) : f)
2806
2809
  ));
2807
2810
  }, [p, e.zones, a]);
2808
- const C = v(
2811
+ const C = y(
2809
2812
  (f) => {
2810
- const k = f.active.id;
2811
- let M = null, D = null;
2812
- for (const S of t) {
2813
- const T = S.items.find((i) => i.id === k);
2814
- if (T) {
2815
- M = T, D = S.zoneKey;
2813
+ const x = f.active.id;
2814
+ let M = null, N = null;
2815
+ for (const k of t) {
2816
+ const R = k.items.find((i) => i.id === x);
2817
+ if (R) {
2818
+ M = R, N = k.zoneKey;
2816
2819
  break;
2817
2820
  }
2818
2821
  }
2819
- l.current = D, r(M), o(D);
2822
+ l.current = N, r(M), o(N);
2820
2823
  },
2821
2824
  [t]
2822
- ), u = v(
2825
+ ), u = y(
2823
2826
  (f) => {
2824
2827
  if (!f.over) {
2825
2828
  o(l.current);
2826
2829
  return;
2827
2830
  }
2828
- const k = xe(t, f.over.id);
2829
- o(k);
2831
+ const x = Re(t, f.over.id);
2832
+ o(x);
2830
2833
  },
2831
2834
  [t]
2832
- ), d = v(
2835
+ ), c = y(
2833
2836
  (f) => {
2834
- const { active: k, over: M } = f, D = () => {
2837
+ const { active: x, over: M } = f, N = () => {
2835
2838
  l.current = null, r(null), o(null);
2836
2839
  };
2837
2840
  if (!M) {
2838
- D();
2841
+ N();
2839
2842
  return;
2840
2843
  }
2841
- const S = ve(t, k.id), T = xe(t, M.id);
2842
- if (!S || !T) {
2843
- D();
2844
+ const k = ye(t, x.id), R = Re(t, M.id);
2845
+ if (!k || !R) {
2846
+ N();
2844
2847
  return;
2845
2848
  }
2846
- let i = t.map((m) => ({ ...m, items: [...m.items] }));
2847
- if (S === T) {
2848
- const m = i.findIndex((I) => I.zoneKey === S), h = i[m], N = h.items.findIndex((I) => I.id === k.id), _ = h.items.findIndex((I) => I.id === M.id), F = _ >= 0 ? _ : Math.max(0, h.items.length - 1);
2849
- i[m] = {
2850
- ...h,
2851
- items: Jt(h.items, N, F)
2849
+ let i = t.map((h) => ({ ...h, items: [...h.items] }));
2850
+ if (k === R) {
2851
+ const h = i.findIndex((E) => E.zoneKey === k), m = i[h], w = m.items.findIndex((E) => E.id === x.id), _ = m.items.findIndex((E) => E.id === M.id), T = _ >= 0 ? _ : Math.max(0, m.items.length - 1);
2852
+ i[h] = {
2853
+ ...m,
2854
+ items: ea(m.items, w, T)
2852
2855
  };
2853
2856
  } else {
2854
- const m = i.findIndex((B) => B.zoneKey === S), h = i.findIndex((B) => B.zoneKey === T), N = i[m], _ = i[h], F = N.items.find((B) => B.id === k.id);
2855
- if (!F) {
2856
- D();
2857
+ const h = i.findIndex((z) => z.zoneKey === k), m = i.findIndex((z) => z.zoneKey === R), w = i[h], _ = i[m], T = w.items.find((z) => z.id === x.id);
2858
+ if (!T) {
2859
+ N();
2857
2860
  return;
2858
2861
  }
2859
- const I = N.items.filter((B) => B.id !== k.id), V = _.items.findIndex((B) => B.id === M.id), O = V >= 0 ? V : _.items.length;
2860
- let W = I, L = [..._.items];
2861
- if (_.maxItems !== void 0 && L.length >= _.maxItems) {
2862
- const B = L[L.length - 1];
2863
- L = L.slice(0, _.maxItems - 1), W = [...I, B];
2862
+ const E = w.items.filter((z) => z.id !== x.id), G = _.items.findIndex((z) => z.id === M.id), V = G >= 0 ? G : _.items.length;
2863
+ let $ = E, O = [..._.items];
2864
+ if (_.maxItems !== void 0 && O.length >= _.maxItems) {
2865
+ const z = O[O.length - 1];
2866
+ O = O.slice(0, _.maxItems - 1), $ = [...E, z];
2864
2867
  }
2865
- const X = Math.min(O, L.length), re = [
2866
- ...L.slice(0, X),
2867
- F,
2868
- ...L.slice(X)
2868
+ const U = Math.min(V, O.length), se = [
2869
+ ...O.slice(0, U),
2870
+ T,
2871
+ ...O.slice(U)
2869
2872
  ];
2870
- i[m] = { ...N, items: W }, i[h] = { ..._, items: re };
2873
+ i[h] = { ...w, items: $ }, i[m] = { ..._, items: se };
2871
2874
  }
2872
- n(i), b.current?.(i), D();
2875
+ n(i), b.current?.(i), N();
2873
2876
  },
2874
2877
  [t]
2875
- ), g = v(
2878
+ ), g = y(
2876
2879
  (f) => ({
2877
2880
  id: f,
2878
2881
  "data-zone-key": f
2879
2882
  }),
2880
2883
  []
2881
- ), x = v(
2884
+ ), S = y(
2882
2885
  (f) => {
2883
- const k = ve(t, f.id) ?? "";
2886
+ const x = ye(t, f.id) ?? "";
2884
2887
  return {
2885
2888
  id: f.id,
2886
2889
  "data-item-id": f.id,
2887
- "data-zone-key": k
2890
+ "data-zone-key": x
2888
2891
  };
2889
2892
  },
2890
2893
  [t]
@@ -2894,14 +2897,14 @@ function ta(e) {
2894
2897
  activeZone: s,
2895
2898
  activeItem: a,
2896
2899
  getZoneProps: g,
2897
- getItemProps: x,
2900
+ getItemProps: S,
2898
2901
  handleDragStart: C,
2899
2902
  handleDragOver: u,
2900
- handleDragEnd: d
2903
+ handleDragEnd: c
2901
2904
  };
2902
2905
  }
2903
- let te = null, oe = null, pe = !1;
2904
- const aa = [
2906
+ let ae = null, le = null, ge = !1;
2907
+ const na = [
2905
2908
  "DndContext",
2906
2909
  "DragOverlay",
2907
2910
  "useSensors",
@@ -2910,22 +2913,22 @@ const aa = [
2910
2913
  "PointerSensor",
2911
2914
  "KeyboardSensor",
2912
2915
  "closestCenter"
2913
- ], na = [
2916
+ ], ra = [
2914
2917
  "SortableContext",
2915
2918
  "useSortable",
2916
2919
  "verticalListSortingStrategy"
2917
2920
  ];
2918
- function ra(e, t) {
2921
+ function sa(e, t) {
2919
2922
  const n = [], a = e ?? {};
2920
- for (const s of aa)
2923
+ for (const s of na)
2921
2924
  a[s] === void 0 && n.push(`@dnd-kit/core:${s}`);
2922
2925
  const r = t ?? {};
2923
- for (const s of na)
2926
+ for (const s of ra)
2924
2927
  r[s] === void 0 && n.push(`@dnd-kit/sortable:${s}`);
2925
2928
  return n.length === 0 ? { ok: !0 } : { ok: !1, missing: n };
2926
2929
  }
2927
- function sa() {
2928
- return te ? Promise.resolve(te) : pe ? Promise.resolve(null) : oe || (oe = (async () => {
2930
+ function oa() {
2931
+ return ae ? Promise.resolve(ae) : ge ? Promise.resolve(null) : le || (le = (async () => {
2929
2932
  try {
2930
2933
  const [e, t, n] = await Promise.all([
2931
2934
  import("@dnd-kit/core"),
@@ -2933,31 +2936,31 @@ function sa() {
2933
2936
  import("@dnd-kit/utilities").catch(() => (process.env.NODE_ENV !== "production" && console.warn(
2934
2937
  "SortableZones: @dnd-kit/utilities failed to load; drag-overlay positioning will fall back (items may teleport instead of slide)."
2935
2938
  ), {}))
2936
- ]), a = ra(e, t);
2937
- return a.ok ? (te = {
2939
+ ]), a = sa(e, t);
2940
+ return a.ok ? (ae = {
2938
2941
  core: e,
2939
2942
  sortable: t,
2940
2943
  utilities: n
2941
- }, te) : (pe = !0, process.env.NODE_ENV !== "production" && console.error(
2944
+ }, ae) : (ge = !0, process.env.NODE_ENV !== "production" && console.error(
2942
2945
  `SortableZones: @dnd-kit shape mismatch — missing exports: ${a.missing.join(", ")}. Check installed versions against optionalDependencies in @mt-gloss/ui.`
2943
2946
  ), null);
2944
2947
  } catch {
2945
- return pe = !0, null;
2948
+ return ge = !0, null;
2946
2949
  }
2947
- })(), oe);
2950
+ })(), le);
2948
2951
  }
2949
- function oa(e) {
2950
- const { zones: t, onZoneChange: n, renderZone: a, renderItem: r, renderDragOverlay: s } = e, o = ta({ zones: t, onZoneChange: n }), [l, b] = G.useState(te);
2951
- return G.useEffect(() => {
2952
+ function ia(e) {
2953
+ const { zones: t, onZoneChange: n, renderZone: a, renderItem: r, renderDragOverlay: s } = e, o = aa({ zones: t, onZoneChange: n }), [l, b] = H.useState(ae);
2954
+ return H.useEffect(() => {
2952
2955
  if (l) return;
2953
2956
  let p = !0;
2954
- return sa().then((y) => {
2955
- p && b(y);
2957
+ return oa().then((v) => {
2958
+ p && b(v);
2956
2959
  }), () => {
2957
2960
  p = !1;
2958
2961
  };
2959
- }, [l]), l ? /* @__PURE__ */ c(
2960
- Ae,
2962
+ }, [l]), l ? /* @__PURE__ */ d(
2963
+ $e,
2961
2964
  {
2962
2965
  state: o,
2963
2966
  modules: l,
@@ -2965,80 +2968,80 @@ function oa(e) {
2965
2968
  renderItem: r,
2966
2969
  renderDragOverlay: s
2967
2970
  }
2968
- ) : /* @__PURE__ */ c("div", { "data-sortable-zones-passive": "true", children: o.zones.map((p) => {
2969
- const y = p.items.map((C) => /* @__PURE__ */ c(G.Fragment, { children: r(C) }, C.id));
2970
- return /* @__PURE__ */ c("div", { ...o.getZoneProps(p.zoneKey), children: a(p.zoneKey, p.items, y) }, p.zoneKey);
2971
+ ) : /* @__PURE__ */ d("div", { "data-sortable-zones-passive": "true", children: o.zones.map((p) => {
2972
+ const v = p.items.map((C) => /* @__PURE__ */ d(H.Fragment, { children: r(C) }, C.id));
2973
+ return /* @__PURE__ */ d("div", { ...o.getZoneProps(p.zoneKey), children: a(p.zoneKey, p.items, v) }, p.zoneKey);
2971
2974
  }) });
2972
2975
  }
2973
- oa.displayName = "SortableZones";
2974
- function Ae({
2976
+ ia.displayName = "SortableZones";
2977
+ function $e({
2975
2978
  state: e,
2976
2979
  modules: t,
2977
2980
  renderZone: n,
2978
2981
  renderItem: a,
2979
2982
  renderDragOverlay: r
2980
2983
  }) {
2981
- const { core: s, sortable: o, utilities: l } = t, { DndContext: b, DragOverlay: p, useSensors: y, useSensor: C, useDroppable: u, PointerSensor: d, KeyboardSensor: g, closestCenter: x } = s, { SortableContext: f, verticalListSortingStrategy: k } = o, M = y(
2982
- C(d, { activationConstraint: { distance: 5 } }),
2984
+ const { core: s, sortable: o, utilities: l } = t, { DndContext: b, DragOverlay: p, useSensors: v, useSensor: C, useDroppable: u, PointerSensor: c, KeyboardSensor: g, closestCenter: S } = s, { SortableContext: f, verticalListSortingStrategy: x } = o, M = v(
2985
+ C(c, { activationConstraint: { distance: 5 } }),
2983
2986
  C(g)
2984
- ), D = b, S = p, T = f;
2987
+ ), N = b, k = p, R = f;
2985
2988
  return /* @__PURE__ */ A(
2986
- D,
2989
+ N,
2987
2990
  {
2988
2991
  sensors: M,
2989
- collisionDetection: x,
2992
+ collisionDetection: S,
2990
2993
  onDragStart: e.handleDragStart,
2991
2994
  onDragOver: e.handleDragOver,
2992
2995
  onDragEnd: e.handleDragEnd,
2993
2996
  children: [
2994
2997
  e.zones.map((i) => {
2995
- const m = i.items.map((N) => N.id), h = i.items.map((N) => /* @__PURE__ */ c(
2996
- Le,
2998
+ const h = i.items.map((w) => w.id), m = i.items.map((w) => /* @__PURE__ */ d(
2999
+ Be,
2997
3000
  {
2998
- id: N.id,
3001
+ id: w.id,
2999
3002
  useSortable: o.useSortable,
3000
3003
  cssHelper: l.CSS,
3001
- children: a(N)
3004
+ children: a(w)
3002
3005
  },
3003
- N.id
3006
+ w.id
3004
3007
  ));
3005
- return /* @__PURE__ */ c(
3006
- $e,
3008
+ return /* @__PURE__ */ d(
3009
+ Ke,
3007
3010
  {
3008
3011
  zoneKey: i.zoneKey,
3009
3012
  zoneProps: e.getZoneProps(i.zoneKey),
3010
3013
  useDroppable: u,
3011
- children: /* @__PURE__ */ c(T, { items: m, strategy: k, children: n(i.zoneKey, i.items, h) })
3014
+ children: /* @__PURE__ */ d(R, { items: h, strategy: x, children: n(i.zoneKey, i.items, m) })
3012
3015
  },
3013
3016
  i.zoneKey
3014
3017
  );
3015
3018
  }),
3016
- /* @__PURE__ */ c(S, { children: e.activeItem ? r?.(e.activeItem) ?? a(e.activeItem) : null })
3019
+ /* @__PURE__ */ d(k, { children: e.activeItem ? r?.(e.activeItem) ?? a(e.activeItem) : null })
3017
3020
  ]
3018
3021
  }
3019
3022
  );
3020
3023
  }
3021
- Ae.displayName = "SortableZonesInner";
3022
- function Le({ id: e, useSortable: t, cssHelper: n, children: a }) {
3023
- const { attributes: r, listeners: s, setNodeRef: o, transform: l, transition: b, isDragging: p } = t({ id: e }), y = {
3024
+ $e.displayName = "SortableZonesInner";
3025
+ function Be({ id: e, useSortable: t, cssHelper: n, children: a }) {
3026
+ const { attributes: r, listeners: s, setNodeRef: o, transform: l, transition: b, isDragging: p } = t({ id: e }), v = {
3024
3027
  transform: n?.Transform?.toString(l) ?? void 0,
3025
3028
  transition: b,
3026
3029
  opacity: p ? 0.5 : 1
3027
3030
  };
3028
- return /* @__PURE__ */ c("div", { ref: o, style: y, "data-sortable-item-id": e, ...r, ...s, children: a });
3031
+ return /* @__PURE__ */ d("div", { ref: o, style: v, "data-sortable-item-id": e, ...r, ...s, children: a });
3029
3032
  }
3030
- Le.displayName = "SortableItem";
3031
- function $e({
3033
+ Be.displayName = "SortableItem";
3034
+ function Ke({
3032
3035
  zoneKey: e,
3033
3036
  zoneProps: t,
3034
3037
  useDroppable: n,
3035
3038
  children: a
3036
3039
  }) {
3037
3040
  const { setNodeRef: r, isOver: s } = n({ id: e });
3038
- return /* @__PURE__ */ c("div", { ref: r, "data-zone-is-over": s || void 0, ...t, children: a });
3041
+ return /* @__PURE__ */ d("div", { ref: r, "data-zone-is-over": s || void 0, ...t, children: a });
3039
3042
  }
3040
- $e.displayName = "ZoneDroppable";
3041
- function bn({
3043
+ Ke.displayName = "ZoneDroppable";
3044
+ function vn({
3042
3045
  slotLeft: e,
3043
3046
  slotCenter: t,
3044
3047
  slotRight: n,
@@ -3060,7 +3063,7 @@ function bn({
3060
3063
  className: ["gloss-bottom-toolbar", r].filter(Boolean).join(" "),
3061
3064
  style: l,
3062
3065
  children: [
3063
- /* @__PURE__ */ c(
3066
+ /* @__PURE__ */ d(
3064
3067
  "div",
3065
3068
  {
3066
3069
  className: "gloss-bottom-toolbar__slot gloss-bottom-toolbar__slot--left",
@@ -3068,7 +3071,7 @@ function bn({
3068
3071
  children: e
3069
3072
  }
3070
3073
  ),
3071
- /* @__PURE__ */ c(
3074
+ /* @__PURE__ */ d(
3072
3075
  "div",
3073
3076
  {
3074
3077
  className: "gloss-bottom-toolbar__slot gloss-bottom-toolbar__slot--center",
@@ -3076,7 +3079,7 @@ function bn({
3076
3079
  children: t
3077
3080
  }
3078
3081
  ),
3079
- /* @__PURE__ */ c(
3082
+ /* @__PURE__ */ d(
3080
3083
  "div",
3081
3084
  {
3082
3085
  className: "gloss-bottom-toolbar__slot gloss-bottom-toolbar__slot--right",
@@ -3088,14 +3091,14 @@ function bn({
3088
3091
  }
3089
3092
  );
3090
3093
  }
3091
- function vn({
3094
+ function yn({
3092
3095
  count: e,
3093
3096
  currentIndex: t,
3094
3097
  onSelect: n,
3095
3098
  "aria-label": a = "Sections"
3096
3099
  }) {
3097
- const r = Ue.useRef([]);
3098
- return r.current.length = e, /* @__PURE__ */ c(
3100
+ const r = Ze.useRef([]);
3101
+ return r.current.length = e, /* @__PURE__ */ d(
3099
3102
  "div",
3100
3103
  {
3101
3104
  role: "tablist",
@@ -3115,7 +3118,7 @@ function vn({
3115
3118
  }
3116
3119
  }
3117
3120
  },
3118
- children: Array.from({ length: e }, (o, l) => /* @__PURE__ */ c(
3121
+ children: Array.from({ length: e }, (o, l) => /* @__PURE__ */ d(
3119
3122
  "button",
3120
3123
  {
3121
3124
  ref: (b) => {
@@ -3138,312 +3141,312 @@ function vn({
3138
3141
  }
3139
3142
  );
3140
3143
  }
3141
- const ia = G.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
3144
+ const la = H.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
3142
3145
  const r = { ...n };
3143
- return delete r.className, delete r.style, /* @__PURE__ */ c("div", { ref: a, className: "gloss-container-toolbar", role: "toolbar", ...r, children: /* @__PURE__ */ c(ye, { region: "toolbar", density: e, children: t }) });
3146
+ return delete r.className, delete r.style, /* @__PURE__ */ d("div", { ref: a, className: "gloss-container-toolbar", role: "toolbar", ...r, children: /* @__PURE__ */ d(we, { region: "toolbar", density: e, children: t }) });
3144
3147
  });
3145
- ia.displayName = "ContainerToolbar";
3146
- const la = G.forwardRef(({ legend: e, description: t, density: n = "default", children: a, ...r }, s) => {
3148
+ la.displayName = "ContainerToolbar";
3149
+ const ca = H.forwardRef(({ legend: e, description: t, density: n = "default", children: a, ...r }, s) => {
3147
3150
  const o = { ...r };
3148
3151
  return delete o.className, delete o.style, /* @__PURE__ */ A("fieldset", { ref: s, className: "gloss-container-form-section", ...o, children: [
3149
- e && /* @__PURE__ */ c("legend", { className: "gloss-container-form-section__legend", children: e }),
3150
- t && /* @__PURE__ */ c("p", { className: "gloss-container-form-section__description", children: t }),
3151
- /* @__PURE__ */ c(ye, { region: "form-section", density: n, children: a })
3152
+ e && /* @__PURE__ */ d("legend", { className: "gloss-container-form-section__legend", children: e }),
3153
+ t && /* @__PURE__ */ d("p", { className: "gloss-container-form-section__description", children: t }),
3154
+ /* @__PURE__ */ d(we, { region: "form-section", density: n, children: a })
3152
3155
  ] });
3153
3156
  });
3154
- la.displayName = "ContainerFormSection";
3155
- const da = G.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
3157
+ ca.displayName = "ContainerFormSection";
3158
+ const da = H.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
3156
3159
  const r = { ...n };
3157
- return delete r.className, delete r.style, /* @__PURE__ */ c("div", { ref: a, className: "gloss-container-table", ...r, children: /* @__PURE__ */ c(ye, { region: "table", density: e, children: t }) });
3160
+ return delete r.className, delete r.style, /* @__PURE__ */ d("div", { ref: a, className: "gloss-container-table", ...r, children: /* @__PURE__ */ d(we, { region: "table", density: e, children: t }) });
3158
3161
  });
3159
3162
  da.displayName = "ContainerTable";
3160
3163
  export {
3161
- Dn as Accordion,
3164
+ Nn as Accordion,
3162
3165
  Cn as AccordionContent,
3163
- Nn as AccordionItem,
3164
- _n as AccordionTrigger,
3165
- kn as ActionStrip,
3166
+ _n as AccordionItem,
3167
+ kn as AccordionTrigger,
3168
+ xn as ActionStrip,
3166
3169
  Sn as Actionable,
3167
- xn as AddressGroup,
3168
- Tn as AddressSelect,
3170
+ Tn as AddressGroup,
3171
+ Rn as AddressSelect,
3169
3172
  In as AsyncLoader,
3170
- Rn as Autocomplete,
3171
- Mn as Badge,
3172
- Fn as BarChartCard,
3173
- Pn as BarsBg,
3174
- bn as BottomToolbar,
3175
- En as Button,
3176
- On as ButtonGroup,
3177
- An as ButtonGroupContext,
3178
- Ln as Card,
3179
- $n as CardActions,
3180
- Bn as CardBack,
3181
- Kn as CardBody,
3182
- zn as CardFooter,
3183
- Wn as CardHeader,
3184
- Gn as CardMedia,
3185
- Hn as CardShell,
3186
- Vn as CardSubtitle,
3187
- Un as CardTitle,
3188
- Zn as ChartControlBar,
3189
- jn as Checkbox,
3190
- Yn as CheckboxGroup,
3191
- qn as Chip,
3192
- Qn as ColorPicker,
3193
- Xn as ComparisonCard,
3194
- Jn as ContactForm,
3195
- er as ContainerCard,
3196
- tr as ContainerCardActions,
3197
- ar as ContainerCardBody,
3198
- nr as ContainerCardFooter,
3199
- rr as ContainerCardHeader,
3200
- sr as ContainerCardMedia,
3201
- or as ContainerCardSubtitle,
3202
- ir as ContainerCardTitle,
3203
- lr as ContainerDialog,
3173
+ Mn as Autocomplete,
3174
+ Fn as Badge,
3175
+ Pn as BarChartCard,
3176
+ En as BarsBg,
3177
+ vn as BottomToolbar,
3178
+ On as Button,
3179
+ An as ButtonGroup,
3180
+ Ln as ButtonGroupContext,
3181
+ $n as Card,
3182
+ Bn as CardActions,
3183
+ Kn as CardBack,
3184
+ zn as CardBody,
3185
+ Wn as CardFooter,
3186
+ Gn as CardHeader,
3187
+ Hn as CardMedia,
3188
+ Vn as CardShell,
3189
+ Un as CardSubtitle,
3190
+ Zn as CardTitle,
3191
+ jn as ChartControlBar,
3192
+ Yn as Checkbox,
3193
+ qn as CheckboxGroup,
3194
+ Qn as Chip,
3195
+ Xn as ColorPicker,
3196
+ Jn as ComparisonCard,
3197
+ er as ContactForm,
3198
+ tr as ContainerCard,
3199
+ ar as ContainerCardActions,
3200
+ nr as ContainerCardBody,
3201
+ rr as ContainerCardFooter,
3202
+ sr as ContainerCardHeader,
3203
+ or as ContainerCardMedia,
3204
+ ir as ContainerCardSubtitle,
3205
+ lr as ContainerCardTitle,
3206
+ cr as ContainerDialog,
3204
3207
  dr as ContainerDialogActions,
3205
- cr as ContainerDialogBody,
3206
- ur as ContainerDialogHeader,
3207
- la as ContainerFormSection,
3208
- mr as ContainerPanel,
3208
+ ur as ContainerDialogBody,
3209
+ mr as ContainerDialogHeader,
3210
+ ca as ContainerFormSection,
3211
+ pr as ContainerPanel,
3209
3212
  da as ContainerTable,
3210
- ia as ContainerToolbar,
3211
- pr as CreditCardForm,
3212
- gr as DEFAULT_FOOTER_IDS,
3213
- Y as DEFAULT_GRID_INTERACTION_PHYSICS,
3214
- Wo as DEFAULT_MARKET_PRESETS,
3215
- fr as DEFAULT_OVERFLOW_IDS,
3216
- Go as DEFAULT_PINNED,
3217
- Ie as DEFAULT_RESIZE_PHYSICS,
3218
- hr as DataTable,
3219
- br as DatePicker,
3220
- vr as DateRangePicker,
3221
- yr as DestructiveModal,
3222
- Gt as DevTuningPanel,
3223
- wr as DirectionCard,
3224
- Dr as Dismissible,
3213
+ la as ContainerToolbar,
3214
+ gr as CreditCardForm,
3215
+ fr as DEFAULT_FOOTER_IDS,
3216
+ ee as DEFAULT_GRID_INTERACTION_PHYSICS,
3217
+ Go as DEFAULT_MARKET_PRESETS,
3218
+ hr as DEFAULT_OVERFLOW_IDS,
3219
+ Ho as DEFAULT_PINNED,
3220
+ Me as DEFAULT_RESIZE_PHYSICS,
3221
+ br as DataTable,
3222
+ vr as DatePicker,
3223
+ yr as DateRangePicker,
3224
+ wr as DestructiveModal,
3225
+ Ht as DevTuningPanel,
3226
+ Dr as DirectionCard,
3227
+ Nr as Dismissible,
3225
3228
  Cr as DistributionCard,
3226
- Nr as DonutChart,
3227
- pn as DropAnchorCell,
3228
- _r as Dropdown,
3229
- kr as ENTITY_FILTER_KEYS,
3229
+ _r as DonutChart,
3230
+ gn as DropAnchorCell,
3231
+ kr as Dropdown,
3232
+ xr as ENTITY_FILTER_KEYS,
3230
3233
  Sr as ENTITY_PROFILE_ROUTES,
3231
- xr as ENTITY_TYPE_PLURAL,
3232
- pt as EdgeHoverHandle,
3233
- hn as EmptyCellPackAffordance,
3234
- Tr as EntityPicker,
3234
+ Tr as ENTITY_TYPE_PLURAL,
3235
+ gt as EdgeHoverHandle,
3236
+ bn as EmptyCellPackAffordance,
3237
+ Rr as EntityPicker,
3235
3238
  Ir as EntitySearchPanel,
3236
- Rr as Expandable,
3237
- Mr as ExpandableChip,
3238
- Fr as FLIP_AND_STAGE_TIMINGS,
3239
- Pr as FileUpload,
3240
- Er as FilterChip,
3241
- Or as FilterInput,
3242
- Ar as FlipAndStageProvider,
3243
- Lr as Form,
3244
- $r as FormDialog,
3245
- Br as FormField,
3246
- Kr as FusedShape,
3247
- gt as GhostPreview,
3248
- zr as GroupCheckbox,
3249
- Wr as GroupRadio,
3250
- Gr as HighlightCard,
3251
- Hr as HybridDatePicker,
3252
- Vr as ImportWizard,
3253
- Ut as InlineNudge,
3254
- Ur as Input,
3255
- Zr as InputAddon,
3256
- jr as InputGroup,
3257
- Yr as Link,
3258
- qr as LoginForm,
3259
- Qr as MarketPresetRow,
3260
- Xr as MaskPresets,
3261
- Jr as MaskedInput,
3262
- es as Menu,
3263
- ts as MenuDivider,
3264
- as as MenuGroup,
3265
- ns as MenuItem,
3266
- rs as MergePrompt,
3267
- ss as MetricCard,
3268
- os as MetricCardGrid,
3269
- Et as MetricGroupContainer,
3270
- is as MiniCalendar,
3271
- ls as MultiSelect,
3239
+ Mr as Expandable,
3240
+ Fr as ExpandableChip,
3241
+ Pr as FLIP_AND_STAGE_TIMINGS,
3242
+ Er as FileUpload,
3243
+ Or as FilterChip,
3244
+ Ar as FilterInput,
3245
+ Lr as FlipAndStageProvider,
3246
+ $r as Form,
3247
+ Br as FormDialog,
3248
+ Kr as FormField,
3249
+ zr as FusedShape,
3250
+ ft as GhostPreview,
3251
+ Wr as GroupCheckbox,
3252
+ Gr as GroupRadio,
3253
+ Hr as HighlightCard,
3254
+ Vr as HybridDatePicker,
3255
+ Ur as ImportWizard,
3256
+ Zt as InlineNudge,
3257
+ Zr as Input,
3258
+ jr as InputAddon,
3259
+ Yr as InputGroup,
3260
+ qr as Link,
3261
+ Qr as LoginForm,
3262
+ Xr as MarketPresetRow,
3263
+ Jr as MaskPresets,
3264
+ es as MaskedInput,
3265
+ ts as Menu,
3266
+ as as MenuDivider,
3267
+ ns as MenuGroup,
3268
+ rs as MenuItem,
3269
+ ss as MergePrompt,
3270
+ os as MetricCard,
3271
+ is as MetricCardGrid,
3272
+ Ot as MetricGroupContainer,
3273
+ ls as MiniCalendar,
3274
+ cs as MultiSelect,
3272
3275
  ds as NumberInput,
3273
- cs as ObjectArrow,
3274
- us as OrderFilterBar,
3275
- Ho as PERIOD_OPTIONS,
3276
+ us as ObjectArrow,
3277
+ ms as OrderFilterBar,
3278
+ Vo as PERIOD_OPTIONS,
3276
3279
  Ct as PageChip,
3277
- Re as PageDropdown,
3278
- ms as PasswordInput,
3279
- ps as PaymentForm,
3280
- gs as PaymentMethodSelect,
3281
- fs as PhoneInput,
3282
- hs as PinToMetric,
3283
- Xt as PresetSwatchRow,
3284
- bs as ProfileCard,
3285
- vs as ProgressCard,
3286
- ys as QuickConfigPanel,
3280
+ Fe as PageDropdown,
3281
+ ps as PasswordInput,
3282
+ gs as PaymentForm,
3283
+ fs as PaymentMethodSelect,
3284
+ hs as PhoneInput,
3285
+ bs as PinToMetric,
3286
+ Jt as PresetSwatchRow,
3287
+ vs as ProfileCard,
3288
+ ys as ProgressCard,
3289
+ ws as QuickConfigPanel,
3287
3290
  It as RECONFIG_BACKSIDE_LABELS,
3288
- Vo as ROLLING_OPTIONS,
3289
- ws as Radio,
3290
- Ds as RadioGroup,
3291
+ Uo as ROLLING_OPTIONS,
3292
+ Ds as Radio,
3293
+ Ns as RadioGroup,
3291
3294
  Cs as RangeSlider,
3292
- Ns as Rating,
3293
- Ft as ReconfigBacksideButtons,
3294
- _s as RegistrationForm,
3295
- mn as ResizeEnvelope,
3296
- ks as Row1Controls,
3295
+ _s as Rating,
3296
+ Pt as ReconfigBacksideButtons,
3297
+ ks as RegistrationForm,
3298
+ pn as ResizeEnvelope,
3299
+ xs as Row1Controls,
3297
3300
  Ss as Row2FilterTray,
3298
- xs as SearchInput,
3299
- fn as SectionDivider,
3300
- vn as SectionDots,
3301
- Ts as SegmentCard,
3301
+ Ts as SearchInput,
3302
+ hn as SectionDivider,
3303
+ yn as SectionDots,
3304
+ Rs as SegmentCard,
3302
3305
  Is as SegmentedControl,
3303
- Rs as Select,
3304
- Ms as Selectable,
3305
- Fs as SimpleMetricCard,
3306
- Ps as SimpleSelector,
3307
- Es as Skeleton,
3308
- Os as SkeletonCard,
3309
- As as SkeletonChart,
3310
- Ls as SkeletonTable,
3311
- $s as Slider,
3312
- Bs as Sortable,
3313
- oa as SortableZones,
3314
- Ks as SparklineBg,
3315
- gn as SpilloverArc,
3316
- zs as SplitButton,
3317
- Ws as StackedGroupCard,
3318
- Gs as StatusModeCard,
3319
- mt as StatusSlotChipMenu,
3320
- Hs as Stepper,
3321
- Uo as TODAY_PRESET,
3322
- j as TUNING_DEFAULTS,
3323
- Ee as TUNING_STORAGE_KEY,
3324
- Vs as TabGroup,
3325
- Us as TabbedDataView,
3326
- Zs as TagInput,
3327
- js as Textarea,
3328
- Yt as ThresholdRamp,
3329
- Ys as TimeFrame,
3330
- qs as TimePicker,
3331
- Qs as Toggle,
3332
- Xs as Tooltip,
3333
- Js as Transition,
3334
- eo as TransitionGroup,
3335
- to as TrendCard,
3336
- ao as TrendIndicator,
3337
- Bo as UIContext,
3338
- ye as UIContextProvider,
3339
- no as UnifiedBreakdownTable,
3340
- ro as UnifiedContextMenu,
3341
- ft as VelocityBuffer,
3342
- so as addressGroupMetadata,
3343
- oo as addressSchema,
3344
- Na as allChips,
3345
- Aa as allStateFixtures,
3346
- Oa as allVariantFixtures,
3347
- xa as blockSamples,
3348
- io as buildDefaultOverflow,
3349
- Fa as cardSamples,
3350
- Ra as chartSamples,
3306
+ Ms as Select,
3307
+ Fs as Selectable,
3308
+ Ps as SimpleMetricCard,
3309
+ Es as SimpleSelector,
3310
+ Os as Skeleton,
3311
+ As as SkeletonCard,
3312
+ Ls as SkeletonChart,
3313
+ $s as SkeletonTable,
3314
+ Bs as Slider,
3315
+ Ks as Sortable,
3316
+ ia as SortableZones,
3317
+ zs as SparklineBg,
3318
+ fn as SpilloverArc,
3319
+ Ws as SplitButton,
3320
+ Gs as StackedGroupCard,
3321
+ Hs as StatusModeCard,
3322
+ pt as StatusSlotChipMenu,
3323
+ Vs as Stepper,
3324
+ Zo as TODAY_PRESET,
3325
+ J as TUNING_DEFAULTS,
3326
+ Ae as TUNING_STORAGE_KEY,
3327
+ Us as TabGroup,
3328
+ Zs as TabbedDataView,
3329
+ js as TagInput,
3330
+ Ys as Textarea,
3331
+ qt as ThresholdRamp,
3332
+ qs as TimeFrame,
3333
+ Qs as TimePicker,
3334
+ Xs as Toggle,
3335
+ Js as Tooltip,
3336
+ eo as Transition,
3337
+ to as TransitionGroup,
3338
+ ao as TrendCard,
3339
+ no as TrendIndicator,
3340
+ Ko as UIContext,
3341
+ we as UIContextProvider,
3342
+ ro as UnifiedBreakdownTable,
3343
+ so as UnifiedContextMenu,
3344
+ ht as VelocityBuffer,
3345
+ oo as addressGroupMetadata,
3346
+ io as addressSchema,
3347
+ _a as allChips,
3348
+ La as allStateFixtures,
3349
+ Aa as allVariantFixtures,
3350
+ Ta as blockSamples,
3351
+ lo as buildDefaultOverflow,
3352
+ Pa as cardSamples,
3353
+ Ma as chartSamples,
3351
3354
  Ia as circleSamples,
3352
- rn as compactLayout,
3353
- Za as compactState,
3354
- Ea as computeGutterAnchorX,
3355
- lo as contactFormMetadata,
3356
- co as contactSchema,
3357
- ja as contextMenuFixtures,
3358
- uo as creditCardFormMetadata,
3359
- mo as creditCardSchema,
3360
- lt as dateChip,
3361
- Pe as defaultControlBarState,
3362
- po as destructiveModalMetadata,
3363
- go as durations,
3364
- fo as easings,
3365
- vt as emptyFixture,
3366
- ot as entityChip,
3355
+ sn as compactLayout,
3356
+ ja as compactState,
3357
+ Oa as computeGutterAnchorX,
3358
+ co as contactFormMetadata,
3359
+ uo as contactSchema,
3360
+ Ya as contextMenuFixtures,
3361
+ mo as creditCardFormMetadata,
3362
+ po as creditCardSchema,
3363
+ ct as dateChip,
3364
+ Oe as defaultControlBarState,
3365
+ go as destructiveModalMetadata,
3366
+ fo as durations,
3367
+ ho as easings,
3368
+ yt as emptyFixture,
3369
+ it as entityChip,
3367
3370
  St as entityNameActions,
3368
- ka as entityTabGroup,
3369
- bt as errorFixture,
3370
- Ua as filteredState,
3371
- Zo as findPreset,
3372
- jo as formatDateRange,
3373
- Yo as formatMarketDates,
3374
- qo as formatTrend,
3375
- Qo as formatValue,
3376
- on as fullLayout,
3377
- Xo as generateMarketId,
3378
- ho as generateTabId,
3379
- Jo as getAllPresets,
3380
- ei as getDateRangeForPreset,
3381
- bo as getMenuActions,
3382
- ti as getPresetLabel,
3383
- vo as getTransitionStyle,
3384
- nn as gridCards,
3385
- yo as interpolate,
3386
- ai as isInRange,
3387
- ni as isMarketActive,
3388
- ri as isSameDay,
3389
- Va as itemColumns,
3390
- Ga as itemRows,
3391
- ht as loadingFixture,
3392
- wo as loginFormMetadata,
3393
- Do as loginSchema,
3371
+ xa as entityTabGroup,
3372
+ vt as errorFixture,
3373
+ Za as filteredState,
3374
+ jo as findPreset,
3375
+ Yo as formatDateRange,
3376
+ qo as formatMarketDates,
3377
+ Qo as formatTrend,
3378
+ Xo as formatValue,
3379
+ ln as fullLayout,
3380
+ Jo as generateMarketId,
3381
+ bo as generateTabId,
3382
+ ei as getAllPresets,
3383
+ ti as getDateRangeForPreset,
3384
+ vo as getMenuActions,
3385
+ ai as getPresetLabel,
3386
+ yo as getTransitionStyle,
3387
+ rn as gridCards,
3388
+ wo as interpolate,
3389
+ ni as isInRange,
3390
+ ri as isMarketActive,
3391
+ si as isSameDay,
3392
+ Ua as itemColumns,
3393
+ Ha as itemRows,
3394
+ bt as loadingFixture,
3395
+ Do as loginFormMetadata,
3396
+ No as loginSchema,
3394
3397
  dt as manufacturerChip,
3395
- un as manyTabs,
3398
+ mn as manyTabs,
3396
3399
  Co as mergeHandlers,
3397
- No as mergeRefs,
3398
- _a as metricTabGroup,
3400
+ _o as mergeRefs,
3401
+ ka as metricTabGroup,
3399
3402
  dn as mixedTabs,
3400
- si as normalizePresetId,
3401
- Tt as numericActions,
3402
- Ha as orderColumns,
3403
- xt as orderIdActions,
3404
- Wa as orderRows,
3405
- ln as ordersTabs,
3406
- _o as parseNumericValue,
3407
- ko as paymentFormMetadata,
3403
+ oi as normalizePresetId,
3404
+ Rt as numericActions,
3405
+ Va as orderColumns,
3406
+ Tt as orderIdActions,
3407
+ Ga as orderRows,
3408
+ cn as ordersTabs,
3409
+ ko as parseNumericValue,
3410
+ xo as paymentFormMetadata,
3408
3411
  So as paymentSchema,
3409
- xo as presets,
3410
- To as registrationFormMetadata,
3412
+ To as presets,
3413
+ Ro as registrationFormMetadata,
3411
3414
  Io as registrationSchema,
3412
- qa as sampleCompareRanges,
3413
- Ja as sampleCustomMarkets,
3414
- Ya as sampleDateRange,
3415
- en as sampleMarketPresetData,
3416
- Xa as sampleMarkets,
3417
- an as samplePeriodPresets,
3418
- Qa as samplePreferences,
3419
- tn as samplePresets,
3420
- cn as singleTab,
3421
- La as sparklineFixture,
3422
- $a as sparklineUpFixture,
3423
- Dt as staleDonutFixture,
3424
- yt as staleFixture,
3425
- wt as staleSparklineFixture,
3426
- Ba as standardFixture,
3427
- za as standardFlatFixture,
3428
- sn as standardLayout,
3429
- Ka as standardNegativeFixture,
3430
- it as statusChip,
3431
- Ma as tableSamples,
3432
- Ta as textSamples,
3415
+ Qa as sampleCompareRanges,
3416
+ en as sampleCustomMarkets,
3417
+ qa as sampleDateRange,
3418
+ tn as sampleMarketPresetData,
3419
+ Ja as sampleMarkets,
3420
+ nn as samplePeriodPresets,
3421
+ Xa as samplePreferences,
3422
+ an as samplePresets,
3423
+ un as singleTab,
3424
+ $a as sparklineFixture,
3425
+ Ba as sparklineUpFixture,
3426
+ Nt as staleDonutFixture,
3427
+ wt as staleFixture,
3428
+ Dt as staleSparklineFixture,
3429
+ Ka as standardFixture,
3430
+ Wa as standardFlatFixture,
3431
+ on as standardLayout,
3432
+ za as standardNegativeFixture,
3433
+ lt as statusChip,
3434
+ Fa as tableSamples,
3435
+ Ra as textSamples,
3433
3436
  Sa as timeFrameTabGroup,
3434
- oi as toUppercasePresetId,
3437
+ ii as toUppercasePresetId,
3435
3438
  Ca as useArrowNavigation,
3436
- Ro as useCheckboxGroupContext,
3437
- Pa as useEdgeHoverResize,
3438
- Mo as useFilterLayout,
3439
- Fo as useFlipAndStage,
3440
- Po as useFlipAndStageContext,
3441
- Eo as useFlipAndStageContextOptional,
3442
- Da as useFocusReturn,
3443
- Oo as useFocusTrap,
3444
- Ao as useFormContext,
3445
- Lo as useRadioGroupContext,
3446
- Lt as useResizeTuning,
3447
- ta as useSortableZones,
3448
- Ko as useUIContext
3439
+ Mo as useCheckboxGroupContext,
3440
+ Ea as useEdgeHoverResize,
3441
+ Fo as useFilterLayout,
3442
+ Po as useFlipAndStage,
3443
+ Eo as useFlipAndStageContext,
3444
+ Oo as useFlipAndStageContextOptional,
3445
+ Na as useFocusReturn,
3446
+ Ao as useFocusTrap,
3447
+ Lo as useFormContext,
3448
+ $o as useRadioGroupContext,
3449
+ $t as useResizeTuning,
3450
+ aa as useSortableZones,
3451
+ zo as useUIContext
3449
3452
  };