skillgrid 0.0.24 → 0.0.25-dev-40846-input.1178444
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/InputBase/Input.type.d.ts +6 -2
- package/dist/components/InputBase/InputBase.type.d.ts +8 -4
- package/dist/components/List/List.d.ts +2 -3
- package/dist/components/Palette/Palette.d.ts +0 -1
- package/dist/components/TextArea/TextArea.type.d.ts +7 -3
- package/dist/components/TextArea/lib/constants.d.ts +17 -17
- package/dist/components/TextArea/lib/getters.d.ts +1 -1
- package/dist/components/TextInput/TextInput.type.d.ts +7 -3
- package/dist/components/TextInput/lib/constants.d.ts +4 -3
- package/dist/components/TextInput/lib/getters.d.ts +10 -6
- package/dist/index.cjs.js +11 -11
- package/dist/index.css +1 -1
- package/dist/index.es.js +1390 -1298
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
3
|
-
import { clsx as
|
|
1
|
+
import * as Lt from "react";
|
|
2
|
+
import $t, { forwardRef as te, useState as Oe, useEffect as Le, useRef as We, useCallback as Se, Fragment as Et, createContext as ra, useContext as sa, useLayoutEffect as na, useImperativeHandle as oa, useId as jt } from "react";
|
|
3
|
+
import { clsx as V } from "clsx";
|
|
4
4
|
import './index.css';function ia(t) {
|
|
5
5
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
6
6
|
}
|
|
7
|
-
var
|
|
7
|
+
var De = { exports: {} }, Te = {};
|
|
8
8
|
/**
|
|
9
9
|
* @license React
|
|
10
10
|
* react-jsx-runtime.production.min.js
|
|
@@ -16,19 +16,19 @@ var Be = { exports: {} }, ke = {};
|
|
|
16
16
|
*/
|
|
17
17
|
var ft;
|
|
18
18
|
function la() {
|
|
19
|
-
if (ft) return
|
|
19
|
+
if (ft) return Te;
|
|
20
20
|
ft = 1;
|
|
21
|
-
var t =
|
|
22
|
-
function c(
|
|
23
|
-
var
|
|
24
|
-
f !== void 0 && (
|
|
25
|
-
for (
|
|
26
|
-
if (
|
|
27
|
-
return { $$typeof: r, type:
|
|
21
|
+
var t = $t, r = Symbol.for("react.element"), a = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, o = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, n = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
22
|
+
function c(_, d, f) {
|
|
23
|
+
var p, h = {}, b = null, y = null;
|
|
24
|
+
f !== void 0 && (b = "" + f), d.key !== void 0 && (b = "" + d.key), d.ref !== void 0 && (y = d.ref);
|
|
25
|
+
for (p in d) s.call(d, p) && !n.hasOwnProperty(p) && (h[p] = d[p]);
|
|
26
|
+
if (_ && _.defaultProps) for (p in d = _.defaultProps, d) h[p] === void 0 && (h[p] = d[p]);
|
|
27
|
+
return { $$typeof: r, type: _, key: b, ref: y, props: h, _owner: o.current };
|
|
28
28
|
}
|
|
29
|
-
return
|
|
29
|
+
return Te.Fragment = a, Te.jsx = c, Te.jsxs = c, Te;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
31
|
+
var Ie = {};
|
|
32
32
|
/**
|
|
33
33
|
* @license React
|
|
34
34
|
* react-jsx-runtime.development.js
|
|
@@ -41,54 +41,54 @@ var Te = {};
|
|
|
41
41
|
var gt;
|
|
42
42
|
function ca() {
|
|
43
43
|
return gt || (gt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
44
|
-
var t =
|
|
45
|
-
function
|
|
44
|
+
var t = $t, r = Symbol.for("react.element"), a = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), n = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), _ = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), y = Symbol.for("react.offscreen"), v = Symbol.iterator, E = "@@iterator";
|
|
45
|
+
function L(e) {
|
|
46
46
|
if (e === null || typeof e != "object")
|
|
47
47
|
return null;
|
|
48
|
-
var l =
|
|
48
|
+
var l = v && e[v] || e[E];
|
|
49
49
|
return typeof l == "function" ? l : null;
|
|
50
50
|
}
|
|
51
|
-
var
|
|
52
|
-
function
|
|
51
|
+
var C = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
52
|
+
function g(e) {
|
|
53
53
|
{
|
|
54
|
-
for (var l = arguments.length, u = new Array(l > 1 ? l - 1 : 0),
|
|
55
|
-
u[
|
|
54
|
+
for (var l = arguments.length, u = new Array(l > 1 ? l - 1 : 0), m = 1; m < l; m++)
|
|
55
|
+
u[m - 1] = arguments[m];
|
|
56
56
|
j("error", e, u);
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
function j(e, l, u) {
|
|
60
60
|
{
|
|
61
|
-
var
|
|
62
|
-
|
|
63
|
-
var
|
|
64
|
-
return String(
|
|
61
|
+
var m = C.ReactDebugCurrentFrame, R = m.getStackAddendum();
|
|
62
|
+
R !== "" && (l += "%s", u = u.concat([R]));
|
|
63
|
+
var T = u.map(function($) {
|
|
64
|
+
return String($);
|
|
65
65
|
});
|
|
66
|
-
|
|
66
|
+
T.unshift("Warning: " + l), Function.prototype.apply.call(console[e], console, T);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
var
|
|
70
|
-
|
|
71
|
-
function
|
|
72
|
-
return !!(typeof e == "string" || typeof e == "function" || e === s || e === n ||
|
|
69
|
+
var I = !1, M = !1, N = !1, O = !1, A = !1, D;
|
|
70
|
+
D = Symbol.for("react.module.reference");
|
|
71
|
+
function G(e) {
|
|
72
|
+
return !!(typeof e == "string" || typeof e == "function" || e === s || e === n || A || e === o || e === f || e === p || O || e === y || I || M || N || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === h || e.$$typeof === c || e.$$typeof === _ || e.$$typeof === d || // This needs to include all possible module reference object
|
|
73
73
|
// types supported by any Flight configuration anywhere since
|
|
74
74
|
// we don't know which Flight build this will end up being used
|
|
75
75
|
// with.
|
|
76
|
-
e.$$typeof ===
|
|
76
|
+
e.$$typeof === D || e.getModuleId !== void 0));
|
|
77
77
|
}
|
|
78
|
-
function
|
|
79
|
-
var
|
|
80
|
-
if (
|
|
81
|
-
return
|
|
82
|
-
var
|
|
83
|
-
return
|
|
78
|
+
function W(e, l, u) {
|
|
79
|
+
var m = e.displayName;
|
|
80
|
+
if (m)
|
|
81
|
+
return m;
|
|
82
|
+
var R = l.displayName || l.name || "";
|
|
83
|
+
return R !== "" ? u + "(" + R + ")" : u;
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function B(e) {
|
|
86
86
|
return e.displayName || "Context";
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function x(e) {
|
|
89
89
|
if (e == null)
|
|
90
90
|
return null;
|
|
91
|
-
if (typeof e.tag == "number" &&
|
|
91
|
+
if (typeof e.tag == "number" && g("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
92
92
|
return e.displayName || e.name || null;
|
|
93
93
|
if (typeof e == "string")
|
|
94
94
|
return e;
|
|
@@ -99,30 +99,30 @@ function ca() {
|
|
|
99
99
|
return "Portal";
|
|
100
100
|
case n:
|
|
101
101
|
return "Profiler";
|
|
102
|
-
case
|
|
102
|
+
case o:
|
|
103
103
|
return "StrictMode";
|
|
104
104
|
case f:
|
|
105
105
|
return "Suspense";
|
|
106
|
-
case
|
|
106
|
+
case p:
|
|
107
107
|
return "SuspenseList";
|
|
108
108
|
}
|
|
109
109
|
if (typeof e == "object")
|
|
110
110
|
switch (e.$$typeof) {
|
|
111
|
-
case
|
|
111
|
+
case _:
|
|
112
112
|
var l = e;
|
|
113
|
-
return
|
|
113
|
+
return B(l) + ".Consumer";
|
|
114
114
|
case c:
|
|
115
115
|
var u = e;
|
|
116
|
-
return
|
|
116
|
+
return B(u._context) + ".Provider";
|
|
117
117
|
case d:
|
|
118
|
-
return
|
|
119
|
-
case
|
|
120
|
-
var
|
|
121
|
-
return
|
|
122
|
-
case
|
|
123
|
-
var
|
|
118
|
+
return W(e, e.render, "ForwardRef");
|
|
119
|
+
case h:
|
|
120
|
+
var m = e.displayName || null;
|
|
121
|
+
return m !== null ? m : x(e.type) || "Memo";
|
|
122
|
+
case b: {
|
|
123
|
+
var R = e, T = R._payload, $ = R._init;
|
|
124
124
|
try {
|
|
125
|
-
return
|
|
125
|
+
return x($(T));
|
|
126
126
|
} catch {
|
|
127
127
|
return null;
|
|
128
128
|
}
|
|
@@ -130,18 +130,18 @@ function ca() {
|
|
|
130
130
|
}
|
|
131
131
|
return null;
|
|
132
132
|
}
|
|
133
|
-
var
|
|
134
|
-
function
|
|
133
|
+
var k = Object.assign, F = 0, U, Z, Q, ne, J, ae, oe;
|
|
134
|
+
function de() {
|
|
135
135
|
}
|
|
136
|
-
|
|
137
|
-
function
|
|
136
|
+
de.__reactDisabledLog = !0;
|
|
137
|
+
function me() {
|
|
138
138
|
{
|
|
139
|
-
if (
|
|
140
|
-
|
|
139
|
+
if (F === 0) {
|
|
140
|
+
U = console.log, Z = console.info, Q = console.warn, ne = console.error, J = console.group, ae = console.groupCollapsed, oe = console.groupEnd;
|
|
141
141
|
var e = {
|
|
142
142
|
configurable: !0,
|
|
143
143
|
enumerable: !0,
|
|
144
|
-
value:
|
|
144
|
+
value: de,
|
|
145
145
|
writable: !0
|
|
146
146
|
};
|
|
147
147
|
Object.defineProperties(console, {
|
|
@@ -154,208 +154,208 @@ function ca() {
|
|
|
154
154
|
groupEnd: e
|
|
155
155
|
});
|
|
156
156
|
}
|
|
157
|
-
|
|
157
|
+
F++;
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function ye() {
|
|
161
161
|
{
|
|
162
|
-
if (
|
|
162
|
+
if (F--, F === 0) {
|
|
163
163
|
var e = {
|
|
164
164
|
configurable: !0,
|
|
165
165
|
enumerable: !0,
|
|
166
166
|
writable: !0
|
|
167
167
|
};
|
|
168
168
|
Object.defineProperties(console, {
|
|
169
|
-
log:
|
|
170
|
-
value:
|
|
171
|
-
}),
|
|
172
|
-
info: $({}, e, {
|
|
173
|
-
value: G
|
|
169
|
+
log: k({}, e, {
|
|
170
|
+
value: U
|
|
174
171
|
}),
|
|
175
|
-
|
|
172
|
+
info: k({}, e, {
|
|
176
173
|
value: Z
|
|
177
174
|
}),
|
|
178
|
-
|
|
179
|
-
value:
|
|
175
|
+
warn: k({}, e, {
|
|
176
|
+
value: Q
|
|
180
177
|
}),
|
|
181
|
-
|
|
182
|
-
value:
|
|
178
|
+
error: k({}, e, {
|
|
179
|
+
value: ne
|
|
183
180
|
}),
|
|
184
|
-
|
|
185
|
-
value:
|
|
181
|
+
group: k({}, e, {
|
|
182
|
+
value: J
|
|
186
183
|
}),
|
|
187
|
-
|
|
188
|
-
value:
|
|
184
|
+
groupCollapsed: k({}, e, {
|
|
185
|
+
value: ae
|
|
186
|
+
}),
|
|
187
|
+
groupEnd: k({}, e, {
|
|
188
|
+
value: oe
|
|
189
189
|
})
|
|
190
190
|
});
|
|
191
191
|
}
|
|
192
|
-
|
|
192
|
+
F < 0 && g("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
|
-
var
|
|
196
|
-
function
|
|
195
|
+
var re = C.ReactCurrentDispatcher, ue;
|
|
196
|
+
function le(e, l, u) {
|
|
197
197
|
{
|
|
198
198
|
if (ue === void 0)
|
|
199
199
|
try {
|
|
200
200
|
throw Error();
|
|
201
|
-
} catch (
|
|
202
|
-
var
|
|
203
|
-
ue =
|
|
201
|
+
} catch (R) {
|
|
202
|
+
var m = R.stack.trim().match(/\n( *(at )?)/);
|
|
203
|
+
ue = m && m[1] || "";
|
|
204
204
|
}
|
|
205
205
|
return `
|
|
206
206
|
` + ue + e;
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
|
-
var
|
|
209
|
+
var xe = !1, _e;
|
|
210
210
|
{
|
|
211
|
-
var
|
|
212
|
-
|
|
211
|
+
var ve = typeof WeakMap == "function" ? WeakMap : Map;
|
|
212
|
+
_e = new ve();
|
|
213
213
|
}
|
|
214
|
-
function
|
|
215
|
-
if (!e ||
|
|
214
|
+
function Ae(e, l) {
|
|
215
|
+
if (!e || xe)
|
|
216
216
|
return "";
|
|
217
217
|
{
|
|
218
|
-
var u =
|
|
218
|
+
var u = _e.get(e);
|
|
219
219
|
if (u !== void 0)
|
|
220
220
|
return u;
|
|
221
221
|
}
|
|
222
|
-
var
|
|
223
|
-
|
|
224
|
-
var
|
|
222
|
+
var m;
|
|
223
|
+
xe = !0;
|
|
224
|
+
var R = Error.prepareStackTrace;
|
|
225
225
|
Error.prepareStackTrace = void 0;
|
|
226
|
-
var
|
|
227
|
-
|
|
226
|
+
var T;
|
|
227
|
+
T = re.current, re.current = null, me();
|
|
228
228
|
try {
|
|
229
229
|
if (l) {
|
|
230
|
-
var
|
|
230
|
+
var $ = function() {
|
|
231
231
|
throw Error();
|
|
232
232
|
};
|
|
233
|
-
if (Object.defineProperty(
|
|
233
|
+
if (Object.defineProperty($.prototype, "props", {
|
|
234
234
|
set: function() {
|
|
235
235
|
throw Error();
|
|
236
236
|
}
|
|
237
237
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
238
238
|
try {
|
|
239
|
-
Reflect.construct(
|
|
240
|
-
} catch (
|
|
241
|
-
|
|
239
|
+
Reflect.construct($, []);
|
|
240
|
+
} catch (ee) {
|
|
241
|
+
m = ee;
|
|
242
242
|
}
|
|
243
|
-
Reflect.construct(e, [],
|
|
243
|
+
Reflect.construct(e, [], $);
|
|
244
244
|
} else {
|
|
245
245
|
try {
|
|
246
|
-
|
|
247
|
-
} catch (
|
|
248
|
-
|
|
246
|
+
$.call();
|
|
247
|
+
} catch (ee) {
|
|
248
|
+
m = ee;
|
|
249
249
|
}
|
|
250
|
-
e.call(
|
|
250
|
+
e.call($.prototype);
|
|
251
251
|
}
|
|
252
252
|
} else {
|
|
253
253
|
try {
|
|
254
254
|
throw Error();
|
|
255
|
-
} catch (
|
|
256
|
-
|
|
255
|
+
} catch (ee) {
|
|
256
|
+
m = ee;
|
|
257
257
|
}
|
|
258
258
|
e();
|
|
259
259
|
}
|
|
260
|
-
} catch (
|
|
261
|
-
if (
|
|
262
|
-
for (var
|
|
263
|
-
`),
|
|
264
|
-
`),
|
|
260
|
+
} catch (ee) {
|
|
261
|
+
if (ee && m && typeof ee.stack == "string") {
|
|
262
|
+
for (var w = ee.stack.split(`
|
|
263
|
+
`), K = m.stack.split(`
|
|
264
|
+
`), P = w.length - 1, H = K.length - 1; P >= 1 && H >= 0 && w[P] !== K[H]; )
|
|
265
265
|
H--;
|
|
266
|
-
for (;
|
|
267
|
-
if (
|
|
268
|
-
if (
|
|
266
|
+
for (; P >= 1 && H >= 0; P--, H--)
|
|
267
|
+
if (w[P] !== K[H]) {
|
|
268
|
+
if (P !== 1 || H !== 1)
|
|
269
269
|
do
|
|
270
|
-
if (
|
|
271
|
-
var
|
|
272
|
-
` +
|
|
273
|
-
return e.displayName &&
|
|
270
|
+
if (P--, H--, H < 0 || w[P] !== K[H]) {
|
|
271
|
+
var ie = `
|
|
272
|
+
` + w[P].replace(" at new ", " at ");
|
|
273
|
+
return e.displayName && ie.includes("<anonymous>") && (ie = ie.replace("<anonymous>", e.displayName)), typeof e == "function" && _e.set(e, ie), ie;
|
|
274
274
|
}
|
|
275
|
-
while (
|
|
275
|
+
while (P >= 1 && H >= 0);
|
|
276
276
|
break;
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
279
|
} finally {
|
|
280
|
-
|
|
280
|
+
xe = !1, re.current = T, ye(), Error.prepareStackTrace = R;
|
|
281
281
|
}
|
|
282
|
-
var
|
|
283
|
-
return typeof e == "function" &&
|
|
282
|
+
var Ee = e ? e.displayName || e.name : "", Ce = Ee ? le(Ee) : "";
|
|
283
|
+
return typeof e == "function" && _e.set(e, Ce), Ce;
|
|
284
284
|
}
|
|
285
|
-
function
|
|
286
|
-
return
|
|
285
|
+
function He(e, l, u) {
|
|
286
|
+
return Ae(e, !1);
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function Ve(e) {
|
|
289
289
|
var l = e.prototype;
|
|
290
290
|
return !!(l && l.isReactComponent);
|
|
291
291
|
}
|
|
292
|
-
function
|
|
292
|
+
function X(e, l, u) {
|
|
293
293
|
if (e == null)
|
|
294
294
|
return "";
|
|
295
295
|
if (typeof e == "function")
|
|
296
|
-
return
|
|
296
|
+
return Ae(e, Ve(e));
|
|
297
297
|
if (typeof e == "string")
|
|
298
|
-
return
|
|
298
|
+
return le(e);
|
|
299
299
|
switch (e) {
|
|
300
300
|
case f:
|
|
301
|
-
return
|
|
302
|
-
case
|
|
303
|
-
return
|
|
301
|
+
return le("Suspense");
|
|
302
|
+
case p:
|
|
303
|
+
return le("SuspenseList");
|
|
304
304
|
}
|
|
305
305
|
if (typeof e == "object")
|
|
306
306
|
switch (e.$$typeof) {
|
|
307
307
|
case d:
|
|
308
|
-
return
|
|
309
|
-
case
|
|
310
|
-
return
|
|
311
|
-
case
|
|
312
|
-
var
|
|
308
|
+
return He(e.render);
|
|
309
|
+
case h:
|
|
310
|
+
return X(e.type, l, u);
|
|
311
|
+
case b: {
|
|
312
|
+
var m = e, R = m._payload, T = m._init;
|
|
313
313
|
try {
|
|
314
|
-
return
|
|
314
|
+
return X(T(R), l, u);
|
|
315
315
|
} catch {
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
319
|
return "";
|
|
320
320
|
}
|
|
321
|
-
var
|
|
322
|
-
function
|
|
321
|
+
var Y = Object.prototype.hasOwnProperty, ce = {}, tt = C.ReactDebugCurrentFrame;
|
|
322
|
+
function Be(e) {
|
|
323
323
|
if (e) {
|
|
324
|
-
var l = e._owner, u =
|
|
324
|
+
var l = e._owner, u = X(e.type, e._source, l ? l.type : null);
|
|
325
325
|
tt.setExtraStackFrame(u);
|
|
326
326
|
} else
|
|
327
327
|
tt.setExtraStackFrame(null);
|
|
328
328
|
}
|
|
329
|
-
function
|
|
329
|
+
function Ot(e, l, u, m, R) {
|
|
330
330
|
{
|
|
331
|
-
var
|
|
332
|
-
for (var
|
|
333
|
-
if (
|
|
334
|
-
var
|
|
331
|
+
var T = Function.call.bind(Y);
|
|
332
|
+
for (var $ in e)
|
|
333
|
+
if (T(e, $)) {
|
|
334
|
+
var w = void 0;
|
|
335
335
|
try {
|
|
336
|
-
if (typeof e[
|
|
337
|
-
var
|
|
338
|
-
throw
|
|
336
|
+
if (typeof e[$] != "function") {
|
|
337
|
+
var K = Error((m || "React class") + ": " + u + " type `" + $ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[$] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
338
|
+
throw K.name = "Invariant Violation", K;
|
|
339
339
|
}
|
|
340
|
-
|
|
341
|
-
} catch (
|
|
342
|
-
|
|
340
|
+
w = e[$](l, $, m, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
341
|
+
} catch (P) {
|
|
342
|
+
w = P;
|
|
343
343
|
}
|
|
344
|
-
|
|
344
|
+
w && !(w instanceof Error) && (Be(R), g("%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).", m || "React class", u, $, typeof w), Be(null)), w instanceof Error && !(w.message in ce) && (ce[w.message] = !0, Be(R), g("Failed %s type: %s", u, w.message), Be(null));
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
|
-
var
|
|
349
|
-
function
|
|
350
|
-
return
|
|
348
|
+
var At = Array.isArray;
|
|
349
|
+
function qe(e) {
|
|
350
|
+
return At(e);
|
|
351
351
|
}
|
|
352
|
-
function
|
|
352
|
+
function Bt(e) {
|
|
353
353
|
{
|
|
354
354
|
var l = typeof Symbol == "function" && Symbol.toStringTag, u = l && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
355
355
|
return u;
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
|
-
function
|
|
358
|
+
function Dt(e) {
|
|
359
359
|
try {
|
|
360
360
|
return at(e), !1;
|
|
361
361
|
} catch {
|
|
@@ -366,38 +366,38 @@ function ca() {
|
|
|
366
366
|
return "" + e;
|
|
367
367
|
}
|
|
368
368
|
function rt(e) {
|
|
369
|
-
if (
|
|
370
|
-
return
|
|
369
|
+
if (Dt(e))
|
|
370
|
+
return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Bt(e)), at(e);
|
|
371
371
|
}
|
|
372
|
-
var st =
|
|
372
|
+
var st = C.ReactCurrentOwner, Ft = {
|
|
373
373
|
key: !0,
|
|
374
374
|
ref: !0,
|
|
375
375
|
__self: !0,
|
|
376
376
|
__source: !0
|
|
377
377
|
}, nt, ot;
|
|
378
|
-
function
|
|
379
|
-
if (
|
|
378
|
+
function Pt(e) {
|
|
379
|
+
if (Y.call(e, "ref")) {
|
|
380
380
|
var l = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
381
381
|
if (l && l.isReactWarning)
|
|
382
382
|
return !1;
|
|
383
383
|
}
|
|
384
384
|
return e.ref !== void 0;
|
|
385
385
|
}
|
|
386
|
-
function
|
|
387
|
-
if (
|
|
386
|
+
function zt(e) {
|
|
387
|
+
if (Y.call(e, "key")) {
|
|
388
388
|
var l = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
389
389
|
if (l && l.isReactWarning)
|
|
390
390
|
return !1;
|
|
391
391
|
}
|
|
392
392
|
return e.key !== void 0;
|
|
393
393
|
}
|
|
394
|
-
function
|
|
394
|
+
function Wt(e, l) {
|
|
395
395
|
typeof e.ref == "string" && st.current;
|
|
396
396
|
}
|
|
397
|
-
function
|
|
397
|
+
function Ht(e, l) {
|
|
398
398
|
{
|
|
399
399
|
var u = function() {
|
|
400
|
-
nt || (nt = !0,
|
|
400
|
+
nt || (nt = !0, g("%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)", l));
|
|
401
401
|
};
|
|
402
402
|
u.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
403
403
|
get: u,
|
|
@@ -408,7 +408,7 @@ function ca() {
|
|
|
408
408
|
function Vt(e, l) {
|
|
409
409
|
{
|
|
410
410
|
var u = function() {
|
|
411
|
-
ot || (ot = !0,
|
|
411
|
+
ot || (ot = !0, g("%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)", l));
|
|
412
412
|
};
|
|
413
413
|
u.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
414
414
|
get: u,
|
|
@@ -416,70 +416,70 @@ function ca() {
|
|
|
416
416
|
});
|
|
417
417
|
}
|
|
418
418
|
}
|
|
419
|
-
var
|
|
420
|
-
var
|
|
419
|
+
var qt = function(e, l, u, m, R, T, $) {
|
|
420
|
+
var w = {
|
|
421
421
|
// This tag allows us to uniquely identify this as a React Element
|
|
422
422
|
$$typeof: r,
|
|
423
423
|
// Built-in properties that belong on the element
|
|
424
424
|
type: e,
|
|
425
425
|
key: l,
|
|
426
426
|
ref: u,
|
|
427
|
-
props:
|
|
427
|
+
props: $,
|
|
428
428
|
// Record the component responsible for creating this element.
|
|
429
|
-
_owner:
|
|
429
|
+
_owner: T
|
|
430
430
|
};
|
|
431
|
-
return
|
|
431
|
+
return w._store = {}, Object.defineProperty(w._store, "validated", {
|
|
432
432
|
configurable: !1,
|
|
433
433
|
enumerable: !1,
|
|
434
434
|
writable: !0,
|
|
435
435
|
value: !1
|
|
436
|
-
}), Object.defineProperty(
|
|
436
|
+
}), Object.defineProperty(w, "_self", {
|
|
437
437
|
configurable: !1,
|
|
438
438
|
enumerable: !1,
|
|
439
439
|
writable: !1,
|
|
440
|
-
value:
|
|
441
|
-
}), Object.defineProperty(
|
|
440
|
+
value: m
|
|
441
|
+
}), Object.defineProperty(w, "_source", {
|
|
442
442
|
configurable: !1,
|
|
443
443
|
enumerable: !1,
|
|
444
444
|
writable: !1,
|
|
445
|
-
value:
|
|
446
|
-
}), Object.freeze && (Object.freeze(
|
|
445
|
+
value: R
|
|
446
|
+
}), Object.freeze && (Object.freeze(w.props), Object.freeze(w)), w;
|
|
447
447
|
};
|
|
448
|
-
function
|
|
448
|
+
function Zt(e, l, u, m, R) {
|
|
449
449
|
{
|
|
450
|
-
var
|
|
451
|
-
u !== void 0 && (rt(u),
|
|
452
|
-
for (
|
|
453
|
-
|
|
450
|
+
var T, $ = {}, w = null, K = null;
|
|
451
|
+
u !== void 0 && (rt(u), w = "" + u), zt(l) && (rt(l.key), w = "" + l.key), Pt(l) && (K = l.ref, Wt(l, R));
|
|
452
|
+
for (T in l)
|
|
453
|
+
Y.call(l, T) && !Ft.hasOwnProperty(T) && ($[T] = l[T]);
|
|
454
454
|
if (e && e.defaultProps) {
|
|
455
|
-
var
|
|
456
|
-
for (
|
|
457
|
-
|
|
455
|
+
var P = e.defaultProps;
|
|
456
|
+
for (T in P)
|
|
457
|
+
$[T] === void 0 && ($[T] = P[T]);
|
|
458
458
|
}
|
|
459
|
-
if (
|
|
459
|
+
if (w || K) {
|
|
460
460
|
var H = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
461
|
-
|
|
461
|
+
w && Ht($, H), K && Vt($, H);
|
|
462
462
|
}
|
|
463
|
-
return
|
|
463
|
+
return qt(e, w, K, R, m, st.current, $);
|
|
464
464
|
}
|
|
465
465
|
}
|
|
466
|
-
var
|
|
467
|
-
function
|
|
466
|
+
var Ze = C.ReactCurrentOwner, it = C.ReactDebugCurrentFrame;
|
|
467
|
+
function $e(e) {
|
|
468
468
|
if (e) {
|
|
469
|
-
var l = e._owner, u =
|
|
469
|
+
var l = e._owner, u = X(e.type, e._source, l ? l.type : null);
|
|
470
470
|
it.setExtraStackFrame(u);
|
|
471
471
|
} else
|
|
472
472
|
it.setExtraStackFrame(null);
|
|
473
473
|
}
|
|
474
|
-
var
|
|
475
|
-
|
|
476
|
-
function
|
|
474
|
+
var Ge;
|
|
475
|
+
Ge = !1;
|
|
476
|
+
function Ue(e) {
|
|
477
477
|
return typeof e == "object" && e !== null && e.$$typeof === r;
|
|
478
478
|
}
|
|
479
479
|
function lt() {
|
|
480
480
|
{
|
|
481
|
-
if (
|
|
482
|
-
var e =
|
|
481
|
+
if (Ze.current) {
|
|
482
|
+
var e = x(Ze.current.type);
|
|
483
483
|
if (e)
|
|
484
484
|
return `
|
|
485
485
|
|
|
@@ -492,7 +492,7 @@ Check the render method of \`` + e + "`.";
|
|
|
492
492
|
return "";
|
|
493
493
|
}
|
|
494
494
|
var ct = {};
|
|
495
|
-
function
|
|
495
|
+
function Ut(e) {
|
|
496
496
|
{
|
|
497
497
|
var l = lt();
|
|
498
498
|
if (!l) {
|
|
@@ -509,34 +509,34 @@ Check the top-level render call using <` + u + ">.");
|
|
|
509
509
|
if (!e._store || e._store.validated || e.key != null)
|
|
510
510
|
return;
|
|
511
511
|
e._store.validated = !0;
|
|
512
|
-
var u =
|
|
512
|
+
var u = Ut(l);
|
|
513
513
|
if (ct[u])
|
|
514
514
|
return;
|
|
515
515
|
ct[u] = !0;
|
|
516
|
-
var
|
|
517
|
-
e && e._owner && e._owner !==
|
|
516
|
+
var m = "";
|
|
517
|
+
e && e._owner && e._owner !== Ze.current && (m = " It was passed a child from " + x(e._owner.type) + "."), $e(e), g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, m), $e(null);
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
520
|
function ut(e, l) {
|
|
521
521
|
{
|
|
522
522
|
if (typeof e != "object")
|
|
523
523
|
return;
|
|
524
|
-
if (
|
|
524
|
+
if (qe(e))
|
|
525
525
|
for (var u = 0; u < e.length; u++) {
|
|
526
|
-
var
|
|
527
|
-
|
|
526
|
+
var m = e[u];
|
|
527
|
+
Ue(m) && dt(m, l);
|
|
528
528
|
}
|
|
529
|
-
else if (
|
|
529
|
+
else if (Ue(e))
|
|
530
530
|
e._store && (e._store.validated = !0);
|
|
531
531
|
else if (e) {
|
|
532
|
-
var
|
|
533
|
-
if (typeof
|
|
534
|
-
for (var
|
|
535
|
-
|
|
532
|
+
var R = L(e);
|
|
533
|
+
if (typeof R == "function" && R !== e.entries)
|
|
534
|
+
for (var T = R.call(e), $; !($ = T.next()).done; )
|
|
535
|
+
Ue($.value) && dt($.value, l);
|
|
536
536
|
}
|
|
537
537
|
}
|
|
538
538
|
}
|
|
539
|
-
function
|
|
539
|
+
function Xt(e) {
|
|
540
540
|
{
|
|
541
541
|
var l = e.type;
|
|
542
542
|
if (l == null || typeof l == "string")
|
|
@@ -546,295 +546,295 @@ Check the top-level render call using <` + u + ">.");
|
|
|
546
546
|
u = l.propTypes;
|
|
547
547
|
else if (typeof l == "object" && (l.$$typeof === d || // Note: Memo only checks outer props here.
|
|
548
548
|
// Inner props are checked in the reconciler.
|
|
549
|
-
l.$$typeof ===
|
|
549
|
+
l.$$typeof === h))
|
|
550
550
|
u = l.propTypes;
|
|
551
551
|
else
|
|
552
552
|
return;
|
|
553
553
|
if (u) {
|
|
554
|
-
var
|
|
555
|
-
|
|
556
|
-
} else if (l.PropTypes !== void 0 && !
|
|
557
|
-
|
|
558
|
-
var
|
|
559
|
-
|
|
554
|
+
var m = x(l);
|
|
555
|
+
Ot(u, e.props, "prop", m, e);
|
|
556
|
+
} else if (l.PropTypes !== void 0 && !Ge) {
|
|
557
|
+
Ge = !0;
|
|
558
|
+
var R = x(l);
|
|
559
|
+
g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", R || "Unknown");
|
|
560
560
|
}
|
|
561
|
-
typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved &&
|
|
561
|
+
typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && g("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
562
562
|
}
|
|
563
563
|
}
|
|
564
|
-
function
|
|
564
|
+
function Yt(e) {
|
|
565
565
|
{
|
|
566
566
|
for (var l = Object.keys(e.props), u = 0; u < l.length; u++) {
|
|
567
|
-
var
|
|
568
|
-
if (
|
|
569
|
-
|
|
567
|
+
var m = l[u];
|
|
568
|
+
if (m !== "children" && m !== "key") {
|
|
569
|
+
$e(e), g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", m), $e(null);
|
|
570
570
|
break;
|
|
571
571
|
}
|
|
572
572
|
}
|
|
573
|
-
e.ref !== null && (
|
|
573
|
+
e.ref !== null && ($e(e), g("Invalid attribute `ref` supplied to `React.Fragment`."), $e(null));
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
|
-
var
|
|
577
|
-
function
|
|
576
|
+
var _t = {};
|
|
577
|
+
function pt(e, l, u, m, R, T) {
|
|
578
578
|
{
|
|
579
|
-
var
|
|
580
|
-
if (
|
|
581
|
-
var
|
|
582
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
583
|
-
var
|
|
584
|
-
|
|
585
|
-
var
|
|
586
|
-
e === null ?
|
|
579
|
+
var $ = G(e);
|
|
580
|
+
if (!$) {
|
|
581
|
+
var w = "";
|
|
582
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (w += " 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 K = Gt();
|
|
584
|
+
K ? w += K : w += lt();
|
|
585
|
+
var P;
|
|
586
|
+
e === null ? P = "null" : qe(e) ? P = "array" : e !== void 0 && e.$$typeof === r ? (P = "<" + (x(e.type) || "Unknown") + " />", w = " Did you accidentally export a JSX literal instead of a component?") : P = typeof e, g("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", P, w);
|
|
587
587
|
}
|
|
588
|
-
var H =
|
|
588
|
+
var H = Zt(e, l, u, R, T);
|
|
589
589
|
if (H == null)
|
|
590
590
|
return H;
|
|
591
|
-
if (
|
|
592
|
-
var
|
|
593
|
-
if (
|
|
594
|
-
if (
|
|
595
|
-
if (
|
|
596
|
-
for (var
|
|
597
|
-
ut(
|
|
598
|
-
Object.freeze && Object.freeze(
|
|
591
|
+
if ($) {
|
|
592
|
+
var ie = l.children;
|
|
593
|
+
if (ie !== void 0)
|
|
594
|
+
if (m)
|
|
595
|
+
if (qe(ie)) {
|
|
596
|
+
for (var Ee = 0; Ee < ie.length; Ee++)
|
|
597
|
+
ut(ie[Ee], e);
|
|
598
|
+
Object.freeze && Object.freeze(ie);
|
|
599
599
|
} else
|
|
600
|
-
|
|
600
|
+
g("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
601
601
|
else
|
|
602
|
-
ut(
|
|
602
|
+
ut(ie, e);
|
|
603
603
|
}
|
|
604
|
-
if (
|
|
605
|
-
var
|
|
604
|
+
if (Y.call(l, "key")) {
|
|
605
|
+
var Ce = x(e), ee = Object.keys(l).filter(function(aa) {
|
|
606
606
|
return aa !== "key";
|
|
607
|
-
}),
|
|
608
|
-
if (!
|
|
609
|
-
var ta =
|
|
610
|
-
|
|
607
|
+
}), Xe = ee.length > 0 ? "{key: someKey, " + ee.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
608
|
+
if (!_t[Ce + Xe]) {
|
|
609
|
+
var ta = ee.length > 0 ? "{" + ee.join(": ..., ") + ": ...}" : "{}";
|
|
610
|
+
g(`A props object containing a "key" prop is being spread into JSX:
|
|
611
611
|
let props = %s;
|
|
612
612
|
<%s {...props} />
|
|
613
613
|
React keys must be passed directly to JSX without using spread:
|
|
614
614
|
let props = %s;
|
|
615
|
-
<%s key={someKey} {...props} />`,
|
|
615
|
+
<%s key={someKey} {...props} />`, Xe, Ce, ta, Ce), _t[Ce + Xe] = !0;
|
|
616
616
|
}
|
|
617
617
|
}
|
|
618
|
-
return e === s ?
|
|
618
|
+
return e === s ? Yt(H) : Xt(H), H;
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
|
-
function
|
|
622
|
-
return
|
|
621
|
+
function Jt(e, l, u) {
|
|
622
|
+
return pt(e, l, u, !0);
|
|
623
623
|
}
|
|
624
|
-
function
|
|
625
|
-
return
|
|
624
|
+
function Kt(e, l, u) {
|
|
625
|
+
return pt(e, l, u, !1);
|
|
626
626
|
}
|
|
627
|
-
var Qt =
|
|
628
|
-
|
|
629
|
-
}()),
|
|
627
|
+
var Qt = Kt, ea = Jt;
|
|
628
|
+
Ie.Fragment = s, Ie.jsx = Qt, Ie.jsxs = ea;
|
|
629
|
+
}()), Ie;
|
|
630
630
|
}
|
|
631
631
|
var ht;
|
|
632
632
|
function da() {
|
|
633
|
-
return ht || (ht = 1, process.env.NODE_ENV === "production" ?
|
|
633
|
+
return ht || (ht = 1, process.env.NODE_ENV === "production" ? De.exports = la() : De.exports = ca()), De.exports;
|
|
634
634
|
}
|
|
635
|
-
var
|
|
636
|
-
const ua = (t) => t.as === "a",
|
|
637
|
-
button:
|
|
635
|
+
var i = da();
|
|
636
|
+
const ua = (t) => t.as === "a", _a = (t) => t.as === void 0 || t.as === "button", pa = "_button_1abee_213", fa = "_disabled_1abee_237", ga = "_loading_1abee_237", ha = "_neutral_1abee_259", ba = "_accent_1abee_263", ya = "_positive_1abee_267", xa = "_negative_1abee_271", ma = "_contrast_1abee_275", va = "_special_1abee_279", Ca = "_primary_1abee_284", wa = "_secondary_1abee_285", Sa = "_tertiary_1abee_286", La = "_label_1abee_321", $a = "_rightGroup_1abee_333", Ea = "_iconOnly_1abee_349", ja = "_large_1abee_357", ka = "_medium_1abee_361", Ra = "_small_1abee_365", Ta = "_spaceBetween_1abee_370", Ia = "_stretched_1abee_384", Ma = "_icon_1abee_349", Na = "_badge_1abee_705", Oa = "_badgeMedium_1abee_721", Aa = "_circular_1abee_738", Ba = "_badgeSmall_1abee_743", Da = "_badgeExtraSmall_1abee_765", Fa = "_withSubcaption_1abee_784", Pa = "_subcaption_1abee_797", za = "_loader_1abee_804", Wa = "_spin_1abee_1", Ha = "_l_1abee_237", Va = "_m_1abee_361", qa = "_s_1abee_279", Za = "_xs_1abee_869", z = {
|
|
637
|
+
button: pa,
|
|
638
638
|
disabled: fa,
|
|
639
639
|
loading: ga,
|
|
640
640
|
neutral: ha,
|
|
641
641
|
accent: ba,
|
|
642
642
|
positive: ya,
|
|
643
|
-
negative:
|
|
644
|
-
contrast:
|
|
645
|
-
special:
|
|
643
|
+
negative: xa,
|
|
644
|
+
contrast: ma,
|
|
645
|
+
special: va,
|
|
646
646
|
primary: Ca,
|
|
647
647
|
secondary: wa,
|
|
648
648
|
tertiary: Sa,
|
|
649
|
-
label:
|
|
650
|
-
rightGroup:
|
|
651
|
-
iconOnly:
|
|
652
|
-
large:
|
|
653
|
-
medium:
|
|
654
|
-
small:
|
|
655
|
-
spaceBetween:
|
|
656
|
-
stretched:
|
|
657
|
-
icon:
|
|
658
|
-
badge:
|
|
659
|
-
badgeMedium:
|
|
660
|
-
circular:
|
|
661
|
-
badgeSmall:
|
|
662
|
-
badgeExtraSmall:
|
|
663
|
-
withSubcaption:
|
|
664
|
-
subcaption:
|
|
665
|
-
loader:
|
|
666
|
-
spin:
|
|
667
|
-
l:
|
|
649
|
+
label: La,
|
|
650
|
+
rightGroup: $a,
|
|
651
|
+
iconOnly: Ea,
|
|
652
|
+
large: ja,
|
|
653
|
+
medium: ka,
|
|
654
|
+
small: Ra,
|
|
655
|
+
spaceBetween: Ta,
|
|
656
|
+
stretched: Ia,
|
|
657
|
+
icon: Ma,
|
|
658
|
+
badge: Na,
|
|
659
|
+
badgeMedium: Oa,
|
|
660
|
+
circular: Aa,
|
|
661
|
+
badgeSmall: Ba,
|
|
662
|
+
badgeExtraSmall: Da,
|
|
663
|
+
withSubcaption: Fa,
|
|
664
|
+
subcaption: Pa,
|
|
665
|
+
loader: za,
|
|
666
|
+
spin: Wa,
|
|
667
|
+
l: Ha,
|
|
668
668
|
m: Va,
|
|
669
|
-
s:
|
|
670
|
-
xs:
|
|
669
|
+
s: qa,
|
|
670
|
+
xs: Za
|
|
671
671
|
}, bt = ({
|
|
672
672
|
isLoading: t,
|
|
673
673
|
showBadge: r,
|
|
674
674
|
badgeValue: a,
|
|
675
675
|
badgeSize: s,
|
|
676
|
-
icon:
|
|
676
|
+
icon: o,
|
|
677
677
|
children: n,
|
|
678
678
|
postfix: c,
|
|
679
|
-
showSubcaption:
|
|
679
|
+
showSubcaption: _,
|
|
680
680
|
subcaption: d,
|
|
681
681
|
size: f
|
|
682
682
|
}) => {
|
|
683
683
|
if (t)
|
|
684
|
-
return /* @__PURE__ */
|
|
685
|
-
const
|
|
686
|
-
return /* @__PURE__ */
|
|
687
|
-
r && (a ||
|
|
684
|
+
return /* @__PURE__ */ i.jsx("span", { className: z.loader, "data-testid": "button-loader", "aria-hidden": "true" });
|
|
685
|
+
const p = s === "extra-small", h = parseInt(String(a), 10), b = !isNaN(h) && h >= 0 && h <= 9;
|
|
686
|
+
return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
687
|
+
r && (a || p) && /* @__PURE__ */ i.jsx(
|
|
688
688
|
"span",
|
|
689
689
|
{
|
|
690
690
|
"data-testid": "button-badge",
|
|
691
|
-
className:
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
{ [
|
|
691
|
+
className: V(
|
|
692
|
+
z.badge,
|
|
693
|
+
z[`badge${p ? "ExtraSmall" : s === "medium" ? "Medium" : "Small"}`],
|
|
694
|
+
{ [z.circular]: b && !p }
|
|
695
695
|
),
|
|
696
|
-
children: !
|
|
696
|
+
children: !p && a
|
|
697
697
|
}
|
|
698
698
|
),
|
|
699
|
-
|
|
700
|
-
/* @__PURE__ */
|
|
701
|
-
/* @__PURE__ */
|
|
702
|
-
] }) : n ? /* @__PURE__ */
|
|
703
|
-
/* @__PURE__ */
|
|
704
|
-
/* @__PURE__ */
|
|
705
|
-
|
|
706
|
-
c && /* @__PURE__ */
|
|
699
|
+
_ && f !== "s" && f !== "xs" ? /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
700
|
+
/* @__PURE__ */ i.jsx("span", { "data-testid": "button-label", className: z.label, children: n }),
|
|
701
|
+
/* @__PURE__ */ i.jsx("span", { "data-testid": "button-subcaption", className: z.subcaption, children: d })
|
|
702
|
+
] }) : n ? /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
703
|
+
/* @__PURE__ */ i.jsx("span", { "data-testid": "button-label", className: z.label, children: n }),
|
|
704
|
+
/* @__PURE__ */ i.jsxs("div", { "data-testid": "button-right-group", className: z.rightGroup, children: [
|
|
705
|
+
o && /* @__PURE__ */ i.jsx("span", { "data-testid": "button-icon", className: z.icon, children: o }),
|
|
706
|
+
c && /* @__PURE__ */ i.jsx("span", { "data-testid": "button-postfix", className: z.postfix, children: c })
|
|
707
707
|
] })
|
|
708
|
-
] }) : /* @__PURE__ */
|
|
708
|
+
] }) : /* @__PURE__ */ i.jsx("span", { "data-testid": "button-icon", className: z.icon, children: o })
|
|
709
709
|
] });
|
|
710
|
-
},
|
|
710
|
+
}, Yn = te((t, r) => {
|
|
711
711
|
const {
|
|
712
712
|
mode: a = "primary",
|
|
713
713
|
size: s = "m",
|
|
714
|
-
buttonStyle:
|
|
714
|
+
buttonStyle: o = "neutral",
|
|
715
715
|
loading: n = !1,
|
|
716
716
|
disabled: c = !1,
|
|
717
|
-
showBadge:
|
|
717
|
+
showBadge: _ = !1,
|
|
718
718
|
badgeSize: d = "small",
|
|
719
719
|
badgeValue: f,
|
|
720
|
-
showSubcaption:
|
|
721
|
-
subcaption:
|
|
722
|
-
stretched:
|
|
723
|
-
spaceBetween:
|
|
724
|
-
icon:
|
|
725
|
-
postfix:
|
|
726
|
-
className:
|
|
727
|
-
children:
|
|
728
|
-
} = t,
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
720
|
+
showSubcaption: p = !1,
|
|
721
|
+
subcaption: h,
|
|
722
|
+
stretched: b = !1,
|
|
723
|
+
spaceBetween: y = !1,
|
|
724
|
+
icon: v,
|
|
725
|
+
postfix: E,
|
|
726
|
+
className: L,
|
|
727
|
+
children: C
|
|
728
|
+
} = t, g = c, j = n, I = !g && !j, M = !!v && !C, N = V(
|
|
729
|
+
z.button,
|
|
730
|
+
z[s],
|
|
731
|
+
z[a],
|
|
732
|
+
z[o],
|
|
733
733
|
{
|
|
734
|
-
[
|
|
735
|
-
[
|
|
736
|
-
[
|
|
737
|
-
[
|
|
738
|
-
[
|
|
739
|
-
[
|
|
734
|
+
[z.disabled]: g,
|
|
735
|
+
[z.loading]: j,
|
|
736
|
+
[z.stretched]: b,
|
|
737
|
+
[z.spaceBetween]: y && b,
|
|
738
|
+
[z.withSubcaption]: p && h && s !== "s" && s !== "xs",
|
|
739
|
+
[z.iconOnly]: M
|
|
740
740
|
},
|
|
741
|
-
|
|
742
|
-
),
|
|
741
|
+
L
|
|
742
|
+
), O = {
|
|
743
743
|
isLoading: j,
|
|
744
|
-
showBadge:
|
|
744
|
+
showBadge: _,
|
|
745
745
|
badgeValue: f,
|
|
746
746
|
badgeSize: d,
|
|
747
|
-
icon:
|
|
748
|
-
children:
|
|
749
|
-
postfix:
|
|
750
|
-
showSubcaption:
|
|
751
|
-
subcaption:
|
|
747
|
+
icon: v,
|
|
748
|
+
children: C,
|
|
749
|
+
postfix: E,
|
|
750
|
+
showSubcaption: p,
|
|
751
|
+
subcaption: h,
|
|
752
752
|
size: s
|
|
753
753
|
};
|
|
754
754
|
if (ua(t)) {
|
|
755
755
|
const {
|
|
756
|
-
href:
|
|
757
|
-
onClick:
|
|
758
|
-
mode:
|
|
759
|
-
size:
|
|
760
|
-
buttonStyle:
|
|
761
|
-
loading:
|
|
762
|
-
disabled:
|
|
763
|
-
showBadge:
|
|
764
|
-
badgeSize:
|
|
765
|
-
badgeValue:
|
|
766
|
-
showSubcaption:
|
|
767
|
-
subcaption:
|
|
768
|
-
stretched:
|
|
769
|
-
spaceBetween:
|
|
770
|
-
icon:
|
|
771
|
-
postfix:
|
|
772
|
-
className:
|
|
773
|
-
tabIndex:
|
|
774
|
-
children:
|
|
756
|
+
href: A,
|
|
757
|
+
onClick: D,
|
|
758
|
+
mode: G,
|
|
759
|
+
size: W,
|
|
760
|
+
buttonStyle: B,
|
|
761
|
+
loading: x,
|
|
762
|
+
disabled: k,
|
|
763
|
+
showBadge: F,
|
|
764
|
+
badgeSize: U,
|
|
765
|
+
badgeValue: Z,
|
|
766
|
+
showSubcaption: Q,
|
|
767
|
+
subcaption: ne,
|
|
768
|
+
stretched: J,
|
|
769
|
+
spaceBetween: ae,
|
|
770
|
+
icon: oe,
|
|
771
|
+
postfix: de,
|
|
772
|
+
className: me,
|
|
773
|
+
tabIndex: ye,
|
|
774
|
+
children: re,
|
|
775
775
|
"data-testid": ue,
|
|
776
|
-
style:
|
|
777
|
-
...
|
|
778
|
-
} = t,
|
|
779
|
-
|
|
776
|
+
style: le,
|
|
777
|
+
...xe
|
|
778
|
+
} = t, _e = (ve) => {
|
|
779
|
+
I && D && D(ve);
|
|
780
780
|
};
|
|
781
|
-
return /* @__PURE__ */
|
|
781
|
+
return /* @__PURE__ */ i.jsx(
|
|
782
782
|
"a",
|
|
783
783
|
{
|
|
784
784
|
ref: r,
|
|
785
|
-
className:
|
|
786
|
-
href:
|
|
785
|
+
className: N,
|
|
786
|
+
href: I ? A : void 0,
|
|
787
787
|
tabIndex: t.tabIndex,
|
|
788
|
-
onClick:
|
|
788
|
+
onClick: _e,
|
|
789
789
|
"data-testid": ue,
|
|
790
|
-
"aria-disabled":
|
|
791
|
-
style:
|
|
792
|
-
...
|
|
793
|
-
children: /* @__PURE__ */
|
|
790
|
+
"aria-disabled": g || j,
|
|
791
|
+
style: le,
|
|
792
|
+
...xe,
|
|
793
|
+
children: /* @__PURE__ */ i.jsx(bt, { ...O })
|
|
794
794
|
}
|
|
795
795
|
);
|
|
796
796
|
}
|
|
797
|
-
if (
|
|
797
|
+
if (_a(t)) {
|
|
798
798
|
const {
|
|
799
|
-
type:
|
|
800
|
-
onClick:
|
|
801
|
-
mode:
|
|
802
|
-
size:
|
|
803
|
-
buttonStyle:
|
|
804
|
-
loading:
|
|
805
|
-
disabled:
|
|
806
|
-
showBadge:
|
|
807
|
-
badgeSize:
|
|
808
|
-
badgeValue:
|
|
809
|
-
showSubcaption:
|
|
810
|
-
subcaption:
|
|
811
|
-
stretched:
|
|
812
|
-
spaceBetween:
|
|
813
|
-
icon:
|
|
814
|
-
postfix:
|
|
815
|
-
className:
|
|
816
|
-
tabIndex:
|
|
817
|
-
children:
|
|
799
|
+
type: A = "button",
|
|
800
|
+
onClick: D,
|
|
801
|
+
mode: G,
|
|
802
|
+
size: W,
|
|
803
|
+
buttonStyle: B,
|
|
804
|
+
loading: x,
|
|
805
|
+
disabled: k,
|
|
806
|
+
showBadge: F,
|
|
807
|
+
badgeSize: U,
|
|
808
|
+
badgeValue: Z,
|
|
809
|
+
showSubcaption: Q,
|
|
810
|
+
subcaption: ne,
|
|
811
|
+
stretched: J,
|
|
812
|
+
spaceBetween: ae,
|
|
813
|
+
icon: oe,
|
|
814
|
+
postfix: de,
|
|
815
|
+
className: me,
|
|
816
|
+
tabIndex: ye,
|
|
817
|
+
children: re,
|
|
818
818
|
"data-testid": ue,
|
|
819
|
-
style:
|
|
820
|
-
...
|
|
821
|
-
} = t,
|
|
822
|
-
|
|
819
|
+
style: le,
|
|
820
|
+
...xe
|
|
821
|
+
} = t, _e = (ve) => {
|
|
822
|
+
I && D && D(ve);
|
|
823
823
|
};
|
|
824
|
-
return /* @__PURE__ */
|
|
824
|
+
return /* @__PURE__ */ i.jsx(
|
|
825
825
|
"button",
|
|
826
826
|
{
|
|
827
827
|
ref: r,
|
|
828
|
-
type:
|
|
829
|
-
className:
|
|
830
|
-
disabled:
|
|
828
|
+
type: A,
|
|
829
|
+
className: N,
|
|
830
|
+
disabled: g,
|
|
831
831
|
tabIndex: t.tabIndex,
|
|
832
|
-
onClick:
|
|
832
|
+
onClick: _e,
|
|
833
833
|
"data-testid": ue,
|
|
834
|
-
"aria-disabled":
|
|
835
|
-
style:
|
|
836
|
-
...
|
|
837
|
-
children: /* @__PURE__ */
|
|
834
|
+
"aria-disabled": g || j,
|
|
835
|
+
style: le,
|
|
836
|
+
...xe,
|
|
837
|
+
children: /* @__PURE__ */ i.jsx(bt, { ...O })
|
|
838
838
|
}
|
|
839
839
|
);
|
|
840
840
|
}
|
|
@@ -853,8 +853,8 @@ function Ga() {
|
|
|
853
853
|
var r = {}.hasOwnProperty;
|
|
854
854
|
function a() {
|
|
855
855
|
for (var n = "", c = 0; c < arguments.length; c++) {
|
|
856
|
-
var
|
|
857
|
-
|
|
856
|
+
var _ = arguments[c];
|
|
857
|
+
_ && (n = o(n, s(_)));
|
|
858
858
|
}
|
|
859
859
|
return n;
|
|
860
860
|
}
|
|
@@ -868,23 +868,23 @@ function Ga() {
|
|
|
868
868
|
if (n.toString !== Object.prototype.toString && !n.toString.toString().includes("[native code]"))
|
|
869
869
|
return n.toString();
|
|
870
870
|
var c = "";
|
|
871
|
-
for (var
|
|
872
|
-
r.call(n,
|
|
871
|
+
for (var _ in n)
|
|
872
|
+
r.call(n, _) && n[_] && (c = o(c, _));
|
|
873
873
|
return c;
|
|
874
874
|
}
|
|
875
|
-
function
|
|
875
|
+
function o(n, c) {
|
|
876
876
|
return c ? n ? n + " " + c : n + c : n;
|
|
877
877
|
}
|
|
878
878
|
t.exports ? (a.default = a, t.exports = a) : window.classNames = a;
|
|
879
879
|
})();
|
|
880
880
|
}(Ye)), Ye.exports;
|
|
881
881
|
}
|
|
882
|
-
var
|
|
883
|
-
const
|
|
884
|
-
avatar:
|
|
885
|
-
clickable:
|
|
886
|
-
icon:
|
|
887
|
-
disabled:
|
|
882
|
+
var Ua = Ga();
|
|
883
|
+
const Re = /* @__PURE__ */ ia(Ua), Xa = "_avatar_1kyiq_17", Ya = "_clickable_1kyiq_41", Ja = "_icon_1kyiq_58", Ka = "_disabled_1kyiq_63", Qa = "_loading_1kyiq_68", er = "_image_1kyiq_74", tr = "_name_1kyiq_74", pe = {
|
|
884
|
+
avatar: Xa,
|
|
885
|
+
clickable: Ya,
|
|
886
|
+
icon: Ja,
|
|
887
|
+
disabled: Ka,
|
|
888
888
|
loading: Qa,
|
|
889
889
|
image: er,
|
|
890
890
|
name: tr,
|
|
@@ -925,16 +925,16 @@ const Ie = /* @__PURE__ */ ia(Za), Ya = "_avatar_1kyiq_17", Ja = "_clickable_1ky
|
|
|
925
925
|
"typography-paragraph-2-regular": "_typography-paragraph-2-regular_1lyxn_176",
|
|
926
926
|
"typography-paragraph-3-regular": "_typography-paragraph-3-regular_1lyxn_185",
|
|
927
927
|
"typography-paragraph-4-regular": "_typography-paragraph-4-regular_1lyxn_194"
|
|
928
|
-
},
|
|
928
|
+
}, xt = 99;
|
|
929
929
|
function ar(t) {
|
|
930
|
-
return t <
|
|
930
|
+
return t < xt ? `+${t}` : `${xt}+`;
|
|
931
931
|
}
|
|
932
|
-
function
|
|
932
|
+
function et(t) {
|
|
933
933
|
const r = typeof t == "string" ? t : JSON.stringify(t);
|
|
934
934
|
let a = 5381;
|
|
935
935
|
for (let s = 0; s < r.length; s++) {
|
|
936
|
-
const
|
|
937
|
-
a = (a << 5) + a +
|
|
936
|
+
const o = r.charCodeAt(s);
|
|
937
|
+
a = (a << 5) + a + o;
|
|
938
938
|
}
|
|
939
939
|
return a >>> 0;
|
|
940
940
|
}
|
|
@@ -949,14 +949,14 @@ const rr = [
|
|
|
949
949
|
];
|
|
950
950
|
function sr(t, r = rr) {
|
|
951
951
|
if (!t) return "gray";
|
|
952
|
-
const a =
|
|
952
|
+
const a = et(t), s = Math.abs(a) % r.length;
|
|
953
953
|
return r[s];
|
|
954
954
|
}
|
|
955
|
-
const
|
|
955
|
+
const mt = 2;
|
|
956
956
|
function nr(t) {
|
|
957
957
|
if (!t) return "";
|
|
958
958
|
const r = t.trim().split(/\s+/);
|
|
959
|
-
return r.length === 1 ? t.slice(0,
|
|
959
|
+
return r.length === 1 ? t.slice(0, mt).toUpperCase() : r.map((a) => a[0]).slice(0, mt).join("").toUpperCase();
|
|
960
960
|
}
|
|
961
961
|
const or = {
|
|
962
962
|
24: 8,
|
|
@@ -969,7 +969,7 @@ const or = {
|
|
|
969
969
|
96: 24,
|
|
970
970
|
208: 8
|
|
971
971
|
};
|
|
972
|
-
function
|
|
972
|
+
function kt(t, r) {
|
|
973
973
|
return r === "circle" ? t / 2 : or[t] || 12;
|
|
974
974
|
}
|
|
975
975
|
const ir = {
|
|
@@ -986,113 +986,113 @@ const ir = {
|
|
|
986
986
|
function lr(t) {
|
|
987
987
|
return ir[t] || "typography-subtitle-1-semibold";
|
|
988
988
|
}
|
|
989
|
-
const cr = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMinYMin%20meet'%20viewBox='0%200%20208%20208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cfilter%20id='shadowW'%20filterUnits='userSpaceOnUse'%3e%3cfeDropShadow%20dx='-2'%20dy='-1'%20stdDeviation='5'%20flood-color='rgba(0,0,0,0.5)'/%3e%3c/filter%3e%3c/defs%3e%3cg%20filter='url(%23shadowW)'%3e%3cpath%20d='M23.9835%20174.59L113.41%20157.735L225.224%20191.671C225.224%20191.671%20250.259%20479.463%20243.525%20478.31C236.655%20477.167%20-7.79434%20482.039%20-8.17876%20476.943C-8.56308%20471.849%20-34.4445%20341.701%20-34.4445%20341.701L23.9835%20174.59Z'%20fill='darkgrey'/%3e%3cpath%20d='M-54.5558%20212.781C-85.688%20282.842%20-94.2122%20303.839%20-94.2122%20303.839L-213.504%20213.002C-214.953%20197.465%20-218.637%20181.68%20-225.636%20167.806C-234.412%20150.606%20-246.154%20149.138%20-259.595%20136.166C-267.368%20128.583%20-275.073%20140.242%20-267.3%20147.825L-259.338%20156.087C-258.869%20160.482%20-255.518%20171.861%20-254.634%20176.226C-267.475%20165.702%20-284.704%20150.246%20-300.665%20144.25C-305.079%20142.644%20-308.958%20144.46%20-311.08%20147.528C-314.628%20148.211%20-317.292%20151.458%20-317.858%20154.963C-321.103%20157.839%20-322.625%20163.354%20-319.254%20167.67C-321.407%20170.323%20-322.376%20173.998%20-320.433%20177.728C-320.274%20177.993%20-320.127%20178.12%20-320.106%20178.395C-320.997%20179.432%20-319.498%20182.78%20-320.337%20184.506C-324.035%20192.401%20-309.357%20221.757%20-285.221%20235.167C-277.291%20250.355%20-262.477%20259.485%20-261.354%20259.677C-234.512%20290.608%20-141.301%20400.999%20-97.2451%20436.169C-47.2868%20476.158%20-12.9855%20418.735%2010.6424%20317.115C34.2598%20215.358%2037.6457%20181.315%2037.6457%20181.315L116.374%20158.482C14.4423%20160.079%20-23.2964%20142.572%20-54.5558%20212.781Z'%20fill='darkgrey'/%3e%3cpath%20d='M116.781%20158.313L114.885%20158.871L61.4974%20174.391L38.0516%20181.145C38.0516%20181.145%2034.6758%20215.325%2011.0481%20316.945C9.47097%20323.572%207.88344%20330.061%206.27525%20336.275C-22.5942%20315.191%20-52.217%20295.131%20-82.0946%20275.368C-75.9632%20261.197%20-67.1116%20240.867%20-54.4359%20212.493C-30.4015%20158.477%20-2.57835%20156.516%2055.793%20157.512C72.5674%20157.77%2091.7239%20158.403%20114.133%20158.096C114.98%20158.309%20115.807%20158.247%20116.781%20158.313Z'%20fill='darkgrey'/%3e%3cpath%20d='M113.269%20157.745C175.26%20159.023%20252.771%20143.897%20266.382%20199.504C279.867%20255.26%20288.576%20280.774%20295.899%20320.932C303.221%20361.091%20322.043%20408.689%20271.897%20417.595C221.75%20426.502%20106.238%20444.495%20106.238%20444.495L78.8767%20384.662C78.8767%20384.662%20170.648%20343.813%20200.242%20332.303L185.17%20211.448L113.269%20157.745Z'%20fill='darkgrey'/%3e%3cpath%20d='M292.122%20302.108C260.506%20305.187%20228.942%20308.953%20198.219%20316.533L185.178%20211.585L140.855%20178.374L114.874%20158.871L114.144%20158.372L113.266%20157.746C127.138%20158.084%20141.774%20157.534%20156.283%20157.131C206.726%20155.818%20255.78%20156.271%20266.252%20199.654C277.643%20246.012%20285.665%20271.578%20292.122%20302.108Z'%20fill='darkgrey'/%3e%3cpath%20d='M108.001%20172.269C119.623%20168.485%20130.939%20164.308%20142.395%20160.12L112.224%20101.608L68.8441%20124.959C69.7222%20125.585%2079.0944%20154.372%2086.547%20177.904C93.7406%20175.977%20100.965%20174.463%20108.001%20172.269Z'%20fill='white'/%3e%3cpath%20d='M99.3655%20112.96C99.0934%20111.18%2098.8213%20109.401%2098.2722%20107.642L68.9864%20125.083C69.5682%20125.455%2073.8492%20138.148%2078.7406%20153.426C89.4856%20141.676%2097.5757%20127.773%2099.3655%20112.96Z'%20fill='darkgrey'/%3e%3cpath%20d='M144.524%2069.1209C143.075%2053.5829%20118.601%2039.3668%2099.9856%2038.5556C91.9262%2038.1943%2089.5107%2031.8684%2086.0605%2037.5291C77.5782%2051.7392%2049.6837%2094.9694%2052.2654%20110.837C56.0862%20133.951%2084.5691%20137.063%20102.228%20127.008C120.022%20116.942%20146.6%2091.1195%20144.524%2069.1209Z'%20fill='white'/%3e%3cpath%20d='M145.753%2072.4915C147.93%2068.3116%20146.317%2063.4483%20142.804%2060.944C142.656%2060.8166%20142.656%2060.8166%20142.507%2060.6894C143.028%2052.8957%20136.915%2047.1257%20129.979%2046.9567C129.007%2045.0914%20127.379%2043.691%20125.24%2042.883C124.903%2042.0778%20124.575%2041.4101%20123.982%2040.9009C122.651%2039.7551%20121.095%2039.3187%20119.441%2039.4435C118.081%2036.0843%20115.925%2033.2005%20112.495%2031.7977C110.348%2030.8519%20108.027%2031.304%20106.311%2032.4027C102.006%2028.5734%2096.789%2025.5051%2091.8112%2025.6038C89.736%2025.6218%2085.678%2026.8973%2084.2724%2032.1268C82.1968%2032.1449%2080.3522%2033.3917%2079.5546%2035.6676C78.427%2039.0759%2080.339%2042.3935%2083.1109%2044.2613C84.719%2045.3863%2086.9841%2046.0462%2089.0391%2045.7526C95.9026%2052.2969%20114.028%2063.1149%20118.148%2062.6657C115.532%2070.202%20113.218%2087.2698%20122.007%2088.1299C124.21%2095.3028%20116.99%20107.894%20121.368%20112.688C129.639%20104.863%20137.246%2095.5655%20141.359%2085.8391C141.496%2085.8288%20141.772%2085.808%20142.047%2085.7872C148.14%2083.9429%20149.527%2076.6377%20145.753%2072.4915Z'%20fill='darkgrey'/%3e%3cpath%20d='M140.151%20104.76C141.594%2096.3432%20132.67%2086.3542%20121.049%2088.3387C116.251%2096.3166%20111.305%20104.167%20106.21%20111.89C109.317%20116.364%20118.141%20121.376%20125.535%20120.264C133.872%20118.804%20138.613%20113.738%20140.151%20104.76Z'%20fill='white'/%3e%3cpath%20d='M156.755%20156.883C153.217%20165.043%20147.805%20172.237%20141.188%20178.136C133.925%20184.639%20125.011%20189.465%20114.809%20191.896C95.2214%20196.558%2072.2825%20189.842%2061.6836%20174.164C58.5559%20169.414%2056.4778%20163.894%2056%20157.561C72.7744%20157.818%2091.9311%20158.451%20114.34%20158.144L113.462%20157.519C127.463%20157.709%20142.098%20157.159%20156.755%20156.883Z'%20fill='white'/%3e%3c/g%3e%3c/svg%3e", dr = "data:image/svg+xml,%3csvg%20viewBox='0%200%20208%20208'%20opacity='0.9'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23shadow)'%3e%3cpath%20filter='url(%23shadow)'%20d='M127.173%2079.8894C127.189%2079.1933%20128.026%2079.1201%20128.436%2079.4316C128.754%2079.6091%20128.895%2080.1021%20128.809%2080.5518C129.241%2083.1982%20129.581%2085.7106%20130.013%2088.357C136.835%2079.7558%20149.235%2076.9989%20158.979%2083.174C168.086%2088.9941%20171.001%20111.745%20135.501%20120.502C131.5%20123.502%20117%20125.002%20111.753%20103.279C111.682%2093.2427%20118.526%2084.529%20127.173%2079.8894Z'%20fill='darkgrey'/%3e%3cpath%20d='M28.0441%20167.788C21.826%20195.052%2018.7311%20223.361%2014.1881%20250.885C9.42226%20279.982%204.68042%20308.967%20-0.0853729%20338.064L-1.00047%20342.848C14.5039%20346.419%2030.8401%20350.407%2046.3671%20353.868C90.9428%20363.918%20134.837%20376.598%20179.293%20387.201C200.345%20337.142%20219.778%20286.027%20235.82%20234.041C243.806%20208.213%20244.758%20181.282%20225.443%20160.043C216.099%20149.841%20204.347%20143.858%20191.629%20140.212C188.924%20139.377%20186.108%20138.517%20183.355%20137.905C179.635%20136.959%20175.781%20136.1%20171.989%20135.487C167.45%20134.592%20162.753%20133.893%20158.277%20133.243L127.871%20128.671L116.251%20126.895C115.457%20126.833%20114.686%20126.662%20113.915%20126.49C102.87%20124.724%2091.7381%20122.824%2080.6188%20123.013C69.1682%20123.13%2056.9012%20125.964%2047.8363%20133.224C36.9821%20141.825%2031.1109%20154.087%2028.0441%20167.788Z'%20fill='darkgrey'/%3e%3cpath%20d='M103.74%20123.732L95.6984%20197.532C95.6984%20197.532%20137.13%20157.315%20158.742%20133.268C155.051%20132.316%20151.227%20131.449%20147.465%20130.831C142.962%20129.929%20138.302%20129.224%20133.861%20128.569L103.74%20123.732Z'%20fill='white'/%3e%3cpath%20d='M97.8143%20115.298C99.0227%20116.625%20108.229%20179.332%20108.229%20179.332L148.012%20142.157L129%20100L97.8143%20115.298Z'%20fill='white'/%3e%3cpath%20d='M101.71%20148.534C100.068%20137.868%2098.402%20127.706%2098.0001%20127.274L112.673%20122C113.831%20131.449%20108.467%20141.173%20101.71%20148.534Z'%20fill='grey'/%3e%3cpath%20d='M121.545%2040.7383C111.161%2030.599%2085.3871%2035.4814%2071.93%2046.2862C66.0912%2051.0172%2060.5415%2047.9025%2061.6427%2054.0842C64.3767%2069.3597%2074.0239%20120.283%2082.7631%20126.794C100.374%20139.728%20121.191%20125.699%20127.329%20107.658C133.554%2089.7517%20136.293%2055.2372%20121.545%2040.7383Z'%20fill='white'/%3e%3cpath%20d='M56.0176%2041.9837C61.9834%2036.7831%2074.9427%2037.4243%2081.3074%2039.639C95.1733%2033.9235%20112.672%2032.6801%20120.968%2040.1438C131.22%2049.4771%20133.446%2067.5345%20132.042%2083.8281C125.848%2083.0025%20122.779%2078.6471%20116.718%2075.0286C97.7466%2073.2611%2084.9353%2061.0313%2082.042%2054.2301C78.3492%2058.2067%2063.3398%2059.3993%2058.12%2055.1646C51.1278%2048.7596%2054.1283%2043.6248%2056.0176%2041.9837Z'%20fill='darkgrey'/%3e%3cpath%20d='M142.838%2074.8316C138.561%2067.841%20123.674%2066.785%20116.5%2075.5006C118.078%2084.3219%20121.503%2092.5524%20122.726%20101.41C127.77%20102.657%20137.388%20100.869%20141.908%2095.386C147.168%2089.1414%20147.462%2082.3637%20142.838%2074.8316Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='shadow'%3e%3cfeDropShadow%20dx='0'%20dy='0'%20stdDeviation='3'%20flood-color='rgba(0,0,0,0.3)'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e", ur = "data:image/svg+xml,%3csvg%20opacity='0.9'%20viewBox='0%200%20208%20208'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cmask%20id='hole'%3e%3crect%20width='100%25'%20height='100%25'%20fill='white'/%3e%3ccircle%20cx='121.333'%20cy='121.333'%20r='52'%20fill='black'/%3e%3c/mask%3e%3cfilter%20id='shadow'%3e%3cfeDropShadow%20dx='-2'%20dy='-1'%20stdDeviation='10'%20flood-color='rgba(0,0,0,0.2)'/%3e%3c/filter%3e%3c/defs%3e%3cg%20filter='url(%23shadow)'%3e%3ccircle%20cx='104'%20cy='225.333'%20r='95.3333'%20fill='darkgray'/%3e%3ccircle%20cx='104'%20cy='225.333'%20r='95.3333'%20fill='white'%20mask='url(%23hole)'/%3e%3ccircle%20cx='104'%20cy='86.6666'%20r='52'%20fill='white'/%3e%3c/g%3e%3c/svg%3e", pr = "data:image/svg+xml,%3csvg%20opacity='0.9'%20viewBox='0%200%20208%20208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23shadow)'%3e%3cpath%20d='M168%20208V118.053C168%20113.824%20165.34%20110.052%20161.356%20108.633L134%2098.885V208H168Z'%20fill='darkgrey'/%3e%3cpath%20d='M40%2072.3726C40%2070.7381%2040.9944%2069.268%2042.5116%2068.6598L111.951%2040.8215C113.226%2040.3102%20114.675%2040.4893%20115.787%2041.2958L129.87%2051.5056C132.464%2053.3866%20134%2056.397%20134%2059.6017V208H40V72.3726Z'%20fill='white'/%3e%3cpath%20d='M114%2047.5001L126.325%2056.3036C127.376%2057.0544%20128%2058.2667%20128%2059.5585V208H114V47.5001Z'%20fill='darkgrey'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='shadow'%3e%3cfeDropShadow%20dx='-2'%20dy='-1'%20stdDeviation='7'%20flood-color='rgba(0,0,0,0.2)'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e", _r = {
|
|
989
|
+
const cr = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMinYMin%20meet'%20viewBox='0%200%20208%20208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cfilter%20id='shadowW'%20filterUnits='userSpaceOnUse'%3e%3cfeDropShadow%20dx='-2'%20dy='-1'%20stdDeviation='5'%20flood-color='rgba(0,0,0,0.5)'/%3e%3c/filter%3e%3c/defs%3e%3cg%20filter='url(%23shadowW)'%3e%3cpath%20d='M23.9835%20174.59L113.41%20157.735L225.224%20191.671C225.224%20191.671%20250.259%20479.463%20243.525%20478.31C236.655%20477.167%20-7.79434%20482.039%20-8.17876%20476.943C-8.56308%20471.849%20-34.4445%20341.701%20-34.4445%20341.701L23.9835%20174.59Z'%20fill='darkgrey'/%3e%3cpath%20d='M-54.5558%20212.781C-85.688%20282.842%20-94.2122%20303.839%20-94.2122%20303.839L-213.504%20213.002C-214.953%20197.465%20-218.637%20181.68%20-225.636%20167.806C-234.412%20150.606%20-246.154%20149.138%20-259.595%20136.166C-267.368%20128.583%20-275.073%20140.242%20-267.3%20147.825L-259.338%20156.087C-258.869%20160.482%20-255.518%20171.861%20-254.634%20176.226C-267.475%20165.702%20-284.704%20150.246%20-300.665%20144.25C-305.079%20142.644%20-308.958%20144.46%20-311.08%20147.528C-314.628%20148.211%20-317.292%20151.458%20-317.858%20154.963C-321.103%20157.839%20-322.625%20163.354%20-319.254%20167.67C-321.407%20170.323%20-322.376%20173.998%20-320.433%20177.728C-320.274%20177.993%20-320.127%20178.12%20-320.106%20178.395C-320.997%20179.432%20-319.498%20182.78%20-320.337%20184.506C-324.035%20192.401%20-309.357%20221.757%20-285.221%20235.167C-277.291%20250.355%20-262.477%20259.485%20-261.354%20259.677C-234.512%20290.608%20-141.301%20400.999%20-97.2451%20436.169C-47.2868%20476.158%20-12.9855%20418.735%2010.6424%20317.115C34.2598%20215.358%2037.6457%20181.315%2037.6457%20181.315L116.374%20158.482C14.4423%20160.079%20-23.2964%20142.572%20-54.5558%20212.781Z'%20fill='darkgrey'/%3e%3cpath%20d='M116.781%20158.313L114.885%20158.871L61.4974%20174.391L38.0516%20181.145C38.0516%20181.145%2034.6758%20215.325%2011.0481%20316.945C9.47097%20323.572%207.88344%20330.061%206.27525%20336.275C-22.5942%20315.191%20-52.217%20295.131%20-82.0946%20275.368C-75.9632%20261.197%20-67.1116%20240.867%20-54.4359%20212.493C-30.4015%20158.477%20-2.57835%20156.516%2055.793%20157.512C72.5674%20157.77%2091.7239%20158.403%20114.133%20158.096C114.98%20158.309%20115.807%20158.247%20116.781%20158.313Z'%20fill='darkgrey'/%3e%3cpath%20d='M113.269%20157.745C175.26%20159.023%20252.771%20143.897%20266.382%20199.504C279.867%20255.26%20288.576%20280.774%20295.899%20320.932C303.221%20361.091%20322.043%20408.689%20271.897%20417.595C221.75%20426.502%20106.238%20444.495%20106.238%20444.495L78.8767%20384.662C78.8767%20384.662%20170.648%20343.813%20200.242%20332.303L185.17%20211.448L113.269%20157.745Z'%20fill='darkgrey'/%3e%3cpath%20d='M292.122%20302.108C260.506%20305.187%20228.942%20308.953%20198.219%20316.533L185.178%20211.585L140.855%20178.374L114.874%20158.871L114.144%20158.372L113.266%20157.746C127.138%20158.084%20141.774%20157.534%20156.283%20157.131C206.726%20155.818%20255.78%20156.271%20266.252%20199.654C277.643%20246.012%20285.665%20271.578%20292.122%20302.108Z'%20fill='darkgrey'/%3e%3cpath%20d='M108.001%20172.269C119.623%20168.485%20130.939%20164.308%20142.395%20160.12L112.224%20101.608L68.8441%20124.959C69.7222%20125.585%2079.0944%20154.372%2086.547%20177.904C93.7406%20175.977%20100.965%20174.463%20108.001%20172.269Z'%20fill='white'/%3e%3cpath%20d='M99.3655%20112.96C99.0934%20111.18%2098.8213%20109.401%2098.2722%20107.642L68.9864%20125.083C69.5682%20125.455%2073.8492%20138.148%2078.7406%20153.426C89.4856%20141.676%2097.5757%20127.773%2099.3655%20112.96Z'%20fill='darkgrey'/%3e%3cpath%20d='M144.524%2069.1209C143.075%2053.5829%20118.601%2039.3668%2099.9856%2038.5556C91.9262%2038.1943%2089.5107%2031.8684%2086.0605%2037.5291C77.5782%2051.7392%2049.6837%2094.9694%2052.2654%20110.837C56.0862%20133.951%2084.5691%20137.063%20102.228%20127.008C120.022%20116.942%20146.6%2091.1195%20144.524%2069.1209Z'%20fill='white'/%3e%3cpath%20d='M145.753%2072.4915C147.93%2068.3116%20146.317%2063.4483%20142.804%2060.944C142.656%2060.8166%20142.656%2060.8166%20142.507%2060.6894C143.028%2052.8957%20136.915%2047.1257%20129.979%2046.9567C129.007%2045.0914%20127.379%2043.691%20125.24%2042.883C124.903%2042.0778%20124.575%2041.4101%20123.982%2040.9009C122.651%2039.7551%20121.095%2039.3187%20119.441%2039.4435C118.081%2036.0843%20115.925%2033.2005%20112.495%2031.7977C110.348%2030.8519%20108.027%2031.304%20106.311%2032.4027C102.006%2028.5734%2096.789%2025.5051%2091.8112%2025.6038C89.736%2025.6218%2085.678%2026.8973%2084.2724%2032.1268C82.1968%2032.1449%2080.3522%2033.3917%2079.5546%2035.6676C78.427%2039.0759%2080.339%2042.3935%2083.1109%2044.2613C84.719%2045.3863%2086.9841%2046.0462%2089.0391%2045.7526C95.9026%2052.2969%20114.028%2063.1149%20118.148%2062.6657C115.532%2070.202%20113.218%2087.2698%20122.007%2088.1299C124.21%2095.3028%20116.99%20107.894%20121.368%20112.688C129.639%20104.863%20137.246%2095.5655%20141.359%2085.8391C141.496%2085.8288%20141.772%2085.808%20142.047%2085.7872C148.14%2083.9429%20149.527%2076.6377%20145.753%2072.4915Z'%20fill='darkgrey'/%3e%3cpath%20d='M140.151%20104.76C141.594%2096.3432%20132.67%2086.3542%20121.049%2088.3387C116.251%2096.3166%20111.305%20104.167%20106.21%20111.89C109.317%20116.364%20118.141%20121.376%20125.535%20120.264C133.872%20118.804%20138.613%20113.738%20140.151%20104.76Z'%20fill='white'/%3e%3cpath%20d='M156.755%20156.883C153.217%20165.043%20147.805%20172.237%20141.188%20178.136C133.925%20184.639%20125.011%20189.465%20114.809%20191.896C95.2214%20196.558%2072.2825%20189.842%2061.6836%20174.164C58.5559%20169.414%2056.4778%20163.894%2056%20157.561C72.7744%20157.818%2091.9311%20158.451%20114.34%20158.144L113.462%20157.519C127.463%20157.709%20142.098%20157.159%20156.755%20156.883Z'%20fill='white'/%3e%3c/g%3e%3c/svg%3e", dr = "data:image/svg+xml,%3csvg%20viewBox='0%200%20208%20208'%20opacity='0.9'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23shadow)'%3e%3cpath%20filter='url(%23shadow)'%20d='M127.173%2079.8894C127.189%2079.1933%20128.026%2079.1201%20128.436%2079.4316C128.754%2079.6091%20128.895%2080.1021%20128.809%2080.5518C129.241%2083.1982%20129.581%2085.7106%20130.013%2088.357C136.835%2079.7558%20149.235%2076.9989%20158.979%2083.174C168.086%2088.9941%20171.001%20111.745%20135.501%20120.502C131.5%20123.502%20117%20125.002%20111.753%20103.279C111.682%2093.2427%20118.526%2084.529%20127.173%2079.8894Z'%20fill='darkgrey'/%3e%3cpath%20d='M28.0441%20167.788C21.826%20195.052%2018.7311%20223.361%2014.1881%20250.885C9.42226%20279.982%204.68042%20308.967%20-0.0853729%20338.064L-1.00047%20342.848C14.5039%20346.419%2030.8401%20350.407%2046.3671%20353.868C90.9428%20363.918%20134.837%20376.598%20179.293%20387.201C200.345%20337.142%20219.778%20286.027%20235.82%20234.041C243.806%20208.213%20244.758%20181.282%20225.443%20160.043C216.099%20149.841%20204.347%20143.858%20191.629%20140.212C188.924%20139.377%20186.108%20138.517%20183.355%20137.905C179.635%20136.959%20175.781%20136.1%20171.989%20135.487C167.45%20134.592%20162.753%20133.893%20158.277%20133.243L127.871%20128.671L116.251%20126.895C115.457%20126.833%20114.686%20126.662%20113.915%20126.49C102.87%20124.724%2091.7381%20122.824%2080.6188%20123.013C69.1682%20123.13%2056.9012%20125.964%2047.8363%20133.224C36.9821%20141.825%2031.1109%20154.087%2028.0441%20167.788Z'%20fill='darkgrey'/%3e%3cpath%20d='M103.74%20123.732L95.6984%20197.532C95.6984%20197.532%20137.13%20157.315%20158.742%20133.268C155.051%20132.316%20151.227%20131.449%20147.465%20130.831C142.962%20129.929%20138.302%20129.224%20133.861%20128.569L103.74%20123.732Z'%20fill='white'/%3e%3cpath%20d='M97.8143%20115.298C99.0227%20116.625%20108.229%20179.332%20108.229%20179.332L148.012%20142.157L129%20100L97.8143%20115.298Z'%20fill='white'/%3e%3cpath%20d='M101.71%20148.534C100.068%20137.868%2098.402%20127.706%2098.0001%20127.274L112.673%20122C113.831%20131.449%20108.467%20141.173%20101.71%20148.534Z'%20fill='grey'/%3e%3cpath%20d='M121.545%2040.7383C111.161%2030.599%2085.3871%2035.4814%2071.93%2046.2862C66.0912%2051.0172%2060.5415%2047.9025%2061.6427%2054.0842C64.3767%2069.3597%2074.0239%20120.283%2082.7631%20126.794C100.374%20139.728%20121.191%20125.699%20127.329%20107.658C133.554%2089.7517%20136.293%2055.2372%20121.545%2040.7383Z'%20fill='white'/%3e%3cpath%20d='M56.0176%2041.9837C61.9834%2036.7831%2074.9427%2037.4243%2081.3074%2039.639C95.1733%2033.9235%20112.672%2032.6801%20120.968%2040.1438C131.22%2049.4771%20133.446%2067.5345%20132.042%2083.8281C125.848%2083.0025%20122.779%2078.6471%20116.718%2075.0286C97.7466%2073.2611%2084.9353%2061.0313%2082.042%2054.2301C78.3492%2058.2067%2063.3398%2059.3993%2058.12%2055.1646C51.1278%2048.7596%2054.1283%2043.6248%2056.0176%2041.9837Z'%20fill='darkgrey'/%3e%3cpath%20d='M142.838%2074.8316C138.561%2067.841%20123.674%2066.785%20116.5%2075.5006C118.078%2084.3219%20121.503%2092.5524%20122.726%20101.41C127.77%20102.657%20137.388%20100.869%20141.908%2095.386C147.168%2089.1414%20147.462%2082.3637%20142.838%2074.8316Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='shadow'%3e%3cfeDropShadow%20dx='0'%20dy='0'%20stdDeviation='3'%20flood-color='rgba(0,0,0,0.3)'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e", ur = "data:image/svg+xml,%3csvg%20opacity='0.9'%20viewBox='0%200%20208%20208'%20fill='currentColor'%20xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cmask%20id='hole'%3e%3crect%20width='100%25'%20height='100%25'%20fill='white'/%3e%3ccircle%20cx='121.333'%20cy='121.333'%20r='52'%20fill='black'/%3e%3c/mask%3e%3cfilter%20id='shadow'%3e%3cfeDropShadow%20dx='-2'%20dy='-1'%20stdDeviation='10'%20flood-color='rgba(0,0,0,0.2)'/%3e%3c/filter%3e%3c/defs%3e%3cg%20filter='url(%23shadow)'%3e%3ccircle%20cx='104'%20cy='225.333'%20r='95.3333'%20fill='darkgray'/%3e%3ccircle%20cx='104'%20cy='225.333'%20r='95.3333'%20fill='white'%20mask='url(%23hole)'/%3e%3ccircle%20cx='104'%20cy='86.6666'%20r='52'%20fill='white'/%3e%3c/g%3e%3c/svg%3e", _r = "data:image/svg+xml,%3csvg%20opacity='0.9'%20viewBox='0%200%20208%20208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23shadow)'%3e%3cpath%20d='M168%20208V118.053C168%20113.824%20165.34%20110.052%20161.356%20108.633L134%2098.885V208H168Z'%20fill='darkgrey'/%3e%3cpath%20d='M40%2072.3726C40%2070.7381%2040.9944%2069.268%2042.5116%2068.6598L111.951%2040.8215C113.226%2040.3102%20114.675%2040.4893%20115.787%2041.2958L129.87%2051.5056C132.464%2053.3866%20134%2056.397%20134%2059.6017V208H40V72.3726Z'%20fill='white'/%3e%3cpath%20d='M114%2047.5001L126.325%2056.3036C127.376%2057.0544%20128%2058.2667%20128%2059.5585V208H114V47.5001Z'%20fill='darkgrey'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='shadow'%3e%3cfeDropShadow%20dx='-2'%20dy='-1'%20stdDeviation='7'%20flood-color='rgba(0,0,0,0.2)'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e", pr = {
|
|
990
990
|
male: cr,
|
|
991
991
|
female: dr,
|
|
992
|
-
org:
|
|
992
|
+
org: _r,
|
|
993
993
|
neutral: ur
|
|
994
|
-
}, Pe =
|
|
994
|
+
}, Pe = te((t, r) => {
|
|
995
995
|
const {
|
|
996
996
|
style: a,
|
|
997
997
|
size: s = 40,
|
|
998
|
-
isLoading:
|
|
998
|
+
isLoading: o = !1,
|
|
999
999
|
isDisabled: n = !1,
|
|
1000
1000
|
shape: c = "circle",
|
|
1001
|
-
variant:
|
|
1001
|
+
variant: _ = "filled",
|
|
1002
1002
|
placeholderType: d = "neutral",
|
|
1003
1003
|
name: f,
|
|
1004
|
-
imgSrc:
|
|
1005
|
-
imgAlt:
|
|
1006
|
-
icon:
|
|
1007
|
-
imgProps:
|
|
1008
|
-
colorScheme:
|
|
1009
|
-
className:
|
|
1010
|
-
"data-testid":
|
|
1011
|
-
...
|
|
1012
|
-
} = t, { onClick:
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
}, [
|
|
1016
|
-
const
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
Ne[
|
|
1004
|
+
imgSrc: p,
|
|
1005
|
+
imgAlt: h,
|
|
1006
|
+
icon: b,
|
|
1007
|
+
imgProps: y,
|
|
1008
|
+
colorScheme: v,
|
|
1009
|
+
className: E,
|
|
1010
|
+
"data-testid": L,
|
|
1011
|
+
...C
|
|
1012
|
+
} = t, { onClick: g, onPointerDown: j } = C, M = !n && !o && (!!g || !!j), [N, O] = Oe(!1);
|
|
1013
|
+
Le(() => {
|
|
1014
|
+
p && O(!1);
|
|
1015
|
+
}, [p]);
|
|
1016
|
+
const A = p && !N ? "image" : b ? "icon" : f ? "name" : "placeholder", D = v || A === "name" && sr(f) || "gray", G = lr(s), W = kt(s, c), B = V(
|
|
1017
|
+
E,
|
|
1018
|
+
pe.avatar,
|
|
1019
|
+
pe[`variant-${_}`],
|
|
1020
|
+
pe[`color-${D}`],
|
|
1021
|
+
Ne[G],
|
|
1022
1022
|
{
|
|
1023
|
-
[
|
|
1024
|
-
[
|
|
1025
|
-
[
|
|
1023
|
+
[pe.disabled]: n,
|
|
1024
|
+
[pe.loading]: o,
|
|
1025
|
+
[pe.clickable]: M
|
|
1026
1026
|
}
|
|
1027
|
-
),
|
|
1027
|
+
), x = {
|
|
1028
1028
|
"--avatar-size": `${s}px`,
|
|
1029
|
-
"--avatar-border-radius": `${
|
|
1029
|
+
"--avatar-border-radius": `${W}px`,
|
|
1030
1030
|
...a
|
|
1031
|
-
},
|
|
1032
|
-
icon: () => /* @__PURE__ */
|
|
1033
|
-
name: () => /* @__PURE__ */
|
|
1031
|
+
}, k = {
|
|
1032
|
+
icon: () => /* @__PURE__ */ i.jsx("span", { "data-testid": "avatar-icon", title: h || void 0, role: "img", className: pe.icon, children: b == null ? void 0 : b({}) }),
|
|
1033
|
+
name: () => /* @__PURE__ */ i.jsx(
|
|
1034
1034
|
"span",
|
|
1035
1035
|
{
|
|
1036
1036
|
role: "textbox",
|
|
1037
1037
|
"data-testid": "avatar-name",
|
|
1038
|
-
className:
|
|
1039
|
-
title:
|
|
1038
|
+
className: pe.name,
|
|
1039
|
+
title: h || void 0,
|
|
1040
1040
|
children: nr(f || "")
|
|
1041
1041
|
}
|
|
1042
1042
|
),
|
|
1043
|
-
placeholder: () => /* @__PURE__ */
|
|
1043
|
+
placeholder: () => /* @__PURE__ */ i.jsx(
|
|
1044
1044
|
"img",
|
|
1045
1045
|
{
|
|
1046
|
-
...
|
|
1046
|
+
...y,
|
|
1047
1047
|
"data-testid": "avatar-placeholder",
|
|
1048
|
-
className:
|
|
1049
|
-
src:
|
|
1050
|
-
alt:
|
|
1048
|
+
className: pe.image,
|
|
1049
|
+
src: pr[d],
|
|
1050
|
+
alt: h || void 0
|
|
1051
1051
|
}
|
|
1052
1052
|
),
|
|
1053
|
-
image: () => /* @__PURE__ */
|
|
1053
|
+
image: () => /* @__PURE__ */ i.jsx(
|
|
1054
1054
|
"img",
|
|
1055
1055
|
{
|
|
1056
1056
|
"data-testid": "avatar-image",
|
|
1057
|
-
...
|
|
1058
|
-
className:
|
|
1059
|
-
src:
|
|
1060
|
-
alt:
|
|
1061
|
-
onLoad: () =>
|
|
1062
|
-
onError: (
|
|
1063
|
-
var
|
|
1064
|
-
|
|
1057
|
+
...y,
|
|
1058
|
+
className: pe.image,
|
|
1059
|
+
src: p || void 0,
|
|
1060
|
+
alt: h || void 0,
|
|
1061
|
+
onLoad: () => O(!1),
|
|
1062
|
+
onError: (U) => {
|
|
1063
|
+
var Z;
|
|
1064
|
+
O(!0), (Z = y == null ? void 0 : y.onError) == null || Z.call(y, U);
|
|
1065
1065
|
}
|
|
1066
1066
|
}
|
|
1067
1067
|
)
|
|
1068
|
-
},
|
|
1069
|
-
|
|
1068
|
+
}, F = (U) => {
|
|
1069
|
+
M && (g == null || g(U));
|
|
1070
1070
|
};
|
|
1071
|
-
return /* @__PURE__ */
|
|
1071
|
+
return /* @__PURE__ */ i.jsx(
|
|
1072
1072
|
"div",
|
|
1073
1073
|
{
|
|
1074
1074
|
ref: r,
|
|
1075
|
-
onClick:
|
|
1076
|
-
className:
|
|
1077
|
-
style:
|
|
1078
|
-
"data-testid":
|
|
1079
|
-
"aria-disabled": n ||
|
|
1080
|
-
children:
|
|
1075
|
+
onClick: F,
|
|
1076
|
+
className: B,
|
|
1077
|
+
style: x,
|
|
1078
|
+
"data-testid": L,
|
|
1079
|
+
"aria-disabled": n || o,
|
|
1080
|
+
children: k[A](null)
|
|
1081
1081
|
}
|
|
1082
1082
|
);
|
|
1083
1083
|
}), fr = "_avatarGroup_157g4_1", gr = {
|
|
1084
1084
|
avatarGroup: fr
|
|
1085
1085
|
};
|
|
1086
1086
|
let hr = (t = 21) => crypto.getRandomValues(new Uint8Array(t)).reduce((r, a) => (a &= 63, a < 36 ? r += a.toString(36) : a < 62 ? r += (a - 26).toString(36).toUpperCase() : a > 62 ? r += "-" : r += "_", r), "");
|
|
1087
|
-
function br(t, r, a, s,
|
|
1088
|
-
const
|
|
1087
|
+
function br(t, r, a, s, o, n, c) {
|
|
1088
|
+
const _ = Math.min(o, n) / 2, d = Math.min(c, _), f = ["M0,0", `H${t}`, `V${r}`, "H0", "V0", "Z"].join(" "), p = [
|
|
1089
1089
|
`M${a + d},${s}`,
|
|
1090
|
-
`L${a +
|
|
1090
|
+
`L${a + o - d},${s}`,
|
|
1091
1091
|
// Верхний правый угол
|
|
1092
|
-
`A${d},${d} 0 0 1 ${a +
|
|
1093
|
-
`L${a +
|
|
1092
|
+
`A${d},${d} 0 0 1 ${a + o},${s + d}`,
|
|
1093
|
+
`L${a + o},${s + n - d}`,
|
|
1094
1094
|
// Нижний правый угол
|
|
1095
|
-
`A${d},${d} 0 0 1 ${a +
|
|
1095
|
+
`A${d},${d} 0 0 1 ${a + o - d},${s + n}`,
|
|
1096
1096
|
`L${a + d},${s + n}`,
|
|
1097
1097
|
// Нижний левый угол
|
|
1098
1098
|
`A${d},${d} 0 0 1 ${a},${s + n - d}`,
|
|
@@ -1101,20 +1101,20 @@ function br(t, r, a, s, i, n, c) {
|
|
|
1101
1101
|
`A${d},${d} 0 0 1 ${a + d},${s}`,
|
|
1102
1102
|
"Z"
|
|
1103
1103
|
].join(" ");
|
|
1104
|
-
return `${f} ${
|
|
1104
|
+
return `${f} ${p}`;
|
|
1105
1105
|
}
|
|
1106
|
-
const yr = 3,
|
|
1106
|
+
const yr = 3, xr = (t) => {
|
|
1107
1107
|
const {
|
|
1108
1108
|
avatars: r = [],
|
|
1109
1109
|
size: a = 40,
|
|
1110
1110
|
overlap: s = 0.3,
|
|
1111
|
-
shape:
|
|
1111
|
+
shape: o = "circle",
|
|
1112
1112
|
overflowCount: n = 0,
|
|
1113
1113
|
overflowProps: c
|
|
1114
|
-
} = t,
|
|
1114
|
+
} = t, _ = a * s, d = -_ + yr, f = kt(a, o), h = We(hr()).current.toString(), b = Re(gr.avatarGroup), y = br(
|
|
1115
1115
|
a,
|
|
1116
1116
|
a,
|
|
1117
|
-
a -
|
|
1117
|
+
a - _,
|
|
1118
1118
|
// X-координата начала выреза
|
|
1119
1119
|
0,
|
|
1120
1120
|
// Y-координата начала выреза
|
|
@@ -1122,59 +1122,59 @@ const yr = 3, mr = (t) => {
|
|
|
1122
1122
|
a,
|
|
1123
1123
|
f
|
|
1124
1124
|
);
|
|
1125
|
-
return r.length === 0 ? null : /* @__PURE__ */
|
|
1126
|
-
r.map((
|
|
1127
|
-
const
|
|
1128
|
-
if (
|
|
1129
|
-
const
|
|
1130
|
-
return /* @__PURE__ */
|
|
1125
|
+
return r.length === 0 ? null : /* @__PURE__ */ i.jsxs("div", { className: b, children: [
|
|
1126
|
+
r.map((v, E, L) => {
|
|
1127
|
+
const C = E + 1 >= L.length;
|
|
1128
|
+
if (v.wrapper) {
|
|
1129
|
+
const g = v.wrapper;
|
|
1130
|
+
return /* @__PURE__ */ i.jsx(
|
|
1131
1131
|
"div",
|
|
1132
1132
|
{
|
|
1133
1133
|
style: {
|
|
1134
1134
|
// Для последнего видимого аватара без overflowCount не применяем обрезку
|
|
1135
|
-
clipPath:
|
|
1135
|
+
clipPath: C && !n ? void 0 : `url(#${h})`,
|
|
1136
1136
|
marginRight: d
|
|
1137
1137
|
},
|
|
1138
|
-
children: /* @__PURE__ */
|
|
1138
|
+
children: /* @__PURE__ */ i.jsx(g, { children: /* @__PURE__ */ i.jsx(Pe, { size: a, shape: o, ...v }) })
|
|
1139
1139
|
},
|
|
1140
|
-
|
|
1140
|
+
et(v) + E
|
|
1141
1141
|
);
|
|
1142
1142
|
}
|
|
1143
|
-
return /* @__PURE__ */
|
|
1143
|
+
return /* @__PURE__ */ i.jsx(
|
|
1144
1144
|
"div",
|
|
1145
1145
|
{
|
|
1146
1146
|
style: {
|
|
1147
1147
|
// Для последнего видимого аватара без overflowCount не применяем обрезку
|
|
1148
|
-
clipPath:
|
|
1148
|
+
clipPath: C && !n ? void 0 : `url(#${h})`,
|
|
1149
1149
|
marginRight: d
|
|
1150
1150
|
},
|
|
1151
|
-
children: /* @__PURE__ */
|
|
1151
|
+
children: /* @__PURE__ */ i.jsx(Pe, { size: a, shape: o, ...v })
|
|
1152
1152
|
},
|
|
1153
|
-
|
|
1153
|
+
et(v) + E
|
|
1154
1154
|
);
|
|
1155
1155
|
}),
|
|
1156
|
-
n > 0 && /* @__PURE__ */
|
|
1156
|
+
n > 0 && /* @__PURE__ */ i.jsx("div", { style: { marginRight: d }, children: /* @__PURE__ */ i.jsx(
|
|
1157
1157
|
Pe,
|
|
1158
1158
|
{
|
|
1159
1159
|
size: a,
|
|
1160
|
-
shape:
|
|
1160
|
+
shape: o,
|
|
1161
1161
|
icon: () => ar(n),
|
|
1162
1162
|
colorScheme: "gray",
|
|
1163
1163
|
variant: "light",
|
|
1164
1164
|
...c
|
|
1165
1165
|
}
|
|
1166
1166
|
) }),
|
|
1167
|
-
/* @__PURE__ */
|
|
1167
|
+
/* @__PURE__ */ i.jsx("svg", { width: "0", height: "0", children: /* @__PURE__ */ i.jsx("clipPath", { id: `${h}`, children: /* @__PURE__ */ i.jsx("path", { clipPathUnits: "objectBoundingBox", d: y, clipRule: "evenodd" }) }) })
|
|
1168
1168
|
] });
|
|
1169
|
-
},
|
|
1170
|
-
Group:
|
|
1171
|
-
}),
|
|
1172
|
-
wrapper:
|
|
1173
|
-
badge__container:
|
|
1169
|
+
}, Jn = Object.assign(Pe, {
|
|
1170
|
+
Group: xr
|
|
1171
|
+
}), mr = "_wrapper_ecbsu_5", vr = "_badge__container_ecbsu_6", Cr = "_badge__content_ecbsu_7", wr = "_interactive_ecbsu_20", Sr = "_disabled_ecbsu_21", Lr = "_icon_ecbsu_22", fe = {
|
|
1172
|
+
wrapper: mr,
|
|
1173
|
+
badge__container: vr,
|
|
1174
1174
|
badge__content: Cr,
|
|
1175
1175
|
interactive: wr,
|
|
1176
1176
|
disabled: Sr,
|
|
1177
|
-
icon:
|
|
1177
|
+
icon: Lr,
|
|
1178
1178
|
"variant-filled": "_variant-filled_ecbsu_102",
|
|
1179
1179
|
"color-brand": "_color-brand_ecbsu_107",
|
|
1180
1180
|
"color-red": "_color-red_ecbsu_111",
|
|
@@ -1206,129 +1206,129 @@ const yr = 3, mr = (t) => {
|
|
|
1206
1206
|
"position-bottom-center-inside": "_position-bottom-center-inside_ecbsu_447",
|
|
1207
1207
|
"position-middle-left-inside": "_position-middle-left-inside_ecbsu_453",
|
|
1208
1208
|
"position-middle-right-inside": "_position-middle-right-inside_ecbsu_459"
|
|
1209
|
-
},
|
|
1209
|
+
}, $r = (t) => t === "rgba(0, 0, 0, 0)" || t === "transparent" || t.startsWith("rgba") && t.endsWith(", 0)"), Er = (t) => {
|
|
1210
1210
|
if (!t) return null;
|
|
1211
1211
|
let r = t;
|
|
1212
1212
|
for (; r; ) {
|
|
1213
1213
|
const s = window.getComputedStyle(r).backgroundColor;
|
|
1214
|
-
if (
|
|
1214
|
+
if (!$r(s)) return s;
|
|
1215
1215
|
r = r.parentElement;
|
|
1216
1216
|
}
|
|
1217
1217
|
return null;
|
|
1218
|
-
},
|
|
1219
|
-
const t = We(null), [r, a] =
|
|
1220
|
-
return
|
|
1218
|
+
}, jr = () => {
|
|
1219
|
+
const t = We(null), [r, a] = Oe(null);
|
|
1220
|
+
return Le(() => {
|
|
1221
1221
|
if (t.current) {
|
|
1222
|
-
const s =
|
|
1222
|
+
const s = Er(t.current);
|
|
1223
1223
|
a(s);
|
|
1224
1224
|
}
|
|
1225
1225
|
}, []), { ref: t, bgColor: r };
|
|
1226
|
-
},
|
|
1226
|
+
}, Kn = te((t, r) => {
|
|
1227
1227
|
const {
|
|
1228
1228
|
icon: a,
|
|
1229
1229
|
children: s,
|
|
1230
|
-
variant:
|
|
1230
|
+
variant: o = "filled",
|
|
1231
1231
|
label: n,
|
|
1232
1232
|
isHidden: c = !1,
|
|
1233
|
-
colorScheme:
|
|
1233
|
+
colorScheme: _ = "red",
|
|
1234
1234
|
size: d = 20,
|
|
1235
1235
|
position: f = "top-right",
|
|
1236
|
-
positionOffset:
|
|
1237
|
-
cutoutBackground:
|
|
1238
|
-
isDisabled:
|
|
1239
|
-
className:
|
|
1240
|
-
"data-testid":
|
|
1241
|
-
...
|
|
1242
|
-
} = t, { onClick:
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1236
|
+
positionOffset: p = { x: 0, y: 0 },
|
|
1237
|
+
cutoutBackground: h,
|
|
1238
|
+
isDisabled: b,
|
|
1239
|
+
className: y,
|
|
1240
|
+
"data-testid": v = "badge",
|
|
1241
|
+
...E
|
|
1242
|
+
} = t, { onClick: L, onPointerDown: C } = E, { ref: g, bgColor: j } = jr(), I = h || j, N = !b && (!!L || !!C), O = Re(fe.badge__container, fe[`position-${f}`]), A = Re(
|
|
1243
|
+
y,
|
|
1244
|
+
fe.badge__content,
|
|
1245
|
+
fe[`color-${_}`],
|
|
1246
|
+
fe[`variant-${o}`],
|
|
1247
1247
|
{
|
|
1248
|
-
[
|
|
1249
|
-
[
|
|
1250
|
-
[
|
|
1248
|
+
[fe.disabled]: b,
|
|
1249
|
+
[fe.icon]: !!a,
|
|
1250
|
+
[fe.interactive]: N
|
|
1251
1251
|
}
|
|
1252
|
-
),
|
|
1252
|
+
), D = {
|
|
1253
1253
|
"--badge-height": `${d}px`,
|
|
1254
|
-
"--badge-offset-x": `${
|
|
1255
|
-
"--badge-offset-y": `${
|
|
1256
|
-
...
|
|
1257
|
-
...
|
|
1258
|
-
},
|
|
1259
|
-
|
|
1254
|
+
"--badge-offset-x": `${p.x}px`,
|
|
1255
|
+
"--badge-offset-y": `${p.y}px`,
|
|
1256
|
+
...I && { "--badge-cutout-bg": I },
|
|
1257
|
+
...o === "transparent" && { "--badge-cutout-bg": "transparent" }
|
|
1258
|
+
}, G = (a == null ? void 0 : a({})) || n, W = (B) => {
|
|
1259
|
+
N && (L == null || L(B));
|
|
1260
1260
|
};
|
|
1261
|
-
return /* @__PURE__ */
|
|
1261
|
+
return /* @__PURE__ */ i.jsxs("div", { className: fe.wrapper, ref: g, "data-testid": v + "-wrapper", children: [
|
|
1262
1262
|
s,
|
|
1263
|
-
!c && /* @__PURE__ */
|
|
1263
|
+
!c && /* @__PURE__ */ i.jsx(
|
|
1264
1264
|
"span",
|
|
1265
1265
|
{
|
|
1266
|
-
className:
|
|
1267
|
-
style:
|
|
1268
|
-
"data-testid":
|
|
1269
|
-
children: /* @__PURE__ */
|
|
1266
|
+
className: O,
|
|
1267
|
+
style: D,
|
|
1268
|
+
"data-testid": v + "-container",
|
|
1269
|
+
children: /* @__PURE__ */ i.jsx(
|
|
1270
1270
|
"span",
|
|
1271
1271
|
{
|
|
1272
|
-
...
|
|
1273
|
-
onClick:
|
|
1274
|
-
className:
|
|
1275
|
-
"data-testid":
|
|
1272
|
+
...E,
|
|
1273
|
+
onClick: W,
|
|
1274
|
+
className: A,
|
|
1275
|
+
"data-testid": v + "-content",
|
|
1276
1276
|
ref: r,
|
|
1277
|
-
"aria-disabled":
|
|
1278
|
-
children:
|
|
1277
|
+
"aria-disabled": b,
|
|
1278
|
+
children: G
|
|
1279
1279
|
}
|
|
1280
1280
|
)
|
|
1281
1281
|
}
|
|
1282
1282
|
)
|
|
1283
1283
|
] });
|
|
1284
|
-
}),
|
|
1285
|
-
container:
|
|
1286
|
-
image:
|
|
1287
|
-
loading:
|
|
1288
|
-
},
|
|
1289
|
-
loader:
|
|
1290
|
-
spin:
|
|
1291
|
-
accent:
|
|
1292
|
-
neutral:
|
|
1293
|
-
positive:
|
|
1294
|
-
negative:
|
|
1295
|
-
gray:
|
|
1296
|
-
special:
|
|
1297
|
-
contrast:
|
|
1298
|
-
container:
|
|
1299
|
-
overlay:
|
|
1284
|
+
}), kr = "_container_op5yl_7", Rr = "_image_op5yl_22", Tr = "_loading_op5yl_34", Je = {
|
|
1285
|
+
container: kr,
|
|
1286
|
+
image: Rr,
|
|
1287
|
+
loading: Tr
|
|
1288
|
+
}, Ir = "_loader_isv17_1", Mr = "_spin_isv17_1", Nr = "_accent_isv17_19", Or = "_neutral_isv17_23", Ar = "_positive_isv17_27", Br = "_negative_isv17_31", Dr = "_gray_isv17_35", Fr = "_special_isv17_39", Pr = "_contrast_isv17_43", zr = "_container_isv17_47", Wr = "_overlay_isv17_57", Me = {
|
|
1289
|
+
loader: Ir,
|
|
1290
|
+
spin: Mr,
|
|
1291
|
+
accent: Nr,
|
|
1292
|
+
neutral: Or,
|
|
1293
|
+
positive: Ar,
|
|
1294
|
+
negative: Br,
|
|
1295
|
+
gray: Dr,
|
|
1296
|
+
special: Fr,
|
|
1297
|
+
contrast: Pr,
|
|
1298
|
+
container: zr,
|
|
1299
|
+
overlay: Wr,
|
|
1300
1300
|
"size-16": "_size-16_isv17_72",
|
|
1301
1301
|
"size-24": "_size-24_isv17_76",
|
|
1302
1302
|
"size-48": "_size-48_isv17_80",
|
|
1303
1303
|
"size-64": "_size-64_isv17_84",
|
|
1304
1304
|
"size-96": "_size-96_isv17_88"
|
|
1305
|
-
},
|
|
1305
|
+
}, Rt = te(
|
|
1306
1306
|
({
|
|
1307
1307
|
size: t = 24,
|
|
1308
1308
|
variant: r = "accent",
|
|
1309
1309
|
className: a,
|
|
1310
1310
|
"data-testid": s = "loader",
|
|
1311
|
-
style:
|
|
1311
|
+
style: o,
|
|
1312
1312
|
...n
|
|
1313
1313
|
}, c) => {
|
|
1314
|
-
const
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1314
|
+
const _ = Re(
|
|
1315
|
+
Me.loader,
|
|
1316
|
+
Me[r],
|
|
1317
|
+
Me[`size-${t}`],
|
|
1318
1318
|
a
|
|
1319
1319
|
);
|
|
1320
|
-
return /* @__PURE__ */
|
|
1320
|
+
return /* @__PURE__ */ i.jsx(
|
|
1321
1321
|
"svg",
|
|
1322
1322
|
{
|
|
1323
1323
|
ref: c,
|
|
1324
|
-
className:
|
|
1324
|
+
className: _,
|
|
1325
1325
|
fill: "none",
|
|
1326
1326
|
viewBox: "0 0 16 16",
|
|
1327
1327
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1328
1328
|
"data-testid": s,
|
|
1329
|
-
style:
|
|
1329
|
+
style: o,
|
|
1330
1330
|
...n,
|
|
1331
|
-
children: /* @__PURE__ */
|
|
1331
|
+
children: /* @__PURE__ */ i.jsx(
|
|
1332
1332
|
"path",
|
|
1333
1333
|
{
|
|
1334
1334
|
d: "M14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2",
|
|
@@ -1340,28 +1340,28 @@ const yr = 3, mr = (t) => {
|
|
|
1340
1340
|
}
|
|
1341
1341
|
);
|
|
1342
1342
|
}
|
|
1343
|
-
),
|
|
1343
|
+
), Hr = te((t, r) => {
|
|
1344
1344
|
const {
|
|
1345
1345
|
loading: a = !1,
|
|
1346
1346
|
size: s = 24,
|
|
1347
|
-
variant:
|
|
1347
|
+
variant: o = "accent",
|
|
1348
1348
|
children: n,
|
|
1349
1349
|
className: c,
|
|
1350
|
-
style:
|
|
1350
|
+
style: _,
|
|
1351
1351
|
"data-testid": d,
|
|
1352
1352
|
...f
|
|
1353
|
-
} = t,
|
|
1354
|
-
return /* @__PURE__ */
|
|
1353
|
+
} = t, p = Re(Me.container, c);
|
|
1354
|
+
return /* @__PURE__ */ i.jsxs("div", { ref: r, className: p, style: _, "data-testid": d, ...f, children: [
|
|
1355
1355
|
n,
|
|
1356
|
-
a && /* @__PURE__ */
|
|
1356
|
+
a && /* @__PURE__ */ i.jsx("div", { className: Me.overlay, children: /* @__PURE__ */ i.jsx(Rt, { size: s, variant: o, "data-testid": `${d}-spinner` }) })
|
|
1357
1357
|
] });
|
|
1358
|
-
}), Vr =
|
|
1359
|
-
|
|
1358
|
+
}), Vr = te((t, r) => t.children ? /* @__PURE__ */ i.jsx(
|
|
1359
|
+
Hr,
|
|
1360
1360
|
{
|
|
1361
1361
|
ref: r,
|
|
1362
1362
|
...t
|
|
1363
1363
|
}
|
|
1364
|
-
) : /* @__PURE__ */
|
|
1364
|
+
) : /* @__PURE__ */ i.jsx(Rt, { ref: r, ...t })), qr = ({ width: t = 48, height: r = 48, className: a, "data-testid": s }) => /* @__PURE__ */ i.jsx(
|
|
1365
1365
|
"svg",
|
|
1366
1366
|
{
|
|
1367
1367
|
width: t,
|
|
@@ -1371,7 +1371,7 @@ const yr = 3, mr = (t) => {
|
|
|
1371
1371
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1372
1372
|
className: a,
|
|
1373
1373
|
"data-testid": s,
|
|
1374
|
-
children: /* @__PURE__ */
|
|
1374
|
+
children: /* @__PURE__ */ i.jsx(
|
|
1375
1375
|
"path",
|
|
1376
1376
|
{
|
|
1377
1377
|
d: "M32.4 42H13.8627C12.6511 42 12.0453 42 11.7648 41.7604C11.5214 41.5525 11.3922 41.2407 11.4173 40.9215C11.4462 40.5538 11.8746 40.1254 12.7314 39.2686L29.7373 22.2627C30.5293 21.4707 30.9253 21.0747 31.382 20.9263C31.7837 20.7958 32.2163 20.7958 32.618 20.9263C33.0747 21.0747 33.4707 21.4707 34.2627 22.2627L42 30V32.4M32.4 42C35.7603 42 37.4405 42 38.7239 41.346C39.8529 40.7708 40.7708 39.8529 41.346 38.7239C42 37.4405 42 35.7603 42 32.4M32.4 42H15.6C12.2397 42 10.5595 42 9.27606 41.346C8.14708 40.7708 7.2292 39.8529 6.65396 38.7239C6 37.4405 6 35.7603 6 32.4V15.6C6 12.2397 6 10.5595 6.65396 9.27606C7.2292 8.14708 8.14708 7.2292 9.27606 6.65396C10.5595 6 12.2397 6 15.6 6H32.4C35.7603 6 37.4405 6 38.7239 6.65396C39.8529 7.2292 40.7708 8.14708 41.346 9.27606C42 10.5595 42 12.2397 42 15.6V32.4M21 17C21 19.2091 19.2091 21 17 21C14.7909 21 13 19.2091 13 17C13 14.7909 14.7909 13 17 13C19.2091 13 21 14.7909 21 17Z",
|
|
@@ -1382,105 +1382,105 @@ const yr = 3, mr = (t) => {
|
|
|
1382
1382
|
}
|
|
1383
1383
|
)
|
|
1384
1384
|
}
|
|
1385
|
-
),
|
|
1385
|
+
), Qn = te((t, r) => {
|
|
1386
1386
|
const {
|
|
1387
1387
|
alt: a = "",
|
|
1388
1388
|
loading: s = "lazy",
|
|
1389
|
-
src:
|
|
1389
|
+
src: o,
|
|
1390
1390
|
isLoading: n = !1,
|
|
1391
1391
|
className: c,
|
|
1392
|
-
"data-testid":
|
|
1392
|
+
"data-testid": _ = "image",
|
|
1393
1393
|
onError: d,
|
|
1394
1394
|
onLoad: f,
|
|
1395
|
-
...
|
|
1396
|
-
} = t, [
|
|
1395
|
+
...p
|
|
1396
|
+
} = t, [h, b] = Oe("loading"), y = h === "error", v = (n || h === "loading") && !y, E = h === "loaded" && !n, L = Re(
|
|
1397
1397
|
Je.image,
|
|
1398
1398
|
{
|
|
1399
|
-
[Je.loading]:
|
|
1399
|
+
[Je.loading]: v
|
|
1400
1400
|
},
|
|
1401
1401
|
c
|
|
1402
|
-
),
|
|
1403
|
-
(
|
|
1404
|
-
|
|
1402
|
+
), C = Se(
|
|
1403
|
+
(I) => {
|
|
1404
|
+
b("loaded"), f == null || f(I);
|
|
1405
1405
|
},
|
|
1406
1406
|
[f]
|
|
1407
|
-
),
|
|
1408
|
-
(
|
|
1409
|
-
|
|
1407
|
+
), g = Se(
|
|
1408
|
+
(I) => {
|
|
1409
|
+
b("error"), d == null || d(I);
|
|
1410
1410
|
},
|
|
1411
1411
|
[d]
|
|
1412
1412
|
), j = {
|
|
1413
|
-
loader: /* @__PURE__ */
|
|
1414
|
-
/* @__PURE__ */
|
|
1415
|
-
/* @__PURE__ */
|
|
1413
|
+
loader: /* @__PURE__ */ i.jsxs(Et, { children: [
|
|
1414
|
+
/* @__PURE__ */ i.jsx(Vr, { size: 48, variant: "special", "data-testid": `${_}-loader` }),
|
|
1415
|
+
/* @__PURE__ */ i.jsx(
|
|
1416
1416
|
"img",
|
|
1417
1417
|
{
|
|
1418
1418
|
alt: a,
|
|
1419
|
-
src:
|
|
1420
|
-
onLoad:
|
|
1421
|
-
onError:
|
|
1419
|
+
src: o,
|
|
1420
|
+
onLoad: C,
|
|
1421
|
+
onError: g,
|
|
1422
1422
|
style: { display: "none" }
|
|
1423
1423
|
}
|
|
1424
1424
|
)
|
|
1425
1425
|
] }),
|
|
1426
|
-
error: /* @__PURE__ */
|
|
1427
|
-
image: /* @__PURE__ */
|
|
1426
|
+
error: /* @__PURE__ */ i.jsx(qr, { "data-testid": `${_}-fallback` }),
|
|
1427
|
+
image: /* @__PURE__ */ i.jsx(
|
|
1428
1428
|
"img",
|
|
1429
1429
|
{
|
|
1430
1430
|
ref: r,
|
|
1431
1431
|
alt: a,
|
|
1432
|
-
"data-testid":
|
|
1432
|
+
"data-testid": _,
|
|
1433
1433
|
loading: s,
|
|
1434
|
-
src:
|
|
1435
|
-
className:
|
|
1434
|
+
src: o,
|
|
1435
|
+
className: L
|
|
1436
1436
|
}
|
|
1437
1437
|
)
|
|
1438
1438
|
};
|
|
1439
|
-
return
|
|
1440
|
-
if (!
|
|
1441
|
-
|
|
1439
|
+
return Le(() => {
|
|
1440
|
+
if (!o) {
|
|
1441
|
+
b("error");
|
|
1442
1442
|
return;
|
|
1443
1443
|
}
|
|
1444
|
-
|
|
1445
|
-
}, [
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1444
|
+
b("loading");
|
|
1445
|
+
}, [o]), /* @__PURE__ */ i.jsxs("div", { className: Je.container, "data-testid": `${_}-container`, ...p, children: [
|
|
1446
|
+
v && j.loader,
|
|
1447
|
+
y && j.error,
|
|
1448
|
+
E && j.image
|
|
1449
1449
|
] });
|
|
1450
|
-
}),
|
|
1451
|
-
locale:
|
|
1450
|
+
}), Zr = {}, Tt = ra({
|
|
1451
|
+
locale: Zr
|
|
1452
1452
|
}), Gr = () => {
|
|
1453
|
-
const t = sa(
|
|
1453
|
+
const t = sa(Tt);
|
|
1454
1454
|
if (!t)
|
|
1455
1455
|
throw new Error("useConfig must be used within a ConfigProvider");
|
|
1456
1456
|
return t;
|
|
1457
|
-
},
|
|
1457
|
+
}, eo = () => {
|
|
1458
1458
|
const { locale: t } = Gr();
|
|
1459
1459
|
return t;
|
|
1460
|
-
},
|
|
1460
|
+
}, Ur = {}, Xr = {}, Yr = {}, to = ({
|
|
1461
1461
|
locale: t = {},
|
|
1462
1462
|
theme: r,
|
|
1463
1463
|
children: a,
|
|
1464
1464
|
className: s
|
|
1465
1465
|
}) => (na(() => {
|
|
1466
1466
|
if (r) {
|
|
1467
|
-
const
|
|
1467
|
+
const o = document.documentElement;
|
|
1468
1468
|
Object.entries(r).forEach(([n, c]) => {
|
|
1469
|
-
|
|
1469
|
+
o.style.setProperty(n, c);
|
|
1470
1470
|
});
|
|
1471
1471
|
}
|
|
1472
|
-
}, [r]), /* @__PURE__ */
|
|
1473
|
-
/* @__PURE__ */
|
|
1472
|
+
}, [r]), /* @__PURE__ */ i.jsxs(Et, { children: [
|
|
1473
|
+
/* @__PURE__ */ i.jsx(
|
|
1474
1474
|
"div",
|
|
1475
1475
|
{
|
|
1476
1476
|
"data-testid": "ConfigProvider-component",
|
|
1477
|
-
className:
|
|
1477
|
+
className: V(Ur, Xr, Yr, s)
|
|
1478
1478
|
}
|
|
1479
1479
|
),
|
|
1480
|
-
/* @__PURE__ */
|
|
1481
|
-
] })),
|
|
1482
|
-
tag:
|
|
1483
|
-
label:
|
|
1480
|
+
/* @__PURE__ */ i.jsx(Tt.Provider, { value: { locale: t }, children: a })
|
|
1481
|
+
] })), ao = {}, Jr = "_tag_1llsi_1", Kr = "_label_1llsi_16", Qr = "_iconWrapper_1llsi_20", es = "_medium_1llsi_27", ts = "_large_1llsi_33", as = "_disabled_1llsi_43", rs = "_neutral_1llsi_47", ss = "_positive_1llsi_53", ns = "_negative_1llsi_59", os = "_warning_1llsi_65", is = "_vivid_1llsi_71", ls = "_special_1llsi_77", cs = "_accent_1llsi_84", ds = "_blue_1llsi_90", us = "_lovely_1llsi_96", _s = "_dreamy_1llsi_102", we = {
|
|
1482
|
+
tag: Jr,
|
|
1483
|
+
label: Kr,
|
|
1484
1484
|
iconWrapper: Qr,
|
|
1485
1485
|
medium: es,
|
|
1486
1486
|
large: ts,
|
|
@@ -1494,61 +1494,61 @@ const yr = 3, mr = (t) => {
|
|
|
1494
1494
|
accent: cs,
|
|
1495
1495
|
blue: ds,
|
|
1496
1496
|
lovely: us,
|
|
1497
|
-
dreamy:
|
|
1498
|
-
},
|
|
1497
|
+
dreamy: _s
|
|
1498
|
+
}, ro = te((t, r) => {
|
|
1499
1499
|
const {
|
|
1500
1500
|
className: a,
|
|
1501
1501
|
children: s,
|
|
1502
|
-
componentStyle:
|
|
1502
|
+
componentStyle: o = "neutral",
|
|
1503
1503
|
size: n = "medium",
|
|
1504
1504
|
disabled: c = !1,
|
|
1505
|
-
showLabel:
|
|
1505
|
+
showLabel: _ = !!s,
|
|
1506
1506
|
slotStart: d,
|
|
1507
1507
|
slotEnd: f,
|
|
1508
|
-
slotStartWrapperProps:
|
|
1509
|
-
slotEndWrapperProps:
|
|
1510
|
-
"data-testid":
|
|
1511
|
-
} = t, { className:
|
|
1512
|
-
return /* @__PURE__ */
|
|
1508
|
+
slotStartWrapperProps: p = {},
|
|
1509
|
+
slotEndWrapperProps: h = {},
|
|
1510
|
+
"data-testid": b
|
|
1511
|
+
} = t, { className: y, ...v } = p, { className: E, ...L } = h;
|
|
1512
|
+
return /* @__PURE__ */ i.jsxs(
|
|
1513
1513
|
"div",
|
|
1514
1514
|
{
|
|
1515
|
-
className:
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1515
|
+
className: V(
|
|
1516
|
+
we.tag,
|
|
1517
|
+
we[n],
|
|
1518
|
+
we[o],
|
|
1519
1519
|
{
|
|
1520
|
-
[
|
|
1520
|
+
[we.disabled]: c,
|
|
1521
1521
|
[Ne["typography-label-3-regular"]]: n === "medium",
|
|
1522
1522
|
[Ne["typography-subtitle-1-semibold"]]: n === "large"
|
|
1523
1523
|
},
|
|
1524
1524
|
a
|
|
1525
1525
|
),
|
|
1526
|
-
"data-testid":
|
|
1526
|
+
"data-testid": b || "tag-component",
|
|
1527
1527
|
ref: r,
|
|
1528
1528
|
children: [
|
|
1529
|
-
d && /* @__PURE__ */
|
|
1530
|
-
|
|
1531
|
-
f && /* @__PURE__ */
|
|
1529
|
+
d && /* @__PURE__ */ i.jsx("span", { className: V([we.iconWrapper, y]), ...v, children: d }),
|
|
1530
|
+
_ && /* @__PURE__ */ i.jsx("span", { className: V([we.label]), children: s }),
|
|
1531
|
+
f && /* @__PURE__ */ i.jsx("span", { className: V([we.iconWrapper, E]), ...L, children: f })
|
|
1532
1532
|
]
|
|
1533
1533
|
}
|
|
1534
1534
|
);
|
|
1535
|
-
}),
|
|
1536
|
-
checkbox:
|
|
1535
|
+
}), ps = "_checkbox_qo5f5_43", fs = "_input_qo5f5_59", gs = "_icon_qo5f5_67", hs = "_container_qo5f5_84", bs = "_error_qo5f5_135", ys = "_checkboxWrapper_qo5f5_147", xs = "_medium_qo5f5_201", ms = "_large_qo5f5_206", vs = "_label_qo5f5_247", he = {
|
|
1536
|
+
checkbox: ps,
|
|
1537
1537
|
input: fs,
|
|
1538
1538
|
icon: gs,
|
|
1539
1539
|
container: hs,
|
|
1540
1540
|
error: bs,
|
|
1541
1541
|
checkboxWrapper: ys,
|
|
1542
|
-
medium:
|
|
1543
|
-
large:
|
|
1544
|
-
label:
|
|
1542
|
+
medium: xs,
|
|
1543
|
+
large: ms,
|
|
1544
|
+
label: vs
|
|
1545
1545
|
}, Cs = ({
|
|
1546
1546
|
width: t = 12,
|
|
1547
1547
|
height: r = 9,
|
|
1548
1548
|
className: a = "",
|
|
1549
1549
|
color: s = "currentColor",
|
|
1550
|
-
...
|
|
1551
|
-
}) => /* @__PURE__ */
|
|
1550
|
+
...o
|
|
1551
|
+
}) => /* @__PURE__ */ i.jsx(
|
|
1552
1552
|
"svg",
|
|
1553
1553
|
{
|
|
1554
1554
|
className: a,
|
|
@@ -1557,8 +1557,8 @@ const yr = 3, mr = (t) => {
|
|
|
1557
1557
|
viewBox: "0 0 14 10",
|
|
1558
1558
|
fill: "none",
|
|
1559
1559
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1560
|
-
...
|
|
1561
|
-
children: /* @__PURE__ */
|
|
1560
|
+
...o,
|
|
1561
|
+
children: /* @__PURE__ */ i.jsx(
|
|
1562
1562
|
"path",
|
|
1563
1563
|
{
|
|
1564
1564
|
fillRule: "evenodd",
|
|
@@ -1573,8 +1573,8 @@ const yr = 3, mr = (t) => {
|
|
|
1573
1573
|
height: r = 2,
|
|
1574
1574
|
className: a = "",
|
|
1575
1575
|
color: s = "currentColor",
|
|
1576
|
-
...
|
|
1577
|
-
}) => /* @__PURE__ */
|
|
1576
|
+
...o
|
|
1577
|
+
}) => /* @__PURE__ */ i.jsx(
|
|
1578
1578
|
"svg",
|
|
1579
1579
|
{
|
|
1580
1580
|
className: a,
|
|
@@ -1583,8 +1583,8 @@ const yr = 3, mr = (t) => {
|
|
|
1583
1583
|
viewBox: "0 0 12 2",
|
|
1584
1584
|
fill: "none",
|
|
1585
1585
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1586
|
-
...
|
|
1587
|
-
children: /* @__PURE__ */
|
|
1586
|
+
...o,
|
|
1587
|
+
children: /* @__PURE__ */ i.jsx(
|
|
1588
1588
|
"path",
|
|
1589
1589
|
{
|
|
1590
1590
|
fillRule: "evenodd",
|
|
@@ -1597,253 +1597,275 @@ const yr = 3, mr = (t) => {
|
|
|
1597
1597
|
), Ss = {
|
|
1598
1598
|
medium: { width: 10.83, height: 7.5 },
|
|
1599
1599
|
large: { width: 13, height: 9 }
|
|
1600
|
-
},
|
|
1600
|
+
}, Ls = ({
|
|
1601
1601
|
size: t,
|
|
1602
1602
|
isChecked: r,
|
|
1603
1603
|
isDisabled: a,
|
|
1604
1604
|
indeterminate: s,
|
|
1605
|
-
dataTestId:
|
|
1605
|
+
dataTestId: o
|
|
1606
1606
|
}) => {
|
|
1607
1607
|
const { width: n, height: c } = Ss[t];
|
|
1608
|
-
return /* @__PURE__ */
|
|
1608
|
+
return /* @__PURE__ */ i.jsx(
|
|
1609
1609
|
"div",
|
|
1610
1610
|
{
|
|
1611
|
-
className:
|
|
1612
|
-
"data-testid": `${
|
|
1611
|
+
className: he.icon,
|
|
1612
|
+
"data-testid": `${o}-icon`,
|
|
1613
1613
|
"data-checked": r,
|
|
1614
1614
|
"data-disabled": a,
|
|
1615
1615
|
"data-indeterminate": s,
|
|
1616
|
-
children: s ? /* @__PURE__ */
|
|
1616
|
+
children: s ? /* @__PURE__ */ i.jsx(ws, { width: n, height: c }) : /* @__PURE__ */ i.jsx(Cs, { width: n, height: c })
|
|
1617
1617
|
}
|
|
1618
1618
|
);
|
|
1619
|
-
},
|
|
1619
|
+
}, so = te((t, r) => {
|
|
1620
1620
|
const {
|
|
1621
1621
|
name: a,
|
|
1622
1622
|
value: s,
|
|
1623
|
-
size:
|
|
1623
|
+
size: o = "medium",
|
|
1624
1624
|
indeterminate: n = !1,
|
|
1625
1625
|
loading: c = !1,
|
|
1626
|
-
error:
|
|
1626
|
+
error: _,
|
|
1627
1627
|
disabled: d = !1,
|
|
1628
1628
|
containerClassName: f,
|
|
1629
|
-
className:
|
|
1630
|
-
containerStyle:
|
|
1631
|
-
style:
|
|
1632
|
-
children:
|
|
1633
|
-
clickableLabel:
|
|
1634
|
-
tabIndex:
|
|
1635
|
-
onChange:
|
|
1636
|
-
"data-testid":
|
|
1637
|
-
} = t, [
|
|
1638
|
-
|
|
1639
|
-
|
|
1629
|
+
className: p,
|
|
1630
|
+
containerStyle: h,
|
|
1631
|
+
style: b,
|
|
1632
|
+
children: y,
|
|
1633
|
+
clickableLabel: v = !0,
|
|
1634
|
+
tabIndex: E,
|
|
1635
|
+
onChange: L,
|
|
1636
|
+
"data-testid": C = "checkbox"
|
|
1637
|
+
} = t, [g, j] = Oe(!1), I = s ?? g, M = d || c, N = !!_, O = I || n, A = V(he.container, he[o], f), D = V(
|
|
1638
|
+
he.checkbox,
|
|
1639
|
+
he[o],
|
|
1640
1640
|
{
|
|
1641
|
-
[
|
|
1641
|
+
[he.error]: N
|
|
1642
1642
|
},
|
|
1643
|
-
|
|
1644
|
-
),
|
|
1645
|
-
|
|
1646
|
-
},
|
|
1647
|
-
if (
|
|
1648
|
-
|
|
1649
|
-
const
|
|
1650
|
-
j(
|
|
1643
|
+
p
|
|
1644
|
+
), G = (k) => {
|
|
1645
|
+
M || (j(k.target.checked), L == null || L(k.target.checked, k));
|
|
1646
|
+
}, W = (k) => {
|
|
1647
|
+
if (k.key === "Enter" && !M) {
|
|
1648
|
+
k.preventDefault();
|
|
1649
|
+
const F = !O;
|
|
1650
|
+
j(F), L == null || L(F);
|
|
1651
1651
|
}
|
|
1652
|
-
},
|
|
1653
|
-
|
|
1654
|
-
},
|
|
1655
|
-
return /* @__PURE__ */
|
|
1652
|
+
}, B = (k) => {
|
|
1653
|
+
v || k.preventDefault();
|
|
1654
|
+
}, x = (k) => k.stopPropagation();
|
|
1655
|
+
return /* @__PURE__ */ i.jsxs(
|
|
1656
1656
|
"label",
|
|
1657
1657
|
{
|
|
1658
|
-
className:
|
|
1658
|
+
className: A,
|
|
1659
1659
|
htmlFor: a,
|
|
1660
|
-
style:
|
|
1661
|
-
"data-testid":
|
|
1662
|
-
"data-clickable-label":
|
|
1660
|
+
style: h,
|
|
1661
|
+
"data-testid": C,
|
|
1662
|
+
"data-clickable-label": v,
|
|
1663
1663
|
children: [
|
|
1664
|
-
/* @__PURE__ */
|
|
1664
|
+
/* @__PURE__ */ i.jsx("div", { className: he.checkboxWrapper, children: /* @__PURE__ */ i.jsxs(
|
|
1665
1665
|
"div",
|
|
1666
1666
|
{
|
|
1667
|
-
tabIndex:
|
|
1668
|
-
className:
|
|
1669
|
-
style:
|
|
1670
|
-
onKeyDown:
|
|
1671
|
-
"aria-checked":
|
|
1672
|
-
"aria-disabled":
|
|
1673
|
-
"aria-invalid":
|
|
1674
|
-
"aria-describedby":
|
|
1675
|
-
"data-testid": `${
|
|
1667
|
+
tabIndex: E || 0,
|
|
1668
|
+
className: D,
|
|
1669
|
+
style: b,
|
|
1670
|
+
onKeyDown: W,
|
|
1671
|
+
"aria-checked": O,
|
|
1672
|
+
"aria-disabled": M,
|
|
1673
|
+
"aria-invalid": N,
|
|
1674
|
+
"aria-describedby": _ ? `${a}-error` : void 0,
|
|
1675
|
+
"data-testid": `${C}-label`,
|
|
1676
1676
|
children: [
|
|
1677
|
-
/* @__PURE__ */
|
|
1677
|
+
/* @__PURE__ */ i.jsx(
|
|
1678
1678
|
"input",
|
|
1679
1679
|
{
|
|
1680
1680
|
ref: r,
|
|
1681
1681
|
type: "checkbox",
|
|
1682
1682
|
id: a,
|
|
1683
1683
|
name: a,
|
|
1684
|
-
checked:
|
|
1685
|
-
disabled:
|
|
1686
|
-
className:
|
|
1687
|
-
onChange:
|
|
1688
|
-
onClick:
|
|
1689
|
-
"aria-checked":
|
|
1690
|
-
"aria-invalid":
|
|
1691
|
-
"aria-describedby":
|
|
1692
|
-
"data-testid": `${
|
|
1684
|
+
checked: O,
|
|
1685
|
+
disabled: M,
|
|
1686
|
+
className: he.input,
|
|
1687
|
+
onChange: G,
|
|
1688
|
+
onClick: x,
|
|
1689
|
+
"aria-checked": O,
|
|
1690
|
+
"aria-invalid": N,
|
|
1691
|
+
"aria-describedby": _ ? `${a}-error` : void 0,
|
|
1692
|
+
"data-testid": `${C}-input`
|
|
1693
1693
|
}
|
|
1694
1694
|
),
|
|
1695
|
-
/* @__PURE__ */
|
|
1696
|
-
|
|
1695
|
+
/* @__PURE__ */ i.jsx(
|
|
1696
|
+
Ls,
|
|
1697
1697
|
{
|
|
1698
1698
|
name: a,
|
|
1699
|
-
size:
|
|
1700
|
-
isChecked:
|
|
1701
|
-
isDisabled:
|
|
1699
|
+
size: o,
|
|
1700
|
+
isChecked: O,
|
|
1701
|
+
isDisabled: M,
|
|
1702
1702
|
indeterminate: n,
|
|
1703
|
-
dataTestId:
|
|
1703
|
+
dataTestId: C
|
|
1704
1704
|
}
|
|
1705
1705
|
)
|
|
1706
1706
|
]
|
|
1707
1707
|
}
|
|
1708
1708
|
) }),
|
|
1709
|
-
|
|
1709
|
+
y && /* @__PURE__ */ i.jsx(
|
|
1710
1710
|
"span",
|
|
1711
1711
|
{
|
|
1712
|
-
"data-testid": `${
|
|
1713
|
-
"data-clickable-label":
|
|
1714
|
-
className:
|
|
1715
|
-
onClick:
|
|
1716
|
-
children:
|
|
1712
|
+
"data-testid": `${C}-label-text`,
|
|
1713
|
+
"data-clickable-label": v,
|
|
1714
|
+
className: he.label,
|
|
1715
|
+
onClick: B,
|
|
1716
|
+
children: y
|
|
1717
1717
|
}
|
|
1718
1718
|
)
|
|
1719
1719
|
]
|
|
1720
1720
|
}
|
|
1721
1721
|
);
|
|
1722
|
-
}),
|
|
1723
|
-
typography:
|
|
1724
|
-
disabled:
|
|
1725
|
-
primary:
|
|
1726
|
-
secondary:
|
|
1727
|
-
tertiary:
|
|
1728
|
-
accent:
|
|
1722
|
+
}), $s = "_typography_zt7xg_1", Es = "_disabled_zt7xg_8", js = "_primary_zt7xg_13", ks = "_secondary_zt7xg_18", Rs = "_tertiary_zt7xg_23", Ts = "_accent_zt7xg_28", Is = "_positive_zt7xg_38", Ms = "_negative_zt7xg_48", Ns = "_warning_zt7xg_58", Os = "_special_zt7xg_68", As = "_contrast_zt7xg_78", ke = {
|
|
1723
|
+
typography: $s,
|
|
1724
|
+
disabled: Es,
|
|
1725
|
+
primary: js,
|
|
1726
|
+
secondary: ks,
|
|
1727
|
+
tertiary: Rs,
|
|
1728
|
+
accent: Ts,
|
|
1729
1729
|
"accent-secondary": "_accent-secondary_zt7xg_33",
|
|
1730
|
-
positive:
|
|
1730
|
+
positive: Is,
|
|
1731
1731
|
"positive-secondary": "_positive-secondary_zt7xg_43",
|
|
1732
|
-
negative:
|
|
1732
|
+
negative: Ms,
|
|
1733
1733
|
"negative-secondary": "_negative-secondary_zt7xg_53",
|
|
1734
|
-
warning:
|
|
1734
|
+
warning: Ns,
|
|
1735
1735
|
"warning-secondary": "_warning-secondary_zt7xg_63",
|
|
1736
|
-
special:
|
|
1736
|
+
special: Os,
|
|
1737
1737
|
"special-secondary": "_special-secondary_zt7xg_73",
|
|
1738
|
-
contrast:
|
|
1738
|
+
contrast: As,
|
|
1739
1739
|
"contrast-secondary": "_contrast-secondary_zt7xg_83"
|
|
1740
|
-
},
|
|
1740
|
+
}, Bs = {
|
|
1741
1741
|
1: "h1",
|
|
1742
1742
|
2: "h2",
|
|
1743
1743
|
3: "h3",
|
|
1744
1744
|
4: "h4",
|
|
1745
1745
|
5: "h5"
|
|
1746
|
-
},
|
|
1747
|
-
const r =
|
|
1746
|
+
}, vt = (t) => {
|
|
1747
|
+
const r = Lt.forwardRef(
|
|
1748
1748
|
({
|
|
1749
1749
|
size: a = 3,
|
|
1750
1750
|
children: s,
|
|
1751
|
-
className:
|
|
1751
|
+
className: o,
|
|
1752
1752
|
"data-testid": n,
|
|
1753
1753
|
as: c,
|
|
1754
|
-
fontWeight:
|
|
1754
|
+
fontWeight: _ = "semibold",
|
|
1755
1755
|
disabled: d = !1,
|
|
1756
1756
|
typographyStyle: f = "primary",
|
|
1757
|
-
...
|
|
1758
|
-
},
|
|
1759
|
-
const
|
|
1760
|
-
|
|
1761
|
-
Ne[`typography-${t}-${a}-${
|
|
1762
|
-
|
|
1757
|
+
...p
|
|
1758
|
+
}, h) => {
|
|
1759
|
+
const b = c || Bs[a], y = V(
|
|
1760
|
+
ke.typography,
|
|
1761
|
+
Ne[`typography-${t}-${a}-${_}`],
|
|
1762
|
+
ke[f],
|
|
1763
1763
|
{
|
|
1764
|
-
[
|
|
1764
|
+
[ke.disabled]: d
|
|
1765
1765
|
},
|
|
1766
|
-
|
|
1766
|
+
o
|
|
1767
1767
|
);
|
|
1768
|
-
return s ? /* @__PURE__ */
|
|
1768
|
+
return s ? /* @__PURE__ */ i.jsx(b, { ref: h, className: y, "data-testid": n, ...p, children: s }) : null;
|
|
1769
1769
|
}
|
|
1770
1770
|
);
|
|
1771
1771
|
return r.displayName = `Typography.${t === "title" ? "Title" : "Subtitle"}`, r;
|
|
1772
1772
|
}, Ct = (t) => {
|
|
1773
|
-
const r =
|
|
1773
|
+
const r = Lt.forwardRef(
|
|
1774
1774
|
({
|
|
1775
1775
|
size: a = 3,
|
|
1776
1776
|
children: s,
|
|
1777
|
-
className:
|
|
1777
|
+
className: o,
|
|
1778
1778
|
"data-testid": n,
|
|
1779
1779
|
as: c = "p",
|
|
1780
|
-
fontWeight:
|
|
1780
|
+
fontWeight: _ = "regular",
|
|
1781
1781
|
disabled: d = !1,
|
|
1782
1782
|
typographyStyle: f = "primary",
|
|
1783
|
-
...
|
|
1784
|
-
},
|
|
1785
|
-
const
|
|
1786
|
-
|
|
1787
|
-
Ne[`typography-${t}-${a}-${
|
|
1788
|
-
|
|
1783
|
+
...p
|
|
1784
|
+
}, h) => {
|
|
1785
|
+
const b = c, y = V(
|
|
1786
|
+
ke.typography,
|
|
1787
|
+
Ne[`typography-${t}-${a}-${_}`],
|
|
1788
|
+
ke[f],
|
|
1789
1789
|
{
|
|
1790
|
-
[
|
|
1790
|
+
[ke.disabled]: d
|
|
1791
1791
|
},
|
|
1792
|
-
|
|
1792
|
+
o
|
|
1793
1793
|
);
|
|
1794
|
-
return s ? /* @__PURE__ */
|
|
1795
|
-
|
|
1794
|
+
return s ? /* @__PURE__ */ i.jsx(
|
|
1795
|
+
b,
|
|
1796
1796
|
{
|
|
1797
|
-
ref:
|
|
1798
|
-
className:
|
|
1797
|
+
ref: h,
|
|
1798
|
+
className: y,
|
|
1799
1799
|
"data-testid": n,
|
|
1800
|
-
...
|
|
1800
|
+
...p,
|
|
1801
1801
|
children: s
|
|
1802
1802
|
}
|
|
1803
1803
|
) : null;
|
|
1804
1804
|
}
|
|
1805
1805
|
);
|
|
1806
1806
|
return r.displayName = `Typography.${t.charAt(0).toUpperCase() + t.slice(1)}`, r;
|
|
1807
|
-
},
|
|
1808
|
-
Title:
|
|
1809
|
-
Subtitle:
|
|
1807
|
+
}, no = {
|
|
1808
|
+
Title: vt("title"),
|
|
1809
|
+
Subtitle: vt("subtitle"),
|
|
1810
1810
|
Label: Ct("label"),
|
|
1811
1811
|
Paragraph: Ct("paragraph")
|
|
1812
|
-
},
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
"
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1812
|
+
}, Ds = "_base_19671_1", Fs = "_content_19671_1", Ps = "_background_19671_1", zs = "_button_19671_1", Ws = "_link_19671_1", Hs = "_input_19671_96", Vs = "_suffix_19671_1", qs = "_prefix_19671_1", Zs = "_tooltip_19671_1", Gs = "_hint_19671_746", Us = "_dropdown_19671_1", Xs = "_popover_19671_1", Ys = "_modalBackdrop_19671_1", Js = "_modal_19671_1", Ks = "_overlay_19671_1", Qs = "_drawer_19671_1", en = "_notification_19671_1", tn = "_alert_19671_1", an = "_toast_19671_1", rn = "_loading_19671_280", sn = "_error_19671_241", nn = "_critical_19671_1", on = "_inputBase_19671_96", ln = "_wrapper_19671_106", cn = "_gripHandle_19671_180", dn = "_tabFocused_19671_248", un = "_disabled_19671_273", _n = "_label_19671_290", pn = "_S_19671_303", fn = "_M_19671_309", gn = "_XL_19671_316", hn = "_leftSection_19671_323", bn = "_rightSection_19671_332", yn = "_helper_19671_368", xn = "_floatingLabel_19671_393", mn = "_focused_19671_451", vn = "_filled_19671_452", Cn = "_L_19671_486", wn = "_characterLimit_19671_527", Sn = "_textarea_19671_120", Ln = "_truncate_19671_664", S = {
|
|
1813
|
+
base: Ds,
|
|
1814
|
+
content: Fs,
|
|
1815
|
+
background: Ps,
|
|
1816
|
+
button: zs,
|
|
1817
|
+
link: Ws,
|
|
1818
|
+
input: Hs,
|
|
1819
|
+
suffix: Vs,
|
|
1820
|
+
prefix: qs,
|
|
1821
|
+
tooltip: Zs,
|
|
1822
|
+
hint: Gs,
|
|
1823
|
+
dropdown: Us,
|
|
1824
|
+
popover: Xs,
|
|
1825
|
+
modalBackdrop: Ys,
|
|
1826
|
+
modal: Js,
|
|
1827
|
+
overlay: Ks,
|
|
1828
|
+
drawer: Qs,
|
|
1829
|
+
notification: en,
|
|
1830
|
+
alert: tn,
|
|
1831
|
+
toast: an,
|
|
1832
|
+
loading: rn,
|
|
1833
|
+
error: sn,
|
|
1834
|
+
critical: nn,
|
|
1835
|
+
inputBase: on,
|
|
1836
|
+
wrapper: ln,
|
|
1837
|
+
"textarea-wrapper": "_textarea-wrapper_19671_120",
|
|
1838
|
+
gripHandle: cn,
|
|
1839
|
+
tabFocused: dn,
|
|
1840
|
+
disabled: un,
|
|
1841
|
+
label: _n,
|
|
1842
|
+
S: pn,
|
|
1843
|
+
M: fn,
|
|
1844
|
+
XL: gn,
|
|
1845
|
+
leftSection: hn,
|
|
1846
|
+
rightSection: bn,
|
|
1847
|
+
helper: yn,
|
|
1848
|
+
floatingLabel: xn,
|
|
1849
|
+
focused: mn,
|
|
1850
|
+
filled: vn,
|
|
1851
|
+
L: Cn,
|
|
1852
|
+
characterLimit: wn,
|
|
1853
|
+
textarea: Sn,
|
|
1854
|
+
"size-S": "_size-S_19671_603",
|
|
1855
|
+
"size-M": "_size-M_19671_613",
|
|
1856
|
+
"size-L": "_size-L_19671_619",
|
|
1857
|
+
"size-XL": "_size-XL_19671_625",
|
|
1858
|
+
"with-floating-label": "_with-floating-label_19671_632",
|
|
1859
|
+
truncate: Ln,
|
|
1860
|
+
"has-hint": "_has-hint_19671_763",
|
|
1861
|
+
"has-suffix": "_has-suffix_19671_769",
|
|
1862
|
+
"has-limit": "_has-limit_19671_792"
|
|
1863
|
+
}, $n = ({
|
|
1842
1864
|
width: t = 8,
|
|
1843
1865
|
height: r = 8,
|
|
1844
1866
|
className: a,
|
|
1845
1867
|
color: s = "#AABBCA"
|
|
1846
|
-
}) => /* @__PURE__ */
|
|
1868
|
+
}) => /* @__PURE__ */ i.jsx(
|
|
1847
1869
|
"svg",
|
|
1848
1870
|
{
|
|
1849
1871
|
width: t,
|
|
@@ -1852,7 +1874,7 @@ const yr = 3, mr = (t) => {
|
|
|
1852
1874
|
fill: "none",
|
|
1853
1875
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1854
1876
|
className: a,
|
|
1855
|
-
children: /* @__PURE__ */
|
|
1877
|
+
children: /* @__PURE__ */ i.jsx(
|
|
1856
1878
|
"path",
|
|
1857
1879
|
{
|
|
1858
1880
|
fillRule: "evenodd",
|
|
@@ -1862,15 +1884,15 @@ const yr = 3, mr = (t) => {
|
|
|
1862
1884
|
}
|
|
1863
1885
|
)
|
|
1864
1886
|
}
|
|
1865
|
-
),
|
|
1887
|
+
), It = ({
|
|
1866
1888
|
className: t = "",
|
|
1867
1889
|
style: r,
|
|
1868
1890
|
size: a = "md",
|
|
1869
1891
|
color: s = "currentColor",
|
|
1870
|
-
onClick:
|
|
1892
|
+
onClick: o,
|
|
1871
1893
|
...n
|
|
1872
1894
|
}) => {
|
|
1873
|
-
const
|
|
1895
|
+
const _ = {
|
|
1874
1896
|
display: "inline-block",
|
|
1875
1897
|
color: s,
|
|
1876
1898
|
...{
|
|
@@ -1883,17 +1905,17 @@ const yr = 3, mr = (t) => {
|
|
|
1883
1905
|
}[a],
|
|
1884
1906
|
...r
|
|
1885
1907
|
};
|
|
1886
|
-
return /* @__PURE__ */
|
|
1908
|
+
return /* @__PURE__ */ i.jsx(
|
|
1887
1909
|
"svg",
|
|
1888
1910
|
{
|
|
1889
1911
|
className: t,
|
|
1890
|
-
style:
|
|
1912
|
+
style: _,
|
|
1891
1913
|
viewBox: "0 0 16 16",
|
|
1892
1914
|
fill: "none",
|
|
1893
1915
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1894
|
-
onClick:
|
|
1916
|
+
onClick: o,
|
|
1895
1917
|
...n,
|
|
1896
|
-
children: /* @__PURE__ */
|
|
1918
|
+
children: /* @__PURE__ */ i.jsx(
|
|
1897
1919
|
"path",
|
|
1898
1920
|
{
|
|
1899
1921
|
d: "M12 4L4 12M4 4L12 12",
|
|
@@ -1905,124 +1927,127 @@ const yr = 3, mr = (t) => {
|
|
|
1905
1927
|
)
|
|
1906
1928
|
}
|
|
1907
1929
|
);
|
|
1908
|
-
},
|
|
1930
|
+
}, En = (t, r) => {
|
|
1909
1931
|
const a = We(null), s = We(null);
|
|
1910
|
-
return
|
|
1911
|
-
const
|
|
1912
|
-
|
|
1932
|
+
return Le(() => {
|
|
1933
|
+
const o = r === "textarea" ? a.current : s.current;
|
|
1934
|
+
o && o.value !== t && (o.value = t || "");
|
|
1913
1935
|
}, [t, r]), {
|
|
1914
1936
|
textareaRef: a,
|
|
1915
1937
|
inputRef: s,
|
|
1916
1938
|
currentRef: r === "textarea" ? a : s
|
|
1917
1939
|
};
|
|
1918
|
-
},
|
|
1940
|
+
}, jn = (t, r, a) => {
|
|
1919
1941
|
const s = () => {
|
|
1920
1942
|
if (!a.current || r !== "hug") return;
|
|
1921
|
-
const
|
|
1943
|
+
const o = a.current.scrollTop;
|
|
1922
1944
|
if (a.current.style.setProperty("height", "auto", "important"), !t) return;
|
|
1923
1945
|
const n = a.current.scrollHeight + "px";
|
|
1924
|
-
a.current.style.setProperty("height", n, "important"), a.current.scrollTop =
|
|
1925
|
-
const c = a.current.closest(`.${
|
|
1946
|
+
a.current.style.setProperty("height", n, "important"), a.current.scrollTop = o;
|
|
1947
|
+
const c = a.current.closest(`.${S.wrapper}`);
|
|
1926
1948
|
c && (c.setAttribute("data-resize", "hug"), c.setAttribute("data-show-grip", "false"));
|
|
1927
1949
|
};
|
|
1928
|
-
return
|
|
1950
|
+
return Le(s, [t, r]), Le(() => {
|
|
1929
1951
|
r === "hug" && a.current && s();
|
|
1930
1952
|
}, []), { resizeTextArea: s };
|
|
1931
|
-
},
|
|
1953
|
+
}, kn = (t, r, a, s) => ({ handleGripMouseDown: Se(
|
|
1932
1954
|
(n) => {
|
|
1933
1955
|
if (!t || r || a || !(s === "fixed" || !s)) return;
|
|
1934
1956
|
n.preventDefault(), n.stopPropagation();
|
|
1935
|
-
const c = n.currentTarget.closest(`.${
|
|
1957
|
+
const c = n.currentTarget.closest(`.${S.wrapper}`);
|
|
1936
1958
|
if (!c) return;
|
|
1937
|
-
const
|
|
1938
|
-
const
|
|
1939
|
-
c.style.height = `${
|
|
1940
|
-
},
|
|
1941
|
-
document.removeEventListener("mousemove", f), document.removeEventListener("mouseup",
|
|
1959
|
+
const _ = n.clientY, d = c.clientHeight, f = (h) => {
|
|
1960
|
+
const b = h.clientY - _, y = Math.min(100, d), v = Math.max(y, d + b);
|
|
1961
|
+
c.style.height = `${v}px`;
|
|
1962
|
+
}, p = () => {
|
|
1963
|
+
document.removeEventListener("mousemove", f), document.removeEventListener("mouseup", p);
|
|
1942
1964
|
};
|
|
1943
|
-
document.addEventListener("mousemove", f), document.addEventListener("mouseup",
|
|
1965
|
+
document.addEventListener("mousemove", f), document.addEventListener("mouseup", p);
|
|
1944
1966
|
},
|
|
1945
1967
|
[t, r, a, s]
|
|
1946
|
-
) }), wt = 30,
|
|
1968
|
+
) }), wt = 30, Rn = te(
|
|
1947
1969
|
({
|
|
1948
1970
|
component: t = "input",
|
|
1949
|
-
size: r = "
|
|
1971
|
+
size: r = "L",
|
|
1950
1972
|
value: a = "",
|
|
1951
1973
|
placeholder: s,
|
|
1952
|
-
disabled:
|
|
1974
|
+
disabled: o = !1,
|
|
1953
1975
|
loading: n = !1,
|
|
1954
1976
|
onFocus: c,
|
|
1955
|
-
onBlur:
|
|
1977
|
+
onBlur: _,
|
|
1956
1978
|
onChange: d,
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1979
|
+
onKeyDown: f,
|
|
1980
|
+
onKeyUp: p,
|
|
1981
|
+
maxLength: h,
|
|
1982
|
+
className: b,
|
|
1983
|
+
style: y,
|
|
1984
|
+
truncate: v = !1,
|
|
1985
|
+
shouldShowFloatingLabelClass: E = !1,
|
|
1986
|
+
"aria-invalid": L,
|
|
1964
1987
|
"aria-errormessage": C,
|
|
1965
|
-
id:
|
|
1966
|
-
resize:
|
|
1967
|
-
...
|
|
1968
|
-
},
|
|
1969
|
-
const { textareaRef: N, inputRef:
|
|
1970
|
-
if (
|
|
1971
|
-
return /* @__PURE__ */
|
|
1988
|
+
id: g,
|
|
1989
|
+
resize: j,
|
|
1990
|
+
...I
|
|
1991
|
+
}, M) => {
|
|
1992
|
+
const { textareaRef: N, inputRef: O, currentRef: A } = En(a, t);
|
|
1993
|
+
if (jn(a, j, N), oa(M, () => A.current, [A]), t === "textarea")
|
|
1994
|
+
return /* @__PURE__ */ i.jsx(
|
|
1972
1995
|
"textarea",
|
|
1973
1996
|
{
|
|
1974
1997
|
ref: N,
|
|
1975
|
-
id:
|
|
1998
|
+
id: g,
|
|
1976
1999
|
value: a,
|
|
1977
2000
|
placeholder: s,
|
|
1978
|
-
disabled:
|
|
2001
|
+
disabled: o || n,
|
|
1979
2002
|
onFocus: c,
|
|
1980
|
-
onBlur:
|
|
2003
|
+
onBlur: _,
|
|
1981
2004
|
onChange: d,
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
2005
|
+
onKeyDown: f,
|
|
2006
|
+
onKeyUp: p,
|
|
2007
|
+
maxLength: h,
|
|
2008
|
+
className: V(
|
|
2009
|
+
S.textarea,
|
|
2010
|
+
S[`size-${r}`],
|
|
2011
|
+
E && S["with-floating-label"],
|
|
2012
|
+
b
|
|
1989
2013
|
),
|
|
1990
|
-
style:
|
|
1991
|
-
"aria-invalid":
|
|
2014
|
+
style: y,
|
|
2015
|
+
"aria-invalid": L,
|
|
1992
2016
|
"aria-errormessage": C,
|
|
1993
|
-
"aria-describedby": C ? `${
|
|
2017
|
+
"aria-describedby": C ? `${g}-error` : void 0,
|
|
1994
2018
|
tabIndex: 0,
|
|
1995
|
-
"data-resize":
|
|
1996
|
-
...
|
|
2019
|
+
"data-resize": j,
|
|
2020
|
+
...I
|
|
1997
2021
|
}
|
|
1998
2022
|
);
|
|
1999
2023
|
if (t === "input")
|
|
2000
|
-
return /* @__PURE__ */
|
|
2024
|
+
return /* @__PURE__ */ i.jsx(
|
|
2001
2025
|
"input",
|
|
2002
2026
|
{
|
|
2003
|
-
ref:
|
|
2004
|
-
id:
|
|
2027
|
+
ref: O,
|
|
2028
|
+
id: g,
|
|
2005
2029
|
value: a,
|
|
2006
2030
|
placeholder: s,
|
|
2007
|
-
disabled:
|
|
2031
|
+
disabled: o || n,
|
|
2008
2032
|
onFocus: c,
|
|
2009
|
-
onBlur:
|
|
2033
|
+
onBlur: _,
|
|
2010
2034
|
onChange: d,
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2035
|
+
onKeyDown: f,
|
|
2036
|
+
onKeyUp: p,
|
|
2037
|
+
maxLength: h,
|
|
2038
|
+
className: V(
|
|
2039
|
+
S.input,
|
|
2040
|
+
S[`size-${r}`],
|
|
2041
|
+
E && S["with-floating-label"],
|
|
2042
|
+
v && S.truncate,
|
|
2043
|
+
b
|
|
2019
2044
|
),
|
|
2020
|
-
style:
|
|
2021
|
-
"aria-invalid":
|
|
2045
|
+
style: y,
|
|
2046
|
+
"aria-invalid": L,
|
|
2022
2047
|
"aria-errormessage": C,
|
|
2023
|
-
"aria-describedby": C ? `${
|
|
2048
|
+
"aria-describedby": C ? `${g}-error` : void 0,
|
|
2024
2049
|
tabIndex: 0,
|
|
2025
|
-
...
|
|
2050
|
+
...I
|
|
2026
2051
|
}
|
|
2027
2052
|
);
|
|
2028
2053
|
if (t !== "input" && t !== "textarea")
|
|
@@ -2030,305 +2055,346 @@ const yr = 3, mr = (t) => {
|
|
|
2030
2055
|
`[Input] Недопустимое значение prop 'component': "${String(t)}". Допустимые значения: 'input', 'textarea'`
|
|
2031
2056
|
), null;
|
|
2032
2057
|
}
|
|
2033
|
-
),
|
|
2058
|
+
), Mt = te(
|
|
2034
2059
|
({
|
|
2035
2060
|
children: t,
|
|
2036
|
-
size: r = "
|
|
2061
|
+
size: r = "L",
|
|
2037
2062
|
error: a = !1,
|
|
2038
2063
|
disabled: s = !1,
|
|
2039
|
-
loading:
|
|
2064
|
+
loading: o = !1,
|
|
2040
2065
|
className: n,
|
|
2041
2066
|
wrapperProps: c,
|
|
2042
|
-
wrapperStyles:
|
|
2067
|
+
wrapperStyles: _,
|
|
2043
2068
|
floatingLabelStyles: d,
|
|
2044
2069
|
prefixStyles: f,
|
|
2045
|
-
suffixStyles:
|
|
2046
|
-
labelProps:
|
|
2047
|
-
helperProps:
|
|
2048
|
-
showLimit:
|
|
2049
|
-
maxLength:
|
|
2050
|
-
hint:
|
|
2051
|
-
showHint:
|
|
2052
|
-
showHintOnEmpty:
|
|
2053
|
-
prefix:
|
|
2070
|
+
suffixStyles: p,
|
|
2071
|
+
labelProps: h,
|
|
2072
|
+
helperProps: b,
|
|
2073
|
+
showLimit: y = !1,
|
|
2074
|
+
maxLength: v,
|
|
2075
|
+
hint: E,
|
|
2076
|
+
showHint: L = !1,
|
|
2077
|
+
showHintOnEmpty: C = !1,
|
|
2078
|
+
prefix: g,
|
|
2054
2079
|
suffix: j,
|
|
2055
|
-
|
|
2080
|
+
onSuffixClick: I,
|
|
2081
|
+
placeholder: M,
|
|
2056
2082
|
showLabel: N = !0,
|
|
2057
|
-
labelClassName:
|
|
2058
|
-
hasValue:
|
|
2059
|
-
helper:
|
|
2060
|
-
id:
|
|
2061
|
-
value:
|
|
2062
|
-
resize:
|
|
2063
|
-
showGrip:
|
|
2064
|
-
...
|
|
2065
|
-
},
|
|
2066
|
-
const
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2083
|
+
labelClassName: O,
|
|
2084
|
+
hasValue: A = !1,
|
|
2085
|
+
helper: D,
|
|
2086
|
+
id: G,
|
|
2087
|
+
value: W = "",
|
|
2088
|
+
resize: B,
|
|
2089
|
+
showGrip: x = !1,
|
|
2090
|
+
...k
|
|
2091
|
+
}, F) => {
|
|
2092
|
+
const U = jt(), Z = G || U, Q = L && E && (A || C), ne = E && E.length > wt ? E.substring(0, wt) + "..." : E, J = V(
|
|
2093
|
+
S.wrapper,
|
|
2094
|
+
S[`size-${r}`],
|
|
2095
|
+
a && S.error,
|
|
2096
|
+
s && S.disabled,
|
|
2097
|
+
o && S.loading,
|
|
2098
|
+
Q && S["has-hint"],
|
|
2099
|
+
j && S["has-suffix"],
|
|
2100
|
+
y && S["has-limit"],
|
|
2072
2101
|
n
|
|
2073
|
-
), ae =
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
), { handleGripMouseDown:
|
|
2079
|
-
return /* @__PURE__ */
|
|
2080
|
-
/* @__PURE__ */
|
|
2102
|
+
), ae = V(
|
|
2103
|
+
S.floatingLabel,
|
|
2104
|
+
S[r],
|
|
2105
|
+
A && S.filled,
|
|
2106
|
+
O
|
|
2107
|
+
), { handleGripMouseDown: oe } = kn(x, s, o, B);
|
|
2108
|
+
return /* @__PURE__ */ i.jsxs("div", { ref: F, className: S.inputBase, "data-testid": "input-base-wrapper", ...k, children: [
|
|
2109
|
+
/* @__PURE__ */ i.jsxs(
|
|
2081
2110
|
"div",
|
|
2082
2111
|
{
|
|
2083
|
-
className:
|
|
2084
|
-
style:
|
|
2085
|
-
"data-resize":
|
|
2086
|
-
"data-show-grip":
|
|
2112
|
+
className: J,
|
|
2113
|
+
style: _,
|
|
2114
|
+
"data-resize": B,
|
|
2115
|
+
"data-show-grip": x ? "true" : "false",
|
|
2087
2116
|
...c,
|
|
2088
2117
|
children: [
|
|
2089
|
-
|
|
2090
|
-
j && /* @__PURE__ */
|
|
2091
|
-
T && N && /* @__PURE__ */ o.jsx(
|
|
2118
|
+
g && /* @__PURE__ */ i.jsx("label", { htmlFor: Z, className: S.leftSection, style: f, children: g }),
|
|
2119
|
+
j && /* @__PURE__ */ i.jsx(
|
|
2092
2120
|
"label",
|
|
2093
2121
|
{
|
|
2094
|
-
htmlFor:
|
|
2122
|
+
htmlFor: Z,
|
|
2123
|
+
className: S.rightSection,
|
|
2124
|
+
style: p,
|
|
2125
|
+
onClick: I,
|
|
2126
|
+
children: j
|
|
2127
|
+
}
|
|
2128
|
+
),
|
|
2129
|
+
M && N && /* @__PURE__ */ i.jsx(
|
|
2130
|
+
"label",
|
|
2131
|
+
{
|
|
2132
|
+
htmlFor: Z,
|
|
2095
2133
|
className: ae,
|
|
2096
2134
|
style: d,
|
|
2097
|
-
...
|
|
2098
|
-
children:
|
|
2135
|
+
...h,
|
|
2136
|
+
children: M
|
|
2099
2137
|
}
|
|
2100
2138
|
),
|
|
2101
2139
|
t,
|
|
2102
|
-
|
|
2140
|
+
x && !y && (B === "fixed" || !B) && /* @__PURE__ */ i.jsx(
|
|
2103
2141
|
"div",
|
|
2104
2142
|
{
|
|
2105
|
-
className:
|
|
2106
|
-
onMouseDown:
|
|
2143
|
+
className: S.gripHandle,
|
|
2144
|
+
onMouseDown: oe,
|
|
2107
2145
|
role: "button",
|
|
2108
2146
|
tabIndex: -1,
|
|
2109
2147
|
"aria-label": "Изменить размер",
|
|
2110
|
-
children: /* @__PURE__ */
|
|
2148
|
+
children: /* @__PURE__ */ i.jsx($n, {})
|
|
2111
2149
|
}
|
|
2112
2150
|
),
|
|
2113
|
-
|
|
2151
|
+
Q && /* @__PURE__ */ i.jsx(
|
|
2114
2152
|
"div",
|
|
2115
2153
|
{
|
|
2116
|
-
className:
|
|
2117
|
-
"data-disabled": s ||
|
|
2118
|
-
children:
|
|
2154
|
+
className: V(S.hint, A && S.truncate),
|
|
2155
|
+
"data-disabled": s || o,
|
|
2156
|
+
children: ne
|
|
2119
2157
|
}
|
|
2120
2158
|
),
|
|
2121
|
-
|
|
2122
|
-
(
|
|
2159
|
+
y && v && /* @__PURE__ */ i.jsxs("div", { className: S.characterLimit, children: [
|
|
2160
|
+
(W || "").length,
|
|
2123
2161
|
" из ",
|
|
2124
|
-
|
|
2162
|
+
v
|
|
2125
2163
|
] })
|
|
2126
2164
|
]
|
|
2127
2165
|
}
|
|
2128
2166
|
),
|
|
2129
|
-
|
|
2167
|
+
D && /* @__PURE__ */ i.jsx(
|
|
2130
2168
|
"div",
|
|
2131
2169
|
{
|
|
2132
|
-
className:
|
|
2133
|
-
|
|
2134
|
-
a &&
|
|
2135
|
-
(s ||
|
|
2170
|
+
className: V(
|
|
2171
|
+
S.helper,
|
|
2172
|
+
a && S.error,
|
|
2173
|
+
(s || o) && S.disabled
|
|
2136
2174
|
),
|
|
2137
|
-
...
|
|
2138
|
-
id: a ? `${
|
|
2139
|
-
children:
|
|
2175
|
+
...b,
|
|
2176
|
+
id: a ? `${Z}-error` : void 0,
|
|
2177
|
+
children: D
|
|
2140
2178
|
}
|
|
2141
2179
|
)
|
|
2142
2180
|
] });
|
|
2143
2181
|
}
|
|
2144
2182
|
);
|
|
2145
|
-
|
|
2146
|
-
const St = Object.assign(
|
|
2147
|
-
Wrapper:
|
|
2148
|
-
}),
|
|
2183
|
+
Mt.displayName = "InputWrapperComponent";
|
|
2184
|
+
const St = Object.assign(Rn, {
|
|
2185
|
+
Wrapper: Mt
|
|
2186
|
+
}), Nt = te(
|
|
2149
2187
|
({
|
|
2150
2188
|
component: t = "input",
|
|
2151
|
-
size: r = "
|
|
2189
|
+
size: r = "L",
|
|
2152
2190
|
className: a,
|
|
2153
2191
|
error: s = !1,
|
|
2154
|
-
disabled:
|
|
2192
|
+
disabled: o = !1,
|
|
2155
2193
|
loading: n = !1,
|
|
2156
2194
|
placeholder: c,
|
|
2157
|
-
showLabel:
|
|
2195
|
+
showLabel: _ = !0,
|
|
2158
2196
|
labelClassName: d,
|
|
2159
2197
|
helper: f,
|
|
2160
|
-
prefix:
|
|
2161
|
-
suffix:
|
|
2162
|
-
id:
|
|
2163
|
-
onFocus:
|
|
2164
|
-
onBlur:
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2198
|
+
prefix: p,
|
|
2199
|
+
suffix: h,
|
|
2200
|
+
id: b,
|
|
2201
|
+
onFocus: y,
|
|
2202
|
+
onBlur: v,
|
|
2203
|
+
onKeyDown: E,
|
|
2204
|
+
onSuffixClick: L,
|
|
2205
|
+
onChange: C,
|
|
2206
|
+
value: g = "",
|
|
2207
|
+
wrapperProps: j,
|
|
2208
|
+
wrapperStyles: I,
|
|
2209
|
+
floatingLabelStyles: M,
|
|
2210
|
+
prefixStyles: N,
|
|
2211
|
+
suffixStyles: O,
|
|
2212
|
+
textareaStyles: A,
|
|
2213
|
+
labelProps: D,
|
|
2214
|
+
helperProps: G,
|
|
2215
|
+
showLimit: W = !1,
|
|
2216
|
+
maxLength: B,
|
|
2177
2217
|
inputProps: x,
|
|
2178
|
-
hint:
|
|
2179
|
-
showHint:
|
|
2180
|
-
showHintOnEmpty:
|
|
2181
|
-
truncate:
|
|
2182
|
-
resize:
|
|
2183
|
-
showGrip:
|
|
2184
|
-
...
|
|
2185
|
-
},
|
|
2186
|
-
const
|
|
2187
|
-
(
|
|
2188
|
-
var
|
|
2189
|
-
|
|
2218
|
+
hint: k,
|
|
2219
|
+
showHint: F = !1,
|
|
2220
|
+
showHintOnEmpty: U = !1,
|
|
2221
|
+
truncate: Z = !1,
|
|
2222
|
+
resize: Q,
|
|
2223
|
+
showGrip: ne = !1,
|
|
2224
|
+
...J
|
|
2225
|
+
}, ae) => {
|
|
2226
|
+
const oe = jt(), de = b || oe, [me, ye] = Oe(g), re = g !== void 0 ? g : me, ue = (re || "").length > 0, le = re || "", _e = _ && (r === "XL" || t === "textarea") && !p, ve = Se(
|
|
2227
|
+
(X) => {
|
|
2228
|
+
var Y;
|
|
2229
|
+
o || n || (y == null || y(), (Y = x == null ? void 0 : x.onFocus) == null || Y.call(
|
|
2190
2230
|
x,
|
|
2191
|
-
|
|
2231
|
+
X
|
|
2192
2232
|
));
|
|
2193
2233
|
},
|
|
2194
|
-
[
|
|
2195
|
-
),
|
|
2196
|
-
(
|
|
2197
|
-
var
|
|
2198
|
-
if (
|
|
2199
|
-
const ce =
|
|
2200
|
-
ce && ce.classList.add(
|
|
2234
|
+
[y, x, o, n]
|
|
2235
|
+
), Ae = Se(
|
|
2236
|
+
(X) => {
|
|
2237
|
+
var Y;
|
|
2238
|
+
if (X.key === "Tab") {
|
|
2239
|
+
const ce = X.target.closest(`.${S.wrapper}`);
|
|
2240
|
+
ce && ce.classList.add(S.tabFocused);
|
|
2201
2241
|
}
|
|
2202
|
-
(
|
|
2242
|
+
(Y = x == null ? void 0 : x.onKeyUp) == null || Y.call(
|
|
2203
2243
|
x,
|
|
2204
|
-
|
|
2244
|
+
X
|
|
2205
2245
|
);
|
|
2206
2246
|
},
|
|
2207
2247
|
[x]
|
|
2208
|
-
),
|
|
2209
|
-
(
|
|
2248
|
+
), He = Se(
|
|
2249
|
+
(X) => {
|
|
2210
2250
|
var ce;
|
|
2211
|
-
const
|
|
2212
|
-
|
|
2251
|
+
const Y = X.target.closest(`.${S.wrapper}`);
|
|
2252
|
+
Y && Y.classList.remove(S.tabFocused), v == null || v(), (ce = x == null ? void 0 : x.onBlur) == null || ce.call(
|
|
2213
2253
|
x,
|
|
2214
|
-
|
|
2254
|
+
X
|
|
2215
2255
|
);
|
|
2216
2256
|
},
|
|
2217
|
-
[
|
|
2218
|
-
),
|
|
2219
|
-
(
|
|
2257
|
+
[v, x]
|
|
2258
|
+
), Ve = Se(
|
|
2259
|
+
(X) => {
|
|
2220
2260
|
var ce;
|
|
2221
|
-
if (
|
|
2222
|
-
const
|
|
2223
|
-
|
|
2261
|
+
if (o || n) return;
|
|
2262
|
+
const Y = X.target.value;
|
|
2263
|
+
ye(Y), C == null || C(Y, X), (ce = x == null ? void 0 : x.onChange) == null || ce.call(
|
|
2224
2264
|
x,
|
|
2225
|
-
|
|
2265
|
+
X
|
|
2226
2266
|
);
|
|
2227
2267
|
},
|
|
2228
|
-
[
|
|
2268
|
+
[C, x, o, n]
|
|
2229
2269
|
);
|
|
2230
|
-
return
|
|
2231
|
-
|
|
2232
|
-
}, [
|
|
2270
|
+
return Le(() => {
|
|
2271
|
+
ye(g || "");
|
|
2272
|
+
}, [g]), /* @__PURE__ */ i.jsx(
|
|
2233
2273
|
St.Wrapper,
|
|
2234
2274
|
{
|
|
2235
|
-
ref:
|
|
2275
|
+
ref: ae,
|
|
2236
2276
|
size: r,
|
|
2237
2277
|
error: s,
|
|
2238
|
-
disabled:
|
|
2278
|
+
disabled: o || n,
|
|
2239
2279
|
loading: n,
|
|
2240
|
-
className:
|
|
2241
|
-
wrapperProps:
|
|
2242
|
-
wrapperStyles:
|
|
2243
|
-
floatingLabelStyles:
|
|
2244
|
-
prefixStyles:
|
|
2245
|
-
suffixStyles:
|
|
2246
|
-
labelProps:
|
|
2247
|
-
helperProps:
|
|
2248
|
-
showLimit:
|
|
2249
|
-
maxLength:
|
|
2250
|
-
hint:
|
|
2251
|
-
showHint:
|
|
2252
|
-
showHintOnEmpty:
|
|
2253
|
-
prefix:
|
|
2254
|
-
suffix:
|
|
2280
|
+
className: V(a, t === "textarea" && S["textarea-wrapper"]),
|
|
2281
|
+
wrapperProps: j,
|
|
2282
|
+
wrapperStyles: I,
|
|
2283
|
+
floatingLabelStyles: M,
|
|
2284
|
+
prefixStyles: N,
|
|
2285
|
+
suffixStyles: O,
|
|
2286
|
+
labelProps: D,
|
|
2287
|
+
helperProps: G,
|
|
2288
|
+
showLimit: W,
|
|
2289
|
+
maxLength: B,
|
|
2290
|
+
hint: k,
|
|
2291
|
+
showHint: F,
|
|
2292
|
+
showHintOnEmpty: U,
|
|
2293
|
+
prefix: p,
|
|
2294
|
+
suffix: h,
|
|
2295
|
+
onSuffixClick: L,
|
|
2255
2296
|
placeholder: c,
|
|
2256
|
-
showLabel:
|
|
2297
|
+
showLabel: _,
|
|
2257
2298
|
labelClassName: d,
|
|
2258
|
-
hasValue:
|
|
2299
|
+
hasValue: ue,
|
|
2259
2300
|
helper: f,
|
|
2260
|
-
id:
|
|
2261
|
-
value:
|
|
2262
|
-
showGrip:
|
|
2263
|
-
resize:
|
|
2264
|
-
...
|
|
2265
|
-
children: /* @__PURE__ */
|
|
2301
|
+
id: de,
|
|
2302
|
+
value: le,
|
|
2303
|
+
showGrip: ne,
|
|
2304
|
+
resize: Q,
|
|
2305
|
+
...J,
|
|
2306
|
+
children: /* @__PURE__ */ i.jsx(
|
|
2266
2307
|
St,
|
|
2267
2308
|
{
|
|
2268
2309
|
component: t,
|
|
2269
2310
|
size: r,
|
|
2270
|
-
value:
|
|
2311
|
+
value: le,
|
|
2271
2312
|
placeholder: c,
|
|
2272
|
-
disabled:
|
|
2313
|
+
disabled: o,
|
|
2273
2314
|
loading: n,
|
|
2274
|
-
onFocus:
|
|
2275
|
-
onBlur:
|
|
2276
|
-
onChange:
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2315
|
+
onFocus: ve,
|
|
2316
|
+
onBlur: He,
|
|
2317
|
+
onChange: Ve,
|
|
2318
|
+
onKeyDown: E,
|
|
2319
|
+
onKeyUp: Ae,
|
|
2320
|
+
maxLength: B,
|
|
2321
|
+
truncate: Z,
|
|
2322
|
+
"data-empty": !ue,
|
|
2323
|
+
shouldShowFloatingLabelClass: _e,
|
|
2324
|
+
style: t === "textarea" ? A : void 0,
|
|
2283
2325
|
"aria-invalid": !!s,
|
|
2284
|
-
"aria-errormessage": s ? `${
|
|
2285
|
-
id:
|
|
2286
|
-
resize:
|
|
2326
|
+
"aria-errormessage": s ? `${de}-error` : void 0,
|
|
2327
|
+
id: de,
|
|
2328
|
+
resize: Q,
|
|
2287
2329
|
...x
|
|
2288
2330
|
}
|
|
2289
2331
|
)
|
|
2290
2332
|
}
|
|
2291
2333
|
);
|
|
2292
2334
|
}
|
|
2293
|
-
),
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2335
|
+
), q = {
|
|
2336
|
+
S: "S",
|
|
2337
|
+
M: "M",
|
|
2338
|
+
L: "L",
|
|
2339
|
+
XL: "XL"
|
|
2340
|
+
}, Tn = (t, r, a, s) => {
|
|
2298
2341
|
switch (t) {
|
|
2299
|
-
case
|
|
2342
|
+
case q.XL:
|
|
2300
2343
|
return r && a ? "8px 16px 8px 16px" : "16px 16px 16px 16px";
|
|
2301
|
-
case
|
|
2302
|
-
return s ? "12px 12px 12px 12px" : "12px
|
|
2303
|
-
case
|
|
2344
|
+
case q.L:
|
|
2345
|
+
return s ? "12px 12px 12px 12px" : "12px 16px 12px 16px";
|
|
2346
|
+
case q.M:
|
|
2304
2347
|
return "10px 12px 10px 12px";
|
|
2348
|
+
case q.S:
|
|
2349
|
+
return "6px 10px 6px 10px";
|
|
2305
2350
|
default:
|
|
2306
2351
|
return "12px 16px 12px 16px";
|
|
2307
2352
|
}
|
|
2308
|
-
},
|
|
2353
|
+
}, In = (t) => {
|
|
2309
2354
|
switch (t) {
|
|
2310
|
-
case
|
|
2355
|
+
case q.XL:
|
|
2311
2356
|
return "56px";
|
|
2312
|
-
case
|
|
2357
|
+
case q.L:
|
|
2313
2358
|
return "48px";
|
|
2314
|
-
case
|
|
2359
|
+
case q.M:
|
|
2315
2360
|
return "40px";
|
|
2361
|
+
case q.S:
|
|
2362
|
+
return "32px";
|
|
2316
2363
|
default:
|
|
2317
2364
|
return "48px";
|
|
2318
2365
|
}
|
|
2319
|
-
},
|
|
2366
|
+
}, Mn = (t) => {
|
|
2320
2367
|
switch (t) {
|
|
2321
|
-
case
|
|
2368
|
+
case q.S:
|
|
2369
|
+
case q.M:
|
|
2370
|
+
case q.L:
|
|
2371
|
+
return 4;
|
|
2372
|
+
case q.XL:
|
|
2322
2373
|
return 8;
|
|
2323
|
-
// 8px для small
|
|
2324
|
-
case J.MEDIUM:
|
|
2325
|
-
case J.LARGE:
|
|
2326
|
-
return 12;
|
|
2327
|
-
// 12px для medium и large
|
|
2328
2374
|
default:
|
|
2329
|
-
return
|
|
2375
|
+
return 8;
|
|
2376
|
+
}
|
|
2377
|
+
}, Nn = (t, r, a) => ({
|
|
2378
|
+
wrapperStyles: {
|
|
2379
|
+
minHeight: t,
|
|
2380
|
+
maxHeight: t,
|
|
2381
|
+
boxSizing: "border-box",
|
|
2382
|
+
padding: r
|
|
2383
|
+
},
|
|
2384
|
+
floatingLabelStyles: {
|
|
2385
|
+
left: "10px"
|
|
2386
|
+
},
|
|
2387
|
+
prefixStyles: {
|
|
2388
|
+
paddingRight: `${a}px`
|
|
2389
|
+
},
|
|
2390
|
+
suffixStyles: {
|
|
2391
|
+
right: `${a}px`,
|
|
2392
|
+
maxWidth: "32px",
|
|
2393
|
+
maxHeight: "32px",
|
|
2394
|
+
padding: "6px",
|
|
2395
|
+
cursor: "pointer"
|
|
2330
2396
|
}
|
|
2331
|
-
},
|
|
2397
|
+
}), On = (t, r, a) => ({
|
|
2332
2398
|
wrapperStyles: {
|
|
2333
2399
|
height: t,
|
|
2334
2400
|
minHeight: t,
|
|
@@ -2344,9 +2410,13 @@ const St = Object.assign(un, {
|
|
|
2344
2410
|
paddingRight: `${a}px`
|
|
2345
2411
|
},
|
|
2346
2412
|
suffixStyles: {
|
|
2347
|
-
right: `${a}px
|
|
2413
|
+
right: `${a}px`,
|
|
2414
|
+
maxWidth: "40px",
|
|
2415
|
+
maxHeight: "40px",
|
|
2416
|
+
padding: "8px",
|
|
2417
|
+
cursor: "pointer"
|
|
2348
2418
|
}
|
|
2349
|
-
}),
|
|
2419
|
+
}), An = (t, r, a) => ({
|
|
2350
2420
|
wrapperStyles: {
|
|
2351
2421
|
minHeight: t,
|
|
2352
2422
|
maxHeight: t,
|
|
@@ -2360,9 +2430,16 @@ const St = Object.assign(un, {
|
|
|
2360
2430
|
paddingRight: `${a}px`
|
|
2361
2431
|
},
|
|
2362
2432
|
suffixStyles: {
|
|
2363
|
-
right: `${a}px
|
|
2433
|
+
right: `${a}px`,
|
|
2434
|
+
maxWidth: "40px",
|
|
2435
|
+
maxHeight: "40px",
|
|
2436
|
+
padding: "8px",
|
|
2437
|
+
cursor: "pointer",
|
|
2438
|
+
display: "flex",
|
|
2439
|
+
alignItems: "center",
|
|
2440
|
+
justifyContent: "center"
|
|
2364
2441
|
}
|
|
2365
|
-
}),
|
|
2442
|
+
}), Bn = (t, r, a) => ({
|
|
2366
2443
|
wrapperStyles: {
|
|
2367
2444
|
minHeight: t,
|
|
2368
2445
|
maxHeight: t,
|
|
@@ -2376,17 +2453,23 @@ const St = Object.assign(un, {
|
|
|
2376
2453
|
paddingRight: `${a}px`
|
|
2377
2454
|
},
|
|
2378
2455
|
suffixStyles: {
|
|
2379
|
-
right: `${a}px
|
|
2456
|
+
right: `${a}px`,
|
|
2457
|
+
maxWidth: "32px",
|
|
2458
|
+
maxHeight: "32px",
|
|
2459
|
+
padding: "6px",
|
|
2460
|
+
cursor: "pointer"
|
|
2380
2461
|
}
|
|
2381
|
-
}),
|
|
2382
|
-
const
|
|
2462
|
+
}), Dn = (t, r, a, s) => {
|
|
2463
|
+
const o = In(t), n = Tn(t, r, a, s), c = Mn(t);
|
|
2383
2464
|
switch (t) {
|
|
2384
|
-
case
|
|
2385
|
-
return
|
|
2386
|
-
case
|
|
2387
|
-
return
|
|
2388
|
-
case
|
|
2389
|
-
return
|
|
2465
|
+
case q.XL:
|
|
2466
|
+
return On(o, n, c);
|
|
2467
|
+
case q.L:
|
|
2468
|
+
return An(o, n, c);
|
|
2469
|
+
case q.M:
|
|
2470
|
+
return Bn(o, n, c);
|
|
2471
|
+
case q.S:
|
|
2472
|
+
return Nn(o, n, c);
|
|
2390
2473
|
default:
|
|
2391
2474
|
return {
|
|
2392
2475
|
wrapperStyles: {},
|
|
@@ -2395,204 +2478,210 @@ const St = Object.assign(un, {
|
|
|
2395
2478
|
suffixStyles: {}
|
|
2396
2479
|
};
|
|
2397
2480
|
}
|
|
2398
|
-
},
|
|
2481
|
+
}, oo = te(
|
|
2399
2482
|
({
|
|
2400
2483
|
value: t = "",
|
|
2401
2484
|
onChange: r,
|
|
2402
2485
|
type: a = "text",
|
|
2403
2486
|
placeholder: s,
|
|
2404
|
-
maxLength:
|
|
2487
|
+
maxLength: o,
|
|
2405
2488
|
minLength: n,
|
|
2406
2489
|
autoComplete: c,
|
|
2407
|
-
autoFocus:
|
|
2408
|
-
size: d =
|
|
2490
|
+
autoFocus: _,
|
|
2491
|
+
size: d = q.L,
|
|
2409
2492
|
inputProps: f,
|
|
2410
|
-
error:
|
|
2411
|
-
disabled:
|
|
2412
|
-
loading:
|
|
2413
|
-
helper:
|
|
2414
|
-
prefix:
|
|
2415
|
-
suffix:
|
|
2416
|
-
clearable:
|
|
2417
|
-
id:
|
|
2418
|
-
showLabel:
|
|
2493
|
+
error: p,
|
|
2494
|
+
disabled: h,
|
|
2495
|
+
loading: b,
|
|
2496
|
+
helper: y,
|
|
2497
|
+
prefix: v,
|
|
2498
|
+
suffix: E,
|
|
2499
|
+
clearable: L = !1,
|
|
2500
|
+
id: C,
|
|
2501
|
+
showLabel: g = !0,
|
|
2419
2502
|
onFocus: j,
|
|
2420
|
-
onBlur:
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2503
|
+
onBlur: I,
|
|
2504
|
+
onSuffixClick: M,
|
|
2505
|
+
onClear: N,
|
|
2506
|
+
className: O,
|
|
2507
|
+
truncate: A = !0,
|
|
2508
|
+
hint: D,
|
|
2509
|
+
showHint: G = !1,
|
|
2510
|
+
showHintOnEmpty: W = !1,
|
|
2511
|
+
wrapperProps: B,
|
|
2427
2512
|
labelProps: x,
|
|
2428
|
-
helperProps:
|
|
2429
|
-
...
|
|
2430
|
-
},
|
|
2431
|
-
const
|
|
2432
|
-
r == null || r("");
|
|
2433
|
-
},
|
|
2434
|
-
|
|
2513
|
+
helperProps: k,
|
|
2514
|
+
...F
|
|
2515
|
+
}, U) => {
|
|
2516
|
+
const Z = (t || "").length > 0, Q = d === q.XL, ne = !!v, J = Q && g && !v, ae = L && Z && !(h || b), oe = () => {
|
|
2517
|
+
r == null || r(""), N == null || N();
|
|
2518
|
+
}, de = () => {
|
|
2519
|
+
ae && oe(), M == null || M();
|
|
2520
|
+
}, me = ae ? /* @__PURE__ */ i.jsx(
|
|
2521
|
+
It,
|
|
2435
2522
|
{
|
|
2436
|
-
size: d ===
|
|
2523
|
+
size: d === q.S || d === q.M ? "xs" : "sm",
|
|
2437
2524
|
color: "var(--icon-secondary)",
|
|
2438
|
-
onClick: ae,
|
|
2439
2525
|
style: { cursor: "pointer" },
|
|
2440
2526
|
"data-testid": "x-icon"
|
|
2441
2527
|
}
|
|
2442
|
-
) :
|
|
2528
|
+
) : E, ye = {
|
|
2443
2529
|
type: a,
|
|
2444
2530
|
minLength: n,
|
|
2445
2531
|
autoComplete: c,
|
|
2446
|
-
autoFocus:
|
|
2532
|
+
autoFocus: _,
|
|
2447
2533
|
...f
|
|
2448
|
-
},
|
|
2449
|
-
return /* @__PURE__ */
|
|
2450
|
-
|
|
2534
|
+
}, re = Dn(d, J, Z, ne);
|
|
2535
|
+
return /* @__PURE__ */ i.jsx(
|
|
2536
|
+
Nt,
|
|
2451
2537
|
{
|
|
2452
2538
|
size: d,
|
|
2453
|
-
error:
|
|
2454
|
-
disabled:
|
|
2455
|
-
loading:
|
|
2456
|
-
helper:
|
|
2457
|
-
prefix:
|
|
2458
|
-
suffix:
|
|
2459
|
-
id:
|
|
2460
|
-
showLabel:
|
|
2539
|
+
error: p,
|
|
2540
|
+
disabled: h || b,
|
|
2541
|
+
loading: b,
|
|
2542
|
+
helper: y,
|
|
2543
|
+
prefix: v,
|
|
2544
|
+
suffix: me,
|
|
2545
|
+
id: C,
|
|
2546
|
+
showLabel: J,
|
|
2461
2547
|
onFocus: j,
|
|
2462
|
-
onBlur:
|
|
2548
|
+
onBlur: I,
|
|
2549
|
+
onSuffixClick: de,
|
|
2463
2550
|
onChange: r,
|
|
2464
|
-
value: t
|
|
2551
|
+
value: t,
|
|
2465
2552
|
placeholder: s,
|
|
2466
|
-
className:
|
|
2467
|
-
wrapperStyles:
|
|
2468
|
-
floatingLabelStyles:
|
|
2469
|
-
prefixStyles:
|
|
2470
|
-
suffixStyles:
|
|
2471
|
-
wrapperProps:
|
|
2553
|
+
className: O,
|
|
2554
|
+
wrapperStyles: re.wrapperStyles,
|
|
2555
|
+
floatingLabelStyles: re.floatingLabelStyles,
|
|
2556
|
+
prefixStyles: re.prefixStyles,
|
|
2557
|
+
suffixStyles: re.suffixStyles,
|
|
2558
|
+
wrapperProps: B,
|
|
2472
2559
|
labelProps: x,
|
|
2473
|
-
helperProps:
|
|
2560
|
+
helperProps: k,
|
|
2474
2561
|
showLimit: !1,
|
|
2475
|
-
maxLength:
|
|
2476
|
-
inputProps:
|
|
2477
|
-
hint:
|
|
2478
|
-
showHint:
|
|
2479
|
-
showHintOnEmpty:
|
|
2480
|
-
truncate:
|
|
2481
|
-
...
|
|
2562
|
+
maxLength: o,
|
|
2563
|
+
inputProps: ye,
|
|
2564
|
+
hint: D,
|
|
2565
|
+
showHint: G,
|
|
2566
|
+
showHintOnEmpty: W,
|
|
2567
|
+
truncate: A,
|
|
2568
|
+
...F
|
|
2482
2569
|
}
|
|
2483
2570
|
);
|
|
2484
2571
|
}
|
|
2485
|
-
),
|
|
2486
|
-
|
|
2487
|
-
|
|
2572
|
+
), se = {
|
|
2573
|
+
M: "M",
|
|
2574
|
+
L: "L"
|
|
2488
2575
|
}, ze = {
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
},
|
|
2492
|
-
|
|
2493
|
-
|
|
2576
|
+
M: "12px",
|
|
2577
|
+
L: "16px"
|
|
2578
|
+
}, Fn = {
|
|
2579
|
+
M: "xs",
|
|
2580
|
+
L: "sm"
|
|
2494
2581
|
}, Fe = {
|
|
2495
2582
|
FILL: "fill",
|
|
2496
2583
|
FIXED: "fixed"
|
|
2497
2584
|
}, Ke = {
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
},
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
},
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
},
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
},
|
|
2513
|
-
if (t ===
|
|
2514
|
-
return Ke.
|
|
2585
|
+
M: "112px",
|
|
2586
|
+
L: "56px"
|
|
2587
|
+
}, je = {
|
|
2588
|
+
M: "48px",
|
|
2589
|
+
L: "22px"
|
|
2590
|
+
}, ge = {
|
|
2591
|
+
M: "12px 12px 12px 12px",
|
|
2592
|
+
L: "16px 16px 16px 16px",
|
|
2593
|
+
L_WITH_PREFIX: "12px 16px 12px 16px",
|
|
2594
|
+
L_FLOATING_LABEL: "8px 16px 8px 16px"
|
|
2595
|
+
}, be = {
|
|
2596
|
+
M: 48,
|
|
2597
|
+
L: 56,
|
|
2598
|
+
XL: 112
|
|
2599
|
+
}, Pn = (t, r) => {
|
|
2600
|
+
if (t === se.M)
|
|
2601
|
+
return Ke.M;
|
|
2515
2602
|
if (r)
|
|
2516
2603
|
return `${r}px`;
|
|
2517
2604
|
switch (t) {
|
|
2518
|
-
case
|
|
2519
|
-
return Ke.
|
|
2605
|
+
case se.L:
|
|
2606
|
+
return Ke.L;
|
|
2520
2607
|
default:
|
|
2521
|
-
return Ke.
|
|
2608
|
+
return Ke.L;
|
|
2522
2609
|
}
|
|
2523
|
-
},
|
|
2524
|
-
if (t ===
|
|
2525
|
-
return
|
|
2610
|
+
}, zn = (t, r) => {
|
|
2611
|
+
if (t === se.M)
|
|
2612
|
+
return je.M;
|
|
2526
2613
|
if (r)
|
|
2527
2614
|
switch (r) {
|
|
2528
|
-
case
|
|
2529
|
-
case
|
|
2530
|
-
return
|
|
2531
|
-
case
|
|
2532
|
-
return
|
|
2615
|
+
case be.M:
|
|
2616
|
+
case be.L:
|
|
2617
|
+
return je.L;
|
|
2618
|
+
case be.XL:
|
|
2619
|
+
return je.M;
|
|
2533
2620
|
default:
|
|
2534
|
-
return
|
|
2621
|
+
return je.L;
|
|
2535
2622
|
}
|
|
2536
2623
|
switch (t) {
|
|
2537
|
-
case
|
|
2538
|
-
return
|
|
2624
|
+
case se.L:
|
|
2625
|
+
return je.L;
|
|
2539
2626
|
default:
|
|
2540
|
-
return
|
|
2627
|
+
return je.L;
|
|
2541
2628
|
}
|
|
2542
|
-
},
|
|
2543
|
-
if (t ===
|
|
2544
|
-
return
|
|
2629
|
+
}, Wn = (t, r, a) => {
|
|
2630
|
+
if (t === se.M)
|
|
2631
|
+
return ge.M;
|
|
2545
2632
|
if (r)
|
|
2546
2633
|
switch (r) {
|
|
2547
|
-
case
|
|
2548
|
-
return
|
|
2549
|
-
case
|
|
2550
|
-
return a ?
|
|
2551
|
-
case
|
|
2552
|
-
return
|
|
2634
|
+
case be.M:
|
|
2635
|
+
return ge.L_WITH_PREFIX;
|
|
2636
|
+
case be.L:
|
|
2637
|
+
return a ? ge.L_FLOATING_LABEL : ge.L;
|
|
2638
|
+
case be.XL:
|
|
2639
|
+
return ge.L;
|
|
2553
2640
|
default:
|
|
2554
|
-
return
|
|
2641
|
+
return ge.L;
|
|
2555
2642
|
}
|
|
2556
2643
|
switch (t) {
|
|
2557
|
-
case
|
|
2558
|
-
return a ?
|
|
2644
|
+
case se.L:
|
|
2645
|
+
return a ? ge.L_FLOATING_LABEL : ge.L;
|
|
2559
2646
|
default:
|
|
2560
|
-
return
|
|
2647
|
+
return ge.L;
|
|
2561
2648
|
}
|
|
2562
|
-
},
|
|
2563
|
-
if (t ===
|
|
2564
|
-
return "
|
|
2649
|
+
}, Hn = (t, r) => {
|
|
2650
|
+
if (t === se.M)
|
|
2651
|
+
return "M";
|
|
2565
2652
|
if (r)
|
|
2566
2653
|
switch (r) {
|
|
2567
|
-
case
|
|
2568
|
-
return "
|
|
2569
|
-
case
|
|
2570
|
-
return "
|
|
2571
|
-
case
|
|
2572
|
-
return "
|
|
2654
|
+
case be.M:
|
|
2655
|
+
return "M";
|
|
2656
|
+
case be.L:
|
|
2657
|
+
return "L";
|
|
2658
|
+
case be.XL:
|
|
2659
|
+
return "L";
|
|
2573
2660
|
default:
|
|
2574
|
-
return "
|
|
2661
|
+
return "L";
|
|
2575
2662
|
}
|
|
2576
2663
|
return t;
|
|
2577
|
-
},
|
|
2578
|
-
const
|
|
2664
|
+
}, Vn = (t) => Fn[t], qn = (t) => ze[t], Zn = (t, r, a, s) => {
|
|
2665
|
+
const o = Pn(t, r), n = zn(t, r), c = Wn(t, r, a);
|
|
2579
2666
|
return {
|
|
2580
2667
|
wrapperStyles: {
|
|
2581
|
-
minHeight:
|
|
2668
|
+
minHeight: o,
|
|
2582
2669
|
// Для fill resize устанавливаем height: 100%
|
|
2583
2670
|
...s === Fe.FILL && { height: "100%" },
|
|
2584
2671
|
// Для fixed resize устанавливаем фиксированную высоту
|
|
2585
|
-
...s === Fe.FIXED && r && { height:
|
|
2672
|
+
...s === Fe.FIXED && r && { height: o },
|
|
2586
2673
|
boxSizing: "border-box",
|
|
2587
2674
|
padding: c
|
|
2588
2675
|
},
|
|
2589
2676
|
floatingLabelStyles: {
|
|
2590
|
-
left: t ===
|
|
2677
|
+
left: t === se.M ? ze.M : ze.L,
|
|
2591
2678
|
transformOrigin: "left top",
|
|
2592
|
-
top: r === 112 && a && t ===
|
|
2679
|
+
top: r === 112 && a && t === se.L ? ze.L : void 0
|
|
2593
2680
|
},
|
|
2594
2681
|
suffixStyles: {
|
|
2595
|
-
right:
|
|
2682
|
+
right: qn(t),
|
|
2683
|
+
top: r === 48 && t === se.L ? "11px" : void 0,
|
|
2684
|
+
boxSizing: "border-box"
|
|
2596
2685
|
},
|
|
2597
2686
|
textareaStyles: {
|
|
2598
2687
|
minHeight: n,
|
|
@@ -2602,138 +2691,141 @@ const St = Object.assign(un, {
|
|
|
2602
2691
|
...s === Fe.FIXED && r && { height: n }
|
|
2603
2692
|
}
|
|
2604
2693
|
};
|
|
2605
|
-
},
|
|
2694
|
+
}, io = te(
|
|
2606
2695
|
({
|
|
2607
2696
|
value: t = "",
|
|
2608
2697
|
onChange: r,
|
|
2609
2698
|
placeholder: a,
|
|
2610
2699
|
maxLength: s,
|
|
2611
|
-
minLength:
|
|
2700
|
+
minLength: o,
|
|
2612
2701
|
autoFocus: n,
|
|
2613
|
-
size: c =
|
|
2614
|
-
textareaProps:
|
|
2702
|
+
size: c = se.L,
|
|
2703
|
+
textareaProps: _,
|
|
2615
2704
|
error: d,
|
|
2616
2705
|
disabled: f,
|
|
2617
|
-
loading:
|
|
2618
|
-
helper:
|
|
2619
|
-
suffix:
|
|
2620
|
-
clearable:
|
|
2621
|
-
id:
|
|
2622
|
-
showLabel:
|
|
2623
|
-
onFocus:
|
|
2624
|
-
onBlur:
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2706
|
+
loading: p,
|
|
2707
|
+
helper: h,
|
|
2708
|
+
suffix: b,
|
|
2709
|
+
clearable: y = !1,
|
|
2710
|
+
id: v,
|
|
2711
|
+
showLabel: E = !0,
|
|
2712
|
+
onFocus: L,
|
|
2713
|
+
onBlur: C,
|
|
2714
|
+
onClear: g,
|
|
2715
|
+
onKeyDown: j,
|
|
2716
|
+
className: I,
|
|
2717
|
+
rows: M = 1,
|
|
2718
|
+
showLimit: N = !1,
|
|
2719
|
+
wrapperProps: O,
|
|
2720
|
+
labelProps: A,
|
|
2721
|
+
helperProps: D,
|
|
2722
|
+
showGrip: G,
|
|
2723
|
+
minHeight: W,
|
|
2724
|
+
resize: B,
|
|
2634
2725
|
...x
|
|
2635
|
-
},
|
|
2636
|
-
const
|
|
2637
|
-
r == null || r("");
|
|
2638
|
-
},
|
|
2639
|
-
|
|
2726
|
+
}, k) => {
|
|
2727
|
+
const F = (t || "").length > 0, U = E && !!a && (c === se.M || W !== 48), Z = y && F && !(f || p), Q = () => {
|
|
2728
|
+
r == null || r(""), g == null || g();
|
|
2729
|
+
}, ne = Z ? /* @__PURE__ */ i.jsx(
|
|
2730
|
+
It,
|
|
2640
2731
|
{
|
|
2641
|
-
size:
|
|
2732
|
+
size: Vn(c),
|
|
2642
2733
|
color: "var(--icon-secondary)",
|
|
2643
|
-
onClick:
|
|
2734
|
+
onClick: Q,
|
|
2644
2735
|
style: { cursor: "pointer" },
|
|
2645
2736
|
"data-testid": "x-icon"
|
|
2646
2737
|
}
|
|
2647
|
-
) :
|
|
2648
|
-
rows:
|
|
2649
|
-
minLength:
|
|
2738
|
+
) : b, J = Zn(c, W, U && F, B), ae = Hn(c, W), oe = {
|
|
2739
|
+
rows: M,
|
|
2740
|
+
minLength: o,
|
|
2650
2741
|
autoFocus: n,
|
|
2651
|
-
resize:
|
|
2652
|
-
...
|
|
2742
|
+
resize: B,
|
|
2743
|
+
..._
|
|
2653
2744
|
};
|
|
2654
|
-
return /* @__PURE__ */
|
|
2655
|
-
|
|
2745
|
+
return /* @__PURE__ */ i.jsx(
|
|
2746
|
+
Nt,
|
|
2656
2747
|
{
|
|
2657
|
-
ref:
|
|
2748
|
+
ref: k,
|
|
2658
2749
|
component: "textarea",
|
|
2659
|
-
size:
|
|
2750
|
+
size: ae,
|
|
2660
2751
|
error: d,
|
|
2661
|
-
disabled: f ||
|
|
2662
|
-
loading:
|
|
2663
|
-
helper:
|
|
2664
|
-
suffix:
|
|
2665
|
-
id:
|
|
2666
|
-
showLabel:
|
|
2667
|
-
onFocus:
|
|
2668
|
-
onBlur:
|
|
2752
|
+
disabled: f || p,
|
|
2753
|
+
loading: p,
|
|
2754
|
+
helper: h,
|
|
2755
|
+
suffix: ne,
|
|
2756
|
+
id: v,
|
|
2757
|
+
showLabel: U,
|
|
2758
|
+
onFocus: L,
|
|
2759
|
+
onBlur: C,
|
|
2760
|
+
onKeyDown: j,
|
|
2669
2761
|
onChange: r,
|
|
2670
2762
|
value: t || "",
|
|
2671
2763
|
placeholder: a,
|
|
2672
|
-
className:
|
|
2673
|
-
"data-floating-label":
|
|
2674
|
-
wrapperStyles:
|
|
2675
|
-
floatingLabelStyles:
|
|
2676
|
-
suffixStyles:
|
|
2677
|
-
textareaStyles:
|
|
2678
|
-
wrapperProps:
|
|
2679
|
-
labelProps:
|
|
2680
|
-
helperProps:
|
|
2681
|
-
showLimit:
|
|
2764
|
+
className: I,
|
|
2765
|
+
"data-floating-label": U,
|
|
2766
|
+
wrapperStyles: J.wrapperStyles,
|
|
2767
|
+
floatingLabelStyles: J.floatingLabelStyles,
|
|
2768
|
+
suffixStyles: J.suffixStyles,
|
|
2769
|
+
textareaStyles: J.textareaStyles,
|
|
2770
|
+
wrapperProps: O,
|
|
2771
|
+
labelProps: A,
|
|
2772
|
+
helperProps: D,
|
|
2773
|
+
showLimit: N && (W === 112 || c === se.M),
|
|
2682
2774
|
maxLength: s,
|
|
2683
|
-
inputProps:
|
|
2684
|
-
resize:
|
|
2685
|
-
showGrip:
|
|
2775
|
+
inputProps: oe,
|
|
2776
|
+
resize: B,
|
|
2777
|
+
showGrip: G,
|
|
2686
2778
|
...x
|
|
2687
2779
|
}
|
|
2688
2780
|
);
|
|
2689
2781
|
}
|
|
2690
|
-
),
|
|
2691
|
-
helper:
|
|
2782
|
+
), Gn = "_helper_1vhgl_16", Qe = {
|
|
2783
|
+
helper: Gn,
|
|
2692
2784
|
"helper--error": "_helper--error_1vhgl_27",
|
|
2693
2785
|
"helper--disabled": "_helper--disabled_1vhgl_32"
|
|
2694
|
-
},
|
|
2786
|
+
}, lo = ({
|
|
2695
2787
|
title: t,
|
|
2696
2788
|
error: r,
|
|
2697
2789
|
className: a = "",
|
|
2698
2790
|
style: s,
|
|
2699
|
-
disabled:
|
|
2791
|
+
disabled: o = !1,
|
|
2700
2792
|
"data-testid": n,
|
|
2701
2793
|
"aria-label": c,
|
|
2702
|
-
"aria-describedby":
|
|
2794
|
+
"aria-describedby": _
|
|
2703
2795
|
}) => {
|
|
2704
|
-
const d = !!r, f =
|
|
2705
|
-
|
|
2706
|
-
d &&
|
|
2707
|
-
|
|
2796
|
+
const d = !!r, f = V(
|
|
2797
|
+
Qe.helper,
|
|
2798
|
+
d && Qe["helper--error"],
|
|
2799
|
+
o && Qe["helper--disabled"],
|
|
2708
2800
|
a
|
|
2709
|
-
),
|
|
2710
|
-
return /* @__PURE__ */
|
|
2801
|
+
), p = o ? t : r || t;
|
|
2802
|
+
return /* @__PURE__ */ i.jsx(
|
|
2711
2803
|
"div",
|
|
2712
2804
|
{
|
|
2713
2805
|
className: f,
|
|
2714
2806
|
style: s,
|
|
2715
2807
|
"data-testid": n,
|
|
2716
2808
|
"aria-label": c,
|
|
2717
|
-
"aria-describedby":
|
|
2718
|
-
children: /* @__PURE__ */
|
|
2809
|
+
"aria-describedby": _,
|
|
2810
|
+
children: /* @__PURE__ */ i.jsx("p", { children: p })
|
|
2719
2811
|
}
|
|
2720
2812
|
);
|
|
2721
2813
|
};
|
|
2722
2814
|
export {
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2815
|
+
Jn as Avatar,
|
|
2816
|
+
Kn as Badge,
|
|
2817
|
+
Yn as Button,
|
|
2818
|
+
so as Checkbox,
|
|
2819
|
+
to as ConfigProvider,
|
|
2820
|
+
lo as Helper,
|
|
2821
|
+
Qn as Image,
|
|
2730
2822
|
Vr as Loader,
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2823
|
+
ro as Tag,
|
|
2824
|
+
io as TextArea,
|
|
2825
|
+
oo as TextInput,
|
|
2826
|
+
no as Typography,
|
|
2827
|
+
Zr as enUS,
|
|
2828
|
+
ao as ruRU,
|
|
2737
2829
|
Gr as useConfig,
|
|
2738
|
-
|
|
2830
|
+
eo as useLocale
|
|
2739
2831
|
};
|