@talogic/react 0.12.0 → 0.13.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
@@ -1,20 +1,20 @@
1
1
  import { clsx as e } from "clsx";
2
2
  import { twMerge as t } from "tailwind-merge";
3
3
  import { Fragment as n, jsx as r, jsxs as i } from "react/jsx-runtime";
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
- 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 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";
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 S, Slider as C, Slot as w, Switch as T, Tabs as E, ToggleGroup as D, Tooltip as O } from "radix-ui";
5
+ import { cva as k } from "class-variance-authority";
6
+ import { Ban as ee, Bookmark as te, Check as A, ChevronDown as j, ChevronRight as ne, ChevronsLeft as re, 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";
12
12
  // src/class-names/class-names.algorithm.ts
13
- function B(...n) {
13
+ function V(...n) {
14
14
  return t(e(n));
15
15
  }
16
16
  // src/product/product-catalogue.content.ts
17
- var V = {
17
+ var H = {
18
18
  talogic: {
19
19
  name: "talogic",
20
20
  tagline: "Human focused automations.",
@@ -54,7 +54,7 @@ var V = {
54
54
  logoColor: "#3e63dd",
55
55
  logoAccents: ["#e5484d", "#30a46c"]
56
56
  }
57
- }, Me = {
57
+ }, je = {
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 V = {
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 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);
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);
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: B(l, "dark:hidden"),
77
+ className: V(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: B(l, "hidden dark:block"),
83
+ className: V(l, "hidden dark:block"),
84
84
  ...o
85
85
  })] }) : /* @__PURE__ */ r("img", {
86
86
  "data-slot": "product-logo",
@@ -91,7 +91,7 @@ function H({ product: e, alt: t = V[e].name, className: a, ...o }) {
91
91
  });
92
92
  }
93
93
  // src/tokens/apca-contrast.algorithm.ts
94
- var U = {
94
+ var W = {
95
95
  mainTrc: 2.4,
96
96
  red: .2126729,
97
97
  green: .7151522,
@@ -106,8 +106,8 @@ var U = {
106
106
  lowOffset: .027,
107
107
  deltaYMin: 5e-4,
108
108
  lowClip: .1
109
- }, Ne = ["#14121a", "#ffffff"];
110
- function Pe(e) {
109
+ }, Me = ["#14121a", "#ffffff"];
110
+ function Ne(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 Pe(e) {
116
116
  4
117
117
  ].map((e) => Number.parseInt(n.slice(e, e + 2), 16));
118
118
  }
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;
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;
122
122
  }
123
- function Ie(e, t) {
124
- let n = Fe(e), r = Fe(t);
125
- if (Math.abs(r - n) < U.deltaYMin) return 0;
123
+ function Fe(e, t) {
124
+ let n = Pe(e), r = Pe(t);
125
+ if (Math.abs(r - n) < W.deltaYMin) return 0;
126
126
  if (r > n) {
127
- let e = (r ** U.normBg - n ** U.normText) * U.scale;
128
- return e < U.lowClip ? 0 : (e - U.lowOffset) * 100;
127
+ let e = (r ** W.normBg - n ** W.normText) * W.scale;
128
+ return e < W.lowClip ? 0 : (e - W.lowOffset) * 100;
129
129
  }
130
- let i = (r ** U.revBg - n ** U.revText) * U.scale;
131
- return i > -U.lowClip ? 0 : (i + U.lowOffset) * 100;
130
+ let i = (r ** W.revBg - n ** W.revText) * W.scale;
131
+ return i > -W.lowClip ? 0 : (i + W.lowOffset) * 100;
132
132
  }
133
- function Le(e, t = Ne) {
133
+ function Ie(e, t = Me) {
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(Ie(n, e));
136
+ let r = Math.abs(Fe(n, e));
137
137
  for (let i of t.slice(1)) {
138
- let t = Math.abs(Ie(i, e));
138
+ let t = Math.abs(Fe(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 W = {
144
+ var G = {
145
145
  red: "bg-red-500",
146
146
  orange: "bg-orange-500",
147
147
  amber: "bg-amber-500",
@@ -154,7 +154,7 @@ var W = {
154
154
  violet: "bg-violet-500",
155
155
  purple: "bg-purple-500",
156
156
  pink: "bg-pink-500"
157
- }, Re = {
157
+ }, Le = {
158
158
  red: {
159
159
  50: "#fef4f3",
160
160
  100: "#fee9e7",
@@ -311,24 +311,24 @@ var W = {
311
311
  900: "#531b39",
312
312
  950: "#331123"
313
313
  }
314
- }, G = {
314
+ }, K = {
315
315
  saturation: .7,
316
316
  lightness: .55,
317
317
  maxOklchLightness: .7,
318
318
  lightnessStep: .005
319
319
  };
320
- function ze(e) {
320
+ function Re(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 Be(e) {
328
- let [t, n, r] = ze(e), i = Math.max(t, n, r), a = i - Math.min(t, n, r);
327
+ function ze(e) {
328
+ let [t, n, r] = Re(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 Ve(e, t, n) {
331
+ function Be(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 Ve(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 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);
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);
372
372
  return .2104542553 * i + .793617785 * a - .0040720468 * o;
373
373
  }
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);
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);
377
377
  return r;
378
378
  }
379
379
  // src/tokens/product-hue.policy.ts
380
- var We = {
380
+ var Ue = {
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
- }, Ge = [
387
+ }, We = [
388
388
  "lime",
389
389
  "teal",
390
390
  "cyan",
@@ -392,18 +392,18 @@ var We = {
392
392
  "purple",
393
393
  "pink"
394
394
  ];
395
- function Ke(e) {
396
- return We[e];
395
+ function Ge(e) {
396
+ return Ue[e];
397
397
  }
398
398
  // src/tokens/theme.contract.ts
399
- var qe = [
399
+ var Ke = [
400
400
  "talogic",
401
401
  "pargic",
402
402
  "daygic",
403
403
  "ingic",
404
404
  "loregic",
405
405
  "loomgic"
406
- ], Je = [
406
+ ], qe = [
407
407
  "red",
408
408
  "orange",
409
409
  "amber",
@@ -416,7 +416,7 @@ var qe = [
416
416
  "violet",
417
417
  "purple",
418
418
  "pink"
419
- ], Ye = [
419
+ ], Je = [
420
420
  "50",
421
421
  "100",
422
422
  "200",
@@ -428,56 +428,56 @@ var qe = [
428
428
  "800",
429
429
  "900",
430
430
  "950"
431
- ], Xe = [
431
+ ], Ye = [
432
432
  "web",
433
433
  "app",
434
434
  "desk",
435
435
  "mob"
436
- ], Ze = ["light", "dark"];
436
+ ], Xe = ["light", "dark"];
437
437
  // src/tokens/theme-attributes.mapper.ts
438
- function Qe(e) {
438
+ function Ze(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 $e({ product: e, hue: t, scheme: n, density: i, asChild: a = !1, className: o, ...s }) {
444
- let { className: c, ...l } = Qe({
443
+ function Qe({ product: e, hue: t, scheme: n, density: i, asChild: a = !1, className: o, ...s }) {
444
+ let { className: c, ...l } = Ze({
445
445
  product: e,
446
446
  hue: t,
447
447
  scheme: n,
448
448
  density: i
449
- }), u = a ? C.Root : "div";
449
+ }), u = a ? w.Root : "div";
450
450
  return /* @__PURE__ */ r(u, {
451
451
  "data-slot": "theme-root",
452
- className: B(c, o),
452
+ className: V(c, o),
453
453
  ...l,
454
454
  ...s
455
455
  });
456
456
  }
457
457
  // src/ui/avatar/avatar.component.tsx
458
- function et({ className: e, ...t }) {
458
+ function $e({ className: e, ...t }) {
459
459
  return /* @__PURE__ */ r(s.Root, {
460
460
  "data-slot": "avatar",
461
- className: B("relative flex size-8 shrink-0 overflow-hidden rounded-full", e),
461
+ className: V("relative flex size-8 shrink-0 overflow-hidden rounded-full", e),
462
462
  ...t
463
463
  });
464
464
  }
465
- function tt({ className: e, ...t }) {
465
+ function et({ className: e, ...t }) {
466
466
  return /* @__PURE__ */ r(s.Image, {
467
467
  "data-slot": "avatar-image",
468
- className: B("aspect-square size-full object-cover", e),
468
+ className: V("aspect-square size-full object-cover", e),
469
469
  ...t
470
470
  });
471
471
  }
472
- function nt({ className: e, ...t }) {
472
+ function tt({ className: e, ...t }) {
473
473
  return /* @__PURE__ */ r(s.Fallback, {
474
474
  "data-slot": "avatar-fallback",
475
- className: B("flex size-full items-center justify-center rounded-full bg-brand-soft text-xs font-semibold text-brand-text", e),
475
+ className: V("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 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", {
480
+ var nt = k("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 rt = 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 K({ className: e, variant: t, dot: n = !1, children: a, ...o }) {
494
+ function q({ className: e, variant: t, dot: n = !1, children: a, ...o }) {
495
495
  return /* @__PURE__ */ i("span", {
496
496
  "data-slot": "badge",
497
- className: B(rt({ variant: t }), e),
497
+ className: V(nt({ variant: t }), e),
498
498
  ...o,
499
499
  children: [n && /* @__PURE__ */ r("span", {
500
500
  "aria-hidden": "true",
@@ -503,7 +503,7 @@ function K({ className: e, variant: t, dot: n = !1, children: a, ...o }) {
503
503
  });
504
504
  }
505
505
  // src/ui/button/button.recipe.ts
506
- var q = O([
506
+ var J = k([
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
  "relative isolate transition-[background-color,border-color,box-shadow,color] duration-150 ease-out outline-none motion-reduce:transition-none",
509
509
  "before:pointer-events-none before:absolute before:inset-0 before:-z-10 before:rounded-[inherit] before:bg-current before:opacity-0 before:scale-90",
@@ -539,29 +539,29 @@ var q = O([
539
539
  }
540
540
  });
541
541
  // src/ui/button/button.component.tsx
542
- function J({ className: e, variant: t, size: a, asChild: o = !1, loading: s = !1, disabled: c = s, children: l, ...u }) {
543
- let d = o ? C.Root : "button";
542
+ function Y({ className: e, variant: t, size: a, asChild: o = !1, loading: s = !1, disabled: c = s, children: l, ...u }) {
543
+ let d = o ? w.Root : "button";
544
544
  return /* @__PURE__ */ r(d, {
545
545
  "data-slot": "button",
546
- className: B(q({
546
+ className: V(J({
547
547
  variant: t,
548
548
  size: a
549
549
  }), e),
550
550
  disabled: o ? void 0 : c,
551
551
  "aria-busy": s || void 0,
552
552
  ...u,
553
- children: s && !o ? /* @__PURE__ */ i(n, { children: [/* @__PURE__ */ r(le, {
553
+ children: s && !o ? /* @__PURE__ */ i(n, { children: [/* @__PURE__ */ r(ce, {
554
554
  className: "animate-spin",
555
555
  "aria-hidden": "true"
556
556
  }), l] }) : l
557
557
  });
558
558
  }
559
559
  // src/ui/choice/checkbox.component.tsx
560
- 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";
561
- function at({ className: e, ...t }) {
560
+ 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";
561
+ function it({ className: e, ...t }) {
562
562
  return /* @__PURE__ */ r(c.Root, {
563
563
  "data-slot": "checkbox",
564
- 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:shadow-[0_0_0_6px_color-mix(in_oklab,var(--foreground)_12%,transparent)] 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),
564
+ 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:shadow-[0_0_0_6px_color-mix(in_oklab,var(--foreground)_12%,transparent)] 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),
565
565
  ...t,
566
566
  children: /* @__PURE__ */ r(c.Indicator, {
567
567
  forceMount: !0,
@@ -573,28 +573,28 @@ function at({ className: e, ...t }) {
573
573
  children: [/* @__PURE__ */ r("path", {
574
574
  d: "M3.5 8.5 L6.5 11.5 L12.5 4.5",
575
575
  pathLength: 1,
576
- className: B(it, "duration-200 [stroke-dashoffset:1] group-data-[state=checked]/checkbox:[stroke-dashoffset:0]")
576
+ className: V(rt, "duration-200 [stroke-dashoffset:1] group-data-[state=checked]/checkbox:[stroke-dashoffset:0]")
577
577
  }), /* @__PURE__ */ r("path", {
578
578
  d: "M4 8 L12 8",
579
579
  pathLength: 1,
580
- className: B(it, "duration-200 [stroke-dashoffset:1] group-data-[state=indeterminate]/checkbox:[stroke-dashoffset:0] group-data-[state=indeterminate]/checkbox:delay-75")
580
+ className: V(rt, "duration-200 [stroke-dashoffset:1] group-data-[state=indeterminate]/checkbox:[stroke-dashoffset:0] group-data-[state=indeterminate]/checkbox:delay-75")
581
581
  })]
582
582
  })
583
583
  })
584
584
  });
585
585
  }
586
586
  // src/ui/choice/radio-group.component.tsx
587
- function ot({ className: e, ...t }) {
587
+ function at({ className: e, ...t }) {
588
588
  return /* @__PURE__ */ r(y.Root, {
589
589
  "data-slot": "radio-group",
590
- className: B("grid gap-2.5", e),
590
+ className: V("grid gap-2.5", e),
591
591
  ...t
592
592
  });
593
593
  }
594
- function st({ className: e, ...t }) {
594
+ function ot({ className: e, ...t }) {
595
595
  return /* @__PURE__ */ r(y.Item, {
596
596
  "data-slot": "radio-group-item",
597
- 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),
597
+ 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),
598
598
  ...t,
599
599
  children: /* @__PURE__ */ r(y.Indicator, {
600
600
  forceMount: !0,
@@ -603,9 +603,9 @@ function st({ className: e, ...t }) {
603
603
  });
604
604
  }
605
605
  // src/ui/choice/slider.component.tsx
606
- function ct({ className: e, value: t, defaultValue: n, min: a = 0, max: o = 100, onPointerDown: s, onPointerMove: c, onPointerUp: l, ...u }) {
607
- let [d, f] = L(!1), p = (t ?? n ?? [a]).length, m = u["aria-label"];
608
- return /* @__PURE__ */ i(S.Root, {
606
+ function st({ className: e, value: t, defaultValue: n, min: a = 0, max: o = 100, onPointerDown: s, onPointerMove: c, onPointerUp: l, ...u }) {
607
+ let [d, f] = R(!1), p = (t ?? n ?? [a]).length, m = u["aria-label"];
608
+ return /* @__PURE__ */ i(C.Root, {
609
609
  "data-slot": "slider",
610
610
  value: t,
611
611
  defaultValue: n,
@@ -621,29 +621,29 @@ function ct({ className: e, value: t, defaultValue: n, min: a = 0, max: o = 100,
621
621
  onPointerUp: (e) => {
622
622
  f(!1), l?.(e);
623
623
  },
624
- 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),
624
+ 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),
625
625
  ...u,
626
- children: [/* @__PURE__ */ r(S.Track, {
626
+ children: [/* @__PURE__ */ r(C.Track, {
627
627
  className: "relative h-1.5 grow overflow-hidden rounded-full bg-muted",
628
- children: /* @__PURE__ */ r(S.Range, { className: "absolute h-full bg-primary transition-[left,right] duration-200 ease-emphasised group-data-dragging/slider:transition-none motion-reduce:transition-none" })
629
- }), Array.from({ length: p }, (e, t) => /* @__PURE__ */ r(S.Thumb, {
628
+ children: /* @__PURE__ */ r(C.Range, { className: "absolute h-full bg-primary transition-[left,right] duration-200 ease-emphasised group-data-dragging/slider:transition-none motion-reduce:transition-none" })
629
+ }), Array.from({ length: p }, (e, t) => /* @__PURE__ */ r(C.Thumb, {
630
630
  "aria-label": m,
631
631
  className: "block size-4 cursor-grab rounded-full border border-primary bg-background shadow-xs outline-none focus-visible:ring-3 focus-visible:ring-ring/25"
632
632
  }, t))]
633
633
  });
634
634
  }
635
635
  // src/ui/choice/switch.component.tsx
636
- function lt({ className: e, ...t }) {
637
- return /* @__PURE__ */ r(w.Root, {
636
+ function ct({ className: e, ...t }) {
637
+ return /* @__PURE__ */ r(T.Root, {
638
638
  "data-slot": "switch",
639
- 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),
639
+ 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),
640
640
  ...t,
641
- 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" })
641
+ children: /* @__PURE__ */ r(T.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" })
642
642
  });
643
643
  }
644
644
  // src/ui/active-indicator/active-indicator.hook.ts
645
- function ut(e) {
646
- let t = I(null), n = I(void 0), r = P((r) => {
645
+ function lt(e) {
646
+ let t = L(null), n = L(void 0), r = F((r) => {
647
647
  if (n.current?.(), n.current = void 0, t.current = r, !r) return;
648
648
  function i() {
649
649
  if (!r) return;
@@ -665,37 +665,37 @@ function ut(e) {
665
665
  a.disconnect(), o.disconnect();
666
666
  };
667
667
  }, [e]);
668
- return F(() => () => n.current?.(), []), r;
668
+ return I(() => () => n.current?.(), []), r;
669
669
  }
670
670
  // src/ui/active-indicator/active-indicator.recipe.ts
671
- 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";
671
+ 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";
672
672
  // src/ui/choice/toggle-group.component.tsx
673
- function ft({ className: e, children: t, ...n }) {
674
- let a = ut("[data-state=on]"), o = n.type === "single";
675
- return /* @__PURE__ */ i(E.Root, {
673
+ function dt({ className: e, children: t, ...n }) {
674
+ let a = lt("[data-state=on]"), o = n.type === "single";
675
+ return /* @__PURE__ */ i(D.Root, {
676
676
  ref: o ? a : void 0,
677
677
  "data-slot": "toggle-group",
678
678
  "data-mode": n.type,
679
- className: B("group/indicator relative inline-flex w-fit items-center gap-0.5 rounded-md bg-muted p-[3px]", e),
679
+ className: V("group/indicator relative inline-flex w-fit items-center gap-0.5 rounded-md bg-muted p-[3px]", e),
680
680
  ...n,
681
681
  children: [o && /* @__PURE__ */ r("span", {
682
682
  "aria-hidden": "true",
683
683
  "data-slot": "toggle-group-indicator",
684
- className: B(dt, "rounded-sm bg-background shadow-xs")
684
+ className: V(ut, "rounded-sm bg-background shadow-xs")
685
685
  }), t]
686
686
  });
687
687
  }
688
- function pt({ className: e, ...t }) {
689
- return /* @__PURE__ */ r(E.Item, {
688
+ function ft({ className: e, ...t }) {
689
+ return /* @__PURE__ */ r(D.Item, {
690
690
  "data-slot": "toggle-group-item",
691
- 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),
691
+ 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),
692
692
  ...t
693
693
  });
694
694
  }
695
695
  // src/ui/field/control.recipe.ts
696
- 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);
697
- function Y(e = {}) {
698
- let t = Ce(ht);
696
+ 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);
697
+ function ht(e = {}) {
698
+ let t = Se(mt);
699
699
  return t ? {
700
700
  id: e.id ?? t.id,
701
701
  "aria-describedby": e["aria-describedby"] ?? (t.describedBy || void 0),
@@ -703,20 +703,20 @@ function Y(e = {}) {
703
703
  } : e;
704
704
  }
705
705
  function gt() {
706
- return Ce(ht)?.labelId;
706
+ return Se(mt)?.labelId;
707
707
  }
708
708
  // src/ui/field/label.component.tsx
709
709
  function _t({ className: e, ...t }) {
710
710
  return /* @__PURE__ */ r(p.Root, {
711
711
  "data-slot": "label",
712
- 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),
712
+ 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),
713
713
  ...t
714
714
  });
715
715
  }
716
716
  // src/ui/field/field.component.tsx
717
717
  function vt({ label: e, hint: t, error: n, id: a, children: o, className: s }) {
718
- let c = we(), l = a ?? c, u = t ? `${l}-hint` : "", d = n ? `${l}-error` : "", f = [u, d].filter(Boolean).join(" ");
719
- return /* @__PURE__ */ r(ht, {
718
+ let c = Ce(), l = a ?? c, u = t ? `${l}-hint` : "", d = n ? `${l}-error` : "", f = [u, d].filter(Boolean).join(" ");
719
+ return /* @__PURE__ */ r(mt, {
720
720
  value: {
721
721
  id: l,
722
722
  describedBy: f,
@@ -725,7 +725,7 @@ function vt({ label: e, hint: t, error: n, id: a, children: o, className: s }) {
725
725
  },
726
726
  children: /* @__PURE__ */ i("div", {
727
727
  "data-slot": "field",
728
- className: B("flex flex-col gap-1.5", s),
728
+ className: V("flex flex-col gap-1.5", s),
729
729
  children: [
730
730
  /* @__PURE__ */ r(_t, {
731
731
  id: `${l}-label`,
@@ -749,10 +749,10 @@ function vt({ label: e, hint: t, error: n, id: a, children: o, className: s }) {
749
749
  }
750
750
  // src/ui/field/input.component.tsx
751
751
  function yt({ className: e, startIcon: t, type: n = "text", ...a }) {
752
- let o = Y(a), s = /* @__PURE__ */ r("input", {
752
+ let o = ht(a), s = /* @__PURE__ */ r("input", {
753
753
  "data-slot": "input",
754
754
  type: n,
755
- className: B(mt, "h-(--control-h) px-3 file:border-0 file:bg-transparent file:text-sm file:font-medium", t ? "ps-[34px]" : "", e),
755
+ className: V(pt, "h-(--control-h) px-3 file:border-0 file:bg-transparent file:text-sm file:font-medium", t ? "ps-[34px]" : "", e),
756
756
  ...a,
757
757
  ...o
758
758
  });
@@ -768,15 +768,15 @@ function yt({ className: e, startIcon: t, type: n = "text", ...a }) {
768
768
  // src/ui/field/select.component.tsx
769
769
  var bt = x.Root, xt = x.Group, St = x.Value;
770
770
  function Ct({ className: e, children: t, ...n }) {
771
- let a = Y(n);
771
+ let a = ht(n);
772
772
  return /* @__PURE__ */ i(x.Trigger, {
773
773
  "data-slot": "select-trigger",
774
- 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),
774
+ 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),
775
775
  ...n,
776
776
  ...a,
777
777
  children: [t, /* @__PURE__ */ r(x.Icon, {
778
778
  asChild: !0,
779
- children: /* @__PURE__ */ r(A, {
779
+ children: /* @__PURE__ */ r(j, {
780
780
  className: "size-4 shrink-0 text-muted-foreground",
781
781
  "aria-hidden": "true"
782
782
  })
@@ -787,7 +787,7 @@ function wt({ className: e, children: t, position: n = "popper", ...i }) {
787
787
  return /* @__PURE__ */ r(x.Portal, { children: /* @__PURE__ */ r(x.Content, {
788
788
  "data-slot": "select-content",
789
789
  position: n,
790
- 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),
790
+ 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),
791
791
  ...i,
792
792
  children: /* @__PURE__ */ r(x.Viewport, {
793
793
  className: "p-1",
@@ -798,18 +798,18 @@ function wt({ className: e, children: t, position: n = "popper", ...i }) {
798
798
  function Tt({ className: e, ...t }) {
799
799
  return /* @__PURE__ */ r(x.Label, {
800
800
  "data-slot": "select-label",
801
- className: B("px-2.5 py-1.5 text-xs font-medium text-muted-foreground", e),
801
+ className: V("px-2.5 py-1.5 text-xs font-medium text-muted-foreground", e),
802
802
  ...t
803
803
  });
804
804
  }
805
805
  function Et({ className: e, children: t, ...n }) {
806
806
  return /* @__PURE__ */ i(x.Item, {
807
807
  "data-slot": "select-item",
808
- 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),
808
+ 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),
809
809
  ...n,
810
810
  children: [/* @__PURE__ */ r(x.ItemText, { children: t }), /* @__PURE__ */ r("span", {
811
811
  className: "absolute end-2 flex size-4 items-center justify-center",
812
- children: /* @__PURE__ */ r(x.ItemIndicator, { children: /* @__PURE__ */ r(k, {
812
+ children: /* @__PURE__ */ r(x.ItemIndicator, { children: /* @__PURE__ */ r(A, {
813
813
  className: "size-4",
814
814
  "aria-hidden": "true"
815
815
  }) })
@@ -819,16 +819,16 @@ function Et({ className: e, children: t, ...n }) {
819
819
  function Dt({ className: e, ...t }) {
820
820
  return /* @__PURE__ */ r(x.Separator, {
821
821
  "data-slot": "select-separator",
822
- className: B("-mx-1 my-1 h-px bg-border", e),
822
+ className: V("-mx-1 my-1 h-px bg-border", e),
823
823
  ...t
824
824
  });
825
825
  }
826
826
  // src/ui/field/textarea.component.tsx
827
827
  function Ot({ className: e, ...t }) {
828
- let n = Y(t);
828
+ let n = ht(t);
829
829
  return /* @__PURE__ */ r("textarea", {
830
830
  "data-slot": "textarea",
831
- className: B(mt, "min-h-20 resize-y px-3 py-2.5 leading-normal", e),
831
+ className: V(pt, "min-h-20 resize-y px-3 py-2.5 leading-normal", e),
832
832
  ...t,
833
833
  ...n
834
834
  });
@@ -843,35 +843,35 @@ var kt = "fixed inset-0 z-50 backdrop-blur-[5px] backdrop-contrast-[.5] backdrop
843
843
  function Pt({ className: e, ...t }) {
844
844
  return /* @__PURE__ */ i(o.Portal, { children: [/* @__PURE__ */ r(o.Overlay, { className: kt }), /* @__PURE__ */ r(o.Content, {
845
845
  "data-slot": "alert-dialog-content",
846
- 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),
846
+ 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),
847
847
  ...t
848
848
  })] });
849
849
  }
850
850
  function Ft({ className: e, ...t }) {
851
851
  return /* @__PURE__ */ r(o.Title, {
852
852
  "data-slot": "alert-dialog-title",
853
- className: B("m-0 font-display text-lg font-bold leading-tight", e),
853
+ className: V("m-0 font-display text-lg font-bold leading-tight", e),
854
854
  ...t
855
855
  });
856
856
  }
857
857
  function It({ className: e, ...t }) {
858
858
  return /* @__PURE__ */ r(o.Description, {
859
859
  "data-slot": "alert-dialog-description",
860
- className: B("m-0 text-sm text-muted-foreground", e),
860
+ className: V("m-0 text-sm text-muted-foreground", e),
861
861
  ...t
862
862
  });
863
863
  }
864
864
  function Lt({ className: e, variant: t = "default", ...n }) {
865
865
  return /* @__PURE__ */ r(o.Action, {
866
866
  "data-slot": "alert-dialog-action",
867
- className: B(q({ variant: t }), e),
867
+ className: V(J({ variant: t }), e),
868
868
  ...n
869
869
  });
870
870
  }
871
871
  function Rt({ className: e, ...t }) {
872
872
  return /* @__PURE__ */ r(o.Cancel, {
873
873
  "data-slot": "alert-dialog-cancel",
874
- className: B(q({ variant: "outline" }), e),
874
+ className: V(J({ variant: "outline" }), e),
875
875
  ...t
876
876
  });
877
877
  }
@@ -880,11 +880,11 @@ var zt = d.Root, Bt = d.Trigger, Vt = d.Close;
880
880
  function Ht({ className: e, children: t, showClose: n = !0, ...a }) {
881
881
  return /* @__PURE__ */ i(d.Portal, { children: [/* @__PURE__ */ r(d.Overlay, { className: kt }), /* @__PURE__ */ i(d.Content, {
882
882
  "data-slot": "dialog-content",
883
- 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),
883
+ 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),
884
884
  ...a,
885
885
  children: [t, n && /* @__PURE__ */ i(d.Close, {
886
886
  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",
887
- children: [/* @__PURE__ */ r(N, {
887
+ children: [/* @__PURE__ */ r(P, {
888
888
  className: "size-4",
889
889
  "aria-hidden": "true"
890
890
  }), /* @__PURE__ */ r("span", {
@@ -897,37 +897,37 @@ function Ht({ className: e, children: t, showClose: n = !0, ...a }) {
897
897
  function Ut({ className: e, ...t }) {
898
898
  return /* @__PURE__ */ r("div", {
899
899
  "data-slot": "dialog-header",
900
- className: B("flex flex-col gap-1.5 text-start", e),
900
+ className: V("flex flex-col gap-1.5 text-start", e),
901
901
  ...t
902
902
  });
903
903
  }
904
904
  function Wt({ className: e, ...t }) {
905
905
  return /* @__PURE__ */ r("div", {
906
906
  "data-slot": "dialog-footer",
907
- className: B("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", e),
907
+ className: V("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", e),
908
908
  ...t
909
909
  });
910
910
  }
911
911
  function Gt({ className: e, ...t }) {
912
912
  return /* @__PURE__ */ r(d.Title, {
913
913
  "data-slot": "dialog-title",
914
- className: B("m-0 font-display text-lg font-bold leading-tight", e),
914
+ className: V("m-0 font-display text-lg font-bold leading-tight", e),
915
915
  ...t
916
916
  });
917
917
  }
918
918
  function Kt({ className: e, ...t }) {
919
919
  return /* @__PURE__ */ r(d.Description, {
920
920
  "data-slot": "dialog-description",
921
- className: B("m-0 text-sm text-muted-foreground", e),
921
+ className: V("m-0 text-sm text-muted-foreground", e),
922
922
  ...t
923
923
  });
924
924
  }
925
925
  // src/ui/overlay/drawer.component.tsx
926
- var qt = R.Root, Jt = R.Trigger, Yt = R.Close;
926
+ var qt = z.Root, Jt = z.Trigger, Yt = z.Close;
927
927
  function Xt({ className: e, children: t, ...n }) {
928
- return /* @__PURE__ */ i(R.Portal, { children: [/* @__PURE__ */ r(R.Overlay, { className: kt }), /* @__PURE__ */ i(R.Content, {
928
+ return /* @__PURE__ */ i(z.Portal, { children: [/* @__PURE__ */ r(z.Overlay, { className: kt }), /* @__PURE__ */ i(z.Content, {
929
929
  "data-slot": "drawer-content",
930
- 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),
930
+ 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),
931
931
  ...n,
932
932
  children: [/* @__PURE__ */ r("div", {
933
933
  "aria-hidden": "true",
@@ -936,16 +936,16 @@ function Xt({ className: e, children: t, ...n }) {
936
936
  })] });
937
937
  }
938
938
  function Zt({ className: e, ...t }) {
939
- return /* @__PURE__ */ r(R.Title, {
939
+ return /* @__PURE__ */ r(z.Title, {
940
940
  "data-slot": "drawer-title",
941
- className: B("m-0 text-xl font-semibold leading-tight", e),
941
+ className: V("m-0 text-xl font-semibold leading-tight", e),
942
942
  ...t
943
943
  });
944
944
  }
945
945
  function Qt({ className: e, ...t }) {
946
- return /* @__PURE__ */ r(R.Description, {
946
+ return /* @__PURE__ */ r(z.Description, {
947
947
  "data-slot": "drawer-description",
948
- className: B("m-0 text-sm text-muted-foreground", e),
948
+ className: V("m-0 text-sm text-muted-foreground", e),
949
949
  ...t
950
950
  });
951
951
  }
@@ -963,7 +963,7 @@ function rn({ className: e, align: t = "center", sideOffset: n = 6, ...i }) {
963
963
  "data-slot": "popover-content",
964
964
  align: t,
965
965
  sideOffset: n,
966
- 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),
966
+ 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),
967
967
  ...i
968
968
  }) });
969
969
  }
@@ -977,11 +977,11 @@ var an = d.Root, on = d.Trigger, sn = d.Close, cn = d.Title, ln = d.Description,
977
977
  function dn({ className: e, children: t, side: n = "end", ...a }) {
978
978
  return /* @__PURE__ */ i(d.Portal, { children: [/* @__PURE__ */ r(d.Overlay, { className: kt }), /* @__PURE__ */ i(d.Content, {
979
979
  "data-slot": "sheet-content",
980
- 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),
980
+ 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),
981
981
  ...a,
982
982
  children: [t, /* @__PURE__ */ i(d.Close, {
983
983
  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",
984
- children: [/* @__PURE__ */ r(N, {
984
+ children: [/* @__PURE__ */ r(P, {
985
985
  className: "size-4",
986
986
  "aria-hidden": "true"
987
987
  }), /* @__PURE__ */ r("span", {
@@ -992,22 +992,22 @@ function dn({ className: e, children: t, side: n = "end", ...a }) {
992
992
  })] });
993
993
  }
994
994
  // src/ui/overlay/tooltip.component.tsx
995
- var fn = D.Provider;
995
+ var fn = O.Provider;
996
996
  function pn(e) {
997
- return /* @__PURE__ */ r(D.Provider, {
997
+ return /* @__PURE__ */ r(O.Provider, {
998
998
  delayDuration: 300,
999
- children: /* @__PURE__ */ r(D.Root, {
999
+ children: /* @__PURE__ */ r(O.Root, {
1000
1000
  "data-slot": "tooltip",
1001
1001
  ...e
1002
1002
  })
1003
1003
  });
1004
1004
  }
1005
- var mn = D.Trigger;
1005
+ var mn = O.Trigger;
1006
1006
  function hn({ className: e, sideOffset: t = 6, ...n }) {
1007
- return /* @__PURE__ */ r(D.Portal, { children: /* @__PURE__ */ r(D.Content, {
1007
+ return /* @__PURE__ */ r(O.Portal, { children: /* @__PURE__ */ r(O.Content, {
1008
1008
  "data-slot": "tooltip-content",
1009
1009
  sideOffset: t,
1010
- 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),
1010
+ 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),
1011
1011
  ...n
1012
1012
  }) });
1013
1013
  }
@@ -1015,9 +1015,9 @@ function hn({ className: e, sideOffset: t = 6, ...n }) {
1015
1015
  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";
1016
1016
  // src/ui/menu/command.component.tsx
1017
1017
  function bn({ className: e, ...t }) {
1018
- return /* @__PURE__ */ r(z, {
1018
+ return /* @__PURE__ */ r(B, {
1019
1019
  "data-slot": "command",
1020
- className: B("flex size-full flex-col overflow-hidden rounded-lg bg-popover text-popover-foreground", e),
1020
+ className: V("flex size-full flex-col overflow-hidden rounded-lg bg-popover text-popover-foreground", e),
1021
1021
  ...t
1022
1022
  });
1023
1023
  }
@@ -1025,7 +1025,7 @@ function xn({ title: e = "Search", children: t, ...n }) {
1025
1025
  return /* @__PURE__ */ r(d.Root, {
1026
1026
  ...n,
1027
1027
  children: /* @__PURE__ */ i(d.Portal, { children: [/* @__PURE__ */ r(d.Overlay, { className: kt }), /* @__PURE__ */ i(d.Content, {
1028
- 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),
1028
+ 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),
1029
1029
  children: [
1030
1030
  /* @__PURE__ */ r(d.Title, {
1031
1031
  className: "sr-only",
@@ -1044,55 +1044,55 @@ function Sn({ className: e, ...t }) {
1044
1044
  return /* @__PURE__ */ i("div", {
1045
1045
  "data-slot": "command-input-wrapper",
1046
1046
  className: "flex h-11 items-center gap-2 border-b px-3",
1047
- children: [/* @__PURE__ */ r(he, {
1047
+ children: [/* @__PURE__ */ r(me, {
1048
1048
  className: "size-4 shrink-0 text-muted-foreground",
1049
1049
  "aria-hidden": "true"
1050
- }), /* @__PURE__ */ r(z.Input, {
1050
+ }), /* @__PURE__ */ r(B.Input, {
1051
1051
  "data-slot": "command-input",
1052
- className: B("h-full w-full bg-transparent text-sm outline-none placeholder:text-muted-foreground", e),
1052
+ className: V("h-full w-full bg-transparent text-sm outline-none placeholder:text-muted-foreground", e),
1053
1053
  ...t
1054
1054
  })]
1055
1055
  });
1056
1056
  }
1057
1057
  function Cn({ className: e, ...t }) {
1058
- return /* @__PURE__ */ r(z.List, {
1058
+ return /* @__PURE__ */ r(B.List, {
1059
1059
  "data-slot": "command-list",
1060
- className: B("max-h-80 overflow-y-auto p-1", e),
1060
+ className: V("max-h-80 overflow-y-auto p-1", e),
1061
1061
  ...t
1062
1062
  });
1063
1063
  }
1064
1064
  function wn({ className: e, ...t }) {
1065
- return /* @__PURE__ */ r(z.Empty, {
1065
+ return /* @__PURE__ */ r(B.Empty, {
1066
1066
  "data-slot": "command-empty",
1067
- className: B("py-6 text-center text-sm text-muted-foreground", e),
1067
+ className: V("py-6 text-center text-sm text-muted-foreground", e),
1068
1068
  ...t
1069
1069
  });
1070
1070
  }
1071
1071
  function Tn({ className: e, ...t }) {
1072
- return /* @__PURE__ */ r(z.Group, {
1072
+ return /* @__PURE__ */ r(B.Group, {
1073
1073
  "data-slot": "command-group",
1074
- 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),
1074
+ 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),
1075
1075
  ...t
1076
1076
  });
1077
1077
  }
1078
1078
  function En({ className: e, ...t }) {
1079
- return /* @__PURE__ */ r(z.Item, {
1079
+ return /* @__PURE__ */ r(B.Item, {
1080
1080
  "data-slot": "command-item",
1081
- className: B(X, "data-[selected=true]:bg-accent", e),
1081
+ className: V(X, "data-[selected=true]:bg-accent", e),
1082
1082
  ...t
1083
1083
  });
1084
1084
  }
1085
1085
  function Dn({ className: e, ...t }) {
1086
- return /* @__PURE__ */ r(z.Separator, {
1086
+ return /* @__PURE__ */ r(B.Separator, {
1087
1087
  "data-slot": "command-separator",
1088
- className: B(vn, e),
1088
+ className: V(vn, e),
1089
1089
  ...t
1090
1090
  });
1091
1091
  }
1092
1092
  function On({ className: e, ...t }) {
1093
1093
  return /* @__PURE__ */ r("span", {
1094
1094
  "data-slot": "command-shortcut",
1095
- className: B(_n, e),
1095
+ className: V(_n, e),
1096
1096
  ...t
1097
1097
  });
1098
1098
  }
@@ -1101,7 +1101,7 @@ var kn = u.Root, An = u.Trigger;
1101
1101
  function jn({ className: e, ...t }) {
1102
1102
  return /* @__PURE__ */ r(u.Portal, { children: /* @__PURE__ */ r(u.Content, {
1103
1103
  "data-slot": "context-menu-content",
1104
- className: B(gn, "origin-(--radix-context-menu-content-transform-origin)", e),
1104
+ className: V(gn, "origin-(--radix-context-menu-content-transform-origin)", e),
1105
1105
  ...t
1106
1106
  }) });
1107
1107
  }
@@ -1109,21 +1109,21 @@ function Mn({ className: e, variant: t = "default", ...n }) {
1109
1109
  return /* @__PURE__ */ r(u.Item, {
1110
1110
  "data-slot": "context-menu-item",
1111
1111
  "data-variant": t,
1112
- className: B(X, e),
1112
+ className: V(X, e),
1113
1113
  ...n
1114
1114
  });
1115
1115
  }
1116
1116
  function Nn({ className: e, ...t }) {
1117
1117
  return /* @__PURE__ */ r(u.Separator, {
1118
1118
  "data-slot": "context-menu-separator",
1119
- className: B(vn, e),
1119
+ className: V(vn, e),
1120
1120
  ...t
1121
1121
  });
1122
1122
  }
1123
1123
  function Pn({ className: e, ...t }) {
1124
1124
  return /* @__PURE__ */ r("span", {
1125
1125
  "data-slot": "context-menu-shortcut",
1126
- className: B(_n, e),
1126
+ className: V(_n, e),
1127
1127
  ...t
1128
1128
  });
1129
1129
  }
@@ -1133,7 +1133,7 @@ function zn({ className: e, sideOffset: t = 6, ...n }) {
1133
1133
  return /* @__PURE__ */ r(f.Portal, { children: /* @__PURE__ */ r(f.Content, {
1134
1134
  "data-slot": "dropdown-menu-content",
1135
1135
  sideOffset: t,
1136
- className: B(gn, "origin-(--radix-dropdown-menu-content-transform-origin)", e),
1136
+ className: V(gn, "origin-(--radix-dropdown-menu-content-transform-origin)", e),
1137
1137
  ...n
1138
1138
  }) });
1139
1139
  }
@@ -1141,14 +1141,14 @@ function Bn({ className: e, variant: t = "default", ...n }) {
1141
1141
  return /* @__PURE__ */ r(f.Item, {
1142
1142
  "data-slot": "dropdown-menu-item",
1143
1143
  "data-variant": t,
1144
- className: B(X, e),
1144
+ className: V(X, e),
1145
1145
  ...n
1146
1146
  });
1147
1147
  }
1148
1148
  function Vn({ className: e, children: t, ...n }) {
1149
1149
  return /* @__PURE__ */ i(f.RadioItem, {
1150
1150
  "data-slot": "dropdown-menu-radio-item",
1151
- className: B(X, "ps-7", e),
1151
+ className: V(X, "ps-7", e),
1152
1152
  ...n,
1153
1153
  children: [/* @__PURE__ */ r("span", {
1154
1154
  className: "absolute start-2.5 flex size-2 items-center justify-center",
@@ -1159,21 +1159,21 @@ function Vn({ className: e, children: t, ...n }) {
1159
1159
  function Hn({ className: e, ...t }) {
1160
1160
  return /* @__PURE__ */ r(f.Label, {
1161
1161
  "data-slot": "dropdown-menu-label",
1162
- className: B(yn, e),
1162
+ className: V(yn, e),
1163
1163
  ...t
1164
1164
  });
1165
1165
  }
1166
1166
  function Un({ className: e, ...t }) {
1167
1167
  return /* @__PURE__ */ r(f.Separator, {
1168
1168
  "data-slot": "dropdown-menu-separator",
1169
- className: B(vn, e),
1169
+ className: V(vn, e),
1170
1170
  ...t
1171
1171
  });
1172
1172
  }
1173
1173
  function Wn({ className: e, ...t }) {
1174
1174
  return /* @__PURE__ */ r("span", {
1175
1175
  "data-slot": "dropdown-menu-shortcut",
1176
- className: B(_n, e),
1176
+ className: V(_n, e),
1177
1177
  ...t
1178
1178
  });
1179
1179
  }
@@ -1195,7 +1195,7 @@ function Jn({ className: e, children: t, onRemove: n, removeLabel: a = "Remove",
1195
1195
  return /* @__PURE__ */ i("span", {
1196
1196
  "data-slot": "tag",
1197
1197
  "data-highlighted": o || void 0,
1198
- 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),
1198
+ 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),
1199
1199
  ...s,
1200
1200
  children: [/* @__PURE__ */ r("span", {
1201
1201
  className: "truncate",
@@ -1205,7 +1205,7 @@ function Jn({ className: e, children: t, onRemove: n, removeLabel: a = "Remove",
1205
1205
  "aria-label": a,
1206
1206
  onClick: n,
1207
1207
  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",
1208
- children: /* @__PURE__ */ r(N, { "aria-hidden": "true" })
1208
+ children: /* @__PURE__ */ r(P, { "aria-hidden": "true" })
1209
1209
  }) : null]
1210
1210
  });
1211
1211
  }
@@ -1213,23 +1213,23 @@ function Jn({ className: e, children: t, onRemove: n, removeLabel: a = "Remove",
1213
1213
  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";
1214
1214
  // src/ui/tags-input/tags-input.component.tsx
1215
1215
  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 }) {
1216
- 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;
1217
- function ne(t) {
1216
+ let [y, b] = R(t), [x, S] = R(""), [C, w] = R(!1), [T, E] = R(!1), D = L(null), O = e ?? y, k = ht(v), ee = o !== void 0 && O.length >= o;
1217
+ function te(t) {
1218
1218
  e === void 0 && b(t), n?.(t);
1219
1219
  }
1220
- function k(e) {
1220
+ function A(e) {
1221
1221
  if (e.length === 0) return;
1222
- let { tags: t, rejected: n } = qn(D, e, {
1222
+ let { tags: t, rejected: n } = qn(O, e, {
1223
1223
  max: o,
1224
1224
  validate: s,
1225
1225
  allowDuplicates: c
1226
1226
  });
1227
- t.length !== D.length && ne(t), ee(n.join(", ")), C(n.length > 0), n.length > 0 && a?.(n);
1227
+ t.length !== O.length && te(t), S(n.join(", ")), w(n.length > 0), n.length > 0 && a?.(n);
1228
1228
  }
1229
- function A(e) {
1230
- ne(D.filter((t, n) => n !== e)), T(!1), E.current?.focus();
1229
+ function j(e) {
1230
+ te(O.filter((t, n) => n !== e)), E(!1), D.current?.focus();
1231
1231
  }
1232
- function re(e) {
1232
+ function ne(e) {
1233
1233
  if (h?.(e), !(e.defaultPrevented || e.nativeEvent.isComposing)) {
1234
1234
  if ([
1235
1235
  "Enter",
@@ -1237,58 +1237,58 @@ function Zn({ value: e, defaultValue: t = [], onValueChange: n, onReject: a, max
1237
1237
  ";"
1238
1238
  ].includes(e.key)) {
1239
1239
  if (x.trim() === "" && e.key === "Enter") return;
1240
- e.preventDefault(), k(Kn(x));
1241
- } else x === "" && e.key === "Backspace" && D.length > 0 ? (e.preventDefault(), w ? A(D.length - 1) : T(!0)) : T(!1);
1240
+ e.preventDefault(), A(Kn(x));
1241
+ } else x === "" && e.key === "Backspace" && O.length > 0 ? (e.preventDefault(), T ? j(O.length - 1) : E(!0)) : E(!1);
1242
1242
  }
1243
1243
  }
1244
- function ie(e) {
1244
+ function re(e) {
1245
1245
  g?.(e);
1246
1246
  let t = e.clipboardData.getData("text");
1247
- !e.defaultPrevented && Gn.test(t) && (e.preventDefault(), k(Kn(`${x}${t}`)));
1247
+ !e.defaultPrevented && Gn.test(t) && (e.preventDefault(), A(Kn(`${x}${t}`)));
1248
1248
  }
1249
1249
  return /* @__PURE__ */ i("div", {
1250
1250
  "data-slot": "tags-input",
1251
- className: B(Yn, d),
1251
+ className: V(Yn, d),
1252
1252
  onClick: (e) => {
1253
- e.target === e.currentTarget && E.current?.focus();
1253
+ e.target === e.currentTarget && D.current?.focus();
1254
1254
  },
1255
- children: [D.map((e, t) => /* @__PURE__ */ r(Jn, {
1256
- highlighted: w && t === D.length - 1,
1255
+ children: [O.map((e, t) => /* @__PURE__ */ r(Jn, {
1256
+ highlighted: T && t === O.length - 1,
1257
1257
  removeLabel: u(e),
1258
1258
  onRemove: p ? void 0 : () => {
1259
- A(t);
1259
+ j(t);
1260
1260
  },
1261
1261
  children: e
1262
1262
  }, `${e}-${String(t)}`)), /* @__PURE__ */ r("input", {
1263
- ref: E,
1263
+ ref: D,
1264
1264
  type: "text",
1265
1265
  "data-slot": "tags-input-input",
1266
1266
  value: x,
1267
1267
  disabled: p,
1268
- placeholder: D.length === 0 ? m : void 0,
1269
- readOnly: te,
1270
- className: B(Xn, f),
1268
+ placeholder: O.length === 0 ? m : void 0,
1269
+ readOnly: ee,
1270
+ className: V(Xn, f),
1271
1271
  onChange: (e) => {
1272
- ee(e.target.value), C(!1), T(!1);
1272
+ S(e.target.value), w(!1), E(!1);
1273
1273
  },
1274
- onKeyDown: re,
1275
- onPaste: ie,
1274
+ onKeyDown: ne,
1275
+ onPaste: re,
1276
1276
  onBlur: (e) => {
1277
- _?.(e), T(!1), l && !S && k(Kn(x));
1277
+ _?.(e), E(!1), l && !C && A(Kn(x));
1278
1278
  },
1279
1279
  ...v,
1280
- ...O,
1281
- "aria-invalid": S || O["aria-invalid"] || void 0
1280
+ ...k,
1281
+ "aria-invalid": C || k["aria-invalid"] || void 0
1282
1282
  })]
1283
1283
  });
1284
1284
  }
1285
1285
  // src/ui/combobox/option-search.hook.ts
1286
1286
  function Qn(e, t, { debounceMs: n = 250, minQueryLength: r = 1 } = {}) {
1287
- let [i, a] = L({
1287
+ let [i, a] = R({
1288
1288
  options: [],
1289
1289
  status: "idle"
1290
- }), o = I(e);
1291
- return o.current = e, F(() => {
1290
+ }), o = L(e);
1291
+ return o.current = e, I(() => {
1292
1292
  let e = t.trim();
1293
1293
  if (!o.current || e.length < r) {
1294
1294
  a({
@@ -1331,151 +1331,151 @@ function Qn(e, t, { debounceMs: n = 250, minQueryLength: r = 1 } = {}) {
1331
1331
  // src/ui/combobox/combobox.component.tsx
1332
1332
  var $n = "\0create";
1333
1333
  function er(e) {
1334
- 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({
1334
+ 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({
1335
1335
  id: e.id,
1336
1336
  "aria-describedby": e["aria-describedby"],
1337
1337
  "aria-invalid": e["aria-invalid"]
1338
- }), [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);
1339
- ne.current = O;
1340
- let [re, ie] = L(!1), ae = I(null), oe = I(null), se = gt(), ce = e["aria-label"];
1341
- Te(() => {
1342
- let e = ae.current;
1343
- e && (se ? e.setAttribute("aria-labelledby", se) : ce && e.removeAttribute("aria-labelledby"));
1344
- }, [se, ce]);
1345
- let j = O ? E : "", M = Qn(n, j, {
1338
+ }), [y, b] = R(e.multiple ? null : e.defaultValue ?? null), [x, S] = R(e.multiple ? e.defaultValue ?? [] : []), C = e.multiple ? null : e.value === void 0 ? y : e.value, w = e.multiple ? e.value ?? x : C ? [C] : [], [T, E] = R(!1), [D, O] = R(C?.label ?? ""), [k, ee] = R(!1), te = L(!1);
1339
+ te.current = k;
1340
+ let [ne, re] = R(!1), ie = L(null), ae = L(null), oe = gt(), se = e["aria-label"];
1341
+ we(() => {
1342
+ let e = ie.current;
1343
+ e && (oe ? e.setAttribute("aria-labelledby", oe) : se && e.removeAttribute("aria-labelledby"));
1344
+ }, [oe, se]);
1345
+ let M = k ? D : "", N = Qn(n, M, {
1346
1346
  debounceMs: a,
1347
1347
  minQueryLength: o
1348
- }), 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;
1349
- function pe(t) {
1348
+ }), 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 && w.length >= e.max;
1349
+ function fe(t) {
1350
1350
  e.multiple || (e.value === void 0 && b(t), e.onValueChange?.(t));
1351
1351
  }
1352
- function he(t) {
1353
- e.multiple && (e.value === void 0 && ee(t), e.onValueChange?.(t));
1352
+ function me(t) {
1353
+ e.multiple && (e.value === void 0 && S(t), e.onValueChange?.(t));
1354
1354
  }
1355
- function ge(t) {
1356
- if (te(!1), ie(!1), !e.multiple) {
1357
- pe(t), D(t.label), T(!1);
1355
+ function he(t) {
1356
+ if (ee(!1), re(!1), !e.multiple) {
1357
+ fe(t), O(t.label), E(!1);
1358
1358
  return;
1359
1359
  }
1360
- let n = C.some((e) => e.value === t.value);
1361
- (n || !fe) && (he(n ? C.filter((e) => e.value !== t.value) : [...C, t]), D(""));
1360
+ let n = w.some((e) => e.value === t.value);
1361
+ (n || !de) && (me(n ? w.filter((e) => e.value !== t.value) : [...w, t]), O(""));
1362
1362
  }
1363
- function _e() {
1364
- T(!1), te(!1), ie(!1), D(e.multiple ? "" : S?.label ?? "");
1363
+ function ge() {
1364
+ E(!1), ee(!1), re(!1), O(e.multiple ? "" : C?.label ?? "");
1365
1365
  }
1366
- let ve = (e) => C.some((t) => t.value === e.value);
1367
- return /* @__PURE__ */ r(z, {
1366
+ let _e = (e) => w.some((t) => t.value === e.value);
1367
+ return /* @__PURE__ */ r(B, {
1368
1368
  "data-slot": "combobox",
1369
1369
  shouldFilter: !_,
1370
- filter: (e, t, n) => ne.current ? tr(t, [e, ...n ?? []]) : 1,
1370
+ filter: (e, t, n) => te.current ? tr(t, [e, ...n ?? []]) : 1,
1371
1371
  loop: !0,
1372
1372
  className: "w-full",
1373
1373
  children: /* @__PURE__ */ i(en, {
1374
- open: w,
1374
+ open: T,
1375
1375
  onOpenChange: (e) => {
1376
- e || _e();
1376
+ e || ge();
1377
1377
  },
1378
1378
  children: [/* @__PURE__ */ r(nn, {
1379
1379
  asChild: !0,
1380
1380
  children: /* @__PURE__ */ i("div", {
1381
- ref: oe,
1381
+ ref: ae,
1382
1382
  "data-slot": "combobox-field",
1383
- className: B(Yn, "pe-1", h),
1383
+ className: V(Yn, "pe-1", h),
1384
1384
  onClick: (e) => {
1385
- e.target === e.currentTarget && ae.current?.focus();
1385
+ e.target === e.currentTarget && ie.current?.focus();
1386
1386
  },
1387
1387
  children: [
1388
- e.multiple ? C.map((e, t) => /* @__PURE__ */ r(Jn, {
1389
- highlighted: re && t === C.length - 1,
1388
+ e.multiple ? w.map((e, t) => /* @__PURE__ */ r(Jn, {
1389
+ highlighted: ne && t === w.length - 1,
1390
1390
  removeLabel: `Remove ${e.label}`,
1391
1391
  onRemove: m ? void 0 : () => {
1392
- ge(e);
1392
+ he(e);
1393
1393
  },
1394
1394
  children: e.label
1395
- }, e.value)) : !O && S?.icon ? /* @__PURE__ */ r("span", {
1395
+ }, e.value)) : !k && C?.icon ? /* @__PURE__ */ r("span", {
1396
1396
  "aria-hidden": "true",
1397
1397
  className: "ms-1 flex text-muted-foreground [&_svg]:size-4",
1398
- children: S.icon
1398
+ children: C.icon
1399
1399
  }) : null,
1400
- /* @__PURE__ */ r(z.Input, {
1401
- ref: ae,
1400
+ /* @__PURE__ */ r(B.Input, {
1401
+ ref: ie,
1402
1402
  "data-slot": "combobox-input",
1403
- value: E,
1403
+ value: D,
1404
1404
  disabled: m,
1405
- readOnly: fe,
1406
- placeholder: C.length === 0 || !e.multiple ? p : void 0,
1405
+ readOnly: de,
1406
+ placeholder: w.length === 0 || !e.multiple ? p : void 0,
1407
1407
  "aria-label": e["aria-label"],
1408
1408
  className: Xn,
1409
1409
  onValueChange: (e) => {
1410
- D(e), te(!0), ie(!1), T(!0);
1410
+ O(e), ee(!0), re(!1), E(!0);
1411
1411
  },
1412
1412
  onFocus: () => {
1413
- _ || T(!0);
1413
+ _ || E(!0);
1414
1414
  },
1415
1415
  onKeyDown: (t) => {
1416
- if (t.key === "Escape") w && t.preventDefault(), _e();
1417
- else if (!w && t.key === "ArrowDown") T(!0);
1418
- else if (E === "" && t.key === "Backspace" && e.multiple && C.length > 0) {
1416
+ if (t.key === "Escape") T && t.preventDefault(), ge();
1417
+ else if (!T && t.key === "ArrowDown") E(!0);
1418
+ else if (D === "" && t.key === "Backspace" && e.multiple && w.length > 0) {
1419
1419
  t.preventDefault();
1420
- let e = C.at(-1);
1421
- re && e ? ge(e) : ie(!0);
1420
+ let e = w.at(-1);
1421
+ ne && e ? he(e) : re(!0);
1422
1422
  }
1423
1423
  },
1424
1424
  ...v
1425
1425
  }),
1426
- S && !m && !e.multiple ? /* @__PURE__ */ r("button", {
1426
+ C && !m && !e.multiple ? /* @__PURE__ */ r("button", {
1427
1427
  type: "button",
1428
1428
  "aria-label": "Clear",
1429
1429
  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",
1430
1430
  onClick: () => {
1431
- pe(null), D(""), ae.current?.focus();
1431
+ fe(null), O(""), ie.current?.focus();
1432
1432
  },
1433
- children: /* @__PURE__ */ r(N, { "aria-hidden": "true" })
1433
+ children: /* @__PURE__ */ r(P, { "aria-hidden": "true" })
1434
1434
  }) : null,
1435
- _ ? null : /* @__PURE__ */ r(A, {
1435
+ _ ? null : /* @__PURE__ */ r(j, {
1436
1436
  "aria-hidden": "true",
1437
- className: B("mx-1 size-4 shrink-0 text-muted-foreground transition-transform duration-200 motion-reduce:transition-none", w && "rotate-180")
1437
+ className: V("mx-1 size-4 shrink-0 text-muted-foreground transition-transform duration-200 motion-reduce:transition-none", T && "rotate-180")
1438
1438
  })
1439
1439
  ]
1440
1440
  })
1441
1441
  }), /* @__PURE__ */ r(rn, {
1442
1442
  align: "start",
1443
1443
  sideOffset: 4,
1444
- className: B("w-(--radix-popover-trigger-width) min-w-56 p-1", g),
1444
+ className: V("w-(--radix-popover-trigger-width) min-w-56 p-1", g),
1445
1445
  onOpenAutoFocus: (e) => {
1446
1446
  e.preventDefault();
1447
1447
  },
1448
1448
  onInteractOutside: (e) => {
1449
- e.target instanceof Node && oe.current?.contains(e.target) && e.preventDefault();
1449
+ e.target instanceof Node && ae.current?.contains(e.target) && e.preventDefault();
1450
1450
  },
1451
1451
  onMouseDown: (e) => {
1452
1452
  e.preventDefault();
1453
1453
  },
1454
- children: /* @__PURE__ */ i(z.List, {
1454
+ children: /* @__PURE__ */ i(B.List, {
1455
1455
  "data-slot": "combobox-list",
1456
1456
  className: "max-h-72 overflow-y-auto",
1457
1457
  children: [
1458
- _ && M.status === "idle" ? /* @__PURE__ */ r(nr, { children: f }) : null,
1459
- _ && M.status === "loading" ? /* @__PURE__ */ i(nr, { children: [/* @__PURE__ */ r(le, {
1458
+ _ && N.status === "idle" ? /* @__PURE__ */ r(nr, { children: f }) : null,
1459
+ _ && N.status === "loading" ? /* @__PURE__ */ i(nr, { children: [/* @__PURE__ */ r(ce, {
1460
1460
  "aria-hidden": "true",
1461
1461
  className: "size-4 animate-spin"
1462
1462
  }), u] }) : null,
1463
- _ && M.status === "error" ? /* @__PURE__ */ r(nr, {
1463
+ _ && N.status === "error" ? /* @__PURE__ */ r(nr, {
1464
1464
  tone: "destructive",
1465
1465
  children: d
1466
1466
  }) : null,
1467
- !_ || M.status === "done" ? /* @__PURE__ */ r(z.Empty, {
1467
+ !_ || N.status === "done" ? /* @__PURE__ */ r(B.Empty, {
1468
1468
  className: "px-2.5 py-5 text-center text-sm text-muted-foreground",
1469
- children: de ? null : l
1469
+ children: ue ? null : l
1470
1470
  }) : null,
1471
- (!_ || M.status === "done") && ue.map((e) => /* @__PURE__ */ i(z.Item, {
1471
+ (!_ || N.status === "done") && le.map((e) => /* @__PURE__ */ i(B.Item, {
1472
1472
  value: e.value,
1473
1473
  keywords: [e.label, e.description ?? ""],
1474
1474
  disabled: e.disabled,
1475
1475
  onSelect: () => {
1476
- ge(e);
1476
+ he(e);
1477
1477
  },
1478
- className: B(X, "data-[selected=true]:bg-accent"),
1478
+ className: V(X, "data-[selected=true]:bg-accent"),
1479
1479
  children: [
1480
1480
  e.icon ? /* @__PURE__ */ r("span", {
1481
1481
  "aria-hidden": "true",
@@ -1492,25 +1492,25 @@ function er(e) {
1492
1492
  children: e.description
1493
1493
  }) : null]
1494
1494
  }),
1495
- /* @__PURE__ */ r(k, {
1495
+ /* @__PURE__ */ r(A, {
1496
1496
  "aria-hidden": "true",
1497
- className: B("size-4 shrink-0 text-brand", ve(e) ? "opacity-100" : "opacity-0")
1497
+ className: V("size-4 shrink-0 text-brand", _e(e) ? "opacity-100" : "opacity-0")
1498
1498
  })
1499
1499
  ]
1500
1500
  }, e.value)),
1501
- de ? /* @__PURE__ */ i(z.Item, {
1501
+ ue ? /* @__PURE__ */ i(B.Item, {
1502
1502
  forceMount: !0,
1503
1503
  value: $n,
1504
1504
  onSelect: () => {
1505
- ge(de);
1505
+ he(ue);
1506
1506
  },
1507
- className: B(X, "data-[selected=true]:bg-accent"),
1508
- children: [/* @__PURE__ */ r(me, {
1507
+ className: V(X, "data-[selected=true]:bg-accent"),
1508
+ children: [/* @__PURE__ */ r(pe, {
1509
1509
  "aria-hidden": "true",
1510
1510
  className: "size-4 shrink-0 text-brand"
1511
1511
  }), /* @__PURE__ */ r("span", {
1512
1512
  className: "truncate",
1513
- children: c(j.trim())
1513
+ children: c(M.trim())
1514
1514
  })]
1515
1515
  }) : null
1516
1516
  ]
@@ -1528,7 +1528,7 @@ function tr(e, t) {
1528
1528
  function nr({ children: e, tone: t }) {
1529
1529
  return /* @__PURE__ */ r("div", {
1530
1530
  role: "status",
1531
- className: B("flex items-center justify-center gap-2 px-2.5 py-5 text-sm", t === "destructive" ? "text-destructive" : "text-muted-foreground"),
1531
+ className: V("flex items-center justify-center gap-2 px-2.5 py-5 text-sm", t === "destructive" ? "text-destructive" : "text-muted-foreground"),
1532
1532
  children: e
1533
1533
  });
1534
1534
  }
@@ -1537,22 +1537,22 @@ var rr = {
1537
1537
  info: {
1538
1538
  box: "border-border bg-card",
1539
1539
  icon: "text-info",
1540
- Icon: j
1540
+ Icon: M
1541
1541
  },
1542
1542
  success: {
1543
1543
  box: "border-border bg-card",
1544
1544
  icon: "text-success",
1545
- Icon: se
1545
+ Icon: oe
1546
1546
  },
1547
1547
  warning: {
1548
1548
  box: "border-[color-mix(in_oklab,var(--warning)_35%,var(--border))] bg-warning-soft",
1549
1549
  icon: "text-warning",
1550
- Icon: _e
1550
+ Icon: ge
1551
1551
  },
1552
1552
  danger: {
1553
1553
  box: "border-[color-mix(in_oklab,var(--destructive)_40%,var(--border))] bg-destructive-soft",
1554
1554
  icon: "text-destructive",
1555
- Icon: _e
1555
+ Icon: ge
1556
1556
  }
1557
1557
  };
1558
1558
  function ir({ tone: e = "info", title: t, icon: n, children: a, className: o, ...s }) {
@@ -1560,11 +1560,11 @@ function ir({ tone: e = "info", title: t, icon: n, children: a, className: o, ..
1560
1560
  return /* @__PURE__ */ i("div", {
1561
1561
  "data-slot": "alert",
1562
1562
  role: e === "danger" || e === "warning" ? "alert" : "status",
1563
- className: B("flex gap-3 rounded-lg border px-4 py-3.5", c, o),
1563
+ className: V("flex gap-3 rounded-lg border px-4 py-3.5", c, o),
1564
1564
  ...s,
1565
1565
  children: [/* @__PURE__ */ r("span", {
1566
1566
  "aria-hidden": "true",
1567
- className: B("mt-px flex shrink-0 [&_svg]:size-[18px]", l),
1567
+ className: V("mt-px flex shrink-0 [&_svg]:size-[18px]", l),
1568
1568
  children: n ?? /* @__PURE__ */ r(u, {})
1569
1569
  }), /* @__PURE__ */ i("div", {
1570
1570
  className: "flex flex-col gap-0.5",
@@ -1582,13 +1582,13 @@ function ir({ tone: e = "info", title: t, icon: n, children: a, className: o, ..
1582
1582
  function ar({ title: e, description: t, icon: n, action: a, className: o, ...s }) {
1583
1583
  return /* @__PURE__ */ i("div", {
1584
1584
  "data-slot": "empty-state",
1585
- className: B("flex flex-col items-center gap-2 rounded-xl border-[1.5px] border-dashed border-input p-6 text-center", o),
1585
+ className: V("flex flex-col items-center gap-2 rounded-xl border-[1.5px] border-dashed border-input p-6 text-center", o),
1586
1586
  ...s,
1587
1587
  children: [
1588
1588
  /* @__PURE__ */ r("span", {
1589
1589
  "aria-hidden": "true",
1590
1590
  className: "grid size-10 place-items-center rounded-[10px] bg-brand-soft text-brand-text [&_svg]:size-5",
1591
- children: n ?? /* @__PURE__ */ r(me, {})
1591
+ children: n ?? /* @__PURE__ */ r(pe, {})
1592
1592
  }),
1593
1593
  /* @__PURE__ */ r("p", {
1594
1594
  className: "m-0 type-h4",
@@ -1612,7 +1612,7 @@ function or({ className: e, value: t, max: n = 100, ...i }) {
1612
1612
  "data-slot": "progress",
1613
1613
  value: t,
1614
1614
  max: n,
1615
- className: B("relative h-1.5 w-full overflow-hidden rounded-full bg-muted", e),
1615
+ className: V("relative h-1.5 w-full overflow-hidden rounded-full bg-muted", e),
1616
1616
  ...i,
1617
1617
  children: /* @__PURE__ */ r(v.Indicator, {
1618
1618
  className: "h-full rounded-full bg-brand transition-[width]",
@@ -1625,23 +1625,23 @@ function sr({ className: e, ...t }) {
1625
1625
  return /* @__PURE__ */ r("div", {
1626
1626
  "data-slot": "skeleton",
1627
1627
  "aria-hidden": "true",
1628
- className: B("animate-pulse rounded-sm bg-muted", e),
1628
+ className: V("animate-pulse rounded-sm bg-muted", e),
1629
1629
  ...t
1630
1630
  });
1631
1631
  }
1632
1632
  // src/ui/feedback/spinner.component.tsx
1633
1633
  function cr({ className: e, label: t = "Loading", ...n }) {
1634
- return /* @__PURE__ */ r(le, {
1634
+ return /* @__PURE__ */ r(ce, {
1635
1635
  "data-slot": "spinner",
1636
1636
  role: "status",
1637
1637
  "aria-label": t,
1638
- className: B("size-4 animate-spin text-muted-foreground", e),
1638
+ className: V("size-4 animate-spin text-muted-foreground", e),
1639
1639
  ...n
1640
1640
  });
1641
1641
  }
1642
1642
  // src/ui/feedback/toaster.component.tsx
1643
1643
  function lr(e) {
1644
- return /* @__PURE__ */ r(Oe, {
1644
+ return /* @__PURE__ */ r(De, {
1645
1645
  className: "toaster group",
1646
1646
  toastOptions: { classNames: {
1647
1647
  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",
@@ -1670,7 +1670,7 @@ function fr({ open: e, accepted: t = !0, title: a, description: o, rejectedTitle
1670
1670
  return /* @__PURE__ */ r($t, { children: /* @__PURE__ */ r("div", {
1671
1671
  "data-slot": "file-drop-overlay",
1672
1672
  "data-state": e ? t ? "accepted" : "rejected" : "closed",
1673
- 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),
1673
+ 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),
1674
1674
  children: /* @__PURE__ */ r("div", {
1675
1675
  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",
1676
1676
  children: /* @__PURE__ */ r("div", {
@@ -1683,7 +1683,7 @@ function fr({ open: e, accepted: t = !0, title: a, description: o, rejectedTitle
1683
1683
  children: [/* @__PURE__ */ r("span", {
1684
1684
  "aria-hidden": "true",
1685
1685
  className: "absolute inset-0 rounded-full bg-current opacity-20 motion-safe:animate-ping"
1686
- }), t ? c ?? /* @__PURE__ */ r(ve, { "aria-hidden": "true" }) : /* @__PURE__ */ r(te, { "aria-hidden": "true" })]
1686
+ }), t ? c ?? /* @__PURE__ */ r(_e, { "aria-hidden": "true" }) : /* @__PURE__ */ r(ee, { "aria-hidden": "true" })]
1687
1687
  }),
1688
1688
  /* @__PURE__ */ r("span", {
1689
1689
  className: "text-2xl font-semibold text-foreground",
@@ -1700,11 +1700,11 @@ function fr({ open: e, accepted: t = !0, title: a, description: o, rejectedTitle
1700
1700
  }
1701
1701
  // src/ui/file-drop/page-drop.hook.ts
1702
1702
  function pr(e) {
1703
- let [t, n] = L({
1703
+ let [t, n] = R({
1704
1704
  isOver: !1,
1705
1705
  isAccepted: !0
1706
- }), r = I(e);
1707
- return r.current = e, F(() => {
1706
+ }), r = L(e);
1707
+ return r.current = e, I(() => {
1708
1708
  let e = 0, t = (e) => !r.current.disabled && !!e.dataTransfer?.types.includes("Files"), i = () => {
1709
1709
  e = 0, n({
1710
1710
  isOver: !1,
@@ -1741,14 +1741,14 @@ function pr(e) {
1741
1741
  function mr({ className: e, ...t }) {
1742
1742
  return /* @__PURE__ */ r(a.Root, {
1743
1743
  "data-slot": "accordion",
1744
- className: B("border-t", e),
1744
+ className: V("border-t", e),
1745
1745
  ...t
1746
1746
  });
1747
1747
  }
1748
1748
  function hr({ className: e, ...t }) {
1749
1749
  return /* @__PURE__ */ r(a.Item, {
1750
1750
  "data-slot": "accordion-item",
1751
- className: B("border-b", e),
1751
+ className: V("border-b", e),
1752
1752
  ...t
1753
1753
  });
1754
1754
  }
@@ -1757,7 +1757,7 @@ function gr({ className: e, children: t, ...n }) {
1757
1757
  className: "m-0 flex",
1758
1758
  children: /* @__PURE__ */ i(a.Trigger, {
1759
1759
  "data-slot": "accordion-trigger",
1760
- 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),
1760
+ 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),
1761
1761
  ...n,
1762
1762
  children: [t, /* @__PURE__ */ i("svg", {
1763
1763
  viewBox: "0 0 16 16",
@@ -1789,7 +1789,7 @@ function _r({ className: e, children: t, ...n }) {
1789
1789
  className: "overflow-hidden text-sm text-muted-foreground data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down motion-reduce:animate-none",
1790
1790
  ...n,
1791
1791
  children: /* @__PURE__ */ r("div", {
1792
- className: B("pb-3", e),
1792
+ className: V("pb-3", e),
1793
1793
  children: t
1794
1794
  })
1795
1795
  });
@@ -1798,21 +1798,21 @@ function _r({ className: e, children: t, ...n }) {
1798
1798
  function vr({ className: e, ...t }) {
1799
1799
  return /* @__PURE__ */ r("div", {
1800
1800
  "data-slot": "card",
1801
- className: B("flex flex-col overflow-hidden rounded-xl border bg-card text-card-foreground shadow-xs", e),
1801
+ className: V("flex flex-col overflow-hidden rounded-xl border bg-card text-card-foreground shadow-xs", e),
1802
1802
  ...t
1803
1803
  });
1804
1804
  }
1805
1805
  function yr({ className: e, ...t }) {
1806
1806
  return /* @__PURE__ */ r("div", {
1807
1807
  "data-slot": "card-header",
1808
- className: B("flex flex-col gap-1 px-5 pt-5", e),
1808
+ className: V("flex flex-col gap-1 px-5 pt-5", e),
1809
1809
  ...t
1810
1810
  });
1811
1811
  }
1812
1812
  function br({ className: e, children: t, ...n }) {
1813
1813
  return /* @__PURE__ */ r("h3", {
1814
1814
  "data-slot": "card-title",
1815
- className: B("m-0 type-h4", e),
1815
+ className: V("m-0 type-h4", e),
1816
1816
  ...n,
1817
1817
  children: t
1818
1818
  });
@@ -1820,21 +1820,21 @@ function br({ className: e, children: t, ...n }) {
1820
1820
  function xr({ className: e, ...t }) {
1821
1821
  return /* @__PURE__ */ r("p", {
1822
1822
  "data-slot": "card-description",
1823
- className: B("m-0 text-[13px] text-muted-foreground", e),
1823
+ className: V("m-0 text-[13px] text-muted-foreground", e),
1824
1824
  ...t
1825
1825
  });
1826
1826
  }
1827
1827
  function Sr({ className: e, ...t }) {
1828
1828
  return /* @__PURE__ */ r("div", {
1829
1829
  "data-slot": "card-content",
1830
- className: B("px-5 py-4", e),
1830
+ className: V("px-5 py-4", e),
1831
1831
  ...t
1832
1832
  });
1833
1833
  }
1834
1834
  function Cr({ className: e, ...t }) {
1835
1835
  return /* @__PURE__ */ r("div", {
1836
1836
  "data-slot": "card-footer",
1837
- className: B("mt-auto flex items-center justify-between gap-3 border-t bg-muted px-5 py-3", e),
1837
+ className: V("mt-auto flex items-center justify-between gap-3 border-t bg-muted px-5 py-3", e),
1838
1838
  ...t
1839
1839
  });
1840
1840
  }
@@ -1842,28 +1842,28 @@ function Cr({ className: e, ...t }) {
1842
1842
  function wr({ className: e, ...t }) {
1843
1843
  return /* @__PURE__ */ r("kbd", {
1844
1844
  "data-slot": "kbd",
1845
- 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),
1845
+ 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),
1846
1846
  ...t
1847
1847
  });
1848
1848
  }
1849
1849
  // src/ui/layout/resizable.component.tsx
1850
1850
  function Tr({ className: e, ...t }) {
1851
- return /* @__PURE__ */ r(ke, {
1851
+ return /* @__PURE__ */ r(Oe, {
1852
1852
  "data-slot": "resizable-panel-group",
1853
- className: B("flex size-full", e),
1853
+ className: V("flex size-full", e),
1854
1854
  ...t
1855
1855
  });
1856
1856
  }
1857
1857
  function Er(e) {
1858
- return /* @__PURE__ */ r(Ae, {
1858
+ return /* @__PURE__ */ r(ke, {
1859
1859
  "data-slot": "resizable-panel",
1860
1860
  ...e
1861
1861
  });
1862
1862
  }
1863
1863
  function Dr({ className: e, ...t }) {
1864
- return /* @__PURE__ */ r(je, {
1864
+ return /* @__PURE__ */ r(Ae, {
1865
1865
  "data-slot": "resizable-handle",
1866
- 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),
1866
+ 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),
1867
1867
  ...t
1868
1868
  });
1869
1869
  }
@@ -1871,7 +1871,7 @@ function Dr({ className: e, ...t }) {
1871
1871
  function Or({ className: e, children: t, ...n }) {
1872
1872
  return /* @__PURE__ */ i(b.Root, {
1873
1873
  "data-slot": "scroll-area",
1874
- className: B("relative overflow-hidden", e),
1874
+ className: V("relative overflow-hidden", e),
1875
1875
  ...n,
1876
1876
  children: [
1877
1877
  /* @__PURE__ */ r(b.Viewport, {
@@ -1888,18 +1888,18 @@ function kr({ className: e, orientation: t = "vertical", ...n }) {
1888
1888
  return /* @__PURE__ */ r(b.Scrollbar, {
1889
1889
  "data-slot": "scroll-area-scrollbar",
1890
1890
  orientation: t,
1891
- className: B("flex touch-none select-none p-px", t === "vertical" ? "h-full w-2" : "h-2 flex-col", e),
1891
+ className: V("flex touch-none select-none p-px", t === "vertical" ? "h-full w-2" : "h-2 flex-col", e),
1892
1892
  ...n,
1893
1893
  children: /* @__PURE__ */ r(b.Thumb, { className: "relative flex-1 rounded-full bg-input" })
1894
1894
  });
1895
1895
  }
1896
1896
  // src/ui/layout/separator.component.tsx
1897
1897
  function Ar({ className: e, orientation: t = "horizontal", decorative: n = !0, ...i }) {
1898
- return /* @__PURE__ */ r(ee.Root, {
1898
+ return /* @__PURE__ */ r(S.Root, {
1899
1899
  "data-slot": "separator",
1900
1900
  orientation: t,
1901
1901
  decorative: n,
1902
- className: B("shrink-0 bg-border", t === "horizontal" ? "h-px w-full" : "w-px self-stretch", e),
1902
+ className: V("shrink-0 bg-border", t === "horizontal" ? "h-px w-full" : "w-px self-stretch", e),
1903
1903
  ...i
1904
1904
  });
1905
1905
  }
@@ -1910,7 +1910,7 @@ function jr({ className: e, ...t }) {
1910
1910
  className: "relative w-full overflow-x-auto",
1911
1911
  children: /* @__PURE__ */ r("table", {
1912
1912
  "data-slot": "table",
1913
- className: B("w-full caption-bottom border-collapse text-[13px]", e),
1913
+ className: V("w-full caption-bottom border-collapse text-[13px]", e),
1914
1914
  ...t
1915
1915
  })
1916
1916
  });
@@ -1930,28 +1930,28 @@ function Nr(e) {
1930
1930
  function Pr({ className: e, ...t }) {
1931
1931
  return /* @__PURE__ */ r("tr", {
1932
1932
  "data-slot": "table-row",
1933
- className: B("border-b transition-colors hover:bg-muted/60 data-[state=selected]:bg-muted", e),
1933
+ className: V("border-b transition-colors hover:bg-muted/60 data-[state=selected]:bg-muted", e),
1934
1934
  ...t
1935
1935
  });
1936
1936
  }
1937
1937
  function Fr({ className: e, ...t }) {
1938
1938
  return /* @__PURE__ */ r("th", {
1939
1939
  "data-slot": "table-head",
1940
- className: B("h-9 whitespace-nowrap px-3 text-start align-middle font-medium text-muted-foreground", e),
1940
+ className: V("h-9 whitespace-nowrap px-3 text-start align-middle font-medium text-muted-foreground", e),
1941
1941
  ...t
1942
1942
  });
1943
1943
  }
1944
1944
  function Ir({ className: e, ...t }) {
1945
1945
  return /* @__PURE__ */ r("td", {
1946
1946
  "data-slot": "table-cell",
1947
- className: B("px-3 py-[11px] align-middle", e),
1947
+ className: V("px-3 py-[11px] align-middle", e),
1948
1948
  ...t
1949
1949
  });
1950
1950
  }
1951
1951
  function Lr({ className: e, ...t }) {
1952
1952
  return /* @__PURE__ */ r("caption", {
1953
1953
  "data-slot": "table-caption",
1954
- className: B("mt-3 text-xs text-muted-foreground", e),
1954
+ className: V("mt-3 text-xs text-muted-foreground", e),
1955
1955
  ...t
1956
1956
  });
1957
1957
  }
@@ -1966,22 +1966,22 @@ function Rr({ "aria-label": e = "Breadcrumb", ...t }) {
1966
1966
  function zr({ className: e, ...t }) {
1967
1967
  return /* @__PURE__ */ r("ol", {
1968
1968
  "data-slot": "breadcrumb-list",
1969
- className: B("m-0 flex list-none flex-wrap items-center gap-2 p-0 text-[13px] text-muted-foreground", e),
1969
+ className: V("m-0 flex list-none flex-wrap items-center gap-2 p-0 text-[13px] text-muted-foreground", e),
1970
1970
  ...t
1971
1971
  });
1972
1972
  }
1973
1973
  function Br({ className: e, ...t }) {
1974
1974
  return /* @__PURE__ */ r("li", {
1975
1975
  "data-slot": "breadcrumb-item",
1976
- className: B("inline-flex items-center gap-2", e),
1976
+ className: V("inline-flex items-center gap-2", e),
1977
1977
  ...t
1978
1978
  });
1979
1979
  }
1980
1980
  function Vr({ asChild: e = !1, className: t, ...n }) {
1981
- let i = e ? C.Root : "a";
1981
+ let i = e ? w.Root : "a";
1982
1982
  return /* @__PURE__ */ r(i, {
1983
1983
  "data-slot": "breadcrumb-link",
1984
- className: B("text-inherit no-underline transition-colors hover:text-foreground", t),
1984
+ className: V("text-inherit no-underline transition-colors hover:text-foreground", t),
1985
1985
  ...n
1986
1986
  });
1987
1987
  }
@@ -1989,7 +1989,7 @@ function Hr({ className: e, ...t }) {
1989
1989
  return /* @__PURE__ */ r("span", {
1990
1990
  "data-slot": "breadcrumb-page",
1991
1991
  "aria-current": "page",
1992
- className: B("font-medium text-foreground", e),
1992
+ className: V("font-medium text-foreground", e),
1993
1993
  ...t
1994
1994
  });
1995
1995
  }
@@ -2011,7 +2011,7 @@ function Gr({ open: e, className: t, ...n }) {
2011
2011
  viewBox: "0 0 24 24",
2012
2012
  fill: "currentColor",
2013
2013
  "aria-hidden": "true",
2014
- className: B("group/menu-icon size-5", t),
2014
+ className: V("group/menu-icon size-5", t),
2015
2015
  ...n,
2016
2016
  children: [
2017
2017
  /* @__PURE__ */ r("rect", {
@@ -2020,7 +2020,7 @@ function Gr({ open: e, className: t, ...n }) {
2020
2020
  width: "16",
2021
2021
  height: "2",
2022
2022
  rx: "1",
2023
- 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")
2023
+ 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")
2024
2024
  }),
2025
2025
  /* @__PURE__ */ r("rect", {
2026
2026
  x: "4",
@@ -2028,7 +2028,7 @@ function Gr({ open: e, className: t, ...n }) {
2028
2028
  width: "16",
2029
2029
  height: "2",
2030
2030
  rx: "1",
2031
- 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")
2031
+ 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")
2032
2032
  }),
2033
2033
  /* @__PURE__ */ r("rect", {
2034
2034
  x: "4",
@@ -2036,7 +2036,7 @@ function Gr({ open: e, className: t, ...n }) {
2036
2036
  width: "16",
2037
2037
  height: "2",
2038
2038
  rx: "1",
2039
- 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")
2039
+ 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")
2040
2040
  })
2041
2041
  ]
2042
2042
  });
@@ -2045,7 +2045,7 @@ function Gr({ open: e, className: t, ...n }) {
2045
2045
  function Kr({ className: e, ...t }) {
2046
2046
  return /* @__PURE__ */ r(m.Root, {
2047
2047
  "data-slot": "menubar",
2048
- className: B("flex items-center gap-0.5", e),
2048
+ className: V("flex items-center gap-0.5", e),
2049
2049
  ...t
2050
2050
  });
2051
2051
  }
@@ -2053,7 +2053,7 @@ var qr = m.Menu;
2053
2053
  function Jr({ className: e, ...t }) {
2054
2054
  return /* @__PURE__ */ r(m.Trigger, {
2055
2055
  "data-slot": "menubar-trigger",
2056
- 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),
2056
+ 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),
2057
2057
  ...t
2058
2058
  });
2059
2059
  }
@@ -2062,28 +2062,28 @@ function Yr({ className: e, align: t = "start", sideOffset: n = 6, ...i }) {
2062
2062
  "data-slot": "menubar-content",
2063
2063
  align: t,
2064
2064
  sideOffset: n,
2065
- 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),
2065
+ 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),
2066
2066
  ...i
2067
2067
  }) });
2068
2068
  }
2069
2069
  function Xr({ className: e, ...t }) {
2070
2070
  return /* @__PURE__ */ r(m.Item, {
2071
2071
  "data-slot": "menubar-item",
2072
- 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),
2072
+ 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),
2073
2073
  ...t
2074
2074
  });
2075
2075
  }
2076
2076
  function Zr({ className: e, ...t }) {
2077
2077
  return /* @__PURE__ */ r("span", {
2078
2078
  "data-slot": "menubar-shortcut",
2079
- className: B("ms-auto text-xs text-muted-foreground", e),
2079
+ className: V("ms-auto text-xs text-muted-foreground", e),
2080
2080
  ...t
2081
2081
  });
2082
2082
  }
2083
2083
  function Qr({ className: e, ...t }) {
2084
2084
  return /* @__PURE__ */ r(m.Separator, {
2085
2085
  "data-slot": "menubar-separator",
2086
- className: B("-mx-1 my-1 h-px bg-border", e),
2086
+ className: V("-mx-1 my-1 h-px bg-border", e),
2087
2087
  ...t
2088
2088
  });
2089
2089
  }
@@ -2091,7 +2091,7 @@ function Qr({ className: e, ...t }) {
2091
2091
  function $r({ className: e, children: t, ...n }) {
2092
2092
  return /* @__PURE__ */ i(h.Root, {
2093
2093
  "data-slot": "navigation-menu",
2094
- className: B("relative flex items-center", e),
2094
+ className: V("relative flex items-center", e),
2095
2095
  ...n,
2096
2096
  children: [t, /* @__PURE__ */ r("div", {
2097
2097
  className: "absolute start-0 top-full flex justify-center",
@@ -2102,7 +2102,7 @@ function $r({ className: e, children: t, ...n }) {
2102
2102
  function ei({ className: e, ...t }) {
2103
2103
  return /* @__PURE__ */ r(h.List, {
2104
2104
  "data-slot": "navigation-menu-list",
2105
- className: B("m-0 flex list-none items-center gap-1 p-0", e),
2105
+ className: V("m-0 flex list-none items-center gap-1 p-0", e),
2106
2106
  ...t
2107
2107
  });
2108
2108
  }
@@ -2110,9 +2110,9 @@ var ti = h.Item, ni = "inline-flex h-[calc(var(--control-h)-6px)] cursor-pointer
2110
2110
  function ri({ className: e, children: t, ...n }) {
2111
2111
  return /* @__PURE__ */ i(h.Trigger, {
2112
2112
  "data-slot": "navigation-menu-trigger",
2113
- className: B(ni, "group", e),
2113
+ className: V(ni, "group", e),
2114
2114
  ...n,
2115
- children: [t, /* @__PURE__ */ r(A, {
2115
+ children: [t, /* @__PURE__ */ r(j, {
2116
2116
  className: "size-4 transition-transform duration-200 ease-emphasised group-data-[state=open]:rotate-180 motion-reduce:transition-none",
2117
2117
  "aria-hidden": "true"
2118
2118
  })]
@@ -2121,14 +2121,14 @@ function ri({ className: e, children: t, ...n }) {
2121
2121
  function ii({ className: e, ...t }) {
2122
2122
  return /* @__PURE__ */ r(h.Content, {
2123
2123
  "data-slot": "navigation-menu-content",
2124
- 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),
2124
+ 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),
2125
2125
  ...t
2126
2126
  });
2127
2127
  }
2128
2128
  function ai({ className: e, ...t }) {
2129
2129
  return /* @__PURE__ */ r(h.Link, {
2130
2130
  "data-slot": "navigation-menu-link",
2131
- className: B(ni, e),
2131
+ className: V(ni, e),
2132
2132
  ...t
2133
2133
  });
2134
2134
  }
@@ -2138,11 +2138,11 @@ function oi({ page: e, pageCount: t, onPageChange: n, window: a = 3, className:
2138
2138
  return /* @__PURE__ */ i("nav", {
2139
2139
  "data-slot": "pagination",
2140
2140
  "aria-label": "Pagination",
2141
- className: B("flex items-center gap-1", o),
2141
+ className: V("flex items-center gap-1", o),
2142
2142
  children: [
2143
2143
  /* @__PURE__ */ r("button", {
2144
2144
  type: "button",
2145
- className: q({
2145
+ className: J({
2146
2146
  variant: "ghost",
2147
2147
  size: "sm"
2148
2148
  }),
@@ -2154,7 +2154,7 @@ function oi({ page: e, pageCount: t, onPageChange: n, window: a = 3, className:
2154
2154
  type: "button",
2155
2155
  "aria-current": t === e ? "page" : void 0,
2156
2156
  "aria-label": `Page ${t}`,
2157
- className: q({
2157
+ className: J({
2158
2158
  variant: t === e ? "outline" : "ghost",
2159
2159
  size: "icon-sm"
2160
2160
  }),
@@ -2163,7 +2163,7 @@ function oi({ page: e, pageCount: t, onPageChange: n, window: a = 3, className:
2163
2163
  }, t)),
2164
2164
  /* @__PURE__ */ r("button", {
2165
2165
  type: "button",
2166
- className: q({
2166
+ className: J({
2167
2167
  variant: "ghost",
2168
2168
  size: "sm"
2169
2169
  }),
@@ -2175,13 +2175,13 @@ function oi({ page: e, pageCount: t, onPageChange: n, window: a = 3, className:
2175
2175
  });
2176
2176
  }
2177
2177
  // src/ui/navigation/tabs.component.tsx
2178
- var si = be(null), ci = be("pill"), li = 24;
2178
+ var si = ye(null), ci = ye("pill"), li = 24;
2179
2179
  function ui(e, t, n, r) {
2180
2180
  let i = Math.abs(e) * (t > 0 ? n / t : 1), a = Math.min(Math.max(i, li), Math.max(n / 2, li));
2181
2181
  return Math.round(r ? a : -a);
2182
2182
  }
2183
2183
  function di({ className: e, style: t, children: n, value: i, defaultValue: a, onValueChange: o, orientation: s = "horizontal", ...c }) {
2184
- 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) => {
2184
+ let l = L(null), u = L(i ?? a), [d, f] = R(), p = L(void 0), m = L(void 0), [h, g] = R(i ?? a), _ = F((e) => {
2185
2185
  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);
2186
2186
  if (u.current = e, g(e), !t || !r || !i || r === i) return;
2187
2187
  let a = t.ownerDocument.getElementById(r.getAttribute("aria-controls") ?? "");
@@ -2209,7 +2209,7 @@ function di({ className: e, style: t, children: n, value: i, defaultValue: a, on
2209
2209
  direction: o ? "y" : "x"
2210
2210
  });
2211
2211
  }, [s]);
2212
- return i !== void 0 && i !== u.current && _(i), /* @__PURE__ */ r(T.Root, {
2212
+ return i !== void 0 && i !== u.current && _(i), /* @__PURE__ */ r(E.Root, {
2213
2213
  ref: l,
2214
2214
  "data-slot": "tabs",
2215
2215
  "data-direction": d?.direction,
@@ -2223,7 +2223,7 @@ function di({ className: e, style: t, children: n, value: i, defaultValue: a, on
2223
2223
  onValueChange: (e) => {
2224
2224
  _(e), o?.(e);
2225
2225
  },
2226
- className: B("group/tabs flex gap-3 data-[orientation=horizontal]:flex-col has-[>[data-slot=tabs-list][data-variant=outline]]:gap-0", e),
2226
+ className: V("group/tabs flex gap-3 data-[orientation=horizontal]:flex-col has-[>[data-slot=tabs-list][data-variant=outline]]:gap-0", e),
2227
2227
  ...c,
2228
2228
  children: /* @__PURE__ */ r(si, {
2229
2229
  value: {
@@ -2245,18 +2245,18 @@ var fi = {
2245
2245
  outline: "hidden"
2246
2246
  };
2247
2247
  function mi({ className: e, variant: t = "pill", fitted: n = !1, flap: a = !1, children: o, ...s }) {
2248
- let c = ut("[data-slot=tabs-trigger][data-state=active]");
2249
- return /* @__PURE__ */ i(T.List, {
2248
+ let c = lt("[data-slot=tabs-trigger][data-state=active]");
2249
+ return /* @__PURE__ */ i(E.List, {
2250
2250
  ref: c,
2251
2251
  "data-slot": "tabs-list",
2252
2252
  "data-variant": t,
2253
2253
  "data-motion": a ? "flap" : "raise",
2254
- 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),
2254
+ className: V("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),
2255
2255
  ...s,
2256
2256
  children: [/* @__PURE__ */ r("span", {
2257
2257
  "aria-hidden": "true",
2258
2258
  "data-slot": "tabs-indicator",
2259
- className: B(dt, pi[t])
2259
+ className: V(ut, pi[t])
2260
2260
  }), /* @__PURE__ */ r(ci, {
2261
2261
  value: t,
2262
2262
  children: o
@@ -2268,12 +2268,12 @@ function gi(e) {
2268
2268
  e.preventDefault(), e.stopPropagation();
2269
2269
  }
2270
2270
  function _i({ className: e, count: t, onClose: n, closeLabel: a = "Close tab", onKeyDown: o, children: s, value: c, ...l }) {
2271
- let u = Se(ci), d = P((e) => {
2271
+ let u = xe(ci), d = F((e) => {
2272
2272
  if (!e || u !== "outline") return;
2273
2273
  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;
2274
2274
  r <= 0 ? e.dataset.edge = "start" : a > 0 && r + i >= a - 1 ? e.dataset.edge = "end" : delete e.dataset.edge;
2275
2275
  }, [u]);
2276
- return /* @__PURE__ */ i(T.Trigger, {
2276
+ return /* @__PURE__ */ i(E.Trigger, {
2277
2277
  ref: d,
2278
2278
  "data-slot": "tabs-trigger",
2279
2279
  "data-value": c,
@@ -2283,7 +2283,7 @@ function _i({ className: e, count: t, onClose: n, closeLabel: a = "Close tab", o
2283
2283
  onKeyDown: (e) => {
2284
2284
  o?.(e), n && !e.defaultPrevented && e.key === "Delete" && (e.preventDefault(), n());
2285
2285
  },
2286
- 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 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:focus-visible:ring-2 group-data-[variant=pill]/tabs-list:focus-visible:ring-ring group-data-[variant=underline]/tabs-list:focus-visible:bg-brand-soft", "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:rounded-sm 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: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),
2286
+ 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 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:focus-visible:ring-2 group-data-[variant=pill]/tabs-list:focus-visible:ring-ring group-data-[variant=underline]/tabs-list:focus-visible:bg-brand-soft", "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:rounded-sm 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: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),
2287
2287
  ...l,
2288
2288
  children: [
2289
2289
  s,
@@ -2301,7 +2301,7 @@ function _i({ className: e, count: t, onClose: n, closeLabel: a = "Close tab", o
2301
2301
  gi(e), n();
2302
2302
  },
2303
2303
  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",
2304
- children: /* @__PURE__ */ r(N, {})
2304
+ children: /* @__PURE__ */ r(P, {})
2305
2305
  }) : null
2306
2306
  ]
2307
2307
  });
@@ -2364,8 +2364,8 @@ function xi(e, t) {
2364
2364
  });
2365
2365
  }
2366
2366
  function Si({ className: e, bodyClassName: t, children: n, ...i }) {
2367
- let a = Se(si), o = I(null), s = a?.active === i.value;
2368
- return Te(() => {
2367
+ let a = xe(si), o = L(null), s = a?.active === i.value;
2368
+ return we(() => {
2369
2369
  let e = o.current, t = a?.fromHeightRef.current;
2370
2370
  if (!s || !e || !a || t === void 0 || (a.fromHeightRef.current = void 0, typeof e.animate != "function" || matchMedia("(prefers-reduced-motion: reduce)").matches)) return;
2371
2371
  let n = a.ghostRef.current;
@@ -2392,14 +2392,14 @@ function Si({ className: e, bodyClassName: t, children: n, ...i }) {
2392
2392
  return i.observe(e), () => {
2393
2393
  i.disconnect();
2394
2394
  };
2395
- }, [s, a]), /* @__PURE__ */ r(T.Content, {
2395
+ }, [s, a]), /* @__PURE__ */ r(E.Content, {
2396
2396
  ref: o,
2397
2397
  "data-slot": "tabs-content",
2398
- 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),
2398
+ className: V("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),
2399
2399
  ...i,
2400
2400
  children: /* @__PURE__ */ r("div", {
2401
2401
  "data-slot": "tabs-content-body",
2402
- 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),
2402
+ className: V("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),
2403
2403
  children: n
2404
2404
  })
2405
2405
  });
@@ -2416,20 +2416,20 @@ function wi({ steps: e, current: t, orientation: n = "horizontal", onStepSelect:
2416
2416
  "data-slot": "stepper",
2417
2417
  "data-orientation": n,
2418
2418
  "aria-label": s,
2419
- className: B("m-0 flex list-none p-0", l ? "flex-col" : "items-start", o),
2419
+ className: V("m-0 flex list-none p-0", l ? "flex-col" : "items-start", o),
2420
2420
  ...c,
2421
2421
  children: e.map((n, o) => {
2422
2422
  let s = o < t ? "done" : o === t ? "current" : "upcoming", c = o === e.length - 1, u = /* @__PURE__ */ r("span", {
2423
2423
  "aria-hidden": "true",
2424
- 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]),
2425
- children: s === "done" ? /* @__PURE__ */ r(k, {
2424
+ className: V("grid size-7 shrink-0 place-items-center rounded-full text-xs font-semibold transition-colors duration-200 motion-reduce:transition-none", Ci[s]),
2425
+ children: s === "done" ? /* @__PURE__ */ r(A, {
2426
2426
  className: "size-3.5",
2427
2427
  strokeWidth: 2.5
2428
2428
  }) : o + 1
2429
2429
  }), d = /* @__PURE__ */ i("span", {
2430
2430
  className: "flex min-w-0 flex-col",
2431
2431
  children: [/* @__PURE__ */ i("span", {
2432
- className: B("text-[13px] font-medium", s === "upcoming" && "text-muted-foreground"),
2432
+ className: V("text-[13px] font-medium", s === "upcoming" && "text-muted-foreground"),
2433
2433
  children: [n.title, s === "done" && /* @__PURE__ */ r("span", {
2434
2434
  className: "sr-only",
2435
2435
  children: ", done"
@@ -2450,10 +2450,10 @@ function wi({ steps: e, current: t, orientation: n = "horizontal", onStepSelect:
2450
2450
  return /* @__PURE__ */ i("li", {
2451
2451
  "data-state": s,
2452
2452
  "aria-current": s === "current" ? "step" : void 0,
2453
- className: B("flex", l ? "flex-col" : "items-center gap-2", !c && !l && "flex-1"),
2453
+ className: V("flex", l ? "flex-col" : "items-center gap-2", !c && !l && "flex-1"),
2454
2454
  children: [f, !c && /* @__PURE__ */ r("span", {
2455
2455
  "aria-hidden": "true",
2456
- 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")
2456
+ 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")
2457
2457
  })]
2458
2458
  }, n.title);
2459
2459
  })
@@ -2467,8 +2467,8 @@ var Ti = {
2467
2467
  };
2468
2468
  // src/ui/presence/presence.component.tsx
2469
2469
  function Ei({ present: e, animation: t = "fade", unmountOnExit: n = !0, className: i, onAnimationEnd: a, ...o }) {
2470
- let [s, c] = L(e), l = I(null);
2471
- return e && !s && c(!0), Te(() => {
2470
+ let [s, c] = R(e), l = L(null);
2471
+ return e && !s && c(!0), we(() => {
2472
2472
  if (e || !s) return;
2473
2473
  let t = l.current;
2474
2474
  t && getComputedStyle(t).animationName !== "none" || c(!1);
@@ -2477,7 +2477,7 @@ function Ei({ present: e, animation: t = "fade", unmountOnExit: n = !0, classNam
2477
2477
  "data-slot": "presence",
2478
2478
  "data-state": e ? "open" : "closed",
2479
2479
  hidden: !e && !s,
2480
- className: B(Ti[t], i),
2480
+ className: V(Ti[t], i),
2481
2481
  onAnimationEnd: (t) => {
2482
2482
  a?.(t), !e && t.target === t.currentTarget && c(!1);
2483
2483
  },
@@ -2490,7 +2490,7 @@ function Di({ selection: e, children: t, countLabel: n = (e) => `${e} selected`,
2490
2490
  role: "toolbar",
2491
2491
  "aria-label": a,
2492
2492
  "data-slot": "bulk-action-bar",
2493
- className: B("sticky top-0 z-10 flex items-center gap-2 rounded-md border bg-background px-3 py-1.5 shadow-sm", c),
2493
+ className: V("sticky top-0 z-10 flex items-center gap-2 rounded-md border bg-background px-3 py-1.5 shadow-sm", c),
2494
2494
  children: [
2495
2495
  /* @__PURE__ */ r("span", {
2496
2496
  className: "text-sm font-medium tabular-nums",
@@ -2500,12 +2500,12 @@ function Di({ selection: e, children: t, countLabel: n = (e) => `${e} selected`,
2500
2500
  className: "flex flex-1 flex-wrap items-center gap-1.5",
2501
2501
  children: t
2502
2502
  }),
2503
- o && /* @__PURE__ */ r(J, {
2503
+ o && /* @__PURE__ */ r(Y, {
2504
2504
  variant: "ghost",
2505
2505
  size: "icon-sm",
2506
2506
  "aria-label": s,
2507
2507
  onClick: e.clear,
2508
- children: /* @__PURE__ */ r(N, {})
2508
+ children: /* @__PURE__ */ r(P, {})
2509
2509
  })
2510
2510
  ]
2511
2511
  });
@@ -2514,8 +2514,8 @@ function Di({ selection: e, children: t, countLabel: n = (e) => `${e} selected`,
2514
2514
  function Oi({ selection: e, filters: t = [], children: n, label: a = "Select all", menuLabel: o = "Selection options", allLabel: s = "All", noneLabel: c = "None", className: l }) {
2515
2515
  return /* @__PURE__ */ i("div", {
2516
2516
  "data-slot": "select-all-checkbox",
2517
- className: B("inline-flex items-center gap-0.5", l),
2518
- children: [/* @__PURE__ */ r(at, {
2517
+ className: V("inline-flex items-center gap-0.5", l),
2518
+ children: [/* @__PURE__ */ r(it, {
2519
2519
  "aria-label": a,
2520
2520
  checked: e.allState,
2521
2521
  onCheckedChange: () => {
@@ -2523,11 +2523,11 @@ function Oi({ selection: e, filters: t = [], children: n, label: a = "Select all
2523
2523
  }
2524
2524
  }), /* @__PURE__ */ i(Fn, { children: [/* @__PURE__ */ r(In, {
2525
2525
  asChild: !0,
2526
- children: /* @__PURE__ */ r(J, {
2526
+ children: /* @__PURE__ */ r(Y, {
2527
2527
  variant: "ghost",
2528
2528
  size: "icon-sm",
2529
2529
  "aria-label": o,
2530
- children: /* @__PURE__ */ r(A, {})
2530
+ children: /* @__PURE__ */ r(j, {})
2531
2531
  })
2532
2532
  }), /* @__PURE__ */ i(zn, {
2533
2533
  align: "start",
@@ -2554,7 +2554,7 @@ function Oi({ selection: e, filters: t = [], children: n, label: a = "Select all
2554
2554
  function ki({ selection: e, actions: t, filters: n, summary: a, countLabel: o, className: s }) {
2555
2555
  return /* @__PURE__ */ i("div", {
2556
2556
  "data-slot": "selection-header",
2557
- className: B("sticky top-0 z-10 flex min-h-11 items-center gap-2 border-b bg-background px-3", s),
2557
+ className: V("sticky top-0 z-10 flex min-h-11 items-center gap-2 border-b bg-background px-3", s),
2558
2558
  children: [/* @__PURE__ */ r(Oi, {
2559
2559
  selection: e,
2560
2560
  filters: n
@@ -2571,9 +2571,9 @@ function ki({ selection: e, actions: t, filters: n, summary: a, countLabel: o, c
2571
2571
  });
2572
2572
  }
2573
2573
  // src/ui/selectable-list/selectable-list.component.tsx
2574
- var Ai = be(null), ji = "[data-slot=\"selectable-row\"]";
2574
+ var Ai = ye(null), ji = "[data-slot=\"selectable-row\"]";
2575
2575
  function Mi({ selection: e, className: t, children: n, ...i }) {
2576
- let a = I(null), [o, s] = L(), c = o !== void 0 && e.ids.includes(o) ? o : e.ids[0];
2576
+ let a = L(null), [o, s] = R(), c = o !== void 0 && e.ids.includes(o) ? o : e.ids[0];
2577
2577
  function l(t) {
2578
2578
  let n = t.target;
2579
2579
  if ((t.ctrlKey || t.metaKey) && t.key.toLowerCase() === "a") {
@@ -2605,7 +2605,7 @@ function Mi({ selection: e, className: t, children: n, ...i }) {
2605
2605
  ref: a,
2606
2606
  "data-slot": "selectable-list",
2607
2607
  "data-selecting": e.count > 0 || void 0,
2608
- className: B("flex flex-col", t),
2608
+ className: V("flex flex-col", t),
2609
2609
  onKeyDown: l,
2610
2610
  ...i,
2611
2611
  children: n
@@ -2613,7 +2613,7 @@ function Mi({ selection: e, className: t, children: n, ...i }) {
2613
2613
  });
2614
2614
  }
2615
2615
  function Ni({ id: e, label: t, className: n, children: a, onClickCapture: o, onFocus: s, ...c }) {
2616
- let l = Se(Ai);
2616
+ let l = xe(Ai);
2617
2617
  if (!l) throw Error("SelectableRow must be inside a SelectableList.");
2618
2618
  let { selection: u, activeId: d, setActive: f } = l, p = u.isSelected(e);
2619
2619
  function m(t) {
@@ -2627,13 +2627,13 @@ function Ni({ id: e, label: t, className: n, children: a, onClickCapture: o, onF
2627
2627
  "data-id": e,
2628
2628
  "data-state": p ? "selected" : void 0,
2629
2629
  tabIndex: d === e ? 0 : -1,
2630
- className: B("flex items-center gap-3 border-b px-3 py-2.5 outline-none transition-colors hover:bg-muted/60", "focus-visible:shadow-[inset_3px_0_0_var(--brand)] focus-visible:bg-foreground/6 data-[state=selected]:bg-muted data-[state=selected]:focus-visible:bg-foreground/10", u.count > 0 && "cursor-pointer", n),
2630
+ className: V("flex items-center gap-3 border-b px-3 py-2.5 outline-none transition-colors hover:bg-muted/60", "focus-visible:shadow-[inset_3px_0_0_var(--brand)] focus-visible:bg-foreground/6 data-[state=selected]:bg-muted data-[state=selected]:focus-visible:bg-foreground/10", u.count > 0 && "cursor-pointer", n),
2631
2631
  onClickCapture: h,
2632
2632
  onFocus: (t) => {
2633
2633
  f(e), s?.(t);
2634
2634
  },
2635
2635
  ...c,
2636
- children: [/* @__PURE__ */ r(at, {
2636
+ children: [/* @__PURE__ */ r(it, {
2637
2637
  "aria-label": t,
2638
2638
  checked: p,
2639
2639
  tabIndex: -1,
@@ -2646,16 +2646,16 @@ function Ni({ id: e, label: t, className: n, children: a, onClickCapture: o, onF
2646
2646
  }
2647
2647
  // src/ui/selectable-list/selection.hook.ts
2648
2648
  function Pi(e, t = {}) {
2649
- 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 } = {}) => {
2649
+ 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 } = {}) => {
2650
2650
  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);
2651
2651
  i.current = t, r((e) => {
2652
2652
  let t = new Set(e);
2653
2653
  for (let e of l) o ? t.add(e) : t.delete(e);
2654
2654
  return t;
2655
2655
  });
2656
- }, [e, a]), u = P((e) => {
2656
+ }, [e, a]), u = F((e) => {
2657
2657
  r((t) => /* @__PURE__ */ new Set([...t, ...e]));
2658
- }, []), d = P((e) => {
2658
+ }, []), d = F((e) => {
2659
2659
  i.current = void 0, r(new Set(e));
2660
2660
  }, []);
2661
2661
  return {
@@ -2667,14 +2667,14 @@ function Pi(e, t = {}) {
2667
2667
  toggle: l,
2668
2668
  add: u,
2669
2669
  set: d,
2670
- selectAll: P(() => d(e), [e, d]),
2671
- clear: P(() => d([]), [d])
2670
+ selectAll: F(() => d(e), [e, d]),
2671
+ clear: F(() => d([]), [d])
2672
2672
  };
2673
2673
  }
2674
2674
  // src/ui/sidebar/sidebar-context.hook.ts
2675
- var Fi = be(null);
2675
+ var Fi = ye(null);
2676
2676
  function Z() {
2677
- let e = Ce(Fi);
2677
+ let e = Se(Fi);
2678
2678
  if (!e) throw Error("A sidebar part must be inside a Sidebar.");
2679
2679
  return e;
2680
2680
  }
@@ -2690,7 +2690,7 @@ var Q = "min-w-0 truncate whitespace-nowrap transition-[translate,opacity] durat
2690
2690
  }
2691
2691
  };
2692
2692
  function zi({ label: e, variant: t = "panel", side: n = "start", collapsed: a, defaultCollapsed: o = !1, onCollapsedChange: s, className: c, children: l, ...u }) {
2693
- let [d, f] = L(o), p = a ?? d;
2693
+ let [d, f] = R(o), p = a ?? d;
2694
2694
  function m(e) {
2695
2695
  a === void 0 && f(e), s?.(e);
2696
2696
  }
@@ -2707,7 +2707,7 @@ function zi({ label: e, variant: t = "panel", side: n = "start", collapsed: a, d
2707
2707
  "data-variant": t,
2708
2708
  "data-collapsed": p || void 0,
2709
2709
  "aria-label": e,
2710
- 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 ? Ri[t].collapsed : Ri[t].open, c),
2710
+ 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 ? Ri[t].collapsed : Ri[t].open, c),
2711
2711
  ...u,
2712
2712
  children: [l, t === "panel" && /* @__PURE__ */ r("span", {
2713
2713
  "aria-hidden": "true",
@@ -2718,7 +2718,7 @@ function zi({ label: e, variant: t = "panel", side: n = "start", collapsed: a, d
2718
2718
  });
2719
2719
  }
2720
2720
  function Bi({ label: e, children: t }) {
2721
- let { collapsed: n, side: a } = Z(), [o, s] = L(!1);
2721
+ let { collapsed: n, side: a } = Z(), [o, s] = R(!1);
2722
2722
  return /* @__PURE__ */ i(pn, {
2723
2723
  open: n && o,
2724
2724
  onOpenChange: s,
@@ -2740,9 +2740,9 @@ function Vi({ className: e, ...t }) {
2740
2740
  "aria-label": l,
2741
2741
  "aria-expanded": !n,
2742
2742
  onClick: () => a(!n),
2743
- className: B(Li, e),
2743
+ className: V(Li, e),
2744
2744
  ...t,
2745
- children: [/* @__PURE__ */ r(de, { "aria-hidden": "true" }), /* @__PURE__ */ r("span", {
2745
+ children: [/* @__PURE__ */ r(ue, { "aria-hidden": "true" }), /* @__PURE__ */ r("span", {
2746
2746
  "aria-hidden": "true",
2747
2747
  className: Q,
2748
2748
  children: "Collapse"
@@ -2750,29 +2750,29 @@ function Vi({ className: e, ...t }) {
2750
2750
  })
2751
2751
  });
2752
2752
  let u = s === "start" !== n;
2753
- return /* @__PURE__ */ r(J, {
2753
+ return /* @__PURE__ */ r(Y, {
2754
2754
  variant: "ghost",
2755
2755
  size: "icon-sm",
2756
2756
  "aria-label": l,
2757
2757
  "aria-expanded": !n,
2758
2758
  title: l,
2759
2759
  onClick: () => a(!n),
2760
- className: B("shrink-0 text-muted-foreground", e),
2760
+ className: V("shrink-0 text-muted-foreground", e),
2761
2761
  ...t,
2762
- children: r(u ? ie : ae, {})
2762
+ children: r(u ? re : ie, {})
2763
2763
  });
2764
2764
  }
2765
2765
  function Hi({ query: e = "", onQueryChange: t, searchLabel: n, children: a, className: o }) {
2766
2766
  let { collapsed: s, label: c, variant: l } = Z();
2767
2767
  if (l === "nav") return /* @__PURE__ */ r("div", {
2768
2768
  "data-slot": "sidebar-header",
2769
- className: B("flex h-8 items-center", o),
2769
+ className: V("flex h-8 items-center", o),
2770
2770
  children: a
2771
2771
  });
2772
2772
  let u = n ?? `Search ${c.toLowerCase()}`;
2773
2773
  return /* @__PURE__ */ i("div", {
2774
2774
  "data-slot": "sidebar-header",
2775
- className: B("flex items-center gap-1", o),
2775
+ className: V("flex items-center gap-1", o),
2776
2776
  children: [/* @__PURE__ */ i("div", {
2777
2777
  inert: s,
2778
2778
  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",
@@ -2782,13 +2782,13 @@ function Hi({ query: e = "", onQueryChange: t, searchLabel: n, children: a, clas
2782
2782
  onChange: (e) => t(e.target.value),
2783
2783
  placeholder: u,
2784
2784
  "aria-label": u,
2785
- startIcon: /* @__PURE__ */ r(he, {})
2785
+ startIcon: /* @__PURE__ */ r(me, {})
2786
2786
  }), a]
2787
2787
  }), /* @__PURE__ */ r(Vi, { className: "ms-auto" })]
2788
2788
  });
2789
2789
  }
2790
2790
  function Ui({ className: e, ...t }) {
2791
- 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);
2791
+ 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);
2792
2792
  return i === "nav" ? /* @__PURE__ */ r("nav", {
2793
2793
  "data-slot": "sidebar-content",
2794
2794
  "aria-label": n,
@@ -2805,7 +2805,7 @@ function Wi({ className: e, children: t, ...n }) {
2805
2805
  return /* @__PURE__ */ r("div", {
2806
2806
  "data-slot": "sidebar-note",
2807
2807
  "aria-hidden": i || void 0,
2808
- className: B(Ii, e),
2808
+ className: V(Ii, e),
2809
2809
  ...n,
2810
2810
  children: /* @__PURE__ */ r("span", {
2811
2811
  className: "min-h-0 truncate overflow-hidden px-3 text-xs whitespace-nowrap text-muted-foreground",
@@ -2817,24 +2817,24 @@ function Gi({ className: e, ...t }) {
2817
2817
  let { collapsed: n, variant: i } = Z();
2818
2818
  return i === "panel" && n ? null : /* @__PURE__ */ r("div", {
2819
2819
  "data-slot": "sidebar-footer",
2820
- className: B("mt-auto flex flex-col gap-2", i === "nav" && "border-t border-sidebar-border pt-3", e),
2820
+ className: V("mt-auto flex flex-col gap-2", i === "nav" && "border-t border-sidebar-border pt-3", e),
2821
2821
  ...t
2822
2822
  });
2823
2823
  }
2824
2824
  // src/ui/sidebar/sidebar-group.component.tsx
2825
2825
  function Ki({ title: e, count: t, forceOpen: n = !1, defaultOpen: a = !0, collapsible: o, className: s, children: c }) {
2826
- 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";
2826
+ 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";
2827
2827
  return m ? /* @__PURE__ */ i(l.Root, {
2828
2828
  "data-slot": "sidebar-group",
2829
2829
  open: n || u || f,
2830
2830
  onOpenChange: p,
2831
- className: B("flex flex-col gap-1", s),
2831
+ className: V("flex flex-col gap-1", s),
2832
2832
  children: [/* @__PURE__ */ i(l.Trigger, {
2833
2833
  disabled: n,
2834
2834
  inert: u,
2835
- 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"),
2835
+ 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"),
2836
2836
  children: [
2837
- /* @__PURE__ */ r(re, {
2837
+ /* @__PURE__ */ r(ne, {
2838
2838
  "aria-hidden": "true",
2839
2839
  className: "size-3.5 shrink-0 text-muted-foreground transition-transform duration-150 group-data-[state=open]/trigger:rotate-90 motion-reduce:transition-none"
2840
2840
  }),
@@ -2857,10 +2857,10 @@ function Ki({ title: e, count: t, forceOpen: n = !1, defaultOpen: a = !0, collap
2857
2857
  role: "group",
2858
2858
  "aria-label": e,
2859
2859
  "data-slot": "sidebar-group",
2860
- className: B("flex flex-col gap-0.5", s),
2860
+ className: V("flex flex-col gap-0.5", s),
2861
2861
  children: [/* @__PURE__ */ r("span", {
2862
2862
  "aria-hidden": "true",
2863
- className: B("flex h-6 items-center px-3", h, Q),
2863
+ className: V("flex h-6 items-center px-3", h, Q),
2864
2864
  children: e
2865
2865
  }), c]
2866
2866
  });
@@ -2878,7 +2878,7 @@ function qi({ title: e, meta: t, icon: a, hue: o, color: s = "var(--muted-foregr
2878
2878
  children: e
2879
2879
  }),
2880
2880
  c !== void 0 && /* @__PURE__ */ r("span", {
2881
- className: B("ms-auto rounded-full bg-secondary px-1.5 text-xs text-secondary-foreground tabular-nums", Q),
2881
+ className: V("ms-auto rounded-full bg-secondary px-1.5 text-xs text-secondary-foreground tabular-nums", Q),
2882
2882
  children: c
2883
2883
  })
2884
2884
  ] }) : /* @__PURE__ */ i(n, { children: [
@@ -2888,11 +2888,11 @@ function qi({ title: e, meta: t, icon: a, hue: o, color: s = "var(--muted-foregr
2888
2888
  children: a
2889
2889
  }) : /* @__PURE__ */ r("span", {
2890
2890
  "aria-hidden": "true",
2891
- className: B("h-6 w-2.5 shrink-0 rounded-[3px]", o ? W[o] : ""),
2891
+ className: V("h-6 w-2.5 shrink-0 rounded-[3px]", o ? G[o] : ""),
2892
2892
  style: o ? void 0 : { background: s }
2893
2893
  }),
2894
2894
  /* @__PURE__ */ i("span", {
2895
- className: B("flex flex-col", Q),
2895
+ className: V("flex flex-col", Q),
2896
2896
  children: [/* @__PURE__ */ r("span", {
2897
2897
  className: "truncate text-[13px] font-medium",
2898
2898
  children: e
@@ -2902,15 +2902,15 @@ function qi({ title: e, meta: t, icon: a, hue: o, color: s = "var(--muted-foregr
2902
2902
  })]
2903
2903
  }),
2904
2904
  c !== void 0 && /* @__PURE__ */ r("span", {
2905
- className: B("ms-auto text-[11px] text-muted-foreground tabular-nums", Q),
2905
+ className: V("ms-auto text-[11px] text-muted-foreground tabular-nums", Q),
2906
2906
  children: c
2907
2907
  })
2908
- ] }), v = h === "nav" ? B(Li, 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 = {
2908
+ ] }), v = h === "nav" ? V(Li, 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 = {
2909
2909
  "data-slot": "sidebar-item",
2910
2910
  "aria-current": g,
2911
2911
  "aria-label": m ? e : void 0,
2912
2912
  className: v
2913
- }, b = u && xe(f) ? /* @__PURE__ */ r(C.Root, {
2913
+ }, b = u && be(f) ? /* @__PURE__ */ r(w.Root, {
2914
2914
  ...y,
2915
2915
  ...p,
2916
2916
  children: Ji(f, _)
@@ -2926,7 +2926,7 @@ function qi({ title: e, meta: t, icon: a, hue: o, color: s = "var(--muted-foregr
2926
2926
  });
2927
2927
  }
2928
2928
  function Ji(e, t) {
2929
- return ye(e, void 0, t);
2929
+ return ve(e, void 0, t);
2930
2930
  }
2931
2931
  // src/ui/sidebar/sidebar-sheet.component.tsx
2932
2932
  function Yi({ label: e, children: t, side: n = "start", open: a, onOpenChange: o, className: s }) {
@@ -2935,12 +2935,12 @@ function Yi({ label: e, children: t, side: n = "start", open: a, onOpenChange: o
2935
2935
  onOpenChange: o,
2936
2936
  children: [/* @__PURE__ */ r(on, {
2937
2937
  asChild: !0,
2938
- children: /* @__PURE__ */ r(J, {
2938
+ children: /* @__PURE__ */ r(Y, {
2939
2939
  variant: "ghost",
2940
2940
  size: "icon",
2941
2941
  "aria-label": `Show ${e.toLowerCase()}`,
2942
2942
  className: s,
2943
- children: /* @__PURE__ */ r(de, {})
2943
+ children: /* @__PURE__ */ r(ue, {})
2944
2944
  })
2945
2945
  }), /* @__PURE__ */ i(dn, {
2946
2946
  "data-slot": "sidebar-sheet",
@@ -2954,15 +2954,15 @@ function Yi({ label: e, children: t, side: n = "start", open: a, onOpenChange: o
2954
2954
  });
2955
2955
  }
2956
2956
  // src/product/product-switcher.component.tsx
2957
- function Xi({ product: e, workspace: t, products: n = qe, onProductChange: a, className: o }) {
2957
+ function Xi({ product: e, workspace: t, products: n = Ke, onProductChange: a, className: o }) {
2958
2958
  return /* @__PURE__ */ i(Fn, { children: [/* @__PURE__ */ r(In, {
2959
2959
  asChild: !0,
2960
- children: /* @__PURE__ */ i(J, {
2960
+ children: /* @__PURE__ */ i(Y, {
2961
2961
  variant: "ghost",
2962
- className: B("h-12 w-full justify-start gap-2.5 px-2", o),
2963
- "aria-label": `${V[e].name}, switch product`,
2962
+ className: V("h-12 w-full justify-start gap-2.5 px-2", o),
2963
+ "aria-label": `${H[e].name}, switch product`,
2964
2964
  children: [
2965
- /* @__PURE__ */ r(H, {
2965
+ /* @__PURE__ */ r(U, {
2966
2966
  product: e,
2967
2967
  alt: "",
2968
2968
  className: "size-7"
@@ -2971,13 +2971,13 @@ function Xi({ product: e, workspace: t, products: n = qe, onProductChange: a, cl
2971
2971
  className: "flex min-w-0 flex-col items-start leading-tight",
2972
2972
  children: [/* @__PURE__ */ r("span", {
2973
2973
  className: "font-display text-[17px] font-extrabold italic text-brand-text",
2974
- children: V[e].name
2974
+ children: H[e].name
2975
2975
  }), t && /* @__PURE__ */ r("span", {
2976
2976
  className: "truncate text-xs font-normal text-muted-foreground",
2977
2977
  children: t
2978
2978
  })]
2979
2979
  }),
2980
- /* @__PURE__ */ r(oe, {
2980
+ /* @__PURE__ */ r(ae, {
2981
2981
  className: "ms-auto text-muted-foreground",
2982
2982
  "aria-hidden": "true"
2983
2983
  })
@@ -2991,21 +2991,21 @@ function Xi({ product: e, workspace: t, products: n = qe, onProductChange: a, cl
2991
2991
  onValueChange: (e) => a?.(e),
2992
2992
  children: n.map((e) => /* @__PURE__ */ i(Vn, {
2993
2993
  value: e,
2994
- children: [/* @__PURE__ */ r(H, {
2994
+ children: [/* @__PURE__ */ r(U, {
2995
2995
  product: e,
2996
2996
  alt: "",
2997
2997
  className: "size-4"
2998
- }), V[e].name]
2998
+ }), H[e].name]
2999
2999
  }, e))
3000
3000
  })]
3001
3001
  })] });
3002
3002
  }
3003
3003
  // src/product/sidebar-brand.component.tsx
3004
3004
  function Zi({ product: e, badge: t, className: n }) {
3005
- let { collapsed: a, setCollapsed: o } = Z(), s = V[e].name;
3005
+ let { collapsed: a, setCollapsed: o } = Z(), s = H[e].name;
3006
3006
  return /* @__PURE__ */ i("div", {
3007
3007
  "data-slot": "sidebar-brand",
3008
- className: B("flex h-8 items-center", n),
3008
+ className: V("flex h-8 items-center", n),
3009
3009
  children: [
3010
3010
  /* @__PURE__ */ r("button", {
3011
3011
  type: "button",
@@ -3013,18 +3013,18 @@ function Zi({ product: e, badge: t, className: n }) {
3013
3013
  "aria-expanded": !a,
3014
3014
  onClick: () => o(!a),
3015
3015
  className: "grid size-10 shrink-0 cursor-pointer place-items-center rounded-md outline-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",
3016
- children: /* @__PURE__ */ r(H, {
3016
+ children: /* @__PURE__ */ r(U, {
3017
3017
  product: e,
3018
3018
  alt: "",
3019
- className: B("size-6 transition-transform duration-300 ease-emphasised motion-reduce:transition-none", a && "rotate-120")
3019
+ className: V("size-6 transition-transform duration-300 ease-emphasised motion-reduce:transition-none", a && "rotate-120")
3020
3020
  })
3021
3021
  }),
3022
3022
  /* @__PURE__ */ r("span", {
3023
- className: B("ms-1 font-display text-lg font-extrabold text-brand-text italic", Q),
3023
+ className: V("ms-1 font-display text-lg font-extrabold text-brand-text italic", Q),
3024
3024
  children: s
3025
3025
  }),
3026
3026
  t && /* @__PURE__ */ r("span", {
3027
- className: B("ms-2 rounded-full bg-warning-soft px-2 text-xs font-medium text-warning", Q),
3027
+ className: V("ms-2 rounded-full bg-warning-soft px-2 text-xs font-medium text-warning", Q),
3028
3028
  children: t
3029
3029
  })
3030
3030
  ]
@@ -3032,7 +3032,7 @@ function Zi({ product: e, badge: t, className: n }) {
3032
3032
  }
3033
3033
  // src/app/command-shortcut.hook.ts
3034
3034
  function Qi(e, t = !0) {
3035
- F(() => {
3035
+ I(() => {
3036
3036
  if (!t) return;
3037
3037
  function n(t) {
3038
3038
  t.key.toLowerCase() === "k" && (t.metaKey || t.ctrlKey) && (t.preventDefault(), e());
@@ -3054,14 +3054,14 @@ function ra() {
3054
3054
  return "";
3055
3055
  }
3056
3056
  function ia() {
3057
- return $i(De(ta, na, ra));
3057
+ return $i(Ee(ta, na, ra));
3058
3058
  }
3059
3059
  // src/app/app-shell.component.tsx
3060
3060
  var aa = "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";
3061
3061
  function oa({ children: e, className: t }) {
3062
3062
  return /* @__PURE__ */ r("div", {
3063
3063
  "data-slot": "app-shell-header",
3064
- className: B("shrink-0 border-b px-6 py-4", t),
3064
+ className: V("shrink-0 border-b px-6 py-4", t),
3065
3065
  children: e
3066
3066
  });
3067
3067
  }
@@ -3069,14 +3069,14 @@ var sa = "flex min-h-0 flex-1 flex-col gap-5 overflow-y-auto p-6 [scrollbar-gutt
3069
3069
  function ca({ children: e, className: t }) {
3070
3070
  return /* @__PURE__ */ r("div", {
3071
3071
  "data-slot": "app-shell-body",
3072
- className: B(sa, t),
3072
+ className: V(sa, t),
3073
3073
  children: e
3074
3074
  });
3075
3075
  }
3076
- function la({ 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: _ }) {
3077
- let [v, y] = L(!1), b = P(() => y(!0), []);
3078
- Qi(b, !!h?.length);
3079
- let x = ia(), ee = [...new Set(h?.map((e) => e.group))], S = (e) => /* @__PURE__ */ r(qi, {
3076
+ function la({ 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, commandPlaceholder: g = "Type a command or search…", commandEmpty: _ = "No results.", children: v, className: y }) {
3077
+ let [b, x] = R(!1), S = F(() => x(!0), []);
3078
+ Qi(S, !!h?.length);
3079
+ let C = ia(), w = [...new Set(h?.map((e) => e.group))], T = (e) => /* @__PURE__ */ r(qi, {
3080
3080
  asChild: !0,
3081
3081
  title: e.label,
3082
3082
  icon: e.icon,
@@ -3086,7 +3086,7 @@ function la({ product: e, brand: t = "switcher", workspace: a, onProductChange:
3086
3086
  href: e.href,
3087
3087
  children: e.label
3088
3088
  })
3089
- }, e.href), C = /* @__PURE__ */ i(n, { children: [
3089
+ }, e.href), E = /* @__PURE__ */ i(n, { children: [
3090
3090
  /* @__PURE__ */ r(Hi, {
3091
3091
  className: "h-12",
3092
3092
  children: t === "logo" ? /* @__PURE__ */ r(Zi, { product: e }) : /* @__PURE__ */ r(Xi, {
@@ -3099,20 +3099,20 @@ function la({ product: e, brand: t = "switcher", workspace: a, onProductChange:
3099
3099
  /* @__PURE__ */ i(Ui, { children: [
3100
3100
  h?.length ? /* @__PURE__ */ r(qi, {
3101
3101
  title: "Search",
3102
- icon: /* @__PURE__ */ r(he, {}),
3102
+ icon: /* @__PURE__ */ r(me, {}),
3103
3103
  badge: /* @__PURE__ */ r(wr, {
3104
3104
  className: "border-0 bg-transparent",
3105
- children: x
3105
+ children: C
3106
3106
  }),
3107
- onClick: b
3107
+ onClick: S
3108
3108
  }) : null,
3109
3109
  /* @__PURE__ */ r("div", {
3110
3110
  className: "flex flex-col gap-0.5",
3111
- children: s.map((e) => S(e))
3111
+ children: s.map((e) => T(e))
3112
3112
  }),
3113
3113
  c && /* @__PURE__ */ r(Ki, {
3114
3114
  title: c.title,
3115
- children: c.items.map((e) => S(e))
3115
+ children: c.items.map((e) => T(e))
3116
3116
  })
3117
3117
  ] }),
3118
3118
  /* @__PURE__ */ i(Gi, { children: [
@@ -3122,8 +3122,8 @@ function la({ product: e, brand: t = "switcher", workspace: a, onProductChange:
3122
3122
  }),
3123
3123
  d && /* @__PURE__ */ i("div", {
3124
3124
  className: "flex items-center gap-2.5 px-1",
3125
- children: [/* @__PURE__ */ r(et, { children: /* @__PURE__ */ r(nt, { children: d.initials }) }), /* @__PURE__ */ i("span", {
3126
- className: B("flex flex-col leading-tight", Q),
3125
+ children: [/* @__PURE__ */ r($e, { children: /* @__PURE__ */ r(tt, { children: d.initials }) }), /* @__PURE__ */ i("span", {
3126
+ className: V("flex flex-col leading-tight", Q),
3127
3127
  children: [/* @__PURE__ */ r("span", {
3128
3128
  className: "text-[13px] font-semibold",
3129
3129
  children: d.name
@@ -3139,20 +3139,20 @@ function la({ product: e, brand: t = "switcher", workspace: a, onProductChange:
3139
3139
  ] });
3140
3140
  return /* @__PURE__ */ i("div", {
3141
3141
  "data-slot": "app-shell",
3142
- className: B("flex h-dvh overflow-hidden bg-background", _),
3142
+ className: V("flex h-dvh overflow-hidden bg-background", y),
3143
3143
  children: [
3144
3144
  /* @__PURE__ */ r(zi, {
3145
3145
  variant: "nav",
3146
3146
  label: "Workspace",
3147
3147
  className: "h-dvh max-md:hidden",
3148
- children: C
3148
+ children: E
3149
3149
  }),
3150
3150
  /* @__PURE__ */ i("div", {
3151
3151
  className: "relative flex min-h-0 min-w-0 flex-1 flex-col",
3152
3152
  children: [
3153
3153
  /* @__PURE__ */ i("div", {
3154
3154
  "data-slot": "app-top-bar",
3155
- className: B("flex h-14 shrink-0 flex-wrap items-center gap-3 border-b px-6", !f && !p && "md:hidden"),
3155
+ className: V("flex h-14 shrink-0 flex-wrap items-center gap-3 border-b px-6", !f && !p && "md:hidden"),
3156
3156
  children: [
3157
3157
  /* @__PURE__ */ r(Yi, {
3158
3158
  label: "Workspace",
@@ -3162,7 +3162,7 @@ function la({ product: e, brand: t = "switcher", workspace: a, onProductChange:
3162
3162
  label: "Workspace",
3163
3163
  collapsed: !1,
3164
3164
  className: "w-full",
3165
- children: C
3165
+ children: E
3166
3166
  })
3167
3167
  }),
3168
3168
  f,
@@ -3175,7 +3175,7 @@ function la({ product: e, brand: t = "switcher", workspace: a, onProductChange:
3175
3175
  /* @__PURE__ */ r("main", {
3176
3176
  "data-slot": "app-shell-page",
3177
3177
  className: aa,
3178
- children: g
3178
+ children: v
3179
3179
  }),
3180
3180
  m && /* @__PURE__ */ r("footer", {
3181
3181
  "data-slot": "app-status-bar",
@@ -3186,13 +3186,13 @@ function la({ product: e, brand: t = "switcher", workspace: a, onProductChange:
3186
3186
  ]
3187
3187
  }),
3188
3188
  h?.length ? /* @__PURE__ */ i(xn, {
3189
- open: v,
3190
- onOpenChange: y,
3191
- children: [/* @__PURE__ */ r(Sn, { placeholder: "Search recipes, runs and settings" }), /* @__PURE__ */ i(Cn, { children: [/* @__PURE__ */ r(wn, { children: "No results." }), ee.map((e) => /* @__PURE__ */ r(Tn, {
3189
+ open: b,
3190
+ onOpenChange: x,
3191
+ children: [/* @__PURE__ */ r(Sn, { placeholder: g }), /* @__PURE__ */ i(Cn, { children: [/* @__PURE__ */ r(wn, { children: _ }), w.map((e) => /* @__PURE__ */ r(Tn, {
3192
3192
  heading: e,
3193
3193
  children: h.filter((t) => t.group === e).map((e) => /* @__PURE__ */ r(En, {
3194
3194
  onSelect: () => {
3195
- y(!1), e.onSelect();
3195
+ x(!1), e.onSelect();
3196
3196
  },
3197
3197
  children: e.label
3198
3198
  }, e.label))
@@ -3206,7 +3206,7 @@ function ua({ query: e, onQueryChange: t, searchLabel: n = "Search", filters: a,
3206
3206
  return /* @__PURE__ */ i("div", {
3207
3207
  "data-slot": "filter-bar",
3208
3208
  role: "search",
3209
- className: B("flex flex-wrap items-center gap-2 border-b p-3", s),
3209
+ className: V("flex flex-wrap items-center gap-2 border-b p-3", s),
3210
3210
  children: [
3211
3211
  /* @__PURE__ */ r("div", {
3212
3212
  className: "max-w-80 flex-[1_1_220px]",
@@ -3216,7 +3216,7 @@ function ua({ query: e, onQueryChange: t, searchLabel: n = "Search", filters: a,
3216
3216
  onChange: (e) => t(e.target.value),
3217
3217
  placeholder: n,
3218
3218
  "aria-label": n,
3219
- startIcon: /* @__PURE__ */ r(he, {})
3219
+ startIcon: /* @__PURE__ */ r(me, {})
3220
3220
  })
3221
3221
  }),
3222
3222
  a,
@@ -3228,15 +3228,15 @@ function ua({ query: e, onQueryChange: t, searchLabel: n = "Search", filters: a,
3228
3228
  });
3229
3229
  }
3230
3230
  function da({ label: e, count: t = 0, icon: n, className: a, ...o }) {
3231
- return /* @__PURE__ */ i(J, {
3231
+ return /* @__PURE__ */ i(Y, {
3232
3232
  variant: "outline",
3233
3233
  size: "sm",
3234
- className: B("border-dashed", a),
3234
+ className: V("border-dashed", a),
3235
3235
  ...o,
3236
3236
  children: [
3237
- n ?? /* @__PURE__ */ r(me, {}),
3237
+ n ?? /* @__PURE__ */ r(pe, {}),
3238
3238
  e,
3239
- t > 0 && /* @__PURE__ */ r(K, {
3239
+ t > 0 && /* @__PURE__ */ r(q, {
3240
3240
  variant: "brand",
3241
3241
  className: "h-[18px]",
3242
3242
  "aria-label": `${t} selected`,
@@ -3249,7 +3249,7 @@ function da({ label: e, count: t = 0, icon: n, className: a, ...o }) {
3249
3249
  function fa({ title: e, description: t, children: n, actions: a, className: o }) {
3250
3250
  return /* @__PURE__ */ i("section", {
3251
3251
  "data-slot": "form-section",
3252
- className: B("grid gap-6 md:grid-cols-[minmax(0,1fr)_minmax(0,2fr)]", o),
3252
+ className: V("grid gap-6 md:grid-cols-[minmax(0,1fr)_minmax(0,2fr)]", o),
3253
3253
  children: [/* @__PURE__ */ i("div", {
3254
3254
  className: "flex flex-col gap-1",
3255
3255
  children: [/* @__PURE__ */ r("h2", {
@@ -3275,7 +3275,7 @@ function fa({ title: e, description: t, children: n, actions: a, className: o })
3275
3275
  function pa({ title: e, description: t, actions: n, tabs: a, className: o }) {
3276
3276
  return /* @__PURE__ */ i("div", {
3277
3277
  "data-slot": "page-header",
3278
- className: B("flex flex-col gap-4", o),
3278
+ className: V("flex flex-col gap-4", o),
3279
3279
  children: [/* @__PURE__ */ i("div", {
3280
3280
  className: "flex flex-wrap items-end gap-4",
3281
3281
  children: [/* @__PURE__ */ i("div", {
@@ -3309,20 +3309,20 @@ function ma({ rows: e, columns: t, getRowId: n, selected: a, onSelectedChange: o
3309
3309
  return /* @__PURE__ */ i(jr, {
3310
3310
  "data-slot": "records-table",
3311
3311
  "aria-label": c,
3312
- className: B("min-w-[760px]", l),
3312
+ className: V("min-w-[760px]", l),
3313
3313
  children: [/* @__PURE__ */ r(Mr, { children: /* @__PURE__ */ i(Pr, {
3314
3314
  className: "hover:bg-transparent",
3315
3315
  children: [
3316
3316
  u && /* @__PURE__ */ r(Fr, {
3317
3317
  className: "w-9",
3318
- children: /* @__PURE__ */ r(at, {
3318
+ children: /* @__PURE__ */ r(it, {
3319
3319
  "aria-label": "Select all rows",
3320
3320
  checked: p,
3321
3321
  onCheckedChange: (e) => h(e === !0)
3322
3322
  })
3323
3323
  }),
3324
3324
  t.map((e) => /* @__PURE__ */ r(Fr, {
3325
- className: B(e.align === "end" && "text-end", e.className),
3325
+ className: V(e.align === "end" && "text-end", e.className),
3326
3326
  children: e.header
3327
3327
  }, e.key)),
3328
3328
  s && /* @__PURE__ */ r(Fr, {
@@ -3338,22 +3338,22 @@ function ma({ rows: e, columns: t, getRowId: n, selected: a, onSelectedChange: o
3338
3338
  return /* @__PURE__ */ i(Pr, {
3339
3339
  "data-state": c ? "selected" : void 0,
3340
3340
  children: [
3341
- u && /* @__PURE__ */ r(Ir, { children: /* @__PURE__ */ r(at, {
3341
+ u && /* @__PURE__ */ r(Ir, { children: /* @__PURE__ */ r(it, {
3342
3342
  "aria-label": `Select ${o}`,
3343
3343
  checked: c,
3344
3344
  onCheckedChange: (e) => m(o, e === !0)
3345
3345
  }) }),
3346
3346
  t.map((t) => /* @__PURE__ */ r(Ir, {
3347
- className: B(t.align === "end" && "text-end tabular-nums", t.className),
3347
+ className: V(t.align === "end" && "text-end tabular-nums", t.className),
3348
3348
  children: t.cell(e)
3349
3349
  }, t.key)),
3350
3350
  s && /* @__PURE__ */ r(Ir, { children: /* @__PURE__ */ i(Fn, { children: [/* @__PURE__ */ r(In, {
3351
3351
  asChild: !0,
3352
- children: /* @__PURE__ */ r(J, {
3352
+ children: /* @__PURE__ */ r(Y, {
3353
3353
  variant: "ghost",
3354
3354
  size: "icon-sm",
3355
3355
  "aria-label": `Actions for ${o}`,
3356
- children: /* @__PURE__ */ r(ce, {})
3356
+ children: /* @__PURE__ */ r(se, {})
3357
3357
  })
3358
3358
  }), /* @__PURE__ */ r(zn, {
3359
3359
  align: "end",
@@ -3366,9 +3366,9 @@ function ma({ rows: e, columns: t, getRowId: n, selected: a, onSelectedChange: o
3366
3366
  }
3367
3367
  // src/app/split-view.component.tsx
3368
3368
  function ha({ list: e, detail: t, listLabel: n, detailLabel: a, listMinSize: o = 280, listDefaultSize: s = 352, detailMinSize: c = 360, onListSizeChange: l, className: u }) {
3369
- let d = I(null), f = I(void 0), p = I(0);
3370
- F(() => () => cancelAnimationFrame(p.current), []);
3371
- let m = P((e, t) => {
3369
+ let d = L(null), f = L(void 0), p = L(0);
3370
+ I(() => () => cancelAnimationFrame(p.current), []);
3371
+ let m = F((e, t) => {
3372
3372
  l && t.isUserInteraction && (cancelAnimationFrame(p.current), p.current = requestAnimationFrame(() => {
3373
3373
  let e = d.current;
3374
3374
  if (!e) return;
@@ -3378,7 +3378,7 @@ function ha({ list: e, detail: t, listLabel: n, detailLabel: a, listMinSize: o =
3378
3378
  }, [l]);
3379
3379
  return /* @__PURE__ */ r("div", {
3380
3380
  "data-slot": "split-view",
3381
- className: B("flex min-h-0 min-w-0 flex-1", u),
3381
+ className: V("flex min-h-0 min-w-0 flex-1", u),
3382
3382
  children: /* @__PURE__ */ i(Tr, {
3383
3383
  orientation: "horizontal",
3384
3384
  onLayoutChanged: m,
@@ -3431,7 +3431,7 @@ function va({ label: e, value: t, delta: n, tone: a = "neutral", series: o, clas
3431
3431
  let c = o ? ga(o, 100, 32) : "";
3432
3432
  return /* @__PURE__ */ i(vr, {
3433
3433
  "data-slot": "stat-card",
3434
- className: B("gap-1.5 p-4", s),
3434
+ className: V("gap-1.5 p-4", s),
3435
3435
  children: [
3436
3436
  /* @__PURE__ */ r("span", {
3437
3437
  className: "text-[13px] text-muted-foreground",
@@ -3460,7 +3460,7 @@ function va({ label: e, value: t, delta: n, tone: a = "neutral", series: o, clas
3460
3460
  })]
3461
3461
  }),
3462
3462
  n && /* @__PURE__ */ r("span", {
3463
- className: B("text-xs", _a[a]),
3463
+ className: V("text-xs", _a[a]),
3464
3464
  children: n
3465
3465
  })
3466
3466
  ]
@@ -3518,7 +3518,7 @@ function xa(e) {
3518
3518
  // src/status/status-badge.component.tsx
3519
3519
  function Sa({ status: e, ...t }) {
3520
3520
  let { label: n, variant: i, live: a } = xa(e);
3521
- return /* @__PURE__ */ r(K, {
3521
+ return /* @__PURE__ */ r(q, {
3522
3522
  variant: i,
3523
3523
  dot: a,
3524
3524
  "data-status": e,
@@ -3533,13 +3533,13 @@ function Ca({ title: e, description: t, status: n, hue: a, selected: o = !1, onS
3533
3533
  "data-slot": "flow-node",
3534
3534
  "aria-pressed": o,
3535
3535
  onClick: s,
3536
- 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),
3536
+ 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),
3537
3537
  children: [/* @__PURE__ */ i("span", {
3538
3538
  className: "flex items-center gap-2 border-b px-2.5 py-2",
3539
3539
  children: [
3540
3540
  /* @__PURE__ */ r("span", {
3541
3541
  "aria-hidden": "true",
3542
- className: B("size-2 shrink-0 rounded-[2px]", a ? W[a] : "bg-muted-foreground")
3542
+ className: V("size-2 shrink-0 rounded-[2px]", a ? G[a] : "bg-muted-foreground")
3543
3543
  }),
3544
3544
  /* @__PURE__ */ r("span", {
3545
3545
  className: "font-semibold",
@@ -3561,14 +3561,14 @@ function wa({ title: e, subtitle: t, hue: n, tabs: a, footer: o, className: s })
3561
3561
  return /* @__PURE__ */ i("aside", {
3562
3562
  "data-slot": "inspector",
3563
3563
  "aria-label": "Inspector",
3564
- className: B("flex h-full flex-col text-[13px]", s),
3564
+ className: V("flex h-full flex-col text-[13px]", s),
3565
3565
  children: [
3566
3566
  /* @__PURE__ */ i("div", {
3567
3567
  className: "flex items-center gap-2 border-b p-3",
3568
3568
  children: [
3569
3569
  n && /* @__PURE__ */ r("span", {
3570
3570
  "aria-hidden": "true",
3571
- className: B("size-2.5 shrink-0 rounded-[3px]", W[n])
3571
+ className: V("size-2.5 shrink-0 rounded-[3px]", G[n])
3572
3572
  }),
3573
3573
  /* @__PURE__ */ r("h2", {
3574
3574
  className: "m-0 type-h4",
@@ -3609,7 +3609,7 @@ function Ta({ start: e, end: t, className: n }) {
3609
3609
  return /* @__PURE__ */ i("div", {
3610
3610
  "data-slot": "status-bar",
3611
3611
  role: "status",
3612
- 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),
3612
+ 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),
3613
3613
  children: [e, t && /* @__PURE__ */ r("div", {
3614
3614
  className: "ms-auto flex items-center gap-3.5",
3615
3615
  children: t
@@ -3651,7 +3651,7 @@ function Aa({ duration: e, lanes: t, playhead: n, tickCount: a = 8, startsAt: o,
3651
3651
  "data-slot": "timeline-lanes",
3652
3652
  role: "group",
3653
3653
  "aria-label": "Timeline",
3654
- className: B("relative flex flex-col text-[13px]", s),
3654
+ className: V("relative flex flex-col text-[13px]", s),
3655
3655
  children: [
3656
3656
  /* @__PURE__ */ r("div", {
3657
3657
  className: "flex h-[26px] items-center border-b ps-[118px] pe-2.5",
@@ -3667,7 +3667,7 @@ function Aa({ duration: e, lanes: t, playhead: n, tickCount: a = 8, startsAt: o,
3667
3667
  className: "flex w-[108px] shrink-0 items-center gap-1.5 px-2.5 font-medium",
3668
3668
  children: [/* @__PURE__ */ r("span", {
3669
3669
  "aria-hidden": "true",
3670
- className: B("size-2 shrink-0 rounded-[2px]", W[t.hue])
3670
+ className: V("size-2 shrink-0 rounded-[2px]", G[t.hue])
3671
3671
  }), t.name]
3672
3672
  }), /* @__PURE__ */ r("div", {
3673
3673
  className: "relative me-2.5 h-[26px] flex-1",
@@ -3678,7 +3678,7 @@ function Aa({ duration: e, lanes: t, playhead: n, tickCount: a = 8, startsAt: o,
3678
3678
  children: /* @__PURE__ */ r("button", {
3679
3679
  type: "button",
3680
3680
  "aria-label": o,
3681
- 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"),
3681
+ 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"),
3682
3682
  style: {
3683
3683
  left: `${a.left}%`,
3684
3684
  width: `${a.width}%`
@@ -3701,26 +3701,26 @@ function ja({ product: e, menus: t, title: n, onMinimise: a, onMaximise: o, onCl
3701
3701
  let l = [
3702
3702
  {
3703
3703
  label: "Minimise",
3704
- icon: /* @__PURE__ */ r(ue, {}),
3704
+ icon: /* @__PURE__ */ r(le, {}),
3705
3705
  onClick: a
3706
3706
  },
3707
3707
  {
3708
3708
  label: "Maximise",
3709
- icon: /* @__PURE__ */ r(ge, {}),
3709
+ icon: /* @__PURE__ */ r(he, {}),
3710
3710
  onClick: o
3711
3711
  },
3712
3712
  {
3713
3713
  label: "Close window",
3714
- icon: /* @__PURE__ */ r(N, {}),
3714
+ icon: /* @__PURE__ */ r(P, {}),
3715
3715
  onClick: s
3716
3716
  }
3717
3717
  ].filter((e) => e.onClick);
3718
3718
  return /* @__PURE__ */ i("div", {
3719
3719
  "data-slot": "title-bar",
3720
3720
  "data-tauri-drag-region": "",
3721
- className: B("flex h-9 shrink-0 items-center gap-3 border-b bg-sidebar ps-3 text-[13px]", c),
3721
+ className: V("flex h-9 shrink-0 items-center gap-3 border-b bg-sidebar ps-3 text-[13px]", c),
3722
3722
  children: [
3723
- /* @__PURE__ */ r(H, {
3723
+ /* @__PURE__ */ r(U, {
3724
3724
  product: e,
3725
3725
  alt: "",
3726
3726
  className: "size-[18px]"
@@ -3733,11 +3733,11 @@ function ja({ product: e, menus: t, title: n, onMinimise: a, onMaximise: o, onCl
3733
3733
  }),
3734
3734
  l.length > 0 && /* @__PURE__ */ r("div", {
3735
3735
  className: "flex h-full",
3736
- children: l.map((e) => /* @__PURE__ */ r(J, {
3736
+ children: l.map((e) => /* @__PURE__ */ r(Y, {
3737
3737
  variant: "ghost",
3738
3738
  "aria-label": e.label,
3739
3739
  onClick: e.onClick,
3740
- 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"),
3740
+ 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"),
3741
3741
  children: e.icon
3742
3742
  }, e.label))
3743
3743
  })
@@ -3749,7 +3749,7 @@ function Ma({ items: e, className: t }) {
3749
3749
  return /* @__PURE__ */ r("nav", {
3750
3750
  "data-slot": "bottom-nav",
3751
3751
  "aria-label": "Tabs",
3752
- className: B("grid shrink-0 border-t bg-background px-2 pt-1.5 pb-[max(env(safe-area-inset-bottom),8px)]", t),
3752
+ className: V("grid shrink-0 border-t bg-background px-2 pt-1.5 pb-[max(env(safe-area-inset-bottom),8px)]", t),
3753
3753
  style: { gridTemplateColumns: `repeat(${e.length}, minmax(0, 1fr))` },
3754
3754
  children: e.map((e) => /* @__PURE__ */ i("a", {
3755
3755
  href: e.href,
@@ -3771,18 +3771,18 @@ function Na({ title: e, children: t, checksTitle: n, checks: a, onClose: o, acti
3771
3771
  let l = a.filter((e) => !e.passed).length;
3772
3772
  return /* @__PURE__ */ i("div", {
3773
3773
  "data-slot": "capture-frame",
3774
- className: B("flex h-full flex-col bg-[#0e0d12]", c),
3774
+ className: V("flex h-full flex-col bg-[#0e0d12]", c),
3775
3775
  children: [/* @__PURE__ */ i("div", {
3776
3776
  className: "relative grid min-h-[440px] flex-1 place-items-center overflow-hidden",
3777
3777
  children: [/* @__PURE__ */ i("div", {
3778
3778
  className: "absolute inset-x-4 top-[max(env(safe-area-inset-top),16px)] z-10 flex items-center justify-between",
3779
3779
  children: [
3780
- /* @__PURE__ */ r(J, {
3780
+ /* @__PURE__ */ r(Y, {
3781
3781
  size: "icon",
3782
3782
  "aria-label": "Close camera",
3783
3783
  onClick: o,
3784
3784
  className: "rounded-full bg-white/14 text-white hover:bg-white/24",
3785
- children: /* @__PURE__ */ r(N, {})
3785
+ children: /* @__PURE__ */ r(P, {})
3786
3786
  }),
3787
3787
  /* @__PURE__ */ r("span", {
3788
3788
  className: "text-sm font-semibold text-white",
@@ -3803,12 +3803,12 @@ function Na({ title: e, children: t, checksTitle: n, checks: a, onClose: o, acti
3803
3803
  children: [/* @__PURE__ */ r("h2", {
3804
3804
  className: "m-0 type-h3 text-[19px]",
3805
3805
  children: n
3806
- }), l > 0 ? /* @__PURE__ */ i(K, {
3806
+ }), l > 0 ? /* @__PURE__ */ i(q, {
3807
3807
  variant: "danger",
3808
3808
  dot: !0,
3809
3809
  className: "ms-auto",
3810
3810
  children: [l, " failed"]
3811
- }) : /* @__PURE__ */ r(K, {
3811
+ }) : /* @__PURE__ */ r(q, {
3812
3812
  variant: "success",
3813
3813
  dot: !0,
3814
3814
  className: "ms-auto",
@@ -3821,11 +3821,11 @@ function Na({ title: e, children: t, checksTitle: n, checks: a, onClose: o, acti
3821
3821
  className: "flex min-h-10 items-center gap-3 border-b",
3822
3822
  children: [
3823
3823
  /* @__PURE__ */ r("span", {
3824
- 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"),
3825
- children: e.passed ? /* @__PURE__ */ r(k, {
3824
+ 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"),
3825
+ children: e.passed ? /* @__PURE__ */ r(A, {
3826
3826
  strokeWidth: 3,
3827
3827
  "aria-label": "Passed"
3828
- }) : /* @__PURE__ */ r(N, {
3828
+ }) : /* @__PURE__ */ r(P, {
3829
3829
  strokeWidth: 3,
3830
3830
  "aria-label": "Failed"
3831
3831
  })
@@ -3854,39 +3854,39 @@ function Pa({ state: e, elapsed: t, levels: n = [], onStart: a, onPause: o, onRe
3854
3854
  let u = {
3855
3855
  idle: {
3856
3856
  label: "Start recording",
3857
- icon: /* @__PURE__ */ r(M, {}),
3857
+ icon: /* @__PURE__ */ r(N, {}),
3858
3858
  onClick: a
3859
3859
  },
3860
3860
  recording: {
3861
3861
  label: "Pause",
3862
- icon: /* @__PURE__ */ r(fe, {}),
3862
+ icon: /* @__PURE__ */ r(de, {}),
3863
3863
  onClick: o
3864
3864
  },
3865
3865
  paused: {
3866
3866
  label: "Resume",
3867
- icon: /* @__PURE__ */ r(pe, {}),
3867
+ icon: /* @__PURE__ */ r(fe, {}),
3868
3868
  onClick: s
3869
3869
  }
3870
3870
  }[e];
3871
3871
  return /* @__PURE__ */ i("div", {
3872
3872
  "data-slot": "record-button",
3873
- className: B("flex flex-col gap-3.5 rounded-[20px] bg-brand-soft p-4", l),
3873
+ className: V("flex flex-col gap-3.5 rounded-[20px] bg-brand-soft p-4", l),
3874
3874
  children: [
3875
3875
  /* @__PURE__ */ i("div", {
3876
3876
  className: "flex items-center gap-2",
3877
3877
  children: [
3878
- e === "recording" && /* @__PURE__ */ r(K, {
3878
+ e === "recording" && /* @__PURE__ */ r(q, {
3879
3879
  variant: "danger",
3880
3880
  dot: !0,
3881
3881
  className: "bg-card",
3882
3882
  children: "Recording"
3883
3883
  }),
3884
- e === "paused" && /* @__PURE__ */ r(K, {
3884
+ e === "paused" && /* @__PURE__ */ r(q, {
3885
3885
  variant: "warning",
3886
3886
  className: "bg-card",
3887
3887
  children: "Paused"
3888
3888
  }),
3889
- e === "idle" && /* @__PURE__ */ r(K, {
3889
+ e === "idle" && /* @__PURE__ */ r(q, {
3890
3890
  variant: "outline",
3891
3891
  className: "bg-card",
3892
3892
  children: "Not recording"
@@ -3902,23 +3902,23 @@ function Pa({ state: e, elapsed: t, levels: n = [], onStart: a, onPause: o, onRe
3902
3902
  "aria-hidden": "true",
3903
3903
  className: "flex h-10 items-center gap-[3px]",
3904
3904
  children: n.map((t, n) => /* @__PURE__ */ r("span", {
3905
- className: B("block w-1 rounded-full bg-brand", e !== "recording" && "opacity-45"),
3905
+ className: V("block w-1 rounded-full bg-brand", e !== "recording" && "opacity-45"),
3906
3906
  style: { height: `${Math.round(6 + Math.min(1, Math.max(0, t)) * 30)}px` }
3907
3907
  }, n))
3908
3908
  }),
3909
3909
  /* @__PURE__ */ i("div", {
3910
3910
  className: "flex gap-2.5",
3911
- children: [/* @__PURE__ */ i(J, {
3911
+ children: [/* @__PURE__ */ i(Y, {
3912
3912
  className: "flex-1",
3913
3913
  onClick: u.onClick,
3914
3914
  children: [u.icon, u.label]
3915
- }), e === "recording" && c && /* @__PURE__ */ r(J, {
3915
+ }), e === "recording" && c && /* @__PURE__ */ r(Y, {
3916
3916
  variant: "outline",
3917
3917
  size: "icon",
3918
3918
  className: "bg-card",
3919
3919
  "aria-label": "Add a marker",
3920
3920
  onClick: c,
3921
- children: /* @__PURE__ */ r(ne, {})
3921
+ children: /* @__PURE__ */ r(te, {})
3922
3922
  })]
3923
3923
  })
3924
3924
  ]
@@ -3926,7 +3926,7 @@ function Pa({ state: e, elapsed: t, levels: n = [], onStart: a, onPause: o, onRe
3926
3926
  }
3927
3927
  // src/web/cta-band.component.tsx
3928
3928
  function Fa({ title: e, body: t, onSubmit: n, inputLabel: a = "Work email", submitLabel: o = "Send", className: s }) {
3929
- let c = we();
3929
+ let c = Ce();
3930
3930
  function l(e) {
3931
3931
  e.preventDefault();
3932
3932
  let t = new FormData(e.currentTarget).get("email");
@@ -3934,7 +3934,7 @@ function Fa({ title: e, body: t, onSubmit: n, inputLabel: a = "Work email", subm
3934
3934
  }
3935
3935
  return /* @__PURE__ */ r("section", {
3936
3936
  "data-slot": "cta-band",
3937
- className: B("py-22", s),
3937
+ className: V("py-22", s),
3938
3938
  children: /* @__PURE__ */ r("div", {
3939
3939
  className: "mx-auto max-w-[1200px] px-6",
3940
3940
  children: /* @__PURE__ */ i("div", {
@@ -3966,7 +3966,7 @@ function Fa({ title: e, body: t, onSubmit: n, inputLabel: a = "Work email", subm
3966
3966
  placeholder: a,
3967
3967
  className: "flex-[1_1_220px] border-transparent"
3968
3968
  }),
3969
- /* @__PURE__ */ r(J, {
3969
+ /* @__PURE__ */ r(Y, {
3970
3970
  type: "submit",
3971
3971
  className: "bg-foreground text-background hover:bg-foreground/90",
3972
3972
  children: o
@@ -3981,7 +3981,7 @@ function Fa({ title: e, body: t, onSubmit: n, inputLabel: a = "Work email", subm
3981
3981
  function Ia({ title: e, items: t, className: n }) {
3982
3982
  return /* @__PURE__ */ r("section", {
3983
3983
  "data-slot": "faq",
3984
- className: B("py-22", n),
3984
+ className: V("py-22", n),
3985
3985
  children: /* @__PURE__ */ i("div", {
3986
3986
  className: "mx-auto grid max-w-[1200px] grid-cols-[repeat(auto-fit,minmax(340px,1fr))] items-start gap-12 px-6",
3987
3987
  children: [/* @__PURE__ */ r("h2", {
@@ -4005,7 +4005,7 @@ function Ia({ title: e, items: t, className: n }) {
4005
4005
  function La({ title: e, lead: t, features: n, className: a }) {
4006
4006
  return /* @__PURE__ */ r("section", {
4007
4007
  "data-slot": "feature-grid",
4008
- className: B("border-y bg-canvas py-22", a),
4008
+ className: V("border-y bg-canvas py-22", a),
4009
4009
  children: /* @__PURE__ */ i("div", {
4010
4010
  className: "mx-auto flex max-w-[1200px] flex-col gap-10 px-6",
4011
4011
  children: [(e || t) && /* @__PURE__ */ i("div", {
@@ -4045,11 +4045,11 @@ function La({ title: e, lead: t, features: n, className: a }) {
4045
4045
  function Ra({ eyebrow: e, title: t, lead: n, actions: a, className: o }) {
4046
4046
  return /* @__PURE__ */ r("section", {
4047
4047
  "data-slot": "hero",
4048
- className: B("pt-22 pb-14", o),
4048
+ className: V("pt-22 pb-14", o),
4049
4049
  children: /* @__PURE__ */ i("div", {
4050
4050
  className: "mx-auto flex max-w-[1200px] flex-col items-start gap-5.5 px-6",
4051
4051
  children: [
4052
- e && /* @__PURE__ */ r(K, {
4052
+ e && /* @__PURE__ */ r(q, {
4053
4053
  variant: "brand",
4054
4054
  className: "h-7 px-3 text-[13px]",
4055
4055
  children: e
@@ -4074,7 +4074,7 @@ function Ra({ eyebrow: e, title: t, lead: n, actions: a, className: o }) {
4074
4074
  function za({ title: e, lead: t, link: n, steps: a, className: o }) {
4075
4075
  return /* @__PURE__ */ r("section", {
4076
4076
  "data-slot": "how-it-works",
4077
- className: B("py-22", o),
4077
+ className: V("py-22", o),
4078
4078
  children: /* @__PURE__ */ i("div", {
4079
4079
  className: "mx-auto grid max-w-[1200px] grid-cols-[repeat(auto-fit,minmax(340px,1fr))] items-start gap-12 px-6",
4080
4080
  children: [/* @__PURE__ */ i("div", {
@@ -4116,12 +4116,12 @@ function za({ title: e, lead: t, link: n, steps: a, className: o }) {
4116
4116
  // src/web/mobile-menu.component.tsx
4117
4117
  var Ba = 400;
4118
4118
  function Va({ links: e, actions: t, label: n = "Main", className: a }) {
4119
- let [o, s] = L(!1), [c, l] = L(), [u, f] = L(!1), p = I(null);
4120
- F(() => {
4119
+ let [o, s] = R(!1), [c, l] = R(), [u, f] = R(!1), p = L(null);
4120
+ I(() => {
4121
4121
  if (o) return;
4122
4122
  let e = setTimeout(() => f(!1), Ba);
4123
4123
  return () => clearTimeout(e);
4124
- }, [o]), F(() => {
4124
+ }, [o]), I(() => {
4125
4125
  if (!o) return;
4126
4126
  let e = new ResizeObserver(() => m());
4127
4127
  return e.observe(document.documentElement), () => e.disconnect();
@@ -4147,7 +4147,7 @@ function Va({ links: e, actions: t, label: n = "Main", className: a }) {
4147
4147
  onOpenChange: h,
4148
4148
  children: [/* @__PURE__ */ r(d.Trigger, {
4149
4149
  asChild: !0,
4150
- children: /* @__PURE__ */ r(J, {
4150
+ children: /* @__PURE__ */ r(Y, {
4151
4151
  ref: p,
4152
4152
  variant: "ghost",
4153
4153
  size: "icon",
@@ -4171,7 +4171,7 @@ function Va({ links: e, actions: t, label: n = "Main", className: a }) {
4171
4171
  /* @__PURE__ */ r("div", {
4172
4172
  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))]",
4173
4173
  children: /* @__PURE__ */ r("div", {
4174
- 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"),
4174
+ 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"),
4175
4175
  children: /* @__PURE__ */ i("div", {
4176
4176
  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",
4177
4177
  children: [/* @__PURE__ */ r("nav", {
@@ -4193,7 +4193,7 @@ function Va({ links: e, actions: t, label: n = "Main", className: a }) {
4193
4193
  }),
4194
4194
  /* @__PURE__ */ r(d.Close, {
4195
4195
  asChild: !0,
4196
- children: /* @__PURE__ */ r(J, {
4196
+ children: /* @__PURE__ */ r(Y, {
4197
4197
  variant: "ghost",
4198
4198
  size: "icon",
4199
4199
  "aria-label": "Close menu",
@@ -4216,10 +4216,10 @@ function Va({ links: e, actions: t, label: n = "Main", className: a }) {
4216
4216
  }
4217
4217
  // src/web/pricing-table.component.tsx
4218
4218
  function Ha({ title: e, lead: t, plans: n, defaultBilling: a = "monthly", note: o, featuredLabel: s = "Most teams", className: c }) {
4219
- let [l, u] = L(a);
4219
+ let [l, u] = R(a);
4220
4220
  return /* @__PURE__ */ r("section", {
4221
4221
  "data-slot": "pricing-table",
4222
- className: B("border-y bg-canvas py-22", c),
4222
+ className: V("border-y bg-canvas py-22", c),
4223
4223
  children: /* @__PURE__ */ i("div", {
4224
4224
  className: "mx-auto flex max-w-[1200px] flex-col gap-8 px-6",
4225
4225
  children: [
@@ -4234,15 +4234,15 @@ function Ha({ title: e, lead: t, plans: n, defaultBilling: a = "monthly", note:
4234
4234
  className: "m-0 type-lead",
4235
4235
  children: t
4236
4236
  })]
4237
- }), /* @__PURE__ */ i(ft, {
4237
+ }), /* @__PURE__ */ i(dt, {
4238
4238
  type: "single",
4239
4239
  value: l,
4240
4240
  onValueChange: (e) => e && u(e),
4241
4241
  "aria-label": "Billing",
4242
- children: [/* @__PURE__ */ r(pt, {
4242
+ children: [/* @__PURE__ */ r(ft, {
4243
4243
  value: "monthly",
4244
4244
  children: "Monthly"
4245
- }), /* @__PURE__ */ r(pt, {
4245
+ }), /* @__PURE__ */ r(ft, {
4246
4246
  value: "yearly",
4247
4247
  children: "Yearly"
4248
4248
  })]
@@ -4252,14 +4252,14 @@ function Ha({ title: e, lead: t, plans: n, defaultBilling: a = "monthly", note:
4252
4252
  className: "m-0 grid list-none grid-cols-[repeat(auto-fit,minmax(280px,1fr))] gap-4 p-0",
4253
4253
  children: n.map((e) => /* @__PURE__ */ i("li", {
4254
4254
  "aria-label": e.name,
4255
- 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)]"),
4255
+ 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)]"),
4256
4256
  children: [
4257
4257
  /* @__PURE__ */ i("div", {
4258
4258
  className: "flex items-center justify-between",
4259
4259
  children: [/* @__PURE__ */ r("h3", {
4260
4260
  className: "m-0 type-h3",
4261
4261
  children: e.name
4262
- }), e.featured && /* @__PURE__ */ r(K, { children: s })]
4262
+ }), e.featured && /* @__PURE__ */ r(q, { children: s })]
4263
4263
  }),
4264
4264
  /* @__PURE__ */ r("span", {
4265
4265
  className: "font-display text-[34px] font-extrabold tracking-tight",
@@ -4274,14 +4274,14 @@ function Ha({ title: e, lead: t, plans: n, defaultBilling: a = "monthly", note:
4274
4274
  className: "m-0 flex list-none flex-col gap-2.5 p-0 text-[15px]",
4275
4275
  children: e.features.map((e) => /* @__PURE__ */ i("li", {
4276
4276
  className: "flex gap-2.5",
4277
- children: [/* @__PURE__ */ r(k, {
4277
+ children: [/* @__PURE__ */ r(A, {
4278
4278
  className: "mt-0.5 size-4.5 shrink-0 text-brand-text",
4279
4279
  strokeWidth: 2,
4280
4280
  "aria-hidden": "true"
4281
4281
  }), e]
4282
4282
  }, e))
4283
4283
  }),
4284
- /* @__PURE__ */ r(J, {
4284
+ /* @__PURE__ */ r(Y, {
4285
4285
  asChild: !0,
4286
4286
  variant: e.featured ? "default" : "outline",
4287
4287
  className: "mt-auto",
@@ -4303,19 +4303,19 @@ function Ha({ title: e, lead: t, plans: n, defaultBilling: a = "monthly", note:
4303
4303
  }
4304
4304
  // src/web/product-card.component.tsx
4305
4305
  function Ua({ product: e, href: t, description: n, stage: a, className: o }) {
4306
- let s = V[e];
4306
+ let s = H[e];
4307
4307
  return /* @__PURE__ */ i("a", {
4308
4308
  "data-slot": "product-card",
4309
4309
  "data-product": e,
4310
4310
  href: t,
4311
- 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),
4311
+ 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),
4312
4312
  children: [/* @__PURE__ */ r("span", {
4313
4313
  "aria-hidden": "true",
4314
4314
  className: "block h-1.5 bg-brand"
4315
4315
  }), /* @__PURE__ */ i("span", {
4316
4316
  className: "flex flex-col gap-3.5 p-5.5",
4317
4317
  children: [
4318
- /* @__PURE__ */ r(H, {
4318
+ /* @__PURE__ */ r(U, {
4319
4319
  product: e,
4320
4320
  alt: "",
4321
4321
  className: "size-11"
@@ -4330,7 +4330,7 @@ function Ua({ product: e, href: t, description: n, stage: a, className: o }) {
4330
4330
  children: n ?? s.tagline
4331
4331
  })]
4332
4332
  }),
4333
- /* @__PURE__ */ r(K, {
4333
+ /* @__PURE__ */ r(q, {
4334
4334
  variant: "outline",
4335
4335
  className: "self-start",
4336
4336
  children: a ?? s.stage
@@ -4343,14 +4343,14 @@ function Ua({ product: e, href: t, description: n, stage: a, className: o }) {
4343
4343
  function Wa({ tagline: e, columns: t, legal: n, className: a }) {
4344
4344
  return /* @__PURE__ */ i("footer", {
4345
4345
  "data-slot": "site-footer",
4346
- className: B("border-t pt-14 pb-10", a),
4346
+ className: V("border-t pt-14 pb-10", a),
4347
4347
  children: [/* @__PURE__ */ i("div", {
4348
4348
  className: "mx-auto grid max-w-[1200px] grid-cols-[repeat(auto-fit,minmax(160px,1fr))] gap-8 px-6",
4349
4349
  children: [/* @__PURE__ */ i("div", {
4350
4350
  className: "col-span-2 flex flex-col gap-3",
4351
4351
  children: [/* @__PURE__ */ i("span", {
4352
4352
  className: "flex items-center gap-2",
4353
- children: [/* @__PURE__ */ r(H, {
4353
+ children: [/* @__PURE__ */ r(U, {
4354
4354
  product: "talogic",
4355
4355
  alt: "",
4356
4356
  className: "size-7"
@@ -4386,7 +4386,7 @@ function Ga({ nav: e, actions: t, brand: a, className: o }) {
4386
4386
  href: "/",
4387
4387
  className: "flex items-center gap-2 no-underline",
4388
4388
  "aria-label": "talogic home",
4389
- children: [/* @__PURE__ */ r(H, {
4389
+ children: [/* @__PURE__ */ r(U, {
4390
4390
  product: "talogic",
4391
4391
  alt: "",
4392
4392
  className: "size-7"
@@ -4397,7 +4397,7 @@ function Ga({ nav: e, actions: t, brand: a, className: o }) {
4397
4397
  });
4398
4398
  return /* @__PURE__ */ r("header", {
4399
4399
  "data-slot": "site-header",
4400
- className: B("sticky top-0 z-40 border-b bg-background/88 backdrop-blur-md", o),
4400
+ className: V("sticky top-0 z-40 border-b bg-background/88 backdrop-blur-md", o),
4401
4401
  children: /* @__PURE__ */ i("div", {
4402
4402
  className: "mx-auto flex h-[68px] max-w-[1200px] items-center gap-7 px-6",
4403
4403
  children: [
@@ -4439,6 +4439,6 @@ function Ga({ nav: e, actions: t, brand: a, className: o }) {
4439
4439
  })
4440
4440
  });
4441
4441
  }
4442
- 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, la as AppShell, ca as AppShellBody, oa as AppShellHeader, et as Avatar, nt as AvatarFallback, tt as AvatarImage, K as Badge, Ma 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, Na 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, Fa 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, Ia as Faq, La as FeatureGrid, vt as Field, fr as FileDropOverlay, ua as FilterBar, da as FilterChip, Ca as FlowNode, fa as FormSection, Je as HUES, W as HUE_FILL, Ra as Hero, za as HowItWorks, yt as Input, wa 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, Va 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, pa as PageHeader, oi as Pagination, en as Popover, nn as PopoverAnchor, rn as PopoverContent, tn as PopoverTrigger, $t as Portal, Ei as Presence, Ha as PricingTable, Ua as ProductCard, H as ProductLogo, Xi as ProductSwitcher, or as Progress, ya as RUN_STATUSES, ot as RadioGroup, st as RadioGroupItem, Pa as RecordButton, ma 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, Mi as SelectableList, Ni as SelectableRow, ki as SelectionHeader, Ar as Separator, an as Sheet, sn as SheetClose, dn as SheetContent, ln as SheetDescription, cn as SheetTitle, on as SheetTrigger, zi as Sidebar, Zi as SidebarBrand, Vi as SidebarCollapseButton, Ui as SidebarContent, Gi as SidebarFooter, Ki as SidebarGroup, Hi as SidebarHeader, qi as SidebarItem, Wi as SidebarNote, Yi as SidebarSheet, Bi as SidebarTooltip, Wa as SiteFooter, Ga as SiteHeader, sr as Skeleton, ct as Slider, cr as Spinner, ha as SplitView, va as StatCard, Sa as StatusBadge, Ta 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, Aa as TimelineLanes, ja 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, $i as commandShortcutLabel, mt as controlClassName, Q as fadingLabelClassName, At as floatingMotionClassName, ka as formatClockTime, Oa as formatTimecode, Ke as hueForProduct, Ue as logoColorForHue, dr as mayAcceptDrag, X as menuItemClassName, vn as menuSeparatorClassName, _n as menuShortcutClassName, Li as navRowClassName, kt as overlayClassName, Ti as presenceClassName, Le as readableLabel, xa as runStatusDisplay, jt as sheetMotionClassName, Ii as sidebarNoteClassName, ga as sparklinePath, Kn as splitTags, Yn as tagsFieldClassName, Xn as tagsFieldInputClassName, Qe as themeAttributes, Ea as timelineBox, Da as timelineTicks, Qi as useCommandShortcut, ia as useCommandShortcutLabel, Y as useFieldControl, gt as useFieldLabelId, Qn as useOptionSearch, pr as usePageDrop, Pi as useSelection, Z as useSidebar };
4442
+ 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, la as AppShell, ca as AppShellBody, oa as AppShellHeader, $e as Avatar, tt as AvatarFallback, et as AvatarImage, q as Badge, Ma as BottomNav, Rr as Breadcrumb, Br as BreadcrumbItem, Vr as BreadcrumbLink, zr as BreadcrumbList, Hr as BreadcrumbPage, Ur as BreadcrumbSeparator, Di as BulkActionBar, Y as Button, Xe as COLOUR_SCHEMES, Na 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, Fa 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, Ia as Faq, La as FeatureGrid, vt as Field, fr as FileDropOverlay, ua as FilterBar, da as FilterChip, Ca as FlowNode, fa as FormSection, qe as HUES, G as HUE_FILL, Ra as Hero, za as HowItWorks, yt as Input, wa 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, Va 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, pa as PageHeader, oi as Pagination, en as Popover, nn as PopoverAnchor, rn as PopoverContent, tn as PopoverTrigger, $t as Portal, Ei as Presence, Ha as PricingTable, Ua as ProductCard, U as ProductLogo, Xi as ProductSwitcher, or as Progress, ya as RUN_STATUSES, at as RadioGroup, ot as RadioGroupItem, Pa as RecordButton, ma 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, Mi as SelectableList, Ni as SelectableRow, ki as SelectionHeader, Ar as Separator, an as Sheet, sn as SheetClose, dn as SheetContent, ln as SheetDescription, cn as SheetTitle, on as SheetTrigger, zi as Sidebar, Zi as SidebarBrand, Vi as SidebarCollapseButton, Ui as SidebarContent, Gi as SidebarFooter, Ki as SidebarGroup, Hi as SidebarHeader, qi as SidebarItem, Wi as SidebarNote, Yi as SidebarSheet, Bi as SidebarTooltip, Wa as SiteFooter, Ga as SiteHeader, sr as Skeleton, st as Slider, cr as Spinner, ha as SplitView, va as StatCard, Sa as StatusBadge, Ta as StatusBar, wi 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, di as Tabs, Si as TabsContent, mi as TabsList, _i as TabsTrigger, Jn as Tag, Zn as TagsInput, Ot as Textarea, Qe as ThemeRoot, Aa as TimelineLanes, ja 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, $i as commandShortcutLabel, pt as controlClassName, Q as fadingLabelClassName, At as floatingMotionClassName, ka as formatClockTime, Oa as formatTimecode, Ge as hueForProduct, He as logoColorForHue, dr as mayAcceptDrag, X as menuItemClassName, vn as menuSeparatorClassName, _n as menuShortcutClassName, Li as navRowClassName, kt as overlayClassName, Ti as presenceClassName, Ie as readableLabel, xa as runStatusDisplay, jt as sheetMotionClassName, Ii as sidebarNoteClassName, ga as sparklinePath, Kn as splitTags, Yn as tagsFieldClassName, Xn as tagsFieldInputClassName, Ze as themeAttributes, Ea as timelineBox, Da as timelineTicks, Qi as useCommandShortcut, ia as useCommandShortcutLabel, ht as useFieldControl, gt as useFieldLabelId, Qn as useOptionSearch, pr as usePageDrop, Pi as useSelection, Z as useSidebar };
4443
4443
 
4444
4444
  //# sourceMappingURL=index.js.map