@talogic/react 0.9.0 → 0.10.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/index.js CHANGED
@@ -3,18 +3,18 @@ import { twMerge as t } from "tailwind-merge";
3
3
  import { Fragment as n, jsx as r, jsxs as i } from "react/jsx-runtime";
4
4
  import { Accordion as a, AlertDialog as o, Avatar as s, Checkbox as c, Collapsible as l, ContextMenu as u, Dialog as d, DropdownMenu as f, Label as p, Menubar as m, NavigationMenu as h, Popover as g, Portal as _, Progress as v, RadioGroup as y, ScrollArea as b, Select as x, Separator as ee, Slider as S, Slot as C, Switch as w, Tabs as T, ToggleGroup as E, Tooltip as D } from "radix-ui";
5
5
  import { cva as O } from "class-variance-authority";
6
- import { Ban as te, Bookmark as ne, Check as k, ChevronDown as A, ChevronRight as re, ChevronsLeft as j, ChevronsRight as ie, ChevronsUpDown as ae, CircleCheck as oe, Ellipsis as se, Info as M, LoaderCircle as ce, Mic as N, Minus as le, PanelLeft as ue, Pause as de, Play as fe, Plus as pe, Search as me, Square as he, TriangleAlert as ge, Upload as _e, X as P } from "lucide-react";
7
- import { cloneElement as ve, createContext as ye, isValidElement as be, use as xe, useCallback as F, useContext as Se, useEffect as I, useId as Ce, useLayoutEffect as we, useMemo as Te, useRef as L, useState as R, useSyncExternalStore as Ee } from "react";
8
- import { Drawer as z } from "vaul";
9
- import { Command as B } from "cmdk";
10
- import { Toaster as De } from "sonner";
11
- import { Group as Oe, Panel as ke, Separator as Ae } from "react-resizable-panels";
6
+ import { Ban as te, Bookmark as ne, Check as k, ChevronDown as A, ChevronRight as re, ChevronsLeft as ie, ChevronsRight as ae, ChevronsUpDown as oe, CircleCheck as se, Ellipsis as ce, Info as j, LoaderCircle as le, Mic as M, Minus as ue, PanelLeft as de, Pause as fe, Play as pe, Plus as me, Search as he, Square as ge, TriangleAlert as _e, Upload as ve, X as N } from "lucide-react";
7
+ import { cloneElement as ye, createContext as be, isValidElement as xe, use as Se, useCallback as P, useContext as Ce, useEffect as F, useId as we, useLayoutEffect as Te, useMemo as Ee, useRef as I, useState as L, useSyncExternalStore as De } from "react";
8
+ import { Drawer as R } from "vaul";
9
+ import { Command as z } from "cmdk";
10
+ import { Toaster as Oe } from "sonner";
11
+ import { Group as ke, Panel as Ae, Separator as je } from "react-resizable-panels";
12
12
  // src/class-names/class-names.algorithm.ts
13
- function V(...n) {
13
+ function B(...n) {
14
14
  return t(e(n));
15
15
  }
16
16
  // src/product/product-catalogue.content.ts
17
- var H = {
17
+ var V = {
18
18
  talogic: {
19
19
  name: "talogic",
20
20
  tagline: "Human focused automations.",
@@ -54,7 +54,7 @@ var H = {
54
54
  logoColor: "#3e63dd",
55
55
  logoAccents: ["#e5484d", "#30a46c"]
56
56
  }
57
- }, je = {
57
+ }, Me = {
58
58
  talogic: { light: "data:image/svg+xml,%3csvg%20viewBox='0%200%208534%208534'%20xmlns='http://www.w3.org/2000/svg'%20style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2'%3e%3ccircle%20cx='4266.667'%20cy='4266.667'%20r='4266.667'%20fill='%23753edd'/%3e%3cpath%20d='M6239.492,7179.279c-587.992,403.439%20-1284.858,619.682%20-1998.46,619.682c-1937.781,0%20-3532.333,-1594.553%20-3532.333,-3532.333c0,-1937.781%201594.553,-3532.333%203532.333,-3532.333c1593.826,-0%202999.58,1078.727%203412.017,2618.266c53.557,199.918%20-65.269,405.709%20-265.188,459.266c-199.918,53.557%20-405.709,-65.269%20-459.266,-265.188c-324.867,-1212.657%20-1432.145,-2062.344%20-2687.563,-2062.344c-1526.343,-0%20-2782.333,1255.99%20-2782.333,2782.333c0,1526.343%201255.99,2782.333%202782.333,2782.333c559.652,0%201106.236,-168.857%201568.116,-483.988l-249.007,-355.451l1686.002,-207.645l-771.521,1513.043l-235.13,-335.642Zm-3156.366,-3334.215c39.357,-108.037%20159.021,-163.797%20267.058,-124.44c108.037,39.357%20163.797,159.021%20124.44,267.058c-32.594,89.472%20-49.269,183.965%20-49.269,279.189c0,447.461%20368.205,815.667%20815.667,815.667c447.461,0%20815.667,-368.205%20815.667,-815.667c0,-291.052%20-155.783,-560.872%20-407.844,-706.394c-99.578,-57.49%20-133.749,-185.009%20-76.26,-284.587c57.49,-99.578%20185.009,-133.749%20284.587,-76.26c380.821,219.859%20616.183,627.511%20616.183,1067.242c0,676.038%20-556.295,1232.333%20-1232.333,1232.333c-676.038,0%20-1232.333,-556.295%20-1232.333,-1232.333c0,-143.867%2025.193,-286.63%2074.437,-421.807Zm3319.934,1203.659c-55.039,151.274%20-222.539,229.404%20-373.813,174.364c-151.274,-55.039%20-229.404,-222.539%20-174.364,-373.813c68.47,-188.186%20103.497,-386.907%20103.497,-587.163c0,-942.081%20-775.215,-1717.296%20-1717.296,-1717.296c-942.081,0%20-1717.296,775.215%20-1717.296,1717.296c0,612.741%20327.944,1180.786%20858.578,1487.182c139.405,80.494%20187.233,259.024%20106.739,398.429c-80.494,139.405%20-259.024,187.233%20-398.429,106.739c-710.881,-410.472%20-1150.221,-1171.472%20-1150.221,-1992.349c0,-1262.088%201038.541,-2300.629%202300.629,-2300.629c1262.088,0%202300.629,1038.541%202300.629,2300.629c0,268.278%20-46.926,534.501%20-138.654,786.611Zm-2172.051,-1208.724c229.965,0%20416.667,186.702%20416.667,416.667c0,229.965%20-186.702,416.667%20-416.667,416.667c-229.965,0%20-416.667,-186.702%20-416.667,-416.667c0,-229.965%20186.702,-416.667%20416.667,-416.667Z'%20fill='%23fff'/%3e%3c/svg%3e" },
59
59
  pargic: { light: "data:image/svg+xml,%3csvg%20viewBox='0%200%208534%208534'%20xmlns='http://www.w3.org/2000/svg'%20style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2'%3e%3cpath%20d='M8350.618,5542.197c-16.744,53.324%20-34,106.427%20-51.758,159.296c-44.706,128.857%20-95.419,254.916%20-151.804,377.842l-1503.884,-488.642l-256.17,788.41l-1812.022,-1974.821l2626.74,-532.622l-256.169,788.407l1504.03,488.689c-26.854,133.499%20-59.948,264.752%20-98.963,393.441Zm-8116.145,159.296c-17.758,-52.869%20-35.014,-105.971%20-51.758,-159.296c-39.015,-128.688%20-72.108,-259.939%20-98.962,-393.437l1504.031,-488.689l-256.17,-788.41l2626.728,532.584l-1812.01,1974.86l-256.169,-788.407l-1503.884,488.641c-56.385,-122.927%20-107.099,-248.988%20-151.806,-377.846Zm1936.602,-5114.117l929.208,1278.945l670.662,-487.264l305.186,2662.744l-2438.145,-1113.059l670.659,-487.262l-928.662,-1278.193c239.997,-220.72%20505.322,-414.318%20791.092,-575.911Zm4982.272,575.908l-928.662,1278.194l670.662,487.264l-2438.112,1113.082l305.153,-2662.768l670.659,487.262l929.208,-1278.945c285.77,161.593%20551.095,355.19%20791.092,575.91Zm-3375.938,7379.666l0,-1581.091l-828.984,0l1318.221,-2333.589l1318.261,2333.589l-828.98,0l0,1581.091c-160.561,18.364%20-323.818,27.801%20-489.261,27.801c-165.442,0%20-328.698,-9.437%20-489.257,-27.801Z'%20fill='%23dd773e'/%3e%3c/svg%3e" },
60
60
  daygic: { light: "data:image/svg+xml,%3csvg%20viewBox='0%200%208534%208534'%20xmlns='http://www.w3.org/2000/svg'%20style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2'%3e%3cpath%20d='M4266.667,0c513.234,0%20929.915,416.681%20929.915,929.915l0,1969.231c0,513.234%20-416.681,929.915%20-929.915,929.915c-513.234,0%20-929.915,-416.681%20-929.915,-929.915l0,-1969.231c0,-513.234%20416.681,-929.915%20929.915,-929.915Zm3884.531,2899.145c256.617,444.474%20104.101,1013.67%20-340.372,1270.287l-1136.936,656.41c-444.474,256.617%20-1013.67,104.101%20-1270.287,-340.372c-256.617,-444.474%20-104.101,-1013.67%20340.372,-1270.287l1136.936,-656.41c444.474,-256.617%201013.67,-104.101%201270.287,340.372Zm-568.468,4157.265c-256.617,444.474%20-825.813,596.989%20-1270.287,340.372l-568.468,-328.205c-444.474,-256.617%20-596.989,-825.813%20-340.372,-1270.287c256.617,-444.474%20825.813,-596.989%201270.287,-340.372l568.468,328.205c444.474,256.617%20596.989,825.813%20340.372,1270.287Zm-3316.063,1476.923c-513.234,0%20-929.915,-416.681%20-929.915,-929.915l0,-218.803c0,-513.234%20416.681,-929.915%20929.915,-929.915c513.234,0%20929.915,416.681%20929.915,929.915l0,218.803c0,513.234%20-416.681,929.915%20-929.915,929.915Zm-3316.063,-1476.923c-256.617,-444.474%20-104.101,-1013.67%20340.372,-1270.287l568.468,-328.205c444.474,-256.617%201013.67,-104.101%201270.287,340.372c256.617,444.474%20104.101,1013.67%20-340.372,1270.287l-568.468,328.205c-444.474,256.617%20-1013.67,104.101%20-1270.287,-340.372Zm-568.468,-4157.265c256.617,-444.474%20825.813,-596.989%201270.287,-340.372l1136.936,656.41c444.474,256.617%20596.989,825.813%20340.372,1270.287c-256.617,444.474%20-825.813,596.989%20-1270.287,340.372l-1136.936,-656.41c-444.474,-256.617%20-596.989,-825.813%20-340.372,-1270.287Z'%20fill='%23c8902e'/%3e%3ccircle%20cx='4266.667'%20cy='5141.88'%20r='984.615'%20fill='%239a6a1c'/%3e%3c/svg%3e" },
@@ -68,19 +68,19 @@ var H = {
68
68
  dark: "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20width='100%25'%20height='100%25'%20viewBox='0%200%208534%208534'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20xml:space='preserve'%20xmlns:affinity='https://www.affinity.studio/'%20style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;'%3e%3crect%20id='loomgic-symbol-dark'%20x='0'%20y='0'%20width='8533.333'%20height='8533.333'%20style='fill:none;'/%3e%3cclipPath%20id='_clip1'%3e%3crect%20x='0'%20y='0'%20width='8533.333'%20height='8533.333'/%3e%3c/clipPath%3e%3cg%20clip-path='url(%23_clip1)'%3e%3cpath%20d='M7950,3683.287c321.95,0%20583.333,261.383%20583.333,583.333c0,321.95%20-261.383,583.333%20-583.333,583.333l-7366.667,0c-321.95,0%20-583.333,-261.383%20-583.333,-583.333c0,-321.95%20261.383,-583.333%20583.333,-583.333l7366.667,0Z'%20style='fill:%23979797;'/%3e%3cpath%20d='M6062.5,474.953c321.95,0%20583.333,261.383%20583.333,583.333l0,6416.667c0,321.95%20-261.383,583.333%20-583.333,583.333c-321.95,0%20-583.333,-261.383%20-583.333,-583.333l-0,-6416.667c0,-321.95%20261.383,-583.333%20583.333,-583.333Z'%20style='fill:%233e63dd;'/%3e%3cpath%20d='M2470.833,474.953c321.95,0%20583.333,261.383%20583.333,583.333l0,6416.667c0,321.95%20-261.383,583.333%20-583.333,583.333c-321.95,0%20-583.333,-261.383%20-583.333,-583.333l-0,-6416.667c0,-321.95%20261.383,-583.333%20583.333,-583.333Z'%20style='fill:%23e5484d;'/%3e%3cpath%20d='M7475,1887.453c321.95,0%20583.333,261.383%20583.333,583.333c0,321.95%20-261.383,583.333%20-583.333,583.333l-6416.667,0c-321.95,0%20-583.333,-261.383%20-583.333,-583.333c0,-321.95%20261.383,-583.333%20583.333,-583.333l6416.667,0Z'%20style='fill:%23979797;'/%3e%3cpath%20d='M7475,5479.12c321.95,0%20583.333,261.383%20583.333,583.333c0,321.95%20-261.383,583.333%20-583.333,583.333l-6416.667,0c-321.95,0%20-583.333,-261.383%20-583.333,-583.333c0,-321.95%20261.383,-583.333%20583.333,-583.333l6416.667,0Z'%20style='fill:%23979797;'/%3e%3cpath%20d='M4266.667,-0.047c321.95,0%20583.333,261.383%20583.333,583.333l0,7366.667c0,321.95%20-261.383,583.333%20-583.333,583.333c-321.95,0%20-583.333,-261.383%20-583.333,-583.333l0,-7366.667c0,-321.95%20261.383,-583.333%20583.333,-583.333Z'%20style='fill:%2330a46c;'/%3e%3crect%20x='3365.106'%20y='3683.287'%20width='1799.257'%20height='1166.667'%20style='fill:%23979797;'/%3e%3c/g%3e%3c/svg%3e"
69
69
  }
70
70
  };
71
- function U({ product: e, alt: t = H[e].name, className: a, ...o }) {
72
- let { light: s, dark: c } = je[e], l = V("size-6 shrink-0 object-contain", a);
71
+ function H({ product: e, alt: t = V[e].name, className: a, ...o }) {
72
+ let { light: s, dark: c } = Me[e], l = B("size-6 shrink-0 object-contain", a);
73
73
  return c ? /* @__PURE__ */ i(n, { children: [/* @__PURE__ */ r("img", {
74
74
  "data-slot": "product-logo",
75
75
  src: s,
76
76
  alt: t,
77
- className: V(l, "dark:hidden"),
77
+ className: B(l, "dark:hidden"),
78
78
  ...o
79
79
  }), /* @__PURE__ */ r("img", {
80
80
  "data-slot": "product-logo",
81
81
  src: c,
82
82
  alt: t,
83
- className: V(l, "hidden dark:block"),
83
+ className: B(l, "hidden dark:block"),
84
84
  ...o
85
85
  })] }) : /* @__PURE__ */ r("img", {
86
86
  "data-slot": "product-logo",
@@ -91,7 +91,7 @@ function U({ product: e, alt: t = H[e].name, className: a, ...o }) {
91
91
  });
92
92
  }
93
93
  // src/tokens/apca-contrast.algorithm.ts
94
- var W = {
94
+ var U = {
95
95
  mainTrc: 2.4,
96
96
  red: .2126729,
97
97
  green: .7151522,
@@ -106,8 +106,8 @@ var W = {
106
106
  lowOffset: .027,
107
107
  deltaYMin: 5e-4,
108
108
  lowClip: .1
109
- }, Me = ["#14121a", "#ffffff"];
110
- function Ne(e) {
109
+ }, Ne = ["#14121a", "#ffffff"];
110
+ function Pe(e) {
111
111
  let t = e.replace("#", "").trim(), n = t.length === 3 ? [...t].map((e) => e.repeat(2)).join("") : t;
112
112
  if (!/^[\da-f]{6}$/i.test(n)) throw RangeError(`Not a hex colour: ${e}`);
113
113
  return [
@@ -116,32 +116,32 @@ function Ne(e) {
116
116
  4
117
117
  ].map((e) => Number.parseInt(n.slice(e, e + 2), 16));
118
118
  }
119
- function Pe(e) {
120
- let [t, n, r] = Ne(e).map((e) => (e / 255) ** W.mainTrc), i = W.red * t + W.green * n + W.blue * r;
121
- return i < W.blackThresh ? i + (W.blackThresh - i) ** W.blackClamp : i;
119
+ function Fe(e) {
120
+ let [t, n, r] = Pe(e).map((e) => (e / 255) ** U.mainTrc), i = U.red * t + U.green * n + U.blue * r;
121
+ return i < U.blackThresh ? i + (U.blackThresh - i) ** U.blackClamp : i;
122
122
  }
123
- function Fe(e, t) {
124
- let n = Pe(e), r = Pe(t);
125
- if (Math.abs(r - n) < W.deltaYMin) return 0;
123
+ function Ie(e, t) {
124
+ let n = Fe(e), r = Fe(t);
125
+ if (Math.abs(r - n) < U.deltaYMin) return 0;
126
126
  if (r > n) {
127
- let e = (r ** W.normBg - n ** W.normText) * W.scale;
128
- return e < W.lowClip ? 0 : (e - W.lowOffset) * 100;
127
+ let e = (r ** U.normBg - n ** U.normText) * U.scale;
128
+ return e < U.lowClip ? 0 : (e - U.lowOffset) * 100;
129
129
  }
130
- let i = (r ** W.revBg - n ** W.revText) * W.scale;
131
- return i > -W.lowClip ? 0 : (i + W.lowOffset) * 100;
130
+ let i = (r ** U.revBg - n ** U.revText) * U.scale;
131
+ return i > -U.lowClip ? 0 : (i + U.lowOffset) * 100;
132
132
  }
133
- function Ie(e, t = Me) {
133
+ function Le(e, t = Ne) {
134
134
  let n = t[0];
135
135
  if (n === void 0) throw RangeError("No label colour to choose from");
136
- let r = Math.abs(Fe(n, e));
136
+ let r = Math.abs(Ie(n, e));
137
137
  for (let i of t.slice(1)) {
138
- let t = Math.abs(Fe(i, e));
138
+ let t = Math.abs(Ie(i, e));
139
139
  t > r && (n = i, r = t);
140
140
  }
141
141
  return n;
142
142
  }
143
143
  // src/tokens/hue-fill.style.ts
144
- var G = {
144
+ var W = {
145
145
  red: "bg-red-500",
146
146
  orange: "bg-orange-500",
147
147
  amber: "bg-amber-500",
@@ -154,7 +154,7 @@ var G = {
154
154
  violet: "bg-violet-500",
155
155
  purple: "bg-purple-500",
156
156
  pink: "bg-pink-500"
157
- }, Le = {
157
+ }, Re = {
158
158
  red: {
159
159
  50: "#fef4f3",
160
160
  100: "#fee9e7",
@@ -311,24 +311,24 @@ var G = {
311
311
  900: "#531b39",
312
312
  950: "#331123"
313
313
  }
314
- }, K = {
314
+ }, G = {
315
315
  saturation: .7,
316
316
  lightness: .55,
317
317
  maxOklchLightness: .7,
318
318
  lightnessStep: .005
319
319
  };
320
- function Re(e) {
320
+ function ze(e) {
321
321
  return [
322
322
  1,
323
323
  3,
324
324
  5
325
325
  ].map((t) => Number.parseInt(e.slice(t, t + 2), 16) / 255);
326
326
  }
327
- function ze(e) {
328
- let [t, n, r] = Re(e), i = Math.max(t, n, r), a = i - Math.min(t, n, r);
327
+ function Be(e) {
328
+ let [t, n, r] = ze(e), i = Math.max(t, n, r), a = i - Math.min(t, n, r);
329
329
  return a === 0 ? 0 : ((i === t ? (n - r) / a % 6 : i === n ? (r - t) / a + 2 : (t - n) / a + 4) * 60 + 360) % 360;
330
330
  }
331
- function Be(e, t, n) {
331
+ function Ve(e, t, n) {
332
332
  let r = (1 - Math.abs(2 * n - 1)) * t, i = r * (1 - Math.abs(e / 60 % 2 - 1)), a = n - r / 2, o = Math.floor(e / 60) % 6;
333
333
  return `#${([
334
334
  [
@@ -367,24 +367,24 @@ function Be(e, t, n) {
367
367
  0
368
368
  ]).map((e) => Math.round((e + a) * 255).toString(16).padStart(2, "0")).join("")}`;
369
369
  }
370
- function Ve(e) {
371
- let [t, n, r] = Re(e).map((e) => e <= .04045 ? e / 12.92 : ((e + .055) / 1.055) ** 2.4), i = Math.cbrt(.4122214708 * t + .5363325363 * n + .0514459929 * r), a = Math.cbrt(.2119034982 * t + .6806995451 * n + .1073969566 * r), o = Math.cbrt(.0883024619 * t + .2817188376 * n + .6299787005 * r);
370
+ function He(e) {
371
+ let [t, n, r] = ze(e).map((e) => e <= .04045 ? e / 12.92 : ((e + .055) / 1.055) ** 2.4), i = Math.cbrt(.4122214708 * t + .5363325363 * n + .0514459929 * r), a = Math.cbrt(.2119034982 * t + .6806995451 * n + .1073969566 * r), o = Math.cbrt(.0883024619 * t + .2817188376 * n + .6299787005 * r);
372
372
  return .2104542553 * i + .793617785 * a - .0040720468 * o;
373
373
  }
374
- function He(e) {
375
- let t = ze(Le[e][500]), n = K.lightness, r = Be(t, K.saturation, n);
376
- for (; Ve(r) > K.maxOklchLightness;) n -= K.lightnessStep, r = Be(t, K.saturation, n);
374
+ function Ue(e) {
375
+ let t = Be(Re[e][500]), n = G.lightness, r = Ve(t, G.saturation, n);
376
+ for (; He(r) > G.maxOklchLightness;) n -= G.lightnessStep, r = Ve(t, G.saturation, n);
377
377
  return r;
378
378
  }
379
379
  // src/tokens/product-hue.policy.ts
380
- var Ue = {
380
+ var We = {
381
381
  talogic: "violet",
382
382
  pargic: "orange",
383
383
  daygic: "amber",
384
384
  ingic: "blue",
385
385
  loregic: "green",
386
386
  loomgic: "blue"
387
- }, We = [
387
+ }, Ge = [
388
388
  "lime",
389
389
  "teal",
390
390
  "cyan",
@@ -392,18 +392,18 @@ var Ue = {
392
392
  "purple",
393
393
  "pink"
394
394
  ];
395
- function Ge(e) {
396
- return Ue[e];
395
+ function Ke(e) {
396
+ return We[e];
397
397
  }
398
398
  // src/tokens/theme.contract.ts
399
- var Ke = [
399
+ var qe = [
400
400
  "talogic",
401
401
  "pargic",
402
402
  "daygic",
403
403
  "ingic",
404
404
  "loregic",
405
405
  "loomgic"
406
- ], qe = [
406
+ ], Je = [
407
407
  "red",
408
408
  "orange",
409
409
  "amber",
@@ -416,7 +416,7 @@ var Ke = [
416
416
  "violet",
417
417
  "purple",
418
418
  "pink"
419
- ], Je = [
419
+ ], Ye = [
420
420
  "50",
421
421
  "100",
422
422
  "200",
@@ -428,20 +428,20 @@ var Ke = [
428
428
  "800",
429
429
  "900",
430
430
  "950"
431
- ], Ye = [
431
+ ], Xe = [
432
432
  "web",
433
433
  "app",
434
434
  "desk",
435
435
  "mob"
436
- ], Xe = ["light", "dark"];
436
+ ], Ze = ["light", "dark"];
437
437
  // src/tokens/theme-attributes.mapper.ts
438
- function Ze(e) {
438
+ function Qe(e) {
439
439
  let t = { className: [e.scheme === "dark" ? "dark" : "", e.density ? `d-${e.density}` : ""].filter(Boolean).join(" ") };
440
440
  return e.product && (t["data-product"] = e.product), e.hue && (t["data-hue"] = e.hue), t;
441
441
  }
442
442
  // src/tokens/theme-root.component.tsx
443
- function Qe({ product: e, hue: t, scheme: n, density: i, asChild: a = !1, className: o, ...s }) {
444
- let { className: c, ...l } = Ze({
443
+ function $e({ product: e, hue: t, scheme: n, density: i, asChild: a = !1, className: o, ...s }) {
444
+ let { className: c, ...l } = Qe({
445
445
  product: e,
446
446
  hue: t,
447
447
  scheme: n,
@@ -449,35 +449,35 @@ function Qe({ product: e, hue: t, scheme: n, density: i, asChild: a = !1, classN
449
449
  }), u = a ? C.Root : "div";
450
450
  return /* @__PURE__ */ r(u, {
451
451
  "data-slot": "theme-root",
452
- className: V(c, o),
452
+ className: B(c, o),
453
453
  ...l,
454
454
  ...s
455
455
  });
456
456
  }
457
457
  // src/ui/avatar/avatar.component.tsx
458
- function $e({ className: e, ...t }) {
458
+ function et({ className: e, ...t }) {
459
459
  return /* @__PURE__ */ r(s.Root, {
460
460
  "data-slot": "avatar",
461
- className: V("relative flex size-8 shrink-0 overflow-hidden rounded-full", e),
461
+ className: B("relative flex size-8 shrink-0 overflow-hidden rounded-full", e),
462
462
  ...t
463
463
  });
464
464
  }
465
- function et({ className: e, ...t }) {
465
+ function tt({ className: e, ...t }) {
466
466
  return /* @__PURE__ */ r(s.Image, {
467
467
  "data-slot": "avatar-image",
468
- className: V("aspect-square size-full object-cover", e),
468
+ className: B("aspect-square size-full object-cover", e),
469
469
  ...t
470
470
  });
471
471
  }
472
- function tt({ className: e, ...t }) {
472
+ function nt({ className: e, ...t }) {
473
473
  return /* @__PURE__ */ r(s.Fallback, {
474
474
  "data-slot": "avatar-fallback",
475
- className: V("flex size-full items-center justify-center rounded-full bg-brand-soft text-xs font-semibold text-brand-text", e),
475
+ className: B("flex size-full items-center justify-center rounded-full bg-brand-soft text-xs font-semibold text-brand-text", e),
476
476
  ...t
477
477
  });
478
478
  }
479
479
  // src/ui/badge/badge.recipe.ts
480
- var nt = O("inline-flex h-[22px] shrink-0 items-center gap-[5px] whitespace-nowrap rounded-full border border-transparent px-2 text-xs font-medium [&_svg]:size-3", {
480
+ var rt = O("inline-flex h-[22px] shrink-0 items-center gap-[5px] whitespace-nowrap rounded-full border border-transparent px-2 text-xs font-medium [&_svg]:size-3", {
481
481
  variants: { variant: {
482
482
  default: "bg-primary text-primary-foreground",
483
483
  secondary: "bg-secondary text-secondary-foreground",
@@ -491,10 +491,10 @@ var nt = O("inline-flex h-[22px] shrink-0 items-center gap-[5px] whitespace-nowr
491
491
  defaultVariants: { variant: "default" }
492
492
  });
493
493
  // src/ui/badge/badge.component.tsx
494
- function q({ className: e, variant: t, dot: n = !1, children: a, ...o }) {
494
+ function K({ className: e, variant: t, dot: n = !1, children: a, ...o }) {
495
495
  return /* @__PURE__ */ i("span", {
496
496
  "data-slot": "badge",
497
- className: V(nt({ variant: t }), e),
497
+ className: B(rt({ variant: t }), e),
498
498
  ...o,
499
499
  children: [n && /* @__PURE__ */ r("span", {
500
500
  "aria-hidden": "true",
@@ -503,7 +503,7 @@ function q({ className: e, variant: t, dot: n = !1, children: a, ...o }) {
503
503
  });
504
504
  }
505
505
  // src/ui/button/button.recipe.ts
506
- var J = O([
506
+ var q = O([
507
507
  "inline-flex shrink-0 cursor-pointer items-center justify-center gap-2 whitespace-nowrap rounded-md border border-transparent font-medium no-underline",
508
508
  "transition-[background-color,border-color,box-shadow,color] duration-150 ease-out outline-none motion-reduce:transition-none",
509
509
  "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
@@ -537,29 +537,29 @@ var J = O([
537
537
  }
538
538
  });
539
539
  // src/ui/button/button.component.tsx
540
- function Y({ className: e, variant: t, size: a, asChild: o = !1, loading: s = !1, disabled: c = s, children: l, ...u }) {
540
+ function J({ className: e, variant: t, size: a, asChild: o = !1, loading: s = !1, disabled: c = s, children: l, ...u }) {
541
541
  let d = o ? C.Root : "button";
542
542
  return /* @__PURE__ */ r(d, {
543
543
  "data-slot": "button",
544
- className: V(J({
544
+ className: B(q({
545
545
  variant: t,
546
546
  size: a
547
547
  }), e),
548
548
  disabled: o ? void 0 : c,
549
549
  "aria-busy": s || void 0,
550
550
  ...u,
551
- children: s && !o ? /* @__PURE__ */ i(n, { children: [/* @__PURE__ */ r(ce, {
551
+ children: s && !o ? /* @__PURE__ */ i(n, { children: [/* @__PURE__ */ r(le, {
552
552
  className: "animate-spin",
553
553
  "aria-hidden": "true"
554
554
  }), l] }) : l
555
555
  });
556
556
  }
557
557
  // src/ui/choice/checkbox.component.tsx
558
- var rt = "fill-none stroke-current [stroke-dasharray:1] [stroke-linecap:round] [stroke-linejoin:round] [stroke-width:2.4] transition-[stroke-dashoffset] ease-emphasised motion-reduce:transition-none";
559
- function it({ className: e, ...t }) {
558
+ var it = "fill-none stroke-current [stroke-dasharray:1] [stroke-linecap:round] [stroke-linejoin:round] [stroke-width:2.4] transition-[stroke-dashoffset] ease-emphasised motion-reduce:transition-none";
559
+ function at({ className: e, ...t }) {
560
560
  return /* @__PURE__ */ r(c.Root, {
561
561
  "data-slot": "checkbox",
562
- className: V("peer group/checkbox grid size-4 shrink-0 cursor-pointer place-content-center rounded-[4px] border border-input bg-background text-primary-foreground shadow-xs outline-none", "transition-[background-color,border-color] duration-150 motion-reduce:transition-none", "focus-visible:ring-3 focus-visible:ring-ring/25 disabled:cursor-not-allowed disabled:opacity-50", "data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=indeterminate]:border-primary data-[state=indeterminate]:bg-primary", e),
562
+ className: B("peer group/checkbox grid size-4 shrink-0 cursor-pointer place-content-center rounded-[4px] border border-input bg-background text-primary-foreground shadow-xs outline-none", "transition-[background-color,border-color] duration-150 motion-reduce:transition-none", "focus-visible:ring-3 focus-visible:ring-ring/25 disabled:cursor-not-allowed disabled:opacity-50", "data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=indeterminate]:border-primary data-[state=indeterminate]:bg-primary", e),
563
563
  ...t,
564
564
  children: /* @__PURE__ */ r(c.Indicator, {
565
565
  forceMount: !0,
@@ -571,28 +571,28 @@ function it({ className: e, ...t }) {
571
571
  children: [/* @__PURE__ */ r("path", {
572
572
  d: "M3.5 8.5 L6.5 11.5 L12.5 4.5",
573
573
  pathLength: 1,
574
- className: V(rt, "duration-200 [stroke-dashoffset:1] group-data-[state=checked]/checkbox:[stroke-dashoffset:0]")
574
+ className: B(it, "duration-200 [stroke-dashoffset:1] group-data-[state=checked]/checkbox:[stroke-dashoffset:0]")
575
575
  }), /* @__PURE__ */ r("path", {
576
576
  d: "M4 8 L12 8",
577
577
  pathLength: 1,
578
- className: V(rt, "duration-200 [stroke-dashoffset:1] group-data-[state=indeterminate]/checkbox:[stroke-dashoffset:0] group-data-[state=indeterminate]/checkbox:delay-75")
578
+ className: B(it, "duration-200 [stroke-dashoffset:1] group-data-[state=indeterminate]/checkbox:[stroke-dashoffset:0] group-data-[state=indeterminate]/checkbox:delay-75")
579
579
  })]
580
580
  })
581
581
  })
582
582
  });
583
583
  }
584
584
  // src/ui/choice/radio-group.component.tsx
585
- function at({ className: e, ...t }) {
585
+ function ot({ className: e, ...t }) {
586
586
  return /* @__PURE__ */ r(y.Root, {
587
587
  "data-slot": "radio-group",
588
- className: V("grid gap-2.5", e),
588
+ className: B("grid gap-2.5", e),
589
589
  ...t
590
590
  });
591
591
  }
592
- function ot({ className: e, ...t }) {
592
+ function st({ className: e, ...t }) {
593
593
  return /* @__PURE__ */ r(y.Item, {
594
594
  "data-slot": "radio-group-item",
595
- className: V("peer group/radio grid size-4 shrink-0 cursor-pointer place-content-center rounded-full border border-input bg-background shadow-xs outline-none", "transition-[background-color,border-color] duration-200 motion-reduce:transition-none", "focus-visible:ring-3 focus-visible:ring-ring/25 disabled:cursor-not-allowed disabled:opacity-50", "data-[state=checked]:border-primary data-[state=checked]:bg-primary", e),
595
+ className: B("peer group/radio grid size-4 shrink-0 cursor-pointer place-content-center rounded-full border border-input bg-background shadow-xs outline-none", "transition-[background-color,border-color] duration-200 motion-reduce:transition-none", "focus-visible:ring-3 focus-visible:ring-ring/25 disabled:cursor-not-allowed disabled:opacity-50", "data-[state=checked]:border-primary data-[state=checked]:bg-primary", e),
596
596
  ...t,
597
597
  children: /* @__PURE__ */ r(y.Indicator, {
598
598
  forceMount: !0,
@@ -601,8 +601,8 @@ function ot({ className: e, ...t }) {
601
601
  });
602
602
  }
603
603
  // src/ui/choice/slider.component.tsx
604
- function st({ className: e, value: t, defaultValue: n, min: a = 0, max: o = 100, onPointerDown: s, onPointerMove: c, onPointerUp: l, ...u }) {
605
- let [d, f] = R(!1), p = (t ?? n ?? [a]).length, m = u["aria-label"];
604
+ function ct({ className: e, value: t, defaultValue: n, min: a = 0, max: o = 100, onPointerDown: s, onPointerMove: c, onPointerUp: l, ...u }) {
605
+ let [d, f] = L(!1), p = (t ?? n ?? [a]).length, m = u["aria-label"];
606
606
  return /* @__PURE__ */ i(S.Root, {
607
607
  "data-slot": "slider",
608
608
  value: t,
@@ -619,7 +619,7 @@ function st({ className: e, value: t, defaultValue: n, min: a = 0, max: o = 100,
619
619
  onPointerUp: (e) => {
620
620
  f(!1), l?.(e);
621
621
  },
622
- className: V("group/slider relative flex w-full touch-none select-none items-center data-disabled:opacity-50", "not-data-dragging:[&>span:has([role=slider])]:transition-[left] not-data-dragging:[&>span:has([role=slider])]:duration-200 not-data-dragging:[&>span:has([role=slider])]:ease-emphasised", "motion-reduce:[&>span:has([role=slider])]:transition-none", e),
622
+ className: B("group/slider relative flex w-full touch-none select-none items-center data-disabled:opacity-50", "not-data-dragging:[&>span:has([role=slider])]:transition-[left] not-data-dragging:[&>span:has([role=slider])]:duration-200 not-data-dragging:[&>span:has([role=slider])]:ease-emphasised", "motion-reduce:[&>span:has([role=slider])]:transition-none", e),
623
623
  ...u,
624
624
  children: [/* @__PURE__ */ r(S.Track, {
625
625
  className: "relative h-1.5 grow overflow-hidden rounded-full bg-muted",
@@ -631,17 +631,17 @@ function st({ className: e, value: t, defaultValue: n, min: a = 0, max: o = 100,
631
631
  });
632
632
  }
633
633
  // src/ui/choice/switch.component.tsx
634
- function ct({ className: e, ...t }) {
634
+ function lt({ className: e, ...t }) {
635
635
  return /* @__PURE__ */ r(w.Root, {
636
636
  "data-slot": "switch",
637
- className: V("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full bg-input p-0.5 outline-none transition-colors duration-200 motion-reduce:transition-none", "focus-visible:ring-3 focus-visible:ring-ring/25 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary", e),
637
+ className: B("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full bg-input p-0.5 outline-none transition-colors duration-200 motion-reduce:transition-none", "focus-visible:ring-3 focus-visible:ring-ring/25 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary", e),
638
638
  ...t,
639
639
  children: /* @__PURE__ */ r(w.Thumb, { className: "block size-4 rounded-full bg-white shadow-xs transition-transform duration-200 ease-emphasised data-[state=checked]:translate-x-4 motion-reduce:transition-none" })
640
640
  });
641
641
  }
642
642
  // src/ui/active-indicator/active-indicator.hook.ts
643
- function lt(e) {
644
- let t = L(null), n = L(void 0), r = F((r) => {
643
+ function ut(e) {
644
+ let t = I(null), n = I(void 0), r = P((r) => {
645
645
  if (n.current?.(), n.current = void 0, t.current = r, !r) return;
646
646
  function i() {
647
647
  if (!r) return;
@@ -663,37 +663,37 @@ function lt(e) {
663
663
  a.disconnect(), o.disconnect();
664
664
  };
665
665
  }, [e]);
666
- return I(() => () => n.current?.(), []), r;
666
+ return F(() => () => n.current?.(), []), r;
667
667
  }
668
668
  // src/ui/active-indicator/active-indicator.recipe.ts
669
- var ut = "pointer-events-none absolute left-(--indicator-left) top-(--indicator-top) h-(--indicator-height) w-(--indicator-width) group-data-[indicator=ready]/indicator:transition-[left,top,width,height] group-data-[indicator=ready]/indicator:duration-250 group-data-[indicator=ready]/indicator:ease-emphasised group-data-[indicator=none]/indicator:opacity-0 group-not-data-indicator/indicator:opacity-0 motion-reduce:transition-none";
669
+ var dt = "pointer-events-none absolute left-(--indicator-left) top-(--indicator-top) h-(--indicator-height) w-(--indicator-width) group-data-[indicator=ready]/indicator:transition-[left,top,width,height] group-data-[indicator=ready]/indicator:duration-250 group-data-[indicator=ready]/indicator:ease-emphasised group-data-[indicator=none]/indicator:opacity-0 group-not-data-indicator/indicator:opacity-0 motion-reduce:transition-none";
670
670
  // src/ui/choice/toggle-group.component.tsx
671
- function dt({ className: e, children: t, ...n }) {
672
- let a = lt("[data-state=on]"), o = n.type === "single";
671
+ function ft({ className: e, children: t, ...n }) {
672
+ let a = ut("[data-state=on]"), o = n.type === "single";
673
673
  return /* @__PURE__ */ i(E.Root, {
674
674
  ref: o ? a : void 0,
675
675
  "data-slot": "toggle-group",
676
676
  "data-mode": n.type,
677
- className: V("group/indicator relative inline-flex w-fit items-center gap-0.5 rounded-md bg-muted p-[3px]", e),
677
+ className: B("group/indicator relative inline-flex w-fit items-center gap-0.5 rounded-md bg-muted p-[3px]", e),
678
678
  ...n,
679
679
  children: [o && /* @__PURE__ */ r("span", {
680
680
  "aria-hidden": "true",
681
681
  "data-slot": "toggle-group-indicator",
682
- className: V(ut, "rounded-sm bg-background shadow-xs")
682
+ className: B(dt, "rounded-sm bg-background shadow-xs")
683
683
  }), t]
684
684
  });
685
685
  }
686
- function ft({ className: e, ...t }) {
686
+ function pt({ className: e, ...t }) {
687
687
  return /* @__PURE__ */ r(E.Item, {
688
688
  "data-slot": "toggle-group-item",
689
- className: V("inline-flex h-[calc(var(--control-h)-6px)] cursor-pointer items-center justify-center gap-1.5 whitespace-nowrap rounded-sm px-3 text-[13px] font-medium text-muted-foreground outline-none", "hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-50 [&_svg]:size-4", "relative transition-colors duration-150 data-[state=on]:text-foreground motion-reduce:transition-none", "in-data-[mode=multiple]:data-[state=on]:bg-background in-data-[mode=multiple]:data-[state=on]:shadow-xs", e),
689
+ className: B("inline-flex h-[calc(var(--control-h)-6px)] cursor-pointer items-center justify-center gap-1.5 whitespace-nowrap rounded-sm px-3 text-[13px] font-medium text-muted-foreground outline-none", "hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-50 [&_svg]:size-4", "relative transition-colors duration-150 data-[state=on]:text-foreground motion-reduce:transition-none", "in-data-[mode=multiple]:data-[state=on]:bg-background in-data-[mode=multiple]:data-[state=on]:shadow-xs", e),
690
690
  ...t
691
691
  });
692
692
  }
693
693
  // src/ui/field/control.recipe.ts
694
- var pt = "w-full min-w-0 rounded-md border border-input bg-background text-(length:--control-fs) text-foreground shadow-xs outline-none transition-[border-color,box-shadow] placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/25 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 disabled:cursor-not-allowed disabled:opacity-50", mt = ye(null);
695
- function ht(e = {}) {
696
- let t = Se(mt);
694
+ var mt = "w-full min-w-0 rounded-md border border-input bg-background text-(length:--control-fs) text-foreground shadow-xs outline-none transition-[border-color,box-shadow] placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/25 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 disabled:cursor-not-allowed disabled:opacity-50", ht = be(null);
695
+ function Y(e = {}) {
696
+ let t = Ce(ht);
697
697
  return t ? {
698
698
  id: e.id ?? t.id,
699
699
  "aria-describedby": e["aria-describedby"] ?? (t.describedBy || void 0),
@@ -701,20 +701,20 @@ function ht(e = {}) {
701
701
  } : e;
702
702
  }
703
703
  function gt() {
704
- return Se(mt)?.labelId;
704
+ return Ce(ht)?.labelId;
705
705
  }
706
706
  // src/ui/field/label.component.tsx
707
707
  function _t({ className: e, ...t }) {
708
708
  return /* @__PURE__ */ r(p.Root, {
709
709
  "data-slot": "label",
710
- className: V("flex select-none items-center gap-2 text-[13px] font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-50", e),
710
+ className: B("flex select-none items-center gap-2 text-[13px] font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-50", e),
711
711
  ...t
712
712
  });
713
713
  }
714
714
  // src/ui/field/field.component.tsx
715
715
  function vt({ label: e, hint: t, error: n, id: a, children: o, className: s }) {
716
- let c = Ce(), l = a ?? c, u = t ? `${l}-hint` : "", d = n ? `${l}-error` : "", f = [u, d].filter(Boolean).join(" ");
717
- return /* @__PURE__ */ r(mt, {
716
+ let c = we(), l = a ?? c, u = t ? `${l}-hint` : "", d = n ? `${l}-error` : "", f = [u, d].filter(Boolean).join(" ");
717
+ return /* @__PURE__ */ r(ht, {
718
718
  value: {
719
719
  id: l,
720
720
  describedBy: f,
@@ -723,7 +723,7 @@ function vt({ label: e, hint: t, error: n, id: a, children: o, className: s }) {
723
723
  },
724
724
  children: /* @__PURE__ */ i("div", {
725
725
  "data-slot": "field",
726
- className: V("flex flex-col gap-1.5", s),
726
+ className: B("flex flex-col gap-1.5", s),
727
727
  children: [
728
728
  /* @__PURE__ */ r(_t, {
729
729
  id: `${l}-label`,
@@ -747,10 +747,10 @@ function vt({ label: e, hint: t, error: n, id: a, children: o, className: s }) {
747
747
  }
748
748
  // src/ui/field/input.component.tsx
749
749
  function yt({ className: e, startIcon: t, type: n = "text", ...a }) {
750
- let o = ht(a), s = /* @__PURE__ */ r("input", {
750
+ let o = Y(a), s = /* @__PURE__ */ r("input", {
751
751
  "data-slot": "input",
752
752
  type: n,
753
- className: V(pt, "h-(--control-h) px-3 file:border-0 file:bg-transparent file:text-sm file:font-medium", t ? "ps-[34px]" : "", e),
753
+ className: B(mt, "h-(--control-h) px-3 file:border-0 file:bg-transparent file:text-sm file:font-medium", t ? "ps-[34px]" : "", e),
754
754
  ...a,
755
755
  ...o
756
756
  });
@@ -766,10 +766,10 @@ function yt({ className: e, startIcon: t, type: n = "text", ...a }) {
766
766
  // src/ui/field/select.component.tsx
767
767
  var bt = x.Root, xt = x.Group, St = x.Value;
768
768
  function Ct({ className: e, children: t, ...n }) {
769
- let a = ht(n);
769
+ let a = Y(n);
770
770
  return /* @__PURE__ */ i(x.Trigger, {
771
771
  "data-slot": "select-trigger",
772
- className: V(pt, "flex h-(--control-h) cursor-pointer items-center justify-between gap-2 px-3 text-start data-placeholder:text-muted-foreground [&>span]:truncate", e),
772
+ className: B(mt, "flex h-(--control-h) cursor-pointer items-center justify-between gap-2 px-3 text-start data-placeholder:text-muted-foreground [&>span]:truncate", e),
773
773
  ...n,
774
774
  ...a,
775
775
  children: [t, /* @__PURE__ */ r(x.Icon, {
@@ -785,7 +785,7 @@ function wt({ className: e, children: t, position: n = "popper", ...i }) {
785
785
  return /* @__PURE__ */ r(x.Portal, { children: /* @__PURE__ */ r(x.Content, {
786
786
  "data-slot": "select-content",
787
787
  position: n,
788
- className: V("relative z-50 max-h-(--radix-select-content-available-height) min-w-32 origin-(--radix-select-content-transform-origin) overflow-hidden rounded-lg border bg-popover text-popover-foreground shadow-md", "data-[state=open]:animate-zoom-in data-[state=closed]:animate-zoom-out motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out", n === "popper" && "w-full min-w-(--radix-select-trigger-width) data-[side=bottom]:translate-y-1 data-[side=top]:-translate-y-1", e),
788
+ className: B("relative z-50 max-h-(--radix-select-content-available-height) min-w-32 origin-(--radix-select-content-transform-origin) overflow-hidden rounded-lg border bg-popover text-popover-foreground shadow-md", "data-[state=open]:animate-zoom-in data-[state=closed]:animate-zoom-out motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out", n === "popper" && "w-full min-w-(--radix-select-trigger-width) data-[side=bottom]:translate-y-1 data-[side=top]:-translate-y-1", e),
789
789
  ...i,
790
790
  children: /* @__PURE__ */ r(x.Viewport, {
791
791
  className: "p-1",
@@ -796,14 +796,14 @@ function wt({ className: e, children: t, position: n = "popper", ...i }) {
796
796
  function Tt({ className: e, ...t }) {
797
797
  return /* @__PURE__ */ r(x.Label, {
798
798
  "data-slot": "select-label",
799
- className: V("px-2.5 py-1.5 text-xs font-medium text-muted-foreground", e),
799
+ className: B("px-2.5 py-1.5 text-xs font-medium text-muted-foreground", e),
800
800
  ...t
801
801
  });
802
802
  }
803
803
  function Et({ className: e, children: t, ...n }) {
804
804
  return /* @__PURE__ */ i(x.Item, {
805
805
  "data-slot": "select-item",
806
- className: V("relative flex w-full cursor-default select-none items-center gap-2 rounded-sm py-1.5 ps-2.5 pe-8 text-[13.5px] outline-none focus:bg-accent data-disabled:pointer-events-none data-disabled:opacity-50", e),
806
+ className: B("relative flex w-full cursor-default select-none items-center gap-2 rounded-sm py-1.5 ps-2.5 pe-8 text-[13.5px] outline-none focus:bg-accent data-disabled:pointer-events-none data-disabled:opacity-50", e),
807
807
  ...n,
808
808
  children: [/* @__PURE__ */ r(x.ItemText, { children: t }), /* @__PURE__ */ r("span", {
809
809
  className: "absolute end-2 flex size-4 items-center justify-center",
@@ -817,16 +817,16 @@ function Et({ className: e, children: t, ...n }) {
817
817
  function Dt({ className: e, ...t }) {
818
818
  return /* @__PURE__ */ r(x.Separator, {
819
819
  "data-slot": "select-separator",
820
- className: V("-mx-1 my-1 h-px bg-border", e),
820
+ className: B("-mx-1 my-1 h-px bg-border", e),
821
821
  ...t
822
822
  });
823
823
  }
824
824
  // src/ui/field/textarea.component.tsx
825
825
  function Ot({ className: e, ...t }) {
826
- let n = ht(t);
826
+ let n = Y(t);
827
827
  return /* @__PURE__ */ r("textarea", {
828
828
  "data-slot": "textarea",
829
- className: V(pt, "min-h-20 resize-y px-3 py-2.5 leading-normal", e),
829
+ className: B(mt, "min-h-20 resize-y px-3 py-2.5 leading-normal", e),
830
830
  ...t,
831
831
  ...n
832
832
  });
@@ -841,35 +841,35 @@ var kt = "fixed inset-0 z-50 backdrop-blur-[5px] backdrop-contrast-[.5] backdrop
841
841
  function Pt({ className: e, ...t }) {
842
842
  return /* @__PURE__ */ i(o.Portal, { children: [/* @__PURE__ */ r(o.Overlay, { className: kt }), /* @__PURE__ */ r(o.Content, {
843
843
  "data-slot": "alert-dialog-content",
844
- className: V("fixed start-1/2 top-1/2 z-50 grid w-[calc(100%-2rem)] max-w-md -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl border bg-popover p-6 text-popover-foreground shadow-lg outline-none rtl:translate-x-1/2", At, e),
844
+ className: B("fixed start-1/2 top-1/2 z-50 grid w-[calc(100%-2rem)] max-w-md -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl border bg-popover p-6 text-popover-foreground shadow-lg outline-none rtl:translate-x-1/2", At, e),
845
845
  ...t
846
846
  })] });
847
847
  }
848
848
  function Ft({ className: e, ...t }) {
849
849
  return /* @__PURE__ */ r(o.Title, {
850
850
  "data-slot": "alert-dialog-title",
851
- className: V("m-0 font-display text-lg font-bold leading-tight", e),
851
+ className: B("m-0 font-display text-lg font-bold leading-tight", e),
852
852
  ...t
853
853
  });
854
854
  }
855
855
  function It({ className: e, ...t }) {
856
856
  return /* @__PURE__ */ r(o.Description, {
857
857
  "data-slot": "alert-dialog-description",
858
- className: V("m-0 text-sm text-muted-foreground", e),
858
+ className: B("m-0 text-sm text-muted-foreground", e),
859
859
  ...t
860
860
  });
861
861
  }
862
862
  function Lt({ className: e, variant: t = "default", ...n }) {
863
863
  return /* @__PURE__ */ r(o.Action, {
864
864
  "data-slot": "alert-dialog-action",
865
- className: V(J({ variant: t }), e),
865
+ className: B(q({ variant: t }), e),
866
866
  ...n
867
867
  });
868
868
  }
869
869
  function Rt({ className: e, ...t }) {
870
870
  return /* @__PURE__ */ r(o.Cancel, {
871
871
  "data-slot": "alert-dialog-cancel",
872
- className: V(J({ variant: "outline" }), e),
872
+ className: B(q({ variant: "outline" }), e),
873
873
  ...t
874
874
  });
875
875
  }
@@ -878,11 +878,11 @@ var zt = d.Root, Bt = d.Trigger, Vt = d.Close;
878
878
  function Ht({ className: e, children: t, showClose: n = !0, ...a }) {
879
879
  return /* @__PURE__ */ i(d.Portal, { children: [/* @__PURE__ */ r(d.Overlay, { className: kt }), /* @__PURE__ */ i(d.Content, {
880
880
  "data-slot": "dialog-content",
881
- className: V("fixed start-1/2 top-1/2 z-50 grid w-[calc(100%-2rem)] max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl border bg-popover p-6 text-popover-foreground shadow-lg outline-none rtl:translate-x-1/2", At, e),
881
+ className: B("fixed start-1/2 top-1/2 z-50 grid w-[calc(100%-2rem)] max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl border bg-popover p-6 text-popover-foreground shadow-lg outline-none rtl:translate-x-1/2", At, e),
882
882
  ...a,
883
883
  children: [t, n && /* @__PURE__ */ i(d.Close, {
884
884
  className: "absolute end-4 top-4 cursor-pointer rounded-sm text-muted-foreground outline-none hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring",
885
- children: [/* @__PURE__ */ r(P, {
885
+ children: [/* @__PURE__ */ r(N, {
886
886
  className: "size-4",
887
887
  "aria-hidden": "true"
888
888
  }), /* @__PURE__ */ r("span", {
@@ -895,37 +895,37 @@ function Ht({ className: e, children: t, showClose: n = !0, ...a }) {
895
895
  function Ut({ className: e, ...t }) {
896
896
  return /* @__PURE__ */ r("div", {
897
897
  "data-slot": "dialog-header",
898
- className: V("flex flex-col gap-1.5 text-start", e),
898
+ className: B("flex flex-col gap-1.5 text-start", e),
899
899
  ...t
900
900
  });
901
901
  }
902
902
  function Wt({ className: e, ...t }) {
903
903
  return /* @__PURE__ */ r("div", {
904
904
  "data-slot": "dialog-footer",
905
- className: V("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", e),
905
+ className: B("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", e),
906
906
  ...t
907
907
  });
908
908
  }
909
909
  function Gt({ className: e, ...t }) {
910
910
  return /* @__PURE__ */ r(d.Title, {
911
911
  "data-slot": "dialog-title",
912
- className: V("m-0 font-display text-lg font-bold leading-tight", e),
912
+ className: B("m-0 font-display text-lg font-bold leading-tight", e),
913
913
  ...t
914
914
  });
915
915
  }
916
916
  function Kt({ className: e, ...t }) {
917
917
  return /* @__PURE__ */ r(d.Description, {
918
918
  "data-slot": "dialog-description",
919
- className: V("m-0 text-sm text-muted-foreground", e),
919
+ className: B("m-0 text-sm text-muted-foreground", e),
920
920
  ...t
921
921
  });
922
922
  }
923
923
  // src/ui/overlay/drawer.component.tsx
924
- var qt = z.Root, Jt = z.Trigger, Yt = z.Close;
924
+ var qt = R.Root, Jt = R.Trigger, Yt = R.Close;
925
925
  function Xt({ className: e, children: t, ...n }) {
926
- return /* @__PURE__ */ i(z.Portal, { children: [/* @__PURE__ */ r(z.Overlay, { className: kt }), /* @__PURE__ */ i(z.Content, {
926
+ return /* @__PURE__ */ i(R.Portal, { children: [/* @__PURE__ */ r(R.Overlay, { className: kt }), /* @__PURE__ */ i(R.Content, {
927
927
  "data-slot": "drawer-content",
928
- className: V("fixed inset-x-0 bottom-0 z-50 flex max-h-[85vh] flex-col gap-3.5 rounded-t-3xl border-t bg-popover px-5 pt-2.5 pb-8 text-popover-foreground outline-none", e),
928
+ className: B("fixed inset-x-0 bottom-0 z-50 flex max-h-[85vh] flex-col gap-3.5 rounded-t-3xl border-t bg-popover px-5 pt-2.5 pb-8 text-popover-foreground outline-none", e),
929
929
  ...n,
930
930
  children: [/* @__PURE__ */ r("div", {
931
931
  "aria-hidden": "true",
@@ -934,16 +934,16 @@ function Xt({ className: e, children: t, ...n }) {
934
934
  })] });
935
935
  }
936
936
  function Zt({ className: e, ...t }) {
937
- return /* @__PURE__ */ r(z.Title, {
937
+ return /* @__PURE__ */ r(R.Title, {
938
938
  "data-slot": "drawer-title",
939
- className: V("m-0 text-xl font-semibold leading-tight", e),
939
+ className: B("m-0 text-xl font-semibold leading-tight", e),
940
940
  ...t
941
941
  });
942
942
  }
943
943
  function Qt({ className: e, ...t }) {
944
- return /* @__PURE__ */ r(z.Description, {
944
+ return /* @__PURE__ */ r(R.Description, {
945
945
  "data-slot": "drawer-description",
946
- className: V("m-0 text-sm text-muted-foreground", e),
946
+ className: B("m-0 text-sm text-muted-foreground", e),
947
947
  ...t
948
948
  });
949
949
  }
@@ -961,7 +961,7 @@ function rn({ className: e, align: t = "center", sideOffset: n = 6, ...i }) {
961
961
  "data-slot": "popover-content",
962
962
  align: t,
963
963
  sideOffset: n,
964
- className: V("z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-lg border bg-popover p-4 text-popover-foreground shadow-md outline-none", At, e),
964
+ className: B("z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-lg border bg-popover p-4 text-popover-foreground shadow-md outline-none", At, e),
965
965
  ...i
966
966
  }) });
967
967
  }
@@ -975,11 +975,11 @@ var an = d.Root, on = d.Trigger, sn = d.Close, cn = d.Title, ln = d.Description,
975
975
  function dn({ className: e, children: t, side: n = "end", ...a }) {
976
976
  return /* @__PURE__ */ i(d.Portal, { children: [/* @__PURE__ */ r(d.Overlay, { className: kt }), /* @__PURE__ */ i(d.Content, {
977
977
  "data-slot": "sheet-content",
978
- className: V("fixed z-50 flex flex-col gap-4 bg-popover p-6 text-popover-foreground shadow-lg outline-none", un[n], jt[n], e),
978
+ className: B("fixed z-50 flex flex-col gap-4 bg-popover p-6 text-popover-foreground shadow-lg outline-none", un[n], jt[n], e),
979
979
  ...a,
980
980
  children: [t, /* @__PURE__ */ i(d.Close, {
981
981
  className: "absolute end-4 top-4 cursor-pointer rounded-sm text-muted-foreground outline-none hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring",
982
- children: [/* @__PURE__ */ r(P, {
982
+ children: [/* @__PURE__ */ r(N, {
983
983
  className: "size-4",
984
984
  "aria-hidden": "true"
985
985
  }), /* @__PURE__ */ r("span", {
@@ -1005,7 +1005,7 @@ function hn({ className: e, sideOffset: t = 6, ...n }) {
1005
1005
  return /* @__PURE__ */ r(D.Portal, { children: /* @__PURE__ */ r(D.Content, {
1006
1006
  "data-slot": "tooltip-content",
1007
1007
  sideOffset: t,
1008
- className: V("z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-sm bg-foreground px-2.5 py-1.5 text-xs text-background", At, e),
1008
+ className: B("z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-sm bg-foreground px-2.5 py-1.5 text-xs text-background", At, e),
1009
1009
  ...n
1010
1010
  }) });
1011
1011
  }
@@ -1013,9 +1013,9 @@ function hn({ className: e, sideOffset: t = 6, ...n }) {
1013
1013
  var gn = "z-50 min-w-48 overflow-hidden rounded-lg border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-zoom-in data-[state=closed]:animate-zoom-out motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out", X = "relative flex cursor-default select-none items-center gap-2.5 rounded-sm px-2.5 py-[7px] text-[13.5px] outline-none transition-colors duration-150 motion-reduce:transition-none focus:bg-accent data-disabled:pointer-events-none data-disabled:opacity-50 data-[disabled=false]:pointer-events-auto data-[disabled=false]:opacity-100 [&_svg]:size-4 [&_svg]:shrink-0 [&_svg]:text-muted-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:[&_svg]:text-destructive", _n = "ms-auto text-xs tracking-wide text-muted-foreground", vn = "-mx-1 my-1 h-px bg-border", yn = "px-2.5 py-1.5 text-xs font-medium text-muted-foreground";
1014
1014
  // src/ui/menu/command.component.tsx
1015
1015
  function bn({ className: e, ...t }) {
1016
- return /* @__PURE__ */ r(B, {
1016
+ return /* @__PURE__ */ r(z, {
1017
1017
  "data-slot": "command",
1018
- className: V("flex size-full flex-col overflow-hidden rounded-lg bg-popover text-popover-foreground", e),
1018
+ className: B("flex size-full flex-col overflow-hidden rounded-lg bg-popover text-popover-foreground", e),
1019
1019
  ...t
1020
1020
  });
1021
1021
  }
@@ -1023,7 +1023,7 @@ function xn({ title: e = "Search", children: t, ...n }) {
1023
1023
  return /* @__PURE__ */ r(d.Root, {
1024
1024
  ...n,
1025
1025
  children: /* @__PURE__ */ i(d.Portal, { children: [/* @__PURE__ */ r(d.Overlay, { className: kt }), /* @__PURE__ */ i(d.Content, {
1026
- className: V("fixed start-1/2 top-[18%] z-50 w-[calc(100%-2rem)] max-w-xl -translate-x-1/2 overflow-hidden rounded-xl border bg-popover shadow-lg outline-none rtl:translate-x-1/2", At),
1026
+ className: B("fixed start-1/2 top-[18%] z-50 w-[calc(100%-2rem)] max-w-xl -translate-x-1/2 overflow-hidden rounded-xl border bg-popover shadow-lg outline-none rtl:translate-x-1/2", At),
1027
1027
  children: [
1028
1028
  /* @__PURE__ */ r(d.Title, {
1029
1029
  className: "sr-only",
@@ -1042,55 +1042,55 @@ function Sn({ className: e, ...t }) {
1042
1042
  return /* @__PURE__ */ i("div", {
1043
1043
  "data-slot": "command-input-wrapper",
1044
1044
  className: "flex h-11 items-center gap-2 border-b px-3",
1045
- children: [/* @__PURE__ */ r(me, {
1045
+ children: [/* @__PURE__ */ r(he, {
1046
1046
  className: "size-4 shrink-0 text-muted-foreground",
1047
1047
  "aria-hidden": "true"
1048
- }), /* @__PURE__ */ r(B.Input, {
1048
+ }), /* @__PURE__ */ r(z.Input, {
1049
1049
  "data-slot": "command-input",
1050
- className: V("h-full w-full bg-transparent text-sm outline-none placeholder:text-muted-foreground", e),
1050
+ className: B("h-full w-full bg-transparent text-sm outline-none placeholder:text-muted-foreground", e),
1051
1051
  ...t
1052
1052
  })]
1053
1053
  });
1054
1054
  }
1055
1055
  function Cn({ className: e, ...t }) {
1056
- return /* @__PURE__ */ r(B.List, {
1056
+ return /* @__PURE__ */ r(z.List, {
1057
1057
  "data-slot": "command-list",
1058
- className: V("max-h-80 overflow-y-auto p-1", e),
1058
+ className: B("max-h-80 overflow-y-auto p-1", e),
1059
1059
  ...t
1060
1060
  });
1061
1061
  }
1062
1062
  function wn({ className: e, ...t }) {
1063
- return /* @__PURE__ */ r(B.Empty, {
1063
+ return /* @__PURE__ */ r(z.Empty, {
1064
1064
  "data-slot": "command-empty",
1065
- className: V("py-6 text-center text-sm text-muted-foreground", e),
1065
+ className: B("py-6 text-center text-sm text-muted-foreground", e),
1066
1066
  ...t
1067
1067
  });
1068
1068
  }
1069
1069
  function Tn({ className: e, ...t }) {
1070
- return /* @__PURE__ */ r(B.Group, {
1070
+ return /* @__PURE__ */ r(z.Group, {
1071
1071
  "data-slot": "command-group",
1072
- className: V("[&_[cmdk-group-heading]]:px-2.5 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground", e),
1072
+ className: B("[&_[cmdk-group-heading]]:px-2.5 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground", e),
1073
1073
  ...t
1074
1074
  });
1075
1075
  }
1076
1076
  function En({ className: e, ...t }) {
1077
- return /* @__PURE__ */ r(B.Item, {
1077
+ return /* @__PURE__ */ r(z.Item, {
1078
1078
  "data-slot": "command-item",
1079
- className: V(X, "data-[selected=true]:bg-accent", e),
1079
+ className: B(X, "data-[selected=true]:bg-accent", e),
1080
1080
  ...t
1081
1081
  });
1082
1082
  }
1083
1083
  function Dn({ className: e, ...t }) {
1084
- return /* @__PURE__ */ r(B.Separator, {
1084
+ return /* @__PURE__ */ r(z.Separator, {
1085
1085
  "data-slot": "command-separator",
1086
- className: V(vn, e),
1086
+ className: B(vn, e),
1087
1087
  ...t
1088
1088
  });
1089
1089
  }
1090
1090
  function On({ className: e, ...t }) {
1091
1091
  return /* @__PURE__ */ r("span", {
1092
1092
  "data-slot": "command-shortcut",
1093
- className: V(_n, e),
1093
+ className: B(_n, e),
1094
1094
  ...t
1095
1095
  });
1096
1096
  }
@@ -1099,7 +1099,7 @@ var kn = u.Root, An = u.Trigger;
1099
1099
  function jn({ className: e, ...t }) {
1100
1100
  return /* @__PURE__ */ r(u.Portal, { children: /* @__PURE__ */ r(u.Content, {
1101
1101
  "data-slot": "context-menu-content",
1102
- className: V(gn, "origin-(--radix-context-menu-content-transform-origin)", e),
1102
+ className: B(gn, "origin-(--radix-context-menu-content-transform-origin)", e),
1103
1103
  ...t
1104
1104
  }) });
1105
1105
  }
@@ -1107,21 +1107,21 @@ function Mn({ className: e, variant: t = "default", ...n }) {
1107
1107
  return /* @__PURE__ */ r(u.Item, {
1108
1108
  "data-slot": "context-menu-item",
1109
1109
  "data-variant": t,
1110
- className: V(X, e),
1110
+ className: B(X, e),
1111
1111
  ...n
1112
1112
  });
1113
1113
  }
1114
1114
  function Nn({ className: e, ...t }) {
1115
1115
  return /* @__PURE__ */ r(u.Separator, {
1116
1116
  "data-slot": "context-menu-separator",
1117
- className: V(vn, e),
1117
+ className: B(vn, e),
1118
1118
  ...t
1119
1119
  });
1120
1120
  }
1121
1121
  function Pn({ className: e, ...t }) {
1122
1122
  return /* @__PURE__ */ r("span", {
1123
1123
  "data-slot": "context-menu-shortcut",
1124
- className: V(_n, e),
1124
+ className: B(_n, e),
1125
1125
  ...t
1126
1126
  });
1127
1127
  }
@@ -1131,7 +1131,7 @@ function zn({ className: e, sideOffset: t = 6, ...n }) {
1131
1131
  return /* @__PURE__ */ r(f.Portal, { children: /* @__PURE__ */ r(f.Content, {
1132
1132
  "data-slot": "dropdown-menu-content",
1133
1133
  sideOffset: t,
1134
- className: V(gn, "origin-(--radix-dropdown-menu-content-transform-origin)", e),
1134
+ className: B(gn, "origin-(--radix-dropdown-menu-content-transform-origin)", e),
1135
1135
  ...n
1136
1136
  }) });
1137
1137
  }
@@ -1139,14 +1139,14 @@ function Bn({ className: e, variant: t = "default", ...n }) {
1139
1139
  return /* @__PURE__ */ r(f.Item, {
1140
1140
  "data-slot": "dropdown-menu-item",
1141
1141
  "data-variant": t,
1142
- className: V(X, e),
1142
+ className: B(X, e),
1143
1143
  ...n
1144
1144
  });
1145
1145
  }
1146
1146
  function Vn({ className: e, children: t, ...n }) {
1147
1147
  return /* @__PURE__ */ i(f.RadioItem, {
1148
1148
  "data-slot": "dropdown-menu-radio-item",
1149
- className: V(X, "ps-7", e),
1149
+ className: B(X, "ps-7", e),
1150
1150
  ...n,
1151
1151
  children: [/* @__PURE__ */ r("span", {
1152
1152
  className: "absolute start-2.5 flex size-2 items-center justify-center",
@@ -1157,21 +1157,21 @@ function Vn({ className: e, children: t, ...n }) {
1157
1157
  function Hn({ className: e, ...t }) {
1158
1158
  return /* @__PURE__ */ r(f.Label, {
1159
1159
  "data-slot": "dropdown-menu-label",
1160
- className: V(yn, e),
1160
+ className: B(yn, e),
1161
1161
  ...t
1162
1162
  });
1163
1163
  }
1164
1164
  function Un({ className: e, ...t }) {
1165
1165
  return /* @__PURE__ */ r(f.Separator, {
1166
1166
  "data-slot": "dropdown-menu-separator",
1167
- className: V(vn, e),
1167
+ className: B(vn, e),
1168
1168
  ...t
1169
1169
  });
1170
1170
  }
1171
1171
  function Wn({ className: e, ...t }) {
1172
1172
  return /* @__PURE__ */ r("span", {
1173
1173
  "data-slot": "dropdown-menu-shortcut",
1174
- className: V(_n, e),
1174
+ className: B(_n, e),
1175
1175
  ...t
1176
1176
  });
1177
1177
  }
@@ -1193,7 +1193,7 @@ function Jn({ className: e, children: t, onRemove: n, removeLabel: a = "Remove",
1193
1193
  return /* @__PURE__ */ i("span", {
1194
1194
  "data-slot": "tag",
1195
1195
  "data-highlighted": o || void 0,
1196
- className: V("inline-flex h-6 max-w-full items-center gap-0.5 rounded-sm bg-brand-soft ps-2 text-[13px] font-medium text-brand-text animate-zoom-in motion-reduce:animate-none", "data-highlighted:ring-2 data-highlighted:ring-brand", n ? "pe-0.5" : "pe-2", e),
1196
+ className: B("inline-flex h-6 max-w-full items-center gap-0.5 rounded-sm bg-brand-soft ps-2 text-[13px] font-medium text-brand-text animate-zoom-in motion-reduce:animate-none", "data-highlighted:ring-2 data-highlighted:ring-brand", n ? "pe-0.5" : "pe-2", e),
1197
1197
  ...s,
1198
1198
  children: [/* @__PURE__ */ r("span", {
1199
1199
  className: "truncate",
@@ -1203,7 +1203,7 @@ function Jn({ className: e, children: t, onRemove: n, removeLabel: a = "Remove",
1203
1203
  "aria-label": a,
1204
1204
  onClick: n,
1205
1205
  className: "grid size-5 shrink-0 cursor-pointer place-items-center rounded-[3px] outline-none hover:bg-brand/15 focus-visible:ring-2 focus-visible:ring-ring [&_svg]:size-3",
1206
- children: /* @__PURE__ */ r(P, { "aria-hidden": "true" })
1206
+ children: /* @__PURE__ */ r(N, { "aria-hidden": "true" })
1207
1207
  }) : null]
1208
1208
  });
1209
1209
  }
@@ -1211,7 +1211,7 @@ function Jn({ className: e, children: t, onRemove: n, removeLabel: a = "Remove",
1211
1211
  var Yn = "flex min-h-(--control-h) w-full min-w-0 cursor-text flex-wrap items-center gap-1 rounded-md border border-input bg-background px-1.5 py-1 shadow-xs text-(length:--control-fs) text-foreground transition-[border-color,box-shadow] focus-within:border-ring focus-within:ring-3 focus-within:ring-ring/25 has-[input[aria-invalid=true]]:border-destructive has-[input[aria-invalid=true]]:ring-3 has-[input[aria-invalid=true]]:ring-destructive/20 has-[input:disabled]:cursor-not-allowed has-[input:disabled]:opacity-50", Xn = "h-6 min-w-16 flex-1 bg-transparent px-1 outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed";
1212
1212
  // src/ui/tags-input/tags-input.component.tsx
1213
1213
  function Zn({ value: e, defaultValue: t = [], onValueChange: n, onReject: a, max: o, validate: s, allowDuplicates: c, addOnBlur: l = !0, removeLabel: u = (e) => `Remove ${e}`, fieldClassName: d, className: f, disabled: p, placeholder: m, onKeyDown: h, onPaste: g, onBlur: _, ...v }) {
1214
- let [y, b] = R(t), [x, ee] = R(""), [S, C] = R(!1), [w, T] = R(!1), E = L(null), D = e ?? y, O = ht(v), te = o !== void 0 && D.length >= o;
1214
+ let [y, b] = L(t), [x, ee] = L(""), [S, C] = L(!1), [w, T] = L(!1), E = I(null), D = e ?? y, O = Y(v), te = o !== void 0 && D.length >= o;
1215
1215
  function ne(t) {
1216
1216
  e === void 0 && b(t), n?.(t);
1217
1217
  }
@@ -1239,14 +1239,14 @@ function Zn({ value: e, defaultValue: t = [], onValueChange: n, onReject: a, max
1239
1239
  } else x === "" && e.key === "Backspace" && D.length > 0 ? (e.preventDefault(), w ? A(D.length - 1) : T(!0)) : T(!1);
1240
1240
  }
1241
1241
  }
1242
- function j(e) {
1242
+ function ie(e) {
1243
1243
  g?.(e);
1244
1244
  let t = e.clipboardData.getData("text");
1245
1245
  !e.defaultPrevented && Gn.test(t) && (e.preventDefault(), k(Kn(`${x}${t}`)));
1246
1246
  }
1247
1247
  return /* @__PURE__ */ i("div", {
1248
1248
  "data-slot": "tags-input",
1249
- className: V(Yn, d),
1249
+ className: B(Yn, d),
1250
1250
  onClick: (e) => {
1251
1251
  e.target === e.currentTarget && E.current?.focus();
1252
1252
  },
@@ -1265,12 +1265,12 @@ function Zn({ value: e, defaultValue: t = [], onValueChange: n, onReject: a, max
1265
1265
  disabled: p,
1266
1266
  placeholder: D.length === 0 ? m : void 0,
1267
1267
  readOnly: te,
1268
- className: V(Xn, f),
1268
+ className: B(Xn, f),
1269
1269
  onChange: (e) => {
1270
1270
  ee(e.target.value), C(!1), T(!1);
1271
1271
  },
1272
1272
  onKeyDown: re,
1273
- onPaste: j,
1273
+ onPaste: ie,
1274
1274
  onBlur: (e) => {
1275
1275
  _?.(e), T(!1), l && !S && k(Kn(x));
1276
1276
  },
@@ -1282,11 +1282,11 @@ function Zn({ value: e, defaultValue: t = [], onValueChange: n, onReject: a, max
1282
1282
  }
1283
1283
  // src/ui/combobox/option-search.hook.ts
1284
1284
  function Qn(e, t, { debounceMs: n = 250, minQueryLength: r = 1 } = {}) {
1285
- let [i, a] = R({
1285
+ let [i, a] = L({
1286
1286
  options: [],
1287
1287
  status: "idle"
1288
- }), o = L(e);
1289
- return o.current = e, I(() => {
1288
+ }), o = I(e);
1289
+ return o.current = e, F(() => {
1290
1290
  let e = t.trim();
1291
1291
  if (!o.current || e.length < r) {
1292
1292
  a({
@@ -1329,40 +1329,40 @@ function Qn(e, t, { debounceMs: n = 250, minQueryLength: r = 1 } = {}) {
1329
1329
  // src/ui/combobox/combobox.component.tsx
1330
1330
  var $n = "\0create";
1331
1331
  function er(e) {
1332
- let { options: t, loadOptions: n, debounceMs: a, minQueryLength: o = +!!n, createOption: s, createLabel: c = (e) => `Use "${e}"`, emptyText: l = "No results", loadingText: u = "Searching…", errorText: d = "The search failed. Try again.", idleText: f = "Type to search", placeholder: p, disabled: m, className: h, contentClassName: g } = e, _ = n !== void 0, v = ht({
1332
+ let { options: t, loadOptions: n, debounceMs: a, minQueryLength: o = +!!n, createOption: s, createLabel: c = (e) => `Use "${e}"`, emptyText: l = "No results", loadingText: u = "Searching…", errorText: d = "The search failed. Try again.", idleText: f = "Type to search", placeholder: p, disabled: m, className: h, contentClassName: g } = e, _ = n !== void 0, v = Y({
1333
1333
  id: e.id,
1334
1334
  "aria-describedby": e["aria-describedby"],
1335
1335
  "aria-invalid": e["aria-invalid"]
1336
- }), [y, b] = R(e.multiple ? null : e.defaultValue ?? null), [x, ee] = R(e.multiple ? e.defaultValue ?? [] : []), S = e.multiple ? null : e.value === void 0 ? y : e.value, C = e.multiple ? e.value ?? x : S ? [S] : [], [w, T] = R(!1), [E, D] = R(S?.label ?? ""), [O, te] = R(!1), ne = L(!1);
1336
+ }), [y, b] = L(e.multiple ? null : e.defaultValue ?? null), [x, ee] = L(e.multiple ? e.defaultValue ?? [] : []), S = e.multiple ? null : e.value === void 0 ? y : e.value, C = e.multiple ? e.value ?? x : S ? [S] : [], [w, T] = L(!1), [E, D] = L(S?.label ?? ""), [O, te] = L(!1), ne = I(!1);
1337
1337
  ne.current = O;
1338
- let [re, j] = R(!1), ie = L(null), ae = L(null), oe = gt(), se = e["aria-label"];
1339
- we(() => {
1340
- let e = ie.current;
1341
- e && (oe ? e.setAttribute("aria-labelledby", oe) : se && e.removeAttribute("aria-labelledby"));
1342
- }, [oe, se]);
1343
- let M = O ? E : "", N = Qn(n, M, {
1338
+ let [re, ie] = L(!1), ae = I(null), oe = I(null), se = gt(), ce = e["aria-label"];
1339
+ Te(() => {
1340
+ let e = ae.current;
1341
+ e && (se ? e.setAttribute("aria-labelledby", se) : ce && e.removeAttribute("aria-labelledby"));
1342
+ }, [se, ce]);
1343
+ let j = O ? E : "", M = Qn(n, j, {
1344
1344
  debounceMs: a,
1345
1345
  minQueryLength: o
1346
- }), le = _ ? N.options : t ?? [], ue = s && M.trim() !== "" && le.every((e) => e.label.toLowerCase() !== M.trim().toLowerCase()) ? s(M.trim()) : null, de = e.multiple && e.max !== void 0 && C.length >= e.max;
1347
- function fe(t) {
1346
+ }), ue = _ ? M.options : t ?? [], de = s && j.trim() !== "" && ue.every((e) => e.label.toLowerCase() !== j.trim().toLowerCase()) ? s(j.trim()) : null, fe = e.multiple && e.max !== void 0 && C.length >= e.max;
1347
+ function pe(t) {
1348
1348
  e.multiple || (e.value === void 0 && b(t), e.onValueChange?.(t));
1349
1349
  }
1350
- function me(t) {
1350
+ function he(t) {
1351
1351
  e.multiple && (e.value === void 0 && ee(t), e.onValueChange?.(t));
1352
1352
  }
1353
- function he(t) {
1354
- if (te(!1), j(!1), !e.multiple) {
1355
- fe(t), D(t.label), T(!1);
1353
+ function ge(t) {
1354
+ if (te(!1), ie(!1), !e.multiple) {
1355
+ pe(t), D(t.label), T(!1);
1356
1356
  return;
1357
1357
  }
1358
1358
  let n = C.some((e) => e.value === t.value);
1359
- (n || !de) && (me(n ? C.filter((e) => e.value !== t.value) : [...C, t]), D(""));
1359
+ (n || !fe) && (he(n ? C.filter((e) => e.value !== t.value) : [...C, t]), D(""));
1360
1360
  }
1361
- function ge() {
1362
- T(!1), te(!1), j(!1), D(e.multiple ? "" : S?.label ?? "");
1361
+ function _e() {
1362
+ T(!1), te(!1), ie(!1), D(e.multiple ? "" : S?.label ?? "");
1363
1363
  }
1364
- let _e = (e) => C.some((t) => t.value === e.value);
1365
- return /* @__PURE__ */ r(B, {
1364
+ let ve = (e) => C.some((t) => t.value === e.value);
1365
+ return /* @__PURE__ */ r(z, {
1366
1366
  "data-slot": "combobox",
1367
1367
  shouldFilter: !_,
1368
1368
  filter: (e, t, n) => ne.current ? tr(t, [e, ...n ?? []]) : 1,
@@ -1371,23 +1371,23 @@ function er(e) {
1371
1371
  children: /* @__PURE__ */ i(en, {
1372
1372
  open: w,
1373
1373
  onOpenChange: (e) => {
1374
- e || ge();
1374
+ e || _e();
1375
1375
  },
1376
1376
  children: [/* @__PURE__ */ r(nn, {
1377
1377
  asChild: !0,
1378
1378
  children: /* @__PURE__ */ i("div", {
1379
- ref: ae,
1379
+ ref: oe,
1380
1380
  "data-slot": "combobox-field",
1381
- className: V(Yn, "pe-1", h),
1381
+ className: B(Yn, "pe-1", h),
1382
1382
  onClick: (e) => {
1383
- e.target === e.currentTarget && ie.current?.focus();
1383
+ e.target === e.currentTarget && ae.current?.focus();
1384
1384
  },
1385
1385
  children: [
1386
1386
  e.multiple ? C.map((e, t) => /* @__PURE__ */ r(Jn, {
1387
1387
  highlighted: re && t === C.length - 1,
1388
1388
  removeLabel: `Remove ${e.label}`,
1389
1389
  onRemove: m ? void 0 : () => {
1390
- he(e);
1390
+ ge(e);
1391
1391
  },
1392
1392
  children: e.label
1393
1393
  }, e.value)) : !O && S?.icon ? /* @__PURE__ */ r("span", {
@@ -1395,28 +1395,28 @@ function er(e) {
1395
1395
  className: "ms-1 flex text-muted-foreground [&_svg]:size-4",
1396
1396
  children: S.icon
1397
1397
  }) : null,
1398
- /* @__PURE__ */ r(B.Input, {
1399
- ref: ie,
1398
+ /* @__PURE__ */ r(z.Input, {
1399
+ ref: ae,
1400
1400
  "data-slot": "combobox-input",
1401
1401
  value: E,
1402
1402
  disabled: m,
1403
- readOnly: de,
1403
+ readOnly: fe,
1404
1404
  placeholder: C.length === 0 || !e.multiple ? p : void 0,
1405
1405
  "aria-label": e["aria-label"],
1406
1406
  className: Xn,
1407
1407
  onValueChange: (e) => {
1408
- D(e), te(!0), j(!1), T(!0);
1408
+ D(e), te(!0), ie(!1), T(!0);
1409
1409
  },
1410
1410
  onFocus: () => {
1411
1411
  _ || T(!0);
1412
1412
  },
1413
1413
  onKeyDown: (t) => {
1414
- if (t.key === "Escape") w && t.preventDefault(), ge();
1414
+ if (t.key === "Escape") w && t.preventDefault(), _e();
1415
1415
  else if (!w && t.key === "ArrowDown") T(!0);
1416
1416
  else if (E === "" && t.key === "Backspace" && e.multiple && C.length > 0) {
1417
1417
  t.preventDefault();
1418
1418
  let e = C.at(-1);
1419
- re && e ? he(e) : j(!0);
1419
+ re && e ? ge(e) : ie(!0);
1420
1420
  }
1421
1421
  },
1422
1422
  ...v
@@ -1426,54 +1426,54 @@ function er(e) {
1426
1426
  "aria-label": "Clear",
1427
1427
  className: "grid size-6 shrink-0 cursor-pointer place-items-center rounded-sm text-muted-foreground outline-none hover:bg-muted hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring [&_svg]:size-3.5",
1428
1428
  onClick: () => {
1429
- fe(null), D(""), ie.current?.focus();
1429
+ pe(null), D(""), ae.current?.focus();
1430
1430
  },
1431
- children: /* @__PURE__ */ r(P, { "aria-hidden": "true" })
1431
+ children: /* @__PURE__ */ r(N, { "aria-hidden": "true" })
1432
1432
  }) : null,
1433
1433
  _ ? null : /* @__PURE__ */ r(A, {
1434
1434
  "aria-hidden": "true",
1435
- className: V("mx-1 size-4 shrink-0 text-muted-foreground transition-transform duration-200 motion-reduce:transition-none", w && "rotate-180")
1435
+ className: B("mx-1 size-4 shrink-0 text-muted-foreground transition-transform duration-200 motion-reduce:transition-none", w && "rotate-180")
1436
1436
  })
1437
1437
  ]
1438
1438
  })
1439
1439
  }), /* @__PURE__ */ r(rn, {
1440
1440
  align: "start",
1441
1441
  sideOffset: 4,
1442
- className: V("w-(--radix-popover-trigger-width) min-w-56 p-1", g),
1442
+ className: B("w-(--radix-popover-trigger-width) min-w-56 p-1", g),
1443
1443
  onOpenAutoFocus: (e) => {
1444
1444
  e.preventDefault();
1445
1445
  },
1446
1446
  onInteractOutside: (e) => {
1447
- e.target instanceof Node && ae.current?.contains(e.target) && e.preventDefault();
1447
+ e.target instanceof Node && oe.current?.contains(e.target) && e.preventDefault();
1448
1448
  },
1449
1449
  onMouseDown: (e) => {
1450
1450
  e.preventDefault();
1451
1451
  },
1452
- children: /* @__PURE__ */ i(B.List, {
1452
+ children: /* @__PURE__ */ i(z.List, {
1453
1453
  "data-slot": "combobox-list",
1454
1454
  className: "max-h-72 overflow-y-auto",
1455
1455
  children: [
1456
- _ && N.status === "idle" ? /* @__PURE__ */ r(nr, { children: f }) : null,
1457
- _ && N.status === "loading" ? /* @__PURE__ */ i(nr, { children: [/* @__PURE__ */ r(ce, {
1456
+ _ && M.status === "idle" ? /* @__PURE__ */ r(nr, { children: f }) : null,
1457
+ _ && M.status === "loading" ? /* @__PURE__ */ i(nr, { children: [/* @__PURE__ */ r(le, {
1458
1458
  "aria-hidden": "true",
1459
1459
  className: "size-4 animate-spin"
1460
1460
  }), u] }) : null,
1461
- _ && N.status === "error" ? /* @__PURE__ */ r(nr, {
1461
+ _ && M.status === "error" ? /* @__PURE__ */ r(nr, {
1462
1462
  tone: "destructive",
1463
1463
  children: d
1464
1464
  }) : null,
1465
- !_ || N.status === "done" ? /* @__PURE__ */ r(B.Empty, {
1465
+ !_ || M.status === "done" ? /* @__PURE__ */ r(z.Empty, {
1466
1466
  className: "px-2.5 py-5 text-center text-sm text-muted-foreground",
1467
- children: ue ? null : l
1467
+ children: de ? null : l
1468
1468
  }) : null,
1469
- (!_ || N.status === "done") && le.map((e) => /* @__PURE__ */ i(B.Item, {
1469
+ (!_ || M.status === "done") && ue.map((e) => /* @__PURE__ */ i(z.Item, {
1470
1470
  value: e.value,
1471
1471
  keywords: [e.label, e.description ?? ""],
1472
1472
  disabled: e.disabled,
1473
1473
  onSelect: () => {
1474
- he(e);
1474
+ ge(e);
1475
1475
  },
1476
- className: V(X, "data-[selected=true]:bg-accent"),
1476
+ className: B(X, "data-[selected=true]:bg-accent"),
1477
1477
  children: [
1478
1478
  e.icon ? /* @__PURE__ */ r("span", {
1479
1479
  "aria-hidden": "true",
@@ -1492,23 +1492,23 @@ function er(e) {
1492
1492
  }),
1493
1493
  /* @__PURE__ */ r(k, {
1494
1494
  "aria-hidden": "true",
1495
- className: V("size-4 shrink-0 text-brand", _e(e) ? "opacity-100" : "opacity-0")
1495
+ className: B("size-4 shrink-0 text-brand", ve(e) ? "opacity-100" : "opacity-0")
1496
1496
  })
1497
1497
  ]
1498
1498
  }, e.value)),
1499
- ue ? /* @__PURE__ */ i(B.Item, {
1499
+ de ? /* @__PURE__ */ i(z.Item, {
1500
1500
  forceMount: !0,
1501
1501
  value: $n,
1502
1502
  onSelect: () => {
1503
- he(ue);
1503
+ ge(de);
1504
1504
  },
1505
- className: V(X, "data-[selected=true]:bg-accent"),
1506
- children: [/* @__PURE__ */ r(pe, {
1505
+ className: B(X, "data-[selected=true]:bg-accent"),
1506
+ children: [/* @__PURE__ */ r(me, {
1507
1507
  "aria-hidden": "true",
1508
1508
  className: "size-4 shrink-0 text-brand"
1509
1509
  }), /* @__PURE__ */ r("span", {
1510
1510
  className: "truncate",
1511
- children: c(M.trim())
1511
+ children: c(j.trim())
1512
1512
  })]
1513
1513
  }) : null
1514
1514
  ]
@@ -1526,7 +1526,7 @@ function tr(e, t) {
1526
1526
  function nr({ children: e, tone: t }) {
1527
1527
  return /* @__PURE__ */ r("div", {
1528
1528
  role: "status",
1529
- className: V("flex items-center justify-center gap-2 px-2.5 py-5 text-sm", t === "destructive" ? "text-destructive" : "text-muted-foreground"),
1529
+ className: B("flex items-center justify-center gap-2 px-2.5 py-5 text-sm", t === "destructive" ? "text-destructive" : "text-muted-foreground"),
1530
1530
  children: e
1531
1531
  });
1532
1532
  }
@@ -1535,22 +1535,22 @@ var rr = {
1535
1535
  info: {
1536
1536
  box: "border-border bg-card",
1537
1537
  icon: "text-info",
1538
- Icon: M
1538
+ Icon: j
1539
1539
  },
1540
1540
  success: {
1541
1541
  box: "border-border bg-card",
1542
1542
  icon: "text-success",
1543
- Icon: oe
1543
+ Icon: se
1544
1544
  },
1545
1545
  warning: {
1546
1546
  box: "border-[color-mix(in_oklab,var(--warning)_35%,var(--border))] bg-warning-soft",
1547
1547
  icon: "text-warning",
1548
- Icon: ge
1548
+ Icon: _e
1549
1549
  },
1550
1550
  danger: {
1551
1551
  box: "border-[color-mix(in_oklab,var(--destructive)_40%,var(--border))] bg-destructive-soft",
1552
1552
  icon: "text-destructive",
1553
- Icon: ge
1553
+ Icon: _e
1554
1554
  }
1555
1555
  };
1556
1556
  function ir({ tone: e = "info", title: t, icon: n, children: a, className: o, ...s }) {
@@ -1558,11 +1558,11 @@ function ir({ tone: e = "info", title: t, icon: n, children: a, className: o, ..
1558
1558
  return /* @__PURE__ */ i("div", {
1559
1559
  "data-slot": "alert",
1560
1560
  role: e === "danger" || e === "warning" ? "alert" : "status",
1561
- className: V("flex gap-3 rounded-lg border px-4 py-3.5", c, o),
1561
+ className: B("flex gap-3 rounded-lg border px-4 py-3.5", c, o),
1562
1562
  ...s,
1563
1563
  children: [/* @__PURE__ */ r("span", {
1564
1564
  "aria-hidden": "true",
1565
- className: V("mt-px flex shrink-0 [&_svg]:size-[18px]", l),
1565
+ className: B("mt-px flex shrink-0 [&_svg]:size-[18px]", l),
1566
1566
  children: n ?? /* @__PURE__ */ r(u, {})
1567
1567
  }), /* @__PURE__ */ i("div", {
1568
1568
  className: "flex flex-col gap-0.5",
@@ -1580,13 +1580,13 @@ function ir({ tone: e = "info", title: t, icon: n, children: a, className: o, ..
1580
1580
  function ar({ title: e, description: t, icon: n, action: a, className: o, ...s }) {
1581
1581
  return /* @__PURE__ */ i("div", {
1582
1582
  "data-slot": "empty-state",
1583
- className: V("flex flex-col items-center gap-2 rounded-xl border-[1.5px] border-dashed border-input p-6 text-center", o),
1583
+ className: B("flex flex-col items-center gap-2 rounded-xl border-[1.5px] border-dashed border-input p-6 text-center", o),
1584
1584
  ...s,
1585
1585
  children: [
1586
1586
  /* @__PURE__ */ r("span", {
1587
1587
  "aria-hidden": "true",
1588
1588
  className: "grid size-10 place-items-center rounded-[10px] bg-brand-soft text-brand-text [&_svg]:size-5",
1589
- children: n ?? /* @__PURE__ */ r(pe, {})
1589
+ children: n ?? /* @__PURE__ */ r(me, {})
1590
1590
  }),
1591
1591
  /* @__PURE__ */ r("p", {
1592
1592
  className: "m-0 type-h4",
@@ -1610,7 +1610,7 @@ function or({ className: e, value: t, max: n = 100, ...i }) {
1610
1610
  "data-slot": "progress",
1611
1611
  value: t,
1612
1612
  max: n,
1613
- className: V("relative h-1.5 w-full overflow-hidden rounded-full bg-muted", e),
1613
+ className: B("relative h-1.5 w-full overflow-hidden rounded-full bg-muted", e),
1614
1614
  ...i,
1615
1615
  children: /* @__PURE__ */ r(v.Indicator, {
1616
1616
  className: "h-full rounded-full bg-brand transition-[width]",
@@ -1623,23 +1623,23 @@ function sr({ className: e, ...t }) {
1623
1623
  return /* @__PURE__ */ r("div", {
1624
1624
  "data-slot": "skeleton",
1625
1625
  "aria-hidden": "true",
1626
- className: V("animate-pulse rounded-sm bg-muted", e),
1626
+ className: B("animate-pulse rounded-sm bg-muted", e),
1627
1627
  ...t
1628
1628
  });
1629
1629
  }
1630
1630
  // src/ui/feedback/spinner.component.tsx
1631
1631
  function cr({ className: e, label: t = "Loading", ...n }) {
1632
- return /* @__PURE__ */ r(ce, {
1632
+ return /* @__PURE__ */ r(le, {
1633
1633
  "data-slot": "spinner",
1634
1634
  role: "status",
1635
1635
  "aria-label": t,
1636
- className: V("size-4 animate-spin text-muted-foreground", e),
1636
+ className: B("size-4 animate-spin text-muted-foreground", e),
1637
1637
  ...n
1638
1638
  });
1639
1639
  }
1640
1640
  // src/ui/feedback/toaster.component.tsx
1641
1641
  function lr(e) {
1642
- return /* @__PURE__ */ r(De, {
1642
+ return /* @__PURE__ */ r(Oe, {
1643
1643
  className: "toaster group",
1644
1644
  toastOptions: { classNames: {
1645
1645
  toast: "group flex w-[360px] items-start gap-3 rounded-lg border bg-popover px-4 py-3.5 font-sans text-popover-foreground shadow-lg",
@@ -1668,7 +1668,7 @@ function fr({ open: e, accepted: t = !0, title: a, description: o, rejectedTitle
1668
1668
  return /* @__PURE__ */ r($t, { children: /* @__PURE__ */ r("div", {
1669
1669
  "data-slot": "file-drop-overlay",
1670
1670
  "data-state": e ? t ? "accepted" : "rejected" : "closed",
1671
- className: V("group/drop pointer-events-none fixed inset-0 z-1000 grid place-items-center p-4 backdrop-blur-md transition-[opacity,visibility] duration-200 motion-reduce:transition-none", "data-[state=closed]:invisible data-[state=closed]:opacity-0 data-[state=accepted]:bg-brand/15 data-[state=rejected]:bg-destructive/10", l),
1671
+ className: B("group/drop pointer-events-none fixed inset-0 z-1000 grid place-items-center p-4 backdrop-blur-md transition-[opacity,visibility] duration-200 motion-reduce:transition-none", "data-[state=closed]:invisible data-[state=closed]:opacity-0 data-[state=accepted]:bg-brand/15 data-[state=rejected]:bg-destructive/10", l),
1672
1672
  children: /* @__PURE__ */ r("div", {
1673
1673
  className: "grid size-full place-items-center rounded-2xl border-2 border-dashed border-brand/60 transition-colors group-data-[state=rejected]/drop:border-destructive/60",
1674
1674
  children: /* @__PURE__ */ r("div", {
@@ -1681,7 +1681,7 @@ function fr({ open: e, accepted: t = !0, title: a, description: o, rejectedTitle
1681
1681
  children: [/* @__PURE__ */ r("span", {
1682
1682
  "aria-hidden": "true",
1683
1683
  className: "absolute inset-0 rounded-full bg-current opacity-20 motion-safe:animate-ping"
1684
- }), t ? c ?? /* @__PURE__ */ r(_e, { "aria-hidden": "true" }) : /* @__PURE__ */ r(te, { "aria-hidden": "true" })]
1684
+ }), t ? c ?? /* @__PURE__ */ r(ve, { "aria-hidden": "true" }) : /* @__PURE__ */ r(te, { "aria-hidden": "true" })]
1685
1685
  }),
1686
1686
  /* @__PURE__ */ r("span", {
1687
1687
  className: "text-2xl font-semibold text-foreground",
@@ -1698,11 +1698,11 @@ function fr({ open: e, accepted: t = !0, title: a, description: o, rejectedTitle
1698
1698
  }
1699
1699
  // src/ui/file-drop/page-drop.hook.ts
1700
1700
  function pr(e) {
1701
- let [t, n] = R({
1701
+ let [t, n] = L({
1702
1702
  isOver: !1,
1703
1703
  isAccepted: !0
1704
- }), r = L(e);
1705
- return r.current = e, I(() => {
1704
+ }), r = I(e);
1705
+ return r.current = e, F(() => {
1706
1706
  let e = 0, t = (e) => !r.current.disabled && !!e.dataTransfer?.types.includes("Files"), i = () => {
1707
1707
  e = 0, n({
1708
1708
  isOver: !1,
@@ -1739,14 +1739,14 @@ function pr(e) {
1739
1739
  function mr({ className: e, ...t }) {
1740
1740
  return /* @__PURE__ */ r(a.Root, {
1741
1741
  "data-slot": "accordion",
1742
- className: V("border-t", e),
1742
+ className: B("border-t", e),
1743
1743
  ...t
1744
1744
  });
1745
1745
  }
1746
1746
  function hr({ className: e, ...t }) {
1747
1747
  return /* @__PURE__ */ r(a.Item, {
1748
1748
  "data-slot": "accordion-item",
1749
- className: V("border-b", e),
1749
+ className: B("border-b", e),
1750
1750
  ...t
1751
1751
  });
1752
1752
  }
@@ -1755,7 +1755,7 @@ function gr({ className: e, children: t, ...n }) {
1755
1755
  className: "m-0 flex",
1756
1756
  children: /* @__PURE__ */ i(a.Trigger, {
1757
1757
  "data-slot": "accordion-trigger",
1758
- className: V("group flex flex-1 cursor-pointer items-center justify-between gap-4 py-3 text-start type-h4 outline-none transition-colors duration-150 hover:text-brand-text focus-visible:ring-2 focus-visible:ring-ring motion-reduce:transition-none", e),
1758
+ className: B("group flex flex-1 cursor-pointer items-center justify-between gap-4 py-3 text-start type-h4 outline-none transition-colors duration-150 hover:text-brand-text focus-visible:ring-2 focus-visible:ring-ring motion-reduce:transition-none", e),
1759
1759
  ...n,
1760
1760
  children: [t, /* @__PURE__ */ i("svg", {
1761
1761
  viewBox: "0 0 16 16",
@@ -1787,7 +1787,7 @@ function _r({ className: e, children: t, ...n }) {
1787
1787
  className: "overflow-hidden text-sm text-muted-foreground data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down motion-reduce:animate-none",
1788
1788
  ...n,
1789
1789
  children: /* @__PURE__ */ r("div", {
1790
- className: V("pb-3", e),
1790
+ className: B("pb-3", e),
1791
1791
  children: t
1792
1792
  })
1793
1793
  });
@@ -1796,21 +1796,21 @@ function _r({ className: e, children: t, ...n }) {
1796
1796
  function vr({ className: e, ...t }) {
1797
1797
  return /* @__PURE__ */ r("div", {
1798
1798
  "data-slot": "card",
1799
- className: V("flex flex-col overflow-hidden rounded-xl border bg-card text-card-foreground shadow-xs", e),
1799
+ className: B("flex flex-col overflow-hidden rounded-xl border bg-card text-card-foreground shadow-xs", e),
1800
1800
  ...t
1801
1801
  });
1802
1802
  }
1803
1803
  function yr({ className: e, ...t }) {
1804
1804
  return /* @__PURE__ */ r("div", {
1805
1805
  "data-slot": "card-header",
1806
- className: V("flex flex-col gap-1 px-5 pt-5", e),
1806
+ className: B("flex flex-col gap-1 px-5 pt-5", e),
1807
1807
  ...t
1808
1808
  });
1809
1809
  }
1810
1810
  function br({ className: e, children: t, ...n }) {
1811
1811
  return /* @__PURE__ */ r("h3", {
1812
1812
  "data-slot": "card-title",
1813
- className: V("m-0 type-h4", e),
1813
+ className: B("m-0 type-h4", e),
1814
1814
  ...n,
1815
1815
  children: t
1816
1816
  });
@@ -1818,21 +1818,21 @@ function br({ className: e, children: t, ...n }) {
1818
1818
  function xr({ className: e, ...t }) {
1819
1819
  return /* @__PURE__ */ r("p", {
1820
1820
  "data-slot": "card-description",
1821
- className: V("m-0 text-[13px] text-muted-foreground", e),
1821
+ className: B("m-0 text-[13px] text-muted-foreground", e),
1822
1822
  ...t
1823
1823
  });
1824
1824
  }
1825
1825
  function Sr({ className: e, ...t }) {
1826
1826
  return /* @__PURE__ */ r("div", {
1827
1827
  "data-slot": "card-content",
1828
- className: V("px-5 py-4", e),
1828
+ className: B("px-5 py-4", e),
1829
1829
  ...t
1830
1830
  });
1831
1831
  }
1832
1832
  function Cr({ className: e, ...t }) {
1833
1833
  return /* @__PURE__ */ r("div", {
1834
1834
  "data-slot": "card-footer",
1835
- className: V("mt-auto flex items-center justify-between gap-3 border-t bg-muted px-5 py-3", e),
1835
+ className: B("mt-auto flex items-center justify-between gap-3 border-t bg-muted px-5 py-3", e),
1836
1836
  ...t
1837
1837
  });
1838
1838
  }
@@ -1840,28 +1840,28 @@ function Cr({ className: e, ...t }) {
1840
1840
  function wr({ className: e, ...t }) {
1841
1841
  return /* @__PURE__ */ r("kbd", {
1842
1842
  "data-slot": "kbd",
1843
- className: V("inline-flex h-5 min-w-5 items-center justify-center rounded-[5px] border border-b-2 bg-muted px-1.5 font-mono text-[11px] text-muted-foreground", e),
1843
+ className: B("inline-flex h-5 min-w-5 items-center justify-center rounded-[5px] border border-b-2 bg-muted px-1.5 font-mono text-[11px] text-muted-foreground", e),
1844
1844
  ...t
1845
1845
  });
1846
1846
  }
1847
1847
  // src/ui/layout/resizable.component.tsx
1848
1848
  function Tr({ className: e, ...t }) {
1849
- return /* @__PURE__ */ r(Oe, {
1849
+ return /* @__PURE__ */ r(ke, {
1850
1850
  "data-slot": "resizable-panel-group",
1851
- className: V("flex size-full", e),
1851
+ className: B("flex size-full", e),
1852
1852
  ...t
1853
1853
  });
1854
1854
  }
1855
1855
  function Er(e) {
1856
- return /* @__PURE__ */ r(ke, {
1856
+ return /* @__PURE__ */ r(Ae, {
1857
1857
  "data-slot": "resizable-panel",
1858
1858
  ...e
1859
1859
  });
1860
1860
  }
1861
1861
  function Dr({ className: e, ...t }) {
1862
- return /* @__PURE__ */ r(Ae, {
1862
+ return /* @__PURE__ */ r(je, {
1863
1863
  "data-slot": "resizable-handle",
1864
- className: V("relative flex w-px shrink-0 items-center justify-center bg-border outline-none after:absolute after:inset-y-0 after:start-1/2 after:w-2 after:-translate-x-1/2", "hover:bg-ring focus-visible:bg-ring aria-[orientation=horizontal]:h-px aria-[orientation=horizontal]:w-full", e),
1864
+ className: B("relative flex w-px shrink-0 items-center justify-center bg-border outline-none after:absolute after:inset-y-0 after:start-1/2 after:w-2 after:-translate-x-1/2", "hover:bg-ring focus-visible:bg-ring aria-[orientation=horizontal]:h-px aria-[orientation=horizontal]:w-full", e),
1865
1865
  ...t
1866
1866
  });
1867
1867
  }
@@ -1869,7 +1869,7 @@ function Dr({ className: e, ...t }) {
1869
1869
  function Or({ className: e, children: t, ...n }) {
1870
1870
  return /* @__PURE__ */ i(b.Root, {
1871
1871
  "data-slot": "scroll-area",
1872
- className: V("relative overflow-hidden", e),
1872
+ className: B("relative overflow-hidden", e),
1873
1873
  ...n,
1874
1874
  children: [
1875
1875
  /* @__PURE__ */ r(b.Viewport, {
@@ -1886,7 +1886,7 @@ function kr({ className: e, orientation: t = "vertical", ...n }) {
1886
1886
  return /* @__PURE__ */ r(b.Scrollbar, {
1887
1887
  "data-slot": "scroll-area-scrollbar",
1888
1888
  orientation: t,
1889
- className: V("flex touch-none select-none p-px", t === "vertical" ? "h-full w-2" : "h-2 flex-col", e),
1889
+ className: B("flex touch-none select-none p-px", t === "vertical" ? "h-full w-2" : "h-2 flex-col", e),
1890
1890
  ...n,
1891
1891
  children: /* @__PURE__ */ r(b.Thumb, { className: "relative flex-1 rounded-full bg-input" })
1892
1892
  });
@@ -1897,7 +1897,7 @@ function Ar({ className: e, orientation: t = "horizontal", decorative: n = !0, .
1897
1897
  "data-slot": "separator",
1898
1898
  orientation: t,
1899
1899
  decorative: n,
1900
- className: V("shrink-0 bg-border", t === "horizontal" ? "h-px w-full" : "w-px self-stretch", e),
1900
+ className: B("shrink-0 bg-border", t === "horizontal" ? "h-px w-full" : "w-px self-stretch", e),
1901
1901
  ...i
1902
1902
  });
1903
1903
  }
@@ -1908,7 +1908,7 @@ function jr({ className: e, ...t }) {
1908
1908
  className: "relative w-full overflow-x-auto",
1909
1909
  children: /* @__PURE__ */ r("table", {
1910
1910
  "data-slot": "table",
1911
- className: V("w-full caption-bottom border-collapse text-[13px]", e),
1911
+ className: B("w-full caption-bottom border-collapse text-[13px]", e),
1912
1912
  ...t
1913
1913
  })
1914
1914
  });
@@ -1928,28 +1928,28 @@ function Nr(e) {
1928
1928
  function Pr({ className: e, ...t }) {
1929
1929
  return /* @__PURE__ */ r("tr", {
1930
1930
  "data-slot": "table-row",
1931
- className: V("border-b transition-colors hover:bg-muted/60 data-[state=selected]:bg-muted", e),
1931
+ className: B("border-b transition-colors hover:bg-muted/60 data-[state=selected]:bg-muted", e),
1932
1932
  ...t
1933
1933
  });
1934
1934
  }
1935
1935
  function Fr({ className: e, ...t }) {
1936
1936
  return /* @__PURE__ */ r("th", {
1937
1937
  "data-slot": "table-head",
1938
- className: V("h-9 whitespace-nowrap px-3 text-start align-middle font-medium text-muted-foreground", e),
1938
+ className: B("h-9 whitespace-nowrap px-3 text-start align-middle font-medium text-muted-foreground", e),
1939
1939
  ...t
1940
1940
  });
1941
1941
  }
1942
1942
  function Ir({ className: e, ...t }) {
1943
1943
  return /* @__PURE__ */ r("td", {
1944
1944
  "data-slot": "table-cell",
1945
- className: V("px-3 py-[11px] align-middle", e),
1945
+ className: B("px-3 py-[11px] align-middle", e),
1946
1946
  ...t
1947
1947
  });
1948
1948
  }
1949
1949
  function Lr({ className: e, ...t }) {
1950
1950
  return /* @__PURE__ */ r("caption", {
1951
1951
  "data-slot": "table-caption",
1952
- className: V("mt-3 text-xs text-muted-foreground", e),
1952
+ className: B("mt-3 text-xs text-muted-foreground", e),
1953
1953
  ...t
1954
1954
  });
1955
1955
  }
@@ -1964,14 +1964,14 @@ function Rr({ "aria-label": e = "Breadcrumb", ...t }) {
1964
1964
  function zr({ className: e, ...t }) {
1965
1965
  return /* @__PURE__ */ r("ol", {
1966
1966
  "data-slot": "breadcrumb-list",
1967
- className: V("m-0 flex list-none flex-wrap items-center gap-2 p-0 text-[13px] text-muted-foreground", e),
1967
+ className: B("m-0 flex list-none flex-wrap items-center gap-2 p-0 text-[13px] text-muted-foreground", e),
1968
1968
  ...t
1969
1969
  });
1970
1970
  }
1971
1971
  function Br({ className: e, ...t }) {
1972
1972
  return /* @__PURE__ */ r("li", {
1973
1973
  "data-slot": "breadcrumb-item",
1974
- className: V("inline-flex items-center gap-2", e),
1974
+ className: B("inline-flex items-center gap-2", e),
1975
1975
  ...t
1976
1976
  });
1977
1977
  }
@@ -1979,7 +1979,7 @@ function Vr({ asChild: e = !1, className: t, ...n }) {
1979
1979
  let i = e ? C.Root : "a";
1980
1980
  return /* @__PURE__ */ r(i, {
1981
1981
  "data-slot": "breadcrumb-link",
1982
- className: V("text-inherit no-underline transition-colors hover:text-foreground", t),
1982
+ className: B("text-inherit no-underline transition-colors hover:text-foreground", t),
1983
1983
  ...n
1984
1984
  });
1985
1985
  }
@@ -1987,7 +1987,7 @@ function Hr({ className: e, ...t }) {
1987
1987
  return /* @__PURE__ */ r("span", {
1988
1988
  "data-slot": "breadcrumb-page",
1989
1989
  "aria-current": "page",
1990
- className: V("font-medium text-foreground", e),
1990
+ className: B("font-medium text-foreground", e),
1991
1991
  ...t
1992
1992
  });
1993
1993
  }
@@ -2009,7 +2009,7 @@ function Gr({ open: e, className: t, ...n }) {
2009
2009
  viewBox: "0 0 24 24",
2010
2010
  fill: "currentColor",
2011
2011
  "aria-hidden": "true",
2012
- className: V("group/menu-icon size-5", t),
2012
+ className: B("group/menu-icon size-5", t),
2013
2013
  ...n,
2014
2014
  children: [
2015
2015
  /* @__PURE__ */ r("rect", {
@@ -2018,7 +2018,7 @@ function Gr({ open: e, className: t, ...n }) {
2018
2018
  width: "16",
2019
2019
  height: "2",
2020
2020
  rx: "1",
2021
- className: V(Wr, "group-data-[state=open]/menu-icon:animate-menu-line-top-open group-data-[state=closed]/menu-icon:animate-menu-line-top-close")
2021
+ className: B(Wr, "group-data-[state=open]/menu-icon:animate-menu-line-top-open group-data-[state=closed]/menu-icon:animate-menu-line-top-close")
2022
2022
  }),
2023
2023
  /* @__PURE__ */ r("rect", {
2024
2024
  x: "4",
@@ -2026,7 +2026,7 @@ function Gr({ open: e, className: t, ...n }) {
2026
2026
  width: "16",
2027
2027
  height: "2",
2028
2028
  rx: "1",
2029
- className: V(Wr, "group-data-[state=open]/menu-icon:animate-menu-line-middle-open group-data-[state=closed]/menu-icon:animate-menu-line-middle-close")
2029
+ className: B(Wr, "group-data-[state=open]/menu-icon:animate-menu-line-middle-open group-data-[state=closed]/menu-icon:animate-menu-line-middle-close")
2030
2030
  }),
2031
2031
  /* @__PURE__ */ r("rect", {
2032
2032
  x: "4",
@@ -2034,7 +2034,7 @@ function Gr({ open: e, className: t, ...n }) {
2034
2034
  width: "16",
2035
2035
  height: "2",
2036
2036
  rx: "1",
2037
- className: V(Wr, "group-data-[state=open]/menu-icon:animate-menu-line-bottom-open group-data-[state=closed]/menu-icon:animate-menu-line-bottom-close")
2037
+ className: B(Wr, "group-data-[state=open]/menu-icon:animate-menu-line-bottom-open group-data-[state=closed]/menu-icon:animate-menu-line-bottom-close")
2038
2038
  })
2039
2039
  ]
2040
2040
  });
@@ -2043,7 +2043,7 @@ function Gr({ open: e, className: t, ...n }) {
2043
2043
  function Kr({ className: e, ...t }) {
2044
2044
  return /* @__PURE__ */ r(m.Root, {
2045
2045
  "data-slot": "menubar",
2046
- className: V("flex items-center gap-0.5", e),
2046
+ className: B("flex items-center gap-0.5", e),
2047
2047
  ...t
2048
2048
  });
2049
2049
  }
@@ -2051,7 +2051,7 @@ var qr = m.Menu;
2051
2051
  function Jr({ className: e, ...t }) {
2052
2052
  return /* @__PURE__ */ r(m.Trigger, {
2053
2053
  "data-slot": "menubar-trigger",
2054
- className: V("flex h-[26px] cursor-default select-none items-center rounded-sm px-2 text-[13px] outline-none hover:bg-accent focus:bg-accent data-[state=open]:bg-accent", e),
2054
+ className: B("flex h-[26px] cursor-default select-none items-center rounded-sm px-2 text-[13px] outline-none hover:bg-accent focus:bg-accent data-[state=open]:bg-accent", e),
2055
2055
  ...t
2056
2056
  });
2057
2057
  }
@@ -2060,28 +2060,28 @@ function Yr({ className: e, align: t = "start", sideOffset: n = 6, ...i }) {
2060
2060
  "data-slot": "menubar-content",
2061
2061
  align: t,
2062
2062
  sideOffset: n,
2063
- className: V("z-50 min-w-48 origin-(--radix-menubar-content-transform-origin) rounded-lg border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-zoom-in data-[state=closed]:animate-zoom-out motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out", e),
2063
+ className: B("z-50 min-w-48 origin-(--radix-menubar-content-transform-origin) rounded-lg border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-zoom-in data-[state=closed]:animate-zoom-out motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out", e),
2064
2064
  ...i
2065
2065
  }) });
2066
2066
  }
2067
2067
  function Xr({ className: e, ...t }) {
2068
2068
  return /* @__PURE__ */ r(m.Item, {
2069
2069
  "data-slot": "menubar-item",
2070
- className: V("relative flex cursor-default select-none items-center gap-2.5 rounded-sm px-2.5 py-1.5 text-[13px] outline-none focus:bg-accent data-disabled:pointer-events-none data-disabled:opacity-50", e),
2070
+ className: B("relative flex cursor-default select-none items-center gap-2.5 rounded-sm px-2.5 py-1.5 text-[13px] outline-none focus:bg-accent data-disabled:pointer-events-none data-disabled:opacity-50", e),
2071
2071
  ...t
2072
2072
  });
2073
2073
  }
2074
2074
  function Zr({ className: e, ...t }) {
2075
2075
  return /* @__PURE__ */ r("span", {
2076
2076
  "data-slot": "menubar-shortcut",
2077
- className: V("ms-auto text-xs text-muted-foreground", e),
2077
+ className: B("ms-auto text-xs text-muted-foreground", e),
2078
2078
  ...t
2079
2079
  });
2080
2080
  }
2081
2081
  function Qr({ className: e, ...t }) {
2082
2082
  return /* @__PURE__ */ r(m.Separator, {
2083
2083
  "data-slot": "menubar-separator",
2084
- className: V("-mx-1 my-1 h-px bg-border", e),
2084
+ className: B("-mx-1 my-1 h-px bg-border", e),
2085
2085
  ...t
2086
2086
  });
2087
2087
  }
@@ -2089,7 +2089,7 @@ function Qr({ className: e, ...t }) {
2089
2089
  function $r({ className: e, children: t, ...n }) {
2090
2090
  return /* @__PURE__ */ i(h.Root, {
2091
2091
  "data-slot": "navigation-menu",
2092
- className: V("relative flex items-center", e),
2092
+ className: B("relative flex items-center", e),
2093
2093
  ...n,
2094
2094
  children: [t, /* @__PURE__ */ r("div", {
2095
2095
  className: "absolute start-0 top-full flex justify-center",
@@ -2100,7 +2100,7 @@ function $r({ className: e, children: t, ...n }) {
2100
2100
  function ei({ className: e, ...t }) {
2101
2101
  return /* @__PURE__ */ r(h.List, {
2102
2102
  "data-slot": "navigation-menu-list",
2103
- className: V("m-0 flex list-none items-center gap-1 p-0", e),
2103
+ className: B("m-0 flex list-none items-center gap-1 p-0", e),
2104
2104
  ...t
2105
2105
  });
2106
2106
  }
@@ -2108,7 +2108,7 @@ var ti = h.Item, ni = "inline-flex h-[calc(var(--control-h)-6px)] cursor-pointer
2108
2108
  function ri({ className: e, children: t, ...n }) {
2109
2109
  return /* @__PURE__ */ i(h.Trigger, {
2110
2110
  "data-slot": "navigation-menu-trigger",
2111
- className: V(ni, "group", e),
2111
+ className: B(ni, "group", e),
2112
2112
  ...n,
2113
2113
  children: [t, /* @__PURE__ */ r(A, {
2114
2114
  className: "size-4 transition-transform duration-200 ease-emphasised group-data-[state=open]:rotate-180 motion-reduce:transition-none",
@@ -2119,14 +2119,14 @@ function ri({ className: e, children: t, ...n }) {
2119
2119
  function ii({ className: e, ...t }) {
2120
2120
  return /* @__PURE__ */ r(h.Content, {
2121
2121
  "data-slot": "navigation-menu-content",
2122
- className: V("top-0 start-0 w-full origin-top p-2 md:absolute md:w-auto", "data-[state=open]:animate-zoom-in data-[state=closed]:animate-zoom-out motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out", e),
2122
+ className: B("top-0 start-0 w-full origin-top p-2 md:absolute md:w-auto", "data-[state=open]:animate-zoom-in data-[state=closed]:animate-zoom-out motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out", e),
2123
2123
  ...t
2124
2124
  });
2125
2125
  }
2126
2126
  function ai({ className: e, ...t }) {
2127
2127
  return /* @__PURE__ */ r(h.Link, {
2128
2128
  "data-slot": "navigation-menu-link",
2129
- className: V(ni, e),
2129
+ className: B(ni, e),
2130
2130
  ...t
2131
2131
  });
2132
2132
  }
@@ -2136,11 +2136,11 @@ function oi({ page: e, pageCount: t, onPageChange: n, window: a = 3, className:
2136
2136
  return /* @__PURE__ */ i("nav", {
2137
2137
  "data-slot": "pagination",
2138
2138
  "aria-label": "Pagination",
2139
- className: V("flex items-center gap-1", o),
2139
+ className: B("flex items-center gap-1", o),
2140
2140
  children: [
2141
2141
  /* @__PURE__ */ r("button", {
2142
2142
  type: "button",
2143
- className: J({
2143
+ className: q({
2144
2144
  variant: "ghost",
2145
2145
  size: "sm"
2146
2146
  }),
@@ -2152,7 +2152,7 @@ function oi({ page: e, pageCount: t, onPageChange: n, window: a = 3, className:
2152
2152
  type: "button",
2153
2153
  "aria-current": t === e ? "page" : void 0,
2154
2154
  "aria-label": `Page ${t}`,
2155
- className: J({
2155
+ className: q({
2156
2156
  variant: t === e ? "outline" : "ghost",
2157
2157
  size: "icon-sm"
2158
2158
  }),
@@ -2161,7 +2161,7 @@ function oi({ page: e, pageCount: t, onPageChange: n, window: a = 3, className:
2161
2161
  }, t)),
2162
2162
  /* @__PURE__ */ r("button", {
2163
2163
  type: "button",
2164
- className: J({
2164
+ className: q({
2165
2165
  variant: "ghost",
2166
2166
  size: "sm"
2167
2167
  }),
@@ -2173,75 +2173,106 @@ function oi({ page: e, pageCount: t, onPageChange: n, window: a = 3, className:
2173
2173
  });
2174
2174
  }
2175
2175
  // src/ui/navigation/tabs.component.tsx
2176
- var si = ye(null), ci = 24;
2177
- function li(e, t, n, r) {
2178
- let i = Math.abs(e) * (t > 0 ? n / t : 1), a = Math.min(Math.max(i, ci), Math.max(n / 2, ci));
2176
+ var si = be(null), ci = be("pill"), li = 24;
2177
+ function ui(e, t, n, r) {
2178
+ let i = Math.abs(e) * (t > 0 ? n / t : 1), a = Math.min(Math.max(i, li), Math.max(n / 2, li));
2179
2179
  return Math.round(r ? a : -a);
2180
2180
  }
2181
- function ui({ className: e, style: t, children: n, value: i, defaultValue: a, onValueChange: o, orientation: s = "horizontal", ...c }) {
2182
- let l = L(null), u = L(i ?? a), [d, f] = R(), p = L(void 0), [m, h] = R(i ?? a), g = F((e) => {
2181
+ function di({ className: e, style: t, children: n, value: i, defaultValue: a, onValueChange: o, orientation: s = "horizontal", ...c }) {
2182
+ let l = I(null), u = I(i ?? a), [d, f] = L(), p = I(void 0), m = I(void 0), [h, g] = L(i ?? a), _ = P((e) => {
2183
2183
  let t = l.current, n = [...t?.querySelectorAll("[data-slot=tabs-trigger]") ?? []], r = n.find((e) => e.dataset.value === u.current), i = n.find((t) => t.dataset.value === e);
2184
- if (u.current = e, h(e), !t || !r || !i || r === i) return;
2185
- p.current = t.querySelector("[data-slot=tabs-content][data-state=active]")?.offsetHeight;
2186
- let a = s === "vertical", o = t.querySelector("[data-slot=tabs-list]"), c = a ? i.offsetTop - r.offsetTop : i.offsetLeft - r.offsetLeft, d = n.indexOf(i) > n.indexOf(r);
2187
- f(li(c, (a ? o?.offsetHeight : o?.offsetWidth) ?? 0, a ? t.offsetHeight : t.offsetWidth, d));
2184
+ if (u.current = e, g(e), !t || !r || !i || r === i) return;
2185
+ let a = t.ownerDocument.getElementById(r.getAttribute("aria-controls") ?? "");
2186
+ p.current = a?.offsetHeight;
2187
+ let o = s === "vertical", c = t.querySelector("[data-slot=tabs-list]");
2188
+ if (c?.dataset.variant === "outline") {
2189
+ let e = a?.querySelector(":scope > [data-slot=tabs-content-body]");
2190
+ m.current = a && e ? {
2191
+ node: e.cloneNode(!0),
2192
+ top: e.offsetTop,
2193
+ left: e.offsetLeft,
2194
+ width: e.offsetWidth,
2195
+ fromEdge: r.dataset.edge,
2196
+ toEdge: i.dataset.edge,
2197
+ vertical: o
2198
+ } : void 0, f({
2199
+ size: 0,
2200
+ direction: "z"
2201
+ });
2202
+ return;
2203
+ }
2204
+ let d = o ? i.offsetTop - r.offsetTop : i.offsetLeft - r.offsetLeft, h = n.indexOf(i) > n.indexOf(r);
2205
+ f({
2206
+ size: ui(d, (o ? c?.offsetHeight : c?.offsetWidth) ?? 0, o ? t.offsetHeight : t.offsetWidth, h),
2207
+ direction: o ? "y" : "x"
2208
+ });
2188
2209
  }, [s]);
2189
- return I(() => {
2190
- i !== void 0 && i !== u.current && g(i);
2191
- }, [i, g]), /* @__PURE__ */ r(T.Root, {
2210
+ return i !== void 0 && i !== u.current && _(i), /* @__PURE__ */ r(T.Root, {
2192
2211
  ref: l,
2193
2212
  "data-slot": "tabs",
2194
- "data-direction": d === void 0 ? void 0 : s === "vertical" ? "y" : "x",
2213
+ "data-direction": d?.direction,
2195
2214
  style: d === void 0 ? t : {
2196
2215
  ...t,
2197
- "--tab-shift": `${String(d)}px`
2216
+ "--tab-shift": `${String(d.size)}px`
2198
2217
  },
2199
2218
  value: i,
2200
2219
  defaultValue: a,
2201
2220
  orientation: s,
2202
2221
  onValueChange: (e) => {
2203
- g(e), o?.(e);
2222
+ _(e), o?.(e);
2204
2223
  },
2205
- className: V("group/tabs flex gap-3 data-[orientation=horizontal]:flex-col has-[>[data-slot=tabs-list][data-variant=outline]]:gap-0", e),
2224
+ className: B("group/tabs flex gap-3 data-[orientation=horizontal]:flex-col has-[>[data-slot=tabs-list][data-variant=outline]]:gap-0", e),
2206
2225
  ...c,
2207
2226
  children: /* @__PURE__ */ r(si, {
2208
2227
  value: {
2209
- active: m,
2210
- fromHeightRef: p
2228
+ active: h,
2229
+ fromHeightRef: p,
2230
+ ghostRef: m
2211
2231
  },
2212
2232
  children: n
2213
2233
  })
2214
2234
  });
2215
2235
  }
2216
- var di = {
2236
+ var fi = {
2217
2237
  pill: "gap-0.5 rounded-md bg-muted p-[3px]",
2218
2238
  underline: "w-full gap-5 border-b data-[orientation=vertical]:w-auto data-[orientation=vertical]:gap-1 data-[orientation=vertical]:border-b-0 data-[orientation=vertical]:border-e",
2219
- outline: "w-full gap-1 border-b data-[orientation=vertical]:w-auto data-[orientation=vertical]:border-b-0 data-[orientation=vertical]:border-e"
2220
- }, fi = {
2239
+ outline: "z-1 w-full gap-1 data-[orientation=vertical]:w-auto"
2240
+ }, pi = {
2221
2241
  pill: "rounded-sm bg-background shadow-xs",
2222
2242
  underline: "bg-brand group-data-[orientation=horizontal]/tabs-list:top-auto group-data-[orientation=horizontal]/tabs-list:-bottom-px group-data-[orientation=horizontal]/tabs-list:h-0.5 group-data-[orientation=vertical]/tabs-list:left-auto group-data-[orientation=vertical]/tabs-list:-end-px group-data-[orientation=vertical]/tabs-list:w-0.5",
2223
- outline: "border bg-background group-data-[orientation=horizontal]/tabs-list:h-[calc(var(--indicator-height)+1px)] group-data-[orientation=horizontal]/tabs-list:rounded-t-md group-data-[orientation=horizontal]/tabs-list:border-b-0 group-data-[orientation=horizontal]/tabs-list:border-t-2 group-data-[orientation=horizontal]/tabs-list:border-t-brand group-data-[orientation=vertical]/tabs-list:w-[calc(var(--indicator-width)+1px)] group-data-[orientation=vertical]/tabs-list:rounded-s-md group-data-[orientation=vertical]/tabs-list:border-e-0 group-data-[orientation=vertical]/tabs-list:border-s-2 group-data-[orientation=vertical]/tabs-list:border-s-brand"
2243
+ outline: "hidden"
2224
2244
  };
2225
- function pi({ className: e, variant: t = "pill", fitted: n = !1, children: a, ...o }) {
2226
- let s = lt("[data-slot=tabs-trigger][data-state=active]");
2245
+ function mi({ className: e, variant: t = "pill", fitted: n = !1, flap: a = !1, children: o, ...s }) {
2246
+ let c = ut("[data-slot=tabs-trigger][data-state=active]");
2227
2247
  return /* @__PURE__ */ i(T.List, {
2228
- ref: s,
2248
+ ref: c,
2229
2249
  "data-slot": "tabs-list",
2230
2250
  "data-variant": t,
2231
- className: V("group/tabs-list group/indicator relative inline-flex w-fit items-center data-[orientation=vertical]:flex-col data-[orientation=vertical]:items-stretch", di[t], n && "w-full [&>[data-slot=tabs-trigger]]:flex-1", e),
2232
- ...o,
2251
+ "data-motion": a ? "flap" : "raise",
2252
+ className: B("group/tabs-list group/indicator relative inline-flex w-fit items-center data-[orientation=vertical]:flex-col data-[orientation=vertical]:items-stretch", fi[t], n && "w-full [&>[data-slot=tabs-trigger]]:flex-1", e),
2253
+ ...s,
2233
2254
  children: [/* @__PURE__ */ r("span", {
2234
2255
  "aria-hidden": "true",
2235
2256
  "data-slot": "tabs-indicator",
2236
- className: V(ut, fi[t])
2237
- }), a]
2257
+ className: B(dt, pi[t])
2258
+ }), /* @__PURE__ */ r(ci, {
2259
+ value: t,
2260
+ children: o
2261
+ })]
2238
2262
  });
2239
2263
  }
2240
- function mi(e) {
2264
+ var hi = "isolate before:absolute before:-z-10 before:rounded-none before:border before:border-border before:bg-background before:transition-[top,inset-inline-start,border-width,transform,border-radius,border-top-color,border-inline-start-color,bottom,inset-inline-end] before:duration-250 motion-reduce:before:transition-none before:[transition-timing-function:var(--ease-emphasised),var(--ease-emphasised),var(--ease-emphasised),var(--ease-emphasised),var(--ease-emphasised),var(--ease-emphasised),var(--ease-emphasised),step-end,step-end] data-[state=active]:before:[transition-timing-function:var(--ease-emphasised),var(--ease-emphasised),var(--ease-emphasised),var(--ease-emphasised),var(--ease-emphasised),var(--ease-emphasised),var(--ease-emphasised),step-start,step-start] data-[orientation=horizontal]:before:inset-x-0 data-[orientation=horizontal]:before:bottom-0 data-[orientation=horizontal]:before:top-full data-[orientation=horizontal]:before:border-y-0 data-[orientation=horizontal]:data-[state=active]:before:top-0 data-[orientation=horizontal]:data-[state=active]:before:-bottom-px data-[orientation=horizontal]:data-[state=active]:before:border-t-2 data-[orientation=horizontal]:data-[state=active]:before:rounded-t-md data-[orientation=horizontal]:data-[state=active]:before:border-t-brand data-[orientation=vertical]:before:inset-y-0 data-[orientation=vertical]:before:end-0 data-[orientation=vertical]:before:start-full data-[orientation=vertical]:before:border-x-0 data-[orientation=vertical]:data-[state=active]:before:start-0 data-[orientation=vertical]:data-[state=active]:before:-end-px data-[orientation=vertical]:data-[state=active]:before:border-s-2 data-[orientation=vertical]:data-[state=active]:before:rounded-s-md data-[orientation=vertical]:data-[state=active]:before:border-s-brand data-[orientation=horizontal]:[perspective:300px] data-[orientation=horizontal]:group-data-[motion=flap]/tabs-list:before:top-0! data-[orientation=horizontal]:group-data-[motion=flap]/tabs-list:before:bottom-0! data-[orientation=horizontal]:group-data-[motion=flap]/tabs-list:data-[state=active]:before:-bottom-px! data-[orientation=horizontal]:group-data-[motion=flap]/tabs-list:before:border-t-2! data-[orientation=horizontal]:group-data-[motion=flap]/tabs-list:before:origin-bottom data-[orientation=horizontal]:group-data-[motion=flap]/tabs-list:before:[transform:rotateX(90deg)] data-[orientation=horizontal]:group-data-[motion=flap]/tabs-list:data-[state=active]:before:[transform:rotateX(0deg)] data-[edge=start]:before:rounded-ss-md data-[edge=end]:data-[orientation=horizontal]:before:rounded-se-md data-[edge=end]:data-[orientation=vertical]:before:rounded-es-md";
2265
+ function gi(e) {
2241
2266
  e.preventDefault(), e.stopPropagation();
2242
2267
  }
2243
- function hi({ className: e, count: t, onClose: n, closeLabel: a = "Close tab", onKeyDown: o, children: s, value: c, ...l }) {
2268
+ function _i({ className: e, count: t, onClose: n, closeLabel: a = "Close tab", onKeyDown: o, children: s, value: c, ...l }) {
2269
+ let u = Se(ci), d = P((e) => {
2270
+ if (!e || u !== "outline") return;
2271
+ let t = e.parentElement, n = e.dataset.orientation === "vertical", r = n ? e.offsetTop : e.offsetLeft, i = n ? e.offsetHeight : e.offsetWidth, a = (n ? t?.clientHeight : t?.clientWidth) ?? 0;
2272
+ r <= 0 ? e.dataset.edge = "start" : a > 0 && r + i >= a - 1 ? e.dataset.edge = "end" : delete e.dataset.edge;
2273
+ }, [u]);
2244
2274
  return /* @__PURE__ */ i(T.Trigger, {
2275
+ ref: d,
2245
2276
  "data-slot": "tabs-trigger",
2246
2277
  "data-value": c,
2247
2278
  value: c,
@@ -2250,7 +2281,7 @@ function hi({ className: e, count: t, onClose: n, closeLabel: a = "Close tab", o
2250
2281
  onKeyDown: (e) => {
2251
2282
  o?.(e), n && !e.defaultPrevented && e.key === "Delete" && (e.preventDefault(), n());
2252
2283
  },
2253
- className: V("group/tab relative inline-flex cursor-pointer items-center justify-center gap-1.5 whitespace-nowrap font-medium text-muted-foreground outline-none", "hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:size-4", "transition-colors duration-150 data-[state=active]:text-foreground motion-reduce:transition-none", "group-data-[variant=pill]/tabs-list:h-[calc(var(--control-h)-6px)] group-data-[variant=pill]/tabs-list:rounded-sm group-data-[variant=pill]/tabs-list:px-3 group-data-[variant=pill]/tabs-list:text-[13px]", "group-data-[variant=underline]/tabs-list:py-2.5 group-data-[variant=underline]/tabs-list:text-sm", "group-data-[variant=underline]/tabs-list:data-[orientation=vertical]:justify-start group-data-[variant=underline]/tabs-list:data-[orientation=vertical]:px-3 group-data-[variant=underline]/tabs-list:data-[orientation=vertical]:py-2", "group-data-[variant=outline]/tabs-list:h-(--control-h) group-data-[variant=outline]/tabs-list:rounded-t-md group-data-[variant=outline]/tabs-list:focus-visible:ring-inset group-data-[variant=outline]/tabs-list:px-3.5 group-data-[variant=outline]/tabs-list:text-sm group-data-[variant=outline]/tabs-list:data-[orientation=vertical]:justify-start", e),
2284
+ className: B("group/tab relative inline-flex cursor-pointer items-center justify-center gap-1.5 whitespace-nowrap font-medium text-muted-foreground outline-none", "hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:size-4", "transition-colors duration-150 data-[state=active]:text-foreground motion-reduce:transition-none", "group-data-[variant=pill]/tabs-list:h-[calc(var(--control-h)-6px)] group-data-[variant=pill]/tabs-list:rounded-sm group-data-[variant=pill]/tabs-list:px-3 group-data-[variant=pill]/tabs-list:text-[13px]", "group-data-[variant=underline]/tabs-list:py-2.5 group-data-[variant=underline]/tabs-list:text-sm", "group-data-[variant=underline]/tabs-list:data-[orientation=vertical]:justify-start group-data-[variant=underline]/tabs-list:data-[orientation=vertical]:px-3 group-data-[variant=underline]/tabs-list:data-[orientation=vertical]:py-2", "group-data-[variant=outline]/tabs-list:h-(--control-h) group-data-[variant=outline]/tabs-list:rounded-t-md group-data-[variant=outline]/tabs-list:focus-visible:ring-0 group-data-[variant=outline]/tabs-list:px-3.5 group-data-[variant=outline]/tabs-list:text-sm group-data-[variant=outline]/tabs-list:data-[orientation=vertical]:justify-start", u === "outline" && hi, e),
2254
2285
  ...l,
2255
2286
  children: [
2256
2287
  s,
@@ -2262,74 +2293,133 @@ function hi({ className: e, count: t, onClose: n, closeLabel: a = "Close tab", o
2262
2293
  n ? /* @__PURE__ */ r("span", {
2263
2294
  "aria-hidden": "true",
2264
2295
  "data-slot": "tabs-close",
2265
- onPointerDown: mi,
2266
- onMouseDown: mi,
2296
+ onPointerDown: gi,
2297
+ onMouseDown: gi,
2267
2298
  onClick: (e) => {
2268
- mi(e), n();
2299
+ gi(e), n();
2269
2300
  },
2270
2301
  className: "-me-1 grid size-[18px] place-items-center rounded-sm opacity-50 transition-opacity hover:bg-muted hover:opacity-100 group-data-[state=active]/tab:opacity-80 [&_svg]:size-3",
2271
- children: /* @__PURE__ */ r(P, {})
2302
+ children: /* @__PURE__ */ r(N, {})
2272
2303
  }) : null
2273
2304
  ]
2274
2305
  });
2275
2306
  }
2276
- function gi({ className: e, bodyClassName: t, children: n, ...i }) {
2277
- let a = Se(si), o = L(null), s = a?.active === i.value;
2278
- return we(() => {
2307
+ var vi = [
2308
+ "borderTopLeftRadius",
2309
+ "borderTopRightRadius",
2310
+ "borderBottomRightRadius",
2311
+ "borderBottomLeftRadius"
2312
+ ];
2313
+ function yi(e, t, n) {
2314
+ if (e === "start") return +!!n;
2315
+ if (e === "end") return t ? n ? 2 : 3 : +!n;
2316
+ }
2317
+ function bi(e, t) {
2318
+ let n = getComputedStyle(e), r = n.direction === "rtl", i = Math.max(...vi.map((e) => Number(n[e].replace("px", "")))), a = yi(t.fromEdge, t.vertical, r), o = yi(t.toEdge, t.vertical, r);
2319
+ if (i === 0 || a === o) return;
2320
+ let s = `${String(i)}px`, c = (t, n, r, i) => {
2321
+ let a = t === void 0 ? void 0 : vi[t];
2322
+ a && e.animate([{ [a]: n }, { [a]: r }], i);
2323
+ };
2324
+ c(a, "0px", s, {
2325
+ delay: 150,
2326
+ duration: 100,
2327
+ easing: "ease-out",
2328
+ fill: "backwards"
2329
+ }), c(o, s, "0px", {
2330
+ duration: 80,
2331
+ easing: "ease-out"
2332
+ });
2333
+ }
2334
+ function xi(e, t) {
2335
+ for (let t of e.querySelectorAll("[data-slot=tabs-content-ghost]")) t.remove();
2336
+ let { node: n } = t;
2337
+ n.dataset.slot = "tabs-content-ghost", n.inert = !0, n.setAttribute("aria-hidden", "true"), Object.assign(n.style, {
2338
+ position: "absolute",
2339
+ top: `${String(t.top)}px`,
2340
+ left: `${String(t.left)}px`,
2341
+ width: `${String(t.width)}px`,
2342
+ animation: "none",
2343
+ pointerEvents: "none"
2344
+ }), e.append(n), bi(e, t);
2345
+ let r = n.animate([{
2346
+ opacity: 1,
2347
+ scale: 1,
2348
+ filter: "blur(0)"
2349
+ }, {
2350
+ opacity: 0,
2351
+ scale: 1.1,
2352
+ filter: "blur(4px)"
2353
+ }], {
2354
+ duration: 250,
2355
+ easing: "cubic-bezier(0.2, 0, 0, 1)",
2356
+ fill: "forwards"
2357
+ });
2358
+ r.addEventListener("finish", () => {
2359
+ n.remove();
2360
+ }), r.addEventListener("cancel", () => {
2361
+ n.remove();
2362
+ });
2363
+ }
2364
+ function Si({ className: e, bodyClassName: t, children: n, ...i }) {
2365
+ let a = Se(si), o = I(null), s = a?.active === i.value;
2366
+ return Te(() => {
2279
2367
  let e = o.current, t = a?.fromHeightRef.current;
2280
2368
  if (!s || !e || !a || t === void 0 || (a.fromHeightRef.current = void 0, typeof e.animate != "function" || matchMedia("(prefers-reduced-motion: reduce)").matches)) return;
2281
- function n(n) {
2282
- e && Math.abs(n - (t ?? n)) >= 1 && e.animate([{
2369
+ let n = a.ghostRef.current;
2370
+ a.ghostRef.current = void 0;
2371
+ function r(r) {
2372
+ e && n && xi(e, n), e && Math.abs(r - (t ?? r)) >= 1 && e.animate([{
2283
2373
  minHeight: `${String(t)}px`,
2284
2374
  maxHeight: `${String(t)}px`
2285
2375
  }, {
2286
- minHeight: `${String(n)}px`,
2287
- maxHeight: `${String(n)}px`
2376
+ minHeight: `${String(r)}px`,
2377
+ maxHeight: `${String(r)}px`
2288
2378
  }], {
2289
2379
  duration: 250,
2290
2380
  easing: "cubic-bezier(0.2, 0, 0, 1)"
2291
2381
  });
2292
2382
  }
2293
2383
  if (e.offsetHeight > 0) {
2294
- n(e.offsetHeight);
2384
+ r(e.offsetHeight);
2295
2385
  return;
2296
2386
  }
2297
- let r = new ResizeObserver(() => {
2298
- e.offsetHeight !== 0 && (r.disconnect(), n(e.offsetHeight));
2387
+ let i = new ResizeObserver(() => {
2388
+ e.offsetHeight !== 0 && (i.disconnect(), r(e.offsetHeight));
2299
2389
  });
2300
- return r.observe(e), () => {
2301
- r.disconnect();
2390
+ return i.observe(e), () => {
2391
+ i.disconnect();
2302
2392
  };
2303
2393
  }, [s, a]), /* @__PURE__ */ r(T.Content, {
2304
2394
  ref: o,
2305
2395
  "data-slot": "tabs-content",
2306
- className: V("flex-1 overflow-clip outline-none", e),
2396
+ className: B("relative flex-1 overflow-clip outline-none", "group-has-[[data-variant=outline]>[data-state=active][data-edge=start]]/tabs:rounded-ss-none", "group-data-[orientation=horizontal]/tabs:group-has-[[data-variant=outline]>[data-state=active][data-edge=end]]/tabs:rounded-se-none", "group-data-[orientation=vertical]/tabs:group-has-[[data-variant=outline]>[data-state=active][data-edge=end]]/tabs:rounded-es-none", e),
2307
2397
  ...i,
2308
2398
  children: /* @__PURE__ */ r("div", {
2309
2399
  "data-slot": "tabs-content-body",
2310
- className: V("group-data-[direction=x]/tabs:animate-tab-in-x group-data-[direction=y]/tabs:animate-tab-in-y motion-reduce:animate-none", t),
2400
+ className: B("group-data-[direction=x]/tabs:animate-tab-in-x group-data-[direction=y]/tabs:animate-tab-in-y group-data-[direction=z]/tabs:animate-tab-in-z motion-reduce:animate-none", t),
2311
2401
  children: n
2312
2402
  })
2313
2403
  });
2314
2404
  }
2315
2405
  // src/ui/navigation/stepper.component.tsx
2316
- var _i = {
2406
+ var Ci = {
2317
2407
  done: "bg-primary text-primary-foreground",
2318
2408
  current: "border-2 border-primary text-brand-text",
2319
2409
  upcoming: "bg-muted text-muted-foreground"
2320
2410
  };
2321
- function vi({ steps: e, current: t, orientation: n = "horizontal", onStepSelect: a, className: o, "aria-label": s = "Progress", ...c }) {
2411
+ function wi({ steps: e, current: t, orientation: n = "horizontal", onStepSelect: a, className: o, "aria-label": s = "Progress", ...c }) {
2322
2412
  let l = n === "vertical";
2323
2413
  return /* @__PURE__ */ r("ol", {
2324
2414
  "data-slot": "stepper",
2325
2415
  "data-orientation": n,
2326
2416
  "aria-label": s,
2327
- className: V("m-0 flex list-none p-0", l ? "flex-col" : "items-start", o),
2417
+ className: B("m-0 flex list-none p-0", l ? "flex-col" : "items-start", o),
2328
2418
  ...c,
2329
2419
  children: e.map((n, o) => {
2330
2420
  let s = o < t ? "done" : o === t ? "current" : "upcoming", c = o === e.length - 1, u = /* @__PURE__ */ r("span", {
2331
2421
  "aria-hidden": "true",
2332
- className: V("grid size-7 shrink-0 place-items-center rounded-full text-xs font-semibold transition-colors duration-200 motion-reduce:transition-none", _i[s]),
2422
+ className: B("grid size-7 shrink-0 place-items-center rounded-full text-xs font-semibold transition-colors duration-200 motion-reduce:transition-none", Ci[s]),
2333
2423
  children: s === "done" ? /* @__PURE__ */ r(k, {
2334
2424
  className: "size-3.5",
2335
2425
  strokeWidth: 2.5
@@ -2337,7 +2427,7 @@ function vi({ steps: e, current: t, orientation: n = "horizontal", onStepSelect:
2337
2427
  }), d = /* @__PURE__ */ i("span", {
2338
2428
  className: "flex min-w-0 flex-col",
2339
2429
  children: [/* @__PURE__ */ i("span", {
2340
- className: V("text-[13px] font-medium", s === "upcoming" && "text-muted-foreground"),
2430
+ className: B("text-[13px] font-medium", s === "upcoming" && "text-muted-foreground"),
2341
2431
  children: [n.title, s === "done" && /* @__PURE__ */ r("span", {
2342
2432
  className: "sr-only",
2343
2433
  children: ", done"
@@ -2358,25 +2448,25 @@ function vi({ steps: e, current: t, orientation: n = "horizontal", onStepSelect:
2358
2448
  return /* @__PURE__ */ i("li", {
2359
2449
  "data-state": s,
2360
2450
  "aria-current": s === "current" ? "step" : void 0,
2361
- className: V("flex", l ? "flex-col" : "items-center gap-2", !c && !l && "flex-1"),
2451
+ className: B("flex", l ? "flex-col" : "items-center gap-2", !c && !l && "flex-1"),
2362
2452
  children: [f, !c && /* @__PURE__ */ r("span", {
2363
2453
  "aria-hidden": "true",
2364
- className: V("shrink-0 bg-border transition-colors duration-200 motion-reduce:transition-none", l ? "my-1 ms-[13px] h-5 w-0.5" : "h-0.5 min-w-4 flex-1", s === "done" && "bg-primary")
2454
+ className: B("shrink-0 bg-border transition-colors duration-200 motion-reduce:transition-none", l ? "my-1 ms-[13px] h-5 w-0.5" : "h-0.5 min-w-4 flex-1", s === "done" && "bg-primary")
2365
2455
  })]
2366
2456
  }, n.title);
2367
2457
  })
2368
2458
  });
2369
2459
  }
2370
2460
  // src/ui/presence/presence.recipe.ts
2371
- var yi = {
2461
+ var Ti = {
2372
2462
  fade: "data-[state=open]:animate-fade-in data-[state=closed]:animate-fade-out",
2373
2463
  scale: "data-[state=open]:animate-zoom-in data-[state=closed]:animate-zoom-out motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out",
2374
2464
  drop: "data-[state=open]:animate-drop-in data-[state=closed]:animate-drop-out motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out"
2375
2465
  };
2376
2466
  // src/ui/presence/presence.component.tsx
2377
- function bi({ present: e, animation: t = "fade", unmountOnExit: n = !0, className: i, onAnimationEnd: a, ...o }) {
2378
- let [s, c] = R(e), l = L(null);
2379
- return e && !s && c(!0), we(() => {
2467
+ function Ei({ present: e, animation: t = "fade", unmountOnExit: n = !0, className: i, onAnimationEnd: a, ...o }) {
2468
+ let [s, c] = L(e), l = I(null);
2469
+ return e && !s && c(!0), Te(() => {
2380
2470
  if (e || !s) return;
2381
2471
  let t = l.current;
2382
2472
  t && getComputedStyle(t).animationName !== "none" || c(!1);
@@ -2385,7 +2475,7 @@ function bi({ present: e, animation: t = "fade", unmountOnExit: n = !0, classNam
2385
2475
  "data-slot": "presence",
2386
2476
  "data-state": e ? "open" : "closed",
2387
2477
  hidden: !e && !s,
2388
- className: V(yi[t], i),
2478
+ className: B(Ti[t], i),
2389
2479
  onAnimationEnd: (t) => {
2390
2480
  a?.(t), !e && t.target === t.currentTarget && c(!1);
2391
2481
  },
@@ -2393,12 +2483,12 @@ function bi({ present: e, animation: t = "fade", unmountOnExit: n = !0, classNam
2393
2483
  });
2394
2484
  }
2395
2485
  // src/ui/selectable-list/bulk-action-bar.component.tsx
2396
- function xi({ selection: e, children: t, countLabel: n = (e) => `${e} selected`, label: a = "Bulk actions", clearLabel: o = "Clear selection", className: s }) {
2486
+ function Di({ selection: e, children: t, countLabel: n = (e) => `${e} selected`, label: a = "Bulk actions", clearLabel: o = "Clear selection", className: s }) {
2397
2487
  return e.count === 0 ? null : /* @__PURE__ */ i("div", {
2398
2488
  role: "toolbar",
2399
2489
  "aria-label": a,
2400
2490
  "data-slot": "bulk-action-bar",
2401
- className: V("sticky top-0 z-10 flex items-center gap-2 rounded-md border bg-background px-3 py-1.5 shadow-sm", s),
2491
+ className: B("sticky top-0 z-10 flex items-center gap-2 rounded-md border bg-background px-3 py-1.5 shadow-sm", s),
2402
2492
  children: [
2403
2493
  /* @__PURE__ */ r("span", {
2404
2494
  className: "text-sm font-medium tabular-nums",
@@ -2408,22 +2498,22 @@ function xi({ selection: e, children: t, countLabel: n = (e) => `${e} selected`,
2408
2498
  className: "flex flex-1 flex-wrap items-center gap-1.5",
2409
2499
  children: t
2410
2500
  }),
2411
- /* @__PURE__ */ r(Y, {
2501
+ /* @__PURE__ */ r(J, {
2412
2502
  variant: "ghost",
2413
2503
  size: "icon-sm",
2414
2504
  "aria-label": o,
2415
2505
  onClick: e.clear,
2416
- children: /* @__PURE__ */ r(P, {})
2506
+ children: /* @__PURE__ */ r(N, {})
2417
2507
  })
2418
2508
  ]
2419
2509
  });
2420
2510
  }
2421
2511
  // src/ui/selectable-list/select-all-checkbox.component.tsx
2422
- function Si({ selection: e, children: t, label: a = "Select all", menuLabel: o = "Selection options", allLabel: s = "All", noneLabel: c = "None", className: l }) {
2512
+ function Oi({ selection: e, children: t, label: a = "Select all", menuLabel: o = "Selection options", allLabel: s = "All", noneLabel: c = "None", className: l }) {
2423
2513
  return /* @__PURE__ */ i("div", {
2424
2514
  "data-slot": "select-all-checkbox",
2425
- className: V("inline-flex items-center gap-0.5", l),
2426
- children: [/* @__PURE__ */ r(it, {
2515
+ className: B("inline-flex items-center gap-0.5", l),
2516
+ children: [/* @__PURE__ */ r(at, {
2427
2517
  "aria-label": a,
2428
2518
  checked: e.allState,
2429
2519
  onCheckedChange: () => {
@@ -2431,7 +2521,7 @@ function Si({ selection: e, children: t, label: a = "Select all", menuLabel: o =
2431
2521
  }
2432
2522
  }), /* @__PURE__ */ i(Fn, { children: [/* @__PURE__ */ r(In, {
2433
2523
  asChild: !0,
2434
- children: /* @__PURE__ */ r(Y, {
2524
+ children: /* @__PURE__ */ r(J, {
2435
2525
  variant: "ghost",
2436
2526
  size: "icon-sm",
2437
2527
  "aria-label": o,
@@ -2454,9 +2544,9 @@ function Si({ selection: e, children: t, label: a = "Select all", menuLabel: o =
2454
2544
  });
2455
2545
  }
2456
2546
  // src/ui/selectable-list/selectable-list.component.tsx
2457
- var Ci = ye(null), wi = "[data-slot=\"selectable-row\"]";
2458
- function Ti({ selection: e, className: t, children: n, ...i }) {
2459
- let a = L(null), [o, s] = R(), c = o !== void 0 && e.ids.includes(o) ? o : e.ids[0];
2547
+ var ki = be(null), Ai = "[data-slot=\"selectable-row\"]";
2548
+ function ji({ selection: e, className: t, children: n, ...i }) {
2549
+ let a = I(null), [o, s] = L(), c = o !== void 0 && e.ids.includes(o) ? o : e.ids[0];
2460
2550
  function l(t) {
2461
2551
  let n = t.target;
2462
2552
  if ((t.ctrlKey || t.metaKey) && t.key.toLowerCase() === "a") {
@@ -2468,17 +2558,17 @@ function Ti({ selection: e, className: t, children: n, ...i }) {
2468
2558
  t.preventDefault(), e.clear();
2469
2559
  return;
2470
2560
  }
2471
- let r = n.closest(wi), i = r?.dataset.id;
2561
+ let r = n.closest(Ai), i = r?.dataset.id;
2472
2562
  if (i === void 0 || !r) return;
2473
2563
  if (n === r && t.key === " ") {
2474
2564
  t.preventDefault(), e.toggle(i, { range: t.shiftKey });
2475
2565
  return;
2476
2566
  }
2477
2567
  if (t.key !== "ArrowDown" && t.key !== "ArrowUp") return;
2478
- let o = [...a.current?.querySelectorAll(wi) ?? []], s = o[o.indexOf(r) + (t.key === "ArrowDown" ? 1 : -1)], c = s?.dataset.id;
2568
+ let o = [...a.current?.querySelectorAll(Ai) ?? []], s = o[o.indexOf(r) + (t.key === "ArrowDown" ? 1 : -1)], c = s?.dataset.id;
2479
2569
  s && c !== void 0 && (t.preventDefault(), s.focus(), t.shiftKey && e.add([i, c]));
2480
2570
  }
2481
- return /* @__PURE__ */ r(Ci, {
2571
+ return /* @__PURE__ */ r(ki, {
2482
2572
  value: {
2483
2573
  selection: e,
2484
2574
  activeId: c,
@@ -2488,15 +2578,15 @@ function Ti({ selection: e, className: t, children: n, ...i }) {
2488
2578
  ref: a,
2489
2579
  "data-slot": "selectable-list",
2490
2580
  "data-selecting": e.count > 0 || void 0,
2491
- className: V("flex flex-col", t),
2581
+ className: B("flex flex-col", t),
2492
2582
  onKeyDown: l,
2493
2583
  ...i,
2494
2584
  children: n
2495
2585
  })
2496
2586
  });
2497
2587
  }
2498
- function Ei({ id: e, label: t, className: n, children: a, onClickCapture: o, onFocus: s, ...c }) {
2499
- let l = xe(Ci);
2588
+ function Mi({ id: e, label: t, className: n, children: a, onClickCapture: o, onFocus: s, ...c }) {
2589
+ let l = Se(ki);
2500
2590
  if (!l) throw Error("SelectableRow must be inside a SelectableList.");
2501
2591
  let { selection: u, activeId: d, setActive: f } = l, p = u.isSelected(e);
2502
2592
  function m(t) {
@@ -2510,13 +2600,13 @@ function Ei({ id: e, label: t, className: n, children: a, onClickCapture: o, onF
2510
2600
  "data-id": e,
2511
2601
  "data-state": p ? "selected" : void 0,
2512
2602
  tabIndex: d === e ? 0 : -1,
2513
- className: V("flex items-center gap-3 border-b px-3 py-2.5 outline-none transition-colors hover:bg-muted/60", "focus-visible:ring-3 focus-visible:ring-ring/25 focus-visible:ring-inset data-[state=selected]:bg-muted", u.count > 0 && "cursor-pointer", n),
2603
+ className: B("flex items-center gap-3 border-b px-3 py-2.5 outline-none transition-colors hover:bg-muted/60", "focus-visible:ring-3 focus-visible:ring-ring/25 focus-visible:ring-inset data-[state=selected]:bg-muted", u.count > 0 && "cursor-pointer", n),
2514
2604
  onClickCapture: h,
2515
2605
  onFocus: (t) => {
2516
2606
  f(e), s?.(t);
2517
2607
  },
2518
2608
  ...c,
2519
- children: [/* @__PURE__ */ r(it, {
2609
+ children: [/* @__PURE__ */ r(at, {
2520
2610
  "aria-label": t,
2521
2611
  checked: p,
2522
2612
  tabIndex: -1,
@@ -2528,17 +2618,17 @@ function Ei({ id: e, label: t, className: n, children: a, onClickCapture: o, onF
2528
2618
  });
2529
2619
  }
2530
2620
  // src/ui/selectable-list/selection.hook.ts
2531
- function Di(e, t = {}) {
2532
- let [n, r] = R(() => new Set(t.defaultSelected)), i = L(void 0), a = Te(() => new Set(e.filter((e) => n.has(e))), [e, n]), o = a.size, s = o === 0 ? !1 : o === e.length || "indeterminate", c = F((e) => a.has(e), [a]), l = F((t, { range: n = !1 } = {}) => {
2621
+ function Ni(e, t = {}) {
2622
+ let [n, r] = L(() => new Set(t.defaultSelected)), i = I(void 0), a = Ee(() => new Set(e.filter((e) => n.has(e))), [e, n]), o = a.size, s = o === 0 ? !1 : o === e.length || "indeterminate", c = P((e) => a.has(e), [a]), l = P((t, { range: n = !1 } = {}) => {
2533
2623
  let o = !a.has(t), s = n && i.current !== void 0 ? e.indexOf(i.current) : -1, c = e.indexOf(t), l = Math.min(s, c) === -1 ? [t] : e.slice(Math.min(s, c), Math.max(s, c) + 1);
2534
2624
  i.current = t, r((e) => {
2535
2625
  let t = new Set(e);
2536
2626
  for (let e of l) o ? t.add(e) : t.delete(e);
2537
2627
  return t;
2538
2628
  });
2539
- }, [e, a]), u = F((e) => {
2629
+ }, [e, a]), u = P((e) => {
2540
2630
  r((t) => /* @__PURE__ */ new Set([...t, ...e]));
2541
- }, []), d = F((e) => {
2631
+ }, []), d = P((e) => {
2542
2632
  i.current = void 0, r(new Set(e));
2543
2633
  }, []);
2544
2634
  return {
@@ -2550,19 +2640,19 @@ function Di(e, t = {}) {
2550
2640
  toggle: l,
2551
2641
  add: u,
2552
2642
  set: d,
2553
- selectAll: F(() => d(e), [e, d]),
2554
- clear: F(() => d([]), [d])
2643
+ selectAll: P(() => d(e), [e, d]),
2644
+ clear: P(() => d([]), [d])
2555
2645
  };
2556
2646
  }
2557
2647
  // src/ui/sidebar/sidebar-context.hook.ts
2558
- var Oi = ye(null);
2648
+ var Pi = be(null);
2559
2649
  function Z() {
2560
- let e = Se(Oi);
2650
+ let e = Ce(Pi);
2561
2651
  if (!e) throw Error("A sidebar part must be inside a Sidebar.");
2562
2652
  return e;
2563
2653
  }
2564
2654
  // src/ui/sidebar/sidebar.recipe.ts
2565
- var Q = "min-w-0 truncate whitespace-nowrap transition-[translate,opacity] duration-150 ease-out [transition-delay:60ms,60ms] motion-reduce:transition-none group-data-[collapsed]/sidebar:shrink-0 group-data-[collapsed]/sidebar:translate-x-3 group-data-[collapsed]/sidebar:opacity-0 group-data-[collapsed]/sidebar:[transition-delay:0ms] in-data-[slot=sidebar-sheet]:animate-sidebar-label-in motion-reduce:in-data-[slot=sidebar-sheet]:animate-none", ki = "grid grid-rows-[1fr] transition-[grid-template-rows,opacity,translate,margin] duration-200 ease-out motion-reduce:transition-none group-data-[collapsed]/sidebar:-mt-2 group-data-[collapsed]/sidebar:translate-y-2 group-data-[collapsed]/sidebar:grid-rows-[0fr] group-data-[collapsed]/sidebar:opacity-0", Ai = "flex h-9 w-full shrink-0 cursor-pointer items-center gap-3 rounded-md px-3 text-[13.5px] font-medium text-muted-foreground no-underline outline-none transition-colors duration-150 motion-reduce:transition-none hover:bg-sidebar-accent hover:text-foreground focus-visible:ring-2 focus-visible:ring-sidebar-ring [&_svg]:size-4 [&_svg]:shrink-0 aria-[current]:bg-brand-soft aria-[current]:text-brand-text", ji = {
2655
+ var Q = "min-w-0 truncate whitespace-nowrap transition-[translate,opacity] duration-150 ease-out [transition-delay:60ms,60ms] motion-reduce:transition-none group-data-[collapsed]/sidebar:shrink-0 group-data-[collapsed]/sidebar:translate-x-3 group-data-[collapsed]/sidebar:opacity-0 group-data-[collapsed]/sidebar:[transition-delay:0ms] in-data-[slot=sidebar-sheet]:animate-sidebar-label-in motion-reduce:in-data-[slot=sidebar-sheet]:animate-none", Fi = "grid grid-rows-[1fr] transition-[grid-template-rows,opacity,translate,margin] duration-200 ease-out motion-reduce:transition-none group-data-[collapsed]/sidebar:-mt-2 group-data-[collapsed]/sidebar:translate-y-2 group-data-[collapsed]/sidebar:grid-rows-[0fr] group-data-[collapsed]/sidebar:opacity-0", Ii = "flex h-9 w-full shrink-0 cursor-pointer items-center gap-3 rounded-md px-3 text-[13.5px] font-medium text-muted-foreground no-underline outline-none transition-colors duration-150 motion-reduce:transition-none hover:bg-sidebar-accent hover:text-foreground focus-visible:ring-2 focus-visible:ring-sidebar-ring [&_svg]:size-4 [&_svg]:shrink-0 aria-[current]:bg-brand-soft aria-[current]:text-brand-text", Li = {
2566
2656
  panel: {
2567
2657
  open: "w-64 gap-2 px-1.5 py-2.5",
2568
2658
  collapsed: "w-12 gap-2 px-1.5 pt-2.5 pb-24"
@@ -2572,12 +2662,12 @@ var Q = "min-w-0 truncate whitespace-nowrap transition-[translate,opacity] durat
2572
2662
  collapsed: "w-14 gap-4 px-2 py-3"
2573
2663
  }
2574
2664
  };
2575
- function Mi({ label: e, variant: t = "panel", side: n = "start", collapsed: a, defaultCollapsed: o = !1, onCollapsedChange: s, className: c, children: l, ...u }) {
2576
- let [d, f] = R(o), p = a ?? d;
2665
+ function Ri({ label: e, variant: t = "panel", side: n = "start", collapsed: a, defaultCollapsed: o = !1, onCollapsedChange: s, className: c, children: l, ...u }) {
2666
+ let [d, f] = L(o), p = a ?? d;
2577
2667
  function m(e) {
2578
2668
  a === void 0 && f(e), s?.(e);
2579
2669
  }
2580
- return /* @__PURE__ */ r(Oi, {
2670
+ return /* @__PURE__ */ r(Pi, {
2581
2671
  value: {
2582
2672
  collapsed: p,
2583
2673
  setCollapsed: m,
@@ -2590,7 +2680,7 @@ function Mi({ label: e, variant: t = "panel", side: n = "start", collapsed: a, d
2590
2680
  "data-variant": t,
2591
2681
  "data-collapsed": p || void 0,
2592
2682
  "aria-label": e,
2593
- className: V("group/sidebar flex h-full min-h-0 shrink-0 flex-col overflow-hidden bg-sidebar text-[13px] text-sidebar-foreground", n === "start" ? "border-e border-sidebar-border" : "border-s border-sidebar-border", "relative transition-[width] duration-150 ease-out motion-reduce:transition-none", p ? ji[t].collapsed : ji[t].open, c),
2683
+ className: B("group/sidebar flex h-full min-h-0 shrink-0 flex-col overflow-hidden bg-sidebar text-[13px] text-sidebar-foreground", n === "start" ? "border-e border-sidebar-border" : "border-s border-sidebar-border", "relative transition-[width] duration-150 ease-out motion-reduce:transition-none", p ? Li[t].collapsed : Li[t].open, c),
2594
2684
  ...u,
2595
2685
  children: [l, t === "panel" && /* @__PURE__ */ r("span", {
2596
2686
  "aria-hidden": "true",
@@ -2600,8 +2690,8 @@ function Mi({ label: e, variant: t = "panel", side: n = "start", collapsed: a, d
2600
2690
  })
2601
2691
  });
2602
2692
  }
2603
- function Ni({ label: e, children: t }) {
2604
- let { collapsed: n, side: a } = Z(), [o, s] = R(!1);
2693
+ function zi({ label: e, children: t }) {
2694
+ let { collapsed: n, side: a } = Z(), [o, s] = L(!1);
2605
2695
  return /* @__PURE__ */ i(pn, {
2606
2696
  open: n && o,
2607
2697
  onOpenChange: s,
@@ -2614,18 +2704,18 @@ function Ni({ label: e, children: t }) {
2614
2704
  })]
2615
2705
  });
2616
2706
  }
2617
- function Pi({ className: e, ...t }) {
2707
+ function Bi({ className: e, ...t }) {
2618
2708
  let { collapsed: n, setCollapsed: a, label: o, side: s, variant: c } = Z(), l = c === "nav" ? `${n ? "Expand" : "Collapse"} sidebar` : `${n ? "Show" : "Hide"} ${o.toLowerCase()}`;
2619
- if (c === "nav") return /* @__PURE__ */ r(Ni, {
2709
+ if (c === "nav") return /* @__PURE__ */ r(zi, {
2620
2710
  label: l,
2621
2711
  children: /* @__PURE__ */ i("button", {
2622
2712
  type: "button",
2623
2713
  "aria-label": l,
2624
2714
  "aria-expanded": !n,
2625
2715
  onClick: () => a(!n),
2626
- className: V(Ai, e),
2716
+ className: B(Ii, e),
2627
2717
  ...t,
2628
- children: [/* @__PURE__ */ r(ue, { "aria-hidden": "true" }), /* @__PURE__ */ r("span", {
2718
+ children: [/* @__PURE__ */ r(de, { "aria-hidden": "true" }), /* @__PURE__ */ r("span", {
2629
2719
  "aria-hidden": "true",
2630
2720
  className: Q,
2631
2721
  children: "Collapse"
@@ -2633,29 +2723,29 @@ function Pi({ className: e, ...t }) {
2633
2723
  })
2634
2724
  });
2635
2725
  let u = s === "start" !== n;
2636
- return /* @__PURE__ */ r(Y, {
2726
+ return /* @__PURE__ */ r(J, {
2637
2727
  variant: "ghost",
2638
2728
  size: "icon-sm",
2639
2729
  "aria-label": l,
2640
2730
  "aria-expanded": !n,
2641
2731
  title: l,
2642
2732
  onClick: () => a(!n),
2643
- className: V("shrink-0 text-muted-foreground", e),
2733
+ className: B("shrink-0 text-muted-foreground", e),
2644
2734
  ...t,
2645
- children: r(u ? j : ie, {})
2735
+ children: r(u ? ie : ae, {})
2646
2736
  });
2647
2737
  }
2648
- function Fi({ query: e = "", onQueryChange: t, searchLabel: n, children: a, className: o }) {
2738
+ function Vi({ query: e = "", onQueryChange: t, searchLabel: n, children: a, className: o }) {
2649
2739
  let { collapsed: s, label: c, variant: l } = Z();
2650
2740
  if (l === "nav") return /* @__PURE__ */ r("div", {
2651
2741
  "data-slot": "sidebar-header",
2652
- className: V("flex h-8 items-center", o),
2742
+ className: B("flex h-8 items-center", o),
2653
2743
  children: a
2654
2744
  });
2655
2745
  let u = n ?? `Search ${c.toLowerCase()}`;
2656
2746
  return /* @__PURE__ */ i("div", {
2657
2747
  "data-slot": "sidebar-header",
2658
- className: V("flex items-center gap-1", o),
2748
+ className: B("flex items-center gap-1", o),
2659
2749
  children: [/* @__PURE__ */ i("div", {
2660
2750
  inert: s,
2661
2751
  className: "flex min-w-0 flex-1 items-center gap-1 transition-opacity duration-150 group-data-[collapsed]/sidebar:opacity-0 motion-reduce:transition-none",
@@ -2665,13 +2755,13 @@ function Fi({ query: e = "", onQueryChange: t, searchLabel: n, children: a, clas
2665
2755
  onChange: (e) => t(e.target.value),
2666
2756
  placeholder: u,
2667
2757
  "aria-label": u,
2668
- startIcon: /* @__PURE__ */ r(me, {})
2758
+ startIcon: /* @__PURE__ */ r(he, {})
2669
2759
  }), a]
2670
- }), /* @__PURE__ */ r(Pi, { className: "ms-auto" })]
2760
+ }), /* @__PURE__ */ r(Bi, { className: "ms-auto" })]
2671
2761
  });
2672
2762
  }
2673
- function Ii({ className: e, ...t }) {
2674
- let { label: n, variant: i } = Z(), a = V("flex min-h-0 flex-1 flex-col overflow-x-hidden overflow-y-auto [scrollbar-width:thin]", "group-data-[collapsed]/sidebar:[scrollbar-width:none] group-data-[collapsed]/sidebar:[&::-webkit-scrollbar]:hidden", i === "panel" ? "gap-3" : "gap-4", e);
2763
+ function Hi({ className: e, ...t }) {
2764
+ let { label: n, variant: i } = Z(), a = B("flex min-h-0 flex-1 flex-col overflow-x-hidden overflow-y-auto [scrollbar-width:thin]", "group-data-[collapsed]/sidebar:[scrollbar-width:none] group-data-[collapsed]/sidebar:[&::-webkit-scrollbar]:hidden", i === "panel" ? "gap-3" : "gap-4", e);
2675
2765
  return i === "nav" ? /* @__PURE__ */ r("nav", {
2676
2766
  "data-slot": "sidebar-content",
2677
2767
  "aria-label": n,
@@ -2683,12 +2773,12 @@ function Ii({ className: e, ...t }) {
2683
2773
  ...t
2684
2774
  });
2685
2775
  }
2686
- function Li({ className: e, children: t, ...n }) {
2776
+ function Ui({ className: e, children: t, ...n }) {
2687
2777
  let { collapsed: i } = Z();
2688
2778
  return /* @__PURE__ */ r("div", {
2689
2779
  "data-slot": "sidebar-note",
2690
2780
  "aria-hidden": i || void 0,
2691
- className: V(ki, e),
2781
+ className: B(Fi, e),
2692
2782
  ...n,
2693
2783
  children: /* @__PURE__ */ r("span", {
2694
2784
  className: "min-h-0 truncate overflow-hidden px-3 text-xs whitespace-nowrap text-muted-foreground",
@@ -2696,26 +2786,26 @@ function Li({ className: e, children: t, ...n }) {
2696
2786
  })
2697
2787
  });
2698
2788
  }
2699
- function Ri({ className: e, ...t }) {
2789
+ function Wi({ className: e, ...t }) {
2700
2790
  let { collapsed: n, variant: i } = Z();
2701
2791
  return i === "panel" && n ? null : /* @__PURE__ */ r("div", {
2702
2792
  "data-slot": "sidebar-footer",
2703
- className: V("mt-auto flex flex-col gap-2", i === "nav" && "border-t border-sidebar-border pt-3", e),
2793
+ className: B("mt-auto flex flex-col gap-2", i === "nav" && "border-t border-sidebar-border pt-3", e),
2704
2794
  ...t
2705
2795
  });
2706
2796
  }
2707
2797
  // src/ui/sidebar/sidebar-group.component.tsx
2708
- function zi({ title: e, count: t, forceOpen: n = !1, defaultOpen: a = !0, collapsible: o, className: s, children: c }) {
2709
- let { collapsed: u, variant: d } = Z(), [f, p] = R(a), m = o ?? d === "panel", h = "text-xs font-semibold tracking-[0.04em] text-muted-foreground uppercase";
2798
+ function Gi({ title: e, count: t, forceOpen: n = !1, defaultOpen: a = !0, collapsible: o, className: s, children: c }) {
2799
+ let { collapsed: u, variant: d } = Z(), [f, p] = L(a), m = o ?? d === "panel", h = "text-xs font-semibold tracking-[0.04em] text-muted-foreground uppercase";
2710
2800
  return m ? /* @__PURE__ */ i(l.Root, {
2711
2801
  "data-slot": "sidebar-group",
2712
2802
  open: n || u || f,
2713
2803
  onOpenChange: p,
2714
- className: V("flex flex-col gap-1", s),
2804
+ className: B("flex flex-col gap-1", s),
2715
2805
  children: [/* @__PURE__ */ i(l.Trigger, {
2716
2806
  disabled: n,
2717
2807
  inert: u,
2718
- className: V("group/trigger flex w-full cursor-pointer items-center gap-1.5 rounded-sm px-[13px] py-0.5 text-start outline-none hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-default", "whitespace-nowrap transition-[translate,opacity] duration-150 ease-out group-data-[collapsed]/sidebar:translate-x-3 group-data-[collapsed]/sidebar:opacity-0 motion-reduce:transition-none"),
2808
+ className: B("group/trigger flex w-full cursor-pointer items-center gap-1.5 rounded-sm px-[13px] py-0.5 text-start outline-none hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-default", "whitespace-nowrap transition-[translate,opacity] duration-150 ease-out group-data-[collapsed]/sidebar:translate-x-3 group-data-[collapsed]/sidebar:opacity-0 motion-reduce:transition-none"),
2719
2809
  children: [
2720
2810
  /* @__PURE__ */ r(re, {
2721
2811
  "aria-hidden": "true",
@@ -2740,16 +2830,16 @@ function zi({ title: e, count: t, forceOpen: n = !1, defaultOpen: a = !0, collap
2740
2830
  role: "group",
2741
2831
  "aria-label": e,
2742
2832
  "data-slot": "sidebar-group",
2743
- className: V("flex flex-col gap-0.5", s),
2833
+ className: B("flex flex-col gap-0.5", s),
2744
2834
  children: [/* @__PURE__ */ r("span", {
2745
2835
  "aria-hidden": "true",
2746
- className: V("flex h-6 items-center px-3", h, Q),
2836
+ className: B("flex h-6 items-center px-3", h, Q),
2747
2837
  children: e
2748
2838
  }), c]
2749
2839
  });
2750
2840
  }
2751
2841
  // src/ui/sidebar/sidebar-item.component.tsx
2752
- function Bi({ title: e, meta: t, icon: a, hue: o, color: s = "var(--muted-foreground)", badge: c, active: l = !1, asChild: u = !1, className: d, children: f, ...p }) {
2842
+ function Ki({ title: e, meta: t, icon: a, hue: o, color: s = "var(--muted-foreground)", badge: c, active: l = !1, asChild: u = !1, className: d, children: f, ...p }) {
2753
2843
  let { collapsed: m, variant: h } = Z(), g = l ? h === "nav" ? "page" : "true" : void 0, _ = h === "nav" ? /* @__PURE__ */ i(n, { children: [
2754
2844
  /* @__PURE__ */ r("span", {
2755
2845
  "aria-hidden": "true",
@@ -2761,7 +2851,7 @@ function Bi({ title: e, meta: t, icon: a, hue: o, color: s = "var(--muted-foregr
2761
2851
  children: e
2762
2852
  }),
2763
2853
  c !== void 0 && /* @__PURE__ */ r("span", {
2764
- className: V("ms-auto rounded-full bg-secondary px-1.5 text-xs text-secondary-foreground tabular-nums", Q),
2854
+ className: B("ms-auto rounded-full bg-secondary px-1.5 text-xs text-secondary-foreground tabular-nums", Q),
2765
2855
  children: c
2766
2856
  })
2767
2857
  ] }) : /* @__PURE__ */ i(n, { children: [
@@ -2771,11 +2861,11 @@ function Bi({ title: e, meta: t, icon: a, hue: o, color: s = "var(--muted-foregr
2771
2861
  children: a
2772
2862
  }) : /* @__PURE__ */ r("span", {
2773
2863
  "aria-hidden": "true",
2774
- className: V("h-6 w-2.5 shrink-0 rounded-[3px]", o ? G[o] : ""),
2864
+ className: B("h-6 w-2.5 shrink-0 rounded-[3px]", o ? W[o] : ""),
2775
2865
  style: o ? void 0 : { background: s }
2776
2866
  }),
2777
2867
  /* @__PURE__ */ i("span", {
2778
- className: V("flex flex-col", Q),
2868
+ className: B("flex flex-col", Q),
2779
2869
  children: [/* @__PURE__ */ r("span", {
2780
2870
  className: "truncate text-[13px] font-medium",
2781
2871
  children: e
@@ -2785,45 +2875,45 @@ function Bi({ title: e, meta: t, icon: a, hue: o, color: s = "var(--muted-foregr
2785
2875
  })]
2786
2876
  }),
2787
2877
  c !== void 0 && /* @__PURE__ */ r("span", {
2788
- className: V("ms-auto text-[11px] text-muted-foreground tabular-nums", Q),
2878
+ className: B("ms-auto text-[11px] text-muted-foreground tabular-nums", Q),
2789
2879
  children: c
2790
2880
  })
2791
- ] }), v = h === "nav" ? V(Ai, d) : V("group/item flex cursor-pointer items-center rounded-md border border-transparent text-start text-sidebar-foreground no-underline outline-none transition-colors duration-150 motion-reduce:transition-none", "hover:border-sidebar-border hover:bg-background focus-visible:ring-2 focus-visible:ring-sidebar-ring disabled:cursor-not-allowed disabled:opacity-50", "aria-[current]:border-transparent aria-[current]:bg-brand-soft aria-[current]:text-brand-text", "w-full gap-2 px-[13px] py-1.5", d), y = {
2881
+ ] }), v = h === "nav" ? B(Ii, d) : B("group/item flex cursor-pointer items-center rounded-md border border-transparent text-start text-sidebar-foreground no-underline outline-none transition-colors duration-150 motion-reduce:transition-none", "hover:border-sidebar-border hover:bg-background focus-visible:ring-2 focus-visible:ring-sidebar-ring disabled:cursor-not-allowed disabled:opacity-50", "aria-[current]:border-transparent aria-[current]:bg-brand-soft aria-[current]:text-brand-text", "w-full gap-2 px-[13px] py-1.5", d), y = {
2792
2882
  "data-slot": "sidebar-item",
2793
2883
  "aria-current": g,
2794
2884
  "aria-label": m ? e : void 0,
2795
2885
  className: v
2796
- }, b = u && be(f) ? /* @__PURE__ */ r(C.Root, {
2886
+ }, b = u && xe(f) ? /* @__PURE__ */ r(C.Root, {
2797
2887
  ...y,
2798
2888
  ...p,
2799
- children: Vi(f, _)
2889
+ children: qi(f, _)
2800
2890
  }) : /* @__PURE__ */ r("button", {
2801
2891
  type: "button",
2802
2892
  ...y,
2803
2893
  ...p,
2804
2894
  children: _
2805
2895
  });
2806
- return /* @__PURE__ */ r(Ni, {
2896
+ return /* @__PURE__ */ r(zi, {
2807
2897
  label: e,
2808
2898
  children: b
2809
2899
  });
2810
2900
  }
2811
- function Vi(e, t) {
2812
- return ve(e, void 0, t);
2901
+ function qi(e, t) {
2902
+ return ye(e, void 0, t);
2813
2903
  }
2814
2904
  // src/ui/sidebar/sidebar-sheet.component.tsx
2815
- function Hi({ label: e, children: t, side: n = "start", open: a, onOpenChange: o, className: s }) {
2905
+ function Ji({ label: e, children: t, side: n = "start", open: a, onOpenChange: o, className: s }) {
2816
2906
  return /* @__PURE__ */ i(an, {
2817
2907
  open: a,
2818
2908
  onOpenChange: o,
2819
2909
  children: [/* @__PURE__ */ r(on, {
2820
2910
  asChild: !0,
2821
- children: /* @__PURE__ */ r(Y, {
2911
+ children: /* @__PURE__ */ r(J, {
2822
2912
  variant: "ghost",
2823
2913
  size: "icon",
2824
2914
  "aria-label": `Show ${e.toLowerCase()}`,
2825
2915
  className: s,
2826
- children: /* @__PURE__ */ r(ue, {})
2916
+ children: /* @__PURE__ */ r(de, {})
2827
2917
  })
2828
2918
  }), /* @__PURE__ */ i(dn, {
2829
2919
  "data-slot": "sidebar-sheet",
@@ -2837,15 +2927,15 @@ function Hi({ label: e, children: t, side: n = "start", open: a, onOpenChange: o
2837
2927
  });
2838
2928
  }
2839
2929
  // src/product/product-switcher.component.tsx
2840
- function Ui({ product: e, workspace: t, products: n = Ke, onProductChange: a, className: o }) {
2930
+ function Yi({ product: e, workspace: t, products: n = qe, onProductChange: a, className: o }) {
2841
2931
  return /* @__PURE__ */ i(Fn, { children: [/* @__PURE__ */ r(In, {
2842
2932
  asChild: !0,
2843
- children: /* @__PURE__ */ i(Y, {
2933
+ children: /* @__PURE__ */ i(J, {
2844
2934
  variant: "ghost",
2845
- className: V("h-12 w-full justify-start gap-2.5 px-2", o),
2846
- "aria-label": `${H[e].name}, switch product`,
2935
+ className: B("h-12 w-full justify-start gap-2.5 px-2", o),
2936
+ "aria-label": `${V[e].name}, switch product`,
2847
2937
  children: [
2848
- /* @__PURE__ */ r(U, {
2938
+ /* @__PURE__ */ r(H, {
2849
2939
  product: e,
2850
2940
  alt: "",
2851
2941
  className: "size-7"
@@ -2854,13 +2944,13 @@ function Ui({ product: e, workspace: t, products: n = Ke, onProductChange: a, cl
2854
2944
  className: "flex min-w-0 flex-col items-start leading-tight",
2855
2945
  children: [/* @__PURE__ */ r("span", {
2856
2946
  className: "font-display text-[17px] font-extrabold italic text-brand-text",
2857
- children: H[e].name
2947
+ children: V[e].name
2858
2948
  }), t && /* @__PURE__ */ r("span", {
2859
2949
  className: "truncate text-xs font-normal text-muted-foreground",
2860
2950
  children: t
2861
2951
  })]
2862
2952
  }),
2863
- /* @__PURE__ */ r(ae, {
2953
+ /* @__PURE__ */ r(oe, {
2864
2954
  className: "ms-auto text-muted-foreground",
2865
2955
  "aria-hidden": "true"
2866
2956
  })
@@ -2874,21 +2964,21 @@ function Ui({ product: e, workspace: t, products: n = Ke, onProductChange: a, cl
2874
2964
  onValueChange: (e) => a?.(e),
2875
2965
  children: n.map((e) => /* @__PURE__ */ i(Vn, {
2876
2966
  value: e,
2877
- children: [/* @__PURE__ */ r(U, {
2967
+ children: [/* @__PURE__ */ r(H, {
2878
2968
  product: e,
2879
2969
  alt: "",
2880
2970
  className: "size-4"
2881
- }), H[e].name]
2971
+ }), V[e].name]
2882
2972
  }, e))
2883
2973
  })]
2884
2974
  })] });
2885
2975
  }
2886
2976
  // src/product/sidebar-brand.component.tsx
2887
- function Wi({ product: e, badge: t, className: n }) {
2888
- let { collapsed: a, setCollapsed: o } = Z(), s = H[e].name;
2977
+ function Xi({ product: e, badge: t, className: n }) {
2978
+ let { collapsed: a, setCollapsed: o } = Z(), s = V[e].name;
2889
2979
  return /* @__PURE__ */ i("div", {
2890
2980
  "data-slot": "sidebar-brand",
2891
- className: V("flex h-8 items-center", n),
2981
+ className: B("flex h-8 items-center", n),
2892
2982
  children: [
2893
2983
  /* @__PURE__ */ r("button", {
2894
2984
  type: "button",
@@ -2896,26 +2986,26 @@ function Wi({ product: e, badge: t, className: n }) {
2896
2986
  "aria-expanded": !a,
2897
2987
  onClick: () => o(!a),
2898
2988
  className: "grid size-10 shrink-0 cursor-pointer place-items-center rounded-md outline-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",
2899
- children: /* @__PURE__ */ r(U, {
2989
+ children: /* @__PURE__ */ r(H, {
2900
2990
  product: e,
2901
2991
  alt: "",
2902
- className: V("size-6 transition-transform duration-300 ease-emphasised motion-reduce:transition-none", a && "rotate-120")
2992
+ className: B("size-6 transition-transform duration-300 ease-emphasised motion-reduce:transition-none", a && "rotate-120")
2903
2993
  })
2904
2994
  }),
2905
2995
  /* @__PURE__ */ r("span", {
2906
- className: V("ms-1 font-display text-lg font-extrabold text-brand-text italic", Q),
2996
+ className: B("ms-1 font-display text-lg font-extrabold text-brand-text italic", Q),
2907
2997
  children: s
2908
2998
  }),
2909
2999
  t && /* @__PURE__ */ r("span", {
2910
- className: V("ms-2 rounded-full bg-warning-soft px-2 text-xs font-medium text-warning", Q),
3000
+ className: B("ms-2 rounded-full bg-warning-soft px-2 text-xs font-medium text-warning", Q),
2911
3001
  children: t
2912
3002
  })
2913
3003
  ]
2914
3004
  });
2915
3005
  }
2916
3006
  // src/app/command-shortcut.hook.ts
2917
- function Gi(e, t = !0) {
2918
- I(() => {
3007
+ function Zi(e, t = !0) {
3008
+ F(() => {
2919
3009
  if (!t) return;
2920
3010
  function n(t) {
2921
3011
  t.key.toLowerCase() === "k" && (t.metaKey || t.ctrlKey) && (t.preventDefault(), e());
@@ -2923,42 +3013,42 @@ function Gi(e, t = !0) {
2923
3013
  return document.addEventListener("keydown", n), () => document.removeEventListener("keydown", n);
2924
3014
  }, [e, t]);
2925
3015
  }
2926
- function Ki(e) {
3016
+ function Qi(e) {
2927
3017
  return /mac|iphone|ipad|ipod/i.test(e) ? "⌘K" : "Ctrl+K";
2928
3018
  }
2929
- function qi() {}
2930
- function Ji() {
2931
- return qi;
3019
+ function $i() {}
3020
+ function ea() {
3021
+ return $i;
2932
3022
  }
2933
- function Yi() {
3023
+ function ta() {
2934
3024
  return navigator.userAgentData?.platform ?? navigator.platform;
2935
3025
  }
2936
- function Xi() {
3026
+ function na() {
2937
3027
  return "";
2938
3028
  }
2939
- function Zi() {
2940
- return Ki(Ee(Ji, Yi, Xi));
3029
+ function ra() {
3030
+ return Qi(De(ea, ta, na));
2941
3031
  }
2942
3032
  // src/app/app-shell.component.tsx
2943
- var Qi = "flex min-h-0 flex-1 flex-col gap-5 overflow-y-auto p-6 [scrollbar-gutter:stable] [&>*]:shrink-0 has-[>[data-slot=app-shell-body]]:gap-0 has-[>[data-slot=app-shell-body]]:overflow-hidden has-[>[data-slot=app-shell-body]]:p-0";
2944
- function $i({ children: e, className: t }) {
3033
+ var ia = "flex min-h-0 flex-1 flex-col gap-5 overflow-y-auto p-6 [scrollbar-gutter:stable] [&>*]:shrink-0 has-[>[data-slot=app-shell-body]]:gap-0 has-[>[data-slot=app-shell-body]]:overflow-hidden has-[>[data-slot=app-shell-body]]:p-0";
3034
+ function aa({ children: e, className: t }) {
2945
3035
  return /* @__PURE__ */ r("div", {
2946
3036
  "data-slot": "app-shell-header",
2947
- className: V("shrink-0 border-b px-6 py-4", t),
3037
+ className: B("shrink-0 border-b px-6 py-4", t),
2948
3038
  children: e
2949
3039
  });
2950
3040
  }
2951
- function ea({ children: e, className: t }) {
3041
+ function oa({ children: e, className: t }) {
2952
3042
  return /* @__PURE__ */ r("div", {
2953
3043
  "data-slot": "app-shell-body",
2954
- className: V("flex min-h-0 flex-1 flex-col gap-5 overflow-y-auto p-6 [scrollbar-gutter:stable] [&>*]:shrink-0", t),
3044
+ className: B("flex min-h-0 flex-1 flex-col gap-5 overflow-y-auto p-6 [scrollbar-gutter:stable] [&>*]:shrink-0", t),
2955
3045
  children: e
2956
3046
  });
2957
3047
  }
2958
- function ta({ product: e, brand: t = "switcher", workspace: a, onProductChange: o, nav: s, secondaryNav: c, sidebarFooter: l, sidebarNote: u, user: d, breadcrumb: f, topActions: p, statusBar: m, commands: h, children: g, className: _ }) {
2959
- let [v, y] = R(!1), b = F(() => y(!0), []);
2960
- Gi(b, !!h?.length);
2961
- let x = Zi(), ee = [...new Set(h?.map((e) => e.group))], S = (e) => /* @__PURE__ */ r(Bi, {
3048
+ function sa({ product: e, brand: t = "switcher", workspace: a, onProductChange: o, nav: s, secondaryNav: c, sidebarFooter: l, sidebarNote: u, user: d, breadcrumb: f, topActions: p, statusBar: m, commands: h, children: g, className: _ }) {
3049
+ let [v, y] = L(!1), b = P(() => y(!0), []);
3050
+ Zi(b, !!h?.length);
3051
+ let x = ra(), ee = [...new Set(h?.map((e) => e.group))], S = (e) => /* @__PURE__ */ r(Ki, {
2962
3052
  asChild: !0,
2963
3053
  title: e.label,
2964
3054
  icon: e.icon,
@@ -2969,19 +3059,19 @@ function ta({ product: e, brand: t = "switcher", workspace: a, onProductChange:
2969
3059
  children: e.label
2970
3060
  })
2971
3061
  }, e.href), C = /* @__PURE__ */ i(n, { children: [
2972
- /* @__PURE__ */ r(Fi, {
3062
+ /* @__PURE__ */ r(Vi, {
2973
3063
  className: "h-12",
2974
- children: t === "logo" ? /* @__PURE__ */ r(Wi, { product: e }) : /* @__PURE__ */ r(Ui, {
3064
+ children: t === "logo" ? /* @__PURE__ */ r(Xi, { product: e }) : /* @__PURE__ */ r(Yi, {
2975
3065
  product: e,
2976
3066
  workspace: a,
2977
3067
  onProductChange: o,
2978
3068
  className: "px-2.5"
2979
3069
  })
2980
3070
  }),
2981
- /* @__PURE__ */ i(Ii, { children: [
2982
- h?.length ? /* @__PURE__ */ r(Bi, {
3071
+ /* @__PURE__ */ i(Hi, { children: [
3072
+ h?.length ? /* @__PURE__ */ r(Ki, {
2983
3073
  title: "Search",
2984
- icon: /* @__PURE__ */ r(me, {}),
3074
+ icon: /* @__PURE__ */ r(he, {}),
2985
3075
  badge: /* @__PURE__ */ r(wr, {
2986
3076
  className: "border-0 bg-transparent",
2987
3077
  children: x
@@ -2992,20 +3082,20 @@ function ta({ product: e, brand: t = "switcher", workspace: a, onProductChange:
2992
3082
  className: "flex flex-col gap-0.5",
2993
3083
  children: s.map((e) => S(e))
2994
3084
  }),
2995
- c && /* @__PURE__ */ r(zi, {
3085
+ c && /* @__PURE__ */ r(Gi, {
2996
3086
  title: c.title,
2997
3087
  children: c.items.map((e) => S(e))
2998
3088
  })
2999
3089
  ] }),
3000
- /* @__PURE__ */ i(Ri, { children: [
3090
+ /* @__PURE__ */ i(Wi, { children: [
3001
3091
  l && /* @__PURE__ */ r("div", {
3002
3092
  className: Q,
3003
3093
  children: l
3004
3094
  }),
3005
3095
  d && /* @__PURE__ */ i("div", {
3006
3096
  className: "flex items-center gap-2.5 px-1",
3007
- children: [/* @__PURE__ */ r($e, { children: /* @__PURE__ */ r(tt, { children: d.initials }) }), /* @__PURE__ */ i("span", {
3008
- className: V("flex flex-col leading-tight", Q),
3097
+ children: [/* @__PURE__ */ r(et, { children: /* @__PURE__ */ r(nt, { children: d.initials }) }), /* @__PURE__ */ i("span", {
3098
+ className: B("flex flex-col leading-tight", Q),
3009
3099
  children: [/* @__PURE__ */ r("span", {
3010
3100
  className: "text-[13px] font-semibold",
3011
3101
  children: d.name
@@ -3015,15 +3105,15 @@ function ta({ product: e, brand: t = "switcher", workspace: a, onProductChange:
3015
3105
  })]
3016
3106
  })]
3017
3107
  }),
3018
- /* @__PURE__ */ r(Pi, {}),
3019
- u && /* @__PURE__ */ r(Li, { children: u })
3108
+ /* @__PURE__ */ r(Bi, {}),
3109
+ u && /* @__PURE__ */ r(Ui, { children: u })
3020
3110
  ] })
3021
3111
  ] });
3022
3112
  return /* @__PURE__ */ i("div", {
3023
3113
  "data-slot": "app-shell",
3024
- className: V("flex h-dvh overflow-hidden bg-background", _),
3114
+ className: B("flex h-dvh overflow-hidden bg-background", _),
3025
3115
  children: [
3026
- /* @__PURE__ */ r(Mi, {
3116
+ /* @__PURE__ */ r(Ri, {
3027
3117
  variant: "nav",
3028
3118
  label: "Workspace",
3029
3119
  className: "h-dvh max-md:hidden",
@@ -3034,12 +3124,12 @@ function ta({ product: e, brand: t = "switcher", workspace: a, onProductChange:
3034
3124
  children: [
3035
3125
  /* @__PURE__ */ i("div", {
3036
3126
  "data-slot": "app-top-bar",
3037
- className: V("flex h-14 shrink-0 flex-wrap items-center gap-3 border-b px-6", !f && !p && "md:hidden"),
3127
+ className: B("flex h-14 shrink-0 flex-wrap items-center gap-3 border-b px-6", !f && !p && "md:hidden"),
3038
3128
  children: [
3039
- /* @__PURE__ */ r(Hi, {
3129
+ /* @__PURE__ */ r(Ji, {
3040
3130
  label: "Workspace",
3041
3131
  className: "-ms-2 md:hidden",
3042
- children: /* @__PURE__ */ r(Mi, {
3132
+ children: /* @__PURE__ */ r(Ri, {
3043
3133
  variant: "nav",
3044
3134
  label: "Workspace",
3045
3135
  collapsed: !1,
@@ -3056,7 +3146,7 @@ function ta({ product: e, brand: t = "switcher", workspace: a, onProductChange:
3056
3146
  }),
3057
3147
  /* @__PURE__ */ r("main", {
3058
3148
  "data-slot": "app-shell-page",
3059
- className: Qi,
3149
+ className: ia,
3060
3150
  children: g
3061
3151
  }),
3062
3152
  m && /* @__PURE__ */ r("footer", {
@@ -3084,11 +3174,11 @@ function ta({ product: e, brand: t = "switcher", workspace: a, onProductChange:
3084
3174
  });
3085
3175
  }
3086
3176
  // src/app/filter-bar.component.tsx
3087
- function na({ query: e, onQueryChange: t, searchLabel: n = "Search", filters: a, views: o, className: s }) {
3177
+ function ca({ query: e, onQueryChange: t, searchLabel: n = "Search", filters: a, views: o, className: s }) {
3088
3178
  return /* @__PURE__ */ i("div", {
3089
3179
  "data-slot": "filter-bar",
3090
3180
  role: "search",
3091
- className: V("flex flex-wrap items-center gap-2 border-b p-3", s),
3181
+ className: B("flex flex-wrap items-center gap-2 border-b p-3", s),
3092
3182
  children: [
3093
3183
  /* @__PURE__ */ r("div", {
3094
3184
  className: "max-w-80 flex-[1_1_220px]",
@@ -3098,7 +3188,7 @@ function na({ query: e, onQueryChange: t, searchLabel: n = "Search", filters: a,
3098
3188
  onChange: (e) => t(e.target.value),
3099
3189
  placeholder: n,
3100
3190
  "aria-label": n,
3101
- startIcon: /* @__PURE__ */ r(me, {})
3191
+ startIcon: /* @__PURE__ */ r(he, {})
3102
3192
  })
3103
3193
  }),
3104
3194
  a,
@@ -3109,16 +3199,16 @@ function na({ query: e, onQueryChange: t, searchLabel: n = "Search", filters: a,
3109
3199
  ]
3110
3200
  });
3111
3201
  }
3112
- function ra({ label: e, count: t = 0, icon: n, className: a, ...o }) {
3113
- return /* @__PURE__ */ i(Y, {
3202
+ function la({ label: e, count: t = 0, icon: n, className: a, ...o }) {
3203
+ return /* @__PURE__ */ i(J, {
3114
3204
  variant: "outline",
3115
3205
  size: "sm",
3116
- className: V("border-dashed", a),
3206
+ className: B("border-dashed", a),
3117
3207
  ...o,
3118
3208
  children: [
3119
- n ?? /* @__PURE__ */ r(pe, {}),
3209
+ n ?? /* @__PURE__ */ r(me, {}),
3120
3210
  e,
3121
- t > 0 && /* @__PURE__ */ r(q, {
3211
+ t > 0 && /* @__PURE__ */ r(K, {
3122
3212
  variant: "brand",
3123
3213
  className: "h-[18px]",
3124
3214
  "aria-label": `${t} selected`,
@@ -3128,10 +3218,10 @@ function ra({ label: e, count: t = 0, icon: n, className: a, ...o }) {
3128
3218
  });
3129
3219
  }
3130
3220
  // src/app/form-section.component.tsx
3131
- function ia({ title: e, description: t, children: n, actions: a, className: o }) {
3221
+ function ua({ title: e, description: t, children: n, actions: a, className: o }) {
3132
3222
  return /* @__PURE__ */ i("section", {
3133
3223
  "data-slot": "form-section",
3134
- className: V("grid gap-6 md:grid-cols-[minmax(0,1fr)_minmax(0,2fr)]", o),
3224
+ className: B("grid gap-6 md:grid-cols-[minmax(0,1fr)_minmax(0,2fr)]", o),
3135
3225
  children: [/* @__PURE__ */ i("div", {
3136
3226
  className: "flex flex-col gap-1",
3137
3227
  children: [/* @__PURE__ */ r("h2", {
@@ -3154,10 +3244,10 @@ function ia({ title: e, description: t, children: n, actions: a, className: o })
3154
3244
  });
3155
3245
  }
3156
3246
  // src/app/page-header.component.tsx
3157
- function aa({ title: e, description: t, actions: n, tabs: a, className: o }) {
3247
+ function da({ title: e, description: t, actions: n, tabs: a, className: o }) {
3158
3248
  return /* @__PURE__ */ i("div", {
3159
3249
  "data-slot": "page-header",
3160
- className: V("flex flex-col gap-4", o),
3250
+ className: B("flex flex-col gap-4", o),
3161
3251
  children: [/* @__PURE__ */ i("div", {
3162
3252
  className: "flex flex-wrap items-end gap-4",
3163
3253
  children: [/* @__PURE__ */ i("div", {
@@ -3177,7 +3267,7 @@ function aa({ title: e, description: t, actions: n, tabs: a, className: o }) {
3177
3267
  });
3178
3268
  }
3179
3269
  // src/app/records-table.component.tsx
3180
- function oa({ rows: e, columns: t, getRowId: n, selected: a, onSelectedChange: o, rowActions: s, label: c, className: l }) {
3270
+ function fa({ rows: e, columns: t, getRowId: n, selected: a, onSelectedChange: o, rowActions: s, label: c, className: l }) {
3181
3271
  let u = a !== void 0, d = e.map((e) => n(e)), f = d.filter((e) => a?.has(e)).length, p = f === 0 ? !1 : f === d.length || "indeterminate";
3182
3272
  function m(e, t) {
3183
3273
  let n = new Set(a);
@@ -3191,20 +3281,20 @@ function oa({ rows: e, columns: t, getRowId: n, selected: a, onSelectedChange: o
3191
3281
  return /* @__PURE__ */ i(jr, {
3192
3282
  "data-slot": "records-table",
3193
3283
  "aria-label": c,
3194
- className: V("min-w-[760px]", l),
3284
+ className: B("min-w-[760px]", l),
3195
3285
  children: [/* @__PURE__ */ r(Mr, { children: /* @__PURE__ */ i(Pr, {
3196
3286
  className: "hover:bg-transparent",
3197
3287
  children: [
3198
3288
  u && /* @__PURE__ */ r(Fr, {
3199
3289
  className: "w-9",
3200
- children: /* @__PURE__ */ r(it, {
3290
+ children: /* @__PURE__ */ r(at, {
3201
3291
  "aria-label": "Select all rows",
3202
3292
  checked: p,
3203
3293
  onCheckedChange: (e) => h(e === !0)
3204
3294
  })
3205
3295
  }),
3206
3296
  t.map((e) => /* @__PURE__ */ r(Fr, {
3207
- className: V(e.align === "end" && "text-end", e.className),
3297
+ className: B(e.align === "end" && "text-end", e.className),
3208
3298
  children: e.header
3209
3299
  }, e.key)),
3210
3300
  s && /* @__PURE__ */ r(Fr, {
@@ -3220,22 +3310,22 @@ function oa({ rows: e, columns: t, getRowId: n, selected: a, onSelectedChange: o
3220
3310
  return /* @__PURE__ */ i(Pr, {
3221
3311
  "data-state": c ? "selected" : void 0,
3222
3312
  children: [
3223
- u && /* @__PURE__ */ r(Ir, { children: /* @__PURE__ */ r(it, {
3313
+ u && /* @__PURE__ */ r(Ir, { children: /* @__PURE__ */ r(at, {
3224
3314
  "aria-label": `Select ${o}`,
3225
3315
  checked: c,
3226
3316
  onCheckedChange: (e) => m(o, e === !0)
3227
3317
  }) }),
3228
3318
  t.map((t) => /* @__PURE__ */ r(Ir, {
3229
- className: V(t.align === "end" && "text-end tabular-nums", t.className),
3319
+ className: B(t.align === "end" && "text-end tabular-nums", t.className),
3230
3320
  children: t.cell(e)
3231
3321
  }, t.key)),
3232
3322
  s && /* @__PURE__ */ r(Ir, { children: /* @__PURE__ */ i(Fn, { children: [/* @__PURE__ */ r(In, {
3233
3323
  asChild: !0,
3234
- children: /* @__PURE__ */ r(Y, {
3324
+ children: /* @__PURE__ */ r(J, {
3235
3325
  variant: "ghost",
3236
3326
  size: "icon-sm",
3237
3327
  "aria-label": `Actions for ${o}`,
3238
- children: /* @__PURE__ */ r(se, {})
3328
+ children: /* @__PURE__ */ r(ce, {})
3239
3329
  })
3240
3330
  }), /* @__PURE__ */ r(zn, {
3241
3331
  align: "end",
@@ -3247,7 +3337,7 @@ function oa({ rows: e, columns: t, getRowId: n, selected: a, onSelectedChange: o
3247
3337
  });
3248
3338
  }
3249
3339
  // src/app/sparkline.algorithm.ts
3250
- function sa(e, t, n, r = 2) {
3340
+ function pa(e, t, n, r = 2) {
3251
3341
  if (e.length < 2) return "";
3252
3342
  let i = Math.min(...e), a = Math.max(...e) - i, o = n - r * 2, s = t / (e.length - 1);
3253
3343
  return e.map((e, t) => {
@@ -3256,16 +3346,16 @@ function sa(e, t, n, r = 2) {
3256
3346
  }).join(" ");
3257
3347
  }
3258
3348
  // src/app/stat-card.component.tsx
3259
- var ca = {
3349
+ var ma = {
3260
3350
  positive: "text-success",
3261
3351
  negative: "text-destructive",
3262
3352
  neutral: "text-muted-foreground"
3263
3353
  };
3264
- function la({ label: e, value: t, delta: n, tone: a = "neutral", series: o, className: s }) {
3265
- let c = o ? sa(o, 100, 32) : "";
3354
+ function ha({ label: e, value: t, delta: n, tone: a = "neutral", series: o, className: s }) {
3355
+ let c = o ? pa(o, 100, 32) : "";
3266
3356
  return /* @__PURE__ */ i(vr, {
3267
3357
  "data-slot": "stat-card",
3268
- className: V("gap-1.5 p-4", s),
3358
+ className: B("gap-1.5 p-4", s),
3269
3359
  children: [
3270
3360
  /* @__PURE__ */ r("span", {
3271
3361
  className: "text-[13px] text-muted-foreground",
@@ -3294,14 +3384,14 @@ function la({ label: e, value: t, delta: n, tone: a = "neutral", series: o, clas
3294
3384
  })]
3295
3385
  }),
3296
3386
  n && /* @__PURE__ */ r("span", {
3297
- className: V("text-xs", ca[a]),
3387
+ className: B("text-xs", ma[a]),
3298
3388
  children: n
3299
3389
  })
3300
3390
  ]
3301
3391
  });
3302
3392
  }
3303
3393
  // src/status/run-status.contract.ts
3304
- var ua = [
3394
+ var ga = [
3305
3395
  "queued",
3306
3396
  "waiting",
3307
3397
  "running",
@@ -3309,7 +3399,7 @@ var ua = [
3309
3399
  "no-records",
3310
3400
  "failed",
3311
3401
  "off"
3312
- ], da = {
3402
+ ], _a = {
3313
3403
  queued: {
3314
3404
  label: "Queued",
3315
3405
  variant: "secondary",
@@ -3346,13 +3436,13 @@ var ua = [
3346
3436
  live: !1
3347
3437
  }
3348
3438
  };
3349
- function fa(e) {
3350
- return da[e];
3439
+ function va(e) {
3440
+ return _a[e];
3351
3441
  }
3352
3442
  // src/status/status-badge.component.tsx
3353
- function pa({ status: e, ...t }) {
3354
- let { label: n, variant: i, live: a } = fa(e);
3355
- return /* @__PURE__ */ r(q, {
3443
+ function ya({ status: e, ...t }) {
3444
+ let { label: n, variant: i, live: a } = va(e);
3445
+ return /* @__PURE__ */ r(K, {
3356
3446
  variant: i,
3357
3447
  dot: a,
3358
3448
  "data-status": e,
@@ -3361,25 +3451,25 @@ function pa({ status: e, ...t }) {
3361
3451
  });
3362
3452
  }
3363
3453
  // src/desktop/flow-node.component.tsx
3364
- function ma({ title: e, description: t, status: n, hue: a, selected: o = !1, onSelect: s, className: c }) {
3454
+ function ba({ title: e, description: t, status: n, hue: a, selected: o = !1, onSelect: s, className: c }) {
3365
3455
  return /* @__PURE__ */ i("button", {
3366
3456
  type: "button",
3367
3457
  "data-slot": "flow-node",
3368
3458
  "aria-pressed": o,
3369
3459
  onClick: s,
3370
- className: V("flex w-[200px] cursor-pointer flex-col rounded-lg bg-card text-start text-[13px] text-card-foreground shadow-sm outline-none focus-visible:ring-2 focus-visible:ring-ring", o ? "border-2 border-brand" : "border", c),
3460
+ className: B("flex w-[200px] cursor-pointer flex-col rounded-lg bg-card text-start text-[13px] text-card-foreground shadow-sm outline-none focus-visible:ring-2 focus-visible:ring-ring", o ? "border-2 border-brand" : "border", c),
3371
3461
  children: [/* @__PURE__ */ i("span", {
3372
3462
  className: "flex items-center gap-2 border-b px-2.5 py-2",
3373
3463
  children: [
3374
3464
  /* @__PURE__ */ r("span", {
3375
3465
  "aria-hidden": "true",
3376
- className: V("size-2 shrink-0 rounded-[2px]", a ? G[a] : "bg-muted-foreground")
3466
+ className: B("size-2 shrink-0 rounded-[2px]", a ? W[a] : "bg-muted-foreground")
3377
3467
  }),
3378
3468
  /* @__PURE__ */ r("span", {
3379
3469
  className: "font-semibold",
3380
3470
  children: e
3381
3471
  }),
3382
- /* @__PURE__ */ r(pa, {
3472
+ /* @__PURE__ */ r(ya, {
3383
3473
  status: n,
3384
3474
  className: "ms-auto h-[18px] text-[11px]"
3385
3475
  })
@@ -3391,18 +3481,18 @@ function ma({ title: e, description: t, status: n, hue: a, selected: o = !1, onS
3391
3481
  });
3392
3482
  }
3393
3483
  // src/desktop/inspector.component.tsx
3394
- function ha({ title: e, subtitle: t, hue: n, tabs: a, footer: o, className: s }) {
3484
+ function xa({ title: e, subtitle: t, hue: n, tabs: a, footer: o, className: s }) {
3395
3485
  return /* @__PURE__ */ i("aside", {
3396
3486
  "data-slot": "inspector",
3397
3487
  "aria-label": "Inspector",
3398
- className: V("flex h-full flex-col text-[13px]", s),
3488
+ className: B("flex h-full flex-col text-[13px]", s),
3399
3489
  children: [
3400
3490
  /* @__PURE__ */ i("div", {
3401
3491
  className: "flex items-center gap-2 border-b p-3",
3402
3492
  children: [
3403
3493
  n && /* @__PURE__ */ r("span", {
3404
3494
  "aria-hidden": "true",
3405
- className: V("size-2.5 shrink-0 rounded-[3px]", G[n])
3495
+ className: B("size-2.5 shrink-0 rounded-[3px]", W[n])
3406
3496
  }),
3407
3497
  /* @__PURE__ */ r("h2", {
3408
3498
  className: "m-0 type-h4",
@@ -3414,18 +3504,18 @@ function ha({ title: e, subtitle: t, hue: n, tabs: a, footer: o, className: s })
3414
3504
  })
3415
3505
  ]
3416
3506
  }),
3417
- /* @__PURE__ */ i(ui, {
3507
+ /* @__PURE__ */ i(di, {
3418
3508
  defaultValue: a[0]?.value,
3419
3509
  className: "min-h-0 flex-1 gap-0",
3420
- children: [/* @__PURE__ */ r(pi, {
3510
+ children: [/* @__PURE__ */ r(mi, {
3421
3511
  variant: "underline",
3422
3512
  className: "gap-4 px-3",
3423
- children: a.map((e) => /* @__PURE__ */ r(hi, {
3513
+ children: a.map((e) => /* @__PURE__ */ r(_i, {
3424
3514
  value: e.value,
3425
3515
  className: "text-[13px] group-data-[variant=underline]/tabs-list:py-2",
3426
3516
  children: e.label
3427
3517
  }, e.value))
3428
- }), a.map((e) => /* @__PURE__ */ r(gi, {
3518
+ }), a.map((e) => /* @__PURE__ */ r(Si, {
3429
3519
  value: e.value,
3430
3520
  className: "flex flex-col gap-3 overflow-y-auto p-3",
3431
3521
  children: e.content
@@ -3439,11 +3529,11 @@ function ha({ title: e, subtitle: t, hue: n, tabs: a, footer: o, className: s })
3439
3529
  });
3440
3530
  }
3441
3531
  // src/desktop/status-bar.component.tsx
3442
- function ga({ start: e, end: t, className: n }) {
3532
+ function Sa({ start: e, end: t, className: n }) {
3443
3533
  return /* @__PURE__ */ i("div", {
3444
3534
  "data-slot": "status-bar",
3445
3535
  role: "status",
3446
- className: V("flex h-6 shrink-0 items-center gap-3.5 border-t bg-sidebar px-2.5 text-xs text-muted-foreground", n),
3536
+ className: B("flex h-6 shrink-0 items-center gap-3.5 border-t bg-sidebar px-2.5 text-xs text-muted-foreground", n),
3447
3537
  children: [e, t && /* @__PURE__ */ r("div", {
3448
3538
  className: "ms-auto flex items-center gap-3.5",
3449
3539
  children: t
@@ -3451,7 +3541,7 @@ function ga({ start: e, end: t, className: n }) {
3451
3541
  });
3452
3542
  }
3453
3543
  // src/desktop/timeline.algorithm.ts
3454
- function _a(e, t, n) {
3544
+ function Ca(e, t, n) {
3455
3545
  if (n <= 0) return {
3456
3546
  left: 0,
3457
3547
  width: 0
@@ -3462,7 +3552,7 @@ function _a(e, t, n) {
3462
3552
  width: Math.max(0, r(t) - i)
3463
3553
  };
3464
3554
  }
3465
- function va(e, t) {
3555
+ function wa(e, t) {
3466
3556
  let n = Math.max(2, t);
3467
3557
  return Array.from({ length: n }, (t, r) => Math.round(e * r / (n - 1)));
3468
3558
  }
@@ -3470,27 +3560,27 @@ function va(e, t) {
3470
3560
  function $(e) {
3471
3561
  return String(e).padStart(2, "0");
3472
3562
  }
3473
- function ya(e, t = !1) {
3563
+ function Ta(e, t = !1) {
3474
3564
  let n = Math.max(0, Math.floor(e)), r = Math.floor(n / 3600), i = Math.floor(n % 3600 / 60), a = n % 60;
3475
3565
  return t || r > 0 ? `${$(r)}:${$(i)}:${$(a)}` : `${$(i)}:${$(a)}`;
3476
3566
  }
3477
- function ba(e, t) {
3567
+ function Ea(e, t) {
3478
3568
  let n = new Date(e.getTime() + t * 1e3);
3479
3569
  return `${$(n.getHours())}:${$(n.getMinutes())}`;
3480
3570
  }
3481
3571
  // src/desktop/timeline-lanes.component.tsx
3482
- function xa({ duration: e, lanes: t, playhead: n, tickCount: a = 8, startsAt: o, className: s }) {
3483
- let c = (e) => o ? ba(o, e) : ya(e), l = n === void 0 ? void 0 : _a(0, n, e).width;
3572
+ function Da({ duration: e, lanes: t, playhead: n, tickCount: a = 8, startsAt: o, className: s }) {
3573
+ let c = (e) => o ? Ea(o, e) : Ta(e), l = n === void 0 ? void 0 : Ca(0, n, e).width;
3484
3574
  return /* @__PURE__ */ i("div", {
3485
3575
  "data-slot": "timeline-lanes",
3486
3576
  role: "group",
3487
3577
  "aria-label": "Timeline",
3488
- className: V("relative flex flex-col text-[13px]", s),
3578
+ className: B("relative flex flex-col text-[13px]", s),
3489
3579
  children: [
3490
3580
  /* @__PURE__ */ r("div", {
3491
3581
  className: "flex h-[26px] items-center border-b ps-[118px] pe-2.5",
3492
3582
  "aria-hidden": "true",
3493
- children: va(e, a).map((e) => /* @__PURE__ */ r("span", {
3583
+ children: wa(e, a).map((e) => /* @__PURE__ */ r("span", {
3494
3584
  className: "flex-1 text-xs tabular-nums text-muted-foreground",
3495
3585
  children: c(e)
3496
3586
  }, e))
@@ -3501,18 +3591,18 @@ function xa({ duration: e, lanes: t, playhead: n, tickCount: a = 8, startsAt: o,
3501
3591
  className: "flex w-[108px] shrink-0 items-center gap-1.5 px-2.5 font-medium",
3502
3592
  children: [/* @__PURE__ */ r("span", {
3503
3593
  "aria-hidden": "true",
3504
- className: V("size-2 shrink-0 rounded-[2px]", G[t.hue])
3594
+ className: B("size-2 shrink-0 rounded-[2px]", W[t.hue])
3505
3595
  }), t.name]
3506
3596
  }), /* @__PURE__ */ r("div", {
3507
3597
  className: "relative me-2.5 h-[26px] flex-1",
3508
3598
  children: t.segments.map((n) => {
3509
- let a = _a(n.start, n.end, e), o = `${t.name}${n.label ? `, ${n.label}` : ""}, ${c(n.start)} to ${c(n.end)}`;
3599
+ let a = Ca(n.start, n.end, e), o = `${t.name}${n.label ? `, ${n.label}` : ""}, ${c(n.start)} to ${c(n.end)}`;
3510
3600
  return /* @__PURE__ */ i(pn, { children: [/* @__PURE__ */ r(mn, {
3511
3601
  asChild: !0,
3512
3602
  children: /* @__PURE__ */ r("button", {
3513
3603
  type: "button",
3514
3604
  "aria-label": o,
3515
- className: V("absolute inset-y-0 cursor-pointer rounded-[5px] outline-none focus-visible:ring-2 focus-visible:ring-ring", G[t.hue], n.faint ? "opacity-35" : "opacity-85"),
3605
+ className: B("absolute inset-y-0 cursor-pointer rounded-[5px] outline-none focus-visible:ring-2 focus-visible:ring-ring", W[t.hue], n.faint ? "opacity-35" : "opacity-85"),
3516
3606
  style: {
3517
3607
  left: `${a.left}%`,
3518
3608
  width: `${a.width}%`
@@ -3531,30 +3621,30 @@ function xa({ duration: e, lanes: t, playhead: n, tickCount: a = 8, startsAt: o,
3531
3621
  });
3532
3622
  }
3533
3623
  // src/desktop/title-bar.component.tsx
3534
- function Sa({ product: e, menus: t, title: n, onMinimise: a, onMaximise: o, onClose: s, className: c }) {
3624
+ function Oa({ product: e, menus: t, title: n, onMinimise: a, onMaximise: o, onClose: s, className: c }) {
3535
3625
  let l = [
3536
3626
  {
3537
3627
  label: "Minimise",
3538
- icon: /* @__PURE__ */ r(le, {}),
3628
+ icon: /* @__PURE__ */ r(ue, {}),
3539
3629
  onClick: a
3540
3630
  },
3541
3631
  {
3542
3632
  label: "Maximise",
3543
- icon: /* @__PURE__ */ r(he, {}),
3633
+ icon: /* @__PURE__ */ r(ge, {}),
3544
3634
  onClick: o
3545
3635
  },
3546
3636
  {
3547
3637
  label: "Close window",
3548
- icon: /* @__PURE__ */ r(P, {}),
3638
+ icon: /* @__PURE__ */ r(N, {}),
3549
3639
  onClick: s
3550
3640
  }
3551
3641
  ].filter((e) => e.onClick);
3552
3642
  return /* @__PURE__ */ i("div", {
3553
3643
  "data-slot": "title-bar",
3554
3644
  "data-tauri-drag-region": "",
3555
- className: V("flex h-9 shrink-0 items-center gap-3 border-b bg-sidebar ps-3 text-[13px]", c),
3645
+ className: B("flex h-9 shrink-0 items-center gap-3 border-b bg-sidebar ps-3 text-[13px]", c),
3556
3646
  children: [
3557
- /* @__PURE__ */ r(U, {
3647
+ /* @__PURE__ */ r(H, {
3558
3648
  product: e,
3559
3649
  alt: "",
3560
3650
  className: "size-[18px]"
@@ -3567,11 +3657,11 @@ function Sa({ product: e, menus: t, title: n, onMinimise: a, onMaximise: o, onCl
3567
3657
  }),
3568
3658
  l.length > 0 && /* @__PURE__ */ r("div", {
3569
3659
  className: "flex h-full",
3570
- children: l.map((e) => /* @__PURE__ */ r(Y, {
3660
+ children: l.map((e) => /* @__PURE__ */ r(J, {
3571
3661
  variant: "ghost",
3572
3662
  "aria-label": e.label,
3573
3663
  onClick: e.onClick,
3574
- className: V("h-full w-[46px] rounded-none px-0 [&_svg]:size-3.5", e.label === "Close window" && "hover:bg-destructive hover:text-destructive-foreground"),
3664
+ className: B("h-full w-[46px] rounded-none px-0 [&_svg]:size-3.5", e.label === "Close window" && "hover:bg-destructive hover:text-destructive-foreground"),
3575
3665
  children: e.icon
3576
3666
  }, e.label))
3577
3667
  })
@@ -3579,11 +3669,11 @@ function Sa({ product: e, menus: t, title: n, onMinimise: a, onMaximise: o, onCl
3579
3669
  });
3580
3670
  }
3581
3671
  // src/mobile/bottom-nav.component.tsx
3582
- function Ca({ items: e, className: t }) {
3672
+ function ka({ items: e, className: t }) {
3583
3673
  return /* @__PURE__ */ r("nav", {
3584
3674
  "data-slot": "bottom-nav",
3585
3675
  "aria-label": "Tabs",
3586
- className: V("grid shrink-0 border-t bg-background px-2 pt-1.5 pb-[max(env(safe-area-inset-bottom),8px)]", t),
3676
+ className: B("grid shrink-0 border-t bg-background px-2 pt-1.5 pb-[max(env(safe-area-inset-bottom),8px)]", t),
3587
3677
  style: { gridTemplateColumns: `repeat(${e.length}, minmax(0, 1fr))` },
3588
3678
  children: e.map((e) => /* @__PURE__ */ i("a", {
3589
3679
  href: e.href,
@@ -3601,22 +3691,22 @@ function Ca({ items: e, className: t }) {
3601
3691
  });
3602
3692
  }
3603
3693
  // src/mobile/capture-frame.component.tsx
3604
- function wa({ title: e, children: t, checksTitle: n, checks: a, onClose: o, actions: s, className: c }) {
3694
+ function Aa({ title: e, children: t, checksTitle: n, checks: a, onClose: o, actions: s, className: c }) {
3605
3695
  let l = a.filter((e) => !e.passed).length;
3606
3696
  return /* @__PURE__ */ i("div", {
3607
3697
  "data-slot": "capture-frame",
3608
- className: V("flex h-full flex-col bg-[#0e0d12]", c),
3698
+ className: B("flex h-full flex-col bg-[#0e0d12]", c),
3609
3699
  children: [/* @__PURE__ */ i("div", {
3610
3700
  className: "relative grid min-h-[440px] flex-1 place-items-center overflow-hidden",
3611
3701
  children: [/* @__PURE__ */ i("div", {
3612
3702
  className: "absolute inset-x-4 top-[max(env(safe-area-inset-top),16px)] z-10 flex items-center justify-between",
3613
3703
  children: [
3614
- /* @__PURE__ */ r(Y, {
3704
+ /* @__PURE__ */ r(J, {
3615
3705
  size: "icon",
3616
3706
  "aria-label": "Close camera",
3617
3707
  onClick: o,
3618
3708
  className: "rounded-full bg-white/14 text-white hover:bg-white/24",
3619
- children: /* @__PURE__ */ r(P, {})
3709
+ children: /* @__PURE__ */ r(N, {})
3620
3710
  }),
3621
3711
  /* @__PURE__ */ r("span", {
3622
3712
  className: "text-sm font-semibold text-white",
@@ -3637,12 +3727,12 @@ function wa({ title: e, children: t, checksTitle: n, checks: a, onClose: o, acti
3637
3727
  children: [/* @__PURE__ */ r("h2", {
3638
3728
  className: "m-0 type-h3 text-[19px]",
3639
3729
  children: n
3640
- }), l > 0 ? /* @__PURE__ */ i(q, {
3730
+ }), l > 0 ? /* @__PURE__ */ i(K, {
3641
3731
  variant: "danger",
3642
3732
  dot: !0,
3643
3733
  className: "ms-auto",
3644
3734
  children: [l, " failed"]
3645
- }) : /* @__PURE__ */ r(q, {
3735
+ }) : /* @__PURE__ */ r(K, {
3646
3736
  variant: "success",
3647
3737
  dot: !0,
3648
3738
  className: "ms-auto",
@@ -3655,11 +3745,11 @@ function wa({ title: e, children: t, checksTitle: n, checks: a, onClose: o, acti
3655
3745
  className: "flex min-h-10 items-center gap-3 border-b",
3656
3746
  children: [
3657
3747
  /* @__PURE__ */ r("span", {
3658
- className: V("grid size-6 shrink-0 place-items-center rounded-full [&_svg]:size-3.5", e.passed ? "bg-success-soft text-success" : "bg-destructive-soft text-destructive"),
3748
+ className: B("grid size-6 shrink-0 place-items-center rounded-full [&_svg]:size-3.5", e.passed ? "bg-success-soft text-success" : "bg-destructive-soft text-destructive"),
3659
3749
  children: e.passed ? /* @__PURE__ */ r(k, {
3660
3750
  strokeWidth: 3,
3661
3751
  "aria-label": "Passed"
3662
- }) : /* @__PURE__ */ r(P, {
3752
+ }) : /* @__PURE__ */ r(N, {
3663
3753
  strokeWidth: 3,
3664
3754
  "aria-label": "Failed"
3665
3755
  })
@@ -3684,43 +3774,43 @@ function wa({ title: e, children: t, checksTitle: n, checks: a, onClose: o, acti
3684
3774
  });
3685
3775
  }
3686
3776
  // src/mobile/record-button.component.tsx
3687
- function Ta({ state: e, elapsed: t, levels: n = [], onStart: a, onPause: o, onResume: s, onMarker: c, className: l }) {
3777
+ function ja({ state: e, elapsed: t, levels: n = [], onStart: a, onPause: o, onResume: s, onMarker: c, className: l }) {
3688
3778
  let u = {
3689
3779
  idle: {
3690
3780
  label: "Start recording",
3691
- icon: /* @__PURE__ */ r(N, {}),
3781
+ icon: /* @__PURE__ */ r(M, {}),
3692
3782
  onClick: a
3693
3783
  },
3694
3784
  recording: {
3695
3785
  label: "Pause",
3696
- icon: /* @__PURE__ */ r(de, {}),
3786
+ icon: /* @__PURE__ */ r(fe, {}),
3697
3787
  onClick: o
3698
3788
  },
3699
3789
  paused: {
3700
3790
  label: "Resume",
3701
- icon: /* @__PURE__ */ r(fe, {}),
3791
+ icon: /* @__PURE__ */ r(pe, {}),
3702
3792
  onClick: s
3703
3793
  }
3704
3794
  }[e];
3705
3795
  return /* @__PURE__ */ i("div", {
3706
3796
  "data-slot": "record-button",
3707
- className: V("flex flex-col gap-3.5 rounded-[20px] bg-brand-soft p-4", l),
3797
+ className: B("flex flex-col gap-3.5 rounded-[20px] bg-brand-soft p-4", l),
3708
3798
  children: [
3709
3799
  /* @__PURE__ */ i("div", {
3710
3800
  className: "flex items-center gap-2",
3711
3801
  children: [
3712
- e === "recording" && /* @__PURE__ */ r(q, {
3802
+ e === "recording" && /* @__PURE__ */ r(K, {
3713
3803
  variant: "danger",
3714
3804
  dot: !0,
3715
3805
  className: "bg-card",
3716
3806
  children: "Recording"
3717
3807
  }),
3718
- e === "paused" && /* @__PURE__ */ r(q, {
3808
+ e === "paused" && /* @__PURE__ */ r(K, {
3719
3809
  variant: "warning",
3720
3810
  className: "bg-card",
3721
3811
  children: "Paused"
3722
3812
  }),
3723
- e === "idle" && /* @__PURE__ */ r(q, {
3813
+ e === "idle" && /* @__PURE__ */ r(K, {
3724
3814
  variant: "outline",
3725
3815
  className: "bg-card",
3726
3816
  children: "Not recording"
@@ -3728,7 +3818,7 @@ function Ta({ state: e, elapsed: t, levels: n = [], onStart: a, onPause: o, onRe
3728
3818
  /* @__PURE__ */ r("span", {
3729
3819
  className: "ms-auto text-[13px] font-semibold tabular-nums",
3730
3820
  "aria-label": "Recorded time",
3731
- children: ya(t, !0)
3821
+ children: Ta(t, !0)
3732
3822
  })
3733
3823
  ]
3734
3824
  }),
@@ -3736,17 +3826,17 @@ function Ta({ state: e, elapsed: t, levels: n = [], onStart: a, onPause: o, onRe
3736
3826
  "aria-hidden": "true",
3737
3827
  className: "flex h-10 items-center gap-[3px]",
3738
3828
  children: n.map((t, n) => /* @__PURE__ */ r("span", {
3739
- className: V("block w-1 rounded-full bg-brand", e !== "recording" && "opacity-45"),
3829
+ className: B("block w-1 rounded-full bg-brand", e !== "recording" && "opacity-45"),
3740
3830
  style: { height: `${Math.round(6 + Math.min(1, Math.max(0, t)) * 30)}px` }
3741
3831
  }, n))
3742
3832
  }),
3743
3833
  /* @__PURE__ */ i("div", {
3744
3834
  className: "flex gap-2.5",
3745
- children: [/* @__PURE__ */ i(Y, {
3835
+ children: [/* @__PURE__ */ i(J, {
3746
3836
  className: "flex-1",
3747
3837
  onClick: u.onClick,
3748
3838
  children: [u.icon, u.label]
3749
- }), e === "recording" && c && /* @__PURE__ */ r(Y, {
3839
+ }), e === "recording" && c && /* @__PURE__ */ r(J, {
3750
3840
  variant: "outline",
3751
3841
  size: "icon",
3752
3842
  className: "bg-card",
@@ -3759,8 +3849,8 @@ function Ta({ state: e, elapsed: t, levels: n = [], onStart: a, onPause: o, onRe
3759
3849
  });
3760
3850
  }
3761
3851
  // src/web/cta-band.component.tsx
3762
- function Ea({ title: e, body: t, onSubmit: n, inputLabel: a = "Work email", submitLabel: o = "Send", className: s }) {
3763
- let c = Ce();
3852
+ function Ma({ title: e, body: t, onSubmit: n, inputLabel: a = "Work email", submitLabel: o = "Send", className: s }) {
3853
+ let c = we();
3764
3854
  function l(e) {
3765
3855
  e.preventDefault();
3766
3856
  let t = new FormData(e.currentTarget).get("email");
@@ -3768,7 +3858,7 @@ function Ea({ title: e, body: t, onSubmit: n, inputLabel: a = "Work email", subm
3768
3858
  }
3769
3859
  return /* @__PURE__ */ r("section", {
3770
3860
  "data-slot": "cta-band",
3771
- className: V("py-22", s),
3861
+ className: B("py-22", s),
3772
3862
  children: /* @__PURE__ */ r("div", {
3773
3863
  className: "mx-auto max-w-[1200px] px-6",
3774
3864
  children: /* @__PURE__ */ i("div", {
@@ -3800,7 +3890,7 @@ function Ea({ title: e, body: t, onSubmit: n, inputLabel: a = "Work email", subm
3800
3890
  placeholder: a,
3801
3891
  className: "flex-[1_1_220px] border-transparent"
3802
3892
  }),
3803
- /* @__PURE__ */ r(Y, {
3893
+ /* @__PURE__ */ r(J, {
3804
3894
  type: "submit",
3805
3895
  className: "bg-foreground text-background hover:bg-foreground/90",
3806
3896
  children: o
@@ -3812,10 +3902,10 @@ function Ea({ title: e, body: t, onSubmit: n, inputLabel: a = "Work email", subm
3812
3902
  });
3813
3903
  }
3814
3904
  // src/web/faq.component.tsx
3815
- function Da({ title: e, items: t, className: n }) {
3905
+ function Na({ title: e, items: t, className: n }) {
3816
3906
  return /* @__PURE__ */ r("section", {
3817
3907
  "data-slot": "faq",
3818
- className: V("py-22", n),
3908
+ className: B("py-22", n),
3819
3909
  children: /* @__PURE__ */ i("div", {
3820
3910
  className: "mx-auto grid max-w-[1200px] grid-cols-[repeat(auto-fit,minmax(340px,1fr))] items-start gap-12 px-6",
3821
3911
  children: [/* @__PURE__ */ r("h2", {
@@ -3836,10 +3926,10 @@ function Da({ title: e, items: t, className: n }) {
3836
3926
  });
3837
3927
  }
3838
3928
  // src/web/feature-grid.component.tsx
3839
- function Oa({ title: e, lead: t, features: n, className: a }) {
3929
+ function Pa({ title: e, lead: t, features: n, className: a }) {
3840
3930
  return /* @__PURE__ */ r("section", {
3841
3931
  "data-slot": "feature-grid",
3842
- className: V("border-y bg-canvas py-22", a),
3932
+ className: B("border-y bg-canvas py-22", a),
3843
3933
  children: /* @__PURE__ */ i("div", {
3844
3934
  className: "mx-auto flex max-w-[1200px] flex-col gap-10 px-6",
3845
3935
  children: [(e || t) && /* @__PURE__ */ i("div", {
@@ -3876,14 +3966,14 @@ function Oa({ title: e, lead: t, features: n, className: a }) {
3876
3966
  });
3877
3967
  }
3878
3968
  // src/web/hero.component.tsx
3879
- function ka({ eyebrow: e, title: t, lead: n, actions: a, className: o }) {
3969
+ function Fa({ eyebrow: e, title: t, lead: n, actions: a, className: o }) {
3880
3970
  return /* @__PURE__ */ r("section", {
3881
3971
  "data-slot": "hero",
3882
- className: V("pt-22 pb-14", o),
3972
+ className: B("pt-22 pb-14", o),
3883
3973
  children: /* @__PURE__ */ i("div", {
3884
3974
  className: "mx-auto flex max-w-[1200px] flex-col items-start gap-5.5 px-6",
3885
3975
  children: [
3886
- e && /* @__PURE__ */ r(q, {
3976
+ e && /* @__PURE__ */ r(K, {
3887
3977
  variant: "brand",
3888
3978
  className: "h-7 px-3 text-[13px]",
3889
3979
  children: e
@@ -3905,10 +3995,10 @@ function ka({ eyebrow: e, title: t, lead: n, actions: a, className: o }) {
3905
3995
  });
3906
3996
  }
3907
3997
  // src/web/how-it-works.component.tsx
3908
- function Aa({ title: e, lead: t, link: n, steps: a, className: o }) {
3998
+ function Ia({ title: e, lead: t, link: n, steps: a, className: o }) {
3909
3999
  return /* @__PURE__ */ r("section", {
3910
4000
  "data-slot": "how-it-works",
3911
- className: V("py-22", o),
4001
+ className: B("py-22", o),
3912
4002
  children: /* @__PURE__ */ i("div", {
3913
4003
  className: "mx-auto grid max-w-[1200px] grid-cols-[repeat(auto-fit,minmax(340px,1fr))] items-start gap-12 px-6",
3914
4004
  children: [/* @__PURE__ */ i("div", {
@@ -3948,14 +4038,14 @@ function Aa({ title: e, lead: t, link: n, steps: a, className: o }) {
3948
4038
  });
3949
4039
  }
3950
4040
  // src/web/mobile-menu.component.tsx
3951
- var ja = 400;
3952
- function Ma({ links: e, actions: t, label: n = "Main", className: a }) {
3953
- let [o, s] = R(!1), [c, l] = R(), [u, f] = R(!1), p = L(null);
3954
- I(() => {
4041
+ var La = 400;
4042
+ function Ra({ links: e, actions: t, label: n = "Main", className: a }) {
4043
+ let [o, s] = L(!1), [c, l] = L(), [u, f] = L(!1), p = I(null);
4044
+ F(() => {
3955
4045
  if (o) return;
3956
- let e = setTimeout(() => f(!1), ja);
4046
+ let e = setTimeout(() => f(!1), La);
3957
4047
  return () => clearTimeout(e);
3958
- }, [o]), I(() => {
4048
+ }, [o]), F(() => {
3959
4049
  if (!o) return;
3960
4050
  let e = new ResizeObserver(() => m());
3961
4051
  return e.observe(document.documentElement), () => e.disconnect();
@@ -3981,7 +4071,7 @@ function Ma({ links: e, actions: t, label: n = "Main", className: a }) {
3981
4071
  onOpenChange: h,
3982
4072
  children: [/* @__PURE__ */ r(d.Trigger, {
3983
4073
  asChild: !0,
3984
- children: /* @__PURE__ */ r(Y, {
4074
+ children: /* @__PURE__ */ r(J, {
3985
4075
  ref: p,
3986
4076
  variant: "ghost",
3987
4077
  size: "icon",
@@ -4005,7 +4095,7 @@ function Ma({ links: e, actions: t, label: n = "Main", className: a }) {
4005
4095
  /* @__PURE__ */ r("div", {
4006
4096
  className: "fixed inset-0 [filter:drop-shadow(0_0_1px_rgb(20_18_26/0.4))_drop-shadow(-12px_16px_36px_rgb(20_18_26/0.4))] dark:[filter:drop-shadow(0_0_1px_rgb(255_255_255/0.45))_drop-shadow(-12px_16px_36px_rgb(0_0_0/0.7))]",
4007
4097
  children: /* @__PURE__ */ r("div", {
4008
- className: V("fixed inset-0 animate-menu-reveal group-data-[state=closed]/menu:animate-menu-conceal", "motion-reduce:animate-fade-in motion-reduce:group-data-[state=closed]/menu:animate-fade-out"),
4098
+ className: B("fixed inset-0 animate-menu-reveal group-data-[state=closed]/menu:animate-menu-conceal", "motion-reduce:animate-fade-in motion-reduce:group-data-[state=closed]/menu:animate-fade-out"),
4009
4099
  children: /* @__PURE__ */ i("div", {
4010
4100
  className: "pointer-events-auto absolute inset-y-0 end-0 flex w-[min(340px,86vw)] flex-col gap-1 border-s bg-popover px-5 pt-21 pb-8 text-popover-foreground",
4011
4101
  children: [/* @__PURE__ */ r("nav", {
@@ -4027,7 +4117,7 @@ function Ma({ links: e, actions: t, label: n = "Main", className: a }) {
4027
4117
  }),
4028
4118
  /* @__PURE__ */ r(d.Close, {
4029
4119
  asChild: !0,
4030
- children: /* @__PURE__ */ r(Y, {
4120
+ children: /* @__PURE__ */ r(J, {
4031
4121
  variant: "ghost",
4032
4122
  size: "icon",
4033
4123
  "aria-label": "Close menu",
@@ -4049,11 +4139,11 @@ function Ma({ links: e, actions: t, label: n = "Main", className: a }) {
4049
4139
  });
4050
4140
  }
4051
4141
  // src/web/pricing-table.component.tsx
4052
- function Na({ title: e, lead: t, plans: n, defaultBilling: a = "monthly", note: o, featuredLabel: s = "Most teams", className: c }) {
4053
- let [l, u] = R(a);
4142
+ function za({ title: e, lead: t, plans: n, defaultBilling: a = "monthly", note: o, featuredLabel: s = "Most teams", className: c }) {
4143
+ let [l, u] = L(a);
4054
4144
  return /* @__PURE__ */ r("section", {
4055
4145
  "data-slot": "pricing-table",
4056
- className: V("border-y bg-canvas py-22", c),
4146
+ className: B("border-y bg-canvas py-22", c),
4057
4147
  children: /* @__PURE__ */ i("div", {
4058
4148
  className: "mx-auto flex max-w-[1200px] flex-col gap-8 px-6",
4059
4149
  children: [
@@ -4068,15 +4158,15 @@ function Na({ title: e, lead: t, plans: n, defaultBilling: a = "monthly", note:
4068
4158
  className: "m-0 type-lead",
4069
4159
  children: t
4070
4160
  })]
4071
- }), /* @__PURE__ */ i(dt, {
4161
+ }), /* @__PURE__ */ i(ft, {
4072
4162
  type: "single",
4073
4163
  value: l,
4074
4164
  onValueChange: (e) => e && u(e),
4075
4165
  "aria-label": "Billing",
4076
- children: [/* @__PURE__ */ r(ft, {
4166
+ children: [/* @__PURE__ */ r(pt, {
4077
4167
  value: "monthly",
4078
4168
  children: "Monthly"
4079
- }), /* @__PURE__ */ r(ft, {
4169
+ }), /* @__PURE__ */ r(pt, {
4080
4170
  value: "yearly",
4081
4171
  children: "Yearly"
4082
4172
  })]
@@ -4086,14 +4176,14 @@ function Na({ title: e, lead: t, plans: n, defaultBilling: a = "monthly", note:
4086
4176
  className: "m-0 grid list-none grid-cols-[repeat(auto-fit,minmax(280px,1fr))] gap-4 p-0",
4087
4177
  children: n.map((e) => /* @__PURE__ */ i("li", {
4088
4178
  "aria-label": e.name,
4089
- className: V("flex flex-col gap-3.5 rounded-2xl border bg-card p-7 shadow-xs", e.featured && "border-brand shadow-[0_0_0_1px_var(--brand),var(--elevation-md)]"),
4179
+ className: B("flex flex-col gap-3.5 rounded-2xl border bg-card p-7 shadow-xs", e.featured && "border-brand shadow-[0_0_0_1px_var(--brand),var(--elevation-md)]"),
4090
4180
  children: [
4091
4181
  /* @__PURE__ */ i("div", {
4092
4182
  className: "flex items-center justify-between",
4093
4183
  children: [/* @__PURE__ */ r("h3", {
4094
4184
  className: "m-0 type-h3",
4095
4185
  children: e.name
4096
- }), e.featured && /* @__PURE__ */ r(q, { children: s })]
4186
+ }), e.featured && /* @__PURE__ */ r(K, { children: s })]
4097
4187
  }),
4098
4188
  /* @__PURE__ */ r("span", {
4099
4189
  className: "font-display text-[34px] font-extrabold tracking-tight",
@@ -4115,7 +4205,7 @@ function Na({ title: e, lead: t, plans: n, defaultBilling: a = "monthly", note:
4115
4205
  }), e]
4116
4206
  }, e))
4117
4207
  }),
4118
- /* @__PURE__ */ r(Y, {
4208
+ /* @__PURE__ */ r(J, {
4119
4209
  asChild: !0,
4120
4210
  variant: e.featured ? "default" : "outline",
4121
4211
  className: "mt-auto",
@@ -4136,20 +4226,20 @@ function Na({ title: e, lead: t, plans: n, defaultBilling: a = "monthly", note:
4136
4226
  });
4137
4227
  }
4138
4228
  // src/web/product-card.component.tsx
4139
- function Pa({ product: e, href: t, description: n, stage: a, className: o }) {
4140
- let s = H[e];
4229
+ function Ba({ product: e, href: t, description: n, stage: a, className: o }) {
4230
+ let s = V[e];
4141
4231
  return /* @__PURE__ */ i("a", {
4142
4232
  "data-slot": "product-card",
4143
4233
  "data-product": e,
4144
4234
  href: t,
4145
- className: V("flex flex-col overflow-hidden rounded-2xl border bg-card text-card-foreground no-underline shadow-xs transition-shadow hover:shadow-sm focus-visible:outline-2 focus-visible:outline-ring", o),
4235
+ className: B("flex flex-col overflow-hidden rounded-2xl border bg-card text-card-foreground no-underline shadow-xs transition-shadow hover:shadow-sm focus-visible:outline-2 focus-visible:outline-ring", o),
4146
4236
  children: [/* @__PURE__ */ r("span", {
4147
4237
  "aria-hidden": "true",
4148
4238
  className: "block h-1.5 bg-brand"
4149
4239
  }), /* @__PURE__ */ i("span", {
4150
4240
  className: "flex flex-col gap-3.5 p-5.5",
4151
4241
  children: [
4152
- /* @__PURE__ */ r(U, {
4242
+ /* @__PURE__ */ r(H, {
4153
4243
  product: e,
4154
4244
  alt: "",
4155
4245
  className: "size-11"
@@ -4164,7 +4254,7 @@ function Pa({ product: e, href: t, description: n, stage: a, className: o }) {
4164
4254
  children: n ?? s.tagline
4165
4255
  })]
4166
4256
  }),
4167
- /* @__PURE__ */ r(q, {
4257
+ /* @__PURE__ */ r(K, {
4168
4258
  variant: "outline",
4169
4259
  className: "self-start",
4170
4260
  children: a ?? s.stage
@@ -4174,17 +4264,17 @@ function Pa({ product: e, href: t, description: n, stage: a, className: o }) {
4174
4264
  });
4175
4265
  }
4176
4266
  // src/web/site-footer.component.tsx
4177
- function Fa({ tagline: e, columns: t, legal: n, className: a }) {
4267
+ function Va({ tagline: e, columns: t, legal: n, className: a }) {
4178
4268
  return /* @__PURE__ */ i("footer", {
4179
4269
  "data-slot": "site-footer",
4180
- className: V("border-t pt-14 pb-10", a),
4270
+ className: B("border-t pt-14 pb-10", a),
4181
4271
  children: [/* @__PURE__ */ i("div", {
4182
4272
  className: "mx-auto grid max-w-[1200px] grid-cols-[repeat(auto-fit,minmax(160px,1fr))] gap-8 px-6",
4183
4273
  children: [/* @__PURE__ */ i("div", {
4184
4274
  className: "col-span-2 flex flex-col gap-3",
4185
4275
  children: [/* @__PURE__ */ i("span", {
4186
4276
  className: "flex items-center gap-2",
4187
- children: [/* @__PURE__ */ r(U, {
4277
+ children: [/* @__PURE__ */ r(H, {
4188
4278
  product: "talogic",
4189
4279
  alt: "",
4190
4280
  className: "size-7"
@@ -4215,12 +4305,12 @@ function Fa({ tagline: e, columns: t, legal: n, className: a }) {
4215
4305
  });
4216
4306
  }
4217
4307
  // src/web/site-header.component.tsx
4218
- function Ia({ nav: e, actions: t, brand: a, className: o }) {
4308
+ function Ha({ nav: e, actions: t, brand: a, className: o }) {
4219
4309
  let s = a ?? /* @__PURE__ */ i("a", {
4220
4310
  href: "/",
4221
4311
  className: "flex items-center gap-2 no-underline",
4222
4312
  "aria-label": "talogic home",
4223
- children: [/* @__PURE__ */ r(U, {
4313
+ children: [/* @__PURE__ */ r(H, {
4224
4314
  product: "talogic",
4225
4315
  alt: "",
4226
4316
  className: "size-7"
@@ -4231,7 +4321,7 @@ function Ia({ nav: e, actions: t, brand: a, className: o }) {
4231
4321
  });
4232
4322
  return /* @__PURE__ */ r("header", {
4233
4323
  "data-slot": "site-header",
4234
- className: V("sticky top-0 z-40 border-b bg-background/88 backdrop-blur-md", o),
4324
+ className: B("sticky top-0 z-40 border-b bg-background/88 backdrop-blur-md", o),
4235
4325
  children: /* @__PURE__ */ i("div", {
4236
4326
  className: "mx-auto flex h-[68px] max-w-[1200px] items-center gap-7 px-6",
4237
4327
  children: [
@@ -4261,7 +4351,7 @@ function Ia({ nav: e, actions: t, brand: a, className: o }) {
4261
4351
  className: "ms-auto hidden items-center gap-2 md:flex",
4262
4352
  children: t
4263
4353
  }),
4264
- /* @__PURE__ */ r(Ma, {
4354
+ /* @__PURE__ */ r(Ra, {
4265
4355
  className: "ms-auto md:hidden",
4266
4356
  links: e.flatMap((e) => e.links ?? [{
4267
4357
  label: e.label,
@@ -4273,6 +4363,6 @@ function Ia({ nav: e, actions: t, brand: a, className: o }) {
4273
4363
  })
4274
4364
  });
4275
4365
  }
4276
- export { mr as Accordion, _r as AccordionContent, hr as AccordionItem, gr as AccordionTrigger, ir as Alert, Mt as AlertDialog, Lt as AlertDialogAction, Rt as AlertDialogCancel, Pt as AlertDialogContent, It as AlertDialogDescription, Ft as AlertDialogTitle, Nt as AlertDialogTrigger, ta as AppShell, ea as AppShellBody, $i as AppShellHeader, $e as Avatar, tt as AvatarFallback, et as AvatarImage, q as Badge, Ca as BottomNav, Rr as Breadcrumb, Br as BreadcrumbItem, Vr as BreadcrumbLink, zr as BreadcrumbList, Hr as BreadcrumbPage, Ur as BreadcrumbSeparator, xi as BulkActionBar, Y as Button, Xe as COLOUR_SCHEMES, wa as CaptureFrame, vr as Card, Sr as CardContent, xr as CardDescription, Cr as CardFooter, yr as CardHeader, br as CardTitle, it as Checkbox, er as Combobox, bn as Command, xn as CommandDialog, wn as CommandEmpty, Tn as CommandGroup, Sn as CommandInput, En as CommandItem, Cn as CommandList, Dn as CommandSeparator, On as CommandShortcut, kn as ContextMenu, jn as ContextMenuContent, Mn as ContextMenuItem, Nn as ContextMenuSeparator, Pn as ContextMenuShortcut, An as ContextMenuTrigger, Ea as CtaBand, Ye as DENSITIES, zt as Dialog, Vt as DialogClose, Ht as DialogContent, Kt as DialogDescription, Wt as DialogFooter, Ut as DialogHeader, Gt as DialogTitle, Bt as DialogTrigger, qt as Drawer, Yt as DrawerClose, Xt as DrawerContent, Qt as DrawerDescription, Zt as DrawerTitle, Jt as DrawerTrigger, Fn as DropdownMenu, zn as DropdownMenuContent, Ln as DropdownMenuGroup, Bn as DropdownMenuItem, Hn as DropdownMenuLabel, Rn as DropdownMenuRadioGroup, Vn as DropdownMenuRadioItem, Un as DropdownMenuSeparator, Wn as DropdownMenuShortcut, In as DropdownMenuTrigger, ar as EmptyState, Le as FAMILY_PALETTE, We as FREE_HUES, Da as Faq, Oa as FeatureGrid, vt as Field, fr as FileDropOverlay, na as FilterBar, ra as FilterChip, ma as FlowNode, ia as FormSection, qe as HUES, G as HUE_FILL, ka as Hero, Aa as HowItWorks, yt as Input, ha as Inspector, wr as Kbd, Me as LABEL_COLORS, K as LOGO_RULE, _t as Label, Gr as MenuIcon, Kr as Menubar, Yr as MenubarContent, Xr as MenubarItem, qr as MenubarMenu, Qr as MenubarSeparator, Zr as MenubarShortcut, Jr as MenubarTrigger, Ma as MobileMenu, $r as NavigationMenu, ii as NavigationMenuContent, ti as NavigationMenuItem, ai as NavigationMenuLink, ei as NavigationMenuList, ri as NavigationMenuTrigger, Je as PALETTE_STEPS, Ke as PRODUCTS, H as PRODUCT_CATALOGUE, Ue as PRODUCT_HUES, aa as PageHeader, oi as Pagination, en as Popover, nn as PopoverAnchor, rn as PopoverContent, tn as PopoverTrigger, $t as Portal, bi as Presence, Na as PricingTable, Pa as ProductCard, U as ProductLogo, Ui as ProductSwitcher, or as Progress, ua as RUN_STATUSES, at as RadioGroup, ot as RadioGroupItem, Ta as RecordButton, oa as RecordsTable, Dr as ResizableHandle, Er as ResizablePanel, Tr as ResizablePanelGroup, Or as ScrollArea, kr as ScrollBar, bt as Select, Si as SelectAllCheckbox, wt as SelectContent, xt as SelectGroup, Et as SelectItem, Tt as SelectLabel, Dt as SelectSeparator, Ct as SelectTrigger, St as SelectValue, Ti as SelectableList, Ei as SelectableRow, Ar as Separator, an as Sheet, sn as SheetClose, dn as SheetContent, ln as SheetDescription, cn as SheetTitle, on as SheetTrigger, Mi as Sidebar, Wi as SidebarBrand, Pi as SidebarCollapseButton, Ii as SidebarContent, Ri as SidebarFooter, zi as SidebarGroup, Fi as SidebarHeader, Bi as SidebarItem, Li as SidebarNote, Hi as SidebarSheet, Ni as SidebarTooltip, Fa as SiteFooter, Ia as SiteHeader, sr as Skeleton, st as Slider, cr as Spinner, la as StatCard, pa as StatusBadge, ga as StatusBar, vi as Stepper, ct as Switch, Gn as TAG_DELIMITERS, jr as Table, Nr as TableBody, Lr as TableCaption, Ir as TableCell, Fr as TableHead, Mr as TableHeader, Pr as TableRow, ui as Tabs, gi as TabsContent, pi as TabsList, hi as TabsTrigger, Jn as Tag, Zn as TagsInput, Ot as Textarea, Qe as ThemeRoot, xa as TimelineLanes, Sa as TitleBar, lr as Toaster, dt as ToggleGroup, ft as ToggleGroupItem, pn as Tooltip, hn as TooltipContent, fn as TooltipProvider, mn as TooltipTrigger, ur as acceptsFile, qn as addTags, Fe as apcaContrast, nt as badgeVariants, J as buttonVariants, V as cn, Ki as commandShortcutLabel, pt as controlClassName, Q as fadingLabelClassName, At as floatingMotionClassName, ba as formatClockTime, ya as formatTimecode, Ge as hueForProduct, He as logoColorForHue, dr as mayAcceptDrag, X as menuItemClassName, vn as menuSeparatorClassName, _n as menuShortcutClassName, Ai as navRowClassName, kt as overlayClassName, yi as presenceClassName, Ie as readableLabel, fa as runStatusDisplay, jt as sheetMotionClassName, ki as sidebarNoteClassName, sa as sparklinePath, Kn as splitTags, Yn as tagsFieldClassName, Xn as tagsFieldInputClassName, Ze as themeAttributes, _a as timelineBox, va as timelineTicks, Gi as useCommandShortcut, Zi as useCommandShortcutLabel, ht as useFieldControl, gt as useFieldLabelId, Qn as useOptionSearch, pr as usePageDrop, Di as useSelection, Z as useSidebar };
4366
+ export { mr as Accordion, _r as AccordionContent, hr as AccordionItem, gr as AccordionTrigger, ir as Alert, Mt as AlertDialog, Lt as AlertDialogAction, Rt as AlertDialogCancel, Pt as AlertDialogContent, It as AlertDialogDescription, Ft as AlertDialogTitle, Nt as AlertDialogTrigger, sa as AppShell, oa as AppShellBody, aa as AppShellHeader, et as Avatar, nt as AvatarFallback, tt as AvatarImage, K as Badge, ka as BottomNav, Rr as Breadcrumb, Br as BreadcrumbItem, Vr as BreadcrumbLink, zr as BreadcrumbList, Hr as BreadcrumbPage, Ur as BreadcrumbSeparator, Di as BulkActionBar, J as Button, Ze as COLOUR_SCHEMES, Aa as CaptureFrame, vr as Card, Sr as CardContent, xr as CardDescription, Cr as CardFooter, yr as CardHeader, br as CardTitle, at as Checkbox, er as Combobox, bn as Command, xn as CommandDialog, wn as CommandEmpty, Tn as CommandGroup, Sn as CommandInput, En as CommandItem, Cn as CommandList, Dn as CommandSeparator, On as CommandShortcut, kn as ContextMenu, jn as ContextMenuContent, Mn as ContextMenuItem, Nn as ContextMenuSeparator, Pn as ContextMenuShortcut, An as ContextMenuTrigger, Ma as CtaBand, Xe as DENSITIES, zt as Dialog, Vt as DialogClose, Ht as DialogContent, Kt as DialogDescription, Wt as DialogFooter, Ut as DialogHeader, Gt as DialogTitle, Bt as DialogTrigger, qt as Drawer, Yt as DrawerClose, Xt as DrawerContent, Qt as DrawerDescription, Zt as DrawerTitle, Jt as DrawerTrigger, Fn as DropdownMenu, zn as DropdownMenuContent, Ln as DropdownMenuGroup, Bn as DropdownMenuItem, Hn as DropdownMenuLabel, Rn as DropdownMenuRadioGroup, Vn as DropdownMenuRadioItem, Un as DropdownMenuSeparator, Wn as DropdownMenuShortcut, In as DropdownMenuTrigger, ar as EmptyState, Re as FAMILY_PALETTE, Ge as FREE_HUES, Na as Faq, Pa as FeatureGrid, vt as Field, fr as FileDropOverlay, ca as FilterBar, la as FilterChip, ba as FlowNode, ua as FormSection, Je as HUES, W as HUE_FILL, Fa as Hero, Ia as HowItWorks, yt as Input, xa as Inspector, wr as Kbd, Ne as LABEL_COLORS, G as LOGO_RULE, _t as Label, Gr as MenuIcon, Kr as Menubar, Yr as MenubarContent, Xr as MenubarItem, qr as MenubarMenu, Qr as MenubarSeparator, Zr as MenubarShortcut, Jr as MenubarTrigger, Ra as MobileMenu, $r as NavigationMenu, ii as NavigationMenuContent, ti as NavigationMenuItem, ai as NavigationMenuLink, ei as NavigationMenuList, ri as NavigationMenuTrigger, Ye as PALETTE_STEPS, qe as PRODUCTS, V as PRODUCT_CATALOGUE, We as PRODUCT_HUES, da as PageHeader, oi as Pagination, en as Popover, nn as PopoverAnchor, rn as PopoverContent, tn as PopoverTrigger, $t as Portal, Ei as Presence, za as PricingTable, Ba as ProductCard, H as ProductLogo, Yi as ProductSwitcher, or as Progress, ga as RUN_STATUSES, ot as RadioGroup, st as RadioGroupItem, ja as RecordButton, fa as RecordsTable, Dr as ResizableHandle, Er as ResizablePanel, Tr as ResizablePanelGroup, Or as ScrollArea, kr as ScrollBar, bt as Select, Oi as SelectAllCheckbox, wt as SelectContent, xt as SelectGroup, Et as SelectItem, Tt as SelectLabel, Dt as SelectSeparator, Ct as SelectTrigger, St as SelectValue, ji as SelectableList, Mi as SelectableRow, Ar as Separator, an as Sheet, sn as SheetClose, dn as SheetContent, ln as SheetDescription, cn as SheetTitle, on as SheetTrigger, Ri as Sidebar, Xi as SidebarBrand, Bi as SidebarCollapseButton, Hi as SidebarContent, Wi as SidebarFooter, Gi as SidebarGroup, Vi as SidebarHeader, Ki as SidebarItem, Ui as SidebarNote, Ji as SidebarSheet, zi as SidebarTooltip, Va as SiteFooter, Ha as SiteHeader, sr as Skeleton, ct as Slider, cr as Spinner, ha as StatCard, ya as StatusBadge, Sa as StatusBar, wi as Stepper, lt as Switch, Gn as TAG_DELIMITERS, jr as Table, Nr as TableBody, Lr as TableCaption, Ir as TableCell, Fr as TableHead, Mr as TableHeader, Pr as TableRow, di as Tabs, Si as TabsContent, mi as TabsList, _i as TabsTrigger, Jn as Tag, Zn as TagsInput, Ot as Textarea, $e as ThemeRoot, Da as TimelineLanes, Oa as TitleBar, lr as Toaster, ft as ToggleGroup, pt as ToggleGroupItem, pn as Tooltip, hn as TooltipContent, fn as TooltipProvider, mn as TooltipTrigger, ur as acceptsFile, qn as addTags, Ie as apcaContrast, rt as badgeVariants, q as buttonVariants, B as cn, Qi as commandShortcutLabel, mt as controlClassName, Q as fadingLabelClassName, At as floatingMotionClassName, Ea as formatClockTime, Ta as formatTimecode, Ke as hueForProduct, Ue as logoColorForHue, dr as mayAcceptDrag, X as menuItemClassName, vn as menuSeparatorClassName, _n as menuShortcutClassName, Ii as navRowClassName, kt as overlayClassName, Ti as presenceClassName, Le as readableLabel, va as runStatusDisplay, jt as sheetMotionClassName, Fi as sidebarNoteClassName, pa as sparklinePath, Kn as splitTags, Yn as tagsFieldClassName, Xn as tagsFieldInputClassName, Qe as themeAttributes, Ca as timelineBox, wa as timelineTicks, Zi as useCommandShortcut, ra as useCommandShortcutLabel, Y as useFieldControl, gt as useFieldLabelId, Qn as useOptionSearch, pr as usePageDrop, Ni as useSelection, Z as useSidebar };
4277
4367
 
4278
4368
  //# sourceMappingURL=index.js.map