@julseb-lib/react 0.0.87 → 0.0.88

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.es.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import k, { StyleSheetManager as n6, css as x, keyframes as _2 } from "styled-components";
2
2
  import { ThemeProvider as Vd } from "styled-components";
3
- import M6, { Fragment as O2, useState as O, useRef as d2, useCallback as q, useEffect as m2, useLayoutEffect as B0, useMemo as k0, createContext as W3, useContext as K3, useReducer as g6, lazy as X3, Suspense as q3, memo as k6, createRef as b6, createElement as Q3, isValidElement as w6 } from "react";
4
- import { uuid as K, slugify as o3, stringifyPx as D, scrollToTop as g0, detectLanguage as x6, convertYoutube as u6, getRandomString as s0, capitalize as A2, filterObject as H6, getPercentage as Y0, generateNumbers as J3, enableScroll as b0, disableScroll as P0, convertDateShort as l0, convertDate as C6, getYesterday as y6, getToday as z3, toSentenceCase as l1, formatDate as $6 } from "@julseb-lib/utils";
3
+ import M6, { Fragment as O2, useState as O, useRef as i2, useCallback as X, useEffect as m2, useLayoutEffect as B0, useMemo as k0, createContext as W3, useContext as K3, useReducer as g6, lazy as X3, Suspense as q3, memo as k6, createRef as b6, createElement as Q3, isValidElement as w6 } from "react";
4
+ import { uuid as K, slugify as o3, stringifyPx as G, scrollToTop as g0, detectLanguage as x6, convertYoutube as u6, getRandomString as s0, capitalize as A2, filterObject as H6, getPercentage as Y0, generateNumbers as J3, enableScroll as b0, disableScroll as P0, convertDateShort as l0, convertDate as C6, getYesterday as y6, getToday as z3, toSentenceCase as l1, formatDate as $6 } from "@julseb-lib/utils";
5
5
  import { addDay as Dd, addMonth as Gd, addYear as Td, calculateAverage as Od, calculateTotalSum as Bd, capitalize as Yd, convertDate as Pd, convertDateShort as Ud, convertPrice as Fd, convertToEmail as Zd, convertYoutube as Wd, deleteDuplicates as Kd, detectLanguage as Xd, disableScroll as qd, emailRegex as Qd, enableScroll as Jd, filterObject as li, formatDate as ci, formatHour as ei, generateNumbers as ai, getFirstName as ti, getInitials as hi, getLastName as di, getNextDay as ii, getPercentage as fi, getRandom as ri, getRandomAvatar as mi, getRandomDate as si, getRandomNumber as oi, getRandomString as zi, getRandomTime as pi, getTimeNow as vi, getToday as ni, getTomorrow as Mi, getYesterday as gi, hexToRgb as ki, passwordRegex as bi, rgbToHex as wi, scrollToTop as xi, slugify as ui, sortByFrequency as Hi, stringifyPx as Ci, toCamelCase as yi, toConstantCase as $i, toDotCase as Ai, toKebabCase as Li, toPascalCase as Ri, toPathCase as _i, toSentenceCase as ji, toSnakeCase as Ii, toTitleCase as Si, unslugify as Ni, uuid as Vi } from "@julseb-lib/utils";
6
6
  import { useSearchParams as o0, NavLink as A6, Link as x2, useNavigate as L6, createSearchParams as R6, useLocation as _6 } from "react-router-dom";
7
7
  import j6 from "react-inlinesvg";
@@ -76,7 +76,7 @@ function U6() {
76
76
  function l(L) {
77
77
  if (L == null) return null;
78
78
  if (typeof L == "function")
79
- return L.$$typeof === T ? null : L.displayName || L.name || null;
79
+ return L.$$typeof === V ? null : L.displayName || L.name || null;
80
80
  if (typeof L == "string") return L;
81
81
  switch (L) {
82
82
  case v:
@@ -89,7 +89,7 @@ function U6() {
89
89
  return "Suspense";
90
90
  case R:
91
91
  return "SuspenseList";
92
- case G:
92
+ case T:
93
93
  return "Activity";
94
94
  }
95
95
  if (typeof L == "object")
@@ -128,11 +128,11 @@ function U6() {
128
128
  }
129
129
  if (Y) {
130
130
  Y = console;
131
- var e2 = Y.error, i2 = typeof Symbol == "function" && Symbol.toStringTag && L[Symbol.toStringTag] || L.constructor.name || "Object";
131
+ var e2 = Y.error, d2 = typeof Symbol == "function" && Symbol.toStringTag && L[Symbol.toStringTag] || L.constructor.name || "Object";
132
132
  return e2.call(
133
133
  Y,
134
134
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
135
- i2
135
+ d2
136
136
  ), c(L);
137
137
  }
138
138
  }
@@ -148,7 +148,7 @@ function U6() {
148
148
  }
149
149
  }
150
150
  function h() {
151
- var L = c2.A;
151
+ var L = l2.A;
152
152
  return L === null ? null : L.getOwner();
153
153
  }
154
154
  function d() {
@@ -163,7 +163,7 @@ function U6() {
163
163
  }
164
164
  function r(L, Y) {
165
165
  function e2() {
166
- V || (V = !0, console.error(
166
+ E || (E = !0, console.error(
167
167
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
168
168
  Y
169
169
  ));
@@ -179,13 +179,13 @@ function U6() {
179
179
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
180
180
  )), L = this.props.ref, L !== void 0 ? L : null;
181
181
  }
182
- function m(L, Y, e2, i2, l2, f2, D2, Q2) {
182
+ function m(L, Y, e2, d2, J, f2, D2, Q2) {
183
183
  return e2 = f2.ref, L = {
184
184
  $$typeof: p,
185
185
  type: L,
186
186
  key: Y,
187
187
  props: f2,
188
- _owner: l2
188
+ _owner: J
189
189
  }, (e2 !== void 0 ? e2 : null) !== null ? Object.defineProperty(L, "ref", {
190
190
  enumerable: !1,
191
191
  get: f
@@ -211,13 +211,13 @@ function U6() {
211
211
  value: Q2
212
212
  }), Object.freeze && (Object.freeze(L.props), Object.freeze(L)), L;
213
213
  }
214
- function o(L, Y, e2, i2, l2, f2, D2, Q2) {
214
+ function o(L, Y, e2, d2, J, f2, D2, Q2) {
215
215
  var p2 = Y.children;
216
216
  if (p2 !== void 0)
217
- if (i2)
218
- if (W(p2)) {
219
- for (i2 = 0; i2 < p2.length; i2++)
220
- z(p2[i2]);
217
+ if (d2)
218
+ if (Q(p2)) {
219
+ for (d2 = 0; d2 < p2.length; d2++)
220
+ z(p2[d2]);
221
221
  Object.freeze && Object.freeze(p2);
222
222
  } else
223
223
  console.error(
@@ -229,18 +229,18 @@ function U6() {
229
229
  var J2 = Object.keys(Y).filter(function(v6) {
230
230
  return v6 !== "key";
231
231
  });
232
- i2 = 0 < J2.length ? "{key: someKey, " + J2.join(": ..., ") + ": ...}" : "{key: someKey}", z2[p2 + i2] || (J2 = 0 < J2.length ? "{" + J2.join(": ..., ") + ": ...}" : "{}", console.error(
232
+ d2 = 0 < J2.length ? "{key: someKey, " + J2.join(": ..., ") + ": ...}" : "{key: someKey}", o2[p2 + d2] || (J2 = 0 < J2.length ? "{" + J2.join(": ..., ") + ": ...}" : "{}", console.error(
233
233
  `A props object containing a "key" prop is being spread into JSX:
234
234
  let props = %s;
235
235
  <%s {...props} />
236
236
  React keys must be passed directly to JSX without using spread:
237
237
  let props = %s;
238
238
  <%s key={someKey} {...props} />`,
239
- i2,
239
+ d2,
240
240
  p2,
241
241
  J2,
242
242
  p2
243
- ), z2[p2 + i2] = !0);
243
+ ), o2[p2 + d2] = !0);
244
244
  }
245
245
  if (p2 = null, e2 !== void 0 && (e(e2), p2 = "" + e2), i(Y) && (e(Y.key), p2 = "" + Y.key), "key" in Y) {
246
246
  e2 = {};
@@ -254,7 +254,7 @@ React keys must be passed directly to JSX without using spread:
254
254
  L,
255
255
  p2,
256
256
  f2,
257
- l2,
257
+ J,
258
258
  h(),
259
259
  e2,
260
260
  D2,
@@ -264,7 +264,7 @@ React keys must be passed directly to JSX without using spread:
264
264
  function z(L) {
265
265
  typeof L == "object" && L !== null && L.$$typeof === p && L._store && (L._store.validated = 1);
266
266
  }
267
- var n = M6, p = Symbol.for("react.transitional.element"), g = Symbol.for("react.portal"), v = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), w = Symbol.for("react.profiler"), C = Symbol.for("react.consumer"), H = Symbol.for("react.context"), $ = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), R = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), I = Symbol.for("react.lazy"), G = Symbol.for("react.activity"), T = Symbol.for("react.client.reference"), c2 = n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, P = Object.prototype.hasOwnProperty, W = Array.isArray, J = console.createTask ? console.createTask : function() {
267
+ var n = M6, p = Symbol.for("react.transitional.element"), g = Symbol.for("react.portal"), v = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), w = Symbol.for("react.profiler"), C = Symbol.for("react.consumer"), H = Symbol.for("react.context"), $ = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), R = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), I = Symbol.for("react.lazy"), T = Symbol.for("react.activity"), V = Symbol.for("react.client.reference"), l2 = n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, P = Object.prototype.hasOwnProperty, Q = Array.isArray, W = console.createTask ? console.createTask : function() {
268
268
  return null;
269
269
  };
270
270
  n = {
@@ -272,33 +272,33 @@ React keys must be passed directly to JSX without using spread:
272
272
  return L();
273
273
  }
274
274
  };
275
- var V, Z = {}, X = n["react-stack-bottom-frame"].bind(
275
+ var E, Z = {}, c2 = n["react-stack-bottom-frame"].bind(
276
276
  n,
277
277
  d
278
- )(), h2 = J(a(d)), z2 = {};
279
- d0.Fragment = v, d0.jsx = function(L, Y, e2, i2, l2) {
280
- var f2 = 1e4 > c2.recentlyCreatedOwnerStacks++;
278
+ )(), h2 = W(a(d)), o2 = {};
279
+ d0.Fragment = v, d0.jsx = function(L, Y, e2, d2, J) {
280
+ var f2 = 1e4 > l2.recentlyCreatedOwnerStacks++;
281
281
  return o(
282
282
  L,
283
283
  Y,
284
284
  e2,
285
285
  !1,
286
- i2,
287
- l2,
288
- f2 ? Error("react-stack-top-frame") : X,
289
- f2 ? J(a(L)) : h2
286
+ d2,
287
+ J,
288
+ f2 ? Error("react-stack-top-frame") : c2,
289
+ f2 ? W(a(L)) : h2
290
290
  );
291
- }, d0.jsxs = function(L, Y, e2, i2, l2) {
292
- var f2 = 1e4 > c2.recentlyCreatedOwnerStacks++;
291
+ }, d0.jsxs = function(L, Y, e2, d2, J) {
292
+ var f2 = 1e4 > l2.recentlyCreatedOwnerStacks++;
293
293
  return o(
294
294
  L,
295
295
  Y,
296
296
  e2,
297
297
  !0,
298
- i2,
299
- l2,
300
- f2 ? Error("react-stack-top-frame") : X,
301
- f2 ? J(a(L)) : h2
298
+ d2,
299
+ J,
300
+ f2 ? Error("react-stack-top-frame") : c2,
301
+ f2 ? W(a(L)) : h2
302
302
  );
303
303
  };
304
304
  }()), d0;
@@ -2500,7 +2500,7 @@ class t8 {
2500
2500
  ["xs", N.XS],
2501
2501
  ["round", N.ROUND],
2502
2502
  ["circle", N.CIRCLE]
2503
- ]), a = (f) => typeof f == "number" ? D(f) : e.get(f);
2503
+ ]), a = (f) => typeof f == "number" ? G(f) : e.get(f);
2504
2504
  if (typeof c == "number" || typeof c == "string")
2505
2505
  return x`
2506
2506
  border-radius: ${a(c)};
@@ -2535,7 +2535,7 @@ class t8 {
2535
2535
  &:active {
2536
2536
  box-shadow: ${s.Shadow(c.active)};
2537
2537
  }
2538
- ` : null, this.FontSize = (c = "body") => c ? typeof c == "number" ? D(c) : (/* @__PURE__ */ new Map([
2538
+ ` : null, this.FontSize = (c = "body") => c ? typeof c == "number" ? G(c) : (/* @__PURE__ */ new Map([
2539
2539
  ["display-h1", U.DISPLAY_H1],
2540
2540
  ["display-h2", U.DISPLAY_H2],
2541
2541
  ["display-h3", U.DISPLAY_H3],
@@ -2554,7 +2554,7 @@ class t8 {
2554
2554
  ["regular", t2.REGULAR],
2555
2555
  ["bold", t2.BOLD],
2556
2556
  ["black", t2.BLACK]
2557
- ])).get(c) : null, this.Spacer = (c) => c ? typeof c == "number" ? D(c) : c === "0px" ? "0px" : (/* @__PURE__ */ new Map([
2557
+ ])).get(c) : null, this.Spacer = (c) => c ? typeof c == "number" ? G(c) : c === "0px" ? "0px" : (/* @__PURE__ */ new Map([
2558
2558
  ["xxl", A.XXL],
2559
2559
  ["xl", A.XL],
2560
2560
  ["l", A.L],
@@ -3113,7 +3113,7 @@ function F0({
3113
3113
  value: c,
3114
3114
  setValue: e
3115
3115
  }) {
3116
- const [a, h] = O(!1), [d, i] = O(0), r = d2(null), f = q(
3116
+ const [a, h] = O(!1), [d, i] = O(0), r = i2(null), f = X(
3117
3117
  (m) => {
3118
3118
  var n, p, g, v, u;
3119
3119
  const { key: o } = m, z = l;
@@ -4069,7 +4069,7 @@ const g3 = ({
4069
4069
  queries: e,
4070
4070
  totalPages: a
4071
4071
  }) => {
4072
- const [h, d] = o0(), i = q(() => {
4072
+ const [h, d] = o0(), i = X(() => {
4073
4073
  const m = l - 1;
4074
4074
  c(m), d(
4075
4075
  e ? {
@@ -4078,7 +4078,7 @@ const g3 = ({
4078
4078
  } : { page: m.toString() },
4079
4079
  { replace: !0 }
4080
4080
  ), g0();
4081
- }, [l, e, c, d]), r = q(() => {
4081
+ }, [l, e, c, d]), r = X(() => {
4082
4082
  const m = l + 1;
4083
4083
  c(m), d(
4084
4084
  e ? {
@@ -4363,7 +4363,7 @@ function u8() {
4363
4363
  }(L0)), L0.exports;
4364
4364
  }
4365
4365
  var H8 = u8();
4366
- const E = /* @__PURE__ */ Y6(H8), a2 = ({
4366
+ const D = /* @__PURE__ */ Y6(H8), a2 = ({
4367
4367
  "data-testid": l,
4368
4368
  icon: c,
4369
4369
  size: e,
@@ -4380,7 +4380,7 @@ const E = /* @__PURE__ */ Y6(H8), a2 = ({
4380
4380
  color: a,
4381
4381
  baseURL: d
4382
4382
  }
4383
- ), Q = k.svg`
4383
+ ), q = k.svg`
4384
4384
  width: ${({ $size: l }) => l}px;
4385
4385
  height: ${({ $size: l }) => l}px;
4386
4386
  fill: ${({ theme: l, $color: c }) => s.AllColors(c, l)};
@@ -4389,7 +4389,7 @@ const E = /* @__PURE__ */ Y6(H8), a2 = ({
4389
4389
  fill: ${({ theme: l, $color: c }) => s.AllColors(c, l)};
4390
4390
  }
4391
4391
  `;
4392
- j([Q]);
4392
+ j([q]);
4393
4393
  const C8 = ({
4394
4394
  "data-testid": l,
4395
4395
  className: c,
@@ -4397,7 +4397,7 @@ const C8 = ({
4397
4397
  color: a = "currentColor",
4398
4398
  ...h
4399
4399
  }) => /* @__PURE__ */ t.jsx(
4400
- Q,
4400
+ q,
4401
4401
  {
4402
4402
  "data-testid": l,
4403
4403
  className: c,
@@ -4424,7 +4424,7 @@ const C8 = ({
4424
4424
  color: a = "currentColor",
4425
4425
  ...h
4426
4426
  }) => /* @__PURE__ */ t.jsxs(
4427
- Q,
4427
+ q,
4428
4428
  {
4429
4429
  "data-testid": l,
4430
4430
  className: c,
@@ -4461,7 +4461,7 @@ const C8 = ({
4461
4461
  color: a = "currentColor",
4462
4462
  ...h
4463
4463
  }) => /* @__PURE__ */ t.jsx(
4464
- Q,
4464
+ q,
4465
4465
  {
4466
4466
  "data-testid": l,
4467
4467
  className: c,
@@ -4488,7 +4488,7 @@ const C8 = ({
4488
4488
  color: a = "currentColor",
4489
4489
  ...h
4490
4490
  }) => /* @__PURE__ */ t.jsxs(
4491
- Q,
4491
+ q,
4492
4492
  {
4493
4493
  "data-testid": l,
4494
4494
  className: c,
@@ -4526,7 +4526,7 @@ const C8 = ({
4526
4526
  color: a = "currentColor",
4527
4527
  ...h
4528
4528
  }) => /* @__PURE__ */ t.jsx(
4529
- Q,
4529
+ q,
4530
4530
  {
4531
4531
  "data-testid": l,
4532
4532
  className: c,
@@ -4553,7 +4553,7 @@ const C8 = ({
4553
4553
  color: a = "currentColor",
4554
4554
  ...h
4555
4555
  }) => /* @__PURE__ */ t.jsx(
4556
- Q,
4556
+ q,
4557
4557
  {
4558
4558
  "data-testid": l,
4559
4559
  className: c,
@@ -4580,7 +4580,7 @@ const C8 = ({
4580
4580
  color: a = "currentColor",
4581
4581
  ...h
4582
4582
  }) => /* @__PURE__ */ t.jsx(
4583
- Q,
4583
+ q,
4584
4584
  {
4585
4585
  "data-testid": l,
4586
4586
  className: c,
@@ -4607,7 +4607,7 @@ const C8 = ({
4607
4607
  color: a = "currentColor",
4608
4608
  ...h
4609
4609
  }) => /* @__PURE__ */ t.jsx(
4610
- Q,
4610
+ q,
4611
4611
  {
4612
4612
  "data-testid": l,
4613
4613
  className: c,
@@ -4634,7 +4634,7 @@ const C8 = ({
4634
4634
  color: a = "currentColor",
4635
4635
  ...h
4636
4636
  }) => /* @__PURE__ */ t.jsx(
4637
- Q,
4637
+ q,
4638
4638
  {
4639
4639
  "data-testid": l,
4640
4640
  className: c,
@@ -4661,7 +4661,7 @@ const C8 = ({
4661
4661
  color: a = "currentColor",
4662
4662
  ...h
4663
4663
  }) => /* @__PURE__ */ t.jsxs(
4664
- Q,
4664
+ q,
4665
4665
  {
4666
4666
  "data-testid": l,
4667
4667
  className: c,
@@ -4693,7 +4693,7 @@ const C8 = ({
4693
4693
  color: a = "currentColor",
4694
4694
  ...h
4695
4695
  }) => /* @__PURE__ */ t.jsxs(
4696
- Q,
4696
+ q,
4697
4697
  {
4698
4698
  "data-testid": l,
4699
4699
  className: c,
@@ -4731,7 +4731,7 @@ const C8 = ({
4731
4731
  color: a = "currentColor",
4732
4732
  ...h
4733
4733
  }) => /* @__PURE__ */ t.jsx(
4734
- Q,
4734
+ q,
4735
4735
  {
4736
4736
  "data-testid": l,
4737
4737
  className: c,
@@ -4758,7 +4758,7 @@ const C8 = ({
4758
4758
  color: a = "currentColor",
4759
4759
  ...h
4760
4760
  }) => /* @__PURE__ */ t.jsxs(
4761
- Q,
4761
+ q,
4762
4762
  {
4763
4763
  "data-testid": l,
4764
4764
  className: c,
@@ -4796,7 +4796,7 @@ const C8 = ({
4796
4796
  color: a = "currentColor",
4797
4797
  ...h
4798
4798
  }) => /* @__PURE__ */ t.jsxs(
4799
- Q,
4799
+ q,
4800
4800
  {
4801
4801
  "data-testid": l,
4802
4802
  className: c,
@@ -4841,7 +4841,7 @@ const C8 = ({
4841
4841
  color: a = "currentColor",
4842
4842
  ...h
4843
4843
  }) => /* @__PURE__ */ t.jsx(
4844
- Q,
4844
+ q,
4845
4845
  {
4846
4846
  "data-testid": l,
4847
4847
  className: c,
@@ -4862,7 +4862,7 @@ const C8 = ({
4862
4862
  color: a = "currentColor",
4863
4863
  ...h
4864
4864
  }) => /* @__PURE__ */ t.jsx(
4865
- Q,
4865
+ q,
4866
4866
  {
4867
4867
  "data-testid": l,
4868
4868
  className: c,
@@ -4889,7 +4889,7 @@ const C8 = ({
4889
4889
  color: a = "currentColor",
4890
4890
  ...h
4891
4891
  }) => /* @__PURE__ */ t.jsxs(
4892
- Q,
4892
+ q,
4893
4893
  {
4894
4894
  "data-testid": l,
4895
4895
  className: c,
@@ -4927,7 +4927,7 @@ const C8 = ({
4927
4927
  color: a = "currentColor",
4928
4928
  ...h
4929
4929
  }) => /* @__PURE__ */ t.jsx(
4930
- Q,
4930
+ q,
4931
4931
  {
4932
4932
  "data-testid": l,
4933
4933
  className: c,
@@ -4954,7 +4954,7 @@ const C8 = ({
4954
4954
  color: a = "currentColor",
4955
4955
  ...h
4956
4956
  }) => /* @__PURE__ */ t.jsx(
4957
- Q,
4957
+ q,
4958
4958
  {
4959
4959
  "data-testid": l,
4960
4960
  className: c,
@@ -4981,7 +4981,7 @@ const C8 = ({
4981
4981
  color: a = "currentColor",
4982
4982
  ...h
4983
4983
  }) => /* @__PURE__ */ t.jsx(
4984
- Q,
4984
+ q,
4985
4985
  {
4986
4986
  "data-testid": l,
4987
4987
  className: c,
@@ -5008,7 +5008,7 @@ const C8 = ({
5008
5008
  color: a = "currentColor",
5009
5009
  ...h
5010
5010
  }) => /* @__PURE__ */ t.jsx(
5011
- Q,
5011
+ q,
5012
5012
  {
5013
5013
  "data-testid": l,
5014
5014
  className: c,
@@ -5035,7 +5035,7 @@ const C8 = ({
5035
5035
  color: a = "currentColor",
5036
5036
  ...h
5037
5037
  }) => /* @__PURE__ */ t.jsxs(
5038
- Q,
5038
+ q,
5039
5039
  {
5040
5040
  "data-testid": l,
5041
5041
  className: c,
@@ -5080,7 +5080,7 @@ const C8 = ({
5080
5080
  color: a = "currentColor",
5081
5081
  ...h
5082
5082
  }) => /* @__PURE__ */ t.jsx(
5083
- Q,
5083
+ q,
5084
5084
  {
5085
5085
  "data-testid": l,
5086
5086
  className: c,
@@ -5107,7 +5107,7 @@ const C8 = ({
5107
5107
  color: a = "currentColor",
5108
5108
  ...h
5109
5109
  }) => /* @__PURE__ */ t.jsxs(
5110
- Q,
5110
+ q,
5111
5111
  {
5112
5112
  "data-testid": l,
5113
5113
  className: c,
@@ -5152,7 +5152,7 @@ const C8 = ({
5152
5152
  color: a = "currentColor",
5153
5153
  ...h
5154
5154
  }) => /* @__PURE__ */ t.jsx(
5155
- Q,
5155
+ q,
5156
5156
  {
5157
5157
  "data-testid": l,
5158
5158
  className: c,
@@ -5179,7 +5179,7 @@ const C8 = ({
5179
5179
  color: a = "currentColor",
5180
5180
  ...h
5181
5181
  }) => /* @__PURE__ */ t.jsxs(
5182
- Q,
5182
+ q,
5183
5183
  {
5184
5184
  "data-testid": l,
5185
5185
  className: c,
@@ -5215,7 +5215,7 @@ const C8 = ({
5215
5215
  color: a = "currentColor",
5216
5216
  ...h
5217
5217
  }) => /* @__PURE__ */ t.jsx(
5218
- Q,
5218
+ q,
5219
5219
  {
5220
5220
  "data-testid": l,
5221
5221
  className: c,
@@ -5242,7 +5242,7 @@ const C8 = ({
5242
5242
  color: a = "currentColor",
5243
5243
  ...h
5244
5244
  }) => /* @__PURE__ */ t.jsx(
5245
- Q,
5245
+ q,
5246
5246
  {
5247
5247
  "data-testid": l,
5248
5248
  className: c,
@@ -5269,7 +5269,7 @@ const C8 = ({
5269
5269
  color: a = "currentColor",
5270
5270
  ...h
5271
5271
  }) => /* @__PURE__ */ t.jsx(
5272
- Q,
5272
+ q,
5273
5273
  {
5274
5274
  "data-testid": l,
5275
5275
  className: c,
@@ -5296,7 +5296,7 @@ const C8 = ({
5296
5296
  color: a = "currentColor",
5297
5297
  ...h
5298
5298
  }) => /* @__PURE__ */ t.jsx(
5299
- Q,
5299
+ q,
5300
5300
  {
5301
5301
  "data-testid": l,
5302
5302
  className: c,
@@ -5323,7 +5323,7 @@ const C8 = ({
5323
5323
  color: a = "currentColor",
5324
5324
  ...h
5325
5325
  }) => /* @__PURE__ */ t.jsx(
5326
- Q,
5326
+ q,
5327
5327
  {
5328
5328
  "data-testid": l,
5329
5329
  className: c,
@@ -5350,7 +5350,7 @@ const C8 = ({
5350
5350
  color: a = "currentColor",
5351
5351
  ...h
5352
5352
  }) => /* @__PURE__ */ t.jsxs(
5353
- Q,
5353
+ q,
5354
5354
  {
5355
5355
  "data-testid": l,
5356
5356
  className: c,
@@ -5386,7 +5386,7 @@ const C8 = ({
5386
5386
  color: a = "currentColor",
5387
5387
  ...h
5388
5388
  }) => /* @__PURE__ */ t.jsxs(
5389
- Q,
5389
+ q,
5390
5390
  {
5391
5391
  "data-testid": l,
5392
5392
  className: c,
@@ -5422,7 +5422,7 @@ const C8 = ({
5422
5422
  color: a = "currentColor",
5423
5423
  ...h
5424
5424
  }) => /* @__PURE__ */ t.jsxs(
5425
- Q,
5425
+ q,
5426
5426
  {
5427
5427
  "data-testid": l,
5428
5428
  className: c,
@@ -5458,7 +5458,7 @@ const C8 = ({
5458
5458
  color: a = "currentColor",
5459
5459
  ...h
5460
5460
  }) => /* @__PURE__ */ t.jsxs(
5461
- Q,
5461
+ q,
5462
5462
  {
5463
5463
  "data-testid": l,
5464
5464
  className: c,
@@ -5496,7 +5496,7 @@ const C8 = ({
5496
5496
  color: a = "currentColor",
5497
5497
  ...h
5498
5498
  }) => /* @__PURE__ */ t.jsx(
5499
- Q,
5499
+ q,
5500
5500
  {
5501
5501
  "data-testid": l,
5502
5502
  className: c,
@@ -5523,7 +5523,7 @@ const C8 = ({
5523
5523
  color: a = "currentColor",
5524
5524
  ...h
5525
5525
  }) => /* @__PURE__ */ t.jsx(
5526
- Q,
5526
+ q,
5527
5527
  {
5528
5528
  "data-testid": l,
5529
5529
  className: c,
@@ -5550,7 +5550,7 @@ const C8 = ({
5550
5550
  color: a = "currentColor",
5551
5551
  ...h
5552
5552
  }) => /* @__PURE__ */ t.jsx(
5553
- Q,
5553
+ q,
5554
5554
  {
5555
5555
  "data-testid": l,
5556
5556
  className: c,
@@ -5589,7 +5589,7 @@ const C8 = ({
5589
5589
  `, L1 = k.div`
5590
5590
  position: relative;
5591
5591
  width: 100%;
5592
- max-width: ${({ $maxWidth: l }) => D(l)};
5592
+ max-width: ${({ $maxWidth: l }) => G(l)};
5593
5593
  padding: ${A.S};
5594
5594
  border-radius: ${N.M};
5595
5595
  transition: ${B.SHORT};
@@ -5770,9 +5770,9 @@ const u3 = 24, el = ({
5770
5770
  ...p
5771
5771
  }) => {
5772
5772
  var $, y, R, _;
5773
- const g = il(), [v, u] = O(!0), w = q(() => {
5773
+ const g = il(), [v, u] = O(!0), w = X(() => {
5774
5774
  u(!1), setTimeout(() => g.remove(i), 200);
5775
- }, [i, g]), C = d2(null);
5775
+ }, [i, g]), C = i2(null);
5776
5776
  m2(() => {
5777
5777
  const I = r == null ? void 0 : r.duration;
5778
5778
  I && setTimeout(() => {
@@ -5788,7 +5788,7 @@ const u3 = 24, el = ({
5788
5788
  as: c,
5789
5789
  role: o,
5790
5790
  id: i,
5791
- className: E(h, { Open: v }),
5791
+ className: D(h, { Open: v }),
5792
5792
  $status: n,
5793
5793
  $maxWidth: f,
5794
5794
  $toasterPosition: m,
@@ -5929,7 +5929,7 @@ const u3 = 24, el = ({
5929
5929
  $position: r,
5930
5930
  ...f,
5931
5931
  children: h.map((m) => {
5932
- var z, n, p, g, v, u, w, C, H, $, y, R, _, I, G, T, c2, P, W, J, V;
5932
+ var z, n, p, g, v, u, w, C, H, $, y, R, _, I, T, V, l2, P, Q, W, E;
5933
5933
  const o = al[m.status || "success"];
5934
5934
  return /* @__PURE__ */ t.jsx(
5935
5935
  el,
@@ -5948,14 +5948,14 @@ const u3 = 24, el = ({
5948
5948
  },
5949
5949
  iconSizes: {
5950
5950
  left: ((R = (y = m.options) == null ? void 0 : y.iconSizes) == null ? void 0 : R.left) || (o == null ? void 0 : o.iconLeftSize),
5951
- close: ((I = (_ = m.options) == null ? void 0 : _.iconSizes) == null ? void 0 : I.close) || ((G = d == null ? void 0 : d.iconSizes) == null ? void 0 : G.close)
5951
+ close: ((I = (_ = m.options) == null ? void 0 : _.iconSizes) == null ? void 0 : I.close) || ((T = d == null ? void 0 : d.iconSizes) == null ? void 0 : T.close)
5952
5952
  },
5953
- iconLeftColor: ((T = m.options) == null ? void 0 : T.iconLeftColor) || (d == null ? void 0 : d.iconLeftColor) || o.iconLeftColor,
5954
- ref: ((c2 = m.options) == null ? void 0 : c2.ref) || m.ref,
5953
+ iconLeftColor: ((V = m.options) == null ? void 0 : V.iconLeftColor) || (d == null ? void 0 : d.iconLeftColor) || o.iconLeftColor,
5954
+ ref: ((l2 = m.options) == null ? void 0 : l2.ref) || m.ref,
5955
5955
  labelClose: ((P = m.options) == null ? void 0 : P.labelClose) || (d == null ? void 0 : d.labelClose),
5956
- body: (W = m.options) == null ? void 0 : W.body,
5957
- id: ((J = m.options) == null ? void 0 : J.id) || m.id,
5958
- timerBackgroundColor: ((V = m.options) == null ? void 0 : V.timerBackgroundColor) || o.timerColor,
5956
+ body: (Q = m.options) == null ? void 0 : Q.body,
5957
+ id: ((W = m.options) == null ? void 0 : W.id) || m.id,
5958
+ timerBackgroundColor: ((E = m.options) == null ? void 0 : E.timerBackgroundColor) || o.timerColor,
5959
5959
  ...d,
5960
5960
  ...m.options
5961
5961
  },
@@ -6036,8 +6036,8 @@ const u3 = 24, el = ({
6036
6036
  z-index: 0;
6037
6037
  background-color: ${({ theme: l }) => l.GRAY_500};
6038
6038
  display: block;
6039
- width: ${({ $width: l }) => D(l)};
6040
- height: ${({ $height: l }) => D(l)};
6039
+ width: ${({ $width: l }) => G(l)};
6040
+ height: ${({ $height: l }) => G(l)};
6041
6041
  aspect-ratio: ${({ $aspectRatio: l }) => l};
6042
6042
  ${({ $borderRadius: l }) => s.BorderRadius(l)}
6043
6043
  `;
@@ -6045,7 +6045,7 @@ j([Q0]);
6045
6045
  const V1 = k.section`
6046
6046
  position: relative;
6047
6047
  background-color: ${({ $backgroundColor: l, theme: c }) => s.AllColors(l, c)};
6048
- min-height: ${({ $minHeight: l }) => D(l)};
6048
+ min-height: ${({ $minHeight: l }) => G(l)};
6049
6049
  ${({ $gap: l }) => s.Flexbox({
6050
6050
  $gap: l,
6051
6051
  $justifyContent: "center"
@@ -6055,7 +6055,7 @@ const V1 = k.section`
6055
6055
  flex-direction: column;
6056
6056
  align-items: center;
6057
6057
  justify-content: flex-start;
6058
- min-height: ${({ $minHeight: l }) => D(l)};
6058
+ min-height: ${({ $minHeight: l }) => G(l)};
6059
6059
  }
6060
6060
  `;
6061
6061
  j([V1]);
@@ -6080,7 +6080,7 @@ const fl = ({
6080
6080
  ...r,
6081
6081
  children: a
6082
6082
  }
6083
- ), H3 = (l) => typeof l == "number" ? D(l) : (/* @__PURE__ */ new Map([
6083
+ ), H3 = (l) => typeof l == "number" ? G(l) : (/* @__PURE__ */ new Map([
6084
6084
  ["default", F2.MAIN_DEFAULT],
6085
6085
  ["large", F2.MAIN_LARGE],
6086
6086
  ["form", F2.MAIN_FORM],
@@ -6124,8 +6124,8 @@ const rl = ({
6124
6124
  as: c,
6125
6125
  ref: e,
6126
6126
  children: a,
6127
- size: h,
6128
- contentSize: d,
6127
+ size: h = "default",
6128
+ contentSize: d = "default",
6129
6129
  ...i
6130
6130
  }) => /* @__PURE__ */ t.jsx(
6131
6131
  E1,
@@ -6138,7 +6138,7 @@ const rl = ({
6138
6138
  ...i,
6139
6139
  children: a
6140
6140
  }
6141
- ), C3 = (l) => typeof l == "number" ? D(l) : (/* @__PURE__ */ new Map([
6141
+ ), C3 = (l) => typeof l == "number" ? G(l) : (/* @__PURE__ */ new Map([
6142
6142
  ["default", F2.ASIDE_DEFAULT],
6143
6143
  ["small", F2.ASIDE_SMALL]
6144
6144
  ])).get(l), D1 = k.aside`
@@ -6173,7 +6173,7 @@ const Vh = ({
6173
6173
  as: c,
6174
6174
  ref: e,
6175
6175
  children: a,
6176
- size: h,
6176
+ size: h = "default",
6177
6177
  ...d
6178
6178
  }) => /* @__PURE__ */ t.jsx(
6179
6179
  D1,
@@ -6226,15 +6226,15 @@ const Dh = ({
6226
6226
  ref: e,
6227
6227
  children: a,
6228
6228
  inline: h,
6229
- col: d,
6230
- gap: i,
6231
- columnGap: r,
6232
- rowGap: f,
6233
- justifyItems: m,
6234
- alignItems: o,
6235
- justifyContent: z,
6236
- alignContent: n,
6237
- padding: p,
6229
+ col: d = 1,
6230
+ gap: i = "0px",
6231
+ columnGap: r = "0px",
6232
+ rowGap: f = "0px",
6233
+ justifyItems: m = "stretch",
6234
+ alignItems: o = "stretch",
6235
+ justifyContent: z = "auto",
6236
+ alignContent: n = "normal",
6237
+ padding: p = "0px",
6238
6238
  ...g
6239
6239
  }) => /* @__PURE__ */ t.jsx(
6240
6240
  T1,
@@ -6259,7 +6259,7 @@ const Dh = ({
6259
6259
  ${s.Flexbox}
6260
6260
  `;
6261
6261
  j([O1]);
6262
- const o2 = ({
6262
+ const z2 = ({
6263
6263
  "data-testid": l,
6264
6264
  as: c,
6265
6265
  ref: e,
@@ -6297,8 +6297,8 @@ const o2 = ({
6297
6297
  children: a
6298
6298
  }
6299
6299
  ), B1 = k(j6)`
6300
- width: ${({ $size: l }) => D(l)};
6301
- height: ${({ $size: l }) => D(l)};
6300
+ width: ${({ $size: l }) => G(l)};
6301
+ height: ${({ $size: l }) => G(l)};
6302
6302
  fill: ${({ theme: l, $color: c }) => s.AllColors(c, l)};
6303
6303
 
6304
6304
  path {
@@ -6451,7 +6451,7 @@ const P1 = ({
6451
6451
  flex-grow: 1;
6452
6452
  }
6453
6453
  `, Z1 = k.span`
6454
- height: ${({ $tag: l, $display: c, $iconSize: e }) => e ? D(e * 1.5) : D((U1(l, c) || 16) * 1.5)};
6454
+ height: ${({ $tag: l, $display: c, $iconSize: e }) => e ? G(e * 1.5) : G((U1(l, c) || 16) * 1.5)};
6455
6455
  ${s.Flexbox({
6456
6456
  $inline: !0,
6457
6457
  $alignItems: "center",
@@ -6472,7 +6472,7 @@ const Gh = ({
6472
6472
  iconBaseUrl: m,
6473
6473
  tag: o = "p",
6474
6474
  display: z,
6475
- gap: n,
6475
+ gap: n = "xs",
6476
6476
  containerStyle: p,
6477
6477
  ...g
6478
6478
  }) => {
@@ -6691,15 +6691,15 @@ const pl = ({
6691
6691
  tooltipStyles: v,
6692
6692
  ...u
6693
6693
  }) => {
6694
- const w = W0(), C = f === "click" || w ? "click" : "hover", [H, $] = O(!1), y = d2(null);
6694
+ const w = W0(), C = f === "click" || w ? "click" : "hover", [H, $] = O(!1), y = i2(null);
6695
6695
  V2(y, () => {
6696
6696
  H && C === "click" && $(!1);
6697
6697
  });
6698
- const R = q(() => {
6698
+ const R = X(() => {
6699
6699
  $(!H);
6700
- }, [H]), _ = q(() => {
6700
+ }, [H]), _ = X(() => {
6701
6701
  $(!0);
6702
- }, []), I = q(() => {
6702
+ }, []), I = X(() => {
6703
6703
  $(!1);
6704
6704
  }, []);
6705
6705
  return /* @__PURE__ */ t.jsxs(
@@ -6708,7 +6708,7 @@ const pl = ({
6708
6708
  "data-testid": l,
6709
6709
  ref: e,
6710
6710
  as: c,
6711
- className: E(a, { Visible: H }),
6711
+ className: D(a, { Visible: H }),
6712
6712
  onClick: z || (C === "click" ? R : void 0),
6713
6713
  onMouseEnter: n || (C === "hover" ? _ : void 0),
6714
6714
  onMouseLeave: p || (C === "hover" ? I : void 0),
@@ -6718,7 +6718,7 @@ const pl = ({
6718
6718
  K1,
6719
6719
  {
6720
6720
  "data-testid": l && `${l}.Tooltip`,
6721
- className: E(
6721
+ className: D(
6722
6722
  { Tooltip: a },
6723
6723
  { Visible: H }
6724
6724
  ),
@@ -6739,10 +6739,10 @@ const pl = ({
6739
6739
  }, X1 = k.hr`
6740
6740
  display: block;
6741
6741
  width: 100%;
6742
- max-width: ${({ $maxWidth: l }) => D(l)};
6742
+ max-width: ${({ $maxWidth: l }) => G(l)};
6743
6743
  border: none;
6744
6744
  background-color: ${({ theme: l, $color: c }) => s.AllColors(c, l)};
6745
- height: ${({ $height: l }) => D(l)};
6745
+ height: ${({ $height: l }) => G(l)};
6746
6746
  ${({ $margin: l }) => s.Margin(l)}
6747
6747
 
6748
6748
  &.Rounded {
@@ -6767,7 +6767,7 @@ const q1 = ({
6767
6767
  "data-testid": l,
6768
6768
  ref: e,
6769
6769
  as: c,
6770
- className: E(a, { Rounded: f }),
6770
+ className: D(a, { Rounded: f }),
6771
6771
  $height: h,
6772
6772
  $maxWidth: d,
6773
6773
  $color: i,
@@ -6802,9 +6802,9 @@ const q1 = ({
6802
6802
  }) => x`
6803
6803
  position: relative;
6804
6804
  overflow: hidden;
6805
- width: ${D(l)};
6806
- max-width: ${c && D(c)};
6807
- height: ${e && D(e)};
6805
+ width: ${G(l)};
6806
+ max-width: ${c && G(c)};
6807
+ height: ${e && G(e)};
6808
6808
  background-color: ${({ theme: f }) => s.AllColors(a, f)};
6809
6809
  aspect-ratio: ${h};
6810
6810
  flex: ${i};
@@ -6820,7 +6820,7 @@ const q1 = ({
6820
6820
  background-color: ${({ theme: l }) => l.WHITE};
6821
6821
  animation: ${vl} 2000ms infinite;
6822
6822
  opacity: 0.7;
6823
- `, l4 = k(o2)`
6823
+ `, l4 = k(z2)`
6824
6824
  ${Q1}
6825
6825
  ${({ $border: l }) => s.Border(l)}
6826
6826
  ${({ $padding: l }) => s.Padding(l)}
@@ -6959,8 +6959,8 @@ const Th = ({
6959
6959
  }
6960
6960
  ) }), a4 = k.img`
6961
6961
  display: block;
6962
- width: ${({ $width: l }) => D(l)};
6963
- height: ${({ $height: l }) => D(l)};
6962
+ width: ${({ $width: l }) => G(l)};
6963
+ height: ${({ $height: l }) => G(l)};
6964
6964
  object-fit: ${({ $fit: l }) => l};
6965
6965
  aspect-ratio: ${({ $aspectRatio: l }) => l};
6966
6966
  position: relative;
@@ -6986,8 +6986,8 @@ const Th = ({
6986
6986
  `, J0 = k.figure`
6987
6987
  position: relative;
6988
6988
  overflow: hidden;
6989
- width: ${({ $width: l }) => D(l)};
6990
- height: ${({ $height: l }) => D(l)};
6989
+ width: ${({ $width: l }) => G(l)};
6990
+ height: ${({ $height: l }) => G(l)};
6991
6991
  ${({ $borderRadius: l }) => s.BorderRadius(l)};
6992
6992
  `, l3 = k(F).attrs({ as: "figcaption" })`
6993
6993
  background: ${({ theme: l, $backgroundColor: c }) => s.ColorsAndOverlays(c, l)};
@@ -7073,7 +7073,7 @@ const kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7073
7073
  ) : /* @__PURE__ */ t.jsx($3, { ...v });
7074
7074
  };
7075
7075
  function bl(l, c, e = globalThis) {
7076
- const a = d2();
7076
+ const a = i2();
7077
7077
  m2(() => a.current = c, [c]), m2(() => {
7078
7078
  if (!e.addEventListener) return;
7079
7079
  const h = (d) => a.current(d);
@@ -7107,9 +7107,9 @@ const Bh = ({
7107
7107
  gap: d = "l",
7108
7108
  ...i
7109
7109
  }) => {
7110
- const r = d2(null), [f, m] = O(h), o = [...Array(h)].map(() => []);
7110
+ const r = i2(null), [f, m] = O(h), o = [...Array(h)].map(() => []);
7111
7111
  wl(a, o);
7112
- const z = q(
7112
+ const z = X(
7113
7113
  () => m(
7114
7114
  Math.ceil(window.innerWidth / (window.innerWidth / f))
7115
7115
  ),
@@ -7133,7 +7133,7 @@ const Bh = ({
7133
7133
  ${({ $padding: l }) => s.Padding(l)}
7134
7134
 
7135
7135
  ${({ $height: l }) => l && x`
7136
- height: ${D(l)};
7136
+ height: ${G(l)};
7137
7137
 
7138
7138
  & > img,
7139
7139
  & > figure {
@@ -7211,8 +7211,8 @@ const Yh = ({
7211
7211
  ), f4 = k.iframe`
7212
7212
  display: block;
7213
7213
  aspect-ratio: ${({ $aspectRatio: l }) => l};
7214
- width: ${({ $width: l }) => D(l)};
7215
- height: ${({ $height: l }) => D(l)};
7214
+ width: ${({ $width: l }) => G(l)};
7215
+ height: ${({ $height: l }) => G(l)};
7216
7216
  `;
7217
7217
  j([f4]);
7218
7218
  const Uh = ({
@@ -7287,7 +7287,7 @@ const f0 = ({
7287
7287
  "data-testid": l,
7288
7288
  ref: e,
7289
7289
  as: h,
7290
- className: E(c, v),
7290
+ className: D(c, v),
7291
7291
  id: a,
7292
7292
  $backgroundColor: o,
7293
7293
  $contentColor: z,
@@ -7358,8 +7358,8 @@ const f0 = ({
7358
7358
  bottom: ${A.XXS};
7359
7359
  }
7360
7360
  `, p4 = k.span`
7361
- width: ${({ $size: l }) => D(l)};
7362
- height: ${({ $size: l }) => D(l)};
7361
+ width: ${({ $size: l }) => G(l)};
7362
+ height: ${({ $size: l }) => G(l)};
7363
7363
  font-weight: ${t2.BLACK};
7364
7364
  background-color: ${({ $backgroundColor: l, theme: c }) => s.AllColors(l, c)};
7365
7365
  color: ${({ $fontColor: l, theme: c }) => s.AllColors(l, c)};
@@ -7403,7 +7403,7 @@ const A3 = ({
7403
7403
  ref: d ? void 0 : e,
7404
7404
  as: d ? "span" : c,
7405
7405
  id: h,
7406
- className: E(
7406
+ className: D(
7407
7407
  d && a ? "Avatar" : a,
7408
7408
  C
7409
7409
  ),
@@ -7511,7 +7511,7 @@ const A3 = ({
7511
7511
  z4,
7512
7512
  {
7513
7513
  "data-testid": l && `${l}.Badge`,
7514
- className: E(
7514
+ className: D(
7515
7515
  { Badge: p },
7516
7516
  `Position${A2(
7517
7517
  u && i.position ? i.position : "top"
@@ -7531,8 +7531,8 @@ const A3 = ({
7531
7531
  }
7532
7532
  ) : /* @__PURE__ */ t.jsx(A3, { ...C });
7533
7533
  }, C0 = ({ $size: l }) => x`
7534
- width: ${l && D(l)};
7535
- height: ${l && D(l)};
7534
+ width: ${l && G(l)};
7535
+ height: ${l && G(l)};
7536
7536
  position: relative;
7537
7537
  `, ul = _2`
7538
7538
  0% {
@@ -7730,8 +7730,8 @@ const Hl = ({ "data-testid": l, ref: c, as: e, size: a, color: h, borderWidth: d
7730
7730
  border: none;
7731
7731
  background-color: transparent;
7732
7732
  position: relative;
7733
- width: ${({ $width: l }) => D(l)};
7734
- height: ${({ $height: l }) => D(l)};
7733
+ width: ${({ $width: l }) => G(l)};
7734
+ height: ${({ $height: l }) => G(l)};
7735
7735
  color: ${({ theme: l, $color: c }) => s.ColorsHoverDefault(c, l)};
7736
7736
 
7737
7737
  ${({ $noHover: l, $color: c, theme: e }) => {
@@ -7762,7 +7762,7 @@ const Hl = ({ "data-testid": l, ref: c, as: e, size: a, color: h, borderWidth: d
7762
7762
  display: block;
7763
7763
  background-color: currentColor;
7764
7764
  width: 100%;
7765
- height: ${({ $borderWidth: l }) => D(l)};
7765
+ height: ${({ $borderWidth: l }) => G(l)};
7766
7766
  border-radius: ${N.ROUND};
7767
7767
  position: absolute;
7768
7768
  left: 0;
@@ -7774,7 +7774,7 @@ const Hl = ({ "data-testid": l, ref: c, as: e, size: a, color: h, borderWidth: d
7774
7774
 
7775
7775
  &:nth-child(2) {
7776
7776
  top: calc(
7777
- 50% - ${({ $borderWidth: l }) => D(l)} / 2
7777
+ 50% - ${({ $borderWidth: l }) => G(l)} / 2
7778
7778
  );
7779
7779
  }
7780
7780
 
@@ -7791,7 +7791,7 @@ const Hl = ({ "data-testid": l, ref: c, as: e, size: a, color: h, borderWidth: d
7791
7791
 
7792
7792
  &:nth-child(2) {
7793
7793
  top: calc(
7794
- 50% - ${({ $borderWidth: l }) => D(l)} / 2
7794
+ 50% - ${({ $borderWidth: l }) => G(l)} / 2
7795
7795
  );
7796
7796
  width: 0;
7797
7797
  }
@@ -7822,7 +7822,7 @@ const b4 = ({
7822
7822
  "data-testid": l,
7823
7823
  ref: e,
7824
7824
  as: c || (f ? "span" : "button"),
7825
- className: E(a, { Open: h }),
7825
+ className: D(a, { Open: h }),
7826
7826
  "aria-label": o,
7827
7827
  $noHover: f,
7828
7828
  $borderWidth: m,
@@ -7854,80 +7854,82 @@ const a0 = ({
7854
7854
  as: h,
7855
7855
  ref: d,
7856
7856
  className: i,
7857
- children: r,
7858
- color: f = "primary",
7859
- shadow: m,
7860
- size: o = "default",
7861
- borderRadius: z = o === "small" ? "s" : "m",
7862
- icons: n,
7863
- iconSizes: p,
7864
- iconBaseUrl: g,
7865
- gap: v = "xs",
7866
- variant: u = "plain",
7867
- noPadding: w,
7868
- isLoading: C,
7869
- loaderVariant: H,
7870
- to: $,
7871
- href: y,
7872
- blank: R,
7873
- ..._
7857
+ role: r = "button",
7858
+ children: f,
7859
+ color: m = "primary",
7860
+ shadow: o,
7861
+ size: z = "default",
7862
+ borderRadius: n = z === "small" ? "s" : "m",
7863
+ icons: p,
7864
+ iconSizes: g,
7865
+ iconBaseUrl: v,
7866
+ gap: u = "xs",
7867
+ variant: w = "plain",
7868
+ noPadding: C,
7869
+ isLoading: H,
7870
+ loaderVariant: $,
7871
+ to: y,
7872
+ href: R,
7873
+ blank: _,
7874
+ ...I
7874
7875
  }) => {
7875
- const I = {
7876
- size: o === "small" ? 14 : 16,
7876
+ const T = {
7877
+ size: z === "small" ? 14 : 16,
7877
7878
  color: "gray",
7878
7879
  "data-testid": l && `${l}.Loader`,
7879
7880
  className: "Loader"
7880
- }, G = o === "small" ? 14 : 16;
7881
+ }, V = z === "small" ? 14 : 16;
7881
7882
  return /* @__PURE__ */ t.jsxs(
7882
7883
  w4,
7883
7884
  {
7884
7885
  "data-testid": l,
7885
7886
  ref: d,
7886
- as: h || ($ ? x2 : y ? "a" : "button"),
7887
- to: $ === "prev" ? -1 : $,
7888
- href: y,
7887
+ as: h || (y ? x2 : R ? "a" : "button"),
7888
+ to: y === "prev" ? -1 : y,
7889
+ role: r,
7890
+ href: R,
7889
7891
  className: i,
7890
7892
  "aria-label": c,
7891
7893
  "aria-disabled": a,
7892
- disabled: C || e,
7893
- target: R && "_blank",
7894
- rel: R && "noreferrer noopener",
7895
- $color: f,
7896
- $shadow: m,
7897
- $borderRadius: z,
7898
- $size: o,
7899
- $gap: v,
7900
- $variant: u,
7901
- $noPadding: w,
7902
- ..._,
7894
+ disabled: H || e,
7895
+ target: _ && "_blank",
7896
+ rel: _ && "noreferrer noopener",
7897
+ $color: m,
7898
+ $shadow: o,
7899
+ $borderRadius: n,
7900
+ $size: z,
7901
+ $gap: u,
7902
+ $variant: w,
7903
+ $noPadding: C,
7904
+ ...I,
7903
7905
  children: [
7904
- (n == null ? void 0 : n.left) && !C && /* @__PURE__ */ t.jsx(
7906
+ (p == null ? void 0 : p.left) && !H && /* @__PURE__ */ t.jsx(
7905
7907
  a2,
7906
7908
  {
7907
- icon: n.left,
7909
+ icon: p.left,
7908
7910
  "data-testid": l && `${l}.IconLeft`,
7909
7911
  className: i && "IconLeft",
7910
- size: (p == null ? void 0 : p.left) || G,
7911
- baseUrl: g
7912
+ size: (g == null ? void 0 : g.left) || V,
7913
+ baseUrl: v
7912
7914
  }
7913
7915
  ),
7914
- C && (H === 4 ? /* @__PURE__ */ t.jsx(r0, { variant: 4, ...I }) : /* @__PURE__ */ t.jsx(
7916
+ H && ($ === 4 ? /* @__PURE__ */ t.jsx(r0, { variant: 4, ...T }) : /* @__PURE__ */ t.jsx(
7915
7917
  r0,
7916
7918
  {
7917
- variant: H,
7919
+ variant: $,
7918
7920
  borderWidth: 2,
7919
- ...I
7921
+ ...T
7920
7922
  }
7921
7923
  )),
7922
- r,
7923
- (n == null ? void 0 : n.right) && /* @__PURE__ */ t.jsx(
7924
+ f,
7925
+ (p == null ? void 0 : p.right) && /* @__PURE__ */ t.jsx(
7924
7926
  a2,
7925
7927
  {
7926
- icon: n.right,
7928
+ icon: p.right,
7927
7929
  "data-testid": l && `${l}.IconRight`,
7928
7930
  className: i && "IconRight",
7929
- size: (p == null ? void 0 : p.right) || G,
7930
- baseUrl: g
7931
+ size: (g == null ? void 0 : g.right) || V,
7932
+ baseUrl: v
7931
7933
  }
7932
7934
  )
7933
7935
  ]
@@ -7938,8 +7940,8 @@ const a0 = ({
7938
7940
  position: relative;
7939
7941
  padding: 0;
7940
7942
  z-index: 0;
7941
- width: ${({ $size: l }) => D(l)};
7942
- height: ${({ $size: l }) => D(l)};
7943
+ width: ${({ $size: l }) => G(l)};
7944
+ height: ${({ $size: l }) => G(l)};
7943
7945
 
7944
7946
  ${({ $variant: l, $showBackgroundHover: c, theme: e }) => l === "transparent" && c && x`
7945
7947
  @media ${S.HOVER} {
@@ -8026,71 +8028,73 @@ const L3 = ({
8026
8028
  "data-testid": l,
8027
8029
  as: c,
8028
8030
  ref: e,
8029
- size: a = 32,
8030
- icon: h,
8031
- iconSize: d = r2(a),
8032
- shadow: i,
8033
- borderRadius: r = "circle",
8034
- tooltip: f,
8035
- showTooltip: m,
8036
- "aria-label": o = A2(
8037
- typeof h == "string" ? h : "button icon"
8031
+ role: a = "button",
8032
+ size: h = 32,
8033
+ icon: d,
8034
+ iconSize: i = r2(h),
8035
+ shadow: r,
8036
+ borderRadius: f = "circle",
8037
+ tooltip: m,
8038
+ showTooltip: o,
8039
+ "aria-label": z = A2(
8040
+ typeof d == "string" ? d : "button icon"
8038
8041
  ),
8039
- to: z,
8040
- href: n,
8041
- blank: p,
8042
- variant: g = "plain",
8043
- showBackgroundHover: v,
8044
- isLoading: u,
8045
- loaderVariant: w,
8046
- loaderBorderWidth: C = 2,
8047
- disabled: H,
8048
- "aria-disabled": $ = u || H,
8049
- color: y = "primary",
8050
- className: R,
8051
- containerStyle: _,
8052
- ...I
8042
+ to: n,
8043
+ href: p,
8044
+ blank: g,
8045
+ variant: v = "plain",
8046
+ showBackgroundHover: u,
8047
+ isLoading: w,
8048
+ loaderVariant: C,
8049
+ loaderBorderWidth: H = 2,
8050
+ disabled: $,
8051
+ "aria-disabled": y = w || $,
8052
+ color: R = "primary",
8053
+ className: _,
8054
+ containerStyle: I,
8055
+ ...T
8053
8056
  }) => {
8054
- const G = {
8057
+ const V = {
8055
8058
  "data-testid": l,
8056
8059
  as: c,
8057
- className: R,
8058
- showTooltip: m,
8059
- to: z,
8060
- href: n,
8061
- isLoading: u,
8062
- disabled: H,
8063
- "aria-disabled": $,
8064
- "aria-label": o,
8065
- blank: p,
8066
- variant: g,
8067
- showBackgroundHover: v,
8068
- borderRadius: r,
8069
- color: y,
8070
- shadow: i,
8071
- size: a,
8072
- loaderVariant: w,
8073
- icon: h,
8074
- iconSize: d,
8075
- loaderBorderWidth: C,
8060
+ role: a,
8061
+ className: _,
8062
+ showTooltip: o,
8063
+ to: n,
8064
+ href: p,
8065
+ isLoading: w,
8066
+ disabled: $,
8067
+ "aria-disabled": y,
8068
+ "aria-label": z,
8069
+ blank: g,
8070
+ variant: v,
8071
+ showBackgroundHover: u,
8072
+ borderRadius: f,
8073
+ color: R,
8074
+ shadow: r,
8075
+ size: h,
8076
+ loaderVariant: C,
8077
+ icon: d,
8078
+ iconSize: i,
8079
+ loaderBorderWidth: H,
8076
8080
  ref: e,
8077
- ...I
8081
+ ...T
8078
8082
  };
8079
- return f && m ? /* @__PURE__ */ t.jsx(
8083
+ return m && o ? /* @__PURE__ */ t.jsx(
8080
8084
  pl,
8081
8085
  {
8082
8086
  "data-testid": l,
8083
- className: R,
8084
- tooltip: f,
8085
- position: typeof m == "object" && (m != null && m.position) ? m.position : "top",
8086
- offset: typeof m == "object" && (m != null && m.offset) ? m.offset : void 0,
8087
- hideArrow: typeof m == "object" && m.hideArrow ? m.hideArrow : !1,
8088
- backgroundColor: typeof m == "object" && m.backgroundColor ? m.backgroundColor : "black-80",
8089
- textColor: typeof m == "object" && m.textColor ? m.textColor : "white",
8090
- style: _,
8091
- children: /* @__PURE__ */ t.jsx(L3, { ...G })
8087
+ className: _,
8088
+ tooltip: m,
8089
+ position: typeof o == "object" && (o != null && o.position) ? o.position : "top",
8090
+ offset: typeof o == "object" && (o != null && o.offset) ? o.offset : void 0,
8091
+ hideArrow: typeof o == "object" && o.hideArrow ? o.hideArrow : !1,
8092
+ backgroundColor: typeof o == "object" && o.backgroundColor ? o.backgroundColor : "black-80",
8093
+ textColor: typeof o == "object" && o.textColor ? o.textColor : "white",
8094
+ style: I,
8095
+ children: /* @__PURE__ */ t.jsx(L3, { ...V })
8092
8096
  }
8093
- ) : /* @__PURE__ */ t.jsx(L3, { ...G });
8097
+ ) : /* @__PURE__ */ t.jsx(L3, { ...V });
8094
8098
  }, Al = ({
8095
8099
  "data-testid": l,
8096
8100
  ref: c,
@@ -8454,7 +8458,7 @@ const Wh = ({
8454
8458
  gap: d = "xs",
8455
8459
  ...i
8456
8460
  }) => {
8457
- const r = d2(null), [f, m] = O(0);
8461
+ const r = i2(null), [f, m] = O(0);
8458
8462
  return B0(() => {
8459
8463
  const o = () => {
8460
8464
  if (!r.current) return;
@@ -8512,8 +8516,8 @@ const Wh = ({
8512
8516
  overflow: hidden;
8513
8517
  position: relative;
8514
8518
  cursor: ${({ $cursor: l }) => l};
8515
- width: ${({ $width: l }) => l && D(l)};
8516
- height: ${({ $height: l }) => l && D(l)};
8519
+ width: ${({ $width: l }) => l && G(l)};
8520
+ height: ${({ $height: l }) => l && G(l)};
8517
8521
  background-color: ${({ theme: l, $backgroundColor: c }) => s.AllColors(c, l)};
8518
8522
  color: ${({ theme: l, $textColor: c }) => s.AllColors(c, l)};
8519
8523
  text-align: ${({ $textAlign: l }) => l};
@@ -8550,11 +8554,11 @@ const Kh = ({
8550
8554
  justifyContent: R,
8551
8555
  alignItems: _,
8552
8556
  justifyItems: I,
8553
- alignContent: G,
8554
- gap: T,
8555
- columnGap: c2,
8557
+ alignContent: T,
8558
+ gap: V,
8559
+ columnGap: l2,
8556
8560
  rowGap: P,
8557
- ...W
8561
+ ...Q
8558
8562
  }) => /* @__PURE__ */ t.jsx(
8559
8563
  R4,
8560
8564
  {
@@ -8590,11 +8594,11 @@ const Kh = ({
8590
8594
  $justifyContent: R,
8591
8595
  $alignItems: _,
8592
8596
  $justifyItems: I,
8593
- $alignContent: G,
8594
- $gap: T,
8595
- $columnGap: c2,
8597
+ $alignContent: T,
8598
+ $gap: V,
8599
+ $columnGap: l2,
8596
8600
  $rowGap: P,
8597
- ...W,
8601
+ ...Q,
8598
8602
  children: a
8599
8603
  }
8600
8604
  ), b2 = ({
@@ -9282,7 +9286,7 @@ const j2 = ({
9282
9286
  })}
9283
9287
  `, a3 = k.span`
9284
9288
  height: calc(${U.SMALL} * ${s2.BODY});
9285
- width: ${({ $iconSize: l }) => D(l)};
9289
+ width: ${({ $iconSize: l }) => G(l)};
9286
9290
  ${s.Flexbox({
9287
9291
  $inline: !0,
9288
9292
  $alignItems: "center",
@@ -9290,7 +9294,7 @@ const j2 = ({
9290
9294
  })}
9291
9295
  `, Z2 = k(F).attrs({ tag: "small" })`
9292
9296
  font-style: ${({ $fontStyle: l }) => l};
9293
- width: ${({ $hasIcon: l, $iconSize: c }) => l && c && `calc(100% - ${D(c)} - ${A.XXS})`};
9297
+ width: ${({ $hasIcon: l, $iconSize: c }) => l && c && `calc(100% - ${G(c)} - ${A.XXS})`};
9294
9298
  `;
9295
9299
  j([
9296
9300
  P4,
@@ -9419,7 +9423,7 @@ const _l = ({
9419
9423
  E4,
9420
9424
  {
9421
9425
  "data-testid": e && l ? `${l}.Wrapper` : l,
9422
- className: E(
9426
+ className: D(
9423
9427
  e && c ? "Wrapper" : c,
9424
9428
  { Open: h }
9425
9429
  ),
@@ -9443,7 +9447,7 @@ const _l = ({
9443
9447
  D4,
9444
9448
  {
9445
9449
  "data-testid": l && `${l}.ListInput`,
9446
- className: E({ ListInput: e }, { Open: r }),
9450
+ className: D({ ListInput: e }, { Open: r }),
9447
9451
  ref: c,
9448
9452
  $direction: h,
9449
9453
  $inputBackground: d,
@@ -9466,7 +9470,7 @@ const _l = ({
9466
9470
  G4,
9467
9471
  {
9468
9472
  "data-testid": l && `${l}.ListItem`,
9469
- className: E(
9473
+ className: D(
9470
9474
  { ListItem: c },
9471
9475
  { Active: d },
9472
9476
  { Hovered: f }
@@ -9529,7 +9533,7 @@ const _l = ({
9529
9533
  Y4,
9530
9534
  {
9531
9535
  "data-testid": l && (d ? l : `${l}.InputAndListContainer`),
9532
- className: E(
9536
+ className: D(
9533
9537
  { InputAndListContainer: e && !d },
9534
9538
  { Open: h },
9535
9539
  d && e
@@ -9635,7 +9639,7 @@ const _l = ({
9635
9639
  "data-testid": l,
9636
9640
  ref: e,
9637
9641
  as: c,
9638
- className: E(p, { Open: g }),
9642
+ className: D(p, { Open: g }),
9639
9643
  style: v,
9640
9644
  ...w,
9641
9645
  children: [
@@ -9782,7 +9786,7 @@ const Vl = ({
9782
9786
  prefix: w,
9783
9787
  ...C
9784
9788
  }) => {
9785
- const H = d2(null), $ = q(() => {
9789
+ const H = i2(null), $ = X(() => {
9786
9790
  var y;
9787
9791
  return (y = H == null ? void 0 : H.current) == null ? void 0 : y.showPicker();
9788
9792
  }, []);
@@ -10089,9 +10093,9 @@ const Vl = ({
10089
10093
  prefix: H,
10090
10094
  ...$
10091
10095
  }) => {
10092
- const y = W0(), R = d2(null), _ = q(() => {
10093
- var G;
10094
- return (G = R == null ? void 0 : R.current) == null ? void 0 : G.focus();
10096
+ const y = W0(), R = i2(null), _ = X(() => {
10097
+ var T;
10098
+ return (T = R == null ? void 0 : R.current) == null ? void 0 : T.focus();
10095
10099
  }, []), I = u || [""];
10096
10100
  return t0(I, () => _()), /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
10097
10101
  (H || p) && /* @__PURE__ */ t.jsxs(
@@ -10209,7 +10213,7 @@ const Vl = ({
10209
10213
  prefix: w,
10210
10214
  ...C
10211
10215
  }) => {
10212
- const H = d2(null);
10216
+ const H = i2(null);
10213
10217
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
10214
10218
  (w || g) && /* @__PURE__ */ t.jsxs(
10215
10219
  C2,
@@ -10451,7 +10455,7 @@ const Vl = ({
10451
10455
  prefix: u,
10452
10456
  ...w
10453
10457
  }) => {
10454
- const C = d2(null), H = q(() => {
10458
+ const C = i2(null), H = X(() => {
10455
10459
  var $;
10456
10460
  return ($ = C == null ? void 0 : C.current) == null ? void 0 : $.showPicker();
10457
10461
  }, []);
@@ -10642,8 +10646,8 @@ const Fl = ({ type: l, ref: c, ...e }) => Ul(e, l, c), Z4 = ({
10642
10646
  }
10643
10647
  );
10644
10648
  }, W4 = k.label`
10645
- width: ${({ $width: l }) => D(l)};
10646
- height: ${({ $height: l }) => D(l)};
10649
+ width: ${({ $width: l }) => G(l)};
10650
+ height: ${({ $height: l }) => G(l)};
10647
10651
  position: relative;
10648
10652
  overflow: hidden;
10649
10653
  background-color: ${({ theme: l, $validationStatus: c }) => c === !1 ? l.DANGER_50 : l.GRAY_100};
@@ -10749,7 +10753,7 @@ const Zl = ({
10749
10753
  X4,
10750
10754
  {
10751
10755
  "data-testid": l && `${l}.HoverContainer`,
10752
- className: E(
10756
+ className: D(
10753
10757
  { HoverContainer: c },
10754
10758
  { Visible: i }
10755
10759
  ),
@@ -10795,9 +10799,9 @@ const Zl = ({
10795
10799
  containerStyle: C,
10796
10800
  ...H
10797
10801
  }) => {
10798
- const $ = !!(h || d || i || r || f), [y, R] = O(!1), _ = q(() => {
10802
+ const $ = !!(h || d || i || r || f), [y, R] = O(!1), _ = X(() => {
10799
10803
  R(!0);
10800
- }, []), I = q(() => {
10804
+ }, []), I = X(() => {
10801
10805
  R(!1);
10802
10806
  }, []);
10803
10807
  return /* @__PURE__ */ t.jsx(
@@ -11089,7 +11093,7 @@ const qh = ({
11089
11093
  a7,
11090
11094
  {
11091
11095
  "data-testid": l,
11092
- className: a && E(a, i && A2(i)),
11096
+ className: a && D(a, i && A2(i)),
11093
11097
  htmlFor: d,
11094
11098
  style: n,
11095
11099
  $variant: i,
@@ -11744,25 +11748,25 @@ const n0 = {
11744
11748
  countryButtonAriaLabel: R = "Select country",
11745
11749
  textNoResult: _ = "Your search did not return any result.",
11746
11750
  containerStyle: I,
11747
- inputAndListContainerStyle: G,
11748
- ...T
11751
+ inputAndListContainerStyle: T,
11752
+ ...V
11749
11753
  }) => {
11750
- const c2 = !!(h || d || i || r || f), P = k0(() => z || R3.find((l2) => l2.code === p), [p, z]), [W, J] = O(!1), V = q(() => {
11751
- J(!W);
11752
- }, [W]), Z = d2(null);
11754
+ const l2 = !!(h || d || i || r || f), P = k0(() => z || R3.find((J) => J.code === p), [p, z]), [Q, W] = O(!1), E = X(() => {
11755
+ W(!Q);
11756
+ }, [Q]), Z = i2(null);
11753
11757
  V2(
11754
11758
  Z,
11755
- q(() => {
11756
- W && J(!1);
11757
- }, [W])
11759
+ X(() => {
11760
+ Q && W(!1);
11761
+ }, [Q])
11758
11762
  );
11759
- const [X, h2] = O(""), z2 = k0(() => R3.filter(
11760
- (l2) => l2.name.toLowerCase().includes(X.toLowerCase()) || l2.dial_code.toLowerCase().includes(X.toLowerCase()) || l2.code.toLowerCase().includes(X.toLowerCase())
11761
- ), [X]), L = q((l2) => {
11762
- h2(l2.target.value);
11763
- }, []), Y = q(
11764
- (l2) => {
11765
- n(l2), J(!1);
11763
+ const [c2, h2] = O(""), o2 = k0(() => R3.filter(
11764
+ (J) => J.name.toLowerCase().includes(c2.toLowerCase()) || J.dial_code.toLowerCase().includes(c2.toLowerCase()) || J.code.toLowerCase().includes(c2.toLowerCase())
11765
+ ), [c2]), L = X((J) => {
11766
+ h2(J.target.value);
11767
+ }, []), Y = X(
11768
+ (J) => {
11769
+ n(J), W(!1);
11766
11770
  },
11767
11771
  [n]
11768
11772
  ), e2 = {
@@ -11782,7 +11786,7 @@ const n0 = {
11782
11786
  className: e && "CaretIcon"
11783
11787
  }
11784
11788
  )
11785
- }, i2 = {
11789
+ }, d2 = {
11786
11790
  "data-testid": l,
11787
11791
  className: e,
11788
11792
  validationStatus: f == null ? void 0 : f.status,
@@ -11802,7 +11806,7 @@ const n0 = {
11802
11806
  value: H,
11803
11807
  counter: void 0,
11804
11808
  maxLength: $,
11805
- hasListOpen: W,
11809
+ hasListOpen: Q,
11806
11810
  iconBaseUrl: u,
11807
11811
  style: I,
11808
11812
  children: /* @__PURE__ */ t.jsxs(
@@ -11810,17 +11814,17 @@ const n0 = {
11810
11814
  {
11811
11815
  "data-testid": l,
11812
11816
  className: e,
11813
- hasListOpen: W,
11814
- inputAndListContainerStyle: G,
11815
- isParent: !c2,
11817
+ hasListOpen: Q,
11818
+ inputAndListContainerStyle: T,
11819
+ isParent: !l2,
11816
11820
  children: [
11817
11821
  /* @__PURE__ */ t.jsxs(
11818
11822
  q2,
11819
11823
  {
11820
11824
  "data-testid": l,
11821
11825
  className: e,
11822
- hasContainer: c2,
11823
- hasListOpen: W,
11826
+ hasContainer: l2,
11827
+ hasListOpen: Q,
11824
11828
  isTextArea: !1,
11825
11829
  inputVariant: o,
11826
11830
  inputBackground: m,
@@ -11842,7 +11846,7 @@ const n0 = {
11842
11846
  disabled: y,
11843
11847
  "aria-disabled": y,
11844
11848
  "aria-label": R,
11845
- onClick: V,
11849
+ onClick: E,
11846
11850
  $inputBackground: m,
11847
11851
  children: [
11848
11852
  /* @__PURE__ */ t.jsx(
@@ -11885,9 +11889,9 @@ const n0 = {
11885
11889
  {
11886
11890
  "data-testid": l && `${l}.Input`,
11887
11891
  ref: c,
11888
- className: E(
11892
+ className: D(
11889
11893
  { Input: e },
11890
- { WithListOpen: W }
11894
+ { WithListOpen: Q }
11891
11895
  ),
11892
11896
  id: a,
11893
11897
  type: "tel",
@@ -11896,7 +11900,7 @@ const n0 = {
11896
11900
  $inputBackground: m,
11897
11901
  $validationStatus: f == null ? void 0 : f.status,
11898
11902
  $inputVariant: o,
11899
- ...T
11903
+ ...V
11900
11904
  }
11901
11905
  ),
11902
11906
  f && /* @__PURE__ */ t.jsx(
@@ -11927,13 +11931,13 @@ const n0 = {
11927
11931
  "data-testid": l,
11928
11932
  className: e,
11929
11933
  ref: Z,
11930
- isOpen: W,
11934
+ isOpen: Q,
11931
11935
  direction: C,
11932
11936
  inputBackground: m,
11933
11937
  validationStatus: f == null ? void 0 : f.status,
11934
11938
  inputVariant: o,
11935
11939
  children: [
11936
- /* @__PURE__ */ t.jsx(W2, { readOnly: !0, ...i2, children: /* @__PURE__ */ t.jsxs(
11940
+ /* @__PURE__ */ t.jsx(W2, { readOnly: !0, ...d2, children: /* @__PURE__ */ t.jsxs(
11937
11941
  i7,
11938
11942
  {
11939
11943
  "data-testid": l && `${l}.ListInput.SearchContainer`,
@@ -11957,7 +11961,7 @@ const n0 = {
11957
11961
  "data-testid": l && `${l}.ListInput.SearchContainer.Input`,
11958
11962
  className: e && "InputSearch",
11959
11963
  placeholder: w,
11960
- value: X,
11964
+ value: c2,
11961
11965
  onChange: L,
11962
11966
  $inputBackground: m
11963
11967
  }
@@ -11965,24 +11969,24 @@ const n0 = {
11965
11969
  ]
11966
11970
  }
11967
11971
  ) }),
11968
- z2.length ? z2.map((l2) => /* @__PURE__ */ t.jsxs(
11972
+ o2.length ? o2.map((J) => /* @__PURE__ */ t.jsxs(
11969
11973
  W2,
11970
11974
  {
11971
- onClick: () => Y(l2),
11972
- isActive: P === l2,
11973
- ...i2,
11975
+ onClick: () => Y(J),
11976
+ isActive: P === J,
11977
+ ...d2,
11974
11978
  children: [
11975
- /* @__PURE__ */ t.jsx(D0, { src: l2.flag, width: 16 }),
11979
+ /* @__PURE__ */ t.jsx(D0, { src: J.flag, width: 16 }),
11976
11980
  /* @__PURE__ */ t.jsxs("span", { children: [
11977
11981
  "(",
11978
- l2.dial_code,
11982
+ J.dial_code,
11979
11983
  ") ",
11980
- l2.name
11984
+ J.name
11981
11985
  ] })
11982
11986
  ]
11983
11987
  },
11984
- l2.code
11985
- )) : /* @__PURE__ */ t.jsx(W2, { readOnly: !0, ...i2, children: _ })
11988
+ J.code
11989
+ )) : /* @__PURE__ */ t.jsx(W2, { readOnly: !0, ...d2, children: _ })
11986
11990
  ]
11987
11991
  }
11988
11992
  )
@@ -12048,9 +12052,9 @@ const _3 = 32, Jh = ({
12048
12052
  inputNoEdit: R,
12049
12053
  disabled: _,
12050
12054
  containerStyle: I,
12051
- ...G
12055
+ ...T
12052
12056
  }) => {
12053
- const T = !!(a || h || d || i || f), c2 = {
12057
+ const V = !!(a || h || d || i || f), l2 = {
12054
12058
  size: 32,
12055
12059
  showTooltip: y && {
12056
12060
  position: "top",
@@ -12059,23 +12063,23 @@ const _3 = 32, Jh = ({
12059
12063
  variant: u,
12060
12064
  color: (f == null ? void 0 : f.status) === !1 ? "danger" : "primary",
12061
12065
  iconBaseUrl: H
12062
- }, P = _ || !!(p && z <= p), W = _ || !!(g && z >= g), J = q(() => {
12063
- const X = z - v;
12064
- if (p && X < p) {
12066
+ }, P = _ || !!(p && z <= p), Q = _ || !!(g && z >= g), W = X(() => {
12067
+ const c2 = z - v;
12068
+ if (p && c2 < p) {
12065
12069
  n(p);
12066
12070
  return;
12067
12071
  }
12068
- n(X);
12069
- }, [p, n, v, z]), V = q(() => {
12070
- const X = z + v;
12071
- if (g && X > g) {
12072
+ n(c2);
12073
+ }, [p, n, v, z]), E = X(() => {
12074
+ const c2 = z + v;
12075
+ if (g && c2 > g) {
12072
12076
  n(g);
12073
12077
  return;
12074
12078
  }
12075
- n(X);
12076
- }, [g, n, v, z]), Z = q(
12077
- (X) => {
12078
- const h2 = Number(X.target.value);
12079
+ n(c2);
12080
+ }, [g, n, v, z]), Z = X(
12081
+ (c2) => {
12082
+ const h2 = Number(c2.target.value);
12079
12083
  if (p && h2 < p) {
12080
12084
  n(p);
12081
12085
  return;
@@ -12108,8 +12112,8 @@ const _3 = 32, Jh = ({
12108
12112
  children: /* @__PURE__ */ t.jsxs(
12109
12113
  r7,
12110
12114
  {
12111
- "data-testid": T && l ? `${l}.InputCounterWrapper` : l,
12112
- className: T && e ? "InputCounterWrapper" : e,
12115
+ "data-testid": V && l ? `${l}.InputCounterWrapper` : l,
12116
+ className: V && e ? "InputCounterWrapper" : e,
12113
12117
  $isInputEditable: !R,
12114
12118
  children: [
12115
12119
  /* @__PURE__ */ t.jsx(
@@ -12128,10 +12132,10 @@ const _3 = 32, Jh = ({
12128
12132
  iconSize: w.minus,
12129
12133
  "aria-label": $.minus,
12130
12134
  tooltip: $.minus,
12131
- onClick: J,
12135
+ onClick: W,
12132
12136
  disabled: P,
12133
12137
  "aria-disabled": P,
12134
- ...c2
12138
+ ...l2
12135
12139
  }
12136
12140
  ),
12137
12141
  R ? /* @__PURE__ */ t.jsx(
@@ -12141,7 +12145,7 @@ const _3 = 32, Jh = ({
12141
12145
  className: e && "NumberValue",
12142
12146
  ref: c,
12143
12147
  $disabled: _,
12144
- ...G,
12148
+ ...T,
12145
12149
  children: z
12146
12150
  }
12147
12151
  ) : /* @__PURE__ */ t.jsx(
@@ -12149,7 +12153,7 @@ const _3 = 32, Jh = ({
12149
12153
  {
12150
12154
  "data-testid": l,
12151
12155
  className: e,
12152
- hasContainer: T,
12156
+ hasContainer: V,
12153
12157
  isTextArea: !1,
12154
12158
  inputBackground: m,
12155
12159
  inputVariant: o,
@@ -12159,7 +12163,7 @@ const _3 = 32, Jh = ({
12159
12163
  m7,
12160
12164
  {
12161
12165
  "data-testid": l && `${l}.Input`,
12162
- className: E(
12166
+ className: D(
12163
12167
  { Input: e },
12164
12168
  { WithListOpen: !1 }
12165
12169
  ),
@@ -12178,7 +12182,7 @@ const _3 = 32, Jh = ({
12178
12182
  $disabled: _,
12179
12183
  $validationStatus: f == null ? void 0 : f.status,
12180
12184
  $length: z.toString().length,
12181
- ...G
12185
+ ...T
12182
12186
  }
12183
12187
  )
12184
12188
  }
@@ -12199,10 +12203,10 @@ const _3 = 32, Jh = ({
12199
12203
  iconSize: w.plus,
12200
12204
  "aria-label": $.plus,
12201
12205
  tooltip: $.plus,
12202
- onClick: V,
12203
- disabled: W,
12204
- "aria-disabled": W,
12205
- ...c2
12206
+ onClick: E,
12207
+ disabled: Q,
12208
+ "aria-disabled": Q,
12209
+ ...l2
12206
12210
  }
12207
12211
  )
12208
12212
  ]
@@ -12515,9 +12519,9 @@ const I0 = ({
12515
12519
  color: "gray"
12516
12520
  }, [y, R] = O(
12517
12521
  p === "always"
12518
- ), _ = q(() => {
12522
+ ), _ = X(() => {
12519
12523
  p === "hover" && R(!0);
12520
- }, [p]), I = q(() => {
12524
+ }, [p]), I = X(() => {
12521
12525
  p === "hover" && R(!1);
12522
12526
  }, [p]);
12523
12527
  return /* @__PURE__ */ t.jsx(
@@ -12538,7 +12542,7 @@ const I0 = ({
12538
12542
  style: v,
12539
12543
  hasListOpen: void 0,
12540
12544
  children: n || p !== "never" ? /* @__PURE__ */ t.jsxs(
12541
- o2,
12545
+ z2,
12542
12546
  {
12543
12547
  "data-testid": w ? `${l}.SliderWrapper` : l,
12544
12548
  className: w ? "SliderWrapper" : e,
@@ -12567,7 +12571,7 @@ const I0 = ({
12567
12571
  p7,
12568
12572
  {
12569
12573
  "data-testid": l && `${l}.SliderWrapper.SliderContainer.Tooltip`,
12570
- className: E(
12574
+ className: D(
12571
12575
  { SliderTooltip: e },
12572
12576
  { Visible: y }
12573
12577
  ),
@@ -12625,7 +12629,7 @@ const I3 = ({
12625
12629
  {
12626
12630
  "data-testid": (g || p || f != null && f.left) && l ? `${l}.SelectContainer.SelectButton` : l,
12627
12631
  ref: c,
12628
- className: E(
12632
+ className: D(
12629
12633
  (g || p || f != null && f.left) && e ? "SelectButton" : e,
12630
12634
  { WithListOpen: h }
12631
12635
  ),
@@ -12667,22 +12671,22 @@ const I3 = ({
12667
12671
  containerStyle: R,
12668
12672
  ..._
12669
12673
  }) => {
12670
- const I = !!(d || i || r || f || m), G = !!(v && v.length > 1), T = !!(G || m || w != null && w.left), c2 = {
12674
+ const I = !!(d || i || r || f || m), T = !!(v && v.length > 1), V = !!(T || m || w != null && w.left), l2 = {
12671
12675
  left: 16,
12672
12676
  caret: 16
12673
- }, { isOpen: P, setIsOpen: W, cursor: J, listRef: V } = F0({
12677
+ }, { isOpen: P, setIsOpen: Q, cursor: W, listRef: E } = F0({
12674
12678
  data: v || [],
12675
12679
  value: p,
12676
12680
  setValue: g
12677
12681
  });
12678
- V2(V, () => W(!1));
12682
+ V2(E, () => Q(!1));
12679
12683
  const Z = (h2) => {
12680
- h2.stopPropagation(), !P && v && v.length > 1 && W(!0);
12684
+ h2.stopPropagation(), !P && v && v.length > 1 && Q(!0);
12681
12685
  };
12682
12686
  m2(() => {
12683
- W(!1);
12687
+ Q(!1);
12684
12688
  }, [p]);
12685
- const X = {
12689
+ const c2 = {
12686
12690
  "data-testid": l,
12687
12691
  className: a,
12688
12692
  value: p,
@@ -12696,9 +12700,9 @@ const I3 = ({
12696
12700
  options: v,
12697
12701
  isOpen: P,
12698
12702
  hasContainer: I,
12699
- hasWrapper: T
12703
+ hasWrapper: V
12700
12704
  };
12701
- return !I && !T && !G ? /* @__PURE__ */ t.jsx(I3, { ...X }) : /* @__PURE__ */ t.jsx(
12705
+ return !I && !V && !T ? /* @__PURE__ */ t.jsx(I3, { ...c2 }) : /* @__PURE__ */ t.jsx(
12702
12706
  b2,
12703
12707
  {
12704
12708
  "data-testid": l,
@@ -12723,8 +12727,8 @@ const I3 = ({
12723
12727
  ref: e,
12724
12728
  as: c,
12725
12729
  onClick: Z,
12726
- onFocus: () => W(!0),
12727
- onBlur: () => W(!1),
12730
+ onFocus: () => Q(!0),
12731
+ onBlur: () => Q(!1),
12728
12732
  ..._,
12729
12733
  children: [
12730
12734
  /* @__PURE__ */ t.jsxs(
@@ -12761,7 +12765,7 @@ const I3 = ({
12761
12765
  "data-testid": l,
12762
12766
  className: a,
12763
12767
  icon: w == null ? void 0 : w.left,
12764
- iconSize: (C == null ? void 0 : C.left) || c2.left,
12768
+ iconSize: (C == null ? void 0 : C.left) || l2.left,
12765
12769
  validationStatus: m == null ? void 0 : m.status,
12766
12770
  disabled: n,
12767
12771
  inputBackground: z,
@@ -12772,8 +12776,8 @@ const I3 = ({
12772
12776
  ]
12773
12777
  }
12774
12778
  ),
12775
- /* @__PURE__ */ t.jsx(I3, { ...X }),
12776
- (G || m) && /* @__PURE__ */ t.jsxs(
12779
+ /* @__PURE__ */ t.jsx(I3, { ...c2 }),
12780
+ (T || m) && /* @__PURE__ */ t.jsxs(
12777
12781
  u2,
12778
12782
  {
12779
12783
  "data-testid": l,
@@ -12791,7 +12795,7 @@ const I3 = ({
12791
12795
  inputBackground: z
12792
12796
  }
12793
12797
  ),
12794
- G && /* @__PURE__ */ t.jsx(
12798
+ T && /* @__PURE__ */ t.jsx(
12795
12799
  R2,
12796
12800
  {
12797
12801
  "data-testid": l,
@@ -12802,10 +12806,10 @@ const I3 = ({
12802
12806
  {
12803
12807
  "data-testid": l && `${l}.Button.Caret`,
12804
12808
  className: a && "Caret",
12805
- size: (C == null ? void 0 : C.caret) || c2.caret
12809
+ size: (C == null ? void 0 : C.caret) || l2.caret
12806
12810
  }
12807
12811
  ),
12808
- iconSize: (C == null ? void 0 : C.caret) || c2.caret,
12812
+ iconSize: (C == null ? void 0 : C.caret) || l2.caret,
12809
12813
  disabled: n,
12810
12814
  "aria-label": "Caret down",
12811
12815
  validationStatus: m == null ? void 0 : m.status,
@@ -12823,13 +12827,13 @@ const I3 = ({
12823
12827
  {
12824
12828
  "data-testid": l,
12825
12829
  className: a,
12826
- ref: V,
12830
+ ref: E,
12827
12831
  direction: u,
12828
12832
  inputBackground: z,
12829
12833
  inputVariant: o,
12830
12834
  validationStatus: m == null ? void 0 : m.status,
12831
12835
  isOpen: P,
12832
- children: v.map((h2, z2) => /* @__PURE__ */ t.jsx(
12836
+ children: v.map((h2, o2) => /* @__PURE__ */ t.jsx(
12833
12837
  W2,
12834
12838
  {
12835
12839
  "data-testid": l,
@@ -12838,10 +12842,10 @@ const I3 = ({
12838
12842
  validationStatus: m == null ? void 0 : m.status,
12839
12843
  onClick: () => g(h2),
12840
12844
  isActive: p === h2,
12841
- isHovered: J === z2 && p !== h2,
12845
+ isHovered: W === o2 && p !== h2,
12842
12846
  children: h2
12843
12847
  },
12844
- `${h2}-${z2}`
12848
+ `${h2}-${o2}`
12845
12849
  ))
12846
12850
  }
12847
12851
  )
@@ -12880,42 +12884,42 @@ const wt = ({
12880
12884
  disabled: R,
12881
12885
  containerStyle: _,
12882
12886
  inputAndListContainerStyle: I,
12883
- ...G
12887
+ ...T
12884
12888
  }) => {
12885
- const T = !!(h || d || i || r || f), c2 = { left: 16, clear: 16 }, P = W0(), W = d2(null), J = $ || [""];
12889
+ const V = !!(h || d || i || r || f), l2 = { left: 16, clear: 16 }, P = W0(), Q = i2(null), W = $ || [""];
12886
12890
  t0(
12887
- J,
12888
- q(() => {
12891
+ W,
12892
+ X(() => {
12889
12893
  var f2;
12890
- return (f2 = W == null ? void 0 : W.current) == null ? void 0 : f2.focus();
12894
+ return (f2 = Q == null ? void 0 : Q.current) == null ? void 0 : f2.focus();
12891
12895
  }, [])
12892
12896
  );
12893
- const V = k0(() => {
12897
+ const E = k0(() => {
12894
12898
  var D2, Q2;
12895
12899
  return (Q2 = (D2 = new I6(p, u).search(z)) == null ? void 0 : D2.slice(0, 20)) == null ? void 0 : Q2.map((p2) => p2.item);
12896
- }, [u, p, z]), { isOpen: Z, setIsOpen: X, cursor: h2, listRef: z2 } = F0({
12897
- data: V,
12900
+ }, [u, p, z]), { isOpen: Z, setIsOpen: c2, cursor: h2, listRef: o2 } = F0({
12901
+ data: E,
12898
12902
  value: z,
12899
12903
  setValue: n
12900
- }), L = q(
12904
+ }), L = X(
12901
12905
  (f2) => {
12902
12906
  n(f2.target.value);
12903
12907
  },
12904
12908
  [n]
12905
- ), Y = q(() => {
12909
+ ), Y = X(() => {
12906
12910
  n("");
12907
- }, [n]), e2 = q(
12911
+ }, [n]), e2 = X(
12908
12912
  (f2) => {
12909
12913
  n(f2);
12910
12914
  },
12911
12915
  [n]
12912
- ), i2 = q(() => {
12913
- X(!0);
12914
- }, [X]), l2 = q(
12916
+ ), d2 = X(() => {
12917
+ c2(!0);
12918
+ }, [c2]), J = X(
12915
12919
  () => setTimeout(() => {
12916
- X(!1);
12920
+ c2(!1);
12917
12921
  }, 100),
12918
- [X]
12922
+ [c2]
12919
12923
  );
12920
12924
  return /* @__PURE__ */ t.jsx(
12921
12925
  b2,
@@ -12941,14 +12945,14 @@ const wt = ({
12941
12945
  className: a,
12942
12946
  hasListOpen: Z,
12943
12947
  inputAndListContainerStyle: I,
12944
- isParent: !T,
12948
+ isParent: !V,
12945
12949
  children: [
12946
12950
  /* @__PURE__ */ t.jsxs(
12947
12951
  q2,
12948
12952
  {
12949
12953
  "data-testid": l,
12950
12954
  className: a,
12951
- hasContainer: T,
12955
+ hasContainer: V,
12952
12956
  hasListOpen: Z,
12953
12957
  isTextArea: !1,
12954
12958
  inputVariant: o,
@@ -12967,7 +12971,7 @@ const wt = ({
12967
12971
  "data-testid": l,
12968
12972
  className: a,
12969
12973
  icon: w.left,
12970
- iconSize: (C == null ? void 0 : C.left) || c2.left,
12974
+ iconSize: (C == null ? void 0 : C.left) || l2.left,
12971
12975
  validationStatus: f == null ? void 0 : f.status,
12972
12976
  disabled: R,
12973
12977
  inputBackground: m,
@@ -12981,23 +12985,23 @@ const wt = ({
12981
12985
  M7,
12982
12986
  {
12983
12987
  "data-testid": l && `${l}.Input`,
12984
- className: E(
12988
+ className: D(
12985
12989
  { Input: a },
12986
12990
  { WithListOpen: Z }
12987
12991
  ),
12988
- ref: g2([c, W]),
12992
+ ref: g2([c, Q]),
12989
12993
  id: e,
12990
12994
  value: z,
12991
12995
  disabled: R,
12992
12996
  onChange: L,
12993
12997
  type: "search",
12994
- onFocus: i2,
12995
- onBlur: l2,
12998
+ onFocus: d2,
12999
+ onBlur: J,
12996
13000
  $disabled: R,
12997
13001
  $validationStatus: f == null ? void 0 : f.status,
12998
13002
  $inputBackground: m,
12999
13003
  $inputVariant: o,
13000
- ...G
13004
+ ...T
13001
13005
  }
13002
13006
  ),
13003
13007
  (z.length || f || y) && /* @__PURE__ */ t.jsxs(
@@ -13020,10 +13024,10 @@ const wt = ({
13020
13024
  {
13021
13025
  "data-testid": l && `${l}.Button.Icon`,
13022
13026
  className: a && "ClearIcon",
13023
- size: (C == null ? void 0 : C.clear) || c2.clear
13027
+ size: (C == null ? void 0 : C.clear) || l2.clear
13024
13028
  }
13025
13029
  ),
13026
- iconSize: (C == null ? void 0 : C.clear) || c2.clear,
13030
+ iconSize: (C == null ? void 0 : C.clear) || l2.clear,
13027
13031
  inputBackground: m,
13028
13032
  disabled: R,
13029
13033
  "aria-label": "Clear",
@@ -13035,7 +13039,7 @@ const wt = ({
13035
13039
  {
13036
13040
  "data-testid": l && `${l}.Keys`,
13037
13041
  className: a && "Keys",
13038
- keys: e1(J)
13042
+ keys: e1(W)
13039
13043
  }
13040
13044
  ),
13041
13045
  f && /* @__PURE__ */ t.jsx(
@@ -13063,8 +13067,8 @@ const wt = ({
13063
13067
  inputVariant: o,
13064
13068
  validationStatus: f == null ? void 0 : f.status,
13065
13069
  isOpen: !!(z && Z),
13066
- ref: z2,
13067
- children: V != null && V.length ? /* @__PURE__ */ t.jsx(t.Fragment, { children: V.map((f2, D2) => /* @__PURE__ */ t.jsx(
13070
+ ref: o2,
13071
+ children: E != null && E.length ? /* @__PURE__ */ t.jsx(t.Fragment, { children: E.map((f2, D2) => /* @__PURE__ */ t.jsx(
13068
13072
  W2,
13069
13073
  {
13070
13074
  "data-testid": l,
@@ -13169,7 +13173,7 @@ const ad = ({
13169
13173
  size: (i == null ? void 0 : i.checked) || C.checked
13170
13174
  }
13171
13175
  )
13172
- }, $ = q(
13176
+ }, $ = X(
13173
13177
  (y) => {
13174
13178
  h(y + 1);
13175
13179
  },
@@ -13193,7 +13197,7 @@ const ad = ({
13193
13197
  style: v,
13194
13198
  hasListOpen: void 0,
13195
13199
  children: /* @__PURE__ */ t.jsx(
13196
- o2,
13200
+ z2,
13197
13201
  {
13198
13202
  "data-testid": w ? `${l}.RatingContainer` : l,
13199
13203
  className: w ? "RatingContainer" : e,
@@ -13317,7 +13321,7 @@ const td = ({
13317
13321
  hasListOpen: void 0,
13318
13322
  iconBaseUrl: void 0,
13319
13323
  children: /* @__PURE__ */ t.jsx(
13320
- o2,
13324
+ z2,
13321
13325
  {
13322
13326
  "data-testid": $ ? `${l}.FlexContainer` : l,
13323
13327
  ref: c,
@@ -13332,7 +13336,7 @@ const td = ({
13332
13336
  className: e && "InputPin",
13333
13337
  ref: _,
13334
13338
  id: Object.keys(a)[I],
13335
- onChange: (G) => R(G, I),
13339
+ onChange: (T) => R(T, I),
13336
13340
  value: Object.values(a)[I],
13337
13341
  placeholder: d && d[I],
13338
13342
  type: r ? "password" : "text",
@@ -13352,7 +13356,7 @@ const td = ({
13352
13356
  }
13353
13357
  );
13354
13358
  }, b7 = k.form`
13355
- max-width: ${({ $maxWidth: l }) => D(l)};
13359
+ max-width: ${({ $maxWidth: l }) => G(l)};
13356
13360
  width: 100%;
13357
13361
  ${({ $gap: l }) => s.Flexbox({
13358
13362
  $flexDirection: "column",
@@ -13400,7 +13404,7 @@ const hd = ({
13400
13404
  children: [
13401
13405
  a,
13402
13406
  (h || d) && /* @__PURE__ */ t.jsxs(
13403
- o2,
13407
+ z2,
13404
13408
  {
13405
13409
  gap: "xxs",
13406
13410
  "data-testid": l && `${l}.ButtonsContainer`,
@@ -13450,7 +13454,7 @@ const hd = ({
13450
13454
  }, w7 = k.div`
13451
13455
  border: 1px solid ${({ theme: l }) => l.GRAY_200};
13452
13456
  border-radius: ${N.M};
13453
- max-height: ${({ $maxHeight: l }) => l && D(l)};
13457
+ max-height: ${({ $maxHeight: l }) => l && G(l)};
13454
13458
  overflow: hidden;
13455
13459
  overflow-y: scroll;
13456
13460
  position: relative;
@@ -13595,7 +13599,7 @@ const xt = ({
13595
13599
  "data-testid": l,
13596
13600
  ref: c,
13597
13601
  as: e,
13598
- className: E(h, { Scrolled: n }),
13602
+ className: D(h, { Scrolled: n }),
13599
13603
  $backgroundColor: d,
13600
13604
  $contentColor: i,
13601
13605
  $noSeparator: r,
@@ -13730,7 +13734,7 @@ const xt = ({
13730
13734
  noSeparator: m,
13731
13735
  ...o
13732
13736
  }) => {
13733
- const z = d2(null);
13737
+ const z = i2(null);
13734
13738
  return /* @__PURE__ */ t.jsxs(
13735
13739
  w7,
13736
13740
  {
@@ -13760,7 +13764,7 @@ const xt = ({
13760
13764
  ut,
13761
13765
  {
13762
13766
  "data-testid": n["data-testid"] || l,
13763
- className: E(n.className, {
13767
+ className: D(n.className, {
13764
13768
  ListGroupItem: !!a
13765
13769
  }),
13766
13770
  id: n.id,
@@ -14046,14 +14050,14 @@ const yt = ({
14046
14050
  "data-testid": l && `${l}.AccordionButton.IconContainer.Icon.${a === "plus" ? "Plus" : "Chevron"}`,
14047
14051
  className: c && "AccordionButtonIcon",
14048
14052
  size: 20
14049
- }, f = q(() => {
14053
+ }, f = X(() => {
14050
14054
  d(!h);
14051
14055
  }, [h, d]);
14052
14056
  return /* @__PURE__ */ t.jsxs(
14053
14057
  i3,
14054
14058
  {
14055
14059
  "data-testid": l && `${l}.AccordionButton`,
14056
- className: E(
14060
+ className: D(
14057
14061
  { AccordionButton: c },
14058
14062
  A2(e)
14059
14063
  ),
@@ -14064,7 +14068,7 @@ const yt = ({
14064
14068
  I7,
14065
14069
  {
14066
14070
  "data-testid": l && `${l}.AccordionButton.IconContainer`,
14067
- className: E(
14071
+ className: D(
14068
14072
  { AccordionButtonIconContainer: c },
14069
14073
  { Open: h },
14070
14074
  { [A2(a)]: typeof a == "string" }
@@ -14091,7 +14095,7 @@ const yt = ({
14091
14095
  S7,
14092
14096
  {
14093
14097
  "data-testid": l && `${l}.AccordionContent`,
14094
- className: E(
14098
+ className: D(
14095
14099
  { AccordionContent: c },
14096
14100
  { Open: a },
14097
14101
  A2(h)
@@ -14117,7 +14121,7 @@ const yt = ({
14117
14121
  "data-testid": l,
14118
14122
  as: e,
14119
14123
  ref: a,
14120
- className: E(c, A2(f)),
14124
+ className: D(c, A2(f)),
14121
14125
  $variant: f,
14122
14126
  ...m,
14123
14127
  children: [
@@ -14164,7 +14168,7 @@ const yt = ({
14164
14168
  "data-testid": l,
14165
14169
  ref: e,
14166
14170
  as: c,
14167
- className: E(a, m),
14171
+ className: D(a, m),
14168
14172
  ...f,
14169
14173
  children: r ? r.map((o) => /* @__PURE__ */ t.jsx(
14170
14174
  At,
@@ -14203,11 +14207,11 @@ const yt = ({
14203
14207
  switch (l) {
14204
14208
  case "up":
14205
14209
  return x`
14206
- bottom: ${D(c)};
14210
+ bottom: ${G(c)};
14207
14211
  `;
14208
14212
  case "down":
14209
14213
  return x`
14210
- top: ${D(c)};
14214
+ top: ${G(c)};
14211
14215
  `;
14212
14216
  default:
14213
14217
  return x``;
@@ -14216,9 +14220,9 @@ const yt = ({
14216
14220
 
14217
14221
  &.Open {
14218
14222
  box-shadow: ${({ $shadow: l }) => s.Shadow(l)};
14219
- max-height: ${({ $maxHeight: l }) => D(l)};
14223
+ max-height: ${({ $maxHeight: l }) => G(l)};
14220
14224
  }
14221
- `, N7 = k(o2)`
14225
+ `, N7 = k(z2)`
14222
14226
  position: relative;
14223
14227
  z-index: 0;
14224
14228
 
@@ -14364,17 +14368,17 @@ const G7 = ({
14364
14368
  shadow: n = "m",
14365
14369
  ...p
14366
14370
  }) => {
14367
- const g = d2(null);
14371
+ const g = i2(null);
14368
14372
  return V2(
14369
14373
  g,
14370
- q(() => i(!1), [i])
14374
+ X(() => i(!1), [i])
14371
14375
  ), /* @__PURE__ */ t.jsx(
14372
14376
  f3,
14373
14377
  {
14374
14378
  "data-testid": l,
14375
14379
  ref: g2([e, g]),
14376
14380
  as: c,
14377
- className: E(a, { Open: d }),
14381
+ className: D(a, { Open: d }),
14378
14382
  $direction: f,
14379
14383
  $maxHeight: o,
14380
14384
  $buttonOpenHeight: z,
@@ -14404,7 +14408,7 @@ const G7 = ({
14404
14408
  N7,
14405
14409
  {
14406
14410
  ref: l,
14407
- className: E(e, { Open: c }),
14411
+ className: D(e, { Open: c }),
14408
14412
  ...a
14409
14413
  }
14410
14414
  ), T7 = k.div`
@@ -14453,44 +14457,46 @@ const _t = {
14453
14457
  ref: e,
14454
14458
  className: a,
14455
14459
  id: h,
14456
- children: d,
14457
- maxWidth: i,
14458
- textColor: r = "font",
14459
- padding: f = "s",
14460
- borderRadius: m = "m",
14461
- gap: o = "xs",
14462
- alertColor: z = "primary",
14463
- backgroundColor: n,
14464
- border: p,
14465
- ...g
14460
+ role: d = "alert",
14461
+ children: i,
14462
+ maxWidth: r,
14463
+ textColor: f = "font",
14464
+ padding: m = "s",
14465
+ borderRadius: o = "m",
14466
+ gap: z = "xs",
14467
+ alertColor: n = "primary",
14468
+ backgroundColor: p,
14469
+ border: g,
14470
+ ...v
14466
14471
  }) => {
14467
- const v = _t[z], u = s0(10, !0), w = (a == null ? void 0 : a.split(" ")[0]) || u;
14472
+ const u = _t[n], w = s0(10, !0), C = (a == null ? void 0 : a.split(" ")[0]) || w;
14468
14473
  return K2(`
14469
- ${h ? `#${h}` : `.${w}`} {
14470
- --alert-max-width: ${D(i || "100%")};
14474
+ ${h ? `#${h}` : `.${C}`} {
14475
+ --alert-max-width: ${G(r || "100%")};
14471
14476
  }
14472
14477
  `), /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsx(
14473
14478
  T7,
14474
14479
  {
14475
14480
  "data-testid": l,
14476
14481
  ref: e,
14477
- as: c || typeof d == "string" ? F : "div",
14478
- className: E(a, u),
14482
+ as: c || typeof i == "string" ? F : "div",
14483
+ className: D(a, w),
14479
14484
  id: h,
14480
- $backgroundColor: n || v.backgroundColor || "primary-50",
14485
+ role: d,
14486
+ $backgroundColor: p || u.backgroundColor || "primary-50",
14481
14487
  $border: {
14482
- color: v.borderColor || "primary",
14483
- ...p
14488
+ color: u.borderColor || "primary",
14489
+ ...g
14484
14490
  },
14485
- $borderRadius: m,
14486
- $gap: o,
14487
- $padding: f,
14488
- $textColor: r,
14489
- ...g,
14490
- children: d
14491
+ $borderRadius: o,
14492
+ $gap: z,
14493
+ $padding: m,
14494
+ $textColor: f,
14495
+ ...v,
14496
+ children: i
14491
14497
  }
14492
14498
  ) });
14493
- }, O7 = k(o2)`
14499
+ }, O7 = k(z2)`
14494
14500
  position: fixed;
14495
14501
  top: 0;
14496
14502
  left: 0;
@@ -14547,21 +14553,21 @@ const S3 = 48, jt = "Close modal", md = ({
14547
14553
  contentId: z,
14548
14554
  ...n
14549
14555
  }) => {
14550
- const p = q(() => {
14556
+ const p = X(() => {
14551
14557
  i(!1), b0();
14552
14558
  }, [i]);
14553
14559
  t0(
14554
14560
  ["Escape"],
14555
- q(() => {
14561
+ X(() => {
14556
14562
  d && !r && p();
14557
14563
  }, [r, p, d])
14558
14564
  );
14559
- const g = d2(null);
14565
+ const g = i2(null);
14560
14566
  V2(g, () => p());
14561
14567
  const v = s0(10, !0), u = (h == null ? void 0 : h.split(" ")[0]) || v;
14562
14568
  return K2(`
14563
14569
  ${z ? `#${z}` : `.${u}`} {
14564
- --modal-content-width: ${D(o || "90%")};
14570
+ --modal-content-width: ${G(o || "90%")};
14565
14571
  }
14566
14572
  `), /* @__PURE__ */ t.jsxs(
14567
14573
  O7,
@@ -14569,7 +14575,7 @@ const S3 = 48, jt = "Close modal", md = ({
14569
14575
  "data-testid": l,
14570
14576
  ref: e,
14571
14577
  as: c,
14572
- className: E(h, v, {
14578
+ className: D(h, v, {
14573
14579
  Open: d
14574
14580
  }),
14575
14581
  ...n,
@@ -14679,7 +14685,7 @@ const P2 = ({
14679
14685
  "data-testid": l,
14680
14686
  as: c,
14681
14687
  ref: e,
14682
- className: E(a, { Active: h }),
14688
+ className: D(a, { Active: h }),
14683
14689
  type: "button",
14684
14690
  $accentColor: i,
14685
14691
  $readOnly: r,
@@ -14707,18 +14713,18 @@ const P2 = ({
14707
14713
  currentPage: w,
14708
14714
  setCurrentPage: C,
14709
14715
  queries: i
14710
- }), _ = q(() => {
14711
- const T = Math.floor((u - 1) / f) * f;
14712
- return new Array(f).fill(r).map((c2, P) => T + P + 1).filter((c2) => c2 <= (r || 0));
14713
- }, [u, f, r])(), I = Z0(600), G = p || I ? "xxs" : "xs";
14716
+ }), _ = X(() => {
14717
+ const V = Math.floor((u - 1) / f) * f;
14718
+ return new Array(f).fill(r).map((l2, P) => V + P + 1).filter((l2) => l2 <= (r || 0));
14719
+ }, [u, f, r])(), I = Z0(600), T = p || I ? "xxs" : "xs";
14714
14720
  return r && r <= 1 ? null : /* @__PURE__ */ t.jsx(
14715
- o2,
14721
+ z2,
14716
14722
  {
14717
14723
  "data-testid": l,
14718
14724
  ref: e,
14719
14725
  as: c,
14720
14726
  justifyContent: n,
14721
- gap: G,
14727
+ gap: T,
14722
14728
  className: h,
14723
14729
  ...g,
14724
14730
  children: r ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
@@ -14757,7 +14763,7 @@ const P2 = ({
14757
14763
  P2,
14758
14764
  {
14759
14765
  "data-testid": l && `${l}.PaginationButton.Number${w === 1 ? ".Active" : ""}`,
14760
- className: h && E("Number", {
14766
+ className: h && D("Number", {
14761
14767
  Active: w === 1
14762
14768
  }),
14763
14769
  isActive: w === 1,
@@ -14777,17 +14783,17 @@ const P2 = ({
14777
14783
  }
14778
14784
  )
14779
14785
  ] }),
14780
- _.map((T) => /* @__PURE__ */ t.jsx(
14786
+ _.map((V) => /* @__PURE__ */ t.jsx(
14781
14787
  P2,
14782
14788
  {
14783
- "data-testid": l && `${l}.PaginationButton.Number${w === T ? ".Active" : ""}`,
14784
- className: h && E("Number", { Active: w === T }),
14785
- isActive: T === w,
14786
- onClick: () => y(T),
14789
+ "data-testid": l && `${l}.PaginationButton.Number${w === V ? ".Active" : ""}`,
14790
+ className: h && D("Number", { Active: w === V }),
14791
+ isActive: V === w,
14792
+ onClick: () => y(V),
14787
14793
  accentColor: d,
14788
- children: T
14794
+ children: V
14789
14795
  },
14790
- T
14796
+ V
14791
14797
  )),
14792
14798
  _[_.length - 1] !== r && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
14793
14799
  /* @__PURE__ */ t.jsx(
@@ -14894,12 +14900,12 @@ const V3 = 32, od = ({
14894
14900
  setCurrentPage: H,
14895
14901
  queries: z,
14896
14902
  totalPages: h
14897
- }), _ = q(
14903
+ }), _ = X(
14898
14904
  (I) => R(Number(I.target.value)),
14899
14905
  [R]
14900
14906
  );
14901
14907
  return h && h <= 1 ? null : /* @__PURE__ */ t.jsxs(
14902
- o2,
14908
+ z2,
14903
14909
  {
14904
14910
  "data-testid": l,
14905
14911
  ref: e,
@@ -15110,7 +15116,7 @@ const It = ({
15110
15116
  r3,
15111
15117
  {
15112
15118
  "data-testid": l,
15113
- className: E(h, { StepLink: H }),
15119
+ className: D(h, { StepLink: H }),
15114
15120
  ref: e,
15115
15121
  as: C,
15116
15122
  to: p,
@@ -15126,7 +15132,7 @@ const It = ({
15126
15132
  W7,
15127
15133
  {
15128
15134
  "data-testid": l && `${l}.NumberContainer`,
15129
- className: E(
15135
+ className: D(
15130
15136
  { NumberContainer: h },
15131
15137
  { Active: r }
15132
15138
  ),
@@ -15287,7 +15293,7 @@ const pd = ({
15287
15293
  "data-testid": l,
15288
15294
  ref: e,
15289
15295
  as: c,
15290
- className: E(
15296
+ className: D(
15291
15297
  a,
15292
15298
  { Animated: !i },
15293
15299
  z,
@@ -15345,7 +15351,7 @@ const D3 = ({
15345
15351
  return /* @__PURE__ */ t.jsx(
15346
15352
  Q7,
15347
15353
  {
15348
- className: E(l, { Animated: !a }),
15354
+ className: D(l, { Animated: !a }),
15349
15355
  r: 70,
15350
15356
  cx: 100,
15351
15357
  cy: 100,
@@ -15683,7 +15689,7 @@ const Dt = ({
15683
15689
  "data-testid": l,
15684
15690
  ref: e,
15685
15691
  as: c,
15686
- className: E(a, { Active: r }),
15692
+ className: D(a, { Active: r }),
15687
15693
  onClick: f,
15688
15694
  $justify: d,
15689
15695
  $variant: i,
@@ -15704,7 +15710,7 @@ const Dt = ({
15704
15710
  "data-testid": l,
15705
15711
  ref: e,
15706
15712
  as: c,
15707
- className: E(h, { Active: d }),
15713
+ className: D(h, { Active: d }),
15708
15714
  ...i,
15709
15715
  children: a
15710
15716
  }
@@ -15789,16 +15795,16 @@ const Dt = ({
15789
15795
  $justifyItems: "center"
15790
15796
  })};
15791
15797
  position: relative;
15792
- `, i5 = k(o2).attrs({ flexDirection: "column" })`
15798
+ `, i5 = k(z2).attrs({ flexDirection: "column" })`
15793
15799
  width: 100%;
15794
- height: ${({ $height: l }) => D(l)};
15800
+ height: ${({ $height: l }) => G(l)};
15795
15801
  position: relative;
15796
15802
  overflow: hidden;
15797
- `, f5 = k(o2)`
15803
+ `, f5 = k(z2)`
15798
15804
  overflow: hidden;
15799
15805
  width: 100%;
15800
15806
  height: 100%;
15801
- `, r5 = k(o2)`
15807
+ `, r5 = k(z2)`
15802
15808
  transition: all ${({ $speed: l }) => l}ms ease;
15803
15809
  width: 100%;
15804
15810
  transform: ${({ $active: l }) => `translateX(-${l * 100}%)`};
@@ -15855,7 +15861,7 @@ const Dt = ({
15855
15861
  display: none;
15856
15862
  }
15857
15863
  `}
15858
- `, s5 = k(o2).attrs({
15864
+ `, s5 = k(z2).attrs({
15859
15865
  justifyContent: "center",
15860
15866
  alignItems: "center",
15861
15867
  gap: "xs"
@@ -16130,7 +16136,7 @@ const O3 = 24, B3 = 32, Y3 = ({
16130
16136
  z5,
16131
16137
  {
16132
16138
  "data-testid": l && `${l}.SlideshowPagination.Thumbnail`,
16133
- className: E(
16139
+ className: D(
16134
16140
  {
16135
16141
  SlideshowThumbnail: c
16136
16142
  },
@@ -16155,7 +16161,7 @@ const O3 = 24, B3 = 32, Y3 = ({
16155
16161
  o5,
16156
16162
  {
16157
16163
  "data-testid": l && `${l}.SlideshowPagination.PaginationItem`,
16158
- className: E(
16164
+ className: D(
16159
16165
  { SlideshowPaginationItem: c },
16160
16166
  { Active: i === n }
16161
16167
  ),
@@ -16182,17 +16188,17 @@ const O3 = 24, B3 = 32, Y3 = ({
16182
16188
  ...z
16183
16189
  }) => {
16184
16190
  var I;
16185
- const [n, p] = O(0), g = (h == null ? void 0 : h.length) || (d == null ? void 0 : d.length) || 0, v = () => p(n < g - 1 ? n + 1 : 0), u = () => p(n > 0 ? n - 1 : g - 1), w = q(() => {
16191
+ const [n, p] = O(0), g = (h == null ? void 0 : h.length) || (d == null ? void 0 : d.length) || 0, v = () => p(n < g - 1 ? n + 1 : 0), u = () => p(n > 0 ? n - 1 : g - 1), w = X(() => {
16186
16192
  p(n < g - 1 ? n + 1 : 0);
16187
16193
  }, [n, g]);
16188
16194
  m2(() => {
16189
16195
  !f && !m && !(o != null && o.autoPlay) ? setInterval(() => w(), 1500) : o != null && o.autoPlay && setInterval(() => w(), o.autoPlay);
16190
16196
  }, [o == null ? void 0 : o.autoPlay, w, f, m]);
16191
- const [C, H] = O(null), $ = (G) => H(G.touches[0].clientX), y = (G) => {
16197
+ const [C, H] = O(null), $ = (T) => H(T.touches[0].clientX), y = (T) => {
16192
16198
  if (C === null)
16193
16199
  return;
16194
- const T = C - G.touches[0].clientX;
16195
- T > 5 && v(), T < -5 && u(), H(null);
16200
+ const V = C - T.touches[0].clientX;
16201
+ V > 5 && v(), V < -5 && u(), H(null);
16196
16202
  }, R = !!(h && h.length > 1 || d && d.length > 1 && f), _ = !!(h && h.length > 1 || d && d.length > 1 && m);
16197
16203
  return /* @__PURE__ */ t.jsxs(
16198
16204
  d5,
@@ -16235,11 +16241,11 @@ const O3 = 24, B3 = 32, Y3 = ({
16235
16241
  $active: n,
16236
16242
  $speed: (o == null ? void 0 : o.speed) || 1e3,
16237
16243
  $imgFit: r,
16238
- children: d ? d.map((G, T) => /* @__PURE__ */ t.jsx(
16244
+ children: d ? d.map((T, V) => /* @__PURE__ */ t.jsx(
16239
16245
  X2,
16240
16246
  {
16241
- src: G,
16242
- alt: `Image slideshow ${T}`,
16247
+ src: T,
16248
+ alt: `Image slideshow ${V}`,
16243
16249
  fit: r,
16244
16250
  "data-testid": l && `${l}.SlideshowWrapper.SlideshowContentWrapper.SlideshowContent.Image`,
16245
16251
  className: a && "SlideshowImage"
@@ -16281,7 +16287,7 @@ const O3 = 24, B3 = 32, Y3 = ({
16281
16287
  }, p5 = k.div`
16282
16288
  position: relative;
16283
16289
  width: 100%;
16284
- height: ${({ $height: l }) => D(l)};
16290
+ height: ${({ $height: l }) => G(l)};
16285
16291
 
16286
16292
  ${({ $overlay: l }) => l && x`
16287
16293
  &:before {
@@ -16303,7 +16309,7 @@ const O3 = 24, B3 = 32, Y3 = ({
16303
16309
  position: fixed;
16304
16310
  top: 0;
16305
16311
  left: 0;
16306
- `, n5 = k(o2)`
16312
+ `, n5 = k(z2)`
16307
16313
  position: relative;
16308
16314
  top: 0;
16309
16315
  left: 0;
@@ -16471,7 +16477,7 @@ const kd = ({
16471
16477
  $flexDirection: "column",
16472
16478
  $gap: "s"
16473
16479
  })}
16474
- `, b5 = k(o2)`
16480
+ `, b5 = k(z2)`
16475
16481
  flex-grow: 1;
16476
16482
  overflow-y: scroll;
16477
16483
  ${s.HideScrollbar};
@@ -16613,7 +16619,7 @@ const Pt = ({
16613
16619
  hideScrollButton: r,
16614
16620
  ...f
16615
16621
  }) => {
16616
- const [m, o] = O(!1), z = d2(null), n = d2(null), p = () => {
16622
+ const [m, o] = O(!1), z = i2(null), n = i2(null), p = () => {
16617
16623
  var v, u;
16618
16624
  if (z && z.current) {
16619
16625
  const w = (v = z == null ? void 0 : z.current) == null ? void 0 : v.scrollHeight, C = (u = z == null ? void 0 : z.current) == null ? void 0 : u.clientHeight, H = w - C;
@@ -16665,7 +16671,7 @@ const Pt = ({
16665
16671
  x5,
16666
16672
  {
16667
16673
  "data-testid": l && `${l}.ScrollButton`,
16668
- className: E(
16674
+ className: D(
16669
16675
  {
16670
16676
  MessagesListScrollButton: a
16671
16677
  },
@@ -16701,7 +16707,7 @@ const Pt = ({
16701
16707
  iconBaseUrl: f,
16702
16708
  ...m
16703
16709
  }) => {
16704
- const [o, z] = O(!1), n = q(
16710
+ const [o, z] = O(!1), n = X(
16705
16711
  (v) => {
16706
16712
  h.setMessage(v.target.value), r(v.target.scrollHeight), v.target.value.length || r(32);
16707
16713
  },
@@ -16799,7 +16805,7 @@ const Pt = ({
16799
16805
  }) => {
16800
16806
  const g = n === "short" ? l0 : C6;
16801
16807
  return /* @__PURE__ */ t.jsxs(
16802
- o2,
16808
+ z2,
16803
16809
  {
16804
16810
  "data-testid": l,
16805
16811
  ref: e,
@@ -16814,7 +16820,7 @@ const Pt = ({
16814
16820
  C5,
16815
16821
  {
16816
16822
  "data-testid": l && `${l}.Message`,
16817
- className: E(
16823
+ className: D(
16818
16824
  { MessageText: a },
16819
16825
  A2(h)
16820
16826
  ),
@@ -16855,7 +16861,7 @@ const Pt = ({
16855
16861
  #message-container-scroll-button,
16856
16862
  #messaging-form,
16857
16863
  #messaging-form-input {
16858
- --input-height: ${D(
16864
+ --input-height: ${G(
16859
16865
  z >= 72 ? 72 : z
16860
16866
  )};
16861
16867
  }
@@ -17127,7 +17133,7 @@ const y5 = k.div`
17127
17133
  &.Visible {
17128
17134
  display: block;
17129
17135
  }
17130
- `, A5 = k(o2).attrs({
17136
+ `, A5 = k(z2).attrs({
17131
17137
  gap: "xs",
17132
17138
  alignItems: "center",
17133
17139
  justifyContent: "space-between",
@@ -17206,7 +17212,7 @@ const Qt = ({
17206
17212
  editor: i,
17207
17213
  setEditor: r
17208
17214
  }) => /* @__PURE__ */ t.jsx(
17209
- o2,
17215
+ z2,
17210
17216
  {
17211
17217
  "data-testid": l && `${l}.EditorContainer.ButtonsContainer.EditorButtonsContainer`,
17212
17218
  className: c && "EditorButtonsContainer",
@@ -17220,7 +17226,7 @@ const Qt = ({
17220
17226
  s3,
17221
17227
  {
17222
17228
  "data-testid": l && `${l}.EditorContainer.ButtonsContainer.EditorButtonsContainer.EditorButton`,
17223
- className: E(
17229
+ className: D(
17224
17230
  { EditorButton: c },
17225
17231
  { Active: i === f.name }
17226
17232
  ),
@@ -17337,7 +17343,7 @@ const eh = ({
17337
17343
  maxLength: m,
17338
17344
  ...o
17339
17345
  }) => {
17340
- const z = q(
17346
+ const z = X(
17341
17347
  (n) => {
17342
17348
  h(n.target.value), d(n.target.scrollHeight), n.target.value.length || d(250);
17343
17349
  },
@@ -17353,7 +17359,7 @@ const eh = ({
17353
17359
  $5,
17354
17360
  {
17355
17361
  "data-testid": l && `${l}.EditorContainer.ContainerGrid.Textarea`,
17356
- className: E(
17362
+ className: D(
17357
17363
  { Textarea: e },
17358
17364
  {
17359
17365
  Visible: a === "editorCode" || a === "editorLive"
@@ -17378,7 +17384,7 @@ const eh = ({
17378
17384
  I5,
17379
17385
  {
17380
17386
  "data-testid": l && `${l}.EditorContainer.ContainerGrid.MarkdownContent`,
17381
- className: E(
17387
+ className: D(
17382
17388
  { MarkdownContent: e },
17383
17389
  {
17384
17390
  Visible: a === "editorPreview" || a === "editorLive"
@@ -17415,13 +17421,13 @@ const eh = ({
17415
17421
  containerStyle: $,
17416
17422
  ...y
17417
17423
  }) => {
17418
- const [R, _] = O(o), [I, G] = O(250), T = d2(null), c2 = q(
17419
- (W) => {
17420
- var V;
17421
- const J = `${e}${W}`;
17422
- a(J), (V = T == null ? void 0 : T.current) == null || V.focus();
17424
+ const [R, _] = O(o), [I, T] = O(250), V = i2(null), l2 = X(
17425
+ (Q) => {
17426
+ var E;
17427
+ const W = `${e}${Q}`;
17428
+ a(W), (E = V == null ? void 0 : V.current) == null || E.focus();
17423
17429
  },
17424
- [e, a, T]
17430
+ [e, a, V]
17425
17431
  ), P = !!(n || p || g || v || u || w);
17426
17432
  return K2(`
17427
17433
  :root {
@@ -17460,7 +17466,7 @@ const eh = ({
17460
17466
  className: z && "ButtonsContainer",
17461
17467
  children: [
17462
17468
  /* @__PURE__ */ t.jsxs(
17463
- o2,
17469
+ z2,
17464
17470
  {
17465
17471
  "data-testid": l && `${l}.EditorContainer.ButtonsContainer.ActionButtonsContainer`,
17466
17472
  className: z && "ActionButtonsContainer",
@@ -17474,8 +17480,8 @@ const eh = ({
17474
17480
  showButtons: i,
17475
17481
  className: z,
17476
17482
  textButtonTitles: H,
17477
- inputRef: T,
17478
- addCode: c2
17483
+ inputRef: V,
17484
+ addCode: l2
17479
17485
  }
17480
17486
  ),
17481
17487
  /* @__PURE__ */ t.jsx(
@@ -17487,7 +17493,7 @@ const eh = ({
17487
17493
  icons: r,
17488
17494
  iconsSizes: f,
17489
17495
  iconsBaseUrl: m,
17490
- addCode: c2
17496
+ addCode: l2
17491
17497
  }
17492
17498
  )
17493
17499
  ]
@@ -17516,8 +17522,8 @@ const eh = ({
17516
17522
  ref: c,
17517
17523
  className: z,
17518
17524
  editor: R,
17519
- setHeight: G,
17520
- inputRef: T,
17525
+ setHeight: T,
17526
+ inputRef: V,
17521
17527
  setValue: a,
17522
17528
  id: h,
17523
17529
  value: e,
@@ -17803,7 +17809,7 @@ const Hd = ({
17803
17809
  className: h,
17804
17810
  ...d
17805
17811
  }) => {
17806
- const [i, r] = O(!0), f = d2(null);
17812
+ const [i, r] = O(!0), f = i2(null);
17807
17813
  return m2(() => {
17808
17814
  new IntersectionObserver((o) => {
17809
17815
  o.forEach((z) => r(z.isIntersecting));
@@ -17814,7 +17820,7 @@ const Hd = ({
17814
17820
  "data-testid": l,
17815
17821
  ref: g2([e, f]),
17816
17822
  as: c,
17817
- className: E(h, { Visible: i }),
17823
+ className: D(h, { Visible: i }),
17818
17824
  ...d,
17819
17825
  children: a
17820
17826
  }
@@ -17870,7 +17876,7 @@ const Cd = ({
17870
17876
  G5,
17871
17877
  {
17872
17878
  "data-testid": l,
17873
- className: E(e, { Visible: f }),
17879
+ className: D(e, { Visible: f }),
17874
17880
  ref: c,
17875
17881
  icon: a,
17876
17882
  onClick: o,
@@ -18144,7 +18150,7 @@ const Cd = ({
18144
18150
  }
18145
18151
  `, Y5 = k.form`
18146
18152
  width: 100%;
18147
- max-width: ${({ $maxWidth: l }) => l && D(l)};
18153
+ max-width: ${({ $maxWidth: l }) => l && G(l)};
18148
18154
 
18149
18155
  @media ${S.BREAKPOINT_MOBILE} {
18150
18156
  max-width: 100%;
@@ -18176,6 +18182,7 @@ const U3 = ({
18176
18182
  {
18177
18183
  "data-testid": l && `${l}.HeaderBurger`,
18178
18184
  ref: c,
18185
+ role: "button",
18179
18186
  className: e && "HeaderBurger",
18180
18187
  isOpen: a,
18181
18188
  onClick: () => {
@@ -18269,57 +18276,59 @@ const U3 = ({
18269
18276
  }
18270
18277
  ), F3 = ({
18271
18278
  "data-testid": l,
18272
- className: c,
18273
- search: e,
18274
- isOpen: a,
18275
- children: h,
18276
- links: d,
18277
- headerHeight: i,
18278
- variant: r,
18279
- navMobileVariant: f,
18280
- burgerPosition: m,
18281
- burgerRef: o,
18282
- handleClose: z,
18283
- nav: n
18279
+ role: c = "navigation",
18280
+ className: e,
18281
+ search: a,
18282
+ isOpen: h,
18283
+ children: d,
18284
+ links: i,
18285
+ headerHeight: r,
18286
+ variant: f,
18287
+ navMobileVariant: m,
18288
+ burgerPosition: o,
18289
+ burgerRef: z,
18290
+ handleClose: n,
18291
+ nav: p
18284
18292
  }) => {
18285
- const p = Z0(600), g = d2(null);
18286
- V2(g, (H) => {
18287
- var $;
18288
- ($ = o == null ? void 0 : o.current) != null && $.contains(H.target) || z();
18293
+ const g = Z0(600), v = i2(null);
18294
+ V2(v, ($) => {
18295
+ var y;
18296
+ typeof z == "object" && z !== null && "current" in z && ((y = z.current) != null && y.contains($.target)) || n();
18289
18297
  });
18290
- const v = d || h, u = p && e ? 32 : 0, w = d ? d.length * 24 + ([...v, u].length - 1) * 12 : 56, C = u + w;
18298
+ const u = i || d, w = g && a ? 32 : 0, C = i ? i.length * 24 + ([...u, w].length - 1) * 12 : 56, H = w + C;
18291
18299
  return /* @__PURE__ */ t.jsxs(
18292
18300
  O5,
18293
18301
  {
18294
18302
  "data-testid": l && `${l}.HeaderNav`,
18295
- ref: g,
18296
- className: E({ HeaderNav: c }, { Open: a }),
18297
- $headerHeight: i,
18298
- $variant: r,
18299
- $burgerPosition: m,
18300
- $navMobileVariant: f,
18301
- $navHeight: C,
18303
+ ref: v,
18304
+ className: D({ HeaderNav: e }, { Open: h }),
18305
+ role: c,
18306
+ $headerHeight: r,
18307
+ $variant: f,
18308
+ $burgerPosition: o,
18309
+ $navMobileVariant: m,
18310
+ $navHeight: H,
18302
18311
  children: [
18303
- p && e && /* @__PURE__ */ t.jsx(
18312
+ g && a && /* @__PURE__ */ t.jsx(
18304
18313
  T0,
18305
18314
  {
18306
- ...e,
18315
+ ...a,
18307
18316
  "data-testid": l,
18308
- className: c,
18309
- handleClose: z
18317
+ className: e,
18318
+ handleClose: n
18310
18319
  }
18311
18320
  ),
18312
- d && d.map((H) => /* @__PURE__ */ t.jsx(
18321
+ i && i.map(($) => /* @__PURE__ */ t.jsx(
18313
18322
  th,
18314
18323
  {
18315
18324
  "data-testid": l,
18316
- className: c,
18317
- link: H
18325
+ className: e,
18326
+ link: $
18318
18327
  },
18319
18328
  K()
18320
18329
  )),
18321
- h && h,
18322
- n && n
18330
+ d && d,
18331
+ p && p
18323
18332
  ]
18324
18333
  }
18325
18334
  );
@@ -18354,6 +18363,7 @@ const U3 = ({
18354
18363
  href: i,
18355
18364
  "data-testid": l && `${l}.HeaderLogo`,
18356
18365
  className: c && "HeaderLogo",
18366
+ role: "link",
18357
18367
  children: /* @__PURE__ */ t.jsx(G0, { ...n })
18358
18368
  }
18359
18369
  ) : /* @__PURE__ */ t.jsx(
@@ -18362,6 +18372,7 @@ const U3 = ({
18362
18372
  "data-testid": l && `${l}.HeaderLogo`,
18363
18373
  className: c && "HeaderLogo",
18364
18374
  to: d,
18375
+ role: "link",
18365
18376
  children: /* @__PURE__ */ t.jsx(G0, { ...n })
18366
18377
  }
18367
18378
  );
@@ -18375,6 +18386,8 @@ const U3 = ({
18375
18386
  to: d,
18376
18387
  href: i,
18377
18388
  translate: "no",
18389
+ role: "link",
18390
+ "aria-label": "Header Logo",
18378
18391
  children: a
18379
18392
  }
18380
18393
  );
@@ -18383,64 +18396,65 @@ const U3 = ({
18383
18396
  as: c,
18384
18397
  ref: e,
18385
18398
  children: a,
18386
- className: h,
18387
- logo: d,
18388
- variant: i = "primary",
18389
- burgerPosition: r = "right",
18390
- navDesktopVariant: f = "right",
18391
- navMobileVariant: m = "drawer",
18392
- search: o,
18393
- position: z = "relative",
18394
- hideOnScroll: n,
18395
- links: p,
18396
- nav: g,
18397
- enableScrollingOpen: v,
18398
- backgroundColor: u = "primary",
18399
- textColor: w = "background",
18400
- linkColor: C = "white",
18401
- ...H
18399
+ role: h = "navigation",
18400
+ className: d,
18401
+ logo: i,
18402
+ variant: r = "primary",
18403
+ burgerPosition: f = "right",
18404
+ navDesktopVariant: m = "right",
18405
+ navMobileVariant: o = "drawer",
18406
+ search: z,
18407
+ position: n = "relative",
18408
+ hideOnScroll: p,
18409
+ links: g,
18410
+ nav: v,
18411
+ enableScrollingOpen: u,
18412
+ backgroundColor: w = "primary",
18413
+ textColor: C = "background",
18414
+ linkColor: H = "white",
18415
+ ...$
18402
18416
  }) => {
18403
- const [$, y] = O(!1), R = () => {
18404
- v || P0(), y(!0);
18405
- }, _ = () => {
18406
- v || b0(), setTimeout(() => y(!1), 10);
18407
- }, I = Z0(600), G = typeof d == "object" ? d : void 0, W = [(G == null ? void 0 : G.height) || 30, 32, 35].sort(), V = W[W.length - 1] + 16 * 2, [Z, X] = O(!1), h2 = typeof n == "boolean" ? 400 : n;
18417
+ const [y, R] = O(!1), _ = () => {
18418
+ u || P0(), R(!0);
18419
+ }, I = () => {
18420
+ u || b0(), setTimeout(() => R(!1), 10);
18421
+ }, T = Z0(600), V = typeof i == "object" ? i : void 0, W = [(V == null ? void 0 : V.height) || 30, 32, 35].sort(), Z = W[W.length - 1] + 16 * 2, [c2, h2] = O(!1), o2 = typeof p == "boolean" ? 400 : p;
18408
18422
  m2(() => {
18409
- h2 && (window.pageYOffset >= h2 ? X(!0) : X(!1), window.addEventListener("scroll", () => {
18410
- window.pageYOffset >= h2 ? X(!0) : X(!1);
18423
+ o2 && (window.pageYOffset >= o2 ? h2(!0) : h2(!1), window.addEventListener("scroll", () => {
18424
+ window.pageYOffset >= o2 ? h2(!0) : h2(!1);
18411
18425
  }));
18412
- }, [h2]);
18413
- const z2 = d2(null);
18426
+ }, [o2]);
18427
+ const L = i2(null);
18414
18428
  t0("Escape", () => {
18415
- $ && _();
18429
+ y && I();
18416
18430
  });
18417
- const L = {
18431
+ const Y = {
18418
18432
  "data-testid": l,
18419
- className: h,
18420
- isOpen: $,
18421
- navMobileVariant: m,
18422
- variant: i,
18423
- ref: z2,
18424
- handleOpen: R,
18425
- handleClose: _
18426
- }, Y = {
18433
+ className: d,
18434
+ isOpen: y,
18435
+ navMobileVariant: o,
18436
+ variant: r,
18437
+ ref: L,
18438
+ handleOpen: _,
18439
+ handleClose: I
18440
+ }, e2 = {
18427
18441
  "data-testid": l,
18428
- className: h,
18429
- search: o,
18430
- isOpen: $,
18431
- handleClose: _,
18432
- links: p,
18442
+ className: d,
18443
+ search: z,
18444
+ isOpen: y,
18445
+ handleClose: I,
18446
+ links: g,
18433
18447
  children: a,
18434
- headerHeight: V,
18435
- variant: i,
18436
- navMobileVariant: m,
18437
- burgerPosition: r,
18438
- burgerRef: z2
18439
- }, e2 = {
18448
+ headerHeight: Z,
18449
+ variant: r,
18450
+ navMobileVariant: o,
18451
+ burgerPosition: f,
18452
+ burgerRef: L
18453
+ }, d2 = {
18440
18454
  "data-testid": l,
18441
- className: h,
18442
- search: o,
18443
- handleClose: _
18455
+ className: d,
18456
+ search: z,
18457
+ handleClose: I
18444
18458
  };
18445
18459
  return /* @__PURE__ */ t.jsxs(
18446
18460
  T5,
@@ -18448,46 +18462,47 @@ const U3 = ({
18448
18462
  "data-testid": l,
18449
18463
  ref: e,
18450
18464
  as: c,
18451
- className: E(
18452
- h,
18453
- { Hidden: Z },
18454
- { Open: $ }
18465
+ className: D(
18466
+ d,
18467
+ { Hidden: c2 },
18468
+ { Open: y }
18455
18469
  ),
18456
- $burgerPosition: r,
18457
- $headerHeight: V,
18458
- $position: z,
18459
- $variant: i,
18460
- $backgroundColor: u,
18461
- $linkColor: C,
18462
- $textColor: w,
18463
- ...H,
18470
+ role: h,
18471
+ $burgerPosition: f,
18472
+ $headerHeight: Z,
18473
+ $position: n,
18474
+ $variant: r,
18475
+ $backgroundColor: w,
18476
+ $linkColor: H,
18477
+ $textColor: C,
18478
+ ...$,
18464
18479
  children: [
18465
- r === "left" && /* @__PURE__ */ t.jsx(U3, { ...L }),
18480
+ f === "left" && /* @__PURE__ */ t.jsx(U3, { ...Y }),
18466
18481
  /* @__PURE__ */ t.jsx(
18467
18482
  hh,
18468
18483
  {
18469
18484
  "data-testid": l,
18470
- className: h,
18471
- logo: d,
18472
- isOpen: $,
18473
- children: typeof d == "object" ? d.text : d
18485
+ className: d,
18486
+ logo: i,
18487
+ isOpen: y,
18488
+ children: typeof i == "object" ? i.text : i
18474
18489
  }
18475
18490
  ),
18476
- f === "left" && /* @__PURE__ */ t.jsx(F3, { ...Y }),
18477
- !I && f === "right" && /* @__PURE__ */ t.jsx(T0, { ...e2 }),
18478
- r === "right" && /* @__PURE__ */ t.jsx(U3, { ...L }),
18479
- f === "right" && /* @__PURE__ */ t.jsx(F3, { ...Y }),
18480
- I && m === "drawer" && /* @__PURE__ */ t.jsx(
18491
+ m === "left" && /* @__PURE__ */ t.jsx(F3, { ...e2 }),
18492
+ !T && m === "right" && /* @__PURE__ */ t.jsx(T0, { ...d2 }),
18493
+ f === "right" && /* @__PURE__ */ t.jsx(U3, { ...Y }),
18494
+ m === "right" && /* @__PURE__ */ t.jsx(F3, { ...e2 }),
18495
+ T && o === "drawer" && /* @__PURE__ */ t.jsx(
18481
18496
  B5,
18482
18497
  {
18483
- onClick: () => y(!1),
18484
- className: E(
18485
- { HeaderOverlay: h },
18486
- { Visible: $ }
18498
+ onClick: () => R(!1),
18499
+ className: D(
18500
+ { HeaderOverlay: d },
18501
+ { Visible: y }
18487
18502
  )
18488
18503
  }
18489
18504
  ),
18490
- !I && f === "left" && /* @__PURE__ */ t.jsx(T0, { ...e2 })
18505
+ !T && m === "left" && /* @__PURE__ */ t.jsx(T0, { ...d2 })
18491
18506
  ]
18492
18507
  }
18493
18508
  );
@@ -18602,7 +18617,7 @@ const ih = ({
18602
18617
  iconBaseUrl: n,
18603
18618
  ...p
18604
18619
  }) => {
18605
- const [g, v] = O(!1), u = d2(null);
18620
+ const [g, v] = O(!1), u = i2(null);
18606
18621
  return V2(u, () => {
18607
18622
  g && v(!1);
18608
18623
  }), /* @__PURE__ */ t.jsxs(
@@ -18641,7 +18656,7 @@ const ih = ({
18641
18656
  F5,
18642
18657
  {
18643
18658
  "data-testid": l && `${l}.OpenButton.Icon`,
18644
- className: E(
18659
+ className: D(
18645
18660
  { OpenIcon: h },
18646
18661
  { Open: g }
18647
18662
  )
@@ -18655,7 +18670,7 @@ const ih = ({
18655
18670
  ih,
18656
18671
  {
18657
18672
  "data-testid": w["data-testid"] || l && `${l}.Item`,
18658
- className: E(
18673
+ className: D(
18659
18674
  w.className,
18660
18675
  { IconMenuItem: h },
18661
18676
  { Open: g }
@@ -18732,7 +18747,7 @@ const ih = ({
18732
18747
  object-position: left center;
18733
18748
  `, X5 = k(F).attrs({ tag: "strong" })`
18734
18749
  color: ${({ theme: l }) => l.Primary500};
18735
- `, q5 = k(o2).attrs({
18750
+ `, q5 = k(z2).attrs({
18736
18751
  alignItems: "center",
18737
18752
  justifyContent: "center",
18738
18753
  gap: "xs",
@@ -18886,7 +18901,7 @@ const fh = ({
18886
18901
  visibility: visible;
18887
18902
  }
18888
18903
  `, c6 = k.div`
18889
- width: ${({ $width: l }) => D(l)};
18904
+ width: ${({ $width: l }) => G(l)};
18890
18905
  height: 100%;
18891
18906
  background-color: ${({ $backgroundColor: l, theme: c }) => s.AllColors(l, c)};
18892
18907
  color: ${({ $contentColor: l, theme: c }) => s.AllColors(l, c)};
@@ -18981,7 +18996,7 @@ const Ad = ({
18981
18996
  "data-testid": l,
18982
18997
  ref: e,
18983
18998
  as: c,
18984
- className: E(h, { Open: d }),
18999
+ className: D(h, { Open: d }),
18985
19000
  $zIndex: g,
18986
19001
  ...C,
18987
19002
  children: [
@@ -18990,7 +19005,7 @@ const Ad = ({
18990
19005
  {
18991
19006
  "data-testid": l && `${l}.Overlay`,
18992
19007
  onClick: H,
18993
- className: E(
19008
+ className: D(
18994
19009
  { DrawerOverlay: h },
18995
19010
  { Open: d }
18996
19011
  ),
@@ -19001,7 +19016,7 @@ const Ad = ({
19001
19016
  c6,
19002
19017
  {
19003
19018
  "data-testid": l && `${l}.Content`,
19004
- className: E(
19019
+ className: D(
19005
19020
  { DrawerContent: h },
19006
19021
  { Open: d }
19007
19022
  ),
@@ -19072,8 +19087,8 @@ const Ad = ({
19072
19087
  cursor: grabbing;
19073
19088
  }
19074
19089
  `, t6 = k.span`
19075
- width: ${({ $size: l }) => D(l)};
19076
- height: ${({ $size: l }) => D(l)};
19090
+ width: ${({ $size: l }) => G(l)};
19091
+ height: ${({ $size: l }) => G(l)};
19077
19092
  color: ${({ theme: l }) => l.GRAY_500};
19078
19093
  ${s.Flexbox({
19079
19094
  $alignItems: "center",
@@ -19231,7 +19246,7 @@ const sh = ({
19231
19246
  hideSeparator: g,
19232
19247
  ...v
19233
19248
  }) => {
19234
- const [u, w] = O(-1), C = d2(null), H = (y, R) => {
19249
+ const [u, w] = O(-1), C = i2(null), H = (y, R) => {
19235
19250
  const { target: _ } = y;
19236
19251
  w(R), C && C.current && (C.current = _, y.dataTransfer.effectAllowed = "move", _ instanceof HTMLElement && y.dataTransfer.setData("text/html", _.outerHTML));
19237
19252
  }, $ = (y, R) => {
@@ -19751,28 +19766,28 @@ const ph = ({
19751
19766
  setIsOpen: p,
19752
19767
  inputBackground: g
19753
19768
  }) => {
19754
- const [v, u] = O((/* @__PURE__ */ new Date()).getMonth()), [w, C] = O((/* @__PURE__ */ new Date()).getFullYear()), H = h != null && h.weekDays ? Object.values(h == null ? void 0 : h.weekDays) : Object.values(oh), $ = h != null && h.months ? Object.values(h.months) : Object.values(zh), y = (V, Z) => new Date(V, Z + 1, 0).getDate(), R = (V, Z) => {
19755
- const X = Math.abs((Z - V) / 1), { result: h2 } = Array.from({ length: X }).reduce(
19756
- ({ result: z2, current: L }) => ({
19757
- result: [...z2, L],
19769
+ const [v, u] = O((/* @__PURE__ */ new Date()).getMonth()), [w, C] = O((/* @__PURE__ */ new Date()).getFullYear()), H = h != null && h.weekDays ? Object.values(h == null ? void 0 : h.weekDays) : Object.values(oh), $ = h != null && h.months ? Object.values(h.months) : Object.values(zh), y = (E, Z) => new Date(E, Z + 1, 0).getDate(), R = (E, Z) => {
19770
+ const c2 = Math.abs((Z - E) / 1), { result: h2 } = Array.from({ length: c2 }).reduce(
19771
+ ({ result: o2, current: L }) => ({
19772
+ result: [...o2, L],
19758
19773
  current: L + 1
19759
19774
  }),
19760
- { result: [], current: V }
19775
+ { result: [], current: E }
19761
19776
  );
19762
19777
  return h2;
19763
19778
  }, _ = () => {
19764
- v > 0 ? u((V) => V - 1) : (u(11), C((V) => V - 1));
19779
+ v > 0 ? u((E) => E - 1) : (u(11), C((E) => E - 1));
19765
19780
  }, I = () => {
19766
- v < 11 ? u((V) => V + 1) : (u(0), C((V) => V + 1));
19767
- }, G = R(
19781
+ v < 11 ? u((E) => E + 1) : (u(0), C((E) => E + 1));
19782
+ }, T = R(
19768
19783
  1,
19769
19784
  y(w, v) + 1
19770
- ), T = () => G.map(
19785
+ ), V = () => T.map(
19771
19786
  (Z) => (/* @__PURE__ */ new Date(
19772
19787
  `${w}/${v + 1}/${Z}`
19773
19788
  )).toLocaleDateString("en-EN", { weekday: "long" })
19774
- )[0], c2 = (V) => {
19775
- const Z = V.target;
19789
+ )[0], l2 = (E) => {
19790
+ const Z = E.target;
19776
19791
  Z.id.includes("day-") && i(
19777
19792
  $6(
19778
19793
  new Date(
@@ -19782,20 +19797,20 @@ const ph = ({
19782
19797
  )
19783
19798
  )
19784
19799
  ), p(!1);
19785
- }, P = (V, Z, X) => `${V}/${Z}/${X}`, W = P(
19800
+ }, P = (E, Z, c2) => `${E}/${Z}/${c2}`, Q = P(
19786
19801
  (/* @__PURE__ */ new Date()).getFullYear(),
19787
19802
  (/* @__PURE__ */ new Date()).getMonth() + 1,
19788
19803
  (/* @__PURE__ */ new Date()).getDate()
19789
- ), J = (V, Z) => new Date(
19804
+ ), W = (E, Z) => new Date(
19790
19805
  w,
19791
19806
  Z ? Z + v : v,
19792
- V
19807
+ E
19793
19808
  ).getTime();
19794
19809
  return /* @__PURE__ */ t.jsxs(
19795
19810
  m6,
19796
19811
  {
19797
19812
  "data-testid": l && `${l}.Calendar`,
19798
- className: E({ Open: n }, { Calendar: c }),
19813
+ className: D({ Open: n }, { Calendar: c }),
19799
19814
  $direction: o,
19800
19815
  $validationStatus: z == null ? void 0 : z.status,
19801
19816
  $inputBackground: g,
@@ -19814,7 +19829,7 @@ const ph = ({
19814
19829
  "data-testid": l && `${l}.Calendar.Header.NavButton.Prev`,
19815
19830
  className: c && "CalendarNavButton",
19816
19831
  onClick: _,
19817
- disabled: !!(e && new Date(e).getTime() > J(1, 0)),
19832
+ disabled: !!(e && new Date(e).getTime() > W(1, 0)),
19818
19833
  type: "button",
19819
19834
  $validationStatus: z == null ? void 0 : z.status,
19820
19835
  $inputBackground: g,
@@ -19852,7 +19867,7 @@ const ph = ({
19852
19867
  "data-testid": l && `${l}.Calendar.Header.NavButton.Next`,
19853
19868
  className: c && "CalendarNavButton",
19854
19869
  onClick: I,
19855
- disabled: !!(a && new Date(a).getTime() < J(0, 1)),
19870
+ disabled: !!(a && new Date(a).getTime() < W(0, 1)),
19856
19871
  type: "button",
19857
19872
  $validationStatus: z == null ? void 0 : z.status,
19858
19873
  $inputBackground: g,
@@ -19885,51 +19900,51 @@ const ph = ({
19885
19900
  className: c && "DaysContainer",
19886
19901
  $inputBackground: g,
19887
19902
  children: [
19888
- H.map((V) => /* @__PURE__ */ t.jsx(
19903
+ H.map((E) => /* @__PURE__ */ t.jsx(
19889
19904
  F,
19890
19905
  {
19891
19906
  "data-testid": l && `${l}.Calendar.DaysContainer.Day`,
19892
19907
  className: c && "WeekDay",
19893
19908
  tag: "strong",
19894
- children: V.slice(0, 3)
19909
+ children: E.slice(0, 3)
19895
19910
  },
19896
19911
  K()
19897
19912
  )),
19898
- T() === "Tuesday" ? /* @__PURE__ */ t.jsx(
19913
+ V() === "Tuesday" ? /* @__PURE__ */ t.jsx(
19899
19914
  U2,
19900
19915
  {
19901
19916
  "data-testid": l && `${l}.Calendar.DaysContainer.EmptyDay`,
19902
19917
  className: c && "EmptyDay"
19903
19918
  }
19904
- ) : T() === "Wednesday" ? [...Array(2)].map(() => /* @__PURE__ */ t.jsx(
19919
+ ) : V() === "Wednesday" ? [...Array(2)].map(() => /* @__PURE__ */ t.jsx(
19905
19920
  U2,
19906
19921
  {
19907
19922
  "data-testid": l && `${l}.Calendar.DaysContainer.EmptyDay`,
19908
19923
  className: c && "EmptyDay"
19909
19924
  },
19910
19925
  K()
19911
- )) : T() === "Thursday" ? [...Array(3)].map(() => /* @__PURE__ */ t.jsx(
19926
+ )) : V() === "Thursday" ? [...Array(3)].map(() => /* @__PURE__ */ t.jsx(
19912
19927
  U2,
19913
19928
  {
19914
19929
  "data-testid": l && `${l}.Calendar.DaysContainer.EmptyDay`,
19915
19930
  className: c && "EmptyDay"
19916
19931
  },
19917
19932
  K()
19918
- )) : T() === "Friday" ? [...Array(4)].map(() => /* @__PURE__ */ t.jsx(
19933
+ )) : V() === "Friday" ? [...Array(4)].map(() => /* @__PURE__ */ t.jsx(
19919
19934
  U2,
19920
19935
  {
19921
19936
  "data-testid": l && `${l}.Calendar.DaysContainer.EmptyDay`,
19922
19937
  className: c && "EmptyDay"
19923
19938
  },
19924
19939
  K()
19925
- )) : T() === "Saturday" ? [...Array(5)].map(() => /* @__PURE__ */ t.jsx(
19940
+ )) : V() === "Saturday" ? [...Array(5)].map(() => /* @__PURE__ */ t.jsx(
19926
19941
  U2,
19927
19942
  {
19928
19943
  "data-testid": l && `${l}.Calendar.DaysContainer.EmptyDay`,
19929
19944
  className: c && "EmptyDay"
19930
19945
  },
19931
19946
  K()
19932
- )) : T() === "Sunday" ? [...Array(6)].map(() => /* @__PURE__ */ t.jsx(
19947
+ )) : V() === "Sunday" ? [...Array(6)].map(() => /* @__PURE__ */ t.jsx(
19933
19948
  U2,
19934
19949
  {
19935
19950
  "data-testid": l && `${l}.Calendar.DaysContainer.EmptyDay`,
@@ -19937,12 +19952,12 @@ const ph = ({
19937
19952
  },
19938
19953
  K()
19939
19954
  )) : null,
19940
- G.map((V) => {
19955
+ T.map((E) => {
19941
19956
  const Z = P(
19942
19957
  w,
19943
19958
  v + 1,
19944
- V
19945
- ), X = d ? P(
19959
+ E
19960
+ ), c2 = d ? P(
19946
19961
  new Date(d).getFullYear(),
19947
19962
  new Date(d).getMonth() + 1,
19948
19963
  new Date(d).getDate()
@@ -19951,18 +19966,18 @@ const ph = ({
19951
19966
  z6,
19952
19967
  {
19953
19968
  "data-testid": l && `${l}.Calendar.DaysContainer.CalendarDay`,
19954
- className: E(
19955
- { Today: Z === W },
19956
- { Active: Z === X },
19969
+ className: D(
19970
+ { Today: Z === Q },
19971
+ { Active: Z === c2 },
19957
19972
  { CalendarDay: c }
19958
19973
  ),
19959
- id: `day-${V}`,
19960
- onClick: c2,
19961
- disabled: e && new Date(e).getTime() > J(V + 1, 0) ? !0 : !!(a && new Date(a).getTime() < J(V, 0)),
19974
+ id: `day-${E}`,
19975
+ onClick: l2,
19976
+ disabled: e && new Date(e).getTime() > W(E + 1, 0) ? !0 : !!(a && new Date(a).getTime() < W(E, 0)),
19962
19977
  type: "button",
19963
19978
  $inputBackground: g,
19964
19979
  $validationStatus: z == null ? void 0 : z.status,
19965
- children: V
19980
+ children: E
19966
19981
  },
19967
19982
  K()
19968
19983
  );
@@ -19999,14 +20014,14 @@ const ph = ({
19999
20014
  containerStyle: R,
20000
20015
  inputAndListContainerStyle: _,
20001
20016
  prefix: I,
20002
- ...G
20017
+ ...T
20003
20018
  }) => {
20004
- const [T, c2] = O(!1), P = d2(null);
20005
- V2(P, () => c2(!1));
20006
- const J = !!(w || C || H || $ || y), V = () => {
20007
- if (!g) c2(!0);
20019
+ const [V, l2] = O(!1), P = i2(null);
20020
+ V2(P, () => l2(!1));
20021
+ const W = !!(w || C || H || $ || y), E = () => {
20022
+ if (!g) l2(!0);
20008
20023
  else return;
20009
- }, Z = (X) => r(X.target.value);
20024
+ }, Z = (c2) => r(c2.target.value);
20010
20025
  return /* @__PURE__ */ t.jsx(
20011
20026
  b2,
20012
20027
  {
@@ -20021,7 +20036,7 @@ const ph = ({
20021
20036
  className: e,
20022
20037
  iconBaseUrl: o,
20023
20038
  style: R,
20024
- hasListOpen: T,
20039
+ hasListOpen: V,
20025
20040
  counter: void 0,
20026
20041
  maxLength: void 0,
20027
20042
  children: /* @__PURE__ */ t.jsxs(
@@ -20029,8 +20044,8 @@ const ph = ({
20029
20044
  {
20030
20045
  "data-testid": l,
20031
20046
  className: e,
20032
- hasListOpen: T,
20033
- isParent: !J,
20047
+ hasListOpen: V,
20048
+ isParent: !W,
20034
20049
  ref: P,
20035
20050
  inputAndListContainerStyle: _,
20036
20051
  children: [
@@ -20043,7 +20058,7 @@ const ph = ({
20043
20058
  inputBackground: p,
20044
20059
  inputVariant: n,
20045
20060
  validationStatus: y == null ? void 0 : y.status,
20046
- hasListOpen: T,
20061
+ hasListOpen: V,
20047
20062
  hasContainer: !0,
20048
20063
  children: [
20049
20064
  ((f == null ? void 0 : f.left) || I) && /* @__PURE__ */ t.jsxs(
@@ -20085,8 +20100,8 @@ const ph = ({
20085
20100
  "data-testid": l && `${l}.InputWrapper.InputDate`,
20086
20101
  className: e && "InputDate",
20087
20102
  ref: c,
20088
- onClick: V,
20089
- onFocus: V,
20103
+ onClick: E,
20104
+ onFocus: E,
20090
20105
  tabIndex: v,
20091
20106
  value: l0(i),
20092
20107
  onChange: Z,
@@ -20095,7 +20110,7 @@ const ph = ({
20095
20110
  $validationStatus: y == null ? void 0 : y.status,
20096
20111
  $inputBackground: p,
20097
20112
  $disabled: g,
20098
- ...G
20113
+ ...T
20099
20114
  }
20100
20115
  ),
20101
20116
  /* @__PURE__ */ t.jsxs(
@@ -20121,7 +20136,7 @@ const ph = ({
20121
20136
  }
20122
20137
  ),
20123
20138
  iconSize: m == null ? void 0 : m.calendar,
20124
- onClick: V,
20139
+ onClick: E,
20125
20140
  "aria-label": "Calendar",
20126
20141
  disabled: g,
20127
20142
  inputBackground: p,
@@ -20159,8 +20174,8 @@ const ph = ({
20159
20174
  calendarDirection: z,
20160
20175
  validation: y,
20161
20176
  inputBackground: p,
20162
- isOpen: T,
20163
- setIsOpen: c2
20177
+ isOpen: V,
20178
+ setIsOpen: l2
20164
20179
  }
20165
20180
  )
20166
20181
  ]
@@ -20215,26 +20230,26 @@ const Id = ({
20215
20230
  value: R,
20216
20231
  setValue: _,
20217
20232
  prefix: I,
20218
- disabled: G,
20219
- tabIndex: T,
20220
- ...c2
20233
+ disabled: T,
20234
+ tabIndex: V,
20235
+ ...l2
20221
20236
  }) => {
20222
- const P = !!(m || o || z || n || p), W = d2(null);
20223
- let J = Object.keys(H === "30min" ? i0.halfHours : H === "15min" ? i0.quarterHours : H === "1min" ? i0.minutes : i0.hours);
20224
- $ && (J = J.splice(
20225
- J.indexOf(J.find((l2) => l2 === $)),
20226
- J.length - 1
20227
- )), y && (J = J.splice(0, J.indexOf(y) + 1));
20228
- const { isOpen: V, setIsOpen: Z, cursor: X, listRef: h2 } = F0({
20229
- data: J,
20237
+ const P = !!(m || o || z || n || p), Q = i2(null);
20238
+ let W = Object.keys(H === "30min" ? i0.halfHours : H === "15min" ? i0.quarterHours : H === "1min" ? i0.minutes : i0.hours);
20239
+ $ && (W = W.splice(
20240
+ W.indexOf(W.find((J) => J === $)),
20241
+ W.length - 1
20242
+ )), y && (W = W.splice(0, W.indexOf(y) + 1));
20243
+ const { isOpen: E, setIsOpen: Z, cursor: c2, listRef: h2 } = F0({
20244
+ data: W,
20230
20245
  value: R,
20231
20246
  setValue: _
20232
- }), z2 = () => {
20233
- V && Z(!1), Z(!0);
20234
- }, L = () => Z(!0), Y = () => Z(!1), e2 = (l2) => _(
20235
- l2.target.value
20236
- ), i2 = (l2) => {
20237
- _(l2), Y();
20247
+ }), o2 = () => {
20248
+ E && Z(!1), Z(!0);
20249
+ }, L = () => Z(!0), Y = () => Z(!1), e2 = (J) => _(
20250
+ J.target.value
20251
+ ), d2 = (J) => {
20252
+ _(J), Y();
20238
20253
  };
20239
20254
  return V2(h2, Y), /* @__PURE__ */ t.jsx(
20240
20255
  b2,
@@ -20250,7 +20265,7 @@ const Id = ({
20250
20265
  className: e,
20251
20266
  iconBaseUrl: d,
20252
20267
  style: u,
20253
- hasListOpen: V,
20268
+ hasListOpen: E,
20254
20269
  counter: void 0,
20255
20270
  maxLength: void 0,
20256
20271
  children: /* @__PURE__ */ t.jsxs(
@@ -20258,9 +20273,9 @@ const Id = ({
20258
20273
  {
20259
20274
  "data-testid": l,
20260
20275
  className: e,
20261
- hasListOpen: V,
20276
+ hasListOpen: E,
20262
20277
  isParent: !P,
20263
- ref: W,
20278
+ ref: Q,
20264
20279
  inputAndListContainerStyle: w,
20265
20280
  children: [
20266
20281
  /* @__PURE__ */ t.jsxs(
@@ -20272,7 +20287,7 @@ const Id = ({
20272
20287
  inputBackground: g,
20273
20288
  inputVariant: v,
20274
20289
  validationStatus: p == null ? void 0 : p.status,
20275
- hasListOpen: V,
20290
+ hasListOpen: E,
20276
20291
  hasContainer: !0,
20277
20292
  children: [
20278
20293
  (a || I) && /* @__PURE__ */ t.jsxs(
@@ -20280,7 +20295,7 @@ const Id = ({
20280
20295
  {
20281
20296
  "data-testid": l,
20282
20297
  className: e,
20283
- disabled: G,
20298
+ disabled: T,
20284
20299
  children: [
20285
20300
  I && /* @__PURE__ */ t.jsx(
20286
20301
  E2,
@@ -20299,7 +20314,7 @@ const Id = ({
20299
20314
  icon: a,
20300
20315
  iconSize: h,
20301
20316
  validationStatus: p == null ? void 0 : p.status,
20302
- disabled: G,
20317
+ disabled: T,
20303
20318
  inputBackground: g,
20304
20319
  inputVariant: v,
20305
20320
  iconBaseUrl: d
@@ -20314,17 +20329,17 @@ const Id = ({
20314
20329
  "data-testid": l && `${l}.InputWrapper.InputTime`,
20315
20330
  className: e && "InputTime",
20316
20331
  ref: c,
20317
- onClick: z2,
20332
+ onClick: o2,
20318
20333
  onFocus: L,
20319
- tabIndex: T,
20334
+ tabIndex: V,
20320
20335
  value: R,
20321
20336
  onChange: e2,
20322
- disabled: G,
20323
- $disabled: G,
20337
+ disabled: T,
20338
+ $disabled: T,
20324
20339
  $validationStatus: p == null ? void 0 : p.status,
20325
20340
  $inputBackground: g,
20326
20341
  $inputVariant: v,
20327
- ...c2
20342
+ ...l2
20328
20343
  }
20329
20344
  ),
20330
20345
  /* @__PURE__ */ t.jsxs(
@@ -20332,7 +20347,7 @@ const Id = ({
20332
20347
  {
20333
20348
  "data-testid": l,
20334
20349
  className: e,
20335
- disabled: G,
20350
+ disabled: T,
20336
20351
  withBorder: !1,
20337
20352
  withPadding: !0,
20338
20353
  children: [
@@ -20343,9 +20358,9 @@ const Id = ({
20343
20358
  className: e,
20344
20359
  icon: r,
20345
20360
  iconSize: i,
20346
- onClick: z2,
20361
+ onClick: o2,
20347
20362
  "aria-label": "Calendar",
20348
- disabled: G,
20363
+ disabled: T,
20349
20364
  inputBackground: g,
20350
20365
  validationStatus: p == null ? void 0 : p.status
20351
20366
  }
@@ -20374,21 +20389,21 @@ const Id = ({
20374
20389
  inputBackground: g,
20375
20390
  inputVariant: v,
20376
20391
  validationStatus: p == null ? void 0 : p.status,
20377
- isOpen: !!(R && V),
20392
+ isOpen: !!(R && E),
20378
20393
  ref: h2,
20379
- children: J.map((l2, f2) => /* @__PURE__ */ t.jsx(
20394
+ children: W.map((J, f2) => /* @__PURE__ */ t.jsx(
20380
20395
  W2,
20381
20396
  {
20382
20397
  "data-testid": l,
20383
20398
  className: e,
20384
20399
  validationStatus: p == null ? void 0 : p.status,
20385
20400
  inputBackground: g,
20386
- onClick: () => i2(l2),
20387
- isActive: f2 === X,
20388
- isHovered: R === l2,
20389
- children: l2
20401
+ onClick: () => d2(J),
20402
+ isActive: f2 === c2,
20403
+ isHovered: R === J,
20404
+ children: J
20390
20405
  },
20391
- l2
20406
+ J
20392
20407
  ))
20393
20408
  }
20394
20409
  )
@@ -20461,7 +20476,7 @@ export {
20461
20476
  Hd as Fade,
20462
20477
  Q0 as Fallback,
20463
20478
  _d as Fieldset,
20464
- o2 as Flexbox,
20479
+ z2 as Flexbox,
20465
20480
  mh as Footer,
20466
20481
  hd as Form,
20467
20482
  Yh as FullBleed,