@voltro/ui-shadcn 0.66.1 → 0.67.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,105 +1,105 @@
1
1
  import { cn as e } from "./cn.js";
2
- import { VOLTRO_BOLT_PATH as t, VOLTRO_VIOLET as n, VoltroIcon as r, VoltroMark as i, VoltroWordmark as a } from "./brand.js";
3
- import { Children as o, createContext as s, forwardRef as c, isValidElement as l, useCallback as u, useContext as d, useEffect as f, useId as p, useMemo as m, useRef as h, useState as g } from "react";
4
- import { Fragment as _, jsx as v, jsxs as y } from "react/jsx-runtime";
5
- import { cva as b } from "class-variance-authority";
6
- import * as x from "@radix-ui/react-dropdown-menu";
7
- import * as S from "@radix-ui/react-toggle";
8
- import * as C from "@radix-ui/react-toggle-group";
2
+ import { a as t, i as n, n as r, o as i, r as a, s as o, t as s } from "./voltroLogo-CSnSpQhz.js";
3
+ import { Children as c, createContext as l, forwardRef as u, isValidElement as d, useCallback as f, useContext as p, useEffect as m, useId as h, useMemo as g, useRef as _, useState as v } from "react";
4
+ import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
5
+ import { cva as S } from "class-variance-authority";
6
+ import * as C from "@radix-ui/react-dropdown-menu";
7
+ import * as w from "@radix-ui/react-toggle";
8
+ import * as T from "@radix-ui/react-toggle-group";
9
9
  //#region src/widgets.tsx
10
- var w = {
10
+ var E = {
11
11
  field: "voltro-field flex flex-col gap-1",
12
12
  label: "text-sm font-medium text-foreground",
13
13
  control: "block w-full rounded-md border border-input bg-background px-3 py-2 text-sm shadow-sm focus:outline-none focus:ring-2 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50",
14
14
  checkbox: "h-4 w-4 rounded border-input text-primary focus:ring-2 focus:ring-ring",
15
15
  error: "text-sm text-destructive"
16
- }, T = (e) => e == null ? "" : String(e), E = (e, t) => t === void 0 ? void 0 : `${e}-error`, D = (e) => /* @__PURE__ */ y("div", {
17
- className: w.field,
16
+ }, D = (e) => e == null ? "" : String(e), O = (e, t) => t === void 0 ? void 0 : `${e}-error`, k = (e) => /* @__PURE__ */ x("div", {
17
+ className: E.field,
18
18
  children: [
19
- /* @__PURE__ */ y("label", {
20
- className: w.label,
19
+ /* @__PURE__ */ x("label", {
20
+ className: E.label,
21
21
  htmlFor: e.id,
22
22
  children: [e.label, e.required ? " *" : ""]
23
23
  }),
24
24
  e.children,
25
- e.error === void 0 ? null : /* @__PURE__ */ v("p", {
25
+ e.error === void 0 ? null : /* @__PURE__ */ b("p", {
26
26
  id: `${e.id}-error`,
27
- className: w.error,
27
+ className: E.error,
28
28
  role: "alert",
29
29
  children: e.error
30
30
  })
31
31
  ]
32
- }), O = (e, t) => (n) => {
33
- let r = p();
34
- return /* @__PURE__ */ v(D, {
32
+ }), A = (e, t) => (n) => {
33
+ let r = h();
34
+ return /* @__PURE__ */ b(k, {
35
35
  id: r,
36
36
  label: n.label,
37
37
  required: n.required,
38
38
  error: n.error,
39
- children: /* @__PURE__ */ v("input", {
39
+ children: /* @__PURE__ */ b("input", {
40
40
  id: r,
41
41
  type: e,
42
42
  name: n.name,
43
- className: w.control,
44
- value: T(n.value),
43
+ className: E.control,
44
+ value: D(n.value),
45
45
  onChange: (e) => n.onChange(t(e.target.value)),
46
46
  disabled: n.disabled,
47
47
  required: n.required,
48
48
  "aria-invalid": n.error !== void 0,
49
- "aria-describedby": E(r, n.error)
49
+ "aria-describedby": O(r, n.error)
50
50
  })
51
51
  });
52
- }, k = {
53
- text: O("text", (e) => e),
54
- number: O("number", (e) => e === "" ? void 0 : Number(e)),
55
- date: O("date", (e) => e),
56
- datetime: O("datetime-local", (e) => e),
57
- daterange: O("text", (e) => e),
58
- "async-select": O("text", (e) => e),
52
+ }, j = {
53
+ text: A("text", (e) => e),
54
+ number: A("number", (e) => e === "" ? void 0 : Number(e)),
55
+ date: A("date", (e) => e),
56
+ datetime: A("datetime-local", (e) => e),
57
+ daterange: A("text", (e) => e),
58
+ "async-select": A("text", (e) => e),
59
59
  textarea: (e) => {
60
- let t = p();
61
- return /* @__PURE__ */ v(D, {
60
+ let t = h();
61
+ return /* @__PURE__ */ b(k, {
62
62
  id: t,
63
63
  label: e.label,
64
64
  required: e.required,
65
65
  error: e.error,
66
- children: /* @__PURE__ */ v("textarea", {
66
+ children: /* @__PURE__ */ b("textarea", {
67
67
  id: t,
68
68
  name: e.name,
69
- className: w.control,
70
- value: T(e.value),
69
+ className: E.control,
70
+ value: D(e.value),
71
71
  onChange: (t) => e.onChange(t.target.value),
72
72
  disabled: e.disabled,
73
73
  required: e.required,
74
74
  "aria-invalid": e.error !== void 0,
75
- "aria-describedby": E(t, e.error)
75
+ "aria-describedby": O(t, e.error)
76
76
  })
77
77
  });
78
78
  },
79
79
  checkbox: (e) => {
80
- let t = p();
81
- return /* @__PURE__ */ y("div", {
80
+ let t = h();
81
+ return /* @__PURE__ */ x("div", {
82
82
  className: "voltro-field flex items-center gap-2",
83
83
  children: [
84
- /* @__PURE__ */ v("input", {
84
+ /* @__PURE__ */ b("input", {
85
85
  id: t,
86
86
  type: "checkbox",
87
87
  name: e.name,
88
- className: w.checkbox,
88
+ className: E.checkbox,
89
89
  checked: e.value === !0,
90
90
  onChange: (t) => e.onChange(t.target.checked),
91
91
  disabled: e.disabled,
92
92
  "aria-invalid": e.error !== void 0,
93
- "aria-describedby": E(t, e.error)
93
+ "aria-describedby": O(t, e.error)
94
94
  }),
95
- /* @__PURE__ */ y("label", {
96
- className: w.label,
95
+ /* @__PURE__ */ x("label", {
96
+ className: E.label,
97
97
  htmlFor: t,
98
98
  children: [e.label, e.required ? " *" : ""]
99
99
  }),
100
- e.error === void 0 ? null : /* @__PURE__ */ v("p", {
100
+ e.error === void 0 ? null : /* @__PURE__ */ b("p", {
101
101
  id: `${t}-error`,
102
- className: w.error,
102
+ className: E.error,
103
103
  role: "alert",
104
104
  children: e.error
105
105
  })
@@ -107,11 +107,11 @@ var w = {
107
107
  });
108
108
  },
109
109
  switch: (e) => {
110
- let t = p(), n = e.value === !0;
111
- return /* @__PURE__ */ y("div", {
110
+ let t = h(), n = e.value === !0;
111
+ return /* @__PURE__ */ x("div", {
112
112
  className: "voltro-field flex items-center gap-2",
113
113
  children: [
114
- /* @__PURE__ */ v("button", {
114
+ /* @__PURE__ */ b("button", {
115
115
  id: t,
116
116
  type: "button",
117
117
  role: "switch",
@@ -119,21 +119,21 @@ var w = {
119
119
  onClick: () => e.onChange(!n),
120
120
  disabled: e.disabled,
121
121
  "aria-invalid": e.error !== void 0,
122
- "aria-describedby": E(t, e.error),
122
+ "aria-describedby": O(t, e.error),
123
123
  className: "relative inline-flex h-5 w-9 shrink-0 items-center rounded-full border border-input transition-colors focus:outline-none focus:ring-2 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 " + (n ? "bg-primary" : "bg-input"),
124
- children: /* @__PURE__ */ v("span", {
124
+ children: /* @__PURE__ */ b("span", {
125
125
  "aria-hidden": "true",
126
126
  className: "block h-4 w-4 rounded-full bg-background shadow-sm transition-transform " + (n ? "translate-x-4" : "translate-x-0.5")
127
127
  })
128
128
  }),
129
- /* @__PURE__ */ y("label", {
130
- className: w.label,
129
+ /* @__PURE__ */ x("label", {
130
+ className: E.label,
131
131
  htmlFor: t,
132
132
  children: [e.label, e.required ? " *" : ""]
133
133
  }),
134
- e.error === void 0 ? null : /* @__PURE__ */ v("p", {
134
+ e.error === void 0 ? null : /* @__PURE__ */ b("p", {
135
135
  id: `${t}-error`,
136
- className: w.error,
136
+ className: E.error,
137
137
  role: "alert",
138
138
  children: e.error
139
139
  })
@@ -141,26 +141,26 @@ var w = {
141
141
  });
142
142
  },
143
143
  select: (e) => {
144
- let t = p();
145
- return /* @__PURE__ */ v(D, {
144
+ let t = h();
145
+ return /* @__PURE__ */ b(k, {
146
146
  id: t,
147
147
  label: e.label,
148
148
  required: e.required,
149
149
  error: e.error,
150
- children: /* @__PURE__ */ y("select", {
150
+ children: /* @__PURE__ */ x("select", {
151
151
  id: t,
152
152
  name: e.name,
153
- className: w.control,
154
- value: T(e.value),
153
+ className: E.control,
154
+ value: D(e.value),
155
155
  onChange: (t) => e.onChange(t.target.value),
156
156
  disabled: e.disabled,
157
157
  required: e.required,
158
158
  "aria-invalid": e.error !== void 0,
159
- "aria-describedby": E(t, e.error),
160
- children: [/* @__PURE__ */ v("option", {
159
+ "aria-describedby": O(t, e.error),
160
+ children: [/* @__PURE__ */ b("option", {
161
161
  value: "",
162
162
  children: "—"
163
- }), (e.options ?? []).map((e) => /* @__PURE__ */ v("option", {
163
+ }), (e.options ?? []).map((e) => /* @__PURE__ */ b("option", {
164
164
  value: e.value,
165
165
  children: e.label
166
166
  }, e.value))]
@@ -168,31 +168,31 @@ var w = {
168
168
  });
169
169
  },
170
170
  radio: (e) => {
171
- let t = p();
172
- return /* @__PURE__ */ y("fieldset", {
173
- className: w.field,
171
+ let t = h();
172
+ return /* @__PURE__ */ x("fieldset", {
173
+ className: E.field,
174
174
  "aria-invalid": e.error !== void 0,
175
175
  children: [
176
- /* @__PURE__ */ y("legend", {
177
- className: w.label,
176
+ /* @__PURE__ */ x("legend", {
177
+ className: E.label,
178
178
  children: [e.label, e.required ? " *" : ""]
179
179
  }),
180
- /* @__PURE__ */ v("div", {
180
+ /* @__PURE__ */ b("div", {
181
181
  className: "flex flex-col gap-1",
182
182
  children: (e.options ?? []).map((n) => {
183
183
  let r = `${t}-${n.value}`;
184
- return /* @__PURE__ */ y("span", {
184
+ return /* @__PURE__ */ x("span", {
185
185
  className: "flex items-center gap-2",
186
- children: [/* @__PURE__ */ v("input", {
186
+ children: [/* @__PURE__ */ b("input", {
187
187
  id: r,
188
188
  type: "radio",
189
189
  name: e.name,
190
190
  value: n.value,
191
- className: w.checkbox,
192
- checked: T(e.value) === n.value,
191
+ className: E.checkbox,
192
+ checked: D(e.value) === n.value,
193
193
  onChange: () => e.onChange(n.value),
194
194
  disabled: e.disabled
195
- }), /* @__PURE__ */ v("label", {
195
+ }), /* @__PURE__ */ b("label", {
196
196
  className: "text-sm text-foreground",
197
197
  htmlFor: r,
198
198
  children: n.label
@@ -200,9 +200,9 @@ var w = {
200
200
  }, n.value);
201
201
  })
202
202
  }),
203
- e.error === void 0 ? null : /* @__PURE__ */ v("p", {
203
+ e.error === void 0 ? null : /* @__PURE__ */ b("p", {
204
204
  id: `${t}-error`,
205
- className: w.error,
205
+ className: E.error,
206
206
  role: "alert",
207
207
  children: e.error
208
208
  })
@@ -210,23 +210,23 @@ var w = {
210
210
  });
211
211
  },
212
212
  "multi-select": (e) => {
213
- let t = p(), n = Array.isArray(e.value) ? e.value.map(String) : [];
214
- return /* @__PURE__ */ v(D, {
213
+ let t = h(), n = Array.isArray(e.value) ? e.value.map(String) : [];
214
+ return /* @__PURE__ */ b(k, {
215
215
  id: t,
216
216
  label: e.label,
217
217
  required: e.required,
218
218
  error: e.error,
219
- children: /* @__PURE__ */ v("select", {
219
+ children: /* @__PURE__ */ b("select", {
220
220
  id: t,
221
221
  name: e.name,
222
222
  multiple: !0,
223
- className: w.control + " min-h-24",
223
+ className: E.control + " min-h-24",
224
224
  value: n,
225
225
  onChange: (t) => e.onChange(Array.from(t.target.selectedOptions, (e) => e.value)),
226
226
  disabled: e.disabled,
227
227
  "aria-invalid": e.error !== void 0,
228
- "aria-describedby": E(t, e.error),
229
- children: (e.options ?? []).map((e) => /* @__PURE__ */ v("option", {
228
+ "aria-describedby": O(t, e.error),
229
+ children: (e.options ?? []).map((e) => /* @__PURE__ */ b("option", {
230
230
  value: e.value,
231
231
  children: e.label
232
232
  }, e.value))
@@ -234,26 +234,26 @@ var w = {
234
234
  });
235
235
  },
236
236
  file: (e) => {
237
- let t = p();
238
- return /* @__PURE__ */ v(D, {
237
+ let t = h();
238
+ return /* @__PURE__ */ b(k, {
239
239
  id: t,
240
240
  label: e.label,
241
241
  required: e.required,
242
242
  error: e.error,
243
- children: /* @__PURE__ */ v("input", {
243
+ children: /* @__PURE__ */ b("input", {
244
244
  id: t,
245
245
  type: "file",
246
246
  name: e.name,
247
- className: w.control + " file:mr-3 file:rounded file:border-0 file:bg-primary file:px-2 file:py-1 file:text-sm file:text-primary-foreground",
247
+ className: E.control + " file:mr-3 file:rounded file:border-0 file:bg-primary file:px-2 file:py-1 file:text-sm file:text-primary-foreground",
248
248
  onChange: (t) => e.onChange(t.target.value),
249
249
  disabled: e.disabled,
250
250
  required: e.required,
251
251
  "aria-invalid": e.error !== void 0,
252
- "aria-describedby": E(t, e.error)
252
+ "aria-describedby": O(t, e.error)
253
253
  })
254
254
  });
255
255
  }
256
- }, A = "voltro:theme", j = "voltro:locale", M = (e) => e === "system" || e === "light" || e === "dark", ee = 3456e4, N = (e, t) => {
256
+ }, M = "voltro:theme", N = "voltro:theme-change", P = "voltro:locale", ee = (e) => e === "system" || e === "light" || e === "dark", te = 3456e4, F = (e, t) => {
257
257
  let n = t ?? (typeof document < "u" ? document.cookie : "");
258
258
  if (n) for (let t of n.split(";")) {
259
259
  let n = t.indexOf("=");
@@ -263,8 +263,8 @@ var w = {
263
263
  return t.slice(n + 1).trim();
264
264
  }
265
265
  }
266
- }, P = (e, t, n = {}) => {
267
- let { maxAgeSeconds: r = ee, path: i = "/", sameSite: a = "lax" } = n, o = [
266
+ }, I = (e, t, n = {}) => {
267
+ let { maxAgeSeconds: r = te, path: i = "/", sameSite: a = "lax" } = n, o = [
268
268
  `${e}=${encodeURIComponent(t)}`,
269
269
  `Path=${i}`,
270
270
  `Max-Age=${r}`,
@@ -273,20 +273,20 @@ var w = {
273
273
  a === "none" && o.push("Secure");
274
274
  let s = o.join("; ");
275
275
  return typeof document < "u" && (document.cookie = s), s;
276
- }, te = (e, t = "/") => P(e, "", {
276
+ }, ne = (e, t = "/") => I(e, "", {
277
277
  maxAgeSeconds: 0,
278
278
  path: t
279
- }), ne = (e) => {
280
- let t = e ?? void 0, n = N(A, t), r = N(j, t);
279
+ }), re = (e) => {
280
+ let t = e ?? void 0, n = F(M, t), r = F(P, t);
281
281
  return {
282
- ...n !== void 0 && M(n) ? { theme: n } : {},
282
+ ...n !== void 0 && ee(n) ? { theme: n } : {},
283
283
  ...r !== void 0 && r !== "" ? { locale: r } : {}
284
284
  };
285
- }, re = (e) => {
285
+ }, L = (e) => {
286
286
  if (typeof document > "u") return;
287
287
  let t = e === "dark" || e === "system" && typeof window < "u" && window.matchMedia?.("(prefers-color-scheme: dark)").matches === !0;
288
- document.documentElement.classList.toggle("dark", t);
289
- }, ie = b("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive cursor-pointer", {
288
+ document.documentElement.classList.toggle("dark", t), typeof window < "u" && window.dispatchEvent(new Event(N));
289
+ }, ie = S("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive cursor-pointer", {
290
290
  variants: {
291
291
  variant: {
292
292
  default: "bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",
@@ -307,7 +307,7 @@ var w = {
307
307
  variant: "default",
308
308
  size: "default"
309
309
  }
310
- }), F = ({ className: t, variant: n, size: r, children: i, ...a }) => /* @__PURE__ */ v("button", {
310
+ }), R = ({ className: t, variant: n, size: r, children: i, ...a }) => /* @__PURE__ */ b("button", {
311
311
  "data-slot": "button",
312
312
  className: e(ie({
313
313
  variant: n,
@@ -316,60 +316,60 @@ var w = {
316
316
  })),
317
317
  ...a,
318
318
  children: i
319
- }), I = ({ className: t, children: n, ...r }) => /* @__PURE__ */ v("div", {
319
+ }), z = ({ className: t, children: n, ...r }) => /* @__PURE__ */ b("div", {
320
320
  "data-slot": "card",
321
321
  className: e("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm", t),
322
322
  ...r,
323
323
  children: n
324
- }), L = ({ className: t, children: n, ...r }) => /* @__PURE__ */ v("div", {
324
+ }), B = ({ className: t, children: n, ...r }) => /* @__PURE__ */ b("div", {
325
325
  "data-slot": "card-header",
326
326
  className: e("grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6", t),
327
327
  ...r,
328
328
  children: n
329
- }), R = ({ className: t, children: n, ...r }) => /* @__PURE__ */ v("h3", {
329
+ }), V = ({ className: t, children: n, ...r }) => /* @__PURE__ */ b("h3", {
330
330
  "data-slot": "card-title",
331
331
  className: e("leading-none font-semibold tracking-tight", t),
332
332
  ...r,
333
333
  children: n
334
- }), ae = ({ className: t, children: n, ...r }) => /* @__PURE__ */ v("p", {
334
+ }), ae = ({ className: t, children: n, ...r }) => /* @__PURE__ */ b("p", {
335
335
  "data-slot": "card-description",
336
336
  className: e("text-muted-foreground text-sm", t),
337
337
  ...r,
338
338
  children: n
339
- }), oe = ({ className: t, children: n, ...r }) => /* @__PURE__ */ v("div", {
339
+ }), oe = ({ className: t, children: n, ...r }) => /* @__PURE__ */ b("div", {
340
340
  "data-slot": "card-content",
341
341
  className: e("px-6", t),
342
342
  ...r,
343
343
  children: n
344
- }), se = ({ className: t, children: n, ...r }) => /* @__PURE__ */ v("div", {
344
+ }), se = ({ className: t, children: n, ...r }) => /* @__PURE__ */ b("div", {
345
345
  "data-slot": "card-footer",
346
346
  className: e("flex items-center px-6", t),
347
347
  ...r,
348
348
  children: n
349
- }), z = ({ className: t, type: n = "text", ...r }) => /* @__PURE__ */ v("input", {
349
+ }), ce = ({ className: t, type: n = "text", ...r }) => /* @__PURE__ */ b("input", {
350
350
  type: n,
351
351
  "data-slot": "input",
352
352
  className: e("flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs", "transition-[color,box-shadow] outline-none", "file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium", "placeholder:text-muted-foreground", "selection:bg-primary selection:text-primary-foreground", "dark:bg-input/30", "disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50", "md:text-sm", "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]", "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive", t),
353
353
  ...r
354
- }), ce = ({ className: t, ...n }) => /* @__PURE__ */ v("textarea", {
354
+ }), le = ({ className: t, ...n }) => /* @__PURE__ */ b("textarea", {
355
355
  "data-slot": "textarea",
356
356
  className: e("flex min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs", "transition-[color,box-shadow] outline-none", "placeholder:text-muted-foreground", "selection:bg-primary selection:text-primary-foreground", "dark:bg-input/30", "disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50", "md:text-sm", "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]", "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive", t),
357
357
  ...n
358
- }), le = ({ className: t, indeterminate: n, ...r }) => {
359
- let i = h(null);
360
- return f(() => {
358
+ }), ue = ({ className: t, indeterminate: n, ...r }) => {
359
+ let i = _(null);
360
+ return m(() => {
361
361
  i.current && (i.current.indeterminate = n === !0);
362
- }, [n]), /* @__PURE__ */ y("span", {
362
+ }, [n]), /* @__PURE__ */ x("span", {
363
363
  className: "relative inline-flex size-4 shrink-0 items-center justify-center",
364
364
  children: [
365
- /* @__PURE__ */ v("input", {
365
+ /* @__PURE__ */ b("input", {
366
366
  ref: i,
367
367
  type: "checkbox",
368
368
  "data-slot": "checkbox",
369
369
  className: e("peer size-4 appearance-none rounded-[4px] border shadow-xs outline-none", "border-input bg-transparent dark:bg-input/30", "checked:bg-primary checked:border-primary", "indeterminate:bg-primary indeterminate:border-primary", "transition-[color,box-shadow]", "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]", "disabled:cursor-not-allowed disabled:opacity-50", "cursor-pointer", t),
370
370
  ...r
371
371
  }),
372
- /* @__PURE__ */ v("svg", {
372
+ /* @__PURE__ */ b("svg", {
373
373
  viewBox: "0 0 24 24",
374
374
  fill: "none",
375
375
  stroke: "currentColor",
@@ -377,30 +377,17 @@ var w = {
377
377
  strokeLinecap: "round",
378
378
  strokeLinejoin: "round",
379
379
  className: "pointer-events-none absolute hidden size-3 text-primary-foreground peer-checked:peer-indeterminate:hidden peer-checked:block",
380
- children: /* @__PURE__ */ v("path", { d: "M20 6 9 17l-5-5" })
380
+ children: /* @__PURE__ */ b("path", { d: "M20 6 9 17l-5-5" })
381
381
  }),
382
- /* @__PURE__ */ v("span", { className: "pointer-events-none absolute hidden h-[2px] w-2.5 rounded-full bg-primary-foreground peer-indeterminate:block" })
382
+ /* @__PURE__ */ b("span", { className: "pointer-events-none absolute hidden h-[2px] w-2.5 rounded-full bg-primary-foreground peer-indeterminate:block" })
383
383
  ]
384
384
  });
385
- }, B = ({ className: t, children: n, ...r }) => /* @__PURE__ */ v("label", {
385
+ }, de = ({ className: t, children: n, ...r }) => /* @__PURE__ */ b("label", {
386
386
  "data-slot": "label",
387
387
  className: e("flex items-center gap-2 text-sm leading-none font-medium select-none", "group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50", "peer-disabled:cursor-not-allowed peer-disabled:opacity-50", t),
388
388
  ...r,
389
389
  children: n
390
- }), ue = b("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 [&>svg]:pointer-events-none gap-1 transition-[color,box-shadow] overflow-hidden focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive", {
391
- variants: { variant: {
392
- default: "border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",
393
- secondary: "border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",
394
- destructive: "border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90",
395
- outline: "text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"
396
- } },
397
- defaultVariants: { variant: "default" }
398
- }), de = ({ className: t, variant: n, children: r, ...i }) => /* @__PURE__ */ v("span", {
399
- "data-slot": "badge",
400
- className: e(ue({ variant: n }), t),
401
- ...i,
402
- children: r
403
- }), fe = ({ className: t, orientation: n = "horizontal", ...r }) => /* @__PURE__ */ v("div", {
390
+ }), fe = ({ className: t, orientation: n = "horizontal", ...r }) => /* @__PURE__ */ b("div", {
404
391
  "data-slot": "separator",
405
392
  role: "separator",
406
393
  "aria-orientation": n,
@@ -410,74 +397,74 @@ var w = {
410
397
  sm: "size-6 text-xs",
411
398
  md: "size-9 text-sm",
412
399
  lg: "size-12 text-base"
413
- }, me = ({ src: t, alt: n, fallback: r, size: i = "md", className: a, ...o }) => /* @__PURE__ */ v("div", {
400
+ }, me = ({ src: t, alt: n, fallback: r, size: i = "md", className: a, ...o }) => /* @__PURE__ */ b("div", {
414
401
  "data-slot": "avatar",
415
402
  className: e("relative inline-flex items-center justify-center overflow-hidden rounded-full bg-muted", pe[i], a),
416
403
  ...o,
417
- children: t ? /* @__PURE__ */ v("img", {
404
+ children: t ? /* @__PURE__ */ b("img", {
418
405
  src: t,
419
406
  alt: n ?? "",
420
407
  className: "size-full object-cover"
421
- }) : /* @__PURE__ */ v("span", {
408
+ }) : /* @__PURE__ */ b("span", {
422
409
  className: "font-medium text-muted-foreground select-none",
423
410
  children: r ?? "?"
424
411
  })
425
- }), he = ({ className: t, ...n }) => /* @__PURE__ */ v("div", {
412
+ }), he = ({ className: t, ...n }) => /* @__PURE__ */ b("div", {
426
413
  "data-slot": "skeleton",
427
414
  className: e("animate-pulse rounded-md bg-muted", t),
428
415
  ...n
429
- }), ge = ({ className: t, children: n, ...r }) => /* @__PURE__ */ v("select", {
416
+ }), ge = ({ className: t, children: n, ...r }) => /* @__PURE__ */ b("select", {
430
417
  "data-slot": "select",
431
418
  className: e("flex h-9 w-full rounded-md border bg-transparent px-3 py-1 text-sm shadow-xs", "transition-[color,box-shadow] outline-none cursor-pointer", "dark:bg-input/30", "disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50", "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]", t),
432
419
  ...r,
433
420
  children: n
434
- }), _e = ({ className: t, children: n, ...r }) => /* @__PURE__ */ v("dialog", {
421
+ }), _e = ({ className: t, children: n, ...r }) => /* @__PURE__ */ b("dialog", {
435
422
  "data-slot": "dialog",
436
423
  className: e("fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2", "w-full max-w-lg rounded-lg border bg-background text-foreground p-6 shadow-lg", "backdrop:bg-black/50 backdrop:backdrop-blur-sm", "open:animate-in open:fade-in-0 open:zoom-in-95", t),
437
424
  ...r,
438
425
  children: n
439
- }), ve = ({ className: t, ...n }) => /* @__PURE__ */ v("div", {
426
+ }), ve = ({ className: t, ...n }) => /* @__PURE__ */ b("div", {
440
427
  "data-slot": "dialog-header",
441
428
  className: e("flex flex-col gap-1.5 text-left mb-4", t),
442
429
  ...n
443
- }), ye = ({ className: t, ...n }) => /* @__PURE__ */ v("h2", {
430
+ }), ye = ({ className: t, ...n }) => /* @__PURE__ */ b("h2", {
444
431
  "data-slot": "dialog-title",
445
432
  className: e("text-lg font-semibold leading-none tracking-tight", t),
446
433
  ...n
447
- }), be = ({ className: t, ...n }) => /* @__PURE__ */ v("p", {
434
+ }), be = ({ className: t, ...n }) => /* @__PURE__ */ b("p", {
448
435
  "data-slot": "dialog-description",
449
436
  className: e("text-sm text-muted-foreground", t),
450
437
  ...n
451
- }), xe = ({ className: t, ...n }) => /* @__PURE__ */ v("div", {
438
+ }), xe = ({ className: t, ...n }) => /* @__PURE__ */ b("div", {
452
439
  "data-slot": "dialog-footer",
453
440
  className: e("mt-6 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", t),
454
441
  ...n
455
- }), V = s(null), Se = ({ defaultValue: t, value: n, onValueChange: r, className: i, children: a, ...o }) => {
456
- let [s, c] = g(t), l = n ?? s;
457
- return /* @__PURE__ */ v(V.Provider, {
442
+ }), Se = l(null), Ce = ({ defaultValue: t, value: n, onValueChange: r, className: i, children: a, ...o }) => {
443
+ let [s, c] = v(t), l = n ?? s;
444
+ return /* @__PURE__ */ b(Se.Provider, {
458
445
  value: {
459
446
  value: l,
460
447
  setValue: (e) => {
461
448
  n === void 0 && c(e), r?.(e);
462
449
  }
463
450
  },
464
- children: /* @__PURE__ */ v("div", {
451
+ children: /* @__PURE__ */ b("div", {
465
452
  "data-slot": "tabs",
466
453
  className: e("flex flex-col gap-2", i),
467
454
  ...o,
468
455
  children: a
469
456
  })
470
457
  });
471
- }, Ce = ({ className: t, ...n }) => /* @__PURE__ */ v("div", {
458
+ }, we = ({ className: t, ...n }) => /* @__PURE__ */ b("div", {
472
459
  "data-slot": "tabs-list",
473
460
  role: "tablist",
474
461
  className: e("inline-flex h-9 w-fit items-center justify-center rounded-lg bg-muted text-muted-foreground p-1", t),
475
462
  ...n
476
- }), we = ({ value: t, className: n, children: r, ...i }) => {
477
- let a = d(V);
463
+ }), Te = ({ value: t, className: n, children: r, ...i }) => {
464
+ let a = p(Se);
478
465
  if (!a) throw Error("TabsTrigger must be inside <Tabs>");
479
466
  let o = a.value === t;
480
- return /* @__PURE__ */ v("button", {
467
+ return /* @__PURE__ */ b("button", {
481
468
  "data-slot": "tabs-trigger",
482
469
  role: "tab",
483
470
  type: "button",
@@ -487,73 +474,73 @@ var w = {
487
474
  ...i,
488
475
  children: r
489
476
  });
490
- }, Te = ({ value: t, className: n, children: r, ...i }) => {
491
- let a = d(V);
477
+ }, Ee = ({ value: t, className: n, children: r, ...i }) => {
478
+ let a = p(Se);
492
479
  if (!a) throw Error("TabsContent must be inside <Tabs>");
493
- return a.value === t ? /* @__PURE__ */ v("div", {
480
+ return a.value === t ? /* @__PURE__ */ b("div", {
494
481
  "data-slot": "tabs-content",
495
482
  role: "tabpanel",
496
483
  className: e("flex-1 outline-none", n),
497
484
  ...i,
498
485
  children: r
499
486
  }) : null;
500
- }, Ee = {
487
+ }, De = {
501
488
  default: "bg-card text-card-foreground border",
502
489
  destructive: "bg-destructive text-white border-destructive",
503
490
  success: "bg-emerald-600 text-white border-emerald-600"
504
- }, De = ({ variant: t = "default", className: n, children: r, ...i }) => /* @__PURE__ */ v("div", {
491
+ }, Oe = ({ variant: t = "default", className: n, children: r, ...i }) => /* @__PURE__ */ b("div", {
505
492
  "data-slot": "toast",
506
493
  role: "status",
507
494
  "aria-live": "polite",
508
- className: e("fixed bottom-4 right-4 z-50 max-w-md rounded-md border shadow-lg p-4", "data-[state=closed]:hidden", "data-[state=open]:animate-in data-[state=open]:slide-in-from-bottom-2 data-[state=open]:fade-in-0", Ee[t], n),
495
+ className: e("fixed bottom-4 right-4 z-50 max-w-md rounded-md border shadow-lg p-4", "data-[state=closed]:hidden", "data-[state=open]:animate-in data-[state=open]:slide-in-from-bottom-2 data-[state=open]:fade-in-0", De[t], n),
509
496
  ...i,
510
497
  children: r
511
- }), Oe = ({ className: t, ...n }) => /* @__PURE__ */ v("p", {
498
+ }), ke = ({ className: t, ...n }) => /* @__PURE__ */ b("p", {
512
499
  "data-slot": "toast-title",
513
500
  className: e("text-sm font-semibold", t),
514
501
  ...n
515
- }), ke = ({ className: t, ...n }) => /* @__PURE__ */ v("p", {
502
+ }), Ae = ({ className: t, ...n }) => /* @__PURE__ */ b("p", {
516
503
  "data-slot": "toast-description",
517
504
  className: e("text-sm opacity-90", t),
518
505
  ...n
519
- }), Ae = x.Root, je = x.Trigger, Me = x.Group, Ne = x.Portal, Pe = x.RadioGroup, H = c(({ className: t, sideOffset: n = 6, ...r }, i) => /* @__PURE__ */ v(x.Portal, { children: /* @__PURE__ */ v(x.Content, {
506
+ }), je = C.Root, Me = C.Trigger, Ne = C.Group, Pe = C.Portal, Fe = C.RadioGroup, H = u(({ className: t, sideOffset: n = 6, ...r }, i) => /* @__PURE__ */ b(C.Portal, { children: /* @__PURE__ */ b(C.Content, {
520
507
  ref: i,
521
508
  sideOffset: n,
522
509
  className: e("z-50 min-w-[10rem] overflow-hidden rounded-md border border-border", "bg-popover text-popover-foreground shadow-lg p-1", "data-[state=open]:animate-in data-[state=closed]:animate-out", "data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", "data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95", "data-[side=bottom]:slide-in-from-top-2 data-[side=top]:slide-in-from-bottom-2", "data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2", t),
523
510
  ...r
524
511
  }) }));
525
512
  H.displayName = "DropdownMenuContent";
526
- var Fe = c(({ className: t, inset: n, ...r }, i) => /* @__PURE__ */ v(x.Label, {
513
+ var Ie = u(({ className: t, inset: n, ...r }, i) => /* @__PURE__ */ b(C.Label, {
527
514
  ref: i,
528
515
  className: e("px-2 py-1.5 text-[0.65rem] font-semibold uppercase tracking-wider text-muted-foreground", n && "pl-8", t),
529
516
  ...r
530
517
  }));
531
- Fe.displayName = "DropdownMenuLabel";
532
- var U = c(({ className: t, ...n }, r) => /* @__PURE__ */ v(x.Separator, {
518
+ Ie.displayName = "DropdownMenuLabel";
519
+ var U = u(({ className: t, ...n }, r) => /* @__PURE__ */ b(C.Separator, {
533
520
  ref: r,
534
521
  className: e("-mx-1 my-1 h-px bg-border", t),
535
522
  ...n
536
523
  }));
537
524
  U.displayName = "DropdownMenuSeparator";
538
- var W = c(({ className: t, inset: n, destructive: r, ...i }, a) => /* @__PURE__ */ v(x.Item, {
525
+ var W = u(({ className: t, inset: n, destructive: r, ...i }, a) => /* @__PURE__ */ b(C.Item, {
539
526
  ref: a,
540
527
  className: e("relative flex items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none", "transition-colors select-none cursor-pointer", "focus:bg-accent focus:text-accent-foreground", "data-[disabled]:pointer-events-none data-[disabled]:opacity-50", "[&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 [&_svg]:pointer-events-none", n && "pl-8", r ? "text-destructive focus:bg-destructive/10 focus:text-destructive" : "text-foreground", t),
541
528
  ...i
542
529
  }));
543
530
  W.displayName = "DropdownMenuItem";
544
- var Ie = () => /* @__PURE__ */ v("span", { className: "size-2 rounded-full bg-current" }), Le = c(({ className: t, children: n, ...r }, i) => /* @__PURE__ */ y(x.RadioItem, {
531
+ var Le = () => /* @__PURE__ */ b("span", { className: "size-2 rounded-full bg-current" }), Re = u(({ className: t, children: n, ...r }, i) => /* @__PURE__ */ x(C.RadioItem, {
545
532
  ref: i,
546
533
  className: e("relative flex items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none", "transition-colors select-none cursor-pointer text-foreground", "focus:bg-accent focus:text-accent-foreground", "data-[disabled]:pointer-events-none data-[disabled]:opacity-50", t),
547
534
  ...r,
548
- children: [/* @__PURE__ */ v("span", {
535
+ children: [/* @__PURE__ */ b("span", {
549
536
  className: "absolute left-2.5 flex size-3.5 items-center justify-center",
550
- children: /* @__PURE__ */ v(x.ItemIndicator, { children: /* @__PURE__ */ v(Ie, {}) })
537
+ children: /* @__PURE__ */ b(C.ItemIndicator, { children: /* @__PURE__ */ b(Le, {}) })
551
538
  }), n]
552
539
  }));
553
- Le.displayName = "DropdownMenuRadioItem";
540
+ Re.displayName = "DropdownMenuRadioItem";
554
541
  //#endregion
555
542
  //#region src/primitives/toggle.tsx
556
- var G = b("inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:border-ring cursor-pointer", {
543
+ var G = S("inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:border-ring cursor-pointer", {
557
544
  variants: {
558
545
  variant: {
559
546
  default: "bg-transparent",
@@ -569,7 +556,7 @@ var G = b("inline-flex items-center justify-center gap-2 rounded-md text-sm font
569
556
  variant: "default",
570
557
  size: "default"
571
558
  }
572
- }), Re = c(({ className: t, variant: n, size: r, ...i }, a) => /* @__PURE__ */ v(S.Root, {
559
+ }), ze = u(({ className: t, variant: n, size: r, ...i }, a) => /* @__PURE__ */ b(w.Root, {
573
560
  ref: a,
574
561
  className: e(G({
575
562
  variant: n,
@@ -578,17 +565,17 @@ var G = b("inline-flex items-center justify-center gap-2 rounded-md text-sm font
578
565
  })),
579
566
  ...i
580
567
  }));
581
- Re.displayName = "Toggle";
568
+ ze.displayName = "Toggle";
582
569
  //#endregion
583
570
  //#region src/primitives/toggleGroup.tsx
584
- var ze = s({
571
+ var Be = l({
585
572
  variant: "default",
586
573
  size: "default"
587
- }), K = c(({ className: t, variant: n, size: r, children: i, ...a }, o) => /* @__PURE__ */ v(C.Root, {
574
+ }), K = u(({ className: t, variant: n, size: r, children: i, ...a }, o) => /* @__PURE__ */ b(T.Root, {
588
575
  ref: o,
589
576
  className: e("inline-flex items-center gap-1", t),
590
577
  ...a,
591
- children: /* @__PURE__ */ v(ze.Provider, {
578
+ children: /* @__PURE__ */ b(Be.Provider, {
592
579
  value: {
593
580
  variant: n,
594
581
  size: r
@@ -597,9 +584,9 @@ var ze = s({
597
584
  })
598
585
  }));
599
586
  K.displayName = "ToggleGroup";
600
- var q = c(({ className: t, variant: n, size: r, children: i, ...a }, o) => {
601
- let s = d(ze);
602
- return /* @__PURE__ */ v(C.Item, {
587
+ var q = u(({ className: t, variant: n, size: r, children: i, ...a }, o) => {
588
+ let s = p(Be);
589
+ return /* @__PURE__ */ b(T.Item, {
603
590
  ref: o,
604
591
  className: e(G({
605
592
  variant: n ?? s.variant,
@@ -612,30 +599,30 @@ var q = c(({ className: t, variant: n, size: r, children: i, ...a }, o) => {
612
599
  q.displayName = "ToggleGroupItem";
613
600
  //#endregion
614
601
  //#region src/primitives/localeSwitcher.tsx
615
- var Be = ({ locales: t, current: n, onChange: r, ariaLabel: i = "Language", className: a }) => {
616
- let [o, s] = g(void 0);
617
- f(() => {
618
- s(N("voltro:locale") ?? void 0);
602
+ var Ve = ({ locales: t, current: n, onChange: r, ariaLabel: i = "Language", className: a }) => {
603
+ let [o, s] = v(void 0);
604
+ m(() => {
605
+ s(F("voltro:locale") ?? void 0);
619
606
  }, []);
620
607
  let c = n ?? o ?? t[0]?.code ?? "";
621
- return /* @__PURE__ */ v("select", {
608
+ return /* @__PURE__ */ b("select", {
622
609
  "aria-label": i,
623
610
  value: c,
624
611
  onChange: (e) => {
625
612
  let t = e.target.value;
626
- P(j, t), s(t), r?.(t) !== !1 && typeof window < "u" && window.location.reload();
613
+ I(P, t), s(t), r?.(t) !== !1 && typeof window < "u" && window.location.reload();
627
614
  },
628
615
  className: e("h-9 rounded-md border border-input bg-transparent px-2 text-sm shadow-xs outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:border-ring cursor-pointer", a),
629
- children: t.map((e) => /* @__PURE__ */ v("option", {
616
+ children: t.map((e) => /* @__PURE__ */ b("option", {
630
617
  value: e.code,
631
618
  children: e.label
632
619
  }, e.code))
633
620
  });
634
621
  };
635
- Be.displayName = "LocaleSwitcher";
622
+ Ve.displayName = "LocaleSwitcher";
636
623
  //#endregion
637
624
  //#region src/compositions/loginCard.tsx
638
- var Ve = {
625
+ var He = {
639
626
  email: "Email",
640
627
  emailPlaceholder: "you@company.com",
641
628
  password: "Password",
@@ -643,35 +630,35 @@ var Ve = {
643
630
  oauthDivider: "or continue with",
644
631
  signUpPrompt: "New here?",
645
632
  signUp: "Create an account"
646
- }, He = ({ title: t = "Welcome back", description: n = "Sign in to your account to continue.", eyebrow: r, submitLabel: i = "Sign in", oauthProviders: a, onOAuth: o, signUpHref: s, forgotHref: c, className: l, labels: u, ...d }) => {
633
+ }, Ue = ({ title: t = "Welcome back", description: n = "Sign in to your account to continue.", eyebrow: r, submitLabel: i = "Sign in", oauthProviders: a, onOAuth: o, signUpHref: s, forgotHref: c, className: l, labels: u, ...d }) => {
647
634
  let f = {
648
- ...Ve,
635
+ ...He,
649
636
  ...u
650
637
  };
651
- return /* @__PURE__ */ v("div", {
638
+ return /* @__PURE__ */ b("div", {
652
639
  className: e("w-full max-w-md mx-auto", l),
653
- children: /* @__PURE__ */ y(I, { children: [
654
- /* @__PURE__ */ y(L, { children: [
655
- r ? /* @__PURE__ */ v("div", {
640
+ children: /* @__PURE__ */ x(z, { children: [
641
+ /* @__PURE__ */ x(B, { children: [
642
+ r ? /* @__PURE__ */ b("div", {
656
643
  className: "text-xs uppercase tracking-wider text-muted-foreground font-medium",
657
644
  children: r
658
645
  }) : null,
659
- /* @__PURE__ */ v(R, {
646
+ /* @__PURE__ */ b(V, {
660
647
  className: "text-2xl",
661
648
  children: t
662
649
  }),
663
- /* @__PURE__ */ v(ae, { children: n })
650
+ /* @__PURE__ */ b(ae, { children: n })
664
651
  ] }),
665
- /* @__PURE__ */ y(oe, { children: [/* @__PURE__ */ y("form", {
652
+ /* @__PURE__ */ x(oe, { children: [/* @__PURE__ */ x("form", {
666
653
  className: "space-y-4",
667
654
  ...d,
668
655
  children: [
669
- /* @__PURE__ */ y("div", {
656
+ /* @__PURE__ */ x("div", {
670
657
  className: "space-y-1.5",
671
- children: [/* @__PURE__ */ v(B, {
658
+ children: [/* @__PURE__ */ b(de, {
672
659
  htmlFor: "email",
673
660
  children: f.email
674
- }), /* @__PURE__ */ v(z, {
661
+ }), /* @__PURE__ */ b(ce, {
675
662
  id: "email",
676
663
  name: "email",
677
664
  type: "email",
@@ -679,19 +666,19 @@ var Ve = {
679
666
  placeholder: f.emailPlaceholder
680
667
  })]
681
668
  }),
682
- /* @__PURE__ */ y("div", {
669
+ /* @__PURE__ */ x("div", {
683
670
  className: "space-y-1.5",
684
- children: [/* @__PURE__ */ y("div", {
671
+ children: [/* @__PURE__ */ x("div", {
685
672
  className: "flex items-center justify-between",
686
- children: [/* @__PURE__ */ v(B, {
673
+ children: [/* @__PURE__ */ b(de, {
687
674
  htmlFor: "password",
688
675
  children: f.password
689
- }), c ? /* @__PURE__ */ v("a", {
676
+ }), c ? /* @__PURE__ */ b("a", {
690
677
  href: c,
691
678
  className: "text-xs text-muted-foreground hover:text-foreground",
692
679
  children: f.forgot
693
680
  }) : null]
694
- }), /* @__PURE__ */ v(z, {
681
+ }), /* @__PURE__ */ b(ce, {
695
682
  id: "password",
696
683
  name: "password",
697
684
  type: "password",
@@ -699,35 +686,35 @@ var Ve = {
699
686
  placeholder: "••••••••"
700
687
  })]
701
688
  }),
702
- /* @__PURE__ */ v(F, {
689
+ /* @__PURE__ */ b(R, {
703
690
  type: "submit",
704
691
  className: "w-full",
705
692
  children: i
706
693
  })
707
694
  ]
708
- }), a && a.length > 0 ? /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ y("div", {
695
+ }), a && a.length > 0 ? /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ x("div", {
709
696
  className: "my-5 flex items-center gap-3 text-xs text-muted-foreground",
710
697
  children: [
711
- /* @__PURE__ */ v("div", { className: "h-px flex-1 bg-border" }),
712
- /* @__PURE__ */ v("span", { children: f.oauthDivider }),
713
- /* @__PURE__ */ v("div", { className: "h-px flex-1 bg-border" })
698
+ /* @__PURE__ */ b("div", { className: "h-px flex-1 bg-border" }),
699
+ /* @__PURE__ */ b("span", { children: f.oauthDivider }),
700
+ /* @__PURE__ */ b("div", { className: "h-px flex-1 bg-border" })
714
701
  ]
715
- }), /* @__PURE__ */ v("div", {
702
+ }), /* @__PURE__ */ b("div", {
716
703
  className: "grid gap-2",
717
704
  style: { gridTemplateColumns: `repeat(${a.length}, minmax(0, 1fr))` },
718
- children: a.map((e) => /* @__PURE__ */ v(F, {
705
+ children: a.map((e) => /* @__PURE__ */ b(R, {
719
706
  type: "button",
720
707
  variant: "outline",
721
708
  onClick: () => o?.(e.id),
722
709
  children: e.label
723
710
  }, e.id))
724
711
  })] }) : null] }),
725
- s ? /* @__PURE__ */ y(se, {
712
+ s ? /* @__PURE__ */ x(se, {
726
713
  className: "justify-center text-xs text-muted-foreground",
727
714
  children: [
728
715
  f.signUpPrompt,
729
716
  " ",
730
- /* @__PURE__ */ v("a", {
717
+ /* @__PURE__ */ b("a", {
731
718
  href: s,
732
719
  className: "ml-1 text-foreground hover:underline",
733
720
  children: f.signUp
@@ -736,86 +723,86 @@ var Ve = {
736
723
  }) : null
737
724
  ] })
738
725
  });
739
- }, Ue = ({ eyebrow: t, title: n, subtitle: r, primaryCta: i, secondaryCta: a, footnote: o, className: s }) => /* @__PURE__ */ y("section", {
740
- className: e("py-20 text-center max-w-4xl mx-auto px-6", s),
726
+ }, We = ({ eyebrow: t, title: n, subtitle: r, primaryCta: a, secondaryCta: o, footnote: s, className: c }) => /* @__PURE__ */ x("section", {
727
+ className: e("py-20 text-center max-w-4xl mx-auto px-6", c),
741
728
  children: [
742
- t ? /* @__PURE__ */ v(de, {
729
+ t ? /* @__PURE__ */ b(i, {
743
730
  variant: "outline",
744
731
  className: "mb-6 border-primary/30 text-primary",
745
732
  children: t
746
733
  }) : null,
747
- /* @__PURE__ */ v("h1", {
734
+ /* @__PURE__ */ b("h1", {
748
735
  className: "text-4xl md:text-6xl font-bold tracking-tight leading-tight mb-4 text-foreground",
749
736
  children: n
750
737
  }),
751
- r ? /* @__PURE__ */ v("p", {
738
+ r ? /* @__PURE__ */ b("p", {
752
739
  className: "text-lg md:text-xl text-muted-foreground max-w-2xl mx-auto mb-8",
753
740
  children: r
754
741
  }) : null,
755
- /* @__PURE__ */ y("div", {
742
+ /* @__PURE__ */ x("div", {
756
743
  className: "flex gap-3 justify-center flex-wrap mb-4",
757
- children: [i ? /* @__PURE__ */ v("a", {
758
- href: i.href,
759
- children: /* @__PURE__ */ v(F, {
744
+ children: [a ? /* @__PURE__ */ b("a", {
745
+ href: a.href,
746
+ children: /* @__PURE__ */ b(R, {
760
747
  size: "lg",
761
- children: i.label
748
+ children: a.label
762
749
  })
763
- }) : null, a ? /* @__PURE__ */ v("a", {
764
- href: a.href,
765
- children: /* @__PURE__ */ v(F, {
750
+ }) : null, o ? /* @__PURE__ */ b("a", {
751
+ href: o.href,
752
+ children: /* @__PURE__ */ b(R, {
766
753
  size: "lg",
767
754
  variant: "outline",
768
- children: a.label
755
+ children: o.label
769
756
  })
770
757
  }) : null]
771
758
  }),
772
- o ? /* @__PURE__ */ v("p", {
759
+ s ? /* @__PURE__ */ b("p", {
773
760
  className: "text-sm text-muted-foreground",
774
- children: o
761
+ children: s
775
762
  }) : null
776
763
  ]
777
- }), We = ({ sectionTitle: t, features: n, className: r }) => /* @__PURE__ */ y("section", {
764
+ }), Ge = ({ sectionTitle: t, features: n, className: r }) => /* @__PURE__ */ x("section", {
778
765
  className: e("py-16 max-w-6xl mx-auto px-6", r),
779
- children: [t ? /* @__PURE__ */ v("h2", {
766
+ children: [t ? /* @__PURE__ */ b("h2", {
780
767
  className: "text-2xl md:text-3xl font-semibold text-center mb-12 text-foreground",
781
768
  children: t
782
- }) : null, /* @__PURE__ */ v("div", {
769
+ }) : null, /* @__PURE__ */ b("div", {
783
770
  className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",
784
- children: n.map((e) => /* @__PURE__ */ v(I, {
771
+ children: n.map((e) => /* @__PURE__ */ b(z, {
785
772
  className: "hover:border-primary/40 transition-colors",
786
- children: /* @__PURE__ */ y(L, { children: [
787
- e.icon ? /* @__PURE__ */ v("div", {
773
+ children: /* @__PURE__ */ x(B, { children: [
774
+ e.icon ? /* @__PURE__ */ b("div", {
788
775
  className: "text-primary mb-2",
789
776
  children: e.icon
790
777
  }) : null,
791
- /* @__PURE__ */ v(R, {
778
+ /* @__PURE__ */ b(V, {
792
779
  className: "text-base",
793
780
  children: e.title
794
781
  }),
795
- /* @__PURE__ */ v(ae, { children: e.body })
782
+ /* @__PURE__ */ b(ae, { children: e.body })
796
783
  ] })
797
784
  }, e.title))
798
785
  })]
799
- }), Ge = ({ to: e, className: t, children: n }) => /* @__PURE__ */ v("a", {
786
+ }), Ke = ({ to: e, className: t, children: n }) => /* @__PURE__ */ b("a", {
800
787
  href: e,
801
788
  className: t,
802
789
  children: n
803
- }), Ke = ({ brand: t, nav: n, children: r, currentPath: i, className: a, searchAction: o, searchPlaceholder: s = "Search docs…", searchLabel: c = "Search docs", LinkComponent: l = Ge }) => {
790
+ }), qe = ({ brand: t, nav: n, children: r, currentPath: i, className: a, searchAction: o, searchPlaceholder: s = "Search docs…", searchLabel: c = "Search docs", LinkComponent: l = Ke }) => {
804
791
  let u = l;
805
- return /* @__PURE__ */ y("div", {
792
+ return /* @__PURE__ */ x("div", {
806
793
  className: e("min-h-screen grid grid-cols-1 md:grid-cols-[260px_1fr] bg-background text-foreground", a),
807
- children: [/* @__PURE__ */ y("aside", {
794
+ children: [/* @__PURE__ */ x("aside", {
808
795
  className: "border-r bg-card/30 p-6 md:sticky md:top-0 md:h-screen md:overflow-y-auto",
809
796
  children: [
810
- /* @__PURE__ */ v("div", {
797
+ /* @__PURE__ */ b("div", {
811
798
  className: "mb-6",
812
799
  children: t
813
800
  }),
814
- o ? /* @__PURE__ */ v("form", {
801
+ o ? /* @__PURE__ */ b("form", {
815
802
  method: "get",
816
803
  action: o,
817
804
  className: "mb-6",
818
- children: /* @__PURE__ */ v("input", {
805
+ children: /* @__PURE__ */ b("input", {
819
806
  type: "search",
820
807
  name: "q",
821
808
  placeholder: s,
@@ -823,16 +810,16 @@ var Ve = {
823
810
  className: "w-full rounded-md border border-input bg-background px-3 py-2 text-sm outline-none focus:ring-2 focus:ring-ring"
824
811
  })
825
812
  }) : null,
826
- n.map((t) => /* @__PURE__ */ y("div", {
813
+ n.map((t) => /* @__PURE__ */ x("div", {
827
814
  className: "mb-6",
828
- children: [/* @__PURE__ */ v("h4", {
815
+ children: [/* @__PURE__ */ b("h4", {
829
816
  className: "text-xs uppercase tracking-wider text-muted-foreground font-medium mb-2",
830
817
  children: t.section
831
- }), /* @__PURE__ */ v("ul", {
818
+ }), /* @__PURE__ */ b("ul", {
832
819
  className: "space-y-0.5",
833
820
  children: t.entries.map((t) => {
834
821
  let n = i === t.href;
835
- return /* @__PURE__ */ v("li", { children: /* @__PURE__ */ v(u, {
822
+ return /* @__PURE__ */ b("li", { children: /* @__PURE__ */ b(u, {
836
823
  to: t.href,
837
824
  prefetch: !0,
838
825
  className: e("block rounded-md px-2 py-1.5 text-sm transition-colors", n ? "bg-accent text-accent-foreground font-medium" : "text-muted-foreground hover:bg-accent/50 hover:text-foreground"),
@@ -842,12 +829,12 @@ var Ve = {
842
829
  })]
843
830
  }, t.section))
844
831
  ]
845
- }), /* @__PURE__ */ v("main", {
832
+ }), /* @__PURE__ */ b("main", {
846
833
  className: "p-8 md:p-12 lg:p-16 max-w-3xl text-foreground",
847
834
  children: r
848
835
  })]
849
836
  });
850
- }, J = ({ children: e, className: t, title: n }) => /* @__PURE__ */ y("svg", {
837
+ }, J = ({ children: e, className: t, title: n }) => /* @__PURE__ */ x("svg", {
851
838
  xmlns: "http://www.w3.org/2000/svg",
852
839
  width: "24",
853
840
  height: "24",
@@ -862,178 +849,178 @@ var Ve = {
862
849
  role: "img",
863
850
  "aria-label": n
864
851
  } : { "aria-hidden": !0 },
865
- children: [n ? /* @__PURE__ */ v("title", { children: n }) : null, e]
866
- }), qe = (e) => /* @__PURE__ */ y(J, {
852
+ children: [n ? /* @__PURE__ */ b("title", { children: n }) : null, e]
853
+ }), Je = (e) => /* @__PURE__ */ x(J, {
867
854
  ...e,
868
855
  children: [
869
- /* @__PURE__ */ v("path", { d: "M4.5 16.5 c-1.5 1.26 -2 5 -2 5 s3.74 -.5 5 -2 c.71 -.84 .7 -2.13 -.09 -2.91 a2.18 2.18 0 0 0 -2.91 -.09Z" }),
870
- /* @__PURE__ */ v("path", { d: "m12 15 -3 -3 a22 22 0 0 1 2 -3.95 A12.88 12.88 0 0 1 22 2 c0 2.72 -.78 7.5 -6 11 a22.35 22.35 0 0 1 -4 2Z" }),
871
- /* @__PURE__ */ v("path", { d: "M9 12 H4 s.55 -3.03 2 -4 c1.62 -1.08 5 0 5 0" }),
872
- /* @__PURE__ */ v("path", { d: "M12 15 v5 s3.03 -.55 4 -2 c1.08 -1.62 0 -5 0 -5" })
856
+ /* @__PURE__ */ b("path", { d: "M4.5 16.5 c-1.5 1.26 -2 5 -2 5 s3.74 -.5 5 -2 c.71 -.84 .7 -2.13 -.09 -2.91 a2.18 2.18 0 0 0 -2.91 -.09Z" }),
857
+ /* @__PURE__ */ b("path", { d: "m12 15 -3 -3 a22 22 0 0 1 2 -3.95 A12.88 12.88 0 0 1 22 2 c0 2.72 -.78 7.5 -6 11 a22.35 22.35 0 0 1 -4 2Z" }),
858
+ /* @__PURE__ */ b("path", { d: "M9 12 H4 s.55 -3.03 2 -4 c1.62 -1.08 5 0 5 0" }),
859
+ /* @__PURE__ */ b("path", { d: "M12 15 v5 s3.03 -.55 4 -2 c1.08 -1.62 0 -5 0 -5" })
873
860
  ]
874
- }), Je = (e) => /* @__PURE__ */ y(J, {
861
+ }), Ye = (e) => /* @__PURE__ */ x(J, {
875
862
  ...e,
876
- children: [/* @__PURE__ */ v("circle", {
863
+ children: [/* @__PURE__ */ b("circle", {
877
864
  cx: "12",
878
865
  cy: "12",
879
866
  r: "10"
880
- }), /* @__PURE__ */ v("polygon", { points: "16.24,7.76 14.12,14.12 7.76,16.24 9.88,9.88" })]
881
- }), Ye = (e) => /* @__PURE__ */ y(J, {
867
+ }), /* @__PURE__ */ b("polygon", { points: "16.24,7.76 14.12,14.12 7.76,16.24 9.88,9.88" })]
868
+ }), Xe = (e) => /* @__PURE__ */ x(J, {
882
869
  ...e,
883
870
  children: [
884
- /* @__PURE__ */ v("path", { d: "m7.5 4.27 9 5.15" }),
885
- /* @__PURE__ */ v("path", { d: "M21 8 a2 2 0 0 0 -1 -1.73 l-7 -4 a2 2 0 0 0 -2 0 l-7 4 A2 2 0 0 0 3 8 v8 a2 2 0 0 0 1 1.73 l7 4 a2 2 0 0 0 2 0 l7 -4 A2 2 0 0 0 21 16 Z" }),
886
- /* @__PURE__ */ v("path", { d: "M3.3 7 12 12 l8.7 -5" }),
887
- /* @__PURE__ */ v("path", { d: "M12 22 V12" })
871
+ /* @__PURE__ */ b("path", { d: "m7.5 4.27 9 5.15" }),
872
+ /* @__PURE__ */ b("path", { d: "M21 8 a2 2 0 0 0 -1 -1.73 l-7 -4 a2 2 0 0 0 -2 0 l-7 4 A2 2 0 0 0 3 8 v8 a2 2 0 0 0 1 1.73 l7 4 a2 2 0 0 0 2 0 l7 -4 A2 2 0 0 0 21 16 Z" }),
873
+ /* @__PURE__ */ b("path", { d: "M3.3 7 12 12 l8.7 -5" }),
874
+ /* @__PURE__ */ b("path", { d: "M12 22 V12" })
888
875
  ]
889
- }), Xe = (e) => /* @__PURE__ */ v(J, {
876
+ }), Ze = (e) => /* @__PURE__ */ b(J, {
890
877
  ...e,
891
- children: /* @__PURE__ */ v("path", { d: "M20 20 H4 a2 2 0 0 1 -2 -2 V6 a2 2 0 0 1 2 -2 h5.93 a2 2 0 0 1 1.66 .9 l.82 1.2 a2 2 0 0 0 1.66 .9 H20 a2 2 0 0 1 2 2 v8 a2 2 0 0 1 -2 2 z" })
892
- }), Ze = (e) => /* @__PURE__ */ y(J, {
878
+ children: /* @__PURE__ */ b("path", { d: "M20 20 H4 a2 2 0 0 1 -2 -2 V6 a2 2 0 0 1 2 -2 h5.93 a2 2 0 0 1 1.66 .9 l.82 1.2 a2 2 0 0 0 1.66 .9 H20 a2 2 0 0 1 2 2 v8 a2 2 0 0 1 -2 2 z" })
879
+ }), Qe = (e) => /* @__PURE__ */ x(J, {
893
880
  ...e,
894
- children: [/* @__PURE__ */ v("path", { d: "M14.5 2 H6 a2 2 0 0 0 -2 2 v16 a2 2 0 0 0 2 2 h12 a2 2 0 0 0 2 -2 V7.5 z" }), /* @__PURE__ */ v("polyline", { points: "14 2 14 8 20 8" })]
895
- }), Qe = (e) => /* @__PURE__ */ y(J, {
881
+ children: [/* @__PURE__ */ b("path", { d: "M14.5 2 H6 a2 2 0 0 0 -2 2 v16 a2 2 0 0 0 2 2 h12 a2 2 0 0 0 2 -2 V7.5 z" }), /* @__PURE__ */ b("polyline", { points: "14 2 14 8 20 8" })]
882
+ }), $e = (e) => /* @__PURE__ */ x(J, {
896
883
  ...e,
897
884
  children: [
898
- /* @__PURE__ */ v("path", { d: "M4.93 4.93 a10 10 0 0 0 0 14.14" }),
899
- /* @__PURE__ */ v("path", { d: "M19.07 4.93 a10 10 0 0 1 0 14.14" }),
900
- /* @__PURE__ */ v("path", { d: "M7.76 7.76 a6 6 0 0 0 0 8.49" }),
901
- /* @__PURE__ */ v("path", { d: "M16.24 7.76 a6 6 0 0 1 0 8.49" }),
902
- /* @__PURE__ */ v("circle", {
885
+ /* @__PURE__ */ b("path", { d: "M4.93 4.93 a10 10 0 0 0 0 14.14" }),
886
+ /* @__PURE__ */ b("path", { d: "M19.07 4.93 a10 10 0 0 1 0 14.14" }),
887
+ /* @__PURE__ */ b("path", { d: "M7.76 7.76 a6 6 0 0 0 0 8.49" }),
888
+ /* @__PURE__ */ b("path", { d: "M16.24 7.76 a6 6 0 0 1 0 8.49" }),
889
+ /* @__PURE__ */ b("circle", {
903
890
  cx: "12",
904
891
  cy: "12",
905
892
  r: "2"
906
893
  })
907
894
  ]
908
- }), $e = (e) => /* @__PURE__ */ v(J, {
895
+ }), et = (e) => /* @__PURE__ */ b(J, {
909
896
  ...e,
910
- children: /* @__PURE__ */ v("path", { d: "M17 3 a2.85 2.83 0 1 1 4 4 L7.5 20.5 2 22 l1.5 -5.5 z" })
911
- }), et = (e) => /* @__PURE__ */ y(J, {
897
+ children: /* @__PURE__ */ b("path", { d: "M17 3 a2.85 2.83 0 1 1 4 4 L7.5 20.5 2 22 l1.5 -5.5 z" })
898
+ }), tt = (e) => /* @__PURE__ */ x(J, {
912
899
  ...e,
913
- children: [/* @__PURE__ */ v("path", { d: "M6 8 a6 6 0 0 1 12 0 c0 7 3 9 3 9 H3 s3 -2 3 -9" }), /* @__PURE__ */ v("path", { d: "M10.3 21 a1.94 1.94 0 0 0 3.4 0" })]
914
- }), tt = (e) => /* @__PURE__ */ y(J, {
900
+ children: [/* @__PURE__ */ b("path", { d: "M6 8 a6 6 0 0 1 12 0 c0 7 3 9 3 9 H3 s3 -2 3 -9" }), /* @__PURE__ */ b("path", { d: "M10.3 21 a1.94 1.94 0 0 0 3.4 0" })]
901
+ }), nt = (e) => /* @__PURE__ */ x(J, {
915
902
  ...e,
916
- children: [/* @__PURE__ */ v("path", { d: "M12 2 v4 M12 18 v4 M4.93 4.93 l2.83 2.83 M16.24 16.24 l2.83 2.83 M2 12 h4 M18 12 h4 M4.93 19.07 l2.83 -2.83 M16.24 7.76 l2.83 -2.83" }), /* @__PURE__ */ v("circle", {
903
+ children: [/* @__PURE__ */ b("path", { d: "M12 2 v4 M12 18 v4 M4.93 4.93 l2.83 2.83 M16.24 16.24 l2.83 2.83 M2 12 h4 M18 12 h4 M4.93 19.07 l2.83 -2.83 M16.24 7.76 l2.83 -2.83" }), /* @__PURE__ */ b("circle", {
917
904
  cx: "12",
918
905
  cy: "12",
919
906
  r: "4"
920
907
  })]
921
- }), nt = (e) => /* @__PURE__ */ y(J, {
908
+ }), rt = (e) => /* @__PURE__ */ x(J, {
922
909
  ...e,
923
910
  children: [
924
- /* @__PURE__ */ v("rect", {
911
+ /* @__PURE__ */ b("rect", {
925
912
  x: "4",
926
913
  y: "2",
927
914
  width: "16",
928
915
  height: "20",
929
916
  rx: "2"
930
917
  }),
931
- /* @__PURE__ */ v("path", { d: "M9 22 V12 h6 v10" }),
932
- /* @__PURE__ */ v("path", { d: "M8 6 h.01 M12 6 h.01 M16 6 h.01 M8 10 h.01 M16 10 h.01" })
918
+ /* @__PURE__ */ b("path", { d: "M9 22 V12 h6 v10" }),
919
+ /* @__PURE__ */ b("path", { d: "M8 6 h.01 M12 6 h.01 M16 6 h.01 M8 10 h.01 M16 10 h.01" })
933
920
  ]
934
- }), rt = (e) => /* @__PURE__ */ y(J, {
921
+ }), it = (e) => /* @__PURE__ */ x(J, {
935
922
  ...e,
936
923
  children: [
937
- /* @__PURE__ */ v("ellipse", {
924
+ /* @__PURE__ */ b("ellipse", {
938
925
  cx: "12",
939
926
  cy: "5",
940
927
  rx: "9",
941
928
  ry: "3"
942
929
  }),
943
- /* @__PURE__ */ v("path", { d: "M3 5 v14 a9 3 0 0 0 18 0 V5" }),
944
- /* @__PURE__ */ v("path", { d: "M3 12 a9 3 0 0 0 18 0" })
930
+ /* @__PURE__ */ b("path", { d: "M3 5 v14 a9 3 0 0 0 18 0 V5" }),
931
+ /* @__PURE__ */ b("path", { d: "M3 12 a9 3 0 0 0 18 0" })
945
932
  ]
946
- }), it = (e) => /* @__PURE__ */ y(J, {
933
+ }), at = (e) => /* @__PURE__ */ x(J, {
947
934
  ...e,
948
- children: [/* @__PURE__ */ v("rect", {
935
+ children: [/* @__PURE__ */ b("rect", {
949
936
  x: "3",
950
937
  y: "11",
951
938
  width: "18",
952
939
  height: "11",
953
940
  rx: "2"
954
- }), /* @__PURE__ */ v("path", { d: "M7 11 V7 a5 5 0 0 1 10 0 v4" })]
955
- }), at = (e) => /* @__PURE__ */ y(J, {
941
+ }), /* @__PURE__ */ b("path", { d: "M7 11 V7 a5 5 0 0 1 10 0 v4" })]
942
+ }), ot = (e) => /* @__PURE__ */ x(J, {
956
943
  ...e,
957
944
  children: [
958
- /* @__PURE__ */ v("path", { d: "M12 8 V4 H8" }),
959
- /* @__PURE__ */ v("rect", {
945
+ /* @__PURE__ */ b("path", { d: "M12 8 V4 H8" }),
946
+ /* @__PURE__ */ b("rect", {
960
947
  x: "2",
961
948
  y: "8",
962
949
  width: "20",
963
950
  height: "14",
964
951
  rx: "2"
965
952
  }),
966
- /* @__PURE__ */ v("path", { d: "M2 14 h2 M20 14 h2 M15 13 v2 M9 13 v2" })
953
+ /* @__PURE__ */ b("path", { d: "M2 14 h2 M20 14 h2 M15 13 v2 M9 13 v2" })
967
954
  ]
968
- }), ot = (e) => /* @__PURE__ */ y(J, {
955
+ }), st = (e) => /* @__PURE__ */ x(J, {
969
956
  ...e,
970
- children: [/* @__PURE__ */ v("polyline", { points: "4 17 10 11 4 5" }), /* @__PURE__ */ v("line", {
957
+ children: [/* @__PURE__ */ b("polyline", { points: "4 17 10 11 4 5" }), /* @__PURE__ */ b("line", {
971
958
  x1: "12",
972
959
  y1: "19",
973
960
  x2: "20",
974
961
  y2: "19"
975
962
  })]
976
- }), st = (e) => /* @__PURE__ */ y(J, {
963
+ }), ct = (e) => /* @__PURE__ */ x(J, {
977
964
  ...e,
978
965
  children: [
979
- /* @__PURE__ */ v("polygon", { points: "12 2 2 7 12 12 22 7 12 2" }),
980
- /* @__PURE__ */ v("polyline", { points: "2 17 12 22 22 17" }),
981
- /* @__PURE__ */ v("polyline", { points: "2 12 12 17 22 12" })
966
+ /* @__PURE__ */ b("polygon", { points: "12 2 2 7 12 12 22 7 12 2" }),
967
+ /* @__PURE__ */ b("polyline", { points: "2 17 12 22 22 17" }),
968
+ /* @__PURE__ */ b("polyline", { points: "2 12 12 17 22 12" })
982
969
  ]
983
- }), ct = (e) => /* @__PURE__ */ y(J, {
970
+ }), lt = (e) => /* @__PURE__ */ x(J, {
984
971
  ...e,
985
- children: [/* @__PURE__ */ v("path", { d: "M19.43 12.98 a8 8 0 0 0 0 -1.96 l2.11 -1.65 -2 -3.46 -2.49 1 a8 8 0 0 0 -1.7 -.98 L15 3 H9 l-.38 2.93 a8 8 0 0 0 -1.7 .98 L4.43 5.91 l-2 3.46 2.11 1.65 a8 8 0 0 0 0 1.96 L2.43 14.63 l2 3.46 2.49 -1 a8 8 0 0 0 1.7 .98 L9 21 h6 l.38 -2.93 a8 8 0 0 0 1.7 -.98 l2.49 1 2 -3.46 z" }), /* @__PURE__ */ v("circle", {
972
+ children: [/* @__PURE__ */ b("path", { d: "M19.43 12.98 a8 8 0 0 0 0 -1.96 l2.11 -1.65 -2 -3.46 -2.49 1 a8 8 0 0 0 -1.7 -.98 L15 3 H9 l-.38 2.93 a8 8 0 0 0 -1.7 .98 L4.43 5.91 l-2 3.46 2.11 1.65 a8 8 0 0 0 0 1.96 L2.43 14.63 l2 3.46 2.49 -1 a8 8 0 0 0 1.7 .98 L9 21 h6 l.38 -2.93 a8 8 0 0 0 1.7 -.98 l2.49 1 2 -3.46 z" }), /* @__PURE__ */ b("circle", {
986
973
  cx: "12",
987
974
  cy: "12",
988
975
  r: "3"
989
976
  })]
990
- }), lt = (e) => /* @__PURE__ */ v(J, {
977
+ }), ut = (e) => /* @__PURE__ */ b(J, {
991
978
  ...e,
992
- children: /* @__PURE__ */ v("path", { d: "M9 9 a3 3 0 0 1 6 0 v9 a3 3 0 0 1 -6 0 V12 a1 1 0 0 1 2 0 v6 a1 1 0 0 0 2 0 V9 a1 1 0 0 0 -2 0" })
993
- }), ut = (e) => /* @__PURE__ */ y(J, {
979
+ children: /* @__PURE__ */ b("path", { d: "M9 9 a3 3 0 0 1 6 0 v9 a3 3 0 0 1 -6 0 V12 a1 1 0 0 1 2 0 v6 a1 1 0 0 0 2 0 V9 a1 1 0 0 0 -2 0" })
980
+ }), dt = (e) => /* @__PURE__ */ x(J, {
994
981
  ...e,
995
982
  children: [
996
- /* @__PURE__ */ v("circle", {
983
+ /* @__PURE__ */ b("circle", {
997
984
  cx: "12",
998
985
  cy: "12",
999
986
  r: "10"
1000
987
  }),
1001
- /* @__PURE__ */ v("line", {
988
+ /* @__PURE__ */ b("line", {
1002
989
  x1: "2",
1003
990
  y1: "12",
1004
991
  x2: "22",
1005
992
  y2: "12"
1006
993
  }),
1007
- /* @__PURE__ */ v("path", { d: "M12 2 a15.3 15.3 0 0 1 4 10 a15.3 15.3 0 0 1 -4 10 a15.3 15.3 0 0 1 -4 -10 a15.3 15.3 0 0 1 4 -10 z" })
994
+ /* @__PURE__ */ b("path", { d: "M12 2 a15.3 15.3 0 0 1 4 10 a15.3 15.3 0 0 1 -4 10 a15.3 15.3 0 0 1 -4 -10 a15.3 15.3 0 0 1 4 -10 z" })
1008
995
  ]
1009
- }), dt = (e) => /* @__PURE__ */ v(J, {
996
+ }), ft = (e) => /* @__PURE__ */ b(J, {
1010
997
  ...e,
1011
- children: /* @__PURE__ */ v("path", { d: "M17.5 19 a4.5 4.5 0 1 0 -1.41 -8.78 a6 6 0 1 0 -11.05 4.5" })
1012
- }), ft = (e) => /* @__PURE__ */ y(J, {
998
+ children: /* @__PURE__ */ b("path", { d: "M17.5 19 a4.5 4.5 0 1 0 -1.41 -8.78 a6 6 0 1 0 -11.05 4.5" })
999
+ }), pt = (e) => /* @__PURE__ */ x(J, {
1013
1000
  ...e,
1014
- children: [/* @__PURE__ */ v("path", { d: "M3 9 l9 -7 9 7 v11 a2 2 0 0 1 -2 2 H5 a2 2 0 0 1 -2 -2 z" }), /* @__PURE__ */ v("polyline", { points: "9 22 9 12 15 12 15 22" })]
1015
- }), pt = (e) => /* @__PURE__ */ v(J, {
1001
+ children: [/* @__PURE__ */ b("path", { d: "M3 9 l9 -7 9 7 v11 a2 2 0 0 1 -2 2 H5 a2 2 0 0 1 -2 -2 z" }), /* @__PURE__ */ b("polyline", { points: "9 22 9 12 15 12 15 22" })]
1002
+ }), mt = (e) => /* @__PURE__ */ b(J, {
1016
1003
  ...e,
1017
- children: /* @__PURE__ */ v("polyline", { points: "15 18 9 12 15 6" })
1018
- }), mt = (e) => /* @__PURE__ */ v(J, {
1004
+ children: /* @__PURE__ */ b("polyline", { points: "15 18 9 12 15 6" })
1005
+ }), ht = (e) => /* @__PURE__ */ b(J, {
1019
1006
  ...e,
1020
- children: /* @__PURE__ */ v("polyline", { points: "9 18 15 12 9 6" })
1021
- }), Y = (e) => /* @__PURE__ */ y(J, {
1007
+ children: /* @__PURE__ */ b("polyline", { points: "9 18 15 12 9 6" })
1008
+ }), Y = (e) => /* @__PURE__ */ x(J, {
1022
1009
  ...e,
1023
- children: [/* @__PURE__ */ v("circle", {
1010
+ children: [/* @__PURE__ */ b("circle", {
1024
1011
  cx: "11",
1025
1012
  cy: "11",
1026
1013
  r: "8"
1027
- }), /* @__PURE__ */ v("line", {
1014
+ }), /* @__PURE__ */ b("line", {
1028
1015
  x1: "21",
1029
1016
  y1: "21",
1030
1017
  x2: "16.65",
1031
1018
  y2: "16.65"
1032
1019
  })]
1033
- }), ht = (e) => /* @__PURE__ */ y(J, {
1020
+ }), gt = (e) => /* @__PURE__ */ x(J, {
1034
1021
  ...e,
1035
- children: [/* @__PURE__ */ v("polyline", { points: "9 10 4 15 9 20" }), /* @__PURE__ */ v("path", { d: "M20 4 v7 a4 4 0 0 1 -4 4 H4" })]
1036
- }), X = ({ children: e, className: t, title: n }) => /* @__PURE__ */ y("svg", {
1022
+ children: [/* @__PURE__ */ b("polyline", { points: "9 10 4 15 9 20" }), /* @__PURE__ */ b("path", { d: "M20 4 v7 a4 4 0 0 1 -4 4 H4" })]
1023
+ }), X = ({ children: e, className: t, title: n }) => /* @__PURE__ */ x("svg", {
1037
1024
  xmlns: "http://www.w3.org/2000/svg",
1038
1025
  width: "24",
1039
1026
  height: "24",
@@ -1044,49 +1031,49 @@ var Ve = {
1044
1031
  role: "img",
1045
1032
  "aria-label": n
1046
1033
  } : { "aria-hidden": !0 },
1047
- children: [n ? /* @__PURE__ */ v("title", { children: n }) : null, e]
1048
- }), gt = (e) => /* @__PURE__ */ v(X, {
1034
+ children: [n ? /* @__PURE__ */ b("title", { children: n }) : null, e]
1035
+ }), _t = (e) => /* @__PURE__ */ b(X, {
1049
1036
  ...e,
1050
- children: /* @__PURE__ */ v("path", { d: "M12 0C5.37 0 0 5.37 0 12c0 5.3 3.44 9.8 8.21 11.39.6.11.82-.26.82-.58 0-.29-.01-1.04-.02-2.05-3.34.72-4.04-1.61-4.04-1.61-.55-1.39-1.34-1.76-1.34-1.76-1.09-.74.08-.73.08-.73 1.2.09 1.84 1.24 1.84 1.24 1.07 1.84 2.81 1.31 3.5 1 .11-.78.42-1.31.76-1.61-2.67-.3-5.47-1.33-5.47-5.93 0-1.31.47-2.38 1.24-3.22-.12-.3-.54-1.52.12-3.18 0 0 1.01-.32 3.31 1.23.96-.27 1.99-.4 3.02-.41 1.02.01 2.05.14 3.02.41 2.3-1.55 3.31-1.23 3.31-1.23.66 1.66.24 2.88.12 3.18.77.84 1.24 1.91 1.24 3.22 0 4.61-2.81 5.63-5.49 5.93.43.37.81 1.1.81 2.22 0 1.6-.01 2.89-.01 3.29 0 .32.21.7.83.58C20.57 21.8 24 17.3 24 12c0-6.63-5.37-12-12-12z" })
1051
- }), _t = (e) => /* @__PURE__ */ v(X, {
1037
+ children: /* @__PURE__ */ b("path", { d: "M12 0C5.37 0 0 5.37 0 12c0 5.3 3.44 9.8 8.21 11.39.6.11.82-.26.82-.58 0-.29-.01-1.04-.02-2.05-3.34.72-4.04-1.61-4.04-1.61-.55-1.39-1.34-1.76-1.34-1.76-1.09-.74.08-.73.08-.73 1.2.09 1.84 1.24 1.84 1.24 1.07 1.84 2.81 1.31 3.5 1 .11-.78.42-1.31.76-1.61-2.67-.3-5.47-1.33-5.47-5.93 0-1.31.47-2.38 1.24-3.22-.12-.3-.54-1.52.12-3.18 0 0 1.01-.32 3.31 1.23.96-.27 1.99-.4 3.02-.41 1.02.01 2.05.14 3.02.41 2.3-1.55 3.31-1.23 3.31-1.23.66 1.66.24 2.88.12 3.18.77.84 1.24 1.91 1.24 3.22 0 4.61-2.81 5.63-5.49 5.93.43.37.81 1.1.81 2.22 0 1.6-.01 2.89-.01 3.29 0 .32.21.7.83.58C20.57 21.8 24 17.3 24 12c0-6.63-5.37-12-12-12z" })
1038
+ }), vt = (e) => /* @__PURE__ */ b(X, {
1052
1039
  ...e,
1053
- children: /* @__PURE__ */ v("path", { d: "M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z" })
1054
- }), vt = (e) => /* @__PURE__ */ v(X, {
1040
+ children: /* @__PURE__ */ b("path", { d: "M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z" })
1041
+ }), yt = (e) => /* @__PURE__ */ b(X, {
1055
1042
  ...e,
1056
- children: /* @__PURE__ */ v("path", { d: "M20.317 4.37a19.79 19.79 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.74 19.74 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028 14.09 14.09 0 0 0 1.226-1.994.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.84 19.84 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418z" })
1057
- }), yt = (e) => /* @__PURE__ */ v(X, {
1043
+ children: /* @__PURE__ */ b("path", { d: "M20.317 4.37a19.79 19.79 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.74 19.74 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028 14.09 14.09 0 0 0 1.226-1.994.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.84 19.84 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418z" })
1044
+ }), bt = (e) => /* @__PURE__ */ b(X, {
1058
1045
  ...e,
1059
- children: /* @__PURE__ */ v("path", { d: "M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 0 1-2.063-2.065 2.063 2.063 0 1 1 2.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z" })
1060
- }), bt = (e) => /* @__PURE__ */ y(J, {
1046
+ children: /* @__PURE__ */ b("path", { d: "M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 0 1-2.063-2.065 2.063 2.063 0 1 1 2.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z" })
1047
+ }), xt = (e) => /* @__PURE__ */ x(J, {
1061
1048
  ...e,
1062
1049
  children: [
1063
- /* @__PURE__ */ v("path", { d: "M4 11 a9 9 0 0 1 9 9" }),
1064
- /* @__PURE__ */ v("path", { d: "M4 4 a16 16 0 0 1 16 16" }),
1065
- /* @__PURE__ */ v("circle", {
1050
+ /* @__PURE__ */ b("path", { d: "M4 11 a9 9 0 0 1 9 9" }),
1051
+ /* @__PURE__ */ b("path", { d: "M4 4 a16 16 0 0 1 16 16" }),
1052
+ /* @__PURE__ */ b("circle", {
1066
1053
  cx: "5",
1067
1054
  cy: "19",
1068
1055
  r: "1"
1069
1056
  })
1070
1057
  ]
1071
- }), xt = (e) => /* @__PURE__ */ y(J, {
1058
+ }), St = (e) => /* @__PURE__ */ x(J, {
1072
1059
  ...e,
1073
- children: [/* @__PURE__ */ v("path", { d: "M3 3 v18 h18" }), /* @__PURE__ */ v("path", { d: "M7 14 l3 -3 l4 4 l6 -7" })]
1074
- }), Z = ({ children: t, className: n }) => {
1075
- let [r, i] = g(!1);
1076
- return f(() => {
1060
+ children: [/* @__PURE__ */ b("path", { d: "M3 3 v18 h18" }), /* @__PURE__ */ b("path", { d: "M7 14 l3 -3 l4 4 l6 -7" })]
1061
+ }), Ct = ({ children: t, className: n }) => {
1062
+ let [r, i] = v(!1);
1063
+ return m(() => {
1077
1064
  let e = () => i(window.scrollY > 24);
1078
1065
  return e(), window.addEventListener("scroll", e, { passive: !0 }), () => window.removeEventListener("scroll", e);
1079
- }, []), /* @__PURE__ */ y("header", {
1066
+ }, []), /* @__PURE__ */ x("header", {
1080
1067
  className: e("sticky top-0 z-40", n),
1081
- children: [/* @__PURE__ */ v("div", {
1068
+ children: [/* @__PURE__ */ b("div", {
1082
1069
  "aria-hidden": "true",
1083
1070
  className: e("absolute inset-0 -z-10 transition-opacity duration-300 ease-out", "bg-background/80 backdrop-blur-lg border-b border-border", r ? "opacity-100" : "opacity-0")
1084
- }), /* @__PURE__ */ v("div", {
1071
+ }), /* @__PURE__ */ b("div", {
1085
1072
  className: "mx-auto max-w-7xl px-6 h-16 flex items-center justify-between gap-4",
1086
1073
  children: t
1087
1074
  })]
1088
1075
  });
1089
- }, St = {
1076
+ }, wt = {
1090
1077
  toggleMenu: "Toggle menu",
1091
1078
  closeMenu: "Close menu",
1092
1079
  close: "Close",
@@ -1098,94 +1085,97 @@ var Ve = {
1098
1085
  next: "Next",
1099
1086
  pagination: "Pagination",
1100
1087
  breadcrumb: "Breadcrumb"
1101
- }, Ct = ({ to: e, className: t, children: n }) => /* @__PURE__ */ v("a", {
1088
+ }, Tt = ({ to: e, className: t, children: n }) => /* @__PURE__ */ b("a", {
1102
1089
  href: e,
1103
1090
  className: t,
1104
1091
  children: n
1105
- }), Q = (e, t) => t ? t === e || t.replace(/\/$/, "") === e.replace(/\/$/, "") : !1, wt = "relative w-full py-1.5 pl-4 pr-2 -ml-px text-sm text-left transition-colors border-l-2", Tt = (e) => e ? "text-foreground font-medium border-primary" : "text-muted-foreground hover:text-foreground border-transparent hover:border-border", Et = ({ entry: t, currentPath: n, Link: r }) => {
1106
- let i = Q(t.href, n);
1107
- return /* @__PURE__ */ v("li", { children: /* @__PURE__ */ v(r, {
1108
- to: t.href,
1109
- prefetch: !0,
1110
- className: e(wt, "block", Tt(i)),
1111
- children: /* @__PURE__ */ y("span", {
1112
- className: "inline-flex items-center gap-2",
1113
- children: [t.label, t.badge ? /* @__PURE__ */ v("span", {
1114
- className: "text-[0.6rem] uppercase tracking-wider px-1.5 py-0.5 rounded bg-primary/10 text-primary font-semibold",
1115
- children: t.badge
1116
- }) : null]
1092
+ }), Z = (e, t) => t ? t === e || t.replace(/\/$/, "") === e.replace(/\/$/, "") : !1, Et = "relative w-full py-1.5 pl-4 pr-2 -ml-px text-sm text-left transition-colors border-l-2", Dt = (e) => e ? "text-foreground font-medium border-primary" : "text-muted-foreground hover:text-foreground border-transparent hover:border-border", Ot = ({ entry: t, currentPath: n, Link: r }) => {
1093
+ let i = Z(t.href, n);
1094
+ return /* @__PURE__ */ b("li", {
1095
+ "data-docs-active": i,
1096
+ children: /* @__PURE__ */ b(r, {
1097
+ to: t.href,
1098
+ prefetch: !0,
1099
+ className: e(Et, "block", Dt(i)),
1100
+ children: /* @__PURE__ */ x("span", {
1101
+ className: "inline-flex items-center gap-2",
1102
+ children: [t.label, t.badge ? /* @__PURE__ */ b("span", {
1103
+ className: "text-[0.6rem] uppercase tracking-wider px-1.5 py-0.5 rounded bg-primary/10 text-primary font-semibold",
1104
+ children: t.badge
1105
+ }) : null]
1106
+ })
1117
1107
  })
1118
- }) });
1119
- }, Dt = ({ subgroup: t, currentPath: n, Link: r }) => {
1120
- let i = t.entries.some((e) => Q(e.href, n)), [a, o] = g(t.defaultOpen ?? i);
1121
- return f(() => {
1108
+ });
1109
+ }, kt = ({ subgroup: t, currentPath: n, Link: r }) => {
1110
+ let i = t.entries.some((e) => Z(e.href, n)), [a, o] = v(t.defaultOpen ?? i);
1111
+ return m(() => {
1122
1112
  i && o(!0);
1123
- }, [i]), /* @__PURE__ */ y("li", { children: [/* @__PURE__ */ y("button", {
1113
+ }, [i]), /* @__PURE__ */ x("li", { children: [/* @__PURE__ */ x("button", {
1124
1114
  type: "button",
1125
1115
  onClick: () => o(!a),
1126
1116
  "aria-expanded": a,
1127
- className: e(wt, "flex items-center justify-between gap-2", Tt(!1)),
1128
- children: [/* @__PURE__ */ v("span", { children: t.label }), /* @__PURE__ */ v("svg", {
1117
+ className: e(Et, "flex items-center justify-between gap-2", Dt(!1)),
1118
+ children: [/* @__PURE__ */ b("span", { children: t.label }), /* @__PURE__ */ b("svg", {
1129
1119
  width: "10",
1130
1120
  height: "10",
1131
1121
  viewBox: "0 0 10 10",
1132
1122
  fill: "none",
1133
1123
  className: e("shrink-0 transition-transform", a ? "rotate-90" : ""),
1134
1124
  "aria-hidden": "true",
1135
- children: /* @__PURE__ */ v("path", {
1125
+ children: /* @__PURE__ */ b("path", {
1136
1126
  d: "M3 1.5 L6.5 5 L3 8.5",
1137
1127
  stroke: "currentColor",
1138
1128
  strokeWidth: "1.5",
1139
1129
  strokeLinecap: "round"
1140
1130
  })
1141
1131
  })]
1142
- }), a ? /* @__PURE__ */ v("ul", {
1132
+ }), a ? /* @__PURE__ */ b("ul", {
1143
1133
  className: "border-l border-border ml-4",
1144
- children: t.entries.map((e) => /* @__PURE__ */ v(Et, {
1134
+ children: t.entries.map((e) => /* @__PURE__ */ b(Ot, {
1145
1135
  entry: e,
1146
1136
  ...n ? { currentPath: n } : {},
1147
1137
  Link: r
1148
1138
  }, e.href))
1149
1139
  }) : null] });
1150
- }, Ot = ({ group: t, currentPath: n, Link: r }) => {
1151
- let i = t.subgroups ?? [], a = t.trailingEntries ?? [], o = t.headerless ?? !1, s = t.entries.some((e) => Q(e.href, n)) || i.some((e) => e.entries.some((e) => Q(e.href, n))) || a.some((e) => Q(e.href, n)), [c, l] = g(t.defaultOpen ?? s ?? !0);
1152
- return f(() => {
1140
+ }, At = ({ group: t, currentPath: n, Link: r }) => {
1141
+ let i = t.subgroups ?? [], a = t.trailingEntries ?? [], o = t.headerless ?? !1, s = t.entries.some((e) => Z(e.href, n)) || i.some((e) => e.entries.some((e) => Z(e.href, n))) || a.some((e) => Z(e.href, n)), [c, l] = v(t.defaultOpen ?? s ?? !0);
1142
+ return m(() => {
1153
1143
  s && l(!0);
1154
- }, [s]), /* @__PURE__ */ y("div", {
1144
+ }, [s]), /* @__PURE__ */ x("div", {
1155
1145
  className: "mb-4",
1156
- children: [o ? null : /* @__PURE__ */ y("button", {
1146
+ children: [o ? null : /* @__PURE__ */ x("button", {
1157
1147
  type: "button",
1158
1148
  onClick: () => l(!c),
1159
1149
  className: "flex w-full items-center justify-between text-[0.7rem] uppercase tracking-[0.08em] text-muted-foreground font-semibold py-1.5 hover:text-foreground transition-colors",
1160
1150
  "aria-expanded": c,
1161
- children: [/* @__PURE__ */ v("span", { children: t.section }), /* @__PURE__ */ v("svg", {
1151
+ children: [/* @__PURE__ */ b("span", { children: t.section }), /* @__PURE__ */ b("svg", {
1162
1152
  width: "10",
1163
1153
  height: "10",
1164
1154
  viewBox: "0 0 10 10",
1165
1155
  fill: "none",
1166
1156
  className: e("transition-transform", c ? "rotate-90" : ""),
1167
1157
  "aria-hidden": "true",
1168
- children: /* @__PURE__ */ v("path", {
1158
+ children: /* @__PURE__ */ b("path", {
1169
1159
  d: "M3 1.5 L6.5 5 L3 8.5",
1170
1160
  stroke: "currentColor",
1171
1161
  strokeWidth: "1.5",
1172
1162
  strokeLinecap: "round"
1173
1163
  })
1174
1164
  })]
1175
- }), (o || c) && (t.entries.length > 0 || i.length > 0 || a.length > 0) ? /* @__PURE__ */ y("ul", {
1165
+ }), (o || c) && (t.entries.length > 0 || i.length > 0 || a.length > 0) ? /* @__PURE__ */ x("ul", {
1176
1166
  className: "mt-1 border-l border-border ml-[3px]",
1177
1167
  children: [
1178
- t.entries.map((e) => /* @__PURE__ */ v(Et, {
1168
+ t.entries.map((e) => /* @__PURE__ */ b(Ot, {
1179
1169
  entry: e,
1180
1170
  ...n ? { currentPath: n } : {},
1181
1171
  Link: r
1182
1172
  }, e.href)),
1183
- i.map((e) => /* @__PURE__ */ v(Dt, {
1173
+ i.map((e) => /* @__PURE__ */ b(kt, {
1184
1174
  subgroup: e,
1185
1175
  ...n ? { currentPath: n } : {},
1186
1176
  Link: r
1187
1177
  }, e.label)),
1188
- a.map((e) => /* @__PURE__ */ v(Et, {
1178
+ a.map((e) => /* @__PURE__ */ b(Ot, {
1189
1179
  entry: e,
1190
1180
  ...n ? { currentPath: n } : {},
1191
1181
  Link: r
@@ -1193,326 +1183,354 @@ var Ve = {
1193
1183
  ]
1194
1184
  }) : null]
1195
1185
  });
1196
- }, kt = ({ toc: t, editUrl: n, lastUpdated: r, t: i }) => /* @__PURE__ */ v("aside", {
1186
+ }, jt = ({ toc: t, editUrl: n, lastUpdated: r, t: i }) => /* @__PURE__ */ b("aside", {
1197
1187
  className: "hidden xl:block w-56 shrink-0 pl-8",
1198
- children: /* @__PURE__ */ y("div", {
1188
+ children: /* @__PURE__ */ x("div", {
1199
1189
  className: "sticky top-24",
1200
- children: [t.length > 0 ? /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v("div", {
1190
+ children: [t.length > 0 ? /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("div", {
1201
1191
  className: "text-[0.7rem] uppercase tracking-[0.08em] text-muted-foreground font-semibold mb-3",
1202
1192
  children: i.onThisPage
1203
- }), /* @__PURE__ */ v("ul", {
1193
+ }), /* @__PURE__ */ b("ul", {
1204
1194
  className: "space-y-1.5 text-sm border-l border-border",
1205
- children: t.map((t) => /* @__PURE__ */ v("li", { children: /* @__PURE__ */ v("a", {
1195
+ children: t.map((t) => /* @__PURE__ */ b("li", { children: /* @__PURE__ */ b("a", {
1206
1196
  href: `#${t.id}`,
1207
1197
  className: e("block py-0.5 -ml-px border-l-2 border-transparent text-muted-foreground hover:text-foreground hover:border-border transition-colors data-[active=true]:border-primary data-[active=true]:text-foreground data-[active=true]:font-medium", t.level === 3 ? "pl-6" : "pl-3"),
1208
1198
  "data-toc-link": t.id,
1209
1199
  children: t.text
1210
1200
  }) }, t.id))
1211
- })] }) : null, n || r ? /* @__PURE__ */ y("div", {
1201
+ })] }) : null, n || r ? /* @__PURE__ */ x("div", {
1212
1202
  className: e("text-xs text-muted-foreground space-y-1.5", t.length > 0 ? "mt-6 pt-6 border-t border-border" : ""),
1213
- children: [n ? /* @__PURE__ */ v("a", {
1203
+ children: [n ? /* @__PURE__ */ b("a", {
1214
1204
  href: n,
1215
1205
  target: "_blank",
1216
1206
  rel: "noopener noreferrer",
1217
1207
  className: "block hover:text-foreground transition-colors",
1218
1208
  children: i.editPage
1219
- }) : null, r ? /* @__PURE__ */ y("div", { children: [
1209
+ }) : null, r ? /* @__PURE__ */ x("div", { children: [
1220
1210
  i.updated,
1221
1211
  " ",
1222
1212
  r
1223
1213
  ] }) : null]
1224
1214
  }) : null]
1225
1215
  })
1226
- }), At = ({ prev: e, next: t, Link: n, t: r }) => !e && !t ? null : /* @__PURE__ */ y("nav", {
1216
+ }), Mt = ({ prev: e, next: t, Link: n, t: r }) => !e && !t ? null : /* @__PURE__ */ x("nav", {
1227
1217
  "aria-label": r.pagination,
1228
1218
  className: "mt-16 pt-8 border-t border-border grid grid-cols-1 md:grid-cols-2 gap-4",
1229
- children: [/* @__PURE__ */ v("div", { children: e ? /* @__PURE__ */ y(n, {
1219
+ children: [/* @__PURE__ */ b("div", { children: e ? /* @__PURE__ */ x(n, {
1230
1220
  to: e.href,
1231
1221
  prefetch: !0,
1232
1222
  className: "group block p-4 border border-border rounded-lg hover:border-primary/50 hover:bg-card/40 transition-colors h-full",
1233
1223
  children: [
1234
- /* @__PURE__ */ y("div", {
1224
+ /* @__PURE__ */ x("div", {
1235
1225
  className: "text-xs text-muted-foreground mb-1 inline-flex items-center gap-1",
1236
- children: [/* @__PURE__ */ v(pt, { className: "w-3 h-3 transition-transform group-hover:-translate-x-0.5" }), r.previous]
1226
+ children: [/* @__PURE__ */ b(mt, { className: "w-3 h-3 transition-transform group-hover:-translate-x-0.5" }), r.previous]
1237
1227
  }),
1238
- /* @__PURE__ */ v("div", {
1228
+ /* @__PURE__ */ b("div", {
1239
1229
  className: "font-medium group-hover:text-primary transition-colors",
1240
1230
  children: e.label
1241
1231
  }),
1242
- e.description ? /* @__PURE__ */ v("div", {
1232
+ e.description ? /* @__PURE__ */ b("div", {
1243
1233
  className: "text-xs text-muted-foreground mt-1 line-clamp-1",
1244
1234
  children: e.description
1245
1235
  }) : null
1246
1236
  ]
1247
- }) : null }), /* @__PURE__ */ v("div", {
1237
+ }) : null }), /* @__PURE__ */ b("div", {
1248
1238
  className: "md:text-right",
1249
- children: t ? /* @__PURE__ */ y(n, {
1239
+ children: t ? /* @__PURE__ */ x(n, {
1250
1240
  to: t.href,
1251
1241
  prefetch: !0,
1252
1242
  className: "group block p-4 border border-border rounded-lg hover:border-primary/50 hover:bg-card/40 transition-colors h-full",
1253
1243
  children: [
1254
- /* @__PURE__ */ y("div", {
1244
+ /* @__PURE__ */ x("div", {
1255
1245
  className: "text-xs text-muted-foreground mb-1 inline-flex items-center gap-1 md:justify-end",
1256
- children: [r.next, /* @__PURE__ */ v(mt, { className: "w-3 h-3 transition-transform group-hover:translate-x-0.5" })]
1246
+ children: [r.next, /* @__PURE__ */ b(ht, { className: "w-3 h-3 transition-transform group-hover:translate-x-0.5" })]
1257
1247
  }),
1258
- /* @__PURE__ */ v("div", {
1248
+ /* @__PURE__ */ b("div", {
1259
1249
  className: "font-medium group-hover:text-primary transition-colors",
1260
1250
  children: t.label
1261
1251
  }),
1262
- t.description ? /* @__PURE__ */ v("div", {
1252
+ t.description ? /* @__PURE__ */ b("div", {
1263
1253
  className: "text-xs text-muted-foreground mt-1 line-clamp-1",
1264
1254
  children: t.description
1265
1255
  }) : null
1266
1256
  ]
1267
1257
  }) : null
1268
1258
  })]
1269
- }), jt = ({ items: e, Link: t, ariaLabel: n }) => /* @__PURE__ */ v("nav", {
1259
+ }), Nt = ({ items: e, Link: t, ariaLabel: n }) => /* @__PURE__ */ b("nav", {
1270
1260
  "aria-label": n,
1271
1261
  className: "text-xs text-muted-foreground mb-3 flex items-center gap-1.5 flex-wrap",
1272
1262
  children: e.map((n, r) => {
1273
1263
  let i = r === e.length - 1;
1274
- return /* @__PURE__ */ y("span", {
1264
+ return /* @__PURE__ */ x("span", {
1275
1265
  className: "inline-flex items-center gap-1.5",
1276
- children: [n.href && !i ? /* @__PURE__ */ v(t, {
1266
+ children: [n.href && !i ? /* @__PURE__ */ b(t, {
1277
1267
  to: n.href,
1278
1268
  className: "hover:text-foreground transition-colors",
1279
1269
  children: n.label
1280
- }) : /* @__PURE__ */ v("span", {
1270
+ }) : /* @__PURE__ */ b("span", {
1281
1271
  className: i ? "text-foreground" : "",
1282
1272
  children: n.label
1283
- }), i ? null : /* @__PURE__ */ v("span", {
1273
+ }), i ? null : /* @__PURE__ */ b("span", {
1284
1274
  className: "text-muted-foreground/50",
1285
1275
  "aria-hidden": "true",
1286
1276
  children: "/"
1287
1277
  })]
1288
1278
  }, r);
1289
1279
  })
1290
- }), Mt = ({ brand: t, nav: n, children: r, currentPath: i, topNav: a, topRight: o, search: s, page: c, LinkComponent: l = Ct, className: u, labels: d, footer: f, sidebarHeader: p }) => {
1291
- let m = l, h = {
1292
- ...St,
1280
+ }), Pt = ({ brand: t, nav: n, children: r, currentPath: i, topNav: a, topRight: o, search: s, page: c, LinkComponent: l = Tt, className: u, labels: d, footer: f, sidebarHeader: p, header: h, intro: g, sidebar: y = !0 }) => {
1281
+ let S = l, C = {
1282
+ ...wt,
1293
1283
  ...d
1294
- }, [_, b] = g(!1);
1295
- return /* @__PURE__ */ y("div", {
1284
+ }, [w, T] = v(!1), E = _(null);
1285
+ m(() => {
1286
+ let e = E.current;
1287
+ if (!e || (w && !e.open && e.showModal(), !w && e.open && e.close(), !w)) return;
1288
+ let t = document.body.style.overflow;
1289
+ return document.body.style.overflow = "hidden", () => {
1290
+ document.body.style.overflow = t;
1291
+ };
1292
+ }, [w]), m(() => {
1293
+ T(!1);
1294
+ }, [i]);
1295
+ let D = /* @__PURE__ */ b("button", {
1296
+ type: "button",
1297
+ onClick: () => T(!0),
1298
+ className: "docs-menu-toggle md:hidden inline-flex items-center justify-center w-11 h-11 rounded-md hover:bg-card transition-colors",
1299
+ "aria-label": C.toggleMenu,
1300
+ "aria-expanded": w,
1301
+ "aria-haspopup": "dialog",
1302
+ children: /* @__PURE__ */ b("svg", {
1303
+ width: "18",
1304
+ height: "18",
1305
+ viewBox: "0 0 18 18",
1306
+ fill: "none",
1307
+ "aria-hidden": "true",
1308
+ children: /* @__PURE__ */ b("path", {
1309
+ d: "M3 5 H15 M3 9 H15 M3 13 H15",
1310
+ stroke: "currentColor",
1311
+ strokeWidth: "1.5",
1312
+ strokeLinecap: "round"
1313
+ })
1314
+ })
1315
+ });
1316
+ return /* @__PURE__ */ x("div", {
1296
1317
  className: e("min-h-screen bg-background text-foreground", u),
1297
- children: [/* @__PURE__ */ y(Z, { children: [/* @__PURE__ */ y("div", {
1298
- className: "flex items-center gap-4 min-w-0 flex-1",
1299
- children: [
1300
- /* @__PURE__ */ v("button", {
1301
- type: "button",
1302
- onClick: () => b(!_),
1303
- className: "md:hidden inline-flex items-center justify-center w-8 h-8 rounded-md hover:bg-card transition-colors",
1304
- "aria-label": h.toggleMenu,
1305
- "aria-expanded": _,
1306
- children: /* @__PURE__ */ v("svg", {
1307
- width: "18",
1308
- height: "18",
1309
- viewBox: "0 0 18 18",
1310
- fill: "none",
1311
- "aria-hidden": "true",
1312
- children: /* @__PURE__ */ v("path", {
1313
- d: "M3 5 H15 M3 9 H15 M3 13 H15",
1314
- stroke: "currentColor",
1315
- strokeWidth: "1.5",
1316
- strokeLinecap: "round"
1317
- })
1318
- })
1319
- }),
1320
- /* @__PURE__ */ v("div", {
1321
- className: "flex items-center gap-2 font-semibold",
1322
- children: t
1323
- }),
1324
- a ? /* @__PURE__ */ v("div", {
1325
- className: "hidden md:flex items-center gap-1 ml-4",
1326
- children: a
1327
- }) : null
1328
- ]
1329
- }), /* @__PURE__ */ y("div", {
1330
- className: "flex items-center gap-3",
1331
- children: [s ? /* @__PURE__ */ v("div", {
1332
- className: "hidden md:block",
1333
- children: s
1334
- }) : null, o ? /* @__PURE__ */ v("div", {
1335
- className: "flex items-center gap-1",
1336
- children: o
1337
- }) : null]
1338
- })] }), /* @__PURE__ */ y("div", {
1339
- className: "mx-auto max-w-7xl flex",
1340
- children: [
1341
- /* @__PURE__ */ v("aside", {
1342
- className: "hidden md:block w-64 shrink-0 border-r border-border",
1343
- children: /* @__PURE__ */ y("div", {
1344
- className: "sticky top-16 max-h-[calc(100vh-4rem)] overflow-y-auto px-6 py-8",
1345
- children: [p ? /* @__PURE__ */ v("div", {
1346
- className: "mb-6",
1347
- children: p
1348
- }) : null, n.map((e) => /* @__PURE__ */ v(Ot, {
1349
- group: e,
1350
- ...i ? { currentPath: i } : {},
1351
- Link: m
1352
- }, e.section))]
1353
- })
1354
- }),
1355
- _ ? /* @__PURE__ */ y("div", {
1356
- className: "md:hidden fixed inset-0 z-40 flex",
1357
- children: [/* @__PURE__ */ v("div", {
1358
- role: "button",
1359
- "aria-label": h.closeMenu,
1360
- className: "flex-1 bg-background/70 backdrop-blur-sm",
1361
- onClick: () => b(!1)
1362
- }), /* @__PURE__ */ y("aside", {
1363
- className: "w-72 max-w-[80vw] bg-card border-l border-border overflow-y-auto px-6 py-6",
1364
- children: [
1365
- /* @__PURE__ */ y("div", {
1366
- className: "mb-4 flex items-center justify-between",
1367
- children: [/* @__PURE__ */ v("span", {
1368
- className: "font-semibold",
1369
- children: h.menu
1370
- }), /* @__PURE__ */ v("button", {
1371
- type: "button",
1372
- onClick: () => b(!1),
1373
- className: "inline-flex items-center justify-center w-7 h-7 rounded-md hover:bg-background transition-colors",
1374
- "aria-label": h.close,
1375
- children: /* @__PURE__ */ v("svg", {
1376
- width: "14",
1377
- height: "14",
1378
- viewBox: "0 0 14 14",
1379
- fill: "none",
1380
- "aria-hidden": "true",
1381
- children: /* @__PURE__ */ v("path", {
1382
- d: "M3 3 L11 11 M11 3 L3 11",
1383
- stroke: "currentColor",
1384
- strokeWidth: "1.5",
1385
- strokeLinecap: "round"
1386
- })
1387
- })
1388
- })]
1389
- }),
1390
- p ? /* @__PURE__ */ v("div", {
1391
- className: "mb-4",
1318
+ children: [
1319
+ h ? h({ menuButton: D }) : /* @__PURE__ */ x(Ct, { children: [/* @__PURE__ */ x("div", {
1320
+ className: "flex items-center gap-4 min-w-0 flex-1",
1321
+ children: [
1322
+ D,
1323
+ /* @__PURE__ */ b("div", {
1324
+ className: "flex items-center gap-2 font-semibold",
1325
+ children: t
1326
+ }),
1327
+ a ? /* @__PURE__ */ b("div", {
1328
+ className: "hidden md:flex items-center gap-1 ml-4",
1329
+ children: a
1330
+ }) : null
1331
+ ]
1332
+ }), /* @__PURE__ */ x("div", {
1333
+ className: "flex items-center gap-3",
1334
+ children: [s ? /* @__PURE__ */ b("div", {
1335
+ className: "hidden md:block",
1336
+ children: s
1337
+ }) : null, o ? /* @__PURE__ */ b("div", {
1338
+ className: "flex items-center gap-1",
1339
+ children: o
1340
+ }) : null]
1341
+ })] }),
1342
+ g,
1343
+ /* @__PURE__ */ x("div", {
1344
+ className: "docs-columns mx-auto max-w-7xl flex",
1345
+ children: [
1346
+ y ? /* @__PURE__ */ b("aside", {
1347
+ "data-docs-sidebar": !0,
1348
+ className: "hidden md:block w-64 shrink-0 border-r border-border",
1349
+ children: /* @__PURE__ */ x("div", {
1350
+ className: "sticky top-16 max-h-[calc(100vh-4rem)] overflow-y-auto px-6 py-8",
1351
+ children: [p ? /* @__PURE__ */ b("div", {
1352
+ className: "mb-6",
1392
1353
  children: p
1393
- }) : null,
1394
- n.map((e) => /* @__PURE__ */ v(Ot, {
1354
+ }) : null, n.map((e) => /* @__PURE__ */ b(At, {
1395
1355
  group: e,
1396
1356
  ...i ? { currentPath: i } : {},
1397
- Link: m
1398
- }, e.section))
1399
- ]
1400
- })]
1401
- }) : null,
1402
- /* @__PURE__ */ y("div", {
1403
- className: "flex-1 min-w-0 flex",
1404
- children: [/* @__PURE__ */ y("main", {
1405
- className: "flex-1 min-w-0 px-6 md:px-10 py-10 max-w-3xl",
1406
- children: [
1407
- c?.breadcrumbs && c.breadcrumbs.length > 0 ? /* @__PURE__ */ v(jt, {
1408
- items: c.breadcrumbs,
1409
- Link: m,
1410
- ariaLabel: h.breadcrumb
1411
- }) : null,
1412
- c?.title ? /* @__PURE__ */ v("h1", {
1413
- className: "text-3xl md:text-4xl font-bold tracking-tight text-foreground mb-3",
1414
- children: c.title
1415
- }) : null,
1416
- c?.description ? /* @__PURE__ */ v("p", {
1417
- className: "text-base md:text-lg text-muted-foreground mb-8 leading-relaxed",
1418
- children: c.description
1419
- }) : null,
1420
- r,
1421
- /* @__PURE__ */ v(At, {
1422
- ...c?.prev ? { prev: c.prev } : {},
1423
- ...c?.next ? { next: c.next } : {},
1424
- Link: m,
1425
- t: h
1426
- }),
1427
- f ? /* @__PURE__ */ v("div", {
1428
- className: "mt-16 pt-8 border-t border-border",
1429
- children: f
1430
- }) : null
1431
- ]
1432
- }), c?.toc === void 0 ? null : /* @__PURE__ */ v(kt, {
1433
- toc: c.toc,
1434
- ...c.editUrl ? { editUrl: c.editUrl } : {},
1435
- ...c.lastUpdated ? { lastUpdated: c.lastUpdated } : {},
1436
- t: h
1437
- })]
1438
- })
1439
- ]
1440
- })]
1357
+ Link: S
1358
+ }, e.section))]
1359
+ })
1360
+ }) : null,
1361
+ /* @__PURE__ */ b("dialog", {
1362
+ ref: E,
1363
+ "aria-label": C.menu,
1364
+ onCancel: () => T(!1),
1365
+ onClose: () => T(!1),
1366
+ onKeyDown: (e) => {
1367
+ if (e.key !== "Tab") return;
1368
+ let t = [...e.currentTarget.querySelectorAll("button:not([disabled]), a[href], select:not([disabled]), [tabindex=\"0\"]")], n = t[0], r = t.at(-1);
1369
+ e.shiftKey && document.activeElement === n && (e.preventDefault(), r?.focus()), !e.shiftKey && document.activeElement === r && (e.preventDefault(), n?.focus());
1370
+ },
1371
+ onClick: (e) => {
1372
+ e.target === e.currentTarget && T(!1);
1373
+ },
1374
+ className: "docs-drawer m-0 ml-auto h-dvh max-h-dvh w-80 max-w-[90vw] border-0 border-l border-border bg-card text-foreground p-0 backdrop:bg-black/50",
1375
+ children: w ? /* @__PURE__ */ x("div", {
1376
+ className: "min-h-full px-6 py-6",
1377
+ onClick: (e) => {
1378
+ e.target instanceof Element && e.target.closest("a[href]") && T(!1);
1379
+ },
1380
+ children: [
1381
+ /* @__PURE__ */ x("div", {
1382
+ className: "mb-4 flex items-center justify-between",
1383
+ children: [/* @__PURE__ */ b("span", {
1384
+ className: "font-semibold",
1385
+ children: C.menu
1386
+ }), /* @__PURE__ */ b("button", {
1387
+ type: "button",
1388
+ onClick: () => T(!1),
1389
+ className: "inline-flex items-center justify-center w-11 h-11 rounded-md hover:bg-background transition-colors",
1390
+ "aria-label": C.close,
1391
+ children: /* @__PURE__ */ b("svg", {
1392
+ width: "14",
1393
+ height: "14",
1394
+ viewBox: "0 0 14 14",
1395
+ fill: "none",
1396
+ "aria-hidden": "true",
1397
+ children: /* @__PURE__ */ b("path", {
1398
+ d: "M3 3 L11 11 M11 3 L3 11",
1399
+ stroke: "currentColor",
1400
+ strokeWidth: "1.5",
1401
+ strokeLinecap: "round"
1402
+ })
1403
+ })
1404
+ })]
1405
+ }),
1406
+ p ? /* @__PURE__ */ b("div", {
1407
+ className: "mb-4",
1408
+ children: p
1409
+ }) : null,
1410
+ n.map((e) => /* @__PURE__ */ b(At, {
1411
+ group: e,
1412
+ ...i ? { currentPath: i } : {},
1413
+ Link: S
1414
+ }, e.section))
1415
+ ]
1416
+ }) : null
1417
+ }),
1418
+ /* @__PURE__ */ x("div", {
1419
+ className: "flex-1 min-w-0 flex",
1420
+ children: [/* @__PURE__ */ x("main", {
1421
+ className: "flex-1 min-w-0 px-6 md:px-10 py-10 max-w-3xl",
1422
+ children: [
1423
+ c?.breadcrumbs && c.breadcrumbs.length > 0 ? /* @__PURE__ */ b(Nt, {
1424
+ items: c.breadcrumbs,
1425
+ Link: S,
1426
+ ariaLabel: C.breadcrumb
1427
+ }) : null,
1428
+ c?.title ? /* @__PURE__ */ b("h1", {
1429
+ className: "text-3xl md:text-4xl font-bold tracking-tight text-foreground mb-3",
1430
+ children: c.title
1431
+ }) : null,
1432
+ c?.description ? /* @__PURE__ */ b("p", {
1433
+ className: "text-base md:text-lg text-muted-foreground mb-8 leading-relaxed",
1434
+ children: c.description
1435
+ }) : null,
1436
+ r,
1437
+ /* @__PURE__ */ b(Mt, {
1438
+ ...c?.prev ? { prev: c.prev } : {},
1439
+ ...c?.next ? { next: c.next } : {},
1440
+ Link: S,
1441
+ t: C
1442
+ }),
1443
+ f ? /* @__PURE__ */ b("div", {
1444
+ className: "mt-16 pt-8 border-t border-border",
1445
+ children: f
1446
+ }) : null
1447
+ ]
1448
+ }), c?.toc === void 0 ? null : /* @__PURE__ */ b(jt, {
1449
+ toc: c.toc,
1450
+ ...c.editUrl ? { editUrl: c.editUrl } : {},
1451
+ ...c.lastUpdated ? { lastUpdated: c.lastUpdated } : {},
1452
+ t: C
1453
+ })]
1454
+ })
1455
+ ]
1456
+ })
1457
+ ]
1441
1458
  });
1442
- }, Nt = ({ to: e, className: t, children: n }) => /* @__PURE__ */ v("a", {
1459
+ }, Ft = ({ to: e, className: t, children: n }) => /* @__PURE__ */ b("a", {
1443
1460
  href: e,
1444
1461
  className: t,
1445
1462
  children: n
1446
- }), Pt = ({ brand: t, nav: n, right: r, children: i, className: a, LinkComponent: o = Nt }) => {
1447
- let s = o;
1448
- return /* @__PURE__ */ y("div", {
1449
- className: e("min-h-screen flex flex-col bg-background text-foreground", a),
1450
- children: [/* @__PURE__ */ y(Z, { children: [/* @__PURE__ */ v("div", {
1463
+ }), It = ({ brand: t, header: n, nav: r, right: i, children: a, className: o, LinkComponent: s = Ft }) => {
1464
+ let c = s;
1465
+ return /* @__PURE__ */ x("div", {
1466
+ className: e("min-h-screen flex flex-col bg-background text-foreground", o),
1467
+ children: [n ?? /* @__PURE__ */ x(Ct, { children: [/* @__PURE__ */ b("div", {
1451
1468
  className: "font-semibold flex items-center gap-2",
1452
1469
  children: t
1453
- }), /* @__PURE__ */ y("div", {
1470
+ }), /* @__PURE__ */ x("div", {
1454
1471
  className: "flex items-center gap-6",
1455
- children: [n && n.length > 0 ? /* @__PURE__ */ v("nav", {
1472
+ children: [r && r.length > 0 ? /* @__PURE__ */ b("nav", {
1456
1473
  className: "hidden md:flex gap-6 text-sm",
1457
- children: n.map((e) => /* @__PURE__ */ v(s, {
1474
+ children: r.map((e) => /* @__PURE__ */ b(c, {
1458
1475
  to: e.href,
1459
1476
  prefetch: !0,
1460
1477
  className: "text-muted-foreground hover:text-foreground transition-colors",
1461
1478
  children: e.label
1462
1479
  }, e.href))
1463
- }) : null, r ? /* @__PURE__ */ v("div", { children: r }) : null]
1464
- })] }), /* @__PURE__ */ v("main", {
1480
+ }) : null, i ? /* @__PURE__ */ b("div", { children: i }) : null]
1481
+ })] }), /* @__PURE__ */ b("main", {
1465
1482
  className: "flex-1",
1466
- children: i
1483
+ children: a
1467
1484
  })]
1468
1485
  });
1469
- }, Ft = () => {
1470
- let e = N(A);
1486
+ }, Lt = () => {
1487
+ let e = F(M);
1471
1488
  return e === "dark" || e === "light" || e === "system" ? e : "system";
1472
- }, It = (e) => {
1473
- e === "system" ? te(A) : P(A, e), re(e);
1474
- }, Lt = ({ initial: e }) => e ? /* @__PURE__ */ v("span", {
1489
+ }, Rt = (e) => {
1490
+ I(M, e), L(e);
1491
+ }, zt = ({ initial: e }) => e ? /* @__PURE__ */ b("span", {
1475
1492
  className: "text-xs font-semibold select-none",
1476
1493
  children: e
1477
- }) : /* @__PURE__ */ y("svg", {
1494
+ }) : /* @__PURE__ */ x("svg", {
1478
1495
  width: "16",
1479
1496
  height: "16",
1480
1497
  viewBox: "0 0 16 16",
1481
1498
  fill: "none",
1482
1499
  "aria-hidden": "true",
1483
- children: [/* @__PURE__ */ v("circle", {
1500
+ children: [/* @__PURE__ */ b("circle", {
1484
1501
  cx: "8",
1485
1502
  cy: "5.5",
1486
1503
  r: "2.5",
1487
1504
  stroke: "currentColor",
1488
1505
  strokeWidth: "1.4"
1489
- }), /* @__PURE__ */ v("path", {
1506
+ }), /* @__PURE__ */ b("path", {
1490
1507
  d: "M2.8 13.4c0-2.6 2.3-4.4 5.2-4.4s5.2 1.8 5.2 4.4",
1491
1508
  stroke: "currentColor",
1492
1509
  strokeWidth: "1.4",
1493
1510
  strokeLinecap: "round"
1494
1511
  })]
1495
- }), Rt = [
1512
+ }), Bt = [
1496
1513
  "system",
1497
1514
  "light",
1498
1515
  "dark"
1499
- ], zt = {
1516
+ ], Vt = {
1500
1517
  system: "System",
1501
1518
  light: "Light",
1502
1519
  dark: "Dark"
1503
- }, Bt = (e, t) => {
1520
+ }, Ht = (e, t) => {
1504
1521
  t ? window.open(e, "_blank", "noopener,noreferrer") : window.location.assign(e);
1505
- }, Vt = ({ identity: e, links: t, languages: n, currentLanguage: r, onLanguageChange: i, logoutUrl: a, onLogout: o, signInUrl: s, labels: c }) => {
1506
- let [l, d] = g(void 0), [p, m] = g(void 0), h = r ?? p;
1507
- f(() => {
1508
- d(Ft()), m(N("voltro:locale") ?? void 0);
1522
+ }, Ut = ({ identity: e, links: t, languages: n, currentLanguage: r, onLanguageChange: i, logoutUrl: a, onLogout: o, signInUrl: s, labels: c, trigger: l }) => {
1523
+ let [u, d] = v(void 0), [p, h] = v(void 0), g = r ?? p;
1524
+ m(() => {
1525
+ let e = () => d(Lt());
1526
+ return e(), h(F("voltro:locale") ?? void 0), window.addEventListener(N, e), () => window.removeEventListener(N, e);
1509
1527
  }, []);
1510
- let b = u((e) => {
1528
+ let _ = f((e) => {
1511
1529
  let t = e;
1512
- d(t), It(t);
1513
- }, []), x = u((e) => {
1514
- P(j, e), m(e), i?.(e) !== !1 && window.location.reload();
1515
- }, [i]), S = u(() => {
1530
+ d(t), Rt(t);
1531
+ }, []), S = f((e) => {
1532
+ I(P, e), h(e), i?.(e) !== !1 && window.location.reload();
1533
+ }, [i]), C = f(() => {
1516
1534
  if (o) {
1517
1535
  o();
1518
1536
  return;
@@ -1520,100 +1538,100 @@ var Ve = {
1520
1538
  if (!a) return;
1521
1539
  let e = document.createElement("form");
1522
1540
  e.method = "post", e.action = a, document.body.appendChild(e), e.submit();
1523
- }, [a, o]), C = e?.name?.trim().charAt(0).toUpperCase(), w = n && n.length > 0, T = t && t.length > 0, E = e && (a || o) || !e && s, D = (e) => c?.themes?.[e] ?? zt[e];
1524
- return /* @__PURE__ */ y(Ae, { children: [/* @__PURE__ */ v(je, {
1541
+ }, [a, o]), w = e?.name?.trim().charAt(0).toUpperCase(), T = n && n.length > 0, E = t && t.length > 0, D = e && (a || o) || !e && s, O = (e) => c?.themes?.[e] ?? Vt[e];
1542
+ return /* @__PURE__ */ x(je, { children: [/* @__PURE__ */ b(Me, {
1525
1543
  asChild: !0,
1526
- children: /* @__PURE__ */ v(F, {
1544
+ children: l ?? /* @__PURE__ */ b(R, {
1527
1545
  type: "button",
1528
1546
  variant: "outline",
1529
1547
  size: "icon",
1530
1548
  "aria-label": c?.openMenu ?? "Open profile menu",
1531
1549
  className: "rounded-full size-8 text-muted-foreground hover:text-foreground",
1532
- children: /* @__PURE__ */ v(Lt, { ...C ? { initial: C } : {} })
1550
+ children: /* @__PURE__ */ b(zt, { ...w ? { initial: w } : {} })
1533
1551
  })
1534
- }), /* @__PURE__ */ y(H, {
1552
+ }), /* @__PURE__ */ x(H, {
1535
1553
  align: "end",
1536
1554
  className: "w-64",
1537
1555
  children: [
1538
- e ? /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ y("div", {
1556
+ e ? /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ x("div", {
1539
1557
  className: "px-2 py-1.5",
1540
- children: [/* @__PURE__ */ v("div", {
1558
+ children: [/* @__PURE__ */ b("div", {
1541
1559
  className: "text-sm font-medium text-foreground truncate",
1542
1560
  children: e.name
1543
- }), e.sublabel ? /* @__PURE__ */ v("div", {
1561
+ }), e.sublabel ? /* @__PURE__ */ b("div", {
1544
1562
  className: "text-xs text-muted-foreground truncate mt-0.5",
1545
1563
  children: e.sublabel
1546
1564
  }) : null]
1547
- }), /* @__PURE__ */ v(U, {})] }) : null,
1548
- T ? /* @__PURE__ */ y(_, { children: [t.map((e) => /* @__PURE__ */ y(W, {
1549
- onSelect: () => Bt(e.href, e.external),
1550
- children: [e.icon ?? null, /* @__PURE__ */ v("span", {
1565
+ }), /* @__PURE__ */ b(U, {})] }) : null,
1566
+ E ? /* @__PURE__ */ x(y, { children: [t.map((e) => /* @__PURE__ */ x(W, {
1567
+ onSelect: () => Ht(e.href, e.external),
1568
+ children: [e.icon ?? null, /* @__PURE__ */ b("span", {
1551
1569
  className: "flex-1 truncate",
1552
1570
  children: e.label
1553
1571
  })]
1554
- }, e.key)), /* @__PURE__ */ v(U, {})] }) : null,
1555
- /* @__PURE__ */ y("div", {
1572
+ }, e.key)), /* @__PURE__ */ b(U, {})] }) : null,
1573
+ /* @__PURE__ */ x("div", {
1556
1574
  className: "flex items-center justify-between gap-2 px-2 py-1.5",
1557
- children: [/* @__PURE__ */ v("span", {
1575
+ children: [/* @__PURE__ */ b("span", {
1558
1576
  className: "text-[0.65rem] font-semibold uppercase tracking-wider text-muted-foreground",
1559
1577
  children: c?.theme ?? "Theme"
1560
- }), /* @__PURE__ */ v(K, {
1578
+ }), /* @__PURE__ */ b(K, {
1561
1579
  type: "single",
1562
1580
  size: "sm",
1563
1581
  variant: "outline",
1564
- ...l ? { value: l } : {},
1582
+ ...u ? { value: u } : {},
1565
1583
  onValueChange: (e) => {
1566
- e && b(e);
1584
+ e && _(e);
1567
1585
  },
1568
- children: Rt.map((e) => /* @__PURE__ */ v(q, {
1586
+ children: Bt.map((e) => /* @__PURE__ */ b(q, {
1569
1587
  value: e,
1570
- "aria-label": D(e),
1588
+ "aria-label": O(e),
1571
1589
  className: "h-7 px-2 text-[11px] uppercase tracking-wider",
1572
- children: D(e)
1590
+ children: O(e)
1573
1591
  }, e))
1574
1592
  })]
1575
1593
  }),
1576
- w ? /* @__PURE__ */ y("div", {
1594
+ T ? /* @__PURE__ */ x("div", {
1577
1595
  className: "flex items-center justify-between gap-2 px-2 py-1.5",
1578
- children: [/* @__PURE__ */ v("span", {
1596
+ children: [/* @__PURE__ */ b("span", {
1579
1597
  className: "text-[0.65rem] font-semibold uppercase tracking-wider text-muted-foreground",
1580
1598
  children: c?.language ?? "Language"
1581
- }), /* @__PURE__ */ v(K, {
1599
+ }), /* @__PURE__ */ b(K, {
1582
1600
  type: "single",
1583
1601
  size: "sm",
1584
1602
  variant: "outline",
1585
- ...h ? { value: h } : {},
1603
+ ...g ? { value: g } : {},
1586
1604
  onValueChange: (e) => {
1587
- e && x(e);
1605
+ e && S(e);
1588
1606
  },
1589
- children: n.map((e) => /* @__PURE__ */ v(q, {
1607
+ children: n.map((e) => /* @__PURE__ */ b(q, {
1590
1608
  value: e.code,
1591
1609
  className: "h-7 px-2 text-[11px] uppercase tracking-wider",
1592
1610
  children: e.label
1593
1611
  }, e.code))
1594
1612
  })]
1595
1613
  }) : null,
1596
- E ? /* @__PURE__ */ v(U, {}) : null,
1597
- e && (a || o) ? /* @__PURE__ */ v(W, {
1614
+ D ? /* @__PURE__ */ b(U, {}) : null,
1615
+ e && (a || o) ? /* @__PURE__ */ b(W, {
1598
1616
  destructive: !0,
1599
- onSelect: S,
1617
+ onSelect: C,
1600
1618
  children: c?.signOut ?? "Sign out"
1601
- }) : !e && s ? /* @__PURE__ */ y(W, {
1602
- onSelect: () => Bt(s),
1603
- children: [/* @__PURE__ */ v("span", {
1619
+ }) : !e && s ? /* @__PURE__ */ x(W, {
1620
+ onSelect: () => Ht(s),
1621
+ children: [/* @__PURE__ */ b("span", {
1604
1622
  className: "flex-1",
1605
1623
  children: c?.signIn ?? "Sign in"
1606
- }), /* @__PURE__ */ v("span", {
1624
+ }), /* @__PURE__ */ b("span", {
1607
1625
  "aria-hidden": "true",
1608
1626
  children: "→"
1609
1627
  })]
1610
1628
  }) : null
1611
1629
  ]
1612
1630
  })] });
1613
- }, Ht = () => `
1631
+ }, Wt = () => `
1614
1632
  (function(){
1615
1633
  try {
1616
- var rx = new RegExp('(?:^|;\\\\s*)${A.replace(/[.*+?^${}()|[\]\\]/g, "\\\\$&")}=([^;]*)');
1634
+ var rx = new RegExp('(?:^|;\\\\s*)${M.replace(/[.*+?^${}()|[\]\\]/g, "\\\\$&")}=([^;]*)');
1617
1635
  var m = document.cookie.match(rx);
1618
1636
  var saved = m ? decodeURIComponent(m[1]) : '';
1619
1637
  var dark =
@@ -1622,99 +1640,100 @@ var Ve = {
1622
1640
  document.documentElement.classList.toggle('dark', dark);
1623
1641
  } catch (_) { /* should be unreachable */ }
1624
1642
  })();
1625
- `, Ut = ({ className: t, lightLabel: n = "☀", darkLabel: r = "☾", switchToLightLabel: i = "Switch to light theme", switchToDarkLabel: a = "Switch to dark theme", ...o }) => {
1626
- let [s, c] = g(void 0);
1627
- return f(() => {
1628
- c(document.documentElement.classList.contains("dark"));
1629
- }, []), /* @__PURE__ */ v(F, {
1643
+ `, Gt = ({ className: t, lightLabel: n = "☀", darkLabel: r = "☾", switchToLightLabel: i = "Switch to light theme", switchToDarkLabel: a = "Switch to dark theme", ...o }) => {
1644
+ let [s, c] = v(void 0);
1645
+ return m(() => {
1646
+ let e = () => c(document.documentElement.classList.contains("dark"));
1647
+ return e(), window.addEventListener(N, e), () => window.removeEventListener(N, e);
1648
+ }, []), /* @__PURE__ */ b(R, {
1630
1649
  type: "button",
1631
1650
  variant: "ghost",
1632
1651
  size: "icon",
1633
1652
  onClick: () => {
1634
1653
  let e = !document.documentElement.classList.contains("dark");
1635
- document.documentElement.classList.toggle("dark", e), P(A, e ? "dark" : "light"), c(e);
1654
+ I(M, e ? "dark" : "light"), L(e ? "dark" : "light"), c(e);
1636
1655
  },
1637
1656
  className: e(t),
1638
1657
  "aria-label": s ? i : a,
1639
1658
  ...o,
1640
1659
  children: s === void 0 ? null : s ? n : r
1641
1660
  });
1642
- }, Wt = (e) => /^[a-z][a-z0-9+.-]*:\/\//i.test(e), Gt = ({ to: e, className: t, children: n }) => Wt(e) ? /* @__PURE__ */ v("a", {
1661
+ }, Kt = (e) => /^[a-z][a-z0-9+.-]*:\/\//i.test(e), qt = ({ to: e, className: t, children: n }) => Kt(e) ? /* @__PURE__ */ b("a", {
1643
1662
  href: e,
1644
1663
  className: t,
1645
1664
  target: "_blank",
1646
1665
  rel: "noopener noreferrer",
1647
1666
  children: n
1648
- }) : /* @__PURE__ */ v("a", {
1667
+ }) : /* @__PURE__ */ b("a", {
1649
1668
  href: e,
1650
1669
  className: t,
1651
1670
  children: n
1652
- }), Kt = ({ eyebrow: t, title: n, titleAccent: r, subtitle: i, primaryCta: a, secondaryCta: o, footnote: s, aside: c, scrollAnchor: l, scrollLabel: u = "Scroll", scrollAriaLabel: d = "Scroll down", className: f, LinkComponent: p = Gt }) => {
1671
+ }), Jt = ({ eyebrow: t, title: n, titleAccent: r, subtitle: i, primaryCta: a, secondaryCta: o, footnote: s, aside: c, scrollAnchor: l, scrollLabel: u = "Scroll", scrollAriaLabel: d = "Scroll down", className: f, LinkComponent: p = qt }) => {
1653
1672
  let m = p;
1654
- return /* @__PURE__ */ y("section", {
1673
+ return /* @__PURE__ */ x("section", {
1655
1674
  className: e("relative isolate overflow-hidden", "pt-24 md:pt-32 pb-24 md:pb-32", f),
1656
- children: [/* @__PURE__ */ v("div", {
1675
+ children: [/* @__PURE__ */ b("div", {
1657
1676
  className: "relative mx-auto max-w-7xl px-6",
1658
- children: /* @__PURE__ */ y("div", {
1677
+ children: /* @__PURE__ */ x("div", {
1659
1678
  className: "grid grid-cols-1 lg:grid-cols-[1.1fr_1fr] gap-10 lg:gap-16 items-center",
1660
- children: [/* @__PURE__ */ y("div", {
1679
+ children: [/* @__PURE__ */ x("div", {
1661
1680
  className: "motion-safe:animate-in motion-safe:fade-in motion-safe:slide-in-from-bottom-4 motion-safe:duration-700",
1662
1681
  children: [
1663
- t ? /* @__PURE__ */ y("div", {
1682
+ t ? /* @__PURE__ */ x("div", {
1664
1683
  className: "inline-flex items-center gap-2 text-xs uppercase tracking-[0.12em] text-primary font-semibold mb-5",
1665
- children: [/* @__PURE__ */ v("span", { className: "inline-block w-1.5 h-1.5 rounded-full bg-primary motion-safe:animate-pulse" }), t]
1684
+ children: [/* @__PURE__ */ b("span", { className: "inline-block w-1.5 h-1.5 rounded-full bg-primary motion-safe:animate-pulse" }), t]
1666
1685
  }) : null,
1667
- /* @__PURE__ */ y("h1", {
1686
+ /* @__PURE__ */ x("h1", {
1668
1687
  className: "text-4xl sm:text-5xl lg:text-6xl font-bold tracking-[-0.02em] leading-[1.05] text-foreground",
1669
- children: [n, r ? /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v("br", {}), /* @__PURE__ */ v("span", {
1688
+ children: [n, r ? /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("br", {}), /* @__PURE__ */ b("span", {
1670
1689
  className: "text-gradient motion-safe:animate-gradient-pan",
1671
1690
  children: r
1672
1691
  })] }) : null]
1673
1692
  }),
1674
- i ? /* @__PURE__ */ v("p", {
1693
+ i ? /* @__PURE__ */ b("p", {
1675
1694
  className: "mt-6 text-base sm:text-lg text-muted-foreground leading-relaxed max-w-xl",
1676
1695
  children: i
1677
1696
  }) : null,
1678
- a || o ? /* @__PURE__ */ y("div", {
1697
+ a || o ? /* @__PURE__ */ x("div", {
1679
1698
  className: "mt-8 flex flex-wrap items-center gap-3",
1680
- children: [a ? /* @__PURE__ */ y(m, {
1699
+ children: [a ? /* @__PURE__ */ x(m, {
1681
1700
  to: a.href,
1682
1701
  prefetch: !0,
1683
1702
  className: e("group relative inline-flex items-center gap-2 px-5 py-2.5 rounded-md", "bg-foreground text-background font-medium text-sm", "hover:opacity-90 active:scale-[0.98] transition-all", "shadow-[0_0_0_1px_oklch(1_0_0_/_0.08),0_8px_24px_-8px_oklch(0_0_0_/_0.5)]"),
1684
- children: [a.label, /* @__PURE__ */ v("span", {
1703
+ children: [a.label, /* @__PURE__ */ b("span", {
1685
1704
  "aria-hidden": "true",
1686
1705
  className: "transition-transform group-hover:translate-x-0.5",
1687
1706
  children: "→"
1688
1707
  })]
1689
- }) : null, o ? /* @__PURE__ */ v(m, {
1708
+ }) : null, o ? /* @__PURE__ */ b(m, {
1690
1709
  to: o.href,
1691
1710
  prefetch: !0,
1692
1711
  className: e("inline-flex items-center gap-2 px-5 py-2.5 rounded-md", "border border-border bg-card/40 backdrop-blur-sm", "text-foreground font-medium text-sm", "hover:bg-card/70 hover:border-input transition-colors"),
1693
1712
  children: o.label
1694
1713
  }) : null]
1695
1714
  }) : null,
1696
- s ? /* @__PURE__ */ v("div", {
1715
+ s ? /* @__PURE__ */ b("div", {
1697
1716
  className: "mt-8 text-sm text-muted-foreground",
1698
1717
  children: s
1699
1718
  }) : null
1700
1719
  ]
1701
- }), c ? /* @__PURE__ */ v("div", {
1720
+ }), c ? /* @__PURE__ */ b("div", {
1702
1721
  className: "lg:pl-4 motion-safe:animate-in motion-safe:fade-in motion-safe:slide-in-from-bottom-6 motion-safe:duration-700 motion-safe:delay-150",
1703
1722
  children: c
1704
1723
  }) : null]
1705
1724
  })
1706
- }), l ? /* @__PURE__ */ y("a", {
1725
+ }), l ? /* @__PURE__ */ x("a", {
1707
1726
  href: l,
1708
1727
  className: "hidden md:flex absolute left-1/2 -translate-x-1/2 bottom-8 text-xs text-muted-foreground items-center gap-1.5 hover:text-foreground transition-colors",
1709
1728
  "aria-label": d,
1710
- children: [/* @__PURE__ */ v("span", { children: u }), /* @__PURE__ */ v("svg", {
1729
+ children: [/* @__PURE__ */ b("span", { children: u }), /* @__PURE__ */ b("svg", {
1711
1730
  width: "14",
1712
1731
  height: "14",
1713
1732
  viewBox: "0 0 14 14",
1714
1733
  fill: "none",
1715
1734
  "aria-hidden": "true",
1716
1735
  className: "motion-safe:animate-bounce",
1717
- children: /* @__PURE__ */ v("path", {
1736
+ children: /* @__PURE__ */ b("path", {
1718
1737
  d: "M7 2 V12 M3 8 L7 12 L11 8",
1719
1738
  stroke: "currentColor",
1720
1739
  strokeWidth: "1.5",
@@ -1724,38 +1743,38 @@ var Ve = {
1724
1743
  })]
1725
1744
  }) : null]
1726
1745
  });
1727
- }, qt = {
1746
+ }, Yt = {
1728
1747
  wide: "md:col-span-2",
1729
1748
  tall: "md:row-span-2",
1730
1749
  square: ""
1731
- }, Jt = ({ children: t, className: n }) => /* @__PURE__ */ v("div", {
1750
+ }, Xt = ({ children: t, className: n }) => /* @__PURE__ */ b("div", {
1732
1751
  className: e("not-prose grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4 auto-rows-[minmax(240px,auto)]", n),
1733
1752
  children: t
1734
- }), Yt = ({ title: t, description: n, icon: r, accent: i, size: a = "square", className: o, children: s }) => /* @__PURE__ */ y("div", {
1735
- className: e("group relative overflow-hidden rounded-xl border border-border", "bg-gradient-to-br from-card/60 to-card/20 backdrop-blur-sm", "p-6 flex flex-col", "before:absolute before:inset-x-6 before:top-0 before:h-px before:bg-gradient-to-r before:from-transparent before:via-primary/40 before:to-transparent", "hover:border-primary/40 hover:shadow-[0_8px_32px_-12px_oklch(0.55_0.25_290_/_0.4)]", "transition-[border-color,box-shadow] duration-300", qt[a], o),
1736
- children: [i ? /* @__PURE__ */ v("div", {
1753
+ }), Zt = ({ title: t, description: n, icon: r, accent: i, size: a = "square", className: o, children: s }) => /* @__PURE__ */ x("div", {
1754
+ className: e("group relative overflow-hidden rounded-xl border border-border", "bg-gradient-to-br from-card/60 to-card/20 backdrop-blur-sm", "p-6 flex flex-col", "before:absolute before:inset-x-6 before:top-0 before:h-px before:bg-gradient-to-r before:from-transparent before:via-primary/40 before:to-transparent", "hover:border-primary/40 hover:shadow-[0_8px_32px_-12px_oklch(0.55_0.25_290_/_0.4)]", "transition-[border-color,box-shadow] duration-300", Yt[a], o),
1755
+ children: [i ? /* @__PURE__ */ b("div", {
1737
1756
  "aria-hidden": "true",
1738
1757
  className: "absolute right-0 inset-y-0 w-1/2 overflow-hidden pointer-events-none opacity-70 group-hover:opacity-100 transition-opacity duration-500",
1739
1758
  children: i
1740
- }) : null, /* @__PURE__ */ y("div", {
1759
+ }) : null, /* @__PURE__ */ x("div", {
1741
1760
  className: "relative max-w-[32ch]",
1742
1761
  children: [
1743
- r ? /* @__PURE__ */ v("div", {
1762
+ r ? /* @__PURE__ */ b("div", {
1744
1763
  className: "inline-flex items-center justify-center w-9 h-9 rounded-md bg-primary/10 text-primary mb-4 [&_svg]:w-5 [&_svg]:h-5",
1745
1764
  children: r
1746
1765
  }) : null,
1747
- /* @__PURE__ */ v("h3", {
1766
+ /* @__PURE__ */ b("h3", {
1748
1767
  className: "text-lg font-semibold text-foreground tracking-tight",
1749
1768
  children: t
1750
1769
  }),
1751
- /* @__PURE__ */ v("p", {
1770
+ /* @__PURE__ */ b("p", {
1752
1771
  className: "mt-1.5 text-sm text-muted-foreground leading-relaxed",
1753
1772
  children: n
1754
1773
  }),
1755
1774
  s
1756
1775
  ]
1757
1776
  })]
1758
- }), Xt = [
1777
+ }), Qt = [
1759
1778
  "text",
1760
1779
  "ts",
1761
1780
  "tsx",
@@ -1774,7 +1793,7 @@ var Ve = {
1774
1793
  "html",
1775
1794
  "css",
1776
1795
  "diff"
1777
- ], Zt = async () => globalThis.__voltroShikiHighlighter ? globalThis.__voltroShikiHighlighter : (globalThis.__voltroShikiHighlighterPromise || (globalThis.__voltroShikiHighlighterPromise = (async () => {
1796
+ ], $t = async () => globalThis.__voltroShikiHighlighter ? globalThis.__voltroShikiHighlighter : (globalThis.__voltroShikiHighlighterPromise || (globalThis.__voltroShikiHighlighterPromise = (async () => {
1778
1797
  let [{ createHighlighterCore: e }, { createOnigurumaEngine: t }, n, r, i, ...a] = await Promise.all([
1779
1798
  import("shiki/core"),
1780
1799
  import("shiki/engine/oniguruma"),
@@ -1801,18 +1820,19 @@ var Ve = {
1801
1820
  engine: t(n.default)
1802
1821
  });
1803
1822
  return globalThis.__voltroShikiHighlighter = o, o;
1804
- })()), globalThis.__voltroShikiHighlighterPromise), Qt = () => Zt().then(() => {}), $t = (e) => e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;"), $ = ({ code: t, lang: n = "ts", className: r }) => {
1805
- let [i, a] = g(null);
1806
- f(() => {
1823
+ })()), globalThis.__voltroShikiHighlighterPromise), en = () => $t().then(() => {}), tn = (e) => e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;"), Q = ({ code: t, lang: n = "ts", className: r }) => {
1824
+ let [i, a] = v(null);
1825
+ m(() => {
1807
1826
  let e = !1;
1808
- return Zt().then((r) => {
1809
- if (!(e || !r)) try {
1827
+ return $t().then((r) => {
1828
+ if (!e && r) try {
1810
1829
  let e = r.codeToHtml(t, {
1811
1830
  lang: n,
1812
1831
  themes: {
1813
1832
  light: "github-light",
1814
1833
  dark: "github-dark-dimmed"
1815
1834
  },
1835
+ colorReplacements: { "github-light": { "#e36209": "#a44100" } },
1816
1836
  defaultColor: !1
1817
1837
  });
1818
1838
  a(e);
@@ -1821,54 +1841,54 @@ var Ve = {
1821
1841
  e = !0;
1822
1842
  };
1823
1843
  }, [t, n]);
1824
- let o = m(() => $t(t), [t]);
1825
- return i ? /* @__PURE__ */ v("div", {
1844
+ let o = g(() => tn(t), [t]);
1845
+ return i ? /* @__PURE__ */ b("div", {
1826
1846
  className: e("text-sm leading-relaxed [&_pre]:!m-0 [&_pre]:!bg-transparent [&_pre]:p-5 overflow-x-auto", r),
1827
1847
  dangerouslySetInnerHTML: { __html: i }
1828
- }) : /* @__PURE__ */ v("pre", {
1848
+ }) : /* @__PURE__ */ b("pre", {
1829
1849
  className: e("p-5 text-sm leading-relaxed overflow-x-auto font-mono", r),
1830
- children: /* @__PURE__ */ v("code", { dangerouslySetInnerHTML: { __html: o } })
1850
+ children: /* @__PURE__ */ b("code", { dangerouslySetInnerHTML: { __html: o } })
1831
1851
  });
1832
- }, en = ({ label: t, html: n, code: r, lang: i, tone: a = "muted", eyebrow: o }) => /* @__PURE__ */ y("div", {
1852
+ }, nn = ({ label: t, html: n, code: r, lang: i, tone: a = "muted", eyebrow: o }) => /* @__PURE__ */ x("div", {
1833
1853
  className: e("relative rounded-xl border overflow-hidden bg-card/40 backdrop-blur-sm", a === "highlight" ? "border-primary/40 shadow-[0_0_0_1px_oklch(0.55_0.25_290_/_0.15),0_12px_40px_-12px_oklch(0.55_0.25_290_/_0.35)]" : "border-border"),
1834
- children: [/* @__PURE__ */ y("div", {
1854
+ children: [/* @__PURE__ */ x("div", {
1835
1855
  className: "flex items-center justify-between px-4 py-2 border-b border-border/60 bg-background/40",
1836
- children: [/* @__PURE__ */ v("div", {
1856
+ children: [/* @__PURE__ */ b("div", {
1837
1857
  className: "text-xs font-mono text-muted-foreground",
1838
1858
  children: t
1839
- }), /* @__PURE__ */ v("span", {
1840
- className: e("text-[0.65rem] uppercase tracking-[0.08em] font-semibold", a === "highlight" ? "text-primary" : "text-muted-foreground/70"),
1859
+ }), /* @__PURE__ */ b("span", {
1860
+ className: e("text-[0.65rem] uppercase tracking-[0.08em] font-semibold", a === "highlight" ? "text-primary" : "text-muted-foreground"),
1841
1861
  children: o ?? (a === "highlight" ? "With Voltro" : "Before")
1842
1862
  })]
1843
- }), /* @__PURE__ */ v("div", {
1844
- className: e("text-sm leading-relaxed [&_pre]:!m-0 [&_pre]:!bg-transparent [&_pre]:p-5 overflow-x-auto", a === "muted" && "opacity-60"),
1845
- children: n ? /* @__PURE__ */ v("div", { dangerouslySetInnerHTML: { __html: n } }) : r && i ? /* @__PURE__ */ v($, {
1863
+ }), /* @__PURE__ */ b("div", {
1864
+ className: e("text-sm leading-relaxed [&_pre]:!m-0 [&_pre]:!bg-transparent [&_pre]:p-5 overflow-x-auto"),
1865
+ children: n ? /* @__PURE__ */ b("div", { dangerouslySetInnerHTML: { __html: n } }) : r && i ? /* @__PURE__ */ b(Q, {
1846
1866
  code: r,
1847
1867
  lang: i
1848
- }) : /* @__PURE__ */ v("pre", {
1868
+ }) : /* @__PURE__ */ b("pre", {
1849
1869
  className: "p-5 font-mono",
1850
- children: /* @__PURE__ */ v("code", { children: r })
1870
+ children: /* @__PURE__ */ b("code", { children: r })
1851
1871
  })
1852
1872
  })]
1853
- }), tn = ({ before: t, after: n, className: r }) => /* @__PURE__ */ y("div", {
1873
+ }), rn = ({ before: t, after: n, className: r }) => /* @__PURE__ */ x("div", {
1854
1874
  className: e("relative grid grid-cols-1 lg:grid-cols-[1fr_auto_1fr] gap-4 lg:gap-6 items-stretch", r),
1855
1875
  children: [
1856
- /* @__PURE__ */ v(en, {
1876
+ /* @__PURE__ */ b(nn, {
1857
1877
  ...t,
1858
1878
  tone: "muted"
1859
1879
  }),
1860
- /* @__PURE__ */ y("div", {
1880
+ /* @__PURE__ */ x("div", {
1861
1881
  className: "flex lg:flex-col items-center justify-center gap-2 text-muted-foreground",
1862
1882
  "aria-hidden": "true",
1863
1883
  children: [
1864
- /* @__PURE__ */ v("div", { className: "hidden lg:block w-px h-12 bg-gradient-to-b from-transparent via-primary/60 to-transparent" }),
1865
- /* @__PURE__ */ v("svg", {
1884
+ /* @__PURE__ */ b("div", { className: "hidden lg:block w-px h-12 bg-gradient-to-b from-transparent via-primary/60 to-transparent" }),
1885
+ /* @__PURE__ */ b("svg", {
1866
1886
  width: "20",
1867
1887
  height: "20",
1868
1888
  viewBox: "0 0 20 20",
1869
1889
  fill: "none",
1870
1890
  className: "rotate-90 lg:rotate-0 text-primary",
1871
- children: /* @__PURE__ */ v("path", {
1891
+ children: /* @__PURE__ */ b("path", {
1872
1892
  d: "M4 10 H16 M11 5 L16 10 L11 15",
1873
1893
  stroke: "currentColor",
1874
1894
  strokeWidth: "1.5",
@@ -1876,17 +1896,17 @@ var Ve = {
1876
1896
  strokeLinejoin: "round"
1877
1897
  })
1878
1898
  }),
1879
- /* @__PURE__ */ v("div", { className: "hidden lg:block w-px h-12 bg-gradient-to-b from-primary/60 via-transparent to-transparent" })
1899
+ /* @__PURE__ */ b("div", { className: "hidden lg:block w-px h-12 bg-gradient-to-b from-primary/60 via-transparent to-transparent" })
1880
1900
  ]
1881
1901
  }),
1882
- /* @__PURE__ */ v(en, {
1902
+ /* @__PURE__ */ b(nn, {
1883
1903
  ...n,
1884
1904
  tone: "highlight"
1885
1905
  })
1886
1906
  ]
1887
- }), nn = (e, t) => typeof t == "function" ? t(e) : t === "percent" ? `${e.toFixed(0)}%` : Math.round(e).toLocaleString("en-US"), rn = ({ value: e, format: t = "integer", duration: n = 800 }) => {
1888
- let r = h(null), [i, a] = g(e);
1889
- return f(() => {
1907
+ }), an = (e, t) => typeof t == "function" ? t(e) : t === "percent" ? `${e.toFixed(0)}%` : Math.round(e).toLocaleString("en-US"), on = ({ value: e, format: t = "integer", duration: n = 800 }) => {
1908
+ let r = _(null), [i, a] = v(e);
1909
+ return m(() => {
1890
1910
  if (typeof IntersectionObserver > "u" || window.matchMedia?.("(prefers-reduced-motion: reduce)").matches) return;
1891
1911
  let t = r.current;
1892
1912
  if (!t) return;
@@ -1902,118 +1922,118 @@ var Ve = {
1902
1922
  }
1903
1923
  }, { threshold: .4 });
1904
1924
  return i.observe(t), () => i.disconnect();
1905
- }, [e, n]), /* @__PURE__ */ v("span", {
1925
+ }, [e, n]), /* @__PURE__ */ b("span", {
1906
1926
  ref: r,
1907
1927
  className: "font-tabular",
1908
- children: nn(i, t)
1928
+ children: an(i, t)
1909
1929
  });
1910
- }, an = ({ stats: t, className: n }) => /* @__PURE__ */ v("div", {
1930
+ }, sn = ({ stats: t, className: n }) => /* @__PURE__ */ b("div", {
1911
1931
  className: e("grid grid-cols-2 lg:grid-cols-4 gap-px overflow-hidden rounded-2xl border border-border bg-border", n),
1912
- children: t.map((e, t) => /* @__PURE__ */ y("div", {
1932
+ children: t.map((e, t) => /* @__PURE__ */ x("div", {
1913
1933
  className: "relative bg-card p-7 lg:p-9 transition-colors duration-300 hover:bg-accent/40",
1914
1934
  children: [
1915
- /* @__PURE__ */ y("div", {
1935
+ /* @__PURE__ */ x("div", {
1916
1936
  className: "flex items-center gap-2 mb-6 text-xs uppercase tracking-[0.14em] text-muted-foreground font-medium",
1917
- children: [e.icon ? /* @__PURE__ */ v("span", {
1937
+ children: [e.icon ? /* @__PURE__ */ b("span", {
1918
1938
  className: "text-foreground/80 [&_svg]:w-3.5 [&_svg]:h-3.5",
1919
1939
  children: e.icon
1920
- }) : null, /* @__PURE__ */ v("span", { children: e.label })]
1940
+ }) : null, /* @__PURE__ */ b("span", { children: e.label })]
1921
1941
  }),
1922
- /* @__PURE__ */ y("div", {
1942
+ /* @__PURE__ */ x("div", {
1923
1943
  className: "text-5xl lg:text-6xl font-semibold tracking-[-0.035em] text-foreground inline-flex items-baseline gap-1 font-tabular leading-none",
1924
1944
  children: [
1925
- e.prefix ? /* @__PURE__ */ v("span", {
1945
+ e.prefix ? /* @__PURE__ */ b("span", {
1926
1946
  className: "text-3xl lg:text-4xl text-muted-foreground font-medium",
1927
1947
  children: e.prefix
1928
1948
  }) : null,
1929
- /* @__PURE__ */ v(rn, {
1949
+ /* @__PURE__ */ b(on, {
1930
1950
  value: e.value,
1931
1951
  ...e.format ? { format: e.format } : {}
1932
1952
  }),
1933
- e.unit ? /* @__PURE__ */ v("span", {
1953
+ e.unit ? /* @__PURE__ */ b("span", {
1934
1954
  className: "text-2xl lg:text-3xl text-muted-foreground font-medium ml-0.5",
1935
1955
  children: e.unit
1936
1956
  }) : null
1937
1957
  ]
1938
1958
  }),
1939
- e.sub ? /* @__PURE__ */ v("div", {
1959
+ e.sub ? /* @__PURE__ */ b("div", {
1940
1960
  className: "mt-4 text-sm text-muted-foreground leading-relaxed",
1941
1961
  children: e.sub
1942
1962
  }) : null
1943
1963
  ]
1944
1964
  }, t))
1945
- }), on = (e) => /^[a-z][a-z0-9+.-]*:\/\//i.test(e), sn = ({ to: e, className: t, children: n }) => on(e) ? /* @__PURE__ */ v("a", {
1965
+ }), cn = (e) => /^[a-z][a-z0-9+.-]*:\/\//i.test(e), ln = ({ to: e, className: t, children: n }) => cn(e) ? /* @__PURE__ */ b("a", {
1946
1966
  href: e,
1947
1967
  className: t,
1948
1968
  target: "_blank",
1949
1969
  rel: "noopener noreferrer",
1950
1970
  children: n
1951
- }) : /* @__PURE__ */ v("a", {
1971
+ }) : /* @__PURE__ */ b("a", {
1952
1972
  href: e,
1953
1973
  className: t,
1954
1974
  children: n
1955
- }), cn = ({ title: t, subtitle: n, primaryCta: r, secondaryCta: i, footnote: a, className: o, LinkComponent: s = sn }) => {
1975
+ }), un = ({ title: t, subtitle: n, primaryCta: r, secondaryCta: i, footnote: a, className: o, LinkComponent: s = ln }) => {
1956
1976
  let c = s;
1957
- return /* @__PURE__ */ v("section", {
1977
+ return /* @__PURE__ */ b("section", {
1958
1978
  className: e("relative overflow-hidden rounded-2xl border border-border", "bg-gradient-to-br from-card/60 via-card/30 to-card/60 backdrop-blur-sm", "before:absolute before:inset-0 before:bg-[radial-gradient(circle_at_20%_30%,oklch(0.55_0.25_290_/_0.25),transparent_60%),radial-gradient(circle_at_80%_70%,oklch(0.55_0.2_220_/_0.2),transparent_60%)]", "after:absolute after:inset-x-12 after:top-0 after:h-px after:bg-gradient-to-r after:from-transparent after:via-primary/60 after:to-transparent", "p-12 md:p-16 lg:p-20 text-center", o),
1959
- children: /* @__PURE__ */ y("div", {
1979
+ children: /* @__PURE__ */ x("div", {
1960
1980
  className: "relative max-w-2xl mx-auto",
1961
1981
  children: [
1962
- /* @__PURE__ */ v("h2", {
1982
+ /* @__PURE__ */ b("h2", {
1963
1983
  className: "text-3xl md:text-4xl lg:text-5xl font-bold tracking-[-0.02em] leading-[1.1] text-foreground",
1964
1984
  children: t
1965
1985
  }),
1966
- n ? /* @__PURE__ */ v("p", {
1986
+ n ? /* @__PURE__ */ b("p", {
1967
1987
  className: "mt-5 text-base md:text-lg text-muted-foreground leading-relaxed",
1968
1988
  children: n
1969
1989
  }) : null,
1970
- /* @__PURE__ */ y("div", {
1990
+ /* @__PURE__ */ x("div", {
1971
1991
  className: "mt-8 flex flex-wrap items-center justify-center gap-3",
1972
- children: [/* @__PURE__ */ y(c, {
1992
+ children: [/* @__PURE__ */ x(c, {
1973
1993
  to: r.href,
1974
1994
  prefetch: !0,
1975
1995
  className: e("group inline-flex items-center gap-2 px-6 py-3 rounded-md", "bg-foreground text-background font-medium text-sm", "hover:opacity-90 active:scale-[0.98] transition-all", "shadow-[0_0_0_1px_oklch(1_0_0_/_0.08),0_8px_32px_-8px_oklch(0.55_0.25_290_/_0.45)]"),
1976
- children: [r.label, /* @__PURE__ */ v("span", {
1996
+ children: [r.label, /* @__PURE__ */ b("span", {
1977
1997
  "aria-hidden": "true",
1978
1998
  className: "transition-transform group-hover:translate-x-0.5",
1979
1999
  children: "→"
1980
2000
  })]
1981
- }), i ? /* @__PURE__ */ v(c, {
2001
+ }), i ? /* @__PURE__ */ b(c, {
1982
2002
  to: i.href,
1983
2003
  prefetch: !0,
1984
2004
  className: "inline-flex items-center gap-2 px-6 py-3 rounded-md border border-border bg-card/40 backdrop-blur-sm text-foreground font-medium text-sm hover:bg-card/70 hover:border-input transition-colors",
1985
2005
  children: i.label
1986
2006
  }) : null]
1987
2007
  }),
1988
- a ? /* @__PURE__ */ v("div", {
2008
+ a ? /* @__PURE__ */ b("div", {
1989
2009
  className: "mt-6 text-xs text-muted-foreground",
1990
2010
  children: a
1991
2011
  }) : null
1992
2012
  ]
1993
2013
  })
1994
2014
  });
1995
- }, ln = ({ to: e, className: t, children: n }) => /* @__PURE__ */ v("a", {
2015
+ }, dn = ({ to: e, className: t, children: n }) => /* @__PURE__ */ b("a", {
1996
2016
  href: e,
1997
2017
  className: t,
1998
2018
  children: n
1999
- }), un = (e) => /^[a-z][a-z0-9+.-]*:\/\//i.test(e), dn = ({ link: e, Link: t }) => {
2000
- let n = e.external ?? un(e.href), r = "inline-flex items-center gap-1.5 text-sm text-muted-foreground hover:text-foreground transition-colors";
2001
- return n ? /* @__PURE__ */ y("a", {
2019
+ }), fn = (e) => /^[a-z][a-z0-9+.-]*:\/\//i.test(e), pn = ({ link: e, Link: t }) => {
2020
+ let n = e.external ?? fn(e.href), r = "inline-flex items-center gap-1.5 text-sm text-muted-foreground hover:text-foreground transition-colors";
2021
+ return n ? /* @__PURE__ */ x("a", {
2002
2022
  href: e.href,
2003
2023
  target: "_blank",
2004
2024
  rel: "noopener noreferrer",
2005
2025
  className: r,
2006
- children: [e.label, e.badge ? /* @__PURE__ */ v(fn, { children: e.badge }) : null]
2007
- }) : /* @__PURE__ */ y(t, {
2026
+ children: [e.label, e.badge ? /* @__PURE__ */ b(mn, { children: e.badge }) : null]
2027
+ }) : /* @__PURE__ */ x(t, {
2008
2028
  to: e.href,
2009
2029
  className: r,
2010
- children: [e.label, e.badge ? /* @__PURE__ */ v(fn, { children: e.badge }) : null]
2030
+ children: [e.label, e.badge ? /* @__PURE__ */ b(mn, { children: e.badge }) : null]
2011
2031
  });
2012
- }, fn = ({ children: e }) => /* @__PURE__ */ v("span", {
2032
+ }, mn = ({ children: e }) => /* @__PURE__ */ b("span", {
2013
2033
  className: "inline-flex items-center px-1.5 py-0.5 rounded text-[0.6rem] uppercase tracking-wider font-semibold bg-primary/10 text-primary",
2014
2034
  children: e
2015
- }), pn = ({ brand: t, tagline: n, social: r, columns: i, bottomLeft: a, bottomRight: o, copyrightHolder: s = "Voltro. Built on the framework.", socialLabel: c = "Social links", LinkComponent: l = ln, className: u }) => {
2016
- let d = l, f = (/* @__PURE__ */ new Date()).getFullYear(), p = /* @__PURE__ */ y("span", {
2035
+ }), hn = ({ brand: t, tagline: n, social: r, columns: i, bottomLeft: a, bottomRight: o, copyrightHolder: s = "Voltro. Built on the framework.", socialLabel: c = "Social links", LinkComponent: l = dn, className: u }) => {
2036
+ let d = l, f = (/* @__PURE__ */ new Date()).getFullYear(), p = /* @__PURE__ */ x("span", {
2017
2037
  className: "text-xs text-muted-foreground",
2018
2038
  children: [
2019
2039
  "© ",
@@ -2022,27 +2042,27 @@ var Ve = {
2022
2042
  s
2023
2043
  ]
2024
2044
  });
2025
- return /* @__PURE__ */ v("footer", {
2045
+ return /* @__PURE__ */ b("footer", {
2026
2046
  className: e("relative border-t border-border", "before:absolute before:inset-x-0 before:top-0 before:h-px before:bg-gradient-to-r before:from-transparent before:via-primary/50 before:to-transparent", u),
2027
- children: /* @__PURE__ */ y("div", {
2047
+ children: /* @__PURE__ */ x("div", {
2028
2048
  className: "mx-auto max-w-7xl px-6 py-14 lg:py-16",
2029
- children: [/* @__PURE__ */ y("div", {
2049
+ children: [/* @__PURE__ */ x("div", {
2030
2050
  className: "grid grid-cols-2 md:grid-cols-12 gap-8 lg:gap-12",
2031
- children: [/* @__PURE__ */ y("div", {
2051
+ children: [/* @__PURE__ */ x("div", {
2032
2052
  className: "col-span-2 md:col-span-4 lg:col-span-5",
2033
2053
  children: [
2034
- /* @__PURE__ */ v("div", {
2054
+ /* @__PURE__ */ b("div", {
2035
2055
  className: "text-base font-semibold text-foreground",
2036
2056
  children: t
2037
2057
  }),
2038
- n ? /* @__PURE__ */ v("p", {
2058
+ n ? /* @__PURE__ */ b("p", {
2039
2059
  className: "mt-3 text-sm text-muted-foreground leading-relaxed max-w-xs",
2040
2060
  children: n
2041
2061
  }) : null,
2042
- r && r.length > 0 ? /* @__PURE__ */ v("ul", {
2062
+ r && r.length > 0 ? /* @__PURE__ */ b("ul", {
2043
2063
  className: "mt-5 flex items-center gap-2",
2044
2064
  "aria-label": c,
2045
- children: r.map((e) => /* @__PURE__ */ v("li", { children: /* @__PURE__ */ v("a", {
2065
+ children: r.map((e) => /* @__PURE__ */ b("li", { children: /* @__PURE__ */ b("a", {
2046
2066
  href: e.href,
2047
2067
  target: "_blank",
2048
2068
  rel: "noopener noreferrer",
@@ -2052,62 +2072,62 @@ var Ve = {
2052
2072
  }) }, e.href))
2053
2073
  }) : null
2054
2074
  ]
2055
- }), i.map((t, n) => /* @__PURE__ */ y("div", {
2075
+ }), i.map((t, n) => /* @__PURE__ */ x("div", {
2056
2076
  className: e("col-span-1", i.length === 3 ? "md:col-span-2 lg:col-span-2" : "md:col-span-2"),
2057
- children: [/* @__PURE__ */ v("h3", {
2077
+ children: [/* @__PURE__ */ b("h3", {
2058
2078
  className: "text-xs uppercase tracking-[0.08em] text-muted-foreground font-semibold mb-4",
2059
2079
  children: t.title
2060
- }), /* @__PURE__ */ v("ul", {
2080
+ }), /* @__PURE__ */ b("ul", {
2061
2081
  className: "space-y-2.5",
2062
- children: t.links.map((e, t) => /* @__PURE__ */ v("li", { children: /* @__PURE__ */ v(dn, {
2082
+ children: t.links.map((e, t) => /* @__PURE__ */ b("li", { children: /* @__PURE__ */ b(pn, {
2063
2083
  link: e,
2064
2084
  Link: d
2065
2085
  }) }, t))
2066
2086
  })]
2067
2087
  }, n))]
2068
- }), /* @__PURE__ */ y("div", {
2088
+ }), /* @__PURE__ */ x("div", {
2069
2089
  className: "mt-12 lg:mt-16 pt-6 border-t border-border flex flex-col-reverse sm:flex-row items-start sm:items-center justify-between gap-4",
2070
- children: [/* @__PURE__ */ v("div", { children: a ?? p }), o ? /* @__PURE__ */ v("div", {
2090
+ children: [/* @__PURE__ */ b("div", { children: a ?? p }), o ? /* @__PURE__ */ b("div", {
2071
2091
  className: "flex items-center gap-3",
2072
2092
  children: o
2073
2093
  }) : null]
2074
2094
  })]
2075
2095
  })
2076
2096
  });
2077
- }, mn = {
2097
+ }, gn = {
2078
2098
  ok: "bg-success shadow-[0_0_8px_2px_oklch(0.7_0.15_162_/_0.5)]",
2079
2099
  degraded: "bg-warning shadow-[0_0_8px_2px_oklch(0.78_0.18_70_/_0.5)]",
2080
2100
  down: "bg-destructive shadow-[0_0_8px_2px_oklch(0.7_0.19_22_/_0.5)]"
2081
- }, hn = ({ href: t, label: n = "All systems operational", tone: r = "ok" }) => /* @__PURE__ */ y("a", {
2101
+ }, _n = ({ href: t, label: n = "All systems operational", tone: r = "ok" }) => /* @__PURE__ */ x("a", {
2082
2102
  href: t,
2083
2103
  target: "_blank",
2084
2104
  rel: "noopener noreferrer",
2085
2105
  className: "inline-flex items-center gap-2 text-xs text-muted-foreground hover:text-foreground transition-colors",
2086
- children: [/* @__PURE__ */ v("span", {
2087
- className: e("w-1.5 h-1.5 rounded-full motion-safe:animate-pulse", mn[r]),
2106
+ children: [/* @__PURE__ */ b("span", {
2107
+ className: e("w-1.5 h-1.5 rounded-full motion-safe:animate-pulse", gn[r]),
2088
2108
  "aria-hidden": "true"
2089
2109
  }), n]
2090
- }), gn = ({ className: t, tone: n = "cool" }) => {
2110
+ }), vn = ({ className: t, tone: n = "cool" }) => {
2091
2111
  let r = n === "warm" ? "oklch(0.6 0.2 25 / 0.55)" : "oklch(0.55 0.25 290 / 0.55)", i = n === "warm" ? "oklch(0.7 0.18 60 / 0.4)" : "oklch(0.65 0.2 220 / 0.4)", a = n === "warm" ? "oklch(0.55 0.25 350 / 0.35)" : "oklch(0.5 0.25 310 / 0.45)";
2092
- return /* @__PURE__ */ y("div", {
2112
+ return /* @__PURE__ */ x("div", {
2093
2113
  "aria-hidden": "true",
2094
2114
  className: e("absolute inset-0 overflow-hidden pointer-events-none", t),
2095
2115
  children: [
2096
- /* @__PURE__ */ v("div", {
2116
+ /* @__PURE__ */ b("div", {
2097
2117
  className: "absolute -top-1/4 -left-1/4 w-[60vw] h-[60vw] rounded-full blur-3xl opacity-70 motion-safe:animate-mesh-drift-a",
2098
2118
  style: { background: `radial-gradient(circle, ${r}, transparent 60%)` }
2099
2119
  }),
2100
- /* @__PURE__ */ v("div", {
2120
+ /* @__PURE__ */ b("div", {
2101
2121
  className: "absolute -bottom-1/3 -right-1/4 w-[55vw] h-[55vw] rounded-full blur-3xl opacity-60 motion-safe:animate-mesh-drift-b",
2102
2122
  style: { background: `radial-gradient(circle, ${i}, transparent 60%)` }
2103
2123
  }),
2104
- /* @__PURE__ */ v("div", {
2124
+ /* @__PURE__ */ b("div", {
2105
2125
  className: "absolute top-1/3 left-1/2 w-[40vw] h-[40vw] -translate-x-1/2 rounded-full blur-3xl opacity-50 motion-safe:animate-mesh-drift-c",
2106
2126
  style: { background: `radial-gradient(circle, ${a}, transparent 60%)` }
2107
2127
  })
2108
2128
  ]
2109
2129
  });
2110
- }, _n = ({ className: t, variant: n = "dots", size: r = 32 }) => /* @__PURE__ */ v("div", {
2130
+ }, yn = ({ className: t, variant: n = "dots", size: r = 32 }) => /* @__PURE__ */ b("div", {
2111
2131
  "aria-hidden": "true",
2112
2132
  className: e("absolute inset-0 pointer-events-none opacity-[0.06]", t),
2113
2133
  style: {
@@ -2116,18 +2136,18 @@ var Ve = {
2116
2136
  WebkitMaskImage: "radial-gradient(ellipse at center, black 0%, transparent 75%)",
2117
2137
  maskImage: "radial-gradient(ellipse at center, black 0%, transparent 75%)"
2118
2138
  }
2119
- }), vn = 137.5, yn = 73.13, bn = {
2139
+ }), bn = 137.5, xn = 73.13, Sn = {
2120
2140
  subtle: "opacity-50",
2121
2141
  normal: "opacity-75",
2122
2142
  strong: "opacity-100"
2123
- }, xn = ({ count: t = 22, tone: n = "cool", intensity: r = "subtle", className: i }) => {
2143
+ }, Cn = ({ count: t = 22, tone: n = "cool", intensity: r = "subtle", className: i }) => {
2124
2144
  let a = n === "warm" ? ["oklch(0.78 0.16 60)", "oklch(0.72 0.18 25)"] : ["oklch(0.78 0.18 290)", "oklch(0.74 0.16 220)"];
2125
- return /* @__PURE__ */ v("div", {
2145
+ return /* @__PURE__ */ b("div", {
2126
2146
  "aria-hidden": "true",
2127
- className: e("absolute inset-0 overflow-hidden pointer-events-none", bn[r], i),
2147
+ className: e("absolute inset-0 overflow-hidden pointer-events-none", Sn[r], i),
2128
2148
  children: Array.from({ length: t }, (e, t) => {
2129
- let n = t * vn % 100, r = t * yn % 100, i = 2 + t % 3, o = t * .42 % 6, s = a[t % a.length];
2130
- return /* @__PURE__ */ v("span", {
2149
+ let n = t * bn % 100, r = t * xn % 100, i = 2 + t % 3, o = t * .42 % 6, s = a[t % a.length];
2150
+ return /* @__PURE__ */ b("span", {
2131
2151
  className: "absolute rounded-full motion-safe:animate-twinkle",
2132
2152
  style: {
2133
2153
  left: `${n}%`,
@@ -2141,44 +2161,44 @@ var Ve = {
2141
2161
  }, t);
2142
2162
  })
2143
2163
  });
2144
- }, Sn = ({ title: t, tag: n, code: r, lang: i, html: a, caret: o = !1, className: s }) => /* @__PURE__ */ y("div", {
2164
+ }, wn = ({ title: t, tag: n, code: r, lang: i, html: a, caret: o = !1, className: s }) => /* @__PURE__ */ x("div", {
2145
2165
  className: e("relative overflow-hidden rounded-xl border border-border bg-card/60 backdrop-blur-sm shadow-2xl", "before:absolute before:inset-x-0 before:top-0 before:h-px before:bg-gradient-to-r before:from-transparent before:via-primary/60 before:to-transparent", s),
2146
- children: [t || n ? /* @__PURE__ */ y("div", {
2166
+ children: [t || n ? /* @__PURE__ */ x("div", {
2147
2167
  className: "flex items-center justify-between px-4 py-2 border-b border-border/60 bg-background/40",
2148
- children: [/* @__PURE__ */ y("div", {
2168
+ children: [/* @__PURE__ */ x("div", {
2149
2169
  className: "flex items-center gap-2 text-xs text-muted-foreground font-mono",
2150
- children: [/* @__PURE__ */ y("span", {
2170
+ children: [/* @__PURE__ */ x("span", {
2151
2171
  className: "inline-flex gap-1.5",
2152
2172
  "aria-hidden": "true",
2153
2173
  children: [
2154
- /* @__PURE__ */ v("span", { className: "w-2.5 h-2.5 rounded-full bg-muted-foreground/30" }),
2155
- /* @__PURE__ */ v("span", { className: "w-2.5 h-2.5 rounded-full bg-muted-foreground/30" }),
2156
- /* @__PURE__ */ v("span", { className: "w-2.5 h-2.5 rounded-full bg-muted-foreground/30" })
2174
+ /* @__PURE__ */ b("span", { className: "w-2.5 h-2.5 rounded-full bg-muted-foreground/30" }),
2175
+ /* @__PURE__ */ b("span", { className: "w-2.5 h-2.5 rounded-full bg-muted-foreground/30" }),
2176
+ /* @__PURE__ */ b("span", { className: "w-2.5 h-2.5 rounded-full bg-muted-foreground/30" })
2157
2177
  ]
2158
- }), t ? /* @__PURE__ */ v("span", {
2178
+ }), t ? /* @__PURE__ */ b("span", {
2159
2179
  className: "ml-2",
2160
2180
  children: t
2161
2181
  }) : null]
2162
- }), n ? /* @__PURE__ */ v("span", {
2182
+ }), n ? /* @__PURE__ */ b("span", {
2163
2183
  className: "text-[0.65rem] uppercase tracking-[0.08em] text-muted-foreground/80 font-semibold",
2164
2184
  children: n
2165
2185
  }) : null]
2166
- }) : null, /* @__PURE__ */ v("div", {
2186
+ }) : null, /* @__PURE__ */ b("div", {
2167
2187
  className: "relative",
2168
- children: a ? /* @__PURE__ */ v("div", {
2188
+ children: a ? /* @__PURE__ */ b("div", {
2169
2189
  className: "text-sm leading-relaxed [&_pre]:!m-0 [&_pre]:!bg-transparent [&_pre]:p-5 overflow-x-auto",
2170
2190
  dangerouslySetInnerHTML: { __html: a }
2171
- }) : r && i ? /* @__PURE__ */ v($, {
2191
+ }) : r && i ? /* @__PURE__ */ b(Q, {
2172
2192
  code: r,
2173
2193
  lang: i
2174
- }) : /* @__PURE__ */ y("pre", {
2194
+ }) : /* @__PURE__ */ x("pre", {
2175
2195
  className: "p-5 text-sm leading-relaxed overflow-x-auto font-mono",
2176
- children: [/* @__PURE__ */ v("code", { children: r }), o ? /* @__PURE__ */ v("span", { className: "ml-0.5 inline-block w-[7px] h-[1.1em] -mb-[3px] align-text-bottom bg-primary motion-safe:animate-caret-blink" }) : null]
2196
+ children: [/* @__PURE__ */ b("code", { children: r }), o ? /* @__PURE__ */ b("span", { className: "ml-0.5 inline-block w-[7px] h-[1.1em] -mb-[3px] align-text-bottom bg-primary motion-safe:animate-caret-blink" }) : null]
2177
2197
  })
2178
2198
  })]
2179
- }), Cn = ({ children: t, className: n, distance: r = 24, delay: i = 0, threshold: a = .15, disabled: o = !1 }) => {
2180
- let s = h(null), [c, l] = g(o);
2181
- return f(() => {
2199
+ }), Tn = ({ children: t, className: n, distance: r = 24, delay: i = 0, threshold: a = .15, disabled: o = !1 }) => {
2200
+ let s = _(null), [c, l] = v(o);
2201
+ return m(() => {
2182
2202
  if (o) return;
2183
2203
  if (typeof IntersectionObserver > "u") {
2184
2204
  l(!0);
@@ -2196,7 +2216,7 @@ var Ve = {
2196
2216
  rootMargin: "0px 0px -10% 0px"
2197
2217
  });
2198
2218
  return t.observe(e), () => t.disconnect();
2199
- }, [a, o]), /* @__PURE__ */ v("div", {
2219
+ }, [a, o]), /* @__PURE__ */ b("div", {
2200
2220
  ref: s,
2201
2221
  className: e("motion-safe:transition-all motion-safe:duration-700 motion-safe:ease-out", n),
2202
2222
  style: c ? {
@@ -2209,17 +2229,17 @@ var Ve = {
2209
2229
  },
2210
2230
  children: t
2211
2231
  });
2212
- }, wn = {
2232
+ }, En = {
2213
2233
  info: {
2214
2234
  ring: "border-info/30 bg-info/5 text-info",
2215
2235
  icon: "text-info",
2216
- iconPath: /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v("circle", {
2236
+ iconPath: /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("circle", {
2217
2237
  cx: "8",
2218
2238
  cy: "8",
2219
2239
  r: "6",
2220
2240
  stroke: "currentColor",
2221
2241
  strokeWidth: "1.5"
2222
- }), /* @__PURE__ */ v("path", {
2242
+ }), /* @__PURE__ */ b("path", {
2223
2243
  d: "M8 5.5 V8.5 M8 10.5 V11",
2224
2244
  stroke: "currentColor",
2225
2245
  strokeWidth: "1.5",
@@ -2229,13 +2249,13 @@ var Ve = {
2229
2249
  tip: {
2230
2250
  ring: "border-success/30 bg-success/5 text-success",
2231
2251
  icon: "text-success",
2232
- iconPath: /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v("path", {
2252
+ iconPath: /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("path", {
2233
2253
  d: "M5 8.5 L7 10.5 L11 6",
2234
2254
  stroke: "currentColor",
2235
2255
  strokeWidth: "1.5",
2236
2256
  strokeLinecap: "round",
2237
2257
  strokeLinejoin: "round"
2238
- }), /* @__PURE__ */ v("circle", {
2258
+ }), /* @__PURE__ */ b("circle", {
2239
2259
  cx: "8",
2240
2260
  cy: "8",
2241
2261
  r: "6",
@@ -2246,12 +2266,12 @@ var Ve = {
2246
2266
  warning: {
2247
2267
  ring: "border-warning/30 bg-warning/5 text-warning",
2248
2268
  icon: "text-warning",
2249
- iconPath: /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v("path", {
2269
+ iconPath: /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("path", {
2250
2270
  d: "M8 2 L14 13 L2 13 Z",
2251
2271
  stroke: "currentColor",
2252
2272
  strokeWidth: "1.5",
2253
2273
  strokeLinejoin: "round"
2254
- }), /* @__PURE__ */ v("path", {
2274
+ }), /* @__PURE__ */ b("path", {
2255
2275
  d: "M8 6.5 V9 M8 10.5 V11",
2256
2276
  stroke: "currentColor",
2257
2277
  strokeWidth: "1.5",
@@ -2261,13 +2281,13 @@ var Ve = {
2261
2281
  danger: {
2262
2282
  ring: "border-destructive/40 bg-destructive/5 text-destructive",
2263
2283
  icon: "text-destructive",
2264
- iconPath: /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v("circle", {
2284
+ iconPath: /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("circle", {
2265
2285
  cx: "8",
2266
2286
  cy: "8",
2267
2287
  r: "6",
2268
2288
  stroke: "currentColor",
2269
2289
  strokeWidth: "1.5"
2270
- }), /* @__PURE__ */ v("path", {
2290
+ }), /* @__PURE__ */ b("path", {
2271
2291
  d: "M5.5 5.5 L10.5 10.5 M10.5 5.5 L5.5 10.5",
2272
2292
  stroke: "currentColor",
2273
2293
  strokeWidth: "1.5",
@@ -2277,7 +2297,7 @@ var Ve = {
2277
2297
  note: {
2278
2298
  ring: "border-border bg-card/40 text-muted-foreground",
2279
2299
  icon: "text-muted-foreground",
2280
- iconPath: /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v("rect", {
2300
+ iconPath: /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("rect", {
2281
2301
  x: "2.5",
2282
2302
  y: "2.5",
2283
2303
  width: "11",
@@ -2285,18 +2305,18 @@ var Ve = {
2285
2305
  rx: "1.5",
2286
2306
  stroke: "currentColor",
2287
2307
  strokeWidth: "1.5"
2288
- }), /* @__PURE__ */ v("path", {
2308
+ }), /* @__PURE__ */ b("path", {
2289
2309
  d: "M5 6 H11 M5 8.5 H11 M5 11 H8.5",
2290
2310
  stroke: "currentColor",
2291
2311
  strokeWidth: "1.5",
2292
2312
  strokeLinecap: "round"
2293
2313
  })] })
2294
2314
  }
2295
- }, Tn = ({ type: t = "info", title: n, children: r, className: i }) => {
2296
- let a = wn[t];
2297
- return /* @__PURE__ */ y("div", {
2315
+ }, Dn = ({ type: t = "info", title: n, children: r, className: i }) => {
2316
+ let a = En[t];
2317
+ return /* @__PURE__ */ x("div", {
2298
2318
  className: e("not-prose my-5 rounded-lg border px-4 py-3 flex gap-3", a.ring, i),
2299
- children: [/* @__PURE__ */ v("svg", {
2319
+ children: [/* @__PURE__ */ b("svg", {
2300
2320
  width: "16",
2301
2321
  height: "16",
2302
2322
  viewBox: "0 0 16 16",
@@ -2304,19 +2324,19 @@ var Ve = {
2304
2324
  className: e("shrink-0 mt-0.5", a.icon),
2305
2325
  "aria-hidden": "true",
2306
2326
  children: a.iconPath
2307
- }), /* @__PURE__ */ y("div", {
2327
+ }), /* @__PURE__ */ x("div", {
2308
2328
  className: "min-w-0 flex-1",
2309
- children: [n ? /* @__PURE__ */ v("div", {
2329
+ children: [n ? /* @__PURE__ */ b("div", {
2310
2330
  className: "font-semibold text-foreground mb-1 leading-tight",
2311
2331
  children: n
2312
- }) : null, /* @__PURE__ */ v("div", {
2332
+ }) : null, /* @__PURE__ */ b("div", {
2313
2333
  className: "text-sm text-foreground/90 leading-relaxed",
2314
2334
  children: r
2315
2335
  })]
2316
2336
  })]
2317
2337
  });
2318
- }, En = Xt, Dn = (e) => e && En.includes(e) ? e : null, On = ({ filename: t, language: n, html: r, code: i, className: a, copyLabel: o = "Copy", copyAriaLabel: s = "Copy code", copiedLabel: c = "Copied", copiedAriaLabel: l = "Copied" }) => {
2319
- let [u, d] = g(!1), f = () => {
2338
+ }, On = Qt, kn = (e) => e && On.includes(e) ? e : null, An = ({ filename: t, language: n, html: r, code: i, className: a, copyLabel: o = "Copy", copyAriaLabel: s = "Copy code", copiedLabel: c = "Copied", copiedAriaLabel: l = "Copied" }) => {
2339
+ let [u, d] = v(!1), f = () => {
2320
2340
  if (i) return i;
2321
2341
  if (r) {
2322
2342
  let e = typeof document < "u" ? document.createElement("div") : null;
@@ -2324,20 +2344,20 @@ var Ve = {
2324
2344
  }
2325
2345
  return "";
2326
2346
  };
2327
- return /* @__PURE__ */ y("figure", {
2328
- className: e("not-prose my-5 rounded-lg overflow-hidden border border-border bg-[oklch(0.18_0.005_280)]", a),
2329
- children: [t || n ? /* @__PURE__ */ y("header", {
2330
- className: "flex items-center justify-between border-b border-border/60 px-4 py-2 bg-card/40",
2331
- children: [t ? /* @__PURE__ */ v("span", {
2347
+ return /* @__PURE__ */ x("figure", {
2348
+ className: e("not-prose my-5 rounded-lg overflow-hidden border border-border bg-card text-card-foreground", a),
2349
+ children: [t || n ? /* @__PURE__ */ x("header", {
2350
+ className: "flex items-center justify-between border-b border-border/60 px-4 py-2 bg-muted",
2351
+ children: [t ? /* @__PURE__ */ b("span", {
2332
2352
  className: "text-xs text-muted-foreground font-mono",
2333
2353
  children: t
2334
- }) : /* @__PURE__ */ v("span", {}), n ? /* @__PURE__ */ v("span", {
2335
- className: "text-[0.65rem] uppercase tracking-wider text-muted-foreground/80 font-semibold",
2354
+ }) : /* @__PURE__ */ b("span", {}), n ? /* @__PURE__ */ b("span", {
2355
+ className: "text-[0.65rem] uppercase tracking-wider text-muted-foreground font-semibold",
2336
2356
  children: n
2337
2357
  }) : null]
2338
- }) : null, /* @__PURE__ */ y("div", {
2358
+ }) : null, /* @__PURE__ */ x("div", {
2339
2359
  className: "relative",
2340
- children: [/* @__PURE__ */ v("button", {
2360
+ children: [/* @__PURE__ */ b("button", {
2341
2361
  type: "button",
2342
2362
  onClick: () => {
2343
2363
  let e = f();
@@ -2346,27 +2366,27 @@ var Ve = {
2346
2366
  }).catch(() => {});
2347
2367
  },
2348
2368
  "aria-label": u ? l : s,
2349
- className: "absolute top-3 right-3 inline-flex items-center gap-1 rounded-md border border-border/60 bg-background/70 backdrop-blur px-2 py-1 text-xs text-muted-foreground hover:text-foreground transition-colors",
2350
- children: u ? /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v("svg", {
2369
+ className: "absolute top-3 right-3 inline-flex items-center gap-1 rounded-md border border-border/60 bg-background px-2 py-1 text-xs text-muted-foreground hover:text-foreground transition-colors",
2370
+ children: u ? /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("svg", {
2351
2371
  width: "12",
2352
2372
  height: "12",
2353
2373
  viewBox: "0 0 12 12",
2354
2374
  fill: "none",
2355
2375
  "aria-hidden": "true",
2356
- children: /* @__PURE__ */ v("path", {
2376
+ children: /* @__PURE__ */ b("path", {
2357
2377
  d: "M3 6.5 L5 8.5 L9 4",
2358
2378
  stroke: "currentColor",
2359
2379
  strokeWidth: "1.5",
2360
2380
  strokeLinecap: "round",
2361
2381
  strokeLinejoin: "round"
2362
2382
  })
2363
- }), c] }) : /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ y("svg", {
2383
+ }), c] }) : /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ x("svg", {
2364
2384
  width: "12",
2365
2385
  height: "12",
2366
2386
  viewBox: "0 0 12 12",
2367
2387
  fill: "none",
2368
2388
  "aria-hidden": "true",
2369
- children: [/* @__PURE__ */ v("rect", {
2389
+ children: [/* @__PURE__ */ b("rect", {
2370
2390
  x: "3",
2371
2391
  y: "3",
2372
2392
  width: "6",
@@ -2374,83 +2394,83 @@ var Ve = {
2374
2394
  rx: "1",
2375
2395
  stroke: "currentColor",
2376
2396
  strokeWidth: "1.5"
2377
- }), /* @__PURE__ */ v("path", {
2397
+ }), /* @__PURE__ */ b("path", {
2378
2398
  d: "M5 3 V2.5 A0.5 0.5 0 0 1 5.5 2 H8.5 A0.5 0.5 0 0 1 9 2.5 V5.5 A0.5 0.5 0 0 1 8.5 6 H8",
2379
2399
  stroke: "currentColor",
2380
2400
  strokeWidth: "1.5"
2381
2401
  })]
2382
2402
  }), o] })
2383
- }), r ? /* @__PURE__ */ v("div", {
2403
+ }), r ? /* @__PURE__ */ b("div", {
2384
2404
  className: "text-sm leading-relaxed [&_pre]:!m-0 [&_pre]:!bg-transparent [&_pre]:p-4 overflow-x-auto",
2385
2405
  dangerouslySetInnerHTML: { __html: r }
2386
- }) : i && Dn(n) ? /* @__PURE__ */ v($, {
2406
+ }) : i && kn(n) ? /* @__PURE__ */ b(Q, {
2387
2407
  code: i,
2388
- lang: Dn(n),
2408
+ lang: kn(n),
2389
2409
  className: "[&_pre]:!p-4 [&_pre]:!m-0 [&_pre]:!bg-transparent"
2390
- }) : /* @__PURE__ */ v("pre", {
2410
+ }) : /* @__PURE__ */ b("pre", {
2391
2411
  className: "p-4 text-sm leading-relaxed overflow-x-auto",
2392
- children: /* @__PURE__ */ v("code", { children: i })
2412
+ children: /* @__PURE__ */ b("code", { children: i })
2393
2413
  })]
2394
2414
  })]
2395
2415
  });
2396
- }, kn = ({ children: t, className: n }) => {
2397
- let r = o.toArray(t).filter(l);
2398
- return /* @__PURE__ */ v("ol", {
2416
+ }, jn = ({ children: t, className: n }) => {
2417
+ let r = c.toArray(t).filter(d);
2418
+ return /* @__PURE__ */ b("ol", {
2399
2419
  className: e("not-prose my-6 ml-3 space-y-6 border-l border-border", n),
2400
- children: r.map((e, t) => /* @__PURE__ */ y("li", {
2420
+ children: r.map((e, t) => /* @__PURE__ */ x("li", {
2401
2421
  className: "relative pl-8",
2402
- children: [/* @__PURE__ */ v("div", {
2422
+ children: [/* @__PURE__ */ b("div", {
2403
2423
  className: "absolute left-0 top-0 -translate-x-1/2 w-6 h-6 rounded-full bg-card border border-border text-xs font-semibold text-foreground inline-flex items-center justify-center",
2404
2424
  children: t + 1
2405
2425
  }), e]
2406
2426
  }, t))
2407
2427
  });
2408
- }, An = ({ title: t, children: n, className: r }) => /* @__PURE__ */ y("div", {
2428
+ }, Mn = ({ title: t, children: n, className: r }) => /* @__PURE__ */ x("div", {
2409
2429
  className: e("-mt-1", r),
2410
- children: [t ? /* @__PURE__ */ v("h3", {
2430
+ children: [t ? /* @__PURE__ */ b("h3", {
2411
2431
  className: "text-base font-semibold text-foreground mb-2",
2412
2432
  children: t
2413
- }) : null, /* @__PURE__ */ v("div", {
2433
+ }) : null, /* @__PURE__ */ b("div", {
2414
2434
  className: "text-sm text-muted-foreground leading-relaxed space-y-2",
2415
2435
  children: n
2416
2436
  })]
2417
- }), jn = ({ to: e, className: t, children: n }) => /* @__PURE__ */ v("a", {
2437
+ }), Nn = ({ to: e, className: t, children: n }) => /* @__PURE__ */ b("a", {
2418
2438
  href: e,
2419
2439
  className: t,
2420
2440
  children: n
2421
- }), Mn = {
2441
+ }), Pn = {
2422
2442
  1: "grid-cols-1",
2423
2443
  2: "grid-cols-1 md:grid-cols-2",
2424
2444
  3: "grid-cols-1 md:grid-cols-2 lg:grid-cols-3"
2425
- }, Nn = ({ children: t, className: n, cols: r = 2, stagger: i = !0 }) => /* @__PURE__ */ v("div", {
2426
- className: e("not-prose my-6 grid gap-4", Mn[r], i && "stagger-in", n),
2445
+ }, Fn = ({ children: t, className: n, cols: r = 2, stagger: i = !0 }) => /* @__PURE__ */ b("div", {
2446
+ className: e("not-prose my-6 grid gap-4", Pn[r], i && "stagger-in", n),
2427
2447
  children: t
2428
- }), Pn = ({ title: t, description: n, href: r, icon: i, className: a, LinkComponent: o = jn }) => /* @__PURE__ */ y(o, {
2448
+ }), In = ({ title: t, description: n, href: r, icon: i, className: a, LinkComponent: o = Nn }) => /* @__PURE__ */ x(o, {
2429
2449
  to: r,
2430
2450
  prefetch: !0,
2431
2451
  className: e("group relative block p-5 rounded-lg border border-border bg-card/30", "hover:bg-card/60 hover:border-primary/40 hover:-translate-y-0.5", "active:translate-y-0 active:scale-[0.99]", "transition-[transform,background-color,border-color] duration-150 ease-out", "before:absolute before:inset-x-4 before:top-0 before:h-px before:bg-gradient-to-r before:from-transparent before:via-primary/50 before:to-transparent before:opacity-0 before:transition-opacity group-hover:before:opacity-100", a),
2432
- children: [/* @__PURE__ */ y("div", {
2452
+ children: [/* @__PURE__ */ x("div", {
2433
2453
  className: e("flex items-center gap-4", n ? "mb-4" : ""),
2434
- children: [i ? /* @__PURE__ */ v("div", {
2454
+ children: [i ? /* @__PURE__ */ b("div", {
2435
2455
  className: "flex shrink-0 items-center justify-center w-9 h-9 rounded-md bg-primary/10 text-primary [&_svg]:w-5 [&_svg]:h-5",
2436
2456
  "aria-hidden": "true",
2437
2457
  children: i
2438
- }) : null, /* @__PURE__ */ y("div", {
2458
+ }) : null, /* @__PURE__ */ x("div", {
2439
2459
  className: "min-w-0 font-semibold text-foreground group-hover:text-primary transition-colors flex items-center gap-2",
2440
- children: [/* @__PURE__ */ v("span", {
2460
+ children: [/* @__PURE__ */ b("span", {
2441
2461
  className: "min-w-0",
2442
2462
  children: t
2443
- }), /* @__PURE__ */ v("span", {
2463
+ }), /* @__PURE__ */ b("span", {
2444
2464
  className: "shrink-0 text-muted-foreground group-hover:text-primary group-hover:translate-x-0.5 transition-all",
2445
2465
  "aria-hidden": "true",
2446
2466
  children: "→"
2447
2467
  })]
2448
2468
  })]
2449
- }), n ? /* @__PURE__ */ v("div", {
2469
+ }), n ? /* @__PURE__ */ b("div", {
2450
2470
  className: "text-sm text-muted-foreground leading-relaxed",
2451
2471
  children: n
2452
2472
  }) : null]
2453
- }), Fn = ({ contentSelector: e = "main" }) => (f(() => {
2473
+ }), Ln = ({ contentSelector: e = "main" }) => (m(() => {
2454
2474
  let t = document.querySelector(e);
2455
2475
  if (!t) return;
2456
2476
  let n = [], r = null, i = null, a = () => Array.from(document.querySelectorAll("[data-toc-link]")), o = (e) => a().find((t) => t.dataset.tocLink === e) ?? null, s = (e) => {
@@ -2484,63 +2504,72 @@ var Ve = {
2484
2504
  }), window.addEventListener("scroll", l, { passive: !0 }), window.addEventListener("resize", l), window.addEventListener("hashchange", l), () => {
2485
2505
  d.disconnect(), window.removeEventListener("scroll", l), window.removeEventListener("resize", l), window.removeEventListener("hashchange", l), r !== null && window.cancelAnimationFrame(r);
2486
2506
  };
2487
- }, [e]), null), In = {
2507
+ }, [e]), null), Rn = {
2488
2508
  dialog: "Search",
2489
2509
  close: "Close search",
2490
2510
  startTyping: "Start typing to search.",
2491
2511
  navigate: "navigate",
2492
2512
  select: "select",
2493
2513
  toggle: "toggle"
2494
- }, Ln = ({ search: t, renderItem: n, itemKey: r, onSelect: i, placeholder: a = "Search…", emptyLabel: o = "No results.", empty: s, open: c, onOpenChange: l, labels: d }) => {
2495
- let _ = {
2496
- ...In,
2497
- ...d
2498
- }, b = c !== void 0, [x, S] = g(!1), C = b ? c : x, w = u((e) => {
2499
- b || S(e), l?.(e);
2500
- }, [b, l]), [T, E] = g(""), [D, O] = g(0), k = h(null), A = p(), j = m(() => T.trim() ? t(T) : [], [T, t]);
2501
- f(() => {
2514
+ }, zn = ({ search: t, renderItem: n, itemKey: r, onSelect: i, placeholder: a = "Search…", emptyLabel: o = "No results.", empty: s, open: c, onOpenChange: l, labels: u }) => {
2515
+ let d = {
2516
+ ...Rn,
2517
+ ...u
2518
+ }, p = c !== void 0, [y, S] = v(!1), C = p ? c : y, w = f((e) => {
2519
+ p || S(e), l?.(e);
2520
+ }, [p, l]), [T, E] = v(""), [D, O] = v(0), k = _(null), A = _(null), j = h(), M = g(() => T.trim() ? t(T) : [], [T, t]);
2521
+ m(() => {
2502
2522
  O(0);
2503
- }, [T]), f(() => {
2523
+ }, [T]), m(() => {
2504
2524
  let e = (e) => {
2505
2525
  e.key.toLowerCase() === "k" && (e.metaKey || e.ctrlKey) && (e.preventDefault(), w(!C));
2506
2526
  };
2507
2527
  return window.addEventListener("keydown", e), () => window.removeEventListener("keydown", e);
2508
- }, [C, w]), f(() => {
2528
+ }, [C, w]), m(() => {
2509
2529
  if (!C) return;
2530
+ let e = document.activeElement instanceof HTMLElement ? document.activeElement : null;
2510
2531
  E(""), O(0);
2511
- let e = requestAnimationFrame(() => k.current?.focus());
2512
- return () => cancelAnimationFrame(e);
2532
+ let t = requestAnimationFrame(() => k.current?.focus());
2533
+ return () => {
2534
+ cancelAnimationFrame(t), e?.isConnected && e.focus();
2535
+ };
2513
2536
  }, [C]);
2514
- let M = u(() => w(!1), [w]);
2515
- return C ? /* @__PURE__ */ y("div", {
2537
+ let N = f(() => w(!1), [w]);
2538
+ return C ? /* @__PURE__ */ x("div", {
2539
+ ref: A,
2516
2540
  role: "dialog",
2517
2541
  "aria-modal": "true",
2518
- "aria-label": _.dialog,
2542
+ "aria-label": d.dialog,
2519
2543
  className: "fixed inset-0 z-50 flex items-start justify-center pt-[15vh] px-4",
2520
- children: [/* @__PURE__ */ v("button", {
2544
+ onKeyDown: (e) => {
2545
+ if (e.key === "Escape") {
2546
+ e.preventDefault(), N();
2547
+ return;
2548
+ }
2549
+ if (e.key !== "Tab") return;
2550
+ let t = [...A.current?.querySelectorAll("button:not([disabled]), input:not([disabled]), a[href], [tabindex=\"0\"]") ?? []], n = t[0], r = t.at(-1);
2551
+ e.shiftKey && document.activeElement === n && (e.preventDefault(), r?.focus()), !e.shiftKey && document.activeElement === r && (e.preventDefault(), n?.focus());
2552
+ },
2553
+ children: [/* @__PURE__ */ b("button", {
2521
2554
  type: "button",
2522
- "aria-label": _.close,
2523
- onClick: M,
2555
+ "aria-label": d.close,
2556
+ onClick: N,
2524
2557
  className: "absolute inset-0 bg-background/70 backdrop-blur-sm cursor-default"
2525
- }), /* @__PURE__ */ y("div", {
2558
+ }), /* @__PURE__ */ x("div", {
2526
2559
  className: e("relative w-full max-w-xl rounded-xl border border-border bg-card shadow-2xl overflow-hidden", "animate-in fade-in slide-in-from-top-4 duration-150"),
2527
2560
  children: [
2528
- /* @__PURE__ */ y("div", {
2561
+ /* @__PURE__ */ x("div", {
2529
2562
  className: "flex items-center gap-3 px-4 py-3 border-b border-border",
2530
2563
  children: [
2531
- /* @__PURE__ */ v(Y, { className: "w-4 h-4 text-muted-foreground shrink-0" }),
2532
- /* @__PURE__ */ v("input", {
2564
+ /* @__PURE__ */ b(Y, { className: "w-4 h-4 text-muted-foreground shrink-0" }),
2565
+ /* @__PURE__ */ b("input", {
2533
2566
  ref: k,
2534
2567
  type: "text",
2535
2568
  value: T,
2536
2569
  onChange: (e) => E(e.target.value),
2537
2570
  onKeyDown: (e) => {
2538
- if (e.key === "Escape") {
2539
- e.preventDefault(), M();
2540
- return;
2541
- }
2542
2571
  if (e.key === "ArrowDown") {
2543
- e.preventDefault(), O((e) => Math.min(e + 1, Math.max(j.length - 1, 0)));
2572
+ e.preventDefault(), O((e) => Math.min(e + 1, Math.max(M.length - 1, 0)));
2544
2573
  return;
2545
2574
  }
2546
2575
  if (e.key === "ArrowUp") {
@@ -2548,44 +2577,44 @@ var Ve = {
2548
2577
  return;
2549
2578
  }
2550
2579
  if (e.key === "Enter") {
2551
- let t = j[D];
2552
- t && (e.preventDefault(), i(t), M());
2580
+ let t = M[D];
2581
+ t && (e.preventDefault(), i(t), N());
2553
2582
  }
2554
2583
  },
2555
2584
  placeholder: a,
2556
2585
  "aria-autocomplete": "list",
2557
- "aria-controls": A,
2558
- "aria-activedescendant": j[D] ? `${A}-${r(j[D])}` : void 0,
2586
+ "aria-controls": j,
2587
+ "aria-activedescendant": M[D] ? `${j}-${r(M[D])}` : void 0,
2559
2588
  className: "flex-1 bg-transparent text-sm outline-none placeholder:text-muted-foreground/70"
2560
2589
  }),
2561
- /* @__PURE__ */ v("kbd", {
2590
+ /* @__PURE__ */ b("kbd", {
2562
2591
  className: "text-[0.65rem] text-muted-foreground border border-border rounded px-1.5 py-0.5 font-mono",
2563
2592
  children: "Esc"
2564
2593
  })
2565
2594
  ]
2566
2595
  }),
2567
- /* @__PURE__ */ v("div", {
2568
- id: A,
2596
+ /* @__PURE__ */ b("div", {
2597
+ id: j,
2569
2598
  role: "listbox",
2570
2599
  className: "max-h-[60vh] overflow-y-auto py-1.5",
2571
- children: T.trim() === "" ? s ?? /* @__PURE__ */ v("div", {
2600
+ children: T.trim() === "" ? s ?? /* @__PURE__ */ b("div", {
2572
2601
  className: "px-4 py-8 text-center text-sm text-muted-foreground",
2573
- children: _.startTyping
2574
- }) : j.length === 0 ? /* @__PURE__ */ v("div", {
2602
+ children: d.startTyping
2603
+ }) : M.length === 0 ? /* @__PURE__ */ b("div", {
2575
2604
  className: "px-4 py-8 text-center text-sm text-muted-foreground",
2576
2605
  children: o
2577
- }) : /* @__PURE__ */ v("ul", {
2606
+ }) : /* @__PURE__ */ b("ul", {
2578
2607
  className: "px-1.5",
2579
- children: j.map((t, a) => {
2608
+ children: M.map((t, a) => {
2580
2609
  let o = a === D, s = r(t);
2581
- return /* @__PURE__ */ v("li", {
2582
- id: `${A}-${s}`,
2610
+ return /* @__PURE__ */ b("li", {
2611
+ id: `${j}-${s}`,
2583
2612
  role: "option",
2584
2613
  "aria-selected": o,
2585
- children: /* @__PURE__ */ v("button", {
2614
+ children: /* @__PURE__ */ b("button", {
2586
2615
  type: "button",
2587
2616
  onClick: () => {
2588
- i(t), M();
2617
+ i(t), N();
2589
2618
  },
2590
2619
  onMouseMove: () => O(a),
2591
2620
  className: e("w-full text-left rounded-md px-3 py-2 transition-colors", o ? "bg-accent text-accent-foreground" : "text-foreground hover:bg-accent/50"),
@@ -2595,58 +2624,463 @@ var Ve = {
2595
2624
  })
2596
2625
  })
2597
2626
  }),
2598
- /* @__PURE__ */ y("div", {
2627
+ /* @__PURE__ */ x("div", {
2599
2628
  className: "flex items-center justify-between gap-4 px-4 py-2 border-t border-border bg-card/40 text-[0.7rem] text-muted-foreground",
2600
- children: [/* @__PURE__ */ y("div", {
2629
+ children: [/* @__PURE__ */ x("div", {
2601
2630
  className: "inline-flex items-center gap-3",
2602
- children: [/* @__PURE__ */ y("span", {
2631
+ children: [/* @__PURE__ */ x("span", {
2603
2632
  className: "inline-flex items-center gap-1",
2604
2633
  children: [
2605
- /* @__PURE__ */ v("kbd", {
2634
+ /* @__PURE__ */ b("kbd", {
2606
2635
  className: "border border-border rounded px-1 py-0.5 font-mono",
2607
2636
  children: "↑"
2608
2637
  }),
2609
- /* @__PURE__ */ v("kbd", {
2638
+ /* @__PURE__ */ b("kbd", {
2610
2639
  className: "border border-border rounded px-1 py-0.5 font-mono",
2611
2640
  children: "↓"
2612
2641
  }),
2613
- _.navigate
2642
+ d.navigate
2614
2643
  ]
2615
- }), /* @__PURE__ */ y("span", {
2644
+ }), /* @__PURE__ */ x("span", {
2616
2645
  className: "inline-flex items-center gap-1",
2617
2646
  children: [
2618
- /* @__PURE__ */ v(ht, { className: "w-3 h-3" }),
2647
+ /* @__PURE__ */ b(gt, { className: "w-3 h-3" }),
2619
2648
  " ",
2620
- _.select
2649
+ d.select
2621
2650
  ]
2622
2651
  })]
2623
- }), /* @__PURE__ */ y("span", {
2652
+ }), /* @__PURE__ */ x("span", {
2624
2653
  className: "inline-flex items-center gap-1",
2625
- children: [/* @__PURE__ */ v("kbd", {
2654
+ children: [/* @__PURE__ */ b("kbd", {
2626
2655
  className: "border border-border rounded px-1 py-0.5 font-mono",
2627
2656
  children: "⌘K"
2628
- }), _.toggle]
2657
+ }), d.toggle]
2629
2658
  })]
2630
2659
  })
2631
2660
  ]
2632
2661
  })]
2633
2662
  }) : null;
2634
- }, Rn = ({ onClick: t, placeholder: n = "Search docs…", openLabel: r = "Open search", className: i }) => /* @__PURE__ */ y("button", {
2663
+ }, Bn = ({ onClick: t, placeholder: n = "Search docs…", openLabel: r = "Open search", className: i }) => /* @__PURE__ */ x("button", {
2635
2664
  type: "button",
2636
2665
  onClick: t,
2637
2666
  "aria-label": r,
2638
2667
  className: e("inline-flex items-center gap-2 rounded-md border border-border bg-card/40 px-2.5 py-1.5 text-sm text-muted-foreground hover:text-foreground hover:border-input transition-colors w-56 lg:w-64", i),
2639
2668
  children: [
2640
- /* @__PURE__ */ v(Y, { className: "w-4 h-4 shrink-0" }),
2641
- /* @__PURE__ */ v("span", {
2669
+ /* @__PURE__ */ b(Y, { className: "w-4 h-4 shrink-0" }),
2670
+ /* @__PURE__ */ b("span", {
2642
2671
  className: "flex-1 text-left truncate",
2643
2672
  children: n
2644
2673
  }),
2645
- /* @__PURE__ */ v("kbd", {
2674
+ /* @__PURE__ */ b("kbd", {
2646
2675
  className: "text-[0.65rem] border border-border rounded px-1 py-0.5 font-mono hidden lg:inline-block",
2647
2676
  children: "⌘K"
2648
2677
  })
2649
2678
  ]
2650
- }), zn = "framework-ui-shadcn";
2679
+ });
2680
+ //#endregion
2681
+ //#region src/compositions/signalMotion.ts
2682
+ function Vn(e) {
2683
+ let t = window.matchMedia("(prefers-reduced-motion: reduce)"), n = [], r = !1, i = !1, a = !1;
2684
+ if (typeof CSS < "u" && CSS.supports("d", "path(\"M 0 0 L 1 1\")")) for (let t of e.querySelectorAll("path[data-wave]")) {
2685
+ let e = t.getAttribute("d")?.match(/-?\d+(?:\.\d+)?/g)?.map(Number);
2686
+ if (!e || e.length !== 12) continue;
2687
+ let r = e, [i, a = "0"] = (t.dataset.wave ?? "").split("-"), o = i === "main", s = o ? [
2688
+ 0,
2689
+ 0,
2690
+ -60,
2691
+ 34,
2692
+ 86,
2693
+ 54,
2694
+ -44,
2695
+ 70,
2696
+ -70,
2697
+ -54,
2698
+ 0,
2699
+ 0
2700
+ ] : [
2701
+ 0,
2702
+ 0,
2703
+ 42,
2704
+ -35,
2705
+ -56,
2706
+ 45,
2707
+ 54,
2708
+ -51,
2709
+ -48,
2710
+ 32,
2711
+ 0,
2712
+ 0
2713
+ ], c = (e) => {
2714
+ let t = r.map((t, n) => t + (s[n] ?? 0) * e);
2715
+ return `path("M ${t[0]} ${t[1]} C ${t[2]} ${t[3]} ${t[4]} ${t[5]} ${t[6]} ${t[7]} S ${t[8]} ${t[9]} ${t[10]} ${t[11]}")`;
2716
+ }, l = "cubic-bezier(.333,.524,.667,1)", u = "cubic-bezier(.333,0,.667,.476)", d = t.animate([
2717
+ {
2718
+ d: c(0),
2719
+ easing: l
2720
+ },
2721
+ {
2722
+ d: c(1),
2723
+ easing: u
2724
+ },
2725
+ {
2726
+ d: c(0),
2727
+ easing: l
2728
+ },
2729
+ {
2730
+ d: c(-1),
2731
+ easing: u
2732
+ },
2733
+ { d: c(0) }
2734
+ ], {
2735
+ duration: o ? 12e3 : 15e3,
2736
+ delay: -Number(a) * (o ? 320 : 450),
2737
+ iterations: Infinity
2738
+ });
2739
+ d.pause(), n.push(d);
2740
+ }
2741
+ let o = () => {
2742
+ if (a) return;
2743
+ let o = r && i && !document.hidden && !t.matches;
2744
+ e.dataset.motion = o ? "running" : "paused";
2745
+ for (let e of n) t.matches ? e.cancel() : o && e.playState !== "running" ? e.play() : !o && e.playState === "running" && e.pause();
2746
+ }, s = new IntersectionObserver(([e]) => {
2747
+ i = e?.isIntersecting ?? !1, o();
2748
+ }, { threshold: .01 });
2749
+ return s.observe(e), document.addEventListener("visibilitychange", o), t.addEventListener("change", o), {
2750
+ setEnabled(e) {
2751
+ r = e, o();
2752
+ },
2753
+ dispose() {
2754
+ a = !0, s.disconnect(), document.removeEventListener("visibilitychange", o), t.removeEventListener("change", o), n.forEach((e) => e.cancel()), e.dataset.motion = "paused";
2755
+ }
2756
+ };
2757
+ }
2758
+ //#endregion
2759
+ //#region src/compositions/signalField.tsx
2760
+ var $ = [
2761
+ "M1080-160C870 90 1570 60 1530 400S1100 670 1320 990",
2762
+ "M1055-160C845 98 1545 72 1505 408S1075 678 1295 998",
2763
+ "M1030-160C820 106 1520 84 1480 416S1050 686 1270 1006",
2764
+ "M1005-160C795 114 1495 96 1455 424S1025 694 1245 1014",
2765
+ "M980-160C770 122 1470 108 1430 432S1000 702 1220 1022",
2766
+ "M955-160C745 130 1445 120 1405 440S975 710 1195 1030",
2767
+ "M930-160C720 138 1420 132 1380 448S950 718 1170 1038",
2768
+ "M905-160C695 146 1395 144 1355 456S925 726 1145 1046",
2769
+ "M880-160C670 154 1370 156 1330 464S900 734 1120 1054",
2770
+ "M855-160C645 162 1345 168 1305 472S875 742 1095 1062",
2771
+ "M830-160C620 170 1320 180 1280 480S850 750 1070 1070",
2772
+ "M805-160C595 178 1295 192 1255 488S825 758 1045 1078"
2773
+ ], Hn = [
2774
+ "M-150 600C170 550-70 930 360 960S490 1100 780 1200",
2775
+ "M-150 621C165 571-75 951 355 981S485 1121 775 1221",
2776
+ "M-150 642C160 592-80 972 350 1002S480 1142 770 1242",
2777
+ "M-150 663C155 613-85 993 345 1023S475 1163 765 1263",
2778
+ "M-150 684C150 634-90 1014 340 1044S470 1184 760 1284"
2779
+ ], Un = [
2780
+ $[1],
2781
+ $[4],
2782
+ $[7],
2783
+ $[10],
2784
+ Hn[2]
2785
+ ];
2786
+ function Wn({ animated: t = !1, paused: n = !1, className: r }) {
2787
+ let i = _(null), a = _(null), o = h();
2788
+ return m(() => {
2789
+ let e = i.current;
2790
+ if (!e) return;
2791
+ let t = Vn(e);
2792
+ return a.current = t, () => {
2793
+ t.dispose(), a.current = null;
2794
+ };
2795
+ }, []), m(() => {
2796
+ a.current?.setEnabled(t && !n);
2797
+ }, [t, n]), /* @__PURE__ */ x("div", {
2798
+ ref: i,
2799
+ className: e("signal-atmosphere", r),
2800
+ "aria-hidden": "true",
2801
+ "data-motion": "paused",
2802
+ children: [/* @__PURE__ */ b("div", { className: "field-light" }), /* @__PURE__ */ x("svg", {
2803
+ className: "field-contours",
2804
+ viewBox: "0 0 1600 1120",
2805
+ fill: "none",
2806
+ children: [
2807
+ /* @__PURE__ */ x("defs", { children: [/* @__PURE__ */ x("linearGradient", {
2808
+ id: `${o}-ink`,
2809
+ x1: "750",
2810
+ y1: "60",
2811
+ x2: "1390",
2812
+ y2: "1040",
2813
+ gradientUnits: "userSpaceOnUse",
2814
+ children: [
2815
+ /* @__PURE__ */ b("stop", {
2816
+ stopColor: "#A874FF",
2817
+ stopOpacity: ".05"
2818
+ }),
2819
+ /* @__PURE__ */ b("stop", {
2820
+ offset: ".34",
2821
+ stopColor: "#A874FF",
2822
+ stopOpacity: ".36"
2823
+ }),
2824
+ /* @__PURE__ */ b("stop", {
2825
+ offset: ".7",
2826
+ stopColor: "#7C3AED",
2827
+ stopOpacity: ".12"
2828
+ }),
2829
+ /* @__PURE__ */ b("stop", {
2830
+ offset: "1",
2831
+ stopColor: "#A874FF",
2832
+ stopOpacity: "0"
2833
+ })
2834
+ ]
2835
+ }), /* @__PURE__ */ x("linearGradient", {
2836
+ id: `${o}-edge`,
2837
+ x1: "0",
2838
+ y1: "670",
2839
+ x2: "740",
2840
+ y2: "1120",
2841
+ gradientUnits: "userSpaceOnUse",
2842
+ children: [
2843
+ /* @__PURE__ */ b("stop", {
2844
+ stopColor: "#A874FF",
2845
+ stopOpacity: "0"
2846
+ }),
2847
+ /* @__PURE__ */ b("stop", {
2848
+ offset: ".5",
2849
+ stopColor: "#A874FF",
2850
+ stopOpacity: ".22"
2851
+ }),
2852
+ /* @__PURE__ */ b("stop", {
2853
+ offset: "1",
2854
+ stopColor: "#A874FF",
2855
+ stopOpacity: "0"
2856
+ })
2857
+ ]
2858
+ })] }),
2859
+ /* @__PURE__ */ b("g", {
2860
+ className: "field-ribbons",
2861
+ stroke: `url(#${o}-ink)`,
2862
+ strokeWidth: ".8",
2863
+ children: $.map((e, t) => /* @__PURE__ */ b("path", {
2864
+ d: e,
2865
+ "data-wave": `main-${t}`
2866
+ }, e))
2867
+ }),
2868
+ /* @__PURE__ */ b("g", {
2869
+ className: "field-return",
2870
+ stroke: `url(#${o}-edge)`,
2871
+ strokeWidth: ".7",
2872
+ children: Hn.map((e, t) => /* @__PURE__ */ b("path", {
2873
+ d: e,
2874
+ "data-wave": `return-${t}`
2875
+ }, e))
2876
+ }),
2877
+ Un.map((e, t) => /* @__PURE__ */ b("path", {
2878
+ d: e,
2879
+ className: `field-ambient-trace trace-${t}`,
2880
+ "data-wave": [
2881
+ "main-1",
2882
+ "main-4",
2883
+ "main-7",
2884
+ "main-10",
2885
+ "return-2"
2886
+ ][t],
2887
+ stroke: "#B995FF",
2888
+ strokeWidth: "1",
2889
+ pathLength: "100"
2890
+ }, e))
2891
+ ]
2892
+ })]
2893
+ });
2894
+ }
2895
+ //#endregion
2896
+ //#region src/compositions/signalControls.tsx
2897
+ function Gn({ locale: e, ...t }) {
2898
+ let n = e === "de", r = n ? "Darstellung und Sprache" : "Appearance and language";
2899
+ return /* @__PURE__ */ b(Ut, {
2900
+ ...t,
2901
+ currentLanguage: e,
2902
+ languages: [{
2903
+ code: "en",
2904
+ label: "EN"
2905
+ }, {
2906
+ code: "de",
2907
+ label: "DE"
2908
+ }],
2909
+ labels: {
2910
+ openMenu: r,
2911
+ theme: n ? "Design" : "Theme",
2912
+ language: n ? "Sprache" : "Language",
2913
+ signIn: n ? "Anmelden" : "Sign in",
2914
+ signOut: n ? "Abmelden" : "Sign out",
2915
+ themes: {
2916
+ system: "System",
2917
+ light: n ? "Hell" : "Light",
2918
+ dark: n ? "Dunkel" : "Dark"
2919
+ }
2920
+ },
2921
+ trigger: /* @__PURE__ */ x("button", {
2922
+ type: "button",
2923
+ className: "signal-control signal-preferences",
2924
+ "aria-label": r,
2925
+ children: [/* @__PURE__ */ x("svg", {
2926
+ viewBox: "0 0 24 24",
2927
+ "aria-hidden": "true",
2928
+ children: [/* @__PURE__ */ b("circle", {
2929
+ cx: "12",
2930
+ cy: "12",
2931
+ r: "8.5"
2932
+ }), /* @__PURE__ */ b("path", { d: "M3.5 12h17M12 3.5c4.5 4.5 4.5 12.5 0 17-4.5-4.5-4.5-12.5 0-17Z" })]
2933
+ }), /* @__PURE__ */ b("span", { children: t.identity?.name.trim().charAt(0).toUpperCase() ?? e.toUpperCase() })]
2934
+ })
2935
+ });
2936
+ }
2937
+ function Kn({ label: t, onOpen: n, className: r }) {
2938
+ return /* @__PURE__ */ x("button", {
2939
+ type: "button",
2940
+ className: e("signal-control signal-search", r),
2941
+ onClick: n,
2942
+ "aria-label": t,
2943
+ children: [
2944
+ /* @__PURE__ */ b(Y, {}),
2945
+ /* @__PURE__ */ b("span", { children: t }),
2946
+ /* @__PURE__ */ b("kbd", {
2947
+ "aria-hidden": "true",
2948
+ children: "⌘ K"
2949
+ })
2950
+ ]
2951
+ });
2952
+ }
2953
+ function qn({ children: t, className: n, ...r }) {
2954
+ return /* @__PURE__ */ x("a", {
2955
+ ...r,
2956
+ className: e("signal-control signal-header-action", n),
2957
+ children: [/* @__PURE__ */ b("span", { children: t }), /* @__PURE__ */ b("svg", {
2958
+ viewBox: "0 0 24 24",
2959
+ "aria-hidden": "true",
2960
+ children: /* @__PURE__ */ b("path", { d: "M4 12h15m-6-6 6 6-6 6" })
2961
+ })]
2962
+ });
2963
+ }
2964
+ //#endregion
2965
+ //#region src/compositions/signalHeader.tsx
2966
+ function Jn({ brand: t, links: n, navigationLabel: r, menuLabel: i, menuTitle: a, menuLinks: o, utilities: s, navigationAction: c, className: l, sticky: u = !1 }) {
2967
+ let [d, f] = v(!1), [p, g] = v(!1), y = _(null), S = _(null), C = _(null), w = h();
2968
+ m(() => {
2969
+ if (!u) return;
2970
+ let e = () => g(window.scrollY > 24);
2971
+ return e(), window.addEventListener("scroll", e, { passive: !0 }), () => window.removeEventListener("scroll", e);
2972
+ }, [u]);
2973
+ let T = (e) => {
2974
+ e && C.current && (C.current.style.transform = `translateX(${e.offsetLeft - 5}px) scaleX(${e.offsetWidth / 100})`);
2975
+ };
2976
+ return m(() => {
2977
+ let e = y.current;
2978
+ if (!e) return;
2979
+ let t = () => T(S.current), n = new ResizeObserver(t);
2980
+ return n.observe(e), t(), () => n.disconnect();
2981
+ }, []), m(() => {
2982
+ if (!d) return;
2983
+ let e = (e) => {
2984
+ e.target instanceof Node && !y.current?.contains(e.target) && f(!1);
2985
+ };
2986
+ return document.addEventListener("pointerdown", e), () => document.removeEventListener("pointerdown", e);
2987
+ }, [d]), /* @__PURE__ */ b("header", {
2988
+ ref: y,
2989
+ className: e("signal-masthead", u && "signal-masthead-sticky", l),
2990
+ "data-scrolled": u && p,
2991
+ onKeyDown: (e) => {
2992
+ e.key === "Escape" && d && (f(!1), S.current?.focus());
2993
+ },
2994
+ onBlur: (e) => {
2995
+ e.currentTarget.contains(e.relatedTarget) || f(!1);
2996
+ },
2997
+ children: /* @__PURE__ */ x("div", {
2998
+ className: "signal-header signal-shell",
2999
+ children: [
3000
+ /* @__PURE__ */ b("div", {
3001
+ className: "signal-brand",
3002
+ children: t
3003
+ }),
3004
+ /* @__PURE__ */ x("div", {
3005
+ className: "signal-navigation-area",
3006
+ children: [/* @__PURE__ */ x("nav", {
3007
+ className: "signal-navigation",
3008
+ "aria-label": r,
3009
+ onPointerLeave: () => T(S.current),
3010
+ children: [
3011
+ /* @__PURE__ */ b("span", {
3012
+ ref: C,
3013
+ className: "signal-nav-marker",
3014
+ "aria-hidden": "true"
3015
+ }),
3016
+ /* @__PURE__ */ x("button", {
3017
+ ref: S,
3018
+ className: "signal-nav-item",
3019
+ type: "button",
3020
+ "aria-expanded": d,
3021
+ "aria-controls": w,
3022
+ onClick: () => f(!d),
3023
+ onPointerEnter: (e) => T(e.currentTarget),
3024
+ onFocus: (e) => T(e.currentTarget),
3025
+ children: [
3026
+ /* @__PURE__ */ b("span", {
3027
+ className: "signal-nav-dot",
3028
+ "aria-hidden": "true"
3029
+ }),
3030
+ i,
3031
+ /* @__PURE__ */ b("svg", {
3032
+ viewBox: "0 0 16 16",
3033
+ "aria-hidden": "true",
3034
+ children: /* @__PURE__ */ b("path", { d: "m4 6 4 4 4-4" })
3035
+ })
3036
+ ]
3037
+ }),
3038
+ n.map((e) => /* @__PURE__ */ x("a", {
3039
+ href: e.href,
3040
+ className: "signal-nav-item",
3041
+ "aria-current": e.current ? "page" : void 0,
3042
+ onPointerEnter: (e) => T(e.currentTarget),
3043
+ onFocus: (e) => T(e.currentTarget),
3044
+ children: [e.label, /* @__PURE__ */ b("svg", {
3045
+ viewBox: "0 0 24 24",
3046
+ "aria-hidden": "true",
3047
+ children: /* @__PURE__ */ b("path", { d: "M6 18 18 6M6 6h12v12" })
3048
+ })]
3049
+ }, e.href)),
3050
+ c
3051
+ ]
3052
+ }), s && /* @__PURE__ */ b("div", {
3053
+ className: "signal-header-utilities",
3054
+ children: s
3055
+ })]
3056
+ }),
3057
+ /* @__PURE__ */ x("nav", {
3058
+ id: w,
3059
+ className: "signal-menu",
3060
+ "aria-label": i,
3061
+ hidden: !d,
3062
+ children: [/* @__PURE__ */ b("div", {
3063
+ className: "signal-menu-intro",
3064
+ children: a
3065
+ }), /* @__PURE__ */ b("div", {
3066
+ className: "signal-menu-links",
3067
+ children: o.map((e) => /* @__PURE__ */ x("a", {
3068
+ href: e.href,
3069
+ onClick: () => f(!1),
3070
+ children: [/* @__PURE__ */ x("span", { children: [e.label, e.description && /* @__PURE__ */ b("small", { children: e.description })] }), /* @__PURE__ */ b("svg", {
3071
+ viewBox: "0 0 24 24",
3072
+ "aria-hidden": "true",
3073
+ children: /* @__PURE__ */ b("path", { d: "M6 18 18 6M6 6h12v12" })
3074
+ })]
3075
+ }, e.href))
3076
+ })]
3077
+ })
3078
+ ]
3079
+ })
3080
+ });
3081
+ }
3082
+ //#endregion
3083
+ //#region src/index.ts
3084
+ var Yn = "framework-ui-shadcn";
2651
3085
  //#endregion
2652
- export { rn as AnimatedNumber, Pt as AppShell, ht as ArrowReturnIcon, me as Avatar, de as Badge, et as BellIcon, Jt as Bento, Yt as BentoCell, at as BotIcon, Qe as BroadcastIcon, nt as BuildingIcon, F as Button, Tn as Callout, I as Card, oe as CardContent, ae as CardDescription, se as CardFooter, L as CardHeader, R as CardTitle, xt as ChartIcon, le as Checkbox, pt as ChevronLeftIcon, mt as ChevronRightIcon, dt as CloudIcon, On as CodeBlock, tn as CodeCompare, Sn as CodeWindow, tt as CogIcon, Je as CompassIcon, rt as DatabaseIcon, _e as Dialog, be as DialogDescription, xe as DialogFooter, ve as DialogHeader, ye as DialogTitle, vt as DiscordIcon, Pn as DocCard, Nn as DocCards, Ke as DocShell, Mt as DocsLayout, Ae as DropdownMenu, H as DropdownMenuContent, Me as DropdownMenuGroup, W as DropdownMenuItem, Fe as DropdownMenuLabel, Ne as DropdownMenuPortal, Pe as DropdownMenuRadioGroup, Le as DropdownMenuRadioItem, U as DropdownMenuSeparator, je as DropdownMenuTrigger, We as FeatureGrid, Ze as FileIcon, Xe as FolderIcon, gt as GitHubIcon, ut as GlobeIcon, _n as GridOverlay, Ue as HeroSection, $ as HighlightedCode, ft as HomeIcon, lt as HookIcon, z as Input, j as LOCALE_COOKIE, B as Label, cn as LandingCta, Kt as LandingHero, an as LandingStats, st as LayersIcon, yt as LinkedInIcon, Be as LocaleSwitcher, it as LockIcon, He as LoginCard, gn as MeshBackdrop, Ye as PackageIcon, Z as PageHeader, $e as PencilIcon, Vt as ProfileMenu, ct as PuzzleIcon, qe as RocketIcon, bt as RssIcon, Xt as SHIKI_LANGS, Cn as ScrollReveal, Y as SearchIcon, Ln as SearchModal, Rn as SearchTrigger, ge as Select, fe as Separator, pn as SiteFooter, he as Skeleton, xn as Sparkles, hn as StatusBadge, An as Step, kn as Steps, A as THEME_COOKIE, Se as Tabs, Te as TabsContent, Ce as TabsList, we as TabsTrigger, ot as TerminalIcon, ce as Textarea, Ut as ThemeToggle, De as Toast, ke as ToastDescription, Oe as ToastTitle, Fn as TocScrollSpy, Re as Toggle, K as ToggleGroup, q as ToggleGroupItem, zn as UI_SHADCN_NAME, t as VOLTRO_BOLT_PATH, n as VOLTRO_VIOLET, r as VoltroIcon, i as VoltroMark, a as VoltroWordmark, _t as XIcon, re as applyTheme, ue as badgeVariants, ie as buttonVariants, e as cn, te as deleteCookie, N as getCookie, ne as parsePreferenceCookies, P as setCookie, k as shadcnWidgets, Ht as themeBootScript, G as toggleVariants, Qt as whenHighlighterReady };
3086
+ export { on as AnimatedNumber, It as AppShell, gt as ArrowReturnIcon, me as Avatar, i as Badge, tt as BellIcon, Xt as Bento, Zt as BentoCell, ot as BotIcon, $e as BroadcastIcon, rt as BuildingIcon, R as Button, Dn as Callout, z as Card, oe as CardContent, ae as CardDescription, se as CardFooter, B as CardHeader, V as CardTitle, St as ChartIcon, ue as Checkbox, mt as ChevronLeftIcon, ht as ChevronRightIcon, ft as CloudIcon, An as CodeBlock, rn as CodeCompare, wn as CodeWindow, nt as CogIcon, Ye as CompassIcon, it as DatabaseIcon, _e as Dialog, be as DialogDescription, xe as DialogFooter, ve as DialogHeader, ye as DialogTitle, yt as DiscordIcon, In as DocCard, Fn as DocCards, qe as DocShell, Pt as DocsLayout, je as DropdownMenu, H as DropdownMenuContent, Ne as DropdownMenuGroup, W as DropdownMenuItem, Ie as DropdownMenuLabel, Pe as DropdownMenuPortal, Fe as DropdownMenuRadioGroup, Re as DropdownMenuRadioItem, U as DropdownMenuSeparator, Me as DropdownMenuTrigger, Ge as FeatureGrid, Qe as FileIcon, Ze as FolderIcon, _t as GitHubIcon, dt as GlobeIcon, yn as GridOverlay, We as HeroSection, Q as HighlightedCode, pt as HomeIcon, ut as HookIcon, ce as Input, P as LOCALE_COOKIE, de as Label, un as LandingCta, Jt as LandingHero, sn as LandingStats, ct as LayersIcon, bt as LinkedInIcon, Ve as LocaleSwitcher, at as LockIcon, Ue as LoginCard, vn as MeshBackdrop, Xe as PackageIcon, Ct as PageHeader, et as PencilIcon, Ut as ProfileMenu, lt as PuzzleIcon, Je as RocketIcon, xt as RssIcon, Qt as SHIKI_LANGS, Tn as ScrollReveal, Y as SearchIcon, zn as SearchModal, Bn as SearchTrigger, ge as Select, fe as Separator, Wn as SignalField, Jn as SignalHeader, qn as SignalHeaderAction, Gn as SignalPreferences, Kn as SignalSearch, hn as SiteFooter, he as Skeleton, Cn as Sparkles, _n as StatusBadge, Mn as Step, jn as Steps, N as THEME_CHANGE_EVENT, M as THEME_COOKIE, Ce as Tabs, Ee as TabsContent, we as TabsList, Te as TabsTrigger, st as TerminalIcon, le as Textarea, Gt as ThemeToggle, Oe as Toast, Ae as ToastDescription, ke as ToastTitle, Ln as TocScrollSpy, ze as Toggle, K as ToggleGroup, q as ToggleGroupItem, Yn as UI_SHADCN_NAME, s as VOLTRO_BOLT_PATH, r as VOLTRO_VIOLET, a as VoltroIcon, n as VoltroMark, t as VoltroWordmark, vt as XIcon, L as applyTheme, o as badgeVariants, ie as buttonVariants, e as cn, ne as deleteCookie, F as getCookie, re as parsePreferenceCookies, I as setCookie, j as shadcnWidgets, Wt as themeBootScript, G as toggleVariants, en as whenHighlighterReady };