@kenlo/kdls-design-system 2.25.0 → 2.26.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,14 +1,14 @@
1
1
  import { jsx as e, jsxs as u, Fragment as N1 } from "react/jsx-runtime";
2
2
  import * as se from "react";
3
- import T1, { useEffect as i1, useState as D, useContext as we, createContext as Kt, useId as ie, useRef as a1, useCallback as A1, useMemo as Pe, useImperativeHandle as $5, useLayoutEffect as ct } from "react";
3
+ import T1, { useEffect as i1, useState as D, useContext as we, createContext as Kt, useId as ie, useRef as a1, useCallback as A1, useMemo as Pe, useImperativeHandle as $5, useLayoutEffect as dt } from "react";
4
4
  import ge, { createPortal as I5 } from "react-dom";
5
- const F2 = "kdls-custom-scheme", Y2 = "data-primary-gradient", w2 = [10, 20, 30, 40, 50, 60, 70, 80, 90], A5 = /^#?[0-9a-f]{6,8}$/i, y2 = (t) => typeof t == "string" && A5.test(t.trim());
6
- function G2(t) {
5
+ const j2 = "kdls-custom-scheme", G2 = "data-primary-gradient", w2 = [10, 20, 30, 40, 50, 60, 70, 80, 90], A5 = /^#?[0-9a-f]{6,8}$/i, y2 = (t) => typeof t == "string" && A5.test(t.trim());
6
+ function X2(t) {
7
7
  const n = t.replace(/^#/, "").slice(0, 6), l = parseInt(n, 16), r = (l >> 16 & 255) / 255, i = (l >> 8 & 255) / 255, s = (l & 255) / 255, o = Math.max(r, i, s), a = Math.min(r, i, s), c = (o + a) / 2, f = o - a, m = f === 0 ? 0 : c > 0.5 ? f / (2 - o - a) : f / (o + a);
8
8
  let d = 0;
9
9
  return f !== 0 && (o === r ? d = ((i - s) / f + (i < s ? 6 : 0)) / 6 : o === i ? d = ((s - r) / f + 2) / 6 : d = ((r - i) / f + 4) / 6), [d, m, c];
10
10
  }
11
- function X2(t, n, l) {
11
+ function J2(t, n, l) {
12
12
  if (n === 0) {
13
13
  const a = Math.round(l * 255).toString(16).padStart(2, "0");
14
14
  return `#${a}${a}${a}`;
@@ -20,7 +20,7 @@ const be = (t, n, l) => t + (n - t) * l;
20
20
  function zt(t) {
21
21
  if (!y2(t))
22
22
  throw new Error(`Invalid hex color: ${t}`);
23
- const [n, l, r] = G2(t.trim());
23
+ const [n, l, r] = X2(t.trim());
24
24
  return [
25
25
  [10, be(r, 0.95, 0.82), be(l, 0.25, 0.35)],
26
26
  [20, be(r, 0.95, 0.63), l],
@@ -31,14 +31,14 @@ function zt(t) {
31
31
  [70, be(r, 0.05, 0.4), Math.min(l * 1.04, 1)],
32
32
  [80, be(r, 0.05, 0.6), Math.min(l * 1.07, 1)],
33
33
  [90, be(r, 0.05, 0.8), Math.min(l * 1.1, 1)]
34
- ].reduce((s, [o, a, c]) => (s[o] = X2(n, c, a), s), {});
34
+ ].reduce((s, [o, a, c]) => (s[o] = J2(n, c, a), s), {});
35
35
  }
36
- function J2(t) {
36
+ function Q2(t) {
37
37
  return `linear-gradient(90deg, ${t.join(", ")})`;
38
38
  }
39
39
  function rl(t) {
40
40
  const n = Ut(t);
41
- return w2.reduce((l, r) => (l[r] = J2(n[r]), l), {});
41
+ return w2.reduce((l, r) => (l[r] = Q2(n[r]), l), {});
42
42
  }
43
43
  function Ut(t) {
44
44
  if (!Array.isArray(t) || t.length !== 2 || !t.every(y2))
@@ -63,7 +63,7 @@ function Ke(t) {
63
63
  const n = parseInt(t.replace(/^#/, "").slice(0, 6), 16), l = (o) => o <= 0.04045 ? o / 12.92 : Math.pow((o + 0.055) / 1.055, 2.4), r = l((n >> 16 & 255) / 255), i = l((n >> 8 & 255) / 255), s = l((n & 255) / 255);
64
64
  return 0.2126 * r + 0.7152 * i + 0.0722 * s;
65
65
  }
66
- function dt(t) {
66
+ function D2(t) {
67
67
  const n = Math.min(...t.map((r) => 1.05 / (Ke(r) + 0.05))), l = Math.min(...t.map((r) => (Ke(r) + 0.05) / 0.05));
68
68
  return n >= l ? "#FFFFFF" : "#000000";
69
69
  }
@@ -72,53 +72,55 @@ function ft(t, n) {
72
72
  const l = Ke(t), r = Ke(n);
73
73
  return (Math.max(l, r) + 0.05) / (Math.min(l, r) + 0.05);
74
74
  }
75
- function D2(t, n, l) {
75
+ function H2(t, n, l) {
76
76
  if (ft(t, n) >= l) return t;
77
- const [r, i, s] = G2(t), o = Ke(n) > 0.18 ? 0 : 1;
77
+ const [r, i, s] = X2(t), o = Ke(n) > 0.18 ? 0 : 1;
78
78
  for (let a = 1; a <= 200; a++) {
79
- const c = X2(r, i, s + (o - s) * (a / 200)).toUpperCase();
79
+ const c = J2(r, i, s + (o - s) * (a / 200)).toUpperCase();
80
80
  if (ft(c, n) >= l) return c;
81
81
  }
82
82
  return o === 0 ? "#000000" : "#FFFFFF";
83
83
  }
84
84
  function Ct(t, n, l) {
85
- const [r, i, s] = G2(t), o = Ke(n) > 0.18 ? 0.05 : 0.95;
86
- return X2(r, i, s + (o - s) * l).toUpperCase();
85
+ const [r, i, s] = X2(t), o = Ke(n) > 0.18 ? 0.05 : 0.95;
86
+ return J2(r, i, s + (o - s) * l).toUpperCase();
87
87
  }
88
88
  function Wt(t, n) {
89
89
  const l = (r, i) => parseInt(r.replace(/^#/, "").slice(i * 2, i * 2 + 2), 16);
90
90
  return `#${[0, 1, 2].map((r) => Math.round((l(t, r) + l(n, r)) / 2).toString(16).padStart(2, "0")).join("")}`.toUpperCase();
91
91
  }
92
92
  function F5(t, n) {
93
- const l = (s, o) => `--color-primary-${s}:${o.length === 1 ? o[0] : J2(o)};--color-primary-${s}-solid:${o[0]};`, r = t.map((s) => D2(s, n, 4.5)), i = t.map((s) => D2(s, n, 3));
93
+ const l = (s, o) => `--color-primary-${s}:${o.length === 1 ? o[0] : Q2(o)};--color-primary-${s}-solid:${o[0]};`, r = t.map((s) => H2(s, n, 4.5)), i = t.map((s) => H2(s, n, 3));
94
94
  return l("text", r) + l("text-large", i) + l("stroke", i) + l("text-hover", r.map((s) => Ct(s, n, 0.15))) + l("text-active", r.map((s) => Ct(s, n, 0.3))) + /* The three stops of the icon gradients; the middle one is walked too, since the
95
95
  halfway colour can read darker than both ends. */
96
- `--color-primary-stroke-1:${i[0]};--color-primary-stroke-2:${D2(Wt(i[0], i[i.length - 1]), n, 3)};--color-primary-stroke-3:${i[i.length - 1]};`;
96
+ `--color-primary-stroke-1:${i[0]};--color-primary-stroke-2:${H2(Wt(i[0], i[i.length - 1]), n, 3)};--color-primary-stroke-3:${i[i.length - 1]};`;
97
97
  }
98
98
  function Yt(t, n, l) {
99
99
  const r = (s, o) => w2.map((a) => {
100
- const c = s[a], f = c.length === 1 ? c[0] : J2(c);
101
- return `--color-primary-${a}:${f};--color-primary-${a}-solid:${c[0]};--color-on-primary-${a}:${dt(c)};`;
102
- }).join("") + (s[50].length === 2 ? `--color-primary-stop-1:${s[50][0]};--color-primary-stop-mid:${Wt(s[50][0], s[50][1])};--color-primary-stop-2:${s[50][1]};` : "") + F5(s[50], o), i = dt(l);
100
+ const c = s[a], f = c.length === 1 ? c[0] : Q2(c);
101
+ return `--color-primary-${a}:${f};--color-primary-${a}-solid:${c[0]};--color-on-primary-${a}:${D2(c)};`;
102
+ }).join("") + (s[50].length === 2 ? `--color-primary-stop-1:${s[50][0]};--color-primary-stop-mid:${Wt(s[50][0], s[50][1])};--color-primary-stop-2:${s[50][1]};` : "") + /* What paints the -solid companion shows the first stop alone, so its label is judged
103
+ by that stop, not by the worst one. */
104
+ `--color-on-primary-solid:${D2([s[50][0]])};` + F5(s[50], o), i = D2(l);
103
105
  return `:root{${r(t, ut.light)}--color-on-primary:${i};}[data-theme="dark"]{${r(n, ut.dark)}--color-on-primary:${i};}`;
104
106
  }
105
107
  function Gt(t) {
106
- let n = document.getElementById(F2);
107
- n || (n = document.createElement("style"), n.id = F2, document.head.appendChild(n)), n.textContent = t;
108
+ let n = document.getElementById(j2);
109
+ n || (n = document.createElement("style"), n.id = j2, document.head.appendChild(n)), n.textContent = t;
108
110
  }
109
111
  function j5(t) {
110
112
  if (!y2(t)) return;
111
113
  const n = zt(t), l = w2.reduce((r, i) => (r[i] = [n[i]], r), {});
112
- Gt(Yt(l, qt(l), [t.trim()])), document.documentElement.removeAttribute(Y2);
114
+ Gt(Yt(l, qt(l), [t.trim()])), document.documentElement.removeAttribute(G2);
113
115
  }
114
116
  function sl(t) {
115
117
  if (!Array.isArray(t) || t.length !== 2 || !t.every(y2)) return;
116
118
  const n = Ut(t);
117
- Gt(Yt(n, qt(n), t.map((l) => l.trim()))), document.documentElement.setAttribute(Y2, "");
119
+ Gt(Yt(n, qt(n), t.map((l) => l.trim()))), document.documentElement.setAttribute(G2, "");
118
120
  }
119
121
  function ht() {
120
122
  var t;
121
- (t = document.getElementById(F2)) == null || t.remove(), document.documentElement.removeAttribute(Y2);
123
+ (t = document.getElementById(j2)) == null || t.remove(), document.documentElement.removeAttribute(G2);
122
124
  }
123
125
  function il(t) {
124
126
  i1(() => {
@@ -169,12 +171,12 @@ const K5 = {
169
171
  ]
170
172
  }
171
173
  );
172
- }, H2 = typeof window > "u" ? global : window, E2 = "@griffel/";
174
+ }, E2 = typeof window > "u" ? global : window, S2 = "@griffel/";
173
175
  function Jt(t, n) {
174
- return H2[Symbol.for(E2 + t)] || (H2[Symbol.for(E2 + t)] = n), H2[Symbol.for(E2 + t)];
176
+ return E2[Symbol.for(S2 + t)] || (E2[Symbol.for(S2 + t)] = n), E2[Symbol.for(S2 + t)];
175
177
  }
176
- const Q2 = /* @__PURE__ */ Jt("DEBUG_RESET_CLASSES", {}), n2 = /* @__PURE__ */ Jt("DEFINITION_LOOKUP_TABLE", {}), Qe = "data-make-styles-bucket", z5 = "data-priority", U5 = "r", e2 = 7, _e = "___", Qt = "_", e5 = process.env.NODE_ENV === "production" ? _e.length + e2 : _e.length + e2 + Qt.length + e2, q5 = 0, mt = 1;
177
- function S2(t) {
178
+ const et = /* @__PURE__ */ Jt("DEBUG_RESET_CLASSES", {}), n2 = /* @__PURE__ */ Jt("DEFINITION_LOOKUP_TABLE", {}), Qe = "data-make-styles-bucket", z5 = "data-priority", U5 = "r", e2 = 7, _e = "___", Qt = "_", e5 = process.env.NODE_ENV === "production" ? _e.length + e2 : _e.length + e2 + Qt.length + e2, q5 = 0, mt = 1;
179
+ function Z2(t) {
178
180
  for (var n = 0, l, r = 0, i = t.length; i >= 4; ++r, i -= 4)
179
181
  l = t.charCodeAt(r) & 255 | (t.charCodeAt(++r) & 255) << 8 | (t.charCodeAt(++r) & 255) << 16 | (t.charCodeAt(++r) & 255) << 24, l = /* Math.imul(k, m): */
180
182
  (l & 65535) * 1540483477 + ((l >>> 16) * 59797 << 16), l ^= /* k >>> r: */
@@ -193,7 +195,7 @@ function S2(t) {
193
195
  return n ^= n >>> 13, n = /* Math.imul(h, m): */
194
196
  (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), ((n ^ n >>> 15) >>> 0).toString(36);
195
197
  }
196
- function Z2(t) {
198
+ function R2(t) {
197
199
  const n = t.length;
198
200
  if (n === e2)
199
201
  return t;
@@ -202,7 +204,7 @@ function Z2(t) {
202
204
  return t;
203
205
  }
204
206
  function t5(t, n, l = []) {
205
- return process.env.NODE_ENV === "production" ? _e + Z2(S2(t + n)) : _e + Z2(S2(t + n)) + Qt + Z2(S2(l.join("")));
207
+ return process.env.NODE_ENV === "production" ? _e + R2(Z2(t + n)) : _e + R2(Z2(t + n)) + Qt + R2(Z2(l.join("")));
206
208
  }
207
209
  function n5(t, n) {
208
210
  let l = "", r = "";
@@ -236,19 +238,19 @@ function l5() {
236
238
  const r = new Array(arguments.length);
237
239
  let i = "";
238
240
  for (let k = 0; k < arguments.length; k++) {
239
- const C = arguments[k];
240
- if (typeof C == "string" && C !== "") {
241
- const v = C.indexOf(_e);
241
+ const h = arguments[k];
242
+ if (typeof h == "string" && h !== "") {
243
+ const v = h.indexOf(_e);
242
244
  if (v === -1)
243
- process.env.NODE_ENV !== "production" && C.split(" ").forEach((h) => {
244
- h.startsWith(U5) && Q2[h] && (i ? console.error(`mergeClasses(): a passed string contains multiple classes produced by makeResetStyles (${C} & ${n}, this will lead to non-deterministic behavior. Learn more:https://griffel.js.org/react/api/make-reset-styles#limitations
245
- Source string: ${C}`) : i = h);
246
- }), n += C + " ";
245
+ process.env.NODE_ENV !== "production" && h.split(" ").forEach((C) => {
246
+ C.startsWith(U5) && et[C] && (i ? console.error(`mergeClasses(): a passed string contains multiple classes produced by makeResetStyles (${h} & ${n}, this will lead to non-deterministic behavior. Learn more:https://griffel.js.org/react/api/make-reset-styles#limitations
247
+ Source string: ${h}`) : i = C);
248
+ }), n += h + " ";
247
249
  else {
248
- const h = C.substr(v, e5);
249
- v > 0 && (n += C.slice(0, v)), l += h, r[k] = h;
250
+ const C = h.substr(v, e5);
251
+ v > 0 && (n += h.slice(0, v)), l += C, r[k] = C;
250
252
  }
251
- process.env.NODE_ENV !== "production" && C.indexOf(_e, v + 1) !== -1 && console.error(`mergeClasses(): a passed string contains multiple identifiers of atomic classes (classes that start with "${_e}"), it's possible that passed classes were concatenated in a wrong way. Source string: ${C}`);
253
+ process.env.NODE_ENV !== "production" && h.indexOf(_e, v + 1) !== -1 && console.error(`mergeClasses(): a passed string contains multiple identifiers of atomic classes (classes that start with "${_e}"), it's possible that passed classes were concatenated in a wrong way. Source string: ${h}`);
252
254
  }
253
255
  }
254
256
  if (l === "")
@@ -258,10 +260,10 @@ Source string: ${C}`) : i = h);
258
260
  return n + s;
259
261
  const o = [];
260
262
  for (let k = 0; k < arguments.length; k++) {
261
- const C = r[k];
262
- if (C) {
263
- const v = n2[C];
264
- v ? (o.push(v[q5]), process.env.NODE_ENV !== "production" && t !== null && t !== v[mt] && console.error(`mergeClasses(): a passed string contains an identifier (${C}) that has different direction (dir="${v[1] ? "rtl" : "ltr"}") setting than other classes. This is not supported. Source string: ${arguments[k]}`), t = v[mt]) : process.env.NODE_ENV !== "production" && console.error(`mergeClasses(): a passed string contains an identifier (${C}) that does not match any entry in cache. Source string: ${arguments[k]}`);
263
+ const h = r[k];
264
+ if (h) {
265
+ const v = n2[h];
266
+ v ? (o.push(v[q5]), process.env.NODE_ENV !== "production" && t !== null && t !== v[mt] && console.error(`mergeClasses(): a passed string contains an identifier (${h}) that has different direction (dir="${v[1] ? "rtl" : "ltr"}") setting than other classes. This is not supported. Source string: ${arguments[k]}`), t = v[mt]) : process.env.NODE_ENV !== "production" && console.error(`mergeClasses(): a passed string contains an identifier (${h}) that does not match any entry in cache. Source string: ${arguments[k]}`);
265
267
  }
266
268
  }
267
269
  const a = Object.assign.apply(
@@ -305,8 +307,8 @@ function W5(t, n, l, r) {
305
307
  !m && n[0][o] ? f = _t(n[0][o], n[1]) : m && n[0][o] ? f = (r ? r.filter(({
306
308
  debugClassNames: k
307
309
  }) => k.filter(({
308
- className: C
309
- }) => C === c).length > 0).length > 0 : !1) ? m.className : m.overriddenBy : (!m && !n[0][o] || m && !n[0][o]) && (f = void 0);
310
+ className: h
311
+ }) => h === c).length > 0).length > 0 : !1) ? m.className : m.overriddenBy : (!m && !n[0][o] || m && !n[0][o]) && (f = void 0);
310
312
  }
311
313
  return {
312
314
  className: c,
@@ -337,7 +339,7 @@ function r5(t, n) {
337
339
  })), s;
338
340
  }
339
341
  function Y5(t) {
340
- if (Q2[t] === void 0)
342
+ if (et[t] === void 0)
341
343
  return;
342
344
  const r = {
343
345
  sequenceHash: t,
@@ -370,7 +372,7 @@ function X5(t) {
370
372
  getInfo: (r) => {
371
373
  let i, s;
372
374
  for (const o of r.classList)
373
- o.startsWith(_e) && (i = o), Q2[o] && (s = o);
375
+ o.startsWith(_e) && (i = o), et[o] && (s = o);
374
376
  return G5(i, s);
375
377
  }
376
378
  };
@@ -467,20 +469,20 @@ function l0(t, n, l) {
467
469
  function r0(t, n, l, r, i = {}) {
468
470
  var s, o;
469
471
  const a = gt[l], c = (s = i.m) !== null && s !== void 0 ? s : "", f = (o = i.p) !== null && o !== void 0 ? o : 0;
470
- let m = (h) => a - gt[h.getAttribute(Qe)], d = t.head.querySelectorAll(`[${Qe}]`);
472
+ let m = (C) => a - gt[C.getAttribute(Qe)], d = t.head.querySelectorAll(`[${Qe}]`);
471
473
  if (l === "m") {
472
- const h = t.head.querySelectorAll(`[${Qe}="${l}"]`);
473
- h.length && (d = h, m = (_) => r.compareMediaQueries(c, _.media));
474
+ const C = t.head.querySelectorAll(`[${Qe}="${l}"]`);
475
+ C.length && (d = C, m = (_) => r.compareMediaQueries(c, _.media));
474
476
  }
475
- const k = (h) => l0(h, l, i) ? f - Number(h.getAttribute("data-priority")) : m(h), C = d.length;
476
- let v = C - 1;
477
+ const k = (C) => l0(C, l, i) ? f - Number(C.getAttribute("data-priority")) : m(C), h = d.length;
478
+ let v = h - 1;
477
479
  for (; v >= 0; ) {
478
- const h = d.item(v);
479
- if (k(h) > 0)
480
- return h.nextSibling;
480
+ const C = d.item(v);
481
+ if (k(C) > 0)
482
+ return C.nextSibling;
481
483
  v--;
482
484
  }
483
- return C > 0 ? d.item(0) : n ? n.nextSibling : null;
485
+ return h > 0 ? d.item(0) : n ? n.nextSibling : null;
484
486
  }
485
487
  const s0 = /* @__PURE__ */ ["-moz-placeholder", "-moz-focus-inner", "-moz-focusring", "-ms-input-placeholder", "-moz-read-write", "-moz-read-only"].join("|"), i0 = /* @__PURE__ */ new RegExp(`:(${s0})`);
486
488
  function bt(t, n) {
@@ -510,15 +512,15 @@ function c0(t = typeof document > "u" ? void 0 : document, n = {}) {
510
512
  for (const f in c) {
511
513
  const m = c[f];
512
514
  for (let d = 0, k = m.length; d < k; d++) {
513
- const [C, v] = J5(m[d]), h = n0(f, t, i || null, a, v);
514
- a.insertionCache[C] || (a.insertionCache[C] = f, process.env.NODE_ENV !== "production" && p2 && Oe.addCSSRule(C), r ? r(C) && bt(h, C) : bt(h, C));
515
+ const [h, v] = J5(m[d]), C = n0(f, t, i || null, a, v);
516
+ a.insertionCache[h] || (a.insertionCache[h] = f, process.env.NODE_ENV !== "production" && p2 && Oe.addCSSRule(h), r ? r(h) && bt(C, h) : bt(C, h));
515
517
  }
516
518
  }
517
519
  }
518
520
  };
519
521
  return t && process.env.NODE_ENV !== "production" && p2 && X5(t), a;
520
522
  }
521
- const et = "<unknown>";
523
+ const tt = "<unknown>";
522
524
  function d0(t) {
523
525
  return h0(t) || v0(t) || _0(t);
524
526
  }
@@ -531,7 +533,7 @@ function h0(t) {
531
533
  const r = l && l.indexOf("native") === 0, i = l && l.indexOf("eval") === 0, s = C0.exec(l);
532
534
  return i && s != null && (l = s[1]), {
533
535
  loc: r ? null : n[2],
534
- name: n[1] || et
536
+ name: n[1] || tt
535
537
  };
536
538
  }
537
539
  const m0 = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)\s*$/i, p0 = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i;
@@ -543,7 +545,7 @@ function v0(t) {
543
545
  const r = l && l.indexOf(" > eval") > -1, i = p0.exec(l);
544
546
  return r && i != null && (l = i[1]), {
545
547
  loc: n[3],
546
- name: n[1] || et
548
+ name: n[1] || tt
547
549
  };
548
550
  }
549
551
  const k0 = /^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?)\s*$/i;
@@ -551,7 +553,7 @@ function _0(t) {
551
553
  const n = k0.exec(t);
552
554
  return n ? {
553
555
  loc: n[3],
554
- name: n[1] || et
556
+ name: n[1] || tt
555
557
  } : null;
556
558
  }
557
559
  function g0() {
@@ -674,7 +676,7 @@ const S0 = () => {
674
676
  return typeof l == "string" ? se.createElement("svg", { ...m, dangerouslySetInnerHTML: { __html: l } }) : se.createElement("svg", m, ...l.map((d) => se.createElement("path", { d, fill: m.fill })));
675
677
  });
676
678
  return s.displayName = t, s;
677
- }, V0 = /* @__PURE__ */ h1("CalendarRegular", "1em", ["M7 11a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm1 2a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm2-2a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm1 2a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm2-2a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm4-5.5A2.5 2.5 0 0 0 14.5 3h-9A2.5 2.5 0 0 0 3 5.5v9A2.5 2.5 0 0 0 5.5 17h9a2.5 2.5 0 0 0 2.5-2.5v-9ZM4 7h12v7.5c0 .83-.67 1.5-1.5 1.5h-9A1.5 1.5 0 0 1 4 14.5V7Zm1.5-3h9c.83 0 1.5.67 1.5 1.5V6H4v-.5C4 4.67 4.67 4 5.5 4Z"], { flipInRtl: !0 }), ze = /* @__PURE__ */ h1("SearchRegular", "1em", ["M13.73 14.44a6.5 6.5 0 1 1 .7-.7l3.42 3.4a.5.5 0 0 1-.63.77l-.07-.06-3.42-3.41Zm-.71-.71A5.54 5.54 0 0 0 15 9.5a5.5 5.5 0 1 0-1.98 4.23Z"]), $0 = /* @__PURE__ */ h1("DocumentRegular", "1em", ["M6 2a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2V7.41c0-.4-.16-.78-.44-1.06l-3.91-3.91A1.5 1.5 0 0 0 10.59 2H6ZM5 4a1 1 0 0 1 1-1h4v3.5c0 .83.67 1.5 1.5 1.5H15v8a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V4Zm9.8 3h-3.3a.5.5 0 0 1-.5-.5V3.2L14.8 7Z"]), I0 = /* @__PURE__ */ h1("ColumnTripleRegular", "1em", ["M3 17a2 2 0 0 1-2-2V5c0-1.1.9-2 2-2h1a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H3Zm-1-2a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v10Zm7 2a2 2 0 0 1-2-2V5c0-1.1.9-2 2-2h1a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H9Zm-1-2a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v10Zm7 2a2 2 0 0 1-2-2V5c0-1.1.9-2 2-2h1a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1Zm-1-2a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1h-1a1 1 0 0 0-1 1v10Z"]), A0 = /* @__PURE__ */ h1("AlertRegular", "1em", ["M10 2a5.92 5.92 0 0 1 5.98 5.36l.02.22V11.4l.92 2.22a1 1 0 0 1 .06.17l.01.08.01.13a1 1 0 0 1-.75.97l-.11.02L16 15h-3.5v.17a2.5 2.5 0 0 1-5 0V15H4a1 1 0 0 1-.26-.03l-.13-.04a1 1 0 0 1-.6-1.05l.02-.13.05-.13L4 11.4V7.57A5.9 5.9 0 0 1 10 2Zm1.5 13h-3v.15a1.5 1.5 0 0 0 1.36 1.34l.14.01c.78 0 1.42-.6 1.5-1.36V15ZM10 3a4.9 4.9 0 0 0-4.98 4.38L5 7.6V11.5l-.04.2L4 14h12l-.96-2.3-.04-.2V7.61A4.9 4.9 0 0 0 10 3Z"]), F0 = /* @__PURE__ */ h1("SubtractRegular", "1em", ["M3 10c0-.28.22-.5.5-.5h13a.5.5 0 0 1 0 1h-13A.5.5 0 0 1 3 10Z"]), j0 = /* @__PURE__ */ h1("WarningFilled", "1em", ["M8.68 2.79a1.5 1.5 0 0 1 2.64 0l6.5 12A1.5 1.5 0 0 1 16.5 17h-13a1.5 1.5 0 0 1-1.32-2.21l6.5-12ZM10.5 7.5a.5.5 0 0 0-1 0v4a.5.5 0 0 0 1 0v-4Zm.25 6.25a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Z"]), P0 = /* @__PURE__ */ h1("VideoRegular", "1em", ["M5 4a3 3 0 0 0-3 3v6a3 3 0 0 0 3 3h5a3 3 0 0 0 3-3v-.32l3.04 2.1c.83.57 1.96-.03 1.96-1.03v-7.5c0-1-1.13-1.6-1.96-1.03L13 7.32V7a3 3 0 0 0-3-3H5Zm8 4.54 3.6-2.5c.17-.1.4.01.4.21v7.5c0 .2-.23.32-.4.2L13 11.46V8.54ZM3 7c0-1.1.9-2 2-2h5a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7Z"]), o5 = /* @__PURE__ */ h1("InfoRegular", "1em", ["M10.5 8.91a.5.5 0 0 0-1 .09v4.6a.5.5 0 0 0 1-.1V8.91Zm.3-2.16a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0ZM18 10a8 8 0 1 0-16 0 8 8 0 0 0 16 0ZM3 10a7 7 0 1 1 14 0 7 7 0 0 1-14 0Z"]), O0 = /* @__PURE__ */ h1("LinkRegular", "1em", ["M8 6a.5.5 0 0 1 .09 1H6a3 3 0 0 0-.2 6H8a.5.5 0 0 1 .09 1H6a4 4 0 0 1-.22-8H8Zm6 0a4 4 0 0 1 .22 8H12a.5.5 0 0 1-.09-1H14a3 3 0 0 0 .2-6H12a.5.5 0 0 1-.09-1H14ZM6 9.5h8a.5.5 0 0 1 .09 1H6a.5.5 0 0 1-.09-1H14 6Z"]), K0 = /* @__PURE__ */ h1("AddRegular", "1em", ["M10 2.5c.28 0 .5.22.5.5v6.5H17a.5.5 0 0 1 0 1h-6.5V17a.5.5 0 0 1-1 0v-6.5H3a.5.5 0 0 1 0-1h6.5V3c0-.28.22-.5.5-.5Z"]), tt = /* @__PURE__ */ h1("ImageRegular", "1em", ["M14 7.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm-1 0a.5.5 0 1 0-1 0 .5.5 0 0 0 1 0ZM3 6a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6Zm3-2a2 2 0 0 0-2 2v8c0 .37.1.72.28 1.02l4.67-4.59a1.5 1.5 0 0 1 2.1 0l4.67 4.59c.18-.3.28-.65.28-1.02V6a2 2 0 0 0-2-2H6Zm0 12h8a2 2 0 0 0 1.01-.27l-4.66-4.58a.5.5 0 0 0-.7 0l-4.66 4.58A2 2 0 0 0 6 16Z"]), z0 = /* @__PURE__ */ h1("EyedropperRegular", "1em", ["M17.25 2.75a2.62 2.62 0 0 0-3.71 0L12.5 3.8l-.35-.35a1.5 1.5 0 0 0-2.12 0l-.59.59a1.5 1.5 0 0 0 0 2.12l.35.35-6.35 6.35A1.5 1.5 0 0 0 3 13.91v.5l-.96 2.26a1 1 0 0 0 1.32 1.31L5.6 17h.49c.4 0 .78-.16 1.06-.44l6.35-6.35.35.35a1.5 1.5 0 0 0 2.12 0l.59-.58a1.5 1.5 0 0 0 0-2.13l-.35-.35 1.04-1.04a2.62 2.62 0 0 0 0-3.7Zm-3 .71a1.62 1.62 0 0 1 2.29 2.3l-1.4 1.39a.5.5 0 0 0 0 .7l.71.71c.2.2.2.51 0 .7l-.58.6a.5.5 0 0 1-.71 0l-4.41-4.42a.5.5 0 0 1 0-.7l.58-.59c.2-.2.52-.2.71 0l.7.7a.5.5 0 0 0 .71 0l1.4-1.39ZM12.79 9.5l-6.35 6.35a.5.5 0 0 1-.35.15H5.5a.5.5 0 0 0-.2.04l-2.34 1.03 1-2.36a.5.5 0 0 0 .04-.2v-.6a.5.5 0 0 1 .15-.35l6.35-6.35 2.3 2.3Z"]), U0 = /* @__PURE__ */ h1("ClockRegular", "1em", ["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm0 1a7 7 0 1 0 0 14 7 7 0 0 0 0-14Zm-.5 2a.5.5 0 0 1 .5.41V10h2.5a.5.5 0 0 1 .09 1H9.5a.5.5 0 0 1-.5-.41V5.5c0-.28.22-.5.5-.5Z"]), q0 = /* @__PURE__ */ h1("HistoryRegular", "1em", ["M10 4a6 6 0 1 1-5.98 5.54.5.5 0 1 0-1-.08A7 7 0 1 0 5 5.1V3.5a.5.5 0 0 0-1 0v3c0 .28.22.5.5.5h3a.5.5 0 0 0 0-1H5.53c1.1-1.23 2.7-2 4.47-2Zm0 2.5a.5.5 0 0 0-1 0v4c0 .28.22.5.5.5h3a.5.5 0 0 0 0-1H10V6.5Z"]), W0 = /* @__PURE__ */ h1("ZoomInRegular", "1em", ["M8.5 5.5c.28 0 .5.22.5.5v2h2a.5.5 0 0 1 0 1H9v2a.5.5 0 0 1-1 0V9H6a.5.5 0 0 1 0-1h2V6c0-.28.22-.5.5-.5Zm0-3.5a6.5 6.5 0 0 1 4.94 10.73l3.41 3.42a.5.5 0 0 1-.63.76l-.07-.06-3.42-3.41A6.5 6.5 0 1 1 8.5 2Zm0 1a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11Z"]), Y0 = /* @__PURE__ */ h1("ZoomOutRegular", "1em", ["M11 8a.5.5 0 0 1 0 1H6a.5.5 0 0 1 0-1h5ZM8.5 2a6.5 6.5 0 0 1 4.94 10.73l3.41 3.42a.5.5 0 0 1-.63.76l-.07-.06-3.42-3.41A6.5 6.5 0 1 1 8.5 2Zm0 1a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11Z"]), a5 = /* @__PURE__ */ h1("ArrowDownloadRegular", "1em", ["M15.5 17a.5.5 0 0 1 .09 1H4.5a.5.5 0 0 1-.09-1H15.5ZM10 2a.5.5 0 0 1 .5.41V14.3l3.64-3.65a.5.5 0 0 1 .64-.06l.07.06c.17.17.2.44.06.63l-.06.07-4.5 4.5a.5.5 0 0 1-.25.14L10 16a.5.5 0 0 1-.4-.2l-4.46-4.45a.5.5 0 0 1 .64-.76l.07.06 3.65 3.64V2.5c0-.27.22-.5.5-.5Z"]), G0 = /* @__PURE__ */ h1("ArrowLeftRegular", "1em", ["M9.16 16.87a.5.5 0 1 0 .67-.74L3.67 10.5H17.5a.5.5 0 0 0 0-1H3.67l6.16-5.63a.5.5 0 0 0-.67-.74L2.24 9.44a.75.75 0 0 0 0 1.11l6.92 6.32Z"]), X0 = /* @__PURE__ */ h1("ArrowRightRegular", "1em", ["M10.84 3.13a.5.5 0 0 0-.68.74l6.17 5.63H2.5a.5.5 0 0 0 0 1h13.83l-6.17 5.63a.5.5 0 0 0 .68.74l6.91-6.32a.75.75 0 0 0 0-1.1l-6.91-6.32Z"]), J0 = /* @__PURE__ */ h1("ArrowRotateClockwiseRegular", "1em", ["M3 10a7 7 0 1 1 10 6.33V14.5a.5.5 0 0 0-1 0v3c0 .28.22.5.5.5h3a.5.5 0 0 0 0-1h-1.62A8 8 0 1 0 2 10a.5.5 0 0 0 1 0Zm7 2a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0-1a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"], { flipInRtl: !0 }), Q0 = /* @__PURE__ */ h1("ArrowRotateCounterclockwiseRegular", "1em", ["M17 10a7 7 0 1 0-10 6.33V14.5a.5.5 0 0 1 1 0v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1 0-1h1.62A8 8 0 1 1 18 10a.5.5 0 0 1-1 0Zm-7 2a2 2 0 1 1 0-4 2 2 0 0 1 0 4Zm0-1a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"], { flipInRtl: !0 }), en = /* @__PURE__ */ h1("CropRegular", "1em", ["M6 2.5a.5.5 0 0 0-1 0V5H2.5a.5.5 0 0 0 0 1H5v6.5A2.5 2.5 0 0 0 7.5 15H14v2.5a.5.5 0 0 0 1 0V15h2.5a.5.5 0 0 0 0-1h-10A1.5 1.5 0 0 1 6 12.5v-10Zm8 5V13h1V7.5A2.5 2.5 0 0 0 12.5 5H7v1h5.5c.83 0 1.5.67 1.5 1.5Z"]), tn = /* @__PURE__ */ h1("TextAlignCenterRegular", "1em", ["M4 4.5c0-.28.22-.5.5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5Zm-2 5c0-.28.22-.5.5-.5h15a.5.5 0 0 1 0 1h-15a.5.5 0 0 1-.5-.5ZM6.5 14a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7Z"]), nn = /* @__PURE__ */ h1("TextAlignLeftRegular", "1em", ["M2 4.5c0-.28.22-.5.5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5Zm0 5c0-.28.22-.5.5-.5h15a.5.5 0 0 1 0 1h-15a.5.5 0 0 1-.5-.5Zm.5 4.5a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1h-9Z"]), ln = /* @__PURE__ */ h1("TextAlignRightRegular", "1em", ["M6 4.5c0-.28.22-.5.5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5Zm-4 5c0-.28.22-.5.5-.5h15a.5.5 0 0 1 0 1h-15a.5.5 0 0 1-.5-.5ZM9.5 14a.5.5 0 0 0 0 1h8a.5.5 0 0 0 0-1h-8Z"]), rn = /* @__PURE__ */ h1("TextBoldRegular", "1em", ["M5.5 4.25C5.5 3.56 6.06 3 6.75 3h3.5a4 4 0 0 1 3.17 6.44c.9.7 1.58 1.8 1.58 3.31A4.23 4.23 0 0 1 10.75 17h-4c-.69 0-1.25-.56-1.25-1.25V4.25ZM8 11v3.5h2.75c.81 0 1.75-.62 1.75-1.75S11.56 11 10.75 11H8Zm0-2.5h2.25a1.5 1.5 0 1 0 0-3H8v3Z"]), sn = /* @__PURE__ */ h1("TextBulletListRegular", "1em", ["M3 5.5a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm3-1c0-.28.22-.5.5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5Zm0 5c0-.28.22-.5.5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5Zm.5 4.5a.5.5 0 0 0 0 1h11a.5.5 0 0 0 0-1h-11Zm-2.5.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm-1-4a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"]), on = /* @__PURE__ */ h1("TextFontSizeRegular", "1em", ["M13 3.5c.2 0 .4.13.47.32l3 8v.02l1.5 3.98a.5.5 0 1 1-.94.36l-1.38-3.68h-5.3l-1.38 3.68a.5.5 0 0 1-.93 0L6.96 13.5H4.04l-1.08 2.69a.5.5 0 1 1-.92-.38l1.2-2.98v-.03l1.8-4.49a.5.5 0 0 1 .92 0l1.8 4.5v.02l.73 1.79 1.04-2.78v-.03l3-7.99A.5.5 0 0 1 13 3.5Zm-2.28 8h4.56L13 5.42l-2.28 6.08Zm-4.16 1L5.5 9.85 4.44 12.5h2.12Z"]), an = /* @__PURE__ */ h1("TextItalicRegular", "1em", ["M16 3a.5.5 0 0 1 0 1h-3.16L8.23 16h3.27a.5.5 0 0 1 0 1H4a.5.5 0 0 1 0-1h3.16l4.61-12H8.5a.5.5 0 0 1 0-1H16Z"]), cn = /* @__PURE__ */ h1("TextNumberListLtrRegular", "1em", ["M5 1.5a.5.5 0 0 0-.39-.49.5.5 0 0 0-.56.27l-.07.12a2.96 2.96 0 0 1-1.2 1.15.5.5 0 1 0 .44.9c.3-.15.56-.34.78-.53V5.5a.5.5 0 0 0 1 0v-4ZM2.65 7.65a.5.5 0 0 0 .7.7l.05-.04.2-.12C3.76 8.09 4 8 4.3 8c.23 0 .41.06.53.15.1.07.16.17.16.35a.5.5 0 0 1-.21.44c-.15.12-.35.22-.62.35l-.14.08c-.32.15-.7.36-1 .7-.33.35-.53.81-.53 1.43 0 .28.22.5.5.5h2.5a.5.5 0 0 0 0-1H3.59c.04-.1.1-.2.17-.27a2.38 2.38 0 0 1 .83-.53c.27-.13.59-.29.84-.5.33-.27.57-.65.57-1.2 0-.5-.22-.9-.57-1.15A1.92 1.92 0 0 0 4.33 7h-.01a2.5 2.5 0 0 0-1.66.63v.01h-.01Zm.01-.02-.01.02s.1-.1.01-.02ZM4.25 15a.5.5 0 1 0 0 1c.34 0 .53.1.63.18.1.09.13.2.13.3-.01.2-.19.52-.76.52-.41 0-.63-.1-.72-.17a.42.42 0 0 1-.1-.07.5.5 0 0 0-.88.46v.01l.02.02a.8.8 0 0 0 .1.15c.07.08.17.17.3.27.28.18.7.33 1.28.33 1.03 0 1.73-.67 1.76-1.48.01-.37-.12-.74-.4-1.02.28-.28.41-.65.4-1.02-.03-.8-.73-1.48-1.76-1.48-.59 0-1 .15-1.28.33a1.4 1.4 0 0 0-.4.42l-.01.01v.01a.5.5 0 0 0 .87.48.42.42 0 0 1 .1-.08c.1-.07.3-.17.72-.17.57 0 .75.33.76.52 0 .1-.04.21-.13.3-.1.08-.29.18-.63.18Zm-.82-.75.01-.02v.02ZM8.5 4a.5.5 0 1 0 0 1h8a.5.5 0 0 0 0-1h-8Zm0 5a.5.5 0 1 0 0 1h8a.5.5 0 0 0 0-1h-8ZM8 14.5c0-.28.22-.5.5-.5h8a.5.5 0 1 1 0 1h-8a.5.5 0 0 1-.5-.5Z"]), dn = /* @__PURE__ */ h1("CheckmarkCircleFilled", "1em", ["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm3.36 5.65a.5.5 0 0 0-.64-.06l-.07.06L9 11.3 7.35 9.65l-.07-.06a.5.5 0 0 0-.7.7l.07.07 2 2 .07.06c.17.11.4.11.56 0l.07-.06 4-4 .07-.08a.5.5 0 0 0-.06-.63Z"]), U1 = /* @__PURE__ */ h1("ChevronDownRegular", "1em", ["M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z"]), c5 = /* @__PURE__ */ h1("ChevronLeftRegular", "1em", ["M12.35 15.85a.5.5 0 0 1-.7 0L6.16 10.4a.55.55 0 0 1 0-.78l5.49-5.46a.5.5 0 1 1 .7.7L7.2 10l5.16 5.15c.2.2.2.5 0 .7Z"]), nt = /* @__PURE__ */ h1("ChevronRightRegular", "1em", ["M7.65 4.15c.2-.2.5-.2.7 0l5.49 5.46c.21.22.21.57 0 .78l-5.49 5.46a.5.5 0 0 1-.7-.7L12.8 10 7.65 4.85a.5.5 0 0 1 0-.7Z"]), d5 = /* @__PURE__ */ h1("ChevronUpRegular", "1em", ["M4.15 12.35a.5.5 0 0 1 0-.7L9.6 6.16a.55.55 0 0 1 .78 0l5.46 5.49a.5.5 0 0 1-.7.7L10 7.2l-5.15 5.16a.5.5 0 0 1-.7 0Z"]), u5 = /* @__PURE__ */ h1("DeleteRegular", "1em", ["M8.5 4h3a1.5 1.5 0 0 0-3 0Zm-1 0a2.5 2.5 0 0 1 5 0h5a.5.5 0 0 1 0 1h-1.05l-1.2 10.34A3 3 0 0 1 12.27 18H7.73a3 3 0 0 1-2.98-2.66L3.55 5H2.5a.5.5 0 0 1 0-1h5ZM5.74 15.23A2 2 0 0 0 7.73 17h4.54a2 2 0 0 0 1.99-1.77L15.44 5H4.56l1.18 10.23ZM8.5 7.5c.28 0 .5.22.5.5v6a.5.5 0 0 1-1 0V8c0-.28.22-.5.5-.5ZM12 8a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V8Z"]), q1 = /* @__PURE__ */ h1("DismissRegular", "1em", ["m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"]), un = /* @__PURE__ */ h1("DismissCircleFilled", "1em", ["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16ZM7.8 7.11a.5.5 0 0 0-.63.06l-.06.07a.5.5 0 0 0 .06.64L9.3 10l-2.12 2.12-.06.07a.5.5 0 0 0 .06.64l.07.06c.2.13.47.11.64-.06L10 10.7l2.12 2.12.07.06c.2.13.46.11.64-.06l.06-.07a.5.5 0 0 0-.06-.64L10.7 10l2.12-2.12.06-.07a.5.5 0 0 0-.06-.64l-.07-.06a.5.5 0 0 0-.64.06L10 9.3 7.88 7.17l-.07-.06Z"]), fn = /* @__PURE__ */ h1("GridDotsFilled", "1em", ["M5.75 4a1.75 1.75 0 1 1-3.5 0 1.75 1.75 0 0 1 3.5 0Zm0 6a1.75 1.75 0 1 1-3.5 0 1.75 1.75 0 0 1 3.5 0ZM4 17.75a1.75 1.75 0 1 0 0-3.5 1.75 1.75 0 0 0 0 3.5ZM11.75 4a1.75 1.75 0 1 1-3.5 0 1.75 1.75 0 0 1 3.5 0ZM10 11.75a1.75 1.75 0 1 0 0-3.5 1.75 1.75 0 0 0 0 3.5ZM11.75 16a1.75 1.75 0 1 1-3.5 0 1.75 1.75 0 0 1 3.5 0ZM16 5.75a1.75 1.75 0 1 0 0-3.5 1.75 1.75 0 0 0 0 3.5ZM17.75 10a1.75 1.75 0 1 1-3.5 0 1.75 1.75 0 0 1 3.5 0ZM16 17.75a1.75 1.75 0 1 0 0-3.5 1.75 1.75 0 0 0 0 3.5Z"]), Cn = /* @__PURE__ */ h1("QuestionCircleRegular", "1em", ["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm0 1a7 7 0 1 0 0 14 7 7 0 0 0 0-14Zm0 10.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5Zm0-8a2.5 2.5 0 0 1 1.65 4.38l-.15.12-.22.17-.09.07-.16.15c-.33.36-.53.85-.53 1.61a.5.5 0 0 1-1 0 3.2 3.2 0 0 1 1.16-2.62l.25-.19.12-.1A1.5 1.5 0 0 0 10 6.5c-.83 0-1.5.67-1.5 1.5a.5.5 0 0 1-1 0A2.5 2.5 0 0 1 10 5.5Z"]), hn = /* @__PURE__ */ h1("ChevronDown16Filled", "16", ["M3.2 5.74a.75.75 0 0 1 1.06-.04L8 9.23l3.74-3.53a.75.75 0 1 1 1.02 1.1l-4.25 4a.75.75 0 0 1-1.02 0l-4.25-4a.75.75 0 0 1-.04-1.06Z"]), mn = /* @__PURE__ */ h1("ChevronUp16Filled", "16", ["M3.2 10.26c.28.3.76.32 1.06.04L8 6.77l3.74 3.53a.75.75 0 1 0 1.02-1.1l-4.25-4a.75.75 0 0 0-1.02 0l-4.25 4a.75.75 0 0 0-.04 1.06Z"]), pn = {
679
+ }, V0 = /* @__PURE__ */ h1("CalendarRegular", "1em", ["M7 11a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm1 2a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm2-2a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm1 2a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm2-2a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm4-5.5A2.5 2.5 0 0 0 14.5 3h-9A2.5 2.5 0 0 0 3 5.5v9A2.5 2.5 0 0 0 5.5 17h9a2.5 2.5 0 0 0 2.5-2.5v-9ZM4 7h12v7.5c0 .83-.67 1.5-1.5 1.5h-9A1.5 1.5 0 0 1 4 14.5V7Zm1.5-3h9c.83 0 1.5.67 1.5 1.5V6H4v-.5C4 4.67 4.67 4 5.5 4Z"], { flipInRtl: !0 }), ze = /* @__PURE__ */ h1("SearchRegular", "1em", ["M13.73 14.44a6.5 6.5 0 1 1 .7-.7l3.42 3.4a.5.5 0 0 1-.63.77l-.07-.06-3.42-3.41Zm-.71-.71A5.54 5.54 0 0 0 15 9.5a5.5 5.5 0 1 0-1.98 4.23Z"]), $0 = /* @__PURE__ */ h1("DocumentRegular", "1em", ["M6 2a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2V7.41c0-.4-.16-.78-.44-1.06l-3.91-3.91A1.5 1.5 0 0 0 10.59 2H6ZM5 4a1 1 0 0 1 1-1h4v3.5c0 .83.67 1.5 1.5 1.5H15v8a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V4Zm9.8 3h-3.3a.5.5 0 0 1-.5-.5V3.2L14.8 7Z"]), I0 = /* @__PURE__ */ h1("ColumnTripleRegular", "1em", ["M3 17a2 2 0 0 1-2-2V5c0-1.1.9-2 2-2h1a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H3Zm-1-2a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v10Zm7 2a2 2 0 0 1-2-2V5c0-1.1.9-2 2-2h1a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H9Zm-1-2a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v10Zm7 2a2 2 0 0 1-2-2V5c0-1.1.9-2 2-2h1a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1Zm-1-2a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1h-1a1 1 0 0 0-1 1v10Z"]), A0 = /* @__PURE__ */ h1("AlertRegular", "1em", ["M10 2a5.92 5.92 0 0 1 5.98 5.36l.02.22V11.4l.92 2.22a1 1 0 0 1 .06.17l.01.08.01.13a1 1 0 0 1-.75.97l-.11.02L16 15h-3.5v.17a2.5 2.5 0 0 1-5 0V15H4a1 1 0 0 1-.26-.03l-.13-.04a1 1 0 0 1-.6-1.05l.02-.13.05-.13L4 11.4V7.57A5.9 5.9 0 0 1 10 2Zm1.5 13h-3v.15a1.5 1.5 0 0 0 1.36 1.34l.14.01c.78 0 1.42-.6 1.5-1.36V15ZM10 3a4.9 4.9 0 0 0-4.98 4.38L5 7.6V11.5l-.04.2L4 14h12l-.96-2.3-.04-.2V7.61A4.9 4.9 0 0 0 10 3Z"]), F0 = /* @__PURE__ */ h1("SubtractRegular", "1em", ["M3 10c0-.28.22-.5.5-.5h13a.5.5 0 0 1 0 1h-13A.5.5 0 0 1 3 10Z"]), j0 = /* @__PURE__ */ h1("WarningFilled", "1em", ["M8.68 2.79a1.5 1.5 0 0 1 2.64 0l6.5 12A1.5 1.5 0 0 1 16.5 17h-13a1.5 1.5 0 0 1-1.32-2.21l6.5-12ZM10.5 7.5a.5.5 0 0 0-1 0v4a.5.5 0 0 0 1 0v-4Zm.25 6.25a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Z"]), P0 = /* @__PURE__ */ h1("VideoRegular", "1em", ["M5 4a3 3 0 0 0-3 3v6a3 3 0 0 0 3 3h5a3 3 0 0 0 3-3v-.32l3.04 2.1c.83.57 1.96-.03 1.96-1.03v-7.5c0-1-1.13-1.6-1.96-1.03L13 7.32V7a3 3 0 0 0-3-3H5Zm8 4.54 3.6-2.5c.17-.1.4.01.4.21v7.5c0 .2-.23.32-.4.2L13 11.46V8.54ZM3 7c0-1.1.9-2 2-2h5a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7Z"]), o5 = /* @__PURE__ */ h1("InfoRegular", "1em", ["M10.5 8.91a.5.5 0 0 0-1 .09v4.6a.5.5 0 0 0 1-.1V8.91Zm.3-2.16a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0ZM18 10a8 8 0 1 0-16 0 8 8 0 0 0 16 0ZM3 10a7 7 0 1 1 14 0 7 7 0 0 1-14 0Z"]), O0 = /* @__PURE__ */ h1("LinkRegular", "1em", ["M8 6a.5.5 0 0 1 .09 1H6a3 3 0 0 0-.2 6H8a.5.5 0 0 1 .09 1H6a4 4 0 0 1-.22-8H8Zm6 0a4 4 0 0 1 .22 8H12a.5.5 0 0 1-.09-1H14a3 3 0 0 0 .2-6H12a.5.5 0 0 1-.09-1H14ZM6 9.5h8a.5.5 0 0 1 .09 1H6a.5.5 0 0 1-.09-1H14 6Z"]), K0 = /* @__PURE__ */ h1("AddRegular", "1em", ["M10 2.5c.28 0 .5.22.5.5v6.5H17a.5.5 0 0 1 0 1h-6.5V17a.5.5 0 0 1-1 0v-6.5H3a.5.5 0 0 1 0-1h6.5V3c0-.28.22-.5.5-.5Z"]), nt = /* @__PURE__ */ h1("ImageRegular", "1em", ["M14 7.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm-1 0a.5.5 0 1 0-1 0 .5.5 0 0 0 1 0ZM3 6a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6Zm3-2a2 2 0 0 0-2 2v8c0 .37.1.72.28 1.02l4.67-4.59a1.5 1.5 0 0 1 2.1 0l4.67 4.59c.18-.3.28-.65.28-1.02V6a2 2 0 0 0-2-2H6Zm0 12h8a2 2 0 0 0 1.01-.27l-4.66-4.58a.5.5 0 0 0-.7 0l-4.66 4.58A2 2 0 0 0 6 16Z"]), z0 = /* @__PURE__ */ h1("EyedropperRegular", "1em", ["M17.25 2.75a2.62 2.62 0 0 0-3.71 0L12.5 3.8l-.35-.35a1.5 1.5 0 0 0-2.12 0l-.59.59a1.5 1.5 0 0 0 0 2.12l.35.35-6.35 6.35A1.5 1.5 0 0 0 3 13.91v.5l-.96 2.26a1 1 0 0 0 1.32 1.31L5.6 17h.49c.4 0 .78-.16 1.06-.44l6.35-6.35.35.35a1.5 1.5 0 0 0 2.12 0l.59-.58a1.5 1.5 0 0 0 0-2.13l-.35-.35 1.04-1.04a2.62 2.62 0 0 0 0-3.7Zm-3 .71a1.62 1.62 0 0 1 2.29 2.3l-1.4 1.39a.5.5 0 0 0 0 .7l.71.71c.2.2.2.51 0 .7l-.58.6a.5.5 0 0 1-.71 0l-4.41-4.42a.5.5 0 0 1 0-.7l.58-.59c.2-.2.52-.2.71 0l.7.7a.5.5 0 0 0 .71 0l1.4-1.39ZM12.79 9.5l-6.35 6.35a.5.5 0 0 1-.35.15H5.5a.5.5 0 0 0-.2.04l-2.34 1.03 1-2.36a.5.5 0 0 0 .04-.2v-.6a.5.5 0 0 1 .15-.35l6.35-6.35 2.3 2.3Z"]), U0 = /* @__PURE__ */ h1("ClockRegular", "1em", ["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm0 1a7 7 0 1 0 0 14 7 7 0 0 0 0-14Zm-.5 2a.5.5 0 0 1 .5.41V10h2.5a.5.5 0 0 1 .09 1H9.5a.5.5 0 0 1-.5-.41V5.5c0-.28.22-.5.5-.5Z"]), q0 = /* @__PURE__ */ h1("HistoryRegular", "1em", ["M10 4a6 6 0 1 1-5.98 5.54.5.5 0 1 0-1-.08A7 7 0 1 0 5 5.1V3.5a.5.5 0 0 0-1 0v3c0 .28.22.5.5.5h3a.5.5 0 0 0 0-1H5.53c1.1-1.23 2.7-2 4.47-2Zm0 2.5a.5.5 0 0 0-1 0v4c0 .28.22.5.5.5h3a.5.5 0 0 0 0-1H10V6.5Z"]), W0 = /* @__PURE__ */ h1("ZoomInRegular", "1em", ["M8.5 5.5c.28 0 .5.22.5.5v2h2a.5.5 0 0 1 0 1H9v2a.5.5 0 0 1-1 0V9H6a.5.5 0 0 1 0-1h2V6c0-.28.22-.5.5-.5Zm0-3.5a6.5 6.5 0 0 1 4.94 10.73l3.41 3.42a.5.5 0 0 1-.63.76l-.07-.06-3.42-3.41A6.5 6.5 0 1 1 8.5 2Zm0 1a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11Z"]), Y0 = /* @__PURE__ */ h1("ZoomOutRegular", "1em", ["M11 8a.5.5 0 0 1 0 1H6a.5.5 0 0 1 0-1h5ZM8.5 2a6.5 6.5 0 0 1 4.94 10.73l3.41 3.42a.5.5 0 0 1-.63.76l-.07-.06-3.42-3.41A6.5 6.5 0 1 1 8.5 2Zm0 1a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11Z"]), a5 = /* @__PURE__ */ h1("ArrowDownloadRegular", "1em", ["M15.5 17a.5.5 0 0 1 .09 1H4.5a.5.5 0 0 1-.09-1H15.5ZM10 2a.5.5 0 0 1 .5.41V14.3l3.64-3.65a.5.5 0 0 1 .64-.06l.07.06c.17.17.2.44.06.63l-.06.07-4.5 4.5a.5.5 0 0 1-.25.14L10 16a.5.5 0 0 1-.4-.2l-4.46-4.45a.5.5 0 0 1 .64-.76l.07.06 3.65 3.64V2.5c0-.27.22-.5.5-.5Z"]), G0 = /* @__PURE__ */ h1("ArrowLeftRegular", "1em", ["M9.16 16.87a.5.5 0 1 0 .67-.74L3.67 10.5H17.5a.5.5 0 0 0 0-1H3.67l6.16-5.63a.5.5 0 0 0-.67-.74L2.24 9.44a.75.75 0 0 0 0 1.11l6.92 6.32Z"]), X0 = /* @__PURE__ */ h1("ArrowRightRegular", "1em", ["M10.84 3.13a.5.5 0 0 0-.68.74l6.17 5.63H2.5a.5.5 0 0 0 0 1h13.83l-6.17 5.63a.5.5 0 0 0 .68.74l6.91-6.32a.75.75 0 0 0 0-1.1l-6.91-6.32Z"]), J0 = /* @__PURE__ */ h1("ArrowRotateClockwiseRegular", "1em", ["M3 10a7 7 0 1 1 10 6.33V14.5a.5.5 0 0 0-1 0v3c0 .28.22.5.5.5h3a.5.5 0 0 0 0-1h-1.62A8 8 0 1 0 2 10a.5.5 0 0 0 1 0Zm7 2a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0-1a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"], { flipInRtl: !0 }), Q0 = /* @__PURE__ */ h1("ArrowRotateCounterclockwiseRegular", "1em", ["M17 10a7 7 0 1 0-10 6.33V14.5a.5.5 0 0 1 1 0v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1 0-1h1.62A8 8 0 1 1 18 10a.5.5 0 0 1-1 0Zm-7 2a2 2 0 1 1 0-4 2 2 0 0 1 0 4Zm0-1a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"], { flipInRtl: !0 }), en = /* @__PURE__ */ h1("CropRegular", "1em", ["M6 2.5a.5.5 0 0 0-1 0V5H2.5a.5.5 0 0 0 0 1H5v6.5A2.5 2.5 0 0 0 7.5 15H14v2.5a.5.5 0 0 0 1 0V15h2.5a.5.5 0 0 0 0-1h-10A1.5 1.5 0 0 1 6 12.5v-10Zm8 5V13h1V7.5A2.5 2.5 0 0 0 12.5 5H7v1h5.5c.83 0 1.5.67 1.5 1.5Z"]), tn = /* @__PURE__ */ h1("TextAlignCenterRegular", "1em", ["M4 4.5c0-.28.22-.5.5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5Zm-2 5c0-.28.22-.5.5-.5h15a.5.5 0 0 1 0 1h-15a.5.5 0 0 1-.5-.5ZM6.5 14a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7Z"]), nn = /* @__PURE__ */ h1("TextAlignLeftRegular", "1em", ["M2 4.5c0-.28.22-.5.5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5Zm0 5c0-.28.22-.5.5-.5h15a.5.5 0 0 1 0 1h-15a.5.5 0 0 1-.5-.5Zm.5 4.5a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1h-9Z"]), ln = /* @__PURE__ */ h1("TextAlignRightRegular", "1em", ["M6 4.5c0-.28.22-.5.5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5Zm-4 5c0-.28.22-.5.5-.5h15a.5.5 0 0 1 0 1h-15a.5.5 0 0 1-.5-.5ZM9.5 14a.5.5 0 0 0 0 1h8a.5.5 0 0 0 0-1h-8Z"]), rn = /* @__PURE__ */ h1("TextBoldRegular", "1em", ["M5.5 4.25C5.5 3.56 6.06 3 6.75 3h3.5a4 4 0 0 1 3.17 6.44c.9.7 1.58 1.8 1.58 3.31A4.23 4.23 0 0 1 10.75 17h-4c-.69 0-1.25-.56-1.25-1.25V4.25ZM8 11v3.5h2.75c.81 0 1.75-.62 1.75-1.75S11.56 11 10.75 11H8Zm0-2.5h2.25a1.5 1.5 0 1 0 0-3H8v3Z"]), sn = /* @__PURE__ */ h1("TextBulletListRegular", "1em", ["M3 5.5a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm3-1c0-.28.22-.5.5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5Zm0 5c0-.28.22-.5.5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5Zm.5 4.5a.5.5 0 0 0 0 1h11a.5.5 0 0 0 0-1h-11Zm-2.5.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm-1-4a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"]), on = /* @__PURE__ */ h1("TextFontSizeRegular", "1em", ["M13 3.5c.2 0 .4.13.47.32l3 8v.02l1.5 3.98a.5.5 0 1 1-.94.36l-1.38-3.68h-5.3l-1.38 3.68a.5.5 0 0 1-.93 0L6.96 13.5H4.04l-1.08 2.69a.5.5 0 1 1-.92-.38l1.2-2.98v-.03l1.8-4.49a.5.5 0 0 1 .92 0l1.8 4.5v.02l.73 1.79 1.04-2.78v-.03l3-7.99A.5.5 0 0 1 13 3.5Zm-2.28 8h4.56L13 5.42l-2.28 6.08Zm-4.16 1L5.5 9.85 4.44 12.5h2.12Z"]), an = /* @__PURE__ */ h1("TextItalicRegular", "1em", ["M16 3a.5.5 0 0 1 0 1h-3.16L8.23 16h3.27a.5.5 0 0 1 0 1H4a.5.5 0 0 1 0-1h3.16l4.61-12H8.5a.5.5 0 0 1 0-1H16Z"]), cn = /* @__PURE__ */ h1("TextNumberListLtrRegular", "1em", ["M5 1.5a.5.5 0 0 0-.39-.49.5.5 0 0 0-.56.27l-.07.12a2.96 2.96 0 0 1-1.2 1.15.5.5 0 1 0 .44.9c.3-.15.56-.34.78-.53V5.5a.5.5 0 0 0 1 0v-4ZM2.65 7.65a.5.5 0 0 0 .7.7l.05-.04.2-.12C3.76 8.09 4 8 4.3 8c.23 0 .41.06.53.15.1.07.16.17.16.35a.5.5 0 0 1-.21.44c-.15.12-.35.22-.62.35l-.14.08c-.32.15-.7.36-1 .7-.33.35-.53.81-.53 1.43 0 .28.22.5.5.5h2.5a.5.5 0 0 0 0-1H3.59c.04-.1.1-.2.17-.27a2.38 2.38 0 0 1 .83-.53c.27-.13.59-.29.84-.5.33-.27.57-.65.57-1.2 0-.5-.22-.9-.57-1.15A1.92 1.92 0 0 0 4.33 7h-.01a2.5 2.5 0 0 0-1.66.63v.01h-.01Zm.01-.02-.01.02s.1-.1.01-.02ZM4.25 15a.5.5 0 1 0 0 1c.34 0 .53.1.63.18.1.09.13.2.13.3-.01.2-.19.52-.76.52-.41 0-.63-.1-.72-.17a.42.42 0 0 1-.1-.07.5.5 0 0 0-.88.46v.01l.02.02a.8.8 0 0 0 .1.15c.07.08.17.17.3.27.28.18.7.33 1.28.33 1.03 0 1.73-.67 1.76-1.48.01-.37-.12-.74-.4-1.02.28-.28.41-.65.4-1.02-.03-.8-.73-1.48-1.76-1.48-.59 0-1 .15-1.28.33a1.4 1.4 0 0 0-.4.42l-.01.01v.01a.5.5 0 0 0 .87.48.42.42 0 0 1 .1-.08c.1-.07.3-.17.72-.17.57 0 .75.33.76.52 0 .1-.04.21-.13.3-.1.08-.29.18-.63.18Zm-.82-.75.01-.02v.02ZM8.5 4a.5.5 0 1 0 0 1h8a.5.5 0 0 0 0-1h-8Zm0 5a.5.5 0 1 0 0 1h8a.5.5 0 0 0 0-1h-8ZM8 14.5c0-.28.22-.5.5-.5h8a.5.5 0 1 1 0 1h-8a.5.5 0 0 1-.5-.5Z"]), dn = /* @__PURE__ */ h1("CheckmarkCircleFilled", "1em", ["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm3.36 5.65a.5.5 0 0 0-.64-.06l-.07.06L9 11.3 7.35 9.65l-.07-.06a.5.5 0 0 0-.7.7l.07.07 2 2 .07.06c.17.11.4.11.56 0l.07-.06 4-4 .07-.08a.5.5 0 0 0-.06-.63Z"]), U1 = /* @__PURE__ */ h1("ChevronDownRegular", "1em", ["M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z"]), c5 = /* @__PURE__ */ h1("ChevronLeftRegular", "1em", ["M12.35 15.85a.5.5 0 0 1-.7 0L6.16 10.4a.55.55 0 0 1 0-.78l5.49-5.46a.5.5 0 1 1 .7.7L7.2 10l5.16 5.15c.2.2.2.5 0 .7Z"]), lt = /* @__PURE__ */ h1("ChevronRightRegular", "1em", ["M7.65 4.15c.2-.2.5-.2.7 0l5.49 5.46c.21.22.21.57 0 .78l-5.49 5.46a.5.5 0 0 1-.7-.7L12.8 10 7.65 4.85a.5.5 0 0 1 0-.7Z"]), d5 = /* @__PURE__ */ h1("ChevronUpRegular", "1em", ["M4.15 12.35a.5.5 0 0 1 0-.7L9.6 6.16a.55.55 0 0 1 .78 0l5.46 5.49a.5.5 0 0 1-.7.7L10 7.2l-5.15 5.16a.5.5 0 0 1-.7 0Z"]), u5 = /* @__PURE__ */ h1("DeleteRegular", "1em", ["M8.5 4h3a1.5 1.5 0 0 0-3 0Zm-1 0a2.5 2.5 0 0 1 5 0h5a.5.5 0 0 1 0 1h-1.05l-1.2 10.34A3 3 0 0 1 12.27 18H7.73a3 3 0 0 1-2.98-2.66L3.55 5H2.5a.5.5 0 0 1 0-1h5ZM5.74 15.23A2 2 0 0 0 7.73 17h4.54a2 2 0 0 0 1.99-1.77L15.44 5H4.56l1.18 10.23ZM8.5 7.5c.28 0 .5.22.5.5v6a.5.5 0 0 1-1 0V8c0-.28.22-.5.5-.5ZM12 8a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V8Z"]), q1 = /* @__PURE__ */ h1("DismissRegular", "1em", ["m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"]), un = /* @__PURE__ */ h1("DismissCircleFilled", "1em", ["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16ZM7.8 7.11a.5.5 0 0 0-.63.06l-.06.07a.5.5 0 0 0 .06.64L9.3 10l-2.12 2.12-.06.07a.5.5 0 0 0 .06.64l.07.06c.2.13.47.11.64-.06L10 10.7l2.12 2.12.07.06c.2.13.46.11.64-.06l.06-.07a.5.5 0 0 0-.06-.64L10.7 10l2.12-2.12.06-.07a.5.5 0 0 0-.06-.64l-.07-.06a.5.5 0 0 0-.64.06L10 9.3 7.88 7.17l-.07-.06Z"]), fn = /* @__PURE__ */ h1("GridDotsFilled", "1em", ["M5.75 4a1.75 1.75 0 1 1-3.5 0 1.75 1.75 0 0 1 3.5 0Zm0 6a1.75 1.75 0 1 1-3.5 0 1.75 1.75 0 0 1 3.5 0ZM4 17.75a1.75 1.75 0 1 0 0-3.5 1.75 1.75 0 0 0 0 3.5ZM11.75 4a1.75 1.75 0 1 1-3.5 0 1.75 1.75 0 0 1 3.5 0ZM10 11.75a1.75 1.75 0 1 0 0-3.5 1.75 1.75 0 0 0 0 3.5ZM11.75 16a1.75 1.75 0 1 1-3.5 0 1.75 1.75 0 0 1 3.5 0ZM16 5.75a1.75 1.75 0 1 0 0-3.5 1.75 1.75 0 0 0 0 3.5ZM17.75 10a1.75 1.75 0 1 1-3.5 0 1.75 1.75 0 0 1 3.5 0ZM16 17.75a1.75 1.75 0 1 0 0-3.5 1.75 1.75 0 0 0 0 3.5Z"]), Cn = /* @__PURE__ */ h1("QuestionCircleRegular", "1em", ["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm0 1a7 7 0 1 0 0 14 7 7 0 0 0 0-14Zm0 10.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5Zm0-8a2.5 2.5 0 0 1 1.65 4.38l-.15.12-.22.17-.09.07-.16.15c-.33.36-.53.85-.53 1.61a.5.5 0 0 1-1 0 3.2 3.2 0 0 1 1.16-2.62l.25-.19.12-.1A1.5 1.5 0 0 0 10 6.5c-.83 0-1.5.67-1.5 1.5a.5.5 0 0 1-1 0A2.5 2.5 0 0 1 10 5.5Z"]), hn = /* @__PURE__ */ h1("ChevronDown16Filled", "16", ["M3.2 5.74a.75.75 0 0 1 1.06-.04L8 9.23l3.74-3.53a.75.75 0 1 1 1.02 1.1l-4.25 4a.75.75 0 0 1-1.02 0l-4.25-4a.75.75 0 0 1-.04-1.06Z"]), mn = /* @__PURE__ */ h1("ChevronUp16Filled", "16", ["M3.2 10.26c.28.3.76.32 1.06.04L8 6.77l3.74 3.53a.75.75 0 1 0 1.02-1.1l-4.25-4a.75.75 0 0 0-1.02 0l-4.25 4a.75.75 0 0 0-.04 1.06Z"]), pn = {
678
680
  sm: { px: 24, r: 9, sw: 2, checkSw: 2, checkLen: 14 },
679
681
  md: { px: 40, r: 16, sw: 3, checkSw: 3, checkLen: 22 },
680
682
  lg: { px: 56, r: 23, sw: 4, checkSw: 4, checkLen: 31 }
@@ -690,12 +692,12 @@ const S0 = () => {
690
692
  fullscreen: i = !1,
691
693
  className: s = ""
692
694
  }) => {
693
- const { px: o, r: a, sw: c, checkSw: f, checkLen: m } = pn[n], d = o / 2, k = +(2 * Math.PI * a).toFixed(2), C = a1(null);
695
+ const { px: o, r: a, sw: c, checkSw: f, checkLen: m } = pn[n], d = o / 2, k = +(2 * Math.PI * a).toFixed(2), h = a1(null);
694
696
  i1(() => {
695
- const h = C.current;
696
- if (!l || !h || !r) return;
697
+ const C = h.current;
698
+ if (!l || !C || !r) return;
697
699
  const _ = () => r();
698
- return h.addEventListener("animationend", _), () => h.removeEventListener("animationend", _);
700
+ return C.addEventListener("animationend", _), () => C.removeEventListener("animationend", _);
699
701
  }, [l, r]);
700
702
  const v = /* @__PURE__ */ u(
701
703
  "div",
@@ -775,7 +777,7 @@ const S0 = () => {
775
777
  /* @__PURE__ */ e(
776
778
  "path",
777
779
  {
778
- ref: C,
780
+ ref: h,
779
781
  className: "kdls-spinner__check",
780
782
  d: vn[n],
781
783
  strokeWidth: f,
@@ -836,7 +838,7 @@ function p5(t, n, l, r, i, s) {
836
838
  const o = kn(t, n, l, i, s);
837
839
  return { style: m5(t, o, r, i), effectiveSide: o };
838
840
  }
839
- function lt({
841
+ function rt({
840
842
  triggerRef: t,
841
843
  panelRef: n,
842
844
  side: l,
@@ -845,13 +847,13 @@ function lt({
845
847
  open: s,
846
848
  observePanel: o = !1
847
849
  }) {
848
- const [a, c] = D({}), [f, m] = D(l), [d, k] = D(!1), C = A1(() => {
849
- var y, B;
850
+ const [a, c] = D({}), [f, m] = D(l), [d, k] = D(!1), h = A1(() => {
851
+ var w, B;
850
852
  if (!t.current) return;
851
- const v = t.current.getBoundingClientRect(), h = {
852
- width: ((y = n.current) == null ? void 0 : y.offsetWidth) ?? 0,
853
+ const v = t.current.getBoundingClientRect(), C = {
854
+ width: ((w = n.current) == null ? void 0 : w.offsetWidth) ?? 0,
853
855
  height: ((B = n.current) == null ? void 0 : B.offsetHeight) ?? 0
854
- }, _ = f5(t.current, !0), L = p5(v, h, l, r, i, _);
856
+ }, _ = f5(t.current, !0), L = p5(v, C, l, r, i, _);
855
857
  c(L.style), m(L.effectiveSide);
856
858
  }, [t, n, l, r, i]);
857
859
  return i1(() => {
@@ -860,32 +862,32 @@ function lt({
860
862
  return;
861
863
  }
862
864
  const v = requestAnimationFrame(() => {
863
- C(), k(!0);
865
+ h(), k(!0);
864
866
  });
865
- let h;
866
- return o && n.current && (h = new ResizeObserver(() => C()), h.observe(n.current)), window.addEventListener("scroll", C, !0), window.addEventListener("resize", C), () => {
867
- cancelAnimationFrame(v), h == null || h.disconnect(), window.removeEventListener("scroll", C, !0), window.removeEventListener("resize", C);
867
+ let C;
868
+ return o && n.current && (C = new ResizeObserver(() => h()), C.observe(n.current)), window.addEventListener("scroll", h, !0), window.addEventListener("resize", h), () => {
869
+ cancelAnimationFrame(v), C == null || C.disconnect(), window.removeEventListener("scroll", h, !0), window.removeEventListener("resize", h);
868
870
  };
869
- }, [s, o, C, n]), { style: a, effectiveSide: f, positioned: d };
871
+ }, [s, o, h, n]), { style: a, effectiveSide: f, positioned: d };
870
872
  }
871
- const yt = 8, _n = 100, gn = 100, he = ({
873
+ const yt = 8, _n = 100, gn = 100, oe = ({
872
874
  content: t,
873
875
  children: n,
874
876
  placement: l = "top",
875
877
  width: r = "hug",
876
878
  className: i = ""
877
879
  }) => {
878
- const [s, o] = D(null), [a, c] = D(l), [f, m] = D(!1), d = a1(null), k = a1(null), C = a1(null), v = a1(null), h = A1(() => {
879
- v.current && (clearTimeout(v.current), v.current = null), !(s || C.current) && (C.current = setTimeout(() => {
880
- C.current = null, d.current && (o(d.current.getBoundingClientRect()), c(l), m(!1));
880
+ const [s, o] = D(null), [a, c] = D(l), [f, m] = D(!1), d = a1(null), k = a1(null), h = a1(null), v = a1(null), C = A1(() => {
881
+ v.current && (clearTimeout(v.current), v.current = null), !(s || h.current) && (h.current = setTimeout(() => {
882
+ h.current = null, d.current && (o(d.current.getBoundingClientRect()), c(l), m(!1));
881
883
  }, _n));
882
884
  }, [l, s]), _ = A1(() => {
883
- C.current && (clearTimeout(C.current), C.current = null), v.current = setTimeout(() => {
885
+ h.current && (clearTimeout(h.current), h.current = null), v.current = setTimeout(() => {
884
886
  o(null), m(!1);
885
887
  }, gn);
886
888
  }, []);
887
889
  i1(() => () => {
888
- C.current && clearTimeout(C.current), v.current && clearTimeout(v.current);
890
+ h.current && clearTimeout(h.current), v.current && clearTimeout(v.current);
889
891
  }, []), i1(() => {
890
892
  if (!s || !k.current) return;
891
893
  const E = f5(d.current, !0), W = { width: k.current.offsetWidth, height: k.current.offsetHeight }, { side: T, align: P } = v2(l), { effectiveSide: N } = p5(s, W, T, P, yt, E);
@@ -901,7 +903,7 @@ const yt = 8, _n = 100, gn = 100, he = ({
901
903
  window.removeEventListener("scroll", E, !0), window.removeEventListener("resize", E);
902
904
  };
903
905
  }, [L]);
904
- const { side: y, align: B } = v2(a), H = n == null;
906
+ const { side: w, align: B } = v2(a), H = n == null;
905
907
  return /* @__PURE__ */ u(
906
908
  "span",
907
909
  {
@@ -914,12 +916,12 @@ const yt = 8, _n = 100, gn = 100, he = ({
914
916
  role: H ? "img" : void 0,
915
917
  "aria-label": H ? t : void 0,
916
918
  tabIndex: H ? 0 : void 0,
917
- onMouseEnter: h,
919
+ onMouseEnter: C,
918
920
  onMouseLeave: _,
919
- onFocus: h,
921
+ onFocus: C,
920
922
  onBlur: _,
921
923
  onKeyDown: H ? (E) => {
922
- E.key !== "Escape" || v.current || !(s || C.current) || (E.stopPropagation(), _());
924
+ E.key !== "Escape" || v.current || !(s || h.current) || (E.stopPropagation(), _());
923
925
  } : void 0,
924
926
  children: [
925
927
  H ? /* @__PURE__ */ e(n1, { icon: /* @__PURE__ */ e(o5, {}), "aria-hidden": !0, className: "kdls-tooltip-wrapper__icon" }) : n,
@@ -930,7 +932,7 @@ const yt = 8, _n = 100, gn = 100, he = ({
930
932
  ref: k,
931
933
  className: ["kdls-tooltip", `kdls-tooltip--${h5(a)}`].join(" "),
932
934
  role: "tooltip",
933
- style: { ...m5(s, y, B, yt), visibility: f ? "visible" : "hidden" },
935
+ style: { ...m5(s, w, B, yt), visibility: f ? "visible" : "hidden" },
934
936
  children: t
935
937
  }
936
938
  ),
@@ -953,7 +955,7 @@ const yt = 8, _n = 100, gn = 100, he = ({
953
955
  disabledTooltipPosition: m = "top",
954
956
  type: d = "button",
955
957
  ariaLabel: k,
956
- className: C = ""
958
+ className: h = ""
957
959
  }) => {
958
960
  const v = [
959
961
  "kdls-button",
@@ -961,8 +963,8 @@ const yt = 8, _n = 100, gn = 100, he = ({
961
963
  `kdls-button--${s}`,
962
964
  o === "fill" ? "kdls-button--full" : "",
963
965
  a && !c ? "kdls-button--loading" : "",
964
- C
965
- ].filter(Boolean).join(" "), h = /* @__PURE__ */ u(
966
+ h
967
+ ].filter(Boolean).join(" "), C = /* @__PURE__ */ u(
966
968
  "button",
967
969
  {
968
970
  className: v,
@@ -986,13 +988,13 @@ const yt = 8, _n = 100, gn = 100, he = ({
986
988
  ]
987
989
  }
988
990
  );
989
- return !f || !c ? h : /* @__PURE__ */ e(
990
- he,
991
+ return !f || !c ? C : /* @__PURE__ */ e(
992
+ oe,
991
993
  {
992
994
  content: f,
993
995
  placement: m,
994
996
  className: ["kdls-button__tooltip-wrapper", o === "fill" ? "kdls-button__tooltip-wrapper--full" : ""].filter(Boolean).join(" "),
995
- children: h
997
+ children: C
996
998
  }
997
999
  );
998
1000
  }, X = T1.forwardRef(function({ children: n, variant: l = "bodyMd", as: r, color: i = "default", htmlFor: s, id: o, className: a = "" }, c) {
@@ -1027,11 +1029,11 @@ const bn = ({
1027
1029
  actionDisabledTooltipPosition: m = "top",
1028
1030
  defaultOpen: d = !1,
1029
1031
  open: k,
1030
- onOpenChange: C,
1032
+ onOpenChange: h,
1031
1033
  destroyOnClose: v = !1,
1032
- className: h = ""
1034
+ className: C = ""
1033
1035
  }) => {
1034
- const [_, L] = D(d), [y, B] = D(!1), H = k !== void 0, E = H ? k : _, W = async () => {
1036
+ const [_, L] = D(d), [w, B] = D(!1), H = k !== void 0, E = H ? k : _, W = async () => {
1035
1037
  const P = o == null ? void 0 : o();
1036
1038
  if (P instanceof Promise) {
1037
1039
  B(!0);
@@ -1042,12 +1044,12 @@ const bn = ({
1042
1044
  }
1043
1045
  }
1044
1046
  }, T = () => {
1045
- H ? C == null || C(!E) : L((P) => !P);
1047
+ H ? h == null || h(!E) : L((P) => !P);
1046
1048
  };
1047
1049
  return /* @__PURE__ */ u(
1048
1050
  "div",
1049
1051
  {
1050
- className: ["kdls-accordion", E ? "kdls-accordion--open" : "", i ? "kdls-accordion--bordered" : "", r === "lg" ? "kdls-accordion--title-lg" : "", h].filter(Boolean).join(" "),
1052
+ className: ["kdls-accordion", E ? "kdls-accordion--open" : "", i ? "kdls-accordion--bordered" : "", r === "lg" ? "kdls-accordion--title-lg" : "", C].filter(Boolean).join(" "),
1051
1053
  children: [
1052
1054
  /* @__PURE__ */ u(
1053
1055
  "div",
@@ -1070,7 +1072,7 @@ const bn = ({
1070
1072
  {
1071
1073
  className: "kdls-accordion__action",
1072
1074
  onClick: (P) => P.stopPropagation(),
1073
- children: /* @__PURE__ */ e(y1, { variant: "link", label: s, onClick: W, isLoading: y || a, disabled: c, disabledTooltip: f, disabledTooltipPosition: m })
1075
+ children: /* @__PURE__ */ e(y1, { variant: "link", label: s, onClick: W, isLoading: w || a, disabled: c, disabledTooltip: f, disabledTooltipPosition: m })
1074
1076
  }
1075
1077
  ),
1076
1078
  /* @__PURE__ */ e(
@@ -1218,7 +1220,7 @@ const w1 = ({
1218
1220
  truncateName: m = !0,
1219
1221
  className: d = ""
1220
1222
  }) => {
1221
- const k = !!(r || i || s || o), C = a1(null), [v, h] = D(!1), [_, L] = D(!1), [y, B] = D(!1), H = async () => {
1223
+ const k = !!(r || i || s || o), h = a1(null), [v, C] = D(!1), [_, L] = D(!1), [w, B] = D(!1), H = async () => {
1222
1224
  const T = i == null ? void 0 : i();
1223
1225
  if (T instanceof Promise) {
1224
1226
  L(!0);
@@ -1241,9 +1243,9 @@ const w1 = ({
1241
1243
  };
1242
1244
  i1(() => {
1243
1245
  if (!m) return;
1244
- const T = C.current;
1246
+ const T = h.current;
1245
1247
  if (!T) return;
1246
- const P = () => h(T.scrollWidth > T.clientWidth);
1248
+ const P = () => C(T.scrollWidth > T.clientWidth);
1247
1249
  P();
1248
1250
  const N = new ResizeObserver(P);
1249
1251
  return N.observe(T), () => N.disconnect();
@@ -1252,7 +1254,7 @@ const w1 = ({
1252
1254
  X,
1253
1255
  {
1254
1256
  as: "span",
1255
- ref: C,
1257
+ ref: h,
1256
1258
  variant: "bodyMd",
1257
1259
  className: ["kdls-attachment-row__name", m ? "kdls-attachment-row__name--truncate" : ""].filter(Boolean).join(" "),
1258
1260
  children: t
@@ -1262,7 +1264,7 @@ const w1 = ({
1262
1264
  n && /* @__PURE__ */ e("span", { className: "kdls-attachment-row__icon", "aria-hidden": "true", children: /* @__PURE__ */ e(n1, { icon: n }) }),
1263
1265
  /* @__PURE__ */ u("div", { className: "kdls-attachment-row__info", children: [
1264
1266
  m ? /* @__PURE__ */ e(
1265
- he,
1267
+ oe,
1266
1268
  {
1267
1269
  content: t,
1268
1270
  className: ["kdls-attachment-row__name-tooltip", v ? "" : "kdls-attachment-row__name-tooltip--inactive"].filter(Boolean).join(" "),
@@ -1274,8 +1276,8 @@ const w1 = ({
1274
1276
  k && /* @__PURE__ */ u("div", { className: "kdls-attachment-row__actions", children: [
1275
1277
  r,
1276
1278
  i && /* @__PURE__ */ e(w1, { icon: /* @__PURE__ */ e(u5, {}), "aria-label": "Excluir", onClick: H, isLoading: _, disabled: a }),
1277
- s && /* @__PURE__ */ e(w1, { icon: /* @__PURE__ */ e(a5, {}), "aria-label": "Baixar", onClick: E, isLoading: y, disabled: c }),
1278
- o && /* @__PURE__ */ e(w1, { icon: /* @__PURE__ */ e(nt, {}), variant: "neutral", "aria-label": "Ver detalhes", onClick: o, disabled: f })
1279
+ s && /* @__PURE__ */ e(w1, { icon: /* @__PURE__ */ e(a5, {}), "aria-label": "Baixar", onClick: E, isLoading: w, disabled: c }),
1280
+ o && /* @__PURE__ */ e(w1, { icon: /* @__PURE__ */ e(lt, {}), variant: "neutral", "aria-label": "Ver detalhes", onClick: o, disabled: f })
1279
1281
  ] })
1280
1282
  ] });
1281
1283
  }, fl = ({
@@ -1301,7 +1303,7 @@ const w1 = ({
1301
1303
  disabledViewDetails: o.disabledViewDetails
1302
1304
  },
1303
1305
  o.id
1304
- )) }), j2 = ({
1306
+ )) }), P2 = ({
1305
1307
  src: t,
1306
1308
  initials: n,
1307
1309
  alt: l = "",
@@ -1346,13 +1348,13 @@ const w1 = ({
1346
1348
  width: f = "hug",
1347
1349
  className: m = ""
1348
1350
  }) => {
1349
- const [d, k] = D(!1), C = (d || o) && !a, v = async () => {
1350
- if (a || C) return;
1351
- const h = s == null ? void 0 : s();
1352
- if (h instanceof Promise) {
1351
+ const [d, k] = D(!1), h = (d || o) && !a, v = async () => {
1352
+ if (a || h) return;
1353
+ const C = s == null ? void 0 : s();
1354
+ if (C instanceof Promise) {
1353
1355
  k(!0);
1354
1356
  try {
1355
- await h;
1357
+ await C;
1356
1358
  } finally {
1357
1359
  k(!1);
1358
1360
  }
@@ -1383,20 +1385,20 @@ const w1 = ({
1383
1385
  "kdls-badge__icon--right",
1384
1386
  "kdls-badge__icon--right--clickable",
1385
1387
  a ? "kdls-badge__icon--right--disabled" : "",
1386
- C ? "kdls-badge__icon--right--loading" : ""
1388
+ h ? "kdls-badge__icon--right--loading" : ""
1387
1389
  ].filter(Boolean).join(" "),
1388
1390
  role: "button",
1389
1391
  tabIndex: a ? -1 : 0,
1390
1392
  "aria-label": "Remover",
1391
- "aria-busy": C || void 0,
1393
+ "aria-busy": h || void 0,
1392
1394
  "aria-disabled": a || void 0,
1393
- onClick: (h) => {
1394
- h.stopPropagation(), v();
1395
+ onClick: (C) => {
1396
+ C.stopPropagation(), v();
1395
1397
  },
1396
- onKeyDown: (h) => {
1397
- (h.key === "Enter" || h.key === " ") && (h.preventDefault(), h.stopPropagation(), v());
1398
+ onKeyDown: (C) => {
1399
+ (C.key === "Enter" || C.key === " ") && (C.preventDefault(), C.stopPropagation(), v());
1398
1400
  },
1399
- children: C ? /* @__PURE__ */ e(qe, { size: "sm" }) : /* @__PURE__ */ e(n1, { icon: i, size: "sm" })
1401
+ children: h ? /* @__PURE__ */ e(qe, { size: "sm" }) : /* @__PURE__ */ e(n1, { icon: i, size: "sm" })
1400
1402
  }
1401
1403
  ) })
1402
1404
  ]
@@ -1647,23 +1649,23 @@ const a7 = ({
1647
1649
  actionDisabledTooltip: m,
1648
1650
  actionDisabledTooltipPosition: d = "top",
1649
1651
  onDismiss: k,
1650
- className: C = ""
1652
+ className: h = ""
1651
1653
  }) => {
1652
- const [v, h] = D(!1), _ = async () => {
1654
+ const [v, C] = D(!1), _ = async () => {
1653
1655
  const L = a == null ? void 0 : a();
1654
1656
  if (L instanceof Promise) {
1655
- h(!0);
1657
+ C(!0);
1656
1658
  try {
1657
1659
  await L;
1658
1660
  } finally {
1659
- h(!1);
1661
+ C(!1);
1660
1662
  }
1661
1663
  }
1662
1664
  };
1663
1665
  return /* @__PURE__ */ u(
1664
1666
  "div",
1665
1667
  {
1666
- className: ["kdls-alert", `kdls-alert--${n}`, r !== "lg" ? `kdls-alert--${r}` : "", `kdls-alert--${i}`, s ? "kdls-alert--bordered" : "", C].filter(Boolean).join(" "),
1668
+ className: ["kdls-alert", `kdls-alert--${n}`, r !== "lg" ? `kdls-alert--${r}` : "", `kdls-alert--${i}`, s ? "kdls-alert--bordered" : "", h].filter(Boolean).join(" "),
1667
1669
  role: "alert",
1668
1670
  children: [
1669
1671
  /* @__PURE__ */ u("div", { className: "kdls-alert__content", children: [
@@ -1709,13 +1711,13 @@ const a7 = ({
1709
1711
  hint: m,
1710
1712
  name: d,
1711
1713
  required: k = !1,
1712
- "aria-label": C,
1714
+ "aria-label": h,
1713
1715
  "aria-labelledby": v,
1714
- className: h = ""
1716
+ className: C = ""
1715
1717
  }) => {
1716
1718
  const _ = c ? "none" : f, L = () => {
1717
1719
  c || o == null || o(!i);
1718
- }, y = ["kdls-checkbox__label", k && !c ? "kdls-checkbox__label--required" : ""].filter(Boolean).join(" "), B = [
1720
+ }, w = ["kdls-checkbox__label", k && !c ? "kdls-checkbox__label--required" : ""].filter(Boolean).join(" "), B = [
1719
1721
  "kdls-checkbox__hint",
1720
1722
  f !== "none" ? `kdls-checkbox__hint--${f}` : "",
1721
1723
  c ? "kdls-checkbox__hint--disabled" : ""
@@ -1732,7 +1734,7 @@ const a7 = ({
1732
1734
  _ !== "none" ? `kdls-checkbox--feedback-${_}` : ""
1733
1735
  ].filter(Boolean).join(" "),
1734
1736
  role: "checkbox",
1735
- "aria-label": C,
1737
+ "aria-label": h,
1736
1738
  "aria-labelledby": v,
1737
1739
  "aria-checked": s ? "mixed" : i,
1738
1740
  "aria-disabled": c,
@@ -1744,16 +1746,16 @@ const a7 = ({
1744
1746
  children: [
1745
1747
  /* @__PURE__ */ e("span", { className: "kdls-checkbox__box", "aria-hidden": "true", children: /* @__PURE__ */ e("span", { className: "kdls-checkbox__icon", children: s ? /* @__PURE__ */ e("svg", { width: "8", height: "2", viewBox: "0 0 8 2", fill: "none", children: /* @__PURE__ */ e("path", { d: "M1 1H7", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" }) }) : /* @__PURE__ */ e("svg", { width: "10", height: "8", viewBox: "0 0 10 8", fill: "none", children: /* @__PURE__ */ e("path", { d: "M1 4L3.5 6.5L9 1", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round" }) }) }) }),
1746
1748
  !a && m ? /* @__PURE__ */ u("div", { className: "kdls-checkbox__content", children: [
1747
- t && /* @__PURE__ */ e(X, { as: "span", variant: "bodyMd", className: y, children: t }),
1749
+ t && /* @__PURE__ */ e(X, { as: "span", variant: "bodyMd", className: w, children: t }),
1748
1750
  /* @__PURE__ */ e(X, { as: "span", variant: "labelRegular", className: B, children: m })
1749
- ] }) : t && /* @__PURE__ */ e(X, { as: "span", variant: "bodyMd", className: y, children: t })
1751
+ ] }) : t && /* @__PURE__ */ e(X, { as: "span", variant: "bodyMd", className: w, children: t })
1750
1752
  ]
1751
1753
  }
1752
1754
  );
1753
1755
  return /* @__PURE__ */ u(
1754
1756
  "div",
1755
1757
  {
1756
- className: ["kdls-checkbox-wrapper", l !== "hug" ? `kdls-checkbox-wrapper--${l}` : "", h].filter(Boolean).join(" "),
1758
+ className: ["kdls-checkbox-wrapper", l !== "hug" ? `kdls-checkbox-wrapper--${l}` : "", C].filter(Boolean).join(" "),
1757
1759
  children: [
1758
1760
  a ? /* @__PURE__ */ e("div", { className: `kdls-checkbox-container${c ? " kdls-checkbox-container--disabled" : ""}`, children: H }) : H,
1759
1761
  d && /* @__PURE__ */ e("input", { type: "hidden", name: d, value: i ? "true" : "false", readOnly: !0 }),
@@ -1775,14 +1777,14 @@ const a7 = ({
1775
1777
  destroyOnClose: m = !1,
1776
1778
  getPopupContainer: d = () => document.body,
1777
1779
  zIndex: k,
1778
- baseZIndex: C,
1780
+ baseZIndex: h,
1779
1781
  matchTriggerWidth: v = !1,
1780
- className: h = "",
1782
+ className: C = "",
1781
1783
  openClassName: _ = "",
1782
1784
  triggerClassName: L = ""
1783
1785
  }) => {
1784
1786
  var F;
1785
- const [y, B] = D(f), H = a !== void 0, E = H ? a : y, W = we(N2), T = k ?? (W ? yn : C), P = a1(null), N = a1(null), { side: V, align: O } = v2(l), { style: K, effectiveSide: S, positioned: U } = lt({
1787
+ const [w, B] = D(f), H = a !== void 0, E = H ? a : w, W = we(N2), T = k ?? (W ? yn : h), P = a1(null), N = a1(null), { side: V, align: O } = v2(l), { style: K, effectiveSide: S, positioned: U } = rt({
1786
1788
  triggerRef: P,
1787
1789
  panelRef: N,
1788
1790
  side: V,
@@ -1790,7 +1792,7 @@ const a7 = ({
1790
1792
  gap: r,
1791
1793
  open: E,
1792
1794
  observePanel: !0
1793
- }), A = C5(S, O), u1 = { position: "fixed", ...K, ...v ? { minWidth: (F = P.current) == null ? void 0 : F.getBoundingClientRect().width } : {} }, p = a1(null), w = a1(null), R = Array.isArray(i) ? i : [i], J = A1((q) => {
1795
+ }), A = C5(S, O), u1 = { position: "fixed", ...K, ...v ? { minWidth: (F = P.current) == null ? void 0 : F.getBoundingClientRect().width } : {} }, p = a1(null), y = a1(null), R = Array.isArray(i) ? i : [i], J = A1((q) => {
1794
1796
  H ? c == null || c(q) : B(q);
1795
1797
  }, [H, c]), k1 = A1(() => J(!1), [J]);
1796
1798
  i1(() => {
@@ -1802,22 +1804,22 @@ const a7 = ({
1802
1804
  };
1803
1805
  return document.addEventListener("mousedown", q), () => document.removeEventListener("mousedown", q);
1804
1806
  }, [E, R, k1]), i1(() => () => {
1805
- p.current && clearTimeout(p.current), w.current && clearTimeout(w.current);
1807
+ p.current && clearTimeout(p.current), y.current && clearTimeout(y.current);
1806
1808
  }, []);
1807
1809
  const o1 = {};
1808
1810
  R.includes("click") && (o1.onClick = () => J(!E), o1.onKeyDown = (q) => {
1809
1811
  (q.key === "Enter" || q.key === " ") && (q.preventDefault(), J(!E)), q.key === "Escape" && (E && q.preventDefault(), k1());
1810
1812
  }), R.includes("hover") && (o1.onMouseEnter = () => {
1811
- w.current && (clearTimeout(w.current), w.current = null), p.current = setTimeout(() => J(!0), s);
1813
+ y.current && (clearTimeout(y.current), y.current = null), p.current = setTimeout(() => J(!0), s);
1812
1814
  }, o1.onMouseLeave = () => {
1813
- p.current && (clearTimeout(p.current), p.current = null), w.current = setTimeout(() => J(!1), o);
1815
+ p.current && (clearTimeout(p.current), p.current = null), y.current = setTimeout(() => J(!1), o);
1814
1816
  }), R.includes("focus") && (o1.onFocus = () => J(!0), o1.onBlur = (q) => {
1815
1817
  var r1;
1816
1818
  (r1 = N.current) != null && r1.contains(q.relatedTarget) || k1();
1817
1819
  }), R.includes("contextMenu") && (o1.onContextMenu = (q) => {
1818
1820
  q.preventDefault(), J(!0);
1819
1821
  });
1820
- const z = ["kdls-floating", h, E && _].filter(Boolean).join(" "), $ = typeof n == "function" ? n(A) : n;
1822
+ const z = ["kdls-floating", C, E && _].filter(Boolean).join(" "), $ = typeof n == "function" ? n(A) : n;
1821
1823
  return /* @__PURE__ */ u("div", { ref: P, className: z, children: [
1822
1824
  /* @__PURE__ */ e(
1823
1825
  "div",
@@ -1841,10 +1843,10 @@ const a7 = ({
1841
1843
  ...E ? { visibility: U ? "visible" : "hidden", pointerEvents: U ? void 0 : "none" } : { display: "none" }
1842
1844
  },
1843
1845
  onMouseEnter: R.includes("hover") ? () => {
1844
- w.current && (clearTimeout(w.current), w.current = null);
1846
+ y.current && (clearTimeout(y.current), y.current = null);
1845
1847
  } : void 0,
1846
1848
  onMouseLeave: R.includes("hover") ? () => {
1847
- w.current = setTimeout(() => J(!1), o);
1849
+ y.current = setTimeout(() => J(!1), o);
1848
1850
  } : void 0,
1849
1851
  children: $
1850
1852
  }
@@ -1926,15 +1928,15 @@ const xn = ({
1926
1928
  showSelectAll: m = !1,
1927
1929
  selectAllPlacement: d = "header",
1928
1930
  value: k,
1929
- defaultValue: C,
1931
+ defaultValue: h,
1930
1932
  onChange: v,
1931
- clearable: h = !1,
1933
+ clearable: C = !1,
1932
1934
  footer: _,
1933
1935
  closeLabel: L = "Fechar",
1934
- applyLabel: y = "Aplicar",
1936
+ applyLabel: w = "Aplicar",
1935
1937
  className: B = ""
1936
1938
  }) => {
1937
- const H = a1(null), E = k !== void 0, [W, T] = D(C ?? (f ? [] : null)), P = E ? k : W, N = Array.isArray(P) ? P : [], [V, O] = D("");
1939
+ const H = a1(null), E = k !== void 0, [W, T] = D(h ?? (f ? [] : null)), P = E ? k : W, N = Array.isArray(P) ? P : [], [V, O] = D("");
1938
1940
  i1(() => {
1939
1941
  t || O("");
1940
1942
  }, [t]);
@@ -1942,7 +1944,7 @@ const xn = ({
1942
1944
  i1(() => {
1943
1945
  t && f && A(N);
1944
1946
  }, [t, f]);
1945
- const u1 = f && S.length > 0 && S.every((j) => U.includes(j)), p = f && !u1 && S.some((j) => U.includes(j)), w = f && m && !!c, R = w && d === "footer" && _ === void 0, J = w && !R, k1 = (j) => {
1947
+ const u1 = f && S.length > 0 && S.every((j) => U.includes(j)), p = f && !u1 && S.some((j) => U.includes(j)), y = f && m && !!c, R = y && d === "footer" && _ === void 0, J = y && !R, k1 = (j) => {
1946
1948
  A((b) => b.includes(j) ? b.filter((e1) => e1 !== j) : [...b, j]);
1947
1949
  }, o1 = () => {
1948
1950
  E || T(U), v == null || v(U), n();
@@ -2001,7 +2003,7 @@ const xn = ({
2001
2003
  onChange: z
2002
2004
  }
2003
2005
  ) })
2004
- ] }) : null, Q = _ ?? (h || f ? /* @__PURE__ */ e("div", { className: "kdls-bottomsheet__footer-actions", children: R ? /* @__PURE__ */ u(N1, { children: [
2006
+ ] }) : null, Q = _ ?? (C || f ? /* @__PURE__ */ e("div", { className: "kdls-bottomsheet__footer-actions", children: R ? /* @__PURE__ */ u(N1, { children: [
2005
2007
  /* @__PURE__ */ e(
2006
2008
  y1,
2007
2009
  {
@@ -2011,12 +2013,12 @@ const xn = ({
2011
2013
  }
2012
2014
  ),
2013
2015
  /* @__PURE__ */ u("div", { className: "kdls-bottomsheet__footer-end", children: [
2014
- h && /* @__PURE__ */ e(y1, { variant: "link", label: "Limpar", onClick: $ }),
2015
- /* @__PURE__ */ e(y1, { label: y, onClick: o1 })
2016
+ C && /* @__PURE__ */ e(y1, { variant: "link", label: "Limpar", onClick: $ }),
2017
+ /* @__PURE__ */ e(y1, { label: w, onClick: o1 })
2016
2018
  ] })
2017
2019
  ] }) : /* @__PURE__ */ u(N1, { children: [
2018
- h && /* @__PURE__ */ e(y1, { variant: "link", label: "Limpar", onClick: $ }),
2019
- f && /* @__PURE__ */ e(y1, { label: y, width: h ? "hug" : "fill", onClick: o1 })
2020
+ C && /* @__PURE__ */ e(y1, { variant: "link", label: "Limpar", onClick: $ }),
2021
+ f && /* @__PURE__ */ e(y1, { label: w, width: C ? "hug" : "fill", onClick: o1 })
2020
2022
  ] }) }) : void 0);
2021
2023
  return i1(() => (t ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
2022
2024
  document.body.style.overflow = "";
@@ -2131,7 +2133,7 @@ const xn = ({
2131
2133
  children: c
2132
2134
  }
2133
2135
  );
2134
- }, fe = { code: "br", ddi: "+55", name: "Brasil" };
2136
+ }, Ce = { code: "br", ddi: "+55", name: "Brasil" };
2135
2137
  let C2 = null, Lt = null;
2136
2138
  function Dn() {
2137
2139
  return C2 ? Promise.resolve(C2) : (Lt ?? (Lt = import("libphonenumber-js").then((t) => (C2 = t, t))), Lt);
@@ -2151,14 +2153,14 @@ function Hn(t) {
2151
2153
  }
2152
2154
  let d2 = null;
2153
2155
  function En(t) {
2154
- if (!t) return [fe];
2156
+ if (!t) return [Ce];
2155
2157
  if (d2) return d2;
2156
2158
  const n = typeof Intl < "u" && "DisplayNames" in Intl ? new Intl.DisplayNames(["pt-BR"], { type: "region" }) : null, l = t.getCountries().filter((r) => r !== "BR").map((r) => ({
2157
2159
  code: r.toLowerCase(),
2158
2160
  ddi: `+${t.getCountryCallingCode(r)}`,
2159
2161
  name: (n == null ? void 0 : n.of(r)) ?? r
2160
2162
  })).sort((r, i) => r.name.localeCompare(i.name, "pt-BR"));
2161
- return d2 = [fe, ...l], d2;
2163
+ return d2 = [Ce, ...l], d2;
2162
2164
  }
2163
2165
  const Nt = (t) => t.normalize("NFD").replace(new RegExp("\\p{M}", "gu"), "").toLowerCase().trim();
2164
2166
  function Sn(t, n) {
@@ -2176,7 +2178,7 @@ function Zn(t) {
2176
2178
  }
2177
2179
  function Rn(t, n, l) {
2178
2180
  let r = t.replace(/\D/g, "");
2179
- if (n.ddi === fe.ddi) return r.slice(0, 11);
2181
+ if (n.ddi === Ce.ddi) return r.slice(0, 11);
2180
2182
  if (!l) return r.slice(0, 15);
2181
2183
  for (; r && l.validatePhoneNumberLength(r, M2(n)) === "TOO_LONG"; )
2182
2184
  r = r.slice(0, -1);
@@ -2184,17 +2186,17 @@ function Rn(t, n, l) {
2184
2186
  }
2185
2187
  function Bn(t, n, l) {
2186
2188
  const r = t.replace(/\D/g, "");
2187
- return n.ddi === fe.ddi ? Zn(r) : !l || !r ? r : new l.AsYouType(M2(n)).input(r);
2189
+ return n.ddi === Ce.ddi ? Zn(r) : !l || !r ? r : new l.AsYouType(M2(n)).input(r);
2188
2190
  }
2189
2191
  const Tn = { tel: [10, 11], cel: [11] };
2190
- function P2(t, n, l, r) {
2192
+ function O2(t, n, l, r) {
2191
2193
  const i = t.replace(/\D/g, "");
2192
- return n.ddi === fe.ddi ? Tn[r].includes(i.length) : l ? l.isValidPhoneNumber(i, M2(n)) : i.length >= 7;
2194
+ return n.ddi === Ce.ddi ? Tn[r].includes(i.length) : l ? l.isValidPhoneNumber(i, M2(n)) : i.length >= 7;
2193
2195
  }
2194
2196
  function Mt(t, n, l, r) {
2195
- const i = t.replace(/\D/g, ""), s = !!i && P2(i, n, l, r);
2197
+ const i = t.replace(/\D/g, ""), s = !!i && O2(i, n, l, r);
2196
2198
  if (!s) return { country: n, national: i, e164: null, valid: s };
2197
- if (n.ddi === fe.ddi || !l) return { country: n, national: i, e164: `${n.ddi}${i}`, valid: s };
2199
+ if (n.ddi === Ce.ddi || !l) return { country: n, national: i, e164: `${n.ddi}${i}`, valid: s };
2198
2200
  const o = l.parsePhoneNumberFromString(i, M2(n));
2199
2201
  return { country: n, national: i, e164: (o == null ? void 0 : o.number) ?? `${n.ddi}${i}`, valid: s };
2200
2202
  }
@@ -2208,7 +2210,7 @@ function $n(t, n) {
2208
2210
  const l = t.replace(/\D/g, "").slice(0, 15);
2209
2211
  return n ? new n.AsYouType().input(`+${l}`) : `+${l}`;
2210
2212
  }
2211
- const R2 = ["cep", "cpf", "cnpj", "cpf-cnpj", "date", "birthdate"], In = {
2213
+ const B2 = ["cep", "cpf", "cnpj", "cpf-cnpj", "date", "birthdate"], In = {
2212
2214
  email: "E-mail",
2213
2215
  tel: "Telefone",
2214
2216
  cel: "Celular",
@@ -2217,7 +2219,7 @@ const R2 = ["cep", "cpf", "cnpj", "cpf-cnpj", "date", "birthdate"], In = {
2217
2219
  cnpj: "CNPJ",
2218
2220
  "cpf-cnpj": "CPF ou CNPJ",
2219
2221
  birthdate: "Data de nascimento"
2220
- }, B2 = 24, An = 42, Fn = /^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/;
2222
+ }, T2 = 24, An = 42, Fn = /^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/;
2221
2223
  function xt(t, n) {
2222
2224
  const l = t.replace(/\D/g, "");
2223
2225
  if (n === "cep") {
@@ -2286,12 +2288,12 @@ const ke = T1.forwardRef(({
2286
2288
  iconRight: m,
2287
2289
  onClickIconRight: d,
2288
2290
  iconRightLabel: k = "Limpar",
2289
- notificationCount: C,
2291
+ notificationCount: h,
2290
2292
  showIncrementer: v = !1,
2291
- min: h,
2293
+ min: C,
2292
2294
  max: _,
2293
2295
  step: L = 1,
2294
- maxLength: y,
2296
+ maxLength: w,
2295
2297
  showCount: B = !1,
2296
2298
  disabled: H = !1,
2297
2299
  isLoading: E = !1,
@@ -2307,7 +2309,7 @@ const ke = T1.forwardRef(({
2307
2309
  minLength: A,
2308
2310
  onBlur: u1,
2309
2311
  onFocus: p,
2310
- rules: w,
2312
+ rules: y,
2311
2313
  validateOn: R,
2312
2314
  width: J = "fill",
2313
2315
  className: k1 = "",
@@ -2319,18 +2321,18 @@ const ke = T1.forwardRef(({
2319
2321
  onPhoneChange: r1,
2320
2322
  validateDocument: Z = !0
2321
2323
  }, Q) => {
2322
- var at;
2323
- const j = ie(), b = N ?? j, e1 = `${b}-hint`, I = (t == null ? void 0 : t.trim()) ?? (s === "email" ? "E-mail" : s === "password" ? "Senha" : s === "cpf" ? "CPF" : s === "cnpj" ? "CNPJ" : s === "cpf-cnpj" ? "CPF ou CNPJ" : s === "cep" ? "CEP" : s === "date" ? "Data" : s === "birthdate" ? "Data de nascimento" : s === "tel" ? "Telefone" : s === "cel" ? "Celular" : ""), c1 = T ?? (s === "date" || s === "birthdate" ? "dd/mm/aaaa" : void 0), [l1, _1] = D(l ?? ""), [G, F1] = D(!1), [S1, J1] = D(!1), [H1, E1] = D(""), [ee, L1] = D(null), [x1, j1] = D(() => (z ?? fe.code).toLowerCase());
2324
+ var ct;
2325
+ const j = ie(), b = N ?? j, e1 = `${b}-hint`, I = (t == null ? void 0 : t.trim()) ?? (s === "email" ? "E-mail" : s === "password" ? "Senha" : s === "cpf" ? "CPF" : s === "cnpj" ? "CNPJ" : s === "cpf-cnpj" ? "CPF ou CNPJ" : s === "cep" ? "CEP" : s === "date" ? "Data" : s === "birthdate" ? "Data de nascimento" : s === "tel" ? "Telefone" : s === "cel" ? "Celular" : ""), c1 = T ?? (s === "date" || s === "birthdate" ? "dd/mm/aaaa" : void 0), [l1, _1] = D(l ?? ""), [G, F1] = D(!1), [S1, J1] = D(!1), [H1, E1] = D(""), [ee, L1] = D(null), [x1, j1] = D(() => (z ?? Ce.code).toLowerCase());
2324
2326
  i1(() => {
2325
- j1((z ?? fe.code).toLowerCase());
2327
+ j1((z ?? Ce.code).toLowerCase());
2326
2328
  }, [z]);
2327
- const $1 = Hn(o1), P1 = Pe(() => En($1), [$1]), m1 = P1.find((M) => M.code === x1) ?? ($1 || x1 === fe.code ? fe : { code: x1, ddi: "", name: x1.toUpperCase() }), [D1, g1] = D(null), { validateOn: G1, submitted: me } = O5(), X1 = R ?? G1, [pe, O1] = D(void 0), [C1, B1] = D(!1), K1 = a1(null), le = a1(null), Q1 = `${b}-countries`, I1 = a1(null), We = a1(null), Me = a1(null), oe = a1(null), [ae, te] = D(null), [xe, ye] = D(!1), ce = o * B2 + An, De = (M) => Math.max(ce, Math.round(M)), He = () => {
2329
+ const $1 = Hn(o1), P1 = Pe(() => En($1), [$1]), m1 = P1.find((M) => M.code === x1) ?? ($1 || x1 === Ce.code ? Ce : { code: x1, ddi: "", name: x1.toUpperCase() }), [D1, g1] = D(null), { validateOn: G1, submitted: me } = O5(), X1 = R ?? G1, [pe, O1] = D(void 0), [C1, B1] = D(!1), K1 = a1(null), le = a1(null), Q1 = `${b}-countries`, I1 = a1(null), We = a1(null), Me = a1(null), ae = a1(null), [ce, te] = D(null), [xe, ye] = D(!1), de = o * T2 + An, De = (M) => Math.max(de, Math.round(M)), He = () => {
2328
2330
  var M;
2329
- return ae ?? (((M = Me.current) == null ? void 0 : M.getBoundingClientRect().height) || ce);
2331
+ return ce ?? (((M = Me.current) == null ? void 0 : M.getBoundingClientRect().height) || de);
2330
2332
  };
2331
2333
  i1(() => () => {
2332
2334
  var M;
2333
- return (M = oe.current) == null ? void 0 : M.call(oe);
2335
+ return (M = ae.current) == null ? void 0 : M.call(ae);
2334
2336
  }, []);
2335
2337
  const Ie = (M) => {
2336
2338
  if (M.button !== 0) return;
@@ -2340,14 +2342,14 @@ const ke = T1.forwardRef(({
2340
2342
  const Z1 = (z1) => {
2341
2343
  te(De(v1 + z1.clientY - f1));
2342
2344
  }, b1 = () => {
2343
- oe.current = null, ye(!1), document.removeEventListener("pointermove", Z1), document.removeEventListener("pointerup", b1), document.removeEventListener("pointercancel", b1);
2345
+ ae.current = null, ye(!1), document.removeEventListener("pointermove", Z1), document.removeEventListener("pointerup", b1), document.removeEventListener("pointercancel", b1);
2344
2346
  };
2345
- oe.current = b1, document.addEventListener("pointermove", Z1), document.addEventListener("pointerup", b1), document.addEventListener("pointercancel", b1);
2347
+ ae.current = b1, document.addEventListener("pointermove", Z1), document.addEventListener("pointerup", b1), document.addEventListener("pointercancel", b1);
2346
2348
  }, x = (M) => {
2347
2349
  const v1 = {
2348
- ArrowDown: () => He() + B2,
2349
- ArrowUp: () => He() - B2,
2350
- Home: () => ce
2350
+ ArrowDown: () => He() + T2,
2351
+ ArrowUp: () => He() - T2,
2352
+ Home: () => de
2351
2353
  }[M.key];
2352
2354
  v1 && (M.preventDefault(), te(De(v1())));
2353
2355
  }, t1 = A1((M) => {
@@ -2355,16 +2357,16 @@ const ke = T1.forwardRef(({
2355
2357
  }, [Q]), Y = n !== void 0, d1 = Y ? n : l1, V1 = !!d1, re = A1((M) => {
2356
2358
  var b1;
2357
2359
  let v1 = parseFloat(d1 || "0") + M * L;
2358
- h !== void 0 && (v1 = Math.max(h, v1)), _ !== void 0 && (v1 = Math.min(_, v1));
2360
+ C !== void 0 && (v1 = Math.max(C, v1)), _ !== void 0 && (v1 = Math.min(_, v1));
2359
2361
  const Z1 = String(v1);
2360
2362
  if (Y || _1(Z1), r && I1.current) {
2361
2363
  const z1 = (b1 = Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype, "value")) == null ? void 0 : b1.set;
2362
2364
  z1 == null || z1.call(I1.current, Z1), I1.current.dispatchEvent(new Event("input", { bubbles: !0 }));
2363
2365
  }
2364
- }, [d1, L, h, _, Y, r]), ne = s === "tel" || s === "cel", de = s === "cel" ? "cel" : "tel", Ee = (() => {
2366
+ }, [d1, L, C, _, Y, r]), ne = s === "tel" || s === "cel", ue = s === "cel" ? "cel" : "tel", Ee = (() => {
2365
2367
  const M = Y ? n ?? "" : l1;
2366
- return ne && ee !== null ? ee : ne ? Bn(M, m1, $1) : R2.includes(s) ? xt(M, s) : M;
2367
- })(), Ae = $ != null && $.length ? P1.filter((M) => $.includes(M.code)) : F != null && F.length ? P1.filter((M) => !F.includes(M.code)) : P1, g = Sn(Ae, H1), s1 = !H1.trim() && ((at = g[0]) == null ? void 0 : at.code) === fe.code && g.length > 1, p1 = (M) => {
2368
+ return ne && ee !== null ? ee : ne ? Bn(M, m1, $1) : B2.includes(s) ? xt(M, s) : M;
2369
+ })(), Ae = $ != null && $.length ? P1.filter((M) => $.includes(M.code)) : F != null && F.length ? P1.filter((M) => !F.includes(M.code)) : P1, g = Sn(Ae, H1), s1 = !H1.trim() && ((ct = g[0]) == null ? void 0 : ct.code) === Ce.code && g.length > 1, p1 = (M) => {
2368
2370
  var Z1;
2369
2371
  let f1 = M.target.value;
2370
2372
  const v1 = (Z1 = Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype, "value")) == null ? void 0 : Z1.set;
@@ -2375,12 +2377,12 @@ const ke = T1.forwardRef(({
2375
2377
  !ve || !Le ? (L1($n(f1, $1)), f1 = "") : (L1(null), Le.code !== m1.code && (j1(Le.code), q == null || q(Le)), b1 = Le, f1 = ve.national);
2376
2378
  } else ee !== null && L1(null);
2377
2379
  const z1 = Rn(f1, b1, $1);
2378
- v1 == null || v1.call(M.target, z1), f1 = z1, r1 == null || r1(Mt(z1, b1, $1, de));
2379
- } else if (R2.includes(s)) {
2380
+ v1 == null || v1.call(M.target, z1), f1 = z1, r1 == null || r1(Mt(z1, b1, $1, ue));
2381
+ } else if (B2.includes(s)) {
2380
2382
  const b1 = xt(f1, s).replace(/\D/g, "");
2381
2383
  v1 == null || v1.call(M.target, b1), f1 = b1;
2382
2384
  }
2383
- Y || _1(f1), D1 && g1(null), r == null || r(M), w != null && w.length && (X1 === "change" || C1) && R1(f1);
2385
+ Y || _1(f1), D1 && g1(null), r == null || r(M), y != null && y.length && (X1 === "change" || C1) && R1(f1);
2384
2386
  }, M1 = (M) => {
2385
2387
  var Z1;
2386
2388
  u1 == null || u1(M);
@@ -2389,7 +2391,7 @@ const ke = T1.forwardRef(({
2389
2391
  const b1 = (Z1 = Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype, "value")) == null ? void 0 : Z1.set;
2390
2392
  b1 == null || b1.call(M.target, f1), M.target.dispatchEvent(new Event("input", { bubbles: !0 })), Y || _1(f1), r == null || r({ ...M, target: { ...M.target, value: f1 } });
2391
2393
  }
2392
- if (w != null && w.length && (B1(!0), X1 === "blur" && R1(d1)), ne && ee !== null && a === "none") {
2394
+ if (y != null && y.length && (B1(!0), X1 === "blur" && R1(d1)), ne && ee !== null && a === "none") {
2393
2395
  g1(s === "cel" ? "Celular inválido" : "Telefone inválido");
2394
2396
  return;
2395
2397
  }
@@ -2403,11 +2405,11 @@ const ke = T1.forwardRef(({
2403
2405
  g1("E-mail inválido");
2404
2406
  return;
2405
2407
  }
2406
- if (s === "tel" && !P2(d1, m1, $1, "tel")) {
2408
+ if (s === "tel" && !O2(d1, m1, $1, "tel")) {
2407
2409
  g1("Telefone inválido");
2408
2410
  return;
2409
2411
  }
2410
- if (s === "cel" && !P2(d1, m1, $1, "cel")) {
2412
+ if (s === "cel" && !O2(d1, m1, $1, "cel")) {
2411
2413
  g1("Celular inválido");
2412
2414
  return;
2413
2415
  }
@@ -2454,30 +2456,30 @@ const ke = T1.forwardRef(({
2454
2456
  g1(null);
2455
2457
  }, [s]);
2456
2458
  const R1 = A1((M) => {
2457
- if (!(w != null && w.length)) return;
2458
- const f1 = w.find((v1) => !v1.valid(M));
2459
+ if (!(y != null && y.length)) return;
2460
+ const f1 = y.find((v1) => !v1.valid(M));
2459
2461
  O1((f1 == null ? void 0 : f1.message) ?? void 0);
2460
- }, [w]);
2462
+ }, [y]);
2461
2463
  i1(() => {
2462
2464
  O1(void 0), B1(!1);
2463
- }, [s, w]), i1(() => {
2464
- if (!me || !(w != null && w.length)) return;
2465
+ }, [s, y]), i1(() => {
2466
+ if (!me || !(y != null && y.length)) return;
2465
2467
  B1(!0);
2466
- const M = Y ? n ?? "" : l1, f1 = w.find((v1) => !v1.valid(M));
2468
+ const M = Y ? n ?? "" : l1, f1 = y.find((v1) => !v1.valid(M));
2467
2469
  O1((f1 == null ? void 0 : f1.message) ?? void 0);
2468
2470
  }, [me]);
2469
- const ue = (M) => {
2471
+ const fe = (M) => {
2470
2472
  var f1;
2471
2473
  J1(!1), E1(""), M && ((f1 = le.current) == null || f1.focus());
2472
2474
  }, Se = (M) => {
2473
2475
  var v1;
2474
2476
  const f1 = M.code !== m1.code;
2475
- if (j1(M.code), L1(null), ue(!1), f1) {
2477
+ if (j1(M.code), L1(null), fe(!1), f1) {
2476
2478
  if (g1(null), O1(void 0), B1(!1), Y || _1(""), I1.current) {
2477
2479
  const Z1 = (v1 = Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype, "value")) == null ? void 0 : v1.set;
2478
2480
  Z1 == null || Z1.call(I1.current, ""), r == null || r({ target: I1.current }), I1.current.focus();
2479
2481
  }
2480
- r1 == null || r1(Mt("", M, $1, de));
2482
+ r1 == null || r1(Mt("", M, $1, ue));
2481
2483
  }
2482
2484
  q == null || q(M);
2483
2485
  }, Fe = (M) => {
@@ -2486,7 +2488,7 @@ const ke = T1.forwardRef(({
2486
2488
  if (!f1) return;
2487
2489
  const v1 = Array.from(f1.querySelectorAll('[role="option"]')), Z1 = f1.querySelector(".kdls-phone-dropdown__search-input"), b1 = v1.indexOf(document.activeElement);
2488
2490
  if (M.key === "Escape") {
2489
- M.preventDefault(), ue(!0);
2491
+ M.preventDefault(), fe(!0);
2490
2492
  return;
2491
2493
  }
2492
2494
  if (M.key === "ArrowDown") {
@@ -2527,7 +2529,7 @@ const ke = T1.forwardRef(({
2527
2529
  };
2528
2530
  return document.addEventListener("mousedown", M), () => document.removeEventListener("mousedown", M);
2529
2531
  }, []);
2530
- const je = y !== void 0 && d1.length >= y, B5 = je ? `Limite de ${y} caracteres atingido` : void 0, o2 = H ? "none" : je || pe || D1 && a === "none" ? "error" : a, Ye = B5 ?? pe ?? c ?? D1 ?? void 0, T5 = [
2532
+ const je = w !== void 0 && d1.length >= w, B5 = je ? `Limite de ${w} caracteres atingido` : void 0, o2 = H ? "none" : je || pe || D1 && a === "none" ? "error" : a, Ye = B5 ?? pe ?? c ?? D1 ?? void 0, T5 = [
2531
2533
  "kdls-input",
2532
2534
  `kdls-input--feedback-${o2}`,
2533
2535
  V1 ? "kdls-input--filled" : "",
@@ -2537,7 +2539,7 @@ const ke = T1.forwardRef(({
2537
2539
  s === "textbox" ? "kdls-input--textbox" : "",
2538
2540
  xe ? "kdls-input--resizing" : "",
2539
2541
  k1
2540
- ].filter(Boolean).join(" "), ot = /* @__PURE__ */ u("div", { className: `kdls-input-wrapper${H ? " kdls-input-wrapper--disabled" : ""}`, children: [
2542
+ ].filter(Boolean).join(" "), at = /* @__PURE__ */ u("div", { className: `kdls-input-wrapper${H ? " kdls-input-wrapper--disabled" : ""}`, children: [
2541
2543
  /* @__PURE__ */ u(
2542
2544
  "div",
2543
2545
  {
@@ -2545,8 +2547,8 @@ const ke = T1.forwardRef(({
2545
2547
  className: T5,
2546
2548
  "aria-busy": E || void 0,
2547
2549
  style: s === "textbox" ? {
2548
- "--kdls-textarea-min-height": `${ce}px`,
2549
- ...ae !== null ? { "--kdls-textarea-height": `${ae}px` } : {}
2550
+ "--kdls-textarea-min-height": `${de}px`,
2551
+ ...ce !== null ? { "--kdls-textarea-height": `${ce}px` } : {}
2550
2552
  } : void 0,
2551
2553
  children: [
2552
2554
  o1 && /* @__PURE__ */ u(
@@ -2555,7 +2557,7 @@ const ke = T1.forwardRef(({
2555
2557
  ref: le,
2556
2558
  type: "button",
2557
2559
  className: "kdls-input__country",
2558
- onClick: () => S1 ? ue(!1) : J1(!0),
2560
+ onClick: () => S1 ? fe(!1) : J1(!0),
2559
2561
  disabled: H,
2560
2562
  "aria-label": "Selecionar país",
2561
2563
  "aria-haspopup": "listbox",
@@ -2601,7 +2603,7 @@ const ke = T1.forwardRef(({
2601
2603
  readOnly: K,
2602
2604
  tabIndex: S,
2603
2605
  minLength: A,
2604
- maxLength: y,
2606
+ maxLength: w,
2605
2607
  value: Y ? n : l1,
2606
2608
  onChange: (M) => {
2607
2609
  Y || _1(M.target.value), r && r(M);
@@ -2622,14 +2624,14 @@ const ke = T1.forwardRef(({
2622
2624
  ref: t1,
2623
2625
  id: b,
2624
2626
  className: "kdls-input__native",
2625
- type: s === "password" ? G ? "text" : "password" : R2.includes(s) ? "text" : s ?? "text",
2627
+ type: s === "password" ? G ? "text" : "password" : B2.includes(s) ? "text" : s ?? "text",
2626
2628
  name: V,
2627
2629
  autoComplete: O,
2628
2630
  readOnly: K || E,
2629
2631
  tabIndex: S,
2630
2632
  pattern: U,
2631
2633
  minLength: A,
2632
- maxLength: y,
2634
+ maxLength: w,
2633
2635
  value: Ee,
2634
2636
  onChange: p1,
2635
2637
  onBlur: M1,
@@ -2637,7 +2639,7 @@ const ke = T1.forwardRef(({
2637
2639
  onKeyDown: i,
2638
2640
  disabled: H,
2639
2641
  required: !H && W,
2640
- min: s === "number" ? h : void 0,
2642
+ min: s === "number" ? C : void 0,
2641
2643
  max: s === "number" ? _ : void 0,
2642
2644
  step: s === "number" ? L : void 0,
2643
2645
  "aria-required": !H && W ? !0 : void 0,
@@ -2679,8 +2681,8 @@ const ke = T1.forwardRef(({
2679
2681
  role: "separator",
2680
2682
  "aria-orientation": "horizontal",
2681
2683
  "aria-label": "Redimensionar campo",
2682
- "aria-valuemin": ce,
2683
- "aria-valuenow": ae ?? ce,
2684
+ "aria-valuemin": de,
2685
+ "aria-valuenow": ce ?? de,
2684
2686
  tabIndex: 0,
2685
2687
  onPointerDown: Ie,
2686
2688
  onKeyDown: x,
@@ -2705,13 +2707,13 @@ const ke = T1.forwardRef(({
2705
2707
  type: "button",
2706
2708
  className: "kdls-input__spinner-btn",
2707
2709
  onClick: () => re(-1),
2708
- disabled: H || h !== void 0 && parseFloat(d1 || "0") <= h,
2710
+ disabled: H || C !== void 0 && parseFloat(d1 || "0") <= C,
2709
2711
  tabIndex: -1,
2710
2712
  children: /* @__PURE__ */ e("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", children: /* @__PURE__ */ e("path", { d: "M2.5 4.5L6 8L9.5 4.5", stroke: "currentColor", strokeWidth: "1", strokeLinecap: "round", strokeLinejoin: "round" }) })
2711
2713
  }
2712
2714
  )
2713
2715
  ] }),
2714
- C !== void 0 && C > 0 && /* @__PURE__ */ e(v5, { size: 24, variant: "primary", count: C, showPlus: !0 }),
2716
+ h !== void 0 && h > 0 && /* @__PURE__ */ e(v5, { size: 24, variant: "primary", count: h, showPlus: !0 }),
2715
2717
  E && !H ? /* @__PURE__ */ e("span", { className: "kdls-input__icon kdls-input__icon--right", "aria-hidden": "true", children: /* @__PURE__ */ e(qe, { size: "sm" }) }) : m ? /* @__PURE__ */ e(
2716
2718
  "span",
2717
2719
  {
@@ -2732,12 +2734,12 @@ const ke = T1.forwardRef(({
2732
2734
  ]
2733
2735
  }
2734
2736
  ),
2735
- (Ye || B && y !== void 0) && /* @__PURE__ */ u("div", { className: "kdls-input__hint-row", children: [
2737
+ (Ye || B && w !== void 0) && /* @__PURE__ */ u("div", { className: "kdls-input__hint-row", children: [
2736
2738
  Ye && /* @__PURE__ */ e("span", { id: e1, className: ["kdls-input__hint", `kdls-input__hint--${o2}`, H ? "kdls-input__hint--disabled" : ""].filter(Boolean).join(" "), children: Ye }),
2737
- B && y !== void 0 && /* @__PURE__ */ u("span", { className: "kdls-input__count", children: [
2739
+ B && w !== void 0 && /* @__PURE__ */ u("span", { className: "kdls-input__count", children: [
2738
2740
  d1.length,
2739
2741
  " / ",
2740
- y
2742
+ w
2741
2743
  ] })
2742
2744
  ] })
2743
2745
  ] }), V5 = S1 && /* @__PURE__ */ u("div", { className: "kdls-phone-dropdown", ref: K1, onKeyDown: Fe, children: [
@@ -2812,9 +2814,9 @@ const ke = T1.forwardRef(({
2812
2814
  destroyOnClose: !0,
2813
2815
  className: "kdls-input__floating",
2814
2816
  content: V5,
2815
- children: ot
2817
+ children: at
2816
2818
  }
2817
- ) : ot
2819
+ ) : at
2818
2820
  }
2819
2821
  );
2820
2822
  });
@@ -2854,13 +2856,13 @@ function u2(t) {
2854
2856
  const l = parseInt(n.slice(0, 6), 16);
2855
2857
  return isNaN(l) ? null : [l >> 16 & 255, l >> 8 & 255, l & 255];
2856
2858
  }
2857
- function T2(t) {
2859
+ function V2(t) {
2858
2860
  const n = t.replace("#", "");
2859
2861
  if (n.length !== 8) return null;
2860
2862
  const l = parseInt(n.slice(6, 8), 16);
2861
2863
  return isNaN(l) ? null : Math.round(l / 255 * 100);
2862
2864
  }
2863
- function V2(t) {
2865
+ function $2(t) {
2864
2866
  return Math.round(t / 100 * 255).toString(16).padStart(2, "0").toUpperCase();
2865
2867
  }
2866
2868
  function Ze(t, n, l) {
@@ -2892,25 +2894,25 @@ const c7 = ({
2892
2894
  disabled: o = !1,
2893
2895
  className: a = ""
2894
2896
  }) => {
2895
- const [c, f] = D(!1), m = u2(l ?? "") ?? [41, 142, 230], d = Ze(...m), k = T2(l ?? "") ?? 100, [C, v] = D(d[0]), [h, _] = D(d[1]), [L, y] = D(d[2]), [B, H] = D(k), [E, W] = D(
2896
- (l ?? "").replace("#", "").slice(0, 6).toUpperCase() + (s ? "" : V2(k))
2897
- ), T = a1(null), P = a1(null), N = a1(null), [V, O, K] = jn(C, h, L), S = Pn(V, O, K), U = a1(l);
2897
+ const [c, f] = D(!1), m = u2(l ?? "") ?? [41, 142, 230], d = Ze(...m), k = V2(l ?? "") ?? 100, [h, v] = D(d[0]), [C, _] = D(d[1]), [L, w] = D(d[2]), [B, H] = D(k), [E, W] = D(
2898
+ (l ?? "").replace("#", "").slice(0, 6).toUpperCase() + (s ? "" : $2(k))
2899
+ ), T = a1(null), P = a1(null), N = a1(null), [V, O, K] = jn(h, C, L), S = Pn(V, O, K), U = a1(l);
2898
2900
  i1(() => {
2899
2901
  if (l === U.current) return;
2900
2902
  U.current = l;
2901
2903
  const z = u2(l ?? "") ?? [41, 142, 230], $ = Ze(...z);
2902
- v($[0]), _($[1]), y($[2]);
2903
- const F = T2(l ?? "") ?? 100;
2904
+ v($[0]), _($[1]), w($[2]);
2905
+ const F = V2(l ?? "") ?? 100;
2904
2906
  H(F);
2905
2907
  }, [l]), i1(() => {
2906
2908
  const z = S.replace("#", "");
2907
- W(s ? z : z + V2(B));
2909
+ W(s ? z : z + $2(B));
2908
2910
  }, [S, B, s]);
2909
2911
  const A = A1((z) => {
2910
2912
  const $ = T.current;
2911
2913
  if (!$) return;
2912
2914
  const F = $.getBoundingClientRect(), q = Math.max(0, Math.min(1, (z.clientX - F.left) / F.width)), r1 = Math.max(0, Math.min(1, (z.clientY - F.top) / F.height));
2913
- _(Math.round(q * 100)), y(Math.round((1 - r1) * 100));
2915
+ _(Math.round(q * 100)), w(Math.round((1 - r1) * 100));
2914
2916
  }, []), u1 = A1((z) => {
2915
2917
  const $ = P.current;
2916
2918
  if (!$) return;
@@ -2921,7 +2923,7 @@ const c7 = ({
2921
2923
  if (!$) return;
2922
2924
  const F = $.getBoundingClientRect(), q = Math.max(0, Math.min(1, (z.clientX - F.left) / F.width));
2923
2925
  H(Math.round(q * 100));
2924
- }, []), w = (z) => ($) => {
2926
+ }, []), y = (z) => ($) => {
2925
2927
  z($.nativeEvent);
2926
2928
  const F = (r1) => z(r1), q = () => {
2927
2929
  window.removeEventListener("mousemove", F), window.removeEventListener("mouseup", q);
@@ -2932,14 +2934,14 @@ const c7 = ({
2932
2934
  const $ = u2(z);
2933
2935
  if ($) {
2934
2936
  const F = Ze(...$);
2935
- v(F[0]), _(F[1]), y(F[2]);
2937
+ v(F[0]), _(F[1]), w(F[2]);
2936
2938
  }
2937
2939
  if (!s) {
2938
- const F = T2(z);
2940
+ const F = V2(z);
2939
2941
  F !== null && H(F);
2940
2942
  }
2941
2943
  }, J = () => {
2942
- r == null || r(s ? S : S + V2(B)), f(!1);
2944
+ r == null || r(s ? S : S + $2(B)), f(!1);
2943
2945
  }, k1 = async () => {
2944
2946
  if (!("EyeDropper" in window)) return;
2945
2947
  const z = new window.EyeDropper();
@@ -2947,7 +2949,7 @@ const c7 = ({
2947
2949
  const $ = await z.open(), F = u2($.sRGBHex);
2948
2950
  if (F) {
2949
2951
  const q = Ze(...F);
2950
- v(q[0]), _(q[1]), y(q[2]);
2952
+ v(q[0]), _(q[1]), w(q[2]);
2951
2953
  }
2952
2954
  } catch {
2953
2955
  }
@@ -2986,13 +2988,13 @@ const c7 = ({
2986
2988
  {
2987
2989
  ref: T,
2988
2990
  className: "kdls-colorpicker__canvas",
2989
- style: { "--cp-hue": C },
2990
- onMouseDown: w(A),
2991
+ style: { "--cp-hue": h },
2992
+ onMouseDown: y(A),
2991
2993
  children: /* @__PURE__ */ e(
2992
2994
  "div",
2993
2995
  {
2994
2996
  className: "kdls-colorpicker__handle",
2995
- style: { left: `${h}%`, top: `${100 - L}%` }
2997
+ style: { left: `${C}%`, top: `${100 - L}%` }
2996
2998
  }
2997
2999
  )
2998
3000
  }
@@ -3013,8 +3015,8 @@ const c7 = ({
3013
3015
  {
3014
3016
  ref: P,
3015
3017
  className: "kdls-colorpicker__slider kdls-colorpicker__slider--hue",
3016
- onMouseDown: w(u1),
3017
- children: /* @__PURE__ */ e("div", { className: "kdls-colorpicker__slider-thumb", style: { left: `${C / 360 * 100}%` } })
3018
+ onMouseDown: y(u1),
3019
+ children: /* @__PURE__ */ e("div", { className: "kdls-colorpicker__slider-thumb", style: { left: `${h / 360 * 100}%` } })
3018
3020
  }
3019
3021
  ),
3020
3022
  !s && /* @__PURE__ */ e(
@@ -3023,7 +3025,7 @@ const c7 = ({
3023
3025
  ref: N,
3024
3026
  className: "kdls-colorpicker__slider kdls-colorpicker__slider--opacity",
3025
3027
  style: { "--cp-hex": S },
3026
- onMouseDown: w(p),
3028
+ onMouseDown: y(p),
3027
3029
  children: /* @__PURE__ */ e("div", { className: "kdls-colorpicker__slider-thumb", style: { left: `${B}%` } })
3028
3030
  }
3029
3031
  )
@@ -3032,15 +3034,15 @@ const c7 = ({
3032
3034
  /* @__PURE__ */ u("div", { className: `kdls-colorpicker__input-group${s ? "" : " kdls-colorpicker__input-group--rgba"}`, children: [
3033
3035
  /* @__PURE__ */ e(ke, { label: "R", value: String(V), onChange: (z) => {
3034
3036
  const $ = Math.max(0, Math.min(255, Number(z.target.value) || 0)), F = Ze($, O, K);
3035
- v(F[0]), _(F[1]), y(F[2]);
3037
+ v(F[0]), _(F[1]), w(F[2]);
3036
3038
  } }),
3037
3039
  /* @__PURE__ */ e(ke, { label: "G", value: String(O), onChange: (z) => {
3038
3040
  const $ = Math.max(0, Math.min(255, Number(z.target.value) || 0)), F = Ze(V, $, K);
3039
- v(F[0]), _(F[1]), y(F[2]);
3041
+ v(F[0]), _(F[1]), w(F[2]);
3040
3042
  } }),
3041
3043
  /* @__PURE__ */ e(ke, { label: "B", value: String(K), onChange: (z) => {
3042
3044
  const $ = Math.max(0, Math.min(255, Number(z.target.value) || 0)), F = Ze(V, O, $);
3043
- v(F[0]), _(F[1]), y(F[2]);
3045
+ v(F[0]), _(F[1]), w(F[2]);
3044
3046
  } }),
3045
3047
  !s && /* @__PURE__ */ e(ke, { label: "A", value: String(Math.round(B / 100 * 255)), onChange: (z) => {
3046
3048
  const $ = Math.max(0, Math.min(255, Number(z.target.value) || 0));
@@ -3084,7 +3086,7 @@ const c7 = ({
3084
3086
  isLoading: m = !1,
3085
3087
  disabled: d = !1,
3086
3088
  "aria-label": k,
3087
- className: C = "",
3089
+ className: h = "",
3088
3090
  ...v
3089
3091
  }) => /* @__PURE__ */ u(
3090
3092
  "button",
@@ -3102,7 +3104,7 @@ const c7 = ({
3102
3104
  d ? "kdls-pill--disabled" : "",
3103
3105
  m && !d ? "kdls-pill--loading" : "",
3104
3106
  s !== "hug" ? `kdls-pill--${s}` : "",
3105
- C
3107
+ h
3106
3108
  ].filter(Boolean).join(" "),
3107
3109
  children: [
3108
3110
  r && /* @__PURE__ */ e("span", { className: "kdls-pill__icon", "aria-hidden": "true", children: /* @__PURE__ */ e(n1, { icon: r }) }),
@@ -3116,11 +3118,11 @@ const c7 = ({
3116
3118
  role: o ? "button" : void 0,
3117
3119
  tabIndex: o ? 0 : void 0,
3118
3120
  "aria-label": o ? a : void 0,
3119
- onClick: o ? (h) => {
3120
- h.stopPropagation(), o();
3121
+ onClick: o ? (C) => {
3122
+ C.stopPropagation(), o();
3121
3123
  } : void 0,
3122
- onKeyDown: o ? (h) => {
3123
- (h.key === "Enter" || h.key === " ") && (h.preventDefault(), h.stopPropagation(), o());
3124
+ onKeyDown: o ? (C) => {
3125
+ (C.key === "Enter" || C.key === " ") && (C.preventDefault(), C.stopPropagation(), o());
3124
3126
  } : void 0,
3125
3127
  children: /* @__PURE__ */ e(n1, { icon: i })
3126
3128
  }
@@ -3154,12 +3156,12 @@ const c7 = ({
3154
3156
  timeIntervals: m,
3155
3157
  filterTime: d,
3156
3158
  excludeTimes: k,
3157
- includeTimes: C,
3159
+ includeTimes: h,
3158
3160
  defaultViewDate: v,
3159
- zIndex: h,
3161
+ zIndex: C,
3160
3162
  isRange: _ = !1,
3161
3163
  hasTime: L = !1,
3162
- onlyTime: y = !1,
3164
+ onlyTime: w = !1,
3163
3165
  disableToday: B = !1,
3164
3166
  disablePast: H = !1,
3165
3167
  disableFuture: E = !1,
@@ -3171,21 +3173,21 @@ const c7 = ({
3171
3173
  required: O = !1,
3172
3174
  className: K = ""
3173
3175
  }, S) => {
3174
- const U = _ ? !1 : L, A = _ ? !1 : y, u1 = _ ? r : void 0, p = (u1 == null ? void 0 : u1.start) ?? null, w = (u1 == null ? void 0 : u1.end) ?? null, R = _ ? null : r ?? null, J = /* @__PURE__ */ new Date(), [k1, o1] = D(!1), z = a1(null);
3176
+ const U = _ ? !1 : L, A = _ ? !1 : w, u1 = _ ? r : void 0, p = (u1 == null ? void 0 : u1.start) ?? null, y = (u1 == null ? void 0 : u1.end) ?? null, R = _ ? null : r ?? null, J = /* @__PURE__ */ new Date(), [k1, o1] = D(!1), z = a1(null);
3175
3177
  $5(S, () => z.current);
3176
3178
  const $ = (x) => String(x).padStart(2, "0"), F = (x) => `${$(x.getHours())}:${$(x.getMinutes())}`, q = (() => {
3177
3179
  if (_) {
3178
3180
  if (!p) return "";
3179
- if (!w) return `${Ge(p)} — ...`;
3180
- const x = p.getFullYear() === w.getFullYear();
3181
- if (x && p.getMonth() === w.getMonth()) {
3181
+ if (!y) return `${Ge(p)} — ...`;
3182
+ const x = p.getFullYear() === y.getFullYear();
3183
+ if (x && p.getMonth() === y.getMonth()) {
3182
3184
  const Y = new Date(p.getFullYear(), p.getMonth() + 1, 0).getDate();
3183
- return p.getDate() === 1 && w.getDate() === Y ? `${St[p.getMonth()]} ${p.getFullYear()}` : `${$(p.getDate())} — ${$(w.getDate())} ${h2[p.getMonth()]} ${p.getFullYear()}`;
3185
+ return p.getDate() === 1 && y.getDate() === Y ? `${St[p.getMonth()]} ${p.getFullYear()}` : `${$(p.getDate())} — ${$(y.getDate())} ${h2[p.getMonth()]} ${p.getFullYear()}`;
3184
3186
  }
3185
- return x ? `${$(p.getDate())} ${h2[p.getMonth()]} — ${$(w.getDate())} ${h2[w.getMonth()]} ${w.getFullYear()}` : `${Ge(p)} — ${Ge(w)}`;
3187
+ return x ? `${$(p.getDate())} ${h2[p.getMonth()]} — ${$(y.getDate())} ${h2[y.getMonth()]} ${y.getFullYear()}` : `${Ge(p)} — ${Ge(y)}`;
3186
3188
  }
3187
3189
  return R ? A ? F(R) : U ? `${Ge(R)} — ${F(R)}` : Ge(R) : "";
3188
- })(), r1 = _ ? "Período" : "Data", Z = !!q, Q = A ? /* @__PURE__ */ e(U0, {}) : /* @__PURE__ */ e(V0, {}), j = _ ? p ? w ? `${p.toISOString()}/${w.toISOString()}` : p.toISOString() : "" : R ? R.toISOString() : "", b = new Date(J.getFullYear(), J.getMonth(), J.getDate()), e1 = s && H ? s.getTime() > b.getTime() ? s : b : s ?? (H ? b : void 0), I = o && E ? o.getTime() < b.getTime() ? o : b : o ?? (E ? b : void 0), c1 = (x, t1) => x.getFullYear() === t1.getFullYear() && x.getMonth() === t1.getMonth() && x.getDate() === t1.getDate(), l1 = (x) => {
3190
+ })(), r1 = _ ? "Período" : "Data", Z = !!q, Q = A ? /* @__PURE__ */ e(U0, {}) : /* @__PURE__ */ e(V0, {}), j = _ ? p ? y ? `${p.toISOString()}/${y.toISOString()}` : p.toISOString() : "" : R ? R.toISOString() : "", b = new Date(J.getFullYear(), J.getMonth(), J.getDate()), e1 = s && H ? s.getTime() > b.getTime() ? s : b : s ?? (H ? b : void 0), I = o && E ? o.getTime() < b.getTime() ? o : b : o ?? (E ? b : void 0), c1 = (x, t1) => x.getFullYear() === t1.getFullYear() && x.getMonth() === t1.getMonth() && x.getDate() === t1.getDate(), l1 = (x) => {
3189
3191
  const t1 = new Date(x.getFullYear(), x.getMonth(), x.getDate()).getTime(), Y = e1 ? new Date(e1.getFullYear(), e1.getMonth(), e1.getDate()).getTime() : void 0, d1 = I ? new Date(I.getFullYear(), I.getMonth(), I.getDate()).getTime() : void 0;
3190
3192
  return !!(Y !== void 0 && t1 < Y || d1 !== void 0 && t1 > d1 || a && !a(x) || B && c1(x, J) || c && c.some((V1) => c1(V1, x)) || f && f.length > 0 && !f.some((V1) => c1(V1, x)));
3191
3193
  }, [_1, G] = D(null), F1 = !_1 && (U || A) && R ? R.getHours() : null, S1 = !_1 && (U || A) && R ? R.getMinutes() : null, J1 = [];
@@ -3215,7 +3217,7 @@ const c7 = ({
3215
3217
  if (V1 && c1(V1, I) && t1 > Y) return !0;
3216
3218
  }
3217
3219
  }
3218
- return !!(d && !d(x) || C && C.length > 0 && !C.some((Y) => Y.getHours() === x.getHours() && Y.getMinutes() === x.getMinutes()) || k != null && k.some((Y) => Y.getHours() === x.getHours() && Y.getMinutes() === x.getMinutes()));
3220
+ return !!(d && !d(x) || h && h.length > 0 && !h.some((Y) => Y.getHours() === x.getHours() && Y.getMinutes() === x.getMinutes()) || k != null && k.some((Y) => Y.getHours() === x.getHours() && Y.getMinutes() === x.getMinutes()));
3219
3221
  }, E1 = (x) => {
3220
3222
  const t1 = _1 ?? R ?? J, Y = new Date(t1.getFullYear(), t1.getMonth(), t1.getDate(), x.getHours(), x.getMinutes());
3221
3223
  G(null), i == null || i(Y), o1(!1);
@@ -3251,14 +3253,14 @@ const c7 = ({
3251
3253
  L1(new Date(x, D1, 1)), j1("month-grid");
3252
3254
  }, Me = (x) => {
3253
3255
  L1(new Date(m1, x, 1)), j1("calendar");
3254
- }, oe = () => {
3255
- L1(J), j1("calendar");
3256
3256
  }, ae = () => {
3257
+ L1(J), j1("calendar");
3258
+ }, ce = () => {
3257
3259
  _ ? i == null || i({ start: null, end: null }) : i == null || i(null), G(null), P1("start"), o1(!1);
3258
3260
  }, te = (x) => {
3259
3261
  var t1, Y;
3260
3262
  x.key === "Escape" && (x.preventDefault(), o1(!1), (Y = (t1 = z.current) == null ? void 0 : t1.querySelector('input:not([type="hidden"]), button')) == null || Y.focus());
3261
- }, xe = x1 === "year" ? `${O1} – ${O1 + 15}` : x1 === "month-grid" ? `${m1}` : `${St[D1]} ${m1}`, ye = x1 === "year" ? "Anos anteriores" : x1 === "month-grid" ? "Ano anterior" : "Mês anterior", ce = x1 === "year" ? "Próximos anos" : x1 === "month-grid" ? "Próximo ano" : "Próximo mês", De = () => /* @__PURE__ */ e("div", { className: "kdls-datepicker__time-list kdls-scroll kdls-scroll--thin", children: J1.map((x, t1) => {
3263
+ }, xe = x1 === "year" ? `${O1} – ${O1 + 15}` : x1 === "month-grid" ? `${m1}` : `${St[D1]} ${m1}`, ye = x1 === "year" ? "Anos anteriores" : x1 === "month-grid" ? "Ano anterior" : "Mês anterior", de = x1 === "year" ? "Próximos anos" : x1 === "month-grid" ? "Próximo ano" : "Próximo mês", De = () => /* @__PURE__ */ e("div", { className: "kdls-datepicker__time-list kdls-scroll kdls-scroll--thin", children: J1.map((x, t1) => {
3262
3264
  const Y = F1 === x.getHours() && S1 === x.getMinutes(), d1 = H1(x);
3263
3265
  return /* @__PURE__ */ u(
3264
3266
  "button",
@@ -3282,7 +3284,7 @@ const c7 = ({
3282
3284
  );
3283
3285
  }) }), He = A ? /* @__PURE__ */ u("div", { className: ["kdls-datepicker kdls-datepicker--only-time", W && "kdls-datepicker--disabled"].filter(Boolean).join(" "), onKeyDown: te, children: [
3284
3286
  /* @__PURE__ */ e("div", { className: "kdls-datepicker__time-panel", children: De() }),
3285
- /* @__PURE__ */ e("div", { className: "kdls-datepicker__footer", children: /* @__PURE__ */ e(y1, { type: "button", variant: "link", label: "Limpar", onClick: ae }) })
3287
+ /* @__PURE__ */ e("div", { className: "kdls-datepicker__footer", children: /* @__PURE__ */ e(y1, { type: "button", variant: "link", label: "Limpar", onClick: ce }) })
3286
3288
  ] }) : /* @__PURE__ */ u("div", { className: [
3287
3289
  "kdls-datepicker",
3288
3290
  W && "kdls-datepicker--disabled",
@@ -3306,16 +3308,16 @@ const c7 = ({
3306
3308
  ),
3307
3309
  /* @__PURE__ */ u("div", { className: "kdls-datepicker__nav", children: [
3308
3310
  /* @__PURE__ */ e(w1, { size: "md", icon: /* @__PURE__ */ e(c5, {}), variant: "neutral", "aria-label": ye, onClick: le }),
3309
- /* @__PURE__ */ e(w1, { size: "md", icon: /* @__PURE__ */ e(nt, {}), variant: "neutral", "aria-label": ce, onClick: Q1 })
3311
+ /* @__PURE__ */ e(w1, { size: "md", icon: /* @__PURE__ */ e(lt, {}), variant: "neutral", "aria-label": de, onClick: Q1 })
3310
3312
  ] })
3311
3313
  ] }),
3312
3314
  x1 === "calendar" ? /* @__PURE__ */ u(N1, { children: [
3313
3315
  /* @__PURE__ */ e("div", { className: "kdls-datepicker__weekdays", children: Kn.map((x, t1) => /* @__PURE__ */ e("span", { children: x }, t1)) }),
3314
3316
  /* @__PURE__ */ e("div", { className: "kdls-datepicker__grid", children: pe.map((x, t1) => /* @__PURE__ */ e("div", { className: "kdls-datepicker__week-row", children: x.map(({ date: Y, current: d1 }, V1) => {
3315
- const re = _1 ?? R, ne = !_ && !!re && B1(Y, re), de = _ && !!p && B1(Y, p), Ee = _ && !!w && B1(Y, w), Ae = _ && !!p && !!w && K1(Y, p, w), g = B1(Y, J), s1 = ne || de || Ee, p1 = l1(Y);
3317
+ const re = _1 ?? R, ne = !_ && !!re && B1(Y, re), ue = _ && !!p && B1(Y, p), Ee = _ && !!y && B1(Y, y), Ae = _ && !!p && !!y && K1(Y, p, y), g = B1(Y, J), s1 = ne || ue || Ee, p1 = l1(Y);
3316
3318
  return /* @__PURE__ */ e("div", { className: [
3317
3319
  "kdls-datepicker__day-wrap",
3318
- de && w ? "kdls-datepicker__day-wrap--range-start" : "",
3320
+ ue && y ? "kdls-datepicker__day-wrap--range-start" : "",
3319
3321
  Ee ? "kdls-datepicker__day-wrap--range-end" : "",
3320
3322
  Ae ? "kdls-datepicker__day-wrap--in-range" : ""
3321
3323
  ].filter(Boolean).join(" "), children: /* @__PURE__ */ e(
@@ -3368,8 +3370,8 @@ const c7 = ({
3368
3370
  );
3369
3371
  }) }),
3370
3372
  /* @__PURE__ */ u("div", { className: "kdls-datepicker__footer", children: [
3371
- /* @__PURE__ */ e(y1, { type: "button", variant: "link", label: "Limpar", onClick: ae }),
3372
- /* @__PURE__ */ e(y1, { type: "button", variant: "link", label: "Hoje", onClick: oe })
3373
+ /* @__PURE__ */ e(y1, { type: "button", variant: "link", label: "Limpar", onClick: ce }),
3374
+ /* @__PURE__ */ e(y1, { type: "button", variant: "link", label: "Hoje", onClick: ae })
3373
3375
  ] })
3374
3376
  ] });
3375
3377
  }
@@ -3393,7 +3395,7 @@ const c7 = ({
3393
3395
  open: k1,
3394
3396
  onOpenChange: W || T ? void 0 : o1,
3395
3397
  placement: "bottomLeft",
3396
- zIndex: h,
3398
+ zIndex: C,
3397
3399
  baseZIndex: 200,
3398
3400
  content: He,
3399
3401
  children: n === "pill" ? /* @__PURE__ */ e(
@@ -3402,7 +3404,7 @@ const c7 = ({
3402
3404
  label: q || (t ?? r1),
3403
3405
  iconLeft: Q,
3404
3406
  iconRight: Z ? /* @__PURE__ */ e(q1, {}) : /* @__PURE__ */ e(U1, {}),
3405
- onClickIconRight: Z ? ae : void 0,
3407
+ onClickIconRight: Z ? ce : void 0,
3406
3408
  width: l,
3407
3409
  disabled: W,
3408
3410
  isLoading: T
@@ -3417,7 +3419,7 @@ const c7 = ({
3417
3419
  readOnly: !0,
3418
3420
  iconLeft: Q,
3419
3421
  iconRight: Z ? /* @__PURE__ */ e(q1, {}) : /* @__PURE__ */ e(U1, {}),
3420
- onClickIconRight: Z ? ae : void 0,
3422
+ onClickIconRight: Z ? ce : void 0,
3421
3423
  disabled: W,
3422
3424
  isLoading: T,
3423
3425
  width: l,
@@ -3455,7 +3457,7 @@ const Un = ({
3455
3457
  "aria-orientation": t
3456
3458
  }
3457
3459
  );
3458
- function rt() {
3460
+ function st() {
3459
3461
  const [t, n] = D(() => window.innerWidth < 800);
3460
3462
  return i1(() => {
3461
3463
  const l = window.matchMedia("(max-width: 799px)"), r = (i) => n(i.matches);
@@ -3476,12 +3478,12 @@ const k2 = T1.forwardRef(({
3476
3478
  allSelectedLabel: m,
3477
3479
  selectAllPlacement: d = "header",
3478
3480
  filterOption: k = !0,
3479
- onSearch: C,
3481
+ onSearch: h,
3480
3482
  loading: v = !1,
3481
- isLoading: h = !1,
3483
+ isLoading: C = !1,
3482
3484
  onMenuScroll: _,
3483
3485
  showSelectAll: L = !1,
3484
- disabled: y = !1,
3486
+ disabled: w = !1,
3485
3487
  open: B,
3486
3488
  id: H,
3487
3489
  iconLeft: E,
@@ -3497,13 +3499,13 @@ const k2 = T1.forwardRef(({
3497
3499
  menuClassName: A = "",
3498
3500
  className: u1 = "",
3499
3501
  clearable: p = !0,
3500
- menuMaxHeight: w
3502
+ menuMaxHeight: y
3501
3503
  }, R) => {
3502
- const J = ie(), k1 = H ?? J, o1 = rt(), [z, $] = D(!1), [F, q] = D(""), [r1, Z] = D([]), Q = T === "input" && !o1, j = Q && c, b = a1(null), e1 = B !== void 0, I = e1 ? B : z, c1 = r !== void 0, [l1, _1] = D(i ?? (a ? [] : null)), G = c1 ? r : l1, F1 = (l == null ? void 0 : l.label) ?? "label", S1 = (l == null ? void 0 : l.value) ?? "value", J1 = (l == null ? void 0 : l.icon) ?? "icon", H1 = (g) => String(g[F1] ?? ""), E1 = (g) => String(g[S1] ?? ""), ee = (g) => Array.isArray(g.options), L1 = n.flatMap(
3504
+ const J = ie(), k1 = H ?? J, o1 = st(), [z, $] = D(!1), [F, q] = D(""), [r1, Z] = D([]), Q = T === "input" && !o1, j = Q && c, b = a1(null), e1 = B !== void 0, I = e1 ? B : z, c1 = r !== void 0, [l1, _1] = D(i ?? (a ? [] : null)), G = c1 ? r : l1, F1 = (l == null ? void 0 : l.label) ?? "label", S1 = (l == null ? void 0 : l.value) ?? "value", J1 = (l == null ? void 0 : l.icon) ?? "icon", H1 = (g) => String(g[F1] ?? ""), E1 = (g) => String(g[S1] ?? ""), ee = (g) => Array.isArray(g.options), L1 = n.flatMap(
3503
3505
  (g) => ee(g) ? g.options : [g]
3504
3506
  ), x1 = (g) => c && k && F ? g.filter((s1) => H1(s1).toLowerCase().includes(F.toLowerCase())) : g, j1 = x1(L1), $1 = j1.length, P1 = a ? null : o ? (G == null ? void 0 : G.value) ?? null : G ?? null, m1 = a ? o ? (G ?? []).map((g) => g.value) : G ?? [] : [], D1 = P1 ? L1.find((g) => E1(g) === P1) : void 0, g1 = a ? m1.length > 0 : !!P1, G1 = a && j1.length > 0 && j1.every((g) => r1.includes(E1(g))), me = a && !G1 && j1.some((g) => r1.includes(E1(g))), X1 = L && a && d === "header", pe = L && a && d === "footer", O1 = a && !!m && L1.length > 0 && L1.every((g) => m1.includes(E1(g))), C1 = a && m1.length > 1 && !O1 ? m1.length - 1 : void 0;
3505
3507
  i1(() => {
3506
- I && a && Z(m1), !I && F !== "" && (q(""), C == null || C(""));
3508
+ I && a && Z(m1), !I && F !== "" && (q(""), h == null || h(""));
3507
3509
  }, [I]);
3508
3510
  const B1 = a1(null), K1 = (g) => [...g.querySelectorAll('.kdls-select__option:not([aria-disabled="true"])')], le = a1(!1), Q1 = (g) => {
3509
3511
  g.setAttribute("data-kdls-ring", ""), g.addEventListener("blur", () => g.removeAttribute("data-kdls-ring"), { once: !0 });
@@ -3521,9 +3523,9 @@ const k2 = T1.forwardRef(({
3521
3523
  const je = b.current;
3522
3524
  return je ? (document.activeElement !== je && je.focus({ preventScroll: !0 }), g = !0, !0) : !1;
3523
3525
  }
3524
- const ue = B1.current;
3525
- if (!ue) return !1;
3526
- const Se = ue.querySelector(".kdls-select__search-input"), Fe = Se ?? ue.querySelector(".kdls-select__option--selected") ?? K1(ue)[0];
3526
+ const fe = B1.current;
3527
+ if (!fe) return !1;
3528
+ const Se = fe.querySelector(".kdls-select__search-input"), Fe = Se ?? fe.querySelector(".kdls-select__option--selected") ?? K1(fe)[0];
3527
3529
  return !Fe || (Fe.focus({ preventScroll: !0 }), document.activeElement !== Fe) ? !1 : (!Se && le.current && Q1(Fe), g = !0, !0);
3528
3530
  };
3529
3531
  if (s1()) return;
@@ -3535,12 +3537,12 @@ const k2 = T1.forwardRef(({
3535
3537
  return M1.observe(p1, { attributes: !0, attributeFilter: ["style"] }), () => M1.disconnect();
3536
3538
  }, [I]);
3537
3539
  const We = (g) => {
3538
- var ue;
3540
+ var fe;
3539
3541
  const s1 = B1.current;
3540
3542
  if (!s1) return;
3541
3543
  const p1 = K1(s1);
3542
3544
  if (p1.length === 0 && g.key !== "Escape") return;
3543
- const M1 = p1.indexOf(document.activeElement), R1 = (ue = document.activeElement) == null ? void 0 : ue.classList.contains("kdls-select__search-input");
3545
+ const M1 = p1.indexOf(document.activeElement), R1 = (fe = document.activeElement) == null ? void 0 : fe.classList.contains("kdls-select__search-input");
3544
3546
  switch (g.key) {
3545
3547
  case "ArrowDown":
3546
3548
  g.preventDefault(), I1(R1 ? p1[0] : p1[M1 + 1] ?? p1[0]);
@@ -3578,13 +3580,13 @@ const k2 = T1.forwardRef(({
3578
3580
  s == null || s(s1), c1 || _1(s1);
3579
3581
  } else
3580
3582
  s == null || s(g), c1 || _1([...g]);
3581
- }, oe = (g) => {
3582
- Z(g), Q && Me(g);
3583
3583
  }, ae = (g) => {
3584
+ Z(g), Q && Me(g);
3585
+ }, ce = (g) => {
3584
3586
  const s1 = E1(g), p1 = H1(g);
3585
3587
  if (a) {
3586
3588
  const M1 = r1.includes(s1);
3587
- oe(
3589
+ ae(
3588
3590
  M1 ? r1.filter((R1) => R1 !== s1) : [...r1, s1]
3589
3591
  );
3590
3592
  } else
@@ -3593,16 +3595,16 @@ const k2 = T1.forwardRef(({
3593
3595
  a ? (Z([]), s == null || s([]), c1 || _1([])) : (s == null || s(null), c1 || _1(null)), e1 || $(!1);
3594
3596
  }, xe = () => {
3595
3597
  const g = j1.map((s1) => E1(s1));
3596
- oe(Array.from(/* @__PURE__ */ new Set([...r1, ...g])));
3598
+ ae(Array.from(/* @__PURE__ */ new Set([...r1, ...g])));
3597
3599
  }, ye = () => {
3598
3600
  const g = new Set(j1.map((s1) => E1(s1)));
3599
- oe(r1.filter((s1) => !g.has(s1)));
3600
- }, ce = () => {
3601
+ ae(r1.filter((s1) => !g.has(s1)));
3602
+ }, de = () => {
3601
3603
  Me(r1), e1 || $(!1);
3602
3604
  }, De = (g) => {
3603
- q(g.target.value), C == null || C(g.target.value), !I && !e1 && $(!0);
3605
+ q(g.target.value), h == null || h(g.target.value), !I && !e1 && $(!0);
3604
3606
  }, He = (g) => {
3605
- g.stopPropagation(), !(y || h) && !I && !e1 && $(!0);
3607
+ g.stopPropagation(), !(w || C) && !I && !e1 && $(!0);
3606
3608
  }, Ie = (g) => {
3607
3609
  if ((g.key === " " || g.key === "Enter") && g.stopPropagation(), g.key !== "ArrowDown" && g.key !== "Enter") return;
3608
3610
  if (g.preventDefault(), !I) {
@@ -3616,7 +3618,7 @@ const k2 = T1.forwardRef(({
3616
3618
  label: H1(g),
3617
3619
  iconLeft: g[J1]
3618
3620
  })), t1 = () => {
3619
- y || h || e1 || $(!I);
3621
+ w || C || e1 || $(!I);
3620
3622
  }, Y = (g) => {
3621
3623
  (g.key === "Enter" || g.key === " ") && (g.preventDefault(), t1());
3622
3624
  }, d1 = () => {
@@ -3641,7 +3643,7 @@ const k2 = T1.forwardRef(({
3641
3643
  s == null || s(M1), c1 || _1(M1);
3642
3644
  } else
3643
3645
  s == null || s(s1), c1 || _1(s1);
3644
- }, re = a && m1.length > 0 ? L1.find((g) => E1(g) === m1[0]) : void 0, ne = O1 ? m : a ? m1.length === 0 ? t ?? "" : re ? H1(re) : t ?? "" : D1 ? H1(D1) : t ?? "", de = O1 ? m : a ? re ? H1(re) : "" : D1 ? H1(D1) : "", Ee = (g) => {
3646
+ }, re = a && m1.length > 0 ? L1.find((g) => E1(g) === m1[0]) : void 0, ne = O1 ? m : a ? m1.length === 0 ? t ?? "" : re ? H1(re) : t ?? "" : D1 ? H1(D1) : t ?? "", ue = O1 ? m : a ? re ? H1(re) : "" : D1 ? H1(D1) : "", Ee = (g) => {
3645
3647
  const s1 = E1(g), p1 = g[J1], M1 = a ? r1.includes(s1) : s1 === P1;
3646
3648
  return /* @__PURE__ */ u(
3647
3649
  "li",
@@ -3654,7 +3656,7 @@ const k2 = T1.forwardRef(({
3654
3656
  ].filter(Boolean).join(" "),
3655
3657
  tabIndex: -1,
3656
3658
  onMouseDown: (R1) => {
3657
- R1.preventDefault(), ae(g);
3659
+ R1.preventDefault(), ce(g);
3658
3660
  },
3659
3661
  children: [
3660
3662
  a && /* @__PURE__ */ e(Re, { checked: M1, onChange: () => {
@@ -3671,7 +3673,7 @@ const k2 = T1.forwardRef(({
3671
3673
  ref: B1,
3672
3674
  onKeyDown: We,
3673
3675
  className: ["kdls-select__menu", A].filter(Boolean).join(" "),
3674
- style: { maxHeight: w, ...N !== void 0 && W === "hug" ? { maxWidth: Math.max(200, N) } : {} },
3676
+ style: { maxHeight: y, ...N !== void 0 && W === "hug" ? { maxWidth: Math.max(200, N) } : {} },
3675
3677
  children: [
3676
3678
  (c && !j || X1) && /* @__PURE__ */ u("div", { className: "kdls-select__header", children: [
3677
3679
  c && !j && /* @__PURE__ */ e("div", { className: "kdls-select__search", onClick: (g) => g.stopPropagation(), children: /* @__PURE__ */ u("div", { className: "kdls-select__search-field", children: [
@@ -3683,7 +3685,7 @@ const k2 = T1.forwardRef(({
3683
3685
  placeholder: f,
3684
3686
  value: F,
3685
3687
  onChange: (g) => {
3686
- q(g.target.value), C == null || C(g.target.value);
3688
+ q(g.target.value), h == null || h(g.target.value);
3687
3689
  },
3688
3690
  autoFocus: !0
3689
3691
  }
@@ -3732,11 +3734,11 @@ const k2 = T1.forwardRef(({
3732
3734
  ),
3733
3735
  /* @__PURE__ */ u("div", { className: "kdls-select__footer-end", children: [
3734
3736
  p && /* @__PURE__ */ e(y1, { variant: "link", label: "Limpar", onClick: te }),
3735
- /* @__PURE__ */ e(y1, { variant: "link", label: "Aplicar", onClick: ce })
3737
+ /* @__PURE__ */ e(y1, { variant: "link", label: "Aplicar", onClick: de })
3736
3738
  ] })
3737
3739
  ] }) : /* @__PURE__ */ u(N1, { children: [
3738
3740
  p && /* @__PURE__ */ e(y1, { variant: "link", label: "Limpar", onClick: te }),
3739
- a && /* @__PURE__ */ e(y1, { variant: "link", label: "Aplicar", onClick: ce })
3741
+ a && /* @__PURE__ */ e(y1, { variant: "link", label: "Aplicar", onClick: de })
3740
3742
  ] }) })
3741
3743
  ]
3742
3744
  }
@@ -3747,8 +3749,8 @@ const k2 = T1.forwardRef(({
3747
3749
  ref: R,
3748
3750
  className: [
3749
3751
  "kdls-select-wrapper",
3750
- y ? "kdls-select-wrapper--disabled" : "",
3751
- h && !y ? "kdls-select-wrapper--loading" : "",
3752
+ w ? "kdls-select-wrapper--disabled" : "",
3753
+ C && !w ? "kdls-select-wrapper--loading" : "",
3752
3754
  I ? "kdls-select-wrapper--open" : "",
3753
3755
  `kdls-select-wrapper--${W}`,
3754
3756
  T === "input" ? "kdls-select-wrapper--trigger-input" : "",
@@ -3775,8 +3777,8 @@ const k2 = T1.forwardRef(({
3775
3777
  showNotification: C1 !== void 0,
3776
3778
  notificationCount: C1,
3777
3779
  width: W,
3778
- isLoading: h,
3779
- disabled: y,
3780
+ isLoading: C,
3781
+ disabled: w,
3780
3782
  className: U,
3781
3783
  onClick: t1
3782
3784
  }
@@ -3787,7 +3789,7 @@ const k2 = T1.forwardRef(({
3787
3789
  type: "button",
3788
3790
  "aria-haspopup": "listbox",
3789
3791
  "aria-expanded": I,
3790
- disabled: y,
3792
+ disabled: w,
3791
3793
  style: P !== void 0 ? { maxWidth: P } : void 0,
3792
3794
  className: [
3793
3795
  "kdls-select__trigger--nav",
@@ -3810,16 +3812,16 @@ const k2 = T1.forwardRef(({
3810
3812
  "aria-expanded": I,
3811
3813
  "aria-haspopup": "listbox",
3812
3814
  "aria-label": t,
3813
- "aria-disabled": y,
3815
+ "aria-disabled": w,
3814
3816
  "aria-required": K || void 0,
3815
- "aria-busy": h || void 0,
3816
- tabIndex: y ? -1 : 0,
3817
+ "aria-busy": C || void 0,
3818
+ tabIndex: w ? -1 : 0,
3817
3819
  id: k1,
3818
3820
  style: P !== void 0 ? { maxWidth: P } : void 0,
3819
3821
  className: [
3820
3822
  "kdls-select-input-wrap",
3821
3823
  I ? "kdls-select-input-wrap--open" : "",
3822
- h && !y ? "kdls-select-input-wrap--loading" : "",
3824
+ C && !w ? "kdls-select-input-wrap--loading" : "",
3823
3825
  U
3824
3826
  ].filter(Boolean).join(" "),
3825
3827
  onClick: t1,
@@ -3828,7 +3830,7 @@ const k2 = T1.forwardRef(({
3828
3830
  ke,
3829
3831
  {
3830
3832
  label: t ?? "",
3831
- value: I && !de ? " " : de,
3833
+ value: I && !ue ? " " : ue,
3832
3834
  onChange: () => {
3833
3835
  },
3834
3836
  readOnly: !0,
@@ -3836,8 +3838,8 @@ const k2 = T1.forwardRef(({
3836
3838
  iconLeft: E,
3837
3839
  iconRight: g1 && p ? /* @__PURE__ */ e(q1, {}) : /* @__PURE__ */ e(U1, {}),
3838
3840
  onClickIconRight: g1 && p ? te : void 0,
3839
- isLoading: h,
3840
- disabled: y,
3841
+ isLoading: C,
3842
+ disabled: w,
3841
3843
  width: W === "fill" ? "fill" : "hug",
3842
3844
  feedback: V,
3843
3845
  hint: O,
@@ -3855,7 +3857,7 @@ const k2 = T1.forwardRef(({
3855
3857
  title: t,
3856
3858
  searchable: c,
3857
3859
  searchPlaceholder: f,
3858
- onSearch: C,
3860
+ onSearch: h,
3859
3861
  options: x,
3860
3862
  multiple: a,
3861
3863
  showSelectAll: L,
@@ -3869,7 +3871,7 @@ const k2 = T1.forwardRef(({
3869
3871
  r2,
3870
3872
  {
3871
3873
  open: I,
3872
- onOpenChange: y || h || e1 ? void 0 : $,
3874
+ onOpenChange: w || C || e1 ? void 0 : $,
3873
3875
  placement: "bottomLeft",
3874
3876
  matchTriggerWidth: !0,
3875
3877
  baseZIndex: 200,
@@ -3886,8 +3888,8 @@ const k2 = T1.forwardRef(({
3886
3888
  showNotification: C1 !== void 0,
3887
3889
  notificationCount: C1,
3888
3890
  width: W,
3889
- isLoading: h,
3890
- disabled: y,
3891
+ isLoading: C,
3892
+ disabled: w,
3891
3893
  className: U
3892
3894
  }
3893
3895
  ) }),
@@ -3897,7 +3899,7 @@ const k2 = T1.forwardRef(({
3897
3899
  type: "button",
3898
3900
  "aria-haspopup": "listbox",
3899
3901
  "aria-expanded": I,
3900
- disabled: y,
3902
+ disabled: w,
3901
3903
  style: P !== void 0 ? { maxWidth: P } : void 0,
3902
3904
  className: [
3903
3905
  "kdls-select__trigger--nav",
@@ -3919,16 +3921,16 @@ const k2 = T1.forwardRef(({
3919
3921
  "aria-expanded": I,
3920
3922
  "aria-haspopup": "listbox",
3921
3923
  "aria-label": t,
3922
- "aria-disabled": y,
3924
+ "aria-disabled": w,
3923
3925
  "aria-required": K || void 0,
3924
- "aria-busy": h || void 0,
3925
- tabIndex: y || j ? -1 : 0,
3926
+ "aria-busy": C || void 0,
3927
+ tabIndex: w || j ? -1 : 0,
3926
3928
  id: k1,
3927
3929
  style: P !== void 0 ? { maxWidth: P } : void 0,
3928
3930
  className: [
3929
3931
  "kdls-select-input-wrap",
3930
3932
  I ? "kdls-select-input-wrap--open" : "",
3931
- h && !y ? "kdls-select-input-wrap--loading" : "",
3933
+ C && !w ? "kdls-select-input-wrap--loading" : "",
3932
3934
  j ? "kdls-select-input-wrap--search" : "",
3933
3935
  U
3934
3936
  ].filter(Boolean).join(" "),
@@ -3938,7 +3940,7 @@ const k2 = T1.forwardRef(({
3938
3940
  {
3939
3941
  ref: b,
3940
3942
  label: t ?? "",
3941
- value: I ? F : de,
3943
+ value: I ? F : ue,
3942
3944
  placeholder: I ? f : void 0,
3943
3945
  onChange: De,
3944
3946
  onKeyDown: Ie,
@@ -3946,8 +3948,8 @@ const k2 = T1.forwardRef(({
3946
3948
  iconLeft: E,
3947
3949
  iconRight: g1 && p && !I ? /* @__PURE__ */ e(q1, {}) : /* @__PURE__ */ e(ze, {}),
3948
3950
  onClickIconRight: g1 && p && !I ? te : void 0,
3949
- isLoading: h,
3950
- disabled: y,
3951
+ isLoading: C,
3952
+ disabled: w,
3951
3953
  width: W === "fill" ? "fill" : "hug",
3952
3954
  feedback: V,
3953
3955
  hint: O,
@@ -3958,7 +3960,7 @@ const k2 = T1.forwardRef(({
3958
3960
  ke,
3959
3961
  {
3960
3962
  label: t ?? "",
3961
- value: I && !de ? " " : de,
3963
+ value: I && !ue ? " " : ue,
3962
3964
  onChange: () => {
3963
3965
  },
3964
3966
  readOnly: !0,
@@ -3966,8 +3968,8 @@ const k2 = T1.forwardRef(({
3966
3968
  iconLeft: E,
3967
3969
  iconRight: g1 && p ? /* @__PURE__ */ e(q1, {}) : /* @__PURE__ */ e(U1, {}),
3968
3970
  onClickIconRight: g1 && p ? te : void 0,
3969
- isLoading: h,
3970
- disabled: y,
3971
+ isLoading: C,
3972
+ disabled: w,
3971
3973
  width: W === "fill" ? "fill" : "hug",
3972
3974
  feedback: V,
3973
3975
  hint: O,
@@ -3985,12 +3987,12 @@ const k2 = T1.forwardRef(({
3985
3987
  );
3986
3988
  });
3987
3989
  k2.displayName = "Select";
3988
- var O2, f2 = ge;
3990
+ var K2, f2 = ge;
3989
3991
  if (process.env.NODE_ENV === "production")
3990
- O2 = f2.createRoot, f2.hydrateRoot;
3992
+ K2 = f2.createRoot, f2.hydrateRoot;
3991
3993
  else {
3992
3994
  var Zt = f2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
3993
- O2 = function(t, n) {
3995
+ K2 = function(t, n) {
3994
3996
  Zt.usingClientEntryPoint = !0;
3995
3997
  try {
3996
3998
  return f2.createRoot(t, n);
@@ -4006,7 +4008,7 @@ const qn = [
4006
4008
  "select:not([disabled])",
4007
4009
  "textarea:not([disabled])",
4008
4010
  '[tabindex]:not([tabindex="-1"])'
4009
- ].join(", "), Wn = ".kdls-floating__portal, .kdls-menu__panel, .kdls-bottomsheet__overlay, .kdls-toaster, .kdls-toast, .kdls-tooltip, .kdls-popover", $2 = (t) => Array.from(t.querySelectorAll(qn)).filter(
4011
+ ].join(", "), Wn = ".kdls-floating__portal, .kdls-menu__panel, .kdls-bottomsheet__overlay, .kdls-toaster, .kdls-toast, .kdls-tooltip, .kdls-popover", I2 = (t) => Array.from(t.querySelectorAll(qn)).filter(
4010
4012
  (n) => n.closest("[inert]") === null && !n.hidden && n.getAttribute("aria-hidden") !== "true"
4011
4013
  ), Xe = (t) => {
4012
4014
  for (const n of t)
@@ -4019,12 +4021,12 @@ function k5(t, n, l) {
4019
4021
  const r = n.current;
4020
4022
  if (!r) return;
4021
4023
  const i = document.activeElement instanceof HTMLElement ? document.activeElement : null, s = r.querySelector(l);
4022
- !Xe($2(s ?? r)) && !Xe($2(r)) && r.focus({ preventScroll: !0 });
4024
+ !Xe(I2(s ?? r)) && !Xe(I2(r)) && r.focus({ preventScroll: !0 });
4023
4025
  const o = (a) => {
4024
4026
  if (a.key !== "Tab") return;
4025
4027
  const c = a.target instanceof HTMLElement ? a.target : null, f = c !== null && r.contains(c);
4026
4028
  if (!f && !(c != null && c.closest(Wn))) return;
4027
- const m = $2(r);
4029
+ const m = I2(r);
4028
4030
  if (m.length === 0) {
4029
4031
  a.preventDefault();
4030
4032
  return;
@@ -4051,12 +4053,12 @@ const l2 = ({
4051
4053
  tertiaryDisabled: m,
4052
4054
  tertiaryDisabledTooltip: d,
4053
4055
  tertiaryDisabledTooltipPosition: k = "top",
4054
- secondaryLabel: C,
4056
+ secondaryLabel: h,
4055
4057
  onSecondary: v,
4056
- secondaryLoading: h = !1,
4058
+ secondaryLoading: C = !1,
4057
4059
  secondaryDisabled: _,
4058
4060
  secondaryDisabledTooltip: L,
4059
- secondaryDisabledTooltipPosition: y = "top",
4061
+ secondaryDisabledTooltipPosition: w = "top",
4060
4062
  primaryLabel: B,
4061
4063
  onPrimary: H,
4062
4064
  primaryLoading: E = !1,
@@ -4073,7 +4075,7 @@ const l2 = ({
4073
4075
  confirmCancelLabel: u1 = "Cancelar",
4074
4076
  closeLabel: p = "Fechar"
4075
4077
  }) => {
4076
- const w = a1(null), R = a1(null), [J, k1] = D(!1), [o1, z] = D(!1), [$, F] = D(!1), [q, r1] = D(!1);
4078
+ const y = a1(null), R = a1(null), [J, k1] = D(!1), [o1, z] = D(!1), [$, F] = D(!1), [q, r1] = D(!1);
4077
4079
  k5(t, R, ".kdls-modal__body");
4078
4080
  const Z = () => {
4079
4081
  K ? k1(!0) : n();
@@ -4086,8 +4088,8 @@ const l2 = ({
4086
4088
  };
4087
4089
  return document.addEventListener("keydown", l1), () => document.removeEventListener("keydown", l1);
4088
4090
  }, [t, n, K]), !t) return null;
4089
- const Q = o !== void 0 || a || C || B, j = (l1) => {
4090
- l1.target === w.current && !V && Z();
4091
+ const Q = o !== void 0 || a || h || B, j = (l1) => {
4092
+ l1.target === y.current && !V && Z();
4091
4093
  }, b = async () => {
4092
4094
  const l1 = H == null ? void 0 : H();
4093
4095
  if (l1 instanceof Promise) {
@@ -4121,7 +4123,7 @@ const l2 = ({
4121
4123
  }, c1 = /* @__PURE__ */ e(
4122
4124
  "div",
4123
4125
  {
4124
- ref: w,
4126
+ ref: y,
4125
4127
  className: "kdls-modal-overlay",
4126
4128
  onClick: j,
4127
4129
  role: "dialog",
@@ -4139,7 +4141,7 @@ const l2 = ({
4139
4141
  /* @__PURE__ */ u("div", { className: "kdls-modal__header", children: [
4140
4142
  /* @__PURE__ */ u("div", { className: "kdls-modal__title-group", children: [
4141
4143
  /* @__PURE__ */ e(X, { as: "span", variant: "titleMd", className: "kdls-modal__title", children: l }),
4142
- r && /* @__PURE__ */ e(he, { content: r, placement: i })
4144
+ r && /* @__PURE__ */ e(oe, { content: r, placement: i })
4143
4145
  ] }),
4144
4146
  /* @__PURE__ */ e("div", { className: "kdls-modal__header-actions", children: /* @__PURE__ */ e(
4145
4147
  w1,
@@ -4154,7 +4156,7 @@ const l2 = ({
4154
4156
  s && /* @__PURE__ */ e("div", { className: "kdls-modal__body kdls-scroll kdls-scroll--thin", children: s }),
4155
4157
  Q && /* @__PURE__ */ e("div", { className: "kdls-modal__footer", children: o ?? /* @__PURE__ */ u(N1, { children: [
4156
4158
  a && /* @__PURE__ */ e(y1, { variant: "link", size: "md", label: a, onClick: I, isLoading: q || f, disabled: m, disabledTooltip: d, disabledTooltipPosition: k }),
4157
- C && /* @__PURE__ */ e(y1, { variant: "ghost", size: "md", label: C, onClick: e1, isLoading: $ || h, disabled: _, disabledTooltip: L, disabledTooltipPosition: y }),
4159
+ h && /* @__PURE__ */ e(y1, { variant: "ghost", size: "md", label: h, onClick: e1, isLoading: $ || C, disabled: _, disabledTooltip: L, disabledTooltipPosition: w }),
4158
4160
  B && /* @__PURE__ */ e(y1, { variant: "primary", size: "md", label: B, onClick: b, isLoading: o1 || E, disabled: W, disabledTooltip: T, disabledTooltipPosition: P })
4159
4161
  ] }) }),
4160
4162
  /* @__PURE__ */ e(
@@ -4187,7 +4189,7 @@ const l2 = ({
4187
4189
  l2.confirm = (t) => {
4188
4190
  const n = document.createElement("div");
4189
4191
  document.body.appendChild(n);
4190
- const l = O2(n), r = () => {
4192
+ const l = K2(n), r = () => {
4191
4193
  l.unmount(), n.remove();
4192
4194
  }, i = () => {
4193
4195
  const [s, o] = D(!0), [a, c] = D(!1), f = () => {
@@ -4224,7 +4226,7 @@ l2.confirm = (t) => {
4224
4226
  };
4225
4227
  l.render(/* @__PURE__ */ e(i, {}));
4226
4228
  };
4227
- const Rt = 600, _2 = 400, Yn = 0.9, Bt = 16, K2 = () => Math.max(_2, Math.round(window.innerWidth * Yn)), Tt = (t) => Math.min(K2(), Math.max(_2, Math.round(t))), f7 = ({
4229
+ const Rt = 600, _2 = 400, Yn = 0.9, Bt = 16, z2 = () => Math.max(_2, Math.round(window.innerWidth * Yn)), Tt = (t) => Math.min(z2(), Math.max(_2, Math.round(t))), f7 = ({
4228
4230
  isOpen: t,
4229
4231
  onClose: n,
4230
4232
  title: l,
@@ -4238,12 +4240,12 @@ const Rt = 600, _2 = 400, Yn = 0.9, Bt = 16, K2 = () => Math.max(_2, Math.round(
4238
4240
  headerActionLabel: m,
4239
4241
  onHeaderAction: d,
4240
4242
  headerActionLoading: k = !1,
4241
- headerActionDisabled: C,
4243
+ headerActionDisabled: h,
4242
4244
  headerActionDisabledTooltip: v,
4243
- headerActionDisabledTooltipPosition: h = "top",
4245
+ headerActionDisabledTooltipPosition: C = "top",
4244
4246
  children: _,
4245
4247
  footer: L,
4246
- primaryLabel: y,
4248
+ primaryLabel: w,
4247
4249
  onPrimary: B,
4248
4250
  primaryLoading: H = !1,
4249
4251
  primaryDisabled: E,
@@ -4259,7 +4261,7 @@ const Rt = 600, _2 = 400, Yn = 0.9, Bt = 16, K2 = () => Math.max(_2, Math.round(
4259
4261
  onTertiary: A,
4260
4262
  tertiaryLoading: u1 = !1,
4261
4263
  tertiaryDisabled: p,
4262
- tertiaryDisabledTooltip: w,
4264
+ tertiaryDisabledTooltip: y,
4263
4265
  tertiaryDisabledTooltipPosition: R = "top",
4264
4266
  closeLabel: J = "Fechar",
4265
4267
  disableOverlayClose: k1 = !1,
@@ -4286,7 +4288,7 @@ const Rt = 600, _2 = 400, Yn = 0.9, Bt = 16, K2 = () => Math.max(_2, Math.round(
4286
4288
  };
4287
4289
  return document.addEventListener("keydown", C1), () => document.removeEventListener("keydown", C1);
4288
4290
  }, [t, n, o1]), !t) return null;
4289
- const j1 = L !== void 0 || U || P || y, $1 = (C1) => {
4291
+ const j1 = L !== void 0 || U || P || w, $1 = (C1) => {
4290
4292
  C1.target === Z.current && !k1 && x1();
4291
4293
  }, P1 = async () => {
4292
4294
  const C1 = B == null ? void 0 : B();
@@ -4347,7 +4349,7 @@ const Rt = 600, _2 = 400, Yn = 0.9, Bt = 16, K2 = () => Math.max(_2, Math.round(
4347
4349
  ArrowLeft: () => G1() - Bt * me,
4348
4350
  ArrowRight: () => G1() + Bt * me,
4349
4351
  Home: () => _2,
4350
- End: () => K2()
4352
+ End: () => z2()
4351
4353
  }[C1.key];
4352
4354
  K1 && (C1.preventDefault(), H1(Tt(K1())));
4353
4355
  }, O1 = /* @__PURE__ */ e(
@@ -4377,10 +4379,10 @@ const Rt = 600, _2 = 400, Yn = 0.9, Bt = 16, K2 = () => Math.max(_2, Math.round(
4377
4379
  o && /* @__PURE__ */ e(w1, { icon: /* @__PURE__ */ e(c5, {}), variant: "neutral", onClick: o, "aria-label": "Voltar" }),
4378
4380
  /* @__PURE__ */ u("div", { className: "kdls-drawer__title-group", children: [
4379
4381
  /* @__PURE__ */ e("span", { className: "kdls-drawer__title", children: l }),
4380
- r && /* @__PURE__ */ e(he, { content: r, placement: i })
4382
+ r && /* @__PURE__ */ e(oe, { content: r, placement: i })
4381
4383
  ] }),
4382
4384
  /* @__PURE__ */ u("div", { className: "kdls-drawer__header-actions", children: [
4383
- m && /* @__PURE__ */ e(y1, { variant: "link", size: "md", label: m, onClick: g1, isLoading: F1 || k, disabled: C, disabledTooltip: v, disabledTooltipPosition: h }),
4385
+ m && /* @__PURE__ */ e(y1, { variant: "link", size: "md", label: m, onClick: g1, isLoading: F1 || k, disabled: h, disabledTooltip: v, disabledTooltipPosition: C }),
4384
4386
  a && /* @__PURE__ */ u("span", { className: "kdls-drawer__header-badge", children: [
4385
4387
  /* @__PURE__ */ e("span", { "aria-hidden": f ? !0 : void 0, children: /* @__PURE__ */ e(L2, { label: a, variant: c, appearance: "tone-10", size: "sm" }) }),
4386
4388
  f && /* @__PURE__ */ e("span", { className: "kdls-drawer__visually-hidden", children: f })
@@ -4398,9 +4400,9 @@ const Rt = 600, _2 = 400, Yn = 0.9, Bt = 16, K2 = () => Math.max(_2, Math.round(
4398
4400
  ] }),
4399
4401
  /* @__PURE__ */ e("div", { className: "kdls-drawer__body kdls-scroll kdls-scroll--thin", children: _ }),
4400
4402
  j1 && /* @__PURE__ */ e("div", { className: "kdls-drawer__footer", children: L ?? /* @__PURE__ */ u(N1, { children: [
4401
- U && /* @__PURE__ */ e(y1, { variant: "link", size: "md", label: U, onClick: D1, isLoading: _1 || u1, disabled: p, disabledTooltip: w, disabledTooltipPosition: R }),
4403
+ U && /* @__PURE__ */ e(y1, { variant: "link", size: "md", label: U, onClick: D1, isLoading: _1 || u1, disabled: p, disabledTooltip: y, disabledTooltipPosition: R }),
4402
4404
  P && /* @__PURE__ */ e(y1, { variant: "ghost", size: "md", label: P, onClick: m1, isLoading: c1 || V, disabled: O, disabledTooltip: K, disabledTooltipPosition: S }),
4403
- y && /* @__PURE__ */ e(y1, { variant: "primary", size: "md", label: y, onClick: P1, isLoading: e1 || H, disabled: E, disabledTooltip: W, disabledTooltipPosition: T })
4405
+ w && /* @__PURE__ */ e(y1, { variant: "primary", size: "md", label: w, onClick: P1, isLoading: e1 || H, disabled: E, disabledTooltip: W, disabledTooltipPosition: T })
4404
4406
  ] }) }),
4405
4407
  /* @__PURE__ */ e(
4406
4408
  l2,
@@ -4427,7 +4429,7 @@ const Rt = 600, _2 = 400, Yn = 0.9, Bt = 16, K2 = () => Math.max(_2, Math.round(
4427
4429
  "aria-orientation": "vertical",
4428
4430
  "aria-label": "Redimensionar drawer",
4429
4431
  "aria-valuemin": _2,
4430
- "aria-valuemax": K2(),
4432
+ "aria-valuemax": z2(),
4431
4433
  "aria-valuenow": J1 ?? Rt,
4432
4434
  tabIndex: 0,
4433
4435
  onPointerDown: X1,
@@ -4535,7 +4537,7 @@ const Rt = 600, _2 = 400, Yn = 0.9, Bt = 16, K2 = () => Math.max(_2, Math.round(
4535
4537
  ]
4536
4538
  }
4537
4539
  );
4538
- }, st = Kt(null), Xn = ({
4540
+ }, it = Kt(null), Xn = ({
4539
4541
  children: t,
4540
4542
  active: n = !1,
4541
4543
  disabled: l = !1,
@@ -4550,7 +4552,7 @@ const Rt = 600, _2 = 400, Yn = 0.9, Bt = 16, K2 = () => Math.max(_2, Math.round(
4550
4552
  onClick: d,
4551
4553
  className: k = ""
4552
4554
  }) => {
4553
- const C = [
4555
+ const h = [
4554
4556
  "kdls-nav__item",
4555
4557
  n ? "kdls-nav__item--active" : "",
4556
4558
  l ? "kdls-nav__item--disabled" : "",
@@ -4558,8 +4560,8 @@ const Rt = 600, _2 = 400, Yn = 0.9, Bt = 16, K2 = () => Math.max(_2, Math.round(
4558
4560
  k
4559
4561
  ].filter(Boolean).join(" "), v = /* @__PURE__ */ u(N1, { children: [
4560
4562
  o && /* @__PURE__ */ e("span", { className: "kdls-nav__item-icon", "aria-hidden": "true", children: o }),
4561
- c && !f ? /* @__PURE__ */ e(he, { content: c, placement: m, children: /* @__PURE__ */ e("span", { className: "kdls-nav__item-label", children: t }) }) : /* @__PURE__ */ e("span", { className: "kdls-nav__item-label", children: t }),
4562
- c && f && /* @__PURE__ */ e("span", { className: "kdls-nav__item-tooltip-icon", children: /* @__PURE__ */ e(he, { content: c, placement: m }) }),
4563
+ c && !f ? /* @__PURE__ */ e(oe, { content: c, placement: m, children: /* @__PURE__ */ e("span", { className: "kdls-nav__item-label", children: t }) }) : /* @__PURE__ */ e("span", { className: "kdls-nav__item-label", children: t }),
4564
+ c && f && /* @__PURE__ */ e("span", { className: "kdls-nav__item-tooltip-icon", children: /* @__PURE__ */ e(oe, { content: c, placement: m }) }),
4563
4565
  a && /* @__PURE__ */ e(L2, { label: a, variant: "primary", appearance: "tone-50", size: "sm" })
4564
4566
  ] });
4565
4567
  return i ? /* @__PURE__ */ e(
@@ -4568,12 +4570,12 @@ const Rt = 600, _2 = 400, Yn = 0.9, Bt = 16, K2 = () => Math.max(_2, Math.round(
4568
4570
  href: l ? void 0 : i,
4569
4571
  target: s ? "_blank" : void 0,
4570
4572
  rel: s ? "noopener noreferrer" : void 0,
4571
- className: C,
4573
+ className: h,
4572
4574
  "aria-disabled": l || void 0,
4573
4575
  "aria-current": n ? "page" : void 0,
4574
- onClick: (h) => {
4576
+ onClick: (C) => {
4575
4577
  if (l) {
4576
- h.preventDefault();
4578
+ C.preventDefault();
4577
4579
  return;
4578
4580
  }
4579
4581
  d == null || d();
@@ -4584,7 +4586,7 @@ const Rt = 600, _2 = 400, Yn = 0.9, Bt = 16, K2 = () => Math.max(_2, Math.round(
4584
4586
  "button",
4585
4587
  {
4586
4588
  type: "button",
4587
- className: C,
4589
+ className: h,
4588
4590
  disabled: l,
4589
4591
  "aria-current": n ? "page" : void 0,
4590
4592
  onClick: () => {
@@ -4605,7 +4607,7 @@ const Rt = 600, _2 = 400, Yn = 0.9, Bt = 16, K2 = () => Math.max(_2, Math.round(
4605
4607
  footer: l,
4606
4608
  children: r,
4607
4609
  className: i = ""
4608
- }) => /* @__PURE__ */ e(st.Provider, { value: { orientation: t }, children: /* @__PURE__ */ u(
4610
+ }) => /* @__PURE__ */ e(it.Provider, { value: { orientation: t }, children: /* @__PURE__ */ u(
4609
4611
  "nav",
4610
4612
  {
4611
4613
  className: [
@@ -4636,7 +4638,7 @@ function Qn({
4636
4638
  onClickIconRight: m,
4637
4639
  iconRightLabel: d,
4638
4640
  children: k,
4639
- className: C
4641
+ className: h
4640
4642
  }) {
4641
4643
  const v = [
4642
4644
  "kdls-field",
@@ -4646,7 +4648,7 @@ function Qn({
4646
4648
  s ? "kdls-field--disabled" : "",
4647
4649
  o ? "kdls-field--loading" : "",
4648
4650
  a !== "none" ? `kdls-field--feedback-${a}` : "",
4649
- C
4651
+ h
4650
4652
  ].filter(Boolean).join(" ");
4651
4653
  return /* @__PURE__ */ u("div", { className: v, children: [
4652
4654
  c && /* @__PURE__ */ e("span", { className: "kdls-field__icon kdls-field__icon--left", "aria-hidden": "true", children: /* @__PURE__ */ e(n1, { icon: c }) }),
@@ -4661,7 +4663,7 @@ function Qn({
4661
4663
  className: "kdls-field__icon kdls-field__icon--right kdls-field__icon--right--clickable",
4662
4664
  onClick: m,
4663
4665
  "aria-label": d,
4664
- onMouseDown: (h) => h.preventDefault(),
4666
+ onMouseDown: (C) => C.preventDefault(),
4665
4667
  children: /* @__PURE__ */ e(n1, { icon: f })
4666
4668
  }
4667
4669
  ) : /* @__PURE__ */ e("span", { className: "kdls-field__icon kdls-field__icon--right", "aria-hidden": "true", children: /* @__PURE__ */ e(n1, { icon: f }) }) : null
@@ -4682,7 +4684,7 @@ function e3({
4682
4684
  disabled: d = !1,
4683
4685
  className: k
4684
4686
  }) {
4685
- const C = ie(), v = `${C}-panel`, [h, _] = D(!1), L = s.length > 0 || o.length > 0, y = t.length > 0, B = h && L, H = () => {
4687
+ const h = ie(), v = `${h}-panel`, [C, _] = D(!1), L = s.length > 0 || o.length > 0, w = t.length > 0, B = C && L, H = () => {
4686
4688
  L && !m && _(!0);
4687
4689
  }, E = () => {
4688
4690
  setTimeout(() => _(!1), 150);
@@ -4702,18 +4704,18 @@ function e3({
4702
4704
  size: r,
4703
4705
  label: l,
4704
4706
  labelMode: r === "lg" ? "float" : "placeholder",
4705
- htmlFor: C,
4706
- filled: y,
4707
+ htmlFor: h,
4708
+ filled: w,
4707
4709
  disabled: d,
4708
4710
  isLoading: m,
4709
4711
  iconLeft: /* @__PURE__ */ e(ze, {}),
4710
- iconRight: y ? /* @__PURE__ */ e(q1, {}) : void 0,
4712
+ iconRight: w ? /* @__PURE__ */ e(q1, {}) : void 0,
4711
4713
  onClickIconRight: () => n(""),
4712
4714
  iconRightLabel: "Limpar busca",
4713
4715
  children: /* @__PURE__ */ e(
4714
4716
  "input",
4715
4717
  {
4716
- id: C,
4718
+ id: h,
4717
4719
  className: "kdls-field__input",
4718
4720
  type: "text",
4719
4721
  value: t,
@@ -4792,26 +4794,26 @@ const Ne = T1.createContext({
4792
4794
  const { close: r, listboxId: i } = we(Ne), s = (o) => {
4793
4795
  const a = Array.from(
4794
4796
  o.currentTarget.querySelectorAll('[role="option"]:not([aria-disabled="true"])')
4795
- ), c = a.findIndex((C) => C === document.activeElement), f = (C) => {
4796
- if (!C) return;
4797
- C.focus({ preventScroll: !0 });
4798
- const v = C.closest(".kdls-menu__panel-body, .kdls-bottomsheet__list");
4797
+ ), c = a.findIndex((h) => h === document.activeElement), f = (h) => {
4798
+ if (!h) return;
4799
+ h.focus({ preventScroll: !0 });
4800
+ const v = h.closest(".kdls-menu__panel-body, .kdls-bottomsheet__list");
4799
4801
  if (!v) return;
4800
- const h = C.getBoundingClientRect(), _ = v.getBoundingClientRect();
4801
- h.top < _.top ? v.scrollTop -= _.top - h.top : h.bottom > _.bottom && (v.scrollTop += h.bottom - _.bottom);
4802
- }, m = ".kdls-menu__panel, .kdls-menu__panel-bare, .kdls-bottomsheet", d = (C) => {
4803
- const v = o.currentTarget.closest(m), h = v == null ? void 0 : v.querySelector(".kdls-menu__panel-footer, .kdls-bottomsheet__footer");
4804
- return h ? n3(h) : null;
4802
+ const C = h.getBoundingClientRect(), _ = v.getBoundingClientRect();
4803
+ C.top < _.top ? v.scrollTop -= _.top - C.top : C.bottom > _.bottom && (v.scrollTop += C.bottom - _.bottom);
4804
+ }, m = ".kdls-menu__panel, .kdls-menu__panel-bare, .kdls-bottomsheet", d = (h) => {
4805
+ const v = o.currentTarget.closest(m), C = v == null ? void 0 : v.querySelector(".kdls-menu__panel-footer, .kdls-bottomsheet__footer");
4806
+ return C ? n3(C) : null;
4805
4807
  }, k = () => {
4806
- const C = o.currentTarget.closest(m);
4807
- return C == null ? void 0 : C.querySelector(".kdls-menu__search input, .kdls-bottomsheet__search input");
4808
+ const h = o.currentTarget.closest(m);
4809
+ return h == null ? void 0 : h.querySelector(".kdls-menu__search input, .kdls-bottomsheet__search input");
4808
4810
  };
4809
4811
  switch (o.key) {
4810
4812
  case "ArrowDown":
4811
4813
  if (o.preventDefault(), c === a.length - 1) {
4812
- const C = d();
4813
- if (C) {
4814
- C.focus({ preventScroll: !0 });
4814
+ const h = d();
4815
+ if (h) {
4816
+ h.focus({ preventScroll: !0 });
4815
4817
  return;
4816
4818
  }
4817
4819
  }
@@ -4819,9 +4821,9 @@ const Ne = T1.createContext({
4819
4821
  break;
4820
4822
  case "ArrowUp":
4821
4823
  if (o.preventDefault(), c === 0) {
4822
- const C = k();
4823
- if (C) {
4824
- C.focus({ preventScroll: !0 });
4824
+ const h = k();
4825
+ if (h) {
4826
+ h.focus({ preventScroll: !0 });
4825
4827
  return;
4826
4828
  }
4827
4829
  }
@@ -4838,15 +4840,15 @@ const Ne = T1.createContext({
4838
4840
  break;
4839
4841
  case "Tab":
4840
4842
  if (o.shiftKey) {
4841
- const C = k();
4842
- if (C) {
4843
- o.preventDefault(), C.focus({ preventScroll: !0 });
4843
+ const h = k();
4844
+ if (h) {
4845
+ o.preventDefault(), h.focus({ preventScroll: !0 });
4844
4846
  return;
4845
4847
  }
4846
4848
  } else {
4847
- const C = d();
4848
- if (C) {
4849
- o.preventDefault(), C.focus({ preventScroll: !0 });
4849
+ const h = d();
4850
+ if (h) {
4851
+ o.preventDefault(), h.focus({ preventScroll: !0 });
4850
4852
  return;
4851
4853
  }
4852
4854
  }
@@ -4854,9 +4856,9 @@ const Ne = T1.createContext({
4854
4856
  break;
4855
4857
  default:
4856
4858
  if (o.key.length === 1 && !o.ctrlKey && !o.metaKey && !o.altKey) {
4857
- const C = o.key.toLowerCase(), v = c >= 0 ? c + 1 : 0, _ = [...a.slice(v), ...a.slice(0, v)].find((L) => {
4858
- var y;
4859
- return (y = L.textContent) == null ? void 0 : y.trim().toLowerCase().startsWith(C);
4859
+ const h = o.key.toLowerCase(), v = c >= 0 ? c + 1 : 0, _ = [...a.slice(v), ...a.slice(0, v)].find((L) => {
4860
+ var w;
4861
+ return (w = L.textContent) == null ? void 0 : w.trim().toLowerCase().startsWith(h);
4860
4862
  });
4861
4863
  _ && f(_);
4862
4864
  }
@@ -4892,7 +4894,7 @@ const Ne = T1.createContext({
4892
4894
  disabled: d = !1,
4893
4895
  className: k = ""
4894
4896
  }) => {
4895
- const { close: C } = we(Ne), v = m ?? !1, h = [
4897
+ const { close: h } = we(Ne), v = m ?? !1, C = [
4896
4898
  "kdls-menu__item",
4897
4899
  v ? "kdls-menu__item--active" : "",
4898
4900
  d ? "kdls-menu__item--disabled" : "",
@@ -4900,8 +4902,8 @@ const Ne = T1.createContext({
4900
4902
  k
4901
4903
  ].filter(Boolean).join(" "), _ = /* @__PURE__ */ u(N1, { children: [
4902
4904
  l && /* @__PURE__ */ e("span", { className: "kdls-menu__item-icon", "aria-hidden": "true", children: /* @__PURE__ */ e(n1, { icon: l }) }),
4903
- o && !a ? /* @__PURE__ */ e(he, { content: o, placement: c, children: /* @__PURE__ */ e("span", { className: "kdls-menu__item-label", children: t }) }) : /* @__PURE__ */ e("span", { className: "kdls-menu__item-label", children: t }),
4904
- o && a && /* @__PURE__ */ e("span", { className: "kdls-menu__item-tooltip-icon", children: /* @__PURE__ */ e(he, { content: o, placement: c }) }),
4905
+ o && !a ? /* @__PURE__ */ e(oe, { content: o, placement: c, children: /* @__PURE__ */ e("span", { className: "kdls-menu__item-label", children: t }) }) : /* @__PURE__ */ e("span", { className: "kdls-menu__item-label", children: t }),
4906
+ o && a && /* @__PURE__ */ e("span", { className: "kdls-menu__item-tooltip-icon", children: /* @__PURE__ */ e(oe, { content: o, placement: c }) }),
4905
4907
  r && /* @__PURE__ */ e(L2, { label: r, variant: "primary", appearance: "tone-50", size: "sm" })
4906
4908
  ] });
4907
4909
  return i ? /* @__PURE__ */ e("li", { role: "none", children: /* @__PURE__ */ e(
@@ -4910,7 +4912,7 @@ const Ne = T1.createContext({
4910
4912
  href: d ? void 0 : i,
4911
4913
  target: s ? "_blank" : void 0,
4912
4914
  rel: s ? "noopener noreferrer" : void 0,
4913
- className: h,
4915
+ className: C,
4914
4916
  role: "option",
4915
4917
  "aria-selected": v,
4916
4918
  "aria-disabled": d || void 0,
@@ -4920,23 +4922,23 @@ const Ne = T1.createContext({
4920
4922
  L.preventDefault();
4921
4923
  return;
4922
4924
  }
4923
- f == null || f(), C();
4925
+ f == null || f(), h();
4924
4926
  },
4925
4927
  children: _
4926
4928
  }
4927
4929
  ) }) : /* @__PURE__ */ e(
4928
4930
  "li",
4929
4931
  {
4930
- className: h,
4932
+ className: C,
4931
4933
  role: "option",
4932
4934
  "aria-selected": v,
4933
4935
  "aria-disabled": d || void 0,
4934
4936
  tabIndex: -1,
4935
4937
  onMouseDown: (L) => {
4936
- L.preventDefault(), d || (f == null || f(), C());
4938
+ L.preventDefault(), d || (f == null || f(), h());
4937
4939
  },
4938
4940
  onKeyDown: (L) => {
4939
- (L.key === "Enter" || L.key === " ") && !d && (L.preventDefault(), f == null || f(), C());
4941
+ (L.key === "Enter" || L.key === " ") && !d && (L.preventDefault(), f == null || f(), h());
4940
4942
  },
4941
4943
  children: _
4942
4944
  }
@@ -4956,7 +4958,7 @@ const Ne = T1.createContext({
4956
4958
  disabled: d = !1,
4957
4959
  className: k = ""
4958
4960
  }) => {
4959
- const { close: C } = we(Ne), v = m ?? !1, h = [
4961
+ const { close: h } = we(Ne), v = m ?? !1, C = [
4960
4962
  "kdls-menu__item",
4961
4963
  v ? "kdls-menu__item--active" : "",
4962
4964
  d ? "kdls-menu__item--disabled" : "",
@@ -4964,8 +4966,8 @@ const Ne = T1.createContext({
4964
4966
  k
4965
4967
  ].filter(Boolean).join(" "), _ = /* @__PURE__ */ u(N1, { children: [
4966
4968
  l && /* @__PURE__ */ e("span", { className: "kdls-menu__item-icon", "aria-hidden": "true", children: /* @__PURE__ */ e(n1, { icon: l }) }),
4967
- o && !a ? /* @__PURE__ */ e(he, { content: o, placement: c, children: /* @__PURE__ */ e("span", { className: "kdls-menu__item-label", children: t }) }) : /* @__PURE__ */ e("span", { className: "kdls-menu__item-label", children: t }),
4968
- o && a && /* @__PURE__ */ e("span", { className: "kdls-menu__item-tooltip-icon", children: /* @__PURE__ */ e(he, { content: o, placement: c }) }),
4969
+ o && !a ? /* @__PURE__ */ e(oe, { content: o, placement: c, children: /* @__PURE__ */ e("span", { className: "kdls-menu__item-label", children: t }) }) : /* @__PURE__ */ e("span", { className: "kdls-menu__item-label", children: t }),
4970
+ o && a && /* @__PURE__ */ e("span", { className: "kdls-menu__item-tooltip-icon", children: /* @__PURE__ */ e(oe, { content: o, placement: c }) }),
4969
4971
  r && /* @__PURE__ */ e(L2, { label: r, variant: "primary", appearance: "tone-50", size: "sm" })
4970
4972
  ] });
4971
4973
  return i ? /* @__PURE__ */ e("li", { role: "none", children: /* @__PURE__ */ e(
@@ -4974,7 +4976,7 @@ const Ne = T1.createContext({
4974
4976
  href: d ? void 0 : i,
4975
4977
  target: s ? "_blank" : void 0,
4976
4978
  rel: s ? "noopener noreferrer" : void 0,
4977
- className: h,
4979
+ className: C,
4978
4980
  role: "option",
4979
4981
  "aria-selected": v,
4980
4982
  "aria-disabled": d || void 0,
@@ -4984,23 +4986,23 @@ const Ne = T1.createContext({
4984
4986
  L.preventDefault();
4985
4987
  return;
4986
4988
  }
4987
- f == null || f(), C();
4989
+ f == null || f(), h();
4988
4990
  },
4989
4991
  children: _
4990
4992
  }
4991
4993
  ) }) : /* @__PURE__ */ e(
4992
4994
  "li",
4993
4995
  {
4994
- className: h,
4996
+ className: C,
4995
4997
  role: "option",
4996
4998
  "aria-selected": v,
4997
4999
  "aria-disabled": d || void 0,
4998
5000
  tabIndex: -1,
4999
5001
  onMouseDown: (L) => {
5000
- L.preventDefault(), d || (f == null || f(), C());
5002
+ L.preventDefault(), d || (f == null || f(), h());
5001
5003
  },
5002
5004
  onKeyDown: (L) => {
5003
- (L.key === "Enter" || L.key === " ") && !d && (L.preventDefault(), f == null || f(), C());
5005
+ (L.key === "Enter" || L.key === " ") && !d && (L.preventDefault(), f == null || f(), h());
5004
5006
  },
5005
5007
  children: _
5006
5008
  }
@@ -5013,9 +5015,9 @@ const Ne = T1.createContext({
5013
5015
  disabled: i = !1,
5014
5016
  className: s = ""
5015
5017
  }) => {
5016
- const o = we(Ne), a = we(st);
5018
+ const o = we(Ne), a = we(it);
5017
5019
  a == null || a.orientation;
5018
- const c = (a == null ? void 0 : a.orientation) === "vertical" ? !0 : r, f = ie(), m = a1(null), d = a1(null), [k, C] = D(!1), [v, h] = D(!1), [_, L] = D(null), y = rt(), { style: B, positioned: H } = lt({
5020
+ const c = (a == null ? void 0 : a.orientation) === "vertical" ? !0 : r, f = ie(), m = a1(null), d = a1(null), [k, h] = D(!1), [v, C] = D(!1), [_, L] = D(null), w = st(), { style: B, positioned: H } = rt({
5019
5021
  triggerRef: m,
5020
5022
  panelRef: d,
5021
5023
  side: "right",
@@ -5031,18 +5033,18 @@ const Ne = T1.createContext({
5031
5033
  }, []);
5032
5034
  const N = A1(() => {
5033
5035
  i || (clearTimeout(W.current), E.current = setTimeout(() => {
5034
- h(!1), C(!0), o.notifyOpen(f);
5036
+ C(!1), h(!0), o.notifyOpen(f);
5035
5037
  }, 150));
5036
5038
  }, [i, o.notifyOpen, f]), V = A1(() => {
5037
5039
  clearTimeout(E.current), W.current = setTimeout(() => {
5038
5040
  var u1, p;
5039
5041
  const { x: S, y: U } = T.current, A = document.elementFromPoint(S, U);
5040
- (u1 = m.current) != null && u1.contains(A) || (p = d.current) != null && p.contains(A) || C(!1);
5042
+ (u1 = m.current) != null && u1.contains(A) || (p = d.current) != null && p.contains(A) || h(!1);
5041
5043
  }, 200);
5042
5044
  }, []), O = A1((S = !1) => {
5043
- i || (clearTimeout(W.current), clearTimeout(E.current), h(S), C(!0), o.notifyOpen(f));
5045
+ i || (clearTimeout(W.current), clearTimeout(E.current), C(S), h(!0), o.notifyOpen(f));
5044
5046
  }, [i, o.notifyOpen, f]), K = A1(() => {
5045
- clearTimeout(E.current), clearTimeout(W.current), C(!1);
5047
+ clearTimeout(E.current), clearTimeout(W.current), h(!1);
5046
5048
  }, []);
5047
5049
  if (i1(() => () => {
5048
5050
  clearTimeout(E.current), clearTimeout(W.current);
@@ -5053,11 +5055,11 @@ const Ne = T1.createContext({
5053
5055
  S == null || S.focus({ preventScroll: !0 });
5054
5056
  }, [k, v, H]), i1(() => {
5055
5057
  k && o.openSubId !== null && o.openSubId !== f && K();
5056
- }, [o.openSubId]), c || y) {
5058
+ }, [o.openSubId]), c || w) {
5057
5059
  const S = () => {
5058
5060
  if (!i) {
5059
5061
  const A = !k;
5060
- C(A), A && o.notifyOpen(f);
5062
+ h(A), A && o.notifyOpen(f);
5061
5063
  }
5062
5064
  }, U = [
5063
5065
  "kdls-menu__item",
@@ -5078,7 +5080,7 @@ const Ne = T1.createContext({
5078
5080
  tabIndex: -1,
5079
5081
  onClick: S,
5080
5082
  onKeyDown: (A) => {
5081
- (A.key === "Enter" || A.key === " ") && (A.preventDefault(), S()), A.key === "Escape" && (C(!1), o.close());
5083
+ (A.key === "Enter" || A.key === " ") && (A.preventDefault(), S()), A.key === "Escape" && (h(!1), o.close());
5082
5084
  },
5083
5085
  children: [
5084
5086
  l && /* @__PURE__ */ e("span", { className: "kdls-menu__item-icon", "aria-hidden": "true", children: /* @__PURE__ */ e(n1, { icon: l }) }),
@@ -5121,7 +5123,7 @@ const Ne = T1.createContext({
5121
5123
  children: [
5122
5124
  l && /* @__PURE__ */ e("span", { className: "kdls-menu__item-icon", "aria-hidden": "true", children: /* @__PURE__ */ e(n1, { icon: l }) }),
5123
5125
  /* @__PURE__ */ e("span", { className: "kdls-menu__item-label", children: t }),
5124
- /* @__PURE__ */ e("span", { className: "kdls-menu__submenu-chevron", "aria-hidden": "true", children: /* @__PURE__ */ e(n1, { icon: /* @__PURE__ */ e(nt, {}), size: "sm" }) }),
5126
+ /* @__PURE__ */ e("span", { className: "kdls-menu__submenu-chevron", "aria-hidden": "true", children: /* @__PURE__ */ e(n1, { icon: /* @__PURE__ */ e(lt, {}), size: "sm" }) }),
5125
5127
  k && ge.createPortal(
5126
5128
  /* @__PURE__ */ e(Ne.Provider, { value: P, children: /* @__PURE__ */ e(
5127
5129
  "div",
@@ -5162,7 +5164,7 @@ const Ne = T1.createContext({
5162
5164
  role: "presentation",
5163
5165
  children: t
5164
5166
  }
5165
- ), z2 = ({
5167
+ ), U2 = ({
5166
5168
  value: t,
5167
5169
  onChange: n,
5168
5170
  label: l = "Buscar"
@@ -5238,17 +5240,17 @@ const N5 = (t) => {
5238
5240
  name: m,
5239
5241
  code: d,
5240
5242
  agency: k,
5241
- initials: C,
5243
+ initials: h,
5242
5244
  src: v,
5243
- avatarSize: h = "md",
5245
+ avatarSize: C = "md",
5244
5246
  buttonIcon: _,
5245
5247
  iconVariant: L,
5246
- iconSize: y,
5248
+ iconSize: w,
5247
5249
  "aria-label": B,
5248
5250
  zIndex: H,
5249
5251
  triggerActive: E = !1,
5250
5252
  className: W = ""
5251
- } = t, T = we(st), P = T ? "navButton" : r ?? "navButton", N = (T == null ? void 0 : T.orientation) === "vertical", K = s ?? (P === "avatar" ? /* @__PURE__ */ e(j2, { initials: C, src: v, size: h }) : null) ?? (P === "iconButton" && _ ? /* @__PURE__ */ e(w1, { icon: _, variant: L, size: y, "aria-label": B || "Menu" }) : null), [S, U] = D(!1), A = ie(), u1 = a1(null), p = a1(null), [w, R] = D(null), { side: J, align: k1 } = v2(i), { style: o1, positioned: z } = lt({
5253
+ } = t, T = we(it), P = T ? "navButton" : r ?? "navButton", N = (T == null ? void 0 : T.orientation) === "vertical", K = s ?? (P === "avatar" ? /* @__PURE__ */ e(P2, { initials: h, src: v, size: C }) : null) ?? (P === "iconButton" && _ ? /* @__PURE__ */ e(w1, { icon: _, variant: L, size: w, "aria-label": B || "Menu" }) : null), [S, U] = D(!1), A = ie(), u1 = a1(null), p = a1(null), [y, R] = D(null), { side: J, align: k1 } = v2(i), { style: o1, positioned: z } = rt({
5252
5254
  triggerRef: u1,
5253
5255
  panelRef: p,
5254
5256
  side: J,
@@ -5289,7 +5291,7 @@ const N5 = (t) => {
5289
5291
  };
5290
5292
  return document.addEventListener("click", I), () => document.removeEventListener("click", I);
5291
5293
  }, [S]);
5292
- const Z = { close: $, listboxId: A, openSubId: w, notifyOpen: R }, Q = a !== void 0 ? L5(a) : l, j = () => {
5294
+ const Z = { close: $, listboxId: A, openSubId: y, notifyOpen: R }, Q = a !== void 0 ? L5(a) : l, j = () => {
5293
5295
  q.current = !1, F();
5294
5296
  }, b = (I) => {
5295
5297
  (I.key === "Enter" || I.key === " ") && (I.preventDefault(), q.current = !0, F()), I.key === "Escape" && $(), I.key === "ArrowDown" && (I.preventDefault(), q.current = !0, S ? r1(!0) : F());
@@ -5345,7 +5347,7 @@ const N5 = (t) => {
5345
5347
  }
5346
5348
  ),
5347
5349
  (() => {
5348
- const I = N5(Q), c1 = I.filter((S1) => T1.isValidElement(S1) && S1.type === z2), l1 = I.filter((S1) => !(T1.isValidElement(S1) && S1.type === z2)), _1 = m && K ? T1.cloneElement(K, {
5350
+ const I = N5(Q), c1 = I.filter((S1) => T1.isValidElement(S1) && S1.type === U2), l1 = I.filter((S1) => !(T1.isValidElement(S1) && S1.type === U2)), _1 = m && K ? T1.cloneElement(K, {
5349
5351
  onClick: void 0,
5350
5352
  onKeyDown: void 0,
5351
5353
  "aria-expanded": void 0,
@@ -5404,7 +5406,7 @@ Y1.Item = b5;
5404
5406
  Y1.SubMenu = M5;
5405
5407
  Y1.Separator = y5;
5406
5408
  Y1.Empty = r3;
5407
- Y1.Search = z2;
5409
+ Y1.Search = U2;
5408
5410
  const s3 = ({ item: t, active: n }) => {
5409
5411
  const [l, r] = D(""), i = t.children ?? [], s = t.searchable && l ? i.filter((o) => o.label.toLowerCase().includes(l.toLowerCase())) : i;
5410
5412
  return /* @__PURE__ */ u(Y1, { label: t.label, triggerActive: n, children: [
@@ -5426,17 +5428,17 @@ const s3 = ({ item: t, active: n }) => {
5426
5428
  productSwitcher: m = !1,
5427
5429
  user: d,
5428
5430
  contextSelector: k,
5429
- rightSlot: C,
5431
+ rightSlot: h,
5430
5432
  profileMenuItems: v = [],
5431
- onLogout: h,
5433
+ onLogout: C,
5432
5434
  logoutLabel: _ = "Sair",
5433
5435
  onFAQs: L,
5434
- showFAQs: y = !0,
5436
+ showFAQs: w = !0,
5435
5437
  showNotifications: B = !0,
5436
5438
  className: H = ""
5437
5439
  }) => {
5438
5440
  var Q, j;
5439
- const E = rt(), [W, T] = D(!1), [P, N] = D(!1), [V, O] = D(!1), [K, S] = D("none"), U = f.length > 1, A = m && !n && t !== "base" && U, u1 = U && !A, p = a1(null), w = () => {
5441
+ const E = st(), [W, T] = D(!1), [P, N] = D(!1), [V, O] = D(!1), [K, S] = D("none"), U = f.length > 1, A = m && !n && t !== "base" && U, u1 = U && !A, p = a1(null), y = () => {
5440
5442
  T(!1), N(!1), O(!1);
5441
5443
  }, R = () => {
5442
5444
  if (E) {
@@ -5459,7 +5461,7 @@ const s3 = ({ item: t, active: n }) => {
5459
5461
  };
5460
5462
  i1(() => {
5461
5463
  const b = (e1) => {
5462
- p.current && !p.current.contains(e1.target) && w();
5464
+ p.current && !p.current.contains(e1.target) && y();
5463
5465
  };
5464
5466
  return document.addEventListener("mousedown", b), () => document.removeEventListener("mousedown", b);
5465
5467
  }, []);
@@ -5486,7 +5488,7 @@ const s3 = ({ item: t, active: n }) => {
5486
5488
  b.label
5487
5489
  )) }), $ = /* @__PURE__ */ u("div", { className: "kdls-header__profile-header", children: [
5488
5490
  /* @__PURE__ */ e(
5489
- j2,
5491
+ P2,
5490
5492
  {
5491
5493
  src: d == null ? void 0 : d.avatarSrc,
5492
5494
  initials: (d == null ? void 0 : d.initials) ?? ((Q = d == null ? void 0 : d.name) == null ? void 0 : Q.slice(0, 2).toUpperCase()),
@@ -5500,11 +5502,11 @@ const s3 = ({ item: t, active: n }) => {
5500
5502
  ] })
5501
5503
  ] }), F = /* @__PURE__ */ u(N1, { children: [
5502
5504
  $,
5503
- (v.length > 0 || h) && /* @__PURE__ */ u("div", { className: "kdls-header__profile-menu", children: [
5505
+ (v.length > 0 || C) && /* @__PURE__ */ u("div", { className: "kdls-header__profile-menu", children: [
5504
5506
  v.map((b) => /* @__PURE__ */ e("a", { href: b.href, onClick: b.onClick, className: "kdls-header__profile-item", children: b.label }, b.label)),
5505
- h && /* @__PURE__ */ u(N1, { children: [
5507
+ C && /* @__PURE__ */ u(N1, { children: [
5506
5508
  v.length > 0 && /* @__PURE__ */ e("hr", { className: "kdls-header__profile-divider" }),
5507
- /* @__PURE__ */ e("button", { type: "button", className: "kdls-header__profile-item kdls-header__profile-item--danger", onClick: h, children: _ })
5509
+ /* @__PURE__ */ e("button", { type: "button", className: "kdls-header__profile-item kdls-header__profile-item--danger", onClick: C, children: _ })
5508
5510
  ] })
5509
5511
  ] })
5510
5512
  ] }), q = /* @__PURE__ */ u("div", { className: "kdls-header__mobile-menu", children: [
@@ -5517,13 +5519,13 @@ const s3 = ({ item: t, active: n }) => {
5517
5519
  /* @__PURE__ */ e("hr", { className: "kdls-header__mobile-divider" }),
5518
5520
  /* @__PURE__ */ e("div", { className: "kdls-header__mobile-menu-block", children: b.children ? /* @__PURE__ */ e(bn, { title: b.label, size: "md", className: "kdls-header__mobile-accordion", children: b.children.map((e1) => /* @__PURE__ */ e("a", { href: e1.href, onClick: e1.onClick, className: "kdls-header__mobile-row", children: /* @__PURE__ */ e(X, { as: "span", variant: "bodyMd", children: e1.label }) }, e1.label)) }) : /* @__PURE__ */ e("a", { href: b.href, onClick: b.onClick, className: "kdls-header__mobile-row", children: /* @__PURE__ */ e(X, { as: "span", variant: "bodyMd", children: b.label }) }) })
5519
5521
  ] }, b.label)),
5520
- y && /* @__PURE__ */ u(N1, { children: [
5522
+ w && /* @__PURE__ */ u(N1, { children: [
5521
5523
  /* @__PURE__ */ e("hr", { className: "kdls-header__mobile-divider" }),
5522
5524
  /* @__PURE__ */ e("div", { className: "kdls-header__mobile-menu-block", children: /* @__PURE__ */ e("button", { type: "button", className: "kdls-header__mobile-row", onClick: L, children: /* @__PURE__ */ e(X, { as: "span", variant: "bodyMd", children: "FAQs" }) }) })
5523
5525
  ] }),
5524
- h && /* @__PURE__ */ u(N1, { children: [
5526
+ C && /* @__PURE__ */ u(N1, { children: [
5525
5527
  /* @__PURE__ */ e("hr", { className: "kdls-header__mobile-divider" }),
5526
- /* @__PURE__ */ e("div", { className: "kdls-header__mobile-menu-block", children: /* @__PURE__ */ e("button", { type: "button", className: "kdls-header__mobile-row kdls-header__mobile-row--danger", onClick: h, children: /* @__PURE__ */ e(X, { as: "span", variant: "bodyMd", children: _ }) }) })
5528
+ /* @__PURE__ */ e("div", { className: "kdls-header__mobile-menu-block", children: /* @__PURE__ */ e("button", { type: "button", className: "kdls-header__mobile-row kdls-header__mobile-row--danger", onClick: C, children: /* @__PURE__ */ e(X, { as: "span", variant: "bodyMd", children: _ }) }) })
5527
5529
  ] })
5528
5530
  ] }), r1 = n ?? /* @__PURE__ */ e(At, { product: A ? "base" : t, variant: "primary", size: 24 }), Z = /* @__PURE__ */ u(
5529
5531
  "button",
@@ -5576,7 +5578,7 @@ const s3 = ({ item: t, active: n }) => {
5576
5578
  )
5577
5579
  ) }) }),
5578
5580
  /* @__PURE__ */ u("div", { className: "kdls-header__actions", children: [
5579
- !E && y && /* @__PURE__ */ e(
5581
+ !E && w && /* @__PURE__ */ e(
5580
5582
  w1,
5581
5583
  {
5582
5584
  icon: /* @__PURE__ */ e(Cn, {}),
@@ -5609,7 +5611,7 @@ const s3 = ({ item: t, active: n }) => {
5609
5611
  ),
5610
5612
  !E && V && /* @__PURE__ */ e("div", { className: "kdls-header__products-panel", children: z })
5611
5613
  ] }),
5612
- C,
5614
+ h,
5613
5615
  /* @__PURE__ */ u("div", { className: "kdls-header__action-wrapper", children: [
5614
5616
  /* @__PURE__ */ e(
5615
5617
  "button",
@@ -5620,7 +5622,7 @@ const s3 = ({ item: t, active: n }) => {
5620
5622
  "aria-label": "Menu do perfil",
5621
5623
  "aria-expanded": P,
5622
5624
  children: /* @__PURE__ */ e(
5623
- j2,
5625
+ P2,
5624
5626
  {
5625
5627
  src: d == null ? void 0 : d.avatarSrc,
5626
5628
  initials: (d == null ? void 0 : d.initials) ?? ((j = d == null ? void 0 : d.name) == null ? void 0 : j.slice(0, 2).toUpperCase()),
@@ -5650,7 +5652,7 @@ const s3 = ({ item: t, active: n }) => {
5650
5652
  crop: r,
5651
5653
  className: i = ""
5652
5654
  }) => {
5653
- const s = a1(null), o = a1(null), [a, c] = D(!1), [f, m] = D(!1), [d, k] = D(1), [C, v] = D(0), [h, _] = D({ x: 10, y: 10, w: 80, h: 80 }), L = t === "image" ? ".jpg,.jpeg,.png,image/jpeg,image/png" : ".pdf,.docx,.doc,.jpeg,.jpg,.png", y = t === "image" ? "JPG, JPEG ou PNG" : "PDF, DOCX, JPEG ou PNG", B = t === "image" ? "Adicionar imagem" : "Adicionar arquivo";
5655
+ const s = a1(null), o = a1(null), [a, c] = D(!1), [f, m] = D(!1), [d, k] = D(1), [h, v] = D(0), [C, _] = D({ x: 10, y: 10, w: 80, h: 80 }), L = t === "image" ? ".jpg,.jpeg,.png,image/jpeg,image/png" : ".pdf,.docx,.doc,.jpeg,.jpg,.png", w = t === "image" ? "JPG, JPEG ou PNG" : "PDF, DOCX, JPEG ou PNG", B = t === "image" ? "Adicionar imagem" : "Adicionar arquivo";
5654
5656
  i1(() => {
5655
5657
  if (!f) return;
5656
5658
  if (k(1), v(0), !r) {
@@ -5667,10 +5669,10 @@ const s3 = ({ item: t, active: n }) => {
5667
5669
  if (K.length !== 2 || isNaN(K[0]) || isNaN(K[1])) return;
5668
5670
  const [S, U] = K, A = S / U, u1 = O.width * 0.8, p = u1 / A;
5669
5671
  if (p <= O.height * 0.8) {
5670
- const w = u1 / O.width * 100, R = p / O.height * 100;
5671
- _({ x: (100 - w) / 2, y: (100 - R) / 2, w, h: R });
5672
+ const y = u1 / O.width * 100, R = p / O.height * 100;
5673
+ _({ x: (100 - y) / 2, y: (100 - R) / 2, w: y, h: R });
5672
5674
  } else {
5673
- const w = O.height * 0.8, J = w * A / O.width * 100, k1 = w / O.height * 100;
5675
+ const y = O.height * 0.8, J = y * A / O.width * 100, k1 = y / O.height * 100;
5674
5676
  _({ x: (100 - J) / 2, y: (100 - k1) / 2, w: J, h: k1 });
5675
5677
  }
5676
5678
  } else {
@@ -5684,7 +5686,7 @@ const s3 = ({ item: t, active: n }) => {
5684
5686
  V.stopPropagation(), V.preventDefault();
5685
5687
  const O = o.current;
5686
5688
  if (!O) return;
5687
- const K = O.getBoundingClientRect(), S = V.clientX, U = V.clientY, A = { ...h }, u1 = (() => {
5689
+ const K = O.getBoundingClientRect(), S = V.clientX, U = V.clientY, A = { ...C }, u1 = (() => {
5688
5690
  if (typeof r == "string") {
5689
5691
  const R = r.split(":").map(Number);
5690
5692
  if (R.length === 2 && !isNaN(R[0]) && !isNaN(R[1]))
@@ -5715,10 +5717,10 @@ const s3 = ({ item: t, active: n }) => {
5715
5717
  z < 0 && (F += z, z = 0), $ < 0 && (q += $, $ = 0), z + F > 100 && (F = 100 - z), $ + q > 100 && (q = 100 - $);
5716
5718
  }
5717
5719
  _({ x: z, y: $, w: F, h: q });
5718
- }, w = () => {
5719
- window.removeEventListener("mousemove", p), window.removeEventListener("mouseup", w);
5720
+ }, y = () => {
5721
+ window.removeEventListener("mousemove", p), window.removeEventListener("mouseup", y);
5720
5722
  };
5721
- window.addEventListener("mousemove", p), window.addEventListener("mouseup", w);
5723
+ window.addEventListener("mousemove", p), window.addEventListener("mouseup", y);
5722
5724
  }, E = (N) => {
5723
5725
  if (!N) return;
5724
5726
  const V = new FileReader();
@@ -5763,7 +5765,7 @@ const s3 = ({ item: t, active: n }) => {
5763
5765
  src: n,
5764
5766
  alt: "Editar",
5765
5767
  className: "kdls-uploader__edit-img",
5766
- style: { "--img-zoom": d, "--img-rotate": `${C}deg` }
5768
+ style: { "--img-zoom": d, "--img-rotate": `${h}deg` }
5767
5769
  }
5768
5770
  ),
5769
5771
  r && /* @__PURE__ */ u(
@@ -5771,10 +5773,10 @@ const s3 = ({ item: t, active: n }) => {
5771
5773
  {
5772
5774
  className: "kdls-uploader__crop-box",
5773
5775
  style: {
5774
- "--crop-x": `${h.x}%`,
5775
- "--crop-y": `${h.y}%`,
5776
- "--crop-w": `${h.w}%`,
5777
- "--crop-h": `${h.h}%`
5776
+ "--crop-x": `${C.x}%`,
5777
+ "--crop-y": `${C.y}%`,
5778
+ "--crop-w": `${C.w}%`,
5779
+ "--crop-h": `${C.h}%`
5778
5780
  },
5779
5781
  onMouseDown: H("center"),
5780
5782
  children: [
@@ -5859,14 +5861,14 @@ const s3 = ({ item: t, active: n }) => {
5859
5861
  tabIndex: -1
5860
5862
  }
5861
5863
  ),
5862
- /* @__PURE__ */ e("span", { className: "kdls-uploader__icon", "aria-hidden": "true", children: t === "image" ? /* @__PURE__ */ e(n1, { icon: /* @__PURE__ */ e(tt, {}) }) : /* @__PURE__ */ e(n1, { icon: /* @__PURE__ */ e($0, {}) }) }),
5864
+ /* @__PURE__ */ e("span", { className: "kdls-uploader__icon", "aria-hidden": "true", children: t === "image" ? /* @__PURE__ */ e(n1, { icon: /* @__PURE__ */ e(nt, {}) }) : /* @__PURE__ */ e(n1, { icon: /* @__PURE__ */ e($0, {}) }) }),
5863
5865
  /* @__PURE__ */ e(X, { as: "span", variant: "titleSm", children: B }),
5864
5866
  /* @__PURE__ */ e("span", { className: "kdls-uploader__hint", children: "ou arraste e solte aqui." }),
5865
5867
  /* @__PURE__ */ u("span", { className: "kdls-uploader__formats", children: [
5866
5868
  /* @__PURE__ */ e(n1, { icon: /* @__PURE__ */ e(o5, {}) }),
5867
5869
  /* @__PURE__ */ u(X, { as: "span", variant: "labelRegular", children: [
5868
5870
  "Formatos suportados: ",
5869
- y
5871
+ w
5870
5872
  ] })
5871
5873
  ] })
5872
5874
  ]
@@ -5960,7 +5962,7 @@ const s3 = ({ item: t, active: n }) => {
5960
5962
  l
5961
5963
  ].filter(Boolean).join(" "),
5962
5964
  "aria-hidden": "true",
5963
- children: /* @__PURE__ */ e(n1, { icon: /* @__PURE__ */ e(tt, {}), size: "md" })
5965
+ children: /* @__PURE__ */ e(n1, { icon: /* @__PURE__ */ e(nt, {}), size: "md" })
5964
5966
  }
5965
5967
  ), Be = ({
5966
5968
  children: t,
@@ -6089,7 +6091,7 @@ const c3 = "M3.2793 0C3.55534 0.000112402 3.7793 0.223927 3.7793 0.5V30.4688C3.7
6089
6091
  onOpenChange: m,
6090
6092
  zIndex: d,
6091
6093
  panelClassName: k = "",
6092
- titleClassName: C = "",
6094
+ titleClassName: h = "",
6093
6095
  contentClassName: v = ""
6094
6096
  }) => /* @__PURE__ */ e(
6095
6097
  r2,
@@ -6106,9 +6108,9 @@ const c3 = "M3.2793 0C3.55534 0.000112402 3.7793 0.223927 3.7793 0.5V30.4688C3.7
6106
6108
  className: "kdls-popover",
6107
6109
  openClassName: "kdls-popover--open",
6108
6110
  triggerClassName: "kdls-popover__trigger",
6109
- content: (h) => /* @__PURE__ */ u("div", { className: ["kdls-popover__panel", o ? "kdls-popover__panel--fill-width" : "", k].filter(Boolean).join(" "), children: [
6110
- s && /* @__PURE__ */ e("div", { className: `kdls-popover__arrow kdls-popover__arrow--${h5(h)}` }),
6111
- l && /* @__PURE__ */ e("div", { className: ["kdls-popover__title", C].filter(Boolean).join(" "), children: l }),
6111
+ content: (C) => /* @__PURE__ */ u("div", { className: ["kdls-popover__panel", o ? "kdls-popover__panel--fill-width" : "", k].filter(Boolean).join(" "), children: [
6112
+ s && /* @__PURE__ */ e("div", { className: `kdls-popover__arrow kdls-popover__arrow--${h5(C)}` }),
6113
+ l && /* @__PURE__ */ e("div", { className: ["kdls-popover__title", h].filter(Boolean).join(" "), children: l }),
6112
6114
  /* @__PURE__ */ e("div", { className: ["kdls-popover__content", v].filter(Boolean).join(" "), children: n })
6113
6115
  ] }),
6114
6116
  children: t
@@ -6163,17 +6165,17 @@ const c3 = "M3.2793 0C3.55534 0.000112402 3.7793 0.223927 3.7793 0.5V30.4688C3.7
6163
6165
  required: m = !1,
6164
6166
  className: d = ""
6165
6167
  }, k) => {
6166
- const C = ie(), v = r !== void 0, [h, _] = D(i), L = v ? r : h, y = o ? "none" : a, B = (H) => {
6168
+ const h = ie(), v = r !== void 0, [C, _] = D(i), L = v ? r : C, w = o ? "none" : a, B = (H) => {
6167
6169
  v || _(H), s == null || s(H);
6168
6170
  };
6169
6171
  return /* @__PURE__ */ u("div", { ref: k, className: ["kdls-radio-group", d].filter(Boolean).join(" "), children: [
6170
- n && /* @__PURE__ */ e(X, { as: "span", variant: "bodyMd", id: C, className: ["kdls-radio-group__label", m && !o ? "kdls-radio-group__label--required" : "", o ? "kdls-radio-group__label--disabled" : ""].filter(Boolean).join(" "), children: n }),
6172
+ n && /* @__PURE__ */ e(X, { as: "span", variant: "bodyMd", id: h, className: ["kdls-radio-group__label", m && !o ? "kdls-radio-group__label--required" : "", o ? "kdls-radio-group__label--disabled" : ""].filter(Boolean).join(" "), children: n }),
6171
6173
  /* @__PURE__ */ u(
6172
6174
  "div",
6173
6175
  {
6174
6176
  className: "kdls-radio-group__options",
6175
6177
  role: "radiogroup",
6176
- "aria-labelledby": n ? C : void 0,
6178
+ "aria-labelledby": n ? h : void 0,
6177
6179
  "aria-orientation": "vertical",
6178
6180
  "aria-required": m || void 0,
6179
6181
  "aria-invalid": a === "error" || void 0,
@@ -6185,7 +6187,7 @@ const c3 = "M3.2793 0C3.55534 0.000112402 3.7793 0.223927 3.7793 0.5V30.4688C3.7
6185
6187
  label: H.label,
6186
6188
  hint: H.hint,
6187
6189
  size: l,
6188
- feedback: H.disabled ? "none" : y,
6190
+ feedback: H.disabled ? "none" : w,
6189
6191
  checked: H.value === L,
6190
6192
  disabled: o || H.disabled,
6191
6193
  onChange: () => B(H.value)
@@ -6215,21 +6217,21 @@ const v7 = {
6215
6217
  disabled: c = !1,
6216
6218
  className: f = ""
6217
6219
  }) => {
6218
- const m = ie(), d = ie(), k = i !== void 0, [C, v] = D(s), h = k ? i : C, _ = () => {
6220
+ const m = ie(), d = ie(), k = i !== void 0, [h, v] = D(s), C = k ? i : h, _ = () => {
6219
6221
  if (c) return;
6220
- const B = !h;
6222
+ const B = !C;
6221
6223
  k || v(B), o == null || o(B);
6222
- }, L = ["kdls-switch__hint", c ? "kdls-switch__hint--disabled" : ""].filter(Boolean).join(" "), y = /* @__PURE__ */ u(
6224
+ }, L = ["kdls-switch__hint", c ? "kdls-switch__hint--disabled" : ""].filter(Boolean).join(" "), w = /* @__PURE__ */ u(
6223
6225
  "div",
6224
6226
  {
6225
6227
  className: [
6226
6228
  "kdls-switch",
6227
6229
  `kdls-switch--${n}`,
6228
- h ? "kdls-switch--on" : "kdls-switch--off",
6230
+ C ? "kdls-switch--on" : "kdls-switch--off",
6229
6231
  c ? "kdls-switch--disabled" : ""
6230
6232
  ].filter(Boolean).join(" "),
6231
6233
  role: "switch",
6232
- "aria-checked": h,
6234
+ "aria-checked": C,
6233
6235
  "aria-disabled": c,
6234
6236
  "aria-labelledby": t ? m : void 0,
6235
6237
  "aria-describedby": r ? d : void 0,
@@ -6252,12 +6254,12 @@ const v7 = {
6252
6254
  {
6253
6255
  className: ["kdls-switch-wrapper", l !== "hug" ? `kdls-switch-wrapper--${l}` : "", f].filter(Boolean).join(" "),
6254
6256
  children: [
6255
- a ? /* @__PURE__ */ e("div", { className: `kdls-switch-container${c ? " kdls-switch-container--disabled" : ""}`, children: y }) : y,
6257
+ a ? /* @__PURE__ */ e("div", { className: `kdls-switch-container${c ? " kdls-switch-container--disabled" : ""}`, children: w }) : w,
6256
6258
  a && r && /* @__PURE__ */ e(X, { as: "span", variant: "labelRegular", id: d, className: L, children: r })
6257
6259
  ]
6258
6260
  }
6259
6261
  );
6260
- }, v3 = ["12", "14", "16", "18", "20", "24", "32"], I2 = [
6262
+ }, v3 = ["12", "14", "16", "18", "20", "24", "32"], A2 = [
6261
6263
  { label: "Esquerda", icon: /* @__PURE__ */ e(nn, {}), command: "justifyLeft" },
6262
6264
  { label: "Centro", icon: /* @__PURE__ */ e(tn, {}), command: "justifyCenter" },
6263
6265
  { label: "Direita", icon: /* @__PURE__ */ e(ln, {}), command: "justifyRight" }
@@ -6268,16 +6270,16 @@ const v7 = {
6268
6270
  minHeight: r = 200,
6269
6271
  className: i = ""
6270
6272
  }) => {
6271
- const s = a1(null), [o, a] = D("16"), [c, f] = D(0), m = A1((C, v) => {
6272
- var h, _;
6273
- (h = s.current) == null || h.focus(), document.execCommand(C, !1, v), l == null || l(((_ = s.current) == null ? void 0 : _.innerHTML) ?? "");
6274
- }, [l]), d = (C) => {
6273
+ const s = a1(null), [o, a] = D("16"), [c, f] = D(0), m = A1((h, v) => {
6274
+ var C, _;
6275
+ (C = s.current) == null || C.focus(), document.execCommand(h, !1, v), l == null || l(((_ = s.current) == null ? void 0 : _.innerHTML) ?? "");
6276
+ }, [l]), d = (h) => {
6275
6277
  var v;
6276
- a(C), m("fontSize", "7"), s.current && s.current.querySelectorAll('font[size="7"]').forEach((_) => {
6277
- _.removeAttribute("size"), _.style.fontSize = `${C}px`;
6278
+ a(h), m("fontSize", "7"), s.current && s.current.querySelectorAll('font[size="7"]').forEach((_) => {
6279
+ _.removeAttribute("size"), _.style.fontSize = `${h}px`;
6278
6280
  }), l == null || l(((v = s.current) == null ? void 0 : v.innerHTML) ?? "");
6279
- }, k = (C) => {
6280
- f(C), m(I2[C].command);
6281
+ }, k = (h) => {
6282
+ f(h), m(A2[h].command);
6281
6283
  };
6282
6284
  return /* @__PURE__ */ u("div", { className: ["kdls-text-editor", i].filter(Boolean).join(" "), children: [
6283
6285
  /* @__PURE__ */ u("div", { className: "kdls-text-editor__toolbar", role: "toolbar", "aria-label": "Formatação de texto", children: [
@@ -6288,10 +6290,10 @@ const v7 = {
6288
6290
  icon: /* @__PURE__ */ e(on, {}),
6289
6291
  label: String(o),
6290
6292
  placement: "bottomLeft",
6291
- children: v3.map((C) => /* @__PURE__ */ u(Y1.Item, { active: o === C, onClick: () => d(C), children: [
6292
- C,
6293
+ children: v3.map((h) => /* @__PURE__ */ u(Y1.Item, { active: o === h, onClick: () => d(h), children: [
6294
+ h,
6293
6295
  "px"
6294
- ] }, C))
6296
+ ] }, h))
6295
6297
  }
6296
6298
  ),
6297
6299
  /* @__PURE__ */ e("div", { className: "kdls-text-editor__divider" }),
@@ -6302,23 +6304,23 @@ const v7 = {
6302
6304
  Y1,
6303
6305
  {
6304
6306
  variant: "navButton",
6305
- icon: I2[c].icon,
6307
+ icon: A2[c].icon,
6306
6308
  placement: "bottomLeft",
6307
- children: I2.map((C, v) => /* @__PURE__ */ e(Y1.Item, { active: c === v, icon: C.icon, onClick: () => k(v), children: C.label }, C.command))
6309
+ children: A2.map((h, v) => /* @__PURE__ */ e(Y1.Item, { active: c === v, icon: h.icon, onClick: () => k(v), children: h.label }, h.command))
6308
6310
  }
6309
6311
  ),
6310
6312
  /* @__PURE__ */ e("div", { className: "kdls-text-editor__divider" }),
6311
- /* @__PURE__ */ e(w1, { icon: /* @__PURE__ */ e(tt, {}), "aria-label": "Inserir imagem", onClick: () => {
6312
- const C = prompt("URL da imagem:");
6313
- C && m("insertHTML", `<img src="${C}" style="max-width:100%" />`);
6313
+ /* @__PURE__ */ e(w1, { icon: /* @__PURE__ */ e(nt, {}), "aria-label": "Inserir imagem", onClick: () => {
6314
+ const h = prompt("URL da imagem:");
6315
+ h && m("insertHTML", `<img src="${h}" style="max-width:100%" />`);
6314
6316
  } }),
6315
6317
  /* @__PURE__ */ e(w1, { icon: /* @__PURE__ */ e(P0, {}), "aria-label": "Inserir vídeo", onClick: () => {
6316
- const C = prompt("URL do vídeo (YouTube embed):");
6317
- C && m("insertHTML", `<iframe src="${C}" width="100%" height="315" frameborder="0" allowfullscreen style="display:block"></iframe>`);
6318
+ const h = prompt("URL do vídeo (YouTube embed):");
6319
+ h && m("insertHTML", `<iframe src="${h}" width="100%" height="315" frameborder="0" allowfullscreen style="display:block"></iframe>`);
6318
6320
  } }),
6319
6321
  /* @__PURE__ */ e(w1, { icon: /* @__PURE__ */ e(O0, {}), "aria-label": "Inserir link", onClick: () => {
6320
- const C = prompt("URL do link:");
6321
- C && m("createLink", C);
6322
+ const h = prompt("URL do link:");
6323
+ h && m("createLink", h);
6322
6324
  } }),
6323
6325
  /* @__PURE__ */ e("div", { className: "kdls-text-editor__divider" }),
6324
6326
  /* @__PURE__ */ e(w1, { icon: /* @__PURE__ */ e(sn, {}), "aria-label": "Lista", onClick: () => m("insertUnorderedList") }),
@@ -6332,8 +6334,8 @@ const v7 = {
6332
6334
  contentEditable: !0,
6333
6335
  suppressContentEditableWarning: !0,
6334
6336
  onInput: () => {
6335
- var C;
6336
- return l == null ? void 0 : l(((C = s.current) == null ? void 0 : C.innerHTML) ?? "");
6337
+ var h;
6338
+ return l == null ? void 0 : l(((h = s.current) == null ? void 0 : h.innerHTML) ?? "");
6337
6339
  },
6338
6340
  style: { "--te-min-height": `${r}px` },
6339
6341
  "data-placeholder": t,
@@ -6343,23 +6345,23 @@ const v7 = {
6343
6345
  ] });
6344
6346
  }, k3 = 4e3, _3 = 8e3, g3 = 4e3, b3 = 50, w3 = 220, jt = { error: 3, alert: 2, success: 1, neutral: 1 };
6345
6347
  let W1 = [];
6346
- const U2 = /* @__PURE__ */ new Map(), Te = /* @__PURE__ */ new Map();
6348
+ const q2 = /* @__PURE__ */ new Map(), Te = /* @__PURE__ */ new Map();
6347
6349
  let Pt = 0, y3 = 0;
6348
- const q2 = /* @__PURE__ */ new Set();
6349
- let Ve = !1, W2 = 0, t2, Ce;
6350
+ const W2 = /* @__PURE__ */ new Set();
6351
+ let Ve = !1, Y2 = 0, t2, he;
6350
6352
  function s2() {
6351
6353
  const t = [...W1];
6352
- q2.forEach((n) => n(t));
6354
+ W2.forEach((n) => n(t));
6353
6355
  }
6354
6356
  function L3(t) {
6355
- return q2.add(t), t([...W1]), () => {
6356
- q2.delete(t);
6357
+ return W2.add(t), t([...W1]), () => {
6358
+ W2.delete(t);
6357
6359
  };
6358
6360
  }
6359
6361
  const D5 = () => W1.filter((t) => !t.leaving);
6360
6362
  function x2() {
6361
- const t = Date.now(), n = t - W2;
6362
- W2 = t, !(Ve || n <= 0) && (Te.forEach((l, r) => Te.set(r, Math.max(0, l - n))), Ce !== void 0 && (Ce = Math.max(0, Ce - n)));
6363
+ const t = Date.now(), n = t - Y2;
6364
+ Y2 = t, !(Ve || n <= 0) && (Te.forEach((l, r) => Te.set(r, Math.max(0, l - n))), he !== void 0 && (he = Math.max(0, he - n)));
6363
6365
  }
6364
6366
  function H5(t = !1) {
6365
6367
  let n = !1;
@@ -6367,11 +6369,11 @@ function H5(t = !1) {
6367
6369
  r > 0 || (Te.delete(i), Pt += 1, W1 = W1.map((s) => s.id === i ? { ...s, joined: !0, joinOrder: Pt } : s), n = !0);
6368
6370
  });
6369
6371
  const l = D5();
6370
- l.length > 0 && l.every((r) => r.joined) ? (Ce === void 0 && (Ce = l.length === 1 && !t ? 0 : g3), Ce === 0 && (Ce = void 0, l.forEach((r) => it(r.id)), n = !0)) : Ce = void 0, n && s2();
6372
+ l.length > 0 && l.every((r) => r.joined) ? (he === void 0 && (he = l.length === 1 && !t ? 0 : g3), he === 0 && (he = void 0, l.forEach((r) => ot(r.id)), n = !0)) : he = void 0, n && s2();
6371
6373
  }
6372
6374
  function i2() {
6373
6375
  if (clearTimeout(t2), t2 = void 0, Ve) return;
6374
- let t = Ce ?? 1 / 0;
6376
+ let t = he ?? 1 / 0;
6375
6377
  Te.forEach((n) => {
6376
6378
  t = Math.min(t, n);
6377
6379
  }), t !== 1 / 0 && (t2 = setTimeout(N3, t));
@@ -6379,12 +6381,12 @@ function i2() {
6379
6381
  function N3() {
6380
6382
  x2(), H5(), i2();
6381
6383
  }
6382
- function it(t) {
6383
- W1 = W1.map((n) => n.id === t ? { ...n, leaving: !0 } : n), U2.delete(t), Te.delete(t), setTimeout(() => x3(t), w3);
6384
+ function ot(t) {
6385
+ W1 = W1.map((n) => n.id === t ? { ...n, leaving: !0 } : n), q2.delete(t), Te.delete(t), setTimeout(() => x3(t), w3);
6384
6386
  }
6385
6387
  function M3(t) {
6386
6388
  const n = W1.find((l) => l.id === t);
6387
- !n || n.leaving || (x2(), it(t), H5(!0), s2(), i2());
6389
+ !n || n.leaving || (x2(), ot(t), H5(!0), s2(), i2());
6388
6390
  }
6389
6391
  function x3(t) {
6390
6392
  W1 = W1.filter((n) => n.id !== t), W1.length === 0 && (Ve = !1), s2();
@@ -6404,21 +6406,21 @@ function Je(t, n = {}) {
6404
6406
  leaving: !1,
6405
6407
  joined: !1
6406
6408
  }, o = W1.findIndex(
6407
- (a) => !a.leaving && !a.joined && r - (U2.get(a.id) ?? 0) <= b3 && jt[a.feedback] > jt[i]
6409
+ (a) => !a.leaving && !a.joined && r - (q2.get(a.id) ?? 0) <= b3 && jt[a.feedback] > jt[i]
6408
6410
  );
6409
- return W1 = o < 0 ? [...W1, s] : [...W1.slice(0, o), s, ...W1.slice(o)], U2.set(l, r), Te.set(l, i === "error" ? _3 : k3), Ce = void 0, s2(), i2(), l;
6411
+ return W1 = o < 0 ? [...W1, s] : [...W1.slice(0, o), s, ...W1.slice(o)], q2.set(l, r), Te.set(l, i === "error" ? _3 : k3), he = void 0, s2(), i2(), l;
6410
6412
  }
6411
6413
  function E5(t) {
6412
6414
  M3(t);
6413
6415
  }
6414
6416
  function D3() {
6415
- D5().forEach((t) => it(t.id)), Ce = void 0, clearTimeout(t2), t2 = void 0, s2();
6417
+ D5().forEach((t) => ot(t.id)), he = void 0, clearTimeout(t2), t2 = void 0, s2();
6416
6418
  }
6417
6419
  function H3() {
6418
6420
  Ve || (x2(), Ve = !0, i2());
6419
6421
  }
6420
6422
  function E3() {
6421
- Ve && (Ve = !1, W2 = Date.now(), i2());
6423
+ Ve && (Ve = !1, Y2 = Date.now(), i2());
6422
6424
  }
6423
6425
  const S3 = (t, n) => Je(t, n), g7 = Object.assign(S3, {
6424
6426
  success: (t, n) => Je(t, { ...n, feedback: "success" }),
@@ -6496,7 +6498,7 @@ function B3(t) {
6496
6498
  }
6497
6499
  }
6498
6500
  const b7 = () => {
6499
- const [t, n] = D([]), [l, r] = D(!1), [i, s] = D(!1), [o, a] = D(!1), [c, f] = D({}), [m, d] = D(/* @__PURE__ */ new Set()), k = a1(null), C = a1(null), v = a1(/* @__PURE__ */ new Map()), h = a1(/* @__PURE__ */ new Map());
6501
+ const [t, n] = D([]), [l, r] = D(!1), [i, s] = D(!1), [o, a] = D(!1), [c, f] = D({}), [m, d] = D(/* @__PURE__ */ new Set()), k = a1(null), h = a1(null), v = a1(/* @__PURE__ */ new Map()), C = a1(/* @__PURE__ */ new Map());
6500
6502
  i1(() => L3(n), []);
6501
6503
  const _ = t.length > 1;
6502
6504
  i1(() => {
@@ -6506,40 +6508,40 @@ const b7 = () => {
6506
6508
  const p = (R) => {
6507
6509
  var J;
6508
6510
  (J = k.current) != null && J.contains(R.target) || r(!1);
6509
- }, w = (R) => {
6511
+ }, y = (R) => {
6510
6512
  R.key === "Escape" && (R.preventDefault(), r(!1));
6511
6513
  };
6512
- return document.addEventListener("mousedown", p), document.addEventListener("keydown", w, !0), () => {
6513
- document.removeEventListener("mousedown", p), document.removeEventListener("keydown", w, !0);
6514
+ return document.addEventListener("mousedown", p), document.addEventListener("keydown", y, !0), () => {
6515
+ document.removeEventListener("mousedown", p), document.removeEventListener("keydown", y, !0);
6514
6516
  };
6515
- }, [l]), ct(() => {
6517
+ }, [l]), dt(() => {
6516
6518
  const p = {};
6517
6519
  v.current.forEach((R, J) => {
6518
6520
  const k1 = R.querySelector(".kdls-toast");
6519
6521
  p[J] = k1 ? k1.scrollHeight : R.offsetHeight;
6520
6522
  }), Object.keys(p).length === Object.keys(c).length && Object.entries(p).every(([R, J]) => c[Number(R)] === J) || f(p);
6521
6523
  });
6522
- const [L, y] = D(!1);
6523
- if (ct(() => {
6524
- const p = C.current, w = p == null ? void 0 : p.firstElementChild;
6525
- if (!p || !w) return;
6526
- const R = w.offsetHeight > p.clientHeight + 1;
6527
- R !== L && y(R), R && !i && (p.scrollTop = p.scrollHeight);
6524
+ const [L, w] = D(!1);
6525
+ if (dt(() => {
6526
+ const p = h.current, y = p == null ? void 0 : p.firstElementChild;
6527
+ if (!p || !y) return;
6528
+ const R = y.offsetHeight > p.clientHeight + 1;
6529
+ R !== L && w(R), R && !i && (p.scrollTop = p.scrollHeight);
6528
6530
  }), i1(() => {
6529
- const p = t.filter((w) => c[w.id] !== void 0).map((w) => w.id);
6530
- p.length === m.size && p.every((w) => m.has(w)) || d(new Set(p));
6531
+ const p = t.filter((y) => c[y.id] !== void 0).map((y) => y.id);
6532
+ p.length === m.size && p.every((y) => m.has(y)) || d(new Set(p));
6531
6533
  }, [t, c, m]), typeof document > "u") return null;
6532
- const B = (p) => c[p.id] ?? 0, H = t.filter((p) => !p.leaving), E = H.filter((p) => l || !p.joined), W = H.filter((p) => !l && p.joined).sort((p, w) => (w.joinOrder ?? 0) - (p.joinOrder ?? 0)), T = E[0] ?? W[0], P = E.length ? W : W.slice(1), N = E.slice(1), V = Math.min(P.length, 2), O = /* @__PURE__ */ new Map();
6534
+ const B = (p) => c[p.id] ?? 0, H = t.filter((p) => !p.leaving), E = H.filter((p) => l || !p.joined), W = H.filter((p) => !l && p.joined).sort((p, y) => (y.joinOrder ?? 0) - (p.joinOrder ?? 0)), T = E[0] ?? W[0], P = E.length ? W : W.slice(1), N = E.slice(1), V = Math.min(P.length, 2), O = /* @__PURE__ */ new Map();
6533
6535
  let K = T ? B(T) : 0;
6534
- T && O.set(T.id, { below: 0, gaps: 0, edges: 0, depth: 0 }), P.forEach((p, w) => {
6535
- O.set(p.id, { below: 0, gaps: 0, edges: 0, depth: Math.min(w + 1, R3) });
6536
- }), N.forEach((p, w) => {
6537
- O.set(p.id, { below: K, gaps: w + 1, edges: V, depth: 0 }), K += B(p);
6536
+ T && O.set(T.id, { below: 0, gaps: 0, edges: 0, depth: 0 }), P.forEach((p, y) => {
6537
+ O.set(p.id, { below: 0, gaps: 0, edges: 0, depth: Math.min(y + 1, R3) });
6538
+ }), N.forEach((p, y) => {
6539
+ O.set(p.id, { below: K, gaps: y + 1, edges: V, depth: 0 }), K += B(p);
6538
6540
  }), t.forEach((p) => {
6539
- const w = O.get(p.id) ?? h.current.get(p.id);
6540
- w && h.current.set(p.id, w);
6541
- }), h.current.forEach((p, w) => {
6542
- t.some((R) => R.id === w) || h.current.delete(w);
6541
+ const y = O.get(p.id) ?? C.current.get(p.id);
6542
+ y && C.current.set(p.id, y);
6543
+ }), C.current.forEach((p, y) => {
6544
+ t.some((R) => R.id === y) || C.current.delete(y);
6543
6545
  });
6544
6546
  const S = P.length > 0, U = _ && (i || o || l), A = (p) => {
6545
6547
  S && !p.target.closest("button") && r(!0);
@@ -6558,7 +6560,7 @@ const b7 = () => {
6558
6560
  onMouseLeave: () => {
6559
6561
  s(!1), E3();
6560
6562
  },
6561
- onFocus: (p) => a(p.target === C.current || B3(p.target)),
6563
+ onFocus: (p) => a(p.target === h.current || B3(p.target)),
6562
6564
  onBlur: (p) => {
6563
6565
  p.currentTarget.contains(p.relatedTarget) || a(!1);
6564
6566
  },
@@ -6567,7 +6569,7 @@ const b7 = () => {
6567
6569
  /* @__PURE__ */ e(
6568
6570
  "div",
6569
6571
  {
6570
- ref: C,
6572
+ ref: h,
6571
6573
  className: [
6572
6574
  "kdls-toaster__list",
6573
6575
  L ? "kdls-toaster__list--scroll kdls-scroll kdls-scroll--thin" : "",
@@ -6586,7 +6588,7 @@ const b7 = () => {
6586
6588
  onClick: A,
6587
6589
  onKeyDown: u1,
6588
6590
  children: /* @__PURE__ */ e("div", { className: "kdls-toaster__content", children: t.map((p) => {
6589
- const w = h.current.get(p.id) ?? { below: 0, gaps: 0, edges: 0, depth: 0 };
6591
+ const y = C.current.get(p.id) ?? { below: 0, gaps: 0, edges: 0, depth: 0 };
6590
6592
  return /* @__PURE__ */ e(
6591
6593
  "div",
6592
6594
  {
@@ -6595,16 +6597,16 @@ const b7 = () => {
6595
6597
  },
6596
6598
  className: [
6597
6599
  "kdls-toaster__item",
6598
- w.depth ? `kdls-toaster__item--depth-${w.depth}` : "",
6600
+ y.depth ? `kdls-toaster__item--depth-${y.depth}` : "",
6599
6601
  c[p.id] === void 0 ? "kdls-toaster__item--unmeasured" : "",
6600
6602
  m.has(p.id) ? "" : "kdls-toaster__item--new"
6601
6603
  ].filter(Boolean).join(" "),
6602
6604
  style: {
6603
- "--kdls-toaster-below": `${w.below}px`,
6604
- "--kdls-toaster-item-gaps": w.gaps,
6605
- "--kdls-toaster-item-edges": w.edges
6605
+ "--kdls-toaster-below": `${y.below}px`,
6606
+ "--kdls-toaster-item-gaps": y.gaps,
6607
+ "--kdls-toaster-item-edges": y.edges
6606
6608
  },
6607
- onFocus: w.depth ? () => r(!0) : void 0,
6609
+ onFocus: y.depth ? () => r(!0) : void 0,
6608
6610
  children: /* @__PURE__ */ e("div", { className: "kdls-toaster__slot", children: /* @__PURE__ */ e(
6609
6611
  Z3,
6610
6612
  {
@@ -6642,39 +6644,39 @@ const b7 = () => {
6642
6644
  "aria-labelledby": a,
6643
6645
  className: c = ""
6644
6646
  }) => {
6645
- const f = l !== void 0, [m, d] = D(r), k = f ? l : m, C = t.every((h) => (h.iconLeft || h.iconRight) && !h.label), v = (h) => {
6646
- s || h.disabled || (f || d(h.value), i == null || i(h.value));
6647
+ const f = l !== void 0, [m, d] = D(r), k = f ? l : m, h = t.every((C) => (C.iconLeft || C.iconRight) && !C.label), v = (C) => {
6648
+ s || C.disabled || (f || d(C.value), i == null || i(C.value));
6647
6649
  };
6648
6650
  return /* @__PURE__ */ e(
6649
6651
  "div",
6650
6652
  {
6651
- className: ["kdls-toggle", s ? "kdls-toggle--disabled" : "", C ? "kdls-toggle--icon-only" : "", n !== "hug" ? `kdls-toggle--${n}` : "", c].filter(Boolean).join(" "),
6653
+ className: ["kdls-toggle", s ? "kdls-toggle--disabled" : "", h ? "kdls-toggle--icon-only" : "", n !== "hug" ? `kdls-toggle--${n}` : "", c].filter(Boolean).join(" "),
6652
6654
  role: "radiogroup",
6653
6655
  "aria-label": o,
6654
6656
  "aria-labelledby": a,
6655
- children: t.map((h) => {
6656
- const _ = s || !!h.disabled;
6657
- return /* @__PURE__ */ u(
6657
+ children: t.map((C) => {
6658
+ const _ = s || !!C.disabled, L = C["aria-label"] ?? (C.label ? void 0 : C.tooltip), w = /* @__PURE__ */ u(
6658
6659
  "button",
6659
6660
  {
6660
6661
  type: "button",
6661
6662
  role: "radio",
6662
- "aria-checked": h.value === k,
6663
- "aria-label": h["aria-label"],
6663
+ "aria-checked": C.value === k,
6664
+ "aria-label": L,
6664
6665
  disabled: _,
6665
- onClick: () => v(h),
6666
+ onClick: () => v(C),
6666
6667
  className: [
6667
6668
  "kdls-toggle__item",
6668
- h.value === k ? "kdls-toggle__item--active" : ""
6669
+ C.value === k ? "kdls-toggle__item--active" : ""
6669
6670
  ].filter(Boolean).join(" "),
6670
6671
  children: [
6671
- h.iconLeft && /* @__PURE__ */ e("span", { className: "kdls-toggle__icon", children: /* @__PURE__ */ e(n1, { icon: h.iconLeft }) }),
6672
- h.label && /* @__PURE__ */ e(X, { as: "span", variant: "bodyMd", color: "inherit", children: h.label }),
6673
- h.iconRight && /* @__PURE__ */ e("span", { className: "kdls-toggle__icon", children: /* @__PURE__ */ e(n1, { icon: h.iconRight }) })
6672
+ C.iconLeft && /* @__PURE__ */ e("span", { className: "kdls-toggle__icon", children: /* @__PURE__ */ e(n1, { icon: C.iconLeft }) }),
6673
+ C.label && /* @__PURE__ */ e(X, { as: "span", variant: "bodyMd", color: "inherit", children: C.label }),
6674
+ C.iconRight && /* @__PURE__ */ e("span", { className: "kdls-toggle__icon", children: /* @__PURE__ */ e(n1, { icon: C.iconRight }) })
6674
6675
  ]
6675
6676
  },
6676
- h.value
6677
+ C.value
6677
6678
  );
6679
+ return C.tooltip ? /* @__PURE__ */ e(oe, { content: C.tooltip, className: "kdls-toggle__tip", children: w }, C.value) : w;
6678
6680
  })
6679
6681
  }
6680
6682
  );
@@ -6719,10 +6721,10 @@ const y7 = ({
6719
6721
  secondaryDisabled: m = !1,
6720
6722
  secondaryDisabledTooltip: d,
6721
6723
  onClear: k,
6722
- onDismiss: C,
6724
+ onDismiss: h,
6723
6725
  className: v = ""
6724
6726
  }) => {
6725
- const [h, _] = D(!1), [L, y] = D(!1), B = async () => {
6727
+ const [C, _] = D(!1), [L, w] = D(!1), B = async () => {
6726
6728
  const T = r == null ? void 0 : r();
6727
6729
  if (T instanceof Promise) {
6728
6730
  _(!0);
@@ -6735,14 +6737,14 @@ const y7 = ({
6735
6737
  }, H = async () => {
6736
6738
  const T = c == null ? void 0 : c();
6737
6739
  if (T instanceof Promise) {
6738
- y(!0);
6740
+ w(!0);
6739
6741
  try {
6740
6742
  await T;
6741
6743
  } finally {
6742
- y(!1);
6744
+ w(!1);
6743
6745
  }
6744
6746
  }
6745
- }, E = !!C, W = [
6747
+ }, E = !!h, W = [
6746
6748
  "kdls-bulk-action-bar",
6747
6749
  E ? "kdls-bulk-action-bar--dismiss" : "",
6748
6750
  v
@@ -6750,7 +6752,7 @@ const y7 = ({
6750
6752
  return ge.createPortal(
6751
6753
  /* @__PURE__ */ u("div", { className: W, children: [
6752
6754
  /* @__PURE__ */ e("div", { className: "kdls-bulk-action-bar__identity", children: E ? /* @__PURE__ */ u(N1, { children: [
6753
- /* @__PURE__ */ e(w1, { icon: /* @__PURE__ */ e(q1, {}), variant: "neutral", onClick: C, "aria-label": "Fechar" }),
6755
+ /* @__PURE__ */ e(w1, { icon: /* @__PURE__ */ e(q1, {}), variant: "neutral", onClick: h, "aria-label": "Fechar" }),
6754
6756
  /* @__PURE__ */ e(X, { as: "span", variant: "titleSm", className: "kdls-bulk-action-bar__label", children: t })
6755
6757
  ] }) : /* @__PURE__ */ u(N1, { children: [
6756
6758
  /* @__PURE__ */ e(X, { as: "span", variant: "titleSm", className: "kdls-bulk-action-bar__label", children: t }),
@@ -6781,7 +6783,7 @@ const y7 = ({
6781
6783
  variant: "primary",
6782
6784
  label: l,
6783
6785
  onClick: B,
6784
- isLoading: h || i,
6786
+ isLoading: C || i,
6785
6787
  disabled: s,
6786
6788
  disabledTooltip: o,
6787
6789
  disabledTooltipPosition: "top",
@@ -6829,7 +6831,7 @@ const y7 = ({
6829
6831
  showIcon: a = !0,
6830
6832
  className: c = ""
6831
6833
  }) => {
6832
- const [f, m] = D(i), d = s !== void 0, k = d ? s : f, C = () => {
6834
+ const [f, m] = D(i), d = s !== void 0, k = d ? s : f, h = () => {
6833
6835
  d ? o == null || o(!k) : m((v) => !v);
6834
6836
  };
6835
6837
  return /* @__PURE__ */ u("div", { className: ["kdls-card__collapsible", c].filter(Boolean).join(" "), children: [
@@ -6840,7 +6842,7 @@ const y7 = ({
6840
6842
  variant: "link",
6841
6843
  label: k ? l : n,
6842
6844
  iconRight: a ? k ? /* @__PURE__ */ e(d5, {}) : /* @__PURE__ */ e(U1, {}) : void 0,
6843
- onClick: C
6845
+ onClick: h
6844
6846
  }
6845
6847
  ) })
6846
6848
  ] });
@@ -6861,10 +6863,10 @@ const y7 = ({
6861
6863
  loadingRows: m = 3,
6862
6864
  loadingTitleRows: d = 2,
6863
6865
  loading: k = !1,
6864
- className: C = ""
6866
+ className: h = ""
6865
6867
  }) => {
6866
- const v = c && !!f, h = {};
6867
- s && l && (h.width = l), !s && r && (h.height = r);
6868
+ const v = c && !!f, C = {};
6869
+ s && l && (C.width = l), !s && r && (C.height = r);
6868
6870
  const _ = !s && !r;
6869
6871
  return /* @__PURE__ */ u(
6870
6872
  "div",
@@ -6875,7 +6877,7 @@ const y7 = ({
6875
6877
  o === "sm" ? "kdls-card--sm" : "",
6876
6878
  a ? "kdls-card--bordered" : "",
6877
6879
  c ? "kdls-card--hoverable" : "",
6878
- C
6880
+ h
6879
6881
  ].filter(Boolean).join(" "),
6880
6882
  "aria-busy": k || void 0,
6881
6883
  role: v ? "button" : void 0,
@@ -6892,7 +6894,7 @@ const y7 = ({
6892
6894
  "kdls-card__cover",
6893
6895
  _ ? "kdls-card__cover--16-9" : ""
6894
6896
  ].filter(Boolean).join(" "),
6895
- style: h,
6897
+ style: C,
6896
6898
  children: [
6897
6899
  k ? /* @__PURE__ */ e(Be.Image, { fill: !0 }) : n,
6898
6900
  !k && i && /* @__PURE__ */ e("div", { className: "kdls-card__cover-badges", children: i })
@@ -7020,53 +7022,53 @@ const O3 = ({
7020
7022
  onReset: i,
7021
7023
  className: s = ""
7022
7024
  }) => {
7023
- const [o, a] = D(!1), c = ie(), f = `${c}-trigger`, m = a1(null), d = n.flatMap((h) => h.columns.map((_) => _.key));
7025
+ const [o, a] = D(!1), c = ie(), f = `${c}-trigger`, m = a1(null), d = n.flatMap((C) => C.columns.map((_) => _.key));
7024
7026
  i1(() => {
7025
- const h = m.current;
7026
- if (!o || !h) return;
7027
+ const C = m.current;
7028
+ if (!o || !C) return;
7027
7029
  const _ = () => {
7028
- const B = h.querySelector(K3);
7030
+ const B = C.querySelector(K3);
7029
7031
  return B == null || B.focus({ preventScroll: !0 }), !!B && document.activeElement === B;
7030
7032
  };
7031
7033
  if (_()) return;
7032
- const L = h.closest(".kdls-floating__portal");
7034
+ const L = C.closest(".kdls-floating__portal");
7033
7035
  if (!L) return;
7034
- const y = new MutationObserver(() => {
7035
- _() && y.disconnect();
7036
+ const w = new MutationObserver(() => {
7037
+ _() && w.disconnect();
7036
7038
  });
7037
- return y.observe(L, { attributes: !0, attributeFilter: ["style"] }), () => y.disconnect();
7039
+ return w.observe(L, { attributes: !0, attributeFilter: ["style"] }), () => w.disconnect();
7038
7040
  }, [o]);
7039
- const k = (h, _) => {
7041
+ const k = (C, _) => {
7040
7042
  const L = new Set(l);
7041
- _ ? L.add(h) : L.delete(h), r([...d.filter((y) => L.has(y)), ...l.filter((y) => !d.includes(y))]);
7042
- }, v = /* @__PURE__ */ u("div", { ref: m, className: "kdls-table__column-picker", onKeyDown: (h) => {
7043
+ _ ? L.add(C) : L.delete(C), r([...d.filter((w) => L.has(w)), ...l.filter((w) => !d.includes(w))]);
7044
+ }, v = /* @__PURE__ */ u("div", { ref: m, className: "kdls-table__column-picker", onKeyDown: (C) => {
7043
7045
  var _;
7044
- h.key === "Escape" && (h.preventDefault(), a(!1), (_ = document.getElementById(f)) == null || _.focus());
7046
+ C.key === "Escape" && (C.preventDefault(), a(!1), (_ = document.getElementById(f)) == null || _.focus());
7045
7047
  }, children: [
7046
- /* @__PURE__ */ e("div", { className: "kdls-table__column-picker-list kdls-scroll kdls-scroll--thin", children: n.map((h, _) => {
7048
+ /* @__PURE__ */ e("div", { className: "kdls-table__column-picker-list kdls-scroll kdls-scroll--thin", children: n.map((C, _) => {
7047
7049
  const L = `${c}-group-${_}`;
7048
7050
  return /* @__PURE__ */ u(
7049
7051
  "fieldset",
7050
7052
  {
7051
7053
  className: "kdls-table__column-picker-group",
7052
- "aria-labelledby": h.title ? L : void 0,
7054
+ "aria-labelledby": C.title ? L : void 0,
7053
7055
  children: [
7054
- h.title && /* @__PURE__ */ e(X, { as: "span", id: L, variant: "labelSemiBold", children: h.title }),
7055
- h.columns.map((y) => /* @__PURE__ */ e(
7056
+ C.title && /* @__PURE__ */ e(X, { as: "span", id: L, variant: "labelSemiBold", children: C.title }),
7057
+ C.columns.map((w) => /* @__PURE__ */ e(
7056
7058
  Re,
7057
7059
  {
7058
- label: y.label,
7060
+ label: w.label,
7059
7061
  width: "fill",
7060
- checked: l.includes(y.key),
7061
- disabled: y.disabled,
7062
- hint: y.hint,
7063
- onChange: (B) => k(y.key, B)
7062
+ checked: l.includes(w.key),
7063
+ disabled: w.disabled,
7064
+ hint: w.hint,
7065
+ onChange: (B) => k(w.key, B)
7064
7066
  },
7065
- y.key
7067
+ w.key
7066
7068
  ))
7067
7069
  ]
7068
7070
  },
7069
- h.title ?? _
7071
+ C.title ?? _
7070
7072
  );
7071
7073
  }) }),
7072
7074
  i && /* @__PURE__ */ e(y1, { variant: "link", label: "Restaurar padrão", onClick: i })
@@ -7094,7 +7096,7 @@ const O3 = ({
7094
7096
  )
7095
7097
  }
7096
7098
  );
7097
- }, A2 = "__none__", U3 = [
7099
+ }, F2 = "__none__", U3 = [
7098
7100
  { label: "Crescente", value: "asc" },
7099
7101
  { label: "Decrescente", value: "desc" }
7100
7102
  ], q3 = 680;
@@ -7161,13 +7163,13 @@ function el({
7161
7163
  sort: m,
7162
7164
  defaultSort: d = null,
7163
7165
  onSortChange: k,
7164
- hoverable: C = !1,
7166
+ hoverable: h = !1,
7165
7167
  onRowClick: v,
7166
- pagination: h,
7168
+ pagination: C,
7167
7169
  loading: _ = !1,
7168
7170
  className: L = ""
7169
7171
  }) {
7170
- const y = a1(null), B = W3(y, q3), H = C && !!v, E = (Z, Q) => {
7172
+ const w = a1(null), B = W3(w, q3), H = h && !!v, E = (Z, Q) => {
7171
7173
  const j = Q.target.closest('button, a, input, select, textarea, [role="button"], [role="checkbox"]');
7172
7174
  j && j !== Q.currentTarget || v(Z);
7173
7175
  }, W = (Z, Q) => {
@@ -7180,15 +7182,15 @@ function el({
7180
7182
  );
7181
7183
  }, p = (Z) => {
7182
7184
  T || N(Z), k == null || k(Z);
7183
- }, w = (Z) => {
7185
+ }, y = (Z) => {
7184
7186
  if (!Z.sortable) return;
7185
7187
  let Q;
7186
7188
  (V == null ? void 0 : V.key) !== Z.key ? Q = { key: Z.key, direction: "asc" } : V.direction === "asc" ? Q = { key: Z.key, direction: "desc" } : Q = null, p(Q);
7187
7189
  }, R = Pe(() => t.filter((Z) => !!Z.sortable), [t]), J = Pe(() => [
7188
- { label: "Nenhuma", value: A2 },
7190
+ { label: "Nenhuma", value: F2 },
7189
7191
  ...R.map((Z) => ({ label: Z.title || Z.key, value: Z.key }))
7190
7192
  ], [R]), k1 = (Z) => {
7191
- if (Z === A2) {
7193
+ if (Z === F2) {
7192
7194
  p(null);
7193
7195
  return;
7194
7196
  }
@@ -7208,7 +7210,7 @@ function el({
7208
7210
  return /* @__PURE__ */ u(
7209
7211
  "div",
7210
7212
  {
7211
- ref: y,
7213
+ ref: w,
7212
7214
  className: ["kdls-table", l !== "default" ? `kdls-table--${l}` : "", r ? "kdls-table--bordered" : "", _ ? "kdls-table--loading" : "", L].filter(Boolean).join(" "),
7213
7215
  "aria-busy": _ || void 0,
7214
7216
  children: [
@@ -7222,7 +7224,7 @@ function el({
7222
7224
  width: "hug",
7223
7225
  clearable: !1,
7224
7226
  options: J,
7225
- value: (V == null ? void 0 : V.key) ?? A2,
7227
+ value: (V == null ? void 0 : V.key) ?? F2,
7226
7228
  onChange: (Z) => k1(Z)
7227
7229
  }
7228
7230
  ),
@@ -7269,7 +7271,7 @@ function el({
7269
7271
  type: "button",
7270
7272
  className: "kdls-table__sort-button",
7271
7273
  "aria-label": Z.title ? void 0 : Z.key,
7272
- onClick: () => w(Z),
7274
+ onClick: () => y(Z),
7273
7275
  children: [
7274
7276
  e1,
7275
7277
  /* @__PURE__ */ e(G3, { direction: b, indicator: f })
@@ -7317,7 +7319,7 @@ function el({
7317
7319
  G.ellipsis && "kdls-table__col--ellipsis"
7318
7320
  ].filter(Boolean).join(" "),
7319
7321
  role: "cell",
7320
- children: G.ellipsis ? /* @__PURE__ */ e(he, { content: String(F1 ?? ""), children: /* @__PURE__ */ e("span", { className: "kdls-table__ellipsis", children: S1 }) }) : S1
7322
+ children: G.ellipsis ? /* @__PURE__ */ e(oe, { content: String(F1 ?? ""), children: /* @__PURE__ */ e("span", { className: "kdls-table__ellipsis", children: S1 }) }) : S1
7321
7323
  },
7322
7324
  G.key
7323
7325
  );
@@ -7329,7 +7331,7 @@ function el({
7329
7331
  );
7330
7332
  })
7331
7333
  ] }),
7332
- h && /* @__PURE__ */ e(O3, { ...h })
7334
+ C && /* @__PURE__ */ e(O3, { ...C })
7333
7335
  ]
7334
7336
  }
7335
7337
  );
@@ -7358,7 +7360,7 @@ export {
7358
7360
  cl as AccordionGroup,
7359
7361
  a7 as Alert,
7360
7362
  fl as AttachmentList,
7361
- j2 as Avatar,
7363
+ P2 as Avatar,
7362
7364
  L2 as Badge,
7363
7365
  xn as BottomSheet,
7364
7366
  y7 as BulkActionBar,
@@ -7414,7 +7416,7 @@ export {
7414
7416
  zl as MessengerColor,
7415
7417
  l2 as Modal,
7416
7418
  g2 as Nav,
7417
- st as NavContext,
7419
+ it as NavContext,
7418
7420
  v5 as Notification,
7419
7421
  O3 as Pagination,
7420
7422
  Ue as Pill,
@@ -7442,7 +7444,7 @@ export {
7442
7444
  Z3 as Toast,
7443
7445
  b7 as Toaster,
7444
7446
  w7 as Toggle,
7445
- he as Tooltip,
7447
+ oe as Tooltip,
7446
7448
  h7 as Uploader,
7447
7449
  n7 as VideoHorizontalFilled,
7448
7450
  l7 as VideoHorizontalRegular,