skillgrid 0.0.21-dev-39472-brand-colors.1146058 → 0.0.21-dev-39768-inputs.1152485

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import * as Et from "react";
2
- import Lt, { forwardRef as K, useState as De, useRef as ze, useEffect as Re, useCallback as Se, Fragment as Mt, createContext as ra, useContext as na, useLayoutEffect as sa, useImperativeHandle as oa, useId as $t } from "react";
3
- import ye, { clsx as ie } from "clsx";
2
+ import Lt, { forwardRef as ee, useState as Ae, useRef as Be, useEffect as je, useCallback as Ee, Fragment as Mt, createContext as ra, useContext as na, useLayoutEffect as sa, useImperativeHandle as oa, useId as $t } from "react";
3
+ import pt, { clsx as Z } from "clsx";
4
4
  import './index.css';function ia(t) {
5
5
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
6
6
  }
7
- var Pe = { exports: {} }, Te = {};
7
+ var Oe = { exports: {} }, Re = {};
8
8
  /**
9
9
  * @license React
10
10
  * react-jsx-runtime.production.min.js
@@ -16,19 +16,19 @@ var Pe = { exports: {} }, Te = {};
16
16
  */
17
17
  var ft;
18
18
  function la() {
19
- if (ft) return Te;
19
+ if (ft) return Re;
20
20
  ft = 1;
21
- var t = Lt, a = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, o = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
21
+ var t = Lt, r = Symbol.for("react.element"), a = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
22
22
  function c(_, d, f) {
23
- var p, g = {}, h = null, b = null;
24
- f !== void 0 && (h = "" + f), d.key !== void 0 && (h = "" + d.key), d.ref !== void 0 && (b = d.ref);
23
+ var p, g = {}, b = null, h = null;
24
+ f !== void 0 && (b = "" + f), d.key !== void 0 && (b = "" + d.key), d.ref !== void 0 && (h = d.ref);
25
25
  for (p in d) n.call(d, p) && !s.hasOwnProperty(p) && (g[p] = d[p]);
26
26
  if (_ && _.defaultProps) for (p in d = _.defaultProps, d) g[p] === void 0 && (g[p] = d[p]);
27
- return { $$typeof: a, type: _, key: h, ref: b, props: g, _owner: o.current };
27
+ return { $$typeof: r, type: _, key: b, ref: h, props: g, _owner: i.current };
28
28
  }
29
- return Te.Fragment = r, Te.jsx = c, Te.jsxs = c, Te;
29
+ return Re.Fragment = a, Re.jsx = c, Re.jsxs = c, Re;
30
30
  }
31
- var Ae = {};
31
+ var ke = {};
32
32
  /**
33
33
  * @license React
34
34
  * react-jsx-runtime.development.js
@@ -41,65 +41,65 @@ var Ae = {};
41
41
  var gt;
42
42
  function ca() {
43
43
  return gt || (gt = 1, process.env.NODE_ENV !== "production" && function() {
44
- var t = Lt, a = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), _ = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), v = Symbol.iterator, w = "@@iterator";
45
- function S(e) {
44
+ var t = Lt, r = Symbol.for("react.element"), a = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), _ = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), C = Symbol.iterator, S = "@@iterator";
45
+ function M(e) {
46
46
  if (e === null || typeof e != "object")
47
47
  return null;
48
- var l = v && e[v] || e[w];
48
+ var l = C && e[C] || e[S];
49
49
  return typeof l == "function" ? l : null;
50
50
  }
51
- var C = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
52
- function x(e) {
51
+ var x = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
52
+ function m(e) {
53
53
  {
54
- for (var l = arguments.length, u = new Array(l > 1 ? l - 1 : 0), m = 1; m < l; m++)
55
- u[m - 1] = arguments[m];
54
+ for (var l = arguments.length, u = new Array(l > 1 ? l - 1 : 0), v = 1; v < l; v++)
55
+ u[v - 1] = arguments[v];
56
56
  $("error", e, u);
57
57
  }
58
58
  }
59
59
  function $(e, l, u) {
60
60
  {
61
- var m = C.ReactDebugCurrentFrame, I = m.getStackAddendum();
61
+ var v = x.ReactDebugCurrentFrame, I = v.getStackAddendum();
62
62
  I !== "" && (l += "%s", u = u.concat([I]));
63
- var k = u.map(function(L) {
64
- return String(L);
63
+ var R = u.map(function(E) {
64
+ return String(E);
65
65
  });
66
- k.unshift("Warning: " + l), Function.prototype.apply.call(console[e], console, k);
66
+ R.unshift("Warning: " + l), Function.prototype.apply.call(console[e], console, R);
67
67
  }
68
68
  }
69
- var T = !1, A = !1, O = !1, R = !1, B = !1, N;
70
- N = Symbol.for("react.module.reference");
71
- function F(e) {
72
- return !!(typeof e == "string" || typeof e == "function" || e === n || e === s || B || e === o || e === f || e === p || R || e === b || T || A || O || typeof e == "object" && e !== null && (e.$$typeof === h || e.$$typeof === g || e.$$typeof === c || e.$$typeof === _ || e.$$typeof === d || // This needs to include all possible module reference object
69
+ var k = !1, A = !1, T = !1, N = !1, D = !1, U;
70
+ U = Symbol.for("react.module.reference");
71
+ function W(e) {
72
+ return !!(typeof e == "string" || typeof e == "function" || e === n || e === s || D || e === i || e === f || e === p || N || e === h || k || A || T || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === g || e.$$typeof === c || e.$$typeof === _ || e.$$typeof === d || // This needs to include all possible module reference object
73
73
  // types supported by any Flight configuration anywhere since
74
74
  // we don't know which Flight build this will end up being used
75
75
  // with.
76
- e.$$typeof === N || e.getModuleId !== void 0));
76
+ e.$$typeof === U || e.getModuleId !== void 0));
77
77
  }
78
- function y(e, l, u) {
79
- var m = e.displayName;
80
- if (m)
81
- return m;
78
+ function F(e, l, u) {
79
+ var v = e.displayName;
80
+ if (v)
81
+ return v;
82
82
  var I = l.displayName || l.name || "";
83
83
  return I !== "" ? u + "(" + I + ")" : u;
84
84
  }
85
- function z(e) {
85
+ function O(e) {
86
86
  return e.displayName || "Context";
87
87
  }
88
- function D(e) {
88
+ function y(e) {
89
89
  if (e == null)
90
90
  return null;
91
- if (typeof e.tag == "number" && x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
91
+ if (typeof e.tag == "number" && m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
92
92
  return e.displayName || e.name || null;
93
93
  if (typeof e == "string")
94
94
  return e;
95
95
  switch (e) {
96
96
  case n:
97
97
  return "Fragment";
98
- case r:
98
+ case a:
99
99
  return "Portal";
100
100
  case s:
101
101
  return "Profiler";
102
- case o:
102
+ case i:
103
103
  return "StrictMode";
104
104
  case f:
105
105
  return "Suspense";
@@ -110,19 +110,19 @@ function ca() {
110
110
  switch (e.$$typeof) {
111
111
  case _:
112
112
  var l = e;
113
- return z(l) + ".Consumer";
113
+ return O(l) + ".Consumer";
114
114
  case c:
115
115
  var u = e;
116
- return z(u._context) + ".Provider";
116
+ return O(u._context) + ".Provider";
117
117
  case d:
118
- return y(e, e.render, "ForwardRef");
118
+ return F(e, e.render, "ForwardRef");
119
119
  case g:
120
- var m = e.displayName || null;
121
- return m !== null ? m : D(e.type) || "Memo";
122
- case h: {
123
- var I = e, k = I._payload, L = I._init;
120
+ var v = e.displayName || null;
121
+ return v !== null ? v : y(e.type) || "Memo";
122
+ case b: {
123
+ var I = e, R = I._payload, E = I._init;
124
124
  try {
125
- return D(L(k));
125
+ return y(E(R));
126
126
  } catch {
127
127
  return null;
128
128
  }
@@ -130,18 +130,18 @@ function ca() {
130
130
  }
131
131
  return null;
132
132
  }
133
- var j = Object.assign, V = 0, H, X, G, ee, te, ae, me;
134
- function re() {
133
+ var j = Object.assign, V = 0, te, q, X, ae, Y, re, ne;
134
+ function ue() {
135
135
  }
136
- re.__reactDisabledLog = !0;
137
- function ve() {
136
+ ue.__reactDisabledLog = !0;
137
+ function xe() {
138
138
  {
139
139
  if (V === 0) {
140
- H = console.log, X = console.info, G = console.warn, ee = console.error, te = console.group, ae = console.groupCollapsed, me = console.groupEnd;
140
+ te = console.log, q = console.info, X = console.warn, ae = console.error, Y = console.group, re = console.groupCollapsed, ne = console.groupEnd;
141
141
  var e = {
142
142
  configurable: !0,
143
143
  enumerable: !0,
144
- value: re,
144
+ value: ue,
145
145
  writable: !0
146
146
  };
147
147
  Object.defineProperties(console, {
@@ -157,7 +157,7 @@ function ca() {
157
157
  V++;
158
158
  }
159
159
  }
160
- function Ee() {
160
+ function le() {
161
161
  {
162
162
  if (V--, V === 0) {
163
163
  var e = {
@@ -167,186 +167,186 @@ function ca() {
167
167
  };
168
168
  Object.defineProperties(console, {
169
169
  log: j({}, e, {
170
- value: H
170
+ value: te
171
171
  }),
172
172
  info: j({}, e, {
173
- value: X
173
+ value: q
174
174
  }),
175
175
  warn: j({}, e, {
176
- value: G
176
+ value: X
177
177
  }),
178
178
  error: j({}, e, {
179
- value: ee
179
+ value: ae
180
180
  }),
181
181
  group: j({}, e, {
182
- value: te
182
+ value: Y
183
183
  }),
184
184
  groupCollapsed: j({}, e, {
185
- value: ae
185
+ value: re
186
186
  }),
187
187
  groupEnd: j({}, e, {
188
- value: me
188
+ value: ne
189
189
  })
190
190
  });
191
191
  }
192
- V < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
192
+ V < 0 && m("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
193
193
  }
194
194
  }
195
- var Le = C.ReactCurrentDispatcher, ue;
196
- function le(e, l, u) {
195
+ var ye = x.ReactCurrentDispatcher, _e;
196
+ function ce(e, l, u) {
197
197
  {
198
- if (ue === void 0)
198
+ if (_e === void 0)
199
199
  try {
200
200
  throw Error();
201
201
  } catch (I) {
202
- var m = I.stack.trim().match(/\n( *(at )?)/);
203
- ue = m && m[1] || "";
202
+ var v = I.stack.trim().match(/\n( *(at )?)/);
203
+ _e = v && v[1] || "";
204
204
  }
205
205
  return `
206
- ` + ue + e;
206
+ ` + _e + e;
207
207
  }
208
208
  }
209
- var _e = !1, ce;
209
+ var ve = !1, pe;
210
210
  {
211
- var xe = typeof WeakMap == "function" ? WeakMap : Map;
212
- ce = new xe();
211
+ var Ce = typeof WeakMap == "function" ? WeakMap : Map;
212
+ pe = new Ce();
213
213
  }
214
- function Y(e, l) {
215
- if (!e || _e)
214
+ function Ne(e, l) {
215
+ if (!e || ve)
216
216
  return "";
217
217
  {
218
- var u = ce.get(e);
218
+ var u = pe.get(e);
219
219
  if (u !== void 0)
220
220
  return u;
221
221
  }
222
- var m;
223
- _e = !0;
222
+ var v;
223
+ ve = !0;
224
224
  var I = Error.prepareStackTrace;
225
225
  Error.prepareStackTrace = void 0;
226
- var k;
227
- k = Le.current, Le.current = null, ve();
226
+ var R;
227
+ R = ye.current, ye.current = null, xe();
228
228
  try {
229
229
  if (l) {
230
- var L = function() {
230
+ var E = function() {
231
231
  throw Error();
232
232
  };
233
- if (Object.defineProperty(L.prototype, "props", {
233
+ if (Object.defineProperty(E.prototype, "props", {
234
234
  set: function() {
235
235
  throw Error();
236
236
  }
237
237
  }), typeof Reflect == "object" && Reflect.construct) {
238
238
  try {
239
- Reflect.construct(L, []);
240
- } catch (J) {
241
- m = J;
239
+ Reflect.construct(E, []);
240
+ } catch (Q) {
241
+ v = Q;
242
242
  }
243
- Reflect.construct(e, [], L);
243
+ Reflect.construct(e, [], E);
244
244
  } else {
245
245
  try {
246
- L.call();
247
- } catch (J) {
248
- m = J;
246
+ E.call();
247
+ } catch (Q) {
248
+ v = Q;
249
249
  }
250
- e.call(L.prototype);
250
+ e.call(E.prototype);
251
251
  }
252
252
  } else {
253
253
  try {
254
254
  throw Error();
255
- } catch (J) {
256
- m = J;
255
+ } catch (Q) {
256
+ v = Q;
257
257
  }
258
258
  e();
259
259
  }
260
- } catch (J) {
261
- if (J && m && typeof J.stack == "string") {
262
- for (var E = J.stack.split(`
263
- `), Z = m.stack.split(`
264
- `), U = E.length - 1, W = Z.length - 1; U >= 1 && W >= 0 && E[U] !== Z[W]; )
265
- W--;
266
- for (; U >= 1 && W >= 0; U--, W--)
267
- if (E[U] !== Z[W]) {
268
- if (U !== 1 || W !== 1)
260
+ } catch (Q) {
261
+ if (Q && v && typeof Q.stack == "string") {
262
+ for (var w = Q.stack.split(`
263
+ `), J = v.stack.split(`
264
+ `), P = w.length - 1, z = J.length - 1; P >= 1 && z >= 0 && w[P] !== J[z]; )
265
+ z--;
266
+ for (; P >= 1 && z >= 0; P--, z--)
267
+ if (w[P] !== J[z]) {
268
+ if (P !== 1 || z !== 1)
269
269
  do
270
- if (U--, W--, W < 0 || E[U] !== Z[W]) {
271
- var ne = `
272
- ` + E[U].replace(" at new ", " at ");
273
- return e.displayName && ne.includes("<anonymous>") && (ne = ne.replace("<anonymous>", e.displayName)), typeof e == "function" && ce.set(e, ne), ne;
270
+ if (P--, z--, z < 0 || w[P] !== J[z]) {
271
+ var se = `
272
+ ` + w[P].replace(" at new ", " at ");
273
+ return e.displayName && se.includes("<anonymous>") && (se = se.replace("<anonymous>", e.displayName)), typeof e == "function" && pe.set(e, se), se;
274
274
  }
275
- while (U >= 1 && W >= 0);
275
+ while (P >= 1 && z >= 0);
276
276
  break;
277
277
  }
278
278
  }
279
279
  } finally {
280
- _e = !1, Le.current = k, Ee(), Error.prepareStackTrace = I;
280
+ ve = !1, ye.current = R, le(), Error.prepareStackTrace = I;
281
281
  }
282
- var $e = e ? e.displayName || e.name : "", Ce = $e ? le($e) : "";
283
- return typeof e == "function" && ce.set(e, Ce), Ce;
282
+ var Me = e ? e.displayName || e.name : "", we = Me ? ce(Me) : "";
283
+ return typeof e == "function" && pe.set(e, we), we;
284
284
  }
285
- function Q(e, l, u) {
286
- return Y(e, !1);
285
+ function ze(e, l, u) {
286
+ return Ne(e, !1);
287
287
  }
288
- function de(e) {
288
+ function Ve(e) {
289
289
  var l = e.prototype;
290
290
  return !!(l && l.isReactComponent);
291
291
  }
292
- function Oe(e, l, u) {
292
+ function H(e, l, u) {
293
293
  if (e == null)
294
294
  return "";
295
295
  if (typeof e == "function")
296
- return Y(e, de(e));
296
+ return Ne(e, Ve(e));
297
297
  if (typeof e == "string")
298
- return le(e);
298
+ return ce(e);
299
299
  switch (e) {
300
300
  case f:
301
- return le("Suspense");
301
+ return ce("Suspense");
302
302
  case p:
303
- return le("SuspenseList");
303
+ return ce("SuspenseList");
304
304
  }
305
305
  if (typeof e == "object")
306
306
  switch (e.$$typeof) {
307
307
  case d:
308
- return Q(e.render);
308
+ return ze(e.render);
309
309
  case g:
310
- return Oe(e.type, l, u);
311
- case h: {
312
- var m = e, I = m._payload, k = m._init;
310
+ return H(e.type, l, u);
311
+ case b: {
312
+ var v = e, I = v._payload, R = v._init;
313
313
  try {
314
- return Oe(k(I), l, u);
314
+ return H(R(I), l, u);
315
315
  } catch {
316
316
  }
317
317
  }
318
318
  }
319
319
  return "";
320
320
  }
321
- var ke = Object.prototype.hasOwnProperty, et = {}, tt = C.ReactDebugCurrentFrame;
322
- function Ue(e) {
321
+ var G = Object.prototype.hasOwnProperty, de = {}, et = x.ReactDebugCurrentFrame;
322
+ function De(e) {
323
323
  if (e) {
324
- var l = e._owner, u = Oe(e.type, e._source, l ? l.type : null);
325
- tt.setExtraStackFrame(u);
324
+ var l = e._owner, u = H(e.type, e._source, l ? l.type : null);
325
+ et.setExtraStackFrame(u);
326
326
  } else
327
- tt.setExtraStackFrame(null);
327
+ et.setExtraStackFrame(null);
328
328
  }
329
- function Nt(e, l, u, m, I) {
329
+ function Nt(e, l, u, v, I) {
330
330
  {
331
- var k = Function.call.bind(ke);
332
- for (var L in e)
333
- if (k(e, L)) {
334
- var E = void 0;
331
+ var R = Function.call.bind(G);
332
+ for (var E in e)
333
+ if (R(e, E)) {
334
+ var w = void 0;
335
335
  try {
336
- if (typeof e[L] != "function") {
337
- var Z = Error((m || "React class") + ": " + u + " type `" + L + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[L] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
338
- throw Z.name = "Invariant Violation", Z;
336
+ if (typeof e[E] != "function") {
337
+ var J = Error((v || "React class") + ": " + u + " type `" + E + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[E] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
338
+ throw J.name = "Invariant Violation", J;
339
339
  }
340
- E = e[L](l, L, m, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
341
- } catch (U) {
342
- E = U;
340
+ w = e[E](l, E, v, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
341
+ } catch (P) {
342
+ w = P;
343
343
  }
344
- E && !(E instanceof Error) && (Ue(I), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", m || "React class", u, L, typeof E), Ue(null)), E instanceof Error && !(E.message in et) && (et[E.message] = !0, Ue(I), x("Failed %s type: %s", u, E.message), Ue(null));
344
+ w && !(w instanceof Error) && (De(I), m("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", v || "React class", u, E, typeof w), De(null)), w instanceof Error && !(w.message in de) && (de[w.message] = !0, De(I), m("Failed %s type: %s", u, w.message), De(null));
345
345
  }
346
346
  }
347
347
  }
348
348
  var Dt = Array.isArray;
349
- function Ve(e) {
349
+ function We(e) {
350
350
  return Dt(e);
351
351
  }
352
352
  function Ot(e) {
@@ -357,26 +357,26 @@ function ca() {
357
357
  }
358
358
  function Ut(e) {
359
359
  try {
360
- return at(e), !1;
360
+ return tt(e), !1;
361
361
  } catch {
362
362
  return !0;
363
363
  }
364
364
  }
365
- function at(e) {
365
+ function tt(e) {
366
366
  return "" + e;
367
367
  }
368
- function rt(e) {
368
+ function at(e) {
369
369
  if (Ut(e))
370
- return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ot(e)), at(e);
370
+ return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ot(e)), tt(e);
371
371
  }
372
- var nt = C.ReactCurrentOwner, Pt = {
372
+ var rt = x.ReactCurrentOwner, Pt = {
373
373
  key: !0,
374
374
  ref: !0,
375
375
  __self: !0,
376
376
  __source: !0
377
- }, st, ot;
377
+ }, nt, st;
378
378
  function Bt(e) {
379
- if (ke.call(e, "ref")) {
379
+ if (G.call(e, "ref")) {
380
380
  var l = Object.getOwnPropertyDescriptor(e, "ref").get;
381
381
  if (l && l.isReactWarning)
382
382
  return !1;
@@ -384,7 +384,7 @@ function ca() {
384
384
  return e.ref !== void 0;
385
385
  }
386
386
  function Ft(e) {
387
- if (ke.call(e, "key")) {
387
+ if (G.call(e, "key")) {
388
388
  var l = Object.getOwnPropertyDescriptor(e, "key").get;
389
389
  if (l && l.isReactWarning)
390
390
  return !1;
@@ -392,12 +392,12 @@ function ca() {
392
392
  return e.key !== void 0;
393
393
  }
394
394
  function zt(e, l) {
395
- typeof e.ref == "string" && nt.current;
395
+ typeof e.ref == "string" && rt.current;
396
396
  }
397
- function Wt(e, l) {
397
+ function Vt(e, l) {
398
398
  {
399
399
  var u = function() {
400
- st || (st = !0, x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
400
+ nt || (nt = !0, m("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
401
401
  };
402
402
  u.isReactWarning = !0, Object.defineProperty(e, "key", {
403
403
  get: u,
@@ -405,10 +405,10 @@ function ca() {
405
405
  });
406
406
  }
407
407
  }
408
- function Vt(e, l) {
408
+ function Wt(e, l) {
409
409
  {
410
410
  var u = function() {
411
- ot || (ot = !0, x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
411
+ st || (st = !0, m("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
412
412
  };
413
413
  u.isReactWarning = !0, Object.defineProperty(e, "ref", {
414
414
  get: u,
@@ -416,70 +416,70 @@ function ca() {
416
416
  });
417
417
  }
418
418
  }
419
- var Ht = function(e, l, u, m, I, k, L) {
420
- var E = {
419
+ var Ht = function(e, l, u, v, I, R, E) {
420
+ var w = {
421
421
  // This tag allows us to uniquely identify this as a React Element
422
- $$typeof: a,
422
+ $$typeof: r,
423
423
  // Built-in properties that belong on the element
424
424
  type: e,
425
425
  key: l,
426
426
  ref: u,
427
- props: L,
427
+ props: E,
428
428
  // Record the component responsible for creating this element.
429
- _owner: k
429
+ _owner: R
430
430
  };
431
- return E._store = {}, Object.defineProperty(E._store, "validated", {
431
+ return w._store = {}, Object.defineProperty(w._store, "validated", {
432
432
  configurable: !1,
433
433
  enumerable: !1,
434
434
  writable: !0,
435
435
  value: !1
436
- }), Object.defineProperty(E, "_self", {
436
+ }), Object.defineProperty(w, "_self", {
437
437
  configurable: !1,
438
438
  enumerable: !1,
439
439
  writable: !1,
440
- value: m
441
- }), Object.defineProperty(E, "_source", {
440
+ value: v
441
+ }), Object.defineProperty(w, "_source", {
442
442
  configurable: !1,
443
443
  enumerable: !1,
444
444
  writable: !1,
445
445
  value: I
446
- }), Object.freeze && (Object.freeze(E.props), Object.freeze(E)), E;
446
+ }), Object.freeze && (Object.freeze(w.props), Object.freeze(w)), w;
447
447
  };
448
- function Gt(e, l, u, m, I) {
448
+ function Gt(e, l, u, v, I) {
449
449
  {
450
- var k, L = {}, E = null, Z = null;
451
- u !== void 0 && (rt(u), E = "" + u), Ft(l) && (rt(l.key), E = "" + l.key), Bt(l) && (Z = l.ref, zt(l, I));
452
- for (k in l)
453
- ke.call(l, k) && !Pt.hasOwnProperty(k) && (L[k] = l[k]);
450
+ var R, E = {}, w = null, J = null;
451
+ u !== void 0 && (at(u), w = "" + u), Ft(l) && (at(l.key), w = "" + l.key), Bt(l) && (J = l.ref, zt(l, I));
452
+ for (R in l)
453
+ G.call(l, R) && !Pt.hasOwnProperty(R) && (E[R] = l[R]);
454
454
  if (e && e.defaultProps) {
455
- var U = e.defaultProps;
456
- for (k in U)
457
- L[k] === void 0 && (L[k] = U[k]);
455
+ var P = e.defaultProps;
456
+ for (R in P)
457
+ E[R] === void 0 && (E[R] = P[R]);
458
458
  }
459
- if (E || Z) {
460
- var W = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
461
- E && Wt(L, W), Z && Vt(L, W);
459
+ if (w || J) {
460
+ var z = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
461
+ w && Vt(E, z), J && Wt(E, z);
462
462
  }
463
- return Ht(e, E, Z, I, m, nt.current, L);
463
+ return Ht(e, w, J, I, v, rt.current, E);
464
464
  }
465
465
  }
466
- var He = C.ReactCurrentOwner, it = C.ReactDebugCurrentFrame;
467
- function Me(e) {
466
+ var He = x.ReactCurrentOwner, ot = x.ReactDebugCurrentFrame;
467
+ function Le(e) {
468
468
  if (e) {
469
- var l = e._owner, u = Oe(e.type, e._source, l ? l.type : null);
470
- it.setExtraStackFrame(u);
469
+ var l = e._owner, u = H(e.type, e._source, l ? l.type : null);
470
+ ot.setExtraStackFrame(u);
471
471
  } else
472
- it.setExtraStackFrame(null);
472
+ ot.setExtraStackFrame(null);
473
473
  }
474
474
  var Ge;
475
475
  Ge = !1;
476
476
  function Ze(e) {
477
- return typeof e == "object" && e !== null && e.$$typeof === a;
477
+ return typeof e == "object" && e !== null && e.$$typeof === r;
478
478
  }
479
- function lt() {
479
+ function it() {
480
480
  {
481
481
  if (He.current) {
482
- var e = D(He.current.type);
482
+ var e = y(He.current.type);
483
483
  if (e)
484
484
  return `
485
485
 
@@ -491,10 +491,10 @@ Check the render method of \`` + e + "`.";
491
491
  function Zt(e) {
492
492
  return "";
493
493
  }
494
- var ct = {};
494
+ var lt = {};
495
495
  function qt(e) {
496
496
  {
497
- var l = lt();
497
+ var l = it();
498
498
  if (!l) {
499
499
  var u = typeof e == "string" ? e : e.displayName || e.name;
500
500
  u && (l = `
@@ -504,35 +504,35 @@ Check the top-level render call using <` + u + ">.");
504
504
  return l;
505
505
  }
506
506
  }
507
- function dt(e, l) {
507
+ function ct(e, l) {
508
508
  {
509
509
  if (!e._store || e._store.validated || e.key != null)
510
510
  return;
511
511
  e._store.validated = !0;
512
512
  var u = qt(l);
513
- if (ct[u])
513
+ if (lt[u])
514
514
  return;
515
- ct[u] = !0;
516
- var m = "";
517
- e && e._owner && e._owner !== He.current && (m = " It was passed a child from " + D(e._owner.type) + "."), Me(e), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, m), Me(null);
515
+ lt[u] = !0;
516
+ var v = "";
517
+ e && e._owner && e._owner !== He.current && (v = " It was passed a child from " + y(e._owner.type) + "."), Le(e), m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, v), Le(null);
518
518
  }
519
519
  }
520
- function ut(e, l) {
520
+ function dt(e, l) {
521
521
  {
522
522
  if (typeof e != "object")
523
523
  return;
524
- if (Ve(e))
524
+ if (We(e))
525
525
  for (var u = 0; u < e.length; u++) {
526
- var m = e[u];
527
- Ze(m) && dt(m, l);
526
+ var v = e[u];
527
+ Ze(v) && ct(v, l);
528
528
  }
529
529
  else if (Ze(e))
530
530
  e._store && (e._store.validated = !0);
531
531
  else if (e) {
532
- var I = S(e);
532
+ var I = M(e);
533
533
  if (typeof I == "function" && I !== e.entries)
534
- for (var k = I.call(e), L; !(L = k.next()).done; )
535
- Ze(L.value) && dt(L.value, l);
534
+ for (var R = I.call(e), E; !(E = R.next()).done; )
535
+ Ze(E.value) && ct(E.value, l);
536
536
  }
537
537
  }
538
538
  }
@@ -551,89 +551,89 @@ Check the top-level render call using <` + u + ">.");
551
551
  else
552
552
  return;
553
553
  if (u) {
554
- var m = D(l);
555
- Nt(u, e.props, "prop", m, e);
554
+ var v = y(l);
555
+ Nt(u, e.props, "prop", v, e);
556
556
  } else if (l.PropTypes !== void 0 && !Ge) {
557
557
  Ge = !0;
558
- var I = D(l);
559
- x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", I || "Unknown");
558
+ var I = y(l);
559
+ m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", I || "Unknown");
560
560
  }
561
- typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
561
+ typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
562
562
  }
563
563
  }
564
564
  function Jt(e) {
565
565
  {
566
566
  for (var l = Object.keys(e.props), u = 0; u < l.length; u++) {
567
- var m = l[u];
568
- if (m !== "children" && m !== "key") {
569
- Me(e), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", m), Me(null);
567
+ var v = l[u];
568
+ if (v !== "children" && v !== "key") {
569
+ Le(e), m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), Le(null);
570
570
  break;
571
571
  }
572
572
  }
573
- e.ref !== null && (Me(e), x("Invalid attribute `ref` supplied to `React.Fragment`."), Me(null));
573
+ e.ref !== null && (Le(e), m("Invalid attribute `ref` supplied to `React.Fragment`."), Le(null));
574
574
  }
575
575
  }
576
- var _t = {};
577
- function pt(e, l, u, m, I, k) {
576
+ var ut = {};
577
+ function _t(e, l, u, v, I, R) {
578
578
  {
579
- var L = F(e);
580
- if (!L) {
581
- var E = "";
582
- (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (E += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
583
- var Z = Zt();
584
- Z ? E += Z : E += lt();
585
- var U;
586
- e === null ? U = "null" : Ve(e) ? U = "array" : e !== void 0 && e.$$typeof === a ? (U = "<" + (D(e.type) || "Unknown") + " />", E = " Did you accidentally export a JSX literal instead of a component?") : U = typeof e, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", U, E);
579
+ var E = W(e);
580
+ if (!E) {
581
+ var w = "";
582
+ (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (w += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
583
+ var J = Zt();
584
+ J ? w += J : w += it();
585
+ var P;
586
+ e === null ? P = "null" : We(e) ? P = "array" : e !== void 0 && e.$$typeof === r ? (P = "<" + (y(e.type) || "Unknown") + " />", w = " Did you accidentally export a JSX literal instead of a component?") : P = typeof e, m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", P, w);
587
587
  }
588
- var W = Gt(e, l, u, I, k);
589
- if (W == null)
590
- return W;
591
- if (L) {
592
- var ne = l.children;
593
- if (ne !== void 0)
594
- if (m)
595
- if (Ve(ne)) {
596
- for (var $e = 0; $e < ne.length; $e++)
597
- ut(ne[$e], e);
598
- Object.freeze && Object.freeze(ne);
588
+ var z = Gt(e, l, u, I, R);
589
+ if (z == null)
590
+ return z;
591
+ if (E) {
592
+ var se = l.children;
593
+ if (se !== void 0)
594
+ if (v)
595
+ if (We(se)) {
596
+ for (var Me = 0; Me < se.length; Me++)
597
+ dt(se[Me], e);
598
+ Object.freeze && Object.freeze(se);
599
599
  } else
600
- x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
600
+ m("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
601
601
  else
602
- ut(ne, e);
602
+ dt(se, e);
603
603
  }
604
- if (ke.call(l, "key")) {
605
- var Ce = D(e), J = Object.keys(l).filter(function(aa) {
604
+ if (G.call(l, "key")) {
605
+ var we = y(e), Q = Object.keys(l).filter(function(aa) {
606
606
  return aa !== "key";
607
- }), qe = J.length > 0 ? "{key: someKey, " + J.join(": ..., ") + ": ...}" : "{key: someKey}";
608
- if (!_t[Ce + qe]) {
609
- var ta = J.length > 0 ? "{" + J.join(": ..., ") + ": ...}" : "{}";
610
- x(`A props object containing a "key" prop is being spread into JSX:
607
+ }), qe = Q.length > 0 ? "{key: someKey, " + Q.join(": ..., ") + ": ...}" : "{key: someKey}";
608
+ if (!ut[we + qe]) {
609
+ var ta = Q.length > 0 ? "{" + Q.join(": ..., ") + ": ...}" : "{}";
610
+ m(`A props object containing a "key" prop is being spread into JSX:
611
611
  let props = %s;
612
612
  <%s {...props} />
613
613
  React keys must be passed directly to JSX without using spread:
614
614
  let props = %s;
615
- <%s key={someKey} {...props} />`, qe, Ce, ta, Ce), _t[Ce + qe] = !0;
615
+ <%s key={someKey} {...props} />`, qe, we, ta, we), ut[we + qe] = !0;
616
616
  }
617
617
  }
618
- return e === n ? Jt(W) : Yt(W), W;
618
+ return e === n ? Jt(z) : Yt(z), z;
619
619
  }
620
620
  }
621
621
  function Kt(e, l, u) {
622
- return pt(e, l, u, !0);
622
+ return _t(e, l, u, !0);
623
623
  }
624
624
  function Xt(e, l, u) {
625
- return pt(e, l, u, !1);
625
+ return _t(e, l, u, !1);
626
626
  }
627
627
  var Qt = Xt, ea = Kt;
628
- Ae.Fragment = n, Ae.jsx = Qt, Ae.jsxs = ea;
629
- }()), Ae;
628
+ ke.Fragment = n, ke.jsx = Qt, ke.jsxs = ea;
629
+ }()), ke;
630
630
  }
631
631
  var ht;
632
632
  function da() {
633
- return ht || (ht = 1, process.env.NODE_ENV === "production" ? Pe.exports = la() : Pe.exports = ca()), Pe.exports;
633
+ return ht || (ht = 1, process.env.NODE_ENV === "production" ? Oe.exports = la() : Oe.exports = ca()), Oe.exports;
634
634
  }
635
- var i = da();
636
- const ua = (t) => t.as === "a", _a = (t) => t.as === void 0 || t.as === "button", pa = "_button_1abee_213", fa = "_disabled_1abee_237", ga = "_loading_1abee_237", ha = "_neutral_1abee_259", ba = "_accent_1abee_263", ma = "_positive_1abee_267", ya = "_negative_1abee_271", va = "_contrast_1abee_275", xa = "_special_1abee_279", Ca = "_primary_1abee_284", wa = "_secondary_1abee_285", Sa = "_tertiary_1abee_286", Ea = "_label_1abee_321", La = "_rightGroup_1abee_333", Ma = "_iconOnly_1abee_349", $a = "_large_1abee_357", Ia = "_medium_1abee_361", ja = "_small_1abee_365", Ra = "_spaceBetween_1abee_370", ka = "_stretched_1abee_384", Ta = "_icon_1abee_349", Aa = "_badge_1abee_705", Na = "_badgeMedium_1abee_721", Da = "_circular_1abee_738", Oa = "_badgeSmall_1abee_743", Ua = "_badgeExtraSmall_1abee_765", Pa = "_withSubcaption_1abee_784", Ba = "_subcaption_1abee_797", Fa = "_loader_1abee_804", za = "_spin_1abee_1", Wa = "_l_1abee_237", Va = "_m_1abee_361", Ha = "_s_1abee_279", Ga = "_xs_1abee_869", P = {
635
+ var o = da();
636
+ const ua = (t) => t.as === "a", _a = (t) => t.as === void 0 || t.as === "button", pa = "_button_1abee_213", fa = "_disabled_1abee_237", ga = "_loading_1abee_237", ha = "_neutral_1abee_259", ba = "_accent_1abee_263", ma = "_positive_1abee_267", ya = "_negative_1abee_271", va = "_contrast_1abee_275", xa = "_special_1abee_279", Ca = "_primary_1abee_284", wa = "_secondary_1abee_285", Sa = "_tertiary_1abee_286", Ea = "_label_1abee_321", La = "_rightGroup_1abee_333", Ma = "_iconOnly_1abee_349", $a = "_large_1abee_357", Ia = "_medium_1abee_361", ja = "_small_1abee_365", Ra = "_spaceBetween_1abee_370", ka = "_stretched_1abee_384", Ta = "_icon_1abee_349", Aa = "_badge_1abee_705", Na = "_badgeMedium_1abee_721", Da = "_circular_1abee_738", Oa = "_badgeSmall_1abee_743", Ua = "_badgeExtraSmall_1abee_765", Pa = "_withSubcaption_1abee_784", Ba = "_subcaption_1abee_797", Fa = "_loader_1abee_804", za = "_spin_1abee_1", Va = "_l_1abee_237", Wa = "_m_1abee_361", Ha = "_s_1abee_279", Ga = "_xs_1abee_869", B = {
637
637
  button: pa,
638
638
  disabled: fa,
639
639
  loading: ga,
@@ -664,16 +664,16 @@ const ua = (t) => t.as === "a", _a = (t) => t.as === void 0 || t.as === "button"
664
664
  subcaption: Ba,
665
665
  loader: Fa,
666
666
  spin: za,
667
- l: Wa,
668
- m: Va,
667
+ l: Va,
668
+ m: Wa,
669
669
  s: Ha,
670
670
  xs: Ga
671
671
  }, bt = ({
672
672
  isLoading: t,
673
- showBadge: a,
674
- badgeValue: r,
673
+ showBadge: r,
674
+ badgeValue: a,
675
675
  badgeSize: n,
676
- icon: o,
676
+ icon: i,
677
677
  children: s,
678
678
  postfix: c,
679
679
  showSubcaption: _,
@@ -681,37 +681,37 @@ const ua = (t) => t.as === "a", _a = (t) => t.as === void 0 || t.as === "button"
681
681
  size: f
682
682
  }) => {
683
683
  if (t)
684
- return /* @__PURE__ */ i.jsx("span", { className: P.loader, "data-testid": "button-loader", "aria-hidden": "true" });
685
- const p = n === "extra-small", g = parseInt(String(r), 10), h = !isNaN(g) && g >= 0 && g <= 9;
686
- return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
687
- a && (r || p) && /* @__PURE__ */ i.jsx(
684
+ return /* @__PURE__ */ o.jsx("span", { className: B.loader, "data-testid": "button-loader", "aria-hidden": "true" });
685
+ const p = n === "extra-small", g = parseInt(String(a), 10), b = !isNaN(g) && g >= 0 && g <= 9;
686
+ return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
687
+ r && (a || p) && /* @__PURE__ */ o.jsx(
688
688
  "span",
689
689
  {
690
690
  "data-testid": "button-badge",
691
- className: ie(
692
- P.badge,
693
- P[`badge${p ? "ExtraSmall" : n === "medium" ? "Medium" : "Small"}`],
694
- { [P.circular]: h && !p }
691
+ className: Z(
692
+ B.badge,
693
+ B[`badge${p ? "ExtraSmall" : n === "medium" ? "Medium" : "Small"}`],
694
+ { [B.circular]: b && !p }
695
695
  ),
696
- children: !p && r
696
+ children: !p && a
697
697
  }
698
698
  ),
699
- _ && f !== "s" && f !== "xs" ? /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
700
- /* @__PURE__ */ i.jsx("span", { "data-testid": "button-label", className: P.label, children: s }),
701
- /* @__PURE__ */ i.jsx("span", { "data-testid": "button-subcaption", className: P.subcaption, children: d })
702
- ] }) : s ? /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
703
- /* @__PURE__ */ i.jsx("span", { "data-testid": "button-label", className: P.label, children: s }),
704
- /* @__PURE__ */ i.jsxs("div", { "data-testid": "button-right-group", className: P.rightGroup, children: [
705
- o && /* @__PURE__ */ i.jsx("span", { "data-testid": "button-icon", className: P.icon, children: o }),
706
- c && /* @__PURE__ */ i.jsx("span", { "data-testid": "button-postfix", className: P.postfix, children: c })
699
+ _ && f !== "s" && f !== "xs" ? /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
700
+ /* @__PURE__ */ o.jsx("span", { "data-testid": "button-label", className: B.label, children: s }),
701
+ /* @__PURE__ */ o.jsx("span", { "data-testid": "button-subcaption", className: B.subcaption, children: d })
702
+ ] }) : s ? /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
703
+ /* @__PURE__ */ o.jsx("span", { "data-testid": "button-label", className: B.label, children: s }),
704
+ /* @__PURE__ */ o.jsxs("div", { "data-testid": "button-right-group", className: B.rightGroup, children: [
705
+ i && /* @__PURE__ */ o.jsx("span", { "data-testid": "button-icon", className: B.icon, children: i }),
706
+ c && /* @__PURE__ */ o.jsx("span", { "data-testid": "button-postfix", className: B.postfix, children: c })
707
707
  ] })
708
- ] }) : /* @__PURE__ */ i.jsx("span", { "data-testid": "button-icon", className: P.icon, children: o })
708
+ ] }) : /* @__PURE__ */ o.jsx("span", { "data-testid": "button-icon", className: B.icon, children: i })
709
709
  ] });
710
- }, Is = K((t, a) => {
710
+ }, Is = ee((t, r) => {
711
711
  const {
712
- mode: r = "primary",
712
+ mode: a = "primary",
713
713
  size: n = "m",
714
- buttonStyle: o = "neutral",
714
+ buttonStyle: i = "neutral",
715
715
  loading: s = !1,
716
716
  disabled: c = !1,
717
717
  showBadge: _ = !1,
@@ -719,122 +719,122 @@ const ua = (t) => t.as === "a", _a = (t) => t.as === void 0 || t.as === "button"
719
719
  badgeValue: f,
720
720
  showSubcaption: p = !1,
721
721
  subcaption: g,
722
- stretched: h = !1,
723
- spaceBetween: b = !1,
724
- icon: v,
725
- postfix: w,
726
- className: S,
727
- children: C
728
- } = t, x = c, $ = s, T = !x && !$, A = !!v && !C, O = ie(
729
- P.button,
730
- P[n],
731
- P[r],
732
- P[o],
722
+ stretched: b = !1,
723
+ spaceBetween: h = !1,
724
+ icon: C,
725
+ postfix: S,
726
+ className: M,
727
+ children: x
728
+ } = t, m = c, $ = s, k = !m && !$, A = !!C && !x, T = Z(
729
+ B.button,
730
+ B[n],
731
+ B[a],
732
+ B[i],
733
733
  {
734
- [P.disabled]: x,
735
- [P.loading]: $,
736
- [P.stretched]: h,
737
- [P.spaceBetween]: b && h,
738
- [P.withSubcaption]: p && g && n !== "s" && n !== "xs",
739
- [P.iconOnly]: A
734
+ [B.disabled]: m,
735
+ [B.loading]: $,
736
+ [B.stretched]: b,
737
+ [B.spaceBetween]: h && b,
738
+ [B.withSubcaption]: p && g && n !== "s" && n !== "xs",
739
+ [B.iconOnly]: A
740
740
  },
741
- S
742
- ), R = {
741
+ M
742
+ ), N = {
743
743
  isLoading: $,
744
744
  showBadge: _,
745
745
  badgeValue: f,
746
746
  badgeSize: d,
747
- icon: v,
748
- children: C,
749
- postfix: w,
747
+ icon: C,
748
+ children: x,
749
+ postfix: S,
750
750
  showSubcaption: p,
751
751
  subcaption: g,
752
752
  size: n
753
753
  };
754
754
  if (ua(t)) {
755
755
  const {
756
- href: B,
757
- onClick: N,
758
- mode: F,
759
- size: y,
760
- buttonStyle: z,
761
- loading: D,
756
+ href: D,
757
+ onClick: U,
758
+ mode: W,
759
+ size: F,
760
+ buttonStyle: O,
761
+ loading: y,
762
762
  disabled: j,
763
763
  showBadge: V,
764
- badgeSize: H,
765
- badgeValue: X,
766
- showSubcaption: G,
767
- subcaption: ee,
768
- stretched: te,
769
- spaceBetween: ae,
770
- icon: me,
771
- postfix: re,
772
- className: ve,
773
- tabIndex: Ee,
774
- children: Le,
775
- "data-testid": ue,
776
- style: le,
777
- ..._e
778
- } = t, ce = (xe) => {
779
- T && N && N(xe);
764
+ badgeSize: te,
765
+ badgeValue: q,
766
+ showSubcaption: X,
767
+ subcaption: ae,
768
+ stretched: Y,
769
+ spaceBetween: re,
770
+ icon: ne,
771
+ postfix: ue,
772
+ className: xe,
773
+ tabIndex: le,
774
+ children: ye,
775
+ "data-testid": _e,
776
+ style: ce,
777
+ ...ve
778
+ } = t, pe = (Ce) => {
779
+ k && U && U(Ce);
780
780
  };
781
- return /* @__PURE__ */ i.jsx(
781
+ return /* @__PURE__ */ o.jsx(
782
782
  "a",
783
783
  {
784
- ref: a,
785
- className: O,
786
- href: T ? B : void 0,
784
+ ref: r,
785
+ className: T,
786
+ href: k ? D : void 0,
787
787
  tabIndex: t.tabIndex,
788
- onClick: ce,
789
- "data-testid": ue,
790
- "aria-disabled": x || $,
791
- style: le,
792
- ..._e,
793
- children: /* @__PURE__ */ i.jsx(bt, { ...R })
788
+ onClick: pe,
789
+ "data-testid": _e,
790
+ "aria-disabled": m || $,
791
+ style: ce,
792
+ ...ve,
793
+ children: /* @__PURE__ */ o.jsx(bt, { ...N })
794
794
  }
795
795
  );
796
796
  }
797
797
  if (_a(t)) {
798
798
  const {
799
- type: B = "button",
800
- onClick: N,
801
- mode: F,
802
- size: y,
803
- buttonStyle: z,
804
- loading: D,
799
+ type: D = "button",
800
+ onClick: U,
801
+ mode: W,
802
+ size: F,
803
+ buttonStyle: O,
804
+ loading: y,
805
805
  disabled: j,
806
806
  showBadge: V,
807
- badgeSize: H,
808
- badgeValue: X,
809
- showSubcaption: G,
810
- subcaption: ee,
811
- stretched: te,
812
- spaceBetween: ae,
813
- icon: me,
814
- postfix: re,
815
- className: ve,
816
- tabIndex: Ee,
817
- children: Le,
818
- "data-testid": ue,
819
- style: le,
820
- ..._e
821
- } = t, ce = (xe) => {
822
- T && N && N(xe);
807
+ badgeSize: te,
808
+ badgeValue: q,
809
+ showSubcaption: X,
810
+ subcaption: ae,
811
+ stretched: Y,
812
+ spaceBetween: re,
813
+ icon: ne,
814
+ postfix: ue,
815
+ className: xe,
816
+ tabIndex: le,
817
+ children: ye,
818
+ "data-testid": _e,
819
+ style: ce,
820
+ ...ve
821
+ } = t, pe = (Ce) => {
822
+ k && U && U(Ce);
823
823
  };
824
- return /* @__PURE__ */ i.jsx(
824
+ return /* @__PURE__ */ o.jsx(
825
825
  "button",
826
826
  {
827
- ref: a,
828
- type: B,
829
- className: O,
830
- disabled: x,
827
+ ref: r,
828
+ type: D,
829
+ className: T,
830
+ disabled: m,
831
831
  tabIndex: t.tabIndex,
832
- onClick: ce,
833
- "data-testid": ue,
834
- "aria-disabled": x || $,
835
- style: le,
836
- ..._e,
837
- children: /* @__PURE__ */ i.jsx(bt, { ...R })
832
+ onClick: pe,
833
+ "data-testid": _e,
834
+ "aria-disabled": m || $,
835
+ style: ce,
836
+ ...ve,
837
+ children: /* @__PURE__ */ o.jsx(bt, { ...N })
838
838
  }
839
839
  );
840
840
  }
@@ -850,11 +850,11 @@ var mt;
850
850
  function Za() {
851
851
  return mt || (mt = 1, function(t) {
852
852
  (function() {
853
- var a = {}.hasOwnProperty;
854
- function r() {
853
+ var r = {}.hasOwnProperty;
854
+ function a() {
855
855
  for (var s = "", c = 0; c < arguments.length; c++) {
856
856
  var _ = arguments[c];
857
- _ && (s = o(s, n(_)));
857
+ _ && (s = i(s, n(_)));
858
858
  }
859
859
  return s;
860
860
  }
@@ -864,23 +864,23 @@ function Za() {
864
864
  if (typeof s != "object")
865
865
  return "";
866
866
  if (Array.isArray(s))
867
- return r.apply(null, s);
867
+ return a.apply(null, s);
868
868
  if (s.toString !== Object.prototype.toString && !s.toString.toString().includes("[native code]"))
869
869
  return s.toString();
870
870
  var c = "";
871
871
  for (var _ in s)
872
- a.call(s, _) && s[_] && (c = o(c, _));
872
+ r.call(s, _) && s[_] && (c = i(c, _));
873
873
  return c;
874
874
  }
875
- function o(s, c) {
875
+ function i(s, c) {
876
876
  return c ? s ? s + " " + c : s + c : s;
877
877
  }
878
- t.exports ? (r.default = r, t.exports = r) : window.classNames = r;
878
+ t.exports ? (a.default = a, t.exports = a) : window.classNames = a;
879
879
  })();
880
880
  }(Ye)), Ye.exports;
881
881
  }
882
882
  var qa = Za();
883
- const he = /* @__PURE__ */ ia(qa), Ya = "_avatar_1ob17_4", Ja = "_clickable_1ob17_23", Ka = "_icon_1ob17_40", Xa = "_disabled_1ob17_45", Qa = "_image_1ob17_51", er = "_name_1ob17_51", tr = "_circle_1ob17_160", ar = "_square_1ob17_164", se = {
883
+ const be = /* @__PURE__ */ ia(qa), Ya = "_avatar_1ob17_4", Ja = "_clickable_1ob17_23", Ka = "_icon_1ob17_40", Xa = "_disabled_1ob17_45", Qa = "_image_1ob17_51", er = "_name_1ob17_51", tr = "_circle_1ob17_160", ar = "_square_1ob17_164", oe = {
884
884
  avatar: Ya,
885
885
  clickable: Ja,
886
886
  icon: Ka,
@@ -915,13 +915,13 @@ function rr(t) {
915
915
  return t < yt ? `+${t}` : `${yt}+`;
916
916
  }
917
917
  function It(t) {
918
- const a = typeof t == "string" ? t : JSON.stringify(t);
919
- let r = 5381;
920
- for (let n = 0; n < a.length; n++) {
921
- const o = a.charCodeAt(n);
922
- r = (r << 5) + r + o;
918
+ const r = typeof t == "string" ? t : JSON.stringify(t);
919
+ let a = 5381;
920
+ for (let n = 0; n < r.length; n++) {
921
+ const i = r.charCodeAt(n);
922
+ a = (a << 5) + a + i;
923
923
  }
924
- return r >>> 0;
924
+ return a >>> 0;
925
925
  }
926
926
  const nr = [
927
927
  "red",
@@ -932,28 +932,28 @@ const nr = [
932
932
  "lightblue",
933
933
  "purple"
934
934
  ];
935
- function sr(t, a = nr) {
936
- const r = It(t), n = Math.abs(r) % a.length;
937
- return a[n];
935
+ function sr(t, r = nr) {
936
+ const a = It(t), n = Math.abs(a) % r.length;
937
+ return r[n];
938
938
  }
939
939
  const vt = 2;
940
940
  function or(t) {
941
- const a = t.split(" ");
942
- return a.length === 1 ? t.slice(0, vt).toUpperCase() : a.map((r) => r[0]).slice(0, vt).join("").toUpperCase();
941
+ const r = t.split(" ");
942
+ return r.length === 1 ? t.slice(0, vt).toUpperCase() : r.map((a) => a[0]).slice(0, vt).join("").toUpperCase();
943
943
  }
944
- function ir(t, a) {
945
- return a === "circle" ? t / 2 : t === 24 || t === 208 ? 8 : t === 32 || t === 40 || t === 48 ? 12 : t === 56 ? 16 : t === 84 || t === 96 ? 24 : 12;
944
+ function ir(t, r) {
945
+ return r === "circle" ? t / 2 : t === 24 || t === 208 ? 8 : t === 32 || t === 40 || t === 48 ? 12 : t === 56 ? 16 : t === 84 || t === 96 ? 24 : 12;
946
946
  }
947
947
  const lr = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMinYMin%20meet'%20viewBox='0%200%20208%20208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cfilter%20id='shadowW'%20filterUnits='userSpaceOnUse'%3e%3cfeDropShadow%20dx='-2'%20dy='-1'%20stdDeviation='5'%20flood-color='rgba(0,0,0,0.5)'/%3e%3c/filter%3e%3c/defs%3e%3cg%20filter='url(%23shadowW)'%3e%3cpath%20d='M23.9835%20174.59L113.41%20157.735L225.224%20191.671C225.224%20191.671%20250.259%20479.463%20243.525%20478.31C236.655%20477.167%20-7.79434%20482.039%20-8.17876%20476.943C-8.56308%20471.849%20-34.4445%20341.701%20-34.4445%20341.701L23.9835%20174.59Z'%20fill='darkgrey'/%3e%3cpath%20d='M-54.5558%20212.781C-85.688%20282.842%20-94.2122%20303.839%20-94.2122%20303.839L-213.504%20213.002C-214.953%20197.465%20-218.637%20181.68%20-225.636%20167.806C-234.412%20150.606%20-246.154%20149.138%20-259.595%20136.166C-267.368%20128.583%20-275.073%20140.242%20-267.3%20147.825L-259.338%20156.087C-258.869%20160.482%20-255.518%20171.861%20-254.634%20176.226C-267.475%20165.702%20-284.704%20150.246%20-300.665%20144.25C-305.079%20142.644%20-308.958%20144.46%20-311.08%20147.528C-314.628%20148.211%20-317.292%20151.458%20-317.858%20154.963C-321.103%20157.839%20-322.625%20163.354%20-319.254%20167.67C-321.407%20170.323%20-322.376%20173.998%20-320.433%20177.728C-320.274%20177.993%20-320.127%20178.12%20-320.106%20178.395C-320.997%20179.432%20-319.498%20182.78%20-320.337%20184.506C-324.035%20192.401%20-309.357%20221.757%20-285.221%20235.167C-277.291%20250.355%20-262.477%20259.485%20-261.354%20259.677C-234.512%20290.608%20-141.301%20400.999%20-97.2451%20436.169C-47.2868%20476.158%20-12.9855%20418.735%2010.6424%20317.115C34.2598%20215.358%2037.6457%20181.315%2037.6457%20181.315L116.374%20158.482C14.4423%20160.079%20-23.2964%20142.572%20-54.5558%20212.781Z'%20fill='darkgrey'/%3e%3cpath%20d='M116.781%20158.313L114.885%20158.871L61.4974%20174.391L38.0516%20181.145C38.0516%20181.145%2034.6758%20215.325%2011.0481%20316.945C9.47097%20323.572%207.88344%20330.061%206.27525%20336.275C-22.5942%20315.191%20-52.217%20295.131%20-82.0946%20275.368C-75.9632%20261.197%20-67.1116%20240.867%20-54.4359%20212.493C-30.4015%20158.477%20-2.57835%20156.516%2055.793%20157.512C72.5674%20157.77%2091.7239%20158.403%20114.133%20158.096C114.98%20158.309%20115.807%20158.247%20116.781%20158.313Z'%20fill='darkgrey'/%3e%3cpath%20d='M113.269%20157.745C175.26%20159.023%20252.771%20143.897%20266.382%20199.504C279.867%20255.26%20288.576%20280.774%20295.899%20320.932C303.221%20361.091%20322.043%20408.689%20271.897%20417.595C221.75%20426.502%20106.238%20444.495%20106.238%20444.495L78.8767%20384.662C78.8767%20384.662%20170.648%20343.813%20200.242%20332.303L185.17%20211.448L113.269%20157.745Z'%20fill='darkgrey'/%3e%3cpath%20d='M292.122%20302.108C260.506%20305.187%20228.942%20308.953%20198.219%20316.533L185.178%20211.585L140.855%20178.374L114.874%20158.871L114.144%20158.372L113.266%20157.746C127.138%20158.084%20141.774%20157.534%20156.283%20157.131C206.726%20155.818%20255.78%20156.271%20266.252%20199.654C277.643%20246.012%20285.665%20271.578%20292.122%20302.108Z'%20fill='darkgrey'/%3e%3cpath%20d='M108.001%20172.269C119.623%20168.485%20130.939%20164.308%20142.395%20160.12L112.224%20101.608L68.8441%20124.959C69.7222%20125.585%2079.0944%20154.372%2086.547%20177.904C93.7406%20175.977%20100.965%20174.463%20108.001%20172.269Z'%20fill='white'/%3e%3cpath%20d='M99.3655%20112.96C99.0934%20111.18%2098.8213%20109.401%2098.2722%20107.642L68.9864%20125.083C69.5682%20125.455%2073.8492%20138.148%2078.7406%20153.426C89.4856%20141.676%2097.5757%20127.773%2099.3655%20112.96Z'%20fill='darkgrey'/%3e%3cpath%20d='M144.524%2069.1209C143.075%2053.5829%20118.601%2039.3668%2099.9856%2038.5556C91.9262%2038.1943%2089.5107%2031.8684%2086.0605%2037.5291C77.5782%2051.7392%2049.6837%2094.9694%2052.2654%20110.837C56.0862%20133.951%2084.5691%20137.063%20102.228%20127.008C120.022%20116.942%20146.6%2091.1195%20144.524%2069.1209Z'%20fill='white'/%3e%3cpath%20d='M145.753%2072.4915C147.93%2068.3116%20146.317%2063.4483%20142.804%2060.944C142.656%2060.8166%20142.656%2060.8166%20142.507%2060.6894C143.028%2052.8957%20136.915%2047.1257%20129.979%2046.9567C129.007%2045.0914%20127.379%2043.691%20125.24%2042.883C124.903%2042.0778%20124.575%2041.4101%20123.982%2040.9009C122.651%2039.7551%20121.095%2039.3187%20119.441%2039.4435C118.081%2036.0843%20115.925%2033.2005%20112.495%2031.7977C110.348%2030.8519%20108.027%2031.304%20106.311%2032.4027C102.006%2028.5734%2096.789%2025.5051%2091.8112%2025.6038C89.736%2025.6218%2085.678%2026.8973%2084.2724%2032.1268C82.1968%2032.1449%2080.3522%2033.3917%2079.5546%2035.6676C78.427%2039.0759%2080.339%2042.3935%2083.1109%2044.2613C84.719%2045.3863%2086.9841%2046.0462%2089.0391%2045.7526C95.9026%2052.2969%20114.028%2063.1149%20118.148%2062.6657C115.532%2070.202%20113.218%2087.2698%20122.007%2088.1299C124.21%2095.3028%20116.99%20107.894%20121.368%20112.688C129.639%20104.863%20137.246%2095.5655%20141.359%2085.8391C141.496%2085.8288%20141.772%2085.808%20142.047%2085.7872C148.14%2083.9429%20149.527%2076.6377%20145.753%2072.4915Z'%20fill='darkgrey'/%3e%3cpath%20d='M140.151%20104.76C141.594%2096.3432%20132.67%2086.3542%20121.049%2088.3387C116.251%2096.3166%20111.305%20104.167%20106.21%20111.89C109.317%20116.364%20118.141%20121.376%20125.535%20120.264C133.872%20118.804%20138.613%20113.738%20140.151%20104.76Z'%20fill='white'/%3e%3cpath%20d='M156.755%20156.883C153.217%20165.043%20147.805%20172.237%20141.188%20178.136C133.925%20184.639%20125.011%20189.465%20114.809%20191.896C95.2214%20196.558%2072.2825%20189.842%2061.6836%20174.164C58.5559%20169.414%2056.4778%20163.894%2056%20157.561C72.7744%20157.818%2091.9311%20158.451%20114.34%20158.144L113.462%20157.519C127.463%20157.709%20142.098%20157.159%20156.755%20156.883Z'%20fill='white'/%3e%3c/g%3e%3c/svg%3e", cr = "data:image/svg+xml,%3csvg%20viewBox='0%200%20208%20208'%20opacity='0.9'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23shadow)'%3e%3cpath%20filter='url(%23shadow)'%20d='M127.173%2079.8894C127.189%2079.1933%20128.026%2079.1201%20128.436%2079.4316C128.754%2079.6091%20128.895%2080.1021%20128.809%2080.5518C129.241%2083.1982%20129.581%2085.7106%20130.013%2088.357C136.835%2079.7558%20149.235%2076.9989%20158.979%2083.174C168.086%2088.9941%20171.001%20111.745%20135.501%20120.502C131.5%20123.502%20117%20125.002%20111.753%20103.279C111.682%2093.2427%20118.526%2084.529%20127.173%2079.8894Z'%20fill='darkgrey'/%3e%3cpath%20d='M28.0441%20167.788C21.826%20195.052%2018.7311%20223.361%2014.1881%20250.885C9.42226%20279.982%204.68042%20308.967%20-0.0853729%20338.064L-1.00047%20342.848C14.5039%20346.419%2030.8401%20350.407%2046.3671%20353.868C90.9428%20363.918%20134.837%20376.598%20179.293%20387.201C200.345%20337.142%20219.778%20286.027%20235.82%20234.041C243.806%20208.213%20244.758%20181.282%20225.443%20160.043C216.099%20149.841%20204.347%20143.858%20191.629%20140.212C188.924%20139.377%20186.108%20138.517%20183.355%20137.905C179.635%20136.959%20175.781%20136.1%20171.989%20135.487C167.45%20134.592%20162.753%20133.893%20158.277%20133.243L127.871%20128.671L116.251%20126.895C115.457%20126.833%20114.686%20126.662%20113.915%20126.49C102.87%20124.724%2091.7381%20122.824%2080.6188%20123.013C69.1682%20123.13%2056.9012%20125.964%2047.8363%20133.224C36.9821%20141.825%2031.1109%20154.087%2028.0441%20167.788Z'%20fill='darkgrey'/%3e%3cpath%20d='M103.74%20123.732L95.6984%20197.532C95.6984%20197.532%20137.13%20157.315%20158.742%20133.268C155.051%20132.316%20151.227%20131.449%20147.465%20130.831C142.962%20129.929%20138.302%20129.224%20133.861%20128.569L103.74%20123.732Z'%20fill='white'/%3e%3cpath%20d='M97.8143%20115.298C99.0227%20116.625%20108.229%20179.332%20108.229%20179.332L148.012%20142.157L129%20100L97.8143%20115.298Z'%20fill='white'/%3e%3cpath%20d='M101.71%20148.534C100.068%20137.868%2098.402%20127.706%2098.0001%20127.274L112.673%20122C113.831%20131.449%20108.467%20141.173%20101.71%20148.534Z'%20fill='grey'/%3e%3cpath%20d='M121.545%2040.7383C111.161%2030.599%2085.3871%2035.4814%2071.93%2046.2862C66.0912%2051.0172%2060.5415%2047.9025%2061.6427%2054.0842C64.3767%2069.3597%2074.0239%20120.283%2082.7631%20126.794C100.374%20139.728%20121.191%20125.699%20127.329%20107.658C133.554%2089.7517%20136.293%2055.2372%20121.545%2040.7383Z'%20fill='white'/%3e%3cpath%20d='M56.0176%2041.9837C61.9834%2036.7831%2074.9427%2037.4243%2081.3074%2039.639C95.1733%2033.9235%20112.672%2032.6801%20120.968%2040.1438C131.22%2049.4771%20133.446%2067.5345%20132.042%2083.8281C125.848%2083.0025%20122.779%2078.6471%20116.718%2075.0286C97.7466%2073.2611%2084.9353%2061.0313%2082.042%2054.2301C78.3492%2058.2067%2063.3398%2059.3993%2058.12%2055.1646C51.1278%2048.7596%2054.1283%2043.6248%2056.0176%2041.9837Z'%20fill='darkgrey'/%3e%3cpath%20d='M142.838%2074.8316C138.561%2067.841%20123.674%2066.785%20116.5%2075.5006C118.078%2084.3219%20121.503%2092.5524%20122.726%20101.41C127.77%20102.657%20137.388%20100.869%20141.908%2095.386C147.168%2089.1414%20147.462%2082.3637%20142.838%2074.8316Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='shadow'%3e%3cfeDropShadow%20dx='0'%20dy='0'%20stdDeviation='3'%20flood-color='rgba(0,0,0,0.3)'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e", dr = "data:image/svg+xml,%3csvg%20opacity='0.9'%20viewBox='0%200%20208%20208'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cmask%20id='hole'%3e%3crect%20width='100%25'%20height='100%25'%20fill='white'/%3e%3ccircle%20cx='121.333'%20cy='121.333'%20r='52'%20fill='black'/%3e%3c/mask%3e%3cfilter%20id='shadow'%3e%3cfeDropShadow%20dx='-2'%20dy='-1'%20stdDeviation='10'%20flood-color='rgba(0,0,0,0.2)'/%3e%3c/filter%3e%3c/defs%3e%3cg%20filter='url(%23shadow)'%3e%3ccircle%20cx='104'%20cy='225.333'%20r='95.3333'%20fill='darkgray'/%3e%3ccircle%20cx='104'%20cy='225.333'%20r='95.3333'%20fill='white'%20mask='url(%23hole)'/%3e%3ccircle%20cx='104'%20cy='86.6666'%20r='52'%20fill='white'/%3e%3c/g%3e%3c/svg%3e", ur = "data:image/svg+xml,%3csvg%20opacity='0.9'%20viewBox='0%200%20208%20208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23shadow)'%3e%3cpath%20d='M168%20208V118.053C168%20113.824%20165.34%20110.052%20161.356%20108.633L134%2098.885V208H168Z'%20fill='darkgrey'/%3e%3cpath%20d='M40%2072.3726C40%2070.7381%2040.9944%2069.268%2042.5116%2068.6598L111.951%2040.8215C113.226%2040.3102%20114.675%2040.4893%20115.787%2041.2958L129.87%2051.5056C132.464%2053.3866%20134%2056.397%20134%2059.6017V208H40V72.3726Z'%20fill='white'/%3e%3cpath%20d='M114%2047.5001L126.325%2056.3036C127.376%2057.0544%20128%2058.2667%20128%2059.5585V208H114V47.5001Z'%20fill='darkgrey'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='shadow'%3e%3cfeDropShadow%20dx='-2'%20dy='-1'%20stdDeviation='7'%20flood-color='rgba(0,0,0,0.2)'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e", _r = {
948
948
  male: lr,
949
949
  female: cr,
950
950
  org: ur,
951
951
  neutral: dr
952
- }, Qe = K((t, a) => {
952
+ }, Qe = ee((t, r) => {
953
953
  const {
954
- style: r,
954
+ style: a,
955
955
  size: n = 40,
956
- isLoading: o = !1,
956
+ isLoading: i = !1,
957
957
  isDisabled: s = !1,
958
958
  shape: c = "circle",
959
959
  variant: _ = "light",
@@ -961,106 +961,106 @@ const lr = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
961
961
  name: f = "",
962
962
  imgSrc: p,
963
963
  imgAlt: g = "",
964
- icon: h,
965
- imgProps: b,
966
- colorScheme: v,
967
- "data-testid": w,
968
- ...S
969
- } = t, { onClick: C, onPointerDown: x } = S, T = !s && !o && (!!C || !!x), [A, O] = De(!p), R = p && !A ? "image" : h ? "icon" : f ? "name" : "placeholder", B = R === "name" ? v || sr(f) : v || "gray", N = he(
970
- se.avatar,
971
- se[c],
972
- se[`size-${n}`],
973
- se[`variant-${_}`],
974
- se[`color-${B}`],
964
+ icon: b,
965
+ imgProps: h,
966
+ colorScheme: C,
967
+ "data-testid": S,
968
+ ...M
969
+ } = t, { onClick: x, onPointerDown: m } = M, k = !s && !i && (!!x || !!m), [A, T] = Ae(!p), N = p && !A ? "image" : b ? "icon" : f ? "name" : "placeholder", D = N === "name" ? C || sr(f) : C || "gray", U = be(
970
+ oe.avatar,
971
+ oe[c],
972
+ oe[`size-${n}`],
973
+ oe[`variant-${_}`],
974
+ oe[`color-${D}`],
975
975
  {
976
- [se.disabled]: s,
977
- [se.loading]: o,
978
- [se.clickable]: T
976
+ [oe.disabled]: s,
977
+ [oe.loading]: i,
978
+ [oe.clickable]: k
979
979
  }
980
- ), F = {
981
- icon: () => /* @__PURE__ */ i.jsx("span", { "data-testid": "avatar-icon", title: g, role: "img", className: he(se.icon), children: h == null ? void 0 : h({}) }),
982
- name: () => /* @__PURE__ */ i.jsx(
980
+ ), W = {
981
+ icon: () => /* @__PURE__ */ o.jsx("span", { "data-testid": "avatar-icon", title: g, role: "img", className: be(oe.icon), children: b == null ? void 0 : b({}) }),
982
+ name: () => /* @__PURE__ */ o.jsx(
983
983
  "span",
984
984
  {
985
985
  role: "textbox",
986
986
  "data-testid": "avatar-name",
987
- className: he(se.name),
987
+ className: be(oe.name),
988
988
  title: g,
989
989
  children: or(f)
990
990
  }
991
991
  ),
992
- placeholder: () => /* @__PURE__ */ i.jsx(
992
+ placeholder: () => /* @__PURE__ */ o.jsx(
993
993
  "img",
994
994
  {
995
- ...b,
995
+ ...h,
996
996
  "data-testid": "avatar-placeholder",
997
- className: se.image,
997
+ className: oe.image,
998
998
  src: _r[d],
999
999
  alt: g
1000
1000
  }
1001
1001
  ),
1002
- image: () => /* @__PURE__ */ i.jsx(
1002
+ image: () => /* @__PURE__ */ o.jsx(
1003
1003
  "img",
1004
1004
  {
1005
1005
  "data-testid": "avatar-image",
1006
- ...b,
1007
- className: se.image,
1006
+ ...h,
1007
+ className: oe.image,
1008
1008
  src: p,
1009
1009
  alt: g,
1010
- onLoad: () => O(!1),
1011
- onError: (z) => {
1012
- var D;
1013
- O(!0), (D = b == null ? void 0 : b.onError) == null || D.call(b, z);
1010
+ onLoad: () => T(!1),
1011
+ onError: (O) => {
1012
+ var y;
1013
+ T(!0), (y = h == null ? void 0 : h.onError) == null || y.call(h, O);
1014
1014
  }
1015
1015
  }
1016
1016
  )
1017
- }, y = (z) => {
1018
- T && (C == null || C(z));
1017
+ }, F = (O) => {
1018
+ k && (x == null || x(O));
1019
1019
  };
1020
- return /* @__PURE__ */ i.jsx(
1020
+ return /* @__PURE__ */ o.jsx(
1021
1021
  "div",
1022
1022
  {
1023
- ref: a,
1024
- onClick: y,
1025
- className: N,
1026
- style: r,
1027
- "data-testid": w,
1028
- "aria-disabled": s || o,
1029
- children: F[R](null)
1023
+ ref: r,
1024
+ onClick: F,
1025
+ className: U,
1026
+ style: a,
1027
+ "data-testid": S,
1028
+ "aria-disabled": s || i,
1029
+ children: W[N](null)
1030
1030
  }
1031
1031
  );
1032
1032
  }), pr = "_avatarGroup_157g4_1", fr = {
1033
1033
  avatarGroup: pr
1034
1034
  };
1035
- let gr = (t = 21) => crypto.getRandomValues(new Uint8Array(t)).reduce((a, r) => (r &= 63, r < 36 ? a += r.toString(36) : r < 62 ? a += (r - 26).toString(36).toUpperCase() : r > 62 ? a += "-" : a += "_", a), "");
1036
- function hr(t, a, r, n, o, s, c) {
1037
- const _ = Math.min(o, s) / 2, d = Math.min(c, _), f = ["M0,0", `H${t}`, `V${a}`, "H0", "V0", "Z"].join(" "), p = [
1038
- `M${r + d},${n}`,
1039
- `L${r + o - d},${n}`,
1035
+ let gr = (t = 21) => crypto.getRandomValues(new Uint8Array(t)).reduce((r, a) => (a &= 63, a < 36 ? r += a.toString(36) : a < 62 ? r += (a - 26).toString(36).toUpperCase() : a > 62 ? r += "-" : r += "_", r), "");
1036
+ function hr(t, r, a, n, i, s, c) {
1037
+ const _ = Math.min(i, s) / 2, d = Math.min(c, _), f = ["M0,0", `H${t}`, `V${r}`, "H0", "V0", "Z"].join(" "), p = [
1038
+ `M${a + d},${n}`,
1039
+ `L${a + i - d},${n}`,
1040
1040
  // Верхний правый угол
1041
- `A${d},${d} 0 0 1 ${r + o},${n + d}`,
1042
- `L${r + o},${n + s - d}`,
1041
+ `A${d},${d} 0 0 1 ${a + i},${n + d}`,
1042
+ `L${a + i},${n + s - d}`,
1043
1043
  // Нижний правый угол
1044
- `A${d},${d} 0 0 1 ${r + o - d},${n + s}`,
1045
- `L${r + d},${n + s}`,
1044
+ `A${d},${d} 0 0 1 ${a + i - d},${n + s}`,
1045
+ `L${a + d},${n + s}`,
1046
1046
  // Нижний левый угол
1047
- `A${d},${d} 0 0 1 ${r},${n + s - d}`,
1048
- `L${r},${n + d}`,
1047
+ `A${d},${d} 0 0 1 ${a},${n + s - d}`,
1048
+ `L${a},${n + d}`,
1049
1049
  // Верхний левый угол
1050
- `A${d},${d} 0 0 1 ${r + d},${n}`,
1050
+ `A${d},${d} 0 0 1 ${a + d},${n}`,
1051
1051
  "Z"
1052
1052
  ].join(" ");
1053
1053
  return `${f} ${p}`;
1054
1054
  }
1055
1055
  const br = 2, mr = (t) => {
1056
1056
  const {
1057
- avatars: a = [],
1058
- overflowCount: r = 0,
1057
+ avatars: r = [],
1058
+ overflowCount: a = 0,
1059
1059
  size: n = 40,
1060
- overlap: o = 0.3,
1060
+ overlap: i = 0.3,
1061
1061
  shape: s = "circle",
1062
1062
  overflowOnClick: c
1063
- } = t, _ = n * o, d = -_ + br, f = ir(n, s), g = ze(gr()).current.toString(), h = he(fr.avatarGroup), b = hr(
1063
+ } = t, _ = n * i, d = -_ + br, f = ir(n, s), g = Be(gr()).current.toString(), b = be(fr.avatarGroup), h = hr(
1064
1064
  n,
1065
1065
  n,
1066
1066
  n - _,
@@ -1071,37 +1071,37 @@ const br = 2, mr = (t) => {
1071
1071
  n,
1072
1072
  f
1073
1073
  );
1074
- return a.length === 0 ? null : /* @__PURE__ */ i.jsxs("div", { className: h, children: [
1075
- a.map((v, w, S) => {
1076
- const C = w + 1 >= S.length;
1077
- return /* @__PURE__ */ i.jsx(
1074
+ return r.length === 0 ? null : /* @__PURE__ */ o.jsxs("div", { className: b, children: [
1075
+ r.map((C, S, M) => {
1076
+ const x = S + 1 >= M.length;
1077
+ return /* @__PURE__ */ o.jsx(
1078
1078
  "div",
1079
1079
  {
1080
1080
  style: {
1081
1081
  // Для последнего видимого аватара без overflowCount не применяем обрезку
1082
- clipPath: C && !r ? void 0 : `url(#${g})`,
1082
+ clipPath: x && !a ? void 0 : `url(#${g})`,
1083
1083
  marginRight: d
1084
1084
  },
1085
- children: /* @__PURE__ */ i.jsx(Qe, { size: n, shape: s, ...v })
1085
+ children: /* @__PURE__ */ o.jsx(Qe, { size: n, shape: s, ...C })
1086
1086
  },
1087
- It(v) + w
1087
+ It(C) + S
1088
1088
  );
1089
1089
  }),
1090
- r > 0 && /* @__PURE__ */ i.jsx("div", { style: { marginRight: d }, children: /* @__PURE__ */ i.jsx(
1090
+ a > 0 && /* @__PURE__ */ o.jsx("div", { style: { marginRight: d }, children: /* @__PURE__ */ o.jsx(
1091
1091
  Qe,
1092
1092
  {
1093
1093
  size: n,
1094
1094
  shape: s,
1095
1095
  onClick: c,
1096
- icon: () => rr(r),
1096
+ icon: () => rr(a),
1097
1097
  colorScheme: "gray"
1098
1098
  }
1099
1099
  ) }),
1100
- /* @__PURE__ */ i.jsx("svg", { width: "0", height: "0", children: /* @__PURE__ */ i.jsx("clipPath", { id: `${g}`, children: /* @__PURE__ */ i.jsx("path", { clipPathUnits: "objectBoundingBox", d: b, clipRule: "evenodd" }) }) })
1100
+ /* @__PURE__ */ o.jsx("svg", { width: "0", height: "0", children: /* @__PURE__ */ o.jsx("clipPath", { id: `${g}`, children: /* @__PURE__ */ o.jsx("path", { clipPathUnits: "objectBoundingBox", d: h, clipRule: "evenodd" }) }) })
1101
1101
  ] });
1102
1102
  }, js = Object.assign(Qe, {
1103
1103
  Group: mr
1104
- }), yr = "_wrapper_1ncab_5", vr = "_badge__container_1ncab_6", xr = "_badge__content_1ncab_7", Cr = "_interactive_1ncab_20", wr = "_disabled_1ncab_21", Sr = "_icon_1ncab_22", pe = {
1104
+ }), yr = "_wrapper_1ncab_5", vr = "_badge__container_1ncab_6", xr = "_badge__content_1ncab_7", Cr = "_interactive_1ncab_20", wr = "_disabled_1ncab_21", Sr = "_icon_1ncab_22", fe = {
1105
1105
  wrapper: yr,
1106
1106
  badge__container: vr,
1107
1107
  badge__content: xr,
@@ -1141,26 +1141,26 @@ const br = 2, mr = (t) => {
1141
1141
  "position-middle-right-inside": "_position-middle-right-inside_1ncab_458"
1142
1142
  }, Er = (t) => t === "rgba(0, 0, 0, 0)" || t === "transparent" || t.startsWith("rgba") && t.endsWith(", 0)"), Lr = (t) => {
1143
1143
  if (!t) return null;
1144
- let a = t;
1145
- for (; a; ) {
1146
- const n = window.getComputedStyle(a).backgroundColor;
1144
+ let r = t;
1145
+ for (; r; ) {
1146
+ const n = window.getComputedStyle(r).backgroundColor;
1147
1147
  if (!Er(n)) return n;
1148
- a = a.parentElement;
1148
+ r = r.parentElement;
1149
1149
  }
1150
1150
  return null;
1151
1151
  }, Mr = () => {
1152
- const t = ze(null), [a, r] = De(null);
1153
- return Re(() => {
1152
+ const t = Be(null), [r, a] = Ae(null);
1153
+ return je(() => {
1154
1154
  if (t.current) {
1155
1155
  const n = Lr(t.current);
1156
- r(n);
1156
+ a(n);
1157
1157
  }
1158
- }, []), { ref: t, bgColor: a };
1159
- }, Rs = K((t, a) => {
1158
+ }, []), { ref: t, bgColor: r };
1159
+ }, Rs = ee((t, r) => {
1160
1160
  const {
1161
- icon: r,
1161
+ icon: a,
1162
1162
  children: n,
1163
- variant: o = "filled",
1163
+ variant: i = "filled",
1164
1164
  label: s,
1165
1165
  colorScheme: c = "red",
1166
1166
  size: _ = 20,
@@ -1168,46 +1168,46 @@ const br = 2, mr = (t) => {
1168
1168
  positionOffset: f = { x: 0, y: 0 },
1169
1169
  cutoutBackground: p,
1170
1170
  isDisabled: g,
1171
- className: h,
1172
- "data-testid": b = "badge",
1173
- ...v
1174
- } = t, { onClick: w, onPointerDown: S } = v, { ref: C, bgColor: x } = Mr(), $ = p || x, A = !g && (!!w || !!S), O = he(pe.badge__container, pe[`position-${d}`]), R = he(
1175
- h,
1176
- pe.badge__content,
1177
- pe[`color-${c}`],
1178
- pe[`variant-${o}`],
1171
+ className: b,
1172
+ "data-testid": h = "badge",
1173
+ ...C
1174
+ } = t, { onClick: S, onPointerDown: M } = C, { ref: x, bgColor: m } = Mr(), $ = p || m, A = !g && (!!S || !!M), T = be(fe.badge__container, fe[`position-${d}`]), N = be(
1175
+ b,
1176
+ fe.badge__content,
1177
+ fe[`color-${c}`],
1178
+ fe[`variant-${i}`],
1179
1179
  {
1180
- [pe.icon]: !!r,
1181
- [pe.interactive]: A,
1182
- [pe.disabled]: g
1180
+ [fe.icon]: !!a,
1181
+ [fe.interactive]: A,
1182
+ [fe.disabled]: g
1183
1183
  }
1184
- ), B = {
1184
+ ), D = {
1185
1185
  "--badge-height": `${_}px`,
1186
1186
  "--badge-offset-x": `${f.x}px`,
1187
1187
  "--badge-offset-y": `${f.y}px`,
1188
1188
  ...$ && { "--badge-cutout-bg": $ },
1189
- ...o === "transparent" && { "--badge-cutout-bg": "transparent" }
1190
- }, N = (r == null ? void 0 : r({})) || s, F = (y) => {
1191
- A && (w == null || w(y));
1189
+ ...i === "transparent" && { "--badge-cutout-bg": "transparent" }
1190
+ }, U = (a == null ? void 0 : a({})) || s, W = (F) => {
1191
+ A && (S == null || S(F));
1192
1192
  };
1193
- return /* @__PURE__ */ i.jsxs("div", { className: pe.wrapper, ref: C, "data-testid": b + "-wrapper", children: [
1193
+ return /* @__PURE__ */ o.jsxs("div", { className: fe.wrapper, ref: x, "data-testid": h + "-wrapper", children: [
1194
1194
  n,
1195
- /* @__PURE__ */ i.jsx(
1195
+ /* @__PURE__ */ o.jsx(
1196
1196
  "span",
1197
1197
  {
1198
- className: O,
1199
- style: B,
1200
- "data-testid": b + "-container",
1201
- children: /* @__PURE__ */ i.jsx(
1198
+ className: T,
1199
+ style: D,
1200
+ "data-testid": h + "-container",
1201
+ children: /* @__PURE__ */ o.jsx(
1202
1202
  "span",
1203
1203
  {
1204
- ...v,
1205
- onClick: F,
1206
- className: R,
1207
- "data-testid": b + "-content",
1208
- ref: a,
1204
+ ...C,
1205
+ onClick: W,
1206
+ className: N,
1207
+ "data-testid": h + "-content",
1208
+ ref: r,
1209
1209
  "aria-disabled": g,
1210
- children: N
1210
+ children: U
1211
1211
  }
1212
1212
  )
1213
1213
  }
@@ -1217,7 +1217,7 @@ const br = 2, mr = (t) => {
1217
1217
  container: $r,
1218
1218
  image: Ir,
1219
1219
  loading: jr
1220
- }, Rr = "_loader_isv17_1", kr = "_spin_isv17_1", Tr = "_accent_isv17_19", Ar = "_neutral_isv17_23", Nr = "_positive_isv17_27", Dr = "_negative_isv17_31", Or = "_gray_isv17_35", Ur = "_special_isv17_39", Pr = "_contrast_isv17_43", Br = "_container_isv17_47", Fr = "_overlay_isv17_57", Ne = {
1220
+ }, Rr = "_loader_isv17_1", kr = "_spin_isv17_1", Tr = "_accent_isv17_19", Ar = "_neutral_isv17_23", Nr = "_positive_isv17_27", Dr = "_negative_isv17_31", Or = "_gray_isv17_35", Ur = "_special_isv17_39", Pr = "_contrast_isv17_43", Br = "_container_isv17_47", Fr = "_overlay_isv17_57", Te = {
1221
1221
  loader: Rr,
1222
1222
  spin: kr,
1223
1223
  accent: Tr,
@@ -1234,22 +1234,22 @@ const br = 2, mr = (t) => {
1234
1234
  "size-48": "_size-48_isv17_80",
1235
1235
  "size-64": "_size-64_isv17_84",
1236
1236
  "size-96": "_size-96_isv17_88"
1237
- }, jt = K(
1237
+ }, jt = ee(
1238
1238
  ({
1239
1239
  size: t = 24,
1240
- variant: a = "accent",
1241
- className: r,
1240
+ variant: r = "accent",
1241
+ className: a,
1242
1242
  "data-testid": n = "loader",
1243
- style: o,
1243
+ style: i,
1244
1244
  ...s
1245
1245
  }, c) => {
1246
- const _ = he(
1247
- Ne.loader,
1248
- Ne[a],
1249
- Ne[`size-${t}`],
1250
- r
1246
+ const _ = be(
1247
+ Te.loader,
1248
+ Te[r],
1249
+ Te[`size-${t}`],
1250
+ a
1251
1251
  );
1252
- return /* @__PURE__ */ i.jsx(
1252
+ return /* @__PURE__ */ o.jsx(
1253
1253
  "svg",
1254
1254
  {
1255
1255
  ref: c,
@@ -1258,9 +1258,9 @@ const br = 2, mr = (t) => {
1258
1258
  viewBox: "0 0 16 16",
1259
1259
  xmlns: "http://www.w3.org/2000/svg",
1260
1260
  "data-testid": n,
1261
- style: o,
1261
+ style: i,
1262
1262
  ...s,
1263
- children: /* @__PURE__ */ i.jsx(
1263
+ children: /* @__PURE__ */ o.jsx(
1264
1264
  "path",
1265
1265
  {
1266
1266
  d: "M14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2",
@@ -1272,38 +1272,38 @@ const br = 2, mr = (t) => {
1272
1272
  }
1273
1273
  );
1274
1274
  }
1275
- ), zr = K((t, a) => {
1275
+ ), zr = ee((t, r) => {
1276
1276
  const {
1277
- loading: r = !1,
1277
+ loading: a = !1,
1278
1278
  size: n = 24,
1279
- variant: o = "accent",
1279
+ variant: i = "accent",
1280
1280
  children: s,
1281
1281
  className: c,
1282
1282
  style: _,
1283
1283
  "data-testid": d,
1284
1284
  ...f
1285
- } = t, p = he(Ne.container, c);
1286
- return /* @__PURE__ */ i.jsxs("div", { ref: a, className: p, style: _, "data-testid": d, ...f, children: [
1285
+ } = t, p = be(Te.container, c);
1286
+ return /* @__PURE__ */ o.jsxs("div", { ref: r, className: p, style: _, "data-testid": d, ...f, children: [
1287
1287
  s,
1288
- r && /* @__PURE__ */ i.jsx("div", { className: Ne.overlay, children: /* @__PURE__ */ i.jsx(jt, { size: n, variant: o, "data-testid": `${d}-spinner` }) })
1288
+ a && /* @__PURE__ */ o.jsx("div", { className: Te.overlay, children: /* @__PURE__ */ o.jsx(jt, { size: n, variant: i, "data-testid": `${d}-spinner` }) })
1289
1289
  ] });
1290
- }), Wr = K((t, a) => t.children ? /* @__PURE__ */ i.jsx(
1290
+ }), Vr = ee((t, r) => t.children ? /* @__PURE__ */ o.jsx(
1291
1291
  zr,
1292
1292
  {
1293
- ref: a,
1293
+ ref: r,
1294
1294
  ...t
1295
1295
  }
1296
- ) : /* @__PURE__ */ i.jsx(jt, { ref: a, ...t })), Vr = ({ width: t = 48, height: a = 48, className: r, "data-testid": n }) => /* @__PURE__ */ i.jsx(
1296
+ ) : /* @__PURE__ */ o.jsx(jt, { ref: r, ...t })), Wr = ({ width: t = 48, height: r = 48, className: a, "data-testid": n }) => /* @__PURE__ */ o.jsx(
1297
1297
  "svg",
1298
1298
  {
1299
1299
  width: t,
1300
- height: a,
1300
+ height: r,
1301
1301
  viewBox: "0 0 48 48",
1302
1302
  fill: "none",
1303
1303
  xmlns: "http://www.w3.org/2000/svg",
1304
- className: r,
1304
+ className: a,
1305
1305
  "data-testid": n,
1306
- children: /* @__PURE__ */ i.jsx(
1306
+ children: /* @__PURE__ */ o.jsx(
1307
1307
  "path",
1308
1308
  {
1309
1309
  d: "M32.4 42H13.8627C12.6511 42 12.0453 42 11.7648 41.7604C11.5214 41.5525 11.3922 41.2407 11.4173 40.9215C11.4462 40.5538 11.8746 40.1254 12.7314 39.2686L29.7373 22.2627C30.5293 21.4707 30.9253 21.0747 31.382 20.9263C31.7837 20.7958 32.2163 20.7958 32.618 20.9263C33.0747 21.0747 33.4707 21.4707 34.2627 22.2627L42 30V32.4M32.4 42C35.7603 42 37.4405 42 38.7239 41.346C39.8529 40.7708 40.7708 39.8529 41.346 38.7239C42 37.4405 42 35.7603 42 32.4M32.4 42H15.6C12.2397 42 10.5595 42 9.27606 41.346C8.14708 40.7708 7.2292 39.8529 6.65396 38.7239C6 37.4405 6 35.7603 6 32.4V15.6C6 12.2397 6 10.5595 6.65396 9.27606C7.2292 8.14708 8.14708 7.2292 9.27606 6.65396C10.5595 6 12.2397 6 15.6 6H32.4C35.7603 6 37.4405 6 38.7239 6.65396C39.8529 7.2292 40.7708 8.14708 41.346 9.27606C42 10.5595 42 12.2397 42 15.6V32.4M21 17C21 19.2091 19.2091 21 17 21C14.7909 21 13 19.2091 13 17C13 14.7909 14.7909 13 17 13C19.2091 13 21 14.7909 21 17Z",
@@ -1314,70 +1314,70 @@ const br = 2, mr = (t) => {
1314
1314
  }
1315
1315
  )
1316
1316
  }
1317
- ), ks = K((t, a) => {
1317
+ ), ks = ee((t, r) => {
1318
1318
  const {
1319
- alt: r = "",
1319
+ alt: a = "",
1320
1320
  loading: n = "lazy",
1321
- src: o,
1321
+ src: i,
1322
1322
  isLoading: s = !1,
1323
1323
  className: c,
1324
1324
  "data-testid": _ = "image",
1325
1325
  onError: d,
1326
1326
  onLoad: f,
1327
1327
  ...p
1328
- } = t, [g, h] = De("loading"), b = g === "error", v = (s || g === "loading") && !b, w = g === "loaded" && !s, S = he(
1328
+ } = t, [g, b] = Ae("loading"), h = g === "error", C = (s || g === "loading") && !h, S = g === "loaded" && !s, M = be(
1329
1329
  Je.image,
1330
1330
  {
1331
- [Je.loading]: v
1331
+ [Je.loading]: C
1332
1332
  },
1333
1333
  c
1334
- ), C = Se(
1335
- (T) => {
1336
- h("loaded"), f == null || f(T);
1334
+ ), x = Ee(
1335
+ (k) => {
1336
+ b("loaded"), f == null || f(k);
1337
1337
  },
1338
1338
  [f]
1339
- ), x = Se(
1340
- (T) => {
1341
- h("error"), d == null || d(T);
1339
+ ), m = Ee(
1340
+ (k) => {
1341
+ b("error"), d == null || d(k);
1342
1342
  },
1343
1343
  [d]
1344
1344
  ), $ = {
1345
- loader: /* @__PURE__ */ i.jsxs(Mt, { children: [
1346
- /* @__PURE__ */ i.jsx(Wr, { size: 48, variant: "special", "data-testid": `${_}-loader` }),
1347
- /* @__PURE__ */ i.jsx(
1345
+ loader: /* @__PURE__ */ o.jsxs(Mt, { children: [
1346
+ /* @__PURE__ */ o.jsx(Vr, { size: 48, variant: "special", "data-testid": `${_}-loader` }),
1347
+ /* @__PURE__ */ o.jsx(
1348
1348
  "img",
1349
1349
  {
1350
- alt: r,
1351
- src: o,
1352
- onLoad: C,
1353
- onError: x,
1350
+ alt: a,
1351
+ src: i,
1352
+ onLoad: x,
1353
+ onError: m,
1354
1354
  style: { display: "none" }
1355
1355
  }
1356
1356
  )
1357
1357
  ] }),
1358
- error: /* @__PURE__ */ i.jsx(Vr, { "data-testid": `${_}-fallback` }),
1359
- image: /* @__PURE__ */ i.jsx(
1358
+ error: /* @__PURE__ */ o.jsx(Wr, { "data-testid": `${_}-fallback` }),
1359
+ image: /* @__PURE__ */ o.jsx(
1360
1360
  "img",
1361
1361
  {
1362
- ref: a,
1363
- alt: r,
1362
+ ref: r,
1363
+ alt: a,
1364
1364
  "data-testid": _,
1365
1365
  loading: n,
1366
- src: o,
1367
- className: S
1366
+ src: i,
1367
+ className: M
1368
1368
  }
1369
1369
  )
1370
1370
  };
1371
- return Re(() => {
1372
- if (!o) {
1373
- h("error");
1371
+ return je(() => {
1372
+ if (!i) {
1373
+ b("error");
1374
1374
  return;
1375
1375
  }
1376
- h("loading");
1377
- }, [o]), /* @__PURE__ */ i.jsxs("div", { className: Je.container, "data-testid": `${_}-container`, ...p, children: [
1378
- v && $.loader,
1379
- b && $.error,
1380
- w && $.image
1376
+ b("loading");
1377
+ }, [i]), /* @__PURE__ */ o.jsxs("div", { className: Je.container, "data-testid": `${_}-container`, ...p, children: [
1378
+ C && $.loader,
1379
+ h && $.error,
1380
+ S && $.image
1381
1381
  ] });
1382
1382
  }), Hr = {}, Rt = ra({
1383
1383
  locale: Hr
@@ -1391,30 +1391,26 @@ const br = 2, mr = (t) => {
1391
1391
  return t;
1392
1392
  }, Zr = {}, qr = {}, Yr = {}, As = ({
1393
1393
  locale: t = {},
1394
- theme: a,
1395
- children: r,
1394
+ theme: r,
1395
+ children: a,
1396
1396
  className: n
1397
1397
  }) => (sa(() => {
1398
- if (a) {
1399
- const o = document.documentElement;
1400
- return Object.entries(a).forEach(([s, c]) => {
1401
- o.style.setProperty(s, c);
1402
- }), () => {
1403
- Object.keys(a).forEach((s) => {
1404
- o.style.removeProperty(s);
1405
- });
1406
- };
1398
+ if (r) {
1399
+ const i = document.documentElement;
1400
+ Object.entries(r).forEach(([s, c]) => {
1401
+ i.style.setProperty(s, c);
1402
+ });
1407
1403
  }
1408
- }, [a]), /* @__PURE__ */ i.jsxs(Mt, { children: [
1409
- /* @__PURE__ */ i.jsx(
1404
+ }, [r]), /* @__PURE__ */ o.jsxs(Mt, { children: [
1405
+ /* @__PURE__ */ o.jsx(
1410
1406
  "div",
1411
1407
  {
1412
1408
  "data-testid": "ConfigProvider-component",
1413
- className: ie(Zr, qr, Yr, n)
1409
+ className: Z(Zr, qr, Yr, n)
1414
1410
  }
1415
1411
  ),
1416
- /* @__PURE__ */ i.jsx(Rt.Provider, { value: { locale: t }, children: r })
1417
- ] })), Ns = {}, Jr = "_tag_1llsi_1", Kr = "_label_1llsi_16", Xr = "_iconWrapper_1llsi_20", Qr = "_medium_1llsi_27", en = "_large_1llsi_33", tn = "_disabled_1llsi_43", an = "_neutral_1llsi_47", rn = "_positive_1llsi_53", nn = "_negative_1llsi_59", sn = "_warning_1llsi_65", on = "_vivid_1llsi_71", ln = "_special_1llsi_77", cn = "_accent_1llsi_84", dn = "_blue_1llsi_90", un = "_lovely_1llsi_96", _n = "_dreamy_1llsi_102", we = {
1412
+ /* @__PURE__ */ o.jsx(Rt.Provider, { value: { locale: t }, children: a })
1413
+ ] })), Ns = {}, Jr = "_tag_1llsi_1", Kr = "_label_1llsi_16", Xr = "_iconWrapper_1llsi_20", Qr = "_medium_1llsi_27", en = "_large_1llsi_33", tn = "_disabled_1llsi_43", an = "_neutral_1llsi_47", rn = "_positive_1llsi_53", nn = "_negative_1llsi_59", sn = "_warning_1llsi_65", on = "_vivid_1llsi_71", ln = "_special_1llsi_77", cn = "_accent_1llsi_84", dn = "_blue_1llsi_90", un = "_lovely_1llsi_96", _n = "_dreamy_1llsi_102", Se = {
1418
1414
  tag: Jr,
1419
1415
  label: Kr,
1420
1416
  iconWrapper: Xr,
@@ -1431,7 +1427,7 @@ const br = 2, mr = (t) => {
1431
1427
  blue: dn,
1432
1428
  lovely: un,
1433
1429
  dreamy: _n
1434
- }, We = {
1430
+ }, Fe = {
1435
1431
  "typography-title-1-semibold": "_typography-title-1-semibold_1lyxn_1",
1436
1432
  "typography-title-2-semibold": "_typography-title-2-semibold_1lyxn_10",
1437
1433
  "typography-title-3-semibold": "_typography-title-3-semibold_1lyxn_19",
@@ -1455,11 +1451,11 @@ const br = 2, mr = (t) => {
1455
1451
  "typography-paragraph-2-regular": "_typography-paragraph-2-regular_1lyxn_176",
1456
1452
  "typography-paragraph-3-regular": "_typography-paragraph-3-regular_1lyxn_185",
1457
1453
  "typography-paragraph-4-regular": "_typography-paragraph-4-regular_1lyxn_194"
1458
- }, Ds = K((t, a) => {
1454
+ }, Ds = ee((t, r) => {
1459
1455
  const {
1460
- className: r,
1456
+ className: a,
1461
1457
  children: n,
1462
- componentStyle: o = "neutral",
1458
+ componentStyle: i = "neutral",
1463
1459
  size: s = "medium",
1464
1460
  disabled: c = !1,
1465
1461
  showLabel: _ = !!n,
@@ -1467,32 +1463,32 @@ const br = 2, mr = (t) => {
1467
1463
  slotEnd: f,
1468
1464
  slotStartWrapperProps: p = {},
1469
1465
  slotEndWrapperProps: g = {},
1470
- "data-testid": h
1471
- } = t, { className: b, ...v } = p, { className: w, ...S } = g;
1472
- return /* @__PURE__ */ i.jsxs(
1466
+ "data-testid": b
1467
+ } = t, { className: h, ...C } = p, { className: S, ...M } = g;
1468
+ return /* @__PURE__ */ o.jsxs(
1473
1469
  "div",
1474
1470
  {
1475
- className: ie(
1476
- we.tag,
1477
- we[s],
1478
- we[o],
1471
+ className: Z(
1472
+ Se.tag,
1473
+ Se[s],
1474
+ Se[i],
1479
1475
  {
1480
- [we.disabled]: c,
1481
- [We["typography-label-3-regular"]]: s === "medium",
1482
- [We["typography-subtitle-1-semibold"]]: s === "large"
1476
+ [Se.disabled]: c,
1477
+ [Fe["typography-label-3-regular"]]: s === "medium",
1478
+ [Fe["typography-subtitle-1-semibold"]]: s === "large"
1483
1479
  },
1484
- r
1480
+ a
1485
1481
  ),
1486
- "data-testid": h || "tag-component",
1487
- ref: a,
1482
+ "data-testid": b || "tag-component",
1483
+ ref: r,
1488
1484
  children: [
1489
- d && /* @__PURE__ */ i.jsx("span", { className: ie([we.iconWrapper, b]), ...v, children: d }),
1490
- _ && /* @__PURE__ */ i.jsx("span", { className: ie([we.label]), children: n }),
1491
- f && /* @__PURE__ */ i.jsx("span", { className: ie([we.iconWrapper, w]), ...S, children: f })
1485
+ d && /* @__PURE__ */ o.jsx("span", { className: Z([Se.iconWrapper, h]), ...C, children: d }),
1486
+ _ && /* @__PURE__ */ o.jsx("span", { className: Z([Se.label]), children: n }),
1487
+ f && /* @__PURE__ */ o.jsx("span", { className: Z([Se.iconWrapper, S]), ...M, children: f })
1492
1488
  ]
1493
1489
  }
1494
1490
  );
1495
- }), pn = "_checkbox_qo5f5_43", fn = "_input_qo5f5_59", gn = "_icon_qo5f5_67", hn = "_container_qo5f5_84", bn = "_error_qo5f5_135", mn = "_checkboxWrapper_qo5f5_147", yn = "_medium_qo5f5_201", vn = "_large_qo5f5_206", xn = "_label_qo5f5_247", ge = {
1491
+ }), pn = "_checkbox_qo5f5_43", fn = "_input_qo5f5_59", gn = "_icon_qo5f5_67", hn = "_container_qo5f5_84", bn = "_error_qo5f5_135", mn = "_checkboxWrapper_qo5f5_147", yn = "_medium_qo5f5_201", vn = "_large_qo5f5_206", xn = "_label_qo5f5_247", he = {
1496
1492
  checkbox: pn,
1497
1493
  input: fn,
1498
1494
  icon: gn,
@@ -1504,21 +1500,21 @@ const br = 2, mr = (t) => {
1504
1500
  label: xn
1505
1501
  }, Cn = ({
1506
1502
  width: t = 12,
1507
- height: a = 9,
1508
- className: r = "",
1503
+ height: r = 9,
1504
+ className: a = "",
1509
1505
  color: n = "currentColor",
1510
- ...o
1511
- }) => /* @__PURE__ */ i.jsx(
1506
+ ...i
1507
+ }) => /* @__PURE__ */ o.jsx(
1512
1508
  "svg",
1513
1509
  {
1514
- className: r,
1510
+ className: a,
1515
1511
  width: t,
1516
- height: a,
1512
+ height: r,
1517
1513
  viewBox: "0 0 14 10",
1518
1514
  fill: "none",
1519
1515
  xmlns: "http://www.w3.org/2000/svg",
1520
- ...o,
1521
- children: /* @__PURE__ */ i.jsx(
1516
+ ...i,
1517
+ children: /* @__PURE__ */ o.jsx(
1522
1518
  "path",
1523
1519
  {
1524
1520
  fillRule: "evenodd",
@@ -1530,21 +1526,21 @@ const br = 2, mr = (t) => {
1530
1526
  }
1531
1527
  ), wn = ({
1532
1528
  width: t = 12,
1533
- height: a = 2,
1534
- className: r = "",
1529
+ height: r = 2,
1530
+ className: a = "",
1535
1531
  color: n = "currentColor",
1536
- ...o
1537
- }) => /* @__PURE__ */ i.jsx(
1532
+ ...i
1533
+ }) => /* @__PURE__ */ o.jsx(
1538
1534
  "svg",
1539
1535
  {
1540
- className: r,
1536
+ className: a,
1541
1537
  width: t,
1542
- height: a,
1538
+ height: r,
1543
1539
  viewBox: "0 0 12 2",
1544
1540
  fill: "none",
1545
1541
  xmlns: "http://www.w3.org/2000/svg",
1546
- ...o,
1547
- children: /* @__PURE__ */ i.jsx(
1542
+ ...i,
1543
+ children: /* @__PURE__ */ o.jsx(
1548
1544
  "path",
1549
1545
  {
1550
1546
  fillRule: "evenodd",
@@ -1559,28 +1555,28 @@ const br = 2, mr = (t) => {
1559
1555
  large: { width: 13, height: 9 }
1560
1556
  }, En = ({
1561
1557
  size: t,
1562
- isChecked: a,
1563
- isDisabled: r,
1558
+ isChecked: r,
1559
+ isDisabled: a,
1564
1560
  indeterminate: n,
1565
- dataTestId: o
1561
+ dataTestId: i
1566
1562
  }) => {
1567
1563
  const { width: s, height: c } = Sn[t];
1568
- return /* @__PURE__ */ i.jsx(
1564
+ return /* @__PURE__ */ o.jsx(
1569
1565
  "div",
1570
1566
  {
1571
- className: ge.icon,
1572
- "data-testid": `${o}-icon`,
1573
- "data-checked": a,
1574
- "data-disabled": r,
1567
+ className: he.icon,
1568
+ "data-testid": `${i}-icon`,
1569
+ "data-checked": r,
1570
+ "data-disabled": a,
1575
1571
  "data-indeterminate": n,
1576
- children: n ? /* @__PURE__ */ i.jsx(wn, { width: s, height: c }) : /* @__PURE__ */ i.jsx(Cn, { width: s, height: c })
1572
+ children: n ? /* @__PURE__ */ o.jsx(wn, { width: s, height: c }) : /* @__PURE__ */ o.jsx(Cn, { width: s, height: c })
1577
1573
  }
1578
1574
  );
1579
- }, Os = K((t, a) => {
1575
+ }, Os = ee((t, r) => {
1580
1576
  const {
1581
- name: r,
1577
+ name: a,
1582
1578
  value: n,
1583
- size: o = "medium",
1579
+ size: i = "medium",
1584
1580
  indeterminate: s = !1,
1585
1581
  loading: c = !1,
1586
1582
  error: _,
@@ -1588,98 +1584,98 @@ const br = 2, mr = (t) => {
1588
1584
  containerClassName: f,
1589
1585
  className: p,
1590
1586
  containerStyle: g,
1591
- style: h,
1592
- children: b,
1593
- clickableLabel: v = !0,
1594
- tabIndex: w,
1595
- onChange: S,
1596
- "data-testid": C = "checkbox"
1597
- } = t, [x, $] = De(!1), T = n ?? x, A = d || c, O = !!_, R = T || s, B = ye(ge.container, ge[o], f), N = ye(
1598
- ge.checkbox,
1599
- ge[o],
1587
+ style: b,
1588
+ children: h,
1589
+ clickableLabel: C = !0,
1590
+ tabIndex: S,
1591
+ onChange: M,
1592
+ "data-testid": x = "checkbox"
1593
+ } = t, [m, $] = Ae(!1), k = n ?? m, A = d || c, T = !!_, N = k || s, D = pt(he.container, he[i], f), U = pt(
1594
+ he.checkbox,
1595
+ he[i],
1600
1596
  {
1601
- [ge.error]: O
1597
+ [he.error]: T
1602
1598
  },
1603
1599
  p
1604
- ), F = (j) => {
1605
- A || ($(j.target.checked), S == null || S(j.target.checked, j));
1606
- }, y = (j) => {
1600
+ ), W = (j) => {
1601
+ A || ($(j.target.checked), M == null || M(j.target.checked, j));
1602
+ }, F = (j) => {
1607
1603
  if (j.key === "Enter" && !A) {
1608
1604
  j.preventDefault();
1609
- const V = !R;
1610
- $(V), S == null || S(V);
1605
+ const V = !N;
1606
+ $(V), M == null || M(V);
1611
1607
  }
1612
- }, z = (j) => {
1613
- v || j.preventDefault();
1614
- }, D = (j) => j.stopPropagation();
1615
- return /* @__PURE__ */ i.jsxs(
1608
+ }, O = (j) => {
1609
+ C || j.preventDefault();
1610
+ }, y = (j) => j.stopPropagation();
1611
+ return /* @__PURE__ */ o.jsxs(
1616
1612
  "label",
1617
1613
  {
1618
- className: B,
1619
- htmlFor: r,
1614
+ className: D,
1615
+ htmlFor: a,
1620
1616
  style: g,
1621
- "data-testid": C,
1622
- "data-clickable-label": v,
1617
+ "data-testid": x,
1618
+ "data-clickable-label": C,
1623
1619
  children: [
1624
- /* @__PURE__ */ i.jsx("div", { className: ge.checkboxWrapper, children: /* @__PURE__ */ i.jsxs(
1620
+ /* @__PURE__ */ o.jsx("div", { className: he.checkboxWrapper, children: /* @__PURE__ */ o.jsxs(
1625
1621
  "div",
1626
1622
  {
1627
- tabIndex: w || 0,
1628
- className: N,
1629
- style: h,
1630
- onKeyDown: y,
1631
- "aria-checked": R,
1623
+ tabIndex: S || 0,
1624
+ className: U,
1625
+ style: b,
1626
+ onKeyDown: F,
1627
+ "aria-checked": N,
1632
1628
  "aria-disabled": A,
1633
- "aria-invalid": O,
1634
- "aria-describedby": _ ? `${r}-error` : void 0,
1635
- "data-testid": `${C}-label`,
1629
+ "aria-invalid": T,
1630
+ "aria-describedby": _ ? `${a}-error` : void 0,
1631
+ "data-testid": `${x}-label`,
1636
1632
  children: [
1637
- /* @__PURE__ */ i.jsx(
1633
+ /* @__PURE__ */ o.jsx(
1638
1634
  "input",
1639
1635
  {
1640
- ref: a,
1636
+ ref: r,
1641
1637
  type: "checkbox",
1642
- id: r,
1643
- name: r,
1644
- checked: R,
1638
+ id: a,
1639
+ name: a,
1640
+ checked: N,
1645
1641
  disabled: A,
1646
- className: ge.input,
1647
- onChange: F,
1648
- onClick: D,
1649
- "aria-checked": R,
1650
- "aria-invalid": O,
1651
- "aria-describedby": _ ? `${r}-error` : void 0,
1652
- "data-testid": `${C}-input`
1642
+ className: he.input,
1643
+ onChange: W,
1644
+ onClick: y,
1645
+ "aria-checked": N,
1646
+ "aria-invalid": T,
1647
+ "aria-describedby": _ ? `${a}-error` : void 0,
1648
+ "data-testid": `${x}-input`
1653
1649
  }
1654
1650
  ),
1655
- /* @__PURE__ */ i.jsx(
1651
+ /* @__PURE__ */ o.jsx(
1656
1652
  En,
1657
1653
  {
1658
- name: r,
1659
- size: o,
1660
- isChecked: R,
1654
+ name: a,
1655
+ size: i,
1656
+ isChecked: N,
1661
1657
  isDisabled: A,
1662
1658
  indeterminate: s,
1663
- dataTestId: C
1659
+ dataTestId: x
1664
1660
  }
1665
1661
  )
1666
1662
  ]
1667
1663
  }
1668
1664
  ) }),
1669
- b && /* @__PURE__ */ i.jsx(
1665
+ h && /* @__PURE__ */ o.jsx(
1670
1666
  "span",
1671
1667
  {
1672
- "data-testid": `${C}-label-text`,
1673
- "data-clickable-label": v,
1674
- className: ge.label,
1675
- onClick: z,
1676
- children: b
1668
+ "data-testid": `${x}-label-text`,
1669
+ "data-clickable-label": C,
1670
+ className: he.label,
1671
+ onClick: O,
1672
+ children: h
1677
1673
  }
1678
1674
  )
1679
1675
  ]
1680
1676
  }
1681
1677
  );
1682
- }), Ln = "_typography_zt7xg_1", Mn = "_disabled_zt7xg_8", $n = "_primary_zt7xg_13", In = "_secondary_zt7xg_18", jn = "_tertiary_zt7xg_23", Rn = "_accent_zt7xg_28", kn = "_positive_zt7xg_38", Tn = "_negative_zt7xg_48", An = "_warning_zt7xg_58", Nn = "_special_zt7xg_68", Dn = "_contrast_zt7xg_78", je = {
1678
+ }), Ln = "_typography_zt7xg_1", Mn = "_disabled_zt7xg_8", $n = "_primary_zt7xg_13", In = "_secondary_zt7xg_18", jn = "_tertiary_zt7xg_23", Rn = "_accent_zt7xg_28", kn = "_positive_zt7xg_38", Tn = "_negative_zt7xg_48", An = "_warning_zt7xg_58", Nn = "_special_zt7xg_68", Dn = "_contrast_zt7xg_78", Ie = {
1683
1679
  typography: Ln,
1684
1680
  disabled: Mn,
1685
1681
  primary: $n,
@@ -1704,11 +1700,11 @@ const br = 2, mr = (t) => {
1704
1700
  4: "h4",
1705
1701
  5: "h5"
1706
1702
  }, xt = (t) => {
1707
- const a = Et.forwardRef(
1703
+ const r = Et.forwardRef(
1708
1704
  ({
1709
- size: r = 3,
1705
+ size: a = 3,
1710
1706
  children: n,
1711
- className: o,
1707
+ className: i,
1712
1708
  "data-testid": s,
1713
1709
  as: c,
1714
1710
  fontWeight: _ = "semibold",
@@ -1716,25 +1712,25 @@ const br = 2, mr = (t) => {
1716
1712
  typographyStyle: f = "primary",
1717
1713
  ...p
1718
1714
  }, g) => {
1719
- const h = c || On[r], b = ie(
1720
- je.typography,
1721
- We[`typography-${t}-${r}-${_}`],
1722
- je[f],
1715
+ const b = c || On[a], h = Z(
1716
+ Ie.typography,
1717
+ Fe[`typography-${t}-${a}-${_}`],
1718
+ Ie[f],
1723
1719
  {
1724
- [je.disabled]: d
1720
+ [Ie.disabled]: d
1725
1721
  },
1726
- o
1722
+ i
1727
1723
  );
1728
- return n ? /* @__PURE__ */ i.jsx(h, { ref: g, className: b, "data-testid": s, ...p, children: n }) : null;
1724
+ return n ? /* @__PURE__ */ o.jsx(b, { ref: g, className: h, "data-testid": s, ...p, children: n }) : null;
1729
1725
  }
1730
1726
  );
1731
- return a.displayName = `Typography.${t === "title" ? "Title" : "Subtitle"}`, a;
1727
+ return r.displayName = `Typography.${t === "title" ? "Title" : "Subtitle"}`, r;
1732
1728
  }, Ct = (t) => {
1733
- const a = Et.forwardRef(
1729
+ const r = Et.forwardRef(
1734
1730
  ({
1735
- size: r = 3,
1731
+ size: a = 3,
1736
1732
  children: n,
1737
- className: o,
1733
+ className: i,
1738
1734
  "data-testid": s,
1739
1735
  as: c = "p",
1740
1736
  fontWeight: _ = "regular",
@@ -1742,20 +1738,20 @@ const br = 2, mr = (t) => {
1742
1738
  typographyStyle: f = "primary",
1743
1739
  ...p
1744
1740
  }, g) => {
1745
- const h = c, b = ie(
1746
- je.typography,
1747
- We[`typography-${t}-${r}-${_}`],
1748
- je[f],
1741
+ const b = c, h = Z(
1742
+ Ie.typography,
1743
+ Fe[`typography-${t}-${a}-${_}`],
1744
+ Ie[f],
1749
1745
  {
1750
- [je.disabled]: d
1746
+ [Ie.disabled]: d
1751
1747
  },
1752
- o
1748
+ i
1753
1749
  );
1754
- return n ? /* @__PURE__ */ i.jsx(
1755
- h,
1750
+ return n ? /* @__PURE__ */ o.jsx(
1751
+ b,
1756
1752
  {
1757
1753
  ref: g,
1758
- className: b,
1754
+ className: h,
1759
1755
  "data-testid": s,
1760
1756
  ...p,
1761
1757
  children: n
@@ -1763,21 +1759,21 @@ const br = 2, mr = (t) => {
1763
1759
  ) : null;
1764
1760
  }
1765
1761
  );
1766
- return a.displayName = `Typography.${t.charAt(0).toUpperCase() + t.slice(1)}`, a;
1762
+ return r.displayName = `Typography.${t.charAt(0).toUpperCase() + t.slice(1)}`, r;
1767
1763
  }, Us = {
1768
1764
  Title: xt("title"),
1769
1765
  Subtitle: xt("subtitle"),
1770
1766
  Label: Ct("label"),
1771
1767
  Paragraph: Ct("paragraph")
1772
- }, Un = "_inputBase_1m6fe_85", Pn = "_wrapper_1m6fe_95", Bn = "_gripHandle_1m6fe_169", Fn = "_error_1m6fe_230", zn = "_tabFocused_1m6fe_237", Wn = "_disabled_1m6fe_262", Vn = "_loading_1m6fe_269", Hn = "_label_1m6fe_279", Gn = "_small_1m6fe_292", Zn = "_large_1m6fe_299", qn = "_leftSection_1m6fe_306", Yn = "_rightSection_1m6fe_315", Jn = "_helper_1m6fe_351", Kn = "_floatingLabel_1m6fe_376", Xn = "_focused_1m6fe_434", Qn = "_filled_1m6fe_435", es = "_medium_1m6fe_469", ts = "_characterLimit_1m6fe_510", as = "_input_1m6fe_85", rs = "_textarea_1m6fe_109", ns = "_truncate_1m6fe_637", ss = "_hint_1m6fe_719", M = {
1768
+ }, Un = "_inputBase_2vlla_85", Pn = "_wrapper_2vlla_95", Bn = "_gripHandle_2vlla_169", Fn = "_error_2vlla_230", zn = "_tabFocused_2vlla_237", Vn = "_disabled_2vlla_262", Wn = "_loading_2vlla_269", Hn = "_label_2vlla_279", Gn = "_small_2vlla_292", Zn = "_large_2vlla_299", qn = "_leftSection_2vlla_306", Yn = "_rightSection_2vlla_315", Jn = "_helper_2vlla_351", Kn = "_floatingLabel_2vlla_376", Xn = "_focused_2vlla_434", Qn = "_filled_2vlla_435", es = "_medium_2vlla_469", ts = "_characterLimit_2vlla_510", as = "_input_2vlla_85", rs = "_textarea_2vlla_109", ns = "_truncate_2vlla_637", ss = "_hint_2vlla_719", L = {
1773
1769
  inputBase: Un,
1774
1770
  wrapper: Pn,
1775
- "textarea-wrapper": "_textarea-wrapper_1m6fe_109",
1771
+ "textarea-wrapper": "_textarea-wrapper_2vlla_109",
1776
1772
  gripHandle: Bn,
1777
1773
  error: Fn,
1778
1774
  tabFocused: zn,
1779
- disabled: Wn,
1780
- loading: Vn,
1775
+ disabled: Vn,
1776
+ loading: Wn,
1781
1777
  label: Hn,
1782
1778
  small: Gn,
1783
1779
  large: Zn,
@@ -1791,28 +1787,30 @@ const br = 2, mr = (t) => {
1791
1787
  characterLimit: ts,
1792
1788
  input: as,
1793
1789
  textarea: rs,
1794
- "size-small": "_size-small_1m6fe_586",
1795
- "size-medium": "_size-medium_1m6fe_592",
1796
- "size-large": "_size-large_1m6fe_598",
1797
- "with-floating-label": "_with-floating-label_1m6fe_605",
1790
+ "size-small": "_size-small_2vlla_586",
1791
+ "size-medium": "_size-medium_2vlla_592",
1792
+ "size-large": "_size-large_2vlla_598",
1793
+ "with-floating-label": "_with-floating-label_2vlla_605",
1798
1794
  truncate: ns,
1799
1795
  hint: ss,
1800
- "has-hint": "_has-hint_1m6fe_736"
1796
+ "has-hint": "_has-hint_2vlla_736",
1797
+ "has-suffix": "_has-suffix_2vlla_742",
1798
+ "has-limit": "_has-limit_2vlla_748"
1801
1799
  }, os = ({
1802
1800
  width: t = 8,
1803
- height: a = 8,
1804
- className: r,
1801
+ height: r = 8,
1802
+ className: a,
1805
1803
  color: n = "#AABBCA"
1806
- }) => /* @__PURE__ */ i.jsx(
1804
+ }) => /* @__PURE__ */ o.jsx(
1807
1805
  "svg",
1808
1806
  {
1809
1807
  width: t,
1810
- height: a,
1808
+ height: r,
1811
1809
  viewBox: "0 0 8 8",
1812
1810
  fill: "none",
1813
1811
  xmlns: "http://www.w3.org/2000/svg",
1814
- className: r,
1815
- children: /* @__PURE__ */ i.jsx(
1812
+ className: a,
1813
+ children: /* @__PURE__ */ o.jsx(
1816
1814
  "path",
1817
1815
  {
1818
1816
  fillRule: "evenodd",
@@ -1822,138 +1820,141 @@ const br = 2, mr = (t) => {
1822
1820
  }
1823
1821
  )
1824
1822
  }
1825
- ), is = (t, a) => {
1826
- const r = ze(null), n = ze(null);
1827
- return Re(() => {
1828
- const o = a === "textarea" ? r.current : n.current;
1829
- o && o.value !== t && (o.value = t || "");
1830
- }, [t, a]), {
1831
- textareaRef: r,
1823
+ ), is = (t, r) => {
1824
+ const a = Be(null), n = Be(null);
1825
+ return je(() => {
1826
+ const i = r === "textarea" ? a.current : n.current;
1827
+ i && i.value !== t && (i.value = t || "");
1828
+ }, [t, r]), {
1829
+ textareaRef: a,
1832
1830
  inputRef: n,
1833
- currentRef: a === "textarea" ? r : n
1831
+ currentRef: r === "textarea" ? a : n
1834
1832
  };
1835
- }, ls = (t, a, r) => {
1833
+ }, ls = (t, r, a) => {
1836
1834
  const n = () => {
1837
- if (!r.current || a !== "hug") return;
1838
- const o = r.current.scrollTop;
1839
- if (r.current.style.setProperty("height", "auto", "important"), !t) return;
1840
- const s = r.current.scrollHeight + "px";
1841
- r.current.style.setProperty("height", s, "important"), r.current.scrollTop = o;
1842
- const c = r.current.closest(`.${M.wrapper}`);
1835
+ if (!a.current || r !== "hug") return;
1836
+ const i = a.current.scrollTop;
1837
+ if (a.current.style.setProperty("height", "auto", "important"), !t) return;
1838
+ const s = a.current.scrollHeight + "px";
1839
+ a.current.style.setProperty("height", s, "important"), a.current.scrollTop = i;
1840
+ const c = a.current.closest(`.${L.wrapper}`);
1843
1841
  c && (c.setAttribute("data-resize", "hug"), c.setAttribute("data-show-grip", "false"));
1844
1842
  };
1845
- return Re(n, [t, a]), Re(() => {
1846
- a === "hug" && r.current && n();
1843
+ return je(n, [t, r]), je(() => {
1844
+ r === "hug" && a.current && n();
1847
1845
  }, []), { resizeTextArea: n };
1848
- }, cs = (t, a, r, n) => ({ handleGripMouseDown: Se(
1846
+ }, cs = (t, r, a, n) => ({ handleGripMouseDown: Ee(
1849
1847
  (s) => {
1850
- if (!t || a || r || !(n === "fixed" || !n)) return;
1848
+ if (!t || r || a || !(n === "fixed" || !n)) return;
1851
1849
  s.preventDefault(), s.stopPropagation();
1852
- const c = s.currentTarget.closest(`.${M.wrapper}`);
1850
+ const c = s.currentTarget.closest(`.${L.wrapper}`);
1853
1851
  if (!c) return;
1854
1852
  const _ = s.clientY, d = c.clientHeight, f = (g) => {
1855
- const h = g.clientY - _, b = Math.min(100, d), v = Math.max(b, d + h);
1856
- c.style.height = `${v}px`;
1853
+ const b = g.clientY - _, h = Math.min(100, d), C = Math.max(h, d + b);
1854
+ c.style.height = `${C}px`;
1857
1855
  }, p = () => {
1858
1856
  document.removeEventListener("mousemove", f), document.removeEventListener("mouseup", p);
1859
1857
  };
1860
1858
  document.addEventListener("mousemove", f), document.addEventListener("mouseup", p);
1861
1859
  },
1862
- [t, a, r, n]
1863
- ) }), wt = 30, ds = K(
1860
+ [t, r, a, n]
1861
+ ) }), wt = 30, ds = ee(
1864
1862
  ({
1865
1863
  component: t = "input",
1866
- size: a = "medium",
1867
- value: r = "",
1864
+ size: r = "medium",
1865
+ value: a = "",
1868
1866
  placeholder: n,
1869
- disabled: o = !1,
1867
+ disabled: i = !1,
1870
1868
  loading: s = !1,
1871
1869
  onFocus: c,
1872
1870
  onBlur: _,
1873
1871
  onChange: d,
1874
- onKeyUp: f,
1875
- maxLength: p,
1876
- className: g,
1872
+ onKeyDown: f,
1873
+ onKeyUp: p,
1874
+ maxLength: g,
1875
+ className: b,
1877
1876
  style: h,
1878
- truncate: b = !1,
1879
- shouldShowFloatingLabelClass: v = !1,
1880
- "aria-invalid": w,
1881
- "aria-errormessage": S,
1882
- id: C,
1883
- resize: x,
1884
- ...$
1885
- }, T) => {
1886
- const { textareaRef: A, inputRef: O, currentRef: R } = is(r, t);
1887
- if (ls(r, x, A), oa(T, () => R.current, [R]), t === "textarea")
1888
- return /* @__PURE__ */ i.jsx(
1877
+ truncate: C = !1,
1878
+ shouldShowFloatingLabelClass: S = !1,
1879
+ "aria-invalid": M,
1880
+ "aria-errormessage": x,
1881
+ id: m,
1882
+ resize: $,
1883
+ ...k
1884
+ }, A) => {
1885
+ const { textareaRef: T, inputRef: N, currentRef: D } = is(a, t);
1886
+ if (ls(a, $, T), oa(A, () => D.current, [D]), t === "textarea")
1887
+ return /* @__PURE__ */ o.jsx(
1889
1888
  "textarea",
1890
1889
  {
1891
- ref: A,
1892
- id: C,
1893
- value: r,
1890
+ ref: T,
1891
+ id: m,
1892
+ value: a,
1894
1893
  placeholder: n,
1895
- disabled: o || s,
1894
+ disabled: i || s,
1896
1895
  onFocus: c,
1897
1896
  onBlur: _,
1898
1897
  onChange: d,
1899
- onKeyUp: f,
1900
- maxLength: p,
1901
- className: ye(
1902
- M.textarea,
1903
- M[`size-${a}`],
1904
- v && M["with-floating-label"],
1905
- g
1898
+ onKeyDown: f,
1899
+ onKeyUp: p,
1900
+ maxLength: g,
1901
+ className: Z(
1902
+ L.textarea,
1903
+ L[`size-${r}`],
1904
+ S && L["with-floating-label"],
1905
+ b
1906
1906
  ),
1907
1907
  style: h,
1908
- "aria-invalid": w,
1909
- "aria-errormessage": S,
1910
- "aria-describedby": S ? `${C}-error` : void 0,
1908
+ "aria-invalid": M,
1909
+ "aria-errormessage": x,
1910
+ "aria-describedby": x ? `${m}-error` : void 0,
1911
1911
  tabIndex: 0,
1912
- "data-resize": x,
1913
- ...$
1912
+ "data-resize": $,
1913
+ ...k
1914
1914
  }
1915
1915
  );
1916
1916
  if (t === "input")
1917
- return /* @__PURE__ */ i.jsx(
1917
+ return /* @__PURE__ */ o.jsx(
1918
1918
  "input",
1919
1919
  {
1920
- ref: O,
1921
- id: C,
1922
- value: r,
1920
+ ref: N,
1921
+ id: m,
1922
+ value: a,
1923
1923
  placeholder: n,
1924
- disabled: o || s,
1924
+ disabled: i || s,
1925
1925
  onFocus: c,
1926
1926
  onBlur: _,
1927
1927
  onChange: d,
1928
- onKeyUp: f,
1929
- maxLength: p,
1930
- className: ye(
1931
- M.input,
1932
- M[`size-${a}`],
1933
- v && M["with-floating-label"],
1934
- b && M.truncate,
1935
- g
1928
+ onKeyDown: f,
1929
+ onKeyUp: p,
1930
+ maxLength: g,
1931
+ className: Z(
1932
+ L.input,
1933
+ L[`size-${r}`],
1934
+ S && L["with-floating-label"],
1935
+ C && L.truncate,
1936
+ b
1936
1937
  ),
1937
1938
  style: h,
1938
- "aria-invalid": w,
1939
- "aria-errormessage": S,
1940
- "aria-describedby": S ? `${C}-error` : void 0,
1939
+ "aria-invalid": M,
1940
+ "aria-errormessage": x,
1941
+ "aria-describedby": x ? `${m}-error` : void 0,
1941
1942
  tabIndex: 0,
1942
- ...$
1943
+ ...k
1943
1944
  }
1944
1945
  );
1945
1946
  if (t !== "input" && t !== "textarea")
1946
1947
  return console.error(
1947
- `[Input] Недопустимое значение prop 'component': "${t}". Допустимые значения: 'input', 'textarea'`
1948
+ `[Input] Недопустимое значение prop 'component': "${String(t)}". Допустимые значения: 'input', 'textarea'`
1948
1949
  ), null;
1949
1950
  }
1950
- ), kt = K(
1951
+ ), kt = ee(
1951
1952
  ({
1952
1953
  children: t,
1953
- size: a = "medium",
1954
- error: r = !1,
1954
+ size: r = "medium",
1955
+ error: a = !1,
1955
1956
  disabled: n = !1,
1956
- loading: o = !1,
1957
+ loading: i = !1,
1957
1958
  className: s,
1958
1959
  wrapperProps: c,
1959
1960
  wrapperStyles: _,
@@ -1961,99 +1962,111 @@ const br = 2, mr = (t) => {
1961
1962
  prefixStyles: f,
1962
1963
  suffixStyles: p,
1963
1964
  labelProps: g,
1964
- helperProps: h,
1965
- showLimit: b = !1,
1966
- maxLength: v,
1967
- hint: w,
1968
- showHint: S = !1,
1969
- showHintOnEmpty: C = !1,
1970
- prefix: x,
1965
+ helperProps: b,
1966
+ showLimit: h = !1,
1967
+ maxLength: C,
1968
+ hint: S,
1969
+ showHint: M = !1,
1970
+ showHintOnEmpty: x = !1,
1971
+ prefix: m,
1971
1972
  suffix: $,
1972
- placeholder: T,
1973
- showLabel: A = !0,
1974
- labelClassName: O,
1975
- hasValue: R = !1,
1976
- helper: B,
1977
- id: N,
1973
+ onSuffixClick: k,
1974
+ placeholder: A,
1975
+ showLabel: T = !0,
1976
+ labelClassName: N,
1977
+ hasValue: D = !1,
1978
+ helper: U,
1979
+ id: W,
1978
1980
  value: F = "",
1979
- resize: y,
1980
- showGrip: z = !1,
1981
- ...D
1982
- }, j) => {
1983
- const V = $t(), H = N || V, X = S && w && (R || C), G = w && w.length > wt ? w.substring(0, wt) + "..." : w, ee = ye(
1984
- M.wrapper,
1985
- r && M.error,
1986
- n && M.disabled,
1987
- o && M.loading,
1988
- X && M["has-hint"],
1981
+ resize: O,
1982
+ showGrip: y = !1,
1983
+ ...j
1984
+ }, V) => {
1985
+ const te = $t(), q = W || te, X = M && S && (D || x), ae = S && S.length > wt ? S.substring(0, wt) + "..." : S, Y = Z(
1986
+ L.wrapper,
1987
+ a && L.error,
1988
+ n && L.disabled,
1989
+ i && L.loading,
1990
+ X && L["has-hint"],
1991
+ $ && L["has-suffix"],
1992
+ h && L["has-limit"],
1989
1993
  s
1990
- ), te = ye(
1991
- M.floatingLabel,
1992
- M[a],
1993
- R && M.filled,
1994
- O
1995
- ), { handleGripMouseDown: ae } = cs(z, n, o, y);
1996
- return /* @__PURE__ */ i.jsxs("div", { ref: j, className: M.inputBase, "data-testid": "input-base-wrapper", ...D, children: [
1997
- /* @__PURE__ */ i.jsxs(
1994
+ ), re = Z(
1995
+ L.floatingLabel,
1996
+ L[r],
1997
+ D && L.filled,
1998
+ N
1999
+ ), { handleGripMouseDown: ne } = cs(y, n, i, O);
2000
+ return /* @__PURE__ */ o.jsxs("div", { ref: V, className: L.inputBase, "data-testid": "input-base-wrapper", ...j, children: [
2001
+ /* @__PURE__ */ o.jsxs(
1998
2002
  "div",
1999
2003
  {
2000
- className: ee,
2004
+ className: Y,
2001
2005
  style: _,
2002
- "data-resize": y,
2003
- "data-show-grip": z ? "true" : "false",
2006
+ "data-resize": O,
2007
+ "data-show-grip": y ? "true" : "false",
2004
2008
  ...c,
2005
2009
  children: [
2006
- x && /* @__PURE__ */ i.jsx("label", { htmlFor: H, className: M.leftSection, style: f, children: x }),
2007
- $ && /* @__PURE__ */ i.jsx("label", { htmlFor: H, className: M.rightSection, style: p, children: $ }),
2008
- T && A && /* @__PURE__ */ i.jsx(
2010
+ m && /* @__PURE__ */ o.jsx("label", { htmlFor: q, className: L.leftSection, style: f, children: m }),
2011
+ $ && /* @__PURE__ */ o.jsx(
2012
+ "label",
2013
+ {
2014
+ htmlFor: q,
2015
+ className: L.rightSection,
2016
+ style: p,
2017
+ onClick: k,
2018
+ children: $
2019
+ }
2020
+ ),
2021
+ A && T && /* @__PURE__ */ o.jsx(
2009
2022
  "label",
2010
2023
  {
2011
- htmlFor: H,
2012
- className: te,
2024
+ htmlFor: q,
2025
+ className: re,
2013
2026
  style: d,
2014
2027
  ...g,
2015
- children: T
2028
+ children: A
2016
2029
  }
2017
2030
  ),
2018
2031
  t,
2019
- z && !b && (y === "fixed" || !y) && /* @__PURE__ */ i.jsx(
2032
+ y && !h && (O === "fixed" || !O) && /* @__PURE__ */ o.jsx(
2020
2033
  "div",
2021
2034
  {
2022
- className: M.gripHandle,
2023
- onMouseDown: ae,
2035
+ className: L.gripHandle,
2036
+ onMouseDown: ne,
2024
2037
  role: "button",
2025
2038
  tabIndex: -1,
2026
2039
  "aria-label": "Изменить размер",
2027
- children: /* @__PURE__ */ i.jsx(os, {})
2040
+ children: /* @__PURE__ */ o.jsx(os, {})
2028
2041
  }
2029
2042
  ),
2030
- X && /* @__PURE__ */ i.jsx(
2043
+ X && /* @__PURE__ */ o.jsx(
2031
2044
  "div",
2032
2045
  {
2033
- className: ye(M.hint, R && M.truncate),
2034
- "data-disabled": n || o,
2035
- children: G
2046
+ className: Z(L.hint, D && L.truncate),
2047
+ "data-disabled": n || i,
2048
+ children: ae
2036
2049
  }
2037
2050
  ),
2038
- b && v && /* @__PURE__ */ i.jsxs("div", { className: M.characterLimit, children: [
2051
+ h && C && /* @__PURE__ */ o.jsxs("div", { className: L.characterLimit, children: [
2039
2052
  (F || "").length,
2040
2053
  " из ",
2041
- v
2054
+ C
2042
2055
  ] })
2043
2056
  ]
2044
2057
  }
2045
2058
  ),
2046
- B && /* @__PURE__ */ i.jsx(
2059
+ U && /* @__PURE__ */ o.jsx(
2047
2060
  "div",
2048
2061
  {
2049
- className: ye(
2050
- M.helper,
2051
- r && M.error,
2052
- (n || o) && M.disabled
2062
+ className: Z(
2063
+ L.helper,
2064
+ a && L.error,
2065
+ (n || i) && L.disabled
2053
2066
  ),
2054
- ...h,
2055
- id: r ? `${H}-error` : void 0,
2056
- children: B
2067
+ ...b,
2068
+ id: a ? `${q}-error` : void 0,
2069
+ children: U
2057
2070
  }
2058
2071
  )
2059
2072
  ] });
@@ -2062,13 +2075,13 @@ const br = 2, mr = (t) => {
2062
2075
  kt.displayName = "InputWrapperComponent";
2063
2076
  const St = Object.assign(ds, {
2064
2077
  Wrapper: kt
2065
- }), Tt = K(
2078
+ }), Tt = ee(
2066
2079
  ({
2067
2080
  component: t = "input",
2068
- size: a = "medium",
2069
- className: r,
2081
+ size: r = "medium",
2082
+ className: a,
2070
2083
  error: n = !1,
2071
- disabled: o = !1,
2084
+ disabled: i = !1,
2072
2085
  loading: s = !1,
2073
2086
  placeholder: c,
2074
2087
  showLabel: _ = !0,
@@ -2076,131 +2089,135 @@ const St = Object.assign(ds, {
2076
2089
  helper: f,
2077
2090
  prefix: p,
2078
2091
  suffix: g,
2079
- id: h,
2080
- onFocus: b,
2081
- onBlur: v,
2082
- onChange: w,
2083
- value: S = "",
2084
- wrapperProps: C,
2085
- wrapperStyles: x,
2086
- floatingLabelStyles: $,
2092
+ id: b,
2093
+ onFocus: h,
2094
+ onBlur: C,
2095
+ onKeyDown: S,
2096
+ onSuffixClick: M,
2097
+ onChange: x,
2098
+ value: m = "",
2099
+ wrapperProps: $,
2100
+ wrapperStyles: k,
2101
+ floatingLabelStyles: A,
2087
2102
  prefixStyles: T,
2088
- suffixStyles: A,
2089
- textareaStyles: O,
2090
- labelProps: R,
2091
- helperProps: B,
2092
- showLimit: N = !1,
2093
- maxLength: F,
2103
+ suffixStyles: N,
2104
+ textareaStyles: D,
2105
+ labelProps: U,
2106
+ helperProps: W,
2107
+ showLimit: F = !1,
2108
+ maxLength: O,
2094
2109
  inputProps: y,
2095
- hint: z,
2096
- showHint: D = !1,
2097
- showHintOnEmpty: j = !1,
2098
- truncate: V = !1,
2099
- resize: H,
2100
- showGrip: X = !1,
2101
- ...G
2102
- }, ee) => {
2103
- const te = $t(), ae = h || te, [me, re] = De(S), ve = S !== void 0 ? S : me, Ee = (ve || "").length > 0, ue = _ && (a === "large" || t === "textarea") && !p, le = Se(
2104
- (Y) => {
2105
- var Q;
2106
- o || s || (b == null || b(), (Q = y == null ? void 0 : y.onFocus) == null || Q.call(
2110
+ hint: j,
2111
+ showHint: V = !1,
2112
+ showHintOnEmpty: te = !1,
2113
+ truncate: q = !1,
2114
+ resize: X,
2115
+ showGrip: ae = !1,
2116
+ ...Y
2117
+ }, re) => {
2118
+ const ne = $t(), ue = b || ne, [xe, le] = Ae(m), ye = m !== void 0 ? m : xe, _e = (ye || "").length > 0, ce = ye || "", pe = _ && (r === "large" || t === "textarea") && !p, Ce = Ee(
2119
+ (H) => {
2120
+ var G;
2121
+ i || s || (h == null || h(), (G = y == null ? void 0 : y.onFocus) == null || G.call(
2107
2122
  y,
2108
- Y
2123
+ H
2109
2124
  ));
2110
2125
  },
2111
- [b, y, o, s]
2112
- ), _e = Se(
2113
- (Y) => {
2114
- var Q;
2115
- if (Y.key === "Tab") {
2116
- const de = Y.target.closest(`.${M.wrapper}`);
2117
- de && de.classList.add(M.tabFocused);
2126
+ [h, y, i, s]
2127
+ ), Ne = Ee(
2128
+ (H) => {
2129
+ var G;
2130
+ if (H.key === "Tab") {
2131
+ const de = H.target.closest(`.${L.wrapper}`);
2132
+ de && de.classList.add(L.tabFocused);
2118
2133
  }
2119
- (Q = y == null ? void 0 : y.onKeyUp) == null || Q.call(
2134
+ (G = y == null ? void 0 : y.onKeyUp) == null || G.call(
2120
2135
  y,
2121
- Y
2136
+ H
2122
2137
  );
2123
2138
  },
2124
2139
  [y]
2125
- ), ce = Se(
2126
- (Y) => {
2140
+ ), ze = Ee(
2141
+ (H) => {
2127
2142
  var de;
2128
- const Q = Y.target.closest(`.${M.wrapper}`);
2129
- Q && Q.classList.remove(M.tabFocused), v == null || v(), (de = y == null ? void 0 : y.onBlur) == null || de.call(
2143
+ const G = H.target.closest(`.${L.wrapper}`);
2144
+ G && G.classList.remove(L.tabFocused), C == null || C(), (de = y == null ? void 0 : y.onBlur) == null || de.call(
2130
2145
  y,
2131
- Y
2146
+ H
2132
2147
  );
2133
2148
  },
2134
- [v, y]
2135
- ), xe = Se(
2136
- (Y) => {
2149
+ [C, y]
2150
+ ), Ve = Ee(
2151
+ (H) => {
2137
2152
  var de;
2138
- if (o || s) return;
2139
- const Q = Y.target.value;
2140
- re(Q), w == null || w(Q), (de = y == null ? void 0 : y.onChange) == null || de.call(
2153
+ if (i || s) return;
2154
+ const G = H.target.value;
2155
+ le(G), x == null || x(G, H), (de = y == null ? void 0 : y.onChange) == null || de.call(
2141
2156
  y,
2142
- Y
2157
+ H
2143
2158
  );
2144
2159
  },
2145
- [w, y, o, s]
2160
+ [x, y, i, s]
2146
2161
  );
2147
- return Re(() => {
2148
- re(S);
2149
- }, [S]), /* @__PURE__ */ i.jsx(
2162
+ return je(() => {
2163
+ le(m || "");
2164
+ }, [m]), /* @__PURE__ */ o.jsx(
2150
2165
  St.Wrapper,
2151
2166
  {
2152
- ref: ee,
2153
- size: a,
2167
+ ref: re,
2168
+ size: r,
2154
2169
  error: n,
2155
- disabled: o || s,
2170
+ disabled: i || s,
2156
2171
  loading: s,
2157
- className: ie(r, t === "textarea" && M["textarea-wrapper"]),
2158
- wrapperProps: C,
2159
- wrapperStyles: x,
2160
- floatingLabelStyles: $,
2172
+ className: Z(a, t === "textarea" && L["textarea-wrapper"]),
2173
+ wrapperProps: $,
2174
+ wrapperStyles: k,
2175
+ floatingLabelStyles: A,
2161
2176
  prefixStyles: T,
2162
- suffixStyles: A,
2163
- labelProps: R,
2164
- helperProps: B,
2165
- showLimit: N,
2166
- maxLength: F,
2167
- hint: z,
2168
- showHint: D,
2169
- showHintOnEmpty: j,
2177
+ suffixStyles: N,
2178
+ labelProps: U,
2179
+ helperProps: W,
2180
+ showLimit: F,
2181
+ maxLength: O,
2182
+ hint: j,
2183
+ showHint: V,
2184
+ showHintOnEmpty: te,
2170
2185
  prefix: p,
2171
2186
  suffix: g,
2187
+ onSuffixClick: M,
2172
2188
  placeholder: c,
2173
2189
  showLabel: _,
2174
2190
  labelClassName: d,
2175
- hasValue: Ee,
2191
+ hasValue: _e,
2176
2192
  helper: f,
2177
- id: ae,
2178
- value: ve,
2179
- showGrip: X,
2180
- resize: H,
2181
- ...G,
2182
- children: /* @__PURE__ */ i.jsx(
2193
+ id: ue,
2194
+ value: ce,
2195
+ showGrip: ae,
2196
+ resize: X,
2197
+ ...Y,
2198
+ children: /* @__PURE__ */ o.jsx(
2183
2199
  St,
2184
2200
  {
2185
2201
  component: t,
2186
- size: a,
2187
- value: ve,
2202
+ size: r,
2203
+ value: ce,
2188
2204
  placeholder: c,
2189
- disabled: o,
2205
+ disabled: i,
2190
2206
  loading: s,
2191
- onFocus: le,
2192
- onBlur: ce,
2193
- onChange: xe,
2194
- onKeyUp: _e,
2195
- maxLength: F,
2196
- truncate: V,
2197
- "data-empty": !Ee,
2198
- shouldShowFloatingLabelClass: ue,
2199
- style: t === "textarea" ? O : void 0,
2207
+ onFocus: Ce,
2208
+ onBlur: ze,
2209
+ onChange: Ve,
2210
+ onKeyDown: S,
2211
+ onKeyUp: Ne,
2212
+ maxLength: O,
2213
+ truncate: q,
2214
+ "data-empty": !_e,
2215
+ shouldShowFloatingLabelClass: pe,
2216
+ style: t === "textarea" ? D : void 0,
2200
2217
  "aria-invalid": !!n,
2201
- "aria-errormessage": n ? `${ae}-error` : void 0,
2202
- id: ae,
2203
- resize: H,
2218
+ "aria-errormessage": n ? `${ue}-error` : void 0,
2219
+ id: ue,
2220
+ resize: X,
2204
2221
  ...y
2205
2222
  }
2206
2223
  )
@@ -2209,10 +2226,10 @@ const St = Object.assign(ds, {
2209
2226
  }
2210
2227
  ), At = ({
2211
2228
  className: t = "",
2212
- style: a,
2213
- size: r = "md",
2229
+ style: r,
2230
+ size: a = "md",
2214
2231
  color: n = "currentColor",
2215
- onClick: o,
2232
+ onClick: i,
2216
2233
  ...s
2217
2234
  }) => {
2218
2235
  const _ = {
@@ -2225,10 +2242,10 @@ const St = Object.assign(ds, {
2225
2242
  sm: { width: "24px", height: "24px" },
2226
2243
  md: { width: "32px", height: "32px" },
2227
2244
  lg: { width: "40px", height: "40px" }
2228
- }[r],
2229
- ...a
2245
+ }[a],
2246
+ ...r
2230
2247
  };
2231
- return /* @__PURE__ */ i.jsx(
2248
+ return /* @__PURE__ */ o.jsx(
2232
2249
  "svg",
2233
2250
  {
2234
2251
  className: t,
@@ -2236,9 +2253,9 @@ const St = Object.assign(ds, {
2236
2253
  viewBox: "0 0 16 16",
2237
2254
  fill: "none",
2238
2255
  xmlns: "http://www.w3.org/2000/svg",
2239
- onClick: o,
2256
+ onClick: i,
2240
2257
  ...s,
2241
- children: /* @__PURE__ */ i.jsx(
2258
+ children: /* @__PURE__ */ o.jsx(
2242
2259
  "path",
2243
2260
  {
2244
2261
  d: "M12 4L4 12M4 4L12 12",
@@ -2250,103 +2267,103 @@ const St = Object.assign(ds, {
2250
2267
  )
2251
2268
  }
2252
2269
  );
2253
- }, q = {
2270
+ }, K = {
2254
2271
  SMALL: "small",
2255
2272
  MEDIUM: "medium",
2256
2273
  LARGE: "large"
2257
- }, us = (t, a, r, n) => {
2274
+ }, us = (t, r, a, n) => {
2258
2275
  switch (t) {
2259
- case q.LARGE:
2260
- return a && r ? "8px 16px 8px 16px" : "16px 16px 16px 16px";
2261
- case q.MEDIUM:
2276
+ case K.LARGE:
2277
+ return r && a ? "8px 16px 8px 16px" : "16px 16px 16px 16px";
2278
+ case K.MEDIUM:
2262
2279
  return n ? "12px 12px 12px 12px" : "12px 12px 12px 16px";
2263
- case q.SMALL:
2280
+ case K.SMALL:
2264
2281
  return "10px 12px 10px 12px";
2265
2282
  default:
2266
2283
  return "12px 16px 12px 16px";
2267
2284
  }
2268
2285
  }, _s = (t) => {
2269
2286
  switch (t) {
2270
- case q.LARGE:
2287
+ case K.LARGE:
2271
2288
  return "56px";
2272
- case q.MEDIUM:
2289
+ case K.MEDIUM:
2273
2290
  return "48px";
2274
- case q.SMALL:
2291
+ case K.SMALL:
2275
2292
  return "40px";
2276
2293
  default:
2277
2294
  return "48px";
2278
2295
  }
2279
2296
  }, ps = (t) => {
2280
2297
  switch (t) {
2281
- case q.SMALL:
2298
+ case K.SMALL:
2282
2299
  return 8;
2283
2300
  // 8px для small
2284
- case q.MEDIUM:
2285
- case q.LARGE:
2301
+ case K.MEDIUM:
2302
+ case K.LARGE:
2286
2303
  return 12;
2287
2304
  // 12px для medium и large
2288
2305
  default:
2289
2306
  return 12;
2290
2307
  }
2291
- }, fs = (t, a, r) => ({
2308
+ }, fs = (t, r, a) => ({
2292
2309
  wrapperStyles: {
2293
2310
  height: t,
2294
2311
  minHeight: t,
2295
2312
  maxHeight: t,
2296
2313
  boxSizing: "border-box",
2297
- padding: a
2314
+ padding: r
2298
2315
  },
2299
2316
  floatingLabelStyles: {
2300
2317
  left: "16px",
2301
2318
  transformOrigin: "left top"
2302
2319
  },
2303
2320
  prefixStyles: {
2304
- paddingRight: `${r}px`
2321
+ paddingRight: `${a}px`
2305
2322
  },
2306
2323
  suffixStyles: {
2307
- right: `${r}px`
2324
+ right: `${a}px`
2308
2325
  }
2309
- }), gs = (t, a, r) => ({
2326
+ }), gs = (t, r, a) => ({
2310
2327
  wrapperStyles: {
2311
2328
  minHeight: t,
2312
2329
  maxHeight: t,
2313
2330
  boxSizing: "border-box",
2314
- padding: a
2331
+ padding: r
2315
2332
  },
2316
2333
  floatingLabelStyles: {
2317
2334
  left: "16px"
2318
2335
  },
2319
2336
  prefixStyles: {
2320
- paddingRight: `${r}px`
2337
+ paddingRight: `${a}px`
2321
2338
  },
2322
2339
  suffixStyles: {
2323
- right: `${r}px`
2340
+ right: `${a}px`
2324
2341
  }
2325
- }), hs = (t, a, r) => ({
2342
+ }), hs = (t, r, a) => ({
2326
2343
  wrapperStyles: {
2327
2344
  minHeight: t,
2328
2345
  maxHeight: t,
2329
2346
  boxSizing: "border-box",
2330
- padding: a
2347
+ padding: r
2331
2348
  },
2332
2349
  floatingLabelStyles: {
2333
2350
  left: "12px"
2334
2351
  },
2335
2352
  prefixStyles: {
2336
- paddingRight: `${r}px`
2353
+ paddingRight: `${a}px`
2337
2354
  },
2338
2355
  suffixStyles: {
2339
- right: `${r}px`
2356
+ right: `${a}px`
2340
2357
  }
2341
- }), bs = (t, a, r, n) => {
2342
- const o = _s(t), s = us(t, a, r, n), c = ps(t);
2358
+ }), bs = (t, r, a, n) => {
2359
+ const i = _s(t), s = us(t, r, a, n), c = ps(t);
2343
2360
  switch (t) {
2344
- case q.LARGE:
2345
- return fs(o, s, c);
2346
- case q.MEDIUM:
2347
- return gs(o, s, c);
2348
- case q.SMALL:
2349
- return hs(o, s, c);
2361
+ case K.LARGE:
2362
+ return fs(i, s, c);
2363
+ case K.MEDIUM:
2364
+ return gs(i, s, c);
2365
+ case K.SMALL:
2366
+ return hs(i, s, c);
2350
2367
  default:
2351
2368
  return {
2352
2369
  wrapperStyles: {},
@@ -2355,201 +2372,204 @@ const St = Object.assign(ds, {
2355
2372
  suffixStyles: {}
2356
2373
  };
2357
2374
  }
2358
- }, Ps = K(
2375
+ }, Ps = ee(
2359
2376
  ({
2360
2377
  value: t = "",
2361
- onChange: a,
2362
- type: r = "text",
2378
+ onChange: r,
2379
+ type: a = "text",
2363
2380
  placeholder: n,
2364
- maxLength: o,
2381
+ maxLength: i,
2365
2382
  minLength: s,
2366
2383
  autoComplete: c,
2367
2384
  autoFocus: _,
2368
- size: d = q.MEDIUM,
2385
+ size: d = K.MEDIUM,
2369
2386
  inputProps: f,
2370
2387
  error: p,
2371
2388
  disabled: g,
2372
- loading: h,
2373
- helper: b,
2374
- prefix: v,
2375
- suffix: w,
2376
- clearable: S = !1,
2377
- id: C,
2378
- showLabel: x = !0,
2389
+ loading: b,
2390
+ helper: h,
2391
+ prefix: C,
2392
+ suffix: S,
2393
+ clearable: M = !1,
2394
+ id: x,
2395
+ showLabel: m = !0,
2379
2396
  onFocus: $,
2380
- onBlur: T,
2381
- className: A,
2382
- truncate: O = !0,
2383
- hint: R,
2384
- showHint: B = !1,
2385
- showHintOnEmpty: N = !1,
2386
- wrapperProps: F,
2397
+ onBlur: k,
2398
+ onSuffixClick: A,
2399
+ onClear: T,
2400
+ className: N,
2401
+ truncate: D = !0,
2402
+ hint: U,
2403
+ showHint: W = !1,
2404
+ showHintOnEmpty: F = !1,
2405
+ wrapperProps: O,
2387
2406
  labelProps: y,
2388
- helperProps: z,
2389
- ...D
2390
- }, j) => {
2391
- const V = (t || "").length > 0, H = d === q.LARGE, X = !!v, G = H && x && !v, ee = S && V && !(g || h), te = () => {
2392
- a == null || a("");
2393
- }, ae = ee ? /* @__PURE__ */ i.jsx(
2407
+ helperProps: j,
2408
+ ...V
2409
+ }, te) => {
2410
+ const q = (t || "").length > 0, X = d === K.LARGE, ae = !!C, Y = X && m && !C, re = M && q && !(g || b), ne = () => {
2411
+ r == null || r(""), T == null || T();
2412
+ }, ue = re ? /* @__PURE__ */ o.jsx(
2394
2413
  At,
2395
2414
  {
2396
- size: d === q.SMALL ? "xs" : "sm",
2415
+ size: d === K.SMALL ? "xs" : "sm",
2397
2416
  color: "var(--icon-secondary)",
2398
- onClick: te,
2417
+ onClick: ne,
2399
2418
  style: { cursor: "pointer" },
2400
2419
  "data-testid": "x-icon"
2401
2420
  }
2402
- ) : w, me = {
2403
- type: r,
2421
+ ) : S, xe = {
2422
+ type: a,
2404
2423
  minLength: s,
2405
2424
  autoComplete: c,
2406
2425
  autoFocus: _,
2407
2426
  ...f
2408
- }, re = bs(d, G, V, X);
2409
- return /* @__PURE__ */ i.jsx(
2427
+ }, le = bs(d, Y, q, ae);
2428
+ return /* @__PURE__ */ o.jsx(
2410
2429
  Tt,
2411
2430
  {
2412
2431
  size: d,
2413
2432
  error: p,
2414
- disabled: g || h,
2415
- loading: h,
2416
- helper: b,
2417
- prefix: v,
2418
- suffix: ae,
2419
- id: C,
2420
- showLabel: G,
2433
+ disabled: g || b,
2434
+ loading: b,
2435
+ helper: h,
2436
+ prefix: C,
2437
+ suffix: ue,
2438
+ id: x,
2439
+ showLabel: Y,
2421
2440
  onFocus: $,
2422
- onBlur: T,
2423
- onChange: a,
2424
- value: t || "",
2441
+ onBlur: k,
2442
+ onSuffixClick: A,
2443
+ onChange: r,
2444
+ value: t,
2425
2445
  placeholder: n,
2426
- className: A,
2427
- wrapperStyles: re.wrapperStyles,
2428
- floatingLabelStyles: re.floatingLabelStyles,
2429
- prefixStyles: re.prefixStyles,
2430
- suffixStyles: re.suffixStyles,
2431
- wrapperProps: F,
2446
+ className: N,
2447
+ wrapperStyles: le.wrapperStyles,
2448
+ floatingLabelStyles: le.floatingLabelStyles,
2449
+ prefixStyles: le.prefixStyles,
2450
+ suffixStyles: le.suffixStyles,
2451
+ wrapperProps: O,
2432
2452
  labelProps: y,
2433
- helperProps: z,
2453
+ helperProps: j,
2434
2454
  showLimit: !1,
2435
- maxLength: o,
2436
- inputProps: me,
2437
- hint: R,
2438
- showHint: B,
2439
- showHintOnEmpty: N,
2440
- truncate: O,
2441
- ...D
2455
+ maxLength: i,
2456
+ inputProps: xe,
2457
+ hint: U,
2458
+ showHint: W,
2459
+ showHintOnEmpty: F,
2460
+ truncate: D,
2461
+ ...V
2442
2462
  }
2443
2463
  );
2444
2464
  }
2445
- ), oe = {
2465
+ ), ie = {
2446
2466
  SMALL: "small",
2447
2467
  MEDIUM: "medium"
2448
- }, Fe = {
2468
+ }, Pe = {
2449
2469
  SMALL: "12px",
2450
2470
  MEDIUM: "16px"
2451
2471
  }, ms = {
2452
2472
  SMALL: "xs",
2453
2473
  MEDIUM: "sm"
2454
- }, Be = {
2474
+ }, Ue = {
2455
2475
  FILL: "fill",
2456
2476
  FIXED: "fixed"
2457
2477
  }, Ke = {
2458
2478
  SMALL: "112px",
2459
2479
  MEDIUM: "56px"
2460
- }, Ie = {
2480
+ }, $e = {
2461
2481
  SMALL: "48px",
2462
2482
  MEDIUM: "22px"
2463
- }, fe = {
2483
+ }, ge = {
2464
2484
  SMALL: "12px 12px 12px 12px",
2465
2485
  MEDIUM: "16px 16px 16px 16px",
2466
2486
  MEDIUM_WITH_PREFIX: "12px 16px 12px 16px",
2467
2487
  MEDIUM_FLOATING_LABEL: "8px 16px 8px 16px"
2468
- }, be = {
2488
+ }, me = {
2469
2489
  SMALL: 48,
2470
2490
  MEDIUM: 56,
2471
2491
  LARGE: 112
2472
- }, ys = (t, a) => {
2473
- if (t === oe.SMALL)
2492
+ }, ys = (t, r) => {
2493
+ if (t === ie.SMALL)
2474
2494
  return Ke.SMALL;
2475
- if (a)
2476
- return `${a}px`;
2495
+ if (r)
2496
+ return `${r}px`;
2477
2497
  switch (t) {
2478
- case oe.MEDIUM:
2498
+ case ie.MEDIUM:
2479
2499
  return Ke.MEDIUM;
2480
2500
  default:
2481
2501
  return Ke.MEDIUM;
2482
2502
  }
2483
- }, vs = (t, a) => {
2484
- if (t === oe.SMALL)
2485
- return Ie.SMALL;
2486
- if (a)
2487
- switch (a) {
2488
- case be.SMALL:
2489
- case be.MEDIUM:
2490
- return Ie.MEDIUM;
2491
- case be.LARGE:
2492
- return Ie.SMALL;
2503
+ }, vs = (t, r) => {
2504
+ if (t === ie.SMALL)
2505
+ return $e.SMALL;
2506
+ if (r)
2507
+ switch (r) {
2508
+ case me.SMALL:
2509
+ case me.MEDIUM:
2510
+ return $e.MEDIUM;
2511
+ case me.LARGE:
2512
+ return $e.SMALL;
2493
2513
  default:
2494
- return Ie.MEDIUM;
2514
+ return $e.MEDIUM;
2495
2515
  }
2496
2516
  switch (t) {
2497
- case oe.MEDIUM:
2498
- return Ie.MEDIUM;
2517
+ case ie.MEDIUM:
2518
+ return $e.MEDIUM;
2499
2519
  default:
2500
- return Ie.MEDIUM;
2520
+ return $e.MEDIUM;
2501
2521
  }
2502
- }, xs = (t, a, r) => {
2503
- if (t === oe.SMALL)
2504
- return fe.SMALL;
2505
- if (a)
2506
- switch (a) {
2507
- case be.SMALL:
2508
- return fe.MEDIUM_WITH_PREFIX;
2509
- case be.MEDIUM:
2510
- return r ? fe.MEDIUM_FLOATING_LABEL : fe.MEDIUM;
2511
- case be.LARGE:
2512
- return fe.MEDIUM;
2522
+ }, xs = (t, r, a) => {
2523
+ if (t === ie.SMALL)
2524
+ return ge.SMALL;
2525
+ if (r)
2526
+ switch (r) {
2527
+ case me.SMALL:
2528
+ return ge.MEDIUM_WITH_PREFIX;
2529
+ case me.MEDIUM:
2530
+ return a ? ge.MEDIUM_FLOATING_LABEL : ge.MEDIUM;
2531
+ case me.LARGE:
2532
+ return ge.MEDIUM;
2513
2533
  default:
2514
- return fe.MEDIUM;
2534
+ return ge.MEDIUM;
2515
2535
  }
2516
2536
  switch (t) {
2517
- case oe.MEDIUM:
2518
- return r ? fe.MEDIUM_FLOATING_LABEL : fe.MEDIUM;
2537
+ case ie.MEDIUM:
2538
+ return a ? ge.MEDIUM_FLOATING_LABEL : ge.MEDIUM;
2519
2539
  default:
2520
- return fe.MEDIUM;
2540
+ return ge.MEDIUM;
2521
2541
  }
2522
- }, Cs = (t, a) => {
2523
- if (t === oe.SMALL)
2542
+ }, Cs = (t, r) => {
2543
+ if (t === ie.SMALL)
2524
2544
  return "small";
2525
- if (a)
2526
- switch (a) {
2527
- case be.SMALL:
2545
+ if (r)
2546
+ switch (r) {
2547
+ case me.SMALL:
2528
2548
  return "small";
2529
- case be.MEDIUM:
2549
+ case me.MEDIUM:
2530
2550
  return "medium";
2531
- case be.LARGE:
2551
+ case me.LARGE:
2532
2552
  return "medium";
2533
2553
  default:
2534
2554
  return "medium";
2535
2555
  }
2536
2556
  return t;
2537
- }, ws = (t) => ms[t.toUpperCase()], Ss = (t) => Fe[t.toUpperCase()], Es = (t, a, r, n) => {
2538
- const o = ys(t, a), s = vs(t, a), c = xs(t, a, r);
2557
+ }, ws = (t) => ms[t.toUpperCase()], Ss = (t) => Pe[t.toUpperCase()], Es = (t, r, a, n) => {
2558
+ const i = ys(t, r), s = vs(t, r), c = xs(t, r, a);
2539
2559
  return {
2540
2560
  wrapperStyles: {
2541
- minHeight: o,
2561
+ minHeight: i,
2542
2562
  // Для fill resize устанавливаем height: 100%
2543
- ...n === Be.FILL && { height: "100%" },
2563
+ ...n === Ue.FILL && { height: "100%" },
2544
2564
  // Для fixed resize устанавливаем фиксированную высоту
2545
- ...n === Be.FIXED && a && { height: o },
2565
+ ...n === Ue.FIXED && r && { height: i },
2546
2566
  boxSizing: "border-box",
2547
2567
  padding: c
2548
2568
  },
2549
2569
  floatingLabelStyles: {
2550
- left: t === oe.SMALL ? Fe.SMALL : Fe.MEDIUM,
2570
+ left: t === ie.SMALL ? Pe.SMALL : Pe.MEDIUM,
2551
2571
  transformOrigin: "left top",
2552
- top: a === 112 && r && t === oe.MEDIUM ? Fe.MEDIUM : void 0
2572
+ top: r === 112 && a && t === ie.MEDIUM ? Pe.MEDIUM : void 0
2553
2573
  },
2554
2574
  suffixStyles: {
2555
2575
  right: Ss(t)
@@ -2557,92 +2577,95 @@ const St = Object.assign(ds, {
2557
2577
  textareaStyles: {
2558
2578
  minHeight: s,
2559
2579
  // Для fill resize flex: 1
2560
- ...n === Be.FILL && { flex: 1, minHeight: 0 },
2580
+ ...n === Ue.FILL && { flex: 1, minHeight: 0 },
2561
2581
  // Для fixed resize фиксированная высота
2562
- ...n === Be.FIXED && a && { height: s }
2582
+ ...n === Ue.FIXED && r && { height: s }
2563
2583
  }
2564
2584
  };
2565
- }, Bs = K(
2585
+ }, Bs = ee(
2566
2586
  ({
2567
2587
  value: t = "",
2568
- onChange: a,
2569
- placeholder: r,
2588
+ onChange: r,
2589
+ placeholder: a,
2570
2590
  maxLength: n,
2571
- minLength: o,
2591
+ minLength: i,
2572
2592
  autoFocus: s,
2573
- size: c = oe.MEDIUM,
2593
+ size: c = ie.MEDIUM,
2574
2594
  textareaProps: _,
2575
2595
  error: d,
2576
2596
  disabled: f,
2577
2597
  loading: p,
2578
2598
  helper: g,
2579
- suffix: h,
2580
- clearable: b = !1,
2581
- id: v,
2582
- showLabel: w = !0,
2583
- onFocus: S,
2584
- onBlur: C,
2585
- className: x,
2586
- rows: $ = 1,
2599
+ suffix: b,
2600
+ clearable: h = !1,
2601
+ id: C,
2602
+ showLabel: S = !0,
2603
+ onFocus: M,
2604
+ onBlur: x,
2605
+ onClear: m,
2606
+ onKeyDown: $,
2607
+ className: k,
2608
+ rows: A = 1,
2587
2609
  showLimit: T = !1,
2588
- wrapperProps: A,
2589
- labelProps: O,
2590
- helperProps: R,
2591
- showGrip: B,
2592
- minHeight: N,
2593
- resize: F,
2610
+ wrapperProps: N,
2611
+ labelProps: D,
2612
+ helperProps: U,
2613
+ showGrip: W,
2614
+ minHeight: F,
2615
+ resize: O,
2594
2616
  ...y
2595
- }, z) => {
2596
- const D = (t || "").length > 0, j = w && !!r && (c === oe.SMALL || N !== 48), V = b && D && !(f || p), H = () => {
2597
- a == null || a("");
2598
- }, X = V ? /* @__PURE__ */ i.jsx(
2617
+ }, j) => {
2618
+ const V = (t || "").length > 0, te = S && !!a && (c === ie.SMALL || F !== 48), q = h && V && !(f || p), X = () => {
2619
+ r == null || r(""), m == null || m();
2620
+ }, ae = q ? /* @__PURE__ */ o.jsx(
2599
2621
  At,
2600
2622
  {
2601
2623
  size: ws(c),
2602
2624
  color: "var(--icon-secondary)",
2603
- onClick: H,
2625
+ onClick: X,
2604
2626
  style: { cursor: "pointer" },
2605
2627
  "data-testid": "x-icon"
2606
2628
  }
2607
- ) : h, G = Es(c, N, j && D, F), ee = Cs(c, N), te = {
2608
- rows: $,
2609
- minLength: o,
2629
+ ) : b, Y = Es(c, F, te && V, O), re = Cs(c, F), ne = {
2630
+ rows: A,
2631
+ minLength: i,
2610
2632
  autoFocus: s,
2611
- resize: F,
2633
+ resize: O,
2612
2634
  ..._
2613
2635
  };
2614
- return /* @__PURE__ */ i.jsx(
2636
+ return /* @__PURE__ */ o.jsx(
2615
2637
  Tt,
2616
2638
  {
2617
- ref: z,
2639
+ ref: j,
2618
2640
  component: "textarea",
2619
- size: ee,
2641
+ size: re,
2620
2642
  error: d,
2621
2643
  disabled: f || p,
2622
2644
  loading: p,
2623
2645
  helper: g,
2624
- suffix: X,
2625
- id: v,
2626
- showLabel: j,
2627
- onFocus: S,
2628
- onBlur: C,
2629
- onChange: a,
2646
+ suffix: ae,
2647
+ id: C,
2648
+ showLabel: te,
2649
+ onFocus: M,
2650
+ onBlur: x,
2651
+ onKeyDown: $,
2652
+ onChange: r,
2630
2653
  value: t || "",
2631
- placeholder: r,
2632
- className: x,
2633
- "data-floating-label": j,
2634
- wrapperStyles: G.wrapperStyles,
2635
- floatingLabelStyles: G.floatingLabelStyles,
2636
- suffixStyles: G.suffixStyles,
2637
- textareaStyles: G.textareaStyles,
2638
- wrapperProps: A,
2639
- labelProps: O,
2640
- helperProps: R,
2641
- showLimit: T && (N === 112 || c === oe.SMALL),
2654
+ placeholder: a,
2655
+ className: k,
2656
+ "data-floating-label": te,
2657
+ wrapperStyles: Y.wrapperStyles,
2658
+ floatingLabelStyles: Y.floatingLabelStyles,
2659
+ suffixStyles: Y.suffixStyles,
2660
+ textareaStyles: Y.textareaStyles,
2661
+ wrapperProps: N,
2662
+ labelProps: D,
2663
+ helperProps: U,
2664
+ showLimit: T && (F === 112 || c === ie.SMALL),
2642
2665
  maxLength: n,
2643
- inputProps: te,
2644
- resize: F,
2645
- showGrip: B,
2666
+ inputProps: ne,
2667
+ resize: O,
2668
+ showGrip: W,
2646
2669
  ...y
2647
2670
  }
2648
2671
  );
@@ -2653,21 +2676,21 @@ const St = Object.assign(ds, {
2653
2676
  "helper--disabled": "_helper--disabled_1vhgl_32"
2654
2677
  }, Fs = ({
2655
2678
  title: t,
2656
- error: a,
2657
- className: r = "",
2679
+ error: r,
2680
+ className: a = "",
2658
2681
  style: n,
2659
- disabled: o = !1,
2682
+ disabled: i = !1,
2660
2683
  "data-testid": s,
2661
2684
  "aria-label": c,
2662
2685
  "aria-describedby": _
2663
2686
  }) => {
2664
- const d = !!a, f = ie(
2687
+ const d = !!r, f = Z(
2665
2688
  Xe.helper,
2666
2689
  d && Xe["helper--error"],
2667
- o && Xe["helper--disabled"],
2668
- r
2669
- ), p = o ? t : a || t;
2670
- return /* @__PURE__ */ i.jsx(
2690
+ i && Xe["helper--disabled"],
2691
+ a
2692
+ ), p = i ? t : r || t;
2693
+ return /* @__PURE__ */ o.jsx(
2671
2694
  "div",
2672
2695
  {
2673
2696
  className: f,
@@ -2675,7 +2698,7 @@ const St = Object.assign(ds, {
2675
2698
  "data-testid": s,
2676
2699
  "aria-label": c,
2677
2700
  "aria-describedby": _,
2678
- children: /* @__PURE__ */ i.jsx("p", { children: p })
2701
+ children: /* @__PURE__ */ o.jsx("p", { children: p })
2679
2702
  }
2680
2703
  );
2681
2704
  };
@@ -2687,7 +2710,7 @@ export {
2687
2710
  As as ConfigProvider,
2688
2711
  Fs as Helper,
2689
2712
  ks as Image,
2690
- Wr as Loader,
2713
+ Vr as Loader,
2691
2714
  Ds as Tag,
2692
2715
  Bs as TextArea,
2693
2716
  Ps as TextInput,