skillgrid 0.0.44 → 0.0.45-tooltip-added-controlled-state.1326093

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,5 +1,5 @@
1
1
  import * as e from "react";
2
- import P1, { forwardRef as r1, Fragment as q1, useState as c1, useEffect as J, useRef as u1, useCallback as k1, useMemo as t2, createContext as R2, useContext as W2, useLayoutEffect as _9, useImperativeHandle as c3, useId as F2, useReducer as d3 } from "react";
2
+ import P1, { forwardRef as o1, Fragment as q1, useState as d1, useEffect as Q, useRef as v1, useCallback as x1, useMemo as t2, createContext as R2, useContext as W2, useLayoutEffect as _9, useImperativeHandle as c3, useId as F2, useReducer as d3 } from "react";
3
3
  import { clsx as H } from "clsx";
4
4
  import { useFloating as E9, useTransitionStyles as k9, useDismiss as M9, useRole as h3, useInteractions as x9, useMergeRefs as g3, FloatingPortal as H9, FloatingOverlay as m3, FloatingFocusManager as p3, autoUpdate as u3, offset as L3, size as w3, flip as v3, hide as f3, useHover as _3, safePolygon as E3 } from "@floating-ui/react";
5
5
  import { useTranslation as k3 } from "react-i18next";
@@ -8,7 +8,7 @@ import Q2 from "react-dom";
8
8
  import './index.css';function x3(t) {
9
9
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
10
10
  }
11
- var d2 = { exports: {} }, i2 = {};
11
+ var h2 = { exports: {} }, i2 = {};
12
12
  /**
13
13
  * @license React
14
14
  * react-jsx-runtime.production.min.js
@@ -24,11 +24,11 @@ function H3() {
24
24
  e9 = 1;
25
25
  var t = P1, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), C = Object.prototype.hasOwnProperty, s = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
26
26
  function c(g, L, v) {
27
- var d, f = {}, E = null, h = null;
27
+ var d, _ = {}, E = null, h = null;
28
28
  v !== void 0 && (E = "" + v), L.key !== void 0 && (E = "" + L.key), L.ref !== void 0 && (h = L.ref);
29
- for (d in L) C.call(L, d) && !l.hasOwnProperty(d) && (f[d] = L[d]);
30
- if (g && g.defaultProps) for (d in L = g.defaultProps, L) f[d] === void 0 && (f[d] = L[d]);
31
- return { $$typeof: o, type: g, key: E, ref: h, props: f, _owner: s.current };
29
+ for (d in L) C.call(L, d) && !l.hasOwnProperty(d) && (_[d] = L[d]);
30
+ if (g && g.defaultProps) for (d in L = g.defaultProps, L) _[d] === void 0 && (_[d] = L[d]);
31
+ return { $$typeof: o, type: g, key: E, ref: h, props: _, _owner: s.current };
32
32
  }
33
33
  return i2.Fragment = i, i2.jsx = c, i2.jsxs = c, i2;
34
34
  }
@@ -45,48 +45,48 @@ var l2 = {};
45
45
  var t9;
46
46
  function b3() {
47
47
  return t9 || (t9 = 1, process.env.NODE_ENV !== "production" && (function() {
48
- var t = P1, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), C = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), g = Symbol.for("react.context"), L = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), p = Symbol.iterator, _ = "@@iterator";
48
+ var t = P1, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), C = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), g = Symbol.for("react.context"), L = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), p = Symbol.iterator, f = "@@iterator";
49
49
  function m(a) {
50
50
  if (a === null || typeof a != "object")
51
51
  return null;
52
- var M = p && a[p] || a[_];
52
+ var M = p && a[p] || a[f];
53
53
  return typeof M == "function" ? M : null;
54
54
  }
55
55
  var w = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
56
56
  function u(a) {
57
57
  {
58
- for (var M = arguments.length, B = new Array(M > 1 ? M - 1 : 0), W = 1; W < M; W++)
59
- B[W - 1] = arguments[W];
60
- k("error", a, B);
58
+ for (var M = arguments.length, S = new Array(M > 1 ? M - 1 : 0), F = 1; F < M; F++)
59
+ S[F - 1] = arguments[F];
60
+ k("error", a, S);
61
61
  }
62
62
  }
63
- function k(a, M, B) {
63
+ function k(a, M, S) {
64
64
  {
65
- var W = w.ReactDebugCurrentFrame, X = W.getStackAddendum();
66
- X !== "" && (M += "%s", B = B.concat([X]));
67
- var K = B.map(function(G) {
65
+ var F = w.ReactDebugCurrentFrame, q = F.getStackAddendum();
66
+ q !== "" && (M += "%s", S = S.concat([q]));
67
+ var Y = S.map(function(G) {
68
68
  return String(G);
69
69
  });
70
- K.unshift("Warning: " + M), Function.prototype.apply.call(console[a], console, K);
70
+ Y.unshift("Warning: " + M), Function.prototype.apply.call(console[a], console, Y);
71
71
  }
72
72
  }
73
- var b = !1, S = !1, x = !1, V = !1, y = !1, j;
73
+ var b = !1, B = !1, x = !1, V = !1, y = !1, j;
74
74
  j = Symbol.for("react.module.reference");
75
75
  function O(a) {
76
- return !!(typeof a == "string" || typeof a == "function" || a === C || a === l || y || a === s || a === v || a === d || V || a === h || b || S || x || typeof a == "object" && a !== null && (a.$$typeof === E || a.$$typeof === f || a.$$typeof === c || a.$$typeof === g || a.$$typeof === L || // This needs to include all possible module reference object
76
+ return !!(typeof a == "string" || typeof a == "function" || a === C || a === l || y || a === s || a === v || a === d || V || a === h || b || B || x || typeof a == "object" && a !== null && (a.$$typeof === E || a.$$typeof === _ || a.$$typeof === c || a.$$typeof === g || a.$$typeof === L || // This needs to include all possible module reference object
77
77
  // types supported by any Flight configuration anywhere since
78
78
  // we don't know which Flight build this will end up being used
79
79
  // with.
80
80
  a.$$typeof === j || a.getModuleId !== void 0));
81
81
  }
82
- function F(a, M, B) {
83
- var W = a.displayName;
84
- if (W)
85
- return W;
86
- var X = M.displayName || M.name || "";
87
- return X !== "" ? B + "(" + X + ")" : B;
82
+ function I(a, M, S) {
83
+ var F = a.displayName;
84
+ if (F)
85
+ return F;
86
+ var q = M.displayName || M.name || "";
87
+ return q !== "" ? S + "(" + q + ")" : S;
88
88
  }
89
- function I(a) {
89
+ function T(a) {
90
90
  return a.displayName || "Context";
91
91
  }
92
92
  function Z(a) {
@@ -114,19 +114,19 @@ function b3() {
114
114
  switch (a.$$typeof) {
115
115
  case g:
116
116
  var M = a;
117
- return I(M) + ".Consumer";
117
+ return T(M) + ".Consumer";
118
118
  case c:
119
- var B = a;
120
- return I(B._context) + ".Provider";
119
+ var S = a;
120
+ return T(S._context) + ".Provider";
121
121
  case L:
122
- return F(a, a.render, "ForwardRef");
123
- case f:
124
- var W = a.displayName || null;
125
- return W !== null ? W : Z(a.type) || "Memo";
122
+ return I(a, a.render, "ForwardRef");
123
+ case _:
124
+ var F = a.displayName || null;
125
+ return F !== null ? F : Z(a.type) || "Memo";
126
126
  case E: {
127
- var X = a, K = X._payload, G = X._init;
127
+ var q = a, Y = q._payload, G = q._init;
128
128
  try {
129
- return Z(G(K));
129
+ return Z(G(Y));
130
130
  } catch {
131
131
  return null;
132
132
  }
@@ -134,18 +134,18 @@ function b3() {
134
134
  }
135
135
  return null;
136
136
  }
137
- var R = Object.assign, T = 0, D, U, N, A, Y, q, Q;
138
- function d1() {
137
+ var R = Object.assign, D = 0, A, U, N, n1, K, X, W;
138
+ function J() {
139
139
  }
140
- d1.__reactDisabledLog = !0;
141
- function H1() {
140
+ J.__reactDisabledLog = !0;
141
+ function L1() {
142
142
  {
143
- if (T === 0) {
144
- D = console.log, U = console.info, N = console.warn, A = console.error, Y = console.group, q = console.groupCollapsed, Q = console.groupEnd;
143
+ if (D === 0) {
144
+ A = console.log, U = console.info, N = console.warn, n1 = console.error, K = console.group, X = console.groupCollapsed, W = console.groupEnd;
145
145
  var a = {
146
146
  configurable: !0,
147
147
  enumerable: !0,
148
- value: d1,
148
+ value: J,
149
149
  writable: !0
150
150
  };
151
151
  Object.defineProperties(console, {
@@ -158,12 +158,12 @@ function b3() {
158
158
  groupEnd: a
159
159
  });
160
160
  }
161
- T++;
161
+ D++;
162
162
  }
163
163
  }
164
- function L1() {
164
+ function p1() {
165
165
  {
166
- if (T--, T === 0) {
166
+ if (D--, D === 0) {
167
167
  var a = {
168
168
  configurable: !0,
169
169
  enumerable: !0,
@@ -171,7 +171,7 @@ function b3() {
171
171
  };
172
172
  Object.defineProperties(console, {
173
173
  log: R({}, a, {
174
- value: D
174
+ value: A
175
175
  }),
176
176
  info: R({}, a, {
177
177
  value: U
@@ -180,31 +180,31 @@ function b3() {
180
180
  value: N
181
181
  }),
182
182
  error: R({}, a, {
183
- value: A
183
+ value: n1
184
184
  }),
185
185
  group: R({}, a, {
186
- value: Y
186
+ value: K
187
187
  }),
188
188
  groupCollapsed: R({}, a, {
189
- value: q
189
+ value: X
190
190
  }),
191
191
  groupEnd: R({}, a, {
192
- value: Q
192
+ value: W
193
193
  })
194
194
  });
195
195
  }
196
- T < 0 && u("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
196
+ D < 0 && u("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
197
197
  }
198
198
  }
199
199
  var h1 = w.ReactCurrentDispatcher, O1;
200
- function R1(a, M, B) {
200
+ function R1(a, M, S) {
201
201
  {
202
202
  if (O1 === void 0)
203
203
  try {
204
204
  throw Error();
205
- } catch (X) {
206
- var W = X.stack.trim().match(/\n( *(at )?)/);
207
- O1 = W && W[1] || "";
205
+ } catch (q) {
206
+ var F = q.stack.trim().match(/\n( *(at )?)/);
207
+ O1 = F && F[1] || "";
208
208
  }
209
209
  return `
210
210
  ` + O1 + a;
@@ -219,16 +219,16 @@ function b3() {
219
219
  if (!a || e1)
220
220
  return "";
221
221
  {
222
- var B = b1.get(a);
223
- if (B !== void 0)
224
- return B;
222
+ var S = b1.get(a);
223
+ if (S !== void 0)
224
+ return S;
225
225
  }
226
- var W;
226
+ var F;
227
227
  e1 = !0;
228
- var X = Error.prepareStackTrace;
228
+ var q = Error.prepareStackTrace;
229
229
  Error.prepareStackTrace = void 0;
230
- var K;
231
- K = h1.current, h1.current = null, H1();
230
+ var Y;
231
+ Y = h1.current, h1.current = null, L1();
232
232
  try {
233
233
  if (M) {
234
234
  var G = function() {
@@ -241,59 +241,59 @@ function b3() {
241
241
  }), typeof Reflect == "object" && Reflect.construct) {
242
242
  try {
243
243
  Reflect.construct(G, []);
244
- } catch (w1) {
245
- W = w1;
244
+ } catch (f1) {
245
+ F = f1;
246
246
  }
247
247
  Reflect.construct(a, [], G);
248
248
  } else {
249
249
  try {
250
250
  G.call();
251
- } catch (w1) {
252
- W = w1;
251
+ } catch (f1) {
252
+ F = f1;
253
253
  }
254
254
  a.call(G.prototype);
255
255
  }
256
256
  } else {
257
257
  try {
258
258
  throw Error();
259
- } catch (w1) {
260
- W = w1;
259
+ } catch (f1) {
260
+ F = f1;
261
261
  }
262
262
  a();
263
263
  }
264
- } catch (w1) {
265
- if (w1 && W && typeof w1.stack == "string") {
266
- for (var $ = w1.stack.split(`
267
- `), p1 = W.stack.split(`
268
- `), l1 = $.length - 1, C1 = p1.length - 1; l1 >= 1 && C1 >= 0 && $[l1] !== p1[C1]; )
269
- C1--;
270
- for (; l1 >= 1 && C1 >= 0; l1--, C1--)
271
- if ($[l1] !== p1[C1]) {
272
- if (l1 !== 1 || C1 !== 1)
264
+ } catch (f1) {
265
+ if (f1 && F && typeof f1.stack == "string") {
266
+ for (var $ = f1.stack.split(`
267
+ `), w1 = F.stack.split(`
268
+ `), C1 = $.length - 1, a1 = w1.length - 1; C1 >= 1 && a1 >= 0 && $[C1] !== w1[a1]; )
269
+ a1--;
270
+ for (; C1 >= 1 && a1 >= 0; C1--, a1--)
271
+ if ($[C1] !== w1[a1]) {
272
+ if (C1 !== 1 || a1 !== 1)
273
273
  do
274
- if (l1--, C1--, C1 < 0 || $[l1] !== p1[C1]) {
274
+ if (C1--, a1--, a1 < 0 || $[C1] !== w1[a1]) {
275
275
  var Z1 = `
276
- ` + $[l1].replace(" at new ", " at ");
276
+ ` + $[C1].replace(" at new ", " at ");
277
277
  return a.displayName && Z1.includes("<anonymous>") && (Z1 = Z1.replace("<anonymous>", a.displayName)), typeof a == "function" && b1.set(a, Z1), Z1;
278
278
  }
279
- while (l1 >= 1 && C1 >= 0);
279
+ while (C1 >= 1 && a1 >= 0);
280
280
  break;
281
281
  }
282
282
  }
283
283
  } finally {
284
- e1 = !1, h1.current = K, L1(), Error.prepareStackTrace = X;
284
+ e1 = !1, h1.current = Y, p1(), Error.prepareStackTrace = q;
285
285
  }
286
286
  var Y1 = a ? a.displayName || a.name : "", z1 = Y1 ? R1(Y1) : "";
287
287
  return typeof a == "function" && b1.set(a, z1), z1;
288
288
  }
289
- function r2(a, M, B) {
289
+ function r2(a, M, S) {
290
290
  return $1(a, !1);
291
291
  }
292
292
  function o2(a) {
293
293
  var M = a.prototype;
294
294
  return !!(M && M.isReactComponent);
295
295
  }
296
- function o1(a, M, B) {
296
+ function i1(a, M, S) {
297
297
  if (a == null)
298
298
  return "";
299
299
  if (typeof a == "function")
@@ -310,42 +310,42 @@ function b3() {
310
310
  switch (a.$$typeof) {
311
311
  case L:
312
312
  return r2(a.render);
313
- case f:
314
- return o1(a.type, M, B);
313
+ case _:
314
+ return i1(a.type, M, S);
315
315
  case E: {
316
- var W = a, X = W._payload, K = W._init;
316
+ var F = a, q = F._payload, Y = F._init;
317
317
  try {
318
- return o1(K(X), M, B);
318
+ return i1(Y(q), M, S);
319
319
  } catch {
320
320
  }
321
321
  }
322
322
  }
323
323
  return "";
324
324
  }
325
- var i1 = Object.prototype.hasOwnProperty, m1 = {}, N1 = w.ReactDebugCurrentFrame;
326
- function c2(a) {
325
+ var l1 = Object.prototype.hasOwnProperty, u1 = {}, N1 = w.ReactDebugCurrentFrame;
326
+ function d2(a) {
327
327
  if (a) {
328
- var M = a._owner, B = o1(a.type, a._source, M ? M.type : null);
329
- N1.setExtraStackFrame(B);
328
+ var M = a._owner, S = i1(a.type, a._source, M ? M.type : null);
329
+ N1.setExtraStackFrame(S);
330
330
  } else
331
331
  N1.setExtraStackFrame(null);
332
332
  }
333
- function P9(a, M, B, W, X) {
333
+ function P9(a, M, S, F, q) {
334
334
  {
335
- var K = Function.call.bind(i1);
335
+ var Y = Function.call.bind(l1);
336
336
  for (var G in a)
337
- if (K(a, G)) {
337
+ if (Y(a, G)) {
338
338
  var $ = void 0;
339
339
  try {
340
340
  if (typeof a[G] != "function") {
341
- var p1 = Error((W || "React class") + ": " + B + " type `" + G + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[G] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
342
- throw p1.name = "Invariant Violation", p1;
341
+ var w1 = Error((F || "React class") + ": " + S + " type `" + G + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[G] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
342
+ throw w1.name = "Invariant Violation", w1;
343
343
  }
344
- $ = a[G](M, G, W, B, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
345
- } catch (l1) {
346
- $ = l1;
344
+ $ = a[G](M, G, F, S, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
345
+ } catch (C1) {
346
+ $ = C1;
347
347
  }
348
- $ && !($ instanceof Error) && (c2(X), u("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", W || "React class", B, G, typeof $), c2(null)), $ instanceof Error && !($.message in m1) && (m1[$.message] = !0, c2(X), u("Failed %s type: %s", B, $.message), c2(null));
348
+ $ && !($ instanceof Error) && (d2(q), u("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", F || "React class", S, G, typeof $), d2(null)), $ instanceof Error && !($.message in u1) && (u1[$.message] = !0, d2(q), u("Failed %s type: %s", S, $.message), d2(null));
349
349
  }
350
350
  }
351
351
  }
@@ -355,8 +355,8 @@ function b3() {
355
355
  }
356
356
  function N9(a) {
357
357
  {
358
- var M = typeof Symbol == "function" && Symbol.toStringTag, B = M && a[Symbol.toStringTag] || a.constructor.name || "Object";
359
- return B;
358
+ var M = typeof Symbol == "function" && Symbol.toStringTag, S = M && a[Symbol.toStringTag] || a.constructor.name || "Object";
359
+ return S;
360
360
  }
361
361
  }
362
362
  function z9(a) {
@@ -380,7 +380,7 @@ function b3() {
380
380
  __source: !0
381
381
  }, N2, z2;
382
382
  function G9(a) {
383
- if (i1.call(a, "ref")) {
383
+ if (l1.call(a, "ref")) {
384
384
  var M = Object.getOwnPropertyDescriptor(a, "ref").get;
385
385
  if (M && M.isReactWarning)
386
386
  return !1;
@@ -388,7 +388,7 @@ function b3() {
388
388
  return a.ref !== void 0;
389
389
  }
390
390
  function q9(a) {
391
- if (i1.call(a, "key")) {
391
+ if (l1.call(a, "key")) {
392
392
  var M = Object.getOwnPropertyDescriptor(a, "key").get;
393
393
  if (M && M.isReactWarning)
394
394
  return !1;
@@ -400,37 +400,37 @@ function b3() {
400
400
  }
401
401
  function Y9(a, M) {
402
402
  {
403
- var B = function() {
403
+ var S = function() {
404
404
  N2 || (N2 = !0, u("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", M));
405
405
  };
406
- B.isReactWarning = !0, Object.defineProperty(a, "key", {
407
- get: B,
406
+ S.isReactWarning = !0, Object.defineProperty(a, "key", {
407
+ get: S,
408
408
  configurable: !0
409
409
  });
410
410
  }
411
411
  }
412
412
  function K9(a, M) {
413
413
  {
414
- var B = function() {
414
+ var S = function() {
415
415
  z2 || (z2 = !0, u("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", M));
416
416
  };
417
- B.isReactWarning = !0, Object.defineProperty(a, "ref", {
418
- get: B,
417
+ S.isReactWarning = !0, Object.defineProperty(a, "ref", {
418
+ get: S,
419
419
  configurable: !0
420
420
  });
421
421
  }
422
422
  }
423
- var J9 = function(a, M, B, W, X, K, G) {
423
+ var J9 = function(a, M, S, F, q, Y, G) {
424
424
  var $ = {
425
425
  // This tag allows us to uniquely identify this as a React Element
426
426
  $$typeof: o,
427
427
  // Built-in properties that belong on the element
428
428
  type: a,
429
429
  key: M,
430
- ref: B,
430
+ ref: S,
431
431
  props: G,
432
432
  // Record the component responsible for creating this element.
433
- _owner: K
433
+ _owner: Y
434
434
  };
435
435
  return $._store = {}, Object.defineProperty($._store, "validated", {
436
436
  configurable: !1,
@@ -441,37 +441,37 @@ function b3() {
441
441
  configurable: !1,
442
442
  enumerable: !1,
443
443
  writable: !1,
444
- value: W
444
+ value: F
445
445
  }), Object.defineProperty($, "_source", {
446
446
  configurable: !1,
447
447
  enumerable: !1,
448
448
  writable: !1,
449
- value: X
449
+ value: q
450
450
  }), Object.freeze && (Object.freeze($.props), Object.freeze($)), $;
451
451
  };
452
- function Q9(a, M, B, W, X) {
452
+ function Q9(a, M, S, F, q) {
453
453
  {
454
- var K, G = {}, $ = null, p1 = null;
455
- B !== void 0 && (P2(B), $ = "" + B), q9(M) && (P2(M.key), $ = "" + M.key), G9(M) && (p1 = M.ref, X9(M, X));
456
- for (K in M)
457
- i1.call(M, K) && !U9.hasOwnProperty(K) && (G[K] = M[K]);
454
+ var Y, G = {}, $ = null, w1 = null;
455
+ S !== void 0 && (P2(S), $ = "" + S), q9(M) && (P2(M.key), $ = "" + M.key), G9(M) && (w1 = M.ref, X9(M, q));
456
+ for (Y in M)
457
+ l1.call(M, Y) && !U9.hasOwnProperty(Y) && (G[Y] = M[Y]);
458
458
  if (a && a.defaultProps) {
459
- var l1 = a.defaultProps;
460
- for (K in l1)
461
- G[K] === void 0 && (G[K] = l1[K]);
459
+ var C1 = a.defaultProps;
460
+ for (Y in C1)
461
+ G[Y] === void 0 && (G[Y] = C1[Y]);
462
462
  }
463
- if ($ || p1) {
464
- var C1 = typeof a == "function" ? a.displayName || a.name || "Unknown" : a;
465
- $ && Y9(G, C1), p1 && K9(G, C1);
463
+ if ($ || w1) {
464
+ var a1 = typeof a == "function" ? a.displayName || a.name || "Unknown" : a;
465
+ $ && Y9(G, a1), w1 && K9(G, a1);
466
466
  }
467
- return J9(a, $, p1, X, W, $2.current, G);
467
+ return J9(a, $, w1, q, F, $2.current, G);
468
468
  }
469
469
  }
470
470
  var M2 = w.ReactCurrentOwner, U2 = w.ReactDebugCurrentFrame;
471
471
  function X1(a) {
472
472
  if (a) {
473
- var M = a._owner, B = o1(a.type, a._source, M ? M.type : null);
474
- U2.setExtraStackFrame(B);
473
+ var M = a._owner, S = i1(a.type, a._source, M ? M.type : null);
474
+ U2.setExtraStackFrame(S);
475
475
  } else
476
476
  U2.setExtraStackFrame(null);
477
477
  }
@@ -500,10 +500,10 @@ Check the render method of \`` + a + "`.";
500
500
  {
501
501
  var M = G2();
502
502
  if (!M) {
503
- var B = typeof a == "string" ? a : a.displayName || a.name;
504
- B && (M = `
503
+ var S = typeof a == "string" ? a : a.displayName || a.name;
504
+ S && (M = `
505
505
 
506
- Check the top-level render call using <` + B + ">.");
506
+ Check the top-level render call using <` + S + ">.");
507
507
  }
508
508
  return M;
509
509
  }
@@ -513,12 +513,12 @@ Check the top-level render call using <` + B + ">.");
513
513
  if (!a._store || a._store.validated || a.key != null)
514
514
  return;
515
515
  a._store.validated = !0;
516
- var B = t3(M);
517
- if (q2[B])
516
+ var S = t3(M);
517
+ if (q2[S])
518
518
  return;
519
- q2[B] = !0;
520
- var W = "";
521
- a && a._owner && a._owner !== M2.current && (W = " It was passed a child from " + Z(a._owner.type) + "."), X1(a), u('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', B, W), X1(null);
519
+ q2[S] = !0;
520
+ var F = "";
521
+ a && a._owner && a._owner !== M2.current && (F = " It was passed a child from " + Z(a._owner.type) + "."), X1(a), u('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', S, F), X1(null);
522
522
  }
523
523
  }
524
524
  function Y2(a, M) {
@@ -526,16 +526,16 @@ Check the top-level render call using <` + B + ">.");
526
526
  if (typeof a != "object")
527
527
  return;
528
528
  if (k2(a))
529
- for (var B = 0; B < a.length; B++) {
530
- var W = a[B];
531
- H2(W) && X2(W, M);
529
+ for (var S = 0; S < a.length; S++) {
530
+ var F = a[S];
531
+ H2(F) && X2(F, M);
532
532
  }
533
533
  else if (H2(a))
534
534
  a._store && (a._store.validated = !0);
535
535
  else if (a) {
536
- var X = m(a);
537
- if (typeof X == "function" && X !== a.entries)
538
- for (var K = X.call(a), G; !(G = K.next()).done; )
536
+ var q = m(a);
537
+ if (typeof q == "function" && q !== a.entries)
538
+ for (var Y = q.call(a), G; !(G = Y.next()).done; )
539
539
  H2(G.value) && X2(G.value, M);
540
540
  }
541
541
  }
@@ -545,32 +545,32 @@ Check the top-level render call using <` + B + ">.");
545
545
  var M = a.type;
546
546
  if (M == null || typeof M == "string")
547
547
  return;
548
- var B;
548
+ var S;
549
549
  if (typeof M == "function")
550
- B = M.propTypes;
550
+ S = M.propTypes;
551
551
  else if (typeof M == "object" && (M.$$typeof === L || // Note: Memo only checks outer props here.
552
552
  // Inner props are checked in the reconciler.
553
- M.$$typeof === f))
554
- B = M.propTypes;
553
+ M.$$typeof === _))
554
+ S = M.propTypes;
555
555
  else
556
556
  return;
557
- if (B) {
558
- var W = Z(M);
559
- P9(B, a.props, "prop", W, a);
557
+ if (S) {
558
+ var F = Z(M);
559
+ P9(S, a.props, "prop", F, a);
560
560
  } else if (M.PropTypes !== void 0 && !x2) {
561
561
  x2 = !0;
562
- var X = Z(M);
563
- u("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", X || "Unknown");
562
+ var q = Z(M);
563
+ u("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", q || "Unknown");
564
564
  }
565
565
  typeof M.getDefaultProps == "function" && !M.getDefaultProps.isReactClassApproved && u("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
566
566
  }
567
567
  }
568
568
  function r3(a) {
569
569
  {
570
- for (var M = Object.keys(a.props), B = 0; B < M.length; B++) {
571
- var W = M[B];
572
- if (W !== "children" && W !== "key") {
573
- X1(a), u("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", W), X1(null);
570
+ for (var M = Object.keys(a.props), S = 0; S < M.length; S++) {
571
+ var F = M[S];
572
+ if (F !== "children" && F !== "key") {
573
+ X1(a), u("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", F), X1(null);
574
574
  break;
575
575
  }
576
576
  }
@@ -578,24 +578,24 @@ Check the top-level render call using <` + B + ">.");
578
578
  }
579
579
  }
580
580
  var K2 = {};
581
- function J2(a, M, B, W, X, K) {
581
+ function J2(a, M, S, F, q, Y) {
582
582
  {
583
583
  var G = O(a);
584
584
  if (!G) {
585
585
  var $ = "";
586
586
  (a === void 0 || typeof a == "object" && a !== null && Object.keys(a).length === 0) && ($ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
587
- var p1 = e3();
588
- p1 ? $ += p1 : $ += G2();
589
- var l1;
590
- a === null ? l1 = "null" : k2(a) ? l1 = "array" : a !== void 0 && a.$$typeof === o ? (l1 = "<" + (Z(a.type) || "Unknown") + " />", $ = " Did you accidentally export a JSX literal instead of a component?") : l1 = typeof a, u("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", l1, $);
587
+ var w1 = e3();
588
+ w1 ? $ += w1 : $ += G2();
589
+ var C1;
590
+ a === null ? C1 = "null" : k2(a) ? C1 = "array" : a !== void 0 && a.$$typeof === o ? (C1 = "<" + (Z(a.type) || "Unknown") + " />", $ = " Did you accidentally export a JSX literal instead of a component?") : C1 = typeof a, u("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", C1, $);
591
591
  }
592
- var C1 = Q9(a, M, B, X, K);
593
- if (C1 == null)
594
- return C1;
592
+ var a1 = Q9(a, M, S, q, Y);
593
+ if (a1 == null)
594
+ return a1;
595
595
  if (G) {
596
596
  var Z1 = M.children;
597
597
  if (Z1 !== void 0)
598
- if (W)
598
+ if (F)
599
599
  if (k2(Z1)) {
600
600
  for (var Y1 = 0; Y1 < Z1.length; Y1++)
601
601
  Y2(Z1[Y1], a);
@@ -605,12 +605,12 @@ Check the top-level render call using <` + B + ">.");
605
605
  else
606
606
  Y2(Z1, a);
607
607
  }
608
- if (i1.call(M, "key")) {
609
- var z1 = Z(a), w1 = Object.keys(M).filter(function(s3) {
608
+ if (l1.call(M, "key")) {
609
+ var z1 = Z(a), f1 = Object.keys(M).filter(function(s3) {
610
610
  return s3 !== "key";
611
- }), b2 = w1.length > 0 ? "{key: someKey, " + w1.join(": ..., ") + ": ...}" : "{key: someKey}";
611
+ }), b2 = f1.length > 0 ? "{key: someKey, " + f1.join(": ..., ") + ": ...}" : "{key: someKey}";
612
612
  if (!K2[z1 + b2]) {
613
- var a3 = w1.length > 0 ? "{" + w1.join(": ..., ") + ": ...}" : "{}";
613
+ var a3 = f1.length > 0 ? "{" + f1.join(": ..., ") + ": ...}" : "{}";
614
614
  u(`A props object containing a "key" prop is being spread into JSX:
615
615
  let props = %s;
616
616
  <%s {...props} />
@@ -619,14 +619,14 @@ React keys must be passed directly to JSX without using spread:
619
619
  <%s key={someKey} {...props} />`, b2, z1, a3, z1), K2[z1 + b2] = !0;
620
620
  }
621
621
  }
622
- return a === C ? r3(C1) : n3(C1), C1;
622
+ return a === C ? r3(a1) : n3(a1), a1;
623
623
  }
624
624
  }
625
- function o3(a, M, B) {
626
- return J2(a, M, B, !0);
625
+ function o3(a, M, S) {
626
+ return J2(a, M, S, !0);
627
627
  }
628
- function i3(a, M, B) {
629
- return J2(a, M, B, !1);
628
+ function i3(a, M, S) {
629
+ return J2(a, M, S, !1);
630
630
  }
631
631
  var l3 = i3, C3 = o3;
632
632
  l2.Fragment = C, l2.jsx = l3, l2.jsxs = C3;
@@ -634,7 +634,7 @@ React keys must be passed directly to JSX without using spread:
634
634
  }
635
635
  var n9;
636
636
  function Z3() {
637
- return n9 || (n9 = 1, process.env.NODE_ENV === "production" ? d2.exports = H3() : d2.exports = b3()), d2.exports;
637
+ return n9 || (n9 = 1, process.env.NODE_ENV === "production" ? h2.exports = H3() : h2.exports = b3()), h2.exports;
638
638
  }
639
639
  var r = Z3();
640
640
  const V3 = (t) => t.as === "a", y3 = (t) => t.as === void 0 || t.as === "button", S3 = "_button_1agz0_1", B3 = "_link_1agz0_22", j3 = "_disabled_1agz0_27", O3 = "_loading_1agz0_27", R3 = "_neutral_1agz0_59", W3 = "_accent_1agz0_63", F3 = "_positive_1agz0_67", I3 = "_negative_1agz0_71", T3 = "_contrast_1agz0_75", D3 = "_primary_1agz0_79", A3 = "_secondary_1agz0_80", P3 = "_tertiary_1agz0_81", $3 = "_gray_1agz0_91", N3 = "_dreamy_1agz0_113", z3 = "_special_1agz0_119", U3 = "_lovely_1agz0_125", G3 = "_warning_1agz0_131", q3 = "_vivid_1agz0_137", X3 = "_blue_1agz0_143", Y3 = "_spaceBetween_1agz0_155", K3 = "_rightGroup_1agz0_155", J3 = "_withSubcaption_1agz0_163", Q3 = "_label_1agz0_175", e4 = "_icon_1agz0_184", t4 = "_labelText_1agz0_189", n4 = "_isLink_1agz0_195", r4 = "_iconOnly_1agz0_210", o4 = "_stretched_1agz0_226", i4 = "_postfix_1agz0_231", l4 = "_underline_1agz0_261", C4 = "_backButton_1agz0_464", a4 = "_subcaption_1agz0_2088", s4 = "_content_1agz0_2093", c4 = "_contentHidden_1agz0_2097", d4 = "_loaderWrapper_1agz0_2101", h4 = "_l_1agz0_22", g4 = "_m_1agz0_2140", m4 = "_s_1agz0_80", p4 = "_xs_1agz0_2183", u4 = "_noPaddings_1agz0_2205", L4 = "_iconRight_1agz0_2241", w4 = "_spin_1agz0_1", P = {
@@ -698,7 +698,7 @@ const V3 = (t) => t.as === "a", y3 = (t) => t.as === void 0 || t.as === "button"
698
698
  "isExternal",
699
699
  "asBackButton",
700
700
  "paddings"
701
- ]), v2 = (t) => {
701
+ ]), f2 = (t) => {
702
702
  const o = {};
703
703
  for (const i in t)
704
704
  v4.has(i) || (o[i] = t[i]);
@@ -721,7 +721,7 @@ const V3 = (t) => t.as === "a", y3 = (t) => t.as === void 0 || t.as === "button"
721
721
  function E4(t) {
722
722
  return _4[t] || "typography-label-2-regular";
723
723
  }
724
- const a1 = {
724
+ const s1 = {
725
725
  "typography-title-1-semibold": "_typography-title-1-semibold_1lyxn_1",
726
726
  "typography-title-2-semibold": "_typography-title-2-semibold_1lyxn_10",
727
727
  "typography-title-3-semibold": "_typography-title-3-semibold_1lyxn_19",
@@ -745,7 +745,7 @@ const a1 = {
745
745
  "typography-paragraph-2-regular": "_typography-paragraph-2-regular_1lyxn_176",
746
746
  "typography-paragraph-3-regular": "_typography-paragraph-3-regular_1lyxn_185",
747
747
  "typography-paragraph-4-regular": "_typography-paragraph-4-regular_1lyxn_194"
748
- }, k4 = "_loader_ohsut_1", M4 = "_spin_ohsut_1", x4 = "_accent_ohsut_19", H4 = "_neutral_ohsut_23", b4 = "_positive_ohsut_27", Z4 = "_negative_ohsut_31", V4 = "_gray_ohsut_35", y4 = "_contrast_ohsut_39", S4 = "_container_ohsut_43", B4 = "_overlay_ohsut_53", s2 = {
748
+ }, k4 = "_loader_1xslo_1", M4 = "_spin_1xslo_1", x4 = "_accent_1xslo_19", H4 = "_neutral_1xslo_23", b4 = "_positive_1xslo_27", Z4 = "_negative_1xslo_31", V4 = "_gray_1xslo_35", y4 = "_contrast_1xslo_39", S4 = "_container_1xslo_43", B4 = "_overlay_1xslo_53", s2 = {
749
749
  loader: k4,
750
750
  spin: M4,
751
751
  accent: x4,
@@ -756,11 +756,11 @@ const a1 = {
756
756
  contrast: y4,
757
757
  container: S4,
758
758
  overlay: B4,
759
- "size-16": "_size-16_ohsut_68",
760
- "size-24": "_size-24_ohsut_72",
761
- "size-48": "_size-48_ohsut_76",
762
- "size-64": "_size-64_ohsut_80",
763
- "size-96": "_size-96_ohsut_84"
759
+ "size-16": "_size-16_1xslo_68",
760
+ "size-24": "_size-24_1xslo_72",
761
+ "size-48": "_size-48_1xslo_76",
762
+ "size-64": "_size-64_1xslo_80",
763
+ "size-96": "_size-96_1xslo_84"
764
764
  };
765
765
  var Z2 = { exports: {} };
766
766
  /*!
@@ -802,7 +802,7 @@ function j4() {
802
802
  })(Z2)), Z2.exports;
803
803
  }
804
804
  var O4 = j4();
805
- const x1 = /* @__PURE__ */ x3(O4), b9 = r1(
805
+ const k1 = /* @__PURE__ */ x3(O4), b9 = o1(
806
806
  ({
807
807
  size: t = 24,
808
808
  variant: o = "accent",
@@ -811,7 +811,7 @@ const x1 = /* @__PURE__ */ x3(O4), b9 = r1(
811
811
  style: s,
812
812
  ...l
813
813
  }, c) => {
814
- const g = x1(
814
+ const g = k1(
815
815
  s2.loader,
816
816
  s2[o],
817
817
  s2[`size-${t}`],
@@ -840,7 +840,7 @@ const x1 = /* @__PURE__ */ x3(O4), b9 = r1(
840
840
  }
841
841
  );
842
842
  }
843
- ), R4 = r1((t, o) => {
843
+ ), R4 = o1((t, o) => {
844
844
  const {
845
845
  loading: i = !1,
846
846
  size: C = 24,
@@ -850,12 +850,12 @@ const x1 = /* @__PURE__ */ x3(O4), b9 = r1(
850
850
  style: g,
851
851
  "data-testid": L,
852
852
  ...v
853
- } = t, d = x1(s2.container, c);
853
+ } = t, d = k1(s2.container, c);
854
854
  return /* @__PURE__ */ r.jsxs("div", { ref: o, className: d, style: g, "data-testid": L, ...v, children: [
855
855
  l,
856
856
  i && /* @__PURE__ */ r.jsx("div", { className: s2.overlay, children: /* @__PURE__ */ r.jsx(b9, { size: C, variant: s, "data-testid": `${L}-spinner` }) })
857
857
  ] });
858
- }), E2 = r1((t, o) => t.children ? /* @__PURE__ */ r.jsx(
858
+ }), E2 = o1((t, o) => t.children ? /* @__PURE__ */ r.jsx(
859
859
  R4,
860
860
  {
861
861
  ref: o,
@@ -915,7 +915,7 @@ const x1 = /* @__PURE__ */ x3(O4), b9 = r1(
915
915
  "span",
916
916
  {
917
917
  "data-testid": "button-subcaption",
918
- className: H(P.subcaption, a1["typography-label-4-regular"]),
918
+ className: H(P.subcaption, s1["typography-label-4-regular"]),
919
919
  children: C
920
920
  }
921
921
  )
@@ -929,12 +929,12 @@ const x1 = /* @__PURE__ */ x3(O4), b9 = r1(
929
929
  "span",
930
930
  {
931
931
  "data-testid": "button-postfix",
932
- className: H(P.postfix, a1["typography-subtitle-2-semibold"]),
932
+ className: H(P.postfix, s1["typography-subtitle-2-semibold"]),
933
933
  children: i
934
934
  }
935
935
  ) })
936
936
  ] });
937
- }, I2 = r1((t, o) => {
937
+ }, I2 = o1((t, o) => {
938
938
  const {
939
939
  mode: i = "primary",
940
940
  size: C = "m",
@@ -945,23 +945,23 @@ const x1 = /* @__PURE__ */ x3(O4), b9 = r1(
945
945
  tabIndex: L,
946
946
  subcaption: v,
947
947
  postfix: d,
948
- stretched: f,
948
+ stretched: _,
949
949
  iconLeft: E,
950
950
  loading: h
951
- } = t, p = i === "tertiary", _ = p && "paddings" in t ? t.paddings ?? !0 : !0, m = !!("loading" in t && h), w = !l && !m, u = !!(!g && E && !d), k = typeof f == "object" ? f.justify === "space-between" : void 0, b = I4(C), S = a1[b], x = f4(l, i, s), V = l || m ? -1 : L, y = H(
951
+ } = t, p = i === "tertiary", f = p && "paddings" in t ? t.paddings ?? !0 : !0, m = !!("loading" in t && h), w = !l && !m, u = !!(!g && E && !d), k = typeof _ == "object" ? _.justify === "space-between" : void 0, b = I4(C), B = s1[b], x = f4(l, i, s), V = l || m ? -1 : L, y = H(
952
952
  P.button,
953
953
  P[C],
954
954
  P[i],
955
955
  P[s],
956
- S,
956
+ B,
957
957
  {
958
958
  [P.disabled]: l,
959
959
  [P.loading]: m,
960
- [P.stretched]: f,
960
+ [P.stretched]: _,
961
961
  [P.spaceBetween]: k,
962
962
  [P.withSubcaption]: !!(v && C === "l" && g),
963
963
  [P.iconOnly]: u,
964
- [P.noPaddings]: p && !_
964
+ [P.noPaddings]: p && !f
965
965
  },
966
966
  c
967
967
  ), j = {
@@ -972,12 +972,12 @@ const x1 = /* @__PURE__ */ x3(O4), b9 = r1(
972
972
  size: C
973
973
  };
974
974
  if (V3(t)) {
975
- const { href: O, onClick: F, style: I, target: Z, rel: R, "data-testid": T, ...D } = t, U = v2(D), N = Z ?? (t.isExternal ? "_blank" : void 0), A = Z9({ rel: R, target: N }), Y = (q) => {
975
+ const { href: O, onClick: I, style: T, target: Z, rel: R, "data-testid": D, ...A } = t, U = f2(A), N = Z ?? (t.isExternal ? "_blank" : void 0), n1 = Z9({ rel: R, target: N }), K = (X) => {
976
976
  if (!w) {
977
- q.preventDefault();
977
+ X.preventDefault();
978
978
  return;
979
979
  }
980
- F == null || F(q);
980
+ I == null || I(X);
981
981
  };
982
982
  return /* @__PURE__ */ r.jsx(
983
983
  "a",
@@ -986,20 +986,20 @@ const x1 = /* @__PURE__ */ x3(O4), b9 = r1(
986
986
  className: y,
987
987
  href: w ? O : void 0,
988
988
  tabIndex: V,
989
- onClick: Y,
990
- "data-testid": T,
989
+ onClick: K,
990
+ "data-testid": D,
991
991
  "aria-disabled": l || m,
992
- style: I,
992
+ style: T,
993
993
  target: N,
994
- rel: A,
994
+ rel: n1,
995
995
  ...U,
996
996
  children: /* @__PURE__ */ r.jsx(o9, { ...j })
997
997
  }
998
998
  );
999
999
  }
1000
1000
  if (y3(t)) {
1001
- const { type: O = "button", onClick: F, style: I, "data-testid": Z, ...R } = t, T = v2(R), D = C === "l" ? 24 : 16, U = (N) => {
1002
- w && F && F(N);
1001
+ const { type: O = "button", onClick: I, style: T, "data-testid": Z, ...R } = t, D = f2(R), A = C === "l" ? 24 : 16, U = (N) => {
1002
+ w && I && I(N);
1003
1003
  };
1004
1004
  return /* @__PURE__ */ r.jsxs(
1005
1005
  "button",
@@ -1012,8 +1012,8 @@ const x1 = /* @__PURE__ */ x3(O4), b9 = r1(
1012
1012
  onClick: U,
1013
1013
  "data-testid": Z,
1014
1014
  "aria-disabled": l || m,
1015
- style: I,
1016
- ...T,
1015
+ style: T,
1016
+ ...D,
1017
1017
  children: [
1018
1018
  /* @__PURE__ */ r.jsx("div", { className: H(P.content, { [P.contentHidden]: m }), children: /* @__PURE__ */ r.jsx(o9, { ...j }) }),
1019
1019
  m && /* @__PURE__ */ r.jsx("div", { className: P.loaderWrapper, children: /* @__PURE__ */ r.jsx(
@@ -1022,7 +1022,7 @@ const x1 = /* @__PURE__ */ x3(O4), b9 = r1(
1022
1022
  variant: x,
1023
1023
  "aria-hidden": "true",
1024
1024
  "data-testid": "button-loader",
1025
- size: D
1025
+ size: A
1026
1026
  }
1027
1027
  ) })
1028
1028
  ]
@@ -1032,7 +1032,7 @@ const x1 = /* @__PURE__ */ x3(O4), b9 = r1(
1032
1032
  return null;
1033
1033
  });
1034
1034
  I2.displayName = "Button";
1035
- const V9 = r1(
1035
+ const V9 = o1(
1036
1036
  (t, o) => {
1037
1037
  const { iconLeft: i, className: C, ...s } = t, c = {
1038
1038
  ...s,
@@ -1040,7 +1040,7 @@ const V9 = r1(
1040
1040
  buttonStyle: "neutral",
1041
1041
  size: "m",
1042
1042
  iconLeft: i ?? /* @__PURE__ */ r.jsx(W4, {}),
1043
- className: H(P.backButton, a1["typography-subtitle-1-semibold"], C)
1043
+ className: H(P.backButton, s1["typography-subtitle-1-semibold"], C)
1044
1044
  };
1045
1045
  return /* @__PURE__ */ r.jsx(I2, { ref: o, ...c });
1046
1046
  }
@@ -1061,7 +1061,7 @@ const i9 = ({
1061
1061
  ] }),
1062
1062
  s && C && /* @__PURE__ */ r.jsx("span", { "data-testid": "button-icon", className: P.icon, children: o })
1063
1063
  ] });
1064
- }, y9 = r1(
1064
+ }, y9 = o1(
1065
1065
  (t, o) => {
1066
1066
  const {
1067
1067
  mode: i = "primary",
@@ -1073,8 +1073,8 @@ const i9 = ({
1073
1073
  tabIndex: L,
1074
1074
  showUnderline: v = !1,
1075
1075
  iconLeft: d,
1076
- iconRight: f
1077
- } = t, E = C !== void 0, h = E ? d : void 0, p = E ? f : void 0, _ = !l, m = !!(!g && p), w = E4(C ?? "m"), u = a1[w], k = l ? -1 : L, b = H(
1076
+ iconRight: _
1077
+ } = t, E = C !== void 0, h = E ? d : void 0, p = E ? _ : void 0, f = !l, m = !!(!g && p), w = E4(C ?? "m"), u = s1[w], k = l ? -1 : L, b = H(
1078
1078
  P.button,
1079
1079
  P[C ?? "m"],
1080
1080
  P[i],
@@ -1087,40 +1087,40 @@ const i9 = ({
1087
1087
  [P.underline]: v
1088
1088
  },
1089
1089
  c
1090
- ), S = {
1090
+ ), B = {
1091
1091
  iconLeft: h,
1092
1092
  iconRight: p,
1093
1093
  children: g,
1094
1094
  showLinkIcons: E
1095
1095
  };
1096
1096
  if (t.as === "a") {
1097
- const { href: Z, onClick: R, style: T, target: D, rel: U, "data-testid": N, isExternal: A, ...Y } = t, q = v2(Y), Q = D ?? (A ? "_blank" : void 0), d1 = Z9({ rel: U, target: Q }), H1 = (L1) => {
1098
- if (!_) {
1099
- L1.preventDefault();
1097
+ const { href: Z, onClick: R, style: D, target: A, rel: U, "data-testid": N, isExternal: n1, ...K } = t, X = f2(K), W = A ?? (n1 ? "_blank" : void 0), J = Z9({ rel: U, target: W }), L1 = (p1) => {
1098
+ if (!f) {
1099
+ p1.preventDefault();
1100
1100
  return;
1101
1101
  }
1102
- R == null || R(L1);
1102
+ R == null || R(p1);
1103
1103
  };
1104
1104
  return /* @__PURE__ */ r.jsx(
1105
1105
  "a",
1106
1106
  {
1107
1107
  ref: o,
1108
1108
  className: b,
1109
- href: _ ? Z : void 0,
1109
+ href: f ? Z : void 0,
1110
1110
  tabIndex: k,
1111
- onClick: H1,
1111
+ onClick: L1,
1112
1112
  "data-testid": N,
1113
1113
  "aria-disabled": l,
1114
- style: T,
1115
- target: Q,
1116
- rel: d1,
1117
- ...q,
1118
- children: /* @__PURE__ */ r.jsx(i9, { ...S })
1114
+ style: D,
1115
+ target: W,
1116
+ rel: J,
1117
+ ...X,
1118
+ children: /* @__PURE__ */ r.jsx(i9, { ...B })
1119
1119
  }
1120
1120
  );
1121
1121
  }
1122
- const { type: x = "button", onClick: V, style: y, "data-testid": j, ...O } = t, F = v2(O), I = (Z) => {
1123
- _ && V && V(Z);
1122
+ const { type: x = "button", onClick: V, style: y, "data-testid": j, ...O } = t, I = f2(O), T = (Z) => {
1123
+ f && V && V(Z);
1124
1124
  };
1125
1125
  return /* @__PURE__ */ r.jsx(
1126
1126
  "button",
@@ -1130,18 +1130,18 @@ const i9 = ({
1130
1130
  className: b,
1131
1131
  disabled: l,
1132
1132
  tabIndex: k,
1133
- onClick: I,
1133
+ onClick: T,
1134
1134
  "data-testid": j,
1135
1135
  "aria-disabled": l,
1136
1136
  style: y,
1137
- ...F,
1138
- children: /* @__PURE__ */ r.jsx(i9, { ...S })
1137
+ ...I,
1138
+ children: /* @__PURE__ */ r.jsx(i9, { ...B })
1139
1139
  }
1140
1140
  );
1141
1141
  }
1142
1142
  );
1143
1143
  y9.displayName = "Button.Link";
1144
- const f2 = Object.assign(I2, {
1144
+ const c2 = Object.assign(I2, {
1145
1145
  Back: V9,
1146
1146
  Link: y9
1147
1147
  }), A4 = "_avatar_19ug4_18", P4 = "_clickable_19ug4_40", $4 = "_icon_19ug4_57", N4 = "_disabled_19ug4_62", z4 = "_loading_19ug4_67", U4 = "_image_19ug4_73", G4 = "_name_19ug4_73", W1 = {
@@ -1231,7 +1231,7 @@ const r6 = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
1231
1231
  female: o6,
1232
1232
  org: l6,
1233
1233
  neutral: i6
1234
- }, u2 = r1((t, o) => {
1234
+ }, L2 = o1((t, o) => {
1235
1235
  const {
1236
1236
  style: i,
1237
1237
  size: C = 40,
@@ -1242,41 +1242,41 @@ const r6 = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
1242
1242
  placeholderType: L = "neutral",
1243
1243
  name: v,
1244
1244
  imgSrc: d,
1245
- imgAlt: f,
1245
+ imgAlt: _,
1246
1246
  icon: E,
1247
1247
  imgProps: h,
1248
1248
  colorScheme: p,
1249
- className: _,
1249
+ className: f,
1250
1250
  "data-testid": m,
1251
1251
  ...w
1252
- } = t, { onClick: u, onPointerDown: k } = w, S = !l && !s && (!!u || !!k), [x, V] = c1(!1);
1253
- J(() => {
1252
+ } = t, { onClick: u, onPointerDown: k } = w, B = !l && !s && (!!u || !!k), [x, V] = d1(!1);
1253
+ Q(() => {
1254
1254
  d && V(!1);
1255
1255
  }, [d]);
1256
- const y = d && !x ? "image" : E ? "icon" : v ? "name" : "placeholder", j = p || y === "name" && K4(v) || "gray", O = n6(C), F = e6(C, c), I = H(
1257
- _,
1256
+ const y = d && !x ? "image" : E ? "icon" : v ? "name" : "placeholder", j = p || y === "name" && K4(v) || "gray", O = n6(C), I = e6(C, c), T = H(
1257
+ f,
1258
1258
  W1.avatar,
1259
1259
  W1[`variant-${g}`],
1260
1260
  W1[`color-${j}`],
1261
- a1[O],
1261
+ s1[O],
1262
1262
  {
1263
1263
  [W1.disabled]: l,
1264
1264
  [W1.loading]: s,
1265
- [W1.clickable]: S
1265
+ [W1.clickable]: B
1266
1266
  }
1267
1267
  ), Z = {
1268
1268
  "--avatar-size": `${C}px`,
1269
- "--avatar-border-radius": `${F}px`,
1269
+ "--avatar-border-radius": `${I}px`,
1270
1270
  ...i
1271
1271
  }, R = {
1272
- icon: () => /* @__PURE__ */ r.jsx("span", { "data-testid": "avatar-icon", title: f || void 0, role: "img", className: W1.icon, children: E == null ? void 0 : E({}) }),
1272
+ icon: () => /* @__PURE__ */ r.jsx("span", { "data-testid": "avatar-icon", title: _ || void 0, role: "img", className: W1.icon, children: E == null ? void 0 : E({}) }),
1273
1273
  name: () => /* @__PURE__ */ r.jsx(
1274
1274
  "span",
1275
1275
  {
1276
1276
  role: "textbox",
1277
1277
  "data-testid": "avatar-name",
1278
1278
  className: W1.name,
1279
- title: f || void 0,
1279
+ title: _ || void 0,
1280
1280
  children: J4(v || "")
1281
1281
  }
1282
1282
  ),
@@ -1287,7 +1287,7 @@ const r6 = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
1287
1287
  "data-testid": "avatar-placeholder",
1288
1288
  className: W1.image,
1289
1289
  src: C6[L],
1290
- alt: f || void 0
1290
+ alt: _ || void 0
1291
1291
  }
1292
1292
  ),
1293
1293
  image: () => /* @__PURE__ */ r.jsx(
@@ -1297,23 +1297,23 @@ const r6 = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
1297
1297
  ...h,
1298
1298
  className: W1.image,
1299
1299
  src: d || void 0,
1300
- alt: f || void 0,
1300
+ alt: _ || void 0,
1301
1301
  onLoad: () => V(!1),
1302
- onError: (D) => {
1302
+ onError: (A) => {
1303
1303
  var U;
1304
- V(!0), (U = h == null ? void 0 : h.onError) == null || U.call(h, D);
1304
+ V(!0), (U = h == null ? void 0 : h.onError) == null || U.call(h, A);
1305
1305
  }
1306
1306
  }
1307
1307
  )
1308
- }, T = (D) => {
1309
- S && (u == null || u(D));
1308
+ }, D = (A) => {
1309
+ B && (u == null || u(A));
1310
1310
  };
1311
1311
  return /* @__PURE__ */ r.jsx(
1312
1312
  "div",
1313
1313
  {
1314
1314
  ref: o,
1315
- onClick: T,
1316
- className: I,
1315
+ onClick: D,
1316
+ className: T,
1317
1317
  style: Z,
1318
1318
  "data-testid": m,
1319
1319
  "aria-disabled": l || s,
@@ -1324,7 +1324,7 @@ const r6 = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
1324
1324
  avatarGroup: a6
1325
1325
  }, c6 = (t, o) => {
1326
1326
  const { t: i, i18n: C } = k3();
1327
- return J(() => {
1327
+ return Q(() => {
1328
1328
  }, [t, o, C]), i;
1329
1329
  }, d6 = (t) => t === "rgba(0, 0, 0, 0)" || t === "transparent" || t.startsWith("rgba") && t.endsWith(", 0)"), h6 = (t) => {
1330
1330
  if (!t) return null;
@@ -1336,8 +1336,8 @@ const r6 = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
1336
1336
  }
1337
1337
  return null;
1338
1338
  }, T2 = () => {
1339
- const t = u1(null), [o, i] = c1(null);
1340
- return J(() => {
1339
+ const t = v1(null), [o, i] = d1(null);
1340
+ return Q(() => {
1341
1341
  if (t.current) {
1342
1342
  const C = h6(t.current);
1343
1343
  i(C);
@@ -1345,19 +1345,19 @@ const r6 = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
1345
1345
  }, []), { ref: t, bgColor: o };
1346
1346
  };
1347
1347
  function a9(t, o, i) {
1348
- J(() => (window.addEventListener(t, o, i), () => window.removeEventListener(t, o, i)), [t, o]);
1348
+ Q(() => (window.addEventListener(t, o, i), () => window.removeEventListener(t, o, i)), [t, o]);
1349
1349
  }
1350
1350
  const s9 = {
1351
1351
  passive: !0
1352
1352
  };
1353
1353
  function g6() {
1354
- const [t, o] = c1({
1354
+ const [t, o] = d1({
1355
1355
  width: 0,
1356
1356
  height: 0
1357
- }), i = k1(() => {
1357
+ }), i = x1(() => {
1358
1358
  o({ width: window.innerWidth || 0, height: window.innerHeight || 0 });
1359
1359
  }, []);
1360
- return a9("resize", i, s9), a9("orientationchange", i, s9), J(i, []), t;
1360
+ return a9("resize", i, s9), a9("orientationchange", i, s9), Q(i, []), t;
1361
1361
  }
1362
1362
  function m6(t = 768) {
1363
1363
  const { width: o } = g6();
@@ -1372,22 +1372,22 @@ const p6 = 2, u6 = (t) => {
1372
1372
  overflowCount: l = 0,
1373
1373
  overflowProps: c,
1374
1374
  cutoutBackground: g
1375
- } = t, v = -(i * C) + p6, { ref: d, bgColor: f } = T2(), E = g || f || "#ffffff", h = x1(s6.avatarGroup), p = {
1375
+ } = t, v = -(i * C) + p6, { ref: d, bgColor: _ } = T2(), E = g || _ || "#ffffff", h = k1(s6.avatarGroup), p = {
1376
1376
  "--avatar-cutout-bg": E
1377
1377
  };
1378
1378
  return o.length === 0 ? null : /* @__PURE__ */ r.jsxs("div", { className: h, ref: d, style: p, children: [
1379
- o.map((_, m) => {
1380
- if (_.wrapper) {
1381
- const w = _.wrapper;
1379
+ o.map((f, m) => {
1380
+ if (f.wrapper) {
1381
+ const w = f.wrapper;
1382
1382
  return /* @__PURE__ */ r.jsx(
1383
1383
  "div",
1384
1384
  {
1385
1385
  style: {
1386
1386
  marginRight: v
1387
1387
  },
1388
- children: /* @__PURE__ */ r.jsx(w, { children: /* @__PURE__ */ r.jsx(u2, { size: i, shape: s, ..._ }) })
1388
+ children: /* @__PURE__ */ r.jsx(w, { children: /* @__PURE__ */ r.jsx(L2, { size: i, shape: s, ...f }) })
1389
1389
  },
1390
- _2(_) + m
1390
+ _2(f) + m
1391
1391
  );
1392
1392
  }
1393
1393
  return /* @__PURE__ */ r.jsx(
@@ -1396,13 +1396,13 @@ const p6 = 2, u6 = (t) => {
1396
1396
  style: {
1397
1397
  marginRight: v
1398
1398
  },
1399
- children: /* @__PURE__ */ r.jsx(u2, { size: i, shape: s, ..._ })
1399
+ children: /* @__PURE__ */ r.jsx(L2, { size: i, shape: s, ...f })
1400
1400
  },
1401
- _2(_) + m
1401
+ _2(f) + m
1402
1402
  );
1403
1403
  }),
1404
1404
  l > 0 && /* @__PURE__ */ r.jsx("div", { style: { marginRight: v }, children: /* @__PURE__ */ r.jsx(
1405
- u2,
1405
+ L2,
1406
1406
  {
1407
1407
  size: i,
1408
1408
  shape: s,
@@ -1413,7 +1413,7 @@ const p6 = 2, u6 = (t) => {
1413
1413
  }
1414
1414
  ) })
1415
1415
  ] });
1416
- }, L6 = Object.assign(u2, {
1416
+ }, L6 = Object.assign(L2, {
1417
1417
  Group: u6
1418
1418
  }), w6 = "_overlay_1k1w9_6", v6 = "_container_1k1w9_20", f6 = "_grabber_1k1w9_98", C2 = {
1419
1419
  overlay: w6,
@@ -1484,7 +1484,7 @@ function k6({
1484
1484
  placement: i = "center",
1485
1485
  disableEscapeKey: C = !1
1486
1486
  }) {
1487
- const s = k1(
1487
+ const s = x1(
1488
1488
  (p) => {
1489
1489
  o == null || o(p);
1490
1490
  },
@@ -1503,10 +1503,10 @@ function k6({
1503
1503
  opacity: 0
1504
1504
  },
1505
1505
  ...L
1506
- }), f = M9(c, {
1506
+ }), _ = M9(c, {
1507
1507
  escapeKey: !C,
1508
1508
  outsidePress: !1
1509
- }), E = h3(c, { role: "dialog" }), { getFloatingProps: h } = x9([f, E]);
1509
+ }), E = h3(c, { role: "dialog" }), { getFloatingProps: h } = x9([_, E]);
1510
1510
  return t2(
1511
1511
  () => ({
1512
1512
  /** `isMounted`: Флаг для условного рендеринга с поддержкой анимации закрытия. */
@@ -1536,16 +1536,16 @@ function x6({
1536
1536
  onOpenChange: o,
1537
1537
  placement: i,
1538
1538
  disableEscapeKey: C
1539
- }), d = u1({ startX: 0, startY: 0, dragging: !1 }), [f, E] = c1(0), h = s == null ? void 0 : s.direction, p = (s == null ? void 0 : s.threshold) ?? M6, _ = h === "top" || h === "bottom", m = t && !!h;
1540
- J(() => {
1539
+ }), d = v1({ startX: 0, startY: 0, dragging: !1 }), [_, E] = d1(0), h = s == null ? void 0 : s.direction, p = (s == null ? void 0 : s.threshold) ?? M6, f = h === "top" || h === "bottom", m = t && !!h;
1540
+ Q(() => {
1541
1541
  t || (d.current.dragging = !1, E(0));
1542
1542
  }, [t]);
1543
- const w = k1(
1543
+ const w = x1(
1544
1544
  (x) => {
1545
1545
  m && (d.current.dragging = !0, d.current.startX = x.clientX, d.current.startY = x.clientY, E(0));
1546
1546
  },
1547
1547
  [m]
1548
- ), u = k1(
1548
+ ), u = x1(
1549
1549
  (x) => {
1550
1550
  if (!d.current.dragging || !m) return;
1551
1551
  const V = x.clientX - d.current.startX, y = x.clientY - d.current.startY;
@@ -1564,12 +1564,12 @@ function x6({
1564
1564
  j = Math.max(0, -V);
1565
1565
  break;
1566
1566
  default:
1567
- j = _ ? y : V;
1567
+ j = f ? y : V;
1568
1568
  }
1569
1569
  E(j);
1570
1570
  },
1571
- [m, h, _]
1572
- ), k = k1(
1571
+ [m, h, f]
1572
+ ), k = x1(
1573
1573
  (x) => {
1574
1574
  var V, y;
1575
1575
  if (!(!d.current.dragging || !m)) {
@@ -1578,22 +1578,22 @@ function x6({
1578
1578
  (y = (V = x.currentTarget).hasPointerCapture) != null && y.call(V, x.pointerId) && x.currentTarget.releasePointerCapture(x.pointerId);
1579
1579
  } catch {
1580
1580
  }
1581
- f >= p ? o(!1) : E(0);
1581
+ _ >= p ? o(!1) : E(0);
1582
1582
  }
1583
1583
  },
1584
- [f, p, o, m]
1584
+ [_, p, o, m]
1585
1585
  ), b = t2(() => {
1586
1586
  if (!m) return c;
1587
1587
  if (d.current.dragging) {
1588
1588
  const x = { ...c, transitionProperty: "none" };
1589
- if (f > 0) {
1590
- const V = h === "left" || h === "top" ? -f : f;
1591
- x.transform = _ ? `translateY(${V}px)` : `translateX(${V}px)`;
1589
+ if (_ > 0) {
1590
+ const V = h === "left" || h === "top" ? -_ : _;
1591
+ x.transform = f ? `translateY(${V}px)` : `translateX(${V}px)`;
1592
1592
  }
1593
1593
  return x;
1594
1594
  }
1595
1595
  return c;
1596
- }, [c, f, m, _, h]), S = k1(
1596
+ }, [c, _, m, f, h]), B = x1(
1597
1597
  (x) => l(m ? {
1598
1598
  ...x,
1599
1599
  onPointerDown: w,
@@ -1610,12 +1610,12 @@ function x6({
1610
1610
  context: L,
1611
1611
  refs: v,
1612
1612
  transitionStyles: b,
1613
- getFloatingProps: S
1613
+ getFloatingProps: B
1614
1614
  }),
1615
- [g, b, S, L, v]
1615
+ [g, b, B, L, v]
1616
1616
  );
1617
1617
  }
1618
- const S9 = r1((t, o) => {
1618
+ const S9 = o1((t, o) => {
1619
1619
  const {
1620
1620
  placement: i = "default",
1621
1621
  open: C,
@@ -1626,11 +1626,11 @@ const S9 = r1((t, o) => {
1626
1626
  children: L,
1627
1627
  disableOutsideClick: v = !1,
1628
1628
  disableEscapeKey: d = !1,
1629
- disableOverlay: f = !1,
1629
+ disableOverlay: _ = !1,
1630
1630
  closeOnDrag: E,
1631
1631
  className: h,
1632
1632
  style: p,
1633
- "data-testid": _,
1633
+ "data-testid": f,
1634
1634
  ...m
1635
1635
  } = t;
1636
1636
  C === void 0 && process.env.NODE_ENV !== "production" && console.error(
@@ -1642,17 +1642,17 @@ const S9 = r1((t, o) => {
1642
1642
  placement: i,
1643
1643
  disableEscapeKey: d,
1644
1644
  closeOnDrag: E
1645
- }), { isMounted: u, transitionStyles: k } = w, b = g3([o, w.refs.setFloating]), S = () => {
1645
+ }), { isMounted: u, transitionStyles: k } = w, b = g3([o, w.refs.setFloating]), B = () => {
1646
1646
  v || s(!1);
1647
1647
  };
1648
1648
  return u ? (
1649
1649
  // `FloatingPortal` рендерит диалог в корне `document.body`,
1650
1650
  // чтобы избежать проблем с z-index и overflow.
1651
1651
  /* @__PURE__ */ r.jsxs(H9, { ...c, children: [
1652
- !f && /* @__PURE__ */ r.jsx(
1652
+ !_ && /* @__PURE__ */ r.jsx(
1653
1653
  m3,
1654
1654
  {
1655
- onPointerDown: S,
1655
+ onPointerDown: B,
1656
1656
  "data-testid": "dialog-overlay",
1657
1657
  className: H(C2.overlay, l == null ? void 0 : l.className),
1658
1658
  lockScroll: (l == null ? void 0 : l.lockScroll) ?? !0,
@@ -1678,7 +1678,7 @@ const S9 = r1((t, o) => {
1678
1678
  role: "dialog",
1679
1679
  className: H(h, C2.container, C2[`placement-${i}`]),
1680
1680
  style: { ...p, ...k },
1681
- "data-testid": _,
1681
+ "data-testid": f,
1682
1682
  ...w.getFloatingProps(m),
1683
1683
  children: [
1684
1684
  L,
@@ -1692,7 +1692,7 @@ const S9 = r1((t, o) => {
1692
1692
  ),
1693
1693
  role: "presentation",
1694
1694
  "aria-hidden": "true",
1695
- "data-testid": _ ? `${_}-grabber` : void 0
1695
+ "data-testid": f ? `${f}-grabber` : void 0
1696
1696
  }
1697
1697
  )
1698
1698
  ]
@@ -1750,17 +1750,17 @@ const S9 = r1((t, o) => {
1750
1750
  disabled: L = !1,
1751
1751
  typographyStyle: v = "primary",
1752
1752
  ...d
1753
- }, f) => {
1753
+ }, _) => {
1754
1754
  const E = c || U6[i], h = H(
1755
1755
  Q1.typography,
1756
- a1[`typography-${t}-${i}-${g}`],
1756
+ s1[`typography-${t}-${i}-${g}`],
1757
1757
  Q1[v],
1758
1758
  {
1759
1759
  [Q1.disabled]: L
1760
1760
  },
1761
1761
  s
1762
1762
  );
1763
- return C ? /* @__PURE__ */ r.jsx(E, { ref: f, className: h, "data-testid": l, ...d, children: C }) : null;
1763
+ return C ? /* @__PURE__ */ r.jsx(E, { ref: _, className: h, "data-testid": l, ...d, children: C }) : null;
1764
1764
  }
1765
1765
  );
1766
1766
  return o.displayName = `Typography.${t === "title" ? "Title" : "Subtitle"}`, o;
@@ -1776,10 +1776,10 @@ const S9 = r1((t, o) => {
1776
1776
  disabled: L = !1,
1777
1777
  typographyStyle: v = "primary",
1778
1778
  ...d
1779
- }, f) => {
1779
+ }, _) => {
1780
1780
  const E = c, h = H(
1781
1781
  Q1.typography,
1782
- a1[`typography-${t}-${i}-${g}`],
1782
+ s1[`typography-${t}-${i}-${g}`],
1783
1783
  Q1[v],
1784
1784
  {
1785
1785
  [Q1.disabled]: L
@@ -1789,7 +1789,7 @@ const S9 = r1((t, o) => {
1789
1789
  return C ? /* @__PURE__ */ r.jsx(
1790
1790
  E,
1791
1791
  {
1792
- ref: f,
1792
+ ref: _,
1793
1793
  className: h,
1794
1794
  "data-testid": l,
1795
1795
  ...d,
@@ -1853,8 +1853,8 @@ const S9 = r1((t, o) => {
1853
1853
  ...K6,
1854
1854
  ...o
1855
1855
  };
1856
- return i ? /* @__PURE__ */ r.jsx(i, { children: /* @__PURE__ */ r.jsx(f2, { ...C }) }) : /* @__PURE__ */ r.jsx(f2, { ...C });
1857
- }, vd = r1((t, o) => {
1856
+ return i ? /* @__PURE__ */ r.jsx(i, { children: /* @__PURE__ */ r.jsx(c2, { ...C }) }) : /* @__PURE__ */ r.jsx(c2, { ...C });
1857
+ }, Ed = o1((t, o) => {
1858
1858
  const {
1859
1859
  open: i,
1860
1860
  onOpenChange: C,
@@ -1865,17 +1865,17 @@ const S9 = r1((t, o) => {
1865
1865
  closeButton: L = { show: !0 },
1866
1866
  backButton: v = { show: !1 },
1867
1867
  title: d,
1868
- subTitle: f,
1868
+ subTitle: _,
1869
1869
  children: E,
1870
1870
  footer: h,
1871
1871
  hideHeaderDivider: p = !1,
1872
- hideFooterDivider: _ = !1,
1872
+ hideFooterDivider: f = !1,
1873
1873
  classNames: m,
1874
1874
  styles: w,
1875
1875
  headerTemplate: u,
1876
1876
  "data-testid": k,
1877
1877
  ...b
1878
- } = t, S = l === "bottom-sheet" ? "actions-title-actions" : "title-actions-actions", x = l === "bottom-sheet" ? { direction: "bottom", threshold: 80 } : t == null ? void 0 : t.closeOnDrag, V = () => C(!1), y = !!(d || f || L.show || v.show || c.length || g.length), j = d ? `${k || "modal"}-title` : void 0, O = f ? `${k || "modal"}-subtitle` : void 0;
1878
+ } = t, B = l === "bottom-sheet" ? "actions-title-actions" : "title-actions-actions", x = l === "bottom-sheet" ? { direction: "bottom", threshold: 80 } : t == null ? void 0 : t.closeOnDrag, V = () => C(!1), y = !!(d || _ || L.show || v.show || c.length || g.length), j = d ? `${k || "modal"}-title` : void 0, O = _ ? `${k || "modal"}-subtitle` : void 0;
1879
1879
  return /* @__PURE__ */ r.jsx(
1880
1880
  S9,
1881
1881
  {
@@ -1901,7 +1901,7 @@ const S9 = r1((t, o) => {
1901
1901
  className: H(
1902
1902
  S1.header,
1903
1903
  !p && S1.withBorder,
1904
- S1[u || S],
1904
+ S1[u || B],
1905
1905
  m == null ? void 0 : m.header
1906
1906
  ),
1907
1907
  style: w == null ? void 0 : w.header,
@@ -1951,13 +1951,13 @@ const S9 = r1((t, o) => {
1951
1951
  ]
1952
1952
  }
1953
1953
  ),
1954
- f && /* @__PURE__ */ r.jsx(
1954
+ _ && /* @__PURE__ */ r.jsx(
1955
1955
  "div",
1956
1956
  {
1957
1957
  id: O,
1958
1958
  className: H(S1.subTitle, m == null ? void 0 : m.subTitle),
1959
1959
  style: w == null ? void 0 : w.subTitle,
1960
- children: typeof f == "string" ? /* @__PURE__ */ r.jsx(X6, { size: 2, typographyStyle: "secondary", children: f }) : f
1960
+ children: typeof _ == "string" ? /* @__PURE__ */ r.jsx(X6, { size: 2, typographyStyle: "secondary", children: _ }) : _
1961
1961
  }
1962
1962
  )
1963
1963
  ]
@@ -1978,7 +1978,7 @@ const S9 = r1((t, o) => {
1978
1978
  "div",
1979
1979
  {
1980
1980
  "data-testid": k ? `${k}-footer` : void 0,
1981
- className: H(S1.footer, !_ && S1.withBorder, m == null ? void 0 : m.footer),
1981
+ className: H(S1.footer, !f && S1.withBorder, m == null ? void 0 : m.footer),
1982
1982
  style: w == null ? void 0 : w.footer,
1983
1983
  children: h
1984
1984
  }
@@ -2079,7 +2079,7 @@ const S9 = r1((t, o) => {
2079
2079
  }
2080
2080
  )
2081
2081
  }
2082
- ), h2 = {
2082
+ ), g2 = {
2083
2083
  avatar: { icon: null, colorScheme: "gray" },
2084
2084
  info: { icon: J6, colorScheme: "gray" },
2085
2085
  success: { icon: e7, colorScheme: "green" },
@@ -2095,12 +2095,12 @@ const S9 = r1((t, o) => {
2095
2095
  textBlock: a7,
2096
2096
  title: s7,
2097
2097
  subtitle: c7
2098
- }, g2 = {
2098
+ }, m2 = {
2099
2099
  m: { title: "typography-subtitle-1-semibold", subtitle: "typography-paragraph-3-regular" },
2100
2100
  l: { title: "typography-title-5-semibold", subtitle: "typography-paragraph-2-regular" }
2101
2101
  };
2102
2102
  function d7(t) {
2103
- return (g2 == null ? void 0 : g2[t]) || g2.m;
2103
+ return (m2 == null ? void 0 : m2[t]) || m2.m;
2104
2104
  }
2105
2105
  const h7 = (t) => {
2106
2106
  const {
@@ -2126,7 +2126,7 @@ const h7 = (t) => {
2126
2126
  "p",
2127
2127
  {
2128
2128
  style: s == null ? void 0 : s.title,
2129
- className: H(K1.title, a1[v.title], l == null ? void 0 : l.title),
2129
+ className: H(K1.title, s1[v.title], l == null ? void 0 : l.title),
2130
2130
  children: i
2131
2131
  }
2132
2132
  ),
@@ -2134,7 +2134,7 @@ const h7 = (t) => {
2134
2134
  "p",
2135
2135
  {
2136
2136
  style: s == null ? void 0 : s.subTitle,
2137
- className: H(K1.subtitle, a1[v.subtitle], l == null ? void 0 : l.subTitle),
2137
+ className: H(K1.subtitle, s1[v.subtitle], l == null ? void 0 : l.subTitle),
2138
2138
  children: C
2139
2139
  }
2140
2140
  )
@@ -2143,7 +2143,7 @@ const h7 = (t) => {
2143
2143
  ]
2144
2144
  }
2145
2145
  );
2146
- }, fd = (t) => {
2146
+ }, kd = (t) => {
2147
2147
  const {
2148
2148
  open: o,
2149
2149
  onOpenChange: i,
@@ -2155,9 +2155,9 @@ const h7 = (t) => {
2155
2155
  variantAvatarProps: L,
2156
2156
  "data-testid": v,
2157
2157
  styles: d,
2158
- classNames: f,
2158
+ classNames: _,
2159
2159
  ...E
2160
- } = t, { icon: h, colorScheme: p } = (h2 == null ? void 0 : h2[s]) || h2.info, m = s === "avatar" ? {
2160
+ } = t, { icon: h, colorScheme: p } = (g2 == null ? void 0 : g2[s]) || g2.info, m = s === "avatar" ? {
2161
2161
  size: 48,
2162
2162
  colorScheme: "gray",
2163
2163
  variant: "light",
@@ -2178,7 +2178,7 @@ const h7 = (t) => {
2178
2178
  onOpenChange: i,
2179
2179
  placement: C,
2180
2180
  "data-testid": v,
2181
- className: H(o7.container, f == null ? void 0 : f.dialog),
2181
+ className: H(o7.container, _ == null ? void 0 : _.dialog),
2182
2182
  style: d == null ? void 0 : d.dialog,
2183
2183
  ...E,
2184
2184
  children: /* @__PURE__ */ r.jsx(
@@ -2186,7 +2186,7 @@ const h7 = (t) => {
2186
2186
  {
2187
2187
  title: l,
2188
2188
  subTitle: c,
2189
- classNames: f,
2189
+ classNames: _,
2190
2190
  styles: d,
2191
2191
  size: "m",
2192
2192
  iconSlot: /* @__PURE__ */ r.jsx(L6, { ...m }),
@@ -2233,7 +2233,7 @@ const h7 = (t) => {
2233
2233
  "position-bottom-center-inside": "_position-bottom-center-inside_1tbse_495",
2234
2234
  "position-middle-left-inside": "_position-middle-left-inside_1tbse_501",
2235
2235
  "position-middle-right-inside": "_position-middle-right-inside_1tbse_507"
2236
- }, j2 = r1((t, o) => {
2236
+ }, j2 = o1((t, o) => {
2237
2237
  const {
2238
2238
  icon: i,
2239
2239
  children: C,
@@ -2244,12 +2244,12 @@ const h7 = (t) => {
2244
2244
  size: L = 20,
2245
2245
  position: v = "top-right",
2246
2246
  positionOffset: d = { x: 0, y: 0 },
2247
- cutoutBackground: f,
2247
+ cutoutBackground: _,
2248
2248
  isDisabled: E,
2249
2249
  className: h,
2250
2250
  "data-testid": p = "badge",
2251
- ..._
2252
- } = t, { onClick: m, onPointerDown: w } = _, { ref: u, bgColor: k } = T2(), b = f || k, x = !E && (!!m || !!w), V = x1(F1.badge__container, F1[`position-${v}`]), y = x1(
2251
+ ...f
2252
+ } = t, { onClick: m, onPointerDown: w } = f, { ref: u, bgColor: k } = T2(), b = _ || k, x = !E && (!!m || !!w), V = k1(F1.badge__container, F1[`position-${v}`]), y = k1(
2253
2253
  h,
2254
2254
  F1.badge__content,
2255
2255
  F1[`color-${g}`],
@@ -2265,8 +2265,8 @@ const h7 = (t) => {
2265
2265
  "--badge-offset-y": `${d.y}px`,
2266
2266
  ...b && { "--badge-cutout-bg": b },
2267
2267
  ...s === "transparent" && { "--badge-cutout-bg": "transparent" }
2268
- }, O = (i == null ? void 0 : i({})) || l, F = (I) => {
2269
- x && (m == null || m(I));
2268
+ }, O = (i == null ? void 0 : i({})) || l, I = (T) => {
2269
+ x && (m == null || m(T));
2270
2270
  };
2271
2271
  return /* @__PURE__ */ r.jsxs("div", { className: F1.wrapper, ref: u, "data-testid": p + "-wrapper", children: [
2272
2272
  C,
@@ -2279,8 +2279,8 @@ const h7 = (t) => {
2279
2279
  children: /* @__PURE__ */ r.jsx(
2280
2280
  "span",
2281
2281
  {
2282
- ..._,
2283
- onClick: F,
2282
+ ...f,
2283
+ onClick: I,
2284
2284
  className: y,
2285
2285
  "data-testid": p + "-content",
2286
2286
  ref: o,
@@ -2317,7 +2317,7 @@ const h7 = (t) => {
2317
2317
  }
2318
2318
  )
2319
2319
  }
2320
- ), _d = r1((t, o) => {
2320
+ ), Md = o1((t, o) => {
2321
2321
  const {
2322
2322
  alt: i = "",
2323
2323
  loading: C = "lazy",
@@ -2328,24 +2328,24 @@ const h7 = (t) => {
2328
2328
  containerProps: L,
2329
2329
  "data-testid": v = "image",
2330
2330
  onError: d,
2331
- onLoad: f,
2331
+ onLoad: _,
2332
2332
  ...E
2333
- } = t, { className: h, ...p } = L ?? {}, [_, m] = c1("loading"), w = _ === "error", u = (l || _ === "loading") && !w, k = _ === "loaded" && !l, b = H(
2333
+ } = t, { className: h, ...p } = L ?? {}, [f, m] = d1("loading"), w = f === "error", u = (l || f === "loading") && !w, k = f === "loaded" && !l, b = H(
2334
2334
  a2.container,
2335
2335
  { [a2.loading]: u && !k, [a2.error]: w && !k },
2336
2336
  h
2337
- ), S = H(
2337
+ ), B = H(
2338
2338
  a2.image,
2339
2339
  {
2340
2340
  [a2.loading]: u
2341
2341
  },
2342
2342
  g
2343
- ), x = k1(
2343
+ ), x = x1(
2344
2344
  (j) => {
2345
- m("loaded"), f == null || f(j);
2345
+ m("loaded"), _ == null || _(j);
2346
2346
  },
2347
- [f]
2348
- ), V = k1(
2347
+ [_]
2348
+ ), V = x1(
2349
2349
  (j) => {
2350
2350
  m("error"), d == null || d(j);
2351
2351
  },
@@ -2373,12 +2373,12 @@ const h7 = (t) => {
2373
2373
  "data-testid": v,
2374
2374
  loading: C,
2375
2375
  src: s,
2376
- className: S,
2376
+ className: B,
2377
2377
  ...E
2378
2378
  }
2379
2379
  )
2380
2380
  };
2381
- return J(() => {
2381
+ return Q(() => {
2382
2382
  if (!s) {
2383
2383
  m("error");
2384
2384
  return;
@@ -2405,7 +2405,7 @@ const h7 = (t) => {
2405
2405
  if (!t)
2406
2406
  throw new Error("useConfig must be used within a ConfigProvider");
2407
2407
  return t;
2408
- }, Ed = () => {
2408
+ }, xd = () => {
2409
2409
  const { locale: t } = x7();
2410
2410
  return t;
2411
2411
  }, H7 = {}, b7 = {}, Z7 = {}, V7 = {}, y7 = {}, S7 = "_base_1p0qo_50", B7 = "_content_1p0qo_54", j7 = "_background_1p0qo_58", O7 = "_button_1p0qo_62", R7 = "_link_1p0qo_66", W7 = "_input_1p0qo_70", F7 = "_suffix_1p0qo_74", I7 = "_prefix_1p0qo_78", T7 = "_tooltip_1p0qo_82", D7 = "_hint_1p0qo_86", A7 = "_dropdown_1p0qo_90", P7 = "_popover_1p0qo_94", $7 = "_modalBackdrop_1p0qo_98", N7 = "_modal_1p0qo_98", z7 = "_overlay_1p0qo_106", U7 = "_drawer_1p0qo_110", G7 = "_notification_1p0qo_114", q7 = "_alert_1p0qo_118", X7 = "_toast_1p0qo_122", Y7 = "_loading_1p0qo_126", K7 = "_error_1p0qo_130", J7 = "_critical_1p0qo_134", Q7 = {
@@ -2437,7 +2437,7 @@ const h7 = (t) => {
2437
2437
  "semantic-animation--300": "_semantic-animation--300_1fenh_23",
2438
2438
  "semantic-animation--400": "_semantic-animation--400_1fenh_27",
2439
2439
  "semantic-animation--500": "_semantic-animation--500_1fenh_31"
2440
- }, kd = ({
2440
+ }, Hd = ({
2441
2441
  locale: t = {},
2442
2442
  theme: o,
2443
2443
  children: i,
@@ -2461,14 +2461,14 @@ const h7 = (t) => {
2461
2461
  V7,
2462
2462
  y7,
2463
2463
  Q7,
2464
- a1,
2464
+ s1,
2465
2465
  e5,
2466
2466
  C
2467
2467
  )
2468
2468
  }
2469
2469
  ),
2470
2470
  /* @__PURE__ */ r.jsx(B9.Provider, { value: { locale: t }, children: i })
2471
- ] })), t5 = "_wrapper_1aa6l_2", n5 = "_interactive_1aa6l_23", r5 = "_disabled_1aa6l_26", o5 = "_loading_1aa6l_26", i5 = "_hoverNeutral_1aa6l_38", l5 = "_icon_1aa6l_38", C5 = "_hoverAccent_1aa6l_39", a5 = "_hoverPositive_1aa6l_40", s5 = "_hoverNegative_1aa6l_41", c5 = "_hoverWarning_1aa6l_42", d5 = "_hoverSpecial_1aa6l_43", h5 = "_hoverDreamy_1aa6l_44", g5 = "_hoverLovely_1aa6l_45", m5 = "_hoverVivid_1aa6l_46", p5 = "_hoverConstant_1aa6l_47", u5 = "_hoverInverse_1aa6l_48", L5 = "_pressedNeutral_1aa6l_51", w5 = "_pressedAccent_1aa6l_52", v5 = "_pressedPositive_1aa6l_53", f5 = "_pressedNegative_1aa6l_54", _5 = "_pressedWarning_1aa6l_55", E5 = "_pressedSpecial_1aa6l_56", k5 = "_pressedDreamy_1aa6l_57", M5 = "_pressedLovely_1aa6l_58", x5 = "_pressedVivid_1aa6l_59", H5 = "_pressedConstant_1aa6l_60", b5 = "_pressedInverse_1aa6l_61", Z5 = "_showBackground_1aa6l_64", V5 = "_backgroundPrimary_1aa6l_65", y5 = "_backgroundSecondary_1aa6l_66", S5 = "_backgroundTertiary_1aa6l_67", B5 = "_backgroundOverlay_1aa6l_68", j5 = "_backgroundConstant_1aa6l_69", O5 = "_backgroundInverse_1aa6l_70", R5 = "_backgroundConstantSecondary_1aa6l_71", W5 = "_backgroundInverseSecondary_1aa6l_72", F5 = "_backgroundPositive_1aa6l_73", I5 = "_backgroundWarning_1aa6l_74", T5 = "_backgroundNegative_1aa6l_75", D5 = "_backgroundAccent_1aa6l_76", A5 = "_backgroundPositiveSecondary_1aa6l_77", P5 = "_backgroundWarningSecondary_1aa6l_78", $5 = "_backgroundNegativeSecondary_1aa6l_79", N5 = "_backgroundAccentSecondary_1aa6l_80", z5 = "_backgroundSpecial_1aa6l_81", U5 = "_backgroundDreamy_1aa6l_82", G5 = "_backgroundLovely_1aa6l_83", q5 = "_backgroundVivid_1aa6l_84", X5 = "_backgroundSpecialSecondary_1aa6l_85", Y5 = "_backgroundDreamySecondary_1aa6l_86", K5 = "_backgroundLovelySecondary_1aa6l_87", J5 = "_backgroundVividSecondary_1aa6l_88", Q5 = "_showBorder_1aa6l_92", e0 = "_borderNeutral_1aa6l_93", t0 = "_borderPhantom_1aa6l_94", n0 = "_borderOverlay_1aa6l_95", r0 = "_borderPositive_1aa6l_96", o0 = "_borderWarning_1aa6l_97", i0 = "_borderNegative_1aa6l_98", l0 = "_borderAccent_1aa6l_99", C0 = "_borderSpecial_1aa6l_100", a0 = "_borderDreamy_1aa6l_101", s0 = "_borderLovely_1aa6l_102", c0 = "_borderVivid_1aa6l_103", d0 = "_interactiveWithCustomShadow_1aa6l_108", h0 = "_showPadding_1aa6l_117", g0 = "_borderRadiusCircle_1aa6l_121", m0 = "_iconWrapper_1aa6l_135", p0 = "_iconSize16_1aa6l_144", u0 = "_iconSize24_1aa6l_149", L0 = "_iconSize32_1aa6l_154", w0 = "_neutral_1aa6l_170", v0 = "_primary_1aa6l_171", f0 = "_secondary_1aa6l_172", _0 = "_tertiary_1aa6l_173", E0 = "_accent_1aa6l_177", k0 = "_positive_1aa6l_183", M0 = "_negative_1aa6l_189", x0 = "_warning_1aa6l_195", H0 = "_special_1aa6l_201", b0 = "_dreamy_1aa6l_207", Z0 = "_lovely_1aa6l_212", V0 = "_vivid_1aa6l_217", y0 = "_constant_1aa6l_222", S0 = "_inverse_1aa6l_227", B0 = "_none_1aa6l_233", j0 = "_checked_1aa6l_265", O0 = "_checkedOverlay_1aa6l_269", R0 = "_backgroundTransparent_1aa6l_296", W0 = "_shadowPermanent_1aa6l_344", F0 = "_shadowIncreasesWhenPressed_1aa6l_349", L2 = {
2471
+ ] })), t5 = "_wrapper_1aa6l_2", n5 = "_interactive_1aa6l_23", r5 = "_disabled_1aa6l_26", o5 = "_loading_1aa6l_26", i5 = "_hoverNeutral_1aa6l_38", l5 = "_icon_1aa6l_38", C5 = "_hoverAccent_1aa6l_39", a5 = "_hoverPositive_1aa6l_40", s5 = "_hoverNegative_1aa6l_41", c5 = "_hoverWarning_1aa6l_42", d5 = "_hoverSpecial_1aa6l_43", h5 = "_hoverDreamy_1aa6l_44", g5 = "_hoverLovely_1aa6l_45", m5 = "_hoverVivid_1aa6l_46", p5 = "_hoverConstant_1aa6l_47", u5 = "_hoverInverse_1aa6l_48", L5 = "_pressedNeutral_1aa6l_51", w5 = "_pressedAccent_1aa6l_52", v5 = "_pressedPositive_1aa6l_53", f5 = "_pressedNegative_1aa6l_54", _5 = "_pressedWarning_1aa6l_55", E5 = "_pressedSpecial_1aa6l_56", k5 = "_pressedDreamy_1aa6l_57", M5 = "_pressedLovely_1aa6l_58", x5 = "_pressedVivid_1aa6l_59", H5 = "_pressedConstant_1aa6l_60", b5 = "_pressedInverse_1aa6l_61", Z5 = "_showBackground_1aa6l_64", V5 = "_backgroundPrimary_1aa6l_65", y5 = "_backgroundSecondary_1aa6l_66", S5 = "_backgroundTertiary_1aa6l_67", B5 = "_backgroundOverlay_1aa6l_68", j5 = "_backgroundConstant_1aa6l_69", O5 = "_backgroundInverse_1aa6l_70", R5 = "_backgroundConstantSecondary_1aa6l_71", W5 = "_backgroundInverseSecondary_1aa6l_72", F5 = "_backgroundPositive_1aa6l_73", I5 = "_backgroundWarning_1aa6l_74", T5 = "_backgroundNegative_1aa6l_75", D5 = "_backgroundAccent_1aa6l_76", A5 = "_backgroundPositiveSecondary_1aa6l_77", P5 = "_backgroundWarningSecondary_1aa6l_78", $5 = "_backgroundNegativeSecondary_1aa6l_79", N5 = "_backgroundAccentSecondary_1aa6l_80", z5 = "_backgroundSpecial_1aa6l_81", U5 = "_backgroundDreamy_1aa6l_82", G5 = "_backgroundLovely_1aa6l_83", q5 = "_backgroundVivid_1aa6l_84", X5 = "_backgroundSpecialSecondary_1aa6l_85", Y5 = "_backgroundDreamySecondary_1aa6l_86", K5 = "_backgroundLovelySecondary_1aa6l_87", J5 = "_backgroundVividSecondary_1aa6l_88", Q5 = "_showBorder_1aa6l_92", e0 = "_borderNeutral_1aa6l_93", t0 = "_borderPhantom_1aa6l_94", n0 = "_borderOverlay_1aa6l_95", r0 = "_borderPositive_1aa6l_96", o0 = "_borderWarning_1aa6l_97", i0 = "_borderNegative_1aa6l_98", l0 = "_borderAccent_1aa6l_99", C0 = "_borderSpecial_1aa6l_100", a0 = "_borderDreamy_1aa6l_101", s0 = "_borderLovely_1aa6l_102", c0 = "_borderVivid_1aa6l_103", d0 = "_interactiveWithCustomShadow_1aa6l_108", h0 = "_showPadding_1aa6l_117", g0 = "_borderRadiusCircle_1aa6l_121", m0 = "_iconWrapper_1aa6l_135", p0 = "_iconSize16_1aa6l_144", u0 = "_iconSize24_1aa6l_149", L0 = "_iconSize32_1aa6l_154", w0 = "_neutral_1aa6l_170", v0 = "_primary_1aa6l_171", f0 = "_secondary_1aa6l_172", _0 = "_tertiary_1aa6l_173", E0 = "_accent_1aa6l_177", k0 = "_positive_1aa6l_183", M0 = "_negative_1aa6l_189", x0 = "_warning_1aa6l_195", H0 = "_special_1aa6l_201", b0 = "_dreamy_1aa6l_207", Z0 = "_lovely_1aa6l_212", V0 = "_vivid_1aa6l_217", y0 = "_constant_1aa6l_222", S0 = "_inverse_1aa6l_227", B0 = "_none_1aa6l_233", j0 = "_checked_1aa6l_265", O0 = "_checkedOverlay_1aa6l_269", R0 = "_backgroundTransparent_1aa6l_296", W0 = "_shadowPermanent_1aa6l_344", F0 = "_shadowIncreasesWhenPressed_1aa6l_349", w2 = {
2472
2472
  wrapper: t5,
2473
2473
  interactive: n5,
2474
2474
  disabled: r5,
@@ -2560,7 +2560,7 @@ const h7 = (t) => {
2560
2560
  backgroundTransparent: R0,
2561
2561
  shadowPermanent: W0,
2562
2562
  shadowIncreasesWhenPressed: F0
2563
- }, n1 = L2, g9 = (t) => t.charAt(0).toUpperCase() + t.slice(1), I0 = ({
2563
+ }, r1 = w2, g9 = (t) => t.charAt(0).toUpperCase() + t.slice(1), I0 = ({
2564
2564
  Component: t,
2565
2565
  iconSize: o = 24,
2566
2566
  mode: i = "primary",
@@ -2572,98 +2572,98 @@ const h7 = (t) => {
2572
2572
  shadow: L = !1,
2573
2573
  showBorder: v = !1,
2574
2574
  borderStyle: d = "neutral",
2575
- borderRadius: f,
2575
+ borderRadius: _,
2576
2576
  badge: E,
2577
2577
  checked: h = !1,
2578
2578
  disabled: p = !1,
2579
- loading: _ = !1,
2579
+ loading: f = !1,
2580
2580
  onClick: m,
2581
2581
  onMouseEnter: w,
2582
2582
  onMouseLeave: u,
2583
2583
  className: k,
2584
2584
  styles: b,
2585
- tabIndex: S,
2585
+ tabIndex: B,
2586
2586
  "aria-label": x,
2587
2587
  role: V
2588
2588
  }) => {
2589
- const [y, j] = c1(!1), O = P1.isValidElement(h), F = t2(() => p ? "disabled" : _ ? "loading" : O && y ? "checked" : "default", [p, _, O, y]), I = t === "button" || !!m, Z = b && "boxShadow" in b && b.boxShadow !== void 0, R = x1(
2590
- n1.wrapper,
2589
+ const [y, j] = d1(!1), O = P1.isValidElement(h), I = t2(() => p ? "disabled" : f ? "loading" : O && y ? "checked" : "default", [p, f, O, y]), T = t === "button" || !!m, Z = b && "boxShadow" in b && b.boxShadow !== void 0, R = k1(
2590
+ r1.wrapper,
2591
2591
  // Состояния
2592
2592
  {
2593
- [n1.disabled]: p,
2594
- [n1.loading]: _,
2595
- [n1.interactive]: I && !p && !_,
2596
- [n1.interactiveWithCustomShadow]: I && !p && !_ && Z,
2597
- [n1.checked]: h
2593
+ [r1.disabled]: p,
2594
+ [r1.loading]: f,
2595
+ [r1.interactive]: T && !p && !f,
2596
+ [r1.interactiveWithCustomShadow]: T && !p && !f && Z,
2597
+ [r1.checked]: h
2598
2598
  },
2599
2599
  // Стили иконки
2600
- n1[C],
2601
- n1[i],
2600
+ r1[C],
2601
+ r1[i],
2602
2602
  // Hover стили
2603
2603
  {
2604
- ...s && s !== "custom" && s !== "none" ? { [n1[`hover${g9(s)}`]]: !0 } : {},
2605
- [n1.hoverCustom]: s === "custom"
2604
+ ...s && s !== "custom" && s !== "none" ? { [r1[`hover${g9(s)}`]]: !0 } : {},
2605
+ [r1.hoverCustom]: s === "custom"
2606
2606
  },
2607
2607
  // Pressed стили
2608
2608
  {
2609
- ...l && l !== "custom" && l !== "none" ? { [n1[`pressed${g9(l)}`]]: !0 } : {},
2610
- [n1.pressedCustom]: l === "custom"
2609
+ ...l && l !== "custom" && l !== "none" ? { [r1[`pressed${g9(l)}`]]: !0 } : {},
2610
+ [r1.pressedCustom]: l === "custom"
2611
2611
  },
2612
2612
  // Отступы
2613
2613
  {
2614
- [n1.showPadding]: c !== !1
2614
+ [r1.showPadding]: c !== !1
2615
2615
  },
2616
2616
  // Фон
2617
2617
  {
2618
- [n1.showBackground]: g !== !1,
2619
- [n1[`background${g && typeof g == "string" ? g.split("-").map((e1) => e1.charAt(0).toUpperCase() + e1.slice(1)).join("") : "Primary"}`]]: g !== !1
2618
+ [r1.showBackground]: g !== !1,
2619
+ [r1[`background${g && typeof g == "string" ? g.split("-").map((e1) => e1.charAt(0).toUpperCase() + e1.slice(1)).join("") : "Primary"}`]]: g !== !1
2620
2620
  },
2621
2621
  // Рамка
2622
2622
  {
2623
- [n1.showBorder]: v,
2624
- [n1[`border${typeof d == "string" ? d.charAt(0).toUpperCase() + d.slice(1) : ""}`]]: v
2623
+ [r1.showBorder]: v,
2624
+ [r1[`border${typeof d == "string" ? d.charAt(0).toUpperCase() + d.slice(1) : ""}`]]: v
2625
2625
  },
2626
2626
  // Радиус скругления (круглый)
2627
2627
  {
2628
- [n1.borderRadiusCircle]: f === "50%" || f === 50
2628
+ [r1.borderRadiusCircle]: _ === "50%" || _ === 50
2629
2629
  },
2630
2630
  // Тени
2631
2631
  {
2632
- [n1.shadowPermanent]: L === "permanent",
2633
- [n1.shadowIncreasesWhenPressed]: L === "increases-when-pressed"
2632
+ [r1.shadowPermanent]: L === "permanent",
2633
+ [r1.shadowIncreasesWhenPressed]: L === "increases-when-pressed"
2634
2634
  },
2635
2635
  k
2636
- ), T = x1(n1.iconWrapper, n1[`iconSize${o}`]), D = t2(() => {
2636
+ ), D = k1(r1.iconWrapper, r1[`iconSize${o}`]), A = t2(() => {
2637
2637
  const e1 = { ...b };
2638
- return c !== !1 && typeof c == "number" && (e1.padding = `${c}px`), typeof f == "number" && f !== 50 && (e1.borderRadius = `${f}px`), e1;
2639
- }, [b, f, c]), U = (e1) => {
2640
- !p && !_ && w && w(e1);
2638
+ return c !== !1 && typeof c == "number" && (e1.padding = `${c}px`), typeof _ == "number" && _ !== 50 && (e1.borderRadius = `${_}px`), e1;
2639
+ }, [b, _, c]), U = (e1) => {
2640
+ !p && !f && w && w(e1);
2641
2641
  }, N = (e1) => {
2642
- !p && !_ && u && u(e1);
2643
- }, A = (e1) => {
2644
- !p && !_ && (O && j((b1) => !b1), m && m(e1));
2645
- }, Y = (e1) => {
2646
- p || _ || (e1.key === "Enter" || e1.key === " ") && (e1.preventDefault(), O && j((b1) => !b1), m && m(e1));
2647
- }, q = E ? E.show && !p : !1;
2642
+ !p && !f && u && u(e1);
2643
+ }, n1 = (e1) => {
2644
+ !p && !f && (O && j((b1) => !b1), m && m(e1));
2645
+ }, K = (e1) => {
2646
+ p || f || (e1.key === "Enter" || e1.key === " ") && (e1.preventDefault(), O && j((b1) => !b1), m && m(e1));
2647
+ }, X = E ? E.show && !p : !1;
2648
2648
  return {
2649
2649
  // Состояние
2650
2650
  checkedActive: y,
2651
2651
  isCheckedNode: O,
2652
- currentState: F,
2653
- isInteractive: I,
2654
- shouldHideIcon: !!x && I,
2652
+ currentState: I,
2653
+ isInteractive: T,
2654
+ shouldHideIcon: !!x && T,
2655
2655
  // Классы
2656
2656
  wrapperClasses: R,
2657
- iconWrapperClasses: T,
2657
+ iconWrapperClasses: D,
2658
2658
  // Стили
2659
- inlineStyles: D,
2659
+ inlineStyles: A,
2660
2660
  // Обработчики
2661
2661
  handleMouseEnter: U,
2662
2662
  handleMouseLeave: N,
2663
- handleClick: A,
2664
- handleKeyDown: Y,
2663
+ handleClick: n1,
2664
+ handleKeyDown: K,
2665
2665
  // Badge
2666
- shouldShowBadge: q,
2666
+ shouldShowBadge: X,
2667
2667
  getBadgeSize: () => E && E.size === "extra-small" ? 8 : 16,
2668
2668
  // Accessibility
2669
2669
  getRole: () => {
@@ -2672,14 +2672,14 @@ const h7 = (t) => {
2672
2672
  return m ? "button" : "img";
2673
2673
  },
2674
2674
  getTabIndex: () => {
2675
- if (S !== void 0) return S;
2676
- if (t === "button" || m) return p || _ ? -1 : 0;
2675
+ if (B !== void 0) return B;
2676
+ if (t === "button" || m) return p || f ? -1 : 0;
2677
2677
  },
2678
2678
  needsKeyboardHandler: t !== "button" && (!!m || O),
2679
2679
  // Props
2680
2680
  buttonSpecificProps: t === "button" ? {
2681
2681
  type: "button",
2682
- disabled: p || _
2682
+ disabled: p || f
2683
2683
  } : {},
2684
2684
  // Другое
2685
2685
  iconSize: o
@@ -2697,36 +2697,36 @@ const h7 = (t) => {
2697
2697
  background: L = !1,
2698
2698
  shadow: v = !1,
2699
2699
  showBorder: d = !1,
2700
- borderStyle: f = "neutral",
2700
+ borderStyle: _ = "neutral",
2701
2701
  borderRadius: E,
2702
2702
  badge: h,
2703
2703
  checked: p = !1,
2704
- disabled: _ = !1,
2704
+ disabled: f = !1,
2705
2705
  loading: m = !1,
2706
2706
  onClick: w,
2707
2707
  onMouseEnter: u,
2708
2708
  onMouseLeave: k,
2709
2709
  className: b,
2710
- styles: S,
2710
+ styles: B,
2711
2711
  tabIndex: x,
2712
2712
  "data-testid": V,
2713
2713
  "aria-label": y,
2714
2714
  "aria-describedby": j,
2715
2715
  role: O,
2716
- ...F
2717
- }, I) => {
2716
+ ...I
2717
+ }, T) => {
2718
2718
  const Z = t || (w ? "button" : "div"), R = c6("icon"), {
2719
- checkedActive: T,
2720
- isCheckedNode: D,
2719
+ checkedActive: D,
2720
+ isCheckedNode: A,
2721
2721
  currentState: U,
2722
2722
  shouldHideIcon: N,
2723
- wrapperClasses: A,
2724
- iconWrapperClasses: Y,
2725
- inlineStyles: q,
2726
- handleMouseEnter: Q,
2727
- handleMouseLeave: d1,
2728
- handleClick: H1,
2729
- handleKeyDown: L1,
2723
+ wrapperClasses: n1,
2724
+ iconWrapperClasses: K,
2725
+ inlineStyles: X,
2726
+ handleMouseEnter: W,
2727
+ handleMouseLeave: J,
2728
+ handleClick: L1,
2729
+ handleKeyDown: p1,
2730
2730
  shouldShowBadge: h1,
2731
2731
  getBadgeSize: O1,
2732
2732
  getRole: R1,
@@ -2745,22 +2745,22 @@ const h7 = (t) => {
2745
2745
  background: L,
2746
2746
  shadow: v,
2747
2747
  showBorder: d,
2748
- borderStyle: f,
2748
+ borderStyle: _,
2749
2749
  borderRadius: E,
2750
2750
  badge: h,
2751
2751
  checked: p,
2752
- disabled: _,
2752
+ disabled: f,
2753
2753
  loading: m,
2754
2754
  onClick: w,
2755
2755
  onMouseEnter: u,
2756
2756
  onMouseLeave: k,
2757
2757
  className: b,
2758
- styles: S,
2758
+ styles: B,
2759
2759
  tabIndex: x,
2760
2760
  "aria-label": y,
2761
2761
  role: O
2762
2762
  }), r2 = () => {
2763
- var m1;
2763
+ var u1;
2764
2764
  if (m) {
2765
2765
  const N1 = $1 === 32 ? 48 : $1;
2766
2766
  return /* @__PURE__ */ r.jsx(
@@ -2776,13 +2776,13 @@ const h7 = (t) => {
2776
2776
  if (P1.isValidElement(o)) {
2777
2777
  const N1 = o;
2778
2778
  return P1.cloneElement(N1, {
2779
- className: x1(L2.icon, (m1 = N1.props) == null ? void 0 : m1.className),
2779
+ className: k1(w2.icon, (u1 = N1.props) == null ? void 0 : u1.className),
2780
2780
  "aria-hidden": N ? !0 : void 0
2781
2781
  });
2782
2782
  }
2783
2783
  return console.warn(
2784
2784
  "Icon component now only supports React elements (SVG icons). Use Icon.Category.Name components."
2785
- ), /* @__PURE__ */ r.jsx("div", { className: L2.icon, children: /* @__PURE__ */ r.jsx(
2785
+ ), /* @__PURE__ */ r.jsx("div", { className: w2.icon, children: /* @__PURE__ */ r.jsx(
2786
2786
  "svg",
2787
2787
  {
2788
2788
  width: "24",
@@ -2795,28 +2795,28 @@ const h7 = (t) => {
2795
2795
  children: /* @__PURE__ */ r.jsx("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" })
2796
2796
  }
2797
2797
  ) });
2798
- }, o2 = () => D && T ? /* @__PURE__ */ r.jsx("span", { className: L2.checkedOverlay, children: p }) : null, o1 = /* @__PURE__ */ r.jsxs("div", { className: Y, style: { position: "relative" }, children: [
2798
+ }, o2 = () => A && D ? /* @__PURE__ */ r.jsx("span", { className: w2.checkedOverlay, children: p }) : null, i1 = /* @__PURE__ */ r.jsxs("div", { className: K, style: { position: "relative" }, children: [
2799
2799
  r2(),
2800
2800
  o2()
2801
- ] }), i1 = {
2802
- ref: I,
2803
- className: A,
2804
- style: q,
2805
- onMouseEnter: Q,
2806
- onMouseLeave: d1,
2807
- onClick: H1,
2808
- onKeyDown: b1 ? L1 : void 0,
2801
+ ] }), l1 = {
2802
+ ref: T,
2803
+ className: n1,
2804
+ style: X,
2805
+ onMouseEnter: W,
2806
+ onMouseLeave: J,
2807
+ onClick: L1,
2808
+ onKeyDown: b1 ? p1 : void 0,
2809
2809
  "data-testid": V,
2810
2810
  "aria-label": y,
2811
2811
  "aria-describedby": j,
2812
2812
  // Используем aria-pressed для кнопок с состоянием toggle
2813
- "aria-pressed": D && (Z === "button" || w) ? T : void 0,
2814
- "aria-disabled": _ ? !0 : void 0,
2813
+ "aria-pressed": A && (Z === "button" || w) ? D : void 0,
2814
+ "aria-disabled": f ? !0 : void 0,
2815
2815
  "data-state": U,
2816
2816
  role: R1(),
2817
2817
  tabIndex: e1(),
2818
2818
  ...n2,
2819
- ...F
2819
+ ...I
2820
2820
  };
2821
2821
  if (h1 && L !== !1)
2822
2822
  return /* @__PURE__ */ r.jsx(
@@ -2827,11 +2827,11 @@ const h7 = (t) => {
2827
2827
  colorScheme: "red",
2828
2828
  position: "top-right",
2829
2829
  "data-testid": `${V || "icon"}-badge`,
2830
- children: /* @__PURE__ */ r.jsx(Z, { ...i1, children: o1 })
2830
+ children: /* @__PURE__ */ r.jsx(Z, { ...l1, children: i1 })
2831
2831
  }
2832
2832
  );
2833
2833
  if (h1 && L === !1) {
2834
- const m1 = /* @__PURE__ */ r.jsx(
2834
+ const u1 = /* @__PURE__ */ r.jsx(
2835
2835
  j2,
2836
2836
  {
2837
2837
  label: (h == null ? void 0 : h.size) !== "extra-small" ? h == null ? void 0 : h.value : void 0,
@@ -2839,12 +2839,12 @@ const h7 = (t) => {
2839
2839
  colorScheme: "red",
2840
2840
  position: "top-right",
2841
2841
  "data-testid": `${V || "icon"}-badge`,
2842
- children: o1
2842
+ children: i1
2843
2843
  }
2844
2844
  );
2845
- return /* @__PURE__ */ r.jsx(Z, { ...i1, children: m1 });
2845
+ return /* @__PURE__ */ r.jsx(Z, { ...l1, children: u1 });
2846
2846
  }
2847
- return /* @__PURE__ */ r.jsx(Z, { ...i1, children: o1 });
2847
+ return /* @__PURE__ */ r.jsx(Z, { ...l1, children: i1 });
2848
2848
  }
2849
2849
  );
2850
2850
  j9.displayName = "Icon";
@@ -3293,7 +3293,7 @@ j1.Private = _l;
3293
3293
  j1.Development = El;
3294
3294
  j1.Product = kl;
3295
3295
  j1.Service = Ml;
3296
- const Md = {}, xl = "_tag_1llsi_1", Hl = "_label_1llsi_16", bl = "_iconWrapper_1llsi_20", Zl = "_medium_1llsi_27", Vl = "_large_1llsi_33", yl = "_disabled_1llsi_43", Sl = "_neutral_1llsi_47", Bl = "_positive_1llsi_53", jl = "_negative_1llsi_59", Ol = "_warning_1llsi_65", Rl = "_vivid_1llsi_71", Wl = "_special_1llsi_77", Fl = "_accent_1llsi_84", Il = "_blue_1llsi_90", Tl = "_lovely_1llsi_96", Dl = "_dreamy_1llsi_102", U1 = {
3296
+ const bd = {}, xl = "_tag_1llsi_1", Hl = "_label_1llsi_16", bl = "_iconWrapper_1llsi_20", Zl = "_medium_1llsi_27", Vl = "_large_1llsi_33", yl = "_disabled_1llsi_43", Sl = "_neutral_1llsi_47", Bl = "_positive_1llsi_53", jl = "_negative_1llsi_59", Ol = "_warning_1llsi_65", Rl = "_vivid_1llsi_71", Wl = "_special_1llsi_77", Fl = "_accent_1llsi_84", Il = "_blue_1llsi_90", Tl = "_lovely_1llsi_96", Dl = "_dreamy_1llsi_102", U1 = {
3297
3297
  tag: xl,
3298
3298
  label: Hl,
3299
3299
  iconWrapper: bl,
@@ -3310,7 +3310,7 @@ const Md = {}, xl = "_tag_1llsi_1", Hl = "_label_1llsi_16", bl = "_iconWrapper_1
3310
3310
  blue: Il,
3311
3311
  lovely: Tl,
3312
3312
  dreamy: Dl
3313
- }, xd = r1((t, o) => {
3313
+ }, Zd = o1((t, o) => {
3314
3314
  const {
3315
3315
  className: i,
3316
3316
  children: C,
@@ -3321,10 +3321,10 @@ const Md = {}, xl = "_tag_1llsi_1", Hl = "_label_1llsi_16", bl = "_iconWrapper_1
3321
3321
  slotStart: L,
3322
3322
  slotEnd: v,
3323
3323
  slotStartWrapperProps: d = {},
3324
- slotEndWrapperProps: f = {},
3324
+ slotEndWrapperProps: _ = {},
3325
3325
  "data-testid": E,
3326
3326
  ...h
3327
- } = t, { className: p, ..._ } = d, { className: m, ...w } = f;
3327
+ } = t, { className: p, ...f } = d, { className: m, ...w } = _;
3328
3328
  return /* @__PURE__ */ r.jsxs(
3329
3329
  "div",
3330
3330
  {
@@ -3334,8 +3334,8 @@ const Md = {}, xl = "_tag_1llsi_1", Hl = "_label_1llsi_16", bl = "_iconWrapper_1
3334
3334
  U1[s],
3335
3335
  {
3336
3336
  [U1.disabled]: c,
3337
- [a1["typography-label-3-regular"]]: l === "medium",
3338
- [a1["typography-subtitle-1-semibold"]]: l === "large"
3337
+ [s1["typography-label-3-regular"]]: l === "medium",
3338
+ [s1["typography-subtitle-1-semibold"]]: l === "large"
3339
3339
  },
3340
3340
  i
3341
3341
  ),
@@ -3343,7 +3343,7 @@ const Md = {}, xl = "_tag_1llsi_1", Hl = "_label_1llsi_16", bl = "_iconWrapper_1
3343
3343
  ref: o,
3344
3344
  ...h,
3345
3345
  children: [
3346
- L && /* @__PURE__ */ r.jsx("span", { className: H([U1.iconWrapper, p]), ..._, children: L }),
3346
+ L && /* @__PURE__ */ r.jsx("span", { className: H([U1.iconWrapper, p]), ...f, children: L }),
3347
3347
  g && /* @__PURE__ */ r.jsx("span", { className: H([U1.label]), children: C }),
3348
3348
  v && /* @__PURE__ */ r.jsx("span", { className: H([U1.iconWrapper, m]), ...w, children: v })
3349
3349
  ]
@@ -3433,7 +3433,7 @@ const Md = {}, xl = "_tag_1llsi_1", Hl = "_label_1llsi_16", bl = "_iconWrapper_1
3433
3433
  children: C ? /* @__PURE__ */ r.jsx(Kl, { width: l, height: c }) : /* @__PURE__ */ r.jsx(Yl, { width: l, height: c })
3434
3434
  }
3435
3435
  );
3436
- }, Hd = r1((t, o) => {
3436
+ }, Vd = o1((t, o) => {
3437
3437
  const {
3438
3438
  name: i,
3439
3439
  value: C,
@@ -3444,28 +3444,28 @@ const Md = {}, xl = "_tag_1llsi_1", Hl = "_label_1llsi_16", bl = "_iconWrapper_1
3444
3444
  disabled: L = !1,
3445
3445
  containerClassName: v,
3446
3446
  className: d,
3447
- containerStyle: f,
3447
+ containerStyle: _,
3448
3448
  style: E,
3449
3449
  children: h,
3450
3450
  clickableLabel: p = !0,
3451
- tabIndex: _,
3451
+ tabIndex: f,
3452
3452
  onChange: m,
3453
3453
  onClick: w,
3454
3454
  "data-testid": u = "checkbox"
3455
- } = t, [k, b] = c1(!1), S = C ?? k, x = L || c, V = !!g, y = S || l, j = H(T1.container, T1[s], v), O = H(
3455
+ } = t, [k, b] = d1(!1), B = C ?? k, x = L || c, V = !!g, y = B || l, j = H(T1.container, T1[s], v), O = H(
3456
3456
  T1.checkbox,
3457
3457
  T1[s],
3458
3458
  {
3459
3459
  [T1.error]: V
3460
3460
  },
3461
3461
  d
3462
- ), F = (R) => {
3462
+ ), I = (R) => {
3463
3463
  x || (b(R.target.checked), m == null || m(R.target.checked, R));
3464
- }, I = (R) => {
3464
+ }, T = (R) => {
3465
3465
  if (R.key === "Enter" && !x) {
3466
3466
  R.preventDefault();
3467
- const T = !y;
3468
- b(T), m == null || m(T);
3467
+ const D = !y;
3468
+ b(D), m == null || m(D);
3469
3469
  }
3470
3470
  }, Z = (R) => {
3471
3471
  p || R.preventDefault(), w == null || w(R);
@@ -3475,17 +3475,17 @@ const Md = {}, xl = "_tag_1llsi_1", Hl = "_label_1llsi_16", bl = "_iconWrapper_1
3475
3475
  {
3476
3476
  className: j,
3477
3477
  htmlFor: i,
3478
- style: f,
3478
+ style: _,
3479
3479
  "data-testid": u,
3480
3480
  "data-clickable-label": p,
3481
3481
  children: [
3482
3482
  /* @__PURE__ */ r.jsx("div", { className: T1.checkboxWrapper, children: /* @__PURE__ */ r.jsxs(
3483
3483
  "div",
3484
3484
  {
3485
- tabIndex: _ || 0,
3485
+ tabIndex: f || 0,
3486
3486
  className: O,
3487
3487
  style: E,
3488
- onKeyDown: I,
3488
+ onKeyDown: T,
3489
3489
  "aria-checked": y,
3490
3490
  "aria-disabled": x,
3491
3491
  "aria-invalid": V,
@@ -3502,7 +3502,7 @@ const Md = {}, xl = "_tag_1llsi_1", Hl = "_label_1llsi_16", bl = "_iconWrapper_1
3502
3502
  checked: y,
3503
3503
  disabled: x,
3504
3504
  className: T1.input,
3505
- onChange: F,
3505
+ onChange: I,
3506
3506
  "aria-checked": y,
3507
3507
  "aria-invalid": V,
3508
3508
  "aria-describedby": g ? `${i}-error` : void 0,
@@ -3655,8 +3655,8 @@ const Md = {}, xl = "_tag_1llsi_1", Hl = "_label_1llsi_16", bl = "_iconWrapper_1
3655
3655
  }
3656
3656
  );
3657
3657
  }, PC = (t, o) => {
3658
- const i = u1(null), C = u1(null);
3659
- return J(() => {
3658
+ const i = v1(null), C = v1(null);
3659
+ return Q(() => {
3660
3660
  const s = o === "textarea" ? i.current : C.current;
3661
3661
  s && s.value !== t && (s.value = t || "");
3662
3662
  }, [t, o]), {
@@ -3674,17 +3674,17 @@ const Md = {}, xl = "_tag_1llsi_1", Hl = "_label_1llsi_16", bl = "_iconWrapper_1
3674
3674
  const c = i.current.closest(`.${z.wrapper}`);
3675
3675
  c && (c.setAttribute("data-resize", "hug"), c.setAttribute("data-show-grip", "false"));
3676
3676
  };
3677
- return J(C, [t, o]), J(() => {
3677
+ return Q(C, [t, o]), Q(() => {
3678
3678
  o === "hug" && i.current && C();
3679
3679
  }, []), { resizeTextArea: C };
3680
- }, NC = (t, o, i, C) => ({ handleGripMouseDown: k1(
3680
+ }, NC = (t, o, i, C) => ({ handleGripMouseDown: x1(
3681
3681
  (l) => {
3682
3682
  if (!t || o || i || !(C === "fixed" || !C)) return;
3683
3683
  l.preventDefault(), l.stopPropagation();
3684
3684
  const c = l.currentTarget.closest(`.${z.wrapper}`);
3685
3685
  if (!c) return;
3686
- const g = l.clientY, L = c.clientHeight, v = (f) => {
3687
- const E = f.clientY - g, h = Math.min(100, L), p = Math.max(h, L + E);
3686
+ const g = l.clientY, L = c.clientHeight, v = (_) => {
3687
+ const E = _.clientY - g, h = Math.min(100, L), p = Math.max(h, L + E);
3688
3688
  c.style.height = `${p}px`;
3689
3689
  }, d = () => {
3690
3690
  document.removeEventListener("mousemove", v), document.removeEventListener("mouseup", d);
@@ -3692,7 +3692,7 @@ const Md = {}, xl = "_tag_1llsi_1", Hl = "_label_1llsi_16", bl = "_iconWrapper_1
3692
3692
  document.addEventListener("mousemove", v), document.addEventListener("mouseup", d);
3693
3693
  },
3694
3694
  [t, o, i, C]
3695
- ) }), m9 = 30, zC = r1(
3695
+ ) }), m9 = 30, zC = o1(
3696
3696
  ({
3697
3697
  component: t = "input",
3698
3698
  size: o = "L",
@@ -3705,19 +3705,19 @@ const Md = {}, xl = "_tag_1llsi_1", Hl = "_label_1llsi_16", bl = "_iconWrapper_1
3705
3705
  onChange: L,
3706
3706
  onKeyDown: v,
3707
3707
  onKeyUp: d,
3708
- maxLength: f,
3708
+ maxLength: _,
3709
3709
  className: E,
3710
3710
  style: h,
3711
3711
  truncate: p = !1,
3712
- shouldShowFloatingLabelClass: _ = !1,
3712
+ shouldShowFloatingLabelClass: f = !1,
3713
3713
  "aria-invalid": m,
3714
3714
  "aria-errormessage": w,
3715
3715
  id: u,
3716
3716
  resize: k,
3717
3717
  ...b
3718
- }, S) => {
3718
+ }, B) => {
3719
3719
  const { textareaRef: x, inputRef: V, currentRef: y } = PC(i, t);
3720
- if ($C(i, k, x), c3(S, () => y.current, [y]), t === "textarea")
3720
+ if ($C(i, k, x), c3(B, () => y.current, [y]), t === "textarea")
3721
3721
  return /* @__PURE__ */ r.jsx(
3722
3722
  "textarea",
3723
3723
  {
@@ -3731,11 +3731,11 @@ const Md = {}, xl = "_tag_1llsi_1", Hl = "_label_1llsi_16", bl = "_iconWrapper_1
3731
3731
  onChange: L,
3732
3732
  onKeyDown: v,
3733
3733
  onKeyUp: d,
3734
- maxLength: f,
3734
+ maxLength: _,
3735
3735
  className: H(
3736
3736
  z.textarea,
3737
3737
  z[`size-${o}`],
3738
- _ && z["with-floating-label"],
3738
+ f && z["with-floating-label"],
3739
3739
  E
3740
3740
  ),
3741
3741
  style: h,
@@ -3761,11 +3761,11 @@ const Md = {}, xl = "_tag_1llsi_1", Hl = "_label_1llsi_16", bl = "_iconWrapper_1
3761
3761
  onChange: L,
3762
3762
  onKeyDown: v,
3763
3763
  onKeyUp: d,
3764
- maxLength: f,
3764
+ maxLength: _,
3765
3765
  className: H(
3766
3766
  z.input,
3767
3767
  z[`size-${o}`],
3768
- _ && z["with-floating-label"],
3768
+ f && z["with-floating-label"],
3769
3769
  p && z.truncate,
3770
3770
  E
3771
3771
  ),
@@ -3782,7 +3782,7 @@ const Md = {}, xl = "_tag_1llsi_1", Hl = "_label_1llsi_16", bl = "_iconWrapper_1
3782
3782
  `[Input] Недопустимое значение prop 'component': "${String(t)}". Допустимые значения: 'input', 'textarea'`
3783
3783
  ), null;
3784
3784
  }
3785
- ), R9 = r1(
3785
+ ), R9 = o1(
3786
3786
  ({
3787
3787
  children: t,
3788
3788
  size: o = "L",
@@ -3795,28 +3795,28 @@ const Md = {}, xl = "_tag_1llsi_1", Hl = "_label_1llsi_16", bl = "_iconWrapper_1
3795
3795
  floatingLabelStyles: L,
3796
3796
  prefixStyles: v,
3797
3797
  suffixStyles: d,
3798
- labelProps: f,
3798
+ labelProps: _,
3799
3799
  helperProps: E,
3800
3800
  showLimit: h = !1,
3801
3801
  maxLength: p,
3802
- hint: _,
3802
+ hint: f,
3803
3803
  showHint: m = !1,
3804
3804
  showHintOnEmpty: w = !1,
3805
3805
  prefix: u,
3806
3806
  suffix: k,
3807
3807
  onSuffixClick: b,
3808
- placeholder: S,
3808
+ placeholder: B,
3809
3809
  showLabel: x = !0,
3810
3810
  labelClassName: V,
3811
3811
  hasValue: y = !1,
3812
3812
  helper: j,
3813
3813
  id: O,
3814
- value: F = "",
3815
- resize: I,
3814
+ value: I = "",
3815
+ resize: T,
3816
3816
  showGrip: Z = !1,
3817
3817
  ...R
3818
- }, T) => {
3819
- const D = F2(), U = O || D, N = m && _ && (y || w), A = _ && _.length > m9 ? _.substring(0, m9) + "..." : _, Y = H(
3818
+ }, D) => {
3819
+ const A = F2(), U = O || A, N = m && f && (y || w), n1 = f && f.length > m9 ? f.substring(0, m9) + "..." : f, K = H(
3820
3820
  z.wrapper,
3821
3821
  z[`size-${o}`],
3822
3822
  i && z.error,
@@ -3826,19 +3826,19 @@ const Md = {}, xl = "_tag_1llsi_1", Hl = "_label_1llsi_16", bl = "_iconWrapper_1
3826
3826
  k && z["has-suffix"],
3827
3827
  h && z["has-limit"],
3828
3828
  l
3829
- ), q = H(
3829
+ ), X = H(
3830
3830
  z.floatingLabel,
3831
3831
  z[o],
3832
3832
  y && z.filled,
3833
3833
  V
3834
- ), { handleGripMouseDown: Q } = NC(Z, C, s, I);
3835
- return /* @__PURE__ */ r.jsxs("div", { ref: T, className: z.inputBase, "data-testid": "input-base-wrapper", ...R, children: [
3834
+ ), { handleGripMouseDown: W } = NC(Z, C, s, T);
3835
+ return /* @__PURE__ */ r.jsxs("div", { ref: D, className: z.inputBase, "data-testid": "input-base-wrapper", ...R, children: [
3836
3836
  /* @__PURE__ */ r.jsxs(
3837
3837
  "div",
3838
3838
  {
3839
- className: Y,
3839
+ className: K,
3840
3840
  style: g,
3841
- "data-resize": I,
3841
+ "data-resize": T,
3842
3842
  "data-show-grip": Z ? "true" : "false",
3843
3843
  ...c,
3844
3844
  children: [
@@ -3853,22 +3853,22 @@ const Md = {}, xl = "_tag_1llsi_1", Hl = "_label_1llsi_16", bl = "_iconWrapper_1
3853
3853
  children: k
3854
3854
  }
3855
3855
  ),
3856
- S && x && /* @__PURE__ */ r.jsx(
3856
+ B && x && /* @__PURE__ */ r.jsx(
3857
3857
  "label",
3858
3858
  {
3859
3859
  htmlFor: U,
3860
- className: q,
3860
+ className: X,
3861
3861
  style: L,
3862
- ...f,
3863
- children: S
3862
+ ..._,
3863
+ children: B
3864
3864
  }
3865
3865
  ),
3866
3866
  t,
3867
- Z && !h && (I === "fixed" || !I) && /* @__PURE__ */ r.jsx(
3867
+ Z && !h && (T === "fixed" || !T) && /* @__PURE__ */ r.jsx(
3868
3868
  "div",
3869
3869
  {
3870
3870
  className: z.gripHandle,
3871
- onMouseDown: Q,
3871
+ onMouseDown: W,
3872
3872
  role: "button",
3873
3873
  tabIndex: -1,
3874
3874
  "aria-label": "Изменить размер",
@@ -3880,11 +3880,11 @@ const Md = {}, xl = "_tag_1llsi_1", Hl = "_label_1llsi_16", bl = "_iconWrapper_1
3880
3880
  {
3881
3881
  className: H(z.hint, y && z.truncate),
3882
3882
  "data-disabled": C || s,
3883
- children: A
3883
+ children: n1
3884
3884
  }
3885
3885
  ),
3886
3886
  h && p && /* @__PURE__ */ r.jsxs("div", { className: z.characterLimit, children: [
3887
- (F || "").length,
3887
+ (I || "").length,
3888
3888
  " из ",
3889
3889
  p
3890
3890
  ] })
@@ -3910,7 +3910,7 @@ const Md = {}, xl = "_tag_1llsi_1", Hl = "_label_1llsi_16", bl = "_iconWrapper_1
3910
3910
  R9.displayName = "InputWrapperComponent";
3911
3911
  const p9 = Object.assign(zC, {
3912
3912
  Wrapper: R9
3913
- }), W9 = r1(
3913
+ }), W9 = o1(
3914
3914
  ({
3915
3915
  component: t = "input",
3916
3916
  size: o = "L",
@@ -3923,83 +3923,83 @@ const p9 = Object.assign(zC, {
3923
3923
  labelClassName: L,
3924
3924
  helper: v,
3925
3925
  prefix: d,
3926
- suffix: f,
3926
+ suffix: _,
3927
3927
  id: E,
3928
3928
  onFocus: h,
3929
3929
  onBlur: p,
3930
- onKeyDown: _,
3930
+ onKeyDown: f,
3931
3931
  onSuffixClick: m,
3932
3932
  onChange: w,
3933
3933
  value: u = "",
3934
3934
  wrapperProps: k,
3935
3935
  wrapperStyles: b,
3936
- floatingLabelStyles: S,
3936
+ floatingLabelStyles: B,
3937
3937
  prefixStyles: x,
3938
3938
  suffixStyles: V,
3939
3939
  textareaStyles: y,
3940
3940
  labelProps: j,
3941
3941
  helperProps: O,
3942
- showLimit: F = !1,
3943
- maxLength: I,
3942
+ showLimit: I = !1,
3943
+ maxLength: T,
3944
3944
  inputProps: Z,
3945
3945
  hint: R,
3946
- showHint: T = !1,
3947
- showHintOnEmpty: D = !1,
3946
+ showHint: D = !1,
3947
+ showHintOnEmpty: A = !1,
3948
3948
  truncate: U = !1,
3949
3949
  resize: N,
3950
- showGrip: A = !1,
3951
- ...Y
3952
- }, q) => {
3953
- const Q = F2(), d1 = E || Q, [H1, L1] = c1(u), h1 = u !== void 0 ? u : H1, O1 = (h1 || "").length > 0, R1 = h1 || "", b1 = g && (o === "XL" || t === "textarea") && !d, n2 = k1(
3954
- (o1) => {
3955
- var i1;
3956
- s || l || (h == null || h(), (i1 = Z == null ? void 0 : Z.onFocus) == null || i1.call(
3950
+ showGrip: n1 = !1,
3951
+ ...K
3952
+ }, X) => {
3953
+ const W = F2(), J = E || W, [L1, p1] = d1(u), h1 = u !== void 0 ? u : L1, O1 = (h1 || "").length > 0, R1 = h1 || "", b1 = g && (o === "XL" || t === "textarea") && !d, n2 = x1(
3954
+ (i1) => {
3955
+ var l1;
3956
+ s || l || (h == null || h(), (l1 = Z == null ? void 0 : Z.onFocus) == null || l1.call(
3957
3957
  Z,
3958
- o1
3958
+ i1
3959
3959
  ));
3960
3960
  },
3961
3961
  [h, Z, s, l]
3962
- ), $1 = k1(
3963
- (o1) => {
3964
- var i1;
3965
- if (o1.key === "Tab") {
3966
- const m1 = o1.target.closest(`.${z.wrapper}`);
3967
- m1 && m1.classList.add(z.tabFocused);
3962
+ ), $1 = x1(
3963
+ (i1) => {
3964
+ var l1;
3965
+ if (i1.key === "Tab") {
3966
+ const u1 = i1.target.closest(`.${z.wrapper}`);
3967
+ u1 && u1.classList.add(z.tabFocused);
3968
3968
  }
3969
- (i1 = Z == null ? void 0 : Z.onKeyUp) == null || i1.call(
3969
+ (l1 = Z == null ? void 0 : Z.onKeyUp) == null || l1.call(
3970
3970
  Z,
3971
- o1
3971
+ i1
3972
3972
  );
3973
3973
  },
3974
3974
  [Z]
3975
- ), r2 = k1(
3976
- (o1) => {
3977
- var m1;
3978
- const i1 = o1.target.closest(`.${z.wrapper}`);
3979
- i1 && i1.classList.remove(z.tabFocused), p == null || p(), (m1 = Z == null ? void 0 : Z.onBlur) == null || m1.call(
3975
+ ), r2 = x1(
3976
+ (i1) => {
3977
+ var u1;
3978
+ const l1 = i1.target.closest(`.${z.wrapper}`);
3979
+ l1 && l1.classList.remove(z.tabFocused), p == null || p(), (u1 = Z == null ? void 0 : Z.onBlur) == null || u1.call(
3980
3980
  Z,
3981
- o1
3981
+ i1
3982
3982
  );
3983
3983
  },
3984
3984
  [p, Z]
3985
- ), o2 = k1(
3986
- (o1) => {
3987
- var m1;
3985
+ ), o2 = x1(
3986
+ (i1) => {
3987
+ var u1;
3988
3988
  if (s || l) return;
3989
- const i1 = o1.target.value;
3990
- L1(i1), w == null || w(i1, o1), (m1 = Z == null ? void 0 : Z.onChange) == null || m1.call(
3989
+ const l1 = i1.target.value;
3990
+ p1(l1), w == null || w(l1, i1), (u1 = Z == null ? void 0 : Z.onChange) == null || u1.call(
3991
3991
  Z,
3992
- o1
3992
+ i1
3993
3993
  );
3994
3994
  },
3995
3995
  [w, Z, s, l]
3996
3996
  );
3997
- return J(() => {
3998
- L1(u || "");
3997
+ return Q(() => {
3998
+ p1(u || "");
3999
3999
  }, [u]), /* @__PURE__ */ r.jsx(
4000
4000
  p9.Wrapper,
4001
4001
  {
4002
- ref: q,
4002
+ ref: X,
4003
4003
  size: o,
4004
4004
  error: C,
4005
4005
  disabled: s || l,
@@ -4007,29 +4007,29 @@ const p9 = Object.assign(zC, {
4007
4007
  className: H(i, t === "textarea" && z["textarea-wrapper"]),
4008
4008
  wrapperProps: k,
4009
4009
  wrapperStyles: b,
4010
- floatingLabelStyles: S,
4010
+ floatingLabelStyles: B,
4011
4011
  prefixStyles: x,
4012
4012
  suffixStyles: V,
4013
4013
  labelProps: j,
4014
4014
  helperProps: O,
4015
- showLimit: F,
4016
- maxLength: I,
4015
+ showLimit: I,
4016
+ maxLength: T,
4017
4017
  hint: R,
4018
- showHint: T,
4019
- showHintOnEmpty: D,
4018
+ showHint: D,
4019
+ showHintOnEmpty: A,
4020
4020
  prefix: d,
4021
- suffix: f,
4021
+ suffix: _,
4022
4022
  onSuffixClick: m,
4023
4023
  placeholder: c,
4024
4024
  showLabel: g,
4025
4025
  labelClassName: L,
4026
4026
  hasValue: O1,
4027
4027
  helper: v,
4028
- id: d1,
4028
+ id: J,
4029
4029
  value: R1,
4030
- showGrip: A,
4030
+ showGrip: n1,
4031
4031
  resize: N,
4032
- ...Y,
4032
+ ...K,
4033
4033
  children: /* @__PURE__ */ r.jsx(
4034
4034
  p9,
4035
4035
  {
@@ -4042,16 +4042,16 @@ const p9 = Object.assign(zC, {
4042
4042
  onFocus: n2,
4043
4043
  onBlur: r2,
4044
4044
  onChange: o2,
4045
- onKeyDown: _,
4045
+ onKeyDown: f,
4046
4046
  onKeyUp: $1,
4047
- maxLength: I,
4047
+ maxLength: T,
4048
4048
  truncate: U,
4049
4049
  "data-empty": !O1,
4050
4050
  shouldShowFloatingLabelClass: b1,
4051
4051
  style: t === "textarea" ? y : void 0,
4052
4052
  "aria-invalid": !!C,
4053
- "aria-errormessage": C ? `${d1}-error` : void 0,
4054
- id: d1,
4053
+ "aria-errormessage": C ? `${J}-error` : void 0,
4054
+ id: J,
4055
4055
  resize: N,
4056
4056
  ...Z
4057
4057
  }
@@ -4216,7 +4216,7 @@ const p9 = Object.assign(zC, {
4216
4216
  suffixStyles: {}
4217
4217
  };
4218
4218
  }
4219
- }, bd = r1(
4219
+ }, yd = o1(
4220
4220
  ({
4221
4221
  value: t = "",
4222
4222
  onChange: o,
@@ -4229,33 +4229,33 @@ const p9 = Object.assign(zC, {
4229
4229
  size: L = t1.L,
4230
4230
  inputProps: v,
4231
4231
  error: d,
4232
- disabled: f,
4232
+ disabled: _,
4233
4233
  loading: E,
4234
4234
  helper: h,
4235
4235
  prefix: p,
4236
- suffix: _,
4236
+ suffix: f,
4237
4237
  clearable: m = !1,
4238
4238
  id: w,
4239
4239
  showLabel: u = !0,
4240
4240
  onFocus: k,
4241
4241
  onBlur: b,
4242
- onSuffixClick: S,
4242
+ onSuffixClick: B,
4243
4243
  onClear: x,
4244
4244
  className: V,
4245
4245
  truncate: y = !0,
4246
4246
  hint: j,
4247
4247
  showHint: O = !1,
4248
- showHintOnEmpty: F = !1,
4249
- wrapperProps: I,
4248
+ showHintOnEmpty: I = !1,
4249
+ wrapperProps: T,
4250
4250
  labelProps: Z,
4251
4251
  helperProps: R,
4252
- ...T
4253
- }, D) => {
4254
- const U = (t || "").length > 0, N = L === t1.XL, A = !!p, Y = N && u && !p, q = m && U && !(f || E), Q = () => {
4252
+ ...D
4253
+ }, A) => {
4254
+ const U = (t || "").length > 0, N = L === t1.XL, n1 = !!p, K = N && u && !p, X = m && U && !(_ || E), W = () => {
4255
4255
  o == null || o(""), x == null || x();
4256
- }, d1 = () => {
4257
- q && Q(), S == null || S();
4258
- }, H1 = q ? /* @__PURE__ */ r.jsx(
4256
+ }, J = () => {
4257
+ X && W(), B == null || B();
4258
+ }, L1 = X ? /* @__PURE__ */ r.jsx(
4259
4259
  D2,
4260
4260
  {
4261
4261
  size: L === t1.S || L === t1.M ? "xs" : "sm",
@@ -4263,28 +4263,28 @@ const p9 = Object.assign(zC, {
4263
4263
  style: { cursor: "pointer" },
4264
4264
  "data-testid": "x-icon"
4265
4265
  }
4266
- ) : _, L1 = {
4266
+ ) : f, p1 = {
4267
4267
  type: i,
4268
4268
  minLength: l,
4269
4269
  autoComplete: c,
4270
4270
  autoFocus: g,
4271
4271
  ...v
4272
- }, h1 = ea(L, Y, U, A);
4272
+ }, h1 = ea(L, K, U, n1);
4273
4273
  return /* @__PURE__ */ r.jsx(
4274
4274
  W9,
4275
4275
  {
4276
4276
  size: L,
4277
4277
  error: d,
4278
- disabled: f || E,
4278
+ disabled: _ || E,
4279
4279
  loading: E,
4280
4280
  helper: h,
4281
4281
  prefix: p,
4282
- suffix: H1,
4282
+ suffix: L1,
4283
4283
  id: w,
4284
- showLabel: Y,
4284
+ showLabel: K,
4285
4285
  onFocus: k,
4286
4286
  onBlur: b,
4287
- onSuffixClick: d1,
4287
+ onSuffixClick: J,
4288
4288
  onChange: o,
4289
4289
  value: t,
4290
4290
  placeholder: C,
@@ -4293,30 +4293,30 @@ const p9 = Object.assign(zC, {
4293
4293
  floatingLabelStyles: h1.floatingLabelStyles,
4294
4294
  prefixStyles: h1.prefixStyles,
4295
4295
  suffixStyles: h1.suffixStyles,
4296
- wrapperProps: I,
4296
+ wrapperProps: T,
4297
4297
  labelProps: Z,
4298
4298
  helperProps: R,
4299
4299
  showLimit: !1,
4300
4300
  maxLength: s,
4301
- inputProps: L1,
4301
+ inputProps: p1,
4302
4302
  hint: j,
4303
4303
  showHint: O,
4304
- showHintOnEmpty: F,
4304
+ showHintOnEmpty: I,
4305
4305
  truncate: y,
4306
- ...T
4306
+ ...D
4307
4307
  }
4308
4308
  );
4309
4309
  }
4310
- ), M1 = {
4310
+ ), H1 = {
4311
4311
  M: "M",
4312
4312
  L: "L"
4313
- }, w2 = {
4313
+ }, v2 = {
4314
4314
  M: "12px",
4315
4315
  L: "16px"
4316
4316
  }, ta = {
4317
4317
  M: "xs",
4318
4318
  L: "sm"
4319
- }, m2 = {
4319
+ }, p2 = {
4320
4320
  FILL: "fill",
4321
4321
  FIXED: "fixed"
4322
4322
  }, V2 = {
@@ -4335,18 +4335,18 @@ const p9 = Object.assign(zC, {
4335
4335
  L: 56,
4336
4336
  XL: 112
4337
4337
  }, na = (t, o) => {
4338
- if (t === M1.M)
4338
+ if (t === H1.M)
4339
4339
  return V2.M;
4340
4340
  if (o)
4341
4341
  return `${o}px`;
4342
4342
  switch (t) {
4343
- case M1.L:
4343
+ case H1.L:
4344
4344
  return V2.L;
4345
4345
  default:
4346
4346
  return V2.L;
4347
4347
  }
4348
4348
  }, ra = (t, o) => {
4349
- if (t === M1.M)
4349
+ if (t === H1.M)
4350
4350
  return J1.M;
4351
4351
  if (o)
4352
4352
  switch (o) {
@@ -4359,13 +4359,13 @@ const p9 = Object.assign(zC, {
4359
4359
  return J1.L;
4360
4360
  }
4361
4361
  switch (t) {
4362
- case M1.L:
4362
+ case H1.L:
4363
4363
  return J1.L;
4364
4364
  default:
4365
4365
  return J1.L;
4366
4366
  }
4367
4367
  }, oa = (t, o, i) => {
4368
- if (t === M1.M)
4368
+ if (t === H1.M)
4369
4369
  return I1.M;
4370
4370
  if (o)
4371
4371
  switch (o) {
@@ -4379,13 +4379,13 @@ const p9 = Object.assign(zC, {
4379
4379
  return I1.L;
4380
4380
  }
4381
4381
  switch (t) {
4382
- case M1.L:
4382
+ case H1.L:
4383
4383
  return i ? I1.L_FLOATING_LABEL : I1.L;
4384
4384
  default:
4385
4385
  return I1.L;
4386
4386
  }
4387
4387
  }, ia = (t, o) => {
4388
- if (t === M1.M)
4388
+ if (t === H1.M)
4389
4389
  return "M";
4390
4390
  if (o)
4391
4391
  switch (o) {
@@ -4399,37 +4399,37 @@ const p9 = Object.assign(zC, {
4399
4399
  return "L";
4400
4400
  }
4401
4401
  return t;
4402
- }, la = (t) => ta[t], Ca = (t) => w2[t], aa = (t, o, i, C) => {
4402
+ }, la = (t) => ta[t], Ca = (t) => v2[t], aa = (t, o, i, C) => {
4403
4403
  const s = na(t, o), l = ra(t, o), c = oa(t, o, i);
4404
4404
  return {
4405
4405
  wrapperStyles: {
4406
4406
  minHeight: s,
4407
4407
  // Для fill resize устанавливаем height: 100%
4408
- ...C === m2.FILL && { height: "100%" },
4408
+ ...C === p2.FILL && { height: "100%" },
4409
4409
  // Для fixed resize устанавливаем фиксированную высоту
4410
- ...C === m2.FIXED && o && { height: s },
4410
+ ...C === p2.FIXED && o && { height: s },
4411
4411
  boxSizing: "border-box",
4412
4412
  padding: c
4413
4413
  },
4414
4414
  floatingLabelStyles: {
4415
- left: t === M1.M ? w2.M : w2.L,
4415
+ left: t === H1.M ? v2.M : v2.L,
4416
4416
  transformOrigin: "left top",
4417
- top: o === 112 && i && t === M1.L ? w2.L : void 0
4417
+ top: o === 112 && i && t === H1.L ? v2.L : void 0
4418
4418
  },
4419
4419
  suffixStyles: {
4420
4420
  right: Ca(t),
4421
- top: o === 48 && t === M1.L ? "11px" : void 0,
4421
+ top: o === 48 && t === H1.L ? "11px" : void 0,
4422
4422
  boxSizing: "border-box"
4423
4423
  },
4424
4424
  textareaStyles: {
4425
4425
  minHeight: l,
4426
4426
  // Для fill resize flex: 1
4427
- ...C === m2.FILL && { flex: 1, minHeight: 0 },
4427
+ ...C === p2.FILL && { flex: 1, minHeight: 0 },
4428
4428
  // Для fixed resize фиксированная высота
4429
- ...C === m2.FIXED && o && { height: l }
4429
+ ...C === p2.FIXED && o && { height: l }
4430
4430
  }
4431
4431
  };
4432
- }, Zd = r1(
4432
+ }, Sd = o1(
4433
4433
  ({
4434
4434
  value: t = "",
4435
4435
  onChange: o,
@@ -4437,36 +4437,36 @@ const p9 = Object.assign(zC, {
4437
4437
  maxLength: C,
4438
4438
  minLength: s,
4439
4439
  autoFocus: l,
4440
- size: c = M1.L,
4440
+ size: c = H1.L,
4441
4441
  textareaProps: g,
4442
4442
  error: L,
4443
4443
  disabled: v,
4444
4444
  loading: d,
4445
- helper: f,
4445
+ helper: _,
4446
4446
  suffix: E,
4447
4447
  clearable: h = !1,
4448
4448
  id: p,
4449
- showLabel: _ = !0,
4449
+ showLabel: f = !0,
4450
4450
  onFocus: m,
4451
4451
  onBlur: w,
4452
4452
  onClear: u,
4453
4453
  onKeyDown: k,
4454
4454
  className: b,
4455
- rows: S = 1,
4455
+ rows: B = 1,
4456
4456
  showLimit: x = !1,
4457
4457
  wrapperProps: V,
4458
4458
  labelProps: y,
4459
4459
  helperProps: j,
4460
4460
  showGrip: O,
4461
- minHeight: F,
4462
- resize: I,
4461
+ minHeight: I,
4462
+ resize: T,
4463
4463
  ...Z
4464
4464
  }, R) => {
4465
- const T = (t || "").length > 0, D = _ && !!i && (c === M1.M || F !== 48), U = h && T && !(v || d), N = () => {
4465
+ const D = (t || "").length > 0, A = f && !!i && (c === H1.M || I !== 48), U = h && D && !(v || d), N = () => {
4466
4466
  o == null || o(""), u == null || u();
4467
- }, A = () => {
4467
+ }, n1 = () => {
4468
4468
  U && N();
4469
- }, Y = U ? /* @__PURE__ */ r.jsx(
4469
+ }, K = U ? /* @__PURE__ */ r.jsx(
4470
4470
  D2,
4471
4471
  {
4472
4472
  size: la(c),
@@ -4474,11 +4474,11 @@ const p9 = Object.assign(zC, {
4474
4474
  style: { cursor: "pointer" },
4475
4475
  "data-testid": "x-icon"
4476
4476
  }
4477
- ) : E, q = aa(c, F, D && T, I), Q = ia(c, F), d1 = {
4478
- rows: S,
4477
+ ) : E, X = aa(c, I, A && D, T), W = ia(c, I), J = {
4478
+ rows: B,
4479
4479
  minLength: s,
4480
4480
  autoFocus: l,
4481
- resize: I,
4481
+ resize: T,
4482
4482
  ...g
4483
4483
  };
4484
4484
  return /* @__PURE__ */ r.jsx(
@@ -4486,15 +4486,15 @@ const p9 = Object.assign(zC, {
4486
4486
  {
4487
4487
  ref: R,
4488
4488
  component: "textarea",
4489
- size: Q,
4489
+ size: W,
4490
4490
  error: L,
4491
4491
  disabled: v || d,
4492
4492
  loading: d,
4493
- onSuffixClick: A,
4494
- helper: f,
4495
- suffix: Y,
4493
+ onSuffixClick: n1,
4494
+ helper: _,
4495
+ suffix: K,
4496
4496
  id: p,
4497
- showLabel: D,
4497
+ showLabel: A,
4498
4498
  onFocus: m,
4499
4499
  onBlur: w,
4500
4500
  onKeyDown: k,
@@ -4502,18 +4502,18 @@ const p9 = Object.assign(zC, {
4502
4502
  value: t || "",
4503
4503
  placeholder: i,
4504
4504
  className: b,
4505
- "data-floating-label": D,
4506
- wrapperStyles: q.wrapperStyles,
4507
- floatingLabelStyles: q.floatingLabelStyles,
4508
- suffixStyles: q.suffixStyles,
4509
- textareaStyles: q.textareaStyles,
4505
+ "data-floating-label": A,
4506
+ wrapperStyles: X.wrapperStyles,
4507
+ floatingLabelStyles: X.floatingLabelStyles,
4508
+ suffixStyles: X.suffixStyles,
4509
+ textareaStyles: X.textareaStyles,
4510
4510
  wrapperProps: V,
4511
4511
  labelProps: y,
4512
4512
  helperProps: j,
4513
- showLimit: x && (F === 112 || c === M1.M),
4513
+ showLimit: x && (I === 112 || c === H1.M),
4514
4514
  maxLength: C,
4515
- inputProps: d1,
4516
- resize: I,
4515
+ inputProps: J,
4516
+ resize: T,
4517
4517
  showGrip: O,
4518
4518
  ...Z
4519
4519
  }
@@ -4550,7 +4550,7 @@ const p9 = Object.assign(zC, {
4550
4550
  children: /* @__PURE__ */ r.jsx("p", { children: d })
4551
4551
  }
4552
4552
  );
4553
- }, da = "_radio_1n8zx_59", ha = "_checked_1n8zx_80", ga = "_error_1n8zx_85", ma = "_disabled_1n8zx_94", pa = "_icon_1n8zx_130", ua = "_small_1n8zx_138", La = "_medium_1n8zx_145", wa = "_large_1n8zx_152", va = "_label_1n8zx_159", fa = "_container_1n8zx_185", _a = "_input_1n8zx_198", Ea = "_card_1n8zx_205", ka = "_smallCard_1n8zx_211", Ma = "_mediumCard_1n8zx_215", xa = "_largeCard_1n8zx_219", E1 = {
4553
+ }, da = "_radio_1n8zx_59", ha = "_checked_1n8zx_80", ga = "_error_1n8zx_85", ma = "_disabled_1n8zx_94", pa = "_icon_1n8zx_130", ua = "_small_1n8zx_138", La = "_medium_1n8zx_145", wa = "_large_1n8zx_152", va = "_label_1n8zx_159", fa = "_container_1n8zx_185", _a = "_input_1n8zx_198", Ea = "_card_1n8zx_205", ka = "_smallCard_1n8zx_211", Ma = "_mediumCard_1n8zx_215", xa = "_largeCard_1n8zx_219", M1 = {
4554
4554
  default: "_default_1n8zx_53",
4555
4555
  radio: da,
4556
4556
  checked: ha,
@@ -4567,7 +4567,7 @@ const p9 = Object.assign(zC, {
4567
4567
  smallCard: ka,
4568
4568
  mediumCard: Ma,
4569
4569
  largeCard: xa
4570
- }, Ha = "radio-container-", ba = "radio-label", F9 = r1(
4570
+ }, Ha = "radio-container-", ba = "radio-label", F9 = o1(
4571
4571
  (t, o) => {
4572
4572
  const {
4573
4573
  name: i,
@@ -4579,44 +4579,44 @@ const p9 = Object.assign(zC, {
4579
4579
  disabled: L = !1,
4580
4580
  checked: v = !1,
4581
4581
  containerClassName: d,
4582
- className: f,
4582
+ className: _,
4583
4583
  children: E,
4584
4584
  clickable: h = "all",
4585
4585
  mode: p = "default",
4586
- tabIndex: _,
4586
+ tabIndex: f,
4587
4587
  style: m,
4588
4588
  containerStyle: w,
4589
4589
  onChange: u,
4590
4590
  "data-testid": k,
4591
4591
  ...b
4592
- } = t, S = !!g, x = L || c, V = h === "all", y = p === "card", j = E1[`${l}Card`], O = C ?? i, F = (D) => {
4593
- x || u == null || u(s, D);
4594
- }, I = (D) => {
4595
- D.key === "Enter" && !x && (D.preventDefault(), u == null || u(s));
4596
- }, Z = (D) => D.stopPropagation(), R = () => /* @__PURE__ */ r.jsxs(
4592
+ } = t, B = !!g, x = L || c, V = h === "all", y = p === "card", j = M1[`${l}Card`], O = C ?? i, I = (A) => {
4593
+ x || u == null || u(s, A);
4594
+ }, T = (A) => {
4595
+ A.key === "Enter" && !x && (A.preventDefault(), u == null || u(s));
4596
+ }, Z = (A) => A.stopPropagation(), R = () => /* @__PURE__ */ r.jsxs(
4597
4597
  "div",
4598
4598
  {
4599
4599
  className: H(
4600
- E1.radio,
4601
- E1[l],
4600
+ M1.radio,
4601
+ M1[l],
4602
4602
  {
4603
- [E1.checked]: v,
4604
- [E1.disabled]: x,
4605
- [E1.error]: S && !x
4603
+ [M1.checked]: v,
4604
+ [M1.disabled]: x,
4605
+ [M1.error]: B && !x
4606
4606
  },
4607
- f
4607
+ _
4608
4608
  ),
4609
4609
  style: m,
4610
- tabIndex: _ || 1,
4610
+ tabIndex: f || 1,
4611
4611
  "data-testid": `${Ha}${O}`,
4612
4612
  children: [
4613
4613
  /* @__PURE__ */ r.jsx(
4614
4614
  "input",
4615
4615
  {
4616
4616
  "aria-errormessage": g,
4617
- "aria-invalid": S,
4617
+ "aria-invalid": B,
4618
4618
  checked: v,
4619
- className: E1.input,
4619
+ className: M1.input,
4620
4620
  "data-testid": `radio-${O}`,
4621
4621
  disabled: x,
4622
4622
  id: O,
@@ -4624,14 +4624,14 @@ const p9 = Object.assign(zC, {
4624
4624
  ref: o,
4625
4625
  type: "radio",
4626
4626
  value: s,
4627
- onChange: F,
4627
+ onChange: I,
4628
4628
  onClick: Z
4629
4629
  }
4630
4630
  ),
4631
- /* @__PURE__ */ r.jsx("svg", { "data-testid": `radio-icon-${O}`, viewBox: "0 0 8 8", className: E1.icon, children: /* @__PURE__ */ r.jsx("circle", { cx: 4, cy: 4, fill: "current", r: 4 }) })
4631
+ /* @__PURE__ */ r.jsx("svg", { "data-testid": `radio-icon-${O}`, viewBox: "0 0 8 8", className: M1.icon, children: /* @__PURE__ */ r.jsx("circle", { cx: 4, cy: 4, fill: "current", r: 4 }) })
4632
4632
  ]
4633
4633
  }
4634
- ), T = () => /* @__PURE__ */ r.jsxs(
4634
+ ), D = () => /* @__PURE__ */ r.jsxs(
4635
4635
  "label",
4636
4636
  {
4637
4637
  "aria-checked": v,
@@ -4639,11 +4639,11 @@ const p9 = Object.assign(zC, {
4639
4639
  "data-testid": V ? k : ba,
4640
4640
  htmlFor: O,
4641
4641
  style: w,
4642
- className: H(E1.label, {
4643
- [H(E1.container, E1[p], d)]: V,
4642
+ className: H(M1.label, {
4643
+ [H(M1.container, M1[p], d)]: V,
4644
4644
  [j]: V && y
4645
4645
  }),
4646
- onKeyDown: I,
4646
+ onKeyDown: T,
4647
4647
  ...b,
4648
4648
  children: [
4649
4649
  R(),
@@ -4651,15 +4651,15 @@ const p9 = Object.assign(zC, {
4651
4651
  ]
4652
4652
  }
4653
4653
  );
4654
- return V ? T() : /* @__PURE__ */ r.jsxs(
4654
+ return V ? D() : /* @__PURE__ */ r.jsxs(
4655
4655
  "div",
4656
4656
  {
4657
- className: H(E1.container, E1[p], d, {
4657
+ className: H(M1.container, M1[p], d, {
4658
4658
  [j]: y
4659
4659
  }),
4660
4660
  "data-testid": k,
4661
4661
  children: [
4662
- T(),
4662
+ D(),
4663
4663
  E
4664
4664
  ]
4665
4665
  }
@@ -4669,7 +4669,7 @@ const p9 = Object.assign(zC, {
4669
4669
  group: Za,
4670
4670
  vertical: Va,
4671
4671
  horizontal: ya
4672
- }, Sa = r1(
4672
+ }, Sa = o1(
4673
4673
  (t, o) => {
4674
4674
  const {
4675
4675
  id: i,
@@ -4681,37 +4681,37 @@ const p9 = Object.assign(zC, {
4681
4681
  disabled: L = !1,
4682
4682
  layout: v = "vertical",
4683
4683
  "data-testid": d,
4684
- ...f
4684
+ ..._
4685
4685
  } = t;
4686
4686
  return /* @__PURE__ */ r.jsx(
4687
4687
  "div",
4688
4688
  {
4689
- className: x1(u9.group, u9[v], c),
4689
+ className: k1(u9.group, u9[v], c),
4690
4690
  "data-testid": d ?? `radio-group-${C}`,
4691
4691
  id: i,
4692
4692
  ref: o,
4693
4693
  children: l.map(({ label: E, value: h, disabled: p }) => {
4694
- const _ = `${C}-${String(h)}`, m = String(h) === String(s);
4694
+ const f = `${C}-${String(h)}`, m = String(h) === String(s);
4695
4695
  return /* @__PURE__ */ r.jsx(
4696
4696
  F9,
4697
4697
  {
4698
- id: _,
4698
+ id: f,
4699
4699
  checked: m,
4700
- "data-testid": _,
4700
+ "data-testid": f,
4701
4701
  disabled: L || p,
4702
4702
  name: C,
4703
4703
  value: h,
4704
4704
  className: g,
4705
- ...f,
4705
+ ..._,
4706
4706
  children: E
4707
4707
  },
4708
- _
4708
+ f
4709
4709
  );
4710
4710
  })
4711
4711
  }
4712
4712
  );
4713
4713
  }
4714
- ), Vd = Object.assign(F9, {
4714
+ ), Bd = Object.assign(F9, {
4715
4715
  Group: Sa
4716
4716
  }), Ba = "_root_1jj3e_25", ja = "_unordered_1jj3e_39", Oa = "_ordered_1jj3e_43", Ra = "_sm_1jj3e_48", Wa = "_md_1jj3e_59", Fa = "_lg_1jj3e_70", Ia = "_xl_1jj3e_81", S2 = {
4717
4717
  root: Ba,
@@ -4724,8 +4724,8 @@ const p9 = Object.assign(zC, {
4724
4724
  }, Ta = (t) => {
4725
4725
  const { children: o, className: i, "data-testid": C = "list-item" } = t;
4726
4726
  return /* @__PURE__ */ r.jsx("li", { "data-testid": C, className: i, children: o });
4727
- }, yd = Object.assign(
4728
- r1((t, o) => {
4727
+ }, jd = Object.assign(
4728
+ o1((t, o) => {
4729
4729
  const {
4730
4730
  variant: i = "unordered",
4731
4731
  className: C,
@@ -4739,14 +4739,14 @@ const p9 = Object.assign(zC, {
4739
4739
  {
4740
4740
  "data-testid": c,
4741
4741
  ref: o,
4742
- className: x1(S2.root, S2[i], S2[l], C),
4742
+ className: k1(S2.root, S2[i], S2[l], C),
4743
4743
  ...i === "ordered" && g,
4744
4744
  children: s
4745
4745
  }
4746
4746
  );
4747
4747
  }),
4748
4748
  { Item: Ta }
4749
- ), Da = "_wrapper_1v8xn_5", Aa = "_viewport_1v8xn_12", Pa = "_mask_1v8xn_26", $a = "_maskLeft_1v8xn_37", Na = "_maskRight_1v8xn_42", za = "_visible_1v8xn_46", Ua = "_control_1v8xn_51", Ga = "_xs_1v8xn_70", qa = "_sm_1v8xn_73", Xa = "_md_1v8xn_76", Ya = "_left_1v8xn_80", Ka = "_right_1v8xn_83", v1 = {
4749
+ ), Da = "_wrapper_1v8xn_5", Aa = "_viewport_1v8xn_12", Pa = "_mask_1v8xn_26", $a = "_maskLeft_1v8xn_37", Na = "_maskRight_1v8xn_42", za = "_visible_1v8xn_46", Ua = "_control_1v8xn_51", Ga = "_xs_1v8xn_70", qa = "_sm_1v8xn_73", Xa = "_md_1v8xn_76", Ya = "_left_1v8xn_80", Ka = "_right_1v8xn_83", _1 = {
4750
4750
  wrapper: Da,
4751
4751
  viewport: Aa,
4752
4752
  mask: Pa,
@@ -4765,7 +4765,7 @@ const p9 = Object.assign(zC, {
4765
4765
  className: i,
4766
4766
  size: C
4767
4767
  }) => {
4768
- const s = u1(null), [l, c] = c1(!1), [g, L] = c1(!1), { ref: v, bgColor: d } = T2(), f = v ?? { current: null }, E = d ?? Ja, h = o && l, p = o && g, _ = ({ direction: u }) => /* @__PURE__ */ r.jsx(
4768
+ const s = v1(null), [l, c] = d1(!1), [g, L] = d1(!1), { ref: v, bgColor: d } = T2(), _ = v ?? { current: null }, E = d ?? Ja, h = o && l, p = o && g, f = ({ direction: u }) => /* @__PURE__ */ r.jsx(
4769
4769
  "svg",
4770
4770
  {
4771
4771
  height: "12px",
@@ -4783,33 +4783,33 @@ const p9 = Object.assign(zC, {
4783
4783
  ), m = () => {
4784
4784
  const u = s.current;
4785
4785
  if (!u) return;
4786
- const k = Math.round(u.scrollLeft), b = Math.round(u.scrollLeft + u.clientWidth), S = Math.round(u.scrollWidth);
4787
- c(k > 0), L(b < S);
4786
+ const k = Math.round(u.scrollLeft), b = Math.round(u.scrollLeft + u.clientWidth), B = Math.round(u.scrollWidth);
4787
+ c(k > 0), L(b < B);
4788
4788
  }, w = (u) => {
4789
4789
  const k = s.current;
4790
4790
  if (!k) return;
4791
4791
  const b = k.clientWidth;
4792
4792
  k.scrollBy({ left: u === "left" ? -b : b, behavior: "smooth" });
4793
4793
  };
4794
- return J(() => {
4794
+ return Q(() => {
4795
4795
  const u = s.current;
4796
4796
  if (!u) return;
4797
4797
  const k = (b) => {
4798
4798
  Math.abs(b.deltaX) > Math.abs(b.deltaY) || u.scrollWidth > u.clientWidth && (b.preventDefault(), u.scrollBy({ left: b.deltaY, behavior: "auto" }));
4799
4799
  };
4800
4800
  return u.addEventListener("wheel", k, { passive: !1 }), () => u.removeEventListener("wheel", k);
4801
- }, []), J(() => {
4801
+ }, []), Q(() => {
4802
4802
  m();
4803
4803
  const u = s.current;
4804
4804
  if (u)
4805
4805
  return u.addEventListener("scroll", m, { passive: !0 }), window.addEventListener("resize", m), () => {
4806
4806
  u.removeEventListener("scroll", m), window.removeEventListener("resize", m);
4807
4807
  };
4808
- }, []), /* @__PURE__ */ r.jsxs("div", { ref: f, className: H(v1.wrapper, i), children: [
4808
+ }, []), /* @__PURE__ */ r.jsxs("div", { ref: _, className: H(_1.wrapper, i), children: [
4809
4809
  h && /* @__PURE__ */ r.jsx(
4810
4810
  "div",
4811
4811
  {
4812
- className: H(v1.mask, v1.maskLeft, l && v1.visible),
4812
+ className: H(_1.mask, _1.maskLeft, l && _1.visible),
4813
4813
  style: {
4814
4814
  background: `linear-gradient(to right, ${E} 17%, transparent 80%)`
4815
4815
  }
@@ -4818,22 +4818,22 @@ const p9 = Object.assign(zC, {
4818
4818
  p && /* @__PURE__ */ r.jsx(
4819
4819
  "div",
4820
4820
  {
4821
- className: H(v1.mask, v1.maskRight, g && v1.visible),
4821
+ className: H(_1.mask, _1.maskRight, g && _1.visible),
4822
4822
  style: {
4823
4823
  background: `linear-gradient(to left, ${E} 17%, transparent 80%)`
4824
4824
  }
4825
4825
  }
4826
4826
  ),
4827
- /* @__PURE__ */ r.jsx("div", { ref: s, className: v1.viewport, children: t }),
4827
+ /* @__PURE__ */ r.jsx("div", { ref: s, className: _1.viewport, children: t }),
4828
4828
  h && /* @__PURE__ */ r.jsx(
4829
4829
  "button",
4830
4830
  {
4831
4831
  type: "button",
4832
4832
  tabIndex: -1,
4833
4833
  "aria-hidden": "true",
4834
- className: H(v1.control, v1.left, v1[C]),
4834
+ className: H(_1.control, _1.left, _1[C]),
4835
4835
  onClick: () => w("left"),
4836
- children: /* @__PURE__ */ r.jsx(_, { direction: "left" })
4836
+ children: /* @__PURE__ */ r.jsx(f, { direction: "left" })
4837
4837
  }
4838
4838
  ),
4839
4839
  p && /* @__PURE__ */ r.jsx(
@@ -4842,13 +4842,13 @@ const p9 = Object.assign(zC, {
4842
4842
  type: "button",
4843
4843
  tabIndex: -1,
4844
4844
  "aria-hidden": "true",
4845
- className: H(v1.control, v1.right, v1[C]),
4845
+ className: H(_1.control, _1.right, _1[C]),
4846
4846
  onClick: () => w("right"),
4847
- children: /* @__PURE__ */ r.jsx(_, { direction: "right" })
4847
+ children: /* @__PURE__ */ r.jsx(f, { direction: "right" })
4848
4848
  }
4849
4849
  )
4850
4850
  ] });
4851
- }, es = "_tabBar_1ndpm_82", ts = "_primary_1ndpm_88", ns = "_secondary_1ndpm_93", rs = "_tab_1ndpm_82", os = "_md_1ndpm_125", is = "_sm_1ndpm_129", ls = "_xs_1ndpm_133", Cs = "_disabled_1ndpm_137", as = "_selected_1ndpm_143", ss = "_tabLabel_1ndpm_222", cs = "_tabPrefix_1ndpm_234", ds = "_tabPostfix_1ndpm_270", g1 = {
4851
+ }, es = "_tabBar_1ndpm_82", ts = "_primary_1ndpm_88", ns = "_secondary_1ndpm_93", rs = "_tab_1ndpm_82", os = "_md_1ndpm_125", is = "_sm_1ndpm_129", ls = "_xs_1ndpm_133", Cs = "_disabled_1ndpm_137", as = "_selected_1ndpm_143", ss = "_tabLabel_1ndpm_222", cs = "_tabPrefix_1ndpm_234", ds = "_tabPostfix_1ndpm_270", m1 = {
4852
4852
  tabBar: es,
4853
4853
  primary: ts,
4854
4854
  secondary: ns,
@@ -4871,7 +4871,7 @@ const p9 = Object.assign(zC, {
4871
4871
  activeTab: i,
4872
4872
  onChange: C
4873
4873
  }) => {
4874
- const [s, l] = c1(o), c = i !== void 0, g = c ? i : s, L = (v) => {
4874
+ const [s, l] = d1(o), c = i !== void 0, g = c ? i : s, L = (v) => {
4875
4875
  c || l(v), C && C(v);
4876
4876
  };
4877
4877
  return /* @__PURE__ */ r.jsx(I9.Provider, { value: { activeTab: g, setTab: L }, children: t });
@@ -4889,40 +4889,40 @@ const p9 = Object.assign(zC, {
4889
4889
  value: L,
4890
4890
  label: v,
4891
4891
  prefix: d,
4892
- prefixWrapperProps: f = {},
4892
+ prefixWrapperProps: _ = {},
4893
4893
  postfix: E,
4894
4894
  postfixWrapperProps: h = {}
4895
- } = o, { className: p, ..._ } = f, { className: m, ...w } = h, u = {
4896
- primary: a1["typography-label-3-medium"],
4897
- secondary: a1["typography-label-3-regular"],
4898
- prefix: a1["typography-label-3-medium"],
4899
- postfix: a1["typography-label-3-medium"]
4895
+ } = o, { className: p, ...f } = _, { className: m, ...w } = h, u = {
4896
+ primary: s1["typography-label-3-medium"],
4897
+ secondary: s1["typography-label-3-regular"],
4898
+ prefix: s1["typography-label-3-medium"],
4899
+ postfix: s1["typography-label-3-medium"]
4900
4900
  }, k = {
4901
4901
  size: ms,
4902
4902
  position: ps,
4903
4903
  ...s
4904
- }, b = H(g1.tab, g1[t], g1[l], {
4905
- [g1.selected]: i,
4906
- [g1.disabled]: c
4907
- }), S = H(
4908
- g1.tabPrefix,
4904
+ }, b = H(m1.tab, m1[t], m1[l], {
4905
+ [m1.selected]: i,
4906
+ [m1.disabled]: c
4907
+ }), B = H(
4908
+ m1.tabPrefix,
4909
4909
  p,
4910
- g1[t],
4910
+ m1[t],
4911
4911
  u.prefix,
4912
4912
  {
4913
- [g1.selected]: i,
4914
- [g1.disabled]: c
4913
+ [m1.selected]: i,
4914
+ [m1.disabled]: c
4915
4915
  }
4916
4916
  ), x = H(
4917
- g1.tabPostfix,
4917
+ m1.tabPostfix,
4918
4918
  m,
4919
- g1[t],
4919
+ m1[t],
4920
4920
  u.postfix,
4921
4921
  {
4922
- [g1.selected]: i,
4923
- [g1.disabled]: c
4922
+ [m1.selected]: i,
4923
+ [m1.disabled]: c
4924
4924
  }
4925
- ), V = H(g1.tabLabel, g1[t], u[t]), y = (O) => {
4925
+ ), V = H(m1.tabLabel, m1[t], u[t]), y = (O) => {
4926
4926
  i || c || (g(L), O.currentTarget.scrollIntoView({ behavior: "smooth", inline: "center", block: "nearest" }));
4927
4927
  }, j = /* @__PURE__ */ r.jsxs(
4928
4928
  "button",
@@ -4939,8 +4939,8 @@ const p9 = Object.assign(zC, {
4939
4939
  d && /* @__PURE__ */ r.jsx(
4940
4940
  "span",
4941
4941
  {
4942
- className: S,
4943
- ..._,
4942
+ className: B,
4943
+ ...f,
4944
4944
  "data-testid": `tab-prefix-${L}`,
4945
4945
  children: d
4946
4946
  }
@@ -4972,7 +4972,7 @@ const p9 = Object.assign(zC, {
4972
4972
  role: "tablist",
4973
4973
  "data-testid": "tabs-bar",
4974
4974
  "aria-orientation": "horizontal",
4975
- className: H(g1.tabBar, g1[t]),
4975
+ className: H(m1.tabBar, m1[t]),
4976
4976
  children: o.map((g) => /* @__PURE__ */ r.jsx(
4977
4977
  Ls,
4978
4978
  {
@@ -5001,12 +5001,12 @@ const p9 = Object.assign(zC, {
5001
5001
  ), fs = ({ children: t, ...o }) => {
5002
5002
  const { activeTab: i } = T9(), C = Array.isArray(t) ? t : [t], s = (l, c) => P1.isValidElement(l) && typeof l.props == "object" && l.props !== null && c in l.props;
5003
5003
  return /* @__PURE__ */ r.jsx("div", { "data-testid": "tab-content", ...o, children: C.map((l) => s(l, "tabValue") && String(l.props.tabValue) === i ? l : null) });
5004
- }, Sd = {
5004
+ }, Od = {
5005
5005
  Provider: us,
5006
5006
  Content: fs,
5007
5007
  Panel: vs,
5008
5008
  Bar: ws
5009
- }, _s = "_root_1fbbw_34", Es = "_open_1fbbw_51", ks = "_xs_1fbbw_55", Ms = "_s_1fbbw_61", xs = "_m_1fbbw_67", Hs = "_neutral_1fbbw_73", bs = "_contrast_1fbbw_78", Zs = "_accent_1fbbw_84", Vs = "_typography_1fbbw_89", ys = "_title_1fbbw_89", Ss = "_text_1fbbw_93", Bs = "_mediaWrapper_1fbbw_97", js = "_content_1fbbw_112", Os = "_closeButton_1fbbw_116", Rs = "_hasMedia_1fbbw_142", Ws = "_buttonStack_1fbbw_148", _1 = {
5009
+ }, _s = "_root_1fbbw_34", Es = "_open_1fbbw_51", ks = "_xs_1fbbw_55", Ms = "_s_1fbbw_61", xs = "_m_1fbbw_67", Hs = "_neutral_1fbbw_73", bs = "_contrast_1fbbw_78", Zs = "_accent_1fbbw_84", Vs = "_typography_1fbbw_89", ys = "_title_1fbbw_89", Ss = "_text_1fbbw_93", Bs = "_mediaWrapper_1fbbw_97", js = "_content_1fbbw_112", Os = "_closeButton_1fbbw_116", Rs = "_hasMedia_1fbbw_142", Ws = "_buttonStack_1fbbw_148", E1 = {
5010
5010
  root: _s,
5011
5011
  open: Es,
5012
5012
  xs: ks,
@@ -5208,14 +5208,14 @@ const p9 = Object.assign(zC, {
5208
5208
  buttonProps: L,
5209
5209
  showClose: v
5210
5210
  }) => {
5211
- const d = ["neutral", "accent"].includes(C) ? "contrast" : "primary", f = s === "m", E = !!(o && f), h = !!(i && f), p = g && !!g.length, _ = !!(v && f) || !v && f && !p, m = s === "xs" ? 4 : 3;
5212
- return /* @__PURE__ */ r.jsxs("div", { className: _1.content, children: [
5213
- h && /* @__PURE__ */ r.jsx("div", { className: H(_1.mediaWrapper, l.mediaWrapper), children: i }),
5214
- /* @__PURE__ */ r.jsxs("div", { className: l.textWrapper, children: [
5211
+ const d = ["neutral", "accent"].includes(C) ? "contrast" : "primary", _ = s === "m", E = !!(o && _), h = !!(i && _), p = g && !!g.length, f = !!(v && _) || !v && _ && !p, m = s === "xs" ? 4 : 3;
5212
+ return /* @__PURE__ */ r.jsxs("div", { className: E1.content, children: [
5213
+ h && /* @__PURE__ */ r.jsx("div", { className: H(E1.mediaWrapper, l.mediaWrapper), children: i }),
5214
+ /* @__PURE__ */ r.jsxs("div", { className: l == null ? void 0 : l.textWrapper, children: [
5215
5215
  E && /* @__PURE__ */ r.jsx(
5216
5216
  G1.Subtitle,
5217
5217
  {
5218
- className: H(_1.typography, _1.title, l.typography),
5218
+ className: H(E1.typography, E1.title, l.typography),
5219
5219
  size: 1,
5220
5220
  as: "h3",
5221
5221
  typographyStyle: d,
@@ -5225,19 +5225,19 @@ const p9 = Object.assign(zC, {
5225
5225
  /* @__PURE__ */ r.jsx(
5226
5226
  G1.Label,
5227
5227
  {
5228
- className: H(_1.typography, _1.text, l.typography),
5228
+ className: H(E1.typography, E1.text, l.typography),
5229
5229
  typographyStyle: d,
5230
5230
  size: m,
5231
5231
  children: t
5232
5232
  }
5233
5233
  )
5234
5234
  ] }),
5235
- _ && /* @__PURE__ */ r.jsx(
5235
+ f && /* @__PURE__ */ r.jsx(
5236
5236
  "button",
5237
5237
  {
5238
5238
  type: "button",
5239
- className: H(_1.closeButton, _1[C], l.closeButton, {
5240
- [_1.hasMedia]: h
5239
+ className: H(E1.closeButton, E1[C], l.closeButton, {
5240
+ [E1.hasMedia]: h
5241
5241
  }),
5242
5242
  onClick: c,
5243
5243
  "aria-label": "Закрыть подсказку",
@@ -5245,15 +5245,15 @@ const p9 = Object.assign(zC, {
5245
5245
  children: /* @__PURE__ */ r.jsx(Fs, {})
5246
5246
  }
5247
5247
  ),
5248
- f && p && /* @__PURE__ */ r.jsx("div", { className: _1.buttonStack, children: g.map((w, u) => {
5249
- const k = $s(u, g.length, C), b = Ps(w, k, L), { closeOnClick: S, ...x } = b, V = (y) => {
5248
+ _ && p && /* @__PURE__ */ r.jsx("div", { className: E1.buttonStack, children: g.map((w, u) => {
5249
+ const k = $s(u, g.length, C), b = Ps(w, k, L), { closeOnClick: B, ...x } = b, V = (y) => {
5250
5250
  var j;
5251
- (j = x.onClick) == null || j.call(x, y), S && (c == null || c());
5251
+ (j = x.onClick) == null || j.call(x, y), B && (c == null || c());
5252
5252
  };
5253
- return /* @__PURE__ */ r.jsx(f2, { ...x, onClick: V }, u);
5253
+ return /* @__PURE__ */ r.jsx(c2, { ...x, onClick: V }, u);
5254
5254
  }) })
5255
5255
  ] });
5256
- }, Bd = ({
5256
+ }, Rd = ({
5257
5257
  customContent: t,
5258
5258
  children: o,
5259
5259
  placement: i = "top",
@@ -5265,68 +5265,72 @@ const p9 = Object.assign(zC, {
5265
5265
  trigger: L = "hover",
5266
5266
  variant: v = "neutral",
5267
5267
  size: d = "s",
5268
- text: f,
5268
+ text: _,
5269
5269
  title: E,
5270
5270
  media: h,
5271
5271
  buttons: p,
5272
- buttonProps: _,
5272
+ buttonProps: f,
5273
5273
  onClose: m,
5274
- ...w
5274
+ visible: w,
5275
+ onVisibleChange: u,
5276
+ ...k
5275
5277
  }) => {
5276
- const [u, k] = c1(!1), [b, S] = c1(!1), x = d === "m" ? Ts : Ds, V = () => {
5277
- k(!1), m == null || m();
5278
- }, y = t || (d === "m" ? /* @__PURE__ */ r.jsx(
5278
+ const [b, B] = d1(!!w), x = w !== void 0, [V, y] = d1(!1), j = d === "m" ? Ts : Ds, O = () => {
5279
+ x || B(!1), m == null || m();
5280
+ }, I = (Z) => {
5281
+ x || B(Z), u == null || u(Z);
5282
+ }, T = t || (d === "m" ? /* @__PURE__ */ r.jsx(
5279
5283
  L9,
5280
5284
  {
5281
5285
  classNames: C,
5282
- text: f,
5286
+ text: _,
5283
5287
  variant: v,
5284
5288
  size: d,
5285
- onClose: V,
5289
+ onClose: O,
5286
5290
  title: E,
5287
5291
  media: h,
5288
5292
  showClose: g,
5289
5293
  buttons: p,
5290
- buttonProps: _
5294
+ buttonProps: f
5291
5295
  }
5292
5296
  ) : /* @__PURE__ */ r.jsx(
5293
5297
  L9,
5294
5298
  {
5295
5299
  classNames: C,
5296
- text: f,
5300
+ text: _,
5297
5301
  variant: v,
5298
5302
  size: d,
5299
- onClose: V
5303
+ onClose: O
5300
5304
  }
5301
5305
  ));
5302
- return J(() => {
5303
- if (u) {
5304
- const j = requestAnimationFrame(() => S(!0));
5305
- return () => cancelAnimationFrame(j);
5306
+ return Q(() => {
5307
+ if (b) {
5308
+ const Z = requestAnimationFrame(() => y(!0));
5309
+ return () => cancelAnimationFrame(Z);
5306
5310
  }
5307
- S(!1);
5308
- }, [u]), /* @__PURE__ */ r.jsx(
5311
+ y(!1);
5312
+ }, [b]), /* @__PURE__ */ r.jsx(
5309
5313
  M3,
5310
5314
  {
5311
- visible: u,
5312
- onVisibleChange: k,
5315
+ visible: x ? w : b,
5316
+ onVisibleChange: I,
5313
5317
  classNames: {
5314
- root: H(_1.root, _1[v], _1[d], b && _1.open),
5315
- ...w.classNames
5318
+ root: H(E1.root, E1[v], E1[d], V && E1.open),
5319
+ ...k.classNames
5316
5320
  },
5317
5321
  placement: i,
5318
- overlay: () => y,
5322
+ overlay: T,
5319
5323
  trigger: L,
5320
5324
  mouseEnterDelay: s,
5321
5325
  mouseLeaveDelay: l,
5322
5326
  motion: { motionName: "tooltipMotion" },
5323
- builtinPlacements: x,
5327
+ builtinPlacements: j,
5324
5328
  showArrow: c ? {
5325
5329
  content: /* @__PURE__ */ r.jsx(Is, {}),
5326
5330
  className: `tooltipArrow tooltipArrow-${d}`
5327
5331
  } : !1,
5328
5332
  destroyTooltipOnHide: !0,
5329
- ...w,
5333
+ ...k,
5330
5334
  children: o
5331
5335
  }
5332
5336
  );
@@ -5365,10 +5369,10 @@ const p9 = Object.assign(zC, {
5365
5369
  m: _c,
5366
5370
  l: Ec
5367
5371
  }, w9 = {
5368
- s: a1["typography-label-3-regular"],
5369
- m: a1["typography-label-2-regular"],
5370
- l: a1["typography-label-2-regular"]
5371
- }, jd = (t) => {
5372
+ s: s1["typography-label-3-regular"],
5373
+ m: s1["typography-label-2-regular"],
5374
+ l: s1["typography-label-2-regular"]
5375
+ }, Wd = (t) => {
5372
5376
  const {
5373
5377
  className: o,
5374
5378
  defaultValue: i,
@@ -5380,8 +5384,8 @@ const p9 = Object.assign(zC, {
5380
5384
  mode: L = "label",
5381
5385
  onChange: v,
5382
5386
  ...d
5383
- } = t, f = F2(), [E, h] = c1(i || l[0].value), [p, _] = c1({ width: 0, left: 0, height: 0 }), m = u1(null);
5384
- J(() => {
5387
+ } = t, _ = F2(), [E, h] = d1(i || l[0].value), [p, f] = d1({ width: 0, left: 0, height: 0 }), m = v1(null);
5388
+ Q(() => {
5385
5389
  C != null && h(C);
5386
5390
  }, [C]), _9(() => {
5387
5391
  w();
@@ -5391,7 +5395,7 @@ const p9 = Object.assign(zC, {
5391
5395
  const k = m.current.querySelector(
5392
5396
  '[data-is-active-segment="true"]'
5393
5397
  );
5394
- k && _({
5398
+ k && f({
5395
5399
  width: k.offsetWidth,
5396
5400
  left: k.offsetLeft,
5397
5401
  height: k.offsetHeight
@@ -5417,25 +5421,25 @@ const p9 = Object.assign(zC, {
5417
5421
  disabled: g,
5418
5422
  ...d,
5419
5423
  children: [
5420
- l == null ? void 0 : l.map(({ label: k, value: b, containerProps: S = {} }, x) => {
5421
- const { className: V, ...y } = S, j = () => u(b), O = JSON.stringify(b), F = E === b;
5424
+ l == null ? void 0 : l.map(({ label: k, value: b, containerProps: B = {} }, x) => {
5425
+ const { className: V, ...y } = B, j = () => u(b), O = JSON.stringify(b), I = E === b;
5422
5426
  return /* @__PURE__ */ r.jsxs(q1, { children: [
5423
5427
  /* @__PURE__ */ r.jsx(
5424
5428
  "input",
5425
5429
  {
5426
- id: f + O,
5430
+ id: _ + O,
5427
5431
  value: O,
5428
5432
  type: "radio",
5429
- checked: F,
5433
+ checked: I,
5430
5434
  readOnly: !0
5431
5435
  }
5432
5436
  ),
5433
5437
  /* @__PURE__ */ r.jsx(
5434
5438
  "label",
5435
5439
  {
5436
- "data-is-active-segment": F,
5437
- className: H(A1.segment, w9[s], { [A1.selected]: F }, V),
5438
- htmlFor: f + O,
5440
+ "data-is-active-segment": I,
5441
+ className: H(A1.segment, w9[s], { [A1.selected]: I }, V),
5442
+ htmlFor: _ + O,
5439
5443
  "data-testid": "segmented-control-segment",
5440
5444
  onClick: j,
5441
5445
  ...y,
@@ -5457,7 +5461,7 @@ const p9 = Object.assign(zC, {
5457
5461
  );
5458
5462
  };
5459
5463
  var e2 = /* @__PURE__ */ ((t) => (t.NORMAL = "normal", t.FLOATING = "floating", t.HIDDEN = "hidden", t))(e2 || {});
5460
- const s1 = {
5464
+ const c1 = {
5461
5465
  "trigger-wrapper": "_trigger-wrapper_fm9f9_79",
5462
5466
  "trigger-container": "_trigger-container_fm9f9_85",
5463
5467
  "trigger-container-applied": "_trigger-container-applied_fm9f9_109",
@@ -5521,7 +5525,7 @@ const s1 = {
5521
5525
  )
5522
5526
  }
5523
5527
  );
5524
- }, Mc = (t, o) => t === "XL" && o ? e2.FLOATING : t !== "XL" && o ? e2.HIDDEN : e2.NORMAL, xc = (t, o) => o ? 3 : t === "XL" || t === "L" ? 2 : 3, v9 = (t) => t === "XL" || t === "L" ? 2 : 3, f9 = (t) => t === "XL" || t === "L" ? "sm" : "xs", Hc = (t) => t.length > 30 ? t.slice(0, 30) + "…" : t, Od = ({
5528
+ }, Mc = (t, o) => t === "XL" && o ? e2.FLOATING : t !== "XL" && o ? e2.HIDDEN : e2.NORMAL, xc = (t, o) => o ? 3 : t === "XL" || t === "L" ? 2 : 3, v9 = (t) => t === "XL" || t === "L" ? 2 : 3, f9 = (t) => t === "XL" || t === "L" ? "sm" : "xs", Hc = (t) => t.length > 30 ? t.slice(0, 30) + "…" : t, Fd = ({
5525
5529
  content: t,
5526
5530
  size: o = "XL",
5527
5531
  description: i,
@@ -5533,45 +5537,45 @@ const s1 = {
5533
5537
  prefixIcon: L,
5534
5538
  postfixTitle: v,
5535
5539
  disabled: d = !1,
5536
- open: f,
5540
+ open: _,
5537
5541
  onClear: E,
5538
5542
  classNames: h = {},
5539
5543
  styles: p = {}
5540
5544
  }) => {
5541
- const _ = !!t, m = !!C, w = !!g, u = l === "applied", k = !!i && (!w || d) || w && !d, b = (w && !d ? g : i) || "", S = w && !d, x = Mc(o, _), V = m && x === e2.FLOATING, y = x === e2.HIDDEN, j = H(
5542
- s1["trigger-wrapper"],
5543
- { [s1["trigger-stretched"]]: s },
5545
+ const f = !!t, m = !!C, w = !!g, u = l === "applied", k = !!i && (!w || d) || w && !d, b = (w && !d ? g : i) || "", B = w && !d, x = Mc(o, f), V = m && x === e2.FLOATING, y = x === e2.HIDDEN, j = H(
5546
+ c1["trigger-wrapper"],
5547
+ { [c1["trigger-stretched"]]: s },
5544
5548
  h.wrapper
5545
5549
  ), O = H(
5546
- s1["trigger-container"],
5547
- s1[`trigger-container-size-${o}`],
5550
+ c1["trigger-container"],
5551
+ c1[`trigger-container-size-${o}`],
5548
5552
  {
5549
- [s1["trigger-stretched"]]: s,
5550
- [s1["trigger-container-applied"]]: u && _,
5551
- [s1["trigger-container-error"]]: w && !d,
5552
- [s1["trigger-container-open"]]: f,
5553
- [s1["trigger-container-floating"]]: V
5553
+ [c1["trigger-stretched"]]: s,
5554
+ [c1["trigger-container-applied"]]: u && f,
5555
+ [c1["trigger-container-error"]]: w && !d,
5556
+ [c1["trigger-container-open"]]: _,
5557
+ [c1["trigger-container-floating"]]: V
5554
5558
  },
5555
5559
  h.triggerContainer
5556
- ), F = H(
5557
- s1["trigger-content-container"],
5560
+ ), I = H(
5561
+ c1["trigger-content-container"],
5558
5562
  {
5559
- [s1["trigger-content-container-floating"]]: V
5563
+ [c1["trigger-content-container-floating"]]: V
5560
5564
  },
5561
5565
  h.triggerContent
5562
- ), I = H(
5563
- s1["trigger-label"],
5566
+ ), T = H(
5567
+ c1["trigger-label"],
5564
5568
  {
5565
- [s1["trigger-label-floating"]]: V,
5566
- [s1["trigger-label-hidden"]]: y
5569
+ [c1["trigger-label-floating"]]: V,
5570
+ [c1["trigger-label-hidden"]]: y
5567
5571
  },
5568
5572
  h.label
5569
- ), Z = H(s1["trigger-content"], h.content), R = H(s1["trigger-postfix"], h.postfixTitle), T = H(s1["trigger-chevron-icon"], h.chevronIcon), D = H(
5570
- s1["trigger-prefix-icon"],
5573
+ ), Z = H(c1["trigger-content"], h.content), R = H(c1["trigger-postfix"], h.postfixTitle), D = H(c1["trigger-chevron-icon"], h.chevronIcon), A = H(
5574
+ c1["trigger-prefix-icon"],
5571
5575
  h.prefixIconContainer
5572
- ), U = H(s1["trigger-clear-icon"], h.clearIcon), N = (Q) => {
5573
- Q == null || Q.stopPropagation(), E == null || E();
5574
- }, q = _ && f && (l === "selected" && c || l === "applied") || _ && !f && (u || l === "selected" && c);
5576
+ ), U = H(c1["trigger-clear-icon"], h.clearIcon), N = (W) => {
5577
+ W == null || W.stopPropagation(), E == null || E();
5578
+ }, X = f && _ && (l === "selected" && c || l === "applied") || f && !_ && (u || l === "selected" && c);
5575
5579
  return /* @__PURE__ */ r.jsxs("div", { className: j, style: p.wrapper, children: [
5576
5580
  /* @__PURE__ */ r.jsxs(
5577
5581
  "button",
@@ -5579,20 +5583,20 @@ const s1 = {
5579
5583
  "data-testid": "trigger",
5580
5584
  "aria-invalid": w,
5581
5585
  "aria-haspopup": "listbox",
5582
- "aria-expanded": f,
5586
+ "aria-expanded": _,
5583
5587
  role: "combobox",
5584
5588
  className: O,
5585
5589
  style: p.triggerContainer,
5586
5590
  disabled: d,
5587
5591
  type: "button",
5588
5592
  children: [
5589
- L && o !== "XL" && /* @__PURE__ */ r.jsx("div", { className: D, style: p.prefixIconContainer, children: L }),
5590
- /* @__PURE__ */ r.jsxs("div", { className: F, style: p.triggerContent, children: [
5593
+ L && o !== "XL" && /* @__PURE__ */ r.jsx("div", { className: A, style: p.prefixIconContainer, children: L }),
5594
+ /* @__PURE__ */ r.jsxs("div", { className: I, style: p.triggerContent, children: [
5591
5595
  m && /* @__PURE__ */ r.jsx(
5592
5596
  G1.Label,
5593
5597
  {
5594
5598
  "data-testid": "trigger-label",
5595
- className: I,
5599
+ className: T,
5596
5600
  style: p.label,
5597
5601
  size: xc(o, V),
5598
5602
  as: "span",
@@ -5601,7 +5605,7 @@ const s1 = {
5601
5605
  children: C
5602
5606
  }
5603
5607
  ),
5604
- _ && /* @__PURE__ */ r.jsx(
5608
+ f && /* @__PURE__ */ r.jsx(
5605
5609
  G1.Label,
5606
5610
  {
5607
5611
  "data-testid": "trigger-content-container",
@@ -5613,7 +5617,7 @@ const s1 = {
5613
5617
  children: s ? t : Hc(t)
5614
5618
  }
5615
5619
  ),
5616
- _ && !!v && /* @__PURE__ */ r.jsx(
5620
+ f && !!v && /* @__PURE__ */ r.jsx(
5617
5621
  G1.Label,
5618
5622
  {
5619
5623
  "data-testid": "trigger-postfix",
@@ -5626,7 +5630,7 @@ const s1 = {
5626
5630
  }
5627
5631
  )
5628
5632
  ] }),
5629
- q ? /* @__PURE__ */ r.jsx(
5633
+ X ? /* @__PURE__ */ r.jsx(
5630
5634
  D2,
5631
5635
  {
5632
5636
  className: U,
@@ -5642,7 +5646,7 @@ const s1 = {
5642
5646
  {
5643
5647
  "data-testid": "trigger-chevron",
5644
5648
  size: f9(o),
5645
- className: T,
5649
+ className: D,
5646
5650
  color: "#AABBCA",
5647
5651
  style: p.chevronIcon
5648
5652
  }
@@ -5654,15 +5658,15 @@ const s1 = {
5654
5658
  ca,
5655
5659
  {
5656
5660
  title: b,
5657
- error: S ? g : void 0,
5658
- className: S ? h.error : h.description,
5659
- style: S ? p.error : p.description,
5661
+ error: B ? g : void 0,
5662
+ className: B ? h.error : h.description,
5663
+ style: B ? p.error : p.description,
5660
5664
  disabled: d,
5661
- "data-testid": S ? "trigger-error" : "trigger-description"
5665
+ "data-testid": B ? "trigger-error" : "trigger-description"
5662
5666
  }
5663
5667
  )
5664
5668
  ] });
5665
- }, D9 = R2(void 0), Rd = () => {
5669
+ }, D9 = R2(void 0), Id = () => {
5666
5670
  const t = W2(D9);
5667
5671
  if (!t) throw new Error("useSnackbar must be used inside SnackbarProvider");
5668
5672
  return t;
@@ -5715,39 +5719,39 @@ const s1 = {
5715
5719
  currentX: L,
5716
5720
  currentY: v
5717
5721
  }) => {
5718
- J(() => {
5722
+ Q(() => {
5719
5723
  const d = t.current;
5720
5724
  if (!d || !o) return;
5721
- const f = (p) => {
5725
+ const _ = (p) => {
5722
5726
  p.target instanceof Element && p.target.closest("button") || (l.current = !0, c.current = p.touches[0].clientX, g.current = p.touches[0].clientY, L.current = c.current, v.current = g.current, d.style.animation = "none", d.style.transition = "none");
5723
5727
  }, E = (p) => {
5724
5728
  if (!l.current) return;
5725
5729
  L.current = p.touches[0].clientX, v.current = p.touches[0].clientY;
5726
- const _ = L.current - c.current, m = v.current - g.current, w = Math.abs(_), u = Math.abs(m), k = w > u ? _ : 0, b = u >= w ? m : 0, S = Math.sqrt(_ ** 2 + m ** 2), x = Math.max(1 - S / 300, 0);
5730
+ const f = L.current - c.current, m = v.current - g.current, w = Math.abs(f), u = Math.abs(m), k = w > u ? f : 0, b = u >= w ? m : 0, B = Math.sqrt(f ** 2 + m ** 2), x = Math.max(1 - B / 300, 0);
5727
5731
  d.style.transform = `translate(${k}px, ${b}px)`, d.style.opacity = `${x}`;
5728
5732
  }, h = () => {
5729
5733
  if (!l.current) return;
5730
5734
  l.current = !1;
5731
- const p = L.current - c.current, _ = v.current - g.current, m = Math.abs(p), w = Math.abs(_), u = d.offsetWidth, k = d.offsetHeight;
5735
+ const p = L.current - c.current, f = v.current - g.current, m = Math.abs(p), w = Math.abs(f), u = d.offsetWidth, k = d.offsetHeight;
5732
5736
  let b = !1;
5733
- if (m > 2 / 3 * u && (b = !0), b || (_ < 0 && w > k / 2 && (b = !0), _ > 0 && w > k && (b = !0)), b) {
5737
+ if (m > 2 / 3 * u && (b = !0), b || (f < 0 && w > k / 2 && (b = !0), f > 0 && w > k && (b = !0)), b) {
5734
5738
  s("swipe"), C(!0), d.style.transition = "";
5735
- const S = p > 0 ? u : -u, x = _ > 0 ? k : -k;
5736
- d.style.transform = `translate(${S}px, ${x}px)`, d.style.opacity = "0", setTimeout(() => i("swipe"), A9.swipe);
5739
+ const B = p > 0 ? u : -u, x = f > 0 ? k : -k;
5740
+ d.style.transform = `translate(${B}px, ${x}px)`, d.style.opacity = "0", setTimeout(() => i("swipe"), A9.swipe);
5737
5741
  } else
5738
5742
  C(!1), s(void 0), d.style.transition = "", d.style.transform = "translate(0px, 0px)", d.style.opacity = "1";
5739
5743
  };
5740
- return d.addEventListener("touchstart", f), d.addEventListener("touchmove", E), d.addEventListener("touchend", h), () => {
5741
- d.removeEventListener("touchstart", f), d.removeEventListener("touchmove", E), d.removeEventListener("touchend", h);
5744
+ return d.addEventListener("touchstart", _), d.addEventListener("touchmove", E), d.addEventListener("touchend", h), () => {
5745
+ d.removeEventListener("touchstart", _), d.removeEventListener("touchmove", E), d.removeEventListener("touchend", h);
5742
5746
  };
5743
5747
  }, [t, o, i, C, s]);
5744
5748
  };
5745
5749
  let Sc = (t = 21) => crypto.getRandomValues(new Uint8Array(t)).reduce((o, i) => (i &= 63, i < 36 ? o += i.toString(36) : i < 62 ? o += (i - 26).toString(36).toUpperCase() : i > 62 ? o += "-" : o += "_", o), "");
5746
- const Bc = "_stack_1sg4d_1", jc = "_local_1sg4d_19", Oc = "_snackWrapper_1sg4d_27", p2 = {
5750
+ const Bc = "_stack_1sg4d_1", jc = "_local_1sg4d_19", Oc = "_snackWrapper_1sg4d_27", u2 = {
5747
5751
  stack: Bc,
5748
5752
  local: jc,
5749
5753
  snackWrapper: Oc
5750
- }, Rc = "_snackbar_1gs18_14", Wc = "_slideIn_1gs18_1", Fc = "_snackbarStack_1gs18_41", Ic = "_snackbarVertical_1gs18_46", Tc = "_fix_1gs18_54", Dc = "_fill_1gs18_60", Ac = "_hug_1gs18_66", Pc = "_content_1gs18_72", $c = "_contentVertical_1gs18_80", Nc = "_contentText_1gs18_84", zc = "_icon_1gs18_88", Uc = "_exiting_1gs18_94", Gc = "_slideOut_1gs18_1", qc = "_exitingTimeout_1gs18_100", Xc = "_exitingClose_1gs18_105", Yc = "_exitingStack_1gs18_112", Kc = "_swipeTransition_1gs18_119", Jc = "_exitingEscape_1gs18_125", f1 = {
5754
+ }, Rc = "_snackbar_11uit_15", Wc = "_slideIn_11uit_1", Fc = "_snackbarStack_11uit_42", Ic = "_snackbarVertical_11uit_47", Tc = "_fix_11uit_55", Dc = "_fill_11uit_61", Ac = "_hug_11uit_67", Pc = "_content_11uit_73", $c = "_textActionsContainer_11uit_81", Nc = "_textActionsContainerVertical_11uit_88", zc = "_contentVertical_11uit_93", Uc = "_contentText_11uit_97", Gc = "_icon_11uit_102", qc = "_buttonLink_11uit_107", Xc = "_exiting_11uit_113", Yc = "_slideOut_11uit_1", Kc = "_exitingTimeout_11uit_119", Jc = "_exitingClose_11uit_124", Qc = "_exitingStack_11uit_131", ed = "_swipeTransition_11uit_138", td = "_exitingEscape_11uit_144", g1 = {
5751
5755
  snackbar: Rc,
5752
5756
  slideIn: Wc,
5753
5757
  snackbarStack: Fc,
@@ -5756,52 +5760,54 @@ const Bc = "_stack_1sg4d_1", jc = "_local_1sg4d_19", Oc = "_snackWrapper_1sg4d_2
5756
5760
  fill: Dc,
5757
5761
  hug: Ac,
5758
5762
  content: Pc,
5759
- contentVertical: $c,
5760
- contentText: Nc,
5761
- icon: zc,
5762
- exiting: Uc,
5763
- slideOut: Gc,
5764
- exitingTimeout: qc,
5765
- exitingClose: Xc,
5766
- exitingStack: Yc,
5767
- swipeTransition: Kc,
5768
- exitingEscape: Jc
5769
- }, Qc = () => /* @__PURE__ */ r.jsxs("svg", { viewBox: "0 0 21 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
5770
- /* @__PURE__ */ r.jsxs("g", { clipPath: "url(#clip0_3152_20713)", children: [
5771
- /* @__PURE__ */ r.jsx(
5772
- "mask",
5773
- {
5774
- id: "mask0_3152_20713",
5775
- style: { maskType: "alpha" },
5776
- maskUnits: "userSpaceOnUse",
5777
- x: "0",
5778
- y: "0",
5779
- children: /* @__PURE__ */ r.jsx(
5780
- "path",
5781
- {
5782
- d: "M15.5 5.5L5.5 15.5M5.5 5.5L15.5 15.5",
5783
- stroke: "black",
5784
- strokeWidth: "1.7",
5785
- strokeLinecap: "round",
5786
- strokeLinejoin: "round"
5787
- }
5788
- )
5789
- }
5790
- ),
5791
- /* @__PURE__ */ r.jsx("g", { mask: "url(#mask0_3152_20713)", children: /* @__PURE__ */ r.jsx(
5792
- "rect",
5793
- {
5794
- x: "0.5",
5795
- y: "0.5",
5796
- width: "20",
5797
- height: "20",
5798
- fill: "currentColor",
5799
- fillOpacity: "0.48"
5800
- }
5801
- ) })
5802
- ] }),
5803
- /* @__PURE__ */ r.jsx("defs", { children: /* @__PURE__ */ r.jsx("clipPath", { id: "clip0_3152_20713", children: /* @__PURE__ */ r.jsx("rect", { width: "20", height: "20", fill: "currentColor", transform: "translate(0.5 0.5)" }) }) })
5804
- ] }), ed = ({ className: t }) => /* @__PURE__ */ r.jsxs(
5763
+ textActionsContainer: $c,
5764
+ textActionsContainerVertical: Nc,
5765
+ contentVertical: zc,
5766
+ contentText: Uc,
5767
+ icon: Gc,
5768
+ buttonLink: qc,
5769
+ exiting: Xc,
5770
+ slideOut: Yc,
5771
+ exitingTimeout: Kc,
5772
+ exitingClose: Jc,
5773
+ exitingStack: Qc,
5774
+ swipeTransition: ed,
5775
+ exitingEscape: td
5776
+ }, nd = () => /* @__PURE__ */ r.jsxs(
5777
+ "svg",
5778
+ {
5779
+ width: "20",
5780
+ height: "20",
5781
+ viewBox: "0 0 20 20",
5782
+ fill: "none",
5783
+ xmlns: "http://www.w3.org/2000/svg",
5784
+ children: [
5785
+ /* @__PURE__ */ r.jsx(
5786
+ "mask",
5787
+ {
5788
+ id: "mask0_4314_6181",
5789
+ style: { maskType: "alpha" },
5790
+ maskUnits: "userSpaceOnUse",
5791
+ x: "0",
5792
+ y: "0",
5793
+ width: "20",
5794
+ height: "20",
5795
+ children: /* @__PURE__ */ r.jsx(
5796
+ "path",
5797
+ {
5798
+ d: "M15 5L5 15M5 5L15 15",
5799
+ stroke: "black",
5800
+ "stroke-width": "1.7",
5801
+ "stroke-linecap": "round",
5802
+ "stroke-linejoin": "round"
5803
+ }
5804
+ )
5805
+ }
5806
+ ),
5807
+ /* @__PURE__ */ r.jsx("g", { mask: "url(#mask0_4314_6181)", children: /* @__PURE__ */ r.jsx("rect", { width: "20", height: "20", fill: "white", "fill-opacity": "0.48" }) })
5808
+ ]
5809
+ }
5810
+ ), rd = ({ className: t }) => /* @__PURE__ */ r.jsxs(
5805
5811
  "svg",
5806
5812
  {
5807
5813
  width: "25",
@@ -5836,7 +5842,7 @@ const Bc = "_stack_1sg4d_1", jc = "_local_1sg4d_19", Oc = "_snackWrapper_1sg4d_2
5836
5842
  /* @__PURE__ */ r.jsx("g", { mask: "url(#mask0_3156_27258)", children: /* @__PURE__ */ r.jsx("rect", { x: "0.5", y: "0.5", width: "24", height: "24", fill: "#FE725F" }) })
5837
5843
  ]
5838
5844
  }
5839
- ), td = ({ className: t }) => /* @__PURE__ */ r.jsxs(
5845
+ ), od = ({ className: t }) => /* @__PURE__ */ r.jsxs(
5840
5846
  "svg",
5841
5847
  {
5842
5848
  width: "24",
@@ -5874,7 +5880,7 @@ const Bc = "_stack_1sg4d_1", jc = "_local_1sg4d_19", Oc = "_snackWrapper_1sg4d_2
5874
5880
  /* @__PURE__ */ r.jsx("defs", { children: /* @__PURE__ */ r.jsx("clipPath", { id: "clip0_3031_21000", children: /* @__PURE__ */ r.jsx("rect", { width: "24", height: "24", fill: "white" }) }) })
5875
5881
  ]
5876
5882
  }
5877
- ), nd = ({ className: t }) => /* @__PURE__ */ r.jsx(
5883
+ ), id = ({ className: t }) => /* @__PURE__ */ r.jsx(
5878
5884
  "svg",
5879
5885
  {
5880
5886
  viewBox: "0 0 24 24",
@@ -5907,7 +5913,7 @@ const Bc = "_stack_1sg4d_1", jc = "_local_1sg4d_19", Oc = "_snackWrapper_1sg4d_2
5907
5913
  /* @__PURE__ */ r.jsx("g", { mask: "url(#mask0_343_52329)", children: /* @__PURE__ */ r.jsx("rect", { x: "0", y: "0", width: "24", height: "24", fill: "#5BCF83" }) })
5908
5914
  ] }) })
5909
5915
  }
5910
- ), rd = r1((t, o) => {
5916
+ ), ld = o1((t, o) => {
5911
5917
  const {
5912
5918
  open: i,
5913
5919
  variant: C = "info",
@@ -5918,110 +5924,145 @@ const Bc = "_stack_1sg4d_1", jc = "_local_1sg4d_19", Oc = "_snackWrapper_1sg4d_2
5918
5924
  showButtonClose: L = !0,
5919
5925
  showIcon: v = !0,
5920
5926
  content: d,
5921
- classNameSnackbarRoot: f,
5927
+ classNameSnackbarRoot: _,
5922
5928
  icon: E,
5923
5929
  isStack: h = !1,
5924
5930
  forceClose: p,
5925
- "data-testid": _ = "snackbar"
5926
- } = t, m = u1(null), w = u1(null), [u, k] = c1(!1), [b, S] = c1(!1), [x, V] = c1(), y = u1(0), j = u1(0), O = u1(0), F = u1(0), I = u1(!1), Z = u1(null), R = (A) => {
5927
- clearTimeout(Z.current || 0), Z.current = null;
5928
- const Y = h ? Zc[A] : A9[A];
5929
- A === "swipe" || (S(!0), V(A)), Z.current = setTimeout(() => {
5930
- l == null || l(), S(!1), V(void 0), Z.current = null;
5931
- }, Y);
5931
+ linkButtonProps: f,
5932
+ closeOnLinkClick: m = !0,
5933
+ "data-testid": w = "snackbar"
5934
+ } = t, u = v1(null), k = v1(null), [b, B] = d1(!1), [x, V] = d1(!1), [y, j] = d1(), O = v1(0), I = v1(0), T = v1(0), Z = v1(0), R = v1(!1), D = v1(null), A = (W) => {
5935
+ clearTimeout(D.current || 0), D.current = null;
5936
+ const J = h ? Zc[W] : A9[W];
5937
+ W === "swipe" || (V(!0), j(W)), D.current = setTimeout(() => {
5938
+ l == null || l(), V(!1), j(void 0), D.current = null;
5939
+ }, J);
5932
5940
  };
5933
5941
  yc({
5934
- ref: w,
5942
+ ref: k,
5935
5943
  open: i,
5936
- onClose: R,
5937
- setExiting: S,
5938
- setExitReason: V,
5939
- swiping: I,
5940
- startX: y,
5941
- startY: j,
5942
- currentX: O,
5943
- currentY: F
5944
- }), J(() => {
5945
- p && R("close");
5946
- }, [p]), J(() => {
5944
+ onClose: A,
5945
+ setExiting: V,
5946
+ setExitReason: j,
5947
+ swiping: R,
5948
+ startX: O,
5949
+ startY: I,
5950
+ currentX: T,
5951
+ currentY: Z
5952
+ }), Q(() => {
5953
+ p && A("close");
5954
+ }, [p]), Q(() => {
5947
5955
  if (i && !g && C !== "loading") {
5948
- const A = setTimeout(() => R("timeout"), c);
5949
- return () => clearTimeout(A);
5956
+ const W = setTimeout(() => A("timeout"), c);
5957
+ return () => clearTimeout(W);
5950
5958
  }
5951
- }, [i, g, C, c]), J(() => {
5952
- i && (S(!1), V(void 0));
5953
- }, [i]), J(() => {
5954
- const A = m.current;
5955
- A && requestAnimationFrame(() => {
5956
- const Y = parseFloat(getComputedStyle(A).lineHeight), q = A.offsetHeight, Q = Math.round(q / Y);
5957
- k(Q > 1);
5959
+ }, [i, g, C, c]), Q(() => {
5960
+ i && (V(!1), j(void 0));
5961
+ }, [i]), Q(() => {
5962
+ const W = u.current;
5963
+ W && requestAnimationFrame(() => {
5964
+ const J = parseFloat(getComputedStyle(W).lineHeight), L1 = W.offsetHeight, p1 = Math.round(L1 / J);
5965
+ B(p1 > 1);
5958
5966
  });
5959
- }, [d]), J(() => {
5967
+ }, [d]), Q(() => {
5960
5968
  if (!i) return;
5961
- const A = (Y) => {
5962
- Y.key === "Escape" && R("escape");
5969
+ const W = (J) => {
5970
+ J.key === "Escape" && A("escape");
5963
5971
  };
5964
- return window.addEventListener("keydown", A), () => window.removeEventListener("keydown", A);
5965
- }, [i]), J(() => () => {
5966
- Z.current && (clearTimeout(Z.current), Z.current = null);
5972
+ return window.addEventListener("keydown", W), () => window.removeEventListener("keydown", W);
5973
+ }, [i]), Q(() => () => {
5974
+ D.current && (clearTimeout(D.current), D.current = null);
5967
5975
  }, []);
5968
- const T = b && x && f1[bc[x]];
5969
- if (!i && !b) return null;
5970
- const D = {
5971
- success: /* @__PURE__ */ r.jsx(nd, { className: f1.icon }),
5972
- error: /* @__PURE__ */ r.jsx(ed, { className: f1.icon }),
5973
- info: /* @__PURE__ */ r.jsx(td, { className: f1.icon }),
5976
+ const U = x && y && g1[bc[y]];
5977
+ if (!i && !x) return null;
5978
+ const N = {
5979
+ success: /* @__PURE__ */ r.jsx(id, { className: g1.icon }),
5980
+ error: /* @__PURE__ */ r.jsx(rd, { className: g1.icon }),
5981
+ info: /* @__PURE__ */ r.jsx(od, { className: g1.icon }),
5974
5982
  loading: /* @__PURE__ */ r.jsx(E2, { "data-testid": "snackbar-icon-loading", variant: "contrast" })
5975
- }, U = x1(
5976
- f1.snackbar,
5977
- f1[s],
5978
- { [f1.exiting]: b && x },
5979
- { [f1.snackbarVertical]: u },
5980
- f,
5981
- T,
5983
+ }, n1 = k1(
5984
+ g1.snackbar,
5985
+ g1[s],
5986
+ { [g1.exiting]: x && y },
5987
+ { [g1.snackbarVertical]: b },
5988
+ _,
5989
+ U,
5982
5990
  {
5983
- [f1.snackbarStack]: h && !b,
5991
+ [g1.snackbarStack]: h && !x,
5984
5992
  // при появлении стека
5985
- [f1.exitingStack]: h && b
5993
+ [g1.exitingStack]: h && x
5986
5994
  // при уходе стека
5987
5995
  }
5988
- ), N = (A) => {
5989
- w.current = A, o && (typeof o == "function" ? o(A) : o.current = A);
5996
+ ), K = (W) => {
5997
+ k.current = W, o && (typeof o == "function" ? o(W) : o.current = W);
5998
+ }, X = (W, J) => {
5999
+ W == null || W(J);
5990
6000
  };
5991
- return /* @__PURE__ */ r.jsxs("div", { ref: N, "data-testid": _, className: U, children: [
6001
+ return /* @__PURE__ */ r.jsxs("div", { ref: K, "data-testid": w, className: n1, children: [
5992
6002
  /* @__PURE__ */ r.jsxs(
5993
6003
  "div",
5994
6004
  {
5995
- className: x1(f1.content, {
5996
- [f1.contentVertical]: u
6005
+ className: k1(g1.content, {
6006
+ [g1.contentVertical]: b
5997
6007
  }),
5998
6008
  children: [
5999
- v && /* @__PURE__ */ r.jsx("div", { className: f1.icon, children: E || D[C] }),
6000
- /* @__PURE__ */ r.jsx(G1.Label, { className: f1.contentText, ref: m, typographyStyle: "contrast", children: d })
6009
+ v && /* @__PURE__ */ r.jsx("div", { className: g1.icon, children: E || N[C] }),
6010
+ /* @__PURE__ */ r.jsxs(
6011
+ "div",
6012
+ {
6013
+ className: k1(g1.textActionsContainer, {
6014
+ [g1.textActionsContainerVertical]: b
6015
+ }),
6016
+ children: [
6017
+ /* @__PURE__ */ r.jsx(
6018
+ G1.Label,
6019
+ {
6020
+ className: g1.contentText,
6021
+ ref: u,
6022
+ typographyStyle: "contrast",
6023
+ children: d
6024
+ }
6025
+ ),
6026
+ f && /* @__PURE__ */ r.jsx(
6027
+ c2.Link,
6028
+ {
6029
+ size: "s",
6030
+ className: g1.buttonLink,
6031
+ buttonStyle: "contrast",
6032
+ ...f,
6033
+ onClick: (W) => {
6034
+ X(f.onClick, W), m && A("timeout");
6035
+ }
6036
+ }
6037
+ )
6038
+ ]
6039
+ }
6040
+ )
6001
6041
  ]
6002
6042
  }
6003
6043
  ),
6004
6044
  L && /* @__PURE__ */ r.jsx(
6005
- f2,
6045
+ c2,
6006
6046
  {
6007
- iconLeft: /* @__PURE__ */ r.jsx(Qc, {}),
6008
- onClick: () => R("close"),
6047
+ iconLeft: /* @__PURE__ */ r.jsx(nd, {}),
6048
+ onClick: () => A("close"),
6009
6049
  mode: "tertiary",
6050
+ size: "l",
6010
6051
  buttonStyle: "contrast",
6011
6052
  style: { padding: "0px" }
6012
6053
  }
6013
6054
  )
6014
6055
  ] });
6015
- }), Wd = (t) => {
6056
+ }), Td = (t) => {
6016
6057
  const { children: o, dataTestId: i = "snackbar-wrapper" } = t, [C, s] = d3(Vc, { visible: [], queue: [] }), l = (h) => {
6017
- const p = Sc(), _ = { ...h, id: p, open: !0 };
6018
- s({ type: "ENQUEUE", snack: _ });
6058
+ const p = Sc(), f = { ...h, id: p, open: !0 };
6059
+ s({ type: "ENQUEUE", snack: f });
6019
6060
  }, c = (h) => {
6020
6061
  s({ type: "REMOVE", id: h });
6021
6062
  };
6022
- J(() => {
6063
+ Q(() => {
6023
6064
  s({ type: "SHOW_NEXT" });
6024
- }, [C.queue, C.visible]), J(() => {
6065
+ }, [C.queue, C.visible]), Q(() => {
6025
6066
  if (C.queue.length !== 0)
6026
6067
  if (C.visible.length >= O2) {
6027
6068
  const h = C.visible[0];
@@ -6029,20 +6070,20 @@ const Bc = "_stack_1sg4d_1", jc = "_local_1sg4d_19", Oc = "_snackWrapper_1sg4d_2
6029
6070
  } else
6030
6071
  s({ type: "SHOW_NEXT" });
6031
6072
  }, [C.queue]);
6032
- const g = (h) => h.map((p, _) => {
6033
- const m = (h.length - 1 - _) * -8, w = h.length > 1;
6073
+ const g = (h) => h.map((p, f) => {
6074
+ const m = (h.length - 1 - f) * -8, w = h.length > 1;
6034
6075
  w && !p.wasInStack && (p.wasInStack = !0);
6035
6076
  const u = p.wasInStack || w ? "fix" : p.mode;
6036
6077
  return /* @__PURE__ */ r.jsx(
6037
6078
  "div",
6038
6079
  {
6039
6080
  "data-testid": i,
6040
- className: p2.snackWrapper,
6081
+ className: u2.snackWrapper,
6041
6082
  style: {
6042
6083
  transform: `translateY(${m}px)`
6043
6084
  },
6044
6085
  children: /* @__PURE__ */ r.jsx(
6045
- rd,
6086
+ ld,
6046
6087
  {
6047
6088
  ...p,
6048
6089
  open: !p.exiting,
@@ -6056,17 +6097,17 @@ const Bc = "_stack_1sg4d_1", jc = "_local_1sg4d_19", Oc = "_snackWrapper_1sg4d_2
6056
6097
  p.id
6057
6098
  );
6058
6099
  }), L = C.visible.filter((h) => !h.parent), v = C.visible.filter((h) => h.parent), d = Q2.createPortal(
6059
- /* @__PURE__ */ r.jsx("div", { className: p2.stack, children: g(L) }),
6100
+ /* @__PURE__ */ r.jsx("div", { className: u2.stack, children: g(L) }),
6060
6101
  document.body
6061
- ), f = v.reduce((h, p) => {
6102
+ ), _ = v.reduce((h, p) => {
6062
6103
  if (!p.parent) return h;
6063
- const _ = p.parent.id || `parent-${p.parent.className}`;
6064
- return (h[_] || (h[_] = [])).push(p), h;
6065
- }, {}), E = Object.entries(f).map(([h, p]) => {
6066
- const _ = p[0];
6067
- return _.parent ? Q2.createPortal(
6068
- /* @__PURE__ */ r.jsx("div", { className: x1(p2.stack, p2.local), children: g(p) }, h),
6069
- _.parent
6104
+ const f = p.parent.id || `parent-${p.parent.className}`;
6105
+ return (h[f] || (h[f] = [])).push(p), h;
6106
+ }, {}), E = Object.entries(_).map(([h, p]) => {
6107
+ const f = p[0];
6108
+ return f.parent ? Q2.createPortal(
6109
+ /* @__PURE__ */ r.jsx("div", { className: k1(u2.stack, u2.local), children: g(p) }, h),
6110
+ f.parent
6070
6111
  ) : null;
6071
6112
  });
6072
6113
  return /* @__PURE__ */ r.jsxs(D9.Provider, { value: { show: l }, children: [
@@ -6074,10 +6115,10 @@ const Bc = "_stack_1sg4d_1", jc = "_local_1sg4d_19", Oc = "_snackWrapper_1sg4d_2
6074
6115
  d,
6075
6116
  E
6076
6117
  ] });
6077
- }, od = "_toggle_175ak_46", id = "_drop_175ak_40", ld = "_divider_175ak_196", B1 = {
6118
+ }, Cd = "_toggle_175ak_46", ad = "_drop_175ak_40", sd = "_divider_175ak_196", B1 = {
6078
6119
  "drop-wrapper": "_drop-wrapper_175ak_40",
6079
- toggle: od,
6080
- drop: id,
6120
+ toggle: Cd,
6121
+ drop: ad,
6081
6122
  "drop-content": "_drop-content_175ak_71",
6082
6123
  "drop-padding-xl": "_drop-padding-xl_175ak_80",
6083
6124
  "drop-padding-lg": "_drop-padding-lg_175ak_83",
@@ -6114,8 +6155,8 @@ const Bc = "_stack_1sg4d_1", jc = "_local_1sg4d_19", Oc = "_snackWrapper_1sg4d_2
6114
6155
  "drop-footer-padding-inline-md": "_drop-footer-padding-inline-md_175ak_186",
6115
6156
  "drop-footer-padding-inline-sm": "_drop-footer-padding-inline-sm_175ak_189",
6116
6157
  "drop-footer-padding-inline-none": "_drop-footer-padding-inline-none_175ak_192",
6117
- divider: ld
6118
- }, Cd = 8, B2 = 24, ad = 1, sd = "200ms ease-in-out", cd = "100ms ease-in-out", dd = ({
6158
+ divider: sd
6159
+ }, cd = 8, B2 = 24, dd = 1, hd = "200ms ease-in-out", gd = "100ms ease-in-out", md = ({
6119
6160
  children: t,
6120
6161
  padding: o,
6121
6162
  hasFooter: i,
@@ -6123,7 +6164,7 @@ const Bc = "_stack_1sg4d_1", jc = "_local_1sg4d_19", Oc = "_snackWrapper_1sg4d_2
6123
6164
  style: s,
6124
6165
  dividerBehavior: l
6125
6166
  }) => {
6126
- const [c, g] = c1(!1), L = u1(null), v = H(
6167
+ const [c, g] = d1(!1), L = v1(null), v = H(
6127
6168
  B1["drop-content"],
6128
6169
  i ? B1[`drop-content-with-footer-padding-${o}`] : B1[`drop-content-padding-${o}`],
6129
6170
  C
@@ -6138,20 +6179,20 @@ const Bc = "_stack_1sg4d_1", jc = "_local_1sg4d_19", Oc = "_snackWrapper_1sg4d_2
6138
6179
  return !c;
6139
6180
  }
6140
6181
  })(l);
6141
- return J(() => {
6182
+ return Q(() => {
6142
6183
  const h = L.current;
6143
6184
  if (!h) return;
6144
6185
  const p = () => {
6145
6186
  if (!h) return;
6146
- const { scrollTop: m, scrollHeight: w, clientHeight: u } = h, k = m + u >= w - ad;
6187
+ const { scrollTop: m, scrollHeight: w, clientHeight: u } = h, k = m + u >= w - dd;
6147
6188
  g(k);
6148
6189
  };
6149
6190
  h.addEventListener("scroll", p);
6150
- const _ = requestAnimationFrame(() => {
6191
+ const f = requestAnimationFrame(() => {
6151
6192
  p();
6152
6193
  });
6153
6194
  return () => {
6154
- h.removeEventListener("scroll", p), cancelAnimationFrame(_);
6195
+ h.removeEventListener("scroll", p), cancelAnimationFrame(f);
6155
6196
  };
6156
6197
  }, []), /* @__PURE__ */ r.jsxs(q1, { children: [
6157
6198
  /* @__PURE__ */ r.jsx(
@@ -6167,13 +6208,13 @@ const Bc = "_stack_1sg4d_1", jc = "_local_1sg4d_19", Oc = "_snackWrapper_1sg4d_2
6167
6208
  ),
6168
6209
  E && /* @__PURE__ */ r.jsx("hr", { className: d, "data-testid": "drop-divider" })
6169
6210
  ] });
6170
- }, hd = ({ children: t, footerPadding: o, className: i, style: C }) => {
6211
+ }, pd = ({ children: t, footerPadding: o, className: i, style: C }) => {
6171
6212
  const { padding: s, paddingType: l } = o, c = H(
6172
6213
  l === "all" ? B1[`drop-footer-padding-${s}`] : B1[`drop-footer-padding-${l}-${s}`],
6173
6214
  i
6174
6215
  );
6175
6216
  return /* @__PURE__ */ r.jsx("div", { className: c, style: C, "data-testid": "drop-footer", children: t });
6176
- }, Fd = ({
6217
+ }, Dd = ({
6177
6218
  children: t,
6178
6219
  open: o = !1,
6179
6220
  onOpenChange: i,
@@ -6185,33 +6226,33 @@ const Bc = "_stack_1sg4d_1", jc = "_local_1sg4d_19", Oc = "_snackWrapper_1sg4d_2
6185
6226
  toggleMode: L = "click",
6186
6227
  padding: v = "xl",
6187
6228
  footerPadding: d = { padding: "xl", paddingType: "inline" },
6188
- footerContent: f,
6229
+ footerContent: _,
6189
6230
  classNames: E,
6190
6231
  styles: h
6191
6232
  }) => {
6192
6233
  const {
6193
6234
  wrapper: p,
6194
- toggle: _,
6235
+ toggle: f,
6195
6236
  drop: m,
6196
6237
  content: w,
6197
6238
  footer: u
6198
6239
  } = E ?? {}, {
6199
6240
  wrapper: k,
6200
6241
  toggle: b,
6201
- drop: S,
6242
+ drop: B,
6202
6243
  content: x,
6203
6244
  footer: V
6204
- } = h ?? {}, y = L === "click", j = L === "hover", { refs: O, floatingStyles: F, placement: I, context: Z } = E9({
6245
+ } = h ?? {}, y = L === "click", j = L === "hover", { refs: O, floatingStyles: I, placement: T, context: Z } = E9({
6205
6246
  open: o,
6206
6247
  onOpenChange: i,
6207
6248
  placement: s,
6208
6249
  middleware: [
6209
- L3(Cd),
6250
+ L3(cd),
6210
6251
  // Отступ между toggle-ом и drop-ом
6211
6252
  w3({
6212
- apply({ availableHeight: L1, elements: h1 }) {
6253
+ apply({ availableHeight: p1, elements: h1 }) {
6213
6254
  Object.assign(h1.floating.style, {
6214
- height: `${L1 - B2}px`
6255
+ height: `${p1 - B2}px`
6215
6256
  });
6216
6257
  }
6217
6258
  }),
@@ -6235,17 +6276,17 @@ const Bc = "_stack_1sg4d_1", jc = "_local_1sg4d_19", Oc = "_snackWrapper_1sg4d_2
6235
6276
  // Включен только в режиме hover
6236
6277
  handleClose: E3()
6237
6278
  // Создает зону, по которой курсор может безопасно перемещаться от toggle к drop
6238
- }), { isMounted: T, styles: D } = k9(Z, {
6279
+ }), { isMounted: D, styles: A } = k9(Z, {
6239
6280
  initial: {
6240
6281
  opacity: 0
6241
6282
  },
6242
6283
  open: {
6243
6284
  opacity: 1,
6244
- transition: `opacity ${sd}`
6285
+ transition: `opacity ${hd}`
6245
6286
  },
6246
6287
  close: {
6247
6288
  opacity: 0,
6248
- transition: `opacity ${cd}`
6289
+ transition: `opacity ${gd}`
6249
6290
  }
6250
6291
  }), U = M9(Z, {
6251
6292
  referencePress: !1,
@@ -6255,14 +6296,14 @@ const Bc = "_stack_1sg4d_1", jc = "_local_1sg4d_19", Oc = "_snackWrapper_1sg4d_2
6255
6296
  escapeKey: g,
6256
6297
  // Закрывать по ESC
6257
6298
  outsidePressEvent: "click"
6258
- }), { getReferenceProps: N, getFloatingProps: A } = x9([U, R]), Y = !!f, q = H(B1["drop-wrapper"], p), Q = H(B1.toggle, _), d1 = H(
6299
+ }), { getReferenceProps: N, getFloatingProps: n1 } = x9([U, R]), K = !!_, X = H(B1["drop-wrapper"], p), W = H(B1.toggle, f), J = H(
6259
6300
  B1.drop,
6260
- Y ? B1[`drop-with-footer-padding-${v}`] : B1[`drop-padding-${v}`],
6301
+ K ? B1[`drop-with-footer-padding-${v}`] : B1[`drop-padding-${v}`],
6261
6302
  m
6262
- ), H1 = () => {
6303
+ ), L1 = () => {
6263
6304
  i(!o);
6264
6305
  };
6265
- return /* @__PURE__ */ r.jsxs("div", { "data-testid": "drop-wrapper", className: q, style: k, children: [
6306
+ return /* @__PURE__ */ r.jsxs("div", { "data-testid": "drop-wrapper", className: X, style: k, children: [
6266
6307
  /* @__PURE__ */ r.jsx(
6267
6308
  "div",
6268
6309
  {
@@ -6272,47 +6313,47 @@ const Bc = "_stack_1sg4d_1", jc = "_local_1sg4d_19", Oc = "_snackWrapper_1sg4d_2
6272
6313
  "aria-expanded": o,
6273
6314
  tabIndex: 0,
6274
6315
  "data-testid": "drop-toggle",
6275
- className: Q,
6276
- onClick: y ? H1 : void 0,
6316
+ className: W,
6317
+ onClick: y ? L1 : void 0,
6277
6318
  style: b,
6278
6319
  ...N(),
6279
6320
  children: t
6280
6321
  }
6281
6322
  ),
6282
- T && /* @__PURE__ */ r.jsx(H9, { children: /* @__PURE__ */ r.jsxs(
6323
+ D && /* @__PURE__ */ r.jsx(H9, { children: /* @__PURE__ */ r.jsxs(
6283
6324
  "div",
6284
6325
  {
6285
6326
  "aria-hidden": !o,
6286
6327
  "data-testid": "drop-menu",
6287
6328
  "data-drop-state": o ? "open" : "closed",
6288
- "data-drop-position": I,
6289
- className: d1,
6329
+ "data-drop-position": T,
6330
+ className: J,
6290
6331
  style: {
6291
- ...S,
6292
- ...F,
6293
- ...D
6332
+ ...B,
6333
+ ...I,
6334
+ ...A
6294
6335
  },
6295
6336
  ref: O.setFloating,
6296
- ...A(),
6337
+ ...n1(),
6297
6338
  children: [
6298
6339
  /* @__PURE__ */ r.jsx(
6299
- dd,
6340
+ md,
6300
6341
  {
6301
6342
  children: C,
6302
6343
  padding: v,
6303
- hasFooter: Y,
6344
+ hasFooter: K,
6304
6345
  className: w,
6305
6346
  style: x,
6306
6347
  dividerBehavior: l
6307
6348
  }
6308
6349
  ),
6309
- f && /* @__PURE__ */ r.jsx(
6310
- hd,
6350
+ _ && /* @__PURE__ */ r.jsx(
6351
+ pd,
6311
6352
  {
6312
6353
  footerPadding: d,
6313
6354
  className: u,
6314
6355
  style: V,
6315
- children: f
6356
+ children: _
6316
6357
  }
6317
6358
  )
6318
6359
  ]
@@ -6321,44 +6362,44 @@ const Bc = "_stack_1sg4d_1", jc = "_local_1sg4d_19", Oc = "_snackWrapper_1sg4d_2
6321
6362
  ] });
6322
6363
  };
6323
6364
  export {
6324
- fd as Alert,
6365
+ kd as Alert,
6325
6366
  vl as ArrowsIcons,
6326
6367
  L6 as Avatar,
6327
6368
  j2 as Badge,
6328
- f2 as Button,
6369
+ c2 as Button,
6329
6370
  fl as ChartsIcons,
6330
- Hd as Checkbox,
6331
- kd as ConfigProvider,
6371
+ Vd as Checkbox,
6372
+ Hd as ConfigProvider,
6332
6373
  ml as CountryIcons,
6333
6374
  El as DevelopmentIcons,
6334
- Fd as Drop,
6375
+ Dd as Drop,
6335
6376
  pl as EditorIcons,
6336
6377
  wl as GeneralIcons,
6337
6378
  ca as Helper,
6338
6379
  j1 as Icon,
6339
- _d as Image,
6380
+ Md as Image,
6340
6381
  ul as LayoutIcons,
6341
- yd as List,
6382
+ jd as List,
6342
6383
  E2 as Loader,
6343
- vd as Modal,
6384
+ Ed as Modal,
6344
6385
  h7 as Placeholder,
6345
6386
  _l as PrivateIcons,
6346
6387
  kl as ProductIcons,
6347
- Vd as Radio,
6348
- jd as SegmentedControl,
6388
+ Bd as Radio,
6389
+ Wd as SegmentedControl,
6349
6390
  Ml as ServiceIcons,
6350
- Wd as SnackbarProvider,
6351
- Sd as Tabs,
6352
- xd as Tag,
6353
- Zd as TextArea,
6354
- bd as TextInput,
6355
- Bd as Tooltip,
6356
- Od as Trigger,
6391
+ Td as SnackbarProvider,
6392
+ Od as Tabs,
6393
+ Zd as Tag,
6394
+ Sd as TextArea,
6395
+ yd as TextInput,
6396
+ Rd as Tooltip,
6397
+ Fd as Trigger,
6357
6398
  G1 as Typography,
6358
6399
  Ll as UsersIcons,
6359
6400
  M7 as enUS,
6360
- Md as ruRU,
6401
+ bd as ruRU,
6361
6402
  x7 as useConfig,
6362
- Ed as useLocale,
6363
- Rd as useSnackbar
6403
+ xd as useLocale,
6404
+ Id as useSnackbar
6364
6405
  };