skillgrid 0.0.28-dev-41308-avatar-group.1182430 → 0.0.28-dev-41308-avatar-group.1187736

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,11 +1,11 @@
1
1
  import * as Vt from "react";
2
- import pt, { forwardRef as K, Fragment as Oe, useState as de, useEffect as oe, useRef as Be, useCallback as Se, useMemo as Lr, createContext as Gt, useContext as Yt, useLayoutEffect as Er, useImperativeHandle as jr, useId as _t } from "react";
2
+ import _t, { forwardRef as K, Fragment as Oe, useState as de, useEffect as oe, useRef as qe, useCallback as Se, useMemo as jr, createContext as Gt, useContext as Yt, useLayoutEffect as Lr, useImperativeHandle as Er, useId as pt } from "react";
3
3
  import { clsx as k } from "clsx";
4
4
  import kr from "rc-tooltip";
5
5
  import './index.css';function Mr(e) {
6
6
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
7
7
  }
8
- var Ge = { exports: {} }, Ue = {};
8
+ var Ge = { exports: {} }, ze = {};
9
9
  /**
10
10
  * @license React
11
11
  * react-jsx-runtime.production.min.js
@@ -17,19 +17,19 @@ var Ge = { exports: {} }, Ue = {};
17
17
  */
18
18
  var kt;
19
19
  function Ir() {
20
- if (kt) return Ue;
20
+ if (kt) return ze;
21
21
  kt = 1;
22
- var e = pt, r = Symbol.for("react.element"), a = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
23
- function l(c, p, _) {
24
- var f, h = {}, m = null, b = null;
25
- _ !== void 0 && (m = "" + _), p.key !== void 0 && (m = "" + p.key), p.ref !== void 0 && (b = p.ref);
26
- for (f in p) o.call(p, f) && !s.hasOwnProperty(f) && (h[f] = p[f]);
27
- if (c && c.defaultProps) for (f in p = c.defaultProps, p) h[f] === void 0 && (h[f] = p[f]);
28
- return { $$typeof: r, type: c, key: m, ref: b, props: h, _owner: i.current };
22
+ var e = _t, r = Symbol.for("react.element"), a = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
23
+ function l(c, _, f) {
24
+ var p, h = {}, m = null, g = null;
25
+ f !== void 0 && (m = "" + f), _.key !== void 0 && (m = "" + _.key), _.ref !== void 0 && (g = _.ref);
26
+ for (p in _) s.call(_, p) && !o.hasOwnProperty(p) && (h[p] = _[p]);
27
+ if (c && c.defaultProps) for (p in _ = c.defaultProps, _) h[p] === void 0 && (h[p] = _[p]);
28
+ return { $$typeof: r, type: c, key: m, ref: g, props: h, _owner: i.current };
29
29
  }
30
- return Ue.Fragment = a, Ue.jsx = l, Ue.jsxs = l, Ue;
30
+ return ze.Fragment = a, ze.jsx = l, ze.jsxs = l, ze;
31
31
  }
32
- var Fe = {};
32
+ var Ue = {};
33
33
  /**
34
34
  * @license React
35
35
  * react-jsx-runtime.development.js
@@ -42,46 +42,46 @@ var Fe = {};
42
42
  var Mt;
43
43
  function $r() {
44
44
  return Mt || (Mt = 1, process.env.NODE_ENV !== "production" && function() {
45
- var e = pt, r = Symbol.for("react.element"), a = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), c = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), y = Symbol.iterator, L = "@@iterator";
46
- function x(t) {
45
+ var e = _t, r = Symbol.for("react.element"), a = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), c = Symbol.for("react.context"), _ = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), y = Symbol.iterator, C = "@@iterator";
46
+ function v(t) {
47
47
  if (t === null || typeof t != "object")
48
48
  return null;
49
- var u = y && t[y] || t[L];
50
- return typeof u == "function" ? u : null;
49
+ var d = y && t[y] || t[C];
50
+ return typeof d == "function" ? d : null;
51
51
  }
52
- var v = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
53
- function d(t) {
52
+ var x = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
53
+ function u(t) {
54
54
  {
55
- for (var u = arguments.length, g = new Array(u > 1 ? u - 1 : 0), E = 1; E < u; E++)
56
- g[E - 1] = arguments[E];
57
- w("error", t, g);
55
+ for (var d = arguments.length, b = new Array(d > 1 ? d - 1 : 0), L = 1; L < d; L++)
56
+ b[L - 1] = arguments[L];
57
+ w("error", t, b);
58
58
  }
59
59
  }
60
- function w(t, u, g) {
60
+ function w(t, d, b) {
61
61
  {
62
- var E = v.ReactDebugCurrentFrame, P = E.getStackAddendum();
63
- P !== "" && (u += "%s", g = g.concat([P]));
64
- var z = g.map(function(R) {
62
+ var L = x.ReactDebugCurrentFrame, P = L.getStackAddendum();
63
+ P !== "" && (d += "%s", b = b.concat([P]));
64
+ var z = b.map(function(R) {
65
65
  return String(R);
66
66
  });
67
- z.unshift("Warning: " + u), Function.prototype.apply.call(console[t], console, z);
67
+ z.unshift("Warning: " + d), Function.prototype.apply.call(console[t], console, z);
68
68
  }
69
69
  }
70
- var C = !1, M = !1, j = !1, I = !1, A = !1, D;
70
+ var j = !1, M = !1, E = !1, I = !1, A = !1, D;
71
71
  D = Symbol.for("react.module.reference");
72
72
  function U(t) {
73
- return !!(typeof t == "string" || typeof t == "function" || t === o || t === s || A || t === i || t === _ || t === f || I || t === b || C || M || j || typeof t == "object" && t !== null && (t.$$typeof === m || t.$$typeof === h || t.$$typeof === l || t.$$typeof === c || t.$$typeof === p || // This needs to include all possible module reference object
73
+ return !!(typeof t == "string" || typeof t == "function" || t === s || t === o || A || t === i || t === f || t === p || I || t === g || j || M || E || typeof t == "object" && t !== null && (t.$$typeof === m || t.$$typeof === h || t.$$typeof === l || t.$$typeof === c || t.$$typeof === _ || // This needs to include all possible module reference object
74
74
  // types supported by any Flight configuration anywhere since
75
75
  // we don't know which Flight build this will end up being used
76
76
  // with.
77
77
  t.$$typeof === D || t.getModuleId !== void 0));
78
78
  }
79
- function q(t, u, g) {
80
- var E = t.displayName;
81
- if (E)
82
- return E;
83
- var P = u.displayName || u.name || "";
84
- return P !== "" ? g + "(" + P + ")" : g;
79
+ function q(t, d, b) {
80
+ var L = t.displayName;
81
+ if (L)
82
+ return L;
83
+ var P = d.displayName || d.name || "";
84
+ return P !== "" ? b + "(" + P + ")" : b;
85
85
  }
86
86
  function O(t) {
87
87
  return t.displayName || "Context";
@@ -89,37 +89,37 @@ function $r() {
89
89
  function S(t) {
90
90
  if (t == null)
91
91
  return null;
92
- if (typeof t.tag == "number" && d("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
92
+ if (typeof t.tag == "number" && u("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
93
93
  return t.displayName || t.name || null;
94
94
  if (typeof t == "string")
95
95
  return t;
96
96
  switch (t) {
97
- case o:
97
+ case s:
98
98
  return "Fragment";
99
99
  case a:
100
100
  return "Portal";
101
- case s:
101
+ case o:
102
102
  return "Profiler";
103
103
  case i:
104
104
  return "StrictMode";
105
- case _:
106
- return "Suspense";
107
105
  case f:
106
+ return "Suspense";
107
+ case p:
108
108
  return "SuspenseList";
109
109
  }
110
110
  if (typeof t == "object")
111
111
  switch (t.$$typeof) {
112
112
  case c:
113
- var u = t;
114
- return O(u) + ".Consumer";
113
+ var d = t;
114
+ return O(d) + ".Consumer";
115
115
  case l:
116
- var g = t;
117
- return O(g._context) + ".Provider";
118
- case p:
116
+ var b = t;
117
+ return O(b._context) + ".Provider";
118
+ case _:
119
119
  return q(t, t.render, "ForwardRef");
120
120
  case h:
121
- var E = t.displayName || null;
122
- return E !== null ? E : S(t.type) || "Memo";
121
+ var L = t.displayName || null;
122
+ return L !== null ? L : S(t.type) || "Memo";
123
123
  case m: {
124
124
  var P = t, z = P._payload, R = P._init;
125
125
  try {
@@ -135,7 +135,7 @@ function $r() {
135
135
  function Ce() {
136
136
  }
137
137
  Ce.__reactDisabledLog = !0;
138
- function ze() {
138
+ function Be() {
139
139
  {
140
140
  if (B === 0) {
141
141
  F = console.log, H = console.info, Q = console.warn, ie = console.error, Y = console.group, ue = console.groupCollapsed, ee = console.groupEnd;
@@ -190,18 +190,18 @@ function $r() {
190
190
  })
191
191
  });
192
192
  }
193
- B < 0 && d("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
193
+ B < 0 && u("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
194
194
  }
195
195
  }
196
- var Me = v.ReactCurrentDispatcher, Ie;
197
- function Ee(t, u, g) {
196
+ var Me = x.ReactCurrentDispatcher, Ie;
197
+ function Le(t, d, b) {
198
198
  {
199
199
  if (Ie === void 0)
200
200
  try {
201
201
  throw Error();
202
202
  } catch (P) {
203
- var E = P.stack.trim().match(/\n( *(at )?)/);
204
- Ie = E && E[1] || "";
203
+ var L = P.stack.trim().match(/\n( *(at )?)/);
204
+ Ie = L && L[1] || "";
205
205
  }
206
206
  return `
207
207
  ` + Ie + t;
@@ -212,22 +212,22 @@ function $r() {
212
212
  var Ke = typeof WeakMap == "function" ? WeakMap : Map;
213
213
  $e = new Ke();
214
214
  }
215
- function He(t, u) {
215
+ function He(t, d) {
216
216
  if (!t || We)
217
217
  return "";
218
218
  {
219
- var g = $e.get(t);
220
- if (g !== void 0)
221
- return g;
219
+ var b = $e.get(t);
220
+ if (b !== void 0)
221
+ return b;
222
222
  }
223
- var E;
223
+ var L;
224
224
  We = !0;
225
225
  var P = Error.prepareStackTrace;
226
226
  Error.prepareStackTrace = void 0;
227
227
  var z;
228
- z = Me.current, Me.current = null, ze();
228
+ z = Me.current, Me.current = null, Be();
229
229
  try {
230
- if (u) {
230
+ if (d) {
231
231
  var R = function() {
232
232
  throw Error();
233
233
  };
@@ -239,14 +239,14 @@ function $r() {
239
239
  try {
240
240
  Reflect.construct(R, []);
241
241
  } catch (ae) {
242
- E = ae;
242
+ L = ae;
243
243
  }
244
244
  Reflect.construct(t, [], R);
245
245
  } else {
246
246
  try {
247
247
  R.call();
248
248
  } catch (ae) {
249
- E = ae;
249
+ L = ae;
250
250
  }
251
251
  t.call(R.prototype);
252
252
  }
@@ -254,14 +254,14 @@ function $r() {
254
254
  try {
255
255
  throw Error();
256
256
  } catch (ae) {
257
- E = ae;
257
+ L = ae;
258
258
  }
259
259
  t();
260
260
  }
261
261
  } catch (ae) {
262
- if (ae && E && typeof ae.stack == "string") {
262
+ if (ae && L && typeof ae.stack == "string") {
263
263
  for (var $ = ae.stack.split(`
264
- `), te = E.stack.split(`
264
+ `), te = L.stack.split(`
265
265
  `), V = $.length - 1, G = te.length - 1; V >= 1 && G >= 0 && $[V] !== te[G]; )
266
266
  G--;
267
267
  for (; V >= 1 && G >= 0; V--, G--)
@@ -269,9 +269,9 @@ function $r() {
269
269
  if (V !== 1 || G !== 1)
270
270
  do
271
271
  if (V--, G--, G < 0 || $[V] !== te[G]) {
272
- var pe = `
272
+ var _e = `
273
273
  ` + $[V].replace(" at new ", " at ");
274
- return t.displayName && pe.includes("<anonymous>") && (pe = pe.replace("<anonymous>", t.displayName)), typeof t == "function" && $e.set(t, pe), pe;
274
+ return t.displayName && _e.includes("<anonymous>") && (_e = _e.replace("<anonymous>", t.displayName)), typeof t == "function" && $e.set(t, _e), _e;
275
275
  }
276
276
  while (V >= 1 && G >= 0);
277
277
  break;
@@ -280,54 +280,54 @@ function $r() {
280
280
  } finally {
281
281
  We = !1, Me.current = z, me(), Error.prepareStackTrace = P;
282
282
  }
283
- var Re = t ? t.displayName || t.name : "", je = Re ? Ee(Re) : "";
284
- return typeof t == "function" && $e.set(t, je), je;
283
+ var Re = t ? t.displayName || t.name : "", Ee = Re ? Le(Re) : "";
284
+ return typeof t == "function" && $e.set(t, Ee), Ee;
285
285
  }
286
- function Qe(t, u, g) {
286
+ function Qe(t, d, b) {
287
287
  return He(t, !1);
288
288
  }
289
289
  function et(t) {
290
- var u = t.prototype;
291
- return !!(u && u.isReactComponent);
290
+ var d = t.prototype;
291
+ return !!(d && d.isReactComponent);
292
292
  }
293
- function Z(t, u, g) {
293
+ function Z(t, d, b) {
294
294
  if (t == null)
295
295
  return "";
296
296
  if (typeof t == "function")
297
297
  return He(t, et(t));
298
298
  if (typeof t == "string")
299
- return Ee(t);
299
+ return Le(t);
300
300
  switch (t) {
301
- case _:
302
- return Ee("Suspense");
303
301
  case f:
304
- return Ee("SuspenseList");
302
+ return Le("Suspense");
303
+ case p:
304
+ return Le("SuspenseList");
305
305
  }
306
306
  if (typeof t == "object")
307
307
  switch (t.$$typeof) {
308
- case p:
308
+ case _:
309
309
  return Qe(t.render);
310
310
  case h:
311
- return Z(t.type, u, g);
311
+ return Z(t.type, d, b);
312
312
  case m: {
313
- var E = t, P = E._payload, z = E._init;
313
+ var L = t, P = L._payload, z = L._init;
314
314
  try {
315
- return Z(z(P), u, g);
315
+ return Z(z(P), d, b);
316
316
  } catch {
317
317
  }
318
318
  }
319
319
  }
320
320
  return "";
321
321
  }
322
- var X = Object.prototype.hasOwnProperty, be = {}, ht = v.ReactDebugCurrentFrame;
322
+ var X = Object.prototype.hasOwnProperty, be = {}, gt = x.ReactDebugCurrentFrame;
323
323
  function Ve(t) {
324
324
  if (t) {
325
- var u = t._owner, g = Z(t.type, t._source, u ? u.type : null);
326
- ht.setExtraStackFrame(g);
325
+ var d = t._owner, b = Z(t.type, t._source, d ? d.type : null);
326
+ gt.setExtraStackFrame(b);
327
327
  } else
328
- ht.setExtraStackFrame(null);
328
+ gt.setExtraStackFrame(null);
329
329
  }
330
- function ar(t, u, g, E, P) {
330
+ function ar(t, d, b, L, P) {
331
331
  {
332
332
  var z = Function.call.bind(X);
333
333
  for (var R in t)
@@ -335,14 +335,14 @@ function $r() {
335
335
  var $ = void 0;
336
336
  try {
337
337
  if (typeof t[R] != "function") {
338
- var te = Error((E || "React class") + ": " + g + " type `" + R + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[R] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
338
+ var te = Error((L || "React class") + ": " + b + " type `" + R + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[R] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
339
339
  throw te.name = "Invariant Violation", te;
340
340
  }
341
- $ = t[R](u, R, E, g, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
341
+ $ = t[R](d, R, L, b, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
342
342
  } catch (V) {
343
343
  $ = V;
344
344
  }
345
- $ && !($ instanceof Error) && (Ve(P), d("%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).", E || "React class", g, R, typeof $), Ve(null)), $ instanceof Error && !($.message in be) && (be[$.message] = !0, Ve(P), d("Failed %s type: %s", g, $.message), Ve(null));
345
+ $ && !($ instanceof Error) && (Ve(P), u("%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).", L || "React class", b, R, typeof $), Ve(null)), $ instanceof Error && !($.message in be) && (be[$.message] = !0, Ve(P), u("Failed %s type: %s", b, $.message), Ve(null));
346
346
  }
347
347
  }
348
348
  }
@@ -352,8 +352,8 @@ function $r() {
352
352
  }
353
353
  function sr(t) {
354
354
  {
355
- var u = typeof Symbol == "function" && Symbol.toStringTag, g = u && t[Symbol.toStringTag] || t.constructor.name || "Object";
356
- return g;
355
+ var d = typeof Symbol == "function" && Symbol.toStringTag, b = d && t[Symbol.toStringTag] || t.constructor.name || "Object";
356
+ return b;
357
357
  }
358
358
  }
359
359
  function or(t) {
@@ -366,11 +366,11 @@ function $r() {
366
366
  function bt(t) {
367
367
  return "" + t;
368
368
  }
369
- function gt(t) {
369
+ function ht(t) {
370
370
  if (or(t))
371
- return d("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", sr(t)), bt(t);
371
+ return u("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", sr(t)), bt(t);
372
372
  }
373
- var mt = v.ReactCurrentOwner, ir = {
373
+ var mt = x.ReactCurrentOwner, ir = {
374
374
  key: !0,
375
375
  ref: !0,
376
376
  __self: !0,
@@ -378,53 +378,53 @@ function $r() {
378
378
  }, yt, vt;
379
379
  function lr(t) {
380
380
  if (X.call(t, "ref")) {
381
- var u = Object.getOwnPropertyDescriptor(t, "ref").get;
382
- if (u && u.isReactWarning)
381
+ var d = Object.getOwnPropertyDescriptor(t, "ref").get;
382
+ if (d && d.isReactWarning)
383
383
  return !1;
384
384
  }
385
385
  return t.ref !== void 0;
386
386
  }
387
387
  function cr(t) {
388
388
  if (X.call(t, "key")) {
389
- var u = Object.getOwnPropertyDescriptor(t, "key").get;
390
- if (u && u.isReactWarning)
389
+ var d = Object.getOwnPropertyDescriptor(t, "key").get;
390
+ if (d && d.isReactWarning)
391
391
  return !1;
392
392
  }
393
393
  return t.key !== void 0;
394
394
  }
395
- function dr(t, u) {
395
+ function dr(t, d) {
396
396
  typeof t.ref == "string" && mt.current;
397
397
  }
398
- function ur(t, u) {
398
+ function ur(t, d) {
399
399
  {
400
- var g = function() {
401
- yt || (yt = !0, d("%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)", u));
400
+ var b = function() {
401
+ yt || (yt = !0, u("%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)", d));
402
402
  };
403
- g.isReactWarning = !0, Object.defineProperty(t, "key", {
404
- get: g,
403
+ b.isReactWarning = !0, Object.defineProperty(t, "key", {
404
+ get: b,
405
405
  configurable: !0
406
406
  });
407
407
  }
408
408
  }
409
- function pr(t, u) {
409
+ function _r(t, d) {
410
410
  {
411
- var g = function() {
412
- vt || (vt = !0, d("%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)", u));
411
+ var b = function() {
412
+ vt || (vt = !0, u("%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)", d));
413
413
  };
414
- g.isReactWarning = !0, Object.defineProperty(t, "ref", {
415
- get: g,
414
+ b.isReactWarning = !0, Object.defineProperty(t, "ref", {
415
+ get: b,
416
416
  configurable: !0
417
417
  });
418
418
  }
419
419
  }
420
- var _r = function(t, u, g, E, P, z, R) {
420
+ var pr = function(t, d, b, L, P, z, R) {
421
421
  var $ = {
422
422
  // This tag allows us to uniquely identify this as a React Element
423
423
  $$typeof: r,
424
424
  // Built-in properties that belong on the element
425
425
  type: t,
426
- key: u,
427
- ref: g,
426
+ key: d,
427
+ ref: b,
428
428
  props: R,
429
429
  // Record the component responsible for creating this element.
430
430
  _owner: z
@@ -438,7 +438,7 @@ function $r() {
438
438
  configurable: !1,
439
439
  enumerable: !1,
440
440
  writable: !1,
441
- value: E
441
+ value: L
442
442
  }), Object.defineProperty($, "_source", {
443
443
  configurable: !1,
444
444
  enumerable: !1,
@@ -446,12 +446,12 @@ function $r() {
446
446
  value: P
447
447
  }), Object.freeze && (Object.freeze($.props), Object.freeze($)), $;
448
448
  };
449
- function fr(t, u, g, E, P) {
449
+ function fr(t, d, b, L, P) {
450
450
  {
451
451
  var z, R = {}, $ = null, te = null;
452
- g !== void 0 && (gt(g), $ = "" + g), cr(u) && (gt(u.key), $ = "" + u.key), lr(u) && (te = u.ref, dr(u, P));
453
- for (z in u)
454
- X.call(u, z) && !ir.hasOwnProperty(z) && (R[z] = u[z]);
452
+ b !== void 0 && (ht(b), $ = "" + b), cr(d) && (ht(d.key), $ = "" + d.key), lr(d) && (te = d.ref, dr(d, P));
453
+ for (z in d)
454
+ X.call(d, z) && !ir.hasOwnProperty(z) && (R[z] = d[z]);
455
455
  if (t && t.defaultProps) {
456
456
  var V = t.defaultProps;
457
457
  for (z in V)
@@ -459,16 +459,16 @@ function $r() {
459
459
  }
460
460
  if ($ || te) {
461
461
  var G = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
462
- $ && ur(R, G), te && pr(R, G);
462
+ $ && ur(R, G), te && _r(R, G);
463
463
  }
464
- return _r(t, $, te, P, E, mt.current, R);
464
+ return pr(t, $, te, P, L, mt.current, R);
465
465
  }
466
466
  }
467
- var rt = v.ReactCurrentOwner, xt = v.ReactDebugCurrentFrame;
467
+ var rt = x.ReactCurrentOwner, xt = x.ReactDebugCurrentFrame;
468
468
  function Te(t) {
469
469
  if (t) {
470
- var u = t._owner, g = Z(t.type, t._source, u ? u.type : null);
471
- xt.setExtraStackFrame(g);
470
+ var d = t._owner, b = Z(t.type, t._source, d ? d.type : null);
471
+ xt.setExtraStackFrame(b);
472
472
  } else
473
473
  xt.setExtraStackFrame(null);
474
474
  }
@@ -489,145 +489,145 @@ Check the render method of \`` + t + "`.";
489
489
  return "";
490
490
  }
491
491
  }
492
- function hr(t) {
492
+ function gr(t) {
493
493
  return "";
494
494
  }
495
495
  var Ct = {};
496
496
  function br(t) {
497
497
  {
498
- var u = wt();
499
- if (!u) {
500
- var g = typeof t == "string" ? t : t.displayName || t.name;
501
- g && (u = `
498
+ var d = wt();
499
+ if (!d) {
500
+ var b = typeof t == "string" ? t : t.displayName || t.name;
501
+ b && (d = `
502
502
 
503
- Check the top-level render call using <` + g + ">.");
503
+ Check the top-level render call using <` + b + ">.");
504
504
  }
505
- return u;
505
+ return d;
506
506
  }
507
507
  }
508
- function St(t, u) {
508
+ function St(t, d) {
509
509
  {
510
510
  if (!t._store || t._store.validated || t.key != null)
511
511
  return;
512
512
  t._store.validated = !0;
513
- var g = br(u);
514
- if (Ct[g])
513
+ var b = br(d);
514
+ if (Ct[b])
515
515
  return;
516
- Ct[g] = !0;
517
- var E = "";
518
- t && t._owner && t._owner !== rt.current && (E = " It was passed a child from " + S(t._owner.type) + "."), Te(t), d('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', g, E), Te(null);
516
+ Ct[b] = !0;
517
+ var L = "";
518
+ t && t._owner && t._owner !== rt.current && (L = " It was passed a child from " + S(t._owner.type) + "."), Te(t), u('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', b, L), Te(null);
519
519
  }
520
520
  }
521
- function Lt(t, u) {
521
+ function jt(t, d) {
522
522
  {
523
523
  if (typeof t != "object")
524
524
  return;
525
525
  if (tt(t))
526
- for (var g = 0; g < t.length; g++) {
527
- var E = t[g];
528
- nt(E) && St(E, u);
526
+ for (var b = 0; b < t.length; b++) {
527
+ var L = t[b];
528
+ nt(L) && St(L, d);
529
529
  }
530
530
  else if (nt(t))
531
531
  t._store && (t._store.validated = !0);
532
532
  else if (t) {
533
- var P = x(t);
533
+ var P = v(t);
534
534
  if (typeof P == "function" && P !== t.entries)
535
535
  for (var z = P.call(t), R; !(R = z.next()).done; )
536
- nt(R.value) && St(R.value, u);
536
+ nt(R.value) && St(R.value, d);
537
537
  }
538
538
  }
539
539
  }
540
- function gr(t) {
540
+ function hr(t) {
541
541
  {
542
- var u = t.type;
543
- if (u == null || typeof u == "string")
542
+ var d = t.type;
543
+ if (d == null || typeof d == "string")
544
544
  return;
545
- var g;
546
- if (typeof u == "function")
547
- g = u.propTypes;
548
- else if (typeof u == "object" && (u.$$typeof === p || // Note: Memo only checks outer props here.
545
+ var b;
546
+ if (typeof d == "function")
547
+ b = d.propTypes;
548
+ else if (typeof d == "object" && (d.$$typeof === _ || // Note: Memo only checks outer props here.
549
549
  // Inner props are checked in the reconciler.
550
- u.$$typeof === h))
551
- g = u.propTypes;
550
+ d.$$typeof === h))
551
+ b = d.propTypes;
552
552
  else
553
553
  return;
554
- if (g) {
555
- var E = S(u);
556
- ar(g, t.props, "prop", E, t);
557
- } else if (u.PropTypes !== void 0 && !at) {
554
+ if (b) {
555
+ var L = S(d);
556
+ ar(b, t.props, "prop", L, t);
557
+ } else if (d.PropTypes !== void 0 && !at) {
558
558
  at = !0;
559
- var P = S(u);
560
- d("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", P || "Unknown");
559
+ var P = S(d);
560
+ u("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", P || "Unknown");
561
561
  }
562
- typeof u.getDefaultProps == "function" && !u.getDefaultProps.isReactClassApproved && d("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
562
+ typeof d.getDefaultProps == "function" && !d.getDefaultProps.isReactClassApproved && u("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
563
563
  }
564
564
  }
565
565
  function mr(t) {
566
566
  {
567
- for (var u = Object.keys(t.props), g = 0; g < u.length; g++) {
568
- var E = u[g];
569
- if (E !== "children" && E !== "key") {
570
- Te(t), d("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", E), Te(null);
567
+ for (var d = Object.keys(t.props), b = 0; b < d.length; b++) {
568
+ var L = d[b];
569
+ if (L !== "children" && L !== "key") {
570
+ Te(t), u("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", L), Te(null);
571
571
  break;
572
572
  }
573
573
  }
574
- t.ref !== null && (Te(t), d("Invalid attribute `ref` supplied to `React.Fragment`."), Te(null));
574
+ t.ref !== null && (Te(t), u("Invalid attribute `ref` supplied to `React.Fragment`."), Te(null));
575
575
  }
576
576
  }
577
- var Et = {};
578
- function jt(t, u, g, E, P, z) {
577
+ var Lt = {};
578
+ function Et(t, d, b, L, P, z) {
579
579
  {
580
580
  var R = U(t);
581
581
  if (!R) {
582
582
  var $ = "";
583
583
  (t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && ($ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
584
- var te = hr();
584
+ var te = gr();
585
585
  te ? $ += te : $ += wt();
586
586
  var V;
587
- t === null ? V = "null" : tt(t) ? V = "array" : t !== void 0 && t.$$typeof === r ? (V = "<" + (S(t.type) || "Unknown") + " />", $ = " Did you accidentally export a JSX literal instead of a component?") : V = typeof t, d("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", V, $);
587
+ t === null ? V = "null" : tt(t) ? V = "array" : t !== void 0 && t.$$typeof === r ? (V = "<" + (S(t.type) || "Unknown") + " />", $ = " Did you accidentally export a JSX literal instead of a component?") : V = typeof t, u("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", V, $);
588
588
  }
589
- var G = fr(t, u, g, P, z);
589
+ var G = fr(t, d, b, P, z);
590
590
  if (G == null)
591
591
  return G;
592
592
  if (R) {
593
- var pe = u.children;
594
- if (pe !== void 0)
595
- if (E)
596
- if (tt(pe)) {
597
- for (var Re = 0; Re < pe.length; Re++)
598
- Lt(pe[Re], t);
599
- Object.freeze && Object.freeze(pe);
593
+ var _e = d.children;
594
+ if (_e !== void 0)
595
+ if (L)
596
+ if (tt(_e)) {
597
+ for (var Re = 0; Re < _e.length; Re++)
598
+ jt(_e[Re], t);
599
+ Object.freeze && Object.freeze(_e);
600
600
  } else
601
- d("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
+ u("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
602
602
  else
603
- Lt(pe, t);
603
+ jt(_e, t);
604
604
  }
605
- if (X.call(u, "key")) {
606
- var je = S(t), ae = Object.keys(u).filter(function(Sr) {
605
+ if (X.call(d, "key")) {
606
+ var Ee = S(t), ae = Object.keys(d).filter(function(Sr) {
607
607
  return Sr !== "key";
608
608
  }), st = ae.length > 0 ? "{key: someKey, " + ae.join(": ..., ") + ": ...}" : "{key: someKey}";
609
- if (!Et[je + st]) {
609
+ if (!Lt[Ee + st]) {
610
610
  var Cr = ae.length > 0 ? "{" + ae.join(": ..., ") + ": ...}" : "{}";
611
- d(`A props object containing a "key" prop is being spread into JSX:
611
+ u(`A props object containing a "key" prop is being spread into JSX:
612
612
  let props = %s;
613
613
  <%s {...props} />
614
614
  React keys must be passed directly to JSX without using spread:
615
615
  let props = %s;
616
- <%s key={someKey} {...props} />`, st, je, Cr, je), Et[je + st] = !0;
616
+ <%s key={someKey} {...props} />`, st, Ee, Cr, Ee), Lt[Ee + st] = !0;
617
617
  }
618
618
  }
619
- return t === o ? mr(G) : gr(G), G;
619
+ return t === s ? mr(G) : hr(G), G;
620
620
  }
621
621
  }
622
- function yr(t, u, g) {
623
- return jt(t, u, g, !0);
622
+ function yr(t, d, b) {
623
+ return Et(t, d, b, !0);
624
624
  }
625
- function vr(t, u, g) {
626
- return jt(t, u, g, !1);
625
+ function vr(t, d, b) {
626
+ return Et(t, d, b, !1);
627
627
  }
628
628
  var xr = vr, wr = yr;
629
- Fe.Fragment = o, Fe.jsx = xr, Fe.jsxs = wr;
630
- }()), Fe;
629
+ Ue.Fragment = s, Ue.jsx = xr, Ue.jsxs = wr;
630
+ }()), Ue;
631
631
  }
632
632
  var It;
633
633
  function Tr() {
@@ -666,7 +666,7 @@ const Rr = (e) => e.as === "a", Nr = (e) => e.as === void 0 || e.as === "button"
666
666
  s: ca,
667
667
  xs: da,
668
668
  iconRight: ua
669
- }, pa = /* @__PURE__ */ new Set([
669
+ }, _a = /* @__PURE__ */ new Set([
670
670
  "mode",
671
671
  "size",
672
672
  "buttonStyle",
@@ -686,15 +686,15 @@ const Rr = (e) => e.as === "a", Nr = (e) => e.as === void 0 || e.as === "button"
686
686
  ]), $t = (e) => {
687
687
  const r = {};
688
688
  for (const a in e)
689
- pa.has(a) || (r[a] = e[a]);
689
+ _a.has(a) || (r[a] = e[a]);
690
690
  return r;
691
- }, _a = {
691
+ }, pa = {
692
692
  l: "typography-subtitle-1-semibold",
693
693
  m: "typography-label-2-regular",
694
694
  s: "typography-label-3-regular"
695
695
  };
696
696
  function fa(e) {
697
- return _a[e] || "typography-label-2-regular";
697
+ return pa[e] || "typography-label-2-regular";
698
698
  }
699
699
  const ce = {
700
700
  "typography-title-1-semibold": "_typography-title-1-semibold_1lyxn_1",
@@ -724,69 +724,69 @@ const ce = {
724
724
  isLoading: e,
725
725
  iconRight: r,
726
726
  iconLeft: a,
727
- children: o,
727
+ children: s,
728
728
  postfix: i,
729
- subcaption: s,
729
+ subcaption: o,
730
730
  size: l,
731
731
  isAsButton: c
732
732
  }) => {
733
733
  if (e && c)
734
734
  return /* @__PURE__ */ n.jsx("span", { className: W.loader, "data-testid": "button-loader", "aria-hidden": "true" });
735
- const p = r && c || r && !c && l, _ = s && c && l !== "s" && l !== "xs";
735
+ const _ = r && c || r && !c && l, f = o && c && l !== "s" && l !== "xs";
736
736
  return /* @__PURE__ */ n.jsxs(Oe, { children: [
737
- _ && /* @__PURE__ */ n.jsxs(Oe, { children: [
738
- /* @__PURE__ */ n.jsx("span", { "data-testid": "button-label", className: W.label, children: o }),
739
- /* @__PURE__ */ n.jsx("span", { "data-testid": "button-subcaption", className: W.subcaption, children: s })
737
+ f && /* @__PURE__ */ n.jsxs(Oe, { children: [
738
+ /* @__PURE__ */ n.jsx("span", { "data-testid": "button-label", className: W.label, children: s }),
739
+ /* @__PURE__ */ n.jsx("span", { "data-testid": "button-subcaption", className: W.subcaption, children: o })
740
740
  ] }),
741
- !_ && o && /* @__PURE__ */ n.jsxs(Oe, { children: [
741
+ !f && s && /* @__PURE__ */ n.jsxs(Oe, { children: [
742
742
  /* @__PURE__ */ n.jsxs("span", { "data-testid": "button-label", className: W.label, children: [
743
743
  !c && a && /* @__PURE__ */ n.jsx("span", { "data-testid": "button-left-icon", className: W.icon, children: a }),
744
- o,
744
+ s,
745
745
  !c && r && /* @__PURE__ */ n.jsx("span", { "data-testid": "button-icon", className: k(W.icon, W.iconRight), children: r })
746
746
  ] }),
747
747
  c && /* @__PURE__ */ n.jsxs("div", { "data-testid": "button-right-group", className: W.rightGroup, children: [
748
- p && /* @__PURE__ */ n.jsx("span", { "data-testid": "button-icon", className: W.icon, children: r }),
748
+ _ && /* @__PURE__ */ n.jsx("span", { "data-testid": "button-icon", className: W.icon, children: r }),
749
749
  i && c && /* @__PURE__ */ n.jsx("span", { "data-testid": "button-postfix", className: W.postfix, children: i })
750
750
  ] })
751
751
  ] }),
752
- !_ && !o && /* @__PURE__ */ n.jsx("span", { "data-testid": "button-icon", className: W.icon, children: r })
752
+ !f && !s && /* @__PURE__ */ n.jsx("span", { "data-testid": "button-icon", className: W.icon, children: r })
753
753
  ] });
754
- }, ha = K((e, r) => {
754
+ }, ga = K((e, r) => {
755
755
  const {
756
756
  mode: a = "primary",
757
- size: o = "m",
757
+ size: s = "m",
758
758
  buttonStyle: i = Ne(e) ? "neutral" : "accent",
759
- disabled: s = !1,
759
+ disabled: o = !1,
760
760
  displayAs: l = "button",
761
761
  iconRight: c,
762
- className: p,
763
- children: _,
764
- tabIndex: f
765
- } = e, h = Ne(e) ? e.subcaption : void 0, m = Ne(e) ? e.postfix : void 0, b = Ne(e) ? e.stretched : void 0, y = !(ot(e) && e.size === void 0), L = ot(e) && y ? e.iconLeft : void 0, x = !!(l === "button" && "loading" in e && e.loading), v = Ne(e) ? s : s || x, d = !v && !x, w = y ? c : void 0, C = !!(w && !_), M = typeof b == "object" ? b.justify === "space-between" : void 0, j = ot(e) ? fa(e.size ?? "m") : void 0, I = j ? ce[j] : void 0, A = v || x ? -1 : f, D = k(
762
+ className: _,
763
+ children: f,
764
+ tabIndex: p
765
+ } = e, h = Ne(e) ? e.subcaption : void 0, m = Ne(e) ? e.postfix : void 0, g = Ne(e) ? e.stretched : void 0, y = !(ot(e) && e.size === void 0), C = ot(e) && y ? e.iconLeft : void 0, v = !!(l === "button" && "loading" in e && e.loading), x = Ne(e) ? o : o || v, u = !x && !v, w = y ? c : void 0, j = !!(w && !f), M = typeof g == "object" ? g.justify === "space-between" : void 0, E = ot(e) ? fa(e.size ?? "m") : void 0, I = E ? ce[E] : void 0, A = x || v ? -1 : p, D = k(
766
766
  W.button,
767
- W[o],
767
+ W[s],
768
768
  W[a],
769
769
  W[i],
770
770
  I,
771
771
  {
772
- [W.disabled]: v,
772
+ [W.disabled]: x,
773
773
  [W.loading]: l === "button" && "loading" in e && e.loading,
774
- [W.stretched]: b,
774
+ [W.stretched]: g,
775
775
  [W.spaceBetween]: M,
776
- [W.withSubcaption]: h && o !== "s" && o !== "xs",
777
- [W.iconOnly]: C,
776
+ [W.withSubcaption]: h && s !== "s" && s !== "xs",
777
+ [W.iconOnly]: j,
778
778
  [W.link]: l === "link",
779
779
  [W.underline]: l === "link" && "showUnderline" in e && e.showUnderline
780
780
  },
781
- p
781
+ _
782
782
  ), U = {
783
- isLoading: x,
783
+ isLoading: v,
784
784
  iconRight: w,
785
- iconLeft: L,
786
- children: _,
785
+ iconLeft: C,
786
+ children: f,
787
787
  postfix: m,
788
788
  subcaption: h,
789
- size: o,
789
+ size: s,
790
790
  isAsButton: Ne(e)
791
791
  };
792
792
  if (Rr(e)) {
@@ -797,7 +797,7 @@ const ce = {
797
797
  ee.add("noopener").add("noreferrer"), Y = Array.from(ee).join(" ");
798
798
  }
799
799
  const ue = (ee) => {
800
- if (!d) {
800
+ if (!u) {
801
801
  ee.preventDefault();
802
802
  return;
803
803
  }
@@ -808,11 +808,11 @@ const ce = {
808
808
  {
809
809
  ref: r,
810
810
  className: D,
811
- href: d ? q : void 0,
811
+ href: u ? q : void 0,
812
812
  tabIndex: A,
813
813
  onClick: ue,
814
814
  "data-testid": F,
815
- "aria-disabled": v || x,
815
+ "aria-disabled": x || v,
816
816
  style: S,
817
817
  target: ie,
818
818
  rel: Y,
@@ -823,7 +823,7 @@ const ce = {
823
823
  }
824
824
  if (Nr(e)) {
825
825
  const { type: q = "button", onClick: O, style: S, "data-testid": T, ...B } = e, F = $t(B), H = (Q) => {
826
- d && O && O(Q);
826
+ u && O && O(Q);
827
827
  };
828
828
  return /* @__PURE__ */ n.jsx(
829
829
  "button",
@@ -831,11 +831,11 @@ const ce = {
831
831
  ref: r,
832
832
  type: q,
833
833
  className: D,
834
- disabled: v,
834
+ disabled: x,
835
835
  tabIndex: A,
836
836
  onClick: H,
837
837
  "data-testid": T,
838
- "aria-disabled": v || x,
838
+ "aria-disabled": x || v,
839
839
  style: S,
840
840
  ...F,
841
841
  children: /* @__PURE__ */ n.jsx(Tt, { ...U })
@@ -856,35 +856,35 @@ function ba() {
856
856
  (function() {
857
857
  var r = {}.hasOwnProperty;
858
858
  function a() {
859
- for (var s = "", l = 0; l < arguments.length; l++) {
859
+ for (var o = "", l = 0; l < arguments.length; l++) {
860
860
  var c = arguments[l];
861
- c && (s = i(s, o(c)));
861
+ c && (o = i(o, s(c)));
862
862
  }
863
- return s;
863
+ return o;
864
864
  }
865
- function o(s) {
866
- if (typeof s == "string" || typeof s == "number")
867
- return s;
868
- if (typeof s != "object")
865
+ function s(o) {
866
+ if (typeof o == "string" || typeof o == "number")
867
+ return o;
868
+ if (typeof o != "object")
869
869
  return "";
870
- if (Array.isArray(s))
871
- return a.apply(null, s);
872
- if (s.toString !== Object.prototype.toString && !s.toString.toString().includes("[native code]"))
873
- return s.toString();
870
+ if (Array.isArray(o))
871
+ return a.apply(null, o);
872
+ if (o.toString !== Object.prototype.toString && !o.toString.toString().includes("[native code]"))
873
+ return o.toString();
874
874
  var l = "";
875
- for (var c in s)
876
- r.call(s, c) && s[c] && (l = i(l, c));
875
+ for (var c in o)
876
+ r.call(o, c) && o[c] && (l = i(l, c));
877
877
  return l;
878
878
  }
879
- function i(s, l) {
880
- return l ? s ? s + " " + l : s + l : s;
879
+ function i(o, l) {
880
+ return l ? o ? o + " " + l : o + l : o;
881
881
  }
882
882
  e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
883
883
  })();
884
884
  }(it)), it.exports;
885
885
  }
886
- var ga = ba();
887
- const Le = /* @__PURE__ */ Mr(ga), ma = "_avatar_1v54p_17", ya = "_clickable_1v54p_41", va = "_icon_1v54p_58", xa = "_disabled_1v54p_63", wa = "_loading_1v54p_68", Ca = "_image_1v54p_74", Sa = "_name_1v54p_74", ge = {
886
+ var ha = ba();
887
+ const je = /* @__PURE__ */ Mr(ha), ma = "_avatar_47gdj_18", ya = "_clickable_47gdj_42", va = "_icon_47gdj_59", xa = "_disabled_47gdj_64", wa = "_loading_47gdj_69", Ca = "_image_47gdj_75", Sa = "_name_47gdj_75", he = {
888
888
  avatar: ma,
889
889
  clickable: ya,
890
890
  icon: va,
@@ -892,33 +892,33 @@ const Le = /* @__PURE__ */ Mr(ga), ma = "_avatar_1v54p_17", ya = "_clickable_1v5
892
892
  loading: wa,
893
893
  image: Ca,
894
894
  name: Sa,
895
- "variant-filled": "_variant-filled_1v54p_126",
896
- "color-brand": "_color-brand_1v54p_131",
897
- "color-red": "_color-red_1v54p_135",
898
- "color-orange": "_color-orange_1v54p_139",
899
- "color-yellow": "_color-yellow_1v54p_143",
900
- "color-green": "_color-green_1v54p_147",
901
- "color-blue": "_color-blue_1v54p_151",
902
- "color-lightblue": "_color-lightblue_1v54p_155",
903
- "color-purple": "_color-purple_1v54p_159",
904
- "color-gray": "_color-gray_1v54p_163",
905
- "color-contrast": "_color-contrast_1v54p_167",
906
- "variant-light": "_variant-light_1v54p_173",
907
- "variant-outline": "_variant-outline_1v54p_245"
895
+ "variant-filled": "_variant-filled_47gdj_127",
896
+ "color-brand": "_color-brand_47gdj_132",
897
+ "color-red": "_color-red_47gdj_136",
898
+ "color-orange": "_color-orange_47gdj_140",
899
+ "color-yellow": "_color-yellow_47gdj_144",
900
+ "color-green": "_color-green_47gdj_148",
901
+ "color-blue": "_color-blue_47gdj_152",
902
+ "color-lightblue": "_color-lightblue_47gdj_156",
903
+ "color-purple": "_color-purple_47gdj_160",
904
+ "color-gray": "_color-gray_47gdj_164",
905
+ "color-contrast": "_color-contrast_47gdj_168",
906
+ "variant-light": "_variant-light_47gdj_174",
907
+ "variant-outline": "_variant-outline_47gdj_246"
908
908
  }, Nt = 99;
909
- function La(e) {
909
+ function ja(e) {
910
910
  return e < Nt ? `+${e}` : `${Nt}+`;
911
911
  }
912
912
  function Je(e) {
913
913
  const r = typeof e == "string" ? e : JSON.stringify(e);
914
914
  let a = 5381;
915
- for (let o = 0; o < r.length; o++) {
916
- const i = r.charCodeAt(o);
915
+ for (let s = 0; s < r.length; s++) {
916
+ const i = r.charCodeAt(s);
917
917
  a = (a << 5) + a + i;
918
918
  }
919
919
  return a >>> 0;
920
920
  }
921
- const Ea = [
921
+ const La = (e, r, a) => Math.min(Math.max(e, r), a), Ea = [
922
922
  "red",
923
923
  "orange",
924
924
  "yellow",
@@ -927,18 +927,18 @@ const Ea = [
927
927
  "lightblue",
928
928
  "purple"
929
929
  ];
930
- function ja(e, r = Ea) {
930
+ function ka(e, r = Ea) {
931
931
  if (!e) return "gray";
932
- const a = Je(e), o = Math.abs(a) % r.length;
933
- return r[o];
932
+ const a = Je(e), s = Math.abs(a) % r.length;
933
+ return r[s];
934
934
  }
935
935
  const At = 2;
936
- function ka(e) {
936
+ function Ma(e) {
937
937
  if (!e) return "";
938
938
  const r = e.trim().split(/\s+/);
939
939
  return r.length === 1 ? e.slice(0, At).toUpperCase() : r.map((a) => a[0]).slice(0, At).join("").toUpperCase();
940
940
  }
941
- const Ma = {
941
+ const Ia = {
942
942
  24: 8,
943
943
  32: 12,
944
944
  40: 12,
@@ -949,10 +949,10 @@ const Ma = {
949
949
  96: 24,
950
950
  208: 8
951
951
  };
952
- function Ia(e, r) {
953
- return r === "circle" ? e / 2 : Ma[e] || 12;
952
+ function $a(e, r) {
953
+ return r === "circle" ? e / 2 : Ia[e] || 12;
954
954
  }
955
- const $a = {
955
+ const Ta = {
956
956
  24: "typography-subtitle-4-semibold",
957
957
  32: "typography-subtitle-2-semibold",
958
958
  40: "typography-subtitle-1-semibold",
@@ -963,70 +963,70 @@ const $a = {
963
963
  96: "typography-title-3-semibold",
964
964
  208: "typography-title-1-semibold"
965
965
  };
966
- function Ta(e) {
967
- return $a[e] || "typography-subtitle-1-semibold";
966
+ function Ra(e) {
967
+ return Ta[e] || "typography-subtitle-1-semibold";
968
968
  }
969
- const Ra = "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", Na = "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", Aa = "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", Da = "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", Oa = {
970
- male: Ra,
971
- female: Na,
972
- org: Da,
973
- neutral: Aa
969
+ const Na = "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", Aa = "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", Da = "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", Oa = "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", Pa = {
970
+ male: Na,
971
+ female: Aa,
972
+ org: Oa,
973
+ neutral: Da
974
974
  }, Ze = K((e, r) => {
975
975
  const {
976
976
  style: a,
977
- size: o = 40,
977
+ size: s = 40,
978
978
  isLoading: i = !1,
979
- isDisabled: s = !1,
979
+ isDisabled: o = !1,
980
980
  shape: l = "circle",
981
981
  variant: c = "filled",
982
- placeholderType: p = "neutral",
983
- name: _,
984
- imgSrc: f,
982
+ placeholderType: _ = "neutral",
983
+ name: f,
984
+ imgSrc: p,
985
985
  imgAlt: h,
986
986
  icon: m,
987
- imgProps: b,
987
+ imgProps: g,
988
988
  colorScheme: y,
989
- className: L,
990
- "data-testid": x,
991
- ...v
992
- } = e, { onClick: d, onPointerDown: w } = v, M = !s && !i && (!!d || !!w), [j, I] = de(!1);
989
+ className: C,
990
+ "data-testid": v,
991
+ ...x
992
+ } = e, { onClick: u, onPointerDown: w } = x, M = !o && !i && (!!u || !!w), [E, I] = de(!1);
993
993
  oe(() => {
994
- f && I(!1);
995
- }, [f]);
996
- const A = f && !j ? "image" : m ? "icon" : _ ? "name" : "placeholder", D = y || A === "name" && ja(_) || "gray", U = Ta(o), q = Ia(o, l), O = k(
997
- L,
998
- ge.avatar,
999
- ge[`variant-${c}`],
1000
- ge[`color-${D}`],
994
+ p && I(!1);
995
+ }, [p]);
996
+ const A = p && !E ? "image" : m ? "icon" : f ? "name" : "placeholder", D = y || A === "name" && ka(f) || "gray", U = Ra(s), q = $a(s, l), O = k(
997
+ C,
998
+ he.avatar,
999
+ he[`variant-${c}`],
1000
+ he[`color-${D}`],
1001
1001
  ce[U],
1002
1002
  {
1003
- [ge.disabled]: s,
1004
- [ge.loading]: i,
1005
- [ge.clickable]: M
1003
+ [he.disabled]: o,
1004
+ [he.loading]: i,
1005
+ [he.clickable]: M
1006
1006
  }
1007
1007
  ), S = {
1008
- "--avatar-size": `${o}px`,
1008
+ "--avatar-size": `${s}px`,
1009
1009
  "--avatar-border-radius": `${q}px`,
1010
1010
  ...a
1011
1011
  }, T = {
1012
- icon: () => /* @__PURE__ */ n.jsx("span", { "data-testid": "avatar-icon", title: h || void 0, role: "img", className: ge.icon, children: m == null ? void 0 : m({}) }),
1012
+ icon: () => /* @__PURE__ */ n.jsx("span", { "data-testid": "avatar-icon", title: h || void 0, role: "img", className: he.icon, children: m == null ? void 0 : m({}) }),
1013
1013
  name: () => /* @__PURE__ */ n.jsx(
1014
1014
  "span",
1015
1015
  {
1016
1016
  role: "textbox",
1017
1017
  "data-testid": "avatar-name",
1018
- className: ge.name,
1018
+ className: he.name,
1019
1019
  title: h || void 0,
1020
- children: ka(_ || "")
1020
+ children: Ma(f || "")
1021
1021
  }
1022
1022
  ),
1023
1023
  placeholder: () => /* @__PURE__ */ n.jsx(
1024
1024
  "img",
1025
1025
  {
1026
- ...b,
1026
+ ...g,
1027
1027
  "data-testid": "avatar-placeholder",
1028
- className: ge.image,
1029
- src: Oa[p],
1028
+ className: he.image,
1029
+ src: Pa[_],
1030
1030
  alt: h || void 0
1031
1031
  }
1032
1032
  ),
@@ -1034,19 +1034,19 @@ const Ra = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
1034
1034
  "img",
1035
1035
  {
1036
1036
  "data-testid": "avatar-image",
1037
- ...b,
1038
- className: ge.image,
1039
- src: f || void 0,
1037
+ ...g,
1038
+ className: he.image,
1039
+ src: p || void 0,
1040
1040
  alt: h || void 0,
1041
1041
  onLoad: () => I(!1),
1042
1042
  onError: (F) => {
1043
1043
  var H;
1044
- I(!0), (H = b == null ? void 0 : b.onError) == null || H.call(b, F);
1044
+ I(!0), (H = g == null ? void 0 : g.onError) == null || H.call(g, F);
1045
1045
  }
1046
1046
  }
1047
1047
  )
1048
1048
  }, B = (F) => {
1049
- M && (d == null || d(F));
1049
+ M && (u == null || u(F));
1050
1050
  };
1051
1051
  return /* @__PURE__ */ n.jsx(
1052
1052
  "div",
@@ -1055,30 +1055,28 @@ const Ra = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
1055
1055
  onClick: B,
1056
1056
  className: O,
1057
1057
  style: S,
1058
- "data-testid": x,
1059
- "aria-disabled": s || i,
1058
+ "data-testid": v,
1059
+ "aria-disabled": o || i,
1060
1060
  children: T[A](null)
1061
1061
  }
1062
1062
  );
1063
- }), Pa = "_avatarGroup_157g4_1", Ba = {
1064
- avatarGroup: Pa
1065
- };
1066
- let za = (e = 21) => crypto.getRandomValues(new Uint8Array(e)).reduce((r, a) => (a &= 63, a < 36 ? r += a.toString(36) : a < 62 ? r += (a - 26).toString(36).toUpperCase() : a > 62 ? r += "-" : r += "_", r), "");
1067
- const Ua = (e) => e === "rgba(0, 0, 0, 0)" || e === "transparent" || e.startsWith("rgba") && e.endsWith(", 0)"), Fa = (e) => {
1063
+ }), Ba = "_avatarGroup_157g4_1", za = {
1064
+ avatarGroup: Ba
1065
+ }, Ua = (e) => e === "rgba(0, 0, 0, 0)" || e === "transparent" || e.startsWith("rgba") && e.endsWith(", 0)"), Fa = (e) => {
1068
1066
  if (!e) return null;
1069
1067
  let r = e;
1070
1068
  for (; r; ) {
1071
- const o = window.getComputedStyle(r).backgroundColor;
1072
- if (!Ua(o)) return o;
1069
+ const s = window.getComputedStyle(r).backgroundColor;
1070
+ if (!Ua(s)) return s;
1073
1071
  r = r.parentElement;
1074
1072
  }
1075
1073
  return null;
1076
1074
  }, ft = () => {
1077
- const e = Be(null), [r, a] = de(null);
1075
+ const e = qe(null), [r, a] = de(null);
1078
1076
  return oe(() => {
1079
1077
  if (e.current) {
1080
- const o = Fa(e.current);
1081
- a(o);
1078
+ const s = Fa(e.current);
1079
+ a(s);
1082
1080
  }
1083
1081
  }, []), { ref: e, bgColor: r };
1084
1082
  };
@@ -1099,64 +1097,59 @@ function qa() {
1099
1097
  }
1100
1098
  function Wa(e = 768) {
1101
1099
  const { width: r } = qa();
1102
- return Lr(() => r <= e, [r, e]);
1100
+ return jr(() => r <= e, [r, e]);
1103
1101
  }
1104
1102
  const Ha = 2, Va = (e) => {
1105
1103
  const {
1106
1104
  avatars: r = [],
1107
1105
  size: a = 40,
1108
- overlap: o = 0.3,
1106
+ overlap: s = 0.3,
1109
1107
  shape: i = "circle",
1110
- overflowCount: s = 0,
1108
+ overflowCount: o = 0,
1111
1109
  overflowProps: l,
1112
1110
  cutoutBackground: c
1113
- } = e, _ = -(a * o) + Ha, h = Be(za()).current.toString(), { ref: m, bgColor: b } = ft(), y = c || b, L = Le(Ba.avatarGroup), x = {
1114
- ...y && { "--avatar-cutout-bg": y }
1111
+ } = e, f = -(a * s) + Ha, { ref: p, bgColor: h } = ft(), m = c || h || "#ffffff", g = je(za.avatarGroup), y = {
1112
+ "--avatar-cutout-bg": m
1115
1113
  };
1116
- return r.length === 0 ? null : /* @__PURE__ */ n.jsxs("div", { className: L, ref: m, style: x, children: [
1117
- r.map((v, d, w) => {
1118
- const C = d + 1 >= w.length;
1119
- if (v.wrapper) {
1120
- const M = v.wrapper;
1114
+ return r.length === 0 ? null : /* @__PURE__ */ n.jsxs("div", { className: g, ref: p, style: y, children: [
1115
+ r.map((C, v) => {
1116
+ if (C.wrapper) {
1117
+ const x = C.wrapper;
1121
1118
  return /* @__PURE__ */ n.jsx(
1122
1119
  "div",
1123
1120
  {
1124
1121
  style: {
1125
- // Для последнего видимого аватара без overflowCount не применяем обрезку
1126
- clipPath: C && !s ? void 0 : `url(#${h})`,
1127
- marginRight: _
1122
+ marginRight: f
1128
1123
  },
1129
- children: /* @__PURE__ */ n.jsx(M, { children: /* @__PURE__ */ n.jsx(Ze, { size: a, shape: i, ...v }) })
1124
+ children: /* @__PURE__ */ n.jsx(x, { children: /* @__PURE__ */ n.jsx(Ze, { size: a, shape: i, ...C }) })
1130
1125
  },
1131
- Je(v) + d
1126
+ Je(C) + v
1132
1127
  );
1133
1128
  }
1134
1129
  return /* @__PURE__ */ n.jsx(
1135
1130
  "div",
1136
1131
  {
1137
1132
  style: {
1138
- // Для последнего видимого аватара без overflowCount не применяем обрезку
1139
- clipPath: C && !s ? void 0 : `url(#${h})`,
1140
- marginRight: _
1133
+ marginRight: f
1141
1134
  },
1142
- children: /* @__PURE__ */ n.jsx(Ze, { size: a, shape: i, ...v })
1135
+ children: /* @__PURE__ */ n.jsx(Ze, { size: a, shape: i, ...C })
1143
1136
  },
1144
- Je(v) + d
1137
+ Je(C) + v
1145
1138
  );
1146
1139
  }),
1147
- s > 0 && /* @__PURE__ */ n.jsx("div", { style: { marginRight: _ }, children: /* @__PURE__ */ n.jsx(
1140
+ o > 0 && /* @__PURE__ */ n.jsx("div", { style: { marginRight: f }, children: /* @__PURE__ */ n.jsx(
1148
1141
  Ze,
1149
1142
  {
1150
1143
  size: a,
1151
1144
  shape: i,
1152
- icon: () => La(s),
1145
+ icon: () => ja(o),
1153
1146
  colorScheme: "gray",
1154
1147
  variant: "light",
1155
1148
  ...l
1156
1149
  }
1157
1150
  ) })
1158
1151
  ] });
1159
- }, Hi = Object.assign(Ze, {
1152
+ }, Wi = Object.assign(Ze, {
1160
1153
  Group: Va
1161
1154
  }), Ga = "_wrapper_ecbsu_5", Ya = "_badge__container_ecbsu_6", Za = "_badge__content_ecbsu_7", Xa = "_interactive_ecbsu_20", Ja = "_disabled_ecbsu_21", Ka = "_icon_ecbsu_22", ye = {
1162
1155
  wrapper: Ga,
@@ -1199,40 +1192,40 @@ const Ha = 2, Va = (e) => {
1199
1192
  }, Qa = K((e, r) => {
1200
1193
  const {
1201
1194
  icon: a,
1202
- children: o,
1195
+ children: s,
1203
1196
  variant: i = "filled",
1204
- label: s,
1197
+ label: o,
1205
1198
  isHidden: l = !1,
1206
1199
  colorScheme: c = "red",
1207
- size: p = 20,
1208
- position: _ = "top-right",
1209
- positionOffset: f = { x: 0, y: 0 },
1200
+ size: _ = 20,
1201
+ position: f = "top-right",
1202
+ positionOffset: p = { x: 0, y: 0 },
1210
1203
  cutoutBackground: h,
1211
1204
  isDisabled: m,
1212
- className: b,
1205
+ className: g,
1213
1206
  "data-testid": y = "badge",
1214
- ...L
1215
- } = e, { onClick: x, onPointerDown: v } = L, { ref: d, bgColor: w } = ft(), C = h || w, j = !m && (!!x || !!v), I = Le(ye.badge__container, ye[`position-${_}`]), A = Le(
1216
- b,
1207
+ ...C
1208
+ } = e, { onClick: v, onPointerDown: x } = C, { ref: u, bgColor: w } = ft(), j = h || w, E = !m && (!!v || !!x), I = je(ye.badge__container, ye[`position-${f}`]), A = je(
1209
+ g,
1217
1210
  ye.badge__content,
1218
1211
  ye[`color-${c}`],
1219
1212
  ye[`variant-${i}`],
1220
1213
  {
1221
1214
  [ye.disabled]: m,
1222
1215
  [ye.icon]: !!a,
1223
- [ye.interactive]: j
1216
+ [ye.interactive]: E
1224
1217
  }
1225
1218
  ), D = {
1226
- "--badge-height": `${p}px`,
1227
- "--badge-offset-x": `${f.x}px`,
1228
- "--badge-offset-y": `${f.y}px`,
1229
- ...C && { "--badge-cutout-bg": C },
1219
+ "--badge-height": `${_}px`,
1220
+ "--badge-offset-x": `${p.x}px`,
1221
+ "--badge-offset-y": `${p.y}px`,
1222
+ ...j && { "--badge-cutout-bg": j },
1230
1223
  ...i === "transparent" && { "--badge-cutout-bg": "transparent" }
1231
- }, U = (a == null ? void 0 : a({})) || s, q = (O) => {
1232
- j && (x == null || x(O));
1224
+ }, U = (a == null ? void 0 : a({})) || o, q = (O) => {
1225
+ E && (v == null || v(O));
1233
1226
  };
1234
- return /* @__PURE__ */ n.jsxs("div", { className: ye.wrapper, ref: d, "data-testid": y + "-wrapper", children: [
1235
- o,
1227
+ return /* @__PURE__ */ n.jsxs("div", { className: ye.wrapper, ref: u, "data-testid": y + "-wrapper", children: [
1228
+ s,
1236
1229
  !l && /* @__PURE__ */ n.jsx(
1237
1230
  "span",
1238
1231
  {
@@ -1242,7 +1235,7 @@ const Ha = 2, Va = (e) => {
1242
1235
  children: /* @__PURE__ */ n.jsx(
1243
1236
  "span",
1244
1237
  {
1245
- ...L,
1238
+ ...C,
1246
1239
  onClick: q,
1247
1240
  className: A,
1248
1241
  "data-testid": y + "-content",
@@ -1258,7 +1251,7 @@ const Ha = 2, Va = (e) => {
1258
1251
  container: en,
1259
1252
  image: tn,
1260
1253
  loading: rn
1261
- }, an = "_loader_isv17_1", nn = "_spin_isv17_1", sn = "_accent_isv17_19", on = "_neutral_isv17_23", ln = "_positive_isv17_27", cn = "_negative_isv17_31", dn = "_gray_isv17_35", un = "_special_isv17_39", pn = "_contrast_isv17_43", _n = "_container_isv17_47", fn = "_overlay_isv17_57", qe = {
1254
+ }, an = "_loader_isv17_1", nn = "_spin_isv17_1", sn = "_accent_isv17_19", on = "_neutral_isv17_23", ln = "_positive_isv17_27", cn = "_negative_isv17_31", dn = "_gray_isv17_35", un = "_special_isv17_39", _n = "_contrast_isv17_43", pn = "_container_isv17_47", fn = "_overlay_isv17_57", Fe = {
1262
1255
  loader: an,
1263
1256
  spin: nn,
1264
1257
  accent: sn,
@@ -1267,8 +1260,8 @@ const Ha = 2, Va = (e) => {
1267
1260
  negative: cn,
1268
1261
  gray: dn,
1269
1262
  special: un,
1270
- contrast: pn,
1271
- container: _n,
1263
+ contrast: _n,
1264
+ container: pn,
1272
1265
  overlay: fn,
1273
1266
  "size-16": "_size-16_isv17_72",
1274
1267
  "size-24": "_size-24_isv17_76",
@@ -1280,14 +1273,14 @@ const Ha = 2, Va = (e) => {
1280
1273
  size: e = 24,
1281
1274
  variant: r = "accent",
1282
1275
  className: a,
1283
- "data-testid": o = "loader",
1276
+ "data-testid": s = "loader",
1284
1277
  style: i,
1285
- ...s
1278
+ ...o
1286
1279
  }, l) => {
1287
- const c = Le(
1288
- qe.loader,
1289
- qe[r],
1290
- qe[`size-${e}`],
1280
+ const c = je(
1281
+ Fe.loader,
1282
+ Fe[r],
1283
+ Fe[`size-${e}`],
1291
1284
  a
1292
1285
  );
1293
1286
  return /* @__PURE__ */ n.jsx(
@@ -1298,9 +1291,9 @@ const Ha = 2, Va = (e) => {
1298
1291
  fill: "none",
1299
1292
  viewBox: "0 0 16 16",
1300
1293
  xmlns: "http://www.w3.org/2000/svg",
1301
- "data-testid": o,
1294
+ "data-testid": s,
1302
1295
  style: i,
1303
- ...s,
1296
+ ...o,
1304
1297
  children: /* @__PURE__ */ n.jsx(
1305
1298
  "path",
1306
1299
  {
@@ -1313,28 +1306,28 @@ const Ha = 2, Va = (e) => {
1313
1306
  }
1314
1307
  );
1315
1308
  }
1316
- ), hn = K((e, r) => {
1309
+ ), gn = K((e, r) => {
1317
1310
  const {
1318
1311
  loading: a = !1,
1319
- size: o = 24,
1312
+ size: s = 24,
1320
1313
  variant: i = "accent",
1321
- children: s,
1314
+ children: o,
1322
1315
  className: l,
1323
1316
  style: c,
1324
- "data-testid": p,
1325
- ..._
1326
- } = e, f = Le(qe.container, l);
1327
- return /* @__PURE__ */ n.jsxs("div", { ref: r, className: f, style: c, "data-testid": p, ..._, children: [
1328
- s,
1329
- a && /* @__PURE__ */ n.jsx("div", { className: qe.overlay, children: /* @__PURE__ */ n.jsx(Zt, { size: o, variant: i, "data-testid": `${p}-spinner` }) })
1317
+ "data-testid": _,
1318
+ ...f
1319
+ } = e, p = je(Fe.container, l);
1320
+ return /* @__PURE__ */ n.jsxs("div", { ref: r, className: p, style: c, "data-testid": _, ...f, children: [
1321
+ o,
1322
+ a && /* @__PURE__ */ n.jsx("div", { className: Fe.overlay, children: /* @__PURE__ */ n.jsx(Zt, { size: s, variant: i, "data-testid": `${_}-spinner` }) })
1330
1323
  ] });
1331
1324
  }), bn = K((e, r) => e.children ? /* @__PURE__ */ n.jsx(
1332
- hn,
1325
+ gn,
1333
1326
  {
1334
1327
  ref: r,
1335
1328
  ...e
1336
1329
  }
1337
- ) : /* @__PURE__ */ n.jsx(Zt, { ref: r, ...e })), gn = ({ width: e = 48, height: r = 48, className: a, "data-testid": o }) => /* @__PURE__ */ n.jsx(
1330
+ ) : /* @__PURE__ */ n.jsx(Zt, { ref: r, ...e })), hn = ({ width: e = 48, height: r = 48, className: a, "data-testid": s }) => /* @__PURE__ */ n.jsx(
1338
1331
  "svg",
1339
1332
  {
1340
1333
  width: e,
@@ -1343,7 +1336,7 @@ const Ha = 2, Va = (e) => {
1343
1336
  fill: "none",
1344
1337
  xmlns: "http://www.w3.org/2000/svg",
1345
1338
  className: a,
1346
- "data-testid": o,
1339
+ "data-testid": s,
1347
1340
  children: /* @__PURE__ */ n.jsx(
1348
1341
  "path",
1349
1342
  {
@@ -1355,33 +1348,33 @@ const Ha = 2, Va = (e) => {
1355
1348
  }
1356
1349
  )
1357
1350
  }
1358
- ), Vi = K((e, r) => {
1351
+ ), Hi = K((e, r) => {
1359
1352
  const {
1360
1353
  alt: a = "",
1361
- loading: o = "lazy",
1354
+ loading: s = "lazy",
1362
1355
  src: i,
1363
- isLoading: s = !1,
1356
+ isLoading: o = !1,
1364
1357
  className: l,
1365
1358
  "data-testid": c = "image",
1366
- onError: p,
1367
- onLoad: _,
1368
- ...f
1369
- } = e, [h, m] = de("loading"), b = h === "error", y = (s || h === "loading") && !b, L = h === "loaded" && !s, x = Le(
1359
+ onError: _,
1360
+ onLoad: f,
1361
+ ...p
1362
+ } = e, [h, m] = de("loading"), g = h === "error", y = (o || h === "loading") && !g, C = h === "loaded" && !o, v = je(
1370
1363
  lt.image,
1371
1364
  {
1372
1365
  [lt.loading]: y
1373
1366
  },
1374
1367
  l
1375
- ), v = Se(
1376
- (C) => {
1377
- m("loaded"), _ == null || _(C);
1368
+ ), x = Se(
1369
+ (j) => {
1370
+ m("loaded"), f == null || f(j);
1378
1371
  },
1379
- [_]
1380
- ), d = Se(
1381
- (C) => {
1382
- m("error"), p == null || p(C);
1372
+ [f]
1373
+ ), u = Se(
1374
+ (j) => {
1375
+ m("error"), _ == null || _(j);
1383
1376
  },
1384
- [p]
1377
+ [_]
1385
1378
  ), w = {
1386
1379
  loader: /* @__PURE__ */ n.jsxs(Oe, { children: [
1387
1380
  /* @__PURE__ */ n.jsx(bn, { size: 48, variant: "special", "data-testid": `${c}-loader` }),
@@ -1390,22 +1383,22 @@ const Ha = 2, Va = (e) => {
1390
1383
  {
1391
1384
  alt: a,
1392
1385
  src: i,
1393
- onLoad: v,
1394
- onError: d,
1386
+ onLoad: x,
1387
+ onError: u,
1395
1388
  style: { display: "none" }
1396
1389
  }
1397
1390
  )
1398
1391
  ] }),
1399
- error: /* @__PURE__ */ n.jsx(gn, { "data-testid": `${c}-fallback` }),
1392
+ error: /* @__PURE__ */ n.jsx(hn, { "data-testid": `${c}-fallback` }),
1400
1393
  image: /* @__PURE__ */ n.jsx(
1401
1394
  "img",
1402
1395
  {
1403
1396
  ref: r,
1404
1397
  alt: a,
1405
1398
  "data-testid": c,
1406
- loading: o,
1399
+ loading: s,
1407
1400
  src: i,
1408
- className: x
1401
+ className: v
1409
1402
  }
1410
1403
  )
1411
1404
  };
@@ -1415,10 +1408,10 @@ const Ha = 2, Va = (e) => {
1415
1408
  return;
1416
1409
  }
1417
1410
  m("loading");
1418
- }, [i]), /* @__PURE__ */ n.jsxs("div", { className: lt.container, "data-testid": `${c}-container`, ...f, children: [
1411
+ }, [i]), /* @__PURE__ */ n.jsxs("div", { className: lt.container, "data-testid": `${c}-container`, ...p, children: [
1419
1412
  y && w.loader,
1420
- b && w.error,
1421
- L && w.image
1413
+ g && w.error,
1414
+ C && w.image
1422
1415
  ] });
1423
1416
  }), mn = {}, Xt = Gt({
1424
1417
  locale: mn
@@ -1427,19 +1420,19 @@ const Ha = 2, Va = (e) => {
1427
1420
  if (!e)
1428
1421
  throw new Error("useConfig must be used within a ConfigProvider");
1429
1422
  return e;
1430
- }, Gi = () => {
1423
+ }, Vi = () => {
1431
1424
  const { locale: e } = yn();
1432
1425
  return e;
1433
- }, vn = {}, xn = {}, wn = {}, Yi = ({
1426
+ }, vn = {}, xn = {}, wn = {}, Gi = ({
1434
1427
  locale: e = {},
1435
1428
  theme: r,
1436
1429
  children: a,
1437
- className: o
1438
- }) => (Er(() => {
1430
+ className: s
1431
+ }) => (Lr(() => {
1439
1432
  if (r) {
1440
1433
  const i = document.documentElement;
1441
- Object.entries(r).forEach(([s, l]) => {
1442
- i.style.setProperty(s, l);
1434
+ Object.entries(r).forEach(([o, l]) => {
1435
+ i.style.setProperty(o, l);
1443
1436
  });
1444
1437
  }
1445
1438
  }, [r]), /* @__PURE__ */ n.jsxs(Oe, { children: [
@@ -1447,16 +1440,16 @@ const Ha = 2, Va = (e) => {
1447
1440
  "div",
1448
1441
  {
1449
1442
  "data-testid": "ConfigProvider-component",
1450
- className: k(vn, xn, wn, o)
1443
+ className: k(vn, xn, wn, s)
1451
1444
  }
1452
1445
  ),
1453
1446
  /* @__PURE__ */ n.jsx(Xt.Provider, { value: { locale: e }, children: a })
1454
- ] })), Zi = {}, Cn = "_tag_1llsi_1", Sn = "_label_1llsi_16", Ln = "_iconWrapper_1llsi_20", En = "_medium_1llsi_27", jn = "_large_1llsi_33", kn = "_disabled_1llsi_43", Mn = "_neutral_1llsi_47", In = "_positive_1llsi_53", $n = "_negative_1llsi_59", Tn = "_warning_1llsi_65", Rn = "_vivid_1llsi_71", Nn = "_special_1llsi_77", An = "_accent_1llsi_84", Dn = "_blue_1llsi_90", On = "_lovely_1llsi_96", Pn = "_dreamy_1llsi_102", ke = {
1447
+ ] })), Yi = {}, Cn = "_tag_1llsi_1", Sn = "_label_1llsi_16", jn = "_iconWrapper_1llsi_20", Ln = "_medium_1llsi_27", En = "_large_1llsi_33", kn = "_disabled_1llsi_43", Mn = "_neutral_1llsi_47", In = "_positive_1llsi_53", $n = "_negative_1llsi_59", Tn = "_warning_1llsi_65", Rn = "_vivid_1llsi_71", Nn = "_special_1llsi_77", An = "_accent_1llsi_84", Dn = "_blue_1llsi_90", On = "_lovely_1llsi_96", Pn = "_dreamy_1llsi_102", ke = {
1455
1448
  tag: Cn,
1456
1449
  label: Sn,
1457
- iconWrapper: Ln,
1458
- medium: En,
1459
- large: jn,
1450
+ iconWrapper: jn,
1451
+ medium: Ln,
1452
+ large: En,
1460
1453
  disabled: kn,
1461
1454
  neutral: Mn,
1462
1455
  positive: In,
@@ -1468,40 +1461,40 @@ const Ha = 2, Va = (e) => {
1468
1461
  blue: Dn,
1469
1462
  lovely: On,
1470
1463
  dreamy: Pn
1471
- }, Xi = K((e, r) => {
1464
+ }, Zi = K((e, r) => {
1472
1465
  const {
1473
1466
  className: a,
1474
- children: o,
1467
+ children: s,
1475
1468
  componentStyle: i = "neutral",
1476
- size: s = "medium",
1469
+ size: o = "medium",
1477
1470
  disabled: l = !1,
1478
- showLabel: c = !!o,
1479
- slotStart: p,
1480
- slotEnd: _,
1481
- slotStartWrapperProps: f = {},
1471
+ showLabel: c = !!s,
1472
+ slotStart: _,
1473
+ slotEnd: f,
1474
+ slotStartWrapperProps: p = {},
1482
1475
  slotEndWrapperProps: h = {},
1483
1476
  "data-testid": m
1484
- } = e, { className: b, ...y } = f, { className: L, ...x } = h;
1477
+ } = e, { className: g, ...y } = p, { className: C, ...v } = h;
1485
1478
  return /* @__PURE__ */ n.jsxs(
1486
1479
  "div",
1487
1480
  {
1488
1481
  className: k(
1489
1482
  ke.tag,
1490
- ke[s],
1483
+ ke[o],
1491
1484
  ke[i],
1492
1485
  {
1493
1486
  [ke.disabled]: l,
1494
- [ce["typography-label-3-regular"]]: s === "medium",
1495
- [ce["typography-subtitle-1-semibold"]]: s === "large"
1487
+ [ce["typography-label-3-regular"]]: o === "medium",
1488
+ [ce["typography-subtitle-1-semibold"]]: o === "large"
1496
1489
  },
1497
1490
  a
1498
1491
  ),
1499
1492
  "data-testid": m || "tag-component",
1500
1493
  ref: r,
1501
1494
  children: [
1502
- p && /* @__PURE__ */ n.jsx("span", { className: k([ke.iconWrapper, b]), ...y, children: p }),
1503
- c && /* @__PURE__ */ n.jsx("span", { className: k([ke.label]), children: o }),
1504
- _ && /* @__PURE__ */ n.jsx("span", { className: k([ke.iconWrapper, L]), ...x, children: _ })
1495
+ _ && /* @__PURE__ */ n.jsx("span", { className: k([ke.iconWrapper, g]), ...y, children: _ }),
1496
+ c && /* @__PURE__ */ n.jsx("span", { className: k([ke.label]), children: s }),
1497
+ f && /* @__PURE__ */ n.jsx("span", { className: k([ke.iconWrapper, C]), ...v, children: f })
1505
1498
  ]
1506
1499
  }
1507
1500
  );
@@ -1519,7 +1512,7 @@ const Ha = 2, Va = (e) => {
1519
1512
  width: e = 12,
1520
1513
  height: r = 9,
1521
1514
  className: a = "",
1522
- color: o = "currentColor",
1515
+ color: s = "currentColor",
1523
1516
  ...i
1524
1517
  }) => /* @__PURE__ */ n.jsx(
1525
1518
  "svg",
@@ -1537,7 +1530,7 @@ const Ha = 2, Va = (e) => {
1537
1530
  fillRule: "evenodd",
1538
1531
  clipRule: "evenodd",
1539
1532
  d: "M13.0001 2.49999C13.3906 2.10946 13.3906 1.4763 13.0001 1.08578C12.6095 0.695251 11.9764 0.695251 11.5859 1.08578L5.29296 7.37867L2.00007 4.08578C1.60954 3.69525 0.976378 3.69525 0.585855 4.08578C0.19533 4.4763 0.19533 5.10946 0.585855 5.49999L4.58585 9.49999C4.97638 9.89051 5.60954 9.89051 6.00007 9.49999L13.0001 2.49999Z",
1540
- fill: o
1533
+ fill: s
1541
1534
  }
1542
1535
  )
1543
1536
  }
@@ -1545,7 +1538,7 @@ const Ha = 2, Va = (e) => {
1545
1538
  width: e = 12,
1546
1539
  height: r = 2,
1547
1540
  className: a = "",
1548
- color: o = "currentColor",
1541
+ color: s = "currentColor",
1549
1542
  ...i
1550
1543
  }) => /* @__PURE__ */ n.jsx(
1551
1544
  "svg",
@@ -1563,7 +1556,7 @@ const Ha = 2, Va = (e) => {
1563
1556
  fillRule: "evenodd",
1564
1557
  clipRule: "evenodd",
1565
1558
  d: "M0 1C0 0.447715 0.447715 0 1 0H11C11.5523 0 12 0.447715 12 1C12 1.55228 11.5523 2 11 2H1C0.447715 2 0 1.55228 0 1Z",
1566
- fill: o
1559
+ fill: s
1567
1560
  }
1568
1561
  )
1569
1562
  }
@@ -1574,10 +1567,10 @@ const Ha = 2, Va = (e) => {
1574
1567
  size: e,
1575
1568
  isChecked: r,
1576
1569
  isDisabled: a,
1577
- indeterminate: o,
1570
+ indeterminate: s,
1578
1571
  dataTestId: i
1579
1572
  }) => {
1580
- const { width: s, height: l } = Xn[e];
1573
+ const { width: o, height: l } = Xn[e];
1581
1574
  return /* @__PURE__ */ n.jsx(
1582
1575
  "div",
1583
1576
  {
@@ -1585,42 +1578,42 @@ const Ha = 2, Va = (e) => {
1585
1578
  "data-testid": `${i}-icon`,
1586
1579
  "data-checked": r,
1587
1580
  "data-disabled": a,
1588
- "data-indeterminate": o,
1589
- children: o ? /* @__PURE__ */ n.jsx(Zn, { width: s, height: l }) : /* @__PURE__ */ n.jsx(Yn, { width: s, height: l })
1581
+ "data-indeterminate": s,
1582
+ children: s ? /* @__PURE__ */ n.jsx(Zn, { width: o, height: l }) : /* @__PURE__ */ n.jsx(Yn, { width: o, height: l })
1590
1583
  }
1591
1584
  );
1592
- }, Ji = K((e, r) => {
1585
+ }, Xi = K((e, r) => {
1593
1586
  const {
1594
1587
  name: a,
1595
- value: o,
1588
+ value: s,
1596
1589
  size: i = "medium",
1597
- indeterminate: s = !1,
1590
+ indeterminate: o = !1,
1598
1591
  loading: l = !1,
1599
1592
  error: c,
1600
- disabled: p = !1,
1601
- containerClassName: _,
1602
- className: f,
1593
+ disabled: _ = !1,
1594
+ containerClassName: f,
1595
+ className: p,
1603
1596
  containerStyle: h,
1604
1597
  style: m,
1605
- children: b,
1598
+ children: g,
1606
1599
  clickableLabel: y = !0,
1607
- tabIndex: L,
1608
- onChange: x,
1609
- "data-testid": v = "checkbox"
1610
- } = e, [d, w] = de(!1), C = o ?? d, M = p || l, j = !!c, I = C || s, A = k(xe.container, xe[i], _), D = k(
1600
+ tabIndex: C,
1601
+ onChange: v,
1602
+ "data-testid": x = "checkbox"
1603
+ } = e, [u, w] = de(!1), j = s ?? u, M = _ || l, E = !!c, I = j || o, A = k(xe.container, xe[i], f), D = k(
1611
1604
  xe.checkbox,
1612
1605
  xe[i],
1613
1606
  {
1614
- [xe.error]: j
1607
+ [xe.error]: E
1615
1608
  },
1616
- f
1609
+ p
1617
1610
  ), U = (T) => {
1618
- M || (w(T.target.checked), x == null || x(T.target.checked, T));
1611
+ M || (w(T.target.checked), v == null || v(T.target.checked, T));
1619
1612
  }, q = (T) => {
1620
1613
  if (T.key === "Enter" && !M) {
1621
1614
  T.preventDefault();
1622
1615
  const B = !I;
1623
- w(B), x == null || x(B);
1616
+ w(B), v == null || v(B);
1624
1617
  }
1625
1618
  }, O = (T) => {
1626
1619
  y || T.preventDefault();
@@ -1631,21 +1624,21 @@ const Ha = 2, Va = (e) => {
1631
1624
  className: A,
1632
1625
  htmlFor: a,
1633
1626
  style: h,
1634
- "data-testid": v,
1627
+ "data-testid": x,
1635
1628
  "data-clickable-label": y,
1636
1629
  children: [
1637
1630
  /* @__PURE__ */ n.jsx("div", { className: xe.checkboxWrapper, children: /* @__PURE__ */ n.jsxs(
1638
1631
  "div",
1639
1632
  {
1640
- tabIndex: L || 0,
1633
+ tabIndex: C || 0,
1641
1634
  className: D,
1642
1635
  style: m,
1643
1636
  onKeyDown: q,
1644
1637
  "aria-checked": I,
1645
1638
  "aria-disabled": M,
1646
- "aria-invalid": j,
1639
+ "aria-invalid": E,
1647
1640
  "aria-describedby": c ? `${a}-error` : void 0,
1648
- "data-testid": `${v}-label`,
1641
+ "data-testid": `${x}-label`,
1649
1642
  children: [
1650
1643
  /* @__PURE__ */ n.jsx(
1651
1644
  "input",
@@ -1660,9 +1653,9 @@ const Ha = 2, Va = (e) => {
1660
1653
  onChange: U,
1661
1654
  onClick: S,
1662
1655
  "aria-checked": I,
1663
- "aria-invalid": j,
1656
+ "aria-invalid": E,
1664
1657
  "aria-describedby": c ? `${a}-error` : void 0,
1665
- "data-testid": `${v}-input`
1658
+ "data-testid": `${x}-input`
1666
1659
  }
1667
1660
  ),
1668
1661
  /* @__PURE__ */ n.jsx(
@@ -1672,21 +1665,21 @@ const Ha = 2, Va = (e) => {
1672
1665
  size: i,
1673
1666
  isChecked: I,
1674
1667
  isDisabled: M,
1675
- indeterminate: s,
1676
- dataTestId: v
1668
+ indeterminate: o,
1669
+ dataTestId: x
1677
1670
  }
1678
1671
  )
1679
1672
  ]
1680
1673
  }
1681
1674
  ) }),
1682
- b && /* @__PURE__ */ n.jsx(
1675
+ g && /* @__PURE__ */ n.jsx(
1683
1676
  "span",
1684
1677
  {
1685
- "data-testid": `${v}-label-text`,
1678
+ "data-testid": `${x}-label-text`,
1686
1679
  "data-clickable-label": y,
1687
1680
  className: xe.label,
1688
1681
  onClick: O,
1689
- children: b
1682
+ children: g
1690
1683
  }
1691
1684
  )
1692
1685
  ]
@@ -1720,25 +1713,25 @@ const Ha = 2, Va = (e) => {
1720
1713
  const r = Vt.forwardRef(
1721
1714
  ({
1722
1715
  size: a = 3,
1723
- children: o,
1716
+ children: s,
1724
1717
  className: i,
1725
- "data-testid": s,
1718
+ "data-testid": o,
1726
1719
  as: l,
1727
1720
  fontWeight: c = "semibold",
1728
- disabled: p = !1,
1729
- typographyStyle: _ = "primary",
1730
- ...f
1721
+ disabled: _ = !1,
1722
+ typographyStyle: f = "primary",
1723
+ ...p
1731
1724
  }, h) => {
1732
- const m = l || cs[a], b = k(
1725
+ const m = l || cs[a], g = k(
1733
1726
  Pe.typography,
1734
1727
  ce[`typography-${e}-${a}-${c}`],
1735
- Pe[_],
1728
+ Pe[f],
1736
1729
  {
1737
- [Pe.disabled]: p
1730
+ [Pe.disabled]: _
1738
1731
  },
1739
1732
  i
1740
1733
  );
1741
- return o ? /* @__PURE__ */ n.jsx(m, { ref: h, className: b, "data-testid": s, ...f, children: o }) : null;
1734
+ return s ? /* @__PURE__ */ n.jsx(m, { ref: h, className: g, "data-testid": o, ...p, children: s }) : null;
1742
1735
  }
1743
1736
  );
1744
1737
  return r.displayName = `Typography.${e === "title" ? "Title" : "Subtitle"}`, r;
@@ -1746,32 +1739,32 @@ const Ha = 2, Va = (e) => {
1746
1739
  const r = Vt.forwardRef(
1747
1740
  ({
1748
1741
  size: a = 3,
1749
- children: o,
1742
+ children: s,
1750
1743
  className: i,
1751
- "data-testid": s,
1744
+ "data-testid": o,
1752
1745
  as: l = "p",
1753
1746
  fontWeight: c = "regular",
1754
- disabled: p = !1,
1755
- typographyStyle: _ = "primary",
1756
- ...f
1747
+ disabled: _ = !1,
1748
+ typographyStyle: f = "primary",
1749
+ ...p
1757
1750
  }, h) => {
1758
- const m = l, b = k(
1751
+ const m = l, g = k(
1759
1752
  Pe.typography,
1760
1753
  ce[`typography-${e}-${a}-${c}`],
1761
- Pe[_],
1754
+ Pe[f],
1762
1755
  {
1763
- [Pe.disabled]: p
1756
+ [Pe.disabled]: _
1764
1757
  },
1765
1758
  i
1766
1759
  );
1767
- return o ? /* @__PURE__ */ n.jsx(
1760
+ return s ? /* @__PURE__ */ n.jsx(
1768
1761
  m,
1769
1762
  {
1770
1763
  ref: h,
1771
- className: b,
1772
- "data-testid": s,
1773
- ...f,
1774
- children: o
1764
+ className: g,
1765
+ "data-testid": o,
1766
+ ...p,
1767
+ children: s
1775
1768
  }
1776
1769
  ) : null;
1777
1770
  }
@@ -1782,16 +1775,16 @@ const Ha = 2, Va = (e) => {
1782
1775
  Subtitle: Pt("subtitle"),
1783
1776
  Label: Bt("label"),
1784
1777
  Paragraph: Bt("paragraph")
1785
- }, ds = "_inputBase_1q54n_82", us = "_wrapper_1q54n_92", ps = "_gripHandle_1q54n_172", _s = "_error_1q54n_238", fs = "_tabFocused_1q54n_245", hs = "_disabled_1q54n_270", bs = "_loading_1q54n_277", gs = "_label_1q54n_287", ms = "_small_1q54n_301", ys = "_large_1q54n_308", vs = "_leftSection_1q54n_315", xs = "_rightSection_1q54n_327", ws = "_helper_1q54n_365", Cs = "_floatingLabel_1q54n_393", Ss = "_focused_1q54n_461", Ls = "_filled_1q54n_462", Es = "_medium_1q54n_503", js = "_characterLimit_1q54n_545", ks = "_input_1q54n_82", Ms = "_textarea_1q54n_110", Is = "_truncate_1q54n_678", $s = "_hint_1q54n_765", N = {
1778
+ }, ds = "_inputBase_1q54n_82", us = "_wrapper_1q54n_92", _s = "_gripHandle_1q54n_172", ps = "_error_1q54n_238", fs = "_tabFocused_1q54n_245", gs = "_disabled_1q54n_270", bs = "_loading_1q54n_277", hs = "_label_1q54n_287", ms = "_small_1q54n_301", ys = "_large_1q54n_308", vs = "_leftSection_1q54n_315", xs = "_rightSection_1q54n_327", ws = "_helper_1q54n_365", Cs = "_floatingLabel_1q54n_393", Ss = "_focused_1q54n_461", js = "_filled_1q54n_462", Ls = "_medium_1q54n_503", Es = "_characterLimit_1q54n_545", ks = "_input_1q54n_82", Ms = "_textarea_1q54n_110", Is = "_truncate_1q54n_678", $s = "_hint_1q54n_765", N = {
1786
1779
  inputBase: ds,
1787
1780
  wrapper: us,
1788
1781
  "textarea-wrapper": "_textarea-wrapper_1q54n_110",
1789
- gripHandle: ps,
1790
- error: _s,
1782
+ gripHandle: _s,
1783
+ error: ps,
1791
1784
  tabFocused: fs,
1792
- disabled: hs,
1785
+ disabled: gs,
1793
1786
  loading: bs,
1794
- label: gs,
1787
+ label: hs,
1795
1788
  small: ms,
1796
1789
  large: ys,
1797
1790
  leftSection: vs,
@@ -1799,9 +1792,9 @@ const Ha = 2, Va = (e) => {
1799
1792
  helper: ws,
1800
1793
  floatingLabel: Cs,
1801
1794
  focused: Ss,
1802
- filled: Ls,
1803
- medium: Es,
1804
- characterLimit: js,
1795
+ filled: js,
1796
+ medium: Ls,
1797
+ characterLimit: Es,
1805
1798
  input: ks,
1806
1799
  textarea: Ms,
1807
1800
  "size-small": "_size-small_1q54n_627",
@@ -1817,7 +1810,7 @@ const Ha = 2, Va = (e) => {
1817
1810
  width: e = 8,
1818
1811
  height: r = 8,
1819
1812
  className: a,
1820
- color: o = "#AABBCA"
1813
+ color: s = "#AABBCA"
1821
1814
  }) => /* @__PURE__ */ n.jsx(
1822
1815
  "svg",
1823
1816
  {
@@ -1833,7 +1826,7 @@ const Ha = 2, Va = (e) => {
1833
1826
  fillRule: "evenodd",
1834
1827
  clipRule: "evenodd",
1835
1828
  d: "M6.10178 0.236172C6.41679 -0.0787239 6.93824 -0.0787239 7.25325 0.236172C7.56826 0.551067 7.56826 1.07227 7.25325 1.38717L1.38772 7.25074C1.22479 7.41362 1.01837 7.48963 0.811988 7.48963C0.605604 7.48963 0.399189 7.41362 0.236255 7.25074C-0.0787516 6.93584 -0.0787516 6.41464 0.236255 6.09974L6.10178 0.236172ZM6.61276 4.19954C6.92777 3.88464 7.44895 3.88464 7.76396 4.19954C8.07897 4.52529 8.07897 5.03564 7.76396 5.35053L5.35256 7.76111C5.18963 7.92399 4.98321 8 4.77683 8C4.57045 8 4.36403 7.92399 4.2011 7.76111C3.88609 7.44622 3.88609 6.92501 4.2011 6.61012L6.61276 4.19954Z",
1836
- fill: o
1829
+ fill: s
1837
1830
  }
1838
1831
  )
1839
1832
  }
@@ -1841,13 +1834,13 @@ const Ha = 2, Va = (e) => {
1841
1834
  className: e = "",
1842
1835
  style: r,
1843
1836
  size: a = "md",
1844
- color: o = "currentColor",
1837
+ color: s = "currentColor",
1845
1838
  onClick: i,
1846
- ...s
1839
+ ...o
1847
1840
  }) => {
1848
1841
  const c = {
1849
1842
  display: "inline-block",
1850
- color: o,
1843
+ color: s,
1851
1844
  ...{
1852
1845
  xxxs: { width: "8px", height: "8px" },
1853
1846
  xxs: { width: "12px", height: "12px" },
@@ -1867,7 +1860,7 @@ const Ha = 2, Va = (e) => {
1867
1860
  fill: "none",
1868
1861
  xmlns: "http://www.w3.org/2000/svg",
1869
1862
  onClick: i,
1870
- ...s,
1863
+ ...o,
1871
1864
  children: /* @__PURE__ */ n.jsx(
1872
1865
  "path",
1873
1866
  {
@@ -1881,96 +1874,96 @@ const Ha = 2, Va = (e) => {
1881
1874
  }
1882
1875
  );
1883
1876
  }, Rs = (e, r) => {
1884
- const a = Be(null), o = Be(null);
1877
+ const a = qe(null), s = qe(null);
1885
1878
  return oe(() => {
1886
- const i = r === "textarea" ? a.current : o.current;
1879
+ const i = r === "textarea" ? a.current : s.current;
1887
1880
  i && i.value !== e && (i.value = e || "");
1888
1881
  }, [e, r]), {
1889
1882
  textareaRef: a,
1890
- inputRef: o,
1891
- currentRef: r === "textarea" ? a : o
1883
+ inputRef: s,
1884
+ currentRef: r === "textarea" ? a : s
1892
1885
  };
1893
1886
  }, Ns = (e, r, a) => {
1894
- const o = () => {
1887
+ const s = () => {
1895
1888
  if (!a.current || r !== "hug") return;
1896
1889
  const i = a.current.scrollTop;
1897
1890
  if (a.current.style.setProperty("height", "auto", "important"), !e) return;
1898
- const s = a.current.scrollHeight + "px";
1899
- a.current.style.setProperty("height", s, "important"), a.current.scrollTop = i;
1891
+ const o = a.current.scrollHeight + "px";
1892
+ a.current.style.setProperty("height", o, "important"), a.current.scrollTop = i;
1900
1893
  const l = a.current.closest(`.${N.wrapper}`);
1901
1894
  l && (l.setAttribute("data-resize", "hug"), l.setAttribute("data-show-grip", "false"));
1902
1895
  };
1903
- return oe(o, [e, r]), oe(() => {
1904
- r === "hug" && a.current && o();
1905
- }, []), { resizeTextArea: o };
1906
- }, As = (e, r, a, o) => ({ handleGripMouseDown: Se(
1907
- (s) => {
1908
- if (!e || r || a || !(o === "fixed" || !o)) return;
1909
- s.preventDefault(), s.stopPropagation();
1910
- const l = s.currentTarget.closest(`.${N.wrapper}`);
1896
+ return oe(s, [e, r]), oe(() => {
1897
+ r === "hug" && a.current && s();
1898
+ }, []), { resizeTextArea: s };
1899
+ }, As = (e, r, a, s) => ({ handleGripMouseDown: Se(
1900
+ (o) => {
1901
+ if (!e || r || a || !(s === "fixed" || !s)) return;
1902
+ o.preventDefault(), o.stopPropagation();
1903
+ const l = o.currentTarget.closest(`.${N.wrapper}`);
1911
1904
  if (!l) return;
1912
- const c = s.clientY, p = l.clientHeight, _ = (h) => {
1913
- const m = h.clientY - c, b = Math.min(100, p), y = Math.max(b, p + m);
1905
+ const c = o.clientY, _ = l.clientHeight, f = (h) => {
1906
+ const m = h.clientY - c, g = Math.min(100, _), y = Math.max(g, _ + m);
1914
1907
  l.style.height = `${y}px`;
1915
- }, f = () => {
1916
- document.removeEventListener("mousemove", _), document.removeEventListener("mouseup", f);
1908
+ }, p = () => {
1909
+ document.removeEventListener("mousemove", f), document.removeEventListener("mouseup", p);
1917
1910
  };
1918
- document.addEventListener("mousemove", _), document.addEventListener("mouseup", f);
1911
+ document.addEventListener("mousemove", f), document.addEventListener("mouseup", p);
1919
1912
  },
1920
- [e, r, a, o]
1913
+ [e, r, a, s]
1921
1914
  ) }), Ut = 30, Ds = K(
1922
1915
  ({
1923
1916
  component: e = "input",
1924
1917
  size: r = "medium",
1925
1918
  value: a = "",
1926
- placeholder: o,
1919
+ placeholder: s,
1927
1920
  disabled: i = !1,
1928
- loading: s = !1,
1921
+ loading: o = !1,
1929
1922
  onFocus: l,
1930
1923
  onBlur: c,
1931
- onChange: p,
1932
- onKeyDown: _,
1933
- onKeyUp: f,
1924
+ onChange: _,
1925
+ onKeyDown: f,
1926
+ onKeyUp: p,
1934
1927
  maxLength: h,
1935
1928
  className: m,
1936
- style: b,
1929
+ style: g,
1937
1930
  truncate: y = !1,
1938
- shouldShowFloatingLabelClass: L = !1,
1939
- "aria-invalid": x,
1940
- "aria-errormessage": v,
1941
- id: d,
1931
+ shouldShowFloatingLabelClass: C = !1,
1932
+ "aria-invalid": v,
1933
+ "aria-errormessage": x,
1934
+ id: u,
1942
1935
  resize: w,
1943
- ...C
1936
+ ...j
1944
1937
  }, M) => {
1945
- const { textareaRef: j, inputRef: I, currentRef: A } = Rs(a, e);
1946
- if (Ns(a, w, j), jr(M, () => A.current, [A]), e === "textarea")
1938
+ const { textareaRef: E, inputRef: I, currentRef: A } = Rs(a, e);
1939
+ if (Ns(a, w, E), Er(M, () => A.current, [A]), e === "textarea")
1947
1940
  return /* @__PURE__ */ n.jsx(
1948
1941
  "textarea",
1949
1942
  {
1950
- ref: j,
1951
- id: d,
1943
+ ref: E,
1944
+ id: u,
1952
1945
  value: a,
1953
- placeholder: o,
1954
- disabled: i || s,
1946
+ placeholder: s,
1947
+ disabled: i || o,
1955
1948
  onFocus: l,
1956
1949
  onBlur: c,
1957
- onChange: p,
1958
- onKeyDown: _,
1959
- onKeyUp: f,
1950
+ onChange: _,
1951
+ onKeyDown: f,
1952
+ onKeyUp: p,
1960
1953
  maxLength: h,
1961
1954
  className: k(
1962
1955
  N.textarea,
1963
1956
  N[`size-${r}`],
1964
- L && N["with-floating-label"],
1957
+ C && N["with-floating-label"],
1965
1958
  m
1966
1959
  ),
1967
- style: b,
1968
- "aria-invalid": x,
1969
- "aria-errormessage": v,
1970
- "aria-describedby": v ? `${d}-error` : void 0,
1960
+ style: g,
1961
+ "aria-invalid": v,
1962
+ "aria-errormessage": x,
1963
+ "aria-describedby": x ? `${u}-error` : void 0,
1971
1964
  tabIndex: 0,
1972
1965
  "data-resize": w,
1973
- ...C
1966
+ ...j
1974
1967
  }
1975
1968
  );
1976
1969
  if (e === "input")
@@ -1978,29 +1971,29 @@ const Ha = 2, Va = (e) => {
1978
1971
  "input",
1979
1972
  {
1980
1973
  ref: I,
1981
- id: d,
1974
+ id: u,
1982
1975
  value: a,
1983
- placeholder: o,
1984
- disabled: i || s,
1976
+ placeholder: s,
1977
+ disabled: i || o,
1985
1978
  onFocus: l,
1986
1979
  onBlur: c,
1987
- onChange: p,
1988
- onKeyDown: _,
1989
- onKeyUp: f,
1980
+ onChange: _,
1981
+ onKeyDown: f,
1982
+ onKeyUp: p,
1990
1983
  maxLength: h,
1991
1984
  className: k(
1992
1985
  N.input,
1993
1986
  N[`size-${r}`],
1994
- L && N["with-floating-label"],
1987
+ C && N["with-floating-label"],
1995
1988
  y && N.truncate,
1996
1989
  m
1997
1990
  ),
1998
- style: b,
1999
- "aria-invalid": x,
2000
- "aria-errormessage": v,
2001
- "aria-describedby": v ? `${d}-error` : void 0,
1991
+ style: g,
1992
+ "aria-invalid": v,
1993
+ "aria-errormessage": x,
1994
+ "aria-describedby": x ? `${u}-error` : void 0,
2002
1995
  tabIndex: 0,
2003
- ...C
1996
+ ...j
2004
1997
  }
2005
1998
  );
2006
1999
  if (e !== "input" && e !== "textarea")
@@ -2013,26 +2006,26 @@ const Ha = 2, Va = (e) => {
2013
2006
  children: e,
2014
2007
  size: r = "medium",
2015
2008
  error: a = !1,
2016
- disabled: o = !1,
2009
+ disabled: s = !1,
2017
2010
  loading: i = !1,
2018
- className: s,
2011
+ className: o,
2019
2012
  wrapperProps: l,
2020
2013
  wrapperStyles: c,
2021
- floatingLabelStyles: p,
2022
- prefixStyles: _,
2023
- suffixStyles: f,
2014
+ floatingLabelStyles: _,
2015
+ prefixStyles: f,
2016
+ suffixStyles: p,
2024
2017
  labelProps: h,
2025
2018
  helperProps: m,
2026
- showLimit: b = !1,
2019
+ showLimit: g = !1,
2027
2020
  maxLength: y,
2028
- hint: L,
2029
- showHint: x = !1,
2030
- showHintOnEmpty: v = !1,
2031
- prefix: d,
2021
+ hint: C,
2022
+ showHint: v = !1,
2023
+ showHintOnEmpty: x = !1,
2024
+ prefix: u,
2032
2025
  suffix: w,
2033
- onSuffixClick: C,
2026
+ onSuffixClick: j,
2034
2027
  placeholder: M,
2035
- showLabel: j = !0,
2028
+ showLabel: E = !0,
2036
2029
  labelClassName: I,
2037
2030
  hasValue: A = !1,
2038
2031
  helper: D,
@@ -2042,21 +2035,21 @@ const Ha = 2, Va = (e) => {
2042
2035
  showGrip: S = !1,
2043
2036
  ...T
2044
2037
  }, B) => {
2045
- const F = _t(), H = U || F, Q = x && L && (A || v), ie = L && L.length > Ut ? L.substring(0, Ut) + "..." : L, Y = k(
2038
+ const F = pt(), H = U || F, Q = v && C && (A || x), ie = C && C.length > Ut ? C.substring(0, Ut) + "..." : C, Y = k(
2046
2039
  N.wrapper,
2047
2040
  a && N.error,
2048
- o && N.disabled,
2041
+ s && N.disabled,
2049
2042
  i && N.loading,
2050
2043
  Q && N["has-hint"],
2051
2044
  w && N["has-suffix"],
2052
- b && N["has-limit"],
2053
- s
2045
+ g && N["has-limit"],
2046
+ o
2054
2047
  ), ue = k(
2055
2048
  N.floatingLabel,
2056
2049
  N[r],
2057
2050
  A && N.filled,
2058
2051
  I
2059
- ), { handleGripMouseDown: ee } = As(S, o, i, O);
2052
+ ), { handleGripMouseDown: ee } = As(S, s, i, O);
2060
2053
  return /* @__PURE__ */ n.jsxs("div", { ref: B, className: N.inputBase, "data-testid": "input-base-wrapper", ...T, children: [
2061
2054
  /* @__PURE__ */ n.jsxs(
2062
2055
  "div",
@@ -2067,29 +2060,29 @@ const Ha = 2, Va = (e) => {
2067
2060
  "data-show-grip": S ? "true" : "false",
2068
2061
  ...l,
2069
2062
  children: [
2070
- d && /* @__PURE__ */ n.jsx("label", { htmlFor: H, className: N.leftSection, style: _, children: d }),
2063
+ u && /* @__PURE__ */ n.jsx("label", { htmlFor: H, className: N.leftSection, style: f, children: u }),
2071
2064
  w && /* @__PURE__ */ n.jsx(
2072
2065
  "label",
2073
2066
  {
2074
2067
  htmlFor: H,
2075
2068
  className: N.rightSection,
2076
- style: f,
2077
- onClick: C,
2069
+ style: p,
2070
+ onClick: j,
2078
2071
  children: w
2079
2072
  }
2080
2073
  ),
2081
- M && j && /* @__PURE__ */ n.jsx(
2074
+ M && E && /* @__PURE__ */ n.jsx(
2082
2075
  "label",
2083
2076
  {
2084
2077
  htmlFor: H,
2085
2078
  className: ue,
2086
- style: p,
2079
+ style: _,
2087
2080
  ...h,
2088
2081
  children: M
2089
2082
  }
2090
2083
  ),
2091
2084
  e,
2092
- S && !b && (O === "fixed" || !O) && /* @__PURE__ */ n.jsx(
2085
+ S && !g && (O === "fixed" || !O) && /* @__PURE__ */ n.jsx(
2093
2086
  "div",
2094
2087
  {
2095
2088
  className: N.gripHandle,
@@ -2104,11 +2097,11 @@ const Ha = 2, Va = (e) => {
2104
2097
  "div",
2105
2098
  {
2106
2099
  className: k(N.hint, A && N.truncate),
2107
- "data-disabled": o || i,
2100
+ "data-disabled": s || i,
2108
2101
  children: ie
2109
2102
  }
2110
2103
  ),
2111
- b && y && /* @__PURE__ */ n.jsxs("div", { className: N.characterLimit, children: [
2104
+ g && y && /* @__PURE__ */ n.jsxs("div", { className: N.characterLimit, children: [
2112
2105
  (q || "").length,
2113
2106
  " из ",
2114
2107
  y
@@ -2122,7 +2115,7 @@ const Ha = 2, Va = (e) => {
2122
2115
  className: k(
2123
2116
  N.helper,
2124
2117
  a && N.error,
2125
- (o || i) && N.disabled
2118
+ (s || i) && N.disabled
2126
2119
  ),
2127
2120
  ...m,
2128
2121
  id: a ? `${H}-error` : void 0,
@@ -2140,26 +2133,26 @@ const Ft = Object.assign(Ds, {
2140
2133
  component: e = "input",
2141
2134
  size: r = "medium",
2142
2135
  className: a,
2143
- error: o = !1,
2136
+ error: s = !1,
2144
2137
  disabled: i = !1,
2145
- loading: s = !1,
2138
+ loading: o = !1,
2146
2139
  placeholder: l,
2147
2140
  showLabel: c = !0,
2148
- labelClassName: p,
2149
- helper: _,
2150
- prefix: f,
2141
+ labelClassName: _,
2142
+ helper: f,
2143
+ prefix: p,
2151
2144
  suffix: h,
2152
2145
  id: m,
2153
- onFocus: b,
2146
+ onFocus: g,
2154
2147
  onBlur: y,
2155
- onKeyDown: L,
2156
- onSuffixClick: x,
2157
- onChange: v,
2158
- value: d = "",
2148
+ onKeyDown: C,
2149
+ onSuffixClick: v,
2150
+ onChange: x,
2151
+ value: u = "",
2159
2152
  wrapperProps: w,
2160
- wrapperStyles: C,
2153
+ wrapperStyles: j,
2161
2154
  floatingLabelStyles: M,
2162
- prefixStyles: j,
2155
+ prefixStyles: E,
2163
2156
  suffixStyles: I,
2164
2157
  textareaStyles: A,
2165
2158
  labelProps: D,
@@ -2175,15 +2168,15 @@ const Ft = Object.assign(Ds, {
2175
2168
  showGrip: ie = !1,
2176
2169
  ...Y
2177
2170
  }, ue) => {
2178
- const ee = _t(), Ce = m || ee, [ze, me] = de(d), Me = d !== void 0 ? d : ze, Ie = (Me || "").length > 0, Ee = Me || "", $e = c && (r === "large" || e === "textarea") && !f, Ke = Se(
2171
+ const ee = pt(), Ce = m || ee, [Be, me] = de(u), Me = u !== void 0 ? u : Be, Ie = (Me || "").length > 0, Le = Me || "", $e = c && (r === "large" || e === "textarea") && !p, Ke = Se(
2179
2172
  (Z) => {
2180
2173
  var X;
2181
- i || s || (b == null || b(), (X = S == null ? void 0 : S.onFocus) == null || X.call(
2174
+ i || o || (g == null || g(), (X = S == null ? void 0 : S.onFocus) == null || X.call(
2182
2175
  S,
2183
2176
  Z
2184
2177
  ));
2185
2178
  },
2186
- [b, S, i, s]
2179
+ [g, S, i, o]
2187
2180
  ), He = Se(
2188
2181
  (Z) => {
2189
2182
  var X;
@@ -2210,30 +2203,30 @@ const Ft = Object.assign(Ds, {
2210
2203
  ), et = Se(
2211
2204
  (Z) => {
2212
2205
  var be;
2213
- if (i || s) return;
2206
+ if (i || o) return;
2214
2207
  const X = Z.target.value;
2215
- me(X), v == null || v(X, Z), (be = S == null ? void 0 : S.onChange) == null || be.call(
2208
+ me(X), x == null || x(X, Z), (be = S == null ? void 0 : S.onChange) == null || be.call(
2216
2209
  S,
2217
2210
  Z
2218
2211
  );
2219
2212
  },
2220
- [v, S, i, s]
2213
+ [x, S, i, o]
2221
2214
  );
2222
2215
  return oe(() => {
2223
- me(d || "");
2224
- }, [d]), /* @__PURE__ */ n.jsx(
2216
+ me(u || "");
2217
+ }, [u]), /* @__PURE__ */ n.jsx(
2225
2218
  Ft.Wrapper,
2226
2219
  {
2227
2220
  ref: ue,
2228
2221
  size: r,
2229
- error: o,
2230
- disabled: i || s,
2231
- loading: s,
2222
+ error: s,
2223
+ disabled: i || o,
2224
+ loading: o,
2232
2225
  className: k(a, e === "textarea" && N["textarea-wrapper"]),
2233
2226
  wrapperProps: w,
2234
- wrapperStyles: C,
2227
+ wrapperStyles: j,
2235
2228
  floatingLabelStyles: M,
2236
- prefixStyles: j,
2229
+ prefixStyles: E,
2237
2230
  suffixStyles: I,
2238
2231
  labelProps: D,
2239
2232
  helperProps: U,
@@ -2242,16 +2235,16 @@ const Ft = Object.assign(Ds, {
2242
2235
  hint: T,
2243
2236
  showHint: B,
2244
2237
  showHintOnEmpty: F,
2245
- prefix: f,
2238
+ prefix: p,
2246
2239
  suffix: h,
2247
- onSuffixClick: x,
2240
+ onSuffixClick: v,
2248
2241
  placeholder: l,
2249
2242
  showLabel: c,
2250
- labelClassName: p,
2243
+ labelClassName: _,
2251
2244
  hasValue: Ie,
2252
- helper: _,
2245
+ helper: f,
2253
2246
  id: Ce,
2254
- value: Ee,
2247
+ value: Le,
2255
2248
  showGrip: ie,
2256
2249
  resize: Q,
2257
2250
  ...Y,
@@ -2260,22 +2253,22 @@ const Ft = Object.assign(Ds, {
2260
2253
  {
2261
2254
  component: e,
2262
2255
  size: r,
2263
- value: Ee,
2256
+ value: Le,
2264
2257
  placeholder: l,
2265
2258
  disabled: i,
2266
- loading: s,
2259
+ loading: o,
2267
2260
  onFocus: Ke,
2268
2261
  onBlur: Qe,
2269
2262
  onChange: et,
2270
- onKeyDown: L,
2263
+ onKeyDown: C,
2271
2264
  onKeyUp: He,
2272
2265
  maxLength: O,
2273
2266
  truncate: H,
2274
2267
  "data-empty": !Ie,
2275
2268
  shouldShowFloatingLabelClass: $e,
2276
2269
  style: e === "textarea" ? A : void 0,
2277
- "aria-invalid": !!o,
2278
- "aria-errormessage": o ? `${Ce}-error` : void 0,
2270
+ "aria-invalid": !!s,
2271
+ "aria-errormessage": s ? `${Ce}-error` : void 0,
2279
2272
  id: Ce,
2280
2273
  resize: Q,
2281
2274
  ...S
@@ -2288,12 +2281,12 @@ const Ft = Object.assign(Ds, {
2288
2281
  SMALL: "small",
2289
2282
  MEDIUM: "medium",
2290
2283
  LARGE: "large"
2291
- }, Os = (e, r, a, o) => {
2284
+ }, Os = (e, r, a, s) => {
2292
2285
  switch (e) {
2293
2286
  case re.LARGE:
2294
2287
  return r && a ? "8px 16px 8px 16px" : "16px 16px 16px 16px";
2295
2288
  case re.MEDIUM:
2296
- return o ? "12px 12px 12px 12px" : "12px 12px 12px 16px";
2289
+ return s ? "12px 12px 12px 12px" : "12px 12px 12px 16px";
2297
2290
  case re.SMALL:
2298
2291
  return "10px 12px 10px 12px";
2299
2292
  default:
@@ -2372,15 +2365,15 @@ const Ft = Object.assign(Ds, {
2372
2365
  suffixStyles: {
2373
2366
  right: `${a}px`
2374
2367
  }
2375
- }), qs = (e, r, a, o) => {
2376
- const i = Ps(e), s = Os(e, r, a, o), l = Bs(e);
2368
+ }), qs = (e, r, a, s) => {
2369
+ const i = Ps(e), o = Os(e, r, a, s), l = Bs(e);
2377
2370
  switch (e) {
2378
2371
  case re.LARGE:
2379
- return zs(i, s, l);
2372
+ return zs(i, o, l);
2380
2373
  case re.MEDIUM:
2381
- return Us(i, s, l);
2374
+ return Us(i, o, l);
2382
2375
  case re.SMALL:
2383
- return Fs(i, s, l);
2376
+ return Fs(i, o, l);
2384
2377
  default:
2385
2378
  return {
2386
2379
  wrapperStyles: {},
@@ -2389,31 +2382,31 @@ const Ft = Object.assign(Ds, {
2389
2382
  suffixStyles: {}
2390
2383
  };
2391
2384
  }
2392
- }, Ki = K(
2385
+ }, Ji = K(
2393
2386
  ({
2394
2387
  value: e = "",
2395
2388
  onChange: r,
2396
2389
  type: a = "text",
2397
- placeholder: o,
2390
+ placeholder: s,
2398
2391
  maxLength: i,
2399
- minLength: s,
2392
+ minLength: o,
2400
2393
  autoComplete: l,
2401
2394
  autoFocus: c,
2402
- size: p = re.MEDIUM,
2403
- inputProps: _,
2404
- error: f,
2395
+ size: _ = re.MEDIUM,
2396
+ inputProps: f,
2397
+ error: p,
2405
2398
  disabled: h,
2406
2399
  loading: m,
2407
- helper: b,
2400
+ helper: g,
2408
2401
  prefix: y,
2409
- suffix: L,
2410
- clearable: x = !1,
2411
- id: v,
2412
- showLabel: d = !0,
2402
+ suffix: C,
2403
+ clearable: v = !1,
2404
+ id: x,
2405
+ showLabel: u = !0,
2413
2406
  onFocus: w,
2414
- onBlur: C,
2407
+ onBlur: j,
2415
2408
  onSuffixClick: M,
2416
- onClear: j,
2409
+ onClear: E,
2417
2410
  className: I,
2418
2411
  truncate: A = !0,
2419
2412
  hint: D,
@@ -2424,42 +2417,42 @@ const Ft = Object.assign(Ds, {
2424
2417
  helperProps: T,
2425
2418
  ...B
2426
2419
  }, F) => {
2427
- const H = (e || "").length > 0, Q = p === re.LARGE, ie = !!y, Y = Q && d && !y, ue = x && H && !(h || m), ee = () => {
2428
- r == null || r(""), j == null || j();
2420
+ const H = (e || "").length > 0, Q = _ === re.LARGE, ie = !!y, Y = Q && u && !y, ue = v && H && !(h || m), ee = () => {
2421
+ r == null || r(""), E == null || E();
2429
2422
  }, Ce = ue ? /* @__PURE__ */ n.jsx(
2430
2423
  Jt,
2431
2424
  {
2432
- size: p === re.SMALL ? "xs" : "sm",
2425
+ size: _ === re.SMALL ? "xs" : "sm",
2433
2426
  color: "var(--icon-secondary)",
2434
2427
  onClick: ee,
2435
2428
  style: { cursor: "pointer" },
2436
2429
  "data-testid": "x-icon"
2437
2430
  }
2438
- ) : L, ze = {
2431
+ ) : C, Be = {
2439
2432
  type: a,
2440
- minLength: s,
2433
+ minLength: o,
2441
2434
  autoComplete: l,
2442
2435
  autoFocus: c,
2443
- ..._
2444
- }, me = qs(p, Y, H, ie);
2436
+ ...f
2437
+ }, me = qs(_, Y, H, ie);
2445
2438
  return /* @__PURE__ */ n.jsx(
2446
2439
  Qt,
2447
2440
  {
2448
- size: p,
2449
- error: f,
2441
+ size: _,
2442
+ error: p,
2450
2443
  disabled: h || m,
2451
2444
  loading: m,
2452
- helper: b,
2445
+ helper: g,
2453
2446
  prefix: y,
2454
2447
  suffix: Ce,
2455
- id: v,
2448
+ id: x,
2456
2449
  showLabel: Y,
2457
2450
  onFocus: w,
2458
- onBlur: C,
2451
+ onBlur: j,
2459
2452
  onSuffixClick: M,
2460
2453
  onChange: r,
2461
2454
  value: e,
2462
- placeholder: o,
2455
+ placeholder: s,
2463
2456
  className: I,
2464
2457
  wrapperStyles: me.wrapperStyles,
2465
2458
  floatingLabelStyles: me.floatingLabelStyles,
@@ -2470,7 +2463,7 @@ const Ft = Object.assign(Ds, {
2470
2463
  helperProps: T,
2471
2464
  showLimit: !1,
2472
2465
  maxLength: i,
2473
- inputProps: ze,
2466
+ inputProps: Be,
2474
2467
  hint: D,
2475
2468
  showHint: U,
2476
2469
  showHintOnEmpty: q,
@@ -2479,7 +2472,7 @@ const Ft = Object.assign(Ds, {
2479
2472
  }
2480
2473
  );
2481
2474
  }
2482
- ), he = {
2475
+ ), ge = {
2483
2476
  SMALL: "small",
2484
2477
  MEDIUM: "medium"
2485
2478
  }, Xe = {
@@ -2507,18 +2500,18 @@ const Ft = Object.assign(Ds, {
2507
2500
  MEDIUM: 56,
2508
2501
  LARGE: 112
2509
2502
  }, Hs = (e, r) => {
2510
- if (e === he.SMALL)
2503
+ if (e === ge.SMALL)
2511
2504
  return ct.SMALL;
2512
2505
  if (r)
2513
2506
  return `${r}px`;
2514
2507
  switch (e) {
2515
- case he.MEDIUM:
2508
+ case ge.MEDIUM:
2516
2509
  return ct.MEDIUM;
2517
2510
  default:
2518
2511
  return ct.MEDIUM;
2519
2512
  }
2520
2513
  }, Vs = (e, r) => {
2521
- if (e === he.SMALL)
2514
+ if (e === ge.SMALL)
2522
2515
  return Ae.SMALL;
2523
2516
  if (r)
2524
2517
  switch (r) {
@@ -2531,13 +2524,13 @@ const Ft = Object.assign(Ds, {
2531
2524
  return Ae.MEDIUM;
2532
2525
  }
2533
2526
  switch (e) {
2534
- case he.MEDIUM:
2527
+ case ge.MEDIUM:
2535
2528
  return Ae.MEDIUM;
2536
2529
  default:
2537
2530
  return Ae.MEDIUM;
2538
2531
  }
2539
2532
  }, Gs = (e, r, a) => {
2540
- if (e === he.SMALL)
2533
+ if (e === ge.SMALL)
2541
2534
  return ve.SMALL;
2542
2535
  if (r)
2543
2536
  switch (r) {
@@ -2551,13 +2544,13 @@ const Ft = Object.assign(Ds, {
2551
2544
  return ve.MEDIUM;
2552
2545
  }
2553
2546
  switch (e) {
2554
- case he.MEDIUM:
2547
+ case ge.MEDIUM:
2555
2548
  return a ? ve.MEDIUM_FLOATING_LABEL : ve.MEDIUM;
2556
2549
  default:
2557
2550
  return ve.MEDIUM;
2558
2551
  }
2559
2552
  }, Ys = (e, r) => {
2560
- if (e === he.SMALL)
2553
+ if (e === ge.SMALL)
2561
2554
  return "small";
2562
2555
  if (r)
2563
2556
  switch (r) {
@@ -2571,59 +2564,59 @@ const Ft = Object.assign(Ds, {
2571
2564
  return "medium";
2572
2565
  }
2573
2566
  return e;
2574
- }, Zs = (e) => Ws[e.toUpperCase()], Xs = (e) => Xe[e.toUpperCase()], Js = (e, r, a, o) => {
2575
- const i = Hs(e, r), s = Vs(e, r), l = Gs(e, r, a);
2567
+ }, Zs = (e) => Ws[e.toUpperCase()], Xs = (e) => Xe[e.toUpperCase()], Js = (e, r, a, s) => {
2568
+ const i = Hs(e, r), o = Vs(e, r), l = Gs(e, r, a);
2576
2569
  return {
2577
2570
  wrapperStyles: {
2578
2571
  minHeight: i,
2579
2572
  // Для fill resize устанавливаем height: 100%
2580
- ...o === Ye.FILL && { height: "100%" },
2573
+ ...s === Ye.FILL && { height: "100%" },
2581
2574
  // Для fixed resize устанавливаем фиксированную высоту
2582
- ...o === Ye.FIXED && r && { height: i },
2575
+ ...s === Ye.FIXED && r && { height: i },
2583
2576
  boxSizing: "border-box",
2584
2577
  padding: l
2585
2578
  },
2586
2579
  floatingLabelStyles: {
2587
- left: e === he.SMALL ? Xe.SMALL : Xe.MEDIUM,
2580
+ left: e === ge.SMALL ? Xe.SMALL : Xe.MEDIUM,
2588
2581
  transformOrigin: "left top",
2589
- top: r === 112 && a && e === he.MEDIUM ? Xe.MEDIUM : void 0
2582
+ top: r === 112 && a && e === ge.MEDIUM ? Xe.MEDIUM : void 0
2590
2583
  },
2591
2584
  suffixStyles: {
2592
2585
  right: Xs(e)
2593
2586
  },
2594
2587
  textareaStyles: {
2595
- minHeight: s,
2588
+ minHeight: o,
2596
2589
  // Для fill resize flex: 1
2597
- ...o === Ye.FILL && { flex: 1, minHeight: 0 },
2590
+ ...s === Ye.FILL && { flex: 1, minHeight: 0 },
2598
2591
  // Для fixed resize фиксированная высота
2599
- ...o === Ye.FIXED && r && { height: s }
2592
+ ...s === Ye.FIXED && r && { height: o }
2600
2593
  }
2601
2594
  };
2602
- }, Qi = K(
2595
+ }, Ki = K(
2603
2596
  ({
2604
2597
  value: e = "",
2605
2598
  onChange: r,
2606
2599
  placeholder: a,
2607
- maxLength: o,
2600
+ maxLength: s,
2608
2601
  minLength: i,
2609
- autoFocus: s,
2610
- size: l = he.MEDIUM,
2602
+ autoFocus: o,
2603
+ size: l = ge.MEDIUM,
2611
2604
  textareaProps: c,
2612
- error: p,
2613
- disabled: _,
2614
- loading: f,
2605
+ error: _,
2606
+ disabled: f,
2607
+ loading: p,
2615
2608
  helper: h,
2616
2609
  suffix: m,
2617
- clearable: b = !1,
2610
+ clearable: g = !1,
2618
2611
  id: y,
2619
- showLabel: L = !0,
2620
- onFocus: x,
2621
- onBlur: v,
2622
- onClear: d,
2612
+ showLabel: C = !0,
2613
+ onFocus: v,
2614
+ onBlur: x,
2615
+ onClear: u,
2623
2616
  onKeyDown: w,
2624
- className: C,
2617
+ className: j,
2625
2618
  rows: M = 1,
2626
- showLimit: j = !1,
2619
+ showLimit: E = !1,
2627
2620
  wrapperProps: I,
2628
2621
  labelProps: A,
2629
2622
  helperProps: D,
@@ -2632,8 +2625,8 @@ const Ft = Object.assign(Ds, {
2632
2625
  resize: O,
2633
2626
  ...S
2634
2627
  }, T) => {
2635
- const B = (e || "").length > 0, F = L && !!a && (l === he.SMALL || q !== 48), H = b && B && !(_ || f), Q = () => {
2636
- r == null || r(""), d == null || d();
2628
+ const B = (e || "").length > 0, F = C && !!a && (l === ge.SMALL || q !== 48), H = g && B && !(f || p), Q = () => {
2629
+ r == null || r(""), u == null || u();
2637
2630
  }, ie = H ? /* @__PURE__ */ n.jsx(
2638
2631
  Jt,
2639
2632
  {
@@ -2646,7 +2639,7 @@ const Ft = Object.assign(Ds, {
2646
2639
  ) : m, Y = Js(l, q, F && B, O), ue = Ys(l, q), ee = {
2647
2640
  rows: M,
2648
2641
  minLength: i,
2649
- autoFocus: s,
2642
+ autoFocus: o,
2650
2643
  resize: O,
2651
2644
  ...c
2652
2645
  };
@@ -2656,20 +2649,20 @@ const Ft = Object.assign(Ds, {
2656
2649
  ref: T,
2657
2650
  component: "textarea",
2658
2651
  size: ue,
2659
- error: p,
2660
- disabled: _ || f,
2661
- loading: f,
2652
+ error: _,
2653
+ disabled: f || p,
2654
+ loading: p,
2662
2655
  helper: h,
2663
2656
  suffix: ie,
2664
2657
  id: y,
2665
2658
  showLabel: F,
2666
- onFocus: x,
2667
- onBlur: v,
2659
+ onFocus: v,
2660
+ onBlur: x,
2668
2661
  onKeyDown: w,
2669
2662
  onChange: r,
2670
2663
  value: e || "",
2671
2664
  placeholder: a,
2672
- className: C,
2665
+ className: j,
2673
2666
  "data-floating-label": F,
2674
2667
  wrapperStyles: Y.wrapperStyles,
2675
2668
  floatingLabelStyles: Y.floatingLabelStyles,
@@ -2678,8 +2671,8 @@ const Ft = Object.assign(Ds, {
2678
2671
  wrapperProps: I,
2679
2672
  labelProps: A,
2680
2673
  helperProps: D,
2681
- showLimit: j && (q === 112 || l === he.SMALL),
2682
- maxLength: o,
2674
+ showLimit: E && (q === 112 || l === ge.SMALL),
2675
+ maxLength: s,
2683
2676
  inputProps: ee,
2684
2677
  resize: O,
2685
2678
  showGrip: U,
@@ -2691,34 +2684,34 @@ const Ft = Object.assign(Ds, {
2691
2684
  helper: Ks,
2692
2685
  "helper--error": "_helper--error_1jq7j_28",
2693
2686
  "helper--disabled": "_helper--disabled_1jq7j_33"
2694
- }, el = ({
2687
+ }, Qi = ({
2695
2688
  title: e,
2696
2689
  error: r,
2697
2690
  className: a = "",
2698
- style: o,
2691
+ style: s,
2699
2692
  disabled: i = !1,
2700
- "data-testid": s,
2693
+ "data-testid": o,
2701
2694
  "aria-label": l,
2702
2695
  "aria-describedby": c
2703
2696
  }) => {
2704
- const p = !!r, _ = k(
2697
+ const _ = !!r, f = k(
2705
2698
  dt.helper,
2706
- p && dt["helper--error"],
2699
+ _ && dt["helper--error"],
2707
2700
  i && dt["helper--disabled"],
2708
2701
  a
2709
- ), f = i ? e : r || e;
2702
+ ), p = i ? e : r || e;
2710
2703
  return /* @__PURE__ */ n.jsx(
2711
2704
  "div",
2712
2705
  {
2713
- className: _,
2714
- style: o,
2715
- "data-testid": s,
2706
+ className: f,
2707
+ style: s,
2708
+ "data-testid": o,
2716
2709
  "aria-label": l,
2717
2710
  "aria-describedby": c,
2718
- children: /* @__PURE__ */ n.jsx("p", { children: f })
2711
+ children: /* @__PURE__ */ n.jsx("p", { children: p })
2719
2712
  }
2720
2713
  );
2721
- }, Qs = "_radio_1q34w_54", eo = "_checked_1q34w_75", to = "_error_1q34w_80", ro = "_disabled_1q34w_89", ao = "_icon_1q34w_125", no = "_small_1q34w_133", so = "_medium_1q34w_140", oo = "_large_1q34w_147", io = "_label_1q34w_154", lo = "_container_1q34w_180", co = "_input_1q34w_193", uo = "_card_1q34w_200", po = "_smallCard_1q34w_206", _o = "_mediumCard_1q34w_210", fo = "_largeCard_1q34w_214", le = {
2714
+ }, Qs = "_radio_1q34w_54", eo = "_checked_1q34w_75", to = "_error_1q34w_80", ro = "_disabled_1q34w_89", ao = "_icon_1q34w_125", no = "_small_1q34w_133", so = "_medium_1q34w_140", oo = "_large_1q34w_147", io = "_label_1q34w_154", lo = "_container_1q34w_180", co = "_input_1q34w_193", uo = "_card_1q34w_200", _o = "_smallCard_1q34w_206", po = "_mediumCard_1q34w_210", fo = "_largeCard_1q34w_214", le = {
2722
2715
  radio: Qs,
2723
2716
  checked: eo,
2724
2717
  error: to,
@@ -2731,61 +2724,61 @@ const Ft = Object.assign(Ds, {
2731
2724
  container: lo,
2732
2725
  input: co,
2733
2726
  card: uo,
2734
- smallCard: po,
2735
- mediumCard: _o,
2727
+ smallCard: _o,
2728
+ mediumCard: po,
2736
2729
  largeCard: fo
2737
- }, ho = "radio-container-", bo = "radio-label", er = K(
2730
+ }, go = "radio-container-", bo = "radio-label", er = K(
2738
2731
  (e, r) => {
2739
2732
  const {
2740
2733
  name: a,
2741
- id: o,
2734
+ id: s,
2742
2735
  value: i,
2743
- size: s = "large",
2736
+ size: o = "large",
2744
2737
  loading: l = !1,
2745
2738
  error: c,
2746
- disabled: p = !1,
2747
- checked: _ = !1,
2748
- containerClassName: f,
2739
+ disabled: _ = !1,
2740
+ checked: f = !1,
2741
+ containerClassName: p,
2749
2742
  className: h,
2750
2743
  children: m,
2751
- clickable: b = "all",
2744
+ clickable: g = "all",
2752
2745
  mode: y = "default",
2753
- tabIndex: L,
2754
- style: x,
2755
- containerStyle: v,
2756
- onChange: d,
2746
+ tabIndex: C,
2747
+ style: v,
2748
+ containerStyle: x,
2749
+ onChange: u,
2757
2750
  "data-testid": w,
2758
- ...C
2759
- } = e, M = !!c, j = p || l, I = b === "all", A = y === "card", D = le[`${s}Card`], U = o ?? a, q = (F) => {
2760
- j || d == null || d(i, F);
2751
+ ...j
2752
+ } = e, M = !!c, E = _ || l, I = g === "all", A = y === "card", D = le[`${o}Card`], U = s ?? a, q = (F) => {
2753
+ E || u == null || u(i, F);
2761
2754
  }, O = (F) => {
2762
- F.key === "Enter" && !j && (F.preventDefault(), d == null || d(i));
2755
+ F.key === "Enter" && !E && (F.preventDefault(), u == null || u(i));
2763
2756
  }, S = (F) => F.stopPropagation(), T = () => /* @__PURE__ */ n.jsxs(
2764
2757
  "div",
2765
2758
  {
2766
2759
  className: k(
2767
2760
  le.radio,
2768
- le[s],
2761
+ le[o],
2769
2762
  {
2770
- [le.checked]: _,
2771
- [le.disabled]: j,
2772
- [le.error]: M && !j
2763
+ [le.checked]: f,
2764
+ [le.disabled]: E,
2765
+ [le.error]: M && !E
2773
2766
  },
2774
2767
  h
2775
2768
  ),
2776
- style: x,
2777
- tabIndex: L || 1,
2778
- "data-testid": `${ho}${U}`,
2769
+ style: v,
2770
+ tabIndex: C || 1,
2771
+ "data-testid": `${go}${U}`,
2779
2772
  children: [
2780
2773
  /* @__PURE__ */ n.jsx(
2781
2774
  "input",
2782
2775
  {
2783
2776
  "aria-errormessage": c,
2784
2777
  "aria-invalid": M,
2785
- checked: _,
2778
+ checked: f,
2786
2779
  className: le.input,
2787
2780
  "data-testid": `radio-${U}`,
2788
- disabled: j,
2781
+ disabled: E,
2789
2782
  id: U,
2790
2783
  name: a,
2791
2784
  ref: r,
@@ -2801,17 +2794,17 @@ const Ft = Object.assign(Ds, {
2801
2794
  ), B = () => /* @__PURE__ */ n.jsxs(
2802
2795
  "label",
2803
2796
  {
2804
- "aria-checked": _,
2805
- "aria-disabled": j,
2797
+ "aria-checked": f,
2798
+ "aria-disabled": E,
2806
2799
  "data-testid": I ? w : bo,
2807
2800
  htmlFor: U,
2808
- style: v,
2801
+ style: x,
2809
2802
  className: k(le.label, {
2810
- [k(le.container, le[y], f)]: I,
2803
+ [k(le.container, le[y], p)]: I,
2811
2804
  [D]: I && A
2812
2805
  }),
2813
2806
  onKeyDown: O,
2814
- ...C,
2807
+ ...j,
2815
2808
  children: [
2816
2809
  T(),
2817
2810
  I && m
@@ -2821,7 +2814,7 @@ const Ft = Object.assign(Ds, {
2821
2814
  return I ? B() : /* @__PURE__ */ n.jsxs(
2822
2815
  "div",
2823
2816
  {
2824
- className: k(le.container, le[y], f, {
2817
+ className: k(le.container, le[y], p, {
2825
2818
  [D]: A
2826
2819
  }),
2827
2820
  "data-testid": w,
@@ -2832,81 +2825,81 @@ const Ft = Object.assign(Ds, {
2832
2825
  }
2833
2826
  );
2834
2827
  }
2835
- ), go = "_group_o6mjt_7", mo = "_vertical_o6mjt_12", yo = "_horizontal_o6mjt_16", qt = {
2836
- group: go,
2828
+ ), ho = "_group_o6mjt_7", mo = "_vertical_o6mjt_12", yo = "_horizontal_o6mjt_16", qt = {
2829
+ group: ho,
2837
2830
  vertical: mo,
2838
2831
  horizontal: yo
2839
2832
  }, vo = K(
2840
2833
  (e, r) => {
2841
2834
  const {
2842
2835
  id: a,
2843
- name: o,
2836
+ name: s,
2844
2837
  value: i,
2845
- options: s,
2838
+ options: o,
2846
2839
  className: l,
2847
2840
  radioClassName: c,
2848
- disabled: p = !1,
2849
- layout: _ = "vertical",
2850
- "data-testid": f,
2841
+ disabled: _ = !1,
2842
+ layout: f = "vertical",
2843
+ "data-testid": p,
2851
2844
  ...h
2852
2845
  } = e;
2853
2846
  return /* @__PURE__ */ n.jsx(
2854
2847
  "div",
2855
2848
  {
2856
- className: Le(qt.group, qt[_], l),
2857
- "data-testid": f ?? `radio-group-${o}`,
2849
+ className: je(qt.group, qt[f], l),
2850
+ "data-testid": p ?? `radio-group-${s}`,
2858
2851
  id: a,
2859
2852
  ref: r,
2860
- children: s.map(({ label: m, value: b, disabled: y }) => {
2861
- const L = `${o}-${String(b)}`, x = String(b) === String(i);
2853
+ children: o.map(({ label: m, value: g, disabled: y }) => {
2854
+ const C = `${s}-${String(g)}`, v = String(g) === String(i);
2862
2855
  return /* @__PURE__ */ n.jsx(
2863
2856
  er,
2864
2857
  {
2865
- id: L,
2866
- checked: x,
2867
- "data-testid": L,
2868
- disabled: p || y,
2869
- name: o,
2870
- value: b,
2858
+ id: C,
2859
+ checked: v,
2860
+ "data-testid": C,
2861
+ disabled: _ || y,
2862
+ name: s,
2863
+ value: g,
2871
2864
  className: c,
2872
2865
  ...h,
2873
2866
  children: m
2874
2867
  },
2875
- L
2868
+ C
2876
2869
  );
2877
2870
  })
2878
2871
  }
2879
2872
  );
2880
2873
  }
2881
- ), tl = Object.assign(er, {
2874
+ ), el = Object.assign(er, {
2882
2875
  Group: vo
2883
- }), xo = "_root_1jj3e_25", wo = "_unordered_1jj3e_39", Co = "_ordered_1jj3e_43", So = "_sm_1jj3e_48", Lo = "_md_1jj3e_59", Eo = "_lg_1jj3e_70", jo = "_xl_1jj3e_81", ut = {
2876
+ }), xo = "_root_1jj3e_25", wo = "_unordered_1jj3e_39", Co = "_ordered_1jj3e_43", So = "_sm_1jj3e_48", jo = "_md_1jj3e_59", Lo = "_lg_1jj3e_70", Eo = "_xl_1jj3e_81", ut = {
2884
2877
  root: xo,
2885
2878
  unordered: wo,
2886
2879
  ordered: Co,
2887
2880
  sm: So,
2888
- md: Lo,
2889
- lg: Eo,
2890
- xl: jo
2881
+ md: jo,
2882
+ lg: Lo,
2883
+ xl: Eo
2891
2884
  }, ko = (e) => {
2892
- const { children: r, className: a, "data-testid": o = "list-item" } = e;
2893
- return /* @__PURE__ */ n.jsx("li", { "data-testid": o, className: a, children: r });
2894
- }, rl = Object.assign(
2885
+ const { children: r, className: a, "data-testid": s = "list-item" } = e;
2886
+ return /* @__PURE__ */ n.jsx("li", { "data-testid": s, className: a, children: r });
2887
+ }, tl = Object.assign(
2895
2888
  K((e, r) => {
2896
2889
  const {
2897
2890
  variant: a = "unordered",
2898
- className: o,
2891
+ className: s,
2899
2892
  children: i,
2900
- size: s = "md",
2893
+ size: o = "md",
2901
2894
  "data-testid": l = "list",
2902
2895
  ...c
2903
- } = e, p = a === "ordered" ? "ol" : "ul";
2896
+ } = e, _ = a === "ordered" ? "ol" : "ul";
2904
2897
  return /* @__PURE__ */ n.jsx(
2905
- p,
2898
+ _,
2906
2899
  {
2907
2900
  "data-testid": l,
2908
2901
  ref: r,
2909
- className: Le(ut.root, ut[a], ut[s], o),
2902
+ className: je(ut.root, ut[a], ut[o], s),
2910
2903
  ...a === "ordered" && c,
2911
2904
  children: i
2912
2905
  }
@@ -2930,16 +2923,16 @@ const Ft = Object.assign(Ds, {
2930
2923
  children: e,
2931
2924
  withControls: r = !0,
2932
2925
  className: a,
2933
- size: o
2926
+ size: s
2934
2927
  }) => {
2935
- const i = Be(null), [s, l] = de(!1), [c, p] = de(!1), { ref: _, bgColor: f } = ft(), h = _ ?? { current: null }, m = f ?? Uo, b = r && s, y = r && c, L = ({ direction: d }) => /* @__PURE__ */ n.jsx(
2928
+ const i = qe(null), [o, l] = de(!1), [c, _] = de(!1), { ref: f, bgColor: p } = ft(), h = f ?? { current: null }, m = p ?? Uo, g = r && o, y = r && c, C = ({ direction: u }) => /* @__PURE__ */ n.jsx(
2936
2929
  "svg",
2937
2930
  {
2938
2931
  height: "12px",
2939
2932
  width: "12px",
2940
2933
  viewBox: "0 0 185.343 185.343",
2941
2934
  xmlns: "http://www.w3.org/2000/svg",
2942
- children: /* @__PURE__ */ n.jsx("g", { transform: d === "left" ? "scale(-1,1) translate(-185.343,0)" : void 0, children: /* @__PURE__ */ n.jsx(
2935
+ children: /* @__PURE__ */ n.jsx("g", { transform: u === "left" ? "scale(-1,1) translate(-185.343,0)" : void 0, children: /* @__PURE__ */ n.jsx(
2943
2936
  "path",
2944
2937
  {
2945
2938
  fill: "currentColor",
@@ -2947,36 +2940,36 @@ const Ft = Object.assign(Ds, {
2947
2940
  }
2948
2941
  ) })
2949
2942
  }
2950
- ), x = () => {
2951
- const d = i.current;
2952
- if (!d) return;
2953
- const w = Math.round(d.scrollLeft), C = Math.round(d.scrollLeft + d.clientWidth), M = Math.round(d.scrollWidth);
2954
- l(w > 0), p(C < M);
2955
- }, v = (d) => {
2943
+ ), v = () => {
2944
+ const u = i.current;
2945
+ if (!u) return;
2946
+ const w = Math.round(u.scrollLeft), j = Math.round(u.scrollLeft + u.clientWidth), M = Math.round(u.scrollWidth);
2947
+ l(w > 0), _(j < M);
2948
+ }, x = (u) => {
2956
2949
  const w = i.current;
2957
2950
  if (!w) return;
2958
- const C = w.clientWidth;
2959
- w.scrollBy({ left: d === "left" ? -C : C, behavior: "smooth" });
2951
+ const j = w.clientWidth;
2952
+ w.scrollBy({ left: u === "left" ? -j : j, behavior: "smooth" });
2960
2953
  };
2961
2954
  return oe(() => {
2962
- const d = i.current;
2963
- if (!d) return;
2964
- const w = (C) => {
2965
- Math.abs(C.deltaX) > Math.abs(C.deltaY) || d.scrollWidth > d.clientWidth && (C.preventDefault(), d.scrollBy({ left: C.deltaY, behavior: "auto" }));
2955
+ const u = i.current;
2956
+ if (!u) return;
2957
+ const w = (j) => {
2958
+ Math.abs(j.deltaX) > Math.abs(j.deltaY) || u.scrollWidth > u.clientWidth && (j.preventDefault(), u.scrollBy({ left: j.deltaY, behavior: "auto" }));
2966
2959
  };
2967
- return d.addEventListener("wheel", w, { passive: !1 }), () => d.removeEventListener("wheel", w);
2960
+ return u.addEventListener("wheel", w, { passive: !1 }), () => u.removeEventListener("wheel", w);
2968
2961
  }, []), oe(() => {
2969
- x();
2970
- const d = i.current;
2971
- if (d)
2972
- return d.addEventListener("scroll", x, { passive: !0 }), window.addEventListener("resize", x), () => {
2973
- d.removeEventListener("scroll", x), window.removeEventListener("resize", x);
2962
+ v();
2963
+ const u = i.current;
2964
+ if (u)
2965
+ return u.addEventListener("scroll", v, { passive: !0 }), window.addEventListener("resize", v), () => {
2966
+ u.removeEventListener("scroll", v), window.removeEventListener("resize", v);
2974
2967
  };
2975
2968
  }, []), /* @__PURE__ */ n.jsxs("div", { ref: h, className: k(ne.wrapper, a), children: [
2976
- b && /* @__PURE__ */ n.jsx(
2969
+ g && /* @__PURE__ */ n.jsx(
2977
2970
  "div",
2978
2971
  {
2979
- className: k(ne.mask, ne.maskLeft, s && ne.visible),
2972
+ className: k(ne.mask, ne.maskLeft, o && ne.visible),
2980
2973
  style: {
2981
2974
  background: `linear-gradient(to right, ${m} 17%, transparent 80%)`
2982
2975
  }
@@ -2992,15 +2985,15 @@ const Ft = Object.assign(Ds, {
2992
2985
  }
2993
2986
  ),
2994
2987
  /* @__PURE__ */ n.jsx("div", { ref: i, className: ne.viewport, children: e }),
2995
- b && /* @__PURE__ */ n.jsx(
2988
+ g && /* @__PURE__ */ n.jsx(
2996
2989
  "button",
2997
2990
  {
2998
2991
  type: "button",
2999
2992
  tabIndex: -1,
3000
2993
  "aria-hidden": "true",
3001
- className: k(ne.control, ne.left, ne[o]),
3002
- onClick: () => v("left"),
3003
- children: /* @__PURE__ */ n.jsx(L, { direction: "left" })
2994
+ className: k(ne.control, ne.left, ne[s]),
2995
+ onClick: () => x("left"),
2996
+ children: /* @__PURE__ */ n.jsx(C, { direction: "left" })
3004
2997
  }
3005
2998
  ),
3006
2999
  y && /* @__PURE__ */ n.jsx(
@@ -3009,9 +3002,9 @@ const Ft = Object.assign(Ds, {
3009
3002
  type: "button",
3010
3003
  tabIndex: -1,
3011
3004
  "aria-hidden": "true",
3012
- className: k(ne.control, ne.right, ne[o]),
3013
- onClick: () => v("right"),
3014
- children: /* @__PURE__ */ n.jsx(L, { direction: "right" })
3005
+ className: k(ne.control, ne.right, ne[s]),
3006
+ onClick: () => x("right"),
3007
+ children: /* @__PURE__ */ n.jsx(C, { direction: "right" })
3015
3008
  }
3016
3009
  )
3017
3010
  ] });
@@ -3036,30 +3029,30 @@ const Ft = Object.assign(Ds, {
3036
3029
  children: e,
3037
3030
  defaultActiveTab: r,
3038
3031
  activeTab: a,
3039
- onChange: o
3032
+ onChange: s
3040
3033
  }) => {
3041
- const [i, s] = de(r), l = a !== void 0, c = l ? a : i, p = (_) => {
3042
- l || s(_), o && o(_);
3034
+ const [i, o] = de(r), l = a !== void 0, c = l ? a : i, _ = (f) => {
3035
+ l || o(f), s && s(f);
3043
3036
  };
3044
- return /* @__PURE__ */ n.jsx(tr.Provider, { value: { activeTab: c, setTab: p }, children: e });
3037
+ return /* @__PURE__ */ n.jsx(tr.Provider, { value: { activeTab: c, setTab: _ }, children: e });
3045
3038
  }, oi = ({
3046
3039
  mode: e,
3047
3040
  item: r,
3048
3041
  isActive: a,
3049
- showBadge: o,
3042
+ showBadge: s,
3050
3043
  badgeProps: i,
3051
- size: s,
3044
+ size: o,
3052
3045
  isDisabled: l,
3053
3046
  onSelectTab: c
3054
3047
  }) => {
3055
3048
  const {
3056
- value: p,
3057
- label: _,
3058
- prefix: f,
3049
+ value: _,
3050
+ label: f,
3051
+ prefix: p,
3059
3052
  prefixWrapperProps: h = {},
3060
3053
  postfix: m,
3061
- postfixWrapperProps: b = {}
3062
- } = r, { className: y, ...L } = h, { className: x, ...v } = b, d = {
3054
+ postfixWrapperProps: g = {}
3055
+ } = r, { className: y, ...C } = h, { className: v, ...x } = g, u = {
3063
3056
  primary: ce["typography-label-3-medium"],
3064
3057
  secondary: ce["typography-label-3-regular"],
3065
3058
  prefix: ce["typography-label-3-medium"],
@@ -3068,71 +3061,71 @@ const Ft = Object.assign(Ds, {
3068
3061
  size: ai,
3069
3062
  position: ni,
3070
3063
  ...i
3071
- }, C = k(J.tab, J[e], J[s], {
3064
+ }, j = k(J.tab, J[e], J[o], {
3072
3065
  [J.selected]: a,
3073
3066
  [J.disabled]: l
3074
3067
  }), M = k(
3075
3068
  J.tabPrefix,
3076
3069
  y,
3077
3070
  J[e],
3078
- d.prefix,
3071
+ u.prefix,
3079
3072
  {
3080
3073
  [J.selected]: a,
3081
3074
  [J.disabled]: l
3082
3075
  }
3083
- ), j = k(
3076
+ ), E = k(
3084
3077
  J.tabPostfix,
3085
- x,
3078
+ v,
3086
3079
  J[e],
3087
- d.postfix,
3080
+ u.postfix,
3088
3081
  {
3089
3082
  [J.selected]: a,
3090
3083
  [J.disabled]: l
3091
3084
  }
3092
- ), I = k(J.tabLabel, J[e], d[e]), A = (U) => {
3093
- a || l || (c(p), U.currentTarget.scrollIntoView({ behavior: "smooth", inline: "center", block: "nearest" }));
3085
+ ), I = k(J.tabLabel, J[e], u[e]), A = (U) => {
3086
+ a || l || (c(_), U.currentTarget.scrollIntoView({ behavior: "smooth", inline: "center", block: "nearest" }));
3094
3087
  }, D = /* @__PURE__ */ n.jsxs(
3095
3088
  "button",
3096
3089
  {
3097
- className: C,
3090
+ className: j,
3098
3091
  role: "tab",
3099
- "aria-label": _,
3092
+ "aria-label": f,
3100
3093
  "aria-selected": a,
3101
3094
  "aria-disabled": l,
3102
- "aria-controls": `tab-panel-${p}`,
3103
- "data-testid": `tab-item-${p}`,
3095
+ "aria-controls": `tab-panel-${_}`,
3096
+ "data-testid": `tab-item-${_}`,
3104
3097
  onClick: A,
3105
3098
  children: [
3106
- f && /* @__PURE__ */ n.jsx(
3099
+ p && /* @__PURE__ */ n.jsx(
3107
3100
  "span",
3108
3101
  {
3109
3102
  className: M,
3110
- ...L,
3111
- "data-testid": `tab-prefix-${p}`,
3112
- children: f
3103
+ ...C,
3104
+ "data-testid": `tab-prefix-${_}`,
3105
+ children: p
3113
3106
  }
3114
3107
  ),
3115
- /* @__PURE__ */ n.jsx("span", { className: I, "data-testid": `tab-label-${p}`, children: _ }),
3108
+ /* @__PURE__ */ n.jsx("span", { className: I, "data-testid": `tab-label-${_}`, children: f }),
3116
3109
  m && /* @__PURE__ */ n.jsx(
3117
3110
  "span",
3118
3111
  {
3119
- className: j,
3120
- ...v,
3121
- "data-testid": `tab-postfix-${p}`,
3112
+ className: E,
3113
+ ...x,
3114
+ "data-testid": `tab-postfix-${_}`,
3122
3115
  children: m
3123
3116
  }
3124
3117
  )
3125
3118
  ]
3126
3119
  }
3127
3120
  );
3128
- return o ? /* @__PURE__ */ n.jsx(Qa, { ...w, "data-testid": `tab-badge-${p}`, children: D }) : D;
3121
+ return s ? /* @__PURE__ */ n.jsx(Qa, { ...w, "data-testid": `tab-badge-${_}`, children: D }) : D;
3129
3122
  }, ii = ({
3130
3123
  mode: e,
3131
3124
  items: r,
3132
3125
  size: a = ti,
3133
- isAllItemsDisabled: o = ri
3126
+ isAllItemsDisabled: s = ri
3134
3127
  }) => {
3135
- const { activeTab: i, setTab: s } = rr(), l = Wa();
3128
+ const { activeTab: i, setTab: o } = rr(), l = Wa();
3136
3129
  return /* @__PURE__ */ n.jsx(Fo, { size: a, withControls: l, children: /* @__PURE__ */ n.jsx(
3137
3130
  "div",
3138
3131
  {
@@ -3149,8 +3142,8 @@ const Ft = Object.assign(Ds, {
3149
3142
  showBadge: c.showBadge,
3150
3143
  badgeProps: c.badgeProps,
3151
3144
  isActive: i === c.value,
3152
- isDisabled: o || c.isDisabled,
3153
- onSelectTab: s
3145
+ isDisabled: s || c.isDisabled,
3146
+ onSelectTab: o
3154
3147
  },
3155
3148
  c.value
3156
3149
  ))
@@ -3166,22 +3159,22 @@ const Ft = Object.assign(Ds, {
3166
3159
  children: r
3167
3160
  }
3168
3161
  ), ci = ({ children: e, ...r }) => {
3169
- const { activeTab: a } = rr(), o = Array.isArray(e) ? e : [e], i = (s, l) => pt.isValidElement(s) && typeof s.props == "object" && s.props !== null && l in s.props;
3170
- return /* @__PURE__ */ n.jsx("div", { "data-testid": "tab-content", ...r, children: o.map((s) => i(s, "tabValue") && String(s.props.tabValue) === a ? s : null) });
3171
- }, al = {
3162
+ const { activeTab: a } = rr(), s = Array.isArray(e) ? e : [e], i = (o, l) => _t.isValidElement(o) && typeof o.props == "object" && o.props !== null && l in o.props;
3163
+ return /* @__PURE__ */ n.jsx("div", { "data-testid": "tab-content", ...r, children: s.map((o) => i(o, "tabValue") && String(o.props.tabValue) === a ? o : null) });
3164
+ }, rl = {
3172
3165
  Provider: si,
3173
3166
  Content: ci,
3174
3167
  Panel: li,
3175
3168
  Bar: ii
3176
- }, di = "_root_1fbbw_34", ui = "_open_1fbbw_51", pi = "_xs_1fbbw_55", _i = "_s_1fbbw_61", fi = "_m_1fbbw_67", hi = "_neutral_1fbbw_73", bi = "_contrast_1fbbw_78", gi = "_accent_1fbbw_84", mi = "_typography_1fbbw_89", yi = "_title_1fbbw_89", vi = "_text_1fbbw_93", xi = "_mediaWrapper_1fbbw_97", wi = "_content_1fbbw_112", Ci = "_closeButton_1fbbw_116", Si = "_hasMedia_1fbbw_142", Li = "_buttonStack_1fbbw_148", se = {
3169
+ }, di = "_root_1fbbw_34", ui = "_open_1fbbw_51", _i = "_xs_1fbbw_55", pi = "_s_1fbbw_61", fi = "_m_1fbbw_67", gi = "_neutral_1fbbw_73", bi = "_contrast_1fbbw_78", hi = "_accent_1fbbw_84", mi = "_typography_1fbbw_89", yi = "_title_1fbbw_89", vi = "_text_1fbbw_93", xi = "_mediaWrapper_1fbbw_97", wi = "_content_1fbbw_112", Ci = "_closeButton_1fbbw_116", Si = "_hasMedia_1fbbw_142", ji = "_buttonStack_1fbbw_148", se = {
3177
3170
  root: di,
3178
3171
  open: ui,
3179
- xs: pi,
3180
- s: _i,
3172
+ xs: _i,
3173
+ s: pi,
3181
3174
  m: fi,
3182
- neutral: hi,
3175
+ neutral: gi,
3183
3176
  contrast: bi,
3184
- accent: gi,
3177
+ accent: hi,
3185
3178
  typography: mi,
3186
3179
  title: yi,
3187
3180
  text: vi,
@@ -3189,8 +3182,8 @@ const Ft = Object.assign(Ds, {
3189
3182
  content: wi,
3190
3183
  closeButton: Ci,
3191
3184
  hasMedia: Si,
3192
- buttonStack: Li
3193
- }, Ei = () => /* @__PURE__ */ n.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", stroke: "currentColor", children: /* @__PURE__ */ n.jsx("path", { d: "M18 6 6 18M6 6l12 12" }) }), ji = () => /* @__PURE__ */ n.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 9", fill: "currentColor", children: [
3185
+ buttonStack: ji
3186
+ }, Li = () => /* @__PURE__ */ n.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", stroke: "currentColor", children: /* @__PURE__ */ n.jsx("path", { d: "M18 6 6 18M6 6l12 12" }) }), Ei = () => /* @__PURE__ */ n.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 9", fill: "currentColor", children: [
3194
3187
  /* @__PURE__ */ n.jsx(
3195
3188
  "path",
3196
3189
  {
@@ -3198,7 +3191,7 @@ const Ft = Object.assign(Ds, {
3198
3191
  }
3199
3192
  ),
3200
3193
  /* @__PURE__ */ n.jsx("path", { d: "M-2 0.000390053L26 0.000390053V-1L-2 -1L-2 0.000390053Z" })
3201
- ] }), _e = {
3194
+ ] }), pe = {
3202
3195
  shiftX: 64,
3203
3196
  adjustY: 1
3204
3197
  }, fe = { adjustX: 1, shiftY: !0 }, ki = {
@@ -3214,17 +3207,17 @@ const Ft = Object.assign(Ds, {
3214
3207
  },
3215
3208
  top: {
3216
3209
  points: ["bc", "tc"],
3217
- overflow: _e,
3210
+ overflow: pe,
3218
3211
  offset: [0, -22]
3219
3212
  },
3220
3213
  bottom: {
3221
3214
  points: ["tc", "bc"],
3222
- overflow: _e,
3215
+ overflow: pe,
3223
3216
  offset: [0, 22]
3224
3217
  },
3225
3218
  topLeft: {
3226
3219
  points: ["bl", "tl"],
3227
- overflow: _e,
3220
+ overflow: pe,
3228
3221
  offset: [0, -22]
3229
3222
  },
3230
3223
  leftTop: {
@@ -3234,7 +3227,7 @@ const Ft = Object.assign(Ds, {
3234
3227
  },
3235
3228
  topRight: {
3236
3229
  points: ["br", "tr"],
3237
- overflow: _e,
3230
+ overflow: pe,
3238
3231
  offset: [0, -22]
3239
3232
  },
3240
3233
  rightTop: {
@@ -3244,7 +3237,7 @@ const Ft = Object.assign(Ds, {
3244
3237
  },
3245
3238
  bottomRight: {
3246
3239
  points: ["tr", "br"],
3247
- overflow: _e,
3240
+ overflow: pe,
3248
3241
  offset: [0, 22]
3249
3242
  },
3250
3243
  rightBottom: {
@@ -3254,7 +3247,7 @@ const Ft = Object.assign(Ds, {
3254
3247
  },
3255
3248
  bottomLeft: {
3256
3249
  points: ["tl", "bl"],
3257
- overflow: _e,
3250
+ overflow: pe,
3258
3251
  offset: [0, 22]
3259
3252
  },
3260
3253
  leftBottom: {
@@ -3275,17 +3268,17 @@ const Ft = Object.assign(Ds, {
3275
3268
  },
3276
3269
  top: {
3277
3270
  points: ["bc", "tc"],
3278
- overflow: _e,
3271
+ overflow: pe,
3279
3272
  offset: [0, -16]
3280
3273
  },
3281
3274
  bottom: {
3282
3275
  points: ["tc", "bc"],
3283
- overflow: _e,
3276
+ overflow: pe,
3284
3277
  offset: [0, 16]
3285
3278
  },
3286
3279
  topLeft: {
3287
3280
  points: ["bl", "tl"],
3288
- overflow: _e,
3281
+ overflow: pe,
3289
3282
  offset: [0, -16]
3290
3283
  },
3291
3284
  leftTop: {
@@ -3295,7 +3288,7 @@ const Ft = Object.assign(Ds, {
3295
3288
  },
3296
3289
  topRight: {
3297
3290
  points: ["br", "tr"],
3298
- overflow: _e,
3291
+ overflow: pe,
3299
3292
  offset: [0, -16]
3300
3293
  },
3301
3294
  rightTop: {
@@ -3305,7 +3298,7 @@ const Ft = Object.assign(Ds, {
3305
3298
  },
3306
3299
  bottomRight: {
3307
3300
  points: ["tr", "br"],
3308
- overflow: _e,
3301
+ overflow: pe,
3309
3302
  offset: [0, 16]
3310
3303
  },
3311
3304
  rightBottom: {
@@ -3315,7 +3308,7 @@ const Ft = Object.assign(Ds, {
3315
3308
  },
3316
3309
  bottomLeft: {
3317
3310
  points: ["tl", "bl"],
3318
- overflow: _e,
3311
+ overflow: pe,
3319
3312
  offset: [0, 16]
3320
3313
  },
3321
3314
  leftBottom: {
@@ -3360,198 +3353,191 @@ const Ft = Object.assign(Ds, {
3360
3353
  { mode: "primary", buttonStyle: "accent", size: "s" }
3361
3354
  ]
3362
3355
  }
3363
- }, $i = (e, r, a) => Math.min(Math.max(e, r), a), Ti = (e, r, a) => {
3364
- const o = $i(r, 1, 3), i = Ii[a][o];
3356
+ }, $i = (e, r, a) => {
3357
+ const s = La(r, 1, 3), i = Ii[a][s];
3365
3358
  return i[Math.min(e, i.length - 1)];
3366
3359
  }, Wt = ({
3367
3360
  text: e,
3368
3361
  title: r,
3369
3362
  media: a,
3370
- variant: o = "neutral",
3363
+ variant: s = "neutral",
3371
3364
  size: i,
3372
- classNames: s = {},
3365
+ classNames: o = {},
3373
3366
  onClose: l,
3374
3367
  buttons: c,
3375
- buttonProps: p,
3376
- showClose: _
3368
+ buttonProps: _,
3369
+ showClose: f
3377
3370
  }) => {
3378
- const f = ["neutral", "accent"].includes(o) ? "contrast" : "primary", h = i === "m", m = !!(r && h), b = !!(a && h), y = c && !!c.length, L = !!(_ && h) || !_ && h && !y, x = i === "xs" ? 4 : 3;
3371
+ const p = ["neutral", "accent"].includes(s) ? "contrast" : "primary", h = i === "m", m = !!(r && h), g = !!(a && h), y = c && !!c.length, C = !!(f && h) || !f && h && !y, v = i === "xs" ? 4 : 3;
3379
3372
  return /* @__PURE__ */ n.jsxs("div", { className: se.content, children: [
3380
- b && /* @__PURE__ */ n.jsx("div", { className: k(se.mediaWrapper, s.mediaWrapper), children: a }),
3381
- /* @__PURE__ */ n.jsxs("div", { className: s.textWrapper, children: [
3373
+ g && /* @__PURE__ */ n.jsx("div", { className: k(se.mediaWrapper, o.mediaWrapper), children: a }),
3374
+ /* @__PURE__ */ n.jsxs("div", { className: o.textWrapper, children: [
3382
3375
  m && /* @__PURE__ */ n.jsx(
3383
3376
  zt.Subtitle,
3384
3377
  {
3385
- className: k(se.typography, se.title, s.typography),
3378
+ className: k(se.typography, se.title, o.typography),
3386
3379
  size: 1,
3387
3380
  as: "h3",
3388
- typographyStyle: f,
3381
+ typographyStyle: p,
3389
3382
  children: r
3390
3383
  }
3391
3384
  ),
3392
3385
  /* @__PURE__ */ n.jsx(
3393
3386
  zt.Label,
3394
3387
  {
3395
- className: k(se.typography, se.text, s.typography),
3396
- typographyStyle: f,
3397
- size: x,
3388
+ className: k(se.typography, se.text, o.typography),
3389
+ typographyStyle: p,
3390
+ size: v,
3398
3391
  children: e
3399
3392
  }
3400
3393
  )
3401
3394
  ] }),
3402
- L && /* @__PURE__ */ n.jsx(
3395
+ C && /* @__PURE__ */ n.jsx(
3403
3396
  "button",
3404
3397
  {
3405
3398
  type: "button",
3406
- className: k(se.closeButton, se[o], s.closeButton, {
3407
- [se.hasMedia]: b
3399
+ className: k(se.closeButton, se[s], o.closeButton, {
3400
+ [se.hasMedia]: g
3408
3401
  }),
3409
3402
  onClick: l,
3410
3403
  "aria-label": "Закрыть подсказку",
3411
3404
  "data-testid": "tooltip-close-button",
3412
- children: /* @__PURE__ */ n.jsx(Ei, {})
3405
+ children: /* @__PURE__ */ n.jsx(Li, {})
3413
3406
  }
3414
3407
  ),
3415
- h && y && /* @__PURE__ */ n.jsx("div", { className: se.buttonStack, children: c.map((v, d) => {
3416
- const C = {
3417
- ...Ti(d, c.length, o),
3418
- ...p,
3419
- ...v
3420
- }, { closeOnClick: M, ...j } = C, I = (A) => {
3408
+ h && y && /* @__PURE__ */ n.jsx("div", { className: se.buttonStack, children: c.map((x, u) => {
3409
+ const j = {
3410
+ ...$i(u, c.length, s),
3411
+ ..._,
3412
+ ...x
3413
+ }, { closeOnClick: M, ...E } = j, I = (A) => {
3421
3414
  var D;
3422
- (D = j.onClick) == null || D.call(j, A), M && (l == null || l());
3415
+ (D = E.onClick) == null || D.call(E, A), M && (l == null || l());
3423
3416
  };
3424
- return /* @__PURE__ */ n.jsx(
3425
- ha,
3426
- {
3427
- ...j,
3428
- onClick: I
3429
- },
3430
- d
3431
- );
3417
+ return /* @__PURE__ */ n.jsx(ga, { ...E, onClick: I }, u);
3432
3418
  }) })
3433
3419
  ] });
3434
- }, nl = ({
3420
+ }, al = ({
3435
3421
  customContent: e,
3436
3422
  children: r,
3437
3423
  placement: a = "top",
3438
- contentClassNames: o,
3424
+ contentClassNames: s,
3439
3425
  mouseEnterDelay: i = 0,
3440
- mouseLeaveDelay: s = 0.1,
3426
+ mouseLeaveDelay: o = 0.1,
3441
3427
  showArrow: l = !0,
3442
3428
  showClose: c = !0,
3443
- trigger: p = "hover",
3444
- variant: _ = "neutral",
3445
- size: f = "s",
3429
+ trigger: _ = "hover",
3430
+ variant: f = "neutral",
3431
+ size: p = "s",
3446
3432
  text: h,
3447
3433
  title: m,
3448
- media: b,
3434
+ media: g,
3449
3435
  buttons: y,
3450
- buttonProps: L,
3451
- onClose: x,
3452
- ...v
3436
+ buttonProps: C,
3437
+ onClose: v,
3438
+ ...x
3453
3439
  }) => {
3454
- const [d, w] = de(!1), [C, M] = de(!1), j = f === "m" ? ki : Mi, I = () => {
3455
- w(!1), x == null || x();
3456
- }, A = e || (f === "m" ? /* @__PURE__ */ n.jsx(
3440
+ const [u, w] = de(!1), [j, M] = de(!1), E = p === "m" ? ki : Mi, I = () => {
3441
+ w(!1), v == null || v();
3442
+ }, A = e || (p === "m" ? /* @__PURE__ */ n.jsx(
3457
3443
  Wt,
3458
3444
  {
3459
- classNames: o,
3445
+ classNames: s,
3460
3446
  text: h,
3461
- variant: _,
3462
- size: f,
3447
+ variant: f,
3448
+ size: p,
3463
3449
  onClose: I,
3464
3450
  title: m,
3465
- media: b,
3451
+ media: g,
3466
3452
  showClose: c,
3467
3453
  buttons: y,
3468
- buttonProps: L
3454
+ buttonProps: C
3469
3455
  }
3470
3456
  ) : /* @__PURE__ */ n.jsx(
3471
3457
  Wt,
3472
3458
  {
3473
- classNames: o,
3459
+ classNames: s,
3474
3460
  text: h,
3475
- variant: _,
3476
- size: f,
3461
+ variant: f,
3462
+ size: p,
3477
3463
  onClose: I
3478
3464
  }
3479
3465
  ));
3480
3466
  return oe(() => {
3481
- if (d) {
3467
+ if (u) {
3482
3468
  const D = requestAnimationFrame(() => M(!0));
3483
3469
  return () => cancelAnimationFrame(D);
3484
3470
  }
3485
3471
  M(!1);
3486
- }, [d]), /* @__PURE__ */ n.jsx(
3472
+ }, [u]), /* @__PURE__ */ n.jsx(
3487
3473
  kr,
3488
3474
  {
3489
- visible: d,
3475
+ visible: u,
3490
3476
  onVisibleChange: w,
3491
3477
  classNames: {
3492
- root: k(se.root, se[_], se[f], C && se.open),
3493
- ...v.classNames
3478
+ root: k(se.root, se[f], se[p], j && se.open),
3479
+ ...x.classNames
3494
3480
  },
3495
3481
  placement: a,
3496
3482
  overlay: () => A,
3497
- trigger: p,
3483
+ trigger: _,
3498
3484
  mouseEnterDelay: i,
3499
- mouseLeaveDelay: s,
3485
+ mouseLeaveDelay: o,
3500
3486
  motion: { motionName: "tooltipMotion" },
3501
- builtinPlacements: j,
3487
+ builtinPlacements: E,
3502
3488
  showArrow: l ? {
3503
- content: /* @__PURE__ */ n.jsx(ji, {}),
3504
- className: `tooltipArrow tooltipArrow-${f}`
3489
+ content: /* @__PURE__ */ n.jsx(Ei, {}),
3490
+ className: `tooltipArrow tooltipArrow-${p}`
3505
3491
  } : !1,
3506
3492
  destroyTooltipOnHide: !0,
3507
- ...v,
3493
+ ...x,
3508
3494
  children: r
3509
3495
  }
3510
3496
  );
3511
- }, Ri = "_segmentedControl_1yvz7_5", Ni = "_segment_1yvz7_5", Ai = "_activeSegmentIndicator_1yvz7_51", Di = "_stretched_1yvz7_82", Oi = "_s_1yvz7_5", Pi = "_icon_1yvz7_90", Bi = "_label_1yvz7_94", zi = "_m_1yvz7_98", Ui = "_l_1yvz7_94", De = {
3512
- segmentedControl: Ri,
3513
- segment: Ni,
3514
- activeSegmentIndicator: Ai,
3515
- stretched: Di,
3516
- s: Oi,
3517
- icon: Pi,
3518
- label: Bi,
3519
- m: zi,
3520
- l: Ui
3497
+ }, Ti = "_segmentedControl_1yvz7_5", Ri = "_segment_1yvz7_5", Ni = "_activeSegmentIndicator_1yvz7_51", Ai = "_stretched_1yvz7_82", Di = "_s_1yvz7_5", Oi = "_icon_1yvz7_90", Pi = "_label_1yvz7_94", Bi = "_m_1yvz7_98", zi = "_l_1yvz7_94", De = {
3498
+ segmentedControl: Ti,
3499
+ segment: Ri,
3500
+ activeSegmentIndicator: Ni,
3501
+ stretched: Ai,
3502
+ s: Di,
3503
+ icon: Oi,
3504
+ label: Pi,
3505
+ m: Bi,
3506
+ l: zi
3521
3507
  }, Ht = {
3522
3508
  s: ce["typography-label-3-regular"],
3523
3509
  m: ce["typography-label-2-regular"],
3524
3510
  l: ce["typography-label-2-regular"]
3525
- }, sl = (e) => {
3526
- var d;
3511
+ }, nl = (e) => {
3512
+ var u;
3527
3513
  const {
3528
3514
  className: r,
3529
3515
  defaultValue: a,
3530
- value: o,
3516
+ value: s,
3531
3517
  size: i = "m",
3532
- segments: s,
3518
+ segments: o,
3533
3519
  stretched: l,
3534
3520
  mode: c = "label",
3535
- onChange: p
3536
- } = e, _ = _t(), [f, h] = de(a || s[0].value), [m, b] = de({ width: 0, left: 0 }), y = Be(null);
3521
+ onChange: _
3522
+ } = e, f = pt(), [p, h] = de(a || o[0].value), [m, g] = de({ width: 0, left: 0 }), y = qe(null);
3537
3523
  oe(() => {
3538
- o && h(o);
3539
- }, [o]), oe(() => {
3540
- L();
3541
- }, [f, s, i, l, c]);
3542
- const L = () => {
3524
+ s && h(s);
3525
+ }, [s]), oe(() => {
3526
+ C();
3527
+ }, [p, o, i, l, c]);
3528
+ const C = () => {
3543
3529
  if (!(y != null && y.current)) return;
3544
3530
  const w = y.current.querySelector(
3545
3531
  '[data-is-active-segment="true"]'
3546
3532
  );
3547
- w && b({
3533
+ w && g({
3548
3534
  width: w.offsetWidth,
3549
3535
  left: w.offsetLeft
3550
3536
  });
3551
- }, x = (d = s.find((w) => w.value === f)) == null ? void 0 : d.label, v = (w) => {
3552
- h(w), p == null || p(w);
3537
+ }, v = (u = o.find((w) => w.value === p)) == null ? void 0 : u.label, x = (w) => {
3538
+ h(w), _ == null || _(w);
3553
3539
  };
3554
- return (s == null ? void 0 : s.length) === 0 ? null : /* @__PURE__ */ n.jsxs(
3540
+ return (o == null ? void 0 : o.length) === 0 ? null : /* @__PURE__ */ n.jsxs(
3555
3541
  "div",
3556
3542
  {
3557
3543
  className: k(
@@ -3566,30 +3552,30 @@ const Ft = Object.assign(Ds, {
3566
3552
  "data-testid": "segmented-control-container",
3567
3553
  ref: y,
3568
3554
  children: [
3569
- s == null ? void 0 : s.map(({ label: w, value: C }, M) => {
3570
- const j = () => v(C);
3555
+ o == null ? void 0 : o.map(({ label: w, value: j }, M) => {
3556
+ const E = () => x(j);
3571
3557
  return /* @__PURE__ */ n.jsxs(Oe, { children: [
3572
3558
  /* @__PURE__ */ n.jsx(
3573
3559
  "input",
3574
3560
  {
3575
- id: _ + JSON.stringify(C),
3576
- value: JSON.stringify(C),
3561
+ id: f + JSON.stringify(j),
3562
+ value: JSON.stringify(j),
3577
3563
  type: "radio",
3578
- checked: f === C,
3579
- onClick: j
3564
+ checked: p === j,
3565
+ onClick: E
3580
3566
  }
3581
3567
  ),
3582
3568
  /* @__PURE__ */ n.jsx(
3583
3569
  "label",
3584
3570
  {
3585
- "data-is-active-segment": f === C,
3571
+ "data-is-active-segment": p === j,
3586
3572
  className: k(De.segment, Ht[i]),
3587
- htmlFor: _ + JSON.stringify(C),
3573
+ htmlFor: f + JSON.stringify(j),
3588
3574
  "data-testid": "segmented-control-segment",
3589
3575
  children: w
3590
3576
  }
3591
3577
  )
3592
- ] }, Je(JSON.stringify(C)) + M);
3578
+ ] }, Je(JSON.stringify(j)) + M);
3593
3579
  }),
3594
3580
  /* @__PURE__ */ n.jsx(
3595
3581
  "div",
@@ -3600,7 +3586,7 @@ const Ft = Object.assign(Ds, {
3600
3586
  width: m.width,
3601
3587
  left: m.left
3602
3588
  },
3603
- children: x
3589
+ children: v
3604
3590
  }
3605
3591
  )
3606
3592
  ]
@@ -3608,25 +3594,25 @@ const Ft = Object.assign(Ds, {
3608
3594
  );
3609
3595
  };
3610
3596
  export {
3611
- Hi as Avatar,
3597
+ Wi as Avatar,
3612
3598
  Qa as Badge,
3613
- ha as Button,
3614
- Ji as Checkbox,
3615
- Yi as ConfigProvider,
3616
- el as Helper,
3617
- Vi as Image,
3618
- rl as List,
3599
+ ga as Button,
3600
+ Xi as Checkbox,
3601
+ Gi as ConfigProvider,
3602
+ Qi as Helper,
3603
+ Hi as Image,
3604
+ tl as List,
3619
3605
  bn as Loader,
3620
- tl as Radio,
3621
- sl as SegmentedControl,
3622
- al as Tabs,
3623
- Xi as Tag,
3624
- Qi as TextArea,
3625
- Ki as TextInput,
3626
- nl as Tooltip,
3606
+ el as Radio,
3607
+ nl as SegmentedControl,
3608
+ rl as Tabs,
3609
+ Zi as Tag,
3610
+ Ki as TextArea,
3611
+ Ji as TextInput,
3612
+ al as Tooltip,
3627
3613
  zt as Typography,
3628
3614
  mn as enUS,
3629
- Zi as ruRU,
3615
+ Yi as ruRU,
3630
3616
  yn as useConfig,
3631
- Gi as useLocale
3617
+ Vi as useLocale
3632
3618
  };