skillgrid 0.0.22 → 0.0.23-dev-31782-34252-avatar-and-badge.1144012

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.
Files changed (60) hide show
  1. package/README.md +188 -194
  2. package/dist/components/Avatar/Avatar.d.ts +13 -1
  3. package/dist/components/Avatar/Avatar.type.d.ts +9 -5
  4. package/dist/components/Avatar/AvatarGroup/AvatarGroup.d.ts +0 -2
  5. package/dist/components/Avatar/lib/get-avatar-border-radius-by-size-and-shape.d.ts +8 -2
  6. package/dist/components/Avatar/lib/get-initials-color.d.ts +7 -1
  7. package/dist/components/Avatar/lib/get-initials.d.ts +5 -0
  8. package/dist/components/Avatar/lib/get-overflow-count-text.d.ts +5 -0
  9. package/dist/components/Avatar/lib/get-typography-classes-from-avatar-size.d.ts +10 -0
  10. package/dist/components/Avatar/lib/index.d.ts +1 -0
  11. package/dist/components/Badge/Badge.type.d.ts +5 -0
  12. package/dist/components/Button/Button.d.ts +2 -3
  13. package/dist/components/Checkbox/Checkbox.d.ts +18 -0
  14. package/dist/components/Checkbox/Checkbox.type.d.ts +90 -0
  15. package/dist/components/Checkbox/assets/CheckIcon.d.ts +16 -0
  16. package/dist/components/Checkbox/assets/LineIcon.d.ts +16 -0
  17. package/dist/components/Checkbox/index.d.ts +2 -0
  18. package/dist/components/Helper/Helper.d.ts +7 -0
  19. package/dist/components/Helper/Helper.type.d.ts +17 -0
  20. package/dist/components/Helper/index.d.ts +2 -0
  21. package/dist/components/InputBase/Input.d.ts +9 -0
  22. package/dist/components/InputBase/Input.type.d.ts +138 -0
  23. package/dist/components/InputBase/InputBase.d.ts +6 -0
  24. package/dist/components/InputBase/InputBase.type.d.ts +110 -0
  25. package/dist/components/InputBase/assets/GripIcon.d.ts +8 -0
  26. package/dist/components/InputBase/assets/SearchIcon.d.ts +17 -0
  27. package/dist/components/InputBase/assets/XIcon.d.ts +18 -0
  28. package/dist/components/InputBase/assets/index.d.ts +3 -0
  29. package/dist/components/InputBase/index.d.ts +3 -0
  30. package/dist/components/InputBase/lib/constants.d.ts +4 -0
  31. package/dist/components/InputBase/lib/index.d.ts +4 -0
  32. package/dist/components/InputBase/lib/useGripResize.d.ts +11 -0
  33. package/dist/components/InputBase/lib/useInputSync.d.ts +11 -0
  34. package/dist/components/InputBase/lib/useTextareaResize.d.ts +9 -0
  35. package/dist/components/List/List.d.ts +5 -0
  36. package/dist/components/List/List.type.d.ts +34 -0
  37. package/dist/components/List/ListItem/ListItem.d.ts +9 -0
  38. package/dist/components/List/index.d.ts +2 -0
  39. package/dist/components/TextArea/TextArea.d.ts +6 -0
  40. package/dist/components/TextArea/TextArea.type.d.ts +66 -0
  41. package/dist/components/TextArea/index.d.ts +2 -0
  42. package/dist/components/TextArea/lib/constants.d.ts +65 -0
  43. package/dist/components/TextArea/lib/getters.d.ts +38 -0
  44. package/dist/components/TextArea/lib/index.d.ts +2 -0
  45. package/dist/components/TextInput/TextInput.d.ts +6 -0
  46. package/dist/components/TextInput/TextInput.type.d.ts +72 -0
  47. package/dist/components/TextInput/index.d.ts +2 -0
  48. package/dist/components/TextInput/lib/constants.d.ts +9 -0
  49. package/dist/components/TextInput/lib/getters.d.ts +38 -0
  50. package/dist/components/TextInput/lib/index.d.ts +2 -0
  51. package/dist/components/Typography/Typography.constants.d.ts +2 -0
  52. package/dist/components/Typography/Typography.d.ts +21 -0
  53. package/dist/components/Typography/Typography.type.d.ts +68 -0
  54. package/dist/components/Typography/index.d.ts +1 -0
  55. package/dist/index.cjs.js +11 -11
  56. package/dist/index.css +1 -1
  57. package/dist/index.d.ts +2 -0
  58. package/dist/index.es.js +1250 -905
  59. package/dist/utils/other.d.ts +8 -0
  60. package/package.json +8 -5
package/dist/index.es.js CHANGED
@@ -1,9 +1,10 @@
1
- import nt, { forwardRef as H, useState as Le, useRef as ot, useEffect as st, useCallback as He, Fragment as Nt, createContext as It, useContext as At } from "react";
2
- import { clsx as ae } from "clsx";
3
- import './index.css';function Mt(r) {
4
- return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
1
+ import * as ut from "react";
2
+ import _t, { forwardRef as Q, useState as Se, useEffect as De, useRef as pt, useCallback as et, Fragment as Ft, createContext as qt, useContext as Vt } from "react";
3
+ import tt, { clsx as J } from "clsx";
4
+ import './index.css';function Wt(t) {
5
+ return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
5
6
  }
6
- var xe = { exports: {} }, ce = {};
7
+ var ke = { exports: {} }, pe = {};
7
8
  /**
8
9
  * @license React
9
10
  * react-jsx-runtime.production.min.js
@@ -13,21 +14,21 @@ var xe = { exports: {} }, ce = {};
13
14
  * This source code is licensed under the MIT license found in the
14
15
  * LICENSE file in the root directory of this source tree.
15
16
  */
16
- var Je;
17
- function Dt() {
18
- if (Je) return ce;
19
- Je = 1;
20
- var r = nt, s = Symbol.for("react.element"), a = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, d = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
21
- function _(f, c, h) {
22
- var p, g = {}, C = null, w = null;
23
- h !== void 0 && (C = "" + h), c.key !== void 0 && (C = "" + c.key), c.ref !== void 0 && (w = c.ref);
24
- for (p in c) o.call(c, p) && !i.hasOwnProperty(p) && (g[p] = c[p]);
25
- if (f && f.defaultProps) for (p in c = f.defaultProps, c) g[p] === void 0 && (g[p] = c[p]);
26
- return { $$typeof: s, type: f, key: C, ref: w, props: g, _owner: d.current };
17
+ var at;
18
+ function Zt() {
19
+ if (at) return pe;
20
+ at = 1;
21
+ var t = _t, n = Symbol.for("react.element"), r = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, d = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
22
+ function u(_, c, b) {
23
+ var f, g = {}, h = null, C = null;
24
+ b !== void 0 && (h = "" + b), c.key !== void 0 && (h = "" + c.key), c.ref !== void 0 && (C = c.ref);
25
+ for (f in c) s.call(c, f) && !i.hasOwnProperty(f) && (g[f] = c[f]);
26
+ if (_ && _.defaultProps) for (f in c = _.defaultProps, c) g[f] === void 0 && (g[f] = c[f]);
27
+ return { $$typeof: n, type: _, key: h, ref: C, props: g, _owner: d.current };
27
28
  }
28
- return ce.Fragment = a, ce.jsx = _, ce.jsxs = _, ce;
29
+ return pe.Fragment = r, pe.jsx = u, pe.jsxs = u, pe;
29
30
  }
30
- var ue = {};
31
+ var fe = {};
31
32
  /**
32
33
  * @license React
33
34
  * react-jsx-runtime.development.js
@@ -37,91 +38,91 @@ var ue = {};
37
38
  * This source code is licensed under the MIT license found in the
38
39
  * LICENSE file in the root directory of this source tree.
39
40
  */
40
- var Ke;
41
- function Bt() {
42
- return Ke || (Ke = 1, process.env.NODE_ENV !== "production" && function() {
43
- var r = nt, s = Symbol.for("react.element"), a = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), _ = Symbol.for("react.provider"), f = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), w = Symbol.for("react.offscreen"), $ = Symbol.iterator, k = "@@iterator";
44
- function L(e) {
41
+ var rt;
42
+ function Ut() {
43
+ return rt || (rt = 1, process.env.NODE_ENV !== "production" && function() {
44
+ var t = _t, n = Symbol.for("react.element"), r = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), u = Symbol.for("react.provider"), _ = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), w = Symbol.iterator, N = "@@iterator";
45
+ function E(e) {
45
46
  if (e === null || typeof e != "object")
46
47
  return null;
47
- var t = $ && e[$] || e[k];
48
- return typeof t == "function" ? t : null;
48
+ var a = w && e[w] || e[N];
49
+ return typeof a == "function" ? a : null;
49
50
  }
50
- var S = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
51
- function y(e) {
51
+ var k = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
52
+ function m(e) {
52
53
  {
53
- for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), u = 1; u < t; u++)
54
- n[u - 1] = arguments[u];
55
- T("error", e, n);
54
+ for (var a = arguments.length, l = new Array(a > 1 ? a - 1 : 0), p = 1; p < a; p++)
55
+ l[p - 1] = arguments[p];
56
+ O("error", e, l);
56
57
  }
57
58
  }
58
- function T(e, t, n) {
59
+ function O(e, a, l) {
59
60
  {
60
- var u = S.ReactDebugCurrentFrame, m = u.getStackAddendum();
61
- m !== "" && (t += "%s", n = n.concat([m]));
62
- var x = n.map(function(v) {
61
+ var p = k.ReactDebugCurrentFrame, x = p.getStackAddendum();
62
+ x !== "" && (a += "%s", l = l.concat([x]));
63
+ var $ = l.map(function(v) {
63
64
  return String(v);
64
65
  });
65
- x.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, x);
66
+ $.unshift("Warning: " + a), Function.prototype.apply.call(console[e], console, $);
66
67
  }
67
68
  }
68
- var N = !1, U = !1, B = !1, F = !1, z = !1, A;
69
+ var P = !1, z = !1, B = !1, L = !1, F = !1, A;
69
70
  A = Symbol.for("react.module.reference");
70
- function J(e) {
71
- return !!(typeof e == "string" || typeof e == "function" || e === o || e === i || z || e === d || e === h || e === p || F || e === w || N || U || B || typeof e == "object" && e !== null && (e.$$typeof === C || e.$$typeof === g || e.$$typeof === _ || e.$$typeof === f || e.$$typeof === c || // This needs to include all possible module reference object
71
+ function U(e) {
72
+ return !!(typeof e == "string" || typeof e == "function" || e === s || e === i || F || e === d || e === b || e === f || L || e === C || P || z || B || typeof e == "object" && e !== null && (e.$$typeof === h || e.$$typeof === g || e.$$typeof === u || e.$$typeof === _ || e.$$typeof === c || // This needs to include all possible module reference object
72
73
  // types supported by any Flight configuration anywhere since
73
74
  // we don't know which Flight build this will end up being used
74
75
  // with.
75
76
  e.$$typeof === A || e.getModuleId !== void 0));
76
77
  }
77
- function K(e, t, n) {
78
- var u = e.displayName;
79
- if (u)
80
- return u;
81
- var m = t.displayName || t.name || "";
82
- return m !== "" ? n + "(" + m + ")" : n;
78
+ function G(e, a, l) {
79
+ var p = e.displayName;
80
+ if (p)
81
+ return p;
82
+ var x = a.displayName || a.name || "";
83
+ return x !== "" ? l + "(" + x + ")" : l;
83
84
  }
84
- function G(e) {
85
+ function W(e) {
85
86
  return e.displayName || "Context";
86
87
  }
87
- function I(e) {
88
+ function M(e) {
88
89
  if (e == null)
89
90
  return null;
90
- if (typeof e.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
91
+ if (typeof e.tag == "number" && m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
91
92
  return e.displayName || e.name || null;
92
93
  if (typeof e == "string")
93
94
  return e;
94
95
  switch (e) {
95
- case o:
96
+ case s:
96
97
  return "Fragment";
97
- case a:
98
+ case r:
98
99
  return "Portal";
99
100
  case i:
100
101
  return "Profiler";
101
102
  case d:
102
103
  return "StrictMode";
103
- case h:
104
+ case b:
104
105
  return "Suspense";
105
- case p:
106
+ case f:
106
107
  return "SuspenseList";
107
108
  }
108
109
  if (typeof e == "object")
109
110
  switch (e.$$typeof) {
110
- case f:
111
- var t = e;
112
- return G(t) + ".Consumer";
113
111
  case _:
114
- var n = e;
115
- return G(n._context) + ".Provider";
112
+ var a = e;
113
+ return W(a) + ".Consumer";
114
+ case u:
115
+ var l = e;
116
+ return W(l._context) + ".Provider";
116
117
  case c:
117
- return K(e, e.render, "ForwardRef");
118
+ return G(e, e.render, "ForwardRef");
118
119
  case g:
119
- var u = e.displayName || null;
120
- return u !== null ? u : I(e.type) || "Memo";
121
- case C: {
122
- var m = e, x = m._payload, v = m._init;
120
+ var p = e.displayName || null;
121
+ return p !== null ? p : M(e.type) || "Memo";
122
+ case h: {
123
+ var x = e, $ = x._payload, v = x._init;
123
124
  try {
124
- return I(v(x));
125
+ return M(v($));
125
126
  } catch {
126
127
  return null;
127
128
  }
@@ -129,18 +130,18 @@ function Bt() {
129
130
  }
130
131
  return null;
131
132
  }
132
- var V = Object.assign, Q = 0, _e, fe, pe, be, ge, ve, he;
133
- function me() {
133
+ var S = Object.assign, q = 0, X, ae, he, ye, me, ve, Ce;
134
+ function xe() {
134
135
  }
135
- me.__reactDisabledLog = !0;
136
- function we() {
136
+ xe.__reactDisabledLog = !0;
137
+ function Re() {
137
138
  {
138
- if (Q === 0) {
139
- _e = console.log, fe = console.info, pe = console.warn, be = console.error, ge = console.group, ve = console.groupCollapsed, he = console.groupEnd;
139
+ if (q === 0) {
140
+ X = console.log, ae = console.info, he = console.warn, ye = console.error, me = console.group, ve = console.groupCollapsed, Ce = console.groupEnd;
140
141
  var e = {
141
142
  configurable: !0,
142
143
  enumerable: !0,
143
- value: me,
144
+ value: xe,
144
145
  writable: !0
145
146
  };
146
147
  Object.defineProperties(console, {
@@ -153,79 +154,79 @@ function Bt() {
153
154
  groupEnd: e
154
155
  });
155
156
  }
156
- Q++;
157
+ q++;
157
158
  }
158
159
  }
159
- function Ee() {
160
+ function je() {
160
161
  {
161
- if (Q--, Q === 0) {
162
+ if (q--, q === 0) {
162
163
  var e = {
163
164
  configurable: !0,
164
165
  enumerable: !0,
165
166
  writable: !0
166
167
  };
167
168
  Object.defineProperties(console, {
168
- log: V({}, e, {
169
- value: _e
169
+ log: S({}, e, {
170
+ value: X
170
171
  }),
171
- info: V({}, e, {
172
- value: fe
172
+ info: S({}, e, {
173
+ value: ae
173
174
  }),
174
- warn: V({}, e, {
175
- value: pe
175
+ warn: S({}, e, {
176
+ value: he
176
177
  }),
177
- error: V({}, e, {
178
- value: be
178
+ error: S({}, e, {
179
+ value: ye
179
180
  }),
180
- group: V({}, e, {
181
- value: ge
181
+ group: S({}, e, {
182
+ value: me
182
183
  }),
183
- groupCollapsed: V({}, e, {
184
+ groupCollapsed: S({}, e, {
184
185
  value: ve
185
186
  }),
186
- groupEnd: V({}, e, {
187
- value: he
187
+ groupEnd: S({}, e, {
188
+ value: Ce
188
189
  })
189
190
  });
190
191
  }
191
- Q < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
192
+ q < 0 && m("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
192
193
  }
193
194
  }
194
- var se = S.ReactCurrentDispatcher, X;
195
- function Y(e, t, n) {
195
+ var de = k.ReactCurrentDispatcher, re;
196
+ function ee(e, a, l) {
196
197
  {
197
- if (X === void 0)
198
+ if (re === void 0)
198
199
  try {
199
200
  throw Error();
200
- } catch (m) {
201
- var u = m.stack.trim().match(/\n( *(at )?)/);
202
- X = u && u[1] || "";
201
+ } catch (x) {
202
+ var p = x.stack.trim().match(/\n( *(at )?)/);
203
+ re = p && p[1] || "";
203
204
  }
204
205
  return `
205
- ` + X + e;
206
+ ` + re + e;
206
207
  }
207
208
  }
208
- var ee = !1, q;
209
+ var ne = !1, te;
209
210
  {
210
- var ie = typeof WeakMap == "function" ? WeakMap : Map;
211
- q = new ie();
211
+ var ue = typeof WeakMap == "function" ? WeakMap : Map;
212
+ te = new ue();
212
213
  }
213
- function Ne(e, t) {
214
- if (!e || ee)
214
+ function ze(e, a) {
215
+ if (!e || ne)
215
216
  return "";
216
217
  {
217
- var n = q.get(e);
218
- if (n !== void 0)
219
- return n;
218
+ var l = te.get(e);
219
+ if (l !== void 0)
220
+ return l;
220
221
  }
221
- var u;
222
- ee = !0;
223
- var m = Error.prepareStackTrace;
222
+ var p;
223
+ ne = !0;
224
+ var x = Error.prepareStackTrace;
224
225
  Error.prepareStackTrace = void 0;
225
- var x;
226
- x = se.current, se.current = null, we();
226
+ var $;
227
+ $ = de.current, de.current = null, Re();
227
228
  try {
228
- if (t) {
229
+ if (a) {
229
230
  var v = function() {
230
231
  throw Error();
231
232
  };
@@ -236,249 +237,249 @@ function Bt() {
236
237
  }), typeof Reflect == "object" && Reflect.construct) {
237
238
  try {
238
239
  Reflect.construct(v, []);
239
- } catch (P) {
240
- u = P;
240
+ } catch (D) {
241
+ p = D;
241
242
  }
242
243
  Reflect.construct(e, [], v);
243
244
  } else {
244
245
  try {
245
246
  v.call();
246
- } catch (P) {
247
- u = P;
247
+ } catch (D) {
248
+ p = D;
248
249
  }
249
250
  e.call(v.prototype);
250
251
  }
251
252
  } else {
252
253
  try {
253
254
  throw Error();
254
- } catch (P) {
255
- u = P;
255
+ } catch (D) {
256
+ p = D;
256
257
  }
257
258
  e();
258
259
  }
259
- } catch (P) {
260
- if (P && u && typeof P.stack == "string") {
261
- for (var b = P.stack.split(`
262
- `), O = u.stack.split(`
263
- `), E = b.length - 1, j = O.length - 1; E >= 1 && j >= 0 && b[E] !== O[j]; )
264
- j--;
265
- for (; E >= 1 && j >= 0; E--, j--)
266
- if (b[E] !== O[j]) {
267
- if (E !== 1 || j !== 1)
260
+ } catch (D) {
261
+ if (D && p && typeof D.stack == "string") {
262
+ for (var y = D.stack.split(`
263
+ `), I = p.stack.split(`
264
+ `), R = y.length - 1, T = I.length - 1; R >= 1 && T >= 0 && y[R] !== I[T]; )
265
+ T--;
266
+ for (; R >= 1 && T >= 0; R--, T--)
267
+ if (y[R] !== I[T]) {
268
+ if (R !== 1 || T !== 1)
268
269
  do
269
- if (E--, j--, j < 0 || b[E] !== O[j]) {
270
- var M = `
271
- ` + b[E].replace(" at new ", " at ");
272
- return e.displayName && M.includes("<anonymous>") && (M = M.replace("<anonymous>", e.displayName)), typeof e == "function" && q.set(e, M), M;
270
+ if (R--, T--, T < 0 || y[R] !== I[T]) {
271
+ var V = `
272
+ ` + y[R].replace(" at new ", " at ");
273
+ return e.displayName && V.includes("<anonymous>") && (V = V.replace("<anonymous>", e.displayName)), typeof e == "function" && te.set(e, V), V;
273
274
  }
274
- while (E >= 1 && j >= 0);
275
+ while (R >= 1 && T >= 0);
275
276
  break;
276
277
  }
277
278
  }
278
279
  } finally {
279
- ee = !1, se.current = x, Ee(), Error.prepareStackTrace = m;
280
+ ne = !1, de.current = $, je(), Error.prepareStackTrace = x;
280
281
  }
281
- var oe = e ? e.displayName || e.name : "", te = oe ? Y(oe) : "";
282
- return typeof e == "function" && q.set(e, te), te;
282
+ var le = e ? e.displayName || e.name : "", oe = le ? ee(le) : "";
283
+ return typeof e == "function" && te.set(e, oe), oe;
283
284
  }
284
- function ut(e, t, n) {
285
- return Ne(e, !1);
285
+ function ht(e, a, l) {
286
+ return ze(e, !1);
286
287
  }
287
- function dt(e) {
288
- var t = e.prototype;
289
- return !!(t && t.isReactComponent);
288
+ function yt(e) {
289
+ var a = e.prototype;
290
+ return !!(a && a.isReactComponent);
290
291
  }
291
- function Ce(e, t, n) {
292
+ function we(e, a, l) {
292
293
  if (e == null)
293
294
  return "";
294
295
  if (typeof e == "function")
295
- return Ne(e, dt(e));
296
+ return ze(e, yt(e));
296
297
  if (typeof e == "string")
297
- return Y(e);
298
+ return ee(e);
298
299
  switch (e) {
299
- case h:
300
- return Y("Suspense");
301
- case p:
302
- return Y("SuspenseList");
300
+ case b:
301
+ return ee("Suspense");
302
+ case f:
303
+ return ee("SuspenseList");
303
304
  }
304
305
  if (typeof e == "object")
305
306
  switch (e.$$typeof) {
306
307
  case c:
307
- return ut(e.render);
308
+ return ht(e.render);
308
309
  case g:
309
- return Ce(e.type, t, n);
310
- case C: {
311
- var u = e, m = u._payload, x = u._init;
310
+ return we(e.type, a, l);
311
+ case h: {
312
+ var p = e, x = p._payload, $ = p._init;
312
313
  try {
313
- return Ce(x(m), t, n);
314
+ return we($(x), a, l);
314
315
  } catch {
315
316
  }
316
317
  }
317
318
  }
318
319
  return "";
319
320
  }
320
- var le = Object.prototype.hasOwnProperty, Ie = {}, Ae = S.ReactDebugCurrentFrame;
321
- function ye(e) {
321
+ var _e = Object.prototype.hasOwnProperty, Be = {}, Fe = k.ReactDebugCurrentFrame;
322
+ function $e(e) {
322
323
  if (e) {
323
- var t = e._owner, n = Ce(e.type, e._source, t ? t.type : null);
324
- Ae.setExtraStackFrame(n);
324
+ var a = e._owner, l = we(e.type, e._source, a ? a.type : null);
325
+ Fe.setExtraStackFrame(l);
325
326
  } else
326
- Ae.setExtraStackFrame(null);
327
+ Fe.setExtraStackFrame(null);
327
328
  }
328
- function _t(e, t, n, u, m) {
329
+ function mt(e, a, l, p, x) {
329
330
  {
330
- var x = Function.call.bind(le);
331
+ var $ = Function.call.bind(_e);
331
332
  for (var v in e)
332
- if (x(e, v)) {
333
- var b = void 0;
333
+ if ($(e, v)) {
334
+ var y = void 0;
334
335
  try {
335
336
  if (typeof e[v] != "function") {
336
- var O = Error((u || "React class") + ": " + n + " type `" + v + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[v] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
- throw O.name = "Invariant Violation", O;
337
+ var I = Error((p || "React class") + ": " + l + " type `" + v + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[v] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
338
+ throw I.name = "Invariant Violation", I;
338
339
  }
339
- b = e[v](t, v, u, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
- } catch (E) {
341
- b = E;
340
+ y = e[v](a, v, p, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
341
+ } catch (R) {
342
+ y = R;
342
343
  }
343
- b && !(b instanceof Error) && (ye(m), y("%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).", u || "React class", n, v, typeof b), ye(null)), b instanceof Error && !(b.message in Ie) && (Ie[b.message] = !0, ye(m), y("Failed %s type: %s", n, b.message), ye(null));
344
+ y && !(y instanceof Error) && ($e(x), m("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", p || "React class", l, v, typeof y), $e(null)), y instanceof Error && !(y.message in Be) && (Be[y.message] = !0, $e(x), m("Failed %s type: %s", l, y.message), $e(null));
344
345
  }
345
346
  }
346
347
  }
347
- var ft = Array.isArray;
348
- function Re(e) {
349
- return ft(e);
348
+ var vt = Array.isArray;
349
+ function Te(e) {
350
+ return vt(e);
350
351
  }
351
- function pt(e) {
352
+ function Ct(e) {
352
353
  {
353
- var t = typeof Symbol == "function" && Symbol.toStringTag, n = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
354
- return n;
354
+ var a = typeof Symbol == "function" && Symbol.toStringTag, l = a && e[Symbol.toStringTag] || e.constructor.name || "Object";
355
+ return l;
355
356
  }
356
357
  }
357
- function bt(e) {
358
+ function xt(e) {
358
359
  try {
359
- return Me(e), !1;
360
+ return qe(e), !1;
360
361
  } catch {
361
362
  return !0;
362
363
  }
363
364
  }
364
- function Me(e) {
365
+ function qe(e) {
365
366
  return "" + e;
366
367
  }
367
- function De(e) {
368
- if (bt(e))
369
- return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", pt(e)), Me(e);
368
+ function Ve(e) {
369
+ if (xt(e))
370
+ return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ct(e)), qe(e);
370
371
  }
371
- var Be = S.ReactCurrentOwner, gt = {
372
+ var We = k.ReactCurrentOwner, wt = {
372
373
  key: !0,
373
374
  ref: !0,
374
375
  __self: !0,
375
376
  __source: !0
376
- }, Fe, ze;
377
- function vt(e) {
378
- if (le.call(e, "ref")) {
379
- var t = Object.getOwnPropertyDescriptor(e, "ref").get;
380
- if (t && t.isReactWarning)
377
+ }, Ze, Ue;
378
+ function $t(e) {
379
+ if (_e.call(e, "ref")) {
380
+ var a = Object.getOwnPropertyDescriptor(e, "ref").get;
381
+ if (a && a.isReactWarning)
381
382
  return !1;
382
383
  }
383
384
  return e.ref !== void 0;
384
385
  }
385
- function ht(e) {
386
- if (le.call(e, "key")) {
387
- var t = Object.getOwnPropertyDescriptor(e, "key").get;
388
- if (t && t.isReactWarning)
386
+ function kt(e) {
387
+ if (_e.call(e, "key")) {
388
+ var a = Object.getOwnPropertyDescriptor(e, "key").get;
389
+ if (a && a.isReactWarning)
389
390
  return !1;
390
391
  }
391
392
  return e.key !== void 0;
392
393
  }
393
- function mt(e, t) {
394
- typeof e.ref == "string" && Be.current;
394
+ function Et(e, a) {
395
+ typeof e.ref == "string" && We.current;
395
396
  }
396
- function Ct(e, t) {
397
+ function St(e, a) {
397
398
  {
398
- var n = function() {
399
- Fe || (Fe = !0, y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
399
+ var l = function() {
400
+ Ze || (Ze = !0, m("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", a));
400
401
  };
401
- n.isReactWarning = !0, Object.defineProperty(e, "key", {
402
- get: n,
402
+ l.isReactWarning = !0, Object.defineProperty(e, "key", {
403
+ get: l,
403
404
  configurable: !0
404
405
  });
405
406
  }
406
407
  }
407
- function yt(e, t) {
408
+ function Rt(e, a) {
408
409
  {
409
- var n = function() {
410
- ze || (ze = !0, y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
410
+ var l = function() {
411
+ Ue || (Ue = !0, m("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", a));
411
412
  };
412
- n.isReactWarning = !0, Object.defineProperty(e, "ref", {
413
- get: n,
413
+ l.isReactWarning = !0, Object.defineProperty(e, "ref", {
414
+ get: l,
414
415
  configurable: !0
415
416
  });
416
417
  }
417
418
  }
418
- var xt = function(e, t, n, u, m, x, v) {
419
- var b = {
419
+ var jt = function(e, a, l, p, x, $, v) {
420
+ var y = {
420
421
  // This tag allows us to uniquely identify this as a React Element
421
- $$typeof: s,
422
+ $$typeof: n,
422
423
  // Built-in properties that belong on the element
423
424
  type: e,
424
- key: t,
425
- ref: n,
425
+ key: a,
426
+ ref: l,
426
427
  props: v,
427
428
  // Record the component responsible for creating this element.
428
- _owner: x
429
+ _owner: $
429
430
  };
430
- return b._store = {}, Object.defineProperty(b._store, "validated", {
431
+ return y._store = {}, Object.defineProperty(y._store, "validated", {
431
432
  configurable: !1,
432
433
  enumerable: !1,
433
434
  writable: !0,
434
435
  value: !1
435
- }), Object.defineProperty(b, "_self", {
436
+ }), Object.defineProperty(y, "_self", {
436
437
  configurable: !1,
437
438
  enumerable: !1,
438
439
  writable: !1,
439
- value: u
440
- }), Object.defineProperty(b, "_source", {
440
+ value: p
441
+ }), Object.defineProperty(y, "_source", {
441
442
  configurable: !1,
442
443
  enumerable: !1,
443
444
  writable: !1,
444
- value: m
445
- }), Object.freeze && (Object.freeze(b.props), Object.freeze(b)), b;
445
+ value: x
446
+ }), Object.freeze && (Object.freeze(y.props), Object.freeze(y)), y;
446
447
  };
447
- function wt(e, t, n, u, m) {
448
+ function Tt(e, a, l, p, x) {
448
449
  {
449
- var x, v = {}, b = null, O = null;
450
- n !== void 0 && (De(n), b = "" + n), ht(t) && (De(t.key), b = "" + t.key), vt(t) && (O = t.ref, mt(t, m));
451
- for (x in t)
452
- le.call(t, x) && !gt.hasOwnProperty(x) && (v[x] = t[x]);
450
+ var $, v = {}, y = null, I = null;
451
+ l !== void 0 && (Ve(l), y = "" + l), kt(a) && (Ve(a.key), y = "" + a.key), $t(a) && (I = a.ref, Et(a, x));
452
+ for ($ in a)
453
+ _e.call(a, $) && !wt.hasOwnProperty($) && (v[$] = a[$]);
453
454
  if (e && e.defaultProps) {
454
- var E = e.defaultProps;
455
- for (x in E)
456
- v[x] === void 0 && (v[x] = E[x]);
455
+ var R = e.defaultProps;
456
+ for ($ in R)
457
+ v[$] === void 0 && (v[$] = R[$]);
457
458
  }
458
- if (b || O) {
459
- var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
460
- b && Ct(v, j), O && yt(v, j);
459
+ if (y || I) {
460
+ var T = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
461
+ y && St(v, T), I && Rt(v, T);
461
462
  }
462
- return xt(e, b, O, m, u, Be.current, v);
463
+ return jt(e, y, I, x, p, We.current, v);
463
464
  }
464
465
  }
465
- var Se = S.ReactCurrentOwner, Ve = S.ReactDebugCurrentFrame;
466
- function ne(e) {
466
+ var Ne = k.ReactCurrentOwner, Ge = k.ReactDebugCurrentFrame;
467
+ function ie(e) {
467
468
  if (e) {
468
- var t = e._owner, n = Ce(e.type, e._source, t ? t.type : null);
469
- Ve.setExtraStackFrame(n);
469
+ var a = e._owner, l = we(e.type, e._source, a ? a.type : null);
470
+ Ge.setExtraStackFrame(l);
470
471
  } else
471
- Ve.setExtraStackFrame(null);
472
+ Ge.setExtraStackFrame(null);
472
473
  }
473
- var je;
474
- je = !1;
475
- function $e(e) {
476
- return typeof e == "object" && e !== null && e.$$typeof === s;
474
+ var Oe;
475
+ Oe = !1;
476
+ function Le(e) {
477
+ return typeof e == "object" && e !== null && e.$$typeof === n;
477
478
  }
478
- function We() {
479
+ function Ye() {
479
480
  {
480
- if (Se.current) {
481
- var e = I(Se.current.type);
481
+ if (Ne.current) {
482
+ var e = M(Ne.current.type);
482
483
  if (e)
483
484
  return `
484
485
 
@@ -487,442 +488,457 @@ Check the render method of \`` + e + "`.";
487
488
  return "";
488
489
  }
489
490
  }
490
- function Et(e) {
491
+ function Nt(e) {
491
492
  return "";
492
493
  }
493
- var Ze = {};
494
- function Rt(e) {
494
+ var He = {};
495
+ function Ot(e) {
495
496
  {
496
- var t = We();
497
- if (!t) {
498
- var n = typeof e == "string" ? e : e.displayName || e.name;
499
- n && (t = `
497
+ var a = Ye();
498
+ if (!a) {
499
+ var l = typeof e == "string" ? e : e.displayName || e.name;
500
+ l && (a = `
500
501
 
501
- Check the top-level render call using <` + n + ">.");
502
+ Check the top-level render call using <` + l + ">.");
502
503
  }
503
- return t;
504
+ return a;
504
505
  }
505
506
  }
506
- function Ue(e, t) {
507
+ function Je(e, a) {
507
508
  {
508
509
  if (!e._store || e._store.validated || e.key != null)
509
510
  return;
510
511
  e._store.validated = !0;
511
- var n = Rt(t);
512
- if (Ze[n])
512
+ var l = Ot(a);
513
+ if (He[l])
513
514
  return;
514
- Ze[n] = !0;
515
- var u = "";
516
- e && e._owner && e._owner !== Se.current && (u = " It was passed a child from " + I(e._owner.type) + "."), ne(e), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, u), ne(null);
515
+ He[l] = !0;
516
+ var p = "";
517
+ e && e._owner && e._owner !== Ne.current && (p = " It was passed a child from " + M(e._owner.type) + "."), ie(e), m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, p), ie(null);
517
518
  }
518
519
  }
519
- function Ge(e, t) {
520
+ function Ke(e, a) {
520
521
  {
521
522
  if (typeof e != "object")
522
523
  return;
523
- if (Re(e))
524
- for (var n = 0; n < e.length; n++) {
525
- var u = e[n];
526
- $e(u) && Ue(u, t);
524
+ if (Te(e))
525
+ for (var l = 0; l < e.length; l++) {
526
+ var p = e[l];
527
+ Le(p) && Je(p, a);
527
528
  }
528
- else if ($e(e))
529
+ else if (Le(e))
529
530
  e._store && (e._store.validated = !0);
530
531
  else if (e) {
531
- var m = L(e);
532
- if (typeof m == "function" && m !== e.entries)
533
- for (var x = m.call(e), v; !(v = x.next()).done; )
534
- $e(v.value) && Ue(v.value, t);
532
+ var x = E(e);
533
+ if (typeof x == "function" && x !== e.entries)
534
+ for (var $ = x.call(e), v; !(v = $.next()).done; )
535
+ Le(v.value) && Je(v.value, a);
535
536
  }
536
537
  }
537
538
  }
538
- function St(e) {
539
+ function Lt(e) {
539
540
  {
540
- var t = e.type;
541
- if (t == null || typeof t == "string")
541
+ var a = e.type;
542
+ if (a == null || typeof a == "string")
542
543
  return;
543
- var n;
544
- if (typeof t == "function")
545
- n = t.propTypes;
546
- else if (typeof t == "object" && (t.$$typeof === c || // Note: Memo only checks outer props here.
544
+ var l;
545
+ if (typeof a == "function")
546
+ l = a.propTypes;
547
+ else if (typeof a == "object" && (a.$$typeof === c || // Note: Memo only checks outer props here.
547
548
  // Inner props are checked in the reconciler.
548
- t.$$typeof === g))
549
- n = t.propTypes;
549
+ a.$$typeof === g))
550
+ l = a.propTypes;
550
551
  else
551
552
  return;
552
- if (n) {
553
- var u = I(t);
554
- _t(n, e.props, "prop", u, e);
555
- } else if (t.PropTypes !== void 0 && !je) {
556
- je = !0;
557
- var m = I(t);
558
- y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", m || "Unknown");
553
+ if (l) {
554
+ var p = M(a);
555
+ mt(l, e.props, "prop", p, e);
556
+ } else if (a.PropTypes !== void 0 && !Oe) {
557
+ Oe = !0;
558
+ var x = M(a);
559
+ m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", x || "Unknown");
559
560
  }
560
- typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
561
+ typeof a.getDefaultProps == "function" && !a.getDefaultProps.isReactClassApproved && m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
561
562
  }
562
563
  }
563
- function jt(e) {
564
+ function Pt(e) {
564
565
  {
565
- for (var t = Object.keys(e.props), n = 0; n < t.length; n++) {
566
- var u = t[n];
567
- if (u !== "children" && u !== "key") {
568
- ne(e), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), ne(null);
566
+ for (var a = Object.keys(e.props), l = 0; l < a.length; l++) {
567
+ var p = a[l];
568
+ if (p !== "children" && p !== "key") {
569
+ ie(e), m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", p), ie(null);
569
570
  break;
570
571
  }
571
572
  }
572
- e.ref !== null && (ne(e), y("Invalid attribute `ref` supplied to `React.Fragment`."), ne(null));
573
+ e.ref !== null && (ie(e), m("Invalid attribute `ref` supplied to `React.Fragment`."), ie(null));
573
574
  }
574
575
  }
575
- var Ye = {};
576
- function qe(e, t, n, u, m, x) {
576
+ var Qe = {};
577
+ function Xe(e, a, l, p, x, $) {
577
578
  {
578
- var v = J(e);
579
+ var v = U(e);
579
580
  if (!v) {
580
- var b = "";
581
- (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (b += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
582
- var O = Et();
583
- O ? b += O : b += We();
584
- var E;
585
- e === null ? E = "null" : Re(e) ? E = "array" : e !== void 0 && e.$$typeof === s ? (E = "<" + (I(e.type) || "Unknown") + " />", b = " Did you accidentally export a JSX literal instead of a component?") : E = typeof e, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", E, b);
581
+ var y = "";
582
+ (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (y += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
583
+ var I = Nt();
584
+ I ? y += I : y += Ye();
585
+ var R;
586
+ e === null ? R = "null" : Te(e) ? R = "array" : e !== void 0 && e.$$typeof === n ? (R = "<" + (M(e.type) || "Unknown") + " />", y = " Did you accidentally export a JSX literal instead of a component?") : R = typeof e, m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", R, y);
586
587
  }
587
- var j = wt(e, t, n, m, x);
588
- if (j == null)
589
- return j;
588
+ var T = Tt(e, a, l, x, $);
589
+ if (T == null)
590
+ return T;
590
591
  if (v) {
591
- var M = t.children;
592
- if (M !== void 0)
593
- if (u)
594
- if (Re(M)) {
595
- for (var oe = 0; oe < M.length; oe++)
596
- Ge(M[oe], e);
597
- Object.freeze && Object.freeze(M);
592
+ var V = a.children;
593
+ if (V !== void 0)
594
+ if (p)
595
+ if (Te(V)) {
596
+ for (var le = 0; le < V.length; le++)
597
+ Ke(V[le], e);
598
+ Object.freeze && Object.freeze(V);
598
599
  } else
599
- y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
600
+ m("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
600
601
  else
601
- Ge(M, e);
602
+ Ke(V, e);
602
603
  }
603
- if (le.call(t, "key")) {
604
- var te = I(e), P = Object.keys(t).filter(function(Lt) {
605
- return Lt !== "key";
606
- }), ke = P.length > 0 ? "{key: someKey, " + P.join(": ..., ") + ": ...}" : "{key: someKey}";
607
- if (!Ye[te + ke]) {
608
- var Pt = P.length > 0 ? "{" + P.join(": ..., ") + ": ...}" : "{}";
609
- y(`A props object containing a "key" prop is being spread into JSX:
604
+ if (_e.call(a, "key")) {
605
+ var oe = M(e), D = Object.keys(a).filter(function(Bt) {
606
+ return Bt !== "key";
607
+ }), Pe = D.length > 0 ? "{key: someKey, " + D.join(": ..., ") + ": ...}" : "{key: someKey}";
608
+ if (!Qe[oe + Pe]) {
609
+ var zt = D.length > 0 ? "{" + D.join(": ..., ") + ": ...}" : "{}";
610
+ m(`A props object containing a "key" prop is being spread into JSX:
610
611
  let props = %s;
611
612
  <%s {...props} />
612
613
  React keys must be passed directly to JSX without using spread:
613
614
  let props = %s;
614
- <%s key={someKey} {...props} />`, ke, te, Pt, te), Ye[te + ke] = !0;
615
+ <%s key={someKey} {...props} />`, Pe, oe, zt, oe), Qe[oe + Pe] = !0;
615
616
  }
616
617
  }
617
- return e === o ? jt(j) : St(j), j;
618
+ return e === s ? Pt(T) : Lt(T), T;
618
619
  }
619
620
  }
620
- function $t(e, t, n) {
621
- return qe(e, t, n, !0);
621
+ function It(e, a, l) {
622
+ return Xe(e, a, l, !0);
622
623
  }
623
- function kt(e, t, n) {
624
- return qe(e, t, n, !1);
624
+ function At(e, a, l) {
625
+ return Xe(e, a, l, !1);
625
626
  }
626
- var Tt = kt, Ot = $t;
627
- ue.Fragment = o, ue.jsx = Tt, ue.jsxs = Ot;
628
- }()), ue;
627
+ var Mt = At, Dt = It;
628
+ fe.Fragment = s, fe.jsx = Mt, fe.jsxs = Dt;
629
+ }()), fe;
629
630
  }
630
- var Qe;
631
- function Ft() {
632
- return Qe || (Qe = 1, process.env.NODE_ENV === "production" ? xe.exports = Dt() : xe.exports = Bt()), xe.exports;
631
+ var nt;
632
+ function Gt() {
633
+ return nt || (nt = 1, process.env.NODE_ENV === "production" ? ke.exports = Zt() : ke.exports = Ut()), ke.exports;
633
634
  }
634
- var l = Ft();
635
- const zt = (r) => r.as === "a", Vt = (r) => r.as === void 0 || r.as === "button", Wt = "_button_unbux_213", Zt = "_disabled_unbux_237", Ut = "_loading_unbux_237", Gt = "_neutral_unbux_259", Yt = "_accent_unbux_263", qt = "_positive_unbux_267", Ht = "_negative_unbux_271", Jt = "_contrast_unbux_275", Kt = "_special_unbux_279", Qt = "_primary_unbux_284", Xt = "_secondary_unbux_285", e2 = "_tertiary_unbux_286", t2 = "_label_unbux_321", r2 = "_rightGroup_unbux_333", a2 = "_iconOnly_unbux_349", n2 = "_large_unbux_357", o2 = "_medium_unbux_361", s2 = "_small_unbux_365", i2 = "_spaceBetween_unbux_370", l2 = "_stretched_unbux_384", c2 = "_icon_unbux_349", u2 = "_badge_unbux_705", d2 = "_badgeMedium_unbux_721", _2 = "_circular_unbux_738", f2 = "_badgeSmall_unbux_743", p2 = "_badgeExtraSmall_unbux_765", b2 = "_withSubcaption_unbux_784", g2 = "_subcaption_unbux_797", v2 = "_loader_unbux_804", h2 = "_spin_unbux_1", m2 = "_l_unbux_237", C2 = "_m_unbux_361", y2 = "_s_unbux_279", x2 = "_xs_unbux_869", R = {
636
- button: Wt,
637
- disabled: Zt,
638
- loading: Ut,
639
- neutral: Gt,
640
- accent: Yt,
641
- positive: qt,
642
- negative: Ht,
643
- contrast: Jt,
644
- special: Kt,
645
- primary: Qt,
646
- secondary: Xt,
647
- tertiary: e2,
648
- label: t2,
649
- rightGroup: r2,
650
- iconOnly: a2,
651
- large: n2,
652
- medium: o2,
653
- small: s2,
654
- spaceBetween: i2,
655
- stretched: l2,
656
- icon: c2,
657
- badge: u2,
658
- badgeMedium: d2,
659
- circular: _2,
660
- badgeSmall: f2,
661
- badgeExtraSmall: p2,
662
- withSubcaption: b2,
663
- subcaption: g2,
664
- loader: v2,
665
- spin: h2,
666
- l: m2,
667
- m: C2,
668
- s: y2,
669
- xs: x2
670
- }, Xe = ({
671
- isLoading: r,
672
- showBadge: s,
673
- badgeValue: a,
674
- badgeSize: o,
635
+ var o = Gt();
636
+ const Yt = (t) => t.as === "a", Ht = (t) => t.as === void 0 || t.as === "button", Jt = "_button_1abee_213", Kt = "_disabled_1abee_237", Qt = "_loading_1abee_237", Xt = "_neutral_1abee_259", ea = "_accent_1abee_263", ta = "_positive_1abee_267", aa = "_negative_1abee_271", ra = "_contrast_1abee_275", na = "_special_1abee_279", oa = "_primary_1abee_284", sa = "_secondary_1abee_285", ia = "_tertiary_1abee_286", la = "_label_1abee_321", ca = "_rightGroup_1abee_333", da = "_iconOnly_1abee_349", ua = "_large_1abee_357", _a = "_medium_1abee_361", pa = "_small_1abee_365", fa = "_spaceBetween_1abee_370", ga = "_stretched_1abee_384", ba = "_icon_1abee_349", ha = "_badge_1abee_705", ya = "_badgeMedium_1abee_721", ma = "_circular_1abee_738", va = "_badgeSmall_1abee_743", Ca = "_badgeExtraSmall_1abee_765", xa = "_withSubcaption_1abee_784", wa = "_subcaption_1abee_797", $a = "_loader_1abee_804", ka = "_spin_1abee_1", Ea = "_l_1abee_237", Sa = "_m_1abee_361", Ra = "_s_1abee_279", ja = "_xs_1abee_869", j = {
637
+ button: Jt,
638
+ disabled: Kt,
639
+ loading: Qt,
640
+ neutral: Xt,
641
+ accent: ea,
642
+ positive: ta,
643
+ negative: aa,
644
+ contrast: ra,
645
+ special: na,
646
+ primary: oa,
647
+ secondary: sa,
648
+ tertiary: ia,
649
+ label: la,
650
+ rightGroup: ca,
651
+ iconOnly: da,
652
+ large: ua,
653
+ medium: _a,
654
+ small: pa,
655
+ spaceBetween: fa,
656
+ stretched: ga,
657
+ icon: ba,
658
+ badge: ha,
659
+ badgeMedium: ya,
660
+ circular: ma,
661
+ badgeSmall: va,
662
+ badgeExtraSmall: Ca,
663
+ withSubcaption: xa,
664
+ subcaption: wa,
665
+ loader: $a,
666
+ spin: ka,
667
+ l: Ea,
668
+ m: Sa,
669
+ s: Ra,
670
+ xs: ja
671
+ }, ot = ({
672
+ isLoading: t,
673
+ showBadge: n,
674
+ badgeValue: r,
675
+ badgeSize: s,
675
676
  icon: d,
676
677
  children: i,
677
- postfix: _,
678
- showSubcaption: f,
678
+ postfix: u,
679
+ showSubcaption: _,
679
680
  subcaption: c,
680
- size: h
681
+ size: b
681
682
  }) => {
682
- if (r)
683
- return /* @__PURE__ */ l.jsx("span", { className: R.loader, "data-testid": "button-loader", "aria-hidden": "true" });
684
- const p = o === "extra-small", g = parseInt(String(a), 10), C = !isNaN(g) && g >= 0 && g <= 9;
685
- return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
686
- s && (a || p) && /* @__PURE__ */ l.jsx(
683
+ if (t)
684
+ return /* @__PURE__ */ o.jsx("span", { className: j.loader, "data-testid": "button-loader", "aria-hidden": "true" });
685
+ const f = s === "extra-small", g = parseInt(String(r), 10), h = !isNaN(g) && g >= 0 && g <= 9;
686
+ return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
687
+ n && (r || f) && /* @__PURE__ */ o.jsx(
687
688
  "span",
688
689
  {
689
690
  "data-testid": "button-badge",
690
- className: ae(
691
- R.badge,
692
- R[`badge${p ? "ExtraSmall" : o === "medium" ? "Medium" : "Small"}`],
693
- { [R.circular]: C && !p }
691
+ className: J(
692
+ j.badge,
693
+ j[`badge${f ? "ExtraSmall" : s === "medium" ? "Medium" : "Small"}`],
694
+ { [j.circular]: h && !f }
694
695
  ),
695
- children: !p && a
696
+ children: !f && r
696
697
  }
697
698
  ),
698
- f && h !== "s" && h !== "xs" ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
699
- /* @__PURE__ */ l.jsx("span", { "data-testid": "button-label", className: R.label, children: i }),
700
- /* @__PURE__ */ l.jsx("span", { "data-testid": "button-subcaption", className: R.subcaption, children: c })
701
- ] }) : i ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
702
- /* @__PURE__ */ l.jsx("span", { "data-testid": "button-label", className: R.label, children: i }),
703
- /* @__PURE__ */ l.jsxs("div", { "data-testid": "button-right-group", className: R.rightGroup, children: [
704
- d && /* @__PURE__ */ l.jsx("span", { "data-testid": "button-icon", className: R.icon, children: d }),
705
- _ && /* @__PURE__ */ l.jsx("span", { "data-testid": "button-postfix", className: R.postfix, children: _ })
699
+ _ && b !== "s" && b !== "xs" ? /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
700
+ /* @__PURE__ */ o.jsx("span", { "data-testid": "button-label", className: j.label, children: i }),
701
+ /* @__PURE__ */ o.jsx("span", { "data-testid": "button-subcaption", className: j.subcaption, children: c })
702
+ ] }) : i ? /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
703
+ /* @__PURE__ */ o.jsx("span", { "data-testid": "button-label", className: j.label, children: i }),
704
+ /* @__PURE__ */ o.jsxs("div", { "data-testid": "button-right-group", className: j.rightGroup, children: [
705
+ d && /* @__PURE__ */ o.jsx("span", { "data-testid": "button-icon", className: j.icon, children: d }),
706
+ u && /* @__PURE__ */ o.jsx("span", { "data-testid": "button-postfix", className: j.postfix, children: u })
706
707
  ] })
707
- ] }) : /* @__PURE__ */ l.jsx("span", { "data-testid": "button-icon", className: R.icon, children: d })
708
+ ] }) : /* @__PURE__ */ o.jsx("span", { "data-testid": "button-icon", className: j.icon, children: d })
708
709
  ] });
709
- }, Zr = H((r, s) => {
710
+ }, w2 = Q((t, n) => {
710
711
  const {
711
- mode: a = "primary",
712
- size: o = "m",
712
+ mode: r = "primary",
713
+ size: s = "m",
713
714
  buttonStyle: d = "neutral",
714
715
  loading: i = !1,
715
- disabled: _ = !1,
716
- showBadge: f = !1,
716
+ disabled: u = !1,
717
+ showBadge: _ = !1,
717
718
  badgeSize: c = "small",
718
- badgeValue: h,
719
- showSubcaption: p = !1,
719
+ badgeValue: b,
720
+ showSubcaption: f = !1,
720
721
  subcaption: g,
721
- stretched: C = !1,
722
- spaceBetween: w = !1,
723
- icon: $,
724
- postfix: k,
725
- className: L,
726
- children: S
727
- } = r, y = _, T = i, N = !y && !T, U = !!$ && !S, B = ae(
728
- R.button,
729
- R[o],
730
- R[a],
731
- R[d],
722
+ stretched: h = !1,
723
+ spaceBetween: C = !1,
724
+ icon: w,
725
+ postfix: N,
726
+ className: E,
727
+ children: k
728
+ } = t, m = u, O = i, P = !m && !O, z = !!w && !k, B = J(
729
+ j.button,
730
+ j[s],
731
+ j[r],
732
+ j[d],
732
733
  {
733
- [R.disabled]: y,
734
- [R.loading]: T,
735
- [R.stretched]: C,
736
- [R.spaceBetween]: w && C,
737
- [R.withSubcaption]: p && g && o !== "s" && o !== "xs",
738
- [R.iconOnly]: U
734
+ [j.disabled]: m,
735
+ [j.loading]: O,
736
+ [j.stretched]: h,
737
+ [j.spaceBetween]: C && h,
738
+ [j.withSubcaption]: f && g && s !== "s" && s !== "xs",
739
+ [j.iconOnly]: z
739
740
  },
740
- L
741
- ), F = {
742
- isLoading: T,
743
- showBadge: f,
744
- badgeValue: h,
741
+ E
742
+ ), L = {
743
+ isLoading: O,
744
+ showBadge: _,
745
+ badgeValue: b,
745
746
  badgeSize: c,
746
- icon: $,
747
- children: S,
748
- postfix: k,
749
- showSubcaption: p,
747
+ icon: w,
748
+ children: k,
749
+ postfix: N,
750
+ showSubcaption: f,
750
751
  subcaption: g,
751
- size: o
752
+ size: s
752
753
  };
753
- if (zt(r)) {
754
+ if (Yt(t)) {
754
755
  const {
755
- href: z,
756
+ href: F,
756
757
  onClick: A,
757
- mode: J,
758
- size: K,
759
- buttonStyle: G,
760
- loading: I,
761
- disabled: V,
762
- showBadge: Q,
763
- badgeSize: _e,
764
- badgeValue: fe,
765
- showSubcaption: pe,
766
- subcaption: be,
767
- stretched: ge,
758
+ mode: U,
759
+ size: G,
760
+ buttonStyle: W,
761
+ loading: M,
762
+ disabled: S,
763
+ showBadge: q,
764
+ badgeSize: X,
765
+ badgeValue: ae,
766
+ showSubcaption: he,
767
+ subcaption: ye,
768
+ stretched: me,
768
769
  spaceBetween: ve,
769
- icon: he,
770
- postfix: me,
771
- className: we,
772
- tabIndex: Ee,
773
- children: se,
774
- "data-testid": X,
775
- style: Y,
776
- ...ee
777
- } = r, q = (ie) => {
778
- N && A && A(ie);
770
+ icon: Ce,
771
+ postfix: xe,
772
+ className: Re,
773
+ tabIndex: je,
774
+ children: de,
775
+ "data-testid": re,
776
+ style: ee,
777
+ ...ne
778
+ } = t, te = (ue) => {
779
+ P && A && A(ue);
779
780
  };
780
- return /* @__PURE__ */ l.jsx(
781
+ return /* @__PURE__ */ o.jsx(
781
782
  "a",
782
783
  {
783
- ref: s,
784
+ ref: n,
784
785
  className: B,
785
- href: N ? z : void 0,
786
- tabIndex: r.tabIndex,
787
- onClick: q,
788
- "data-testid": X,
789
- "aria-disabled": y || T,
790
- style: Y,
791
- ...ee,
792
- children: /* @__PURE__ */ l.jsx(Xe, { ...F })
786
+ href: P ? F : void 0,
787
+ tabIndex: t.tabIndex,
788
+ onClick: te,
789
+ "data-testid": re,
790
+ "aria-disabled": m || O,
791
+ style: ee,
792
+ ...ne,
793
+ children: /* @__PURE__ */ o.jsx(ot, { ...L })
793
794
  }
794
795
  );
795
796
  }
796
- if (Vt(r)) {
797
+ if (Ht(t)) {
797
798
  const {
798
- type: z = "button",
799
+ type: F = "button",
799
800
  onClick: A,
800
- mode: J,
801
- size: K,
802
- buttonStyle: G,
803
- loading: I,
804
- disabled: V,
805
- showBadge: Q,
806
- badgeSize: _e,
807
- badgeValue: fe,
808
- showSubcaption: pe,
809
- subcaption: be,
810
- stretched: ge,
801
+ mode: U,
802
+ size: G,
803
+ buttonStyle: W,
804
+ loading: M,
805
+ disabled: S,
806
+ showBadge: q,
807
+ badgeSize: X,
808
+ badgeValue: ae,
809
+ showSubcaption: he,
810
+ subcaption: ye,
811
+ stretched: me,
811
812
  spaceBetween: ve,
812
- icon: he,
813
- postfix: me,
814
- className: we,
815
- tabIndex: Ee,
816
- children: se,
817
- "data-testid": X,
818
- style: Y,
819
- ...ee
820
- } = r, q = (ie) => {
821
- N && A && A(ie);
813
+ icon: Ce,
814
+ postfix: xe,
815
+ className: Re,
816
+ tabIndex: je,
817
+ children: de,
818
+ "data-testid": re,
819
+ style: ee,
820
+ ...ne
821
+ } = t, te = (ue) => {
822
+ P && A && A(ue);
822
823
  };
823
- return /* @__PURE__ */ l.jsx(
824
+ return /* @__PURE__ */ o.jsx(
824
825
  "button",
825
826
  {
826
- ref: s,
827
- type: z,
827
+ ref: n,
828
+ type: F,
828
829
  className: B,
829
- disabled: y,
830
- tabIndex: r.tabIndex,
831
- onClick: q,
832
- "data-testid": X,
833
- "aria-disabled": y || T,
834
- style: Y,
835
- ...ee,
836
- children: /* @__PURE__ */ l.jsx(Xe, { ...F })
830
+ disabled: m,
831
+ tabIndex: t.tabIndex,
832
+ onClick: te,
833
+ "data-testid": re,
834
+ "aria-disabled": m || O,
835
+ style: ee,
836
+ ...ne,
837
+ children: /* @__PURE__ */ o.jsx(ot, { ...L })
837
838
  }
838
839
  );
839
840
  }
840
841
  return null;
841
842
  });
842
- var Te = { exports: {} };
843
+ var Ie = { exports: {} };
843
844
  /*!
844
845
  Copyright (c) 2018 Jed Watson.
845
846
  Licensed under the MIT License (MIT), see
846
847
  http://jedwatson.github.io/classnames
847
848
  */
848
- var et;
849
- function w2() {
850
- return et || (et = 1, function(r) {
849
+ var st;
850
+ function Ta() {
851
+ return st || (st = 1, function(t) {
851
852
  (function() {
852
- var s = {}.hasOwnProperty;
853
- function a() {
854
- for (var i = "", _ = 0; _ < arguments.length; _++) {
855
- var f = arguments[_];
856
- f && (i = d(i, o(f)));
853
+ var n = {}.hasOwnProperty;
854
+ function r() {
855
+ for (var i = "", u = 0; u < arguments.length; u++) {
856
+ var _ = arguments[u];
857
+ _ && (i = d(i, s(_)));
857
858
  }
858
859
  return i;
859
860
  }
860
- function o(i) {
861
+ function s(i) {
861
862
  if (typeof i == "string" || typeof i == "number")
862
863
  return i;
863
864
  if (typeof i != "object")
864
865
  return "";
865
866
  if (Array.isArray(i))
866
- return a.apply(null, i);
867
+ return r.apply(null, i);
867
868
  if (i.toString !== Object.prototype.toString && !i.toString.toString().includes("[native code]"))
868
869
  return i.toString();
869
- var _ = "";
870
- for (var f in i)
871
- s.call(i, f) && i[f] && (_ = d(_, f));
872
- return _;
870
+ var u = "";
871
+ for (var _ in i)
872
+ n.call(i, _) && i[_] && (u = d(u, _));
873
+ return u;
873
874
  }
874
- function d(i, _) {
875
- return _ ? i ? i + " " + _ : i + _ : i;
875
+ function d(i, u) {
876
+ return u ? i ? i + " " + u : i + u : i;
876
877
  }
877
- r.exports ? (a.default = a, r.exports = a) : window.classNames = a;
878
+ t.exports ? (r.default = r, t.exports = r) : window.classNames = r;
878
879
  })();
879
- }(Te)), Te.exports;
880
+ }(Ie)), Ie.exports;
880
881
  }
881
- var E2 = w2();
882
- const Z = /* @__PURE__ */ Mt(E2), R2 = "_avatar_1ob17_4", S2 = "_clickable_1ob17_23", j2 = "_icon_1ob17_40", $2 = "_disabled_1ob17_45", k2 = "_image_1ob17_51", T2 = "_name_1ob17_51", O2 = "_circle_1ob17_160", P2 = "_square_1ob17_164", D = {
883
- avatar: R2,
884
- clickable: S2,
885
- icon: j2,
886
- disabled: $2,
887
- image: k2,
888
- name: T2,
889
- "size-208": "_size-208_1ob17_104",
890
- "size-96": "_size-96_1ob17_111",
891
- "size-84": "_size-84_1ob17_118",
892
- "size-56": "_size-56_1ob17_125",
893
- "size-48": "_size-48_1ob17_132",
894
- "size-40": "_size-40_1ob17_139",
895
- "size-32": "_size-32_1ob17_146",
896
- "size-24": "_size-24_1ob17_153",
897
- circle: O2,
898
- square: P2,
899
- "variant-filled": "_variant-filled_1ob17_185",
900
- "color-brand": "_color-brand_1ob17_190",
901
- "color-red": "_color-red_1ob17_194",
902
- "color-orange": "_color-orange_1ob17_198",
903
- "color-yellow": "_color-yellow_1ob17_202",
904
- "color-green": "_color-green_1ob17_206",
905
- "color-blue": "_color-blue_1ob17_210",
906
- "color-lightblue": "_color-lightblue_1ob17_214",
907
- "color-purple": "_color-purple_1ob17_218",
908
- "color-gray": "_color-gray_1ob17_222",
909
- "color-contrast": "_color-contrast_1ob17_226",
910
- "variant-light": "_variant-light_1ob17_232",
911
- "variant-outline": "_variant-outline_1ob17_304"
912
- }, tt = 99;
913
- function L2(r) {
914
- return r < tt ? `+${r}` : `${tt}+`;
882
+ var Na = Ta();
883
+ const K = /* @__PURE__ */ Wt(Na), Oa = "_avatar_1kyiq_17", La = "_clickable_1kyiq_41", Pa = "_icon_1kyiq_58", Ia = "_disabled_1kyiq_63", Aa = "_loading_1kyiq_68", Ma = "_image_1kyiq_74", Da = "_name_1kyiq_74", Z = {
884
+ avatar: Oa,
885
+ clickable: La,
886
+ icon: Pa,
887
+ disabled: Ia,
888
+ loading: Aa,
889
+ image: Ma,
890
+ name: Da,
891
+ "variant-filled": "_variant-filled_1kyiq_126",
892
+ "color-brand": "_color-brand_1kyiq_131",
893
+ "color-red": "_color-red_1kyiq_135",
894
+ "color-orange": "_color-orange_1kyiq_139",
895
+ "color-yellow": "_color-yellow_1kyiq_143",
896
+ "color-green": "_color-green_1kyiq_147",
897
+ "color-blue": "_color-blue_1kyiq_151",
898
+ "color-lightblue": "_color-lightblue_1kyiq_155",
899
+ "color-purple": "_color-purple_1kyiq_159",
900
+ "color-gray": "_color-gray_1kyiq_163",
901
+ "color-contrast": "_color-contrast_1kyiq_167",
902
+ "variant-light": "_variant-light_1kyiq_173",
903
+ "variant-outline": "_variant-outline_1kyiq_245"
904
+ }, be = {
905
+ "typography-title-1-semibold": "_typography-title-1-semibold_1lyxn_1",
906
+ "typography-title-2-semibold": "_typography-title-2-semibold_1lyxn_10",
907
+ "typography-title-3-semibold": "_typography-title-3-semibold_1lyxn_19",
908
+ "typography-title-4-semibold": "_typography-title-4-semibold_1lyxn_28",
909
+ "typography-title-5-semibold": "_typography-title-5-semibold_1lyxn_37",
910
+ "typography-subtitle-1-semibold": "_typography-subtitle-1-semibold_1lyxn_45",
911
+ "typography-subtitle-2-semibold": "_typography-subtitle-2-semibold_1lyxn_53",
912
+ "typography-subtitle-3-semibold": "_typography-subtitle-3-semibold_1lyxn_62",
913
+ "typography-subtitle-4-semibold": "_typography-subtitle-4-semibold_1lyxn_71",
914
+ "typography-label-1-medium": "_typography-label-1-medium_1lyxn_80",
915
+ "typography-label-2-medium": "_typography-label-2-medium_1lyxn_89",
916
+ "typography-label-3-medium": "_typography-label-3-medium_1lyxn_97",
917
+ "typography-label-4-medium": "_typography-label-4-medium_1lyxn_106",
918
+ "typography-label-5-medium": "_typography-label-5-medium_1lyxn_115",
919
+ "typography-label-1-regular": "_typography-label-1-regular_1lyxn_124",
920
+ "typography-label-2-regular": "_typography-label-2-regular_1lyxn_133",
921
+ "typography-label-3-regular": "_typography-label-3-regular_1lyxn_141",
922
+ "typography-label-4-regular": "_typography-label-4-regular_1lyxn_150",
923
+ "typography-label-5-regular": "_typography-label-5-regular_1lyxn_159",
924
+ "typography-paragraph-1-regular": "_typography-paragraph-1-regular_1lyxn_168",
925
+ "typography-paragraph-2-regular": "_typography-paragraph-2-regular_1lyxn_176",
926
+ "typography-paragraph-3-regular": "_typography-paragraph-3-regular_1lyxn_185",
927
+ "typography-paragraph-4-regular": "_typography-paragraph-4-regular_1lyxn_194"
928
+ }, it = 99;
929
+ function za(t) {
930
+ return t < it ? `+${t}` : `${it}+`;
915
931
  }
916
- function it(r) {
917
- const s = typeof r == "string" ? r : JSON.stringify(r);
918
- let a = 5381;
919
- for (let o = 0; o < s.length; o++) {
920
- const d = s.charCodeAt(o);
921
- a = (a << 5) + a + d;
932
+ function Me(t) {
933
+ const n = typeof t == "string" ? t : JSON.stringify(t);
934
+ let r = 5381;
935
+ for (let s = 0; s < n.length; s++) {
936
+ const d = n.charCodeAt(s);
937
+ r = (r << 5) + r + d;
922
938
  }
923
- return a >>> 0;
939
+ return r >>> 0;
924
940
  }
925
- const N2 = [
941
+ const Ba = [
926
942
  "red",
927
943
  "orange",
928
944
  "yellow",
@@ -931,335 +947,388 @@ const N2 = [
931
947
  "lightblue",
932
948
  "purple"
933
949
  ];
934
- function I2(r, s = N2) {
935
- const a = it(r), o = Math.abs(a) % s.length;
936
- return s[o];
950
+ function Fa(t, n = Ba) {
951
+ if (!t) return "gray";
952
+ const r = Me(t), s = Math.abs(r) % n.length;
953
+ return n[s];
937
954
  }
938
- const rt = 2;
939
- function A2(r) {
940
- const s = r.split(" ");
941
- return s.length === 1 ? r.slice(0, rt).toUpperCase() : s.map((a) => a[0]).slice(0, rt).join("").toUpperCase();
955
+ const lt = 2;
956
+ function qa(t) {
957
+ if (!t) return "";
958
+ const n = t.trim().split(/\s+/);
959
+ return n.length === 1 ? t.slice(0, lt).toUpperCase() : n.map((r) => r[0]).slice(0, lt).join("").toUpperCase();
942
960
  }
943
- function M2(r, s) {
944
- return s === "circle" ? r / 2 : r === 24 || r === 208 ? 8 : r === 32 || r === 40 || r === 48 ? 12 : r === 56 ? 16 : r === 84 || r === 96 ? 24 : 12;
961
+ const Va = {
962
+ 24: 8,
963
+ 32: 12,
964
+ 40: 12,
965
+ 44: 12,
966
+ 48: 12,
967
+ 56: 16,
968
+ 84: 24,
969
+ 96: 24,
970
+ 208: 8
971
+ };
972
+ function ft(t, n) {
973
+ return n === "circle" ? t / 2 : Va[t] || 12;
974
+ }
975
+ const Wa = {
976
+ 24: "typography-subtitle-4-semibold",
977
+ 32: "typography-subtitle-2-semibold",
978
+ 40: "typography-subtitle-1-semibold",
979
+ 44: "typography-subtitle-1-semibold",
980
+ 48: "typography-subtitle-1-semibold",
981
+ 56: "typography-subtitle-1-semibold",
982
+ 84: "typography-title-3-semibold",
983
+ 96: "typography-title-3-semibold",
984
+ 208: "typography-title-1-semibold"
985
+ };
986
+ function Za(t) {
987
+ return Wa[t] || "typography-subtitle-1-semibold";
945
988
  }
946
- const D2 = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMinYMin%20meet'%20viewBox='0%200%20208%20208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cfilter%20id='shadowW'%20filterUnits='userSpaceOnUse'%3e%3cfeDropShadow%20dx='-2'%20dy='-1'%20stdDeviation='5'%20flood-color='rgba(0,0,0,0.5)'/%3e%3c/filter%3e%3c/defs%3e%3cg%20filter='url(%23shadowW)'%3e%3cpath%20d='M23.9835%20174.59L113.41%20157.735L225.224%20191.671C225.224%20191.671%20250.259%20479.463%20243.525%20478.31C236.655%20477.167%20-7.79434%20482.039%20-8.17876%20476.943C-8.56308%20471.849%20-34.4445%20341.701%20-34.4445%20341.701L23.9835%20174.59Z'%20fill='darkgrey'/%3e%3cpath%20d='M-54.5558%20212.781C-85.688%20282.842%20-94.2122%20303.839%20-94.2122%20303.839L-213.504%20213.002C-214.953%20197.465%20-218.637%20181.68%20-225.636%20167.806C-234.412%20150.606%20-246.154%20149.138%20-259.595%20136.166C-267.368%20128.583%20-275.073%20140.242%20-267.3%20147.825L-259.338%20156.087C-258.869%20160.482%20-255.518%20171.861%20-254.634%20176.226C-267.475%20165.702%20-284.704%20150.246%20-300.665%20144.25C-305.079%20142.644%20-308.958%20144.46%20-311.08%20147.528C-314.628%20148.211%20-317.292%20151.458%20-317.858%20154.963C-321.103%20157.839%20-322.625%20163.354%20-319.254%20167.67C-321.407%20170.323%20-322.376%20173.998%20-320.433%20177.728C-320.274%20177.993%20-320.127%20178.12%20-320.106%20178.395C-320.997%20179.432%20-319.498%20182.78%20-320.337%20184.506C-324.035%20192.401%20-309.357%20221.757%20-285.221%20235.167C-277.291%20250.355%20-262.477%20259.485%20-261.354%20259.677C-234.512%20290.608%20-141.301%20400.999%20-97.2451%20436.169C-47.2868%20476.158%20-12.9855%20418.735%2010.6424%20317.115C34.2598%20215.358%2037.6457%20181.315%2037.6457%20181.315L116.374%20158.482C14.4423%20160.079%20-23.2964%20142.572%20-54.5558%20212.781Z'%20fill='darkgrey'/%3e%3cpath%20d='M116.781%20158.313L114.885%20158.871L61.4974%20174.391L38.0516%20181.145C38.0516%20181.145%2034.6758%20215.325%2011.0481%20316.945C9.47097%20323.572%207.88344%20330.061%206.27525%20336.275C-22.5942%20315.191%20-52.217%20295.131%20-82.0946%20275.368C-75.9632%20261.197%20-67.1116%20240.867%20-54.4359%20212.493C-30.4015%20158.477%20-2.57835%20156.516%2055.793%20157.512C72.5674%20157.77%2091.7239%20158.403%20114.133%20158.096C114.98%20158.309%20115.807%20158.247%20116.781%20158.313Z'%20fill='darkgrey'/%3e%3cpath%20d='M113.269%20157.745C175.26%20159.023%20252.771%20143.897%20266.382%20199.504C279.867%20255.26%20288.576%20280.774%20295.899%20320.932C303.221%20361.091%20322.043%20408.689%20271.897%20417.595C221.75%20426.502%20106.238%20444.495%20106.238%20444.495L78.8767%20384.662C78.8767%20384.662%20170.648%20343.813%20200.242%20332.303L185.17%20211.448L113.269%20157.745Z'%20fill='darkgrey'/%3e%3cpath%20d='M292.122%20302.108C260.506%20305.187%20228.942%20308.953%20198.219%20316.533L185.178%20211.585L140.855%20178.374L114.874%20158.871L114.144%20158.372L113.266%20157.746C127.138%20158.084%20141.774%20157.534%20156.283%20157.131C206.726%20155.818%20255.78%20156.271%20266.252%20199.654C277.643%20246.012%20285.665%20271.578%20292.122%20302.108Z'%20fill='darkgrey'/%3e%3cpath%20d='M108.001%20172.269C119.623%20168.485%20130.939%20164.308%20142.395%20160.12L112.224%20101.608L68.8441%20124.959C69.7222%20125.585%2079.0944%20154.372%2086.547%20177.904C93.7406%20175.977%20100.965%20174.463%20108.001%20172.269Z'%20fill='white'/%3e%3cpath%20d='M99.3655%20112.96C99.0934%20111.18%2098.8213%20109.401%2098.2722%20107.642L68.9864%20125.083C69.5682%20125.455%2073.8492%20138.148%2078.7406%20153.426C89.4856%20141.676%2097.5757%20127.773%2099.3655%20112.96Z'%20fill='darkgrey'/%3e%3cpath%20d='M144.524%2069.1209C143.075%2053.5829%20118.601%2039.3668%2099.9856%2038.5556C91.9262%2038.1943%2089.5107%2031.8684%2086.0605%2037.5291C77.5782%2051.7392%2049.6837%2094.9694%2052.2654%20110.837C56.0862%20133.951%2084.5691%20137.063%20102.228%20127.008C120.022%20116.942%20146.6%2091.1195%20144.524%2069.1209Z'%20fill='white'/%3e%3cpath%20d='M145.753%2072.4915C147.93%2068.3116%20146.317%2063.4483%20142.804%2060.944C142.656%2060.8166%20142.656%2060.8166%20142.507%2060.6894C143.028%2052.8957%20136.915%2047.1257%20129.979%2046.9567C129.007%2045.0914%20127.379%2043.691%20125.24%2042.883C124.903%2042.0778%20124.575%2041.4101%20123.982%2040.9009C122.651%2039.7551%20121.095%2039.3187%20119.441%2039.4435C118.081%2036.0843%20115.925%2033.2005%20112.495%2031.7977C110.348%2030.8519%20108.027%2031.304%20106.311%2032.4027C102.006%2028.5734%2096.789%2025.5051%2091.8112%2025.6038C89.736%2025.6218%2085.678%2026.8973%2084.2724%2032.1268C82.1968%2032.1449%2080.3522%2033.3917%2079.5546%2035.6676C78.427%2039.0759%2080.339%2042.3935%2083.1109%2044.2613C84.719%2045.3863%2086.9841%2046.0462%2089.0391%2045.7526C95.9026%2052.2969%20114.028%2063.1149%20118.148%2062.6657C115.532%2070.202%20113.218%2087.2698%20122.007%2088.1299C124.21%2095.3028%20116.99%20107.894%20121.368%20112.688C129.639%20104.863%20137.246%2095.5655%20141.359%2085.8391C141.496%2085.8288%20141.772%2085.808%20142.047%2085.7872C148.14%2083.9429%20149.527%2076.6377%20145.753%2072.4915Z'%20fill='darkgrey'/%3e%3cpath%20d='M140.151%20104.76C141.594%2096.3432%20132.67%2086.3542%20121.049%2088.3387C116.251%2096.3166%20111.305%20104.167%20106.21%20111.89C109.317%20116.364%20118.141%20121.376%20125.535%20120.264C133.872%20118.804%20138.613%20113.738%20140.151%20104.76Z'%20fill='white'/%3e%3cpath%20d='M156.755%20156.883C153.217%20165.043%20147.805%20172.237%20141.188%20178.136C133.925%20184.639%20125.011%20189.465%20114.809%20191.896C95.2214%20196.558%2072.2825%20189.842%2061.6836%20174.164C58.5559%20169.414%2056.4778%20163.894%2056%20157.561C72.7744%20157.818%2091.9311%20158.451%20114.34%20158.144L113.462%20157.519C127.463%20157.709%20142.098%20157.159%20156.755%20156.883Z'%20fill='white'/%3e%3c/g%3e%3c/svg%3e", B2 = "data:image/svg+xml,%3csvg%20viewBox='0%200%20208%20208'%20opacity='0.9'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23shadow)'%3e%3cpath%20filter='url(%23shadow)'%20d='M127.173%2079.8894C127.189%2079.1933%20128.026%2079.1201%20128.436%2079.4316C128.754%2079.6091%20128.895%2080.1021%20128.809%2080.5518C129.241%2083.1982%20129.581%2085.7106%20130.013%2088.357C136.835%2079.7558%20149.235%2076.9989%20158.979%2083.174C168.086%2088.9941%20171.001%20111.745%20135.501%20120.502C131.5%20123.502%20117%20125.002%20111.753%20103.279C111.682%2093.2427%20118.526%2084.529%20127.173%2079.8894Z'%20fill='darkgrey'/%3e%3cpath%20d='M28.0441%20167.788C21.826%20195.052%2018.7311%20223.361%2014.1881%20250.885C9.42226%20279.982%204.68042%20308.967%20-0.0853729%20338.064L-1.00047%20342.848C14.5039%20346.419%2030.8401%20350.407%2046.3671%20353.868C90.9428%20363.918%20134.837%20376.598%20179.293%20387.201C200.345%20337.142%20219.778%20286.027%20235.82%20234.041C243.806%20208.213%20244.758%20181.282%20225.443%20160.043C216.099%20149.841%20204.347%20143.858%20191.629%20140.212C188.924%20139.377%20186.108%20138.517%20183.355%20137.905C179.635%20136.959%20175.781%20136.1%20171.989%20135.487C167.45%20134.592%20162.753%20133.893%20158.277%20133.243L127.871%20128.671L116.251%20126.895C115.457%20126.833%20114.686%20126.662%20113.915%20126.49C102.87%20124.724%2091.7381%20122.824%2080.6188%20123.013C69.1682%20123.13%2056.9012%20125.964%2047.8363%20133.224C36.9821%20141.825%2031.1109%20154.087%2028.0441%20167.788Z'%20fill='darkgrey'/%3e%3cpath%20d='M103.74%20123.732L95.6984%20197.532C95.6984%20197.532%20137.13%20157.315%20158.742%20133.268C155.051%20132.316%20151.227%20131.449%20147.465%20130.831C142.962%20129.929%20138.302%20129.224%20133.861%20128.569L103.74%20123.732Z'%20fill='white'/%3e%3cpath%20d='M97.8143%20115.298C99.0227%20116.625%20108.229%20179.332%20108.229%20179.332L148.012%20142.157L129%20100L97.8143%20115.298Z'%20fill='white'/%3e%3cpath%20d='M101.71%20148.534C100.068%20137.868%2098.402%20127.706%2098.0001%20127.274L112.673%20122C113.831%20131.449%20108.467%20141.173%20101.71%20148.534Z'%20fill='grey'/%3e%3cpath%20d='M121.545%2040.7383C111.161%2030.599%2085.3871%2035.4814%2071.93%2046.2862C66.0912%2051.0172%2060.5415%2047.9025%2061.6427%2054.0842C64.3767%2069.3597%2074.0239%20120.283%2082.7631%20126.794C100.374%20139.728%20121.191%20125.699%20127.329%20107.658C133.554%2089.7517%20136.293%2055.2372%20121.545%2040.7383Z'%20fill='white'/%3e%3cpath%20d='M56.0176%2041.9837C61.9834%2036.7831%2074.9427%2037.4243%2081.3074%2039.639C95.1733%2033.9235%20112.672%2032.6801%20120.968%2040.1438C131.22%2049.4771%20133.446%2067.5345%20132.042%2083.8281C125.848%2083.0025%20122.779%2078.6471%20116.718%2075.0286C97.7466%2073.2611%2084.9353%2061.0313%2082.042%2054.2301C78.3492%2058.2067%2063.3398%2059.3993%2058.12%2055.1646C51.1278%2048.7596%2054.1283%2043.6248%2056.0176%2041.9837Z'%20fill='darkgrey'/%3e%3cpath%20d='M142.838%2074.8316C138.561%2067.841%20123.674%2066.785%20116.5%2075.5006C118.078%2084.3219%20121.503%2092.5524%20122.726%20101.41C127.77%20102.657%20137.388%20100.869%20141.908%2095.386C147.168%2089.1414%20147.462%2082.3637%20142.838%2074.8316Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='shadow'%3e%3cfeDropShadow%20dx='0'%20dy='0'%20stdDeviation='3'%20flood-color='rgba(0,0,0,0.3)'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e", F2 = "data:image/svg+xml,%3csvg%20opacity='0.9'%20viewBox='0%200%20208%20208'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cmask%20id='hole'%3e%3crect%20width='100%25'%20height='100%25'%20fill='white'/%3e%3ccircle%20cx='121.333'%20cy='121.333'%20r='52'%20fill='black'/%3e%3c/mask%3e%3cfilter%20id='shadow'%3e%3cfeDropShadow%20dx='-2'%20dy='-1'%20stdDeviation='10'%20flood-color='rgba(0,0,0,0.2)'/%3e%3c/filter%3e%3c/defs%3e%3cg%20filter='url(%23shadow)'%3e%3ccircle%20cx='104'%20cy='225.333'%20r='95.3333'%20fill='darkgray'/%3e%3ccircle%20cx='104'%20cy='225.333'%20r='95.3333'%20fill='white'%20mask='url(%23hole)'/%3e%3ccircle%20cx='104'%20cy='86.6666'%20r='52'%20fill='white'/%3e%3c/g%3e%3c/svg%3e", z2 = "data:image/svg+xml,%3csvg%20opacity='0.9'%20viewBox='0%200%20208%20208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23shadow)'%3e%3cpath%20d='M168%20208V118.053C168%20113.824%20165.34%20110.052%20161.356%20108.633L134%2098.885V208H168Z'%20fill='darkgrey'/%3e%3cpath%20d='M40%2072.3726C40%2070.7381%2040.9944%2069.268%2042.5116%2068.6598L111.951%2040.8215C113.226%2040.3102%20114.675%2040.4893%20115.787%2041.2958L129.87%2051.5056C132.464%2053.3866%20134%2056.397%20134%2059.6017V208H40V72.3726Z'%20fill='white'/%3e%3cpath%20d='M114%2047.5001L126.325%2056.3036C127.376%2057.0544%20128%2058.2667%20128%2059.5585V208H114V47.5001Z'%20fill='darkgrey'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='shadow'%3e%3cfeDropShadow%20dx='-2'%20dy='-1'%20stdDeviation='7'%20flood-color='rgba(0,0,0,0.2)'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e", V2 = {
947
- male: D2,
948
- female: B2,
949
- org: z2,
950
- neutral: F2
951
- }, Pe = H((r, s) => {
989
+ const Ua = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMinYMin%20meet'%20viewBox='0%200%20208%20208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cfilter%20id='shadowW'%20filterUnits='userSpaceOnUse'%3e%3cfeDropShadow%20dx='-2'%20dy='-1'%20stdDeviation='5'%20flood-color='rgba(0,0,0,0.5)'/%3e%3c/filter%3e%3c/defs%3e%3cg%20filter='url(%23shadowW)'%3e%3cpath%20d='M23.9835%20174.59L113.41%20157.735L225.224%20191.671C225.224%20191.671%20250.259%20479.463%20243.525%20478.31C236.655%20477.167%20-7.79434%20482.039%20-8.17876%20476.943C-8.56308%20471.849%20-34.4445%20341.701%20-34.4445%20341.701L23.9835%20174.59Z'%20fill='darkgrey'/%3e%3cpath%20d='M-54.5558%20212.781C-85.688%20282.842%20-94.2122%20303.839%20-94.2122%20303.839L-213.504%20213.002C-214.953%20197.465%20-218.637%20181.68%20-225.636%20167.806C-234.412%20150.606%20-246.154%20149.138%20-259.595%20136.166C-267.368%20128.583%20-275.073%20140.242%20-267.3%20147.825L-259.338%20156.087C-258.869%20160.482%20-255.518%20171.861%20-254.634%20176.226C-267.475%20165.702%20-284.704%20150.246%20-300.665%20144.25C-305.079%20142.644%20-308.958%20144.46%20-311.08%20147.528C-314.628%20148.211%20-317.292%20151.458%20-317.858%20154.963C-321.103%20157.839%20-322.625%20163.354%20-319.254%20167.67C-321.407%20170.323%20-322.376%20173.998%20-320.433%20177.728C-320.274%20177.993%20-320.127%20178.12%20-320.106%20178.395C-320.997%20179.432%20-319.498%20182.78%20-320.337%20184.506C-324.035%20192.401%20-309.357%20221.757%20-285.221%20235.167C-277.291%20250.355%20-262.477%20259.485%20-261.354%20259.677C-234.512%20290.608%20-141.301%20400.999%20-97.2451%20436.169C-47.2868%20476.158%20-12.9855%20418.735%2010.6424%20317.115C34.2598%20215.358%2037.6457%20181.315%2037.6457%20181.315L116.374%20158.482C14.4423%20160.079%20-23.2964%20142.572%20-54.5558%20212.781Z'%20fill='darkgrey'/%3e%3cpath%20d='M116.781%20158.313L114.885%20158.871L61.4974%20174.391L38.0516%20181.145C38.0516%20181.145%2034.6758%20215.325%2011.0481%20316.945C9.47097%20323.572%207.88344%20330.061%206.27525%20336.275C-22.5942%20315.191%20-52.217%20295.131%20-82.0946%20275.368C-75.9632%20261.197%20-67.1116%20240.867%20-54.4359%20212.493C-30.4015%20158.477%20-2.57835%20156.516%2055.793%20157.512C72.5674%20157.77%2091.7239%20158.403%20114.133%20158.096C114.98%20158.309%20115.807%20158.247%20116.781%20158.313Z'%20fill='darkgrey'/%3e%3cpath%20d='M113.269%20157.745C175.26%20159.023%20252.771%20143.897%20266.382%20199.504C279.867%20255.26%20288.576%20280.774%20295.899%20320.932C303.221%20361.091%20322.043%20408.689%20271.897%20417.595C221.75%20426.502%20106.238%20444.495%20106.238%20444.495L78.8767%20384.662C78.8767%20384.662%20170.648%20343.813%20200.242%20332.303L185.17%20211.448L113.269%20157.745Z'%20fill='darkgrey'/%3e%3cpath%20d='M292.122%20302.108C260.506%20305.187%20228.942%20308.953%20198.219%20316.533L185.178%20211.585L140.855%20178.374L114.874%20158.871L114.144%20158.372L113.266%20157.746C127.138%20158.084%20141.774%20157.534%20156.283%20157.131C206.726%20155.818%20255.78%20156.271%20266.252%20199.654C277.643%20246.012%20285.665%20271.578%20292.122%20302.108Z'%20fill='darkgrey'/%3e%3cpath%20d='M108.001%20172.269C119.623%20168.485%20130.939%20164.308%20142.395%20160.12L112.224%20101.608L68.8441%20124.959C69.7222%20125.585%2079.0944%20154.372%2086.547%20177.904C93.7406%20175.977%20100.965%20174.463%20108.001%20172.269Z'%20fill='white'/%3e%3cpath%20d='M99.3655%20112.96C99.0934%20111.18%2098.8213%20109.401%2098.2722%20107.642L68.9864%20125.083C69.5682%20125.455%2073.8492%20138.148%2078.7406%20153.426C89.4856%20141.676%2097.5757%20127.773%2099.3655%20112.96Z'%20fill='darkgrey'/%3e%3cpath%20d='M144.524%2069.1209C143.075%2053.5829%20118.601%2039.3668%2099.9856%2038.5556C91.9262%2038.1943%2089.5107%2031.8684%2086.0605%2037.5291C77.5782%2051.7392%2049.6837%2094.9694%2052.2654%20110.837C56.0862%20133.951%2084.5691%20137.063%20102.228%20127.008C120.022%20116.942%20146.6%2091.1195%20144.524%2069.1209Z'%20fill='white'/%3e%3cpath%20d='M145.753%2072.4915C147.93%2068.3116%20146.317%2063.4483%20142.804%2060.944C142.656%2060.8166%20142.656%2060.8166%20142.507%2060.6894C143.028%2052.8957%20136.915%2047.1257%20129.979%2046.9567C129.007%2045.0914%20127.379%2043.691%20125.24%2042.883C124.903%2042.0778%20124.575%2041.4101%20123.982%2040.9009C122.651%2039.7551%20121.095%2039.3187%20119.441%2039.4435C118.081%2036.0843%20115.925%2033.2005%20112.495%2031.7977C110.348%2030.8519%20108.027%2031.304%20106.311%2032.4027C102.006%2028.5734%2096.789%2025.5051%2091.8112%2025.6038C89.736%2025.6218%2085.678%2026.8973%2084.2724%2032.1268C82.1968%2032.1449%2080.3522%2033.3917%2079.5546%2035.6676C78.427%2039.0759%2080.339%2042.3935%2083.1109%2044.2613C84.719%2045.3863%2086.9841%2046.0462%2089.0391%2045.7526C95.9026%2052.2969%20114.028%2063.1149%20118.148%2062.6657C115.532%2070.202%20113.218%2087.2698%20122.007%2088.1299C124.21%2095.3028%20116.99%20107.894%20121.368%20112.688C129.639%20104.863%20137.246%2095.5655%20141.359%2085.8391C141.496%2085.8288%20141.772%2085.808%20142.047%2085.7872C148.14%2083.9429%20149.527%2076.6377%20145.753%2072.4915Z'%20fill='darkgrey'/%3e%3cpath%20d='M140.151%20104.76C141.594%2096.3432%20132.67%2086.3542%20121.049%2088.3387C116.251%2096.3166%20111.305%20104.167%20106.21%20111.89C109.317%20116.364%20118.141%20121.376%20125.535%20120.264C133.872%20118.804%20138.613%20113.738%20140.151%20104.76Z'%20fill='white'/%3e%3cpath%20d='M156.755%20156.883C153.217%20165.043%20147.805%20172.237%20141.188%20178.136C133.925%20184.639%20125.011%20189.465%20114.809%20191.896C95.2214%20196.558%2072.2825%20189.842%2061.6836%20174.164C58.5559%20169.414%2056.4778%20163.894%2056%20157.561C72.7744%20157.818%2091.9311%20158.451%20114.34%20158.144L113.462%20157.519C127.463%20157.709%20142.098%20157.159%20156.755%20156.883Z'%20fill='white'/%3e%3c/g%3e%3c/svg%3e", Ga = "data:image/svg+xml,%3csvg%20viewBox='0%200%20208%20208'%20opacity='0.9'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23shadow)'%3e%3cpath%20filter='url(%23shadow)'%20d='M127.173%2079.8894C127.189%2079.1933%20128.026%2079.1201%20128.436%2079.4316C128.754%2079.6091%20128.895%2080.1021%20128.809%2080.5518C129.241%2083.1982%20129.581%2085.7106%20130.013%2088.357C136.835%2079.7558%20149.235%2076.9989%20158.979%2083.174C168.086%2088.9941%20171.001%20111.745%20135.501%20120.502C131.5%20123.502%20117%20125.002%20111.753%20103.279C111.682%2093.2427%20118.526%2084.529%20127.173%2079.8894Z'%20fill='darkgrey'/%3e%3cpath%20d='M28.0441%20167.788C21.826%20195.052%2018.7311%20223.361%2014.1881%20250.885C9.42226%20279.982%204.68042%20308.967%20-0.0853729%20338.064L-1.00047%20342.848C14.5039%20346.419%2030.8401%20350.407%2046.3671%20353.868C90.9428%20363.918%20134.837%20376.598%20179.293%20387.201C200.345%20337.142%20219.778%20286.027%20235.82%20234.041C243.806%20208.213%20244.758%20181.282%20225.443%20160.043C216.099%20149.841%20204.347%20143.858%20191.629%20140.212C188.924%20139.377%20186.108%20138.517%20183.355%20137.905C179.635%20136.959%20175.781%20136.1%20171.989%20135.487C167.45%20134.592%20162.753%20133.893%20158.277%20133.243L127.871%20128.671L116.251%20126.895C115.457%20126.833%20114.686%20126.662%20113.915%20126.49C102.87%20124.724%2091.7381%20122.824%2080.6188%20123.013C69.1682%20123.13%2056.9012%20125.964%2047.8363%20133.224C36.9821%20141.825%2031.1109%20154.087%2028.0441%20167.788Z'%20fill='darkgrey'/%3e%3cpath%20d='M103.74%20123.732L95.6984%20197.532C95.6984%20197.532%20137.13%20157.315%20158.742%20133.268C155.051%20132.316%20151.227%20131.449%20147.465%20130.831C142.962%20129.929%20138.302%20129.224%20133.861%20128.569L103.74%20123.732Z'%20fill='white'/%3e%3cpath%20d='M97.8143%20115.298C99.0227%20116.625%20108.229%20179.332%20108.229%20179.332L148.012%20142.157L129%20100L97.8143%20115.298Z'%20fill='white'/%3e%3cpath%20d='M101.71%20148.534C100.068%20137.868%2098.402%20127.706%2098.0001%20127.274L112.673%20122C113.831%20131.449%20108.467%20141.173%20101.71%20148.534Z'%20fill='grey'/%3e%3cpath%20d='M121.545%2040.7383C111.161%2030.599%2085.3871%2035.4814%2071.93%2046.2862C66.0912%2051.0172%2060.5415%2047.9025%2061.6427%2054.0842C64.3767%2069.3597%2074.0239%20120.283%2082.7631%20126.794C100.374%20139.728%20121.191%20125.699%20127.329%20107.658C133.554%2089.7517%20136.293%2055.2372%20121.545%2040.7383Z'%20fill='white'/%3e%3cpath%20d='M56.0176%2041.9837C61.9834%2036.7831%2074.9427%2037.4243%2081.3074%2039.639C95.1733%2033.9235%20112.672%2032.6801%20120.968%2040.1438C131.22%2049.4771%20133.446%2067.5345%20132.042%2083.8281C125.848%2083.0025%20122.779%2078.6471%20116.718%2075.0286C97.7466%2073.2611%2084.9353%2061.0313%2082.042%2054.2301C78.3492%2058.2067%2063.3398%2059.3993%2058.12%2055.1646C51.1278%2048.7596%2054.1283%2043.6248%2056.0176%2041.9837Z'%20fill='darkgrey'/%3e%3cpath%20d='M142.838%2074.8316C138.561%2067.841%20123.674%2066.785%20116.5%2075.5006C118.078%2084.3219%20121.503%2092.5524%20122.726%20101.41C127.77%20102.657%20137.388%20100.869%20141.908%2095.386C147.168%2089.1414%20147.462%2082.3637%20142.838%2074.8316Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='shadow'%3e%3cfeDropShadow%20dx='0'%20dy='0'%20stdDeviation='3'%20flood-color='rgba(0,0,0,0.3)'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e", Ya = "data:image/svg+xml,%3csvg%20opacity='0.9'%20viewBox='0%200%20208%20208'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cmask%20id='hole'%3e%3crect%20width='100%25'%20height='100%25'%20fill='white'/%3e%3ccircle%20cx='121.333'%20cy='121.333'%20r='52'%20fill='black'/%3e%3c/mask%3e%3cfilter%20id='shadow'%3e%3cfeDropShadow%20dx='-2'%20dy='-1'%20stdDeviation='10'%20flood-color='rgba(0,0,0,0.2)'/%3e%3c/filter%3e%3c/defs%3e%3cg%20filter='url(%23shadow)'%3e%3ccircle%20cx='104'%20cy='225.333'%20r='95.3333'%20fill='darkgray'/%3e%3ccircle%20cx='104'%20cy='225.333'%20r='95.3333'%20fill='white'%20mask='url(%23hole)'/%3e%3ccircle%20cx='104'%20cy='86.6666'%20r='52'%20fill='white'/%3e%3c/g%3e%3c/svg%3e", Ha = "data:image/svg+xml,%3csvg%20opacity='0.9'%20viewBox='0%200%20208%20208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23shadow)'%3e%3cpath%20d='M168%20208V118.053C168%20113.824%20165.34%20110.052%20161.356%20108.633L134%2098.885V208H168Z'%20fill='darkgrey'/%3e%3cpath%20d='M40%2072.3726C40%2070.7381%2040.9944%2069.268%2042.5116%2068.6598L111.951%2040.8215C113.226%2040.3102%20114.675%2040.4893%20115.787%2041.2958L129.87%2051.5056C132.464%2053.3866%20134%2056.397%20134%2059.6017V208H40V72.3726Z'%20fill='white'/%3e%3cpath%20d='M114%2047.5001L126.325%2056.3036C127.376%2057.0544%20128%2058.2667%20128%2059.5585V208H114V47.5001Z'%20fill='darkgrey'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='shadow'%3e%3cfeDropShadow%20dx='-2'%20dy='-1'%20stdDeviation='7'%20flood-color='rgba(0,0,0,0.2)'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e", Ja = {
990
+ male: Ua,
991
+ female: Ga,
992
+ org: Ha,
993
+ neutral: Ya
994
+ }, Ee = Q((t, n) => {
952
995
  const {
953
- style: a,
954
- size: o = 40,
996
+ style: r,
997
+ size: s = 40,
955
998
  isLoading: d = !1,
956
999
  isDisabled: i = !1,
957
- shape: _ = "circle",
958
- variant: f = "light",
1000
+ shape: u = "circle",
1001
+ variant: _ = "filled",
959
1002
  placeholderType: c = "neutral",
960
- name: h = "",
961
- imgSrc: p,
1003
+ name: b = "",
1004
+ imgSrc: f,
962
1005
  imgAlt: g = "",
963
- icon: C,
964
- imgProps: w,
965
- colorScheme: $,
966
- "data-testid": k,
967
- ...L
968
- } = r, { onClick: S, onPointerDown: y } = L, N = !i && !d && (!!S || !!y), [U, B] = Le(!p), F = p && !U ? "image" : C ? "icon" : h ? "name" : "placeholder", z = F === "name" ? $ || I2(h) : $ || "gray", A = Z(
969
- D.avatar,
970
- D[_],
971
- D[`size-${o}`],
972
- D[`variant-${f}`],
973
- D[`color-${z}`],
1006
+ icon: h,
1007
+ imgProps: C,
1008
+ colorScheme: w,
1009
+ className: N,
1010
+ "data-testid": E,
1011
+ ...k
1012
+ } = t, { onClick: m, onPointerDown: O } = k, z = !i && !d && (!!m || !!O), [B, L] = Se(!1);
1013
+ De(() => {
1014
+ f && L(!1);
1015
+ }, [f]);
1016
+ const F = f && !B ? "image" : h ? "icon" : b ? "name" : "placeholder", A = w || F === "name" && Fa(b) || "gray", U = Za(s), G = ft(s, u), W = K(
1017
+ N,
1018
+ Z.avatar,
1019
+ Z[`variant-${_}`],
1020
+ Z[`color-${A}`],
1021
+ be[U],
974
1022
  {
975
- [D.disabled]: i,
976
- [D.loading]: d,
977
- [D.clickable]: N
1023
+ [Z.disabled]: i,
1024
+ [Z.loading]: d,
1025
+ [Z.clickable]: z
978
1026
  }
979
- ), J = {
980
- icon: () => /* @__PURE__ */ l.jsx("span", { "data-testid": "avatar-icon", title: g, role: "img", className: Z(D.icon), children: C == null ? void 0 : C({}) }),
981
- name: () => /* @__PURE__ */ l.jsx(
1027
+ ), M = {
1028
+ "--avatar-size": `${s}px`,
1029
+ "--avatar-border-radius": `${G}px`,
1030
+ ...r
1031
+ }, S = {
1032
+ icon: () => /* @__PURE__ */ o.jsx("span", { "data-testid": "avatar-icon", title: g, role: "img", className: K(Z.icon), children: h == null ? void 0 : h({}) }),
1033
+ name: () => /* @__PURE__ */ o.jsx(
982
1034
  "span",
983
1035
  {
984
1036
  role: "textbox",
985
1037
  "data-testid": "avatar-name",
986
- className: Z(D.name),
1038
+ className: K(Z.name),
987
1039
  title: g,
988
- children: A2(h)
1040
+ children: qa(b)
989
1041
  }
990
1042
  ),
991
- placeholder: () => /* @__PURE__ */ l.jsx(
1043
+ placeholder: () => /* @__PURE__ */ o.jsx(
992
1044
  "img",
993
1045
  {
994
- ...w,
1046
+ ...C,
995
1047
  "data-testid": "avatar-placeholder",
996
- className: D.image,
997
- src: V2[c],
1048
+ className: Z.image,
1049
+ src: Ja[c],
998
1050
  alt: g
999
1051
  }
1000
1052
  ),
1001
- image: () => /* @__PURE__ */ l.jsx(
1053
+ image: () => /* @__PURE__ */ o.jsx(
1002
1054
  "img",
1003
1055
  {
1004
1056
  "data-testid": "avatar-image",
1005
- ...w,
1006
- className: D.image,
1007
- src: p,
1057
+ ...C,
1058
+ className: Z.image,
1059
+ src: f,
1008
1060
  alt: g,
1009
- onLoad: () => B(!1),
1010
- onError: (G) => {
1011
- var I;
1012
- B(!0), (I = w == null ? void 0 : w.onError) == null || I.call(w, G);
1061
+ onLoad: () => L(!1),
1062
+ onError: (X) => {
1063
+ var ae;
1064
+ L(!0), (ae = C == null ? void 0 : C.onError) == null || ae.call(C, X);
1013
1065
  }
1014
1066
  }
1015
1067
  )
1016
- }, K = (G) => {
1017
- N && (S == null || S(G));
1068
+ }, q = (X) => {
1069
+ z && (m == null || m(X));
1018
1070
  };
1019
- return /* @__PURE__ */ l.jsx(
1071
+ return /* @__PURE__ */ o.jsx(
1020
1072
  "div",
1021
1073
  {
1022
- ref: s,
1023
- onClick: K,
1024
- className: A,
1025
- style: a,
1026
- "data-testid": k,
1074
+ ref: n,
1075
+ onClick: q,
1076
+ className: W,
1077
+ style: M,
1078
+ "data-testid": E,
1027
1079
  "aria-disabled": i || d,
1028
- children: J[F](null)
1080
+ children: S[F](null)
1029
1081
  }
1030
1082
  );
1031
- }), W2 = "_avatarGroup_157g4_1", Z2 = {
1032
- avatarGroup: W2
1083
+ }), Ka = "_avatarGroup_157g4_1", Qa = {
1084
+ avatarGroup: Ka
1033
1085
  };
1034
- let U2 = (r = 21) => crypto.getRandomValues(new Uint8Array(r)).reduce((s, a) => (a &= 63, a < 36 ? s += a.toString(36) : a < 62 ? s += (a - 26).toString(36).toUpperCase() : a > 62 ? s += "-" : s += "_", s), "");
1035
- function G2(r, s, a, o, d, i, _) {
1036
- const f = Math.min(d, i) / 2, c = Math.min(_, f), h = ["M0,0", `H${r}`, `V${s}`, "H0", "V0", "Z"].join(" "), p = [
1037
- `M${a + c},${o}`,
1038
- `L${a + d - c},${o}`,
1086
+ let Xa = (t = 21) => crypto.getRandomValues(new Uint8Array(t)).reduce((n, r) => (r &= 63, r < 36 ? n += r.toString(36) : r < 62 ? n += (r - 26).toString(36).toUpperCase() : r > 62 ? n += "-" : n += "_", n), "");
1087
+ function er(t, n, r, s, d, i, u) {
1088
+ const _ = Math.min(d, i) / 2, c = Math.min(u, _), b = ["M0,0", `H${t}`, `V${n}`, "H0", "V0", "Z"].join(" "), f = [
1089
+ `M${r + c},${s}`,
1090
+ `L${r + d - c},${s}`,
1039
1091
  // Верхний правый угол
1040
- `A${c},${c} 0 0 1 ${a + d},${o + c}`,
1041
- `L${a + d},${o + i - c}`,
1092
+ `A${c},${c} 0 0 1 ${r + d},${s + c}`,
1093
+ `L${r + d},${s + i - c}`,
1042
1094
  // Нижний правый угол
1043
- `A${c},${c} 0 0 1 ${a + d - c},${o + i}`,
1044
- `L${a + c},${o + i}`,
1095
+ `A${c},${c} 0 0 1 ${r + d - c},${s + i}`,
1096
+ `L${r + c},${s + i}`,
1045
1097
  // Нижний левый угол
1046
- `A${c},${c} 0 0 1 ${a},${o + i - c}`,
1047
- `L${a},${o + c}`,
1098
+ `A${c},${c} 0 0 1 ${r},${s + i - c}`,
1099
+ `L${r},${s + c}`,
1048
1100
  // Верхний левый угол
1049
- `A${c},${c} 0 0 1 ${a + c},${o}`,
1101
+ `A${c},${c} 0 0 1 ${r + c},${s}`,
1050
1102
  "Z"
1051
1103
  ].join(" ");
1052
- return `${h} ${p}`;
1104
+ return `${b} ${f}`;
1053
1105
  }
1054
- const Y2 = 2, q2 = (r) => {
1106
+ const tr = 3, ar = (t) => {
1055
1107
  const {
1056
- avatars: s = [],
1057
- overflowCount: a = 0,
1058
- size: o = 40,
1059
- overlap: d = 0.3,
1060
- shape: i = "circle",
1061
- overflowOnClick: _
1062
- } = r, f = o * d, c = -f + Y2, h = M2(o, i), g = ot(U2()).current.toString(), C = Z(Z2.avatarGroup), w = G2(
1063
- o,
1064
- o,
1065
- o - f,
1108
+ avatars: n = [],
1109
+ size: r = 40,
1110
+ overlap: s = 0.3,
1111
+ shape: d = "circle",
1112
+ overflowCount: i = 0,
1113
+ overflowProps: u
1114
+ } = t, _ = r * s, c = -_ + tr, b = ft(r, d), g = pt(Xa()).current.toString(), h = K(Qa.avatarGroup), C = er(
1115
+ r,
1116
+ r,
1117
+ r - _,
1066
1118
  // X-координата начала выреза
1067
1119
  0,
1068
1120
  // Y-координата начала выреза
1069
- o,
1070
- o,
1071
- h
1121
+ r,
1122
+ r,
1123
+ b
1072
1124
  );
1073
- return s.length === 0 ? null : /* @__PURE__ */ l.jsxs("div", { className: C, children: [
1074
- s.map(($, k, L) => {
1075
- const S = k + 1 >= L.length;
1076
- return /* @__PURE__ */ l.jsx(
1125
+ return n.length === 0 ? null : /* @__PURE__ */ o.jsxs("div", { className: h, children: [
1126
+ n.map((w, N, E) => {
1127
+ const k = N + 1 >= E.length;
1128
+ if (w.wrapper) {
1129
+ const m = w.wrapper;
1130
+ return /* @__PURE__ */ o.jsx(
1131
+ "div",
1132
+ {
1133
+ style: {
1134
+ // Для последнего видимого аватара без overflowCount не применяем обрезку
1135
+ clipPath: k && !i ? void 0 : `url(#${g})`,
1136
+ marginRight: c
1137
+ },
1138
+ children: /* @__PURE__ */ o.jsx(m, { children: /* @__PURE__ */ o.jsx(Ee, { size: r, shape: d, ...w }) })
1139
+ },
1140
+ Me(w) + N
1141
+ );
1142
+ }
1143
+ return /* @__PURE__ */ o.jsx(
1077
1144
  "div",
1078
1145
  {
1079
1146
  style: {
1080
1147
  // Для последнего видимого аватара без overflowCount не применяем обрезку
1081
- clipPath: S && !a ? void 0 : `url(#${g})`,
1148
+ clipPath: k && !i ? void 0 : `url(#${g})`,
1082
1149
  marginRight: c
1083
1150
  },
1084
- children: /* @__PURE__ */ l.jsx(Pe, { size: o, shape: i, ...$ })
1151
+ children: /* @__PURE__ */ o.jsx(Ee, { size: r, shape: d, ...w })
1085
1152
  },
1086
- it($) + k
1153
+ Me(w) + N
1087
1154
  );
1088
1155
  }),
1089
- a > 0 && /* @__PURE__ */ l.jsx("div", { style: { marginRight: c }, children: /* @__PURE__ */ l.jsx(
1090
- Pe,
1156
+ i > 0 && /* @__PURE__ */ o.jsx("div", { style: { marginRight: c }, children: /* @__PURE__ */ o.jsx(
1157
+ Ee,
1091
1158
  {
1092
- size: o,
1093
- shape: i,
1094
- onClick: _,
1095
- icon: () => L2(a),
1096
- colorScheme: "gray"
1159
+ size: r,
1160
+ shape: d,
1161
+ icon: () => za(i),
1162
+ colorScheme: "gray",
1163
+ variant: "light",
1164
+ ...u
1097
1165
  }
1098
1166
  ) }),
1099
- /* @__PURE__ */ l.jsx("svg", { width: "0", height: "0", children: /* @__PURE__ */ l.jsx("clipPath", { id: `${g}`, children: /* @__PURE__ */ l.jsx("path", { clipPathUnits: "objectBoundingBox", d: w, clipRule: "evenodd" }) }) })
1167
+ /* @__PURE__ */ o.jsx("svg", { width: "0", height: "0", children: /* @__PURE__ */ o.jsx("clipPath", { id: `${g}`, children: /* @__PURE__ */ o.jsx("path", { clipPathUnits: "objectBoundingBox", d: C, clipRule: "evenodd" }) }) })
1100
1168
  ] });
1101
- }, Ur = Object.assign(Pe, {
1102
- Group: q2
1103
- }), H2 = "_wrapper_1ncab_5", J2 = "_badge__container_1ncab_6", K2 = "_badge__content_1ncab_7", Q2 = "_interactive_1ncab_20", X2 = "_disabled_1ncab_21", er = "_icon_1ncab_22", W = {
1104
- wrapper: H2,
1105
- badge__container: J2,
1106
- badge__content: K2,
1107
- interactive: Q2,
1108
- disabled: X2,
1109
- icon: er,
1110
- "variant-filled": "_variant-filled_1ncab_101",
1111
- "color-brand": "_color-brand_1ncab_106",
1112
- "color-red": "_color-red_1ncab_110",
1113
- "color-orange": "_color-orange_1ncab_114",
1114
- "color-yellow": "_color-yellow_1ncab_118",
1115
- "color-green": "_color-green_1ncab_122",
1116
- "color-blue": "_color-blue_1ncab_126",
1117
- "color-lightblue": "_color-lightblue_1ncab_130",
1118
- "color-purple": "_color-purple_1ncab_134",
1119
- "color-gray": "_color-gray_1ncab_138",
1120
- "color-contrast": "_color-contrast_1ncab_142",
1121
- "variant-light": "_variant-light_1ncab_148",
1122
- "variant-outline": "_variant-outline_1ncab_220",
1123
- "variant-transparent": "_variant-transparent_1ncab_294",
1124
- "position-top-left": "_position-top-left_1ncab_361",
1125
- "position-top-right": "_position-top-right_1ncab_367",
1126
- "position-bottom-left": "_position-bottom-left_1ncab_373",
1127
- "position-bottom-right": "_position-bottom-right_1ncab_379",
1128
- "position-top-center": "_position-top-center_1ncab_385",
1129
- "position-bottom-center": "_position-bottom-center_1ncab_391",
1130
- "position-middle-left": "_position-middle-left_1ncab_397",
1131
- "position-middle-right": "_position-middle-right_1ncab_403",
1132
- "position-middle-center": "_position-middle-center_1ncab_409",
1133
- "position-top-left-inside": "_position-top-left-inside_1ncab_416",
1134
- "position-top-right-inside": "_position-top-right-inside_1ncab_422",
1135
- "position-bottom-left-inside": "_position-bottom-left-inside_1ncab_428",
1136
- "position-bottom-right-inside": "_position-bottom-right-inside_1ncab_434",
1137
- "position-top-center-inside": "_position-top-center-inside_1ncab_440",
1138
- "position-bottom-center-inside": "_position-bottom-center-inside_1ncab_446",
1139
- "position-middle-left-inside": "_position-middle-left-inside_1ncab_452",
1140
- "position-middle-right-inside": "_position-middle-right-inside_1ncab_458"
1141
- }, tr = (r) => r === "rgba(0, 0, 0, 0)" || r === "transparent" || r.startsWith("rgba") && r.endsWith(", 0)"), rr = (r) => {
1142
- if (!r) return null;
1143
- let s = r;
1144
- for (; s; ) {
1145
- const o = window.getComputedStyle(s).backgroundColor;
1146
- if (!tr(o)) return o;
1147
- s = s.parentElement;
1169
+ }, $2 = Object.assign(Ee, {
1170
+ Group: ar
1171
+ }), rr = "_wrapper_ecbsu_5", nr = "_badge__container_ecbsu_6", or = "_badge__content_ecbsu_7", sr = "_interactive_ecbsu_20", ir = "_disabled_ecbsu_21", lr = "_icon_ecbsu_22", Y = {
1172
+ wrapper: rr,
1173
+ badge__container: nr,
1174
+ badge__content: or,
1175
+ interactive: sr,
1176
+ disabled: ir,
1177
+ icon: lr,
1178
+ "variant-filled": "_variant-filled_ecbsu_102",
1179
+ "color-brand": "_color-brand_ecbsu_107",
1180
+ "color-red": "_color-red_ecbsu_111",
1181
+ "color-orange": "_color-orange_ecbsu_115",
1182
+ "color-yellow": "_color-yellow_ecbsu_119",
1183
+ "color-green": "_color-green_ecbsu_123",
1184
+ "color-blue": "_color-blue_ecbsu_127",
1185
+ "color-lightblue": "_color-lightblue_ecbsu_131",
1186
+ "color-purple": "_color-purple_ecbsu_135",
1187
+ "color-gray": "_color-gray_ecbsu_139",
1188
+ "color-contrast": "_color-contrast_ecbsu_143",
1189
+ "variant-light": "_variant-light_ecbsu_149",
1190
+ "variant-outline": "_variant-outline_ecbsu_221",
1191
+ "variant-transparent": "_variant-transparent_ecbsu_295",
1192
+ "position-top-left": "_position-top-left_ecbsu_362",
1193
+ "position-top-right": "_position-top-right_ecbsu_368",
1194
+ "position-bottom-left": "_position-bottom-left_ecbsu_374",
1195
+ "position-bottom-right": "_position-bottom-right_ecbsu_380",
1196
+ "position-top-center": "_position-top-center_ecbsu_386",
1197
+ "position-bottom-center": "_position-bottom-center_ecbsu_392",
1198
+ "position-middle-left": "_position-middle-left_ecbsu_398",
1199
+ "position-middle-right": "_position-middle-right_ecbsu_404",
1200
+ "position-middle-center": "_position-middle-center_ecbsu_410",
1201
+ "position-top-left-inside": "_position-top-left-inside_ecbsu_417",
1202
+ "position-top-right-inside": "_position-top-right-inside_ecbsu_423",
1203
+ "position-bottom-left-inside": "_position-bottom-left-inside_ecbsu_429",
1204
+ "position-bottom-right-inside": "_position-bottom-right-inside_ecbsu_435",
1205
+ "position-top-center-inside": "_position-top-center-inside_ecbsu_441",
1206
+ "position-bottom-center-inside": "_position-bottom-center-inside_ecbsu_447",
1207
+ "position-middle-left-inside": "_position-middle-left-inside_ecbsu_453",
1208
+ "position-middle-right-inside": "_position-middle-right-inside_ecbsu_459"
1209
+ }, cr = (t) => t === "rgba(0, 0, 0, 0)" || t === "transparent" || t.startsWith("rgba") && t.endsWith(", 0)"), dr = (t) => {
1210
+ if (!t) return null;
1211
+ let n = t;
1212
+ for (; n; ) {
1213
+ const s = window.getComputedStyle(n).backgroundColor;
1214
+ if (!cr(s)) return s;
1215
+ n = n.parentElement;
1148
1216
  }
1149
1217
  return null;
1150
- }, ar = () => {
1151
- const r = ot(null), [s, a] = Le(null);
1152
- return st(() => {
1153
- if (r.current) {
1154
- const o = rr(r.current);
1155
- a(o);
1218
+ }, ur = () => {
1219
+ const t = pt(null), [n, r] = Se(null);
1220
+ return De(() => {
1221
+ if (t.current) {
1222
+ const s = dr(t.current);
1223
+ r(s);
1156
1224
  }
1157
- }, []), { ref: r, bgColor: s };
1158
- }, Gr = H((r, s) => {
1225
+ }, []), { ref: t, bgColor: n };
1226
+ }, k2 = Q((t, n) => {
1159
1227
  const {
1160
- icon: a,
1161
- children: o,
1228
+ icon: r,
1229
+ children: s,
1162
1230
  variant: d = "filled",
1163
1231
  label: i,
1232
+ isHidden: u = !1,
1164
1233
  colorScheme: _ = "red",
1165
- size: f = 20,
1166
- position: c = "top-right",
1167
- positionOffset: h = { x: 0, y: 0 },
1168
- cutoutBackground: p,
1169
- isDisabled: g,
1234
+ size: c = 20,
1235
+ position: b = "top-right",
1236
+ positionOffset: f = { x: 0, y: 0 },
1237
+ cutoutBackground: g,
1238
+ isDisabled: h,
1170
1239
  className: C,
1171
1240
  "data-testid": w = "badge",
1172
- ...$
1173
- } = r, { onClick: k, onPointerDown: L } = $, { ref: S, bgColor: y } = ar(), T = p || y, U = !g && (!!k || !!L), B = Z(W.badge__container, W[`position-${c}`]), F = Z(
1241
+ ...N
1242
+ } = t, { onClick: E, onPointerDown: k } = N, { ref: m, bgColor: O } = ur(), P = g || O, B = !h && (!!E || !!k), L = K(Y.badge__container, Y[`position-${b}`]), F = K(
1174
1243
  C,
1175
- W.badge__content,
1176
- W[`color-${_}`],
1177
- W[`variant-${d}`],
1244
+ Y.badge__content,
1245
+ Y[`color-${_}`],
1246
+ Y[`variant-${d}`],
1178
1247
  {
1179
- [W.icon]: !!a,
1180
- [W.interactive]: U,
1181
- [W.disabled]: g
1248
+ [Y.disabled]: h,
1249
+ [Y.icon]: !!r,
1250
+ [Y.interactive]: B
1182
1251
  }
1183
- ), z = {
1184
- "--badge-height": `${f}px`,
1185
- "--badge-offset-x": `${h.x}px`,
1186
- "--badge-offset-y": `${h.y}px`,
1187
- ...T && { "--badge-cutout-bg": T },
1252
+ ), A = {
1253
+ "--badge-height": `${c}px`,
1254
+ "--badge-offset-x": `${f.x}px`,
1255
+ "--badge-offset-y": `${f.y}px`,
1256
+ ...P && { "--badge-cutout-bg": P },
1188
1257
  ...d === "transparent" && { "--badge-cutout-bg": "transparent" }
1189
- }, A = (a == null ? void 0 : a({})) || i, J = (K) => {
1190
- U && (k == null || k(K));
1258
+ }, U = (r == null ? void 0 : r({})) || i, G = (W) => {
1259
+ B && (E == null || E(W));
1191
1260
  };
1192
- return /* @__PURE__ */ l.jsxs("div", { className: W.wrapper, ref: S, "data-testid": w + "-wrapper", children: [
1193
- o,
1194
- /* @__PURE__ */ l.jsx(
1261
+ return /* @__PURE__ */ o.jsxs("div", { className: Y.wrapper, ref: m, "data-testid": w + "-wrapper", children: [
1262
+ s,
1263
+ !u && /* @__PURE__ */ o.jsx(
1195
1264
  "span",
1196
1265
  {
1197
- className: B,
1198
- style: z,
1266
+ className: L,
1267
+ style: A,
1199
1268
  "data-testid": w + "-container",
1200
- children: /* @__PURE__ */ l.jsx(
1269
+ children: /* @__PURE__ */ o.jsx(
1201
1270
  "span",
1202
1271
  {
1203
- ...$,
1204
- onClick: J,
1272
+ ...N,
1273
+ onClick: G,
1205
1274
  className: F,
1206
1275
  "data-testid": w + "-content",
1207
- ref: s,
1208
- "aria-disabled": g,
1209
- children: A
1276
+ ref: n,
1277
+ "aria-disabled": h,
1278
+ children: U
1210
1279
  }
1211
1280
  )
1212
1281
  }
1213
1282
  )
1214
1283
  ] });
1215
- }), nr = "_container_chiat_7", or = "_image_chiat_19", sr = "_loading_chiat_28", Oe = {
1216
- container: nr,
1217
- image: or,
1218
- loading: sr
1219
- }, ir = "_loader_1tevf_1", lr = "_spin_1tevf_1", cr = "_accent_1tevf_20", ur = "_neutral_1tevf_24", dr = "_positive_1tevf_28", _r = "_negative_1tevf_32", fr = "_gray_1tevf_36", pr = "_special_1tevf_40", br = "_contrast_1tevf_44", gr = "_container_1tevf_48", vr = "_overlay_1tevf_56", de = {
1220
- loader: ir,
1221
- spin: lr,
1222
- accent: cr,
1223
- neutral: ur,
1224
- positive: dr,
1225
- negative: _r,
1226
- gray: fr,
1227
- special: pr,
1228
- contrast: br,
1229
- container: gr,
1230
- overlay: vr,
1284
+ }), _r = "_container_chiat_7", pr = "_image_chiat_19", fr = "_loading_chiat_28", Ae = {
1285
+ container: _r,
1286
+ image: pr,
1287
+ loading: fr
1288
+ }, gr = "_loader_1tevf_1", br = "_spin_1tevf_1", hr = "_accent_1tevf_20", yr = "_neutral_1tevf_24", mr = "_positive_1tevf_28", vr = "_negative_1tevf_32", Cr = "_gray_1tevf_36", xr = "_special_1tevf_40", wr = "_contrast_1tevf_44", $r = "_container_1tevf_48", kr = "_overlay_1tevf_56", ge = {
1289
+ loader: gr,
1290
+ spin: br,
1291
+ accent: hr,
1292
+ neutral: yr,
1293
+ positive: mr,
1294
+ negative: vr,
1295
+ gray: Cr,
1296
+ special: xr,
1297
+ contrast: wr,
1298
+ container: $r,
1299
+ overlay: kr,
1231
1300
  "size-16": "_size-16_1tevf_71",
1232
1301
  "size-24": "_size-24_1tevf_75",
1233
1302
  "size-48": "_size-48_1tevf_79",
1234
1303
  "size-64": "_size-64_1tevf_83",
1235
1304
  "size-96": "_size-96_1tevf_87"
1236
- }, lt = H(
1305
+ }, gt = Q(
1237
1306
  ({
1238
- size: r = 24,
1239
- variant: s = "accent",
1240
- className: a,
1241
- "data-testid": o = "loader",
1307
+ size: t = 24,
1308
+ variant: n = "accent",
1309
+ className: r,
1310
+ "data-testid": s = "loader",
1242
1311
  style: d,
1243
1312
  ...i
1244
- }, _) => {
1245
- const f = Z(
1246
- de.loader,
1247
- de[s],
1248
- de[`size-${r}`],
1249
- a
1313
+ }, u) => {
1314
+ const _ = K(
1315
+ ge.loader,
1316
+ ge[n],
1317
+ ge[`size-${t}`],
1318
+ r
1250
1319
  );
1251
- return /* @__PURE__ */ l.jsx(
1320
+ return /* @__PURE__ */ o.jsx(
1252
1321
  "svg",
1253
1322
  {
1254
- ref: _,
1255
- className: f,
1323
+ ref: u,
1324
+ className: _,
1256
1325
  fill: "none",
1257
1326
  viewBox: "0 0 16 16",
1258
1327
  xmlns: "http://www.w3.org/2000/svg",
1259
- "data-testid": o,
1328
+ "data-testid": s,
1260
1329
  style: d,
1261
1330
  ...i,
1262
- children: /* @__PURE__ */ l.jsx(
1331
+ children: /* @__PURE__ */ o.jsx(
1263
1332
  "path",
1264
1333
  {
1265
1334
  d: "M14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2",
@@ -1271,38 +1340,38 @@ const Y2 = 2, q2 = (r) => {
1271
1340
  }
1272
1341
  );
1273
1342
  }
1274
- ), hr = H((r, s) => {
1343
+ ), Er = Q((t, n) => {
1275
1344
  const {
1276
- loading: a = !1,
1277
- size: o = 24,
1345
+ loading: r = !1,
1346
+ size: s = 24,
1278
1347
  variant: d = "accent",
1279
1348
  children: i,
1280
- className: _,
1281
- style: f,
1349
+ className: u,
1350
+ style: _,
1282
1351
  "data-testid": c,
1283
- ...h
1284
- } = r, p = Z(de.container, _);
1285
- return /* @__PURE__ */ l.jsxs("div", { ref: s, className: p, style: f, "data-testid": c, ...h, children: [
1352
+ ...b
1353
+ } = t, f = K(ge.container, u);
1354
+ return /* @__PURE__ */ o.jsxs("div", { ref: n, className: f, style: _, "data-testid": c, ...b, children: [
1286
1355
  i,
1287
- a && /* @__PURE__ */ l.jsx("div", { className: de.overlay, children: /* @__PURE__ */ l.jsx(lt, { size: o, variant: d, "data-testid": `${c}-spinner` }) })
1356
+ r && /* @__PURE__ */ o.jsx("div", { className: ge.overlay, children: /* @__PURE__ */ o.jsx(gt, { size: s, variant: d, "data-testid": `${c}-spinner` }) })
1288
1357
  ] });
1289
- }), mr = H((r, s) => r.children ? /* @__PURE__ */ l.jsx(
1290
- hr,
1358
+ }), Sr = Q((t, n) => t.children ? /* @__PURE__ */ o.jsx(
1359
+ Er,
1291
1360
  {
1292
- ref: s,
1293
- ...r
1361
+ ref: n,
1362
+ ...t
1294
1363
  }
1295
- ) : /* @__PURE__ */ l.jsx(lt, { ref: s, ...r })), Cr = ({ width: r = 48, height: s = 48, className: a, "data-testid": o }) => /* @__PURE__ */ l.jsx(
1364
+ ) : /* @__PURE__ */ o.jsx(gt, { ref: n, ...t })), Rr = ({ width: t = 48, height: n = 48, className: r, "data-testid": s }) => /* @__PURE__ */ o.jsx(
1296
1365
  "svg",
1297
1366
  {
1298
- width: r,
1299
- height: s,
1367
+ width: t,
1368
+ height: n,
1300
1369
  viewBox: "0 0 48 48",
1301
1370
  fill: "none",
1302
1371
  xmlns: "http://www.w3.org/2000/svg",
1303
- className: a,
1304
- "data-testid": o,
1305
- children: /* @__PURE__ */ l.jsx(
1372
+ className: r,
1373
+ "data-testid": s,
1374
+ children: /* @__PURE__ */ o.jsx(
1306
1375
  "path",
1307
1376
  {
1308
1377
  d: "M32.4 42H13.8627C12.6511 42 12.0453 42 11.7648 41.7604C11.5214 41.5525 11.3922 41.2407 11.4173 40.9215C11.4462 40.5538 11.8746 40.1254 12.7314 39.2686L29.7373 22.2627C30.5293 21.4707 30.9253 21.0747 31.382 20.9263C31.7837 20.7958 32.2163 20.7958 32.618 20.9263C33.0747 21.0747 33.4707 21.4707 34.2627 22.2627L42 30V32.4M32.4 42C35.7603 42 37.4405 42 38.7239 41.346C39.8529 40.7708 40.7708 39.8529 41.346 38.7239C42 37.4405 42 35.7603 42 32.4M32.4 42H15.6C12.2397 42 10.5595 42 9.27606 41.346C8.14708 40.7708 7.2292 39.8529 6.65396 38.7239C6 37.4405 6 35.7603 6 32.4V15.6C6 12.2397 6 10.5595 6.65396 9.27606C7.2292 8.14708 8.14708 7.2292 9.27606 6.65396C10.5595 6 12.2397 6 15.6 6H32.4C35.7603 6 37.4405 6 38.7239 6.65396C39.8529 7.2292 40.7708 8.14708 41.346 9.27606C42 10.5595 42 12.2397 42 15.6V32.4M21 17C21 19.2091 19.2091 21 17 21C14.7909 21 13 19.2091 13 17C13 14.7909 14.7909 13 17 13C19.2091 13 21 14.7909 21 17Z",
@@ -1313,170 +1382,446 @@ const Y2 = 2, q2 = (r) => {
1313
1382
  }
1314
1383
  )
1315
1384
  }
1316
- ), Yr = H((r, s) => {
1385
+ ), E2 = Q((t, n) => {
1317
1386
  const {
1318
- alt: a = "",
1319
- loading: o = "lazy",
1387
+ alt: r = "",
1388
+ loading: s = "lazy",
1320
1389
  src: d,
1321
1390
  isLoading: i = !1,
1322
- className: _,
1323
- "data-testid": f = "image",
1391
+ className: u,
1392
+ "data-testid": _ = "image",
1324
1393
  onError: c,
1325
- onLoad: h,
1326
- ...p
1327
- } = r, [g, C] = Le("loading"), w = g === "error", $ = (i || g === "loading") && !w, k = g === "loaded" && !i, L = Z(
1328
- Oe.image,
1394
+ onLoad: b,
1395
+ ...f
1396
+ } = t, [g, h] = Se("loading"), C = g === "error", w = (i || g === "loading") && !C, N = g === "loaded" && !i, E = K(
1397
+ Ae.image,
1329
1398
  {
1330
- [Oe.loading]: $
1399
+ [Ae.loading]: w
1331
1400
  },
1332
- _
1333
- ), S = He(
1334
- (N) => {
1335
- C("loaded"), h == null || h(N);
1401
+ u
1402
+ ), k = et(
1403
+ (P) => {
1404
+ h("loaded"), b == null || b(P);
1336
1405
  },
1337
- [h]
1338
- ), y = He(
1339
- (N) => {
1340
- C("error"), c == null || c(N);
1406
+ [b]
1407
+ ), m = et(
1408
+ (P) => {
1409
+ h("error"), c == null || c(P);
1341
1410
  },
1342
1411
  [c]
1343
- ), T = {
1344
- loader: /* @__PURE__ */ l.jsxs(Nt, { children: [
1345
- /* @__PURE__ */ l.jsx(mr, { size: 48, variant: "special", "data-testid": `${f}-loader` }),
1346
- /* @__PURE__ */ l.jsx(
1412
+ ), O = {
1413
+ loader: /* @__PURE__ */ o.jsxs(Ft, { children: [
1414
+ /* @__PURE__ */ o.jsx(Sr, { size: 48, variant: "special", "data-testid": `${_}-loader` }),
1415
+ /* @__PURE__ */ o.jsx(
1347
1416
  "img",
1348
1417
  {
1349
- alt: a,
1418
+ alt: r,
1350
1419
  src: d,
1351
- onLoad: S,
1352
- onError: y,
1420
+ onLoad: k,
1421
+ onError: m,
1353
1422
  style: { display: "none" }
1354
1423
  }
1355
1424
  )
1356
1425
  ] }),
1357
- error: /* @__PURE__ */ l.jsx(Cr, { "data-testid": `${f}-fallback` }),
1358
- image: /* @__PURE__ */ l.jsx(
1426
+ error: /* @__PURE__ */ o.jsx(Rr, { "data-testid": `${_}-fallback` }),
1427
+ image: /* @__PURE__ */ o.jsx(
1359
1428
  "img",
1360
1429
  {
1361
- ref: s,
1362
- alt: a,
1363
- "data-testid": f,
1364
- loading: o,
1430
+ ref: n,
1431
+ alt: r,
1432
+ "data-testid": _,
1433
+ loading: s,
1365
1434
  src: d,
1366
- className: L
1435
+ className: E
1367
1436
  }
1368
1437
  )
1369
1438
  };
1370
- return st(() => {
1439
+ return De(() => {
1371
1440
  if (!d) {
1372
- C("error");
1441
+ h("error");
1373
1442
  return;
1374
1443
  }
1375
- C("loading");
1376
- }, [d]), /* @__PURE__ */ l.jsxs("div", { className: Oe.container, "data-testid": `${f}-container`, ...p, children: [
1377
- $ && T.loader,
1378
- w && T.error,
1379
- k && T.image
1444
+ h("loading");
1445
+ }, [d]), /* @__PURE__ */ o.jsxs("div", { className: Ae.container, "data-testid": `${_}-container`, ...f, children: [
1446
+ w && O.loader,
1447
+ C && O.error,
1448
+ N && O.image
1380
1449
  ] });
1381
- }), yr = {}, ct = It({
1382
- locale: yr
1383
- }), xr = () => {
1384
- const r = At(ct);
1385
- if (!r)
1450
+ }), jr = {}, bt = qt({
1451
+ locale: jr
1452
+ }), Tr = () => {
1453
+ const t = Vt(bt);
1454
+ if (!t)
1386
1455
  throw new Error("useConfig must be used within a ConfigProvider");
1387
- return r;
1388
- }, qr = () => {
1389
- const { locale: r } = xr();
1390
- return r;
1391
- }, wr = {}, Er = {}, Rr = {}, Hr = ({
1392
- locale: r = {},
1393
- theme: s,
1394
- children: a,
1395
- className: o
1456
+ return t;
1457
+ }, S2 = () => {
1458
+ const { locale: t } = Tr();
1459
+ return t;
1460
+ }, Nr = {}, Or = {}, Lr = {}, R2 = ({
1461
+ locale: t = {},
1462
+ theme: n,
1463
+ children: r,
1464
+ className: s
1396
1465
  }) => {
1397
- const d = s ? { ...Object.fromEntries(Object.entries(s)) } : {};
1398
- return /* @__PURE__ */ l.jsx(
1466
+ const d = n ? { ...Object.fromEntries(Object.entries(n)) } : {};
1467
+ return /* @__PURE__ */ o.jsx(
1399
1468
  "div",
1400
1469
  {
1401
1470
  "data-testid": "ConfigProvider-component",
1402
1471
  style: d,
1403
- className: ae(
1404
- wr,
1405
- Er,
1406
- Rr,
1407
- o
1472
+ className: J(
1473
+ Nr,
1474
+ Or,
1475
+ Lr,
1476
+ s
1408
1477
  ),
1409
- children: /* @__PURE__ */ l.jsx(ct.Provider, { value: { locale: r }, children: a })
1478
+ children: /* @__PURE__ */ o.jsx(bt.Provider, { value: { locale: t }, children: r })
1410
1479
  }
1411
1480
  );
1412
- }, Jr = {}, Sr = "_tag_1llsi_1", jr = "_label_1llsi_16", $r = "_iconWrapper_1llsi_20", kr = "_medium_1llsi_27", Tr = "_large_1llsi_33", Or = "_disabled_1llsi_43", Pr = "_neutral_1llsi_47", Lr = "_positive_1llsi_53", Nr = "_negative_1llsi_59", Ir = "_warning_1llsi_65", Ar = "_vivid_1llsi_71", Mr = "_special_1llsi_77", Dr = "_accent_1llsi_84", Br = "_blue_1llsi_90", Fr = "_lovely_1llsi_96", zr = "_dreamy_1llsi_102", re = {
1413
- tag: Sr,
1414
- label: jr,
1415
- iconWrapper: $r,
1416
- medium: kr,
1417
- large: Tr,
1418
- disabled: Or,
1419
- neutral: Pr,
1420
- positive: Lr,
1421
- negative: Nr,
1422
- warning: Ir,
1423
- vivid: Ar,
1424
- special: Mr,
1425
- accent: Dr,
1426
- blue: Br,
1427
- lovely: Fr,
1428
- dreamy: zr
1429
- }, at = {
1430
- "typography-subtitle-1-semibold": "_typography-subtitle-1-semibold_1lyxn_45",
1431
- "typography-label-3-regular": "_typography-label-3-regular_1lyxn_141"
1432
- }, Kr = H((r, s) => {
1481
+ }, j2 = {}, Pr = "_tag_1llsi_1", Ir = "_label_1llsi_16", Ar = "_iconWrapper_1llsi_20", Mr = "_medium_1llsi_27", Dr = "_large_1llsi_33", zr = "_disabled_1llsi_43", Br = "_neutral_1llsi_47", Fr = "_positive_1llsi_53", qr = "_negative_1llsi_59", Vr = "_warning_1llsi_65", Wr = "_vivid_1llsi_71", Zr = "_special_1llsi_77", Ur = "_accent_1llsi_84", Gr = "_blue_1llsi_90", Yr = "_lovely_1llsi_96", Hr = "_dreamy_1llsi_102", se = {
1482
+ tag: Pr,
1483
+ label: Ir,
1484
+ iconWrapper: Ar,
1485
+ medium: Mr,
1486
+ large: Dr,
1487
+ disabled: zr,
1488
+ neutral: Br,
1489
+ positive: Fr,
1490
+ negative: qr,
1491
+ warning: Vr,
1492
+ vivid: Wr,
1493
+ special: Zr,
1494
+ accent: Ur,
1495
+ blue: Gr,
1496
+ lovely: Yr,
1497
+ dreamy: Hr
1498
+ }, T2 = Q((t, n) => {
1433
1499
  const {
1434
- className: a,
1435
- children: o,
1500
+ className: r,
1501
+ children: s,
1436
1502
  componentStyle: d = "neutral",
1437
1503
  size: i = "medium",
1438
- disabled: _ = !1,
1439
- showLabel: f = !!o,
1504
+ disabled: u = !1,
1505
+ showLabel: _ = !!s,
1440
1506
  slotStart: c,
1441
- slotEnd: h,
1442
- slotStartWrapperProps: p = {},
1507
+ slotEnd: b,
1508
+ slotStartWrapperProps: f = {},
1443
1509
  slotEndWrapperProps: g = {},
1444
- "data-testid": C
1445
- } = r, { className: w, ...$ } = p, { className: k, ...L } = g;
1446
- return /* @__PURE__ */ l.jsxs(
1510
+ "data-testid": h
1511
+ } = t, { className: C, ...w } = f, { className: N, ...E } = g;
1512
+ return /* @__PURE__ */ o.jsxs(
1447
1513
  "div",
1448
1514
  {
1449
- className: ae(
1450
- re.tag,
1451
- re[i],
1452
- re[d],
1515
+ className: J(
1516
+ se.tag,
1517
+ se[i],
1518
+ se[d],
1453
1519
  {
1454
- [re.disabled]: _,
1455
- [at["typography-label-3-regular"]]: i === "medium",
1456
- [at["typography-subtitle-1-semibold"]]: i === "large"
1520
+ [se.disabled]: u,
1521
+ [be["typography-label-3-regular"]]: i === "medium",
1522
+ [be["typography-subtitle-1-semibold"]]: i === "large"
1457
1523
  },
1458
- a
1524
+ r
1459
1525
  ),
1460
- "data-testid": C || "tag-component",
1461
- ref: s,
1526
+ "data-testid": h || "tag-component",
1527
+ ref: n,
1462
1528
  children: [
1463
- c && /* @__PURE__ */ l.jsx("span", { className: ae([re.iconWrapper, w]), ...$, children: c }),
1464
- f && /* @__PURE__ */ l.jsx("span", { className: ae([re.label]), children: o }),
1465
- h && /* @__PURE__ */ l.jsx("span", { className: ae([re.iconWrapper, k]), ...L, children: h })
1529
+ c && /* @__PURE__ */ o.jsx("span", { className: J([se.iconWrapper, C]), ...w, children: c }),
1530
+ _ && /* @__PURE__ */ o.jsx("span", { className: J([se.label]), children: s }),
1531
+ b && /* @__PURE__ */ o.jsx("span", { className: J([se.iconWrapper, N]), ...E, children: b })
1466
1532
  ]
1467
1533
  }
1468
1534
  );
1469
- });
1535
+ }), Jr = "_checkbox_qo5f5_43", Kr = "_input_qo5f5_59", Qr = "_icon_qo5f5_67", Xr = "_container_qo5f5_84", e2 = "_error_qo5f5_135", t2 = "_checkboxWrapper_qo5f5_147", a2 = "_medium_qo5f5_201", r2 = "_large_qo5f5_206", n2 = "_label_qo5f5_247", H = {
1536
+ checkbox: Jr,
1537
+ input: Kr,
1538
+ icon: Qr,
1539
+ container: Xr,
1540
+ error: e2,
1541
+ checkboxWrapper: t2,
1542
+ medium: a2,
1543
+ large: r2,
1544
+ label: n2
1545
+ }, o2 = ({
1546
+ width: t = 12,
1547
+ height: n = 9,
1548
+ className: r = "",
1549
+ color: s = "currentColor",
1550
+ ...d
1551
+ }) => /* @__PURE__ */ o.jsx(
1552
+ "svg",
1553
+ {
1554
+ className: r,
1555
+ width: t,
1556
+ height: n,
1557
+ viewBox: "0 0 14 10",
1558
+ fill: "none",
1559
+ xmlns: "http://www.w3.org/2000/svg",
1560
+ ...d,
1561
+ children: /* @__PURE__ */ o.jsx(
1562
+ "path",
1563
+ {
1564
+ fillRule: "evenodd",
1565
+ clipRule: "evenodd",
1566
+ d: "M13.0001 2.49999C13.3906 2.10946 13.3906 1.4763 13.0001 1.08578C12.6095 0.695251 11.9764 0.695251 11.5859 1.08578L5.29296 7.37867L2.00007 4.08578C1.60954 3.69525 0.976378 3.69525 0.585855 4.08578C0.19533 4.4763 0.19533 5.10946 0.585855 5.49999L4.58585 9.49999C4.97638 9.89051 5.60954 9.89051 6.00007 9.49999L13.0001 2.49999Z",
1567
+ fill: s
1568
+ }
1569
+ )
1570
+ }
1571
+ ), s2 = ({
1572
+ width: t = 12,
1573
+ height: n = 2,
1574
+ className: r = "",
1575
+ color: s = "currentColor",
1576
+ ...d
1577
+ }) => /* @__PURE__ */ o.jsx(
1578
+ "svg",
1579
+ {
1580
+ className: r,
1581
+ width: t,
1582
+ height: n,
1583
+ viewBox: "0 0 12 2",
1584
+ fill: "none",
1585
+ xmlns: "http://www.w3.org/2000/svg",
1586
+ ...d,
1587
+ children: /* @__PURE__ */ o.jsx(
1588
+ "path",
1589
+ {
1590
+ fillRule: "evenodd",
1591
+ clipRule: "evenodd",
1592
+ d: "M0 1C0 0.447715 0.447715 0 1 0H11C11.5523 0 12 0.447715 12 1C12 1.55228 11.5523 2 11 2H1C0.447715 2 0 1.55228 0 1Z",
1593
+ fill: s
1594
+ }
1595
+ )
1596
+ }
1597
+ ), i2 = {
1598
+ medium: { width: 10.83, height: 7.5 },
1599
+ large: { width: 13, height: 9 }
1600
+ }, l2 = ({
1601
+ size: t,
1602
+ isChecked: n,
1603
+ isDisabled: r,
1604
+ indeterminate: s,
1605
+ dataTestId: d
1606
+ }) => {
1607
+ const { width: i, height: u } = i2[t];
1608
+ return /* @__PURE__ */ o.jsx(
1609
+ "div",
1610
+ {
1611
+ className: H.icon,
1612
+ "data-testid": `${d}-icon`,
1613
+ "data-checked": n,
1614
+ "data-disabled": r,
1615
+ "data-indeterminate": s,
1616
+ children: s ? /* @__PURE__ */ o.jsx(s2, { width: i, height: u }) : /* @__PURE__ */ o.jsx(o2, { width: i, height: u })
1617
+ }
1618
+ );
1619
+ }, N2 = Q((t, n) => {
1620
+ const {
1621
+ name: r,
1622
+ value: s,
1623
+ size: d = "medium",
1624
+ indeterminate: i = !1,
1625
+ loading: u = !1,
1626
+ error: _,
1627
+ disabled: c = !1,
1628
+ containerClassName: b,
1629
+ className: f,
1630
+ containerStyle: g,
1631
+ style: h,
1632
+ children: C,
1633
+ clickableLabel: w = !0,
1634
+ tabIndex: N,
1635
+ onChange: E,
1636
+ "data-testid": k = "checkbox"
1637
+ } = t, [m, O] = Se(!1), P = s ?? m, z = c || u, B = !!_, L = P || i, F = tt(H.container, H[d], b), A = tt(
1638
+ H.checkbox,
1639
+ H[d],
1640
+ {
1641
+ [H.error]: B
1642
+ },
1643
+ f
1644
+ ), U = (S) => {
1645
+ z || (O(S.target.checked), E == null || E(S.target.checked, S));
1646
+ }, G = (S) => {
1647
+ if (S.key === "Enter" && !z) {
1648
+ S.preventDefault();
1649
+ const q = !L;
1650
+ O(q), E == null || E(q);
1651
+ }
1652
+ }, W = (S) => {
1653
+ w || S.preventDefault();
1654
+ }, M = (S) => S.stopPropagation();
1655
+ return /* @__PURE__ */ o.jsxs(
1656
+ "label",
1657
+ {
1658
+ className: F,
1659
+ htmlFor: r,
1660
+ style: g,
1661
+ "data-testid": k,
1662
+ "data-clickable-label": w,
1663
+ children: [
1664
+ /* @__PURE__ */ o.jsx("div", { className: H.checkboxWrapper, children: /* @__PURE__ */ o.jsxs(
1665
+ "div",
1666
+ {
1667
+ tabIndex: N || 0,
1668
+ className: A,
1669
+ style: h,
1670
+ onKeyDown: G,
1671
+ "aria-checked": L,
1672
+ "aria-disabled": z,
1673
+ "aria-invalid": B,
1674
+ "aria-describedby": _ ? `${r}-error` : void 0,
1675
+ "data-testid": `${k}-label`,
1676
+ children: [
1677
+ /* @__PURE__ */ o.jsx(
1678
+ "input",
1679
+ {
1680
+ ref: n,
1681
+ type: "checkbox",
1682
+ id: r,
1683
+ name: r,
1684
+ checked: L,
1685
+ disabled: z,
1686
+ className: H.input,
1687
+ onChange: U,
1688
+ onClick: M,
1689
+ "aria-checked": L,
1690
+ "aria-invalid": B,
1691
+ "aria-describedby": _ ? `${r}-error` : void 0,
1692
+ "data-testid": `${k}-input`
1693
+ }
1694
+ ),
1695
+ /* @__PURE__ */ o.jsx(
1696
+ l2,
1697
+ {
1698
+ name: r,
1699
+ size: d,
1700
+ isChecked: L,
1701
+ isDisabled: z,
1702
+ indeterminate: i,
1703
+ dataTestId: k
1704
+ }
1705
+ )
1706
+ ]
1707
+ }
1708
+ ) }),
1709
+ C && /* @__PURE__ */ o.jsx(
1710
+ "span",
1711
+ {
1712
+ "data-testid": `${k}-label-text`,
1713
+ "data-clickable-label": w,
1714
+ className: H.label,
1715
+ onClick: W,
1716
+ children: C
1717
+ }
1718
+ )
1719
+ ]
1720
+ }
1721
+ );
1722
+ }), c2 = "_typography_zt7xg_1", d2 = "_disabled_zt7xg_8", u2 = "_primary_zt7xg_13", _2 = "_secondary_zt7xg_18", p2 = "_tertiary_zt7xg_23", f2 = "_accent_zt7xg_28", g2 = "_positive_zt7xg_38", b2 = "_negative_zt7xg_48", h2 = "_warning_zt7xg_58", y2 = "_special_zt7xg_68", m2 = "_contrast_zt7xg_78", ce = {
1723
+ typography: c2,
1724
+ disabled: d2,
1725
+ primary: u2,
1726
+ secondary: _2,
1727
+ tertiary: p2,
1728
+ accent: f2,
1729
+ "accent-secondary": "_accent-secondary_zt7xg_33",
1730
+ positive: g2,
1731
+ "positive-secondary": "_positive-secondary_zt7xg_43",
1732
+ negative: b2,
1733
+ "negative-secondary": "_negative-secondary_zt7xg_53",
1734
+ warning: h2,
1735
+ "warning-secondary": "_warning-secondary_zt7xg_63",
1736
+ special: y2,
1737
+ "special-secondary": "_special-secondary_zt7xg_73",
1738
+ contrast: m2,
1739
+ "contrast-secondary": "_contrast-secondary_zt7xg_83"
1740
+ }, v2 = {
1741
+ 1: "h1",
1742
+ 2: "h2",
1743
+ 3: "h3",
1744
+ 4: "h4",
1745
+ 5: "h5"
1746
+ }, ct = (t) => {
1747
+ const n = ut.forwardRef(
1748
+ ({
1749
+ size: r = 3,
1750
+ children: s,
1751
+ className: d,
1752
+ "data-testid": i,
1753
+ as: u,
1754
+ fontWeight: _ = "semibold",
1755
+ disabled: c = !1,
1756
+ typographyStyle: b = "primary",
1757
+ ...f
1758
+ }, g) => {
1759
+ const h = u || v2[r], C = J(
1760
+ ce.typography,
1761
+ be[`typography-${t}-${r}-${_}`],
1762
+ ce[b],
1763
+ {
1764
+ [ce.disabled]: c
1765
+ },
1766
+ d
1767
+ );
1768
+ return s ? /* @__PURE__ */ o.jsx(h, { ref: g, className: C, "data-testid": i, ...f, children: s }) : null;
1769
+ }
1770
+ );
1771
+ return n.displayName = `Typography.${t === "title" ? "Title" : "Subtitle"}`, n;
1772
+ }, dt = (t) => {
1773
+ const n = ut.forwardRef(
1774
+ ({
1775
+ size: r = 3,
1776
+ children: s,
1777
+ className: d,
1778
+ "data-testid": i,
1779
+ as: u = "p",
1780
+ fontWeight: _ = "regular",
1781
+ disabled: c = !1,
1782
+ typographyStyle: b = "primary",
1783
+ ...f
1784
+ }, g) => {
1785
+ const h = u, C = J(
1786
+ ce.typography,
1787
+ be[`typography-${t}-${r}-${_}`],
1788
+ ce[b],
1789
+ {
1790
+ [ce.disabled]: c
1791
+ },
1792
+ d
1793
+ );
1794
+ return s ? /* @__PURE__ */ o.jsx(
1795
+ h,
1796
+ {
1797
+ ref: g,
1798
+ className: C,
1799
+ "data-testid": i,
1800
+ ...f,
1801
+ children: s
1802
+ }
1803
+ ) : null;
1804
+ }
1805
+ );
1806
+ return n.displayName = `Typography.${t.charAt(0).toUpperCase() + t.slice(1)}`, n;
1807
+ }, O2 = {
1808
+ Title: ct("title"),
1809
+ Subtitle: ct("subtitle"),
1810
+ Label: dt("label"),
1811
+ Paragraph: dt("paragraph")
1812
+ };
1470
1813
  export {
1471
- Ur as Avatar,
1472
- Gr as Badge,
1473
- Zr as Button,
1474
- Hr as ConfigProvider,
1475
- Yr as Image,
1476
- mr as Loader,
1477
- Kr as Tag,
1478
- yr as enUS,
1479
- Jr as ruRU,
1480
- xr as useConfig,
1481
- qr as useLocale
1814
+ $2 as Avatar,
1815
+ k2 as Badge,
1816
+ w2 as Button,
1817
+ N2 as Checkbox,
1818
+ R2 as ConfigProvider,
1819
+ E2 as Image,
1820
+ Sr as Loader,
1821
+ T2 as Tag,
1822
+ O2 as Typography,
1823
+ jr as enUS,
1824
+ j2 as ruRU,
1825
+ Tr as useConfig,
1826
+ S2 as useLocale
1482
1827
  };