skillgrid 0.0.24-dev-38682-image.1169070 → 0.0.24-dev-38682-image.1170743
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +9 -9
- package/dist/index.css +1 -1
- package/dist/index.es.js +526 -518
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as Et from "react";
|
|
2
|
-
import Lt, { forwardRef as Q, useState as
|
|
3
|
-
import { clsx as
|
|
2
|
+
import Lt, { forwardRef as Q, useState as Oe, useEffect as we, useRef as Ve, useCallback as Ce, Fragment as Mt, createContext as ra, useContext as sa, useLayoutEffect as na, useImperativeHandle as oa, useId as $t } from "react";
|
|
3
|
+
import { clsx as U } from "clsx";
|
|
4
4
|
import './index.css';function ia(t) {
|
|
5
5
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
6
6
|
}
|
|
7
|
-
var
|
|
7
|
+
var Fe = { exports: {} }, Re = {};
|
|
8
8
|
/**
|
|
9
9
|
* @license React
|
|
10
10
|
* react-jsx-runtime.production.min.js
|
|
@@ -16,19 +16,19 @@ var Be = { exports: {} }, ke = {};
|
|
|
16
16
|
*/
|
|
17
17
|
var ft;
|
|
18
18
|
function la() {
|
|
19
|
-
if (ft) return
|
|
19
|
+
if (ft) return Re;
|
|
20
20
|
ft = 1;
|
|
21
21
|
var t = Lt, r = Symbol.for("react.element"), a = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, n = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
22
|
-
function c(
|
|
23
|
-
var
|
|
22
|
+
function c(p, d, f) {
|
|
23
|
+
var _, g = {}, h = null, b = null;
|
|
24
24
|
f !== void 0 && (h = "" + f), d.key !== void 0 && (h = "" + d.key), d.ref !== void 0 && (b = d.ref);
|
|
25
|
-
for (
|
|
26
|
-
if (
|
|
27
|
-
return { $$typeof: r, type:
|
|
25
|
+
for (_ in d) s.call(d, _) && !n.hasOwnProperty(_) && (g[_] = d[_]);
|
|
26
|
+
if (p && p.defaultProps) for (_ in d = p.defaultProps, d) g[_] === void 0 && (g[_] = d[_]);
|
|
27
|
+
return { $$typeof: r, type: p, key: h, ref: b, props: g, _owner: i.current };
|
|
28
28
|
}
|
|
29
|
-
return
|
|
29
|
+
return Re.Fragment = a, Re.jsx = c, Re.jsxs = c, Re;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
31
|
+
var ke = {};
|
|
32
32
|
/**
|
|
33
33
|
* @license React
|
|
34
34
|
* react-jsx-runtime.development.js
|
|
@@ -41,7 +41,7 @@ var Te = {};
|
|
|
41
41
|
var gt;
|
|
42
42
|
function ca() {
|
|
43
43
|
return gt || (gt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
44
|
-
var t = Lt, r = Symbol.for("react.element"), a = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), n = Symbol.for("react.profiler"), c = Symbol.for("react.provider"),
|
|
44
|
+
var t = Lt, r = Symbol.for("react.element"), a = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), n = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), p = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), _ = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), y = Symbol.iterator, w = "@@iterator";
|
|
45
45
|
function C(e) {
|
|
46
46
|
if (e === null || typeof e != "object")
|
|
47
47
|
return null;
|
|
@@ -66,10 +66,10 @@ function ca() {
|
|
|
66
66
|
A.unshift("Warning: " + l), Function.prototype.apply.call(console[e], console, A);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
var D = !1, k = !1, T = !1, I = !1,
|
|
69
|
+
var D = !1, k = !1, T = !1, I = !1, B = !1, N;
|
|
70
70
|
N = Symbol.for("react.module.reference");
|
|
71
|
-
function
|
|
72
|
-
return !!(typeof e == "string" || typeof e == "function" || e === s || e === n ||
|
|
71
|
+
function W(e) {
|
|
72
|
+
return !!(typeof e == "string" || typeof e == "function" || e === s || e === n || B || e === i || e === f || e === _ || I || e === b || D || k || T || typeof e == "object" && e !== null && (e.$$typeof === h || e.$$typeof === g || e.$$typeof === c || e.$$typeof === p || e.$$typeof === d || // This needs to include all possible module reference object
|
|
73
73
|
// types supported by any Flight configuration anywhere since
|
|
74
74
|
// we don't know which Flight build this will end up being used
|
|
75
75
|
// with.
|
|
@@ -82,7 +82,7 @@ function ca() {
|
|
|
82
82
|
var j = l.displayName || l.name || "";
|
|
83
83
|
return j !== "" ? u + "(" + j + ")" : u;
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function V(e) {
|
|
86
86
|
return e.displayName || "Context";
|
|
87
87
|
}
|
|
88
88
|
function O(e) {
|
|
@@ -103,17 +103,17 @@ function ca() {
|
|
|
103
103
|
return "StrictMode";
|
|
104
104
|
case f:
|
|
105
105
|
return "Suspense";
|
|
106
|
-
case
|
|
106
|
+
case _:
|
|
107
107
|
return "SuspenseList";
|
|
108
108
|
}
|
|
109
109
|
if (typeof e == "object")
|
|
110
110
|
switch (e.$$typeof) {
|
|
111
|
-
case
|
|
111
|
+
case p:
|
|
112
112
|
var l = e;
|
|
113
|
-
return
|
|
113
|
+
return V(l) + ".Consumer";
|
|
114
114
|
case c:
|
|
115
115
|
var u = e;
|
|
116
|
-
return
|
|
116
|
+
return V(u._context) + ".Provider";
|
|
117
117
|
case d:
|
|
118
118
|
return x(e, e.render, "ForwardRef");
|
|
119
119
|
case g:
|
|
@@ -130,14 +130,14 @@ function ca() {
|
|
|
130
130
|
}
|
|
131
131
|
return null;
|
|
132
132
|
}
|
|
133
|
-
var $ = Object.assign,
|
|
133
|
+
var $ = Object.assign, F = 0, H, G, Z, te, ae, re, be;
|
|
134
134
|
function se() {
|
|
135
135
|
}
|
|
136
136
|
se.__reactDisabledLog = !0;
|
|
137
137
|
function ye() {
|
|
138
138
|
{
|
|
139
|
-
if (
|
|
140
|
-
|
|
139
|
+
if (F === 0) {
|
|
140
|
+
H = console.log, G = console.info, Z = console.warn, te = console.error, ae = console.group, re = console.groupCollapsed, be = console.groupEnd;
|
|
141
141
|
var e = {
|
|
142
142
|
configurable: !0,
|
|
143
143
|
enumerable: !0,
|
|
@@ -154,12 +154,12 @@ function ca() {
|
|
|
154
154
|
groupEnd: e
|
|
155
155
|
});
|
|
156
156
|
}
|
|
157
|
-
|
|
157
|
+
F++;
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function Se() {
|
|
161
161
|
{
|
|
162
|
-
if (
|
|
162
|
+
if (F--, F === 0) {
|
|
163
163
|
var e = {
|
|
164
164
|
configurable: !0,
|
|
165
165
|
enumerable: !0,
|
|
@@ -167,7 +167,7 @@ function ca() {
|
|
|
167
167
|
};
|
|
168
168
|
Object.defineProperties(console, {
|
|
169
169
|
log: $({}, e, {
|
|
170
|
-
value:
|
|
170
|
+
value: H
|
|
171
171
|
}),
|
|
172
172
|
info: $({}, e, {
|
|
173
173
|
value: G
|
|
@@ -189,10 +189,10 @@ function ca() {
|
|
|
189
189
|
})
|
|
190
190
|
});
|
|
191
191
|
}
|
|
192
|
-
|
|
192
|
+
F < 0 && m("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
|
-
var
|
|
195
|
+
var Ee = S.ReactCurrentDispatcher, ue;
|
|
196
196
|
function ie(e, l, u) {
|
|
197
197
|
{
|
|
198
198
|
if (ue === void 0)
|
|
@@ -206,13 +206,13 @@ function ca() {
|
|
|
206
206
|
` + ue + e;
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
|
-
var
|
|
209
|
+
var _e = !1, le;
|
|
210
210
|
{
|
|
211
211
|
var me = typeof WeakMap == "function" ? WeakMap : Map;
|
|
212
212
|
le = new me();
|
|
213
213
|
}
|
|
214
214
|
function K(e, l) {
|
|
215
|
-
if (!e ||
|
|
215
|
+
if (!e || _e)
|
|
216
216
|
return "";
|
|
217
217
|
{
|
|
218
218
|
var u = le.get(e);
|
|
@@ -220,11 +220,11 @@ function ca() {
|
|
|
220
220
|
return u;
|
|
221
221
|
}
|
|
222
222
|
var v;
|
|
223
|
-
|
|
223
|
+
_e = !0;
|
|
224
224
|
var j = Error.prepareStackTrace;
|
|
225
225
|
Error.prepareStackTrace = void 0;
|
|
226
226
|
var A;
|
|
227
|
-
A =
|
|
227
|
+
A = Ee.current, Ee.current = null, ye();
|
|
228
228
|
try {
|
|
229
229
|
if (l) {
|
|
230
230
|
var L = function() {
|
|
@@ -261,25 +261,25 @@ function ca() {
|
|
|
261
261
|
if (X && v && typeof X.stack == "string") {
|
|
262
262
|
for (var E = X.stack.split(`
|
|
263
263
|
`), Y = v.stack.split(`
|
|
264
|
-
`),
|
|
265
|
-
|
|
266
|
-
for (;
|
|
267
|
-
if (E[
|
|
268
|
-
if (
|
|
264
|
+
`), P = E.length - 1, q = Y.length - 1; P >= 1 && q >= 0 && E[P] !== Y[q]; )
|
|
265
|
+
q--;
|
|
266
|
+
for (; P >= 1 && q >= 0; P--, q--)
|
|
267
|
+
if (E[P] !== Y[q]) {
|
|
268
|
+
if (P !== 1 || q !== 1)
|
|
269
269
|
do
|
|
270
|
-
if (
|
|
270
|
+
if (P--, q--, q < 0 || E[P] !== Y[q]) {
|
|
271
271
|
var ne = `
|
|
272
|
-
` + E[
|
|
272
|
+
` + E[P].replace(" at new ", " at ");
|
|
273
273
|
return e.displayName && ne.includes("<anonymous>") && (ne = ne.replace("<anonymous>", e.displayName)), typeof e == "function" && le.set(e, ne), ne;
|
|
274
274
|
}
|
|
275
|
-
while (
|
|
275
|
+
while (P >= 1 && q >= 0);
|
|
276
276
|
break;
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
279
|
} finally {
|
|
280
|
-
|
|
280
|
+
_e = !1, Ee.current = A, Se(), Error.prepareStackTrace = j;
|
|
281
281
|
}
|
|
282
|
-
var
|
|
282
|
+
var Me = e ? e.displayName || e.name : "", ve = Me ? ie(Me) : "";
|
|
283
283
|
return typeof e == "function" && le.set(e, ve), ve;
|
|
284
284
|
}
|
|
285
285
|
function ee(e, l, u) {
|
|
@@ -289,7 +289,7 @@ function ca() {
|
|
|
289
289
|
var l = e.prototype;
|
|
290
290
|
return !!(l && l.isReactComponent);
|
|
291
291
|
}
|
|
292
|
-
function
|
|
292
|
+
function Ue(e, l, u) {
|
|
293
293
|
if (e == null)
|
|
294
294
|
return "";
|
|
295
295
|
if (typeof e == "function")
|
|
@@ -299,7 +299,7 @@ function ca() {
|
|
|
299
299
|
switch (e) {
|
|
300
300
|
case f:
|
|
301
301
|
return ie("Suspense");
|
|
302
|
-
case
|
|
302
|
+
case _:
|
|
303
303
|
return ie("SuspenseList");
|
|
304
304
|
}
|
|
305
305
|
if (typeof e == "object")
|
|
@@ -307,28 +307,28 @@ function ca() {
|
|
|
307
307
|
case d:
|
|
308
308
|
return ee(e.render);
|
|
309
309
|
case g:
|
|
310
|
-
return
|
|
310
|
+
return Ue(e.type, l, u);
|
|
311
311
|
case h: {
|
|
312
312
|
var v = e, j = v._payload, A = v._init;
|
|
313
313
|
try {
|
|
314
|
-
return
|
|
314
|
+
return Ue(A(j), l, u);
|
|
315
315
|
} catch {
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
319
|
return "";
|
|
320
320
|
}
|
|
321
|
-
var
|
|
322
|
-
function
|
|
321
|
+
var Ie = Object.prototype.hasOwnProperty, et = {}, tt = S.ReactDebugCurrentFrame;
|
|
322
|
+
function Be(e) {
|
|
323
323
|
if (e) {
|
|
324
|
-
var l = e._owner, u =
|
|
324
|
+
var l = e._owner, u = Ue(e.type, e._source, l ? l.type : null);
|
|
325
325
|
tt.setExtraStackFrame(u);
|
|
326
326
|
} else
|
|
327
327
|
tt.setExtraStackFrame(null);
|
|
328
328
|
}
|
|
329
329
|
function Nt(e, l, u, v, j) {
|
|
330
330
|
{
|
|
331
|
-
var A = Function.call.bind(
|
|
331
|
+
var A = Function.call.bind(Ie);
|
|
332
332
|
for (var L in e)
|
|
333
333
|
if (A(e, L)) {
|
|
334
334
|
var E = void 0;
|
|
@@ -338,15 +338,15 @@ function ca() {
|
|
|
338
338
|
throw Y.name = "Invariant Violation", Y;
|
|
339
339
|
}
|
|
340
340
|
E = e[L](l, L, v, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
341
|
-
} catch (
|
|
342
|
-
E =
|
|
341
|
+
} catch (P) {
|
|
342
|
+
E = P;
|
|
343
343
|
}
|
|
344
|
-
E && !(E instanceof Error) && (
|
|
344
|
+
E && !(E instanceof Error) && (Be(j), m("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", v || "React class", u, L, typeof E), Be(null)), E instanceof Error && !(E.message in et) && (et[E.message] = !0, Be(j), m("Failed %s type: %s", u, E.message), Be(null));
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
348
|
var Dt = Array.isArray;
|
|
349
|
-
function
|
|
349
|
+
function He(e) {
|
|
350
350
|
return Dt(e);
|
|
351
351
|
}
|
|
352
352
|
function Ot(e) {
|
|
@@ -376,7 +376,7 @@ function ca() {
|
|
|
376
376
|
__source: !0
|
|
377
377
|
}, nt, ot;
|
|
378
378
|
function Ft(e) {
|
|
379
|
-
if (
|
|
379
|
+
if (Ie.call(e, "ref")) {
|
|
380
380
|
var l = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
381
381
|
if (l && l.isReactWarning)
|
|
382
382
|
return !1;
|
|
@@ -384,7 +384,7 @@ function ca() {
|
|
|
384
384
|
return e.ref !== void 0;
|
|
385
385
|
}
|
|
386
386
|
function Pt(e) {
|
|
387
|
-
if (
|
|
387
|
+
if (Ie.call(e, "key")) {
|
|
388
388
|
var l = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
389
389
|
if (l && l.isReactWarning)
|
|
390
390
|
return !1;
|
|
@@ -450,36 +450,36 @@ function ca() {
|
|
|
450
450
|
var A, L = {}, E = null, Y = null;
|
|
451
451
|
u !== void 0 && (rt(u), E = "" + u), Pt(l) && (rt(l.key), E = "" + l.key), Ft(l) && (Y = l.ref, zt(l, j));
|
|
452
452
|
for (A in l)
|
|
453
|
-
|
|
453
|
+
Ie.call(l, A) && !Bt.hasOwnProperty(A) && (L[A] = l[A]);
|
|
454
454
|
if (e && e.defaultProps) {
|
|
455
|
-
var
|
|
456
|
-
for (A in
|
|
457
|
-
L[A] === void 0 && (L[A] =
|
|
455
|
+
var P = e.defaultProps;
|
|
456
|
+
for (A in P)
|
|
457
|
+
L[A] === void 0 && (L[A] = P[A]);
|
|
458
458
|
}
|
|
459
459
|
if (E || Y) {
|
|
460
|
-
var
|
|
461
|
-
E && Wt(L,
|
|
460
|
+
var q = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
461
|
+
E && Wt(L, q), Y && Vt(L, q);
|
|
462
462
|
}
|
|
463
463
|
return Ht(e, E, Y, j, v, st.current, L);
|
|
464
464
|
}
|
|
465
465
|
}
|
|
466
|
-
var
|
|
467
|
-
function
|
|
466
|
+
var qe = S.ReactCurrentOwner, it = S.ReactDebugCurrentFrame;
|
|
467
|
+
function Le(e) {
|
|
468
468
|
if (e) {
|
|
469
|
-
var l = e._owner, u =
|
|
469
|
+
var l = e._owner, u = Ue(e.type, e._source, l ? l.type : null);
|
|
470
470
|
it.setExtraStackFrame(u);
|
|
471
471
|
} else
|
|
472
472
|
it.setExtraStackFrame(null);
|
|
473
473
|
}
|
|
474
|
-
var
|
|
475
|
-
|
|
476
|
-
function
|
|
474
|
+
var Ge;
|
|
475
|
+
Ge = !1;
|
|
476
|
+
function Ze(e) {
|
|
477
477
|
return typeof e == "object" && e !== null && e.$$typeof === r;
|
|
478
478
|
}
|
|
479
479
|
function lt() {
|
|
480
480
|
{
|
|
481
|
-
if (
|
|
482
|
-
var e = O(
|
|
481
|
+
if (qe.current) {
|
|
482
|
+
var e = O(qe.current.type);
|
|
483
483
|
if (e)
|
|
484
484
|
return `
|
|
485
485
|
|
|
@@ -514,25 +514,25 @@ Check the top-level render call using <` + u + ">.");
|
|
|
514
514
|
return;
|
|
515
515
|
ct[u] = !0;
|
|
516
516
|
var v = "";
|
|
517
|
-
e && e._owner && e._owner !==
|
|
517
|
+
e && e._owner && e._owner !== qe.current && (v = " It was passed a child from " + O(e._owner.type) + "."), Le(e), m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, v), Le(null);
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
520
|
function ut(e, l) {
|
|
521
521
|
{
|
|
522
522
|
if (typeof e != "object")
|
|
523
523
|
return;
|
|
524
|
-
if (
|
|
524
|
+
if (He(e))
|
|
525
525
|
for (var u = 0; u < e.length; u++) {
|
|
526
526
|
var v = e[u];
|
|
527
|
-
|
|
527
|
+
Ze(v) && dt(v, l);
|
|
528
528
|
}
|
|
529
|
-
else if (
|
|
529
|
+
else if (Ze(e))
|
|
530
530
|
e._store && (e._store.validated = !0);
|
|
531
531
|
else if (e) {
|
|
532
532
|
var j = C(e);
|
|
533
533
|
if (typeof j == "function" && j !== e.entries)
|
|
534
534
|
for (var A = j.call(e), L; !(L = A.next()).done; )
|
|
535
|
-
|
|
535
|
+
Ze(L.value) && dt(L.value, l);
|
|
536
536
|
}
|
|
537
537
|
}
|
|
538
538
|
}
|
|
@@ -553,8 +553,8 @@ Check the top-level render call using <` + u + ">.");
|
|
|
553
553
|
if (u) {
|
|
554
554
|
var v = O(l);
|
|
555
555
|
Nt(u, e.props, "prop", v, e);
|
|
556
|
-
} else if (l.PropTypes !== void 0 && !
|
|
557
|
-
|
|
556
|
+
} else if (l.PropTypes !== void 0 && !Ge) {
|
|
557
|
+
Ge = !0;
|
|
558
558
|
var j = O(l);
|
|
559
559
|
m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", j || "Unknown");
|
|
560
560
|
}
|
|
@@ -566,75 +566,75 @@ Check the top-level render call using <` + u + ">.");
|
|
|
566
566
|
for (var l = Object.keys(e.props), u = 0; u < l.length; u++) {
|
|
567
567
|
var v = l[u];
|
|
568
568
|
if (v !== "children" && v !== "key") {
|
|
569
|
-
|
|
569
|
+
Le(e), m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), Le(null);
|
|
570
570
|
break;
|
|
571
571
|
}
|
|
572
572
|
}
|
|
573
|
-
e.ref !== null && (
|
|
573
|
+
e.ref !== null && (Le(e), m("Invalid attribute `ref` supplied to `React.Fragment`."), Le(null));
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
|
-
var
|
|
577
|
-
function
|
|
576
|
+
var _t = {};
|
|
577
|
+
function pt(e, l, u, v, j, A) {
|
|
578
578
|
{
|
|
579
|
-
var L =
|
|
579
|
+
var L = W(e);
|
|
580
580
|
if (!L) {
|
|
581
581
|
var E = "";
|
|
582
582
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (E += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
583
583
|
var Y = Gt();
|
|
584
584
|
Y ? E += Y : E += lt();
|
|
585
|
-
var
|
|
586
|
-
e === null ?
|
|
585
|
+
var P;
|
|
586
|
+
e === null ? P = "null" : He(e) ? P = "array" : e !== void 0 && e.$$typeof === r ? (P = "<" + (O(e.type) || "Unknown") + " />", E = " Did you accidentally export a JSX literal instead of a component?") : P = typeof e, m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", P, E);
|
|
587
587
|
}
|
|
588
|
-
var
|
|
589
|
-
if (
|
|
590
|
-
return
|
|
588
|
+
var q = qt(e, l, u, j, A);
|
|
589
|
+
if (q == null)
|
|
590
|
+
return q;
|
|
591
591
|
if (L) {
|
|
592
592
|
var ne = l.children;
|
|
593
593
|
if (ne !== void 0)
|
|
594
594
|
if (v)
|
|
595
|
-
if (
|
|
596
|
-
for (var
|
|
597
|
-
ut(ne[
|
|
595
|
+
if (He(ne)) {
|
|
596
|
+
for (var Me = 0; Me < ne.length; Me++)
|
|
597
|
+
ut(ne[Me], e);
|
|
598
598
|
Object.freeze && Object.freeze(ne);
|
|
599
599
|
} else
|
|
600
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.");
|
|
601
601
|
else
|
|
602
602
|
ut(ne, e);
|
|
603
603
|
}
|
|
604
|
-
if (
|
|
604
|
+
if (Ie.call(l, "key")) {
|
|
605
605
|
var ve = O(e), X = Object.keys(l).filter(function(aa) {
|
|
606
606
|
return aa !== "key";
|
|
607
|
-
}),
|
|
608
|
-
if (!
|
|
607
|
+
}), Ye = X.length > 0 ? "{key: someKey, " + X.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
608
|
+
if (!_t[ve + Ye]) {
|
|
609
609
|
var ta = X.length > 0 ? "{" + X.join(": ..., ") + ": ...}" : "{}";
|
|
610
610
|
m(`A props object containing a "key" prop is being spread into JSX:
|
|
611
611
|
let props = %s;
|
|
612
612
|
<%s {...props} />
|
|
613
613
|
React keys must be passed directly to JSX without using spread:
|
|
614
614
|
let props = %s;
|
|
615
|
-
<%s key={someKey} {...props} />`,
|
|
615
|
+
<%s key={someKey} {...props} />`, Ye, ve, ta, ve), _t[ve + Ye] = !0;
|
|
616
616
|
}
|
|
617
617
|
}
|
|
618
|
-
return e === s ? Jt(
|
|
618
|
+
return e === s ? Jt(q) : Yt(q), q;
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
621
|
function Kt(e, l, u) {
|
|
622
|
-
return
|
|
622
|
+
return pt(e, l, u, !0);
|
|
623
623
|
}
|
|
624
624
|
function Xt(e, l, u) {
|
|
625
|
-
return
|
|
625
|
+
return pt(e, l, u, !1);
|
|
626
626
|
}
|
|
627
627
|
var Qt = Xt, ea = Kt;
|
|
628
|
-
|
|
629
|
-
}()),
|
|
628
|
+
ke.Fragment = s, ke.jsx = Qt, ke.jsxs = ea;
|
|
629
|
+
}()), ke;
|
|
630
630
|
}
|
|
631
631
|
var ht;
|
|
632
632
|
function da() {
|
|
633
|
-
return ht || (ht = 1, process.env.NODE_ENV === "production" ?
|
|
633
|
+
return ht || (ht = 1, process.env.NODE_ENV === "production" ? Fe.exports = la() : Fe.exports = ca()), Fe.exports;
|
|
634
634
|
}
|
|
635
635
|
var o = da();
|
|
636
|
-
const ua = (t) => t.as === "a",
|
|
637
|
-
button:
|
|
636
|
+
const ua = (t) => t.as === "a", _a = (t) => t.as === void 0 || t.as === "button", pa = "_button_1abee_213", fa = "_disabled_1abee_237", ga = "_loading_1abee_237", ha = "_neutral_1abee_259", ba = "_accent_1abee_263", ya = "_positive_1abee_267", ma = "_negative_1abee_271", va = "_contrast_1abee_275", xa = "_special_1abee_279", Ca = "_primary_1abee_284", wa = "_secondary_1abee_285", Sa = "_tertiary_1abee_286", Ea = "_label_1abee_321", La = "_rightGroup_1abee_333", Ma = "_iconOnly_1abee_349", $a = "_large_1abee_357", ja = "_medium_1abee_361", Ia = "_small_1abee_365", Ra = "_spaceBetween_1abee_370", ka = "_stretched_1abee_384", Ta = "_icon_1abee_349", Aa = "_badge_1abee_705", Na = "_badgeMedium_1abee_721", Da = "_circular_1abee_738", Oa = "_badgeSmall_1abee_743", Ua = "_badgeExtraSmall_1abee_765", Ba = "_withSubcaption_1abee_784", Fa = "_subcaption_1abee_797", Pa = "_loader_1abee_804", za = "_spin_1abee_1", Wa = "_l_1abee_237", Va = "_m_1abee_361", Ha = "_s_1abee_279", qa = "_xs_1abee_869", z = {
|
|
637
|
+
button: pa,
|
|
638
638
|
disabled: fa,
|
|
639
639
|
loading: ga,
|
|
640
640
|
neutral: ha,
|
|
@@ -676,48 +676,48 @@ const ua = (t) => t.as === "a", pa = (t) => t.as === void 0 || t.as === "button"
|
|
|
676
676
|
icon: i,
|
|
677
677
|
children: n,
|
|
678
678
|
postfix: c,
|
|
679
|
-
showSubcaption:
|
|
679
|
+
showSubcaption: p,
|
|
680
680
|
subcaption: d,
|
|
681
681
|
size: f
|
|
682
682
|
}) => {
|
|
683
683
|
if (t)
|
|
684
|
-
return /* @__PURE__ */ o.jsx("span", { className:
|
|
685
|
-
const
|
|
684
|
+
return /* @__PURE__ */ o.jsx("span", { className: z.loader, "data-testid": "button-loader", "aria-hidden": "true" });
|
|
685
|
+
const _ = s === "extra-small", g = parseInt(String(a), 10), h = !isNaN(g) && g >= 0 && g <= 9;
|
|
686
686
|
return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
687
|
-
r && (a ||
|
|
687
|
+
r && (a || _) && /* @__PURE__ */ o.jsx(
|
|
688
688
|
"span",
|
|
689
689
|
{
|
|
690
690
|
"data-testid": "button-badge",
|
|
691
|
-
className:
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
{ [
|
|
691
|
+
className: U(
|
|
692
|
+
z.badge,
|
|
693
|
+
z[`badge${_ ? "ExtraSmall" : s === "medium" ? "Medium" : "Small"}`],
|
|
694
|
+
{ [z.circular]: h && !_ }
|
|
695
695
|
),
|
|
696
|
-
children: !
|
|
696
|
+
children: !_ && a
|
|
697
697
|
}
|
|
698
698
|
),
|
|
699
|
-
|
|
700
|
-
/* @__PURE__ */ o.jsx("span", { "data-testid": "button-label", className:
|
|
701
|
-
/* @__PURE__ */ o.jsx("span", { "data-testid": "button-subcaption", className:
|
|
699
|
+
p && f !== "s" && f !== "xs" ? /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
700
|
+
/* @__PURE__ */ o.jsx("span", { "data-testid": "button-label", className: z.label, children: n }),
|
|
701
|
+
/* @__PURE__ */ o.jsx("span", { "data-testid": "button-subcaption", className: z.subcaption, children: d })
|
|
702
702
|
] }) : n ? /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
703
|
-
/* @__PURE__ */ o.jsx("span", { "data-testid": "button-label", className:
|
|
704
|
-
/* @__PURE__ */ o.jsxs("div", { "data-testid": "button-right-group", className:
|
|
705
|
-
i && /* @__PURE__ */ o.jsx("span", { "data-testid": "button-icon", className:
|
|
706
|
-
c && /* @__PURE__ */ o.jsx("span", { "data-testid": "button-postfix", className:
|
|
703
|
+
/* @__PURE__ */ o.jsx("span", { "data-testid": "button-label", className: z.label, children: n }),
|
|
704
|
+
/* @__PURE__ */ o.jsxs("div", { "data-testid": "button-right-group", className: z.rightGroup, children: [
|
|
705
|
+
i && /* @__PURE__ */ o.jsx("span", { "data-testid": "button-icon", className: z.icon, children: i }),
|
|
706
|
+
c && /* @__PURE__ */ o.jsx("span", { "data-testid": "button-postfix", className: z.postfix, children: c })
|
|
707
707
|
] })
|
|
708
|
-
] }) : /* @__PURE__ */ o.jsx("span", { "data-testid": "button-icon", className:
|
|
708
|
+
] }) : /* @__PURE__ */ o.jsx("span", { "data-testid": "button-icon", className: z.icon, children: i })
|
|
709
709
|
] });
|
|
710
|
-
},
|
|
710
|
+
}, Rn = Q((t, r) => {
|
|
711
711
|
const {
|
|
712
712
|
mode: a = "primary",
|
|
713
713
|
size: s = "m",
|
|
714
714
|
buttonStyle: i = "neutral",
|
|
715
715
|
loading: n = !1,
|
|
716
716
|
disabled: c = !1,
|
|
717
|
-
showBadge:
|
|
717
|
+
showBadge: p = !1,
|
|
718
718
|
badgeSize: d = "small",
|
|
719
719
|
badgeValue: f,
|
|
720
|
-
showSubcaption:
|
|
720
|
+
showSubcaption: _ = !1,
|
|
721
721
|
subcaption: g,
|
|
722
722
|
stretched: h = !1,
|
|
723
723
|
spaceBetween: b = !1,
|
|
@@ -725,43 +725,43 @@ const ua = (t) => t.as === "a", pa = (t) => t.as === void 0 || t.as === "button"
|
|
|
725
725
|
postfix: w,
|
|
726
726
|
className: C,
|
|
727
727
|
children: S
|
|
728
|
-
} = t, m = c, R = n, D = !m && !R, k = !!y && !S, T =
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
728
|
+
} = t, m = c, R = n, D = !m && !R, k = !!y && !S, T = U(
|
|
729
|
+
z.button,
|
|
730
|
+
z[s],
|
|
731
|
+
z[a],
|
|
732
|
+
z[i],
|
|
733
733
|
{
|
|
734
|
-
[
|
|
735
|
-
[
|
|
736
|
-
[
|
|
737
|
-
[
|
|
738
|
-
[
|
|
739
|
-
[
|
|
734
|
+
[z.disabled]: m,
|
|
735
|
+
[z.loading]: R,
|
|
736
|
+
[z.stretched]: h,
|
|
737
|
+
[z.spaceBetween]: b && h,
|
|
738
|
+
[z.withSubcaption]: _ && g && s !== "s" && s !== "xs",
|
|
739
|
+
[z.iconOnly]: k
|
|
740
740
|
},
|
|
741
741
|
C
|
|
742
742
|
), I = {
|
|
743
743
|
isLoading: R,
|
|
744
|
-
showBadge:
|
|
744
|
+
showBadge: p,
|
|
745
745
|
badgeValue: f,
|
|
746
746
|
badgeSize: d,
|
|
747
747
|
icon: y,
|
|
748
748
|
children: S,
|
|
749
749
|
postfix: w,
|
|
750
|
-
showSubcaption:
|
|
750
|
+
showSubcaption: _,
|
|
751
751
|
subcaption: g,
|
|
752
752
|
size: s
|
|
753
753
|
};
|
|
754
754
|
if (ua(t)) {
|
|
755
755
|
const {
|
|
756
|
-
href:
|
|
756
|
+
href: B,
|
|
757
757
|
onClick: N,
|
|
758
|
-
mode:
|
|
758
|
+
mode: W,
|
|
759
759
|
size: x,
|
|
760
|
-
buttonStyle:
|
|
760
|
+
buttonStyle: V,
|
|
761
761
|
loading: O,
|
|
762
762
|
disabled: $,
|
|
763
|
-
showBadge:
|
|
764
|
-
badgeSize:
|
|
763
|
+
showBadge: F,
|
|
764
|
+
badgeSize: H,
|
|
765
765
|
badgeValue: G,
|
|
766
766
|
showSubcaption: Z,
|
|
767
767
|
subcaption: te,
|
|
@@ -770,11 +770,11 @@ const ua = (t) => t.as === "a", pa = (t) => t.as === void 0 || t.as === "button"
|
|
|
770
770
|
icon: be,
|
|
771
771
|
postfix: se,
|
|
772
772
|
className: ye,
|
|
773
|
-
tabIndex:
|
|
774
|
-
children:
|
|
773
|
+
tabIndex: Se,
|
|
774
|
+
children: Ee,
|
|
775
775
|
"data-testid": ue,
|
|
776
776
|
style: ie,
|
|
777
|
-
...
|
|
777
|
+
..._e
|
|
778
778
|
} = t, le = (me) => {
|
|
779
779
|
D && N && N(me);
|
|
780
780
|
};
|
|
@@ -783,28 +783,28 @@ const ua = (t) => t.as === "a", pa = (t) => t.as === void 0 || t.as === "button"
|
|
|
783
783
|
{
|
|
784
784
|
ref: r,
|
|
785
785
|
className: T,
|
|
786
|
-
href: D ?
|
|
786
|
+
href: D ? B : void 0,
|
|
787
787
|
tabIndex: t.tabIndex,
|
|
788
788
|
onClick: le,
|
|
789
789
|
"data-testid": ue,
|
|
790
790
|
"aria-disabled": m || R,
|
|
791
791
|
style: ie,
|
|
792
|
-
...
|
|
792
|
+
..._e,
|
|
793
793
|
children: /* @__PURE__ */ o.jsx(bt, { ...I })
|
|
794
794
|
}
|
|
795
795
|
);
|
|
796
796
|
}
|
|
797
|
-
if (
|
|
797
|
+
if (_a(t)) {
|
|
798
798
|
const {
|
|
799
|
-
type:
|
|
799
|
+
type: B = "button",
|
|
800
800
|
onClick: N,
|
|
801
|
-
mode:
|
|
801
|
+
mode: W,
|
|
802
802
|
size: x,
|
|
803
|
-
buttonStyle:
|
|
803
|
+
buttonStyle: V,
|
|
804
804
|
loading: O,
|
|
805
805
|
disabled: $,
|
|
806
|
-
showBadge:
|
|
807
|
-
badgeSize:
|
|
806
|
+
showBadge: F,
|
|
807
|
+
badgeSize: H,
|
|
808
808
|
badgeValue: G,
|
|
809
809
|
showSubcaption: Z,
|
|
810
810
|
subcaption: te,
|
|
@@ -813,11 +813,11 @@ const ua = (t) => t.as === "a", pa = (t) => t.as === void 0 || t.as === "button"
|
|
|
813
813
|
icon: be,
|
|
814
814
|
postfix: se,
|
|
815
815
|
className: ye,
|
|
816
|
-
tabIndex:
|
|
817
|
-
children:
|
|
816
|
+
tabIndex: Se,
|
|
817
|
+
children: Ee,
|
|
818
818
|
"data-testid": ue,
|
|
819
819
|
style: ie,
|
|
820
|
-
...
|
|
820
|
+
..._e
|
|
821
821
|
} = t, le = (me) => {
|
|
822
822
|
D && N && N(me);
|
|
823
823
|
};
|
|
@@ -825,7 +825,7 @@ const ua = (t) => t.as === "a", pa = (t) => t.as === void 0 || t.as === "button"
|
|
|
825
825
|
"button",
|
|
826
826
|
{
|
|
827
827
|
ref: r,
|
|
828
|
-
type:
|
|
828
|
+
type: B,
|
|
829
829
|
className: T,
|
|
830
830
|
disabled: m,
|
|
831
831
|
tabIndex: t.tabIndex,
|
|
@@ -833,14 +833,14 @@ const ua = (t) => t.as === "a", pa = (t) => t.as === void 0 || t.as === "button"
|
|
|
833
833
|
"data-testid": ue,
|
|
834
834
|
"aria-disabled": m || R,
|
|
835
835
|
style: ie,
|
|
836
|
-
...
|
|
836
|
+
..._e,
|
|
837
837
|
children: /* @__PURE__ */ o.jsx(bt, { ...I })
|
|
838
838
|
}
|
|
839
839
|
);
|
|
840
840
|
}
|
|
841
841
|
return null;
|
|
842
842
|
});
|
|
843
|
-
var
|
|
843
|
+
var Je = { exports: {} };
|
|
844
844
|
/*!
|
|
845
845
|
Copyright (c) 2018 Jed Watson.
|
|
846
846
|
Licensed under the MIT License (MIT), see
|
|
@@ -853,8 +853,8 @@ function Ga() {
|
|
|
853
853
|
var r = {}.hasOwnProperty;
|
|
854
854
|
function a() {
|
|
855
855
|
for (var n = "", c = 0; c < arguments.length; c++) {
|
|
856
|
-
var
|
|
857
|
-
|
|
856
|
+
var p = arguments[c];
|
|
857
|
+
p && (n = i(n, s(p)));
|
|
858
858
|
}
|
|
859
859
|
return n;
|
|
860
860
|
}
|
|
@@ -868,8 +868,8 @@ function Ga() {
|
|
|
868
868
|
if (n.toString !== Object.prototype.toString && !n.toString.toString().includes("[native code]"))
|
|
869
869
|
return n.toString();
|
|
870
870
|
var c = "";
|
|
871
|
-
for (var
|
|
872
|
-
r.call(n,
|
|
871
|
+
for (var p in n)
|
|
872
|
+
r.call(n, p) && n[p] && (c = i(c, p));
|
|
873
873
|
return c;
|
|
874
874
|
}
|
|
875
875
|
function i(n, c) {
|
|
@@ -877,10 +877,10 @@ function Ga() {
|
|
|
877
877
|
}
|
|
878
878
|
t.exports ? (a.default = a, t.exports = a) : window.classNames = a;
|
|
879
879
|
})();
|
|
880
|
-
}(
|
|
880
|
+
}(Je)), Je.exports;
|
|
881
881
|
}
|
|
882
882
|
var Za = Ga();
|
|
883
|
-
const
|
|
883
|
+
const Ne = /* @__PURE__ */ ia(Za), Ya = "_avatar_1kyiq_17", Ja = "_clickable_1kyiq_41", Ka = "_icon_1kyiq_58", Xa = "_disabled_1kyiq_63", Qa = "_loading_1kyiq_68", er = "_image_1kyiq_74", tr = "_name_1kyiq_74", de = {
|
|
884
884
|
avatar: Ya,
|
|
885
885
|
clickable: Ja,
|
|
886
886
|
icon: Ka,
|
|
@@ -901,7 +901,7 @@ const Se = /* @__PURE__ */ ia(Za), Ya = "_avatar_1kyiq_17", Ja = "_clickable_1ky
|
|
|
901
901
|
"color-contrast": "_color-contrast_1kyiq_167",
|
|
902
902
|
"variant-light": "_variant-light_1kyiq_173",
|
|
903
903
|
"variant-outline": "_variant-outline_1kyiq_245"
|
|
904
|
-
},
|
|
904
|
+
}, De = {
|
|
905
905
|
"typography-title-1-semibold": "_typography-title-1-semibold_1lyxn_1",
|
|
906
906
|
"typography-title-2-semibold": "_typography-title-2-semibold_1lyxn_10",
|
|
907
907
|
"typography-title-3-semibold": "_typography-title-3-semibold_1lyxn_19",
|
|
@@ -986,22 +986,22 @@ const ir = {
|
|
|
986
986
|
function lr(t) {
|
|
987
987
|
return ir[t] || "typography-subtitle-1-semibold";
|
|
988
988
|
}
|
|
989
|
-
const cr = "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", dr = "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", ur = "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", pr = "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", _r = {
|
|
989
|
+
const cr = "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", dr = "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", ur = "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", _r = "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", pr = {
|
|
990
990
|
male: cr,
|
|
991
991
|
female: dr,
|
|
992
|
-
org:
|
|
992
|
+
org: _r,
|
|
993
993
|
neutral: ur
|
|
994
|
-
},
|
|
994
|
+
}, ze = Q((t, r) => {
|
|
995
995
|
const {
|
|
996
996
|
style: a,
|
|
997
997
|
size: s = 40,
|
|
998
998
|
isLoading: i = !1,
|
|
999
999
|
isDisabled: n = !1,
|
|
1000
1000
|
shape: c = "circle",
|
|
1001
|
-
variant:
|
|
1001
|
+
variant: p = "filled",
|
|
1002
1002
|
placeholderType: d = "neutral",
|
|
1003
1003
|
name: f,
|
|
1004
|
-
imgSrc:
|
|
1004
|
+
imgSrc: _,
|
|
1005
1005
|
imgAlt: g,
|
|
1006
1006
|
icon: h,
|
|
1007
1007
|
imgProps: b,
|
|
@@ -1009,16 +1009,16 @@ const cr = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
|
|
|
1009
1009
|
className: w,
|
|
1010
1010
|
"data-testid": C,
|
|
1011
1011
|
...S
|
|
1012
|
-
} = t, { onClick: m, onPointerDown: R } = S, k = !n && !i && (!!m || !!R), [T, I] =
|
|
1012
|
+
} = t, { onClick: m, onPointerDown: R } = S, k = !n && !i && (!!m || !!R), [T, I] = Oe(!1);
|
|
1013
1013
|
we(() => {
|
|
1014
|
-
|
|
1015
|
-
}, [
|
|
1016
|
-
const
|
|
1014
|
+
_ && I(!1);
|
|
1015
|
+
}, [_]);
|
|
1016
|
+
const B = _ && !T ? "image" : h ? "icon" : f ? "name" : "placeholder", N = y || B === "name" && sr(f) || "gray", W = lr(s), x = jt(s, c), V = U(
|
|
1017
1017
|
w,
|
|
1018
1018
|
de.avatar,
|
|
1019
|
-
de[`variant-${
|
|
1019
|
+
de[`variant-${p}`],
|
|
1020
1020
|
de[`color-${N}`],
|
|
1021
|
-
|
|
1021
|
+
De[W],
|
|
1022
1022
|
{
|
|
1023
1023
|
[de.disabled]: n,
|
|
1024
1024
|
[de.loading]: i,
|
|
@@ -1046,7 +1046,7 @@ const cr = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
|
|
|
1046
1046
|
...b,
|
|
1047
1047
|
"data-testid": "avatar-placeholder",
|
|
1048
1048
|
className: de.image,
|
|
1049
|
-
src:
|
|
1049
|
+
src: pr[d],
|
|
1050
1050
|
alt: g || void 0
|
|
1051
1051
|
}
|
|
1052
1052
|
),
|
|
@@ -1056,28 +1056,28 @@ const cr = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
|
|
|
1056
1056
|
"data-testid": "avatar-image",
|
|
1057
1057
|
...b,
|
|
1058
1058
|
className: de.image,
|
|
1059
|
-
src:
|
|
1059
|
+
src: _ || void 0,
|
|
1060
1060
|
alt: g || void 0,
|
|
1061
1061
|
onLoad: () => I(!1),
|
|
1062
|
-
onError: (
|
|
1062
|
+
onError: (H) => {
|
|
1063
1063
|
var G;
|
|
1064
|
-
I(!0), (G = b == null ? void 0 : b.onError) == null || G.call(b,
|
|
1064
|
+
I(!0), (G = b == null ? void 0 : b.onError) == null || G.call(b, H);
|
|
1065
1065
|
}
|
|
1066
1066
|
}
|
|
1067
1067
|
)
|
|
1068
|
-
},
|
|
1069
|
-
k && (m == null || m(
|
|
1068
|
+
}, F = (H) => {
|
|
1069
|
+
k && (m == null || m(H));
|
|
1070
1070
|
};
|
|
1071
1071
|
return /* @__PURE__ */ o.jsx(
|
|
1072
1072
|
"div",
|
|
1073
1073
|
{
|
|
1074
1074
|
ref: r,
|
|
1075
|
-
onClick:
|
|
1076
|
-
className:
|
|
1075
|
+
onClick: F,
|
|
1076
|
+
className: V,
|
|
1077
1077
|
style: O,
|
|
1078
1078
|
"data-testid": C,
|
|
1079
1079
|
"aria-disabled": n || i,
|
|
1080
|
-
children: $[
|
|
1080
|
+
children: $[B](null)
|
|
1081
1081
|
}
|
|
1082
1082
|
);
|
|
1083
1083
|
}), fr = "_avatarGroup_157g4_1", gr = {
|
|
@@ -1085,7 +1085,7 @@ const cr = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
|
|
|
1085
1085
|
};
|
|
1086
1086
|
let hr = (t = 21) => crypto.getRandomValues(new Uint8Array(t)).reduce((r, a) => (a &= 63, a < 36 ? r += a.toString(36) : a < 62 ? r += (a - 26).toString(36).toUpperCase() : a > 62 ? r += "-" : r += "_", r), "");
|
|
1087
1087
|
function br(t, r, a, s, i, n, c) {
|
|
1088
|
-
const
|
|
1088
|
+
const p = Math.min(i, n) / 2, d = Math.min(c, p), f = ["M0,0", `H${t}`, `V${r}`, "H0", "V0", "Z"].join(" "), _ = [
|
|
1089
1089
|
`M${a + d},${s}`,
|
|
1090
1090
|
`L${a + i - d},${s}`,
|
|
1091
1091
|
// Верхний правый угол
|
|
@@ -1101,7 +1101,7 @@ function br(t, r, a, s, i, n, c) {
|
|
|
1101
1101
|
`A${d},${d} 0 0 1 ${a + d},${s}`,
|
|
1102
1102
|
"Z"
|
|
1103
1103
|
].join(" ");
|
|
1104
|
-
return `${f} ${
|
|
1104
|
+
return `${f} ${_}`;
|
|
1105
1105
|
}
|
|
1106
1106
|
const yr = 3, mr = (t) => {
|
|
1107
1107
|
const {
|
|
@@ -1111,10 +1111,10 @@ const yr = 3, mr = (t) => {
|
|
|
1111
1111
|
shape: i = "circle",
|
|
1112
1112
|
overflowCount: n = 0,
|
|
1113
1113
|
overflowProps: c
|
|
1114
|
-
} = t,
|
|
1114
|
+
} = t, p = a * s, d = -p + yr, f = jt(a, i), g = Ve(hr()).current.toString(), h = Ne(gr.avatarGroup), b = br(
|
|
1115
1115
|
a,
|
|
1116
1116
|
a,
|
|
1117
|
-
a -
|
|
1117
|
+
a - p,
|
|
1118
1118
|
// X-координата начала выреза
|
|
1119
1119
|
0,
|
|
1120
1120
|
// Y-координата начала выреза
|
|
@@ -1135,7 +1135,7 @@ const yr = 3, mr = (t) => {
|
|
|
1135
1135
|
clipPath: S && !n ? void 0 : `url(#${g})`,
|
|
1136
1136
|
marginRight: d
|
|
1137
1137
|
},
|
|
1138
|
-
children: /* @__PURE__ */ o.jsx(m, { children: /* @__PURE__ */ o.jsx(
|
|
1138
|
+
children: /* @__PURE__ */ o.jsx(m, { children: /* @__PURE__ */ o.jsx(ze, { size: a, shape: i, ...y }) })
|
|
1139
1139
|
},
|
|
1140
1140
|
Qe(y) + w
|
|
1141
1141
|
);
|
|
@@ -1148,13 +1148,13 @@ const yr = 3, mr = (t) => {
|
|
|
1148
1148
|
clipPath: S && !n ? void 0 : `url(#${g})`,
|
|
1149
1149
|
marginRight: d
|
|
1150
1150
|
},
|
|
1151
|
-
children: /* @__PURE__ */ o.jsx(
|
|
1151
|
+
children: /* @__PURE__ */ o.jsx(ze, { size: a, shape: i, ...y })
|
|
1152
1152
|
},
|
|
1153
1153
|
Qe(y) + w
|
|
1154
1154
|
);
|
|
1155
1155
|
}),
|
|
1156
1156
|
n > 0 && /* @__PURE__ */ o.jsx("div", { style: { marginRight: d }, children: /* @__PURE__ */ o.jsx(
|
|
1157
|
-
|
|
1157
|
+
ze,
|
|
1158
1158
|
{
|
|
1159
1159
|
size: a,
|
|
1160
1160
|
shape: i,
|
|
@@ -1166,9 +1166,9 @@ const yr = 3, mr = (t) => {
|
|
|
1166
1166
|
) }),
|
|
1167
1167
|
/* @__PURE__ */ o.jsx("svg", { width: "0", height: "0", children: /* @__PURE__ */ o.jsx("clipPath", { id: `${g}`, children: /* @__PURE__ */ o.jsx("path", { clipPathUnits: "objectBoundingBox", d: b, clipRule: "evenodd" }) }) })
|
|
1168
1168
|
] });
|
|
1169
|
-
},
|
|
1169
|
+
}, kn = Object.assign(ze, {
|
|
1170
1170
|
Group: mr
|
|
1171
|
-
}), vr = "_wrapper_ecbsu_5", xr = "_badge__container_ecbsu_6", Cr = "_badge__content_ecbsu_7", wr = "_interactive_ecbsu_20", Sr = "_disabled_ecbsu_21", Er = "_icon_ecbsu_22",
|
|
1171
|
+
}), vr = "_wrapper_ecbsu_5", xr = "_badge__container_ecbsu_6", Cr = "_badge__content_ecbsu_7", wr = "_interactive_ecbsu_20", Sr = "_disabled_ecbsu_21", Er = "_icon_ecbsu_22", pe = {
|
|
1172
1172
|
wrapper: vr,
|
|
1173
1173
|
badge__container: xr,
|
|
1174
1174
|
badge__content: Cr,
|
|
@@ -1216,49 +1216,49 @@ const yr = 3, mr = (t) => {
|
|
|
1216
1216
|
}
|
|
1217
1217
|
return null;
|
|
1218
1218
|
}, $r = () => {
|
|
1219
|
-
const t =
|
|
1219
|
+
const t = Ve(null), [r, a] = Oe(null);
|
|
1220
1220
|
return we(() => {
|
|
1221
1221
|
if (t.current) {
|
|
1222
1222
|
const s = Mr(t.current);
|
|
1223
1223
|
a(s);
|
|
1224
1224
|
}
|
|
1225
1225
|
}, []), { ref: t, bgColor: r };
|
|
1226
|
-
},
|
|
1226
|
+
}, Tn = Q((t, r) => {
|
|
1227
1227
|
const {
|
|
1228
1228
|
icon: a,
|
|
1229
1229
|
children: s,
|
|
1230
1230
|
variant: i = "filled",
|
|
1231
1231
|
label: n,
|
|
1232
1232
|
isHidden: c = !1,
|
|
1233
|
-
colorScheme:
|
|
1233
|
+
colorScheme: p = "red",
|
|
1234
1234
|
size: d = 20,
|
|
1235
1235
|
position: f = "top-right",
|
|
1236
|
-
positionOffset:
|
|
1236
|
+
positionOffset: _ = { x: 0, y: 0 },
|
|
1237
1237
|
cutoutBackground: g,
|
|
1238
1238
|
isDisabled: h,
|
|
1239
1239
|
className: b,
|
|
1240
1240
|
"data-testid": y = "badge",
|
|
1241
1241
|
...w
|
|
1242
|
-
} = t, { onClick: C, onPointerDown: S } = w, { ref: m, bgColor: R } = $r(), D = g || R, T = !h && (!!C || !!S), I =
|
|
1242
|
+
} = t, { onClick: C, onPointerDown: S } = w, { ref: m, bgColor: R } = $r(), D = g || R, T = !h && (!!C || !!S), I = Ne(pe.badge__container, pe[`position-${f}`]), B = Ne(
|
|
1243
1243
|
b,
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1244
|
+
pe.badge__content,
|
|
1245
|
+
pe[`color-${p}`],
|
|
1246
|
+
pe[`variant-${i}`],
|
|
1247
1247
|
{
|
|
1248
|
-
[
|
|
1249
|
-
[
|
|
1250
|
-
[
|
|
1248
|
+
[pe.disabled]: h,
|
|
1249
|
+
[pe.icon]: !!a,
|
|
1250
|
+
[pe.interactive]: T
|
|
1251
1251
|
}
|
|
1252
1252
|
), N = {
|
|
1253
1253
|
"--badge-height": `${d}px`,
|
|
1254
|
-
"--badge-offset-x": `${
|
|
1255
|
-
"--badge-offset-y": `${
|
|
1254
|
+
"--badge-offset-x": `${_.x}px`,
|
|
1255
|
+
"--badge-offset-y": `${_.y}px`,
|
|
1256
1256
|
...D && { "--badge-cutout-bg": D },
|
|
1257
1257
|
...i === "transparent" && { "--badge-cutout-bg": "transparent" }
|
|
1258
|
-
},
|
|
1259
|
-
T && (C == null || C(
|
|
1258
|
+
}, W = (a == null ? void 0 : a({})) || n, x = (V) => {
|
|
1259
|
+
T && (C == null || C(V));
|
|
1260
1260
|
};
|
|
1261
|
-
return /* @__PURE__ */ o.jsxs("div", { className:
|
|
1261
|
+
return /* @__PURE__ */ o.jsxs("div", { className: pe.wrapper, ref: m, "data-testid": y + "-wrapper", children: [
|
|
1262
1262
|
s,
|
|
1263
1263
|
!c && /* @__PURE__ */ o.jsx(
|
|
1264
1264
|
"span",
|
|
@@ -1271,32 +1271,33 @@ const yr = 3, mr = (t) => {
|
|
|
1271
1271
|
{
|
|
1272
1272
|
...w,
|
|
1273
1273
|
onClick: x,
|
|
1274
|
-
className:
|
|
1274
|
+
className: B,
|
|
1275
1275
|
"data-testid": y + "-content",
|
|
1276
1276
|
ref: r,
|
|
1277
1277
|
"aria-disabled": h,
|
|
1278
|
-
children:
|
|
1278
|
+
children: W
|
|
1279
1279
|
}
|
|
1280
1280
|
)
|
|
1281
1281
|
}
|
|
1282
1282
|
)
|
|
1283
1283
|
] });
|
|
1284
|
-
}), jr = "
|
|
1284
|
+
}), jr = "_container_1gkrm_7", Ir = "_loading_1gkrm_17", Rr = "_error_1gkrm_18", kr = "_image_1gkrm_22", Te = {
|
|
1285
1285
|
container: jr,
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1286
|
+
loading: Ir,
|
|
1287
|
+
error: Rr,
|
|
1288
|
+
image: kr
|
|
1289
|
+
}, Tr = "_loader_isv17_1", Ar = "_spin_isv17_1", Nr = "_accent_isv17_19", Dr = "_neutral_isv17_23", Or = "_positive_isv17_27", Ur = "_negative_isv17_31", Br = "_gray_isv17_35", Fr = "_special_isv17_39", Pr = "_contrast_isv17_43", zr = "_container_isv17_47", Wr = "_overlay_isv17_57", Ae = {
|
|
1290
|
+
loader: Tr,
|
|
1291
|
+
spin: Ar,
|
|
1292
|
+
accent: Nr,
|
|
1293
|
+
neutral: Dr,
|
|
1294
|
+
positive: Or,
|
|
1295
|
+
negative: Ur,
|
|
1296
|
+
gray: Br,
|
|
1297
|
+
special: Fr,
|
|
1298
|
+
contrast: Pr,
|
|
1299
|
+
container: zr,
|
|
1300
|
+
overlay: Wr,
|
|
1300
1301
|
"size-16": "_size-16_isv17_72",
|
|
1301
1302
|
"size-24": "_size-24_isv17_76",
|
|
1302
1303
|
"size-48": "_size-48_isv17_80",
|
|
@@ -1311,7 +1312,7 @@ const yr = 3, mr = (t) => {
|
|
|
1311
1312
|
style: i,
|
|
1312
1313
|
...n
|
|
1313
1314
|
}, c) => {
|
|
1314
|
-
const
|
|
1315
|
+
const p = Ne(
|
|
1315
1316
|
Ae.loader,
|
|
1316
1317
|
Ae[r],
|
|
1317
1318
|
Ae[`size-${t}`],
|
|
@@ -1321,7 +1322,7 @@ const yr = 3, mr = (t) => {
|
|
|
1321
1322
|
"svg",
|
|
1322
1323
|
{
|
|
1323
1324
|
ref: c,
|
|
1324
|
-
className:
|
|
1325
|
+
className: p,
|
|
1325
1326
|
fill: "none",
|
|
1326
1327
|
viewBox: "0 0 16 16",
|
|
1327
1328
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1340,28 +1341,28 @@ const yr = 3, mr = (t) => {
|
|
|
1340
1341
|
}
|
|
1341
1342
|
);
|
|
1342
1343
|
}
|
|
1343
|
-
),
|
|
1344
|
+
), Vr = Q((t, r) => {
|
|
1344
1345
|
const {
|
|
1345
1346
|
loading: a = !1,
|
|
1346
1347
|
size: s = 24,
|
|
1347
1348
|
variant: i = "accent",
|
|
1348
1349
|
children: n,
|
|
1349
1350
|
className: c,
|
|
1350
|
-
style:
|
|
1351
|
+
style: p,
|
|
1351
1352
|
"data-testid": d,
|
|
1352
1353
|
...f
|
|
1353
|
-
} = t,
|
|
1354
|
-
return /* @__PURE__ */ o.jsxs("div", { ref: r, className:
|
|
1354
|
+
} = t, _ = Ne(Ae.container, c);
|
|
1355
|
+
return /* @__PURE__ */ o.jsxs("div", { ref: r, className: _, style: p, "data-testid": d, ...f, children: [
|
|
1355
1356
|
n,
|
|
1356
1357
|
a && /* @__PURE__ */ o.jsx("div", { className: Ae.overlay, children: /* @__PURE__ */ o.jsx(It, { size: s, variant: i, "data-testid": `${d}-spinner` }) })
|
|
1357
1358
|
] });
|
|
1358
|
-
}),
|
|
1359
|
-
|
|
1359
|
+
}), Hr = Q((t, r) => t.children ? /* @__PURE__ */ o.jsx(
|
|
1360
|
+
Vr,
|
|
1360
1361
|
{
|
|
1361
1362
|
ref: r,
|
|
1362
1363
|
...t
|
|
1363
1364
|
}
|
|
1364
|
-
) : /* @__PURE__ */ o.jsx(It, { ref: r, ...t })),
|
|
1365
|
+
) : /* @__PURE__ */ o.jsx(It, { ref: r, ...t })), qr = ({ width: t = 48, height: r = 48, className: a, "data-testid": s }) => /* @__PURE__ */ o.jsx(
|
|
1365
1366
|
"svg",
|
|
1366
1367
|
{
|
|
1367
1368
|
width: t,
|
|
@@ -1382,29 +1383,36 @@ const yr = 3, mr = (t) => {
|
|
|
1382
1383
|
}
|
|
1383
1384
|
)
|
|
1384
1385
|
}
|
|
1385
|
-
),
|
|
1386
|
+
), An = Q((t, r) => {
|
|
1386
1387
|
const {
|
|
1387
1388
|
alt: a = "",
|
|
1388
1389
|
loading: s = "lazy",
|
|
1389
1390
|
src: i,
|
|
1390
1391
|
isLoading: n = !1,
|
|
1391
1392
|
className: c,
|
|
1392
|
-
containerClassName:
|
|
1393
|
+
containerClassName: p,
|
|
1393
1394
|
"data-testid": d = "image",
|
|
1394
1395
|
onError: f,
|
|
1395
|
-
onLoad:
|
|
1396
|
+
onLoad: _,
|
|
1396
1397
|
...g
|
|
1397
|
-
} = t, [h, b] =
|
|
1398
|
-
|
|
1398
|
+
} = t, [h, b] = Oe("loading"), y = h === "error", w = (n || h === "loading") && !y, C = h === "loaded" && !n, S = U(
|
|
1399
|
+
Te.container,
|
|
1400
|
+
{
|
|
1401
|
+
[Te.loading]: w,
|
|
1402
|
+
[Te.error]: y
|
|
1403
|
+
},
|
|
1404
|
+
p
|
|
1405
|
+
), m = U(
|
|
1406
|
+
Te.image,
|
|
1399
1407
|
{
|
|
1400
|
-
[
|
|
1408
|
+
[Te.loading]: w
|
|
1401
1409
|
},
|
|
1402
1410
|
c
|
|
1403
1411
|
), R = Ce(
|
|
1404
1412
|
(T) => {
|
|
1405
|
-
b("loaded"),
|
|
1413
|
+
b("loaded"), _ == null || _(T);
|
|
1406
1414
|
},
|
|
1407
|
-
[
|
|
1415
|
+
[_]
|
|
1408
1416
|
), D = Ce(
|
|
1409
1417
|
(T) => {
|
|
1410
1418
|
b("error"), f == null || f(T);
|
|
@@ -1412,7 +1420,7 @@ const yr = 3, mr = (t) => {
|
|
|
1412
1420
|
[f]
|
|
1413
1421
|
), k = {
|
|
1414
1422
|
loader: /* @__PURE__ */ o.jsxs(Mt, { children: [
|
|
1415
|
-
/* @__PURE__ */ o.jsx(
|
|
1423
|
+
/* @__PURE__ */ o.jsx(Hr, { size: 48, variant: "special", "data-testid": `${d}-loader` }),
|
|
1416
1424
|
/* @__PURE__ */ o.jsx(
|
|
1417
1425
|
"img",
|
|
1418
1426
|
{
|
|
@@ -1424,7 +1432,7 @@ const yr = 3, mr = (t) => {
|
|
|
1424
1432
|
}
|
|
1425
1433
|
)
|
|
1426
1434
|
] }),
|
|
1427
|
-
error: /* @__PURE__ */ o.jsx(
|
|
1435
|
+
error: /* @__PURE__ */ o.jsx(qr, { "data-testid": `${d}-fallback` }),
|
|
1428
1436
|
image: /* @__PURE__ */ o.jsx(
|
|
1429
1437
|
"img",
|
|
1430
1438
|
{
|
|
@@ -1448,17 +1456,17 @@ const yr = 3, mr = (t) => {
|
|
|
1448
1456
|
y && k.error,
|
|
1449
1457
|
C && k.image
|
|
1450
1458
|
] });
|
|
1451
|
-
}),
|
|
1452
|
-
locale:
|
|
1453
|
-
}),
|
|
1459
|
+
}), Gr = {}, Rt = ra({
|
|
1460
|
+
locale: Gr
|
|
1461
|
+
}), Zr = () => {
|
|
1454
1462
|
const t = sa(Rt);
|
|
1455
1463
|
if (!t)
|
|
1456
1464
|
throw new Error("useConfig must be used within a ConfigProvider");
|
|
1457
1465
|
return t;
|
|
1458
|
-
},
|
|
1459
|
-
const { locale: t } =
|
|
1466
|
+
}, Nn = () => {
|
|
1467
|
+
const { locale: t } = Zr();
|
|
1460
1468
|
return t;
|
|
1461
|
-
},
|
|
1469
|
+
}, Yr = {}, Jr = {}, Kr = {}, Dn = ({
|
|
1462
1470
|
locale: t = {},
|
|
1463
1471
|
theme: r,
|
|
1464
1472
|
children: a,
|
|
@@ -1475,75 +1483,75 @@ const yr = 3, mr = (t) => {
|
|
|
1475
1483
|
"div",
|
|
1476
1484
|
{
|
|
1477
1485
|
"data-testid": "ConfigProvider-component",
|
|
1478
|
-
className:
|
|
1486
|
+
className: U(Yr, Jr, Kr, s)
|
|
1479
1487
|
}
|
|
1480
1488
|
),
|
|
1481
1489
|
/* @__PURE__ */ o.jsx(Rt.Provider, { value: { locale: t }, children: a })
|
|
1482
|
-
] })),
|
|
1483
|
-
tag:
|
|
1484
|
-
label:
|
|
1485
|
-
iconWrapper:
|
|
1486
|
-
medium:
|
|
1487
|
-
large:
|
|
1488
|
-
disabled:
|
|
1489
|
-
neutral:
|
|
1490
|
-
positive:
|
|
1491
|
-
negative:
|
|
1492
|
-
warning:
|
|
1493
|
-
vivid:
|
|
1494
|
-
special:
|
|
1495
|
-
accent:
|
|
1496
|
-
blue:
|
|
1497
|
-
lovely:
|
|
1490
|
+
] })), On = {}, Xr = "_tag_1llsi_1", Qr = "_label_1llsi_16", es = "_iconWrapper_1llsi_20", ts = "_medium_1llsi_27", as = "_large_1llsi_33", rs = "_disabled_1llsi_43", ss = "_neutral_1llsi_47", ns = "_positive_1llsi_53", os = "_negative_1llsi_59", is = "_warning_1llsi_65", ls = "_vivid_1llsi_71", cs = "_special_1llsi_77", ds = "_accent_1llsi_84", us = "_blue_1llsi_90", _s = "_lovely_1llsi_96", ps = "_dreamy_1llsi_102", xe = {
|
|
1491
|
+
tag: Xr,
|
|
1492
|
+
label: Qr,
|
|
1493
|
+
iconWrapper: es,
|
|
1494
|
+
medium: ts,
|
|
1495
|
+
large: as,
|
|
1496
|
+
disabled: rs,
|
|
1497
|
+
neutral: ss,
|
|
1498
|
+
positive: ns,
|
|
1499
|
+
negative: os,
|
|
1500
|
+
warning: is,
|
|
1501
|
+
vivid: ls,
|
|
1502
|
+
special: cs,
|
|
1503
|
+
accent: ds,
|
|
1504
|
+
blue: us,
|
|
1505
|
+
lovely: _s,
|
|
1498
1506
|
dreamy: ps
|
|
1499
|
-
},
|
|
1507
|
+
}, Un = Q((t, r) => {
|
|
1500
1508
|
const {
|
|
1501
1509
|
className: a,
|
|
1502
1510
|
children: s,
|
|
1503
1511
|
componentStyle: i = "neutral",
|
|
1504
1512
|
size: n = "medium",
|
|
1505
1513
|
disabled: c = !1,
|
|
1506
|
-
showLabel:
|
|
1514
|
+
showLabel: p = !!s,
|
|
1507
1515
|
slotStart: d,
|
|
1508
1516
|
slotEnd: f,
|
|
1509
|
-
slotStartWrapperProps:
|
|
1517
|
+
slotStartWrapperProps: _ = {},
|
|
1510
1518
|
slotEndWrapperProps: g = {},
|
|
1511
1519
|
"data-testid": h
|
|
1512
|
-
} = t, { className: b, ...y } =
|
|
1520
|
+
} = t, { className: b, ...y } = _, { className: w, ...C } = g;
|
|
1513
1521
|
return /* @__PURE__ */ o.jsxs(
|
|
1514
1522
|
"div",
|
|
1515
1523
|
{
|
|
1516
|
-
className:
|
|
1524
|
+
className: U(
|
|
1517
1525
|
xe.tag,
|
|
1518
1526
|
xe[n],
|
|
1519
1527
|
xe[i],
|
|
1520
1528
|
{
|
|
1521
1529
|
[xe.disabled]: c,
|
|
1522
|
-
[
|
|
1523
|
-
[
|
|
1530
|
+
[De["typography-label-3-regular"]]: n === "medium",
|
|
1531
|
+
[De["typography-subtitle-1-semibold"]]: n === "large"
|
|
1524
1532
|
},
|
|
1525
1533
|
a
|
|
1526
1534
|
),
|
|
1527
1535
|
"data-testid": h || "tag-component",
|
|
1528
1536
|
ref: r,
|
|
1529
1537
|
children: [
|
|
1530
|
-
d && /* @__PURE__ */ o.jsx("span", { className:
|
|
1531
|
-
|
|
1532
|
-
f && /* @__PURE__ */ o.jsx("span", { className:
|
|
1538
|
+
d && /* @__PURE__ */ o.jsx("span", { className: U([xe.iconWrapper, b]), ...y, children: d }),
|
|
1539
|
+
p && /* @__PURE__ */ o.jsx("span", { className: U([xe.label]), children: s }),
|
|
1540
|
+
f && /* @__PURE__ */ o.jsx("span", { className: U([xe.iconWrapper, w]), ...C, children: f })
|
|
1533
1541
|
]
|
|
1534
1542
|
}
|
|
1535
1543
|
);
|
|
1536
|
-
}),
|
|
1537
|
-
checkbox:
|
|
1538
|
-
input:
|
|
1539
|
-
icon:
|
|
1540
|
-
container:
|
|
1541
|
-
error:
|
|
1542
|
-
checkboxWrapper:
|
|
1543
|
-
medium:
|
|
1544
|
-
large:
|
|
1545
|
-
label:
|
|
1546
|
-
},
|
|
1544
|
+
}), fs = "_checkbox_qo5f5_43", gs = "_input_qo5f5_59", hs = "_icon_qo5f5_67", bs = "_container_qo5f5_84", ys = "_error_qo5f5_135", ms = "_checkboxWrapper_qo5f5_147", vs = "_medium_qo5f5_201", xs = "_large_qo5f5_206", Cs = "_label_qo5f5_247", ge = {
|
|
1545
|
+
checkbox: fs,
|
|
1546
|
+
input: gs,
|
|
1547
|
+
icon: hs,
|
|
1548
|
+
container: bs,
|
|
1549
|
+
error: ys,
|
|
1550
|
+
checkboxWrapper: ms,
|
|
1551
|
+
medium: vs,
|
|
1552
|
+
large: xs,
|
|
1553
|
+
label: Cs
|
|
1554
|
+
}, ws = ({
|
|
1547
1555
|
width: t = 12,
|
|
1548
1556
|
height: r = 9,
|
|
1549
1557
|
className: a = "",
|
|
@@ -1569,7 +1577,7 @@ const yr = 3, mr = (t) => {
|
|
|
1569
1577
|
}
|
|
1570
1578
|
)
|
|
1571
1579
|
}
|
|
1572
|
-
),
|
|
1580
|
+
), Ss = ({
|
|
1573
1581
|
width: t = 12,
|
|
1574
1582
|
height: r = 2,
|
|
1575
1583
|
className: a = "",
|
|
@@ -1595,17 +1603,17 @@ const yr = 3, mr = (t) => {
|
|
|
1595
1603
|
}
|
|
1596
1604
|
)
|
|
1597
1605
|
}
|
|
1598
|
-
),
|
|
1606
|
+
), Es = {
|
|
1599
1607
|
medium: { width: 10.83, height: 7.5 },
|
|
1600
1608
|
large: { width: 13, height: 9 }
|
|
1601
|
-
},
|
|
1609
|
+
}, Ls = ({
|
|
1602
1610
|
size: t,
|
|
1603
1611
|
isChecked: r,
|
|
1604
1612
|
isDisabled: a,
|
|
1605
1613
|
indeterminate: s,
|
|
1606
1614
|
dataTestId: i
|
|
1607
1615
|
}) => {
|
|
1608
|
-
const { width: n, height: c } =
|
|
1616
|
+
const { width: n, height: c } = Es[t];
|
|
1609
1617
|
return /* @__PURE__ */ o.jsx(
|
|
1610
1618
|
"div",
|
|
1611
1619
|
{
|
|
@@ -1614,20 +1622,20 @@ const yr = 3, mr = (t) => {
|
|
|
1614
1622
|
"data-checked": r,
|
|
1615
1623
|
"data-disabled": a,
|
|
1616
1624
|
"data-indeterminate": s,
|
|
1617
|
-
children: s ? /* @__PURE__ */ o.jsx(
|
|
1625
|
+
children: s ? /* @__PURE__ */ o.jsx(Ss, { width: n, height: c }) : /* @__PURE__ */ o.jsx(ws, { width: n, height: c })
|
|
1618
1626
|
}
|
|
1619
1627
|
);
|
|
1620
|
-
},
|
|
1628
|
+
}, Bn = Q((t, r) => {
|
|
1621
1629
|
const {
|
|
1622
1630
|
name: a,
|
|
1623
1631
|
value: s,
|
|
1624
1632
|
size: i = "medium",
|
|
1625
1633
|
indeterminate: n = !1,
|
|
1626
1634
|
loading: c = !1,
|
|
1627
|
-
error:
|
|
1635
|
+
error: p,
|
|
1628
1636
|
disabled: d = !1,
|
|
1629
1637
|
containerClassName: f,
|
|
1630
|
-
className:
|
|
1638
|
+
className: _,
|
|
1631
1639
|
containerStyle: g,
|
|
1632
1640
|
style: h,
|
|
1633
1641
|
children: b,
|
|
@@ -1635,28 +1643,28 @@ const yr = 3, mr = (t) => {
|
|
|
1635
1643
|
tabIndex: w,
|
|
1636
1644
|
onChange: C,
|
|
1637
1645
|
"data-testid": S = "checkbox"
|
|
1638
|
-
} = t, [m, R] =
|
|
1646
|
+
} = t, [m, R] = Oe(!1), D = s ?? m, k = d || c, T = !!p, I = D || n, B = U(ge.container, ge[i], f), N = U(
|
|
1639
1647
|
ge.checkbox,
|
|
1640
1648
|
ge[i],
|
|
1641
1649
|
{
|
|
1642
1650
|
[ge.error]: T
|
|
1643
1651
|
},
|
|
1644
|
-
|
|
1645
|
-
),
|
|
1652
|
+
_
|
|
1653
|
+
), W = ($) => {
|
|
1646
1654
|
k || (R($.target.checked), C == null || C($.target.checked, $));
|
|
1647
1655
|
}, x = ($) => {
|
|
1648
1656
|
if ($.key === "Enter" && !k) {
|
|
1649
1657
|
$.preventDefault();
|
|
1650
|
-
const
|
|
1651
|
-
R(
|
|
1658
|
+
const F = !I;
|
|
1659
|
+
R(F), C == null || C(F);
|
|
1652
1660
|
}
|
|
1653
|
-
},
|
|
1661
|
+
}, V = ($) => {
|
|
1654
1662
|
y || $.preventDefault();
|
|
1655
1663
|
}, O = ($) => $.stopPropagation();
|
|
1656
1664
|
return /* @__PURE__ */ o.jsxs(
|
|
1657
1665
|
"label",
|
|
1658
1666
|
{
|
|
1659
|
-
className:
|
|
1667
|
+
className: B,
|
|
1660
1668
|
htmlFor: a,
|
|
1661
1669
|
style: g,
|
|
1662
1670
|
"data-testid": S,
|
|
@@ -1672,7 +1680,7 @@ const yr = 3, mr = (t) => {
|
|
|
1672
1680
|
"aria-checked": I,
|
|
1673
1681
|
"aria-disabled": k,
|
|
1674
1682
|
"aria-invalid": T,
|
|
1675
|
-
"aria-describedby":
|
|
1683
|
+
"aria-describedby": p ? `${a}-error` : void 0,
|
|
1676
1684
|
"data-testid": `${S}-label`,
|
|
1677
1685
|
children: [
|
|
1678
1686
|
/* @__PURE__ */ o.jsx(
|
|
@@ -1685,16 +1693,16 @@ const yr = 3, mr = (t) => {
|
|
|
1685
1693
|
checked: I,
|
|
1686
1694
|
disabled: k,
|
|
1687
1695
|
className: ge.input,
|
|
1688
|
-
onChange:
|
|
1696
|
+
onChange: W,
|
|
1689
1697
|
onClick: O,
|
|
1690
1698
|
"aria-checked": I,
|
|
1691
1699
|
"aria-invalid": T,
|
|
1692
|
-
"aria-describedby":
|
|
1700
|
+
"aria-describedby": p ? `${a}-error` : void 0,
|
|
1693
1701
|
"data-testid": `${S}-input`
|
|
1694
1702
|
}
|
|
1695
1703
|
),
|
|
1696
1704
|
/* @__PURE__ */ o.jsx(
|
|
1697
|
-
|
|
1705
|
+
Ls,
|
|
1698
1706
|
{
|
|
1699
1707
|
name: a,
|
|
1700
1708
|
size: i,
|
|
@@ -1713,32 +1721,32 @@ const yr = 3, mr = (t) => {
|
|
|
1713
1721
|
"data-testid": `${S}-label-text`,
|
|
1714
1722
|
"data-clickable-label": y,
|
|
1715
1723
|
className: ge.label,
|
|
1716
|
-
onClick:
|
|
1724
|
+
onClick: V,
|
|
1717
1725
|
children: b
|
|
1718
1726
|
}
|
|
1719
1727
|
)
|
|
1720
1728
|
]
|
|
1721
1729
|
}
|
|
1722
1730
|
);
|
|
1723
|
-
}),
|
|
1724
|
-
typography:
|
|
1725
|
-
disabled:
|
|
1726
|
-
primary:
|
|
1727
|
-
secondary:
|
|
1728
|
-
tertiary:
|
|
1729
|
-
accent:
|
|
1731
|
+
}), Ms = "_typography_zt7xg_1", $s = "_disabled_zt7xg_8", js = "_primary_zt7xg_13", Is = "_secondary_zt7xg_18", Rs = "_tertiary_zt7xg_23", ks = "_accent_zt7xg_28", Ts = "_positive_zt7xg_38", As = "_negative_zt7xg_48", Ns = "_warning_zt7xg_58", Ds = "_special_zt7xg_68", Os = "_contrast_zt7xg_78", je = {
|
|
1732
|
+
typography: Ms,
|
|
1733
|
+
disabled: $s,
|
|
1734
|
+
primary: js,
|
|
1735
|
+
secondary: Is,
|
|
1736
|
+
tertiary: Rs,
|
|
1737
|
+
accent: ks,
|
|
1730
1738
|
"accent-secondary": "_accent-secondary_zt7xg_33",
|
|
1731
|
-
positive:
|
|
1739
|
+
positive: Ts,
|
|
1732
1740
|
"positive-secondary": "_positive-secondary_zt7xg_43",
|
|
1733
|
-
negative:
|
|
1741
|
+
negative: As,
|
|
1734
1742
|
"negative-secondary": "_negative-secondary_zt7xg_53",
|
|
1735
|
-
warning:
|
|
1743
|
+
warning: Ns,
|
|
1736
1744
|
"warning-secondary": "_warning-secondary_zt7xg_63",
|
|
1737
|
-
special:
|
|
1745
|
+
special: Ds,
|
|
1738
1746
|
"special-secondary": "_special-secondary_zt7xg_73",
|
|
1739
|
-
contrast:
|
|
1747
|
+
contrast: Os,
|
|
1740
1748
|
"contrast-secondary": "_contrast-secondary_zt7xg_83"
|
|
1741
|
-
},
|
|
1749
|
+
}, Us = {
|
|
1742
1750
|
1: "h1",
|
|
1743
1751
|
2: "h2",
|
|
1744
1752
|
3: "h3",
|
|
@@ -1752,21 +1760,21 @@ const yr = 3, mr = (t) => {
|
|
|
1752
1760
|
className: i,
|
|
1753
1761
|
"data-testid": n,
|
|
1754
1762
|
as: c,
|
|
1755
|
-
fontWeight:
|
|
1763
|
+
fontWeight: p = "semibold",
|
|
1756
1764
|
disabled: d = !1,
|
|
1757
1765
|
typographyStyle: f = "primary",
|
|
1758
|
-
...
|
|
1766
|
+
..._
|
|
1759
1767
|
}, g) => {
|
|
1760
|
-
const h = c ||
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1768
|
+
const h = c || Us[a], b = U(
|
|
1769
|
+
je.typography,
|
|
1770
|
+
De[`typography-${t}-${a}-${p}`],
|
|
1771
|
+
je[f],
|
|
1764
1772
|
{
|
|
1765
|
-
[
|
|
1773
|
+
[je.disabled]: d
|
|
1766
1774
|
},
|
|
1767
1775
|
i
|
|
1768
1776
|
);
|
|
1769
|
-
return s ? /* @__PURE__ */ o.jsx(h, { ref: g, className: b, "data-testid": n, ...
|
|
1777
|
+
return s ? /* @__PURE__ */ o.jsx(h, { ref: g, className: b, "data-testid": n, ..._, children: s }) : null;
|
|
1770
1778
|
}
|
|
1771
1779
|
);
|
|
1772
1780
|
return r.displayName = `Typography.${t === "title" ? "Title" : "Subtitle"}`, r;
|
|
@@ -1778,17 +1786,17 @@ const yr = 3, mr = (t) => {
|
|
|
1778
1786
|
className: i,
|
|
1779
1787
|
"data-testid": n,
|
|
1780
1788
|
as: c = "p",
|
|
1781
|
-
fontWeight:
|
|
1789
|
+
fontWeight: p = "regular",
|
|
1782
1790
|
disabled: d = !1,
|
|
1783
1791
|
typographyStyle: f = "primary",
|
|
1784
|
-
...
|
|
1792
|
+
..._
|
|
1785
1793
|
}, g) => {
|
|
1786
|
-
const h = c, b =
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1794
|
+
const h = c, b = U(
|
|
1795
|
+
je.typography,
|
|
1796
|
+
De[`typography-${t}-${a}-${p}`],
|
|
1797
|
+
je[f],
|
|
1790
1798
|
{
|
|
1791
|
-
[
|
|
1799
|
+
[je.disabled]: d
|
|
1792
1800
|
},
|
|
1793
1801
|
i
|
|
1794
1802
|
);
|
|
@@ -1798,48 +1806,48 @@ const yr = 3, mr = (t) => {
|
|
|
1798
1806
|
ref: g,
|
|
1799
1807
|
className: b,
|
|
1800
1808
|
"data-testid": n,
|
|
1801
|
-
...
|
|
1809
|
+
..._,
|
|
1802
1810
|
children: s
|
|
1803
1811
|
}
|
|
1804
1812
|
) : null;
|
|
1805
1813
|
}
|
|
1806
1814
|
);
|
|
1807
1815
|
return r.displayName = `Typography.${t.charAt(0).toUpperCase() + t.slice(1)}`, r;
|
|
1808
|
-
},
|
|
1816
|
+
}, Fn = {
|
|
1809
1817
|
Title: xt("title"),
|
|
1810
1818
|
Subtitle: xt("subtitle"),
|
|
1811
1819
|
Label: Ct("label"),
|
|
1812
1820
|
Paragraph: Ct("paragraph")
|
|
1813
|
-
},
|
|
1814
|
-
inputBase:
|
|
1815
|
-
wrapper:
|
|
1821
|
+
}, Bs = "_inputBase_1m6fe_85", Fs = "_wrapper_1m6fe_95", Ps = "_gripHandle_1m6fe_169", zs = "_error_1m6fe_230", Ws = "_tabFocused_1m6fe_237", Vs = "_disabled_1m6fe_262", Hs = "_loading_1m6fe_269", qs = "_label_1m6fe_279", Gs = "_small_1m6fe_292", Zs = "_large_1m6fe_299", Ys = "_leftSection_1m6fe_306", Js = "_rightSection_1m6fe_315", Ks = "_helper_1m6fe_351", Xs = "_floatingLabel_1m6fe_376", Qs = "_focused_1m6fe_434", en = "_filled_1m6fe_435", tn = "_medium_1m6fe_469", an = "_characterLimit_1m6fe_510", rn = "_input_1m6fe_85", sn = "_textarea_1m6fe_109", nn = "_truncate_1m6fe_637", on = "_hint_1m6fe_719", M = {
|
|
1822
|
+
inputBase: Bs,
|
|
1823
|
+
wrapper: Fs,
|
|
1816
1824
|
"textarea-wrapper": "_textarea-wrapper_1m6fe_109",
|
|
1817
|
-
gripHandle:
|
|
1818
|
-
error:
|
|
1819
|
-
tabFocused:
|
|
1820
|
-
disabled:
|
|
1821
|
-
loading:
|
|
1822
|
-
label:
|
|
1823
|
-
small:
|
|
1824
|
-
large:
|
|
1825
|
-
leftSection:
|
|
1826
|
-
rightSection:
|
|
1827
|
-
helper:
|
|
1828
|
-
floatingLabel:
|
|
1829
|
-
focused:
|
|
1830
|
-
filled:
|
|
1831
|
-
medium:
|
|
1832
|
-
characterLimit:
|
|
1833
|
-
input:
|
|
1834
|
-
textarea:
|
|
1825
|
+
gripHandle: Ps,
|
|
1826
|
+
error: zs,
|
|
1827
|
+
tabFocused: Ws,
|
|
1828
|
+
disabled: Vs,
|
|
1829
|
+
loading: Hs,
|
|
1830
|
+
label: qs,
|
|
1831
|
+
small: Gs,
|
|
1832
|
+
large: Zs,
|
|
1833
|
+
leftSection: Ys,
|
|
1834
|
+
rightSection: Js,
|
|
1835
|
+
helper: Ks,
|
|
1836
|
+
floatingLabel: Xs,
|
|
1837
|
+
focused: Qs,
|
|
1838
|
+
filled: en,
|
|
1839
|
+
medium: tn,
|
|
1840
|
+
characterLimit: an,
|
|
1841
|
+
input: rn,
|
|
1842
|
+
textarea: sn,
|
|
1835
1843
|
"size-small": "_size-small_1m6fe_586",
|
|
1836
1844
|
"size-medium": "_size-medium_1m6fe_592",
|
|
1837
1845
|
"size-large": "_size-large_1m6fe_598",
|
|
1838
1846
|
"with-floating-label": "_with-floating-label_1m6fe_605",
|
|
1839
|
-
truncate:
|
|
1840
|
-
hint:
|
|
1847
|
+
truncate: nn,
|
|
1848
|
+
hint: on,
|
|
1841
1849
|
"has-hint": "_has-hint_1m6fe_736"
|
|
1842
|
-
},
|
|
1850
|
+
}, ln = ({
|
|
1843
1851
|
width: t = 8,
|
|
1844
1852
|
height: r = 8,
|
|
1845
1853
|
className: a,
|
|
@@ -1871,7 +1879,7 @@ const yr = 3, mr = (t) => {
|
|
|
1871
1879
|
onClick: i,
|
|
1872
1880
|
...n
|
|
1873
1881
|
}) => {
|
|
1874
|
-
const
|
|
1882
|
+
const p = {
|
|
1875
1883
|
display: "inline-block",
|
|
1876
1884
|
color: s,
|
|
1877
1885
|
...{
|
|
@@ -1888,7 +1896,7 @@ const yr = 3, mr = (t) => {
|
|
|
1888
1896
|
"svg",
|
|
1889
1897
|
{
|
|
1890
1898
|
className: t,
|
|
1891
|
-
style:
|
|
1899
|
+
style: p,
|
|
1892
1900
|
viewBox: "0 0 16 16",
|
|
1893
1901
|
fill: "none",
|
|
1894
1902
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1906,8 +1914,8 @@ const yr = 3, mr = (t) => {
|
|
|
1906
1914
|
)
|
|
1907
1915
|
}
|
|
1908
1916
|
);
|
|
1909
|
-
},
|
|
1910
|
-
const a =
|
|
1917
|
+
}, cn = (t, r) => {
|
|
1918
|
+
const a = Ve(null), s = Ve(null);
|
|
1911
1919
|
return we(() => {
|
|
1912
1920
|
const i = r === "textarea" ? a.current : s.current;
|
|
1913
1921
|
i && i.value !== t && (i.value = t || "");
|
|
@@ -1916,7 +1924,7 @@ const yr = 3, mr = (t) => {
|
|
|
1916
1924
|
inputRef: s,
|
|
1917
1925
|
currentRef: r === "textarea" ? a : s
|
|
1918
1926
|
};
|
|
1919
|
-
},
|
|
1927
|
+
}, dn = (t, r, a) => {
|
|
1920
1928
|
const s = () => {
|
|
1921
1929
|
if (!a.current || r !== "hug") return;
|
|
1922
1930
|
const i = a.current.scrollTop;
|
|
@@ -1929,22 +1937,22 @@ const yr = 3, mr = (t) => {
|
|
|
1929
1937
|
return we(s, [t, r]), we(() => {
|
|
1930
1938
|
r === "hug" && a.current && s();
|
|
1931
1939
|
}, []), { resizeTextArea: s };
|
|
1932
|
-
},
|
|
1940
|
+
}, un = (t, r, a, s) => ({ handleGripMouseDown: Ce(
|
|
1933
1941
|
(n) => {
|
|
1934
1942
|
if (!t || r || a || !(s === "fixed" || !s)) return;
|
|
1935
1943
|
n.preventDefault(), n.stopPropagation();
|
|
1936
1944
|
const c = n.currentTarget.closest(`.${M.wrapper}`);
|
|
1937
1945
|
if (!c) return;
|
|
1938
|
-
const
|
|
1939
|
-
const h = g.clientY -
|
|
1946
|
+
const p = n.clientY, d = c.clientHeight, f = (g) => {
|
|
1947
|
+
const h = g.clientY - p, b = Math.min(100, d), y = Math.max(b, d + h);
|
|
1940
1948
|
c.style.height = `${y}px`;
|
|
1941
|
-
},
|
|
1942
|
-
document.removeEventListener("mousemove", f), document.removeEventListener("mouseup",
|
|
1949
|
+
}, _ = () => {
|
|
1950
|
+
document.removeEventListener("mousemove", f), document.removeEventListener("mouseup", _);
|
|
1943
1951
|
};
|
|
1944
|
-
document.addEventListener("mousemove", f), document.addEventListener("mouseup",
|
|
1952
|
+
document.addEventListener("mousemove", f), document.addEventListener("mouseup", _);
|
|
1945
1953
|
},
|
|
1946
1954
|
[t, r, a, s]
|
|
1947
|
-
) }), wt = 30,
|
|
1955
|
+
) }), wt = 30, _n = Q(
|
|
1948
1956
|
({
|
|
1949
1957
|
component: t = "input",
|
|
1950
1958
|
size: r = "medium",
|
|
@@ -1953,10 +1961,10 @@ const yr = 3, mr = (t) => {
|
|
|
1953
1961
|
disabled: i = !1,
|
|
1954
1962
|
loading: n = !1,
|
|
1955
1963
|
onFocus: c,
|
|
1956
|
-
onBlur:
|
|
1964
|
+
onBlur: p,
|
|
1957
1965
|
onChange: d,
|
|
1958
1966
|
onKeyUp: f,
|
|
1959
|
-
maxLength:
|
|
1967
|
+
maxLength: _,
|
|
1960
1968
|
className: g,
|
|
1961
1969
|
style: h,
|
|
1962
1970
|
truncate: b = !1,
|
|
@@ -1967,8 +1975,8 @@ const yr = 3, mr = (t) => {
|
|
|
1967
1975
|
resize: m,
|
|
1968
1976
|
...R
|
|
1969
1977
|
}, D) => {
|
|
1970
|
-
const { textareaRef: k, inputRef: T, currentRef: I } =
|
|
1971
|
-
if (
|
|
1978
|
+
const { textareaRef: k, inputRef: T, currentRef: I } = cn(a, t);
|
|
1979
|
+
if (dn(a, m, k), oa(D, () => I.current, [I]), t === "textarea")
|
|
1972
1980
|
return /* @__PURE__ */ o.jsx(
|
|
1973
1981
|
"textarea",
|
|
1974
1982
|
{
|
|
@@ -1978,11 +1986,11 @@ const yr = 3, mr = (t) => {
|
|
|
1978
1986
|
placeholder: s,
|
|
1979
1987
|
disabled: i || n,
|
|
1980
1988
|
onFocus: c,
|
|
1981
|
-
onBlur:
|
|
1989
|
+
onBlur: p,
|
|
1982
1990
|
onChange: d,
|
|
1983
1991
|
onKeyUp: f,
|
|
1984
|
-
maxLength:
|
|
1985
|
-
className:
|
|
1992
|
+
maxLength: _,
|
|
1993
|
+
className: U(
|
|
1986
1994
|
M.textarea,
|
|
1987
1995
|
M[`size-${r}`],
|
|
1988
1996
|
y && M["with-floating-label"],
|
|
@@ -2007,11 +2015,11 @@ const yr = 3, mr = (t) => {
|
|
|
2007
2015
|
placeholder: s,
|
|
2008
2016
|
disabled: i || n,
|
|
2009
2017
|
onFocus: c,
|
|
2010
|
-
onBlur:
|
|
2018
|
+
onBlur: p,
|
|
2011
2019
|
onChange: d,
|
|
2012
2020
|
onKeyUp: f,
|
|
2013
|
-
maxLength:
|
|
2014
|
-
className:
|
|
2021
|
+
maxLength: _,
|
|
2022
|
+
className: U(
|
|
2015
2023
|
M.input,
|
|
2016
2024
|
M[`size-${r}`],
|
|
2017
2025
|
y && M["with-floating-label"],
|
|
@@ -2040,10 +2048,10 @@ const yr = 3, mr = (t) => {
|
|
|
2040
2048
|
loading: i = !1,
|
|
2041
2049
|
className: n,
|
|
2042
2050
|
wrapperProps: c,
|
|
2043
|
-
wrapperStyles:
|
|
2051
|
+
wrapperStyles: p,
|
|
2044
2052
|
floatingLabelStyles: d,
|
|
2045
2053
|
prefixStyles: f,
|
|
2046
|
-
suffixStyles:
|
|
2054
|
+
suffixStyles: _,
|
|
2047
2055
|
labelProps: g,
|
|
2048
2056
|
helperProps: h,
|
|
2049
2057
|
showLimit: b = !1,
|
|
@@ -2057,42 +2065,42 @@ const yr = 3, mr = (t) => {
|
|
|
2057
2065
|
showLabel: k = !0,
|
|
2058
2066
|
labelClassName: T,
|
|
2059
2067
|
hasValue: I = !1,
|
|
2060
|
-
helper:
|
|
2068
|
+
helper: B,
|
|
2061
2069
|
id: N,
|
|
2062
|
-
value:
|
|
2070
|
+
value: W = "",
|
|
2063
2071
|
resize: x,
|
|
2064
|
-
showGrip:
|
|
2072
|
+
showGrip: V = !1,
|
|
2065
2073
|
...O
|
|
2066
2074
|
}, $) => {
|
|
2067
|
-
const
|
|
2075
|
+
const F = $t(), H = N || F, G = C && w && (I || S), Z = w && w.length > wt ? w.substring(0, wt) + "..." : w, te = U(
|
|
2068
2076
|
M.wrapper,
|
|
2069
2077
|
a && M.error,
|
|
2070
2078
|
s && M.disabled,
|
|
2071
2079
|
i && M.loading,
|
|
2072
2080
|
G && M["has-hint"],
|
|
2073
2081
|
n
|
|
2074
|
-
), ae =
|
|
2082
|
+
), ae = U(
|
|
2075
2083
|
M.floatingLabel,
|
|
2076
2084
|
M[r],
|
|
2077
2085
|
I && M.filled,
|
|
2078
2086
|
T
|
|
2079
|
-
), { handleGripMouseDown: re } =
|
|
2087
|
+
), { handleGripMouseDown: re } = un(V, s, i, x);
|
|
2080
2088
|
return /* @__PURE__ */ o.jsxs("div", { ref: $, className: M.inputBase, "data-testid": "input-base-wrapper", ...O, children: [
|
|
2081
2089
|
/* @__PURE__ */ o.jsxs(
|
|
2082
2090
|
"div",
|
|
2083
2091
|
{
|
|
2084
2092
|
className: te,
|
|
2085
|
-
style:
|
|
2093
|
+
style: p,
|
|
2086
2094
|
"data-resize": x,
|
|
2087
|
-
"data-show-grip":
|
|
2095
|
+
"data-show-grip": V ? "true" : "false",
|
|
2088
2096
|
...c,
|
|
2089
2097
|
children: [
|
|
2090
|
-
m && /* @__PURE__ */ o.jsx("label", { htmlFor:
|
|
2091
|
-
R && /* @__PURE__ */ o.jsx("label", { htmlFor:
|
|
2098
|
+
m && /* @__PURE__ */ o.jsx("label", { htmlFor: H, className: M.leftSection, style: f, children: m }),
|
|
2099
|
+
R && /* @__PURE__ */ o.jsx("label", { htmlFor: H, className: M.rightSection, style: _, children: R }),
|
|
2092
2100
|
D && k && /* @__PURE__ */ o.jsx(
|
|
2093
2101
|
"label",
|
|
2094
2102
|
{
|
|
2095
|
-
htmlFor:
|
|
2103
|
+
htmlFor: H,
|
|
2096
2104
|
className: ae,
|
|
2097
2105
|
style: d,
|
|
2098
2106
|
...g,
|
|
@@ -2100,7 +2108,7 @@ const yr = 3, mr = (t) => {
|
|
|
2100
2108
|
}
|
|
2101
2109
|
),
|
|
2102
2110
|
t,
|
|
2103
|
-
|
|
2111
|
+
V && !b && (x === "fixed" || !x) && /* @__PURE__ */ o.jsx(
|
|
2104
2112
|
"div",
|
|
2105
2113
|
{
|
|
2106
2114
|
className: M.gripHandle,
|
|
@@ -2108,43 +2116,43 @@ const yr = 3, mr = (t) => {
|
|
|
2108
2116
|
role: "button",
|
|
2109
2117
|
tabIndex: -1,
|
|
2110
2118
|
"aria-label": "Изменить размер",
|
|
2111
|
-
children: /* @__PURE__ */ o.jsx(
|
|
2119
|
+
children: /* @__PURE__ */ o.jsx(ln, {})
|
|
2112
2120
|
}
|
|
2113
2121
|
),
|
|
2114
2122
|
G && /* @__PURE__ */ o.jsx(
|
|
2115
2123
|
"div",
|
|
2116
2124
|
{
|
|
2117
|
-
className:
|
|
2125
|
+
className: U(M.hint, I && M.truncate),
|
|
2118
2126
|
"data-disabled": s || i,
|
|
2119
2127
|
children: Z
|
|
2120
2128
|
}
|
|
2121
2129
|
),
|
|
2122
2130
|
b && y && /* @__PURE__ */ o.jsxs("div", { className: M.characterLimit, children: [
|
|
2123
|
-
(
|
|
2131
|
+
(W || "").length,
|
|
2124
2132
|
" из ",
|
|
2125
2133
|
y
|
|
2126
2134
|
] })
|
|
2127
2135
|
]
|
|
2128
2136
|
}
|
|
2129
2137
|
),
|
|
2130
|
-
|
|
2138
|
+
B && /* @__PURE__ */ o.jsx(
|
|
2131
2139
|
"div",
|
|
2132
2140
|
{
|
|
2133
|
-
className:
|
|
2141
|
+
className: U(
|
|
2134
2142
|
M.helper,
|
|
2135
2143
|
a && M.error,
|
|
2136
2144
|
(s || i) && M.disabled
|
|
2137
2145
|
),
|
|
2138
2146
|
...h,
|
|
2139
|
-
id: a ? `${
|
|
2140
|
-
children:
|
|
2147
|
+
id: a ? `${H}-error` : void 0,
|
|
2148
|
+
children: B
|
|
2141
2149
|
}
|
|
2142
2150
|
)
|
|
2143
2151
|
] });
|
|
2144
2152
|
}
|
|
2145
2153
|
);
|
|
2146
2154
|
Tt.displayName = "InputWrapperComponent";
|
|
2147
|
-
const St = Object.assign(
|
|
2155
|
+
const St = Object.assign(_n, {
|
|
2148
2156
|
Wrapper: Tt
|
|
2149
2157
|
}), At = Q(
|
|
2150
2158
|
({
|
|
@@ -2155,10 +2163,10 @@ const St = Object.assign(un, {
|
|
|
2155
2163
|
disabled: i = !1,
|
|
2156
2164
|
loading: n = !1,
|
|
2157
2165
|
placeholder: c,
|
|
2158
|
-
showLabel:
|
|
2166
|
+
showLabel: p = !0,
|
|
2159
2167
|
labelClassName: d,
|
|
2160
2168
|
helper: f,
|
|
2161
|
-
prefix:
|
|
2169
|
+
prefix: _,
|
|
2162
2170
|
suffix: g,
|
|
2163
2171
|
id: h,
|
|
2164
2172
|
onFocus: b,
|
|
@@ -2172,19 +2180,19 @@ const St = Object.assign(un, {
|
|
|
2172
2180
|
suffixStyles: k,
|
|
2173
2181
|
textareaStyles: T,
|
|
2174
2182
|
labelProps: I,
|
|
2175
|
-
helperProps:
|
|
2183
|
+
helperProps: B,
|
|
2176
2184
|
showLimit: N = !1,
|
|
2177
|
-
maxLength:
|
|
2185
|
+
maxLength: W,
|
|
2178
2186
|
inputProps: x,
|
|
2179
|
-
hint:
|
|
2187
|
+
hint: V,
|
|
2180
2188
|
showHint: O = !1,
|
|
2181
2189
|
showHintOnEmpty: $ = !1,
|
|
2182
|
-
truncate:
|
|
2183
|
-
resize:
|
|
2190
|
+
truncate: F = !1,
|
|
2191
|
+
resize: H,
|
|
2184
2192
|
showGrip: G = !1,
|
|
2185
2193
|
...Z
|
|
2186
2194
|
}, te) => {
|
|
2187
|
-
const ae = $t(), re = h || ae, [be, se] =
|
|
2195
|
+
const ae = $t(), re = h || ae, [be, se] = Oe(C), ye = C !== void 0 ? C : be, Se = (ye || "").length > 0, ue = p && (r === "large" || t === "textarea") && !_, ie = Ce(
|
|
2188
2196
|
(K) => {
|
|
2189
2197
|
var ee;
|
|
2190
2198
|
i || n || (b == null || b(), (ee = x == null ? void 0 : x.onFocus) == null || ee.call(
|
|
@@ -2193,7 +2201,7 @@ const St = Object.assign(un, {
|
|
|
2193
2201
|
));
|
|
2194
2202
|
},
|
|
2195
2203
|
[b, x, i, n]
|
|
2196
|
-
),
|
|
2204
|
+
), _e = Ce(
|
|
2197
2205
|
(K) => {
|
|
2198
2206
|
var ee;
|
|
2199
2207
|
if (K.key === "Tab") {
|
|
@@ -2238,30 +2246,30 @@ const St = Object.assign(un, {
|
|
|
2238
2246
|
error: s,
|
|
2239
2247
|
disabled: i || n,
|
|
2240
2248
|
loading: n,
|
|
2241
|
-
className:
|
|
2249
|
+
className: U(a, t === "textarea" && M["textarea-wrapper"]),
|
|
2242
2250
|
wrapperProps: S,
|
|
2243
2251
|
wrapperStyles: m,
|
|
2244
2252
|
floatingLabelStyles: R,
|
|
2245
2253
|
prefixStyles: D,
|
|
2246
2254
|
suffixStyles: k,
|
|
2247
2255
|
labelProps: I,
|
|
2248
|
-
helperProps:
|
|
2256
|
+
helperProps: B,
|
|
2249
2257
|
showLimit: N,
|
|
2250
|
-
maxLength:
|
|
2251
|
-
hint:
|
|
2258
|
+
maxLength: W,
|
|
2259
|
+
hint: V,
|
|
2252
2260
|
showHint: O,
|
|
2253
2261
|
showHintOnEmpty: $,
|
|
2254
|
-
prefix:
|
|
2262
|
+
prefix: _,
|
|
2255
2263
|
suffix: g,
|
|
2256
2264
|
placeholder: c,
|
|
2257
|
-
showLabel:
|
|
2265
|
+
showLabel: p,
|
|
2258
2266
|
labelClassName: d,
|
|
2259
|
-
hasValue:
|
|
2267
|
+
hasValue: Se,
|
|
2260
2268
|
helper: f,
|
|
2261
2269
|
id: re,
|
|
2262
2270
|
value: ye,
|
|
2263
2271
|
showGrip: G,
|
|
2264
|
-
resize:
|
|
2272
|
+
resize: H,
|
|
2265
2273
|
...Z,
|
|
2266
2274
|
children: /* @__PURE__ */ o.jsx(
|
|
2267
2275
|
St,
|
|
@@ -2275,16 +2283,16 @@ const St = Object.assign(un, {
|
|
|
2275
2283
|
onFocus: ie,
|
|
2276
2284
|
onBlur: le,
|
|
2277
2285
|
onChange: me,
|
|
2278
|
-
onKeyUp:
|
|
2279
|
-
maxLength:
|
|
2280
|
-
truncate:
|
|
2281
|
-
"data-empty": !
|
|
2286
|
+
onKeyUp: _e,
|
|
2287
|
+
maxLength: W,
|
|
2288
|
+
truncate: F,
|
|
2289
|
+
"data-empty": !Se,
|
|
2282
2290
|
shouldShowFloatingLabelClass: ue,
|
|
2283
2291
|
style: t === "textarea" ? T : void 0,
|
|
2284
2292
|
"aria-invalid": !!s,
|
|
2285
2293
|
"aria-errormessage": s ? `${re}-error` : void 0,
|
|
2286
2294
|
id: re,
|
|
2287
|
-
resize:
|
|
2295
|
+
resize: H,
|
|
2288
2296
|
...x
|
|
2289
2297
|
}
|
|
2290
2298
|
)
|
|
@@ -2306,7 +2314,7 @@ const St = Object.assign(un, {
|
|
|
2306
2314
|
default:
|
|
2307
2315
|
return "12px 16px 12px 16px";
|
|
2308
2316
|
}
|
|
2309
|
-
},
|
|
2317
|
+
}, fn = (t) => {
|
|
2310
2318
|
switch (t) {
|
|
2311
2319
|
case J.LARGE:
|
|
2312
2320
|
return "56px";
|
|
@@ -2317,7 +2325,7 @@ const St = Object.assign(un, {
|
|
|
2317
2325
|
default:
|
|
2318
2326
|
return "48px";
|
|
2319
2327
|
}
|
|
2320
|
-
},
|
|
2328
|
+
}, gn = (t) => {
|
|
2321
2329
|
switch (t) {
|
|
2322
2330
|
case J.SMALL:
|
|
2323
2331
|
return 8;
|
|
@@ -2329,7 +2337,7 @@ const St = Object.assign(un, {
|
|
|
2329
2337
|
default:
|
|
2330
2338
|
return 12;
|
|
2331
2339
|
}
|
|
2332
|
-
},
|
|
2340
|
+
}, hn = (t, r, a) => ({
|
|
2333
2341
|
wrapperStyles: {
|
|
2334
2342
|
height: t,
|
|
2335
2343
|
minHeight: t,
|
|
@@ -2347,7 +2355,7 @@ const St = Object.assign(un, {
|
|
|
2347
2355
|
suffixStyles: {
|
|
2348
2356
|
right: `${a}px`
|
|
2349
2357
|
}
|
|
2350
|
-
}),
|
|
2358
|
+
}), bn = (t, r, a) => ({
|
|
2351
2359
|
wrapperStyles: {
|
|
2352
2360
|
minHeight: t,
|
|
2353
2361
|
maxHeight: t,
|
|
@@ -2363,7 +2371,7 @@ const St = Object.assign(un, {
|
|
|
2363
2371
|
suffixStyles: {
|
|
2364
2372
|
right: `${a}px`
|
|
2365
2373
|
}
|
|
2366
|
-
}),
|
|
2374
|
+
}), yn = (t, r, a) => ({
|
|
2367
2375
|
wrapperStyles: {
|
|
2368
2376
|
minHeight: t,
|
|
2369
2377
|
maxHeight: t,
|
|
@@ -2379,15 +2387,15 @@ const St = Object.assign(un, {
|
|
|
2379
2387
|
suffixStyles: {
|
|
2380
2388
|
right: `${a}px`
|
|
2381
2389
|
}
|
|
2382
|
-
}),
|
|
2383
|
-
const i =
|
|
2390
|
+
}), mn = (t, r, a, s) => {
|
|
2391
|
+
const i = fn(t), n = pn(t, r, a, s), c = gn(t);
|
|
2384
2392
|
switch (t) {
|
|
2385
2393
|
case J.LARGE:
|
|
2386
|
-
return gn(i, n, c);
|
|
2387
|
-
case J.MEDIUM:
|
|
2388
2394
|
return hn(i, n, c);
|
|
2389
|
-
case J.
|
|
2395
|
+
case J.MEDIUM:
|
|
2390
2396
|
return bn(i, n, c);
|
|
2397
|
+
case J.SMALL:
|
|
2398
|
+
return yn(i, n, c);
|
|
2391
2399
|
default:
|
|
2392
2400
|
return {
|
|
2393
2401
|
wrapperStyles: {},
|
|
@@ -2396,7 +2404,7 @@ const St = Object.assign(un, {
|
|
|
2396
2404
|
suffixStyles: {}
|
|
2397
2405
|
};
|
|
2398
2406
|
}
|
|
2399
|
-
},
|
|
2407
|
+
}, Pn = Q(
|
|
2400
2408
|
({
|
|
2401
2409
|
value: t = "",
|
|
2402
2410
|
onChange: r,
|
|
@@ -2405,10 +2413,10 @@ const St = Object.assign(un, {
|
|
|
2405
2413
|
maxLength: i,
|
|
2406
2414
|
minLength: n,
|
|
2407
2415
|
autoComplete: c,
|
|
2408
|
-
autoFocus:
|
|
2416
|
+
autoFocus: p,
|
|
2409
2417
|
size: d = J.MEDIUM,
|
|
2410
2418
|
inputProps: f,
|
|
2411
|
-
error:
|
|
2419
|
+
error: _,
|
|
2412
2420
|
disabled: g,
|
|
2413
2421
|
loading: h,
|
|
2414
2422
|
helper: b,
|
|
@@ -2422,14 +2430,14 @@ const St = Object.assign(un, {
|
|
|
2422
2430
|
className: k,
|
|
2423
2431
|
truncate: T = !0,
|
|
2424
2432
|
hint: I,
|
|
2425
|
-
showHint:
|
|
2433
|
+
showHint: B = !1,
|
|
2426
2434
|
showHintOnEmpty: N = !1,
|
|
2427
|
-
wrapperProps:
|
|
2435
|
+
wrapperProps: W,
|
|
2428
2436
|
labelProps: x,
|
|
2429
|
-
helperProps:
|
|
2437
|
+
helperProps: V,
|
|
2430
2438
|
...O
|
|
2431
2439
|
}, $) => {
|
|
2432
|
-
const
|
|
2440
|
+
const F = (t || "").length > 0, H = d === J.LARGE, G = !!y, Z = H && m && !y, te = C && F && !(g || h), ae = () => {
|
|
2433
2441
|
r == null || r("");
|
|
2434
2442
|
}, re = te ? /* @__PURE__ */ o.jsx(
|
|
2435
2443
|
kt,
|
|
@@ -2444,14 +2452,14 @@ const St = Object.assign(un, {
|
|
|
2444
2452
|
type: a,
|
|
2445
2453
|
minLength: n,
|
|
2446
2454
|
autoComplete: c,
|
|
2447
|
-
autoFocus:
|
|
2455
|
+
autoFocus: p,
|
|
2448
2456
|
...f
|
|
2449
|
-
}, se =
|
|
2457
|
+
}, se = mn(d, Z, F, G);
|
|
2450
2458
|
return /* @__PURE__ */ o.jsx(
|
|
2451
2459
|
At,
|
|
2452
2460
|
{
|
|
2453
2461
|
size: d,
|
|
2454
|
-
error:
|
|
2462
|
+
error: _,
|
|
2455
2463
|
disabled: g || h,
|
|
2456
2464
|
loading: h,
|
|
2457
2465
|
helper: b,
|
|
@@ -2469,14 +2477,14 @@ const St = Object.assign(un, {
|
|
|
2469
2477
|
floatingLabelStyles: se.floatingLabelStyles,
|
|
2470
2478
|
prefixStyles: se.prefixStyles,
|
|
2471
2479
|
suffixStyles: se.suffixStyles,
|
|
2472
|
-
wrapperProps:
|
|
2480
|
+
wrapperProps: W,
|
|
2473
2481
|
labelProps: x,
|
|
2474
|
-
helperProps:
|
|
2482
|
+
helperProps: V,
|
|
2475
2483
|
showLimit: !1,
|
|
2476
2484
|
maxLength: i,
|
|
2477
2485
|
inputProps: be,
|
|
2478
2486
|
hint: I,
|
|
2479
|
-
showHint:
|
|
2487
|
+
showHint: B,
|
|
2480
2488
|
showHintOnEmpty: N,
|
|
2481
2489
|
truncate: T,
|
|
2482
2490
|
...O
|
|
@@ -2486,19 +2494,19 @@ const St = Object.assign(un, {
|
|
|
2486
2494
|
), oe = {
|
|
2487
2495
|
SMALL: "small",
|
|
2488
2496
|
MEDIUM: "medium"
|
|
2489
|
-
},
|
|
2497
|
+
}, We = {
|
|
2490
2498
|
SMALL: "12px",
|
|
2491
2499
|
MEDIUM: "16px"
|
|
2492
|
-
},
|
|
2500
|
+
}, vn = {
|
|
2493
2501
|
SMALL: "xs",
|
|
2494
2502
|
MEDIUM: "sm"
|
|
2495
|
-
},
|
|
2503
|
+
}, Pe = {
|
|
2496
2504
|
FILL: "fill",
|
|
2497
2505
|
FIXED: "fixed"
|
|
2498
2506
|
}, Ke = {
|
|
2499
2507
|
SMALL: "112px",
|
|
2500
2508
|
MEDIUM: "56px"
|
|
2501
|
-
},
|
|
2509
|
+
}, $e = {
|
|
2502
2510
|
SMALL: "48px",
|
|
2503
2511
|
MEDIUM: "22px"
|
|
2504
2512
|
}, fe = {
|
|
@@ -2510,7 +2518,7 @@ const St = Object.assign(un, {
|
|
|
2510
2518
|
SMALL: 48,
|
|
2511
2519
|
MEDIUM: 56,
|
|
2512
2520
|
LARGE: 112
|
|
2513
|
-
},
|
|
2521
|
+
}, xn = (t, r) => {
|
|
2514
2522
|
if (t === oe.SMALL)
|
|
2515
2523
|
return Ke.SMALL;
|
|
2516
2524
|
if (r)
|
|
@@ -2521,26 +2529,26 @@ const St = Object.assign(un, {
|
|
|
2521
2529
|
default:
|
|
2522
2530
|
return Ke.MEDIUM;
|
|
2523
2531
|
}
|
|
2524
|
-
},
|
|
2532
|
+
}, Cn = (t, r) => {
|
|
2525
2533
|
if (t === oe.SMALL)
|
|
2526
|
-
return
|
|
2534
|
+
return $e.SMALL;
|
|
2527
2535
|
if (r)
|
|
2528
2536
|
switch (r) {
|
|
2529
2537
|
case he.SMALL:
|
|
2530
2538
|
case he.MEDIUM:
|
|
2531
|
-
return
|
|
2539
|
+
return $e.MEDIUM;
|
|
2532
2540
|
case he.LARGE:
|
|
2533
|
-
return
|
|
2541
|
+
return $e.SMALL;
|
|
2534
2542
|
default:
|
|
2535
|
-
return
|
|
2543
|
+
return $e.MEDIUM;
|
|
2536
2544
|
}
|
|
2537
2545
|
switch (t) {
|
|
2538
2546
|
case oe.MEDIUM:
|
|
2539
|
-
return
|
|
2547
|
+
return $e.MEDIUM;
|
|
2540
2548
|
default:
|
|
2541
|
-
return
|
|
2549
|
+
return $e.MEDIUM;
|
|
2542
2550
|
}
|
|
2543
|
-
},
|
|
2551
|
+
}, wn = (t, r, a) => {
|
|
2544
2552
|
if (t === oe.SMALL)
|
|
2545
2553
|
return fe.SMALL;
|
|
2546
2554
|
if (r)
|
|
@@ -2560,7 +2568,7 @@ const St = Object.assign(un, {
|
|
|
2560
2568
|
default:
|
|
2561
2569
|
return fe.MEDIUM;
|
|
2562
2570
|
}
|
|
2563
|
-
},
|
|
2571
|
+
}, Sn = (t, r) => {
|
|
2564
2572
|
if (t === oe.SMALL)
|
|
2565
2573
|
return "small";
|
|
2566
2574
|
if (r)
|
|
@@ -2575,35 +2583,35 @@ const St = Object.assign(un, {
|
|
|
2575
2583
|
return "medium";
|
|
2576
2584
|
}
|
|
2577
2585
|
return t;
|
|
2578
|
-
},
|
|
2579
|
-
const i =
|
|
2586
|
+
}, En = (t) => vn[t.toUpperCase()], Ln = (t) => We[t.toUpperCase()], Mn = (t, r, a, s) => {
|
|
2587
|
+
const i = xn(t, r), n = Cn(t, r), c = wn(t, r, a);
|
|
2580
2588
|
return {
|
|
2581
2589
|
wrapperStyles: {
|
|
2582
2590
|
minHeight: i,
|
|
2583
2591
|
// Для fill resize устанавливаем height: 100%
|
|
2584
|
-
...s ===
|
|
2592
|
+
...s === Pe.FILL && { height: "100%" },
|
|
2585
2593
|
// Для fixed resize устанавливаем фиксированную высоту
|
|
2586
|
-
...s ===
|
|
2594
|
+
...s === Pe.FIXED && r && { height: i },
|
|
2587
2595
|
boxSizing: "border-box",
|
|
2588
2596
|
padding: c
|
|
2589
2597
|
},
|
|
2590
2598
|
floatingLabelStyles: {
|
|
2591
|
-
left: t === oe.SMALL ?
|
|
2599
|
+
left: t === oe.SMALL ? We.SMALL : We.MEDIUM,
|
|
2592
2600
|
transformOrigin: "left top",
|
|
2593
|
-
top: r === 112 && a && t === oe.MEDIUM ?
|
|
2601
|
+
top: r === 112 && a && t === oe.MEDIUM ? We.MEDIUM : void 0
|
|
2594
2602
|
},
|
|
2595
2603
|
suffixStyles: {
|
|
2596
|
-
right:
|
|
2604
|
+
right: Ln(t)
|
|
2597
2605
|
},
|
|
2598
2606
|
textareaStyles: {
|
|
2599
2607
|
minHeight: n,
|
|
2600
2608
|
// Для fill resize flex: 1
|
|
2601
|
-
...s ===
|
|
2609
|
+
...s === Pe.FILL && { flex: 1, minHeight: 0 },
|
|
2602
2610
|
// Для fixed resize фиксированная высота
|
|
2603
|
-
...s ===
|
|
2611
|
+
...s === Pe.FIXED && r && { height: n }
|
|
2604
2612
|
}
|
|
2605
2613
|
};
|
|
2606
|
-
},
|
|
2614
|
+
}, zn = Q(
|
|
2607
2615
|
({
|
|
2608
2616
|
value: t = "",
|
|
2609
2617
|
onChange: r,
|
|
@@ -2612,10 +2620,10 @@ const St = Object.assign(un, {
|
|
|
2612
2620
|
minLength: i,
|
|
2613
2621
|
autoFocus: n,
|
|
2614
2622
|
size: c = oe.MEDIUM,
|
|
2615
|
-
textareaProps:
|
|
2623
|
+
textareaProps: p,
|
|
2616
2624
|
error: d,
|
|
2617
2625
|
disabled: f,
|
|
2618
|
-
loading:
|
|
2626
|
+
loading: _,
|
|
2619
2627
|
helper: g,
|
|
2620
2628
|
suffix: h,
|
|
2621
2629
|
clearable: b = !1,
|
|
@@ -2629,38 +2637,38 @@ const St = Object.assign(un, {
|
|
|
2629
2637
|
wrapperProps: k,
|
|
2630
2638
|
labelProps: T,
|
|
2631
2639
|
helperProps: I,
|
|
2632
|
-
showGrip:
|
|
2640
|
+
showGrip: B,
|
|
2633
2641
|
minHeight: N,
|
|
2634
|
-
resize:
|
|
2642
|
+
resize: W,
|
|
2635
2643
|
...x
|
|
2636
|
-
},
|
|
2637
|
-
const O = (t || "").length > 0, $ = w && !!a && (c === oe.SMALL || N !== 48),
|
|
2644
|
+
}, V) => {
|
|
2645
|
+
const O = (t || "").length > 0, $ = w && !!a && (c === oe.SMALL || N !== 48), F = b && O && !(f || _), H = () => {
|
|
2638
2646
|
r == null || r("");
|
|
2639
|
-
}, G =
|
|
2647
|
+
}, G = F ? /* @__PURE__ */ o.jsx(
|
|
2640
2648
|
kt,
|
|
2641
2649
|
{
|
|
2642
|
-
size:
|
|
2650
|
+
size: En(c),
|
|
2643
2651
|
color: "var(--icon-secondary)",
|
|
2644
|
-
onClick:
|
|
2652
|
+
onClick: H,
|
|
2645
2653
|
style: { cursor: "pointer" },
|
|
2646
2654
|
"data-testid": "x-icon"
|
|
2647
2655
|
}
|
|
2648
|
-
) : h, Z =
|
|
2656
|
+
) : h, Z = Mn(c, N, $ && O, W), te = Sn(c, N), ae = {
|
|
2649
2657
|
rows: R,
|
|
2650
2658
|
minLength: i,
|
|
2651
2659
|
autoFocus: n,
|
|
2652
|
-
resize:
|
|
2653
|
-
...
|
|
2660
|
+
resize: W,
|
|
2661
|
+
...p
|
|
2654
2662
|
};
|
|
2655
2663
|
return /* @__PURE__ */ o.jsx(
|
|
2656
2664
|
At,
|
|
2657
2665
|
{
|
|
2658
|
-
ref:
|
|
2666
|
+
ref: V,
|
|
2659
2667
|
component: "textarea",
|
|
2660
2668
|
size: te,
|
|
2661
2669
|
error: d,
|
|
2662
|
-
disabled: f ||
|
|
2663
|
-
loading:
|
|
2670
|
+
disabled: f || _,
|
|
2671
|
+
loading: _,
|
|
2664
2672
|
helper: g,
|
|
2665
2673
|
suffix: G,
|
|
2666
2674
|
id: y,
|
|
@@ -2682,17 +2690,17 @@ const St = Object.assign(un, {
|
|
|
2682
2690
|
showLimit: D && (N === 112 || c === oe.SMALL),
|
|
2683
2691
|
maxLength: s,
|
|
2684
2692
|
inputProps: ae,
|
|
2685
|
-
resize:
|
|
2686
|
-
showGrip:
|
|
2693
|
+
resize: W,
|
|
2694
|
+
showGrip: B,
|
|
2687
2695
|
...x
|
|
2688
2696
|
}
|
|
2689
2697
|
);
|
|
2690
2698
|
}
|
|
2691
|
-
),
|
|
2692
|
-
helper:
|
|
2699
|
+
), $n = "_helper_1vhgl_16", Xe = {
|
|
2700
|
+
helper: $n,
|
|
2693
2701
|
"helper--error": "_helper--error_1vhgl_27",
|
|
2694
2702
|
"helper--disabled": "_helper--disabled_1vhgl_32"
|
|
2695
|
-
},
|
|
2703
|
+
}, Wn = ({
|
|
2696
2704
|
title: t,
|
|
2697
2705
|
error: r,
|
|
2698
2706
|
className: a = "",
|
|
@@ -2700,14 +2708,14 @@ const St = Object.assign(un, {
|
|
|
2700
2708
|
disabled: i = !1,
|
|
2701
2709
|
"data-testid": n,
|
|
2702
2710
|
"aria-label": c,
|
|
2703
|
-
"aria-describedby":
|
|
2711
|
+
"aria-describedby": p
|
|
2704
2712
|
}) => {
|
|
2705
|
-
const d = !!r, f =
|
|
2713
|
+
const d = !!r, f = U(
|
|
2706
2714
|
Xe.helper,
|
|
2707
2715
|
d && Xe["helper--error"],
|
|
2708
2716
|
i && Xe["helper--disabled"],
|
|
2709
2717
|
a
|
|
2710
|
-
),
|
|
2718
|
+
), _ = i ? t : r || t;
|
|
2711
2719
|
return /* @__PURE__ */ o.jsx(
|
|
2712
2720
|
"div",
|
|
2713
2721
|
{
|
|
@@ -2715,26 +2723,26 @@ const St = Object.assign(un, {
|
|
|
2715
2723
|
style: s,
|
|
2716
2724
|
"data-testid": n,
|
|
2717
2725
|
"aria-label": c,
|
|
2718
|
-
"aria-describedby":
|
|
2719
|
-
children: /* @__PURE__ */ o.jsx("p", { children:
|
|
2726
|
+
"aria-describedby": p,
|
|
2727
|
+
children: /* @__PURE__ */ o.jsx("p", { children: _ })
|
|
2720
2728
|
}
|
|
2721
2729
|
);
|
|
2722
2730
|
};
|
|
2723
2731
|
export {
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2732
|
+
kn as Avatar,
|
|
2733
|
+
Tn as Badge,
|
|
2734
|
+
Rn as Button,
|
|
2735
|
+
Bn as Checkbox,
|
|
2736
|
+
Dn as ConfigProvider,
|
|
2737
|
+
Wn as Helper,
|
|
2738
|
+
An as Image,
|
|
2739
|
+
Hr as Loader,
|
|
2740
|
+
Un as Tag,
|
|
2741
|
+
zn as TextArea,
|
|
2742
|
+
Pn as TextInput,
|
|
2743
|
+
Fn as Typography,
|
|
2744
|
+
Gr as enUS,
|
|
2745
|
+
On as ruRU,
|
|
2746
|
+
Zr as useConfig,
|
|
2747
|
+
Nn as useLocale
|
|
2740
2748
|
};
|