@sudobility/entity-components 1.0.0 → 1.0.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.
package/dist/index.esm.js CHANGED
@@ -1,127 +1,127 @@
1
- import { jsx as a, jsxs as x, Fragment as re } from "react/jsx-runtime";
1
+ import { jsx as a, jsxs as w, Fragment as re } from "react/jsx-runtime";
2
2
  import { User as se, Building2 as ue, ChevronDown as Re, Plus as $e, Check as pe, Shield as Xe, Briefcase as Ye, Eye as qe, Trash2 as Je, Mail as Me, Loader2 as He, Send as Ke, Clock as Qe, XCircle as Ze, X as er } from "lucide-react";
3
3
  import { useState as X } from "react";
4
4
  import { EntityRole as te } from "@sudobility/types";
5
- function Pe(e) {
6
- var r, t, o = "";
7
- if (typeof e == "string" || typeof e == "number") o += e;
5
+ function Ee(e) {
6
+ var o, r, t = "";
7
+ if (typeof e == "string" || typeof e == "number") t += e;
8
8
  else if (typeof e == "object") if (Array.isArray(e)) {
9
9
  var s = e.length;
10
- for (r = 0; r < s; r++) e[r] && (t = Pe(e[r])) && (o && (o += " "), o += t);
11
- } else for (t in e) e[t] && (o && (o += " "), o += t);
12
- return o;
10
+ for (o = 0; o < s; o++) e[o] && (r = Ee(e[o])) && (t && (t += " "), t += r);
11
+ } else for (r in e) e[r] && (t && (t += " "), t += r);
12
+ return t;
13
13
  }
14
14
  function rr() {
15
- for (var e, r, t = 0, o = "", s = arguments.length; t < s; t++) (e = arguments[t]) && (r = Pe(e)) && (o && (o += " "), o += r);
16
- return o;
17
- }
18
- const tr = (e, r) => {
19
- const t = new Array(e.length + r.length);
20
- for (let o = 0; o < e.length; o++)
21
- t[o] = e[o];
22
- for (let o = 0; o < r.length; o++)
23
- t[e.length + o] = r[o];
15
+ for (var e, o, r = 0, t = "", s = arguments.length; r < s; r++) (e = arguments[r]) && (o = Ee(e)) && (t && (t += " "), t += o);
24
16
  return t;
25
- }, or = (e, r) => ({
17
+ }
18
+ const tr = (e, o) => {
19
+ const r = new Array(e.length + o.length);
20
+ for (let t = 0; t < e.length; t++)
21
+ r[t] = e[t];
22
+ for (let t = 0; t < o.length; t++)
23
+ r[e.length + t] = o[t];
24
+ return r;
25
+ }, or = (e, o) => ({
26
26
  classGroupId: e,
27
- validator: r
28
- }), Te = (e = /* @__PURE__ */ new Map(), r = null, t) => ({
27
+ validator: o
28
+ }), Pe = (e = /* @__PURE__ */ new Map(), o = null, r) => ({
29
29
  nextPart: e,
30
- validators: r,
31
- classGroupId: t
30
+ validators: o,
31
+ classGroupId: r
32
32
  }), oe = "-", Ne = [], sr = "arbitrary..", nr = (e) => {
33
- const r = lr(e), {
34
- conflictingClassGroups: t,
35
- conflictingClassGroupModifiers: o
33
+ const o = lr(e), {
34
+ conflictingClassGroups: r,
35
+ conflictingClassGroupModifiers: t
36
36
  } = e;
37
37
  return {
38
38
  getClassGroupId: (n) => {
39
39
  if (n.startsWith("[") && n.endsWith("]"))
40
40
  return ar(n);
41
- const m = n.split(oe), l = m[0] === "" && m.length > 1 ? 1 : 0;
42
- return Ee(m, l, r);
41
+ const l = n.split(oe), i = l[0] === "" && l.length > 1 ? 1 : 0;
42
+ return Te(l, i, o);
43
43
  },
44
- getConflictingClassGroupIds: (n, m) => {
45
- if (m) {
46
- const l = o[n], f = t[n];
47
- return l ? f ? tr(f, l) : l : f || Ne;
44
+ getConflictingClassGroupIds: (n, l) => {
45
+ if (l) {
46
+ const i = t[n], u = r[n];
47
+ return i ? u ? tr(u, i) : i : u || Ne;
48
48
  }
49
- return t[n] || Ne;
49
+ return r[n] || Ne;
50
50
  }
51
51
  };
52
- }, Ee = (e, r, t) => {
53
- if (e.length - r === 0)
54
- return t.classGroupId;
55
- const s = e[r], i = t.nextPart.get(s);
56
- if (i) {
57
- const f = Ee(e, r + 1, i);
58
- if (f) return f;
52
+ }, Te = (e, o, r) => {
53
+ if (e.length - o === 0)
54
+ return r.classGroupId;
55
+ const s = e[o], c = r.nextPart.get(s);
56
+ if (c) {
57
+ const u = Te(e, o + 1, c);
58
+ if (u) return u;
59
59
  }
60
- const n = t.validators;
60
+ const n = r.validators;
61
61
  if (n === null)
62
62
  return;
63
- const m = r === 0 ? e.join(oe) : e.slice(r).join(oe), l = n.length;
64
- for (let f = 0; f < l; f++) {
65
- const b = n[f];
66
- if (b.validator(m))
67
- return b.classGroupId;
63
+ const l = o === 0 ? e.join(oe) : e.slice(o).join(oe), i = n.length;
64
+ for (let u = 0; u < i; u++) {
65
+ const f = n[u];
66
+ if (f.validator(l))
67
+ return f.classGroupId;
68
68
  }
69
69
  }, ar = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
70
- const r = e.slice(1, -1), t = r.indexOf(":"), o = r.slice(0, t);
71
- return o ? sr + o : void 0;
70
+ const o = e.slice(1, -1), r = o.indexOf(":"), t = o.slice(0, r);
71
+ return t ? sr + t : void 0;
72
72
  })(), lr = (e) => {
73
73
  const {
74
- theme: r,
75
- classGroups: t
74
+ theme: o,
75
+ classGroups: r
76
76
  } = e;
77
- return ir(t, r);
78
- }, ir = (e, r) => {
79
- const t = Te();
80
- for (const o in e) {
81
- const s = e[o];
82
- fe(s, t, o, r);
77
+ return ir(r, o);
78
+ }, ir = (e, o) => {
79
+ const r = Pe();
80
+ for (const t in e) {
81
+ const s = e[t];
82
+ fe(s, r, t, o);
83
83
  }
84
- return t;
85
- }, fe = (e, r, t, o) => {
84
+ return r;
85
+ }, fe = (e, o, r, t) => {
86
86
  const s = e.length;
87
- for (let i = 0; i < s; i++) {
88
- const n = e[i];
89
- cr(n, r, t, o);
87
+ for (let c = 0; c < s; c++) {
88
+ const n = e[c];
89
+ cr(n, o, r, t);
90
90
  }
91
- }, cr = (e, r, t, o) => {
91
+ }, cr = (e, o, r, t) => {
92
92
  if (typeof e == "string") {
93
- dr(e, r, t);
93
+ dr(e, o, r);
94
94
  return;
95
95
  }
96
96
  if (typeof e == "function") {
97
- mr(e, r, t, o);
97
+ mr(e, o, r, t);
98
98
  return;
99
99
  }
100
- ur(e, r, t, o);
101
- }, dr = (e, r, t) => {
102
- const o = e === "" ? r : Ge(r, e);
103
- o.classGroupId = t;
104
- }, mr = (e, r, t, o) => {
100
+ ur(e, o, r, t);
101
+ }, dr = (e, o, r) => {
102
+ const t = e === "" ? o : Ge(o, e);
103
+ t.classGroupId = r;
104
+ }, mr = (e, o, r, t) => {
105
105
  if (pr(e)) {
106
- fe(e(o), r, t, o);
106
+ fe(e(t), o, r, t);
107
107
  return;
108
108
  }
109
- r.validators === null && (r.validators = []), r.validators.push(or(t, e));
110
- }, ur = (e, r, t, o) => {
111
- const s = Object.entries(e), i = s.length;
112
- for (let n = 0; n < i; n++) {
113
- const [m, l] = s[n];
114
- fe(l, Ge(r, m), t, o);
109
+ o.validators === null && (o.validators = []), o.validators.push(or(r, e));
110
+ }, ur = (e, o, r, t) => {
111
+ const s = Object.entries(e), c = s.length;
112
+ for (let n = 0; n < c; n++) {
113
+ const [l, i] = s[n];
114
+ fe(i, Ge(o, l), r, t);
115
115
  }
116
- }, Ge = (e, r) => {
117
- let t = e;
118
- const o = r.split(oe), s = o.length;
119
- for (let i = 0; i < s; i++) {
120
- const n = o[i];
121
- let m = t.nextPart.get(n);
122
- m || (m = Te(), t.nextPart.set(n, m)), t = m;
116
+ }, Ge = (e, o) => {
117
+ let r = e;
118
+ const t = o.split(oe), s = t.length;
119
+ for (let c = 0; c < s; c++) {
120
+ const n = t[c];
121
+ let l = r.nextPart.get(n);
122
+ l || (l = Pe(), r.nextPart.set(n, l)), r = l;
123
123
  }
124
- return t;
124
+ return r;
125
125
  }, pr = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, fr = (e) => {
126
126
  if (e < 1)
127
127
  return {
@@ -130,178 +130,178 @@ const tr = (e, r) => {
130
130
  set: () => {
131
131
  }
132
132
  };
133
- let r = 0, t = /* @__PURE__ */ Object.create(null), o = /* @__PURE__ */ Object.create(null);
134
- const s = (i, n) => {
135
- t[i] = n, r++, r > e && (r = 0, o = t, t = /* @__PURE__ */ Object.create(null));
133
+ let o = 0, r = /* @__PURE__ */ Object.create(null), t = /* @__PURE__ */ Object.create(null);
134
+ const s = (c, n) => {
135
+ r[c] = n, o++, o > e && (o = 0, t = r, r = /* @__PURE__ */ Object.create(null));
136
136
  };
137
137
  return {
138
- get(i) {
139
- let n = t[i];
138
+ get(c) {
139
+ let n = r[c];
140
140
  if (n !== void 0)
141
141
  return n;
142
- if ((n = o[i]) !== void 0)
143
- return s(i, n), n;
142
+ if ((n = t[c]) !== void 0)
143
+ return s(c, n), n;
144
144
  },
145
- set(i, n) {
146
- i in t ? t[i] = n : s(i, n);
145
+ set(c, n) {
146
+ c in r ? r[c] = n : s(c, n);
147
147
  }
148
148
  };
149
- }, me = "!", Ce = ":", gr = [], ze = (e, r, t, o, s) => ({
149
+ }, me = "!", Ce = ":", gr = [], ze = (e, o, r, t, s) => ({
150
150
  modifiers: e,
151
- hasImportantModifier: r,
152
- baseClassName: t,
153
- maybePostfixModifierPosition: o,
151
+ hasImportantModifier: o,
152
+ baseClassName: r,
153
+ maybePostfixModifierPosition: t,
154
154
  isExternal: s
155
155
  }), br = (e) => {
156
156
  const {
157
- prefix: r,
158
- experimentalParseClassName: t
157
+ prefix: o,
158
+ experimentalParseClassName: r
159
159
  } = e;
160
- let o = (s) => {
161
- const i = [];
162
- let n = 0, m = 0, l = 0, f;
163
- const b = s.length;
164
- for (let A = 0; A < b; A++) {
165
- const N = s[A];
166
- if (n === 0 && m === 0) {
167
- if (N === Ce) {
168
- i.push(s.slice(l, A)), l = A + 1;
160
+ let t = (s) => {
161
+ const c = [];
162
+ let n = 0, l = 0, i = 0, u;
163
+ const f = s.length;
164
+ for (let v = 0; v < f; v++) {
165
+ const A = s[v];
166
+ if (n === 0 && l === 0) {
167
+ if (A === Ce) {
168
+ c.push(s.slice(i, v)), i = v + 1;
169
169
  continue;
170
170
  }
171
- if (N === "/") {
172
- f = A;
171
+ if (A === "/") {
172
+ u = v;
173
173
  continue;
174
174
  }
175
175
  }
176
- N === "[" ? n++ : N === "]" ? n-- : N === "(" ? m++ : N === ")" && m--;
176
+ A === "[" ? n++ : A === "]" ? n-- : A === "(" ? l++ : A === ")" && l--;
177
177
  }
178
- const k = i.length === 0 ? s : s.slice(l);
179
- let z = k, P = !1;
180
- k.endsWith(me) ? (z = k.slice(0, -1), P = !0) : (
178
+ const k = c.length === 0 ? s : s.slice(i);
179
+ let x = k, N = !1;
180
+ k.endsWith(me) ? (x = k.slice(0, -1), N = !0) : (
181
181
  /**
182
182
  * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
183
183
  * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
184
184
  */
185
- k.startsWith(me) && (z = k.slice(1), P = !0)
185
+ k.startsWith(me) && (x = k.slice(1), N = !0)
186
186
  );
187
- const T = f && f > l ? f - l : void 0;
188
- return ze(i, P, z, T);
187
+ const y = u && u > i ? u - i : void 0;
188
+ return ze(c, N, x, y);
189
189
  };
190
- if (r) {
191
- const s = r + Ce, i = o;
192
- o = (n) => n.startsWith(s) ? i(n.slice(s.length)) : ze(gr, !1, n, void 0, !0);
190
+ if (o) {
191
+ const s = o + Ce, c = t;
192
+ t = (n) => n.startsWith(s) ? c(n.slice(s.length)) : ze(gr, !1, n, void 0, !0);
193
193
  }
194
- if (t) {
195
- const s = o;
196
- o = (i) => t({
197
- className: i,
194
+ if (r) {
195
+ const s = t;
196
+ t = (c) => r({
197
+ className: c,
198
198
  parseClassName: s
199
199
  });
200
200
  }
201
- return o;
201
+ return t;
202
202
  }, hr = (e) => {
203
- const r = /* @__PURE__ */ new Map();
204
- return e.orderSensitiveModifiers.forEach((t, o) => {
205
- r.set(t, 1e6 + o);
206
- }), (t) => {
207
- const o = [];
203
+ const o = /* @__PURE__ */ new Map();
204
+ return e.orderSensitiveModifiers.forEach((r, t) => {
205
+ o.set(r, 1e6 + t);
206
+ }), (r) => {
207
+ const t = [];
208
208
  let s = [];
209
- for (let i = 0; i < t.length; i++) {
210
- const n = t[i], m = n[0] === "[", l = r.has(n);
211
- m || l ? (s.length > 0 && (s.sort(), o.push(...s), s = []), o.push(n)) : s.push(n);
209
+ for (let c = 0; c < r.length; c++) {
210
+ const n = r[c], l = n[0] === "[", i = o.has(n);
211
+ l || i ? (s.length > 0 && (s.sort(), t.push(...s), s = []), t.push(n)) : s.push(n);
212
212
  }
213
- return s.length > 0 && (s.sort(), o.push(...s)), o;
213
+ return s.length > 0 && (s.sort(), t.push(...s)), t;
214
214
  };
215
215
  }, xr = (e) => ({
216
216
  cache: fr(e.cacheSize),
217
217
  parseClassName: br(e),
218
218
  sortModifiers: hr(e),
219
219
  ...nr(e)
220
- }), yr = /\s+/, wr = (e, r) => {
220
+ }), yr = /\s+/, wr = (e, o) => {
221
221
  const {
222
- parseClassName: t,
223
- getClassGroupId: o,
222
+ parseClassName: r,
223
+ getClassGroupId: t,
224
224
  getConflictingClassGroupIds: s,
225
- sortModifiers: i
226
- } = r, n = [], m = e.trim().split(yr);
227
- let l = "";
228
- for (let f = m.length - 1; f >= 0; f -= 1) {
229
- const b = m[f], {
225
+ sortModifiers: c
226
+ } = o, n = [], l = e.trim().split(yr);
227
+ let i = "";
228
+ for (let u = l.length - 1; u >= 0; u -= 1) {
229
+ const f = l[u], {
230
230
  isExternal: k,
231
- modifiers: z,
232
- hasImportantModifier: P,
233
- baseClassName: T,
234
- maybePostfixModifierPosition: A
235
- } = t(b);
231
+ modifiers: x,
232
+ hasImportantModifier: N,
233
+ baseClassName: y,
234
+ maybePostfixModifierPosition: v
235
+ } = r(f);
236
236
  if (k) {
237
- l = b + (l.length > 0 ? " " + l : l);
237
+ i = f + (i.length > 0 ? " " + i : i);
238
238
  continue;
239
239
  }
240
- let N = !!A, E = o(N ? T.substring(0, A) : T);
241
- if (!E) {
242
- if (!N) {
243
- l = b + (l.length > 0 ? " " + l : l);
240
+ let A = !!v, T = t(A ? y.substring(0, v) : y);
241
+ if (!T) {
242
+ if (!A) {
243
+ i = f + (i.length > 0 ? " " + i : i);
244
244
  continue;
245
245
  }
246
- if (E = o(T), !E) {
247
- l = b + (l.length > 0 ? " " + l : l);
246
+ if (T = t(y), !T) {
247
+ i = f + (i.length > 0 ? " " + i : i);
248
248
  continue;
249
249
  }
250
- N = !1;
250
+ A = !1;
251
251
  }
252
- const Y = z.length === 0 ? "" : z.length === 1 ? z[0] : i(z).join(":"), D = P ? Y + me : Y, L = D + E;
253
- if (n.indexOf(L) > -1)
252
+ const Y = x.length === 0 ? "" : x.length === 1 ? x[0] : c(x).join(":"), D = N ? Y + me : Y, V = D + T;
253
+ if (n.indexOf(V) > -1)
254
254
  continue;
255
- n.push(L);
256
- const V = s(E, N);
257
- for (let G = 0; G < V.length; ++G) {
258
- const U = V[G];
255
+ n.push(V);
256
+ const F = s(T, A);
257
+ for (let G = 0; G < F.length; ++G) {
258
+ const U = F[G];
259
259
  n.push(D + U);
260
260
  }
261
- l = b + (l.length > 0 ? " " + l : l);
261
+ i = f + (i.length > 0 ? " " + i : i);
262
262
  }
263
- return l;
264
- }, kr = (...e) => {
265
- let r = 0, t, o, s = "";
266
- for (; r < e.length; )
267
- (t = e[r++]) && (o = je(t)) && (s && (s += " "), s += o);
263
+ return i;
264
+ }, vr = (...e) => {
265
+ let o = 0, r, t, s = "";
266
+ for (; o < e.length; )
267
+ (r = e[o++]) && (t = je(r)) && (s && (s += " "), s += t);
268
268
  return s;
269
269
  }, je = (e) => {
270
270
  if (typeof e == "string")
271
271
  return e;
272
- let r, t = "";
273
- for (let o = 0; o < e.length; o++)
274
- e[o] && (r = je(e[o])) && (t && (t += " "), t += r);
275
- return t;
276
- }, vr = (e, ...r) => {
277
- let t, o, s, i;
278
- const n = (l) => {
279
- const f = r.reduce((b, k) => k(b), e());
280
- return t = xr(f), o = t.cache.get, s = t.cache.set, i = m, m(l);
281
- }, m = (l) => {
282
- const f = o(l);
283
- if (f)
284
- return f;
285
- const b = wr(l, t);
286
- return s(l, b), b;
272
+ let o, r = "";
273
+ for (let t = 0; t < e.length; t++)
274
+ e[t] && (o = je(e[t])) && (r && (r += " "), r += o);
275
+ return r;
276
+ }, kr = (e, ...o) => {
277
+ let r, t, s, c;
278
+ const n = (i) => {
279
+ const u = o.reduce((f, k) => k(f), e());
280
+ return r = xr(u), t = r.cache.get, s = r.cache.set, c = l, l(i);
281
+ }, l = (i) => {
282
+ const u = t(i);
283
+ if (u)
284
+ return u;
285
+ const f = wr(i, r);
286
+ return s(i, f), f;
287
287
  };
288
- return i = n, (...l) => i(kr(...l));
289
- }, Nr = [], y = (e) => {
290
- const r = (t) => t[e] || Nr;
291
- return r.isThemeGetter = !0, r;
292
- }, Oe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Le = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Cr = /^\d+\/\d+$/, zr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ar = /\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$/, Sr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Ir = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Rr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, B = (e) => Cr.test(e), g = (e) => !!e && !Number.isNaN(Number(e)), M = (e) => !!e && Number.isInteger(Number(e)), ie = (e) => e.endsWith("%") && g(e.slice(0, -1)), R = (e) => zr.test(e), Mr = () => !0, Pr = (e) => (
288
+ return c = n, (...i) => c(vr(...i));
289
+ }, Nr = [], C = (e) => {
290
+ const o = (r) => r[e] || Nr;
291
+ return o.isThemeGetter = !0, o;
292
+ }, Oe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ve = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Cr = /^\d+\/\d+$/, zr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Sr = /\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$/, Ar = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Ir = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Rr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, B = (e) => Cr.test(e), b = (e) => !!e && !Number.isNaN(Number(e)), P = (e) => !!e && Number.isInteger(Number(e)), ie = (e) => e.endsWith("%") && b(e.slice(0, -1)), E = (e) => zr.test(e), Mr = () => !0, Er = (e) => (
293
293
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
294
294
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
295
295
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
296
- Ar.test(e) && !Sr.test(e)
297
- ), Ve = () => !1, Tr = (e) => Ir.test(e), Er = (e) => Rr.test(e), Gr = (e) => !c(e) && !d(e), jr = (e) => W(e, We, Ve), c = (e) => Oe.test(e), O = (e) => W(e, _e, Pr), ce = (e) => W(e, Br, g), Ae = (e) => W(e, Fe, Ve), Or = (e) => W(e, Be, Er), Z = (e) => W(e, De, Tr), d = (e) => Le.test(e), $ = (e) => _(e, _e), Lr = (e) => _(e, Wr), Se = (e) => _(e, Fe), Vr = (e) => _(e, We), Fr = (e) => _(e, Be), ee = (e) => _(e, De, !0), W = (e, r, t) => {
298
- const o = Oe.exec(e);
299
- return o ? o[1] ? r(o[1]) : t(o[2]) : !1;
300
- }, _ = (e, r, t = !1) => {
301
- const o = Le.exec(e);
302
- return o ? o[1] ? r(o[1]) : t : !1;
303
- }, Fe = (e) => e === "position" || e === "percentage", Be = (e) => e === "image" || e === "url", We = (e) => e === "length" || e === "size" || e === "bg-size", _e = (e) => e === "length", Br = (e) => e === "number", Wr = (e) => e === "family-name", De = (e) => e === "shadow", _r = () => {
304
- const e = y("color"), r = y("font"), t = y("text"), o = y("font-weight"), s = y("tracking"), i = y("leading"), n = y("breakpoint"), m = y("container"), l = y("spacing"), f = y("radius"), b = y("shadow"), k = y("inset-shadow"), z = y("text-shadow"), P = y("drop-shadow"), T = y("blur"), A = y("perspective"), N = y("aspect"), E = y("ease"), Y = y("animate"), D = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], L = () => [
296
+ Sr.test(e) && !Ar.test(e)
297
+ ), Fe = () => !1, Pr = (e) => Ir.test(e), Tr = (e) => Rr.test(e), Gr = (e) => !d(e) && !m(e), jr = (e) => _(e, _e, Fe), d = (e) => Oe.test(e), O = (e) => _(e, We, Er), ce = (e) => _(e, Br, b), Se = (e) => _(e, Le, Fe), Or = (e) => _(e, Be, Tr), Z = (e) => _(e, De, Pr), m = (e) => Ve.test(e), $ = (e) => W(e, We), Vr = (e) => W(e, _r), Ae = (e) => W(e, Le), Fr = (e) => W(e, _e), Lr = (e) => W(e, Be), ee = (e) => W(e, De, !0), _ = (e, o, r) => {
298
+ const t = Oe.exec(e);
299
+ return t ? t[1] ? o(t[1]) : r(t[2]) : !1;
300
+ }, W = (e, o, r = !1) => {
301
+ const t = Ve.exec(e);
302
+ return t ? t[1] ? o(t[1]) : r : !1;
303
+ }, Le = (e) => e === "position" || e === "percentage", Be = (e) => e === "image" || e === "url", _e = (e) => e === "length" || e === "size" || e === "bg-size", We = (e) => e === "length", Br = (e) => e === "number", _r = (e) => e === "family-name", De = (e) => e === "shadow", Wr = () => {
304
+ const e = C("color"), o = C("font"), r = C("text"), t = C("font-weight"), s = C("tracking"), c = C("leading"), n = C("breakpoint"), l = C("container"), i = C("spacing"), u = C("radius"), f = C("shadow"), k = C("inset-shadow"), x = C("text-shadow"), N = C("drop-shadow"), y = C("blur"), v = C("perspective"), A = C("aspect"), T = C("ease"), Y = C("animate"), D = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], V = () => [
305
305
  "center",
306
306
  "top",
307
307
  "bottom",
@@ -319,51 +319,51 @@ const tr = (e, r) => {
319
319
  "bottom-left",
320
320
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
321
321
  "left-bottom"
322
- ], V = () => [...L(), d, c], G = () => ["auto", "hidden", "clip", "visible", "scroll"], U = () => ["auto", "contain", "none"], p = () => [d, c, l], S = () => [B, "full", "auto", ...p()], ge = () => [M, "none", "subgrid", d, c], be = () => ["auto", {
323
- span: ["full", M, d, c]
324
- }, M, d, c], q = () => [M, "auto", d, c], he = () => ["auto", "min", "max", "fr", d, c], ne = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], F = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], I = () => ["auto", ...p()], j = () => [B, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...p()], u = () => [e, d, c], xe = () => [...L(), Se, Ae, {
325
- position: [d, c]
322
+ ], F = () => [...V(), m, d], G = () => ["auto", "hidden", "clip", "visible", "scroll"], U = () => ["auto", "contain", "none"], g = () => [m, d, i], R = () => [B, "full", "auto", ...g()], ge = () => [P, "none", "subgrid", m, d], be = () => ["auto", {
323
+ span: ["full", P, m, d]
324
+ }, P, m, d], q = () => [P, "auto", m, d], he = () => ["auto", "min", "max", "fr", m, d], ne = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], L = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], M = () => ["auto", ...g()], j = () => [B, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...g()], p = () => [e, m, d], xe = () => [...V(), Ae, Se, {
325
+ position: [m, d]
326
326
  }], ye = () => ["no-repeat", {
327
327
  repeat: ["", "x", "y", "space", "round"]
328
- }], we = () => ["auto", "cover", "contain", Vr, jr, {
329
- size: [d, c]
330
- }], ae = () => [ie, $, O], v = () => [
328
+ }], we = () => ["auto", "cover", "contain", Fr, jr, {
329
+ size: [m, d]
330
+ }], ae = () => [ie, $, O], S = () => [
331
331
  // Deprecated since Tailwind CSS v4.0.0
332
332
  "",
333
333
  "none",
334
334
  "full",
335
- f,
336
- d,
337
- c
338
- ], C = () => ["", g, $, O], J = () => ["solid", "dashed", "dotted", "double"], ke = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], w = () => [g, ie, Se, Ae], ve = () => [
335
+ u,
336
+ m,
337
+ d
338
+ ], I = () => ["", b, $, O], J = () => ["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"], z = () => [b, ie, Ae, Se], ke = () => [
339
339
  // Deprecated since Tailwind CSS v4.0.0
340
340
  "",
341
341
  "none",
342
- T,
343
- d,
344
- c
345
- ], H = () => ["none", g, d, c], K = () => ["none", g, d, c], le = () => [g, d, c], Q = () => [B, "full", ...p()];
342
+ y,
343
+ m,
344
+ d
345
+ ], H = () => ["none", b, m, d], K = () => ["none", b, m, d], le = () => [b, m, d], Q = () => [B, "full", ...g()];
346
346
  return {
347
347
  cacheSize: 500,
348
348
  theme: {
349
349
  animate: ["spin", "ping", "pulse", "bounce"],
350
350
  aspect: ["video"],
351
- blur: [R],
352
- breakpoint: [R],
351
+ blur: [E],
352
+ breakpoint: [E],
353
353
  color: [Mr],
354
- container: [R],
355
- "drop-shadow": [R],
354
+ container: [E],
355
+ "drop-shadow": [E],
356
356
  ease: ["in", "out", "in-out"],
357
357
  font: [Gr],
358
358
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
359
- "inset-shadow": [R],
359
+ "inset-shadow": [E],
360
360
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
361
361
  perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
362
- radius: [R],
363
- shadow: [R],
364
- spacing: ["px", g],
365
- text: [R],
366
- "text-shadow": [R],
362
+ radius: [E],
363
+ shadow: [E],
364
+ spacing: ["px", b],
365
+ text: [E],
366
+ "text-shadow": [E],
367
367
  tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
368
368
  },
369
369
  classGroups: {
@@ -375,7 +375,7 @@ const tr = (e, r) => {
375
375
  * @see https://tailwindcss.com/docs/aspect-ratio
376
376
  */
377
377
  aspect: [{
378
- aspect: ["auto", "square", B, c, d, N]
378
+ aspect: ["auto", "square", B, d, m, A]
379
379
  }],
380
380
  /**
381
381
  * Container
@@ -388,7 +388,7 @@ const tr = (e, r) => {
388
388
  * @see https://tailwindcss.com/docs/columns
389
389
  */
390
390
  columns: [{
391
- columns: [g, c, d, m]
391
+ columns: [b, d, m, l]
392
392
  }],
393
393
  /**
394
394
  * Break After
@@ -466,7 +466,7 @@ const tr = (e, r) => {
466
466
  * @see https://tailwindcss.com/docs/object-position
467
467
  */
468
468
  "object-position": [{
469
- object: V()
469
+ object: F()
470
470
  }],
471
471
  /**
472
472
  * Overflow
@@ -520,63 +520,63 @@ const tr = (e, r) => {
520
520
  * @see https://tailwindcss.com/docs/top-right-bottom-left
521
521
  */
522
522
  inset: [{
523
- inset: S()
523
+ inset: R()
524
524
  }],
525
525
  /**
526
526
  * Right / Left
527
527
  * @see https://tailwindcss.com/docs/top-right-bottom-left
528
528
  */
529
529
  "inset-x": [{
530
- "inset-x": S()
530
+ "inset-x": R()
531
531
  }],
532
532
  /**
533
533
  * Top / Bottom
534
534
  * @see https://tailwindcss.com/docs/top-right-bottom-left
535
535
  */
536
536
  "inset-y": [{
537
- "inset-y": S()
537
+ "inset-y": R()
538
538
  }],
539
539
  /**
540
540
  * Start
541
541
  * @see https://tailwindcss.com/docs/top-right-bottom-left
542
542
  */
543
543
  start: [{
544
- start: S()
544
+ start: R()
545
545
  }],
546
546
  /**
547
547
  * End
548
548
  * @see https://tailwindcss.com/docs/top-right-bottom-left
549
549
  */
550
550
  end: [{
551
- end: S()
551
+ end: R()
552
552
  }],
553
553
  /**
554
554
  * Top
555
555
  * @see https://tailwindcss.com/docs/top-right-bottom-left
556
556
  */
557
557
  top: [{
558
- top: S()
558
+ top: R()
559
559
  }],
560
560
  /**
561
561
  * Right
562
562
  * @see https://tailwindcss.com/docs/top-right-bottom-left
563
563
  */
564
564
  right: [{
565
- right: S()
565
+ right: R()
566
566
  }],
567
567
  /**
568
568
  * Bottom
569
569
  * @see https://tailwindcss.com/docs/top-right-bottom-left
570
570
  */
571
571
  bottom: [{
572
- bottom: S()
572
+ bottom: R()
573
573
  }],
574
574
  /**
575
575
  * Left
576
576
  * @see https://tailwindcss.com/docs/top-right-bottom-left
577
577
  */
578
578
  left: [{
579
- left: S()
579
+ left: R()
580
580
  }],
581
581
  /**
582
582
  * Visibility
@@ -588,7 +588,7 @@ const tr = (e, r) => {
588
588
  * @see https://tailwindcss.com/docs/z-index
589
589
  */
590
590
  z: [{
591
- z: [M, "auto", d, c]
591
+ z: [P, "auto", m, d]
592
592
  }],
593
593
  // ------------------------
594
594
  // --- Flexbox and Grid ---
@@ -598,7 +598,7 @@ const tr = (e, r) => {
598
598
  * @see https://tailwindcss.com/docs/flex-basis
599
599
  */
600
600
  basis: [{
601
- basis: [B, "full", "auto", m, ...p()]
601
+ basis: [B, "full", "auto", l, ...g()]
602
602
  }],
603
603
  /**
604
604
  * Flex Direction
@@ -619,28 +619,28 @@ const tr = (e, r) => {
619
619
  * @see https://tailwindcss.com/docs/flex
620
620
  */
621
621
  flex: [{
622
- flex: [g, B, "auto", "initial", "none", c]
622
+ flex: [b, B, "auto", "initial", "none", d]
623
623
  }],
624
624
  /**
625
625
  * Flex Grow
626
626
  * @see https://tailwindcss.com/docs/flex-grow
627
627
  */
628
628
  grow: [{
629
- grow: ["", g, d, c]
629
+ grow: ["", b, m, d]
630
630
  }],
631
631
  /**
632
632
  * Flex Shrink
633
633
  * @see https://tailwindcss.com/docs/flex-shrink
634
634
  */
635
635
  shrink: [{
636
- shrink: ["", g, d, c]
636
+ shrink: ["", b, m, d]
637
637
  }],
638
638
  /**
639
639
  * Order
640
640
  * @see https://tailwindcss.com/docs/order
641
641
  */
642
642
  order: [{
643
- order: [M, "first", "last", "none", d, c]
643
+ order: [P, "first", "last", "none", m, d]
644
644
  }],
645
645
  /**
646
646
  * Grid Template Columns
@@ -724,21 +724,21 @@ const tr = (e, r) => {
724
724
  * @see https://tailwindcss.com/docs/gap
725
725
  */
726
726
  gap: [{
727
- gap: p()
727
+ gap: g()
728
728
  }],
729
729
  /**
730
730
  * Gap X
731
731
  * @see https://tailwindcss.com/docs/gap
732
732
  */
733
733
  "gap-x": [{
734
- "gap-x": p()
734
+ "gap-x": g()
735
735
  }],
736
736
  /**
737
737
  * Gap Y
738
738
  * @see https://tailwindcss.com/docs/gap
739
739
  */
740
740
  "gap-y": [{
741
- "gap-y": p()
741
+ "gap-y": g()
742
742
  }],
743
743
  /**
744
744
  * Justify Content
@@ -752,14 +752,14 @@ const tr = (e, r) => {
752
752
  * @see https://tailwindcss.com/docs/justify-items
753
753
  */
754
754
  "justify-items": [{
755
- "justify-items": [...F(), "normal"]
755
+ "justify-items": [...L(), "normal"]
756
756
  }],
757
757
  /**
758
758
  * Justify Self
759
759
  * @see https://tailwindcss.com/docs/justify-self
760
760
  */
761
761
  "justify-self": [{
762
- "justify-self": ["auto", ...F()]
762
+ "justify-self": ["auto", ...L()]
763
763
  }],
764
764
  /**
765
765
  * Align Content
@@ -773,7 +773,7 @@ const tr = (e, r) => {
773
773
  * @see https://tailwindcss.com/docs/align-items
774
774
  */
775
775
  "align-items": [{
776
- items: [...F(), {
776
+ items: [...L(), {
777
777
  baseline: ["", "last"]
778
778
  }]
779
779
  }],
@@ -782,7 +782,7 @@ const tr = (e, r) => {
782
782
  * @see https://tailwindcss.com/docs/align-self
783
783
  */
784
784
  "align-self": [{
785
- self: ["auto", ...F(), {
785
+ self: ["auto", ...L(), {
786
786
  baseline: ["", "last"]
787
787
  }]
788
788
  }],
@@ -798,14 +798,14 @@ const tr = (e, r) => {
798
798
  * @see https://tailwindcss.com/docs/place-items
799
799
  */
800
800
  "place-items": [{
801
- "place-items": [...F(), "baseline"]
801
+ "place-items": [...L(), "baseline"]
802
802
  }],
803
803
  /**
804
804
  * Place Self
805
805
  * @see https://tailwindcss.com/docs/place-self
806
806
  */
807
807
  "place-self": [{
808
- "place-self": ["auto", ...F()]
808
+ "place-self": ["auto", ...L()]
809
809
  }],
810
810
  // Spacing
811
811
  /**
@@ -813,133 +813,133 @@ const tr = (e, r) => {
813
813
  * @see https://tailwindcss.com/docs/padding
814
814
  */
815
815
  p: [{
816
- p: p()
816
+ p: g()
817
817
  }],
818
818
  /**
819
819
  * Padding X
820
820
  * @see https://tailwindcss.com/docs/padding
821
821
  */
822
822
  px: [{
823
- px: p()
823
+ px: g()
824
824
  }],
825
825
  /**
826
826
  * Padding Y
827
827
  * @see https://tailwindcss.com/docs/padding
828
828
  */
829
829
  py: [{
830
- py: p()
830
+ py: g()
831
831
  }],
832
832
  /**
833
833
  * Padding Start
834
834
  * @see https://tailwindcss.com/docs/padding
835
835
  */
836
836
  ps: [{
837
- ps: p()
837
+ ps: g()
838
838
  }],
839
839
  /**
840
840
  * Padding End
841
841
  * @see https://tailwindcss.com/docs/padding
842
842
  */
843
843
  pe: [{
844
- pe: p()
844
+ pe: g()
845
845
  }],
846
846
  /**
847
847
  * Padding Top
848
848
  * @see https://tailwindcss.com/docs/padding
849
849
  */
850
850
  pt: [{
851
- pt: p()
851
+ pt: g()
852
852
  }],
853
853
  /**
854
854
  * Padding Right
855
855
  * @see https://tailwindcss.com/docs/padding
856
856
  */
857
857
  pr: [{
858
- pr: p()
858
+ pr: g()
859
859
  }],
860
860
  /**
861
861
  * Padding Bottom
862
862
  * @see https://tailwindcss.com/docs/padding
863
863
  */
864
864
  pb: [{
865
- pb: p()
865
+ pb: g()
866
866
  }],
867
867
  /**
868
868
  * Padding Left
869
869
  * @see https://tailwindcss.com/docs/padding
870
870
  */
871
871
  pl: [{
872
- pl: p()
872
+ pl: g()
873
873
  }],
874
874
  /**
875
875
  * Margin
876
876
  * @see https://tailwindcss.com/docs/margin
877
877
  */
878
878
  m: [{
879
- m: I()
879
+ m: M()
880
880
  }],
881
881
  /**
882
882
  * Margin X
883
883
  * @see https://tailwindcss.com/docs/margin
884
884
  */
885
885
  mx: [{
886
- mx: I()
886
+ mx: M()
887
887
  }],
888
888
  /**
889
889
  * Margin Y
890
890
  * @see https://tailwindcss.com/docs/margin
891
891
  */
892
892
  my: [{
893
- my: I()
893
+ my: M()
894
894
  }],
895
895
  /**
896
896
  * Margin Start
897
897
  * @see https://tailwindcss.com/docs/margin
898
898
  */
899
899
  ms: [{
900
- ms: I()
900
+ ms: M()
901
901
  }],
902
902
  /**
903
903
  * Margin End
904
904
  * @see https://tailwindcss.com/docs/margin
905
905
  */
906
906
  me: [{
907
- me: I()
907
+ me: M()
908
908
  }],
909
909
  /**
910
910
  * Margin Top
911
911
  * @see https://tailwindcss.com/docs/margin
912
912
  */
913
913
  mt: [{
914
- mt: I()
914
+ mt: M()
915
915
  }],
916
916
  /**
917
917
  * Margin Right
918
918
  * @see https://tailwindcss.com/docs/margin
919
919
  */
920
920
  mr: [{
921
- mr: I()
921
+ mr: M()
922
922
  }],
923
923
  /**
924
924
  * Margin Bottom
925
925
  * @see https://tailwindcss.com/docs/margin
926
926
  */
927
927
  mb: [{
928
- mb: I()
928
+ mb: M()
929
929
  }],
930
930
  /**
931
931
  * Margin Left
932
932
  * @see https://tailwindcss.com/docs/margin
933
933
  */
934
934
  ml: [{
935
- ml: I()
935
+ ml: M()
936
936
  }],
937
937
  /**
938
938
  * Space Between X
939
939
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
940
940
  */
941
941
  "space-x": [{
942
- "space-x": p()
942
+ "space-x": g()
943
943
  }],
944
944
  /**
945
945
  * Space Between X Reverse
@@ -951,7 +951,7 @@ const tr = (e, r) => {
951
951
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
952
952
  */
953
953
  "space-y": [{
954
- "space-y": p()
954
+ "space-y": g()
955
955
  }],
956
956
  /**
957
957
  * Space Between Y Reverse
@@ -973,7 +973,7 @@ const tr = (e, r) => {
973
973
  * @see https://tailwindcss.com/docs/width
974
974
  */
975
975
  w: [{
976
- w: [m, "screen", ...j()]
976
+ w: [l, "screen", ...j()]
977
977
  }],
978
978
  /**
979
979
  * Min-Width
@@ -981,7 +981,7 @@ const tr = (e, r) => {
981
981
  */
982
982
  "min-w": [{
983
983
  "min-w": [
984
- m,
984
+ l,
985
985
  "screen",
986
986
  /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
987
987
  "none",
@@ -994,7 +994,7 @@ const tr = (e, r) => {
994
994
  */
995
995
  "max-w": [{
996
996
  "max-w": [
997
- m,
997
+ l,
998
998
  "screen",
999
999
  "none",
1000
1000
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
@@ -1035,7 +1035,7 @@ const tr = (e, r) => {
1035
1035
  * @see https://tailwindcss.com/docs/font-size
1036
1036
  */
1037
1037
  "font-size": [{
1038
- text: ["base", t, $, O]
1038
+ text: ["base", r, $, O]
1039
1039
  }],
1040
1040
  /**
1041
1041
  * Font Smoothing
@@ -1052,21 +1052,21 @@ const tr = (e, r) => {
1052
1052
  * @see https://tailwindcss.com/docs/font-weight
1053
1053
  */
1054
1054
  "font-weight": [{
1055
- font: [o, d, ce]
1055
+ font: [t, m, ce]
1056
1056
  }],
1057
1057
  /**
1058
1058
  * Font Stretch
1059
1059
  * @see https://tailwindcss.com/docs/font-stretch
1060
1060
  */
1061
1061
  "font-stretch": [{
1062
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", ie, c]
1062
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", ie, d]
1063
1063
  }],
1064
1064
  /**
1065
1065
  * Font Family
1066
1066
  * @see https://tailwindcss.com/docs/font-family
1067
1067
  */
1068
1068
  "font-family": [{
1069
- font: [Lr, c, r]
1069
+ font: [Vr, d, o]
1070
1070
  }],
1071
1071
  /**
1072
1072
  * Font Variant Numeric
@@ -1103,14 +1103,14 @@ const tr = (e, r) => {
1103
1103
  * @see https://tailwindcss.com/docs/letter-spacing
1104
1104
  */
1105
1105
  tracking: [{
1106
- tracking: [s, d, c]
1106
+ tracking: [s, m, d]
1107
1107
  }],
1108
1108
  /**
1109
1109
  * Line Clamp
1110
1110
  * @see https://tailwindcss.com/docs/line-clamp
1111
1111
  */
1112
1112
  "line-clamp": [{
1113
- "line-clamp": [g, "none", d, ce]
1113
+ "line-clamp": [b, "none", m, ce]
1114
1114
  }],
1115
1115
  /**
1116
1116
  * Line Height
@@ -1119,8 +1119,8 @@ const tr = (e, r) => {
1119
1119
  leading: [{
1120
1120
  leading: [
1121
1121
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1122
- i,
1123
- ...p()
1122
+ c,
1123
+ ...g()
1124
1124
  ]
1125
1125
  }],
1126
1126
  /**
@@ -1128,7 +1128,7 @@ const tr = (e, r) => {
1128
1128
  * @see https://tailwindcss.com/docs/list-style-image
1129
1129
  */
1130
1130
  "list-image": [{
1131
- "list-image": ["none", d, c]
1131
+ "list-image": ["none", m, d]
1132
1132
  }],
1133
1133
  /**
1134
1134
  * List Style Position
@@ -1142,7 +1142,7 @@ const tr = (e, r) => {
1142
1142
  * @see https://tailwindcss.com/docs/list-style-type
1143
1143
  */
1144
1144
  "list-style-type": [{
1145
- list: ["disc", "decimal", "none", d, c]
1145
+ list: ["disc", "decimal", "none", m, d]
1146
1146
  }],
1147
1147
  /**
1148
1148
  * Text Alignment
@@ -1157,14 +1157,14 @@ const tr = (e, r) => {
1157
1157
  * @see https://v3.tailwindcss.com/docs/placeholder-color
1158
1158
  */
1159
1159
  "placeholder-color": [{
1160
- placeholder: u()
1160
+ placeholder: p()
1161
1161
  }],
1162
1162
  /**
1163
1163
  * Text Color
1164
1164
  * @see https://tailwindcss.com/docs/text-color
1165
1165
  */
1166
1166
  "text-color": [{
1167
- text: u()
1167
+ text: p()
1168
1168
  }],
1169
1169
  /**
1170
1170
  * Text Decoration
@@ -1183,21 +1183,21 @@ const tr = (e, r) => {
1183
1183
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1184
1184
  */
1185
1185
  "text-decoration-thickness": [{
1186
- decoration: [g, "from-font", "auto", d, O]
1186
+ decoration: [b, "from-font", "auto", m, O]
1187
1187
  }],
1188
1188
  /**
1189
1189
  * Text Decoration Color
1190
1190
  * @see https://tailwindcss.com/docs/text-decoration-color
1191
1191
  */
1192
1192
  "text-decoration-color": [{
1193
- decoration: u()
1193
+ decoration: p()
1194
1194
  }],
1195
1195
  /**
1196
1196
  * Text Underline Offset
1197
1197
  * @see https://tailwindcss.com/docs/text-underline-offset
1198
1198
  */
1199
1199
  "underline-offset": [{
1200
- "underline-offset": [g, "auto", d, c]
1200
+ "underline-offset": [b, "auto", m, d]
1201
1201
  }],
1202
1202
  /**
1203
1203
  * Text Transform
@@ -1221,14 +1221,14 @@ const tr = (e, r) => {
1221
1221
  * @see https://tailwindcss.com/docs/text-indent
1222
1222
  */
1223
1223
  indent: [{
1224
- indent: p()
1224
+ indent: g()
1225
1225
  }],
1226
1226
  /**
1227
1227
  * Vertical Alignment
1228
1228
  * @see https://tailwindcss.com/docs/vertical-align
1229
1229
  */
1230
1230
  "vertical-align": [{
1231
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", d, c]
1231
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", m, d]
1232
1232
  }],
1233
1233
  /**
1234
1234
  * Whitespace
@@ -1263,7 +1263,7 @@ const tr = (e, r) => {
1263
1263
  * @see https://tailwindcss.com/docs/content
1264
1264
  */
1265
1265
  content: [{
1266
- content: ["none", d, c]
1266
+ content: ["none", m, d]
1267
1267
  }],
1268
1268
  // -------------------
1269
1269
  // --- Backgrounds ---
@@ -1318,17 +1318,17 @@ const tr = (e, r) => {
1318
1318
  bg: ["none", {
1319
1319
  linear: [{
1320
1320
  to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1321
- }, M, d, c],
1322
- radial: ["", d, c],
1323
- conic: [M, d, c]
1324
- }, Fr, Or]
1321
+ }, P, m, d],
1322
+ radial: ["", m, d],
1323
+ conic: [P, m, d]
1324
+ }, Lr, Or]
1325
1325
  }],
1326
1326
  /**
1327
1327
  * Background Color
1328
1328
  * @see https://tailwindcss.com/docs/background-color
1329
1329
  */
1330
1330
  "bg-color": [{
1331
- bg: u()
1331
+ bg: p()
1332
1332
  }],
1333
1333
  /**
1334
1334
  * Gradient Color Stops From Position
@@ -1356,21 +1356,21 @@ const tr = (e, r) => {
1356
1356
  * @see https://tailwindcss.com/docs/gradient-color-stops
1357
1357
  */
1358
1358
  "gradient-from": [{
1359
- from: u()
1359
+ from: p()
1360
1360
  }],
1361
1361
  /**
1362
1362
  * Gradient Color Stops Via
1363
1363
  * @see https://tailwindcss.com/docs/gradient-color-stops
1364
1364
  */
1365
1365
  "gradient-via": [{
1366
- via: u()
1366
+ via: p()
1367
1367
  }],
1368
1368
  /**
1369
1369
  * Gradient Color Stops To
1370
1370
  * @see https://tailwindcss.com/docs/gradient-color-stops
1371
1371
  */
1372
1372
  "gradient-to": [{
1373
- to: u()
1373
+ to: p()
1374
1374
  }],
1375
1375
  // ---------------
1376
1376
  // --- Borders ---
@@ -1380,175 +1380,175 @@ const tr = (e, r) => {
1380
1380
  * @see https://tailwindcss.com/docs/border-radius
1381
1381
  */
1382
1382
  rounded: [{
1383
- rounded: v()
1383
+ rounded: S()
1384
1384
  }],
1385
1385
  /**
1386
1386
  * Border Radius Start
1387
1387
  * @see https://tailwindcss.com/docs/border-radius
1388
1388
  */
1389
1389
  "rounded-s": [{
1390
- "rounded-s": v()
1390
+ "rounded-s": S()
1391
1391
  }],
1392
1392
  /**
1393
1393
  * Border Radius End
1394
1394
  * @see https://tailwindcss.com/docs/border-radius
1395
1395
  */
1396
1396
  "rounded-e": [{
1397
- "rounded-e": v()
1397
+ "rounded-e": S()
1398
1398
  }],
1399
1399
  /**
1400
1400
  * Border Radius Top
1401
1401
  * @see https://tailwindcss.com/docs/border-radius
1402
1402
  */
1403
1403
  "rounded-t": [{
1404
- "rounded-t": v()
1404
+ "rounded-t": S()
1405
1405
  }],
1406
1406
  /**
1407
1407
  * Border Radius Right
1408
1408
  * @see https://tailwindcss.com/docs/border-radius
1409
1409
  */
1410
1410
  "rounded-r": [{
1411
- "rounded-r": v()
1411
+ "rounded-r": S()
1412
1412
  }],
1413
1413
  /**
1414
1414
  * Border Radius Bottom
1415
1415
  * @see https://tailwindcss.com/docs/border-radius
1416
1416
  */
1417
1417
  "rounded-b": [{
1418
- "rounded-b": v()
1418
+ "rounded-b": S()
1419
1419
  }],
1420
1420
  /**
1421
1421
  * Border Radius Left
1422
1422
  * @see https://tailwindcss.com/docs/border-radius
1423
1423
  */
1424
1424
  "rounded-l": [{
1425
- "rounded-l": v()
1425
+ "rounded-l": S()
1426
1426
  }],
1427
1427
  /**
1428
1428
  * Border Radius Start Start
1429
1429
  * @see https://tailwindcss.com/docs/border-radius
1430
1430
  */
1431
1431
  "rounded-ss": [{
1432
- "rounded-ss": v()
1432
+ "rounded-ss": S()
1433
1433
  }],
1434
1434
  /**
1435
1435
  * Border Radius Start End
1436
1436
  * @see https://tailwindcss.com/docs/border-radius
1437
1437
  */
1438
1438
  "rounded-se": [{
1439
- "rounded-se": v()
1439
+ "rounded-se": S()
1440
1440
  }],
1441
1441
  /**
1442
1442
  * Border Radius End End
1443
1443
  * @see https://tailwindcss.com/docs/border-radius
1444
1444
  */
1445
1445
  "rounded-ee": [{
1446
- "rounded-ee": v()
1446
+ "rounded-ee": S()
1447
1447
  }],
1448
1448
  /**
1449
1449
  * Border Radius End Start
1450
1450
  * @see https://tailwindcss.com/docs/border-radius
1451
1451
  */
1452
1452
  "rounded-es": [{
1453
- "rounded-es": v()
1453
+ "rounded-es": S()
1454
1454
  }],
1455
1455
  /**
1456
1456
  * Border Radius Top Left
1457
1457
  * @see https://tailwindcss.com/docs/border-radius
1458
1458
  */
1459
1459
  "rounded-tl": [{
1460
- "rounded-tl": v()
1460
+ "rounded-tl": S()
1461
1461
  }],
1462
1462
  /**
1463
1463
  * Border Radius Top Right
1464
1464
  * @see https://tailwindcss.com/docs/border-radius
1465
1465
  */
1466
1466
  "rounded-tr": [{
1467
- "rounded-tr": v()
1467
+ "rounded-tr": S()
1468
1468
  }],
1469
1469
  /**
1470
1470
  * Border Radius Bottom Right
1471
1471
  * @see https://tailwindcss.com/docs/border-radius
1472
1472
  */
1473
1473
  "rounded-br": [{
1474
- "rounded-br": v()
1474
+ "rounded-br": S()
1475
1475
  }],
1476
1476
  /**
1477
1477
  * Border Radius Bottom Left
1478
1478
  * @see https://tailwindcss.com/docs/border-radius
1479
1479
  */
1480
1480
  "rounded-bl": [{
1481
- "rounded-bl": v()
1481
+ "rounded-bl": S()
1482
1482
  }],
1483
1483
  /**
1484
1484
  * Border Width
1485
1485
  * @see https://tailwindcss.com/docs/border-width
1486
1486
  */
1487
1487
  "border-w": [{
1488
- border: C()
1488
+ border: I()
1489
1489
  }],
1490
1490
  /**
1491
1491
  * Border Width X
1492
1492
  * @see https://tailwindcss.com/docs/border-width
1493
1493
  */
1494
1494
  "border-w-x": [{
1495
- "border-x": C()
1495
+ "border-x": I()
1496
1496
  }],
1497
1497
  /**
1498
1498
  * Border Width Y
1499
1499
  * @see https://tailwindcss.com/docs/border-width
1500
1500
  */
1501
1501
  "border-w-y": [{
1502
- "border-y": C()
1502
+ "border-y": I()
1503
1503
  }],
1504
1504
  /**
1505
1505
  * Border Width Start
1506
1506
  * @see https://tailwindcss.com/docs/border-width
1507
1507
  */
1508
1508
  "border-w-s": [{
1509
- "border-s": C()
1509
+ "border-s": I()
1510
1510
  }],
1511
1511
  /**
1512
1512
  * Border Width End
1513
1513
  * @see https://tailwindcss.com/docs/border-width
1514
1514
  */
1515
1515
  "border-w-e": [{
1516
- "border-e": C()
1516
+ "border-e": I()
1517
1517
  }],
1518
1518
  /**
1519
1519
  * Border Width Top
1520
1520
  * @see https://tailwindcss.com/docs/border-width
1521
1521
  */
1522
1522
  "border-w-t": [{
1523
- "border-t": C()
1523
+ "border-t": I()
1524
1524
  }],
1525
1525
  /**
1526
1526
  * Border Width Right
1527
1527
  * @see https://tailwindcss.com/docs/border-width
1528
1528
  */
1529
1529
  "border-w-r": [{
1530
- "border-r": C()
1530
+ "border-r": I()
1531
1531
  }],
1532
1532
  /**
1533
1533
  * Border Width Bottom
1534
1534
  * @see https://tailwindcss.com/docs/border-width
1535
1535
  */
1536
1536
  "border-w-b": [{
1537
- "border-b": C()
1537
+ "border-b": I()
1538
1538
  }],
1539
1539
  /**
1540
1540
  * Border Width Left
1541
1541
  * @see https://tailwindcss.com/docs/border-width
1542
1542
  */
1543
1543
  "border-w-l": [{
1544
- "border-l": C()
1544
+ "border-l": I()
1545
1545
  }],
1546
1546
  /**
1547
1547
  * Divide Width X
1548
1548
  * @see https://tailwindcss.com/docs/border-width#between-children
1549
1549
  */
1550
1550
  "divide-x": [{
1551
- "divide-x": C()
1551
+ "divide-x": I()
1552
1552
  }],
1553
1553
  /**
1554
1554
  * Divide Width X Reverse
@@ -1560,7 +1560,7 @@ const tr = (e, r) => {
1560
1560
  * @see https://tailwindcss.com/docs/border-width#between-children
1561
1561
  */
1562
1562
  "divide-y": [{
1563
- "divide-y": C()
1563
+ "divide-y": I()
1564
1564
  }],
1565
1565
  /**
1566
1566
  * Divide Width Y Reverse
@@ -1586,70 +1586,70 @@ const tr = (e, r) => {
1586
1586
  * @see https://tailwindcss.com/docs/border-color
1587
1587
  */
1588
1588
  "border-color": [{
1589
- border: u()
1589
+ border: p()
1590
1590
  }],
1591
1591
  /**
1592
1592
  * Border Color X
1593
1593
  * @see https://tailwindcss.com/docs/border-color
1594
1594
  */
1595
1595
  "border-color-x": [{
1596
- "border-x": u()
1596
+ "border-x": p()
1597
1597
  }],
1598
1598
  /**
1599
1599
  * Border Color Y
1600
1600
  * @see https://tailwindcss.com/docs/border-color
1601
1601
  */
1602
1602
  "border-color-y": [{
1603
- "border-y": u()
1603
+ "border-y": p()
1604
1604
  }],
1605
1605
  /**
1606
1606
  * Border Color S
1607
1607
  * @see https://tailwindcss.com/docs/border-color
1608
1608
  */
1609
1609
  "border-color-s": [{
1610
- "border-s": u()
1610
+ "border-s": p()
1611
1611
  }],
1612
1612
  /**
1613
1613
  * Border Color E
1614
1614
  * @see https://tailwindcss.com/docs/border-color
1615
1615
  */
1616
1616
  "border-color-e": [{
1617
- "border-e": u()
1617
+ "border-e": p()
1618
1618
  }],
1619
1619
  /**
1620
1620
  * Border Color Top
1621
1621
  * @see https://tailwindcss.com/docs/border-color
1622
1622
  */
1623
1623
  "border-color-t": [{
1624
- "border-t": u()
1624
+ "border-t": p()
1625
1625
  }],
1626
1626
  /**
1627
1627
  * Border Color Right
1628
1628
  * @see https://tailwindcss.com/docs/border-color
1629
1629
  */
1630
1630
  "border-color-r": [{
1631
- "border-r": u()
1631
+ "border-r": p()
1632
1632
  }],
1633
1633
  /**
1634
1634
  * Border Color Bottom
1635
1635
  * @see https://tailwindcss.com/docs/border-color
1636
1636
  */
1637
1637
  "border-color-b": [{
1638
- "border-b": u()
1638
+ "border-b": p()
1639
1639
  }],
1640
1640
  /**
1641
1641
  * Border Color Left
1642
1642
  * @see https://tailwindcss.com/docs/border-color
1643
1643
  */
1644
1644
  "border-color-l": [{
1645
- "border-l": u()
1645
+ "border-l": p()
1646
1646
  }],
1647
1647
  /**
1648
1648
  * Divide Color
1649
1649
  * @see https://tailwindcss.com/docs/divide-color
1650
1650
  */
1651
1651
  "divide-color": [{
1652
- divide: u()
1652
+ divide: p()
1653
1653
  }],
1654
1654
  /**
1655
1655
  * Outline Style
@@ -1663,21 +1663,21 @@ const tr = (e, r) => {
1663
1663
  * @see https://tailwindcss.com/docs/outline-offset
1664
1664
  */
1665
1665
  "outline-offset": [{
1666
- "outline-offset": [g, d, c]
1666
+ "outline-offset": [b, m, d]
1667
1667
  }],
1668
1668
  /**
1669
1669
  * Outline Width
1670
1670
  * @see https://tailwindcss.com/docs/outline-width
1671
1671
  */
1672
1672
  "outline-w": [{
1673
- outline: ["", g, $, O]
1673
+ outline: ["", b, $, O]
1674
1674
  }],
1675
1675
  /**
1676
1676
  * Outline Color
1677
1677
  * @see https://tailwindcss.com/docs/outline-color
1678
1678
  */
1679
1679
  "outline-color": [{
1680
- outline: u()
1680
+ outline: p()
1681
1681
  }],
1682
1682
  // ---------------
1683
1683
  // --- Effects ---
@@ -1691,7 +1691,7 @@ const tr = (e, r) => {
1691
1691
  // Deprecated since Tailwind CSS v4.0.0
1692
1692
  "",
1693
1693
  "none",
1694
- b,
1694
+ f,
1695
1695
  ee,
1696
1696
  Z
1697
1697
  ]
@@ -1701,7 +1701,7 @@ const tr = (e, r) => {
1701
1701
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
1702
1702
  */
1703
1703
  "shadow-color": [{
1704
- shadow: u()
1704
+ shadow: p()
1705
1705
  }],
1706
1706
  /**
1707
1707
  * Inset Box Shadow
@@ -1715,14 +1715,14 @@ const tr = (e, r) => {
1715
1715
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
1716
1716
  */
1717
1717
  "inset-shadow-color": [{
1718
- "inset-shadow": u()
1718
+ "inset-shadow": p()
1719
1719
  }],
1720
1720
  /**
1721
1721
  * Ring Width
1722
1722
  * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
1723
1723
  */
1724
1724
  "ring-w": [{
1725
- ring: C()
1725
+ ring: I()
1726
1726
  }],
1727
1727
  /**
1728
1728
  * Ring Width Inset
@@ -1736,7 +1736,7 @@ const tr = (e, r) => {
1736
1736
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
1737
1737
  */
1738
1738
  "ring-color": [{
1739
- ring: u()
1739
+ ring: p()
1740
1740
  }],
1741
1741
  /**
1742
1742
  * Ring Offset Width
@@ -1745,7 +1745,7 @@ const tr = (e, r) => {
1745
1745
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1746
1746
  */
1747
1747
  "ring-offset-w": [{
1748
- "ring-offset": [g, O]
1748
+ "ring-offset": [b, O]
1749
1749
  }],
1750
1750
  /**
1751
1751
  * Ring Offset Color
@@ -1754,56 +1754,56 @@ const tr = (e, r) => {
1754
1754
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1755
1755
  */
1756
1756
  "ring-offset-color": [{
1757
- "ring-offset": u()
1757
+ "ring-offset": p()
1758
1758
  }],
1759
1759
  /**
1760
1760
  * Inset Ring Width
1761
1761
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
1762
1762
  */
1763
1763
  "inset-ring-w": [{
1764
- "inset-ring": C()
1764
+ "inset-ring": I()
1765
1765
  }],
1766
1766
  /**
1767
1767
  * Inset Ring Color
1768
1768
  * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
1769
1769
  */
1770
1770
  "inset-ring-color": [{
1771
- "inset-ring": u()
1771
+ "inset-ring": p()
1772
1772
  }],
1773
1773
  /**
1774
1774
  * Text Shadow
1775
1775
  * @see https://tailwindcss.com/docs/text-shadow
1776
1776
  */
1777
1777
  "text-shadow": [{
1778
- "text-shadow": ["none", z, ee, Z]
1778
+ "text-shadow": ["none", x, ee, Z]
1779
1779
  }],
1780
1780
  /**
1781
1781
  * Text Shadow Color
1782
1782
  * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
1783
1783
  */
1784
1784
  "text-shadow-color": [{
1785
- "text-shadow": u()
1785
+ "text-shadow": p()
1786
1786
  }],
1787
1787
  /**
1788
1788
  * Opacity
1789
1789
  * @see https://tailwindcss.com/docs/opacity
1790
1790
  */
1791
1791
  opacity: [{
1792
- opacity: [g, d, c]
1792
+ opacity: [b, m, d]
1793
1793
  }],
1794
1794
  /**
1795
1795
  * Mix Blend Mode
1796
1796
  * @see https://tailwindcss.com/docs/mix-blend-mode
1797
1797
  */
1798
1798
  "mix-blend": [{
1799
- "mix-blend": [...ke(), "plus-darker", "plus-lighter"]
1799
+ "mix-blend": [...ve(), "plus-darker", "plus-lighter"]
1800
1800
  }],
1801
1801
  /**
1802
1802
  * Background Blend Mode
1803
1803
  * @see https://tailwindcss.com/docs/background-blend-mode
1804
1804
  */
1805
1805
  "bg-blend": [{
1806
- "bg-blend": ke()
1806
+ "bg-blend": ve()
1807
1807
  }],
1808
1808
  /**
1809
1809
  * Mask Clip
@@ -1824,106 +1824,106 @@ const tr = (e, r) => {
1824
1824
  * @see https://tailwindcss.com/docs/mask-image
1825
1825
  */
1826
1826
  "mask-image-linear-pos": [{
1827
- "mask-linear": [g]
1827
+ "mask-linear": [b]
1828
1828
  }],
1829
1829
  "mask-image-linear-from-pos": [{
1830
- "mask-linear-from": w()
1830
+ "mask-linear-from": z()
1831
1831
  }],
1832
1832
  "mask-image-linear-to-pos": [{
1833
- "mask-linear-to": w()
1833
+ "mask-linear-to": z()
1834
1834
  }],
1835
1835
  "mask-image-linear-from-color": [{
1836
- "mask-linear-from": u()
1836
+ "mask-linear-from": p()
1837
1837
  }],
1838
1838
  "mask-image-linear-to-color": [{
1839
- "mask-linear-to": u()
1839
+ "mask-linear-to": p()
1840
1840
  }],
1841
1841
  "mask-image-t-from-pos": [{
1842
- "mask-t-from": w()
1842
+ "mask-t-from": z()
1843
1843
  }],
1844
1844
  "mask-image-t-to-pos": [{
1845
- "mask-t-to": w()
1845
+ "mask-t-to": z()
1846
1846
  }],
1847
1847
  "mask-image-t-from-color": [{
1848
- "mask-t-from": u()
1848
+ "mask-t-from": p()
1849
1849
  }],
1850
1850
  "mask-image-t-to-color": [{
1851
- "mask-t-to": u()
1851
+ "mask-t-to": p()
1852
1852
  }],
1853
1853
  "mask-image-r-from-pos": [{
1854
- "mask-r-from": w()
1854
+ "mask-r-from": z()
1855
1855
  }],
1856
1856
  "mask-image-r-to-pos": [{
1857
- "mask-r-to": w()
1857
+ "mask-r-to": z()
1858
1858
  }],
1859
1859
  "mask-image-r-from-color": [{
1860
- "mask-r-from": u()
1860
+ "mask-r-from": p()
1861
1861
  }],
1862
1862
  "mask-image-r-to-color": [{
1863
- "mask-r-to": u()
1863
+ "mask-r-to": p()
1864
1864
  }],
1865
1865
  "mask-image-b-from-pos": [{
1866
- "mask-b-from": w()
1866
+ "mask-b-from": z()
1867
1867
  }],
1868
1868
  "mask-image-b-to-pos": [{
1869
- "mask-b-to": w()
1869
+ "mask-b-to": z()
1870
1870
  }],
1871
1871
  "mask-image-b-from-color": [{
1872
- "mask-b-from": u()
1872
+ "mask-b-from": p()
1873
1873
  }],
1874
1874
  "mask-image-b-to-color": [{
1875
- "mask-b-to": u()
1875
+ "mask-b-to": p()
1876
1876
  }],
1877
1877
  "mask-image-l-from-pos": [{
1878
- "mask-l-from": w()
1878
+ "mask-l-from": z()
1879
1879
  }],
1880
1880
  "mask-image-l-to-pos": [{
1881
- "mask-l-to": w()
1881
+ "mask-l-to": z()
1882
1882
  }],
1883
1883
  "mask-image-l-from-color": [{
1884
- "mask-l-from": u()
1884
+ "mask-l-from": p()
1885
1885
  }],
1886
1886
  "mask-image-l-to-color": [{
1887
- "mask-l-to": u()
1887
+ "mask-l-to": p()
1888
1888
  }],
1889
1889
  "mask-image-x-from-pos": [{
1890
- "mask-x-from": w()
1890
+ "mask-x-from": z()
1891
1891
  }],
1892
1892
  "mask-image-x-to-pos": [{
1893
- "mask-x-to": w()
1893
+ "mask-x-to": z()
1894
1894
  }],
1895
1895
  "mask-image-x-from-color": [{
1896
- "mask-x-from": u()
1896
+ "mask-x-from": p()
1897
1897
  }],
1898
1898
  "mask-image-x-to-color": [{
1899
- "mask-x-to": u()
1899
+ "mask-x-to": p()
1900
1900
  }],
1901
1901
  "mask-image-y-from-pos": [{
1902
- "mask-y-from": w()
1902
+ "mask-y-from": z()
1903
1903
  }],
1904
1904
  "mask-image-y-to-pos": [{
1905
- "mask-y-to": w()
1905
+ "mask-y-to": z()
1906
1906
  }],
1907
1907
  "mask-image-y-from-color": [{
1908
- "mask-y-from": u()
1908
+ "mask-y-from": p()
1909
1909
  }],
1910
1910
  "mask-image-y-to-color": [{
1911
- "mask-y-to": u()
1911
+ "mask-y-to": p()
1912
1912
  }],
1913
1913
  "mask-image-radial": [{
1914
- "mask-radial": [d, c]
1914
+ "mask-radial": [m, d]
1915
1915
  }],
1916
1916
  "mask-image-radial-from-pos": [{
1917
- "mask-radial-from": w()
1917
+ "mask-radial-from": z()
1918
1918
  }],
1919
1919
  "mask-image-radial-to-pos": [{
1920
- "mask-radial-to": w()
1920
+ "mask-radial-to": z()
1921
1921
  }],
1922
1922
  "mask-image-radial-from-color": [{
1923
- "mask-radial-from": u()
1923
+ "mask-radial-from": p()
1924
1924
  }],
1925
1925
  "mask-image-radial-to-color": [{
1926
- "mask-radial-to": u()
1926
+ "mask-radial-to": p()
1927
1927
  }],
1928
1928
  "mask-image-radial-shape": [{
1929
1929
  "mask-radial": ["circle", "ellipse"]
@@ -1935,22 +1935,22 @@ const tr = (e, r) => {
1935
1935
  }]
1936
1936
  }],
1937
1937
  "mask-image-radial-pos": [{
1938
- "mask-radial-at": L()
1938
+ "mask-radial-at": V()
1939
1939
  }],
1940
1940
  "mask-image-conic-pos": [{
1941
- "mask-conic": [g]
1941
+ "mask-conic": [b]
1942
1942
  }],
1943
1943
  "mask-image-conic-from-pos": [{
1944
- "mask-conic-from": w()
1944
+ "mask-conic-from": z()
1945
1945
  }],
1946
1946
  "mask-image-conic-to-pos": [{
1947
- "mask-conic-to": w()
1947
+ "mask-conic-to": z()
1948
1948
  }],
1949
1949
  "mask-image-conic-from-color": [{
1950
- "mask-conic-from": u()
1950
+ "mask-conic-from": p()
1951
1951
  }],
1952
1952
  "mask-image-conic-to-color": [{
1953
- "mask-conic-to": u()
1953
+ "mask-conic-to": p()
1954
1954
  }],
1955
1955
  /**
1956
1956
  * Mask Mode
@@ -1999,7 +1999,7 @@ const tr = (e, r) => {
1999
1999
  * @see https://tailwindcss.com/docs/mask-image
2000
2000
  */
2001
2001
  "mask-image": [{
2002
- mask: ["none", d, c]
2002
+ mask: ["none", m, d]
2003
2003
  }],
2004
2004
  // ---------------
2005
2005
  // --- Filters ---
@@ -2013,8 +2013,8 @@ const tr = (e, r) => {
2013
2013
  // Deprecated since Tailwind CSS v3.0.0
2014
2014
  "",
2015
2015
  "none",
2016
- d,
2017
- c
2016
+ m,
2017
+ d
2018
2018
  ]
2019
2019
  }],
2020
2020
  /**
@@ -2022,21 +2022,21 @@ const tr = (e, r) => {
2022
2022
  * @see https://tailwindcss.com/docs/blur
2023
2023
  */
2024
2024
  blur: [{
2025
- blur: ve()
2025
+ blur: ke()
2026
2026
  }],
2027
2027
  /**
2028
2028
  * Brightness
2029
2029
  * @see https://tailwindcss.com/docs/brightness
2030
2030
  */
2031
2031
  brightness: [{
2032
- brightness: [g, d, c]
2032
+ brightness: [b, m, d]
2033
2033
  }],
2034
2034
  /**
2035
2035
  * Contrast
2036
2036
  * @see https://tailwindcss.com/docs/contrast
2037
2037
  */
2038
2038
  contrast: [{
2039
- contrast: [g, d, c]
2039
+ contrast: [b, m, d]
2040
2040
  }],
2041
2041
  /**
2042
2042
  * Drop Shadow
@@ -2047,7 +2047,7 @@ const tr = (e, r) => {
2047
2047
  // Deprecated since Tailwind CSS v4.0.0
2048
2048
  "",
2049
2049
  "none",
2050
- P,
2050
+ N,
2051
2051
  ee,
2052
2052
  Z
2053
2053
  ]
@@ -2057,42 +2057,42 @@ const tr = (e, r) => {
2057
2057
  * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
2058
2058
  */
2059
2059
  "drop-shadow-color": [{
2060
- "drop-shadow": u()
2060
+ "drop-shadow": p()
2061
2061
  }],
2062
2062
  /**
2063
2063
  * Grayscale
2064
2064
  * @see https://tailwindcss.com/docs/grayscale
2065
2065
  */
2066
2066
  grayscale: [{
2067
- grayscale: ["", g, d, c]
2067
+ grayscale: ["", b, m, d]
2068
2068
  }],
2069
2069
  /**
2070
2070
  * Hue Rotate
2071
2071
  * @see https://tailwindcss.com/docs/hue-rotate
2072
2072
  */
2073
2073
  "hue-rotate": [{
2074
- "hue-rotate": [g, d, c]
2074
+ "hue-rotate": [b, m, d]
2075
2075
  }],
2076
2076
  /**
2077
2077
  * Invert
2078
2078
  * @see https://tailwindcss.com/docs/invert
2079
2079
  */
2080
2080
  invert: [{
2081
- invert: ["", g, d, c]
2081
+ invert: ["", b, m, d]
2082
2082
  }],
2083
2083
  /**
2084
2084
  * Saturate
2085
2085
  * @see https://tailwindcss.com/docs/saturate
2086
2086
  */
2087
2087
  saturate: [{
2088
- saturate: [g, d, c]
2088
+ saturate: [b, m, d]
2089
2089
  }],
2090
2090
  /**
2091
2091
  * Sepia
2092
2092
  * @see https://tailwindcss.com/docs/sepia
2093
2093
  */
2094
2094
  sepia: [{
2095
- sepia: ["", g, d, c]
2095
+ sepia: ["", b, m, d]
2096
2096
  }],
2097
2097
  /**
2098
2098
  * Backdrop Filter
@@ -2103,8 +2103,8 @@ const tr = (e, r) => {
2103
2103
  // Deprecated since Tailwind CSS v3.0.0
2104
2104
  "",
2105
2105
  "none",
2106
- d,
2107
- c
2106
+ m,
2107
+ d
2108
2108
  ]
2109
2109
  }],
2110
2110
  /**
@@ -2112,63 +2112,63 @@ const tr = (e, r) => {
2112
2112
  * @see https://tailwindcss.com/docs/backdrop-blur
2113
2113
  */
2114
2114
  "backdrop-blur": [{
2115
- "backdrop-blur": ve()
2115
+ "backdrop-blur": ke()
2116
2116
  }],
2117
2117
  /**
2118
2118
  * Backdrop Brightness
2119
2119
  * @see https://tailwindcss.com/docs/backdrop-brightness
2120
2120
  */
2121
2121
  "backdrop-brightness": [{
2122
- "backdrop-brightness": [g, d, c]
2122
+ "backdrop-brightness": [b, m, d]
2123
2123
  }],
2124
2124
  /**
2125
2125
  * Backdrop Contrast
2126
2126
  * @see https://tailwindcss.com/docs/backdrop-contrast
2127
2127
  */
2128
2128
  "backdrop-contrast": [{
2129
- "backdrop-contrast": [g, d, c]
2129
+ "backdrop-contrast": [b, m, d]
2130
2130
  }],
2131
2131
  /**
2132
2132
  * Backdrop Grayscale
2133
2133
  * @see https://tailwindcss.com/docs/backdrop-grayscale
2134
2134
  */
2135
2135
  "backdrop-grayscale": [{
2136
- "backdrop-grayscale": ["", g, d, c]
2136
+ "backdrop-grayscale": ["", b, m, d]
2137
2137
  }],
2138
2138
  /**
2139
2139
  * Backdrop Hue Rotate
2140
2140
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2141
2141
  */
2142
2142
  "backdrop-hue-rotate": [{
2143
- "backdrop-hue-rotate": [g, d, c]
2143
+ "backdrop-hue-rotate": [b, m, d]
2144
2144
  }],
2145
2145
  /**
2146
2146
  * Backdrop Invert
2147
2147
  * @see https://tailwindcss.com/docs/backdrop-invert
2148
2148
  */
2149
2149
  "backdrop-invert": [{
2150
- "backdrop-invert": ["", g, d, c]
2150
+ "backdrop-invert": ["", b, m, d]
2151
2151
  }],
2152
2152
  /**
2153
2153
  * Backdrop Opacity
2154
2154
  * @see https://tailwindcss.com/docs/backdrop-opacity
2155
2155
  */
2156
2156
  "backdrop-opacity": [{
2157
- "backdrop-opacity": [g, d, c]
2157
+ "backdrop-opacity": [b, m, d]
2158
2158
  }],
2159
2159
  /**
2160
2160
  * Backdrop Saturate
2161
2161
  * @see https://tailwindcss.com/docs/backdrop-saturate
2162
2162
  */
2163
2163
  "backdrop-saturate": [{
2164
- "backdrop-saturate": [g, d, c]
2164
+ "backdrop-saturate": [b, m, d]
2165
2165
  }],
2166
2166
  /**
2167
2167
  * Backdrop Sepia
2168
2168
  * @see https://tailwindcss.com/docs/backdrop-sepia
2169
2169
  */
2170
2170
  "backdrop-sepia": [{
2171
- "backdrop-sepia": ["", g, d, c]
2171
+ "backdrop-sepia": ["", b, m, d]
2172
2172
  }],
2173
2173
  // --------------
2174
2174
  // --- Tables ---
@@ -2185,21 +2185,21 @@ const tr = (e, r) => {
2185
2185
  * @see https://tailwindcss.com/docs/border-spacing
2186
2186
  */
2187
2187
  "border-spacing": [{
2188
- "border-spacing": p()
2188
+ "border-spacing": g()
2189
2189
  }],
2190
2190
  /**
2191
2191
  * Border Spacing X
2192
2192
  * @see https://tailwindcss.com/docs/border-spacing
2193
2193
  */
2194
2194
  "border-spacing-x": [{
2195
- "border-spacing-x": p()
2195
+ "border-spacing-x": g()
2196
2196
  }],
2197
2197
  /**
2198
2198
  * Border Spacing Y
2199
2199
  * @see https://tailwindcss.com/docs/border-spacing
2200
2200
  */
2201
2201
  "border-spacing-y": [{
2202
- "border-spacing-y": p()
2202
+ "border-spacing-y": g()
2203
2203
  }],
2204
2204
  /**
2205
2205
  * Table Layout
@@ -2223,7 +2223,7 @@ const tr = (e, r) => {
2223
2223
  * @see https://tailwindcss.com/docs/transition-property
2224
2224
  */
2225
2225
  transition: [{
2226
- transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", d, c]
2226
+ transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", m, d]
2227
2227
  }],
2228
2228
  /**
2229
2229
  * Transition Behavior
@@ -2237,28 +2237,28 @@ const tr = (e, r) => {
2237
2237
  * @see https://tailwindcss.com/docs/transition-duration
2238
2238
  */
2239
2239
  duration: [{
2240
- duration: [g, "initial", d, c]
2240
+ duration: [b, "initial", m, d]
2241
2241
  }],
2242
2242
  /**
2243
2243
  * Transition Timing Function
2244
2244
  * @see https://tailwindcss.com/docs/transition-timing-function
2245
2245
  */
2246
2246
  ease: [{
2247
- ease: ["linear", "initial", E, d, c]
2247
+ ease: ["linear", "initial", T, m, d]
2248
2248
  }],
2249
2249
  /**
2250
2250
  * Transition Delay
2251
2251
  * @see https://tailwindcss.com/docs/transition-delay
2252
2252
  */
2253
2253
  delay: [{
2254
- delay: [g, d, c]
2254
+ delay: [b, m, d]
2255
2255
  }],
2256
2256
  /**
2257
2257
  * Animation
2258
2258
  * @see https://tailwindcss.com/docs/animation
2259
2259
  */
2260
2260
  animate: [{
2261
- animate: ["none", Y, d, c]
2261
+ animate: ["none", Y, m, d]
2262
2262
  }],
2263
2263
  // ------------------
2264
2264
  // --- Transforms ---
@@ -2275,14 +2275,14 @@ const tr = (e, r) => {
2275
2275
  * @see https://tailwindcss.com/docs/perspective
2276
2276
  */
2277
2277
  perspective: [{
2278
- perspective: [A, d, c]
2278
+ perspective: [v, m, d]
2279
2279
  }],
2280
2280
  /**
2281
2281
  * Perspective Origin
2282
2282
  * @see https://tailwindcss.com/docs/perspective-origin
2283
2283
  */
2284
2284
  "perspective-origin": [{
2285
- "perspective-origin": V()
2285
+ "perspective-origin": F()
2286
2286
  }],
2287
2287
  /**
2288
2288
  * Rotate
@@ -2371,14 +2371,14 @@ const tr = (e, r) => {
2371
2371
  * @see https://tailwindcss.com/docs/transform
2372
2372
  */
2373
2373
  transform: [{
2374
- transform: [d, c, "", "none", "gpu", "cpu"]
2374
+ transform: [m, d, "", "none", "gpu", "cpu"]
2375
2375
  }],
2376
2376
  /**
2377
2377
  * Transform Origin
2378
2378
  * @see https://tailwindcss.com/docs/transform-origin
2379
2379
  */
2380
2380
  "transform-origin": [{
2381
- origin: V()
2381
+ origin: F()
2382
2382
  }],
2383
2383
  /**
2384
2384
  * Transform Style
@@ -2428,7 +2428,7 @@ const tr = (e, r) => {
2428
2428
  * @see https://tailwindcss.com/docs/accent-color
2429
2429
  */
2430
2430
  accent: [{
2431
- accent: u()
2431
+ accent: p()
2432
2432
  }],
2433
2433
  /**
2434
2434
  * Appearance
@@ -2442,7 +2442,7 @@ const tr = (e, r) => {
2442
2442
  * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2443
2443
  */
2444
2444
  "caret-color": [{
2445
- caret: u()
2445
+ caret: p()
2446
2446
  }],
2447
2447
  /**
2448
2448
  * Color Scheme
@@ -2456,7 +2456,7 @@ const tr = (e, r) => {
2456
2456
  * @see https://tailwindcss.com/docs/cursor
2457
2457
  */
2458
2458
  cursor: [{
2459
- cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", d, c]
2459
+ cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", m, d]
2460
2460
  }],
2461
2461
  /**
2462
2462
  * Field Sizing
@@ -2491,126 +2491,126 @@ const tr = (e, r) => {
2491
2491
  * @see https://tailwindcss.com/docs/scroll-margin
2492
2492
  */
2493
2493
  "scroll-m": [{
2494
- "scroll-m": p()
2494
+ "scroll-m": g()
2495
2495
  }],
2496
2496
  /**
2497
2497
  * Scroll Margin X
2498
2498
  * @see https://tailwindcss.com/docs/scroll-margin
2499
2499
  */
2500
2500
  "scroll-mx": [{
2501
- "scroll-mx": p()
2501
+ "scroll-mx": g()
2502
2502
  }],
2503
2503
  /**
2504
2504
  * Scroll Margin Y
2505
2505
  * @see https://tailwindcss.com/docs/scroll-margin
2506
2506
  */
2507
2507
  "scroll-my": [{
2508
- "scroll-my": p()
2508
+ "scroll-my": g()
2509
2509
  }],
2510
2510
  /**
2511
2511
  * Scroll Margin Start
2512
2512
  * @see https://tailwindcss.com/docs/scroll-margin
2513
2513
  */
2514
2514
  "scroll-ms": [{
2515
- "scroll-ms": p()
2515
+ "scroll-ms": g()
2516
2516
  }],
2517
2517
  /**
2518
2518
  * Scroll Margin End
2519
2519
  * @see https://tailwindcss.com/docs/scroll-margin
2520
2520
  */
2521
2521
  "scroll-me": [{
2522
- "scroll-me": p()
2522
+ "scroll-me": g()
2523
2523
  }],
2524
2524
  /**
2525
2525
  * Scroll Margin Top
2526
2526
  * @see https://tailwindcss.com/docs/scroll-margin
2527
2527
  */
2528
2528
  "scroll-mt": [{
2529
- "scroll-mt": p()
2529
+ "scroll-mt": g()
2530
2530
  }],
2531
2531
  /**
2532
2532
  * Scroll Margin Right
2533
2533
  * @see https://tailwindcss.com/docs/scroll-margin
2534
2534
  */
2535
2535
  "scroll-mr": [{
2536
- "scroll-mr": p()
2536
+ "scroll-mr": g()
2537
2537
  }],
2538
2538
  /**
2539
2539
  * Scroll Margin Bottom
2540
2540
  * @see https://tailwindcss.com/docs/scroll-margin
2541
2541
  */
2542
2542
  "scroll-mb": [{
2543
- "scroll-mb": p()
2543
+ "scroll-mb": g()
2544
2544
  }],
2545
2545
  /**
2546
2546
  * Scroll Margin Left
2547
2547
  * @see https://tailwindcss.com/docs/scroll-margin
2548
2548
  */
2549
2549
  "scroll-ml": [{
2550
- "scroll-ml": p()
2550
+ "scroll-ml": g()
2551
2551
  }],
2552
2552
  /**
2553
2553
  * Scroll Padding
2554
2554
  * @see https://tailwindcss.com/docs/scroll-padding
2555
2555
  */
2556
2556
  "scroll-p": [{
2557
- "scroll-p": p()
2557
+ "scroll-p": g()
2558
2558
  }],
2559
2559
  /**
2560
2560
  * Scroll Padding X
2561
2561
  * @see https://tailwindcss.com/docs/scroll-padding
2562
2562
  */
2563
2563
  "scroll-px": [{
2564
- "scroll-px": p()
2564
+ "scroll-px": g()
2565
2565
  }],
2566
2566
  /**
2567
2567
  * Scroll Padding Y
2568
2568
  * @see https://tailwindcss.com/docs/scroll-padding
2569
2569
  */
2570
2570
  "scroll-py": [{
2571
- "scroll-py": p()
2571
+ "scroll-py": g()
2572
2572
  }],
2573
2573
  /**
2574
2574
  * Scroll Padding Start
2575
2575
  * @see https://tailwindcss.com/docs/scroll-padding
2576
2576
  */
2577
2577
  "scroll-ps": [{
2578
- "scroll-ps": p()
2578
+ "scroll-ps": g()
2579
2579
  }],
2580
2580
  /**
2581
2581
  * Scroll Padding End
2582
2582
  * @see https://tailwindcss.com/docs/scroll-padding
2583
2583
  */
2584
2584
  "scroll-pe": [{
2585
- "scroll-pe": p()
2585
+ "scroll-pe": g()
2586
2586
  }],
2587
2587
  /**
2588
2588
  * Scroll Padding Top
2589
2589
  * @see https://tailwindcss.com/docs/scroll-padding
2590
2590
  */
2591
2591
  "scroll-pt": [{
2592
- "scroll-pt": p()
2592
+ "scroll-pt": g()
2593
2593
  }],
2594
2594
  /**
2595
2595
  * Scroll Padding Right
2596
2596
  * @see https://tailwindcss.com/docs/scroll-padding
2597
2597
  */
2598
2598
  "scroll-pr": [{
2599
- "scroll-pr": p()
2599
+ "scroll-pr": g()
2600
2600
  }],
2601
2601
  /**
2602
2602
  * Scroll Padding Bottom
2603
2603
  * @see https://tailwindcss.com/docs/scroll-padding
2604
2604
  */
2605
2605
  "scroll-pb": [{
2606
- "scroll-pb": p()
2606
+ "scroll-pb": g()
2607
2607
  }],
2608
2608
  /**
2609
2609
  * Scroll Padding Left
2610
2610
  * @see https://tailwindcss.com/docs/scroll-padding
2611
2611
  */
2612
2612
  "scroll-pl": [{
2613
- "scroll-pl": p()
2613
+ "scroll-pl": g()
2614
2614
  }],
2615
2615
  /**
2616
2616
  * Scroll Snap Align
@@ -2678,7 +2678,7 @@ const tr = (e, r) => {
2678
2678
  * @see https://tailwindcss.com/docs/will-change
2679
2679
  */
2680
2680
  "will-change": [{
2681
- "will-change": ["auto", "scroll", "contents", "transform", d, c]
2681
+ "will-change": ["auto", "scroll", "contents", "transform", m, d]
2682
2682
  }],
2683
2683
  // -----------
2684
2684
  // --- SVG ---
@@ -2688,21 +2688,21 @@ const tr = (e, r) => {
2688
2688
  * @see https://tailwindcss.com/docs/fill
2689
2689
  */
2690
2690
  fill: [{
2691
- fill: ["none", ...u()]
2691
+ fill: ["none", ...p()]
2692
2692
  }],
2693
2693
  /**
2694
2694
  * Stroke Width
2695
2695
  * @see https://tailwindcss.com/docs/stroke-width
2696
2696
  */
2697
2697
  "stroke-w": [{
2698
- stroke: [g, $, O, ce]
2698
+ stroke: [b, $, O, ce]
2699
2699
  }],
2700
2700
  /**
2701
2701
  * Stroke
2702
2702
  * @see https://tailwindcss.com/docs/stroke
2703
2703
  */
2704
2704
  stroke: [{
2705
- stroke: ["none", ...u()]
2705
+ stroke: ["none", ...p()]
2706
2706
  }],
2707
2707
  // ---------------------
2708
2708
  // --- Accessibility ---
@@ -2770,7 +2770,7 @@ const tr = (e, r) => {
2770
2770
  },
2771
2771
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
2772
2772
  };
2773
- }, Dr = /* @__PURE__ */ vr(_r);
2773
+ }, Dr = /* @__PURE__ */ kr(Wr);
2774
2774
  function h(...e) {
2775
2775
  return Dr(rr(e));
2776
2776
  }
@@ -2781,29 +2781,34 @@ const Ur = {
2781
2781
  };
2782
2782
  function $r({
2783
2783
  entity: e,
2784
- isSelected: r = !1,
2785
- onClick: t,
2786
- className: o
2784
+ isSelected: o = !1,
2785
+ onClick: r,
2786
+ className: t,
2787
+ onTrack: s,
2788
+ trackingLabel: c,
2789
+ componentName: n = "EntityCard"
2787
2790
  }) {
2788
- const s = e.entityType === "personal", i = s ? se : ue;
2791
+ const l = e.entityType === "personal", i = l ? se : ue;
2789
2792
  return /* @__PURE__ */ a(
2790
2793
  "div",
2791
2794
  {
2792
- onClick: t,
2795
+ onClick: r ? () => {
2796
+ s?.({ action: "click", trackingLabel: c, componentName: n }), r?.();
2797
+ } : void 0,
2793
2798
  className: h(
2794
2799
  "rounded-lg border p-4 transition-all",
2795
- t && "cursor-pointer hover:border-primary",
2796
- r && "border-primary bg-primary/5",
2797
- !r && "border-border bg-card",
2798
- o
2800
+ r && "cursor-pointer hover:border-primary",
2801
+ o && "border-primary bg-primary/5",
2802
+ !o && "border-border bg-card",
2803
+ t
2799
2804
  ),
2800
- children: /* @__PURE__ */ x("div", { className: "flex items-start gap-3", children: [
2805
+ children: /* @__PURE__ */ w("div", { className: "flex items-start gap-3", children: [
2801
2806
  /* @__PURE__ */ a(
2802
2807
  "div",
2803
2808
  {
2804
2809
  className: h(
2805
2810
  "flex h-10 w-10 items-center justify-center rounded-full",
2806
- s ? "bg-blue-100 dark:bg-blue-900" : "bg-purple-100 dark:bg-purple-900"
2811
+ l ? "bg-blue-100 dark:bg-blue-900" : "bg-purple-100 dark:bg-purple-900"
2807
2812
  ),
2808
2813
  children: e.avatarUrl ? /* @__PURE__ */ a(
2809
2814
  "img",
@@ -2817,14 +2822,14 @@ function $r({
2817
2822
  {
2818
2823
  className: h(
2819
2824
  "h-5 w-5",
2820
- s ? "text-blue-600 dark:text-blue-400" : "text-purple-600 dark:text-purple-400"
2825
+ l ? "text-blue-600 dark:text-blue-400" : "text-purple-600 dark:text-purple-400"
2821
2826
  )
2822
2827
  }
2823
2828
  )
2824
2829
  }
2825
2830
  ),
2826
- /* @__PURE__ */ x("div", { className: "flex-1 min-w-0", children: [
2827
- /* @__PURE__ */ x("div", { className: "flex items-center gap-2", children: [
2831
+ /* @__PURE__ */ w("div", { className: "flex-1 min-w-0", children: [
2832
+ /* @__PURE__ */ w("div", { className: "flex items-center gap-2", children: [
2828
2833
  /* @__PURE__ */ a("h3", { className: "font-medium text-foreground truncate", children: e.displayName }),
2829
2834
  /* @__PURE__ */ a(
2830
2835
  "span",
@@ -2837,7 +2842,7 @@ function $r({
2837
2842
  }
2838
2843
  )
2839
2844
  ] }),
2840
- /* @__PURE__ */ a("p", { className: "text-sm text-muted-foreground", children: s ? "Personal workspace" : "Organization" }),
2845
+ /* @__PURE__ */ a("p", { className: "text-sm text-muted-foreground", children: l ? "Personal workspace" : "Organization" }),
2841
2846
  e.description && /* @__PURE__ */ a("p", { className: "text-sm text-muted-foreground mt-1 line-clamp-2", children: e.description })
2842
2847
  ] })
2843
2848
  ] })
@@ -2846,47 +2851,64 @@ function $r({
2846
2851
  }
2847
2852
  function rt({
2848
2853
  entities: e,
2849
- selectedSlug: r,
2850
- onSelect: t,
2851
- isLoading: o = !1,
2854
+ selectedSlug: o,
2855
+ onSelect: r,
2856
+ isLoading: t = !1,
2852
2857
  emptyMessage: s = "No workspaces found",
2853
- className: i
2858
+ className: c,
2859
+ onTrack: n,
2860
+ trackingLabel: l,
2861
+ componentName: i = "EntityList"
2854
2862
  }) {
2855
- return o ? /* @__PURE__ */ a("div", { className: h("space-y-3", i), children: [1, 2, 3].map((n) => /* @__PURE__ */ a(
2856
- "div",
2857
- {
2858
- className: "h-24 rounded-lg border border-border bg-muted animate-pulse"
2859
- },
2860
- n
2861
- )) }) : e.length === 0 ? /* @__PURE__ */ a("div", { className: h("text-center py-8 text-muted-foreground", i), children: s }) : /* @__PURE__ */ a("div", { className: h("space-y-3", i), children: e.map((n) => /* @__PURE__ */ a(
2863
+ if (t)
2864
+ return /* @__PURE__ */ a("div", { className: h("space-y-3", c), children: [1, 2, 3].map((f) => /* @__PURE__ */ a(
2865
+ "div",
2866
+ {
2867
+ className: "h-24 rounded-lg border border-border bg-muted animate-pulse"
2868
+ },
2869
+ f
2870
+ )) });
2871
+ if (e.length === 0)
2872
+ return /* @__PURE__ */ a("div", { className: h("text-center py-8 text-muted-foreground", c), children: s });
2873
+ const u = (f) => {
2874
+ n?.({ action: "select", trackingLabel: l, componentName: i }), r?.(f);
2875
+ };
2876
+ return /* @__PURE__ */ a("div", { className: h("space-y-3", c), children: e.map((f) => /* @__PURE__ */ a(
2862
2877
  $r,
2863
2878
  {
2864
- entity: n,
2865
- isSelected: n.entitySlug === r,
2866
- onClick: t ? () => t(n) : void 0
2879
+ entity: f,
2880
+ isSelected: f.entitySlug === o,
2881
+ onClick: r ? () => u(f) : void 0,
2882
+ onTrack: n,
2883
+ trackingLabel: l
2867
2884
  },
2868
- n.id
2885
+ f.id
2869
2886
  )) });
2870
2887
  }
2871
2888
  function tt({
2872
2889
  entities: e,
2873
- currentEntity: r,
2874
- onSelect: t,
2875
- onCreateNew: o,
2890
+ currentEntity: o,
2891
+ onSelect: r,
2892
+ onCreateNew: t,
2876
2893
  isLoading: s = !1,
2877
- className: i
2894
+ className: c,
2895
+ onTrack: n,
2896
+ trackingLabel: l,
2897
+ componentName: i = "EntitySelector"
2878
2898
  }) {
2879
- const [n, m] = X(!1), l = (b) => {
2880
- t(b), m(!1);
2881
- }, f = () => {
2882
- o?.(), m(!1);
2899
+ const [u, f] = X(!1), k = () => {
2900
+ n?.({ action: "toggle", trackingLabel: l, componentName: i }), f(!u);
2901
+ }, x = (y) => {
2902
+ n?.({ action: "select", trackingLabel: l, componentName: i }), r(y), f(!1);
2903
+ }, N = () => {
2904
+ n?.({ action: "create_new", trackingLabel: l, componentName: i }), t?.(), f(!1);
2883
2905
  };
2884
- return /* @__PURE__ */ x("div", { className: h("relative", i), children: [
2885
- /* @__PURE__ */ x(
2906
+ return /* @__PURE__ */ w("div", { className: h("relative", c), children: [
2907
+ /* @__PURE__ */ w(
2886
2908
  "button",
2887
2909
  {
2888
2910
  type: "button",
2889
- onClick: () => m(!n),
2911
+ onClick: k,
2890
2912
  disabled: s,
2891
2913
  className: h(
2892
2914
  "flex items-center gap-2 px-3 py-2 rounded-lg border",
@@ -2895,28 +2917,28 @@ function tt({
2895
2917
  s && "opacity-50 cursor-not-allowed"
2896
2918
  ),
2897
2919
  children: [
2898
- r ? /* @__PURE__ */ x(re, { children: [
2899
- r.entityType === "personal" ? /* @__PURE__ */ a(se, { className: "h-4 w-4 text-blue-600 dark:text-blue-400" }) : /* @__PURE__ */ a(ue, { className: "h-4 w-4 text-purple-600 dark:text-purple-400" }),
2900
- /* @__PURE__ */ a("span", { className: "font-medium text-sm truncate max-w-[150px]", children: r.displayName })
2920
+ o ? /* @__PURE__ */ w(re, { children: [
2921
+ o.entityType === "personal" ? /* @__PURE__ */ a(se, { className: "h-4 w-4 text-blue-600 dark:text-blue-400" }) : /* @__PURE__ */ a(ue, { className: "h-4 w-4 text-purple-600 dark:text-purple-400" }),
2922
+ /* @__PURE__ */ a("span", { className: "font-medium text-sm truncate max-w-[150px]", children: o.displayName })
2901
2923
  ] }) : /* @__PURE__ */ a("span", { className: "text-sm text-muted-foreground", children: "Select workspace" }),
2902
2924
  /* @__PURE__ */ a(
2903
2925
  Re,
2904
2926
  {
2905
2927
  className: h(
2906
2928
  "h-4 w-4 text-muted-foreground transition-transform",
2907
- n && "rotate-180"
2929
+ u && "rotate-180"
2908
2930
  )
2909
2931
  }
2910
2932
  )
2911
2933
  ]
2912
2934
  }
2913
2935
  ),
2914
- n && /* @__PURE__ */ x(re, { children: [
2936
+ u && /* @__PURE__ */ w(re, { children: [
2915
2937
  /* @__PURE__ */ a(
2916
2938
  "div",
2917
2939
  {
2918
2940
  className: "fixed inset-0 z-40",
2919
- onClick: () => m(!1)
2941
+ onClick: () => f(!1)
2920
2942
  }
2921
2943
  ),
2922
2944
  /* @__PURE__ */ a(
@@ -2927,33 +2949,33 @@ function tt({
2927
2949
  "min-w-[220px] rounded-lg border bg-popover shadow-lg",
2928
2950
  "animate-in fade-in-0 zoom-in-95"
2929
2951
  ),
2930
- children: /* @__PURE__ */ x("div", { className: "p-1", children: [
2931
- e.filter((b) => b.entityType === "personal").map((b) => /* @__PURE__ */ a(
2952
+ children: /* @__PURE__ */ w("div", { className: "p-1", children: [
2953
+ e.filter((y) => y.entityType === "personal").map((y) => /* @__PURE__ */ a(
2932
2954
  Ie,
2933
2955
  {
2934
- entity: b,
2935
- isSelected: b.id === r?.id,
2936
- onClick: () => l(b)
2956
+ entity: y,
2957
+ isSelected: y.id === o?.id,
2958
+ onClick: () => x(y)
2937
2959
  },
2938
- b.id
2960
+ y.id
2939
2961
  )),
2940
- e.some((b) => b.entityType === "personal") && e.some((b) => b.entityType === "organization") && /* @__PURE__ */ a("div", { className: "my-1 h-px bg-border" }),
2941
- e.filter((b) => b.entityType === "organization").map((b) => /* @__PURE__ */ a(
2962
+ e.some((y) => y.entityType === "personal") && e.some((y) => y.entityType === "organization") && /* @__PURE__ */ a("div", { className: "my-1 h-px bg-border" }),
2963
+ e.filter((y) => y.entityType === "organization").map((y) => /* @__PURE__ */ a(
2942
2964
  Ie,
2943
2965
  {
2944
- entity: b,
2945
- isSelected: b.id === r?.id,
2946
- onClick: () => l(b)
2966
+ entity: y,
2967
+ isSelected: y.id === o?.id,
2968
+ onClick: () => x(y)
2947
2969
  },
2948
- b.id
2970
+ y.id
2949
2971
  )),
2950
- o && /* @__PURE__ */ x(re, { children: [
2972
+ t && /* @__PURE__ */ w(re, { children: [
2951
2973
  /* @__PURE__ */ a("div", { className: "my-1 h-px bg-border" }),
2952
- /* @__PURE__ */ x(
2974
+ /* @__PURE__ */ w(
2953
2975
  "button",
2954
2976
  {
2955
2977
  type: "button",
2956
- onClick: f,
2978
+ onClick: N,
2957
2979
  className: h(
2958
2980
  "flex items-center gap-2 w-full px-2 py-1.5 rounded",
2959
2981
  "text-sm text-primary hover:bg-muted transition-colors"
@@ -2971,17 +2993,17 @@ function tt({
2971
2993
  ] })
2972
2994
  ] });
2973
2995
  }
2974
- function Ie({ entity: e, isSelected: r, onClick: t }) {
2975
- const o = e.entityType === "personal", s = o ? se : ue;
2976
- return /* @__PURE__ */ x(
2996
+ function Ie({ entity: e, isSelected: o, onClick: r }) {
2997
+ const t = e.entityType === "personal", s = t ? se : ue;
2998
+ return /* @__PURE__ */ w(
2977
2999
  "button",
2978
3000
  {
2979
3001
  type: "button",
2980
- onClick: t,
3002
+ onClick: r,
2981
3003
  className: h(
2982
3004
  "flex items-center gap-2 w-full px-2 py-1.5 rounded",
2983
3005
  "text-sm transition-colors",
2984
- r ? "bg-primary/10 text-primary" : "hover:bg-muted text-foreground"
3006
+ o ? "bg-primary/10 text-primary" : "hover:bg-muted text-foreground"
2985
3007
  ),
2986
3008
  children: [
2987
3009
  /* @__PURE__ */ a(
@@ -2989,12 +3011,12 @@ function Ie({ entity: e, isSelected: r, onClick: t }) {
2989
3011
  {
2990
3012
  className: h(
2991
3013
  "h-4 w-4",
2992
- o ? "text-blue-600 dark:text-blue-400" : "text-purple-600 dark:text-purple-400"
3014
+ t ? "text-blue-600 dark:text-blue-400" : "text-purple-600 dark:text-purple-400"
2993
3015
  )
2994
3016
  }
2995
3017
  ),
2996
3018
  /* @__PURE__ */ a("span", { className: "flex-1 text-left truncate", children: e.displayName }),
2997
- r && /* @__PURE__ */ a(pe, { className: "h-4 w-4" })
3019
+ o && /* @__PURE__ */ a(pe, { className: "h-4 w-4" })
2998
3020
  ]
2999
3021
  }
3000
3022
  );
@@ -3024,41 +3046,46 @@ const de = [
3024
3046
  ];
3025
3047
  function Ue({
3026
3048
  value: e,
3027
- onChange: r,
3028
- disabled: t = !1,
3029
- className: o
3049
+ onChange: o,
3050
+ disabled: r = !1,
3051
+ className: t,
3052
+ onTrack: s,
3053
+ trackingLabel: c,
3054
+ componentName: n = "MemberRoleSelector"
3030
3055
  }) {
3031
- const [s, i] = X(!1), n = de.find((l) => l.value === e) || de[2], m = (l) => {
3032
- r(l), i(!1);
3056
+ const [l, i] = X(!1), u = de.find((x) => x.value === e) || de[2], f = () => {
3057
+ r || (s?.({ action: "toggle", trackingLabel: c, componentName: n }), i(!l));
3058
+ }, k = (x) => {
3059
+ s?.({ action: "select", trackingLabel: c, componentName: n }), o(x), i(!1);
3033
3060
  };
3034
- return /* @__PURE__ */ x("div", { className: h("relative", o), children: [
3035
- /* @__PURE__ */ x(
3061
+ return /* @__PURE__ */ w("div", { className: h("relative", t), children: [
3062
+ /* @__PURE__ */ w(
3036
3063
  "button",
3037
3064
  {
3038
3065
  type: "button",
3039
- onClick: () => !t && i(!s),
3040
- disabled: t,
3066
+ onClick: f,
3067
+ disabled: r,
3041
3068
  className: h(
3042
3069
  "flex items-center gap-1.5 px-2 py-1 rounded border text-sm",
3043
3070
  "bg-background transition-colors",
3044
- t ? "opacity-50 cursor-not-allowed" : "hover:bg-muted cursor-pointer"
3071
+ r ? "opacity-50 cursor-not-allowed" : "hover:bg-muted cursor-pointer"
3045
3072
  ),
3046
3073
  children: [
3047
- /* @__PURE__ */ a(n.icon, { className: h("h-3.5 w-3.5", n.color) }),
3048
- /* @__PURE__ */ a("span", { children: n.label }),
3074
+ /* @__PURE__ */ a(u.icon, { className: h("h-3.5 w-3.5", u.color) }),
3075
+ /* @__PURE__ */ a("span", { children: u.label }),
3049
3076
  /* @__PURE__ */ a(
3050
3077
  Re,
3051
3078
  {
3052
3079
  className: h(
3053
3080
  "h-3.5 w-3.5 text-muted-foreground transition-transform",
3054
- s && "rotate-180"
3081
+ l && "rotate-180"
3055
3082
  )
3056
3083
  }
3057
3084
  )
3058
3085
  ]
3059
3086
  }
3060
3087
  ),
3061
- s && /* @__PURE__ */ x(re, { children: [
3088
+ l && /* @__PURE__ */ w(re, { children: [
3062
3089
  /* @__PURE__ */ a(
3063
3090
  "div",
3064
3091
  {
@@ -3074,28 +3101,28 @@ function Ue({
3074
3101
  "min-w-[200px] rounded-lg border bg-popover shadow-lg p-1",
3075
3102
  "animate-in fade-in-0 zoom-in-95"
3076
3103
  ),
3077
- children: de.map((l) => /* @__PURE__ */ x(
3104
+ children: de.map((x) => /* @__PURE__ */ w(
3078
3105
  "button",
3079
3106
  {
3080
3107
  type: "button",
3081
- onClick: () => m(l.value),
3108
+ onClick: () => k(x.value),
3082
3109
  className: h(
3083
3110
  "flex items-start gap-2 w-full px-2 py-2 rounded text-left",
3084
3111
  "transition-colors",
3085
- l.value === e ? "bg-primary/10" : "hover:bg-muted"
3112
+ x.value === e ? "bg-primary/10" : "hover:bg-muted"
3086
3113
  ),
3087
3114
  children: [
3088
- /* @__PURE__ */ a(l.icon, { className: h("h-4 w-4 mt-0.5", l.color) }),
3089
- /* @__PURE__ */ x("div", { className: "flex-1 min-w-0", children: [
3090
- /* @__PURE__ */ x("div", { className: "flex items-center gap-2", children: [
3091
- /* @__PURE__ */ a("span", { className: "font-medium text-sm", children: l.label }),
3092
- l.value === e && /* @__PURE__ */ a(pe, { className: "h-3.5 w-3.5 text-primary" })
3115
+ /* @__PURE__ */ a(x.icon, { className: h("h-4 w-4 mt-0.5", x.color) }),
3116
+ /* @__PURE__ */ w("div", { className: "flex-1 min-w-0", children: [
3117
+ /* @__PURE__ */ w("div", { className: "flex items-center gap-2", children: [
3118
+ /* @__PURE__ */ a("span", { className: "font-medium text-sm", children: x.label }),
3119
+ x.value === e && /* @__PURE__ */ a(pe, { className: "h-3.5 w-3.5 text-primary" })
3093
3120
  ] }),
3094
- /* @__PURE__ */ a("p", { className: "text-xs text-muted-foreground", children: l.description })
3121
+ /* @__PURE__ */ a("p", { className: "text-xs text-muted-foreground", children: x.description })
3095
3122
  ] })
3096
3123
  ]
3097
3124
  },
3098
- l.value
3125
+ x.value
3099
3126
  ))
3100
3127
  }
3101
3128
  )
@@ -3109,54 +3136,66 @@ const Xr = {
3109
3136
  };
3110
3137
  function ot({
3111
3138
  members: e,
3112
- currentUserId: r,
3113
- canManage: t = !1,
3114
- onRoleChange: o,
3139
+ currentUserId: o,
3140
+ canManage: r = !1,
3141
+ onRoleChange: t,
3115
3142
  onRemove: s,
3116
- isLoading: i = !1,
3143
+ isLoading: c = !1,
3117
3144
  emptyMessage: n = "No members found",
3118
- className: m
3145
+ className: l,
3146
+ onTrack: i,
3147
+ trackingLabel: u,
3148
+ componentName: f = "MemberList"
3119
3149
  }) {
3120
- return i ? /* @__PURE__ */ a("div", { className: h("space-y-2", m), children: [1, 2, 3].map((l) => /* @__PURE__ */ a(
3121
- "div",
3122
- {
3123
- className: "h-16 rounded-lg border border-border bg-muted animate-pulse"
3124
- },
3125
- l
3126
- )) }) : e.length === 0 ? /* @__PURE__ */ a("div", { className: h("text-center py-8 text-muted-foreground", m), children: n }) : /* @__PURE__ */ a("div", { className: h("divide-y divide-border rounded-lg border", m), children: e.map((l) => /* @__PURE__ */ a(
3150
+ if (c)
3151
+ return /* @__PURE__ */ a("div", { className: h("space-y-2", l), children: [1, 2, 3].map((N) => /* @__PURE__ */ a(
3152
+ "div",
3153
+ {
3154
+ className: "h-16 rounded-lg border border-border bg-muted animate-pulse"
3155
+ },
3156
+ N
3157
+ )) });
3158
+ if (e.length === 0)
3159
+ return /* @__PURE__ */ a("div", { className: h("text-center py-8 text-muted-foreground", l), children: n });
3160
+ const k = (N, y) => {
3161
+ i?.({ action: "role_change", trackingLabel: u, componentName: f }), t?.(N, y);
3162
+ }, x = (N) => {
3163
+ i?.({ action: "remove", trackingLabel: u, componentName: f }), s?.(N);
3164
+ };
3165
+ return /* @__PURE__ */ a("div", { className: h("divide-y divide-border rounded-lg border", l), children: e.map((N) => /* @__PURE__ */ a(
3127
3166
  Yr,
3128
3167
  {
3129
- member: l,
3130
- isSelf: l.userId === r,
3131
- canManage: t,
3132
- onRoleChange: o,
3133
- onRemove: s
3168
+ member: N,
3169
+ isSelf: N.userId === o,
3170
+ canManage: r,
3171
+ onRoleChange: t ? k : void 0,
3172
+ onRemove: s ? x : void 0
3134
3173
  },
3135
- l.id
3174
+ N.id
3136
3175
  )) });
3137
3176
  }
3138
3177
  function Yr({
3139
3178
  member: e,
3140
- isSelf: r,
3141
- canManage: t,
3142
- onRoleChange: o,
3179
+ isSelf: o,
3180
+ canManage: r,
3181
+ onRoleChange: t,
3143
3182
  onRemove: s
3144
3183
  }) {
3145
- const i = e.user?.displayName || e.user?.email || "Unknown user", n = e.user?.email;
3146
- return /* @__PURE__ */ x("div", { className: "flex items-center gap-3 p-3", children: [
3184
+ const c = e.user?.displayName || e.user?.email || "Unknown user", n = e.user?.email;
3185
+ return /* @__PURE__ */ w("div", { className: "flex items-center gap-3 p-3", children: [
3147
3186
  /* @__PURE__ */ a("div", { className: "flex h-10 w-10 items-center justify-center rounded-full bg-muted", children: /* @__PURE__ */ a(se, { className: "h-5 w-5 text-muted-foreground" }) }),
3148
- /* @__PURE__ */ x("div", { className: "flex-1 min-w-0", children: [
3149
- /* @__PURE__ */ x("div", { className: "flex items-center gap-2", children: [
3150
- /* @__PURE__ */ a("p", { className: "font-medium text-foreground truncate", children: i }),
3151
- r && /* @__PURE__ */ a("span", { className: "text-xs text-muted-foreground", children: "(you)" })
3187
+ /* @__PURE__ */ w("div", { className: "flex-1 min-w-0", children: [
3188
+ /* @__PURE__ */ w("div", { className: "flex items-center gap-2", children: [
3189
+ /* @__PURE__ */ a("p", { className: "font-medium text-foreground truncate", children: c }),
3190
+ o && /* @__PURE__ */ a("span", { className: "text-xs text-muted-foreground", children: "(you)" })
3152
3191
  ] }),
3153
3192
  n && /* @__PURE__ */ a("p", { className: "text-sm text-muted-foreground truncate", children: n })
3154
3193
  ] }),
3155
- t && o && !r ? /* @__PURE__ */ a(
3194
+ r && t && !o ? /* @__PURE__ */ a(
3156
3195
  Ue,
3157
3196
  {
3158
3197
  value: e.role,
3159
- onChange: (m) => o(e.userId, m)
3198
+ onChange: (l) => t(e.userId, l)
3160
3199
  }
3161
3200
  ) : /* @__PURE__ */ a(
3162
3201
  "span",
@@ -3168,7 +3207,7 @@ function Yr({
3168
3207
  children: e.role
3169
3208
  }
3170
3209
  ),
3171
- t && s && !r && /* @__PURE__ */ a(
3210
+ r && s && !o && /* @__PURE__ */ a(
3172
3211
  "button",
3173
3212
  {
3174
3213
  type: "button",
@@ -3185,43 +3224,47 @@ function Yr({
3185
3224
  }
3186
3225
  function st({
3187
3226
  onSubmit: e,
3188
- isSubmitting: r = !1,
3189
- defaultRole: t = te.VIEWER,
3190
- className: o
3227
+ isSubmitting: o = !1,
3228
+ defaultRole: r = te.VIEWER,
3229
+ className: t,
3230
+ onTrack: s,
3231
+ trackingLabel: c,
3232
+ componentName: n = "InvitationForm"
3191
3233
  }) {
3192
- const [s, i] = X(""), [n, m] = X(t), [l, f] = X(null);
3193
- return /* @__PURE__ */ x("form", { onSubmit: async (k) => {
3194
- if (k.preventDefault(), f(null), !s.trim()) {
3195
- f("Email is required");
3234
+ const [l, i] = X(""), [u, f] = X(r), [k, x] = X(null);
3235
+ return /* @__PURE__ */ w("form", { onSubmit: async (y) => {
3236
+ if (y.preventDefault(), x(null), !l.trim()) {
3237
+ x("Email is required");
3196
3238
  return;
3197
3239
  }
3198
- if (!qr(s)) {
3199
- f("Please enter a valid email address");
3240
+ if (!qr(l)) {
3241
+ x("Please enter a valid email address");
3200
3242
  return;
3201
3243
  }
3244
+ s?.({ action: "submit", trackingLabel: c, componentName: n });
3202
3245
  try {
3203
- await e({ email: s.trim(), role: n }), i(""), m(t);
3204
- } catch (z) {
3205
- f(z.message || "Failed to send invitation");
3246
+ await e({ email: l.trim(), role: u }), i(""), f(r);
3247
+ } catch (v) {
3248
+ x(v.message || "Failed to send invitation");
3206
3249
  }
3207
- }, className: h("space-y-4", o), children: [
3208
- /* @__PURE__ */ x("div", { className: "flex gap-2", children: [
3209
- /* @__PURE__ */ x("div", { className: "relative flex-1", children: [
3250
+ }, className: h("space-y-4", t), children: [
3251
+ /* @__PURE__ */ w("div", { className: "flex gap-2", children: [
3252
+ /* @__PURE__ */ w("div", { className: "relative flex-1", children: [
3210
3253
  /* @__PURE__ */ a(Me, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground" }),
3211
3254
  /* @__PURE__ */ a(
3212
3255
  "input",
3213
3256
  {
3214
3257
  type: "email",
3215
- value: s,
3216
- onChange: (k) => i(k.target.value),
3258
+ value: l,
3259
+ onChange: (y) => i(y.target.value),
3217
3260
  placeholder: "Enter email address",
3218
- disabled: r,
3261
+ disabled: o,
3219
3262
  className: h(
3220
3263
  "w-full pl-10 pr-3 py-2 rounded-lg border bg-background",
3221
3264
  "text-sm placeholder:text-muted-foreground",
3222
3265
  "focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent",
3223
- l && "border-destructive focus:ring-destructive",
3224
- r && "opacity-50 cursor-not-allowed"
3266
+ k && "border-destructive focus:ring-destructive",
3267
+ o && "opacity-50 cursor-not-allowed"
3225
3268
  )
3226
3269
  }
3227
3270
  )
@@ -3229,31 +3272,31 @@ function st({
3229
3272
  /* @__PURE__ */ a(
3230
3273
  Ue,
3231
3274
  {
3232
- value: n,
3233
- onChange: m,
3234
- disabled: r
3275
+ value: u,
3276
+ onChange: f,
3277
+ disabled: o
3235
3278
  }
3236
3279
  ),
3237
- /* @__PURE__ */ x(
3280
+ /* @__PURE__ */ w(
3238
3281
  "button",
3239
3282
  {
3240
3283
  type: "submit",
3241
- disabled: r || !s.trim(),
3284
+ disabled: o || !l.trim(),
3242
3285
  className: h(
3243
3286
  "flex items-center gap-2 px-4 py-2 rounded-lg",
3244
3287
  "bg-primary text-primary-foreground font-medium text-sm",
3245
3288
  "hover:bg-primary/90 transition-colors",
3246
3289
  "focus:outline-none focus:ring-2 focus:ring-primary focus:ring-offset-2",
3247
- (r || !s.trim()) && "opacity-50 cursor-not-allowed"
3290
+ (o || !l.trim()) && "opacity-50 cursor-not-allowed"
3248
3291
  ),
3249
3292
  children: [
3250
- r ? /* @__PURE__ */ a(He, { className: "h-4 w-4 animate-spin" }) : /* @__PURE__ */ a(Ke, { className: "h-4 w-4" }),
3293
+ o ? /* @__PURE__ */ a(He, { className: "h-4 w-4 animate-spin" }) : /* @__PURE__ */ a(Ke, { className: "h-4 w-4" }),
3251
3294
  /* @__PURE__ */ a("span", { className: "hidden sm:inline", children: "Invite" })
3252
3295
  ]
3253
3296
  }
3254
3297
  )
3255
3298
  ] }),
3256
- l && /* @__PURE__ */ a("p", { className: "text-sm text-destructive", children: l })
3299
+ k && /* @__PURE__ */ a("p", { className: "text-sm text-destructive", children: k })
3257
3300
  ] });
3258
3301
  }
3259
3302
  function qr(e) {
@@ -3266,50 +3309,64 @@ const Jr = {
3266
3309
  };
3267
3310
  function nt({
3268
3311
  invitations: e,
3269
- mode: r,
3270
- onCancel: t,
3271
- onAccept: o,
3312
+ mode: o,
3313
+ onCancel: r,
3314
+ onAccept: t,
3272
3315
  onDecline: s,
3273
- isLoading: i = !1,
3316
+ isLoading: c = !1,
3274
3317
  emptyMessage: n = "No pending invitations",
3275
- className: m
3318
+ className: l,
3319
+ onTrack: i,
3320
+ trackingLabel: u,
3321
+ componentName: f = "InvitationList"
3276
3322
  }) {
3277
- const l = e.filter(
3278
- (f) => f.status === "pending"
3323
+ const k = e.filter(
3324
+ (v) => v.status === "pending"
3279
3325
  );
3280
- return i ? /* @__PURE__ */ a("div", { className: h("space-y-2", m), children: [1, 2].map((f) => /* @__PURE__ */ a(
3281
- "div",
3282
- {
3283
- className: "h-16 rounded-lg border border-border bg-muted animate-pulse"
3284
- },
3285
- f
3286
- )) }) : l.length === 0 ? /* @__PURE__ */ a("div", { className: h("text-center py-8 text-muted-foreground", m), children: n }) : /* @__PURE__ */ a("div", { className: h("divide-y divide-border rounded-lg border", m), children: l.map((f) => /* @__PURE__ */ a(
3326
+ if (c)
3327
+ return /* @__PURE__ */ a("div", { className: h("space-y-2", l), children: [1, 2].map((v) => /* @__PURE__ */ a(
3328
+ "div",
3329
+ {
3330
+ className: "h-16 rounded-lg border border-border bg-muted animate-pulse"
3331
+ },
3332
+ v
3333
+ )) });
3334
+ if (k.length === 0)
3335
+ return /* @__PURE__ */ a("div", { className: h("text-center py-8 text-muted-foreground", l), children: n });
3336
+ const x = (v) => {
3337
+ i?.({ action: "cancel", trackingLabel: u, componentName: f }), r?.(v);
3338
+ }, N = (v) => {
3339
+ i?.({ action: "accept", trackingLabel: u, componentName: f }), t?.(v);
3340
+ }, y = (v) => {
3341
+ i?.({ action: "decline", trackingLabel: u, componentName: f }), s?.(v);
3342
+ };
3343
+ return /* @__PURE__ */ a("div", { className: h("divide-y divide-border rounded-lg border", l), children: k.map((v) => /* @__PURE__ */ a(
3287
3344
  Hr,
3288
3345
  {
3289
- invitation: f,
3290
- mode: r,
3291
- onCancel: t,
3292
- onAccept: o,
3293
- onDecline: s
3346
+ invitation: v,
3347
+ mode: o,
3348
+ onCancel: r ? x : void 0,
3349
+ onAccept: t ? N : void 0,
3350
+ onDecline: s ? y : void 0
3294
3351
  },
3295
- f.id
3352
+ v.id
3296
3353
  )) });
3297
3354
  }
3298
3355
  function Hr({
3299
3356
  invitation: e,
3300
- mode: r,
3301
- onCancel: t,
3302
- onAccept: o,
3357
+ mode: o,
3358
+ onCancel: r,
3359
+ onAccept: t,
3303
3360
  onDecline: s
3304
3361
  }) {
3305
- const i = new Date(e.expiresAt), n = i < /* @__PURE__ */ new Date(), m = Math.ceil(
3306
- (i.getTime() - Date.now()) / (1e3 * 60 * 60 * 24)
3362
+ const c = new Date(e.expiresAt), n = c < /* @__PURE__ */ new Date(), l = Math.ceil(
3363
+ (c.getTime() - Date.now()) / (1e3 * 60 * 60 * 24)
3307
3364
  );
3308
- return /* @__PURE__ */ x("div", { className: "flex items-center gap-3 p-3", children: [
3365
+ return /* @__PURE__ */ w("div", { className: "flex items-center gap-3 p-3", children: [
3309
3366
  /* @__PURE__ */ a("div", { className: "flex h-10 w-10 items-center justify-center rounded-full bg-muted", children: /* @__PURE__ */ a(Me, { className: "h-5 w-5 text-muted-foreground" }) }),
3310
- /* @__PURE__ */ x("div", { className: "flex-1 min-w-0", children: [
3311
- /* @__PURE__ */ x("div", { className: "flex items-center gap-2", children: [
3312
- r === "user" && e.entity ? /* @__PURE__ */ a("p", { className: "font-medium text-foreground truncate", children: e.entity.displayName }) : /* @__PURE__ */ a("p", { className: "font-medium text-foreground truncate", children: e.email }),
3367
+ /* @__PURE__ */ w("div", { className: "flex-1 min-w-0", children: [
3368
+ /* @__PURE__ */ w("div", { className: "flex items-center gap-2", children: [
3369
+ o === "user" && e.entity ? /* @__PURE__ */ a("p", { className: "font-medium text-foreground truncate", children: e.entity.displayName }) : /* @__PURE__ */ a("p", { className: "font-medium text-foreground truncate", children: e.email }),
3313
3370
  /* @__PURE__ */ a(
3314
3371
  "span",
3315
3372
  {
@@ -3321,20 +3378,20 @@ function Hr({
3321
3378
  }
3322
3379
  )
3323
3380
  ] }),
3324
- /* @__PURE__ */ x("div", { className: "flex items-center gap-1.5 text-sm text-muted-foreground", children: [
3381
+ /* @__PURE__ */ w("div", { className: "flex items-center gap-1.5 text-sm text-muted-foreground", children: [
3325
3382
  /* @__PURE__ */ a(Qe, { className: "h-3.5 w-3.5" }),
3326
- n ? /* @__PURE__ */ a("span", { className: "text-destructive", children: "Expired" }) : /* @__PURE__ */ x("span", { children: [
3383
+ n ? /* @__PURE__ */ a("span", { className: "text-destructive", children: "Expired" }) : /* @__PURE__ */ w("span", { children: [
3327
3384
  "Expires in ",
3328
- m,
3385
+ l,
3329
3386
  " days"
3330
3387
  ] })
3331
3388
  ] })
3332
3389
  ] }),
3333
- r === "admin" && t && /* @__PURE__ */ a(
3390
+ o === "admin" && r && /* @__PURE__ */ a(
3334
3391
  "button",
3335
3392
  {
3336
3393
  type: "button",
3337
- onClick: () => t(e.id),
3394
+ onClick: () => r(e.id),
3338
3395
  className: h(
3339
3396
  "p-1.5 rounded hover:bg-destructive/10 text-muted-foreground",
3340
3397
  "hover:text-destructive transition-colors"
@@ -3343,8 +3400,8 @@ function Hr({
3343
3400
  children: /* @__PURE__ */ a(Ze, { className: "h-4 w-4" })
3344
3401
  }
3345
3402
  ),
3346
- r === "user" && /* @__PURE__ */ x("div", { className: "flex items-center gap-2", children: [
3347
- s && /* @__PURE__ */ x(
3403
+ o === "user" && /* @__PURE__ */ w("div", { className: "flex items-center gap-2", children: [
3404
+ s && /* @__PURE__ */ w(
3348
3405
  "button",
3349
3406
  {
3350
3407
  type: "button",
@@ -3359,11 +3416,11 @@ function Hr({
3359
3416
  ]
3360
3417
  }
3361
3418
  ),
3362
- o && /* @__PURE__ */ x(
3419
+ t && /* @__PURE__ */ w(
3363
3420
  "button",
3364
3421
  {
3365
3422
  type: "button",
3366
- onClick: () => o(e.token),
3423
+ onClick: () => t(e.token),
3367
3424
  disabled: n,
3368
3425
  className: h(
3369
3426
  "flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-sm",