skillgrid 0.0.31-dev-41587-bug-input.1190179 → 0.0.31-dev-40201-checkbox.1191463

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,11 +1,11 @@
1
- import * as Xe from "react";
2
- import _e, { forwardRef as K, Fragment as Pt, useState as _t, useEffect as lt, useRef as qt, useCallback as St, useMemo as Lr, createContext as Ye, useContext as Ze, useLayoutEffect as jr, useImperativeHandle as kr, useId as pe } from "react";
1
+ import * as Xt from "react";
2
+ import _t, { forwardRef as K, Fragment as Pe, useState as _e, useEffect as le, useRef as qe, useCallback as Se, useMemo as Lr, createContext as Yt, useContext as Zt, useLayoutEffect as jr, useImperativeHandle as kr, useId as pt } from "react";
3
3
  import { clsx as $ } from "clsx";
4
4
  import $r from "rc-tooltip";
5
- import './index.css';function Er(t) {
6
- return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
5
+ import './index.css';function Er(e) {
6
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
7
7
  }
8
- var Yt = { exports: {} }, Dt = {};
8
+ var Ye = { exports: {} }, De = {};
9
9
  /**
10
10
  * @license React
11
11
  * react-jsx-runtime.production.min.js
@@ -15,11 +15,11 @@ var Yt = { exports: {} }, Dt = {};
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 $e;
18
+ var $t;
19
19
  function Tr() {
20
- if ($e) return Dt;
21
- $e = 1;
22
- var t = _e, r = Symbol.for("react.element"), a = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
20
+ if ($t) return De;
21
+ $t = 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
23
  function l(c, _, f) {
24
24
  var p, h = {}, m = null, g = null;
25
25
  f !== void 0 && (m = "" + f), _.key !== void 0 && (m = "" + _.key), _.ref !== void 0 && (g = _.ref);
@@ -27,9 +27,9 @@ function Tr() {
27
27
  if (c && c.defaultProps) for (p in _ = c.defaultProps, _) h[p] === void 0 && (h[p] = _[p]);
28
28
  return { $$typeof: r, type: c, key: m, ref: g, props: h, _owner: i.current };
29
29
  }
30
- return Dt.Fragment = a, Dt.jsx = l, Dt.jsxs = l, Dt;
30
+ return De.Fragment = a, De.jsx = l, De.jsxs = l, De;
31
31
  }
32
- var Wt = {};
32
+ var We = {};
33
33
  /**
34
34
  * @license React
35
35
  * react-jsx-runtime.development.js
@@ -39,61 +39,61 @@ var Wt = {};
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 Ee;
42
+ var Et;
43
43
  function Rr() {
44
- return Ee || (Ee = 1, process.env.NODE_ENV !== "production" && function() {
45
- var t = _e, 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"), f = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), y = Symbol.iterator, C = "@@iterator";
46
- function x(e) {
47
- if (e === null || typeof e != "object")
44
+ return Et || (Et = 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"), f = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), y = Symbol.iterator, C = "@@iterator";
46
+ function x(t) {
47
+ if (t === null || typeof t != "object")
48
48
  return null;
49
- var d = y && e[y] || e[C];
50
- return typeof d == "function" ? d : null;
49
+ var u = y && t[y] || t[C];
50
+ return typeof u == "function" ? u : null;
51
51
  }
52
- var v = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
53
- function u(e) {
52
+ var w = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
53
+ function d(t) {
54
54
  {
55
- for (var d = arguments.length, b = new Array(d > 1 ? d - 1 : 0), j = 1; j < d; j++)
56
- b[j - 1] = arguments[j];
57
- w("error", e, b);
55
+ for (var u = arguments.length, b = new Array(u > 1 ? u - 1 : 0), k = 1; k < u; k++)
56
+ b[k - 1] = arguments[k];
57
+ v("error", t, b);
58
58
  }
59
59
  }
60
- function w(e, d, b) {
60
+ function v(t, u, b) {
61
61
  {
62
- var j = v.ReactDebugCurrentFrame, B = j.getStackAddendum();
63
- B !== "" && (d += "%s", b = b.concat([B]));
62
+ var k = w.ReactDebugCurrentFrame, B = k.getStackAddendum();
63
+ B !== "" && (u += "%s", b = b.concat([B]));
64
64
  var D = b.map(function(M) {
65
65
  return String(M);
66
66
  });
67
- D.unshift("Warning: " + d), Function.prototype.apply.call(console[e], console, D);
67
+ D.unshift("Warning: " + u), Function.prototype.apply.call(console[t], console, D);
68
68
  }
69
69
  }
70
- var L = !1, E = !1, k = !1, T = !1, O = !1, A;
70
+ var L = !1, T = !1, j = !1, R = !1, E = !1, A;
71
71
  A = Symbol.for("react.module.reference");
72
- function W(e) {
73
- return !!(typeof e == "string" || typeof e == "function" || e === o || e === s || O || e === i || e === f || e === p || T || e === g || L || E || k || typeof e == "object" && e !== null && (e.$$typeof === m || e.$$typeof === h || e.$$typeof === l || e.$$typeof === c || e.$$typeof === _ || // This needs to include all possible module reference object
72
+ function W(t) {
73
+ return !!(typeof t == "string" || typeof t == "function" || t === o || t === s || E || t === i || t === f || t === p || R || t === g || L || T || 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
- e.$$typeof === A || e.getModuleId !== void 0));
77
+ t.$$typeof === A || t.getModuleId !== void 0));
78
78
  }
79
- function q(e, d, b) {
80
- var j = e.displayName;
81
- if (j)
82
- return j;
83
- var B = d.displayName || d.name || "";
79
+ function q(t, u, b) {
80
+ var k = t.displayName;
81
+ if (k)
82
+ return k;
83
+ var B = u.displayName || u.name || "";
84
84
  return B !== "" ? b + "(" + B + ")" : b;
85
85
  }
86
- function P(e) {
87
- return e.displayName || "Context";
86
+ function P(t) {
87
+ return t.displayName || "Context";
88
88
  }
89
- function S(e) {
90
- if (e == null)
89
+ function S(t) {
90
+ if (t == null)
91
91
  return null;
92
- if (typeof e.tag == "number" && u("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
93
- return e.displayName || e.name || null;
94
- if (typeof e == "string")
95
- return e;
96
- switch (e) {
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
+ return t.displayName || t.name || null;
94
+ if (typeof t == "string")
95
+ return t;
96
+ switch (t) {
97
97
  case o:
98
98
  return "Fragment";
99
99
  case a:
@@ -107,21 +107,21 @@ function Rr() {
107
107
  case p:
108
108
  return "SuspenseList";
109
109
  }
110
- if (typeof e == "object")
111
- switch (e.$$typeof) {
110
+ if (typeof t == "object")
111
+ switch (t.$$typeof) {
112
112
  case c:
113
- var d = e;
114
- return P(d) + ".Consumer";
113
+ var u = t;
114
+ return P(u) + ".Consumer";
115
115
  case l:
116
- var b = e;
116
+ var b = t;
117
117
  return P(b._context) + ".Provider";
118
118
  case _:
119
- return q(e, e.render, "ForwardRef");
119
+ return q(t, t.render, "ForwardRef");
120
120
  case h:
121
- var j = e.displayName || null;
122
- return j !== null ? j : S(e.type) || "Memo";
121
+ var k = t.displayName || null;
122
+ return k !== null ? k : S(t.type) || "Memo";
123
123
  case m: {
124
- var B = e, D = B._payload, M = B._init;
124
+ var B = t, D = B._payload, M = B._init;
125
125
  try {
126
126
  return S(M(D));
127
127
  } catch {
@@ -131,103 +131,103 @@ function Rr() {
131
131
  }
132
132
  return null;
133
133
  }
134
- var I = Object.assign, z = 0, F, X, Q, ct, at, tt, et;
135
- function mt() {
134
+ var O = Object.assign, z = 0, F, X, Q, ce, ae, ee, te;
135
+ function me() {
136
136
  }
137
- mt.__reactDisabledLog = !0;
138
- function zt() {
137
+ me.__reactDisabledLog = !0;
138
+ function ze() {
139
139
  {
140
140
  if (z === 0) {
141
- F = console.log, X = console.info, Q = console.warn, ct = console.error, at = console.group, tt = console.groupCollapsed, et = console.groupEnd;
142
- var e = {
141
+ F = console.log, X = console.info, Q = console.warn, ce = console.error, ae = console.group, ee = console.groupCollapsed, te = console.groupEnd;
142
+ var t = {
143
143
  configurable: !0,
144
144
  enumerable: !0,
145
- value: mt,
145
+ value: me,
146
146
  writable: !0
147
147
  };
148
148
  Object.defineProperties(console, {
149
- info: e,
150
- log: e,
151
- warn: e,
152
- error: e,
153
- group: e,
154
- groupCollapsed: e,
155
- groupEnd: e
149
+ info: t,
150
+ log: t,
151
+ warn: t,
152
+ error: t,
153
+ group: t,
154
+ groupCollapsed: t,
155
+ groupEnd: t
156
156
  });
157
157
  }
158
158
  z++;
159
159
  }
160
160
  }
161
- function Et() {
161
+ function Ee() {
162
162
  {
163
163
  if (z--, z === 0) {
164
- var e = {
164
+ var t = {
165
165
  configurable: !0,
166
166
  enumerable: !0,
167
167
  writable: !0
168
168
  };
169
169
  Object.defineProperties(console, {
170
- log: I({}, e, {
170
+ log: O({}, t, {
171
171
  value: F
172
172
  }),
173
- info: I({}, e, {
173
+ info: O({}, t, {
174
174
  value: X
175
175
  }),
176
- warn: I({}, e, {
176
+ warn: O({}, t, {
177
177
  value: Q
178
178
  }),
179
- error: I({}, e, {
180
- value: ct
179
+ error: O({}, t, {
180
+ value: ce
181
181
  }),
182
- group: I({}, e, {
183
- value: at
182
+ group: O({}, t, {
183
+ value: ae
184
184
  }),
185
- groupCollapsed: I({}, e, {
186
- value: tt
185
+ groupCollapsed: O({}, t, {
186
+ value: ee
187
187
  }),
188
- groupEnd: I({}, e, {
189
- value: et
188
+ groupEnd: O({}, t, {
189
+ value: te
190
190
  })
191
191
  });
192
192
  }
193
- z < 0 && u("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
193
+ z < 0 && d("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
194
194
  }
195
195
  }
196
- var bt = v.ReactCurrentDispatcher, Tt;
197
- function jt(e, d, b) {
196
+ var be = w.ReactCurrentDispatcher, Te;
197
+ function je(t, u, b) {
198
198
  {
199
- if (Tt === void 0)
199
+ if (Te === void 0)
200
200
  try {
201
201
  throw Error();
202
202
  } catch (B) {
203
- var j = B.stack.trim().match(/\n( *(at )?)/);
204
- Tt = j && j[1] || "";
203
+ var k = B.stack.trim().match(/\n( *(at )?)/);
204
+ Te = k && k[1] || "";
205
205
  }
206
206
  return `
207
- ` + Tt + e;
207
+ ` + Te + t;
208
208
  }
209
209
  }
210
- var Ht = !1, Rt;
210
+ var He = !1, Re;
211
211
  {
212
- var Kt = typeof WeakMap == "function" ? WeakMap : Map;
213
- Rt = new Kt();
212
+ var Ke = typeof WeakMap == "function" ? WeakMap : Map;
213
+ Re = new Ke();
214
214
  }
215
- function Vt(e, d) {
216
- if (!e || Ht)
215
+ function Ve(t, u) {
216
+ if (!t || He)
217
217
  return "";
218
218
  {
219
- var b = Rt.get(e);
219
+ var b = Re.get(t);
220
220
  if (b !== void 0)
221
221
  return b;
222
222
  }
223
- var j;
224
- Ht = !0;
223
+ var k;
224
+ He = !0;
225
225
  var B = Error.prepareStackTrace;
226
226
  Error.prepareStackTrace = void 0;
227
227
  var D;
228
- D = bt.current, bt.current = null, zt();
228
+ D = be.current, be.current = null, ze();
229
229
  try {
230
- if (d) {
230
+ if (u) {
231
231
  var M = function() {
232
232
  throw Error();
233
233
  };
@@ -238,403 +238,403 @@ function Rr() {
238
238
  }), typeof Reflect == "object" && Reflect.construct) {
239
239
  try {
240
240
  Reflect.construct(M, []);
241
- } catch (ot) {
242
- j = ot;
241
+ } catch (oe) {
242
+ k = oe;
243
243
  }
244
- Reflect.construct(e, [], M);
244
+ Reflect.construct(t, [], M);
245
245
  } else {
246
246
  try {
247
247
  M.call();
248
- } catch (ot) {
249
- j = ot;
248
+ } catch (oe) {
249
+ k = oe;
250
250
  }
251
- e.call(M.prototype);
251
+ t.call(M.prototype);
252
252
  }
253
253
  } else {
254
254
  try {
255
255
  throw Error();
256
- } catch (ot) {
257
- j = ot;
256
+ } catch (oe) {
257
+ k = oe;
258
258
  }
259
- e();
259
+ t();
260
260
  }
261
- } catch (ot) {
262
- if (ot && j && typeof ot.stack == "string") {
263
- for (var R = ot.stack.split(`
264
- `), rt = j.stack.split(`
265
- `), Y = R.length - 1, Z = rt.length - 1; Y >= 1 && Z >= 0 && R[Y] !== rt[Z]; )
261
+ } catch (oe) {
262
+ if (oe && k && typeof oe.stack == "string") {
263
+ for (var N = oe.stack.split(`
264
+ `), re = k.stack.split(`
265
+ `), Y = N.length - 1, Z = re.length - 1; Y >= 1 && Z >= 0 && N[Y] !== re[Z]; )
266
266
  Z--;
267
267
  for (; Y >= 1 && Z >= 0; Y--, Z--)
268
- if (R[Y] !== rt[Z]) {
268
+ if (N[Y] !== re[Z]) {
269
269
  if (Y !== 1 || Z !== 1)
270
270
  do
271
- if (Y--, Z--, Z < 0 || R[Y] !== rt[Z]) {
272
- var pt = `
273
- ` + R[Y].replace(" at new ", " at ");
274
- return e.displayName && pt.includes("<anonymous>") && (pt = pt.replace("<anonymous>", e.displayName)), typeof e == "function" && Rt.set(e, pt), pt;
271
+ if (Y--, Z--, Z < 0 || N[Y] !== re[Z]) {
272
+ var pe = `
273
+ ` + N[Y].replace(" at new ", " at ");
274
+ return t.displayName && pe.includes("<anonymous>") && (pe = pe.replace("<anonymous>", t.displayName)), typeof t == "function" && Re.set(t, pe), pe;
275
275
  }
276
276
  while (Y >= 1 && Z >= 0);
277
277
  break;
278
278
  }
279
279
  }
280
280
  } finally {
281
- Ht = !1, bt.current = D, Et(), Error.prepareStackTrace = B;
281
+ He = !1, be.current = D, Ee(), Error.prepareStackTrace = B;
282
282
  }
283
- var It = e ? e.displayName || e.name : "", kt = It ? jt(It) : "";
284
- return typeof e == "function" && Rt.set(e, kt), kt;
283
+ var Ie = t ? t.displayName || t.name : "", ke = Ie ? je(Ie) : "";
284
+ return typeof t == "function" && Re.set(t, ke), ke;
285
285
  }
286
- function Qt(e, d, b) {
287
- return Vt(e, !1);
286
+ function Qe(t, u, b) {
287
+ return Ve(t, !1);
288
288
  }
289
- function te(e) {
290
- var d = e.prototype;
291
- return !!(d && d.isReactComponent);
289
+ function et(t) {
290
+ var u = t.prototype;
291
+ return !!(u && u.isReactComponent);
292
292
  }
293
- function G(e, d, b) {
294
- if (e == null)
293
+ function G(t, u, b) {
294
+ if (t == null)
295
295
  return "";
296
- if (typeof e == "function")
297
- return Vt(e, te(e));
298
- if (typeof e == "string")
299
- return jt(e);
300
- switch (e) {
296
+ if (typeof t == "function")
297
+ return Ve(t, et(t));
298
+ if (typeof t == "string")
299
+ return je(t);
300
+ switch (t) {
301
301
  case f:
302
- return jt("Suspense");
302
+ return je("Suspense");
303
303
  case p:
304
- return jt("SuspenseList");
304
+ return je("SuspenseList");
305
305
  }
306
- if (typeof e == "object")
307
- switch (e.$$typeof) {
306
+ if (typeof t == "object")
307
+ switch (t.$$typeof) {
308
308
  case _:
309
- return Qt(e.render);
309
+ return Qe(t.render);
310
310
  case h:
311
- return G(e.type, d, b);
311
+ return G(t.type, u, b);
312
312
  case m: {
313
- var j = e, B = j._payload, D = j._init;
313
+ var k = t, B = k._payload, D = k._init;
314
314
  try {
315
- return G(D(B), d, b);
315
+ return G(D(B), u, b);
316
316
  } catch {
317
317
  }
318
318
  }
319
319
  }
320
320
  return "";
321
321
  }
322
- var U = Object.prototype.hasOwnProperty, ht = {}, ge = v.ReactDebugCurrentFrame;
323
- function Xt(e) {
324
- if (e) {
325
- var d = e._owner, b = G(e.type, e._source, d ? d.type : null);
326
- ge.setExtraStackFrame(b);
322
+ var U = Object.prototype.hasOwnProperty, he = {}, gt = w.ReactDebugCurrentFrame;
323
+ function Xe(t) {
324
+ if (t) {
325
+ var u = t._owner, b = G(t.type, t._source, u ? u.type : null);
326
+ gt.setExtraStackFrame(b);
327
327
  } else
328
- ge.setExtraStackFrame(null);
328
+ gt.setExtraStackFrame(null);
329
329
  }
330
- function ar(e, d, b, j, B) {
330
+ function ar(t, u, b, k, B) {
331
331
  {
332
332
  var D = Function.call.bind(U);
333
- for (var M in e)
334
- if (D(e, M)) {
335
- var R = void 0;
333
+ for (var M in t)
334
+ if (D(t, M)) {
335
+ var N = void 0;
336
336
  try {
337
- if (typeof e[M] != "function") {
338
- var rt = Error((j || "React class") + ": " + b + " type `" + M + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[M] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
339
- throw rt.name = "Invariant Violation", rt;
337
+ if (typeof t[M] != "function") {
338
+ var re = Error((k || "React class") + ": " + b + " type `" + M + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[M] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
339
+ throw re.name = "Invariant Violation", re;
340
340
  }
341
- R = e[M](d, M, j, b, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
341
+ N = t[M](u, M, k, b, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
342
342
  } catch (Y) {
343
- R = Y;
343
+ N = Y;
344
344
  }
345
- R && !(R instanceof Error) && (Xt(B), u("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", j || "React class", b, M, typeof R), Xt(null)), R instanceof Error && !(R.message in ht) && (ht[R.message] = !0, Xt(B), u("Failed %s type: %s", b, R.message), Xt(null));
345
+ N && !(N instanceof Error) && (Xe(B), 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).", k || "React class", b, M, typeof N), Xe(null)), N instanceof Error && !(N.message in he) && (he[N.message] = !0, Xe(B), d("Failed %s type: %s", b, N.message), Xe(null));
346
346
  }
347
347
  }
348
348
  }
349
349
  var or = Array.isArray;
350
- function ee(e) {
351
- return or(e);
350
+ function tt(t) {
351
+ return or(t);
352
352
  }
353
- function nr(e) {
353
+ function nr(t) {
354
354
  {
355
- var d = typeof Symbol == "function" && Symbol.toStringTag, b = d && e[Symbol.toStringTag] || e.constructor.name || "Object";
355
+ var u = typeof Symbol == "function" && Symbol.toStringTag, b = u && t[Symbol.toStringTag] || t.constructor.name || "Object";
356
356
  return b;
357
357
  }
358
358
  }
359
- function sr(e) {
359
+ function sr(t) {
360
360
  try {
361
- return be(e), !1;
361
+ return bt(t), !1;
362
362
  } catch {
363
363
  return !0;
364
364
  }
365
365
  }
366
- function be(e) {
367
- return "" + e;
366
+ function bt(t) {
367
+ return "" + t;
368
368
  }
369
- function he(e) {
370
- if (sr(e))
371
- return u("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", nr(e)), be(e);
369
+ function ht(t) {
370
+ if (sr(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.", nr(t)), bt(t);
372
372
  }
373
- var me = v.ReactCurrentOwner, ir = {
373
+ var mt = w.ReactCurrentOwner, ir = {
374
374
  key: !0,
375
375
  ref: !0,
376
376
  __self: !0,
377
377
  __source: !0
378
- }, ye, xe;
379
- function lr(e) {
380
- if (U.call(e, "ref")) {
381
- var d = Object.getOwnPropertyDescriptor(e, "ref").get;
382
- if (d && d.isReactWarning)
378
+ }, yt, xt;
379
+ function lr(t) {
380
+ if (U.call(t, "ref")) {
381
+ var u = Object.getOwnPropertyDescriptor(t, "ref").get;
382
+ if (u && u.isReactWarning)
383
383
  return !1;
384
384
  }
385
- return e.ref !== void 0;
385
+ return t.ref !== void 0;
386
386
  }
387
- function cr(e) {
388
- if (U.call(e, "key")) {
389
- var d = Object.getOwnPropertyDescriptor(e, "key").get;
390
- if (d && d.isReactWarning)
387
+ function cr(t) {
388
+ if (U.call(t, "key")) {
389
+ var u = Object.getOwnPropertyDescriptor(t, "key").get;
390
+ if (u && u.isReactWarning)
391
391
  return !1;
392
392
  }
393
- return e.key !== void 0;
393
+ return t.key !== void 0;
394
394
  }
395
- function dr(e, d) {
396
- typeof e.ref == "string" && me.current;
395
+ function dr(t, u) {
396
+ typeof t.ref == "string" && mt.current;
397
397
  }
398
- function ur(e, d) {
398
+ function ur(t, u) {
399
399
  {
400
400
  var b = function() {
401
- ye || (ye = !0, u("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", d));
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
- b.isReactWarning = !0, Object.defineProperty(e, "key", {
403
+ b.isReactWarning = !0, Object.defineProperty(t, "key", {
404
404
  get: b,
405
405
  configurable: !0
406
406
  });
407
407
  }
408
408
  }
409
- function _r(e, d) {
409
+ function _r(t, u) {
410
410
  {
411
411
  var b = function() {
412
- xe || (xe = !0, u("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", d));
412
+ xt || (xt = !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
- b.isReactWarning = !0, Object.defineProperty(e, "ref", {
414
+ b.isReactWarning = !0, Object.defineProperty(t, "ref", {
415
415
  get: b,
416
416
  configurable: !0
417
417
  });
418
418
  }
419
419
  }
420
- var pr = function(e, d, b, j, B, D, M) {
421
- var R = {
420
+ var pr = function(t, u, b, k, B, D, M) {
421
+ var N = {
422
422
  // This tag allows us to uniquely identify this as a React Element
423
423
  $$typeof: r,
424
424
  // Built-in properties that belong on the element
425
- type: e,
426
- key: d,
425
+ type: t,
426
+ key: u,
427
427
  ref: b,
428
428
  props: M,
429
429
  // Record the component responsible for creating this element.
430
430
  _owner: D
431
431
  };
432
- return R._store = {}, Object.defineProperty(R._store, "validated", {
432
+ return N._store = {}, Object.defineProperty(N._store, "validated", {
433
433
  configurable: !1,
434
434
  enumerable: !1,
435
435
  writable: !0,
436
436
  value: !1
437
- }), Object.defineProperty(R, "_self", {
437
+ }), Object.defineProperty(N, "_self", {
438
438
  configurable: !1,
439
439
  enumerable: !1,
440
440
  writable: !1,
441
- value: j
442
- }), Object.defineProperty(R, "_source", {
441
+ value: k
442
+ }), Object.defineProperty(N, "_source", {
443
443
  configurable: !1,
444
444
  enumerable: !1,
445
445
  writable: !1,
446
446
  value: B
447
- }), Object.freeze && (Object.freeze(R.props), Object.freeze(R)), R;
447
+ }), Object.freeze && (Object.freeze(N.props), Object.freeze(N)), N;
448
448
  };
449
- function fr(e, d, b, j, B) {
449
+ function fr(t, u, b, k, B) {
450
450
  {
451
- var D, M = {}, R = null, rt = null;
452
- b !== void 0 && (he(b), R = "" + b), cr(d) && (he(d.key), R = "" + d.key), lr(d) && (rt = d.ref, dr(d, B));
453
- for (D in d)
454
- U.call(d, D) && !ir.hasOwnProperty(D) && (M[D] = d[D]);
455
- if (e && e.defaultProps) {
456
- var Y = e.defaultProps;
451
+ var D, M = {}, N = null, re = null;
452
+ b !== void 0 && (ht(b), N = "" + b), cr(u) && (ht(u.key), N = "" + u.key), lr(u) && (re = u.ref, dr(u, B));
453
+ for (D in u)
454
+ U.call(u, D) && !ir.hasOwnProperty(D) && (M[D] = u[D]);
455
+ if (t && t.defaultProps) {
456
+ var Y = t.defaultProps;
457
457
  for (D in Y)
458
458
  M[D] === void 0 && (M[D] = Y[D]);
459
459
  }
460
- if (R || rt) {
461
- var Z = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
462
- R && ur(M, Z), rt && _r(M, Z);
460
+ if (N || re) {
461
+ var Z = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
462
+ N && ur(M, Z), re && _r(M, Z);
463
463
  }
464
- return pr(e, R, rt, B, j, me.current, M);
464
+ return pr(t, N, re, B, k, mt.current, M);
465
465
  }
466
466
  }
467
- var re = v.ReactCurrentOwner, ve = v.ReactDebugCurrentFrame;
468
- function Nt(e) {
469
- if (e) {
470
- var d = e._owner, b = G(e.type, e._source, d ? d.type : null);
471
- ve.setExtraStackFrame(b);
467
+ var rt = w.ReactCurrentOwner, vt = w.ReactDebugCurrentFrame;
468
+ function Ne(t) {
469
+ if (t) {
470
+ var u = t._owner, b = G(t.type, t._source, u ? u.type : null);
471
+ vt.setExtraStackFrame(b);
472
472
  } else
473
- ve.setExtraStackFrame(null);
473
+ vt.setExtraStackFrame(null);
474
474
  }
475
- var ae;
476
- ae = !1;
477
- function oe(e) {
478
- return typeof e == "object" && e !== null && e.$$typeof === r;
475
+ var at;
476
+ at = !1;
477
+ function ot(t) {
478
+ return typeof t == "object" && t !== null && t.$$typeof === r;
479
479
  }
480
- function we() {
480
+ function wt() {
481
481
  {
482
- if (re.current) {
483
- var e = S(re.current.type);
484
- if (e)
482
+ if (rt.current) {
483
+ var t = S(rt.current.type);
484
+ if (t)
485
485
  return `
486
486
 
487
- Check the render method of \`` + e + "`.";
487
+ Check the render method of \`` + t + "`.";
488
488
  }
489
489
  return "";
490
490
  }
491
491
  }
492
- function gr(e) {
492
+ function gr(t) {
493
493
  return "";
494
494
  }
495
- var Ce = {};
496
- function br(e) {
495
+ var Ct = {};
496
+ function br(t) {
497
497
  {
498
- var d = we();
499
- if (!d) {
500
- var b = typeof e == "string" ? e : e.displayName || e.name;
501
- b && (d = `
498
+ var u = wt();
499
+ if (!u) {
500
+ var b = typeof t == "string" ? t : t.displayName || t.name;
501
+ b && (u = `
502
502
 
503
503
  Check the top-level render call using <` + b + ">.");
504
504
  }
505
- return d;
505
+ return u;
506
506
  }
507
507
  }
508
- function Se(e, d) {
508
+ function St(t, u) {
509
509
  {
510
- if (!e._store || e._store.validated || e.key != null)
510
+ if (!t._store || t._store.validated || t.key != null)
511
511
  return;
512
- e._store.validated = !0;
513
- var b = br(d);
514
- if (Ce[b])
512
+ t._store.validated = !0;
513
+ var b = br(u);
514
+ if (Ct[b])
515
515
  return;
516
- Ce[b] = !0;
517
- var j = "";
518
- e && e._owner && e._owner !== re.current && (j = " It was passed a child from " + S(e._owner.type) + "."), Nt(e), u('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', b, j), Nt(null);
516
+ Ct[b] = !0;
517
+ var k = "";
518
+ t && t._owner && t._owner !== rt.current && (k = " It was passed a child from " + S(t._owner.type) + "."), Ne(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.', b, k), Ne(null);
519
519
  }
520
520
  }
521
- function Le(e, d) {
521
+ function Lt(t, u) {
522
522
  {
523
- if (typeof e != "object")
523
+ if (typeof t != "object")
524
524
  return;
525
- if (ee(e))
526
- for (var b = 0; b < e.length; b++) {
527
- var j = e[b];
528
- oe(j) && Se(j, d);
525
+ if (tt(t))
526
+ for (var b = 0; b < t.length; b++) {
527
+ var k = t[b];
528
+ ot(k) && St(k, u);
529
529
  }
530
- else if (oe(e))
531
- e._store && (e._store.validated = !0);
532
- else if (e) {
533
- var B = x(e);
534
- if (typeof B == "function" && B !== e.entries)
535
- for (var D = B.call(e), M; !(M = D.next()).done; )
536
- oe(M.value) && Se(M.value, d);
530
+ else if (ot(t))
531
+ t._store && (t._store.validated = !0);
532
+ else if (t) {
533
+ var B = x(t);
534
+ if (typeof B == "function" && B !== t.entries)
535
+ for (var D = B.call(t), M; !(M = D.next()).done; )
536
+ ot(M.value) && St(M.value, u);
537
537
  }
538
538
  }
539
539
  }
540
- function hr(e) {
540
+ function hr(t) {
541
541
  {
542
- var d = e.type;
543
- if (d == null || typeof d == "string")
542
+ var u = t.type;
543
+ if (u == null || typeof u == "string")
544
544
  return;
545
545
  var b;
546
- if (typeof d == "function")
547
- b = d.propTypes;
548
- else if (typeof d == "object" && (d.$$typeof === _ || // Note: Memo only checks outer props here.
546
+ if (typeof u == "function")
547
+ b = u.propTypes;
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
- d.$$typeof === h))
551
- b = d.propTypes;
550
+ u.$$typeof === h))
551
+ b = u.propTypes;
552
552
  else
553
553
  return;
554
554
  if (b) {
555
- var j = S(d);
556
- ar(b, e.props, "prop", j, e);
557
- } else if (d.PropTypes !== void 0 && !ae) {
558
- ae = !0;
559
- var B = S(d);
560
- u("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", B || "Unknown");
555
+ var k = S(u);
556
+ ar(b, t.props, "prop", k, t);
557
+ } else if (u.PropTypes !== void 0 && !at) {
558
+ at = !0;
559
+ var B = S(u);
560
+ d("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", B || "Unknown");
561
561
  }
562
- typeof d.getDefaultProps == "function" && !d.getDefaultProps.isReactClassApproved && u("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
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 mr(e) {
565
+ function mr(t) {
566
566
  {
567
- for (var d = Object.keys(e.props), b = 0; b < d.length; b++) {
568
- var j = d[b];
569
- if (j !== "children" && j !== "key") {
570
- Nt(e), u("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", j), Nt(null);
567
+ for (var u = Object.keys(t.props), b = 0; b < u.length; b++) {
568
+ var k = u[b];
569
+ if (k !== "children" && k !== "key") {
570
+ Ne(t), d("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", k), Ne(null);
571
571
  break;
572
572
  }
573
573
  }
574
- e.ref !== null && (Nt(e), u("Invalid attribute `ref` supplied to `React.Fragment`."), Nt(null));
574
+ t.ref !== null && (Ne(t), d("Invalid attribute `ref` supplied to `React.Fragment`."), Ne(null));
575
575
  }
576
576
  }
577
- var je = {};
578
- function ke(e, d, b, j, B, D) {
577
+ var jt = {};
578
+ function kt(t, u, b, k, B, D) {
579
579
  {
580
- var M = W(e);
580
+ var M = W(t);
581
581
  if (!M) {
582
- var R = "";
583
- (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (R += " 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 rt = gr();
585
- rt ? R += rt : R += we();
582
+ var N = "";
583
+ (t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (N += " 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 re = gr();
585
+ re ? N += re : N += wt();
586
586
  var Y;
587
- e === null ? Y = "null" : ee(e) ? Y = "array" : e !== void 0 && e.$$typeof === r ? (Y = "<" + (S(e.type) || "Unknown") + " />", R = " Did you accidentally export a JSX literal instead of a component?") : Y = typeof e, u("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Y, R);
587
+ t === null ? Y = "null" : tt(t) ? Y = "array" : t !== void 0 && t.$$typeof === r ? (Y = "<" + (S(t.type) || "Unknown") + " />", N = " Did you accidentally export a JSX literal instead of a component?") : Y = 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", Y, N);
588
588
  }
589
- var Z = fr(e, d, b, B, D);
589
+ var Z = fr(t, u, b, B, D);
590
590
  if (Z == null)
591
591
  return Z;
592
592
  if (M) {
593
- var pt = d.children;
594
- if (pt !== void 0)
595
- if (j)
596
- if (ee(pt)) {
597
- for (var It = 0; It < pt.length; It++)
598
- Le(pt[It], e);
599
- Object.freeze && Object.freeze(pt);
593
+ var pe = u.children;
594
+ if (pe !== void 0)
595
+ if (k)
596
+ if (tt(pe)) {
597
+ for (var Ie = 0; Ie < pe.length; Ie++)
598
+ Lt(pe[Ie], t);
599
+ Object.freeze && Object.freeze(pe);
600
600
  } else
601
- u("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
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
- Le(pt, e);
603
+ Lt(pe, t);
604
604
  }
605
- if (U.call(d, "key")) {
606
- var kt = S(e), ot = Object.keys(d).filter(function(Sr) {
605
+ if (U.call(u, "key")) {
606
+ var ke = S(t), oe = Object.keys(u).filter(function(Sr) {
607
607
  return Sr !== "key";
608
- }), ne = ot.length > 0 ? "{key: someKey, " + ot.join(": ..., ") + ": ...}" : "{key: someKey}";
609
- if (!je[kt + ne]) {
610
- var Cr = ot.length > 0 ? "{" + ot.join(": ..., ") + ": ...}" : "{}";
611
- u(`A props object containing a "key" prop is being spread into JSX:
608
+ }), nt = oe.length > 0 ? "{key: someKey, " + oe.join(": ..., ") + ": ...}" : "{key: someKey}";
609
+ if (!jt[ke + nt]) {
610
+ var Cr = oe.length > 0 ? "{" + oe.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} />`, ne, kt, Cr, kt), je[kt + ne] = !0;
616
+ <%s key={someKey} {...props} />`, nt, ke, Cr, ke), jt[ke + nt] = !0;
617
617
  }
618
618
  }
619
- return e === o ? mr(Z) : hr(Z), Z;
619
+ return t === o ? mr(Z) : hr(Z), Z;
620
620
  }
621
621
  }
622
- function yr(e, d, b) {
623
- return ke(e, d, b, !0);
622
+ function yr(t, u, b) {
623
+ return kt(t, u, b, !0);
624
624
  }
625
- function xr(e, d, b) {
626
- return ke(e, d, b, !1);
625
+ function xr(t, u, b) {
626
+ return kt(t, u, b, !1);
627
627
  }
628
628
  var vr = xr, wr = yr;
629
- Wt.Fragment = o, Wt.jsx = vr, Wt.jsxs = wr;
630
- }()), Wt;
629
+ We.Fragment = o, We.jsx = vr, We.jsxs = wr;
630
+ }()), We;
631
631
  }
632
- var Te;
632
+ var Tt;
633
633
  function Nr() {
634
- return Te || (Te = 1, process.env.NODE_ENV === "production" ? Yt.exports = Tr() : Yt.exports = Rr()), Yt.exports;
634
+ return Tt || (Tt = 1, process.env.NODE_ENV === "production" ? Ye.exports = Tr() : Ye.exports = Rr()), Ye.exports;
635
635
  }
636
636
  var n = Nr();
637
- const Ir = (t) => t.as === "a", Mr = (t) => t.as === void 0 || t.as === "button", Mt = (t) => t.displayAs === void 0 || t.displayAs === "button", se = (t) => t.displayAs === "link", Or = "_button_6bymk_1", Ar = "_link_6bymk_17", Pr = "_disabled_6bymk_22", Br = "_loading_6bymk_22", zr = "_neutral_6bymk_50", Dr = "_accent_6bymk_54", Wr = "_positive_6bymk_58", Fr = "_negative_6bymk_62", qr = "_contrast_6bymk_66", Hr = "_special_6bymk_70", Vr = "_primary_6bymk_74", Xr = "_secondary_6bymk_75", Yr = "_tertiary_6bymk_76", Zr = "_spaceBetween_6bymk_116", Gr = "_rightGroup_6bymk_116", Ur = "_label_6bymk_136", Jr = "_iconOnly_6bymk_155", Kr = "_stretched_6bymk_171", Qr = "_icon_6bymk_155", ta = "_postfix_6bymk_176", ea = "_underline_6bymk_202", ra = "_warning_6bymk_1082", aa = "_withSubcaption_6bymk_1268", oa = "_subcaption_6bymk_1273", na = "_loader_6bymk_1279", sa = "_spin_6bymk_1", ia = "_l_6bymk_17", la = "_m_6bymk_1318", ca = "_s_6bymk_70", da = "_xs_6bymk_1364", ua = "_iconRight_6bymk_1410", V = {
637
+ const Ir = (e) => e.as === "a", Mr = (e) => e.as === void 0 || e.as === "button", Me = (e) => e.displayAs === void 0 || e.displayAs === "button", st = (e) => e.displayAs === "link", Or = "_button_6bymk_1", Ar = "_link_6bymk_17", Pr = "_disabled_6bymk_22", Br = "_loading_6bymk_22", zr = "_neutral_6bymk_50", Dr = "_accent_6bymk_54", Wr = "_positive_6bymk_58", Fr = "_negative_6bymk_62", qr = "_contrast_6bymk_66", Hr = "_special_6bymk_70", Vr = "_primary_6bymk_74", Xr = "_secondary_6bymk_75", Yr = "_tertiary_6bymk_76", Zr = "_spaceBetween_6bymk_116", Gr = "_rightGroup_6bymk_116", Ur = "_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", oa = "_subcaption_6bymk_1273", na = "_loader_6bymk_1279", sa = "_spin_6bymk_1", ia = "_l_6bymk_17", la = "_m_6bymk_1318", ca = "_s_6bymk_70", da = "_xs_6bymk_1364", ua = "_iconRight_6bymk_1410", V = {
638
638
  button: Or,
639
639
  link: Ar,
640
640
  disabled: Pr,
@@ -654,8 +654,8 @@ const Ir = (t) => t.as === "a", Mr = (t) => t.as === void 0 || t.as === "button"
654
654
  iconOnly: Jr,
655
655
  stretched: Kr,
656
656
  icon: Qr,
657
- postfix: ta,
658
- underline: ea,
657
+ postfix: ea,
658
+ underline: ta,
659
659
  warning: ra,
660
660
  withSubcaption: aa,
661
661
  subcaption: oa,
@@ -683,20 +683,20 @@ const Ir = (t) => t.as === "a", Mr = (t) => t.as === void 0 || t.as === "button"
683
683
  "as",
684
684
  "showUnderline",
685
685
  "isExternal"
686
- ]), Re = (t) => {
686
+ ]), Rt = (e) => {
687
687
  const r = {};
688
- for (const a in t)
689
- _a.has(a) || (r[a] = t[a]);
688
+ for (const a in e)
689
+ _a.has(a) || (r[a] = e[a]);
690
690
  return r;
691
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 fa(t) {
697
- return pa[t] || "typography-label-2-regular";
696
+ function fa(e) {
697
+ return pa[e] || "typography-label-2-regular";
698
698
  }
699
- const it = {
699
+ const ie = {
700
700
  "typography-title-1-semibold": "_typography-title-1-semibold_1lyxn_1",
701
701
  "typography-title-2-semibold": "_typography-title-2-semibold_1lyxn_10",
702
702
  "typography-title-3-semibold": "_typography-title-3-semibold_1lyxn_19",
@@ -720,8 +720,8 @@ const it = {
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
- }, Ne = ({
724
- isLoading: t,
723
+ }, Nt = ({
724
+ isLoading: e,
725
725
  iconRight: r,
726
726
  iconLeft: a,
727
727
  children: o,
@@ -730,15 +730,15 @@ const it = {
730
730
  size: l,
731
731
  isAsButton: c
732
732
  }) => {
733
- if (t && c)
733
+ if (e && c)
734
734
  return /* @__PURE__ */ n.jsx("span", { className: V.loader, "data-testid": "button-loader", "aria-hidden": "true" });
735
735
  const _ = r && c || r && !c && l, f = s && c && l !== "s" && l !== "xs";
736
- return /* @__PURE__ */ n.jsxs(Pt, { children: [
737
- f && /* @__PURE__ */ n.jsxs(Pt, { children: [
736
+ return /* @__PURE__ */ n.jsxs(Pe, { children: [
737
+ f && /* @__PURE__ */ n.jsxs(Pe, { children: [
738
738
  /* @__PURE__ */ n.jsx("span", { "data-testid": "button-label", className: V.label, children: o }),
739
739
  /* @__PURE__ */ n.jsx("span", { "data-testid": "button-subcaption", className: V.subcaption, children: s })
740
740
  ] }),
741
- !f && o && /* @__PURE__ */ n.jsxs(Pt, { children: [
741
+ !f && o && /* @__PURE__ */ n.jsxs(Pe, { children: [
742
742
  /* @__PURE__ */ n.jsxs("span", { "data-testid": "button-label", className: V.label, children: [
743
743
  !c && a && /* @__PURE__ */ n.jsx("span", { "data-testid": "button-left-icon", className: V.icon, children: a }),
744
744
  o,
@@ -751,79 +751,79 @@ const it = {
751
751
  ] }),
752
752
  !f && !o && /* @__PURE__ */ n.jsx("span", { "data-testid": "button-icon", className: V.icon, children: r })
753
753
  ] });
754
- }, ga = K((t, r) => {
754
+ }, ga = K((e, r) => {
755
755
  const {
756
756
  mode: a = "primary",
757
757
  size: o = "m",
758
- buttonStyle: i = Mt(t) ? "neutral" : "accent",
758
+ buttonStyle: i = Me(e) ? "neutral" : "accent",
759
759
  disabled: s = !1,
760
760
  displayAs: l = "button",
761
761
  iconRight: c,
762
762
  className: _,
763
763
  children: f,
764
764
  tabIndex: p
765
- } = t, h = Mt(t) ? t.subcaption : void 0, m = Mt(t) ? t.postfix : void 0, g = Mt(t) ? t.stretched : void 0, y = !(se(t) && t.size === void 0), C = se(t) && y ? t.iconLeft : void 0, x = !!(l === "button" && "loading" in t && t.loading), v = Mt(t) ? s : s || x, u = !v && !x, w = y ? c : void 0, L = !!(w && !f), E = typeof g == "object" ? g.justify === "space-between" : void 0, k = se(t) ? fa(t.size ?? "m") : void 0, T = k ? it[k] : void 0, O = v || x ? -1 : p, A = $(
765
+ } = e, h = Me(e) ? e.subcaption : void 0, m = Me(e) ? e.postfix : void 0, g = Me(e) ? e.stretched : void 0, y = !(st(e) && e.size === void 0), C = st(e) && y ? e.iconLeft : void 0, x = !!(l === "button" && "loading" in e && e.loading), w = Me(e) ? s : s || x, d = !w && !x, v = y ? c : void 0, L = !!(v && !f), T = typeof g == "object" ? g.justify === "space-between" : void 0, j = st(e) ? fa(e.size ?? "m") : void 0, R = j ? ie[j] : void 0, E = w || x ? -1 : p, A = $(
766
766
  V.button,
767
767
  V[o],
768
768
  V[a],
769
769
  V[i],
770
- T,
770
+ R,
771
771
  {
772
- [V.disabled]: v,
773
- [V.loading]: l === "button" && "loading" in t && t.loading,
772
+ [V.disabled]: w,
773
+ [V.loading]: l === "button" && "loading" in e && e.loading,
774
774
  [V.stretched]: g,
775
- [V.spaceBetween]: E,
775
+ [V.spaceBetween]: T,
776
776
  [V.withSubcaption]: h && o !== "s" && o !== "xs",
777
777
  [V.iconOnly]: L,
778
778
  [V.link]: l === "link",
779
- [V.underline]: l === "link" && "showUnderline" in t && t.showUnderline
779
+ [V.underline]: l === "link" && "showUnderline" in e && e.showUnderline
780
780
  },
781
781
  _
782
782
  ), W = {
783
783
  isLoading: x,
784
- iconRight: w,
784
+ iconRight: v,
785
785
  iconLeft: C,
786
786
  children: f,
787
787
  postfix: m,
788
788
  subcaption: h,
789
789
  size: o,
790
- isAsButton: Mt(t)
790
+ isAsButton: Me(e)
791
791
  };
792
- if (Ir(t)) {
793
- const { href: q, onClick: P, style: S, target: I, rel: z, "data-testid": F, ...X } = t, Q = Re(X), ct = I ?? (t.isExternal ? "_blank" : void 0);
794
- let at = z;
795
- if (ct === "_blank") {
796
- const et = new Set((z ?? "").split(/\s+/).filter(Boolean));
797
- et.add("noopener").add("noreferrer"), at = Array.from(et).join(" ");
798
- }
799
- const tt = (et) => {
800
- if (!u) {
801
- et.preventDefault();
792
+ if (Ir(e)) {
793
+ const { href: q, onClick: P, style: S, target: O, rel: z, "data-testid": F, ...X } = e, Q = Rt(X), ce = O ?? (e.isExternal ? "_blank" : void 0);
794
+ let ae = z;
795
+ if (ce === "_blank") {
796
+ const te = new Set((z ?? "").split(/\s+/).filter(Boolean));
797
+ te.add("noopener").add("noreferrer"), ae = Array.from(te).join(" ");
798
+ }
799
+ const ee = (te) => {
800
+ if (!d) {
801
+ te.preventDefault();
802
802
  return;
803
803
  }
804
- P == null || P(et);
804
+ P == null || P(te);
805
805
  };
806
806
  return /* @__PURE__ */ n.jsx(
807
807
  "a",
808
808
  {
809
809
  ref: r,
810
810
  className: A,
811
- href: u ? q : void 0,
812
- tabIndex: O,
813
- onClick: tt,
811
+ href: d ? q : void 0,
812
+ tabIndex: E,
813
+ onClick: ee,
814
814
  "data-testid": F,
815
- "aria-disabled": v || x,
815
+ "aria-disabled": w || x,
816
816
  style: S,
817
- target: ct,
818
- rel: at,
817
+ target: ce,
818
+ rel: ae,
819
819
  ...Q,
820
- children: /* @__PURE__ */ n.jsx(Ne, { ...W })
820
+ children: /* @__PURE__ */ n.jsx(Nt, { ...W })
821
821
  }
822
822
  );
823
823
  }
824
- if (Mr(t)) {
825
- const { type: q = "button", onClick: P, style: S, "data-testid": I, ...z } = t, F = Re(z), X = (Q) => {
826
- u && P && P(Q);
824
+ if (Mr(e)) {
825
+ const { type: q = "button", onClick: P, style: S, "data-testid": O, ...z } = e, F = Rt(z), X = (Q) => {
826
+ d && P && P(Q);
827
827
  };
828
828
  return /* @__PURE__ */ n.jsx(
829
829
  "button",
@@ -831,28 +831,28 @@ const it = {
831
831
  ref: r,
832
832
  type: q,
833
833
  className: A,
834
- disabled: v,
835
- tabIndex: O,
834
+ disabled: w,
835
+ tabIndex: E,
836
836
  onClick: X,
837
- "data-testid": I,
838
- "aria-disabled": v || x,
837
+ "data-testid": O,
838
+ "aria-disabled": w || x,
839
839
  style: S,
840
840
  ...F,
841
- children: /* @__PURE__ */ n.jsx(Ne, { ...W })
841
+ children: /* @__PURE__ */ n.jsx(Nt, { ...W })
842
842
  }
843
843
  );
844
844
  }
845
845
  return null;
846
846
  });
847
- var ie = { exports: {} };
847
+ var it = { exports: {} };
848
848
  /*!
849
849
  Copyright (c) 2018 Jed Watson.
850
850
  Licensed under the MIT License (MIT), see
851
851
  http://jedwatson.github.io/classnames
852
852
  */
853
- var Ie;
853
+ var It;
854
854
  function ba() {
855
- return Ie || (Ie = 1, function(t) {
855
+ return It || (It = 1, function(e) {
856
856
  (function() {
857
857
  var r = {}.hasOwnProperty;
858
858
  function a() {
@@ -879,12 +879,12 @@ function ba() {
879
879
  function i(s, l) {
880
880
  return l ? s ? s + " " + l : s + l : s;
881
881
  }
882
- t.exports ? (a.default = a, t.exports = a) : window.classNames = a;
882
+ e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
883
883
  })();
884
- }(ie)), ie.exports;
884
+ }(it)), it.exports;
885
885
  }
886
886
  var ha = ba();
887
- const Lt = /* @__PURE__ */ Er(ha), ma = "_avatar_19ug4_18", ya = "_clickable_19ug4_40", xa = "_icon_19ug4_57", va = "_disabled_19ug4_62", wa = "_loading_19ug4_67", Ca = "_image_19ug4_73", Sa = "_name_19ug4_73", yt = {
887
+ const Le = /* @__PURE__ */ Er(ha), ma = "_avatar_19ug4_18", ya = "_clickable_19ug4_40", xa = "_icon_19ug4_57", va = "_disabled_19ug4_62", wa = "_loading_19ug4_67", Ca = "_image_19ug4_73", Sa = "_name_19ug4_73", ye = {
888
888
  avatar: ma,
889
889
  clickable: ya,
890
890
  icon: xa,
@@ -905,12 +905,12 @@ const Lt = /* @__PURE__ */ Er(ha), ma = "_avatar_19ug4_18", ya = "_clickable_19u
905
905
  "color-contrast": "_color-contrast_19ug4_166",
906
906
  "variant-light": "_variant-light_19ug4_172",
907
907
  "variant-outline": "_variant-outline_19ug4_244"
908
- }, Me = 99;
909
- function La(t) {
910
- return t < Me ? `+${t}` : `${Me}+`;
908
+ }, Mt = 99;
909
+ function La(e) {
910
+ return e < Mt ? `+${e}` : `${Mt}+`;
911
911
  }
912
- function Jt(t) {
913
- const r = typeof t == "string" ? t : JSON.stringify(t);
912
+ function Je(e) {
913
+ const r = typeof e == "string" ? e : JSON.stringify(e);
914
914
  let a = 5381;
915
915
  for (let o = 0; o < r.length; o++) {
916
916
  const i = r.charCodeAt(o);
@@ -918,7 +918,7 @@ function Jt(t) {
918
918
  }
919
919
  return a >>> 0;
920
920
  }
921
- const ja = (t, r, a) => Math.min(Math.max(t, r), a), ka = [
921
+ const ja = (e, r, a) => Math.min(Math.max(e, r), a), ka = [
922
922
  "red",
923
923
  "orange",
924
924
  "yellow",
@@ -927,16 +927,16 @@ const ja = (t, r, a) => Math.min(Math.max(t, r), a), ka = [
927
927
  "lightblue",
928
928
  "purple"
929
929
  ];
930
- function $a(t, r = ka) {
931
- if (!t) return "gray";
932
- const a = Jt(t), o = Math.abs(a) % r.length;
930
+ function $a(e, r = ka) {
931
+ if (!e) return "gray";
932
+ const a = Je(e), o = Math.abs(a) % r.length;
933
933
  return r[o];
934
934
  }
935
- const Oe = 2;
936
- function Ea(t) {
937
- if (!t) return "";
938
- const r = t.trim().split(/\s+/);
939
- return r.length === 1 ? t.slice(0, Oe).toUpperCase() : r.map((a) => a[0]).slice(0, Oe).join("").toUpperCase();
935
+ const Ot = 2;
936
+ function Ea(e) {
937
+ if (!e) return "";
938
+ const r = e.trim().split(/\s+/);
939
+ return r.length === 1 ? e.slice(0, Ot).toUpperCase() : r.map((a) => a[0]).slice(0, Ot).join("").toUpperCase();
940
940
  }
941
941
  const Ta = {
942
942
  24: 8,
@@ -949,8 +949,8 @@ const Ta = {
949
949
  96: 24,
950
950
  208: 8
951
951
  };
952
- function Ra(t, r) {
953
- return r === "circle" ? t / 2 : Ta[t] || 12;
952
+ function Ra(e, r) {
953
+ return r === "circle" ? e / 2 : Ta[e] || 12;
954
954
  }
955
955
  const Na = {
956
956
  24: "typography-subtitle-4-semibold",
@@ -963,15 +963,15 @@ const Na = {
963
963
  96: "typography-title-3-semibold",
964
964
  208: "typography-title-1-semibold"
965
965
  };
966
- function Ia(t) {
967
- return Na[t] || "typography-subtitle-1-semibold";
966
+ function Ia(e) {
967
+ return Na[e] || "typography-subtitle-1-semibold";
968
968
  }
969
969
  const Ma = "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", Oa = "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", Pa = "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", Ba = {
970
970
  male: Ma,
971
971
  female: Oa,
972
972
  org: Pa,
973
973
  neutral: Aa
974
- }, Gt = K((t, r) => {
974
+ }, Ge = K((e, r) => {
975
975
  const {
976
976
  style: a,
977
977
  size: o = 40,
@@ -988,34 +988,34 @@ const Ma = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
988
988
  colorScheme: y,
989
989
  className: C,
990
990
  "data-testid": x,
991
- ...v
992
- } = t, { onClick: u, onPointerDown: w } = v, E = !s && !i && (!!u || !!w), [k, T] = _t(!1);
993
- lt(() => {
994
- p && T(!1);
991
+ ...w
992
+ } = e, { onClick: d, onPointerDown: v } = w, T = !s && !i && (!!d || !!v), [j, R] = _e(!1);
993
+ le(() => {
994
+ p && R(!1);
995
995
  }, [p]);
996
- const O = p && !k ? "image" : m ? "icon" : f ? "name" : "placeholder", A = y || O === "name" && $a(f) || "gray", W = Ia(o), q = Ra(o, l), P = $(
996
+ const E = p && !j ? "image" : m ? "icon" : f ? "name" : "placeholder", A = y || E === "name" && $a(f) || "gray", W = Ia(o), q = Ra(o, l), P = $(
997
997
  C,
998
- yt.avatar,
999
- yt[`variant-${c}`],
1000
- yt[`color-${A}`],
1001
- it[W],
998
+ ye.avatar,
999
+ ye[`variant-${c}`],
1000
+ ye[`color-${A}`],
1001
+ ie[W],
1002
1002
  {
1003
- [yt.disabled]: s,
1004
- [yt.loading]: i,
1005
- [yt.clickable]: E
1003
+ [ye.disabled]: s,
1004
+ [ye.loading]: i,
1005
+ [ye.clickable]: T
1006
1006
  }
1007
1007
  ), S = {
1008
1008
  "--avatar-size": `${o}px`,
1009
1009
  "--avatar-border-radius": `${q}px`,
1010
1010
  ...a
1011
- }, I = {
1012
- icon: () => /* @__PURE__ */ n.jsx("span", { "data-testid": "avatar-icon", title: h || void 0, role: "img", className: yt.icon, children: m == null ? void 0 : m({}) }),
1011
+ }, O = {
1012
+ icon: () => /* @__PURE__ */ n.jsx("span", { "data-testid": "avatar-icon", title: h || void 0, role: "img", className: ye.icon, children: m == null ? void 0 : m({}) }),
1013
1013
  name: () => /* @__PURE__ */ n.jsx(
1014
1014
  "span",
1015
1015
  {
1016
1016
  role: "textbox",
1017
1017
  "data-testid": "avatar-name",
1018
- className: yt.name,
1018
+ className: ye.name,
1019
1019
  title: h || void 0,
1020
1020
  children: Ea(f || "")
1021
1021
  }
@@ -1025,7 +1025,7 @@ const Ma = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
1025
1025
  {
1026
1026
  ...g,
1027
1027
  "data-testid": "avatar-placeholder",
1028
- className: yt.image,
1028
+ className: ye.image,
1029
1029
  src: Ba[_],
1030
1030
  alt: h || void 0
1031
1031
  }
@@ -1035,18 +1035,18 @@ const Ma = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
1035
1035
  {
1036
1036
  "data-testid": "avatar-image",
1037
1037
  ...g,
1038
- className: yt.image,
1038
+ className: ye.image,
1039
1039
  src: p || void 0,
1040
1040
  alt: h || void 0,
1041
- onLoad: () => T(!1),
1041
+ onLoad: () => R(!1),
1042
1042
  onError: (F) => {
1043
1043
  var X;
1044
- T(!0), (X = g == null ? void 0 : g.onError) == null || X.call(g, F);
1044
+ R(!0), (X = g == null ? void 0 : g.onError) == null || X.call(g, F);
1045
1045
  }
1046
1046
  }
1047
1047
  )
1048
1048
  }, z = (F) => {
1049
- E && (u == null || u(F));
1049
+ T && (d == null || d(F));
1050
1050
  };
1051
1051
  return /* @__PURE__ */ n.jsx(
1052
1052
  "div",
@@ -1057,49 +1057,49 @@ const Ma = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
1057
1057
  style: S,
1058
1058
  "data-testid": x,
1059
1059
  "aria-disabled": s || i,
1060
- children: I[O](null)
1060
+ children: O[E](null)
1061
1061
  }
1062
1062
  );
1063
1063
  }), za = "_avatarGroup_157g4_1", Da = {
1064
1064
  avatarGroup: za
1065
- }, Wa = (t) => t === "rgba(0, 0, 0, 0)" || t === "transparent" || t.startsWith("rgba") && t.endsWith(", 0)"), Fa = (t) => {
1066
- if (!t) return null;
1067
- let r = t;
1065
+ }, Wa = (e) => e === "rgba(0, 0, 0, 0)" || e === "transparent" || e.startsWith("rgba") && e.endsWith(", 0)"), Fa = (e) => {
1066
+ if (!e) return null;
1067
+ let r = e;
1068
1068
  for (; r; ) {
1069
1069
  const o = window.getComputedStyle(r).backgroundColor;
1070
1070
  if (!Wa(o)) return o;
1071
1071
  r = r.parentElement;
1072
1072
  }
1073
1073
  return null;
1074
- }, fe = () => {
1075
- const t = qt(null), [r, a] = _t(null);
1076
- return lt(() => {
1077
- if (t.current) {
1078
- const o = Fa(t.current);
1074
+ }, ft = () => {
1075
+ const e = qe(null), [r, a] = _e(null);
1076
+ return le(() => {
1077
+ if (e.current) {
1078
+ const o = Fa(e.current);
1079
1079
  a(o);
1080
1080
  }
1081
- }, []), { ref: t, bgColor: r };
1081
+ }, []), { ref: e, bgColor: r };
1082
1082
  };
1083
- function Ae(t, r, a) {
1084
- lt(() => (window.addEventListener(t, r, a), () => window.removeEventListener(t, r, a)), [t, r]);
1083
+ function At(e, r, a) {
1084
+ le(() => (window.addEventListener(e, r, a), () => window.removeEventListener(e, r, a)), [e, r]);
1085
1085
  }
1086
- const Pe = {
1086
+ const Pt = {
1087
1087
  passive: !0
1088
1088
  };
1089
1089
  function qa() {
1090
- const [t, r] = _t({
1090
+ const [e, r] = _e({
1091
1091
  width: 0,
1092
1092
  height: 0
1093
- }), a = St(() => {
1093
+ }), a = Se(() => {
1094
1094
  r({ width: window.innerWidth || 0, height: window.innerHeight || 0 });
1095
1095
  }, []);
1096
- return Ae("resize", a, Pe), Ae("orientationchange", a, Pe), lt(a, []), t;
1096
+ return At("resize", a, Pt), At("orientationchange", a, Pt), le(a, []), e;
1097
1097
  }
1098
- function Ha(t = 768) {
1098
+ function Ha(e = 768) {
1099
1099
  const { width: r } = qa();
1100
- return Lr(() => r <= t, [r, t]);
1100
+ return Lr(() => r <= e, [r, e]);
1101
1101
  }
1102
- const Va = 2, Xa = (t) => {
1102
+ const Va = 2, Xa = (e) => {
1103
1103
  const {
1104
1104
  avatars: r = [],
1105
1105
  size: a = 40,
@@ -1108,22 +1108,22 @@ const Va = 2, Xa = (t) => {
1108
1108
  overflowCount: s = 0,
1109
1109
  overflowProps: l,
1110
1110
  cutoutBackground: c
1111
- } = t, f = -(a * o) + Va, { ref: p, bgColor: h } = fe(), m = c || h || "#ffffff", g = Lt(Da.avatarGroup), y = {
1111
+ } = e, f = -(a * o) + Va, { ref: p, bgColor: h } = ft(), m = c || h || "#ffffff", g = Le(Da.avatarGroup), y = {
1112
1112
  "--avatar-cutout-bg": m
1113
1113
  };
1114
1114
  return r.length === 0 ? null : /* @__PURE__ */ n.jsxs("div", { className: g, ref: p, style: y, children: [
1115
1115
  r.map((C, x) => {
1116
1116
  if (C.wrapper) {
1117
- const v = C.wrapper;
1117
+ const w = C.wrapper;
1118
1118
  return /* @__PURE__ */ n.jsx(
1119
1119
  "div",
1120
1120
  {
1121
1121
  style: {
1122
1122
  marginRight: f
1123
1123
  },
1124
- children: /* @__PURE__ */ n.jsx(v, { children: /* @__PURE__ */ n.jsx(Gt, { size: a, shape: i, ...C }) })
1124
+ children: /* @__PURE__ */ n.jsx(w, { children: /* @__PURE__ */ n.jsx(Ge, { size: a, shape: i, ...C }) })
1125
1125
  },
1126
- Jt(C) + x
1126
+ Je(C) + x
1127
1127
  );
1128
1128
  }
1129
1129
  return /* @__PURE__ */ n.jsx(
@@ -1132,13 +1132,13 @@ const Va = 2, Xa = (t) => {
1132
1132
  style: {
1133
1133
  marginRight: f
1134
1134
  },
1135
- children: /* @__PURE__ */ n.jsx(Gt, { size: a, shape: i, ...C })
1135
+ children: /* @__PURE__ */ n.jsx(Ge, { size: a, shape: i, ...C })
1136
1136
  },
1137
- Jt(C) + x
1137
+ Je(C) + x
1138
1138
  );
1139
1139
  }),
1140
1140
  s > 0 && /* @__PURE__ */ n.jsx("div", { style: { marginRight: f }, children: /* @__PURE__ */ n.jsx(
1141
- Gt,
1141
+ Ge,
1142
1142
  {
1143
1143
  size: a,
1144
1144
  shape: i,
@@ -1149,9 +1149,9 @@ const Va = 2, Xa = (t) => {
1149
1149
  }
1150
1150
  ) })
1151
1151
  ] });
1152
- }, Al = Object.assign(Gt, {
1152
+ }, Al = Object.assign(Ge, {
1153
1153
  Group: Xa
1154
- }), Ya = "_wrapper_ecbsu_5", Za = "_badge__container_ecbsu_6", Ga = "_badge__content_ecbsu_7", Ua = "_interactive_ecbsu_20", Ja = "_disabled_ecbsu_21", Ka = "_icon_ecbsu_22", xt = {
1154
+ }), Ya = "_wrapper_ecbsu_5", Za = "_badge__container_ecbsu_6", Ga = "_badge__content_ecbsu_7", Ua = "_interactive_ecbsu_20", Ja = "_disabled_ecbsu_21", Ka = "_icon_ecbsu_22", xe = {
1155
1155
  wrapper: Ya,
1156
1156
  badge__container: Za,
1157
1157
  badge__content: Ga,
@@ -1189,7 +1189,7 @@ const Va = 2, Xa = (t) => {
1189
1189
  "position-bottom-center-inside": "_position-bottom-center-inside_ecbsu_447",
1190
1190
  "position-middle-left-inside": "_position-middle-left-inside_ecbsu_453",
1191
1191
  "position-middle-right-inside": "_position-middle-right-inside_ecbsu_459"
1192
- }, Qa = K((t, r) => {
1192
+ }, Qa = K((e, r) => {
1193
1193
  const {
1194
1194
  icon: a,
1195
1195
  children: o,
@@ -1205,15 +1205,15 @@ const Va = 2, Xa = (t) => {
1205
1205
  className: g,
1206
1206
  "data-testid": y = "badge",
1207
1207
  ...C
1208
- } = t, { onClick: x, onPointerDown: v } = C, { ref: u, bgColor: w } = fe(), L = h || w, k = !m && (!!x || !!v), T = Lt(xt.badge__container, xt[`position-${f}`]), O = Lt(
1208
+ } = e, { onClick: x, onPointerDown: w } = C, { ref: d, bgColor: v } = ft(), L = h || v, j = !m && (!!x || !!w), R = Le(xe.badge__container, xe[`position-${f}`]), E = Le(
1209
1209
  g,
1210
- xt.badge__content,
1211
- xt[`color-${c}`],
1212
- xt[`variant-${i}`],
1210
+ xe.badge__content,
1211
+ xe[`color-${c}`],
1212
+ xe[`variant-${i}`],
1213
1213
  {
1214
- [xt.disabled]: m,
1215
- [xt.icon]: !!a,
1216
- [xt.interactive]: k
1214
+ [xe.disabled]: m,
1215
+ [xe.icon]: !!a,
1216
+ [xe.interactive]: j
1217
1217
  }
1218
1218
  ), A = {
1219
1219
  "--badge-height": `${_}px`,
@@ -1222,14 +1222,14 @@ const Va = 2, Xa = (t) => {
1222
1222
  ...L && { "--badge-cutout-bg": L },
1223
1223
  ...i === "transparent" && { "--badge-cutout-bg": "transparent" }
1224
1224
  }, W = (a == null ? void 0 : a({})) || s, q = (P) => {
1225
- k && (x == null || x(P));
1225
+ j && (x == null || x(P));
1226
1226
  };
1227
- return /* @__PURE__ */ n.jsxs("div", { className: xt.wrapper, ref: u, "data-testid": y + "-wrapper", children: [
1227
+ return /* @__PURE__ */ n.jsxs("div", { className: xe.wrapper, ref: d, "data-testid": y + "-wrapper", children: [
1228
1228
  o,
1229
1229
  !l && /* @__PURE__ */ n.jsx(
1230
1230
  "span",
1231
1231
  {
1232
- className: T,
1232
+ className: R,
1233
1233
  style: A,
1234
1234
  "data-testid": y + "-container",
1235
1235
  children: /* @__PURE__ */ n.jsx(
@@ -1237,7 +1237,7 @@ const Va = 2, Xa = (t) => {
1237
1237
  {
1238
1238
  ...C,
1239
1239
  onClick: q,
1240
- className: O,
1240
+ className: E,
1241
1241
  "data-testid": y + "-content",
1242
1242
  ref: r,
1243
1243
  "aria-disabled": m,
@@ -1247,11 +1247,11 @@ const Va = 2, Xa = (t) => {
1247
1247
  }
1248
1248
  )
1249
1249
  ] });
1250
- }), to = "_container_op5yl_7", eo = "_image_op5yl_22", ro = "_loading_op5yl_34", le = {
1251
- container: to,
1252
- image: eo,
1250
+ }), eo = "_container_op5yl_7", to = "_image_op5yl_22", ro = "_loading_op5yl_34", lt = {
1251
+ container: eo,
1252
+ image: to,
1253
1253
  loading: ro
1254
- }, ao = "_loader_isv17_1", oo = "_spin_isv17_1", no = "_accent_isv17_19", so = "_neutral_isv17_23", io = "_positive_isv17_27", lo = "_negative_isv17_31", co = "_gray_isv17_35", uo = "_special_isv17_39", _o = "_contrast_isv17_43", po = "_container_isv17_47", fo = "_overlay_isv17_57", Ft = {
1254
+ }, ao = "_loader_isv17_1", oo = "_spin_isv17_1", no = "_accent_isv17_19", so = "_neutral_isv17_23", io = "_positive_isv17_27", lo = "_negative_isv17_31", co = "_gray_isv17_35", uo = "_special_isv17_39", _o = "_contrast_isv17_43", po = "_container_isv17_47", fo = "_overlay_isv17_57", Fe = {
1255
1255
  loader: ao,
1256
1256
  spin: oo,
1257
1257
  accent: no,
@@ -1268,19 +1268,19 @@ const Va = 2, Xa = (t) => {
1268
1268
  "size-48": "_size-48_isv17_80",
1269
1269
  "size-64": "_size-64_isv17_84",
1270
1270
  "size-96": "_size-96_isv17_88"
1271
- }, Ge = K(
1271
+ }, Gt = K(
1272
1272
  ({
1273
- size: t = 24,
1273
+ size: e = 24,
1274
1274
  variant: r = "accent",
1275
1275
  className: a,
1276
1276
  "data-testid": o = "loader",
1277
1277
  style: i,
1278
1278
  ...s
1279
1279
  }, l) => {
1280
- const c = Lt(
1281
- Ft.loader,
1282
- Ft[r],
1283
- Ft[`size-${t}`],
1280
+ const c = Le(
1281
+ Fe.loader,
1282
+ Fe[r],
1283
+ Fe[`size-${e}`],
1284
1284
  a
1285
1285
  );
1286
1286
  return /* @__PURE__ */ n.jsx(
@@ -1306,7 +1306,7 @@ const Va = 2, Xa = (t) => {
1306
1306
  }
1307
1307
  );
1308
1308
  }
1309
- ), go = K((t, r) => {
1309
+ ), go = K((e, r) => {
1310
1310
  const {
1311
1311
  loading: a = !1,
1312
1312
  size: o = 24,
@@ -1316,21 +1316,21 @@ const Va = 2, Xa = (t) => {
1316
1316
  style: c,
1317
1317
  "data-testid": _,
1318
1318
  ...f
1319
- } = t, p = Lt(Ft.container, l);
1319
+ } = e, p = Le(Fe.container, l);
1320
1320
  return /* @__PURE__ */ n.jsxs("div", { ref: r, className: p, style: c, "data-testid": _, ...f, children: [
1321
1321
  s,
1322
- a && /* @__PURE__ */ n.jsx("div", { className: Ft.overlay, children: /* @__PURE__ */ n.jsx(Ge, { size: o, variant: i, "data-testid": `${_}-spinner` }) })
1322
+ a && /* @__PURE__ */ n.jsx("div", { className: Fe.overlay, children: /* @__PURE__ */ n.jsx(Gt, { size: o, variant: i, "data-testid": `${_}-spinner` }) })
1323
1323
  ] });
1324
- }), bo = K((t, r) => t.children ? /* @__PURE__ */ n.jsx(
1324
+ }), bo = K((e, r) => e.children ? /* @__PURE__ */ n.jsx(
1325
1325
  go,
1326
1326
  {
1327
1327
  ref: r,
1328
- ...t
1328
+ ...e
1329
1329
  }
1330
- ) : /* @__PURE__ */ n.jsx(Ge, { ref: r, ...t })), ho = ({ width: t = 48, height: r = 48, className: a, "data-testid": o }) => /* @__PURE__ */ n.jsx(
1330
+ ) : /* @__PURE__ */ n.jsx(Gt, { ref: r, ...e })), ho = ({ width: e = 48, height: r = 48, className: a, "data-testid": o }) => /* @__PURE__ */ n.jsx(
1331
1331
  "svg",
1332
1332
  {
1333
- width: t,
1333
+ width: e,
1334
1334
  height: r,
1335
1335
  viewBox: "0 0 48 48",
1336
1336
  fill: "none",
@@ -1348,7 +1348,7 @@ const Va = 2, Xa = (t) => {
1348
1348
  }
1349
1349
  )
1350
1350
  }
1351
- ), Pl = K((t, r) => {
1351
+ ), Pl = K((e, r) => {
1352
1352
  const {
1353
1353
  alt: a = "",
1354
1354
  loading: o = "lazy",
@@ -1359,32 +1359,32 @@ const Va = 2, Xa = (t) => {
1359
1359
  onError: _,
1360
1360
  onLoad: f,
1361
1361
  ...p
1362
- } = t, [h, m] = _t("loading"), g = h === "error", y = (s || h === "loading") && !g, C = h === "loaded" && !s, x = Lt(
1363
- le.image,
1362
+ } = e, [h, m] = _e("loading"), g = h === "error", y = (s || h === "loading") && !g, C = h === "loaded" && !s, x = Le(
1363
+ lt.image,
1364
1364
  {
1365
- [le.loading]: y
1365
+ [lt.loading]: y
1366
1366
  },
1367
1367
  l
1368
- ), v = St(
1368
+ ), w = Se(
1369
1369
  (L) => {
1370
1370
  m("loaded"), f == null || f(L);
1371
1371
  },
1372
1372
  [f]
1373
- ), u = St(
1373
+ ), d = Se(
1374
1374
  (L) => {
1375
1375
  m("error"), _ == null || _(L);
1376
1376
  },
1377
1377
  [_]
1378
- ), w = {
1379
- loader: /* @__PURE__ */ n.jsxs(Pt, { children: [
1378
+ ), v = {
1379
+ loader: /* @__PURE__ */ n.jsxs(Pe, { children: [
1380
1380
  /* @__PURE__ */ n.jsx(bo, { size: 48, variant: "special", "data-testid": `${c}-loader` }),
1381
1381
  /* @__PURE__ */ n.jsx(
1382
1382
  "img",
1383
1383
  {
1384
1384
  alt: a,
1385
1385
  src: i,
1386
- onLoad: v,
1387
- onError: u,
1386
+ onLoad: w,
1387
+ onError: d,
1388
1388
  style: { display: "none" }
1389
1389
  }
1390
1390
  )
@@ -1402,27 +1402,27 @@ const Va = 2, Xa = (t) => {
1402
1402
  }
1403
1403
  )
1404
1404
  };
1405
- return lt(() => {
1405
+ return le(() => {
1406
1406
  if (!i) {
1407
1407
  m("error");
1408
1408
  return;
1409
1409
  }
1410
1410
  m("loading");
1411
- }, [i]), /* @__PURE__ */ n.jsxs("div", { className: le.container, "data-testid": `${c}-container`, ...p, children: [
1412
- y && w.loader,
1413
- g && w.error,
1414
- C && w.image
1411
+ }, [i]), /* @__PURE__ */ n.jsxs("div", { className: lt.container, "data-testid": `${c}-container`, ...p, children: [
1412
+ y && v.loader,
1413
+ g && v.error,
1414
+ C && v.image
1415
1415
  ] });
1416
- }), mo = {}, Ue = Ye({
1416
+ }), mo = {}, Ut = Yt({
1417
1417
  locale: mo
1418
1418
  }), yo = () => {
1419
- const t = Ze(Ue);
1420
- if (!t)
1419
+ const e = Zt(Ut);
1420
+ if (!e)
1421
1421
  throw new Error("useConfig must be used within a ConfigProvider");
1422
- return t;
1422
+ return e;
1423
1423
  }, Bl = () => {
1424
- const { locale: t } = yo();
1425
- return t;
1424
+ const { locale: e } = yo();
1425
+ return e;
1426
1426
  }, xo = {}, vo = {}, wo = {}, Co = {}, So = {}, Lo = "_base_1p0qo_50", jo = "_content_1p0qo_54", ko = "_background_1p0qo_58", $o = "_button_1p0qo_62", Eo = "_link_1p0qo_66", To = "_input_1p0qo_70", Ro = "_suffix_1p0qo_74", No = "_prefix_1p0qo_78", Io = "_tooltip_1p0qo_82", Mo = "_hint_1p0qo_86", Oo = "_dropdown_1p0qo_90", Ao = "_popover_1p0qo_94", Po = "_modalBackdrop_1p0qo_98", Bo = "_modal_1p0qo_98", zo = "_overlay_1p0qo_106", Do = "_drawer_1p0qo_110", Wo = "_notification_1p0qo_114", Fo = "_alert_1p0qo_118", qo = "_toast_1p0qo_122", Ho = "_loading_1p0qo_126", Vo = "_error_1p0qo_130", Xo = "_critical_1p0qo_134", Yo = {
1427
1427
  base: Lo,
1428
1428
  content: jo,
@@ -1447,7 +1447,7 @@ const Va = 2, Xa = (t) => {
1447
1447
  error: Vo,
1448
1448
  critical: Xo
1449
1449
  }, zl = ({
1450
- locale: t = {},
1450
+ locale: e = {},
1451
1451
  theme: r,
1452
1452
  children: a,
1453
1453
  className: o
@@ -1458,24 +1458,24 @@ const Va = 2, Xa = (t) => {
1458
1458
  i.style.setProperty(s, l);
1459
1459
  });
1460
1460
  }
1461
- }, [r]), /* @__PURE__ */ n.jsxs(Pt, { children: [
1461
+ }, [r]), /* @__PURE__ */ n.jsxs(Pe, { children: [
1462
1462
  /* @__PURE__ */ n.jsx(
1463
1463
  "div",
1464
1464
  {
1465
1465
  "data-testid": "ConfigProvider-component",
1466
- className: $(xo, vo, wo, Co, So, Yo, it, o)
1466
+ className: $(xo, vo, wo, Co, So, Yo, ie, o)
1467
1467
  }
1468
1468
  ),
1469
- /* @__PURE__ */ n.jsx(Ue.Provider, { value: { locale: t }, children: a })
1470
- ] })), Dl = {}, Zo = "_tag_1llsi_1", Go = "_label_1llsi_16", Uo = "_iconWrapper_1llsi_20", Jo = "_medium_1llsi_27", Ko = "_large_1llsi_33", Qo = "_disabled_1llsi_43", tn = "_neutral_1llsi_47", en = "_positive_1llsi_53", rn = "_negative_1llsi_59", an = "_warning_1llsi_65", on = "_vivid_1llsi_71", nn = "_special_1llsi_77", sn = "_accent_1llsi_84", ln = "_blue_1llsi_90", cn = "_lovely_1llsi_96", dn = "_dreamy_1llsi_102", $t = {
1469
+ /* @__PURE__ */ n.jsx(Ut.Provider, { value: { locale: e }, children: a })
1470
+ ] })), Dl = {}, Zo = "_tag_1llsi_1", Go = "_label_1llsi_16", Uo = "_iconWrapper_1llsi_20", Jo = "_medium_1llsi_27", Ko = "_large_1llsi_33", Qo = "_disabled_1llsi_43", en = "_neutral_1llsi_47", tn = "_positive_1llsi_53", rn = "_negative_1llsi_59", an = "_warning_1llsi_65", on = "_vivid_1llsi_71", nn = "_special_1llsi_77", sn = "_accent_1llsi_84", ln = "_blue_1llsi_90", cn = "_lovely_1llsi_96", dn = "_dreamy_1llsi_102", $e = {
1471
1471
  tag: Zo,
1472
1472
  label: Go,
1473
1473
  iconWrapper: Uo,
1474
1474
  medium: Jo,
1475
1475
  large: Ko,
1476
1476
  disabled: Qo,
1477
- neutral: tn,
1478
- positive: en,
1477
+ neutral: en,
1478
+ positive: tn,
1479
1479
  negative: rn,
1480
1480
  warning: an,
1481
1481
  vivid: on,
@@ -1484,7 +1484,7 @@ const Va = 2, Xa = (t) => {
1484
1484
  blue: ln,
1485
1485
  lovely: cn,
1486
1486
  dreamy: dn
1487
- }, Wl = K((t, r) => {
1487
+ }, Wl = K((e, r) => {
1488
1488
  const {
1489
1489
  className: a,
1490
1490
  children: o,
@@ -1497,31 +1497,31 @@ const Va = 2, Xa = (t) => {
1497
1497
  slotStartWrapperProps: p = {},
1498
1498
  slotEndWrapperProps: h = {},
1499
1499
  "data-testid": m
1500
- } = t, { className: g, ...y } = p, { className: C, ...x } = h;
1500
+ } = e, { className: g, ...y } = p, { className: C, ...x } = h;
1501
1501
  return /* @__PURE__ */ n.jsxs(
1502
1502
  "div",
1503
1503
  {
1504
1504
  className: $(
1505
- $t.tag,
1506
- $t[s],
1507
- $t[i],
1505
+ $e.tag,
1506
+ $e[s],
1507
+ $e[i],
1508
1508
  {
1509
- [$t.disabled]: l,
1510
- [it["typography-label-3-regular"]]: s === "medium",
1511
- [it["typography-subtitle-1-semibold"]]: s === "large"
1509
+ [$e.disabled]: l,
1510
+ [ie["typography-label-3-regular"]]: s === "medium",
1511
+ [ie["typography-subtitle-1-semibold"]]: s === "large"
1512
1512
  },
1513
1513
  a
1514
1514
  ),
1515
1515
  "data-testid": m || "tag-component",
1516
1516
  ref: r,
1517
1517
  children: [
1518
- _ && /* @__PURE__ */ n.jsx("span", { className: $([$t.iconWrapper, g]), ...y, children: _ }),
1519
- c && /* @__PURE__ */ n.jsx("span", { className: $([$t.label]), children: o }),
1520
- f && /* @__PURE__ */ n.jsx("span", { className: $([$t.iconWrapper, C]), ...x, children: f })
1518
+ _ && /* @__PURE__ */ n.jsx("span", { className: $([$e.iconWrapper, g]), ...y, children: _ }),
1519
+ c && /* @__PURE__ */ n.jsx("span", { className: $([$e.label]), children: o }),
1520
+ f && /* @__PURE__ */ n.jsx("span", { className: $([$e.iconWrapper, C]), ...x, children: f })
1521
1521
  ]
1522
1522
  }
1523
1523
  );
1524
- }), un = "_checkbox_17txq_43", _n = "_input_17txq_64", pn = "_icon_17txq_72", fn = "_container_17txq_92", gn = "_error_17txq_143", bn = "_checkboxWrapper_17txq_156", hn = "_medium_17txq_211", mn = "_large_17txq_216", yn = "_label_17txq_258", wt = {
1524
+ }), un = "_checkbox_gtrs6_43", _n = "_input_gtrs6_64", pn = "_icon_gtrs6_72", fn = "_container_gtrs6_92", gn = "_error_gtrs6_143", bn = "_checkboxWrapper_gtrs6_156", hn = "_medium_gtrs6_211", mn = "_large_gtrs6_216", yn = "_label_gtrs6_258", we = {
1525
1525
  checkbox: un,
1526
1526
  input: _n,
1527
1527
  icon: pn,
@@ -1532,7 +1532,7 @@ const Va = 2, Xa = (t) => {
1532
1532
  large: mn,
1533
1533
  label: yn
1534
1534
  }, xn = ({
1535
- width: t = 12,
1535
+ width: e = 12,
1536
1536
  height: r = 9,
1537
1537
  className: a = "",
1538
1538
  color: o = "currentColor",
@@ -1541,7 +1541,7 @@ const Va = 2, Xa = (t) => {
1541
1541
  "svg",
1542
1542
  {
1543
1543
  className: a,
1544
- width: t,
1544
+ width: e,
1545
1545
  height: r,
1546
1546
  viewBox: "0 0 14 10",
1547
1547
  fill: "none",
@@ -1558,7 +1558,7 @@ const Va = 2, Xa = (t) => {
1558
1558
  )
1559
1559
  }
1560
1560
  ), vn = ({
1561
- width: t = 12,
1561
+ width: e = 12,
1562
1562
  height: r = 2,
1563
1563
  className: a = "",
1564
1564
  color: o = "currentColor",
@@ -1567,7 +1567,7 @@ const Va = 2, Xa = (t) => {
1567
1567
  "svg",
1568
1568
  {
1569
1569
  className: a,
1570
- width: t,
1570
+ width: e,
1571
1571
  height: r,
1572
1572
  viewBox: "0 0 12 2",
1573
1573
  fill: "none",
@@ -1587,17 +1587,17 @@ const Va = 2, Xa = (t) => {
1587
1587
  medium: { width: 10.83, height: 7.5 },
1588
1588
  large: { width: 13, height: 9 }
1589
1589
  }, Cn = ({
1590
- size: t,
1590
+ size: e,
1591
1591
  isChecked: r,
1592
1592
  isDisabled: a,
1593
1593
  indeterminate: o,
1594
1594
  dataTestId: i
1595
1595
  }) => {
1596
- const { width: s, height: l } = wn[t];
1596
+ const { width: s, height: l } = wn[e];
1597
1597
  return /* @__PURE__ */ n.jsx(
1598
1598
  "div",
1599
1599
  {
1600
- className: wt.icon,
1600
+ className: we.icon,
1601
1601
  "data-testid": `${i}-icon`,
1602
1602
  "data-checked": r,
1603
1603
  "data-disabled": a,
@@ -1605,7 +1605,7 @@ const Va = 2, Xa = (t) => {
1605
1605
  children: o ? /* @__PURE__ */ n.jsx(vn, { width: s, height: l }) : /* @__PURE__ */ n.jsx(xn, { width: s, height: l })
1606
1606
  }
1607
1607
  );
1608
- }, Fl = K((t, r) => {
1608
+ }, Fl = K((e, r) => {
1609
1609
  const {
1610
1610
  name: a,
1611
1611
  value: o,
@@ -1622,46 +1622,47 @@ const Va = 2, Xa = (t) => {
1622
1622
  clickableLabel: y = !0,
1623
1623
  tabIndex: C,
1624
1624
  onChange: x,
1625
- "data-testid": v = "checkbox"
1626
- } = t, [u, w] = _t(!1), L = o ?? u, E = _ || l, k = !!c, T = L || s, O = $(wt.container, wt[i], f), A = $(
1627
- wt.checkbox,
1628
- wt[i],
1625
+ onClick: w,
1626
+ "data-testid": d = "checkbox"
1627
+ } = e, [v, L] = _e(!1), T = o ?? v, j = _ || l, R = !!c, E = T || s, A = $(we.container, we[i], f), W = $(
1628
+ we.checkbox,
1629
+ we[i],
1629
1630
  {
1630
- [wt.error]: k
1631
+ [we.error]: R
1631
1632
  },
1632
1633
  p
1633
- ), W = (I) => {
1634
- E || (w(I.target.checked), x == null || x(I.target.checked, I));
1635
- }, q = (I) => {
1636
- if (I.key === "Enter" && !E) {
1637
- I.preventDefault();
1638
- const z = !T;
1639
- w(z), x == null || x(z);
1640
- }
1641
- }, P = (I) => {
1642
- y || I.preventDefault();
1643
- }, S = (I) => I.stopPropagation();
1634
+ ), q = (O) => {
1635
+ j || (L(O.target.checked), x == null || x(O.target.checked, O));
1636
+ }, P = (O) => {
1637
+ if (O.key === "Enter" && !j) {
1638
+ O.preventDefault();
1639
+ const z = !E;
1640
+ L(z), x == null || x(z);
1641
+ }
1642
+ }, S = (O) => {
1643
+ y || O.preventDefault(), w == null || w(O);
1644
+ };
1644
1645
  return /* @__PURE__ */ n.jsxs(
1645
1646
  "label",
1646
1647
  {
1647
- className: O,
1648
+ className: A,
1648
1649
  htmlFor: a,
1649
1650
  style: h,
1650
- "data-testid": v,
1651
+ "data-testid": d,
1651
1652
  "data-clickable-label": y,
1652
1653
  children: [
1653
- /* @__PURE__ */ n.jsx("div", { className: wt.checkboxWrapper, children: /* @__PURE__ */ n.jsxs(
1654
+ /* @__PURE__ */ n.jsx("div", { className: we.checkboxWrapper, children: /* @__PURE__ */ n.jsxs(
1654
1655
  "div",
1655
1656
  {
1656
1657
  tabIndex: C || 0,
1657
- className: A,
1658
+ className: W,
1658
1659
  style: m,
1659
- onKeyDown: q,
1660
- "aria-checked": T,
1661
- "aria-disabled": E,
1662
- "aria-invalid": k,
1660
+ onKeyDown: P,
1661
+ "aria-checked": E,
1662
+ "aria-disabled": j,
1663
+ "aria-invalid": R,
1663
1664
  "aria-describedby": c ? `${a}-error` : void 0,
1664
- "data-testid": `${v}-label`,
1665
+ "data-testid": `${d}-label`,
1665
1666
  children: [
1666
1667
  /* @__PURE__ */ n.jsx(
1667
1668
  "input",
@@ -1670,15 +1671,14 @@ const Va = 2, Xa = (t) => {
1670
1671
  type: "checkbox",
1671
1672
  id: a,
1672
1673
  name: a,
1673
- checked: T,
1674
- disabled: E,
1675
- className: wt.input,
1676
- onChange: W,
1677
- onClick: S,
1678
- "aria-checked": T,
1679
- "aria-invalid": k,
1674
+ checked: E,
1675
+ disabled: j,
1676
+ className: we.input,
1677
+ onChange: q,
1678
+ "aria-checked": E,
1679
+ "aria-invalid": R,
1680
1680
  "aria-describedby": c ? `${a}-error` : void 0,
1681
- "data-testid": `${v}-input`
1681
+ "data-testid": `${d}-input`
1682
1682
  }
1683
1683
  ),
1684
1684
  /* @__PURE__ */ n.jsx(
@@ -1686,10 +1686,10 @@ const Va = 2, Xa = (t) => {
1686
1686
  {
1687
1687
  name: a,
1688
1688
  size: i,
1689
- isChecked: T,
1690
- isDisabled: E,
1689
+ isChecked: E,
1690
+ isDisabled: j,
1691
1691
  indeterminate: s,
1692
- dataTestId: v
1692
+ dataTestId: d
1693
1693
  }
1694
1694
  )
1695
1695
  ]
@@ -1698,17 +1698,17 @@ const Va = 2, Xa = (t) => {
1698
1698
  g && /* @__PURE__ */ n.jsx(
1699
1699
  "span",
1700
1700
  {
1701
- "data-testid": `${v}-label-text`,
1701
+ "data-testid": `${d}-label-text`,
1702
1702
  "data-clickable-label": y,
1703
- className: wt.label,
1704
- onClick: P,
1703
+ className: we.label,
1704
+ onClick: S,
1705
1705
  children: g
1706
1706
  }
1707
1707
  )
1708
1708
  ]
1709
1709
  }
1710
1710
  );
1711
- }), Sn = "_typography_zt7xg_1", Ln = "_disabled_zt7xg_8", jn = "_primary_zt7xg_13", kn = "_secondary_zt7xg_18", $n = "_tertiary_zt7xg_23", En = "_accent_zt7xg_28", Tn = "_positive_zt7xg_38", Rn = "_negative_zt7xg_48", Nn = "_warning_zt7xg_58", In = "_special_zt7xg_68", Mn = "_contrast_zt7xg_78", Bt = {
1711
+ }), Sn = "_typography_zt7xg_1", Ln = "_disabled_zt7xg_8", jn = "_primary_zt7xg_13", kn = "_secondary_zt7xg_18", $n = "_tertiary_zt7xg_23", En = "_accent_zt7xg_28", Tn = "_positive_zt7xg_38", Rn = "_negative_zt7xg_48", Nn = "_warning_zt7xg_58", In = "_special_zt7xg_68", Mn = "_contrast_zt7xg_78", Be = {
1712
1712
  typography: Sn,
1713
1713
  disabled: Ln,
1714
1714
  primary: jn,
@@ -1732,8 +1732,8 @@ const Va = 2, Xa = (t) => {
1732
1732
  3: "h3",
1733
1733
  4: "h4",
1734
1734
  5: "h5"
1735
- }, Be = (t) => {
1736
- const r = Xe.forwardRef(
1735
+ }, Bt = (e) => {
1736
+ const r = Xt.forwardRef(
1737
1737
  ({
1738
1738
  size: a = 3,
1739
1739
  children: o,
@@ -1746,20 +1746,20 @@ const Va = 2, Xa = (t) => {
1746
1746
  ...p
1747
1747
  }, h) => {
1748
1748
  const m = l || On[a], g = $(
1749
- Bt.typography,
1750
- it[`typography-${t}-${a}-${c}`],
1751
- Bt[f],
1749
+ Be.typography,
1750
+ ie[`typography-${e}-${a}-${c}`],
1751
+ Be[f],
1752
1752
  {
1753
- [Bt.disabled]: _
1753
+ [Be.disabled]: _
1754
1754
  },
1755
1755
  i
1756
1756
  );
1757
1757
  return o ? /* @__PURE__ */ n.jsx(m, { ref: h, className: g, "data-testid": s, ...p, children: o }) : null;
1758
1758
  }
1759
1759
  );
1760
- return r.displayName = `Typography.${t === "title" ? "Title" : "Subtitle"}`, r;
1761
- }, ze = (t) => {
1762
- const r = Xe.forwardRef(
1760
+ return r.displayName = `Typography.${e === "title" ? "Title" : "Subtitle"}`, r;
1761
+ }, zt = (e) => {
1762
+ const r = Xt.forwardRef(
1763
1763
  ({
1764
1764
  size: a = 3,
1765
1765
  children: o,
@@ -1772,11 +1772,11 @@ const Va = 2, Xa = (t) => {
1772
1772
  ...p
1773
1773
  }, h) => {
1774
1774
  const m = l, g = $(
1775
- Bt.typography,
1776
- it[`typography-${t}-${a}-${c}`],
1777
- Bt[f],
1775
+ Be.typography,
1776
+ ie[`typography-${e}-${a}-${c}`],
1777
+ Be[f],
1778
1778
  {
1779
- [Bt.disabled]: _
1779
+ [Be.disabled]: _
1780
1780
  },
1781
1781
  i
1782
1782
  );
@@ -1792,13 +1792,13 @@ const Va = 2, Xa = (t) => {
1792
1792
  ) : null;
1793
1793
  }
1794
1794
  );
1795
- return r.displayName = `Typography.${t.charAt(0).toUpperCase() + t.slice(1)}`, r;
1796
- }, De = {
1797
- Title: Be("title"),
1798
- Subtitle: Be("subtitle"),
1799
- Label: ze("label"),
1800
- Paragraph: ze("paragraph")
1801
- }, An = "_base_10oxr_1", Pn = "_content_10oxr_1", Bn = "_background_10oxr_1", zn = "_button_10oxr_1", Dn = "_link_10oxr_1", Wn = "_input_10oxr_96", Fn = "_suffix_10oxr_1", qn = "_prefix_10oxr_1", Hn = "_tooltip_10oxr_1", Vn = "_hint_10oxr_794", Xn = "_dropdown_10oxr_1", Yn = "_popover_10oxr_1", Zn = "_modalBackdrop_10oxr_1", Gn = "_modal_10oxr_1", Un = "_overlay_10oxr_1", Jn = "_drawer_10oxr_1", Kn = "_notification_10oxr_1", Qn = "_alert_10oxr_1", ts = "_toast_10oxr_1", es = "_loading_10oxr_291", rs = "_error_10oxr_252", as = "_critical_10oxr_1", os = "_inputBase_10oxr_96", ns = "_wrapper_10oxr_106", ss = "_gripHandle_10oxr_186", is = "_tabFocused_10oxr_259", ls = "_disabled_10oxr_284", cs = "_label_10oxr_301", ds = "_S_10oxr_315", us = "_M_10oxr_321", _s = "_XL_10oxr_328", ps = "_leftSection_10oxr_335", fs = "_rightSection_10oxr_347", gs = "_helper_10oxr_385", bs = "_floatingLabel_10oxr_415", hs = "_focused_10oxr_481", ms = "_filled_10oxr_482", ys = "_L_10oxr_522", xs = "_characterLimit_10oxr_564", vs = "_textarea_10oxr_124", ws = "_truncate_10oxr_707", N = {
1795
+ return r.displayName = `Typography.${e.charAt(0).toUpperCase() + e.slice(1)}`, r;
1796
+ }, Dt = {
1797
+ Title: Bt("title"),
1798
+ Subtitle: Bt("subtitle"),
1799
+ Label: zt("label"),
1800
+ Paragraph: zt("paragraph")
1801
+ }, An = "_base_10oxr_1", Pn = "_content_10oxr_1", Bn = "_background_10oxr_1", zn = "_button_10oxr_1", Dn = "_link_10oxr_1", Wn = "_input_10oxr_96", Fn = "_suffix_10oxr_1", qn = "_prefix_10oxr_1", Hn = "_tooltip_10oxr_1", Vn = "_hint_10oxr_794", Xn = "_dropdown_10oxr_1", Yn = "_popover_10oxr_1", Zn = "_modalBackdrop_10oxr_1", Gn = "_modal_10oxr_1", Un = "_overlay_10oxr_1", Jn = "_drawer_10oxr_1", Kn = "_notification_10oxr_1", Qn = "_alert_10oxr_1", es = "_toast_10oxr_1", ts = "_loading_10oxr_291", rs = "_error_10oxr_252", as = "_critical_10oxr_1", os = "_inputBase_10oxr_96", ns = "_wrapper_10oxr_106", ss = "_gripHandle_10oxr_186", is = "_tabFocused_10oxr_259", ls = "_disabled_10oxr_284", cs = "_label_10oxr_301", ds = "_S_10oxr_315", us = "_M_10oxr_321", _s = "_XL_10oxr_328", ps = "_leftSection_10oxr_335", fs = "_rightSection_10oxr_347", gs = "_helper_10oxr_385", bs = "_floatingLabel_10oxr_415", hs = "_focused_10oxr_481", ms = "_filled_10oxr_482", ys = "_L_10oxr_522", xs = "_characterLimit_10oxr_564", vs = "_textarea_10oxr_124", ws = "_truncate_10oxr_707", I = {
1802
1802
  base: An,
1803
1803
  content: Pn,
1804
1804
  background: Bn,
@@ -1817,8 +1817,8 @@ const Va = 2, Xa = (t) => {
1817
1817
  drawer: Jn,
1818
1818
  notification: Kn,
1819
1819
  alert: Qn,
1820
- toast: ts,
1821
- loading: es,
1820
+ toast: es,
1821
+ loading: ts,
1822
1822
  error: rs,
1823
1823
  critical: as,
1824
1824
  inputBase: os,
@@ -1850,14 +1850,14 @@ const Va = 2, Xa = (t) => {
1850
1850
  "has-suffix": "_has-suffix_10oxr_821",
1851
1851
  "has-limit": "_has-limit_10oxr_844"
1852
1852
  }, Cs = ({
1853
- width: t = 8,
1853
+ width: e = 8,
1854
1854
  height: r = 8,
1855
1855
  className: a,
1856
1856
  color: o = "#AABBCA"
1857
1857
  }) => /* @__PURE__ */ n.jsx(
1858
1858
  "svg",
1859
1859
  {
1860
- width: t,
1860
+ width: e,
1861
1861
  height: r,
1862
1862
  viewBox: "0 0 8 8",
1863
1863
  fill: "none",
@@ -1873,8 +1873,8 @@ const Va = 2, Xa = (t) => {
1873
1873
  }
1874
1874
  )
1875
1875
  }
1876
- ), Je = ({
1877
- className: t = "",
1876
+ ), Jt = ({
1877
+ className: e = "",
1878
1878
  style: r,
1879
1879
  size: a = "md",
1880
1880
  color: o = "currentColor",
@@ -1887,7 +1887,7 @@ const Va = 2, Xa = (t) => {
1887
1887
  ...{
1888
1888
  xxxs: { width: "8px", height: "8px" },
1889
1889
  xxs: { width: "12px", height: "12px" },
1890
- xs: { width: "20px", height: "20px" },
1890
+ xs: { width: "16px", height: "16px" },
1891
1891
  sm: { width: "24px", height: "24px" },
1892
1892
  md: { width: "32px", height: "32px" },
1893
1893
  lg: { width: "40px", height: "40px" }
@@ -1897,7 +1897,7 @@ const Va = 2, Xa = (t) => {
1897
1897
  return /* @__PURE__ */ n.jsx(
1898
1898
  "svg",
1899
1899
  {
1900
- className: t,
1900
+ className: e,
1901
1901
  style: c,
1902
1902
  viewBox: "0 0 16 16",
1903
1903
  fill: "none",
@@ -1916,34 +1916,34 @@ const Va = 2, Xa = (t) => {
1916
1916
  )
1917
1917
  }
1918
1918
  );
1919
- }, Ss = (t, r) => {
1920
- const a = qt(null), o = qt(null);
1921
- return lt(() => {
1919
+ }, Ss = (e, r) => {
1920
+ const a = qe(null), o = qe(null);
1921
+ return le(() => {
1922
1922
  const i = r === "textarea" ? a.current : o.current;
1923
- i && i.value !== t && (i.value = t || "");
1924
- }, [t, r]), {
1923
+ i && i.value !== e && (i.value = e || "");
1924
+ }, [e, r]), {
1925
1925
  textareaRef: a,
1926
1926
  inputRef: o,
1927
1927
  currentRef: r === "textarea" ? a : o
1928
1928
  };
1929
- }, Ls = (t, r, a) => {
1929
+ }, Ls = (e, r, a) => {
1930
1930
  const o = () => {
1931
1931
  if (!a.current || r !== "hug") return;
1932
1932
  const i = a.current.scrollTop;
1933
- if (a.current.style.setProperty("height", "auto", "important"), !t) return;
1933
+ if (a.current.style.setProperty("height", "auto", "important"), !e) return;
1934
1934
  const s = a.current.scrollHeight + "px";
1935
1935
  a.current.style.setProperty("height", s, "important"), a.current.scrollTop = i;
1936
- const l = a.current.closest(`.${N.wrapper}`);
1936
+ const l = a.current.closest(`.${I.wrapper}`);
1937
1937
  l && (l.setAttribute("data-resize", "hug"), l.setAttribute("data-show-grip", "false"));
1938
1938
  };
1939
- return lt(o, [t, r]), lt(() => {
1939
+ return le(o, [e, r]), le(() => {
1940
1940
  r === "hug" && a.current && o();
1941
1941
  }, []), { resizeTextArea: o };
1942
- }, js = (t, r, a, o) => ({ handleGripMouseDown: St(
1942
+ }, js = (e, r, a, o) => ({ handleGripMouseDown: Se(
1943
1943
  (s) => {
1944
- if (!t || r || a || !(o === "fixed" || !o)) return;
1944
+ if (!e || r || a || !(o === "fixed" || !o)) return;
1945
1945
  s.preventDefault(), s.stopPropagation();
1946
- const l = s.currentTarget.closest(`.${N.wrapper}`);
1946
+ const l = s.currentTarget.closest(`.${I.wrapper}`);
1947
1947
  if (!l) return;
1948
1948
  const c = s.clientY, _ = l.clientHeight, f = (h) => {
1949
1949
  const m = h.clientY - c, g = Math.min(100, _), y = Math.max(g, _ + m);
@@ -1953,10 +1953,10 @@ const Va = 2, Xa = (t) => {
1953
1953
  };
1954
1954
  document.addEventListener("mousemove", f), document.addEventListener("mouseup", p);
1955
1955
  },
1956
- [t, r, a, o]
1957
- ) }), We = 30, ks = K(
1956
+ [e, r, a, o]
1957
+ ) }), Wt = 30, ks = K(
1958
1958
  ({
1959
- component: t = "input",
1959
+ component: e = "input",
1960
1960
  size: r = "L",
1961
1961
  value: a = "",
1962
1962
  placeholder: o,
@@ -1973,18 +1973,18 @@ const Va = 2, Xa = (t) => {
1973
1973
  truncate: y = !1,
1974
1974
  shouldShowFloatingLabelClass: C = !1,
1975
1975
  "aria-invalid": x,
1976
- "aria-errormessage": v,
1977
- id: u,
1978
- resize: w,
1976
+ "aria-errormessage": w,
1977
+ id: d,
1978
+ resize: v,
1979
1979
  ...L
1980
- }, E) => {
1981
- const { textareaRef: k, inputRef: T, currentRef: O } = Ss(a, t);
1982
- if (Ls(a, w, k), kr(E, () => O.current, [O]), t === "textarea")
1980
+ }, T) => {
1981
+ const { textareaRef: j, inputRef: R, currentRef: E } = Ss(a, e);
1982
+ if (Ls(a, v, j), kr(T, () => E.current, [E]), e === "textarea")
1983
1983
  return /* @__PURE__ */ n.jsx(
1984
1984
  "textarea",
1985
1985
  {
1986
- ref: k,
1987
- id: u,
1986
+ ref: j,
1987
+ id: d,
1988
1988
  value: a,
1989
1989
  placeholder: o,
1990
1990
  disabled: i || s,
@@ -1995,26 +1995,26 @@ const Va = 2, Xa = (t) => {
1995
1995
  onKeyUp: p,
1996
1996
  maxLength: h,
1997
1997
  className: $(
1998
- N.textarea,
1999
- N[`size-${r}`],
2000
- C && N["with-floating-label"],
1998
+ I.textarea,
1999
+ I[`size-${r}`],
2000
+ C && I["with-floating-label"],
2001
2001
  m
2002
2002
  ),
2003
2003
  style: g,
2004
2004
  "aria-invalid": x,
2005
- "aria-errormessage": v,
2006
- "aria-describedby": v ? `${u}-error` : void 0,
2005
+ "aria-errormessage": w,
2006
+ "aria-describedby": w ? `${d}-error` : void 0,
2007
2007
  tabIndex: 0,
2008
- "data-resize": w,
2008
+ "data-resize": v,
2009
2009
  ...L
2010
2010
  }
2011
2011
  );
2012
- if (t === "input")
2012
+ if (e === "input")
2013
2013
  return /* @__PURE__ */ n.jsx(
2014
2014
  "input",
2015
2015
  {
2016
- ref: T,
2017
- id: u,
2016
+ ref: R,
2017
+ id: d,
2018
2018
  value: a,
2019
2019
  placeholder: o,
2020
2020
  disabled: i || s,
@@ -2025,28 +2025,28 @@ const Va = 2, Xa = (t) => {
2025
2025
  onKeyUp: p,
2026
2026
  maxLength: h,
2027
2027
  className: $(
2028
- N.input,
2029
- N[`size-${r}`],
2030
- C && N["with-floating-label"],
2031
- y && N.truncate,
2028
+ I.input,
2029
+ I[`size-${r}`],
2030
+ C && I["with-floating-label"],
2031
+ y && I.truncate,
2032
2032
  m
2033
2033
  ),
2034
2034
  style: g,
2035
2035
  "aria-invalid": x,
2036
- "aria-errormessage": v,
2037
- "aria-describedby": v ? `${u}-error` : void 0,
2036
+ "aria-errormessage": w,
2037
+ "aria-describedby": w ? `${d}-error` : void 0,
2038
2038
  tabIndex: 0,
2039
2039
  ...L
2040
2040
  }
2041
2041
  );
2042
- if (t !== "input" && t !== "textarea")
2042
+ if (e !== "input" && e !== "textarea")
2043
2043
  return console.error(
2044
- `[Input] Недопустимое значение prop 'component': "${String(t)}". Допустимые значения: 'input', 'textarea'`
2044
+ `[Input] Недопустимое значение prop 'component': "${String(e)}". Допустимые значения: 'input', 'textarea'`
2045
2045
  ), null;
2046
2046
  }
2047
- ), Ke = K(
2047
+ ), Kt = K(
2048
2048
  ({
2049
- children: t,
2049
+ children: e,
2050
2050
  size: r = "L",
2051
2051
  error: a = !1,
2052
2052
  disabled: o = !1,
@@ -2063,74 +2063,74 @@ const Va = 2, Xa = (t) => {
2063
2063
  maxLength: y,
2064
2064
  hint: C,
2065
2065
  showHint: x = !1,
2066
- showHintOnEmpty: v = !1,
2067
- prefix: u,
2068
- suffix: w,
2066
+ showHintOnEmpty: w = !1,
2067
+ prefix: d,
2068
+ suffix: v,
2069
2069
  onSuffixClick: L,
2070
- placeholder: E,
2071
- showLabel: k = !0,
2072
- labelClassName: T,
2073
- hasValue: O = !1,
2070
+ placeholder: T,
2071
+ showLabel: j = !0,
2072
+ labelClassName: R,
2073
+ hasValue: E = !1,
2074
2074
  helper: A,
2075
2075
  id: W,
2076
2076
  value: q = "",
2077
2077
  resize: P,
2078
2078
  showGrip: S = !1,
2079
- ...I
2079
+ ...O
2080
2080
  }, z) => {
2081
- const F = pe(), X = W || F, Q = x && C && (O || v), ct = C && C.length > We ? C.substring(0, We) + "..." : C, at = $(
2082
- N.wrapper,
2083
- N[`size-${r}`],
2084
- a && N.error,
2085
- o && N.disabled,
2086
- i && N.loading,
2087
- Q && N["has-hint"],
2088
- w && N["has-suffix"],
2089
- g && N["has-limit"],
2081
+ const F = pt(), X = W || F, Q = x && C && (E || w), ce = C && C.length > Wt ? C.substring(0, Wt) + "..." : C, ae = $(
2082
+ I.wrapper,
2083
+ I[`size-${r}`],
2084
+ a && I.error,
2085
+ o && I.disabled,
2086
+ i && I.loading,
2087
+ Q && I["has-hint"],
2088
+ v && I["has-suffix"],
2089
+ g && I["has-limit"],
2090
2090
  s
2091
- ), tt = $(
2092
- N.floatingLabel,
2093
- N[r],
2094
- O && N.filled,
2095
- T
2096
- ), { handleGripMouseDown: et } = js(S, o, i, P);
2097
- return /* @__PURE__ */ n.jsxs("div", { ref: z, className: N.inputBase, "data-testid": "input-base-wrapper", ...I, children: [
2091
+ ), ee = $(
2092
+ I.floatingLabel,
2093
+ I[r],
2094
+ E && I.filled,
2095
+ R
2096
+ ), { handleGripMouseDown: te } = js(S, o, i, P);
2097
+ return /* @__PURE__ */ n.jsxs("div", { ref: z, className: I.inputBase, "data-testid": "input-base-wrapper", ...O, children: [
2098
2098
  /* @__PURE__ */ n.jsxs(
2099
2099
  "div",
2100
2100
  {
2101
- className: at,
2101
+ className: ae,
2102
2102
  style: c,
2103
2103
  "data-resize": P,
2104
2104
  "data-show-grip": S ? "true" : "false",
2105
2105
  ...l,
2106
2106
  children: [
2107
- u && /* @__PURE__ */ n.jsx("label", { htmlFor: X, className: N.leftSection, style: f, children: u }),
2108
- w && /* @__PURE__ */ n.jsx(
2107
+ d && /* @__PURE__ */ n.jsx("label", { htmlFor: X, className: I.leftSection, style: f, children: d }),
2108
+ v && /* @__PURE__ */ n.jsx(
2109
2109
  "label",
2110
2110
  {
2111
2111
  htmlFor: X,
2112
- className: N.rightSection,
2112
+ className: I.rightSection,
2113
2113
  style: p,
2114
2114
  onClick: L,
2115
- children: w
2115
+ children: v
2116
2116
  }
2117
2117
  ),
2118
- E && k && /* @__PURE__ */ n.jsx(
2118
+ T && j && /* @__PURE__ */ n.jsx(
2119
2119
  "label",
2120
2120
  {
2121
2121
  htmlFor: X,
2122
- className: tt,
2122
+ className: ee,
2123
2123
  style: _,
2124
2124
  ...h,
2125
- children: E
2125
+ children: T
2126
2126
  }
2127
2127
  ),
2128
- t,
2128
+ e,
2129
2129
  S && !g && (P === "fixed" || !P) && /* @__PURE__ */ n.jsx(
2130
2130
  "div",
2131
2131
  {
2132
- className: N.gripHandle,
2133
- onMouseDown: et,
2132
+ className: I.gripHandle,
2133
+ onMouseDown: te,
2134
2134
  role: "button",
2135
2135
  tabIndex: -1,
2136
2136
  "aria-label": "Изменить размер",
@@ -2140,12 +2140,12 @@ const Va = 2, Xa = (t) => {
2140
2140
  Q && /* @__PURE__ */ n.jsx(
2141
2141
  "div",
2142
2142
  {
2143
- className: $(N.hint, O && N.truncate),
2143
+ className: $(I.hint, E && I.truncate),
2144
2144
  "data-disabled": o || i,
2145
- children: ct
2145
+ children: ce
2146
2146
  }
2147
2147
  ),
2148
- g && y && /* @__PURE__ */ n.jsxs("div", { className: N.characterLimit, children: [
2148
+ g && y && /* @__PURE__ */ n.jsxs("div", { className: I.characterLimit, children: [
2149
2149
  (q || "").length,
2150
2150
  " из ",
2151
2151
  y
@@ -2157,9 +2157,9 @@ const Va = 2, Xa = (t) => {
2157
2157
  "div",
2158
2158
  {
2159
2159
  className: $(
2160
- N.helper,
2161
- a && N.error,
2162
- (o || i) && N.disabled
2160
+ I.helper,
2161
+ a && I.error,
2162
+ (o || i) && I.disabled
2163
2163
  ),
2164
2164
  ...m,
2165
2165
  id: a ? `${X}-error` : void 0,
@@ -2169,12 +2169,12 @@ const Va = 2, Xa = (t) => {
2169
2169
  ] });
2170
2170
  }
2171
2171
  );
2172
- Ke.displayName = "InputWrapperComponent";
2173
- const Fe = Object.assign(ks, {
2174
- Wrapper: Ke
2175
- }), Qe = K(
2172
+ Kt.displayName = "InputWrapperComponent";
2173
+ const Ft = Object.assign(ks, {
2174
+ Wrapper: Kt
2175
+ }), Qt = K(
2176
2176
  ({
2177
- component: t = "input",
2177
+ component: e = "input",
2178
2178
  size: r = "L",
2179
2179
  className: a,
2180
2180
  error: o = !1,
@@ -2191,28 +2191,28 @@ const Fe = Object.assign(ks, {
2191
2191
  onBlur: y,
2192
2192
  onKeyDown: C,
2193
2193
  onSuffixClick: x,
2194
- onChange: v,
2195
- value: u = "",
2196
- wrapperProps: w,
2194
+ onChange: w,
2195
+ value: d = "",
2196
+ wrapperProps: v,
2197
2197
  wrapperStyles: L,
2198
- floatingLabelStyles: E,
2199
- prefixStyles: k,
2200
- suffixStyles: T,
2201
- textareaStyles: O,
2198
+ floatingLabelStyles: T,
2199
+ prefixStyles: j,
2200
+ suffixStyles: R,
2201
+ textareaStyles: E,
2202
2202
  labelProps: A,
2203
2203
  helperProps: W,
2204
2204
  showLimit: q = !1,
2205
2205
  maxLength: P,
2206
2206
  inputProps: S,
2207
- hint: I,
2207
+ hint: O,
2208
2208
  showHint: z = !1,
2209
2209
  showHintOnEmpty: F = !1,
2210
2210
  truncate: X = !1,
2211
2211
  resize: Q,
2212
- showGrip: ct = !1,
2213
- ...at
2214
- }, tt) => {
2215
- const et = pe(), mt = m || et, [zt, Et] = _t(u), bt = u !== void 0 ? u : zt, Tt = (bt || "").length > 0, jt = bt || "", Rt = c && (r === "XL" || t === "textarea") && !p, Kt = St(
2212
+ showGrip: ce = !1,
2213
+ ...ae
2214
+ }, ee) => {
2215
+ const te = pt(), me = m || te, [ze, Ee] = _e(d), be = d !== void 0 ? d : ze, Te = (be || "").length > 0, je = be || "", Re = c && (r === "XL" || e === "textarea") && !p, Ke = Se(
2216
2216
  (G) => {
2217
2217
  var U;
2218
2218
  i || s || (g == null || g(), (U = S == null ? void 0 : S.onFocus) == null || U.call(
@@ -2221,12 +2221,12 @@ const Fe = Object.assign(ks, {
2221
2221
  ));
2222
2222
  },
2223
2223
  [g, S, i, s]
2224
- ), Vt = St(
2224
+ ), Ve = Se(
2225
2225
  (G) => {
2226
2226
  var U;
2227
2227
  if (G.key === "Tab") {
2228
- const ht = G.target.closest(`.${N.wrapper}`);
2229
- ht && ht.classList.add(N.tabFocused);
2228
+ const he = G.target.closest(`.${I.wrapper}`);
2229
+ he && he.classList.add(I.tabFocused);
2230
2230
  }
2231
2231
  (U = S == null ? void 0 : S.onKeyUp) == null || U.call(
2232
2232
  S,
@@ -2234,49 +2234,49 @@ const Fe = Object.assign(ks, {
2234
2234
  );
2235
2235
  },
2236
2236
  [S]
2237
- ), Qt = St(
2237
+ ), Qe = Se(
2238
2238
  (G) => {
2239
- var ht;
2240
- const U = G.target.closest(`.${N.wrapper}`);
2241
- U && U.classList.remove(N.tabFocused), y == null || y(), (ht = S == null ? void 0 : S.onBlur) == null || ht.call(
2239
+ var he;
2240
+ const U = G.target.closest(`.${I.wrapper}`);
2241
+ U && U.classList.remove(I.tabFocused), y == null || y(), (he = S == null ? void 0 : S.onBlur) == null || he.call(
2242
2242
  S,
2243
2243
  G
2244
2244
  );
2245
2245
  },
2246
2246
  [y, S]
2247
- ), te = St(
2247
+ ), et = Se(
2248
2248
  (G) => {
2249
- var ht;
2249
+ var he;
2250
2250
  if (i || s) return;
2251
2251
  const U = G.target.value;
2252
- Et(U), v == null || v(U, G), (ht = S == null ? void 0 : S.onChange) == null || ht.call(
2252
+ Ee(U), w == null || w(U, G), (he = S == null ? void 0 : S.onChange) == null || he.call(
2253
2253
  S,
2254
2254
  G
2255
2255
  );
2256
2256
  },
2257
- [v, S, i, s]
2257
+ [w, S, i, s]
2258
2258
  );
2259
- return lt(() => {
2260
- Et(u || "");
2261
- }, [u]), /* @__PURE__ */ n.jsx(
2262
- Fe.Wrapper,
2259
+ return le(() => {
2260
+ Ee(d || "");
2261
+ }, [d]), /* @__PURE__ */ n.jsx(
2262
+ Ft.Wrapper,
2263
2263
  {
2264
- ref: tt,
2264
+ ref: ee,
2265
2265
  size: r,
2266
2266
  error: o,
2267
2267
  disabled: i || s,
2268
2268
  loading: s,
2269
- className: $(a, t === "textarea" && N["textarea-wrapper"]),
2270
- wrapperProps: w,
2269
+ className: $(a, e === "textarea" && I["textarea-wrapper"]),
2270
+ wrapperProps: v,
2271
2271
  wrapperStyles: L,
2272
- floatingLabelStyles: E,
2273
- prefixStyles: k,
2274
- suffixStyles: T,
2272
+ floatingLabelStyles: T,
2273
+ prefixStyles: j,
2274
+ suffixStyles: R,
2275
2275
  labelProps: A,
2276
2276
  helperProps: W,
2277
2277
  showLimit: q,
2278
2278
  maxLength: P,
2279
- hint: I,
2279
+ hint: O,
2280
2280
  showHint: z,
2281
2281
  showHintOnEmpty: F,
2282
2282
  prefix: p,
@@ -2285,35 +2285,35 @@ const Fe = Object.assign(ks, {
2285
2285
  placeholder: l,
2286
2286
  showLabel: c,
2287
2287
  labelClassName: _,
2288
- hasValue: Tt,
2288
+ hasValue: Te,
2289
2289
  helper: f,
2290
- id: mt,
2291
- value: jt,
2292
- showGrip: ct,
2290
+ id: me,
2291
+ value: je,
2292
+ showGrip: ce,
2293
2293
  resize: Q,
2294
- ...at,
2294
+ ...ae,
2295
2295
  children: /* @__PURE__ */ n.jsx(
2296
- Fe,
2296
+ Ft,
2297
2297
  {
2298
- component: t,
2298
+ component: e,
2299
2299
  size: r,
2300
- value: jt,
2300
+ value: je,
2301
2301
  placeholder: l,
2302
2302
  disabled: i,
2303
2303
  loading: s,
2304
- onFocus: Kt,
2305
- onBlur: Qt,
2306
- onChange: te,
2304
+ onFocus: Ke,
2305
+ onBlur: Qe,
2306
+ onChange: et,
2307
2307
  onKeyDown: C,
2308
- onKeyUp: Vt,
2308
+ onKeyUp: Ve,
2309
2309
  maxLength: P,
2310
2310
  truncate: X,
2311
- "data-empty": !Tt,
2312
- shouldShowFloatingLabelClass: Rt,
2313
- style: t === "textarea" ? O : void 0,
2311
+ "data-empty": !Te,
2312
+ shouldShowFloatingLabelClass: Re,
2313
+ style: e === "textarea" ? E : void 0,
2314
2314
  "aria-invalid": !!o,
2315
- "aria-errormessage": o ? `${mt}-error` : void 0,
2316
- id: mt,
2315
+ "aria-errormessage": o ? `${me}-error` : void 0,
2316
+ id: me,
2317
2317
  resize: Q,
2318
2318
  ...S
2319
2319
  }
@@ -2326,8 +2326,8 @@ const Fe = Object.assign(ks, {
2326
2326
  M: "M",
2327
2327
  L: "L",
2328
2328
  XL: "XL"
2329
- }, $s = (t, r, a, o) => {
2330
- switch (t) {
2329
+ }, $s = (e, r, a, o) => {
2330
+ switch (e) {
2331
2331
  case H.XL:
2332
2332
  return r && a ? "8px 16px 8px 16px" : "16px 16px 16px 16px";
2333
2333
  case H.L:
@@ -2339,8 +2339,8 @@ const Fe = Object.assign(ks, {
2339
2339
  default:
2340
2340
  return "12px 16px 12px 16px";
2341
2341
  }
2342
- }, Es = (t) => {
2343
- switch (t) {
2342
+ }, Es = (e) => {
2343
+ switch (e) {
2344
2344
  case H.XL:
2345
2345
  return "56px";
2346
2346
  case H.L:
@@ -2352,8 +2352,8 @@ const Fe = Object.assign(ks, {
2352
2352
  default:
2353
2353
  return "48px";
2354
2354
  }
2355
- }, Ts = (t) => {
2356
- switch (t) {
2355
+ }, Ts = (e) => {
2356
+ switch (e) {
2357
2357
  case H.S:
2358
2358
  case H.M:
2359
2359
  case H.L:
@@ -2363,8 +2363,8 @@ const Fe = Object.assign(ks, {
2363
2363
  default:
2364
2364
  return 8;
2365
2365
  }
2366
- }, Rs = (t) => {
2367
- switch (t) {
2366
+ }, Rs = (e) => {
2367
+ switch (e) {
2368
2368
  case H.S:
2369
2369
  case H.M:
2370
2370
  return 8;
@@ -2374,10 +2374,10 @@ const Fe = Object.assign(ks, {
2374
2374
  default:
2375
2375
  return 12;
2376
2376
  }
2377
- }, Ns = (t, r, a, o) => ({
2377
+ }, Ns = (e, r, a, o) => ({
2378
2378
  wrapperStyles: {
2379
- minHeight: t,
2380
- maxHeight: t,
2379
+ minHeight: e,
2380
+ maxHeight: e,
2381
2381
  boxSizing: "border-box",
2382
2382
  padding: r
2383
2383
  },
@@ -2394,11 +2394,11 @@ const Fe = Object.assign(ks, {
2394
2394
  padding: "6px",
2395
2395
  cursor: "pointer"
2396
2396
  }
2397
- }), Is = (t, r, a, o) => ({
2397
+ }), Is = (e, r, a, o) => ({
2398
2398
  wrapperStyles: {
2399
- height: t,
2400
- minHeight: t,
2401
- maxHeight: t,
2399
+ height: e,
2400
+ minHeight: e,
2401
+ maxHeight: e,
2402
2402
  boxSizing: "border-box",
2403
2403
  padding: r
2404
2404
  },
@@ -2416,10 +2416,10 @@ const Fe = Object.assign(ks, {
2416
2416
  padding: "8px",
2417
2417
  cursor: "pointer"
2418
2418
  }
2419
- }), Ms = (t, r, a, o) => ({
2419
+ }), Ms = (e, r, a, o) => ({
2420
2420
  wrapperStyles: {
2421
- minHeight: t,
2422
- maxHeight: t,
2421
+ minHeight: e,
2422
+ maxHeight: e,
2423
2423
  boxSizing: "border-box",
2424
2424
  padding: r
2425
2425
  },
@@ -2439,10 +2439,10 @@ const Fe = Object.assign(ks, {
2439
2439
  alignItems: "center",
2440
2440
  justifyContent: "center"
2441
2441
  }
2442
- }), Os = (t, r, a, o) => ({
2442
+ }), Os = (e, r, a, o) => ({
2443
2443
  wrapperStyles: {
2444
- minHeight: t,
2445
- maxHeight: t,
2444
+ minHeight: e,
2445
+ maxHeight: e,
2446
2446
  boxSizing: "border-box",
2447
2447
  padding: r
2448
2448
  },
@@ -2459,9 +2459,9 @@ const Fe = Object.assign(ks, {
2459
2459
  padding: "6px",
2460
2460
  cursor: "pointer"
2461
2461
  }
2462
- }), As = (t, r, a, o) => {
2463
- const i = Es(t), s = $s(t, r, a, o), l = Rs(t), c = Ts(t);
2464
- switch (t) {
2462
+ }), As = (e, r, a, o) => {
2463
+ const i = Es(e), s = $s(e, r, a, o), l = Rs(e), c = Ts(e);
2464
+ switch (e) {
2465
2465
  case H.XL:
2466
2466
  return Is(i, s, l, c);
2467
2467
  case H.L:
@@ -2480,7 +2480,7 @@ const Fe = Object.assign(ks, {
2480
2480
  }
2481
2481
  }, ql = K(
2482
2482
  ({
2483
- value: t = "",
2483
+ value: e = "",
2484
2484
  onChange: r,
2485
2485
  type: a = "text",
2486
2486
  placeholder: o,
@@ -2497,43 +2497,43 @@ const Fe = Object.assign(ks, {
2497
2497
  prefix: y,
2498
2498
  suffix: C,
2499
2499
  clearable: x = !1,
2500
- id: v,
2501
- showLabel: u = !0,
2502
- onFocus: w,
2500
+ id: w,
2501
+ showLabel: d = !0,
2502
+ onFocus: v,
2503
2503
  onBlur: L,
2504
- onSuffixClick: E,
2505
- onClear: k,
2506
- className: T,
2507
- truncate: O = !0,
2504
+ onSuffixClick: T,
2505
+ onClear: j,
2506
+ className: R,
2507
+ truncate: E = !0,
2508
2508
  hint: A,
2509
2509
  showHint: W = !1,
2510
2510
  showHintOnEmpty: q = !1,
2511
2511
  wrapperProps: P,
2512
2512
  labelProps: S,
2513
- helperProps: I,
2513
+ helperProps: O,
2514
2514
  ...z
2515
2515
  }, F) => {
2516
- const X = (t || "").length > 0, Q = _ === H.XL, ct = !!y, at = Q && u && !y, tt = x && X && !(h || m), et = () => {
2517
- r == null || r(""), k == null || k();
2518
- }, mt = () => {
2519
- tt && et(), E == null || E();
2520
- }, zt = tt ? /* @__PURE__ */ n.jsx(
2521
- Je,
2516
+ const X = (e || "").length > 0, Q = _ === H.XL, ce = !!y, ae = Q && d && !y, ee = x && X && !(h || m), te = () => {
2517
+ r == null || r(""), j == null || j();
2518
+ }, me = () => {
2519
+ ee && te(), T == null || T();
2520
+ }, ze = ee ? /* @__PURE__ */ n.jsx(
2521
+ Jt,
2522
2522
  {
2523
2523
  size: _ === H.S || _ === H.M ? "xs" : "sm",
2524
2524
  color: "var(--icon-secondary)",
2525
2525
  style: { cursor: "pointer" },
2526
2526
  "data-testid": "x-icon"
2527
2527
  }
2528
- ) : C, Et = {
2528
+ ) : C, Ee = {
2529
2529
  type: a,
2530
2530
  minLength: s,
2531
2531
  autoComplete: l,
2532
2532
  autoFocus: c,
2533
2533
  ...f
2534
- }, bt = As(_, at, X, ct);
2534
+ }, be = As(_, ae, X, ce);
2535
2535
  return /* @__PURE__ */ n.jsx(
2536
- Qe,
2536
+ Qt,
2537
2537
  {
2538
2538
  size: _,
2539
2539
  error: p,
@@ -2541,165 +2541,165 @@ const Fe = Object.assign(ks, {
2541
2541
  loading: m,
2542
2542
  helper: g,
2543
2543
  prefix: y,
2544
- suffix: zt,
2545
- id: v,
2546
- showLabel: at,
2547
- onFocus: w,
2544
+ suffix: ze,
2545
+ id: w,
2546
+ showLabel: ae,
2547
+ onFocus: v,
2548
2548
  onBlur: L,
2549
- onSuffixClick: mt,
2549
+ onSuffixClick: me,
2550
2550
  onChange: r,
2551
- value: t,
2551
+ value: e,
2552
2552
  placeholder: o,
2553
- className: T,
2554
- wrapperStyles: bt.wrapperStyles,
2555
- floatingLabelStyles: bt.floatingLabelStyles,
2556
- prefixStyles: bt.prefixStyles,
2557
- suffixStyles: bt.suffixStyles,
2553
+ className: R,
2554
+ wrapperStyles: be.wrapperStyles,
2555
+ floatingLabelStyles: be.floatingLabelStyles,
2556
+ prefixStyles: be.prefixStyles,
2557
+ suffixStyles: be.suffixStyles,
2558
2558
  wrapperProps: P,
2559
2559
  labelProps: S,
2560
- helperProps: I,
2560
+ helperProps: O,
2561
2561
  showLimit: !1,
2562
2562
  maxLength: i,
2563
- inputProps: Et,
2563
+ inputProps: Ee,
2564
2564
  hint: A,
2565
2565
  showHint: W,
2566
2566
  showHintOnEmpty: q,
2567
- truncate: O,
2567
+ truncate: E,
2568
2568
  ...z
2569
2569
  }
2570
2570
  );
2571
2571
  }
2572
- ), ut = {
2572
+ ), ue = {
2573
2573
  M: "M",
2574
2574
  L: "L"
2575
- }, Ut = {
2575
+ }, Ue = {
2576
2576
  M: "12px",
2577
2577
  L: "16px"
2578
2578
  }, Ps = {
2579
2579
  M: "xs",
2580
2580
  L: "sm"
2581
- }, Zt = {
2581
+ }, Ze = {
2582
2582
  FILL: "fill",
2583
2583
  FIXED: "fixed"
2584
- }, ce = {
2584
+ }, ct = {
2585
2585
  M: "112px",
2586
2586
  L: "56px"
2587
- }, Ot = {
2587
+ }, Oe = {
2588
2588
  M: "48px",
2589
2589
  L: "22px"
2590
- }, vt = {
2590
+ }, ve = {
2591
2591
  M: "12px 12px 12px 12px",
2592
2592
  L: "16px 16px 16px 16px",
2593
2593
  L_WITH_PREFIX: "12px 16px 12px 16px",
2594
2594
  L_FLOATING_LABEL: "8px 16px 8px 16px"
2595
- }, Ct = {
2595
+ }, Ce = {
2596
2596
  M: 48,
2597
2597
  L: 56,
2598
2598
  XL: 112
2599
- }, Bs = (t, r) => {
2600
- if (t === ut.M)
2601
- return ce.M;
2599
+ }, Bs = (e, r) => {
2600
+ if (e === ue.M)
2601
+ return ct.M;
2602
2602
  if (r)
2603
2603
  return `${r}px`;
2604
- switch (t) {
2605
- case ut.L:
2606
- return ce.L;
2604
+ switch (e) {
2605
+ case ue.L:
2606
+ return ct.L;
2607
2607
  default:
2608
- return ce.L;
2608
+ return ct.L;
2609
2609
  }
2610
- }, zs = (t, r) => {
2611
- if (t === ut.M)
2612
- return Ot.M;
2610
+ }, zs = (e, r) => {
2611
+ if (e === ue.M)
2612
+ return Oe.M;
2613
2613
  if (r)
2614
2614
  switch (r) {
2615
- case Ct.M:
2616
- case Ct.L:
2617
- return Ot.L;
2618
- case Ct.XL:
2619
- return Ot.M;
2615
+ case Ce.M:
2616
+ case Ce.L:
2617
+ return Oe.L;
2618
+ case Ce.XL:
2619
+ return Oe.M;
2620
2620
  default:
2621
- return Ot.L;
2621
+ return Oe.L;
2622
2622
  }
2623
- switch (t) {
2624
- case ut.L:
2625
- return Ot.L;
2623
+ switch (e) {
2624
+ case ue.L:
2625
+ return Oe.L;
2626
2626
  default:
2627
- return Ot.L;
2627
+ return Oe.L;
2628
2628
  }
2629
- }, Ds = (t, r, a) => {
2630
- if (t === ut.M)
2631
- return vt.M;
2629
+ }, Ds = (e, r, a) => {
2630
+ if (e === ue.M)
2631
+ return ve.M;
2632
2632
  if (r)
2633
2633
  switch (r) {
2634
- case Ct.M:
2635
- return vt.L_WITH_PREFIX;
2636
- case Ct.L:
2637
- return a ? vt.L_FLOATING_LABEL : vt.L;
2638
- case Ct.XL:
2639
- return vt.L;
2634
+ case Ce.M:
2635
+ return ve.L_WITH_PREFIX;
2636
+ case Ce.L:
2637
+ return a ? ve.L_FLOATING_LABEL : ve.L;
2638
+ case Ce.XL:
2639
+ return ve.L;
2640
2640
  default:
2641
- return vt.L;
2641
+ return ve.L;
2642
2642
  }
2643
- switch (t) {
2644
- case ut.L:
2645
- return a ? vt.L_FLOATING_LABEL : vt.L;
2643
+ switch (e) {
2644
+ case ue.L:
2645
+ return a ? ve.L_FLOATING_LABEL : ve.L;
2646
2646
  default:
2647
- return vt.L;
2647
+ return ve.L;
2648
2648
  }
2649
- }, Ws = (t, r) => {
2650
- if (t === ut.M)
2649
+ }, Ws = (e, r) => {
2650
+ if (e === ue.M)
2651
2651
  return "M";
2652
2652
  if (r)
2653
2653
  switch (r) {
2654
- case Ct.M:
2654
+ case Ce.M:
2655
2655
  return "M";
2656
- case Ct.L:
2656
+ case Ce.L:
2657
2657
  return "L";
2658
- case Ct.XL:
2658
+ case Ce.XL:
2659
2659
  return "L";
2660
2660
  default:
2661
2661
  return "L";
2662
2662
  }
2663
- return t;
2664
- }, Fs = (t) => Ps[t], qs = (t) => Ut[t], Hs = (t, r, a, o) => {
2665
- const i = Bs(t, r), s = zs(t, r), l = Ds(t, r, a);
2663
+ return e;
2664
+ }, Fs = (e) => Ps[e], qs = (e) => Ue[e], Hs = (e, r, a, o) => {
2665
+ const i = Bs(e, r), s = zs(e, r), l = Ds(e, r, a);
2666
2666
  return {
2667
2667
  wrapperStyles: {
2668
2668
  minHeight: i,
2669
2669
  // Для fill resize устанавливаем height: 100%
2670
- ...o === Zt.FILL && { height: "100%" },
2670
+ ...o === Ze.FILL && { height: "100%" },
2671
2671
  // Для fixed resize устанавливаем фиксированную высоту
2672
- ...o === Zt.FIXED && r && { height: i },
2672
+ ...o === Ze.FIXED && r && { height: i },
2673
2673
  boxSizing: "border-box",
2674
2674
  padding: l
2675
2675
  },
2676
2676
  floatingLabelStyles: {
2677
- left: t === ut.M ? Ut.M : Ut.L,
2677
+ left: e === ue.M ? Ue.M : Ue.L,
2678
2678
  transformOrigin: "left top",
2679
- top: r === 112 && a && t === ut.L ? Ut.L : void 0
2679
+ top: r === 112 && a && e === ue.L ? Ue.L : void 0
2680
2680
  },
2681
2681
  suffixStyles: {
2682
- right: qs(t),
2683
- top: r === 48 && t === ut.L ? "11px" : void 0,
2682
+ right: qs(e),
2683
+ top: r === 48 && e === ue.L ? "11px" : void 0,
2684
2684
  boxSizing: "border-box"
2685
2685
  },
2686
2686
  textareaStyles: {
2687
2687
  minHeight: s,
2688
2688
  // Для fill resize flex: 1
2689
- ...o === Zt.FILL && { flex: 1, minHeight: 0 },
2689
+ ...o === Ze.FILL && { flex: 1, minHeight: 0 },
2690
2690
  // Для fixed resize фиксированная высота
2691
- ...o === Zt.FIXED && r && { height: s }
2691
+ ...o === Ze.FIXED && r && { height: s }
2692
2692
  }
2693
2693
  };
2694
2694
  }, Hl = K(
2695
2695
  ({
2696
- value: t = "",
2696
+ value: e = "",
2697
2697
  onChange: r,
2698
2698
  placeholder: a,
2699
2699
  maxLength: o,
2700
2700
  minLength: i,
2701
2701
  autoFocus: s,
2702
- size: l = ut.L,
2702
+ size: l = ue.L,
2703
2703
  textareaProps: c,
2704
2704
  error: _,
2705
2705
  disabled: f,
@@ -2710,83 +2710,83 @@ const Fe = Object.assign(ks, {
2710
2710
  id: y,
2711
2711
  showLabel: C = !0,
2712
2712
  onFocus: x,
2713
- onBlur: v,
2714
- onClear: u,
2715
- onKeyDown: w,
2713
+ onBlur: w,
2714
+ onClear: d,
2715
+ onKeyDown: v,
2716
2716
  className: L,
2717
- rows: E = 1,
2718
- showLimit: k = !1,
2719
- wrapperProps: T,
2720
- labelProps: O,
2717
+ rows: T = 1,
2718
+ showLimit: j = !1,
2719
+ wrapperProps: R,
2720
+ labelProps: E,
2721
2721
  helperProps: A,
2722
2722
  showGrip: W,
2723
2723
  minHeight: q,
2724
2724
  resize: P,
2725
2725
  ...S
2726
- }, I) => {
2727
- const z = (t || "").length > 0, F = C && !!a && (l === ut.M || q !== 48), X = g && z && !(f || p), Q = () => {
2728
- r == null || r(""), u == null || u();
2729
- }, ct = () => {
2726
+ }, O) => {
2727
+ const z = (e || "").length > 0, F = C && !!a && (l === ue.M || q !== 48), X = g && z && !(f || p), Q = () => {
2728
+ r == null || r(""), d == null || d();
2729
+ }, ce = () => {
2730
2730
  X && Q();
2731
- }, at = X ? /* @__PURE__ */ n.jsx(
2732
- Je,
2731
+ }, ae = X ? /* @__PURE__ */ n.jsx(
2732
+ Jt,
2733
2733
  {
2734
2734
  size: Fs(l),
2735
2735
  color: "var(--icon-secondary)",
2736
2736
  style: { cursor: "pointer" },
2737
2737
  "data-testid": "x-icon"
2738
2738
  }
2739
- ) : m, tt = Hs(l, q, F && z, P), et = Ws(l, q), mt = {
2740
- rows: E,
2739
+ ) : m, ee = Hs(l, q, F && z, P), te = Ws(l, q), me = {
2740
+ rows: T,
2741
2741
  minLength: i,
2742
2742
  autoFocus: s,
2743
2743
  resize: P,
2744
2744
  ...c
2745
2745
  };
2746
2746
  return /* @__PURE__ */ n.jsx(
2747
- Qe,
2747
+ Qt,
2748
2748
  {
2749
- ref: I,
2749
+ ref: O,
2750
2750
  component: "textarea",
2751
- size: et,
2751
+ size: te,
2752
2752
  error: _,
2753
2753
  disabled: f || p,
2754
2754
  loading: p,
2755
- onSuffixClick: ct,
2755
+ onSuffixClick: ce,
2756
2756
  helper: h,
2757
- suffix: at,
2757
+ suffix: ae,
2758
2758
  id: y,
2759
2759
  showLabel: F,
2760
2760
  onFocus: x,
2761
- onBlur: v,
2762
- onKeyDown: w,
2761
+ onBlur: w,
2762
+ onKeyDown: v,
2763
2763
  onChange: r,
2764
- value: t || "",
2764
+ value: e || "",
2765
2765
  placeholder: a,
2766
2766
  className: L,
2767
2767
  "data-floating-label": F,
2768
- wrapperStyles: tt.wrapperStyles,
2769
- floatingLabelStyles: tt.floatingLabelStyles,
2770
- suffixStyles: tt.suffixStyles,
2771
- textareaStyles: tt.textareaStyles,
2772
- wrapperProps: T,
2773
- labelProps: O,
2768
+ wrapperStyles: ee.wrapperStyles,
2769
+ floatingLabelStyles: ee.floatingLabelStyles,
2770
+ suffixStyles: ee.suffixStyles,
2771
+ textareaStyles: ee.textareaStyles,
2772
+ wrapperProps: R,
2773
+ labelProps: E,
2774
2774
  helperProps: A,
2775
- showLimit: k && (q === 112 || l === ut.M),
2775
+ showLimit: j && (q === 112 || l === ue.M),
2776
2776
  maxLength: o,
2777
- inputProps: mt,
2777
+ inputProps: me,
2778
2778
  resize: P,
2779
2779
  showGrip: W,
2780
2780
  ...S
2781
2781
  }
2782
2782
  );
2783
2783
  }
2784
- ), Vs = "_helper_1jq7j_16", de = {
2784
+ ), Vs = "_helper_1jq7j_16", dt = {
2785
2785
  helper: Vs,
2786
2786
  "helper--error": "_helper--error_1jq7j_28",
2787
2787
  "helper--disabled": "_helper--disabled_1jq7j_33"
2788
2788
  }, Vl = ({
2789
- title: t,
2789
+ title: e,
2790
2790
  error: r,
2791
2791
  className: a = "",
2792
2792
  style: o,
@@ -2796,11 +2796,11 @@ const Fe = Object.assign(ks, {
2796
2796
  "aria-describedby": c
2797
2797
  }) => {
2798
2798
  const _ = !!r, f = $(
2799
- de.helper,
2800
- _ && de["helper--error"],
2801
- i && de["helper--disabled"],
2799
+ dt.helper,
2800
+ _ && dt["helper--error"],
2801
+ i && dt["helper--disabled"],
2802
2802
  a
2803
- ), p = i ? t : r || t;
2803
+ ), p = i ? e : r || e;
2804
2804
  return /* @__PURE__ */ n.jsx(
2805
2805
  "div",
2806
2806
  {
@@ -2812,7 +2812,7 @@ const Fe = Object.assign(ks, {
2812
2812
  children: /* @__PURE__ */ n.jsx("p", { children: p })
2813
2813
  }
2814
2814
  );
2815
- }, Xs = "_radio_1q34w_54", Ys = "_checked_1q34w_75", Zs = "_error_1q34w_80", Gs = "_disabled_1q34w_89", Us = "_icon_1q34w_125", Js = "_small_1q34w_133", Ks = "_medium_1q34w_140", Qs = "_large_1q34w_147", ti = "_label_1q34w_154", ei = "_container_1q34w_180", ri = "_input_1q34w_193", ai = "_card_1q34w_200", oi = "_smallCard_1q34w_206", ni = "_mediumCard_1q34w_210", si = "_largeCard_1q34w_214", dt = {
2815
+ }, Xs = "_radio_1q34w_54", Ys = "_checked_1q34w_75", Zs = "_error_1q34w_80", Gs = "_disabled_1q34w_89", Us = "_icon_1q34w_125", Js = "_small_1q34w_133", Ks = "_medium_1q34w_140", Qs = "_large_1q34w_147", ei = "_label_1q34w_154", ti = "_container_1q34w_180", ri = "_input_1q34w_193", ai = "_card_1q34w_200", oi = "_smallCard_1q34w_206", ni = "_mediumCard_1q34w_210", si = "_largeCard_1q34w_214", de = {
2816
2816
  radio: Xs,
2817
2817
  checked: Ys,
2818
2818
  error: Zs,
@@ -2821,15 +2821,15 @@ const Fe = Object.assign(ks, {
2821
2821
  small: Js,
2822
2822
  medium: Ks,
2823
2823
  large: Qs,
2824
- label: ti,
2825
- container: ei,
2824
+ label: ei,
2825
+ container: ti,
2826
2826
  input: ri,
2827
2827
  card: ai,
2828
2828
  smallCard: oi,
2829
2829
  mediumCard: ni,
2830
2830
  largeCard: si
2831
- }, ii = "radio-container-", li = "radio-label", tr = K(
2832
- (t, r) => {
2831
+ }, ii = "radio-container-", li = "radio-label", er = K(
2832
+ (e, r) => {
2833
2833
  const {
2834
2834
  name: a,
2835
2835
  id: o,
@@ -2846,24 +2846,24 @@ const Fe = Object.assign(ks, {
2846
2846
  mode: y = "default",
2847
2847
  tabIndex: C,
2848
2848
  style: x,
2849
- containerStyle: v,
2850
- onChange: u,
2851
- "data-testid": w,
2849
+ containerStyle: w,
2850
+ onChange: d,
2851
+ "data-testid": v,
2852
2852
  ...L
2853
- } = t, E = !!c, k = _ || l, T = g === "all", O = y === "card", A = dt[`${s}Card`], W = o ?? a, q = (F) => {
2854
- k || u == null || u(i, F);
2853
+ } = e, T = !!c, j = _ || l, R = g === "all", E = y === "card", A = de[`${s}Card`], W = o ?? a, q = (F) => {
2854
+ j || d == null || d(i, F);
2855
2855
  }, P = (F) => {
2856
- F.key === "Enter" && !k && (F.preventDefault(), u == null || u(i));
2857
- }, S = (F) => F.stopPropagation(), I = () => /* @__PURE__ */ n.jsxs(
2856
+ F.key === "Enter" && !j && (F.preventDefault(), d == null || d(i));
2857
+ }, S = (F) => F.stopPropagation(), O = () => /* @__PURE__ */ n.jsxs(
2858
2858
  "div",
2859
2859
  {
2860
2860
  className: $(
2861
- dt.radio,
2862
- dt[s],
2861
+ de.radio,
2862
+ de[s],
2863
2863
  {
2864
- [dt.checked]: f,
2865
- [dt.disabled]: k,
2866
- [dt.error]: E && !k
2864
+ [de.checked]: f,
2865
+ [de.disabled]: j,
2866
+ [de.error]: T && !j
2867
2867
  },
2868
2868
  h
2869
2869
  ),
@@ -2875,11 +2875,11 @@ const Fe = Object.assign(ks, {
2875
2875
  "input",
2876
2876
  {
2877
2877
  "aria-errormessage": c,
2878
- "aria-invalid": E,
2878
+ "aria-invalid": T,
2879
2879
  checked: f,
2880
- className: dt.input,
2880
+ className: de.input,
2881
2881
  "data-testid": `radio-${W}`,
2882
- disabled: k,
2882
+ disabled: j,
2883
2883
  id: W,
2884
2884
  name: a,
2885
2885
  ref: r,
@@ -2889,36 +2889,36 @@ const Fe = Object.assign(ks, {
2889
2889
  onClick: S
2890
2890
  }
2891
2891
  ),
2892
- /* @__PURE__ */ n.jsx("svg", { "data-testid": `radio-icon-${W}`, viewBox: "0 0 8 8", className: dt.icon, children: /* @__PURE__ */ n.jsx("circle", { cx: 4, cy: 4, fill: "current", r: 4 }) })
2892
+ /* @__PURE__ */ n.jsx("svg", { "data-testid": `radio-icon-${W}`, viewBox: "0 0 8 8", className: de.icon, children: /* @__PURE__ */ n.jsx("circle", { cx: 4, cy: 4, fill: "current", r: 4 }) })
2893
2893
  ]
2894
2894
  }
2895
2895
  ), z = () => /* @__PURE__ */ n.jsxs(
2896
2896
  "label",
2897
2897
  {
2898
2898
  "aria-checked": f,
2899
- "aria-disabled": k,
2900
- "data-testid": T ? w : li,
2899
+ "aria-disabled": j,
2900
+ "data-testid": R ? v : li,
2901
2901
  htmlFor: W,
2902
- style: v,
2903
- className: $(dt.label, {
2904
- [$(dt.container, dt[y], p)]: T,
2905
- [A]: T && O
2902
+ style: w,
2903
+ className: $(de.label, {
2904
+ [$(de.container, de[y], p)]: R,
2905
+ [A]: R && E
2906
2906
  }),
2907
2907
  onKeyDown: P,
2908
2908
  ...L,
2909
2909
  children: [
2910
- I(),
2911
- T && m
2910
+ O(),
2911
+ R && m
2912
2912
  ]
2913
2913
  }
2914
2914
  );
2915
- return T ? z() : /* @__PURE__ */ n.jsxs(
2915
+ return R ? z() : /* @__PURE__ */ n.jsxs(
2916
2916
  "div",
2917
2917
  {
2918
- className: $(dt.container, dt[y], p, {
2919
- [A]: O
2918
+ className: $(de.container, de[y], p, {
2919
+ [A]: E
2920
2920
  }),
2921
- "data-testid": w,
2921
+ "data-testid": v,
2922
2922
  children: [
2923
2923
  z(),
2924
2924
  m
@@ -2926,12 +2926,12 @@ const Fe = Object.assign(ks, {
2926
2926
  }
2927
2927
  );
2928
2928
  }
2929
- ), ci = "_group_o6mjt_7", di = "_vertical_o6mjt_12", ui = "_horizontal_o6mjt_16", qe = {
2929
+ ), ci = "_group_o6mjt_7", di = "_vertical_o6mjt_12", ui = "_horizontal_o6mjt_16", qt = {
2930
2930
  group: ci,
2931
2931
  vertical: di,
2932
2932
  horizontal: ui
2933
2933
  }, _i = K(
2934
- (t, r) => {
2934
+ (e, r) => {
2935
2935
  const {
2936
2936
  id: a,
2937
2937
  name: o,
@@ -2943,18 +2943,18 @@ const Fe = Object.assign(ks, {
2943
2943
  layout: f = "vertical",
2944
2944
  "data-testid": p,
2945
2945
  ...h
2946
- } = t;
2946
+ } = e;
2947
2947
  return /* @__PURE__ */ n.jsx(
2948
2948
  "div",
2949
2949
  {
2950
- className: Lt(qe.group, qe[f], l),
2950
+ className: Le(qt.group, qt[f], l),
2951
2951
  "data-testid": p ?? `radio-group-${o}`,
2952
2952
  id: a,
2953
2953
  ref: r,
2954
2954
  children: s.map(({ label: m, value: g, disabled: y }) => {
2955
2955
  const C = `${o}-${String(g)}`, x = String(g) === String(i);
2956
2956
  return /* @__PURE__ */ n.jsx(
2957
- tr,
2957
+ er,
2958
2958
  {
2959
2959
  id: C,
2960
2960
  checked: x,
@@ -2972,9 +2972,9 @@ const Fe = Object.assign(ks, {
2972
2972
  }
2973
2973
  );
2974
2974
  }
2975
- ), Xl = Object.assign(tr, {
2975
+ ), Xl = Object.assign(er, {
2976
2976
  Group: _i
2977
- }), pi = "_root_1jj3e_25", fi = "_unordered_1jj3e_39", gi = "_ordered_1jj3e_43", bi = "_sm_1jj3e_48", hi = "_md_1jj3e_59", mi = "_lg_1jj3e_70", yi = "_xl_1jj3e_81", ue = {
2977
+ }), pi = "_root_1jj3e_25", fi = "_unordered_1jj3e_39", gi = "_ordered_1jj3e_43", bi = "_sm_1jj3e_48", hi = "_md_1jj3e_59", mi = "_lg_1jj3e_70", yi = "_xl_1jj3e_81", ut = {
2978
2978
  root: pi,
2979
2979
  unordered: fi,
2980
2980
  ordered: gi,
@@ -2982,11 +2982,11 @@ const Fe = Object.assign(ks, {
2982
2982
  md: hi,
2983
2983
  lg: mi,
2984
2984
  xl: yi
2985
- }, xi = (t) => {
2986
- const { children: r, className: a, "data-testid": o = "list-item" } = t;
2985
+ }, xi = (e) => {
2986
+ const { children: r, className: a, "data-testid": o = "list-item" } = e;
2987
2987
  return /* @__PURE__ */ n.jsx("li", { "data-testid": o, className: a, children: r });
2988
2988
  }, Yl = Object.assign(
2989
- K((t, r) => {
2989
+ K((e, r) => {
2990
2990
  const {
2991
2991
  variant: a = "unordered",
2992
2992
  className: o,
@@ -2994,20 +2994,20 @@ const Fe = Object.assign(ks, {
2994
2994
  size: s = "md",
2995
2995
  "data-testid": l = "list",
2996
2996
  ...c
2997
- } = t, _ = a === "ordered" ? "ol" : "ul";
2997
+ } = e, _ = a === "ordered" ? "ol" : "ul";
2998
2998
  return /* @__PURE__ */ n.jsx(
2999
2999
  _,
3000
3000
  {
3001
3001
  "data-testid": l,
3002
3002
  ref: r,
3003
- className: Lt(ue.root, ue[a], ue[s], o),
3003
+ className: Le(ut.root, ut[a], ut[s], o),
3004
3004
  ...a === "ordered" && c,
3005
3005
  children: i
3006
3006
  }
3007
3007
  );
3008
3008
  }),
3009
3009
  { Item: xi }
3010
- ), vi = "_wrapper_1v8xn_5", wi = "_viewport_1v8xn_12", Ci = "_mask_1v8xn_26", Si = "_maskLeft_1v8xn_37", Li = "_maskRight_1v8xn_42", ji = "_visible_1v8xn_46", ki = "_control_1v8xn_51", $i = "_xs_1v8xn_70", Ei = "_sm_1v8xn_73", Ti = "_md_1v8xn_76", Ri = "_left_1v8xn_80", Ni = "_right_1v8xn_83", nt = {
3010
+ ), vi = "_wrapper_1v8xn_5", wi = "_viewport_1v8xn_12", Ci = "_mask_1v8xn_26", Si = "_maskLeft_1v8xn_37", Li = "_maskRight_1v8xn_42", ji = "_visible_1v8xn_46", ki = "_control_1v8xn_51", $i = "_xs_1v8xn_70", Ei = "_sm_1v8xn_73", Ti = "_md_1v8xn_76", Ri = "_left_1v8xn_80", Ni = "_right_1v8xn_83", ne = {
3011
3011
  wrapper: vi,
3012
3012
  viewport: wi,
3013
3013
  mask: Ci,
@@ -3021,19 +3021,19 @@ const Fe = Object.assign(ks, {
3021
3021
  left: Ri,
3022
3022
  right: Ni
3023
3023
  }, Ii = "white", Mi = ({
3024
- children: t,
3024
+ children: e,
3025
3025
  withControls: r = !0,
3026
3026
  className: a,
3027
3027
  size: o
3028
3028
  }) => {
3029
- const i = qt(null), [s, l] = _t(!1), [c, _] = _t(!1), { ref: f, bgColor: p } = fe(), h = f ?? { current: null }, m = p ?? Ii, g = r && s, y = r && c, C = ({ direction: u }) => /* @__PURE__ */ n.jsx(
3029
+ const i = qe(null), [s, l] = _e(!1), [c, _] = _e(!1), { ref: f, bgColor: p } = ft(), h = f ?? { current: null }, m = p ?? Ii, g = r && s, y = r && c, C = ({ direction: d }) => /* @__PURE__ */ n.jsx(
3030
3030
  "svg",
3031
3031
  {
3032
3032
  height: "12px",
3033
3033
  width: "12px",
3034
3034
  viewBox: "0 0 185.343 185.343",
3035
3035
  xmlns: "http://www.w3.org/2000/svg",
3036
- children: /* @__PURE__ */ n.jsx("g", { transform: u === "left" ? "scale(-1,1) translate(-185.343,0)" : void 0, children: /* @__PURE__ */ n.jsx(
3036
+ children: /* @__PURE__ */ n.jsx("g", { transform: d === "left" ? "scale(-1,1) translate(-185.343,0)" : void 0, children: /* @__PURE__ */ n.jsx(
3037
3037
  "path",
3038
3038
  {
3039
3039
  fill: "currentColor",
@@ -3042,35 +3042,35 @@ const Fe = Object.assign(ks, {
3042
3042
  ) })
3043
3043
  }
3044
3044
  ), x = () => {
3045
- const u = i.current;
3046
- if (!u) return;
3047
- const w = Math.round(u.scrollLeft), L = Math.round(u.scrollLeft + u.clientWidth), E = Math.round(u.scrollWidth);
3048
- l(w > 0), _(L < E);
3049
- }, v = (u) => {
3050
- const w = i.current;
3051
- if (!w) return;
3052
- const L = w.clientWidth;
3053
- w.scrollBy({ left: u === "left" ? -L : L, behavior: "smooth" });
3045
+ const d = i.current;
3046
+ if (!d) return;
3047
+ const v = Math.round(d.scrollLeft), L = Math.round(d.scrollLeft + d.clientWidth), T = Math.round(d.scrollWidth);
3048
+ l(v > 0), _(L < T);
3049
+ }, w = (d) => {
3050
+ const v = i.current;
3051
+ if (!v) return;
3052
+ const L = v.clientWidth;
3053
+ v.scrollBy({ left: d === "left" ? -L : L, behavior: "smooth" });
3054
3054
  };
3055
- return lt(() => {
3056
- const u = i.current;
3057
- if (!u) return;
3058
- const w = (L) => {
3059
- Math.abs(L.deltaX) > Math.abs(L.deltaY) || u.scrollWidth > u.clientWidth && (L.preventDefault(), u.scrollBy({ left: L.deltaY, behavior: "auto" }));
3055
+ return le(() => {
3056
+ const d = i.current;
3057
+ if (!d) return;
3058
+ const v = (L) => {
3059
+ Math.abs(L.deltaX) > Math.abs(L.deltaY) || d.scrollWidth > d.clientWidth && (L.preventDefault(), d.scrollBy({ left: L.deltaY, behavior: "auto" }));
3060
3060
  };
3061
- return u.addEventListener("wheel", w, { passive: !1 }), () => u.removeEventListener("wheel", w);
3062
- }, []), lt(() => {
3061
+ return d.addEventListener("wheel", v, { passive: !1 }), () => d.removeEventListener("wheel", v);
3062
+ }, []), le(() => {
3063
3063
  x();
3064
- const u = i.current;
3065
- if (u)
3066
- return u.addEventListener("scroll", x, { passive: !0 }), window.addEventListener("resize", x), () => {
3067
- u.removeEventListener("scroll", x), window.removeEventListener("resize", x);
3064
+ const d = i.current;
3065
+ if (d)
3066
+ return d.addEventListener("scroll", x, { passive: !0 }), window.addEventListener("resize", x), () => {
3067
+ d.removeEventListener("scroll", x), window.removeEventListener("resize", x);
3068
3068
  };
3069
- }, []), /* @__PURE__ */ n.jsxs("div", { ref: h, className: $(nt.wrapper, a), children: [
3069
+ }, []), /* @__PURE__ */ n.jsxs("div", { ref: h, className: $(ne.wrapper, a), children: [
3070
3070
  g && /* @__PURE__ */ n.jsx(
3071
3071
  "div",
3072
3072
  {
3073
- className: $(nt.mask, nt.maskLeft, s && nt.visible),
3073
+ className: $(ne.mask, ne.maskLeft, s && ne.visible),
3074
3074
  style: {
3075
3075
  background: `linear-gradient(to right, ${m} 17%, transparent 80%)`
3076
3076
  }
@@ -3079,21 +3079,21 @@ const Fe = Object.assign(ks, {
3079
3079
  y && /* @__PURE__ */ n.jsx(
3080
3080
  "div",
3081
3081
  {
3082
- className: $(nt.mask, nt.maskRight, c && nt.visible),
3082
+ className: $(ne.mask, ne.maskRight, c && ne.visible),
3083
3083
  style: {
3084
3084
  background: `linear-gradient(to left, ${m} 17%, transparent 80%)`
3085
3085
  }
3086
3086
  }
3087
3087
  ),
3088
- /* @__PURE__ */ n.jsx("div", { ref: i, className: nt.viewport, children: t }),
3088
+ /* @__PURE__ */ n.jsx("div", { ref: i, className: ne.viewport, children: e }),
3089
3089
  g && /* @__PURE__ */ n.jsx(
3090
3090
  "button",
3091
3091
  {
3092
3092
  type: "button",
3093
3093
  tabIndex: -1,
3094
3094
  "aria-hidden": "true",
3095
- className: $(nt.control, nt.left, nt[o]),
3096
- onClick: () => v("left"),
3095
+ className: $(ne.control, ne.left, ne[o]),
3096
+ onClick: () => w("left"),
3097
3097
  children: /* @__PURE__ */ n.jsx(C, { direction: "left" })
3098
3098
  }
3099
3099
  ),
@@ -3103,8 +3103,8 @@ const Fe = Object.assign(ks, {
3103
3103
  type: "button",
3104
3104
  tabIndex: -1,
3105
3105
  "aria-hidden": "true",
3106
- className: $(nt.control, nt.right, nt[o]),
3107
- onClick: () => v("right"),
3106
+ className: $(ne.control, ne.right, ne[o]),
3107
+ onClick: () => w("right"),
3108
3108
  children: /* @__PURE__ */ n.jsx(C, { direction: "right" })
3109
3109
  }
3110
3110
  )
@@ -3122,22 +3122,22 @@ const Fe = Object.assign(ks, {
3122
3122
  tabLabel: Hi,
3123
3123
  tabPrefix: Vi,
3124
3124
  tabPostfix: Xi
3125
- }, Yi = "md", Zi = !1, Gi = 8, Ui = "top-right-inside", er = Ye(null), rr = () => {
3126
- const t = Ze(er);
3127
- if (!t) throw new Error("useTabs должен использоваться внутри TabsProvider");
3128
- return t;
3125
+ }, Yi = "md", Zi = !1, Gi = 8, Ui = "top-right-inside", tr = Yt(null), rr = () => {
3126
+ const e = Zt(tr);
3127
+ if (!e) throw new Error("useTabs должен использоваться внутри TabsProvider");
3128
+ return e;
3129
3129
  }, Ji = ({
3130
- children: t,
3130
+ children: e,
3131
3131
  defaultActiveTab: r,
3132
3132
  activeTab: a,
3133
3133
  onChange: o
3134
3134
  }) => {
3135
- const [i, s] = _t(r), l = a !== void 0, c = l ? a : i, _ = (f) => {
3135
+ const [i, s] = _e(r), l = a !== void 0, c = l ? a : i, _ = (f) => {
3136
3136
  l || s(f), o && o(f);
3137
3137
  };
3138
- return /* @__PURE__ */ n.jsx(er.Provider, { value: { activeTab: c, setTab: _ }, children: t });
3138
+ return /* @__PURE__ */ n.jsx(tr.Provider, { value: { activeTab: c, setTab: _ }, children: e });
3139
3139
  }, Ki = ({
3140
- mode: t,
3140
+ mode: e,
3141
3141
  item: r,
3142
3142
  isActive: a,
3143
3143
  showBadge: o,
@@ -3153,37 +3153,37 @@ const Fe = Object.assign(ks, {
3153
3153
  prefixWrapperProps: h = {},
3154
3154
  postfix: m,
3155
3155
  postfixWrapperProps: g = {}
3156
- } = r, { className: y, ...C } = h, { className: x, ...v } = g, u = {
3157
- primary: it["typography-label-3-medium"],
3158
- secondary: it["typography-label-3-regular"],
3159
- prefix: it["typography-label-3-medium"],
3160
- postfix: it["typography-label-3-medium"]
3161
- }, w = {
3156
+ } = r, { className: y, ...C } = h, { className: x, ...w } = g, d = {
3157
+ primary: ie["typography-label-3-medium"],
3158
+ secondary: ie["typography-label-3-regular"],
3159
+ prefix: ie["typography-label-3-medium"],
3160
+ postfix: ie["typography-label-3-medium"]
3161
+ }, v = {
3162
3162
  size: Gi,
3163
3163
  position: Ui,
3164
3164
  ...i
3165
- }, L = $(J.tab, J[t], J[s], {
3165
+ }, L = $(J.tab, J[e], J[s], {
3166
3166
  [J.selected]: a,
3167
3167
  [J.disabled]: l
3168
- }), E = $(
3168
+ }), T = $(
3169
3169
  J.tabPrefix,
3170
3170
  y,
3171
- J[t],
3172
- u.prefix,
3171
+ J[e],
3172
+ d.prefix,
3173
3173
  {
3174
3174
  [J.selected]: a,
3175
3175
  [J.disabled]: l
3176
3176
  }
3177
- ), k = $(
3177
+ ), j = $(
3178
3178
  J.tabPostfix,
3179
3179
  x,
3180
- J[t],
3181
- u.postfix,
3180
+ J[e],
3181
+ d.postfix,
3182
3182
  {
3183
3183
  [J.selected]: a,
3184
3184
  [J.disabled]: l
3185
3185
  }
3186
- ), T = $(J.tabLabel, J[t], u[t]), O = (W) => {
3186
+ ), R = $(J.tabLabel, J[e], d[e]), E = (W) => {
3187
3187
  a || l || (c(_), W.currentTarget.scrollIntoView({ behavior: "smooth", inline: "center", block: "nearest" }));
3188
3188
  }, A = /* @__PURE__ */ n.jsxs(
3189
3189
  "button",
@@ -3195,23 +3195,23 @@ const Fe = Object.assign(ks, {
3195
3195
  "aria-disabled": l,
3196
3196
  "aria-controls": `tab-panel-${_}`,
3197
3197
  "data-testid": `tab-item-${_}`,
3198
- onClick: O,
3198
+ onClick: E,
3199
3199
  children: [
3200
3200
  p && /* @__PURE__ */ n.jsx(
3201
3201
  "span",
3202
3202
  {
3203
- className: E,
3203
+ className: T,
3204
3204
  ...C,
3205
3205
  "data-testid": `tab-prefix-${_}`,
3206
3206
  children: p
3207
3207
  }
3208
3208
  ),
3209
- /* @__PURE__ */ n.jsx("span", { className: T, "data-testid": `tab-label-${_}`, children: f }),
3209
+ /* @__PURE__ */ n.jsx("span", { className: R, "data-testid": `tab-label-${_}`, children: f }),
3210
3210
  m && /* @__PURE__ */ n.jsx(
3211
3211
  "span",
3212
3212
  {
3213
- className: k,
3214
- ...v,
3213
+ className: j,
3214
+ ...w,
3215
3215
  "data-testid": `tab-postfix-${_}`,
3216
3216
  children: m
3217
3217
  }
@@ -3219,9 +3219,9 @@ const Fe = Object.assign(ks, {
3219
3219
  ]
3220
3220
  }
3221
3221
  );
3222
- return o ? /* @__PURE__ */ n.jsx(Qa, { ...w, "data-testid": `tab-badge-${_}`, children: A }) : A;
3222
+ return o ? /* @__PURE__ */ n.jsx(Qa, { ...v, "data-testid": `tab-badge-${_}`, children: A }) : A;
3223
3223
  }, Qi = ({
3224
- mode: t,
3224
+ mode: e,
3225
3225
  items: r,
3226
3226
  size: a = Yi,
3227
3227
  isAllItemsDisabled: o = Zi
@@ -3233,13 +3233,13 @@ const Fe = Object.assign(ks, {
3233
3233
  role: "tablist",
3234
3234
  "data-testid": "tabs-bar",
3235
3235
  "aria-orientation": "horizontal",
3236
- className: $(J.tabBar, J[t]),
3236
+ className: $(J.tabBar, J[e]),
3237
3237
  children: r.map((c) => /* @__PURE__ */ n.jsx(
3238
3238
  Ki,
3239
3239
  {
3240
3240
  size: a,
3241
3241
  item: c,
3242
- mode: t,
3242
+ mode: e,
3243
3243
  showBadge: c.showBadge,
3244
3244
  badgeProps: c.badgeProps,
3245
3245
  isActive: i === c.value,
@@ -3250,24 +3250,24 @@ const Fe = Object.assign(ks, {
3250
3250
  ))
3251
3251
  }
3252
3252
  ) });
3253
- }, tl = ({ tabValue: t, children: r, ...a }) => /* @__PURE__ */ n.jsx(
3253
+ }, el = ({ tabValue: e, children: r, ...a }) => /* @__PURE__ */ n.jsx(
3254
3254
  "div",
3255
3255
  {
3256
3256
  role: "tabpanel",
3257
- "data-testid": `tab-panel-${t}`,
3258
- "aria-labelledby": `tab-item-${t}`,
3257
+ "data-testid": `tab-panel-${e}`,
3258
+ "aria-labelledby": `tab-item-${e}`,
3259
3259
  ...a,
3260
3260
  children: r
3261
3261
  }
3262
- ), el = ({ children: t, ...r }) => {
3263
- const { activeTab: a } = rr(), o = Array.isArray(t) ? t : [t], i = (s, l) => _e.isValidElement(s) && typeof s.props == "object" && s.props !== null && l in s.props;
3262
+ ), tl = ({ children: e, ...r }) => {
3263
+ 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;
3264
3264
  return /* @__PURE__ */ n.jsx("div", { "data-testid": "tab-content", ...r, children: o.map((s) => i(s, "tabValue") && String(s.props.tabValue) === a ? s : null) });
3265
3265
  }, Zl = {
3266
3266
  Provider: Ji,
3267
- Content: el,
3268
- Panel: tl,
3267
+ Content: tl,
3268
+ Panel: el,
3269
3269
  Bar: Qi
3270
- }, rl = "_root_1fbbw_34", al = "_open_1fbbw_51", ol = "_xs_1fbbw_55", nl = "_s_1fbbw_61", sl = "_m_1fbbw_67", il = "_neutral_1fbbw_73", ll = "_contrast_1fbbw_78", cl = "_accent_1fbbw_84", dl = "_typography_1fbbw_89", ul = "_title_1fbbw_89", _l = "_text_1fbbw_93", pl = "_mediaWrapper_1fbbw_97", fl = "_content_1fbbw_112", gl = "_closeButton_1fbbw_116", bl = "_hasMedia_1fbbw_142", hl = "_buttonStack_1fbbw_148", st = {
3270
+ }, rl = "_root_1fbbw_34", al = "_open_1fbbw_51", ol = "_xs_1fbbw_55", nl = "_s_1fbbw_61", sl = "_m_1fbbw_67", il = "_neutral_1fbbw_73", ll = "_contrast_1fbbw_78", cl = "_accent_1fbbw_84", dl = "_typography_1fbbw_89", ul = "_title_1fbbw_89", _l = "_text_1fbbw_93", pl = "_mediaWrapper_1fbbw_97", fl = "_content_1fbbw_112", gl = "_closeButton_1fbbw_116", bl = "_hasMedia_1fbbw_142", hl = "_buttonStack_1fbbw_148", se = {
3271
3271
  root: rl,
3272
3272
  open: al,
3273
3273
  xs: ol,
@@ -3292,129 +3292,129 @@ const Fe = Object.assign(ks, {
3292
3292
  }
3293
3293
  ),
3294
3294
  /* @__PURE__ */ n.jsx("path", { d: "M-2 0.000390053L26 0.000390053V-1L-2 -1L-2 0.000390053Z" })
3295
- ] }), ft = {
3295
+ ] }), fe = {
3296
3296
  shiftX: 64,
3297
3297
  adjustY: 1
3298
- }, gt = { adjustX: 1, shiftY: !0 }, xl = {
3298
+ }, ge = { adjustX: 1, shiftY: !0 }, xl = {
3299
3299
  left: {
3300
3300
  points: ["cr", "cl"],
3301
- overflow: gt,
3301
+ overflow: ge,
3302
3302
  offset: [-22, 0]
3303
3303
  },
3304
3304
  right: {
3305
3305
  points: ["cl", "cr"],
3306
- overflow: gt,
3306
+ overflow: ge,
3307
3307
  offset: [22, 0]
3308
3308
  },
3309
3309
  top: {
3310
3310
  points: ["bc", "tc"],
3311
- overflow: ft,
3311
+ overflow: fe,
3312
3312
  offset: [0, -22]
3313
3313
  },
3314
3314
  bottom: {
3315
3315
  points: ["tc", "bc"],
3316
- overflow: ft,
3316
+ overflow: fe,
3317
3317
  offset: [0, 22]
3318
3318
  },
3319
3319
  topLeft: {
3320
3320
  points: ["bl", "tl"],
3321
- overflow: ft,
3321
+ overflow: fe,
3322
3322
  offset: [0, -22]
3323
3323
  },
3324
3324
  leftTop: {
3325
3325
  points: ["tr", "tl"],
3326
- overflow: gt,
3326
+ overflow: ge,
3327
3327
  offset: [-22, 0]
3328
3328
  },
3329
3329
  topRight: {
3330
3330
  points: ["br", "tr"],
3331
- overflow: ft,
3331
+ overflow: fe,
3332
3332
  offset: [0, -22]
3333
3333
  },
3334
3334
  rightTop: {
3335
3335
  points: ["tl", "tr"],
3336
- overflow: gt,
3336
+ overflow: ge,
3337
3337
  offset: [22, 0]
3338
3338
  },
3339
3339
  bottomRight: {
3340
3340
  points: ["tr", "br"],
3341
- overflow: ft,
3341
+ overflow: fe,
3342
3342
  offset: [0, 22]
3343
3343
  },
3344
3344
  rightBottom: {
3345
3345
  points: ["bl", "br"],
3346
- overflow: gt,
3346
+ overflow: ge,
3347
3347
  offset: [22, 0]
3348
3348
  },
3349
3349
  bottomLeft: {
3350
3350
  points: ["tl", "bl"],
3351
- overflow: ft,
3351
+ overflow: fe,
3352
3352
  offset: [0, 22]
3353
3353
  },
3354
3354
  leftBottom: {
3355
3355
  points: ["br", "bl"],
3356
- overflow: gt,
3356
+ overflow: ge,
3357
3357
  offset: [-22, 0]
3358
3358
  }
3359
3359
  }, vl = {
3360
3360
  left: {
3361
3361
  points: ["cr", "cl"],
3362
- overflow: gt,
3362
+ overflow: ge,
3363
3363
  offset: [-16, 0]
3364
3364
  },
3365
3365
  right: {
3366
3366
  points: ["cl", "cr"],
3367
- overflow: gt,
3367
+ overflow: ge,
3368
3368
  offset: [16, 0]
3369
3369
  },
3370
3370
  top: {
3371
3371
  points: ["bc", "tc"],
3372
- overflow: ft,
3372
+ overflow: fe,
3373
3373
  offset: [0, -16]
3374
3374
  },
3375
3375
  bottom: {
3376
3376
  points: ["tc", "bc"],
3377
- overflow: ft,
3377
+ overflow: fe,
3378
3378
  offset: [0, 16]
3379
3379
  },
3380
3380
  topLeft: {
3381
3381
  points: ["bl", "tl"],
3382
- overflow: ft,
3382
+ overflow: fe,
3383
3383
  offset: [0, -16]
3384
3384
  },
3385
3385
  leftTop: {
3386
3386
  points: ["tr", "tl"],
3387
- overflow: gt,
3387
+ overflow: ge,
3388
3388
  offset: [-16, 0]
3389
3389
  },
3390
3390
  topRight: {
3391
3391
  points: ["br", "tr"],
3392
- overflow: ft,
3392
+ overflow: fe,
3393
3393
  offset: [0, -16]
3394
3394
  },
3395
3395
  rightTop: {
3396
3396
  points: ["tl", "tr"],
3397
- overflow: gt,
3397
+ overflow: ge,
3398
3398
  offset: [16, 0]
3399
3399
  },
3400
3400
  bottomRight: {
3401
3401
  points: ["tr", "br"],
3402
- overflow: ft,
3402
+ overflow: fe,
3403
3403
  offset: [0, 16]
3404
3404
  },
3405
3405
  rightBottom: {
3406
3406
  points: ["bl", "br"],
3407
- overflow: gt,
3407
+ overflow: ge,
3408
3408
  offset: [16, 0]
3409
3409
  },
3410
3410
  bottomLeft: {
3411
3411
  points: ["tl", "bl"],
3412
- overflow: ft,
3412
+ overflow: fe,
3413
3413
  offset: [0, 16]
3414
3414
  },
3415
3415
  leftBottom: {
3416
3416
  points: ["br", "bl"],
3417
- overflow: gt,
3417
+ overflow: ge,
3418
3418
  offset: [-16, 0]
3419
3419
  }
3420
3420
  }, wl = {
@@ -3454,11 +3454,11 @@ const Fe = Object.assign(ks, {
3454
3454
  { mode: "primary", buttonStyle: "accent", size: "s" }
3455
3455
  ]
3456
3456
  }
3457
- }, Cl = (t, r, a) => {
3457
+ }, Cl = (e, r, a) => {
3458
3458
  const o = ja(r, 1, 3), i = wl[a][o];
3459
- return i[Math.min(t, i.length - 1)];
3460
- }, He = ({
3461
- text: t,
3459
+ return i[Math.min(e, i.length - 1)];
3460
+ }, Ht = ({
3461
+ text: e,
3462
3462
  title: r,
3463
3463
  media: a,
3464
3464
  variant: o = "neutral",
@@ -3470,13 +3470,13 @@ const Fe = Object.assign(ks, {
3470
3470
  showClose: f
3471
3471
  }) => {
3472
3472
  const p = ["neutral", "accent"].includes(o) ? "contrast" : "primary", h = i === "m", m = !!(r && h), g = !!(a && h), y = c && !!c.length, C = !!(f && h) || !f && h && !y, x = i === "xs" ? 4 : 3;
3473
- return /* @__PURE__ */ n.jsxs("div", { className: st.content, children: [
3474
- g && /* @__PURE__ */ n.jsx("div", { className: $(st.mediaWrapper, s.mediaWrapper), children: a }),
3473
+ return /* @__PURE__ */ n.jsxs("div", { className: se.content, children: [
3474
+ g && /* @__PURE__ */ n.jsx("div", { className: $(se.mediaWrapper, s.mediaWrapper), children: a }),
3475
3475
  /* @__PURE__ */ n.jsxs("div", { className: s.textWrapper, children: [
3476
3476
  m && /* @__PURE__ */ n.jsx(
3477
- De.Subtitle,
3477
+ Dt.Subtitle,
3478
3478
  {
3479
- className: $(st.typography, st.title, s.typography),
3479
+ className: $(se.typography, se.title, s.typography),
3480
3480
  size: 1,
3481
3481
  as: "h3",
3482
3482
  typographyStyle: p,
@@ -3484,12 +3484,12 @@ const Fe = Object.assign(ks, {
3484
3484
  }
3485
3485
  ),
3486
3486
  /* @__PURE__ */ n.jsx(
3487
- De.Label,
3487
+ Dt.Label,
3488
3488
  {
3489
- className: $(st.typography, st.text, s.typography),
3489
+ className: $(se.typography, se.text, s.typography),
3490
3490
  typographyStyle: p,
3491
3491
  size: x,
3492
- children: t
3492
+ children: e
3493
3493
  }
3494
3494
  )
3495
3495
  ] }),
@@ -3497,8 +3497,8 @@ const Fe = Object.assign(ks, {
3497
3497
  "button",
3498
3498
  {
3499
3499
  type: "button",
3500
- className: $(st.closeButton, st[o], s.closeButton, {
3501
- [st.hasMedia]: g
3500
+ className: $(se.closeButton, se[o], s.closeButton, {
3501
+ [se.hasMedia]: g
3502
3502
  }),
3503
3503
  onClick: l,
3504
3504
  "aria-label": "Закрыть подсказку",
@@ -3506,20 +3506,20 @@ const Fe = Object.assign(ks, {
3506
3506
  children: /* @__PURE__ */ n.jsx(ml, {})
3507
3507
  }
3508
3508
  ),
3509
- h && y && /* @__PURE__ */ n.jsx("div", { className: st.buttonStack, children: c.map((v, u) => {
3509
+ h && y && /* @__PURE__ */ n.jsx("div", { className: se.buttonStack, children: c.map((w, d) => {
3510
3510
  const L = {
3511
- ...Cl(u, c.length, o),
3511
+ ...Cl(d, c.length, o),
3512
3512
  ..._,
3513
- ...v
3514
- }, { closeOnClick: E, ...k } = L, T = (O) => {
3513
+ ...w
3514
+ }, { closeOnClick: T, ...j } = L, R = (E) => {
3515
3515
  var A;
3516
- (A = k.onClick) == null || A.call(k, O), E && (l == null || l());
3516
+ (A = j.onClick) == null || A.call(j, E), T && (l == null || l());
3517
3517
  };
3518
- return /* @__PURE__ */ n.jsx(ga, { ...k, onClick: T }, u);
3518
+ return /* @__PURE__ */ n.jsx(ga, { ...j, onClick: R }, d);
3519
3519
  }) })
3520
3520
  ] });
3521
3521
  }, Gl = ({
3522
- customContent: t,
3522
+ customContent: e,
3523
3523
  children: r,
3524
3524
  placement: a = "top",
3525
3525
  contentClassNames: o,
@@ -3536,18 +3536,18 @@ const Fe = Object.assign(ks, {
3536
3536
  buttons: y,
3537
3537
  buttonProps: C,
3538
3538
  onClose: x,
3539
- ...v
3539
+ ...w
3540
3540
  }) => {
3541
- const [u, w] = _t(!1), [L, E] = _t(!1), k = p === "m" ? xl : vl, T = () => {
3542
- w(!1), x == null || x();
3543
- }, O = t || (p === "m" ? /* @__PURE__ */ n.jsx(
3544
- He,
3541
+ const [d, v] = _e(!1), [L, T] = _e(!1), j = p === "m" ? xl : vl, R = () => {
3542
+ v(!1), x == null || x();
3543
+ }, E = e || (p === "m" ? /* @__PURE__ */ n.jsx(
3544
+ Ht,
3545
3545
  {
3546
3546
  classNames: o,
3547
3547
  text: h,
3548
3548
  variant: f,
3549
3549
  size: p,
3550
- onClose: T,
3550
+ onClose: R,
3551
3551
  title: m,
3552
3552
  media: g,
3553
3553
  showClose: c,
@@ -3555,47 +3555,47 @@ const Fe = Object.assign(ks, {
3555
3555
  buttonProps: C
3556
3556
  }
3557
3557
  ) : /* @__PURE__ */ n.jsx(
3558
- He,
3558
+ Ht,
3559
3559
  {
3560
3560
  classNames: o,
3561
3561
  text: h,
3562
3562
  variant: f,
3563
3563
  size: p,
3564
- onClose: T
3564
+ onClose: R
3565
3565
  }
3566
3566
  ));
3567
- return lt(() => {
3568
- if (u) {
3569
- const A = requestAnimationFrame(() => E(!0));
3567
+ return le(() => {
3568
+ if (d) {
3569
+ const A = requestAnimationFrame(() => T(!0));
3570
3570
  return () => cancelAnimationFrame(A);
3571
3571
  }
3572
- E(!1);
3573
- }, [u]), /* @__PURE__ */ n.jsx(
3572
+ T(!1);
3573
+ }, [d]), /* @__PURE__ */ n.jsx(
3574
3574
  $r,
3575
3575
  {
3576
- visible: u,
3577
- onVisibleChange: w,
3576
+ visible: d,
3577
+ onVisibleChange: v,
3578
3578
  classNames: {
3579
- root: $(st.root, st[f], st[p], L && st.open),
3580
- ...v.classNames
3579
+ root: $(se.root, se[f], se[p], L && se.open),
3580
+ ...w.classNames
3581
3581
  },
3582
3582
  placement: a,
3583
- overlay: () => O,
3583
+ overlay: () => E,
3584
3584
  trigger: _,
3585
3585
  mouseEnterDelay: i,
3586
3586
  mouseLeaveDelay: s,
3587
3587
  motion: { motionName: "tooltipMotion" },
3588
- builtinPlacements: k,
3588
+ builtinPlacements: j,
3589
3589
  showArrow: l ? {
3590
3590
  content: /* @__PURE__ */ n.jsx(yl, {}),
3591
3591
  className: `tooltipArrow tooltipArrow-${p}`
3592
3592
  } : !1,
3593
3593
  destroyTooltipOnHide: !0,
3594
- ...v,
3594
+ ...w,
3595
3595
  children: r
3596
3596
  }
3597
3597
  );
3598
- }, Sl = "_segmentedControl_1yvz7_5", Ll = "_segment_1yvz7_5", jl = "_activeSegmentIndicator_1yvz7_51", kl = "_stretched_1yvz7_82", $l = "_s_1yvz7_5", El = "_icon_1yvz7_90", Tl = "_label_1yvz7_94", Rl = "_m_1yvz7_98", Nl = "_l_1yvz7_94", At = {
3598
+ }, Sl = "_segmentedControl_1yvz7_5", Ll = "_segment_1yvz7_5", jl = "_activeSegmentIndicator_1yvz7_51", kl = "_stretched_1yvz7_82", $l = "_s_1yvz7_5", El = "_icon_1yvz7_90", Tl = "_label_1yvz7_94", Rl = "_m_1yvz7_98", Nl = "_l_1yvz7_94", Ae = {
3599
3599
  segmentedControl: Sl,
3600
3600
  segment: Ll,
3601
3601
  activeSegmentIndicator: jl,
@@ -3605,12 +3605,12 @@ const Fe = Object.assign(ks, {
3605
3605
  label: Tl,
3606
3606
  m: Rl,
3607
3607
  l: Nl
3608
- }, Ve = {
3609
- s: it["typography-label-3-regular"],
3610
- m: it["typography-label-2-regular"],
3611
- l: it["typography-label-2-regular"]
3612
- }, Ul = (t) => {
3613
- var u;
3608
+ }, Vt = {
3609
+ s: ie["typography-label-3-regular"],
3610
+ m: ie["typography-label-2-regular"],
3611
+ l: ie["typography-label-2-regular"]
3612
+ }, Ul = (e) => {
3613
+ var d;
3614
3614
  const {
3615
3615
  className: r,
3616
3616
  defaultValue: a,
@@ -3620,42 +3620,42 @@ const Fe = Object.assign(ks, {
3620
3620
  stretched: l,
3621
3621
  mode: c = "label",
3622
3622
  onChange: _
3623
- } = t, f = pe(), [p, h] = _t(a || s[0].value), [m, g] = _t({ width: 0, left: 0 }), y = qt(null);
3624
- lt(() => {
3623
+ } = e, f = pt(), [p, h] = _e(a || s[0].value), [m, g] = _e({ width: 0, left: 0 }), y = qe(null);
3624
+ le(() => {
3625
3625
  o && h(o);
3626
- }, [o]), lt(() => {
3626
+ }, [o]), le(() => {
3627
3627
  C();
3628
3628
  }, [p, s, i, l, c]);
3629
3629
  const C = () => {
3630
3630
  if (!(y != null && y.current)) return;
3631
- const w = y.current.querySelector(
3631
+ const v = y.current.querySelector(
3632
3632
  '[data-is-active-segment="true"]'
3633
3633
  );
3634
- w && g({
3635
- width: w.offsetWidth,
3636
- left: w.offsetLeft
3634
+ v && g({
3635
+ width: v.offsetWidth,
3636
+ left: v.offsetLeft
3637
3637
  });
3638
- }, x = (u = s.find((w) => w.value === p)) == null ? void 0 : u.label, v = (w) => {
3639
- h(w), _ == null || _(w);
3638
+ }, x = (d = s.find((v) => v.value === p)) == null ? void 0 : d.label, w = (v) => {
3639
+ h(v), _ == null || _(v);
3640
3640
  };
3641
3641
  return (s == null ? void 0 : s.length) === 0 ? null : /* @__PURE__ */ n.jsxs(
3642
3642
  "div",
3643
3643
  {
3644
3644
  className: $(
3645
- At.segmentedControl,
3646
- At[i],
3647
- At[c],
3645
+ Ae.segmentedControl,
3646
+ Ae[i],
3647
+ Ae[c],
3648
3648
  {
3649
- [At.stretched]: l
3649
+ [Ae.stretched]: l
3650
3650
  },
3651
3651
  r
3652
3652
  ),
3653
3653
  "data-testid": "segmented-control-container",
3654
3654
  ref: y,
3655
3655
  children: [
3656
- s == null ? void 0 : s.map(({ label: w, value: L }, E) => {
3657
- const k = () => v(L);
3658
- return /* @__PURE__ */ n.jsxs(Pt, { children: [
3656
+ s == null ? void 0 : s.map(({ label: v, value: L }, T) => {
3657
+ const j = () => w(L);
3658
+ return /* @__PURE__ */ n.jsxs(Pe, { children: [
3659
3659
  /* @__PURE__ */ n.jsx(
3660
3660
  "input",
3661
3661
  {
@@ -3663,25 +3663,25 @@ const Fe = Object.assign(ks, {
3663
3663
  value: JSON.stringify(L),
3664
3664
  type: "radio",
3665
3665
  checked: p === L,
3666
- onClick: k
3666
+ onClick: j
3667
3667
  }
3668
3668
  ),
3669
3669
  /* @__PURE__ */ n.jsx(
3670
3670
  "label",
3671
3671
  {
3672
3672
  "data-is-active-segment": p === L,
3673
- className: $(At.segment, Ve[i]),
3673
+ className: $(Ae.segment, Vt[i]),
3674
3674
  htmlFor: f + JSON.stringify(L),
3675
3675
  "data-testid": "segmented-control-segment",
3676
- children: w
3676
+ children: v
3677
3677
  }
3678
3678
  )
3679
- ] }, Jt(JSON.stringify(L)) + E);
3679
+ ] }, Je(JSON.stringify(L)) + T);
3680
3680
  }),
3681
3681
  /* @__PURE__ */ n.jsx(
3682
3682
  "div",
3683
3683
  {
3684
- className: $(At.activeSegmentIndicator, Ve[i]),
3684
+ className: $(Ae.activeSegmentIndicator, Vt[i]),
3685
3685
  "data-testid": "segmented-control-active-segment",
3686
3686
  style: {
3687
3687
  width: m.width,
@@ -3711,7 +3711,7 @@ export {
3711
3711
  Hl as TextArea,
3712
3712
  ql as TextInput,
3713
3713
  Gl as Tooltip,
3714
- De as Typography,
3714
+ Dt as Typography,
3715
3715
  mo as enUS,
3716
3716
  Dl as ruRU,
3717
3717
  yo as useConfig,