@mt-gloss/ui 0.1.123 → 0.1.124

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.
@@ -1,25 +1,25 @@
1
- import { u as O, h as he, j as Y, g as we, S as Pe, b as Te, k as Ae } from "./COMMITS-C1VHNgld.js";
2
- import { C as zt, N as Ht, o as Ut, d as Bt, p as Yt, l as Vt, c as Kt, n as qt, P as Qt, m as Wt, f as Gt, i as jt, r as Zt, e as Xt } from "./COMMITS-C1VHNgld.js";
3
- import { jsx as n, jsxs as f, Fragment as V } from "react/jsx-runtime";
4
- import H, { useState as A, useRef as K, createContext as fe, useContext as ge, useMemo as le, useEffect as F, useCallback as D, useLayoutEffect as xe } from "react";
5
- import { useSensors as ke, useSensor as ie, PointerSensor as De, KeyboardSensor as Le, DndContext as Oe, closestCenter as Me } from "@dnd-kit/core";
1
+ import { u as M, g as he, h as Y, f as we, S as Te, b as Pe, j as Ae } from "./COMMITS-DlJB1KcF.js";
2
+ import { C as zt, N as Ht, n as Ut, o as Bt, k as Yt, c as Vt, m as Kt, P as qt, l as Qt, e as Wt, i as Gt, r as jt, d as Zt } from "./COMMITS-DlJB1KcF.js";
3
+ import { jsx as a, jsxs as f, Fragment as V } from "react/jsx-runtime";
4
+ import H, { useState as A, useRef as K, createContext as fe, useContext as ge, useMemo as le, useEffect as F, useCallback as L, useLayoutEffect as xe } from "react";
5
+ import { useSensors as ke, useSensor as ie, PointerSensor as De, KeyboardSensor as Le, DndContext as Me, closestCenter as Oe } from "@dnd-kit/core";
6
6
  import { sortableKeyboardCoordinates as Ie, SortableContext as Re, horizontalListSortingStrategy as $e, arrayMove as Fe, useSortable as ze } from "@dnd-kit/sortable";
7
7
  import { CSS as He } from "@dnd-kit/utilities";
8
8
  import { M as ce } from "./MetricCard-Cyoxhb_S.js";
9
9
  function wt() {
10
- const e = O();
10
+ const e = M();
11
11
  if (e?.state.activePanelId !== "settings") return null;
12
12
  const t = e.state.activeTrigger;
13
13
  return t?.kind === "card-overflow" ? t.cardId : null;
14
14
  }
15
15
  function Ue({ span: e, rotating: t = !0, children: r }) {
16
- const l = ["clone-card", `span-${e}`, t ? "rotating" : ""].filter(Boolean).join(" "), a = r != null ? "full" : "fallback";
17
- return /* @__PURE__ */ n("div", { className: l, "data-clone-fidelity": a, children: r });
16
+ const l = ["clone-card", `span-${e}`, t ? "rotating" : ""].filter(Boolean).join(" "), n = r != null ? "full" : "fallback";
17
+ return /* @__PURE__ */ a("div", { className: l, "data-clone-fidelity": n, children: r });
18
18
  }
19
- function Pt({ primary: e, secondary: t }) {
19
+ function Tt({ primary: e, secondary: t }) {
20
20
  return /* @__PURE__ */ f("div", { className: "gloss-panel-chrome-v2__footer-msg", children: [
21
- /* @__PURE__ */ n("span", { className: "gloss-panel-chrome-v2__footer-msg-primary", children: e }),
22
- t != null && /* @__PURE__ */ n("span", { className: "gloss-panel-chrome-v2__footer-msg-secondary", children: t })
21
+ /* @__PURE__ */ a("span", { className: "gloss-panel-chrome-v2__footer-msg-primary", children: e }),
22
+ t != null && /* @__PURE__ */ a("span", { className: "gloss-panel-chrome-v2__footer-msg-secondary", children: t })
23
23
  ] });
24
24
  }
25
25
  function Be({
@@ -28,14 +28,14 @@ function Be({
28
28
  enabled: r = !1,
29
29
  onToggleEnabled: l
30
30
  }) {
31
- const a = "settings-threshold-enabled";
31
+ const n = "settings-threshold-enabled";
32
32
  return /* @__PURE__ */ f("div", { className: "settings-shell__field settings-shell__field--threshold", children: [
33
33
  /* @__PURE__ */ f("div", { className: "settings-shell__toggle-row", children: [
34
- /* @__PURE__ */ n("label", { htmlFor: a, className: "settings-shell__toggle-label", children: "Show threshold indicator" }),
35
- /* @__PURE__ */ n(
34
+ /* @__PURE__ */ a("label", { htmlFor: n, className: "settings-shell__toggle-label", children: "Show threshold indicator" }),
35
+ /* @__PURE__ */ a(
36
36
  "input",
37
37
  {
38
- id: a,
38
+ id: n,
39
39
  type: "checkbox",
40
40
  role: "switch",
41
41
  "aria-label": "Enable threshold indicator",
@@ -47,9 +47,9 @@ function Be({
47
47
  )
48
48
  ] }),
49
49
  r ? /* @__PURE__ */ f(V, { children: [
50
- /* @__PURE__ */ n("span", { className: "settings-shell__label", "aria-hidden": "true", children: "Alert level (%)" }),
50
+ /* @__PURE__ */ a("span", { className: "settings-shell__label", "aria-hidden": "true", children: "Alert level (%)" }),
51
51
  /* @__PURE__ */ f("div", { className: "settings-shell__slider-row", children: [
52
- /* @__PURE__ */ n(
52
+ /* @__PURE__ */ a(
53
53
  "input",
54
54
  {
55
55
  id: "settings-threshold-input",
@@ -70,14 +70,14 @@ function Be({
70
70
  "%"
71
71
  ] })
72
72
  ] })
73
- ] }) : /* @__PURE__ */ n("p", { className: "settings-shell__help", "aria-live": "polite", children: "Off — the card uses its default styling. Turn on to tint values below the threshold." })
73
+ ] }) : /* @__PURE__ */ a("p", { className: "settings-shell__help", "aria-live": "polite", children: "Off — the card uses its default styling. Turn on to tint values below the threshold." })
74
74
  ] });
75
75
  }
76
76
  function Ye({ value: e, onChange: t }) {
77
77
  return /* @__PURE__ */ f("div", { className: "settings-shell__field settings-shell__field--timeframe", children: [
78
- /* @__PURE__ */ n("span", { className: "settings-shell__label", "aria-hidden": "true", children: "Rolling period (days)" }),
78
+ /* @__PURE__ */ a("span", { className: "settings-shell__label", "aria-hidden": "true", children: "Rolling period (days)" }),
79
79
  /* @__PURE__ */ f("div", { className: "settings-shell__slider-row", children: [
80
- /* @__PURE__ */ n(
80
+ /* @__PURE__ */ a(
81
81
  "input",
82
82
  {
83
83
  id: "settings-timeframe-input",
@@ -101,7 +101,7 @@ function Ye({ value: e, onChange: t }) {
101
101
  ] });
102
102
  }
103
103
  function Ve({ id: e, onRemove: t }) {
104
- const { attributes: r, listeners: l, setNodeRef: a, transform: i, transition: u, isDragging: o } = ze({ id: e }), s = {
104
+ const { attributes: r, listeners: l, setNodeRef: n, transform: i, transition: u, isDragging: o } = ze({ id: e }), s = {
105
105
  transform: He.Transform.toString(i),
106
106
  transition: u,
107
107
  opacity: o ? 0.6 : 1
@@ -109,11 +109,11 @@ function Ve({ id: e, onRemove: t }) {
109
109
  return /* @__PURE__ */ f(
110
110
  "li",
111
111
  {
112
- ref: a,
112
+ ref: n,
113
113
  style: s,
114
114
  className: `settings-shell__slot-pill${o ? " settings-shell__slot-pill--dragging" : ""}`,
115
115
  children: [
116
- /* @__PURE__ */ n(
116
+ /* @__PURE__ */ a(
117
117
  "button",
118
118
  {
119
119
  type: "button",
@@ -121,11 +121,11 @@ function Ve({ id: e, onRemove: t }) {
121
121
  "aria-label": `Reorder ${e}`,
122
122
  ...r,
123
123
  ...l,
124
- children: /* @__PURE__ */ n("span", { "aria-hidden": "true", className: "settings-shell__slot-pill__grip", children: "⋮⋮" })
124
+ children: /* @__PURE__ */ a("span", { "aria-hidden": "true", className: "settings-shell__slot-pill__grip", children: "⋮⋮" })
125
125
  }
126
126
  ),
127
- /* @__PURE__ */ n("span", { className: "settings-shell__slot-pill__label", children: e }),
128
- /* @__PURE__ */ n(
127
+ /* @__PURE__ */ a("span", { className: "settings-shell__slot-pill__label", children: e }),
128
+ /* @__PURE__ */ a(
129
129
  "button",
130
130
  {
131
131
  type: "button",
@@ -143,7 +143,7 @@ function Ke({ value: e, onChange: t }) {
143
143
  const r = ke(
144
144
  ie(De, { activationConstraint: { distance: 4 } }),
145
145
  ie(Le, { coordinateGetter: Ie })
146
- ), l = H.useRef(!1), [a, i] = H.useState(!1), u = (s) => {
146
+ ), l = H.useRef(!1), [n, i] = H.useState(!1), u = (s) => {
147
147
  const { active: c, over: d } = s;
148
148
  if (!d || c.id === d.id) return;
149
149
  const m = e.findIndex((b) => b === c.id), h = e.findIndex((b) => b === d.id);
@@ -152,9 +152,9 @@ function Ke({ value: e, onChange: t }) {
152
152
  l.current || (l.current = !0, i(!0)), t(e.filter((c) => c !== s));
153
153
  };
154
154
  return /* @__PURE__ */ f("div", { className: "settings-shell__field settings-shell__field--slots", "aria-label": "Stack slots", children: [
155
- /* @__PURE__ */ n(Oe, { sensors: r, collisionDetection: Me, onDragEnd: u, children: /* @__PURE__ */ n(Re, { items: [...e], strategy: $e, children: /* @__PURE__ */ n("ul", { className: "settings-shell__slots-list", role: "list", children: e.map((s) => /* @__PURE__ */ n(Ve, { id: s, onRemove: () => o(s) }, s)) }) }) }),
156
- e.length === 0 && a && /* @__PURE__ */ n("p", { className: "settings-shell__help", children: "All slots removed. Apply to commit, or Reset to restore." }),
157
- /* @__PURE__ */ n("p", { className: "settings-shell__help settings-shell__help--small", children: "Drag to reorder · click × to remove" })
155
+ /* @__PURE__ */ a(Me, { sensors: r, collisionDetection: Oe, onDragEnd: u, children: /* @__PURE__ */ a(Re, { items: [...e], strategy: $e, children: /* @__PURE__ */ a("ul", { className: "settings-shell__slots-list", role: "list", children: e.map((s) => /* @__PURE__ */ a(Ve, { id: s, onRemove: () => o(s) }, s)) }) }) }),
156
+ e.length === 0 && n && /* @__PURE__ */ a("p", { className: "settings-shell__help", children: "All slots removed. Apply to commit, or Reset to restore." }),
157
+ /* @__PURE__ */ a("p", { className: "settings-shell__help settings-shell__help--small", children: "Drag to reorder · click × to remove" })
158
158
  ] });
159
159
  }
160
160
  const qe = ["#1d6fd8", "#10b981", "#f59e0b", "#ef4444", "#8b5cf6"];
@@ -164,14 +164,14 @@ function Qe({
164
164
  enabled: r = !1,
165
165
  onToggleEnabled: l
166
166
  }) {
167
- const a = "settings-accent-enabled";
167
+ const n = "settings-accent-enabled";
168
168
  return /* @__PURE__ */ f("div", { className: "settings-shell__field settings-shell__field--color", role: "group", "aria-label": "Accent color", children: [
169
169
  /* @__PURE__ */ f("div", { className: "settings-shell__toggle-row", children: [
170
- /* @__PURE__ */ n("label", { htmlFor: a, className: "settings-shell__toggle-label", children: "Override default accent" }),
171
- /* @__PURE__ */ n(
170
+ /* @__PURE__ */ a("label", { htmlFor: n, className: "settings-shell__toggle-label", children: "Override default accent" }),
171
+ /* @__PURE__ */ a(
172
172
  "input",
173
173
  {
174
- id: a,
174
+ id: n,
175
175
  type: "checkbox",
176
176
  role: "switch",
177
177
  "aria-label": "Enable accent override",
@@ -183,10 +183,10 @@ function Qe({
183
183
  )
184
184
  ] }),
185
185
  r ? /* @__PURE__ */ f(V, { children: [
186
- /* @__PURE__ */ n("span", { className: "settings-shell__label", children: "Accent color" }),
187
- /* @__PURE__ */ n("div", { className: "settings-shell__swatch-row", children: qe.map((i) => {
186
+ /* @__PURE__ */ a("span", { className: "settings-shell__label", children: "Accent color" }),
187
+ /* @__PURE__ */ a("div", { className: "settings-shell__swatch-row", children: qe.map((i) => {
188
188
  const u = e === i;
189
- return /* @__PURE__ */ n(
189
+ return /* @__PURE__ */ a(
190
190
  "button",
191
191
  {
192
192
  type: "button",
@@ -199,57 +199,57 @@ function Qe({
199
199
  i
200
200
  );
201
201
  }) })
202
- ] }) : /* @__PURE__ */ n("p", { className: "settings-shell__help", "aria-live": "polite", children: "Off — the card uses its default accent. Turn on to override." })
202
+ ] }) : /* @__PURE__ */ a("p", { className: "settings-shell__help", "aria-live": "polite", children: "Off — the card uses its default accent. Turn on to override." })
203
203
  ] });
204
204
  }
205
205
  const We = ["Orders", "Quota", "Unassigned"], Ge = ["threshold", "timeframe", "color"];
206
- function Tt({
206
+ function Pt({
207
207
  isOpen: e,
208
208
  cardSpan: t,
209
209
  cardLabel: r = "Metric",
210
210
  cardValue: l = "—",
211
- previewSlot: a,
211
+ previewSlot: n,
212
212
  dimensions: i = Ge,
213
213
  initialTab: u,
214
214
  initialValues: o
215
215
  }) {
216
- const s = O(), c = s?.state.activeTrigger, d = c?.kind === "card-overflow" ? c.cardId : null, m = he(), h = c?.span, b = t ?? h ?? 1, p = i[0] ?? "threshold", [_, P] = H.useState(u ?? p);
216
+ const s = M(), c = s?.state.activeTrigger, d = c?.kind === "card-overflow" ? c.cardId : null, m = he(), h = c?.span, b = t ?? h ?? 1, p = i[0] ?? "threshold", [_, T] = H.useState(u ?? p);
217
217
  H.useEffect(() => {
218
- i.includes(_) || P(p);
218
+ i.includes(_) || T(p);
219
219
  }, [i, _, p]);
220
- const y = d != null ? s?.state?.bufferByCard?.[d]?.changes ?? {} : {}, N = typeof y.threshold == "number" ? y.threshold : typeof o?.threshold == "number" ? o.threshold : 80, I = typeof y.timeframe == "number" ? y.timeframe : typeof o?.timeframe == "number" ? o.timeframe : 30, R = typeof y.accent == "string" ? y.accent : typeof o?.accent == "string" ? o.accent : null, $ = Array.isArray(y.slots) ? y.slots : Array.isArray(o?.slots) ? o.slots : We, S = typeof y.thresholdEnabled == "boolean" ? y.thresholdEnabled : typeof o?.thresholdEnabled == "boolean" ? o.thresholdEnabled : !1, L = typeof y.accentEnabled == "boolean" ? y.accentEnabled : typeof o?.accentEnabled == "boolean" ? o.accentEnabled : !1, q = (T) => {
221
- d == null || s == null || s.dispatch({ type: "SET_BUFFER_VALUE", cardId: d, key: "threshold", value: Number(T.target.value) });
222
- }, Q = (T) => {
223
- d == null || s == null || s.dispatch({ type: "SET_BUFFER_VALUE", cardId: d, key: "timeframe", value: Number(T.target.value) });
224
- }, oe = (T) => {
225
- d == null || s == null || s.dispatch({ type: "SET_BUFFER_VALUE", cardId: d, key: "accent", value: T });
226
- }, W = (T) => {
227
- d == null || s == null || s.dispatch({ type: "SET_BUFFER_VALUE", cardId: d, key: "slots", value: T });
228
- }, G = (T) => {
229
- d == null || s == null || s.dispatch({ type: "SET_BUFFER_VALUE", cardId: d, key: "thresholdEnabled", value: T });
230
- }, g = (T) => {
231
- d == null || s == null || s.dispatch({ type: "SET_BUFFER_VALUE", cardId: d, key: "accentEnabled", value: T });
220
+ const y = d != null ? s?.state?.bufferByCard?.[d]?.changes ?? {} : {}, N = typeof y.threshold == "number" ? y.threshold : typeof o?.threshold == "number" ? o.threshold : 80, I = typeof y.timeframe == "number" ? y.timeframe : typeof o?.timeframe == "number" ? o.timeframe : 30, R = typeof y.accent == "string" ? y.accent : typeof o?.accent == "string" ? o.accent : null, $ = Array.isArray(y.slots) ? y.slots : Array.isArray(o?.slots) ? o.slots : We, S = typeof y.thresholdEnabled == "boolean" ? y.thresholdEnabled : typeof o?.thresholdEnabled == "boolean" ? o.thresholdEnabled : !1, D = typeof y.accentEnabled == "boolean" ? y.accentEnabled : typeof o?.accentEnabled == "boolean" ? o.accentEnabled : !1, q = (P) => {
221
+ d == null || s == null || s.dispatch({ type: "SET_BUFFER_VALUE", cardId: d, key: "threshold", value: Number(P.target.value) });
222
+ }, Q = (P) => {
223
+ d == null || s == null || s.dispatch({ type: "SET_BUFFER_VALUE", cardId: d, key: "timeframe", value: Number(P.target.value) });
224
+ }, oe = (P) => {
225
+ d == null || s == null || s.dispatch({ type: "SET_BUFFER_VALUE", cardId: d, key: "accent", value: P });
226
+ }, W = (P) => {
227
+ d == null || s == null || s.dispatch({ type: "SET_BUFFER_VALUE", cardId: d, key: "slots", value: P });
228
+ }, G = (P) => {
229
+ d == null || s == null || s.dispatch({ type: "SET_BUFFER_VALUE", cardId: d, key: "thresholdEnabled", value: P });
230
+ }, g = (P) => {
231
+ d == null || s == null || s.dispatch({ type: "SET_BUFFER_VALUE", cardId: d, key: "accentEnabled", value: P });
232
232
  }, C = s?.state.isDirty ?? !1, w = d;
233
- return /* @__PURE__ */ n(
233
+ return /* @__PURE__ */ a(
234
234
  Y,
235
235
  {
236
236
  variant: "with-stage",
237
237
  onClose: () => s?.dispatch({ type: "CLOSE_PANEL", reason: "header-x" }),
238
- stage: /* @__PURE__ */ n(Ue, { span: b, rotating: !m, children: a ?? /* @__PURE__ */ f(V, { children: [
239
- /* @__PURE__ */ n("div", { style: { fontSize: 9, textTransform: "uppercase", letterSpacing: "0.06em", color: "#9ca3af", marginBottom: 6 }, children: r }),
240
- /* @__PURE__ */ n("div", { style: { fontSize: 22, fontWeight: 700, color: "#111827", lineHeight: 1 }, children: l })
238
+ stage: /* @__PURE__ */ a(Ue, { span: b, rotating: !m, children: n ?? /* @__PURE__ */ f(V, { children: [
239
+ /* @__PURE__ */ a("div", { style: { fontSize: 9, textTransform: "uppercase", letterSpacing: "0.06em", color: "#9ca3af", marginBottom: 6 }, children: r }),
240
+ /* @__PURE__ */ a("div", { style: { fontSize: 22, fontWeight: 700, color: "#111827", lineHeight: 1 }, children: l })
241
241
  ] }) }),
242
- navigation: /* @__PURE__ */ n(
242
+ navigation: /* @__PURE__ */ a(
243
243
  we,
244
244
  {
245
245
  dimensions: i,
246
246
  activeTab: _,
247
- onSelect: P,
247
+ onSelect: T,
248
248
  reduced: m
249
249
  }
250
250
  ),
251
251
  footer: {
252
- left: /* @__PURE__ */ n(
252
+ left: /* @__PURE__ */ a(
253
253
  "button",
254
254
  {
255
255
  id: "btn-reset",
@@ -262,7 +262,7 @@ function Tt({
262
262
  children: "Reset"
263
263
  }
264
264
  ),
265
- right: /* @__PURE__ */ n(
265
+ right: /* @__PURE__ */ a(
266
266
  "button",
267
267
  {
268
268
  id: "settings-apply",
@@ -274,7 +274,7 @@ function Tt({
274
274
  }
275
275
  )
276
276
  },
277
- children: /* @__PURE__ */ n("div", { className: "settings-shell", "data-shell": "settings", "aria-hidden": !e, children: /* @__PURE__ */ f(
277
+ children: /* @__PURE__ */ a("div", { className: "settings-shell", "data-shell": "settings", "aria-hidden": !e, children: /* @__PURE__ */ f(
278
278
  "div",
279
279
  {
280
280
  role: "tabpanel",
@@ -283,7 +283,7 @@ function Tt({
283
283
  tabIndex: 0,
284
284
  className: "settings-shell__tabpanel",
285
285
  children: [
286
- _ === "threshold" && /* @__PURE__ */ n(
286
+ _ === "threshold" && /* @__PURE__ */ a(
287
287
  Be,
288
288
  {
289
289
  value: N,
@@ -292,14 +292,14 @@ function Tt({
292
292
  onToggleEnabled: G
293
293
  }
294
294
  ),
295
- _ === "timeframe" && /* @__PURE__ */ n(Ye, { value: I, onChange: Q }),
296
- _ === "slots" && /* @__PURE__ */ n(Ke, { value: $, onChange: W }),
297
- _ === "color" && /* @__PURE__ */ n(
295
+ _ === "timeframe" && /* @__PURE__ */ a(Ye, { value: I, onChange: Q }),
296
+ _ === "slots" && /* @__PURE__ */ a(Ke, { value: $, onChange: W }),
297
+ _ === "color" && /* @__PURE__ */ a(
298
298
  Qe,
299
299
  {
300
300
  value: R,
301
301
  onSelect: oe,
302
- enabled: L,
302
+ enabled: D,
303
303
  onToggleEnabled: g
304
304
  }
305
305
  )
@@ -631,10 +631,10 @@ function Ce({
631
631
  activeLens: t,
632
632
  onLensChange: r,
633
633
  variant: l = "pills",
634
- lensMeta: a = ve
634
+ lensMeta: n = ve
635
635
  }) {
636
- return l === "pills" ? /* @__PURE__ */ n("div", { className: "cat-pills-wrap", children: /* @__PURE__ */ n("div", { className: "cat-pills", role: "tablist", "aria-label": "Metric lenses", children: e.map((i) => {
637
- const u = i === t, o = a[i], s = ["cat-pill"];
636
+ return l === "pills" ? /* @__PURE__ */ a("div", { className: "cat-pills-wrap", children: /* @__PURE__ */ a("div", { className: "cat-pills", role: "tablist", "aria-label": "Metric lenses", children: e.map((i) => {
637
+ const u = i === t, o = n[i], s = ["cat-pill"];
638
638
  return u && s.push("active"), /* @__PURE__ */ f(
639
639
  "button",
640
640
  {
@@ -648,25 +648,25 @@ function Ce({
648
648
  },
649
649
  children: [
650
650
  i,
651
- o?.beta && /* @__PURE__ */ n("span", { className: "cat-pill-beta", "aria-label": "Beta", children: "BETA" })
651
+ o?.beta && /* @__PURE__ */ a("span", { className: "cat-pill-beta", "aria-label": "Beta", children: "BETA" })
652
652
  ]
653
653
  },
654
654
  i
655
655
  );
656
- }) }) }) : /* @__PURE__ */ n(je, { lenses: e, activeLens: t, onLensChange: r });
656
+ }) }) }) : /* @__PURE__ */ a(je, { lenses: e, activeLens: t, onLensChange: r });
657
657
  }
658
658
  function je({
659
659
  lenses: e,
660
660
  activeLens: t,
661
661
  onLensChange: r
662
662
  }) {
663
- const [l, a] = A(!1), i = K(null), u = () => {
663
+ const [l, n] = A(!1), i = K(null), u = () => {
664
664
  i.current != null && (window.clearTimeout(i.current), i.current = null);
665
665
  }, o = () => {
666
- u(), i.current = window.setTimeout(() => a(!1), 100);
666
+ u(), i.current = window.setTimeout(() => n(!1), 100);
667
667
  }, s = e.filter((c) => c !== t);
668
- return /* @__PURE__ */ n("div", { className: "cat-segmented-wrap", children: /* @__PURE__ */ f("div", { className: "cat-segmented", children: [
669
- /* @__PURE__ */ n(
668
+ return /* @__PURE__ */ a("div", { className: "cat-segmented-wrap", children: /* @__PURE__ */ f("div", { className: "cat-segmented", children: [
669
+ /* @__PURE__ */ a(
670
670
  "button",
671
671
  {
672
672
  type: "button",
@@ -681,26 +681,26 @@ function je({
681
681
  {
682
682
  className: "cat-seg-more",
683
683
  onMouseEnter: () => {
684
- u(), a(!0);
684
+ u(), n(!0);
685
685
  },
686
686
  onMouseLeave: o,
687
687
  children: [
688
- /* @__PURE__ */ n("button", { type: "button", className: "cat-seg cat-seg-more-btn", "aria-haspopup": "menu", "aria-expanded": l, children: "More ▾" }),
689
- l && /* @__PURE__ */ n(
688
+ /* @__PURE__ */ a("button", { type: "button", className: "cat-seg cat-seg-more-btn", "aria-haspopup": "menu", "aria-expanded": l, children: "More ▾" }),
689
+ l && /* @__PURE__ */ a(
690
690
  "div",
691
691
  {
692
692
  className: "cat-seg-overflow",
693
693
  role: "menu",
694
694
  onMouseEnter: u,
695
695
  onMouseLeave: o,
696
- children: s.map((c) => /* @__PURE__ */ n(
696
+ children: s.map((c) => /* @__PURE__ */ a(
697
697
  "button",
698
698
  {
699
699
  type: "button",
700
700
  "data-lens": c,
701
701
  role: "menuitem",
702
702
  onClick: () => {
703
- r(c), a(!1);
703
+ r(c), n(!1);
704
704
  },
705
705
  children: c
706
706
  },
@@ -714,16 +714,16 @@ function je({
714
714
  ] }) });
715
715
  }
716
716
  function te({ tiles: e, selectedTileId: t, onSelectTile: r, renderTile: l }) {
717
- return /* @__PURE__ */ n("div", { className: "cat-tiles", children: e.map((a) => {
718
- const i = a.id === t, u = a.subStats != null && a.subStats.length > 0;
717
+ return /* @__PURE__ */ a("div", { className: "cat-tiles", children: e.map((n) => {
718
+ const i = n.id === t, u = n.subStats != null && n.subStats.length > 0;
719
719
  let o = null;
720
- u ? a.subStats.length === 5 ? o = "span-5" : a.subStats.length === 3 ? o = "span-3" : o = "span-2" : a.stack === !0 && (o = "span-2");
720
+ u ? n.subStats.length === 5 ? o = "span-5" : n.subStats.length === 3 ? o = "span-3" : o = "span-2" : n.stack === !0 && (o = "span-2");
721
721
  const s = ["cat-tile"];
722
- o && s.push(o), i && s.push("selected"), a.isNew && s.push("is-new"), a.startHere && s.push("start-here"), a.donut && s.push("has-donut");
722
+ o && s.push(o), i && s.push("selected"), n.isNew && s.push("is-new"), n.startHere && s.push("start-here"), n.donut && s.push("has-donut");
723
723
  const c = 1;
724
724
  let d = 0.7;
725
- if (a.donut) {
726
- const m = /([\d.]+)\s*%/.exec(a.value);
725
+ if (n.donut) {
726
+ const m = /([\d.]+)\s*%/.exec(n.value);
727
727
  if (m) {
728
728
  const h = parseFloat(m[1]);
729
729
  Number.isFinite(h) && (d = Math.max(0, Math.min(1, h / 100)));
@@ -734,50 +734,50 @@ function te({ tiles: e, selectedTileId: t, onSelectTile: r, renderTile: l }) {
734
734
  {
735
735
  type: "button",
736
736
  className: s.join(" "),
737
- "data-metric": a.id,
738
- "data-desc": a.desc,
737
+ "data-metric": n.id,
738
+ "data-desc": n.desc,
739
739
  "data-col-span": String(c),
740
- "data-donut": a.donut ? "true" : void 0,
741
- "data-accent": a.accent,
740
+ "data-donut": n.donut ? "true" : void 0,
741
+ "data-accent": n.accent,
742
742
  "aria-pressed": i,
743
- onClick: () => r(a.id, a.desc),
744
- style: a.accent ? { "--cat-tile-accent": a.accent } : void 0,
743
+ onClick: () => r(n.id, n.desc),
744
+ style: n.accent ? { "--cat-tile-accent": n.accent } : void 0,
745
745
  children: [
746
- a.startHere && /* @__PURE__ */ n("span", { className: "cat-tile-start-here", "aria-hidden": "true", children: "START HERE" }),
747
- l ? l(a) : /* @__PURE__ */ n(
746
+ n.startHere && /* @__PURE__ */ a("span", { className: "cat-tile-start-here", "aria-hidden": "true", children: "START HERE" }),
747
+ l ? l(n) : /* @__PURE__ */ a(
748
748
  "div",
749
749
  {
750
750
  className: "cat-tile-primitive-wrapper gloss-metric-card",
751
751
  "data-col-span": "1",
752
752
  style: { pointerEvents: "none", width: "100%", height: "100%" },
753
753
  "aria-hidden": "true",
754
- children: a.donut ? /* @__PURE__ */ n(
754
+ children: n.donut ? /* @__PURE__ */ a(
755
755
  ce,
756
756
  {
757
757
  variant: "donut",
758
- label: a.label,
759
- value: a.value,
758
+ label: n.label,
759
+ value: n.value,
760
760
  donutValue: d,
761
761
  donutMax: 1,
762
- accentColor: a.accent,
762
+ accentColor: n.accent,
763
763
  colSpan: c
764
764
  }
765
- ) : /* @__PURE__ */ n(
765
+ ) : /* @__PURE__ */ a(
766
766
  ce,
767
767
  {
768
768
  variant: "standard",
769
- label: a.label,
770
- value: a.value,
769
+ label: n.label,
770
+ value: n.value,
771
771
  colSpan: c
772
772
  }
773
773
  )
774
774
  }
775
775
  ),
776
- a.variants && a.variants.length > 0 && /* @__PURE__ */ n("span", { className: "cat-tile-variants", "aria-hidden": "true", children: a.variants.map((m) => /* @__PURE__ */ n("span", { children: m }, m)) }),
777
- a.isNew && /* @__PURE__ */ n("span", { className: "cat-tile-new-dot", "aria-hidden": "true" })
776
+ n.variants && n.variants.length > 0 && /* @__PURE__ */ a("span", { className: "cat-tile-variants", "aria-hidden": "true", children: n.variants.map((m) => /* @__PURE__ */ a("span", { children: m }, m)) }),
777
+ n.isNew && /* @__PURE__ */ a("span", { className: "cat-tile-new-dot", "aria-hidden": "true" })
778
778
  ]
779
779
  },
780
- a.id
780
+ n.id
781
781
  );
782
782
  }) });
783
783
  }
@@ -788,12 +788,12 @@ function se() {
788
788
  function At({ mode: e, dispatch: t }) {
789
789
  const r = se();
790
790
  if (r == null && e == null) return null;
791
- const l = r?.mode ?? e ?? "add", a = r?.selectedTileId ?? null, i = r?.description ?? null, u = a == null;
791
+ const l = r?.mode ?? e ?? "add", n = r?.selectedTileId ?? null, i = r?.description ?? null, u = n == null;
792
792
  return /* @__PURE__ */ f("div", { className: "panel-footer catalog", children: [
793
- /* @__PURE__ */ n("div", { className: "cat-description", id: "cat-desc", children: i ?? /* @__PURE__ */ n("em", { children: "Tap a metric to see its description" }) }),
793
+ /* @__PURE__ */ a("div", { className: "cat-description", id: "cat-desc", children: i ?? /* @__PURE__ */ a("em", { children: "Tap a metric to see its description" }) }),
794
794
  /* @__PURE__ */ f("div", { style: { display: "flex", padding: "10px 14px", gap: 8 }, children: [
795
- /* @__PURE__ */ n("div", { className: "spacer", style: { flex: 1 } }),
796
- /* @__PURE__ */ n(
795
+ /* @__PURE__ */ a("div", { className: "spacer", style: { flex: 1 } }),
796
+ /* @__PURE__ */ a(
797
797
  "button",
798
798
  {
799
799
  id: "btn-cat-cancel",
@@ -803,7 +803,7 @@ function At({ mode: e, dispatch: t }) {
803
803
  children: "Cancel"
804
804
  }
805
805
  ),
806
- l === "add" && /* @__PURE__ */ n(
806
+ l === "add" && /* @__PURE__ */ a(
807
807
  "button",
808
808
  {
809
809
  id: "btn-cat-add",
@@ -814,7 +814,7 @@ function At({ mode: e, dispatch: t }) {
814
814
  children: "Add metric"
815
815
  }
816
816
  ),
817
- l === "replace" && /* @__PURE__ */ n(
817
+ l === "replace" && /* @__PURE__ */ a(
818
818
  "button",
819
819
  {
820
820
  id: "btn-cat-replace",
@@ -840,39 +840,39 @@ function de(e, t) {
840
840
  }
841
841
  function Ze() {
842
842
  const t = se()?.description ?? null;
843
- return t == null ? /* @__PURE__ */ n("span", { style: { fontStyle: "italic" }, children: "Tap a metric to see its description" }) : /* @__PURE__ */ n("span", { children: t });
843
+ return t == null ? /* @__PURE__ */ a("span", { style: { fontStyle: "italic" }, children: "Tap a metric to see its description" }) : /* @__PURE__ */ a("span", { children: t });
844
844
  }
845
845
  function xt({
846
846
  isOpen: e,
847
847
  lenses: t = be,
848
848
  defaultLens: r = ye,
849
849
  tilesByLens: l = _e,
850
- lensMeta: a = ve,
850
+ lensMeta: n = ve,
851
851
  renderTile: i,
852
852
  onAdd: u
853
853
  }) {
854
- const o = O(), [s, c] = A(r), [d, m] = A(null), [h, b] = A(null), [p, _] = A(""), P = l[s] ?? { primary: [] }, E = a[s], y = le(
855
- () => P.primary.filter((S) => de(S, p)),
856
- [P.primary, p]
854
+ const o = M(), [s, c] = A(r), [d, m] = A(null), [h, b] = A(null), [p, _] = A(""), T = l[s] ?? { primary: [] }, E = n[s], y = le(
855
+ () => T.primary.filter((S) => de(S, p)),
856
+ [T.primary, p]
857
857
  ), N = le(
858
- () => (P.secondary ?? []).filter((S) => de(S, p)),
859
- [P.secondary, p]
858
+ () => (T.secondary ?? []).filter((S) => de(S, p)),
859
+ [T.secondary, p]
860
860
  ), I = () => {
861
861
  d != null && u?.(d), o?.dispatch({ type: "CLOSE_PANEL", reason: "apply-button" });
862
862
  }, R = () => o?.dispatch({ type: "CLOSE_PANEL", reason: "header-x" }), $ = d == null;
863
- return /* @__PURE__ */ n(
863
+ return /* @__PURE__ */ a(
864
864
  ae.Provider,
865
865
  {
866
866
  value: { mode: "add", selectedTileId: d, description: h },
867
- children: /* @__PURE__ */ n(
867
+ children: /* @__PURE__ */ a(
868
868
  Y,
869
869
  {
870
870
  variant: "no-stage",
871
871
  title: "Add a metric",
872
872
  onClose: R,
873
873
  footer: {
874
- left: /* @__PURE__ */ n(Ze, {}),
875
- right: /* @__PURE__ */ n(
874
+ left: /* @__PURE__ */ a(Ze, {}),
875
+ right: /* @__PURE__ */ a(
876
876
  "button",
877
877
  {
878
878
  id: "btn-cat-add",
@@ -885,7 +885,7 @@ function xt({
885
885
  )
886
886
  },
887
887
  children: /* @__PURE__ */ f("div", { "data-shell": "catalog-add", "aria-hidden": !e, children: [
888
- /* @__PURE__ */ n("div", { className: "cat-search", children: /* @__PURE__ */ n(
888
+ /* @__PURE__ */ a("div", { className: "cat-search", children: /* @__PURE__ */ a(
889
889
  "input",
890
890
  {
891
891
  type: "search",
@@ -896,12 +896,12 @@ function xt({
896
896
  onChange: (S) => _(S.target.value)
897
897
  }
898
898
  ) }),
899
- /* @__PURE__ */ n(
899
+ /* @__PURE__ */ a(
900
900
  Ce,
901
901
  {
902
902
  lenses: t,
903
903
  activeLens: s,
904
- lensMeta: a,
904
+ lensMeta: n,
905
905
  variant: "pills",
906
906
  onLensChange: (S) => {
907
907
  c(S), m(null), b(null), _("");
@@ -909,29 +909,29 @@ function xt({
909
909
  }
910
910
  ),
911
911
  E && /* @__PURE__ */ f("div", { className: "cat-lens-meta", children: [
912
- /* @__PURE__ */ n("h3", { className: "cat-lens-headline", children: E.headline }),
913
- /* @__PURE__ */ n("p", { className: "cat-lens-helper", children: E.helper })
912
+ /* @__PURE__ */ a("h3", { className: "cat-lens-headline", children: E.headline }),
913
+ /* @__PURE__ */ a("p", { className: "cat-lens-helper", children: E.helper })
914
914
  ] }),
915
- /* @__PURE__ */ n(
915
+ /* @__PURE__ */ a(
916
916
  te,
917
917
  {
918
918
  tiles: y,
919
919
  selectedTileId: d,
920
- onSelectTile: (S, L) => {
921
- m(S), b(L);
920
+ onSelectTile: (S, D) => {
921
+ m(S), b(D);
922
922
  },
923
923
  renderTile: i
924
924
  }
925
925
  ),
926
926
  N.length > 0 && /* @__PURE__ */ f("div", { className: "cat-more-in-lens", children: [
927
- /* @__PURE__ */ n("div", { className: "cat-more-in-lens__heading", children: "MORE IN THIS LENS" }),
928
- /* @__PURE__ */ n(
927
+ /* @__PURE__ */ a("div", { className: "cat-more-in-lens__heading", children: "MORE IN THIS LENS" }),
928
+ /* @__PURE__ */ a(
929
929
  te,
930
930
  {
931
931
  tiles: N,
932
932
  selectedTileId: d,
933
- onSelectTile: (S, L) => {
934
- m(S), b(L);
933
+ onSelectTile: (S, D) => {
934
+ m(S), b(D);
935
935
  },
936
936
  renderTile: i
937
937
  }
@@ -950,30 +950,30 @@ function xt({
950
950
  }
951
951
  function Xe() {
952
952
  const t = se()?.description ?? null;
953
- return t == null ? /* @__PURE__ */ n("em", { children: "Tap a metric to see its description" }) : /* @__PURE__ */ n(V, { children: t });
953
+ return t == null ? /* @__PURE__ */ a("em", { children: "Tap a metric to see its description" }) : /* @__PURE__ */ a(V, { children: t });
954
954
  }
955
955
  function kt({
956
956
  isOpen: e,
957
957
  replacingLabel: t,
958
958
  lenses: r = be,
959
959
  defaultLens: l = ye,
960
- tilesByLens: a = _e,
960
+ tilesByLens: n = _e,
961
961
  renderTile: i
962
962
  }) {
963
- const u = O(), [o, s] = A(l), [c, d] = A(null), [m, h] = A(null), b = a[o] ?? { primary: [] }, p = [...b.primary, ...b.secondary ?? []], _ = () => u?.dispatch({ type: "CLOSE_PANEL", reason: "apply-button" }), P = () => u?.dispatch({ type: "CLOSE_PANEL", reason: "header-x" }), E = c == null;
964
- return /* @__PURE__ */ n(
963
+ const u = M(), [o, s] = A(l), [c, d] = A(null), [m, h] = A(null), b = n[o] ?? { primary: [] }, p = [...b.primary, ...b.secondary ?? []], _ = () => u?.dispatch({ type: "CLOSE_PANEL", reason: "apply-button" }), T = () => u?.dispatch({ type: "CLOSE_PANEL", reason: "header-x" }), E = c == null;
964
+ return /* @__PURE__ */ a(
965
965
  ae.Provider,
966
966
  {
967
967
  value: { mode: "replace", selectedTileId: c, description: m },
968
- children: /* @__PURE__ */ n(
968
+ children: /* @__PURE__ */ a(
969
969
  Y,
970
970
  {
971
971
  variant: "no-stage",
972
972
  title: "Replace metric",
973
- onClose: P,
973
+ onClose: T,
974
974
  footer: {
975
- left: /* @__PURE__ */ n(Xe, {}),
976
- right: /* @__PURE__ */ n(
975
+ left: /* @__PURE__ */ a(Xe, {}),
976
+ right: /* @__PURE__ */ a(
977
977
  "button",
978
978
  {
979
979
  id: "btn-cat-replace",
@@ -990,7 +990,7 @@ function kt({
990
990
  "replacing ",
991
991
  t
992
992
  ] }),
993
- /* @__PURE__ */ n(
993
+ /* @__PURE__ */ a(
994
994
  Ce,
995
995
  {
996
996
  lenses: r,
@@ -1000,7 +1000,7 @@ function kt({
1000
1000
  }
1001
1001
  }
1002
1002
  ),
1003
- /* @__PURE__ */ n(
1003
+ /* @__PURE__ */ a(
1004
1004
  te,
1005
1005
  {
1006
1006
  tiles: p,
@@ -1029,8 +1029,8 @@ function Je(e = {}) {
1029
1029
  className: "panel-footer pm",
1030
1030
  style: { display: "flex", justifyContent: "flex-end", padding: "10px 14px" },
1031
1031
  children: [
1032
- /* @__PURE__ */ n("div", { className: "spacer", style: { flex: 1 } }),
1033
- /* @__PURE__ */ n(
1032
+ /* @__PURE__ */ a("div", { className: "spacer", style: { flex: 1 } }),
1033
+ /* @__PURE__ */ a(
1034
1034
  "button",
1035
1035
  {
1036
1036
  id: "btn-new-page",
@@ -1041,8 +1041,8 @@ function Je(e = {}) {
1041
1041
  r();
1042
1042
  return;
1043
1043
  }
1044
- l && l((a) => [
1045
- ...a,
1044
+ l && l((n) => [
1045
+ ...n,
1046
1046
  { id: `new-${Date.now()}`, name: "Untitled", active: !1 }
1047
1047
  ]);
1048
1048
  },
@@ -1053,7 +1053,7 @@ function Je(e = {}) {
1053
1053
  }
1054
1054
  );
1055
1055
  }
1056
- function ue({ page: e, onRename: t, onKebab: r, onDragStart: l, onSwitchPage: a }) {
1056
+ function ue({ page: e, onRename: t, onKebab: r, onDragStart: l, onSwitchPage: n }) {
1057
1057
  const i = Se(), [u, o] = A(!1), s = K(null);
1058
1058
  F(() => {
1059
1059
  if (!u) return;
@@ -1072,10 +1072,10 @@ function ue({ page: e, onRename: t, onKebab: r, onDragStart: l, onSwitchPage: a
1072
1072
  }, m = () => {
1073
1073
  o(!1), i?.deletePage?.(e.id);
1074
1074
  }, h = (p) => {
1075
- p.stopPropagation(), a && !e.active && a(e.id);
1075
+ p.stopPropagation(), n && !e.active && n(e.id);
1076
1076
  }, b = ["pm-row"];
1077
1077
  return e.active && b.push("active"), /* @__PURE__ */ f("div", { ref: s, className: b.join(" "), "data-page-id": e.id, role: "listitem", children: [
1078
- /* @__PURE__ */ n(
1078
+ /* @__PURE__ */ a(
1079
1079
  "div",
1080
1080
  {
1081
1081
  className: "pm-handle",
@@ -1084,21 +1084,21 @@ function ue({ page: e, onRename: t, onKebab: r, onDragStart: l, onSwitchPage: a
1084
1084
  children: "⋮⋮"
1085
1085
  }
1086
1086
  ),
1087
- /* @__PURE__ */ n(
1087
+ /* @__PURE__ */ a(
1088
1088
  "div",
1089
1089
  {
1090
1090
  className: "pm-name",
1091
- role: a && !e.active ? "button" : void 0,
1092
- tabIndex: a && !e.active ? 0 : void 0,
1093
- onClick: a ? h : void 0,
1091
+ role: n && !e.active ? "button" : void 0,
1092
+ tabIndex: n && !e.active ? 0 : void 0,
1093
+ onClick: n ? h : void 0,
1094
1094
  onKeyDown: (p) => {
1095
- !a || e.active || (p.key === "Enter" || p.key === " ") && (p.preventDefault(), p.stopPropagation(), a(e.id));
1095
+ !n || e.active || (p.key === "Enter" || p.key === " ") && (p.preventDefault(), p.stopPropagation(), n(e.id));
1096
1096
  },
1097
- "aria-label": a && !e.active ? `Switch to ${e.name}` : void 0,
1097
+ "aria-label": n && !e.active ? `Switch to ${e.name}` : void 0,
1098
1098
  children: e.name
1099
1099
  }
1100
1100
  ),
1101
- /* @__PURE__ */ n(
1101
+ /* @__PURE__ */ a(
1102
1102
  "button",
1103
1103
  {
1104
1104
  type: "button",
@@ -1124,9 +1124,9 @@ function ue({ page: e, onRename: t, onKebab: r, onDragStart: l, onSwitchPage: a
1124
1124
  onPointerDown: (p) => p.stopPropagation(),
1125
1125
  onMouseDown: (p) => p.stopPropagation(),
1126
1126
  children: [
1127
- /* @__PURE__ */ n("button", { type: "button", role: "menuitem", className: "pm-kebab-menu__item", onClick: c, children: "Rename" }),
1128
- /* @__PURE__ */ n("button", { type: "button", role: "menuitem", className: "pm-kebab-menu__item", onClick: d, children: "Duplicate" }),
1129
- /* @__PURE__ */ n(
1127
+ /* @__PURE__ */ a("button", { type: "button", role: "menuitem", className: "pm-kebab-menu__item", onClick: c, children: "Rename" }),
1128
+ /* @__PURE__ */ a("button", { type: "button", role: "menuitem", className: "pm-kebab-menu__item", onClick: d, children: "Duplicate" }),
1129
+ /* @__PURE__ */ a(
1130
1130
  "button",
1131
1131
  {
1132
1132
  type: "button",
@@ -1152,16 +1152,16 @@ function Dt({
1152
1152
  pages: t = et,
1153
1153
  externalPages: r,
1154
1154
  activePageId: l,
1155
- onRename: a,
1155
+ onRename: n,
1156
1156
  onDuplicate: i,
1157
1157
  onDelete: u,
1158
1158
  onReorder: o,
1159
1159
  onCreatePage: s,
1160
1160
  onSwitchPage: c
1161
1161
  }) {
1162
- const d = O(), [m, h] = A(() => [...t]), b = D((g, C) => {
1162
+ const d = M(), [m, h] = A(() => [...t]), b = L((g, C) => {
1163
1163
  h((w) => w.map((x) => x.id === g ? { ...x, name: C } : x));
1164
- }, []), p = D((g) => {
1164
+ }, []), p = L((g) => {
1165
1165
  h((C) => {
1166
1166
  const w = C.find((z) => z.id === g);
1167
1167
  if (!w) return C;
@@ -1172,26 +1172,26 @@ function Dt({
1172
1172
  }, k = C.findIndex((z) => z.id === g);
1173
1173
  return [...C.slice(0, k + 1), x, ...C.slice(k + 1)];
1174
1174
  });
1175
- }, []), _ = D((g) => {
1175
+ }, []), _ = L((g) => {
1176
1176
  h((C) => C.filter((w) => w.id !== g));
1177
- }, []), P = D((g) => {
1177
+ }, []), T = L((g) => {
1178
1178
  h((C) => {
1179
1179
  const w = new Map(C.map((k) => [k.id, k])), x = g.map((k) => w.get(k)).filter(Boolean);
1180
1180
  return x.length === C.length ? x : C;
1181
1181
  });
1182
- }, []), E = r != null, y = E ? r : m, N = l != null ? y.map((g) => ({ ...g, active: g.id === l })) : [...y], I = a ?? (E ? void 0 : b), R = i ?? (E ? void 0 : p), $ = u ?? (E ? void 0 : _), S = o ?? (E ? void 0 : P), L = D(
1182
+ }, []), E = r != null, y = E ? r : m, N = l != null ? y.map((g) => ({ ...g, active: g.id === l })) : [...y], I = n ?? (E ? void 0 : b), R = i ?? (E ? void 0 : p), $ = u ?? (E ? void 0 : _), S = o ?? (E ? void 0 : T), D = L(
1183
1183
  (g) => {
1184
1184
  E || h(g);
1185
1185
  },
1186
1186
  [E]
1187
- ), q = D(
1187
+ ), q = L(
1188
1188
  (g) => {
1189
1189
  const C = g[0]?.items.map((w) => w.id) ?? [];
1190
1190
  C.length > 0 && S && S(C);
1191
1191
  },
1192
1192
  [S]
1193
- ), Q = N.map((g) => `${g.id}:${g.name}`).join("|"), W = S != null && N.length > 1 ? /* @__PURE__ */ n(
1194
- Pe,
1193
+ ), Q = N.map((g) => `${g.id}:${g.name}`).join("|"), W = S != null && N.length > 1 ? /* @__PURE__ */ a(
1194
+ Te,
1195
1195
  {
1196
1196
  zones: [
1197
1197
  {
@@ -1200,8 +1200,8 @@ function Dt({
1200
1200
  }
1201
1201
  ],
1202
1202
  onZoneChange: q,
1203
- renderZone: (g, C, w) => /* @__PURE__ */ n("div", { className: "pm-list", role: "list", children: w }),
1204
- renderItem: (g) => /* @__PURE__ */ n(
1203
+ renderZone: (g, C, w) => /* @__PURE__ */ a("div", { className: "pm-list", role: "list", children: w }),
1204
+ renderItem: (g) => /* @__PURE__ */ a(
1205
1205
  ue,
1206
1206
  {
1207
1207
  page: g,
@@ -1211,7 +1211,7 @@ function Dt({
1211
1211
  )
1212
1212
  },
1213
1213
  Q
1214
- ) : /* @__PURE__ */ n("div", { className: "pm-list", role: "list", children: N.map((g) => /* @__PURE__ */ n(
1214
+ ) : /* @__PURE__ */ a("div", { className: "pm-list", role: "list", children: N.map((g) => /* @__PURE__ */ a(
1215
1215
  ue,
1216
1216
  {
1217
1217
  page: g,
@@ -1219,26 +1219,26 @@ function Dt({
1219
1219
  },
1220
1220
  g.id
1221
1221
  )) }), G = () => d?.dispatch({ type: "CLOSE_PANEL", reason: "header-x" });
1222
- return /* @__PURE__ */ n(
1222
+ return /* @__PURE__ */ a(
1223
1223
  Ne.Provider,
1224
1224
  {
1225
1225
  value: {
1226
1226
  pages: N,
1227
- setPages: L,
1227
+ setPages: D,
1228
1228
  renamePage: I,
1229
1229
  duplicatePage: R,
1230
1230
  deletePage: $,
1231
1231
  // Sprint 2026-05-20 — propagate live create binding for footer.
1232
1232
  createPage: s
1233
1233
  },
1234
- children: /* @__PURE__ */ n(
1234
+ children: /* @__PURE__ */ a(
1235
1235
  Y,
1236
1236
  {
1237
1237
  variant: "no-stage",
1238
1238
  title: "Manage pages",
1239
1239
  onClose: G,
1240
- footer: { right: /* @__PURE__ */ n(Je, {}) },
1241
- children: /* @__PURE__ */ n("div", { "data-shell": "page-management", "aria-hidden": !e, children: W })
1240
+ footer: { right: /* @__PURE__ */ a(Je, {}) },
1241
+ children: /* @__PURE__ */ a("div", { "data-shell": "page-management", "aria-hidden": !e, children: W })
1242
1242
  }
1243
1243
  )
1244
1244
  }
@@ -1260,42 +1260,37 @@ const Lt = {
1260
1260
  inset: 0,
1261
1261
  zIndex: 1,
1262
1262
  // CR-03 fix: pass-through tint — scrim is visual-only and must not intercept
1263
- // grid card clicks. See PanelHost.tsx CR-03 comment for full rationale.
1263
+ // grid card clicks. Dismiss is ESC-only (see PanelHost.tsx CR-03 comment).
1264
1264
  pointerEvents: "none",
1265
1265
  background: "rgba(0, 0, 0, 0.04)"
1266
1266
  };
1267
- function Ot() {
1268
- const { state: e, dispatch: t, getCloseLog: r } = Te();
1267
+ function Mt() {
1268
+ const { state: e, dispatch: t, getCloseLog: r } = Pe();
1269
1269
  F(() => {
1270
1270
  if (e.activePanelId == null) return;
1271
- function i(u) {
1272
- u.key === "Escape" && t({ type: "CLOSE_PANEL", reason: "escape-key" });
1271
+ function n(i) {
1272
+ i.key === "Escape" && t({ type: "CLOSE_PANEL", reason: "escape-key" });
1273
1273
  }
1274
- return document.addEventListener("keydown", i), () => document.removeEventListener("keydown", i);
1274
+ return document.addEventListener("keydown", n), () => document.removeEventListener("keydown", n);
1275
1275
  }, [e.activePanelId, t]);
1276
1276
  const l = K(e);
1277
- xe(() => {
1277
+ return xe(() => {
1278
1278
  l.current = e;
1279
1279
  }), F(() => {
1280
1280
  if (process.env.NODE_ENV === "production") return;
1281
- const i = window;
1282
- return i.__panelsHostHandle && console.warn("[panels] multiple PanelHost/PanelHostShell instances mounted; dev handle is unreliable"), i.__panelsHostHandle = {
1281
+ const n = window;
1282
+ return n.__panelsHostHandle && console.warn("[panels] multiple PanelHost/PanelHostShell instances mounted; dev handle is unreliable"), n.__panelsHostHandle = {
1283
1283
  dispatch: t,
1284
1284
  getState: () => l.current,
1285
1285
  getCloseLog: r
1286
1286
  }, () => {
1287
- i.__panelsHostHandle?.dispatch === t && delete window.__panelsHostHandle;
1287
+ n.__panelsHostHandle?.dispatch === t && delete window.__panelsHostHandle;
1288
1288
  };
1289
- }, [t, r]);
1290
- const a = D(() => {
1291
- t({ type: "CLOSE_PANEL", reason: "nav-escape-hatch" });
1292
- }, [t]);
1293
- return /* @__PURE__ */ n("div", { "data-panel-host": "true", style: tt, children: e.activePanelId != null && /* @__PURE__ */ n(
1289
+ }, [t, r]), /* @__PURE__ */ a("div", { "data-panel-host": "true", style: tt, children: e.activePanelId != null && /* @__PURE__ */ a(
1294
1290
  "div",
1295
1291
  {
1296
1292
  "data-panel-scrim": "true",
1297
- style: nt,
1298
- onClick: a
1293
+ style: nt
1299
1294
  }
1300
1295
  ) });
1301
1296
  }
@@ -1307,7 +1302,7 @@ function st(e) {
1307
1302
  l.current != null && (clearTimeout(l.current), l.current = null), r(null);
1308
1303
  return;
1309
1304
  }
1310
- return r((a) => a), l.current = setTimeout(() => {
1305
+ return l.current = setTimeout(() => {
1311
1306
  r(null), l.current = null;
1312
1307
  }, at), () => {
1313
1308
  l.current != null && (clearTimeout(l.current), l.current = null);
@@ -1316,14 +1311,14 @@ function st(e) {
1316
1311
  e != null && r(e);
1317
1312
  }, [e]), e != null ? { panelId: e, isOpen: !0 } : t != null ? { panelId: t, isOpen: !1 } : { panelId: null, isOpen: !1 };
1318
1313
  }
1319
- function Mt({ panelComponents: e, children: t }) {
1320
- const r = O(), l = st(r?.state.activePanelId ?? null);
1314
+ function Ot({ panelComponents: e, children: t }) {
1315
+ const r = M(), l = st(r?.state.activePanelId ?? null);
1321
1316
  if (r == null || l.panelId == null) return null;
1322
- const a = l.panelId, i = l.isOpen, u = e?.[a];
1317
+ const n = l.panelId, i = l.isOpen, u = e?.[n];
1323
1318
  return u == null && t == null ? (process.env.NODE_ENV !== "production" && console.error(
1324
1319
  "[panels] No panel component registered for activePanelId:",
1325
- a
1326
- ), null) : /* @__PURE__ */ n(Ae, { isOpen: i, children: u != null ? /* @__PURE__ */ n(u, { isOpen: i }) : t });
1320
+ n
1321
+ ), null) : /* @__PURE__ */ a(Ae, { isOpen: i, children: u != null ? /* @__PURE__ */ a(u, { isOpen: i }) : t });
1327
1322
  }
1328
1323
  function pe(e) {
1329
1324
  return e === null ? null : e.kind === "manage-pages-action" ? `global-${e.align ?? "left"}` : e.kind === "card-overflow" || e.kind === "empty-cell" ? `section-${e.sectionIndex}` : null;
@@ -1343,17 +1338,17 @@ function U(e) {
1343
1338
  e.dispatch({ type: "OPEN_PANEL", panelId: e.panelId, trigger: e.trigger });
1344
1339
  }
1345
1340
  function ct(e) {
1346
- const { mountEl: t, chromeEl: r, reducedMotion: l, onAssert: a } = e;
1341
+ const { mountEl: t, chromeEl: r, reducedMotion: l, onAssert: n } = e;
1347
1342
  if (t == null || r == null) {
1348
- U(e), a?.({ branch: "slide-fallback-no-dom", timestamp: Date.now() });
1343
+ U(e), n?.({ branch: "slide-fallback-no-dom", timestamp: Date.now() });
1349
1344
  return;
1350
1345
  }
1351
1346
  if (l) {
1352
- e.dispatch({ type: "OPEN_PANEL", panelId: e.panelId, trigger: e.trigger }), a?.({ branch: "slide-reduced-motion", timestamp: Date.now() });
1347
+ e.dispatch({ type: "OPEN_PANEL", panelId: e.panelId, trigger: e.trigger }), n?.({ branch: "slide-reduced-motion", timestamp: Date.now() });
1353
1348
  return;
1354
1349
  }
1355
1350
  if (typeof r.animate != "function") {
1356
- U(e), a?.({ branch: "slide-no-waapi", timestamp: Date.now() });
1351
+ U(e), n?.({ branch: "slide-no-waapi", timestamp: Date.now() });
1357
1352
  return;
1358
1353
  }
1359
1354
  const i = r.cloneNode(!0);
@@ -1365,7 +1360,7 @@ function ct(e) {
1365
1360
  s.addEventListener(
1366
1361
  "finish",
1367
1362
  () => {
1368
- i.remove(), r.style.zIndex = "", s.cancel(), a?.({ branch: "slide-complete", frozen: "cleaned", timestamp: Date.now() });
1363
+ i.remove(), r.style.zIndex = "", s.cancel(), n?.({ branch: "slide-complete", frozen: "cleaned", timestamp: Date.now() });
1369
1364
  },
1370
1365
  { once: !0 }
1371
1366
  );
@@ -1377,11 +1372,11 @@ function dt(e) {
1377
1372
  return;
1378
1373
  }
1379
1374
  const l = Ee("--panel-close-dur", me);
1380
- let a = !1, i = null;
1375
+ let n = !1, i = null;
1381
1376
  const u = (s) => {
1382
- s.target !== t || s.propertyName !== "max-height" || a || (a = !0, i != null && clearTimeout(i), t.removeEventListener("transitionend", u), e.dispatch({ type: "OPEN_PANEL", panelId: e.panelId, trigger: e.trigger }), r?.({ branch: "handoff-complete", timestamp: Date.now() }));
1377
+ s.target !== t || s.propertyName !== "max-height" || n || (n = !0, i != null && clearTimeout(i), t.removeEventListener("transitionend", u), e.dispatch({ type: "OPEN_PANEL", panelId: e.panelId, trigger: e.trigger }), r?.({ branch: "handoff-complete", timestamp: Date.now() }));
1383
1378
  }, o = () => {
1384
- a || (a = !0, t.removeEventListener("transitionend", u), e.dispatch({ type: "OPEN_PANEL", panelId: e.panelId, trigger: e.trigger }), r?.({ branch: "handoff-forced", timestamp: Date.now() }));
1379
+ n || (n = !0, t.removeEventListener("transitionend", u), e.dispatch({ type: "OPEN_PANEL", panelId: e.panelId, trigger: e.trigger }), r?.({ branch: "handoff-forced", timestamp: Date.now() }));
1385
1380
  };
1386
1381
  t.addEventListener("transitionend", u), e.dispatch({ type: "CLOSE_PANEL", reason: "mutex-handoff" }), i = setTimeout(o, l + lt);
1387
1382
  }
@@ -1391,8 +1386,8 @@ function ut(e) {
1391
1386
  e.dispatch({ type: "OPEN_PANEL", panelId: e.panelId, trigger: e.trigger }), r?.({ branch: "blocked-dirty", timestamp: Date.now() });
1392
1387
  return;
1393
1388
  }
1394
- const l = pe(t.activeTrigger), a = pe(e.trigger);
1395
- if (!!t.activePanelId && l != null && l === a) {
1389
+ const l = pe(t.activeTrigger), n = pe(e.trigger);
1390
+ if (!!t.activePanelId && l != null && l === n) {
1396
1391
  ct(e);
1397
1392
  return;
1398
1393
  }
@@ -1407,17 +1402,17 @@ function pt() {
1407
1402
  return window.__panelsAsserter;
1408
1403
  }
1409
1404
  function It() {
1410
- const e = O(), t = he();
1411
- return D(
1405
+ const e = M(), t = he();
1406
+ return L(
1412
1407
  (r, l) => {
1413
1408
  if (!e)
1414
1409
  return;
1415
- const a = typeof document < "u" ? document.querySelector('[data-mount="panel"]') : null, i = typeof document < "u" ? document.querySelector('[data-chrome="panel"]') : null, u = {
1410
+ const n = typeof document < "u" ? document.querySelector('[data-mount="panel"]') : null, i = typeof document < "u" ? document.querySelector('[data-chrome="panel"]') : null, u = {
1416
1411
  panelId: r,
1417
1412
  trigger: l,
1418
1413
  state: e.state,
1419
1414
  dispatch: e.dispatch,
1420
- mountEl: a,
1415
+ mountEl: n,
1421
1416
  chromeEl: i,
1422
1417
  reducedMotion: t,
1423
1418
  onAssert: (o) => {
@@ -1430,7 +1425,7 @@ function It() {
1430
1425
  );
1431
1426
  }
1432
1427
  function Rt({ children: e }) {
1433
- return /* @__PURE__ */ n("div", { className: "clone-stage", children: e });
1428
+ return /* @__PURE__ */ a("div", { className: "clone-stage", children: e });
1434
1429
  }
1435
1430
  let B = !1, j = null;
1436
1431
  function ne() {
@@ -1439,14 +1434,14 @@ function ne() {
1439
1434
  document.querySelectorAll("#panel-chrome-frozen").length > 0 && (e.push("#panel-chrome-frozen"), t = "lingering");
1440
1435
  const l = document.querySelectorAll(".gloss-panel-mount");
1441
1436
  l.length > 1 && e.push(`mount-count=${l.length}`);
1442
- const a = l[0] ?? null, i = a ? a.querySelectorAll(".gloss-panel-chrome") : [];
1437
+ const n = l[0] ?? null, i = n ? n.querySelectorAll(".gloss-panel-chrome") : [];
1443
1438
  i.length > 1 && e.push(`chrome-count=${i.length}`);
1444
1439
  const u = i[0] ?? null;
1445
1440
  if (u) {
1446
1441
  const d = u.style.zIndex;
1447
1442
  d !== "" && d !== "2" && e.push(`chrome-zindex=${d}`);
1448
1443
  }
1449
- const o = a ? "present" : "absent", s = u ? "present" : "absent";
1444
+ const o = n ? "present" : "absent", s = u ? "present" : "absent";
1450
1445
  return {
1451
1446
  valid: e.length === 0,
1452
1447
  mount: o,
@@ -1457,19 +1452,19 @@ function ne() {
1457
1452
  };
1458
1453
  }
1459
1454
  const Z = "8px 8px 0px", X = "64px", J = "inset(0px 0px 60px 0px)", ee = "inset(0px -40px -40px -40px)";
1460
- function v(e, t, r, l, a) {
1461
- return { id: e, constraint: t, expected: r, actual: l, pass: a };
1455
+ function v(e, t, r, l, n) {
1456
+ return { id: e, constraint: t, expected: r, actual: l, pass: n };
1462
1457
  }
1463
- function M(e) {
1458
+ function O(e) {
1464
1459
  const t = parseInt(e, 10);
1465
1460
  return Number.isFinite(t) ? t : NaN;
1466
1461
  }
1467
1462
  function re() {
1468
- const e = [], t = document.querySelector(".gloss-panel-mount"), r = t?.querySelector(".gloss-panel-chrome") ?? null, l = document.querySelector(".gloss-panel-coordinator") ?? document.querySelector("[data-panel-coordinator]"), a = document.querySelector(".bell-cutout"), i = document.querySelector(".bell-popover"), u = document.querySelector(".gloss-bottom-toolbar");
1463
+ const e = [], t = document.querySelector(".gloss-panel-mount"), r = t?.querySelector(".gloss-panel-chrome") ?? null, l = document.querySelector(".gloss-panel-coordinator") ?? document.querySelector("[data-panel-coordinator]"), n = document.querySelector(".bell-cutout"), i = document.querySelector(".bell-popover"), u = document.querySelector(".gloss-bottom-toolbar");
1469
1464
  if (!t)
1470
1465
  e.push(v("C1", "mount --reveal-y matches clip-path inset-bottom Npx", "mount present", "absent", !1));
1471
1466
  else {
1472
- const o = getComputedStyle(t), s = o.getPropertyValue("--reveal-y").trim() || t.style.getPropertyValue("--reveal-y").trim(), c = o.clipPath || t.style.clipPath || "", d = c.match(/inset\(\s*0(?:px)?\s+0(?:px)?\s+(\d+)px\s+0(?:px)?\s*\)/), m = d ? parseInt(d[1], 10) : NaN, h = M(s), b = Number.isFinite(m) && Number.isFinite(h) && m === h;
1467
+ const o = getComputedStyle(t), s = o.getPropertyValue("--reveal-y").trim() || t.style.getPropertyValue("--reveal-y").trim(), c = o.clipPath || t.style.clipPath || "", d = c.match(/inset\(\s*0(?:px)?\s+0(?:px)?\s+(\d+)px\s+0(?:px)?\s*\)/), m = d ? parseInt(d[1], 10) : NaN, h = O(s), b = Number.isFinite(m) && Number.isFinite(h) && m === h;
1473
1468
  e.push(
1474
1469
  v(
1475
1470
  "C1",
@@ -1495,11 +1490,11 @@ function re() {
1495
1490
  if (!r)
1496
1491
  e.push(v("C4", "panel-chrome height formula = (row-h*3)+(row-gap*3)-8px", "formula match", "absent", !1));
1497
1492
  else {
1498
- const o = getComputedStyle(r), s = M(
1493
+ const o = getComputedStyle(r), s = O(
1499
1494
  o.getPropertyValue("--row-h").trim() || r.style.getPropertyValue("--row-h").trim() || "0"
1500
- ), c = M(
1495
+ ), c = O(
1501
1496
  o.getPropertyValue("--row-gap").trim() || r.style.getPropertyValue("--row-gap").trim() || "0"
1502
- ), d = s * 3 + c * 3 - 8, m = M(o.height || r.style.height || ""), h = Number.isFinite(s) && Number.isFinite(c) && Number.isFinite(m) && Number.isFinite(d) && m === d;
1497
+ ), d = s * 3 + c * 3 - 8, m = O(o.height || r.style.height || ""), h = Number.isFinite(s) && Number.isFinite(c) && Number.isFinite(m) && Number.isFinite(d) && m === d;
1503
1498
  e.push(
1504
1499
  v(
1505
1500
  "C4",
@@ -1544,8 +1539,8 @@ function re() {
1544
1539
  }
1545
1540
  for (const m of d)
1546
1541
  if (m.name === "stage-spin") {
1547
- const b = Array.from(m.cssRules), p = b.find((N) => N.keyText === "0%" || N.keyText === "from"), _ = b.find((N) => N.keyText === "100%" || N.keyText === "to"), P = p?.style.transform ?? "", E = _?.style.transform ?? "", y = /rotateY\(\s*0(?:deg)?\s*\)/;
1548
- o = y.test(P) && y.test(E), s = `0%=${P || "n/a"} 100%=${E || "n/a"}`;
1542
+ const b = Array.from(m.cssRules), p = b.find((N) => N.keyText === "0%" || N.keyText === "from"), _ = b.find((N) => N.keyText === "100%" || N.keyText === "to"), T = p?.style.transform ?? "", E = _?.style.transform ?? "", y = /rotateY\(\s*0(?:deg)?\s*\)/;
1543
+ o = y.test(T) && y.test(E), s = `0%=${T || "n/a"} 100%=${E || "n/a"}`;
1549
1544
  break;
1550
1545
  }
1551
1546
  if (s !== "absent") break;
@@ -1564,15 +1559,15 @@ function re() {
1564
1559
  );
1565
1560
  }
1566
1561
  {
1567
- const o = document.documentElement, s = getComputedStyle(o), c = s.getPropertyValue("--panel-open-dur").trim() || o.style.getPropertyValue("--panel-open-dur").trim(), d = s.getPropertyValue("--panel-close-dur").trim() || o.style.getPropertyValue("--panel-close-dur").trim(), m = M(c) || parseFloat(c) * (c.endsWith("s") && !c.endsWith("ms") ? 1e3 : 1), h = M(d) || parseFloat(d) * (d.endsWith("s") && !d.endsWith("ms") ? 1e3 : 1), b = Number.isFinite(m) && Number.isFinite(h) && m > h;
1562
+ const o = document.documentElement, s = getComputedStyle(o), c = s.getPropertyValue("--panel-open-dur").trim() || o.style.getPropertyValue("--panel-open-dur").trim(), d = s.getPropertyValue("--panel-close-dur").trim() || o.style.getPropertyValue("--panel-close-dur").trim(), m = O(c) || parseFloat(c) * (c.endsWith("s") && !c.endsWith("ms") ? 1e3 : 1), h = O(d) || parseFloat(d) * (d.endsWith("s") && !d.endsWith("ms") ? 1e3 : 1), b = Number.isFinite(m) && Number.isFinite(h) && m > h;
1568
1563
  e.push(
1569
1564
  v("C7", "--panel-open-dur > --panel-close-dur", "open > close", `open=${c || "n/a"} close=${d || "n/a"}`, b)
1570
1565
  );
1571
1566
  }
1572
- if (!a)
1567
+ if (!n)
1573
1568
  e.push(v("C8", "BellCutout zero computed animation/transition", "no inline timing", "absent", !1));
1574
1569
  else {
1575
- const o = getComputedStyle(a), s = o.animationName || "", c = o.transitionProperty || "", d = (s === "" || s === "none") && (c === "" || c === "none" || c === "all");
1570
+ const o = getComputedStyle(n), s = o.animationName || "", c = o.transitionProperty || "", d = (s === "" || s === "none") && (c === "" || c === "none" || c === "all");
1576
1571
  e.push(
1577
1572
  v(
1578
1573
  "C8",
@@ -1694,36 +1689,35 @@ export {
1694
1689
  Dt as PageMgmtShell,
1695
1690
  Ne as PageMgmtStateContext,
1696
1691
  Ut as PanelBody,
1697
- Bt as PanelChrome,
1698
1692
  Y as PanelChromeV2,
1699
- Yt as PanelFooter,
1700
- Pt as PanelFooterMessage,
1701
- Vt as PanelHeader,
1702
- Kt as PanelHost,
1703
- Ot as PanelHostShell,
1693
+ Bt as PanelFooter,
1694
+ Tt as PanelFooterMessage,
1695
+ Yt as PanelHeader,
1696
+ Vt as PanelHost,
1697
+ Mt as PanelHostShell,
1704
1698
  Ae as PanelMount,
1705
- qt as PanelNavigation,
1706
- Qt as PanelProvider,
1707
- Mt as PanelSlot,
1708
- Wt as PanelStage,
1709
- Tt as SettingsShell,
1699
+ Kt as PanelNavigation,
1700
+ qt as PanelProvider,
1701
+ Ot as PanelSlot,
1702
+ Qt as PanelStage,
1703
+ Pt as SettingsShell,
1710
1704
  re as assertCcOnly,
1711
1705
  ne as assertPanelDomShape,
1712
1706
  ht as assertPanelTruths,
1713
- Gt as deriveSurfaceState,
1707
+ Wt as deriveSurfaceState,
1714
1708
  bt as disablePanelAsserter,
1715
1709
  gt as enablePanelAsserter,
1716
1710
  mt as getCcRowById,
1717
- jt as initialState,
1711
+ Gt as initialState,
1718
1712
  pe as positionKey,
1719
- Zt as reducer,
1713
+ jt as reducer,
1720
1714
  ut as transitionToPanel,
1721
1715
  se as useCatalogState,
1722
1716
  wt as useEditingCardId,
1723
1717
  Se as usePageMgmtState,
1724
- Te as usePanelContext,
1725
- O as usePanelContextOptional,
1726
- Xt as usePanelCoordinator,
1718
+ Pe as usePanelContext,
1719
+ M as usePanelContextOptional,
1720
+ Zt as usePanelCoordinator,
1727
1721
  he as useReducedMotionPanel,
1728
1722
  It as useTransitionToPanel
1729
1723
  };