skillgrid 0.0.24-dev-38682-image.1170743 → 0.0.25-dev-38682-image.1172030

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import * as Et from "react";
2
- import Lt, { forwardRef as Q, useState as Oe, useEffect as we, useRef as Ve, useCallback as Ce, Fragment as Mt, createContext as ra, useContext as sa, useLayoutEffect as na, useImperativeHandle as oa, useId as $t } from "react";
3
- import { clsx as U } from "clsx";
2
+ import Lt, { forwardRef as te, useState as De, useEffect as Ee, useRef as We, useCallback as Se, Fragment as Mt, createContext as ra, useContext as sa, useLayoutEffect as na, useImperativeHandle as oa, useId as $t } from "react";
3
+ import { clsx as B } from "clsx";
4
4
  import './index.css';function ia(t) {
5
5
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
6
6
  }
7
- var Fe = { exports: {} }, Re = {};
7
+ var Be = { exports: {} }, Ie = {};
8
8
  /**
9
9
  * @license React
10
10
  * react-jsx-runtime.production.min.js
@@ -16,19 +16,19 @@ var Fe = { exports: {} }, Re = {};
16
16
  */
17
17
  var ft;
18
18
  function la() {
19
- if (ft) return Re;
19
+ if (ft) return Ie;
20
20
  ft = 1;
21
21
  var t = Lt, r = Symbol.for("react.element"), a = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, n = { key: !0, ref: !0, __self: !0, __source: !0 };
22
22
  function c(p, d, f) {
23
- var _, g = {}, h = null, b = null;
24
- f !== void 0 && (h = "" + f), d.key !== void 0 && (h = "" + d.key), d.ref !== void 0 && (b = d.ref);
25
- for (_ in d) s.call(d, _) && !n.hasOwnProperty(_) && (g[_] = d[_]);
26
- if (p && p.defaultProps) for (_ in d = p.defaultProps, d) g[_] === void 0 && (g[_] = d[_]);
27
- return { $$typeof: r, type: p, key: h, ref: b, props: g, _owner: i.current };
23
+ var _, h = {}, b = null, y = null;
24
+ f !== void 0 && (b = "" + f), d.key !== void 0 && (b = "" + d.key), d.ref !== void 0 && (y = d.ref);
25
+ for (_ in d) s.call(d, _) && !n.hasOwnProperty(_) && (h[_] = d[_]);
26
+ if (p && p.defaultProps) for (_ in d = p.defaultProps, d) h[_] === void 0 && (h[_] = d[_]);
27
+ return { $$typeof: r, type: p, key: b, ref: y, props: h, _owner: i.current };
28
28
  }
29
- return Re.Fragment = a, Re.jsx = c, Re.jsxs = c, Re;
29
+ return Ie.Fragment = a, Ie.jsx = c, Ie.jsxs = c, Ie;
30
30
  }
31
- var ke = {};
31
+ var Re = {};
32
32
  /**
33
33
  * @license React
34
34
  * react-jsx-runtime.development.js
@@ -41,54 +41,54 @@ var ke = {};
41
41
  var gt;
42
42
  function ca() {
43
43
  return gt || (gt = 1, process.env.NODE_ENV !== "production" && function() {
44
- var t = Lt, r = Symbol.for("react.element"), a = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), n = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), p = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), _ = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), y = Symbol.iterator, w = "@@iterator";
45
- function C(e) {
44
+ var t = Lt, r = Symbol.for("react.element"), a = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), n = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), p = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), _ = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), y = Symbol.for("react.offscreen"), v = Symbol.iterator, E = "@@iterator";
45
+ function w(e) {
46
46
  if (e === null || typeof e != "object")
47
47
  return null;
48
- var l = y && e[y] || e[w];
48
+ var l = v && e[v] || e[E];
49
49
  return typeof l == "function" ? l : null;
50
50
  }
51
- var S = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
52
- function m(e) {
51
+ var C = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
52
+ function g(e) {
53
53
  {
54
- for (var l = arguments.length, u = new Array(l > 1 ? l - 1 : 0), v = 1; v < l; v++)
55
- u[v - 1] = arguments[v];
54
+ for (var l = arguments.length, u = new Array(l > 1 ? l - 1 : 0), x = 1; x < l; x++)
55
+ u[x - 1] = arguments[x];
56
56
  R("error", e, u);
57
57
  }
58
58
  }
59
59
  function R(e, l, u) {
60
60
  {
61
- var v = S.ReactDebugCurrentFrame, j = v.getStackAddendum();
62
- j !== "" && (l += "%s", u = u.concat([j]));
63
- var A = u.map(function(L) {
61
+ var x = C.ReactDebugCurrentFrame, I = x.getStackAddendum();
62
+ I !== "" && (l += "%s", u = u.concat([I]));
63
+ var T = u.map(function(L) {
64
64
  return String(L);
65
65
  });
66
- A.unshift("Warning: " + l), Function.prototype.apply.call(console[e], console, A);
66
+ T.unshift("Warning: " + l), Function.prototype.apply.call(console[e], console, T);
67
67
  }
68
68
  }
69
- var D = !1, k = !1, T = !1, I = !1, B = !1, N;
70
- N = Symbol.for("react.module.reference");
71
- function W(e) {
72
- return !!(typeof e == "string" || typeof e == "function" || e === s || e === n || B || e === i || e === f || e === _ || I || e === b || D || k || T || typeof e == "object" && e !== null && (e.$$typeof === h || e.$$typeof === g || e.$$typeof === c || e.$$typeof === p || e.$$typeof === d || // This needs to include all possible module reference object
69
+ var D = !1, k = !1, $ = !1, A = !1, N = !1, U;
70
+ U = Symbol.for("react.module.reference");
71
+ function q(e) {
72
+ return !!(typeof e == "string" || typeof e == "function" || e === s || e === n || N || e === i || e === f || e === _ || A || e === y || D || k || $ || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === h || e.$$typeof === c || e.$$typeof === p || e.$$typeof === d || // This needs to include all possible module reference object
73
73
  // types supported by any Flight configuration anywhere since
74
74
  // we don't know which Flight build this will end up being used
75
75
  // with.
76
- e.$$typeof === N || e.getModuleId !== void 0));
76
+ e.$$typeof === U || e.getModuleId !== void 0));
77
77
  }
78
- function x(e, l, u) {
79
- var v = e.displayName;
80
- if (v)
81
- return v;
82
- var j = l.displayName || l.name || "";
83
- return j !== "" ? u + "(" + j + ")" : u;
78
+ function W(e, l, u) {
79
+ var x = e.displayName;
80
+ if (x)
81
+ return x;
82
+ var I = l.displayName || l.name || "";
83
+ return I !== "" ? u + "(" + I + ")" : u;
84
84
  }
85
- function V(e) {
85
+ function O(e) {
86
86
  return e.displayName || "Context";
87
87
  }
88
- function O(e) {
88
+ function m(e) {
89
89
  if (e == null)
90
90
  return null;
91
- if (typeof e.tag == "number" && m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
91
+ if (typeof e.tag == "number" && g("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
92
92
  return e.displayName || e.name || null;
93
93
  if (typeof e == "string")
94
94
  return e;
@@ -110,19 +110,19 @@ function ca() {
110
110
  switch (e.$$typeof) {
111
111
  case p:
112
112
  var l = e;
113
- return V(l) + ".Consumer";
113
+ return O(l) + ".Consumer";
114
114
  case c:
115
115
  var u = e;
116
- return V(u._context) + ".Provider";
116
+ return O(u._context) + ".Provider";
117
117
  case d:
118
- return x(e, e.render, "ForwardRef");
119
- case g:
120
- var v = e.displayName || null;
121
- return v !== null ? v : O(e.type) || "Memo";
122
- case h: {
123
- var j = e, A = j._payload, L = j._init;
118
+ return W(e, e.render, "ForwardRef");
119
+ case h:
120
+ var x = e.displayName || null;
121
+ return x !== null ? x : m(e.type) || "Memo";
122
+ case b: {
123
+ var I = e, T = I._payload, L = I._init;
124
124
  try {
125
- return O(L(A));
125
+ return m(L(T));
126
126
  } catch {
127
127
  return null;
128
128
  }
@@ -130,18 +130,18 @@ function ca() {
130
130
  }
131
131
  return null;
132
132
  }
133
- var $ = Object.assign, F = 0, H, G, Z, te, ae, re, be;
134
- function se() {
133
+ var j = Object.assign, F = 0, G, H, Q, ae, J, re, se;
134
+ function de() {
135
135
  }
136
- se.__reactDisabledLog = !0;
137
- function ye() {
136
+ de.__reactDisabledLog = !0;
137
+ function ve() {
138
138
  {
139
139
  if (F === 0) {
140
- H = console.log, G = console.info, Z = console.warn, te = console.error, ae = console.group, re = console.groupCollapsed, be = console.groupEnd;
140
+ G = console.log, H = console.info, Q = console.warn, ae = console.error, J = console.group, re = console.groupCollapsed, se = console.groupEnd;
141
141
  var e = {
142
142
  configurable: !0,
143
143
  enumerable: !0,
144
- value: se,
144
+ value: de,
145
145
  writable: !0
146
146
  };
147
147
  Object.defineProperties(console, {
@@ -157,7 +157,7 @@ function ca() {
157
157
  F++;
158
158
  }
159
159
  }
160
- function Se() {
160
+ function ie() {
161
161
  {
162
162
  if (F--, F === 0) {
163
163
  var e = {
@@ -166,65 +166,65 @@ function ca() {
166
166
  writable: !0
167
167
  };
168
168
  Object.defineProperties(console, {
169
- log: $({}, e, {
170
- value: H
171
- }),
172
- info: $({}, e, {
169
+ log: j({}, e, {
173
170
  value: G
174
171
  }),
175
- warn: $({}, e, {
176
- value: Z
172
+ info: j({}, e, {
173
+ value: H
177
174
  }),
178
- error: $({}, e, {
179
- value: te
175
+ warn: j({}, e, {
176
+ value: Q
180
177
  }),
181
- group: $({}, e, {
178
+ error: j({}, e, {
182
179
  value: ae
183
180
  }),
184
- groupCollapsed: $({}, e, {
181
+ group: j({}, e, {
182
+ value: J
183
+ }),
184
+ groupCollapsed: j({}, e, {
185
185
  value: re
186
186
  }),
187
- groupEnd: $({}, e, {
188
- value: be
187
+ groupEnd: j({}, e, {
188
+ value: se
189
189
  })
190
190
  });
191
191
  }
192
- F < 0 && m("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
192
+ F < 0 && g("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
193
193
  }
194
194
  }
195
- var Ee = S.ReactCurrentDispatcher, ue;
196
- function ie(e, l, u) {
195
+ var ye = C.ReactCurrentDispatcher, ue;
196
+ function le(e, l, u) {
197
197
  {
198
198
  if (ue === void 0)
199
199
  try {
200
200
  throw Error();
201
- } catch (j) {
202
- var v = j.stack.trim().match(/\n( *(at )?)/);
203
- ue = v && v[1] || "";
201
+ } catch (I) {
202
+ var x = I.stack.trim().match(/\n( *(at )?)/);
203
+ ue = x && x[1] || "";
204
204
  }
205
205
  return `
206
206
  ` + ue + e;
207
207
  }
208
208
  }
209
- var _e = !1, le;
209
+ var me = !1, _e;
210
210
  {
211
- var me = typeof WeakMap == "function" ? WeakMap : Map;
212
- le = new me();
211
+ var xe = typeof WeakMap == "function" ? WeakMap : Map;
212
+ _e = new xe();
213
213
  }
214
- function K(e, l) {
215
- if (!e || _e)
214
+ function Oe(e, l) {
215
+ if (!e || me)
216
216
  return "";
217
217
  {
218
- var u = le.get(e);
218
+ var u = _e.get(e);
219
219
  if (u !== void 0)
220
220
  return u;
221
221
  }
222
- var v;
223
- _e = !0;
224
- var j = Error.prepareStackTrace;
222
+ var x;
223
+ me = !0;
224
+ var I = Error.prepareStackTrace;
225
225
  Error.prepareStackTrace = void 0;
226
- var A;
227
- A = Ee.current, Ee.current = null, ye();
226
+ var T;
227
+ T = ye.current, ye.current = null, ve();
228
228
  try {
229
229
  if (l) {
230
230
  var L = function() {
@@ -237,116 +237,116 @@ function ca() {
237
237
  }), typeof Reflect == "object" && Reflect.construct) {
238
238
  try {
239
239
  Reflect.construct(L, []);
240
- } catch (X) {
241
- v = X;
240
+ } catch (ee) {
241
+ x = ee;
242
242
  }
243
243
  Reflect.construct(e, [], L);
244
244
  } else {
245
245
  try {
246
246
  L.call();
247
- } catch (X) {
248
- v = X;
247
+ } catch (ee) {
248
+ x = ee;
249
249
  }
250
250
  e.call(L.prototype);
251
251
  }
252
252
  } else {
253
253
  try {
254
254
  throw Error();
255
- } catch (X) {
256
- v = X;
255
+ } catch (ee) {
256
+ x = ee;
257
257
  }
258
258
  e();
259
259
  }
260
- } catch (X) {
261
- if (X && v && typeof X.stack == "string") {
262
- for (var E = X.stack.split(`
263
- `), Y = v.stack.split(`
264
- `), P = E.length - 1, q = Y.length - 1; P >= 1 && q >= 0 && E[P] !== Y[q]; )
265
- q--;
266
- for (; P >= 1 && q >= 0; P--, q--)
267
- if (E[P] !== Y[q]) {
268
- if (P !== 1 || q !== 1)
260
+ } catch (ee) {
261
+ if (ee && x && typeof ee.stack == "string") {
262
+ for (var S = ee.stack.split(`
263
+ `), K = x.stack.split(`
264
+ `), P = S.length - 1, V = K.length - 1; P >= 1 && V >= 0 && S[P] !== K[V]; )
265
+ V--;
266
+ for (; P >= 1 && V >= 0; P--, V--)
267
+ if (S[P] !== K[V]) {
268
+ if (P !== 1 || V !== 1)
269
269
  do
270
- if (P--, q--, q < 0 || E[P] !== Y[q]) {
270
+ if (P--, V--, V < 0 || S[P] !== K[V]) {
271
271
  var ne = `
272
- ` + E[P].replace(" at new ", " at ");
273
- return e.displayName && ne.includes("<anonymous>") && (ne = ne.replace("<anonymous>", e.displayName)), typeof e == "function" && le.set(e, ne), ne;
272
+ ` + S[P].replace(" at new ", " at ");
273
+ return e.displayName && ne.includes("<anonymous>") && (ne = ne.replace("<anonymous>", e.displayName)), typeof e == "function" && _e.set(e, ne), ne;
274
274
  }
275
- while (P >= 1 && q >= 0);
275
+ while (P >= 1 && V >= 0);
276
276
  break;
277
277
  }
278
278
  }
279
279
  } finally {
280
- _e = !1, Ee.current = A, Se(), Error.prepareStackTrace = j;
280
+ me = !1, ye.current = T, ie(), Error.prepareStackTrace = I;
281
281
  }
282
- var Me = e ? e.displayName || e.name : "", ve = Me ? ie(Me) : "";
283
- return typeof e == "function" && le.set(e, ve), ve;
282
+ var Me = e ? e.displayName || e.name : "", Ce = Me ? le(Me) : "";
283
+ return typeof e == "function" && _e.set(e, Ce), Ce;
284
284
  }
285
- function ee(e, l, u) {
286
- return K(e, !1);
285
+ function Ve(e, l, u) {
286
+ return Oe(e, !1);
287
287
  }
288
- function ce(e) {
288
+ function He(e) {
289
289
  var l = e.prototype;
290
290
  return !!(l && l.isReactComponent);
291
291
  }
292
- function Ue(e, l, u) {
292
+ function Z(e, l, u) {
293
293
  if (e == null)
294
294
  return "";
295
295
  if (typeof e == "function")
296
- return K(e, ce(e));
296
+ return Oe(e, He(e));
297
297
  if (typeof e == "string")
298
- return ie(e);
298
+ return le(e);
299
299
  switch (e) {
300
300
  case f:
301
- return ie("Suspense");
301
+ return le("Suspense");
302
302
  case _:
303
- return ie("SuspenseList");
303
+ return le("SuspenseList");
304
304
  }
305
305
  if (typeof e == "object")
306
306
  switch (e.$$typeof) {
307
307
  case d:
308
- return ee(e.render);
309
- case g:
310
- return Ue(e.type, l, u);
311
- case h: {
312
- var v = e, j = v._payload, A = v._init;
308
+ return Ve(e.render);
309
+ case h:
310
+ return Z(e.type, l, u);
311
+ case b: {
312
+ var x = e, I = x._payload, T = x._init;
313
313
  try {
314
- return Ue(A(j), l, u);
314
+ return Z(T(I), l, u);
315
315
  } catch {
316
316
  }
317
317
  }
318
318
  }
319
319
  return "";
320
320
  }
321
- var Ie = Object.prototype.hasOwnProperty, et = {}, tt = S.ReactDebugCurrentFrame;
322
- function Be(e) {
321
+ var Y = Object.prototype.hasOwnProperty, ce = {}, tt = C.ReactDebugCurrentFrame;
322
+ function Ue(e) {
323
323
  if (e) {
324
- var l = e._owner, u = Ue(e.type, e._source, l ? l.type : null);
324
+ var l = e._owner, u = Z(e.type, e._source, l ? l.type : null);
325
325
  tt.setExtraStackFrame(u);
326
326
  } else
327
327
  tt.setExtraStackFrame(null);
328
328
  }
329
- function Nt(e, l, u, v, j) {
329
+ function Nt(e, l, u, x, I) {
330
330
  {
331
- var A = Function.call.bind(Ie);
331
+ var T = Function.call.bind(Y);
332
332
  for (var L in e)
333
- if (A(e, L)) {
334
- var E = void 0;
333
+ if (T(e, L)) {
334
+ var S = void 0;
335
335
  try {
336
336
  if (typeof e[L] != "function") {
337
- var Y = Error((v || "React class") + ": " + u + " type `" + L + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[L] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
338
- throw Y.name = "Invariant Violation", Y;
337
+ var K = Error((x || "React class") + ": " + u + " type `" + L + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[L] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
338
+ throw K.name = "Invariant Violation", K;
339
339
  }
340
- E = e[L](l, L, v, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
+ S = e[L](l, L, x, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
341
341
  } catch (P) {
342
- E = P;
342
+ S = P;
343
343
  }
344
- E && !(E instanceof Error) && (Be(j), m("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", v || "React class", u, L, typeof E), Be(null)), E instanceof Error && !(E.message in et) && (et[E.message] = !0, Be(j), m("Failed %s type: %s", u, E.message), Be(null));
344
+ S && !(S instanceof Error) && (Ue(I), g("%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).", x || "React class", u, L, typeof S), Ue(null)), S instanceof Error && !(S.message in ce) && (ce[S.message] = !0, Ue(I), g("Failed %s type: %s", u, S.message), Ue(null));
345
345
  }
346
346
  }
347
347
  }
348
348
  var Dt = Array.isArray;
349
- function He(e) {
349
+ function qe(e) {
350
350
  return Dt(e);
351
351
  }
352
352
  function Ot(e) {
@@ -367,16 +367,16 @@ function ca() {
367
367
  }
368
368
  function rt(e) {
369
369
  if (Ut(e))
370
- return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ot(e)), at(e);
370
+ return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ot(e)), at(e);
371
371
  }
372
- var st = S.ReactCurrentOwner, Bt = {
372
+ var st = C.ReactCurrentOwner, Bt = {
373
373
  key: !0,
374
374
  ref: !0,
375
375
  __self: !0,
376
376
  __source: !0
377
377
  }, nt, ot;
378
378
  function Ft(e) {
379
- if (Ie.call(e, "ref")) {
379
+ if (Y.call(e, "ref")) {
380
380
  var l = Object.getOwnPropertyDescriptor(e, "ref").get;
381
381
  if (l && l.isReactWarning)
382
382
  return !1;
@@ -384,7 +384,7 @@ function ca() {
384
384
  return e.ref !== void 0;
385
385
  }
386
386
  function Pt(e) {
387
- if (Ie.call(e, "key")) {
387
+ if (Y.call(e, "key")) {
388
388
  var l = Object.getOwnPropertyDescriptor(e, "key").get;
389
389
  if (l && l.isReactWarning)
390
390
  return !1;
@@ -397,7 +397,7 @@ function ca() {
397
397
  function Wt(e, l) {
398
398
  {
399
399
  var u = function() {
400
- nt || (nt = !0, m("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
400
+ nt || (nt = !0, g("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
401
401
  };
402
402
  u.isReactWarning = !0, Object.defineProperty(e, "key", {
403
403
  get: u,
@@ -408,7 +408,7 @@ function ca() {
408
408
  function Vt(e, l) {
409
409
  {
410
410
  var u = function() {
411
- ot || (ot = !0, m("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
411
+ ot || (ot = !0, g("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
412
412
  };
413
413
  u.isReactWarning = !0, Object.defineProperty(e, "ref", {
414
414
  get: u,
@@ -416,8 +416,8 @@ function ca() {
416
416
  });
417
417
  }
418
418
  }
419
- var Ht = function(e, l, u, v, j, A, L) {
420
- var E = {
419
+ var Ht = function(e, l, u, x, I, T, L) {
420
+ var S = {
421
421
  // This tag allows us to uniquely identify this as a React Element
422
422
  $$typeof: r,
423
423
  // Built-in properties that belong on the element
@@ -426,60 +426,60 @@ function ca() {
426
426
  ref: u,
427
427
  props: L,
428
428
  // Record the component responsible for creating this element.
429
- _owner: A
429
+ _owner: T
430
430
  };
431
- return E._store = {}, Object.defineProperty(E._store, "validated", {
431
+ return S._store = {}, Object.defineProperty(S._store, "validated", {
432
432
  configurable: !1,
433
433
  enumerable: !1,
434
434
  writable: !0,
435
435
  value: !1
436
- }), Object.defineProperty(E, "_self", {
436
+ }), Object.defineProperty(S, "_self", {
437
437
  configurable: !1,
438
438
  enumerable: !1,
439
439
  writable: !1,
440
- value: v
441
- }), Object.defineProperty(E, "_source", {
440
+ value: x
441
+ }), Object.defineProperty(S, "_source", {
442
442
  configurable: !1,
443
443
  enumerable: !1,
444
444
  writable: !1,
445
- value: j
446
- }), Object.freeze && (Object.freeze(E.props), Object.freeze(E)), E;
445
+ value: I
446
+ }), Object.freeze && (Object.freeze(S.props), Object.freeze(S)), S;
447
447
  };
448
- function qt(e, l, u, v, j) {
448
+ function qt(e, l, u, x, I) {
449
449
  {
450
- var A, L = {}, E = null, Y = null;
451
- u !== void 0 && (rt(u), E = "" + u), Pt(l) && (rt(l.key), E = "" + l.key), Ft(l) && (Y = l.ref, zt(l, j));
452
- for (A in l)
453
- Ie.call(l, A) && !Bt.hasOwnProperty(A) && (L[A] = l[A]);
450
+ var T, L = {}, S = null, K = null;
451
+ u !== void 0 && (rt(u), S = "" + u), Pt(l) && (rt(l.key), S = "" + l.key), Ft(l) && (K = l.ref, zt(l, I));
452
+ for (T in l)
453
+ Y.call(l, T) && !Bt.hasOwnProperty(T) && (L[T] = l[T]);
454
454
  if (e && e.defaultProps) {
455
455
  var P = e.defaultProps;
456
- for (A in P)
457
- L[A] === void 0 && (L[A] = P[A]);
456
+ for (T in P)
457
+ L[T] === void 0 && (L[T] = P[T]);
458
458
  }
459
- if (E || Y) {
460
- var q = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
461
- E && Wt(L, q), Y && Vt(L, q);
459
+ if (S || K) {
460
+ var V = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
461
+ S && Wt(L, V), K && Vt(L, V);
462
462
  }
463
- return Ht(e, E, Y, j, v, st.current, L);
463
+ return Ht(e, S, K, I, x, st.current, L);
464
464
  }
465
465
  }
466
- var qe = S.ReactCurrentOwner, it = S.ReactDebugCurrentFrame;
466
+ var Ge = C.ReactCurrentOwner, it = C.ReactDebugCurrentFrame;
467
467
  function Le(e) {
468
468
  if (e) {
469
- var l = e._owner, u = Ue(e.type, e._source, l ? l.type : null);
469
+ var l = e._owner, u = Z(e.type, e._source, l ? l.type : null);
470
470
  it.setExtraStackFrame(u);
471
471
  } else
472
472
  it.setExtraStackFrame(null);
473
473
  }
474
- var Ge;
475
- Ge = !1;
476
- function Ze(e) {
474
+ var Ze;
475
+ Ze = !1;
476
+ function Ye(e) {
477
477
  return typeof e == "object" && e !== null && e.$$typeof === r;
478
478
  }
479
479
  function lt() {
480
480
  {
481
- if (qe.current) {
482
- var e = O(qe.current.type);
481
+ if (Ge.current) {
482
+ var e = m(Ge.current.type);
483
483
  if (e)
484
484
  return `
485
485
 
@@ -513,26 +513,26 @@ Check the top-level render call using <` + u + ">.");
513
513
  if (ct[u])
514
514
  return;
515
515
  ct[u] = !0;
516
- var v = "";
517
- e && e._owner && e._owner !== qe.current && (v = " It was passed a child from " + O(e._owner.type) + "."), Le(e), m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, v), Le(null);
516
+ var x = "";
517
+ e && e._owner && e._owner !== Ge.current && (x = " It was passed a child from " + m(e._owner.type) + "."), Le(e), g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, x), Le(null);
518
518
  }
519
519
  }
520
520
  function ut(e, l) {
521
521
  {
522
522
  if (typeof e != "object")
523
523
  return;
524
- if (He(e))
524
+ if (qe(e))
525
525
  for (var u = 0; u < e.length; u++) {
526
- var v = e[u];
527
- Ze(v) && dt(v, l);
526
+ var x = e[u];
527
+ Ye(x) && dt(x, l);
528
528
  }
529
- else if (Ze(e))
529
+ else if (Ye(e))
530
530
  e._store && (e._store.validated = !0);
531
531
  else if (e) {
532
- var j = C(e);
533
- if (typeof j == "function" && j !== e.entries)
534
- for (var A = j.call(e), L; !(L = A.next()).done; )
535
- Ze(L.value) && dt(L.value, l);
532
+ var I = w(e);
533
+ if (typeof I == "function" && I !== e.entries)
534
+ for (var T = I.call(e), L; !(L = T.next()).done; )
535
+ Ye(L.value) && dt(L.value, l);
536
536
  }
537
537
  }
538
538
  }
@@ -546,76 +546,76 @@ Check the top-level render call using <` + u + ">.");
546
546
  u = l.propTypes;
547
547
  else if (typeof l == "object" && (l.$$typeof === d || // Note: Memo only checks outer props here.
548
548
  // Inner props are checked in the reconciler.
549
- l.$$typeof === g))
549
+ l.$$typeof === h))
550
550
  u = l.propTypes;
551
551
  else
552
552
  return;
553
553
  if (u) {
554
- var v = O(l);
555
- Nt(u, e.props, "prop", v, e);
556
- } else if (l.PropTypes !== void 0 && !Ge) {
557
- Ge = !0;
558
- var j = O(l);
559
- m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", j || "Unknown");
554
+ var x = m(l);
555
+ Nt(u, e.props, "prop", x, e);
556
+ } else if (l.PropTypes !== void 0 && !Ze) {
557
+ Ze = !0;
558
+ var I = m(l);
559
+ g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", I || "Unknown");
560
560
  }
561
- typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
561
+ typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && g("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
562
562
  }
563
563
  }
564
564
  function Jt(e) {
565
565
  {
566
566
  for (var l = Object.keys(e.props), u = 0; u < l.length; u++) {
567
- var v = l[u];
568
- if (v !== "children" && v !== "key") {
569
- Le(e), m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), Le(null);
567
+ var x = l[u];
568
+ if (x !== "children" && x !== "key") {
569
+ Le(e), g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", x), Le(null);
570
570
  break;
571
571
  }
572
572
  }
573
- e.ref !== null && (Le(e), m("Invalid attribute `ref` supplied to `React.Fragment`."), Le(null));
573
+ e.ref !== null && (Le(e), g("Invalid attribute `ref` supplied to `React.Fragment`."), Le(null));
574
574
  }
575
575
  }
576
576
  var _t = {};
577
- function pt(e, l, u, v, j, A) {
577
+ function pt(e, l, u, x, I, T) {
578
578
  {
579
- var L = W(e);
579
+ var L = q(e);
580
580
  if (!L) {
581
- var E = "";
582
- (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (E += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
583
- var Y = Gt();
584
- Y ? E += Y : E += lt();
581
+ var S = "";
582
+ (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (S += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
583
+ var K = Gt();
584
+ K ? S += K : S += lt();
585
585
  var P;
586
- e === null ? P = "null" : He(e) ? P = "array" : e !== void 0 && e.$$typeof === r ? (P = "<" + (O(e.type) || "Unknown") + " />", E = " Did you accidentally export a JSX literal instead of a component?") : P = typeof e, m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", P, E);
586
+ e === null ? P = "null" : qe(e) ? P = "array" : e !== void 0 && e.$$typeof === r ? (P = "<" + (m(e.type) || "Unknown") + " />", S = " Did you accidentally export a JSX literal instead of a component?") : P = typeof e, g("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", P, S);
587
587
  }
588
- var q = qt(e, l, u, j, A);
589
- if (q == null)
590
- return q;
588
+ var V = qt(e, l, u, I, T);
589
+ if (V == null)
590
+ return V;
591
591
  if (L) {
592
592
  var ne = l.children;
593
593
  if (ne !== void 0)
594
- if (v)
595
- if (He(ne)) {
594
+ if (x)
595
+ if (qe(ne)) {
596
596
  for (var Me = 0; Me < ne.length; Me++)
597
597
  ut(ne[Me], e);
598
598
  Object.freeze && Object.freeze(ne);
599
599
  } else
600
- m("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
600
+ g("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
601
601
  else
602
602
  ut(ne, e);
603
603
  }
604
- if (Ie.call(l, "key")) {
605
- var ve = O(e), X = Object.keys(l).filter(function(aa) {
604
+ if (Y.call(l, "key")) {
605
+ var Ce = m(e), ee = Object.keys(l).filter(function(aa) {
606
606
  return aa !== "key";
607
- }), Ye = X.length > 0 ? "{key: someKey, " + X.join(": ..., ") + ": ...}" : "{key: someKey}";
608
- if (!_t[ve + Ye]) {
609
- var ta = X.length > 0 ? "{" + X.join(": ..., ") + ": ...}" : "{}";
610
- m(`A props object containing a "key" prop is being spread into JSX:
607
+ }), Je = ee.length > 0 ? "{key: someKey, " + ee.join(": ..., ") + ": ...}" : "{key: someKey}";
608
+ if (!_t[Ce + Je]) {
609
+ var ta = ee.length > 0 ? "{" + ee.join(": ..., ") + ": ...}" : "{}";
610
+ g(`A props object containing a "key" prop is being spread into JSX:
611
611
  let props = %s;
612
612
  <%s {...props} />
613
613
  React keys must be passed directly to JSX without using spread:
614
614
  let props = %s;
615
- <%s key={someKey} {...props} />`, Ye, ve, ta, ve), _t[ve + Ye] = !0;
615
+ <%s key={someKey} {...props} />`, Je, Ce, ta, Ce), _t[Ce + Je] = !0;
616
616
  }
617
617
  }
618
- return e === s ? Jt(q) : Yt(q), q;
618
+ return e === s ? Jt(V) : Yt(V), V;
619
619
  }
620
620
  }
621
621
  function Kt(e, l, u) {
@@ -625,12 +625,12 @@ React keys must be passed directly to JSX without using spread:
625
625
  return pt(e, l, u, !1);
626
626
  }
627
627
  var Qt = Xt, ea = Kt;
628
- ke.Fragment = s, ke.jsx = Qt, ke.jsxs = ea;
629
- }()), ke;
628
+ Re.Fragment = s, Re.jsx = Qt, Re.jsxs = ea;
629
+ }()), Re;
630
630
  }
631
631
  var ht;
632
632
  function da() {
633
- return ht || (ht = 1, process.env.NODE_ENV === "production" ? Fe.exports = la() : Fe.exports = ca()), Fe.exports;
633
+ return ht || (ht = 1, process.env.NODE_ENV === "production" ? Be.exports = la() : Be.exports = ca()), Be.exports;
634
634
  }
635
635
  var o = da();
636
636
  const ua = (t) => t.as === "a", _a = (t) => t.as === void 0 || t.as === "button", pa = "_button_1abee_213", fa = "_disabled_1abee_237", ga = "_loading_1abee_237", ha = "_neutral_1abee_259", ba = "_accent_1abee_263", ya = "_positive_1abee_267", ma = "_negative_1abee_271", va = "_contrast_1abee_275", xa = "_special_1abee_279", Ca = "_primary_1abee_284", wa = "_secondary_1abee_285", Sa = "_tertiary_1abee_286", Ea = "_label_1abee_321", La = "_rightGroup_1abee_333", Ma = "_iconOnly_1abee_349", $a = "_large_1abee_357", ja = "_medium_1abee_361", Ia = "_small_1abee_365", Ra = "_spaceBetween_1abee_370", ka = "_stretched_1abee_384", Ta = "_icon_1abee_349", Aa = "_badge_1abee_705", Na = "_badgeMedium_1abee_721", Da = "_circular_1abee_738", Oa = "_badgeSmall_1abee_743", Ua = "_badgeExtraSmall_1abee_765", Ba = "_withSubcaption_1abee_784", Fa = "_subcaption_1abee_797", Pa = "_loader_1abee_804", za = "_spin_1abee_1", Wa = "_l_1abee_237", Va = "_m_1abee_361", Ha = "_s_1abee_279", qa = "_xs_1abee_869", z = {
@@ -682,16 +682,16 @@ const ua = (t) => t.as === "a", _a = (t) => t.as === void 0 || t.as === "button"
682
682
  }) => {
683
683
  if (t)
684
684
  return /* @__PURE__ */ o.jsx("span", { className: z.loader, "data-testid": "button-loader", "aria-hidden": "true" });
685
- const _ = s === "extra-small", g = parseInt(String(a), 10), h = !isNaN(g) && g >= 0 && g <= 9;
685
+ const _ = s === "extra-small", h = parseInt(String(a), 10), b = !isNaN(h) && h >= 0 && h <= 9;
686
686
  return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
687
687
  r && (a || _) && /* @__PURE__ */ o.jsx(
688
688
  "span",
689
689
  {
690
690
  "data-testid": "button-badge",
691
- className: U(
691
+ className: B(
692
692
  z.badge,
693
693
  z[`badge${_ ? "ExtraSmall" : s === "medium" ? "Medium" : "Small"}`],
694
- { [z.circular]: h && !_ }
694
+ { [z.circular]: b && !_ }
695
695
  ),
696
696
  children: !_ && a
697
697
  }
@@ -707,7 +707,7 @@ const ua = (t) => t.as === "a", _a = (t) => t.as === void 0 || t.as === "button"
707
707
  ] })
708
708
  ] }) : /* @__PURE__ */ o.jsx("span", { "data-testid": "button-icon", className: z.icon, children: i })
709
709
  ] });
710
- }, Rn = Q((t, r) => {
710
+ }, Rn = te((t, r) => {
711
711
  const {
712
712
  mode: a = "primary",
713
713
  size: s = "m",
@@ -718,129 +718,129 @@ const ua = (t) => t.as === "a", _a = (t) => t.as === void 0 || t.as === "button"
718
718
  badgeSize: d = "small",
719
719
  badgeValue: f,
720
720
  showSubcaption: _ = !1,
721
- subcaption: g,
722
- stretched: h = !1,
723
- spaceBetween: b = !1,
724
- icon: y,
725
- postfix: w,
726
- className: C,
727
- children: S
728
- } = t, m = c, R = n, D = !m && !R, k = !!y && !S, T = U(
721
+ subcaption: h,
722
+ stretched: b = !1,
723
+ spaceBetween: y = !1,
724
+ icon: v,
725
+ postfix: E,
726
+ className: w,
727
+ children: C
728
+ } = t, g = c, R = n, D = !g && !R, k = !!v && !C, $ = B(
729
729
  z.button,
730
730
  z[s],
731
731
  z[a],
732
732
  z[i],
733
733
  {
734
- [z.disabled]: m,
734
+ [z.disabled]: g,
735
735
  [z.loading]: R,
736
- [z.stretched]: h,
737
- [z.spaceBetween]: b && h,
738
- [z.withSubcaption]: _ && g && s !== "s" && s !== "xs",
736
+ [z.stretched]: b,
737
+ [z.spaceBetween]: y && b,
738
+ [z.withSubcaption]: _ && h && s !== "s" && s !== "xs",
739
739
  [z.iconOnly]: k
740
740
  },
741
- C
742
- ), I = {
741
+ w
742
+ ), A = {
743
743
  isLoading: R,
744
744
  showBadge: p,
745
745
  badgeValue: f,
746
746
  badgeSize: d,
747
- icon: y,
748
- children: S,
749
- postfix: w,
747
+ icon: v,
748
+ children: C,
749
+ postfix: E,
750
750
  showSubcaption: _,
751
- subcaption: g,
751
+ subcaption: h,
752
752
  size: s
753
753
  };
754
754
  if (ua(t)) {
755
755
  const {
756
- href: B,
757
- onClick: N,
758
- mode: W,
759
- size: x,
760
- buttonStyle: V,
761
- loading: O,
762
- disabled: $,
756
+ href: N,
757
+ onClick: U,
758
+ mode: q,
759
+ size: W,
760
+ buttonStyle: O,
761
+ loading: m,
762
+ disabled: j,
763
763
  showBadge: F,
764
- badgeSize: H,
765
- badgeValue: G,
766
- showSubcaption: Z,
767
- subcaption: te,
768
- stretched: ae,
764
+ badgeSize: G,
765
+ badgeValue: H,
766
+ showSubcaption: Q,
767
+ subcaption: ae,
768
+ stretched: J,
769
769
  spaceBetween: re,
770
- icon: be,
771
- postfix: se,
772
- className: ye,
773
- tabIndex: Se,
774
- children: Ee,
770
+ icon: se,
771
+ postfix: de,
772
+ className: ve,
773
+ tabIndex: ie,
774
+ children: ye,
775
775
  "data-testid": ue,
776
- style: ie,
777
- ..._e
778
- } = t, le = (me) => {
779
- D && N && N(me);
776
+ style: le,
777
+ ...me
778
+ } = t, _e = (xe) => {
779
+ D && U && U(xe);
780
780
  };
781
781
  return /* @__PURE__ */ o.jsx(
782
782
  "a",
783
783
  {
784
784
  ref: r,
785
- className: T,
786
- href: D ? B : void 0,
785
+ className: $,
786
+ href: D ? N : void 0,
787
787
  tabIndex: t.tabIndex,
788
- onClick: le,
788
+ onClick: _e,
789
789
  "data-testid": ue,
790
- "aria-disabled": m || R,
791
- style: ie,
792
- ..._e,
793
- children: /* @__PURE__ */ o.jsx(bt, { ...I })
790
+ "aria-disabled": g || R,
791
+ style: le,
792
+ ...me,
793
+ children: /* @__PURE__ */ o.jsx(bt, { ...A })
794
794
  }
795
795
  );
796
796
  }
797
797
  if (_a(t)) {
798
798
  const {
799
- type: B = "button",
800
- onClick: N,
801
- mode: W,
802
- size: x,
803
- buttonStyle: V,
804
- loading: O,
805
- disabled: $,
799
+ type: N = "button",
800
+ onClick: U,
801
+ mode: q,
802
+ size: W,
803
+ buttonStyle: O,
804
+ loading: m,
805
+ disabled: j,
806
806
  showBadge: F,
807
- badgeSize: H,
808
- badgeValue: G,
809
- showSubcaption: Z,
810
- subcaption: te,
811
- stretched: ae,
807
+ badgeSize: G,
808
+ badgeValue: H,
809
+ showSubcaption: Q,
810
+ subcaption: ae,
811
+ stretched: J,
812
812
  spaceBetween: re,
813
- icon: be,
814
- postfix: se,
815
- className: ye,
816
- tabIndex: Se,
817
- children: Ee,
813
+ icon: se,
814
+ postfix: de,
815
+ className: ve,
816
+ tabIndex: ie,
817
+ children: ye,
818
818
  "data-testid": ue,
819
- style: ie,
820
- ..._e
821
- } = t, le = (me) => {
822
- D && N && N(me);
819
+ style: le,
820
+ ...me
821
+ } = t, _e = (xe) => {
822
+ D && U && U(xe);
823
823
  };
824
824
  return /* @__PURE__ */ o.jsx(
825
825
  "button",
826
826
  {
827
827
  ref: r,
828
- type: B,
829
- className: T,
830
- disabled: m,
828
+ type: N,
829
+ className: $,
830
+ disabled: g,
831
831
  tabIndex: t.tabIndex,
832
- onClick: le,
832
+ onClick: _e,
833
833
  "data-testid": ue,
834
- "aria-disabled": m || R,
835
- style: ie,
836
- ..._e,
837
- children: /* @__PURE__ */ o.jsx(bt, { ...I })
834
+ "aria-disabled": g || R,
835
+ style: le,
836
+ ...me,
837
+ children: /* @__PURE__ */ o.jsx(bt, { ...A })
838
838
  }
839
839
  );
840
840
  }
841
841
  return null;
842
842
  });
843
- var Je = { exports: {} };
843
+ var Ke = { exports: {} };
844
844
  /*!
845
845
  Copyright (c) 2018 Jed Watson.
846
846
  Licensed under the MIT License (MIT), see
@@ -877,10 +877,10 @@ function Ga() {
877
877
  }
878
878
  t.exports ? (a.default = a, t.exports = a) : window.classNames = a;
879
879
  })();
880
- }(Je)), Je.exports;
880
+ }(Ke)), Ke.exports;
881
881
  }
882
882
  var Za = Ga();
883
- const Ne = /* @__PURE__ */ ia(Za), Ya = "_avatar_1kyiq_17", Ja = "_clickable_1kyiq_41", Ka = "_icon_1kyiq_58", Xa = "_disabled_1kyiq_63", Qa = "_loading_1kyiq_68", er = "_image_1kyiq_74", tr = "_name_1kyiq_74", de = {
883
+ const Ae = /* @__PURE__ */ ia(Za), Ya = "_avatar_1kyiq_17", Ja = "_clickable_1kyiq_41", Ka = "_icon_1kyiq_58", Xa = "_disabled_1kyiq_63", Qa = "_loading_1kyiq_68", er = "_image_1kyiq_74", tr = "_name_1kyiq_74", pe = {
884
884
  avatar: Ya,
885
885
  clickable: Ja,
886
886
  icon: Ka,
@@ -901,7 +901,7 @@ const Ne = /* @__PURE__ */ ia(Za), Ya = "_avatar_1kyiq_17", Ja = "_clickable_1ky
901
901
  "color-contrast": "_color-contrast_1kyiq_167",
902
902
  "variant-light": "_variant-light_1kyiq_173",
903
903
  "variant-outline": "_variant-outline_1kyiq_245"
904
- }, De = {
904
+ }, Ne = {
905
905
  "typography-title-1-semibold": "_typography-title-1-semibold_1lyxn_1",
906
906
  "typography-title-2-semibold": "_typography-title-2-semibold_1lyxn_10",
907
907
  "typography-title-3-semibold": "_typography-title-3-semibold_1lyxn_19",
@@ -929,7 +929,7 @@ const Ne = /* @__PURE__ */ ia(Za), Ya = "_avatar_1kyiq_17", Ja = "_clickable_1ky
929
929
  function ar(t) {
930
930
  return t < mt ? `+${t}` : `${mt}+`;
931
931
  }
932
- function Qe(t) {
932
+ function et(t) {
933
933
  const r = typeof t == "string" ? t : JSON.stringify(t);
934
934
  let a = 5381;
935
935
  for (let s = 0; s < r.length; s++) {
@@ -949,7 +949,7 @@ const rr = [
949
949
  ];
950
950
  function sr(t, r = rr) {
951
951
  if (!t) return "gray";
952
- const a = Qe(t), s = Math.abs(a) % r.length;
952
+ const a = et(t), s = Math.abs(a) % r.length;
953
953
  return r[s];
954
954
  }
955
955
  const vt = 2;
@@ -991,7 +991,7 @@ const cr = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
991
991
  female: dr,
992
992
  org: _r,
993
993
  neutral: ur
994
- }, ze = Q((t, r) => {
994
+ }, Pe = te((t, r) => {
995
995
  const {
996
996
  style: a,
997
997
  size: s = 40,
@@ -1002,82 +1002,82 @@ const cr = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
1002
1002
  placeholderType: d = "neutral",
1003
1003
  name: f,
1004
1004
  imgSrc: _,
1005
- imgAlt: g,
1006
- icon: h,
1007
- imgProps: b,
1008
- colorScheme: y,
1009
- className: w,
1010
- "data-testid": C,
1011
- ...S
1012
- } = t, { onClick: m, onPointerDown: R } = S, k = !n && !i && (!!m || !!R), [T, I] = Oe(!1);
1013
- we(() => {
1014
- _ && I(!1);
1005
+ imgAlt: h,
1006
+ icon: b,
1007
+ imgProps: y,
1008
+ colorScheme: v,
1009
+ className: E,
1010
+ "data-testid": w,
1011
+ ...C
1012
+ } = t, { onClick: g, onPointerDown: R } = C, k = !n && !i && (!!g || !!R), [$, A] = De(!1);
1013
+ Ee(() => {
1014
+ _ && A(!1);
1015
1015
  }, [_]);
1016
- const B = _ && !T ? "image" : h ? "icon" : f ? "name" : "placeholder", N = y || B === "name" && sr(f) || "gray", W = lr(s), x = jt(s, c), V = U(
1017
- w,
1018
- de.avatar,
1019
- de[`variant-${p}`],
1020
- de[`color-${N}`],
1021
- De[W],
1016
+ const N = _ && !$ ? "image" : b ? "icon" : f ? "name" : "placeholder", U = v || N === "name" && sr(f) || "gray", q = lr(s), W = jt(s, c), O = B(
1017
+ E,
1018
+ pe.avatar,
1019
+ pe[`variant-${p}`],
1020
+ pe[`color-${U}`],
1021
+ Ne[q],
1022
1022
  {
1023
- [de.disabled]: n,
1024
- [de.loading]: i,
1025
- [de.clickable]: k
1023
+ [pe.disabled]: n,
1024
+ [pe.loading]: i,
1025
+ [pe.clickable]: k
1026
1026
  }
1027
- ), O = {
1027
+ ), m = {
1028
1028
  "--avatar-size": `${s}px`,
1029
- "--avatar-border-radius": `${x}px`,
1029
+ "--avatar-border-radius": `${W}px`,
1030
1030
  ...a
1031
- }, $ = {
1032
- icon: () => /* @__PURE__ */ o.jsx("span", { "data-testid": "avatar-icon", title: g || void 0, role: "img", className: de.icon, children: h == null ? void 0 : h({}) }),
1031
+ }, j = {
1032
+ icon: () => /* @__PURE__ */ o.jsx("span", { "data-testid": "avatar-icon", title: h || void 0, role: "img", className: pe.icon, children: b == null ? void 0 : b({}) }),
1033
1033
  name: () => /* @__PURE__ */ o.jsx(
1034
1034
  "span",
1035
1035
  {
1036
1036
  role: "textbox",
1037
1037
  "data-testid": "avatar-name",
1038
- className: de.name,
1039
- title: g || void 0,
1038
+ className: pe.name,
1039
+ title: h || void 0,
1040
1040
  children: nr(f || "")
1041
1041
  }
1042
1042
  ),
1043
1043
  placeholder: () => /* @__PURE__ */ o.jsx(
1044
1044
  "img",
1045
1045
  {
1046
- ...b,
1046
+ ...y,
1047
1047
  "data-testid": "avatar-placeholder",
1048
- className: de.image,
1048
+ className: pe.image,
1049
1049
  src: pr[d],
1050
- alt: g || void 0
1050
+ alt: h || void 0
1051
1051
  }
1052
1052
  ),
1053
1053
  image: () => /* @__PURE__ */ o.jsx(
1054
1054
  "img",
1055
1055
  {
1056
1056
  "data-testid": "avatar-image",
1057
- ...b,
1058
- className: de.image,
1057
+ ...y,
1058
+ className: pe.image,
1059
1059
  src: _ || void 0,
1060
- alt: g || void 0,
1061
- onLoad: () => I(!1),
1062
- onError: (H) => {
1063
- var G;
1064
- I(!0), (G = b == null ? void 0 : b.onError) == null || G.call(b, H);
1060
+ alt: h || void 0,
1061
+ onLoad: () => A(!1),
1062
+ onError: (G) => {
1063
+ var H;
1064
+ A(!0), (H = y == null ? void 0 : y.onError) == null || H.call(y, G);
1065
1065
  }
1066
1066
  }
1067
1067
  )
1068
- }, F = (H) => {
1069
- k && (m == null || m(H));
1068
+ }, F = (G) => {
1069
+ k && (g == null || g(G));
1070
1070
  };
1071
1071
  return /* @__PURE__ */ o.jsx(
1072
1072
  "div",
1073
1073
  {
1074
1074
  ref: r,
1075
1075
  onClick: F,
1076
- className: V,
1077
- style: O,
1078
- "data-testid": C,
1076
+ className: O,
1077
+ style: m,
1078
+ "data-testid": w,
1079
1079
  "aria-disabled": n || i,
1080
- children: $[B](null)
1080
+ children: j[N](null)
1081
1081
  }
1082
1082
  );
1083
1083
  }), fr = "_avatarGroup_157g4_1", gr = {
@@ -1111,7 +1111,7 @@ const yr = 3, mr = (t) => {
1111
1111
  shape: i = "circle",
1112
1112
  overflowCount: n = 0,
1113
1113
  overflowProps: c
1114
- } = t, p = a * s, d = -p + yr, f = jt(a, i), g = Ve(hr()).current.toString(), h = Ne(gr.avatarGroup), b = br(
1114
+ } = t, p = a * s, d = -p + yr, f = jt(a, i), h = We(hr()).current.toString(), b = Ae(gr.avatarGroup), y = br(
1115
1115
  a,
1116
1116
  a,
1117
1117
  a - p,
@@ -1122,22 +1122,22 @@ const yr = 3, mr = (t) => {
1122
1122
  a,
1123
1123
  f
1124
1124
  );
1125
- return r.length === 0 ? null : /* @__PURE__ */ o.jsxs("div", { className: h, children: [
1126
- r.map((y, w, C) => {
1127
- const S = w + 1 >= C.length;
1128
- if (y.wrapper) {
1129
- const m = y.wrapper;
1125
+ return r.length === 0 ? null : /* @__PURE__ */ o.jsxs("div", { className: b, children: [
1126
+ r.map((v, E, w) => {
1127
+ const C = E + 1 >= w.length;
1128
+ if (v.wrapper) {
1129
+ const g = v.wrapper;
1130
1130
  return /* @__PURE__ */ o.jsx(
1131
1131
  "div",
1132
1132
  {
1133
1133
  style: {
1134
1134
  // Для последнего видимого аватара без overflowCount не применяем обрезку
1135
- clipPath: S && !n ? void 0 : `url(#${g})`,
1135
+ clipPath: C && !n ? void 0 : `url(#${h})`,
1136
1136
  marginRight: d
1137
1137
  },
1138
- children: /* @__PURE__ */ o.jsx(m, { children: /* @__PURE__ */ o.jsx(ze, { size: a, shape: i, ...y }) })
1138
+ children: /* @__PURE__ */ o.jsx(g, { children: /* @__PURE__ */ o.jsx(Pe, { size: a, shape: i, ...v }) })
1139
1139
  },
1140
- Qe(y) + w
1140
+ et(v) + E
1141
1141
  );
1142
1142
  }
1143
1143
  return /* @__PURE__ */ o.jsx(
@@ -1145,16 +1145,16 @@ const yr = 3, mr = (t) => {
1145
1145
  {
1146
1146
  style: {
1147
1147
  // Для последнего видимого аватара без overflowCount не применяем обрезку
1148
- clipPath: S && !n ? void 0 : `url(#${g})`,
1148
+ clipPath: C && !n ? void 0 : `url(#${h})`,
1149
1149
  marginRight: d
1150
1150
  },
1151
- children: /* @__PURE__ */ o.jsx(ze, { size: a, shape: i, ...y })
1151
+ children: /* @__PURE__ */ o.jsx(Pe, { size: a, shape: i, ...v })
1152
1152
  },
1153
- Qe(y) + w
1153
+ et(v) + E
1154
1154
  );
1155
1155
  }),
1156
1156
  n > 0 && /* @__PURE__ */ o.jsx("div", { style: { marginRight: d }, children: /* @__PURE__ */ o.jsx(
1157
- ze,
1157
+ Pe,
1158
1158
  {
1159
1159
  size: a,
1160
1160
  shape: i,
@@ -1164,11 +1164,11 @@ const yr = 3, mr = (t) => {
1164
1164
  ...c
1165
1165
  }
1166
1166
  ) }),
1167
- /* @__PURE__ */ o.jsx("svg", { width: "0", height: "0", children: /* @__PURE__ */ o.jsx("clipPath", { id: `${g}`, children: /* @__PURE__ */ o.jsx("path", { clipPathUnits: "objectBoundingBox", d: b, clipRule: "evenodd" }) }) })
1167
+ /* @__PURE__ */ o.jsx("svg", { width: "0", height: "0", children: /* @__PURE__ */ o.jsx("clipPath", { id: `${h}`, children: /* @__PURE__ */ o.jsx("path", { clipPathUnits: "objectBoundingBox", d: y, clipRule: "evenodd" }) }) })
1168
1168
  ] });
1169
- }, kn = Object.assign(ze, {
1169
+ }, kn = Object.assign(Pe, {
1170
1170
  Group: mr
1171
- }), vr = "_wrapper_ecbsu_5", xr = "_badge__container_ecbsu_6", Cr = "_badge__content_ecbsu_7", wr = "_interactive_ecbsu_20", Sr = "_disabled_ecbsu_21", Er = "_icon_ecbsu_22", pe = {
1171
+ }), vr = "_wrapper_ecbsu_5", xr = "_badge__container_ecbsu_6", Cr = "_badge__content_ecbsu_7", wr = "_interactive_ecbsu_20", Sr = "_disabled_ecbsu_21", Er = "_icon_ecbsu_22", fe = {
1172
1172
  wrapper: vr,
1173
1173
  badge__container: xr,
1174
1174
  badge__content: Cr,
@@ -1216,14 +1216,14 @@ const yr = 3, mr = (t) => {
1216
1216
  }
1217
1217
  return null;
1218
1218
  }, $r = () => {
1219
- const t = Ve(null), [r, a] = Oe(null);
1220
- return we(() => {
1219
+ const t = We(null), [r, a] = De(null);
1220
+ return Ee(() => {
1221
1221
  if (t.current) {
1222
1222
  const s = Mr(t.current);
1223
1223
  a(s);
1224
1224
  }
1225
1225
  }, []), { ref: t, bgColor: r };
1226
- }, Tn = Q((t, r) => {
1226
+ }, Tn = te((t, r) => {
1227
1227
  const {
1228
1228
  icon: a,
1229
1229
  children: s,
@@ -1234,59 +1234,59 @@ const yr = 3, mr = (t) => {
1234
1234
  size: d = 20,
1235
1235
  position: f = "top-right",
1236
1236
  positionOffset: _ = { x: 0, y: 0 },
1237
- cutoutBackground: g,
1238
- isDisabled: h,
1239
- className: b,
1240
- "data-testid": y = "badge",
1241
- ...w
1242
- } = t, { onClick: C, onPointerDown: S } = w, { ref: m, bgColor: R } = $r(), D = g || R, T = !h && (!!C || !!S), I = Ne(pe.badge__container, pe[`position-${f}`]), B = Ne(
1243
- b,
1244
- pe.badge__content,
1245
- pe[`color-${p}`],
1246
- pe[`variant-${i}`],
1237
+ cutoutBackground: h,
1238
+ isDisabled: b,
1239
+ className: y,
1240
+ "data-testid": v = "badge",
1241
+ ...E
1242
+ } = t, { onClick: w, onPointerDown: C } = E, { ref: g, bgColor: R } = $r(), D = h || R, $ = !b && (!!w || !!C), A = Ae(fe.badge__container, fe[`position-${f}`]), N = Ae(
1243
+ y,
1244
+ fe.badge__content,
1245
+ fe[`color-${p}`],
1246
+ fe[`variant-${i}`],
1247
1247
  {
1248
- [pe.disabled]: h,
1249
- [pe.icon]: !!a,
1250
- [pe.interactive]: T
1248
+ [fe.disabled]: b,
1249
+ [fe.icon]: !!a,
1250
+ [fe.interactive]: $
1251
1251
  }
1252
- ), N = {
1252
+ ), U = {
1253
1253
  "--badge-height": `${d}px`,
1254
1254
  "--badge-offset-x": `${_.x}px`,
1255
1255
  "--badge-offset-y": `${_.y}px`,
1256
1256
  ...D && { "--badge-cutout-bg": D },
1257
1257
  ...i === "transparent" && { "--badge-cutout-bg": "transparent" }
1258
- }, W = (a == null ? void 0 : a({})) || n, x = (V) => {
1259
- T && (C == null || C(V));
1258
+ }, q = (a == null ? void 0 : a({})) || n, W = (O) => {
1259
+ $ && (w == null || w(O));
1260
1260
  };
1261
- return /* @__PURE__ */ o.jsxs("div", { className: pe.wrapper, ref: m, "data-testid": y + "-wrapper", children: [
1261
+ return /* @__PURE__ */ o.jsxs("div", { className: fe.wrapper, ref: g, "data-testid": v + "-wrapper", children: [
1262
1262
  s,
1263
1263
  !c && /* @__PURE__ */ o.jsx(
1264
1264
  "span",
1265
1265
  {
1266
- className: I,
1267
- style: N,
1268
- "data-testid": y + "-container",
1266
+ className: A,
1267
+ style: U,
1268
+ "data-testid": v + "-container",
1269
1269
  children: /* @__PURE__ */ o.jsx(
1270
1270
  "span",
1271
1271
  {
1272
- ...w,
1273
- onClick: x,
1274
- className: B,
1275
- "data-testid": y + "-content",
1272
+ ...E,
1273
+ onClick: W,
1274
+ className: N,
1275
+ "data-testid": v + "-content",
1276
1276
  ref: r,
1277
- "aria-disabled": h,
1278
- children: W
1277
+ "aria-disabled": b,
1278
+ children: q
1279
1279
  }
1280
1280
  )
1281
1281
  }
1282
1282
  )
1283
1283
  ] });
1284
- }), jr = "_container_1gkrm_7", Ir = "_loading_1gkrm_17", Rr = "_error_1gkrm_18", kr = "_image_1gkrm_22", Te = {
1284
+ }), jr = "_container_1gkrm_7", Ir = "_loading_1gkrm_17", Rr = "_error_1gkrm_18", kr = "_image_1gkrm_22", ke = {
1285
1285
  container: jr,
1286
1286
  loading: Ir,
1287
1287
  error: Rr,
1288
1288
  image: kr
1289
- }, Tr = "_loader_isv17_1", Ar = "_spin_isv17_1", Nr = "_accent_isv17_19", Dr = "_neutral_isv17_23", Or = "_positive_isv17_27", Ur = "_negative_isv17_31", Br = "_gray_isv17_35", Fr = "_special_isv17_39", Pr = "_contrast_isv17_43", zr = "_container_isv17_47", Wr = "_overlay_isv17_57", Ae = {
1289
+ }, Tr = "_loader_isv17_1", Ar = "_spin_isv17_1", Nr = "_accent_isv17_19", Dr = "_neutral_isv17_23", Or = "_positive_isv17_27", Ur = "_negative_isv17_31", Br = "_gray_isv17_35", Fr = "_special_isv17_39", Pr = "_contrast_isv17_43", zr = "_container_isv17_47", Wr = "_overlay_isv17_57", Te = {
1290
1290
  loader: Tr,
1291
1291
  spin: Ar,
1292
1292
  accent: Nr,
@@ -1303,7 +1303,7 @@ const yr = 3, mr = (t) => {
1303
1303
  "size-48": "_size-48_isv17_80",
1304
1304
  "size-64": "_size-64_isv17_84",
1305
1305
  "size-96": "_size-96_isv17_88"
1306
- }, It = Q(
1306
+ }, It = te(
1307
1307
  ({
1308
1308
  size: t = 24,
1309
1309
  variant: r = "accent",
@@ -1312,10 +1312,10 @@ const yr = 3, mr = (t) => {
1312
1312
  style: i,
1313
1313
  ...n
1314
1314
  }, c) => {
1315
- const p = Ne(
1316
- Ae.loader,
1317
- Ae[r],
1318
- Ae[`size-${t}`],
1315
+ const p = Ae(
1316
+ Te.loader,
1317
+ Te[r],
1318
+ Te[`size-${t}`],
1319
1319
  a
1320
1320
  );
1321
1321
  return /* @__PURE__ */ o.jsx(
@@ -1341,7 +1341,7 @@ const yr = 3, mr = (t) => {
1341
1341
  }
1342
1342
  );
1343
1343
  }
1344
- ), Vr = Q((t, r) => {
1344
+ ), Vr = te((t, r) => {
1345
1345
  const {
1346
1346
  loading: a = !1,
1347
1347
  size: s = 24,
@@ -1351,12 +1351,12 @@ const yr = 3, mr = (t) => {
1351
1351
  style: p,
1352
1352
  "data-testid": d,
1353
1353
  ...f
1354
- } = t, _ = Ne(Ae.container, c);
1354
+ } = t, _ = Ae(Te.container, c);
1355
1355
  return /* @__PURE__ */ o.jsxs("div", { ref: r, className: _, style: p, "data-testid": d, ...f, children: [
1356
1356
  n,
1357
- a && /* @__PURE__ */ o.jsx("div", { className: Ae.overlay, children: /* @__PURE__ */ o.jsx(It, { size: s, variant: i, "data-testid": `${d}-spinner` }) })
1357
+ a && /* @__PURE__ */ o.jsx("div", { className: Te.overlay, children: /* @__PURE__ */ o.jsx(It, { size: s, variant: i, "data-testid": `${d}-spinner` }) })
1358
1358
  ] });
1359
- }), Hr = Q((t, r) => t.children ? /* @__PURE__ */ o.jsx(
1359
+ }), Hr = te((t, r) => t.children ? /* @__PURE__ */ o.jsx(
1360
1360
  Vr,
1361
1361
  {
1362
1362
  ref: r,
@@ -1383,7 +1383,7 @@ const yr = 3, mr = (t) => {
1383
1383
  }
1384
1384
  )
1385
1385
  }
1386
- ), An = Q((t, r) => {
1386
+ ), An = te((t, r) => {
1387
1387
  const {
1388
1388
  alt: a = "",
1389
1389
  loading: s = "lazy",
@@ -1394,28 +1394,28 @@ const yr = 3, mr = (t) => {
1394
1394
  "data-testid": d = "image",
1395
1395
  onError: f,
1396
1396
  onLoad: _,
1397
- ...g
1398
- } = t, [h, b] = Oe("loading"), y = h === "error", w = (n || h === "loading") && !y, C = h === "loaded" && !n, S = U(
1399
- Te.container,
1397
+ ...h
1398
+ } = t, [b, y] = De("loading"), v = b === "error", E = (n || b === "loading") && !v, w = b === "loaded" && !n, C = B(
1399
+ ke.container,
1400
1400
  {
1401
- [Te.loading]: w,
1402
- [Te.error]: y
1401
+ [ke.loading]: E && !w,
1402
+ [ke.error]: v && !w
1403
1403
  },
1404
1404
  p
1405
- ), m = U(
1406
- Te.image,
1405
+ ), g = B(
1406
+ ke.image,
1407
1407
  {
1408
- [Te.loading]: w
1408
+ [ke.loading]: E
1409
1409
  },
1410
1410
  c
1411
- ), R = Ce(
1412
- (T) => {
1413
- b("loaded"), _ == null || _(T);
1411
+ ), R = Se(
1412
+ ($) => {
1413
+ y("loaded"), _ == null || _($);
1414
1414
  },
1415
1415
  [_]
1416
- ), D = Ce(
1417
- (T) => {
1418
- b("error"), f == null || f(T);
1416
+ ), D = Se(
1417
+ ($) => {
1418
+ y("error"), f == null || f($);
1419
1419
  },
1420
1420
  [f]
1421
1421
  ), k = {
@@ -1441,20 +1441,20 @@ const yr = 3, mr = (t) => {
1441
1441
  "data-testid": d,
1442
1442
  loading: s,
1443
1443
  src: i,
1444
- className: m
1444
+ className: g
1445
1445
  }
1446
1446
  )
1447
1447
  };
1448
- return we(() => {
1448
+ return Ee(() => {
1449
1449
  if (!i) {
1450
- b("error");
1450
+ y("error");
1451
1451
  return;
1452
1452
  }
1453
- b("loading");
1454
- }, [i]), /* @__PURE__ */ o.jsxs("div", { className: S, "data-testid": `${d}-container`, ...g, children: [
1455
- w && k.loader,
1456
- y && k.error,
1457
- C && k.image
1453
+ y("loading");
1454
+ }, [i]), /* @__PURE__ */ o.jsxs("div", { className: C, "data-testid": `${d}-container`, ...h, children: [
1455
+ E && k.loader,
1456
+ v && k.error,
1457
+ w && k.image
1458
1458
  ] });
1459
1459
  }), Gr = {}, Rt = ra({
1460
1460
  locale: Gr
@@ -1483,11 +1483,11 @@ const yr = 3, mr = (t) => {
1483
1483
  "div",
1484
1484
  {
1485
1485
  "data-testid": "ConfigProvider-component",
1486
- className: U(Yr, Jr, Kr, s)
1486
+ className: B(Yr, Jr, Kr, s)
1487
1487
  }
1488
1488
  ),
1489
1489
  /* @__PURE__ */ o.jsx(Rt.Provider, { value: { locale: t }, children: a })
1490
- ] })), On = {}, Xr = "_tag_1llsi_1", Qr = "_label_1llsi_16", es = "_iconWrapper_1llsi_20", ts = "_medium_1llsi_27", as = "_large_1llsi_33", rs = "_disabled_1llsi_43", ss = "_neutral_1llsi_47", ns = "_positive_1llsi_53", os = "_negative_1llsi_59", is = "_warning_1llsi_65", ls = "_vivid_1llsi_71", cs = "_special_1llsi_77", ds = "_accent_1llsi_84", us = "_blue_1llsi_90", _s = "_lovely_1llsi_96", ps = "_dreamy_1llsi_102", xe = {
1490
+ ] })), On = {}, Xr = "_tag_1llsi_1", Qr = "_label_1llsi_16", es = "_iconWrapper_1llsi_20", ts = "_medium_1llsi_27", as = "_large_1llsi_33", rs = "_disabled_1llsi_43", ss = "_neutral_1llsi_47", ns = "_positive_1llsi_53", os = "_negative_1llsi_59", is = "_warning_1llsi_65", ls = "_vivid_1llsi_71", cs = "_special_1llsi_77", ds = "_accent_1llsi_84", us = "_blue_1llsi_90", _s = "_lovely_1llsi_96", ps = "_dreamy_1llsi_102", we = {
1491
1491
  tag: Xr,
1492
1492
  label: Qr,
1493
1493
  iconWrapper: es,
@@ -1504,7 +1504,7 @@ const yr = 3, mr = (t) => {
1504
1504
  blue: us,
1505
1505
  lovely: _s,
1506
1506
  dreamy: ps
1507
- }, Un = Q((t, r) => {
1507
+ }, Un = te((t, r) => {
1508
1508
  const {
1509
1509
  className: a,
1510
1510
  children: s,
@@ -1515,33 +1515,33 @@ const yr = 3, mr = (t) => {
1515
1515
  slotStart: d,
1516
1516
  slotEnd: f,
1517
1517
  slotStartWrapperProps: _ = {},
1518
- slotEndWrapperProps: g = {},
1519
- "data-testid": h
1520
- } = t, { className: b, ...y } = _, { className: w, ...C } = g;
1518
+ slotEndWrapperProps: h = {},
1519
+ "data-testid": b
1520
+ } = t, { className: y, ...v } = _, { className: E, ...w } = h;
1521
1521
  return /* @__PURE__ */ o.jsxs(
1522
1522
  "div",
1523
1523
  {
1524
- className: U(
1525
- xe.tag,
1526
- xe[n],
1527
- xe[i],
1524
+ className: B(
1525
+ we.tag,
1526
+ we[n],
1527
+ we[i],
1528
1528
  {
1529
- [xe.disabled]: c,
1530
- [De["typography-label-3-regular"]]: n === "medium",
1531
- [De["typography-subtitle-1-semibold"]]: n === "large"
1529
+ [we.disabled]: c,
1530
+ [Ne["typography-label-3-regular"]]: n === "medium",
1531
+ [Ne["typography-subtitle-1-semibold"]]: n === "large"
1532
1532
  },
1533
1533
  a
1534
1534
  ),
1535
- "data-testid": h || "tag-component",
1535
+ "data-testid": b || "tag-component",
1536
1536
  ref: r,
1537
1537
  children: [
1538
- d && /* @__PURE__ */ o.jsx("span", { className: U([xe.iconWrapper, b]), ...y, children: d }),
1539
- p && /* @__PURE__ */ o.jsx("span", { className: U([xe.label]), children: s }),
1540
- f && /* @__PURE__ */ o.jsx("span", { className: U([xe.iconWrapper, w]), ...C, children: f })
1538
+ d && /* @__PURE__ */ o.jsx("span", { className: B([we.iconWrapper, y]), ...v, children: d }),
1539
+ p && /* @__PURE__ */ o.jsx("span", { className: B([we.label]), children: s }),
1540
+ f && /* @__PURE__ */ o.jsx("span", { className: B([we.iconWrapper, E]), ...w, children: f })
1541
1541
  ]
1542
1542
  }
1543
1543
  );
1544
- }), fs = "_checkbox_qo5f5_43", gs = "_input_qo5f5_59", hs = "_icon_qo5f5_67", bs = "_container_qo5f5_84", ys = "_error_qo5f5_135", ms = "_checkboxWrapper_qo5f5_147", vs = "_medium_qo5f5_201", xs = "_large_qo5f5_206", Cs = "_label_qo5f5_247", ge = {
1544
+ }), fs = "_checkbox_qo5f5_43", gs = "_input_qo5f5_59", hs = "_icon_qo5f5_67", bs = "_container_qo5f5_84", ys = "_error_qo5f5_135", ms = "_checkboxWrapper_qo5f5_147", vs = "_medium_qo5f5_201", xs = "_large_qo5f5_206", Cs = "_label_qo5f5_247", he = {
1545
1545
  checkbox: fs,
1546
1546
  input: gs,
1547
1547
  icon: hs,
@@ -1617,7 +1617,7 @@ const yr = 3, mr = (t) => {
1617
1617
  return /* @__PURE__ */ o.jsx(
1618
1618
  "div",
1619
1619
  {
1620
- className: ge.icon,
1620
+ className: he.icon,
1621
1621
  "data-testid": `${i}-icon`,
1622
1622
  "data-checked": r,
1623
1623
  "data-disabled": a,
@@ -1625,7 +1625,7 @@ const yr = 3, mr = (t) => {
1625
1625
  children: s ? /* @__PURE__ */ o.jsx(Ss, { width: n, height: c }) : /* @__PURE__ */ o.jsx(ws, { width: n, height: c })
1626
1626
  }
1627
1627
  );
1628
- }, Bn = Q((t, r) => {
1628
+ }, Bn = te((t, r) => {
1629
1629
  const {
1630
1630
  name: a,
1631
1631
  value: s,
@@ -1636,52 +1636,52 @@ const yr = 3, mr = (t) => {
1636
1636
  disabled: d = !1,
1637
1637
  containerClassName: f,
1638
1638
  className: _,
1639
- containerStyle: g,
1640
- style: h,
1641
- children: b,
1642
- clickableLabel: y = !0,
1643
- tabIndex: w,
1644
- onChange: C,
1645
- "data-testid": S = "checkbox"
1646
- } = t, [m, R] = Oe(!1), D = s ?? m, k = d || c, T = !!p, I = D || n, B = U(ge.container, ge[i], f), N = U(
1647
- ge.checkbox,
1648
- ge[i],
1639
+ containerStyle: h,
1640
+ style: b,
1641
+ children: y,
1642
+ clickableLabel: v = !0,
1643
+ tabIndex: E,
1644
+ onChange: w,
1645
+ "data-testid": C = "checkbox"
1646
+ } = t, [g, R] = De(!1), D = s ?? g, k = d || c, $ = !!p, A = D || n, N = B(he.container, he[i], f), U = B(
1647
+ he.checkbox,
1648
+ he[i],
1649
1649
  {
1650
- [ge.error]: T
1650
+ [he.error]: $
1651
1651
  },
1652
1652
  _
1653
- ), W = ($) => {
1654
- k || (R($.target.checked), C == null || C($.target.checked, $));
1655
- }, x = ($) => {
1656
- if ($.key === "Enter" && !k) {
1657
- $.preventDefault();
1658
- const F = !I;
1659
- R(F), C == null || C(F);
1653
+ ), q = (j) => {
1654
+ k || (R(j.target.checked), w == null || w(j.target.checked, j));
1655
+ }, W = (j) => {
1656
+ if (j.key === "Enter" && !k) {
1657
+ j.preventDefault();
1658
+ const F = !A;
1659
+ R(F), w == null || w(F);
1660
1660
  }
1661
- }, V = ($) => {
1662
- y || $.preventDefault();
1663
- }, O = ($) => $.stopPropagation();
1661
+ }, O = (j) => {
1662
+ v || j.preventDefault();
1663
+ }, m = (j) => j.stopPropagation();
1664
1664
  return /* @__PURE__ */ o.jsxs(
1665
1665
  "label",
1666
1666
  {
1667
- className: B,
1667
+ className: N,
1668
1668
  htmlFor: a,
1669
- style: g,
1670
- "data-testid": S,
1671
- "data-clickable-label": y,
1669
+ style: h,
1670
+ "data-testid": C,
1671
+ "data-clickable-label": v,
1672
1672
  children: [
1673
- /* @__PURE__ */ o.jsx("div", { className: ge.checkboxWrapper, children: /* @__PURE__ */ o.jsxs(
1673
+ /* @__PURE__ */ o.jsx("div", { className: he.checkboxWrapper, children: /* @__PURE__ */ o.jsxs(
1674
1674
  "div",
1675
1675
  {
1676
- tabIndex: w || 0,
1677
- className: N,
1678
- style: h,
1679
- onKeyDown: x,
1680
- "aria-checked": I,
1676
+ tabIndex: E || 0,
1677
+ className: U,
1678
+ style: b,
1679
+ onKeyDown: W,
1680
+ "aria-checked": A,
1681
1681
  "aria-disabled": k,
1682
- "aria-invalid": T,
1682
+ "aria-invalid": $,
1683
1683
  "aria-describedby": p ? `${a}-error` : void 0,
1684
- "data-testid": `${S}-label`,
1684
+ "data-testid": `${C}-label`,
1685
1685
  children: [
1686
1686
  /* @__PURE__ */ o.jsx(
1687
1687
  "input",
@@ -1690,15 +1690,15 @@ const yr = 3, mr = (t) => {
1690
1690
  type: "checkbox",
1691
1691
  id: a,
1692
1692
  name: a,
1693
- checked: I,
1693
+ checked: A,
1694
1694
  disabled: k,
1695
- className: ge.input,
1696
- onChange: W,
1697
- onClick: O,
1698
- "aria-checked": I,
1699
- "aria-invalid": T,
1695
+ className: he.input,
1696
+ onChange: q,
1697
+ onClick: m,
1698
+ "aria-checked": A,
1699
+ "aria-invalid": $,
1700
1700
  "aria-describedby": p ? `${a}-error` : void 0,
1701
- "data-testid": `${S}-input`
1701
+ "data-testid": `${C}-input`
1702
1702
  }
1703
1703
  ),
1704
1704
  /* @__PURE__ */ o.jsx(
@@ -1706,23 +1706,23 @@ const yr = 3, mr = (t) => {
1706
1706
  {
1707
1707
  name: a,
1708
1708
  size: i,
1709
- isChecked: I,
1709
+ isChecked: A,
1710
1710
  isDisabled: k,
1711
1711
  indeterminate: n,
1712
- dataTestId: S
1712
+ dataTestId: C
1713
1713
  }
1714
1714
  )
1715
1715
  ]
1716
1716
  }
1717
1717
  ) }),
1718
- b && /* @__PURE__ */ o.jsx(
1718
+ y && /* @__PURE__ */ o.jsx(
1719
1719
  "span",
1720
1720
  {
1721
- "data-testid": `${S}-label-text`,
1722
- "data-clickable-label": y,
1723
- className: ge.label,
1724
- onClick: V,
1725
- children: b
1721
+ "data-testid": `${C}-label-text`,
1722
+ "data-clickable-label": v,
1723
+ className: he.label,
1724
+ onClick: O,
1725
+ children: y
1726
1726
  }
1727
1727
  )
1728
1728
  ]
@@ -1764,17 +1764,17 @@ const yr = 3, mr = (t) => {
1764
1764
  disabled: d = !1,
1765
1765
  typographyStyle: f = "primary",
1766
1766
  ..._
1767
- }, g) => {
1768
- const h = c || Us[a], b = U(
1767
+ }, h) => {
1768
+ const b = c || Us[a], y = B(
1769
1769
  je.typography,
1770
- De[`typography-${t}-${a}-${p}`],
1770
+ Ne[`typography-${t}-${a}-${p}`],
1771
1771
  je[f],
1772
1772
  {
1773
1773
  [je.disabled]: d
1774
1774
  },
1775
1775
  i
1776
1776
  );
1777
- return s ? /* @__PURE__ */ o.jsx(h, { ref: g, className: b, "data-testid": n, ..._, children: s }) : null;
1777
+ return s ? /* @__PURE__ */ o.jsx(b, { ref: h, className: y, "data-testid": n, ..._, children: s }) : null;
1778
1778
  }
1779
1779
  );
1780
1780
  return r.displayName = `Typography.${t === "title" ? "Title" : "Subtitle"}`, r;
@@ -1790,10 +1790,10 @@ const yr = 3, mr = (t) => {
1790
1790
  disabled: d = !1,
1791
1791
  typographyStyle: f = "primary",
1792
1792
  ..._
1793
- }, g) => {
1794
- const h = c, b = U(
1793
+ }, h) => {
1794
+ const b = c, y = B(
1795
1795
  je.typography,
1796
- De[`typography-${t}-${a}-${p}`],
1796
+ Ne[`typography-${t}-${a}-${p}`],
1797
1797
  je[f],
1798
1798
  {
1799
1799
  [je.disabled]: d
@@ -1801,10 +1801,10 @@ const yr = 3, mr = (t) => {
1801
1801
  i
1802
1802
  );
1803
1803
  return s ? /* @__PURE__ */ o.jsx(
1804
- h,
1804
+ b,
1805
1805
  {
1806
- ref: g,
1807
- className: b,
1806
+ ref: h,
1807
+ className: y,
1808
1808
  "data-testid": n,
1809
1809
  ..._,
1810
1810
  children: s
@@ -1818,10 +1818,10 @@ const yr = 3, mr = (t) => {
1818
1818
  Subtitle: xt("subtitle"),
1819
1819
  Label: Ct("label"),
1820
1820
  Paragraph: Ct("paragraph")
1821
- }, Bs = "_inputBase_1m6fe_85", Fs = "_wrapper_1m6fe_95", Ps = "_gripHandle_1m6fe_169", zs = "_error_1m6fe_230", Ws = "_tabFocused_1m6fe_237", Vs = "_disabled_1m6fe_262", Hs = "_loading_1m6fe_269", qs = "_label_1m6fe_279", Gs = "_small_1m6fe_292", Zs = "_large_1m6fe_299", Ys = "_leftSection_1m6fe_306", Js = "_rightSection_1m6fe_315", Ks = "_helper_1m6fe_351", Xs = "_floatingLabel_1m6fe_376", Qs = "_focused_1m6fe_434", en = "_filled_1m6fe_435", tn = "_medium_1m6fe_469", an = "_characterLimit_1m6fe_510", rn = "_input_1m6fe_85", sn = "_textarea_1m6fe_109", nn = "_truncate_1m6fe_637", on = "_hint_1m6fe_719", M = {
1821
+ }, Bs = "_inputBase_2vlla_85", Fs = "_wrapper_2vlla_95", Ps = "_gripHandle_2vlla_169", zs = "_error_2vlla_230", Ws = "_tabFocused_2vlla_237", Vs = "_disabled_2vlla_262", Hs = "_loading_2vlla_269", qs = "_label_2vlla_279", Gs = "_small_2vlla_292", Zs = "_large_2vlla_299", Ys = "_leftSection_2vlla_306", Js = "_rightSection_2vlla_315", Ks = "_helper_2vlla_351", Xs = "_floatingLabel_2vlla_376", Qs = "_focused_2vlla_434", en = "_filled_2vlla_435", tn = "_medium_2vlla_469", an = "_characterLimit_2vlla_510", rn = "_input_2vlla_85", sn = "_textarea_2vlla_109", nn = "_truncate_2vlla_637", on = "_hint_2vlla_719", M = {
1822
1822
  inputBase: Bs,
1823
1823
  wrapper: Fs,
1824
- "textarea-wrapper": "_textarea-wrapper_1m6fe_109",
1824
+ "textarea-wrapper": "_textarea-wrapper_2vlla_109",
1825
1825
  gripHandle: Ps,
1826
1826
  error: zs,
1827
1827
  tabFocused: Ws,
@@ -1840,13 +1840,15 @@ const yr = 3, mr = (t) => {
1840
1840
  characterLimit: an,
1841
1841
  input: rn,
1842
1842
  textarea: sn,
1843
- "size-small": "_size-small_1m6fe_586",
1844
- "size-medium": "_size-medium_1m6fe_592",
1845
- "size-large": "_size-large_1m6fe_598",
1846
- "with-floating-label": "_with-floating-label_1m6fe_605",
1843
+ "size-small": "_size-small_2vlla_586",
1844
+ "size-medium": "_size-medium_2vlla_592",
1845
+ "size-large": "_size-large_2vlla_598",
1846
+ "with-floating-label": "_with-floating-label_2vlla_605",
1847
1847
  truncate: nn,
1848
1848
  hint: on,
1849
- "has-hint": "_has-hint_1m6fe_736"
1849
+ "has-hint": "_has-hint_2vlla_736",
1850
+ "has-suffix": "_has-suffix_2vlla_742",
1851
+ "has-limit": "_has-limit_2vlla_748"
1850
1852
  }, ln = ({
1851
1853
  width: t = 8,
1852
1854
  height: r = 8,
@@ -1915,8 +1917,8 @@ const yr = 3, mr = (t) => {
1915
1917
  }
1916
1918
  );
1917
1919
  }, cn = (t, r) => {
1918
- const a = Ve(null), s = Ve(null);
1919
- return we(() => {
1920
+ const a = We(null), s = We(null);
1921
+ return Ee(() => {
1920
1922
  const i = r === "textarea" ? a.current : s.current;
1921
1923
  i && i.value !== t && (i.value = t || "");
1922
1924
  }, [t, r]), {
@@ -1934,25 +1936,25 @@ const yr = 3, mr = (t) => {
1934
1936
  const c = a.current.closest(`.${M.wrapper}`);
1935
1937
  c && (c.setAttribute("data-resize", "hug"), c.setAttribute("data-show-grip", "false"));
1936
1938
  };
1937
- return we(s, [t, r]), we(() => {
1939
+ return Ee(s, [t, r]), Ee(() => {
1938
1940
  r === "hug" && a.current && s();
1939
1941
  }, []), { resizeTextArea: s };
1940
- }, un = (t, r, a, s) => ({ handleGripMouseDown: Ce(
1942
+ }, un = (t, r, a, s) => ({ handleGripMouseDown: Se(
1941
1943
  (n) => {
1942
1944
  if (!t || r || a || !(s === "fixed" || !s)) return;
1943
1945
  n.preventDefault(), n.stopPropagation();
1944
1946
  const c = n.currentTarget.closest(`.${M.wrapper}`);
1945
1947
  if (!c) return;
1946
- const p = n.clientY, d = c.clientHeight, f = (g) => {
1947
- const h = g.clientY - p, b = Math.min(100, d), y = Math.max(b, d + h);
1948
- c.style.height = `${y}px`;
1948
+ const p = n.clientY, d = c.clientHeight, f = (h) => {
1949
+ const b = h.clientY - p, y = Math.min(100, d), v = Math.max(y, d + b);
1950
+ c.style.height = `${v}px`;
1949
1951
  }, _ = () => {
1950
1952
  document.removeEventListener("mousemove", f), document.removeEventListener("mouseup", _);
1951
1953
  };
1952
1954
  document.addEventListener("mousemove", f), document.addEventListener("mouseup", _);
1953
1955
  },
1954
1956
  [t, r, a, s]
1955
- ) }), wt = 30, _n = Q(
1957
+ ) }), wt = 30, _n = te(
1956
1958
  ({
1957
1959
  component: t = "input",
1958
1960
  size: r = "medium",
@@ -1963,75 +1965,78 @@ const yr = 3, mr = (t) => {
1963
1965
  onFocus: c,
1964
1966
  onBlur: p,
1965
1967
  onChange: d,
1966
- onKeyUp: f,
1967
- maxLength: _,
1968
- className: g,
1969
- style: h,
1970
- truncate: b = !1,
1971
- shouldShowFloatingLabelClass: y = !1,
1968
+ onKeyDown: f,
1969
+ onKeyUp: _,
1970
+ maxLength: h,
1971
+ className: b,
1972
+ style: y,
1973
+ truncate: v = !1,
1974
+ shouldShowFloatingLabelClass: E = !1,
1972
1975
  "aria-invalid": w,
1973
1976
  "aria-errormessage": C,
1974
- id: S,
1975
- resize: m,
1976
- ...R
1977
- }, D) => {
1978
- const { textareaRef: k, inputRef: T, currentRef: I } = cn(a, t);
1979
- if (dn(a, m, k), oa(D, () => I.current, [I]), t === "textarea")
1977
+ id: g,
1978
+ resize: R,
1979
+ ...D
1980
+ }, k) => {
1981
+ const { textareaRef: $, inputRef: A, currentRef: N } = cn(a, t);
1982
+ if (dn(a, R, $), oa(k, () => N.current, [N]), t === "textarea")
1980
1983
  return /* @__PURE__ */ o.jsx(
1981
1984
  "textarea",
1982
1985
  {
1983
- ref: k,
1984
- id: S,
1986
+ ref: $,
1987
+ id: g,
1985
1988
  value: a,
1986
1989
  placeholder: s,
1987
1990
  disabled: i || n,
1988
1991
  onFocus: c,
1989
1992
  onBlur: p,
1990
1993
  onChange: d,
1991
- onKeyUp: f,
1992
- maxLength: _,
1993
- className: U(
1994
+ onKeyDown: f,
1995
+ onKeyUp: _,
1996
+ maxLength: h,
1997
+ className: B(
1994
1998
  M.textarea,
1995
1999
  M[`size-${r}`],
1996
- y && M["with-floating-label"],
1997
- g
2000
+ E && M["with-floating-label"],
2001
+ b
1998
2002
  ),
1999
- style: h,
2003
+ style: y,
2000
2004
  "aria-invalid": w,
2001
2005
  "aria-errormessage": C,
2002
- "aria-describedby": C ? `${S}-error` : void 0,
2006
+ "aria-describedby": C ? `${g}-error` : void 0,
2003
2007
  tabIndex: 0,
2004
- "data-resize": m,
2005
- ...R
2008
+ "data-resize": R,
2009
+ ...D
2006
2010
  }
2007
2011
  );
2008
2012
  if (t === "input")
2009
2013
  return /* @__PURE__ */ o.jsx(
2010
2014
  "input",
2011
2015
  {
2012
- ref: T,
2013
- id: S,
2016
+ ref: A,
2017
+ id: g,
2014
2018
  value: a,
2015
2019
  placeholder: s,
2016
2020
  disabled: i || n,
2017
2021
  onFocus: c,
2018
2022
  onBlur: p,
2019
2023
  onChange: d,
2020
- onKeyUp: f,
2021
- maxLength: _,
2022
- className: U(
2024
+ onKeyDown: f,
2025
+ onKeyUp: _,
2026
+ maxLength: h,
2027
+ className: B(
2023
2028
  M.input,
2024
2029
  M[`size-${r}`],
2025
- y && M["with-floating-label"],
2026
- b && M.truncate,
2027
- g
2030
+ E && M["with-floating-label"],
2031
+ v && M.truncate,
2032
+ b
2028
2033
  ),
2029
- style: h,
2034
+ style: y,
2030
2035
  "aria-invalid": w,
2031
2036
  "aria-errormessage": C,
2032
- "aria-describedby": C ? `${S}-error` : void 0,
2037
+ "aria-describedby": C ? `${g}-error` : void 0,
2033
2038
  tabIndex: 0,
2034
- ...R
2039
+ ...D
2035
2040
  }
2036
2041
  );
2037
2042
  if (t !== "input" && t !== "textarea")
@@ -2039,7 +2044,7 @@ const yr = 3, mr = (t) => {
2039
2044
  `[Input] Недопустимое значение prop 'component': "${String(t)}". Допустимые значения: 'input', 'textarea'`
2040
2045
  ), null;
2041
2046
  }
2042
- ), Tt = Q(
2047
+ ), Tt = te(
2043
2048
  ({
2044
2049
  children: t,
2045
2050
  size: r = "medium",
@@ -2052,100 +2057,112 @@ const yr = 3, mr = (t) => {
2052
2057
  floatingLabelStyles: d,
2053
2058
  prefixStyles: f,
2054
2059
  suffixStyles: _,
2055
- labelProps: g,
2056
- helperProps: h,
2057
- showLimit: b = !1,
2058
- maxLength: y,
2059
- hint: w,
2060
- showHint: C = !1,
2061
- showHintOnEmpty: S = !1,
2062
- prefix: m,
2060
+ labelProps: h,
2061
+ helperProps: b,
2062
+ showLimit: y = !1,
2063
+ maxLength: v,
2064
+ hint: E,
2065
+ showHint: w = !1,
2066
+ showHintOnEmpty: C = !1,
2067
+ prefix: g,
2063
2068
  suffix: R,
2064
- placeholder: D,
2065
- showLabel: k = !0,
2066
- labelClassName: T,
2067
- hasValue: I = !1,
2068
- helper: B,
2069
- id: N,
2069
+ onSuffixClick: D,
2070
+ placeholder: k,
2071
+ showLabel: $ = !0,
2072
+ labelClassName: A,
2073
+ hasValue: N = !1,
2074
+ helper: U,
2075
+ id: q,
2070
2076
  value: W = "",
2071
- resize: x,
2072
- showGrip: V = !1,
2073
- ...O
2074
- }, $) => {
2075
- const F = $t(), H = N || F, G = C && w && (I || S), Z = w && w.length > wt ? w.substring(0, wt) + "..." : w, te = U(
2077
+ resize: O,
2078
+ showGrip: m = !1,
2079
+ ...j
2080
+ }, F) => {
2081
+ const G = $t(), H = q || G, Q = w && E && (N || C), ae = E && E.length > wt ? E.substring(0, wt) + "..." : E, J = B(
2076
2082
  M.wrapper,
2077
2083
  a && M.error,
2078
2084
  s && M.disabled,
2079
2085
  i && M.loading,
2080
- G && M["has-hint"],
2086
+ Q && M["has-hint"],
2087
+ R && M["has-suffix"],
2088
+ y && M["has-limit"],
2081
2089
  n
2082
- ), ae = U(
2090
+ ), re = B(
2083
2091
  M.floatingLabel,
2084
2092
  M[r],
2085
- I && M.filled,
2086
- T
2087
- ), { handleGripMouseDown: re } = un(V, s, i, x);
2088
- return /* @__PURE__ */ o.jsxs("div", { ref: $, className: M.inputBase, "data-testid": "input-base-wrapper", ...O, children: [
2093
+ N && M.filled,
2094
+ A
2095
+ ), { handleGripMouseDown: se } = un(m, s, i, O);
2096
+ return /* @__PURE__ */ o.jsxs("div", { ref: F, className: M.inputBase, "data-testid": "input-base-wrapper", ...j, children: [
2089
2097
  /* @__PURE__ */ o.jsxs(
2090
2098
  "div",
2091
2099
  {
2092
- className: te,
2100
+ className: J,
2093
2101
  style: p,
2094
- "data-resize": x,
2095
- "data-show-grip": V ? "true" : "false",
2102
+ "data-resize": O,
2103
+ "data-show-grip": m ? "true" : "false",
2096
2104
  ...c,
2097
2105
  children: [
2098
- m && /* @__PURE__ */ o.jsx("label", { htmlFor: H, className: M.leftSection, style: f, children: m }),
2099
- R && /* @__PURE__ */ o.jsx("label", { htmlFor: H, className: M.rightSection, style: _, children: R }),
2100
- D && k && /* @__PURE__ */ o.jsx(
2106
+ g && /* @__PURE__ */ o.jsx("label", { htmlFor: H, className: M.leftSection, style: f, children: g }),
2107
+ R && /* @__PURE__ */ o.jsx(
2101
2108
  "label",
2102
2109
  {
2103
2110
  htmlFor: H,
2104
- className: ae,
2111
+ className: M.rightSection,
2112
+ style: _,
2113
+ onClick: D,
2114
+ children: R
2115
+ }
2116
+ ),
2117
+ k && $ && /* @__PURE__ */ o.jsx(
2118
+ "label",
2119
+ {
2120
+ htmlFor: H,
2121
+ className: re,
2105
2122
  style: d,
2106
- ...g,
2107
- children: D
2123
+ ...h,
2124
+ children: k
2108
2125
  }
2109
2126
  ),
2110
2127
  t,
2111
- V && !b && (x === "fixed" || !x) && /* @__PURE__ */ o.jsx(
2128
+ m && !y && (O === "fixed" || !O) && /* @__PURE__ */ o.jsx(
2112
2129
  "div",
2113
2130
  {
2114
2131
  className: M.gripHandle,
2115
- onMouseDown: re,
2132
+ onMouseDown: se,
2116
2133
  role: "button",
2117
2134
  tabIndex: -1,
2118
2135
  "aria-label": "Изменить размер",
2119
2136
  children: /* @__PURE__ */ o.jsx(ln, {})
2120
2137
  }
2121
2138
  ),
2122
- G && /* @__PURE__ */ o.jsx(
2139
+ Q && /* @__PURE__ */ o.jsx(
2123
2140
  "div",
2124
2141
  {
2125
- className: U(M.hint, I && M.truncate),
2142
+ className: B(M.hint, N && M.truncate),
2126
2143
  "data-disabled": s || i,
2127
- children: Z
2144
+ children: ae
2128
2145
  }
2129
2146
  ),
2130
- b && y && /* @__PURE__ */ o.jsxs("div", { className: M.characterLimit, children: [
2147
+ y && v && /* @__PURE__ */ o.jsxs("div", { className: M.characterLimit, children: [
2131
2148
  (W || "").length,
2132
2149
  " из ",
2133
- y
2150
+ v
2134
2151
  ] })
2135
2152
  ]
2136
2153
  }
2137
2154
  ),
2138
- B && /* @__PURE__ */ o.jsx(
2155
+ U && /* @__PURE__ */ o.jsx(
2139
2156
  "div",
2140
2157
  {
2141
- className: U(
2158
+ className: B(
2142
2159
  M.helper,
2143
2160
  a && M.error,
2144
2161
  (s || i) && M.disabled
2145
2162
  ),
2146
- ...h,
2163
+ ...b,
2147
2164
  id: a ? `${H}-error` : void 0,
2148
- children: B
2165
+ children: U
2149
2166
  }
2150
2167
  )
2151
2168
  ] });
@@ -2154,7 +2171,7 @@ const yr = 3, mr = (t) => {
2154
2171
  Tt.displayName = "InputWrapperComponent";
2155
2172
  const St = Object.assign(_n, {
2156
2173
  Wrapper: Tt
2157
- }), At = Q(
2174
+ }), At = te(
2158
2175
  ({
2159
2176
  component: t = "input",
2160
2177
  size: r = "medium",
@@ -2167,171 +2184,175 @@ const St = Object.assign(_n, {
2167
2184
  labelClassName: d,
2168
2185
  helper: f,
2169
2186
  prefix: _,
2170
- suffix: g,
2171
- id: h,
2172
- onFocus: b,
2173
- onBlur: y,
2174
- onChange: w,
2175
- value: C = "",
2176
- wrapperProps: S,
2177
- wrapperStyles: m,
2178
- floatingLabelStyles: R,
2179
- prefixStyles: D,
2180
- suffixStyles: k,
2181
- textareaStyles: T,
2182
- labelProps: I,
2183
- helperProps: B,
2184
- showLimit: N = !1,
2185
- maxLength: W,
2186
- inputProps: x,
2187
- hint: V,
2188
- showHint: O = !1,
2189
- showHintOnEmpty: $ = !1,
2190
- truncate: F = !1,
2191
- resize: H,
2192
- showGrip: G = !1,
2193
- ...Z
2194
- }, te) => {
2195
- const ae = $t(), re = h || ae, [be, se] = Oe(C), ye = C !== void 0 ? C : be, Se = (ye || "").length > 0, ue = p && (r === "large" || t === "textarea") && !_, ie = Ce(
2196
- (K) => {
2197
- var ee;
2198
- i || n || (b == null || b(), (ee = x == null ? void 0 : x.onFocus) == null || ee.call(
2199
- x,
2200
- K
2187
+ suffix: h,
2188
+ id: b,
2189
+ onFocus: y,
2190
+ onBlur: v,
2191
+ onKeyDown: E,
2192
+ onSuffixClick: w,
2193
+ onChange: C,
2194
+ value: g = "",
2195
+ wrapperProps: R,
2196
+ wrapperStyles: D,
2197
+ floatingLabelStyles: k,
2198
+ prefixStyles: $,
2199
+ suffixStyles: A,
2200
+ textareaStyles: N,
2201
+ labelProps: U,
2202
+ helperProps: q,
2203
+ showLimit: W = !1,
2204
+ maxLength: O,
2205
+ inputProps: m,
2206
+ hint: j,
2207
+ showHint: F = !1,
2208
+ showHintOnEmpty: G = !1,
2209
+ truncate: H = !1,
2210
+ resize: Q,
2211
+ showGrip: ae = !1,
2212
+ ...J
2213
+ }, re) => {
2214
+ const se = $t(), de = b || se, [ve, ie] = De(g), ye = g !== void 0 ? g : ve, ue = (ye || "").length > 0, le = ye || "", _e = p && (r === "large" || t === "textarea") && !_, xe = Se(
2215
+ (Z) => {
2216
+ var Y;
2217
+ i || n || (y == null || y(), (Y = m == null ? void 0 : m.onFocus) == null || Y.call(
2218
+ m,
2219
+ Z
2201
2220
  ));
2202
2221
  },
2203
- [b, x, i, n]
2204
- ), _e = Ce(
2205
- (K) => {
2206
- var ee;
2207
- if (K.key === "Tab") {
2208
- const ce = K.target.closest(`.${M.wrapper}`);
2222
+ [y, m, i, n]
2223
+ ), Oe = Se(
2224
+ (Z) => {
2225
+ var Y;
2226
+ if (Z.key === "Tab") {
2227
+ const ce = Z.target.closest(`.${M.wrapper}`);
2209
2228
  ce && ce.classList.add(M.tabFocused);
2210
2229
  }
2211
- (ee = x == null ? void 0 : x.onKeyUp) == null || ee.call(
2212
- x,
2213
- K
2230
+ (Y = m == null ? void 0 : m.onKeyUp) == null || Y.call(
2231
+ m,
2232
+ Z
2214
2233
  );
2215
2234
  },
2216
- [x]
2217
- ), le = Ce(
2218
- (K) => {
2235
+ [m]
2236
+ ), Ve = Se(
2237
+ (Z) => {
2219
2238
  var ce;
2220
- const ee = K.target.closest(`.${M.wrapper}`);
2221
- ee && ee.classList.remove(M.tabFocused), y == null || y(), (ce = x == null ? void 0 : x.onBlur) == null || ce.call(
2222
- x,
2223
- K
2239
+ const Y = Z.target.closest(`.${M.wrapper}`);
2240
+ Y && Y.classList.remove(M.tabFocused), v == null || v(), (ce = m == null ? void 0 : m.onBlur) == null || ce.call(
2241
+ m,
2242
+ Z
2224
2243
  );
2225
2244
  },
2226
- [y, x]
2227
- ), me = Ce(
2228
- (K) => {
2245
+ [v, m]
2246
+ ), He = Se(
2247
+ (Z) => {
2229
2248
  var ce;
2230
2249
  if (i || n) return;
2231
- const ee = K.target.value;
2232
- se(ee), w == null || w(ee), (ce = x == null ? void 0 : x.onChange) == null || ce.call(
2233
- x,
2234
- K
2250
+ const Y = Z.target.value;
2251
+ ie(Y), C == null || C(Y, Z), (ce = m == null ? void 0 : m.onChange) == null || ce.call(
2252
+ m,
2253
+ Z
2235
2254
  );
2236
2255
  },
2237
- [w, x, i, n]
2256
+ [C, m, i, n]
2238
2257
  );
2239
- return we(() => {
2240
- se(C);
2241
- }, [C]), /* @__PURE__ */ o.jsx(
2258
+ return Ee(() => {
2259
+ ie(g || "");
2260
+ }, [g]), /* @__PURE__ */ o.jsx(
2242
2261
  St.Wrapper,
2243
2262
  {
2244
- ref: te,
2263
+ ref: re,
2245
2264
  size: r,
2246
2265
  error: s,
2247
2266
  disabled: i || n,
2248
2267
  loading: n,
2249
- className: U(a, t === "textarea" && M["textarea-wrapper"]),
2250
- wrapperProps: S,
2251
- wrapperStyles: m,
2252
- floatingLabelStyles: R,
2253
- prefixStyles: D,
2254
- suffixStyles: k,
2255
- labelProps: I,
2256
- helperProps: B,
2257
- showLimit: N,
2258
- maxLength: W,
2259
- hint: V,
2260
- showHint: O,
2261
- showHintOnEmpty: $,
2268
+ className: B(a, t === "textarea" && M["textarea-wrapper"]),
2269
+ wrapperProps: R,
2270
+ wrapperStyles: D,
2271
+ floatingLabelStyles: k,
2272
+ prefixStyles: $,
2273
+ suffixStyles: A,
2274
+ labelProps: U,
2275
+ helperProps: q,
2276
+ showLimit: W,
2277
+ maxLength: O,
2278
+ hint: j,
2279
+ showHint: F,
2280
+ showHintOnEmpty: G,
2262
2281
  prefix: _,
2263
- suffix: g,
2282
+ suffix: h,
2283
+ onSuffixClick: w,
2264
2284
  placeholder: c,
2265
2285
  showLabel: p,
2266
2286
  labelClassName: d,
2267
- hasValue: Se,
2287
+ hasValue: ue,
2268
2288
  helper: f,
2269
- id: re,
2270
- value: ye,
2271
- showGrip: G,
2272
- resize: H,
2273
- ...Z,
2289
+ id: de,
2290
+ value: le,
2291
+ showGrip: ae,
2292
+ resize: Q,
2293
+ ...J,
2274
2294
  children: /* @__PURE__ */ o.jsx(
2275
2295
  St,
2276
2296
  {
2277
2297
  component: t,
2278
2298
  size: r,
2279
- value: ye,
2299
+ value: le,
2280
2300
  placeholder: c,
2281
2301
  disabled: i,
2282
2302
  loading: n,
2283
- onFocus: ie,
2284
- onBlur: le,
2285
- onChange: me,
2286
- onKeyUp: _e,
2287
- maxLength: W,
2288
- truncate: F,
2289
- "data-empty": !Se,
2290
- shouldShowFloatingLabelClass: ue,
2291
- style: t === "textarea" ? T : void 0,
2303
+ onFocus: xe,
2304
+ onBlur: Ve,
2305
+ onChange: He,
2306
+ onKeyDown: E,
2307
+ onKeyUp: Oe,
2308
+ maxLength: O,
2309
+ truncate: H,
2310
+ "data-empty": !ue,
2311
+ shouldShowFloatingLabelClass: _e,
2312
+ style: t === "textarea" ? N : void 0,
2292
2313
  "aria-invalid": !!s,
2293
- "aria-errormessage": s ? `${re}-error` : void 0,
2294
- id: re,
2295
- resize: H,
2296
- ...x
2314
+ "aria-errormessage": s ? `${de}-error` : void 0,
2315
+ id: de,
2316
+ resize: Q,
2317
+ ...m
2297
2318
  }
2298
2319
  )
2299
2320
  }
2300
2321
  );
2301
2322
  }
2302
- ), J = {
2323
+ ), X = {
2303
2324
  SMALL: "small",
2304
2325
  MEDIUM: "medium",
2305
2326
  LARGE: "large"
2306
2327
  }, pn = (t, r, a, s) => {
2307
2328
  switch (t) {
2308
- case J.LARGE:
2329
+ case X.LARGE:
2309
2330
  return r && a ? "8px 16px 8px 16px" : "16px 16px 16px 16px";
2310
- case J.MEDIUM:
2331
+ case X.MEDIUM:
2311
2332
  return s ? "12px 12px 12px 12px" : "12px 12px 12px 16px";
2312
- case J.SMALL:
2333
+ case X.SMALL:
2313
2334
  return "10px 12px 10px 12px";
2314
2335
  default:
2315
2336
  return "12px 16px 12px 16px";
2316
2337
  }
2317
2338
  }, fn = (t) => {
2318
2339
  switch (t) {
2319
- case J.LARGE:
2340
+ case X.LARGE:
2320
2341
  return "56px";
2321
- case J.MEDIUM:
2342
+ case X.MEDIUM:
2322
2343
  return "48px";
2323
- case J.SMALL:
2344
+ case X.SMALL:
2324
2345
  return "40px";
2325
2346
  default:
2326
2347
  return "48px";
2327
2348
  }
2328
2349
  }, gn = (t) => {
2329
2350
  switch (t) {
2330
- case J.SMALL:
2351
+ case X.SMALL:
2331
2352
  return 8;
2332
2353
  // 8px для small
2333
- case J.MEDIUM:
2334
- case J.LARGE:
2354
+ case X.MEDIUM:
2355
+ case X.LARGE:
2335
2356
  return 12;
2336
2357
  // 12px для medium и large
2337
2358
  default:
@@ -2390,11 +2411,11 @@ const St = Object.assign(_n, {
2390
2411
  }), mn = (t, r, a, s) => {
2391
2412
  const i = fn(t), n = pn(t, r, a, s), c = gn(t);
2392
2413
  switch (t) {
2393
- case J.LARGE:
2414
+ case X.LARGE:
2394
2415
  return hn(i, n, c);
2395
- case J.MEDIUM:
2416
+ case X.MEDIUM:
2396
2417
  return bn(i, n, c);
2397
- case J.SMALL:
2418
+ case X.SMALL:
2398
2419
  return yn(i, n, c);
2399
2420
  default:
2400
2421
  return {
@@ -2404,7 +2425,7 @@ const St = Object.assign(_n, {
2404
2425
  suffixStyles: {}
2405
2426
  };
2406
2427
  }
2407
- }, Pn = Q(
2428
+ }, Pn = te(
2408
2429
  ({
2409
2430
  value: t = "",
2410
2431
  onChange: r,
@@ -2414,130 +2435,133 @@ const St = Object.assign(_n, {
2414
2435
  minLength: n,
2415
2436
  autoComplete: c,
2416
2437
  autoFocus: p,
2417
- size: d = J.MEDIUM,
2438
+ size: d = X.MEDIUM,
2418
2439
  inputProps: f,
2419
2440
  error: _,
2420
- disabled: g,
2421
- loading: h,
2422
- helper: b,
2423
- prefix: y,
2424
- suffix: w,
2425
- clearable: C = !1,
2426
- id: S,
2427
- showLabel: m = !0,
2441
+ disabled: h,
2442
+ loading: b,
2443
+ helper: y,
2444
+ prefix: v,
2445
+ suffix: E,
2446
+ clearable: w = !1,
2447
+ id: C,
2448
+ showLabel: g = !0,
2428
2449
  onFocus: R,
2429
2450
  onBlur: D,
2430
- className: k,
2431
- truncate: T = !0,
2432
- hint: I,
2433
- showHint: B = !1,
2434
- showHintOnEmpty: N = !1,
2435
- wrapperProps: W,
2436
- labelProps: x,
2437
- helperProps: V,
2438
- ...O
2439
- }, $) => {
2440
- const F = (t || "").length > 0, H = d === J.LARGE, G = !!y, Z = H && m && !y, te = C && F && !(g || h), ae = () => {
2441
- r == null || r("");
2442
- }, re = te ? /* @__PURE__ */ o.jsx(
2451
+ onSuffixClick: k,
2452
+ onClear: $,
2453
+ className: A,
2454
+ truncate: N = !0,
2455
+ hint: U,
2456
+ showHint: q = !1,
2457
+ showHintOnEmpty: W = !1,
2458
+ wrapperProps: O,
2459
+ labelProps: m,
2460
+ helperProps: j,
2461
+ ...F
2462
+ }, G) => {
2463
+ const H = (t || "").length > 0, Q = d === X.LARGE, ae = !!v, J = Q && g && !v, re = w && H && !(h || b), se = () => {
2464
+ r == null || r(""), $ == null || $();
2465
+ }, de = re ? /* @__PURE__ */ o.jsx(
2443
2466
  kt,
2444
2467
  {
2445
- size: d === J.SMALL ? "xs" : "sm",
2468
+ size: d === X.SMALL ? "xs" : "sm",
2446
2469
  color: "var(--icon-secondary)",
2447
- onClick: ae,
2470
+ onClick: se,
2448
2471
  style: { cursor: "pointer" },
2449
2472
  "data-testid": "x-icon"
2450
2473
  }
2451
- ) : w, be = {
2474
+ ) : E, ve = {
2452
2475
  type: a,
2453
2476
  minLength: n,
2454
2477
  autoComplete: c,
2455
2478
  autoFocus: p,
2456
2479
  ...f
2457
- }, se = mn(d, Z, F, G);
2480
+ }, ie = mn(d, J, H, ae);
2458
2481
  return /* @__PURE__ */ o.jsx(
2459
2482
  At,
2460
2483
  {
2461
2484
  size: d,
2462
2485
  error: _,
2463
- disabled: g || h,
2464
- loading: h,
2465
- helper: b,
2466
- prefix: y,
2467
- suffix: re,
2468
- id: S,
2469
- showLabel: Z,
2486
+ disabled: h || b,
2487
+ loading: b,
2488
+ helper: y,
2489
+ prefix: v,
2490
+ suffix: de,
2491
+ id: C,
2492
+ showLabel: J,
2470
2493
  onFocus: R,
2471
2494
  onBlur: D,
2495
+ onSuffixClick: k,
2472
2496
  onChange: r,
2473
- value: t || "",
2497
+ value: t,
2474
2498
  placeholder: s,
2475
- className: k,
2476
- wrapperStyles: se.wrapperStyles,
2477
- floatingLabelStyles: se.floatingLabelStyles,
2478
- prefixStyles: se.prefixStyles,
2479
- suffixStyles: se.suffixStyles,
2480
- wrapperProps: W,
2481
- labelProps: x,
2482
- helperProps: V,
2499
+ className: A,
2500
+ wrapperStyles: ie.wrapperStyles,
2501
+ floatingLabelStyles: ie.floatingLabelStyles,
2502
+ prefixStyles: ie.prefixStyles,
2503
+ suffixStyles: ie.suffixStyles,
2504
+ wrapperProps: O,
2505
+ labelProps: m,
2506
+ helperProps: j,
2483
2507
  showLimit: !1,
2484
2508
  maxLength: i,
2485
- inputProps: be,
2486
- hint: I,
2487
- showHint: B,
2488
- showHintOnEmpty: N,
2489
- truncate: T,
2490
- ...O
2509
+ inputProps: ve,
2510
+ hint: U,
2511
+ showHint: q,
2512
+ showHintOnEmpty: W,
2513
+ truncate: N,
2514
+ ...F
2491
2515
  }
2492
2516
  );
2493
2517
  }
2494
2518
  ), oe = {
2495
2519
  SMALL: "small",
2496
2520
  MEDIUM: "medium"
2497
- }, We = {
2521
+ }, ze = {
2498
2522
  SMALL: "12px",
2499
2523
  MEDIUM: "16px"
2500
2524
  }, vn = {
2501
2525
  SMALL: "xs",
2502
2526
  MEDIUM: "sm"
2503
- }, Pe = {
2527
+ }, Fe = {
2504
2528
  FILL: "fill",
2505
2529
  FIXED: "fixed"
2506
- }, Ke = {
2530
+ }, Xe = {
2507
2531
  SMALL: "112px",
2508
2532
  MEDIUM: "56px"
2509
2533
  }, $e = {
2510
2534
  SMALL: "48px",
2511
2535
  MEDIUM: "22px"
2512
- }, fe = {
2536
+ }, ge = {
2513
2537
  SMALL: "12px 12px 12px 12px",
2514
2538
  MEDIUM: "16px 16px 16px 16px",
2515
2539
  MEDIUM_WITH_PREFIX: "12px 16px 12px 16px",
2516
2540
  MEDIUM_FLOATING_LABEL: "8px 16px 8px 16px"
2517
- }, he = {
2541
+ }, be = {
2518
2542
  SMALL: 48,
2519
2543
  MEDIUM: 56,
2520
2544
  LARGE: 112
2521
2545
  }, xn = (t, r) => {
2522
2546
  if (t === oe.SMALL)
2523
- return Ke.SMALL;
2547
+ return Xe.SMALL;
2524
2548
  if (r)
2525
2549
  return `${r}px`;
2526
2550
  switch (t) {
2527
2551
  case oe.MEDIUM:
2528
- return Ke.MEDIUM;
2552
+ return Xe.MEDIUM;
2529
2553
  default:
2530
- return Ke.MEDIUM;
2554
+ return Xe.MEDIUM;
2531
2555
  }
2532
2556
  }, Cn = (t, r) => {
2533
2557
  if (t === oe.SMALL)
2534
2558
  return $e.SMALL;
2535
2559
  if (r)
2536
2560
  switch (r) {
2537
- case he.SMALL:
2538
- case he.MEDIUM:
2561
+ case be.SMALL:
2562
+ case be.MEDIUM:
2539
2563
  return $e.MEDIUM;
2540
- case he.LARGE:
2564
+ case be.LARGE:
2541
2565
  return $e.SMALL;
2542
2566
  default:
2543
2567
  return $e.MEDIUM;
@@ -2550,55 +2574,55 @@ const St = Object.assign(_n, {
2550
2574
  }
2551
2575
  }, wn = (t, r, a) => {
2552
2576
  if (t === oe.SMALL)
2553
- return fe.SMALL;
2577
+ return ge.SMALL;
2554
2578
  if (r)
2555
2579
  switch (r) {
2556
- case he.SMALL:
2557
- return fe.MEDIUM_WITH_PREFIX;
2558
- case he.MEDIUM:
2559
- return a ? fe.MEDIUM_FLOATING_LABEL : fe.MEDIUM;
2560
- case he.LARGE:
2561
- return fe.MEDIUM;
2580
+ case be.SMALL:
2581
+ return ge.MEDIUM_WITH_PREFIX;
2582
+ case be.MEDIUM:
2583
+ return a ? ge.MEDIUM_FLOATING_LABEL : ge.MEDIUM;
2584
+ case be.LARGE:
2585
+ return ge.MEDIUM;
2562
2586
  default:
2563
- return fe.MEDIUM;
2587
+ return ge.MEDIUM;
2564
2588
  }
2565
2589
  switch (t) {
2566
2590
  case oe.MEDIUM:
2567
- return a ? fe.MEDIUM_FLOATING_LABEL : fe.MEDIUM;
2591
+ return a ? ge.MEDIUM_FLOATING_LABEL : ge.MEDIUM;
2568
2592
  default:
2569
- return fe.MEDIUM;
2593
+ return ge.MEDIUM;
2570
2594
  }
2571
2595
  }, Sn = (t, r) => {
2572
2596
  if (t === oe.SMALL)
2573
2597
  return "small";
2574
2598
  if (r)
2575
2599
  switch (r) {
2576
- case he.SMALL:
2600
+ case be.SMALL:
2577
2601
  return "small";
2578
- case he.MEDIUM:
2602
+ case be.MEDIUM:
2579
2603
  return "medium";
2580
- case he.LARGE:
2604
+ case be.LARGE:
2581
2605
  return "medium";
2582
2606
  default:
2583
2607
  return "medium";
2584
2608
  }
2585
2609
  return t;
2586
- }, En = (t) => vn[t.toUpperCase()], Ln = (t) => We[t.toUpperCase()], Mn = (t, r, a, s) => {
2610
+ }, En = (t) => vn[t.toUpperCase()], Ln = (t) => ze[t.toUpperCase()], Mn = (t, r, a, s) => {
2587
2611
  const i = xn(t, r), n = Cn(t, r), c = wn(t, r, a);
2588
2612
  return {
2589
2613
  wrapperStyles: {
2590
2614
  minHeight: i,
2591
2615
  // Для fill resize устанавливаем height: 100%
2592
- ...s === Pe.FILL && { height: "100%" },
2616
+ ...s === Fe.FILL && { height: "100%" },
2593
2617
  // Для fixed resize устанавливаем фиксированную высоту
2594
- ...s === Pe.FIXED && r && { height: i },
2618
+ ...s === Fe.FIXED && r && { height: i },
2595
2619
  boxSizing: "border-box",
2596
2620
  padding: c
2597
2621
  },
2598
2622
  floatingLabelStyles: {
2599
- left: t === oe.SMALL ? We.SMALL : We.MEDIUM,
2623
+ left: t === oe.SMALL ? ze.SMALL : ze.MEDIUM,
2600
2624
  transformOrigin: "left top",
2601
- top: r === 112 && a && t === oe.MEDIUM ? We.MEDIUM : void 0
2625
+ top: r === 112 && a && t === oe.MEDIUM ? ze.MEDIUM : void 0
2602
2626
  },
2603
2627
  suffixStyles: {
2604
2628
  right: Ln(t)
@@ -2606,12 +2630,12 @@ const St = Object.assign(_n, {
2606
2630
  textareaStyles: {
2607
2631
  minHeight: n,
2608
2632
  // Для fill resize flex: 1
2609
- ...s === Pe.FILL && { flex: 1, minHeight: 0 },
2633
+ ...s === Fe.FILL && { flex: 1, minHeight: 0 },
2610
2634
  // Для fixed resize фиксированная высота
2611
- ...s === Pe.FIXED && r && { height: n }
2635
+ ...s === Fe.FIXED && r && { height: n }
2612
2636
  }
2613
2637
  };
2614
- }, zn = Q(
2638
+ }, zn = te(
2615
2639
  ({
2616
2640
  value: t = "",
2617
2641
  onChange: r,
@@ -2624,79 +2648,82 @@ const St = Object.assign(_n, {
2624
2648
  error: d,
2625
2649
  disabled: f,
2626
2650
  loading: _,
2627
- helper: g,
2628
- suffix: h,
2629
- clearable: b = !1,
2630
- id: y,
2631
- showLabel: w = !0,
2632
- onFocus: C,
2633
- onBlur: S,
2634
- className: m,
2635
- rows: R = 1,
2636
- showLimit: D = !1,
2637
- wrapperProps: k,
2638
- labelProps: T,
2639
- helperProps: I,
2640
- showGrip: B,
2641
- minHeight: N,
2642
- resize: W,
2643
- ...x
2644
- }, V) => {
2645
- const O = (t || "").length > 0, $ = w && !!a && (c === oe.SMALL || N !== 48), F = b && O && !(f || _), H = () => {
2646
- r == null || r("");
2647
- }, G = F ? /* @__PURE__ */ o.jsx(
2651
+ helper: h,
2652
+ suffix: b,
2653
+ clearable: y = !1,
2654
+ id: v,
2655
+ showLabel: E = !0,
2656
+ onFocus: w,
2657
+ onBlur: C,
2658
+ onClear: g,
2659
+ onKeyDown: R,
2660
+ className: D,
2661
+ rows: k = 1,
2662
+ showLimit: $ = !1,
2663
+ wrapperProps: A,
2664
+ labelProps: N,
2665
+ helperProps: U,
2666
+ showGrip: q,
2667
+ minHeight: W,
2668
+ resize: O,
2669
+ ...m
2670
+ }, j) => {
2671
+ const F = (t || "").length > 0, G = E && !!a && (c === oe.SMALL || W !== 48), H = y && F && !(f || _), Q = () => {
2672
+ r == null || r(""), g == null || g();
2673
+ }, ae = H ? /* @__PURE__ */ o.jsx(
2648
2674
  kt,
2649
2675
  {
2650
2676
  size: En(c),
2651
2677
  color: "var(--icon-secondary)",
2652
- onClick: H,
2678
+ onClick: Q,
2653
2679
  style: { cursor: "pointer" },
2654
2680
  "data-testid": "x-icon"
2655
2681
  }
2656
- ) : h, Z = Mn(c, N, $ && O, W), te = Sn(c, N), ae = {
2657
- rows: R,
2682
+ ) : b, J = Mn(c, W, G && F, O), re = Sn(c, W), se = {
2683
+ rows: k,
2658
2684
  minLength: i,
2659
2685
  autoFocus: n,
2660
- resize: W,
2686
+ resize: O,
2661
2687
  ...p
2662
2688
  };
2663
2689
  return /* @__PURE__ */ o.jsx(
2664
2690
  At,
2665
2691
  {
2666
- ref: V,
2692
+ ref: j,
2667
2693
  component: "textarea",
2668
- size: te,
2694
+ size: re,
2669
2695
  error: d,
2670
2696
  disabled: f || _,
2671
2697
  loading: _,
2672
- helper: g,
2673
- suffix: G,
2674
- id: y,
2675
- showLabel: $,
2676
- onFocus: C,
2677
- onBlur: S,
2698
+ helper: h,
2699
+ suffix: ae,
2700
+ id: v,
2701
+ showLabel: G,
2702
+ onFocus: w,
2703
+ onBlur: C,
2704
+ onKeyDown: R,
2678
2705
  onChange: r,
2679
2706
  value: t || "",
2680
2707
  placeholder: a,
2681
- className: m,
2682
- "data-floating-label": $,
2683
- wrapperStyles: Z.wrapperStyles,
2684
- floatingLabelStyles: Z.floatingLabelStyles,
2685
- suffixStyles: Z.suffixStyles,
2686
- textareaStyles: Z.textareaStyles,
2687
- wrapperProps: k,
2688
- labelProps: T,
2689
- helperProps: I,
2690
- showLimit: D && (N === 112 || c === oe.SMALL),
2708
+ className: D,
2709
+ "data-floating-label": G,
2710
+ wrapperStyles: J.wrapperStyles,
2711
+ floatingLabelStyles: J.floatingLabelStyles,
2712
+ suffixStyles: J.suffixStyles,
2713
+ textareaStyles: J.textareaStyles,
2714
+ wrapperProps: A,
2715
+ labelProps: N,
2716
+ helperProps: U,
2717
+ showLimit: $ && (W === 112 || c === oe.SMALL),
2691
2718
  maxLength: s,
2692
- inputProps: ae,
2693
- resize: W,
2694
- showGrip: B,
2695
- ...x
2719
+ inputProps: se,
2720
+ resize: O,
2721
+ showGrip: q,
2722
+ ...m
2696
2723
  }
2697
2724
  );
2698
2725
  }
2699
- ), $n = "_helper_1vhgl_16", Xe = {
2726
+ ), $n = "_helper_1vhgl_16", Qe = {
2700
2727
  helper: $n,
2701
2728
  "helper--error": "_helper--error_1vhgl_27",
2702
2729
  "helper--disabled": "_helper--disabled_1vhgl_32"
@@ -2710,10 +2737,10 @@ const St = Object.assign(_n, {
2710
2737
  "aria-label": c,
2711
2738
  "aria-describedby": p
2712
2739
  }) => {
2713
- const d = !!r, f = U(
2714
- Xe.helper,
2715
- d && Xe["helper--error"],
2716
- i && Xe["helper--disabled"],
2740
+ const d = !!r, f = B(
2741
+ Qe.helper,
2742
+ d && Qe["helper--error"],
2743
+ i && Qe["helper--disabled"],
2717
2744
  a
2718
2745
  ), _ = i ? t : r || t;
2719
2746
  return /* @__PURE__ */ o.jsx(