@plyaz/ui 0.7.2 → 0.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/dist/Skeleton-Bnjvq2Rm.cjs +62 -0
  2. package/dist/{index-BFruSSsn.js → Skeleton-De31tq_k.js} +567 -566
  3. package/dist/client.cjs.js +20 -20
  4. package/dist/client.es.js +4999 -4403
  5. package/dist/index.cjs.js +5 -23
  6. package/dist/index.es.js +470 -320
  7. package/dist/types/components/Accordion/Accordion.stories.d.ts.map +1 -1
  8. package/dist/types/components/Alert/Alert.stories.d.ts.map +1 -1
  9. package/dist/types/components/AlertDialog/AlertDialog.stories.d.ts.map +1 -1
  10. package/dist/types/components/Avatar/Avatar.stories.d.ts.map +1 -1
  11. package/dist/types/components/Badge/Badge.d.ts +3 -1
  12. package/dist/types/components/Badge/Badge.d.ts.map +1 -1
  13. package/dist/types/components/Badge/Badge.stories.d.ts.map +1 -1
  14. package/dist/types/components/Breadcrumb/Breadcrumb.stories.d.ts.map +1 -1
  15. package/dist/types/components/Button/Button.d.ts +4 -1
  16. package/dist/types/components/Button/Button.d.ts.map +1 -1
  17. package/dist/types/components/Button/Button.stories.d.ts +7 -0
  18. package/dist/types/components/Button/Button.stories.d.ts.map +1 -1
  19. package/dist/types/components/Calendar/Calendar.stories.d.ts +21 -0
  20. package/dist/types/components/Calendar/Calendar.stories.d.ts.map +1 -0
  21. package/dist/types/components/Checkbox/Checkbox.stories.d.ts.map +1 -1
  22. package/dist/types/components/Command/Command.stories.d.ts.map +1 -1
  23. package/dist/types/components/ContextMenu/ContextMenu.stories.d.ts.map +1 -1
  24. package/dist/types/components/Dialog/Dialog.stories.d.ts.map +1 -1
  25. package/dist/types/components/Drawer/Drawer.stories.d.ts +15 -0
  26. package/dist/types/components/Drawer/Drawer.stories.d.ts.map +1 -0
  27. package/dist/types/components/HoverCard/HoverCard.stories.d.ts.map +1 -1
  28. package/dist/types/components/Input/Input.d.ts.map +1 -1
  29. package/dist/types/components/InputGroup/InputGroup.d.ts +17 -0
  30. package/dist/types/components/InputGroup/InputGroup.d.ts.map +1 -0
  31. package/dist/types/components/InputGroup/InputGroup.stories.d.ts +45 -0
  32. package/dist/types/components/InputGroup/InputGroup.stories.d.ts.map +1 -0
  33. package/dist/types/components/InputOTP/InputOTP.stories.d.ts +20 -0
  34. package/dist/types/components/InputOTP/InputOTP.stories.d.ts.map +1 -0
  35. package/dist/types/components/Label/Label.stories.d.ts +4 -0
  36. package/dist/types/components/Label/Label.stories.d.ts.map +1 -1
  37. package/dist/types/components/MenuBar/Menubar.stories.d.ts.map +1 -1
  38. package/dist/types/components/Pagination/Pagination.stories.d.ts.map +1 -1
  39. package/dist/types/components/Popover/Popover.stories.d.ts.map +1 -1
  40. package/dist/types/components/Progress/Progress.stories.d.ts +1 -1
  41. package/dist/types/components/Progress/Progress.stories.d.ts.map +1 -1
  42. package/dist/types/components/ScrollArea/ScrollArea.stories.d.ts.map +1 -1
  43. package/dist/types/components/Separator/Separator.stories.d.ts.map +1 -1
  44. package/dist/types/components/Sheet/Sheet.stories.d.ts.map +1 -1
  45. package/dist/types/components/Sidebar/Sidebar.d.ts +69 -0
  46. package/dist/types/components/Sidebar/Sidebar.d.ts.map +1 -0
  47. package/dist/types/components/Sidebar/Sidebar.stories.d.ts +337 -0
  48. package/dist/types/components/Sidebar/Sidebar.stories.d.ts.map +1 -0
  49. package/dist/types/components/Skeleton/Skeleton.stories.d.ts.map +1 -1
  50. package/dist/types/components/Slider/Slider.stories.d.ts.map +1 -1
  51. package/dist/types/components/Table/Table.stories.d.ts.map +1 -1
  52. package/dist/types/components/Tabs/Tabs.stories.d.ts.map +1 -1
  53. package/dist/types/components/Textarea/Textarea.stories.d.ts.map +1 -1
  54. package/dist/types/components/Toaster/Toaster.stories.d.ts.map +1 -1
  55. package/dist/types/components/Toggle/Toggle.d.ts +4 -1
  56. package/dist/types/components/Toggle/Toggle.d.ts.map +1 -1
  57. package/dist/types/components/Toggle/Toggle.stories.d.ts.map +1 -1
  58. package/dist/types/components/Tooltip/Tooltip.stories.d.ts.map +1 -1
  59. package/dist/types/components/client.d.ts +2 -1
  60. package/dist/types/components/client.d.ts.map +1 -1
  61. package/dist/types/components/index.d.ts +1 -0
  62. package/dist/types/components/index.d.ts.map +1 -1
  63. package/dist/types/constants/constant.d.ts +0 -7
  64. package/dist/types/constants/constant.d.ts.map +1 -1
  65. package/dist/ui.css +1 -1
  66. package/package.json +3 -2
  67. package/styles/main.css +7 -6
  68. package/styles/utilities.css +3 -0
  69. package/dist/index-Cs64egIu.cjs +0 -37
  70. package/dist/types/constants/toggle-variants.d.ts +0 -5
  71. package/dist/types/constants/toggle-variants.d.ts.map +0 -1
@@ -1,47 +1,47 @@
1
- var yt = Object.defineProperty;
2
- var Rt = (e, t, r) => t in e ? yt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
- var E = (e, t, r) => Rt(e, typeof t != "symbol" ? t + "" : t, r);
4
- import { jsx as de, jsxs as At } from "react/jsx-runtime";
5
- import { Slot as Et, createSlot as St } from "@radix-ui/react-slot";
6
- import { clsx as rt } from "clsx";
7
- import * as Nt from "react";
8
- import { memo as It } from "react";
9
- import * as Ot from "react-dom";
10
- const Se = "-", Ct = (e) => {
11
- const t = Lt(e), {
1
+ var Et = Object.defineProperty;
2
+ var St = (e, t, r) => t in e ? Et(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
+ var E = (e, t, r) => St(e, typeof t != "symbol" ? t + "" : t, r);
4
+ import { jsx as L, jsxs as Nt } from "react/jsx-runtime";
5
+ import { Slot as It, createSlot as Ot } from "@radix-ui/react-slot";
6
+ import { clsx as at } from "clsx";
7
+ import * as nt from "react";
8
+ import { memo as Ct } from "react";
9
+ import * as Tt from "react-dom";
10
+ const Ne = "-", Lt = (e) => {
11
+ const t = Mt(e), {
12
12
  conflictingClassGroups: r,
13
13
  conflictingClassGroupModifiers: o
14
14
  } = e;
15
15
  return {
16
16
  getClassGroupId: (l) => {
17
- const g = l.split(Se);
18
- return g[0] === "" && g.length !== 1 && g.shift(), ot(g, t) || Tt(l);
17
+ const m = l.split(Ne);
18
+ return m[0] === "" && m.length !== 1 && m.shift(), st(m, t) || zt(l);
19
19
  },
20
- getConflictingClassGroupIds: (l, g) => {
20
+ getConflictingClassGroupIds: (l, m) => {
21
21
  const d = r[l] || [];
22
- return g && o[l] ? [...d, ...o[l]] : d;
22
+ return m && o[l] ? [...d, ...o[l]] : d;
23
23
  }
24
24
  };
25
- }, ot = (e, t) => {
25
+ }, st = (e, t) => {
26
26
  var l;
27
27
  if (e.length === 0)
28
28
  return t.classGroupId;
29
- const r = e[0], o = t.nextPart.get(r), n = o ? ot(e.slice(1), o) : void 0;
30
- if (n)
31
- return n;
29
+ const r = e[0], o = t.nextPart.get(r), a = o ? st(e.slice(1), o) : void 0;
30
+ if (a)
31
+ return a;
32
32
  if (t.validators.length === 0)
33
33
  return;
34
- const a = e.join(Se);
34
+ const n = e.join(Ne);
35
35
  return (l = t.validators.find(({
36
- validator: g
37
- }) => g(a))) == null ? void 0 : l.classGroupId;
38
- }, Fe = /^\[(.+)\]$/, Tt = (e) => {
39
- if (Fe.test(e)) {
40
- const t = Fe.exec(e)[1], r = t == null ? void 0 : t.substring(0, t.indexOf(":"));
36
+ validator: m
37
+ }) => m(n))) == null ? void 0 : l.classGroupId;
38
+ }, Ue = /^\[(.+)\]$/, zt = (e) => {
39
+ if (Ue.test(e)) {
40
+ const t = Ue.exec(e)[1], r = t == null ? void 0 : t.substring(0, t.indexOf(":"));
41
41
  if (r)
42
42
  return "arbitrary.." + r;
43
43
  }
44
- }, Lt = (e) => {
44
+ }, Mt = (e) => {
45
45
  const {
46
46
  theme: t,
47
47
  classGroups: r
@@ -49,40 +49,40 @@ const Se = "-", Ct = (e) => {
49
49
  nextPart: /* @__PURE__ */ new Map(),
50
50
  validators: []
51
51
  };
52
- for (const n in r)
53
- ke(r[n], o, n, t);
52
+ for (const a in r)
53
+ we(r[a], o, a, t);
54
54
  return o;
55
- }, ke = (e, t, r, o) => {
56
- e.forEach((n) => {
57
- if (typeof n == "string") {
58
- const a = n === "" ? t : Ge(t, n);
59
- a.classGroupId = r;
55
+ }, we = (e, t, r, o) => {
56
+ e.forEach((a) => {
57
+ if (typeof a == "string") {
58
+ const n = a === "" ? t : Ge(t, a);
59
+ n.classGroupId = r;
60
60
  return;
61
61
  }
62
- if (typeof n == "function") {
63
- if (zt(n)) {
64
- ke(n(o), t, r, o);
62
+ if (typeof a == "function") {
63
+ if (Pt(a)) {
64
+ we(a(o), t, r, o);
65
65
  return;
66
66
  }
67
67
  t.validators.push({
68
- validator: n,
68
+ validator: a,
69
69
  classGroupId: r
70
70
  });
71
71
  return;
72
72
  }
73
- Object.entries(n).forEach(([a, l]) => {
74
- ke(l, Ge(t, a), r, o);
73
+ Object.entries(a).forEach(([n, l]) => {
74
+ we(l, Ge(t, n), r, o);
75
75
  });
76
76
  });
77
77
  }, Ge = (e, t) => {
78
78
  let r = e;
79
- return t.split(Se).forEach((o) => {
79
+ return t.split(Ne).forEach((o) => {
80
80
  r.nextPart.has(o) || r.nextPart.set(o, {
81
81
  nextPart: /* @__PURE__ */ new Map(),
82
82
  validators: []
83
83
  }), r = r.nextPart.get(o);
84
84
  }), r;
85
- }, zt = (e) => e.isThemeGetter, Mt = (e) => {
85
+ }, Pt = (e) => e.isThemeGetter, Dt = (e) => {
86
86
  if (e < 1)
87
87
  return {
88
88
  get: () => {
@@ -91,54 +91,54 @@ const Se = "-", Ct = (e) => {
91
91
  }
92
92
  };
93
93
  let t = 0, r = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
94
- const n = (a, l) => {
95
- r.set(a, l), t++, t > e && (t = 0, o = r, r = /* @__PURE__ */ new Map());
94
+ const a = (n, l) => {
95
+ r.set(n, l), t++, t > e && (t = 0, o = r, r = /* @__PURE__ */ new Map());
96
96
  };
97
97
  return {
98
- get(a) {
99
- let l = r.get(a);
98
+ get(n) {
99
+ let l = r.get(n);
100
100
  if (l !== void 0)
101
101
  return l;
102
- if ((l = o.get(a)) !== void 0)
103
- return n(a, l), l;
102
+ if ((l = o.get(n)) !== void 0)
103
+ return a(n, l), l;
104
104
  },
105
- set(a, l) {
106
- r.has(a) ? r.set(a, l) : n(a, l);
105
+ set(n, l) {
106
+ r.has(n) ? r.set(n, l) : a(n, l);
107
107
  }
108
108
  };
109
- }, we = "!", ye = ":", Pt = ye.length, Dt = (e) => {
109
+ }, ye = "!", Re = ":", Vt = Re.length, Ft = (e) => {
110
110
  const {
111
111
  prefix: t,
112
112
  experimentalParseClassName: r
113
113
  } = e;
114
- let o = (n) => {
115
- const a = [];
116
- let l = 0, g = 0, d = 0, p;
117
- for (let k = 0; k < n.length; k++) {
118
- let w = n[k];
119
- if (l === 0 && g === 0) {
120
- if (w === ye) {
121
- a.push(n.slice(d, k)), d = k + Pt;
114
+ let o = (a) => {
115
+ const n = [];
116
+ let l = 0, m = 0, d = 0, g;
117
+ for (let x = 0; x < a.length; x++) {
118
+ let w = a[x];
119
+ if (l === 0 && m === 0) {
120
+ if (w === Re) {
121
+ n.push(a.slice(d, x)), d = x + Vt;
122
122
  continue;
123
123
  }
124
124
  if (w === "/") {
125
- p = k;
125
+ g = x;
126
126
  continue;
127
127
  }
128
128
  }
129
- w === "[" ? l++ : w === "]" ? l-- : w === "(" ? g++ : w === ")" && g--;
129
+ w === "[" ? l++ : w === "]" ? l-- : w === "(" ? m++ : w === ")" && m--;
130
130
  }
131
- const b = a.length === 0 ? n : n.substring(d), x = Vt(b), A = x !== b, L = p && p > d ? p - d : void 0;
131
+ const b = n.length === 0 ? a : a.substring(d), k = Ut(b), A = k !== b, z = g && g > d ? g - d : void 0;
132
132
  return {
133
- modifiers: a,
133
+ modifiers: n,
134
134
  hasImportantModifier: A,
135
- baseClassName: x,
136
- maybePostfixModifierPosition: L
135
+ baseClassName: k,
136
+ maybePostfixModifierPosition: z
137
137
  };
138
138
  };
139
139
  if (t) {
140
- const n = t + ye, a = o;
141
- o = (l) => l.startsWith(n) ? a(l.substring(n.length)) : {
140
+ const a = t + Re, n = o;
141
+ o = (l) => l.startsWith(a) ? n(l.substring(a.length)) : {
142
142
  isExternal: !0,
143
143
  modifiers: [],
144
144
  hasImportantModifier: !1,
@@ -147,121 +147,121 @@ const Se = "-", Ct = (e) => {
147
147
  };
148
148
  }
149
149
  if (r) {
150
- const n = o;
151
- o = (a) => r({
152
- className: a,
153
- parseClassName: n
150
+ const a = o;
151
+ o = (n) => r({
152
+ className: n,
153
+ parseClassName: a
154
154
  });
155
155
  }
156
156
  return o;
157
- }, Vt = (e) => e.endsWith(we) ? e.substring(0, e.length - 1) : e.startsWith(we) ? e.substring(1) : e, Ft = (e) => {
157
+ }, Ut = (e) => e.endsWith(ye) ? e.substring(0, e.length - 1) : e.startsWith(ye) ? e.substring(1) : e, Gt = (e) => {
158
158
  const t = Object.fromEntries(e.orderSensitiveModifiers.map((o) => [o, !0]));
159
159
  return (o) => {
160
160
  if (o.length <= 1)
161
161
  return o;
162
- const n = [];
163
- let a = [];
162
+ const a = [];
163
+ let n = [];
164
164
  return o.forEach((l) => {
165
- l[0] === "[" || t[l] ? (n.push(...a.sort(), l), a = []) : a.push(l);
166
- }), n.push(...a.sort()), n;
165
+ l[0] === "[" || t[l] ? (a.push(...n.sort(), l), n = []) : n.push(l);
166
+ }), a.push(...n.sort()), a;
167
167
  };
168
- }, Gt = (e) => ({
169
- cache: Mt(e.cacheSize),
170
- parseClassName: Dt(e),
171
- sortModifiers: Ft(e),
172
- ...Ct(e)
173
- }), Ut = /\s+/, Bt = (e, t) => {
168
+ }, Bt = (e) => ({
169
+ cache: Dt(e.cacheSize),
170
+ parseClassName: Ft(e),
171
+ sortModifiers: Gt(e),
172
+ ...Lt(e)
173
+ }), jt = /\s+/, Kt = (e, t) => {
174
174
  const {
175
175
  parseClassName: r,
176
176
  getClassGroupId: o,
177
- getConflictingClassGroupIds: n,
178
- sortModifiers: a
179
- } = t, l = [], g = e.trim().split(Ut);
177
+ getConflictingClassGroupIds: a,
178
+ sortModifiers: n
179
+ } = t, l = [], m = e.trim().split(jt);
180
180
  let d = "";
181
- for (let p = g.length - 1; p >= 0; p -= 1) {
182
- const b = g[p], {
183
- isExternal: x,
181
+ for (let g = m.length - 1; g >= 0; g -= 1) {
182
+ const b = m[g], {
183
+ isExternal: k,
184
184
  modifiers: A,
185
- hasImportantModifier: L,
186
- baseClassName: k,
185
+ hasImportantModifier: z,
186
+ baseClassName: x,
187
187
  maybePostfixModifierPosition: w
188
188
  } = r(b);
189
- if (x) {
189
+ if (k) {
190
190
  d = b + (d.length > 0 ? " " + d : d);
191
191
  continue;
192
192
  }
193
- let N = !!w, z = o(N ? k.substring(0, w) : k);
194
- if (!z) {
193
+ let N = !!w, M = o(N ? x.substring(0, w) : x);
194
+ if (!M) {
195
195
  if (!N) {
196
196
  d = b + (d.length > 0 ? " " + d : d);
197
197
  continue;
198
198
  }
199
- if (z = o(k), !z) {
199
+ if (M = o(x), !M) {
200
200
  d = b + (d.length > 0 ? " " + d : d);
201
201
  continue;
202
202
  }
203
203
  N = !1;
204
204
  }
205
- const re = a(A).join(":"), Z = L ? re + we : re, G = Z + z;
205
+ const oe = n(A).join(":"), ee = z ? oe + ye : oe, G = ee + M;
206
206
  if (l.includes(G))
207
207
  continue;
208
208
  l.push(G);
209
- const U = n(z, N);
210
- for (let M = 0; M < U.length; ++M) {
211
- const ee = U[M];
212
- l.push(Z + ee);
209
+ const B = a(M, N);
210
+ for (let P = 0; P < B.length; ++P) {
211
+ const te = B[P];
212
+ l.push(ee + te);
213
213
  }
214
214
  d = b + (d.length > 0 ? " " + d : d);
215
215
  }
216
216
  return d;
217
217
  };
218
- function jt() {
218
+ function $t() {
219
219
  let e = 0, t, r, o = "";
220
220
  for (; e < arguments.length; )
221
- (t = arguments[e++]) && (r = nt(t)) && (o && (o += " "), o += r);
221
+ (t = arguments[e++]) && (r = it(t)) && (o && (o += " "), o += r);
222
222
  return o;
223
223
  }
224
- const nt = (e) => {
224
+ const it = (e) => {
225
225
  if (typeof e == "string")
226
226
  return e;
227
227
  let t, r = "";
228
228
  for (let o = 0; o < e.length; o++)
229
- e[o] && (t = nt(e[o])) && (r && (r += " "), r += t);
229
+ e[o] && (t = it(e[o])) && (r && (r += " "), r += t);
230
230
  return r;
231
231
  };
232
- function Kt(e, ...t) {
233
- let r, o, n, a = l;
232
+ function Ht(e, ...t) {
233
+ let r, o, a, n = l;
234
234
  function l(d) {
235
- const p = t.reduce((b, x) => x(b), e());
236
- return r = Gt(p), o = r.cache.get, n = r.cache.set, a = g, g(d);
235
+ const g = t.reduce((b, k) => k(b), e());
236
+ return r = Bt(g), o = r.cache.get, a = r.cache.set, n = m, m(d);
237
237
  }
238
- function g(d) {
239
- const p = o(d);
240
- if (p)
241
- return p;
242
- const b = Bt(d, r);
243
- return n(d, b), b;
238
+ function m(d) {
239
+ const g = o(d);
240
+ if (g)
241
+ return g;
242
+ const b = Kt(d, r);
243
+ return a(d, b), b;
244
244
  }
245
245
  return function() {
246
- return a(jt.apply(null, arguments));
246
+ return n($t.apply(null, arguments));
247
247
  };
248
248
  }
249
249
  const h = (e) => {
250
250
  const t = (r) => r[e] || [];
251
251
  return t.isThemeGetter = !0, t;
252
- }, at = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, st = /^\((?:(\w[\w-]*):)?(.+)\)$/i, $t = /^\d+\/\d+$/, Ht = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Wt = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Yt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, qt = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Jt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, j = (e) => $t.test(e), f = (e) => !!e && !Number.isNaN(Number(e)), T = (e) => !!e && Number.isInteger(Number(e)), be = (e) => e.endsWith("%") && f(e.slice(0, -1)), C = (e) => Ht.test(e), Xt = () => !0, Qt = (e) => (
252
+ }, lt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, ct = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Wt = /^\d+\/\d+$/, Yt = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, qt = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Jt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Xt = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Qt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, K = (e) => Wt.test(e), p = (e) => !!e && !Number.isNaN(Number(e)), T = (e) => !!e && Number.isInteger(Number(e)), he = (e) => e.endsWith("%") && p(e.slice(0, -1)), C = (e) => Yt.test(e), Zt = () => !0, er = (e) => (
253
253
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
254
254
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
255
255
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
256
- Wt.test(e) && !Yt.test(e)
257
- ), it = () => !1, Zt = (e) => qt.test(e), er = (e) => Jt.test(e), tr = (e) => !s(e) && !i(e), rr = (e) => X(e, dt, it), s = (e) => at.test(e), D = (e) => X(e, ut, Qt), he = (e) => X(e, ir, f), Ue = (e) => X(e, lt, it), or = (e) => X(e, ct, er), le = (e) => X(e, mt, Zt), i = (e) => st.test(e), te = (e) => Q(e, ut), nr = (e) => Q(e, lr), Be = (e) => Q(e, lt), ar = (e) => Q(e, dt), sr = (e) => Q(e, ct), ce = (e) => Q(e, mt, !0), X = (e, t, r) => {
258
- const o = at.exec(e);
256
+ qt.test(e) && !Jt.test(e)
257
+ ), dt = () => !1, tr = (e) => Xt.test(e), rr = (e) => Qt.test(e), or = (e) => !s(e) && !i(e), ar = (e) => Q(e, ft, dt), s = (e) => lt.test(e), V = (e) => Q(e, pt, er), ve = (e) => Q(e, cr, p), Be = (e) => Q(e, ut, dt), nr = (e) => Q(e, mt, rr), ce = (e) => Q(e, gt, tr), i = (e) => ct.test(e), re = (e) => Z(e, pt), sr = (e) => Z(e, dr), je = (e) => Z(e, ut), ir = (e) => Z(e, ft), lr = (e) => Z(e, mt), de = (e) => Z(e, gt, !0), Q = (e, t, r) => {
258
+ const o = lt.exec(e);
259
259
  return o ? o[1] ? t(o[1]) : r(o[2]) : !1;
260
- }, Q = (e, t, r = !1) => {
261
- const o = st.exec(e);
260
+ }, Z = (e, t, r = !1) => {
261
+ const o = ct.exec(e);
262
262
  return o ? o[1] ? t(o[1]) : r : !1;
263
- }, lt = (e) => e === "position" || e === "percentage", ct = (e) => e === "image" || e === "url", dt = (e) => e === "length" || e === "size" || e === "bg-size", ut = (e) => e === "length", ir = (e) => e === "number", lr = (e) => e === "family-name", mt = (e) => e === "shadow", cr = () => {
264
- const e = h("color"), t = h("font"), r = h("text"), o = h("font-weight"), n = h("tracking"), a = h("leading"), l = h("breakpoint"), g = h("container"), d = h("spacing"), p = h("radius"), b = h("shadow"), x = h("inset-shadow"), A = h("text-shadow"), L = h("drop-shadow"), k = h("blur"), w = h("perspective"), N = h("aspect"), z = h("ease"), re = h("animate"), Z = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], G = () => [
263
+ }, ut = (e) => e === "position" || e === "percentage", mt = (e) => e === "image" || e === "url", ft = (e) => e === "length" || e === "size" || e === "bg-size", pt = (e) => e === "length", cr = (e) => e === "number", dr = (e) => e === "family-name", gt = (e) => e === "shadow", ur = () => {
264
+ const e = h("color"), t = h("font"), r = h("text"), o = h("font-weight"), a = h("tracking"), n = h("leading"), l = h("breakpoint"), m = h("container"), d = h("spacing"), g = h("radius"), b = h("shadow"), k = h("inset-shadow"), A = h("text-shadow"), z = h("drop-shadow"), x = h("blur"), w = h("perspective"), N = h("aspect"), M = h("ease"), oe = h("animate"), ee = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], G = () => [
265
265
  "center",
266
266
  "top",
267
267
  "bottom",
@@ -279,30 +279,30 @@ const h = (e) => {
279
279
  "bottom-left",
280
280
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
281
281
  "left-bottom"
282
- ], U = () => [...G(), i, s], M = () => ["auto", "hidden", "clip", "visible", "scroll"], ee = () => ["auto", "contain", "none"], u = () => [i, s, d], I = () => [j, "full", "auto", ...u()], Ce = () => [T, "none", "subgrid", i, s], Te = () => ["auto", {
282
+ ], B = () => [...G(), i, s], P = () => ["auto", "hidden", "clip", "visible", "scroll"], te = () => ["auto", "contain", "none"], u = () => [i, s, d], I = () => [K, "full", "auto", ...u()], Te = () => [T, "none", "subgrid", i, s], Le = () => ["auto", {
283
283
  span: ["full", T, i, s]
284
- }, T, i, s], oe = () => [T, "auto", i, s], Le = () => ["auto", "min", "max", "fr", i, s], fe = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], B = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], O = () => ["auto", ...u()], P = () => [j, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...u()], c = () => [e, i, s], ze = () => [...G(), Be, Ue, {
284
+ }, T, i, s], ae = () => [T, "auto", i, s], ze = () => ["auto", "min", "max", "fr", i, s], pe = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], j = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], O = () => ["auto", ...u()], D = () => [K, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...u()], c = () => [e, i, s], Me = () => [...G(), je, Be, {
285
285
  position: [i, s]
286
- }], Me = () => ["no-repeat", {
286
+ }], Pe = () => ["no-repeat", {
287
287
  repeat: ["", "x", "y", "space", "round"]
288
- }], Pe = () => ["auto", "cover", "contain", ar, rr, {
288
+ }], De = () => ["auto", "cover", "contain", ir, ar, {
289
289
  size: [i, s]
290
- }], ge = () => [be, te, D], _ = () => [
290
+ }], ge = () => [he, re, V], _ = () => [
291
291
  // Deprecated since Tailwind CSS v4.0.0
292
292
  "",
293
293
  "none",
294
294
  "full",
295
- p,
295
+ g,
296
296
  i,
297
297
  s
298
- ], y = () => ["", f, te, D], ne = () => ["solid", "dashed", "dotted", "double"], De = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], v = () => [f, be, Be, Ue], Ve = () => [
298
+ ], y = () => ["", p, re, V], ne = () => ["solid", "dashed", "dotted", "double"], Ve = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], v = () => [p, he, je, Be], Fe = () => [
299
299
  // Deprecated since Tailwind CSS v4.0.0
300
300
  "",
301
301
  "none",
302
- k,
302
+ x,
303
303
  i,
304
304
  s
305
- ], ae = () => ["none", f, i, s], se = () => ["none", f, i, s], pe = () => [f, i, s], ie = () => [j, "full", ...u()];
305
+ ], se = () => ["none", p, i, s], ie = () => ["none", p, i, s], be = () => [p, i, s], le = () => [K, "full", ...u()];
306
306
  return {
307
307
  cacheSize: 500,
308
308
  theme: {
@@ -310,18 +310,18 @@ const h = (e) => {
310
310
  aspect: ["video"],
311
311
  blur: [C],
312
312
  breakpoint: [C],
313
- color: [Xt],
313
+ color: [Zt],
314
314
  container: [C],
315
315
  "drop-shadow": [C],
316
316
  ease: ["in", "out", "in-out"],
317
- font: [tr],
317
+ font: [or],
318
318
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
319
319
  "inset-shadow": [C],
320
320
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
321
321
  perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
322
322
  radius: [C],
323
323
  shadow: [C],
324
- spacing: ["px", f],
324
+ spacing: ["px", p],
325
325
  text: [C],
326
326
  "text-shadow": [C],
327
327
  tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
@@ -335,7 +335,7 @@ const h = (e) => {
335
335
  * @see https://tailwindcss.com/docs/aspect-ratio
336
336
  */
337
337
  aspect: [{
338
- aspect: ["auto", "square", j, s, i, N]
338
+ aspect: ["auto", "square", K, s, i, N]
339
339
  }],
340
340
  /**
341
341
  * Container
@@ -348,21 +348,21 @@ const h = (e) => {
348
348
  * @see https://tailwindcss.com/docs/columns
349
349
  */
350
350
  columns: [{
351
- columns: [f, s, i, g]
351
+ columns: [p, s, i, m]
352
352
  }],
353
353
  /**
354
354
  * Break After
355
355
  * @see https://tailwindcss.com/docs/break-after
356
356
  */
357
357
  "break-after": [{
358
- "break-after": Z()
358
+ "break-after": ee()
359
359
  }],
360
360
  /**
361
361
  * Break Before
362
362
  * @see https://tailwindcss.com/docs/break-before
363
363
  */
364
364
  "break-before": [{
365
- "break-before": Z()
365
+ "break-before": ee()
366
366
  }],
367
367
  /**
368
368
  * Break Inside
@@ -426,49 +426,49 @@ const h = (e) => {
426
426
  * @see https://tailwindcss.com/docs/object-position
427
427
  */
428
428
  "object-position": [{
429
- object: U()
429
+ object: B()
430
430
  }],
431
431
  /**
432
432
  * Overflow
433
433
  * @see https://tailwindcss.com/docs/overflow
434
434
  */
435
435
  overflow: [{
436
- overflow: M()
436
+ overflow: P()
437
437
  }],
438
438
  /**
439
439
  * Overflow X
440
440
  * @see https://tailwindcss.com/docs/overflow
441
441
  */
442
442
  "overflow-x": [{
443
- "overflow-x": M()
443
+ "overflow-x": P()
444
444
  }],
445
445
  /**
446
446
  * Overflow Y
447
447
  * @see https://tailwindcss.com/docs/overflow
448
448
  */
449
449
  "overflow-y": [{
450
- "overflow-y": M()
450
+ "overflow-y": P()
451
451
  }],
452
452
  /**
453
453
  * Overscroll Behavior
454
454
  * @see https://tailwindcss.com/docs/overscroll-behavior
455
455
  */
456
456
  overscroll: [{
457
- overscroll: ee()
457
+ overscroll: te()
458
458
  }],
459
459
  /**
460
460
  * Overscroll Behavior X
461
461
  * @see https://tailwindcss.com/docs/overscroll-behavior
462
462
  */
463
463
  "overscroll-x": [{
464
- "overscroll-x": ee()
464
+ "overscroll-x": te()
465
465
  }],
466
466
  /**
467
467
  * Overscroll Behavior Y
468
468
  * @see https://tailwindcss.com/docs/overscroll-behavior
469
469
  */
470
470
  "overscroll-y": [{
471
- "overscroll-y": ee()
471
+ "overscroll-y": te()
472
472
  }],
473
473
  /**
474
474
  * Position
@@ -558,7 +558,7 @@ const h = (e) => {
558
558
  * @see https://tailwindcss.com/docs/flex-basis
559
559
  */
560
560
  basis: [{
561
- basis: [j, "full", "auto", g, ...u()]
561
+ basis: [K, "full", "auto", m, ...u()]
562
562
  }],
563
563
  /**
564
564
  * Flex Direction
@@ -579,21 +579,21 @@ const h = (e) => {
579
579
  * @see https://tailwindcss.com/docs/flex
580
580
  */
581
581
  flex: [{
582
- flex: [f, j, "auto", "initial", "none", s]
582
+ flex: [p, K, "auto", "initial", "none", s]
583
583
  }],
584
584
  /**
585
585
  * Flex Grow
586
586
  * @see https://tailwindcss.com/docs/flex-grow
587
587
  */
588
588
  grow: [{
589
- grow: ["", f, i, s]
589
+ grow: ["", p, i, s]
590
590
  }],
591
591
  /**
592
592
  * Flex Shrink
593
593
  * @see https://tailwindcss.com/docs/flex-shrink
594
594
  */
595
595
  shrink: [{
596
- shrink: ["", f, i, s]
596
+ shrink: ["", p, i, s]
597
597
  }],
598
598
  /**
599
599
  * Order
@@ -607,56 +607,56 @@ const h = (e) => {
607
607
  * @see https://tailwindcss.com/docs/grid-template-columns
608
608
  */
609
609
  "grid-cols": [{
610
- "grid-cols": Ce()
610
+ "grid-cols": Te()
611
611
  }],
612
612
  /**
613
613
  * Grid Column Start / End
614
614
  * @see https://tailwindcss.com/docs/grid-column
615
615
  */
616
616
  "col-start-end": [{
617
- col: Te()
617
+ col: Le()
618
618
  }],
619
619
  /**
620
620
  * Grid Column Start
621
621
  * @see https://tailwindcss.com/docs/grid-column
622
622
  */
623
623
  "col-start": [{
624
- "col-start": oe()
624
+ "col-start": ae()
625
625
  }],
626
626
  /**
627
627
  * Grid Column End
628
628
  * @see https://tailwindcss.com/docs/grid-column
629
629
  */
630
630
  "col-end": [{
631
- "col-end": oe()
631
+ "col-end": ae()
632
632
  }],
633
633
  /**
634
634
  * Grid Template Rows
635
635
  * @see https://tailwindcss.com/docs/grid-template-rows
636
636
  */
637
637
  "grid-rows": [{
638
- "grid-rows": Ce()
638
+ "grid-rows": Te()
639
639
  }],
640
640
  /**
641
641
  * Grid Row Start / End
642
642
  * @see https://tailwindcss.com/docs/grid-row
643
643
  */
644
644
  "row-start-end": [{
645
- row: Te()
645
+ row: Le()
646
646
  }],
647
647
  /**
648
648
  * Grid Row Start
649
649
  * @see https://tailwindcss.com/docs/grid-row
650
650
  */
651
651
  "row-start": [{
652
- "row-start": oe()
652
+ "row-start": ae()
653
653
  }],
654
654
  /**
655
655
  * Grid Row End
656
656
  * @see https://tailwindcss.com/docs/grid-row
657
657
  */
658
658
  "row-end": [{
659
- "row-end": oe()
659
+ "row-end": ae()
660
660
  }],
661
661
  /**
662
662
  * Grid Auto Flow
@@ -670,14 +670,14 @@ const h = (e) => {
670
670
  * @see https://tailwindcss.com/docs/grid-auto-columns
671
671
  */
672
672
  "auto-cols": [{
673
- "auto-cols": Le()
673
+ "auto-cols": ze()
674
674
  }],
675
675
  /**
676
676
  * Grid Auto Rows
677
677
  * @see https://tailwindcss.com/docs/grid-auto-rows
678
678
  */
679
679
  "auto-rows": [{
680
- "auto-rows": Le()
680
+ "auto-rows": ze()
681
681
  }],
682
682
  /**
683
683
  * Gap
@@ -705,35 +705,35 @@ const h = (e) => {
705
705
  * @see https://tailwindcss.com/docs/justify-content
706
706
  */
707
707
  "justify-content": [{
708
- justify: [...fe(), "normal"]
708
+ justify: [...pe(), "normal"]
709
709
  }],
710
710
  /**
711
711
  * Justify Items
712
712
  * @see https://tailwindcss.com/docs/justify-items
713
713
  */
714
714
  "justify-items": [{
715
- "justify-items": [...B(), "normal"]
715
+ "justify-items": [...j(), "normal"]
716
716
  }],
717
717
  /**
718
718
  * Justify Self
719
719
  * @see https://tailwindcss.com/docs/justify-self
720
720
  */
721
721
  "justify-self": [{
722
- "justify-self": ["auto", ...B()]
722
+ "justify-self": ["auto", ...j()]
723
723
  }],
724
724
  /**
725
725
  * Align Content
726
726
  * @see https://tailwindcss.com/docs/align-content
727
727
  */
728
728
  "align-content": [{
729
- content: ["normal", ...fe()]
729
+ content: ["normal", ...pe()]
730
730
  }],
731
731
  /**
732
732
  * Align Items
733
733
  * @see https://tailwindcss.com/docs/align-items
734
734
  */
735
735
  "align-items": [{
736
- items: [...B(), {
736
+ items: [...j(), {
737
737
  baseline: ["", "last"]
738
738
  }]
739
739
  }],
@@ -742,7 +742,7 @@ const h = (e) => {
742
742
  * @see https://tailwindcss.com/docs/align-self
743
743
  */
744
744
  "align-self": [{
745
- self: ["auto", ...B(), {
745
+ self: ["auto", ...j(), {
746
746
  baseline: ["", "last"]
747
747
  }]
748
748
  }],
@@ -751,21 +751,21 @@ const h = (e) => {
751
751
  * @see https://tailwindcss.com/docs/place-content
752
752
  */
753
753
  "place-content": [{
754
- "place-content": fe()
754
+ "place-content": pe()
755
755
  }],
756
756
  /**
757
757
  * Place Items
758
758
  * @see https://tailwindcss.com/docs/place-items
759
759
  */
760
760
  "place-items": [{
761
- "place-items": [...B(), "baseline"]
761
+ "place-items": [...j(), "baseline"]
762
762
  }],
763
763
  /**
764
764
  * Place Self
765
765
  * @see https://tailwindcss.com/docs/place-self
766
766
  */
767
767
  "place-self": [{
768
- "place-self": ["auto", ...B()]
768
+ "place-self": ["auto", ...j()]
769
769
  }],
770
770
  // Spacing
771
771
  /**
@@ -926,14 +926,14 @@ const h = (e) => {
926
926
  * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
927
927
  */
928
928
  size: [{
929
- size: P()
929
+ size: D()
930
930
  }],
931
931
  /**
932
932
  * Width
933
933
  * @see https://tailwindcss.com/docs/width
934
934
  */
935
935
  w: [{
936
- w: [g, "screen", ...P()]
936
+ w: [m, "screen", ...D()]
937
937
  }],
938
938
  /**
939
939
  * Min-Width
@@ -941,11 +941,11 @@ const h = (e) => {
941
941
  */
942
942
  "min-w": [{
943
943
  "min-w": [
944
- g,
944
+ m,
945
945
  "screen",
946
946
  /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
947
947
  "none",
948
- ...P()
948
+ ...D()
949
949
  ]
950
950
  }],
951
951
  /**
@@ -954,7 +954,7 @@ const h = (e) => {
954
954
  */
955
955
  "max-w": [{
956
956
  "max-w": [
957
- g,
957
+ m,
958
958
  "screen",
959
959
  "none",
960
960
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
@@ -963,7 +963,7 @@ const h = (e) => {
963
963
  {
964
964
  screen: [l]
965
965
  },
966
- ...P()
966
+ ...D()
967
967
  ]
968
968
  }],
969
969
  /**
@@ -971,21 +971,21 @@ const h = (e) => {
971
971
  * @see https://tailwindcss.com/docs/height
972
972
  */
973
973
  h: [{
974
- h: ["screen", "lh", ...P()]
974
+ h: ["screen", "lh", ...D()]
975
975
  }],
976
976
  /**
977
977
  * Min-Height
978
978
  * @see https://tailwindcss.com/docs/min-height
979
979
  */
980
980
  "min-h": [{
981
- "min-h": ["screen", "lh", "none", ...P()]
981
+ "min-h": ["screen", "lh", "none", ...D()]
982
982
  }],
983
983
  /**
984
984
  * Max-Height
985
985
  * @see https://tailwindcss.com/docs/max-height
986
986
  */
987
987
  "max-h": [{
988
- "max-h": ["screen", "lh", ...P()]
988
+ "max-h": ["screen", "lh", ...D()]
989
989
  }],
990
990
  // ------------------
991
991
  // --- Typography ---
@@ -995,7 +995,7 @@ const h = (e) => {
995
995
  * @see https://tailwindcss.com/docs/font-size
996
996
  */
997
997
  "font-size": [{
998
- text: ["base", r, te, D]
998
+ text: ["base", r, re, V]
999
999
  }],
1000
1000
  /**
1001
1001
  * Font Smoothing
@@ -1012,21 +1012,21 @@ const h = (e) => {
1012
1012
  * @see https://tailwindcss.com/docs/font-weight
1013
1013
  */
1014
1014
  "font-weight": [{
1015
- font: [o, i, he]
1015
+ font: [o, i, ve]
1016
1016
  }],
1017
1017
  /**
1018
1018
  * Font Stretch
1019
1019
  * @see https://tailwindcss.com/docs/font-stretch
1020
1020
  */
1021
1021
  "font-stretch": [{
1022
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", be, s]
1022
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", he, s]
1023
1023
  }],
1024
1024
  /**
1025
1025
  * Font Family
1026
1026
  * @see https://tailwindcss.com/docs/font-family
1027
1027
  */
1028
1028
  "font-family": [{
1029
- font: [nr, s, t]
1029
+ font: [sr, s, t]
1030
1030
  }],
1031
1031
  /**
1032
1032
  * Font Variant Numeric
@@ -1063,14 +1063,14 @@ const h = (e) => {
1063
1063
  * @see https://tailwindcss.com/docs/letter-spacing
1064
1064
  */
1065
1065
  tracking: [{
1066
- tracking: [n, i, s]
1066
+ tracking: [a, i, s]
1067
1067
  }],
1068
1068
  /**
1069
1069
  * Line Clamp
1070
1070
  * @see https://tailwindcss.com/docs/line-clamp
1071
1071
  */
1072
1072
  "line-clamp": [{
1073
- "line-clamp": [f, "none", i, he]
1073
+ "line-clamp": [p, "none", i, ve]
1074
1074
  }],
1075
1075
  /**
1076
1076
  * Line Height
@@ -1079,7 +1079,7 @@ const h = (e) => {
1079
1079
  leading: [{
1080
1080
  leading: [
1081
1081
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1082
- a,
1082
+ n,
1083
1083
  ...u()
1084
1084
  ]
1085
1085
  }],
@@ -1143,7 +1143,7 @@ const h = (e) => {
1143
1143
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1144
1144
  */
1145
1145
  "text-decoration-thickness": [{
1146
- decoration: [f, "from-font", "auto", i, D]
1146
+ decoration: [p, "from-font", "auto", i, V]
1147
1147
  }],
1148
1148
  /**
1149
1149
  * Text Decoration Color
@@ -1157,7 +1157,7 @@ const h = (e) => {
1157
1157
  * @see https://tailwindcss.com/docs/text-underline-offset
1158
1158
  */
1159
1159
  "underline-offset": [{
1160
- "underline-offset": [f, "auto", i, s]
1160
+ "underline-offset": [p, "auto", i, s]
1161
1161
  }],
1162
1162
  /**
1163
1163
  * Text Transform
@@ -1254,21 +1254,21 @@ const h = (e) => {
1254
1254
  * @see https://tailwindcss.com/docs/background-position
1255
1255
  */
1256
1256
  "bg-position": [{
1257
- bg: ze()
1257
+ bg: Me()
1258
1258
  }],
1259
1259
  /**
1260
1260
  * Background Repeat
1261
1261
  * @see https://tailwindcss.com/docs/background-repeat
1262
1262
  */
1263
1263
  "bg-repeat": [{
1264
- bg: Me()
1264
+ bg: Pe()
1265
1265
  }],
1266
1266
  /**
1267
1267
  * Background Size
1268
1268
  * @see https://tailwindcss.com/docs/background-size
1269
1269
  */
1270
1270
  "bg-size": [{
1271
- bg: Pe()
1271
+ bg: De()
1272
1272
  }],
1273
1273
  /**
1274
1274
  * Background Image
@@ -1281,7 +1281,7 @@ const h = (e) => {
1281
1281
  }, T, i, s],
1282
1282
  radial: ["", i, s],
1283
1283
  conic: [T, i, s]
1284
- }, sr, or]
1284
+ }, lr, nr]
1285
1285
  }],
1286
1286
  /**
1287
1287
  * Background Color
@@ -1623,14 +1623,14 @@ const h = (e) => {
1623
1623
  * @see https://tailwindcss.com/docs/outline-offset
1624
1624
  */
1625
1625
  "outline-offset": [{
1626
- "outline-offset": [f, i, s]
1626
+ "outline-offset": [p, i, s]
1627
1627
  }],
1628
1628
  /**
1629
1629
  * Outline Width
1630
1630
  * @see https://tailwindcss.com/docs/outline-width
1631
1631
  */
1632
1632
  "outline-w": [{
1633
- outline: ["", f, te, D]
1633
+ outline: ["", p, re, V]
1634
1634
  }],
1635
1635
  /**
1636
1636
  * Outline Color
@@ -1652,8 +1652,8 @@ const h = (e) => {
1652
1652
  "",
1653
1653
  "none",
1654
1654
  b,
1655
- ce,
1656
- le
1655
+ de,
1656
+ ce
1657
1657
  ]
1658
1658
  }],
1659
1659
  /**
@@ -1668,7 +1668,7 @@ const h = (e) => {
1668
1668
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
1669
1669
  */
1670
1670
  "inset-shadow": [{
1671
- "inset-shadow": ["none", x, ce, le]
1671
+ "inset-shadow": ["none", k, de, ce]
1672
1672
  }],
1673
1673
  /**
1674
1674
  * Inset Box Shadow Color
@@ -1705,7 +1705,7 @@ const h = (e) => {
1705
1705
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1706
1706
  */
1707
1707
  "ring-offset-w": [{
1708
- "ring-offset": [f, D]
1708
+ "ring-offset": [p, V]
1709
1709
  }],
1710
1710
  /**
1711
1711
  * Ring Offset Color
@@ -1735,7 +1735,7 @@ const h = (e) => {
1735
1735
  * @see https://tailwindcss.com/docs/text-shadow
1736
1736
  */
1737
1737
  "text-shadow": [{
1738
- "text-shadow": ["none", A, ce, le]
1738
+ "text-shadow": ["none", A, de, ce]
1739
1739
  }],
1740
1740
  /**
1741
1741
  * Text Shadow Color
@@ -1749,21 +1749,21 @@ const h = (e) => {
1749
1749
  * @see https://tailwindcss.com/docs/opacity
1750
1750
  */
1751
1751
  opacity: [{
1752
- opacity: [f, i, s]
1752
+ opacity: [p, i, s]
1753
1753
  }],
1754
1754
  /**
1755
1755
  * Mix Blend Mode
1756
1756
  * @see https://tailwindcss.com/docs/mix-blend-mode
1757
1757
  */
1758
1758
  "mix-blend": [{
1759
- "mix-blend": [...De(), "plus-darker", "plus-lighter"]
1759
+ "mix-blend": [...Ve(), "plus-darker", "plus-lighter"]
1760
1760
  }],
1761
1761
  /**
1762
1762
  * Background Blend Mode
1763
1763
  * @see https://tailwindcss.com/docs/background-blend-mode
1764
1764
  */
1765
1765
  "bg-blend": [{
1766
- "bg-blend": De()
1766
+ "bg-blend": Ve()
1767
1767
  }],
1768
1768
  /**
1769
1769
  * Mask Clip
@@ -1784,7 +1784,7 @@ const h = (e) => {
1784
1784
  * @see https://tailwindcss.com/docs/mask-image
1785
1785
  */
1786
1786
  "mask-image-linear-pos": [{
1787
- "mask-linear": [f]
1787
+ "mask-linear": [p]
1788
1788
  }],
1789
1789
  "mask-image-linear-from-pos": [{
1790
1790
  "mask-linear-from": v()
@@ -1898,7 +1898,7 @@ const h = (e) => {
1898
1898
  "mask-radial-at": G()
1899
1899
  }],
1900
1900
  "mask-image-conic-pos": [{
1901
- "mask-conic": [f]
1901
+ "mask-conic": [p]
1902
1902
  }],
1903
1903
  "mask-image-conic-from-pos": [{
1904
1904
  "mask-conic-from": v()
@@ -1931,21 +1931,21 @@ const h = (e) => {
1931
1931
  * @see https://tailwindcss.com/docs/mask-position
1932
1932
  */
1933
1933
  "mask-position": [{
1934
- mask: ze()
1934
+ mask: Me()
1935
1935
  }],
1936
1936
  /**
1937
1937
  * Mask Repeat
1938
1938
  * @see https://tailwindcss.com/docs/mask-repeat
1939
1939
  */
1940
1940
  "mask-repeat": [{
1941
- mask: Me()
1941
+ mask: Pe()
1942
1942
  }],
1943
1943
  /**
1944
1944
  * Mask Size
1945
1945
  * @see https://tailwindcss.com/docs/mask-size
1946
1946
  */
1947
1947
  "mask-size": [{
1948
- mask: Pe()
1948
+ mask: De()
1949
1949
  }],
1950
1950
  /**
1951
1951
  * Mask Type
@@ -1982,21 +1982,21 @@ const h = (e) => {
1982
1982
  * @see https://tailwindcss.com/docs/blur
1983
1983
  */
1984
1984
  blur: [{
1985
- blur: Ve()
1985
+ blur: Fe()
1986
1986
  }],
1987
1987
  /**
1988
1988
  * Brightness
1989
1989
  * @see https://tailwindcss.com/docs/brightness
1990
1990
  */
1991
1991
  brightness: [{
1992
- brightness: [f, i, s]
1992
+ brightness: [p, i, s]
1993
1993
  }],
1994
1994
  /**
1995
1995
  * Contrast
1996
1996
  * @see https://tailwindcss.com/docs/contrast
1997
1997
  */
1998
1998
  contrast: [{
1999
- contrast: [f, i, s]
1999
+ contrast: [p, i, s]
2000
2000
  }],
2001
2001
  /**
2002
2002
  * Drop Shadow
@@ -2007,9 +2007,9 @@ const h = (e) => {
2007
2007
  // Deprecated since Tailwind CSS v4.0.0
2008
2008
  "",
2009
2009
  "none",
2010
- L,
2011
- ce,
2012
- le
2010
+ z,
2011
+ de,
2012
+ ce
2013
2013
  ]
2014
2014
  }],
2015
2015
  /**
@@ -2024,35 +2024,35 @@ const h = (e) => {
2024
2024
  * @see https://tailwindcss.com/docs/grayscale
2025
2025
  */
2026
2026
  grayscale: [{
2027
- grayscale: ["", f, i, s]
2027
+ grayscale: ["", p, i, s]
2028
2028
  }],
2029
2029
  /**
2030
2030
  * Hue Rotate
2031
2031
  * @see https://tailwindcss.com/docs/hue-rotate
2032
2032
  */
2033
2033
  "hue-rotate": [{
2034
- "hue-rotate": [f, i, s]
2034
+ "hue-rotate": [p, i, s]
2035
2035
  }],
2036
2036
  /**
2037
2037
  * Invert
2038
2038
  * @see https://tailwindcss.com/docs/invert
2039
2039
  */
2040
2040
  invert: [{
2041
- invert: ["", f, i, s]
2041
+ invert: ["", p, i, s]
2042
2042
  }],
2043
2043
  /**
2044
2044
  * Saturate
2045
2045
  * @see https://tailwindcss.com/docs/saturate
2046
2046
  */
2047
2047
  saturate: [{
2048
- saturate: [f, i, s]
2048
+ saturate: [p, i, s]
2049
2049
  }],
2050
2050
  /**
2051
2051
  * Sepia
2052
2052
  * @see https://tailwindcss.com/docs/sepia
2053
2053
  */
2054
2054
  sepia: [{
2055
- sepia: ["", f, i, s]
2055
+ sepia: ["", p, i, s]
2056
2056
  }],
2057
2057
  /**
2058
2058
  * Backdrop Filter
@@ -2072,63 +2072,63 @@ const h = (e) => {
2072
2072
  * @see https://tailwindcss.com/docs/backdrop-blur
2073
2073
  */
2074
2074
  "backdrop-blur": [{
2075
- "backdrop-blur": Ve()
2075
+ "backdrop-blur": Fe()
2076
2076
  }],
2077
2077
  /**
2078
2078
  * Backdrop Brightness
2079
2079
  * @see https://tailwindcss.com/docs/backdrop-brightness
2080
2080
  */
2081
2081
  "backdrop-brightness": [{
2082
- "backdrop-brightness": [f, i, s]
2082
+ "backdrop-brightness": [p, i, s]
2083
2083
  }],
2084
2084
  /**
2085
2085
  * Backdrop Contrast
2086
2086
  * @see https://tailwindcss.com/docs/backdrop-contrast
2087
2087
  */
2088
2088
  "backdrop-contrast": [{
2089
- "backdrop-contrast": [f, i, s]
2089
+ "backdrop-contrast": [p, i, s]
2090
2090
  }],
2091
2091
  /**
2092
2092
  * Backdrop Grayscale
2093
2093
  * @see https://tailwindcss.com/docs/backdrop-grayscale
2094
2094
  */
2095
2095
  "backdrop-grayscale": [{
2096
- "backdrop-grayscale": ["", f, i, s]
2096
+ "backdrop-grayscale": ["", p, i, s]
2097
2097
  }],
2098
2098
  /**
2099
2099
  * Backdrop Hue Rotate
2100
2100
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2101
2101
  */
2102
2102
  "backdrop-hue-rotate": [{
2103
- "backdrop-hue-rotate": [f, i, s]
2103
+ "backdrop-hue-rotate": [p, i, s]
2104
2104
  }],
2105
2105
  /**
2106
2106
  * Backdrop Invert
2107
2107
  * @see https://tailwindcss.com/docs/backdrop-invert
2108
2108
  */
2109
2109
  "backdrop-invert": [{
2110
- "backdrop-invert": ["", f, i, s]
2110
+ "backdrop-invert": ["", p, i, s]
2111
2111
  }],
2112
2112
  /**
2113
2113
  * Backdrop Opacity
2114
2114
  * @see https://tailwindcss.com/docs/backdrop-opacity
2115
2115
  */
2116
2116
  "backdrop-opacity": [{
2117
- "backdrop-opacity": [f, i, s]
2117
+ "backdrop-opacity": [p, i, s]
2118
2118
  }],
2119
2119
  /**
2120
2120
  * Backdrop Saturate
2121
2121
  * @see https://tailwindcss.com/docs/backdrop-saturate
2122
2122
  */
2123
2123
  "backdrop-saturate": [{
2124
- "backdrop-saturate": [f, i, s]
2124
+ "backdrop-saturate": [p, i, s]
2125
2125
  }],
2126
2126
  /**
2127
2127
  * Backdrop Sepia
2128
2128
  * @see https://tailwindcss.com/docs/backdrop-sepia
2129
2129
  */
2130
2130
  "backdrop-sepia": [{
2131
- "backdrop-sepia": ["", f, i, s]
2131
+ "backdrop-sepia": ["", p, i, s]
2132
2132
  }],
2133
2133
  // --------------
2134
2134
  // --- Tables ---
@@ -2197,28 +2197,28 @@ const h = (e) => {
2197
2197
  * @see https://tailwindcss.com/docs/transition-duration
2198
2198
  */
2199
2199
  duration: [{
2200
- duration: [f, "initial", i, s]
2200
+ duration: [p, "initial", i, s]
2201
2201
  }],
2202
2202
  /**
2203
2203
  * Transition Timing Function
2204
2204
  * @see https://tailwindcss.com/docs/transition-timing-function
2205
2205
  */
2206
2206
  ease: [{
2207
- ease: ["linear", "initial", z, i, s]
2207
+ ease: ["linear", "initial", M, i, s]
2208
2208
  }],
2209
2209
  /**
2210
2210
  * Transition Delay
2211
2211
  * @see https://tailwindcss.com/docs/transition-delay
2212
2212
  */
2213
2213
  delay: [{
2214
- delay: [f, i, s]
2214
+ delay: [p, i, s]
2215
2215
  }],
2216
2216
  /**
2217
2217
  * Animation
2218
2218
  * @see https://tailwindcss.com/docs/animation
2219
2219
  */
2220
2220
  animate: [{
2221
- animate: ["none", re, i, s]
2221
+ animate: ["none", oe, i, s]
2222
2222
  }],
2223
2223
  // ------------------
2224
2224
  // --- Transforms ---
@@ -2242,63 +2242,63 @@ const h = (e) => {
2242
2242
  * @see https://tailwindcss.com/docs/perspective-origin
2243
2243
  */
2244
2244
  "perspective-origin": [{
2245
- "perspective-origin": U()
2245
+ "perspective-origin": B()
2246
2246
  }],
2247
2247
  /**
2248
2248
  * Rotate
2249
2249
  * @see https://tailwindcss.com/docs/rotate
2250
2250
  */
2251
2251
  rotate: [{
2252
- rotate: ae()
2252
+ rotate: se()
2253
2253
  }],
2254
2254
  /**
2255
2255
  * Rotate X
2256
2256
  * @see https://tailwindcss.com/docs/rotate
2257
2257
  */
2258
2258
  "rotate-x": [{
2259
- "rotate-x": ae()
2259
+ "rotate-x": se()
2260
2260
  }],
2261
2261
  /**
2262
2262
  * Rotate Y
2263
2263
  * @see https://tailwindcss.com/docs/rotate
2264
2264
  */
2265
2265
  "rotate-y": [{
2266
- "rotate-y": ae()
2266
+ "rotate-y": se()
2267
2267
  }],
2268
2268
  /**
2269
2269
  * Rotate Z
2270
2270
  * @see https://tailwindcss.com/docs/rotate
2271
2271
  */
2272
2272
  "rotate-z": [{
2273
- "rotate-z": ae()
2273
+ "rotate-z": se()
2274
2274
  }],
2275
2275
  /**
2276
2276
  * Scale
2277
2277
  * @see https://tailwindcss.com/docs/scale
2278
2278
  */
2279
2279
  scale: [{
2280
- scale: se()
2280
+ scale: ie()
2281
2281
  }],
2282
2282
  /**
2283
2283
  * Scale X
2284
2284
  * @see https://tailwindcss.com/docs/scale
2285
2285
  */
2286
2286
  "scale-x": [{
2287
- "scale-x": se()
2287
+ "scale-x": ie()
2288
2288
  }],
2289
2289
  /**
2290
2290
  * Scale Y
2291
2291
  * @see https://tailwindcss.com/docs/scale
2292
2292
  */
2293
2293
  "scale-y": [{
2294
- "scale-y": se()
2294
+ "scale-y": ie()
2295
2295
  }],
2296
2296
  /**
2297
2297
  * Scale Z
2298
2298
  * @see https://tailwindcss.com/docs/scale
2299
2299
  */
2300
2300
  "scale-z": [{
2301
- "scale-z": se()
2301
+ "scale-z": ie()
2302
2302
  }],
2303
2303
  /**
2304
2304
  * Scale 3D
@@ -2310,21 +2310,21 @@ const h = (e) => {
2310
2310
  * @see https://tailwindcss.com/docs/skew
2311
2311
  */
2312
2312
  skew: [{
2313
- skew: pe()
2313
+ skew: be()
2314
2314
  }],
2315
2315
  /**
2316
2316
  * Skew X
2317
2317
  * @see https://tailwindcss.com/docs/skew
2318
2318
  */
2319
2319
  "skew-x": [{
2320
- "skew-x": pe()
2320
+ "skew-x": be()
2321
2321
  }],
2322
2322
  /**
2323
2323
  * Skew Y
2324
2324
  * @see https://tailwindcss.com/docs/skew
2325
2325
  */
2326
2326
  "skew-y": [{
2327
- "skew-y": pe()
2327
+ "skew-y": be()
2328
2328
  }],
2329
2329
  /**
2330
2330
  * Transform
@@ -2338,7 +2338,7 @@ const h = (e) => {
2338
2338
  * @see https://tailwindcss.com/docs/transform-origin
2339
2339
  */
2340
2340
  "transform-origin": [{
2341
- origin: U()
2341
+ origin: B()
2342
2342
  }],
2343
2343
  /**
2344
2344
  * Transform Style
@@ -2352,28 +2352,28 @@ const h = (e) => {
2352
2352
  * @see https://tailwindcss.com/docs/translate
2353
2353
  */
2354
2354
  translate: [{
2355
- translate: ie()
2355
+ translate: le()
2356
2356
  }],
2357
2357
  /**
2358
2358
  * Translate X
2359
2359
  * @see https://tailwindcss.com/docs/translate
2360
2360
  */
2361
2361
  "translate-x": [{
2362
- "translate-x": ie()
2362
+ "translate-x": le()
2363
2363
  }],
2364
2364
  /**
2365
2365
  * Translate Y
2366
2366
  * @see https://tailwindcss.com/docs/translate
2367
2367
  */
2368
2368
  "translate-y": [{
2369
- "translate-y": ie()
2369
+ "translate-y": le()
2370
2370
  }],
2371
2371
  /**
2372
2372
  * Translate Z
2373
2373
  * @see https://tailwindcss.com/docs/translate
2374
2374
  */
2375
2375
  "translate-z": [{
2376
- "translate-z": ie()
2376
+ "translate-z": le()
2377
2377
  }],
2378
2378
  /**
2379
2379
  * Translate None
@@ -2655,7 +2655,7 @@ const h = (e) => {
2655
2655
  * @see https://tailwindcss.com/docs/stroke-width
2656
2656
  */
2657
2657
  "stroke-w": [{
2658
- stroke: [f, te, D, he]
2658
+ stroke: [p, re, V, ve]
2659
2659
  }],
2660
2660
  /**
2661
2661
  * Stroke
@@ -2730,139 +2730,75 @@ const h = (e) => {
2730
2730
  },
2731
2731
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
2732
2732
  };
2733
- }, dr = /* @__PURE__ */ Kt(cr);
2734
- function ur(...e) {
2735
- return dr(rt(e));
2733
+ }, mr = /* @__PURE__ */ Ht(ur);
2734
+ function me(...e) {
2735
+ return mr(at(e));
2736
2736
  }
2737
- const je = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ke = rt, ft = (e, t) => (r) => {
2737
+ const Ke = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, $e = at, fr = (e, t) => (r) => {
2738
2738
  var o;
2739
- if ((t == null ? void 0 : t.variants) == null) return Ke(e, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
2740
- const { variants: n, defaultVariants: a } = t, l = Object.keys(n).map((p) => {
2741
- const b = r == null ? void 0 : r[p], x = a == null ? void 0 : a[p];
2739
+ if ((t == null ? void 0 : t.variants) == null) return $e(e, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
2740
+ const { variants: a, defaultVariants: n } = t, l = Object.keys(a).map((g) => {
2741
+ const b = r == null ? void 0 : r[g], k = n == null ? void 0 : n[g];
2742
2742
  if (b === null) return null;
2743
- const A = je(b) || je(x);
2744
- return n[p][A];
2745
- }), g = r && Object.entries(r).reduce((p, b) => {
2746
- let [x, A] = b;
2747
- return A === void 0 || (p[x] = A), p;
2748
- }, {}), d = t == null || (o = t.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((p, b) => {
2749
- let { class: x, className: A, ...L } = b;
2750
- return Object.entries(L).every((k) => {
2751
- let [w, N] = k;
2743
+ const A = Ke(b) || Ke(k);
2744
+ return a[g][A];
2745
+ }), m = r && Object.entries(r).reduce((g, b) => {
2746
+ let [k, A] = b;
2747
+ return A === void 0 || (g[k] = A), g;
2748
+ }, {}), d = t == null || (o = t.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((g, b) => {
2749
+ let { class: k, className: A, ...z } = b;
2750
+ return Object.entries(z).every((x) => {
2751
+ let [w, N] = x;
2752
2752
  return Array.isArray(N) ? N.includes({
2753
- ...a,
2754
- ...g
2753
+ ...n,
2754
+ ...m
2755
2755
  }[w]) : {
2756
- ...a,
2757
- ...g
2756
+ ...n,
2757
+ ...m
2758
2758
  }[w] === N;
2759
2759
  }) ? [
2760
- ...p,
2761
- x,
2760
+ ...g,
2761
+ k,
2762
2762
  A
2763
- ] : p;
2763
+ ] : g;
2764
2764
  }, []);
2765
- return Ke(e, l, d, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
2766
- }, jr = {
2767
- start: "justify-start",
2768
- end: "justify-end",
2769
- center: "justify-center",
2770
- between: "justify-between",
2771
- around: "justify-around",
2772
- evenly: "justify-evenly",
2773
- stretch: "justify-stretch"
2774
- }, Kr = {
2775
- start: "items-start",
2776
- end: "items-end",
2777
- center: "items-center",
2778
- baseline: "items-baseline",
2779
- stretch: "items-stretch"
2780
- }, $r = {
2781
- body: "font-general",
2782
- heading: "font-general",
2783
- caption: "font-general"
2784
- }, Hr = {
2785
- xs: "text-xs",
2786
- sm: "text-sm",
2787
- base: "text-base",
2788
- lg: "text-lg",
2789
- xl: "text-xl",
2790
- "2xl": "text-2xl",
2791
- "3xl": "text-3xl",
2792
- "4xl": "text-4xl",
2793
- "5xl": "text-5xl",
2794
- "6xl": "text-6xl",
2795
- "7xl": "text-7xl",
2796
- "8xl": "text-8xl",
2797
- "9xl": "text-9xl"
2798
- }, Wr = {
2799
- normal: "font-normal",
2800
- medium: "font-medium",
2801
- semibold: "font-semibold",
2802
- bold: "font-bold",
2803
- light: "font-light"
2804
- }, Yr = {
2805
- 1: "grid-cols-1",
2806
- 2: "grid-cols-2",
2807
- 3: "grid-cols-3",
2808
- 4: "grid-cols-4",
2809
- 5: "grid-cols-5",
2810
- 6: "grid-cols-6",
2811
- 7: "grid-cols-7",
2812
- 8: "grid-cols-8",
2813
- 9: "grid-cols-9"
2814
- }, qr = {
2815
- 1: "grid-rows-1",
2816
- 2: "grid-rows-2",
2817
- 3: "grid-rows-3",
2818
- 4: "grid-rows-4",
2819
- 5: "grid-rows-5",
2820
- 6: "grid-rows-6",
2821
- 7: "grid-rows-7",
2822
- 8: "grid-rows-8",
2823
- 9: "grid-rows-9"
2824
- }, Jr = {
2825
- 1: "gap-1",
2826
- 2: "gap-2",
2827
- 3: "gap-3",
2828
- 4: "gap-4",
2829
- 5: "gap-5",
2830
- 6: "gap-6",
2831
- 7: "gap-7",
2832
- 8: "gap-8",
2833
- 9: "gap-9"
2834
- }, mr = ft(
2835
- "inline-flex justify-center items-center gap-2 disabled:opacity-50 aria-invalid:border-destructive focus-visible:border-ring rounded-md outline-none aria-invalid:ring-destructive/20 focus-visible:ring-[3px] focus-visible:ring-ring/50 dark:aria-invalid:ring-destructive/40 [&_svg:not([class*='size-'])]:size-4 font-medium text-sm whitespace-nowrap transition-all [&_svg]:pointer-events-none disabled:pointer-events-none shrink-0 [&_svg]:shrink-0",
2765
+ return $e(e, l, d, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
2766
+ }, pr = fr(
2767
+ "inline-flex justify-center cursor-pointer items-center gap-2 aria-invalid:border-destructive focus-visible:border-ring rounded-full outline-none aria-invalid:ring-destructive/20 focus-visible:ring-[3px] focus-visible:ring-ring/50 dark:aria-invalid:ring-destructive/40 [&_svg:not([class*='size-'])]:size-4 font-medium text-sm whitespace-nowrap [&_svg]:pointer-events-none disabled:pointer-events-none shrink-0 [&_svg]:shrink-0",
2836
2768
  {
2837
2769
  variants: {
2838
2770
  variant: {
2839
2771
  default: `
2840
- bg-primary text-primary-foreground shadow-xs
2841
- hover:bg-primary/90
2842
- `,
2843
- destructive: `
2844
- bg-destructive text-white shadow-xs
2845
- hover:bg-destructive/90
2846
- focus-visible:ring-destructive/20
2847
- dark:bg-destructive/60 dark:focus-visible:ring-destructive/40
2848
- `,
2772
+ bg-primary-foreground text-background
2773
+ hover:bg-gradient-orange hover:opacity-90
2774
+ disabled:bg-secondary disabled:opacity-50
2775
+ `,
2849
2776
  outline: `
2850
- border bg-background shadow-xs
2851
- hover:bg-accent hover:text-accent-foreground
2852
- dark:border-input dark:bg-input/30 dark:hover:bg-input/50
2777
+ text-secondary shadow-xs
2778
+ border border-muted-foreground bg-background
2779
+ hover:bg-primary
2780
+ disabled:opacity-50
2853
2781
  `,
2854
2782
  secondary: `
2855
- bg-secondary text-secondary-foreground shadow-xs
2856
- hover:bg-secondary/80
2783
+ text-secondary
2784
+ hover:text-primary hover:bg-gradient-orange hover:opacity-80
2785
+ disabled:text-secondary disabled:opacity-50
2786
+ `,
2787
+ destructive: `
2788
+ bg-destructive text-white
2789
+ hover:opacity-70
2790
+ focus-visible:ring-destructive/20
2791
+ disabled:bg-destructive disabled:opacity-40
2857
2792
  `,
2858
2793
  ghost: `
2859
- hover:bg-accent hover:text-accent-foreground
2860
- dark:hover:bg-accent/50
2794
+ text-secondary
2795
+ hover:shadow-sm
2796
+ disabled:opacity-50
2861
2797
  `,
2862
2798
  link: `
2863
- text-primary underline-offset-4
2864
- hover:underline
2865
- `
2799
+ text-tertiary-foreground underline-offset-4
2800
+ disabled:opacity-50
2801
+ `
2866
2802
  },
2867
2803
  size: {
2868
2804
  default: `
@@ -2870,11 +2806,16 @@ const je = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ke = rt, f
2870
2806
  has-[>svg]:px-3
2871
2807
  `,
2872
2808
  sm: `
2873
- h-8 gap-1.5 rounded-md px-3
2809
+ h-7 gap-1.5 px-3
2874
2810
  has-[>svg]:px-2.5
2875
2811
  `,
2876
2812
  lg: `
2877
- h-10 rounded-md px-6
2813
+ h-10 px-6
2814
+ has-[>svg]:px-4
2815
+ `,
2816
+ xl: `
2817
+ h-14 px-6
2818
+ text-base
2878
2819
  has-[>svg]:px-4
2879
2820
  `,
2880
2821
  icon: "size-9"
@@ -2885,53 +2826,72 @@ const je = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ke = rt, f
2885
2826
  size: "default"
2886
2827
  }
2887
2828
  }
2888
- ), Xr = ft(
2889
- "inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",
2890
- {
2891
- variants: {
2892
- variant: {
2893
- default: "border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",
2894
- secondary: "border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",
2895
- destructive: "border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
2896
- outline: "text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"
2897
- }
2898
- },
2899
- defaultVariants: {
2900
- variant: "default"
2901
- }
2902
- }
2903
2829
  );
2904
- function Qr({
2830
+ function Jr({
2905
2831
  className: e,
2906
2832
  variant: t,
2907
2833
  size: r,
2908
2834
  asChild: o = !1,
2909
- ...n
2835
+ ...a
2910
2836
  }) {
2911
- return /* @__PURE__ */ de(
2912
- o ? Et : "button",
2837
+ return /* @__PURE__ */ L(
2838
+ o ? It : "button",
2913
2839
  {
2914
2840
  "data-slot": "button",
2915
- className: ur(mr({ variant: t, size: r, className: e })),
2916
- ...n,
2841
+ className: me(pr({ variant: t, size: r, className: e })),
2842
+ ...a,
2917
2843
  "data-testid": "button"
2918
2844
  }
2919
2845
  );
2920
2846
  }
2921
- const fr = 10, gr = It(
2847
+ function Xr({ className: e, type: t, ...r }) {
2848
+ return /* @__PURE__ */ L(
2849
+ "input",
2850
+ {
2851
+ type: t,
2852
+ "data-slot": "input",
2853
+ className: me(
2854
+ `
2855
+ flex h-10 w-full min-w-0 rounded-sm border border-subtle bg-transparent
2856
+ px-3 py-2 text-base transition-[color,box-shadow]
2857
+ outline-none
2858
+ selection:bg-primary selection:text-primary-foreground
2859
+ file:inline-flex file:h-10 file:border-0 file:bg-transparent
2860
+ file:text-sm file:font-medium file:text-foreground
2861
+ text-secondary
2862
+ placeholder:text-accent-foreground
2863
+ disabled:pointer-events-none disabled:cursor-not-allowed
2864
+ disabled:opacity-50 disabled:placeholder:text-secondary-foreground
2865
+ md:text-sm
2866
+ `,
2867
+ `
2868
+ focus-visible:border-ring focus-visible:ring-[3px]
2869
+ focus-visible:ring-ring/50
2870
+ `,
2871
+ `
2872
+ aria-invalid:border-destructive aria-invalid:ring-destructive/20
2873
+ `,
2874
+ e
2875
+ ),
2876
+ ...r,
2877
+ "data-testid": "input"
2878
+ }
2879
+ );
2880
+ }
2881
+ const gr = 10, br = Ct(
2922
2882
  ({
2923
2883
  children: e,
2924
2884
  className: t = "",
2925
2885
  colors: r = ["#FF0080", "#7928CA", "#0070F3", "#38bdf8"],
2926
2886
  speed: o = 1
2927
2887
  }) => {
2928
- const n = {
2888
+ const a = {
2929
2889
  backgroundImage: `linear-gradient(135deg, ${r.join(", ")}, ${r[0]})`,
2930
2890
  WebkitBackgroundClip: "text",
2931
2891
  WebkitTextFillColor: "transparent",
2932
- animationDuration: `${fr / o}s`
2892
+ animationDuration: `${gr / o}s`
2933
2893
  };
2934
- return /* @__PURE__ */ At(
2894
+ return /* @__PURE__ */ Nt(
2935
2895
  "span",
2936
2896
  {
2937
2897
  className: `
@@ -2940,15 +2900,15 @@ const fr = 10, gr = It(
2940
2900
  `,
2941
2901
  "data-testid": "auroraText",
2942
2902
  children: [
2943
- /* @__PURE__ */ de("span", { className: "sr-only", children: e }),
2944
- /* @__PURE__ */ de(
2903
+ /* @__PURE__ */ L("span", { className: "sr-only", children: e }),
2904
+ /* @__PURE__ */ L(
2945
2905
  "span",
2946
2906
  {
2947
2907
  className: `
2948
2908
  relative animate-aurora bg-clip-text text-transparent
2949
2909
  bg-[length:200%_auto]
2950
2910
  `,
2951
- style: n,
2911
+ style: a,
2952
2912
  "aria-hidden": "true",
2953
2913
  children: e
2954
2914
  }
@@ -2958,76 +2918,76 @@ const fr = 10, gr = It(
2958
2918
  );
2959
2919
  }
2960
2920
  );
2961
- gr.displayName = "AuroraText";
2962
- var pr = Object.defineProperty, m = (e, t) => pr(e, "name", { value: t, configurable: !0 }), ve = /* @__PURE__ */ new Map(), _e = /* @__PURE__ */ new Map();
2963
- function Ne(e, t) {
2921
+ br.displayName = "AuroraText";
2922
+ var hr = Object.defineProperty, f = (e, t) => hr(e, "name", { value: t, configurable: !0 }), _e = /* @__PURE__ */ new Map(), ke = /* @__PURE__ */ new Map();
2923
+ function Ie(e, t) {
2964
2924
  return `${e}:${JSON.stringify(t ?? {})}`;
2965
2925
  }
2966
- m(Ne, "getFormatterKey");
2967
- function gt(e) {
2926
+ f(Ie, "getFormatterKey");
2927
+ function bt(e) {
2968
2928
  const t = typeof e == "string" || typeof e == "number" ? new Date(e) : e;
2969
2929
  return t instanceof Date && !Number.isNaN(t.getTime()) ? t : null;
2970
2930
  }
2971
- m(gt, "parseDate");
2972
- function br(e, t = "en", r) {
2973
- var a;
2974
- const o = gt(e);
2931
+ f(bt, "parseDate");
2932
+ function vr(e, t = "en", r) {
2933
+ var n;
2934
+ const o = bt(e);
2975
2935
  if (!o)
2976
2936
  return "";
2977
- const n = Ne(t, r);
2978
- return ve.has(n) || ve.set(n, new Intl.DateTimeFormat(t, r)), ((a = ve.get(n)) == null ? void 0 : a.format(o)) ?? "";
2937
+ const a = Ie(t, r);
2938
+ return _e.has(a) || _e.set(a, new Intl.DateTimeFormat(t, r)), ((n = _e.get(a)) == null ? void 0 : n.format(o)) ?? "";
2979
2939
  }
2980
- m(br, "formatDate");
2981
- function hr(e, t = "en", r) {
2982
- var n;
2940
+ f(vr, "formatDate");
2941
+ function _r(e, t = "en", r) {
2942
+ var a;
2983
2943
  if (typeof e != "number" || Number.isNaN(e))
2984
2944
  return "";
2985
- const o = Ne(t, r);
2986
- return _e.has(o) || _e.set(o, new Intl.NumberFormat(t, r)), ((n = _e.get(o)) == null ? void 0 : n.format(e)) ?? "";
2945
+ const o = Ie(t, r);
2946
+ return ke.has(o) || ke.set(o, new Intl.NumberFormat(t, r)), ((a = ke.get(o)) == null ? void 0 : a.format(e)) ?? "";
2987
2947
  }
2988
- m(hr, "formatNumber");
2989
- var me = {
2948
+ f(_r, "formatNumber");
2949
+ var fe = {
2990
2950
  defaultLocale: "en",
2991
2951
  supportedLocales: ["en", "es", "fr", "it", "pt-BR", "pt-PT"],
2992
2952
  fallbackLocale: "en"
2993
2953
  };
2994
- function vr() {
2995
- return me.supportedLocales;
2996
- }
2997
- m(vr, "getSupportedLanguages");
2998
- function _r() {
2999
- return me.defaultLocale;
2954
+ function kr() {
2955
+ return fe.supportedLocales;
3000
2956
  }
3001
- m(_r, "getDefaultLanguage");
2957
+ f(kr, "getSupportedLanguages");
3002
2958
  function xr() {
3003
- return me.fallbackLocale;
2959
+ return fe.defaultLocale;
3004
2960
  }
3005
- m(xr, "getFallbackLanguage");
3006
- function kr(e) {
3007
- return me.supportedLocales.includes(e);
2961
+ f(xr, "getDefaultLanguage");
2962
+ function wr() {
2963
+ return fe.fallbackLocale;
3008
2964
  }
3009
- m(kr, "isSupportedLanguage");
3010
- var V = /* @__PURE__ */ new Map();
3011
- function wr({
2965
+ f(wr, "getFallbackLanguage");
2966
+ function yr(e) {
2967
+ return fe.supportedLocales.includes(e);
2968
+ }
2969
+ f(yr, "isSupportedLanguage");
2970
+ var F = /* @__PURE__ */ new Map();
2971
+ function Rr({
3012
2972
  value: e,
3013
2973
  forms: t,
3014
2974
  lang: r,
3015
2975
  type: o = "cardinal"
3016
2976
  }) {
3017
- if (!bt(e, t))
2977
+ if (!vt(e, t))
3018
2978
  return "";
3019
2979
  if (e === 0 && t.zero)
3020
- return Re(t.zero, e);
3021
- const a = ht(r, o).select(e), l = pt(t, a) ?? t.other ?? Object.values(t)[0];
3022
- return l ? Re(l, e) : "";
2980
+ return Ae(t.zero, e);
2981
+ const n = _t(r, o).select(e), l = ht(t, n) ?? t.other ?? Object.values(t)[0];
2982
+ return l ? Ae(l, e) : "";
3023
2983
  }
3024
- m(wr, "pluralize");
3025
- function Ie(e, t) {
2984
+ f(Rr, "pluralize");
2985
+ function Oe(e, t) {
3026
2986
  return `${e}:${t}`;
3027
2987
  }
3028
- m(Ie, "getPluralRulesKey");
3029
- var yr = /{count}|#/g;
3030
- function pt(e, t) {
2988
+ f(Oe, "getPluralRulesKey");
2989
+ var Ar = /{count}|#/g;
2990
+ function ht(e, t) {
3031
2991
  switch (t) {
3032
2992
  case "zero":
3033
2993
  return e.zero;
@@ -3045,51 +3005,51 @@ function pt(e, t) {
3045
3005
  return;
3046
3006
  }
3047
3007
  }
3048
- m(pt, "selectTemplate");
3049
- function bt(e, t) {
3008
+ f(ht, "selectTemplate");
3009
+ function vt(e, t) {
3050
3010
  return typeof e == "number" && t && typeof t == "object";
3051
3011
  }
3052
- m(bt, "isValidInput");
3053
- function Re(e, t) {
3054
- return e.replaceAll(yr, t.toString());
3012
+ f(vt, "isValidInput");
3013
+ function Ae(e, t) {
3014
+ return e.replaceAll(Ar, t.toString());
3055
3015
  }
3056
- m(Re, "replacePlaceholders");
3057
- function ht(e, t) {
3058
- const r = Ie(e, t);
3059
- if (!V.has(r))
3016
+ f(Ae, "replacePlaceholders");
3017
+ function _t(e, t) {
3018
+ const r = Oe(e, t);
3019
+ if (!F.has(r))
3060
3020
  try {
3061
- V.set(r, new Intl.PluralRules(e, { type: t }));
3021
+ F.set(r, new Intl.PluralRules(e, { type: t }));
3062
3022
  } catch {
3063
3023
  return ue(r, t);
3064
3024
  }
3065
- return V.get(r) ?? ue(r, t);
3025
+ return F.get(r) ?? ue(r, t);
3066
3026
  }
3067
- m(ht, "getPluralRules");
3027
+ f(_t, "getPluralRules");
3068
3028
  function ue(e, t) {
3069
- const r = Ie("en", t);
3070
- V.has(r) || V.set(r, new Intl.PluralRules("en", { type: t }));
3071
- const o = V.get(r) ?? ue(r, t);
3072
- return V.set(e, o), o;
3029
+ const r = Oe("en", t);
3030
+ F.has(r) || F.set(r, new Intl.PluralRules("en", { type: t }));
3031
+ const o = F.get(r) ?? ue(r, t);
3032
+ return F.set(e, o), o;
3073
3033
  }
3074
- m(ue, "getFallbackPluralRules");
3075
- var Ae = null;
3076
- function Rr(e) {
3077
- Ae = e;
3034
+ f(ue, "getFallbackPluralRules");
3035
+ var Ee = null;
3036
+ function Er(e) {
3037
+ Ee = e;
3078
3038
  }
3079
- m(Rr, "setTranslationService");
3080
- function Ee() {
3081
- if (!Ae)
3039
+ f(Er, "setTranslationService");
3040
+ function Se() {
3041
+ if (!Ee)
3082
3042
  throw new Error(
3083
3043
  "Translation service not initialized. Make sure to call setTranslationService() first."
3084
3044
  );
3085
- return Ae;
3045
+ return Ee;
3086
3046
  }
3087
- m(Ee, "getTranslationService");
3088
- function vt(e, t) {
3047
+ f(Se, "getTranslationService");
3048
+ function kt(e, t) {
3089
3049
  return t ? e.replace(/\{(\w+)\}/g, (r, o) => t[o] !== void 0 ? String(t[o]) : r) : e;
3090
3050
  }
3091
- m(vt, "format");
3092
- var _t = /* @__PURE__ */ ((e) => (e.AUTH_INVALID_CREDENTIALS = "auth.invalid_credentials", e.AUTH_ACCOUNT_LOCKED = "auth.account_locked", e.AUTH_EMAIL_NOT_VERIFIED = "auth.email_not_verified", e.AUTH_TOKEN_EXPIRED = "auth.token_expired", e.AUTH_TOKEN_INVALID = "auth.token_invalid", e.AUTH_INSUFFICIENT_PERMISSIONS = "auth.insufficient_permissions", e.AUTH_EMAIL_TAKEN = "auth.email_taken", e.AUTH_USERNAME_TAKEN = "auth.username_taken", e.AUTH_WALLET_SIGNATURE_INVALID = "auth.wallet_signature_invalid", e.VALIDATION_ERROR = "validation.error", e.REQUIRED_FIELD_MISSING = "validation.required_field_missing", e.INVALID_FORMAT = "validation.invalid_format", e.INVALID_ENUM_VALUE = "validation.invalid_enum_value", e.STRING_TOO_SHORT = "validation.string_too_short", e.STRING_TOO_LONG = "validation.string_too_long", e.NUMBER_TOO_SMALL = "validation.number_too_small", e.NUMBER_TOO_LARGE = "validation.number_too_large", e.ARRAY_TOO_SHORT = "validation.array_too_short", e.ARRAY_TOO_LONG = "validation.array_too_long", e.FILE_TOO_LARGE = "validation.file_too_large", e.UNSUPPORTED_FILE_TYPE = "validation.unsupported_file_type", e.DB_ENTITY_NOT_FOUND = "database.entity_not_found", e.DB_DUPLICATE_ENTRY = "database.duplicate_entry", e.DB_RELATION_VIOLATION = "database.relation_violation", e.DB_CONNECTION_ERROR = "database.connection_error", e.DB_TRANSACTION_FAILED = "database.transaction_failed", e.BLOCKCHAIN_CONNECTION_ERROR = "blockchain.connection_error", e.TRANSACTION_FAILED = "blockchain.transaction_failed", e.WALLET_CONNECTION_ERROR = "blockchain.wallet_connection_error", e.CONTRACT_INTERACTION_ERROR = "blockchain.contract_interaction_error", e.INSUFFICIENT_FUNDS = "blockchain.insufficient_funds", e.INTERNAL_SERVER_ERROR = "system.internal_server_error", e.SERVICE_UNAVAILABLE = "system.service_unavailable", e.EXTERNAL_SERVICE_ERROR = "system.external_service_error", e.RATE_LIMIT_EXCEEDED = "system.rate_limit_exceeded", e.FEATURE_DISABLED = "system.feature_disabled", e.GENERIC_ERROR = "generic.error", e.NOT_FOUND = "generic.not_found", e.CONFLICT = "generic.conflict", e.TIMEOUT = "generic.timeout", e))(_t || {}), $e = {
3051
+ f(kt, "format");
3052
+ var xt = /* @__PURE__ */ ((e) => (e.AUTH_INVALID_CREDENTIALS = "auth.invalid_credentials", e.AUTH_ACCOUNT_LOCKED = "auth.account_locked", e.AUTH_EMAIL_NOT_VERIFIED = "auth.email_not_verified", e.AUTH_TOKEN_EXPIRED = "auth.token_expired", e.AUTH_TOKEN_INVALID = "auth.token_invalid", e.AUTH_INSUFFICIENT_PERMISSIONS = "auth.insufficient_permissions", e.AUTH_EMAIL_TAKEN = "auth.email_taken", e.AUTH_USERNAME_TAKEN = "auth.username_taken", e.AUTH_WALLET_SIGNATURE_INVALID = "auth.wallet_signature_invalid", e.VALIDATION_ERROR = "validation.error", e.REQUIRED_FIELD_MISSING = "validation.required_field_missing", e.INVALID_FORMAT = "validation.invalid_format", e.INVALID_ENUM_VALUE = "validation.invalid_enum_value", e.STRING_TOO_SHORT = "validation.string_too_short", e.STRING_TOO_LONG = "validation.string_too_long", e.NUMBER_TOO_SMALL = "validation.number_too_small", e.NUMBER_TOO_LARGE = "validation.number_too_large", e.ARRAY_TOO_SHORT = "validation.array_too_short", e.ARRAY_TOO_LONG = "validation.array_too_long", e.FILE_TOO_LARGE = "validation.file_too_large", e.UNSUPPORTED_FILE_TYPE = "validation.unsupported_file_type", e.DB_ENTITY_NOT_FOUND = "database.entity_not_found", e.DB_DUPLICATE_ENTRY = "database.duplicate_entry", e.DB_RELATION_VIOLATION = "database.relation_violation", e.DB_CONNECTION_ERROR = "database.connection_error", e.DB_TRANSACTION_FAILED = "database.transaction_failed", e.BLOCKCHAIN_CONNECTION_ERROR = "blockchain.connection_error", e.TRANSACTION_FAILED = "blockchain.transaction_failed", e.WALLET_CONNECTION_ERROR = "blockchain.wallet_connection_error", e.CONTRACT_INTERACTION_ERROR = "blockchain.contract_interaction_error", e.INSUFFICIENT_FUNDS = "blockchain.insufficient_funds", e.INTERNAL_SERVER_ERROR = "system.internal_server_error", e.SERVICE_UNAVAILABLE = "system.service_unavailable", e.EXTERNAL_SERVICE_ERROR = "system.external_service_error", e.RATE_LIMIT_EXCEEDED = "system.rate_limit_exceeded", e.FEATURE_DISABLED = "system.feature_disabled", e.GENERIC_ERROR = "generic.error", e.NOT_FOUND = "generic.not_found", e.CONFLICT = "generic.conflict", e.TIMEOUT = "generic.timeout", e))(xt || {}), He = {
3093
3053
  "auth.invalid_credentials": "errors.auth.invalid_credentials",
3094
3054
  "auth.account_locked": "errors.auth.account_locked",
3095
3055
  "auth.email_not_verified": "errors.auth.email_not_verified",
@@ -3099,7 +3059,7 @@ var _t = /* @__PURE__ */ ((e) => (e.AUTH_INVALID_CREDENTIALS = "auth.invalid_cre
3099
3059
  "auth.email_taken": "errors.auth.email_taken",
3100
3060
  "auth.username_taken": "errors.auth.username_taken",
3101
3061
  "auth.wallet_signature_invalid": "errors.auth.wallet_signature_invalid"
3102
- }, He = {
3062
+ }, We = {
3103
3063
  "validation.error": "errors.validation.error",
3104
3064
  "validation.required_field_missing": "errors.validation.required_field_missing",
3105
3065
  "validation.invalid_format": "errors.validation.invalid_format",
@@ -3112,30 +3072,30 @@ var _t = /* @__PURE__ */ ((e) => (e.AUTH_INVALID_CREDENTIALS = "auth.invalid_cre
3112
3072
  "validation.array_too_long": "errors.validation.array_too_long",
3113
3073
  "validation.file_too_large": "errors.validation.file_too_large",
3114
3074
  "validation.unsupported_file_type": "errors.validation.unsupported_file_type"
3115
- }, We = {
3075
+ }, Ye = {
3116
3076
  "database.entity_not_found": "errors.database.entity_not_found",
3117
3077
  "database.duplicate_entry": "errors.database.duplicate_entry",
3118
3078
  "database.relation_violation": "errors.database.relation_violation",
3119
3079
  "database.connection_error": "errors.database.connection_error",
3120
3080
  "database.transaction_failed": "errors.database.transaction_failed"
3121
- }, Ye = {
3081
+ }, qe = {
3122
3082
  "blockchain.connection_error": "errors.blockchain.connection_error",
3123
3083
  "blockchain.transaction_failed": "errors.blockchain.transaction_failed",
3124
3084
  "blockchain.wallet_connection_error": "errors.blockchain.wallet_connection_error",
3125
3085
  "blockchain.contract_interaction_error": "errors.blockchain.contract_interaction_error",
3126
3086
  "blockchain.insufficient_funds": "errors.blockchain.insufficient_funds"
3127
- }, qe = {
3087
+ }, Je = {
3128
3088
  "system.internal_server_error": "errors.system.internal_server_error",
3129
3089
  "system.service_unavailable": "errors.system.service_unavailable",
3130
3090
  "system.external_service_error": "errors.system.external_service_error",
3131
3091
  "system.rate_limit_exceeded": "errors.system.rate_limit_exceeded",
3132
3092
  "system.feature_disabled": "errors.system.feature_disabled"
3133
- }, Je = {
3093
+ }, Xe = {
3134
3094
  "generic.error": "errors.general.internal_error",
3135
3095
  "generic.not_found": "errors.general.not_found",
3136
3096
  "generic.conflict": "errors.general.conflict",
3137
3097
  "generic.timeout": "errors.general.timeout"
3138
- }, Xe = {
3098
+ }, Qe = {
3139
3099
  "auth.invalid_credentials": 401,
3140
3100
  "auth.account_locked": 423,
3141
3101
  "auth.email_not_verified": 403,
@@ -3145,7 +3105,7 @@ var _t = /* @__PURE__ */ ((e) => (e.AUTH_INVALID_CREDENTIALS = "auth.invalid_cre
3145
3105
  "auth.email_taken": 409,
3146
3106
  "auth.username_taken": 409,
3147
3107
  "auth.wallet_signature_invalid": 401
3148
- }, Qe = {
3108
+ }, Ze = {
3149
3109
  "validation.error": 400,
3150
3110
  "validation.required_field_missing": 400,
3151
3111
  "validation.invalid_format": 400,
@@ -3158,19 +3118,19 @@ var _t = /* @__PURE__ */ ((e) => (e.AUTH_INVALID_CREDENTIALS = "auth.invalid_cre
3158
3118
  "validation.array_too_long": 400,
3159
3119
  "validation.file_too_large": 400,
3160
3120
  "validation.unsupported_file_type": 400
3161
- }, Ze = {
3121
+ }, et = {
3162
3122
  "database.entity_not_found": 404,
3163
3123
  "database.duplicate_entry": 409,
3164
3124
  "database.relation_violation": 400,
3165
3125
  "database.connection_error": 503,
3166
3126
  "database.transaction_failed": 500
3167
- }, et = {
3127
+ }, tt = {
3168
3128
  "blockchain.connection_error": 503,
3169
3129
  "blockchain.transaction_failed": 400,
3170
3130
  "blockchain.wallet_connection_error": 503,
3171
3131
  "blockchain.contract_interaction_error": 400,
3172
3132
  "blockchain.insufficient_funds": 400
3173
- }, tt = {
3133
+ }, rt = {
3174
3134
  "system.internal_server_error": 500,
3175
3135
  "system.service_unavailable": 503,
3176
3136
  "system.external_service_error": 502,
@@ -3181,9 +3141,9 @@ var _t = /* @__PURE__ */ ((e) => (e.AUTH_INVALID_CREDENTIALS = "auth.invalid_cre
3181
3141
  "generic.not_found": 404,
3182
3142
  "generic.conflict": 409,
3183
3143
  "generic.timeout": 408
3184
- }, F, R = (F = class extends Error {
3144
+ }, U, R = (U = class extends Error {
3185
3145
  constructor(r, o = {}) {
3186
- const { locale: n = "en", params: a, details: l, cause: g } = o, d = Oe(r, n, a);
3146
+ const { locale: a = "en", params: n, details: l, cause: m } = o, d = Ce(r, a, n);
3187
3147
  super(d);
3188
3148
  E(this, "name");
3189
3149
  E(this, "type");
@@ -3193,7 +3153,7 @@ var _t = /* @__PURE__ */ ((e) => (e.AUTH_INVALID_CREDENTIALS = "auth.invalid_cre
3193
3153
  E(this, "details");
3194
3154
  E(this, "cause");
3195
3155
  E(this, "correlationId");
3196
- this.name = this.constructor.name, this.type = r, this.message = d, this.code = r.replace(/\./g, "_").toUpperCase(), this.statusCode = kt(r), this.timestamp = (/* @__PURE__ */ new Date()).toISOString(), this.details = l, this.cause = g, Error.captureStackTrace && Error.captureStackTrace(this, this.constructor);
3156
+ this.name = this.constructor.name, this.type = r, this.message = d, this.code = r.replace(/\./g, "_").toUpperCase(), this.statusCode = yt(r), this.timestamp = (/* @__PURE__ */ new Date()).toISOString(), this.details = l, this.cause = m, Error.captureStackTrace && Error.captureStackTrace(this, this.constructor);
3197
3157
  }
3198
3158
  // Serialization methods
3199
3159
  toJSON() {
@@ -3210,77 +3170,77 @@ var _t = /* @__PURE__ */ ((e) => (e.AUTH_INVALID_CREDENTIALS = "auth.invalid_cre
3210
3170
  }
3211
3171
  // Factory method for creating error from plain object
3212
3172
  static fromJSON(r) {
3213
- const o = new F(r.type);
3173
+ const o = new U(r.type);
3214
3174
  return Object.assign(o, r), o;
3215
3175
  }
3216
- }, m(F, "BaseError"), F), K, Ar = (K = class extends R {
3176
+ }, f(U, "BaseError"), U), $, Sr = ($ = class extends R {
3217
3177
  constructor(t, r = {}) {
3218
3178
  super(t, r);
3219
3179
  }
3220
- }, m(K, "ValidationError"), K), $, Er = ($ = class extends R {
3180
+ }, f($, "ValidationError"), $), H, Nr = (H = class extends R {
3221
3181
  constructor(t, r = {}) {
3222
3182
  super(t, r);
3223
3183
  }
3224
- }, m($, "AuthError"), $), H;
3225
- H = class extends R {
3184
+ }, f(H, "AuthError"), H), W;
3185
+ W = class extends R {
3226
3186
  constructor(t, r = {}) {
3227
3187
  super(t, r);
3228
3188
  }
3229
- }, m(H, "ApiError");
3230
- var W;
3231
- W = class extends R {
3189
+ }, f(W, "ApiError");
3190
+ var Y;
3191
+ Y = class extends R {
3232
3192
  constructor(t, r = {}) {
3233
3193
  super(t, r);
3234
3194
  }
3235
- }, m(W, "BusinessError");
3236
- var Y, Sr = (Y = class extends R {
3195
+ }, f(Y, "BusinessError");
3196
+ var q, Ir = (q = class extends R {
3237
3197
  constructor(t, r = {}) {
3238
3198
  super(t, r);
3239
3199
  }
3240
- }, m(Y, "BlockchainError"), Y), q;
3241
- q = class extends R {
3200
+ }, f(q, "BlockchainError"), q), J;
3201
+ J = class extends R {
3242
3202
  constructor(t = "generic.error", r = {}) {
3243
3203
  super(t, r);
3244
3204
  }
3245
- }, m(q, "GenericError");
3246
- function Oe(e, t = "en", r) {
3205
+ }, f(J, "GenericError");
3206
+ function Ce(e, t = "en", r) {
3247
3207
  try {
3248
- const o = xt(e);
3249
- return Ee().t(o, {
3208
+ const o = wt(e);
3209
+ return Se().t(o, {
3250
3210
  lang: t,
3251
3211
  interpolation: r,
3252
3212
  defaultValue: `Error: ${e}`
3253
3213
  });
3254
3214
  } catch {
3255
- return Ee().t("errors.general.internal_error", {
3215
+ return Se().t("errors.general.internal_error", {
3256
3216
  lang: t,
3257
3217
  interpolation: r,
3258
3218
  defaultValue: "An internal server error occurred"
3259
3219
  });
3260
3220
  }
3261
3221
  }
3262
- m(Oe, "translateError");
3263
- function xt(e) {
3264
- return e in $e ? $e[e] : e in He ? He[e] : e in We ? We[e] : e in Ye ? Ye[e] : e in qe ? qe[e] : e in Je ? Je[e] : "errors.general.internal_error";
3222
+ f(Ce, "translateError");
3223
+ function wt(e) {
3224
+ return e in He ? He[e] : e in We ? We[e] : e in Ye ? Ye[e] : e in qe ? qe[e] : e in Je ? Je[e] : e in Xe ? Xe[e] : "errors.general.internal_error";
3265
3225
  }
3266
- m(xt, "getTranslationKeyForErrorType");
3267
- function kt(e) {
3268
- return e in Xe ? Xe[e] : e in Qe ? Qe[e] : e in Ze ? Ze[e] : e in et ? et[e] : e in tt ? tt[e] : e in xe ? xe[e] : xe[
3226
+ f(wt, "getTranslationKeyForErrorType");
3227
+ function yt(e) {
3228
+ return e in Qe ? Qe[e] : e in Ze ? Ze[e] : e in et ? et[e] : e in tt ? tt[e] : e in rt ? rt[e] : e in xe ? xe[e] : xe[
3269
3229
  "system.internal_server_error"
3270
3230
  /* INTERNAL_SERVER_ERROR */
3271
3231
  ];
3272
3232
  }
3273
- m(kt, "getStatusCodeForType");
3274
- function Nr(e, t = "en", r) {
3233
+ f(yt, "getStatusCodeForType");
3234
+ function Or(e, t = "en", r) {
3275
3235
  if (typeof e == "string")
3276
- return vt(e, r);
3236
+ return kt(e, r);
3277
3237
  if (e instanceof R)
3278
3238
  return e.message;
3279
3239
  const o = e;
3280
- return o.type && Object.values(_t).includes(o.type) ? Oe(o.type, t, r) : e.message || "An unknown error occurred";
3240
+ return o.type && Object.values(xt).includes(o.type) ? Ce(o.type, t, r) : e.message || "An unknown error occurred";
3281
3241
  }
3282
- m(Nr, "formatErrorMessage");
3283
- function Ir(e, t) {
3242
+ f(Or, "formatErrorMessage");
3243
+ function Cr(e, t) {
3284
3244
  const r = (/* @__PURE__ */ new Date()).toISOString();
3285
3245
  return e instanceof R ? {
3286
3246
  statusCode: e.statusCode,
@@ -3296,32 +3256,32 @@ function Ir(e, t) {
3296
3256
  timestamp: r
3297
3257
  };
3298
3258
  }
3299
- m(Ir, "createErrorResponse");
3300
- function Or(e, t) {
3259
+ f(Cr, "createErrorResponse");
3260
+ function Tr(e, t) {
3301
3261
  return e instanceof R && e.type === t;
3302
3262
  }
3303
- m(Or, "isErrorType");
3304
- function Cr(e) {
3305
- return e instanceof Ar || e instanceof R && e.type.startsWith("validation.");
3306
- }
3307
- m(Cr, "isValidationError");
3308
- function Tr(e) {
3309
- return e instanceof Er || e instanceof R && e.type.startsWith("auth.");
3310
- }
3311
- m(Tr, "isAuthError");
3263
+ f(Tr, "isErrorType");
3312
3264
  function Lr(e) {
3313
- return e instanceof Sr || e instanceof R && e.type.startsWith("blockchain.");
3265
+ return e instanceof Sr || e instanceof R && e.type.startsWith("validation.");
3314
3266
  }
3315
- m(Lr, "isBlockchainError");
3267
+ f(Lr, "isValidationError");
3316
3268
  function zr(e) {
3317
- return e.toJSON();
3269
+ return e instanceof Nr || e instanceof R && e.type.startsWith("auth.");
3318
3270
  }
3319
- m(zr, "serializeError");
3271
+ f(zr, "isAuthError");
3320
3272
  function Mr(e) {
3321
- return R.fromJSON(e);
3273
+ return e instanceof Ir || e instanceof R && e.type.startsWith("blockchain.");
3322
3274
  }
3323
- m(Mr, "deserializeError");
3275
+ f(Mr, "isBlockchainError");
3324
3276
  function Pr(e) {
3277
+ return e.toJSON();
3278
+ }
3279
+ f(Pr, "serializeError");
3280
+ function Dr(e) {
3281
+ return R.fromJSON(e);
3282
+ }
3283
+ f(Dr, "deserializeError");
3284
+ function Vr(e) {
3325
3285
  return e.map((t) => ({
3326
3286
  field: t.field,
3327
3287
  message: t.message,
@@ -3332,7 +3292,7 @@ function Pr(e) {
3332
3292
  }
3333
3293
  }));
3334
3294
  }
3335
- m(Pr, "createValidationErrorDetails");
3295
+ f(Vr, "createValidationErrorDetails");
3336
3296
  var S;
3337
3297
  S = class {
3338
3298
  constructor() {
@@ -3361,9 +3321,9 @@ S = class {
3361
3321
  * @private
3362
3322
  */
3363
3323
  detectFromRequest(t) {
3364
- var a, l, g;
3365
- const r = (a = t.url.split("?")[1]) == null ? void 0 : a.split("=")[1], o = t.headers.get("accept-language"), n = (g = (l = t.headers.get("cookie")) == null ? void 0 : l.split("; ").find((d) => d.startsWith("locale="))) == null ? void 0 : g.split("=")[1];
3366
- return r ?? n ?? this.parseAcceptLanguage(o ?? "") ?? this.fallbackLocale;
3324
+ var n, l, m;
3325
+ const r = (n = t.url.split("?")[1]) == null ? void 0 : n.split("=")[1], o = t.headers.get("accept-language"), a = (m = (l = t.headers.get("cookie")) == null ? void 0 : l.split("; ").find((d) => d.startsWith("locale="))) == null ? void 0 : m.split("=")[1];
3326
+ return r ?? a ?? this.parseAcceptLanguage(o ?? "") ?? this.fallbackLocale;
3367
3327
  }
3368
3328
  /**
3369
3329
  * Parse Accept-Language header and return the highest priority language.
@@ -3375,21 +3335,21 @@ S = class {
3375
3335
  if (!t)
3376
3336
  return null;
3377
3337
  let r = null, o = 0;
3378
- for (const n of t.split(",")) {
3379
- const { lang: a, q: l } = this.parseLangAndQ(n.trim());
3380
- if (l > o && (o = l, r = a, l === 1))
3338
+ for (const a of t.split(",")) {
3339
+ const { lang: n, q: l } = this.parseLangAndQ(a.trim());
3340
+ if (l > o && (o = l, r = n, l === 1))
3381
3341
  break;
3382
3342
  }
3383
3343
  return r;
3384
3344
  }
3385
3345
  parseLangAndQ(t) {
3386
3346
  const r = t.indexOf(";"), o = r === -1 ? t : t.slice(0, Math.max(0, r));
3387
- let n = 1;
3347
+ let a = 1;
3388
3348
  if (r !== -1) {
3389
- const a = /q=(?<q>[\d.]+)/.exec(t.slice(r + 1));
3390
- n = a != null && a.groups ? Number.parseFloat(a.groups.q) || 0 : 1;
3349
+ const n = /q=(?<q>[\d.]+)/.exec(t.slice(r + 1));
3350
+ a = n != null && n.groups ? Number.parseFloat(n.groups.q) || 0 : 1;
3391
3351
  }
3392
- return { lang: o, q: n };
3352
+ return { lang: o, q: a };
3393
3353
  }
3394
3354
  /**
3395
3355
  * Set the fallback locale.
@@ -3399,9 +3359,9 @@ S = class {
3399
3359
  setFallbackLocale(t) {
3400
3360
  this.fallbackLocale = t;
3401
3361
  }
3402
- }, m(S, "LocaleDetector"), E(S, "instance");
3403
- var J;
3404
- J = class {
3362
+ }, f(S, "LocaleDetector"), E(S, "instance");
3363
+ var X;
3364
+ X = class {
3405
3365
  constructor(t) {
3406
3366
  E(this, "namespaces");
3407
3367
  this.namespaces = t ? new Map(t) : /* @__PURE__ */ new Map();
@@ -3413,7 +3373,7 @@ J = class {
3413
3373
  * @throws {Error} If the namespace name is invalid.
3414
3374
  */
3415
3375
  addNamespace(t, r) {
3416
- if (!wt(t))
3376
+ if (!Rt(t))
3417
3377
  throw new Error("Invalid namespace name");
3418
3378
  this.namespaces.set(t, r);
3419
3379
  }
@@ -3438,8 +3398,8 @@ J = class {
3438
3398
  * @param {string} source - Source namespace name.
3439
3399
  */
3440
3400
  mergeNamespaces(t, r) {
3441
- const o = this.namespaces.get(t) ?? {}, n = this.namespaces.get(r) ?? {};
3442
- this.namespaces.set(t, { ...o, ...n });
3401
+ const o = this.namespaces.get(t) ?? {}, a = this.namespaces.get(r) ?? {};
3402
+ this.namespaces.set(t, { ...o, ...a });
3443
3403
  }
3444
3404
  /**
3445
3405
  * Validate a namespace against a schema.
@@ -3449,18 +3409,18 @@ J = class {
3449
3409
  */
3450
3410
  validateNamespace(t, r) {
3451
3411
  const o = this.namespaces.get(t);
3452
- return o ? r ? Object.entries(r).every(([n, a]) => {
3453
- var g;
3454
- const l = (g = Object.getOwnPropertyDescriptor(o, n)) == null ? void 0 : g.value;
3455
- return l !== void 0 && typeof l === a;
3412
+ return o ? r ? Object.entries(r).every(([a, n]) => {
3413
+ var m;
3414
+ const l = (m = Object.getOwnPropertyDescriptor(o, a)) == null ? void 0 : m.value;
3415
+ return l !== void 0 && typeof l === n;
3456
3416
  }) : !0 : !1;
3457
3417
  }
3458
- }, m(J, "NamespaceManager");
3459
- function wt(e) {
3418
+ }, f(X, "NamespaceManager");
3419
+ function Rt(e) {
3460
3420
  return /^\w+$/.test(e);
3461
3421
  }
3462
- m(wt, "isSafeKey");
3463
- var Dr = [
3422
+ f(Rt, "isSafeKey");
3423
+ var Fr = [
3464
3424
  "a",
3465
3425
  "button",
3466
3426
  "div",
@@ -3478,33 +3438,74 @@ var Dr = [
3478
3438
  "span",
3479
3439
  "svg",
3480
3440
  "ul"
3481
- ], Zr = Dr.reduce((e, t) => {
3482
- const r = St(`Primitive.${t}`), o = Nt.forwardRef((n, a) => {
3483
- const { asChild: l, ...g } = n, d = l ? r : t;
3484
- return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ de(d, { ...g, ref: a });
3441
+ ], Ur = Fr.reduce((e, t) => {
3442
+ const r = Ot(`Primitive.${t}`), o = nt.forwardRef((a, n) => {
3443
+ const { asChild: l, ...m } = a, d = l ? r : t;
3444
+ return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ L(d, { ...m, ref: n });
3485
3445
  });
3486
3446
  return o.displayName = `Primitive.${t}`, { ...e, [t]: o };
3487
3447
  }, {});
3488
- function eo(e, t) {
3489
- e && Ot.flushSync(() => e.dispatchEvent(t));
3448
+ function Qr(e, t) {
3449
+ e && Tt.flushSync(() => e.dispatchEvent(t));
3450
+ }
3451
+ var Gr = "Separator", ot = "horizontal", Br = ["horizontal", "vertical"], At = nt.forwardRef((e, t) => {
3452
+ const { decorative: r, orientation: o = ot, ...a } = e, n = jr(o) ? o : ot, m = r ? { role: "none" } : { "aria-orientation": n === "vertical" ? n : void 0, role: "separator" };
3453
+ return /* @__PURE__ */ L(
3454
+ Ur.div,
3455
+ {
3456
+ "data-orientation": n,
3457
+ ...m,
3458
+ ...a,
3459
+ ref: t
3460
+ }
3461
+ );
3462
+ });
3463
+ At.displayName = Gr;
3464
+ function jr(e) {
3465
+ return Br.includes(e);
3466
+ }
3467
+ var Kr = At;
3468
+ function Zr({
3469
+ className: e,
3470
+ orientation: t = "horizontal",
3471
+ decorative: r = !0,
3472
+ ...o
3473
+ }) {
3474
+ return /* @__PURE__ */ L(
3475
+ Kr,
3476
+ {
3477
+ "data-slot": "separator",
3478
+ decorative: r,
3479
+ orientation: t,
3480
+ className: me(
3481
+ "bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",
3482
+ e
3483
+ ),
3484
+ ...o
3485
+ }
3486
+ );
3487
+ }
3488
+ function eo({ className: e, ...t }) {
3489
+ return /* @__PURE__ */ L(
3490
+ "div",
3491
+ {
3492
+ "data-slot": "skeleton",
3493
+ className: me("bg-primary animate-pulse rounded-md", e),
3494
+ ...t
3495
+ }
3496
+ );
3490
3497
  }
3491
3498
  export {
3492
- Kr as A,
3493
- Qr as B,
3494
- Yr as C,
3495
- Jr as G,
3496
- jr as J,
3497
- Zr as P,
3498
- qr as R,
3499
- Hr as S,
3500
- Wr as T,
3501
- $r as V,
3502
- hr as a,
3503
- ft as b,
3504
- ur as c,
3505
- Xr as d,
3506
- mr as e,
3507
- br as f,
3508
- gr as g,
3509
- eo as h
3499
+ br as A,
3500
+ Jr as B,
3501
+ Xr as I,
3502
+ Ur as P,
3503
+ Zr as S,
3504
+ fr as a,
3505
+ _r as b,
3506
+ me as c,
3507
+ pr as d,
3508
+ eo as e,
3509
+ vr as f,
3510
+ Qr as g
3510
3511
  };