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