@agilys-system/design-system 1.1.2 → 1.1.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.
@@ -1,5 +1,5 @@
1
- import { jsxs as R, jsx as l } from "react/jsx-runtime";
2
- import Fe, { forwardRef as K, createElement as kn, useMemo as fr, useId as yt, useState as xe, useRef as Qe, useCallback as Mn, useEffect as ut, createContext as rs, useContext as ss } from "react";
1
+ import { jsxs as L, jsx as l } from "react/jsx-runtime";
2
+ import Fe, { forwardRef as K, createElement as kn, useMemo as fr, useId as yt, useState as xe, useRef as Qe, useCallback as Mn, useEffect as Ke, createContext as rs, useContext as ss } from "react";
3
3
  import { createPortal as ns } from "react-dom";
4
4
  function as(e) {
5
5
  var t, r, s = "";
@@ -26,8 +26,8 @@ const jr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Vr = is, a
26
26
  let [p, g] = h;
27
27
  return g === void 0 || (c[p] = g), c;
28
28
  }, {}), d = t == null || (s = t.compoundVariants) === null || s === void 0 ? void 0 : s.reduce((c, h) => {
29
- let { class: p, className: g, ...L } = h;
30
- return Object.entries(L).every((P) => {
29
+ let { class: p, className: g, ...W } = h;
30
+ return Object.entries(W).every((P) => {
31
31
  let [M, y] = P;
32
32
  return Array.isArray(y) ? y.includes({
33
33
  ...a,
@@ -166,10 +166,10 @@ const jr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Vr = is, a
166
166
  }
167
167
  S === "[" ? c++ : S === "]" && c--;
168
168
  }
169
- const g = d.length === 0 ? o : o.substring(h), L = g.startsWith(ls), P = L ? g.substring(1) : g, M = p && p > h ? p - h : void 0;
169
+ const g = d.length === 0 ? o : o.substring(h), W = g.startsWith(ls), P = W ? g.substring(1) : g, M = p && p > h ? p - h : void 0;
170
170
  return {
171
171
  modifiers: d,
172
- hasImportantModifier: L,
172
+ hasImportantModifier: W,
173
173
  baseClassName: P,
174
174
  maybePostfixModifierPosition: M
175
175
  };
@@ -202,9 +202,9 @@ const jr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Vr = is, a
202
202
  modifiers: h,
203
203
  hasImportantModifier: p,
204
204
  baseClassName: g,
205
- maybePostfixModifierPosition: L
205
+ maybePostfixModifierPosition: W
206
206
  } = r(c);
207
- let P = !!L, M = s(P ? g.substring(0, L) : g);
207
+ let P = !!W, M = s(P ? g.substring(0, W) : g);
208
208
  if (!M) {
209
209
  if (!P) {
210
210
  o = c + (o.length > 0 ? " " + o : o);
@@ -263,7 +263,7 @@ function An(e, ...t) {
263
263
  const E = (e) => {
264
264
  const t = (r) => r[e] || [];
265
265
  return t.isThemeGetter = !0, t;
266
- }, cs = /^\[(?:([a-z-]+):)?(.+)\]$/i, zn = /^\d+\/\d+$/, Fn = /* @__PURE__ */ new Set(["px", "full", "screen"]), En = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, jn = /\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$/, Vn = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Un = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Hn = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, ge = (e) => Be(e) || Fn.has(e) || zn.test(e), Ce = (e) => Ke(e, "length", Kn), Be = (e) => !!e && !Number.isNaN(Number(e)), Qt = (e) => Ke(e, "number", Be), at = (e) => !!e && Number.isInteger(Number(e)), Gn = (e) => e.endsWith("%") && Be(e.slice(0, -1)), w = (e) => cs.test(e), Pe = (e) => En.test(e), $n = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Bn = (e) => Ke(e, $n, us), Zn = (e) => Ke(e, "position", us), qn = /* @__PURE__ */ new Set(["image", "url"]), Jn = (e) => Ke(e, qn, ea), Qn = (e) => Ke(e, "", Xn), it = () => !0, Ke = (e, t, r) => {
266
+ }, cs = /^\[(?:([a-z-]+):)?(.+)\]$/i, zn = /^\d+\/\d+$/, Fn = /* @__PURE__ */ new Set(["px", "full", "screen"]), En = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, jn = /\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$/, Vn = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Un = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Hn = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, ge = (e) => Be(e) || Fn.has(e) || zn.test(e), Ce = (e) => Xe(e, "length", Kn), Be = (e) => !!e && !Number.isNaN(Number(e)), Qt = (e) => Xe(e, "number", Be), it = (e) => !!e && Number.isInteger(Number(e)), Gn = (e) => e.endsWith("%") && Be(e.slice(0, -1)), w = (e) => cs.test(e), Pe = (e) => En.test(e), $n = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Bn = (e) => Xe(e, $n, us), Zn = (e) => Xe(e, "position", us), qn = /* @__PURE__ */ new Set(["image", "url"]), Jn = (e) => Xe(e, qn, ea), Qn = (e) => Xe(e, "", Xn), ot = () => !0, Xe = (e, t, r) => {
267
267
  const s = cs.exec(e);
268
268
  return s ? s[1] ? typeof t == "string" ? s[1] === t : t.has(s[1]) : r(s[2]) : !1;
269
269
  }, Kn = (e) => (
@@ -272,36 +272,36 @@ const E = (e) => {
272
272
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
273
273
  jn.test(e) && !Vn.test(e)
274
274
  ), us = () => !1, Xn = (e) => Un.test(e), ea = (e) => Hn.test(e), ta = () => {
275
- const e = E("colors"), t = E("spacing"), r = E("blur"), s = E("brightness"), n = E("borderColor"), a = E("borderRadius"), i = E("borderSpacing"), o = E("borderWidth"), d = E("contrast"), c = E("grayscale"), h = E("hueRotate"), p = E("invert"), g = E("gap"), L = E("gradientColorStops"), P = E("gradientColorStopPositions"), M = E("inset"), y = E("margin"), S = E("opacity"), F = E("padding"), $ = E("saturate"), k = E("scale"), q = E("sepia"), H = E("skew"), D = E("space"), v = E("translate"), W = () => ["auto", "contain", "none"], G = () => ["auto", "hidden", "clip", "visible", "scroll"], Q = () => ["auto", w, t], I = () => [w, t], rt = () => ["", ge, Ce], Le = () => ["auto", Be, w], _t = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], Ve = () => ["solid", "dashed", "dotted", "double", "none"], Oe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], ye = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], B = () => ["", "0", w], Ye = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], te = () => [Be, w];
275
+ const e = E("colors"), t = E("spacing"), r = E("blur"), s = E("brightness"), n = E("borderColor"), a = E("borderRadius"), i = E("borderSpacing"), o = E("borderWidth"), d = E("contrast"), c = E("grayscale"), h = E("hueRotate"), p = E("invert"), g = E("gap"), W = E("gradientColorStops"), P = E("gradientColorStopPositions"), M = E("inset"), y = E("margin"), S = E("opacity"), F = E("padding"), $ = E("saturate"), k = E("scale"), q = E("sepia"), H = E("skew"), D = E("space"), v = E("translate"), I = () => ["auto", "contain", "none"], G = () => ["auto", "hidden", "clip", "visible", "scroll"], Q = () => ["auto", w, t], R = () => [w, t], st = () => ["", ge, Ce], Le = () => ["auto", Be, w], _t = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], Ve = () => ["solid", "dashed", "dotted", "double", "none"], Oe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], ye = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], B = () => ["", "0", w], Ye = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], te = () => [Be, w];
276
276
  return {
277
277
  cacheSize: 500,
278
278
  separator: ":",
279
279
  theme: {
280
- colors: [it],
280
+ colors: [ot],
281
281
  spacing: [ge, Ce],
282
282
  blur: ["none", "", Pe, w],
283
283
  brightness: te(),
284
284
  borderColor: [e],
285
285
  borderRadius: ["none", "", "full", Pe, w],
286
- borderSpacing: I(),
287
- borderWidth: rt(),
286
+ borderSpacing: R(),
287
+ borderWidth: st(),
288
288
  contrast: te(),
289
289
  grayscale: B(),
290
290
  hueRotate: te(),
291
291
  invert: B(),
292
- gap: I(),
292
+ gap: R(),
293
293
  gradientColorStops: [e],
294
294
  gradientColorStopPositions: [Gn, Ce],
295
295
  inset: Q(),
296
296
  margin: Q(),
297
297
  opacity: te(),
298
- padding: I(),
298
+ padding: R(),
299
299
  saturate: te(),
300
300
  scale: te(),
301
301
  sepia: B(),
302
302
  skew: te(),
303
- space: I(),
304
- translate: I()
303
+ space: R(),
304
+ translate: R()
305
305
  },
306
306
  classGroups: {
307
307
  // Layout
@@ -423,21 +423,21 @@ const E = (e) => {
423
423
  * @see https://tailwindcss.com/docs/overscroll-behavior
424
424
  */
425
425
  overscroll: [{
426
- overscroll: W()
426
+ overscroll: I()
427
427
  }],
428
428
  /**
429
429
  * Overscroll Behavior X
430
430
  * @see https://tailwindcss.com/docs/overscroll-behavior
431
431
  */
432
432
  "overscroll-x": [{
433
- "overscroll-x": W()
433
+ "overscroll-x": I()
434
434
  }],
435
435
  /**
436
436
  * Overscroll Behavior Y
437
437
  * @see https://tailwindcss.com/docs/overscroll-behavior
438
438
  */
439
439
  "overscroll-y": [{
440
- "overscroll-y": W()
440
+ "overscroll-y": I()
441
441
  }],
442
442
  /**
443
443
  * Position
@@ -517,7 +517,7 @@ const E = (e) => {
517
517
  * @see https://tailwindcss.com/docs/z-index
518
518
  */
519
519
  z: [{
520
- z: ["auto", at, w]
520
+ z: ["auto", it, w]
521
521
  }],
522
522
  // Flexbox and Grid
523
523
  /**
@@ -567,14 +567,14 @@ const E = (e) => {
567
567
  * @see https://tailwindcss.com/docs/order
568
568
  */
569
569
  order: [{
570
- order: ["first", "last", "none", at, w]
570
+ order: ["first", "last", "none", it, w]
571
571
  }],
572
572
  /**
573
573
  * Grid Template Columns
574
574
  * @see https://tailwindcss.com/docs/grid-template-columns
575
575
  */
576
576
  "grid-cols": [{
577
- "grid-cols": [it]
577
+ "grid-cols": [ot]
578
578
  }],
579
579
  /**
580
580
  * Grid Column Start / End
@@ -582,7 +582,7 @@ const E = (e) => {
582
582
  */
583
583
  "col-start-end": [{
584
584
  col: ["auto", {
585
- span: ["full", at, w]
585
+ span: ["full", it, w]
586
586
  }, w]
587
587
  }],
588
588
  /**
@@ -604,7 +604,7 @@ const E = (e) => {
604
604
  * @see https://tailwindcss.com/docs/grid-template-rows
605
605
  */
606
606
  "grid-rows": [{
607
- "grid-rows": [it]
607
+ "grid-rows": [ot]
608
608
  }],
609
609
  /**
610
610
  * Grid Row Start / End
@@ -612,7 +612,7 @@ const E = (e) => {
612
612
  */
613
613
  "row-start-end": [{
614
614
  row: ["auto", {
615
- span: [at, w]
615
+ span: [it, w]
616
616
  }, w]
617
617
  }],
618
618
  /**
@@ -967,7 +967,7 @@ const E = (e) => {
967
967
  * @see https://tailwindcss.com/docs/font-family
968
968
  */
969
969
  "font-family": [{
970
- font: [it]
970
+ font: [ot]
971
971
  }],
972
972
  /**
973
973
  * Font Variant Numeric
@@ -1132,7 +1132,7 @@ const E = (e) => {
1132
1132
  * @see https://tailwindcss.com/docs/text-indent
1133
1133
  */
1134
1134
  indent: [{
1135
- indent: I()
1135
+ indent: R()
1136
1136
  }],
1137
1137
  /**
1138
1138
  * Vertical Alignment
@@ -1264,21 +1264,21 @@ const E = (e) => {
1264
1264
  * @see https://tailwindcss.com/docs/gradient-color-stops
1265
1265
  */
1266
1266
  "gradient-from": [{
1267
- from: [L]
1267
+ from: [W]
1268
1268
  }],
1269
1269
  /**
1270
1270
  * Gradient Color Stops Via
1271
1271
  * @see https://tailwindcss.com/docs/gradient-color-stops
1272
1272
  */
1273
1273
  "gradient-via": [{
1274
- via: [L]
1274
+ via: [W]
1275
1275
  }],
1276
1276
  /**
1277
1277
  * Gradient Color Stops To
1278
1278
  * @see https://tailwindcss.com/docs/gradient-color-stops
1279
1279
  */
1280
1280
  "gradient-to": [{
1281
- to: [L]
1281
+ to: [W]
1282
1282
  }],
1283
1283
  // Borders
1284
1284
  /**
@@ -1604,7 +1604,7 @@ const E = (e) => {
1604
1604
  * @see https://tailwindcss.com/docs/ring-width
1605
1605
  */
1606
1606
  "ring-w": [{
1607
- ring: rt()
1607
+ ring: st()
1608
1608
  }],
1609
1609
  /**
1610
1610
  * Ring Width Inset
@@ -1652,7 +1652,7 @@ const E = (e) => {
1652
1652
  * @see https://tailwindcss.com/docs/box-shadow-color
1653
1653
  */
1654
1654
  "shadow-color": [{
1655
- shadow: [it]
1655
+ shadow: [ot]
1656
1656
  }],
1657
1657
  /**
1658
1658
  * Opacity
@@ -1931,7 +1931,7 @@ const E = (e) => {
1931
1931
  * @see https://tailwindcss.com/docs/rotate
1932
1932
  */
1933
1933
  rotate: [{
1934
- rotate: [at, w]
1934
+ rotate: [it, w]
1935
1935
  }],
1936
1936
  /**
1937
1937
  * Translate X
@@ -2023,126 +2023,126 @@ const E = (e) => {
2023
2023
  * @see https://tailwindcss.com/docs/scroll-margin
2024
2024
  */
2025
2025
  "scroll-m": [{
2026
- "scroll-m": I()
2026
+ "scroll-m": R()
2027
2027
  }],
2028
2028
  /**
2029
2029
  * Scroll Margin X
2030
2030
  * @see https://tailwindcss.com/docs/scroll-margin
2031
2031
  */
2032
2032
  "scroll-mx": [{
2033
- "scroll-mx": I()
2033
+ "scroll-mx": R()
2034
2034
  }],
2035
2035
  /**
2036
2036
  * Scroll Margin Y
2037
2037
  * @see https://tailwindcss.com/docs/scroll-margin
2038
2038
  */
2039
2039
  "scroll-my": [{
2040
- "scroll-my": I()
2040
+ "scroll-my": R()
2041
2041
  }],
2042
2042
  /**
2043
2043
  * Scroll Margin Start
2044
2044
  * @see https://tailwindcss.com/docs/scroll-margin
2045
2045
  */
2046
2046
  "scroll-ms": [{
2047
- "scroll-ms": I()
2047
+ "scroll-ms": R()
2048
2048
  }],
2049
2049
  /**
2050
2050
  * Scroll Margin End
2051
2051
  * @see https://tailwindcss.com/docs/scroll-margin
2052
2052
  */
2053
2053
  "scroll-me": [{
2054
- "scroll-me": I()
2054
+ "scroll-me": R()
2055
2055
  }],
2056
2056
  /**
2057
2057
  * Scroll Margin Top
2058
2058
  * @see https://tailwindcss.com/docs/scroll-margin
2059
2059
  */
2060
2060
  "scroll-mt": [{
2061
- "scroll-mt": I()
2061
+ "scroll-mt": R()
2062
2062
  }],
2063
2063
  /**
2064
2064
  * Scroll Margin Right
2065
2065
  * @see https://tailwindcss.com/docs/scroll-margin
2066
2066
  */
2067
2067
  "scroll-mr": [{
2068
- "scroll-mr": I()
2068
+ "scroll-mr": R()
2069
2069
  }],
2070
2070
  /**
2071
2071
  * Scroll Margin Bottom
2072
2072
  * @see https://tailwindcss.com/docs/scroll-margin
2073
2073
  */
2074
2074
  "scroll-mb": [{
2075
- "scroll-mb": I()
2075
+ "scroll-mb": R()
2076
2076
  }],
2077
2077
  /**
2078
2078
  * Scroll Margin Left
2079
2079
  * @see https://tailwindcss.com/docs/scroll-margin
2080
2080
  */
2081
2081
  "scroll-ml": [{
2082
- "scroll-ml": I()
2082
+ "scroll-ml": R()
2083
2083
  }],
2084
2084
  /**
2085
2085
  * Scroll Padding
2086
2086
  * @see https://tailwindcss.com/docs/scroll-padding
2087
2087
  */
2088
2088
  "scroll-p": [{
2089
- "scroll-p": I()
2089
+ "scroll-p": R()
2090
2090
  }],
2091
2091
  /**
2092
2092
  * Scroll Padding X
2093
2093
  * @see https://tailwindcss.com/docs/scroll-padding
2094
2094
  */
2095
2095
  "scroll-px": [{
2096
- "scroll-px": I()
2096
+ "scroll-px": R()
2097
2097
  }],
2098
2098
  /**
2099
2099
  * Scroll Padding Y
2100
2100
  * @see https://tailwindcss.com/docs/scroll-padding
2101
2101
  */
2102
2102
  "scroll-py": [{
2103
- "scroll-py": I()
2103
+ "scroll-py": R()
2104
2104
  }],
2105
2105
  /**
2106
2106
  * Scroll Padding Start
2107
2107
  * @see https://tailwindcss.com/docs/scroll-padding
2108
2108
  */
2109
2109
  "scroll-ps": [{
2110
- "scroll-ps": I()
2110
+ "scroll-ps": R()
2111
2111
  }],
2112
2112
  /**
2113
2113
  * Scroll Padding End
2114
2114
  * @see https://tailwindcss.com/docs/scroll-padding
2115
2115
  */
2116
2116
  "scroll-pe": [{
2117
- "scroll-pe": I()
2117
+ "scroll-pe": R()
2118
2118
  }],
2119
2119
  /**
2120
2120
  * Scroll Padding Top
2121
2121
  * @see https://tailwindcss.com/docs/scroll-padding
2122
2122
  */
2123
2123
  "scroll-pt": [{
2124
- "scroll-pt": I()
2124
+ "scroll-pt": R()
2125
2125
  }],
2126
2126
  /**
2127
2127
  * Scroll Padding Right
2128
2128
  * @see https://tailwindcss.com/docs/scroll-padding
2129
2129
  */
2130
2130
  "scroll-pr": [{
2131
- "scroll-pr": I()
2131
+ "scroll-pr": R()
2132
2132
  }],
2133
2133
  /**
2134
2134
  * Scroll Padding Bottom
2135
2135
  * @see https://tailwindcss.com/docs/scroll-padding
2136
2136
  */
2137
2137
  "scroll-pb": [{
2138
- "scroll-pb": I()
2138
+ "scroll-pb": R()
2139
2139
  }],
2140
2140
  /**
2141
2141
  * Scroll Padding Left
2142
2142
  * @see https://tailwindcss.com/docs/scroll-padding
2143
2143
  */
2144
2144
  "scroll-pl": [{
2145
- "scroll-pl": I()
2145
+ "scroll-pl": R()
2146
2146
  }],
2147
2147
  /**
2148
2148
  * Scroll Snap Align
@@ -2394,7 +2394,7 @@ const aa = ae(
2394
2394
  ...d
2395
2395
  }, c) => {
2396
2396
  const h = r === "icon", p = ia[r ?? "md"];
2397
- return /* @__PURE__ */ R(
2397
+ return /* @__PURE__ */ L(
2398
2398
  "button",
2399
2399
  {
2400
2400
  ref: c,
@@ -2403,7 +2403,7 @@ const aa = ae(
2403
2403
  "aria-busy": n,
2404
2404
  ...d,
2405
2405
  children: [
2406
- n && /* @__PURE__ */ R(
2406
+ n && /* @__PURE__ */ L(
2407
2407
  "svg",
2408
2408
  {
2409
2409
  className: "size-[18px] animate-spin",
@@ -2502,7 +2502,7 @@ const la = ae(
2502
2502
  textColor: a,
2503
2503
  style: i,
2504
2504
  ...o
2505
- }, d) => /* @__PURE__ */ R(
2505
+ }, d) => /* @__PURE__ */ L(
2506
2506
  "span",
2507
2507
  {
2508
2508
  ref: d,
@@ -2552,14 +2552,14 @@ const ua = ae("flex items-start gap-2 rounded-lg p-5 font-sans", {
2552
2552
  info: "text-primary-700"
2553
2553
  };
2554
2554
  function ha() {
2555
- return /* @__PURE__ */ R("svg", { className: "size-full", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
2555
+ return /* @__PURE__ */ L("svg", { className: "size-full", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
2556
2556
  /* @__PURE__ */ l("circle", { cx: "12", cy: "12", r: "9", stroke: "currentColor", strokeWidth: "2" }),
2557
2557
  /* @__PURE__ */ l("path", { d: "M12 11v5", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" }),
2558
2558
  /* @__PURE__ */ l("circle", { cx: "12", cy: "8", r: "1", fill: "currentColor" })
2559
2559
  ] });
2560
2560
  }
2561
2561
  function ma() {
2562
- return /* @__PURE__ */ R("svg", { className: "size-full", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
2562
+ return /* @__PURE__ */ L("svg", { className: "size-full", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
2563
2563
  /* @__PURE__ */ l("circle", { cx: "12", cy: "12", r: "9", stroke: "currentColor", strokeWidth: "2" }),
2564
2564
  /* @__PURE__ */ l(
2565
2565
  "path",
@@ -2574,7 +2574,7 @@ function ma() {
2574
2574
  ] });
2575
2575
  }
2576
2576
  function pa() {
2577
- return /* @__PURE__ */ R("svg", { className: "size-full", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
2577
+ return /* @__PURE__ */ L("svg", { className: "size-full", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
2578
2578
  /* @__PURE__ */ l(
2579
2579
  "path",
2580
2580
  {
@@ -2589,7 +2589,7 @@ function pa() {
2589
2589
  ] });
2590
2590
  }
2591
2591
  function ya() {
2592
- return /* @__PURE__ */ R("svg", { className: "size-full", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
2592
+ return /* @__PURE__ */ L("svg", { className: "size-full", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
2593
2593
  /* @__PURE__ */ l("circle", { cx: "12", cy: "12", r: "9", stroke: "currentColor", strokeWidth: "2" }),
2594
2594
  /* @__PURE__ */ l(
2595
2595
  "path",
@@ -2631,9 +2631,9 @@ const ba = {
2631
2631
  ...d
2632
2632
  }, c) => {
2633
2633
  const h = t ?? "default", p = r === void 0 ? ba[h] : r, g = fa[h];
2634
- return /* @__PURE__ */ R("div", { ref: c, className: x(ua({ variant: t }), e), ...d, children: [
2634
+ return /* @__PURE__ */ L("div", { ref: c, className: x(ua({ variant: t }), e), ...d, children: [
2635
2635
  p && /* @__PURE__ */ l("span", { className: x("size-6 shrink-0", g), "aria-hidden": "true", children: p }),
2636
- /* @__PURE__ */ R("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
2636
+ /* @__PURE__ */ L("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
2637
2637
  s && /* @__PURE__ */ l(z, { as: "div", variant: "body", weight: "semibold", className: g, children: s }),
2638
2638
  n && /* @__PURE__ */ l(z, { as: "div", variant: "bodySm", className: "text-neutral-text-secondary", children: n }),
2639
2639
  o
@@ -3139,7 +3139,7 @@ function qa(e) {
3139
3139
  return s.priority - n.priority;
3140
3140
  }), t;
3141
3141
  }
3142
- var vs = /\d/, se = /\d\d/, xs = /\d{3}/, wr = /\d{4}/, Ft = /[+-]?\d{6}/, V = /\d\d?/, ws = /\d\d\d\d?/, _s = /\d\d\d\d\d\d?/, Et = /\d{1,3}/, _r = /\d{1,4}/, jt = /[+-]?\d{1,6}/, Xe = /\d+/, Vt = /[+-]?\d+/, Ja = /Z|[+-]\d\d:?\d\d/gi, Ut = /Z|[+-]\d\d(?::?\d\d)?/gi, Qa = /[+-]?\d+(\.\d{1,3})?/, xt = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, et = /^[1-9]\d?/, kr = /^([1-9]\d|\d)/, Wt;
3142
+ var vs = /\d/, se = /\d\d/, xs = /\d{3}/, wr = /\d{4}/, Ft = /[+-]?\d{6}/, V = /\d\d?/, ws = /\d\d\d\d?/, _s = /\d\d\d\d\d\d?/, Et = /\d{1,3}/, _r = /\d{1,4}/, jt = /[+-]?\d{1,6}/, et = /\d+/, Vt = /[+-]?\d+/, Ja = /Z|[+-]\d\d:?\d\d/gi, Ut = /Z|[+-]\d\d(?::?\d\d)?/gi, Qa = /[+-]?\d+(\.\d{1,3})?/, xt = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, tt = /^[1-9]\d?/, kr = /^([1-9]\d|\d)/, Wt;
3143
3143
  Wt = {};
3144
3144
  function m(e, t, r) {
3145
3145
  Wt[e] = pe(t) ? t : function(s, n) {
@@ -3214,17 +3214,17 @@ A("YY", function(e, t) {
3214
3214
  A("Y", function(e, t) {
3215
3215
  t[X] = parseInt(e, 10);
3216
3216
  });
3217
- function ct(e) {
3217
+ function ut(e) {
3218
3218
  return Ht(e) ? 366 : 365;
3219
3219
  }
3220
3220
  f.parseTwoDigitYear = function(e) {
3221
3221
  return N(e) + (N(e) > 68 ? 1900 : 2e3);
3222
3222
  };
3223
- var ks = tt("FullYear", !0);
3223
+ var ks = rt("FullYear", !0);
3224
3224
  function si() {
3225
3225
  return Ht(this.year());
3226
3226
  }
3227
- function tt(e, t) {
3227
+ function rt(e, t) {
3228
3228
  return function(r) {
3229
3229
  return r != null ? (Ms(this, e, r), f.updateOffset(this, t), this) : ft(this, e);
3230
3230
  };
@@ -3315,7 +3315,7 @@ b("MMM", 0, 0, function(e) {
3315
3315
  b("MMMM", 0, 0, function(e) {
3316
3316
  return this.localeData().months(this, e);
3317
3317
  });
3318
- m("M", V, et);
3318
+ m("M", V, tt);
3319
3319
  m("MM", V, se);
3320
3320
  m("MMM", function(e, t) {
3321
3321
  return t.monthsShortRegex(e);
@@ -3421,7 +3421,7 @@ function It(e, t, r) {
3421
3421
  }
3422
3422
  function Ts(e, t, r, s, n) {
3423
3423
  var a = (7 + r - s) % 7, i = It(e, s, n), o = 1 + 7 * (t - 1) + a + i, d, c;
3424
- return o <= 0 ? (d = e - 1, c = ct(d) + o) : o > ct(e) ? (d = e + 1, c = o - ct(e)) : (d = e, c = o), {
3424
+ return o <= 0 ? (d = e - 1, c = ut(d) + o) : o > ut(e) ? (d = e + 1, c = o - ut(e)) : (d = e, c = o), {
3425
3425
  year: d,
3426
3426
  dayOfYear: c
3427
3427
  };
@@ -3435,13 +3435,13 @@ function mt(e, t, r) {
3435
3435
  }
3436
3436
  function Me(e, t, r) {
3437
3437
  var s = It(e, t, r), n = It(e + 1, t, r);
3438
- return (ct(e) - s + n) / 7;
3438
+ return (ut(e) - s + n) / 7;
3439
3439
  }
3440
3440
  b("w", ["ww", 2], "wo", "week");
3441
3441
  b("W", ["WW", 2], "Wo", "isoWeek");
3442
- m("w", V, et);
3442
+ m("w", V, tt);
3443
3443
  m("ww", V, se);
3444
- m("W", V, et);
3444
+ m("W", V, tt);
3445
3445
  m("WW", V, se);
3446
3446
  wt(
3447
3447
  ["w", "ww", "W", "WW"],
@@ -3646,8 +3646,8 @@ function Ws(e, t) {
3646
3646
  m("a", Ws);
3647
3647
  m("A", Ws);
3648
3648
  m("H", V, kr);
3649
- m("h", V, et);
3650
- m("k", V, et);
3649
+ m("h", V, tt);
3650
+ m("k", V, tt);
3651
3651
  m("HH", V, se);
3652
3652
  m("hh", V, se);
3653
3653
  m("kk", V, se);
@@ -3685,7 +3685,7 @@ A("Hmmss", function(e, t, r) {
3685
3685
  function Ui(e) {
3686
3686
  return (e + "").toLowerCase().charAt(0) === "p";
3687
3687
  }
3688
- var Hi = /[ap]\.?m?\.?/i, Gi = tt("Hours", !0);
3688
+ var Hi = /[ap]\.?m?\.?/i, Gi = rt("Hours", !0);
3689
3689
  function $i(e, t, r) {
3690
3690
  return e > 11 ? r ? "pm" : "PM" : r ? "am" : "AM";
3691
3691
  }
@@ -3703,7 +3703,7 @@ var Is = {
3703
3703
  weekdaysMin: Ni,
3704
3704
  weekdaysShort: Cs,
3705
3705
  meridiemParse: Hi
3706
- }, U = {}, ot = {}, pt;
3706
+ }, U = {}, lt = {}, pt;
3707
3707
  function Bi(e, t) {
3708
3708
  var r, s = Math.min(e.length, t.length);
3709
3709
  for (r = 0; r < s; r += 1)
@@ -3760,11 +3760,11 @@ function Or(e, t) {
3760
3760
  else if (r = Gt(t.parentLocale), r != null)
3761
3761
  s = r._config;
3762
3762
  else
3763
- return ot[t.parentLocale] || (ot[t.parentLocale] = []), ot[t.parentLocale].push({
3763
+ return lt[t.parentLocale] || (lt[t.parentLocale] = []), lt[t.parentLocale].push({
3764
3764
  name: e,
3765
3765
  config: t
3766
3766
  }), null;
3767
- return U[e] = new br(nr(s, t)), ot[e] && ot[e].forEach(function(n) {
3767
+ return U[e] = new br(nr(s, t)), lt[e] && lt[e].forEach(function(n) {
3768
3768
  Or(n.name, n.config);
3769
3769
  }), Re(e), U[e];
3770
3770
  } else
@@ -3959,7 +3959,7 @@ function uo(e) {
3959
3959
  function Tr(e) {
3960
3960
  var t, r, s = [], n, a, i;
3961
3961
  if (!e._d) {
3962
- for (n = uo(e), e._w && e._a[fe] == null && e._a[we] == null && fo(e), e._dayOfYear != null && (i = Ge(e._a[X], n[X]), (e._dayOfYear > ct(i) || e._dayOfYear === 0) && (_(e)._overflowDayOfYear = !0), r = ht(i, 0, e._dayOfYear), e._a[we] = r.getUTCMonth(), e._a[fe] = r.getUTCDate()), t = 0; t < 3 && e._a[t] == null; ++t)
3962
+ for (n = uo(e), e._w && e._a[fe] == null && e._a[we] == null && fo(e), e._dayOfYear != null && (i = Ge(e._a[X], n[X]), (e._dayOfYear > ut(i) || e._dayOfYear === 0) && (_(e)._overflowDayOfYear = !0), r = ht(i, 0, e._dayOfYear), e._a[we] = r.getUTCMonth(), e._a[fe] = r.getUTCDate()), t = 0; t < 3 && e._a[t] == null; ++t)
3963
3963
  e._a[t] = s[t] = n[t];
3964
3964
  for (; t < 7; t++)
3965
3965
  e._a[t] = s[t] = e._a[t] == null ? t === 2 ? 1 : 0 : e._a[t];
@@ -4079,7 +4079,7 @@ function wo() {
4079
4079
  }
4080
4080
  var _o = function() {
4081
4081
  return Date.now ? Date.now() : +/* @__PURE__ */ new Date();
4082
- }, lt = [
4082
+ }, dt = [
4083
4083
  "year",
4084
4084
  "quarter",
4085
4085
  "month",
@@ -4091,15 +4091,15 @@ var _o = function() {
4091
4091
  "millisecond"
4092
4092
  ];
4093
4093
  function ko(e) {
4094
- var t, r = !1, s, n = lt.length;
4094
+ var t, r = !1, s, n = dt.length;
4095
4095
  for (t in e)
4096
- if (T(e, t) && !(Z.call(lt, t) !== -1 && (e[t] == null || !isNaN(e[t]))))
4096
+ if (T(e, t) && !(Z.call(dt, t) !== -1 && (e[t] == null || !isNaN(e[t]))))
4097
4097
  return !1;
4098
4098
  for (s = 0; s < n; ++s)
4099
- if (e[lt[s]]) {
4099
+ if (e[dt[s]]) {
4100
4100
  if (r)
4101
4101
  return !1;
4102
- parseFloat(e[lt[s]]) !== N(e[lt[s]]) && (r = !0);
4102
+ parseFloat(e[dt[s]]) !== N(e[dt[s]]) && (r = !0);
4103
4103
  }
4104
4104
  return !0;
4105
4105
  }
@@ -4641,10 +4641,10 @@ A(
4641
4641
  n ? _(r).era = n : _(r).invalidEra = e;
4642
4642
  }
4643
4643
  );
4644
- m("y", Xe);
4645
- m("yy", Xe);
4646
- m("yyy", Xe);
4647
- m("yyyy", Xe);
4644
+ m("y", et);
4645
+ m("yy", et);
4646
+ m("yyy", et);
4647
+ m("yyyy", et);
4648
4648
  m("yo", Rl);
4649
4649
  A(["y", "yy", "yyy", "yyyy"], X);
4650
4650
  A(["yo"], function(e, t, r, s) {
@@ -4744,7 +4744,7 @@ function Il(e, t) {
4744
4744
  return t.erasNarrowRegex(e);
4745
4745
  }
4746
4746
  function Rl(e, t) {
4747
- return t._eraYearOrdinalRegex || Xe;
4747
+ return t._eraYearOrdinalRegex || et;
4748
4748
  }
4749
4749
  function Rr() {
4750
4750
  var e = [], t = [], r = [], s = [], n, a, i, o, d, c = this.eras();
@@ -4836,7 +4836,7 @@ function Ul(e) {
4836
4836
  return e == null ? Math.ceil((this.month() + 1) / 3) : this.month((e - 1) * 3 + this.month() % 3);
4837
4837
  }
4838
4838
  b("D", ["DD", 2], "Do", "date");
4839
- m("D", V, et);
4839
+ m("D", V, tt);
4840
4840
  m("DD", V, se);
4841
4841
  m("Do", function(e, t) {
4842
4842
  return e ? t._dayOfMonthOrdinalParse || t._ordinalParse : t._dayOfMonthOrdinalParseLenient;
@@ -4845,7 +4845,7 @@ A(["D", "DD"], fe);
4845
4845
  A("Do", function(e, t) {
4846
4846
  t[fe] = N(e.match(V)[0]);
4847
4847
  });
4848
- var Ks = tt("Date", !0);
4848
+ var Ks = rt("Date", !0);
4849
4849
  b("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
4850
4850
  m("DDD", Et);
4851
4851
  m("DDDD", xs);
@@ -4862,12 +4862,12 @@ b("m", ["mm", 2], 0, "minute");
4862
4862
  m("m", V, kr);
4863
4863
  m("mm", V, se);
4864
4864
  A(["m", "mm"], le);
4865
- var Gl = tt("Minutes", !1);
4865
+ var Gl = rt("Minutes", !1);
4866
4866
  b("s", ["ss", 2], 0, "second");
4867
4867
  m("s", V, kr);
4868
4868
  m("ss", V, se);
4869
4869
  A(["s", "ss"], _e);
4870
- var $l = tt("Seconds", !1);
4870
+ var $l = rt("Seconds", !1);
4871
4871
  b("S", 0, 0, function() {
4872
4872
  return ~~(this.millisecond() / 100);
4873
4873
  });
@@ -4898,13 +4898,13 @@ m("SS", Et, se);
4898
4898
  m("SSS", Et, xs);
4899
4899
  var Ie, Xs;
4900
4900
  for (Ie = "SSSS"; Ie.length <= 9; Ie += "S")
4901
- m(Ie, Xe);
4901
+ m(Ie, et);
4902
4902
  function Bl(e, t) {
4903
4903
  t[ze] = N(("0." + e) * 1e3);
4904
4904
  }
4905
4905
  for (Ie = "S"; Ie.length <= 9; Ie += "S")
4906
4906
  A(Ie, Bl);
4907
- Xs = tt("Milliseconds", !1);
4907
+ Xs = rt("Milliseconds", !1);
4908
4908
  b("z", 0, 0, "zoneAbbr");
4909
4909
  b("zz", 0, 0, "zoneName");
4910
4910
  function Zl() {
@@ -5365,7 +5365,7 @@ const Pd = K(
5365
5365
  const p = Math.abs(f().diff(f(s), "hours"));
5366
5366
  return p < 24 ? `há ${p} horas` : `há ${Math.abs(f().diff(f(s), "days"))} dias`;
5367
5367
  }, [s]);
5368
- return /* @__PURE__ */ R(
5368
+ return /* @__PURE__ */ L(
5369
5369
  mr,
5370
5370
  {
5371
5371
  ref: d,
@@ -5373,8 +5373,8 @@ const Pd = K(
5373
5373
  className: x(!n && "border-transparent bg-lightGray", e),
5374
5374
  ...o,
5375
5375
  children: [
5376
- /* @__PURE__ */ R("div", { className: "flex items-start justify-between gap-3", children: [
5377
- /* @__PURE__ */ R("div", { className: "flex min-w-0 items-center gap-2", children: [
5376
+ /* @__PURE__ */ L("div", { className: "flex items-start justify-between gap-3", children: [
5377
+ /* @__PURE__ */ L("div", { className: "flex min-w-0 items-center gap-2", children: [
5378
5378
  !n && /* @__PURE__ */ l(
5379
5379
  "span",
5380
5380
  {
@@ -5404,7 +5404,7 @@ const Pd = K(
5404
5404
  )
5405
5405
  ] }),
5406
5406
  /* @__PURE__ */ l(z, { as: "div", variant: "bodySm", className: "text-neutral-text-secondary", children: r }),
5407
- /* @__PURE__ */ R("div", { className: "flex items-center justify-end gap-1 pt-1", children: [
5407
+ /* @__PURE__ */ L("div", { className: "flex items-center justify-end gap-1 pt-1", children: [
5408
5408
  /* @__PURE__ */ l(
5409
5409
  "button",
5410
5410
  {
@@ -5433,7 +5433,7 @@ const Pd = K(
5433
5433
  );
5434
5434
  Pd.displayName = "Notification";
5435
5435
  const cr = K(
5436
- ({ className: e, ...t }, r) => /* @__PURE__ */ R("span", { className: "relative inline-flex size-5 shrink-0 items-center justify-center", children: [
5436
+ ({ className: e, ...t }, r) => /* @__PURE__ */ L("span", { className: "relative inline-flex size-5 shrink-0 items-center justify-center", children: [
5437
5437
  /* @__PURE__ */ l(
5438
5438
  "input",
5439
5439
  {
@@ -5508,7 +5508,7 @@ const ur = K(
5508
5508
  e
5509
5509
  ),
5510
5510
  ...i,
5511
- children: /* @__PURE__ */ R(
5511
+ children: /* @__PURE__ */ L(
5512
5512
  "span",
5513
5513
  {
5514
5514
  className: x(
@@ -5613,9 +5613,9 @@ function ac({
5613
5613
  size: s = "md",
5614
5614
  className: n
5615
5615
  }) {
5616
- return /* @__PURE__ */ R("div", { className: x("flex min-w-0 items-center gap-2", n), children: [
5616
+ return /* @__PURE__ */ L("div", { className: x("flex min-w-0 items-center gap-2", n), children: [
5617
5617
  /* @__PURE__ */ l(on, { src: e, name: t, size: s }),
5618
- /* @__PURE__ */ R("div", { className: "flex min-w-0 flex-col", children: [
5618
+ /* @__PURE__ */ L("div", { className: "flex min-w-0 flex-col", children: [
5619
5619
  /* @__PURE__ */ l(z, { as: "span", variant: "body", className: "truncate", children: t }),
5620
5620
  r && /* @__PURE__ */ l(
5621
5621
  z,
@@ -5643,7 +5643,7 @@ function ic({
5643
5643
  sortDirection: h,
5644
5644
  onSortChange: p,
5645
5645
  onRowClick: g,
5646
- shadow: L = !1,
5646
+ shadow: W = !1,
5647
5647
  border: P = !1,
5648
5648
  className: M,
5649
5649
  ...y
@@ -5661,15 +5661,15 @@ function ic({
5661
5661
  className: x(
5662
5662
  "w-full overflow-x-auto rounded-lg",
5663
5663
  P && "border border-neutral-divider-secondary",
5664
- L && "shadow-[0px_0px_2px_0px_rgba(66,74,98,0.04),0px_3px_8px_0px_rgba(66,74,98,0.09)]"
5664
+ W && "shadow-[0px_0px_2px_0px_rgba(66,74,98,0.04),0px_3px_8px_0px_rgba(66,74,98,0.09)]"
5665
5665
  ),
5666
- children: /* @__PURE__ */ R(
5666
+ children: /* @__PURE__ */ L(
5667
5667
  "table",
5668
5668
  {
5669
5669
  className: x("w-full border-collapse table-fixed", M),
5670
5670
  ...y,
5671
5671
  children: [
5672
- /* @__PURE__ */ l("thead", { children: /* @__PURE__ */ R("tr", { children: [
5672
+ /* @__PURE__ */ l("thead", { children: /* @__PURE__ */ L("tr", { children: [
5673
5673
  i && /* @__PURE__ */ l(ur, { align: "center", className: "w-11", children: /* @__PURE__ */ l(
5674
5674
  cr,
5675
5675
  {
@@ -5721,8 +5721,8 @@ function ic({
5721
5721
  )
5722
5722
  }
5723
5723
  ) }) : t.map((D, v) => {
5724
- const W = $[v];
5725
- return /* @__PURE__ */ R(
5724
+ const I = $[v];
5725
+ return /* @__PURE__ */ L(
5726
5726
  "tr",
5727
5727
  {
5728
5728
  onClick: g ? () => g(D) : void 0,
@@ -5739,8 +5739,8 @@ function ic({
5739
5739
  children: /* @__PURE__ */ l(
5740
5740
  cr,
5741
5741
  {
5742
- checked: F.includes(W),
5743
- onChange: () => H(W),
5742
+ checked: F.includes(I),
5743
+ onChange: () => H(I),
5744
5744
  "aria-label": "Selecionar linha"
5745
5745
  }
5746
5746
  )
@@ -5757,7 +5757,7 @@ function ic({
5757
5757
  ))
5758
5758
  ]
5759
5759
  },
5760
- W
5760
+ I
5761
5761
  );
5762
5762
  }) })
5763
5763
  ]
@@ -5766,22 +5766,22 @@ function ic({
5766
5766
  }
5767
5767
  );
5768
5768
  }
5769
- const dt = "ellipsis";
5769
+ const ct = "ellipsis";
5770
5770
  function Nt(e, t) {
5771
5771
  return Array.from({ length: t - e + 1 }, (r, s) => e + s);
5772
5772
  }
5773
5773
  function Fd(e, t, r) {
5774
5774
  if (r * 2 + 5 >= t) return Nt(1, t);
5775
5775
  const n = Math.max(e - r, 1), a = Math.min(e + r, t), i = n > 2, o = a < t - 1;
5776
- return !i && o ? [...Nt(1, 3 + r * 2), dt, t] : i && !o ? [
5776
+ return !i && o ? [...Nt(1, 3 + r * 2), ct, t] : i && !o ? [
5777
5777
  1,
5778
- dt,
5778
+ ct,
5779
5779
  ...Nt(t - (2 + r * 2), t)
5780
5780
  ] : [
5781
5781
  1,
5782
- dt,
5782
+ ct,
5783
5783
  ...Nt(n, a),
5784
- dt,
5784
+ ct,
5785
5785
  t
5786
5786
  ];
5787
5787
  }
@@ -5821,7 +5821,7 @@ const Ed = K(
5821
5821
  const o = Fd(e, t, s), d = (c) => {
5822
5822
  c < 1 || c > t || c === e || r(c);
5823
5823
  };
5824
- return /* @__PURE__ */ R(
5824
+ return /* @__PURE__ */ L(
5825
5825
  "nav",
5826
5826
  {
5827
5827
  ref: i,
@@ -5841,7 +5841,7 @@ const Ed = K(
5841
5841
  }
5842
5842
  ),
5843
5843
  o.map(
5844
- (c, h) => c === dt ? /* @__PURE__ */ l(
5844
+ (c, h) => c === ct ? /* @__PURE__ */ l(
5845
5845
  "span",
5846
5846
  {
5847
5847
  className: "inline-flex size-9 shrink-0 items-center justify-center text-neutral-text-secondary",
@@ -5915,8 +5915,8 @@ const ln = ae(
5915
5915
  id: d,
5916
5916
  ...c
5917
5917
  }, h) => {
5918
- const p = yt(), g = d ?? p, L = typeof i == "string" ? i : i == null ? void 0 : i.message, P = !!L, M = `${g}-error`;
5919
- return /* @__PURE__ */ R(
5918
+ const p = yt(), g = d ?? p, W = typeof i == "string" ? i : i == null ? void 0 : i.message, P = !!W, M = `${g}-error`;
5919
+ return /* @__PURE__ */ L(
5920
5920
  "div",
5921
5921
  {
5922
5922
  className: x(
@@ -5934,7 +5934,7 @@ const ln = ae(
5934
5934
  children: r
5935
5935
  }
5936
5936
  ),
5937
- /* @__PURE__ */ R(
5937
+ /* @__PURE__ */ L(
5938
5938
  "div",
5939
5939
  {
5940
5940
  className: x(
@@ -5989,7 +5989,7 @@ const ln = ae(
5989
5989
  role: "alert",
5990
5990
  variant: "caption",
5991
5991
  className: "text-danger-60",
5992
- children: L
5992
+ children: W
5993
5993
  }
5994
5994
  )
5995
5995
  ]
@@ -6018,7 +6018,7 @@ const Vd = (e) => typeof e.label == "string" ? e.label : String(e.value), ts = (
6018
6018
  placeholder: h = "Selecione",
6019
6019
  label: p,
6020
6020
  name: g,
6021
- leftIcon: L,
6021
+ leftIcon: W,
6022
6022
  rightIcon: P,
6023
6023
  bgIcon: M = !1,
6024
6024
  error: y,
@@ -6029,22 +6029,22 @@ const Vd = (e) => typeof e.label == "string" ? e.label : String(e.value), ts = (
6029
6029
  onBlur: q,
6030
6030
  ...H
6031
6031
  }, D) => {
6032
- const v = yt(), W = F ?? v, G = `${W}-listbox`, Q = typeof y == "string" ? y : y == null ? void 0 : y.message, I = !!Q, rt = `${W}-error`, Le = s !== void 0, [_t, Ve] = xe(n), Oe = Le ? s : _t, ye = r.find(
6032
+ const v = yt(), I = F ?? v, G = `${I}-listbox`, Q = typeof y == "string" ? y : y == null ? void 0 : y.message, R = !!Q, st = `${I}-error`, Le = s !== void 0, [_t, Ve] = xe(n), Oe = Le ? s : _t, ye = r.find(
6033
6033
  (O) => O.value === Oe
6034
- ), [B, Ye] = xe(!1), [te, qt] = xe(""), [Ar, st] = xe(!1), [nt, kt] = xe(0), zr = Qe(null), Fr = Qe(null), gn = Mn(
6034
+ ), [B, Ye] = xe(!1), [te, qt] = xe(""), [Ar, nt] = xe(!1), [at, kt] = xe(0), zr = Qe(null), Fr = Qe(null), gn = Mn(
6035
6035
  (O) => {
6036
6036
  Fr.current = O, typeof D == "function" ? D(O) : D && (D.current = O);
6037
6037
  },
6038
6038
  [D]
6039
6039
  ), Te = fr(() => Ar ? o ? o(r, te) : Ud(r, te, i) : r, [Ar, r, te, o, i]), bn = B ? te : ye ? i(ye) : "";
6040
- ut(() => {
6040
+ Ke(() => {
6041
6041
  if (!B) return;
6042
6042
  const O = (ee) => {
6043
6043
  var Ue;
6044
- (Ue = zr.current) != null && Ue.contains(ee.target) || (Ye(!1), st(!1));
6044
+ (Ue = zr.current) != null && Ue.contains(ee.target) || (Ye(!1), nt(!1));
6045
6045
  };
6046
6046
  return document.addEventListener("mousedown", O), () => document.removeEventListener("mousedown", O);
6047
- }, [B]), ut(() => {
6047
+ }, [B]), Ke(() => {
6048
6048
  if (!B) return;
6049
6049
  const O = Te.findIndex(
6050
6050
  (ee) => ee.value === Oe
@@ -6052,14 +6052,14 @@ const Vd = (e) => typeof e.label == "string" ? e.label : String(e.value), ts = (
6052
6052
  kt(O >= 0 ? O : 0);
6053
6053
  }, [B, Te, Oe]);
6054
6054
  const Mt = () => {
6055
- qt(ye ? i(ye) : ""), st(!1), Ye(!0);
6055
+ qt(ye ? i(ye) : ""), nt(!1), Ye(!0);
6056
6056
  }, Er = () => {
6057
- Ye(!1), st(!1);
6057
+ Ye(!1), nt(!1);
6058
6058
  }, Jt = (O) => {
6059
6059
  var ee;
6060
6060
  Le || Ve(O ? O.value : void 0), a == null || a(O ? O.value : void 0, O), Er(), (ee = Fr.current) == null || ee.focus();
6061
6061
  }, vn = (O) => {
6062
- O.stopPropagation(), Jt(null), qt(""), st(!1), Ye(!0);
6062
+ O.stopPropagation(), Jt(null), qt(""), nt(!1), Ye(!0);
6063
6063
  }, xn = (O) => {
6064
6064
  if ($ == null || $(O), !O.defaultPrevented)
6065
6065
  switch (O.key) {
@@ -6080,14 +6080,14 @@ const Vd = (e) => typeof e.label == "string" ? e.label : String(e.value), ts = (
6080
6080
  kt((ee) => Math.max(ee - 1, 0));
6081
6081
  break;
6082
6082
  case "Enter":
6083
- O.preventDefault(), B && Te[nt] && Jt(Te[nt]);
6083
+ O.preventDefault(), B && Te[at] && Jt(Te[at]);
6084
6084
  break;
6085
6085
  case "Escape":
6086
6086
  B && (O.preventDefault(), Er());
6087
6087
  break;
6088
6088
  }
6089
6089
  };
6090
- return /* @__PURE__ */ R(
6090
+ return /* @__PURE__ */ L(
6091
6091
  "div",
6092
6092
  {
6093
6093
  ref: zr,
@@ -6100,41 +6100,41 @@ const Vd = (e) => typeof e.label == "string" ? e.label : String(e.value), ts = (
6100
6100
  z,
6101
6101
  {
6102
6102
  as: "label",
6103
- htmlFor: W,
6103
+ htmlFor: I,
6104
6104
  variant: "body",
6105
6105
  className: "text-neutral-text-primary",
6106
6106
  children: p
6107
6107
  }
6108
6108
  ),
6109
- /* @__PURE__ */ R(
6109
+ /* @__PURE__ */ L(
6110
6110
  "div",
6111
6111
  {
6112
6112
  className: x(
6113
- ln({ hasError: I }),
6113
+ ln({ hasError: R }),
6114
6114
  S && "pointer-events-none opacity-50"
6115
6115
  ),
6116
6116
  children: [
6117
- L && /* @__PURE__ */ l("span", { className: "inline-flex shrink-0", "aria-hidden": "true", children: L }),
6117
+ W && /* @__PURE__ */ l("span", { className: "inline-flex shrink-0", "aria-hidden": "true", children: W }),
6118
6118
  /* @__PURE__ */ l(
6119
6119
  "input",
6120
6120
  {
6121
6121
  ref: gn,
6122
6122
  type: "text",
6123
- id: W,
6123
+ id: I,
6124
6124
  role: "combobox",
6125
6125
  autoComplete: "off",
6126
6126
  "aria-autocomplete": "list",
6127
6127
  "aria-haspopup": "listbox",
6128
6128
  "aria-expanded": B,
6129
6129
  "aria-controls": G,
6130
- "aria-invalid": I || void 0,
6131
- "aria-describedby": I ? rt : void 0,
6132
- "aria-activedescendant": B && Te[nt] ? `${G}-option-${nt}` : void 0,
6130
+ "aria-invalid": R || void 0,
6131
+ "aria-describedby": R ? st : void 0,
6132
+ "aria-activedescendant": B && Te[at] ? `${G}-option-${at}` : void 0,
6133
6133
  disabled: S,
6134
6134
  placeholder: h,
6135
6135
  value: bn,
6136
6136
  onChange: (O) => {
6137
- st(!0), qt(O.target.value), B || Ye(!0);
6137
+ nt(!0), qt(O.target.value), B || Ye(!0);
6138
6138
  },
6139
6139
  onFocus: (O) => {
6140
6140
  Mt(), k == null || k(O);
@@ -6178,17 +6178,17 @@ const Vd = (e) => typeof e.label == "string" ? e.label : String(e.value), ts = (
6178
6178
  }
6179
6179
  ),
6180
6180
  g && /* @__PURE__ */ l("input", { type: "hidden", name: g, value: Oe ?? "" }),
6181
- B && /* @__PURE__ */ R(
6181
+ B && /* @__PURE__ */ L(
6182
6182
  "ul",
6183
6183
  {
6184
6184
  id: G,
6185
6185
  role: "listbox",
6186
- "aria-labelledby": p ? W : void 0,
6186
+ "aria-labelledby": p ? I : void 0,
6187
6187
  className: "absolute left-0 top-full z-50 mt-1 max-h-60 w-full min-w-0 overflow-auto rounded-lg bg-white py-1 shadow-[0px_4px_12px_0px_rgba(0,0,0,0.15)]",
6188
6188
  children: [
6189
6189
  Te.length === 0 && /* @__PURE__ */ l("li", { className: "px-3 py-2", children: /* @__PURE__ */ l(z, { as: "span", variant: "bodySm", className: "text-neutral-secondary", children: d }) }),
6190
6190
  Te.map((O, ee) => {
6191
- const Ue = O.value === Oe, wn = ee === nt;
6191
+ const Ue = O.value === Oe, wn = ee === at;
6192
6192
  return /* @__PURE__ */ l(
6193
6193
  "li",
6194
6194
  {
@@ -6218,11 +6218,11 @@ const Vd = (e) => typeof e.label == "string" ? e.label : String(e.value), ts = (
6218
6218
  ]
6219
6219
  }
6220
6220
  ),
6221
- I && /* @__PURE__ */ l(
6221
+ R && /* @__PURE__ */ l(
6222
6222
  z,
6223
6223
  {
6224
6224
  as: "span",
6225
- id: rt,
6225
+ id: st,
6226
6226
  role: "alert",
6227
6227
  variant: "caption",
6228
6228
  className: "text-danger-60",
@@ -6259,8 +6259,8 @@ const $d = K(
6259
6259
  contentClassName: d,
6260
6260
  ...c
6261
6261
  }, h) => {
6262
- const p = yt(), g = Qe(null), [L, P] = xe(!1);
6263
- return ut(() => P(!0), []), ut(() => {
6262
+ const p = yt(), g = Qe(null), [W, P] = xe(!1);
6263
+ return Ke(() => P(!0), []), Ke(() => {
6264
6264
  var S;
6265
6265
  if (!e) return;
6266
6266
  const M = document.body.style.overflow;
@@ -6271,13 +6271,13 @@ const $d = K(
6271
6271
  return document.addEventListener("keydown", y), () => {
6272
6272
  document.body.style.overflow = M, document.removeEventListener("keydown", y);
6273
6273
  };
6274
- }, [e, t]), !e || !L ? null : ns(
6274
+ }, [e, t]), !e || !W ? null : ns(
6275
6275
  /* @__PURE__ */ l(
6276
6276
  "div",
6277
6277
  {
6278
6278
  className: "fixed inset-0 z-[9999] flex items-center justify-center overflow-y-auto bg-black/40 p-4",
6279
6279
  onClick: a ? t : void 0,
6280
- children: /* @__PURE__ */ R(
6280
+ children: /* @__PURE__ */ L(
6281
6281
  "div",
6282
6282
  {
6283
6283
  ref: h,
@@ -6361,18 +6361,18 @@ const Bd = ae(
6361
6361
  ...o
6362
6362
  }, d) => {
6363
6363
  var $;
6364
- const c = yt(), h = a ?? c, p = r !== void 0, [g, L] = xe(
6364
+ const c = yt(), h = a ?? c, p = r !== void 0, [g, W] = xe(
6365
6365
  s ?? (($ = t[0]) == null ? void 0 : $.value)
6366
6366
  ), P = p ? r : g, M = Qe([]), y = (k) => {
6367
- k.disabled || (p || L(k.value), n == null || n(k.value, k));
6367
+ k.disabled || (p || W(k.value), n == null || n(k.value, k));
6368
6368
  }, S = (k) => {
6369
6369
  var q;
6370
6370
  (q = M.current[k]) == null || q.focus();
6371
6371
  }, F = (k, q) => {
6372
- const H = t.map((v, W) => v.disabled ? -1 : W).filter((v) => v !== -1), D = (v) => {
6373
- const W = H.indexOf(q);
6374
- if (W === -1) return;
6375
- const G = (W + v + H.length) % H.length, Q = H[G];
6372
+ const H = t.map((v, I) => v.disabled ? -1 : I).filter((v) => v !== -1), D = (v) => {
6373
+ const I = H.indexOf(q);
6374
+ if (I === -1) return;
6375
+ const G = (I + v + H.length) % H.length, Q = H[G];
6376
6376
  S(Q), y(t[Q]);
6377
6377
  };
6378
6378
  switch (k.key) {
@@ -6479,28 +6479,28 @@ const Qd = ae("flex w-full flex-col gap-2"), un = K(
6479
6479
  id: o,
6480
6480
  ...d
6481
6481
  }, c) => {
6482
- const h = yt(), p = o ?? h, g = (v) => v === void 0 ? [] : Array.isArray(v) ? v : [v], L = t !== void 0, [P, M] = xe(
6482
+ const h = yt(), p = o ?? h, g = (v) => v === void 0 ? [] : Array.isArray(v) ? v : [v], W = t !== void 0, [P, M] = xe(
6483
6483
  () => g(r)
6484
- ), y = L ? g(t) : P, S = (v) => {
6485
- L || M(v), s == null || s(e === "multiple" ? v : v[0] ?? "");
6484
+ ), y = W ? g(t) : P, S = (v) => {
6485
+ W || M(v), s == null || s(e === "multiple" ? v : v[0] ?? "");
6486
6486
  }, F = (v) => {
6487
- const W = y.includes(v);
6487
+ const I = y.includes(v);
6488
6488
  if (e === "multiple") {
6489
- const G = W ? y.filter((Q) => Q !== v) : [...y, v];
6489
+ const G = I ? y.filter((Q) => Q !== v) : [...y, v];
6490
6490
  S(G);
6491
6491
  return;
6492
6492
  }
6493
- if (W) {
6493
+ if (I) {
6494
6494
  S(n ? [] : y);
6495
6495
  return;
6496
6496
  }
6497
6497
  S([v]);
6498
- }, $ = Qe(/* @__PURE__ */ new Map()), k = Qe([]), q = (v, W) => {
6499
- W ? ($.current.set(v, W), k.current.includes(v) || k.current.push(v)) : ($.current.delete(v), k.current = k.current.filter((G) => G !== v));
6498
+ }, $ = Qe(/* @__PURE__ */ new Map()), k = Qe([]), q = (v, I) => {
6499
+ I ? ($.current.set(v, I), k.current.includes(v) || k.current.push(v)) : ($.current.delete(v), k.current = k.current.filter((G) => G !== v));
6500
6500
  }, H = (v) => {
6501
- const W = k.current;
6502
- if (!W.length) return;
6503
- const G = (v + W.length) % W.length, Q = $.current.get(W[G]);
6501
+ const I = k.current;
6502
+ if (!I.length) return;
6503
+ const G = (v + I.length) % I.length, Q = $.current.get(I[G]);
6504
6504
  Q == null || Q.focus();
6505
6505
  }, D = fr(
6506
6506
  () => ({
@@ -6562,16 +6562,16 @@ const Xd = ae(
6562
6562
  "flex min-w-0 flex-1 items-center justify-between gap-3 px-4 py-3.5 text-left transition-colors hover:bg-lightGray focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-agilys-primary/40 disabled:pointer-events-none disabled:opacity-50"
6563
6563
  ), pn = K(
6564
6564
  ({ className: e, children: t, actions: r, actionsClassName: s, ...n }, a) => {
6565
- const { toggleValue: i, registerTrigger: o, focusTrigger: d, values: c } = cn(), { value: h, disabled: p, isOpen: g, triggerId: L, contentId: P } = hn();
6566
- return /* @__PURE__ */ R(z, { as: "h3", variant: "body", className: "m-0 flex w-full items-center gap-2", children: [
6567
- /* @__PURE__ */ R(
6565
+ const { toggleValue: i, registerTrigger: o, focusTrigger: d, values: c } = cn(), { value: h, disabled: p, isOpen: g, triggerId: W, contentId: P } = hn();
6566
+ return /* @__PURE__ */ L(z, { as: "h3", variant: "body", className: "m-0 flex w-full items-center gap-2", children: [
6567
+ /* @__PURE__ */ L(
6568
6568
  "button",
6569
6569
  {
6570
6570
  ref: (y) => {
6571
6571
  o(h, y), typeof a == "function" ? a(y) : a && (a.current = y);
6572
6572
  },
6573
6573
  type: "button",
6574
- id: L,
6574
+ id: W,
6575
6575
  "aria-expanded": g,
6576
6576
  "aria-controls": P,
6577
6577
  disabled: p,
@@ -6656,11 +6656,16 @@ function tc({
6656
6656
  description: o,
6657
6657
  action: d,
6658
6658
  onClose: c,
6659
- ...h
6659
+ duration: h = 6e3,
6660
+ ...p
6660
6661
  }) {
6661
- const [p, g] = xe(!1);
6662
- return ut(() => g(!0), []), !e || !p ? null : ns(
6663
- /* @__PURE__ */ l("div", { className: ec({ position: t }), ...h, children: /* @__PURE__ */ l(
6662
+ const [g, W] = xe(!1);
6663
+ return Ke(() => W(!0), []), Ke(() => {
6664
+ if (!e || !h) return;
6665
+ const P = setTimeout(() => c == null ? void 0 : c(), h);
6666
+ return () => clearTimeout(P);
6667
+ }, [e, h, c]), !e || !g ? null : ns(
6668
+ /* @__PURE__ */ l("div", { className: ec({ position: t }), ...p, children: /* @__PURE__ */ l(
6664
6669
  mr,
6665
6670
  {
6666
6671
  variant: n,