@duro-app/ui 0.9.2 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { jsx as r, jsxs as z, Fragment as B } from "react/jsx-runtime";
2
- import { useState as G, useCallback as W, useContext as O, createContext as R, useId as _, useMemo as $e, useRef as w, useEffect as H, Children as qe } from "react";
1
+ import { jsx as r, jsxs as z, Fragment as N } from "react/jsx-runtime";
2
+ import { useState as G, useCallback as W, useContext as C, createContext as R, useId as _, useMemo as me, useRef as w, useEffect as H, Children as We } from "react";
3
3
  /**
4
4
  * @license react-strict-dom
5
5
  * Copyright (c) Meta Platforms, Inc. and affiliates.
@@ -7,15 +7,15 @@ import { useState as G, useCallback as W, useContext as O, createContext as R, u
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
9
  */
10
- var me = {};
11
- Object.defineProperty(me, "__esModule", {
10
+ var be = {};
11
+ Object.defineProperty(be, "__esModule", {
12
12
  value: !0
13
13
  });
14
- var We = me.styleq = void 0, Xe = /* @__PURE__ */ new WeakMap(), Ye = "$$css";
15
- function He(e) {
14
+ var He = be.styleq = void 0, Ye = /* @__PURE__ */ new WeakMap(), Je = "$$css";
15
+ function Ge(e) {
16
16
  var t, n, s;
17
17
  return e != null && (t = e.disableCache === !0, n = e.disableMix === !0, s = e.transform), function() {
18
- for (var l = [], i = "", c = null, d = "", k = t ? null : Xe, g = new Array(arguments.length), u = 0; u < arguments.length; u++)
18
+ for (var l = [], i = "", c = null, d = "", a = t ? null : Ye, g = new Array(arguments.length), u = 0; u < arguments.length; u++)
19
19
  g[u] = arguments[u];
20
20
  for (; g.length > 0; ) {
21
21
  var $ = g.pop();
@@ -28,23 +28,23 @@ function He(e) {
28
28
  var p = s != null ? s($) : $;
29
29
  if (p.$$css != null) {
30
30
  var m = "";
31
- if (k != null && k.has(p)) {
32
- var f = k.get(p);
33
- f != null && (m = f[0], d = f[2], l.push.apply(l, f[1]), k = f[3]);
31
+ if (a != null && a.has(p)) {
32
+ var f = a.get(p);
33
+ f != null && (m = f[0], d = f[2], l.push.apply(l, f[1]), a = f[3]);
34
34
  } else {
35
35
  var v = [];
36
36
  for (var h in p) {
37
37
  var b = p[h];
38
- if (h === Ye) {
39
- var C = p[h];
40
- C !== !0 && (d = d ? C + "; " + d : C);
38
+ if (h === Je) {
39
+ var B = p[h];
40
+ B !== !0 && (d = d ? B + "; " + d : B);
41
41
  continue;
42
42
  }
43
- typeof b == "string" || b === null ? l.includes(h) || (l.push(h), k != null && v.push(h), typeof b == "string" && (m += m ? " " + b : b)) : console.error("styleq: ".concat(h, " typeof ").concat(String(b), ' is not "string" or "null".'));
43
+ typeof b == "string" || b === null ? l.includes(h) || (l.push(h), a != null && v.push(h), typeof b == "string" && (m += m ? " " + b : b)) : console.error("styleq: ".concat(h, " typeof ").concat(String(b), ' is not "string" or "null".'));
44
44
  }
45
- if (k != null) {
45
+ if (a != null) {
46
46
  var Q = /* @__PURE__ */ new WeakMap();
47
- k.set(p, [m, v, d, Q]), k = Q;
47
+ a.set(p, [m, v, d, Q]), a = Q;
48
48
  }
49
49
  }
50
50
  m && (i = i ? m + " " + i : m);
@@ -54,7 +54,7 @@ function He(e) {
54
54
  var y = null;
55
55
  for (var I in p) {
56
56
  var S = p[I];
57
- S !== void 0 && (l.includes(I) || (S != null && (c == null && (c = {}), y == null && (y = {}), y[I] = S), l.push(I), k = null));
57
+ S !== void 0 && (l.includes(I) || (S != null && (c == null && (c = {}), y == null && (y = {}), y[I] = S), l.push(I), a = null));
58
58
  }
59
59
  y != null && (c = Object.assign(y, c));
60
60
  }
@@ -64,18 +64,18 @@ function He(e) {
64
64
  return j;
65
65
  };
66
66
  }
67
- var Je = We = me.styleq = He();
68
- Je.factory = He;
69
- const Pe = We.factory({
67
+ var Pe = He = be.styleq = Ge();
68
+ Pe.factory = Ge;
69
+ const Fe = He.factory({
70
70
  disableMix: !0
71
71
  });
72
72
  function x(...e) {
73
- const [t, n, s] = Pe(e), o = {};
73
+ const [t, n, s] = Fe(e), o = {};
74
74
  if (t != null && t !== "" && (o.className = t), n != null && (o.style = n), s != null && s !== "") {
75
75
  const l = s.split(";"), i = {};
76
76
  for (const c of l) {
77
- const d = c.trim(), [k, g] = d.split(":");
78
- g != null && (i[k] = i[k] != null ? `${i[k]},${g}` : g);
77
+ const d = c.trim(), [a, g] = d.split(":");
78
+ g != null && (i[a] = i[a] != null ? `${i[a]},${g}` : g);
79
79
  }
80
80
  o["data-style-src"] = Object.keys(i).map((c) => `${c}:${i[c]}`).join("; ");
81
81
  }
@@ -121,61 +121,61 @@ const A = {
121
121
  kHenm0: "x288g5",
122
122
  $$css: !0
123
123
  }
124
- }, Fe = A.inline, Qe = [A.inlineblock, A.button], Ke = A.block, Z = [A.block, A.heading], Ue = [A.inlineblock, A.input], _e = A.inline, Ze = A.block, et = A.block, tt = A.inline, nt = [A.inlineblock, A.textarea], a = {
125
- a: Fe,
126
- button: Qe,
127
- div: Ke,
124
+ }, Qe = A.inline, Ke = [A.inlineblock, A.button], Ue = A.block, Z = [A.block, A.heading], _e = [A.inlineblock, A.input], Ze = A.inline, et = A.block, tt = A.block, nt = A.inline, rt = [A.inlineblock, A.textarea], k = {
125
+ a: Qe,
126
+ button: Ke,
127
+ div: Ue,
128
128
  h1: Z,
129
129
  h2: Z,
130
130
  h3: Z,
131
131
  h4: Z,
132
132
  h5: Z,
133
133
  h6: Z,
134
- input: Ue,
135
- label: _e,
136
- nav: Ze,
137
- p: et,
138
- span: tt,
139
- textarea: nt
140
- }, rt = {
141
- "x-circle": /* @__PURE__ */ z(B, { children: [
134
+ input: _e,
135
+ label: Ze,
136
+ nav: et,
137
+ p: tt,
138
+ span: nt,
139
+ textarea: rt
140
+ }, st = {
141
+ "x-circle": /* @__PURE__ */ z(N, { children: [
142
142
  /* @__PURE__ */ r("circle", { cx: "12", cy: "12", r: "10" }),
143
143
  /* @__PURE__ */ r("line", { x1: "15", y1: "9", x2: "9", y2: "15" }),
144
144
  /* @__PURE__ */ r("line", { x1: "9", y1: "9", x2: "15", y2: "15" })
145
145
  ] }),
146
- "check-circle": /* @__PURE__ */ z(B, { children: [
146
+ "check-circle": /* @__PURE__ */ z(N, { children: [
147
147
  /* @__PURE__ */ r("circle", { cx: "12", cy: "12", r: "10" }),
148
148
  /* @__PURE__ */ r("polyline", { points: "16 10 11 15 8 12" })
149
149
  ] }),
150
- "check-done": /* @__PURE__ */ z(B, { children: [
150
+ "check-done": /* @__PURE__ */ z(N, { children: [
151
151
  /* @__PURE__ */ r("path", { d: "M22 11.08V12a10 10 0 1 1-5.93-9.14" }),
152
152
  /* @__PURE__ */ r("polyline", { points: "22 4 12 14.01 9 11.01" })
153
153
  ] }),
154
- clock: /* @__PURE__ */ z(B, { children: [
154
+ clock: /* @__PURE__ */ z(N, { children: [
155
155
  /* @__PURE__ */ r("circle", { cx: "12", cy: "12", r: "10" }),
156
156
  /* @__PURE__ */ r("polyline", { points: "12 6 12 12 16 14" })
157
157
  ] }),
158
- forbidden: /* @__PURE__ */ z(B, { children: [
158
+ forbidden: /* @__PURE__ */ z(N, { children: [
159
159
  /* @__PURE__ */ r("circle", { cx: "12", cy: "12", r: "10" }),
160
160
  /* @__PURE__ */ r("line", { x1: "4.93", y1: "4.93", x2: "19.07", y2: "19.07" })
161
161
  ] }),
162
- "info-circle": /* @__PURE__ */ z(B, { children: [
162
+ "info-circle": /* @__PURE__ */ z(N, { children: [
163
163
  /* @__PURE__ */ r("circle", { cx: "12", cy: "12", r: "10" }),
164
164
  /* @__PURE__ */ r("line", { x1: "12", y1: "16", x2: "12", y2: "12" }),
165
165
  /* @__PURE__ */ r("line", { x1: "12", y1: "8", x2: "12.01", y2: "8" })
166
166
  ] }),
167
- "alert-triangle": /* @__PURE__ */ z(B, { children: [
167
+ "alert-triangle": /* @__PURE__ */ z(N, { children: [
168
168
  /* @__PURE__ */ r("path", { d: "M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z" }),
169
169
  /* @__PURE__ */ r("line", { x1: "12", y1: "9", x2: "12", y2: "13" }),
170
170
  /* @__PURE__ */ r("line", { x1: "12", y1: "17", x2: "12.01", y2: "17" })
171
171
  ] }),
172
172
  shield: /* @__PURE__ */ r("path", { d: "M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z" }),
173
- lock: /* @__PURE__ */ z(B, { children: [
173
+ lock: /* @__PURE__ */ z(N, { children: [
174
174
  /* @__PURE__ */ r("rect", { x: "3", y: "11", width: "18", height: "11", rx: "2", ry: "2" }),
175
175
  /* @__PURE__ */ r("path", { d: "M7 11V7a5 5 0 0 1 10 0v4" })
176
176
  ] }),
177
- key: /* @__PURE__ */ r(B, { children: /* @__PURE__ */ r("path", { d: "M21 2l-2 2m-7.61 7.61a5.5 5.5 0 1 1-7.78 7.78 5.5 5.5 0 0 1 7.78-7.78zm0 0L15.5 7.5m0 0l3 3L22 7l-3-3m-3.5 3.5L19 4" }) })
178
- }, st = {
177
+ key: /* @__PURE__ */ r(N, { children: /* @__PURE__ */ r("path", { d: "M21 2l-2 2m-7.61 7.61a5.5 5.5 0 1 1-7.78 7.78 5.5 5.5 0 0 1 7.78-7.78zm0 0L15.5 7.5m0 0l3 3L22 7l-3-3m-3.5 3.5L19 4" }) })
178
+ }, ot = {
179
179
  // Filled circle with "i" cutout (dot + line)
180
180
  "info-circle-filled": /* @__PURE__ */ r("path", { fillRule: "evenodd", d: "M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm-.75 6a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0zM11 11a1 1 0 1 1 2 0v5a1 1 0 1 1-2 0v-5z" }),
181
181
  // Filled triangle with "!" cutout
@@ -187,20 +187,24 @@ const A = {
187
187
  // Filled shield with checkmark cutout
188
188
  "shield-filled": /* @__PURE__ */ r("path", { fillRule: "evenodd", d: "M12 1L3 5v7c0 6.5 8.5 10.5 9 10.73.5-.23 9-4.23 9-10.73V5l-9-4zm3.707 8.707a1 1 0 0 0-1.414-1.414L11 11.586l-1.293-1.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4z" }),
189
189
  // Filled lock body with stroke shackle
190
- "lock-filled": /* @__PURE__ */ z(B, { children: [
190
+ "lock-filled": /* @__PURE__ */ z(N, { children: [
191
191
  /* @__PURE__ */ r("path", { d: "M7 11V7a5 5 0 0 1 10 0v4", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" }),
192
192
  /* @__PURE__ */ r("rect", { x: "3", y: "11", width: "18", height: "11", rx: "2", ry: "2" })
193
193
  ] })
194
194
  };
195
- function ve({
195
+ function ie({
196
196
  name: e,
197
197
  size: t = 24
198
198
  }) {
199
- const n = st[e];
200
- return n ? /* @__PURE__ */ r("svg", { viewBox: "0 0 24 24", fill: "currentColor", width: t, height: t, children: n }) : /* @__PURE__ */ r("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", width: t, height: t, children: rt[e] });
199
+ const n = ot[e];
200
+ return n ? /* @__PURE__ */ r("svg", { viewBox: "0 0 24 24", fill: "currentColor", width: t, height: t, children: n }) : /* @__PURE__ */ r("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", width: t, height: t, children: st[e] });
201
201
  }
202
- const ge = {
202
+ const le = {
203
203
  base: {
204
+ k1xSpc: "x78zum5",
205
+ kXwgrk: "x1q0g3np",
206
+ kGNEyG: "x1cy8zhl",
207
+ kOIVth: "x1wyuhvo",
204
208
  kmVPX3: "x16ixvul",
205
209
  kaIpWk: "x1gbengz",
206
210
  kMzoRj: "xmkeg23",
@@ -209,13 +213,17 @@ const ge = {
209
213
  kLWn49: "xi1gl5z",
210
214
  $$css: !0
211
215
  },
212
- icon: {
213
- kyUFMd: "x1faq86j",
214
- km5ZXQ: "xxn522s",
215
- keoZOQ: "xr9ek0c",
216
- k1xSpc: "x3nfvp2",
216
+ iconWrap: {
217
+ kmuXW: "x2lah0s",
218
+ k1xSpc: "x78zum5",
217
219
  kGNEyG: "x6s0dn4",
218
220
  kjj79g: "xl56j7k",
221
+ kLKAdn: "x4p5aij",
222
+ $$css: !0
223
+ },
224
+ content: {
225
+ kUk6DE: "x98rzlu",
226
+ k7Eaqz: "xeuugli",
219
227
  $$css: !0
220
228
  },
221
229
  error: {
@@ -242,27 +250,27 @@ const ge = {
242
250
  kMwMTN: "xmooqzt",
243
251
  $$css: !0
244
252
  }
245
- }, ot = {
253
+ }, it = {
246
254
  info: "info-circle-filled",
247
255
  warning: "alert-triangle-filled",
248
256
  success: "check-circle-filled",
249
257
  error: "x-circle-filled"
250
258
  };
251
- function it(e, t) {
252
- return e === !1 ? null : e === void 0 ? /* @__PURE__ */ r(ve, { name: ot[t], size: 18 }) : typeof e == "string" ? /* @__PURE__ */ r(ve, { name: e, size: 18 }) : e;
259
+ function ct(e, t) {
260
+ return e === !1 ? null : e === void 0 ? /* @__PURE__ */ r(ie, { name: it[t], size: 18 }) : typeof e == "string" ? /* @__PURE__ */ r(ie, { name: e, size: 18 }) : e;
253
261
  }
254
- function zn({
262
+ function Wn({
255
263
  variant: e = "info",
256
264
  icon: t,
257
265
  children: n
258
266
  }) {
259
- const s = it(t, e);
260
- return /* @__PURE__ */ z("div", { role: "alert", ...x(a.div, ge.base, ge[e]), children: [
261
- s && /* @__PURE__ */ r("span", { ...x(a.span, ge.icon), children: s }),
262
- n
263
- ] });
267
+ const s = ct(t, e);
268
+ return /* @__PURE__ */ r("div", { role: "alert", ...x(k.div, le.base, le[e]), children: s ? /* @__PURE__ */ z(N, { children: [
269
+ /* @__PURE__ */ r("div", { ...x(k.div, le.iconWrap), children: s }),
270
+ /* @__PURE__ */ r("div", { ...x(k.div, le.content), children: n })
271
+ ] }) : n });
264
272
  }
265
- const le = {
273
+ const ke = {
266
274
  base: {
267
275
  k1xSpc: "x3nfvp2",
268
276
  kGNEyG: "x6s0dn4",
@@ -315,16 +323,16 @@ const le = {
315
323
  kMwMTN: "xmooqzt",
316
324
  $$css: !0
317
325
  }
318
- }, ct = {
319
- sm: le.sizeSm,
320
- md: le.sizeMd
326
+ }, lt = {
327
+ sm: ke.sizeSm,
328
+ md: ke.sizeMd
321
329
  };
322
- function In({
330
+ function Hn({
323
331
  variant: e = "default",
324
332
  size: t = "md",
325
333
  children: n
326
334
  }) {
327
- return /* @__PURE__ */ r("span", { ...x(a.span, le.base, ct[t], le[e]), children: n });
335
+ return /* @__PURE__ */ r("span", { ...x(k.span, ke.base, lt[t], ke[e]), children: n });
328
336
  }
329
337
  const ne = {
330
338
  base: {
@@ -401,11 +409,11 @@ const ne = {
401
409
  kkrTdU: "x1h6gzvc",
402
410
  $$css: !0
403
411
  }
404
- }, lt = {
412
+ }, xt = {
405
413
  default: ne.sizeDefault,
406
414
  small: ne.sizeSmall
407
415
  };
408
- function qn({
416
+ function Gn({
409
417
  variant: e = "primary",
410
418
  size: t = "default",
411
419
  fullWidth: n = !1,
@@ -414,7 +422,72 @@ function qn({
414
422
  onClick: l,
415
423
  children: i
416
424
  }) {
417
- return /* @__PURE__ */ r("button", { type: o, disabled: s, onClick: l, ...x(a.button, ne.base, lt[t], ne[e], n && ne.fullWidth, s && ne.disabled), children: i });
425
+ return /* @__PURE__ */ r("button", { type: o, disabled: s, onClick: l, ...x(k.button, ne.base, xt[t], ne[e], n && ne.fullWidth, s && ne.disabled), children: i });
426
+ }
427
+ const pe = {
428
+ base: {
429
+ kmVPX3: "x16ixvul",
430
+ kaIpWk: "x1gbengz",
431
+ kMzoRj: "xmkeg23",
432
+ ksu8eU: "x1y0btm7",
433
+ kGuDYH: "xh6m7d2",
434
+ kLWn49: "xi1gl5z",
435
+ kVQacm: "xb3r6kr",
436
+ $$css: !0
437
+ },
438
+ icon: {
439
+ kyUFMd: "x1faq86j",
440
+ km5ZXQ: "xxn522s",
441
+ k1K539: "x1r2uyx8",
442
+ keoZOQ: "xr9ek0c",
443
+ k1xSpc: "x3nfvp2",
444
+ kGNEyG: "x6s0dn4",
445
+ kjj79g: "xl56j7k",
446
+ $$css: !0
447
+ },
448
+ error: {
449
+ kWkggS: "x102pa86",
450
+ kVAM5u: "xmuf6iu",
451
+ kMwMTN: "x1gc3xgn",
452
+ $$css: !0
453
+ },
454
+ success: {
455
+ kWkggS: "xqmdxru",
456
+ kVAM5u: "x1q7s2p",
457
+ kMwMTN: "xcrp0t0",
458
+ $$css: !0
459
+ },
460
+ warning: {
461
+ kWkggS: "x1g9he1u",
462
+ kVAM5u: "xsrn1xb",
463
+ kMwMTN: "x1e2iipf",
464
+ $$css: !0
465
+ },
466
+ info: {
467
+ kWkggS: "xzusddy",
468
+ kVAM5u: "x1ke832z",
469
+ kMwMTN: "xmooqzt",
470
+ $$css: !0
471
+ }
472
+ }, kt = {
473
+ info: "info-circle-filled",
474
+ warning: "alert-triangle-filled",
475
+ success: "check-circle-filled",
476
+ error: "x-circle-filled"
477
+ };
478
+ function at(e, t) {
479
+ return e === !1 ? null : e === void 0 ? /* @__PURE__ */ r(ie, { name: kt[t], size: 36 }) : typeof e == "string" ? /* @__PURE__ */ r(ie, { name: e, size: 36 }) : e;
480
+ }
481
+ function Ln({
482
+ variant: e = "info",
483
+ icon: t,
484
+ children: n
485
+ }) {
486
+ const s = at(t, e);
487
+ return /* @__PURE__ */ z("div", { role: "note", ...x(k.div, pe.base, pe[e]), children: [
488
+ s && /* @__PURE__ */ r("span", { ...x(k.span, pe.icon), children: s }),
489
+ n
490
+ ] });
418
491
  }
419
492
  const re = {
420
493
  base: {
@@ -473,20 +546,20 @@ const re = {
473
546
  k1K539: "x2mrtcw",
474
547
  $$css: !0
475
548
  }
476
- }, xt = {
549
+ }, ut = {
477
550
  default: re.sizeDefault,
478
551
  compact: re.sizeCompact,
479
552
  full: re.sizeFull
480
553
  };
481
- function Wn({
554
+ function Tn({
482
555
  variant: e = "outlined",
483
556
  size: t = "default",
484
557
  header: n,
485
558
  onClick: s,
486
559
  children: o
487
560
  }) {
488
- return /* @__PURE__ */ z("div", { onClick: s, ...x(a.div, re.base, re[e], xt[t]), children: [
489
- n && /* @__PURE__ */ r("div", { ...x(a.div, re.header), children: n }),
561
+ return /* @__PURE__ */ z("div", { onClick: s, ...x(k.div, re.base, re[e], ut[t]), children: [
562
+ n && /* @__PURE__ */ r("div", { ...x(k.div, re.header), children: n }),
490
563
  o
491
564
  ] });
492
565
  }
@@ -540,7 +613,7 @@ const ee = {
540
613
  $$css: !0
541
614
  }
542
615
  };
543
- function Hn({
616
+ function En({
544
617
  name: e,
545
618
  value: t,
546
619
  checked: n,
@@ -549,18 +622,18 @@ function Hn({
549
622
  onChange: l,
550
623
  children: i
551
624
  }) {
552
- const c = n !== void 0, [d, k] = G(s), g = c ? n : d, u = W(($) => {
553
- c || k($.target.checked), l?.($);
625
+ const c = n !== void 0, [d, a] = G(s), g = c ? n : d, u = W(($) => {
626
+ c || a($.target.checked), l?.($);
554
627
  }, [c, l]);
555
- return /* @__PURE__ */ z("label", { ...x(a.label, ee.root, o && ee.rootDisabled), children: [
556
- /* @__PURE__ */ r("input", { type: "checkbox", name: e, value: t, checked: c ? n : void 0, defaultChecked: c ? void 0 : s, disabled: o, onChange: u, ...x(a.input, ee.input), dir: "auto" }),
557
- /* @__PURE__ */ r("span", { ...x(a.span, ee.box, g ? ee.boxChecked : ee.boxUnchecked), "aria-hidden": !0, children: /* @__PURE__ */ r("svg", { width: 12, height: 12, viewBox: "0 0 12 12", fill: "none", style: {
628
+ return /* @__PURE__ */ z("label", { ...x(k.label, ee.root, o && ee.rootDisabled), children: [
629
+ /* @__PURE__ */ r("input", { type: "checkbox", name: e, value: t, checked: c ? n : void 0, defaultChecked: c ? void 0 : s, disabled: o, onChange: u, ...x(k.input, ee.input), dir: "auto" }),
630
+ /* @__PURE__ */ r("span", { ...x(k.span, ee.box, g ? ee.boxChecked : ee.boxUnchecked), "aria-hidden": !0, children: /* @__PURE__ */ r("svg", { width: 12, height: 12, viewBox: "0 0 12 12", fill: "none", style: {
558
631
  opacity: g ? 1 : 0
559
632
  }, children: /* @__PURE__ */ r("polyline", { points: "2.5 6 5 8.5 9.5 3.5", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }) }) }),
560
- i && /* @__PURE__ */ r("span", { ...x(a.span), children: i })
633
+ i && /* @__PURE__ */ r("span", { ...x(k.span), children: i })
561
634
  ] });
562
635
  }
563
- const he = {
636
+ const fe = {
564
637
  root: {
565
638
  k1xSpc: "x78zum5",
566
639
  kXwgrk: "xdt5ytf",
@@ -583,18 +656,18 @@ const he = {
583
656
  $$css: !0
584
657
  }
585
658
  };
586
- function Gn({
659
+ function Vn({
587
660
  message: e,
588
661
  icon: t,
589
662
  action: n
590
663
  }) {
591
- return /* @__PURE__ */ z("div", { ...x(a.div, he.root), children: [
664
+ return /* @__PURE__ */ z("div", { ...x(k.div, fe.root), children: [
592
665
  t,
593
- /* @__PURE__ */ r("p", { ...x(a.p, he.message), children: e }),
594
- n && /* @__PURE__ */ r("div", { ...x(a.div, he.action), children: n })
666
+ /* @__PURE__ */ r("p", { ...x(k.p, fe.message), children: e }),
667
+ n && /* @__PURE__ */ r("div", { ...x(k.div, fe.action), children: n })
595
668
  ] });
596
669
  }
597
- const Ge = {
670
+ const Le = {
598
671
  bodySm: {
599
672
  kMv6JI: "x2nsvjj",
600
673
  kGuDYH: "x1if0jgx",
@@ -708,7 +781,7 @@ const Ge = {
708
781
  kb6lSQ: "xgvl3jc",
709
782
  $$css: !0
710
783
  }
711
- }, ce = {
784
+ }, xe = {
712
785
  default: {
713
786
  kMwMTN: "xg6mlj0",
714
787
  $$css: !0
@@ -733,33 +806,33 @@ const Ge = {
733
806
  k9WMMc: "xp4054r",
734
807
  $$css: !0
735
808
  }
736
- }, at = {
809
+ }, dt = {
737
810
  1: "headingXl",
738
811
  2: "headingLg",
739
812
  3: "headingMd",
740
813
  4: "headingSm",
741
814
  5: "headingSm",
742
815
  6: "headingSm"
743
- }, kt = {
744
- start: ce.alignStart,
745
- center: ce.alignCenter,
746
- end: ce.alignEnd
816
+ }, gt = {
817
+ start: xe.alignStart,
818
+ center: xe.alignCenter,
819
+ end: xe.alignEnd
747
820
  };
748
- function Ln({
821
+ function An({
749
822
  level: e,
750
823
  variant: t,
751
824
  color: n = "default",
752
825
  align: s,
753
826
  children: o
754
827
  }) {
755
- const l = t ?? at[e], i = [Ge[l], ce[n], s && kt[s]];
756
- return e === 1 ? /* @__PURE__ */ r("h1", { ...x(a.h1, i), children: o }) : e === 2 ? /* @__PURE__ */ r("h2", { ...x(a.h2, i), children: o }) : e === 3 ? /* @__PURE__ */ r("h3", { ...x(a.h3, i), children: o }) : e === 4 ? /* @__PURE__ */ r("h4", { ...x(a.h4, i), children: o }) : e === 5 ? /* @__PURE__ */ r("h5", { ...x(a.h5, i), children: o }) : /* @__PURE__ */ r("h6", { ...x(a.h6, i), children: o });
828
+ const l = t ?? dt[e], i = [Le[l], xe[n], s && gt[s]];
829
+ return e === 1 ? /* @__PURE__ */ r("h1", { ...x(k.h1, i), children: o }) : e === 2 ? /* @__PURE__ */ r("h2", { ...x(k.h2, i), children: o }) : e === 3 ? /* @__PURE__ */ r("h3", { ...x(k.h3, i), children: o }) : e === 4 ? /* @__PURE__ */ r("h4", { ...x(k.h4, i), children: o }) : e === 5 ? /* @__PURE__ */ r("h5", { ...x(k.h5, i), children: o }) : /* @__PURE__ */ r("h6", { ...x(k.h6, i), children: o });
757
830
  }
758
- const Le = R(null);
759
- function ie() {
760
- return O(Le);
831
+ const Te = R(null);
832
+ function ce() {
833
+ return C(Te);
761
834
  }
762
- const xe = {
835
+ const ae = {
763
836
  root: {
764
837
  k1xSpc: "x78zum5",
765
838
  kXwgrk: "xdt5ytf",
@@ -783,46 +856,46 @@ const xe = {
783
856
  $$css: !0
784
857
  }
785
858
  };
786
- function ut({
859
+ function ht({
787
860
  invalid: e = !1,
788
861
  children: t
789
862
  }) {
790
- const n = _(), s = $e(() => ({
863
+ const n = _(), s = me(() => ({
791
864
  controlId: `${n}-control`,
792
865
  descriptionId: `${n}-description`,
793
866
  errorId: `${n}-error`,
794
867
  invalid: e
795
868
  }), [n, e]);
796
- return /* @__PURE__ */ r(Le.Provider, { value: s, children: /* @__PURE__ */ r("div", { ...x(a.div, xe.root), children: t }) });
869
+ return /* @__PURE__ */ r(Te.Provider, { value: s, children: /* @__PURE__ */ r("div", { ...x(k.div, ae.root), children: t }) });
797
870
  }
798
- function dt({
871
+ function pt({
799
872
  children: e
800
873
  }) {
801
- const t = ie();
802
- return /* @__PURE__ */ r("label", { htmlFor: t?.controlId, ...x(a.label, xe.label), children: e });
874
+ const t = ce();
875
+ return /* @__PURE__ */ r("label", { htmlFor: t?.controlId, ...x(k.label, ae.label), children: e });
803
876
  }
804
- function gt({
877
+ function ft({
805
878
  children: e
806
879
  }) {
807
- const t = ie();
808
- return /* @__PURE__ */ r("span", { id: t?.descriptionId, ...x(a.span, xe.description), children: e });
880
+ const t = ce();
881
+ return /* @__PURE__ */ r("span", { id: t?.descriptionId, ...x(k.span, ae.description), children: e });
809
882
  }
810
- function ht({
883
+ function vt({
811
884
  children: e
812
885
  }) {
813
- const t = ie();
814
- return !t?.invalid && !e ? null : /* @__PURE__ */ r("span", { id: t?.errorId, role: "alert", ...x(a.span, xe.error), children: e });
815
- }
816
- const Tn = {
817
- Root: ut,
818
- Label: dt,
819
- Description: gt,
820
- Error: ht
821
- }, Te = R(null);
822
- function pt() {
823
- return O(Te);
886
+ const t = ce();
887
+ return !t?.invalid && !e ? null : /* @__PURE__ */ r("span", { id: t?.errorId, role: "alert", ...x(k.span, ae.error), children: e });
824
888
  }
825
- const pe = {
889
+ const Nn = {
890
+ Root: ht,
891
+ Label: pt,
892
+ Description: ft,
893
+ Error: vt
894
+ }, Ee = R(null);
895
+ function $t() {
896
+ return C(Ee);
897
+ }
898
+ const ve = {
826
899
  base: {
827
900
  kzqmXN: "xh8yej3",
828
901
  kLKAdn: "x1y6gaq4",
@@ -861,7 +934,7 @@ const pe = {
861
934
  $$css: !0
862
935
  }
863
936
  };
864
- function En({
937
+ function On({
865
938
  variant: e = "default",
866
939
  type: t = "text",
867
940
  name: n,
@@ -871,14 +944,14 @@ function En({
871
944
  pattern: i,
872
945
  autoComplete: c,
873
946
  value: d,
874
- defaultValue: k,
947
+ defaultValue: a,
875
948
  disabled: g,
876
949
  onChange: u
877
950
  }) {
878
- const $ = ie(), M = pt(), p = i !== void 0 ? {
951
+ const $ = ce(), M = $t(), p = i !== void 0 ? {
879
952
  pattern: i
880
953
  } : void 0;
881
- return /* @__PURE__ */ r("input", { id: $?.controlId, type: t, name: n, placeholder: s, required: o, minLength: l, autoComplete: c, value: d, defaultValue: k, disabled: g, "aria-describedby": $ ? `${$.descriptionId} ${$.invalid ? $.errorId : ""}`.trim() : void 0, "aria-invalid": $?.invalid || e === "error" || void 0, onChange: u, ...x(a.input, pe.base, pe[e], M?.inGroup && pe.inGroup), ...p, dir: "auto" });
954
+ return /* @__PURE__ */ r("input", { id: $?.controlId, type: t, name: n, placeholder: s, required: o, minLength: l, autoComplete: c, value: d, defaultValue: a, disabled: g, "aria-describedby": $ ? `${$.descriptionId} ${$.invalid ? $.errorId : ""}`.trim() : void 0, "aria-invalid": $?.invalid || e === "error" || void 0, onChange: u, ...x(k.input, ve.base, ve[e], M?.inGroup && ve.inGroup), ...p, dir: "auto" });
882
955
  }
883
956
  const te = {
884
957
  wrapper: {
@@ -935,26 +1008,26 @@ const te = {
935
1008
  $$css: !0
936
1009
  }
937
1010
  };
938
- function ft({
1011
+ function mt({
939
1012
  children: e
940
1013
  }) {
941
- const t = $e(() => ({
1014
+ const t = me(() => ({
942
1015
  inGroup: !0
943
1016
  }), []);
944
- return /* @__PURE__ */ r(Te.Provider, { value: t, children: /* @__PURE__ */ r("div", { ...x(a.div, te.wrapper), children: e }) });
1017
+ return /* @__PURE__ */ r(Ee.Provider, { value: t, children: /* @__PURE__ */ r("div", { ...x(k.div, te.wrapper), children: e }) });
945
1018
  }
946
- function vt({
1019
+ function bt({
947
1020
  position: e = "end",
948
1021
  onClick: t,
949
1022
  disabled: n,
950
1023
  children: s
951
1024
  }) {
952
1025
  const o = e === "start" ? te.addonStart : te.addonEnd, l = [te.addon, o, t && !n && te.addonClickable, n && te.addonDisabled];
953
- return t ? /* @__PURE__ */ r("button", { type: "button", onClick: t, disabled: n, ...x(a.button, l), children: s }) : /* @__PURE__ */ r("span", { ...x(a.span, l), children: s });
1026
+ return t ? /* @__PURE__ */ r("button", { type: "button", onClick: t, disabled: n, ...x(k.button, l), children: s }) : /* @__PURE__ */ r("span", { ...x(k.span, l), children: s });
954
1027
  }
955
- const Vn = {
956
- Root: ft,
957
- Addon: vt
1028
+ const Cn = {
1029
+ Root: mt,
1030
+ Addon: bt
958
1031
  }, oe = {
959
1032
  base: {
960
1033
  k1xSpc: "x3nfvp2",
@@ -1005,11 +1078,11 @@ const Vn = {
1005
1078
  kzqmXN: "xh8yej3",
1006
1079
  $$css: !0
1007
1080
  }
1008
- }, $t = {
1081
+ }, yt = {
1009
1082
  default: oe.sizeDefault,
1010
1083
  small: oe.sizeSmall
1011
1084
  };
1012
- function An({
1085
+ function Bn({
1013
1086
  href: e,
1014
1087
  variant: t = "primary",
1015
1088
  size: n = "default",
@@ -1018,7 +1091,7 @@ function An({
1018
1091
  rel: l,
1019
1092
  children: i
1020
1093
  }) {
1021
- return /* @__PURE__ */ r("a", { href: e, target: o, rel: l, ...x(a.a, oe.base, $t[n], oe[t], s && oe.fullWidth), children: i });
1094
+ return /* @__PURE__ */ r("a", { href: e, target: o, rel: l, ...x(k.a, oe.base, yt[n], oe[t], s && oe.fullWidth), children: i });
1022
1095
  }
1023
1096
  const P = {
1024
1097
  root: {
@@ -1104,21 +1177,21 @@ const P = {
1104
1177
  kMwMTN: "xg6mlj0 x1c35pte",
1105
1178
  $$css: !0
1106
1179
  }
1107
- }, Ee = R(null);
1108
- function ae() {
1109
- const e = O(Ee);
1180
+ }, Ve = R(null);
1181
+ function ue() {
1182
+ const e = C(Ve);
1110
1183
  if (!e) throw new Error("Menu compound components must be used within Menu.Root");
1111
1184
  return e;
1112
1185
  }
1113
- function mt() {
1114
- const [e, t] = G(!1), [n, s] = G(null), o = _(), l = w(null), i = w(null), c = w(/* @__PURE__ */ new Map()), d = w([]), k = w(!1), g = W(() => {
1115
- t(!1), s(null), k.current = !1, i.current?.focus();
1186
+ function wt() {
1187
+ const [e, t] = G(!1), [n, s] = G(null), o = _(), l = w(null), i = w(null), c = w(/* @__PURE__ */ new Map()), d = w([]), a = w(!1), g = W(() => {
1188
+ t(!1), s(null), a.current = !1, i.current?.focus();
1116
1189
  }, []), u = W(() => {
1117
- t((p) => (p ? (s(null), k.current = !1) : k.current = !0, !p));
1190
+ t((p) => (p ? (s(null), a.current = !1) : a.current = !0, !p));
1118
1191
  }, []);
1119
1192
  H(() => {
1120
- if (e && k.current) {
1121
- k.current = !1;
1193
+ if (e && a.current) {
1194
+ a.current = !1;
1122
1195
  const p = d.current;
1123
1196
  p.length > 0 && s(p[0]);
1124
1197
  }
@@ -1127,8 +1200,8 @@ function mt() {
1127
1200
  c.current.set(p, m);
1128
1201
  const f = c.current, v = [...f.keys()];
1129
1202
  return v.sort((h, b) => {
1130
- const C = f.get(h), Q = f.get(b);
1131
- return !C || !Q ? 0 : C.compareDocumentPosition(Q) & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : 1;
1203
+ const B = f.get(h), Q = f.get(b);
1204
+ return !B || !Q ? 0 : B.compareDocumentPosition(Q) & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : 1;
1132
1205
  }), d.current = v, () => {
1133
1206
  c.current.delete(p), d.current = d.current.filter((h) => h !== p);
1134
1207
  };
@@ -1191,16 +1264,16 @@ function mt() {
1191
1264
  rootRef: l
1192
1265
  };
1193
1266
  }
1194
- function bt({
1267
+ function Mt({
1195
1268
  children: e
1196
1269
  }) {
1197
1270
  const {
1198
1271
  ctx: t,
1199
1272
  rootRef: n
1200
- } = mt();
1201
- return /* @__PURE__ */ r(Ee.Provider, { value: t, children: /* @__PURE__ */ r("div", { ref: n, ...x(a.div, P.root), children: e }) });
1273
+ } = wt();
1274
+ return /* @__PURE__ */ r(Ve.Provider, { value: t, children: /* @__PURE__ */ r("div", { ref: n, ...x(k.div, P.root), children: e }) });
1202
1275
  }
1203
- function yt({
1276
+ function St({
1204
1277
  children: e
1205
1278
  }) {
1206
1279
  const {
@@ -1208,12 +1281,12 @@ function yt({
1208
1281
  toggle: n,
1209
1282
  menuId: s,
1210
1283
  triggerRef: o
1211
- } = ae(), l = w(null);
1284
+ } = ue(), l = w(null);
1212
1285
  return H(() => {
1213
1286
  o.current = l.current;
1214
- }), /* @__PURE__ */ r("button", { ref: l, type: "button", onClick: n, "aria-expanded": t, "aria-haspopup": "menu", "aria-controls": t ? s : void 0, ...x(a.button, P.trigger), children: e });
1287
+ }), /* @__PURE__ */ r("button", { ref: l, type: "button", onClick: n, "aria-expanded": t, "aria-haspopup": "menu", "aria-controls": t ? s : void 0, ...x(k.button, P.trigger), children: e });
1215
1288
  }
1216
- function wt({
1289
+ function jt({
1217
1290
  children: e,
1218
1291
  align: t = "start"
1219
1292
  }) {
@@ -1222,13 +1295,13 @@ function wt({
1222
1295
  close: s,
1223
1296
  menuId: o,
1224
1297
  highlightedId: l
1225
- } = ae();
1226
- return n ? /* @__PURE__ */ z(B, { children: [
1227
- /* @__PURE__ */ r("div", { ...x(a.div, P.backdrop), onClick: s }),
1228
- /* @__PURE__ */ r("div", { id: o, role: "menu", "aria-activedescendant": l ?? void 0, ...x(a.div, P.popup, t === "end" && P.popupEnd), children: e })
1298
+ } = ue();
1299
+ return n ? /* @__PURE__ */ z(N, { children: [
1300
+ /* @__PURE__ */ r("div", { ...x(k.div, P.backdrop), onClick: s }),
1301
+ /* @__PURE__ */ r("div", { id: o, role: "menu", "aria-activedescendant": l ?? void 0, ...x(k.div, P.popup, t === "end" && P.popupEnd), children: e })
1229
1302
  ] }) : null;
1230
1303
  }
1231
- function Mt({
1304
+ function zt({
1232
1305
  onClick: e,
1233
1306
  children: t
1234
1307
  }) {
@@ -1237,16 +1310,16 @@ function Mt({
1237
1310
  highlightedId: s,
1238
1311
  setHighlightedId: o,
1239
1312
  registerItem: l
1240
- } = ae(), i = _(), c = w(null), d = s === i;
1313
+ } = ue(), i = _(), c = w(null), d = s === i;
1241
1314
  return H(() => {
1242
1315
  const g = c.current;
1243
1316
  if (g)
1244
1317
  return l(i, g);
1245
1318
  }, [i, l]), /* @__PURE__ */ r("div", { ref: c, id: i, role: "menuitem", onClick: () => {
1246
1319
  e?.(), n();
1247
- }, onPointerEnter: () => o(i), ...x(a.div, P.item, d && P.itemHighlighted), children: t });
1320
+ }, onPointerEnter: () => o(i), ...x(k.div, P.item, d && P.itemHighlighted), children: t });
1248
1321
  }
1249
- function St({
1322
+ function It({
1250
1323
  href: e,
1251
1324
  children: t
1252
1325
  }) {
@@ -1255,19 +1328,19 @@ function St({
1255
1328
  highlightedId: s,
1256
1329
  setHighlightedId: o,
1257
1330
  registerItem: l
1258
- } = ae(), i = _(), c = w(null), d = s === i;
1331
+ } = ue(), i = _(), c = w(null), d = s === i;
1259
1332
  return H(() => {
1260
- const k = c.current;
1261
- if (k)
1262
- return l(i, k);
1263
- }, [i, l]), /* @__PURE__ */ r("a", { ref: c, id: i, href: e, onClick: n, role: "menuitem", onPointerEnter: () => o(i), ...x(a.a, P.item, P.linkItem, d && P.itemHighlighted), children: t });
1264
- }
1265
- const Nn = {
1266
- Root: bt,
1267
- Trigger: yt,
1268
- Popup: wt,
1269
- Item: Mt,
1270
- LinkItem: St
1333
+ const a = c.current;
1334
+ if (a)
1335
+ return l(i, a);
1336
+ }, [i, l]), /* @__PURE__ */ r("a", { ref: c, id: i, href: e, onClick: n, role: "menuitem", onPointerEnter: () => o(i), ...x(k.a, P.item, P.linkItem, d && P.itemHighlighted), children: t });
1337
+ }
1338
+ const Dn = {
1339
+ Root: Mt,
1340
+ Trigger: St,
1341
+ Popup: jt,
1342
+ Item: zt,
1343
+ LinkItem: It
1271
1344
  }, D = {
1272
1345
  root: {
1273
1346
  kVAEAm: "x1n2onr6",
@@ -1359,24 +1432,24 @@ const Nn = {
1359
1432
  "--x-width": ((n) => typeof n == "number" ? n + "px" : n ?? void 0)(e),
1360
1433
  "--x-transform": t ?? void 0
1361
1434
  }]
1362
- }, Ve = R(null);
1363
- function ke() {
1364
- const e = O(Ve);
1435
+ }, Ae = R(null);
1436
+ function de() {
1437
+ const e = C(Ae);
1365
1438
  if (!e) throw new Error("ScrollArea compound components must be used within ScrollArea.Root");
1366
1439
  return e;
1367
1440
  }
1368
- function jt() {
1369
- const e = w(null), t = w(null), [n, s] = G(0), [o, l] = G(0), [i, c] = G(0), [d, k] = G(0), [g, u] = G(0), [$, M] = G(0), [p, m] = G(!1), f = w(null), v = W(() => {
1441
+ function qt() {
1442
+ const e = w(null), t = w(null), [n, s] = G(0), [o, l] = G(0), [i, c] = G(0), [d, a] = G(0), [g, u] = G(0), [$, M] = G(0), [p, m] = G(!1), f = w(null), v = W(() => {
1370
1443
  const h = e.current;
1371
- h && (s(h.scrollTop), l(h.scrollLeft), c(h.scrollHeight), k(h.scrollWidth), u(h.clientHeight), M(h.clientWidth), m(!0), f.current && clearTimeout(f.current), f.current = setTimeout(() => m(!1), 1e3));
1444
+ h && (s(h.scrollTop), l(h.scrollLeft), c(h.scrollHeight), a(h.scrollWidth), u(h.clientHeight), M(h.clientWidth), m(!0), f.current && clearTimeout(f.current), f.current = setTimeout(() => m(!1), 1e3));
1372
1445
  }, []);
1373
1446
  return H(() => {
1374
1447
  const h = e.current;
1375
1448
  if (!h) return;
1376
1449
  const b = new ResizeObserver(() => {
1377
- c(h.scrollHeight), k(h.scrollWidth), u(h.clientHeight), M(h.clientWidth);
1450
+ c(h.scrollHeight), a(h.scrollWidth), u(h.clientHeight), M(h.clientWidth);
1378
1451
  });
1379
- return b.observe(h), c(h.scrollHeight), k(h.scrollWidth), u(h.clientHeight), M(h.clientWidth), () => b.disconnect();
1452
+ return b.observe(h), c(h.scrollHeight), a(h.scrollWidth), u(h.clientHeight), M(h.clientWidth), () => b.disconnect();
1380
1453
  }, []), H(() => {
1381
1454
  const h = e.current;
1382
1455
  if (h)
@@ -1395,30 +1468,30 @@ function jt() {
1395
1468
  scrolling: p
1396
1469
  };
1397
1470
  }
1398
- function zt({
1471
+ function Wt({
1399
1472
  children: e
1400
1473
  }) {
1401
- const t = jt();
1402
- return /* @__PURE__ */ r(Ve.Provider, { value: t, children: /* @__PURE__ */ r("div", { ...x(a.div, D.root), children: e }) });
1474
+ const t = qt();
1475
+ return /* @__PURE__ */ r(Ae.Provider, { value: t, children: /* @__PURE__ */ r("div", { ...x(k.div, D.root), children: e }) });
1403
1476
  }
1404
- function It({
1477
+ function Ht({
1405
1478
  children: e,
1406
1479
  maxHeight: t
1407
1480
  }) {
1408
1481
  const {
1409
1482
  viewportRef: n
1410
- } = ke();
1411
- return /* @__PURE__ */ r("div", { ref: n, ...x(a.div, D.viewport, t != null && D.viewportMaxHeight(t)), children: e });
1483
+ } = de();
1484
+ return /* @__PURE__ */ r("div", { ref: n, ...x(k.div, D.viewport, t != null && D.viewportMaxHeight(t)), children: e });
1412
1485
  }
1413
- function qt({
1486
+ function Gt({
1414
1487
  children: e
1415
1488
  }) {
1416
1489
  const {
1417
1490
  contentRef: t
1418
- } = ke();
1419
- return /* @__PURE__ */ r("div", { ref: t, ...x(a.div, D.content), children: e });
1491
+ } = de();
1492
+ return /* @__PURE__ */ r("div", { ref: t, ...x(k.div, D.content), children: e });
1420
1493
  }
1421
- function Wt({
1494
+ function Lt({
1422
1495
  orientation: e = "vertical",
1423
1496
  children: t
1424
1497
  }) {
@@ -1428,10 +1501,10 @@ function Wt({
1428
1501
  scrollWidth: o,
1429
1502
  clientHeight: l,
1430
1503
  clientWidth: i
1431
- } = ke();
1432
- return (e === "vertical" ? s > l : o > i) ? /* @__PURE__ */ r("div", { ...x(a.div, D.scrollbar, e === "vertical" ? D.scrollbarVertical : D.scrollbarHorizontal, n ? D.scrollbarVisible : D.scrollbarHidden), children: t }) : null;
1504
+ } = de();
1505
+ return (e === "vertical" ? s > l : o > i) ? /* @__PURE__ */ r("div", { ...x(k.div, D.scrollbar, e === "vertical" ? D.scrollbarVertical : D.scrollbarHorizontal, n ? D.scrollbarVisible : D.scrollbarHidden), children: t }) : null;
1433
1506
  }
1434
- function Ht({
1507
+ function Tt({
1435
1508
  orientation: e = "vertical"
1436
1509
  }) {
1437
1510
  const {
@@ -1442,25 +1515,25 @@ function Ht({
1442
1515
  scrollWidth: l,
1443
1516
  clientHeight: i,
1444
1517
  clientWidth: c
1445
- } = ke(), d = w(!1), k = w(0), g = w(0), u = e === "vertical", $ = Math.max(u ? i / o * 100 : c / l * 100, 10), M = u ? o - i : l - c, p = u ? i : c, m = $ / 100 * p, f = u ? n : s, v = M > 0 ? f / M * (p - m) : 0, h = u ? D.thumbVertical(`${$}%`, `translateY(${v}px)`) : D.thumbHorizontal(`${$}%`, `translateX(${v}px)`), b = W((y) => {
1446
- y.preventDefault(), d.current = !0, k.current = u ? y.clientY : y.clientX, g.current = u ? t.current?.scrollTop ?? 0 : t.current?.scrollLeft ?? 0, y.target.setPointerCapture(y.pointerId);
1447
- }, [u, t]), C = W((y) => {
1518
+ } = de(), d = w(!1), a = w(0), g = w(0), u = e === "vertical", $ = Math.max(u ? i / o * 100 : c / l * 100, 10), M = u ? o - i : l - c, p = u ? i : c, m = $ / 100 * p, f = u ? n : s, v = M > 0 ? f / M * (p - m) : 0, h = u ? D.thumbVertical(`${$}%`, `translateY(${v}px)`) : D.thumbHorizontal(`${$}%`, `translateX(${v}px)`), b = W((y) => {
1519
+ y.preventDefault(), d.current = !0, a.current = u ? y.clientY : y.clientX, g.current = u ? t.current?.scrollTop ?? 0 : t.current?.scrollLeft ?? 0, y.target.setPointerCapture(y.pointerId);
1520
+ }, [u, t]), B = W((y) => {
1448
1521
  if (!d.current) return;
1449
1522
  const I = t.current;
1450
1523
  if (!I) return;
1451
- const S = (u ? y.clientY : y.clientX) - k.current, j = M / (p - m), J = S * j;
1524
+ const S = (u ? y.clientY : y.clientX) - a.current, j = M / (p - m), J = S * j;
1452
1525
  u ? I.scrollTop = g.current + J : I.scrollLeft = g.current + J;
1453
1526
  }, [u, M, p, m, t]), Q = W(() => {
1454
1527
  d.current = !1;
1455
1528
  }, []);
1456
- return /* @__PURE__ */ r("div", { onPointerDown: b, onPointerMove: C, onPointerUp: Q, ...x(a.div, D.thumb, h) });
1457
- }
1458
- const On = {
1459
- Root: zt,
1460
- Viewport: It,
1461
- Content: qt,
1462
- Scrollbar: Wt,
1463
- Thumb: Ht
1529
+ return /* @__PURE__ */ r("div", { onPointerDown: b, onPointerMove: B, onPointerUp: Q, ...x(k.div, D.thumb, h) });
1530
+ }
1531
+ const Rn = {
1532
+ Root: Wt,
1533
+ Viewport: Ht,
1534
+ Content: Gt,
1535
+ Scrollbar: Lt,
1536
+ Thumb: Tt
1464
1537
  }, Y = {
1465
1538
  root: {
1466
1539
  kVAEAm: "x1n2onr6",
@@ -1559,25 +1632,25 @@ const On = {
1559
1632
  k1xSpc: "x1s85apg",
1560
1633
  $$css: !0
1561
1634
  }
1562
- }, Ae = R(null);
1563
- function ue() {
1564
- const e = O(Ae);
1635
+ }, Ne = R(null);
1636
+ function ge() {
1637
+ const e = C(Ne);
1565
1638
  if (!e) throw new Error("Select compound components must be used within Select.Root");
1566
1639
  return e;
1567
1640
  }
1568
- function be(e, t, n) {
1641
+ function ye(e, t, n) {
1569
1642
  const [s, o] = G(t), l = e !== void 0 ? e : s, i = W((c) => {
1570
1643
  e === void 0 && o(c), n?.(c);
1571
1644
  }, [e, n]);
1572
1645
  return [l, i];
1573
1646
  }
1574
- function Gt({
1647
+ function Et({
1575
1648
  defaultValue: e,
1576
1649
  value: t,
1577
1650
  onValueChange: n,
1578
1651
  initialLabels: s
1579
1652
  }) {
1580
- const [o, l] = be(t, e ?? null, n), [i, c] = G(!1), [d, k] = G(s ?? {}), [g, u] = G(null), $ = _(), M = w(null), p = w(null), m = w(/* @__PURE__ */ new Map()), f = w([]), v = W(() => {
1653
+ const [o, l] = ye(t, e ?? null, n), [i, c] = G(!1), [d, a] = G(s ?? {}), [g, u] = G(null), $ = _(), M = w(null), p = w(null), m = w(/* @__PURE__ */ new Map()), f = w([]), v = W(() => {
1581
1654
  c(!1), u(null), p.current?.focus();
1582
1655
  }, []), h = W(() => {
1583
1656
  c((y) => {
@@ -1598,19 +1671,19 @@ function Gt({
1598
1671
  return !y;
1599
1672
  });
1600
1673
  }, [o]), b = W((y, I) => {
1601
- k((S) => S[y] === I ? S : {
1674
+ a((S) => S[y] === I ? S : {
1602
1675
  ...S,
1603
1676
  [y]: I
1604
1677
  });
1605
- }, []), C = W((y, I, S) => {
1678
+ }, []), B = W((y, I, S) => {
1606
1679
  m.current.set(y, {
1607
1680
  value: I,
1608
1681
  element: S
1609
1682
  });
1610
1683
  const j = m.current, J = [...j.keys()];
1611
1684
  return J.sort((L, K) => {
1612
- const Se = j.get(L)?.element, je = j.get(K)?.element;
1613
- return !Se || !je ? 0 : Se.compareDocumentPosition(je) & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : 1;
1685
+ const je = j.get(L)?.element, ze = j.get(K)?.element;
1686
+ return !je || !ze ? 0 : je.compareDocumentPosition(ze) & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : 1;
1614
1687
  }), f.current = J, () => {
1615
1688
  m.current.delete(y), f.current = f.current.filter((L) => L !== y);
1616
1689
  };
@@ -1664,7 +1737,7 @@ function Gt({
1664
1737
  }
1665
1738
  return y.addEventListener("keydown", I), () => y.removeEventListener("keydown", I);
1666
1739
  }, [i, v, l]), {
1667
- ctx: $e(() => ({
1740
+ ctx: me(() => ({
1668
1741
  open: i,
1669
1742
  toggle: h,
1670
1743
  close: v,
@@ -1675,13 +1748,13 @@ function Gt({
1675
1748
  listboxId: $,
1676
1749
  highlightedId: g,
1677
1750
  setHighlightedId: u,
1678
- registerItem: C,
1751
+ registerItem: B,
1679
1752
  triggerRef: p
1680
- }), [i, h, v, o, l, d, b, $, g, u, C]),
1753
+ }), [i, h, v, o, l, d, b, $, g, u, B]),
1681
1754
  rootRef: M
1682
1755
  };
1683
1756
  }
1684
- function Lt({
1757
+ function Vt({
1685
1758
  name: e,
1686
1759
  defaultValue: t,
1687
1760
  value: n,
@@ -1692,18 +1765,18 @@ function Lt({
1692
1765
  const {
1693
1766
  ctx: i,
1694
1767
  rootRef: c
1695
- } = Gt({
1768
+ } = Et({
1696
1769
  defaultValue: t,
1697
1770
  value: n,
1698
1771
  onValueChange: s,
1699
1772
  initialLabels: o
1700
1773
  });
1701
- return /* @__PURE__ */ r(Ae.Provider, { value: i, children: /* @__PURE__ */ z("div", { ref: c, ...x(a.div, Y.root), children: [
1702
- e && /* @__PURE__ */ r("input", { type: "hidden", name: e, value: i.value ?? "", dir: "auto", ...x(a.input) }),
1774
+ return /* @__PURE__ */ r(Ne.Provider, { value: i, children: /* @__PURE__ */ z("div", { ref: c, ...x(k.div, Y.root), children: [
1775
+ e && /* @__PURE__ */ r("input", { type: "hidden", name: e, value: i.value ?? "", dir: "auto", ...x(k.input) }),
1703
1776
  l
1704
1777
  ] }) });
1705
1778
  }
1706
- function Tt({
1779
+ function At({
1707
1780
  children: e
1708
1781
  }) {
1709
1782
  const {
@@ -1712,39 +1785,39 @@ function Tt({
1712
1785
  listboxId: s,
1713
1786
  highlightedId: o,
1714
1787
  triggerRef: l
1715
- } = ue(), i = w(null);
1788
+ } = ge(), i = w(null);
1716
1789
  return H(() => {
1717
1790
  l.current = i.current;
1718
- }), /* @__PURE__ */ r("button", { ref: i, type: "button", role: "combobox", onClick: n, "aria-expanded": t, "aria-haspopup": "listbox", "aria-controls": t ? s : void 0, "aria-activedescendant": o ?? void 0, ...x(a.button, Y.trigger), children: e });
1791
+ }), /* @__PURE__ */ r("button", { ref: i, type: "button", role: "combobox", onClick: n, "aria-expanded": t, "aria-haspopup": "listbox", "aria-controls": t ? s : void 0, "aria-activedescendant": o ?? void 0, ...x(k.button, Y.trigger), children: e });
1719
1792
  }
1720
- function Et({
1793
+ function Nt({
1721
1794
  placeholder: e
1722
1795
  }) {
1723
1796
  const {
1724
1797
  value: t,
1725
1798
  labels: n
1726
- } = ue(), s = t ? n[t] ?? t : null;
1727
- return /* @__PURE__ */ r("span", { ...x(a.span, s ? Y.value : Y.placeholder), children: s ?? e });
1799
+ } = ge(), s = t ? n[t] ?? t : null;
1800
+ return /* @__PURE__ */ r("span", { ...x(k.span, s ? Y.value : Y.placeholder), children: s ?? e });
1728
1801
  }
1729
- function Vt({
1802
+ function Ot({
1730
1803
  children: e
1731
1804
  }) {
1732
- return /* @__PURE__ */ r("span", { ...x(a.span, Y.icon), children: e ?? /* @__PURE__ */ r("svg", { width: "12", height: "12", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ r("path", { d: "M6 9l6 6 6-6" }) }) });
1805
+ return /* @__PURE__ */ r("span", { ...x(k.span, Y.icon), children: e ?? /* @__PURE__ */ r("svg", { width: "12", height: "12", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ r("path", { d: "M6 9l6 6 6-6" }) }) });
1733
1806
  }
1734
- function At({
1807
+ function Ct({
1735
1808
  children: e
1736
1809
  }) {
1737
1810
  const {
1738
1811
  open: t,
1739
1812
  close: n,
1740
1813
  listboxId: s
1741
- } = ue();
1742
- return /* @__PURE__ */ z(B, { children: [
1743
- t && /* @__PURE__ */ r("div", { ...x(a.div, Y.backdrop), onClick: n }),
1744
- /* @__PURE__ */ r("div", { id: s, role: "listbox", "aria-hidden": !t, ...x(a.div, Y.popup, !t && Y.hidden), children: e })
1814
+ } = ge();
1815
+ return /* @__PURE__ */ z(N, { children: [
1816
+ t && /* @__PURE__ */ r("div", { ...x(k.div, Y.backdrop), onClick: n }),
1817
+ /* @__PURE__ */ r("div", { id: s, role: "listbox", "aria-hidden": !t, ...x(k.div, Y.popup, !t && Y.hidden), children: e })
1745
1818
  ] });
1746
1819
  }
1747
- function Nt({
1820
+ function Bt({
1748
1821
  value: e,
1749
1822
  children: t
1750
1823
  }) {
@@ -1756,7 +1829,7 @@ function Nt({
1756
1829
  highlightedId: i,
1757
1830
  setHighlightedId: c,
1758
1831
  registerItem: d
1759
- } = ue(), k = _(), g = w(null), u = n === e, $ = i === k;
1832
+ } = ge(), a = _(), g = w(null), u = n === e, $ = i === a;
1760
1833
  return H(() => {
1761
1834
  const p = g.current;
1762
1835
  if (!p) return;
@@ -1765,24 +1838,24 @@ function Nt({
1765
1838
  }, [e, l]), H(() => {
1766
1839
  const p = g.current;
1767
1840
  if (p)
1768
- return d(k, e, p);
1769
- }, [k, e, d]), /* @__PURE__ */ r("div", { ref: g, id: k, role: "option", "aria-selected": u, onClick: () => {
1841
+ return d(a, e, p);
1842
+ }, [a, e, d]), /* @__PURE__ */ r("div", { ref: g, id: a, role: "option", "aria-selected": u, onClick: () => {
1770
1843
  s(e), o();
1771
- }, onPointerEnter: () => c(k), ...x(a.div, Y.item, u && Y.itemSelected, $ && Y.itemHighlighted), children: t });
1844
+ }, onPointerEnter: () => c(a), ...x(k.div, Y.item, u && Y.itemSelected, $ && Y.itemHighlighted), children: t });
1772
1845
  }
1773
- function Ot({
1846
+ function Dt({
1774
1847
  children: e
1775
1848
  }) {
1776
- return /* @__PURE__ */ r("span", { ...x(a.span), children: e });
1849
+ return /* @__PURE__ */ r("span", { ...x(k.span), children: e });
1777
1850
  }
1778
- const Cn = {
1779
- Root: Lt,
1780
- Trigger: Tt,
1781
- Value: Et,
1782
- Icon: Vt,
1783
- Popup: At,
1784
- Item: Nt,
1785
- ItemText: Ot
1851
+ const Xn = {
1852
+ Root: Vt,
1853
+ Trigger: At,
1854
+ Value: Nt,
1855
+ Icon: Ot,
1856
+ Popup: Ct,
1857
+ Item: Bt,
1858
+ ItemText: Dt
1786
1859
  }, U = {
1787
1860
  root: {
1788
1861
  k1xSpc: "x78zum5",
@@ -1862,21 +1935,21 @@ const Cn = {
1862
1935
  k63SB2: "x9n8r49",
1863
1936
  $$css: !0
1864
1937
  }
1865
- }, Ne = R(null);
1866
- function Oe() {
1867
- const e = O(Ne);
1938
+ }, Oe = R(null);
1939
+ function Ce() {
1940
+ const e = C(Oe);
1868
1941
  if (!e) throw new Error("SideNav compound components must be used within SideNav.Root");
1869
1942
  return e;
1870
1943
  }
1871
- function Ct({
1944
+ function Rt({
1872
1945
  children: e,
1873
1946
  value: t,
1874
1947
  defaultValue: n,
1875
1948
  onValueChange: s
1876
1949
  }) {
1877
- const [o, l] = be(t, n ?? null, s ? (u) => {
1950
+ const [o, l] = ye(t, n ?? null, s ? (u) => {
1878
1951
  u !== null && s(u);
1879
- } : void 0), [i, c] = G(/* @__PURE__ */ new Set()), d = w([]), k = W((u) => {
1952
+ } : void 0), [i, c] = G(/* @__PURE__ */ new Set()), d = w([]), a = W((u) => {
1880
1953
  c(($) => {
1881
1954
  const M = new Set($);
1882
1955
  return M.has(u) ? M.delete(u) : M.add(u), M;
@@ -1886,16 +1959,16 @@ function Ct({
1886
1959
  }), []);
1887
1960
  return H(() => {
1888
1961
  o && c((u) => u);
1889
- }, [o]), /* @__PURE__ */ r(Ne.Provider, { value: {
1962
+ }, [o]), /* @__PURE__ */ r(Oe.Provider, { value: {
1890
1963
  activeValue: o,
1891
1964
  onSelect: l,
1892
1965
  expandedGroups: i,
1893
- toggleGroup: k,
1966
+ toggleGroup: a,
1894
1967
  registerItem: g,
1895
1968
  orderRef: d
1896
- }, children: /* @__PURE__ */ r("nav", { role: "navigation", ...x(a.nav, U.root), children: e }) });
1969
+ }, children: /* @__PURE__ */ r("nav", { role: "navigation", ...x(k.nav, U.root), children: e }) });
1897
1970
  }
1898
- function Bt({
1971
+ function Xt({
1899
1972
  children: e,
1900
1973
  label: t,
1901
1974
  groupKey: n,
@@ -1905,25 +1978,25 @@ function Bt({
1905
1978
  expandedGroups: l,
1906
1979
  toggleGroup: i,
1907
1980
  activeValue: c
1908
- } = Oe(), d = l.has(o), k = w(null);
1981
+ } = Ce(), d = l.has(o), a = w(null);
1909
1982
  H(() => {
1910
1983
  if (!c || l.has(o)) return;
1911
- const u = k.current;
1984
+ const u = a.current;
1912
1985
  if (!u) return;
1913
1986
  u.querySelector(`[data-nav-value="${c}"]`) && i(o);
1914
1987
  }, [c, o, l, i]), H(() => {
1915
1988
  s && !l.has(o) && i(o);
1916
1989
  }, []);
1917
- const g = !c || !k.current ? !1 : !!k.current.querySelector(`[data-nav-value="${c}"]`);
1918
- return /* @__PURE__ */ z("div", { ref: k, ...x(a.div, U.group), children: [
1919
- /* @__PURE__ */ z("button", { type: "button", onClick: () => i(o), ...x(a.button, U.groupTrigger, g && U.groupTriggerActive), "aria-expanded": d, children: [
1920
- /* @__PURE__ */ r("span", { ...x(a.span, U.chevron, d && U.chevronOpen), children: /* @__PURE__ */ r("svg", { width: 10, height: 10, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2.5, strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ r("path", { d: "M9 18l6-6-6-6" }) }) }),
1990
+ const g = !c || !a.current ? !1 : !!a.current.querySelector(`[data-nav-value="${c}"]`);
1991
+ return /* @__PURE__ */ z("div", { ref: a, ...x(k.div, U.group), children: [
1992
+ /* @__PURE__ */ z("button", { type: "button", onClick: () => i(o), ...x(k.button, U.groupTrigger, g && U.groupTriggerActive), "aria-expanded": d, children: [
1993
+ /* @__PURE__ */ r("span", { ...x(k.span, U.chevron, d && U.chevronOpen), children: /* @__PURE__ */ r("svg", { width: 10, height: 10, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2.5, strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ r("path", { d: "M9 18l6-6-6-6" }) }) }),
1921
1994
  t
1922
1995
  ] }),
1923
1996
  d && e
1924
1997
  ] });
1925
1998
  }
1926
- function Dt({
1999
+ function Yt({
1927
2000
  value: e,
1928
2001
  children: t
1929
2002
  }) {
@@ -1931,13 +2004,13 @@ function Dt({
1931
2004
  activeValue: n,
1932
2005
  onSelect: s,
1933
2006
  registerItem: o
1934
- } = Oe(), l = n === e;
1935
- return H(() => o(e), [e, o]), /* @__PURE__ */ r("button", { type: "button", "data-nav-value": e, onClick: () => s(e), ...x(a.button, U.item, l && U.itemActive), "aria-current": l ? "page" : void 0, children: t });
2007
+ } = Ce(), l = n === e;
2008
+ return H(() => o(e), [e, o]), /* @__PURE__ */ r("button", { type: "button", "data-nav-value": e, onClick: () => s(e), ...x(k.button, U.item, l && U.itemActive), "aria-current": l ? "page" : void 0, children: t });
1936
2009
  }
1937
- const Bn = {
1938
- Root: Ct,
1939
- Group: Bt,
1940
- Item: Dt
2010
+ const Yn = {
2011
+ Root: Rt,
2012
+ Group: Xt,
2013
+ Item: Yt
1941
2014
  }, se = {
1942
2015
  root: {
1943
2016
  k1xSpc: "x3nfvp2",
@@ -1982,21 +2055,21 @@ const Bn = {
1982
2055
  kMcinP: "xzpqnlu",
1983
2056
  $$css: !0
1984
2057
  }
1985
- }, Rt = {
2058
+ }, Jt = {
1986
2059
  sm: se.sm,
1987
2060
  md: se.md,
1988
2061
  lg: se.lg
1989
2062
  };
1990
- function Dn({
2063
+ function Jn({
1991
2064
  size: e = "md",
1992
2065
  label: t = "Loading"
1993
2066
  }) {
1994
- return /* @__PURE__ */ z("div", { role: "status", ...x(a.div, se.root), children: [
1995
- /* @__PURE__ */ r("div", { ...x(a.div, se.spinner, Rt[e]), "aria-hidden": !0 }),
1996
- /* @__PURE__ */ r("span", { ...x(a.span, se.srOnly), children: t })
2067
+ return /* @__PURE__ */ z("div", { role: "status", ...x(k.div, se.root), children: [
2068
+ /* @__PURE__ */ r("div", { ...x(k.div, se.spinner, Jt[e]), "aria-hidden": !0 }),
2069
+ /* @__PURE__ */ r("span", { ...x(k.span, se.srOnly), children: t })
1997
2070
  ] });
1998
2071
  }
1999
- const ze = {
2072
+ const Ie = {
2000
2073
  root: {
2001
2074
  k1xSpc: "x3nfvp2",
2002
2075
  kGNEyG: "x6s0dn4",
@@ -2025,14 +2098,14 @@ const ze = {
2025
2098
  $$css: !0
2026
2099
  }
2027
2100
  };
2028
- function Rn({
2101
+ function Pn({
2029
2102
  name: e,
2030
2103
  size: t = 48,
2031
2104
  variant: n = "muted"
2032
2105
  }) {
2033
- return /* @__PURE__ */ r("div", { ...x(a.div, ze.root, ze[n]), children: /* @__PURE__ */ r(ve, { name: e, size: t }) });
2106
+ return /* @__PURE__ */ r("div", { ...x(k.div, Ie.root, Ie[n]), children: /* @__PURE__ */ r(ie, { name: e, size: t }) });
2034
2107
  }
2035
- const Xt = {
2108
+ const Pt = {
2036
2109
  kumcoG: "xqketvx",
2037
2110
  $$css: !0
2038
2111
  }, V = {
@@ -2111,90 +2184,90 @@ const Xt = {
2111
2184
  kWqL5O: "xgfja2r",
2112
2185
  $$css: !0
2113
2186
  },
2114
- gridColumns: (e) => [Xt, {
2187
+ gridColumns: (e) => [Pt, {
2115
2188
  "--x-gridTemplateColumns": `repeat(${e}, 1fr)` != null ? `repeat(${e}, 1fr)` : void 0
2116
2189
  }]
2117
- }, Ce = R(null);
2118
- function de() {
2119
- const e = O(Ce);
2190
+ }, Be = R(null);
2191
+ function he() {
2192
+ const e = C(Be);
2120
2193
  if (!e) throw new Error("Table compound components must be used within Table.Root");
2121
2194
  return e;
2122
2195
  }
2123
- const ye = R(!1);
2124
- function Yt({
2196
+ const we = R(!1);
2197
+ function Ft({
2125
2198
  children: e,
2126
2199
  variant: t = "default",
2127
2200
  size: n = "md",
2128
2201
  columns: s
2129
2202
  }) {
2130
- return /* @__PURE__ */ r(Ce.Provider, { value: {
2203
+ return /* @__PURE__ */ r(Be.Provider, { value: {
2131
2204
  variant: t,
2132
2205
  size: n,
2133
2206
  columns: s,
2134
2207
  isHeader: !1
2135
- }, children: /* @__PURE__ */ r("div", { role: "table", ...x(a.div, V.root), children: e }) });
2208
+ }, children: /* @__PURE__ */ r("div", { role: "table", ...x(k.div, V.root), children: e }) });
2136
2209
  }
2137
- function Jt({
2210
+ function Qt({
2138
2211
  children: e
2139
2212
  }) {
2140
- return /* @__PURE__ */ r(ye.Provider, { value: !0, children: /* @__PURE__ */ r("div", { role: "rowgroup", ...x(a.div, V.header), children: e }) });
2213
+ return /* @__PURE__ */ r(we.Provider, { value: !0, children: /* @__PURE__ */ r("div", { role: "rowgroup", ...x(k.div, V.header), children: e }) });
2141
2214
  }
2142
- function Pt({
2215
+ function Kt({
2143
2216
  children: e
2144
2217
  }) {
2145
2218
  const {
2146
2219
  variant: t
2147
- } = de(), n = qe.toArray(e);
2148
- return /* @__PURE__ */ r(ye.Provider, { value: !1, children: /* @__PURE__ */ r("div", { role: "rowgroup", ...x(a.div), children: n.map((s, o) => t === "striped" ? /* @__PURE__ */ r(Be.Provider, { value: o, children: s }, o) : s) }) });
2220
+ } = he(), n = We.toArray(e);
2221
+ return /* @__PURE__ */ r(we.Provider, { value: !1, children: /* @__PURE__ */ r("div", { role: "rowgroup", ...x(k.div), children: n.map((s, o) => t === "striped" ? /* @__PURE__ */ r(De.Provider, { value: o, children: s }, o) : s) }) });
2149
2222
  }
2150
- const Be = R(-1);
2151
- function Ft({
2223
+ const De = R(-1);
2224
+ function Ut({
2152
2225
  children: e
2153
2226
  }) {
2154
2227
  const {
2155
2228
  variant: t,
2156
2229
  columns: n
2157
- } = de(), s = O(ye), o = O(Be), l = o >= 0 && o % 2 === 1, i = qe.toArray(e);
2158
- return /* @__PURE__ */ r("div", { role: "row", ...x(a.div, V.row, V.gridColumns(n), !s && V.bodyRow, !s && t === "striped" && l && V.stripedEven), children: t === "bordered" ? i.map((c, d) => /* @__PURE__ */ r(we.Provider, { value: {
2230
+ } = he(), s = C(we), o = C(De), l = o >= 0 && o % 2 === 1, i = We.toArray(e);
2231
+ return /* @__PURE__ */ r("div", { role: "row", ...x(k.div, V.row, V.gridColumns(n), !s && V.bodyRow, !s && t === "striped" && l && V.stripedEven), children: t === "bordered" ? i.map((c, d) => /* @__PURE__ */ r(Me.Provider, { value: {
2159
2232
  index: d,
2160
2233
  total: i.length
2161
2234
  }, children: c }, d)) : e });
2162
2235
  }
2163
- const we = R({
2236
+ const Me = R({
2164
2237
  index: 0,
2165
2238
  total: 0
2166
2239
  });
2167
- function Qt({
2240
+ function _t({
2168
2241
  children: e
2169
2242
  }) {
2170
2243
  const {
2171
2244
  size: t,
2172
2245
  variant: n
2173
- } = de(), {
2246
+ } = he(), {
2174
2247
  index: s,
2175
2248
  total: o
2176
- } = O(we), l = n === "bordered" && s === o - 1;
2177
- return /* @__PURE__ */ r("div", { role: "columnheader", ...x(a.div, V.headerCell, t === "sm" ? V.cellSm : V.cellMd, n === "bordered" && V.borderedCell, l && V.borderedCellLast), children: e });
2249
+ } = C(Me), l = n === "bordered" && s === o - 1;
2250
+ return /* @__PURE__ */ r("div", { role: "columnheader", ...x(k.div, V.headerCell, t === "sm" ? V.cellSm : V.cellMd, n === "bordered" && V.borderedCell, l && V.borderedCellLast), children: e });
2178
2251
  }
2179
- function Kt({
2252
+ function Zt({
2180
2253
  children: e
2181
2254
  }) {
2182
2255
  const {
2183
2256
  size: t,
2184
2257
  variant: n
2185
- } = de(), {
2258
+ } = he(), {
2186
2259
  index: s,
2187
2260
  total: o
2188
- } = O(we), l = n === "bordered" && s === o - 1;
2189
- return /* @__PURE__ */ r("div", { role: "cell", ...x(a.div, V.cell, t === "sm" ? V.cellSm : V.cellMd, n === "bordered" && V.borderedCell, l && V.borderedCellLast), children: e });
2190
- }
2191
- const Xn = {
2192
- Root: Yt,
2193
- Header: Jt,
2194
- Body: Pt,
2195
- Row: Ft,
2196
- HeaderCell: Qt,
2197
- Cell: Kt
2261
+ } = C(Me), l = n === "bordered" && s === o - 1;
2262
+ return /* @__PURE__ */ r("div", { role: "cell", ...x(k.div, V.cell, t === "sm" ? V.cellSm : V.cellMd, n === "bordered" && V.borderedCell, l && V.borderedCellLast), children: e });
2263
+ }
2264
+ const Fn = {
2265
+ Root: Ft,
2266
+ Header: Qt,
2267
+ Body: Kt,
2268
+ Row: Ut,
2269
+ HeaderCell: _t,
2270
+ Cell: Zt
2198
2271
  }, X = {
2199
2272
  root: {
2200
2273
  k1xSpc: "x78zum5",
@@ -2283,22 +2356,22 @@ const Xn = {
2283
2356
  kE3dHu: "x107tsa6",
2284
2357
  $$css: !0
2285
2358
  }
2286
- }, De = R(null);
2287
- function Me() {
2288
- const e = O(De);
2359
+ }, Re = R(null);
2360
+ function Se() {
2361
+ const e = C(Re);
2289
2362
  if (!e) throw new Error("Tabs compound components must be used within Tabs.Root");
2290
2363
  return e;
2291
2364
  }
2292
- function Ut({
2365
+ function en({
2293
2366
  value: e,
2294
2367
  defaultValue: t,
2295
2368
  onValueChange: n,
2296
2369
  orientation: s = "horizontal"
2297
2370
  }) {
2298
- const [o, l] = be(e, t ?? null, n ? (k) => {
2299
- k !== null && n(k);
2300
- } : void 0), i = w(/* @__PURE__ */ new Map()), c = w([]), d = W((k, g) => (i.current.set(k, g), c.current.includes(k) || c.current.push(k), () => {
2301
- i.current.delete(k), c.current = c.current.filter((u) => u !== k);
2371
+ const [o, l] = ye(e, t ?? null, n ? (a) => {
2372
+ a !== null && n(a);
2373
+ } : void 0), i = w(/* @__PURE__ */ new Map()), c = w([]), d = W((a, g) => (i.current.set(a, g), c.current.includes(a) || c.current.push(a), () => {
2374
+ i.current.delete(a), c.current = c.current.filter((u) => u !== a);
2302
2375
  }), []);
2303
2376
  return {
2304
2377
  activeValue: o,
@@ -2309,22 +2382,22 @@ function Ut({
2309
2382
  orderRef: c
2310
2383
  };
2311
2384
  }
2312
- function _t({
2385
+ function tn({
2313
2386
  children: e,
2314
2387
  value: t,
2315
2388
  defaultValue: n,
2316
2389
  onValueChange: s,
2317
2390
  orientation: o = "horizontal"
2318
2391
  }) {
2319
- const l = Ut({
2392
+ const l = en({
2320
2393
  value: t,
2321
2394
  defaultValue: n,
2322
2395
  onValueChange: s,
2323
2396
  orientation: o
2324
2397
  });
2325
- return /* @__PURE__ */ r(De.Provider, { value: l, children: /* @__PURE__ */ r("div", { ...x(a.div, X.root, o === "vertical" && X.rootVertical), children: e }) });
2398
+ return /* @__PURE__ */ r(Re.Provider, { value: l, children: /* @__PURE__ */ r("div", { ...x(k.div, X.root, o === "vertical" && X.rootVertical), children: e }) });
2326
2399
  }
2327
- function Zt({
2400
+ function nn({
2328
2401
  children: e
2329
2402
  }) {
2330
2403
  const {
@@ -2333,18 +2406,18 @@ function Zt({
2333
2406
  onSelect: s,
2334
2407
  tabsRef: o,
2335
2408
  orderRef: l
2336
- } = Me(), i = w(null);
2409
+ } = Se(), i = w(null);
2337
2410
  return H(() => {
2338
2411
  const c = i.current;
2339
2412
  if (!c) return;
2340
- function d(k) {
2413
+ function d(a) {
2341
2414
  const g = l.current, u = o.current;
2342
2415
  if (g.length === 0) return;
2343
2416
  const $ = this, M = t === "horizontal" ? "ArrowLeft" : "ArrowUp", p = t === "horizontal" ? "ArrowRight" : "ArrowDown";
2344
2417
  let m = null;
2345
- switch (k.key) {
2418
+ switch (a.key) {
2346
2419
  case p: {
2347
- k.preventDefault();
2420
+ a.preventDefault();
2348
2421
  const f = n ? g.indexOf(n) : -1;
2349
2422
  for (let v = 1; v <= g.length; v++) {
2350
2423
  const h = (f + v) % g.length, b = g[h];
@@ -2356,7 +2429,7 @@ function Zt({
2356
2429
  break;
2357
2430
  }
2358
2431
  case M: {
2359
- k.preventDefault();
2432
+ a.preventDefault();
2360
2433
  const f = n ? g.indexOf(n) : 0;
2361
2434
  for (let v = 1; v <= g.length; v++) {
2362
2435
  const h = (f - v + g.length) % g.length, b = g[h];
@@ -2368,7 +2441,7 @@ function Zt({
2368
2441
  break;
2369
2442
  }
2370
2443
  case "Home": {
2371
- k.preventDefault();
2444
+ a.preventDefault();
2372
2445
  for (const f of g)
2373
2446
  if (!u.get(f)) {
2374
2447
  m = f;
@@ -2377,7 +2450,7 @@ function Zt({
2377
2450
  break;
2378
2451
  }
2379
2452
  case "End": {
2380
- k.preventDefault();
2453
+ a.preventDefault();
2381
2454
  for (let f = g.length - 1; f >= 0; f--)
2382
2455
  if (!u.get(g[f])) {
2383
2456
  m = g[f];
@@ -2389,9 +2462,9 @@ function Zt({
2389
2462
  m && (s(m), $.querySelector(`[data-tab-value="${m}"]`)?.focus());
2390
2463
  }
2391
2464
  return c.addEventListener("keydown", d), () => c.removeEventListener("keydown", d);
2392
- }, [t, n, s, o, l]), /* @__PURE__ */ r("div", { ref: i, role: "tablist", "aria-orientation": t, ...x(a.div, X.list, t === "vertical" && X.listVertical), children: e });
2465
+ }, [t, n, s, o, l]), /* @__PURE__ */ r("div", { ref: i, role: "tablist", "aria-orientation": t, ...x(k.div, X.list, t === "vertical" && X.listVertical), children: e });
2393
2466
  }
2394
- function en({
2467
+ function rn({
2395
2468
  value: e,
2396
2469
  disabled: t = !1,
2397
2470
  children: n
@@ -2401,27 +2474,27 @@ function en({
2401
2474
  onSelect: o,
2402
2475
  orientation: l,
2403
2476
  registerTab: i
2404
- } = Me(), c = s === e, d = _(), k = `${d}-panel`;
2405
- return H(() => i(e, t), [e, t, i]), /* @__PURE__ */ r("button", { type: "button", role: "tab", id: d, "aria-selected": c, "aria-controls": k, "aria-disabled": t || void 0, "data-tab-value": e, tabIndex: c ? 0 : -1, onClick: () => {
2477
+ } = Se(), c = s === e, d = _(), a = `${d}-panel`;
2478
+ return H(() => i(e, t), [e, t, i]), /* @__PURE__ */ r("button", { type: "button", role: "tab", id: d, "aria-selected": c, "aria-controls": a, "aria-disabled": t || void 0, "data-tab-value": e, tabIndex: c ? 0 : -1, onClick: () => {
2406
2479
  t || o(e);
2407
- }, ...x(a.button, X.tab, l === "vertical" && X.tabVertical, c && (l === "vertical" ? X.tabActiveVertical : X.tabActiveHorizontal), t && X.tabDisabled), children: n });
2480
+ }, ...x(k.button, X.tab, l === "vertical" && X.tabVertical, c && (l === "vertical" ? X.tabActiveVertical : X.tabActiveHorizontal), t && X.tabDisabled), children: n });
2408
2481
  }
2409
- function tn({
2482
+ function sn({
2410
2483
  value: e,
2411
2484
  children: t
2412
2485
  }) {
2413
2486
  const {
2414
2487
  activeValue: n,
2415
2488
  orientation: s
2416
- } = Me();
2417
- return n !== e ? null : /* @__PURE__ */ r("div", { role: "tabpanel", ...x(a.div, X.panel, s === "vertical" && X.panelVertical), children: t });
2418
- }
2419
- const Yn = {
2420
- Root: _t,
2421
- List: Zt,
2422
- Tab: en,
2423
- Panel: tn
2424
- }, Ie = {
2489
+ } = Se();
2490
+ return n !== e ? null : /* @__PURE__ */ r("div", { role: "tabpanel", ...x(k.div, X.panel, s === "vertical" && X.panelVertical), children: t });
2491
+ }
2492
+ const Qn = {
2493
+ Root: tn,
2494
+ List: nn,
2495
+ Tab: rn,
2496
+ Panel: sn
2497
+ }, qe = {
2425
2498
  base: {
2426
2499
  kzqmXN: "xh8yej3",
2427
2500
  kLKAdn: "x1y6gaq4",
@@ -2455,7 +2528,7 @@ const Yn = {
2455
2528
  $$css: !0
2456
2529
  }
2457
2530
  };
2458
- function Jn({
2531
+ function Kn({
2459
2532
  variant: e = "default",
2460
2533
  name: t,
2461
2534
  placeholder: n,
@@ -2466,10 +2539,10 @@ function Jn({
2466
2539
  disabled: c,
2467
2540
  onChange: d
2468
2541
  }) {
2469
- const k = ie();
2470
- return /* @__PURE__ */ r("textarea", { id: k?.controlId, name: t, placeholder: n, required: s, rows: o, value: l, defaultValue: i, disabled: c, "aria-describedby": k ? `${k.descriptionId} ${k.invalid ? k.errorId : ""}`.trim() : void 0, "aria-invalid": k?.invalid || e === "error" || void 0, onChange: d, ...x(a.textarea, Ie.base, Ie[e]), dir: "auto" });
2542
+ const a = ce();
2543
+ return /* @__PURE__ */ r("textarea", { id: a?.controlId, name: t, placeholder: n, required: s, rows: o, value: l, defaultValue: i, disabled: c, "aria-describedby": a ? `${a.descriptionId} ${a.invalid ? a.errorId : ""}`.trim() : void 0, "aria-invalid": a?.invalid || e === "error" || void 0, onChange: d, ...x(k.textarea, qe.base, qe[e]), dir: "auto" });
2471
2544
  }
2472
- const Pn = {
2545
+ const Un = {
2473
2546
  bg: "var(--bg-xqkwqtp)",
2474
2547
  bgCard: "var(--bgCard-xj2l5r)",
2475
2548
  bgCardHover: "var(--bgCardHover-xlxk7vw)",
@@ -2498,7 +2571,7 @@ const Pn = {
2498
2571
  infoBorder: "var(--infoBorder-xnevk3x)",
2499
2572
  infoText: "var(--infoText-x19pseus)",
2500
2573
  __varGroupHash__: "xjvd03b"
2501
- }, Fn = {
2574
+ }, _n = {
2502
2575
  xs: "var(--xs-xxfyjsd)",
2503
2576
  sm: "var(--sm-xbh8y7f)",
2504
2577
  ms: "var(--ms-x13y09zs)",
@@ -2508,13 +2581,13 @@ const Pn = {
2508
2581
  xxl: "var(--xxl-xbe9eha)",
2509
2582
  xxxl: "var(--xxxl-xroalp5)",
2510
2583
  __varGroupHash__: "x6uc9q"
2511
- }, Qn = {
2584
+ }, Zn = {
2512
2585
  sm: "var(--sm-x1bhtfs5)",
2513
2586
  md: "var(--md-xx2g89g)",
2514
2587
  lg: "var(--lg-xwd56yl)",
2515
2588
  full: "var(--full-x9vxdtd)",
2516
2589
  __varGroupHash__: "xw3ffwm"
2517
- }, Kn = {
2590
+ }, er = {
2518
2591
  stackXs: "var(--stackXs-x1qfrfo2)",
2519
2592
  stackSm: "var(--stackSm-x2rk1ut)",
2520
2593
  stackMd: "var(--stackMd-xhblkt4)",
@@ -2528,7 +2601,7 @@ const Pn = {
2528
2601
  containerMd: "var(--containerMd-x170dvin)",
2529
2602
  containerLg: "var(--containerLg-x1n6aasq)",
2530
2603
  __varGroupHash__: "x16nfoyr"
2531
- }, Un = {
2604
+ }, tr = {
2532
2605
  fontFamily: "var(--fontFamily-xvrmnat)",
2533
2606
  fontFamilyMono: "var(--fontFamilyMono-x1bzqfky)",
2534
2607
  fontSizeXs: "var(--fontSizeXs-x1w5m325)",
@@ -2543,7 +2616,7 @@ const Pn = {
2543
2616
  fontWeightBold: "var(--fontWeightBold-x1pjkvwg)",
2544
2617
  lineHeight: "var(--lineHeight-x1gubzd5)",
2545
2618
  __varGroupHash__: "xs62swl"
2546
- }, _n = {
2619
+ }, nr = {
2547
2620
  fontSize1: "var(--fontSize1-xx27tux)",
2548
2621
  fontSize2: "var(--fontSize2-x5hag8h)",
2549
2622
  fontSize3: "var(--fontSize3-x1mf6j39)",
@@ -2569,7 +2642,7 @@ const Pn = {
2569
2642
  letterSpacingNormal: "var(--letterSpacingNormal-x1ih41v1)",
2570
2643
  letterSpacingWide: "var(--letterSpacingWide-xt8z9rj)",
2571
2644
  __varGroupHash__: "x4cj49w"
2572
- }, Zn = {
2645
+ }, rr = {
2573
2646
  bodySm: {
2574
2647
  "fontFamily-kMv6JI": "fontFamily-xce2pww",
2575
2648
  "fontSize-kGuDYH": "fontSize-x1hn3ytp",
@@ -2683,38 +2756,38 @@ const Pn = {
2683
2756
  "letterSpacing-kb6lSQ": "letterSpacing-xql2p2a",
2684
2757
  $$css: "tokens/type-presets.css.ts:104"
2685
2758
  }
2686
- }, er = {
2759
+ }, sr = {
2687
2760
  sm: "var(--sm-x17hhtln)",
2688
2761
  md: "var(--md-x1oyt0aw)",
2689
2762
  lg: "var(--lg-x1mxd62i)",
2690
2763
  __varGroupHash__: "x13v825q"
2691
- }, nn = {
2764
+ }, on = {
2692
2765
  xjvd03b: "xrtwk39 xjvd03b",
2693
2766
  $$css: !0
2694
- }, rn = {
2767
+ }, cn = {
2695
2768
  x13v825q: "xv9ibj0 x13v825q",
2696
2769
  $$css: !0
2697
- }, sn = {
2770
+ }, ln = {
2698
2771
  xjvd03b: "xaveibd xjvd03b",
2699
2772
  $$css: !0
2700
- }, on = {
2773
+ }, xn = {
2701
2774
  x13v825q: "x15e39jv x13v825q",
2702
2775
  $$css: !0
2703
- }, cn = {
2704
- light: [nn, rn],
2705
- "high-contrast": [sn, on]
2706
- }, ln = {
2776
+ }, kn = {
2777
+ light: [on, cn],
2778
+ "high-contrast": [ln, xn]
2779
+ }, an = {
2707
2780
  root: {
2708
2781
  k1xSpc: "xjp7ctv",
2709
2782
  $$css: !0
2710
2783
  }
2711
2784
  };
2712
- function tr({
2785
+ function or({
2713
2786
  theme: e = "dark",
2714
2787
  children: t
2715
2788
  }) {
2716
- const n = cn[e], s = [n?.[0], n?.[1], ln.root];
2717
- return /* @__PURE__ */ r("div", { ...x(a.div, s), children: t });
2789
+ const n = kn[e], s = [n?.[0], n?.[1], an.root];
2790
+ return /* @__PURE__ */ r("div", { ...x(k.div, s), children: t });
2718
2791
  }
2719
2792
  const F = {
2720
2793
  default: {
@@ -2775,17 +2848,17 @@ const F = {
2775
2848
  khDVqt: "xuxw1ft",
2776
2849
  $$css: !0
2777
2850
  }
2778
- }, xn = {
2851
+ }, un = {
2779
2852
  normal: F.weightNormal,
2780
2853
  medium: F.weightMedium,
2781
2854
  semibold: F.weightSemibold,
2782
2855
  bold: F.weightBold
2783
- }, an = {
2856
+ }, dn = {
2784
2857
  start: F.alignStart,
2785
2858
  center: F.alignCenter,
2786
2859
  end: F.alignEnd
2787
2860
  };
2788
- function nr({
2861
+ function ir({
2789
2862
  variant: e = "bodyMd",
2790
2863
  color: t = "default",
2791
2864
  weight: n,
@@ -2794,10 +2867,10 @@ function nr({
2794
2867
  as: l = "span",
2795
2868
  children: i
2796
2869
  }) {
2797
- const c = [Ge[e], F[t], n && xn[n], s && an[s], o && F.truncate];
2798
- return l === "p" ? /* @__PURE__ */ r("p", { ...x(a.p, c), children: i }) : l === "div" ? /* @__PURE__ */ r("div", { ...x(a.div, c), children: i }) : /* @__PURE__ */ r("span", { ...x(a.span, c), children: i });
2870
+ const c = [Le[e], F[t], n && un[n], s && dn[s], o && F.truncate];
2871
+ return l === "p" ? /* @__PURE__ */ r("p", { ...x(k.p, c), children: i }) : l === "div" ? /* @__PURE__ */ r("div", { ...x(k.div, c), children: i }) : /* @__PURE__ */ r("span", { ...x(k.span, c), children: i });
2799
2872
  }
2800
- const fe = {
2873
+ const $e = {
2801
2874
  root: {
2802
2875
  kVAEAm: "x1n2onr6",
2803
2876
  k1xSpc: "x3nfvp2",
@@ -2852,13 +2925,13 @@ const fe = {
2852
2925
  koQZXg: "xzhl4zu",
2853
2926
  $$css: !0
2854
2927
  }
2855
- }, Re = R(null);
2856
- function kn() {
2857
- const e = O(Re);
2928
+ }, Xe = R(null);
2929
+ function gn() {
2930
+ const e = C(Xe);
2858
2931
  if (!e) throw new Error("Tooltip compound components must be used within Tooltip.Root");
2859
2932
  return e;
2860
2933
  }
2861
- function un({
2934
+ function hn({
2862
2935
  children: e,
2863
2936
  content: t,
2864
2937
  placement: n = "top",
@@ -2866,21 +2939,21 @@ function un({
2866
2939
  }) {
2867
2940
  const [o, l] = G(!1), i = _(), c = w(null), d = W(() => {
2868
2941
  c.current && clearTimeout(c.current), c.current = setTimeout(() => l(!0), s);
2869
- }, [s]), k = W(() => {
2942
+ }, [s]), a = W(() => {
2870
2943
  c.current && clearTimeout(c.current), c.current = null, l(!1);
2871
2944
  }, []);
2872
- return /* @__PURE__ */ r(Re.Provider, { value: {
2945
+ return /* @__PURE__ */ r(Xe.Provider, { value: {
2873
2946
  open: o,
2874
2947
  show: d,
2875
- hide: k,
2948
+ hide: a,
2876
2949
  tooltipId: i,
2877
2950
  placement: n
2878
- }, children: /* @__PURE__ */ z("div", { ...x(a.div, fe.root), children: [
2951
+ }, children: /* @__PURE__ */ z("div", { ...x(k.div, $e.root), children: [
2879
2952
  e,
2880
- o && /* @__PURE__ */ r("div", { id: i, role: "tooltip", ...x(a.div, fe.popup, fe[n]), children: t })
2953
+ o && /* @__PURE__ */ r("div", { id: i, role: "tooltip", ...x(k.div, $e.popup, $e[n]), children: t })
2881
2954
  ] }) });
2882
2955
  }
2883
- function dn({
2956
+ function pn({
2884
2957
  children: e
2885
2958
  }) {
2886
2959
  const {
@@ -2888,13 +2961,13 @@ function dn({
2888
2961
  show: n,
2889
2962
  hide: s,
2890
2963
  tooltipId: o
2891
- } = kn();
2892
- return /* @__PURE__ */ r("div", { onPointerEnter: n, onPointerLeave: s, onFocus: n, onBlur: s, "aria-describedby": t ? o : void 0, ...x(a.div), children: e });
2964
+ } = gn();
2965
+ return /* @__PURE__ */ r("div", { onPointerEnter: n, onPointerLeave: s, onFocus: n, onBlur: s, "aria-describedby": t ? o : void 0, ...x(k.div), children: e });
2893
2966
  }
2894
- const rr = {
2895
- Root: un,
2896
- Trigger: dn
2897
- }, N = {
2967
+ const cr = {
2968
+ Root: hn,
2969
+ Trigger: pn
2970
+ }, O = {
2898
2971
  base: {
2899
2972
  k1xSpc: "x78zum5",
2900
2973
  kXwgrk: "xdt5ytf",
@@ -2948,27 +3021,27 @@ const rr = {
2948
3021
  kOIVth: "x281kem",
2949
3022
  $$css: !0
2950
3023
  }
2951
- }, gn = {
2952
- xs: N.gapXs,
2953
- sm: N.gapSm,
2954
- ms: N.gapMs,
2955
- md: N.gapMd,
2956
- lg: N.gapLg,
2957
- xl: N.gapXl,
2958
- xxl: N.gapXxl,
2959
- xxxl: N.gapXxxl
2960
- }, hn = {
2961
- start: N.alignStart,
2962
- center: N.alignCenter,
2963
- end: N.alignEnd,
2964
- stretch: N.alignStretch
3024
+ }, fn = {
3025
+ xs: O.gapXs,
3026
+ sm: O.gapSm,
3027
+ ms: O.gapMs,
3028
+ md: O.gapMd,
3029
+ lg: O.gapLg,
3030
+ xl: O.gapXl,
3031
+ xxl: O.gapXxl,
3032
+ xxxl: O.gapXxxl
3033
+ }, vn = {
3034
+ start: O.alignStart,
3035
+ center: O.alignCenter,
3036
+ end: O.alignEnd,
3037
+ stretch: O.alignStretch
2965
3038
  };
2966
- function sr({
3039
+ function lr({
2967
3040
  gap: e = "md",
2968
3041
  align: t = "stretch",
2969
3042
  children: n
2970
3043
  }) {
2971
- return /* @__PURE__ */ r("div", { ...x(a.div, N.base, gn[e], hn[t]), children: n });
3044
+ return /* @__PURE__ */ r("div", { ...x(k.div, O.base, fn[e], vn[t]), children: n });
2972
3045
  }
2973
3046
  const q = {
2974
3047
  base: {
@@ -3045,7 +3118,7 @@ const q = {
3045
3118
  kOIVth: "x281kem",
3046
3119
  $$css: !0
3047
3120
  }
3048
- }, pn = {
3121
+ }, $n = {
3049
3122
  xs: q.gapXs,
3050
3123
  sm: q.gapSm,
3051
3124
  ms: q.gapMs,
@@ -3054,25 +3127,25 @@ const q = {
3054
3127
  xl: q.gapXl,
3055
3128
  xxl: q.gapXxl,
3056
3129
  xxxl: q.gapXxxl
3057
- }, fn = {
3130
+ }, mn = {
3058
3131
  start: q.alignStart,
3059
3132
  center: q.alignCenter,
3060
3133
  end: q.alignEnd,
3061
3134
  baseline: q.alignBaseline,
3062
3135
  stretch: q.alignStretch
3063
- }, vn = {
3136
+ }, bn = {
3064
3137
  start: q.justifyStart,
3065
3138
  center: q.justifyCenter,
3066
3139
  end: q.justifyEnd,
3067
3140
  between: q.justifyBetween
3068
3141
  };
3069
- function or({
3142
+ function xr({
3070
3143
  gap: e = "sm",
3071
3144
  align: t = "center",
3072
3145
  justify: n = "start",
3073
3146
  children: s
3074
3147
  }) {
3075
- return /* @__PURE__ */ r("div", { ...x(a.div, q.base, pn[e], fn[t], vn[n]), children: s });
3148
+ return /* @__PURE__ */ r("div", { ...x(k.div, q.base, $n[e], mn[t], bn[n]), children: s });
3076
3149
  }
3077
3150
  const T = {
3078
3151
  base: {
@@ -3141,7 +3214,7 @@ const T = {
3141
3214
  kOIVth: "x281kem",
3142
3215
  $$css: !0
3143
3216
  }
3144
- }, $n = {
3217
+ }, yn = {
3145
3218
  xs: T.gapXs,
3146
3219
  sm: T.gapSm,
3147
3220
  ms: T.gapMs,
@@ -3150,25 +3223,25 @@ const T = {
3150
3223
  xl: T.gapXl,
3151
3224
  xxl: T.gapXxl,
3152
3225
  xxxl: T.gapXxxl
3153
- }, mn = {
3226
+ }, wn = {
3154
3227
  start: T.alignStart,
3155
3228
  center: T.alignCenter,
3156
3229
  end: T.alignEnd
3157
- }, bn = {
3230
+ }, Mn = {
3158
3231
  start: T.justifyStart,
3159
3232
  center: T.justifyCenter,
3160
3233
  end: T.justifyEnd,
3161
3234
  between: T.justifyBetween
3162
3235
  };
3163
- function ir({
3236
+ function kr({
3164
3237
  gap: e = "sm",
3165
3238
  align: t = "start",
3166
3239
  justify: n = "start",
3167
3240
  children: s
3168
3241
  }) {
3169
- return /* @__PURE__ */ r("div", { ...x(a.div, T.base, $n[e], mn[t], bn[n]), children: s });
3242
+ return /* @__PURE__ */ r("div", { ...x(k.div, T.base, yn[e], wn[t], Mn[n]), children: s });
3170
3243
  }
3171
- const yn = {
3244
+ const Sn = {
3172
3245
  kumcoG: "xqketvx",
3173
3246
  $$css: !0
3174
3247
  }, E = {
@@ -3200,7 +3273,7 @@ const yn = {
3200
3273
  kumcoG: "xu4o1vd",
3201
3274
  $$css: !0
3202
3275
  },
3203
- autoFit: (e) => [yn, {
3276
+ autoFit: (e) => [Sn, {
3204
3277
  "--x-gridTemplateColumns": `repeat(auto-fit, minmax(${e}, 1fr))` != null ? `repeat(auto-fit, minmax(${e}, 1fr))` : void 0
3205
3278
  }],
3206
3279
  gapXs: {
@@ -3235,7 +3308,7 @@ const yn = {
3235
3308
  kOIVth: "x281kem",
3236
3309
  $$css: !0
3237
3310
  }
3238
- }, wn = {
3311
+ }, jn = {
3239
3312
  xs: E.gapXs,
3240
3313
  sm: E.gapSm,
3241
3314
  ms: E.gapMs,
@@ -3244,7 +3317,7 @@ const yn = {
3244
3317
  xl: E.gapXl,
3245
3318
  xxl: E.gapXxl,
3246
3319
  xxxl: E.gapXxxl
3247
- }, Mn = {
3320
+ }, zn = {
3248
3321
  1: E.col1,
3249
3322
  2: E.col2,
3250
3323
  3: E.col3,
@@ -3252,16 +3325,16 @@ const yn = {
3252
3325
  5: E.col5,
3253
3326
  6: E.col6
3254
3327
  };
3255
- function cr({
3328
+ function ar({
3256
3329
  gap: e = "md",
3257
3330
  columns: t,
3258
3331
  minColumnWidth: n,
3259
3332
  children: s
3260
3333
  }) {
3261
- const o = n ? E.autoFit(n) : t ? Mn[t] : void 0;
3262
- return /* @__PURE__ */ r("div", { ...x(a.div, E.base, wn[e], o), children: s });
3334
+ const o = n ? E.autoFit(n) : t ? zn[t] : void 0;
3335
+ return /* @__PURE__ */ r("div", { ...x(k.div, E.base, jn[e], o), children: s });
3263
3336
  }
3264
- function lr(e = {}) {
3337
+ function ur(e = {}) {
3265
3338
  const {
3266
3339
  compactBelow: t = 480,
3267
3340
  spaciousAbove: n = 768
@@ -3270,9 +3343,9 @@ function lr(e = {}) {
3270
3343
  const i = s.current;
3271
3344
  if (!i) return;
3272
3345
  let c = null;
3273
- const d = new ResizeObserver((k) => {
3346
+ const d = new ResizeObserver((a) => {
3274
3347
  c !== null && cancelAnimationFrame(c), c = requestAnimationFrame(() => {
3275
- const g = k[0];
3348
+ const g = a[0];
3276
3349
  if (!g) return;
3277
3350
  const u = g.contentBoxSize?.[0]?.inlineSize ?? g.contentRect.width;
3278
3351
  u < t ? l("compact") : u >= n ? l("spacious") : l("default");
@@ -3287,46 +3360,47 @@ function lr(e = {}) {
3287
3360
  };
3288
3361
  }
3289
3362
  export {
3290
- zn as Alert,
3291
- In as Badge,
3292
- qn as Button,
3293
- Wn as Card,
3294
- Hn as Checkbox,
3295
- ir as Cluster,
3296
- Gn as EmptyState,
3297
- Tn as Field,
3298
- cr as Grid,
3299
- Ln as Heading,
3300
- ve as Icon,
3301
- or as Inline,
3302
- En as Input,
3303
- Vn as InputGroup,
3304
- An as LinkButton,
3305
- Nn as Menu,
3306
- On as ScrollArea,
3307
- Cn as Select,
3308
- Bn as SideNav,
3309
- Dn as Spinner,
3310
- sr as Stack,
3311
- Rn as StatusIcon,
3312
- Xn as Table,
3313
- Yn as Tabs,
3314
- nr as Text,
3315
- Jn as Textarea,
3316
- tr as ThemeProvider,
3317
- rr as Tooltip,
3318
- Pn as colors,
3319
- on as highContrastShadows,
3320
- sn as highContrastTheme,
3321
- Kn as layoutSpacing,
3322
- rn as lightShadows,
3323
- nn as lightTheme,
3324
- Qn as radii,
3325
- er as shadows,
3326
- Fn as spacing,
3327
- Zn as typePresets,
3328
- _n as typeScale,
3329
- Un as typography,
3330
- lr as useContainerQuery
3363
+ Wn as Alert,
3364
+ Hn as Badge,
3365
+ Gn as Button,
3366
+ Ln as Callout,
3367
+ Tn as Card,
3368
+ En as Checkbox,
3369
+ kr as Cluster,
3370
+ Vn as EmptyState,
3371
+ Nn as Field,
3372
+ ar as Grid,
3373
+ An as Heading,
3374
+ ie as Icon,
3375
+ xr as Inline,
3376
+ On as Input,
3377
+ Cn as InputGroup,
3378
+ Bn as LinkButton,
3379
+ Dn as Menu,
3380
+ Rn as ScrollArea,
3381
+ Xn as Select,
3382
+ Yn as SideNav,
3383
+ Jn as Spinner,
3384
+ lr as Stack,
3385
+ Pn as StatusIcon,
3386
+ Fn as Table,
3387
+ Qn as Tabs,
3388
+ ir as Text,
3389
+ Kn as Textarea,
3390
+ or as ThemeProvider,
3391
+ cr as Tooltip,
3392
+ Un as colors,
3393
+ xn as highContrastShadows,
3394
+ ln as highContrastTheme,
3395
+ er as layoutSpacing,
3396
+ cn as lightShadows,
3397
+ on as lightTheme,
3398
+ Zn as radii,
3399
+ sr as shadows,
3400
+ _n as spacing,
3401
+ rr as typePresets,
3402
+ nr as typeScale,
3403
+ tr as typography,
3404
+ ur as useContainerQuery
3331
3405
  };
3332
3406
  //# sourceMappingURL=index.js.map