@akad/design-system 1.0.0-alpha.1 → 1.0.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/css/core.css +1 -1
  2. package/package.json +1 -1
  3. package/react/react-lib.js +631 -715
  4. package/react/react-lib.umd.cjs +3 -3
  5. package/react/src/components/atoms/Button/Button.d.ts +1 -1
  6. package/react/src/components/atoms/Button/Button.stories.d.ts +3 -3
  7. package/react/src/components/atoms/Caption/Caption.d.ts +1 -1
  8. package/react/src/components/atoms/Caption/Caption.stories.d.ts +2 -2
  9. package/react/src/components/atoms/Card/Card.stories.d.ts +4 -4
  10. package/react/src/components/atoms/Checkbox/Checkbox.d.ts +1 -1
  11. package/react/src/components/atoms/Checkbox/Checkbox.stories.d.ts +4 -4
  12. package/react/src/components/atoms/Heading/Heading.d.ts +1 -1
  13. package/react/src/components/atoms/Heading/Heading.stories.d.ts +9 -9
  14. package/react/src/components/atoms/HorizontalRule/HorizontalRule.stories.d.ts +2 -2
  15. package/react/src/components/atoms/Icon/Icon.d.ts +1 -1
  16. package/react/src/components/atoms/Icon/Icon.stories.d.ts +3 -3
  17. package/react/src/components/atoms/Input/Input.stories.d.ts +2 -2
  18. package/react/src/components/atoms/Loading/Loading.stories.d.ts +2 -2
  19. package/react/src/components/atoms/Option/Option.d.ts +1 -1
  20. package/react/src/components/atoms/Option/Option.stories.d.ts +2 -2
  21. package/react/src/components/atoms/Paragraph/Paragraph.d.ts +1 -1
  22. package/react/src/components/atoms/Paragraph/Paragraph.stories.d.ts +4 -4
  23. package/react/src/components/atoms/Progress/Progress.stories.d.ts +2 -2
  24. package/react/src/components/atoms/Select/Select.d.ts +1 -1
  25. package/react/src/components/atoms/Select/Select.stories.d.ts +2 -2
  26. package/react/src/components/atoms/Subtitle/Subtitle.stories.d.ts +4 -4
  27. package/react/src/components/atoms/TextArea/TextArea.stories.d.ts +3 -3
  28. package/react/src/components/atoms/Tooltip/Tooltip.d.ts +1 -1
  29. package/react/src/components/atoms/Tooltip/Tooltip.stories.d.ts +7 -7
  30. package/react/src/components/bosons/Container/Container.d.ts +1 -1
  31. package/react/src/components/bosons/Container/Container.stories.d.ts +3 -3
  32. package/react/src/components/bosons/FlexLayout/FlexLayout.stories.d.ts +4 -4
  33. package/react/src/components/bosons/GridLayout/GridLayout.stories.d.ts +3 -3
  34. package/react/src/components/bosons/Spacer/Spacer.stories.d.ts +2 -2
  35. package/react/src/components/bosons/Wrapper/Wrapper.stories.d.ts +3 -3
  36. package/react/src/components/molecules/Accordion/Accordion.d.ts +1 -1
  37. package/react/src/components/molecules/Accordion/Accordion.stories.d.ts +2 -2
  38. package/react/src/components/molecules/ActiveTags/ActiveTags.stories.d.ts +2 -2
  39. package/react/src/components/molecules/EditableSelect/EditableSelect.stories.d.ts +3 -3
  40. package/react/src/components/molecules/Indicator/Indicator.stories.d.ts +2 -2
  41. package/react/src/components/molecules/InlineEditable/InlineEditable.d.ts +1 -1
  42. package/react/src/components/molecules/InlineEditable/InlineEditable.stories.d.ts +8 -8
  43. package/react/src/components/molecules/Modal/Modal.d.ts +1 -1
  44. package/react/src/components/molecules/Modal/Modal.stories.d.ts +5 -5
  45. package/react/src/components/molecules/Notification/Notification.stories.d.ts +52 -52
  46. package/react/src/components/molecules/PasswordConfirmation/PasswordConfirmation.stories.d.ts +3 -3
  47. package/react/src/components/molecules/Stepper/Stepper.stories.d.ts +2 -2
  48. package/react/src/components/molecules/Table/Table.stories.d.ts +2 -2
  49. package/react/src/components/molecules/Tabs/Tab.d.ts +1 -1
  50. package/react/src/components/molecules/Tabs/Tabs.stories.d.ts +2 -2
  51. package/react/src/components/molecules/ThemeProvider/ThemeProvider.d.ts +1 -1
  52. package/react/src/components/organisms/NotificationList/NotificationList.d.ts +1 -1
  53. package/react/src/components/organisms/NotificationList/NotificationList.stories.d.ts +2 -2
  54. package/scss/core/base/reset.scss +0 -1
  55. package/scss/core/components/atoms/heading.scss +1 -0
  56. package/scss/core/components/molecules/accordion.scss +1 -1
  57. package/scss/core/components/molecules/notification.scss +1 -1
  58. package/scss/core/helpers/borders.scss +21 -3
  59. package/scss/core/helpers/colors.scss +33 -6
@@ -14,10 +14,9 @@ var Tt = { exports: {} }, st = { exports: {} }, z = {};
14
14
  */
15
15
  var jt;
16
16
  function Sn() {
17
- if (jt)
18
- return z;
17
+ if (jt) return z;
19
18
  jt = 1;
20
- var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, s = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, r = t ? Symbol.for("react.strict_mode") : 60108, a = t ? Symbol.for("react.profiler") : 60114, i = t ? Symbol.for("react.provider") : 60109, l = t ? Symbol.for("react.context") : 60110, u = t ? Symbol.for("react.async_mode") : 60111, d = t ? Symbol.for("react.concurrent_mode") : 60111, h = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, _ = t ? Symbol.for("react.suspense_list") : 60120, y = t ? Symbol.for("react.memo") : 60115, E = t ? Symbol.for("react.lazy") : 60116, v = t ? Symbol.for("react.block") : 60121, m = t ? Symbol.for("react.fundamental") : 60117, F = t ? Symbol.for("react.responder") : 60118, j = t ? Symbol.for("react.scope") : 60119;
19
+ var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, s = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, r = t ? Symbol.for("react.strict_mode") : 60108, a = t ? Symbol.for("react.profiler") : 60114, i = t ? Symbol.for("react.provider") : 60109, o = t ? Symbol.for("react.context") : 60110, u = t ? Symbol.for("react.async_mode") : 60111, d = t ? Symbol.for("react.concurrent_mode") : 60111, h = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, _ = t ? Symbol.for("react.suspense_list") : 60120, y = t ? Symbol.for("react.memo") : 60115, E = t ? Symbol.for("react.lazy") : 60116, v = t ? Symbol.for("react.block") : 60121, m = t ? Symbol.for("react.fundamental") : 60117, F = t ? Symbol.for("react.responder") : 60118, j = t ? Symbol.for("react.scope") : 60119;
21
20
  function A(p) {
22
21
  if (typeof p == "object" && p !== null) {
23
22
  var x = p.$$typeof;
@@ -33,7 +32,7 @@ function Sn() {
33
32
  return p;
34
33
  default:
35
34
  switch (p = p && p.$$typeof, p) {
36
- case l:
35
+ case o:
37
36
  case h:
38
37
  case E:
39
38
  case y:
@@ -51,10 +50,10 @@ function Sn() {
51
50
  function C(p) {
52
51
  return A(p) === d;
53
52
  }
54
- return z.AsyncMode = u, z.ConcurrentMode = d, z.ContextConsumer = l, z.ContextProvider = i, z.Element = e, z.ForwardRef = h, z.Fragment = n, z.Lazy = E, z.Memo = y, z.Portal = s, z.Profiler = a, z.StrictMode = r, z.Suspense = f, z.isAsyncMode = function(p) {
53
+ return z.AsyncMode = u, z.ConcurrentMode = d, z.ContextConsumer = o, z.ContextProvider = i, z.Element = e, z.ForwardRef = h, z.Fragment = n, z.Lazy = E, z.Memo = y, z.Portal = s, z.Profiler = a, z.StrictMode = r, z.Suspense = f, z.isAsyncMode = function(p) {
55
54
  return C(p) || A(p) === u;
56
55
  }, z.isConcurrentMode = C, z.isContextConsumer = function(p) {
57
- return A(p) === l;
56
+ return A(p) === o;
58
57
  }, z.isContextProvider = function(p) {
59
58
  return A(p) === i;
60
59
  }, z.isElement = function(p) {
@@ -76,7 +75,7 @@ function Sn() {
76
75
  }, z.isSuspense = function(p) {
77
76
  return A(p) === f;
78
77
  }, z.isValidElementType = function(p) {
79
- return typeof p == "string" || typeof p == "function" || p === n || p === d || p === a || p === r || p === f || p === _ || typeof p == "object" && p !== null && (p.$$typeof === E || p.$$typeof === y || p.$$typeof === i || p.$$typeof === l || p.$$typeof === h || p.$$typeof === m || p.$$typeof === F || p.$$typeof === j || p.$$typeof === v);
78
+ return typeof p == "string" || typeof p == "function" || p === n || p === d || p === a || p === r || p === f || p === _ || typeof p == "object" && p !== null && (p.$$typeof === E || p.$$typeof === y || p.$$typeof === i || p.$$typeof === o || p.$$typeof === h || p.$$typeof === m || p.$$typeof === F || p.$$typeof === j || p.$$typeof === v);
80
79
  }, z.typeOf = A, z;
81
80
  }
82
81
  var H = {};
@@ -91,10 +90,10 @@ var H = {};
91
90
  var Pt;
92
91
  function Cn() {
93
92
  return Pt || (Pt = 1, process.env.NODE_ENV !== "production" && function() {
94
- var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, s = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, r = t ? Symbol.for("react.strict_mode") : 60108, a = t ? Symbol.for("react.profiler") : 60114, i = t ? Symbol.for("react.provider") : 60109, l = t ? Symbol.for("react.context") : 60110, u = t ? Symbol.for("react.async_mode") : 60111, d = t ? Symbol.for("react.concurrent_mode") : 60111, h = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, _ = t ? Symbol.for("react.suspense_list") : 60120, y = t ? Symbol.for("react.memo") : 60115, E = t ? Symbol.for("react.lazy") : 60116, v = t ? Symbol.for("react.block") : 60121, m = t ? Symbol.for("react.fundamental") : 60117, F = t ? Symbol.for("react.responder") : 60118, j = t ? Symbol.for("react.scope") : 60119;
93
+ var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, s = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, r = t ? Symbol.for("react.strict_mode") : 60108, a = t ? Symbol.for("react.profiler") : 60114, i = t ? Symbol.for("react.provider") : 60109, o = t ? Symbol.for("react.context") : 60110, u = t ? Symbol.for("react.async_mode") : 60111, d = t ? Symbol.for("react.concurrent_mode") : 60111, h = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, _ = t ? Symbol.for("react.suspense_list") : 60120, y = t ? Symbol.for("react.memo") : 60115, E = t ? Symbol.for("react.lazy") : 60116, v = t ? Symbol.for("react.block") : 60121, m = t ? Symbol.for("react.fundamental") : 60117, F = t ? Symbol.for("react.responder") : 60118, j = t ? Symbol.for("react.scope") : 60119;
95
94
  function A(k) {
96
95
  return typeof k == "string" || typeof k == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
97
- k === n || k === d || k === a || k === r || k === f || k === _ || typeof k == "object" && k !== null && (k.$$typeof === E || k.$$typeof === y || k.$$typeof === i || k.$$typeof === l || k.$$typeof === h || k.$$typeof === m || k.$$typeof === F || k.$$typeof === j || k.$$typeof === v);
96
+ k === n || k === d || k === a || k === r || k === f || k === _ || typeof k == "object" && k !== null && (k.$$typeof === E || k.$$typeof === y || k.$$typeof === i || k.$$typeof === o || k.$$typeof === h || k.$$typeof === m || k.$$typeof === F || k.$$typeof === j || k.$$typeof === v);
98
97
  }
99
98
  function C(k) {
100
99
  if (typeof k == "object" && k !== null) {
@@ -113,7 +112,7 @@ function Cn() {
113
112
  default:
114
113
  var Lt = tt && tt.$$typeof;
115
114
  switch (Lt) {
116
- case l:
115
+ case o:
117
116
  case h:
118
117
  case E:
119
118
  case y:
@@ -128,7 +127,7 @@ function Cn() {
128
127
  }
129
128
  }
130
129
  }
131
- var p = u, x = d, N = l, W = i, O = e, te = h, ue = n, ce = E, Ae = y, me = s, Ve = a, oe = r, ve = f, Te = !1;
130
+ var p = u, x = d, N = o, W = i, O = e, te = h, ue = n, ce = E, Ae = y, me = s, Ve = a, le = r, ve = f, Te = !1;
132
131
  function Ne(k) {
133
132
  return Te || (Te = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), g(k) || C(k) === u;
134
133
  }
@@ -136,7 +135,7 @@ function Cn() {
136
135
  return C(k) === d;
137
136
  }
138
137
  function b(k) {
139
- return C(k) === l;
138
+ return C(k) === o;
140
139
  }
141
140
  function V(k) {
142
141
  return C(k) === i;
@@ -168,7 +167,7 @@ function Cn() {
168
167
  function J(k) {
169
168
  return C(k) === f;
170
169
  }
171
- H.AsyncMode = p, H.ConcurrentMode = x, H.ContextConsumer = N, H.ContextProvider = W, H.Element = O, H.ForwardRef = te, H.Fragment = ue, H.Lazy = ce, H.Memo = Ae, H.Portal = me, H.Profiler = Ve, H.StrictMode = oe, H.Suspense = ve, H.isAsyncMode = Ne, H.isConcurrentMode = g, H.isContextConsumer = b, H.isContextProvider = V, H.isElement = B, H.isForwardRef = R, H.isFragment = w, H.isLazy = $, H.isMemo = L, H.isPortal = U, H.isProfiler = T, H.isStrictMode = q, H.isSuspense = J, H.isValidElementType = A, H.typeOf = C;
170
+ H.AsyncMode = p, H.ConcurrentMode = x, H.ContextConsumer = N, H.ContextProvider = W, H.Element = O, H.ForwardRef = te, H.Fragment = ue, H.Lazy = ce, H.Memo = Ae, H.Portal = me, H.Profiler = Ve, H.StrictMode = le, H.Suspense = ve, H.isAsyncMode = Ne, H.isConcurrentMode = g, H.isContextConsumer = b, H.isContextProvider = V, H.isElement = B, H.isForwardRef = R, H.isFragment = w, H.isLazy = $, H.isMemo = L, H.isPortal = U, H.isProfiler = T, H.isStrictMode = q, H.isSuspense = J, H.isValidElementType = A, H.typeOf = C;
172
171
  }()), H;
173
172
  }
174
173
  var qt;
@@ -182,8 +181,7 @@ object-assign
182
181
  */
183
182
  var vt, Ut;
184
183
  function xn() {
185
- if (Ut)
186
- return vt;
184
+ if (Ut) return vt;
187
185
  Ut = 1;
188
186
  var t = Object.getOwnPropertySymbols, e = Object.prototype.hasOwnProperty, s = Object.prototype.propertyIsEnumerable;
189
187
  function n(a) {
@@ -198,8 +196,8 @@ function xn() {
198
196
  var a = new String("abc");
199
197
  if (a[5] = "de", Object.getOwnPropertyNames(a)[0] === "5")
200
198
  return !1;
201
- for (var i = {}, l = 0; l < 10; l++)
202
- i["_" + String.fromCharCode(l)] = l;
199
+ for (var i = {}, o = 0; o < 10; o++)
200
+ i["_" + String.fromCharCode(o)] = o;
203
201
  var u = Object.getOwnPropertyNames(i).map(function(h) {
204
202
  return i[h];
205
203
  });
@@ -214,14 +212,14 @@ function xn() {
214
212
  }
215
213
  }
216
214
  return vt = r() ? Object.assign : function(a, i) {
217
- for (var l, u = n(a), d, h = 1; h < arguments.length; h++) {
218
- l = Object(arguments[h]);
219
- for (var f in l)
220
- e.call(l, f) && (u[f] = l[f]);
215
+ for (var o, u = n(a), d, h = 1; h < arguments.length; h++) {
216
+ o = Object(arguments[h]);
217
+ for (var f in o)
218
+ e.call(o, f) && (u[f] = o[f]);
221
219
  if (t) {
222
- d = t(l);
220
+ d = t(o);
223
221
  for (var _ = 0; _ < d.length; _++)
224
- s.call(l, d[_]) && (u[d[_]] = l[d[_]]);
222
+ s.call(o, d[_]) && (u[d[_]] = o[d[_]]);
225
223
  }
226
224
  }
227
225
  return u;
@@ -229,8 +227,7 @@ function xn() {
229
227
  }
230
228
  var _t, zt;
231
229
  function Rt() {
232
- if (zt)
233
- return _t;
230
+ if (zt) return _t;
234
231
  zt = 1;
235
232
  var t = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
236
233
  return _t = t, _t;
@@ -241,8 +238,7 @@ function ns() {
241
238
  }
242
239
  var kt, Wt;
243
240
  function wn() {
244
- if (Wt)
245
- return kt;
241
+ if (Wt) return kt;
246
242
  Wt = 1;
247
243
  var t = function() {
248
244
  };
@@ -257,7 +253,7 @@ function wn() {
257
253
  }
258
254
  };
259
255
  }
260
- function r(a, i, l, u, d) {
256
+ function r(a, i, o, u, d) {
261
257
  if (process.env.NODE_ENV !== "production") {
262
258
  for (var h in a)
263
259
  if (n(a, h)) {
@@ -265,21 +261,21 @@ function wn() {
265
261
  try {
266
262
  if (typeof a[h] != "function") {
267
263
  var _ = Error(
268
- (u || "React class") + ": " + l + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
264
+ (u || "React class") + ": " + o + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
269
265
  );
270
266
  throw _.name = "Invariant Violation", _;
271
267
  }
272
- f = a[h](i, h, u, l, null, e);
268
+ f = a[h](i, h, u, o, null, e);
273
269
  } catch (E) {
274
270
  f = E;
275
271
  }
276
272
  if (f && !(f instanceof Error) && t(
277
- (u || "React class") + ": type specification of " + l + " `" + h + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof f + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
273
+ (u || "React class") + ": type specification of " + o + " `" + h + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof f + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
278
274
  ), f instanceof Error && !(f.message in s)) {
279
275
  s[f.message] = !0;
280
276
  var y = d ? d() : "";
281
277
  t(
282
- "Failed " + l + " type: " + f.message + (y ?? "")
278
+ "Failed " + o + " type: " + f.message + (y ?? "")
283
279
  );
284
280
  }
285
281
  }
@@ -291,13 +287,12 @@ function wn() {
291
287
  }
292
288
  var bt, Yt;
293
289
  function An() {
294
- if (Yt)
295
- return bt;
290
+ if (Yt) return bt;
296
291
  Yt = 1;
297
292
  var t = ss(), e = xn(), s = Rt(), n = ns(), r = wn(), a = function() {
298
293
  };
299
- process.env.NODE_ENV !== "production" && (a = function(l) {
300
- var u = "Warning: " + l;
294
+ process.env.NODE_ENV !== "production" && (a = function(o) {
295
+ var u = "Warning: " + o;
301
296
  typeof console < "u" && console.error(u);
302
297
  try {
303
298
  throw new Error(u);
@@ -307,7 +302,7 @@ function An() {
307
302
  function i() {
308
303
  return null;
309
304
  }
310
- return bt = function(l, u) {
305
+ return bt = function(o, u) {
311
306
  var d = typeof Symbol == "function" && Symbol.iterator, h = "@@iterator";
312
307
  function f(g) {
313
308
  var b = g && (d && g[d] || g[h]);
@@ -367,7 +362,7 @@ function An() {
367
362
  }
368
363
  function F(g) {
369
364
  function b(V, B, R, w, $, L) {
370
- var U = V[B], T = oe(U);
365
+ var U = V[B], T = le(U);
371
366
  if (T !== g) {
372
367
  var q = ve(U);
373
368
  return new v(
@@ -388,7 +383,7 @@ function An() {
388
383
  return new v("Property `" + $ + "` of component `" + R + "` has invalid PropType notation inside arrayOf.");
389
384
  var L = V[B];
390
385
  if (!Array.isArray(L)) {
391
- var U = oe(L);
386
+ var U = le(L);
392
387
  return new v("Invalid " + w + " `" + $ + "` of type " + ("`" + U + "` supplied to `" + R + "`, expected an array."));
393
388
  }
394
389
  for (var T = 0; T < L.length; T++) {
@@ -403,8 +398,8 @@ function An() {
403
398
  function C() {
404
399
  function g(b, V, B, R, w) {
405
400
  var $ = b[V];
406
- if (!l($)) {
407
- var L = oe($);
401
+ if (!o($)) {
402
+ var L = le($);
408
403
  return new v("Invalid " + R + " `" + w + "` of type " + ("`" + L + "` supplied to `" + B + "`, expected a single ReactElement."));
409
404
  }
410
405
  return null;
@@ -415,7 +410,7 @@ function An() {
415
410
  function g(b, V, B, R, w) {
416
411
  var $ = b[V];
417
412
  if (!t.isValidElementType($)) {
418
- var L = oe($);
413
+ var L = le($);
419
414
  return new v("Invalid " + R + " `" + w + "` of type " + ("`" + L + "` supplied to `" + B + "`, expected a single ReactElement type."));
420
415
  }
421
416
  return null;
@@ -453,7 +448,7 @@ function An() {
453
448
  function b(V, B, R, w, $) {
454
449
  if (typeof g != "function")
455
450
  return new v("Property `" + $ + "` of component `" + R + "` has invalid PropType notation inside objectOf.");
456
- var L = V[B], U = oe(L);
451
+ var L = V[B], U = le(L);
457
452
  if (U !== "object")
458
453
  return new v("Invalid " + w + " `" + $ + "` of type " + ("`" + U + "` supplied to `" + R + "`, expected an object."));
459
454
  for (var T in L)
@@ -501,7 +496,7 @@ function An() {
501
496
  }
502
497
  function ce(g) {
503
498
  function b(V, B, R, w, $) {
504
- var L = V[B], U = oe(L);
499
+ var L = V[B], U = le(L);
505
500
  if (U !== "object")
506
501
  return new v("Invalid " + w + " `" + $ + "` of type `" + U + "` " + ("supplied to `" + R + "`, expected `object`."));
507
502
  for (var T in g) {
@@ -518,7 +513,7 @@ function An() {
518
513
  }
519
514
  function Ae(g) {
520
515
  function b(V, B, R, w, $) {
521
- var L = V[B], U = oe(L);
516
+ var L = V[B], U = le(L);
522
517
  if (U !== "object")
523
518
  return new v("Invalid " + w + " `" + $ + "` of type `" + U + "` " + ("supplied to `" + R + "`, expected `object`."));
524
519
  var T = e({}, V[B], g);
@@ -550,7 +545,7 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
550
545
  case "object":
551
546
  if (Array.isArray(g))
552
547
  return g.every(me);
553
- if (g === null || l(g))
548
+ if (g === null || o(g))
554
549
  return !0;
555
550
  var b = f(g);
556
551
  if (b) {
@@ -575,14 +570,14 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
575
570
  function Ve(g, b) {
576
571
  return g === "symbol" ? !0 : b ? b["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && b instanceof Symbol : !1;
577
572
  }
578
- function oe(g) {
573
+ function le(g) {
579
574
  var b = typeof g;
580
575
  return Array.isArray(g) ? "array" : g instanceof RegExp ? "object" : Ve(b, g) ? "symbol" : b;
581
576
  }
582
577
  function ve(g) {
583
578
  if (typeof g > "u" || g === null)
584
579
  return "" + g;
585
- var b = oe(g);
580
+ var b = le(g);
586
581
  if (b === "object") {
587
582
  if (g instanceof Date)
588
583
  return "date";
@@ -613,8 +608,7 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
613
608
  }
614
609
  var Et, Xt;
615
610
  function Tn() {
616
- if (Xt)
617
- return Et;
611
+ if (Xt) return Et;
618
612
  Xt = 1;
619
613
  var t = Rt();
620
614
  function e() {
@@ -622,7 +616,7 @@ function Tn() {
622
616
  function s() {
623
617
  }
624
618
  return s.resetWarningCache = e, Et = function() {
625
- function n(i, l, u, d, h, f) {
619
+ function n(i, o, u, d, h, f) {
626
620
  if (f !== t) {
627
621
  var _ = new Error(
628
622
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
@@ -666,8 +660,8 @@ if (process.env.NODE_ENV !== "production") {
666
660
  } else
667
661
  Tt.exports = Tn()();
668
662
  var Dn = Tt.exports;
669
- const o = /* @__PURE__ */ En(Dn);
670
- var rs = /* @__PURE__ */ ((t) => (t.Primary = "primary", t.Secondary = "secondary", t.Info = "info", t.Success = "success", t.Danger = "danger", t.Warning = "warning", t.Neutral = "neutral", t))(rs || {}), as = /* @__PURE__ */ ((t) => (t.Solid = "solid", t.Outline = "outline", t.Text = "text", t))(as || {}), is = /* @__PURE__ */ ((t) => (t.Large = "lg", t.Medium = "md", t.Small = "sm", t))(is || {}), os = /* @__PURE__ */ ((t) => (t.Right = "right", t.Left = "left", t))(os || {}), In = /* @__PURE__ */ ((t) => (t[t.Elevation1 = 1] = "Elevation1", t[t.Elevation2 = 2] = "Elevation2", t[t.Elevation3 = 3] = "Elevation3", t[t.Elevation4 = 4] = "Elevation4", t))(In || {});
663
+ const l = /* @__PURE__ */ En(Dn);
664
+ var rs = /* @__PURE__ */ ((t) => (t.Primary = "primary", t.Secondary = "secondary", t.Info = "info", t.Success = "success", t.Danger = "danger", t.Warning = "warning", t.Neutral = "neutral", t))(rs || {}), as = /* @__PURE__ */ ((t) => (t.Solid = "solid", t.Outline = "outline", t.Text = "text", t))(as || {}), is = /* @__PURE__ */ ((t) => (t.Large = "lg", t.Medium = "md", t.Small = "sm", t))(is || {}), ls = /* @__PURE__ */ ((t) => (t.Right = "right", t.Left = "left", t))(ls || {}), In = /* @__PURE__ */ ((t) => (t[t.Elevation1 = 1] = "Elevation1", t[t.Elevation2 = 2] = "Elevation2", t[t.Elevation3 = 3] = "Elevation3", t[t.Elevation4 = 4] = "Elevation4", t))(In || {});
671
665
  const Y = {
672
666
  name: "Button",
673
667
  class: "ds-button",
@@ -712,7 +706,7 @@ const Y = {
712
706
  iconPosition: {
713
707
  type: String,
714
708
  default: "right",
715
- options: Object.values(os)
709
+ options: Object.values(ls)
716
710
  },
717
711
  id: {
718
712
  type: String,
@@ -736,7 +730,7 @@ const Y = {
736
730
  }
737
731
  }
738
732
  };
739
- var ls = /* @__PURE__ */ ((t) => (t.Primary = "primary", t.PrimaryLightest = "primary-lightest", t.PrimaryLighter = "primary-lighter", t.PrimaryLight = "primary-light", t.PrimaryDark = "primary-dark", t.PrimaryDarker = "primary-darker", t.Neutral90 = "neutral-90", t.Neutral80 = "neutral-80", t.Neutral60 = "neutral-60", t.Neutral40 = "neutral-40", t.Neutral20 = "neutral-20", t.Neutral10 = "neutral-10", t.Neutral05 = "neutral-05", t.Neutral00 = "neutral-00", t.Secondary = "secondary", t.SecondaryLightest = "secondary-lightest", t.SecondaryLighter = "secondary-lighter", t.SecondaryLight = "secondary-light", t.SecondaryDark = "secondary-dark", t.SecondaryDarker = "secondary-darker", t.Success = "success", t.SuccessLighter = "success-lighter", t.SuccessLight = "success-light", t.SuccessDark = "success-dark", t.Warning = "warning", t.WarningLighter = "warning-lighter", t.WarningLight = "warning-light", t.WarningDark = "warning-dark", t.Danger = "danger", t.DangerLighter = "danger-lighter", t.DangerLight = "danger-light", t.DangerDark = "danger-dark", t.Info = "info", t.InfoLighter = "info-lighter", t.InfoLight = "info-light", t.InfoDark = "info-dark", t))(ls || {}), us = /* @__PURE__ */ ((t) => (t.Outlined = "outlined", t.Rounded = "rounded", t.Sharp = "sharp", t))(us || {}), cs = /* @__PURE__ */ ((t) => (t.XXS = "xxs", t.XS = "xs", t.SM = "sm", t.MD = "md", t.LG = "lg", t.XL = "xl", t.XXL = "xxl", t.XXXL = "xxxl", t.Huge = "huge", t))(cs || {}), ds = /* @__PURE__ */ ((t) => (t.Bold = "bold", t.Semibold = "semibold", t.Medium = "medium", t.Regular = "regular", t.Light = "light", t.Extralight = "extralight", t))(ds || {});
733
+ var os = /* @__PURE__ */ ((t) => (t.Primary = "primary", t.PrimaryLightest = "primary-lightest", t.PrimaryLighter = "primary-lighter", t.PrimaryLight = "primary-light", t.PrimaryDark = "primary-dark", t.PrimaryDarker = "primary-darker", t.Neutral90 = "neutral-90", t.Neutral80 = "neutral-80", t.Neutral60 = "neutral-60", t.Neutral40 = "neutral-40", t.Neutral20 = "neutral-20", t.Neutral10 = "neutral-10", t.Neutral05 = "neutral-05", t.Neutral00 = "neutral-00", t.Secondary = "secondary", t.SecondaryLightest = "secondary-lightest", t.SecondaryLighter = "secondary-lighter", t.SecondaryLight = "secondary-light", t.SecondaryDark = "secondary-dark", t.SecondaryDarker = "secondary-darker", t.Success = "success", t.SuccessLighter = "success-lighter", t.SuccessLight = "success-light", t.SuccessDark = "success-dark", t.Warning = "warning", t.WarningLighter = "warning-lighter", t.WarningLight = "warning-light", t.WarningDark = "warning-dark", t.Danger = "danger", t.DangerLighter = "danger-lighter", t.DangerLight = "danger-light", t.DangerDark = "danger-dark", t.Info = "info", t.InfoLighter = "info-lighter", t.InfoLight = "info-light", t.InfoDark = "info-dark", t))(os || {}), us = /* @__PURE__ */ ((t) => (t.Outlined = "outlined", t.Rounded = "rounded", t.Sharp = "sharp", t))(us || {}), cs = /* @__PURE__ */ ((t) => (t.XXS = "xxs", t.XS = "xs", t.SM = "sm", t.MD = "md", t.LG = "lg", t.XL = "xl", t.XXL = "xxl", t.XXXL = "xxxl", t.Huge = "huge", t))(cs || {}), ds = /* @__PURE__ */ ((t) => (t.Bold = "bold", t.Semibold = "semibold", t.Medium = "medium", t.Regular = "regular", t.Light = "light", t.Extralight = "extralight", t))(ds || {});
740
734
  const pe = {
741
735
  name: "Icon",
742
736
  class: "ds-icon",
@@ -744,7 +738,7 @@ const pe = {
744
738
  color: {
745
739
  type: String,
746
740
  default: "neutral-90",
747
- options: Object.values(ls)
741
+ options: Object.values(os)
748
742
  },
749
743
  image: {
750
744
  type: String,
@@ -788,7 +782,7 @@ const pe = {
788
782
  }
789
783
  }
790
784
  };
791
- var lt = /* @__PURE__ */ ((t) => (t["primary-darker"] = "primary--darker", t["primary-dark"] = "primary--dark", t["primary-light"] = "primary--light", t["primary-lighter"] = "primary--lighter", t["primary-lightest"] = "primary--lightest", t["secondary-darker"] = "secondary--darker", t["secondary-dark"] = "secondary--dark", t["secondary-light"] = "secondary--light", t["secondary-lighter"] = "secondary--lighter", t["secondary-lightest"] = "secondary--lightest", t["success-dark"] = "success--dark", t["success-light"] = "success--light", t["success-lighter"] = "success--lighter", t["warning-dark"] = "warning--dark", t["warning-light"] = "warning--light", t["warning-lighter"] = "warning--lighter", t["danger-dark"] = "danger--dark", t["danger-light"] = "danger--light", t["danger-lighter"] = "danger--lighter", t["info-dark"] = "info--dark", t["info-light"] = "info--light", t["info-lighter"] = "info--lighter", t))(lt || {});
785
+ var ot = /* @__PURE__ */ ((t) => (t["primary-darker"] = "primary--darker", t["primary-dark"] = "primary--dark", t["primary-light"] = "primary--light", t["primary-lighter"] = "primary--lighter", t["primary-lightest"] = "primary--lightest", t["secondary-darker"] = "secondary--darker", t["secondary-dark"] = "secondary--dark", t["secondary-light"] = "secondary--light", t["secondary-lighter"] = "secondary--lighter", t["secondary-lightest"] = "secondary--lightest", t["success-dark"] = "success--dark", t["success-light"] = "success--light", t["success-lighter"] = "success--lighter", t["warning-dark"] = "warning--dark", t["warning-light"] = "warning--light", t["warning-lighter"] = "warning--lighter", t["danger-dark"] = "danger--dark", t["danger-light"] = "danger--light", t["danger-lighter"] = "danger--lighter", t["info-dark"] = "info--dark", t["info-light"] = "info--light", t["info-lighter"] = "info--lighter", t))(ot || {});
792
786
  const Rn = {
793
787
  bold: 700,
794
788
  semibold: 600,
@@ -804,9 +798,9 @@ const Rn = {
804
798
  fill: r = pe.props.fill.default,
805
799
  weight: a = pe.props.weight.default,
806
800
  testId: i = pe.props.testId.default,
807
- onClick: l = pe.props.onClick.default
801
+ onClick: o = pe.props.onClick.default
808
802
  }) => {
809
- const u = "material-symbols-rounded", d = e && pe.props.color.options.find((f) => f === e) && `color__${lt[e] || e}`, h = be(() => ({
803
+ const u = "material-symbols-rounded", d = e && pe.props.color.options.find((f) => f === e) && `color__${ot[e] ?? e}`, h = be(() => ({
810
804
  fontVariationSettings: `'FILL' ${r ? 1 : 0}, 'GRAD' 0,'wght' ${Rn[a]}, 'opsz' 48`
811
805
  }), [a, r]);
812
806
  return /* @__PURE__ */ c(
@@ -817,10 +811,10 @@ const Rn = {
817
811
  pe.class,
818
812
  u,
819
813
  d,
820
- s && s
814
+ s
821
815
  ].filter((f) => f).join(" "),
822
816
  "data-testid": i,
823
- onClick: l,
817
+ onClick: o,
824
818
  style: h,
825
819
  translate: "no",
826
820
  children: t
@@ -828,13 +822,13 @@ const Rn = {
828
822
  );
829
823
  };
830
824
  G.propTypes = {
831
- color: o.oneOf(pe.props.color.options),
832
- image: o.string,
833
- fontVariationSettings: o.object,
834
- size: o.oneOf(pe.props.size.options),
835
- fill: o.bool,
836
- weight: o.oneOf(pe.props.weight.options),
837
- onClick: o.func
825
+ color: l.oneOf(pe.props.color.options),
826
+ image: l.string,
827
+ fontVariationSettings: l.object,
828
+ size: l.oneOf(pe.props.size.options),
829
+ fill: l.bool,
830
+ weight: l.oneOf(pe.props.weight.options),
831
+ onClick: l.func
838
832
  };
839
833
  G.displayName = "DsIcon";
840
834
  const ut = ({
@@ -845,7 +839,7 @@ const ut = ({
845
839
  disabled: r = Y.props.disabled.default,
846
840
  icon: a = Y.props.icon.default,
847
841
  id: i = Y.props.id.default,
848
- testId: l = Y.props.testId.default,
842
+ testId: o = Y.props.testId.default,
849
843
  elevation: u,
850
844
  variant: d = Y.props.variant.default,
851
845
  color: h = Y.props.color.default,
@@ -869,7 +863,7 @@ const ut = ({
869
863
  C,
870
864
  e
871
865
  ].filter((W) => W).join(" "),
872
- "data-testid": l,
866
+ "data-testid": o,
873
867
  "data-trackid": E,
874
868
  ...v && { "data-tracklabel": v },
875
869
  disabled: r,
@@ -891,18 +885,18 @@ const ut = ({
891
885
  );
892
886
  };
893
887
  ut.propTypes = {
894
- color: o.oneOf(Y.props.color.options),
895
- variant: o.oneOf(Y.props.variant.options),
896
- size: o.oneOf(Y.props.size.options),
897
- disabled: o.bool,
898
- icon: o.string,
899
- iconFill: o.bool,
900
- iconPosition: o.oneOf(Y.props.iconPosition.options),
901
- testId: o.string,
902
- id: o.string,
903
- fullSize: o.bool,
904
- trackId: o.string,
905
- trackLabel: o.string
888
+ color: l.oneOf(Y.props.color.options),
889
+ variant: l.oneOf(Y.props.variant.options),
890
+ size: l.oneOf(Y.props.size.options),
891
+ disabled: l.bool,
892
+ icon: l.string,
893
+ iconFill: l.bool,
894
+ iconPosition: l.oneOf(Y.props.iconPosition.options),
895
+ testId: l.string,
896
+ id: l.string,
897
+ fullSize: l.bool,
898
+ trackId: l.string,
899
+ trackLabel: l.string
906
900
  };
907
901
  ut.displayName = "DsButton";
908
902
  const Nn = {
@@ -921,9 +915,9 @@ const Nn = {
921
915
  }
922
916
  );
923
917
  ps.propTypes = {
924
- children: o.node.isRequired,
925
- className: o.string,
926
- testId: o.string
918
+ children: l.node.isRequired,
919
+ className: l.string,
920
+ testId: l.string
927
921
  };
928
922
  ps.displayName = "DsCaption";
929
923
  var Ft = /* @__PURE__ */ ((t) => (t.None = "", t.PrimaryDarker = "primary-darker", t.PrimaryDark = "primary-dark", t.Primary = "primary", t.PrimaryLight = "primary-light", t.PrimaryLighter = "primary-lighter", t.PrimaryLightest = "primary-lightest", t.SecondaryDarker = "secondary-darker", t.SecondaryDark = "secondary-dark", t.Secondary = "secondary", t.SecondaryLight = "secondary-light", t.SecondaryLighter = "secondary-lighter", t.SecondaryLightest = "secondary-lightest", t.Neutral90 = "neutral-90", t.Neutral80 = "neutral-80", t.Neutral60 = "neutral-60", t.Neutral40 = "neutral-40", t.Neutral20 = "neutral-20", t.Neutral10 = "neutral-10", t.Neutral05 = "neutral-05", t.Neutral00 = "neutral-00", t.SuccessDark = "success-dark", t.Success = "success", t.SuccessLight = "success-light", t.SuccessLighter = "success-lighter", t.WarningDark = "warning-dark", t.Warning = "warning", t.WarningLight = "warning-light", t.WarningLighter = "warning-lighter", t.DangerDark = "danger-dark", t.Danger = "danger", t.DangerLight = "danger-light", t.DangerLighter = "danger-lighter", t.InfoDark = "info-dark", t.Info = "info", t.InfoLight = "info-light", t.InfoLighter = "info-lighter", t))(Ft || {}), Bn = /* @__PURE__ */ ((t) => (t[t.Elevation = 0] = "Elevation", t[t.Elevation1 = 1] = "Elevation1", t[t.Elevation2 = 2] = "Elevation2", t[t.Elevation3 = 3] = "Elevation3", t[t.Elevation4 = 4] = "Elevation4", t))(Bn || {});
@@ -978,10 +972,10 @@ const Oe = {
978
972
  elevation: r = Oe.props.elevation.default,
979
973
  backgroundColor: a = Oe.props.backgroundColor.default,
980
974
  borderColor: i = Oe.props.borderColor.default,
981
- trackId: l = Oe.props.trackId.default,
975
+ trackId: o = Oe.props.trackId.default,
982
976
  trackLabel: u
983
977
  }) => {
984
- const d = r && `elevation-${r}`, h = i && `border-color__${lt[i] || i}`, f = a && `bg-color__${lt[a] || a}`;
978
+ const d = r && `elevation-${r}`, h = i && `border-color__${ot[i] ?? i}`, f = a && `bg-color__${ot[a] ?? a}`;
985
979
  return /* @__PURE__ */ c(
986
980
  "div",
987
981
  {
@@ -993,7 +987,7 @@ const Oe = {
993
987
  f
994
988
  ].filter((_) => _).join(" "),
995
989
  "data-testid": e,
996
- "data-trackid": l,
990
+ "data-trackid": o,
997
991
  ...u && { "data-tracklabel": u },
998
992
  id: t,
999
993
  children: s
@@ -1001,13 +995,13 @@ const Oe = {
1001
995
  );
1002
996
  };
1003
997
  hs.propTypes = {
1004
- id: o.string,
1005
- testId: o.string,
1006
- backgroundColor: o.oneOf(Oe.props.backgroundColor.options),
1007
- borderColor: o.oneOf(Oe.props.borderColor.options),
1008
- elevation: o.oneOf(Oe.props.elevation.options),
1009
- trackId: o.string,
1010
- trackLabel: o.string
998
+ id: l.string,
999
+ testId: l.string,
1000
+ backgroundColor: l.oneOf(Oe.props.backgroundColor.options),
1001
+ borderColor: l.oneOf(Oe.props.borderColor.options),
1002
+ elevation: l.oneOf(Oe.props.elevation.options),
1003
+ trackId: l.string,
1004
+ trackLabel: l.string
1011
1005
  };
1012
1006
  hs.displayName = "DsCard";
1013
1007
  const ie = {
@@ -1056,26 +1050,24 @@ const ie = {
1056
1050
  label: r = ie.props.label.default,
1057
1051
  description: a = ie.props.description.default,
1058
1052
  checked: i = ie.props.checked.default,
1059
- disabled: l = ie.props.checked.default,
1053
+ disabled: o = ie.props.disabled.default,
1060
1054
  changeByChecked: u = ie.props.changeByChecked.default,
1061
1055
  onChangeHandler: d
1062
1056
  }, h) => {
1063
- const f = u || !1, _ = i || !1, [y, E] = P(_), v = {
1057
+ const f = u ?? !1, _ = i ?? !1, [y, E] = P(_), v = {
1064
1058
  image: y ? "check_box" : "check_box_outline_blank",
1065
1059
  class: y ? `${ie.class}__icon--checked` : `${ie.class}__icon--unchecked`
1066
- }, m = l && `${ie.class}--disabled`, F = (j) => {
1067
- l || (E((A) => !A), d && d(j));
1060
+ }, m = o && `${ie.class}--disabled`, F = (j) => {
1061
+ o || (E((A) => !A), d && d(j));
1068
1062
  };
1069
1063
  return Q(() => {
1070
1064
  f && E(i);
1071
1065
  }, [i, f]), /* @__PURE__ */ I(
1072
1066
  "label",
1073
1067
  {
1074
- className: [
1075
- ie.class,
1076
- m,
1077
- e && e
1078
- ].join(" "),
1068
+ className: [ie.class, m, e].join(
1069
+ " "
1070
+ ),
1079
1071
  htmlFor: t || s,
1080
1072
  children: [
1081
1073
  /* @__PURE__ */ c(
@@ -1084,6 +1076,7 @@ const ie = {
1084
1076
  checked: y,
1085
1077
  className: `${ie.class}__input`,
1086
1078
  "data-testid": n,
1079
+ disabled: o,
1087
1080
  id: t || s,
1088
1081
  name: s,
1089
1082
  onChange: F,
@@ -1125,13 +1118,13 @@ const ie = {
1125
1118
  }
1126
1119
  );
1127
1120
  fs.propTypes = {
1128
- label: o.oneOfType([o.string, o.element]),
1129
- name: o.string,
1130
- className: o.string,
1131
- testId: o.string,
1132
- description: o.oneOfType([o.string, o.element]),
1133
- checked: o.bool,
1134
- disabled: o.bool
1121
+ label: l.oneOfType([l.string, l.element]),
1122
+ name: l.string,
1123
+ className: l.string,
1124
+ testId: l.string,
1125
+ description: l.oneOfType([l.string, l.element]),
1126
+ checked: l.bool,
1127
+ disabled: l.bool
1135
1128
  };
1136
1129
  fs.displayName = "DsCheckbox";
1137
1130
  var gs = /* @__PURE__ */ ((t) => (t.Heading1 = "heading-1", t.Heading2 = "heading-2", t.Heading3 = "heading-3", t.Heading4 = "heading-4", t.Heading5 = "heading-5", t.Heading6 = "heading-6", t))(gs || {});
@@ -1169,9 +1162,9 @@ const Ke = {
1169
1162
  );
1170
1163
  };
1171
1164
  Nt.propTypes = {
1172
- className: o.string,
1173
- testId: o.string,
1174
- type: o.oneOf(Ke.props.type.options)
1165
+ className: l.string,
1166
+ testId: l.string,
1167
+ type: l.oneOf(Ke.props.type.options)
1175
1168
  };
1176
1169
  Nt.displayName = "DsHeading";
1177
1170
  var ms = /* @__PURE__ */ ((t) => (t.None = "", t.Dashed = "dashed", t.Dotted = "dotted", t))(ms || {}), vs = /* @__PURE__ */ ((t) => (t.None = "", t.Small = "small", t.Large = "large", t))(vs || {});
@@ -1208,8 +1201,8 @@ const _s = ({
1208
1201
  );
1209
1202
  };
1210
1203
  _s.propTypes = {
1211
- size: o.oneOf(Pe.props.size.options),
1212
- borderStyle: o.oneOf(Pe.props.borderStyle.options)
1204
+ size: l.oneOf(Pe.props.size.options),
1205
+ borderStyle: l.oneOf(Pe.props.borderStyle.options)
1213
1206
  };
1214
1207
  _s.displayName = "DsHR";
1215
1208
  function $e(t) {
@@ -1246,38 +1239,25 @@ function St(t) {
1246
1239
  return t.replace(/([.*+?^=!:${}()|[\]/\\])/g, "\\$1");
1247
1240
  }
1248
1241
  function ct(t, e) {
1249
- if (e === t)
1250
- return !0;
1242
+ if (e === t) return !0;
1251
1243
  const s = Array.isArray(e), n = Array.isArray(t);
1252
1244
  let r;
1253
1245
  if (s && n) {
1254
- if (e.length != t.length)
1255
- return !1;
1256
- for (r = 0; r < e.length; r++)
1257
- if (!ct(e[r], t[r]))
1258
- return !1;
1246
+ if (e.length != t.length) return !1;
1247
+ for (r = 0; r < e.length; r++) if (!ct(e[r], t[r])) return !1;
1259
1248
  return !0;
1260
1249
  }
1261
- if (s != n)
1262
- return !1;
1250
+ if (s != n) return !1;
1263
1251
  if (e && t && typeof e == "object" && typeof t == "object") {
1264
1252
  const a = e instanceof Date, i = t instanceof Date;
1265
- if (a && i)
1266
- return e.getTime() == t.getTime();
1267
- if (a != i)
1268
- return !1;
1269
- const l = e instanceof RegExp, u = t instanceof RegExp;
1270
- if (l && u)
1271
- return e.toString() == t.toString();
1272
- if (l != u)
1273
- return !1;
1253
+ if (a && i) return e.getTime() == t.getTime();
1254
+ if (a != i) return !1;
1255
+ const o = e instanceof RegExp, u = t instanceof RegExp;
1256
+ if (o && u) return e.toString() == t.toString();
1257
+ if (o != u) return !1;
1274
1258
  const d = Object.keys(e);
1275
- for (r = 0; r < d.length; r++)
1276
- if (!Object.prototype.hasOwnProperty.call(t, d[r]))
1277
- return !1;
1278
- for (r = 0; r < d.length; r++)
1279
- if (!ct(t[d[r]], e[d[r]]))
1280
- return !1;
1259
+ for (r = 0; r < d.length; r++) if (!Object.prototype.hasOwnProperty.call(t, d[r])) return !1;
1260
+ for (r = 0; r < d.length; r++) if (!ct(t[d[r]], e[d[r]])) return !1;
1281
1261
  return !0;
1282
1262
  } else if (e && t && typeof e == "function" && typeof t == "function")
1283
1263
  return e.toString() === t.toString();
@@ -1334,18 +1314,15 @@ function D(t, e) {
1334
1314
  return new D.InputMask(t, e);
1335
1315
  }
1336
1316
  function ks(t) {
1337
- if (t == null)
1338
- throw new Error("mask property should be defined");
1317
+ if (t == null) throw new Error("mask property should be defined");
1339
1318
  return t instanceof RegExp ? D.MaskedRegExp : $e(t) ? D.MaskedPattern : t === Date ? D.MaskedDate : t === Number ? D.MaskedNumber : Array.isArray(t) || t === Array ? D.MaskedDynamic : D.Masked && t.prototype instanceof D.Masked ? t : D.Masked && t instanceof D.Masked ? t.constructor : t instanceof Function ? D.MaskedFunction : (console.warn("Mask not found for mask", t), D.Masked);
1340
1319
  }
1341
1320
  function Je(t) {
1342
- if (!t)
1343
- throw new Error("Options in not defined");
1321
+ if (!t) throw new Error("Options in not defined");
1344
1322
  if (D.Masked) {
1345
- if (t.prototype instanceof D.Masked)
1346
- return {
1347
- mask: t
1348
- };
1323
+ if (t.prototype instanceof D.Masked) return {
1324
+ mask: t
1325
+ };
1349
1326
  const {
1350
1327
  mask: e = void 0,
1351
1328
  ...s
@@ -1369,11 +1346,9 @@ function Je(t) {
1369
1346
  };
1370
1347
  }
1371
1348
  function Ie(t) {
1372
- if (D.Masked && t instanceof D.Masked)
1373
- return t;
1349
+ if (D.Masked && t instanceof D.Masked) return t;
1374
1350
  const e = Je(t), s = ks(e.mask);
1375
- if (!s)
1376
- throw new Error("Masked class is not found for provided mask " + e.mask + ", appropriate module needs to be imported manually before creating mask.");
1351
+ if (!s) throw new Error("Masked class is not found for provided mask " + e.mask + ", appropriate module needs to be imported manually before creating mask.");
1377
1352
  return e.mask === s && delete e.mask, e._mask && (e.mask = e._mask, delete e._mask), new s(e);
1378
1353
  }
1379
1354
  D.createMask = Ie;
@@ -1497,8 +1472,7 @@ class bs extends ht {
1497
1472
  }
1498
1473
  /** Sets HTMLElement selection */
1499
1474
  _unsafeSelect(e, s) {
1500
- if (!this.rootElement.createRange)
1501
- return;
1475
+ if (!this.rootElement.createRange) return;
1502
1476
  const n = this.rootElement.createRange();
1503
1477
  n.setStart(this.input.firstChild || this.input, e), n.setEnd(this.input.lastChild || this.input, s);
1504
1478
  const r = this.rootElement, a = r.getSelection && r.getSelection();
@@ -1546,7 +1520,7 @@ class jn {
1546
1520
  */
1547
1521
  /** Internal {@link Masked} model */
1548
1522
  constructor(e, s) {
1549
- this.el = e instanceof Bt ? e : e.isContentEditable && e.tagName !== "INPUT" && e.tagName !== "TEXTAREA" ? new bs(e) : new Ln(e), this.masked = Ie(s), this._listeners = {}, this._value = "", this._unmaskedValue = "", this._rawInputValue = "", this.history = new ft(), this._saveSelection = this._saveSelection.bind(this), this._onInput = this._onInput.bind(this), this._onChange = this._onChange.bind(this), this._onDrop = this._onDrop.bind(this), this._onFocus = this._onFocus.bind(this), this._onClick = this._onClick.bind(this), this._onUndo = this._onUndo.bind(this), this._onRedo = this._onRedo.bind(this), this.alignCursor = this.alignCursor.bind(this), this.alignCursorFriendly = this.alignCursorFriendly.bind(this), this._bindEvents(), this._onChange();
1523
+ this.el = e instanceof Bt ? e : e.isContentEditable && e.tagName !== "INPUT" && e.tagName !== "TEXTAREA" ? new bs(e) : new Ln(e), this.masked = Ie(s), this._listeners = {}, this._value = "", this._unmaskedValue = "", this._rawInputValue = "", this.history = new ft(), this._saveSelection = this._saveSelection.bind(this), this._onInput = this._onInput.bind(this), this._onChange = this._onChange.bind(this), this._onDrop = this._onDrop.bind(this), this._onFocus = this._onFocus.bind(this), this._onClick = this._onClick.bind(this), this._onUndo = this._onUndo.bind(this), this._onRedo = this._onRedo.bind(this), this.alignCursor = this.alignCursor.bind(this), this.alignCursorFriendly = this.alignCursorFriendly.bind(this), this._bindEvents(), this.updateValue(), this._onChange();
1550
1524
  }
1551
1525
  maskEquals(e) {
1552
1526
  var s;
@@ -1557,8 +1531,7 @@ class jn {
1557
1531
  return this.masked.mask;
1558
1532
  }
1559
1533
  set mask(e) {
1560
- if (this.maskEquals(e))
1561
- return;
1534
+ if (this.maskEquals(e)) return;
1562
1535
  if (!(e instanceof D.Masked) && this.masked.constructor === ks(e)) {
1563
1536
  this.masked.updateOptions({
1564
1537
  mask: e
@@ -1697,8 +1670,7 @@ class jn {
1697
1670
  }
1698
1671
  /** Removes custom event listener */
1699
1672
  off(e, s) {
1700
- if (!this._listeners[e])
1701
- return this;
1673
+ if (!this._listeners[e]) return this;
1702
1674
  if (!s)
1703
1675
  return delete this._listeners[e], this;
1704
1676
  const n = this._listeners[e].indexOf(s);
@@ -1813,14 +1785,12 @@ class we {
1813
1785
  Object.assign(this, e);
1814
1786
  }
1815
1787
  unshift(e) {
1816
- if (!this.value.length || e != null && this.from >= e)
1817
- return "";
1788
+ if (!this.value.length || e != null && this.from >= e) return "";
1818
1789
  const s = this.value[0];
1819
1790
  return this.value = this.value.slice(1), s;
1820
1791
  }
1821
1792
  shift() {
1822
- if (!this.value.length)
1823
- return "";
1793
+ if (!this.value.length) return "";
1824
1794
  const e = this.value[this.value.length - 1];
1825
1795
  return this.value = this.value.slice(0, -1), e;
1826
1796
  }
@@ -1947,13 +1917,13 @@ class re {
1947
1917
  if ([e, a] = this.doPrepareChar(e, s), e && (a = a.aggregate(this._appendCharRaw(e, s)), !a.rawInserted && this.autofix === "pad")) {
1948
1918
  const i = this.state;
1949
1919
  this.state = r;
1950
- let l = this.pad(s);
1920
+ let o = this.pad(s);
1951
1921
  const u = this._appendCharRaw(e, s);
1952
- l = l.aggregate(u), u.rawInserted || l.equals(a) ? a = l : this.state = i;
1922
+ o = o.aggregate(u), u.rawInserted || o.equals(a) ? a = o : this.state = i;
1953
1923
  }
1954
1924
  if (a.inserted) {
1955
- let i, l = this.doValidate(s) !== !1;
1956
- if (l && n != null) {
1925
+ let i, o = this.doValidate(s) !== !1;
1926
+ if (o && n != null) {
1957
1927
  const u = this.state;
1958
1928
  if (this.overwrite === !0) {
1959
1929
  i = n.state;
@@ -1961,15 +1931,15 @@ class re {
1961
1931
  n.unshift(this.displayValue.length - a.tailShift);
1962
1932
  }
1963
1933
  let d = this.appendTail(n);
1964
- if (l = d.rawInserted.length === n.toString().length, !(l && d.inserted) && this.overwrite === "shift") {
1934
+ if (o = d.rawInserted.length === n.toString().length, !(o && d.inserted) && this.overwrite === "shift") {
1965
1935
  this.state = u, i = n.state;
1966
1936
  for (let h = 0; h < a.rawInserted.length; ++h)
1967
1937
  n.shift();
1968
- d = this.appendTail(n), l = d.rawInserted.length === n.toString().length;
1938
+ d = this.appendTail(n), o = d.rawInserted.length === n.toString().length;
1969
1939
  }
1970
- l && d.inserted && (this.state = u);
1940
+ o && d.inserted && (this.state = u);
1971
1941
  }
1972
- l || (a = new M(), this.state = r, n && i && (n.state = i));
1942
+ o || (a = new M(), this.state = r, n && i && (n.state = i));
1973
1943
  }
1974
1944
  return a;
1975
1945
  }
@@ -1983,17 +1953,15 @@ class re {
1983
1953
  }
1984
1954
  /** Appends symbols considering flags */
1985
1955
  append(e, s, n) {
1986
- if (!$e(e))
1987
- throw new Error("value should be string");
1956
+ if (!$e(e)) throw new Error("value should be string");
1988
1957
  const r = $e(n) ? new we(String(n)) : n;
1989
1958
  s != null && s.tail && (s._beforeTailState = this.state);
1990
1959
  let a;
1991
1960
  [e, a] = this.doPrepare(e, s);
1992
1961
  for (let i = 0; i < e.length; ++i) {
1993
- const l = this._appendChar(e[i], s, r);
1994
- if (!l.rawInserted && !this.doSkipInvalid(e[i], s, r))
1995
- break;
1996
- a.aggregate(l);
1962
+ const o = this._appendChar(e[i], s, r);
1963
+ if (!o.rawInserted && !this.doSkipInvalid(e[i], s, r)) break;
1964
+ a.aggregate(o);
1997
1965
  }
1998
1966
  return (this.eager === !0 || this.eager === "append") && s != null && s.input && e && a.aggregate(this._appendEager()), r != null && (a.tailShift += this.appendTail(r).tailShift), a;
1999
1967
  }
@@ -2002,15 +1970,13 @@ class re {
2002
1970
  }
2003
1971
  /** Calls function and reapplies current value */
2004
1972
  withValueRefresh(e) {
2005
- if (this._refreshing || !this._initialized)
2006
- return e();
1973
+ if (this._refreshing || !this._initialized) return e();
2007
1974
  this._refreshing = !0;
2008
1975
  const s = this.rawInputValue, n = this.value, r = e();
2009
1976
  return this.rawInputValue = s, this.value && this.value !== n && n.indexOf(this.value) === 0 && (this.append(n.slice(this.displayValue.length), {}, ""), this.doCommit()), delete this._refreshing, r;
2010
1977
  }
2011
1978
  runIsolated(e) {
2012
- if (this._isolated || !this._initialized)
2013
- return e(this);
1979
+ if (this._isolated || !this._initialized) return e(this);
2014
1980
  this._isolated = !0;
2015
1981
  const s = this.state, n = e(this);
2016
1982
  return this.state = s, delete this._isolated, n;
@@ -2038,7 +2004,7 @@ class re {
2038
2004
  n === void 0 && (n = ""), r === void 0 && (r = S.NONE), a === void 0 && (a = {
2039
2005
  input: !0
2040
2006
  });
2041
- const i = e + s, l = this.extractTail(i), u = this.eager === !0 || this.eager === "remove";
2007
+ const i = e + s, o = this.extractTail(i), u = this.eager === !0 || this.eager === "remove";
2042
2008
  let d;
2043
2009
  u && (r = $n(r), d = this.extractInput(0, i, {
2044
2010
  raw: !0
@@ -2052,9 +2018,8 @@ class re {
2052
2018
  f.aggregate(new M({
2053
2019
  tailShift: -1
2054
2020
  })).aggregate(this.remove(_ - 1));
2055
- } else
2056
- r === S.FORCE_RIGHT && l.unshift();
2057
- return f.aggregate(this.append(n, a, l));
2021
+ } else r === S.FORCE_RIGHT && o.unshift();
2022
+ return f.aggregate(this.append(n, a, o));
2058
2023
  }
2059
2024
  maskEquals(e) {
2060
2025
  return this.mask === e;
@@ -2084,8 +2049,7 @@ class qe {
2084
2049
  return this.chunks.map(String).join("");
2085
2050
  }
2086
2051
  extend(e) {
2087
- if (!String(e))
2088
- return;
2052
+ if (!String(e)) return;
2089
2053
  e = $e(e) ? new we(String(e)) : e;
2090
2054
  const s = this.chunks[this.chunks.length - 1], n = s && // if stops are same or tail has no stop
2091
2055
  (s.stop === e.stop || e.stop == null) && // if tail chunk goes just after last chunk
@@ -2107,11 +2071,11 @@ class qe {
2107
2071
  const s = new M();
2108
2072
  for (let n = 0; n < this.chunks.length; ++n) {
2109
2073
  const r = this.chunks[n], a = e._mapPosToBlock(e.displayValue.length), i = r.stop;
2110
- let l;
2074
+ let o;
2111
2075
  if (i != null && // if block not found or stop is behind lastBlock
2112
2076
  (!a || a.index <= i) && ((r instanceof qe || // for continuous block also check if stop is exist
2113
- e._stops.indexOf(i) >= 0) && s.aggregate(e._appendPlaceholder(i)), l = r instanceof qe && e._blocks[i]), l) {
2114
- const u = l.appendTail(r);
2077
+ e._stops.indexOf(i) >= 0) && s.aggregate(e._appendPlaceholder(i)), o = r instanceof qe && e._blocks[i]), o) {
2078
+ const u = o.appendTail(r);
2115
2079
  s.aggregate(u);
2116
2080
  const d = r.toString().slice(u.rawInserted.length);
2117
2081
  d && s.aggregate(e.append(d, {
@@ -2143,37 +2107,31 @@ class qe {
2143
2107
  });
2144
2108
  }
2145
2109
  unshift(e) {
2146
- if (!this.chunks.length || e != null && this.from >= e)
2147
- return "";
2110
+ if (!this.chunks.length || e != null && this.from >= e) return "";
2148
2111
  const s = e != null ? e - this.from : e;
2149
2112
  let n = 0;
2150
2113
  for (; n < this.chunks.length; ) {
2151
2114
  const r = this.chunks[n], a = r.unshift(s);
2152
2115
  if (r.toString()) {
2153
- if (!a)
2154
- break;
2116
+ if (!a) break;
2155
2117
  ++n;
2156
2118
  } else
2157
2119
  this.chunks.splice(n, 1);
2158
- if (a)
2159
- return a;
2120
+ if (a) return a;
2160
2121
  }
2161
2122
  return "";
2162
2123
  }
2163
2124
  shift() {
2164
- if (!this.chunks.length)
2165
- return "";
2125
+ if (!this.chunks.length) return "";
2166
2126
  let e = this.chunks.length - 1;
2167
2127
  for (; 0 <= e; ) {
2168
2128
  const s = this.chunks[e], n = s.shift();
2169
2129
  if (s.toString()) {
2170
- if (!n)
2171
- break;
2130
+ if (!n) break;
2172
2131
  --e;
2173
2132
  } else
2174
2133
  this.chunks.splice(e, 1);
2175
- if (n)
2176
- return n;
2134
+ if (n) return n;
2177
2135
  }
2178
2136
  return "";
2179
2137
  }
@@ -2228,15 +2186,13 @@ class Pn {
2228
2186
  _pushLeft(e) {
2229
2187
  for (this.pushState(), this.bindBlock(); 0 <= this.index; --this.index, this.offset = ((s = this.block) == null ? void 0 : s.displayValue.length) || 0) {
2230
2188
  var s;
2231
- if (e())
2232
- return this.ok = !0;
2189
+ if (e()) return this.ok = !0;
2233
2190
  }
2234
2191
  return this.ok = !1;
2235
2192
  }
2236
2193
  _pushRight(e) {
2237
2194
  for (this.pushState(), this.bindBlock(); this.index < this.masked._blocks.length; ++this.index, this.offset = 0)
2238
- if (e())
2239
- return this.ok = !0;
2195
+ if (e()) return this.ok = !0;
2240
2196
  return this.ok = !1;
2241
2197
  }
2242
2198
  pushLeftBeforeFilled() {
@@ -2331,8 +2287,7 @@ class Es {
2331
2287
  return !!this._value;
2332
2288
  }
2333
2289
  _appendChar(e, s) {
2334
- if (s === void 0 && (s = {}), this.isFilled)
2335
- return new M();
2290
+ if (s === void 0 && (s = {}), this.isFilled) return new M();
2336
2291
  const n = this.eager === !0 || this.eager === "append", a = this.char === e && (this.isUnmasking || s.input || s.raw) && (!s.raw || !n) && !s.tail, i = new M({
2337
2292
  inserted: this.char,
2338
2293
  rawInserted: a ? this.char : ""
@@ -2389,7 +2344,7 @@ class dt {
2389
2344
  placeholderChar: r,
2390
2345
  displayChar: a,
2391
2346
  lazy: i,
2392
- eager: l,
2347
+ eager: o,
2393
2348
  ...u
2394
2349
  } = e;
2395
2350
  this.masked = Ie(u), Object.assign(this, {
@@ -2398,7 +2353,7 @@ class dt {
2398
2353
  placeholderChar: r,
2399
2354
  displayChar: a,
2400
2355
  lazy: i,
2401
- eager: l
2356
+ eager: o
2402
2357
  });
2403
2358
  }
2404
2359
  reset() {
@@ -2423,8 +2378,7 @@ class dt {
2423
2378
  return !!this.masked.value || this.isOptional;
2424
2379
  }
2425
2380
  _appendChar(e, s) {
2426
- if (s === void 0 && (s = {}), this.isFilled)
2427
- return new M();
2381
+ if (s === void 0 && (s = {}), this.isFilled) return new M();
2428
2382
  const n = this.masked.state;
2429
2383
  let r = this.masked._appendChar(e, this.currentMaskFlags(s));
2430
2384
  return r.inserted && this.doValidate(s) === !1 && (r = new M(), this.masked.state = n), !r.inserted && !this.isOptional && !this.lazy && !s.input && (r.inserted = this.placeholderChar), r.skip = !r.inserted && !this.isOptional, this.isFilled = !!r.inserted, r;
@@ -2543,8 +2497,7 @@ class ae extends re {
2543
2497
  const e = this.definitions;
2544
2498
  this._blocks = [], this.exposeBlock = void 0, this._stops = [], this._maskedBlocks = {};
2545
2499
  const s = this.mask;
2546
- if (!s || !e)
2547
- return;
2500
+ if (!s || !e) return;
2548
2501
  let n = !1, r = !1;
2549
2502
  for (let a = 0; a < s.length; ++a) {
2550
2503
  if (this.blocks) {
@@ -2574,7 +2527,7 @@ class ae extends re {
2574
2527
  continue;
2575
2528
  }
2576
2529
  }
2577
- let i = s[a], l = i in e;
2530
+ let i = s[a], o = i in e;
2578
2531
  if (i === ae.STOP_CHAR) {
2579
2532
  this._stops.push(this._blocks.length);
2580
2533
  continue;
@@ -2588,11 +2541,10 @@ class ae extends re {
2588
2541
  continue;
2589
2542
  }
2590
2543
  if (i === ae.ESCAPE_CHAR) {
2591
- if (++a, i = s[a], !i)
2592
- break;
2593
- l = !1;
2544
+ if (++a, i = s[a], !i) break;
2545
+ o = !1;
2594
2546
  }
2595
- const u = l ? new dt({
2547
+ const u = o ? new dt({
2596
2548
  isOptional: r,
2597
2549
  lazy: this.lazy,
2598
2550
  eager: this.eager,
@@ -2650,8 +2602,7 @@ class ae extends re {
2650
2602
  if (this.exposeBlock) {
2651
2603
  const s = this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock)) + this.exposeBlock.displayValue.length);
2652
2604
  this.exposeBlock.unmaskedValue = e, this.appendTail(s), this.doCommit();
2653
- } else
2654
- super.unmaskedValue = e;
2605
+ } else super.unmaskedValue = e;
2655
2606
  }
2656
2607
  get value() {
2657
2608
  return this.exposeBlock ? this.exposeBlock.value : (
@@ -2663,8 +2614,7 @@ class ae extends re {
2663
2614
  if (this.exposeBlock) {
2664
2615
  const s = this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock)) + this.exposeBlock.displayValue.length);
2665
2616
  this.exposeBlock.value = e, this.appendTail(s), this.doCommit();
2666
- } else
2667
- super.value = e;
2617
+ } else super.value = e;
2668
2618
  }
2669
2619
  get typedValue() {
2670
2620
  return this.exposeBlock ? this.exposeBlock.typedValue : super.typedValue;
@@ -2673,8 +2623,7 @@ class ae extends re {
2673
2623
  if (this.exposeBlock) {
2674
2624
  const s = this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock)) + this.exposeBlock.displayValue.length);
2675
2625
  this.exposeBlock.typedValue = e, this.appendTail(s), this.doCommit();
2676
- } else
2677
- super.typedValue = e;
2626
+ } else super.typedValue = e;
2678
2627
  }
2679
2628
  get displayValue() {
2680
2629
  return this._blocks.reduce((e, s) => e += s.displayValue, "");
@@ -2686,13 +2635,11 @@ class ae extends re {
2686
2635
  var e;
2687
2636
  const s = new M();
2688
2637
  let n = (e = this._mapPosToBlock(this.displayValue.length)) == null ? void 0 : e.index;
2689
- if (n == null)
2690
- return s;
2638
+ if (n == null) return s;
2691
2639
  this._blocks[n].isFilled && ++n;
2692
2640
  for (let r = n; r < this._blocks.length; ++r) {
2693
2641
  const a = this._blocks[r]._appendEager();
2694
- if (!a.inserted)
2695
- break;
2642
+ if (!a.inserted) break;
2696
2643
  s.aggregate(a);
2697
2644
  }
2698
2645
  return s;
@@ -2700,59 +2647,52 @@ class ae extends re {
2700
2647
  _appendCharRaw(e, s) {
2701
2648
  s === void 0 && (s = {});
2702
2649
  const n = this._mapPosToBlock(this.displayValue.length), r = new M();
2703
- if (!n)
2704
- return r;
2705
- for (let i = n.index, l; l = this._blocks[i]; ++i) {
2650
+ if (!n) return r;
2651
+ for (let i = n.index, o; o = this._blocks[i]; ++i) {
2706
2652
  var a;
2707
- const u = l._appendChar(e, {
2653
+ const u = o._appendChar(e, {
2708
2654
  ...s,
2709
2655
  _beforeTailState: (a = s._beforeTailState) == null || (a = a._blocks) == null ? void 0 : a[i]
2710
2656
  });
2711
- if (r.aggregate(u), u.consumed)
2712
- break;
2657
+ if (r.aggregate(u), u.consumed) break;
2713
2658
  }
2714
2659
  return r;
2715
2660
  }
2716
2661
  extractTail(e, s) {
2717
2662
  e === void 0 && (e = 0), s === void 0 && (s = this.displayValue.length);
2718
2663
  const n = new qe();
2719
- return e === s || this._forEachBlocksInRange(e, s, (r, a, i, l) => {
2720
- const u = r.extractTail(i, l);
2664
+ return e === s || this._forEachBlocksInRange(e, s, (r, a, i, o) => {
2665
+ const u = r.extractTail(i, o);
2721
2666
  u.stop = this._findStopBefore(a), u.from = this._blockStartPos(a), u instanceof qe && (u.blockIndex = a), n.extend(u);
2722
2667
  }), n;
2723
2668
  }
2724
2669
  extractInput(e, s, n) {
2725
- if (e === void 0 && (e = 0), s === void 0 && (s = this.displayValue.length), n === void 0 && (n = {}), e === s)
2726
- return "";
2670
+ if (e === void 0 && (e = 0), s === void 0 && (s = this.displayValue.length), n === void 0 && (n = {}), e === s) return "";
2727
2671
  let r = "";
2728
- return this._forEachBlocksInRange(e, s, (a, i, l, u) => {
2729
- r += a.extractInput(l, u, n);
2672
+ return this._forEachBlocksInRange(e, s, (a, i, o, u) => {
2673
+ r += a.extractInput(o, u, n);
2730
2674
  }), r;
2731
2675
  }
2732
2676
  _findStopBefore(e) {
2733
2677
  let s;
2734
2678
  for (let n = 0; n < this._stops.length; ++n) {
2735
2679
  const r = this._stops[n];
2736
- if (r <= e)
2737
- s = r;
2738
- else
2739
- break;
2680
+ if (r <= e) s = r;
2681
+ else break;
2740
2682
  }
2741
2683
  return s;
2742
2684
  }
2743
2685
  /** Appends placeholder depending on laziness */
2744
2686
  _appendPlaceholder(e) {
2745
2687
  const s = new M();
2746
- if (this.lazy && e == null)
2747
- return s;
2688
+ if (this.lazy && e == null) return s;
2748
2689
  const n = this._mapPosToBlock(this.displayValue.length);
2749
- if (!n)
2750
- return s;
2690
+ if (!n) return s;
2751
2691
  const r = n.index, a = e ?? this._blocks.length;
2752
2692
  return this._blocks.slice(r, a).forEach((i) => {
2753
2693
  if (!i.lazy || e != null) {
2754
- var l;
2755
- s.aggregate(i._appendPlaceholder((l = i._blocks) == null ? void 0 : l.length));
2694
+ var o;
2695
+ s.aggregate(i._appendPlaceholder((o = i._blocks) == null ? void 0 : o.length));
2756
2696
  }
2757
2697
  }), s;
2758
2698
  }
@@ -2775,8 +2715,8 @@ class ae extends re {
2775
2715
  s === void 0 && (s = this.displayValue.length);
2776
2716
  const r = this._mapPosToBlock(e);
2777
2717
  if (r) {
2778
- const a = this._mapPosToBlock(s), i = a && r.index === a.index, l = r.offset, u = a && i ? a.offset : this._blocks[r.index].displayValue.length;
2779
- if (n(this._blocks[r.index], r.index, l, u), a && !i) {
2718
+ const a = this._mapPosToBlock(s), i = a && r.index === a.index, o = r.offset, u = a && i ? a.offset : this._blocks[r.index].displayValue.length;
2719
+ if (n(this._blocks[r.index], r.index, o, u), a && !i) {
2780
2720
  for (let d = r.index + 1; d < a.index; ++d)
2781
2721
  n(this._blocks[d], d, 0, this._blocks[d].displayValue.length);
2782
2722
  n(this._blocks[a.index], a.index, 0, a.offset);
@@ -2786,25 +2726,22 @@ class ae extends re {
2786
2726
  remove(e, s) {
2787
2727
  e === void 0 && (e = 0), s === void 0 && (s = this.displayValue.length);
2788
2728
  const n = super.remove(e, s);
2789
- return this._forEachBlocksInRange(e, s, (r, a, i, l) => {
2790
- n.aggregate(r.remove(i, l));
2729
+ return this._forEachBlocksInRange(e, s, (r, a, i, o) => {
2730
+ n.aggregate(r.remove(i, o));
2791
2731
  }), n;
2792
2732
  }
2793
2733
  nearestInputPos(e, s) {
2794
- if (s === void 0 && (s = S.NONE), !this._blocks.length)
2795
- return 0;
2734
+ if (s === void 0 && (s = S.NONE), !this._blocks.length) return 0;
2796
2735
  const n = new Pn(this, e);
2797
2736
  if (s === S.NONE)
2798
2737
  return n.pushRightBeforeInput() || (n.popState(), n.pushLeftBeforeInput()) ? n.pos : this.displayValue.length;
2799
2738
  if (s === S.LEFT || s === S.FORCE_LEFT) {
2800
2739
  if (s === S.LEFT) {
2801
- if (n.pushRightBeforeFilled(), n.ok && n.pos === e)
2802
- return e;
2740
+ if (n.pushRightBeforeFilled(), n.ok && n.pos === e) return e;
2803
2741
  n.popState();
2804
2742
  }
2805
2743
  if (n.pushLeftBeforeInput(), n.pushLeftBeforeRequired(), n.pushLeftBeforeFilled(), s === S.LEFT) {
2806
- if (n.pushRightBeforeInput(), n.pushRightBeforeRequired(), n.ok && n.pos <= e || (n.popState(), n.ok && n.pos <= e))
2807
- return n.pos;
2744
+ if (n.pushRightBeforeInput(), n.pushRightBeforeRequired(), n.ok && n.pos <= e || (n.popState(), n.ok && n.pos <= e)) return n.pos;
2808
2745
  n.popState();
2809
2746
  }
2810
2747
  return n.ok ? n.pos : s === S.FORCE_LEFT ? 0 : (n.popState(), n.ok || (n.popState(), n.ok) ? n.pos : 0);
@@ -2814,8 +2751,8 @@ class ae extends re {
2814
2751
  totalInputPositions(e, s) {
2815
2752
  e === void 0 && (e = 0), s === void 0 && (s = this.displayValue.length);
2816
2753
  let n = 0;
2817
- return this._forEachBlocksInRange(e, s, (r, a, i, l) => {
2818
- n += r.totalInputPositions(i, l);
2754
+ return this._forEachBlocksInRange(e, s, (r, a, i, o) => {
2755
+ n += r.totalInputPositions(i, o);
2819
2756
  }), n;
2820
2757
  }
2821
2758
  /** Get block by name */
@@ -2867,10 +2804,9 @@ class it extends ae {
2867
2804
  ...i
2868
2805
  } = e;
2869
2806
  this.to = s, this.from = n, this.maxLength = Math.max(String(s).length, r), this.autofix = a;
2870
- const l = String(this.from).padStart(this.maxLength, "0"), u = String(this.to).padStart(this.maxLength, "0");
2807
+ const o = String(this.from).padStart(this.maxLength, "0"), u = String(this.to).padStart(this.maxLength, "0");
2871
2808
  let d = 0;
2872
- for (; d < u.length && u[d] === l[d]; )
2873
- ++d;
2809
+ for (; d < u.length && u[d] === o[d]; ) ++d;
2874
2810
  i.mask = u.slice(0, d).replace(/0/g, "\\0") + "0".repeat(this.maxLength - d), super._update(i);
2875
2811
  }
2876
2812
  get isComplete() {
@@ -2887,22 +2823,19 @@ class it extends ae {
2887
2823
  return [e, n] = super.doPrepareChar(e.replace(/\D/g, ""), s), e || (n.skip = !this.isComplete), [e, n];
2888
2824
  }
2889
2825
  _appendCharRaw(e, s) {
2890
- if (s === void 0 && (s = {}), !this.autofix || this.value.length + 1 > this.maxLength)
2891
- return super._appendCharRaw(e, s);
2826
+ if (s === void 0 && (s = {}), !this.autofix || this.value.length + 1 > this.maxLength) return super._appendCharRaw(e, s);
2892
2827
  const n = String(this.from).padStart(this.maxLength, "0"), r = String(this.to).padStart(this.maxLength, "0"), [a, i] = this.boundaries(this.value + e);
2893
2828
  return Number(i) < this.from ? super._appendCharRaw(n[this.value.length], s) : Number(a) > this.to ? !s.tail && this.autofix === "pad" && this.value.length + 1 < this.maxLength ? super._appendCharRaw(n[this.value.length], s).aggregate(this._appendCharRaw(e, s)) : super._appendCharRaw(r[this.value.length], s) : super._appendCharRaw(e, s);
2894
2829
  }
2895
2830
  doValidate(e) {
2896
2831
  const s = this.value;
2897
- if (s.search(/[^0]/) === -1 && s.length <= this._matchFrom)
2898
- return !0;
2832
+ if (s.search(/[^0]/) === -1 && s.length <= this._matchFrom) return !0;
2899
2833
  const [r, a] = this.boundaries(s);
2900
2834
  return this.from <= Number(a) && Number(r) <= this.to && super.doValidate(e);
2901
2835
  }
2902
2836
  pad(e) {
2903
2837
  const s = new M();
2904
- if (this.value.length === this.maxLength)
2905
- return s;
2838
+ if (this.value.length === this.maxLength) return s;
2906
2839
  const n = this.value, r = this.maxLength - this.value.length;
2907
2840
  if (r) {
2908
2841
  this.reset();
@@ -2914,6 +2847,7 @@ class it extends ae {
2914
2847
  }
2915
2848
  }
2916
2849
  D.MaskedRange = it;
2850
+ const Un = "d{.}`m{.}`Y";
2917
2851
  class De extends ae {
2918
2852
  static extractPatternOptions(e) {
2919
2853
  const {
@@ -3006,10 +2940,9 @@ De.GET_DEFAULT_BLOCKS = () => ({
3006
2940
  De.DEFAULTS = {
3007
2941
  ...ae.DEFAULTS,
3008
2942
  mask: Date,
3009
- pattern: "d{.}`m{.}`Y",
2943
+ pattern: Un,
3010
2944
  format: (t, e) => {
3011
- if (!t)
3012
- return "";
2945
+ if (!t) return "";
3013
2946
  const s = String(t.getDate()).padStart(2, "0"), n = String(t.getMonth() + 1).padStart(2, "0"), r = t.getFullYear();
3014
2947
  return [s, n, r].join(".");
3015
2948
  },
@@ -3050,12 +2983,12 @@ class gt extends re {
3050
2983
  }
3051
2984
  _applyDispatch(e, s, n) {
3052
2985
  e === void 0 && (e = ""), s === void 0 && (s = {}), n === void 0 && (n = "");
3053
- const r = s.tail && s._beforeTailState != null ? s._beforeTailState._value : this.value, a = this.rawInputValue, i = s.tail && s._beforeTailState != null ? s._beforeTailState._rawInputValue : a, l = a.slice(i.length), u = this.currentMask, d = new M(), h = u == null ? void 0 : u.state;
2986
+ const r = s.tail && s._beforeTailState != null ? s._beforeTailState._value : this.value, a = this.rawInputValue, i = s.tail && s._beforeTailState != null ? s._beforeTailState._rawInputValue : a, o = a.slice(i.length), u = this.currentMask, d = new M(), h = u == null ? void 0 : u.state;
3054
2987
  return this.currentMask = this.doDispatch(e, {
3055
2988
  ...s
3056
2989
  }, n), this.currentMask && (this.currentMask !== u ? (this.currentMask.reset(), i && (this.currentMask.append(i, {
3057
2990
  raw: !0
3058
- }), d.tailShift = this.currentMask.value.length - r.length), l && (d.tailShift += this.currentMask.append(l, {
2991
+ }), d.tailShift = this.currentMask.value.length - r.length), o && (d.tailShift += this.currentMask.append(o, {
3059
2992
  raw: !0,
3060
2993
  tail: !0
3061
2994
  }).tailShift)) : h && (this.currentMask.state = h)), d;
@@ -3162,7 +3095,7 @@ class gt extends re {
3162
3095
  currentMask: r,
3163
3096
  ...a
3164
3097
  } = e;
3165
- s && this.compiledMasks.forEach((i, l) => i.state = s[l]), n != null && (this.currentMask = n, this.currentMask.state = r), super.state = a;
3098
+ s && this.compiledMasks.forEach((i, o) => i.state = s[o]), n != null && (this.currentMask = n, this.currentMask.state = r), super.state = a;
3166
3099
  }
3167
3100
  extractInput(e, s, n) {
3168
3101
  return this.currentMask ? this.currentMask.extractInput(e, s, n) : "";
@@ -3202,8 +3135,7 @@ class gt extends re {
3202
3135
  }
3203
3136
  maskEquals(e) {
3204
3137
  return Array.isArray(e) ? this.compiledMasks.every((s, n) => {
3205
- if (!e[n])
3206
- return;
3138
+ if (!e[n]) return;
3207
3139
  const {
3208
3140
  mask: r,
3209
3141
  ...a
@@ -3219,19 +3151,18 @@ class gt extends re {
3219
3151
  gt.DEFAULTS = {
3220
3152
  ...re.DEFAULTS,
3221
3153
  dispatch: (t, e, s, n) => {
3222
- if (!e.compiledMasks.length)
3223
- return;
3224
- const r = e.rawInputValue, a = e.compiledMasks.map((i, l) => {
3154
+ if (!e.compiledMasks.length) return;
3155
+ const r = e.rawInputValue, a = e.compiledMasks.map((i, o) => {
3225
3156
  const u = e.currentMask === i, d = u ? i.displayValue.length : i.nearestInputPos(i.displayValue.length, S.FORCE_LEFT);
3226
3157
  return i.rawInputValue !== r ? (i.reset(), i.append(r, {
3227
3158
  raw: !0
3228
3159
  })) : u || i.remove(d), i.append(t, e.currentMaskFlags(s)), i.appendTail(n), {
3229
- index: l,
3160
+ index: o,
3230
3161
  weight: i.rawInputValue.length,
3231
3162
  totalInputPositions: i.totalInputPositions(0, Math.max(d, i.nearestInputPos(i.displayValue.length, S.FORCE_LEFT)))
3232
3163
  };
3233
3164
  });
3234
- return a.sort((i, l) => l.weight - i.weight || l.totalInputPositions - i.totalInputPositions), e.compiledMasks[a[0].index];
3165
+ return a.sort((i, o) => o.weight - i.weight || o.totalInputPositions - i.totalInputPositions), e.compiledMasks[a[0].index];
3235
3166
  }
3236
3167
  };
3237
3168
  D.MaskedDynamic = gt;
@@ -3251,7 +3182,7 @@ class mt extends ae {
3251
3182
  ...n
3252
3183
  } = e;
3253
3184
  if (s) {
3254
- const r = s.map((l) => l.length), a = Math.min(...r), i = Math.max(...r) - a;
3185
+ const r = s.map((o) => o.length), a = Math.min(...r), i = Math.max(...r) - a;
3255
3186
  n.mask = "*".repeat(a), i && (n.mask += "[" + "*".repeat(i) + "]"), this.enum = s;
3256
3187
  }
3257
3188
  super._update(n);
@@ -3260,9 +3191,9 @@ class mt extends ae {
3260
3191
  s === void 0 && (s = {});
3261
3192
  const n = Math.min(this.nearestInputPos(0, S.FORCE_RIGHT), this.value.length), r = this.enum.filter((a) => this.matchValue(a, this.unmaskedValue + e, n));
3262
3193
  if (r.length) {
3263
- r.length === 1 && this._forEachBlocksInRange(0, this.value.length, (i, l) => {
3264
- const u = r[0][l];
3265
- l >= this.value.length || u === i.value || (i.reset(), i._appendChar(u, s));
3194
+ r.length === 1 && this._forEachBlocksInRange(0, this.value.length, (i, o) => {
3195
+ const u = r[0][o];
3196
+ o >= this.value.length || u === i.value || (i.reset(), i._appendChar(u, s));
3266
3197
  });
3267
3198
  const a = super._appendCharRaw(r[0][this.value.length], s);
3268
3199
  return r.length === 1 && r[0].slice(this.unmaskedValue.length).split("").forEach((i) => a.aggregate(super._appendCharRaw(i))), a;
@@ -3275,11 +3206,10 @@ class mt extends ae {
3275
3206
  return e === void 0 && (e = 0), s === void 0 && (s = this.displayValue.length), new we("", e);
3276
3207
  }
3277
3208
  remove(e, s) {
3278
- if (e === void 0 && (e = 0), s === void 0 && (s = this.displayValue.length), e === s)
3279
- return new M();
3209
+ if (e === void 0 && (e = 0), s === void 0 && (s = this.displayValue.length), e === s) return new M();
3280
3210
  const n = Math.min(super.nearestInputPos(0, S.FORCE_RIGHT), this.value.length);
3281
3211
  let r;
3282
- for (r = e; r >= 0 && !(this.enum.filter((l) => this.matchValue(l, this.value.slice(n, r), n)).length > 1); --r)
3212
+ for (r = e; r >= 0 && !(this.enum.filter((o) => this.matchValue(o, this.value.slice(n, r), n)).length > 1); --r)
3283
3213
  ;
3284
3214
  const a = super.remove(r, s);
3285
3215
  return a.tailShift += r - e, a;
@@ -3293,7 +3223,7 @@ mt.DEFAULTS = {
3293
3223
  matchValue: (t, e, s) => t.indexOf(e, s) === s
3294
3224
  };
3295
3225
  D.MaskedEnum = mt;
3296
- class Un extends re {
3226
+ class zn extends re {
3297
3227
  /** */
3298
3228
  /** Enable characters overwriting */
3299
3229
  /** */
@@ -3309,7 +3239,7 @@ class Un extends re {
3309
3239
  });
3310
3240
  }
3311
3241
  }
3312
- D.MaskedFunction = Un;
3242
+ D.MaskedFunction = zn;
3313
3243
  var Ss;
3314
3244
  class he extends re {
3315
3245
  /** Single char */
@@ -3382,13 +3312,13 @@ class he extends re {
3382
3312
  const a = this._value;
3383
3313
  this._value += e;
3384
3314
  const i = this.number;
3385
- let l = !isNaN(i), u = !1;
3386
- if (l) {
3315
+ let o = !isNaN(i), u = !1;
3316
+ if (o) {
3387
3317
  let _;
3388
- this.min != null && this.min < 0 && this.number < this.min && (_ = this.min), this.max != null && this.max > 0 && this.number > this.max && (_ = this.max), _ != null && (this.autofix ? (this._value = this.format(_, this).replace(he.UNMASKED_RADIX, this.radix), u || (u = a === this._value && !s.tail)) : l = !1), l && (l = !!this._value.match(this._numberRegExp));
3318
+ this.min != null && this.min < 0 && this.number < this.min && (_ = this.min), this.max != null && this.max > 0 && this.number > this.max && (_ = this.max), _ != null && (this.autofix ? (this._value = this.format(_, this).replace(he.UNMASKED_RADIX, this.radix), u || (u = a === this._value && !s.tail)) : o = !1), o && (o = !!this._value.match(this._numberRegExp));
3389
3319
  }
3390
3320
  let d;
3391
- l ? d = new M({
3321
+ o ? d = new M({
3392
3322
  inserted: this._value.slice(a.length),
3393
3323
  rawInserted: u ? "" : e,
3394
3324
  skip: u
@@ -3399,8 +3329,7 @@ class he extends re {
3399
3329
  _findSeparatorAround(e) {
3400
3330
  if (this.thousandsSeparator) {
3401
3331
  const s = e - this.thousandsSeparator.length + 1, n = this.value.indexOf(this.thousandsSeparator, s);
3402
- if (n <= e)
3403
- return n;
3332
+ if (n <= e) return n;
3404
3333
  }
3405
3334
  return -1;
3406
3335
  }
@@ -3420,8 +3349,7 @@ class he extends re {
3420
3349
  });
3421
3350
  }
3422
3351
  nearestInputPos(e, s) {
3423
- if (!this.thousandsSeparator)
3424
- return e;
3352
+ if (!this.thousandsSeparator) return e;
3425
3353
  switch (s) {
3426
3354
  case S.NONE:
3427
3355
  case S.LEFT:
@@ -3458,8 +3386,7 @@ class he extends re {
3458
3386
  return s[0] = s[0].replace(/^(\D*)(0*)(\d*)/, (n, r, a, i) => r + i), e.length && !/\d$/.test(s[0]) && (s[0] = s[0] + "0"), s.length > 1 && (s[1] = s[1].replace(/0*$/, ""), s[1].length || (s.length = 1)), this._insertThousandsSeparators(s.join(this.radix));
3459
3387
  }
3460
3388
  _padFractionalZeros(e) {
3461
- if (!e)
3462
- return e;
3389
+ if (!e) return e;
3463
3390
  const s = e.split(this.radix);
3464
3391
  return s.length < 2 && s.push(""), s[1] = s[1].padEnd(this.scale, "0"), s.join(this.radix);
3465
3392
  }
@@ -3528,13 +3455,13 @@ function Cs(t, e, s) {
3528
3455
  const n = Ie(t);
3529
3456
  return (r) => n.runIsolated((a) => (a[e] = r, a[s]));
3530
3457
  }
3531
- function zn(t, e, s, n) {
3458
+ function Hn(t, e, s, n) {
3532
3459
  return Cs(e, s, n)(t);
3533
3460
  }
3534
3461
  D.PIPE_TYPE = Ot;
3535
3462
  D.createPipe = Cs;
3536
- D.pipe = zn;
3537
- class Hn extends ae {
3463
+ D.pipe = Hn;
3464
+ class Wn extends ae {
3538
3465
  get repeatFrom() {
3539
3466
  var e;
3540
3467
  return (e = Array.isArray(this.repeat) ? this.repeat[0] : this.repeat === 1 / 0 ? 0 : this.repeat) != null ? e : 0;
@@ -3556,23 +3483,22 @@ class Hn extends ae {
3556
3483
  ...i
3557
3484
  } = Je(e);
3558
3485
  this._blockOpts = Object.assign({}, this._blockOpts, i);
3559
- const l = Ie(this._blockOpts);
3560
- this.repeat = (s = (n = a ?? l.repeat) != null ? n : this.repeat) != null ? s : 1 / 0, super._update({
3486
+ const o = Ie(this._blockOpts);
3487
+ this.repeat = (s = (n = a ?? o.repeat) != null ? n : this.repeat) != null ? s : 1 / 0, super._update({
3561
3488
  mask: "m".repeat(Math.max(this.repeatTo === 1 / 0 && ((r = this._blocks) == null ? void 0 : r.length) || 0, this.repeatFrom)),
3562
3489
  blocks: {
3563
- m: l
3490
+ m: o
3564
3491
  },
3565
- eager: l.eager,
3566
- overwrite: l.overwrite,
3567
- skipInvalid: l.skipInvalid,
3568
- lazy: l.lazy,
3569
- placeholderChar: l.placeholderChar,
3570
- displayChar: l.displayChar
3492
+ eager: o.eager,
3493
+ overwrite: o.overwrite,
3494
+ skipInvalid: o.skipInvalid,
3495
+ lazy: o.lazy,
3496
+ placeholderChar: o.placeholderChar,
3497
+ displayChar: o.displayChar
3571
3498
  });
3572
3499
  }
3573
3500
  _allocateBlock(e) {
3574
- if (e < this._blocks.length)
3575
- return this._blocks[e];
3501
+ if (e < this._blocks.length) return this._blocks[e];
3576
3502
  if (this.repeatTo === 1 / 0 || this._blocks.length < this.repeatTo)
3577
3503
  return this._blocks.push(Ie(this._blockOpts)), this.mask += "m", this._blocks[this._blocks.length - 1];
3578
3504
  }
@@ -3586,17 +3512,16 @@ class Hn extends ae {
3586
3512
  d = (i = this._blocks[u]) != null ? i : h = !h && this._allocateBlock(u);
3587
3513
  ++u
3588
3514
  ) {
3589
- var r, a, i, l;
3515
+ var r, a, i, o;
3590
3516
  const f = d._appendChar(e, {
3591
3517
  ...s,
3592
- _beforeTailState: (l = s._beforeTailState) == null || (l = l._blocks) == null ? void 0 : l[u]
3518
+ _beforeTailState: (o = s._beforeTailState) == null || (o = o._blocks) == null ? void 0 : o[u]
3593
3519
  });
3594
3520
  if (f.skip && h) {
3595
3521
  this._blocks.pop(), this.mask = this.mask.slice(1);
3596
3522
  break;
3597
3523
  }
3598
- if (n.aggregate(f), f.consumed)
3599
- break;
3524
+ if (n.aggregate(f), f.consumed) break;
3600
3525
  }
3601
3526
  return n;
3602
3527
  }
@@ -3606,10 +3531,10 @@ class Hn extends ae {
3606
3531
  const a = Math.max(((n = this._mapPosToBlock(e)) == null ? void 0 : n.index) || 0, this.repeatFrom, 0);
3607
3532
  let i;
3608
3533
  s != null && (i = (r = this._mapPosToBlock(s)) == null ? void 0 : r.index), i == null && (i = this._blocks.length - 1);
3609
- let l = 0;
3610
- for (let u = i; a <= u && !this._blocks[u].unmaskedValue; --u, ++l)
3534
+ let o = 0;
3535
+ for (let u = i; a <= u && !this._blocks[u].unmaskedValue; --u, ++o)
3611
3536
  ;
3612
- l && (this._blocks.splice(i - l + 1, l), this.mask = this.mask.slice(l));
3537
+ o && (this._blocks.splice(i - o + 1, o), this.mask = this.mask.slice(o));
3613
3538
  }
3614
3539
  reset() {
3615
3540
  super.reset(), this._trimEmptyTail();
@@ -3629,60 +3554,60 @@ class Hn extends ae {
3629
3554
  this._blocks.length = e._blocks.length, this.mask = this.mask.slice(0, this._blocks.length), super.state = e;
3630
3555
  }
3631
3556
  }
3632
- D.RepeatBlock = Hn;
3557
+ D.RepeatBlock = Wn;
3633
3558
  try {
3634
3559
  globalThis.IMask = D;
3635
3560
  } catch {
3636
3561
  }
3637
3562
  const xs = {
3638
3563
  // common
3639
- mask: o.oneOfType([o.array, o.func, o.string, o.instanceOf(RegExp), o.oneOf([Date, Number, D.Masked]), o.instanceOf(D.Masked)]),
3640
- value: o.any,
3641
- unmask: o.oneOfType([o.bool, o.oneOf(["typed"])]),
3642
- prepare: o.func,
3643
- prepareChar: o.func,
3644
- validate: o.func,
3645
- commit: o.func,
3646
- overwrite: o.oneOfType([o.bool, o.oneOf(["shift"])]),
3647
- eager: o.oneOfType([o.bool, o.oneOf(["append", "remove"])]),
3648
- skipInvalid: o.bool,
3564
+ mask: l.oneOfType([l.array, l.func, l.string, l.instanceOf(RegExp), l.oneOf([Date, Number, D.Masked]), l.instanceOf(D.Masked)]),
3565
+ value: l.any,
3566
+ unmask: l.oneOfType([l.bool, l.oneOf(["typed"])]),
3567
+ prepare: l.func,
3568
+ prepareChar: l.func,
3569
+ validate: l.func,
3570
+ commit: l.func,
3571
+ overwrite: l.oneOfType([l.bool, l.oneOf(["shift"])]),
3572
+ eager: l.oneOfType([l.bool, l.oneOf(["append", "remove"])]),
3573
+ skipInvalid: l.bool,
3649
3574
  // events
3650
- onAccept: o.func,
3651
- onComplete: o.func,
3575
+ onAccept: l.func,
3576
+ onComplete: l.func,
3652
3577
  // pattern
3653
- placeholderChar: o.string,
3654
- displayChar: o.string,
3655
- lazy: o.bool,
3656
- definitions: o.object,
3657
- blocks: o.object,
3578
+ placeholderChar: l.string,
3579
+ displayChar: l.string,
3580
+ lazy: l.bool,
3581
+ definitions: l.object,
3582
+ blocks: l.object,
3658
3583
  // enum
3659
- enum: o.arrayOf(o.string),
3584
+ enum: l.arrayOf(l.string),
3660
3585
  // range
3661
- maxLength: o.number,
3662
- from: o.number,
3663
- to: o.number,
3586
+ maxLength: l.number,
3587
+ from: l.number,
3588
+ to: l.number,
3664
3589
  // date
3665
- pattern: o.string,
3666
- format: o.func,
3667
- parse: o.func,
3668
- autofix: o.oneOfType([o.bool, o.oneOf(["pad"])]),
3590
+ pattern: l.string,
3591
+ format: l.func,
3592
+ parse: l.func,
3593
+ autofix: l.oneOfType([l.bool, l.oneOf(["pad"])]),
3669
3594
  // number
3670
- radix: o.string,
3671
- thousandsSeparator: o.string,
3672
- mapToRadix: o.arrayOf(o.string),
3673
- scale: o.number,
3674
- normalizeZeros: o.bool,
3675
- padFractionalZeros: o.bool,
3676
- min: o.oneOfType([o.number, o.instanceOf(Date)]),
3677
- max: o.oneOfType([o.number, o.instanceOf(Date)]),
3595
+ radix: l.string,
3596
+ thousandsSeparator: l.string,
3597
+ mapToRadix: l.arrayOf(l.string),
3598
+ scale: l.number,
3599
+ normalizeZeros: l.bool,
3600
+ padFractionalZeros: l.bool,
3601
+ min: l.oneOfType([l.number, l.instanceOf(Date)]),
3602
+ max: l.oneOfType([l.number, l.instanceOf(Date)]),
3678
3603
  // dynamic
3679
- dispatch: o.func,
3604
+ dispatch: l.func,
3680
3605
  // ref
3681
- inputRef: o.oneOfType([o.func, o.shape({
3682
- current: o.object
3606
+ inputRef: l.oneOfType([l.func, l.shape({
3607
+ current: l.object
3683
3608
  })])
3684
- }, ws = Object.keys(xs).filter((t) => t !== "value"), Wn = ["value", "unmask", "onAccept", "onComplete", "inputRef"], Yn = ws.filter((t) => Wn.indexOf(t) < 0);
3685
- function Xn(t) {
3609
+ }, ws = Object.keys(xs).filter((t) => t !== "value"), Yn = ["value", "unmask", "onAccept", "onComplete", "inputRef"], Xn = ws.filter((t) => Yn.indexOf(t) < 0);
3610
+ function Kn(t) {
3686
3611
  var e;
3687
3612
  const s = (e = class extends ke.Component {
3688
3613
  constructor(a) {
@@ -3696,8 +3621,8 @@ function Xn(t) {
3696
3621
  if (i.mask)
3697
3622
  this.maskRef ? (this.maskRef.updateOptions(i), "value" in a && a.value !== void 0 && (this.maskValue = a.value)) : this.initMask(i);
3698
3623
  else if (this.destroyMask(), "value" in a && a.value !== void 0) {
3699
- var l;
3700
- (l = this.element) != null && l.isContentEditable && this.element.tagName !== "INPUT" && this.element.tagName !== "TEXTAREA" ? this.element.textContent = a.value : this.element.value = a.value;
3624
+ var o;
3625
+ (o = this.element) != null && o.isContentEditable && this.element.tagName !== "INPUT" && this.element.tagName !== "TEXTAREA" ? this.element.textContent = a.value : this.element.value = a.value;
3701
3626
  }
3702
3627
  }
3703
3628
  componentWillUnmount() {
@@ -3716,16 +3641,16 @@ function Xn(t) {
3716
3641
  const {
3717
3642
  ...i
3718
3643
  } = a;
3719
- return Object.keys(i).filter((l) => Yn.indexOf(l) < 0).forEach((l) => {
3720
- delete i[l];
3644
+ return Object.keys(i).filter((o) => Xn.indexOf(o) < 0).forEach((o) => {
3645
+ delete i[o];
3721
3646
  }), i;
3722
3647
  }
3723
3648
  _extractNonMaskProps(a) {
3724
3649
  const {
3725
3650
  ...i
3726
3651
  } = a;
3727
- return ws.forEach((l) => {
3728
- l !== "maxLength" && delete i[l];
3652
+ return ws.forEach((o) => {
3653
+ o !== "maxLength" && delete i[o];
3729
3654
  }), "defaultValue" in i || (i.defaultValue = a.mask ? "" : i.value), delete i.value, i;
3730
3655
  }
3731
3656
  get maskValue() {
@@ -3752,7 +3677,7 @@ function Xn(t) {
3752
3677
  ref: a
3753
3678
  }));
3754
3679
  }
3755
- const Kn = Xn((t) => {
3680
+ const Gn = Kn((t) => {
3756
3681
  let {
3757
3682
  inputRef: e,
3758
3683
  ...s
@@ -3761,19 +3686,19 @@ const Kn = Xn((t) => {
3761
3686
  ...s,
3762
3687
  ref: e
3763
3688
  });
3764
- }), Gn = (t, e) => ke.createElement(Kn, {
3689
+ }), Zn = (t, e) => ke.createElement(Gn, {
3765
3690
  ...t,
3766
3691
  ref: e
3767
3692
  });
3768
- ke.forwardRef(Gn);
3769
- function Zn(t, e) {
3693
+ ke.forwardRef(Zn);
3694
+ function Qn(t, e) {
3770
3695
  let {
3771
3696
  onAccept: s,
3772
3697
  onComplete: n,
3773
3698
  ref: r = Qe(null),
3774
3699
  defaultValue: a,
3775
3700
  defaultUnmaskedValue: i,
3776
- defaultTypedValue: l
3701
+ defaultTypedValue: o
3777
3702
  } = e === void 0 ? {} : e;
3778
3703
  const u = Qe(null), [d, h] = P({}), [f, _] = P(""), [y, E] = P(""), [v, m] = P(), F = xe(() => {
3779
3704
  var p;
@@ -3809,13 +3734,11 @@ function Zn(t, e) {
3809
3734
  !N || v === void 0 || (p !== v && (N.typedValue = v, N.masked.typedValueEquals(v) || A()), h(x));
3810
3735
  }, [v]), Q(() => {
3811
3736
  const p = r.current;
3812
- if (!p || !(t != null && t.mask))
3813
- return F();
3737
+ if (!p || !(t != null && t.mask)) return F();
3814
3738
  const x = u.current;
3815
- x ? x == null || x.updateOptions(t) : p && t != null && t.mask && (u.current = D(p, t), j(), a !== void 0 && _(a), i !== void 0 && E(i), l !== void 0 && m(l));
3739
+ x ? x == null || x.updateOptions(t) : p && t != null && t.mask && (u.current = D(p, t), j(), a !== void 0 && _(a), i !== void 0 && E(i), o !== void 0 && m(o));
3816
3740
  }, [t, F, A]), Q(() => {
3817
- if (!u.current)
3818
- return;
3741
+ if (!u.current) return;
3819
3742
  const p = u.current;
3820
3743
  return p.on("accept", A), p.on("complete", C), () => {
3821
3744
  p.off("accept", A), p.off("complete", C);
@@ -4000,7 +3923,7 @@ const Se = {
4000
3923
  testId: r = Se.props.testId.default,
4001
3924
  className: a
4002
3925
  }) => {
4003
- const i = Qe(null), [l, u] = P(0), [d, h] = P(0), [f, _] = P(!1), y = e && Se.props.position.options.find(
3926
+ const i = Qe(null), [o, u] = P(0), [d, h] = P(0), [f, _] = P(!1), y = e && Se.props.position.options.find(
4004
3927
  (F) => F === e
4005
3928
  ) && `${Se.class}--${e}`, E = s && Se.props.placement.options.find(
4006
3929
  (F) => F === s
@@ -4014,26 +3937,26 @@ const Se = {
4014
3937
  switch (e) {
4015
3938
  case "top":
4016
3939
  s === "initial" ? v = {
4017
- bottom: l + m,
3940
+ bottom: o + m,
4018
3941
  left: -m
4019
3942
  } : s === "end" ? v = {
4020
- bottom: l + m,
3943
+ bottom: o + m,
4021
3944
  right: -m
4022
3945
  } : v = {
4023
- bottom: l + m,
3946
+ bottom: o + m,
4024
3947
  left: "50%",
4025
3948
  transform: "translateX(-50%)"
4026
3949
  };
4027
3950
  break;
4028
3951
  case "bottom":
4029
3952
  s === "initial" ? v = {
4030
- top: l + m,
3953
+ top: o + m,
4031
3954
  left: -m
4032
3955
  } : s === "end" ? v = {
4033
- top: l + m,
3956
+ top: o + m,
4034
3957
  right: -m
4035
3958
  } : v = {
4036
- top: l + m,
3959
+ top: o + m,
4037
3960
  left: "50%",
4038
3961
  transform: "translateX(-50%)"
4039
3962
  };
@@ -4096,10 +4019,10 @@ const Se = {
4096
4019
  );
4097
4020
  };
4098
4021
  He.propTypes = {
4099
- position: o.string,
4100
- placement: o.string,
4101
- text: o.oneOfType([o.string, o.node]),
4102
- testId: o.string
4022
+ position: l.string,
4023
+ placement: l.string,
4024
+ text: l.oneOfType([l.string, l.node]),
4025
+ testId: l.string
4103
4026
  };
4104
4027
  He.displayName = "DsTooltip";
4105
4028
  const et = ke.forwardRef(
@@ -4111,7 +4034,7 @@ const et = ke.forwardRef(
4111
4034
  size: r = K.props.size.default,
4112
4035
  label: a,
4113
4036
  placeholder: i,
4114
- value: l,
4037
+ value: o,
4115
4038
  min: u,
4116
4039
  max: d,
4117
4040
  tooltip: h = K.props.tooltip.default,
@@ -4144,13 +4067,13 @@ const et = ke.forwardRef(
4144
4067
  };
4145
4068
  p(k);
4146
4069
  }
4147
- }, oe = be(() => typeof C == "object" ? { lazy: !0, ...C } : Qt[C] ? {
4070
+ }, le = be(() => typeof C == "object" ? { lazy: !0, ...C } : Qt[C] ? {
4148
4071
  ...Qt[C],
4149
4072
  min: u,
4150
4073
  max: d,
4151
4074
  lazy: !0
4152
- } : { mask: C || "", min: u, max: d, lazy: !0 }, [C]), { ref: ve, setUnmaskedValue: Te } = Zn(
4153
- oe,
4075
+ } : { mask: C ?? "", min: u, max: d, lazy: !0 }, [C]), { ref: ve, setUnmaskedValue: Te } = Qn(
4076
+ le,
4154
4077
  {
4155
4078
  onAccept: Ve
4156
4079
  }
@@ -4169,11 +4092,11 @@ const et = ke.forwardRef(
4169
4092
  return r && T.push(`${K.class}--${r}`), n && T.push(`${K.class}--animated`), F && T.push(`${K.class}--no-margin`), y && T.push(`${K.class}--with-icon`), E && T.push(`${K.class}--${E}`), A && T.push(A), T.join(" ");
4170
4093
  }, $ = be(() => {
4171
4094
  const T = [`${K.class}__label`];
4172
- return (te || l) && T.push(`${K.class}__label--active`), T.join(" ");
4173
- }, [l, te]), L = () => !n && i ? i : "", U = () => E && E === "error" ? "info" : "check_circle";
4095
+ return (te || o) && T.push(`${K.class}__label--active`), T.join(" ");
4096
+ }, [o, te]), L = () => !n && i ? i : "", U = () => E && E === "error" ? "info" : "check_circle";
4174
4097
  return Q(() => {
4175
- C && Te(l || "");
4176
- }, [l, C, Te]), /* @__PURE__ */ I("div", { className: w(), ref: O, children: [
4098
+ C && Te(o ?? "");
4099
+ }, [o, C, Te]), /* @__PURE__ */ I("div", { className: w(), ref: O, children: [
4177
4100
  m && /* @__PURE__ */ c("div", { className: "ds-input__feedback", children: v && /* @__PURE__ */ I(pt, { children: [
4178
4101
  /* @__PURE__ */ c(G, { image: U() }),
4179
4102
  v
@@ -4196,7 +4119,7 @@ const et = ke.forwardRef(
4196
4119
  placeholder: L(),
4197
4120
  ref: ve,
4198
4121
  type: R,
4199
- ...!C && { value: l || "" }
4122
+ ...!C && { value: o ?? "" }
4200
4123
  }
4201
4124
  ),
4202
4125
  /* @__PURE__ */ I("label", { className: $, htmlFor: t, children: [
@@ -4226,28 +4149,28 @@ const et = ke.forwardRef(
4226
4149
  }
4227
4150
  );
4228
4151
  et.propTypes = {
4229
- name: o.string,
4230
- testId: o.string,
4231
- type: o.oneOf(K.props.type.options),
4232
- animated: o.bool,
4233
- size: o.oneOf(K.props.size.options),
4234
- label: o.string,
4235
- placeholder: o.string,
4236
- value: o.oneOfType([o.string]),
4237
- min: o.string,
4238
- max: o.string,
4239
- tooltip: o.string,
4240
- tooltipPosition: o.string,
4241
- tooltipPlacement: o.string,
4242
- icon: o.string,
4243
- status: o.oneOf(K.props.status.options),
4244
- feedback: o.string,
4245
- hasFeedback: o.bool,
4246
- noMargin: o.bool,
4247
- disabled: o.bool,
4248
- mask: o.oneOfType([o.string, o.object]),
4249
- onChangeHandler: o.func,
4250
- onFocusHandler: o.func
4152
+ name: l.string,
4153
+ testId: l.string,
4154
+ type: l.oneOf(K.props.type.options),
4155
+ animated: l.bool,
4156
+ size: l.oneOf(K.props.size.options),
4157
+ label: l.string,
4158
+ placeholder: l.string,
4159
+ value: l.oneOfType([l.string]),
4160
+ min: l.string,
4161
+ max: l.string,
4162
+ tooltip: l.string,
4163
+ tooltipPosition: l.string,
4164
+ tooltipPlacement: l.string,
4165
+ icon: l.string,
4166
+ status: l.oneOf(K.props.status.options),
4167
+ feedback: l.string,
4168
+ hasFeedback: l.bool,
4169
+ noMargin: l.bool,
4170
+ disabled: l.bool,
4171
+ mask: l.oneOfType([l.string, l.object]),
4172
+ onChangeHandler: l.func,
4173
+ onFocusHandler: l.func
4251
4174
  };
4252
4175
  et.displayName = "DsInput";
4253
4176
  var Ns = /* @__PURE__ */ ((t) => (t.Small = "small", t.Medium = "medium", t.Large = "large", t))(Ns || {}), Bs = /* @__PURE__ */ ((t) => (t.None = "", t.Neutral20 = "neutral-20", t.Neutral10 = "neutral-10", t.Neutral05 = "neutral-05", t.Neutral00 = "neutral-00", t))(Bs || {});
@@ -4291,13 +4214,13 @@ const de = {
4291
4214
  fullscreen: a = de.props.fullscreen.default,
4292
4215
  backgroundColor: i = de.props.backgroundColor.default
4293
4216
  }) => {
4294
- const l = !a && `${de.class}--absolute`, u = n && `${de.class}__dots--${n}`, d = i && de.props.backgroundColor.options.find(
4217
+ const o = !a && `${de.class}--absolute`, u = n && `${de.class}__dots--${n}`, d = i && de.props.backgroundColor.options.find(
4295
4218
  (f) => f === i
4296
4219
  ) && `${de.class}__background--${i}`, h = r && `${de.class}__background--opacity`;
4297
4220
  return /* @__PURE__ */ I(
4298
4221
  "div",
4299
4222
  {
4300
- className: [de.class, s, l].filter((f) => f).join(" "),
4223
+ className: [de.class, s, o].filter((f) => f).join(" "),
4301
4224
  "data-testid": e,
4302
4225
  id: t,
4303
4226
  children: [
@@ -4323,12 +4246,12 @@ const de = {
4323
4246
  );
4324
4247
  };
4325
4248
  $t.propTypes = {
4326
- id: o.string,
4327
- testId: o.string,
4328
- size: o.oneOf(de.props.size.options),
4329
- opacity: o.bool,
4330
- fullscreen: o.bool,
4331
- backgroundColor: o.string
4249
+ id: l.string,
4250
+ testId: l.string,
4251
+ size: l.oneOf(de.props.size.options),
4252
+ opacity: l.bool,
4253
+ fullscreen: l.bool,
4254
+ backgroundColor: l.string
4332
4255
  };
4333
4256
  $t.displayName = "DsLoading";
4334
4257
  const Fe = {
@@ -4377,13 +4300,13 @@ const Fe = {
4377
4300
  label: e,
4378
4301
  detail: s,
4379
4302
  name: n,
4380
- testId: r = n || "ds-option-test",
4303
+ testId: r = n ?? "ds-option-test",
4381
4304
  disabled: a = Fe.props.disabled.default,
4382
4305
  value: i,
4383
- checked: l = Fe.props.checked.default,
4306
+ checked: o = Fe.props.checked.default,
4384
4307
  onChangeHandler: u = Fe.props.onChangeHandler.default
4385
4308
  }) => {
4386
- const [d] = P(Math.random());
4309
+ const [d] = P(crypto.randomUUID());
4387
4310
  return /* @__PURE__ */ I("div", { className: (() => {
4388
4311
  const f = [Fe.class];
4389
4312
  return a && f.push(`${Fe.class}--disabled`), f.join(" ");
@@ -4391,10 +4314,10 @@ const Fe = {
4391
4314
  /* @__PURE__ */ c(
4392
4315
  "input",
4393
4316
  {
4394
- checked: l,
4317
+ checked: o,
4395
4318
  "data-testid": r,
4396
4319
  disabled: a,
4397
- id: t || String(d),
4320
+ id: t ?? String(d),
4398
4321
  name: n,
4399
4322
  onChange: u,
4400
4323
  type: "radio",
@@ -4405,7 +4328,7 @@ const Fe = {
4405
4328
  G,
4406
4329
  {
4407
4330
  className: `${Fe.class}__icon`,
4408
- image: l ? "radio_button_checked" : "radio_button_unchecked",
4331
+ image: o ? "radio_button_checked" : "radio_button_unchecked",
4409
4332
  size: "xxl"
4410
4333
  }
4411
4334
  ),
@@ -4414,7 +4337,7 @@ const Fe = {
4414
4337
  "label",
4415
4338
  {
4416
4339
  className: `${Fe.class}__label`,
4417
- htmlFor: t || String(d),
4340
+ htmlFor: t ?? String(d),
4418
4341
  children: e
4419
4342
  }
4420
4343
  ),
@@ -4422,7 +4345,7 @@ const Fe = {
4422
4345
  "label",
4423
4346
  {
4424
4347
  className: `${Fe.class}__detail`,
4425
- htmlFor: t || String(d),
4348
+ htmlFor: t ?? String(d),
4426
4349
  children: s
4427
4350
  }
4428
4351
  )
@@ -4430,19 +4353,19 @@ const Fe = {
4430
4353
  ] });
4431
4354
  };
4432
4355
  $s.propTypes = {
4433
- id: o.string,
4434
- name: o.string,
4435
- testId: o.string,
4436
- label: o.oneOfType([o.string, o.node]),
4437
- value: o.oneOfType([o.string, o.number]),
4438
- detail: o.string,
4439
- disabled: o.bool,
4440
- checked: o.bool,
4441
- onChangeHandler: o.func
4356
+ id: l.string,
4357
+ name: l.string,
4358
+ testId: l.string,
4359
+ label: l.oneOfType([l.string, l.node]),
4360
+ value: l.oneOfType([l.string, l.number]),
4361
+ detail: l.string,
4362
+ disabled: l.bool,
4363
+ checked: l.bool,
4364
+ onChangeHandler: l.func
4442
4365
  };
4443
4366
  $s.displayName = "DsOption";
4444
4367
  var Ms = /* @__PURE__ */ ((t) => (t.Default = "", t.Large = "large", t.Small = "small", t))(Ms || {});
4445
- const ot = {
4368
+ const lt = {
4446
4369
  name: "Paragraph",
4447
4370
  class: "ds-paragraph",
4448
4371
  props: {
@@ -4456,22 +4379,22 @@ const ot = {
4456
4379
  children: t,
4457
4380
  className: e,
4458
4381
  testId: s = "ds-paragraph-test",
4459
- type: n = ot.props.type.default
4382
+ type: n = lt.props.type.default
4460
4383
  }) => {
4461
- const r = n && `${ot.class}--${n}`;
4384
+ const r = n && `${lt.class}--${n}`;
4462
4385
  return /* @__PURE__ */ c(
4463
4386
  "p",
4464
4387
  {
4465
- className: [ot.class, r, e].filter((a) => a).join(" "),
4388
+ className: [lt.class, r, e].filter((a) => a).join(" "),
4466
4389
  "data-testid": s,
4467
4390
  children: t
4468
4391
  }
4469
4392
  );
4470
4393
  };
4471
4394
  Re.propTypes = {
4472
- className: o.string,
4473
- testId: o.string,
4474
- type: o.oneOf(ot.props.type.options)
4395
+ className: l.string,
4396
+ testId: l.string,
4397
+ type: l.oneOf(lt.props.type.options)
4475
4398
  };
4476
4399
  Re.displayName = "DsParagraph";
4477
4400
  var Vs = /* @__PURE__ */ ((t) => (t.Success = "success", t.SuccessDark = "success-dark", t.Warning = "warning", t.Danger = "danger", t))(Vs || {});
@@ -4549,7 +4472,7 @@ const Le = {
4549
4472
  flexDirection: r = Le.props.flexDirection.default,
4550
4473
  flexWrap: a = Le.props.flexWrap.default,
4551
4474
  width: i = Le.props.width.default,
4552
- height: l,
4475
+ height: o,
4553
4476
  gap: u
4554
4477
  }) => {
4555
4478
  const d = () => {
@@ -4562,20 +4485,20 @@ const Le = {
4562
4485
  flexDirection: r,
4563
4486
  flexWrap: a,
4564
4487
  width: i,
4565
- height: l,
4488
+ height: o,
4566
4489
  gap: u
4567
4490
  });
4568
4491
  return /* @__PURE__ */ c("div", { className: d(), style: h(), children: t });
4569
4492
  };
4570
4493
  Me.propTypes = {
4571
- className: o.string,
4572
- justifyContent: o.string,
4573
- alignItems: o.string,
4574
- flexDirection: o.string,
4575
- flexWrap: o.string,
4576
- width: o.string,
4577
- height: o.string,
4578
- gap: o.string
4494
+ className: l.string,
4495
+ justifyContent: l.string,
4496
+ alignItems: l.string,
4497
+ flexDirection: l.string,
4498
+ flexWrap: l.string,
4499
+ width: l.string,
4500
+ height: l.string,
4501
+ gap: l.string
4579
4502
  };
4580
4503
  Me.displayName = "DsFlexLayout";
4581
4504
  const Ct = {
@@ -4604,8 +4527,8 @@ const Ct = {
4604
4527
  return /* @__PURE__ */ c("div", { className: n(), style: r(), children: t });
4605
4528
  };
4606
4529
  ne.propTypes = {
4607
- className: o.string,
4608
- flex: o.string
4530
+ className: l.string,
4531
+ flex: l.string
4609
4532
  };
4610
4533
  ne.displayName = "DsFlexElement";
4611
4534
  var Dt = /* @__PURE__ */ ((t) => (t.None = "none", t.Quark = "quark", t.Nano = "nano", t.XXXS = "xxxs", t.XXS = "xxs", t.XS = "xs", t.SM = "sm", t))(Dt || {});
@@ -4638,8 +4561,8 @@ const Ge = {
4638
4561
  );
4639
4562
  };
4640
4563
  ge.propTypes = {
4641
- vertical: o.oneOf(Ge.props.vertical.options),
4642
- horizontal: o.oneOf(Ge.props.horizontal.options)
4564
+ vertical: l.oneOf(Ge.props.vertical.options),
4565
+ horizontal: l.oneOf(Ge.props.horizontal.options)
4643
4566
  };
4644
4567
  ge.displayName = "DsSpacer";
4645
4568
  const zs = ({
@@ -4688,9 +4611,9 @@ const zs = ({
4688
4611
  ] }) });
4689
4612
  };
4690
4613
  zs.propTypes = {
4691
- label: o.string,
4692
- progress: o.number,
4693
- color: o.string
4614
+ label: l.string,
4615
+ progress: l.number,
4616
+ color: l.string
4694
4617
  };
4695
4618
  var Hs = /* @__PURE__ */ ((t) => (t.Small = "sm", t.Medium = "md", t.Large = "lg", t))(Hs || {}), Ws = /* @__PURE__ */ ((t) => (t.Default = "", t.Error = "error", t.Success = "success", t))(Ws || {}), Ys = /* @__PURE__ */ ((t) => (t.Center = "center", t.End = "end", t.Initial = "initial", t))(Ys || {}), Xs = /* @__PURE__ */ ((t) => (t.Top = "top", t.Right = "right", t.Bottom = "bottom", t.Left = "left", t))(Xs || {});
4696
4619
  const Z = {
@@ -4776,7 +4699,7 @@ const Z = {
4776
4699
  multiple: r = Z.props.multiple.default,
4777
4700
  testId: a = Z.props.testId.default,
4778
4701
  name: i,
4779
- options: l,
4702
+ options: o,
4780
4703
  value: u,
4781
4704
  placeholder: d,
4782
4705
  onChange: h,
@@ -4842,14 +4765,14 @@ const Z = {
4842
4765
  ...j,
4843
4766
  children: [
4844
4767
  (d || n) && /* @__PURE__ */ c("option", { disabled: !0, value: "", children: d ?? t }),
4845
- l == null ? void 0 : l.map((O, te) => {
4768
+ o == null ? void 0 : o.map((O, te) => {
4846
4769
  var ue;
4847
4770
  return "options" in O ? /* @__PURE__ */ c("optgroup", { label: O.label, children: (ue = O.options) == null ? void 0 : ue.map((ce, Ae) => /* @__PURE__ */ c(
4848
4771
  "option",
4849
4772
  {
4850
4773
  className: `${Z.class}__option-select`,
4851
4774
  value: ce.value,
4852
- children: ce.label || ce.value
4775
+ children: ce.label ?? ce.value
4853
4776
  },
4854
4777
  Ae
4855
4778
  )) }, te) : /* @__PURE__ */ c(
@@ -4857,7 +4780,7 @@ const Z = {
4857
4780
  {
4858
4781
  className: `${Z.class}__option-select`,
4859
4782
  value: O.value,
4860
- children: O.label || O.value
4783
+ children: O.label ?? O.value
4861
4784
  },
4862
4785
  te
4863
4786
  );
@@ -4879,24 +4802,24 @@ const Z = {
4879
4802
  }
4880
4803
  );
4881
4804
  Ks.propTypes = {
4882
- label: o.string.isRequired,
4883
- className: o.string,
4884
- disabled: o.bool,
4885
- animated: o.bool,
4886
- multiple: o.bool,
4887
- name: o.string,
4888
- testId: o.string,
4889
- options: o.array.isRequired,
4890
- placeholder: o.string,
4891
- onChange: o.func,
4892
- onChangeHandler: o.func,
4893
- value: o.oneOfType([o.string, o.number]),
4894
- size: o.oneOf(Z.props.size.options),
4895
- status: o.oneOf(Z.props.status.options),
4896
- tooltip: o.string,
4897
- tooltipPosition: o.string,
4898
- tooltipPlacement: o.string,
4899
- feedback: o.string
4805
+ label: l.string.isRequired,
4806
+ className: l.string,
4807
+ disabled: l.bool,
4808
+ animated: l.bool,
4809
+ multiple: l.bool,
4810
+ name: l.string,
4811
+ testId: l.string,
4812
+ options: l.array.isRequired,
4813
+ placeholder: l.string,
4814
+ onChange: l.func,
4815
+ onChangeHandler: l.func,
4816
+ value: l.oneOfType([l.string, l.number]),
4817
+ size: l.oneOf(Z.props.size.options),
4818
+ status: l.oneOf(Z.props.status.options),
4819
+ tooltip: l.string,
4820
+ tooltipPosition: l.string,
4821
+ tooltipPlacement: l.string,
4822
+ feedback: l.string
4900
4823
  };
4901
4824
  Ks.displayName = "DsSelect";
4902
4825
  var Gs = /* @__PURE__ */ ((t) => (t.Large = "large", t.Small = "small", t))(Gs || {});
@@ -4910,7 +4833,7 @@ const xt = {
4910
4833
  options: Object.values(Gs)
4911
4834
  }
4912
4835
  }
4913
- }, Qn = ({
4836
+ }, Jn = ({
4914
4837
  children: t,
4915
4838
  className: e,
4916
4839
  testId: s = "ds-subtitle-test",
@@ -4926,7 +4849,7 @@ const xt = {
4926
4849
  }
4927
4850
  );
4928
4851
  };
4929
- Qn.displayName = "DsSubtitle";
4852
+ Jn.displayName = "DsSubtitle";
4930
4853
  var Zs = /* @__PURE__ */ ((t) => (t.Small = "small", t.Medium = "medium", t.Large = "large", t))(Zs || {}), Qs = /* @__PURE__ */ ((t) => (t.Text = "text", t))(Qs || {}), Js = /* @__PURE__ */ ((t) => (t.None = "", t.Error = "error", t.Success = "success", t))(Js || {}), en = /* @__PURE__ */ ((t) => (t.None = "none", t.Both = "both", t.Horizontal = "horizontal", t.Vertical = "vertical", t.Block = "block", t.Inline = "inline", t))(en || {});
4931
4854
  const se = {
4932
4855
  name: "TextArea",
@@ -5023,7 +4946,7 @@ const se = {
5023
4946
  label: r,
5024
4947
  placeholder: a,
5025
4948
  value: i,
5026
- minLength: l,
4949
+ minLength: o,
5027
4950
  maxLength: u,
5028
4951
  tooltip: d,
5029
4952
  icon: h,
@@ -5042,11 +4965,11 @@ const se = {
5042
4965
  description: N,
5043
4966
  style: W
5044
4967
  }, O) => {
5045
- const [te, ue] = P(!1), [ce, Ae] = P(0), [me, Ve] = P(Math.random());
4968
+ const [te, ue] = P(!1), [ce, Ae] = P(0), [me, Ve] = P(crypto.randomUUID());
5046
4969
  Q(() => {
5047
- i == null && Ve(Math.random());
4970
+ i == null && Ve(crypto.randomUUID());
5048
4971
  }, [i]);
5049
- const oe = (w) => {
4972
+ const le = (w) => {
5050
4973
  Ae(w.target.value.length), F && F(w);
5051
4974
  }, ve = (w) => {
5052
4975
  A && A(w);
@@ -5062,7 +4985,7 @@ const se = {
5062
4985
  return (te || i) && w.push(`${se.class}__label--active`), w.join(" ");
5063
4986
  }, [i, te]), V = () => !s && a ? a : "", B = () => f && f === "error" ? "info" : "check_circle", R = {
5064
4987
  resize: m,
5065
- ...W || {}
4988
+ ...W ?? {}
5066
4989
  };
5067
4990
  return /* @__PURE__ */ I("div", { className: g(), children: [
5068
4991
  N && /* @__PURE__ */ c("span", { className: "ds-textarea__description", children: N }),
@@ -5076,14 +4999,14 @@ const se = {
5076
4999
  className: "ds-textarea__textarea",
5077
5000
  cols: x,
5078
5001
  "data-testid": e,
5079
- defaultValue: i || "",
5002
+ defaultValue: i ?? "",
5080
5003
  disabled: y,
5081
5004
  id: t,
5082
5005
  maxLength: u,
5083
- minLength: l,
5006
+ minLength: o,
5084
5007
  name: t,
5085
5008
  onBlur: Te,
5086
- onChange: oe,
5009
+ onChange: le,
5087
5010
  onFocus: Ne,
5088
5011
  onKeyDown: ve,
5089
5012
  placeholder: V(),
@@ -5112,30 +5035,30 @@ const se = {
5112
5035
  }
5113
5036
  );
5114
5037
  tn.propTypes = {
5115
- name: o.string,
5116
- testId: o.string,
5117
- animated: o.bool,
5118
- size: o.oneOf(se.props.size.options),
5119
- label: o.string,
5120
- placeholder: o.string,
5121
- value: o.oneOfType([o.string]),
5122
- tooltip: o.string,
5123
- icon: o.string,
5124
- status: o.oneOf(se.props.status.options),
5125
- feedback: o.string,
5126
- minLength: o.number,
5127
- maxLength: o.number,
5128
- rows: o.number,
5129
- cols: o.number,
5130
- disabled: o.bool,
5131
- required: o.bool,
5132
- onChangeHandler: o.func,
5133
- onBlur: o.func,
5134
- onKeyDown: o.func,
5135
- onFocus: o.func,
5136
- resize: o.oneOf(se.props.resize.options).isRequired,
5137
- description: o.string,
5138
- style: o.object
5038
+ name: l.string,
5039
+ testId: l.string,
5040
+ animated: l.bool,
5041
+ size: l.oneOf(se.props.size.options),
5042
+ label: l.string,
5043
+ placeholder: l.string,
5044
+ value: l.oneOfType([l.string]),
5045
+ tooltip: l.string,
5046
+ icon: l.string,
5047
+ status: l.oneOf(se.props.status.options),
5048
+ feedback: l.string,
5049
+ minLength: l.number,
5050
+ maxLength: l.number,
5051
+ rows: l.number,
5052
+ cols: l.number,
5053
+ disabled: l.bool,
5054
+ required: l.bool,
5055
+ onChangeHandler: l.func,
5056
+ onBlur: l.func,
5057
+ onKeyDown: l.func,
5058
+ onFocus: l.func,
5059
+ resize: l.oneOf(se.props.resize.options).isRequired,
5060
+ description: l.string,
5061
+ style: l.object
5139
5062
  };
5140
5063
  tn.displayName = "DsTextArea";
5141
5064
  const nt = {
@@ -5170,11 +5093,11 @@ const nt = {
5170
5093
  );
5171
5094
  };
5172
5095
  Mt.propTypes = {
5173
- children: o.node,
5174
- fluid: o.bool,
5175
- className: o.string,
5176
- style: o.object,
5177
- testId: o.string
5096
+ children: l.node,
5097
+ fluid: l.bool,
5098
+ className: l.string,
5099
+ style: l.object,
5100
+ testId: l.string
5178
5101
  };
5179
5102
  Mt.displayName = "DsContainer";
5180
5103
  var sn = /* @__PURE__ */ ((t) => (t.Quark = "quark", t.Nano = "nano", t.ExtraSmall = "xs", t.Small = "sm", t.Medium = "md", t.Large = "lg", t))(sn || {}), It = /* @__PURE__ */ ((t) => (t.Start = "start", t.End = "end", t.Center = "center", t.Stretch = "stretch", t.SpaceAround = "space-around", t.SpaceBetween = "space-between", t.SpaceEvenly = "space-evenly", t))(It || {});
@@ -5227,7 +5150,7 @@ function es() {
5227
5150
  height: e
5228
5151
  };
5229
5152
  }
5230
- function Jn() {
5153
+ function er() {
5231
5154
  const [t, e] = P(
5232
5155
  es()
5233
5156
  );
@@ -5246,14 +5169,14 @@ const nn = ({
5246
5169
  hGap: r = ee.props.hGap.default,
5247
5170
  horizontalAlign: a = ee.props.horizontalAlign.default,
5248
5171
  verticalAlign: i = ee.props.verticalAlign.default,
5249
- width: l = ee.props.width.default,
5172
+ width: o = ee.props.width.default,
5250
5173
  height: u = ee.props.height.default
5251
5174
  }) => {
5252
5175
  const d = n && `${ee.class}__v-gap--${s}`, h = r && `${ee.class}__h-gap--${s}`, f = a && ee.props.horizontalAlign.options.find(
5253
5176
  (A) => A === a
5254
5177
  ) ? `${ee.class}--h-${a}` : null, _ = i && ee.props.verticalAlign.options.find(
5255
5178
  (A) => A === i
5256
- ) ? `${ee.class}--v-${i}` : null, { width: y } = Jn(), [E, v] = P("auto");
5179
+ ) ? `${ee.class}--v-${i}` : null, { width: y } = er(), [E, v] = P("auto");
5257
5180
  Q(() => {
5258
5181
  y <= 768 ? v("6") : v("12");
5259
5182
  }, [y]);
@@ -5269,7 +5192,7 @@ const nn = ({
5269
5192
  h
5270
5193
  ].filter((A) => A).join(" "),
5271
5194
  style: {
5272
- width: l,
5195
+ width: o,
5273
5196
  height: u,
5274
5197
  gridTemplateColumns: j(),
5275
5198
  gridTemplateRows: F()
@@ -5279,43 +5202,43 @@ const nn = ({
5279
5202
  );
5280
5203
  };
5281
5204
  nn.propTypes = {
5282
- children: o.oneOfType([
5283
- o.arrayOf(o.node),
5284
- o.node,
5285
- o.func
5205
+ children: l.oneOfType([
5206
+ l.arrayOf(l.node),
5207
+ l.node,
5208
+ l.func
5286
5209
  ]),
5287
- rows: o.string,
5288
- gap: o.oneOf(ee.props.gap.options),
5289
- vGap: o.bool,
5290
- hGap: o.bool,
5291
- width: o.string,
5292
- height: o.string,
5293
- horizontalAlign: o.oneOf(
5210
+ rows: l.string,
5211
+ gap: l.oneOf(ee.props.gap.options),
5212
+ vGap: l.bool,
5213
+ hGap: l.bool,
5214
+ width: l.string,
5215
+ height: l.string,
5216
+ horizontalAlign: l.oneOf(
5294
5217
  ee.props.horizontalAlign.options
5295
5218
  ),
5296
- verticalAlign: o.oneOf(ee.props.verticalAlign.options)
5219
+ verticalAlign: l.oneOf(ee.props.verticalAlign.options)
5297
5220
  };
5298
5221
  nn.displayName = "DsGridLayout";
5299
- const ts = () => typeof window < "u" && window.innerWidth ? window.innerWidth : 0, er = ({ children: t, grid: e }) => {
5300
- const { row: s, col: n, mobileRow: r, mobileCol: a } = e, [i, l] = P(ts());
5222
+ const ts = () => typeof window < "u" && window.innerWidth ? window.innerWidth : 0, tr = ({ children: t, grid: e }) => {
5223
+ const { row: s, col: n, mobileRow: r, mobileCol: a } = e, [i, o] = P(ts());
5301
5224
  Q(() => {
5302
5225
  const d = () => {
5303
- l(ts());
5226
+ o(ts());
5304
5227
  };
5305
5228
  if (typeof window < "u")
5306
5229
  return window.addEventListener("resize", d), () => window.removeEventListener("resize", d);
5307
5230
  }, []);
5308
5231
  const u = be(() => i <= 768 ? {
5309
- gridRow: r || s,
5310
- gridColumn: a || n
5232
+ gridRow: r ?? s,
5233
+ gridColumn: a ?? n
5311
5234
  } : {
5312
5235
  gridRow: s,
5313
5236
  gridColumn: n
5314
5237
  }, [i, s, n, r, a]);
5315
5238
  return /* @__PURE__ */ c("div", { style: u, children: t });
5316
5239
  };
5317
- er.displayName = "DsGridElement";
5318
- const fr = {
5240
+ tr.displayName = "DsGridElement";
5241
+ const gr = {
5319
5242
  name: "Grid-Element",
5320
5243
  class: "ds-grid-element",
5321
5244
  props: {
@@ -5367,14 +5290,14 @@ const _e = {
5367
5290
  bottom: r = _e.props.bottom.default,
5368
5291
  left: a = _e.props.left.default
5369
5292
  }) => {
5370
- const i = s && `${_e.class}__top--${s}`, l = n && `${_e.class}__right--${n}`, u = r && `${_e.class}__bottom--${r}`, d = a && `${_e.class}__left--${a}`, h = e && `${_e.class}--${e}`;
5293
+ const i = s && `${_e.class}__top--${s}`, o = n && `${_e.class}__right--${n}`, u = r && `${_e.class}__bottom--${r}`, d = a && `${_e.class}__left--${a}`, h = e && `${_e.class}--${e}`;
5371
5294
  return /* @__PURE__ */ c(
5372
5295
  "div",
5373
5296
  {
5374
5297
  className: [
5375
5298
  _e.class,
5376
5299
  i,
5377
- l,
5300
+ o,
5378
5301
  u,
5379
5302
  d,
5380
5303
  h
@@ -5461,10 +5384,10 @@ const wt = {
5461
5384
  );
5462
5385
  };
5463
5386
  Vt.propTypes = {
5464
- active: o.bool,
5465
- title: o.oneOfType([o.element, o.string]),
5466
- content: o.oneOfType([o.element, o.string]),
5467
- disabled: o.bool
5387
+ active: l.bool,
5388
+ title: l.oneOfType([l.element, l.string]),
5389
+ content: l.oneOfType([l.element, l.string]),
5390
+ disabled: l.bool
5468
5391
  };
5469
5392
  Vt.displayName = "DsAccordionItem";
5470
5393
  const rn = ({
@@ -5474,8 +5397,8 @@ const rn = ({
5474
5397
  }) => {
5475
5398
  const [n, r] = P(-1);
5476
5399
  Q(() => {
5477
- t.map((i, l) => {
5478
- i.active && r(l);
5400
+ t.map((i, o) => {
5401
+ i.active && r(o);
5479
5402
  });
5480
5403
  }, [t]), Q(() => {
5481
5404
  e != null && r(e);
@@ -5485,26 +5408,26 @@ const rn = ({
5485
5408
  return s && s(-1), r(-1);
5486
5409
  r(i), s && s(i);
5487
5410
  };
5488
- return /* @__PURE__ */ c("ul", { className: wt.class, children: t.map((i, l) => /* @__PURE__ */ c(
5411
+ return /* @__PURE__ */ c("ul", { className: wt.class, children: t.map((i, o) => /* @__PURE__ */ c(
5489
5412
  Vt,
5490
5413
  {
5491
- active: n === l,
5414
+ active: n === o,
5492
5415
  content: i.content,
5493
5416
  disabled: i.disabled,
5494
5417
  onToggle: () => {
5495
- a(l);
5418
+ a(o);
5496
5419
  },
5497
5420
  title: i.title
5498
5421
  },
5499
- l
5422
+ o
5500
5423
  )) });
5501
5424
  };
5502
5425
  rn.propTypes = {
5503
- items: o.array,
5504
- activeItem: o.number
5426
+ items: l.array,
5427
+ activeItem: l.number
5505
5428
  };
5506
5429
  rn.displayName = "DsAccordion";
5507
- const tr = ({
5430
+ const sr = ({
5508
5431
  title: t,
5509
5432
  activeTags: e,
5510
5433
  handleTagClose: s
@@ -5549,8 +5472,8 @@ const tr = ({
5549
5472
  `ds-tooltip-key-${n.id}-${n.text}`
5550
5473
  )) })
5551
5474
  ] }) });
5552
- tr.displayName = "DsActiveTags";
5553
- const gr = {
5475
+ sr.displayName = "DsActiveTags";
5476
+ const mr = {
5554
5477
  name: "ActiveTags",
5555
5478
  class: "ds-active-tags",
5556
5479
  props: {
@@ -5572,7 +5495,7 @@ const gr = {
5572
5495
  name: "Carousel",
5573
5496
  class: "ds-carousel",
5574
5497
  props: {}
5575
- }, sr = ({
5498
+ }, nr = ({
5576
5499
  slides: t,
5577
5500
  interval: e = 3e3,
5578
5501
  imageHeight: s = 100,
@@ -5580,9 +5503,9 @@ const gr = {
5580
5503
  imageMaxHeight: r,
5581
5504
  imageMaxWidth: a
5582
5505
  }) => {
5583
- const [i, l] = P(0), [u, d] = P(!1), h = Qe(null);
5506
+ const [i, o] = P(0), [u, d] = P(!1), h = Qe(null);
5584
5507
  Q(() => (u || (h.current = setInterval(() => {
5585
- l((y) => y === t.length - 1 ? 0 : y + 1);
5508
+ o((y) => y === t.length - 1 ? 0 : y + 1);
5586
5509
  }, e)), () => {
5587
5510
  h.current && clearInterval(h.current);
5588
5511
  }), [u, e, t.length]);
@@ -5623,7 +5546,7 @@ const gr = {
5623
5546
  }
5624
5547
  ),
5625
5548
  /* @__PURE__ */ c(ge, { vertical: "xxs" }),
5626
- /* @__PURE__ */ c("div", { children: /* @__PURE__ */ c(Nt, { className: "color__primary--default", type: "heading-4", children: t[i].title }) }),
5549
+ /* @__PURE__ */ c("div", { children: /* @__PURE__ */ c(Nt, { className: "color__primary", type: "heading-4", children: t[i].title }) }),
5627
5550
  /* @__PURE__ */ c("div", { children: /* @__PURE__ */ c(Re, { type: "large", children: t[i].description }) }),
5628
5551
  /* @__PURE__ */ c(ge, { vertical: "xxs" }),
5629
5552
  /* @__PURE__ */ c("div", { className: `${We.class}__dots`, children: /* @__PURE__ */ c("div", { className: `${We.class}__dots-wrapper`, children: t.map((y, E) => /* @__PURE__ */ c(
@@ -5631,7 +5554,7 @@ const gr = {
5631
5554
  {
5632
5555
  "aria-label": `Go to slide ${E + 1}`,
5633
5556
  className: `dot ${i === E ? "dot--active" : ""}`,
5634
- onClick: () => l(E)
5557
+ onClick: () => o(E)
5635
5558
  },
5636
5559
  E
5637
5560
  )) }) })
@@ -5639,20 +5562,20 @@ const gr = {
5639
5562
  }
5640
5563
  );
5641
5564
  };
5642
- sr.propTypes = {
5643
- slides: o.arrayOf(
5644
- o.shape({
5645
- title: o.string.isRequired,
5646
- image: o.string.isRequired,
5647
- description: o.string.isRequired
5565
+ nr.propTypes = {
5566
+ slides: l.arrayOf(
5567
+ l.shape({
5568
+ title: l.string.isRequired,
5569
+ image: l.string.isRequired,
5570
+ description: l.string.isRequired
5648
5571
  })
5649
5572
  ).isRequired,
5650
- interval: o.number,
5573
+ interval: l.number,
5651
5574
  // in milliseconds
5652
- imageHeight: o.oneOfType([o.number, o.string]),
5653
- imageWidth: o.oneOfType([o.number, o.string]),
5654
- imageMaxHeight: o.oneOfType([o.number, o.string]),
5655
- imageMaxWidth: o.oneOfType([o.number, o.string])
5575
+ imageHeight: l.oneOfType([l.number, l.string]),
5576
+ imageWidth: l.oneOfType([l.number, l.string]),
5577
+ imageMaxHeight: l.oneOfType([l.number, l.string]),
5578
+ imageMaxWidth: l.oneOfType([l.number, l.string])
5656
5579
  };
5657
5580
  var an = /* @__PURE__ */ ((t) => (t.Small = "small", t.Medium = "medium", t.Large = "large", t))(an || {});
5658
5581
  const X = {
@@ -5732,7 +5655,7 @@ const X = {
5732
5655
  }
5733
5656
  }
5734
5657
  }
5735
- }, nr = ({
5658
+ }, rr = ({
5736
5659
  label: t = X.props.label.default,
5737
5660
  name: e = X.props.name.default,
5738
5661
  testId: s = X.props.testId.default,
@@ -5740,7 +5663,7 @@ const X = {
5740
5663
  options: r = X.props.options.default,
5741
5664
  size: a = X.props.size.default,
5742
5665
  onChangeHandler: i = X.props.onChangeHandler.default,
5743
- onSelectHandler: l = X.props.onSelectHandler.default,
5666
+ onSelectHandler: o = X.props.onSelectHandler.default,
5744
5667
  icon: u = X.props.icon.default,
5745
5668
  noOptionsMessage: d = X.props.noOptionsMessage.default,
5746
5669
  disabled: h = X.props.disabled.default,
@@ -5754,7 +5677,7 @@ const X = {
5754
5677
  const [F, j] = P(!1), [A, C] = P(n), p = (O) => {
5755
5678
  i(O), (m == null && O.currentTarget.value.length || !m && O.currentTarget.value.length > 2) && j(!0);
5756
5679
  }, x = (O) => {
5757
- l(O), _(), C(Math.random().toString()), j(!1);
5680
+ o(O), _(), C(crypto.randomUUID().toString()), j(!1);
5758
5681
  }, N = (O) => {
5759
5682
  h || x(O);
5760
5683
  };
@@ -5765,7 +5688,7 @@ const X = {
5765
5688
  "button",
5766
5689
  {
5767
5690
  className: `${X.class}__option ${X.class}__option--${a}`,
5768
- "data-testid": `ds-option-${O.id || O.label}`,
5691
+ "data-testid": `ds-option-${O.id ?? O.label}`,
5769
5692
  onClick: () => N(O),
5770
5693
  children: O.label
5771
5694
  },
@@ -5822,7 +5745,7 @@ const X = {
5822
5745
  )
5823
5746
  ] });
5824
5747
  };
5825
- nr.displayName = "DsEditableSelect";
5748
+ rr.displayName = "DsEditableSelect";
5826
5749
  const Ye = {
5827
5750
  name: "DsIndicator",
5828
5751
  class: "ds-indicator",
@@ -5836,7 +5759,7 @@ const Ye = {
5836
5759
  required: !0
5837
5760
  }
5838
5761
  }
5839
- }, mr = ({
5762
+ }, vr = ({
5840
5763
  length: t,
5841
5764
  current: e = Ye.props.current.default
5842
5765
  }) => {
@@ -5857,7 +5780,7 @@ const Ye = {
5857
5780
  )
5858
5781
  );
5859
5782
  return /* @__PURE__ */ c("div", { className: Ye.class, children: a });
5860
- }, rr = {
5783
+ }, ar = {
5861
5784
  name: "DsInlineEditable",
5862
5785
  class: "ds-inline-editable",
5863
5786
  props: {
@@ -5891,7 +5814,7 @@ const Ye = {
5891
5814
  }
5892
5815
  }
5893
5816
  }
5894
- }, on = ({
5817
+ }, ln = ({
5895
5818
  name: t,
5896
5819
  value: e,
5897
5820
  prefix: s,
@@ -5900,7 +5823,7 @@ const Ye = {
5900
5823
  max: a,
5901
5824
  onChangeHandler: i
5902
5825
  }) => {
5903
- const l = Qe(null), [u, d] = P(!1), [h, f] = P("");
5826
+ const o = Qe(null), [u, d] = P(!1), [h, f] = P("");
5904
5827
  Q(() => {
5905
5828
  f(e ?? "");
5906
5829
  }, [e]);
@@ -5914,9 +5837,9 @@ const Ye = {
5914
5837
  f(m.currentTarget.value);
5915
5838
  }, v = async () => {
5916
5839
  var m;
5917
- await d(!0), (m = l.current) == null || m.focus();
5840
+ await d(!0), (m = o.current) == null || m.focus();
5918
5841
  };
5919
- return /* @__PURE__ */ c("div", { className: rr.class, children: u ? /* @__PURE__ */ c(
5842
+ return /* @__PURE__ */ c("div", { className: ar.class, children: u ? /* @__PURE__ */ c(
5920
5843
  "input",
5921
5844
  {
5922
5845
  className: "ds-input__input",
@@ -5927,7 +5850,7 @@ const Ye = {
5927
5850
  onBlur: y,
5928
5851
  onChange: E,
5929
5852
  onKeyDown: _,
5930
- ref: l,
5853
+ ref: o,
5931
5854
  type: "number",
5932
5855
  value: h
5933
5856
  }
@@ -5947,11 +5870,11 @@ const Ye = {
5947
5870
  }
5948
5871
  ) });
5949
5872
  };
5950
- on.propTypes = {
5951
- value: o.string
5873
+ ln.propTypes = {
5874
+ value: l.string
5952
5875
  };
5953
- on.displayName = "DsInlineEditable";
5954
- var ar = /* @__PURE__ */ ((t) => (t[t.Elevation1 = 1] = "Elevation1", t[t.Elevation2 = 2] = "Elevation2", t[t.Elevation3 = 3] = "Elevation3", t[t.Elevation4 = 4] = "Elevation4", t))(ar || {}), ln = /* @__PURE__ */ ((t) => (t.Squared = "squared", t.Rounded = "rounded", t))(ln || {});
5876
+ ln.displayName = "DsInlineEditable";
5877
+ var ir = /* @__PURE__ */ ((t) => (t[t.Elevation1 = 1] = "Elevation1", t[t.Elevation2 = 2] = "Elevation2", t[t.Elevation3 = 3] = "Elevation3", t[t.Elevation4 = 4] = "Elevation4", t))(ir || {}), on = /* @__PURE__ */ ((t) => (t.Squared = "squared", t.Rounded = "rounded", t))(on || {});
5955
5878
  const fe = {
5956
5879
  name: "Modal",
5957
5880
  class: "ds-modal",
@@ -5969,7 +5892,7 @@ const fe = {
5969
5892
  variant: {
5970
5893
  type: String,
5971
5894
  default: "rounded",
5972
- options: Object.values(ln)
5895
+ options: Object.values(on)
5973
5896
  },
5974
5897
  cancelBtnText: {
5975
5898
  type: String,
@@ -5992,7 +5915,7 @@ const fe = {
5992
5915
  confirmBtnText: r = fe.props.confirmBtnText.default,
5993
5916
  variant: a = fe.props.variant.default,
5994
5917
  elevation: i,
5995
- isModalOpen: l = fe.props.isModalOpen.default,
5918
+ isModalOpen: o = fe.props.isModalOpen.default,
5996
5919
  onClose: u,
5997
5920
  onCancel: d,
5998
5921
  onConfirm: h,
@@ -6004,9 +5927,9 @@ const fe = {
6004
5927
  },
6005
5928
  [u]
6006
5929
  );
6007
- return Q(() => (l && window && !E && window.addEventListener("keyup", v), () => {
5930
+ return Q(() => (o && window && !E && window.addEventListener("keyup", v), () => {
6008
5931
  window.removeEventListener("keyup", v);
6009
- }), [E, v]), l ? /* @__PURE__ */ I(pt, { children: [
5932
+ }), [E, v]), o ? /* @__PURE__ */ I(pt, { children: [
6010
5933
  /* @__PURE__ */ c(
6011
5934
  "div",
6012
5935
  {
@@ -6020,12 +5943,7 @@ const fe = {
6020
5943
  /* @__PURE__ */ I(
6021
5944
  "div",
6022
5945
  {
6023
- className: [
6024
- fe.class,
6025
- _,
6026
- y,
6027
- t && t
6028
- ].filter((m) => m).join(" "),
5946
+ className: [fe.class, _, y, t].filter((m) => m).join(" "),
6029
5947
  "data-testid": "ds-modal",
6030
5948
  children: [
6031
5949
  !E && /* @__PURE__ */ c(
@@ -6070,18 +5988,18 @@ const fe = {
6070
5988
  ] }) : null;
6071
5989
  };
6072
5990
  un.propTypes = {
6073
- firstButtonText: o.string,
6074
- confirmBtnText: o.string,
6075
- cancelBtnText: o.string,
6076
- variant: o.oneOf(fe.props.variant.options),
6077
- elevation: o.oneOf(fe.props.elevation.options),
6078
- isModalOpen: o.bool,
6079
- title: o.node,
6080
- content: o.node
5991
+ firstButtonText: l.string,
5992
+ confirmBtnText: l.string,
5993
+ cancelBtnText: l.string,
5994
+ variant: l.oneOf(fe.props.variant.options),
5995
+ elevation: l.oneOf(fe.props.elevation.options),
5996
+ isModalOpen: l.bool,
5997
+ title: l.node,
5998
+ content: l.node
6081
5999
  };
6082
6000
  un.displayName = "DsModal";
6083
6001
  var cn = /* @__PURE__ */ ((t) => (t.Success = "success", t.Danger = "danger", t.Warning = "warning", t.Info = "info", t))(cn || {}), dn = /* @__PURE__ */ ((t) => (t.Rounded = "rounded", t.Squared = "squared", t))(dn || {});
6084
- const le = {
6002
+ const oe = {
6085
6003
  name: "DsNotification",
6086
6004
  class: "ds-notification",
6087
6005
  props: {
@@ -6127,25 +6045,25 @@ const le = {
6127
6045
  var pn = /* @__PURE__ */ ((t) => (t.success = "check", t.danger = "error", t.warning = "warning", t.info = "info", t))(pn || {});
6128
6046
  const hn = ({
6129
6047
  className: t,
6130
- type: e = le.props.type.default,
6131
- variant: s = le.props.variant.default,
6048
+ type: e = oe.props.type.default,
6049
+ variant: s = oe.props.variant.default,
6132
6050
  id: n,
6133
6051
  children: r,
6134
6052
  message: a,
6135
- autoClose: i = le.props.autoClose.default,
6136
- autoCloseTimer: l = le.props.autoCloseTimer.default,
6137
- dismissible: u = le.props.dismissible.default,
6053
+ autoClose: i = oe.props.autoClose.default,
6054
+ autoCloseTimer: o = oe.props.autoCloseTimer.default,
6055
+ dismissible: u = oe.props.dismissible.default,
6138
6056
  elevation: d,
6139
- progressBar: h = le.props.progressBar.default,
6057
+ progressBar: h = oe.props.progressBar.default,
6140
6058
  handleClose: f,
6141
- testId: _ = le.props.testId.default
6059
+ testId: _ = oe.props.testId.default
6142
6060
  }) => {
6143
- const [y, E] = P(l), [v, m] = P(!1), [F, j] = P(!0), A = [
6144
- le.class,
6145
- e && `${le.class}--${e}`,
6146
- s && `${le.class}--${s}`,
6147
- d && `${le.class}--elevation-${d}`,
6148
- t && t
6061
+ const [y, E] = P(o), [v, m] = P(!1), [F, j] = P(!0), A = [
6062
+ oe.class,
6063
+ e && `${oe.class}--${e}`,
6064
+ s && `${oe.class}--${s}`,
6065
+ d && `${oe.class}--elevation-${d}`,
6066
+ t
6149
6067
  ].join(" "), C = () => E((W) => (W === 0 && j(!1), W - 100));
6150
6068
  Q(() => {
6151
6069
  !i && !u && j(!0);
@@ -6153,7 +6071,7 @@ const hn = ({
6153
6071
  return !v && i && (W = setInterval(C, 100)), () => {
6154
6072
  clearInterval(W);
6155
6073
  };
6156
- }, [v, i, l, F, u]);
6074
+ }, [v, i, o, F, u]);
6157
6075
  const p = () => {
6158
6076
  m(!0);
6159
6077
  }, x = () => {
@@ -6183,7 +6101,7 @@ const hn = ({
6183
6101
  /* @__PURE__ */ c(ne, { children: u ? /* @__PURE__ */ c(
6184
6102
  "div",
6185
6103
  {
6186
- className: `${le.class}__button`,
6104
+ className: `${oe.class}__button`,
6187
6105
  "data-testid": `${_}-close`,
6188
6106
  onClick: (W) => N(W),
6189
6107
  children: /* @__PURE__ */ c(Ze, { children: /* @__PURE__ */ c(G, { image: "close" }) })
@@ -6193,10 +6111,10 @@ const hn = ({
6193
6111
  h && i && /* @__PURE__ */ c(
6194
6112
  "div",
6195
6113
  {
6196
- className: `${le.class}__progress-bar ${le.class}__progress-bar--${e}`,
6114
+ className: `${oe.class}__progress-bar ${oe.class}__progress-bar--${e}`,
6197
6115
  "data-testid": `${_}-progress-bar`,
6198
6116
  style: {
6199
- width: `${y / l * 100}%`
6117
+ width: `${y / o * 100}%`
6200
6118
  }
6201
6119
  }
6202
6120
  )
@@ -6255,7 +6173,7 @@ const At = {
6255
6173
  instructionLabel: s = At.props.instructionLabel.default,
6256
6174
  testId: n = At.props.testId.default
6257
6175
  }) => {
6258
- const [r, a] = P(""), [i, l] = P(""), [u, d] = P([]), [h, f] = P({
6176
+ const [r, a] = P(""), [i, o] = P(""), [u, d] = P([]), [h, f] = P({
6259
6177
  score: 0,
6260
6178
  color: "danger",
6261
6179
  label: "Fraco"
@@ -6281,7 +6199,7 @@ const At = {
6281
6199
  [i, t, E]
6282
6200
  ), m = xe(
6283
6201
  (p) => {
6284
- l(p.currentTarget.value);
6202
+ o(p.currentTarget.value);
6285
6203
  const x = E(r), N = A(x);
6286
6204
  t({
6287
6205
  password: r,
@@ -6371,10 +6289,10 @@ const At = {
6371
6289
  ] });
6372
6290
  };
6373
6291
  fn.propTypes = {
6374
- onChange: o.func,
6375
- validationList: o.array,
6376
- instructionLabel: o.string,
6377
- testId: o.string
6292
+ onChange: l.func,
6293
+ validationList: l.array,
6294
+ instructionLabel: l.string,
6295
+ testId: l.string
6378
6296
  };
6379
6297
  fn.displayName = "DsPasswordConfirmation";
6380
6298
  const ye = {
@@ -6390,14 +6308,14 @@ const ye = {
6390
6308
  default: 0
6391
6309
  }
6392
6310
  }
6393
- }, ir = ({
6311
+ }, lr = ({
6394
6312
  steps: t,
6395
6313
  selectedStep: e = ye.props.selectedStep.default,
6396
6314
  onChange: s
6397
6315
  }) => {
6398
- const [n, r] = P(e), a = (i, l) => {
6316
+ const [n, r] = P(e), a = (i, o) => {
6399
6317
  const u = [`${ye.class}__button`];
6400
- return l !== i && u.push(`${ye.class}__button--round`), t[i] && t[i].disabled && u.push(`${ye.class}__button--disabled`), u.join(" ");
6318
+ return o !== i && u.push(`${ye.class}__button--round`), t[i] && t[i].disabled && u.push(`${ye.class}__button--disabled`), u.join(" ");
6401
6319
  };
6402
6320
  return Q(() => {
6403
6321
  r(e);
@@ -6410,25 +6328,25 @@ const ye = {
6410
6328
  " de ",
6411
6329
  t == null ? void 0 : t.length
6412
6330
  ] }),
6413
- /* @__PURE__ */ c("div", { className: `${ye.class}__step`, children: t.map((i, l) => /* @__PURE__ */ c(
6331
+ /* @__PURE__ */ c("div", { className: `${ye.class}__step`, children: t.map((i, o) => /* @__PURE__ */ c(
6414
6332
  "div",
6415
6333
  {
6416
6334
  className: `${ye.class}__content`,
6417
6335
  children: /* @__PURE__ */ c(
6418
6336
  "button",
6419
6337
  {
6420
- className: a(l, n),
6421
- "data-testid": `ds-button-${l}`,
6338
+ className: a(o, n),
6339
+ "data-testid": `ds-button-${o}`,
6422
6340
  disabled: i.disabled,
6423
- onClick: () => r(l),
6341
+ onClick: () => r(o),
6424
6342
  children: /* @__PURE__ */ I("span", { className: `${ye.class}__text`, children: [
6425
- n === l ? /* @__PURE__ */ c(Ze, { bottom: "none", left: "nano", right: "nano", top: "none", children: /* @__PURE__ */ c(
6343
+ n === o ? /* @__PURE__ */ c(Ze, { bottom: "none", left: "nano", right: "nano", top: "none", children: /* @__PURE__ */ c(
6426
6344
  G,
6427
6345
  {
6428
6346
  className: `${ye.class}__icon`,
6429
6347
  fill: !0,
6430
6348
  image: i.icon,
6431
- testId: `ds-icon-${l}`
6349
+ testId: `ds-icon-${o}`
6432
6350
  }
6433
6351
  ) }) : /* @__PURE__ */ c(
6434
6352
  G,
@@ -6436,10 +6354,10 @@ const ye = {
6436
6354
  className: `${ye.class}__icon`,
6437
6355
  fill: !0,
6438
6356
  image: i.icon,
6439
- testId: `ds-icon-${l}`
6357
+ testId: `ds-icon-${o}`
6440
6358
  }
6441
6359
  ),
6442
- n === l && i.label
6360
+ n === o && i.label
6443
6361
  ] })
6444
6362
  }
6445
6363
  )
@@ -6448,7 +6366,7 @@ const ye = {
6448
6366
  )) })
6449
6367
  ] });
6450
6368
  };
6451
- ir.displayName = "DsStepper";
6369
+ lr.displayName = "DsStepper";
6452
6370
  const Ce = {
6453
6371
  name: "Table",
6454
6372
  class: "ds-table",
@@ -6529,7 +6447,7 @@ const Be = {
6529
6447
  }
6530
6448
  }
6531
6449
  }
6532
- }, lr = ({
6450
+ }, ur = ({
6533
6451
  active: t,
6534
6452
  className: e,
6535
6453
  color: s,
@@ -6537,16 +6455,16 @@ const Be = {
6537
6455
  name: r,
6538
6456
  index: a,
6539
6457
  title: i,
6540
- onClick: l
6458
+ onClick: o
6541
6459
  }) => {
6542
6460
  const u = [
6543
6461
  `${Be.class}__tab`,
6544
6462
  `${Be.class}__tab-color--${s}`,
6545
6463
  t && `${Be.class}__tab--active`,
6546
6464
  n && `${Be.class}__tab--disabled`,
6547
- e && e
6465
+ e
6548
6466
  ].join(" "), d = (h) => {
6549
- l && !n && l(h);
6467
+ o && !n && o(h);
6550
6468
  };
6551
6469
  return /* @__PURE__ */ c(
6552
6470
  "div",
@@ -6558,14 +6476,14 @@ const Be = {
6558
6476
  children: i
6559
6477
  }
6560
6478
  );
6561
- }, vr = ({
6479
+ }, _r = ({
6562
6480
  tabs: t,
6563
6481
  color: e,
6564
6482
  selectedTab: s = Be.props.selectedTab.default,
6565
6483
  className: n,
6566
6484
  onChange: r
6567
6485
  }) => {
6568
- const [a, i] = P(s), l = (u) => {
6486
+ const [a, i] = P(s), o = (u) => {
6569
6487
  i(u), r && r(u);
6570
6488
  };
6571
6489
  return Q(() => i(s), [s]), /* @__PURE__ */ I(
@@ -6575,14 +6493,14 @@ const Be = {
6575
6493
  "data-testid": "ds-tabs",
6576
6494
  children: [
6577
6495
  /* @__PURE__ */ c("div", { className: `${Be.class}__header`, children: t.map((u, d) => /* @__PURE__ */ bn(
6578
- lr,
6496
+ ur,
6579
6497
  {
6580
6498
  ...u,
6581
6499
  active: a === d,
6582
6500
  color: e,
6583
6501
  index: d,
6584
6502
  key: d,
6585
- onClick: () => l(d)
6503
+ onClick: () => o(d)
6586
6504
  }
6587
6505
  )) }),
6588
6506
  /* @__PURE__ */ c("div", { className: `${Be.class}__content`, children: t[a].content })
@@ -6590,13 +6508,13 @@ const Be = {
6590
6508
  }
6591
6509
  );
6592
6510
  };
6593
- function ur({ library: t, children: e, theme: s }) {
6511
+ function cr({ library: t, children: e, theme: s }) {
6594
6512
  return /* @__PURE__ */ c("div", { "data-library": t, "data-theme": s, children: /* @__PURE__ */ c("div", { className: "ds-theme", children: e }) });
6595
6513
  }
6596
- ur.propTypes = {
6597
- library: o.string,
6598
- children: o.node.isRequired,
6599
- theme: o.string
6514
+ cr.propTypes = {
6515
+ library: l.string,
6516
+ children: l.node.isRequired,
6517
+ theme: l.string
6600
6518
  };
6601
6519
  var vn = /* @__PURE__ */ ((t) => (t.TopLeft = "top-left", t.TopCenter = "top-center", t.TopRight = "top-right", t.BottomLeft = "bottom-left", t.BottomCenter = "bottom-center", t.BottomRight = "bottom-right", t))(vn || {});
6602
6520
  const je = {
@@ -6628,12 +6546,12 @@ const je = {
6628
6546
  je.class,
6629
6547
  `${je.class}--${e}`,
6630
6548
  s && `${je.class}--fluid`,
6631
- t && t
6632
- ].join(" "), i = (l) => {
6633
- r && r(l);
6549
+ t
6550
+ ].join(" "), i = (o) => {
6551
+ r && r(o);
6634
6552
  };
6635
- return /* @__PURE__ */ c("div", { className: a, "data-testid": "ds-notification-list", children: n.map((l) => {
6636
- const u = l.autoClose ?? !0, d = l.autoCloseTimer ?? 4e3, h = l.dismissible ?? !0, f = l.elevation ?? 2, _ = l.progressBar ?? !0;
6553
+ return /* @__PURE__ */ c("div", { className: a, "data-testid": "ds-notification-list", children: n.map((o) => {
6554
+ const u = o.autoClose ?? !0, d = o.autoCloseTimer ?? 4e3, h = o.dismissible ?? !0, f = o.elevation ?? 2, _ = o.progressBar ?? !0;
6637
6555
  return /* @__PURE__ */ c(
6638
6556
  hn,
6639
6557
  {
@@ -6641,41 +6559,39 @@ const je = {
6641
6559
  autoCloseTimer: d,
6642
6560
  dismissible: h,
6643
6561
  elevation: f,
6644
- handleClose: () => i(l.id),
6645
- id: l.id,
6646
- message: l.message,
6562
+ handleClose: () => i(o.id),
6563
+ id: o.id,
6564
+ message: o.message,
6647
6565
  progressBar: _,
6648
- type: l.type
6566
+ type: o.type
6649
6567
  },
6650
- l.id
6568
+ o.id
6651
6569
  );
6652
6570
  }) });
6653
6571
  };
6654
6572
  _n.propTypes = {
6655
- position: o.oneOf(je.props.position.options),
6656
- fluid: o.bool,
6657
- notifications: o.array,
6658
- removeNotification: o.func
6573
+ position: l.oneOf(je.props.position.options),
6574
+ fluid: l.bool,
6575
+ notifications: l.array,
6576
+ removeNotification: l.func
6659
6577
  };
6660
6578
  _n.displayName = "DsNotificationList";
6661
6579
  const Xe = {
6662
- name: "SplitLayout",
6663
- class: "ds-split-layout",
6664
- props: {}
6665
- }, cr = ({
6580
+ class: "ds-split-layout"
6581
+ }, dr = ({
6666
6582
  leftContent: t,
6667
6583
  rightContent: e,
6668
6584
  leftBackgroundColor: s,
6669
6585
  rightBackgroundColor: n,
6670
6586
  reverseOnMobile: r = !1
6671
6587
  }) => {
6672
- const a = s ? `bg-color__${s}` : "", i = n ? `bg-color__${n}` : "", l = r ? `${Xe.class}__content--mobile-order-2` : "", u = r ? `${Xe.class}__content--mobile-order-1` : "", d = `${Xe.class}__content ${a} ${l}`, h = `${Xe.class}__content ${i} ${u}`;
6588
+ const a = s ? `bg-color__${s}` : "", i = n ? `bg-color__${n}` : "", o = r ? `${Xe.class}__content--mobile-order-2` : "", u = r ? `${Xe.class}__content--mobile-order-1` : "", d = `${Xe.class}__content ${a} ${o}`, h = `${Xe.class}__content ${i} ${u}`;
6673
6589
  return /* @__PURE__ */ I("div", { className: Xe.class, children: [
6674
6590
  /* @__PURE__ */ c("div", { className: d, children: t }),
6675
6591
  /* @__PURE__ */ c("div", { className: h, children: e })
6676
6592
  ] });
6677
6593
  };
6678
- cr.displayName = "DsSplitLayout";
6594
+ dr.displayName = "DsSplitLayout";
6679
6595
  const at = {
6680
6596
  name: "TwoColumns",
6681
6597
  class: "ds-two-columns",
@@ -6705,39 +6621,39 @@ const at = {
6705
6621
  /* @__PURE__ */ c(ge, { vertical: "sm" })
6706
6622
  ] });
6707
6623
  yn.propTypes = {
6708
- breadcrumb: o.node,
6709
- header: o.node,
6710
- main: o.node,
6711
- sidebar: o.node
6624
+ breadcrumb: l.node,
6625
+ header: l.node,
6626
+ main: l.node,
6627
+ sidebar: l.node
6712
6628
  };
6713
6629
  yn.displayName = "DsTwoColumns";
6714
6630
  export {
6715
6631
  rs as ButtonColor,
6716
6632
  In as ButtonElevation,
6717
- os as ButtonIconPosition,
6633
+ ls as ButtonIconPosition,
6718
6634
  is as ButtonSize,
6719
6635
  as as ButtonVariant,
6720
6636
  Ft as CardColor,
6721
6637
  Bn as CardElevation,
6722
6638
  rn as DsAccordion,
6723
6639
  Vt as DsAccordionItem,
6724
- tr as DsActiveTags,
6640
+ sr as DsActiveTags,
6725
6641
  ut as DsButton,
6726
6642
  ps as DsCaption,
6727
6643
  hs as DsCard,
6728
- sr as DsCarousel,
6644
+ nr as DsCarousel,
6729
6645
  fs as DsCheckbox,
6730
6646
  Mt as DsContainer,
6731
- nr as DsEditableSelect,
6647
+ rr as DsEditableSelect,
6732
6648
  ne as DsFlexElement,
6733
6649
  Me as DsFlexLayout,
6734
- er as DsGridElement,
6650
+ tr as DsGridElement,
6735
6651
  nn as DsGridLayout,
6736
6652
  _s as DsHR,
6737
6653
  Nt as DsHeading,
6738
6654
  G as DsIcon,
6739
- mr as DsIndicator,
6740
- on as DsInlineEditable,
6655
+ vr as DsIndicator,
6656
+ ln as DsInlineEditable,
6741
6657
  et as DsInput,
6742
6658
  $t as DsLoading,
6743
6659
  un as DsModal,
@@ -6749,11 +6665,11 @@ export {
6749
6665
  zs as DsProgress,
6750
6666
  Ks as DsSelect,
6751
6667
  ge as DsSpacer,
6752
- cr as DsSplitLayout,
6753
- ir as DsStepper,
6754
- Qn as DsSubtitle,
6668
+ dr as DsSplitLayout,
6669
+ lr as DsStepper,
6670
+ Jn as DsSubtitle,
6755
6671
  or as DsTable,
6756
- vr as DsTabs,
6672
+ _r as DsTabs,
6757
6673
  tn as DsTextArea,
6758
6674
  He as DsTooltip,
6759
6675
  yn as DsTwoColumns,
@@ -6769,7 +6685,7 @@ export {
6769
6685
  ms as HRBorderStyle,
6770
6686
  vs as HRSize,
6771
6687
  gs as HeadingType,
6772
- ls as IconColor,
6688
+ os as IconColor,
6773
6689
  cs as IconSize,
6774
6690
  us as IconVariation,
6775
6691
  ds as IconWeight,
@@ -6780,8 +6696,8 @@ export {
6780
6696
  As as InputType,
6781
6697
  Bs as LoadingBackgroundColor,
6782
6698
  Ns as LoadingSize,
6783
- ar as ModalElevation,
6784
- ln as ModalVariant,
6699
+ ir as ModalElevation,
6700
+ on as ModalVariant,
6785
6701
  vn as NotificationListPosition,
6786
6702
  cn as NotificationType,
6787
6703
  dn as NotificationVariant,
@@ -6798,13 +6714,13 @@ export {
6798
6714
  Zs as TextAreaSize,
6799
6715
  Js as TextAreaStatus,
6800
6716
  Qs as TextAreaType,
6801
- ur as ThemeProvider,
6717
+ cr as ThemeProvider,
6802
6718
  Rs as TooltipPlacement,
6803
6719
  Is as TooltipPosition,
6804
6720
  ze as WrapperSpace,
6805
6721
  wt as accordionConfig,
6806
6722
  Ue as accordionItemConfig,
6807
- gr as activeTagsConfig,
6723
+ mr as activeTagsConfig,
6808
6724
  Y as buttonConfig,
6809
6725
  Nn as captionConfig,
6810
6726
  Oe as cardConfig,
@@ -6814,20 +6730,20 @@ export {
6814
6730
  X as editableSelectConfig,
6815
6731
  Ct as flexElementConfig,
6816
6732
  Le as flexLayoutConfig,
6817
- fr as gridElementConfig,
6733
+ gr as gridElementConfig,
6818
6734
  ee as gridLayoutConfig,
6819
6735
  Ke as headingConfig,
6820
6736
  Pe as horizontalRuleConfig,
6821
6737
  pe as iconConfig,
6822
6738
  Ye as indicatorConfig,
6823
- rr as inlineEditableConfig,
6739
+ ar as inlineEditableConfig,
6824
6740
  K as inputConfig,
6825
6741
  de as loadingConfig,
6826
6742
  fe as modalConfig,
6827
- le as notificationConfig,
6743
+ oe as notificationConfig,
6828
6744
  je as notificationListConfig,
6829
6745
  Fe as optionConfig,
6830
- ot as paragraphConfig,
6746
+ lt as paragraphConfig,
6831
6747
  At as passwordConfirmationConfig,
6832
6748
  Jt as progressConfig,
6833
6749
  Z as selectConfig,