@photon-ai/pho-ui 4.17.0 → 4.18.1

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.
Files changed (27) hide show
  1. package/dist/chunks/{basic-page-DS1YIheB.js → basic-page-Bfcda8w5.js} +417 -399
  2. package/dist/chunks/basic-page-Bfcda8w5.js.map +1 -0
  3. package/dist/chunks/{code-block-DMiZkEWS.js → code-block-DekLMMtV.js} +2 -2
  4. package/dist/chunks/{code-block-DMiZkEWS.js.map → code-block-DekLMMtV.js.map} +1 -1
  5. package/dist/chunks/{copy-button-CHYc_cvM.js → copy-button-BmGshaq9.js} +15 -15
  6. package/dist/chunks/copy-button-BmGshaq9.js.map +1 -0
  7. package/dist/chunks/{data-table-hzZb7Otx.js → data-table-T4QKnrxQ.js} +30 -30
  8. package/dist/chunks/data-table-T4QKnrxQ.js.map +1 -0
  9. package/dist/chunks/{description-list-SIlI9ZHs.js → description-list-BRRQ0oF6.js} +3 -3
  10. package/dist/chunks/{description-list-SIlI9ZHs.js.map → description-list-BRRQ0oF6.js.map} +1 -1
  11. package/dist/chunks/{filter-bar-BCiaO1gO.js → filter-bar-qJJWL4_a.js} +21 -21
  12. package/dist/chunks/filter-bar-qJJWL4_a.js.map +1 -0
  13. package/dist/components/code-block.js +1 -1
  14. package/dist/components/copy-button.js +1 -1
  15. package/dist/components/data-table.js +1 -1
  16. package/dist/components/description-list.js +1 -1
  17. package/dist/components/filter-bar.js +1 -1
  18. package/dist/index.js +6 -6
  19. package/dist/sections/basic-page.js +2 -2
  20. package/dist/src/components/copy-button/copy-button.d.ts +2 -2
  21. package/dist/src/sections/basic-page/basic-page.d.ts +13 -3
  22. package/dist/src/sections/basic-page/index.d.ts +1 -1
  23. package/package.json +1 -1
  24. package/dist/chunks/basic-page-DS1YIheB.js.map +0 -1
  25. package/dist/chunks/copy-button-CHYc_cvM.js.map +0 -1
  26. package/dist/chunks/data-table-hzZb7Otx.js.map +0 -1
  27. package/dist/chunks/filter-bar-BCiaO1gO.js.map +0 -1
@@ -1,37 +1,38 @@
1
1
  "use client";
2
- import { t as u } from "./cn-ChIgwEl3.js";
2
+ import { t as d } from "./cn-ChIgwEl3.js";
3
3
  import { n as aa } from "./link-provider-DXzDQ08N.js";
4
- import { FADE_ENTRANCE as Fa, FADE_SWAP as Ha, SPRING_ENTRANCE as za, TRAVEL_LINEAR as Ga, fadeThroughBlur as Q, revealIn as $a } from "../motion.js";
4
+ import { FADE_ENTRANCE as Ha, FADE_SWAP as za, SPRING_ENTRANCE as Ga, TRAVEL_LINEAR as $a, fadeThroughBlur as Q, revealIn as Wa } from "../motion.js";
5
5
  import { a as re, o as Re } from "./button-C9VqBBIr.js";
6
- import { t as Wa } from "./error-D5SzZ0ev.js";
7
- import { f as Va, p as ja, t as qa } from "./code-block-DMiZkEWS.js";
6
+ import { t as Va } from "./error-D5SzZ0ev.js";
7
+ import { f as ja, p as qa, t as Ka } from "./code-block-DekLMMtV.js";
8
8
  import { t as ce } from "./IconChevronLeft-CSWMKQ4C.js";
9
- import { t as Ka } from "./IconChevronRight-CzoJnYNI.js";
10
- import { t as Xa } from "./IconSearch-BKAHkLyX.js";
11
- import { a as Qa, n as Ua, r as Se, t as Ya } from "./data-table-hzZb7Otx.js";
9
+ import { t as Xa } from "./IconChevronRight-CzoJnYNI.js";
10
+ import { n as Qa } from "./copy-button-BmGshaq9.js";
11
+ import { t as Ua } from "./IconSearch-BKAHkLyX.js";
12
+ import { a as Ya, n as Ja, r as Se, t as Za } from "./data-table-T4QKnrxQ.js";
12
13
  import { t as ta } from "./IconX-pZ9vrtSr.js";
13
- import { t as Ja } from "./toast-BACxYsv6.js";
14
- import { n as Za, t as na } from "./animated-height-zr7BmFY1.js";
14
+ import { t as et } from "./toast-BACxYsv6.js";
15
+ import { n as at, t as na } from "./animated-height-zr7BmFY1.js";
15
16
  import { n as Te, t as te } from "./scroll-area-DSwD9th7.js";
16
17
  import { i as ra } from "./checkbox-CwvoEJhd.js";
17
- import { t as et } from "./form-AiHbbw4m.js";
18
+ import { t as tt } from "./form-AiHbbw4m.js";
18
19
  import { i as Y } from "./menu-CoMrYnd1.js";
19
- import { t as at } from "./ghost-search-8PzP73zS.js";
20
+ import { t as nt } from "./ghost-search-8PzP73zS.js";
20
21
  import { t as X } from "./tooltip-BTF7GChl.js";
21
- import { t as Ge } from "./description-list-SIlI9ZHs.js";
22
- import { t as tt } from "./box-search-C9EVZgcb.js";
23
- import { Children as U, Fragment as nt, createContext as B, isValidElement as de, useCallback as Pe, useContext as k, useEffect as L, useId as Ie, useLayoutEffect as H, useMemo as V, useRef as C, useState as _, useSyncExternalStore as ge } from "react";
22
+ import { t as Ge } from "./description-list-BRRQ0oF6.js";
23
+ import { t as rt } from "./box-search-C9EVZgcb.js";
24
+ import { Children as U, Fragment as it, createContext as O, isValidElement as de, useCallback as Pe, useContext as k, useEffect as B, useId as Ie, useLayoutEffect as H, useMemo as V, useRef as C, useState as _, useSyncExternalStore as ge } from "react";
24
25
  import { Fragment as Z, jsx as a, jsxs as b } from "react/jsx-runtime";
25
26
  import { AnimatePresence as z, motion as N, useIsPresent as ia, useReducedMotion as I } from "motion/react";
26
27
  import { Dialog as le } from "@base-ui/react/dialog";
27
28
  import { createPortal as $e } from "react-dom";
28
- var ne = "rounded-base border border-pho-secondary bg-pho-primary [--choice-card-inset:0.75rem]", ue = "divide-y divide-pho-secondary [&>:has(+[data-basic-page-alert])]:border-b-0", sa = `${ne} ${ue} gap-0`, We = "flex min-w-0 flex-col gap-3 rounded-base border border-pho-secondary bg-pho-page p-5 [--choice-card-inset:0.75rem]", rt = "flex min-h-[4.25rem] min-w-0 flex-col gap-3 px-5 py-4 sm:flex-row sm:items-center sm:justify-between sm:gap-6", it = "flex flex-col gap-3 px-5 py-4", st = "-mx-5 -mb-4 flex items-center rounded-b-[calc(0.75rem-1px)] bg-pho-secondary py-1 pr-3 pl-5", lt = "-mx-2 -mt-1.5 flex items-center rounded-sm bg-pho-secondary px-2 py-0.5", P = za, F = Fa, j = 12, la = B(null), Oe = B(!1), ot = 768;
29
- function ct(e, t = "default") {
29
+ var ne = "rounded-base border border-pho-secondary bg-pho-primary [--choice-card-inset:0.75rem]", ue = "divide-y divide-pho-secondary [&>:has(+[data-basic-page-alert])]:border-b-0", sa = `${ne} ${ue} gap-0`, We = "flex min-w-0 flex-col gap-3 rounded-base border border-pho-secondary bg-pho-page p-5 [--choice-card-inset:0.75rem]", st = "flex min-h-[4.25rem] min-w-0 flex-col gap-3 px-5 py-4 sm:flex-row sm:items-center sm:justify-between sm:gap-6", lt = "flex flex-col gap-3 px-5 py-4", ot = "-mx-5 -mb-4 flex items-center rounded-b-[calc(0.75rem-1px)] bg-pho-secondary py-1 pr-3 pl-5", ct = "-mx-2 -mt-1.5 flex items-center rounded-sm bg-pho-secondary px-2 py-0.5", P = Ga, F = Ha, j = 12, la = O(null), Oe = O(!1), dt = 768;
30
+ function ut(e, t = "default") {
30
31
  return Math.round(t === "wide" ? Math.min(Math.max(e * (2 / 3), 448), 768) : Math.min(Math.max(e * 0.4, 320), 448));
31
32
  }
32
- var oa = B(null), ca = B(null);
33
- function dt(e) {
34
- const [t, n] = _(null), [r, l] = _(!1), [i, o] = _(!1), [p, s] = _(!1), [d, m] = _(() => ({
33
+ var oa = O(null), ca = O(null);
34
+ function pt(e) {
35
+ const [t, n] = _(null), [r, l] = _(!1), [i, o] = _(!1), [p, s] = _(!1), [u, m] = _(() => ({
35
36
  width: typeof window > "u" ? 0 : window.innerWidth,
36
37
  height: null
37
38
  }));
@@ -51,40 +52,40 @@ function dt(e) {
51
52
  }, [e, r]), {
52
53
  host: V(() => ({
53
54
  slot: t,
54
- paneNarrow: d.width < ot,
55
- paneWidth: d.width,
56
- paneHeight: d.height,
55
+ paneNarrow: u.width < dt,
56
+ paneWidth: u.width,
57
+ paneHeight: u.height,
57
58
  setOpen: o,
58
59
  setAsPage: s,
59
60
  setPresent: l
60
- }), [t, d]),
61
+ }), [t, u]),
61
62
  setSlot: n,
62
63
  open: i,
63
64
  asPage: p
64
65
  };
65
66
  }
66
- function ut(e) {
67
+ function mt(e) {
67
68
  return e == null ? window.scrollY : e.scrollTop;
68
69
  }
69
70
  function Ve(e, t) {
70
71
  e == null ? window.scrollTo({ top: t }) : e.scrollTop = t;
71
72
  }
72
- function pt({ condense: e = !0, width: t, prerendered: n = !1, className: r, children: l, ref: i, ...o }) {
73
- const p = k(ie)?.adopt ?? !1, s = k(ca), d = e === "pinned", [m, c] = _(!1), h = C(0), g = Pe((q) => {
73
+ function ft({ condense: e = !0, width: t, prerendered: n = !1, className: r, children: l, ref: i, ...o }) {
74
+ const p = k(ie)?.adopt ?? !1, s = k(ca), u = e === "pinned", [m, c] = _(!1), h = C(0), g = Pe((q) => {
74
75
  h.current += q ? 1 : -1, c(h.current > 0);
75
- }, []), v = t === "full" && s == null, y = t === "wide" || t == null && m, [w] = _(Qa), f = C(null), A = V(() => ({
76
+ }, []), v = t === "full" && s == null, y = t === "wide" || t == null && m, [w] = _(Ya), f = C(null), A = V(() => ({
76
77
  ref: f,
77
78
  prerendered: n
78
- }), [n]), [x, E] = _(null), [S, O] = _(null);
79
- L(() => {
79
+ }), [n]), [x, E] = _(null), [S, L] = _(null);
80
+ B(() => {
80
81
  if (s != null)
81
82
  return s.setBack(S), () => s.setBack(null);
82
83
  }, [s, S]);
83
- const { host: M, setSlot: D, open: W, asPage: se } = dt(f), G = W && se, ye = V(() => ({
84
+ const { host: M, setSlot: D, open: W, asPage: se } = pt(f), G = W && se, ye = V(() => ({
84
85
  setTitle: E,
85
- setTail: O,
86
- pinned: d
87
- }), [d]), T = V(() => ({
86
+ setTail: L,
87
+ pinned: u
88
+ }), [u]), T = V(() => ({
88
89
  tail: s == null ? S : null,
89
90
  silent: G || s != null
90
91
  }), [
@@ -97,15 +98,15 @@ function pt({ condense: e = !0, width: t, prerendered: n = !1, className: r, chi
97
98
  if (G === R.current || q == null) return;
98
99
  R.current = G;
99
100
  const we = Me(q);
100
- G ? (K.current = ut(we), Ve(we, 0)) : Ve(we, K.current);
101
+ G ? (K.current = mt(we), Ve(we, 0)) : Ve(we, K.current);
101
102
  }, [G]);
102
- const $ = e && !d ? /* @__PURE__ */ a(da, {
103
+ const $ = e && !u ? /* @__PURE__ */ a(da, {
103
104
  title: x,
104
105
  tail: s == null ? S : null,
105
106
  silent: G || s != null
106
107
  }) : null, xe = /* @__PURE__ */ a("div", {
107
108
  "data-basic-page-column": "",
108
- className: u("mx-auto flex w-full min-w-0 flex-1 flex-col px-5 pt-12 pb-12 *:min-w-0", s == null && (v ? "px-0 pb-0" : y ? "max-w-[84rem] md:px-8" : "max-w-[44.5rem]"), d ? "pt-0 [&_[data-basic-page-back]]:hidden" : p || s != null ? "[&_[data-basic-page-back]]:hidden" : "has-[[data-basic-page-back]]:pt-16"),
109
+ className: d("mx-auto flex w-full min-w-0 flex-1 flex-col px-5 pt-12 pb-12 *:min-w-0", s == null && (v ? "px-0 pb-0" : y ? "max-w-[84rem] md:px-8" : "max-w-[44.5rem]"), u ? "pt-0 [&_[data-basic-page-back]]:hidden" : p || s != null ? "[&_[data-basic-page-back]]:hidden" : "has-[[data-basic-page-back]]:pt-16"),
109
110
  children: e ? /* @__PURE__ */ a(Be.Provider, {
110
111
  value: ye,
111
112
  children: /* @__PURE__ */ a(ma.Provider, {
@@ -118,8 +119,8 @@ function pt({ condense: e = !0, width: t, prerendered: n = !1, className: r, chi
118
119
  "data-basic-page-root": "",
119
120
  "data-basic-page-width": v ? "full" : y ? "wide" : void 0,
120
121
  "data-basic-page-prerendered": n ? "" : void 0,
121
- "data-basic-page-pinned": d ? "" : void 0,
122
- className: u("relative flex min-h-full w-full min-w-0 flex-row", r),
122
+ "data-basic-page-pinned": u ? "" : void 0,
123
+ className: d("relative flex min-h-full w-full min-w-0 flex-row", r),
123
124
  ...o,
124
125
  ref: (q) => {
125
126
  f.current = q, typeof i == "function" ? i(q) : i != null && (i.current = q);
@@ -128,13 +129,13 @@ function pt({ condense: e = !0, width: t, prerendered: n = !1, className: r, chi
128
129
  value: A,
129
130
  children: /* @__PURE__ */ a(oa.Provider, {
130
131
  value: M,
131
- children: /* @__PURE__ */ a(Ua.Provider, {
132
+ children: /* @__PURE__ */ a(Ja.Provider, {
132
133
  value: g,
133
134
  children: /* @__PURE__ */ b(Se.Provider, {
134
135
  value: w,
135
136
  children: [/* @__PURE__ */ b("div", {
136
137
  "data-basic-page-main": "",
137
- className: u("flex min-w-0 flex-1 flex-col", G && "hidden"),
138
+ className: d("flex min-w-0 flex-1 flex-col", G && "hidden"),
138
139
  children: [$, xe]
139
140
  }), /* @__PURE__ */ a("div", {
140
141
  ref: D,
@@ -148,23 +149,23 @@ function pt({ condense: e = !0, width: t, prerendered: n = !1, className: r, chi
148
149
  }
149
150
  var Ne = /* @__PURE__ */ new Set();
150
151
  function da({ title: e, tail: t, silent: n = !1, pinned: r = !1, className: l }) {
151
- const i = I(), [o, p] = _(() => r || !n && Ne.size > 0), s = k(ie), d = Ie();
152
+ const i = I(), [o, p] = _(() => r || !n && Ne.size > 0), s = k(ie), u = Ie();
152
153
  H(() => {
153
154
  if (!(!o || n))
154
- return Ne.add(d), () => {
155
- Ne.delete(d);
155
+ return Ne.add(u), () => {
156
+ Ne.delete(u);
156
157
  };
157
158
  }, [
158
- d,
159
+ u,
159
160
  o,
160
161
  n
161
- ]), L(() => {
162
+ ]), B(() => {
162
163
  if (s != null) {
163
164
  if (n) {
164
- s.store.clear(d);
165
+ s.store.clear(u);
165
166
  return;
166
167
  }
167
- s.store.set(d, {
168
+ s.store.set(u, {
168
169
  condensed: o,
169
170
  title: e?.label ?? null,
170
171
  back: t
@@ -172,17 +173,17 @@ function da({ title: e, tail: t, silent: n = !1, pinned: r = !1, className: l })
172
173
  }
173
174
  }, [
174
175
  s,
175
- d,
176
+ u,
176
177
  o,
177
178
  e,
178
179
  t,
179
180
  n
180
- ]), L(() => {
181
+ ]), B(() => {
181
182
  if (s != null)
182
- return () => s.store.clear(d);
183
- }, [s, d]);
183
+ return () => s.store.clear(u);
184
+ }, [s, u]);
184
185
  const m = e?.el ?? null;
185
- L(() => {
186
+ B(() => {
186
187
  if (r) return;
187
188
  if (m == null || typeof IntersectionObserver > "u") {
188
189
  if (typeof requestAnimationFrame > "u") return;
@@ -192,10 +193,10 @@ function da({ title: e, tail: t, silent: n = !1, pinned: r = !1, className: l })
192
193
  const g = new IntersectionObserver(([v]) => p(v != null && !v.isIntersecting), { root: Me(m) });
193
194
  return g.observe(m), () => g.disconnect();
194
195
  }, [m, r]);
195
- const c = i ? 0 : -At, h = i ? "blur(0px)" : `blur(${Te}px)`;
196
+ const c = i ? 0 : -Et, h = i ? "blur(0px)" : `blur(${Te}px)`;
196
197
  return /* @__PURE__ */ a("div", {
197
198
  "data-basic-page-condense": "",
198
- className: u("sticky top-0 z-20 h-0 overflow-visible", l),
199
+ className: d("sticky top-0 z-20 h-0 overflow-visible", l),
199
200
  children: /* @__PURE__ */ a(z, {
200
201
  initial: !1,
201
202
  children: o && !(s?.adopt ?? !1) && /* @__PURE__ */ b(N.div, {
@@ -236,7 +237,7 @@ function da({ title: e, tail: t, silent: n = !1, pinned: r = !1, className: l })
236
237
  },
237
238
  transition: {
238
239
  ...pe,
239
- y: _t
240
+ y: Ct
240
241
  },
241
242
  className: "text-pho-primary block max-w-full min-w-0 truncate text-center text-base font-medium",
242
243
  children: e?.label
@@ -245,28 +246,28 @@ function da({ title: e, tail: t, silent: n = !1, pinned: r = !1, className: l })
245
246
  })
246
247
  });
247
248
  }
248
- function mt(e) {
249
+ function ht(e) {
249
250
  return e.normalize("NFKD").replace(/[\u0300-\u036f]/g, "").toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "");
250
251
  }
251
- function ft(e) {
252
+ function gt(e) {
252
253
  if (!(typeof e != "string" && typeof e != "number"))
253
- return mt(String(e)) || void 0;
254
+ return ht(String(e)) || void 0;
254
255
  }
255
256
  function Le(e, t) {
256
257
  if (e !== "")
257
- return e ?? ft(t);
258
+ return e ?? gt(t);
258
259
  }
259
- var ht = (e) => `basic-page-morph-${e}`, gt = { layout: P }, je = 10, qe = {
260
+ var bt = (e) => `basic-page-morph-${e}`, vt = { layout: P }, je = 10, qe = {
260
261
  delay: 0.2,
261
262
  duration: 0.12,
262
263
  ease: "easeOut"
263
- }, bt = {
264
+ }, yt = {
264
265
  duration: 0.18,
265
266
  ease: "easeOut"
266
- }, vt = -8, yt = {
267
+ }, xt = -8, wt = {
267
268
  duration: 0.16,
268
269
  ease: "easeOut"
269
- }, xt = {
270
+ }, Nt = {
270
271
  delay: 0.14,
271
272
  duration: 0.16,
272
273
  ease: "easeOut"
@@ -274,7 +275,7 @@ var ht = (e) => `basic-page-morph-${e}`, gt = { layout: P }, je = 10, qe = {
274
275
  duration: 0.12,
275
276
  ease: "easeOut"
276
277
  }, J = [];
277
- function wt(e) {
278
+ function _t(e) {
278
279
  const t = C({ labels: e });
279
280
  t.current.labels = e, H(() => {
280
281
  const n = t.current;
@@ -290,16 +291,16 @@ function pa() {
290
291
  });
291
292
  return e;
292
293
  }
293
- var Be = B(null), ma = B({
294
+ var Be = O(null), ma = O({
294
295
  tail: null,
295
296
  silent: !1
296
297
  }), Ce = {
297
298
  condensed: !1,
298
299
  title: null,
299
300
  back: null
300
- }, ie = B(null), be = () => () => {
301
+ }, ie = O(null), be = () => () => {
301
302
  }, Ke = () => Ce;
302
- function Nt({ adopt: e = !0, children: t }) {
303
+ function At({ adopt: e = !0, children: t }) {
303
304
  const [n] = _(() => {
304
305
  let l = Ce, i = null;
305
306
  const o = /* @__PURE__ */ new Set(), p = () => {
@@ -307,8 +308,8 @@ function Nt({ adopt: e = !0, children: t }) {
307
308
  };
308
309
  return {
309
310
  get: () => l,
310
- set(s, d) {
311
- i = s, l = d, p();
311
+ set(s, u) {
312
+ i = s, l = u, p();
312
313
  },
313
314
  clear(s) {
314
315
  i === s && (i = null, l = Ce, p());
@@ -326,11 +327,11 @@ function Nt({ adopt: e = !0, children: t }) {
326
327
  children: t
327
328
  });
328
329
  }
329
- function hr() {
330
+ function vr() {
330
331
  const e = k(ie);
331
332
  return ge(e?.store.subscribe ?? be, e?.store.get ?? Ke, e?.store.get ?? Ke);
332
333
  }
333
- var pe = Ha, _t = Ga, At = -8;
334
+ var pe = za, Ct = $a, Et = -8;
334
335
  function Me(e) {
335
336
  if (typeof getComputedStyle != "function") return null;
336
337
  for (let t = e.parentElement; t != null && t !== document.body; t = t.parentElement) {
@@ -339,8 +340,8 @@ function Me(e) {
339
340
  }
340
341
  return null;
341
342
  }
342
- var _e = /* @__PURE__ */ new Map(), Ct = 96;
343
- function Et(e) {
343
+ var _e = /* @__PURE__ */ new Map(), kt = 96;
344
+ function Rt(e) {
344
345
  const t = e.closest("[data-basic-page-root]"), n = t?.querySelector("[data-basic-page-column]");
345
346
  return !t || !n ? 0 : n.getBoundingClientRect().left - t.getBoundingClientRect().left;
346
347
  }
@@ -348,9 +349,9 @@ function fa(e) {
348
349
  const [t] = _(() => {
349
350
  if (e == null) return !1;
350
351
  const r = _e.get(e);
351
- return r != null && r.visible && r.el.isConnected && Et(r.el) <= Ct;
352
+ return r != null && r.visible && r.el.isConnected && Rt(r.el) <= kt;
352
353
  }), n = C(null);
353
- return L(() => {
354
+ return B(() => {
354
355
  if (e == null || typeof IntersectionObserver > "u") return;
355
356
  const r = n.current;
356
357
  if (!r) return;
@@ -368,7 +369,7 @@ function fa(e) {
368
369
  ref: n
369
370
  };
370
371
  }
371
- var kt = {
372
+ var St = {
372
373
  fade: {
373
374
  initial: { opacity: 0 },
374
375
  animate: { opacity: 1 },
@@ -391,48 +392,48 @@ var kt = {
391
392
  slide: {
392
393
  initial: { x: "-100%" },
393
394
  animate: { x: 0 },
394
- transition: { x: xt }
395
+ transition: { x: Nt }
395
396
  }
396
397
  };
397
398
  function ha({ morphId: e, fromClassName: t, fly: n, morphRef: r, arrival: l, className: i, children: o }) {
398
- const [p, s] = _(!1), d = !n && l != null ? kt[l] : null;
399
+ const [p, s] = _(!1), u = !n && l != null ? St[l] : null;
399
400
  return /* @__PURE__ */ b(N.span, {
400
401
  ref: r,
401
- layoutId: ht(e),
402
- initial: d?.initial,
403
- animate: d?.animate,
404
- transition: n ? gt : {
402
+ layoutId: bt(e),
403
+ initial: u?.initial,
404
+ animate: u?.animate,
405
+ transition: n ? vt : {
405
406
  layout: { duration: 0 },
406
- ...d?.transition
407
+ ...u?.transition
407
408
  },
408
409
  onLayoutAnimationStart: () => {
409
410
  n && s(!0);
410
411
  },
411
412
  onLayoutAnimationComplete: () => s(!1),
412
- className: u("relative inline-block", i),
413
+ className: d("relative inline-block", i),
413
414
  children: [o, p && /* @__PURE__ */ a(N.span, {
414
415
  "aria-hidden": !0,
415
416
  initial: { opacity: 1 },
416
417
  animate: { opacity: 0 },
417
- transition: bt,
418
+ transition: yt,
418
419
  onAnimationComplete: () => s(!1),
419
- className: u("absolute inset-0", t),
420
+ className: d("absolute inset-0", t),
420
421
  children: o
421
422
  })]
422
423
  });
423
424
  }
424
- var Xe = "max-w-full min-w-0 truncate align-top", Qe = "flex shrink-0 items-center", ga = B(!1);
425
+ var Xe = "max-w-full min-w-0 truncate align-top", Qe = "flex shrink-0 items-center", ga = O(!1);
425
426
  function Ue(e) {
426
427
  return typeof e == "string" || typeof e == "number" ? e : /* @__PURE__ */ a(ga.Provider, {
427
428
  value: !0,
428
429
  children: e
429
430
  });
430
431
  }
431
- function Rt({ inBar: e = !0, children: t }) {
432
+ function Tt({ inBar: e = !0, children: t }) {
432
433
  return k(ga) && !e ? null : /* @__PURE__ */ a(Z, { children: t });
433
434
  }
434
- function St({ id: e, morphId: t, enter: n, trailing: r, className: l, children: i, ...o }) {
435
- const p = Le(e, i), s = I(), d = ve(n === !0), m = fa(t), c = pa(), h = !s && (t != null || d === !0), g = d || c != null ? "rise" : void 0, v = k(Be), y = v?.pinned ?? !1, w = k(ie)?.adopt ?? !1, f = k(ma), A = C(null);
435
+ function Pt({ id: e, morphId: t, enter: n, trailing: r, className: l, children: i, ...o }) {
436
+ const p = Le(e, i), s = I(), u = ve(n === !0), m = fa(t), c = pa(), h = !s && (t != null || u === !0), g = u || c != null ? "rise" : void 0, v = k(Be), y = v?.pinned ?? !1, w = k(ie)?.adopt ?? !1, f = k(ma), A = C(null);
436
437
  H(() => {
437
438
  if (!(v == null || y))
438
439
  return v.setTitle({
@@ -448,7 +449,7 @@ function St({ id: e, morphId: t, enter: n, trailing: r, className: l, children:
448
449
  H(() => {
449
450
  J.length > 0 && E(!1);
450
451
  }, []);
451
- const S = r != null && r !== !1, O = !s && (t != null ? m.fly || g != null : d === !0), M = t != null && !s ? /* @__PURE__ */ a(ha, {
452
+ const S = r != null && r !== !1, L = !s && (t != null ? m.fly || g != null : u === !0), M = t != null && !s ? /* @__PURE__ */ a(ha, {
452
453
  morphId: t,
453
454
  fromClassName: "text-pho-secondary",
454
455
  fly: m.fly,
@@ -456,7 +457,7 @@ function St({ id: e, morphId: t, enter: n, trailing: r, className: l, children:
456
457
  arrival: g,
457
458
  className: Xe,
458
459
  children: i
459
- }) : d && !s ? /* @__PURE__ */ a(N.span, {
460
+ }) : u && !s ? /* @__PURE__ */ a(N.span, {
460
461
  initial: {
461
462
  opacity: 0,
462
463
  y: j
@@ -469,7 +470,7 @@ function St({ id: e, morphId: t, enter: n, trailing: r, className: l, children:
469
470
  y: P,
470
471
  opacity: F
471
472
  },
472
- className: u("inline-block", Xe),
473
+ className: d("inline-block", Xe),
473
474
  children: i
474
475
  }) : S ? /* @__PURE__ */ a("span", {
475
476
  className: "min-w-0 truncate",
@@ -487,7 +488,7 @@ function St({ id: e, morphId: t, enter: n, trailing: r, className: l, children:
487
488
  }), /* @__PURE__ */ b("h1", {
488
489
  id: p,
489
490
  "data-basic-page-title": "",
490
- className: u("text-display-base text-pho-primary max-w-full min-w-0 scroll-mt-12 px-5 font-medium", !y && "min-h-[1lh]", h ? "whitespace-nowrap" : "truncate", y && "sr-only", l),
491
+ className: d("text-display-base text-pho-primary max-w-full min-w-0 scroll-mt-12 px-5 font-medium", !y && "min-h-[1lh]", h ? "whitespace-nowrap" : "truncate", y && "sr-only", l),
491
492
  ...o,
492
493
  ref: (D) => {
493
494
  A.current = D;
@@ -496,7 +497,7 @@ function St({ id: e, morphId: t, enter: n, trailing: r, className: l, children:
496
497
  },
497
498
  children: [S ? /* @__PURE__ */ b("span", {
498
499
  className: "flex min-h-[1lh] max-w-full min-w-0 items-center gap-2",
499
- children: [M, O ? /* @__PURE__ */ a(N.span, {
500
+ children: [M, L ? /* @__PURE__ */ a(N.span, {
500
501
  "data-basic-page-title-trailing": "",
501
502
  initial: {
502
503
  opacity: 0,
@@ -523,23 +524,23 @@ function St({ id: e, morphId: t, enter: n, trailing: r, className: l, children:
523
524
  animate: { opacity: 0 },
524
525
  transition: ua,
525
526
  onAnimationComplete: () => E(!1),
526
- className: u("text-pho-secondary pointer-events-none absolute inline-flex items-center", En),
527
+ className: d("text-pho-secondary pointer-events-none absolute inline-flex items-center", Rn),
527
528
  children: /* @__PURE__ */ a(ce, {})
528
529
  })]
529
530
  })] });
530
531
  }
531
- var De = B(!1);
532
- function Tt() {
532
+ var De = O(!1);
533
+ function It() {
533
534
  const e = k(De), t = I(), [n] = _(() => e && !t);
534
535
  return n;
535
536
  }
536
- var Pt = {
537
+ var Ot = {
537
538
  height: 0,
538
539
  opacity: 0,
539
540
  paddingTop: 0,
540
541
  paddingBottom: 0,
541
542
  borderTopWidth: 0
542
- }, It = {
543
+ }, Lt = {
543
544
  y: P,
544
545
  opacity: F,
545
546
  height: P,
@@ -548,7 +549,7 @@ var Pt = {
548
549
  borderTopWidth: P
549
550
  };
550
551
  function ee() {
551
- const e = Tt(), t = ia(), n = I();
552
+ const e = It(), t = ia(), n = I();
552
553
  return {
553
554
  initial: e ? {
554
555
  opacity: 0,
@@ -558,15 +559,15 @@ function ee() {
558
559
  opacity: 1,
559
560
  y: 0
560
561
  },
561
- exit: Pt,
562
- transition: n ? { duration: 0 } : It,
562
+ exit: Ot,
563
+ transition: n ? { duration: 0 } : Lt,
563
564
  leaving: !t
564
565
  };
565
566
  }
566
- var Ot = typeof process < "u" && process.env.NODE_ENV !== "production";
567
+ var Bt = typeof process < "u" && process.env.NODE_ENV !== "production";
567
568
  function ba(e, t, n, r) {
568
- L(() => {
569
- if (!Ot || e.current == null || typeof getComputedStyle != "function") return;
569
+ B(() => {
570
+ if (!Bt || e.current == null || typeof getComputedStyle != "function") return;
570
571
  const l = (o) => {
571
572
  const p = getComputedStyle(o).rowGap;
572
573
  return p === "" || p === "normal" ? null : parseFloat(p);
@@ -580,29 +581,29 @@ function ba(e, t, n, r) {
580
581
  }
581
582
  });
582
583
  }
583
- function Lt(e) {
584
+ function Mt(e) {
584
585
  return Array.from(e.querySelectorAll("[data-basic-page-stack], [data-basic-page-title], [data-basic-page-header]")).some((t) => t.closest('[aria-busy="true"]') != null);
585
586
  }
586
- var Bt = () => !1, Mt = () => !0;
587
- function Dt() {
588
- return ge(be, Bt, Mt);
587
+ var Dt = () => !1, Ft = () => !0;
588
+ function Ht() {
589
+ return ge(be, Dt, Ft);
589
590
  }
590
591
  function ve(e, t = !1) {
591
- const n = k(la), r = k(Oe), l = Dt(), [i] = _(() => {
592
+ const n = k(la), r = k(Oe), l = Ht(), [i] = _(() => {
592
593
  if (l || !e || n?.prerendered || r) return !1;
593
594
  if (t) return !0;
594
595
  if (document.querySelector("[data-basic-page-prerendered]") != null) return !1;
595
596
  const o = n ? n.ref.current : document;
596
- return o == null || !Lt(o);
597
+ return o == null || !Mt(o);
597
598
  });
598
599
  return i;
599
600
  }
600
601
  function oe({ enter: e, className: t, children: n, ref: r, ...l }) {
601
602
  const i = I(), o = C(null);
602
603
  ba(o, "Stack", 40, (h) => h.hasAttribute("data-basic-page-fields") ? 20 : h.hasAttribute("data-basic-page-card") || h.hasAttribute("data-basic-page-onboard") || h.hasAttribute("data-basic-page-receipt") || h.hasAttribute("data-basic-page-header") || h.hasAttribute("data-basic-page-columns") || h.hasAttribute("data-data-table") || h.hasAttribute("data-code-block") ? null : 12);
603
- const p = ve(e ?? !0, e === !0), s = l["aria-busy"], d = s === !0 || s === "true", m = C(d), c = m.current && !d;
604
- return L(() => {
605
- m.current = d;
604
+ const p = ve(e ?? !0, e === !0), s = l["aria-busy"], u = s === !0 || s === "true", m = C(u), c = m.current && !u;
605
+ return B(() => {
606
+ m.current = u;
606
607
  }), /* @__PURE__ */ a(N.div, {
607
608
  ref: (h) => {
608
609
  o.current = h, typeof r == "function" ? r(h) : r != null && (r.current = h);
@@ -620,7 +621,7 @@ function oe({ enter: e, className: t, children: n, ref: r, ...l }) {
620
621
  y: P,
621
622
  opacity: F
622
623
  },
623
- className: u("mt-7 flex min-w-0 flex-col gap-10 [--choice-card-inset:1.25rem]", "[&:has(>*:first-child:not([data-basic-page-callout])>[data-basic-page-header]:first-child)]:mt-6 [&:has(>*:first-child:not([data-basic-page-callout])>h2:first-child)]:mt-6 [&:has(>[data-basic-page-header]:first-child)]:mt-6 [&:has(>h2:first-child)]:mt-6", "[&:has(>*:first-child>[data-basic-page-form-body]>[data-basic-page-header]:first-child)]:mt-6 [&:has(>*:first-child>[data-basic-page-form-body]>h2:first-child)]:mt-6", "[[data-basic-page-pinned]:not([data-basic-page-width=full])_[data-basic-page-column]_&]:mt-3 [[data-basic-page-pinned][data-basic-page-width=full]_[data-basic-page-column]_&]:mt-0", "*:min-w-0 [&>*:not([data-basic-page-fields]):not([data-basic-page-card]):not([data-basic-page-callout]):not([data-basic-page-onboard]):not([data-basic-page-receipt]):not([data-basic-page-header]):not([data-basic-page-columns]):not([data-data-table]):not([data-code-block])]:flex [&>*:not([data-basic-page-fields]):not([data-basic-page-card]):not([data-basic-page-callout]):not([data-basic-page-onboard]):not([data-basic-page-receipt]):not([data-basic-page-header]):not([data-basic-page-columns]):not([data-data-table]):not([data-code-block])]:flex-col [&>*:not([data-basic-page-fields]):not([data-basic-page-card]):not([data-basic-page-callout]):not([data-basic-page-onboard]):not([data-basic-page-receipt]):not([data-basic-page-header]):not([data-basic-page-columns]):not([data-data-table]):not([data-code-block])]:gap-3", t),
624
+ className: d("mt-7 flex min-w-0 flex-col gap-10 [--choice-card-inset:1.25rem]", "[&:has(>*:first-child:not([data-basic-page-callout])>[data-basic-page-header]:first-child)]:mt-6 [&:has(>*:first-child:not([data-basic-page-callout])>h2:first-child)]:mt-6 [&:has(>[data-basic-page-header]:first-child)]:mt-6 [&:has(>h2:first-child)]:mt-6", "[&:has(>*:first-child>[data-basic-page-form-body]>[data-basic-page-header]:first-child)]:mt-6 [&:has(>*:first-child>[data-basic-page-form-body]>h2:first-child)]:mt-6", "[[data-basic-page-pinned]:not([data-basic-page-width=full])_[data-basic-page-column]_&]:mt-3 [[data-basic-page-pinned][data-basic-page-width=full]_[data-basic-page-column]_&]:mt-0", "*:min-w-0 [&>*:not([data-basic-page-fields]):not([data-basic-page-card]):not([data-basic-page-callout]):not([data-basic-page-onboard]):not([data-basic-page-receipt]):not([data-basic-page-header]):not([data-basic-page-columns]):not([data-data-table]):not([data-code-block])]:flex [&>*:not([data-basic-page-fields]):not([data-basic-page-card]):not([data-basic-page-callout]):not([data-basic-page-onboard]):not([data-basic-page-receipt]):not([data-basic-page-header]):not([data-basic-page-columns]):not([data-data-table]):not([data-code-block])]:flex-col [&>*:not([data-basic-page-fields]):not([data-basic-page-card]):not([data-basic-page-callout]):not([data-basic-page-onboard]):not([data-basic-page-receipt]):not([data-basic-page-header]):not([data-basic-page-columns]):not([data-data-table]):not([data-code-block])]:gap-3", t),
624
625
  ...l,
625
626
  children: /* @__PURE__ */ a(De.Provider, {
626
627
  value: c,
@@ -629,7 +630,7 @@ function oe({ enter: e, className: t, children: n, ref: r, ...l }) {
629
630
  });
630
631
  }
631
632
  var Ye = "@container grid min-w-0 grid-cols-[minmax(0,1fr)_auto_auto] mb-3 gap-y-0 [&>:not([data-basic-page-search]):not([data-basic-page-header-action])]:col-start-1 [&>:nth-child(1_of_:not([data-basic-page-search]):not([data-basic-page-header-action])):nth-last-child(1_of_:not([data-basic-page-search]):not([data-basic-page-header-action]))]:row-span-2 [&>:nth-child(1_of_:not([data-basic-page-search]):not([data-basic-page-header-action])):nth-last-child(1_of_:not([data-basic-page-search]):not([data-basic-page-header-action]))]:self-center [&>:nth-child(1_of_:not([data-basic-page-search]):not([data-basic-page-header-action])):not(:nth-last-child(1_of_:not([data-basic-page-search]):not([data-basic-page-header-action])))]:self-end [&>:not([data-basic-page-search]):not([data-basic-page-header-action]):not(:nth-child(1_of_:not([data-basic-page-search]):not([data-basic-page-header-action])))]:self-start [[data-basic-page-callout]_&]:mb-0 [[data-basic-page-stack]>*>&]:mb-0 [[data-basic-page-stack]>*>[data-basic-page-form-body]>&]:mb-0";
632
- function Ft({ enter: e, className: t, ...n }) {
633
+ function zt({ enter: e, className: t, ...n }) {
633
634
  const r = I();
634
635
  return ve(e === !0) && !r ? /* @__PURE__ */ a(N.div, {
635
636
  initial: {
@@ -644,38 +645,38 @@ function Ft({ enter: e, className: t, ...n }) {
644
645
  y: P,
645
646
  opacity: F
646
647
  },
647
- className: u(Ye, t),
648
+ className: d(Ye, t),
648
649
  ...n,
649
650
  "data-basic-page-header": ""
650
651
  }) : /* @__PURE__ */ a("div", {
651
- className: u(Ye, t),
652
+ className: d(Ye, t),
652
653
  ...n,
653
654
  "data-basic-page-header": ""
654
655
  });
655
656
  }
656
- function Ht({ className: e, ...t }) {
657
+ function Gt({ className: e, ...t }) {
657
658
  return /* @__PURE__ */ a("div", {
658
659
  "data-basic-page-header-action": "",
659
- className: u("flex items-center gap-2", "[[data-basic-page-header]>&]:col-start-3 [[data-basic-page-header]>&]:row-span-2 [[data-basic-page-header]>&]:row-start-1 [[data-basic-page-header]>&]:mr-5 [[data-basic-page-header]>&]:ml-4 [[data-basic-page-header]>&]:self-center [[data-basic-page-header]>&]:justify-self-end", "[[data-basic-page-callout]_[data-basic-page-header]>&]:mr-0", e),
660
+ className: d("flex items-center gap-2", "[[data-basic-page-header]>&]:col-start-3 [[data-basic-page-header]>&]:row-span-2 [[data-basic-page-header]>&]:row-start-1 [[data-basic-page-header]>&]:mr-5 [[data-basic-page-header]>&]:ml-4 [[data-basic-page-header]>&]:self-center [[data-basic-page-header]>&]:justify-self-end", "[[data-basic-page-callout]_[data-basic-page-header]>&]:mr-0", e),
660
661
  ...t
661
662
  });
662
663
  }
663
- function zt({ id: e, className: t, children: n, ...r }) {
664
+ function $t({ id: e, className: t, children: n, ...r }) {
664
665
  const l = Le(e, n);
665
666
  return /* @__PURE__ */ a("h2", {
666
667
  id: l,
667
- className: u("text-display-xs text-pho-primary max-w-full min-w-0 scroll-mt-12 truncate px-5 font-medium", "mb-3 [[data-basic-page-callout]_&]:mb-0 [[data-basic-page-header]>&]:mb-0 [[data-basic-page-stack]>*>&]:mb-0 [[data-basic-page-stack]>*>[data-basic-page-form-body]>&]:mb-0", t),
668
+ className: d("text-display-xs text-pho-primary max-w-full min-w-0 scroll-mt-12 truncate px-5 font-medium", "mb-3 [[data-basic-page-callout]_&]:mb-0 [[data-basic-page-header]>&]:mb-0 [[data-basic-page-stack]>*>&]:mb-0 [[data-basic-page-stack]>*>[data-basic-page-form-body]>&]:mb-0", t),
668
669
  ...r,
669
670
  children: n
670
671
  });
671
672
  }
672
673
  function va({ className: e, ...t }) {
673
674
  return /* @__PURE__ */ a("p", {
674
- className: u("text-display-xs text-pho-description px-5 font-normal", e),
675
+ className: d("text-display-xs text-pho-description px-5 font-normal", e),
675
676
  ...t
676
677
  });
677
678
  }
678
- function Gt({ one: e, other: t, ...n }) {
679
+ function Wt({ one: e, other: t, ...n }) {
679
680
  const r = k(Se), l = ge(r?.subscribe ?? be, () => r?.get().api ?? null, () => null);
680
681
  if (l == null) return null;
681
682
  const i = l.query.trim() !== "" ? `${l.matched} of ${l.total}.` : `${l.total} ${l.total === 1 ? e : t}.`;
@@ -684,16 +685,16 @@ function Gt({ one: e, other: t, ...n }) {
684
685
  children: i
685
686
  });
686
687
  }
687
- function $t({ className: e, ...t }) {
688
+ function Vt({ className: e, ...t }) {
688
689
  return /* @__PURE__ */ a("p", {
689
- className: u("text-pho-description px-5 text-xs font-normal", "mt-3 [[data-basic-page-callout]_&]:mt-0 [[data-basic-page-stack]>*>&]:mt-0 [[data-basic-page-stack]>*>[data-basic-page-form-body]>&]:mt-0", e),
690
+ className: d("text-pho-description px-5 text-xs font-normal", "mt-3 [[data-basic-page-callout]_&]:mt-0 [[data-basic-page-stack]>*>&]:mt-0 [[data-basic-page-stack]>*>[data-basic-page-form-body]>&]:mt-0", e),
690
691
  ...t
691
692
  });
692
693
  }
693
- function Wt({ animateHeight: e, className: t, children: n, ...r }) {
694
+ function jt({ animateHeight: e, className: t, children: n, ...r }) {
694
695
  const l = /* @__PURE__ */ a(z, { children: U.toArray(n) });
695
696
  return e ? /* @__PURE__ */ a("div", {
696
- className: u(ne, "min-h-0 gap-0", t),
697
+ className: d(ne, "min-h-0 gap-0", t),
697
698
  ...r,
698
699
  "data-basic-page-card": "",
699
700
  children: /* @__PURE__ */ a(na, {
@@ -702,36 +703,36 @@ function Wt({ animateHeight: e, className: t, children: n, ...r }) {
702
703
  children: l
703
704
  })
704
705
  }) : /* @__PURE__ */ a("div", {
705
- className: u(sa, t),
706
+ className: d(sa, t),
706
707
  ...r,
707
708
  "data-basic-page-card": "",
708
709
  children: l
709
710
  });
710
711
  }
711
- function Vt({ className: e, ...t }) {
712
+ function qt({ className: e, ...t }) {
712
713
  const { leaving: n, ...r } = ee();
713
714
  return /* @__PURE__ */ a(N.div, {
714
715
  ...r,
715
- className: u(it, n && "overflow-hidden", e),
716
+ className: d(lt, n && "overflow-hidden", e),
716
717
  ...t
717
718
  });
718
719
  }
719
- function jt({ divided: e = !1, className: t, ...n }) {
720
+ function Kt({ divided: e = !1, className: t, ...n }) {
720
721
  return /* @__PURE__ */ a("div", {
721
- className: u(e ? lt : st, t),
722
+ className: d(e ? ct : ot, t),
722
723
  ...n
723
724
  });
724
725
  }
725
- function qt({ className: e, icon: t, children: n, ...r }) {
726
+ function Xt({ className: e, icon: t, children: n, ...r }) {
726
727
  if (t == null || t === !1 || t === !0) return /* @__PURE__ */ a("div", {
727
- className: u(We, e),
728
+ className: d(We, e),
728
729
  ...r,
729
730
  "data-basic-page-callout": "",
730
731
  children: n
731
732
  });
732
733
  const [l, ...i] = U.toArray(n);
733
734
  return /* @__PURE__ */ b("div", {
734
- className: u(We, e),
735
+ className: d(We, e),
735
736
  ...r,
736
737
  "data-basic-page-callout": "",
737
738
  children: [/* @__PURE__ */ b("div", {
@@ -747,26 +748,26 @@ function qt({ className: e, icon: t, children: n, ...r }) {
747
748
  }), i]
748
749
  });
749
750
  }
750
- function Kt({ id: e, className: t, children: n, ...r }) {
751
+ function Qt({ id: e, className: t, children: n, ...r }) {
751
752
  const l = Le(e, n);
752
753
  return /* @__PURE__ */ a("h2", {
753
754
  id: l,
754
- className: u("text-display-xs text-pho-primary max-w-full min-w-0 scroll-mt-12 truncate font-medium", t),
755
+ className: d("text-display-xs text-pho-primary max-w-full min-w-0 scroll-mt-12 truncate font-medium", t),
755
756
  ...r,
756
757
  children: n
757
758
  });
758
759
  }
759
- function Xt({ className: e, ...t }) {
760
+ function Ut({ className: e, ...t }) {
760
761
  return /* @__PURE__ */ a("p", {
761
- className: u("text-display-xs text-pho-description font-normal", e),
762
+ className: d("text-display-xs text-pho-description font-normal", e),
762
763
  ...t
763
764
  });
764
765
  }
765
- var Fe = B(null), ya = B(!1);
766
+ var Fe = O(null), ya = O(!1);
766
767
  function xa(e) {
767
768
  return e === "current" || e === "working" || e === "pending";
768
769
  }
769
- function Qt(e) {
770
+ function Yt(e) {
770
771
  let t = -1;
771
772
  return {
772
773
  steps: U.toArray(e).map((n, r) => {
@@ -789,15 +790,15 @@ function Qt(e) {
789
790
  atHand: t
790
791
  };
791
792
  }
792
- function Ut({ paged: e, className: t, children: n, ...r }) {
793
- const { steps: l, atHand: i } = Qt(n);
794
- return e ? /* @__PURE__ */ a(Zt, {
793
+ function Jt({ paged: e, className: t, children: n, ...r }) {
794
+ const { steps: l, atHand: i } = Yt(n);
795
+ return e ? /* @__PURE__ */ a(an, {
795
796
  steps: l,
796
797
  atHand: i,
797
798
  className: t,
798
799
  ...r
799
800
  }) : /* @__PURE__ */ a("ol", {
800
- className: u(sa, "m-0 list-none p-0", t),
801
+ className: d(sa, "m-0 list-none p-0", t),
801
802
  ...r,
802
803
  "data-basic-page-onboard": "",
803
804
  children: l.map((o) => o.state == null ? o.node : /* @__PURE__ */ a(Fe.Provider, {
@@ -809,7 +810,7 @@ function Ut({ paged: e, className: t, children: n, ...r }) {
809
810
  }, o.key))
810
811
  });
811
812
  }
812
- function Yt(e) {
813
+ function Zt(e) {
813
814
  const t = Q(e);
814
815
  return {
815
816
  enter: (n) => ({
@@ -832,7 +833,7 @@ function Yt(e) {
832
833
  }
833
834
  };
834
835
  }
835
- function Jt(e) {
836
+ function en(e) {
836
837
  const t = ia();
837
838
  return /* @__PURE__ */ a(N.section, {
838
839
  ...e,
@@ -840,8 +841,8 @@ function Jt(e) {
840
841
  "data-basic-page-onboard-page": ""
841
842
  });
842
843
  }
843
- function Zt({ steps: e, atHand: t, className: n, ref: r, ...l }) {
844
- const i = I(), o = ve(!0), p = Ie(), s = C(null), d = C(null), m = C(null), [c, h] = _({
844
+ function an({ steps: e, atHand: t, className: n, ref: r, ...l }) {
845
+ const i = I(), o = ve(!0), p = Ie(), s = C(null), u = C(null), m = C(null), [c, h] = _({
845
846
  from: t,
846
847
  direction: 1
847
848
  });
@@ -854,7 +855,7 @@ function Zt({ steps: e, atHand: t, className: n, ref: r, ...l }) {
854
855
  H(() => {
855
856
  if (v.current === t) return;
856
857
  v.current = t;
857
- const f = s.current, A = d.current, x = m.current;
858
+ const f = s.current, A = u.current, x = m.current;
858
859
  if (t === -1 || f == null || A == null || x == null) return;
859
860
  typeof A.scrollIntoView == "function" && A.scrollIntoView({ block: "nearest" });
860
861
  const E = document.activeElement;
@@ -879,9 +880,9 @@ function Zt({ steps: e, atHand: t, className: n, ref: r, ...l }) {
879
880
  className: "relative mt-7 flex min-w-0 flex-col [[data-basic-page-stack]>&]:mt-0",
880
881
  children: [/* @__PURE__ */ a("ol", {
881
882
  ref: (f) => {
882
- d.current = f, typeof r == "function" ? r(f) : r != null && (r.current = f);
883
+ u.current = f, typeof r == "function" ? r(f) : r != null && (r.current = f);
883
884
  },
884
- className: u("m-0 flex min-w-0 scroll-mt-12 list-none items-center gap-3 p-0 px-5", n),
885
+ className: d("m-0 flex min-w-0 scroll-mt-12 list-none items-center gap-3 p-0 px-5", n),
885
886
  ...l,
886
887
  "data-basic-page-onboard-row": "",
887
888
  children: e.map((f) => f.state == null ? f.node : /* @__PURE__ */ a(Fe.Provider, {
@@ -898,12 +899,12 @@ function Zt({ steps: e, atHand: t, className: n, ref: r, ...l }) {
898
899
  }), /* @__PURE__ */ a(z, {
899
900
  initial: !1,
900
901
  mode: "popLayout",
901
- children: w != null ? /* @__PURE__ */ a(Jt, {
902
+ children: w != null ? /* @__PURE__ */ a(en, {
902
903
  ref: (f) => {
903
904
  f != null && (m.current = f);
904
905
  },
905
906
  custom: g,
906
- variants: Yt(i),
907
+ variants: Zt(i),
907
908
  initial: "enter",
908
909
  animate: "rest",
909
910
  exit: "leave",
@@ -933,7 +934,7 @@ function Ea({ state: e, number: t, glyph: n, className: r }) {
933
934
  const l = I();
934
935
  return /* @__PURE__ */ b("span", {
935
936
  "aria-hidden": !0,
936
- className: u(wa, Na[e], r),
937
+ className: d(wa, Na[e], r),
937
938
  children: [/* @__PURE__ */ a(z, {
938
939
  initial: !1,
939
940
  children: e === "done" ? /* @__PURE__ */ a(N.span, {
@@ -953,16 +954,16 @@ var ka = {
953
954
  pending: "Waiting",
954
955
  upcoming: "Not yet",
955
956
  failed: null
956
- }, Ra = B(!1);
957
- function en(e) {
957
+ }, Ra = O(!1);
958
+ function tn(e) {
958
959
  const t = e.findIndex((n) => n === "failed" || n === "pending" || n === "working");
959
960
  return t === -1 ? e.lastIndexOf("done") : t;
960
961
  }
961
- function an({ className: e, children: t, ...n }) {
962
- const r = U.toArray(t), l = en(r.map((i) => de(i) ? i.props.state ?? "upcoming" : null));
962
+ function nn({ className: e, children: t, ...n }) {
963
+ const r = U.toArray(t), l = tn(r.map((i) => de(i) ? i.props.state ?? "upcoming" : null));
963
964
  return /* @__PURE__ */ a("ul", {
964
965
  "data-basic-page-checklist": "",
965
- className: u("m-0 flex list-none flex-col gap-1.5 p-0", e),
966
+ className: d("m-0 flex list-none flex-col gap-1.5 p-0", e),
966
967
  ...n,
967
968
  children: r.map((i, o) => /* @__PURE__ */ a(Ra.Provider, {
968
969
  value: o === l,
@@ -977,7 +978,7 @@ function Sa({ state: e }) {
977
978
  className: "text-pho-error size-4 shrink-0"
978
979
  }) : /* @__PURE__ */ b("span", {
979
980
  "aria-hidden": !0,
980
- className: u(wa, "size-4", Na[e]),
981
+ className: d(wa, "size-4", Na[e]),
981
982
  children: [/* @__PURE__ */ a(z, {
982
983
  initial: !1,
983
984
  children: e === "done" ? /* @__PURE__ */ a(N.span, {
@@ -988,25 +989,25 @@ function Sa({ state: e }) {
988
989
  }), e === "working" ? /* @__PURE__ */ b(Z, { children: [/* @__PURE__ */ a("span", { className: _a }), /* @__PURE__ */ a("span", { className: Aa })] }) : null]
989
990
  });
990
991
  }
991
- function tn({ state: e = "upcoming", value: t, description: n, failure: r = "Failed", className: l, children: i, ...o }) {
992
- const p = k(Ra), s = ka[e], d = e === "failed";
992
+ function rn({ state: e = "upcoming", value: t, description: n, failure: r = "Failed", className: l, children: i, ...o }) {
993
+ const p = k(Ra), s = ka[e], u = e === "failed";
993
994
  return /* @__PURE__ */ b("li", {
994
995
  "data-basic-page-check": e,
995
996
  "data-current": p ? "" : void 0,
996
997
  "aria-current": p ? "step" : void 0,
997
- className: u("text-pho-secondary m-0 grid min-w-0 grid-cols-[auto_minmax(0,1fr)_auto] items-center gap-x-1.5 text-base", l),
998
+ className: d("text-pho-secondary m-0 grid min-w-0 grid-cols-[auto_minmax(0,1fr)_auto] items-center gap-x-1.5 text-base", l),
998
999
  ...o,
999
1000
  children: [
1000
1001
  /* @__PURE__ */ a(Sa, { state: e }),
1001
1002
  /* @__PURE__ */ b("span", {
1002
- className: u("flex min-w-0 items-center gap-1.5", p && "font-medium"),
1003
+ className: d("flex min-w-0 items-center gap-1.5", p && "font-medium"),
1003
1004
  children: [/* @__PURE__ */ b("span", {
1004
1005
  className: "min-w-0",
1005
1006
  children: [i, s ? /* @__PURE__ */ a("span", {
1006
1007
  className: "sr-only",
1007
1008
  children: `, ${s}`
1008
1009
  }) : null]
1009
- }), d ? /* @__PURE__ */ a("span", {
1010
+ }), u ? /* @__PURE__ */ a("span", {
1010
1011
  className: "text-pho-error",
1011
1012
  children: r
1012
1013
  }) : null]
@@ -1016,24 +1017,24 @@ function tn({ state: e = "upcoming", value: t, description: n, failure: r = "Fai
1016
1017
  children: t
1017
1018
  }) : null,
1018
1019
  n != null ? /* @__PURE__ */ a("div", {
1019
- className: u("col-start-2 col-end-4 mt-0.5 text-xs", d ? "text-pho-error" : "text-pho-description"),
1020
+ className: d("col-start-2 col-end-4 mt-0.5 text-xs", u ? "text-pho-error" : "text-pho-description"),
1020
1021
  children: n
1021
1022
  }) : null
1022
1023
  ]
1023
1024
  });
1024
1025
  }
1025
- function nn({ className: e, ...t }) {
1026
+ function sn({ className: e, ...t }) {
1026
1027
  return /* @__PURE__ */ a("ol", {
1027
1028
  "data-basic-page-timeline": "",
1028
- className: u("m-0 flex list-none flex-col p-0", e),
1029
+ className: d("m-0 flex list-none flex-col p-0", e),
1029
1030
  ...t
1030
1031
  });
1031
1032
  }
1032
- function rn({ state: e = "done", title: t, time: n, className: r, children: l, ...i }) {
1033
+ function ln({ state: e = "done", title: t, time: n, className: r, children: l, ...i }) {
1033
1034
  const o = ka[e] ?? (e === "failed" ? "Failed" : null);
1034
1035
  return /* @__PURE__ */ b("li", {
1035
1036
  "data-basic-page-timeline-item": e,
1036
- className: u("group/timeline text-pho-secondary relative m-0 grid min-w-0 grid-cols-[auto_minmax(0,1fr)] gap-x-2.5 pb-5 text-base last:pb-0", r),
1037
+ className: d("group/timeline text-pho-secondary relative m-0 grid min-w-0 grid-cols-[auto_minmax(0,1fr)] gap-x-2.5 pb-5 text-base last:pb-0", r),
1037
1038
  ...i,
1038
1039
  children: [
1039
1040
  /* @__PURE__ */ a("span", {
@@ -1067,12 +1068,12 @@ function rn({ state: e = "done", title: t, time: n, className: r, children: l, .
1067
1068
  ]
1068
1069
  });
1069
1070
  }
1070
- function sn({ seat: e, title: t, icon: n, className: r, ...l }) {
1071
- const { state: i, row: o } = e, p = I(), s = C(null), d = C(null), m = Za("width", s, d, P), c = xa(i), h = Ca[i], g = typeof t == "string" || typeof t == "number" ? `title:${t}` : `state:${i === "done"}`;
1071
+ function on({ seat: e, title: t, icon: n, className: r, ...l }) {
1072
+ const { state: i, row: o } = e, p = I(), s = C(null), u = C(null), m = at("width", s, u, P), c = xa(i), h = Ca[i], g = typeof t == "string" || typeof t == "number" ? `title:${t}` : `state:${i === "done"}`;
1072
1073
  return /* @__PURE__ */ b("li", {
1073
1074
  "data-basic-page-step": i,
1074
1075
  "aria-current": c ? "step" : void 0,
1075
- className: u("m-0 flex min-w-0 items-center", !o.last && "flex-auto", r),
1076
+ className: d("m-0 flex min-w-0 items-center", !o.last && "flex-auto", r),
1076
1077
  ...l,
1077
1078
  children: [
1078
1079
  /* @__PURE__ */ a(Ea, {
@@ -1085,10 +1086,10 @@ function sn({ seat: e, title: t, icon: n, className: r, ...l }) {
1085
1086
  id: o.labelId,
1086
1087
  "data-basic-page-step-title": "",
1087
1088
  style: { width: m },
1088
- className: u("min-w-0 overflow-x-clip text-base font-medium transition-colors duration-200 ease-out", i === "upcoming" ? "text-pho-description" : "text-pho-primary"),
1089
+ className: d("min-w-0 overflow-x-clip text-base font-medium transition-colors duration-200 ease-out", i === "upcoming" ? "text-pho-description" : "text-pho-primary"),
1089
1090
  children: /* @__PURE__ */ a("span", {
1090
- ref: d,
1091
- className: u("relative block w-max pl-3 whitespace-nowrap", !c && "max-sm:w-0 max-sm:pl-0"),
1091
+ ref: u,
1092
+ className: d("relative block w-max pl-3 whitespace-nowrap", !c && "max-sm:w-0 max-sm:pl-0"),
1092
1093
  children: /* @__PURE__ */ a(z, {
1093
1094
  initial: !1,
1094
1095
  mode: "popLayout",
@@ -1106,14 +1107,14 @@ function sn({ seat: e, title: t, icon: n, className: r, ...l }) {
1106
1107
  o.last ? null : /* @__PURE__ */ a("span", {
1107
1108
  "aria-hidden": !0,
1108
1109
  "data-basic-page-step-line": "",
1109
- className: u("ml-3 h-0 min-w-3 flex-1 border-t transition-[border-color] duration-200 ease-out", i === "done" ? "border-pho-ink" : "border-pho-primary")
1110
+ className: d("ml-3 h-0 min-w-3 flex-1 border-t transition-[border-color] duration-200 ease-out", i === "done" ? "border-pho-ink" : "border-pho-primary")
1110
1111
  })
1111
1112
  ]
1112
1113
  });
1113
1114
  }
1114
- function ln({ icon: e, aside: t, title: n, description: r, done: l, working: i, pending: o, className: p, children: s, ...d }) {
1115
+ function cn({ icon: e, aside: t, title: n, description: r, done: l, working: i, pending: o, className: p, children: s, ...u }) {
1115
1116
  const m = k(Fe), c = m?.state ?? (l ? "done" : i ? "working" : o ? "pending" : "current"), h = I();
1116
- if (m?.row != null) return /* @__PURE__ */ a(sn, {
1117
+ if (m?.row != null) return /* @__PURE__ */ a(on, {
1117
1118
  seat: {
1118
1119
  ...m,
1119
1120
  row: m.row
@@ -1121,14 +1122,14 @@ function ln({ icon: e, aside: t, title: n, description: r, done: l, working: i,
1121
1122
  title: n,
1122
1123
  icon: e,
1123
1124
  className: p,
1124
- ...d
1125
+ ...u
1125
1126
  });
1126
1127
  const g = xa(c), v = c === "upcoming", y = Ca[c], w = s != null && s !== !1, f = e != null && e !== !1, A = t != null && t !== !1;
1127
1128
  return /* @__PURE__ */ a("li", {
1128
1129
  "data-basic-page-step": c,
1129
1130
  "aria-current": g ? "step" : void 0,
1130
- className: u("relative m-0 grid min-w-0 grid-cols-[auto_minmax(0,1fr)] grid-rows-[auto_minmax(0,1fr)] items-center gap-x-3 px-5 py-4", "transition-[background-color] duration-200 ease-out first:rounded-t-[calc(0.75rem-1px)] last:rounded-b-[calc(0.75rem-1px)] motion-reduce:transition-none", g && "bg-pho-page", p),
1131
- ...d,
1131
+ className: d("relative m-0 grid min-w-0 grid-cols-[auto_minmax(0,1fr)] grid-rows-[auto_minmax(0,1fr)] items-center gap-x-3 px-5 py-4", "transition-[background-color] duration-200 ease-out first:rounded-t-[calc(0.75rem-1px)] last:rounded-b-[calc(0.75rem-1px)] motion-reduce:transition-none", g && "bg-pho-page", p),
1132
+ ...u,
1132
1133
  children: /* @__PURE__ */ b(ya.Provider, {
1133
1134
  value: !0,
1134
1135
  children: [
@@ -1139,7 +1140,7 @@ function ln({ icon: e, aside: t, title: n, description: r, done: l, working: i,
1139
1140
  }),
1140
1141
  /* @__PURE__ */ b("div", {
1141
1142
  "data-basic-page-step-title": "",
1142
- className: u("text-display-xs col-start-2 row-start-1 min-w-0 font-medium transition-colors duration-200 ease-out", v ? "text-pho-description" : "text-pho-primary"),
1143
+ className: d("text-display-xs col-start-2 row-start-1 min-w-0 font-medium transition-colors duration-200 ease-out", v ? "text-pho-description" : "text-pho-primary"),
1143
1144
  children: [y ? /* @__PURE__ */ b("span", {
1144
1145
  className: "sr-only",
1145
1146
  children: [y, " "]
@@ -1188,11 +1189,12 @@ function ln({ icon: e, aside: t, title: n, description: r, done: l, working: i,
1188
1189
  })
1189
1190
  });
1190
1191
  }
1191
- function on({ label: e, description: t, htmlFor: n, stacked: r = !1, className: l, children: i, ...o }) {
1192
+ var Ta = O(void 0);
1193
+ function dn({ label: e, description: t, htmlFor: n, stacked: r = !1, className: l, children: i, ...o }) {
1192
1194
  const { leaving: p, ...s } = ee();
1193
1195
  return /* @__PURE__ */ b(N.div, {
1194
1196
  ...s,
1195
- className: u(rt, r && "sm:flex-col sm:items-stretch sm:justify-start sm:gap-3", p && "overflow-hidden", l),
1197
+ className: d(st, r && "sm:flex-col sm:items-stretch sm:justify-start sm:gap-3", p && "overflow-hidden", l),
1196
1198
  ...o,
1197
1199
  children: [/* @__PURE__ */ b("div", {
1198
1200
  className: "min-w-0",
@@ -1208,23 +1210,39 @@ function on({ label: e, description: t, htmlFor: n, stacked: r = !1, className:
1208
1210
  children: t
1209
1211
  }) : null]
1210
1212
  }), /* @__PURE__ */ a("div", {
1211
- className: u("flex w-full min-w-0 items-center gap-2 sm:w-auto", r && "sm:w-full"),
1212
- children: i
1213
+ className: d("flex w-full min-w-0 items-center gap-2 sm:w-auto", r && "sm:w-full"),
1214
+ children: /* @__PURE__ */ a(Ta.Provider, {
1215
+ value: typeof e == "string" ? e : void 0,
1216
+ children: i
1217
+ })
1213
1218
  })]
1214
1219
  });
1215
1220
  }
1216
- function cn({ className: e, ...t }) {
1217
- const n = k(ya);
1218
- return /* @__PURE__ */ a("p", {
1219
- className: u("text-pho-description max-w-full min-w-0 truncate", n ? "text-display-xs font-normal" : "text-base", e),
1220
- ...t
1221
+ function un({ className: e, mono: t, copy: n, children: r, ...l }) {
1222
+ const i = k(ya), o = k(Ta), p = t ? "font-mono text-xs" : i ? "text-display-xs font-normal" : "text-base", s = typeof n == "string" ? n : n && typeof r == "string" ? r : null;
1223
+ return s ? /* @__PURE__ */ a("p", {
1224
+ className: d("flex max-w-full min-w-0 items-center", e),
1225
+ ...l,
1226
+ children: /* @__PURE__ */ a(Qa, {
1227
+ value: s,
1228
+ label: o ?? "value",
1229
+ size: "xs",
1230
+ children: /* @__PURE__ */ a("span", {
1231
+ className: d("text-pho-description group-hover/copy:text-pho-description-hover transition-colors duration-100 ease-linear", !t && (i ? "font-display" : "font-sans"), p),
1232
+ children: r
1233
+ })
1234
+ })
1235
+ }) : /* @__PURE__ */ a("p", {
1236
+ className: d("text-pho-description max-w-full min-w-0 truncate", p, e),
1237
+ ...l,
1238
+ children: r
1221
1239
  });
1222
1240
  }
1223
- var dn = "grid grid-cols-[minmax(0,1fr)_auto] gap-x-6 sm:grid-cols-[minmax(0,1fr)_auto_auto]", me = "col-span-full grid grid-cols-subgrid", un = "[[data-basic-page-receipt]>&:not([data-basic-page-receipt-line]+&)]:pt-5 [[data-basic-page-receipt]>&:not(:has(+[data-basic-page-receipt-line]))]:pb-5 [[data-basic-page-receipt]>&:not(:first-child):not([data-basic-page-receipt-line]+&)]:border-t", pn = "[[data-basic-page-receipt]>&:not([data-basic-page-receipt-total]+&)]:pt-5 [[data-basic-page-receipt]>&:not(:has(+[data-basic-page-receipt-total]))]:pb-5 [[data-basic-page-receipt]>&:not(:first-child):not([data-basic-page-receipt-total]+&)]:border-t", He = "flex min-h-5 min-w-0 items-center gap-2 [overflow-wrap:anywhere]", Ee = "flex min-h-5 items-center justify-end whitespace-nowrap tabular-nums", Ta = "col-start-1 row-start-1", mn = "col-start-1 row-start-2 justify-start text-xs sm:col-start-2 sm:row-start-1 sm:justify-end sm:text-base", Pa = "col-start-2 row-start-1 sm:col-start-3", fe = (e) => e != null && e !== !1 && e !== !0;
1224
- function fn({ empty: e, className: t, children: n, ...r }) {
1241
+ var pn = "grid grid-cols-[minmax(0,1fr)_auto] gap-x-6 sm:grid-cols-[minmax(0,1fr)_auto_auto]", me = "col-span-full grid grid-cols-subgrid", mn = "[[data-basic-page-receipt]>&:not([data-basic-page-receipt-line]+&)]:pt-5 [[data-basic-page-receipt]>&:not(:has(+[data-basic-page-receipt-line]))]:pb-5 [[data-basic-page-receipt]>&:not(:first-child):not([data-basic-page-receipt-line]+&)]:border-t", fn = "[[data-basic-page-receipt]>&:not([data-basic-page-receipt-total]+&)]:pt-5 [[data-basic-page-receipt]>&:not(:has(+[data-basic-page-receipt-total]))]:pb-5 [[data-basic-page-receipt]>&:not(:first-child):not([data-basic-page-receipt-total]+&)]:border-t", He = "flex min-h-5 min-w-0 items-center gap-2 [overflow-wrap:anywhere]", Ee = "flex min-h-5 items-center justify-end whitespace-nowrap tabular-nums", Pa = "col-start-1 row-start-1", hn = "col-start-1 row-start-2 justify-start text-xs sm:col-start-2 sm:row-start-1 sm:justify-end sm:text-base", Ia = "col-start-2 row-start-1 sm:col-start-3", fe = (e) => e != null && e !== !1 && e !== !0;
1242
+ function gn({ empty: e, className: t, children: n, ...r }) {
1225
1243
  const l = U.toArray(n).length === 0;
1226
1244
  return /* @__PURE__ */ a("ul", {
1227
- className: u(ne, dn, "m-0 list-none p-0", t),
1245
+ className: d(ne, pn, "m-0 list-none p-0", t),
1228
1246
  ...r,
1229
1247
  "data-basic-page-receipt": "",
1230
1248
  children: l && fe(e) ? /* @__PURE__ */ a("li", {
@@ -1234,22 +1252,22 @@ function fn({ empty: e, className: t, children: n, ...r }) {
1234
1252
  }) : n
1235
1253
  });
1236
1254
  }
1237
- function hn({ label: e, className: t, children: n, ...r }) {
1255
+ function bn({ label: e, className: t, children: n, ...r }) {
1238
1256
  const { initial: l, animate: i, transition: o } = ee(), p = Ie(), s = fe(e);
1239
1257
  return /* @__PURE__ */ b(N.li, {
1240
1258
  initial: l,
1241
1259
  animate: i,
1242
1260
  transition: o,
1243
- className: u(me, "border-pho-secondary m-0 py-4", "[[data-basic-page-receipt]>&:not(:first-child)]:border-t", t),
1261
+ className: d(me, "border-pho-secondary m-0 py-4", "[[data-basic-page-receipt]>&:not(:first-child)]:border-t", t),
1244
1262
  ...r,
1245
1263
  "data-basic-page-receipt-group": "",
1246
1264
  children: [s ? /* @__PURE__ */ a("div", {
1247
1265
  id: p,
1248
- className: u(He, "text-pho-primary col-span-full min-h-7 px-5 py-1 text-base font-medium"),
1266
+ className: d(He, "text-pho-primary col-span-full min-h-7 px-5 py-1 text-base font-medium"),
1249
1267
  children: e
1250
1268
  }) : null, /* @__PURE__ */ a("ul", {
1251
1269
  "aria-labelledby": s ? p : void 0,
1252
- className: u(me, "m-0 list-none p-0"),
1270
+ className: d(me, "m-0 list-none p-0"),
1253
1271
  children: /* @__PURE__ */ a(De.Provider, {
1254
1272
  value: !1,
1255
1273
  children: n
@@ -1257,50 +1275,50 @@ function hn({ label: e, className: t, children: n, ...r }) {
1257
1275
  })]
1258
1276
  });
1259
1277
  }
1260
- function gn({ label: e, quantity: t, amount: n, className: r, ...l }) {
1261
- const { initial: i, animate: o, transition: p } = ee(), s = fe(t), d = fe(n);
1278
+ function vn({ label: e, quantity: t, amount: n, className: r, ...l }) {
1279
+ const { initial: i, animate: o, transition: p } = ee(), s = fe(t), u = fe(n);
1262
1280
  return /* @__PURE__ */ b(N.li, {
1263
1281
  initial: i,
1264
1282
  animate: o,
1265
1283
  transition: p,
1266
- className: u(me, "border-pho-secondary m-0 items-start px-5 py-1 text-base", un, r),
1284
+ className: d(me, "border-pho-secondary m-0 items-start px-5 py-1 text-base", mn, r),
1267
1285
  ...l,
1268
1286
  "data-basic-page-receipt-line": "",
1269
1287
  children: [
1270
1288
  /* @__PURE__ */ a("div", {
1271
- className: u(He, Ta, "text-pho-secondary", !d && "col-end-3", s ? "sm:col-end-2" : d ? "sm:col-end-3" : "sm:col-end-4"),
1289
+ className: d(He, Pa, "text-pho-secondary", !u && "col-end-3", s ? "sm:col-end-2" : u ? "sm:col-end-3" : "sm:col-end-4"),
1272
1290
  children: e
1273
1291
  }),
1274
1292
  s ? /* @__PURE__ */ a("div", {
1275
- className: u(Ee, mn, "text-pho-description"),
1293
+ className: d(Ee, hn, "text-pho-description"),
1276
1294
  children: t
1277
1295
  }) : null,
1278
- d ? /* @__PURE__ */ a("div", {
1279
- className: u(Ee, Pa, "text-pho-secondary"),
1296
+ u ? /* @__PURE__ */ a("div", {
1297
+ className: d(Ee, Ia, "text-pho-secondary"),
1280
1298
  children: n
1281
1299
  }) : null
1282
1300
  ]
1283
1301
  });
1284
1302
  }
1285
- function bn({ label: e, amount: t, className: n, ...r }) {
1303
+ function yn({ label: e, amount: t, className: n, ...r }) {
1286
1304
  const { initial: l, animate: i, transition: o } = ee();
1287
1305
  return /* @__PURE__ */ b(N.li, {
1288
1306
  initial: l,
1289
1307
  animate: i,
1290
1308
  transition: o,
1291
- className: u(me, "border-pho-secondary text-pho-primary m-0 items-start px-5 py-1 text-base font-medium", pn, n),
1309
+ className: d(me, "border-pho-secondary text-pho-primary m-0 items-start px-5 py-1 text-base font-medium", fn, n),
1292
1310
  ...r,
1293
1311
  "data-basic-page-receipt-total": "",
1294
1312
  children: [/* @__PURE__ */ a("div", {
1295
- className: u(He, Ta, "sm:col-end-3"),
1313
+ className: d(He, Pa, "sm:col-end-3"),
1296
1314
  children: e
1297
1315
  }), /* @__PURE__ */ a("div", {
1298
- className: u(Ee, Pa),
1316
+ className: d(Ee, Ia),
1299
1317
  children: t
1300
1318
  })]
1301
1319
  });
1302
1320
  }
1303
- function vn({ error: e, show: t, className: n, children: r, ...l }) {
1321
+ function xn({ error: e, show: t, className: n, children: r, ...l }) {
1304
1322
  const i = I(), o = k(ae), p = e ?? o?.error ?? void 0;
1305
1323
  return /* @__PURE__ */ a(z, {
1306
1324
  initial: !1,
@@ -1323,30 +1341,30 @@ function vn({ error: e, show: t, className: n, children: r, ...l }) {
1323
1341
  height: P,
1324
1342
  opacity: F
1325
1343
  },
1326
- children: /* @__PURE__ */ a(Wa, {
1344
+ children: /* @__PURE__ */ a(Va, {
1327
1345
  error: p,
1328
- className: u("px-5 pb-3", n),
1346
+ className: d("px-5 pb-3", n),
1329
1347
  ...l,
1330
1348
  children: r
1331
1349
  })
1332
1350
  }) : null
1333
1351
  });
1334
1352
  }
1335
- function gr() {
1353
+ function yr() {
1336
1354
  return k(ae)?.requestSave ?? null;
1337
1355
  }
1338
- var br = 800, Ae = Ja.createToastManager(), ae = B(null);
1339
- function yn({ action: e, errors: t, autoSave: n = !1, className: r, children: l, onChange: i, onBlur: o, ...p }) {
1340
- const [s, d] = _(!1), [m, c] = _(!1), [h, g] = _(null), [v, y] = _(t ?? {}), [w, f] = _(null), A = C(null), x = C(null), E = C(null), S = C(!1), O = C(!1), M = C(null), D = C(async () => {
1356
+ var xr = 800, Ae = et.createToastManager(), ae = O(null);
1357
+ function wn({ action: e, errors: t, autoSave: n = !1, className: r, children: l, onChange: i, onBlur: o, ...p }) {
1358
+ const [s, u] = _(!1), [m, c] = _(!1), [h, g] = _(null), [v, y] = _(t ?? {}), [w, f] = _(null), A = C(null), x = C(null), E = C(null), S = C(!1), L = C(!1), M = C(null), D = C(async () => {
1341
1359
  });
1342
- L(() => () => {
1360
+ B(() => () => {
1343
1361
  x.current != null && clearTimeout(x.current);
1344
1362
  }, []);
1345
1363
  const W = async () => {
1346
1364
  const T = A.current;
1347
1365
  if (T == null || e == null) return;
1348
1366
  if (S.current) {
1349
- O.current = !0;
1367
+ L.current = !0;
1350
1368
  return;
1351
1369
  }
1352
1370
  if (!T.checkValidity()) return;
@@ -1379,7 +1397,7 @@ function yn({ action: e, errors: t, autoSave: n = !1, className: r, children: l,
1379
1397
  }
1380
1398
  });
1381
1399
  } finally {
1382
- S.current = !1, O.current && (O.current = !1, D.current());
1400
+ S.current = !1, L.current && (L.current = !1, D.current());
1383
1401
  }
1384
1402
  };
1385
1403
  D.current = W;
@@ -1404,11 +1422,11 @@ function yn({ action: e, errors: t, autoSave: n = !1, className: r, children: l,
1404
1422
  ]);
1405
1423
  return /* @__PURE__ */ a(ae.Provider, {
1406
1424
  value: ye,
1407
- children: /* @__PURE__ */ a(et, {
1425
+ children: /* @__PURE__ */ a(tt, {
1408
1426
  errors: v,
1409
1427
  onFormSubmit: async (T) => {
1410
1428
  if (e != null) {
1411
- d(!0), g(null);
1429
+ u(!0), g(null);
1412
1430
  try {
1413
1431
  const R = (await e(T))?.errors;
1414
1432
  if (R != null && Object.keys(R).length > 0) {
@@ -1419,7 +1437,7 @@ function yn({ action: e, errors: t, autoSave: n = !1, className: r, children: l,
1419
1437
  } catch (R) {
1420
1438
  g(R);
1421
1439
  } finally {
1422
- d(!1);
1440
+ u(!1);
1423
1441
  }
1424
1442
  }
1425
1443
  },
@@ -1434,7 +1452,7 @@ function yn({ action: e, errors: t, autoSave: n = !1, className: r, children: l,
1434
1452
  onBlur: (T) => {
1435
1453
  n && m && x.current != null && (clearTimeout(x.current), x.current = null, D.current()), o?.(T);
1436
1454
  },
1437
- className: u("contents [[data-basic-page-stack]>&]:flex [[data-basic-page-stack]>&]:min-w-0 [[data-basic-page-stack]>&]:flex-col", r),
1455
+ className: d("contents [[data-basic-page-stack]>&]:flex [[data-basic-page-stack]>&]:min-w-0 [[data-basic-page-stack]>&]:flex-col", r),
1438
1456
  ...p,
1439
1457
  ref: (T) => {
1440
1458
  A.current = T;
@@ -1451,15 +1469,15 @@ function yn({ action: e, errors: t, autoSave: n = !1, className: r, children: l,
1451
1469
  })
1452
1470
  });
1453
1471
  }
1454
- function xn({ name: e, className: t, ...n }) {
1455
- const r = k(ae), l = I(), i = r?.auto ?? null, o = i != null && (e == null || i.field === e), [p, s] = _(!1), d = o ? i.phase : null;
1456
- L(() => {
1457
- if (d !== "saved") return;
1472
+ function Nn({ name: e, className: t, ...n }) {
1473
+ const r = k(ae), l = I(), i = r?.auto ?? null, o = i != null && (e == null || i.field === e), [p, s] = _(!1), u = o ? i.phase : null;
1474
+ B(() => {
1475
+ if (u !== "saved") return;
1458
1476
  s(!0);
1459
1477
  const h = setTimeout(() => s(!1), 1800);
1460
1478
  return () => clearTimeout(h);
1461
- }, [d, i]);
1462
- const m = d === "saving" ? "Saving…" : d === "saved" && p ? "Saved" : null, c = l ? "blur(0px)" : `blur(${Te}px)`;
1479
+ }, [u, i]);
1480
+ const m = u === "saving" ? "Saving…" : u === "saved" && p ? "Saved" : null, c = l ? "blur(0px)" : `blur(${Te}px)`;
1463
1481
  return /* @__PURE__ */ a("span", {
1464
1482
  className: "grid justify-items-end",
1465
1483
  children: /* @__PURE__ */ a(z, {
@@ -1478,7 +1496,7 @@ function xn({ name: e, className: t, ...n }) {
1478
1496
  filter: c
1479
1497
  },
1480
1498
  transition: pe,
1481
- className: u("text-pho-description pl-8 [grid-area:1/1]", t),
1499
+ className: d("text-pho-description pl-8 [grid-area:1/1]", t),
1482
1500
  style: { background: "linear-gradient(to left, var(--background-color-pho-primary) calc(100% - 2rem), transparent)" },
1483
1501
  ...n,
1484
1502
  children: m
@@ -1487,10 +1505,10 @@ function xn({ name: e, className: t, ...n }) {
1487
1505
  });
1488
1506
  }
1489
1507
  var Je = "flex min-w-0 flex-col gap-5 p-5 [&>[data-basic-page-alert]]:-mx-5 [&>[data-basic-page-alert]]:-mt-2 [&>[data-basic-page-alert]]:-mb-5 [&>[data-basic-page-footer]]:pr-0 [&>[data-basic-page-reveal]]:flex [&>[data-basic-page-reveal]]:flex-col [&>[data-basic-page-reveal]]:gap-5";
1490
- function wn({ animateHeight: e = !0, className: t, children: n, ...r }) {
1508
+ function _n({ animateHeight: e = !0, className: t, children: n, ...r }) {
1491
1509
  const l = C(null);
1492
1510
  return ba(l, "Fields", 20, () => null), e ? /* @__PURE__ */ a("div", {
1493
- className: u(ne, "min-h-0", t),
1511
+ className: d(ne, "min-h-0", t),
1494
1512
  ...r,
1495
1513
  ref: (i) => {
1496
1514
  const o = r.ref;
@@ -1506,7 +1524,7 @@ function wn({ animateHeight: e = !0, className: t, children: n, ...r }) {
1506
1524
  })
1507
1525
  })
1508
1526
  }) : /* @__PURE__ */ a("div", {
1509
- className: u(ne, Je, t),
1527
+ className: d(ne, Je, t),
1510
1528
  ...r,
1511
1529
  ref: (i) => {
1512
1530
  l.current = i;
@@ -1517,13 +1535,13 @@ function wn({ animateHeight: e = !0, className: t, children: n, ...r }) {
1517
1535
  children: n
1518
1536
  });
1519
1537
  }
1520
- function Nn({ className: e, ...t }) {
1538
+ function An({ className: e, ...t }) {
1521
1539
  return /* @__PURE__ */ a("div", {
1522
- className: u("flex min-w-0 flex-col gap-5 *:min-w-0 sm:flex-row sm:gap-3 sm:*:flex-1", e),
1540
+ className: d("flex min-w-0 flex-col gap-5 *:min-w-0 sm:flex-row sm:gap-3 sm:*:flex-1", e),
1523
1541
  ...t
1524
1542
  });
1525
1543
  }
1526
- function _n({ children: e = "Save changes", ...t }) {
1544
+ function Cn({ children: e = "Save changes", ...t }) {
1527
1545
  const n = k(ae);
1528
1546
  return /* @__PURE__ */ a(re, {
1529
1547
  type: "submit",
@@ -1534,10 +1552,10 @@ function _n({ children: e = "Save changes", ...t }) {
1534
1552
  children: e
1535
1553
  });
1536
1554
  }
1537
- function An({ show: e, className: t, ...n }) {
1555
+ function En({ show: e, className: t, ...n }) {
1538
1556
  const r = k(ae), l = e === "dirty" ? r?.dirty ?? !1 : e, i = /* @__PURE__ */ a("div", {
1539
1557
  "data-basic-page-footer": "",
1540
- className: u("flex items-center justify-end gap-3 pr-[calc(1.25rem+2.5px)]", t),
1558
+ className: d("flex items-center justify-end gap-3 pr-[calc(1.25rem+2.5px)]", t),
1541
1559
  ...n
1542
1560
  });
1543
1561
  return l === void 0 ? i : /* @__PURE__ */ a(ze, {
@@ -1547,16 +1565,16 @@ function An({ show: e, className: t, ...n }) {
1547
1565
  children: i
1548
1566
  });
1549
1567
  }
1550
- var Cn = {
1568
+ var kn = {
1551
1569
  stack: "-2.5rem",
1552
1570
  block: "-0.75rem",
1553
1571
  fields: "-1.25rem",
1554
1572
  none: "0px"
1555
1573
  };
1556
1574
  function ze({ show: e, clip: t = !0, gap: n = "stack", dividers: r, className: l, ...i }) {
1557
- const o = I(), p = Cn[r ? "none" : n], s = C(null), d = C(e !== !0);
1558
- L(() => {
1559
- d.current = !0;
1575
+ const o = I(), p = kn[r ? "none" : n], s = C(null), u = C(e !== !0);
1576
+ B(() => {
1577
+ u.current = !0;
1560
1578
  }, []);
1561
1579
  const m = () => {
1562
1580
  t && s.current && (s.current.style.overflow = "hidden");
@@ -1576,32 +1594,32 @@ function ze({ show: e, clip: t = !0, gap: n = "stack", dividers: r, className: l
1576
1594
  y: P,
1577
1595
  opacity: F
1578
1596
  },
1579
- className: u(r && ue, l),
1597
+ className: d(r && ue, l),
1580
1598
  ...i
1581
1599
  }) : /* @__PURE__ */ a(z, {
1582
1600
  initial: !1,
1583
1601
  children: e ? /* @__PURE__ */ a(N.div, {
1584
1602
  "data-basic-page-reveal": "",
1585
1603
  ref: (h) => {
1586
- s.current = h, t && h && d.current && (h.style.overflow = "hidden");
1604
+ s.current = h, t && h && u.current && (h.style.overflow = "hidden");
1587
1605
  },
1588
1606
  onAnimationStart: m,
1589
1607
  onAnimationComplete: c,
1590
- ...$a(o, p),
1591
- className: u(r && ue, l),
1608
+ ...Wa(o, p),
1609
+ className: d(r && ue, l),
1592
1610
  ...i
1593
1611
  }) : null
1594
1612
  });
1595
1613
  }
1596
- var En = "top-4 left-5 h-8 text-base [&>svg]:size-[1.125em] [&>svg]:shrink-0", kn = "(min-width: 40rem)";
1597
- function Rn() {
1598
- return typeof window < "u" && typeof window.matchMedia == "function" && !window.matchMedia(kn).matches;
1614
+ var Rn = "top-4 left-5 h-8 text-base [&>svg]:size-[1.125em] [&>svg]:shrink-0", Sn = "(min-width: 40rem)";
1615
+ function Tn() {
1616
+ return typeof window < "u" && typeof window.matchMedia == "function" && !window.matchMedia(Sn).matches;
1599
1617
  }
1600
- var Ia = B(null);
1601
- function Oa({ className: e, children: t, ...n }) {
1618
+ var Oa = O(null);
1619
+ function La({ className: e, children: t, ...n }) {
1602
1620
  const r = U.toArray(t).filter(de), l = r.map((A) => A.props.children ?? null), i = pa();
1603
- wt(l);
1604
- const [o] = _(Rn), p = I(), s = r.length, d = aa(), m = !o && s >= Sn, c = k(Be), h = s > 0 ? r[s - 1]?.props : null, g = h?.children ?? "Back", v = h?.href, y = h?.onClick;
1621
+ _t(l);
1622
+ const [o] = _(Tn), p = I(), s = r.length, u = aa(), m = !o && s >= Pn, c = k(Be), h = s > 0 ? r[s - 1]?.props : null, g = h?.children ?? "Back", v = h?.href, y = h?.onClick;
1605
1623
  H(() => {
1606
1624
  if (!(c == null || v == null))
1607
1625
  return c.setTail({
@@ -1619,11 +1637,11 @@ function Oa({ className: e, children: t, ...n }) {
1619
1637
  return /* @__PURE__ */ a("nav", {
1620
1638
  "aria-label": "Breadcrumb",
1621
1639
  "data-basic-page-back": "",
1622
- className: u("absolute top-4 left-3 flex min-w-max items-center", e),
1640
+ className: d("absolute top-4 left-3 flex min-w-max items-center", e),
1623
1641
  ...n,
1624
1642
  children: /* @__PURE__ */ b("ol", {
1625
1643
  className: "m-0 flex list-none items-center p-0",
1626
- children: [r.map((A, x) => m && x > 0 && x < s - 2 ? null : /* @__PURE__ */ b(nt, { children: [m && x === s - 2 && /* @__PURE__ */ b("li", {
1644
+ children: [r.map((A, x) => m && x > 0 && x < s - 2 ? null : /* @__PURE__ */ b(it, { children: [m && x === s - 2 && /* @__PURE__ */ b("li", {
1627
1645
  className: "m-0 flex items-center max-sm:hidden",
1628
1646
  children: [/* @__PURE__ */ a("span", {
1629
1647
  "aria-hidden": !0,
@@ -1634,24 +1652,24 @@ function Oa({ className: e, children: t, ...n }) {
1634
1652
  size: "sm",
1635
1653
  "aria-label": "Hidden pages",
1636
1654
  className: "px-2.5",
1637
- children: Tn
1655
+ children: In
1638
1656
  }) }), /* @__PURE__ */ a(Y.Portal, { children: /* @__PURE__ */ a(Y.Positioner, {
1639
1657
  align: "start",
1640
1658
  sideOffset: 4,
1641
1659
  children: /* @__PURE__ */ a(Y.Popup, { children: r.slice(1, s - 2).map((E, S) => {
1642
- const O = E.props;
1660
+ const L = E.props;
1643
1661
  return /* @__PURE__ */ a(Y.LinkItem, {
1644
- render: /* @__PURE__ */ a(d, {
1645
- href: O.href,
1646
- onClick: O.onClick
1662
+ render: /* @__PURE__ */ a(u, {
1663
+ href: L.href,
1664
+ onClick: L.onClick
1647
1665
  }),
1648
- children: O.children ?? "Back"
1666
+ children: L.children ?? "Back"
1649
1667
  }, E.key ?? S);
1650
1668
  }) })
1651
1669
  }) })] })]
1652
1670
  }), /* @__PURE__ */ a("li", {
1653
- className: u("m-0 flex items-center", x < s - 1 && "max-sm:hidden"),
1654
- children: /* @__PURE__ */ a(Ia.Provider, {
1671
+ className: d("m-0 flex items-center", x < s - 1 && "max-sm:hidden"),
1672
+ children: /* @__PURE__ */ a(Oa.Provider, {
1655
1673
  value: {
1656
1674
  index: x,
1657
1675
  count: s,
@@ -1675,14 +1693,14 @@ function Oa({ className: e, children: t, ...n }) {
1675
1693
  })
1676
1694
  });
1677
1695
  }
1678
- var ke = "text-pho-description -mx-1 inline-flex shrink-0 text-base select-none", he = "/", Sn = 4, Tn = "…";
1679
- function La({ href: e, className: t, morphId: n, children: r = "Back", ...l }) {
1680
- const i = k(Ia), o = I(), p = n != null && !o, s = fa(p ? n : void 0);
1696
+ var ke = "text-pho-description -mx-1 inline-flex shrink-0 text-base select-none", he = "/", Pn = 4, In = "…";
1697
+ function Ba({ href: e, className: t, morphId: n, children: r = "Back", ...l }) {
1698
+ const i = k(Oa), o = I(), p = n != null && !o, s = fa(p ? n : void 0);
1681
1699
  if (i == null) throw new Error("BasicPage.Crumb must be rendered inside BasicPage.Breadcrumbs");
1682
- const { index: d, count: m, departing: c, narrow: h } = i, g = d === 0, v = d === m - 1, y = c != null && c.labels.length < m, w = c != null && c.labels.length > m, f = v && (c == null || y || h), A = g || v, x = g && v ? "" : g ? "max-sm:hidden" : "sm:hidden", E = c != null, S = v ? h ? w ? "slide" : "fade" : f ? "fade" : void 0 : void 0, [O, M] = _(p && h && s.fly && c != null && !w ? c.labels[c.labels.length - 1] : null), D = p && A && !E, W = p && !g && v && (c == null || y);
1700
+ const { index: u, count: m, departing: c, narrow: h } = i, g = u === 0, v = u === m - 1, y = c != null && c.labels.length < m, w = c != null && c.labels.length > m, f = v && (c == null || y || h), A = g || v, x = g && v ? "" : g ? "max-sm:hidden" : "sm:hidden", E = c != null, S = v ? h ? w ? "slide" : "fade" : f ? "fade" : void 0 : void 0, [L, M] = _(p && h && s.fly && c != null && !w ? c.labels[c.labels.length - 1] : null), D = p && A && !E, W = p && !g && v && (c == null || y);
1683
1701
  return /* @__PURE__ */ b(Z, { children: [!g && /* @__PURE__ */ a("span", {
1684
1702
  "aria-hidden": !0,
1685
- className: u(ke, "max-sm:hidden"),
1703
+ className: d(ke, "max-sm:hidden"),
1686
1704
  children: W ? /* @__PURE__ */ a(N.span, {
1687
1705
  initial: s.fly ? {
1688
1706
  opacity: 0,
@@ -1710,16 +1728,16 @@ function La({ href: e, className: t, morphId: n, children: r = "Back", ...l }) {
1710
1728
  x: 0
1711
1729
  } : { opacity: 1 },
1712
1730
  transition: s.fly ? qe : F,
1713
- className: u("inline-flex [&>svg]:size-[1.125em] [&>svg]:shrink-0", x),
1731
+ className: d("inline-flex [&>svg]:size-[1.125em] [&>svg]:shrink-0", x),
1714
1732
  children: /* @__PURE__ */ a(ce, {})
1715
1733
  }) : /* @__PURE__ */ a("span", {
1716
- className: u("inline-flex [&>svg]:size-[1.125em] [&>svg]:shrink-0", x),
1734
+ className: d("inline-flex [&>svg]:size-[1.125em] [&>svg]:shrink-0", x),
1717
1735
  children: /* @__PURE__ */ a(ce, {})
1718
1736
  }) : /* @__PURE__ */ a("span", { className: "hidden" }),
1719
- className: u("min-w-max", t),
1737
+ className: d("min-w-max", t),
1720
1738
  ...l,
1721
1739
  children: p && n != null ? /* @__PURE__ */ b("span", {
1722
- className: u("relative block", !s.fly && S === "slide" && "overflow-hidden", !v && "max-w-40 truncate"),
1740
+ className: d("relative block", !s.fly && S === "slide" && "overflow-hidden", !v && "max-w-40 truncate"),
1723
1741
  children: [/* @__PURE__ */ a(ha, {
1724
1742
  morphId: n,
1725
1743
  fromClassName: "text-pho-primary",
@@ -1727,42 +1745,42 @@ function La({ href: e, className: t, morphId: n, children: r = "Back", ...l }) {
1727
1745
  morphRef: s.ref,
1728
1746
  arrival: S,
1729
1747
  children: r
1730
- }), O != null && /* @__PURE__ */ a(N.span, {
1748
+ }), L != null && /* @__PURE__ */ a(N.span, {
1731
1749
  "aria-hidden": !0,
1732
1750
  initial: {
1733
1751
  x: 0,
1734
1752
  opacity: 1
1735
1753
  },
1736
1754
  animate: {
1737
- x: vt,
1755
+ x: xt,
1738
1756
  opacity: 0
1739
1757
  },
1740
- transition: yt,
1758
+ transition: wt,
1741
1759
  onAnimationComplete: () => M(null),
1742
1760
  className: "pointer-events-none absolute inset-y-0 left-0 whitespace-nowrap",
1743
- children: O
1761
+ children: L
1744
1762
  })]
1745
1763
  }) : /* @__PURE__ */ a("span", {
1746
- className: u("block", !v && "max-w-40 truncate"),
1764
+ className: d("block", !v && "max-w-40 truncate"),
1747
1765
  children: r
1748
1766
  })
1749
1767
  })] });
1750
1768
  }
1751
- function Pn({ className: e, ...t }) {
1752
- return /* @__PURE__ */ a(Oa, {
1769
+ function On({ className: e, ...t }) {
1770
+ return /* @__PURE__ */ a(La, {
1753
1771
  className: e,
1754
- children: /* @__PURE__ */ a(La, { ...t })
1772
+ children: /* @__PURE__ */ a(Ba, { ...t })
1755
1773
  });
1756
1774
  }
1757
- function In({ label: e, description: t, leading: n, href: r, className: l, children: i, ...o }) {
1758
- const p = aa(), s = V(() => N.create(p), [p]), { leaving: d, ...m } = ee();
1775
+ function Ln({ label: e, description: t, leading: n, href: r, className: l, children: i, ...o }) {
1776
+ const p = aa(), s = V(() => N.create(p), [p]), { leaving: u, ...m } = ee();
1759
1777
  return /* @__PURE__ */ b(s, {
1760
1778
  href: r,
1761
1779
  ...m,
1762
1780
  ...o,
1763
- className: u("flex min-h-[4.25rem] min-w-0 flex-row items-center justify-between gap-6 px-5 py-4", "group outline-pho-brand hover:bg-pho-primary-hover cursor-pointer transition-colors focus-visible:outline-2 focus-visible:-outline-offset-2", "aria-[current=page]:bg-pho-primary-hover", "first:rounded-t-[calc(var(--radius-base)-1px)] last:rounded-b-[calc(var(--radius-base)-1px)]", d && "overflow-hidden", l),
1781
+ className: d("flex min-h-[4.25rem] min-w-0 flex-row items-center justify-between gap-6 px-5 py-4", "group outline-pho-brand hover:bg-pho-primary-hover cursor-pointer transition-colors focus-visible:outline-2 focus-visible:-outline-offset-2", "aria-[current=page]:bg-pho-primary-hover", "first:rounded-t-[calc(var(--radius-base)-1px)] last:rounded-b-[calc(var(--radius-base)-1px)]", u && "overflow-hidden", l),
1764
1782
  children: [/* @__PURE__ */ b("div", {
1765
- className: u("flex min-w-0 flex-1 items-center", n != null && "gap-3"),
1783
+ className: d("flex min-w-0 flex-1 items-center", n != null && "gap-3"),
1766
1784
  children: [n, /* @__PURE__ */ b("div", {
1767
1785
  className: "min-w-0",
1768
1786
  children: [/* @__PURE__ */ a("div", {
@@ -1781,15 +1799,15 @@ function In({ label: e, description: t, leading: n, href: r, className: l, child
1781
1799
  children: [i != null ? /* @__PURE__ */ a("div", {
1782
1800
  className: "min-w-0",
1783
1801
  children: i
1784
- }) : null, /* @__PURE__ */ a(Ka, {
1802
+ }) : null, /* @__PURE__ */ a(Xa, {
1785
1803
  "aria-hidden": !0,
1786
1804
  className: "text-pho-secondary group-hover:text-pho-secondary-hover size-4 shrink-0 transition-colors"
1787
1805
  })]
1788
1806
  })]
1789
1807
  });
1790
1808
  }
1791
- function On({ open: e, variant: t = "overlay", modal: n = !1, placeholder: r, onClose: l, width: i = "default", presentation: o, defaultPresentation: p, onPresentationChange: s, expandable: d = !0, children: m }) {
1792
- const c = k(oa), h = c != null ? ct(c.paneWidth, i) : 0, g = e ?? U.toArray(m).length > 0, { presentation: v, setPresentation: y, canChoose: w } = Ln({
1809
+ function Bn({ open: e, variant: t = "overlay", modal: n = !1, placeholder: r, onClose: l, width: i = "default", presentation: o, defaultPresentation: p, onPresentationChange: s, expandable: u = !0, children: m }) {
1810
+ const c = k(oa), h = c != null ? ut(c.paneWidth, i) : 0, g = e ?? U.toArray(m).length > 0, { presentation: v, setPresentation: y, canChoose: w } = Mn({
1793
1811
  isOpen: g,
1794
1812
  paneNarrow: c?.paneNarrow ?? !1,
1795
1813
  presentation: o,
@@ -1805,27 +1823,27 @@ function On({ open: e, variant: t = "overlay", modal: n = !1, placeholder: r, on
1805
1823
  }, [f, g]), H(() => {
1806
1824
  if (A != null)
1807
1825
  return A(v === "page"), () => A(!1);
1808
- }, [A, v]), L(() => {
1826
+ }, [A, v]), B(() => {
1809
1827
  c == null && typeof process < "u" && process.env.NODE_ENV !== "production" && console.warn("BasicPage.Aside: needs a `BasicPage.Root` around it.");
1810
1828
  }, [c]), c == null || c.slot == null) return null;
1811
- const E = d && w ? () => y("page") : void 0;
1829
+ const E = u && w ? () => y("page") : void 0;
1812
1830
  if (v === "page") {
1813
- const S = d && w && !c.paneNarrow ? () => y("panel") : void 0;
1831
+ const S = u && w && !c.paneNarrow ? () => y("panel") : void 0;
1814
1832
  return $e(g ? /* @__PURE__ */ b("div", {
1815
1833
  "data-basic-page-aside": "page",
1816
1834
  "data-basic-page-aside-expanded": c.paneNarrow ? void 0 : "",
1817
1835
  className: "relative flex min-w-0 flex-1 flex-col",
1818
1836
  children: [S != null ? /* @__PURE__ */ a("span", {
1819
1837
  className: "absolute top-2 right-2 z-30",
1820
- children: /* @__PURE__ */ a(X.Provider, { children: /* @__PURE__ */ a(Ma, {
1838
+ children: /* @__PURE__ */ a(X.Provider, { children: /* @__PURE__ */ a(Da, {
1821
1839
  label: "Show as panel",
1822
- icon: /* @__PURE__ */ a(Va, {}),
1840
+ icon: /* @__PURE__ */ a(ja, {}),
1823
1841
  onClick: S
1824
1842
  }) })
1825
1843
  }) : null, m]
1826
1844
  }) : null, c.slot);
1827
1845
  }
1828
- return t === "inline" ? $e(/* @__PURE__ */ a(Bn, {
1846
+ return t === "inline" ? $e(/* @__PURE__ */ a(Dn, {
1829
1847
  width: h,
1830
1848
  paneHeight: c.paneHeight,
1831
1849
  onClose: l,
@@ -1833,7 +1851,7 @@ function On({ open: e, variant: t = "overlay", modal: n = !1, placeholder: r, on
1833
1851
  open: g,
1834
1852
  placeholder: r,
1835
1853
  children: m
1836
- }), c.slot) : /* @__PURE__ */ a(Mn, {
1854
+ }), c.slot) : /* @__PURE__ */ a(Fn, {
1837
1855
  container: c.slot,
1838
1856
  width: h,
1839
1857
  paneHeight: c.paneHeight,
@@ -1844,21 +1862,21 @@ function On({ open: e, variant: t = "overlay", modal: n = !1, placeholder: r, on
1844
1862
  children: m
1845
1863
  });
1846
1864
  }
1847
- function Ln({ isOpen: e, paneNarrow: t, presentation: n, defaultPresentation: r, onPresentationChange: l }) {
1865
+ function Mn({ isOpen: e, paneNarrow: t, presentation: n, defaultPresentation: r, onPresentationChange: l }) {
1848
1866
  const [i, o] = _(e), [p, s] = _(null);
1849
1867
  H(() => {
1850
1868
  e || (o(!1), s(null));
1851
1869
  }, [e]);
1852
- const d = n != null;
1870
+ const u = n != null;
1853
1871
  return {
1854
1872
  presentation: t ? "page" : n ?? p ?? r ?? (i ? "page" : "panel"),
1855
1873
  setPresentation: Pe((m) => {
1856
- d || s(m), l?.(m);
1857
- }, [d, l]),
1858
- canChoose: !d || l != null
1874
+ u || s(m), l?.(m);
1875
+ }, [u, l]),
1876
+ canChoose: !u || l != null
1859
1877
  };
1860
1878
  }
1861
- function Ba() {
1879
+ function Ma() {
1862
1880
  const [e, t] = _(null), n = V(() => ({ setBack: t }), []), r = C(null);
1863
1881
  return {
1864
1882
  back: e,
@@ -1877,7 +1895,7 @@ var Ze = {
1877
1895
  "aria-label": "Close",
1878
1896
  children: /* @__PURE__ */ a(ta, {})
1879
1897
  };
1880
- function Ma({ label: e, icon: t, onClick: n }) {
1898
+ function Da({ label: e, icon: t, onClick: n }) {
1881
1899
  return /* @__PURE__ */ b(X.Root, { children: [/* @__PURE__ */ a(X.Trigger, { render: /* @__PURE__ */ a(re, {
1882
1900
  variant: "ghost",
1883
1901
  size: "sm",
@@ -1887,12 +1905,12 @@ function Ma({ label: e, icon: t, onClick: n }) {
1887
1905
  children: t
1888
1906
  }) }), /* @__PURE__ */ a(X.Portal, { children: /* @__PURE__ */ a(X.Positioner, { children: /* @__PURE__ */ a(X.Popup, { children: e }) }) })] });
1889
1907
  }
1890
- function Da({ back: e, onClose: t, onExpand: n, closeRef: r, panel: l, children: i }) {
1908
+ function Fa({ back: e, onClose: t, onExpand: n, closeRef: r, panel: l, children: i }) {
1891
1909
  return /* @__PURE__ */ b(Z, { children: [/* @__PURE__ */ b("span", {
1892
1910
  className: "absolute top-2 right-2 z-30 flex items-center gap-0.5",
1893
- children: [n != null ? /* @__PURE__ */ a(X.Provider, { children: /* @__PURE__ */ a(Ma, {
1911
+ children: [n != null ? /* @__PURE__ */ a(X.Provider, { children: /* @__PURE__ */ a(Da, {
1894
1912
  label: "Expand",
1895
- icon: /* @__PURE__ */ a(ja, {}),
1913
+ icon: /* @__PURE__ */ a(qa, {}),
1896
1914
  onClick: n
1897
1915
  }) }) : null, /* @__PURE__ */ a("span", {
1898
1916
  ref: r,
@@ -1929,9 +1947,9 @@ function Da({ back: e, onClose: t, onExpand: n, closeRef: r, panel: l, children:
1929
1947
  }), /* @__PURE__ */ a(te.Scrollbar, { children: /* @__PURE__ */ a(te.Thumb, {}) })]
1930
1948
  })] });
1931
1949
  }
1932
- function Bn({ width: e, paneHeight: t, onClose: n, onExpand: r, open: l, placeholder: i, children: o }) {
1933
- const p = I(), { back: s, panel: d, closeRef: m, leave: c } = Ba(), h = p ? "blur(0px)" : `blur(${Te}px)`, g = t ?? "100dvh";
1934
- L(() => {
1950
+ function Dn({ width: e, paneHeight: t, onClose: n, onExpand: r, open: l, placeholder: i, children: o }) {
1951
+ const p = I(), { back: s, panel: u, closeRef: m, leave: c } = Ma(), h = p ? "blur(0px)" : `blur(${Te}px)`, g = t ?? "100dvh";
1952
+ B(() => {
1935
1953
  const y = (w) => {
1936
1954
  w.key !== "Escape" || w.defaultPrevented || c() && w.preventDefault();
1937
1955
  };
@@ -1970,12 +1988,12 @@ function Bn({ width: e, paneHeight: t, onClose: n, onExpand: r, open: l, placeho
1970
1988
  children: l ? /* @__PURE__ */ a(N.div, {
1971
1989
  ...v,
1972
1990
  className: "relative flex min-w-0 flex-col",
1973
- children: /* @__PURE__ */ a(Da, {
1991
+ children: /* @__PURE__ */ a(Fa, {
1974
1992
  back: s,
1975
1993
  onClose: n,
1976
1994
  onExpand: r,
1977
1995
  closeRef: m,
1978
- panel: d,
1996
+ panel: u,
1979
1997
  children: o
1980
1998
  })
1981
1999
  }, "page") : /* @__PURE__ */ a(N.div, {
@@ -1987,8 +2005,8 @@ function Bn({ width: e, paneHeight: t, onClose: n, onExpand: r, open: l, placeho
1987
2005
  })
1988
2006
  });
1989
2007
  }
1990
- function Mn({ container: e, width: t, paneHeight: n, onClose: r, onExpand: l, open: i, modal: o, children: p }) {
1991
- const { back: s, panel: d, closeRef: m, leave: c } = Ba(), h = n ?? "100dvh";
2008
+ function Fn({ container: e, width: t, paneHeight: n, onClose: r, onExpand: l, open: i, modal: o, children: p }) {
2009
+ const { back: s, panel: u, closeRef: m, leave: c } = Ma(), h = n ?? "100dvh";
1992
2010
  return /* @__PURE__ */ a(le.Root, {
1993
2011
  open: i,
1994
2012
  modal: o ? "trap-focus" : !1,
@@ -2001,14 +2019,14 @@ function Mn({ container: e, width: t, paneHeight: n, onClose: r, onExpand: l, op
2001
2019
  className: "contents",
2002
2020
  children: [o ? /* @__PURE__ */ a(le.Backdrop, {
2003
2021
  "data-basic-page-aside-backdrop": "",
2004
- className: u("bg-pho-overlay absolute inset-0 z-30 transition-opacity duration-200 ease-out motion-reduce:transition-none", "data-[ending-style]:opacity-0 data-[starting-style]:opacity-0"),
2022
+ className: d("bg-pho-overlay absolute inset-0 z-30 transition-opacity duration-200 ease-out motion-reduce:transition-none", "data-[ending-style]:opacity-0 data-[starting-style]:opacity-0"),
2005
2023
  onClick: c
2006
2024
  }) : null, /* @__PURE__ */ a(le.Popup, {
2007
2025
  "data-basic-page-aside": "panel",
2008
2026
  "data-basic-page-aside-variant": "overlay",
2009
2027
  initialFocus: o ? void 0 : !1,
2010
2028
  finalFocus: o ? void 0 : !1,
2011
- className: u("absolute inset-y-0 right-0 z-30 flex min-w-0 flex-col outline-none", "transition-[translate,opacity] duration-250 ease-out motion-reduce:transition-none", "data-[ending-style]:translate-x-3 data-[ending-style]:opacity-0 data-[ending-style]:duration-200 data-[starting-style]:translate-x-3 data-[starting-style]:opacity-0"),
2029
+ className: d("absolute inset-y-0 right-0 z-30 flex min-w-0 flex-col outline-none", "transition-[translate,opacity] duration-250 ease-out motion-reduce:transition-none", "data-[ending-style]:translate-x-3 data-[ending-style]:opacity-0 data-[ending-style]:duration-200 data-[starting-style]:translate-x-3 data-[starting-style]:opacity-0"),
2012
2030
  style: {
2013
2031
  width: t,
2014
2032
  minWidth: 0,
@@ -2017,12 +2035,12 @@ function Mn({ container: e, width: t, paneHeight: n, onClose: r, onExpand: l, op
2017
2035
  children: /* @__PURE__ */ a("div", {
2018
2036
  className: "border-pho-secondary bg-pho-primary shadow-pho-xl sticky top-0 flex min-w-0 flex-col overflow-hidden border-l",
2019
2037
  style: { height: h },
2020
- children: /* @__PURE__ */ a(Da, {
2038
+ children: /* @__PURE__ */ a(Fa, {
2021
2039
  back: s,
2022
2040
  onClose: r,
2023
2041
  onExpand: l,
2024
2042
  closeRef: m,
2025
- panel: d,
2043
+ panel: u,
2026
2044
  children: p
2027
2045
  })
2028
2046
  })
@@ -2030,10 +2048,10 @@ function Mn({ container: e, width: t, paneHeight: n, onClose: r, onExpand: l, op
2030
2048
  })
2031
2049
  });
2032
2050
  }
2033
- var Dn = "14rem", Fn = "transition-[width] duration-[330ms] ease-pho-spring motion-reduce:transition-none", ea = "transition-[opacity,visibility] duration-200 ease-out motion-reduce:transition-none";
2034
- function Hn({ variant: e = "box", fold: t = "auto", value: n, onValueChange: r, placeholder: l, label: i, className: o, ...p }) {
2035
- const s = k(Se), d = ge(s?.subscribe ?? be, () => s?.get().api ?? null, () => null), m = n != null;
2036
- L(() => {
2051
+ var Hn = "14rem", zn = "transition-[width] duration-[330ms] ease-pho-spring motion-reduce:transition-none", ea = "transition-[opacity,visibility] duration-200 ease-out motion-reduce:transition-none";
2052
+ function Gn({ variant: e = "box", fold: t = "auto", value: n, onValueChange: r, placeholder: l, label: i, className: o, ...p }) {
2053
+ const s = k(Se), u = ge(s?.subscribe ?? be, () => s?.get().api ?? null, () => null), m = n != null;
2054
+ B(() => {
2037
2055
  if (!(s == null || m))
2038
2056
  return s.adopt(!0), () => s.adopt(!1);
2039
2057
  }, [s, m]);
@@ -2042,13 +2060,13 @@ function Hn({ variant: e = "box", fold: t = "auto", value: n, onValueChange: r,
2042
2060
  setQuery: r,
2043
2061
  placeholder: l ?? "Search",
2044
2062
  label: i ?? l ?? "Search"
2045
- } : d == null ? null : {
2046
- query: d.query,
2047
- setQuery: d.setQuery,
2048
- placeholder: d.placeholder,
2049
- label: i ?? d.placeholder
2063
+ } : u == null ? null : {
2064
+ query: u.query,
2065
+ setQuery: u.setQuery,
2066
+ placeholder: u.placeholder,
2067
+ label: i ?? u.placeholder
2050
2068
  }, [h, g] = _(!1), v = C(null), y = h || (c?.query ?? "") !== "";
2051
- if (L(() => {
2069
+ if (B(() => {
2052
2070
  if (!h) return;
2053
2071
  let f = 0, A = 0;
2054
2072
  const x = () => {
@@ -2059,9 +2077,9 @@ function Hn({ variant: e = "box", fold: t = "auto", value: n, onValueChange: r,
2059
2077
  }, [h]), e === "ghost") return /* @__PURE__ */ a("div", {
2060
2078
  "data-basic-page-search": "",
2061
2079
  "data-variant": "ghost",
2062
- className: u("flex min-w-0 flex-1", c == null && "hidden", o),
2080
+ className: d("flex min-w-0 flex-1", c == null && "hidden", o),
2063
2081
  ...p,
2064
- children: c != null && /* @__PURE__ */ a(at, {
2082
+ children: c != null && /* @__PURE__ */ a(nt, {
2065
2083
  value: c.query,
2066
2084
  onChange: c.setQuery,
2067
2085
  onClear: () => c.setQuery(""),
@@ -2076,11 +2094,11 @@ function Hn({ variant: e = "box", fold: t = "auto", value: n, onValueChange: r,
2076
2094
  return /* @__PURE__ */ a("div", {
2077
2095
  "data-basic-page-search": "",
2078
2096
  "data-expanded": y || void 0,
2079
- className: u("grid min-w-0 content-center", "[[data-basic-page-header]>&]:col-start-2 [[data-basic-page-header]>&]:row-span-2 [[data-basic-page-header]>&]:row-start-1 [[data-basic-page-header]>&]:ml-4 [[data-basic-page-header]>&]:justify-items-end [[data-basic-page-header]>&]:self-start", c == null && "hidden", o),
2097
+ className: d("grid min-w-0 content-center", "[[data-basic-page-header]>&]:col-start-2 [[data-basic-page-header]>&]:row-span-2 [[data-basic-page-header]>&]:row-start-1 [[data-basic-page-header]>&]:ml-4 [[data-basic-page-header]>&]:justify-items-end [[data-basic-page-header]>&]:self-start", c == null && "hidden", o),
2080
2098
  ...p,
2081
2099
  children: c != null && /* @__PURE__ */ b("div", {
2082
- className: u("grid w-9 max-w-full justify-items-end *:[grid-area:1/1]", Fn, w && "@[36rem]:w-56"),
2083
- style: y ? { width: Dn } : void 0,
2100
+ className: d("grid w-9 max-w-full justify-items-end *:[grid-area:1/1]", zn, w && "@[36rem]:w-56"),
2101
+ style: y ? { width: Hn } : void 0,
2084
2102
  children: [/* @__PURE__ */ a(re, {
2085
2103
  variant: "outlined",
2086
2104
  size: "sm",
@@ -2090,12 +2108,12 @@ function Hn({ variant: e = "box", fold: t = "auto", value: n, onValueChange: r,
2090
2108
  "aria-hidden": y || void 0,
2091
2109
  tabIndex: y ? -1 : void 0,
2092
2110
  onClick: () => g(!0),
2093
- className: u(ea, y ? "pointer-events-none invisible opacity-0" : "visible opacity-100", w && "@[36rem]:pointer-events-none @[36rem]:invisible @[36rem]:opacity-0"),
2094
- children: /* @__PURE__ */ a(Xa, {})
2111
+ className: d(ea, y ? "pointer-events-none invisible opacity-0" : "visible opacity-100", w && "@[36rem]:pointer-events-none @[36rem]:invisible @[36rem]:opacity-0"),
2112
+ children: /* @__PURE__ */ a(Ua, {})
2095
2113
  }), /* @__PURE__ */ a("div", {
2096
2114
  inert: !w && !y,
2097
- className: u("w-full min-w-0", ea, y ? "visible opacity-100" : "pointer-events-none invisible opacity-0", w && "@[36rem]:pointer-events-auto @[36rem]:visible @[36rem]:opacity-100"),
2098
- children: /* @__PURE__ */ a(tt, {
2115
+ className: d("w-full min-w-0", ea, y ? "visible opacity-100" : "pointer-events-none invisible opacity-0", w && "@[36rem]:pointer-events-auto @[36rem]:visible @[36rem]:opacity-100"),
2116
+ children: /* @__PURE__ */ a(rt, {
2099
2117
  ref: v,
2100
2118
  value: c.query,
2101
2119
  onChange: (f) => c.setQuery(f.target.value),
@@ -2114,32 +2132,32 @@ function Hn({ variant: e = "box", fold: t = "auto", value: n, onValueChange: r,
2114
2132
  })
2115
2133
  });
2116
2134
  }
2117
- function zn({ header: e, main: t, side: n, foot: r, enter: l }) {
2135
+ function $n({ header: e, main: t, side: n, foot: r, enter: l }) {
2118
2136
  const i = n != null;
2119
2137
  return /* @__PURE__ */ a("div", {
2120
2138
  "data-basic-page-columns": "",
2121
2139
  className: "@container w-full min-w-0",
2122
2140
  children: /* @__PURE__ */ b("div", {
2123
- className: u("mx-auto w-full max-w-[42rem]", i && "@min-[73.5rem]:max-w-none"),
2141
+ className: d("mx-auto w-full max-w-[42rem]", i && "@min-[73.5rem]:max-w-none"),
2124
2142
  children: [e, /* @__PURE__ */ b("div", {
2125
- className: u("grid gap-x-10 gap-y-4", i && "@min-[73.5rem]:grid-cols-[minmax(42rem,1fr)_minmax(29rem,32rem)] @min-[73.5rem]:grid-rows-[auto_minmax(0,1fr)]", i && "[&>[data-basic-page-columns-side]]:mt-6 @min-[73.5rem]:[&>[data-basic-page-columns-side]]:mt-7", r != null && "[&>[data-basic-page-columns-foot]]:mt-6"),
2143
+ className: d("grid gap-x-10 gap-y-4", i && "@min-[73.5rem]:grid-cols-[minmax(42rem,1fr)_minmax(29rem,32rem)] @min-[73.5rem]:grid-rows-[auto_minmax(0,1fr)]", i && "[&>[data-basic-page-columns-side]]:mt-6 @min-[73.5rem]:[&>[data-basic-page-columns-side]]:mt-7", r != null && "[&>[data-basic-page-columns-foot]]:mt-6"),
2126
2144
  children: [
2127
2145
  /* @__PURE__ */ a(oe, {
2128
2146
  enter: l,
2129
2147
  "data-basic-page-columns-main": "",
2130
- className: u("[[data-basic-page-stack]>[data-basic-page-columns]_&]:mt-0", i && "@min-[73.5rem]:col-start-1 @min-[73.5rem]:row-span-2 @min-[73.5rem]:row-start-1"),
2148
+ className: d("[[data-basic-page-stack]>[data-basic-page-columns]_&]:mt-0", i && "@min-[73.5rem]:col-start-1 @min-[73.5rem]:row-span-2 @min-[73.5rem]:row-start-1"),
2131
2149
  children: t
2132
2150
  }),
2133
2151
  i ? /* @__PURE__ */ a(oe, {
2134
2152
  enter: l,
2135
2153
  "data-basic-page-columns-side": "",
2136
- className: u("[[data-basic-page-stack]>[data-basic-page-columns]_&]:mt-0", "@min-[73.5rem]:col-start-2 @min-[73.5rem]:row-start-1"),
2154
+ className: d("[[data-basic-page-stack]>[data-basic-page-columns]_&]:mt-0", "@min-[73.5rem]:col-start-2 @min-[73.5rem]:row-start-1"),
2137
2155
  children: n
2138
2156
  }) : null,
2139
2157
  r != null ? /* @__PURE__ */ a(oe, {
2140
2158
  enter: l,
2141
2159
  "data-basic-page-columns-foot": "",
2142
- className: u("[[data-basic-page-stack]>[data-basic-page-columns]_&]:mt-0", i && "@min-[73.5rem]:col-start-2 @min-[73.5rem]:row-start-2 @min-[73.5rem]:self-start"),
2160
+ className: d("[[data-basic-page-stack]>[data-basic-page-columns]_&]:mt-0", i && "@min-[73.5rem]:col-start-2 @min-[73.5rem]:row-start-2 @min-[73.5rem]:self-start"),
2143
2161
  children: r
2144
2162
  }) : null
2145
2163
  ]
@@ -2147,71 +2165,71 @@ function zn({ header: e, main: t, side: n, foot: r, enter: l }) {
2147
2165
  })
2148
2166
  });
2149
2167
  }
2150
- var vr = {
2151
- Root: pt,
2152
- Aside: On,
2153
- Search: Hn,
2154
- Table: Ya,
2155
- Code: qa,
2156
- CondenseScope: Nt,
2157
- Breadcrumbs: Oa,
2158
- Crumb: La,
2159
- Back: Pn,
2160
- Title: St,
2161
- TitleAccessory: Rt,
2168
+ var wr = {
2169
+ Root: ft,
2170
+ Aside: Bn,
2171
+ Search: Gn,
2172
+ Table: Za,
2173
+ Code: Ka,
2174
+ CondenseScope: At,
2175
+ Breadcrumbs: La,
2176
+ Crumb: Ba,
2177
+ Back: On,
2178
+ Title: Pt,
2179
+ TitleAccessory: Tt,
2162
2180
  Stack: oe,
2163
- Columns: zn,
2164
- Header: Ft,
2165
- HeaderAction: Ht,
2166
- SectionTitle: zt,
2181
+ Columns: $n,
2182
+ Header: zt,
2183
+ HeaderAction: Gt,
2184
+ SectionTitle: $t,
2167
2185
  Description: va,
2168
- TableCount: Gt,
2169
- SectionFooter: $t,
2170
- Card: Wt,
2171
- Item: Vt,
2172
- ItemPanel: jt,
2173
- Callout: qt,
2174
- CalloutTitle: Kt,
2175
- CalloutDescription: Xt,
2176
- Onboard: Ut,
2177
- Step: ln,
2178
- Checklist: an,
2179
- Check: tn,
2180
- Timeline: nn,
2181
- TimelineItem: rn,
2182
- Row: on,
2183
- RowLink: In,
2184
- Value: cn,
2186
+ TableCount: Wt,
2187
+ SectionFooter: Vt,
2188
+ Card: jt,
2189
+ Item: qt,
2190
+ ItemPanel: Kt,
2191
+ Callout: Xt,
2192
+ CalloutTitle: Qt,
2193
+ CalloutDescription: Ut,
2194
+ Onboard: Jt,
2195
+ Step: cn,
2196
+ Checklist: nn,
2197
+ Check: rn,
2198
+ Timeline: sn,
2199
+ TimelineItem: ln,
2200
+ Row: dn,
2201
+ RowLink: Ln,
2202
+ Value: un,
2185
2203
  Meta: Ge.Root,
2186
2204
  MetaItem: Ge.Item,
2187
- Receipt: fn,
2188
- ReceiptGroup: hn,
2189
- ReceiptLine: gn,
2190
- ReceiptTotal: bn,
2191
- Alert: vn,
2192
- Footer: An,
2193
- Form: yn,
2194
- Saved: xn,
2195
- Fields: wn,
2196
- Inline: Nn,
2197
- Submit: _n,
2205
+ Receipt: gn,
2206
+ ReceiptGroup: bn,
2207
+ ReceiptLine: vn,
2208
+ ReceiptTotal: yn,
2209
+ Alert: xn,
2210
+ Footer: En,
2211
+ Form: wn,
2212
+ Saved: Nn,
2213
+ Fields: _n,
2214
+ Inline: An,
2215
+ Submit: Cn,
2198
2216
  Reveal: ze
2199
2217
  };
2200
2218
  export {
2201
- st as a,
2202
- vr as c,
2203
- _t as d,
2219
+ ot as a,
2220
+ wr as c,
2221
+ Ct as d,
2204
2222
  Ae as f,
2205
- it as i,
2223
+ lt as i,
2206
2224
  pe as l,
2207
- hr as m,
2225
+ vr as m,
2208
2226
  We as n,
2209
- lt as o,
2210
- gr as p,
2227
+ ct as o,
2228
+ yr as p,
2211
2229
  sa as r,
2212
- rt as s,
2213
- br as t,
2214
- At as u
2230
+ st as s,
2231
+ xr as t,
2232
+ Et as u
2215
2233
  };
2216
2234
 
2217
- //# sourceMappingURL=basic-page-DS1YIheB.js.map
2235
+ //# sourceMappingURL=basic-page-Bfcda8w5.js.map