skillgrid 0.0.34 → 0.0.35
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/SegmentedControl/SegmentedControl.type.d.ts +8 -4
- package/dist/components/SegmentedControl/index.d.ts +1 -1
- package/dist/components/Tabs/Tabs.type.d.ts +1 -1
- package/dist/index.cjs.js +9 -9
- package/dist/index.css +1 -1
- package/dist/index.es.js +929 -900
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as Je from "react";
|
|
2
|
-
import be, { forwardRef as U, Fragment as
|
|
2
|
+
import be, { forwardRef as U, Fragment as qt, useState as ft, useEffect as gt, useRef as Ht, useCallback as jt, useMemo as Qe, createContext as tr, useContext as er, useLayoutEffect as rr, useImperativeHandle as Ar, useId as me } from "react";
|
|
3
3
|
import { clsx as k } from "clsx";
|
|
4
|
-
import { useFloating as Or, useTransitionStyles as
|
|
5
|
-
import
|
|
4
|
+
import { useFloating as Or, useTransitionStyles as Pr, useDismiss as zr, useRole as Dr, useInteractions as Fr, useMergeRefs as Wr, FloatingPortal as qr, FloatingOverlay as Hr, FloatingFocusManager as Vr } from "@floating-ui/react";
|
|
5
|
+
import Zr from "rc-tooltip";
|
|
6
6
|
import './index.css';function Xr(t) {
|
|
7
7
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
8
8
|
}
|
|
9
|
-
var Yt = { exports: {} },
|
|
9
|
+
var Yt = { exports: {} }, zt = {};
|
|
10
10
|
/**
|
|
11
11
|
* @license React
|
|
12
12
|
* react-jsx-runtime.production.min.js
|
|
@@ -18,17 +18,17 @@ var Yt = { exports: {} }, Pt = {};
|
|
|
18
18
|
*/
|
|
19
19
|
var Me;
|
|
20
20
|
function Yr() {
|
|
21
|
-
if (Me) return
|
|
21
|
+
if (Me) return zt;
|
|
22
22
|
Me = 1;
|
|
23
23
|
var t = be, r = Symbol.for("react.element"), n = Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
24
24
|
function l(c, u, f) {
|
|
25
|
-
var d, g = {},
|
|
26
|
-
f !== void 0 && (
|
|
25
|
+
var d, g = {}, m = null, h = null;
|
|
26
|
+
f !== void 0 && (m = "" + f), u.key !== void 0 && (m = "" + u.key), u.ref !== void 0 && (h = u.ref);
|
|
27
27
|
for (d in u) a.call(u, d) && !s.hasOwnProperty(d) && (g[d] = u[d]);
|
|
28
28
|
if (c && c.defaultProps) for (d in u = c.defaultProps, u) g[d] === void 0 && (g[d] = u[d]);
|
|
29
|
-
return { $$typeof: r, type: c, key:
|
|
29
|
+
return { $$typeof: r, type: c, key: m, ref: h, props: g, _owner: i.current };
|
|
30
30
|
}
|
|
31
|
-
return
|
|
31
|
+
return zt.Fragment = n, zt.jsx = l, zt.jsxs = l, zt;
|
|
32
32
|
}
|
|
33
33
|
var Dt = {};
|
|
34
34
|
/**
|
|
@@ -43,54 +43,54 @@ var Dt = {};
|
|
|
43
43
|
var Be;
|
|
44
44
|
function Gr() {
|
|
45
45
|
return Be || (Be = 1, process.env.NODE_ENV !== "production" && function() {
|
|
46
|
-
var t = be, r = Symbol.for("react.element"), n = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), c = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"),
|
|
47
|
-
function
|
|
46
|
+
var t = be, r = Symbol.for("react.element"), n = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), c = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), C = Symbol.iterator, v = "@@iterator";
|
|
47
|
+
function b(e) {
|
|
48
48
|
if (e === null || typeof e != "object")
|
|
49
49
|
return null;
|
|
50
|
-
var
|
|
51
|
-
return typeof
|
|
50
|
+
var p = C && e[C] || e[v];
|
|
51
|
+
return typeof p == "function" ? p : null;
|
|
52
52
|
}
|
|
53
53
|
var x = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
54
|
-
function
|
|
54
|
+
function _(e) {
|
|
55
55
|
{
|
|
56
|
-
for (var
|
|
57
|
-
|
|
58
|
-
w("error", e,
|
|
56
|
+
for (var p = arguments.length, y = new Array(p > 1 ? p - 1 : 0), j = 1; j < p; j++)
|
|
57
|
+
y[j - 1] = arguments[j];
|
|
58
|
+
w("error", e, y);
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
-
function w(e,
|
|
61
|
+
function w(e, p, y) {
|
|
62
62
|
{
|
|
63
|
-
var j = x.ReactDebugCurrentFrame,
|
|
64
|
-
|
|
65
|
-
var
|
|
66
|
-
return String(
|
|
63
|
+
var j = x.ReactDebugCurrentFrame, P = j.getStackAddendum();
|
|
64
|
+
P !== "" && (p += "%s", y = y.concat([P]));
|
|
65
|
+
var F = y.map(function(M) {
|
|
66
|
+
return String(M);
|
|
67
67
|
});
|
|
68
|
-
|
|
68
|
+
F.unshift("Warning: " + p), Function.prototype.apply.call(console[e], console, F);
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
var S = !1, T = !1, $ = !1, E = !1,
|
|
71
|
+
var S = !1, T = !1, $ = !1, E = !1, I = !1, A;
|
|
72
72
|
A = Symbol.for("react.module.reference");
|
|
73
|
-
function
|
|
74
|
-
return !!(typeof e == "string" || typeof e == "function" || e === a || e === s ||
|
|
73
|
+
function O(e) {
|
|
74
|
+
return !!(typeof e == "string" || typeof e == "function" || e === a || e === s || I || e === i || e === f || e === d || E || e === h || S || T || $ || typeof e == "object" && e !== null && (e.$$typeof === m || e.$$typeof === g || e.$$typeof === l || e.$$typeof === c || e.$$typeof === u || // This needs to include all possible module reference object
|
|
75
75
|
// types supported by any Flight configuration anywhere since
|
|
76
76
|
// we don't know which Flight build this will end up being used
|
|
77
77
|
// with.
|
|
78
78
|
e.$$typeof === A || e.getModuleId !== void 0));
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function D(e, p, y) {
|
|
81
81
|
var j = e.displayName;
|
|
82
82
|
if (j)
|
|
83
83
|
return j;
|
|
84
|
-
var
|
|
85
|
-
return
|
|
84
|
+
var P = p.displayName || p.name || "";
|
|
85
|
+
return P !== "" ? y + "(" + P + ")" : y;
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function W(e) {
|
|
88
88
|
return e.displayName || "Context";
|
|
89
89
|
}
|
|
90
90
|
function L(e) {
|
|
91
91
|
if (e == null)
|
|
92
92
|
return null;
|
|
93
|
-
if (typeof e.tag == "number" &&
|
|
93
|
+
if (typeof e.tag == "number" && _("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
94
94
|
return e.displayName || e.name || null;
|
|
95
95
|
if (typeof e == "string")
|
|
96
96
|
return e;
|
|
@@ -111,20 +111,20 @@ function Gr() {
|
|
|
111
111
|
if (typeof e == "object")
|
|
112
112
|
switch (e.$$typeof) {
|
|
113
113
|
case c:
|
|
114
|
-
var
|
|
115
|
-
return
|
|
114
|
+
var p = e;
|
|
115
|
+
return W(p) + ".Consumer";
|
|
116
116
|
case l:
|
|
117
|
-
var
|
|
118
|
-
return
|
|
117
|
+
var y = e;
|
|
118
|
+
return W(y._context) + ".Provider";
|
|
119
119
|
case u:
|
|
120
|
-
return
|
|
120
|
+
return D(e, e.render, "ForwardRef");
|
|
121
121
|
case g:
|
|
122
122
|
var j = e.displayName || null;
|
|
123
123
|
return j !== null ? j : L(e.type) || "Memo";
|
|
124
|
-
case
|
|
125
|
-
var
|
|
124
|
+
case m: {
|
|
125
|
+
var P = e, F = P._payload, M = P._init;
|
|
126
126
|
try {
|
|
127
|
-
return L(
|
|
127
|
+
return L(M(F));
|
|
128
128
|
} catch {
|
|
129
129
|
return null;
|
|
130
130
|
}
|
|
@@ -132,14 +132,14 @@ function Gr() {
|
|
|
132
132
|
}
|
|
133
133
|
return null;
|
|
134
134
|
}
|
|
135
|
-
var
|
|
135
|
+
var B = Object.assign, q = 0, H, Z, K, ot, rt, J, at;
|
|
136
136
|
function st() {
|
|
137
137
|
}
|
|
138
138
|
st.__reactDisabledLog = !0;
|
|
139
139
|
function wt() {
|
|
140
140
|
{
|
|
141
|
-
if (
|
|
142
|
-
H = console.log,
|
|
141
|
+
if (q === 0) {
|
|
142
|
+
H = console.log, Z = console.info, K = console.warn, ot = console.error, rt = console.group, J = console.groupCollapsed, at = console.groupEnd;
|
|
143
143
|
var e = {
|
|
144
144
|
configurable: !0,
|
|
145
145
|
enumerable: !0,
|
|
@@ -156,100 +156,100 @@ function Gr() {
|
|
|
156
156
|
groupEnd: e
|
|
157
157
|
});
|
|
158
158
|
}
|
|
159
|
-
|
|
159
|
+
q++;
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function yt() {
|
|
163
163
|
{
|
|
164
|
-
if (
|
|
164
|
+
if (q--, q === 0) {
|
|
165
165
|
var e = {
|
|
166
166
|
configurable: !0,
|
|
167
167
|
enumerable: !0,
|
|
168
168
|
writable: !0
|
|
169
169
|
};
|
|
170
170
|
Object.defineProperties(console, {
|
|
171
|
-
log:
|
|
171
|
+
log: B({}, e, {
|
|
172
172
|
value: H
|
|
173
173
|
}),
|
|
174
|
-
info:
|
|
175
|
-
value:
|
|
174
|
+
info: B({}, e, {
|
|
175
|
+
value: Z
|
|
176
176
|
}),
|
|
177
|
-
warn:
|
|
177
|
+
warn: B({}, e, {
|
|
178
178
|
value: K
|
|
179
179
|
}),
|
|
180
|
-
error:
|
|
180
|
+
error: B({}, e, {
|
|
181
181
|
value: ot
|
|
182
182
|
}),
|
|
183
|
-
group:
|
|
183
|
+
group: B({}, e, {
|
|
184
184
|
value: rt
|
|
185
185
|
}),
|
|
186
|
-
groupCollapsed:
|
|
186
|
+
groupCollapsed: B({}, e, {
|
|
187
187
|
value: J
|
|
188
188
|
}),
|
|
189
|
-
groupEnd:
|
|
189
|
+
groupEnd: B({}, e, {
|
|
190
190
|
value: at
|
|
191
191
|
})
|
|
192
192
|
});
|
|
193
193
|
}
|
|
194
|
-
|
|
194
|
+
q < 0 && _("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
197
|
var it = x.ReactCurrentDispatcher, Tt;
|
|
198
|
-
function
|
|
198
|
+
function ut(e, p, y) {
|
|
199
199
|
{
|
|
200
200
|
if (Tt === void 0)
|
|
201
201
|
try {
|
|
202
202
|
throw Error();
|
|
203
|
-
} catch (
|
|
204
|
-
var j =
|
|
203
|
+
} catch (P) {
|
|
204
|
+
var j = P.stack.trim().match(/\n( *(at )?)/);
|
|
205
205
|
Tt = j && j[1] || "";
|
|
206
206
|
}
|
|
207
207
|
return `
|
|
208
208
|
` + Tt + e;
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
|
-
var
|
|
211
|
+
var Vt = !1, Mt;
|
|
212
212
|
{
|
|
213
213
|
var ee = typeof WeakMap == "function" ? WeakMap : Map;
|
|
214
|
-
|
|
214
|
+
Mt = new ee();
|
|
215
215
|
}
|
|
216
|
-
function
|
|
217
|
-
if (!e ||
|
|
216
|
+
function Zt(e, p) {
|
|
217
|
+
if (!e || Vt)
|
|
218
218
|
return "";
|
|
219
219
|
{
|
|
220
|
-
var
|
|
221
|
-
if (
|
|
222
|
-
return
|
|
220
|
+
var y = Mt.get(e);
|
|
221
|
+
if (y !== void 0)
|
|
222
|
+
return y;
|
|
223
223
|
}
|
|
224
224
|
var j;
|
|
225
|
-
|
|
226
|
-
var
|
|
225
|
+
Vt = !0;
|
|
226
|
+
var P = Error.prepareStackTrace;
|
|
227
227
|
Error.prepareStackTrace = void 0;
|
|
228
|
-
var
|
|
229
|
-
|
|
228
|
+
var F;
|
|
229
|
+
F = it.current, it.current = null, wt();
|
|
230
230
|
try {
|
|
231
|
-
if (
|
|
232
|
-
var
|
|
231
|
+
if (p) {
|
|
232
|
+
var M = function() {
|
|
233
233
|
throw Error();
|
|
234
234
|
};
|
|
235
|
-
if (Object.defineProperty(
|
|
235
|
+
if (Object.defineProperty(M.prototype, "props", {
|
|
236
236
|
set: function() {
|
|
237
237
|
throw Error();
|
|
238
238
|
}
|
|
239
239
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
240
240
|
try {
|
|
241
|
-
Reflect.construct(
|
|
241
|
+
Reflect.construct(M, []);
|
|
242
242
|
} catch (lt) {
|
|
243
243
|
j = lt;
|
|
244
244
|
}
|
|
245
|
-
Reflect.construct(e, [],
|
|
245
|
+
Reflect.construct(e, [], M);
|
|
246
246
|
} else {
|
|
247
247
|
try {
|
|
248
|
-
|
|
248
|
+
M.call();
|
|
249
249
|
} catch (lt) {
|
|
250
250
|
j = lt;
|
|
251
251
|
}
|
|
252
|
-
e.call(
|
|
252
|
+
e.call(M.prototype);
|
|
253
253
|
}
|
|
254
254
|
} else {
|
|
255
255
|
try {
|
|
@@ -272,48 +272,48 @@ function Gr() {
|
|
|
272
272
|
if (X--, Y--, Y < 0 || R[X] !== nt[Y]) {
|
|
273
273
|
var ht = `
|
|
274
274
|
` + R[X].replace(" at new ", " at ");
|
|
275
|
-
return e.displayName && ht.includes("<anonymous>") && (ht = ht.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
275
|
+
return e.displayName && ht.includes("<anonymous>") && (ht = ht.replace("<anonymous>", e.displayName)), typeof e == "function" && Mt.set(e, ht), ht;
|
|
276
276
|
}
|
|
277
277
|
while (X >= 1 && Y >= 0);
|
|
278
278
|
break;
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
281
|
} finally {
|
|
282
|
-
|
|
282
|
+
Vt = !1, it.current = F, yt(), Error.prepareStackTrace = P;
|
|
283
283
|
}
|
|
284
|
-
var
|
|
285
|
-
return typeof e == "function" &&
|
|
284
|
+
var At = e ? e.displayName || e.name : "", Nt = At ? ut(At) : "";
|
|
285
|
+
return typeof e == "function" && Mt.set(e, Nt), Nt;
|
|
286
286
|
}
|
|
287
|
-
function re(e,
|
|
288
|
-
return
|
|
287
|
+
function re(e, p, y) {
|
|
288
|
+
return Zt(e, !1);
|
|
289
289
|
}
|
|
290
290
|
function ne(e) {
|
|
291
|
-
var
|
|
292
|
-
return !!(
|
|
291
|
+
var p = e.prototype;
|
|
292
|
+
return !!(p && p.isReactComponent);
|
|
293
293
|
}
|
|
294
|
-
function Q(e,
|
|
294
|
+
function Q(e, p, y) {
|
|
295
295
|
if (e == null)
|
|
296
296
|
return "";
|
|
297
297
|
if (typeof e == "function")
|
|
298
|
-
return
|
|
298
|
+
return Zt(e, ne(e));
|
|
299
299
|
if (typeof e == "string")
|
|
300
|
-
return
|
|
300
|
+
return ut(e);
|
|
301
301
|
switch (e) {
|
|
302
302
|
case f:
|
|
303
|
-
return
|
|
303
|
+
return ut("Suspense");
|
|
304
304
|
case d:
|
|
305
|
-
return
|
|
305
|
+
return ut("SuspenseList");
|
|
306
306
|
}
|
|
307
307
|
if (typeof e == "object")
|
|
308
308
|
switch (e.$$typeof) {
|
|
309
309
|
case u:
|
|
310
310
|
return re(e.render);
|
|
311
311
|
case g:
|
|
312
|
-
return Q(e.type,
|
|
313
|
-
case
|
|
314
|
-
var j = e,
|
|
312
|
+
return Q(e.type, p, y);
|
|
313
|
+
case m: {
|
|
314
|
+
var j = e, P = j._payload, F = j._init;
|
|
315
315
|
try {
|
|
316
|
-
return Q(P
|
|
316
|
+
return Q(F(P), p, y);
|
|
317
317
|
} catch {
|
|
318
318
|
}
|
|
319
319
|
}
|
|
@@ -323,41 +323,41 @@ function Gr() {
|
|
|
323
323
|
var tt = Object.prototype.hasOwnProperty, vt = {}, ve = x.ReactDebugCurrentFrame;
|
|
324
324
|
function Xt(e) {
|
|
325
325
|
if (e) {
|
|
326
|
-
var
|
|
327
|
-
ve.setExtraStackFrame(
|
|
326
|
+
var p = e._owner, y = Q(e.type, e._source, p ? p.type : null);
|
|
327
|
+
ve.setExtraStackFrame(y);
|
|
328
328
|
} else
|
|
329
329
|
ve.setExtraStackFrame(null);
|
|
330
330
|
}
|
|
331
|
-
function
|
|
331
|
+
function fr(e, p, y, j, P) {
|
|
332
332
|
{
|
|
333
|
-
var
|
|
334
|
-
for (var
|
|
335
|
-
if (
|
|
333
|
+
var F = Function.call.bind(tt);
|
|
334
|
+
for (var M in e)
|
|
335
|
+
if (F(e, M)) {
|
|
336
336
|
var R = void 0;
|
|
337
337
|
try {
|
|
338
|
-
if (typeof e[
|
|
339
|
-
var nt = Error((j || "React class") + ": " +
|
|
338
|
+
if (typeof e[M] != "function") {
|
|
339
|
+
var nt = Error((j || "React class") + ": " + y + " type `" + M + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[M] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
340
340
|
throw nt.name = "Invariant Violation", nt;
|
|
341
341
|
}
|
|
342
|
-
R = e[
|
|
342
|
+
R = e[M](p, M, j, y, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
343
343
|
} catch (X) {
|
|
344
344
|
R = X;
|
|
345
345
|
}
|
|
346
|
-
R && !(R instanceof Error) && (Xt(
|
|
346
|
+
R && !(R instanceof Error) && (Xt(P), _("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", j || "React class", y, M, typeof R), Xt(null)), R instanceof Error && !(R.message in vt) && (vt[R.message] = !0, Xt(P), _("Failed %s type: %s", y, R.message), Xt(null));
|
|
347
347
|
}
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
|
-
var
|
|
350
|
+
var gr = Array.isArray;
|
|
351
351
|
function oe(e) {
|
|
352
|
-
return
|
|
352
|
+
return gr(e);
|
|
353
353
|
}
|
|
354
|
-
function
|
|
354
|
+
function hr(e) {
|
|
355
355
|
{
|
|
356
|
-
var
|
|
357
|
-
return
|
|
356
|
+
var p = typeof Symbol == "function" && Symbol.toStringTag, y = p && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
357
|
+
return y;
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
|
-
function
|
|
360
|
+
function br(e) {
|
|
361
361
|
try {
|
|
362
362
|
return Ce(e), !1;
|
|
363
363
|
} catch {
|
|
@@ -368,67 +368,67 @@ function Gr() {
|
|
|
368
368
|
return "" + e;
|
|
369
369
|
}
|
|
370
370
|
function we(e) {
|
|
371
|
-
if (
|
|
372
|
-
return
|
|
371
|
+
if (br(e))
|
|
372
|
+
return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", hr(e)), Ce(e);
|
|
373
373
|
}
|
|
374
|
-
var
|
|
374
|
+
var ke = x.ReactCurrentOwner, mr = {
|
|
375
375
|
key: !0,
|
|
376
376
|
ref: !0,
|
|
377
377
|
__self: !0,
|
|
378
378
|
__source: !0
|
|
379
|
-
},
|
|
380
|
-
function
|
|
379
|
+
}, Se, Le;
|
|
380
|
+
function xr(e) {
|
|
381
381
|
if (tt.call(e, "ref")) {
|
|
382
|
-
var
|
|
383
|
-
if (
|
|
382
|
+
var p = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
383
|
+
if (p && p.isReactWarning)
|
|
384
384
|
return !1;
|
|
385
385
|
}
|
|
386
386
|
return e.ref !== void 0;
|
|
387
387
|
}
|
|
388
388
|
function yr(e) {
|
|
389
389
|
if (tt.call(e, "key")) {
|
|
390
|
-
var
|
|
391
|
-
if (
|
|
390
|
+
var p = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
391
|
+
if (p && p.isReactWarning)
|
|
392
392
|
return !1;
|
|
393
393
|
}
|
|
394
394
|
return e.key !== void 0;
|
|
395
395
|
}
|
|
396
|
-
function
|
|
397
|
-
typeof e.ref == "string" &&
|
|
396
|
+
function vr(e, p) {
|
|
397
|
+
typeof e.ref == "string" && ke.current;
|
|
398
398
|
}
|
|
399
|
-
function
|
|
399
|
+
function Cr(e, p) {
|
|
400
400
|
{
|
|
401
|
-
var
|
|
402
|
-
|
|
401
|
+
var y = function() {
|
|
402
|
+
Se || (Se = !0, _("%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)", p));
|
|
403
403
|
};
|
|
404
|
-
|
|
405
|
-
get:
|
|
404
|
+
y.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
405
|
+
get: y,
|
|
406
406
|
configurable: !0
|
|
407
407
|
});
|
|
408
408
|
}
|
|
409
409
|
}
|
|
410
|
-
function
|
|
410
|
+
function wr(e, p) {
|
|
411
411
|
{
|
|
412
|
-
var
|
|
413
|
-
Le || (Le = !0,
|
|
412
|
+
var y = function() {
|
|
413
|
+
Le || (Le = !0, _("%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)", p));
|
|
414
414
|
};
|
|
415
|
-
|
|
416
|
-
get:
|
|
415
|
+
y.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
416
|
+
get: y,
|
|
417
417
|
configurable: !0
|
|
418
418
|
});
|
|
419
419
|
}
|
|
420
420
|
}
|
|
421
|
-
var
|
|
421
|
+
var kr = function(e, p, y, j, P, F, M) {
|
|
422
422
|
var R = {
|
|
423
423
|
// This tag allows us to uniquely identify this as a React Element
|
|
424
424
|
$$typeof: r,
|
|
425
425
|
// Built-in properties that belong on the element
|
|
426
426
|
type: e,
|
|
427
|
-
key:
|
|
428
|
-
ref:
|
|
429
|
-
props:
|
|
427
|
+
key: p,
|
|
428
|
+
ref: y,
|
|
429
|
+
props: M,
|
|
430
430
|
// Record the component responsible for creating this element.
|
|
431
|
-
_owner:
|
|
431
|
+
_owner: F
|
|
432
432
|
};
|
|
433
433
|
return R._store = {}, Object.defineProperty(R._store, "validated", {
|
|
434
434
|
configurable: !1,
|
|
@@ -444,32 +444,32 @@ function Gr() {
|
|
|
444
444
|
configurable: !1,
|
|
445
445
|
enumerable: !1,
|
|
446
446
|
writable: !1,
|
|
447
|
-
value:
|
|
447
|
+
value: P
|
|
448
448
|
}), Object.freeze && (Object.freeze(R.props), Object.freeze(R)), R;
|
|
449
449
|
};
|
|
450
|
-
function Sr(e,
|
|
450
|
+
function Sr(e, p, y, j, P) {
|
|
451
451
|
{
|
|
452
|
-
var
|
|
453
|
-
|
|
454
|
-
for (
|
|
455
|
-
tt.call(
|
|
452
|
+
var F, M = {}, R = null, nt = null;
|
|
453
|
+
y !== void 0 && (we(y), R = "" + y), yr(p) && (we(p.key), R = "" + p.key), xr(p) && (nt = p.ref, vr(p, P));
|
|
454
|
+
for (F in p)
|
|
455
|
+
tt.call(p, F) && !mr.hasOwnProperty(F) && (M[F] = p[F]);
|
|
456
456
|
if (e && e.defaultProps) {
|
|
457
457
|
var X = e.defaultProps;
|
|
458
|
-
for (
|
|
459
|
-
|
|
458
|
+
for (F in X)
|
|
459
|
+
M[F] === void 0 && (M[F] = X[F]);
|
|
460
460
|
}
|
|
461
461
|
if (R || nt) {
|
|
462
462
|
var Y = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
463
|
-
R &&
|
|
463
|
+
R && Cr(M, Y), nt && wr(M, Y);
|
|
464
464
|
}
|
|
465
|
-
return
|
|
465
|
+
return kr(e, R, nt, P, j, ke.current, M);
|
|
466
466
|
}
|
|
467
467
|
}
|
|
468
468
|
var ae = x.ReactCurrentOwner, je = x.ReactDebugCurrentFrame;
|
|
469
|
-
function
|
|
469
|
+
function Bt(e) {
|
|
470
470
|
if (e) {
|
|
471
|
-
var
|
|
472
|
-
je.setExtraStackFrame(
|
|
471
|
+
var p = e._owner, y = Q(e.type, e._source, p ? p.type : null);
|
|
472
|
+
je.setExtraStackFrame(y);
|
|
473
473
|
} else
|
|
474
474
|
je.setExtraStackFrame(null);
|
|
475
475
|
}
|
|
@@ -490,144 +490,144 @@ Check the render method of \`` + e + "`.";
|
|
|
490
490
|
return "";
|
|
491
491
|
}
|
|
492
492
|
}
|
|
493
|
-
function
|
|
493
|
+
function Lr(e) {
|
|
494
494
|
return "";
|
|
495
495
|
}
|
|
496
496
|
var Te = {};
|
|
497
|
-
function
|
|
497
|
+
function jr(e) {
|
|
498
498
|
{
|
|
499
|
-
var
|
|
500
|
-
if (!
|
|
501
|
-
var
|
|
502
|
-
|
|
499
|
+
var p = $e();
|
|
500
|
+
if (!p) {
|
|
501
|
+
var y = typeof e == "string" ? e : e.displayName || e.name;
|
|
502
|
+
y && (p = `
|
|
503
503
|
|
|
504
|
-
Check the top-level render call using <` +
|
|
504
|
+
Check the top-level render call using <` + y + ">.");
|
|
505
505
|
}
|
|
506
|
-
return
|
|
506
|
+
return p;
|
|
507
507
|
}
|
|
508
508
|
}
|
|
509
|
-
function Ee(e,
|
|
509
|
+
function Ee(e, p) {
|
|
510
510
|
{
|
|
511
511
|
if (!e._store || e._store.validated || e.key != null)
|
|
512
512
|
return;
|
|
513
513
|
e._store.validated = !0;
|
|
514
|
-
var
|
|
515
|
-
if (Te[
|
|
514
|
+
var y = jr(p);
|
|
515
|
+
if (Te[y])
|
|
516
516
|
return;
|
|
517
|
-
Te[
|
|
517
|
+
Te[y] = !0;
|
|
518
518
|
var j = "";
|
|
519
|
-
e && e._owner && e._owner !== ae.current && (j = " It was passed a child from " + L(e._owner.type) + "."),
|
|
519
|
+
e && e._owner && e._owner !== ae.current && (j = " It was passed a child from " + L(e._owner.type) + "."), Bt(e), _('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', y, j), Bt(null);
|
|
520
520
|
}
|
|
521
521
|
}
|
|
522
|
-
function Re(e,
|
|
522
|
+
function Re(e, p) {
|
|
523
523
|
{
|
|
524
524
|
if (typeof e != "object")
|
|
525
525
|
return;
|
|
526
526
|
if (oe(e))
|
|
527
|
-
for (var
|
|
528
|
-
var j = e[
|
|
529
|
-
ie(j) && Ee(j,
|
|
527
|
+
for (var y = 0; y < e.length; y++) {
|
|
528
|
+
var j = e[y];
|
|
529
|
+
ie(j) && Ee(j, p);
|
|
530
530
|
}
|
|
531
531
|
else if (ie(e))
|
|
532
532
|
e._store && (e._store.validated = !0);
|
|
533
533
|
else if (e) {
|
|
534
|
-
var
|
|
535
|
-
if (typeof
|
|
536
|
-
for (var
|
|
537
|
-
ie(
|
|
534
|
+
var P = b(e);
|
|
535
|
+
if (typeof P == "function" && P !== e.entries)
|
|
536
|
+
for (var F = P.call(e), M; !(M = F.next()).done; )
|
|
537
|
+
ie(M.value) && Ee(M.value, p);
|
|
538
538
|
}
|
|
539
539
|
}
|
|
540
540
|
}
|
|
541
|
-
function
|
|
541
|
+
function $r(e) {
|
|
542
542
|
{
|
|
543
|
-
var
|
|
544
|
-
if (
|
|
543
|
+
var p = e.type;
|
|
544
|
+
if (p == null || typeof p == "string")
|
|
545
545
|
return;
|
|
546
|
-
var
|
|
547
|
-
if (typeof
|
|
548
|
-
|
|
549
|
-
else if (typeof
|
|
546
|
+
var y;
|
|
547
|
+
if (typeof p == "function")
|
|
548
|
+
y = p.propTypes;
|
|
549
|
+
else if (typeof p == "object" && (p.$$typeof === u || // Note: Memo only checks outer props here.
|
|
550
550
|
// Inner props are checked in the reconciler.
|
|
551
|
-
|
|
552
|
-
|
|
551
|
+
p.$$typeof === g))
|
|
552
|
+
y = p.propTypes;
|
|
553
553
|
else
|
|
554
554
|
return;
|
|
555
|
-
if (
|
|
556
|
-
var j = L(
|
|
557
|
-
|
|
558
|
-
} else if (
|
|
555
|
+
if (y) {
|
|
556
|
+
var j = L(p);
|
|
557
|
+
fr(y, e.props, "prop", j, e);
|
|
558
|
+
} else if (p.PropTypes !== void 0 && !se) {
|
|
559
559
|
se = !0;
|
|
560
|
-
var
|
|
561
|
-
|
|
560
|
+
var P = L(p);
|
|
561
|
+
_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", P || "Unknown");
|
|
562
562
|
}
|
|
563
|
-
typeof
|
|
563
|
+
typeof p.getDefaultProps == "function" && !p.getDefaultProps.isReactClassApproved && _("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
564
564
|
}
|
|
565
565
|
}
|
|
566
|
-
function
|
|
566
|
+
function Tr(e) {
|
|
567
567
|
{
|
|
568
|
-
for (var
|
|
569
|
-
var j =
|
|
568
|
+
for (var p = Object.keys(e.props), y = 0; y < p.length; y++) {
|
|
569
|
+
var j = p[y];
|
|
570
570
|
if (j !== "children" && j !== "key") {
|
|
571
|
-
|
|
571
|
+
Bt(e), _("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", j), Bt(null);
|
|
572
572
|
break;
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
|
-
e.ref !== null && (
|
|
575
|
+
e.ref !== null && (Bt(e), _("Invalid attribute `ref` supplied to `React.Fragment`."), Bt(null));
|
|
576
576
|
}
|
|
577
577
|
}
|
|
578
578
|
var Ne = {};
|
|
579
|
-
function Ie(e,
|
|
579
|
+
function Ie(e, p, y, j, P, F) {
|
|
580
580
|
{
|
|
581
|
-
var
|
|
582
|
-
if (!
|
|
581
|
+
var M = O(e);
|
|
582
|
+
if (!M) {
|
|
583
583
|
var R = "";
|
|
584
584
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (R += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
585
|
-
var nt =
|
|
585
|
+
var nt = Lr();
|
|
586
586
|
nt ? R += nt : R += $e();
|
|
587
587
|
var X;
|
|
588
|
-
e === null ? X = "null" : oe(e) ? X = "array" : e !== void 0 && e.$$typeof === r ? (X = "<" + (L(e.type) || "Unknown") + " />", R = " Did you accidentally export a JSX literal instead of a component?") : X = typeof e,
|
|
588
|
+
e === null ? X = "null" : oe(e) ? X = "array" : e !== void 0 && e.$$typeof === r ? (X = "<" + (L(e.type) || "Unknown") + " />", R = " Did you accidentally export a JSX literal instead of a component?") : X = typeof e, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", X, R);
|
|
589
589
|
}
|
|
590
|
-
var Y = Sr(e,
|
|
590
|
+
var Y = Sr(e, p, y, P, F);
|
|
591
591
|
if (Y == null)
|
|
592
592
|
return Y;
|
|
593
|
-
if (
|
|
594
|
-
var ht =
|
|
593
|
+
if (M) {
|
|
594
|
+
var ht = p.children;
|
|
595
595
|
if (ht !== void 0)
|
|
596
596
|
if (j)
|
|
597
597
|
if (oe(ht)) {
|
|
598
|
-
for (var
|
|
599
|
-
Re(ht[
|
|
598
|
+
for (var At = 0; At < ht.length; At++)
|
|
599
|
+
Re(ht[At], e);
|
|
600
600
|
Object.freeze && Object.freeze(ht);
|
|
601
601
|
} else
|
|
602
|
-
|
|
602
|
+
_("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
603
603
|
else
|
|
604
604
|
Re(ht, e);
|
|
605
605
|
}
|
|
606
|
-
if (tt.call(
|
|
607
|
-
var
|
|
608
|
-
return
|
|
606
|
+
if (tt.call(p, "key")) {
|
|
607
|
+
var Nt = L(e), lt = Object.keys(p).filter(function(Br) {
|
|
608
|
+
return Br !== "key";
|
|
609
609
|
}), le = lt.length > 0 ? "{key: someKey, " + lt.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
610
|
-
if (!Ne[
|
|
611
|
-
var
|
|
612
|
-
|
|
610
|
+
if (!Ne[Nt + le]) {
|
|
611
|
+
var Mr = lt.length > 0 ? "{" + lt.join(": ..., ") + ": ...}" : "{}";
|
|
612
|
+
_(`A props object containing a "key" prop is being spread into JSX:
|
|
613
613
|
let props = %s;
|
|
614
614
|
<%s {...props} />
|
|
615
615
|
React keys must be passed directly to JSX without using spread:
|
|
616
616
|
let props = %s;
|
|
617
|
-
<%s key={someKey} {...props} />`, le,
|
|
617
|
+
<%s key={someKey} {...props} />`, le, Nt, Mr, Nt), Ne[Nt + le] = !0;
|
|
618
618
|
}
|
|
619
619
|
}
|
|
620
|
-
return e === a ?
|
|
620
|
+
return e === a ? Tr(Y) : $r(Y), Y;
|
|
621
621
|
}
|
|
622
622
|
}
|
|
623
|
-
function
|
|
624
|
-
return Ie(e,
|
|
623
|
+
function Er(e, p, y) {
|
|
624
|
+
return Ie(e, p, y, !0);
|
|
625
625
|
}
|
|
626
|
-
function
|
|
627
|
-
return Ie(e,
|
|
626
|
+
function Rr(e, p, y) {
|
|
627
|
+
return Ie(e, p, y, !1);
|
|
628
628
|
}
|
|
629
|
-
var
|
|
630
|
-
Dt.Fragment = a, Dt.jsx =
|
|
629
|
+
var Nr = Rr, Ir = Er;
|
|
630
|
+
Dt.Fragment = a, Dt.jsx = Nr, Dt.jsxs = Ir;
|
|
631
631
|
}()), Dt;
|
|
632
632
|
}
|
|
633
633
|
var Ae;
|
|
@@ -635,7 +635,7 @@ function Ur() {
|
|
|
635
635
|
return Ae || (Ae = 1, process.env.NODE_ENV === "production" ? Yt.exports = Yr() : Yt.exports = Gr()), Yt.exports;
|
|
636
636
|
}
|
|
637
637
|
var o = Ur();
|
|
638
|
-
const Kr = (t) => t.as === "a", Jr = (t) => t.as === void 0 || t.as === "button", Oe = (t) => t.displayAs === void 0 || t.displayAs === "button", Qr = (t) => t.displayAs === "link", tn = "_button_11kkg_1", en = "_link_11kkg_22", rn = "_disabled_11kkg_27", nn = "_loading_11kkg_27", on = "_neutral_11kkg_59", an = "_accent_11kkg_63", sn = "_positive_11kkg_67", ln = "_negative_11kkg_71", cn = "_contrast_11kkg_75", dn = "_primary_11kkg_79", un = "_secondary_11kkg_80",
|
|
638
|
+
const Kr = (t) => t.as === "a", Jr = (t) => t.as === void 0 || t.as === "button", Oe = (t) => t.displayAs === void 0 || t.displayAs === "button", Qr = (t) => t.displayAs === "link", tn = "_button_11kkg_1", en = "_link_11kkg_22", rn = "_disabled_11kkg_27", nn = "_loading_11kkg_27", on = "_neutral_11kkg_59", an = "_accent_11kkg_63", sn = "_positive_11kkg_67", ln = "_negative_11kkg_71", cn = "_contrast_11kkg_75", dn = "_primary_11kkg_79", un = "_secondary_11kkg_80", _n = "_tertiary_11kkg_81", pn = "_gray_11kkg_91", fn = "_spaceBetween_11kkg_119", gn = "_rightGroup_11kkg_119", hn = "_withSubcaption_11kkg_127", bn = "_label_11kkg_139", mn = "_icon_11kkg_148", xn = "_labelText_11kkg_153", yn = "_isLink_11kkg_159", vn = "_iconOnly_11kkg_174", Cn = "_stretched_11kkg_190", wn = "_postfix_11kkg_195", kn = "_underline_11kkg_225", Sn = "_backButton_11kkg_428", Ln = "_warning_11kkg_1159", jn = "_subcaption_11kkg_1389", $n = "_content_11kkg_1394", Tn = "_contentHidden_11kkg_1398", En = "_loaderWrapper_11kkg_1402", Rn = "_l_11kkg_22", Nn = "_m_11kkg_1441", In = "_s_11kkg_80", Mn = "_xs_11kkg_1484", Bn = "_noPaddings_11kkg_1506", An = "_iconRight_11kkg_1542", On = "_spin_11kkg_1", z = {
|
|
639
639
|
button: tn,
|
|
640
640
|
link: en,
|
|
641
641
|
disabled: rn,
|
|
@@ -647,20 +647,20 @@ const Kr = (t) => t.as === "a", Jr = (t) => t.as === void 0 || t.as === "button"
|
|
|
647
647
|
contrast: cn,
|
|
648
648
|
primary: dn,
|
|
649
649
|
secondary: un,
|
|
650
|
-
tertiary:
|
|
651
|
-
gray:
|
|
650
|
+
tertiary: _n,
|
|
651
|
+
gray: pn,
|
|
652
652
|
spaceBetween: fn,
|
|
653
653
|
rightGroup: gn,
|
|
654
654
|
withSubcaption: hn,
|
|
655
655
|
label: bn,
|
|
656
656
|
icon: mn,
|
|
657
|
-
labelText:
|
|
658
|
-
isLink:
|
|
657
|
+
labelText: xn,
|
|
658
|
+
isLink: yn,
|
|
659
659
|
iconOnly: vn,
|
|
660
660
|
stretched: Cn,
|
|
661
661
|
postfix: wn,
|
|
662
|
-
underline:
|
|
663
|
-
backButton:
|
|
662
|
+
underline: kn,
|
|
663
|
+
backButton: Sn,
|
|
664
664
|
warning: Ln,
|
|
665
665
|
subcaption: jn,
|
|
666
666
|
content: $n,
|
|
@@ -673,7 +673,7 @@ const Kr = (t) => t.as === "a", Jr = (t) => t.as === void 0 || t.as === "button"
|
|
|
673
673
|
noPaddings: Bn,
|
|
674
674
|
iconRight: An,
|
|
675
675
|
spin: On
|
|
676
|
-
},
|
|
676
|
+
}, Pn = /* @__PURE__ */ new Set([
|
|
677
677
|
"mode",
|
|
678
678
|
"size",
|
|
679
679
|
"buttonStyle",
|
|
@@ -692,18 +692,18 @@ const Kr = (t) => t.as === "a", Jr = (t) => t.as === void 0 || t.as === "button"
|
|
|
692
692
|
"isExternal",
|
|
693
693
|
"asBackButton",
|
|
694
694
|
"paddings"
|
|
695
|
-
]),
|
|
695
|
+
]), Pe = (t) => {
|
|
696
696
|
const r = {};
|
|
697
697
|
for (const n in t)
|
|
698
|
-
|
|
698
|
+
Pn.has(n) || (r[n] = t[n]);
|
|
699
699
|
return r;
|
|
700
|
-
},
|
|
700
|
+
}, zn = {
|
|
701
701
|
l: "typography-subtitle-1-semibold",
|
|
702
702
|
m: "typography-label-2-regular",
|
|
703
703
|
s: "typography-label-3-regular"
|
|
704
704
|
};
|
|
705
705
|
function Dn(t) {
|
|
706
|
-
return
|
|
706
|
+
return zn[t] || "typography-label-2-regular";
|
|
707
707
|
}
|
|
708
708
|
const Fn = (t, r, n) => t ? "gray" : r === "primary" ? {
|
|
709
709
|
contrast: "neutral",
|
|
@@ -732,12 +732,12 @@ const Fn = (t, r, n) => t ? "gray" : r === "primary" ? {
|
|
|
732
732
|
"typography-paragraph-2-regular": "_typography-paragraph-2-regular_1lyxn_176",
|
|
733
733
|
"typography-paragraph-3-regular": "_typography-paragraph-3-regular_1lyxn_185",
|
|
734
734
|
"typography-paragraph-4-regular": "_typography-paragraph-4-regular_1lyxn_194"
|
|
735
|
-
}, Wn = "_loader_isv17_1",
|
|
735
|
+
}, Wn = "_loader_isv17_1", qn = "_spin_isv17_1", Hn = "_accent_isv17_19", Vn = "_neutral_isv17_23", Zn = "_positive_isv17_27", Xn = "_negative_isv17_31", Yn = "_gray_isv17_35", Gn = "_special_isv17_39", Un = "_contrast_isv17_43", Kn = "_container_isv17_47", Jn = "_overlay_isv17_57", Wt = {
|
|
736
736
|
loader: Wn,
|
|
737
|
-
spin:
|
|
738
|
-
accent:
|
|
739
|
-
neutral:
|
|
740
|
-
positive:
|
|
737
|
+
spin: qn,
|
|
738
|
+
accent: Hn,
|
|
739
|
+
neutral: Vn,
|
|
740
|
+
positive: Zn,
|
|
741
741
|
negative: Xn,
|
|
742
742
|
gray: Yn,
|
|
743
743
|
special: Gn,
|
|
@@ -756,9 +756,9 @@ var ce = { exports: {} };
|
|
|
756
756
|
Licensed under the MIT License (MIT), see
|
|
757
757
|
http://jedwatson.github.io/classnames
|
|
758
758
|
*/
|
|
759
|
-
var
|
|
759
|
+
var ze;
|
|
760
760
|
function Qn() {
|
|
761
|
-
return
|
|
761
|
+
return ze || (ze = 1, function(t) {
|
|
762
762
|
(function() {
|
|
763
763
|
var r = {}.hasOwnProperty;
|
|
764
764
|
function n() {
|
|
@@ -790,7 +790,7 @@ function Qn() {
|
|
|
790
790
|
}(ce)), ce.exports;
|
|
791
791
|
}
|
|
792
792
|
var to = Qn();
|
|
793
|
-
const
|
|
793
|
+
const Rt = /* @__PURE__ */ Xr(to), nr = U(
|
|
794
794
|
({
|
|
795
795
|
size: t = 24,
|
|
796
796
|
variant: r = "accent",
|
|
@@ -799,7 +799,7 @@ const Et = /* @__PURE__ */ Xr(to), rr = U(
|
|
|
799
799
|
style: i,
|
|
800
800
|
...s
|
|
801
801
|
}, l) => {
|
|
802
|
-
const c =
|
|
802
|
+
const c = Rt(
|
|
803
803
|
Wt.loader,
|
|
804
804
|
Wt[r],
|
|
805
805
|
Wt[`size-${t}`],
|
|
@@ -838,18 +838,18 @@ const Et = /* @__PURE__ */ Xr(to), rr = U(
|
|
|
838
838
|
style: c,
|
|
839
839
|
"data-testid": u,
|
|
840
840
|
...f
|
|
841
|
-
} = t, d =
|
|
841
|
+
} = t, d = Rt(Wt.container, l);
|
|
842
842
|
return /* @__PURE__ */ o.jsxs("div", { ref: r, className: d, style: c, "data-testid": u, ...f, children: [
|
|
843
843
|
s,
|
|
844
|
-
n && /* @__PURE__ */ o.jsx("div", { className: Wt.overlay, children: /* @__PURE__ */ o.jsx(
|
|
844
|
+
n && /* @__PURE__ */ o.jsx("div", { className: Wt.overlay, children: /* @__PURE__ */ o.jsx(nr, { size: a, variant: i, "data-testid": `${u}-spinner` }) })
|
|
845
845
|
] });
|
|
846
|
-
}),
|
|
846
|
+
}), or = U((t, r) => t.children ? /* @__PURE__ */ o.jsx(
|
|
847
847
|
eo,
|
|
848
848
|
{
|
|
849
849
|
ref: r,
|
|
850
850
|
...t
|
|
851
851
|
}
|
|
852
|
-
) : /* @__PURE__ */ o.jsx(
|
|
852
|
+
) : /* @__PURE__ */ o.jsx(nr, { ref: r, ...t })), ro = (t) => /* @__PURE__ */ o.jsx(
|
|
853
853
|
"svg",
|
|
854
854
|
{
|
|
855
855
|
width: "100%",
|
|
@@ -909,8 +909,8 @@ const Et = /* @__PURE__ */ Xr(to), rr = U(
|
|
|
909
909
|
isAsButton: l
|
|
910
910
|
}) => {
|
|
911
911
|
const c = !!(i && l && s === "l"), u = !!(!n && l && r), f = l && !!(c && !n && a || a && !c);
|
|
912
|
-
return /* @__PURE__ */ o.jsxs(
|
|
913
|
-
c && n && /* @__PURE__ */ o.jsxs(
|
|
912
|
+
return /* @__PURE__ */ o.jsxs(qt, { children: [
|
|
913
|
+
c && n && /* @__PURE__ */ o.jsxs(qt, { children: [
|
|
914
914
|
/* @__PURE__ */ o.jsx("span", { "data-testid": "button-label", className: k(z.label, z.labelText), children: n }),
|
|
915
915
|
/* @__PURE__ */ o.jsx(
|
|
916
916
|
"span",
|
|
@@ -936,7 +936,7 @@ const Et = /* @__PURE__ */ Xr(to), rr = U(
|
|
|
936
936
|
}
|
|
937
937
|
) })
|
|
938
938
|
] });
|
|
939
|
-
},
|
|
939
|
+
}, xe = U((t, r) => {
|
|
940
940
|
const {
|
|
941
941
|
mode: n = "primary",
|
|
942
942
|
size: a = "m",
|
|
@@ -945,60 +945,60 @@ const Et = /* @__PURE__ */ Xr(to), rr = U(
|
|
|
945
945
|
className: l,
|
|
946
946
|
children: c,
|
|
947
947
|
tabIndex: u
|
|
948
|
-
} = t, f = n === "tertiary", d = Oe(t), g = Qr(t),
|
|
948
|
+
} = t, f = n === "tertiary", d = Oe(t), g = Qr(t), m = f && "paddings" in t ? t.paddings ?? !0 : !0, h = d ? t.subcaption : void 0, C = d ? t.postfix : void 0, v = d ? t.stretched : void 0, b = !(g && t.size === void 0), x = g && b ? t.iconLeft : void 0, _ = g && b ? t.iconRight : void 0, w = !!(d && "loading" in t && t.loading), S = d ? s : s || w, T = !S && !w, $ = d ? t.iconLeft : void 0, E = !!(!c && (d && $ && !C || g && _)), I = typeof v == "object" ? v.justify === "space-between" : void 0, A = ao(a), O = G[A], D = g ? Dn(t.size ?? "m") : void 0, W = D ? G[D] : void 0, L = Fn(S, n, i), B = S || w ? -1 : u, q = k(
|
|
949
949
|
z.button,
|
|
950
950
|
z[a],
|
|
951
951
|
z[n],
|
|
952
952
|
z[i],
|
|
953
|
-
g &&
|
|
954
|
-
d &&
|
|
953
|
+
g && W,
|
|
954
|
+
d && O,
|
|
955
955
|
{
|
|
956
956
|
[z.disabled]: S,
|
|
957
957
|
[z.loading]: d && "loading" in t && t.loading,
|
|
958
|
-
[z.stretched]:
|
|
959
|
-
[z.spaceBetween]:
|
|
958
|
+
[z.stretched]: v,
|
|
959
|
+
[z.spaceBetween]: I,
|
|
960
960
|
[z.withSubcaption]: !!(h && a === "l" && c),
|
|
961
961
|
[z.iconOnly]: E,
|
|
962
962
|
[z.link]: g,
|
|
963
963
|
[z.underline]: g && "showUnderline" in t && t.showUnderline,
|
|
964
|
-
[z.noPaddings]: f && d && !
|
|
964
|
+
[z.noPaddings]: f && d && !m
|
|
965
965
|
},
|
|
966
966
|
l
|
|
967
967
|
), H = {
|
|
968
|
-
iconRight:
|
|
968
|
+
iconRight: _,
|
|
969
969
|
iconLeft: d ? $ : x,
|
|
970
970
|
children: c,
|
|
971
|
-
postfix:
|
|
971
|
+
postfix: C,
|
|
972
972
|
subcaption: h,
|
|
973
973
|
size: a,
|
|
974
974
|
isAsButton: d
|
|
975
975
|
};
|
|
976
976
|
if (Kr(t)) {
|
|
977
|
-
const { href:
|
|
977
|
+
const { href: Z, onClick: K, style: ot, target: rt, rel: J, "data-testid": at, ...st } = t, wt = Pe(st), yt = rt ?? (t.isExternal ? "_blank" : void 0);
|
|
978
978
|
let it = J;
|
|
979
|
-
if (
|
|
980
|
-
const
|
|
981
|
-
|
|
979
|
+
if (yt === "_blank") {
|
|
980
|
+
const ut = new Set((J ?? "").split(/\s+/).filter(Boolean));
|
|
981
|
+
ut.add("noopener").add("noreferrer"), it = Array.from(ut).join(" ");
|
|
982
982
|
}
|
|
983
|
-
const Tt = (
|
|
983
|
+
const Tt = (ut) => {
|
|
984
984
|
if (!T) {
|
|
985
|
-
|
|
985
|
+
ut.preventDefault();
|
|
986
986
|
return;
|
|
987
987
|
}
|
|
988
|
-
K == null || K(
|
|
988
|
+
K == null || K(ut);
|
|
989
989
|
};
|
|
990
990
|
return /* @__PURE__ */ o.jsx(
|
|
991
991
|
"a",
|
|
992
992
|
{
|
|
993
993
|
ref: r,
|
|
994
|
-
className:
|
|
995
|
-
href: T ?
|
|
996
|
-
tabIndex:
|
|
994
|
+
className: q,
|
|
995
|
+
href: T ? Z : void 0,
|
|
996
|
+
tabIndex: B,
|
|
997
997
|
onClick: Tt,
|
|
998
998
|
"data-testid": at,
|
|
999
999
|
"aria-disabled": S || w,
|
|
1000
1000
|
style: ot,
|
|
1001
|
-
target:
|
|
1001
|
+
target: yt,
|
|
1002
1002
|
rel: it,
|
|
1003
1003
|
...wt,
|
|
1004
1004
|
children: /* @__PURE__ */ o.jsx(De, { ...H })
|
|
@@ -1006,17 +1006,17 @@ const Et = /* @__PURE__ */ Xr(to), rr = U(
|
|
|
1006
1006
|
);
|
|
1007
1007
|
}
|
|
1008
1008
|
if (Jr(t)) {
|
|
1009
|
-
const { type:
|
|
1010
|
-
T && K && K(
|
|
1009
|
+
const { type: Z = "button", onClick: K, style: ot, "data-testid": rt, ...J } = t, at = Pe(J), st = a === "l" ? 24 : 16, wt = (yt) => {
|
|
1010
|
+
T && K && K(yt);
|
|
1011
1011
|
};
|
|
1012
1012
|
return /* @__PURE__ */ o.jsxs(
|
|
1013
1013
|
"button",
|
|
1014
1014
|
{
|
|
1015
1015
|
ref: r,
|
|
1016
|
-
type:
|
|
1017
|
-
className:
|
|
1016
|
+
type: Z,
|
|
1017
|
+
className: q,
|
|
1018
1018
|
disabled: S,
|
|
1019
|
-
tabIndex:
|
|
1019
|
+
tabIndex: B,
|
|
1020
1020
|
onClick: wt,
|
|
1021
1021
|
"data-testid": rt,
|
|
1022
1022
|
"aria-disabled": S || w,
|
|
@@ -1025,7 +1025,7 @@ const Et = /* @__PURE__ */ Xr(to), rr = U(
|
|
|
1025
1025
|
children: [
|
|
1026
1026
|
/* @__PURE__ */ o.jsx("div", { className: k(z.content, { [z.contentHidden]: w }), children: /* @__PURE__ */ o.jsx(De, { ...H }) }),
|
|
1027
1027
|
w && /* @__PURE__ */ o.jsx("div", { className: z.loaderWrapper, children: /* @__PURE__ */ o.jsx(
|
|
1028
|
-
|
|
1028
|
+
or,
|
|
1029
1029
|
{
|
|
1030
1030
|
variant: L,
|
|
1031
1031
|
"aria-hidden": "true",
|
|
@@ -1039,8 +1039,8 @@ const Et = /* @__PURE__ */ Xr(to), rr = U(
|
|
|
1039
1039
|
}
|
|
1040
1040
|
return null;
|
|
1041
1041
|
});
|
|
1042
|
-
|
|
1043
|
-
const
|
|
1042
|
+
xe.displayName = "Button";
|
|
1043
|
+
const ar = U(
|
|
1044
1044
|
(t, r) => {
|
|
1045
1045
|
const { iconLeft: n, className: a, ...i } = t, l = {
|
|
1046
1046
|
...i,
|
|
@@ -1051,20 +1051,20 @@ const or = U(
|
|
|
1051
1051
|
iconLeft: n ?? /* @__PURE__ */ o.jsx(no, {}),
|
|
1052
1052
|
className: k(z.backButton, G["typography-subtitle-1-semibold"], a)
|
|
1053
1053
|
};
|
|
1054
|
-
return /* @__PURE__ */ o.jsx(
|
|
1054
|
+
return /* @__PURE__ */ o.jsx(xe, { ref: r, ...l });
|
|
1055
1055
|
}
|
|
1056
1056
|
);
|
|
1057
|
-
|
|
1058
|
-
const ge = Object.assign(
|
|
1059
|
-
Back:
|
|
1060
|
-
}), so = "_avatar_19ug4_18", io = "_clickable_19ug4_40", lo = "_icon_19ug4_57", co = "_disabled_19ug4_62", uo = "_loading_19ug4_67",
|
|
1057
|
+
ar.displayName = "Button.Back";
|
|
1058
|
+
const ge = Object.assign(xe, {
|
|
1059
|
+
Back: ar
|
|
1060
|
+
}), so = "_avatar_19ug4_18", io = "_clickable_19ug4_40", lo = "_icon_19ug4_57", co = "_disabled_19ug4_62", uo = "_loading_19ug4_67", _o = "_image_19ug4_73", po = "_name_19ug4_73", Ct = {
|
|
1061
1061
|
avatar: so,
|
|
1062
1062
|
clickable: io,
|
|
1063
1063
|
icon: lo,
|
|
1064
1064
|
disabled: co,
|
|
1065
1065
|
loading: uo,
|
|
1066
|
-
image:
|
|
1067
|
-
name:
|
|
1066
|
+
image: _o,
|
|
1067
|
+
name: po,
|
|
1068
1068
|
"variant-filled": "_variant-filled_19ug4_125",
|
|
1069
1069
|
"color-brand": "_color-brand_19ug4_130",
|
|
1070
1070
|
"color-red": "_color-red_19ug4_134",
|
|
@@ -1111,7 +1111,7 @@ function mo(t) {
|
|
|
1111
1111
|
const r = t.trim().split(/\s+/);
|
|
1112
1112
|
return r.length === 1 ? t.slice(0, We).toUpperCase() : r.map((n) => n[0]).slice(0, We).join("").toUpperCase();
|
|
1113
1113
|
}
|
|
1114
|
-
const
|
|
1114
|
+
const xo = {
|
|
1115
1115
|
24: 8,
|
|
1116
1116
|
32: 12,
|
|
1117
1117
|
40: 12,
|
|
@@ -1122,8 +1122,8 @@ const yo = {
|
|
|
1122
1122
|
96: 24,
|
|
1123
1123
|
208: 8
|
|
1124
1124
|
};
|
|
1125
|
-
function
|
|
1126
|
-
return r === "circle" ? t / 2 :
|
|
1125
|
+
function yo(t, r) {
|
|
1126
|
+
return r === "circle" ? t / 2 : xo[t] || 12;
|
|
1127
1127
|
}
|
|
1128
1128
|
const vo = {
|
|
1129
1129
|
24: "typography-subtitle-4-semibold",
|
|
@@ -1139,11 +1139,11 @@ const vo = {
|
|
|
1139
1139
|
function Co(t) {
|
|
1140
1140
|
return vo[t] || "typography-subtitle-1-semibold";
|
|
1141
1141
|
}
|
|
1142
|
-
const wo = "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", So = "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", ko = "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", Lo = "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", jo = {
|
|
1142
|
+
const wo = "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", ko = "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", So = "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", Lo = "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", jo = {
|
|
1143
1143
|
male: wo,
|
|
1144
|
-
female:
|
|
1144
|
+
female: ko,
|
|
1145
1145
|
org: Lo,
|
|
1146
|
-
neutral:
|
|
1146
|
+
neutral: So
|
|
1147
1147
|
}, Jt = U((t, r) => {
|
|
1148
1148
|
const {
|
|
1149
1149
|
style: n,
|
|
@@ -1156,22 +1156,22 @@ const wo = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
|
|
|
1156
1156
|
name: f,
|
|
1157
1157
|
imgSrc: d,
|
|
1158
1158
|
imgAlt: g,
|
|
1159
|
-
icon:
|
|
1159
|
+
icon: m,
|
|
1160
1160
|
imgProps: h,
|
|
1161
|
-
colorScheme:
|
|
1162
|
-
className:
|
|
1163
|
-
"data-testid":
|
|
1161
|
+
colorScheme: C,
|
|
1162
|
+
className: v,
|
|
1163
|
+
"data-testid": b,
|
|
1164
1164
|
...x
|
|
1165
|
-
} = t, { onClick:
|
|
1166
|
-
|
|
1165
|
+
} = t, { onClick: _, onPointerDown: w } = x, T = !s && !i && (!!_ || !!w), [$, E] = ft(!1);
|
|
1166
|
+
gt(() => {
|
|
1167
1167
|
d && E(!1);
|
|
1168
1168
|
}, [d]);
|
|
1169
|
-
const
|
|
1170
|
-
|
|
1169
|
+
const I = d && !$ ? "image" : m ? "icon" : f ? "name" : "placeholder", A = C || I === "name" && bo(f) || "gray", O = Co(a), D = yo(a, l), W = k(
|
|
1170
|
+
v,
|
|
1171
1171
|
Ct.avatar,
|
|
1172
1172
|
Ct[`variant-${c}`],
|
|
1173
1173
|
Ct[`color-${A}`],
|
|
1174
|
-
G[
|
|
1174
|
+
G[O],
|
|
1175
1175
|
{
|
|
1176
1176
|
[Ct.disabled]: s,
|
|
1177
1177
|
[Ct.loading]: i,
|
|
@@ -1179,10 +1179,10 @@ const wo = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
|
|
|
1179
1179
|
}
|
|
1180
1180
|
), L = {
|
|
1181
1181
|
"--avatar-size": `${a}px`,
|
|
1182
|
-
"--avatar-border-radius": `${
|
|
1182
|
+
"--avatar-border-radius": `${D}px`,
|
|
1183
1183
|
...n
|
|
1184
|
-
},
|
|
1185
|
-
icon: () => /* @__PURE__ */ o.jsx("span", { "data-testid": "avatar-icon", title: g || void 0, role: "img", className: Ct.icon, children:
|
|
1184
|
+
}, B = {
|
|
1185
|
+
icon: () => /* @__PURE__ */ o.jsx("span", { "data-testid": "avatar-icon", title: g || void 0, role: "img", className: Ct.icon, children: m == null ? void 0 : m({}) }),
|
|
1186
1186
|
name: () => /* @__PURE__ */ o.jsx(
|
|
1187
1187
|
"span",
|
|
1188
1188
|
{
|
|
@@ -1213,24 +1213,24 @@ const wo = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
|
|
|
1213
1213
|
alt: g || void 0,
|
|
1214
1214
|
onLoad: () => E(!1),
|
|
1215
1215
|
onError: (H) => {
|
|
1216
|
-
var
|
|
1217
|
-
E(!0), (
|
|
1216
|
+
var Z;
|
|
1217
|
+
E(!0), (Z = h == null ? void 0 : h.onError) == null || Z.call(h, H);
|
|
1218
1218
|
}
|
|
1219
1219
|
}
|
|
1220
1220
|
)
|
|
1221
|
-
},
|
|
1222
|
-
T && (
|
|
1221
|
+
}, q = (H) => {
|
|
1222
|
+
T && (_ == null || _(H));
|
|
1223
1223
|
};
|
|
1224
1224
|
return /* @__PURE__ */ o.jsx(
|
|
1225
1225
|
"div",
|
|
1226
1226
|
{
|
|
1227
1227
|
ref: r,
|
|
1228
|
-
onClick:
|
|
1229
|
-
className:
|
|
1228
|
+
onClick: q,
|
|
1229
|
+
className: W,
|
|
1230
1230
|
style: L,
|
|
1231
|
-
"data-testid":
|
|
1231
|
+
"data-testid": b,
|
|
1232
1232
|
"aria-disabled": s || i,
|
|
1233
|
-
children:
|
|
1233
|
+
children: B[I](null)
|
|
1234
1234
|
}
|
|
1235
1235
|
);
|
|
1236
1236
|
}), $o = "_avatarGroup_157g4_1", To = {
|
|
@@ -1244,29 +1244,29 @@ const wo = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
|
|
|
1244
1244
|
r = r.parentElement;
|
|
1245
1245
|
}
|
|
1246
1246
|
return null;
|
|
1247
|
-
},
|
|
1248
|
-
const t =
|
|
1249
|
-
return
|
|
1247
|
+
}, ye = () => {
|
|
1248
|
+
const t = Ht(null), [r, n] = ft(null);
|
|
1249
|
+
return gt(() => {
|
|
1250
1250
|
if (t.current) {
|
|
1251
1251
|
const a = Ro(t.current);
|
|
1252
1252
|
n(a);
|
|
1253
1253
|
}
|
|
1254
1254
|
}, []), { ref: t, bgColor: r };
|
|
1255
1255
|
};
|
|
1256
|
-
function
|
|
1257
|
-
|
|
1256
|
+
function qe(t, r, n) {
|
|
1257
|
+
gt(() => (window.addEventListener(t, r, n), () => window.removeEventListener(t, r, n)), [t, r]);
|
|
1258
1258
|
}
|
|
1259
|
-
const
|
|
1259
|
+
const He = {
|
|
1260
1260
|
passive: !0
|
|
1261
1261
|
};
|
|
1262
1262
|
function No() {
|
|
1263
|
-
const [t, r] =
|
|
1263
|
+
const [t, r] = ft({
|
|
1264
1264
|
width: 0,
|
|
1265
1265
|
height: 0
|
|
1266
1266
|
}), n = jt(() => {
|
|
1267
1267
|
r({ width: window.innerWidth || 0, height: window.innerHeight || 0 });
|
|
1268
1268
|
}, []);
|
|
1269
|
-
return
|
|
1269
|
+
return qe("resize", n, He), qe("orientationchange", n, He), gt(n, []), t;
|
|
1270
1270
|
}
|
|
1271
1271
|
function Io(t = 768) {
|
|
1272
1272
|
const { width: r } = No();
|
|
@@ -1281,22 +1281,22 @@ const Mo = 2, Bo = (t) => {
|
|
|
1281
1281
|
overflowCount: s = 0,
|
|
1282
1282
|
overflowProps: l,
|
|
1283
1283
|
cutoutBackground: c
|
|
1284
|
-
} = t, f = -(n * a) + Mo, { ref: d, bgColor: g } =
|
|
1285
|
-
"--avatar-cutout-bg":
|
|
1284
|
+
} = t, f = -(n * a) + Mo, { ref: d, bgColor: g } = ye(), m = c || g || "#ffffff", h = Rt(To.avatarGroup), C = {
|
|
1285
|
+
"--avatar-cutout-bg": m
|
|
1286
1286
|
};
|
|
1287
|
-
return r.length === 0 ? null : /* @__PURE__ */ o.jsxs("div", { className: h, ref: d, style:
|
|
1288
|
-
r.map((
|
|
1289
|
-
if (
|
|
1290
|
-
const x =
|
|
1287
|
+
return r.length === 0 ? null : /* @__PURE__ */ o.jsxs("div", { className: h, ref: d, style: C, children: [
|
|
1288
|
+
r.map((v, b) => {
|
|
1289
|
+
if (v.wrapper) {
|
|
1290
|
+
const x = v.wrapper;
|
|
1291
1291
|
return /* @__PURE__ */ o.jsx(
|
|
1292
1292
|
"div",
|
|
1293
1293
|
{
|
|
1294
1294
|
style: {
|
|
1295
1295
|
marginRight: f
|
|
1296
1296
|
},
|
|
1297
|
-
children: /* @__PURE__ */ o.jsx(x, { children: /* @__PURE__ */ o.jsx(Jt, { size: n, shape: i, ...
|
|
1297
|
+
children: /* @__PURE__ */ o.jsx(x, { children: /* @__PURE__ */ o.jsx(Jt, { size: n, shape: i, ...v }) })
|
|
1298
1298
|
},
|
|
1299
|
-
te(
|
|
1299
|
+
te(v) + b
|
|
1300
1300
|
);
|
|
1301
1301
|
}
|
|
1302
1302
|
return /* @__PURE__ */ o.jsx(
|
|
@@ -1305,9 +1305,9 @@ const Mo = 2, Bo = (t) => {
|
|
|
1305
1305
|
style: {
|
|
1306
1306
|
marginRight: f
|
|
1307
1307
|
},
|
|
1308
|
-
children: /* @__PURE__ */ o.jsx(Jt, { size: n, shape: i, ...
|
|
1308
|
+
children: /* @__PURE__ */ o.jsx(Jt, { size: n, shape: i, ...v })
|
|
1309
1309
|
},
|
|
1310
|
-
te(
|
|
1310
|
+
te(v) + b
|
|
1311
1311
|
);
|
|
1312
1312
|
}),
|
|
1313
1313
|
s > 0 && /* @__PURE__ */ o.jsx("div", { style: { marginRight: f }, children: /* @__PURE__ */ o.jsx(
|
|
@@ -1324,9 +1324,9 @@ const Mo = 2, Bo = (t) => {
|
|
|
1324
1324
|
] });
|
|
1325
1325
|
}, Ao = Object.assign(Jt, {
|
|
1326
1326
|
Group: Bo
|
|
1327
|
-
}), Oo = "_overlay_g6rp8_6",
|
|
1327
|
+
}), Oo = "_overlay_g6rp8_6", Po = "_container_g6rp8_20", de = {
|
|
1328
1328
|
overlay: Oo,
|
|
1329
|
-
container:
|
|
1329
|
+
container: Po,
|
|
1330
1330
|
"placement-default": "_placement-default_g6rp8_34",
|
|
1331
1331
|
"placement-default-stretched": "_placement-default-stretched_g6rp8_41",
|
|
1332
1332
|
"placement-center": "_placement-center_g6rp8_48",
|
|
@@ -1335,7 +1335,7 @@ const Mo = 2, Bo = (t) => {
|
|
|
1335
1335
|
"placement-right-drawer": "_placement-right-drawer_g6rp8_66",
|
|
1336
1336
|
"placement-mobile": "_placement-mobile_g6rp8_71"
|
|
1337
1337
|
};
|
|
1338
|
-
function
|
|
1338
|
+
function zo(t) {
|
|
1339
1339
|
switch (t) {
|
|
1340
1340
|
case "default":
|
|
1341
1341
|
return "top";
|
|
@@ -1384,15 +1384,15 @@ function Fo({
|
|
|
1384
1384
|
disableEscapeKey: i = !1
|
|
1385
1385
|
}) {
|
|
1386
1386
|
const s = jt(
|
|
1387
|
-
(
|
|
1388
|
-
r == null || r(
|
|
1387
|
+
(v) => {
|
|
1388
|
+
r == null || r(v);
|
|
1389
1389
|
},
|
|
1390
1390
|
[r]
|
|
1391
|
-
), l =
|
|
1391
|
+
), l = zo(n), { context: c, refs: u } = Or({
|
|
1392
1392
|
open: t,
|
|
1393
1393
|
onOpenChange: s,
|
|
1394
1394
|
placement: l
|
|
1395
|
-
}), f = Do(n), { isMounted: d, styles: g } =
|
|
1395
|
+
}), f = Do(n), { isMounted: d, styles: g } = Pr(c, {
|
|
1396
1396
|
duration: 200,
|
|
1397
1397
|
common: {
|
|
1398
1398
|
transitionProperty: "opacity, transform",
|
|
@@ -1402,11 +1402,11 @@ function Fo({
|
|
|
1402
1402
|
opacity: 0
|
|
1403
1403
|
},
|
|
1404
1404
|
...f
|
|
1405
|
-
}),
|
|
1405
|
+
}), m = zr(c, {
|
|
1406
1406
|
outsidePress: !a,
|
|
1407
1407
|
outsidePressEvent: "mousedown",
|
|
1408
1408
|
escapeKey: !i
|
|
1409
|
-
}), h = Dr(c, { role: "dialog" }), { getFloatingProps:
|
|
1409
|
+
}), h = Dr(c, { role: "dialog" }), { getFloatingProps: C } = Fr([m, h]);
|
|
1410
1410
|
return Qe(
|
|
1411
1411
|
() => ({
|
|
1412
1412
|
/** Состояние для условного рендеринга с поддержкой анимации закрытия. */
|
|
@@ -1418,12 +1418,12 @@ function Fo({
|
|
|
1418
1418
|
/** Ссылки на элементы для Floating UI. */
|
|
1419
1419
|
refs: u,
|
|
1420
1420
|
/** Пропсы для плавающего элемента. */
|
|
1421
|
-
getFloatingProps:
|
|
1421
|
+
getFloatingProps: C
|
|
1422
1422
|
}),
|
|
1423
|
-
[d, g, c, u,
|
|
1423
|
+
[d, g, c, u, C]
|
|
1424
1424
|
);
|
|
1425
1425
|
}
|
|
1426
|
-
const
|
|
1426
|
+
const sr = U((t, r) => {
|
|
1427
1427
|
const {
|
|
1428
1428
|
placement: n = "default",
|
|
1429
1429
|
open: a,
|
|
@@ -1435,7 +1435,7 @@ const ar = U((t, r) => {
|
|
|
1435
1435
|
className: f,
|
|
1436
1436
|
style: d,
|
|
1437
1437
|
"data-testid": g,
|
|
1438
|
-
...
|
|
1438
|
+
...m
|
|
1439
1439
|
} = t;
|
|
1440
1440
|
a === void 0 && console.error(
|
|
1441
1441
|
"Dialog: компонент должен быть контролируемым. Используйте пропсы open и onOpenChange."
|
|
@@ -1446,44 +1446,44 @@ const ar = U((t, r) => {
|
|
|
1446
1446
|
placement: n,
|
|
1447
1447
|
disableOutsideClick: c,
|
|
1448
1448
|
disableEscapeKey: u
|
|
1449
|
-
}), { isMounted:
|
|
1450
|
-
return
|
|
1449
|
+
}), { isMounted: C, transitionStyles: v } = h, b = Wr([r, h.refs.setFloating]);
|
|
1450
|
+
return C ? /* @__PURE__ */ o.jsxs(qr, { children: [
|
|
1451
1451
|
/* @__PURE__ */ o.jsx(
|
|
1452
|
-
|
|
1452
|
+
Hr,
|
|
1453
1453
|
{
|
|
1454
1454
|
"data-testid": "dialog-overlay",
|
|
1455
1455
|
className: k(de.overlay, s),
|
|
1456
1456
|
lockScroll: !0,
|
|
1457
|
-
style: { opacity:
|
|
1457
|
+
style: { opacity: v == null ? void 0 : v.opacity, transition: v == null ? void 0 : v.transition }
|
|
1458
1458
|
}
|
|
1459
1459
|
),
|
|
1460
|
-
/* @__PURE__ */ o.jsx(
|
|
1460
|
+
/* @__PURE__ */ o.jsx(Vr, { context: h.context, children: /* @__PURE__ */ o.jsx(
|
|
1461
1461
|
"div",
|
|
1462
1462
|
{
|
|
1463
|
-
ref:
|
|
1463
|
+
ref: b,
|
|
1464
1464
|
"aria-modal": "true",
|
|
1465
1465
|
role: "dialog",
|
|
1466
1466
|
className: k(f, de.container, de[`placement-${n}`]),
|
|
1467
|
-
style: { ...d, ...
|
|
1467
|
+
style: { ...d, ...v },
|
|
1468
1468
|
"data-testid": g,
|
|
1469
|
-
...h.getFloatingProps(
|
|
1469
|
+
...h.getFloatingProps(m),
|
|
1470
1470
|
children: l
|
|
1471
1471
|
}
|
|
1472
1472
|
) })
|
|
1473
1473
|
] }) : null;
|
|
1474
|
-
}), Wo = "_container_e56bn_5",
|
|
1474
|
+
}), Wo = "_container_e56bn_5", qo = "_header_e56bn_22", Ho = "_title_e56bn_32", Vo = "_subTitle_e56bn_36", Zo = "_actions_e56bn_40", Xo = "_content_e56bn_62", Yo = "_footer_e56bn_75", Go = "_divider_e56bn_82", bt = {
|
|
1475
1475
|
container: Wo,
|
|
1476
|
-
header:
|
|
1477
|
-
title:
|
|
1478
|
-
subTitle:
|
|
1479
|
-
actions:
|
|
1476
|
+
header: qo,
|
|
1477
|
+
title: Ho,
|
|
1478
|
+
subTitle: Vo,
|
|
1479
|
+
actions: Zo,
|
|
1480
1480
|
"title-text": "_title-text_e56bn_46",
|
|
1481
1481
|
"description-text": "_description-text_e56bn_54",
|
|
1482
1482
|
content: Xo,
|
|
1483
1483
|
"content-for-side-drawer": "_content-for-side-drawer_e56bn_69",
|
|
1484
1484
|
footer: Yo,
|
|
1485
1485
|
divider: Go
|
|
1486
|
-
}, Uo = "_typography_zt7xg_1", Ko = "_disabled_zt7xg_8", Jo = "_primary_zt7xg_13", Qo = "_secondary_zt7xg_18", ta = "_tertiary_zt7xg_23", ea = "_accent_zt7xg_28", ra = "_positive_zt7xg_38", na = "_negative_zt7xg_48", oa = "_warning_zt7xg_58", aa = "_special_zt7xg_68", sa = "_contrast_zt7xg_78",
|
|
1486
|
+
}, Uo = "_typography_zt7xg_1", Ko = "_disabled_zt7xg_8", Jo = "_primary_zt7xg_13", Qo = "_secondary_zt7xg_18", ta = "_tertiary_zt7xg_23", ea = "_accent_zt7xg_28", ra = "_positive_zt7xg_38", na = "_negative_zt7xg_48", oa = "_warning_zt7xg_58", aa = "_special_zt7xg_68", sa = "_contrast_zt7xg_78", Pt = {
|
|
1487
1487
|
typography: Uo,
|
|
1488
1488
|
disabled: Ko,
|
|
1489
1489
|
primary: Jo,
|
|
@@ -1507,7 +1507,7 @@ const ar = U((t, r) => {
|
|
|
1507
1507
|
3: "h3",
|
|
1508
1508
|
4: "h4",
|
|
1509
1509
|
5: "h5"
|
|
1510
|
-
},
|
|
1510
|
+
}, Ve = (t) => {
|
|
1511
1511
|
const r = Je.forwardRef(
|
|
1512
1512
|
({
|
|
1513
1513
|
size: n = 3,
|
|
@@ -1520,20 +1520,20 @@ const ar = U((t, r) => {
|
|
|
1520
1520
|
typographyStyle: f = "primary",
|
|
1521
1521
|
...d
|
|
1522
1522
|
}, g) => {
|
|
1523
|
-
const
|
|
1524
|
-
|
|
1523
|
+
const m = l || ia[n], h = k(
|
|
1524
|
+
Pt.typography,
|
|
1525
1525
|
G[`typography-${t}-${n}-${c}`],
|
|
1526
|
-
|
|
1526
|
+
Pt[f],
|
|
1527
1527
|
{
|
|
1528
|
-
[
|
|
1528
|
+
[Pt.disabled]: u
|
|
1529
1529
|
},
|
|
1530
1530
|
i
|
|
1531
1531
|
);
|
|
1532
|
-
return a ? /* @__PURE__ */ o.jsx(
|
|
1532
|
+
return a ? /* @__PURE__ */ o.jsx(m, { ref: g, className: h, "data-testid": s, ...d, children: a }) : null;
|
|
1533
1533
|
}
|
|
1534
1534
|
);
|
|
1535
1535
|
return r.displayName = `Typography.${t === "title" ? "Title" : "Subtitle"}`, r;
|
|
1536
|
-
},
|
|
1536
|
+
}, Ze = (t) => {
|
|
1537
1537
|
const r = Je.forwardRef(
|
|
1538
1538
|
({
|
|
1539
1539
|
size: n = 3,
|
|
@@ -1546,17 +1546,17 @@ const ar = U((t, r) => {
|
|
|
1546
1546
|
typographyStyle: f = "primary",
|
|
1547
1547
|
...d
|
|
1548
1548
|
}, g) => {
|
|
1549
|
-
const
|
|
1550
|
-
|
|
1549
|
+
const m = l, h = k(
|
|
1550
|
+
Pt.typography,
|
|
1551
1551
|
G[`typography-${t}-${n}-${c}`],
|
|
1552
|
-
|
|
1552
|
+
Pt[f],
|
|
1553
1553
|
{
|
|
1554
|
-
[
|
|
1554
|
+
[Pt.disabled]: u
|
|
1555
1555
|
},
|
|
1556
1556
|
i
|
|
1557
1557
|
);
|
|
1558
1558
|
return a ? /* @__PURE__ */ o.jsx(
|
|
1559
|
-
|
|
1559
|
+
m,
|
|
1560
1560
|
{
|
|
1561
1561
|
ref: g,
|
|
1562
1562
|
className: h,
|
|
@@ -1569,10 +1569,10 @@ const ar = U((t, r) => {
|
|
|
1569
1569
|
);
|
|
1570
1570
|
return r.displayName = `Typography.${t.charAt(0).toUpperCase() + t.slice(1)}`, r;
|
|
1571
1571
|
}, he = {
|
|
1572
|
-
Title:
|
|
1573
|
-
Subtitle:
|
|
1574
|
-
Label:
|
|
1575
|
-
Paragraph:
|
|
1572
|
+
Title: Ve("title"),
|
|
1573
|
+
Subtitle: Ve("subtitle"),
|
|
1574
|
+
Label: Ze("label"),
|
|
1575
|
+
Paragraph: Ze("paragraph")
|
|
1576
1576
|
}, { Paragraph: la, Title: ca } = he, da = [
|
|
1577
1577
|
"right-drawer",
|
|
1578
1578
|
"left-drawer"
|
|
@@ -1587,7 +1587,7 @@ const ar = U((t, r) => {
|
|
|
1587
1587
|
...i
|
|
1588
1588
|
};
|
|
1589
1589
|
return a ? /* @__PURE__ */ o.jsx(a, { children: /* @__PURE__ */ o.jsx(ge, { ...s }) }) : /* @__PURE__ */ o.jsx(ge, { ...s });
|
|
1590
|
-
},
|
|
1590
|
+
}, fc = U((t, r) => {
|
|
1591
1591
|
const {
|
|
1592
1592
|
open: n,
|
|
1593
1593
|
onOpenChange: a,
|
|
@@ -1599,37 +1599,37 @@ const ar = U((t, r) => {
|
|
|
1599
1599
|
subTitle: f,
|
|
1600
1600
|
actions: d,
|
|
1601
1601
|
children: g,
|
|
1602
|
-
footer:
|
|
1602
|
+
footer: m,
|
|
1603
1603
|
hideHeaderDivider: h,
|
|
1604
|
-
hideFooterDivider:
|
|
1605
|
-
className:
|
|
1606
|
-
classNames:
|
|
1604
|
+
hideFooterDivider: C,
|
|
1605
|
+
className: v,
|
|
1606
|
+
classNames: b,
|
|
1607
1607
|
styles: x,
|
|
1608
|
-
...
|
|
1608
|
+
..._
|
|
1609
1609
|
} = t, w = da.includes(s), S = !!(u || f || d);
|
|
1610
1610
|
return /* @__PURE__ */ o.jsx(
|
|
1611
|
-
|
|
1611
|
+
sr,
|
|
1612
1612
|
{
|
|
1613
1613
|
open: n,
|
|
1614
1614
|
onOpenChange: a,
|
|
1615
1615
|
placement: s,
|
|
1616
1616
|
ref: r,
|
|
1617
1617
|
style: { width: i },
|
|
1618
|
-
...
|
|
1618
|
+
..._,
|
|
1619
1619
|
children: /* @__PURE__ */ o.jsxs(
|
|
1620
1620
|
"div",
|
|
1621
1621
|
{
|
|
1622
|
-
className: k(bt.container,
|
|
1622
|
+
className: k(bt.container, v, b == null ? void 0 : b.container),
|
|
1623
1623
|
style: { width: i, ...x == null ? void 0 : x.container },
|
|
1624
|
-
"data-testid":
|
|
1624
|
+
"data-testid": _["data-testid"] ? `${_["data-testid"]}-container` : void 0,
|
|
1625
1625
|
children: [
|
|
1626
1626
|
S && /* @__PURE__ */ o.jsxs("div", { className: bt.header, children: [
|
|
1627
|
-
/* @__PURE__ */ o.jsx("div", { className: k(bt.title,
|
|
1627
|
+
/* @__PURE__ */ o.jsx("div", { className: k(bt.title, b == null ? void 0 : b.title), style: x == null ? void 0 : x.title, children: typeof u == "string" ? /* @__PURE__ */ o.jsx(ca, { size: 5, className: bt["title-text"], children: u }) : u }),
|
|
1628
1628
|
/* @__PURE__ */ o.jsxs("div", { className: bt.actions, children: [
|
|
1629
1629
|
d,
|
|
1630
1630
|
l && /* @__PURE__ */ o.jsx(ua, { closeButtonProps: c, onOpenChange: a })
|
|
1631
1631
|
] }),
|
|
1632
|
-
f && /* @__PURE__ */ o.jsx("div", { className: k(bt.subTitle,
|
|
1632
|
+
f && /* @__PURE__ */ o.jsx("div", { className: k(bt.subTitle, b == null ? void 0 : b.subTitle), style: x == null ? void 0 : x.subTitle, children: typeof f == "string" ? /* @__PURE__ */ o.jsx(
|
|
1633
1633
|
la,
|
|
1634
1634
|
{
|
|
1635
1635
|
size: 2,
|
|
@@ -1645,23 +1645,23 @@ const ar = U((t, r) => {
|
|
|
1645
1645
|
{
|
|
1646
1646
|
className: k(
|
|
1647
1647
|
w ? bt["content-for-side-drawer"] : bt.content,
|
|
1648
|
-
|
|
1648
|
+
b == null ? void 0 : b.content
|
|
1649
1649
|
),
|
|
1650
1650
|
style: {
|
|
1651
1651
|
...x == null ? void 0 : x.content
|
|
1652
1652
|
},
|
|
1653
|
-
"data-testid":
|
|
1653
|
+
"data-testid": _["data-testid"] ? `${_["data-testid"]}-content` : void 0,
|
|
1654
1654
|
children: g
|
|
1655
1655
|
}
|
|
1656
1656
|
),
|
|
1657
|
-
!
|
|
1658
|
-
|
|
1657
|
+
!C && m && /* @__PURE__ */ o.jsx("hr", { className: bt.divider }),
|
|
1658
|
+
m && /* @__PURE__ */ o.jsx("div", { className: k(bt.footer, b == null ? void 0 : b.footer), style: x == null ? void 0 : x.footer, children: m })
|
|
1659
1659
|
]
|
|
1660
1660
|
}
|
|
1661
1661
|
)
|
|
1662
1662
|
}
|
|
1663
1663
|
);
|
|
1664
|
-
}),
|
|
1664
|
+
}), _a = () => /* @__PURE__ */ o.jsx(
|
|
1665
1665
|
"svg",
|
|
1666
1666
|
{
|
|
1667
1667
|
width: "24",
|
|
@@ -1679,7 +1679,7 @@ const ar = U((t, r) => {
|
|
|
1679
1679
|
}
|
|
1680
1680
|
)
|
|
1681
1681
|
}
|
|
1682
|
-
),
|
|
1682
|
+
), pa = () => /* @__PURE__ */ o.jsx(
|
|
1683
1683
|
"svg",
|
|
1684
1684
|
{
|
|
1685
1685
|
width: "23",
|
|
@@ -1754,16 +1754,16 @@ const ar = U((t, r) => {
|
|
|
1754
1754
|
}
|
|
1755
1755
|
), Gt = {
|
|
1756
1756
|
avatar: { icon: null, colorScheme: "gray" },
|
|
1757
|
-
info: { icon:
|
|
1757
|
+
info: { icon: _a, colorScheme: "gray" },
|
|
1758
1758
|
success: { icon: fa, colorScheme: "green" },
|
|
1759
1759
|
warning: { icon: ha, colorScheme: "yellow" },
|
|
1760
1760
|
error: { icon: ga, colorScheme: "red" },
|
|
1761
|
-
dialog: { icon:
|
|
1761
|
+
dialog: { icon: pa, colorScheme: "blue" }
|
|
1762
1762
|
}, ba = "_container_dd9oq_1", ma = {
|
|
1763
1763
|
container: ba
|
|
1764
|
-
},
|
|
1765
|
-
container:
|
|
1766
|
-
iconContainer:
|
|
1764
|
+
}, xa = "_container_r24j4_1", ya = "_iconContainer_r24j4_11", va = "_textContainer_r24j4_18", Ca = "_title_r24j4_27", wa = "_subtitle_r24j4_27", Ft = {
|
|
1765
|
+
container: xa,
|
|
1766
|
+
iconContainer: ya,
|
|
1767
1767
|
textContainer: va,
|
|
1768
1768
|
title: Ca,
|
|
1769
1769
|
subtitle: wa
|
|
@@ -1771,10 +1771,10 @@ const ar = U((t, r) => {
|
|
|
1771
1771
|
m: { title: "typography-subtitle-1-semibold", subtitle: "typography-paragraph-3-regular" },
|
|
1772
1772
|
l: { title: "typography-title-5-semibold", subtitle: "typography-paragraph-2-regular" }
|
|
1773
1773
|
};
|
|
1774
|
-
function
|
|
1774
|
+
function ka(t) {
|
|
1775
1775
|
return (Ut == null ? void 0 : Ut[t]) || Ut.m;
|
|
1776
1776
|
}
|
|
1777
|
-
const
|
|
1777
|
+
const Sa = (t) => {
|
|
1778
1778
|
const {
|
|
1779
1779
|
iconSlot: r,
|
|
1780
1780
|
title: n,
|
|
@@ -1786,7 +1786,7 @@ const ka = (t) => {
|
|
|
1786
1786
|
"data-testid": u,
|
|
1787
1787
|
size: f = "m",
|
|
1788
1788
|
style: d
|
|
1789
|
-
} = t, g =
|
|
1789
|
+
} = t, g = ka(f);
|
|
1790
1790
|
return /* @__PURE__ */ o.jsxs("div", { className: k(Ft.container, l), "data-testid": u, style: d, children: [
|
|
1791
1791
|
!!r && /* @__PURE__ */ o.jsx("div", { className: Ft.iconContainer, children: r }),
|
|
1792
1792
|
(n || a) && /* @__PURE__ */ o.jsxs("div", { className: Ft.textContainer, children: [
|
|
@@ -1809,7 +1809,7 @@ const ka = (t) => {
|
|
|
1809
1809
|
] }),
|
|
1810
1810
|
c
|
|
1811
1811
|
] });
|
|
1812
|
-
},
|
|
1812
|
+
}, gc = (t) => {
|
|
1813
1813
|
const {
|
|
1814
1814
|
open: r,
|
|
1815
1815
|
onOpenChange: n,
|
|
@@ -1835,7 +1835,7 @@ const ka = (t) => {
|
|
|
1835
1835
|
"data-testid": "alert-icon"
|
|
1836
1836
|
};
|
|
1837
1837
|
return /* @__PURE__ */ o.jsx(
|
|
1838
|
-
|
|
1838
|
+
sr,
|
|
1839
1839
|
{
|
|
1840
1840
|
open: r,
|
|
1841
1841
|
onOpenChange: n,
|
|
@@ -1843,7 +1843,7 @@ const ka = (t) => {
|
|
|
1843
1843
|
"data-testid": f,
|
|
1844
1844
|
className: ma.container,
|
|
1845
1845
|
children: /* @__PURE__ */ o.jsx(
|
|
1846
|
-
|
|
1846
|
+
Sa,
|
|
1847
1847
|
{
|
|
1848
1848
|
title: s,
|
|
1849
1849
|
subTitle: l,
|
|
@@ -1854,7 +1854,7 @@ const ka = (t) => {
|
|
|
1854
1854
|
)
|
|
1855
1855
|
}
|
|
1856
1856
|
);
|
|
1857
|
-
}, La = "_wrapper_ecbsu_5", ja = "_badge__container_ecbsu_6", $a = "_badge__content_ecbsu_7", Ta = "_interactive_ecbsu_20", Ea = "_disabled_ecbsu_21", Ra = "_icon_ecbsu_22",
|
|
1857
|
+
}, La = "_wrapper_ecbsu_5", ja = "_badge__container_ecbsu_6", $a = "_badge__content_ecbsu_7", Ta = "_interactive_ecbsu_20", Ea = "_disabled_ecbsu_21", Ra = "_icon_ecbsu_22", kt = {
|
|
1858
1858
|
wrapper: La,
|
|
1859
1859
|
badge__container: ja,
|
|
1860
1860
|
badge__content: $a,
|
|
@@ -1904,19 +1904,19 @@ const ka = (t) => {
|
|
|
1904
1904
|
position: f = "top-right",
|
|
1905
1905
|
positionOffset: d = { x: 0, y: 0 },
|
|
1906
1906
|
cutoutBackground: g,
|
|
1907
|
-
isDisabled:
|
|
1907
|
+
isDisabled: m,
|
|
1908
1908
|
className: h,
|
|
1909
|
-
"data-testid":
|
|
1910
|
-
...
|
|
1911
|
-
} = t, { onClick:
|
|
1909
|
+
"data-testid": C = "badge",
|
|
1910
|
+
...v
|
|
1911
|
+
} = t, { onClick: b, onPointerDown: x } = v, { ref: _, bgColor: w } = ye(), S = g || w, $ = !m && (!!b || !!x), E = Rt(kt.badge__container, kt[`position-${f}`]), I = Rt(
|
|
1912
1912
|
h,
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1913
|
+
kt.badge__content,
|
|
1914
|
+
kt[`color-${c}`],
|
|
1915
|
+
kt[`variant-${i}`],
|
|
1916
1916
|
{
|
|
1917
|
-
[
|
|
1918
|
-
[
|
|
1919
|
-
[
|
|
1917
|
+
[kt.disabled]: m,
|
|
1918
|
+
[kt.icon]: !!n,
|
|
1919
|
+
[kt.interactive]: $
|
|
1920
1920
|
}
|
|
1921
1921
|
), A = {
|
|
1922
1922
|
"--badge-height": `${u}px`,
|
|
@@ -1924,27 +1924,27 @@ const ka = (t) => {
|
|
|
1924
1924
|
"--badge-offset-y": `${d.y}px`,
|
|
1925
1925
|
...S && { "--badge-cutout-bg": S },
|
|
1926
1926
|
...i === "transparent" && { "--badge-cutout-bg": "transparent" }
|
|
1927
|
-
},
|
|
1928
|
-
$ && (
|
|
1927
|
+
}, O = (n == null ? void 0 : n({})) || s, D = (W) => {
|
|
1928
|
+
$ && (b == null || b(W));
|
|
1929
1929
|
};
|
|
1930
|
-
return /* @__PURE__ */ o.jsxs("div", { className:
|
|
1930
|
+
return /* @__PURE__ */ o.jsxs("div", { className: kt.wrapper, ref: _, "data-testid": C + "-wrapper", children: [
|
|
1931
1931
|
a,
|
|
1932
1932
|
!l && /* @__PURE__ */ o.jsx(
|
|
1933
1933
|
"span",
|
|
1934
1934
|
{
|
|
1935
1935
|
className: E,
|
|
1936
1936
|
style: A,
|
|
1937
|
-
"data-testid":
|
|
1937
|
+
"data-testid": C + "-container",
|
|
1938
1938
|
children: /* @__PURE__ */ o.jsx(
|
|
1939
1939
|
"span",
|
|
1940
1940
|
{
|
|
1941
|
-
...
|
|
1942
|
-
onClick:
|
|
1943
|
-
className:
|
|
1944
|
-
"data-testid":
|
|
1941
|
+
...v,
|
|
1942
|
+
onClick: D,
|
|
1943
|
+
className: I,
|
|
1944
|
+
"data-testid": C + "-content",
|
|
1945
1945
|
ref: r,
|
|
1946
|
-
"aria-disabled":
|
|
1947
|
-
children:
|
|
1946
|
+
"aria-disabled": m,
|
|
1947
|
+
children: O
|
|
1948
1948
|
}
|
|
1949
1949
|
)
|
|
1950
1950
|
}
|
|
@@ -1975,7 +1975,7 @@ const ka = (t) => {
|
|
|
1975
1975
|
}
|
|
1976
1976
|
)
|
|
1977
1977
|
}
|
|
1978
|
-
),
|
|
1978
|
+
), hc = U((t, r) => {
|
|
1979
1979
|
const {
|
|
1980
1980
|
alt: n = "",
|
|
1981
1981
|
loading: a = "lazy",
|
|
@@ -1986,32 +1986,32 @@ const ka = (t) => {
|
|
|
1986
1986
|
onError: u,
|
|
1987
1987
|
onLoad: f,
|
|
1988
1988
|
...d
|
|
1989
|
-
} = t, [g,
|
|
1989
|
+
} = t, [g, m] = ft("loading"), h = g === "error", C = (s || g === "loading") && !h, v = g === "loaded" && !s, b = Rt(
|
|
1990
1990
|
ue.image,
|
|
1991
1991
|
{
|
|
1992
|
-
[ue.loading]:
|
|
1992
|
+
[ue.loading]: C
|
|
1993
1993
|
},
|
|
1994
1994
|
l
|
|
1995
1995
|
), x = jt(
|
|
1996
1996
|
(S) => {
|
|
1997
|
-
|
|
1997
|
+
m("loaded"), f == null || f(S);
|
|
1998
1998
|
},
|
|
1999
1999
|
[f]
|
|
2000
|
-
),
|
|
2000
|
+
), _ = jt(
|
|
2001
2001
|
(S) => {
|
|
2002
|
-
|
|
2002
|
+
m("error"), u == null || u(S);
|
|
2003
2003
|
},
|
|
2004
2004
|
[u]
|
|
2005
2005
|
), w = {
|
|
2006
|
-
loader: /* @__PURE__ */ o.jsxs(
|
|
2007
|
-
/* @__PURE__ */ o.jsx(
|
|
2006
|
+
loader: /* @__PURE__ */ o.jsxs(qt, { children: [
|
|
2007
|
+
/* @__PURE__ */ o.jsx(or, { size: 48, variant: "special", "data-testid": `${c}-loader` }),
|
|
2008
2008
|
/* @__PURE__ */ o.jsx(
|
|
2009
2009
|
"img",
|
|
2010
2010
|
{
|
|
2011
2011
|
alt: n,
|
|
2012
2012
|
src: i,
|
|
2013
2013
|
onLoad: x,
|
|
2014
|
-
onError:
|
|
2014
|
+
onError: _,
|
|
2015
2015
|
style: { display: "none" }
|
|
2016
2016
|
}
|
|
2017
2017
|
)
|
|
@@ -2025,35 +2025,35 @@ const ka = (t) => {
|
|
|
2025
2025
|
"data-testid": c,
|
|
2026
2026
|
loading: a,
|
|
2027
2027
|
src: i,
|
|
2028
|
-
className:
|
|
2028
|
+
className: b
|
|
2029
2029
|
}
|
|
2030
2030
|
)
|
|
2031
2031
|
};
|
|
2032
|
-
return
|
|
2032
|
+
return gt(() => {
|
|
2033
2033
|
if (!i) {
|
|
2034
|
-
|
|
2034
|
+
m("error");
|
|
2035
2035
|
return;
|
|
2036
2036
|
}
|
|
2037
|
-
|
|
2037
|
+
m("loading");
|
|
2038
2038
|
}, [i]), /* @__PURE__ */ o.jsxs("div", { className: ue.container, "data-testid": `${c}-container`, ...d, children: [
|
|
2039
|
-
|
|
2039
|
+
C && w.loader,
|
|
2040
2040
|
h && w.error,
|
|
2041
|
-
|
|
2041
|
+
v && w.image
|
|
2042
2042
|
] });
|
|
2043
|
-
}), Oa = {},
|
|
2043
|
+
}), Oa = {}, ir = tr({
|
|
2044
2044
|
locale: Oa
|
|
2045
|
-
}),
|
|
2046
|
-
const t = er(
|
|
2045
|
+
}), Pa = () => {
|
|
2046
|
+
const t = er(ir);
|
|
2047
2047
|
if (!t)
|
|
2048
2048
|
throw new Error("useConfig must be used within a ConfigProvider");
|
|
2049
2049
|
return t;
|
|
2050
|
-
},
|
|
2051
|
-
const { locale: t } =
|
|
2050
|
+
}, bc = () => {
|
|
2051
|
+
const { locale: t } = Pa();
|
|
2052
2052
|
return t;
|
|
2053
|
-
},
|
|
2054
|
-
base:
|
|
2055
|
-
content:
|
|
2056
|
-
background:
|
|
2053
|
+
}, za = {}, Da = {}, Fa = {}, Wa = {}, qa = {}, Ha = "_base_1p0qo_50", Va = "_content_1p0qo_54", Za = "_background_1p0qo_58", Xa = "_button_1p0qo_62", Ya = "_link_1p0qo_66", Ga = "_input_1p0qo_70", Ua = "_suffix_1p0qo_74", Ka = "_prefix_1p0qo_78", Ja = "_tooltip_1p0qo_82", Qa = "_hint_1p0qo_86", ts = "_dropdown_1p0qo_90", es = "_popover_1p0qo_94", rs = "_modalBackdrop_1p0qo_98", ns = "_modal_1p0qo_98", os = "_overlay_1p0qo_106", as = "_drawer_1p0qo_110", ss = "_notification_1p0qo_114", is = "_alert_1p0qo_118", ls = "_toast_1p0qo_122", cs = "_loading_1p0qo_126", ds = "_error_1p0qo_130", us = "_critical_1p0qo_134", _s = {
|
|
2054
|
+
base: Ha,
|
|
2055
|
+
content: Va,
|
|
2056
|
+
background: Za,
|
|
2057
2057
|
button: Xa,
|
|
2058
2058
|
link: Ya,
|
|
2059
2059
|
input: Ga,
|
|
@@ -2073,45 +2073,45 @@ const ka = (t) => {
|
|
|
2073
2073
|
loading: cs,
|
|
2074
2074
|
error: ds,
|
|
2075
2075
|
critical: us
|
|
2076
|
-
},
|
|
2076
|
+
}, mc = ({
|
|
2077
2077
|
locale: t = {},
|
|
2078
2078
|
theme: r,
|
|
2079
2079
|
children: n,
|
|
2080
2080
|
className: a
|
|
2081
|
-
}) => (
|
|
2081
|
+
}) => (rr(() => {
|
|
2082
2082
|
if (r) {
|
|
2083
2083
|
const i = document.documentElement;
|
|
2084
2084
|
Object.entries(r).forEach(([s, l]) => {
|
|
2085
2085
|
i.style.setProperty(s, l);
|
|
2086
2086
|
});
|
|
2087
2087
|
}
|
|
2088
|
-
}, [r]), /* @__PURE__ */ o.jsxs(
|
|
2088
|
+
}, [r]), /* @__PURE__ */ o.jsxs(qt, { children: [
|
|
2089
2089
|
/* @__PURE__ */ o.jsx(
|
|
2090
2090
|
"div",
|
|
2091
2091
|
{
|
|
2092
2092
|
"data-testid": "ConfigProvider-component",
|
|
2093
|
-
className: k(
|
|
2093
|
+
className: k(za, Da, Fa, Wa, qa, _s, G, a)
|
|
2094
2094
|
}
|
|
2095
2095
|
),
|
|
2096
|
-
/* @__PURE__ */ o.jsx(
|
|
2097
|
-
] })),
|
|
2098
|
-
tag:
|
|
2096
|
+
/* @__PURE__ */ o.jsx(ir.Provider, { value: { locale: t }, children: n })
|
|
2097
|
+
] })), xc = {}, ps = "_tag_1llsi_1", fs = "_label_1llsi_16", gs = "_iconWrapper_1llsi_20", hs = "_medium_1llsi_27", bs = "_large_1llsi_33", ms = "_disabled_1llsi_43", xs = "_neutral_1llsi_47", ys = "_positive_1llsi_53", vs = "_negative_1llsi_59", Cs = "_warning_1llsi_65", ws = "_vivid_1llsi_71", ks = "_special_1llsi_77", Ss = "_accent_1llsi_84", Ls = "_blue_1llsi_90", js = "_lovely_1llsi_96", $s = "_dreamy_1llsi_102", It = {
|
|
2098
|
+
tag: ps,
|
|
2099
2099
|
label: fs,
|
|
2100
2100
|
iconWrapper: gs,
|
|
2101
2101
|
medium: hs,
|
|
2102
2102
|
large: bs,
|
|
2103
2103
|
disabled: ms,
|
|
2104
|
-
neutral:
|
|
2105
|
-
positive:
|
|
2104
|
+
neutral: xs,
|
|
2105
|
+
positive: ys,
|
|
2106
2106
|
negative: vs,
|
|
2107
2107
|
warning: Cs,
|
|
2108
2108
|
vivid: ws,
|
|
2109
|
-
special:
|
|
2110
|
-
accent:
|
|
2109
|
+
special: ks,
|
|
2110
|
+
accent: Ss,
|
|
2111
2111
|
blue: Ls,
|
|
2112
2112
|
lovely: js,
|
|
2113
2113
|
dreamy: $s
|
|
2114
|
-
},
|
|
2114
|
+
}, yc = U((t, r) => {
|
|
2115
2115
|
const {
|
|
2116
2116
|
className: n,
|
|
2117
2117
|
children: a,
|
|
@@ -2123,28 +2123,30 @@ const ka = (t) => {
|
|
|
2123
2123
|
slotEnd: f,
|
|
2124
2124
|
slotStartWrapperProps: d = {},
|
|
2125
2125
|
slotEndWrapperProps: g = {},
|
|
2126
|
-
"data-testid":
|
|
2127
|
-
|
|
2126
|
+
"data-testid": m,
|
|
2127
|
+
...h
|
|
2128
|
+
} = t, { className: C, ...v } = d, { className: b, ...x } = g;
|
|
2128
2129
|
return /* @__PURE__ */ o.jsxs(
|
|
2129
2130
|
"div",
|
|
2130
2131
|
{
|
|
2131
2132
|
className: k(
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2133
|
+
It.tag,
|
|
2134
|
+
It[s],
|
|
2135
|
+
It[i],
|
|
2135
2136
|
{
|
|
2136
|
-
[
|
|
2137
|
+
[It.disabled]: l,
|
|
2137
2138
|
[G["typography-label-3-regular"]]: s === "medium",
|
|
2138
2139
|
[G["typography-subtitle-1-semibold"]]: s === "large"
|
|
2139
2140
|
},
|
|
2140
2141
|
n
|
|
2141
2142
|
),
|
|
2142
|
-
"data-testid":
|
|
2143
|
+
"data-testid": m || "tag-component",
|
|
2143
2144
|
ref: r,
|
|
2145
|
+
...h,
|
|
2144
2146
|
children: [
|
|
2145
|
-
u && /* @__PURE__ */ o.jsx("span", { className: k([
|
|
2146
|
-
c && /* @__PURE__ */ o.jsx("span", { className: k([
|
|
2147
|
-
f && /* @__PURE__ */ o.jsx("span", { className: k([
|
|
2147
|
+
u && /* @__PURE__ */ o.jsx("span", { className: k([It.iconWrapper, C]), ...v, children: u }),
|
|
2148
|
+
c && /* @__PURE__ */ o.jsx("span", { className: k([It.label]), children: a }),
|
|
2149
|
+
f && /* @__PURE__ */ o.jsx("span", { className: k([It.iconWrapper, b]), ...x, children: f })
|
|
2148
2150
|
]
|
|
2149
2151
|
}
|
|
2150
2152
|
);
|
|
@@ -2158,7 +2160,7 @@ const ka = (t) => {
|
|
|
2158
2160
|
medium: Bs,
|
|
2159
2161
|
large: As,
|
|
2160
2162
|
label: Os
|
|
2161
|
-
},
|
|
2163
|
+
}, Ps = ({
|
|
2162
2164
|
width: t = 12,
|
|
2163
2165
|
height: r = 9,
|
|
2164
2166
|
className: n = "",
|
|
@@ -2184,7 +2186,7 @@ const ka = (t) => {
|
|
|
2184
2186
|
}
|
|
2185
2187
|
)
|
|
2186
2188
|
}
|
|
2187
|
-
),
|
|
2189
|
+
), zs = ({
|
|
2188
2190
|
width: t = 12,
|
|
2189
2191
|
height: r = 2,
|
|
2190
2192
|
className: n = "",
|
|
@@ -2229,10 +2231,10 @@ const ka = (t) => {
|
|
|
2229
2231
|
"data-checked": r,
|
|
2230
2232
|
"data-disabled": n,
|
|
2231
2233
|
"data-indeterminate": a,
|
|
2232
|
-
children: a ? /* @__PURE__ */ o.jsx(
|
|
2234
|
+
children: a ? /* @__PURE__ */ o.jsx(zs, { width: s, height: l }) : /* @__PURE__ */ o.jsx(Ps, { width: s, height: l })
|
|
2233
2235
|
}
|
|
2234
2236
|
);
|
|
2235
|
-
},
|
|
2237
|
+
}, vc = U((t, r) => {
|
|
2236
2238
|
const {
|
|
2237
2239
|
name: n,
|
|
2238
2240
|
value: a,
|
|
@@ -2244,46 +2246,46 @@ const ka = (t) => {
|
|
|
2244
2246
|
containerClassName: f,
|
|
2245
2247
|
className: d,
|
|
2246
2248
|
containerStyle: g,
|
|
2247
|
-
style:
|
|
2249
|
+
style: m,
|
|
2248
2250
|
children: h,
|
|
2249
|
-
clickableLabel:
|
|
2250
|
-
tabIndex:
|
|
2251
|
-
onChange:
|
|
2251
|
+
clickableLabel: C = !0,
|
|
2252
|
+
tabIndex: v,
|
|
2253
|
+
onChange: b,
|
|
2252
2254
|
"data-testid": x = "checkbox"
|
|
2253
|
-
} = t, [
|
|
2255
|
+
} = t, [_, w] = ft(!1), S = a ?? _, T = u || l, $ = !!c, E = S || s, I = k(Lt.container, Lt[i], f), A = k(
|
|
2254
2256
|
Lt.checkbox,
|
|
2255
2257
|
Lt[i],
|
|
2256
2258
|
{
|
|
2257
2259
|
[Lt.error]: $
|
|
2258
2260
|
},
|
|
2259
2261
|
d
|
|
2260
|
-
),
|
|
2261
|
-
T || (w(
|
|
2262
|
-
},
|
|
2263
|
-
if (
|
|
2264
|
-
|
|
2265
|
-
const
|
|
2266
|
-
w(
|
|
2262
|
+
), O = (B) => {
|
|
2263
|
+
T || (w(B.target.checked), b == null || b(B.target.checked, B));
|
|
2264
|
+
}, D = (B) => {
|
|
2265
|
+
if (B.key === "Enter" && !T) {
|
|
2266
|
+
B.preventDefault();
|
|
2267
|
+
const q = !E;
|
|
2268
|
+
w(q), b == null || b(q);
|
|
2267
2269
|
}
|
|
2268
|
-
},
|
|
2269
|
-
|
|
2270
|
-
}, L = (
|
|
2270
|
+
}, W = (B) => {
|
|
2271
|
+
C || B.preventDefault();
|
|
2272
|
+
}, L = (B) => B.stopPropagation();
|
|
2271
2273
|
return /* @__PURE__ */ o.jsxs(
|
|
2272
2274
|
"label",
|
|
2273
2275
|
{
|
|
2274
|
-
className:
|
|
2276
|
+
className: I,
|
|
2275
2277
|
htmlFor: n,
|
|
2276
2278
|
style: g,
|
|
2277
2279
|
"data-testid": x,
|
|
2278
|
-
"data-clickable-label":
|
|
2280
|
+
"data-clickable-label": C,
|
|
2279
2281
|
children: [
|
|
2280
2282
|
/* @__PURE__ */ o.jsx("div", { className: Lt.checkboxWrapper, children: /* @__PURE__ */ o.jsxs(
|
|
2281
2283
|
"div",
|
|
2282
2284
|
{
|
|
2283
|
-
tabIndex:
|
|
2285
|
+
tabIndex: v || 0,
|
|
2284
2286
|
className: A,
|
|
2285
|
-
style:
|
|
2286
|
-
onKeyDown:
|
|
2287
|
+
style: m,
|
|
2288
|
+
onKeyDown: D,
|
|
2287
2289
|
"aria-checked": E,
|
|
2288
2290
|
"aria-disabled": T,
|
|
2289
2291
|
"aria-invalid": $,
|
|
@@ -2300,7 +2302,7 @@ const ka = (t) => {
|
|
|
2300
2302
|
checked: E,
|
|
2301
2303
|
disabled: T,
|
|
2302
2304
|
className: Lt.input,
|
|
2303
|
-
onChange:
|
|
2305
|
+
onChange: O,
|
|
2304
2306
|
onClick: L,
|
|
2305
2307
|
"aria-checked": E,
|
|
2306
2308
|
"aria-invalid": $,
|
|
@@ -2326,21 +2328,21 @@ const ka = (t) => {
|
|
|
2326
2328
|
"span",
|
|
2327
2329
|
{
|
|
2328
2330
|
"data-testid": `${x}-label-text`,
|
|
2329
|
-
"data-clickable-label":
|
|
2331
|
+
"data-clickable-label": C,
|
|
2330
2332
|
className: Lt.label,
|
|
2331
|
-
onClick:
|
|
2333
|
+
onClick: W,
|
|
2332
2334
|
children: h
|
|
2333
2335
|
}
|
|
2334
2336
|
)
|
|
2335
2337
|
]
|
|
2336
2338
|
}
|
|
2337
2339
|
);
|
|
2338
|
-
}), Ws = "_base_10oxr_1",
|
|
2340
|
+
}), Ws = "_base_10oxr_1", qs = "_content_10oxr_1", Hs = "_background_10oxr_1", Vs = "_button_10oxr_1", Zs = "_link_10oxr_1", Xs = "_input_10oxr_96", Ys = "_suffix_10oxr_1", Gs = "_prefix_10oxr_1", Us = "_tooltip_10oxr_1", Ks = "_hint_10oxr_794", Js = "_dropdown_10oxr_1", Qs = "_popover_10oxr_1", ti = "_modalBackdrop_10oxr_1", ei = "_modal_10oxr_1", ri = "_overlay_10oxr_1", ni = "_drawer_10oxr_1", oi = "_notification_10oxr_1", ai = "_alert_10oxr_1", si = "_toast_10oxr_1", ii = "_loading_10oxr_291", li = "_error_10oxr_252", ci = "_critical_10oxr_1", di = "_inputBase_10oxr_96", ui = "_wrapper_10oxr_106", _i = "_gripHandle_10oxr_186", pi = "_tabFocused_10oxr_259", fi = "_disabled_10oxr_284", gi = "_label_10oxr_301", hi = "_S_10oxr_315", bi = "_M_10oxr_321", mi = "_XL_10oxr_328", xi = "_leftSection_10oxr_335", yi = "_rightSection_10oxr_347", vi = "_helper_10oxr_385", Ci = "_floatingLabel_10oxr_415", wi = "_focused_10oxr_481", ki = "_filled_10oxr_482", Si = "_L_10oxr_522", Li = "_characterLimit_10oxr_564", ji = "_textarea_10oxr_124", $i = "_truncate_10oxr_707", N = {
|
|
2339
2341
|
base: Ws,
|
|
2340
|
-
content:
|
|
2341
|
-
background:
|
|
2342
|
-
button:
|
|
2343
|
-
link:
|
|
2342
|
+
content: qs,
|
|
2343
|
+
background: Hs,
|
|
2344
|
+
button: Vs,
|
|
2345
|
+
link: Zs,
|
|
2344
2346
|
input: Xs,
|
|
2345
2347
|
suffix: Ys,
|
|
2346
2348
|
prefix: Gs,
|
|
@@ -2361,20 +2363,20 @@ const ka = (t) => {
|
|
|
2361
2363
|
inputBase: di,
|
|
2362
2364
|
wrapper: ui,
|
|
2363
2365
|
"textarea-wrapper": "_textarea-wrapper_10oxr_124",
|
|
2364
|
-
gripHandle:
|
|
2365
|
-
tabFocused:
|
|
2366
|
+
gripHandle: _i,
|
|
2367
|
+
tabFocused: pi,
|
|
2366
2368
|
disabled: fi,
|
|
2367
2369
|
label: gi,
|
|
2368
2370
|
S: hi,
|
|
2369
2371
|
M: bi,
|
|
2370
2372
|
XL: mi,
|
|
2371
|
-
leftSection:
|
|
2372
|
-
rightSection:
|
|
2373
|
+
leftSection: xi,
|
|
2374
|
+
rightSection: yi,
|
|
2373
2375
|
helper: vi,
|
|
2374
2376
|
floatingLabel: Ci,
|
|
2375
2377
|
focused: wi,
|
|
2376
|
-
filled:
|
|
2377
|
-
L:
|
|
2378
|
+
filled: ki,
|
|
2379
|
+
L: Si,
|
|
2378
2380
|
characterLimit: Li,
|
|
2379
2381
|
textarea: ji,
|
|
2380
2382
|
"size-S": "_size-S_10oxr_646",
|
|
@@ -2410,7 +2412,7 @@ const ka = (t) => {
|
|
|
2410
2412
|
}
|
|
2411
2413
|
)
|
|
2412
2414
|
}
|
|
2413
|
-
),
|
|
2415
|
+
), lr = ({
|
|
2414
2416
|
className: t = "",
|
|
2415
2417
|
style: r,
|
|
2416
2418
|
size: n = "md",
|
|
@@ -2454,8 +2456,8 @@ const ka = (t) => {
|
|
|
2454
2456
|
}
|
|
2455
2457
|
);
|
|
2456
2458
|
}, Ei = (t, r) => {
|
|
2457
|
-
const n =
|
|
2458
|
-
return
|
|
2459
|
+
const n = Ht(null), a = Ht(null);
|
|
2460
|
+
return gt(() => {
|
|
2459
2461
|
const i = r === "textarea" ? n.current : a.current;
|
|
2460
2462
|
i && i.value !== t && (i.value = t || "");
|
|
2461
2463
|
}, [t, r]), {
|
|
@@ -2473,7 +2475,7 @@ const ka = (t) => {
|
|
|
2473
2475
|
const l = n.current.closest(`.${N.wrapper}`);
|
|
2474
2476
|
l && (l.setAttribute("data-resize", "hug"), l.setAttribute("data-show-grip", "false"));
|
|
2475
2477
|
};
|
|
2476
|
-
return
|
|
2478
|
+
return gt(a, [t, r]), gt(() => {
|
|
2477
2479
|
r === "hug" && n.current && a();
|
|
2478
2480
|
}, []), { resizeTextArea: a };
|
|
2479
2481
|
}, Ni = (t, r, n, a) => ({ handleGripMouseDown: jt(
|
|
@@ -2483,8 +2485,8 @@ const ka = (t) => {
|
|
|
2483
2485
|
const l = s.currentTarget.closest(`.${N.wrapper}`);
|
|
2484
2486
|
if (!l) return;
|
|
2485
2487
|
const c = s.clientY, u = l.clientHeight, f = (g) => {
|
|
2486
|
-
const
|
|
2487
|
-
l.style.height = `${
|
|
2488
|
+
const m = g.clientY - c, h = Math.min(100, u), C = Math.max(h, u + m);
|
|
2489
|
+
l.style.height = `${C}px`;
|
|
2488
2490
|
}, d = () => {
|
|
2489
2491
|
document.removeEventListener("mousemove", f), document.removeEventListener("mouseup", d);
|
|
2490
2492
|
};
|
|
@@ -2505,23 +2507,23 @@ const ka = (t) => {
|
|
|
2505
2507
|
onKeyDown: f,
|
|
2506
2508
|
onKeyUp: d,
|
|
2507
2509
|
maxLength: g,
|
|
2508
|
-
className:
|
|
2510
|
+
className: m,
|
|
2509
2511
|
style: h,
|
|
2510
|
-
truncate:
|
|
2511
|
-
shouldShowFloatingLabelClass:
|
|
2512
|
-
"aria-invalid":
|
|
2512
|
+
truncate: C = !1,
|
|
2513
|
+
shouldShowFloatingLabelClass: v = !1,
|
|
2514
|
+
"aria-invalid": b,
|
|
2513
2515
|
"aria-errormessage": x,
|
|
2514
|
-
id:
|
|
2516
|
+
id: _,
|
|
2515
2517
|
resize: w,
|
|
2516
2518
|
...S
|
|
2517
2519
|
}, T) => {
|
|
2518
|
-
const { textareaRef: $, inputRef: E, currentRef:
|
|
2519
|
-
if (Ri(n, w, $), Ar(T, () =>
|
|
2520
|
+
const { textareaRef: $, inputRef: E, currentRef: I } = Ei(n, t);
|
|
2521
|
+
if (Ri(n, w, $), Ar(T, () => I.current, [I]), t === "textarea")
|
|
2520
2522
|
return /* @__PURE__ */ o.jsx(
|
|
2521
2523
|
"textarea",
|
|
2522
2524
|
{
|
|
2523
2525
|
ref: $,
|
|
2524
|
-
id:
|
|
2526
|
+
id: _,
|
|
2525
2527
|
value: n,
|
|
2526
2528
|
placeholder: a,
|
|
2527
2529
|
disabled: i || s,
|
|
@@ -2534,13 +2536,13 @@ const ka = (t) => {
|
|
|
2534
2536
|
className: k(
|
|
2535
2537
|
N.textarea,
|
|
2536
2538
|
N[`size-${r}`],
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
+
v && N["with-floating-label"],
|
|
2540
|
+
m
|
|
2539
2541
|
),
|
|
2540
2542
|
style: h,
|
|
2541
|
-
"aria-invalid":
|
|
2543
|
+
"aria-invalid": b,
|
|
2542
2544
|
"aria-errormessage": x,
|
|
2543
|
-
"aria-describedby": x ? `${
|
|
2545
|
+
"aria-describedby": x ? `${_}-error` : void 0,
|
|
2544
2546
|
tabIndex: 0,
|
|
2545
2547
|
"data-resize": w,
|
|
2546
2548
|
...S
|
|
@@ -2551,7 +2553,7 @@ const ka = (t) => {
|
|
|
2551
2553
|
"input",
|
|
2552
2554
|
{
|
|
2553
2555
|
ref: E,
|
|
2554
|
-
id:
|
|
2556
|
+
id: _,
|
|
2555
2557
|
value: n,
|
|
2556
2558
|
placeholder: a,
|
|
2557
2559
|
disabled: i || s,
|
|
@@ -2564,14 +2566,14 @@ const ka = (t) => {
|
|
|
2564
2566
|
className: k(
|
|
2565
2567
|
N.input,
|
|
2566
2568
|
N[`size-${r}`],
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2569
|
+
v && N["with-floating-label"],
|
|
2570
|
+
C && N.truncate,
|
|
2571
|
+
m
|
|
2570
2572
|
),
|
|
2571
2573
|
style: h,
|
|
2572
|
-
"aria-invalid":
|
|
2574
|
+
"aria-invalid": b,
|
|
2573
2575
|
"aria-errormessage": x,
|
|
2574
|
-
"aria-describedby": x ? `${
|
|
2576
|
+
"aria-describedby": x ? `${_}-error` : void 0,
|
|
2575
2577
|
tabIndex: 0,
|
|
2576
2578
|
...S
|
|
2577
2579
|
}
|
|
@@ -2581,7 +2583,7 @@ const ka = (t) => {
|
|
|
2581
2583
|
`[Input] Недопустимое значение prop 'component': "${String(t)}". Допустимые значения: 'input', 'textarea'`
|
|
2582
2584
|
), null;
|
|
2583
2585
|
}
|
|
2584
|
-
),
|
|
2586
|
+
), cr = U(
|
|
2585
2587
|
({
|
|
2586
2588
|
children: t,
|
|
2587
2589
|
size: r = "L",
|
|
@@ -2595,27 +2597,27 @@ const ka = (t) => {
|
|
|
2595
2597
|
prefixStyles: f,
|
|
2596
2598
|
suffixStyles: d,
|
|
2597
2599
|
labelProps: g,
|
|
2598
|
-
helperProps:
|
|
2600
|
+
helperProps: m,
|
|
2599
2601
|
showLimit: h = !1,
|
|
2600
|
-
maxLength:
|
|
2601
|
-
hint:
|
|
2602
|
-
showHint:
|
|
2602
|
+
maxLength: C,
|
|
2603
|
+
hint: v,
|
|
2604
|
+
showHint: b = !1,
|
|
2603
2605
|
showHintOnEmpty: x = !1,
|
|
2604
|
-
prefix:
|
|
2606
|
+
prefix: _,
|
|
2605
2607
|
suffix: w,
|
|
2606
2608
|
onSuffixClick: S,
|
|
2607
2609
|
placeholder: T,
|
|
2608
2610
|
showLabel: $ = !0,
|
|
2609
2611
|
labelClassName: E,
|
|
2610
|
-
hasValue:
|
|
2612
|
+
hasValue: I = !1,
|
|
2611
2613
|
helper: A,
|
|
2612
|
-
id:
|
|
2613
|
-
value:
|
|
2614
|
-
resize:
|
|
2614
|
+
id: O,
|
|
2615
|
+
value: D = "",
|
|
2616
|
+
resize: W,
|
|
2615
2617
|
showGrip: L = !1,
|
|
2616
|
-
...
|
|
2617
|
-
},
|
|
2618
|
-
const H = me(),
|
|
2618
|
+
...B
|
|
2619
|
+
}, q) => {
|
|
2620
|
+
const H = me(), Z = O || H, K = b && v && (I || x), ot = v && v.length > Xe ? v.substring(0, Xe) + "..." : v, rt = k(
|
|
2619
2621
|
N.wrapper,
|
|
2620
2622
|
N[`size-${r}`],
|
|
2621
2623
|
n && N.error,
|
|
@@ -2628,24 +2630,24 @@ const ka = (t) => {
|
|
|
2628
2630
|
), J = k(
|
|
2629
2631
|
N.floatingLabel,
|
|
2630
2632
|
N[r],
|
|
2631
|
-
|
|
2633
|
+
I && N.filled,
|
|
2632
2634
|
E
|
|
2633
|
-
), { handleGripMouseDown: at } = Ni(L, a, i,
|
|
2634
|
-
return /* @__PURE__ */ o.jsxs("div", { ref:
|
|
2635
|
+
), { handleGripMouseDown: at } = Ni(L, a, i, W);
|
|
2636
|
+
return /* @__PURE__ */ o.jsxs("div", { ref: q, className: N.inputBase, "data-testid": "input-base-wrapper", ...B, children: [
|
|
2635
2637
|
/* @__PURE__ */ o.jsxs(
|
|
2636
2638
|
"div",
|
|
2637
2639
|
{
|
|
2638
2640
|
className: rt,
|
|
2639
2641
|
style: c,
|
|
2640
|
-
"data-resize":
|
|
2642
|
+
"data-resize": W,
|
|
2641
2643
|
"data-show-grip": L ? "true" : "false",
|
|
2642
2644
|
...l,
|
|
2643
2645
|
children: [
|
|
2644
|
-
|
|
2646
|
+
_ && /* @__PURE__ */ o.jsx("label", { htmlFor: Z, className: N.leftSection, style: f, children: _ }),
|
|
2645
2647
|
w && /* @__PURE__ */ o.jsx(
|
|
2646
2648
|
"label",
|
|
2647
2649
|
{
|
|
2648
|
-
htmlFor:
|
|
2650
|
+
htmlFor: Z,
|
|
2649
2651
|
className: N.rightSection,
|
|
2650
2652
|
style: d,
|
|
2651
2653
|
onClick: S,
|
|
@@ -2655,7 +2657,7 @@ const ka = (t) => {
|
|
|
2655
2657
|
T && $ && /* @__PURE__ */ o.jsx(
|
|
2656
2658
|
"label",
|
|
2657
2659
|
{
|
|
2658
|
-
htmlFor:
|
|
2660
|
+
htmlFor: Z,
|
|
2659
2661
|
className: J,
|
|
2660
2662
|
style: u,
|
|
2661
2663
|
...g,
|
|
@@ -2663,7 +2665,7 @@ const ka = (t) => {
|
|
|
2663
2665
|
}
|
|
2664
2666
|
),
|
|
2665
2667
|
t,
|
|
2666
|
-
L && !h && (
|
|
2668
|
+
L && !h && (W === "fixed" || !W) && /* @__PURE__ */ o.jsx(
|
|
2667
2669
|
"div",
|
|
2668
2670
|
{
|
|
2669
2671
|
className: N.gripHandle,
|
|
@@ -2677,15 +2679,15 @@ const ka = (t) => {
|
|
|
2677
2679
|
K && /* @__PURE__ */ o.jsx(
|
|
2678
2680
|
"div",
|
|
2679
2681
|
{
|
|
2680
|
-
className: k(N.hint,
|
|
2682
|
+
className: k(N.hint, I && N.truncate),
|
|
2681
2683
|
"data-disabled": a || i,
|
|
2682
2684
|
children: ot
|
|
2683
2685
|
}
|
|
2684
2686
|
),
|
|
2685
|
-
h &&
|
|
2686
|
-
(
|
|
2687
|
+
h && C && /* @__PURE__ */ o.jsxs("div", { className: N.characterLimit, children: [
|
|
2688
|
+
(D || "").length,
|
|
2687
2689
|
" из ",
|
|
2688
|
-
|
|
2690
|
+
C
|
|
2689
2691
|
] })
|
|
2690
2692
|
]
|
|
2691
2693
|
}
|
|
@@ -2698,18 +2700,18 @@ const ka = (t) => {
|
|
|
2698
2700
|
n && N.error,
|
|
2699
2701
|
(a || i) && N.disabled
|
|
2700
2702
|
),
|
|
2701
|
-
...
|
|
2702
|
-
id: n ? `${
|
|
2703
|
+
...m,
|
|
2704
|
+
id: n ? `${Z}-error` : void 0,
|
|
2703
2705
|
children: A
|
|
2704
2706
|
}
|
|
2705
2707
|
)
|
|
2706
2708
|
] });
|
|
2707
2709
|
}
|
|
2708
2710
|
);
|
|
2709
|
-
|
|
2711
|
+
cr.displayName = "InputWrapperComponent";
|
|
2710
2712
|
const Ye = Object.assign(Ii, {
|
|
2711
|
-
Wrapper:
|
|
2712
|
-
}),
|
|
2713
|
+
Wrapper: cr
|
|
2714
|
+
}), dr = U(
|
|
2713
2715
|
({
|
|
2714
2716
|
component: t = "input",
|
|
2715
2717
|
size: r = "L",
|
|
@@ -2723,33 +2725,33 @@ const Ye = Object.assign(Ii, {
|
|
|
2723
2725
|
helper: f,
|
|
2724
2726
|
prefix: d,
|
|
2725
2727
|
suffix: g,
|
|
2726
|
-
id:
|
|
2728
|
+
id: m,
|
|
2727
2729
|
onFocus: h,
|
|
2728
|
-
onBlur:
|
|
2729
|
-
onKeyDown:
|
|
2730
|
-
onSuffixClick:
|
|
2730
|
+
onBlur: C,
|
|
2731
|
+
onKeyDown: v,
|
|
2732
|
+
onSuffixClick: b,
|
|
2731
2733
|
onChange: x,
|
|
2732
|
-
value:
|
|
2734
|
+
value: _ = "",
|
|
2733
2735
|
wrapperProps: w,
|
|
2734
2736
|
wrapperStyles: S,
|
|
2735
2737
|
floatingLabelStyles: T,
|
|
2736
2738
|
prefixStyles: $,
|
|
2737
2739
|
suffixStyles: E,
|
|
2738
|
-
textareaStyles:
|
|
2740
|
+
textareaStyles: I,
|
|
2739
2741
|
labelProps: A,
|
|
2740
|
-
helperProps:
|
|
2741
|
-
showLimit:
|
|
2742
|
-
maxLength:
|
|
2742
|
+
helperProps: O,
|
|
2743
|
+
showLimit: D = !1,
|
|
2744
|
+
maxLength: W,
|
|
2743
2745
|
inputProps: L,
|
|
2744
|
-
hint:
|
|
2745
|
-
showHint:
|
|
2746
|
+
hint: B,
|
|
2747
|
+
showHint: q = !1,
|
|
2746
2748
|
showHintOnEmpty: H = !1,
|
|
2747
|
-
truncate:
|
|
2749
|
+
truncate: Z = !1,
|
|
2748
2750
|
resize: K,
|
|
2749
2751
|
showGrip: ot = !1,
|
|
2750
2752
|
...rt
|
|
2751
2753
|
}, J) => {
|
|
2752
|
-
const at = me(), st =
|
|
2754
|
+
const at = me(), st = m || at, [wt, yt] = ft(_), it = _ !== void 0 ? _ : wt, Tt = (it || "").length > 0, ut = it || "", Mt = c && (r === "XL" || t === "textarea") && !d, ee = jt(
|
|
2753
2755
|
(Q) => {
|
|
2754
2756
|
var tt;
|
|
2755
2757
|
i || s || (h == null || h(), (tt = L == null ? void 0 : L.onFocus) == null || tt.call(
|
|
@@ -2758,7 +2760,7 @@ const Ye = Object.assign(Ii, {
|
|
|
2758
2760
|
));
|
|
2759
2761
|
},
|
|
2760
2762
|
[h, L, i, s]
|
|
2761
|
-
),
|
|
2763
|
+
), Zt = jt(
|
|
2762
2764
|
(Q) => {
|
|
2763
2765
|
var tt;
|
|
2764
2766
|
if (Q.key === "Tab") {
|
|
@@ -2775,27 +2777,27 @@ const Ye = Object.assign(Ii, {
|
|
|
2775
2777
|
(Q) => {
|
|
2776
2778
|
var vt;
|
|
2777
2779
|
const tt = Q.target.closest(`.${N.wrapper}`);
|
|
2778
|
-
tt && tt.classList.remove(N.tabFocused),
|
|
2780
|
+
tt && tt.classList.remove(N.tabFocused), C == null || C(), (vt = L == null ? void 0 : L.onBlur) == null || vt.call(
|
|
2779
2781
|
L,
|
|
2780
2782
|
Q
|
|
2781
2783
|
);
|
|
2782
2784
|
},
|
|
2783
|
-
[
|
|
2785
|
+
[C, L]
|
|
2784
2786
|
), ne = jt(
|
|
2785
2787
|
(Q) => {
|
|
2786
2788
|
var vt;
|
|
2787
2789
|
if (i || s) return;
|
|
2788
2790
|
const tt = Q.target.value;
|
|
2789
|
-
|
|
2791
|
+
yt(tt), x == null || x(tt, Q), (vt = L == null ? void 0 : L.onChange) == null || vt.call(
|
|
2790
2792
|
L,
|
|
2791
2793
|
Q
|
|
2792
2794
|
);
|
|
2793
2795
|
},
|
|
2794
2796
|
[x, L, i, s]
|
|
2795
2797
|
);
|
|
2796
|
-
return
|
|
2797
|
-
|
|
2798
|
-
}, [
|
|
2798
|
+
return gt(() => {
|
|
2799
|
+
yt(_ || "");
|
|
2800
|
+
}, [_]), /* @__PURE__ */ o.jsx(
|
|
2799
2801
|
Ye.Wrapper,
|
|
2800
2802
|
{
|
|
2801
2803
|
ref: J,
|
|
@@ -2810,22 +2812,22 @@ const Ye = Object.assign(Ii, {
|
|
|
2810
2812
|
prefixStyles: $,
|
|
2811
2813
|
suffixStyles: E,
|
|
2812
2814
|
labelProps: A,
|
|
2813
|
-
helperProps:
|
|
2814
|
-
showLimit:
|
|
2815
|
-
maxLength:
|
|
2816
|
-
hint:
|
|
2817
|
-
showHint:
|
|
2815
|
+
helperProps: O,
|
|
2816
|
+
showLimit: D,
|
|
2817
|
+
maxLength: W,
|
|
2818
|
+
hint: B,
|
|
2819
|
+
showHint: q,
|
|
2818
2820
|
showHintOnEmpty: H,
|
|
2819
2821
|
prefix: d,
|
|
2820
2822
|
suffix: g,
|
|
2821
|
-
onSuffixClick:
|
|
2823
|
+
onSuffixClick: b,
|
|
2822
2824
|
placeholder: l,
|
|
2823
2825
|
showLabel: c,
|
|
2824
2826
|
labelClassName: u,
|
|
2825
2827
|
hasValue: Tt,
|
|
2826
2828
|
helper: f,
|
|
2827
2829
|
id: st,
|
|
2828
|
-
value:
|
|
2830
|
+
value: ut,
|
|
2829
2831
|
showGrip: ot,
|
|
2830
2832
|
resize: K,
|
|
2831
2833
|
...rt,
|
|
@@ -2834,20 +2836,20 @@ const Ye = Object.assign(Ii, {
|
|
|
2834
2836
|
{
|
|
2835
2837
|
component: t,
|
|
2836
2838
|
size: r,
|
|
2837
|
-
value:
|
|
2839
|
+
value: ut,
|
|
2838
2840
|
placeholder: l,
|
|
2839
2841
|
disabled: i,
|
|
2840
2842
|
loading: s,
|
|
2841
2843
|
onFocus: ee,
|
|
2842
2844
|
onBlur: re,
|
|
2843
2845
|
onChange: ne,
|
|
2844
|
-
onKeyDown:
|
|
2845
|
-
onKeyUp:
|
|
2846
|
-
maxLength:
|
|
2847
|
-
truncate:
|
|
2846
|
+
onKeyDown: v,
|
|
2847
|
+
onKeyUp: Zt,
|
|
2848
|
+
maxLength: W,
|
|
2849
|
+
truncate: Z,
|
|
2848
2850
|
"data-empty": !Tt,
|
|
2849
|
-
shouldShowFloatingLabelClass:
|
|
2850
|
-
style: t === "textarea" ?
|
|
2851
|
+
shouldShowFloatingLabelClass: Mt,
|
|
2852
|
+
style: t === "textarea" ? I : void 0,
|
|
2851
2853
|
"aria-invalid": !!a,
|
|
2852
2854
|
"aria-errormessage": a ? `${st}-error` : void 0,
|
|
2853
2855
|
id: st,
|
|
@@ -2911,7 +2913,7 @@ const Ye = Object.assign(Ii, {
|
|
|
2911
2913
|
default:
|
|
2912
2914
|
return 12;
|
|
2913
2915
|
}
|
|
2914
|
-
},
|
|
2916
|
+
}, Pi = (t, r, n, a) => ({
|
|
2915
2917
|
wrapperStyles: {
|
|
2916
2918
|
minHeight: t,
|
|
2917
2919
|
maxHeight: t,
|
|
@@ -2931,7 +2933,7 @@ const Ye = Object.assign(Ii, {
|
|
|
2931
2933
|
padding: "6px",
|
|
2932
2934
|
cursor: "pointer"
|
|
2933
2935
|
}
|
|
2934
|
-
}),
|
|
2936
|
+
}), zi = (t, r, n, a) => ({
|
|
2935
2937
|
wrapperStyles: {
|
|
2936
2938
|
height: t,
|
|
2937
2939
|
minHeight: t,
|
|
@@ -3000,13 +3002,13 @@ const Ye = Object.assign(Ii, {
|
|
|
3000
3002
|
const i = Bi(t), s = Mi(t, r, n, a), l = Oi(t), c = Ai(t);
|
|
3001
3003
|
switch (t) {
|
|
3002
3004
|
case V.XL:
|
|
3003
|
-
return
|
|
3005
|
+
return zi(i, s, l, c);
|
|
3004
3006
|
case V.L:
|
|
3005
3007
|
return Di(i, s, l, c);
|
|
3006
3008
|
case V.M:
|
|
3007
3009
|
return Fi(i, s, l, c);
|
|
3008
3010
|
case V.S:
|
|
3009
|
-
return
|
|
3011
|
+
return Pi(i, s, l, c);
|
|
3010
3012
|
default:
|
|
3011
3013
|
return {
|
|
3012
3014
|
wrapperStyles: {},
|
|
@@ -3015,7 +3017,7 @@ const Ye = Object.assign(Ii, {
|
|
|
3015
3017
|
suffixStyles: {}
|
|
3016
3018
|
};
|
|
3017
3019
|
}
|
|
3018
|
-
},
|
|
3020
|
+
}, Cc = U(
|
|
3019
3021
|
({
|
|
3020
3022
|
value: t = "",
|
|
3021
3023
|
onChange: r,
|
|
@@ -3029,55 +3031,55 @@ const Ye = Object.assign(Ii, {
|
|
|
3029
3031
|
inputProps: f,
|
|
3030
3032
|
error: d,
|
|
3031
3033
|
disabled: g,
|
|
3032
|
-
loading:
|
|
3034
|
+
loading: m,
|
|
3033
3035
|
helper: h,
|
|
3034
|
-
prefix:
|
|
3035
|
-
suffix:
|
|
3036
|
-
clearable:
|
|
3036
|
+
prefix: C,
|
|
3037
|
+
suffix: v,
|
|
3038
|
+
clearable: b = !1,
|
|
3037
3039
|
id: x,
|
|
3038
|
-
showLabel:
|
|
3040
|
+
showLabel: _ = !0,
|
|
3039
3041
|
onFocus: w,
|
|
3040
3042
|
onBlur: S,
|
|
3041
3043
|
onSuffixClick: T,
|
|
3042
3044
|
onClear: $,
|
|
3043
3045
|
className: E,
|
|
3044
|
-
truncate:
|
|
3046
|
+
truncate: I = !0,
|
|
3045
3047
|
hint: A,
|
|
3046
|
-
showHint:
|
|
3047
|
-
showHintOnEmpty:
|
|
3048
|
-
wrapperProps:
|
|
3048
|
+
showHint: O = !1,
|
|
3049
|
+
showHintOnEmpty: D = !1,
|
|
3050
|
+
wrapperProps: W,
|
|
3049
3051
|
labelProps: L,
|
|
3050
|
-
helperProps:
|
|
3051
|
-
...
|
|
3052
|
+
helperProps: B,
|
|
3053
|
+
...q
|
|
3052
3054
|
}, H) => {
|
|
3053
|
-
const
|
|
3055
|
+
const Z = (t || "").length > 0, K = u === V.XL, ot = !!C, rt = K && _ && !C, J = b && Z && !(g || m), at = () => {
|
|
3054
3056
|
r == null || r(""), $ == null || $();
|
|
3055
3057
|
}, st = () => {
|
|
3056
3058
|
J && at(), T == null || T();
|
|
3057
3059
|
}, wt = J ? /* @__PURE__ */ o.jsx(
|
|
3058
|
-
|
|
3060
|
+
lr,
|
|
3059
3061
|
{
|
|
3060
3062
|
size: u === V.S || u === V.M ? "xs" : "sm",
|
|
3061
3063
|
color: "var(--icon-secondary)",
|
|
3062
3064
|
style: { cursor: "pointer" },
|
|
3063
3065
|
"data-testid": "x-icon"
|
|
3064
3066
|
}
|
|
3065
|
-
) :
|
|
3067
|
+
) : v, yt = {
|
|
3066
3068
|
type: n,
|
|
3067
3069
|
minLength: s,
|
|
3068
3070
|
autoComplete: l,
|
|
3069
3071
|
autoFocus: c,
|
|
3070
3072
|
...f
|
|
3071
|
-
}, it = Wi(u, rt,
|
|
3073
|
+
}, it = Wi(u, rt, Z, ot);
|
|
3072
3074
|
return /* @__PURE__ */ o.jsx(
|
|
3073
|
-
|
|
3075
|
+
dr,
|
|
3074
3076
|
{
|
|
3075
3077
|
size: u,
|
|
3076
3078
|
error: d,
|
|
3077
|
-
disabled: g ||
|
|
3078
|
-
loading:
|
|
3079
|
+
disabled: g || m,
|
|
3080
|
+
loading: m,
|
|
3079
3081
|
helper: h,
|
|
3080
|
-
prefix:
|
|
3082
|
+
prefix: C,
|
|
3081
3083
|
suffix: wt,
|
|
3082
3084
|
id: x,
|
|
3083
3085
|
showLabel: rt,
|
|
@@ -3092,39 +3094,39 @@ const Ye = Object.assign(Ii, {
|
|
|
3092
3094
|
floatingLabelStyles: it.floatingLabelStyles,
|
|
3093
3095
|
prefixStyles: it.prefixStyles,
|
|
3094
3096
|
suffixStyles: it.suffixStyles,
|
|
3095
|
-
wrapperProps:
|
|
3097
|
+
wrapperProps: W,
|
|
3096
3098
|
labelProps: L,
|
|
3097
|
-
helperProps:
|
|
3099
|
+
helperProps: B,
|
|
3098
3100
|
showLimit: !1,
|
|
3099
3101
|
maxLength: i,
|
|
3100
|
-
inputProps:
|
|
3102
|
+
inputProps: yt,
|
|
3101
3103
|
hint: A,
|
|
3102
|
-
showHint:
|
|
3103
|
-
showHintOnEmpty:
|
|
3104
|
-
truncate:
|
|
3105
|
-
...
|
|
3104
|
+
showHint: O,
|
|
3105
|
+
showHintOnEmpty: D,
|
|
3106
|
+
truncate: I,
|
|
3107
|
+
...q
|
|
3106
3108
|
}
|
|
3107
3109
|
);
|
|
3108
3110
|
}
|
|
3109
|
-
),
|
|
3111
|
+
), pt = {
|
|
3110
3112
|
M: "M",
|
|
3111
3113
|
L: "L"
|
|
3112
3114
|
}, Qt = {
|
|
3113
3115
|
M: "12px",
|
|
3114
3116
|
L: "16px"
|
|
3115
|
-
},
|
|
3117
|
+
}, qi = {
|
|
3116
3118
|
M: "xs",
|
|
3117
3119
|
L: "sm"
|
|
3118
3120
|
}, Kt = {
|
|
3119
3121
|
FILL: "fill",
|
|
3120
3122
|
FIXED: "fixed"
|
|
3121
|
-
},
|
|
3123
|
+
}, _e = {
|
|
3122
3124
|
M: "112px",
|
|
3123
3125
|
L: "56px"
|
|
3124
|
-
},
|
|
3126
|
+
}, Ot = {
|
|
3125
3127
|
M: "48px",
|
|
3126
3128
|
L: "22px"
|
|
3127
|
-
},
|
|
3129
|
+
}, St = {
|
|
3128
3130
|
M: "12px 12px 12px 12px",
|
|
3129
3131
|
L: "16px 16px 16px 16px",
|
|
3130
3132
|
L_WITH_PREFIX: "12px 16px 12px 16px",
|
|
@@ -3133,58 +3135,58 @@ const Ye = Object.assign(Ii, {
|
|
|
3133
3135
|
M: 48,
|
|
3134
3136
|
L: 56,
|
|
3135
3137
|
XL: 112
|
|
3136
|
-
},
|
|
3137
|
-
if (t ===
|
|
3138
|
-
return
|
|
3138
|
+
}, Hi = (t, r) => {
|
|
3139
|
+
if (t === pt.M)
|
|
3140
|
+
return _e.M;
|
|
3139
3141
|
if (r)
|
|
3140
3142
|
return `${r}px`;
|
|
3141
3143
|
switch (t) {
|
|
3142
|
-
case
|
|
3143
|
-
return
|
|
3144
|
+
case pt.L:
|
|
3145
|
+
return _e.L;
|
|
3144
3146
|
default:
|
|
3145
|
-
return
|
|
3147
|
+
return _e.L;
|
|
3146
3148
|
}
|
|
3147
|
-
},
|
|
3148
|
-
if (t ===
|
|
3149
|
-
return
|
|
3149
|
+
}, Vi = (t, r) => {
|
|
3150
|
+
if (t === pt.M)
|
|
3151
|
+
return Ot.M;
|
|
3150
3152
|
if (r)
|
|
3151
3153
|
switch (r) {
|
|
3152
3154
|
case $t.M:
|
|
3153
3155
|
case $t.L:
|
|
3154
|
-
return
|
|
3156
|
+
return Ot.L;
|
|
3155
3157
|
case $t.XL:
|
|
3156
|
-
return
|
|
3158
|
+
return Ot.M;
|
|
3157
3159
|
default:
|
|
3158
|
-
return
|
|
3160
|
+
return Ot.L;
|
|
3159
3161
|
}
|
|
3160
3162
|
switch (t) {
|
|
3161
|
-
case
|
|
3162
|
-
return
|
|
3163
|
+
case pt.L:
|
|
3164
|
+
return Ot.L;
|
|
3163
3165
|
default:
|
|
3164
|
-
return
|
|
3166
|
+
return Ot.L;
|
|
3165
3167
|
}
|
|
3166
|
-
},
|
|
3167
|
-
if (t ===
|
|
3168
|
-
return
|
|
3168
|
+
}, Zi = (t, r, n) => {
|
|
3169
|
+
if (t === pt.M)
|
|
3170
|
+
return St.M;
|
|
3169
3171
|
if (r)
|
|
3170
3172
|
switch (r) {
|
|
3171
3173
|
case $t.M:
|
|
3172
|
-
return
|
|
3174
|
+
return St.L_WITH_PREFIX;
|
|
3173
3175
|
case $t.L:
|
|
3174
|
-
return n ?
|
|
3176
|
+
return n ? St.L_FLOATING_LABEL : St.L;
|
|
3175
3177
|
case $t.XL:
|
|
3176
|
-
return
|
|
3178
|
+
return St.L;
|
|
3177
3179
|
default:
|
|
3178
|
-
return
|
|
3180
|
+
return St.L;
|
|
3179
3181
|
}
|
|
3180
3182
|
switch (t) {
|
|
3181
|
-
case
|
|
3182
|
-
return n ?
|
|
3183
|
+
case pt.L:
|
|
3184
|
+
return n ? St.L_FLOATING_LABEL : St.L;
|
|
3183
3185
|
default:
|
|
3184
|
-
return
|
|
3186
|
+
return St.L;
|
|
3185
3187
|
}
|
|
3186
3188
|
}, Xi = (t, r) => {
|
|
3187
|
-
if (t ===
|
|
3189
|
+
if (t === pt.M)
|
|
3188
3190
|
return "M";
|
|
3189
3191
|
if (r)
|
|
3190
3192
|
switch (r) {
|
|
@@ -3198,8 +3200,8 @@ const Ye = Object.assign(Ii, {
|
|
|
3198
3200
|
return "L";
|
|
3199
3201
|
}
|
|
3200
3202
|
return t;
|
|
3201
|
-
}, Yi = (t) =>
|
|
3202
|
-
const i =
|
|
3203
|
+
}, Yi = (t) => qi[t], Gi = (t) => Qt[t], Ui = (t, r, n, a) => {
|
|
3204
|
+
const i = Hi(t, r), s = Vi(t, r), l = Zi(t, r, n);
|
|
3203
3205
|
return {
|
|
3204
3206
|
wrapperStyles: {
|
|
3205
3207
|
minHeight: i,
|
|
@@ -3211,13 +3213,13 @@ const Ye = Object.assign(Ii, {
|
|
|
3211
3213
|
padding: l
|
|
3212
3214
|
},
|
|
3213
3215
|
floatingLabelStyles: {
|
|
3214
|
-
left: t ===
|
|
3216
|
+
left: t === pt.M ? Qt.M : Qt.L,
|
|
3215
3217
|
transformOrigin: "left top",
|
|
3216
|
-
top: r === 112 && n && t ===
|
|
3218
|
+
top: r === 112 && n && t === pt.L ? Qt.L : void 0
|
|
3217
3219
|
},
|
|
3218
3220
|
suffixStyles: {
|
|
3219
3221
|
right: Gi(t),
|
|
3220
|
-
top: r === 48 && t ===
|
|
3222
|
+
top: r === 48 && t === pt.L ? "11px" : void 0,
|
|
3221
3223
|
boxSizing: "border-box"
|
|
3222
3224
|
},
|
|
3223
3225
|
textareaStyles: {
|
|
@@ -3228,7 +3230,7 @@ const Ye = Object.assign(Ii, {
|
|
|
3228
3230
|
...a === Kt.FIXED && r && { height: s }
|
|
3229
3231
|
}
|
|
3230
3232
|
};
|
|
3231
|
-
},
|
|
3233
|
+
}, wc = U(
|
|
3232
3234
|
({
|
|
3233
3235
|
value: t = "",
|
|
3234
3236
|
onChange: r,
|
|
@@ -3236,54 +3238,54 @@ const Ye = Object.assign(Ii, {
|
|
|
3236
3238
|
maxLength: a,
|
|
3237
3239
|
minLength: i,
|
|
3238
3240
|
autoFocus: s,
|
|
3239
|
-
size: l =
|
|
3241
|
+
size: l = pt.L,
|
|
3240
3242
|
textareaProps: c,
|
|
3241
3243
|
error: u,
|
|
3242
3244
|
disabled: f,
|
|
3243
3245
|
loading: d,
|
|
3244
3246
|
helper: g,
|
|
3245
|
-
suffix:
|
|
3247
|
+
suffix: m,
|
|
3246
3248
|
clearable: h = !1,
|
|
3247
|
-
id:
|
|
3248
|
-
showLabel:
|
|
3249
|
-
onFocus:
|
|
3249
|
+
id: C,
|
|
3250
|
+
showLabel: v = !0,
|
|
3251
|
+
onFocus: b,
|
|
3250
3252
|
onBlur: x,
|
|
3251
|
-
onClear:
|
|
3253
|
+
onClear: _,
|
|
3252
3254
|
onKeyDown: w,
|
|
3253
3255
|
className: S,
|
|
3254
3256
|
rows: T = 1,
|
|
3255
3257
|
showLimit: $ = !1,
|
|
3256
3258
|
wrapperProps: E,
|
|
3257
|
-
labelProps:
|
|
3259
|
+
labelProps: I,
|
|
3258
3260
|
helperProps: A,
|
|
3259
|
-
showGrip:
|
|
3260
|
-
minHeight:
|
|
3261
|
-
resize:
|
|
3261
|
+
showGrip: O,
|
|
3262
|
+
minHeight: D,
|
|
3263
|
+
resize: W,
|
|
3262
3264
|
...L
|
|
3263
|
-
},
|
|
3264
|
-
const
|
|
3265
|
-
r == null || r(""),
|
|
3265
|
+
}, B) => {
|
|
3266
|
+
const q = (t || "").length > 0, H = v && !!n && (l === pt.M || D !== 48), Z = h && q && !(f || d), K = () => {
|
|
3267
|
+
r == null || r(""), _ == null || _();
|
|
3266
3268
|
}, ot = () => {
|
|
3267
|
-
|
|
3268
|
-
}, rt =
|
|
3269
|
-
|
|
3269
|
+
Z && K();
|
|
3270
|
+
}, rt = Z ? /* @__PURE__ */ o.jsx(
|
|
3271
|
+
lr,
|
|
3270
3272
|
{
|
|
3271
3273
|
size: Yi(l),
|
|
3272
3274
|
color: "var(--icon-secondary)",
|
|
3273
3275
|
style: { cursor: "pointer" },
|
|
3274
3276
|
"data-testid": "x-icon"
|
|
3275
3277
|
}
|
|
3276
|
-
) :
|
|
3278
|
+
) : m, J = Ui(l, D, H && q, W), at = Xi(l, D), st = {
|
|
3277
3279
|
rows: T,
|
|
3278
3280
|
minLength: i,
|
|
3279
3281
|
autoFocus: s,
|
|
3280
|
-
resize:
|
|
3282
|
+
resize: W,
|
|
3281
3283
|
...c
|
|
3282
3284
|
};
|
|
3283
3285
|
return /* @__PURE__ */ o.jsx(
|
|
3284
|
-
|
|
3286
|
+
dr,
|
|
3285
3287
|
{
|
|
3286
|
-
ref:
|
|
3288
|
+
ref: B,
|
|
3287
3289
|
component: "textarea",
|
|
3288
3290
|
size: at,
|
|
3289
3291
|
error: u,
|
|
@@ -3292,9 +3294,9 @@ const Ye = Object.assign(Ii, {
|
|
|
3292
3294
|
onSuffixClick: ot,
|
|
3293
3295
|
helper: g,
|
|
3294
3296
|
suffix: rt,
|
|
3295
|
-
id:
|
|
3297
|
+
id: C,
|
|
3296
3298
|
showLabel: H,
|
|
3297
|
-
onFocus:
|
|
3299
|
+
onFocus: b,
|
|
3298
3300
|
onBlur: x,
|
|
3299
3301
|
onKeyDown: w,
|
|
3300
3302
|
onChange: r,
|
|
@@ -3307,22 +3309,22 @@ const Ye = Object.assign(Ii, {
|
|
|
3307
3309
|
suffixStyles: J.suffixStyles,
|
|
3308
3310
|
textareaStyles: J.textareaStyles,
|
|
3309
3311
|
wrapperProps: E,
|
|
3310
|
-
labelProps:
|
|
3312
|
+
labelProps: I,
|
|
3311
3313
|
helperProps: A,
|
|
3312
|
-
showLimit: $ && (
|
|
3314
|
+
showLimit: $ && (D === 112 || l === pt.M),
|
|
3313
3315
|
maxLength: a,
|
|
3314
3316
|
inputProps: st,
|
|
3315
|
-
resize:
|
|
3316
|
-
showGrip:
|
|
3317
|
+
resize: W,
|
|
3318
|
+
showGrip: O,
|
|
3317
3319
|
...L
|
|
3318
3320
|
}
|
|
3319
3321
|
);
|
|
3320
3322
|
}
|
|
3321
|
-
), Ki = "_helper_1jq7j_16",
|
|
3323
|
+
), Ki = "_helper_1jq7j_16", pe = {
|
|
3322
3324
|
helper: Ki,
|
|
3323
3325
|
"helper--error": "_helper--error_1jq7j_28",
|
|
3324
3326
|
"helper--disabled": "_helper--disabled_1jq7j_33"
|
|
3325
|
-
},
|
|
3327
|
+
}, kc = ({
|
|
3326
3328
|
title: t,
|
|
3327
3329
|
error: r,
|
|
3328
3330
|
className: n = "",
|
|
@@ -3333,9 +3335,9 @@ const Ye = Object.assign(Ii, {
|
|
|
3333
3335
|
"aria-describedby": c
|
|
3334
3336
|
}) => {
|
|
3335
3337
|
const u = !!r, f = k(
|
|
3336
|
-
|
|
3337
|
-
u &&
|
|
3338
|
-
i &&
|
|
3338
|
+
pe.helper,
|
|
3339
|
+
u && pe["helper--error"],
|
|
3340
|
+
i && pe["helper--disabled"],
|
|
3339
3341
|
n
|
|
3340
3342
|
), d = i ? t : r || t;
|
|
3341
3343
|
return /* @__PURE__ */ o.jsx(
|
|
@@ -3349,7 +3351,7 @@ const Ye = Object.assign(Ii, {
|
|
|
3349
3351
|
children: /* @__PURE__ */ o.jsx("p", { children: d })
|
|
3350
3352
|
}
|
|
3351
3353
|
);
|
|
3352
|
-
}, Ji = "_radio_1n8zx_59", Qi = "_checked_1n8zx_80", tl = "_error_1n8zx_85", el = "_disabled_1n8zx_94", rl = "_icon_1n8zx_130", nl = "_small_1n8zx_138", ol = "_medium_1n8zx_145", al = "_large_1n8zx_152", sl = "_label_1n8zx_159", il = "_container_1n8zx_185", ll = "_input_1n8zx_198", cl = "_card_1n8zx_205", dl = "_smallCard_1n8zx_211", ul = "_mediumCard_1n8zx_215",
|
|
3354
|
+
}, Ji = "_radio_1n8zx_59", Qi = "_checked_1n8zx_80", tl = "_error_1n8zx_85", el = "_disabled_1n8zx_94", rl = "_icon_1n8zx_130", nl = "_small_1n8zx_138", ol = "_medium_1n8zx_145", al = "_large_1n8zx_152", sl = "_label_1n8zx_159", il = "_container_1n8zx_185", ll = "_input_1n8zx_198", cl = "_card_1n8zx_205", dl = "_smallCard_1n8zx_211", ul = "_mediumCard_1n8zx_215", _l = "_largeCard_1n8zx_219", _t = {
|
|
3353
3355
|
default: "_default_1n8zx_53",
|
|
3354
3356
|
radio: Ji,
|
|
3355
3357
|
checked: Qi,
|
|
@@ -3365,8 +3367,8 @@ const Ye = Object.assign(Ii, {
|
|
|
3365
3367
|
card: cl,
|
|
3366
3368
|
smallCard: dl,
|
|
3367
3369
|
mediumCard: ul,
|
|
3368
|
-
largeCard:
|
|
3369
|
-
},
|
|
3370
|
+
largeCard: _l
|
|
3371
|
+
}, pl = "radio-container-", fl = "radio-label", ur = U(
|
|
3370
3372
|
(t, r) => {
|
|
3371
3373
|
const {
|
|
3372
3374
|
name: n,
|
|
@@ -3379,20 +3381,20 @@ const Ye = Object.assign(Ii, {
|
|
|
3379
3381
|
checked: f = !1,
|
|
3380
3382
|
containerClassName: d,
|
|
3381
3383
|
className: g,
|
|
3382
|
-
children:
|
|
3384
|
+
children: m,
|
|
3383
3385
|
clickable: h = "all",
|
|
3384
|
-
mode:
|
|
3385
|
-
tabIndex:
|
|
3386
|
-
style:
|
|
3386
|
+
mode: C = "default",
|
|
3387
|
+
tabIndex: v,
|
|
3388
|
+
style: b,
|
|
3387
3389
|
containerStyle: x,
|
|
3388
|
-
onChange:
|
|
3390
|
+
onChange: _,
|
|
3389
3391
|
"data-testid": w,
|
|
3390
3392
|
...S
|
|
3391
|
-
} = t, T = !!c, $ = u || l, E = h === "all",
|
|
3392
|
-
$ ||
|
|
3393
|
-
},
|
|
3394
|
-
H.key === "Enter" && !$ && (H.preventDefault(),
|
|
3395
|
-
}, L = (H) => H.stopPropagation(),
|
|
3393
|
+
} = t, T = !!c, $ = u || l, E = h === "all", I = C === "card", A = _t[`${s}Card`], O = a ?? n, D = (H) => {
|
|
3394
|
+
$ || _ == null || _(i, H);
|
|
3395
|
+
}, W = (H) => {
|
|
3396
|
+
H.key === "Enter" && !$ && (H.preventDefault(), _ == null || _(i));
|
|
3397
|
+
}, L = (H) => H.stopPropagation(), B = () => /* @__PURE__ */ o.jsxs(
|
|
3396
3398
|
"div",
|
|
3397
3399
|
{
|
|
3398
3400
|
className: k(
|
|
@@ -3405,9 +3407,9 @@ const Ye = Object.assign(Ii, {
|
|
|
3405
3407
|
},
|
|
3406
3408
|
g
|
|
3407
3409
|
),
|
|
3408
|
-
style:
|
|
3409
|
-
tabIndex:
|
|
3410
|
-
"data-testid": `${
|
|
3410
|
+
style: b,
|
|
3411
|
+
tabIndex: v || 1,
|
|
3412
|
+
"data-testid": `${pl}${O}`,
|
|
3411
3413
|
children: [
|
|
3412
3414
|
/* @__PURE__ */ o.jsx(
|
|
3413
3415
|
"input",
|
|
@@ -3416,50 +3418,50 @@ const Ye = Object.assign(Ii, {
|
|
|
3416
3418
|
"aria-invalid": T,
|
|
3417
3419
|
checked: f,
|
|
3418
3420
|
className: _t.input,
|
|
3419
|
-
"data-testid": `radio-${
|
|
3421
|
+
"data-testid": `radio-${O}`,
|
|
3420
3422
|
disabled: $,
|
|
3421
|
-
id:
|
|
3423
|
+
id: O,
|
|
3422
3424
|
name: n,
|
|
3423
3425
|
ref: r,
|
|
3424
3426
|
type: "radio",
|
|
3425
3427
|
value: i,
|
|
3426
|
-
onChange:
|
|
3428
|
+
onChange: D,
|
|
3427
3429
|
onClick: L
|
|
3428
3430
|
}
|
|
3429
3431
|
),
|
|
3430
|
-
/* @__PURE__ */ o.jsx("svg", { "data-testid": `radio-icon-${
|
|
3432
|
+
/* @__PURE__ */ o.jsx("svg", { "data-testid": `radio-icon-${O}`, viewBox: "0 0 8 8", className: _t.icon, children: /* @__PURE__ */ o.jsx("circle", { cx: 4, cy: 4, fill: "current", r: 4 }) })
|
|
3431
3433
|
]
|
|
3432
3434
|
}
|
|
3433
|
-
),
|
|
3435
|
+
), q = () => /* @__PURE__ */ o.jsxs(
|
|
3434
3436
|
"label",
|
|
3435
3437
|
{
|
|
3436
3438
|
"aria-checked": f,
|
|
3437
3439
|
"aria-disabled": $,
|
|
3438
3440
|
"data-testid": E ? w : fl,
|
|
3439
|
-
htmlFor:
|
|
3441
|
+
htmlFor: O,
|
|
3440
3442
|
style: x,
|
|
3441
3443
|
className: k(_t.label, {
|
|
3442
|
-
[k(_t.container, _t[
|
|
3443
|
-
[A]: E &&
|
|
3444
|
+
[k(_t.container, _t[C], d)]: E,
|
|
3445
|
+
[A]: E && I
|
|
3444
3446
|
}),
|
|
3445
|
-
onKeyDown:
|
|
3447
|
+
onKeyDown: W,
|
|
3446
3448
|
...S,
|
|
3447
3449
|
children: [
|
|
3448
|
-
|
|
3449
|
-
E &&
|
|
3450
|
+
B(),
|
|
3451
|
+
E && m
|
|
3450
3452
|
]
|
|
3451
3453
|
}
|
|
3452
3454
|
);
|
|
3453
|
-
return E ?
|
|
3455
|
+
return E ? q() : /* @__PURE__ */ o.jsxs(
|
|
3454
3456
|
"div",
|
|
3455
3457
|
{
|
|
3456
|
-
className: k(_t.container, _t[
|
|
3457
|
-
[A]:
|
|
3458
|
+
className: k(_t.container, _t[C], d, {
|
|
3459
|
+
[A]: I
|
|
3458
3460
|
}),
|
|
3459
3461
|
"data-testid": w,
|
|
3460
3462
|
children: [
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
+
q(),
|
|
3464
|
+
m
|
|
3463
3465
|
]
|
|
3464
3466
|
}
|
|
3465
3467
|
);
|
|
@@ -3485,45 +3487,45 @@ const Ye = Object.assign(Ii, {
|
|
|
3485
3487
|
return /* @__PURE__ */ o.jsx(
|
|
3486
3488
|
"div",
|
|
3487
3489
|
{
|
|
3488
|
-
className:
|
|
3490
|
+
className: Rt(Ge.group, Ge[f], l),
|
|
3489
3491
|
"data-testid": d ?? `radio-group-${a}`,
|
|
3490
3492
|
id: n,
|
|
3491
3493
|
ref: r,
|
|
3492
|
-
children: s.map(({ label:
|
|
3493
|
-
const
|
|
3494
|
+
children: s.map(({ label: m, value: h, disabled: C }) => {
|
|
3495
|
+
const v = `${a}-${String(h)}`, b = String(h) === String(i);
|
|
3494
3496
|
return /* @__PURE__ */ o.jsx(
|
|
3495
|
-
|
|
3497
|
+
ur,
|
|
3496
3498
|
{
|
|
3497
|
-
id:
|
|
3498
|
-
checked:
|
|
3499
|
-
"data-testid":
|
|
3500
|
-
disabled: u ||
|
|
3499
|
+
id: v,
|
|
3500
|
+
checked: b,
|
|
3501
|
+
"data-testid": v,
|
|
3502
|
+
disabled: u || C,
|
|
3501
3503
|
name: a,
|
|
3502
3504
|
value: h,
|
|
3503
3505
|
className: c,
|
|
3504
3506
|
...g,
|
|
3505
|
-
children:
|
|
3507
|
+
children: m
|
|
3506
3508
|
},
|
|
3507
|
-
|
|
3509
|
+
v
|
|
3508
3510
|
);
|
|
3509
3511
|
})
|
|
3510
3512
|
}
|
|
3511
3513
|
);
|
|
3512
3514
|
}
|
|
3513
|
-
),
|
|
3515
|
+
), Sc = Object.assign(ur, {
|
|
3514
3516
|
Group: ml
|
|
3515
|
-
}),
|
|
3516
|
-
root:
|
|
3517
|
-
unordered:
|
|
3517
|
+
}), xl = "_root_1jj3e_25", yl = "_unordered_1jj3e_39", vl = "_ordered_1jj3e_43", Cl = "_sm_1jj3e_48", wl = "_md_1jj3e_59", kl = "_lg_1jj3e_70", Sl = "_xl_1jj3e_81", fe = {
|
|
3518
|
+
root: xl,
|
|
3519
|
+
unordered: yl,
|
|
3518
3520
|
ordered: vl,
|
|
3519
3521
|
sm: Cl,
|
|
3520
3522
|
md: wl,
|
|
3521
|
-
lg:
|
|
3522
|
-
xl:
|
|
3523
|
+
lg: kl,
|
|
3524
|
+
xl: Sl
|
|
3523
3525
|
}, Ll = (t) => {
|
|
3524
3526
|
const { children: r, className: n, "data-testid": a = "list-item" } = t;
|
|
3525
3527
|
return /* @__PURE__ */ o.jsx("li", { "data-testid": a, className: n, children: r });
|
|
3526
|
-
},
|
|
3528
|
+
}, Lc = Object.assign(
|
|
3527
3529
|
U((t, r) => {
|
|
3528
3530
|
const {
|
|
3529
3531
|
variant: n = "unordered",
|
|
@@ -3538,14 +3540,14 @@ const Ye = Object.assign(Ii, {
|
|
|
3538
3540
|
{
|
|
3539
3541
|
"data-testid": l,
|
|
3540
3542
|
ref: r,
|
|
3541
|
-
className:
|
|
3543
|
+
className: Rt(fe.root, fe[n], fe[s], a),
|
|
3542
3544
|
...n === "ordered" && c,
|
|
3543
3545
|
children: i
|
|
3544
3546
|
}
|
|
3545
3547
|
);
|
|
3546
3548
|
}),
|
|
3547
3549
|
{ Item: Ll }
|
|
3548
|
-
), jl = "_wrapper_1v8xn_5", $l = "_viewport_1v8xn_12", Tl = "_mask_1v8xn_26", El = "_maskLeft_1v8xn_37", Rl = "_maskRight_1v8xn_42", Nl = "_visible_1v8xn_46", Il = "_control_1v8xn_51", Ml = "_xs_1v8xn_70", Bl = "_sm_1v8xn_73", Al = "_md_1v8xn_76", Ol = "_left_1v8xn_80",
|
|
3550
|
+
), jl = "_wrapper_1v8xn_5", $l = "_viewport_1v8xn_12", Tl = "_mask_1v8xn_26", El = "_maskLeft_1v8xn_37", Rl = "_maskRight_1v8xn_42", Nl = "_visible_1v8xn_46", Il = "_control_1v8xn_51", Ml = "_xs_1v8xn_70", Bl = "_sm_1v8xn_73", Al = "_md_1v8xn_76", Ol = "_left_1v8xn_80", Pl = "_right_1v8xn_83", ct = {
|
|
3549
3551
|
wrapper: jl,
|
|
3550
3552
|
viewport: $l,
|
|
3551
3553
|
mask: Tl,
|
|
@@ -3557,21 +3559,21 @@ const Ye = Object.assign(Ii, {
|
|
|
3557
3559
|
sm: Bl,
|
|
3558
3560
|
md: Al,
|
|
3559
3561
|
left: Ol,
|
|
3560
|
-
right:
|
|
3561
|
-
},
|
|
3562
|
+
right: Pl
|
|
3563
|
+
}, zl = "white", Dl = ({
|
|
3562
3564
|
children: t,
|
|
3563
3565
|
withControls: r = !0,
|
|
3564
3566
|
className: n,
|
|
3565
3567
|
size: a
|
|
3566
3568
|
}) => {
|
|
3567
|
-
const i =
|
|
3569
|
+
const i = Ht(null), [s, l] = ft(!1), [c, u] = ft(!1), { ref: f, bgColor: d } = ye(), g = f ?? { current: null }, m = d ?? zl, h = r && s, C = r && c, v = ({ direction: _ }) => /* @__PURE__ */ o.jsx(
|
|
3568
3570
|
"svg",
|
|
3569
3571
|
{
|
|
3570
3572
|
height: "12px",
|
|
3571
3573
|
width: "12px",
|
|
3572
3574
|
viewBox: "0 0 185.343 185.343",
|
|
3573
3575
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3574
|
-
children: /* @__PURE__ */ o.jsx("g", { transform:
|
|
3576
|
+
children: /* @__PURE__ */ o.jsx("g", { transform: _ === "left" ? "scale(-1,1) translate(-185.343,0)" : void 0, children: /* @__PURE__ */ o.jsx(
|
|
3575
3577
|
"path",
|
|
3576
3578
|
{
|
|
3577
3579
|
fill: "currentColor",
|
|
@@ -3579,30 +3581,30 @@ const Ye = Object.assign(Ii, {
|
|
|
3579
3581
|
}
|
|
3580
3582
|
) })
|
|
3581
3583
|
}
|
|
3582
|
-
),
|
|
3583
|
-
const
|
|
3584
|
-
if (!
|
|
3585
|
-
const w = Math.round(
|
|
3584
|
+
), b = () => {
|
|
3585
|
+
const _ = i.current;
|
|
3586
|
+
if (!_) return;
|
|
3587
|
+
const w = Math.round(_.scrollLeft), S = Math.round(_.scrollLeft + _.clientWidth), T = Math.round(_.scrollWidth);
|
|
3586
3588
|
l(w > 0), u(S < T);
|
|
3587
|
-
}, x = (
|
|
3589
|
+
}, x = (_) => {
|
|
3588
3590
|
const w = i.current;
|
|
3589
3591
|
if (!w) return;
|
|
3590
3592
|
const S = w.clientWidth;
|
|
3591
|
-
w.scrollBy({ left:
|
|
3593
|
+
w.scrollBy({ left: _ === "left" ? -S : S, behavior: "smooth" });
|
|
3592
3594
|
};
|
|
3593
|
-
return
|
|
3594
|
-
const
|
|
3595
|
-
if (!
|
|
3595
|
+
return gt(() => {
|
|
3596
|
+
const _ = i.current;
|
|
3597
|
+
if (!_) return;
|
|
3596
3598
|
const w = (S) => {
|
|
3597
|
-
Math.abs(S.deltaX) > Math.abs(S.deltaY) ||
|
|
3599
|
+
Math.abs(S.deltaX) > Math.abs(S.deltaY) || _.scrollWidth > _.clientWidth && (S.preventDefault(), _.scrollBy({ left: S.deltaY, behavior: "auto" }));
|
|
3598
3600
|
};
|
|
3599
|
-
return
|
|
3600
|
-
}, []),
|
|
3601
|
-
|
|
3602
|
-
const
|
|
3603
|
-
if (
|
|
3604
|
-
return
|
|
3605
|
-
|
|
3601
|
+
return _.addEventListener("wheel", w, { passive: !1 }), () => _.removeEventListener("wheel", w);
|
|
3602
|
+
}, []), gt(() => {
|
|
3603
|
+
b();
|
|
3604
|
+
const _ = i.current;
|
|
3605
|
+
if (_)
|
|
3606
|
+
return _.addEventListener("scroll", b, { passive: !0 }), window.addEventListener("resize", b), () => {
|
|
3607
|
+
_.removeEventListener("scroll", b), window.removeEventListener("resize", b);
|
|
3606
3608
|
};
|
|
3607
3609
|
}, []), /* @__PURE__ */ o.jsxs("div", { ref: g, className: k(ct.wrapper, n), children: [
|
|
3608
3610
|
h && /* @__PURE__ */ o.jsx(
|
|
@@ -3610,16 +3612,16 @@ const Ye = Object.assign(Ii, {
|
|
|
3610
3612
|
{
|
|
3611
3613
|
className: k(ct.mask, ct.maskLeft, s && ct.visible),
|
|
3612
3614
|
style: {
|
|
3613
|
-
background: `linear-gradient(to right, ${
|
|
3615
|
+
background: `linear-gradient(to right, ${m} 17%, transparent 80%)`
|
|
3614
3616
|
}
|
|
3615
3617
|
}
|
|
3616
3618
|
),
|
|
3617
|
-
|
|
3619
|
+
C && /* @__PURE__ */ o.jsx(
|
|
3618
3620
|
"div",
|
|
3619
3621
|
{
|
|
3620
3622
|
className: k(ct.mask, ct.maskRight, c && ct.visible),
|
|
3621
3623
|
style: {
|
|
3622
|
-
background: `linear-gradient(to left, ${
|
|
3624
|
+
background: `linear-gradient(to left, ${m} 17%, transparent 80%)`
|
|
3623
3625
|
}
|
|
3624
3626
|
}
|
|
3625
3627
|
),
|
|
@@ -3632,10 +3634,10 @@ const Ye = Object.assign(Ii, {
|
|
|
3632
3634
|
"aria-hidden": "true",
|
|
3633
3635
|
className: k(ct.control, ct.left, ct[a]),
|
|
3634
3636
|
onClick: () => x("left"),
|
|
3635
|
-
children: /* @__PURE__ */ o.jsx(
|
|
3637
|
+
children: /* @__PURE__ */ o.jsx(v, { direction: "left" })
|
|
3636
3638
|
}
|
|
3637
3639
|
),
|
|
3638
|
-
|
|
3640
|
+
C && /* @__PURE__ */ o.jsx(
|
|
3639
3641
|
"button",
|
|
3640
3642
|
{
|
|
3641
3643
|
type: "button",
|
|
@@ -3643,25 +3645,25 @@ const Ye = Object.assign(Ii, {
|
|
|
3643
3645
|
"aria-hidden": "true",
|
|
3644
3646
|
className: k(ct.control, ct.right, ct[a]),
|
|
3645
3647
|
onClick: () => x("right"),
|
|
3646
|
-
children: /* @__PURE__ */ o.jsx(
|
|
3648
|
+
children: /* @__PURE__ */ o.jsx(v, { direction: "right" })
|
|
3647
3649
|
}
|
|
3648
3650
|
)
|
|
3649
3651
|
] });
|
|
3650
|
-
}, Fl = "_tabBar_1ndpm_82", Wl = "_primary_1ndpm_88",
|
|
3652
|
+
}, Fl = "_tabBar_1ndpm_82", Wl = "_primary_1ndpm_88", ql = "_secondary_1ndpm_93", Hl = "_tab_1ndpm_82", Vl = "_md_1ndpm_125", Zl = "_sm_1ndpm_129", Xl = "_xs_1ndpm_133", Yl = "_disabled_1ndpm_137", Gl = "_selected_1ndpm_143", Ul = "_tabLabel_1ndpm_222", Kl = "_tabPrefix_1ndpm_234", Jl = "_tabPostfix_1ndpm_270", et = {
|
|
3651
3653
|
tabBar: Fl,
|
|
3652
3654
|
primary: Wl,
|
|
3653
|
-
secondary:
|
|
3654
|
-
tab:
|
|
3655
|
-
md:
|
|
3656
|
-
sm:
|
|
3655
|
+
secondary: ql,
|
|
3656
|
+
tab: Hl,
|
|
3657
|
+
md: Vl,
|
|
3658
|
+
sm: Zl,
|
|
3657
3659
|
xs: Xl,
|
|
3658
3660
|
disabled: Yl,
|
|
3659
3661
|
selected: Gl,
|
|
3660
3662
|
tabLabel: Ul,
|
|
3661
3663
|
tabPrefix: Kl,
|
|
3662
3664
|
tabPostfix: Jl
|
|
3663
|
-
}, Ql = "md", t1 = !1, e1 = 8, r1 = "top-right-inside",
|
|
3664
|
-
const t = er(
|
|
3665
|
+
}, Ql = "md", t1 = !1, e1 = 8, r1 = "top-right-inside", _r = tr(null), pr = () => {
|
|
3666
|
+
const t = er(_r);
|
|
3665
3667
|
if (!t) throw new Error("useTabs должен использоваться внутри TabsProvider");
|
|
3666
3668
|
return t;
|
|
3667
3669
|
}, n1 = ({
|
|
@@ -3670,10 +3672,10 @@ const Ye = Object.assign(Ii, {
|
|
|
3670
3672
|
activeTab: n,
|
|
3671
3673
|
onChange: a
|
|
3672
3674
|
}) => {
|
|
3673
|
-
const [i, s] =
|
|
3675
|
+
const [i, s] = ft(r), l = n !== void 0, c = l ? n : i, u = (f) => {
|
|
3674
3676
|
l || s(f), a && a(f);
|
|
3675
3677
|
};
|
|
3676
|
-
return /* @__PURE__ */ o.jsx(
|
|
3678
|
+
return /* @__PURE__ */ o.jsx(_r.Provider, { value: { activeTab: c, setTab: u }, children: t });
|
|
3677
3679
|
}, o1 = ({
|
|
3678
3680
|
mode: t,
|
|
3679
3681
|
item: r,
|
|
@@ -3689,9 +3691,9 @@ const Ye = Object.assign(Ii, {
|
|
|
3689
3691
|
label: f,
|
|
3690
3692
|
prefix: d,
|
|
3691
3693
|
prefixWrapperProps: g = {},
|
|
3692
|
-
postfix:
|
|
3694
|
+
postfix: m,
|
|
3693
3695
|
postfixWrapperProps: h = {}
|
|
3694
|
-
} = r, { className:
|
|
3696
|
+
} = r, { className: C, ...v } = g, { className: b, ...x } = h, _ = {
|
|
3695
3697
|
primary: G["typography-label-3-medium"],
|
|
3696
3698
|
secondary: G["typography-label-3-regular"],
|
|
3697
3699
|
prefix: G["typography-label-3-medium"],
|
|
@@ -3705,24 +3707,24 @@ const Ye = Object.assign(Ii, {
|
|
|
3705
3707
|
[et.disabled]: l
|
|
3706
3708
|
}), T = k(
|
|
3707
3709
|
et.tabPrefix,
|
|
3708
|
-
|
|
3710
|
+
C,
|
|
3709
3711
|
et[t],
|
|
3710
|
-
|
|
3712
|
+
_.prefix,
|
|
3711
3713
|
{
|
|
3712
3714
|
[et.selected]: n,
|
|
3713
3715
|
[et.disabled]: l
|
|
3714
3716
|
}
|
|
3715
3717
|
), $ = k(
|
|
3716
3718
|
et.tabPostfix,
|
|
3717
|
-
|
|
3719
|
+
b,
|
|
3718
3720
|
et[t],
|
|
3719
|
-
|
|
3721
|
+
_.postfix,
|
|
3720
3722
|
{
|
|
3721
3723
|
[et.selected]: n,
|
|
3722
3724
|
[et.disabled]: l
|
|
3723
3725
|
}
|
|
3724
|
-
), E = k(et.tabLabel, et[t],
|
|
3725
|
-
n || l || (c(u),
|
|
3726
|
+
), E = k(et.tabLabel, et[t], _[t]), I = (O) => {
|
|
3727
|
+
n || l || (c(u), O.currentTarget.scrollIntoView({ behavior: "smooth", inline: "center", block: "nearest" }));
|
|
3726
3728
|
}, A = /* @__PURE__ */ o.jsxs(
|
|
3727
3729
|
"button",
|
|
3728
3730
|
{
|
|
@@ -3733,25 +3735,25 @@ const Ye = Object.assign(Ii, {
|
|
|
3733
3735
|
"aria-disabled": l,
|
|
3734
3736
|
"aria-controls": `tab-panel-${u}`,
|
|
3735
3737
|
"data-testid": `tab-item-${u}`,
|
|
3736
|
-
onClick:
|
|
3738
|
+
onClick: I,
|
|
3737
3739
|
children: [
|
|
3738
3740
|
d && /* @__PURE__ */ o.jsx(
|
|
3739
3741
|
"span",
|
|
3740
3742
|
{
|
|
3741
3743
|
className: T,
|
|
3742
|
-
...
|
|
3744
|
+
...v,
|
|
3743
3745
|
"data-testid": `tab-prefix-${u}`,
|
|
3744
3746
|
children: d
|
|
3745
3747
|
}
|
|
3746
3748
|
),
|
|
3747
3749
|
/* @__PURE__ */ o.jsx("span", { className: E, "data-testid": `tab-label-${u}`, children: f }),
|
|
3748
|
-
|
|
3750
|
+
m && /* @__PURE__ */ o.jsx(
|
|
3749
3751
|
"span",
|
|
3750
3752
|
{
|
|
3751
3753
|
className: $,
|
|
3752
3754
|
...x,
|
|
3753
3755
|
"data-testid": `tab-postfix-${u}`,
|
|
3754
|
-
children:
|
|
3756
|
+
children: m
|
|
3755
3757
|
}
|
|
3756
3758
|
)
|
|
3757
3759
|
]
|
|
@@ -3800,29 +3802,29 @@ const Ye = Object.assign(Ii, {
|
|
|
3800
3802
|
), i1 = ({ children: t, ...r }) => {
|
|
3801
3803
|
const { activeTab: n } = pr(), a = Array.isArray(t) ? t : [t], i = (s, l) => be.isValidElement(s) && typeof s.props == "object" && s.props !== null && l in s.props;
|
|
3802
3804
|
return /* @__PURE__ */ o.jsx("div", { "data-testid": "tab-content", ...r, children: a.map((s) => i(s, "tabValue") && String(s.props.tabValue) === n ? s : null) });
|
|
3803
|
-
},
|
|
3805
|
+
}, jc = {
|
|
3804
3806
|
Provider: n1,
|
|
3805
3807
|
Content: i1,
|
|
3806
3808
|
Panel: s1,
|
|
3807
3809
|
Bar: a1
|
|
3808
|
-
}, l1 = "_root_1fbbw_34", c1 = "_open_1fbbw_51", d1 = "_xs_1fbbw_55", u1 = "_s_1fbbw_61",
|
|
3810
|
+
}, l1 = "_root_1fbbw_34", c1 = "_open_1fbbw_51", d1 = "_xs_1fbbw_55", u1 = "_s_1fbbw_61", _1 = "_m_1fbbw_67", p1 = "_neutral_1fbbw_73", f1 = "_contrast_1fbbw_78", g1 = "_accent_1fbbw_84", h1 = "_typography_1fbbw_89", b1 = "_title_1fbbw_89", m1 = "_text_1fbbw_93", x1 = "_mediaWrapper_1fbbw_97", y1 = "_content_1fbbw_112", v1 = "_closeButton_1fbbw_116", C1 = "_hasMedia_1fbbw_142", w1 = "_buttonStack_1fbbw_148", dt = {
|
|
3809
3811
|
root: l1,
|
|
3810
3812
|
open: c1,
|
|
3811
3813
|
xs: d1,
|
|
3812
3814
|
s: u1,
|
|
3813
|
-
m:
|
|
3814
|
-
neutral:
|
|
3815
|
+
m: _1,
|
|
3816
|
+
neutral: p1,
|
|
3815
3817
|
contrast: f1,
|
|
3816
3818
|
accent: g1,
|
|
3817
3819
|
typography: h1,
|
|
3818
3820
|
title: b1,
|
|
3819
3821
|
text: m1,
|
|
3820
|
-
mediaWrapper:
|
|
3821
|
-
content:
|
|
3822
|
+
mediaWrapper: x1,
|
|
3823
|
+
content: y1,
|
|
3822
3824
|
closeButton: v1,
|
|
3823
3825
|
hasMedia: C1,
|
|
3824
3826
|
buttonStack: w1
|
|
3825
|
-
},
|
|
3827
|
+
}, k1 = () => /* @__PURE__ */ o.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", stroke: "currentColor", children: /* @__PURE__ */ o.jsx("path", { d: "M18 6 6 18M6 6l12 12" }) }), S1 = () => /* @__PURE__ */ o.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 9", fill: "currentColor", children: [
|
|
3826
3828
|
/* @__PURE__ */ o.jsx(
|
|
3827
3829
|
"path",
|
|
3828
3830
|
{
|
|
@@ -3833,15 +3835,15 @@ const Ye = Object.assign(Ii, {
|
|
|
3833
3835
|
] }), mt = {
|
|
3834
3836
|
shiftX: 64,
|
|
3835
3837
|
adjustY: 1
|
|
3836
|
-
},
|
|
3838
|
+
}, xt = { adjustX: 1, shiftY: !0 }, L1 = {
|
|
3837
3839
|
left: {
|
|
3838
3840
|
points: ["cr", "cl"],
|
|
3839
|
-
overflow:
|
|
3841
|
+
overflow: xt,
|
|
3840
3842
|
offset: [-22, 0]
|
|
3841
3843
|
},
|
|
3842
3844
|
right: {
|
|
3843
3845
|
points: ["cl", "cr"],
|
|
3844
|
-
overflow:
|
|
3846
|
+
overflow: xt,
|
|
3845
3847
|
offset: [22, 0]
|
|
3846
3848
|
},
|
|
3847
3849
|
top: {
|
|
@@ -3861,7 +3863,7 @@ const Ye = Object.assign(Ii, {
|
|
|
3861
3863
|
},
|
|
3862
3864
|
leftTop: {
|
|
3863
3865
|
points: ["tr", "tl"],
|
|
3864
|
-
overflow:
|
|
3866
|
+
overflow: xt,
|
|
3865
3867
|
offset: [-22, 0]
|
|
3866
3868
|
},
|
|
3867
3869
|
topRight: {
|
|
@@ -3871,7 +3873,7 @@ const Ye = Object.assign(Ii, {
|
|
|
3871
3873
|
},
|
|
3872
3874
|
rightTop: {
|
|
3873
3875
|
points: ["tl", "tr"],
|
|
3874
|
-
overflow:
|
|
3876
|
+
overflow: xt,
|
|
3875
3877
|
offset: [22, 0]
|
|
3876
3878
|
},
|
|
3877
3879
|
bottomRight: {
|
|
@@ -3881,7 +3883,7 @@ const Ye = Object.assign(Ii, {
|
|
|
3881
3883
|
},
|
|
3882
3884
|
rightBottom: {
|
|
3883
3885
|
points: ["bl", "br"],
|
|
3884
|
-
overflow:
|
|
3886
|
+
overflow: xt,
|
|
3885
3887
|
offset: [22, 0]
|
|
3886
3888
|
},
|
|
3887
3889
|
bottomLeft: {
|
|
@@ -3891,18 +3893,18 @@ const Ye = Object.assign(Ii, {
|
|
|
3891
3893
|
},
|
|
3892
3894
|
leftBottom: {
|
|
3893
3895
|
points: ["br", "bl"],
|
|
3894
|
-
overflow:
|
|
3896
|
+
overflow: xt,
|
|
3895
3897
|
offset: [-22, 0]
|
|
3896
3898
|
}
|
|
3897
3899
|
}, j1 = {
|
|
3898
3900
|
left: {
|
|
3899
3901
|
points: ["cr", "cl"],
|
|
3900
|
-
overflow:
|
|
3902
|
+
overflow: xt,
|
|
3901
3903
|
offset: [-16, 0]
|
|
3902
3904
|
},
|
|
3903
3905
|
right: {
|
|
3904
3906
|
points: ["cl", "cr"],
|
|
3905
|
-
overflow:
|
|
3907
|
+
overflow: xt,
|
|
3906
3908
|
offset: [16, 0]
|
|
3907
3909
|
},
|
|
3908
3910
|
top: {
|
|
@@ -3922,7 +3924,7 @@ const Ye = Object.assign(Ii, {
|
|
|
3922
3924
|
},
|
|
3923
3925
|
leftTop: {
|
|
3924
3926
|
points: ["tr", "tl"],
|
|
3925
|
-
overflow:
|
|
3927
|
+
overflow: xt,
|
|
3926
3928
|
offset: [-16, 0]
|
|
3927
3929
|
},
|
|
3928
3930
|
topRight: {
|
|
@@ -3932,7 +3934,7 @@ const Ye = Object.assign(Ii, {
|
|
|
3932
3934
|
},
|
|
3933
3935
|
rightTop: {
|
|
3934
3936
|
points: ["tl", "tr"],
|
|
3935
|
-
overflow:
|
|
3937
|
+
overflow: xt,
|
|
3936
3938
|
offset: [16, 0]
|
|
3937
3939
|
},
|
|
3938
3940
|
bottomRight: {
|
|
@@ -3942,7 +3944,7 @@ const Ye = Object.assign(Ii, {
|
|
|
3942
3944
|
},
|
|
3943
3945
|
rightBottom: {
|
|
3944
3946
|
points: ["bl", "br"],
|
|
3945
|
-
overflow:
|
|
3947
|
+
overflow: xt,
|
|
3946
3948
|
offset: [16, 0]
|
|
3947
3949
|
},
|
|
3948
3950
|
bottomLeft: {
|
|
@@ -3952,7 +3954,7 @@ const Ye = Object.assign(Ii, {
|
|
|
3952
3954
|
},
|
|
3953
3955
|
leftBottom: {
|
|
3954
3956
|
points: ["br", "bl"],
|
|
3955
|
-
overflow:
|
|
3957
|
+
overflow: xt,
|
|
3956
3958
|
offset: [-16, 0]
|
|
3957
3959
|
}
|
|
3958
3960
|
}, $1 = {
|
|
@@ -4007,11 +4009,11 @@ const Ye = Object.assign(Ii, {
|
|
|
4007
4009
|
buttonProps: u,
|
|
4008
4010
|
showClose: f
|
|
4009
4011
|
}) => {
|
|
4010
|
-
const d = ["neutral", "accent"].includes(a) ? "contrast" : "primary", g = i === "m",
|
|
4012
|
+
const d = ["neutral", "accent"].includes(a) ? "contrast" : "primary", g = i === "m", m = !!(r && g), h = !!(n && g), C = c && !!c.length, v = !!(f && g) || !f && g && !C, b = i === "xs" ? 4 : 3;
|
|
4011
4013
|
return /* @__PURE__ */ o.jsxs("div", { className: dt.content, children: [
|
|
4012
4014
|
h && /* @__PURE__ */ o.jsx("div", { className: k(dt.mediaWrapper, s.mediaWrapper), children: n }),
|
|
4013
4015
|
/* @__PURE__ */ o.jsxs("div", { className: s.textWrapper, children: [
|
|
4014
|
-
|
|
4016
|
+
m && /* @__PURE__ */ o.jsx(
|
|
4015
4017
|
he.Subtitle,
|
|
4016
4018
|
{
|
|
4017
4019
|
className: k(dt.typography, dt.title, s.typography),
|
|
@@ -4026,12 +4028,12 @@ const Ye = Object.assign(Ii, {
|
|
|
4026
4028
|
{
|
|
4027
4029
|
className: k(dt.typography, dt.text, s.typography),
|
|
4028
4030
|
typographyStyle: d,
|
|
4029
|
-
size:
|
|
4031
|
+
size: b,
|
|
4030
4032
|
children: t
|
|
4031
4033
|
}
|
|
4032
4034
|
)
|
|
4033
4035
|
] }),
|
|
4034
|
-
|
|
4036
|
+
v && /* @__PURE__ */ o.jsx(
|
|
4035
4037
|
"button",
|
|
4036
4038
|
{
|
|
4037
4039
|
type: "button",
|
|
@@ -4041,18 +4043,18 @@ const Ye = Object.assign(Ii, {
|
|
|
4041
4043
|
onClick: l,
|
|
4042
4044
|
"aria-label": "Закрыть подсказку",
|
|
4043
4045
|
"data-testid": "tooltip-close-button",
|
|
4044
|
-
children: /* @__PURE__ */ o.jsx(
|
|
4046
|
+
children: /* @__PURE__ */ o.jsx(k1, {})
|
|
4045
4047
|
}
|
|
4046
4048
|
),
|
|
4047
|
-
g &&
|
|
4048
|
-
const w = E1(
|
|
4049
|
+
g && C && /* @__PURE__ */ o.jsx("div", { className: dt.buttonStack, children: c.map((x, _) => {
|
|
4050
|
+
const w = E1(_, c.length, a), S = T1(x, w, u), { closeOnClick: T, ...$ } = S, E = (I) => {
|
|
4049
4051
|
var A;
|
|
4050
|
-
(A = $.onClick) == null || A.call($,
|
|
4052
|
+
(A = $.onClick) == null || A.call($, I), T && (l == null || l());
|
|
4051
4053
|
};
|
|
4052
|
-
return /* @__PURE__ */ o.jsx(ge, { ...$, onClick: E },
|
|
4054
|
+
return /* @__PURE__ */ o.jsx(ge, { ...$, onClick: E }, _);
|
|
4053
4055
|
}) })
|
|
4054
4056
|
] });
|
|
4055
|
-
},
|
|
4057
|
+
}, $c = ({
|
|
4056
4058
|
customContent: t,
|
|
4057
4059
|
children: r,
|
|
4058
4060
|
placement: n = "top",
|
|
@@ -4065,16 +4067,16 @@ const Ye = Object.assign(Ii, {
|
|
|
4065
4067
|
variant: f = "neutral",
|
|
4066
4068
|
size: d = "s",
|
|
4067
4069
|
text: g,
|
|
4068
|
-
title:
|
|
4070
|
+
title: m,
|
|
4069
4071
|
media: h,
|
|
4070
|
-
buttons:
|
|
4071
|
-
buttonProps:
|
|
4072
|
-
onClose:
|
|
4072
|
+
buttons: C,
|
|
4073
|
+
buttonProps: v,
|
|
4074
|
+
onClose: b,
|
|
4073
4075
|
...x
|
|
4074
4076
|
}) => {
|
|
4075
|
-
const [
|
|
4076
|
-
w(!1),
|
|
4077
|
-
},
|
|
4077
|
+
const [_, w] = ft(!1), [S, T] = ft(!1), $ = d === "m" ? L1 : j1, E = () => {
|
|
4078
|
+
w(!1), b == null || b();
|
|
4079
|
+
}, I = t || (d === "m" ? /* @__PURE__ */ o.jsx(
|
|
4078
4080
|
Ue,
|
|
4079
4081
|
{
|
|
4080
4082
|
classNames: a,
|
|
@@ -4082,11 +4084,11 @@ const Ye = Object.assign(Ii, {
|
|
|
4082
4084
|
variant: f,
|
|
4083
4085
|
size: d,
|
|
4084
4086
|
onClose: E,
|
|
4085
|
-
title:
|
|
4087
|
+
title: m,
|
|
4086
4088
|
media: h,
|
|
4087
4089
|
showClose: c,
|
|
4088
|
-
buttons:
|
|
4089
|
-
buttonProps:
|
|
4090
|
+
buttons: C,
|
|
4091
|
+
buttonProps: v
|
|
4090
4092
|
}
|
|
4091
4093
|
) : /* @__PURE__ */ o.jsx(
|
|
4092
4094
|
Ue,
|
|
@@ -4098,30 +4100,30 @@ const Ye = Object.assign(Ii, {
|
|
|
4098
4100
|
onClose: E
|
|
4099
4101
|
}
|
|
4100
4102
|
));
|
|
4101
|
-
return
|
|
4102
|
-
if (
|
|
4103
|
+
return gt(() => {
|
|
4104
|
+
if (_) {
|
|
4103
4105
|
const A = requestAnimationFrame(() => T(!0));
|
|
4104
4106
|
return () => cancelAnimationFrame(A);
|
|
4105
4107
|
}
|
|
4106
4108
|
T(!1);
|
|
4107
|
-
}, [
|
|
4108
|
-
|
|
4109
|
+
}, [_]), /* @__PURE__ */ o.jsx(
|
|
4110
|
+
Zr,
|
|
4109
4111
|
{
|
|
4110
|
-
visible:
|
|
4112
|
+
visible: _,
|
|
4111
4113
|
onVisibleChange: w,
|
|
4112
4114
|
classNames: {
|
|
4113
4115
|
root: k(dt.root, dt[f], dt[d], S && dt.open),
|
|
4114
4116
|
...x.classNames
|
|
4115
4117
|
},
|
|
4116
4118
|
placement: n,
|
|
4117
|
-
overlay: () =>
|
|
4119
|
+
overlay: () => I,
|
|
4118
4120
|
trigger: u,
|
|
4119
4121
|
mouseEnterDelay: i,
|
|
4120
4122
|
mouseLeaveDelay: s,
|
|
4121
4123
|
motion: { motionName: "tooltipMotion" },
|
|
4122
4124
|
builtinPlacements: $,
|
|
4123
4125
|
showArrow: l ? {
|
|
4124
|
-
content: /* @__PURE__ */ o.jsx(
|
|
4126
|
+
content: /* @__PURE__ */ o.jsx(S1, {}),
|
|
4125
4127
|
className: `tooltipArrow tooltipArrow-${d}`
|
|
4126
4128
|
} : !1,
|
|
4127
4129
|
destroyTooltipOnHide: !0,
|
|
@@ -4129,22 +4131,45 @@ const Ye = Object.assign(Ii, {
|
|
|
4129
4131
|
children: r
|
|
4130
4132
|
}
|
|
4131
4133
|
);
|
|
4132
|
-
}, R1 = "
|
|
4133
|
-
|
|
4134
|
-
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4134
|
+
}, R1 = "_base_4dkq5_1", N1 = "_content_4dkq5_1", I1 = "_background_4dkq5_1", M1 = "_button_4dkq5_1", B1 = "_link_4dkq5_1", A1 = "_input_4dkq5_1", O1 = "_suffix_4dkq5_1", P1 = "_prefix_4dkq5_1", z1 = "_tooltip_4dkq5_1", D1 = "_hint_4dkq5_1", F1 = "_dropdown_4dkq5_1", W1 = "_popover_4dkq5_1", q1 = "_modalBackdrop_4dkq5_1", H1 = "_modal_4dkq5_1", V1 = "_overlay_4dkq5_1", Z1 = "_drawer_4dkq5_1", X1 = "_notification_4dkq5_1", Y1 = "_alert_4dkq5_1", G1 = "_toast_4dkq5_1", U1 = "_loading_4dkq5_1", K1 = "_error_4dkq5_1", J1 = "_critical_4dkq5_1", Q1 = "_segmentedControl_4dkq5_7", tc = "_segment_4dkq5_7", ec = "_activeSegmentIndicator_4dkq5_61", rc = "_selected_4dkq5_80", nc = "_stretched_4dkq5_89", oc = "_disabled_4dkq5_97", ac = "_s_4dkq5_7", sc = "_icon_4dkq5_110", ic = "_label_4dkq5_114", lc = "_m_4dkq5_1", cc = "_l_4dkq5_114", Et = {
|
|
4135
|
+
base: R1,
|
|
4136
|
+
content: N1,
|
|
4137
|
+
background: I1,
|
|
4138
|
+
button: M1,
|
|
4139
|
+
link: B1,
|
|
4140
|
+
input: A1,
|
|
4141
|
+
suffix: O1,
|
|
4142
|
+
prefix: P1,
|
|
4143
|
+
tooltip: z1,
|
|
4144
|
+
hint: D1,
|
|
4145
|
+
dropdown: F1,
|
|
4146
|
+
popover: W1,
|
|
4147
|
+
modalBackdrop: q1,
|
|
4148
|
+
modal: H1,
|
|
4149
|
+
overlay: V1,
|
|
4150
|
+
drawer: Z1,
|
|
4151
|
+
notification: X1,
|
|
4152
|
+
alert: Y1,
|
|
4153
|
+
toast: G1,
|
|
4154
|
+
loading: U1,
|
|
4155
|
+
error: K1,
|
|
4156
|
+
critical: J1,
|
|
4157
|
+
segmentedControl: Q1,
|
|
4158
|
+
segment: tc,
|
|
4159
|
+
activeSegmentIndicator: ec,
|
|
4160
|
+
selected: rc,
|
|
4161
|
+
stretched: nc,
|
|
4162
|
+
disabled: oc,
|
|
4163
|
+
s: ac,
|
|
4164
|
+
icon: sc,
|
|
4165
|
+
label: ic,
|
|
4166
|
+
m: lc,
|
|
4167
|
+
l: cc
|
|
4142
4168
|
}, Ke = {
|
|
4143
4169
|
s: G["typography-label-3-regular"],
|
|
4144
4170
|
m: G["typography-label-2-regular"],
|
|
4145
4171
|
l: G["typography-label-2-regular"]
|
|
4146
|
-
},
|
|
4147
|
-
var p;
|
|
4172
|
+
}, Tc = (t) => {
|
|
4148
4173
|
const {
|
|
4149
4174
|
className: r,
|
|
4150
4175
|
defaultValue: n,
|
|
@@ -4152,76 +4177,80 @@ const Ye = Object.assign(Ii, {
|
|
|
4152
4177
|
size: i = "m",
|
|
4153
4178
|
segments: s,
|
|
4154
4179
|
stretched: l,
|
|
4155
|
-
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
}, [
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4180
|
+
disabled: c = !1,
|
|
4181
|
+
mode: u = "label",
|
|
4182
|
+
onChange: f,
|
|
4183
|
+
...d
|
|
4184
|
+
} = t, g = me(), [m, h] = ft(n || s[0].value), [C, v] = ft({ width: 0, left: 0, height: 0 }), b = Ht(null);
|
|
4185
|
+
gt(() => {
|
|
4186
|
+
a != null && h(a);
|
|
4187
|
+
}, [a]), rr(() => {
|
|
4188
|
+
x();
|
|
4189
|
+
}, [m, s, i, l, u]);
|
|
4190
|
+
const x = () => {
|
|
4191
|
+
if (!(b != null && b.current)) return;
|
|
4192
|
+
const w = b.current.querySelector(
|
|
4166
4193
|
'[data-is-active-segment="true"]'
|
|
4167
4194
|
);
|
|
4168
|
-
w &&
|
|
4195
|
+
w && v({
|
|
4169
4196
|
width: w.offsetWidth,
|
|
4170
|
-
left: w.offsetLeft
|
|
4197
|
+
left: w.offsetLeft,
|
|
4198
|
+
height: w.offsetHeight
|
|
4171
4199
|
});
|
|
4172
|
-
},
|
|
4173
|
-
|
|
4200
|
+
}, _ = (w) => {
|
|
4201
|
+
c || (h(w), f == null || f(w));
|
|
4174
4202
|
};
|
|
4175
4203
|
return (s == null ? void 0 : s.length) === 0 ? null : /* @__PURE__ */ o.jsxs(
|
|
4176
|
-
"
|
|
4204
|
+
"fieldset",
|
|
4177
4205
|
{
|
|
4178
4206
|
className: k(
|
|
4179
|
-
|
|
4180
|
-
|
|
4181
|
-
|
|
4207
|
+
Et.segmentedControl,
|
|
4208
|
+
Et[i],
|
|
4209
|
+
Et[u],
|
|
4182
4210
|
{
|
|
4183
|
-
[
|
|
4211
|
+
[Et.stretched]: l,
|
|
4212
|
+
[Et.disabled]: c
|
|
4184
4213
|
},
|
|
4185
4214
|
r
|
|
4186
4215
|
),
|
|
4187
4216
|
"data-testid": "segmented-control-container",
|
|
4188
|
-
ref:
|
|
4217
|
+
ref: b,
|
|
4218
|
+
disabled: c,
|
|
4219
|
+
...d,
|
|
4189
4220
|
children: [
|
|
4190
|
-
s == null ? void 0 : s.map(({ label: w, value: S },
|
|
4191
|
-
const
|
|
4192
|
-
return /* @__PURE__ */ o.jsxs(
|
|
4221
|
+
s == null ? void 0 : s.map(({ label: w, value: S, containerProps: T = {} }, $) => {
|
|
4222
|
+
const { className: E, ...I } = T, A = () => _(S), O = JSON.stringify(S), D = m === S;
|
|
4223
|
+
return /* @__PURE__ */ o.jsxs(qt, { children: [
|
|
4193
4224
|
/* @__PURE__ */ o.jsx(
|
|
4194
4225
|
"input",
|
|
4195
4226
|
{
|
|
4196
|
-
id:
|
|
4197
|
-
value:
|
|
4227
|
+
id: g + O,
|
|
4228
|
+
value: O,
|
|
4198
4229
|
type: "radio",
|
|
4199
|
-
checked:
|
|
4200
|
-
|
|
4230
|
+
checked: D,
|
|
4231
|
+
readOnly: !0
|
|
4201
4232
|
}
|
|
4202
4233
|
),
|
|
4203
4234
|
/* @__PURE__ */ o.jsx(
|
|
4204
4235
|
"label",
|
|
4205
4236
|
{
|
|
4206
|
-
"data-is-active-segment":
|
|
4207
|
-
className: k(
|
|
4208
|
-
htmlFor:
|
|
4237
|
+
"data-is-active-segment": D,
|
|
4238
|
+
className: k(Et.segment, Ke[i], { [Et.selected]: D }, E),
|
|
4239
|
+
htmlFor: g + O,
|
|
4209
4240
|
"data-testid": "segmented-control-segment",
|
|
4241
|
+
onClick: A,
|
|
4242
|
+
...I,
|
|
4210
4243
|
children: w
|
|
4211
4244
|
}
|
|
4212
4245
|
)
|
|
4213
|
-
] }, te(
|
|
4246
|
+
] }, te(O) + $);
|
|
4214
4247
|
}),
|
|
4215
4248
|
/* @__PURE__ */ o.jsx(
|
|
4216
4249
|
"div",
|
|
4217
4250
|
{
|
|
4218
|
-
className: k(
|
|
4219
|
-
"data-testid": "segmented-control-active-
|
|
4220
|
-
style:
|
|
4221
|
-
width: b.width,
|
|
4222
|
-
left: b.left
|
|
4223
|
-
},
|
|
4224
|
-
children: m
|
|
4251
|
+
className: k(Et.activeSegmentIndicator, Ke[i]),
|
|
4252
|
+
"data-testid": "segmented-control-segment-active-indicator",
|
|
4253
|
+
style: C
|
|
4225
4254
|
}
|
|
4226
4255
|
)
|
|
4227
4256
|
]
|
|
@@ -4229,28 +4258,28 @@ const Ye = Object.assign(Ii, {
|
|
|
4229
4258
|
);
|
|
4230
4259
|
};
|
|
4231
4260
|
export {
|
|
4232
|
-
|
|
4261
|
+
gc as Alert,
|
|
4233
4262
|
Ao as Avatar,
|
|
4234
4263
|
Na as Badge,
|
|
4235
4264
|
ge as Button,
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
|
|
4248
|
-
|
|
4249
|
-
|
|
4250
|
-
|
|
4265
|
+
vc as Checkbox,
|
|
4266
|
+
mc as ConfigProvider,
|
|
4267
|
+
kc as Helper,
|
|
4268
|
+
hc as Image,
|
|
4269
|
+
Lc as List,
|
|
4270
|
+
or as Loader,
|
|
4271
|
+
fc as Modal,
|
|
4272
|
+
Sa as Placeholder,
|
|
4273
|
+
Sc as Radio,
|
|
4274
|
+
Tc as SegmentedControl,
|
|
4275
|
+
jc as Tabs,
|
|
4276
|
+
yc as Tag,
|
|
4277
|
+
wc as TextArea,
|
|
4278
|
+
Cc as TextInput,
|
|
4279
|
+
$c as Tooltip,
|
|
4251
4280
|
he as Typography,
|
|
4252
4281
|
Oa as enUS,
|
|
4253
|
-
|
|
4254
|
-
|
|
4255
|
-
|
|
4282
|
+
xc as ruRU,
|
|
4283
|
+
Pa as useConfig,
|
|
4284
|
+
bc as useLocale
|
|
4256
4285
|
};
|