@julseb-lib/react 0.0.86 → 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,8 +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
- height: ${({ $minHeight: l }) => D(l)};
6049
- min-height: ${({ $minHeight: l }) => D(l)};
6048
+ min-height: ${({ $minHeight: l }) => G(l)};
6050
6049
  ${({ $gap: l }) => s.Flexbox({
6051
6050
  $gap: l,
6052
6051
  $justifyContent: "center"
@@ -6056,7 +6055,7 @@ const V1 = k.section`
6056
6055
  flex-direction: column;
6057
6056
  align-items: center;
6058
6057
  justify-content: flex-start;
6059
- min-height: ${({ $minHeight: l }) => D(l)};
6058
+ min-height: ${({ $minHeight: l }) => G(l)};
6060
6059
  }
6061
6060
  `;
6062
6061
  j([V1]);
@@ -6081,7 +6080,7 @@ const fl = ({
6081
6080
  ...r,
6082
6081
  children: a
6083
6082
  }
6084
- ), H3 = (l) => typeof l == "number" ? D(l) : (/* @__PURE__ */ new Map([
6083
+ ), H3 = (l) => typeof l == "number" ? G(l) : (/* @__PURE__ */ new Map([
6085
6084
  ["default", F2.MAIN_DEFAULT],
6086
6085
  ["large", F2.MAIN_LARGE],
6087
6086
  ["form", F2.MAIN_FORM],
@@ -6125,8 +6124,8 @@ const rl = ({
6125
6124
  as: c,
6126
6125
  ref: e,
6127
6126
  children: a,
6128
- size: h,
6129
- contentSize: d,
6127
+ size: h = "default",
6128
+ contentSize: d = "default",
6130
6129
  ...i
6131
6130
  }) => /* @__PURE__ */ t.jsx(
6132
6131
  E1,
@@ -6139,7 +6138,7 @@ const rl = ({
6139
6138
  ...i,
6140
6139
  children: a
6141
6140
  }
6142
- ), C3 = (l) => typeof l == "number" ? D(l) : (/* @__PURE__ */ new Map([
6141
+ ), C3 = (l) => typeof l == "number" ? G(l) : (/* @__PURE__ */ new Map([
6143
6142
  ["default", F2.ASIDE_DEFAULT],
6144
6143
  ["small", F2.ASIDE_SMALL]
6145
6144
  ])).get(l), D1 = k.aside`
@@ -6174,7 +6173,7 @@ const Vh = ({
6174
6173
  as: c,
6175
6174
  ref: e,
6176
6175
  children: a,
6177
- size: h,
6176
+ size: h = "default",
6178
6177
  ...d
6179
6178
  }) => /* @__PURE__ */ t.jsx(
6180
6179
  D1,
@@ -6227,15 +6226,15 @@ const Dh = ({
6227
6226
  ref: e,
6228
6227
  children: a,
6229
6228
  inline: h,
6230
- col: d,
6231
- gap: i,
6232
- columnGap: r,
6233
- rowGap: f,
6234
- justifyItems: m,
6235
- alignItems: o,
6236
- justifyContent: z,
6237
- alignContent: n,
6238
- 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",
6239
6238
  ...g
6240
6239
  }) => /* @__PURE__ */ t.jsx(
6241
6240
  T1,
@@ -6260,7 +6259,7 @@ const Dh = ({
6260
6259
  ${s.Flexbox}
6261
6260
  `;
6262
6261
  j([O1]);
6263
- const o2 = ({
6262
+ const z2 = ({
6264
6263
  "data-testid": l,
6265
6264
  as: c,
6266
6265
  ref: e,
@@ -6298,8 +6297,8 @@ const o2 = ({
6298
6297
  children: a
6299
6298
  }
6300
6299
  ), B1 = k(j6)`
6301
- width: ${({ $size: l }) => D(l)};
6302
- height: ${({ $size: l }) => D(l)};
6300
+ width: ${({ $size: l }) => G(l)};
6301
+ height: ${({ $size: l }) => G(l)};
6303
6302
  fill: ${({ theme: l, $color: c }) => s.AllColors(c, l)};
6304
6303
 
6305
6304
  path {
@@ -6452,7 +6451,7 @@ const P1 = ({
6452
6451
  flex-grow: 1;
6453
6452
  }
6454
6453
  `, Z1 = k.span`
6455
- 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)};
6456
6455
  ${s.Flexbox({
6457
6456
  $inline: !0,
6458
6457
  $alignItems: "center",
@@ -6473,7 +6472,7 @@ const Gh = ({
6473
6472
  iconBaseUrl: m,
6474
6473
  tag: o = "p",
6475
6474
  display: z,
6476
- gap: n,
6475
+ gap: n = "xs",
6477
6476
  containerStyle: p,
6478
6477
  ...g
6479
6478
  }) => {
@@ -6692,15 +6691,15 @@ const pl = ({
6692
6691
  tooltipStyles: v,
6693
6692
  ...u
6694
6693
  }) => {
6695
- 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);
6696
6695
  V2(y, () => {
6697
6696
  H && C === "click" && $(!1);
6698
6697
  });
6699
- const R = q(() => {
6698
+ const R = X(() => {
6700
6699
  $(!H);
6701
- }, [H]), _ = q(() => {
6700
+ }, [H]), _ = X(() => {
6702
6701
  $(!0);
6703
- }, []), I = q(() => {
6702
+ }, []), I = X(() => {
6704
6703
  $(!1);
6705
6704
  }, []);
6706
6705
  return /* @__PURE__ */ t.jsxs(
@@ -6709,7 +6708,7 @@ const pl = ({
6709
6708
  "data-testid": l,
6710
6709
  ref: e,
6711
6710
  as: c,
6712
- className: E(a, { Visible: H }),
6711
+ className: D(a, { Visible: H }),
6713
6712
  onClick: z || (C === "click" ? R : void 0),
6714
6713
  onMouseEnter: n || (C === "hover" ? _ : void 0),
6715
6714
  onMouseLeave: p || (C === "hover" ? I : void 0),
@@ -6719,7 +6718,7 @@ const pl = ({
6719
6718
  K1,
6720
6719
  {
6721
6720
  "data-testid": l && `${l}.Tooltip`,
6722
- className: E(
6721
+ className: D(
6723
6722
  { Tooltip: a },
6724
6723
  { Visible: H }
6725
6724
  ),
@@ -6740,10 +6739,10 @@ const pl = ({
6740
6739
  }, X1 = k.hr`
6741
6740
  display: block;
6742
6741
  width: 100%;
6743
- max-width: ${({ $maxWidth: l }) => D(l)};
6742
+ max-width: ${({ $maxWidth: l }) => G(l)};
6744
6743
  border: none;
6745
6744
  background-color: ${({ theme: l, $color: c }) => s.AllColors(c, l)};
6746
- height: ${({ $height: l }) => D(l)};
6745
+ height: ${({ $height: l }) => G(l)};
6747
6746
  ${({ $margin: l }) => s.Margin(l)}
6748
6747
 
6749
6748
  &.Rounded {
@@ -6768,7 +6767,7 @@ const q1 = ({
6768
6767
  "data-testid": l,
6769
6768
  ref: e,
6770
6769
  as: c,
6771
- className: E(a, { Rounded: f }),
6770
+ className: D(a, { Rounded: f }),
6772
6771
  $height: h,
6773
6772
  $maxWidth: d,
6774
6773
  $color: i,
@@ -6803,9 +6802,9 @@ const q1 = ({
6803
6802
  }) => x`
6804
6803
  position: relative;
6805
6804
  overflow: hidden;
6806
- width: ${D(l)};
6807
- max-width: ${c && D(c)};
6808
- height: ${e && D(e)};
6805
+ width: ${G(l)};
6806
+ max-width: ${c && G(c)};
6807
+ height: ${e && G(e)};
6809
6808
  background-color: ${({ theme: f }) => s.AllColors(a, f)};
6810
6809
  aspect-ratio: ${h};
6811
6810
  flex: ${i};
@@ -6821,7 +6820,7 @@ const q1 = ({
6821
6820
  background-color: ${({ theme: l }) => l.WHITE};
6822
6821
  animation: ${vl} 2000ms infinite;
6823
6822
  opacity: 0.7;
6824
- `, l4 = k(o2)`
6823
+ `, l4 = k(z2)`
6825
6824
  ${Q1}
6826
6825
  ${({ $border: l }) => s.Border(l)}
6827
6826
  ${({ $padding: l }) => s.Padding(l)}
@@ -6960,8 +6959,8 @@ const Th = ({
6960
6959
  }
6961
6960
  ) }), a4 = k.img`
6962
6961
  display: block;
6963
- width: ${({ $width: l }) => D(l)};
6964
- height: ${({ $height: l }) => D(l)};
6962
+ width: ${({ $width: l }) => G(l)};
6963
+ height: ${({ $height: l }) => G(l)};
6965
6964
  object-fit: ${({ $fit: l }) => l};
6966
6965
  aspect-ratio: ${({ $aspectRatio: l }) => l};
6967
6966
  position: relative;
@@ -6987,8 +6986,8 @@ const Th = ({
6987
6986
  `, J0 = k.figure`
6988
6987
  position: relative;
6989
6988
  overflow: hidden;
6990
- width: ${({ $width: l }) => D(l)};
6991
- height: ${({ $height: l }) => D(l)};
6989
+ width: ${({ $width: l }) => G(l)};
6990
+ height: ${({ $height: l }) => G(l)};
6992
6991
  ${({ $borderRadius: l }) => s.BorderRadius(l)};
6993
6992
  `, l3 = k(F).attrs({ as: "figcaption" })`
6994
6993
  background: ${({ theme: l, $backgroundColor: c }) => s.ColorsAndOverlays(c, l)};
@@ -7074,7 +7073,7 @@ const kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7074
7073
  ) : /* @__PURE__ */ t.jsx($3, { ...v });
7075
7074
  };
7076
7075
  function bl(l, c, e = globalThis) {
7077
- const a = d2();
7076
+ const a = i2();
7078
7077
  m2(() => a.current = c, [c]), m2(() => {
7079
7078
  if (!e.addEventListener) return;
7080
7079
  const h = (d) => a.current(d);
@@ -7108,9 +7107,9 @@ const Bh = ({
7108
7107
  gap: d = "l",
7109
7108
  ...i
7110
7109
  }) => {
7111
- 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(() => []);
7112
7111
  wl(a, o);
7113
- const z = q(
7112
+ const z = X(
7114
7113
  () => m(
7115
7114
  Math.ceil(window.innerWidth / (window.innerWidth / f))
7116
7115
  ),
@@ -7134,7 +7133,7 @@ const Bh = ({
7134
7133
  ${({ $padding: l }) => s.Padding(l)}
7135
7134
 
7136
7135
  ${({ $height: l }) => l && x`
7137
- height: ${D(l)};
7136
+ height: ${G(l)};
7138
7137
 
7139
7138
  & > img,
7140
7139
  & > figure {
@@ -7212,8 +7211,8 @@ const Yh = ({
7212
7211
  ), f4 = k.iframe`
7213
7212
  display: block;
7214
7213
  aspect-ratio: ${({ $aspectRatio: l }) => l};
7215
- width: ${({ $width: l }) => D(l)};
7216
- height: ${({ $height: l }) => D(l)};
7214
+ width: ${({ $width: l }) => G(l)};
7215
+ height: ${({ $height: l }) => G(l)};
7217
7216
  `;
7218
7217
  j([f4]);
7219
7218
  const Uh = ({
@@ -7288,7 +7287,7 @@ const f0 = ({
7288
7287
  "data-testid": l,
7289
7288
  ref: e,
7290
7289
  as: h,
7291
- className: E(c, v),
7290
+ className: D(c, v),
7292
7291
  id: a,
7293
7292
  $backgroundColor: o,
7294
7293
  $contentColor: z,
@@ -7359,8 +7358,8 @@ const f0 = ({
7359
7358
  bottom: ${A.XXS};
7360
7359
  }
7361
7360
  `, p4 = k.span`
7362
- width: ${({ $size: l }) => D(l)};
7363
- height: ${({ $size: l }) => D(l)};
7361
+ width: ${({ $size: l }) => G(l)};
7362
+ height: ${({ $size: l }) => G(l)};
7364
7363
  font-weight: ${t2.BLACK};
7365
7364
  background-color: ${({ $backgroundColor: l, theme: c }) => s.AllColors(l, c)};
7366
7365
  color: ${({ $fontColor: l, theme: c }) => s.AllColors(l, c)};
@@ -7404,7 +7403,7 @@ const A3 = ({
7404
7403
  ref: d ? void 0 : e,
7405
7404
  as: d ? "span" : c,
7406
7405
  id: h,
7407
- className: E(
7406
+ className: D(
7408
7407
  d && a ? "Avatar" : a,
7409
7408
  C
7410
7409
  ),
@@ -7512,7 +7511,7 @@ const A3 = ({
7512
7511
  z4,
7513
7512
  {
7514
7513
  "data-testid": l && `${l}.Badge`,
7515
- className: E(
7514
+ className: D(
7516
7515
  { Badge: p },
7517
7516
  `Position${A2(
7518
7517
  u && i.position ? i.position : "top"
@@ -7532,8 +7531,8 @@ const A3 = ({
7532
7531
  }
7533
7532
  ) : /* @__PURE__ */ t.jsx(A3, { ...C });
7534
7533
  }, C0 = ({ $size: l }) => x`
7535
- width: ${l && D(l)};
7536
- height: ${l && D(l)};
7534
+ width: ${l && G(l)};
7535
+ height: ${l && G(l)};
7537
7536
  position: relative;
7538
7537
  `, ul = _2`
7539
7538
  0% {
@@ -7731,8 +7730,8 @@ const Hl = ({ "data-testid": l, ref: c, as: e, size: a, color: h, borderWidth: d
7731
7730
  border: none;
7732
7731
  background-color: transparent;
7733
7732
  position: relative;
7734
- width: ${({ $width: l }) => D(l)};
7735
- height: ${({ $height: l }) => D(l)};
7733
+ width: ${({ $width: l }) => G(l)};
7734
+ height: ${({ $height: l }) => G(l)};
7736
7735
  color: ${({ theme: l, $color: c }) => s.ColorsHoverDefault(c, l)};
7737
7736
 
7738
7737
  ${({ $noHover: l, $color: c, theme: e }) => {
@@ -7763,7 +7762,7 @@ const Hl = ({ "data-testid": l, ref: c, as: e, size: a, color: h, borderWidth: d
7763
7762
  display: block;
7764
7763
  background-color: currentColor;
7765
7764
  width: 100%;
7766
- height: ${({ $borderWidth: l }) => D(l)};
7765
+ height: ${({ $borderWidth: l }) => G(l)};
7767
7766
  border-radius: ${N.ROUND};
7768
7767
  position: absolute;
7769
7768
  left: 0;
@@ -7775,7 +7774,7 @@ const Hl = ({ "data-testid": l, ref: c, as: e, size: a, color: h, borderWidth: d
7775
7774
 
7776
7775
  &:nth-child(2) {
7777
7776
  top: calc(
7778
- 50% - ${({ $borderWidth: l }) => D(l)} / 2
7777
+ 50% - ${({ $borderWidth: l }) => G(l)} / 2
7779
7778
  );
7780
7779
  }
7781
7780
 
@@ -7792,7 +7791,7 @@ const Hl = ({ "data-testid": l, ref: c, as: e, size: a, color: h, borderWidth: d
7792
7791
 
7793
7792
  &:nth-child(2) {
7794
7793
  top: calc(
7795
- 50% - ${({ $borderWidth: l }) => D(l)} / 2
7794
+ 50% - ${({ $borderWidth: l }) => G(l)} / 2
7796
7795
  );
7797
7796
  width: 0;
7798
7797
  }
@@ -7823,7 +7822,7 @@ const b4 = ({
7823
7822
  "data-testid": l,
7824
7823
  ref: e,
7825
7824
  as: c || (f ? "span" : "button"),
7826
- className: E(a, { Open: h }),
7825
+ className: D(a, { Open: h }),
7827
7826
  "aria-label": o,
7828
7827
  $noHover: f,
7829
7828
  $borderWidth: m,
@@ -7855,80 +7854,82 @@ const a0 = ({
7855
7854
  as: h,
7856
7855
  ref: d,
7857
7856
  className: i,
7858
- children: r,
7859
- color: f = "primary",
7860
- shadow: m,
7861
- size: o = "default",
7862
- borderRadius: z = o === "small" ? "s" : "m",
7863
- icons: n,
7864
- iconSizes: p,
7865
- iconBaseUrl: g,
7866
- gap: v = "xs",
7867
- variant: u = "plain",
7868
- noPadding: w,
7869
- isLoading: C,
7870
- loaderVariant: H,
7871
- to: $,
7872
- href: y,
7873
- blank: R,
7874
- ..._
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
7875
7875
  }) => {
7876
- const I = {
7877
- size: o === "small" ? 14 : 16,
7876
+ const T = {
7877
+ size: z === "small" ? 14 : 16,
7878
7878
  color: "gray",
7879
7879
  "data-testid": l && `${l}.Loader`,
7880
7880
  className: "Loader"
7881
- }, G = o === "small" ? 14 : 16;
7881
+ }, V = z === "small" ? 14 : 16;
7882
7882
  return /* @__PURE__ */ t.jsxs(
7883
7883
  w4,
7884
7884
  {
7885
7885
  "data-testid": l,
7886
7886
  ref: d,
7887
- as: h || ($ ? x2 : y ? "a" : "button"),
7888
- to: $ === "prev" ? -1 : $,
7889
- href: y,
7887
+ as: h || (y ? x2 : R ? "a" : "button"),
7888
+ to: y === "prev" ? -1 : y,
7889
+ role: r,
7890
+ href: R,
7890
7891
  className: i,
7891
7892
  "aria-label": c,
7892
7893
  "aria-disabled": a,
7893
- disabled: C || e,
7894
- target: R && "_blank",
7895
- rel: R && "noreferrer noopener",
7896
- $color: f,
7897
- $shadow: m,
7898
- $borderRadius: z,
7899
- $size: o,
7900
- $gap: v,
7901
- $variant: u,
7902
- $noPadding: w,
7903
- ..._,
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,
7904
7905
  children: [
7905
- (n == null ? void 0 : n.left) && !C && /* @__PURE__ */ t.jsx(
7906
+ (p == null ? void 0 : p.left) && !H && /* @__PURE__ */ t.jsx(
7906
7907
  a2,
7907
7908
  {
7908
- icon: n.left,
7909
+ icon: p.left,
7909
7910
  "data-testid": l && `${l}.IconLeft`,
7910
7911
  className: i && "IconLeft",
7911
- size: (p == null ? void 0 : p.left) || G,
7912
- baseUrl: g
7912
+ size: (g == null ? void 0 : g.left) || V,
7913
+ baseUrl: v
7913
7914
  }
7914
7915
  ),
7915
- 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(
7916
7917
  r0,
7917
7918
  {
7918
- variant: H,
7919
+ variant: $,
7919
7920
  borderWidth: 2,
7920
- ...I
7921
+ ...T
7921
7922
  }
7922
7923
  )),
7923
- r,
7924
- (n == null ? void 0 : n.right) && /* @__PURE__ */ t.jsx(
7924
+ f,
7925
+ (p == null ? void 0 : p.right) && /* @__PURE__ */ t.jsx(
7925
7926
  a2,
7926
7927
  {
7927
- icon: n.right,
7928
+ icon: p.right,
7928
7929
  "data-testid": l && `${l}.IconRight`,
7929
7930
  className: i && "IconRight",
7930
- size: (p == null ? void 0 : p.right) || G,
7931
- baseUrl: g
7931
+ size: (g == null ? void 0 : g.right) || V,
7932
+ baseUrl: v
7932
7933
  }
7933
7934
  )
7934
7935
  ]
@@ -7939,8 +7940,8 @@ const a0 = ({
7939
7940
  position: relative;
7940
7941
  padding: 0;
7941
7942
  z-index: 0;
7942
- width: ${({ $size: l }) => D(l)};
7943
- height: ${({ $size: l }) => D(l)};
7943
+ width: ${({ $size: l }) => G(l)};
7944
+ height: ${({ $size: l }) => G(l)};
7944
7945
 
7945
7946
  ${({ $variant: l, $showBackgroundHover: c, theme: e }) => l === "transparent" && c && x`
7946
7947
  @media ${S.HOVER} {
@@ -8027,71 +8028,73 @@ const L3 = ({
8027
8028
  "data-testid": l,
8028
8029
  as: c,
8029
8030
  ref: e,
8030
- size: a = 32,
8031
- icon: h,
8032
- iconSize: d = r2(a),
8033
- shadow: i,
8034
- borderRadius: r = "circle",
8035
- tooltip: f,
8036
- showTooltip: m,
8037
- "aria-label": o = A2(
8038
- 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"
8039
8041
  ),
8040
- to: z,
8041
- href: n,
8042
- blank: p,
8043
- variant: g = "plain",
8044
- showBackgroundHover: v,
8045
- isLoading: u,
8046
- loaderVariant: w,
8047
- loaderBorderWidth: C = 2,
8048
- disabled: H,
8049
- "aria-disabled": $ = u || H,
8050
- color: y = "primary",
8051
- className: R,
8052
- containerStyle: _,
8053
- ...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
8054
8056
  }) => {
8055
- const G = {
8057
+ const V = {
8056
8058
  "data-testid": l,
8057
8059
  as: c,
8058
- className: R,
8059
- showTooltip: m,
8060
- to: z,
8061
- href: n,
8062
- isLoading: u,
8063
- disabled: H,
8064
- "aria-disabled": $,
8065
- "aria-label": o,
8066
- blank: p,
8067
- variant: g,
8068
- showBackgroundHover: v,
8069
- borderRadius: r,
8070
- color: y,
8071
- shadow: i,
8072
- size: a,
8073
- loaderVariant: w,
8074
- icon: h,
8075
- iconSize: d,
8076
- 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,
8077
8080
  ref: e,
8078
- ...I
8081
+ ...T
8079
8082
  };
8080
- return f && m ? /* @__PURE__ */ t.jsx(
8083
+ return m && o ? /* @__PURE__ */ t.jsx(
8081
8084
  pl,
8082
8085
  {
8083
8086
  "data-testid": l,
8084
- className: R,
8085
- tooltip: f,
8086
- position: typeof m == "object" && (m != null && m.position) ? m.position : "top",
8087
- offset: typeof m == "object" && (m != null && m.offset) ? m.offset : void 0,
8088
- hideArrow: typeof m == "object" && m.hideArrow ? m.hideArrow : !1,
8089
- backgroundColor: typeof m == "object" && m.backgroundColor ? m.backgroundColor : "black-80",
8090
- textColor: typeof m == "object" && m.textColor ? m.textColor : "white",
8091
- style: _,
8092
- 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 })
8093
8096
  }
8094
- ) : /* @__PURE__ */ t.jsx(L3, { ...G });
8097
+ ) : /* @__PURE__ */ t.jsx(L3, { ...V });
8095
8098
  }, Al = ({
8096
8099
  "data-testid": l,
8097
8100
  ref: c,
@@ -8455,7 +8458,7 @@ const Wh = ({
8455
8458
  gap: d = "xs",
8456
8459
  ...i
8457
8460
  }) => {
8458
- const r = d2(null), [f, m] = O(0);
8461
+ const r = i2(null), [f, m] = O(0);
8459
8462
  return B0(() => {
8460
8463
  const o = () => {
8461
8464
  if (!r.current) return;
@@ -8513,8 +8516,8 @@ const Wh = ({
8513
8516
  overflow: hidden;
8514
8517
  position: relative;
8515
8518
  cursor: ${({ $cursor: l }) => l};
8516
- width: ${({ $width: l }) => l && D(l)};
8517
- height: ${({ $height: l }) => l && D(l)};
8519
+ width: ${({ $width: l }) => l && G(l)};
8520
+ height: ${({ $height: l }) => l && G(l)};
8518
8521
  background-color: ${({ theme: l, $backgroundColor: c }) => s.AllColors(c, l)};
8519
8522
  color: ${({ theme: l, $textColor: c }) => s.AllColors(c, l)};
8520
8523
  text-align: ${({ $textAlign: l }) => l};
@@ -8551,11 +8554,11 @@ const Kh = ({
8551
8554
  justifyContent: R,
8552
8555
  alignItems: _,
8553
8556
  justifyItems: I,
8554
- alignContent: G,
8555
- gap: T,
8556
- columnGap: c2,
8557
+ alignContent: T,
8558
+ gap: V,
8559
+ columnGap: l2,
8557
8560
  rowGap: P,
8558
- ...W
8561
+ ...Q
8559
8562
  }) => /* @__PURE__ */ t.jsx(
8560
8563
  R4,
8561
8564
  {
@@ -8591,11 +8594,11 @@ const Kh = ({
8591
8594
  $justifyContent: R,
8592
8595
  $alignItems: _,
8593
8596
  $justifyItems: I,
8594
- $alignContent: G,
8595
- $gap: T,
8596
- $columnGap: c2,
8597
+ $alignContent: T,
8598
+ $gap: V,
8599
+ $columnGap: l2,
8597
8600
  $rowGap: P,
8598
- ...W,
8601
+ ...Q,
8599
8602
  children: a
8600
8603
  }
8601
8604
  ), b2 = ({
@@ -9283,7 +9286,7 @@ const j2 = ({
9283
9286
  })}
9284
9287
  `, a3 = k.span`
9285
9288
  height: calc(${U.SMALL} * ${s2.BODY});
9286
- width: ${({ $iconSize: l }) => D(l)};
9289
+ width: ${({ $iconSize: l }) => G(l)};
9287
9290
  ${s.Flexbox({
9288
9291
  $inline: !0,
9289
9292
  $alignItems: "center",
@@ -9291,7 +9294,7 @@ const j2 = ({
9291
9294
  })}
9292
9295
  `, Z2 = k(F).attrs({ tag: "small" })`
9293
9296
  font-style: ${({ $fontStyle: l }) => l};
9294
- 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})`};
9295
9298
  `;
9296
9299
  j([
9297
9300
  P4,
@@ -9420,7 +9423,7 @@ const _l = ({
9420
9423
  E4,
9421
9424
  {
9422
9425
  "data-testid": e && l ? `${l}.Wrapper` : l,
9423
- className: E(
9426
+ className: D(
9424
9427
  e && c ? "Wrapper" : c,
9425
9428
  { Open: h }
9426
9429
  ),
@@ -9444,7 +9447,7 @@ const _l = ({
9444
9447
  D4,
9445
9448
  {
9446
9449
  "data-testid": l && `${l}.ListInput`,
9447
- className: E({ ListInput: e }, { Open: r }),
9450
+ className: D({ ListInput: e }, { Open: r }),
9448
9451
  ref: c,
9449
9452
  $direction: h,
9450
9453
  $inputBackground: d,
@@ -9467,7 +9470,7 @@ const _l = ({
9467
9470
  G4,
9468
9471
  {
9469
9472
  "data-testid": l && `${l}.ListItem`,
9470
- className: E(
9473
+ className: D(
9471
9474
  { ListItem: c },
9472
9475
  { Active: d },
9473
9476
  { Hovered: f }
@@ -9530,7 +9533,7 @@ const _l = ({
9530
9533
  Y4,
9531
9534
  {
9532
9535
  "data-testid": l && (d ? l : `${l}.InputAndListContainer`),
9533
- className: E(
9536
+ className: D(
9534
9537
  { InputAndListContainer: e && !d },
9535
9538
  { Open: h },
9536
9539
  d && e
@@ -9636,7 +9639,7 @@ const _l = ({
9636
9639
  "data-testid": l,
9637
9640
  ref: e,
9638
9641
  as: c,
9639
- className: E(p, { Open: g }),
9642
+ className: D(p, { Open: g }),
9640
9643
  style: v,
9641
9644
  ...w,
9642
9645
  children: [
@@ -9783,7 +9786,7 @@ const Vl = ({
9783
9786
  prefix: w,
9784
9787
  ...C
9785
9788
  }) => {
9786
- const H = d2(null), $ = q(() => {
9789
+ const H = i2(null), $ = X(() => {
9787
9790
  var y;
9788
9791
  return (y = H == null ? void 0 : H.current) == null ? void 0 : y.showPicker();
9789
9792
  }, []);
@@ -10090,9 +10093,9 @@ const Vl = ({
10090
10093
  prefix: H,
10091
10094
  ...$
10092
10095
  }) => {
10093
- const y = W0(), R = d2(null), _ = q(() => {
10094
- var G;
10095
- 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();
10096
10099
  }, []), I = u || [""];
10097
10100
  return t0(I, () => _()), /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
10098
10101
  (H || p) && /* @__PURE__ */ t.jsxs(
@@ -10210,7 +10213,7 @@ const Vl = ({
10210
10213
  prefix: w,
10211
10214
  ...C
10212
10215
  }) => {
10213
- const H = d2(null);
10216
+ const H = i2(null);
10214
10217
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
10215
10218
  (w || g) && /* @__PURE__ */ t.jsxs(
10216
10219
  C2,
@@ -10452,7 +10455,7 @@ const Vl = ({
10452
10455
  prefix: u,
10453
10456
  ...w
10454
10457
  }) => {
10455
- const C = d2(null), H = q(() => {
10458
+ const C = i2(null), H = X(() => {
10456
10459
  var $;
10457
10460
  return ($ = C == null ? void 0 : C.current) == null ? void 0 : $.showPicker();
10458
10461
  }, []);
@@ -10643,8 +10646,8 @@ const Fl = ({ type: l, ref: c, ...e }) => Ul(e, l, c), Z4 = ({
10643
10646
  }
10644
10647
  );
10645
10648
  }, W4 = k.label`
10646
- width: ${({ $width: l }) => D(l)};
10647
- height: ${({ $height: l }) => D(l)};
10649
+ width: ${({ $width: l }) => G(l)};
10650
+ height: ${({ $height: l }) => G(l)};
10648
10651
  position: relative;
10649
10652
  overflow: hidden;
10650
10653
  background-color: ${({ theme: l, $validationStatus: c }) => c === !1 ? l.DANGER_50 : l.GRAY_100};
@@ -10750,7 +10753,7 @@ const Zl = ({
10750
10753
  X4,
10751
10754
  {
10752
10755
  "data-testid": l && `${l}.HoverContainer`,
10753
- className: E(
10756
+ className: D(
10754
10757
  { HoverContainer: c },
10755
10758
  { Visible: i }
10756
10759
  ),
@@ -10796,9 +10799,9 @@ const Zl = ({
10796
10799
  containerStyle: C,
10797
10800
  ...H
10798
10801
  }) => {
10799
- const $ = !!(h || d || i || r || f), [y, R] = O(!1), _ = q(() => {
10802
+ const $ = !!(h || d || i || r || f), [y, R] = O(!1), _ = X(() => {
10800
10803
  R(!0);
10801
- }, []), I = q(() => {
10804
+ }, []), I = X(() => {
10802
10805
  R(!1);
10803
10806
  }, []);
10804
10807
  return /* @__PURE__ */ t.jsx(
@@ -11090,7 +11093,7 @@ const qh = ({
11090
11093
  a7,
11091
11094
  {
11092
11095
  "data-testid": l,
11093
- className: a && E(a, i && A2(i)),
11096
+ className: a && D(a, i && A2(i)),
11094
11097
  htmlFor: d,
11095
11098
  style: n,
11096
11099
  $variant: i,
@@ -11745,25 +11748,25 @@ const n0 = {
11745
11748
  countryButtonAriaLabel: R = "Select country",
11746
11749
  textNoResult: _ = "Your search did not return any result.",
11747
11750
  containerStyle: I,
11748
- inputAndListContainerStyle: G,
11749
- ...T
11751
+ inputAndListContainerStyle: T,
11752
+ ...V
11750
11753
  }) => {
11751
- const c2 = !!(h || d || i || r || f), P = k0(() => z || R3.find((l2) => l2.code === p), [p, z]), [W, J] = O(!1), V = q(() => {
11752
- J(!W);
11753
- }, [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);
11754
11757
  V2(
11755
11758
  Z,
11756
- q(() => {
11757
- W && J(!1);
11758
- }, [W])
11759
+ X(() => {
11760
+ Q && W(!1);
11761
+ }, [Q])
11759
11762
  );
11760
- const [X, h2] = O(""), z2 = k0(() => R3.filter(
11761
- (l2) => l2.name.toLowerCase().includes(X.toLowerCase()) || l2.dial_code.toLowerCase().includes(X.toLowerCase()) || l2.code.toLowerCase().includes(X.toLowerCase())
11762
- ), [X]), L = q((l2) => {
11763
- h2(l2.target.value);
11764
- }, []), Y = q(
11765
- (l2) => {
11766
- 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);
11767
11770
  },
11768
11771
  [n]
11769
11772
  ), e2 = {
@@ -11783,7 +11786,7 @@ const n0 = {
11783
11786
  className: e && "CaretIcon"
11784
11787
  }
11785
11788
  )
11786
- }, i2 = {
11789
+ }, d2 = {
11787
11790
  "data-testid": l,
11788
11791
  className: e,
11789
11792
  validationStatus: f == null ? void 0 : f.status,
@@ -11803,7 +11806,7 @@ const n0 = {
11803
11806
  value: H,
11804
11807
  counter: void 0,
11805
11808
  maxLength: $,
11806
- hasListOpen: W,
11809
+ hasListOpen: Q,
11807
11810
  iconBaseUrl: u,
11808
11811
  style: I,
11809
11812
  children: /* @__PURE__ */ t.jsxs(
@@ -11811,17 +11814,17 @@ const n0 = {
11811
11814
  {
11812
11815
  "data-testid": l,
11813
11816
  className: e,
11814
- hasListOpen: W,
11815
- inputAndListContainerStyle: G,
11816
- isParent: !c2,
11817
+ hasListOpen: Q,
11818
+ inputAndListContainerStyle: T,
11819
+ isParent: !l2,
11817
11820
  children: [
11818
11821
  /* @__PURE__ */ t.jsxs(
11819
11822
  q2,
11820
11823
  {
11821
11824
  "data-testid": l,
11822
11825
  className: e,
11823
- hasContainer: c2,
11824
- hasListOpen: W,
11826
+ hasContainer: l2,
11827
+ hasListOpen: Q,
11825
11828
  isTextArea: !1,
11826
11829
  inputVariant: o,
11827
11830
  inputBackground: m,
@@ -11843,7 +11846,7 @@ const n0 = {
11843
11846
  disabled: y,
11844
11847
  "aria-disabled": y,
11845
11848
  "aria-label": R,
11846
- onClick: V,
11849
+ onClick: E,
11847
11850
  $inputBackground: m,
11848
11851
  children: [
11849
11852
  /* @__PURE__ */ t.jsx(
@@ -11886,9 +11889,9 @@ const n0 = {
11886
11889
  {
11887
11890
  "data-testid": l && `${l}.Input`,
11888
11891
  ref: c,
11889
- className: E(
11892
+ className: D(
11890
11893
  { Input: e },
11891
- { WithListOpen: W }
11894
+ { WithListOpen: Q }
11892
11895
  ),
11893
11896
  id: a,
11894
11897
  type: "tel",
@@ -11897,7 +11900,7 @@ const n0 = {
11897
11900
  $inputBackground: m,
11898
11901
  $validationStatus: f == null ? void 0 : f.status,
11899
11902
  $inputVariant: o,
11900
- ...T
11903
+ ...V
11901
11904
  }
11902
11905
  ),
11903
11906
  f && /* @__PURE__ */ t.jsx(
@@ -11928,13 +11931,13 @@ const n0 = {
11928
11931
  "data-testid": l,
11929
11932
  className: e,
11930
11933
  ref: Z,
11931
- isOpen: W,
11934
+ isOpen: Q,
11932
11935
  direction: C,
11933
11936
  inputBackground: m,
11934
11937
  validationStatus: f == null ? void 0 : f.status,
11935
11938
  inputVariant: o,
11936
11939
  children: [
11937
- /* @__PURE__ */ t.jsx(W2, { readOnly: !0, ...i2, children: /* @__PURE__ */ t.jsxs(
11940
+ /* @__PURE__ */ t.jsx(W2, { readOnly: !0, ...d2, children: /* @__PURE__ */ t.jsxs(
11938
11941
  i7,
11939
11942
  {
11940
11943
  "data-testid": l && `${l}.ListInput.SearchContainer`,
@@ -11958,7 +11961,7 @@ const n0 = {
11958
11961
  "data-testid": l && `${l}.ListInput.SearchContainer.Input`,
11959
11962
  className: e && "InputSearch",
11960
11963
  placeholder: w,
11961
- value: X,
11964
+ value: c2,
11962
11965
  onChange: L,
11963
11966
  $inputBackground: m
11964
11967
  }
@@ -11966,24 +11969,24 @@ const n0 = {
11966
11969
  ]
11967
11970
  }
11968
11971
  ) }),
11969
- z2.length ? z2.map((l2) => /* @__PURE__ */ t.jsxs(
11972
+ o2.length ? o2.map((J) => /* @__PURE__ */ t.jsxs(
11970
11973
  W2,
11971
11974
  {
11972
- onClick: () => Y(l2),
11973
- isActive: P === l2,
11974
- ...i2,
11975
+ onClick: () => Y(J),
11976
+ isActive: P === J,
11977
+ ...d2,
11975
11978
  children: [
11976
- /* @__PURE__ */ t.jsx(D0, { src: l2.flag, width: 16 }),
11979
+ /* @__PURE__ */ t.jsx(D0, { src: J.flag, width: 16 }),
11977
11980
  /* @__PURE__ */ t.jsxs("span", { children: [
11978
11981
  "(",
11979
- l2.dial_code,
11982
+ J.dial_code,
11980
11983
  ") ",
11981
- l2.name
11984
+ J.name
11982
11985
  ] })
11983
11986
  ]
11984
11987
  },
11985
- l2.code
11986
- )) : /* @__PURE__ */ t.jsx(W2, { readOnly: !0, ...i2, children: _ })
11988
+ J.code
11989
+ )) : /* @__PURE__ */ t.jsx(W2, { readOnly: !0, ...d2, children: _ })
11987
11990
  ]
11988
11991
  }
11989
11992
  )
@@ -12049,9 +12052,9 @@ const _3 = 32, Jh = ({
12049
12052
  inputNoEdit: R,
12050
12053
  disabled: _,
12051
12054
  containerStyle: I,
12052
- ...G
12055
+ ...T
12053
12056
  }) => {
12054
- const T = !!(a || h || d || i || f), c2 = {
12057
+ const V = !!(a || h || d || i || f), l2 = {
12055
12058
  size: 32,
12056
12059
  showTooltip: y && {
12057
12060
  position: "top",
@@ -12060,23 +12063,23 @@ const _3 = 32, Jh = ({
12060
12063
  variant: u,
12061
12064
  color: (f == null ? void 0 : f.status) === !1 ? "danger" : "primary",
12062
12065
  iconBaseUrl: H
12063
- }, P = _ || !!(p && z <= p), W = _ || !!(g && z >= g), J = q(() => {
12064
- const X = z - v;
12065
- 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) {
12066
12069
  n(p);
12067
12070
  return;
12068
12071
  }
12069
- n(X);
12070
- }, [p, n, v, z]), V = q(() => {
12071
- const X = z + v;
12072
- if (g && X > g) {
12072
+ n(c2);
12073
+ }, [p, n, v, z]), E = X(() => {
12074
+ const c2 = z + v;
12075
+ if (g && c2 > g) {
12073
12076
  n(g);
12074
12077
  return;
12075
12078
  }
12076
- n(X);
12077
- }, [g, n, v, z]), Z = q(
12078
- (X) => {
12079
- 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);
12080
12083
  if (p && h2 < p) {
12081
12084
  n(p);
12082
12085
  return;
@@ -12109,8 +12112,8 @@ const _3 = 32, Jh = ({
12109
12112
  children: /* @__PURE__ */ t.jsxs(
12110
12113
  r7,
12111
12114
  {
12112
- "data-testid": T && l ? `${l}.InputCounterWrapper` : l,
12113
- className: T && e ? "InputCounterWrapper" : e,
12115
+ "data-testid": V && l ? `${l}.InputCounterWrapper` : l,
12116
+ className: V && e ? "InputCounterWrapper" : e,
12114
12117
  $isInputEditable: !R,
12115
12118
  children: [
12116
12119
  /* @__PURE__ */ t.jsx(
@@ -12129,10 +12132,10 @@ const _3 = 32, Jh = ({
12129
12132
  iconSize: w.minus,
12130
12133
  "aria-label": $.minus,
12131
12134
  tooltip: $.minus,
12132
- onClick: J,
12135
+ onClick: W,
12133
12136
  disabled: P,
12134
12137
  "aria-disabled": P,
12135
- ...c2
12138
+ ...l2
12136
12139
  }
12137
12140
  ),
12138
12141
  R ? /* @__PURE__ */ t.jsx(
@@ -12142,7 +12145,7 @@ const _3 = 32, Jh = ({
12142
12145
  className: e && "NumberValue",
12143
12146
  ref: c,
12144
12147
  $disabled: _,
12145
- ...G,
12148
+ ...T,
12146
12149
  children: z
12147
12150
  }
12148
12151
  ) : /* @__PURE__ */ t.jsx(
@@ -12150,7 +12153,7 @@ const _3 = 32, Jh = ({
12150
12153
  {
12151
12154
  "data-testid": l,
12152
12155
  className: e,
12153
- hasContainer: T,
12156
+ hasContainer: V,
12154
12157
  isTextArea: !1,
12155
12158
  inputBackground: m,
12156
12159
  inputVariant: o,
@@ -12160,7 +12163,7 @@ const _3 = 32, Jh = ({
12160
12163
  m7,
12161
12164
  {
12162
12165
  "data-testid": l && `${l}.Input`,
12163
- className: E(
12166
+ className: D(
12164
12167
  { Input: e },
12165
12168
  { WithListOpen: !1 }
12166
12169
  ),
@@ -12179,7 +12182,7 @@ const _3 = 32, Jh = ({
12179
12182
  $disabled: _,
12180
12183
  $validationStatus: f == null ? void 0 : f.status,
12181
12184
  $length: z.toString().length,
12182
- ...G
12185
+ ...T
12183
12186
  }
12184
12187
  )
12185
12188
  }
@@ -12200,10 +12203,10 @@ const _3 = 32, Jh = ({
12200
12203
  iconSize: w.plus,
12201
12204
  "aria-label": $.plus,
12202
12205
  tooltip: $.plus,
12203
- onClick: V,
12204
- disabled: W,
12205
- "aria-disabled": W,
12206
- ...c2
12206
+ onClick: E,
12207
+ disabled: Q,
12208
+ "aria-disabled": Q,
12209
+ ...l2
12207
12210
  }
12208
12211
  )
12209
12212
  ]
@@ -12516,9 +12519,9 @@ const I0 = ({
12516
12519
  color: "gray"
12517
12520
  }, [y, R] = O(
12518
12521
  p === "always"
12519
- ), _ = q(() => {
12522
+ ), _ = X(() => {
12520
12523
  p === "hover" && R(!0);
12521
- }, [p]), I = q(() => {
12524
+ }, [p]), I = X(() => {
12522
12525
  p === "hover" && R(!1);
12523
12526
  }, [p]);
12524
12527
  return /* @__PURE__ */ t.jsx(
@@ -12539,7 +12542,7 @@ const I0 = ({
12539
12542
  style: v,
12540
12543
  hasListOpen: void 0,
12541
12544
  children: n || p !== "never" ? /* @__PURE__ */ t.jsxs(
12542
- o2,
12545
+ z2,
12543
12546
  {
12544
12547
  "data-testid": w ? `${l}.SliderWrapper` : l,
12545
12548
  className: w ? "SliderWrapper" : e,
@@ -12568,7 +12571,7 @@ const I0 = ({
12568
12571
  p7,
12569
12572
  {
12570
12573
  "data-testid": l && `${l}.SliderWrapper.SliderContainer.Tooltip`,
12571
- className: E(
12574
+ className: D(
12572
12575
  { SliderTooltip: e },
12573
12576
  { Visible: y }
12574
12577
  ),
@@ -12626,7 +12629,7 @@ const I3 = ({
12626
12629
  {
12627
12630
  "data-testid": (g || p || f != null && f.left) && l ? `${l}.SelectContainer.SelectButton` : l,
12628
12631
  ref: c,
12629
- className: E(
12632
+ className: D(
12630
12633
  (g || p || f != null && f.left) && e ? "SelectButton" : e,
12631
12634
  { WithListOpen: h }
12632
12635
  ),
@@ -12668,22 +12671,22 @@ const I3 = ({
12668
12671
  containerStyle: R,
12669
12672
  ..._
12670
12673
  }) => {
12671
- 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 = {
12672
12675
  left: 16,
12673
12676
  caret: 16
12674
- }, { isOpen: P, setIsOpen: W, cursor: J, listRef: V } = F0({
12677
+ }, { isOpen: P, setIsOpen: Q, cursor: W, listRef: E } = F0({
12675
12678
  data: v || [],
12676
12679
  value: p,
12677
12680
  setValue: g
12678
12681
  });
12679
- V2(V, () => W(!1));
12682
+ V2(E, () => Q(!1));
12680
12683
  const Z = (h2) => {
12681
- h2.stopPropagation(), !P && v && v.length > 1 && W(!0);
12684
+ h2.stopPropagation(), !P && v && v.length > 1 && Q(!0);
12682
12685
  };
12683
12686
  m2(() => {
12684
- W(!1);
12687
+ Q(!1);
12685
12688
  }, [p]);
12686
- const X = {
12689
+ const c2 = {
12687
12690
  "data-testid": l,
12688
12691
  className: a,
12689
12692
  value: p,
@@ -12697,9 +12700,9 @@ const I3 = ({
12697
12700
  options: v,
12698
12701
  isOpen: P,
12699
12702
  hasContainer: I,
12700
- hasWrapper: T
12703
+ hasWrapper: V
12701
12704
  };
12702
- 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(
12703
12706
  b2,
12704
12707
  {
12705
12708
  "data-testid": l,
@@ -12724,8 +12727,8 @@ const I3 = ({
12724
12727
  ref: e,
12725
12728
  as: c,
12726
12729
  onClick: Z,
12727
- onFocus: () => W(!0),
12728
- onBlur: () => W(!1),
12730
+ onFocus: () => Q(!0),
12731
+ onBlur: () => Q(!1),
12729
12732
  ..._,
12730
12733
  children: [
12731
12734
  /* @__PURE__ */ t.jsxs(
@@ -12762,7 +12765,7 @@ const I3 = ({
12762
12765
  "data-testid": l,
12763
12766
  className: a,
12764
12767
  icon: w == null ? void 0 : w.left,
12765
- iconSize: (C == null ? void 0 : C.left) || c2.left,
12768
+ iconSize: (C == null ? void 0 : C.left) || l2.left,
12766
12769
  validationStatus: m == null ? void 0 : m.status,
12767
12770
  disabled: n,
12768
12771
  inputBackground: z,
@@ -12773,8 +12776,8 @@ const I3 = ({
12773
12776
  ]
12774
12777
  }
12775
12778
  ),
12776
- /* @__PURE__ */ t.jsx(I3, { ...X }),
12777
- (G || m) && /* @__PURE__ */ t.jsxs(
12779
+ /* @__PURE__ */ t.jsx(I3, { ...c2 }),
12780
+ (T || m) && /* @__PURE__ */ t.jsxs(
12778
12781
  u2,
12779
12782
  {
12780
12783
  "data-testid": l,
@@ -12792,7 +12795,7 @@ const I3 = ({
12792
12795
  inputBackground: z
12793
12796
  }
12794
12797
  ),
12795
- G && /* @__PURE__ */ t.jsx(
12798
+ T && /* @__PURE__ */ t.jsx(
12796
12799
  R2,
12797
12800
  {
12798
12801
  "data-testid": l,
@@ -12803,10 +12806,10 @@ const I3 = ({
12803
12806
  {
12804
12807
  "data-testid": l && `${l}.Button.Caret`,
12805
12808
  className: a && "Caret",
12806
- size: (C == null ? void 0 : C.caret) || c2.caret
12809
+ size: (C == null ? void 0 : C.caret) || l2.caret
12807
12810
  }
12808
12811
  ),
12809
- iconSize: (C == null ? void 0 : C.caret) || c2.caret,
12812
+ iconSize: (C == null ? void 0 : C.caret) || l2.caret,
12810
12813
  disabled: n,
12811
12814
  "aria-label": "Caret down",
12812
12815
  validationStatus: m == null ? void 0 : m.status,
@@ -12824,13 +12827,13 @@ const I3 = ({
12824
12827
  {
12825
12828
  "data-testid": l,
12826
12829
  className: a,
12827
- ref: V,
12830
+ ref: E,
12828
12831
  direction: u,
12829
12832
  inputBackground: z,
12830
12833
  inputVariant: o,
12831
12834
  validationStatus: m == null ? void 0 : m.status,
12832
12835
  isOpen: P,
12833
- children: v.map((h2, z2) => /* @__PURE__ */ t.jsx(
12836
+ children: v.map((h2, o2) => /* @__PURE__ */ t.jsx(
12834
12837
  W2,
12835
12838
  {
12836
12839
  "data-testid": l,
@@ -12839,10 +12842,10 @@ const I3 = ({
12839
12842
  validationStatus: m == null ? void 0 : m.status,
12840
12843
  onClick: () => g(h2),
12841
12844
  isActive: p === h2,
12842
- isHovered: J === z2 && p !== h2,
12845
+ isHovered: W === o2 && p !== h2,
12843
12846
  children: h2
12844
12847
  },
12845
- `${h2}-${z2}`
12848
+ `${h2}-${o2}`
12846
12849
  ))
12847
12850
  }
12848
12851
  )
@@ -12881,42 +12884,42 @@ const wt = ({
12881
12884
  disabled: R,
12882
12885
  containerStyle: _,
12883
12886
  inputAndListContainerStyle: I,
12884
- ...G
12887
+ ...T
12885
12888
  }) => {
12886
- 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 = $ || [""];
12887
12890
  t0(
12888
- J,
12889
- q(() => {
12891
+ W,
12892
+ X(() => {
12890
12893
  var f2;
12891
- 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();
12892
12895
  }, [])
12893
12896
  );
12894
- const V = k0(() => {
12897
+ const E = k0(() => {
12895
12898
  var D2, Q2;
12896
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);
12897
- }, [u, p, z]), { isOpen: Z, setIsOpen: X, cursor: h2, listRef: z2 } = F0({
12898
- data: V,
12900
+ }, [u, p, z]), { isOpen: Z, setIsOpen: c2, cursor: h2, listRef: o2 } = F0({
12901
+ data: E,
12899
12902
  value: z,
12900
12903
  setValue: n
12901
- }), L = q(
12904
+ }), L = X(
12902
12905
  (f2) => {
12903
12906
  n(f2.target.value);
12904
12907
  },
12905
12908
  [n]
12906
- ), Y = q(() => {
12909
+ ), Y = X(() => {
12907
12910
  n("");
12908
- }, [n]), e2 = q(
12911
+ }, [n]), e2 = X(
12909
12912
  (f2) => {
12910
12913
  n(f2);
12911
12914
  },
12912
12915
  [n]
12913
- ), i2 = q(() => {
12914
- X(!0);
12915
- }, [X]), l2 = q(
12916
+ ), d2 = X(() => {
12917
+ c2(!0);
12918
+ }, [c2]), J = X(
12916
12919
  () => setTimeout(() => {
12917
- X(!1);
12920
+ c2(!1);
12918
12921
  }, 100),
12919
- [X]
12922
+ [c2]
12920
12923
  );
12921
12924
  return /* @__PURE__ */ t.jsx(
12922
12925
  b2,
@@ -12942,14 +12945,14 @@ const wt = ({
12942
12945
  className: a,
12943
12946
  hasListOpen: Z,
12944
12947
  inputAndListContainerStyle: I,
12945
- isParent: !T,
12948
+ isParent: !V,
12946
12949
  children: [
12947
12950
  /* @__PURE__ */ t.jsxs(
12948
12951
  q2,
12949
12952
  {
12950
12953
  "data-testid": l,
12951
12954
  className: a,
12952
- hasContainer: T,
12955
+ hasContainer: V,
12953
12956
  hasListOpen: Z,
12954
12957
  isTextArea: !1,
12955
12958
  inputVariant: o,
@@ -12968,7 +12971,7 @@ const wt = ({
12968
12971
  "data-testid": l,
12969
12972
  className: a,
12970
12973
  icon: w.left,
12971
- iconSize: (C == null ? void 0 : C.left) || c2.left,
12974
+ iconSize: (C == null ? void 0 : C.left) || l2.left,
12972
12975
  validationStatus: f == null ? void 0 : f.status,
12973
12976
  disabled: R,
12974
12977
  inputBackground: m,
@@ -12982,23 +12985,23 @@ const wt = ({
12982
12985
  M7,
12983
12986
  {
12984
12987
  "data-testid": l && `${l}.Input`,
12985
- className: E(
12988
+ className: D(
12986
12989
  { Input: a },
12987
12990
  { WithListOpen: Z }
12988
12991
  ),
12989
- ref: g2([c, W]),
12992
+ ref: g2([c, Q]),
12990
12993
  id: e,
12991
12994
  value: z,
12992
12995
  disabled: R,
12993
12996
  onChange: L,
12994
12997
  type: "search",
12995
- onFocus: i2,
12996
- onBlur: l2,
12998
+ onFocus: d2,
12999
+ onBlur: J,
12997
13000
  $disabled: R,
12998
13001
  $validationStatus: f == null ? void 0 : f.status,
12999
13002
  $inputBackground: m,
13000
13003
  $inputVariant: o,
13001
- ...G
13004
+ ...T
13002
13005
  }
13003
13006
  ),
13004
13007
  (z.length || f || y) && /* @__PURE__ */ t.jsxs(
@@ -13021,10 +13024,10 @@ const wt = ({
13021
13024
  {
13022
13025
  "data-testid": l && `${l}.Button.Icon`,
13023
13026
  className: a && "ClearIcon",
13024
- size: (C == null ? void 0 : C.clear) || c2.clear
13027
+ size: (C == null ? void 0 : C.clear) || l2.clear
13025
13028
  }
13026
13029
  ),
13027
- iconSize: (C == null ? void 0 : C.clear) || c2.clear,
13030
+ iconSize: (C == null ? void 0 : C.clear) || l2.clear,
13028
13031
  inputBackground: m,
13029
13032
  disabled: R,
13030
13033
  "aria-label": "Clear",
@@ -13036,7 +13039,7 @@ const wt = ({
13036
13039
  {
13037
13040
  "data-testid": l && `${l}.Keys`,
13038
13041
  className: a && "Keys",
13039
- keys: e1(J)
13042
+ keys: e1(W)
13040
13043
  }
13041
13044
  ),
13042
13045
  f && /* @__PURE__ */ t.jsx(
@@ -13064,8 +13067,8 @@ const wt = ({
13064
13067
  inputVariant: o,
13065
13068
  validationStatus: f == null ? void 0 : f.status,
13066
13069
  isOpen: !!(z && Z),
13067
- ref: z2,
13068
- 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(
13069
13072
  W2,
13070
13073
  {
13071
13074
  "data-testid": l,
@@ -13170,7 +13173,7 @@ const ad = ({
13170
13173
  size: (i == null ? void 0 : i.checked) || C.checked
13171
13174
  }
13172
13175
  )
13173
- }, $ = q(
13176
+ }, $ = X(
13174
13177
  (y) => {
13175
13178
  h(y + 1);
13176
13179
  },
@@ -13194,7 +13197,7 @@ const ad = ({
13194
13197
  style: v,
13195
13198
  hasListOpen: void 0,
13196
13199
  children: /* @__PURE__ */ t.jsx(
13197
- o2,
13200
+ z2,
13198
13201
  {
13199
13202
  "data-testid": w ? `${l}.RatingContainer` : l,
13200
13203
  className: w ? "RatingContainer" : e,
@@ -13318,7 +13321,7 @@ const td = ({
13318
13321
  hasListOpen: void 0,
13319
13322
  iconBaseUrl: void 0,
13320
13323
  children: /* @__PURE__ */ t.jsx(
13321
- o2,
13324
+ z2,
13322
13325
  {
13323
13326
  "data-testid": $ ? `${l}.FlexContainer` : l,
13324
13327
  ref: c,
@@ -13333,7 +13336,7 @@ const td = ({
13333
13336
  className: e && "InputPin",
13334
13337
  ref: _,
13335
13338
  id: Object.keys(a)[I],
13336
- onChange: (G) => R(G, I),
13339
+ onChange: (T) => R(T, I),
13337
13340
  value: Object.values(a)[I],
13338
13341
  placeholder: d && d[I],
13339
13342
  type: r ? "password" : "text",
@@ -13353,7 +13356,7 @@ const td = ({
13353
13356
  }
13354
13357
  );
13355
13358
  }, b7 = k.form`
13356
- max-width: ${({ $maxWidth: l }) => D(l)};
13359
+ max-width: ${({ $maxWidth: l }) => G(l)};
13357
13360
  width: 100%;
13358
13361
  ${({ $gap: l }) => s.Flexbox({
13359
13362
  $flexDirection: "column",
@@ -13401,7 +13404,7 @@ const hd = ({
13401
13404
  children: [
13402
13405
  a,
13403
13406
  (h || d) && /* @__PURE__ */ t.jsxs(
13404
- o2,
13407
+ z2,
13405
13408
  {
13406
13409
  gap: "xxs",
13407
13410
  "data-testid": l && `${l}.ButtonsContainer`,
@@ -13451,7 +13454,7 @@ const hd = ({
13451
13454
  }, w7 = k.div`
13452
13455
  border: 1px solid ${({ theme: l }) => l.GRAY_200};
13453
13456
  border-radius: ${N.M};
13454
- max-height: ${({ $maxHeight: l }) => l && D(l)};
13457
+ max-height: ${({ $maxHeight: l }) => l && G(l)};
13455
13458
  overflow: hidden;
13456
13459
  overflow-y: scroll;
13457
13460
  position: relative;
@@ -13596,7 +13599,7 @@ const xt = ({
13596
13599
  "data-testid": l,
13597
13600
  ref: c,
13598
13601
  as: e,
13599
- className: E(h, { Scrolled: n }),
13602
+ className: D(h, { Scrolled: n }),
13600
13603
  $backgroundColor: d,
13601
13604
  $contentColor: i,
13602
13605
  $noSeparator: r,
@@ -13731,7 +13734,7 @@ const xt = ({
13731
13734
  noSeparator: m,
13732
13735
  ...o
13733
13736
  }) => {
13734
- const z = d2(null);
13737
+ const z = i2(null);
13735
13738
  return /* @__PURE__ */ t.jsxs(
13736
13739
  w7,
13737
13740
  {
@@ -13761,7 +13764,7 @@ const xt = ({
13761
13764
  ut,
13762
13765
  {
13763
13766
  "data-testid": n["data-testid"] || l,
13764
- className: E(n.className, {
13767
+ className: D(n.className, {
13765
13768
  ListGroupItem: !!a
13766
13769
  }),
13767
13770
  id: n.id,
@@ -14047,14 +14050,14 @@ const yt = ({
14047
14050
  "data-testid": l && `${l}.AccordionButton.IconContainer.Icon.${a === "plus" ? "Plus" : "Chevron"}`,
14048
14051
  className: c && "AccordionButtonIcon",
14049
14052
  size: 20
14050
- }, f = q(() => {
14053
+ }, f = X(() => {
14051
14054
  d(!h);
14052
14055
  }, [h, d]);
14053
14056
  return /* @__PURE__ */ t.jsxs(
14054
14057
  i3,
14055
14058
  {
14056
14059
  "data-testid": l && `${l}.AccordionButton`,
14057
- className: E(
14060
+ className: D(
14058
14061
  { AccordionButton: c },
14059
14062
  A2(e)
14060
14063
  ),
@@ -14065,7 +14068,7 @@ const yt = ({
14065
14068
  I7,
14066
14069
  {
14067
14070
  "data-testid": l && `${l}.AccordionButton.IconContainer`,
14068
- className: E(
14071
+ className: D(
14069
14072
  { AccordionButtonIconContainer: c },
14070
14073
  { Open: h },
14071
14074
  { [A2(a)]: typeof a == "string" }
@@ -14092,7 +14095,7 @@ const yt = ({
14092
14095
  S7,
14093
14096
  {
14094
14097
  "data-testid": l && `${l}.AccordionContent`,
14095
- className: E(
14098
+ className: D(
14096
14099
  { AccordionContent: c },
14097
14100
  { Open: a },
14098
14101
  A2(h)
@@ -14118,7 +14121,7 @@ const yt = ({
14118
14121
  "data-testid": l,
14119
14122
  as: e,
14120
14123
  ref: a,
14121
- className: E(c, A2(f)),
14124
+ className: D(c, A2(f)),
14122
14125
  $variant: f,
14123
14126
  ...m,
14124
14127
  children: [
@@ -14165,7 +14168,7 @@ const yt = ({
14165
14168
  "data-testid": l,
14166
14169
  ref: e,
14167
14170
  as: c,
14168
- className: E(a, m),
14171
+ className: D(a, m),
14169
14172
  ...f,
14170
14173
  children: r ? r.map((o) => /* @__PURE__ */ t.jsx(
14171
14174
  At,
@@ -14204,11 +14207,11 @@ const yt = ({
14204
14207
  switch (l) {
14205
14208
  case "up":
14206
14209
  return x`
14207
- bottom: ${D(c)};
14210
+ bottom: ${G(c)};
14208
14211
  `;
14209
14212
  case "down":
14210
14213
  return x`
14211
- top: ${D(c)};
14214
+ top: ${G(c)};
14212
14215
  `;
14213
14216
  default:
14214
14217
  return x``;
@@ -14217,9 +14220,9 @@ const yt = ({
14217
14220
 
14218
14221
  &.Open {
14219
14222
  box-shadow: ${({ $shadow: l }) => s.Shadow(l)};
14220
- max-height: ${({ $maxHeight: l }) => D(l)};
14223
+ max-height: ${({ $maxHeight: l }) => G(l)};
14221
14224
  }
14222
- `, N7 = k(o2)`
14225
+ `, N7 = k(z2)`
14223
14226
  position: relative;
14224
14227
  z-index: 0;
14225
14228
 
@@ -14365,17 +14368,17 @@ const G7 = ({
14365
14368
  shadow: n = "m",
14366
14369
  ...p
14367
14370
  }) => {
14368
- const g = d2(null);
14371
+ const g = i2(null);
14369
14372
  return V2(
14370
14373
  g,
14371
- q(() => i(!1), [i])
14374
+ X(() => i(!1), [i])
14372
14375
  ), /* @__PURE__ */ t.jsx(
14373
14376
  f3,
14374
14377
  {
14375
14378
  "data-testid": l,
14376
14379
  ref: g2([e, g]),
14377
14380
  as: c,
14378
- className: E(a, { Open: d }),
14381
+ className: D(a, { Open: d }),
14379
14382
  $direction: f,
14380
14383
  $maxHeight: o,
14381
14384
  $buttonOpenHeight: z,
@@ -14405,7 +14408,7 @@ const G7 = ({
14405
14408
  N7,
14406
14409
  {
14407
14410
  ref: l,
14408
- className: E(e, { Open: c }),
14411
+ className: D(e, { Open: c }),
14409
14412
  ...a
14410
14413
  }
14411
14414
  ), T7 = k.div`
@@ -14454,44 +14457,46 @@ const _t = {
14454
14457
  ref: e,
14455
14458
  className: a,
14456
14459
  id: h,
14457
- children: d,
14458
- maxWidth: i,
14459
- textColor: r = "font",
14460
- padding: f = "s",
14461
- borderRadius: m = "m",
14462
- gap: o = "xs",
14463
- alertColor: z = "primary",
14464
- backgroundColor: n,
14465
- border: p,
14466
- ...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
14467
14471
  }) => {
14468
- 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;
14469
14473
  return K2(`
14470
- ${h ? `#${h}` : `.${w}`} {
14471
- --alert-max-width: ${D(i || "100%")};
14474
+ ${h ? `#${h}` : `.${C}`} {
14475
+ --alert-max-width: ${G(r || "100%")};
14472
14476
  }
14473
14477
  `), /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsx(
14474
14478
  T7,
14475
14479
  {
14476
14480
  "data-testid": l,
14477
14481
  ref: e,
14478
- as: c || typeof d == "string" ? F : "div",
14479
- className: E(a, u),
14482
+ as: c || typeof i == "string" ? F : "div",
14483
+ className: D(a, w),
14480
14484
  id: h,
14481
- $backgroundColor: n || v.backgroundColor || "primary-50",
14485
+ role: d,
14486
+ $backgroundColor: p || u.backgroundColor || "primary-50",
14482
14487
  $border: {
14483
- color: v.borderColor || "primary",
14484
- ...p
14488
+ color: u.borderColor || "primary",
14489
+ ...g
14485
14490
  },
14486
- $borderRadius: m,
14487
- $gap: o,
14488
- $padding: f,
14489
- $textColor: r,
14490
- ...g,
14491
- children: d
14491
+ $borderRadius: o,
14492
+ $gap: z,
14493
+ $padding: m,
14494
+ $textColor: f,
14495
+ ...v,
14496
+ children: i
14492
14497
  }
14493
14498
  ) });
14494
- }, O7 = k(o2)`
14499
+ }, O7 = k(z2)`
14495
14500
  position: fixed;
14496
14501
  top: 0;
14497
14502
  left: 0;
@@ -14548,21 +14553,21 @@ const S3 = 48, jt = "Close modal", md = ({
14548
14553
  contentId: z,
14549
14554
  ...n
14550
14555
  }) => {
14551
- const p = q(() => {
14556
+ const p = X(() => {
14552
14557
  i(!1), b0();
14553
14558
  }, [i]);
14554
14559
  t0(
14555
14560
  ["Escape"],
14556
- q(() => {
14561
+ X(() => {
14557
14562
  d && !r && p();
14558
14563
  }, [r, p, d])
14559
14564
  );
14560
- const g = d2(null);
14565
+ const g = i2(null);
14561
14566
  V2(g, () => p());
14562
14567
  const v = s0(10, !0), u = (h == null ? void 0 : h.split(" ")[0]) || v;
14563
14568
  return K2(`
14564
14569
  ${z ? `#${z}` : `.${u}`} {
14565
- --modal-content-width: ${D(o || "90%")};
14570
+ --modal-content-width: ${G(o || "90%")};
14566
14571
  }
14567
14572
  `), /* @__PURE__ */ t.jsxs(
14568
14573
  O7,
@@ -14570,7 +14575,7 @@ const S3 = 48, jt = "Close modal", md = ({
14570
14575
  "data-testid": l,
14571
14576
  ref: e,
14572
14577
  as: c,
14573
- className: E(h, v, {
14578
+ className: D(h, v, {
14574
14579
  Open: d
14575
14580
  }),
14576
14581
  ...n,
@@ -14680,7 +14685,7 @@ const P2 = ({
14680
14685
  "data-testid": l,
14681
14686
  as: c,
14682
14687
  ref: e,
14683
- className: E(a, { Active: h }),
14688
+ className: D(a, { Active: h }),
14684
14689
  type: "button",
14685
14690
  $accentColor: i,
14686
14691
  $readOnly: r,
@@ -14708,18 +14713,18 @@ const P2 = ({
14708
14713
  currentPage: w,
14709
14714
  setCurrentPage: C,
14710
14715
  queries: i
14711
- }), _ = q(() => {
14712
- const T = Math.floor((u - 1) / f) * f;
14713
- return new Array(f).fill(r).map((c2, P) => T + P + 1).filter((c2) => c2 <= (r || 0));
14714
- }, [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";
14715
14720
  return r && r <= 1 ? null : /* @__PURE__ */ t.jsx(
14716
- o2,
14721
+ z2,
14717
14722
  {
14718
14723
  "data-testid": l,
14719
14724
  ref: e,
14720
14725
  as: c,
14721
14726
  justifyContent: n,
14722
- gap: G,
14727
+ gap: T,
14723
14728
  className: h,
14724
14729
  ...g,
14725
14730
  children: r ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
@@ -14758,7 +14763,7 @@ const P2 = ({
14758
14763
  P2,
14759
14764
  {
14760
14765
  "data-testid": l && `${l}.PaginationButton.Number${w === 1 ? ".Active" : ""}`,
14761
- className: h && E("Number", {
14766
+ className: h && D("Number", {
14762
14767
  Active: w === 1
14763
14768
  }),
14764
14769
  isActive: w === 1,
@@ -14778,17 +14783,17 @@ const P2 = ({
14778
14783
  }
14779
14784
  )
14780
14785
  ] }),
14781
- _.map((T) => /* @__PURE__ */ t.jsx(
14786
+ _.map((V) => /* @__PURE__ */ t.jsx(
14782
14787
  P2,
14783
14788
  {
14784
- "data-testid": l && `${l}.PaginationButton.Number${w === T ? ".Active" : ""}`,
14785
- className: h && E("Number", { Active: w === T }),
14786
- isActive: T === w,
14787
- 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),
14788
14793
  accentColor: d,
14789
- children: T
14794
+ children: V
14790
14795
  },
14791
- T
14796
+ V
14792
14797
  )),
14793
14798
  _[_.length - 1] !== r && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
14794
14799
  /* @__PURE__ */ t.jsx(
@@ -14895,12 +14900,12 @@ const V3 = 32, od = ({
14895
14900
  setCurrentPage: H,
14896
14901
  queries: z,
14897
14902
  totalPages: h
14898
- }), _ = q(
14903
+ }), _ = X(
14899
14904
  (I) => R(Number(I.target.value)),
14900
14905
  [R]
14901
14906
  );
14902
14907
  return h && h <= 1 ? null : /* @__PURE__ */ t.jsxs(
14903
- o2,
14908
+ z2,
14904
14909
  {
14905
14910
  "data-testid": l,
14906
14911
  ref: e,
@@ -15111,7 +15116,7 @@ const It = ({
15111
15116
  r3,
15112
15117
  {
15113
15118
  "data-testid": l,
15114
- className: E(h, { StepLink: H }),
15119
+ className: D(h, { StepLink: H }),
15115
15120
  ref: e,
15116
15121
  as: C,
15117
15122
  to: p,
@@ -15127,7 +15132,7 @@ const It = ({
15127
15132
  W7,
15128
15133
  {
15129
15134
  "data-testid": l && `${l}.NumberContainer`,
15130
- className: E(
15135
+ className: D(
15131
15136
  { NumberContainer: h },
15132
15137
  { Active: r }
15133
15138
  ),
@@ -15288,7 +15293,7 @@ const pd = ({
15288
15293
  "data-testid": l,
15289
15294
  ref: e,
15290
15295
  as: c,
15291
- className: E(
15296
+ className: D(
15292
15297
  a,
15293
15298
  { Animated: !i },
15294
15299
  z,
@@ -15346,7 +15351,7 @@ const D3 = ({
15346
15351
  return /* @__PURE__ */ t.jsx(
15347
15352
  Q7,
15348
15353
  {
15349
- className: E(l, { Animated: !a }),
15354
+ className: D(l, { Animated: !a }),
15350
15355
  r: 70,
15351
15356
  cx: 100,
15352
15357
  cy: 100,
@@ -15684,7 +15689,7 @@ const Dt = ({
15684
15689
  "data-testid": l,
15685
15690
  ref: e,
15686
15691
  as: c,
15687
- className: E(a, { Active: r }),
15692
+ className: D(a, { Active: r }),
15688
15693
  onClick: f,
15689
15694
  $justify: d,
15690
15695
  $variant: i,
@@ -15705,7 +15710,7 @@ const Dt = ({
15705
15710
  "data-testid": l,
15706
15711
  ref: e,
15707
15712
  as: c,
15708
- className: E(h, { Active: d }),
15713
+ className: D(h, { Active: d }),
15709
15714
  ...i,
15710
15715
  children: a
15711
15716
  }
@@ -15790,16 +15795,16 @@ const Dt = ({
15790
15795
  $justifyItems: "center"
15791
15796
  })};
15792
15797
  position: relative;
15793
- `, i5 = k(o2).attrs({ flexDirection: "column" })`
15798
+ `, i5 = k(z2).attrs({ flexDirection: "column" })`
15794
15799
  width: 100%;
15795
- height: ${({ $height: l }) => D(l)};
15800
+ height: ${({ $height: l }) => G(l)};
15796
15801
  position: relative;
15797
15802
  overflow: hidden;
15798
- `, f5 = k(o2)`
15803
+ `, f5 = k(z2)`
15799
15804
  overflow: hidden;
15800
15805
  width: 100%;
15801
15806
  height: 100%;
15802
- `, r5 = k(o2)`
15807
+ `, r5 = k(z2)`
15803
15808
  transition: all ${({ $speed: l }) => l}ms ease;
15804
15809
  width: 100%;
15805
15810
  transform: ${({ $active: l }) => `translateX(-${l * 100}%)`};
@@ -15856,7 +15861,7 @@ const Dt = ({
15856
15861
  display: none;
15857
15862
  }
15858
15863
  `}
15859
- `, s5 = k(o2).attrs({
15864
+ `, s5 = k(z2).attrs({
15860
15865
  justifyContent: "center",
15861
15866
  alignItems: "center",
15862
15867
  gap: "xs"
@@ -16131,7 +16136,7 @@ const O3 = 24, B3 = 32, Y3 = ({
16131
16136
  z5,
16132
16137
  {
16133
16138
  "data-testid": l && `${l}.SlideshowPagination.Thumbnail`,
16134
- className: E(
16139
+ className: D(
16135
16140
  {
16136
16141
  SlideshowThumbnail: c
16137
16142
  },
@@ -16156,7 +16161,7 @@ const O3 = 24, B3 = 32, Y3 = ({
16156
16161
  o5,
16157
16162
  {
16158
16163
  "data-testid": l && `${l}.SlideshowPagination.PaginationItem`,
16159
- className: E(
16164
+ className: D(
16160
16165
  { SlideshowPaginationItem: c },
16161
16166
  { Active: i === n }
16162
16167
  ),
@@ -16183,17 +16188,17 @@ const O3 = 24, B3 = 32, Y3 = ({
16183
16188
  ...z
16184
16189
  }) => {
16185
16190
  var I;
16186
- 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(() => {
16187
16192
  p(n < g - 1 ? n + 1 : 0);
16188
16193
  }, [n, g]);
16189
16194
  m2(() => {
16190
16195
  !f && !m && !(o != null && o.autoPlay) ? setInterval(() => w(), 1500) : o != null && o.autoPlay && setInterval(() => w(), o.autoPlay);
16191
16196
  }, [o == null ? void 0 : o.autoPlay, w, f, m]);
16192
- 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) => {
16193
16198
  if (C === null)
16194
16199
  return;
16195
- const T = C - G.touches[0].clientX;
16196
- 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);
16197
16202
  }, R = !!(h && h.length > 1 || d && d.length > 1 && f), _ = !!(h && h.length > 1 || d && d.length > 1 && m);
16198
16203
  return /* @__PURE__ */ t.jsxs(
16199
16204
  d5,
@@ -16236,11 +16241,11 @@ const O3 = 24, B3 = 32, Y3 = ({
16236
16241
  $active: n,
16237
16242
  $speed: (o == null ? void 0 : o.speed) || 1e3,
16238
16243
  $imgFit: r,
16239
- children: d ? d.map((G, T) => /* @__PURE__ */ t.jsx(
16244
+ children: d ? d.map((T, V) => /* @__PURE__ */ t.jsx(
16240
16245
  X2,
16241
16246
  {
16242
- src: G,
16243
- alt: `Image slideshow ${T}`,
16247
+ src: T,
16248
+ alt: `Image slideshow ${V}`,
16244
16249
  fit: r,
16245
16250
  "data-testid": l && `${l}.SlideshowWrapper.SlideshowContentWrapper.SlideshowContent.Image`,
16246
16251
  className: a && "SlideshowImage"
@@ -16282,7 +16287,7 @@ const O3 = 24, B3 = 32, Y3 = ({
16282
16287
  }, p5 = k.div`
16283
16288
  position: relative;
16284
16289
  width: 100%;
16285
- height: ${({ $height: l }) => D(l)};
16290
+ height: ${({ $height: l }) => G(l)};
16286
16291
 
16287
16292
  ${({ $overlay: l }) => l && x`
16288
16293
  &:before {
@@ -16304,7 +16309,7 @@ const O3 = 24, B3 = 32, Y3 = ({
16304
16309
  position: fixed;
16305
16310
  top: 0;
16306
16311
  left: 0;
16307
- `, n5 = k(o2)`
16312
+ `, n5 = k(z2)`
16308
16313
  position: relative;
16309
16314
  top: 0;
16310
16315
  left: 0;
@@ -16472,7 +16477,7 @@ const kd = ({
16472
16477
  $flexDirection: "column",
16473
16478
  $gap: "s"
16474
16479
  })}
16475
- `, b5 = k(o2)`
16480
+ `, b5 = k(z2)`
16476
16481
  flex-grow: 1;
16477
16482
  overflow-y: scroll;
16478
16483
  ${s.HideScrollbar};
@@ -16614,7 +16619,7 @@ const Pt = ({
16614
16619
  hideScrollButton: r,
16615
16620
  ...f
16616
16621
  }) => {
16617
- 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 = () => {
16618
16623
  var v, u;
16619
16624
  if (z && z.current) {
16620
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;
@@ -16666,7 +16671,7 @@ const Pt = ({
16666
16671
  x5,
16667
16672
  {
16668
16673
  "data-testid": l && `${l}.ScrollButton`,
16669
- className: E(
16674
+ className: D(
16670
16675
  {
16671
16676
  MessagesListScrollButton: a
16672
16677
  },
@@ -16702,7 +16707,7 @@ const Pt = ({
16702
16707
  iconBaseUrl: f,
16703
16708
  ...m
16704
16709
  }) => {
16705
- const [o, z] = O(!1), n = q(
16710
+ const [o, z] = O(!1), n = X(
16706
16711
  (v) => {
16707
16712
  h.setMessage(v.target.value), r(v.target.scrollHeight), v.target.value.length || r(32);
16708
16713
  },
@@ -16800,7 +16805,7 @@ const Pt = ({
16800
16805
  }) => {
16801
16806
  const g = n === "short" ? l0 : C6;
16802
16807
  return /* @__PURE__ */ t.jsxs(
16803
- o2,
16808
+ z2,
16804
16809
  {
16805
16810
  "data-testid": l,
16806
16811
  ref: e,
@@ -16815,7 +16820,7 @@ const Pt = ({
16815
16820
  C5,
16816
16821
  {
16817
16822
  "data-testid": l && `${l}.Message`,
16818
- className: E(
16823
+ className: D(
16819
16824
  { MessageText: a },
16820
16825
  A2(h)
16821
16826
  ),
@@ -16856,7 +16861,7 @@ const Pt = ({
16856
16861
  #message-container-scroll-button,
16857
16862
  #messaging-form,
16858
16863
  #messaging-form-input {
16859
- --input-height: ${D(
16864
+ --input-height: ${G(
16860
16865
  z >= 72 ? 72 : z
16861
16866
  )};
16862
16867
  }
@@ -17128,7 +17133,7 @@ const y5 = k.div`
17128
17133
  &.Visible {
17129
17134
  display: block;
17130
17135
  }
17131
- `, A5 = k(o2).attrs({
17136
+ `, A5 = k(z2).attrs({
17132
17137
  gap: "xs",
17133
17138
  alignItems: "center",
17134
17139
  justifyContent: "space-between",
@@ -17207,7 +17212,7 @@ const Qt = ({
17207
17212
  editor: i,
17208
17213
  setEditor: r
17209
17214
  }) => /* @__PURE__ */ t.jsx(
17210
- o2,
17215
+ z2,
17211
17216
  {
17212
17217
  "data-testid": l && `${l}.EditorContainer.ButtonsContainer.EditorButtonsContainer`,
17213
17218
  className: c && "EditorButtonsContainer",
@@ -17221,7 +17226,7 @@ const Qt = ({
17221
17226
  s3,
17222
17227
  {
17223
17228
  "data-testid": l && `${l}.EditorContainer.ButtonsContainer.EditorButtonsContainer.EditorButton`,
17224
- className: E(
17229
+ className: D(
17225
17230
  { EditorButton: c },
17226
17231
  { Active: i === f.name }
17227
17232
  ),
@@ -17338,7 +17343,7 @@ const eh = ({
17338
17343
  maxLength: m,
17339
17344
  ...o
17340
17345
  }) => {
17341
- const z = q(
17346
+ const z = X(
17342
17347
  (n) => {
17343
17348
  h(n.target.value), d(n.target.scrollHeight), n.target.value.length || d(250);
17344
17349
  },
@@ -17354,7 +17359,7 @@ const eh = ({
17354
17359
  $5,
17355
17360
  {
17356
17361
  "data-testid": l && `${l}.EditorContainer.ContainerGrid.Textarea`,
17357
- className: E(
17362
+ className: D(
17358
17363
  { Textarea: e },
17359
17364
  {
17360
17365
  Visible: a === "editorCode" || a === "editorLive"
@@ -17379,7 +17384,7 @@ const eh = ({
17379
17384
  I5,
17380
17385
  {
17381
17386
  "data-testid": l && `${l}.EditorContainer.ContainerGrid.MarkdownContent`,
17382
- className: E(
17387
+ className: D(
17383
17388
  { MarkdownContent: e },
17384
17389
  {
17385
17390
  Visible: a === "editorPreview" || a === "editorLive"
@@ -17416,13 +17421,13 @@ const eh = ({
17416
17421
  containerStyle: $,
17417
17422
  ...y
17418
17423
  }) => {
17419
- const [R, _] = O(o), [I, G] = O(250), T = d2(null), c2 = q(
17420
- (W) => {
17421
- var V;
17422
- const J = `${e}${W}`;
17423
- 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();
17424
17429
  },
17425
- [e, a, T]
17430
+ [e, a, V]
17426
17431
  ), P = !!(n || p || g || v || u || w);
17427
17432
  return K2(`
17428
17433
  :root {
@@ -17461,7 +17466,7 @@ const eh = ({
17461
17466
  className: z && "ButtonsContainer",
17462
17467
  children: [
17463
17468
  /* @__PURE__ */ t.jsxs(
17464
- o2,
17469
+ z2,
17465
17470
  {
17466
17471
  "data-testid": l && `${l}.EditorContainer.ButtonsContainer.ActionButtonsContainer`,
17467
17472
  className: z && "ActionButtonsContainer",
@@ -17475,8 +17480,8 @@ const eh = ({
17475
17480
  showButtons: i,
17476
17481
  className: z,
17477
17482
  textButtonTitles: H,
17478
- inputRef: T,
17479
- addCode: c2
17483
+ inputRef: V,
17484
+ addCode: l2
17480
17485
  }
17481
17486
  ),
17482
17487
  /* @__PURE__ */ t.jsx(
@@ -17488,7 +17493,7 @@ const eh = ({
17488
17493
  icons: r,
17489
17494
  iconsSizes: f,
17490
17495
  iconsBaseUrl: m,
17491
- addCode: c2
17496
+ addCode: l2
17492
17497
  }
17493
17498
  )
17494
17499
  ]
@@ -17517,8 +17522,8 @@ const eh = ({
17517
17522
  ref: c,
17518
17523
  className: z,
17519
17524
  editor: R,
17520
- setHeight: G,
17521
- inputRef: T,
17525
+ setHeight: T,
17526
+ inputRef: V,
17522
17527
  setValue: a,
17523
17528
  id: h,
17524
17529
  value: e,
@@ -17804,7 +17809,7 @@ const Hd = ({
17804
17809
  className: h,
17805
17810
  ...d
17806
17811
  }) => {
17807
- const [i, r] = O(!0), f = d2(null);
17812
+ const [i, r] = O(!0), f = i2(null);
17808
17813
  return m2(() => {
17809
17814
  new IntersectionObserver((o) => {
17810
17815
  o.forEach((z) => r(z.isIntersecting));
@@ -17815,7 +17820,7 @@ const Hd = ({
17815
17820
  "data-testid": l,
17816
17821
  ref: g2([e, f]),
17817
17822
  as: c,
17818
- className: E(h, { Visible: i }),
17823
+ className: D(h, { Visible: i }),
17819
17824
  ...d,
17820
17825
  children: a
17821
17826
  }
@@ -17871,7 +17876,7 @@ const Cd = ({
17871
17876
  G5,
17872
17877
  {
17873
17878
  "data-testid": l,
17874
- className: E(e, { Visible: f }),
17879
+ className: D(e, { Visible: f }),
17875
17880
  ref: c,
17876
17881
  icon: a,
17877
17882
  onClick: o,
@@ -18145,7 +18150,7 @@ const Cd = ({
18145
18150
  }
18146
18151
  `, Y5 = k.form`
18147
18152
  width: 100%;
18148
- max-width: ${({ $maxWidth: l }) => l && D(l)};
18153
+ max-width: ${({ $maxWidth: l }) => l && G(l)};
18149
18154
 
18150
18155
  @media ${S.BREAKPOINT_MOBILE} {
18151
18156
  max-width: 100%;
@@ -18177,6 +18182,7 @@ const U3 = ({
18177
18182
  {
18178
18183
  "data-testid": l && `${l}.HeaderBurger`,
18179
18184
  ref: c,
18185
+ role: "button",
18180
18186
  className: e && "HeaderBurger",
18181
18187
  isOpen: a,
18182
18188
  onClick: () => {
@@ -18270,57 +18276,59 @@ const U3 = ({
18270
18276
  }
18271
18277
  ), F3 = ({
18272
18278
  "data-testid": l,
18273
- className: c,
18274
- search: e,
18275
- isOpen: a,
18276
- children: h,
18277
- links: d,
18278
- headerHeight: i,
18279
- variant: r,
18280
- navMobileVariant: f,
18281
- burgerPosition: m,
18282
- burgerRef: o,
18283
- handleClose: z,
18284
- 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
18285
18292
  }) => {
18286
- const p = Z0(600), g = d2(null);
18287
- V2(g, (H) => {
18288
- var $;
18289
- ($ = 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();
18290
18297
  });
18291
- 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;
18292
18299
  return /* @__PURE__ */ t.jsxs(
18293
18300
  O5,
18294
18301
  {
18295
18302
  "data-testid": l && `${l}.HeaderNav`,
18296
- ref: g,
18297
- className: E({ HeaderNav: c }, { Open: a }),
18298
- $headerHeight: i,
18299
- $variant: r,
18300
- $burgerPosition: m,
18301
- $navMobileVariant: f,
18302
- $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,
18303
18311
  children: [
18304
- p && e && /* @__PURE__ */ t.jsx(
18312
+ g && a && /* @__PURE__ */ t.jsx(
18305
18313
  T0,
18306
18314
  {
18307
- ...e,
18315
+ ...a,
18308
18316
  "data-testid": l,
18309
- className: c,
18310
- handleClose: z
18317
+ className: e,
18318
+ handleClose: n
18311
18319
  }
18312
18320
  ),
18313
- d && d.map((H) => /* @__PURE__ */ t.jsx(
18321
+ i && i.map(($) => /* @__PURE__ */ t.jsx(
18314
18322
  th,
18315
18323
  {
18316
18324
  "data-testid": l,
18317
- className: c,
18318
- link: H
18325
+ className: e,
18326
+ link: $
18319
18327
  },
18320
18328
  K()
18321
18329
  )),
18322
- h && h,
18323
- n && n
18330
+ d && d,
18331
+ p && p
18324
18332
  ]
18325
18333
  }
18326
18334
  );
@@ -18355,6 +18363,7 @@ const U3 = ({
18355
18363
  href: i,
18356
18364
  "data-testid": l && `${l}.HeaderLogo`,
18357
18365
  className: c && "HeaderLogo",
18366
+ role: "link",
18358
18367
  children: /* @__PURE__ */ t.jsx(G0, { ...n })
18359
18368
  }
18360
18369
  ) : /* @__PURE__ */ t.jsx(
@@ -18363,6 +18372,7 @@ const U3 = ({
18363
18372
  "data-testid": l && `${l}.HeaderLogo`,
18364
18373
  className: c && "HeaderLogo",
18365
18374
  to: d,
18375
+ role: "link",
18366
18376
  children: /* @__PURE__ */ t.jsx(G0, { ...n })
18367
18377
  }
18368
18378
  );
@@ -18376,6 +18386,8 @@ const U3 = ({
18376
18386
  to: d,
18377
18387
  href: i,
18378
18388
  translate: "no",
18389
+ role: "link",
18390
+ "aria-label": "Header Logo",
18379
18391
  children: a
18380
18392
  }
18381
18393
  );
@@ -18384,64 +18396,65 @@ const U3 = ({
18384
18396
  as: c,
18385
18397
  ref: e,
18386
18398
  children: a,
18387
- className: h,
18388
- logo: d,
18389
- variant: i = "primary",
18390
- burgerPosition: r = "right",
18391
- navDesktopVariant: f = "right",
18392
- navMobileVariant: m = "drawer",
18393
- search: o,
18394
- position: z = "relative",
18395
- hideOnScroll: n,
18396
- links: p,
18397
- nav: g,
18398
- enableScrollingOpen: v,
18399
- backgroundColor: u = "primary",
18400
- textColor: w = "background",
18401
- linkColor: C = "white",
18402
- ...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
+ ...$
18403
18416
  }) => {
18404
- const [$, y] = O(!1), R = () => {
18405
- v || P0(), y(!0);
18406
- }, _ = () => {
18407
- v || b0(), setTimeout(() => y(!1), 10);
18408
- }, 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;
18409
18422
  m2(() => {
18410
- h2 && (window.pageYOffset >= h2 ? X(!0) : X(!1), window.addEventListener("scroll", () => {
18411
- 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);
18412
18425
  }));
18413
- }, [h2]);
18414
- const z2 = d2(null);
18426
+ }, [o2]);
18427
+ const L = i2(null);
18415
18428
  t0("Escape", () => {
18416
- $ && _();
18429
+ y && I();
18417
18430
  });
18418
- const L = {
18431
+ const Y = {
18419
18432
  "data-testid": l,
18420
- className: h,
18421
- isOpen: $,
18422
- navMobileVariant: m,
18423
- variant: i,
18424
- ref: z2,
18425
- handleOpen: R,
18426
- handleClose: _
18427
- }, Y = {
18433
+ className: d,
18434
+ isOpen: y,
18435
+ navMobileVariant: o,
18436
+ variant: r,
18437
+ ref: L,
18438
+ handleOpen: _,
18439
+ handleClose: I
18440
+ }, e2 = {
18428
18441
  "data-testid": l,
18429
- className: h,
18430
- search: o,
18431
- isOpen: $,
18432
- handleClose: _,
18433
- links: p,
18442
+ className: d,
18443
+ search: z,
18444
+ isOpen: y,
18445
+ handleClose: I,
18446
+ links: g,
18434
18447
  children: a,
18435
- headerHeight: V,
18436
- variant: i,
18437
- navMobileVariant: m,
18438
- burgerPosition: r,
18439
- burgerRef: z2
18440
- }, e2 = {
18448
+ headerHeight: Z,
18449
+ variant: r,
18450
+ navMobileVariant: o,
18451
+ burgerPosition: f,
18452
+ burgerRef: L
18453
+ }, d2 = {
18441
18454
  "data-testid": l,
18442
- className: h,
18443
- search: o,
18444
- handleClose: _
18455
+ className: d,
18456
+ search: z,
18457
+ handleClose: I
18445
18458
  };
18446
18459
  return /* @__PURE__ */ t.jsxs(
18447
18460
  T5,
@@ -18449,46 +18462,47 @@ const U3 = ({
18449
18462
  "data-testid": l,
18450
18463
  ref: e,
18451
18464
  as: c,
18452
- className: E(
18453
- h,
18454
- { Hidden: Z },
18455
- { Open: $ }
18465
+ className: D(
18466
+ d,
18467
+ { Hidden: c2 },
18468
+ { Open: y }
18456
18469
  ),
18457
- $burgerPosition: r,
18458
- $headerHeight: V,
18459
- $position: z,
18460
- $variant: i,
18461
- $backgroundColor: u,
18462
- $linkColor: C,
18463
- $textColor: w,
18464
- ...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
+ ...$,
18465
18479
  children: [
18466
- r === "left" && /* @__PURE__ */ t.jsx(U3, { ...L }),
18480
+ f === "left" && /* @__PURE__ */ t.jsx(U3, { ...Y }),
18467
18481
  /* @__PURE__ */ t.jsx(
18468
18482
  hh,
18469
18483
  {
18470
18484
  "data-testid": l,
18471
- className: h,
18472
- logo: d,
18473
- isOpen: $,
18474
- children: typeof d == "object" ? d.text : d
18485
+ className: d,
18486
+ logo: i,
18487
+ isOpen: y,
18488
+ children: typeof i == "object" ? i.text : i
18475
18489
  }
18476
18490
  ),
18477
- f === "left" && /* @__PURE__ */ t.jsx(F3, { ...Y }),
18478
- !I && f === "right" && /* @__PURE__ */ t.jsx(T0, { ...e2 }),
18479
- r === "right" && /* @__PURE__ */ t.jsx(U3, { ...L }),
18480
- f === "right" && /* @__PURE__ */ t.jsx(F3, { ...Y }),
18481
- 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(
18482
18496
  B5,
18483
18497
  {
18484
- onClick: () => y(!1),
18485
- className: E(
18486
- { HeaderOverlay: h },
18487
- { Visible: $ }
18498
+ onClick: () => R(!1),
18499
+ className: D(
18500
+ { HeaderOverlay: d },
18501
+ { Visible: y }
18488
18502
  )
18489
18503
  }
18490
18504
  ),
18491
- !I && f === "left" && /* @__PURE__ */ t.jsx(T0, { ...e2 })
18505
+ !T && m === "left" && /* @__PURE__ */ t.jsx(T0, { ...d2 })
18492
18506
  ]
18493
18507
  }
18494
18508
  );
@@ -18603,7 +18617,7 @@ const ih = ({
18603
18617
  iconBaseUrl: n,
18604
18618
  ...p
18605
18619
  }) => {
18606
- const [g, v] = O(!1), u = d2(null);
18620
+ const [g, v] = O(!1), u = i2(null);
18607
18621
  return V2(u, () => {
18608
18622
  g && v(!1);
18609
18623
  }), /* @__PURE__ */ t.jsxs(
@@ -18642,7 +18656,7 @@ const ih = ({
18642
18656
  F5,
18643
18657
  {
18644
18658
  "data-testid": l && `${l}.OpenButton.Icon`,
18645
- className: E(
18659
+ className: D(
18646
18660
  { OpenIcon: h },
18647
18661
  { Open: g }
18648
18662
  )
@@ -18656,7 +18670,7 @@ const ih = ({
18656
18670
  ih,
18657
18671
  {
18658
18672
  "data-testid": w["data-testid"] || l && `${l}.Item`,
18659
- className: E(
18673
+ className: D(
18660
18674
  w.className,
18661
18675
  { IconMenuItem: h },
18662
18676
  { Open: g }
@@ -18733,7 +18747,7 @@ const ih = ({
18733
18747
  object-position: left center;
18734
18748
  `, X5 = k(F).attrs({ tag: "strong" })`
18735
18749
  color: ${({ theme: l }) => l.Primary500};
18736
- `, q5 = k(o2).attrs({
18750
+ `, q5 = k(z2).attrs({
18737
18751
  alignItems: "center",
18738
18752
  justifyContent: "center",
18739
18753
  gap: "xs",
@@ -18887,7 +18901,7 @@ const fh = ({
18887
18901
  visibility: visible;
18888
18902
  }
18889
18903
  `, c6 = k.div`
18890
- width: ${({ $width: l }) => D(l)};
18904
+ width: ${({ $width: l }) => G(l)};
18891
18905
  height: 100%;
18892
18906
  background-color: ${({ $backgroundColor: l, theme: c }) => s.AllColors(l, c)};
18893
18907
  color: ${({ $contentColor: l, theme: c }) => s.AllColors(l, c)};
@@ -18982,7 +18996,7 @@ const Ad = ({
18982
18996
  "data-testid": l,
18983
18997
  ref: e,
18984
18998
  as: c,
18985
- className: E(h, { Open: d }),
18999
+ className: D(h, { Open: d }),
18986
19000
  $zIndex: g,
18987
19001
  ...C,
18988
19002
  children: [
@@ -18991,7 +19005,7 @@ const Ad = ({
18991
19005
  {
18992
19006
  "data-testid": l && `${l}.Overlay`,
18993
19007
  onClick: H,
18994
- className: E(
19008
+ className: D(
18995
19009
  { DrawerOverlay: h },
18996
19010
  { Open: d }
18997
19011
  ),
@@ -19002,7 +19016,7 @@ const Ad = ({
19002
19016
  c6,
19003
19017
  {
19004
19018
  "data-testid": l && `${l}.Content`,
19005
- className: E(
19019
+ className: D(
19006
19020
  { DrawerContent: h },
19007
19021
  { Open: d }
19008
19022
  ),
@@ -19073,8 +19087,8 @@ const Ad = ({
19073
19087
  cursor: grabbing;
19074
19088
  }
19075
19089
  `, t6 = k.span`
19076
- width: ${({ $size: l }) => D(l)};
19077
- height: ${({ $size: l }) => D(l)};
19090
+ width: ${({ $size: l }) => G(l)};
19091
+ height: ${({ $size: l }) => G(l)};
19078
19092
  color: ${({ theme: l }) => l.GRAY_500};
19079
19093
  ${s.Flexbox({
19080
19094
  $alignItems: "center",
@@ -19232,7 +19246,7 @@ const sh = ({
19232
19246
  hideSeparator: g,
19233
19247
  ...v
19234
19248
  }) => {
19235
- const [u, w] = O(-1), C = d2(null), H = (y, R) => {
19249
+ const [u, w] = O(-1), C = i2(null), H = (y, R) => {
19236
19250
  const { target: _ } = y;
19237
19251
  w(R), C && C.current && (C.current = _, y.dataTransfer.effectAllowed = "move", _ instanceof HTMLElement && y.dataTransfer.setData("text/html", _.outerHTML));
19238
19252
  }, $ = (y, R) => {
@@ -19752,28 +19766,28 @@ const ph = ({
19752
19766
  setIsOpen: p,
19753
19767
  inputBackground: g
19754
19768
  }) => {
19755
- 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) => {
19756
- const X = Math.abs((Z - V) / 1), { result: h2 } = Array.from({ length: X }).reduce(
19757
- ({ result: z2, current: L }) => ({
19758
- 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],
19759
19773
  current: L + 1
19760
19774
  }),
19761
- { result: [], current: V }
19775
+ { result: [], current: E }
19762
19776
  );
19763
19777
  return h2;
19764
19778
  }, _ = () => {
19765
- 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));
19766
19780
  }, I = () => {
19767
- v < 11 ? u((V) => V + 1) : (u(0), C((V) => V + 1));
19768
- }, G = R(
19781
+ v < 11 ? u((E) => E + 1) : (u(0), C((E) => E + 1));
19782
+ }, T = R(
19769
19783
  1,
19770
19784
  y(w, v) + 1
19771
- ), T = () => G.map(
19785
+ ), V = () => T.map(
19772
19786
  (Z) => (/* @__PURE__ */ new Date(
19773
19787
  `${w}/${v + 1}/${Z}`
19774
19788
  )).toLocaleDateString("en-EN", { weekday: "long" })
19775
- )[0], c2 = (V) => {
19776
- const Z = V.target;
19789
+ )[0], l2 = (E) => {
19790
+ const Z = E.target;
19777
19791
  Z.id.includes("day-") && i(
19778
19792
  $6(
19779
19793
  new Date(
@@ -19783,20 +19797,20 @@ const ph = ({
19783
19797
  )
19784
19798
  )
19785
19799
  ), p(!1);
19786
- }, P = (V, Z, X) => `${V}/${Z}/${X}`, W = P(
19800
+ }, P = (E, Z, c2) => `${E}/${Z}/${c2}`, Q = P(
19787
19801
  (/* @__PURE__ */ new Date()).getFullYear(),
19788
19802
  (/* @__PURE__ */ new Date()).getMonth() + 1,
19789
19803
  (/* @__PURE__ */ new Date()).getDate()
19790
- ), J = (V, Z) => new Date(
19804
+ ), W = (E, Z) => new Date(
19791
19805
  w,
19792
19806
  Z ? Z + v : v,
19793
- V
19807
+ E
19794
19808
  ).getTime();
19795
19809
  return /* @__PURE__ */ t.jsxs(
19796
19810
  m6,
19797
19811
  {
19798
19812
  "data-testid": l && `${l}.Calendar`,
19799
- className: E({ Open: n }, { Calendar: c }),
19813
+ className: D({ Open: n }, { Calendar: c }),
19800
19814
  $direction: o,
19801
19815
  $validationStatus: z == null ? void 0 : z.status,
19802
19816
  $inputBackground: g,
@@ -19815,7 +19829,7 @@ const ph = ({
19815
19829
  "data-testid": l && `${l}.Calendar.Header.NavButton.Prev`,
19816
19830
  className: c && "CalendarNavButton",
19817
19831
  onClick: _,
19818
- disabled: !!(e && new Date(e).getTime() > J(1, 0)),
19832
+ disabled: !!(e && new Date(e).getTime() > W(1, 0)),
19819
19833
  type: "button",
19820
19834
  $validationStatus: z == null ? void 0 : z.status,
19821
19835
  $inputBackground: g,
@@ -19853,7 +19867,7 @@ const ph = ({
19853
19867
  "data-testid": l && `${l}.Calendar.Header.NavButton.Next`,
19854
19868
  className: c && "CalendarNavButton",
19855
19869
  onClick: I,
19856
- disabled: !!(a && new Date(a).getTime() < J(0, 1)),
19870
+ disabled: !!(a && new Date(a).getTime() < W(0, 1)),
19857
19871
  type: "button",
19858
19872
  $validationStatus: z == null ? void 0 : z.status,
19859
19873
  $inputBackground: g,
@@ -19886,51 +19900,51 @@ const ph = ({
19886
19900
  className: c && "DaysContainer",
19887
19901
  $inputBackground: g,
19888
19902
  children: [
19889
- H.map((V) => /* @__PURE__ */ t.jsx(
19903
+ H.map((E) => /* @__PURE__ */ t.jsx(
19890
19904
  F,
19891
19905
  {
19892
19906
  "data-testid": l && `${l}.Calendar.DaysContainer.Day`,
19893
19907
  className: c && "WeekDay",
19894
19908
  tag: "strong",
19895
- children: V.slice(0, 3)
19909
+ children: E.slice(0, 3)
19896
19910
  },
19897
19911
  K()
19898
19912
  )),
19899
- T() === "Tuesday" ? /* @__PURE__ */ t.jsx(
19913
+ V() === "Tuesday" ? /* @__PURE__ */ t.jsx(
19900
19914
  U2,
19901
19915
  {
19902
19916
  "data-testid": l && `${l}.Calendar.DaysContainer.EmptyDay`,
19903
19917
  className: c && "EmptyDay"
19904
19918
  }
19905
- ) : T() === "Wednesday" ? [...Array(2)].map(() => /* @__PURE__ */ t.jsx(
19919
+ ) : V() === "Wednesday" ? [...Array(2)].map(() => /* @__PURE__ */ t.jsx(
19906
19920
  U2,
19907
19921
  {
19908
19922
  "data-testid": l && `${l}.Calendar.DaysContainer.EmptyDay`,
19909
19923
  className: c && "EmptyDay"
19910
19924
  },
19911
19925
  K()
19912
- )) : T() === "Thursday" ? [...Array(3)].map(() => /* @__PURE__ */ t.jsx(
19926
+ )) : V() === "Thursday" ? [...Array(3)].map(() => /* @__PURE__ */ t.jsx(
19913
19927
  U2,
19914
19928
  {
19915
19929
  "data-testid": l && `${l}.Calendar.DaysContainer.EmptyDay`,
19916
19930
  className: c && "EmptyDay"
19917
19931
  },
19918
19932
  K()
19919
- )) : T() === "Friday" ? [...Array(4)].map(() => /* @__PURE__ */ t.jsx(
19933
+ )) : V() === "Friday" ? [...Array(4)].map(() => /* @__PURE__ */ t.jsx(
19920
19934
  U2,
19921
19935
  {
19922
19936
  "data-testid": l && `${l}.Calendar.DaysContainer.EmptyDay`,
19923
19937
  className: c && "EmptyDay"
19924
19938
  },
19925
19939
  K()
19926
- )) : T() === "Saturday" ? [...Array(5)].map(() => /* @__PURE__ */ t.jsx(
19940
+ )) : V() === "Saturday" ? [...Array(5)].map(() => /* @__PURE__ */ t.jsx(
19927
19941
  U2,
19928
19942
  {
19929
19943
  "data-testid": l && `${l}.Calendar.DaysContainer.EmptyDay`,
19930
19944
  className: c && "EmptyDay"
19931
19945
  },
19932
19946
  K()
19933
- )) : T() === "Sunday" ? [...Array(6)].map(() => /* @__PURE__ */ t.jsx(
19947
+ )) : V() === "Sunday" ? [...Array(6)].map(() => /* @__PURE__ */ t.jsx(
19934
19948
  U2,
19935
19949
  {
19936
19950
  "data-testid": l && `${l}.Calendar.DaysContainer.EmptyDay`,
@@ -19938,12 +19952,12 @@ const ph = ({
19938
19952
  },
19939
19953
  K()
19940
19954
  )) : null,
19941
- G.map((V) => {
19955
+ T.map((E) => {
19942
19956
  const Z = P(
19943
19957
  w,
19944
19958
  v + 1,
19945
- V
19946
- ), X = d ? P(
19959
+ E
19960
+ ), c2 = d ? P(
19947
19961
  new Date(d).getFullYear(),
19948
19962
  new Date(d).getMonth() + 1,
19949
19963
  new Date(d).getDate()
@@ -19952,18 +19966,18 @@ const ph = ({
19952
19966
  z6,
19953
19967
  {
19954
19968
  "data-testid": l && `${l}.Calendar.DaysContainer.CalendarDay`,
19955
- className: E(
19956
- { Today: Z === W },
19957
- { Active: Z === X },
19969
+ className: D(
19970
+ { Today: Z === Q },
19971
+ { Active: Z === c2 },
19958
19972
  { CalendarDay: c }
19959
19973
  ),
19960
- id: `day-${V}`,
19961
- onClick: c2,
19962
- 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)),
19963
19977
  type: "button",
19964
19978
  $inputBackground: g,
19965
19979
  $validationStatus: z == null ? void 0 : z.status,
19966
- children: V
19980
+ children: E
19967
19981
  },
19968
19982
  K()
19969
19983
  );
@@ -20000,14 +20014,14 @@ const ph = ({
20000
20014
  containerStyle: R,
20001
20015
  inputAndListContainerStyle: _,
20002
20016
  prefix: I,
20003
- ...G
20017
+ ...T
20004
20018
  }) => {
20005
- const [T, c2] = O(!1), P = d2(null);
20006
- V2(P, () => c2(!1));
20007
- const J = !!(w || C || H || $ || y), V = () => {
20008
- 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);
20009
20023
  else return;
20010
- }, Z = (X) => r(X.target.value);
20024
+ }, Z = (c2) => r(c2.target.value);
20011
20025
  return /* @__PURE__ */ t.jsx(
20012
20026
  b2,
20013
20027
  {
@@ -20022,7 +20036,7 @@ const ph = ({
20022
20036
  className: e,
20023
20037
  iconBaseUrl: o,
20024
20038
  style: R,
20025
- hasListOpen: T,
20039
+ hasListOpen: V,
20026
20040
  counter: void 0,
20027
20041
  maxLength: void 0,
20028
20042
  children: /* @__PURE__ */ t.jsxs(
@@ -20030,8 +20044,8 @@ const ph = ({
20030
20044
  {
20031
20045
  "data-testid": l,
20032
20046
  className: e,
20033
- hasListOpen: T,
20034
- isParent: !J,
20047
+ hasListOpen: V,
20048
+ isParent: !W,
20035
20049
  ref: P,
20036
20050
  inputAndListContainerStyle: _,
20037
20051
  children: [
@@ -20044,7 +20058,7 @@ const ph = ({
20044
20058
  inputBackground: p,
20045
20059
  inputVariant: n,
20046
20060
  validationStatus: y == null ? void 0 : y.status,
20047
- hasListOpen: T,
20061
+ hasListOpen: V,
20048
20062
  hasContainer: !0,
20049
20063
  children: [
20050
20064
  ((f == null ? void 0 : f.left) || I) && /* @__PURE__ */ t.jsxs(
@@ -20086,8 +20100,8 @@ const ph = ({
20086
20100
  "data-testid": l && `${l}.InputWrapper.InputDate`,
20087
20101
  className: e && "InputDate",
20088
20102
  ref: c,
20089
- onClick: V,
20090
- onFocus: V,
20103
+ onClick: E,
20104
+ onFocus: E,
20091
20105
  tabIndex: v,
20092
20106
  value: l0(i),
20093
20107
  onChange: Z,
@@ -20096,7 +20110,7 @@ const ph = ({
20096
20110
  $validationStatus: y == null ? void 0 : y.status,
20097
20111
  $inputBackground: p,
20098
20112
  $disabled: g,
20099
- ...G
20113
+ ...T
20100
20114
  }
20101
20115
  ),
20102
20116
  /* @__PURE__ */ t.jsxs(
@@ -20122,7 +20136,7 @@ const ph = ({
20122
20136
  }
20123
20137
  ),
20124
20138
  iconSize: m == null ? void 0 : m.calendar,
20125
- onClick: V,
20139
+ onClick: E,
20126
20140
  "aria-label": "Calendar",
20127
20141
  disabled: g,
20128
20142
  inputBackground: p,
@@ -20160,8 +20174,8 @@ const ph = ({
20160
20174
  calendarDirection: z,
20161
20175
  validation: y,
20162
20176
  inputBackground: p,
20163
- isOpen: T,
20164
- setIsOpen: c2
20177
+ isOpen: V,
20178
+ setIsOpen: l2
20165
20179
  }
20166
20180
  )
20167
20181
  ]
@@ -20216,26 +20230,26 @@ const Id = ({
20216
20230
  value: R,
20217
20231
  setValue: _,
20218
20232
  prefix: I,
20219
- disabled: G,
20220
- tabIndex: T,
20221
- ...c2
20233
+ disabled: T,
20234
+ tabIndex: V,
20235
+ ...l2
20222
20236
  }) => {
20223
- const P = !!(m || o || z || n || p), W = d2(null);
20224
- let J = Object.keys(H === "30min" ? i0.halfHours : H === "15min" ? i0.quarterHours : H === "1min" ? i0.minutes : i0.hours);
20225
- $ && (J = J.splice(
20226
- J.indexOf(J.find((l2) => l2 === $)),
20227
- J.length - 1
20228
- )), y && (J = J.splice(0, J.indexOf(y) + 1));
20229
- const { isOpen: V, setIsOpen: Z, cursor: X, listRef: h2 } = F0({
20230
- 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,
20231
20245
  value: R,
20232
20246
  setValue: _
20233
- }), z2 = () => {
20234
- V && Z(!1), Z(!0);
20235
- }, L = () => Z(!0), Y = () => Z(!1), e2 = (l2) => _(
20236
- l2.target.value
20237
- ), i2 = (l2) => {
20238
- _(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();
20239
20253
  };
20240
20254
  return V2(h2, Y), /* @__PURE__ */ t.jsx(
20241
20255
  b2,
@@ -20251,7 +20265,7 @@ const Id = ({
20251
20265
  className: e,
20252
20266
  iconBaseUrl: d,
20253
20267
  style: u,
20254
- hasListOpen: V,
20268
+ hasListOpen: E,
20255
20269
  counter: void 0,
20256
20270
  maxLength: void 0,
20257
20271
  children: /* @__PURE__ */ t.jsxs(
@@ -20259,9 +20273,9 @@ const Id = ({
20259
20273
  {
20260
20274
  "data-testid": l,
20261
20275
  className: e,
20262
- hasListOpen: V,
20276
+ hasListOpen: E,
20263
20277
  isParent: !P,
20264
- ref: W,
20278
+ ref: Q,
20265
20279
  inputAndListContainerStyle: w,
20266
20280
  children: [
20267
20281
  /* @__PURE__ */ t.jsxs(
@@ -20273,7 +20287,7 @@ const Id = ({
20273
20287
  inputBackground: g,
20274
20288
  inputVariant: v,
20275
20289
  validationStatus: p == null ? void 0 : p.status,
20276
- hasListOpen: V,
20290
+ hasListOpen: E,
20277
20291
  hasContainer: !0,
20278
20292
  children: [
20279
20293
  (a || I) && /* @__PURE__ */ t.jsxs(
@@ -20281,7 +20295,7 @@ const Id = ({
20281
20295
  {
20282
20296
  "data-testid": l,
20283
20297
  className: e,
20284
- disabled: G,
20298
+ disabled: T,
20285
20299
  children: [
20286
20300
  I && /* @__PURE__ */ t.jsx(
20287
20301
  E2,
@@ -20300,7 +20314,7 @@ const Id = ({
20300
20314
  icon: a,
20301
20315
  iconSize: h,
20302
20316
  validationStatus: p == null ? void 0 : p.status,
20303
- disabled: G,
20317
+ disabled: T,
20304
20318
  inputBackground: g,
20305
20319
  inputVariant: v,
20306
20320
  iconBaseUrl: d
@@ -20315,17 +20329,17 @@ const Id = ({
20315
20329
  "data-testid": l && `${l}.InputWrapper.InputTime`,
20316
20330
  className: e && "InputTime",
20317
20331
  ref: c,
20318
- onClick: z2,
20332
+ onClick: o2,
20319
20333
  onFocus: L,
20320
- tabIndex: T,
20334
+ tabIndex: V,
20321
20335
  value: R,
20322
20336
  onChange: e2,
20323
- disabled: G,
20324
- $disabled: G,
20337
+ disabled: T,
20338
+ $disabled: T,
20325
20339
  $validationStatus: p == null ? void 0 : p.status,
20326
20340
  $inputBackground: g,
20327
20341
  $inputVariant: v,
20328
- ...c2
20342
+ ...l2
20329
20343
  }
20330
20344
  ),
20331
20345
  /* @__PURE__ */ t.jsxs(
@@ -20333,7 +20347,7 @@ const Id = ({
20333
20347
  {
20334
20348
  "data-testid": l,
20335
20349
  className: e,
20336
- disabled: G,
20350
+ disabled: T,
20337
20351
  withBorder: !1,
20338
20352
  withPadding: !0,
20339
20353
  children: [
@@ -20344,9 +20358,9 @@ const Id = ({
20344
20358
  className: e,
20345
20359
  icon: r,
20346
20360
  iconSize: i,
20347
- onClick: z2,
20361
+ onClick: o2,
20348
20362
  "aria-label": "Calendar",
20349
- disabled: G,
20363
+ disabled: T,
20350
20364
  inputBackground: g,
20351
20365
  validationStatus: p == null ? void 0 : p.status
20352
20366
  }
@@ -20375,21 +20389,21 @@ const Id = ({
20375
20389
  inputBackground: g,
20376
20390
  inputVariant: v,
20377
20391
  validationStatus: p == null ? void 0 : p.status,
20378
- isOpen: !!(R && V),
20392
+ isOpen: !!(R && E),
20379
20393
  ref: h2,
20380
- children: J.map((l2, f2) => /* @__PURE__ */ t.jsx(
20394
+ children: W.map((J, f2) => /* @__PURE__ */ t.jsx(
20381
20395
  W2,
20382
20396
  {
20383
20397
  "data-testid": l,
20384
20398
  className: e,
20385
20399
  validationStatus: p == null ? void 0 : p.status,
20386
20400
  inputBackground: g,
20387
- onClick: () => i2(l2),
20388
- isActive: f2 === X,
20389
- isHovered: R === l2,
20390
- children: l2
20401
+ onClick: () => d2(J),
20402
+ isActive: f2 === c2,
20403
+ isHovered: R === J,
20404
+ children: J
20391
20405
  },
20392
- l2
20406
+ J
20393
20407
  ))
20394
20408
  }
20395
20409
  )
@@ -20462,7 +20476,7 @@ export {
20462
20476
  Hd as Fade,
20463
20477
  Q0 as Fallback,
20464
20478
  _d as Fieldset,
20465
- o2 as Flexbox,
20479
+ z2 as Flexbox,
20466
20480
  mh as Footer,
20467
20481
  hd as Form,
20468
20482
  Yh as FullBleed,