skillgrid 0.0.40-dev-34237-snackbar.1261274 → 0.0.41-dev-34237-snackbar.1266720

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 _r from "react";
2
- import Ce, { forwardRef as Q, Fragment as Gt, useState as it, useEffect as G, useRef as gt, useCallback as xt, useMemo as ie, createContext as ke, useContext as Se, useLayoutEffect as pr, useImperativeHandle as Ur, useId as Le, useReducer as Zr } from "react";
2
+ import Ce, { forwardRef as Q, Fragment as Gt, useState as lt, useEffect as G, useRef as gt, useCallback as bt, useMemo as le, createContext as ke, useContext as Se, useLayoutEffect as pr, useImperativeHandle as Ur, useId as Le, useReducer as Zr } from "react";
3
3
  import { clsx as k } from "clsx";
4
4
  import { useFloating as Yr, useTransitionStyles as Gr, useDismiss as Kr, useRole as Jr, useInteractions as Qr, useMergeRefs as tn, FloatingPortal as en, FloatingOverlay as rn, FloatingFocusManager as nn } from "@floating-ui/react";
5
5
  import on from "rc-tooltip";
@@ -7,7 +7,7 @@ import qe from "react-dom";
7
7
  import './index.css';function an(t) {
8
8
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
9
9
  }
10
- var te = { exports: {} }, Vt = {};
10
+ var ee = { exports: {} }, Vt = {};
11
11
  /**
12
12
  * @license React
13
13
  * react-jsx-runtime.production.min.js
@@ -23,11 +23,11 @@ function sn() {
23
23
  Ve = 1;
24
24
  var t = Ce, r = Symbol.for("react.element"), n = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
25
25
  function l(d, g, h) {
26
- var c, x = {}, w = null, u = null;
26
+ var c, b = {}, w = null, u = null;
27
27
  h !== void 0 && (w = "" + h), g.key !== void 0 && (w = "" + g.key), g.ref !== void 0 && (u = g.ref);
28
- for (c in g) s.call(g, c) && !a.hasOwnProperty(c) && (x[c] = g[c]);
29
- if (d && d.defaultProps) for (c in g = d.defaultProps, g) x[c] === void 0 && (x[c] = g[c]);
30
- return { $$typeof: r, type: d, key: w, ref: u, props: x, _owner: i.current };
28
+ for (c in g) s.call(g, c) && !a.hasOwnProperty(c) && (b[c] = g[c]);
29
+ if (d && d.defaultProps) for (c in g = d.defaultProps, g) b[c] === void 0 && (b[c] = g[c]);
30
+ return { $$typeof: r, type: d, key: w, ref: u, props: b, _owner: i.current };
31
31
  }
32
32
  return Vt.Fragment = n, Vt.jsx = l, Vt.jsxs = l, Vt;
33
33
  }
@@ -44,11 +44,11 @@ var Xt = {};
44
44
  var Xe;
45
45
  function ln() {
46
46
  return Xe || (Xe = 1, process.env.NODE_ENV !== "production" && (function() {
47
- var t = Ce, r = Symbol.for("react.element"), n = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), d = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), u = Symbol.for("react.offscreen"), f = Symbol.iterator, b = "@@iterator";
47
+ var t = Ce, r = Symbol.for("react.element"), n = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), d = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), u = Symbol.for("react.offscreen"), f = Symbol.iterator, x = "@@iterator";
48
48
  function _(o) {
49
49
  if (o === null || typeof o != "object")
50
50
  return null;
51
- var v = f && o[f] || o[b];
51
+ var v = f && o[f] || o[x];
52
52
  return typeof v == "function" ? v : null;
53
53
  }
54
54
  var m = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -61,34 +61,34 @@ function ln() {
61
61
  }
62
62
  function y(o, v, L) {
63
63
  {
64
- var R = m.ReactDebugCurrentFrame, F = R.getStackAddendum();
65
- F !== "" && (v += "%s", L = L.concat([F]));
66
- var V = L.map(function(O) {
67
- return String(O);
64
+ var R = m.ReactDebugCurrentFrame, W = R.getStackAddendum();
65
+ W !== "" && (v += "%s", L = L.concat([W]));
66
+ var X = L.map(function(P) {
67
+ return String(P);
68
68
  });
69
- V.unshift("Warning: " + v), Function.prototype.apply.call(console[o], console, V);
69
+ X.unshift("Warning: " + v), Function.prototype.apply.call(console[o], console, X);
70
70
  }
71
71
  }
72
- var S = !1, $ = !1, C = !1, j = !1, E = !1, I;
72
+ var S = !1, $ = !1, C = !1, j = !1, T = !1, I;
73
73
  I = Symbol.for("react.module.reference");
74
74
  function M(o) {
75
- return !!(typeof o == "string" || typeof o == "function" || o === s || o === a || E || o === i || o === h || o === c || j || o === u || S || $ || C || typeof o == "object" && o !== null && (o.$$typeof === w || o.$$typeof === x || o.$$typeof === l || o.$$typeof === d || o.$$typeof === g || // This needs to include all possible module reference object
75
+ return !!(typeof o == "string" || typeof o == "function" || o === s || o === a || T || o === i || o === h || o === c || j || o === u || S || $ || C || typeof o == "object" && o !== null && (o.$$typeof === w || o.$$typeof === b || o.$$typeof === l || o.$$typeof === d || o.$$typeof === g || // This needs to include all possible module reference object
76
76
  // types supported by any Flight configuration anywhere since
77
77
  // we don't know which Flight build this will end up being used
78
78
  // with.
79
79
  o.$$typeof === I || o.getModuleId !== void 0));
80
80
  }
81
- function z(o, v, L) {
81
+ function D(o, v, L) {
82
82
  var R = o.displayName;
83
83
  if (R)
84
84
  return R;
85
- var F = v.displayName || v.name || "";
86
- return F !== "" ? L + "(" + F + ")" : L;
85
+ var W = v.displayName || v.name || "";
86
+ return W !== "" ? L + "(" + W + ")" : L;
87
87
  }
88
- function D(o) {
88
+ function F(o) {
89
89
  return o.displayName || "Context";
90
90
  }
91
- function T(o) {
91
+ function E(o) {
92
92
  if (o == null)
93
93
  return null;
94
94
  if (typeof o.tag == "number" && p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof o == "function")
@@ -113,19 +113,19 @@ function ln() {
113
113
  switch (o.$$typeof) {
114
114
  case d:
115
115
  var v = o;
116
- return D(v) + ".Consumer";
116
+ return F(v) + ".Consumer";
117
117
  case l:
118
118
  var L = o;
119
- return D(L._context) + ".Provider";
119
+ return F(L._context) + ".Provider";
120
120
  case g:
121
- return z(o, o.render, "ForwardRef");
122
- case x:
121
+ return D(o, o.render, "ForwardRef");
122
+ case b:
123
123
  var R = o.displayName || null;
124
- return R !== null ? R : T(o.type) || "Memo";
124
+ return R !== null ? R : E(o.type) || "Memo";
125
125
  case w: {
126
- var F = o, V = F._payload, O = F._init;
126
+ var W = o, X = W._payload, P = W._init;
127
127
  try {
128
- return T(O(V));
128
+ return E(P(X));
129
129
  } catch {
130
130
  return null;
131
131
  }
@@ -133,14 +133,14 @@ function ln() {
133
133
  }
134
134
  return null;
135
135
  }
136
- var N = Object.assign, W = 0, H, X, Y, P, K, U, tt;
136
+ var N = Object.assign, z = 0, H, U, Y, nt, O, V, K;
137
137
  function ct() {
138
138
  }
139
139
  ct.__reactDisabledLog = !0;
140
140
  function $t() {
141
141
  {
142
- if (W === 0) {
143
- H = console.log, X = console.info, Y = console.warn, P = console.error, K = console.group, U = console.groupCollapsed, tt = console.groupEnd;
142
+ if (z === 0) {
143
+ H = console.log, U = console.info, Y = console.warn, nt = console.error, O = console.group, V = console.groupCollapsed, K = console.groupEnd;
144
144
  var o = {
145
145
  configurable: !0,
146
146
  enumerable: !0,
@@ -157,12 +157,12 @@ function ln() {
157
157
  groupEnd: o
158
158
  });
159
159
  }
160
- W++;
160
+ z++;
161
161
  }
162
162
  }
163
163
  function Ct() {
164
164
  {
165
- if (W--, W === 0) {
165
+ if (z--, z === 0) {
166
166
  var o = {
167
167
  configurable: !0,
168
168
  enumerable: !0,
@@ -173,49 +173,49 @@ function ln() {
173
173
  value: H
174
174
  }),
175
175
  info: N({}, o, {
176
- value: X
176
+ value: U
177
177
  }),
178
178
  warn: N({}, o, {
179
179
  value: Y
180
180
  }),
181
181
  error: N({}, o, {
182
- value: P
182
+ value: nt
183
183
  }),
184
184
  group: N({}, o, {
185
- value: K
185
+ value: O
186
186
  }),
187
187
  groupCollapsed: N({}, o, {
188
- value: U
188
+ value: V
189
189
  }),
190
190
  groupEnd: N({}, o, {
191
- value: tt
191
+ value: K
192
192
  })
193
193
  });
194
194
  }
195
- W < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
195
+ z < 0 && p("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
196
196
  }
197
197
  }
198
- var dt = m.ReactCurrentDispatcher, Nt;
198
+ var ut = m.ReactCurrentDispatcher, Nt;
199
199
  function ht(o, v, L) {
200
200
  {
201
201
  if (Nt === void 0)
202
202
  try {
203
203
  throw Error();
204
- } catch (F) {
205
- var R = F.stack.trim().match(/\n( *(at )?)/);
204
+ } catch (W) {
205
+ var R = W.stack.trim().match(/\n( *(at )?)/);
206
206
  Nt = R && R[1] || "";
207
207
  }
208
208
  return `
209
209
  ` + Nt + o;
210
210
  }
211
211
  }
212
- var Kt = !1, Pt;
212
+ var Jt = !1, Pt;
213
213
  {
214
214
  var de = typeof WeakMap == "function" ? WeakMap : Map;
215
215
  Pt = new de();
216
216
  }
217
- function Jt(o, v) {
218
- if (!o || Kt)
217
+ function Qt(o, v) {
218
+ if (!o || Jt)
219
219
  return "";
220
220
  {
221
221
  var L = Pt.get(o);
@@ -223,70 +223,70 @@ function ln() {
223
223
  return L;
224
224
  }
225
225
  var R;
226
- Kt = !0;
227
- var F = Error.prepareStackTrace;
226
+ Jt = !0;
227
+ var W = Error.prepareStackTrace;
228
228
  Error.prepareStackTrace = void 0;
229
- var V;
230
- V = dt.current, dt.current = null, $t();
229
+ var X;
230
+ X = ut.current, ut.current = null, $t();
231
231
  try {
232
232
  if (v) {
233
- var O = function() {
233
+ var P = function() {
234
234
  throw Error();
235
235
  };
236
- if (Object.defineProperty(O.prototype, "props", {
236
+ if (Object.defineProperty(P.prototype, "props", {
237
237
  set: function() {
238
238
  throw Error();
239
239
  }
240
240
  }), typeof Reflect == "object" && Reflect.construct) {
241
241
  try {
242
- Reflect.construct(O, []);
243
- } catch (ut) {
244
- R = ut;
242
+ Reflect.construct(P, []);
243
+ } catch (_t) {
244
+ R = _t;
245
245
  }
246
- Reflect.construct(o, [], O);
246
+ Reflect.construct(o, [], P);
247
247
  } else {
248
248
  try {
249
- O.call();
250
- } catch (ut) {
251
- R = ut;
249
+ P.call();
250
+ } catch (_t) {
251
+ R = _t;
252
252
  }
253
- o.call(O.prototype);
253
+ o.call(P.prototype);
254
254
  }
255
255
  } else {
256
256
  try {
257
257
  throw Error();
258
- } catch (ut) {
259
- R = ut;
258
+ } catch (_t) {
259
+ R = _t;
260
260
  }
261
261
  o();
262
262
  }
263
- } catch (ut) {
264
- if (ut && R && typeof ut.stack == "string") {
265
- for (var A = ut.stack.split(`
266
- `), lt = R.stack.split(`
267
- `), J = A.length - 1, et = lt.length - 1; J >= 1 && et >= 0 && A[J] !== lt[et]; )
268
- et--;
269
- for (; J >= 1 && et >= 0; J--, et--)
270
- if (A[J] !== lt[et]) {
271
- if (J !== 1 || et !== 1)
263
+ } catch (_t) {
264
+ if (_t && R && typeof _t.stack == "string") {
265
+ for (var A = _t.stack.split(`
266
+ `), dt = R.stack.split(`
267
+ `), J = A.length - 1, tt = dt.length - 1; J >= 1 && tt >= 0 && A[J] !== dt[tt]; )
268
+ tt--;
269
+ for (; J >= 1 && tt >= 0; J--, tt--)
270
+ if (A[J] !== dt[tt]) {
271
+ if (J !== 1 || tt !== 1)
272
272
  do
273
- if (J--, et--, et < 0 || A[J] !== lt[et]) {
273
+ if (J--, tt--, tt < 0 || A[J] !== dt[tt]) {
274
274
  var yt = `
275
275
  ` + A[J].replace(" at new ", " at ");
276
276
  return o.displayName && yt.includes("<anonymous>") && (yt = yt.replace("<anonymous>", o.displayName)), typeof o == "function" && Pt.set(o, yt), yt;
277
277
  }
278
- while (J >= 1 && et >= 0);
278
+ while (J >= 1 && tt >= 0);
279
279
  break;
280
280
  }
281
281
  }
282
282
  } finally {
283
- Kt = !1, dt.current = V, Ct(), Error.prepareStackTrace = F;
283
+ Jt = !1, ut.current = X, Ct(), Error.prepareStackTrace = W;
284
284
  }
285
285
  var Dt = o ? o.displayName || o.name : "", At = Dt ? ht(Dt) : "";
286
286
  return typeof o == "function" && Pt.set(o, At), At;
287
287
  }
288
288
  function ue(o, v, L) {
289
- return Jt(o, !1);
289
+ return Qt(o, !1);
290
290
  }
291
291
  function _e(o) {
292
292
  var v = o.prototype;
@@ -296,7 +296,7 @@ function ln() {
296
296
  if (o == null)
297
297
  return "";
298
298
  if (typeof o == "function")
299
- return Jt(o, _e(o));
299
+ return Qt(o, _e(o));
300
300
  if (typeof o == "string")
301
301
  return ht(o);
302
302
  switch (o) {
@@ -309,12 +309,12 @@ function ln() {
309
309
  switch (o.$$typeof) {
310
310
  case g:
311
311
  return ue(o.render);
312
- case x:
312
+ case b:
313
313
  return ot(o.type, v, L);
314
314
  case w: {
315
- var R = o, F = R._payload, V = R._init;
315
+ var R = o, W = R._payload, X = R._init;
316
316
  try {
317
- return ot(V(F), v, L);
317
+ return ot(X(W), v, L);
318
318
  } catch {
319
319
  }
320
320
  }
@@ -322,29 +322,29 @@ function ln() {
322
322
  return "";
323
323
  }
324
324
  var at = Object.prototype.hasOwnProperty, kt = {}, Ie = m.ReactDebugCurrentFrame;
325
- function Qt(o) {
325
+ function te(o) {
326
326
  if (o) {
327
327
  var v = o._owner, L = ot(o.type, o._source, v ? v.type : null);
328
328
  Ie.setExtraStackFrame(L);
329
329
  } else
330
330
  Ie.setExtraStackFrame(null);
331
331
  }
332
- function Sr(o, v, L, R, F) {
332
+ function Sr(o, v, L, R, W) {
333
333
  {
334
- var V = Function.call.bind(at);
335
- for (var O in o)
336
- if (V(o, O)) {
334
+ var X = Function.call.bind(at);
335
+ for (var P in o)
336
+ if (X(o, P)) {
337
337
  var A = void 0;
338
338
  try {
339
- if (typeof o[O] != "function") {
340
- var lt = Error((R || "React class") + ": " + L + " type `" + O + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[O] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
341
- throw lt.name = "Invariant Violation", lt;
339
+ if (typeof o[P] != "function") {
340
+ var dt = Error((R || "React class") + ": " + L + " type `" + P + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[P] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
341
+ throw dt.name = "Invariant Violation", dt;
342
342
  }
343
- A = o[O](v, O, R, L, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
343
+ A = o[P](v, P, R, L, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
344
344
  } catch (J) {
345
345
  A = J;
346
346
  }
347
- A && !(A instanceof Error) && (Qt(F), p("%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).", R || "React class", L, O, typeof A), Qt(null)), A instanceof Error && !(A.message in kt) && (kt[A.message] = !0, Qt(F), p("Failed %s type: %s", L, A.message), Qt(null));
347
+ A && !(A instanceof Error) && (te(W), p("%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).", R || "React class", L, P, typeof A), te(null)), A instanceof Error && !(A.message in kt) && (kt[A.message] = !0, te(W), p("Failed %s type: %s", L, A.message), te(null));
348
348
  }
349
349
  }
350
350
  }
@@ -419,7 +419,7 @@ function ln() {
419
419
  });
420
420
  }
421
421
  }
422
- var Ar = function(o, v, L, R, F, V, O) {
422
+ var Ar = function(o, v, L, R, W, X, P) {
423
423
  var A = {
424
424
  // This tag allows us to uniquely identify this as a React Element
425
425
  $$typeof: r,
@@ -427,9 +427,9 @@ function ln() {
427
427
  type: o,
428
428
  key: v,
429
429
  ref: L,
430
- props: O,
430
+ props: P,
431
431
  // Record the component responsible for creating this element.
432
- _owner: V
432
+ _owner: X
433
433
  };
434
434
  return A._store = {}, Object.defineProperty(A._store, "validated", {
435
435
  configurable: !1,
@@ -445,25 +445,25 @@ function ln() {
445
445
  configurable: !1,
446
446
  enumerable: !1,
447
447
  writable: !1,
448
- value: F
448
+ value: W
449
449
  }), Object.freeze && (Object.freeze(A.props), Object.freeze(A)), A;
450
450
  };
451
- function Br(o, v, L, R, F) {
451
+ function Br(o, v, L, R, W) {
452
452
  {
453
- var V, O = {}, A = null, lt = null;
454
- L !== void 0 && (Ne(L), A = "" + L), Ir(v) && (Ne(v.key), A = "" + v.key), Er(v) && (lt = v.ref, Rr(v, F));
455
- for (V in v)
456
- at.call(v, V) && !Tr.hasOwnProperty(V) && (O[V] = v[V]);
453
+ var X, P = {}, A = null, dt = null;
454
+ L !== void 0 && (Ne(L), A = "" + L), Ir(v) && (Ne(v.key), A = "" + v.key), Er(v) && (dt = v.ref, Rr(v, W));
455
+ for (X in v)
456
+ at.call(v, X) && !Tr.hasOwnProperty(X) && (P[X] = v[X]);
457
457
  if (o && o.defaultProps) {
458
458
  var J = o.defaultProps;
459
- for (V in J)
460
- O[V] === void 0 && (O[V] = J[V]);
459
+ for (X in J)
460
+ P[X] === void 0 && (P[X] = J[X]);
461
461
  }
462
- if (A || lt) {
463
- var et = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
464
- A && Nr(O, et), lt && Mr(O, et);
462
+ if (A || dt) {
463
+ var tt = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
464
+ A && Nr(P, tt), dt && Mr(P, tt);
465
465
  }
466
- return Ar(o, A, lt, F, R, Me.current, O);
466
+ return Ar(o, A, dt, W, R, Me.current, P);
467
467
  }
468
468
  }
469
469
  var fe = m.ReactCurrentOwner, Oe = m.ReactDebugCurrentFrame;
@@ -482,7 +482,7 @@ function ln() {
482
482
  function Pe() {
483
483
  {
484
484
  if (fe.current) {
485
- var o = T(fe.current.type);
485
+ var o = E(fe.current.type);
486
486
  if (o)
487
487
  return `
488
488
 
@@ -517,7 +517,7 @@ Check the top-level render call using <` + L + ">.");
517
517
  return;
518
518
  ze[L] = !0;
519
519
  var R = "";
520
- o && o._owner && o._owner !== fe.current && (R = " It was passed a child from " + T(o._owner.type) + "."), zt(o), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', L, R), zt(null);
520
+ o && o._owner && o._owner !== fe.current && (R = " It was passed a child from " + E(o._owner.type) + "."), zt(o), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', L, R), zt(null);
521
521
  }
522
522
  }
523
523
  function Fe(o, v) {
@@ -532,10 +532,10 @@ Check the top-level render call using <` + L + ">.");
532
532
  else if (he(o))
533
533
  o._store && (o._store.validated = !0);
534
534
  else if (o) {
535
- var F = _(o);
536
- if (typeof F == "function" && F !== o.entries)
537
- for (var V = F.call(o), O; !(O = V.next()).done; )
538
- he(O.value) && De(O.value, v);
535
+ var W = _(o);
536
+ if (typeof W == "function" && W !== o.entries)
537
+ for (var X = W.call(o), P; !(P = X.next()).done; )
538
+ he(P.value) && De(P.value, v);
539
539
  }
540
540
  }
541
541
  }
@@ -549,17 +549,17 @@ Check the top-level render call using <` + L + ">.");
549
549
  L = v.propTypes;
550
550
  else if (typeof v == "object" && (v.$$typeof === g || // Note: Memo only checks outer props here.
551
551
  // Inner props are checked in the reconciler.
552
- v.$$typeof === x))
552
+ v.$$typeof === b))
553
553
  L = v.propTypes;
554
554
  else
555
555
  return;
556
556
  if (L) {
557
- var R = T(v);
557
+ var R = E(v);
558
558
  Sr(L, o.props, "prop", R, o);
559
559
  } else if (v.PropTypes !== void 0 && !ge) {
560
560
  ge = !0;
561
- var F = T(v);
562
- p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", F || "Unknown");
561
+ var W = E(v);
562
+ p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", W || "Unknown");
563
563
  }
564
564
  typeof v.getDefaultProps == "function" && !v.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
565
565
  }
@@ -577,21 +577,21 @@ Check the top-level render call using <` + L + ">.");
577
577
  }
578
578
  }
579
579
  var We = {};
580
- function He(o, v, L, R, F, V) {
580
+ function He(o, v, L, R, W, X) {
581
581
  {
582
- var O = M(o);
583
- if (!O) {
582
+ var P = M(o);
583
+ if (!P) {
584
584
  var A = "";
585
585
  (o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && (A += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
586
- var lt = Or();
587
- lt ? A += lt : A += Pe();
586
+ var dt = Or();
587
+ dt ? A += dt : A += Pe();
588
588
  var J;
589
- o === null ? J = "null" : pe(o) ? J = "array" : o !== void 0 && o.$$typeof === r ? (J = "<" + (T(o.type) || "Unknown") + " />", A = " Did you accidentally export a JSX literal instead of a component?") : J = typeof o, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", J, A);
589
+ o === null ? J = "null" : pe(o) ? J = "array" : o !== void 0 && o.$$typeof === r ? (J = "<" + (E(o.type) || "Unknown") + " />", A = " Did you accidentally export a JSX literal instead of a component?") : J = typeof o, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", J, A);
590
590
  }
591
- var et = Br(o, v, L, F, V);
592
- if (et == null)
593
- return et;
594
- if (O) {
591
+ var tt = Br(o, v, L, W, X);
592
+ if (tt == null)
593
+ return tt;
594
+ if (P) {
595
595
  var yt = v.children;
596
596
  if (yt !== void 0)
597
597
  if (R)
@@ -605,11 +605,11 @@ Check the top-level render call using <` + L + ">.");
605
605
  Fe(yt, o);
606
606
  }
607
607
  if (at.call(v, "key")) {
608
- var At = T(o), ut = Object.keys(v).filter(function(Xr) {
608
+ var At = E(o), _t = Object.keys(v).filter(function(Xr) {
609
609
  return Xr !== "key";
610
- }), me = ut.length > 0 ? "{key: someKey, " + ut.join(": ..., ") + ": ...}" : "{key: someKey}";
610
+ }), me = _t.length > 0 ? "{key: someKey, " + _t.join(": ..., ") + ": ...}" : "{key: someKey}";
611
611
  if (!We[At + me]) {
612
- var Vr = ut.length > 0 ? "{" + ut.join(": ..., ") + ": ...}" : "{}";
612
+ var Vr = _t.length > 0 ? "{" + _t.join(": ..., ") + ": ...}" : "{}";
613
613
  p(`A props object containing a "key" prop is being spread into JSX:
614
614
  let props = %s;
615
615
  <%s {...props} />
@@ -618,7 +618,7 @@ React keys must be passed directly to JSX without using spread:
618
618
  <%s key={someKey} {...props} />`, me, At, Vr, At), We[At + me] = !0;
619
619
  }
620
620
  }
621
- return o === s ? Dr(et) : zr(et), et;
621
+ return o === s ? Dr(tt) : zr(tt), tt;
622
622
  }
623
623
  }
624
624
  function Fr(o, v, L) {
@@ -633,17 +633,17 @@ React keys must be passed directly to JSX without using spread:
633
633
  }
634
634
  var Ue;
635
635
  function cn() {
636
- return Ue || (Ue = 1, process.env.NODE_ENV === "production" ? te.exports = sn() : te.exports = ln()), te.exports;
636
+ return Ue || (Ue = 1, process.env.NODE_ENV === "production" ? ee.exports = sn() : ee.exports = ln()), ee.exports;
637
637
  }
638
638
  var e = cn();
639
- const dn = (t) => t.as === "a", un = (t) => t.as === void 0 || t.as === "button", Ze = (t) => t.displayAs === void 0 || t.displayAs === "button", _n = (t) => t.displayAs === "link", pn = "_button_11kkg_1", fn = "_link_11kkg_22", gn = "_disabled_11kkg_27", hn = "_loading_11kkg_27", mn = "_neutral_11kkg_59", xn = "_accent_11kkg_63", bn = "_positive_11kkg_67", yn = "_negative_11kkg_71", vn = "_contrast_11kkg_75", wn = "_primary_11kkg_79", Cn = "_secondary_11kkg_80", kn = "_tertiary_11kkg_81", Sn = "_gray_11kkg_91", Ln = "_spaceBetween_11kkg_119", jn = "_rightGroup_11kkg_119", $n = "_withSubcaption_11kkg_127", Tn = "_label_11kkg_139", En = "_icon_11kkg_148", In = "_labelText_11kkg_153", Rn = "_isLink_11kkg_159", Nn = "_iconOnly_11kkg_174", Mn = "_stretched_11kkg_190", An = "_postfix_11kkg_195", Bn = "_underline_11kkg_225", On = "_backButton_11kkg_428", Pn = "_warning_11kkg_1159", zn = "_subcaption_11kkg_1389", Dn = "_content_11kkg_1394", Fn = "_contentHidden_11kkg_1398", Wn = "_loaderWrapper_11kkg_1402", Hn = "_l_11kkg_22", qn = "_m_11kkg_1441", Vn = "_s_11kkg_80", Xn = "_xs_11kkg_1484", Un = "_noPaddings_11kkg_1506", Zn = "_iconRight_11kkg_1542", Yn = "_spin_11kkg_1", q = {
639
+ const dn = (t) => t.as === "a", un = (t) => t.as === void 0 || t.as === "button", Ze = (t) => t.displayAs === void 0 || t.displayAs === "button", _n = (t) => t.displayAs === "link", pn = "_button_11kkg_1", fn = "_link_11kkg_22", gn = "_disabled_11kkg_27", hn = "_loading_11kkg_27", mn = "_neutral_11kkg_59", bn = "_accent_11kkg_63", xn = "_positive_11kkg_67", yn = "_negative_11kkg_71", vn = "_contrast_11kkg_75", wn = "_primary_11kkg_79", Cn = "_secondary_11kkg_80", kn = "_tertiary_11kkg_81", Sn = "_gray_11kkg_91", Ln = "_spaceBetween_11kkg_119", jn = "_rightGroup_11kkg_119", $n = "_withSubcaption_11kkg_127", Tn = "_label_11kkg_139", En = "_icon_11kkg_148", In = "_labelText_11kkg_153", Rn = "_isLink_11kkg_159", Nn = "_iconOnly_11kkg_174", Mn = "_stretched_11kkg_190", An = "_postfix_11kkg_195", Bn = "_underline_11kkg_225", On = "_backButton_11kkg_428", Pn = "_warning_11kkg_1159", zn = "_subcaption_11kkg_1389", Dn = "_content_11kkg_1394", Fn = "_contentHidden_11kkg_1398", Wn = "_loaderWrapper_11kkg_1402", Hn = "_l_11kkg_22", qn = "_m_11kkg_1441", Vn = "_s_11kkg_80", Xn = "_xs_11kkg_1484", Un = "_noPaddings_11kkg_1506", Zn = "_iconRight_11kkg_1542", Yn = "_spin_11kkg_1", q = {
640
640
  button: pn,
641
641
  link: fn,
642
642
  disabled: gn,
643
643
  loading: hn,
644
644
  neutral: mn,
645
- accent: xn,
646
- positive: bn,
645
+ accent: bn,
646
+ positive: xn,
647
647
  negative: yn,
648
648
  contrast: vn,
649
649
  primary: wn,
@@ -709,7 +709,7 @@ function Jn(t) {
709
709
  const Qn = (t, r, n) => t ? "gray" : r === "primary" ? {
710
710
  contrast: "neutral",
711
711
  gray: "gray"
712
- }[n] ?? "contrast" : n === "warning" ? "neutral" : n, rt = {
712
+ }[n] ?? "contrast" : n === "warning" ? "neutral" : n, et = {
713
713
  "typography-title-1-semibold": "_typography-title-1-semibold_1lyxn_1",
714
714
  "typography-title-2-semibold": "_typography-title-2-semibold_1lyxn_10",
715
715
  "typography-title-3-semibold": "_typography-title-3-semibold_1lyxn_19",
@@ -751,7 +751,7 @@ const Qn = (t, r, n) => t ? "gray" : r === "primary" ? {
751
751
  "size-64": "_size-64_isv17_84",
752
752
  "size-96": "_size-96_isv17_88"
753
753
  };
754
- var xe = { exports: {} };
754
+ var be = { exports: {} };
755
755
  /*!
756
756
  Copyright (c) 2018 Jed Watson.
757
757
  Licensed under the MIT License (MIT), see
@@ -788,10 +788,10 @@ function _o() {
788
788
  }
789
789
  t.exports ? (n.default = n, t.exports = n) : window.classNames = n;
790
790
  })();
791
- })(xe)), xe.exports;
791
+ })(be)), be.exports;
792
792
  }
793
793
  var po = _o();
794
- const jt = /* @__PURE__ */ an(po), fr = Q(
794
+ const Lt = /* @__PURE__ */ an(po), fr = Q(
795
795
  ({
796
796
  size: t = 24,
797
797
  variant: r = "accent",
@@ -800,7 +800,7 @@ const jt = /* @__PURE__ */ an(po), fr = Q(
800
800
  style: i,
801
801
  ...a
802
802
  }, l) => {
803
- const d = jt(
803
+ const d = Lt(
804
804
  Yt.loader,
805
805
  Yt[r],
806
806
  Yt[`size-${t}`],
@@ -839,7 +839,7 @@ const jt = /* @__PURE__ */ an(po), fr = Q(
839
839
  style: d,
840
840
  "data-testid": g,
841
841
  ...h
842
- } = t, c = jt(Yt.container, l);
842
+ } = t, c = Lt(Yt.container, l);
843
843
  return /* @__PURE__ */ e.jsxs("div", { ref: r, className: c, style: d, "data-testid": g, ...h, children: [
844
844
  a,
845
845
  n && /* @__PURE__ */ e.jsx("div", { className: Yt.overlay, children: /* @__PURE__ */ e.jsx(fr, { size: s, variant: i, "data-testid": `${g}-spinner` }) })
@@ -898,7 +898,7 @@ const jt = /* @__PURE__ */ an(po), fr = Q(
898
898
  "span",
899
899
  {
900
900
  "data-testid": "button-subcaption",
901
- className: k(q.subcaption, rt["typography-label-4-regular"]),
901
+ className: k(q.subcaption, et["typography-label-4-regular"]),
902
902
  children: i
903
903
  }
904
904
  )
@@ -913,7 +913,7 @@ const jt = /* @__PURE__ */ an(po), fr = Q(
913
913
  "span",
914
914
  {
915
915
  "data-testid": "button-postfix",
916
- className: k(q.postfix, rt["typography-subtitle-2-semibold"]),
916
+ className: k(q.postfix, et["typography-subtitle-2-semibold"]),
917
917
  children: s
918
918
  }
919
919
  ) })
@@ -927,22 +927,22 @@ const jt = /* @__PURE__ */ an(po), fr = Q(
927
927
  className: l,
928
928
  children: d,
929
929
  tabIndex: g
930
- } = t, h = n === "tertiary", c = Ze(t), x = _n(t), w = h && "paddings" in t ? t.paddings ?? !0 : !0, u = c ? t.subcaption : void 0, f = c ? t.postfix : void 0, b = c ? t.stretched : void 0, _ = !(x && t.size === void 0), m = x && _ ? t.iconLeft : void 0, p = x && _ ? t.iconRight : void 0, y = !!(c && "loading" in t && t.loading), S = c ? a : a || y, $ = !S && !y, C = c ? t.iconLeft : void 0, j = !!(!d && (c && C && !f || x && p)), E = typeof b == "object" ? b.justify === "space-between" : void 0, I = mo(s), M = rt[I], z = x ? Jn(t.size ?? "m") : void 0, D = z ? rt[z] : void 0, T = Qn(S, n, i), N = S || y ? -1 : g, W = k(
930
+ } = t, h = n === "tertiary", c = Ze(t), b = _n(t), w = h && "paddings" in t ? t.paddings ?? !0 : !0, u = c ? t.subcaption : void 0, f = c ? t.postfix : void 0, x = c ? t.stretched : void 0, _ = !(b && t.size === void 0), m = b && _ ? t.iconLeft : void 0, p = b && _ ? t.iconRight : void 0, y = !!(c && "loading" in t && t.loading), S = c ? a : a || y, $ = !S && !y, C = c ? t.iconLeft : void 0, j = !!(!d && (c && C && !f || b && p)), T = typeof x == "object" ? x.justify === "space-between" : void 0, I = mo(s), M = et[I], D = b ? Jn(t.size ?? "m") : void 0, F = D ? et[D] : void 0, E = Qn(S, n, i), N = S || y ? -1 : g, z = k(
931
931
  q.button,
932
932
  q[s],
933
933
  q[n],
934
934
  q[i],
935
- x && D,
935
+ b && F,
936
936
  c && M,
937
937
  {
938
938
  [q.disabled]: S,
939
939
  [q.loading]: c && "loading" in t && t.loading,
940
- [q.stretched]: b,
941
- [q.spaceBetween]: E,
940
+ [q.stretched]: x,
941
+ [q.spaceBetween]: T,
942
942
  [q.withSubcaption]: !!(u && s === "l" && d),
943
943
  [q.iconOnly]: j,
944
- [q.link]: x,
945
- [q.underline]: x && "showUnderline" in t && t.showUnderline,
944
+ [q.link]: b,
945
+ [q.underline]: b && "showUnderline" in t && t.showUnderline,
946
946
  [q.noPaddings]: h && c && !w
947
947
  },
948
948
  l
@@ -956,11 +956,11 @@ const jt = /* @__PURE__ */ an(po), fr = Q(
956
956
  isAsButton: c
957
957
  };
958
958
  if (dn(t)) {
959
- const { href: X, onClick: Y, style: P, target: K, rel: U, "data-testid": tt, ...ct } = t, $t = Ye(ct), Ct = K ?? (t.isExternal ? "_blank" : void 0);
960
- let dt = U;
959
+ const { href: U, onClick: Y, style: nt, target: O, rel: V, "data-testid": K, ...ct } = t, $t = Ye(ct), Ct = O ?? (t.isExternal ? "_blank" : void 0);
960
+ let ut = V;
961
961
  if (Ct === "_blank") {
962
- const ht = new Set((U ?? "").split(/\s+/).filter(Boolean));
963
- ht.add("noopener").add("noreferrer"), dt = Array.from(ht).join(" ");
962
+ const ht = new Set((V ?? "").split(/\s+/).filter(Boolean));
963
+ ht.add("noopener").add("noreferrer"), ut = Array.from(ht).join(" ");
964
964
  }
965
965
  const Nt = (ht) => {
966
966
  if (!$) {
@@ -973,43 +973,43 @@ const jt = /* @__PURE__ */ an(po), fr = Q(
973
973
  "a",
974
974
  {
975
975
  ref: r,
976
- className: W,
977
- href: $ ? X : void 0,
976
+ className: z,
977
+ href: $ ? U : void 0,
978
978
  tabIndex: N,
979
979
  onClick: Nt,
980
- "data-testid": tt,
980
+ "data-testid": K,
981
981
  "aria-disabled": S || y,
982
- style: P,
982
+ style: nt,
983
983
  target: Ct,
984
- rel: dt,
984
+ rel: ut,
985
985
  ...$t,
986
986
  children: /* @__PURE__ */ e.jsx(Ke, { ...H })
987
987
  }
988
988
  );
989
989
  }
990
990
  if (un(t)) {
991
- const { type: X = "button", onClick: Y, style: P, "data-testid": K, ...U } = t, tt = Ye(U), ct = s === "l" ? 24 : 16, $t = (Ct) => {
991
+ const { type: U = "button", onClick: Y, style: nt, "data-testid": O, ...V } = t, K = Ye(V), ct = s === "l" ? 24 : 16, $t = (Ct) => {
992
992
  $ && Y && Y(Ct);
993
993
  };
994
994
  return /* @__PURE__ */ e.jsxs(
995
995
  "button",
996
996
  {
997
997
  ref: r,
998
- type: X,
999
- className: W,
998
+ type: U,
999
+ className: z,
1000
1000
  disabled: S,
1001
1001
  tabIndex: N,
1002
1002
  onClick: $t,
1003
- "data-testid": K,
1003
+ "data-testid": O,
1004
1004
  "aria-disabled": S || y,
1005
- style: P,
1006
- ...tt,
1005
+ style: nt,
1006
+ ...K,
1007
1007
  children: [
1008
1008
  /* @__PURE__ */ e.jsx("div", { className: k(q.content, { [q.contentHidden]: y }), children: /* @__PURE__ */ e.jsx(Ke, { ...H }) }),
1009
1009
  y && /* @__PURE__ */ e.jsx("div", { className: q.loaderWrapper, children: /* @__PURE__ */ e.jsx(
1010
1010
  je,
1011
1011
  {
1012
- variant: T,
1012
+ variant: E,
1013
1013
  "aria-hidden": "true",
1014
1014
  "data-testid": "button-loader",
1015
1015
  size: ct
@@ -1031,17 +1031,17 @@ const gr = Q(
1031
1031
  buttonStyle: "neutral",
1032
1032
  size: "m",
1033
1033
  iconLeft: n ?? /* @__PURE__ */ e.jsx(go, {}),
1034
- className: k(q.backButton, rt["typography-subtitle-1-semibold"], s)
1034
+ className: k(q.backButton, et["typography-subtitle-1-semibold"], s)
1035
1035
  };
1036
1036
  return /* @__PURE__ */ e.jsx($e, { ref: r, ...l });
1037
1037
  }
1038
1038
  );
1039
1039
  gr.displayName = "Button.Back";
1040
- const le = Object.assign($e, {
1040
+ const Kt = Object.assign($e, {
1041
1041
  Back: gr
1042
- }), xo = "_avatar_19ug4_18", bo = "_clickable_19ug4_40", yo = "_icon_19ug4_57", vo = "_disabled_19ug4_62", wo = "_loading_19ug4_67", Co = "_image_19ug4_73", ko = "_name_19ug4_73", Lt = {
1043
- avatar: xo,
1044
- clickable: bo,
1042
+ }), bo = "_avatar_19ug4_18", xo = "_clickable_19ug4_40", yo = "_icon_19ug4_57", vo = "_disabled_19ug4_62", wo = "_loading_19ug4_67", Co = "_image_19ug4_73", ko = "_name_19ug4_73", jt = {
1043
+ avatar: bo,
1044
+ clickable: xo,
1045
1045
  icon: yo,
1046
1046
  disabled: vo,
1047
1047
  loading: wo,
@@ -1126,7 +1126,7 @@ const Mo = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
1126
1126
  female: Ao,
1127
1127
  org: Oo,
1128
1128
  neutral: Bo
1129
- }, ae = Q((t, r) => {
1129
+ }, se = Q((t, r) => {
1130
1130
  const {
1131
1131
  style: n,
1132
1132
  size: s = 40,
@@ -1137,41 +1137,41 @@ const Mo = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
1137
1137
  placeholderType: g = "neutral",
1138
1138
  name: h,
1139
1139
  imgSrc: c,
1140
- imgAlt: x,
1140
+ imgAlt: b,
1141
1141
  icon: w,
1142
1142
  imgProps: u,
1143
1143
  colorScheme: f,
1144
- className: b,
1144
+ className: x,
1145
1145
  "data-testid": _,
1146
1146
  ...m
1147
- } = t, { onClick: p, onPointerDown: y } = m, $ = !a && !i && (!!p || !!y), [C, j] = it(!1);
1147
+ } = t, { onClick: p, onPointerDown: y } = m, $ = !a && !i && (!!p || !!y), [C, j] = lt(!1);
1148
1148
  G(() => {
1149
1149
  c && j(!1);
1150
1150
  }, [c]);
1151
- const E = c && !C ? "image" : w ? "icon" : h ? "name" : "placeholder", I = f || E === "name" && $o(h) || "gray", M = No(s), z = Io(s, l), D = k(
1152
- b,
1153
- Lt.avatar,
1154
- Lt[`variant-${d}`],
1155
- Lt[`color-${I}`],
1156
- rt[M],
1151
+ const T = c && !C ? "image" : w ? "icon" : h ? "name" : "placeholder", I = f || T === "name" && $o(h) || "gray", M = No(s), D = Io(s, l), F = k(
1152
+ x,
1153
+ jt.avatar,
1154
+ jt[`variant-${d}`],
1155
+ jt[`color-${I}`],
1156
+ et[M],
1157
1157
  {
1158
- [Lt.disabled]: a,
1159
- [Lt.loading]: i,
1160
- [Lt.clickable]: $
1158
+ [jt.disabled]: a,
1159
+ [jt.loading]: i,
1160
+ [jt.clickable]: $
1161
1161
  }
1162
- ), T = {
1162
+ ), E = {
1163
1163
  "--avatar-size": `${s}px`,
1164
- "--avatar-border-radius": `${z}px`,
1164
+ "--avatar-border-radius": `${D}px`,
1165
1165
  ...n
1166
1166
  }, N = {
1167
- icon: () => /* @__PURE__ */ e.jsx("span", { "data-testid": "avatar-icon", title: x || void 0, role: "img", className: Lt.icon, children: w == null ? void 0 : w({}) }),
1167
+ icon: () => /* @__PURE__ */ e.jsx("span", { "data-testid": "avatar-icon", title: b || void 0, role: "img", className: jt.icon, children: w == null ? void 0 : w({}) }),
1168
1168
  name: () => /* @__PURE__ */ e.jsx(
1169
1169
  "span",
1170
1170
  {
1171
1171
  role: "textbox",
1172
1172
  "data-testid": "avatar-name",
1173
- className: Lt.name,
1174
- title: x || void 0,
1173
+ className: jt.name,
1174
+ title: b || void 0,
1175
1175
  children: To(h || "")
1176
1176
  }
1177
1177
  ),
@@ -1180,9 +1180,9 @@ const Mo = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
1180
1180
  {
1181
1181
  ...u,
1182
1182
  "data-testid": "avatar-placeholder",
1183
- className: Lt.image,
1183
+ className: jt.image,
1184
1184
  src: Po[g],
1185
- alt: x || void 0
1185
+ alt: b || void 0
1186
1186
  }
1187
1187
  ),
1188
1188
  image: () => /* @__PURE__ */ e.jsx(
@@ -1190,29 +1190,29 @@ const Mo = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
1190
1190
  {
1191
1191
  "data-testid": "avatar-image",
1192
1192
  ...u,
1193
- className: Lt.image,
1193
+ className: jt.image,
1194
1194
  src: c || void 0,
1195
- alt: x || void 0,
1195
+ alt: b || void 0,
1196
1196
  onLoad: () => j(!1),
1197
1197
  onError: (H) => {
1198
- var X;
1199
- j(!0), (X = u == null ? void 0 : u.onError) == null || X.call(u, H);
1198
+ var U;
1199
+ j(!0), (U = u == null ? void 0 : u.onError) == null || U.call(u, H);
1200
1200
  }
1201
1201
  }
1202
1202
  )
1203
- }, W = (H) => {
1203
+ }, z = (H) => {
1204
1204
  $ && (p == null || p(H));
1205
1205
  };
1206
1206
  return /* @__PURE__ */ e.jsx(
1207
1207
  "div",
1208
1208
  {
1209
1209
  ref: r,
1210
- onClick: W,
1211
- className: D,
1212
- style: T,
1210
+ onClick: z,
1211
+ className: F,
1212
+ style: E,
1213
1213
  "data-testid": _,
1214
1214
  "aria-disabled": a || i,
1215
- children: N[E](null)
1215
+ children: N[T](null)
1216
1216
  }
1217
1217
  );
1218
1218
  }), zo = "_avatarGroup_157g4_1", Do = {
@@ -1227,7 +1227,7 @@ const Mo = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
1227
1227
  }
1228
1228
  return null;
1229
1229
  }, Te = () => {
1230
- const t = gt(null), [r, n] = it(null);
1230
+ const t = gt(null), [r, n] = lt(null);
1231
1231
  return G(() => {
1232
1232
  if (t.current) {
1233
1233
  const s = Wo(t.current);
@@ -1242,17 +1242,17 @@ const er = {
1242
1242
  passive: !0
1243
1243
  };
1244
1244
  function Ho() {
1245
- const [t, r] = it({
1245
+ const [t, r] = lt({
1246
1246
  width: 0,
1247
1247
  height: 0
1248
- }), n = xt(() => {
1248
+ }), n = bt(() => {
1249
1249
  r({ width: window.innerWidth || 0, height: window.innerHeight || 0 });
1250
1250
  }, []);
1251
1251
  return tr("resize", n, er), tr("orientationchange", n, er), G(n, []), t;
1252
1252
  }
1253
1253
  function qo(t = 768) {
1254
1254
  const { width: r } = Ho();
1255
- return ie(() => r <= t, [r, t]);
1255
+ return le(() => r <= t, [r, t]);
1256
1256
  }
1257
1257
  const Vo = 2, Xo = (t) => {
1258
1258
  const {
@@ -1263,22 +1263,22 @@ const Vo = 2, Xo = (t) => {
1263
1263
  overflowCount: a = 0,
1264
1264
  overflowProps: l,
1265
1265
  cutoutBackground: d
1266
- } = t, h = -(n * s) + Vo, { ref: c, bgColor: x } = Te(), w = d || x || "#ffffff", u = jt(Do.avatarGroup), f = {
1266
+ } = t, h = -(n * s) + Vo, { ref: c, bgColor: b } = Te(), w = d || b || "#ffffff", u = Lt(Do.avatarGroup), f = {
1267
1267
  "--avatar-cutout-bg": w
1268
1268
  };
1269
1269
  return r.length === 0 ? null : /* @__PURE__ */ e.jsxs("div", { className: u, ref: c, style: f, children: [
1270
- r.map((b, _) => {
1271
- if (b.wrapper) {
1272
- const m = b.wrapper;
1270
+ r.map((x, _) => {
1271
+ if (x.wrapper) {
1272
+ const m = x.wrapper;
1273
1273
  return /* @__PURE__ */ e.jsx(
1274
1274
  "div",
1275
1275
  {
1276
1276
  style: {
1277
1277
  marginRight: h
1278
1278
  },
1279
- children: /* @__PURE__ */ e.jsx(m, { children: /* @__PURE__ */ e.jsx(ae, { size: n, shape: i, ...b }) })
1279
+ children: /* @__PURE__ */ e.jsx(m, { children: /* @__PURE__ */ e.jsx(se, { size: n, shape: i, ...x }) })
1280
1280
  },
1281
- ce(b) + _
1281
+ ce(x) + _
1282
1282
  );
1283
1283
  }
1284
1284
  return /* @__PURE__ */ e.jsx(
@@ -1287,13 +1287,13 @@ const Vo = 2, Xo = (t) => {
1287
1287
  style: {
1288
1288
  marginRight: h
1289
1289
  },
1290
- children: /* @__PURE__ */ e.jsx(ae, { size: n, shape: i, ...b })
1290
+ children: /* @__PURE__ */ e.jsx(se, { size: n, shape: i, ...x })
1291
1291
  },
1292
- ce(b) + _
1292
+ ce(x) + _
1293
1293
  );
1294
1294
  }),
1295
1295
  a > 0 && /* @__PURE__ */ e.jsx("div", { style: { marginRight: h }, children: /* @__PURE__ */ e.jsx(
1296
- ae,
1296
+ se,
1297
1297
  {
1298
1298
  size: n,
1299
1299
  shape: i,
@@ -1304,7 +1304,7 @@ const Vo = 2, Xo = (t) => {
1304
1304
  }
1305
1305
  ) })
1306
1306
  ] });
1307
- }, Uo = Object.assign(ae, {
1307
+ }, Uo = Object.assign(se, {
1308
1308
  Group: Xo
1309
1309
  }), Zo = "_overlay_1k1w9_6", Yo = "_container_1k1w9_20", Go = "_grabber_1k1w9_98", Ut = {
1310
1310
  overlay: Zo,
@@ -1375,7 +1375,7 @@ function Qo({
1375
1375
  placement: n = "center",
1376
1376
  disableEscapeKey: s = !1
1377
1377
  }) {
1378
- const i = xt(
1378
+ const i = bt(
1379
1379
  (f) => {
1380
1380
  r == null || r(f);
1381
1381
  },
@@ -1394,11 +1394,11 @@ function Qo({
1394
1394
  opacity: 0
1395
1395
  },
1396
1396
  ...g
1397
- }), x = Kr(l, {
1397
+ }), b = Kr(l, {
1398
1398
  escapeKey: !s,
1399
1399
  outsidePress: !1
1400
- }), w = Jr(l, { role: "dialog" }), { getFloatingProps: u } = Qr([x, w]);
1401
- return ie(
1400
+ }), w = Jr(l, { role: "dialog" }), { getFloatingProps: u } = Qr([b, w]);
1401
+ return le(
1402
1402
  () => ({
1403
1403
  /** `isMounted`: Флаг для условного рендеринга с поддержкой анимации закрытия. */
1404
1404
  isMounted: h,
@@ -1427,26 +1427,26 @@ function ea({
1427
1427
  onOpenChange: r,
1428
1428
  placement: n,
1429
1429
  disableEscapeKey: s
1430
- }), c = gt({ startX: 0, startY: 0, dragging: !1 }), [x, w] = it(0), u = i == null ? void 0 : i.direction, f = (i == null ? void 0 : i.threshold) ?? ta, b = u === "top" || u === "bottom", _ = t && !!u;
1430
+ }), c = gt({ startX: 0, startY: 0, dragging: !1 }), [b, w] = lt(0), u = i == null ? void 0 : i.direction, f = (i == null ? void 0 : i.threshold) ?? ta, x = u === "top" || u === "bottom", _ = t && !!u;
1431
1431
  G(() => {
1432
1432
  t || (c.current.dragging = !1, w(0));
1433
1433
  }, [t]);
1434
- const m = xt(
1434
+ const m = bt(
1435
1435
  (C) => {
1436
1436
  _ && (c.current.dragging = !0, c.current.startX = C.clientX, c.current.startY = C.clientY, w(0));
1437
1437
  },
1438
1438
  [_]
1439
- ), p = xt(
1439
+ ), p = bt(
1440
1440
  (C) => {
1441
1441
  if (!c.current.dragging || !_) return;
1442
- const j = C.clientX - c.current.startX, E = C.clientY - c.current.startY;
1442
+ const j = C.clientX - c.current.startX, T = C.clientY - c.current.startY;
1443
1443
  let I;
1444
1444
  switch (u) {
1445
1445
  case "bottom":
1446
- I = Math.max(0, E);
1446
+ I = Math.max(0, T);
1447
1447
  break;
1448
1448
  case "top":
1449
- I = Math.max(0, -E);
1449
+ I = Math.max(0, -T);
1450
1450
  break;
1451
1451
  case "right":
1452
1452
  I = Math.max(0, j);
@@ -1455,36 +1455,36 @@ function ea({
1455
1455
  I = Math.max(0, -j);
1456
1456
  break;
1457
1457
  default:
1458
- I = b ? E : j;
1458
+ I = x ? T : j;
1459
1459
  }
1460
1460
  w(I);
1461
1461
  },
1462
- [_, u, b]
1463
- ), y = xt(
1462
+ [_, u, x]
1463
+ ), y = bt(
1464
1464
  (C) => {
1465
- var j, E;
1465
+ var j, T;
1466
1466
  if (!(!c.current.dragging || !_)) {
1467
1467
  c.current.dragging = !1;
1468
1468
  try {
1469
- (E = (j = C.currentTarget).hasPointerCapture) != null && E.call(j, C.pointerId) && C.currentTarget.releasePointerCapture(C.pointerId);
1469
+ (T = (j = C.currentTarget).hasPointerCapture) != null && T.call(j, C.pointerId) && C.currentTarget.releasePointerCapture(C.pointerId);
1470
1470
  } catch {
1471
1471
  }
1472
- x >= f ? r(!1) : w(0);
1472
+ b >= f ? r(!1) : w(0);
1473
1473
  }
1474
1474
  },
1475
- [x, f, r, _]
1476
- ), S = ie(() => {
1475
+ [b, f, r, _]
1476
+ ), S = le(() => {
1477
1477
  if (!_) return l;
1478
1478
  if (c.current.dragging) {
1479
1479
  const C = { ...l, transitionProperty: "none" };
1480
- if (x > 0) {
1481
- const j = u === "left" || u === "top" ? -x : x;
1482
- C.transform = b ? `translateY(${j}px)` : `translateX(${j}px)`;
1480
+ if (b > 0) {
1481
+ const j = u === "left" || u === "top" ? -b : b;
1482
+ C.transform = x ? `translateY(${j}px)` : `translateX(${j}px)`;
1483
1483
  }
1484
1484
  return C;
1485
1485
  }
1486
1486
  return l;
1487
- }, [l, x, _, b, u]), $ = xt(
1487
+ }, [l, b, _, x, u]), $ = bt(
1488
1488
  (C) => a(_ ? {
1489
1489
  ...C,
1490
1490
  onPointerDown: m,
@@ -1495,7 +1495,7 @@ function ea({
1495
1495
  } : C),
1496
1496
  [a, m, p, y, _]
1497
1497
  );
1498
- return ie(
1498
+ return le(
1499
1499
  () => ({
1500
1500
  isMounted: d,
1501
1501
  context: g,
@@ -1517,11 +1517,11 @@ const hr = Q((t, r) => {
1517
1517
  children: g,
1518
1518
  disableOutsideClick: h = !1,
1519
1519
  disableEscapeKey: c = !1,
1520
- disableOverlay: x = !1,
1520
+ disableOverlay: b = !1,
1521
1521
  closeOnDrag: w,
1522
1522
  className: u,
1523
1523
  style: f,
1524
- "data-testid": b,
1524
+ "data-testid": x,
1525
1525
  ..._
1526
1526
  } = t;
1527
1527
  s === void 0 && process.env.NODE_ENV !== "production" && console.error(
@@ -1540,7 +1540,7 @@ const hr = Q((t, r) => {
1540
1540
  // `FloatingPortal` рендерит диалог в корне `document.body`,
1541
1541
  // чтобы избежать проблем с z-index и overflow.
1542
1542
  /* @__PURE__ */ e.jsxs(en, { ...l, children: [
1543
- !x && /* @__PURE__ */ e.jsx(
1543
+ !b && /* @__PURE__ */ e.jsx(
1544
1544
  rn,
1545
1545
  {
1546
1546
  onPointerDown: $,
@@ -1569,7 +1569,7 @@ const hr = Q((t, r) => {
1569
1569
  role: "dialog",
1570
1570
  className: k(u, Ut.container, Ut[`placement-${n}`]),
1571
1571
  style: { ...f, ...y },
1572
- "data-testid": b,
1572
+ "data-testid": x,
1573
1573
  ...m.getFloatingProps(_),
1574
1574
  children: [
1575
1575
  g,
@@ -1583,7 +1583,7 @@ const hr = Q((t, r) => {
1583
1583
  ),
1584
1584
  role: "presentation",
1585
1585
  "aria-hidden": "true",
1586
- "data-testid": b ? `${b}-grabber` : void 0
1586
+ "data-testid": x ? `${x}-grabber` : void 0
1587
1587
  }
1588
1588
  )
1589
1589
  ]
@@ -1605,7 +1605,7 @@ const hr = Q((t, r) => {
1605
1605
  rightActionsStack: la,
1606
1606
  content: ca,
1607
1607
  footer: da
1608
- }, ua = "_typography_zt7xg_1", _a = "_disabled_zt7xg_8", pa = "_primary_zt7xg_13", fa = "_secondary_zt7xg_18", ga = "_tertiary_zt7xg_23", ha = "_accent_zt7xg_28", ma = "_positive_zt7xg_38", xa = "_negative_zt7xg_48", ba = "_warning_zt7xg_58", ya = "_special_zt7xg_68", va = "_contrast_zt7xg_78", Ht = {
1608
+ }, ua = "_typography_zt7xg_1", _a = "_disabled_zt7xg_8", pa = "_primary_zt7xg_13", fa = "_secondary_zt7xg_18", ga = "_tertiary_zt7xg_23", ha = "_accent_zt7xg_28", ma = "_positive_zt7xg_38", ba = "_negative_zt7xg_48", xa = "_warning_zt7xg_58", ya = "_special_zt7xg_68", va = "_contrast_zt7xg_78", Ht = {
1609
1609
  typography: ua,
1610
1610
  disabled: _a,
1611
1611
  primary: pa,
@@ -1615,9 +1615,9 @@ const hr = Q((t, r) => {
1615
1615
  "accent-secondary": "_accent-secondary_zt7xg_33",
1616
1616
  positive: ma,
1617
1617
  "positive-secondary": "_positive-secondary_zt7xg_43",
1618
- negative: xa,
1618
+ negative: ba,
1619
1619
  "negative-secondary": "_negative-secondary_zt7xg_53",
1620
- warning: ba,
1620
+ warning: xa,
1621
1621
  "warning-secondary": "_warning-secondary_zt7xg_63",
1622
1622
  special: ya,
1623
1623
  "special-secondary": "_special-secondary_zt7xg_73",
@@ -1641,17 +1641,17 @@ const hr = Q((t, r) => {
1641
1641
  disabled: g = !1,
1642
1642
  typographyStyle: h = "primary",
1643
1643
  ...c
1644
- }, x) => {
1644
+ }, b) => {
1645
1645
  const w = l || wa[n], u = k(
1646
1646
  Ht.typography,
1647
- rt[`typography-${t}-${n}-${d}`],
1647
+ et[`typography-${t}-${n}-${d}`],
1648
1648
  Ht[h],
1649
1649
  {
1650
1650
  [Ht.disabled]: g
1651
1651
  },
1652
1652
  i
1653
1653
  );
1654
- return s ? /* @__PURE__ */ e.jsx(w, { ref: x, className: u, "data-testid": a, ...c, children: s }) : null;
1654
+ return s ? /* @__PURE__ */ e.jsx(w, { ref: b, className: u, "data-testid": a, ...c, children: s }) : null;
1655
1655
  }
1656
1656
  );
1657
1657
  return r.displayName = `Typography.${t === "title" ? "Title" : "Subtitle"}`, r;
@@ -1667,10 +1667,10 @@ const hr = Q((t, r) => {
1667
1667
  disabled: g = !1,
1668
1668
  typographyStyle: h = "primary",
1669
1669
  ...c
1670
- }, x) => {
1670
+ }, b) => {
1671
1671
  const w = l, u = k(
1672
1672
  Ht.typography,
1673
- rt[`typography-${t}-${n}-${d}`],
1673
+ et[`typography-${t}-${n}-${d}`],
1674
1674
  Ht[h],
1675
1675
  {
1676
1676
  [Ht.disabled]: g
@@ -1680,7 +1680,7 @@ const hr = Q((t, r) => {
1680
1680
  return s ? /* @__PURE__ */ e.jsx(
1681
1681
  w,
1682
1682
  {
1683
- ref: x,
1683
+ ref: b,
1684
1684
  className: u,
1685
1685
  "data-testid": a,
1686
1686
  ...c,
@@ -1744,8 +1744,8 @@ const hr = Q((t, r) => {
1744
1744
  ...ja,
1745
1745
  ...r
1746
1746
  };
1747
- return n ? /* @__PURE__ */ e.jsx(n, { children: /* @__PURE__ */ e.jsx(le, { ...s }) }) : /* @__PURE__ */ e.jsx(le, { ...s });
1748
- }, h2 = Q((t, r) => {
1747
+ return n ? /* @__PURE__ */ e.jsx(n, { children: /* @__PURE__ */ e.jsx(Kt, { ...s }) }) : /* @__PURE__ */ e.jsx(Kt, { ...s });
1748
+ }, x2 = Q((t, r) => {
1749
1749
  const {
1750
1750
  open: n,
1751
1751
  onOpenChange: s,
@@ -1756,17 +1756,17 @@ const hr = Q((t, r) => {
1756
1756
  closeButton: g = { show: !0 },
1757
1757
  backButton: h = { show: !1 },
1758
1758
  title: c,
1759
- subTitle: x,
1759
+ subTitle: b,
1760
1760
  children: w,
1761
1761
  footer: u,
1762
1762
  hideHeaderDivider: f = !1,
1763
- hideFooterDivider: b = !1,
1763
+ hideFooterDivider: x = !1,
1764
1764
  classNames: _,
1765
1765
  styles: m,
1766
1766
  headerTemplate: p,
1767
1767
  "data-testid": y,
1768
1768
  ...S
1769
- } = t, $ = a === "bottom-sheet" ? "actions-title-actions" : "title-actions-actions", C = a === "bottom-sheet" ? { direction: "bottom", threshold: 80 } : t == null ? void 0 : t.closeOnDrag, j = () => s(!1), E = !!(c || x || g.show || h.show || l.length || d.length), I = c ? `${y || "modal"}-title` : void 0, M = x ? `${y || "modal"}-subtitle` : void 0;
1769
+ } = t, $ = a === "bottom-sheet" ? "actions-title-actions" : "title-actions-actions", C = a === "bottom-sheet" ? { direction: "bottom", threshold: 80 } : t == null ? void 0 : t.closeOnDrag, j = () => s(!1), T = !!(c || b || g.show || h.show || l.length || d.length), I = c ? `${y || "modal"}-title` : void 0, M = b ? `${y || "modal"}-subtitle` : void 0;
1770
1770
  return /* @__PURE__ */ e.jsx(
1771
1771
  hr,
1772
1772
  {
@@ -1785,7 +1785,7 @@ const hr = Q((t, r) => {
1785
1785
  style: { width: i, ...m == null ? void 0 : m.container },
1786
1786
  "data-testid": y ? `${y}-container` : void 0,
1787
1787
  children: [
1788
- E && /* @__PURE__ */ e.jsxs(
1788
+ T && /* @__PURE__ */ e.jsxs(
1789
1789
  "div",
1790
1790
  {
1791
1791
  "data-testid": y ? `${y}-header` : void 0,
@@ -1842,13 +1842,13 @@ const hr = Q((t, r) => {
1842
1842
  ]
1843
1843
  }
1844
1844
  ),
1845
- x && /* @__PURE__ */ e.jsx(
1845
+ b && /* @__PURE__ */ e.jsx(
1846
1846
  "div",
1847
1847
  {
1848
1848
  id: M,
1849
1849
  className: k(St.subTitle, _ == null ? void 0 : _.subTitle),
1850
1850
  style: m == null ? void 0 : m.subTitle,
1851
- children: typeof x == "string" ? /* @__PURE__ */ e.jsx(Sa, { size: 2, typographyStyle: "secondary", children: x }) : x
1851
+ children: typeof b == "string" ? /* @__PURE__ */ e.jsx(Sa, { size: 2, typographyStyle: "secondary", children: b }) : b
1852
1852
  }
1853
1853
  )
1854
1854
  ]
@@ -1869,7 +1869,7 @@ const hr = Q((t, r) => {
1869
1869
  "div",
1870
1870
  {
1871
1871
  "data-testid": y ? `${y}-footer` : void 0,
1872
- className: k(St.footer, !b && St.withBorder, _ == null ? void 0 : _.footer),
1872
+ className: k(St.footer, !x && St.withBorder, _ == null ? void 0 : _.footer),
1873
1873
  style: m == null ? void 0 : m.footer,
1874
1874
  children: u
1875
1875
  }
@@ -1970,7 +1970,7 @@ const hr = Q((t, r) => {
1970
1970
  }
1971
1971
  )
1972
1972
  }
1973
- ), ee = {
1973
+ ), re = {
1974
1974
  avatar: { icon: null, colorScheme: "gray" },
1975
1975
  info: { icon: $a, colorScheme: "gray" },
1976
1976
  success: { icon: Ea, colorScheme: "green" },
@@ -1986,12 +1986,12 @@ const hr = Q((t, r) => {
1986
1986
  textBlock: Pa,
1987
1987
  title: za,
1988
1988
  subtitle: Da
1989
- }, re = {
1989
+ }, ne = {
1990
1990
  m: { title: "typography-subtitle-1-semibold", subtitle: "typography-paragraph-3-regular" },
1991
1991
  l: { title: "typography-title-5-semibold", subtitle: "typography-paragraph-2-regular" }
1992
1992
  };
1993
1993
  function Fa(t) {
1994
- return (re == null ? void 0 : re[t]) || re.m;
1994
+ return (ne == null ? void 0 : ne[t]) || ne.m;
1995
1995
  }
1996
1996
  const Wa = (t) => {
1997
1997
  const {
@@ -2017,7 +2017,7 @@ const Wa = (t) => {
2017
2017
  "p",
2018
2018
  {
2019
2019
  style: i == null ? void 0 : i.title,
2020
- className: k(Ft.title, rt[h.title], a == null ? void 0 : a.title),
2020
+ className: k(Ft.title, et[h.title], a == null ? void 0 : a.title),
2021
2021
  children: n
2022
2022
  }
2023
2023
  ),
@@ -2025,7 +2025,7 @@ const Wa = (t) => {
2025
2025
  "p",
2026
2026
  {
2027
2027
  style: i == null ? void 0 : i.subTitle,
2028
- className: k(Ft.subtitle, rt[h.subtitle], a == null ? void 0 : a.subTitle),
2028
+ className: k(Ft.subtitle, et[h.subtitle], a == null ? void 0 : a.subTitle),
2029
2029
  children: s
2030
2030
  }
2031
2031
  )
@@ -2034,7 +2034,7 @@ const Wa = (t) => {
2034
2034
  ]
2035
2035
  }
2036
2036
  );
2037
- }, m2 = (t) => {
2037
+ }, y2 = (t) => {
2038
2038
  const {
2039
2039
  open: r,
2040
2040
  onOpenChange: n,
@@ -2046,9 +2046,9 @@ const Wa = (t) => {
2046
2046
  variantAvatarProps: g,
2047
2047
  "data-testid": h,
2048
2048
  styles: c,
2049
- classNames: x,
2049
+ classNames: b,
2050
2050
  ...w
2051
- } = t, { icon: u, colorScheme: f } = (ee == null ? void 0 : ee[i]) || ee.info, _ = i === "avatar" ? {
2051
+ } = t, { icon: u, colorScheme: f } = (re == null ? void 0 : re[i]) || re.info, _ = i === "avatar" ? {
2052
2052
  size: 48,
2053
2053
  colorScheme: "gray",
2054
2054
  variant: "light",
@@ -2069,7 +2069,7 @@ const Wa = (t) => {
2069
2069
  onOpenChange: n,
2070
2070
  placement: s,
2071
2071
  "data-testid": h,
2072
- className: k(Ma.container, x == null ? void 0 : x.dialog),
2072
+ className: k(Ma.container, b == null ? void 0 : b.dialog),
2073
2073
  style: c == null ? void 0 : c.dialog,
2074
2074
  ...w,
2075
2075
  children: /* @__PURE__ */ e.jsx(
@@ -2077,7 +2077,7 @@ const Wa = (t) => {
2077
2077
  {
2078
2078
  title: a,
2079
2079
  subTitle: l,
2080
- classNames: x,
2080
+ classNames: b,
2081
2081
  styles: c,
2082
2082
  size: "m",
2083
2083
  iconSlot: /* @__PURE__ */ e.jsx(Uo, { ..._ }),
@@ -2086,44 +2086,44 @@ const Wa = (t) => {
2086
2086
  )
2087
2087
  }
2088
2088
  );
2089
- }, Ha = "_wrapper_1mnix_5", qa = "_badge__container_1mnix_6", Va = "_badge__content_1mnix_7", Xa = "_interactive_1mnix_20", Ua = "_disabled_1mnix_21", Za = "_icon_1mnix_22", Tt = {
2089
+ }, Ha = "_wrapper_1tbse_5", qa = "_badge__container_1tbse_6", Va = "_badge__content_1tbse_7", Xa = "_interactive_1tbse_20", Ua = "_disabled_1tbse_21", Za = "_icon_1tbse_22", Tt = {
2090
2090
  wrapper: Ha,
2091
2091
  badge__container: qa,
2092
2092
  badge__content: Va,
2093
2093
  interactive: Xa,
2094
2094
  disabled: Ua,
2095
2095
  icon: Za,
2096
- "variant-filled": "_variant-filled_1mnix_98",
2097
- "color-brand": "_color-brand_1mnix_103",
2098
- "color-red": "_color-red_1mnix_111",
2099
- "color-orange": "_color-orange_1mnix_119",
2100
- "color-yellow": "_color-yellow_1mnix_127",
2101
- "color-green": "_color-green_1mnix_135",
2102
- "color-blue": "_color-blue_1mnix_143",
2103
- "color-lightblue": "_color-lightblue_1mnix_151",
2104
- "color-purple": "_color-purple_1mnix_159",
2105
- "color-gray": "_color-gray_1mnix_167",
2106
- "color-contrast": "_color-contrast_1mnix_175",
2107
- "variant-light": "_variant-light_1mnix_184",
2108
- "variant-outline": "_variant-outline_1mnix_260",
2109
- "variant-transparent": "_variant-transparent_1mnix_338",
2110
- "position-top-left": "_position-top-left_1mnix_409",
2111
- "position-top-right": "_position-top-right_1mnix_415",
2112
- "position-bottom-left": "_position-bottom-left_1mnix_421",
2113
- "position-bottom-right": "_position-bottom-right_1mnix_427",
2114
- "position-top-center": "_position-top-center_1mnix_433",
2115
- "position-bottom-center": "_position-bottom-center_1mnix_439",
2116
- "position-middle-left": "_position-middle-left_1mnix_445",
2117
- "position-middle-right": "_position-middle-right_1mnix_451",
2118
- "position-middle-center": "_position-middle-center_1mnix_457",
2119
- "position-top-left-inside": "_position-top-left-inside_1mnix_464",
2120
- "position-top-right-inside": "_position-top-right-inside_1mnix_470",
2121
- "position-bottom-left-inside": "_position-bottom-left-inside_1mnix_476",
2122
- "position-bottom-right-inside": "_position-bottom-right-inside_1mnix_482",
2123
- "position-top-center-inside": "_position-top-center-inside_1mnix_488",
2124
- "position-bottom-center-inside": "_position-bottom-center-inside_1mnix_494",
2125
- "position-middle-left-inside": "_position-middle-left-inside_1mnix_500",
2126
- "position-middle-right-inside": "_position-middle-right-inside_1mnix_506"
2096
+ "variant-filled": "_variant-filled_1tbse_98",
2097
+ "color-brand": "_color-brand_1tbse_103",
2098
+ "color-red": "_color-red_1tbse_111",
2099
+ "color-orange": "_color-orange_1tbse_119",
2100
+ "color-yellow": "_color-yellow_1tbse_127",
2101
+ "color-green": "_color-green_1tbse_135",
2102
+ "color-blue": "_color-blue_1tbse_143",
2103
+ "color-lightblue": "_color-lightblue_1tbse_151",
2104
+ "color-purple": "_color-purple_1tbse_159",
2105
+ "color-gray": "_color-gray_1tbse_167",
2106
+ "color-contrast": "_color-contrast_1tbse_175",
2107
+ "variant-light": "_variant-light_1tbse_184",
2108
+ "variant-outline": "_variant-outline_1tbse_261",
2109
+ "variant-transparent": "_variant-transparent_1tbse_339",
2110
+ "position-top-left": "_position-top-left_1tbse_410",
2111
+ "position-top-right": "_position-top-right_1tbse_416",
2112
+ "position-bottom-left": "_position-bottom-left_1tbse_422",
2113
+ "position-bottom-right": "_position-bottom-right_1tbse_428",
2114
+ "position-top-center": "_position-top-center_1tbse_434",
2115
+ "position-bottom-center": "_position-bottom-center_1tbse_440",
2116
+ "position-middle-left": "_position-middle-left_1tbse_446",
2117
+ "position-middle-right": "_position-middle-right_1tbse_452",
2118
+ "position-middle-center": "_position-middle-center_1tbse_458",
2119
+ "position-top-left-inside": "_position-top-left-inside_1tbse_465",
2120
+ "position-top-right-inside": "_position-top-right-inside_1tbse_471",
2121
+ "position-bottom-left-inside": "_position-bottom-left-inside_1tbse_477",
2122
+ "position-bottom-right-inside": "_position-bottom-right-inside_1tbse_483",
2123
+ "position-top-center-inside": "_position-top-center-inside_1tbse_489",
2124
+ "position-bottom-center-inside": "_position-bottom-center-inside_1tbse_495",
2125
+ "position-middle-left-inside": "_position-middle-left-inside_1tbse_501",
2126
+ "position-middle-right-inside": "_position-middle-right-inside_1tbse_507"
2127
2127
  }, Ya = Q((t, r) => {
2128
2128
  const {
2129
2129
  icon: n,
@@ -2135,12 +2135,12 @@ const Wa = (t) => {
2135
2135
  size: g = 20,
2136
2136
  position: h = "top-right",
2137
2137
  positionOffset: c = { x: 0, y: 0 },
2138
- cutoutBackground: x,
2138
+ cutoutBackground: b,
2139
2139
  isDisabled: w,
2140
2140
  className: u,
2141
2141
  "data-testid": f = "badge",
2142
- ...b
2143
- } = t, { onClick: _, onPointerDown: m } = b, { ref: p, bgColor: y } = Te(), S = x || y, C = !w && (!!_ || !!m), j = jt(Tt.badge__container, Tt[`position-${h}`]), E = jt(
2142
+ ...x
2143
+ } = t, { onClick: _, onPointerDown: m } = x, { ref: p, bgColor: y } = Te(), S = b || y, C = !w && (!!_ || !!m), j = Lt(Tt.badge__container, Tt[`position-${h}`]), T = Lt(
2144
2144
  u,
2145
2145
  Tt.badge__content,
2146
2146
  Tt[`color-${d}`],
@@ -2156,8 +2156,8 @@ const Wa = (t) => {
2156
2156
  "--badge-offset-y": `${c.y}px`,
2157
2157
  ...S && { "--badge-cutout-bg": S },
2158
2158
  ...i === "transparent" && { "--badge-cutout-bg": "transparent" }
2159
- }, M = (n == null ? void 0 : n({})) || a, z = (D) => {
2160
- C && (_ == null || _(D));
2159
+ }, M = (n == null ? void 0 : n({})) || a, D = (F) => {
2160
+ C && (_ == null || _(F));
2161
2161
  };
2162
2162
  return /* @__PURE__ */ e.jsxs("div", { className: Tt.wrapper, ref: p, "data-testid": f + "-wrapper", children: [
2163
2163
  s,
@@ -2170,9 +2170,9 @@ const Wa = (t) => {
2170
2170
  children: /* @__PURE__ */ e.jsx(
2171
2171
  "span",
2172
2172
  {
2173
- ...b,
2174
- onClick: z,
2175
- className: E,
2173
+ ...x,
2174
+ onClick: D,
2175
+ className: T,
2176
2176
  "data-testid": f + "-content",
2177
2177
  ref: r,
2178
2178
  "aria-disabled": w,
@@ -2208,7 +2208,7 @@ const Wa = (t) => {
2208
2208
  }
2209
2209
  )
2210
2210
  }
2211
- ), x2 = Q((t, r) => {
2211
+ ), v2 = Q((t, r) => {
2212
2212
  const {
2213
2213
  alt: n = "",
2214
2214
  loading: s = "lazy",
@@ -2219,9 +2219,9 @@ const Wa = (t) => {
2219
2219
  containerProps: g,
2220
2220
  "data-testid": h = "image",
2221
2221
  onError: c,
2222
- onLoad: x,
2222
+ onLoad: b,
2223
2223
  ...w
2224
- } = t, { className: u, ...f } = g ?? {}, [b, _] = it("loading"), m = b === "error", p = (a || b === "loading") && !m, y = b === "loaded" && !a, S = k(
2224
+ } = t, { className: u, ...f } = g ?? {}, [x, _] = lt("loading"), m = x === "error", p = (a || x === "loading") && !m, y = x === "loaded" && !a, S = k(
2225
2225
  Zt.container,
2226
2226
  { [Zt.loading]: p && !y, [Zt.error]: m && !y },
2227
2227
  u
@@ -2231,17 +2231,17 @@ const Wa = (t) => {
2231
2231
  [Zt.loading]: p
2232
2232
  },
2233
2233
  d
2234
- ), C = xt(
2234
+ ), C = bt(
2235
2235
  (I) => {
2236
- _("loaded"), x == null || x(I);
2236
+ _("loaded"), b == null || b(I);
2237
2237
  },
2238
- [x]
2239
- ), j = xt(
2238
+ [b]
2239
+ ), j = bt(
2240
2240
  (I) => {
2241
2241
  _("error"), c == null || c(I);
2242
2242
  },
2243
2243
  [c]
2244
- ), E = {
2244
+ ), T = {
2245
2245
  loader: /* @__PURE__ */ e.jsxs(Gt, { children: [
2246
2246
  /* @__PURE__ */ e.jsx(je, { size: 48, variant: "special", "data-testid": `${h}-loader` }),
2247
2247
  /* @__PURE__ */ e.jsx(
@@ -2283,9 +2283,9 @@ const Wa = (t) => {
2283
2283
  style: l,
2284
2284
  ...f,
2285
2285
  children: [
2286
- p && E.loader,
2287
- m && E.error,
2288
- y && E.image
2286
+ p && T.loader,
2287
+ m && T.error,
2288
+ y && T.image
2289
2289
  ]
2290
2290
  }
2291
2291
  );
@@ -2296,10 +2296,10 @@ const Wa = (t) => {
2296
2296
  if (!t)
2297
2297
  throw new Error("useConfig must be used within a ConfigProvider");
2298
2298
  return t;
2299
- }, b2 = () => {
2299
+ }, w2 = () => {
2300
2300
  const { locale: t } = rs();
2301
2301
  return t;
2302
- }, ns = {}, os = {}, as = {}, ss = {}, is = {}, ls = "_base_1p0qo_50", cs = "_content_1p0qo_54", ds = "_background_1p0qo_58", us = "_button_1p0qo_62", _s = "_link_1p0qo_66", ps = "_input_1p0qo_70", fs = "_suffix_1p0qo_74", gs = "_prefix_1p0qo_78", hs = "_tooltip_1p0qo_82", ms = "_hint_1p0qo_86", xs = "_dropdown_1p0qo_90", bs = "_popover_1p0qo_94", ys = "_modalBackdrop_1p0qo_98", vs = "_modal_1p0qo_98", ws = "_overlay_1p0qo_106", Cs = "_drawer_1p0qo_110", ks = "_notification_1p0qo_114", Ss = "_alert_1p0qo_118", Ls = "_toast_1p0qo_122", js = "_loading_1p0qo_126", $s = "_error_1p0qo_130", Ts = "_critical_1p0qo_134", Es = {
2302
+ }, ns = {}, os = {}, as = {}, ss = {}, is = {}, ls = "_base_1p0qo_50", cs = "_content_1p0qo_54", ds = "_background_1p0qo_58", us = "_button_1p0qo_62", _s = "_link_1p0qo_66", ps = "_input_1p0qo_70", fs = "_suffix_1p0qo_74", gs = "_prefix_1p0qo_78", hs = "_tooltip_1p0qo_82", ms = "_hint_1p0qo_86", bs = "_dropdown_1p0qo_90", xs = "_popover_1p0qo_94", ys = "_modalBackdrop_1p0qo_98", vs = "_modal_1p0qo_98", ws = "_overlay_1p0qo_106", Cs = "_drawer_1p0qo_110", ks = "_notification_1p0qo_114", Ss = "_alert_1p0qo_118", Ls = "_toast_1p0qo_122", js = "_loading_1p0qo_126", $s = "_error_1p0qo_130", Ts = "_critical_1p0qo_134", Es = {
2303
2303
  base: ls,
2304
2304
  content: cs,
2305
2305
  background: ds,
@@ -2310,8 +2310,8 @@ const Wa = (t) => {
2310
2310
  prefix: gs,
2311
2311
  tooltip: hs,
2312
2312
  hint: ms,
2313
- dropdown: xs,
2314
- popover: bs,
2313
+ dropdown: bs,
2314
+ popover: xs,
2315
2315
  modalBackdrop: ys,
2316
2316
  modal: vs,
2317
2317
  overlay: ws,
@@ -2328,7 +2328,7 @@ const Wa = (t) => {
2328
2328
  "semantic-animation--300": "_semantic-animation--300_1fenh_23",
2329
2329
  "semantic-animation--400": "_semantic-animation--400_1fenh_27",
2330
2330
  "semantic-animation--500": "_semantic-animation--500_1fenh_31"
2331
- }, y2 = ({
2331
+ }, C2 = ({
2332
2332
  locale: t = {},
2333
2333
  theme: r,
2334
2334
  children: n,
@@ -2352,14 +2352,14 @@ const Wa = (t) => {
2352
2352
  ss,
2353
2353
  is,
2354
2354
  Es,
2355
- rt,
2355
+ et,
2356
2356
  Is,
2357
2357
  s
2358
2358
  )
2359
2359
  }
2360
2360
  ),
2361
2361
  /* @__PURE__ */ e.jsx(mr.Provider, { value: { locale: t }, children: n })
2362
- ] })), v2 = {}, Rs = "_tag_1llsi_1", Ns = "_label_1llsi_16", Ms = "_iconWrapper_1llsi_20", As = "_medium_1llsi_27", Bs = "_large_1llsi_33", Os = "_disabled_1llsi_43", Ps = "_neutral_1llsi_47", zs = "_positive_1llsi_53", Ds = "_negative_1llsi_59", Fs = "_warning_1llsi_65", Ws = "_vivid_1llsi_71", Hs = "_special_1llsi_77", qs = "_accent_1llsi_84", Vs = "_blue_1llsi_90", Xs = "_lovely_1llsi_96", Us = "_dreamy_1llsi_102", Bt = {
2362
+ ] })), k2 = {}, Rs = "_tag_1llsi_1", Ns = "_label_1llsi_16", Ms = "_iconWrapper_1llsi_20", As = "_medium_1llsi_27", Bs = "_large_1llsi_33", Os = "_disabled_1llsi_43", Ps = "_neutral_1llsi_47", zs = "_positive_1llsi_53", Ds = "_negative_1llsi_59", Fs = "_warning_1llsi_65", Ws = "_vivid_1llsi_71", Hs = "_special_1llsi_77", qs = "_accent_1llsi_84", Vs = "_blue_1llsi_90", Xs = "_lovely_1llsi_96", Us = "_dreamy_1llsi_102", Bt = {
2363
2363
  tag: Rs,
2364
2364
  label: Ns,
2365
2365
  iconWrapper: Ms,
@@ -2376,7 +2376,7 @@ const Wa = (t) => {
2376
2376
  blue: Vs,
2377
2377
  lovely: Xs,
2378
2378
  dreamy: Us
2379
- }, w2 = Q((t, r) => {
2379
+ }, S2 = Q((t, r) => {
2380
2380
  const {
2381
2381
  className: n,
2382
2382
  children: s,
@@ -2387,10 +2387,10 @@ const Wa = (t) => {
2387
2387
  slotStart: g,
2388
2388
  slotEnd: h,
2389
2389
  slotStartWrapperProps: c = {},
2390
- slotEndWrapperProps: x = {},
2390
+ slotEndWrapperProps: b = {},
2391
2391
  "data-testid": w,
2392
2392
  ...u
2393
- } = t, { className: f, ...b } = c, { className: _, ...m } = x;
2393
+ } = t, { className: f, ...x } = c, { className: _, ...m } = b;
2394
2394
  return /* @__PURE__ */ e.jsxs(
2395
2395
  "div",
2396
2396
  {
@@ -2400,8 +2400,8 @@ const Wa = (t) => {
2400
2400
  Bt[i],
2401
2401
  {
2402
2402
  [Bt.disabled]: l,
2403
- [rt["typography-label-3-regular"]]: a === "medium",
2404
- [rt["typography-subtitle-1-semibold"]]: a === "large"
2403
+ [et["typography-label-3-regular"]]: a === "medium",
2404
+ [et["typography-subtitle-1-semibold"]]: a === "large"
2405
2405
  },
2406
2406
  n
2407
2407
  ),
@@ -2409,7 +2409,7 @@ const Wa = (t) => {
2409
2409
  ref: r,
2410
2410
  ...u,
2411
2411
  children: [
2412
- g && /* @__PURE__ */ e.jsx("span", { className: k([Bt.iconWrapper, f]), ...b, children: g }),
2412
+ g && /* @__PURE__ */ e.jsx("span", { className: k([Bt.iconWrapper, f]), ...x, children: g }),
2413
2413
  d && /* @__PURE__ */ e.jsx("span", { className: k([Bt.label]), children: s }),
2414
2414
  h && /* @__PURE__ */ e.jsx("span", { className: k([Bt.iconWrapper, _]), ...m, children: h })
2415
2415
  ]
@@ -2499,7 +2499,7 @@ const Wa = (t) => {
2499
2499
  children: s ? /* @__PURE__ */ e.jsx(oi, { width: a, height: l }) : /* @__PURE__ */ e.jsx(ni, { width: a, height: l })
2500
2500
  }
2501
2501
  );
2502
- }, C2 = Q((t, r) => {
2502
+ }, L2 = Q((t, r) => {
2503
2503
  const {
2504
2504
  name: n,
2505
2505
  value: s,
@@ -2510,30 +2510,30 @@ const Wa = (t) => {
2510
2510
  disabled: g = !1,
2511
2511
  containerClassName: h,
2512
2512
  className: c,
2513
- containerStyle: x,
2513
+ containerStyle: b,
2514
2514
  style: w,
2515
2515
  children: u,
2516
2516
  clickableLabel: f = !0,
2517
- tabIndex: b,
2517
+ tabIndex: x,
2518
2518
  onChange: _,
2519
2519
  onClick: m,
2520
2520
  "data-testid": p = "checkbox"
2521
- } = t, [y, S] = it(!1), $ = s ?? y, C = g || l, j = !!d, E = $ || a, I = k(It.container, It[i], h), M = k(
2521
+ } = t, [y, S] = lt(!1), $ = s ?? y, C = g || l, j = !!d, T = $ || a, I = k(It.container, It[i], h), M = k(
2522
2522
  It.checkbox,
2523
2523
  It[i],
2524
2524
  {
2525
2525
  [It.error]: j
2526
2526
  },
2527
2527
  c
2528
- ), z = (N) => {
2528
+ ), D = (N) => {
2529
2529
  C || (S(N.target.checked), _ == null || _(N.target.checked, N));
2530
- }, D = (N) => {
2530
+ }, F = (N) => {
2531
2531
  if (N.key === "Enter" && !C) {
2532
2532
  N.preventDefault();
2533
- const W = !E;
2534
- S(W), _ == null || _(W);
2533
+ const z = !T;
2534
+ S(z), _ == null || _(z);
2535
2535
  }
2536
- }, T = (N) => {
2536
+ }, E = (N) => {
2537
2537
  f || N.preventDefault(), m == null || m(N);
2538
2538
  };
2539
2539
  return /* @__PURE__ */ e.jsxs(
@@ -2541,18 +2541,18 @@ const Wa = (t) => {
2541
2541
  {
2542
2542
  className: I,
2543
2543
  htmlFor: n,
2544
- style: x,
2544
+ style: b,
2545
2545
  "data-testid": p,
2546
2546
  "data-clickable-label": f,
2547
2547
  children: [
2548
2548
  /* @__PURE__ */ e.jsx("div", { className: It.checkboxWrapper, children: /* @__PURE__ */ e.jsxs(
2549
2549
  "div",
2550
2550
  {
2551
- tabIndex: b || 0,
2551
+ tabIndex: x || 0,
2552
2552
  className: M,
2553
2553
  style: w,
2554
- onKeyDown: D,
2555
- "aria-checked": E,
2554
+ onKeyDown: F,
2555
+ "aria-checked": T,
2556
2556
  "aria-disabled": C,
2557
2557
  "aria-invalid": j,
2558
2558
  "aria-describedby": d ? `${n}-error` : void 0,
@@ -2565,11 +2565,11 @@ const Wa = (t) => {
2565
2565
  type: "checkbox",
2566
2566
  id: n,
2567
2567
  name: n,
2568
- checked: E,
2568
+ checked: T,
2569
2569
  disabled: C,
2570
2570
  className: It.input,
2571
- onChange: z,
2572
- "aria-checked": E,
2571
+ onChange: D,
2572
+ "aria-checked": T,
2573
2573
  "aria-invalid": j,
2574
2574
  "aria-describedby": d ? `${n}-error` : void 0,
2575
2575
  "data-testid": `${p}-input`
@@ -2580,7 +2580,7 @@ const Wa = (t) => {
2580
2580
  {
2581
2581
  name: n,
2582
2582
  size: i,
2583
- isChecked: E,
2583
+ isChecked: T,
2584
2584
  isDisabled: C,
2585
2585
  indeterminate: a,
2586
2586
  dataTestId: p
@@ -2595,14 +2595,14 @@ const Wa = (t) => {
2595
2595
  "data-testid": `${p}-label-text`,
2596
2596
  "data-clickable-label": f,
2597
2597
  className: It.label,
2598
- onClick: T,
2598
+ onClick: E,
2599
2599
  children: u
2600
2600
  }
2601
2601
  )
2602
2602
  ]
2603
2603
  }
2604
2604
  );
2605
- }), ii = "_base_10oxr_1", li = "_content_10oxr_1", ci = "_background_10oxr_1", di = "_button_10oxr_1", ui = "_link_10oxr_1", _i = "_input_10oxr_96", pi = "_suffix_10oxr_1", fi = "_prefix_10oxr_1", gi = "_tooltip_10oxr_1", hi = "_hint_10oxr_794", mi = "_dropdown_10oxr_1", xi = "_popover_10oxr_1", bi = "_modalBackdrop_10oxr_1", yi = "_modal_10oxr_1", vi = "_overlay_10oxr_1", wi = "_drawer_10oxr_1", Ci = "_notification_10oxr_1", ki = "_alert_10oxr_1", Si = "_toast_10oxr_1", Li = "_loading_10oxr_291", ji = "_error_10oxr_252", $i = "_critical_10oxr_1", Ti = "_inputBase_10oxr_96", Ei = "_wrapper_10oxr_106", Ii = "_gripHandle_10oxr_186", Ri = "_tabFocused_10oxr_259", Ni = "_disabled_10oxr_284", Mi = "_label_10oxr_301", Ai = "_S_10oxr_315", Bi = "_M_10oxr_321", Oi = "_XL_10oxr_328", Pi = "_leftSection_10oxr_335", zi = "_rightSection_10oxr_347", Di = "_helper_10oxr_385", Fi = "_floatingLabel_10oxr_415", Wi = "_focused_10oxr_481", Hi = "_filled_10oxr_482", qi = "_L_10oxr_522", Vi = "_characterLimit_10oxr_564", Xi = "_textarea_10oxr_124", Ui = "_truncate_10oxr_707", B = {
2605
+ }), ii = "_base_10oxr_1", li = "_content_10oxr_1", ci = "_background_10oxr_1", di = "_button_10oxr_1", ui = "_link_10oxr_1", _i = "_input_10oxr_96", pi = "_suffix_10oxr_1", fi = "_prefix_10oxr_1", gi = "_tooltip_10oxr_1", hi = "_hint_10oxr_794", mi = "_dropdown_10oxr_1", bi = "_popover_10oxr_1", xi = "_modalBackdrop_10oxr_1", yi = "_modal_10oxr_1", vi = "_overlay_10oxr_1", wi = "_drawer_10oxr_1", Ci = "_notification_10oxr_1", ki = "_alert_10oxr_1", Si = "_toast_10oxr_1", Li = "_loading_10oxr_291", ji = "_error_10oxr_252", $i = "_critical_10oxr_1", Ti = "_inputBase_10oxr_96", Ei = "_wrapper_10oxr_106", Ii = "_gripHandle_10oxr_186", Ri = "_tabFocused_10oxr_259", Ni = "_disabled_10oxr_284", Mi = "_label_10oxr_301", Ai = "_S_10oxr_315", Bi = "_M_10oxr_321", Oi = "_XL_10oxr_328", Pi = "_leftSection_10oxr_335", zi = "_rightSection_10oxr_347", Di = "_helper_10oxr_385", Fi = "_floatingLabel_10oxr_415", Wi = "_focused_10oxr_481", Hi = "_filled_10oxr_482", qi = "_L_10oxr_522", Vi = "_characterLimit_10oxr_564", Xi = "_textarea_10oxr_124", Ui = "_truncate_10oxr_707", B = {
2606
2606
  base: ii,
2607
2607
  content: li,
2608
2608
  background: ci,
@@ -2614,8 +2614,8 @@ const Wa = (t) => {
2614
2614
  tooltip: gi,
2615
2615
  hint: hi,
2616
2616
  dropdown: mi,
2617
- popover: xi,
2618
- modalBackdrop: bi,
2617
+ popover: bi,
2618
+ modalBackdrop: xi,
2619
2619
  modal: yi,
2620
2620
  overlay: vi,
2621
2621
  drawer: wi,
@@ -2743,14 +2743,14 @@ const Wa = (t) => {
2743
2743
  return G(s, [t, r]), G(() => {
2744
2744
  r === "hug" && n.current && s();
2745
2745
  }, []), { resizeTextArea: s };
2746
- }, Ki = (t, r, n, s) => ({ handleGripMouseDown: xt(
2746
+ }, Ki = (t, r, n, s) => ({ handleGripMouseDown: bt(
2747
2747
  (a) => {
2748
2748
  if (!t || r || n || !(s === "fixed" || !s)) return;
2749
2749
  a.preventDefault(), a.stopPropagation();
2750
2750
  const l = a.currentTarget.closest(`.${B.wrapper}`);
2751
2751
  if (!l) return;
2752
- const d = a.clientY, g = l.clientHeight, h = (x) => {
2753
- const w = x.clientY - d, u = Math.min(100, g), f = Math.max(u, g + w);
2752
+ const d = a.clientY, g = l.clientHeight, h = (b) => {
2753
+ const w = b.clientY - d, u = Math.min(100, g), f = Math.max(u, g + w);
2754
2754
  l.style.height = `${f}px`;
2755
2755
  }, c = () => {
2756
2756
  document.removeEventListener("mousemove", h), document.removeEventListener("mouseup", c);
@@ -2771,19 +2771,19 @@ const Wa = (t) => {
2771
2771
  onChange: g,
2772
2772
  onKeyDown: h,
2773
2773
  onKeyUp: c,
2774
- maxLength: x,
2774
+ maxLength: b,
2775
2775
  className: w,
2776
2776
  style: u,
2777
2777
  truncate: f = !1,
2778
- shouldShowFloatingLabelClass: b = !1,
2778
+ shouldShowFloatingLabelClass: x = !1,
2779
2779
  "aria-invalid": _,
2780
2780
  "aria-errormessage": m,
2781
2781
  id: p,
2782
2782
  resize: y,
2783
2783
  ...S
2784
2784
  }, $) => {
2785
- const { textareaRef: C, inputRef: j, currentRef: E } = Yi(n, t);
2786
- if (Gi(n, y, C), Ur($, () => E.current, [E]), t === "textarea")
2785
+ const { textareaRef: C, inputRef: j, currentRef: T } = Yi(n, t);
2786
+ if (Gi(n, y, C), Ur($, () => T.current, [T]), t === "textarea")
2787
2787
  return /* @__PURE__ */ e.jsx(
2788
2788
  "textarea",
2789
2789
  {
@@ -2797,11 +2797,11 @@ const Wa = (t) => {
2797
2797
  onChange: g,
2798
2798
  onKeyDown: h,
2799
2799
  onKeyUp: c,
2800
- maxLength: x,
2800
+ maxLength: b,
2801
2801
  className: k(
2802
2802
  B.textarea,
2803
2803
  B[`size-${r}`],
2804
- b && B["with-floating-label"],
2804
+ x && B["with-floating-label"],
2805
2805
  w
2806
2806
  ),
2807
2807
  style: u,
@@ -2827,11 +2827,11 @@ const Wa = (t) => {
2827
2827
  onChange: g,
2828
2828
  onKeyDown: h,
2829
2829
  onKeyUp: c,
2830
- maxLength: x,
2830
+ maxLength: b,
2831
2831
  className: k(
2832
2832
  B.input,
2833
2833
  B[`size-${r}`],
2834
- b && B["with-floating-label"],
2834
+ x && B["with-floating-label"],
2835
2835
  f && B.truncate,
2836
2836
  w
2837
2837
  ),
@@ -2848,7 +2848,7 @@ const Wa = (t) => {
2848
2848
  `[Input] Недопустимое значение prop 'component': "${String(t)}". Допустимые значения: 'input', 'textarea'`
2849
2849
  ), null;
2850
2850
  }
2851
- ), xr = Q(
2851
+ ), br = Q(
2852
2852
  ({
2853
2853
  children: t,
2854
2854
  size: r = "L",
@@ -2861,11 +2861,11 @@ const Wa = (t) => {
2861
2861
  floatingLabelStyles: g,
2862
2862
  prefixStyles: h,
2863
2863
  suffixStyles: c,
2864
- labelProps: x,
2864
+ labelProps: b,
2865
2865
  helperProps: w,
2866
2866
  showLimit: u = !1,
2867
2867
  maxLength: f,
2868
- hint: b,
2868
+ hint: x,
2869
2869
  showHint: _ = !1,
2870
2870
  showHintOnEmpty: m = !1,
2871
2871
  prefix: p,
@@ -2874,15 +2874,15 @@ const Wa = (t) => {
2874
2874
  placeholder: $,
2875
2875
  showLabel: C = !0,
2876
2876
  labelClassName: j,
2877
- hasValue: E = !1,
2877
+ hasValue: T = !1,
2878
2878
  helper: I,
2879
2879
  id: M,
2880
- value: z = "",
2881
- resize: D,
2882
- showGrip: T = !1,
2880
+ value: D = "",
2881
+ resize: F,
2882
+ showGrip: E = !1,
2883
2883
  ...N
2884
- }, W) => {
2885
- const H = Le(), X = M || H, Y = _ && b && (E || m), P = b && b.length > ar ? b.substring(0, ar) + "..." : b, K = k(
2884
+ }, z) => {
2885
+ const H = Le(), U = M || H, Y = _ && x && (T || m), nt = x && x.length > ar ? x.substring(0, ar) + "..." : x, O = k(
2886
2886
  B.wrapper,
2887
2887
  B[`size-${r}`],
2888
2888
  n && B.error,
@@ -2892,27 +2892,27 @@ const Wa = (t) => {
2892
2892
  y && B["has-suffix"],
2893
2893
  u && B["has-limit"],
2894
2894
  a
2895
- ), U = k(
2895
+ ), V = k(
2896
2896
  B.floatingLabel,
2897
2897
  B[r],
2898
- E && B.filled,
2898
+ T && B.filled,
2899
2899
  j
2900
- ), { handleGripMouseDown: tt } = Ki(T, s, i, D);
2901
- return /* @__PURE__ */ e.jsxs("div", { ref: W, className: B.inputBase, "data-testid": "input-base-wrapper", ...N, children: [
2900
+ ), { handleGripMouseDown: K } = Ki(E, s, i, F);
2901
+ return /* @__PURE__ */ e.jsxs("div", { ref: z, className: B.inputBase, "data-testid": "input-base-wrapper", ...N, children: [
2902
2902
  /* @__PURE__ */ e.jsxs(
2903
2903
  "div",
2904
2904
  {
2905
- className: K,
2905
+ className: O,
2906
2906
  style: d,
2907
- "data-resize": D,
2908
- "data-show-grip": T ? "true" : "false",
2907
+ "data-resize": F,
2908
+ "data-show-grip": E ? "true" : "false",
2909
2909
  ...l,
2910
2910
  children: [
2911
- p && /* @__PURE__ */ e.jsx("label", { htmlFor: X, className: B.leftSection, style: h, children: p }),
2911
+ p && /* @__PURE__ */ e.jsx("label", { htmlFor: U, className: B.leftSection, style: h, children: p }),
2912
2912
  y && /* @__PURE__ */ e.jsx(
2913
2913
  "label",
2914
2914
  {
2915
- htmlFor: X,
2915
+ htmlFor: U,
2916
2916
  className: B.rightSection,
2917
2917
  style: c,
2918
2918
  onClick: S,
@@ -2922,19 +2922,19 @@ const Wa = (t) => {
2922
2922
  $ && C && /* @__PURE__ */ e.jsx(
2923
2923
  "label",
2924
2924
  {
2925
- htmlFor: X,
2926
- className: U,
2925
+ htmlFor: U,
2926
+ className: V,
2927
2927
  style: g,
2928
- ...x,
2928
+ ...b,
2929
2929
  children: $
2930
2930
  }
2931
2931
  ),
2932
2932
  t,
2933
- T && !u && (D === "fixed" || !D) && /* @__PURE__ */ e.jsx(
2933
+ E && !u && (F === "fixed" || !F) && /* @__PURE__ */ e.jsx(
2934
2934
  "div",
2935
2935
  {
2936
2936
  className: B.gripHandle,
2937
- onMouseDown: tt,
2937
+ onMouseDown: K,
2938
2938
  role: "button",
2939
2939
  tabIndex: -1,
2940
2940
  "aria-label": "Изменить размер",
@@ -2944,13 +2944,13 @@ const Wa = (t) => {
2944
2944
  Y && /* @__PURE__ */ e.jsx(
2945
2945
  "div",
2946
2946
  {
2947
- className: k(B.hint, E && B.truncate),
2947
+ className: k(B.hint, T && B.truncate),
2948
2948
  "data-disabled": s || i,
2949
- children: P
2949
+ children: nt
2950
2950
  }
2951
2951
  ),
2952
2952
  u && f && /* @__PURE__ */ e.jsxs("div", { className: B.characterLimit, children: [
2953
- (z || "").length,
2953
+ (D || "").length,
2954
2954
  " из ",
2955
2955
  f
2956
2956
  ] })
@@ -2966,17 +2966,17 @@ const Wa = (t) => {
2966
2966
  (s || i) && B.disabled
2967
2967
  ),
2968
2968
  ...w,
2969
- id: n ? `${X}-error` : void 0,
2969
+ id: n ? `${U}-error` : void 0,
2970
2970
  children: I
2971
2971
  }
2972
2972
  )
2973
2973
  ] });
2974
2974
  }
2975
2975
  );
2976
- xr.displayName = "InputWrapperComponent";
2976
+ br.displayName = "InputWrapperComponent";
2977
2977
  const sr = Object.assign(Ji, {
2978
- Wrapper: xr
2979
- }), br = Q(
2978
+ Wrapper: br
2979
+ }), xr = Q(
2980
2980
  ({
2981
2981
  component: t = "input",
2982
2982
  size: r = "L",
@@ -2989,11 +2989,11 @@ const sr = Object.assign(Ji, {
2989
2989
  labelClassName: g,
2990
2990
  helper: h,
2991
2991
  prefix: c,
2992
- suffix: x,
2992
+ suffix: b,
2993
2993
  id: w,
2994
2994
  onFocus: u,
2995
2995
  onBlur: f,
2996
- onKeyDown: b,
2996
+ onKeyDown: x,
2997
2997
  onSuffixClick: _,
2998
2998
  onChange: m,
2999
2999
  value: p = "",
@@ -3002,70 +3002,70 @@ const sr = Object.assign(Ji, {
3002
3002
  floatingLabelStyles: $,
3003
3003
  prefixStyles: C,
3004
3004
  suffixStyles: j,
3005
- textareaStyles: E,
3005
+ textareaStyles: T,
3006
3006
  labelProps: I,
3007
3007
  helperProps: M,
3008
- showLimit: z = !1,
3009
- maxLength: D,
3010
- inputProps: T,
3008
+ showLimit: D = !1,
3009
+ maxLength: F,
3010
+ inputProps: E,
3011
3011
  hint: N,
3012
- showHint: W = !1,
3012
+ showHint: z = !1,
3013
3013
  showHintOnEmpty: H = !1,
3014
- truncate: X = !1,
3014
+ truncate: U = !1,
3015
3015
  resize: Y,
3016
- showGrip: P = !1,
3017
- ...K
3018
- }, U) => {
3019
- const tt = Le(), ct = w || tt, [$t, Ct] = it(p), dt = p !== void 0 ? p : $t, Nt = (dt || "").length > 0, ht = dt || "", Pt = d && (r === "XL" || t === "textarea") && !c, de = xt(
3016
+ showGrip: nt = !1,
3017
+ ...O
3018
+ }, V) => {
3019
+ const K = Le(), ct = w || K, [$t, Ct] = lt(p), ut = p !== void 0 ? p : $t, Nt = (ut || "").length > 0, ht = ut || "", Pt = d && (r === "XL" || t === "textarea") && !c, de = bt(
3020
3020
  (ot) => {
3021
3021
  var at;
3022
- i || a || (u == null || u(), (at = T == null ? void 0 : T.onFocus) == null || at.call(
3023
- T,
3022
+ i || a || (u == null || u(), (at = E == null ? void 0 : E.onFocus) == null || at.call(
3023
+ E,
3024
3024
  ot
3025
3025
  ));
3026
3026
  },
3027
- [u, T, i, a]
3028
- ), Jt = xt(
3027
+ [u, E, i, a]
3028
+ ), Qt = bt(
3029
3029
  (ot) => {
3030
3030
  var at;
3031
3031
  if (ot.key === "Tab") {
3032
3032
  const kt = ot.target.closest(`.${B.wrapper}`);
3033
3033
  kt && kt.classList.add(B.tabFocused);
3034
3034
  }
3035
- (at = T == null ? void 0 : T.onKeyUp) == null || at.call(
3036
- T,
3035
+ (at = E == null ? void 0 : E.onKeyUp) == null || at.call(
3036
+ E,
3037
3037
  ot
3038
3038
  );
3039
3039
  },
3040
- [T]
3041
- ), ue = xt(
3040
+ [E]
3041
+ ), ue = bt(
3042
3042
  (ot) => {
3043
3043
  var kt;
3044
3044
  const at = ot.target.closest(`.${B.wrapper}`);
3045
- at && at.classList.remove(B.tabFocused), f == null || f(), (kt = T == null ? void 0 : T.onBlur) == null || kt.call(
3046
- T,
3045
+ at && at.classList.remove(B.tabFocused), f == null || f(), (kt = E == null ? void 0 : E.onBlur) == null || kt.call(
3046
+ E,
3047
3047
  ot
3048
3048
  );
3049
3049
  },
3050
- [f, T]
3051
- ), _e = xt(
3050
+ [f, E]
3051
+ ), _e = bt(
3052
3052
  (ot) => {
3053
3053
  var kt;
3054
3054
  if (i || a) return;
3055
3055
  const at = ot.target.value;
3056
- Ct(at), m == null || m(at, ot), (kt = T == null ? void 0 : T.onChange) == null || kt.call(
3057
- T,
3056
+ Ct(at), m == null || m(at, ot), (kt = E == null ? void 0 : E.onChange) == null || kt.call(
3057
+ E,
3058
3058
  ot
3059
3059
  );
3060
3060
  },
3061
- [m, T, i, a]
3061
+ [m, E, i, a]
3062
3062
  );
3063
3063
  return G(() => {
3064
3064
  Ct(p || "");
3065
3065
  }, [p]), /* @__PURE__ */ e.jsx(
3066
3066
  sr.Wrapper,
3067
3067
  {
3068
- ref: U,
3068
+ ref: V,
3069
3069
  size: r,
3070
3070
  error: s,
3071
3071
  disabled: i || a,
@@ -3078,13 +3078,13 @@ const sr = Object.assign(Ji, {
3078
3078
  suffixStyles: j,
3079
3079
  labelProps: I,
3080
3080
  helperProps: M,
3081
- showLimit: z,
3082
- maxLength: D,
3081
+ showLimit: D,
3082
+ maxLength: F,
3083
3083
  hint: N,
3084
- showHint: W,
3084
+ showHint: z,
3085
3085
  showHintOnEmpty: H,
3086
3086
  prefix: c,
3087
- suffix: x,
3087
+ suffix: b,
3088
3088
  onSuffixClick: _,
3089
3089
  placeholder: l,
3090
3090
  showLabel: d,
@@ -3093,9 +3093,9 @@ const sr = Object.assign(Ji, {
3093
3093
  helper: h,
3094
3094
  id: ct,
3095
3095
  value: ht,
3096
- showGrip: P,
3096
+ showGrip: nt,
3097
3097
  resize: Y,
3098
- ...K,
3098
+ ...O,
3099
3099
  children: /* @__PURE__ */ e.jsx(
3100
3100
  sr,
3101
3101
  {
@@ -3108,18 +3108,18 @@ const sr = Object.assign(Ji, {
3108
3108
  onFocus: de,
3109
3109
  onBlur: ue,
3110
3110
  onChange: _e,
3111
- onKeyDown: b,
3112
- onKeyUp: Jt,
3113
- maxLength: D,
3114
- truncate: X,
3111
+ onKeyDown: x,
3112
+ onKeyUp: Qt,
3113
+ maxLength: F,
3114
+ truncate: U,
3115
3115
  "data-empty": !Nt,
3116
3116
  shouldShowFloatingLabelClass: Pt,
3117
- style: t === "textarea" ? E : void 0,
3117
+ style: t === "textarea" ? T : void 0,
3118
3118
  "aria-invalid": !!s,
3119
3119
  "aria-errormessage": s ? `${ct}-error` : void 0,
3120
3120
  id: ct,
3121
3121
  resize: Y,
3122
- ...T
3122
+ ...E
3123
3123
  }
3124
3124
  )
3125
3125
  }
@@ -3282,7 +3282,7 @@ const sr = Object.assign(Ji, {
3282
3282
  suffixStyles: {}
3283
3283
  };
3284
3284
  }
3285
- }, k2 = Q(
3285
+ }, j2 = Q(
3286
3286
  ({
3287
3287
  value: t = "",
3288
3288
  onChange: r,
@@ -3295,11 +3295,11 @@ const sr = Object.assign(Ji, {
3295
3295
  size: g = Z.L,
3296
3296
  inputProps: h,
3297
3297
  error: c,
3298
- disabled: x,
3298
+ disabled: b,
3299
3299
  loading: w,
3300
3300
  helper: u,
3301
3301
  prefix: f,
3302
- suffix: b,
3302
+ suffix: x,
3303
3303
  clearable: _ = !1,
3304
3304
  id: m,
3305
3305
  showLabel: p = !0,
@@ -3308,20 +3308,20 @@ const sr = Object.assign(Ji, {
3308
3308
  onSuffixClick: $,
3309
3309
  onClear: C,
3310
3310
  className: j,
3311
- truncate: E = !0,
3311
+ truncate: T = !0,
3312
3312
  hint: I,
3313
3313
  showHint: M = !1,
3314
- showHintOnEmpty: z = !1,
3315
- wrapperProps: D,
3316
- labelProps: T,
3314
+ showHintOnEmpty: D = !1,
3315
+ wrapperProps: F,
3316
+ labelProps: E,
3317
3317
  helperProps: N,
3318
- ...W
3318
+ ...z
3319
3319
  }, H) => {
3320
- const X = (t || "").length > 0, Y = g === Z.XL, P = !!f, K = Y && p && !f, U = _ && X && !(x || w), tt = () => {
3320
+ const U = (t || "").length > 0, Y = g === Z.XL, nt = !!f, O = Y && p && !f, V = _ && U && !(b || w), K = () => {
3321
3321
  r == null || r(""), C == null || C();
3322
3322
  }, ct = () => {
3323
- U && tt(), $ == null || $();
3324
- }, $t = U ? /* @__PURE__ */ e.jsx(
3323
+ V && K(), $ == null || $();
3324
+ }, $t = V ? /* @__PURE__ */ e.jsx(
3325
3325
  Ee,
3326
3326
  {
3327
3327
  size: g === Z.S || g === Z.M ? "xs" : "sm",
@@ -3329,25 +3329,25 @@ const sr = Object.assign(Ji, {
3329
3329
  style: { cursor: "pointer" },
3330
3330
  "data-testid": "x-icon"
3331
3331
  }
3332
- ) : b, Ct = {
3332
+ ) : x, Ct = {
3333
3333
  type: n,
3334
3334
  minLength: a,
3335
3335
  autoComplete: l,
3336
3336
  autoFocus: d,
3337
3337
  ...h
3338
- }, dt = il(g, K, X, P);
3338
+ }, ut = il(g, O, U, nt);
3339
3339
  return /* @__PURE__ */ e.jsx(
3340
- br,
3340
+ xr,
3341
3341
  {
3342
3342
  size: g,
3343
3343
  error: c,
3344
- disabled: x || w,
3344
+ disabled: b || w,
3345
3345
  loading: w,
3346
3346
  helper: u,
3347
3347
  prefix: f,
3348
3348
  suffix: $t,
3349
3349
  id: m,
3350
- showLabel: K,
3350
+ showLabel: O,
3351
3351
  onFocus: y,
3352
3352
  onBlur: S,
3353
3353
  onSuffixClick: ct,
@@ -3355,37 +3355,37 @@ const sr = Object.assign(Ji, {
3355
3355
  value: t,
3356
3356
  placeholder: s,
3357
3357
  className: j,
3358
- wrapperStyles: dt.wrapperStyles,
3359
- floatingLabelStyles: dt.floatingLabelStyles,
3360
- prefixStyles: dt.prefixStyles,
3361
- suffixStyles: dt.suffixStyles,
3362
- wrapperProps: D,
3363
- labelProps: T,
3358
+ wrapperStyles: ut.wrapperStyles,
3359
+ floatingLabelStyles: ut.floatingLabelStyles,
3360
+ prefixStyles: ut.prefixStyles,
3361
+ suffixStyles: ut.suffixStyles,
3362
+ wrapperProps: F,
3363
+ labelProps: E,
3364
3364
  helperProps: N,
3365
3365
  showLimit: !1,
3366
3366
  maxLength: i,
3367
3367
  inputProps: Ct,
3368
3368
  hint: I,
3369
3369
  showHint: M,
3370
- showHintOnEmpty: z,
3371
- truncate: E,
3372
- ...W
3370
+ showHintOnEmpty: D,
3371
+ truncate: T,
3372
+ ...z
3373
3373
  }
3374
3374
  );
3375
3375
  }
3376
- ), bt = {
3376
+ ), xt = {
3377
3377
  M: "M",
3378
3378
  L: "L"
3379
- }, se = {
3379
+ }, ie = {
3380
3380
  M: "12px",
3381
3381
  L: "16px"
3382
3382
  }, ll = {
3383
3383
  M: "xs",
3384
3384
  L: "sm"
3385
- }, ne = {
3385
+ }, oe = {
3386
3386
  FILL: "fill",
3387
3387
  FIXED: "fixed"
3388
- }, be = {
3388
+ }, xe = {
3389
3389
  M: "112px",
3390
3390
  L: "56px"
3391
3391
  }, Wt = {
@@ -3401,18 +3401,18 @@ const sr = Object.assign(Ji, {
3401
3401
  L: 56,
3402
3402
  XL: 112
3403
3403
  }, cl = (t, r) => {
3404
- if (t === bt.M)
3405
- return be.M;
3404
+ if (t === xt.M)
3405
+ return xe.M;
3406
3406
  if (r)
3407
3407
  return `${r}px`;
3408
3408
  switch (t) {
3409
- case bt.L:
3410
- return be.L;
3409
+ case xt.L:
3410
+ return xe.L;
3411
3411
  default:
3412
- return be.L;
3412
+ return xe.L;
3413
3413
  }
3414
3414
  }, dl = (t, r) => {
3415
- if (t === bt.M)
3415
+ if (t === xt.M)
3416
3416
  return Wt.M;
3417
3417
  if (r)
3418
3418
  switch (r) {
@@ -3425,13 +3425,13 @@ const sr = Object.assign(Ji, {
3425
3425
  return Wt.L;
3426
3426
  }
3427
3427
  switch (t) {
3428
- case bt.L:
3428
+ case xt.L:
3429
3429
  return Wt.L;
3430
3430
  default:
3431
3431
  return Wt.L;
3432
3432
  }
3433
3433
  }, ul = (t, r, n) => {
3434
- if (t === bt.M)
3434
+ if (t === xt.M)
3435
3435
  return Et.M;
3436
3436
  if (r)
3437
3437
  switch (r) {
@@ -3445,13 +3445,13 @@ const sr = Object.assign(Ji, {
3445
3445
  return Et.L;
3446
3446
  }
3447
3447
  switch (t) {
3448
- case bt.L:
3448
+ case xt.L:
3449
3449
  return n ? Et.L_FLOATING_LABEL : Et.L;
3450
3450
  default:
3451
3451
  return Et.L;
3452
3452
  }
3453
3453
  }, _l = (t, r) => {
3454
- if (t === bt.M)
3454
+ if (t === xt.M)
3455
3455
  return "M";
3456
3456
  if (r)
3457
3457
  switch (r) {
@@ -3465,37 +3465,37 @@ const sr = Object.assign(Ji, {
3465
3465
  return "L";
3466
3466
  }
3467
3467
  return t;
3468
- }, pl = (t) => ll[t], fl = (t) => se[t], gl = (t, r, n, s) => {
3468
+ }, pl = (t) => ll[t], fl = (t) => ie[t], gl = (t, r, n, s) => {
3469
3469
  const i = cl(t, r), a = dl(t, r), l = ul(t, r, n);
3470
3470
  return {
3471
3471
  wrapperStyles: {
3472
3472
  minHeight: i,
3473
3473
  // Для fill resize устанавливаем height: 100%
3474
- ...s === ne.FILL && { height: "100%" },
3474
+ ...s === oe.FILL && { height: "100%" },
3475
3475
  // Для fixed resize устанавливаем фиксированную высоту
3476
- ...s === ne.FIXED && r && { height: i },
3476
+ ...s === oe.FIXED && r && { height: i },
3477
3477
  boxSizing: "border-box",
3478
3478
  padding: l
3479
3479
  },
3480
3480
  floatingLabelStyles: {
3481
- left: t === bt.M ? se.M : se.L,
3481
+ left: t === xt.M ? ie.M : ie.L,
3482
3482
  transformOrigin: "left top",
3483
- top: r === 112 && n && t === bt.L ? se.L : void 0
3483
+ top: r === 112 && n && t === xt.L ? ie.L : void 0
3484
3484
  },
3485
3485
  suffixStyles: {
3486
3486
  right: fl(t),
3487
- top: r === 48 && t === bt.L ? "11px" : void 0,
3487
+ top: r === 48 && t === xt.L ? "11px" : void 0,
3488
3488
  boxSizing: "border-box"
3489
3489
  },
3490
3490
  textareaStyles: {
3491
3491
  minHeight: a,
3492
3492
  // Для fill resize flex: 1
3493
- ...s === ne.FILL && { flex: 1, minHeight: 0 },
3493
+ ...s === oe.FILL && { flex: 1, minHeight: 0 },
3494
3494
  // Для fixed resize фиксированная высота
3495
- ...s === ne.FIXED && r && { height: a }
3495
+ ...s === oe.FIXED && r && { height: a }
3496
3496
  }
3497
3497
  };
3498
- }, S2 = Q(
3498
+ }, $2 = Q(
3499
3499
  ({
3500
3500
  value: t = "",
3501
3501
  onChange: r,
@@ -3503,16 +3503,16 @@ const sr = Object.assign(Ji, {
3503
3503
  maxLength: s,
3504
3504
  minLength: i,
3505
3505
  autoFocus: a,
3506
- size: l = bt.L,
3506
+ size: l = xt.L,
3507
3507
  textareaProps: d,
3508
3508
  error: g,
3509
3509
  disabled: h,
3510
3510
  loading: c,
3511
- helper: x,
3511
+ helper: b,
3512
3512
  suffix: w,
3513
3513
  clearable: u = !1,
3514
3514
  id: f,
3515
- showLabel: b = !0,
3515
+ showLabel: x = !0,
3516
3516
  onFocus: _,
3517
3517
  onBlur: m,
3518
3518
  onClear: p,
@@ -3521,18 +3521,18 @@ const sr = Object.assign(Ji, {
3521
3521
  rows: $ = 1,
3522
3522
  showLimit: C = !1,
3523
3523
  wrapperProps: j,
3524
- labelProps: E,
3524
+ labelProps: T,
3525
3525
  helperProps: I,
3526
3526
  showGrip: M,
3527
- minHeight: z,
3528
- resize: D,
3529
- ...T
3527
+ minHeight: D,
3528
+ resize: F,
3529
+ ...E
3530
3530
  }, N) => {
3531
- const W = (t || "").length > 0, H = b && !!n && (l === bt.M || z !== 48), X = u && W && !(h || c), Y = () => {
3531
+ const z = (t || "").length > 0, H = x && !!n && (l === xt.M || D !== 48), U = u && z && !(h || c), Y = () => {
3532
3532
  r == null || r(""), p == null || p();
3533
- }, P = () => {
3534
- X && Y();
3535
- }, K = X ? /* @__PURE__ */ e.jsx(
3533
+ }, nt = () => {
3534
+ U && Y();
3535
+ }, O = U ? /* @__PURE__ */ e.jsx(
3536
3536
  Ee,
3537
3537
  {
3538
3538
  size: pl(l),
@@ -3540,25 +3540,25 @@ const sr = Object.assign(Ji, {
3540
3540
  style: { cursor: "pointer" },
3541
3541
  "data-testid": "x-icon"
3542
3542
  }
3543
- ) : w, U = gl(l, z, H && W, D), tt = _l(l, z), ct = {
3543
+ ) : w, V = gl(l, D, H && z, F), K = _l(l, D), ct = {
3544
3544
  rows: $,
3545
3545
  minLength: i,
3546
3546
  autoFocus: a,
3547
- resize: D,
3547
+ resize: F,
3548
3548
  ...d
3549
3549
  };
3550
3550
  return /* @__PURE__ */ e.jsx(
3551
- br,
3551
+ xr,
3552
3552
  {
3553
3553
  ref: N,
3554
3554
  component: "textarea",
3555
- size: tt,
3555
+ size: K,
3556
3556
  error: g,
3557
3557
  disabled: h || c,
3558
3558
  loading: c,
3559
- onSuffixClick: P,
3560
- helper: x,
3561
- suffix: K,
3559
+ onSuffixClick: nt,
3560
+ helper: b,
3561
+ suffix: O,
3562
3562
  id: f,
3563
3563
  showLabel: H,
3564
3564
  onFocus: _,
@@ -3569,19 +3569,19 @@ const sr = Object.assign(Ji, {
3569
3569
  placeholder: n,
3570
3570
  className: S,
3571
3571
  "data-floating-label": H,
3572
- wrapperStyles: U.wrapperStyles,
3573
- floatingLabelStyles: U.floatingLabelStyles,
3574
- suffixStyles: U.suffixStyles,
3575
- textareaStyles: U.textareaStyles,
3572
+ wrapperStyles: V.wrapperStyles,
3573
+ floatingLabelStyles: V.floatingLabelStyles,
3574
+ suffixStyles: V.suffixStyles,
3575
+ textareaStyles: V.textareaStyles,
3576
3576
  wrapperProps: j,
3577
- labelProps: E,
3577
+ labelProps: T,
3578
3578
  helperProps: I,
3579
- showLimit: C && (z === 112 || l === bt.M),
3579
+ showLimit: C && (D === 112 || l === xt.M),
3580
3580
  maxLength: s,
3581
3581
  inputProps: ct,
3582
- resize: D,
3582
+ resize: F,
3583
3583
  showGrip: M,
3584
- ...T
3584
+ ...E
3585
3585
  }
3586
3586
  );
3587
3587
  }
@@ -3616,10 +3616,10 @@ const sr = Object.assign(Ji, {
3616
3616
  children: /* @__PURE__ */ e.jsx("p", { children: c })
3617
3617
  }
3618
3618
  );
3619
- }, xl = "_radio_1n8zx_59", bl = "_checked_1n8zx_80", yl = "_error_1n8zx_85", vl = "_disabled_1n8zx_94", wl = "_icon_1n8zx_130", Cl = "_small_1n8zx_138", kl = "_medium_1n8zx_145", Sl = "_large_1n8zx_152", Ll = "_label_1n8zx_159", jl = "_container_1n8zx_185", $l = "_input_1n8zx_198", Tl = "_card_1n8zx_205", El = "_smallCard_1n8zx_211", Il = "_mediumCard_1n8zx_215", Rl = "_largeCard_1n8zx_219", mt = {
3619
+ }, bl = "_radio_1n8zx_59", xl = "_checked_1n8zx_80", yl = "_error_1n8zx_85", vl = "_disabled_1n8zx_94", wl = "_icon_1n8zx_130", Cl = "_small_1n8zx_138", kl = "_medium_1n8zx_145", Sl = "_large_1n8zx_152", Ll = "_label_1n8zx_159", jl = "_container_1n8zx_185", $l = "_input_1n8zx_198", Tl = "_card_1n8zx_205", El = "_smallCard_1n8zx_211", Il = "_mediumCard_1n8zx_215", Rl = "_largeCard_1n8zx_219", mt = {
3620
3620
  default: "_default_1n8zx_53",
3621
- radio: xl,
3622
- checked: bl,
3621
+ radio: bl,
3622
+ checked: xl,
3623
3623
  error: yl,
3624
3624
  disabled: vl,
3625
3625
  icon: wl,
@@ -3645,21 +3645,21 @@ const sr = Object.assign(Ji, {
3645
3645
  disabled: g = !1,
3646
3646
  checked: h = !1,
3647
3647
  containerClassName: c,
3648
- className: x,
3648
+ className: b,
3649
3649
  children: w,
3650
3650
  clickable: u = "all",
3651
3651
  mode: f = "default",
3652
- tabIndex: b,
3652
+ tabIndex: x,
3653
3653
  style: _,
3654
3654
  containerStyle: m,
3655
3655
  onChange: p,
3656
3656
  "data-testid": y,
3657
3657
  ...S
3658
- } = t, $ = !!d, C = g || l, j = u === "all", E = f === "card", I = mt[`${a}Card`], M = s ?? n, z = (H) => {
3658
+ } = t, $ = !!d, C = g || l, j = u === "all", T = f === "card", I = mt[`${a}Card`], M = s ?? n, D = (H) => {
3659
3659
  C || p == null || p(i, H);
3660
- }, D = (H) => {
3660
+ }, F = (H) => {
3661
3661
  H.key === "Enter" && !C && (H.preventDefault(), p == null || p(i));
3662
- }, T = (H) => H.stopPropagation(), N = () => /* @__PURE__ */ e.jsxs(
3662
+ }, E = (H) => H.stopPropagation(), N = () => /* @__PURE__ */ e.jsxs(
3663
3663
  "div",
3664
3664
  {
3665
3665
  className: k(
@@ -3670,10 +3670,10 @@ const sr = Object.assign(Ji, {
3670
3670
  [mt.disabled]: C,
3671
3671
  [mt.error]: $ && !C
3672
3672
  },
3673
- x
3673
+ b
3674
3674
  ),
3675
3675
  style: _,
3676
- tabIndex: b || 1,
3676
+ tabIndex: x || 1,
3677
3677
  "data-testid": `${Nl}${M}`,
3678
3678
  children: [
3679
3679
  /* @__PURE__ */ e.jsx(
@@ -3690,14 +3690,14 @@ const sr = Object.assign(Ji, {
3690
3690
  ref: r,
3691
3691
  type: "radio",
3692
3692
  value: i,
3693
- onChange: z,
3694
- onClick: T
3693
+ onChange: D,
3694
+ onClick: E
3695
3695
  }
3696
3696
  ),
3697
3697
  /* @__PURE__ */ e.jsx("svg", { "data-testid": `radio-icon-${M}`, viewBox: "0 0 8 8", className: mt.icon, children: /* @__PURE__ */ e.jsx("circle", { cx: 4, cy: 4, fill: "current", r: 4 }) })
3698
3698
  ]
3699
3699
  }
3700
- ), W = () => /* @__PURE__ */ e.jsxs(
3700
+ ), z = () => /* @__PURE__ */ e.jsxs(
3701
3701
  "label",
3702
3702
  {
3703
3703
  "aria-checked": h,
@@ -3707,9 +3707,9 @@ const sr = Object.assign(Ji, {
3707
3707
  style: m,
3708
3708
  className: k(mt.label, {
3709
3709
  [k(mt.container, mt[f], c)]: j,
3710
- [I]: j && E
3710
+ [I]: j && T
3711
3711
  }),
3712
- onKeyDown: D,
3712
+ onKeyDown: F,
3713
3713
  ...S,
3714
3714
  children: [
3715
3715
  N(),
@@ -3717,15 +3717,15 @@ const sr = Object.assign(Ji, {
3717
3717
  ]
3718
3718
  }
3719
3719
  );
3720
- return j ? W() : /* @__PURE__ */ e.jsxs(
3720
+ return j ? z() : /* @__PURE__ */ e.jsxs(
3721
3721
  "div",
3722
3722
  {
3723
3723
  className: k(mt.container, mt[f], c, {
3724
- [I]: E
3724
+ [I]: T
3725
3725
  }),
3726
3726
  "data-testid": y,
3727
3727
  children: [
3728
- W(),
3728
+ z(),
3729
3729
  w
3730
3730
  ]
3731
3731
  }
@@ -3747,37 +3747,37 @@ const sr = Object.assign(Ji, {
3747
3747
  disabled: g = !1,
3748
3748
  layout: h = "vertical",
3749
3749
  "data-testid": c,
3750
- ...x
3750
+ ...b
3751
3751
  } = t;
3752
3752
  return /* @__PURE__ */ e.jsx(
3753
3753
  "div",
3754
3754
  {
3755
- className: jt(ir.group, ir[h], l),
3755
+ className: Lt(ir.group, ir[h], l),
3756
3756
  "data-testid": c ?? `radio-group-${s}`,
3757
3757
  id: n,
3758
3758
  ref: r,
3759
3759
  children: a.map(({ label: w, value: u, disabled: f }) => {
3760
- const b = `${s}-${String(u)}`, _ = String(u) === String(i);
3760
+ const x = `${s}-${String(u)}`, _ = String(u) === String(i);
3761
3761
  return /* @__PURE__ */ e.jsx(
3762
3762
  yr,
3763
3763
  {
3764
- id: b,
3764
+ id: x,
3765
3765
  checked: _,
3766
- "data-testid": b,
3766
+ "data-testid": x,
3767
3767
  disabled: g || f,
3768
3768
  name: s,
3769
3769
  value: u,
3770
3770
  className: d,
3771
- ...x,
3771
+ ...b,
3772
3772
  children: w
3773
3773
  },
3774
- b
3774
+ x
3775
3775
  );
3776
3776
  })
3777
3777
  }
3778
3778
  );
3779
3779
  }
3780
- ), L2 = Object.assign(yr, {
3780
+ ), T2 = Object.assign(yr, {
3781
3781
  Group: Pl
3782
3782
  }), zl = "_root_1jj3e_25", Dl = "_unordered_1jj3e_39", Fl = "_ordered_1jj3e_43", Wl = "_sm_1jj3e_48", Hl = "_md_1jj3e_59", ql = "_lg_1jj3e_70", Vl = "_xl_1jj3e_81", ve = {
3783
3783
  root: zl,
@@ -3790,7 +3790,7 @@ const sr = Object.assign(Ji, {
3790
3790
  }, Xl = (t) => {
3791
3791
  const { children: r, className: n, "data-testid": s = "list-item" } = t;
3792
3792
  return /* @__PURE__ */ e.jsx("li", { "data-testid": s, className: n, children: r });
3793
- }, j2 = Object.assign(
3793
+ }, E2 = Object.assign(
3794
3794
  Q((t, r) => {
3795
3795
  const {
3796
3796
  variant: n = "unordered",
@@ -3805,14 +3805,14 @@ const sr = Object.assign(Ji, {
3805
3805
  {
3806
3806
  "data-testid": l,
3807
3807
  ref: r,
3808
- className: jt(ve.root, ve[n], ve[a], s),
3808
+ className: Lt(ve.root, ve[n], ve[a], s),
3809
3809
  ...n === "ordered" && d,
3810
3810
  children: i
3811
3811
  }
3812
3812
  );
3813
3813
  }),
3814
3814
  { Item: Xl }
3815
- ), Ul = "_wrapper_1v8xn_5", Zl = "_viewport_1v8xn_12", Yl = "_mask_1v8xn_26", Gl = "_maskLeft_1v8xn_37", Kl = "_maskRight_1v8xn_42", Jl = "_visible_1v8xn_46", Ql = "_control_1v8xn_51", tc = "_xs_1v8xn_70", ec = "_sm_1v8xn_73", rc = "_md_1v8xn_76", nc = "_left_1v8xn_80", oc = "_right_1v8xn_83", _t = {
3815
+ ), Ul = "_wrapper_1v8xn_5", Zl = "_viewport_1v8xn_12", Yl = "_mask_1v8xn_26", Gl = "_maskLeft_1v8xn_37", Kl = "_maskRight_1v8xn_42", Jl = "_visible_1v8xn_46", Ql = "_control_1v8xn_51", tc = "_xs_1v8xn_70", ec = "_sm_1v8xn_73", rc = "_md_1v8xn_76", nc = "_left_1v8xn_80", oc = "_right_1v8xn_83", pt = {
3816
3816
  wrapper: Ul,
3817
3817
  viewport: Zl,
3818
3818
  mask: Yl,
@@ -3831,7 +3831,7 @@ const sr = Object.assign(Ji, {
3831
3831
  className: n,
3832
3832
  size: s
3833
3833
  }) => {
3834
- const i = gt(null), [a, l] = it(!1), [d, g] = it(!1), { ref: h, bgColor: c } = Te(), x = h ?? { current: null }, w = c ?? ac, u = r && a, f = r && d, b = ({ direction: p }) => /* @__PURE__ */ e.jsx(
3834
+ const i = gt(null), [a, l] = lt(!1), [d, g] = lt(!1), { ref: h, bgColor: c } = Te(), b = h ?? { current: null }, w = c ?? ac, u = r && a, f = r && d, x = ({ direction: p }) => /* @__PURE__ */ e.jsx(
3835
3835
  "svg",
3836
3836
  {
3837
3837
  height: "12px",
@@ -3871,11 +3871,11 @@ const sr = Object.assign(Ji, {
3871
3871
  return p.addEventListener("scroll", _, { passive: !0 }), window.addEventListener("resize", _), () => {
3872
3872
  p.removeEventListener("scroll", _), window.removeEventListener("resize", _);
3873
3873
  };
3874
- }, []), /* @__PURE__ */ e.jsxs("div", { ref: x, className: k(_t.wrapper, n), children: [
3874
+ }, []), /* @__PURE__ */ e.jsxs("div", { ref: b, className: k(pt.wrapper, n), children: [
3875
3875
  u && /* @__PURE__ */ e.jsx(
3876
3876
  "div",
3877
3877
  {
3878
- className: k(_t.mask, _t.maskLeft, a && _t.visible),
3878
+ className: k(pt.mask, pt.maskLeft, a && pt.visible),
3879
3879
  style: {
3880
3880
  background: `linear-gradient(to right, ${w} 17%, transparent 80%)`
3881
3881
  }
@@ -3884,22 +3884,22 @@ const sr = Object.assign(Ji, {
3884
3884
  f && /* @__PURE__ */ e.jsx(
3885
3885
  "div",
3886
3886
  {
3887
- className: k(_t.mask, _t.maskRight, d && _t.visible),
3887
+ className: k(pt.mask, pt.maskRight, d && pt.visible),
3888
3888
  style: {
3889
3889
  background: `linear-gradient(to left, ${w} 17%, transparent 80%)`
3890
3890
  }
3891
3891
  }
3892
3892
  ),
3893
- /* @__PURE__ */ e.jsx("div", { ref: i, className: _t.viewport, children: t }),
3893
+ /* @__PURE__ */ e.jsx("div", { ref: i, className: pt.viewport, children: t }),
3894
3894
  u && /* @__PURE__ */ e.jsx(
3895
3895
  "button",
3896
3896
  {
3897
3897
  type: "button",
3898
3898
  tabIndex: -1,
3899
3899
  "aria-hidden": "true",
3900
- className: k(_t.control, _t.left, _t[s]),
3900
+ className: k(pt.control, pt.left, pt[s]),
3901
3901
  onClick: () => m("left"),
3902
- children: /* @__PURE__ */ e.jsx(b, { direction: "left" })
3902
+ children: /* @__PURE__ */ e.jsx(x, { direction: "left" })
3903
3903
  }
3904
3904
  ),
3905
3905
  f && /* @__PURE__ */ e.jsx(
@@ -3908,13 +3908,13 @@ const sr = Object.assign(Ji, {
3908
3908
  type: "button",
3909
3909
  tabIndex: -1,
3910
3910
  "aria-hidden": "true",
3911
- className: k(_t.control, _t.right, _t[s]),
3911
+ className: k(pt.control, pt.right, pt[s]),
3912
3912
  onClick: () => m("right"),
3913
- children: /* @__PURE__ */ e.jsx(b, { direction: "right" })
3913
+ children: /* @__PURE__ */ e.jsx(x, { direction: "right" })
3914
3914
  }
3915
3915
  )
3916
3916
  ] });
3917
- }, ic = "_tabBar_1ndpm_82", lc = "_primary_1ndpm_88", cc = "_secondary_1ndpm_93", dc = "_tab_1ndpm_82", uc = "_md_1ndpm_125", _c = "_sm_1ndpm_129", pc = "_xs_1ndpm_133", fc = "_disabled_1ndpm_137", gc = "_selected_1ndpm_143", hc = "_tabLabel_1ndpm_222", mc = "_tabPrefix_1ndpm_234", xc = "_tabPostfix_1ndpm_270", st = {
3917
+ }, ic = "_tabBar_1ndpm_82", lc = "_primary_1ndpm_88", cc = "_secondary_1ndpm_93", dc = "_tab_1ndpm_82", uc = "_md_1ndpm_125", _c = "_sm_1ndpm_129", pc = "_xs_1ndpm_133", fc = "_disabled_1ndpm_137", gc = "_selected_1ndpm_143", hc = "_tabLabel_1ndpm_222", mc = "_tabPrefix_1ndpm_234", bc = "_tabPostfix_1ndpm_270", it = {
3918
3918
  tabBar: ic,
3919
3919
  primary: lc,
3920
3920
  secondary: cc,
@@ -3926,8 +3926,8 @@ const sr = Object.assign(Ji, {
3926
3926
  selected: gc,
3927
3927
  tabLabel: hc,
3928
3928
  tabPrefix: mc,
3929
- tabPostfix: xc
3930
- }, bc = "md", yc = !1, vc = 8, wc = "top-right-inside", vr = ke(null), wr = () => {
3929
+ tabPostfix: bc
3930
+ }, xc = "md", yc = !1, vc = 8, wc = "top-right-inside", vr = ke(null), wr = () => {
3931
3931
  const t = Se(vr);
3932
3932
  if (!t) throw new Error("useTabs должен использоваться внутри TabsProvider");
3933
3933
  return t;
@@ -3937,7 +3937,7 @@ const sr = Object.assign(Ji, {
3937
3937
  activeTab: n,
3938
3938
  onChange: s
3939
3939
  }) => {
3940
- const [i, a] = it(r), l = n !== void 0, d = l ? n : i, g = (h) => {
3940
+ const [i, a] = lt(r), l = n !== void 0, d = l ? n : i, g = (h) => {
3941
3941
  l || a(h), s && s(h);
3942
3942
  };
3943
3943
  return /* @__PURE__ */ e.jsx(vr.Provider, { value: { activeTab: d, setTab: g }, children: t });
@@ -3955,40 +3955,40 @@ const sr = Object.assign(Ji, {
3955
3955
  value: g,
3956
3956
  label: h,
3957
3957
  prefix: c,
3958
- prefixWrapperProps: x = {},
3958
+ prefixWrapperProps: b = {},
3959
3959
  postfix: w,
3960
3960
  postfixWrapperProps: u = {}
3961
- } = r, { className: f, ...b } = x, { className: _, ...m } = u, p = {
3962
- primary: rt["typography-label-3-medium"],
3963
- secondary: rt["typography-label-3-regular"],
3964
- prefix: rt["typography-label-3-medium"],
3965
- postfix: rt["typography-label-3-medium"]
3961
+ } = r, { className: f, ...x } = b, { className: _, ...m } = u, p = {
3962
+ primary: et["typography-label-3-medium"],
3963
+ secondary: et["typography-label-3-regular"],
3964
+ prefix: et["typography-label-3-medium"],
3965
+ postfix: et["typography-label-3-medium"]
3966
3966
  }, y = {
3967
3967
  size: vc,
3968
3968
  position: wc,
3969
3969
  ...i
3970
- }, S = k(st.tab, st[t], st[a], {
3971
- [st.selected]: n,
3972
- [st.disabled]: l
3970
+ }, S = k(it.tab, it[t], it[a], {
3971
+ [it.selected]: n,
3972
+ [it.disabled]: l
3973
3973
  }), $ = k(
3974
- st.tabPrefix,
3974
+ it.tabPrefix,
3975
3975
  f,
3976
- st[t],
3976
+ it[t],
3977
3977
  p.prefix,
3978
3978
  {
3979
- [st.selected]: n,
3980
- [st.disabled]: l
3979
+ [it.selected]: n,
3980
+ [it.disabled]: l
3981
3981
  }
3982
3982
  ), C = k(
3983
- st.tabPostfix,
3983
+ it.tabPostfix,
3984
3984
  _,
3985
- st[t],
3985
+ it[t],
3986
3986
  p.postfix,
3987
3987
  {
3988
- [st.selected]: n,
3989
- [st.disabled]: l
3988
+ [it.selected]: n,
3989
+ [it.disabled]: l
3990
3990
  }
3991
- ), j = k(st.tabLabel, st[t], p[t]), E = (M) => {
3991
+ ), j = k(it.tabLabel, it[t], p[t]), T = (M) => {
3992
3992
  n || l || (d(g), M.currentTarget.scrollIntoView({ behavior: "smooth", inline: "center", block: "nearest" }));
3993
3993
  }, I = /* @__PURE__ */ e.jsxs(
3994
3994
  "button",
@@ -4000,13 +4000,13 @@ const sr = Object.assign(Ji, {
4000
4000
  "aria-disabled": l,
4001
4001
  "aria-controls": `tab-panel-${g}`,
4002
4002
  "data-testid": `tab-item-${g}`,
4003
- onClick: E,
4003
+ onClick: T,
4004
4004
  children: [
4005
4005
  c && /* @__PURE__ */ e.jsx(
4006
4006
  "span",
4007
4007
  {
4008
4008
  className: $,
4009
- ...b,
4009
+ ...x,
4010
4010
  "data-testid": `tab-prefix-${g}`,
4011
4011
  children: c
4012
4012
  }
@@ -4028,7 +4028,7 @@ const sr = Object.assign(Ji, {
4028
4028
  }, Sc = ({
4029
4029
  mode: t,
4030
4030
  items: r,
4031
- size: n = bc,
4031
+ size: n = xc,
4032
4032
  isAllItemsDisabled: s = yc
4033
4033
  }) => {
4034
4034
  const { activeTab: i, setTab: a } = wr(), l = qo();
@@ -4038,7 +4038,7 @@ const sr = Object.assign(Ji, {
4038
4038
  role: "tablist",
4039
4039
  "data-testid": "tabs-bar",
4040
4040
  "aria-orientation": "horizontal",
4041
- className: k(st.tabBar, st[t]),
4041
+ className: k(it.tabBar, it[t]),
4042
4042
  children: r.map((d) => /* @__PURE__ */ e.jsx(
4043
4043
  kc,
4044
4044
  {
@@ -4067,7 +4067,7 @@ const sr = Object.assign(Ji, {
4067
4067
  ), jc = ({ children: t, ...r }) => {
4068
4068
  const { activeTab: n } = wr(), s = Array.isArray(t) ? t : [t], i = (a, l) => Ce.isValidElement(a) && typeof a.props == "object" && a.props !== null && l in a.props;
4069
4069
  return /* @__PURE__ */ e.jsx("div", { "data-testid": "tab-content", ...r, children: s.map((a) => i(a, "tabValue") && String(a.props.tabValue) === n ? a : null) });
4070
- }, $2 = {
4070
+ }, I2 = {
4071
4071
  Provider: Cc,
4072
4072
  Content: jc,
4073
4073
  Panel: Lc,
@@ -4274,7 +4274,7 @@ const sr = Object.assign(Ji, {
4274
4274
  buttonProps: g,
4275
4275
  showClose: h
4276
4276
  }) => {
4277
- const c = ["neutral", "accent"].includes(s) ? "contrast" : "primary", x = i === "m", w = !!(r && x), u = !!(n && x), f = d && !!d.length, b = !!(h && x) || !h && x && !f, _ = i === "xs" ? 4 : 3;
4277
+ const c = ["neutral", "accent"].includes(s) ? "contrast" : "primary", b = i === "m", w = !!(r && b), u = !!(n && b), f = d && !!d.length, x = !!(h && b) || !h && b && !f, _ = i === "xs" ? 4 : 3;
4278
4278
  return /* @__PURE__ */ e.jsxs("div", { className: ft.content, children: [
4279
4279
  u && /* @__PURE__ */ e.jsx("div", { className: k(ft.mediaWrapper, a.mediaWrapper), children: n }),
4280
4280
  /* @__PURE__ */ e.jsxs("div", { className: a.textWrapper, children: [
@@ -4298,7 +4298,7 @@ const sr = Object.assign(Ji, {
4298
4298
  }
4299
4299
  )
4300
4300
  ] }),
4301
- b && /* @__PURE__ */ e.jsx(
4301
+ x && /* @__PURE__ */ e.jsx(
4302
4302
  "button",
4303
4303
  {
4304
4304
  type: "button",
@@ -4311,15 +4311,15 @@ const sr = Object.assign(Ji, {
4311
4311
  children: /* @__PURE__ */ e.jsx(qc, {})
4312
4312
  }
4313
4313
  ),
4314
- x && f && /* @__PURE__ */ e.jsx("div", { className: ft.buttonStack, children: d.map((m, p) => {
4315
- const y = Gc(p, d.length, s), S = Yc(m, y, g), { closeOnClick: $, ...C } = S, j = (E) => {
4314
+ b && f && /* @__PURE__ */ e.jsx("div", { className: ft.buttonStack, children: d.map((m, p) => {
4315
+ const y = Gc(p, d.length, s), S = Yc(m, y, g), { closeOnClick: $, ...C } = S, j = (T) => {
4316
4316
  var I;
4317
- (I = C.onClick) == null || I.call(C, E), $ && (l == null || l());
4317
+ (I = C.onClick) == null || I.call(C, T), $ && (l == null || l());
4318
4318
  };
4319
- return /* @__PURE__ */ e.jsx(le, { ...C, onClick: j }, p);
4319
+ return /* @__PURE__ */ e.jsx(Kt, { ...C, onClick: j }, p);
4320
4320
  }) })
4321
4321
  ] });
4322
- }, T2 = ({
4322
+ }, R2 = ({
4323
4323
  customContent: t,
4324
4324
  children: r,
4325
4325
  placement: n = "top",
@@ -4331,21 +4331,21 @@ const sr = Object.assign(Ji, {
4331
4331
  trigger: g = "hover",
4332
4332
  variant: h = "neutral",
4333
4333
  size: c = "s",
4334
- text: x,
4334
+ text: b,
4335
4335
  title: w,
4336
4336
  media: u,
4337
4337
  buttons: f,
4338
- buttonProps: b,
4338
+ buttonProps: x,
4339
4339
  onClose: _,
4340
4340
  ...m
4341
4341
  }) => {
4342
- const [p, y] = it(!1), [S, $] = it(!1), C = c === "m" ? Xc : Uc, j = () => {
4342
+ const [p, y] = lt(!1), [S, $] = lt(!1), C = c === "m" ? Xc : Uc, j = () => {
4343
4343
  y(!1), _ == null || _();
4344
- }, E = t || (c === "m" ? /* @__PURE__ */ e.jsx(
4344
+ }, T = t || (c === "m" ? /* @__PURE__ */ e.jsx(
4345
4345
  lr,
4346
4346
  {
4347
4347
  classNames: s,
4348
- text: x,
4348
+ text: b,
4349
4349
  variant: h,
4350
4350
  size: c,
4351
4351
  onClose: j,
@@ -4353,13 +4353,13 @@ const sr = Object.assign(Ji, {
4353
4353
  media: u,
4354
4354
  showClose: d,
4355
4355
  buttons: f,
4356
- buttonProps: b
4356
+ buttonProps: x
4357
4357
  }
4358
4358
  ) : /* @__PURE__ */ e.jsx(
4359
4359
  lr,
4360
4360
  {
4361
4361
  classNames: s,
4362
- text: x,
4362
+ text: b,
4363
4363
  variant: h,
4364
4364
  size: c,
4365
4365
  onClose: j
@@ -4381,7 +4381,7 @@ const sr = Object.assign(Ji, {
4381
4381
  ...m.classNames
4382
4382
  },
4383
4383
  placement: n,
4384
- overlay: () => E,
4384
+ overlay: () => T,
4385
4385
  trigger: g,
4386
4386
  mouseEnterDelay: i,
4387
4387
  mouseLeaveDelay: a,
@@ -4396,7 +4396,7 @@ const sr = Object.assign(Ji, {
4396
4396
  children: r
4397
4397
  }
4398
4398
  );
4399
- }, Kc = "_base_4dkq5_1", Jc = "_content_4dkq5_1", Qc = "_background_4dkq5_1", t1 = "_button_4dkq5_1", e1 = "_link_4dkq5_1", r1 = "_input_4dkq5_1", n1 = "_suffix_4dkq5_1", o1 = "_prefix_4dkq5_1", a1 = "_tooltip_4dkq5_1", s1 = "_hint_4dkq5_1", i1 = "_dropdown_4dkq5_1", l1 = "_popover_4dkq5_1", c1 = "_modalBackdrop_4dkq5_1", d1 = "_modal_4dkq5_1", u1 = "_overlay_4dkq5_1", _1 = "_drawer_4dkq5_1", p1 = "_notification_4dkq5_1", f1 = "_alert_4dkq5_1", g1 = "_toast_4dkq5_1", h1 = "_loading_4dkq5_1", m1 = "_error_4dkq5_1", x1 = "_critical_4dkq5_1", b1 = "_segmentedControl_4dkq5_7", y1 = "_segment_4dkq5_7", v1 = "_activeSegmentIndicator_4dkq5_61", w1 = "_selected_4dkq5_80", C1 = "_stretched_4dkq5_89", k1 = "_disabled_4dkq5_97", S1 = "_s_4dkq5_7", L1 = "_icon_4dkq5_110", j1 = "_label_4dkq5_114", $1 = "_m_4dkq5_1", T1 = "_l_4dkq5_114", Mt = {
4399
+ }, Kc = "_base_4dkq5_1", Jc = "_content_4dkq5_1", Qc = "_background_4dkq5_1", t1 = "_button_4dkq5_1", e1 = "_link_4dkq5_1", r1 = "_input_4dkq5_1", n1 = "_suffix_4dkq5_1", o1 = "_prefix_4dkq5_1", a1 = "_tooltip_4dkq5_1", s1 = "_hint_4dkq5_1", i1 = "_dropdown_4dkq5_1", l1 = "_popover_4dkq5_1", c1 = "_modalBackdrop_4dkq5_1", d1 = "_modal_4dkq5_1", u1 = "_overlay_4dkq5_1", _1 = "_drawer_4dkq5_1", p1 = "_notification_4dkq5_1", f1 = "_alert_4dkq5_1", g1 = "_toast_4dkq5_1", h1 = "_loading_4dkq5_1", m1 = "_error_4dkq5_1", b1 = "_critical_4dkq5_1", x1 = "_segmentedControl_4dkq5_7", y1 = "_segment_4dkq5_7", v1 = "_activeSegmentIndicator_4dkq5_61", w1 = "_selected_4dkq5_80", C1 = "_stretched_4dkq5_89", k1 = "_disabled_4dkq5_97", S1 = "_s_4dkq5_7", L1 = "_icon_4dkq5_110", j1 = "_label_4dkq5_114", $1 = "_m_4dkq5_1", T1 = "_l_4dkq5_114", Mt = {
4400
4400
  base: Kc,
4401
4401
  content: Jc,
4402
4402
  background: Qc,
@@ -4418,8 +4418,8 @@ const sr = Object.assign(Ji, {
4418
4418
  toast: g1,
4419
4419
  loading: h1,
4420
4420
  error: m1,
4421
- critical: x1,
4422
- segmentedControl: b1,
4421
+ critical: b1,
4422
+ segmentedControl: x1,
4423
4423
  segment: y1,
4424
4424
  activeSegmentIndicator: v1,
4425
4425
  selected: w1,
@@ -4431,10 +4431,10 @@ const sr = Object.assign(Ji, {
4431
4431
  m: $1,
4432
4432
  l: T1
4433
4433
  }, cr = {
4434
- s: rt["typography-label-3-regular"],
4435
- m: rt["typography-label-2-regular"],
4436
- l: rt["typography-label-2-regular"]
4437
- }, E2 = (t) => {
4434
+ s: et["typography-label-3-regular"],
4435
+ m: et["typography-label-2-regular"],
4436
+ l: et["typography-label-2-regular"]
4437
+ }, N2 = (t) => {
4438
4438
  const {
4439
4439
  className: r,
4440
4440
  defaultValue: n,
@@ -4446,7 +4446,7 @@ const sr = Object.assign(Ji, {
4446
4446
  mode: g = "label",
4447
4447
  onChange: h,
4448
4448
  ...c
4449
- } = t, x = Le(), [w, u] = it(n || a[0].value), [f, b] = it({ width: 0, left: 0, height: 0 }), _ = gt(null);
4449
+ } = t, b = Le(), [w, u] = lt(n || a[0].value), [f, x] = lt({ width: 0, left: 0, height: 0 }), _ = gt(null);
4450
4450
  G(() => {
4451
4451
  s != null && u(s);
4452
4452
  }, [s]), pr(() => {
@@ -4457,7 +4457,7 @@ const sr = Object.assign(Ji, {
4457
4457
  const y = _.current.querySelector(
4458
4458
  '[data-is-active-segment="true"]'
4459
4459
  );
4460
- y && b({
4460
+ y && x({
4461
4461
  width: y.offsetWidth,
4462
4462
  left: y.offsetLeft,
4463
4463
  height: y.offsetHeight
@@ -4484,27 +4484,27 @@ const sr = Object.assign(Ji, {
4484
4484
  ...c,
4485
4485
  children: [
4486
4486
  a == null ? void 0 : a.map(({ label: y, value: S, containerProps: $ = {} }, C) => {
4487
- const { className: j, ...E } = $, I = () => p(S), M = JSON.stringify(S), z = w === S;
4487
+ const { className: j, ...T } = $, I = () => p(S), M = JSON.stringify(S), D = w === S;
4488
4488
  return /* @__PURE__ */ e.jsxs(Gt, { children: [
4489
4489
  /* @__PURE__ */ e.jsx(
4490
4490
  "input",
4491
4491
  {
4492
- id: x + M,
4492
+ id: b + M,
4493
4493
  value: M,
4494
4494
  type: "radio",
4495
- checked: z,
4495
+ checked: D,
4496
4496
  readOnly: !0
4497
4497
  }
4498
4498
  ),
4499
4499
  /* @__PURE__ */ e.jsx(
4500
4500
  "label",
4501
4501
  {
4502
- "data-is-active-segment": z,
4503
- className: k(Mt.segment, cr[i], { [Mt.selected]: z }, j),
4504
- htmlFor: x + M,
4502
+ "data-is-active-segment": D,
4503
+ className: k(Mt.segment, cr[i], { [Mt.selected]: D }, j),
4504
+ htmlFor: b + M,
4505
4505
  "data-testid": "segmented-control-segment",
4506
4506
  onClick: I,
4507
- ...E,
4507
+ ...T,
4508
4508
  children: y
4509
4509
  }
4510
4510
  )
@@ -4523,7 +4523,7 @@ const sr = Object.assign(Ji, {
4523
4523
  );
4524
4524
  };
4525
4525
  var qt = /* @__PURE__ */ ((t) => (t.NORMAL = "normal", t.FLOATING = "floating", t.HIDDEN = "hidden", t))(qt || {});
4526
- const nt = {
4526
+ const rt = {
4527
4527
  "trigger-wrapper": "_trigger-wrapper_fm9f9_79",
4528
4528
  "trigger-container": "_trigger-container_fm9f9_85",
4529
4529
  "trigger-container-applied": "_trigger-container-applied_fm9f9_109",
@@ -4587,7 +4587,7 @@ const nt = {
4587
4587
  )
4588
4588
  }
4589
4589
  );
4590
- }, I1 = (t, r) => t === "XL" && r ? qt.FLOATING : t !== "XL" && r ? qt.HIDDEN : qt.NORMAL, R1 = (t, r) => r ? 3 : t === "XL" || t === "L" ? 2 : 3, dr = (t) => t === "XL" || t === "L" ? 2 : 3, ur = (t) => t === "XL" || t === "L" ? "sm" : "xs", N1 = (t) => t.length > 30 ? t.slice(0, 30) + "…" : t, I2 = ({
4590
+ }, I1 = (t, r) => t === "XL" && r ? qt.FLOATING : t !== "XL" && r ? qt.HIDDEN : qt.NORMAL, R1 = (t, r) => r ? 3 : t === "XL" || t === "L" ? 2 : 3, dr = (t) => t === "XL" || t === "L" ? 2 : 3, ur = (t) => t === "XL" || t === "L" ? "sm" : "xs", N1 = (t) => t.length > 30 ? t.slice(0, 30) + "…" : t, M2 = ({
4591
4591
  content: t,
4592
4592
  size: r = "XL",
4593
4593
  description: n,
@@ -4599,45 +4599,45 @@ const nt = {
4599
4599
  prefixIcon: g,
4600
4600
  postfixTitle: h,
4601
4601
  disabled: c = !1,
4602
- open: x,
4602
+ open: b,
4603
4603
  onClear: w,
4604
4604
  classNames: u = {},
4605
4605
  styles: f = {}
4606
4606
  }) => {
4607
- const b = !!t, _ = !!s, m = !!d, p = a === "applied", y = !!n && (!m || c) || m && !c, S = (m && !c ? d : n) || "", $ = m && !c, C = I1(r, b), j = _ && C === qt.FLOATING, E = C === qt.HIDDEN, I = k(
4608
- nt["trigger-wrapper"],
4609
- { [nt["trigger-stretched"]]: i },
4607
+ const x = !!t, _ = !!s, m = !!d, p = a === "applied", y = !!n && (!m || c) || m && !c, S = (m && !c ? d : n) || "", $ = m && !c, C = I1(r, x), j = _ && C === qt.FLOATING, T = C === qt.HIDDEN, I = k(
4608
+ rt["trigger-wrapper"],
4609
+ { [rt["trigger-stretched"]]: i },
4610
4610
  u.wrapper
4611
4611
  ), M = k(
4612
- nt["trigger-container"],
4613
- nt[`trigger-container-size-${r}`],
4612
+ rt["trigger-container"],
4613
+ rt[`trigger-container-size-${r}`],
4614
4614
  {
4615
- [nt["trigger-stretched"]]: i,
4616
- [nt["trigger-container-applied"]]: p && b,
4617
- [nt["trigger-container-error"]]: m && !c,
4618
- [nt["trigger-container-open"]]: x,
4619
- [nt["trigger-container-floating"]]: j
4615
+ [rt["trigger-stretched"]]: i,
4616
+ [rt["trigger-container-applied"]]: p && x,
4617
+ [rt["trigger-container-error"]]: m && !c,
4618
+ [rt["trigger-container-open"]]: b,
4619
+ [rt["trigger-container-floating"]]: j
4620
4620
  },
4621
4621
  u.triggerContainer
4622
- ), z = k(
4623
- nt["trigger-content-container"],
4622
+ ), D = k(
4623
+ rt["trigger-content-container"],
4624
4624
  {
4625
- [nt["trigger-content-container-floating"]]: j
4625
+ [rt["trigger-content-container-floating"]]: j
4626
4626
  },
4627
4627
  u.triggerContent
4628
- ), D = k(
4629
- nt["trigger-label"],
4628
+ ), F = k(
4629
+ rt["trigger-label"],
4630
4630
  {
4631
- [nt["trigger-label-floating"]]: j,
4632
- [nt["trigger-label-hidden"]]: E
4631
+ [rt["trigger-label-floating"]]: j,
4632
+ [rt["trigger-label-hidden"]]: T
4633
4633
  },
4634
4634
  u.label
4635
- ), T = k(nt["trigger-content"], u.content), N = k(nt["trigger-postfix"], u.postfixTitle), W = k(nt["trigger-chevron-icon"], u.chevronIcon), H = k(
4636
- nt["trigger-prefix-icon"],
4635
+ ), E = k(rt["trigger-content"], u.content), N = k(rt["trigger-postfix"], u.postfixTitle), z = k(rt["trigger-chevron-icon"], u.chevronIcon), H = k(
4636
+ rt["trigger-prefix-icon"],
4637
4637
  u.prefixIconContainer
4638
- ), X = k(nt["trigger-clear-icon"], u.clearIcon), Y = (tt) => {
4639
- tt == null || tt.stopPropagation(), w == null || w();
4640
- }, U = b && x && (a === "selected" && l || a === "applied") || b && !x && (p || a === "selected" && l);
4638
+ ), U = k(rt["trigger-clear-icon"], u.clearIcon), Y = (K) => {
4639
+ K == null || K.stopPropagation(), w == null || w();
4640
+ }, V = x && b && (a === "selected" && l || a === "applied") || x && !b && (p || a === "selected" && l);
4641
4641
  return /* @__PURE__ */ e.jsxs("div", { className: I, style: f.wrapper, children: [
4642
4642
  /* @__PURE__ */ e.jsxs(
4643
4643
  "button",
@@ -4645,7 +4645,7 @@ const nt = {
4645
4645
  "data-testid": "trigger",
4646
4646
  "aria-invalid": m,
4647
4647
  "aria-haspopup": "listbox",
4648
- "aria-expanded": x,
4648
+ "aria-expanded": b,
4649
4649
  role: "combobox",
4650
4650
  className: M,
4651
4651
  style: f.triggerContainer,
@@ -4653,12 +4653,12 @@ const nt = {
4653
4653
  type: "button",
4654
4654
  children: [
4655
4655
  g && r !== "XL" && /* @__PURE__ */ e.jsx("div", { className: H, style: f.prefixIconContainer, children: g }),
4656
- /* @__PURE__ */ e.jsxs("div", { className: z, style: f.triggerContent, children: [
4656
+ /* @__PURE__ */ e.jsxs("div", { className: D, style: f.triggerContent, children: [
4657
4657
  _ && /* @__PURE__ */ e.jsx(
4658
4658
  Ot.Label,
4659
4659
  {
4660
4660
  "data-testid": "trigger-label",
4661
- className: D,
4661
+ className: F,
4662
4662
  style: f.label,
4663
4663
  size: R1(r, j),
4664
4664
  as: "span",
@@ -4667,11 +4667,11 @@ const nt = {
4667
4667
  children: s
4668
4668
  }
4669
4669
  ),
4670
- b && /* @__PURE__ */ e.jsx(
4670
+ x && /* @__PURE__ */ e.jsx(
4671
4671
  Ot.Label,
4672
4672
  {
4673
4673
  "data-testid": "trigger-content-container",
4674
- className: T,
4674
+ className: E,
4675
4675
  style: f.content,
4676
4676
  size: dr(r),
4677
4677
  as: "span",
@@ -4679,7 +4679,7 @@ const nt = {
4679
4679
  children: i ? t : N1(t)
4680
4680
  }
4681
4681
  ),
4682
- b && !!h && /* @__PURE__ */ e.jsx(
4682
+ x && !!h && /* @__PURE__ */ e.jsx(
4683
4683
  Ot.Label,
4684
4684
  {
4685
4685
  "data-testid": "trigger-postfix",
@@ -4692,10 +4692,10 @@ const nt = {
4692
4692
  }
4693
4693
  )
4694
4694
  ] }),
4695
- U ? /* @__PURE__ */ e.jsx(
4695
+ V ? /* @__PURE__ */ e.jsx(
4696
4696
  Ee,
4697
4697
  {
4698
- className: X,
4698
+ className: U,
4699
4699
  "data-testid": "trigger-clear",
4700
4700
  size: ur(r),
4701
4701
  tabIndex: -1,
@@ -4708,7 +4708,7 @@ const nt = {
4708
4708
  {
4709
4709
  "data-testid": "trigger-chevron",
4710
4710
  size: ur(r),
4711
- className: W,
4711
+ className: z,
4712
4712
  color: "#AABBCA",
4713
4713
  style: f.chevronIcon
4714
4714
  }
@@ -4728,7 +4728,7 @@ const nt = {
4728
4728
  }
4729
4729
  )
4730
4730
  ] });
4731
- }, Cr = ke(void 0), R2 = () => {
4731
+ }, Cr = ke(void 0), A2 = () => {
4732
4732
  const t = Se(Cr);
4733
4733
  if (!t) throw new Error("useSnackbar must be used inside SnackbarProvider");
4734
4734
  return t;
@@ -4784,36 +4784,36 @@ const nt = {
4784
4784
  G(() => {
4785
4785
  const c = t.current;
4786
4786
  if (!c || !r) return;
4787
- const x = (f) => {
4787
+ const b = (f) => {
4788
4788
  f.target instanceof Element && f.target.closest("button") || (a.current = !0, l.current = f.touches[0].clientX, d.current = f.touches[0].clientY, g.current = l.current, h.current = d.current, c.style.animation = "none", c.style.transition = "none");
4789
4789
  }, w = (f) => {
4790
4790
  if (!a.current) return;
4791
4791
  g.current = f.touches[0].clientX, h.current = f.touches[0].clientY;
4792
- const b = g.current - l.current, _ = h.current - d.current, m = Math.abs(b), p = Math.abs(_), y = m > p ? b : 0, S = p >= m ? _ : 0, $ = Math.sqrt(b ** 2 + _ ** 2), C = Math.max(1 - $ / 300, 0);
4792
+ const x = g.current - l.current, _ = h.current - d.current, m = Math.abs(x), p = Math.abs(_), y = m > p ? x : 0, S = p >= m ? _ : 0, $ = Math.sqrt(x ** 2 + _ ** 2), C = Math.max(1 - $ / 300, 0);
4793
4793
  c.style.transform = `translate(${y}px, ${S}px)`, c.style.opacity = `${C}`;
4794
4794
  }, u = () => {
4795
4795
  if (!a.current) return;
4796
4796
  a.current = !1;
4797
- const f = g.current - l.current, b = h.current - d.current, _ = Math.abs(f), m = Math.abs(b), p = c.offsetWidth, y = c.offsetHeight;
4797
+ const f = g.current - l.current, x = h.current - d.current, _ = Math.abs(f), m = Math.abs(x), p = c.offsetWidth, y = c.offsetHeight;
4798
4798
  let S = !1;
4799
- if (_ > 2 / 3 * p && (S = !0), S || (b < 0 && m > y / 2 && (S = !0), b > 0 && m > y && (S = !0)), S) {
4799
+ if (_ > 2 / 3 * p && (S = !0), S || (x < 0 && m > y / 2 && (S = !0), x > 0 && m > y && (S = !0)), S) {
4800
4800
  i("swipe"), s(!0), c.style.transition = "";
4801
- const $ = f > 0 ? p : -p, C = b > 0 ? y : -y;
4801
+ const $ = f > 0 ? p : -p, C = x > 0 ? y : -y;
4802
4802
  c.style.transform = `translate(${$}px, ${C}px)`, c.style.opacity = "0", setTimeout(() => n("swipe"), kr.swipe);
4803
4803
  } else
4804
4804
  s(!1), i(void 0), c.style.transition = "", c.style.transform = "translate(0px, 0px)", c.style.opacity = "1";
4805
4805
  };
4806
- return c.addEventListener("touchstart", x), c.addEventListener("touchmove", w), c.addEventListener("touchend", u), () => {
4807
- c.removeEventListener("touchstart", x), c.removeEventListener("touchmove", w), c.removeEventListener("touchend", u);
4806
+ return c.addEventListener("touchstart", b), c.addEventListener("touchmove", w), c.addEventListener("touchend", u), () => {
4807
+ c.removeEventListener("touchstart", b), c.removeEventListener("touchmove", w), c.removeEventListener("touchend", u);
4808
4808
  };
4809
4809
  }, [t, r, n, s, i]);
4810
4810
  };
4811
4811
  let P1 = (t = 21) => crypto.getRandomValues(new Uint8Array(t)).reduce((r, n) => (n &= 63, n < 36 ? r += n.toString(36) : n < 62 ? r += (n - 26).toString(36).toUpperCase() : n > 62 ? r += "-" : r += "_", r), "");
4812
- const z1 = "_stack_1sg4d_1", D1 = "_local_1sg4d_19", F1 = "_snackWrapper_1sg4d_27", oe = {
4812
+ const z1 = "_stack_1sg4d_1", D1 = "_local_1sg4d_19", F1 = "_snackWrapper_1sg4d_27", ae = {
4813
4813
  stack: z1,
4814
4814
  local: D1,
4815
4815
  snackWrapper: F1
4816
- }, W1 = "_snackbar_1v8li_14", H1 = "_slideIn_1v8li_1", q1 = "_snackbarStack_1v8li_41", V1 = "_snackbarVertical_1v8li_46", X1 = "_fix_1v8li_54", U1 = "_fill_1v8li_60", Z1 = "_hug_1v8li_66", Y1 = "_content_1v8li_72", G1 = "_contentVertical_1v8li_80", K1 = "_contentText_1v8li_84", J1 = "_icon_1v8li_89", Q1 = "_exiting_1v8li_95", t2 = "_slideOut_1v8li_1", e2 = "_exitingTimeout_1v8li_101", r2 = "_exitingClose_1v8li_106", n2 = "_exitingStack_1v8li_113", o2 = "_swipeTransition_1v8li_120", a2 = "_exitingEscape_1v8li_126", pt = {
4816
+ }, W1 = "_snackbar_1wxt7_15", H1 = "_slideIn_1wxt7_1", q1 = "_snackbarStack_1wxt7_42", V1 = "_snackbarVertical_1wxt7_47", X1 = "_fix_1wxt7_55", U1 = "_fill_1wxt7_61", Z1 = "_hug_1wxt7_67", Y1 = "_content_1wxt7_73", G1 = "_textActionsContainer_1wxt7_81", K1 = "_textActionsContainerVertical_1wxt7_88", J1 = "_contentVertical_1wxt7_93", Q1 = "_contentText_1wxt7_97", t2 = "_icon_1wxt7_102", e2 = "_buttonLink_1wxt7_107", r2 = "_exiting_1wxt7_113", n2 = "_slideOut_1wxt7_1", o2 = "_exitingTimeout_1wxt7_119", a2 = "_exitingClose_1wxt7_124", s2 = "_exitingStack_1wxt7_131", i2 = "_swipeTransition_1wxt7_138", l2 = "_exitingEscape_1wxt7_144", st = {
4817
4817
  snackbar: W1,
4818
4818
  slideIn: H1,
4819
4819
  snackbarStack: q1,
@@ -4822,52 +4822,54 @@ const z1 = "_stack_1sg4d_1", D1 = "_local_1sg4d_19", F1 = "_snackWrapper_1sg4d_2
4822
4822
  fill: U1,
4823
4823
  hug: Z1,
4824
4824
  content: Y1,
4825
- contentVertical: G1,
4826
- contentText: K1,
4827
- icon: J1,
4828
- exiting: Q1,
4829
- slideOut: t2,
4830
- exitingTimeout: e2,
4831
- exitingClose: r2,
4832
- exitingStack: n2,
4833
- swipeTransition: o2,
4834
- exitingEscape: a2
4835
- }, s2 = () => /* @__PURE__ */ e.jsxs("svg", { viewBox: "0 0 21 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
4836
- /* @__PURE__ */ e.jsxs("g", { clipPath: "url(#clip0_3152_20713)", children: [
4837
- /* @__PURE__ */ e.jsx(
4838
- "mask",
4839
- {
4840
- id: "mask0_3152_20713",
4841
- style: { maskType: "alpha" },
4842
- maskUnits: "userSpaceOnUse",
4843
- x: "0",
4844
- y: "0",
4845
- children: /* @__PURE__ */ e.jsx(
4846
- "path",
4847
- {
4848
- d: "M15.5 5.5L5.5 15.5M5.5 5.5L15.5 15.5",
4849
- stroke: "black",
4850
- strokeWidth: "1.7",
4851
- strokeLinecap: "round",
4852
- strokeLinejoin: "round"
4853
- }
4854
- )
4855
- }
4856
- ),
4857
- /* @__PURE__ */ e.jsx("g", { mask: "url(#mask0_3152_20713)", children: /* @__PURE__ */ e.jsx(
4858
- "rect",
4859
- {
4860
- x: "0.5",
4861
- y: "0.5",
4862
- width: "20",
4863
- height: "20",
4864
- fill: "currentColor",
4865
- fillOpacity: "0.48"
4866
- }
4867
- ) })
4868
- ] }),
4869
- /* @__PURE__ */ e.jsx("defs", { children: /* @__PURE__ */ e.jsx("clipPath", { id: "clip0_3152_20713", children: /* @__PURE__ */ e.jsx("rect", { width: "20", height: "20", fill: "currentColor", transform: "translate(0.5 0.5)" }) }) })
4870
- ] }), i2 = ({ className: t }) => /* @__PURE__ */ e.jsxs(
4825
+ textActionsContainer: G1,
4826
+ textActionsContainerVertical: K1,
4827
+ contentVertical: J1,
4828
+ contentText: Q1,
4829
+ icon: t2,
4830
+ buttonLink: e2,
4831
+ exiting: r2,
4832
+ slideOut: n2,
4833
+ exitingTimeout: o2,
4834
+ exitingClose: a2,
4835
+ exitingStack: s2,
4836
+ swipeTransition: i2,
4837
+ exitingEscape: l2
4838
+ }, c2 = () => /* @__PURE__ */ e.jsxs(
4839
+ "svg",
4840
+ {
4841
+ width: "20",
4842
+ height: "20",
4843
+ viewBox: "0 0 20 20",
4844
+ fill: "none",
4845
+ xmlns: "http://www.w3.org/2000/svg",
4846
+ children: [
4847
+ /* @__PURE__ */ e.jsx(
4848
+ "mask",
4849
+ {
4850
+ id: "mask0_4314_6181",
4851
+ style: { maskType: "alpha" },
4852
+ maskUnits: "userSpaceOnUse",
4853
+ x: "0",
4854
+ y: "0",
4855
+ width: "20",
4856
+ height: "20",
4857
+ children: /* @__PURE__ */ e.jsx(
4858
+ "path",
4859
+ {
4860
+ d: "M15 5L5 15M5 5L15 15",
4861
+ stroke: "black",
4862
+ "stroke-width": "1.7",
4863
+ "stroke-linecap": "round",
4864
+ "stroke-linejoin": "round"
4865
+ }
4866
+ )
4867
+ }
4868
+ ),
4869
+ /* @__PURE__ */ e.jsx("g", { mask: "url(#mask0_4314_6181)", children: /* @__PURE__ */ e.jsx("rect", { width: "20", height: "20", fill: "white", "fill-opacity": "0.48" }) })
4870
+ ]
4871
+ }
4872
+ ), d2 = ({ className: t }) => /* @__PURE__ */ e.jsxs(
4871
4873
  "svg",
4872
4874
  {
4873
4875
  width: "25",
@@ -4902,7 +4904,7 @@ const z1 = "_stack_1sg4d_1", D1 = "_local_1sg4d_19", F1 = "_snackWrapper_1sg4d_2
4902
4904
  /* @__PURE__ */ e.jsx("g", { mask: "url(#mask0_3156_27258)", children: /* @__PURE__ */ e.jsx("rect", { x: "0.5", y: "0.5", width: "24", height: "24", fill: "#FE725F" }) })
4903
4905
  ]
4904
4906
  }
4905
- ), l2 = ({ className: t }) => /* @__PURE__ */ e.jsxs(
4907
+ ), u2 = ({ className: t }) => /* @__PURE__ */ e.jsxs(
4906
4908
  "svg",
4907
4909
  {
4908
4910
  width: "24",
@@ -4940,7 +4942,7 @@ const z1 = "_stack_1sg4d_1", D1 = "_local_1sg4d_19", F1 = "_snackWrapper_1sg4d_2
4940
4942
  /* @__PURE__ */ e.jsx("defs", { children: /* @__PURE__ */ e.jsx("clipPath", { id: "clip0_3031_21000", children: /* @__PURE__ */ e.jsx("rect", { width: "24", height: "24", fill: "white" }) }) })
4941
4943
  ]
4942
4944
  }
4943
- ), c2 = ({ className: t }) => /* @__PURE__ */ e.jsx(
4945
+ ), _2 = ({ className: t }) => /* @__PURE__ */ e.jsx(
4944
4946
  "svg",
4945
4947
  {
4946
4948
  viewBox: "0 0 24 24",
@@ -4973,7 +4975,7 @@ const z1 = "_stack_1sg4d_1", D1 = "_local_1sg4d_19", F1 = "_snackWrapper_1sg4d_2
4973
4975
  /* @__PURE__ */ e.jsx("g", { mask: "url(#mask0_343_52329)", children: /* @__PURE__ */ e.jsx("rect", { x: "0", y: "0", width: "24", height: "24", fill: "#5BCF83" }) })
4974
4976
  ] }) })
4975
4977
  }
4976
- ), d2 = Q((t, r) => {
4978
+ ), p2 = Q((t, r) => {
4977
4979
  const {
4978
4980
  open: n,
4979
4981
  variant: s = "info",
@@ -4984,104 +4986,135 @@ const z1 = "_stack_1sg4d_1", D1 = "_local_1sg4d_19", F1 = "_snackWrapper_1sg4d_2
4984
4986
  showButtonClose: g = !0,
4985
4987
  showIcon: h = !0,
4986
4988
  content: c,
4987
- classNameSnackbarRoot: x,
4989
+ classNameSnackbarRoot: b,
4988
4990
  icon: w,
4989
4991
  isStack: u = !1,
4990
4992
  forceClose: f,
4991
- "data-testid": b = "snackbar"
4992
- } = t, _ = gt(null), m = gt(null), [p, y] = it(!1), [S, $] = it(!1), [C, j] = it(), E = gt(0), I = gt(0), M = gt(0), z = gt(0), D = gt(!1), T = gt(null), N = (P) => {
4993
- clearTimeout(T.current || 0), T.current = null;
4994
- const K = u ? A1[P] : kr[P];
4995
- P === "swipe" || ($(!0), j(P)), T.current = setTimeout(() => {
4996
- a == null || a(), $(!1), j(void 0), T.current = null;
4997
- }, K);
4993
+ buttonProps: x,
4994
+ "data-testid": _ = "snackbar"
4995
+ } = t, m = gt(null), p = gt(null), [y, S] = lt(!1), [$, C] = lt(!1), [j, T] = lt(), I = gt(0), M = gt(0), D = gt(0), F = gt(0), E = gt(!1), N = gt(null), z = (O) => {
4996
+ clearTimeout(N.current || 0), N.current = null;
4997
+ const V = u ? A1[O] : kr[O];
4998
+ O === "swipe" || (C(!0), T(O)), N.current = setTimeout(() => {
4999
+ a == null || a(), C(!1), T(void 0), N.current = null;
5000
+ }, V);
4998
5001
  };
4999
5002
  O1({
5000
- ref: m,
5003
+ ref: p,
5001
5004
  open: n,
5002
- onClose: N,
5003
- setExiting: $,
5004
- setExitReason: j,
5005
- swiping: D,
5006
- startX: E,
5007
- startY: I,
5008
- currentX: M,
5009
- currentY: z
5005
+ onClose: z,
5006
+ setExiting: C,
5007
+ setExitReason: T,
5008
+ swiping: E,
5009
+ startX: I,
5010
+ startY: M,
5011
+ currentX: D,
5012
+ currentY: F
5010
5013
  }), G(() => {
5011
- f && N("close");
5014
+ f && z("close");
5012
5015
  }, [f]), G(() => {
5013
5016
  if (n && !d && s !== "loading") {
5014
- const P = setTimeout(() => N("timeout"), l);
5015
- return () => clearTimeout(P);
5017
+ const O = setTimeout(() => z("timeout"), l);
5018
+ return () => clearTimeout(O);
5016
5019
  }
5017
5020
  }, [n, d, s, l]), G(() => {
5018
- n && ($(!1), j(void 0));
5021
+ n && (C(!1), T(void 0));
5019
5022
  }, [n]), G(() => {
5020
- const P = _.current;
5021
- P && requestAnimationFrame(() => {
5022
- const K = parseFloat(getComputedStyle(P).lineHeight), U = P.offsetHeight, tt = Math.round(U / K);
5023
- y(tt > 1);
5023
+ const O = m.current;
5024
+ O && requestAnimationFrame(() => {
5025
+ const V = parseFloat(getComputedStyle(O).lineHeight), K = O.offsetHeight, ct = Math.round(K / V);
5026
+ S(ct > 1);
5024
5027
  });
5025
5028
  }, [c]), G(() => {
5026
5029
  if (!n) return;
5027
- const P = (K) => {
5028
- K.key === "Escape" && N("escape");
5030
+ const O = (V) => {
5031
+ V.key === "Escape" && z("escape");
5029
5032
  };
5030
- return window.addEventListener("keydown", P), () => window.removeEventListener("keydown", P);
5033
+ return window.addEventListener("keydown", O), () => window.removeEventListener("keydown", O);
5031
5034
  }, [n]), G(() => () => {
5032
- T.current && (clearTimeout(T.current), T.current = null);
5035
+ N.current && (clearTimeout(N.current), N.current = null);
5033
5036
  }, []);
5034
- const W = S && C && pt[M1[C]];
5035
- if (!n && !S) return null;
5036
- const H = {
5037
- success: /* @__PURE__ */ e.jsx(c2, { className: pt.icon }),
5038
- error: /* @__PURE__ */ e.jsx(i2, { className: pt.icon }),
5039
- info: /* @__PURE__ */ e.jsx(l2, { className: pt.icon }),
5037
+ const H = $ && j && st[M1[j]];
5038
+ if (!n && !$) return null;
5039
+ const U = {
5040
+ success: /* @__PURE__ */ e.jsx(_2, { className: st.icon }),
5041
+ error: /* @__PURE__ */ e.jsx(d2, { className: st.icon }),
5042
+ info: /* @__PURE__ */ e.jsx(u2, { className: st.icon }),
5040
5043
  loading: /* @__PURE__ */ e.jsx(je, { "data-testid": "snackbar-icon-loading", variant: "contrast" })
5041
- }, X = jt(
5042
- pt.snackbar,
5043
- pt[i],
5044
- { [pt.exiting]: S && C },
5045
- { [pt.snackbarVertical]: p },
5046
- x,
5047
- W,
5044
+ }, Y = Lt(
5045
+ st.snackbar,
5046
+ st[i],
5047
+ { [st.exiting]: $ && j },
5048
+ { [st.snackbarVertical]: y },
5049
+ b,
5050
+ H,
5048
5051
  {
5049
- [pt.snackbarStack]: u && !S,
5052
+ [st.snackbarStack]: u && !$,
5050
5053
  // при появлении стека
5051
- [pt.exitingStack]: u && S
5054
+ [st.exitingStack]: u && $
5052
5055
  // при уходе стека
5053
5056
  }
5054
- ), Y = (P) => {
5055
- m.current = P, r && (typeof r == "function" ? r(P) : r.current = P);
5057
+ ), nt = (O) => {
5058
+ p.current = O, r && (typeof r == "function" ? r(O) : r.current = O);
5056
5059
  };
5057
- return /* @__PURE__ */ e.jsxs("div", { ref: Y, "data-testid": b, className: X, children: [
5060
+ return /* @__PURE__ */ e.jsxs("div", { ref: nt, "data-testid": _, className: Y, children: [
5058
5061
  /* @__PURE__ */ e.jsxs(
5059
5062
  "div",
5060
5063
  {
5061
- className: jt(pt.content, {
5062
- [pt.contentVertical]: p
5064
+ className: Lt(st.content, {
5065
+ [st.contentVertical]: y
5063
5066
  }),
5064
5067
  children: [
5065
- h && /* @__PURE__ */ e.jsx("div", { className: pt.icon, children: w || H[s] }),
5066
- /* @__PURE__ */ e.jsx(Ot.Label, { className: pt.contentText, ref: _, typographyStyle: "contrast", children: c })
5068
+ h && /* @__PURE__ */ e.jsx("div", { className: st.icon, children: w || U[s] }),
5069
+ /* @__PURE__ */ e.jsxs(
5070
+ "div",
5071
+ {
5072
+ className: Lt(st.textActionsContainer, {
5073
+ [st.textActionsContainerVertical]: y
5074
+ }),
5075
+ children: [
5076
+ /* @__PURE__ */ e.jsx(
5077
+ Ot.Label,
5078
+ {
5079
+ className: st.contentText,
5080
+ ref: m,
5081
+ typographyStyle: "contrast",
5082
+ children: c
5083
+ }
5084
+ ),
5085
+ x && /* @__PURE__ */ e.jsx(
5086
+ Kt,
5087
+ {
5088
+ ...x,
5089
+ displayAs: "link",
5090
+ as: "a",
5091
+ size: "s",
5092
+ className: st.buttonLink,
5093
+ buttonStyle: "contrast"
5094
+ }
5095
+ )
5096
+ ]
5097
+ }
5098
+ )
5067
5099
  ]
5068
5100
  }
5069
5101
  ),
5070
5102
  g && /* @__PURE__ */ e.jsx(
5071
- le,
5103
+ Kt,
5072
5104
  {
5073
- iconLeft: /* @__PURE__ */ e.jsx(s2, {}),
5074
- onClick: () => N("close"),
5105
+ iconLeft: /* @__PURE__ */ e.jsx(c2, {}),
5106
+ onClick: () => z("close"),
5075
5107
  mode: "tertiary",
5108
+ size: "l",
5076
5109
  buttonStyle: "contrast",
5077
5110
  style: { padding: "0px" }
5078
5111
  }
5079
5112
  )
5080
5113
  ] });
5081
- }), N2 = (t) => {
5114
+ }), B2 = (t) => {
5082
5115
  const { children: r, dataTestId: n = "snackbar-wrapper" } = t, [s, i] = Zr(B1, { visible: [], queue: [] }), a = (u) => {
5083
- const f = P1(), b = { ...u, id: f, open: !0 };
5084
- i({ type: "ENQUEUE", snack: b });
5116
+ const f = P1(), x = { ...u, id: f, open: !0 };
5117
+ i({ type: "ENQUEUE", snack: x });
5085
5118
  }, l = (u) => {
5086
5119
  i({ type: "REMOVE", id: u });
5087
5120
  };
@@ -5095,20 +5128,20 @@ const z1 = "_stack_1sg4d_1", D1 = "_local_1sg4d_19", F1 = "_snackWrapper_1sg4d_2
5095
5128
  } else
5096
5129
  i({ type: "SHOW_NEXT" });
5097
5130
  }, [s.queue]);
5098
- const d = (u) => u.map((f, b) => {
5099
- const _ = (u.length - 1 - b) * -8, m = u.length > 1;
5131
+ const d = (u) => u.map((f, x) => {
5132
+ const _ = (u.length - 1 - x) * -8, m = u.length > 1;
5100
5133
  m && !f.wasInStack && (f.wasInStack = !0);
5101
5134
  const p = f.wasInStack || m ? "fix" : f.mode;
5102
5135
  return /* @__PURE__ */ e.jsx(
5103
5136
  "div",
5104
5137
  {
5105
5138
  "data-testid": n,
5106
- className: oe.snackWrapper,
5139
+ className: ae.snackWrapper,
5107
5140
  style: {
5108
5141
  transform: `translateY(${_}px)`
5109
5142
  },
5110
5143
  children: /* @__PURE__ */ e.jsx(
5111
- d2,
5144
+ p2,
5112
5145
  {
5113
5146
  ...f,
5114
5147
  open: !f.exiting,
@@ -5122,17 +5155,17 @@ const z1 = "_stack_1sg4d_1", D1 = "_local_1sg4d_19", F1 = "_snackWrapper_1sg4d_2
5122
5155
  f.id
5123
5156
  );
5124
5157
  }), g = s.visible.filter((u) => !u.parent), h = s.visible.filter((u) => u.parent), c = qe.createPortal(
5125
- /* @__PURE__ */ e.jsx("div", { className: oe.stack, children: d(g) }),
5158
+ /* @__PURE__ */ e.jsx("div", { className: ae.stack, children: d(g) }),
5126
5159
  document.body
5127
- ), x = h.reduce((u, f) => {
5160
+ ), b = h.reduce((u, f) => {
5128
5161
  if (!f.parent) return u;
5129
- const b = f.parent.id || `parent-${f.parent.className}`;
5130
- return (u[b] || (u[b] = [])).push(f), u;
5131
- }, {}), w = Object.entries(x).map(([u, f]) => {
5132
- const b = f[0];
5133
- return b.parent ? qe.createPortal(
5134
- /* @__PURE__ */ e.jsx("div", { className: jt(oe.stack, oe.local), children: d(f) }, u),
5135
- b.parent
5162
+ const x = f.parent.id || `parent-${f.parent.className}`;
5163
+ return (u[x] || (u[x] = [])).push(f), u;
5164
+ }, {}), w = Object.entries(b).map(([u, f]) => {
5165
+ const x = f[0];
5166
+ return x.parent ? qe.createPortal(
5167
+ /* @__PURE__ */ e.jsx("div", { className: Lt(ae.stack, ae.local), children: d(f) }, u),
5168
+ x.parent
5136
5169
  ) : null;
5137
5170
  });
5138
5171
  return /* @__PURE__ */ e.jsxs(Cr.Provider, { value: { show: a }, children: [
@@ -5142,31 +5175,31 @@ const z1 = "_stack_1sg4d_1", D1 = "_local_1sg4d_19", F1 = "_snackWrapper_1sg4d_2
5142
5175
  ] });
5143
5176
  };
5144
5177
  export {
5145
- m2 as Alert,
5178
+ y2 as Alert,
5146
5179
  Uo as Avatar,
5147
5180
  Ya as Badge,
5148
- le as Button,
5149
- C2 as Checkbox,
5150
- y2 as ConfigProvider,
5181
+ Kt as Button,
5182
+ L2 as Checkbox,
5183
+ C2 as ConfigProvider,
5151
5184
  ml as Helper,
5152
- x2 as Image,
5153
- j2 as List,
5185
+ v2 as Image,
5186
+ E2 as List,
5154
5187
  je as Loader,
5155
- h2 as Modal,
5188
+ x2 as Modal,
5156
5189
  Wa as Placeholder,
5157
- L2 as Radio,
5158
- E2 as SegmentedControl,
5159
- N2 as SnackbarProvider,
5160
- $2 as Tabs,
5161
- w2 as Tag,
5162
- S2 as TextArea,
5163
- k2 as TextInput,
5164
- T2 as Tooltip,
5165
- I2 as Trigger,
5190
+ T2 as Radio,
5191
+ N2 as SegmentedControl,
5192
+ B2 as SnackbarProvider,
5193
+ I2 as Tabs,
5194
+ S2 as Tag,
5195
+ $2 as TextArea,
5196
+ j2 as TextInput,
5197
+ R2 as Tooltip,
5198
+ M2 as Trigger,
5166
5199
  Ot as Typography,
5167
5200
  es as enUS,
5168
- v2 as ruRU,
5201
+ k2 as ruRU,
5169
5202
  rs as useConfig,
5170
- b2 as useLocale,
5171
- R2 as useSnackbar
5203
+ w2 as useLocale,
5204
+ A2 as useSnackbar
5172
5205
  };