skillgrid 0.0.28-dev-41308-avatar-group.1182116 → 0.0.28-dev-41308-avatar-group.1182312

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